diff --git a/toolchain/check/testdata/alias/basics.carbon b/toolchain/check/testdata/alias/basics.carbon index 4bb7aca399ed..93df2e911a96 100644 --- a/toolchain/check/testdata/alias/basics.carbon +++ b/toolchain/check/testdata/alias/basics.carbon @@ -179,7 +179,7 @@ extern alias C = Class; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %.4a1: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %.7a6: ref %C = temporary invalid, %C.val [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -196,7 +196,7 @@ extern alias C = Class; // CHECK:STDOUT: %.loc10_13.1: ref %C = temporary_storage // CHECK:STDOUT: %.loc10_13.2: init %C to %.loc10_13.1 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc10_13.3: init %C = converted @__global_init.%.loc10, %.loc10_13.2 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc10_13.4: ref %C = temporary %.loc10_13.1, %.loc10_13.3 [concrete = constants.%.4a1] +// CHECK:STDOUT: %.loc10_13.4: ref %C = temporary %.loc10_13.1, %.loc10_13.3 [concrete = constants.%.7a6] // CHECK:STDOUT: %.loc10_13.5: %C = acquire_value %.loc10_13.4 [concrete = constants.%C.val] // CHECK:STDOUT: %d: %C = value_binding d, %.loc10_13.5 // CHECK:STDOUT: } @@ -214,15 +214,15 @@ extern alias C = Class; // CHECK:STDOUT: %A.generic: %A.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %A.9fd: type = class_type @A, @A(%empty_struct_type) [concrete] +// CHECK:STDOUT: %A.966: type = class_type @A, @A(%empty_struct_type) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %A.ref: %A.type = name_ref A, %A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %.loc7_14: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc7_15: type = converted %.loc7_14, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %A: type = class_type @A, @A(constants.%empty_struct_type) [concrete = constants.%A.9fd] -// CHECK:STDOUT: %a: type = alias_binding a, %A [concrete = constants.%A.9fd] +// CHECK:STDOUT: %A: type = class_type @A, @A(constants.%empty_struct_type) [concrete = constants.%A.966] +// CHECK:STDOUT: %a: type = alias_binding a, %A [concrete = constants.%A.966] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { diff --git a/toolchain/check/testdata/alias/export_name.carbon b/toolchain/check/testdata/alias/export_name.carbon index 9045e2425dea..eebfc6a3b071 100644 --- a/toolchain/check/testdata/alias/export_name.carbon +++ b/toolchain/check/testdata/alias/export_name.carbon @@ -123,7 +123,7 @@ var d: D* = &c; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//base, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -141,7 +141,7 @@ var d: D* = &c; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- export_orig.carbon @@ -160,7 +160,7 @@ var d: D* = &c; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//base, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -178,7 +178,7 @@ var d: D* = &c; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export.carbon @@ -199,7 +199,7 @@ var d: D* = &c; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8db: = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.038 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -223,7 +223,7 @@ var d: D* = &c; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8db // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.038 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -281,24 +281,24 @@ var d: D* = &c; // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.8c6: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %ptr.fe7: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.8e3: type = pattern_type %ptr.fe7 [concrete] -// CHECK:STDOUT: %addr: %ptr.fe7 = addr_of file.%c.var [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of file.%c.var [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.064: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.739: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.d4d: %ptr.as.Copy.impl.Op.type.739 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.fe7, (%Copy.impl_witness.064) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.0cc: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.310: type = fn_type_with_self_type %Copy.WithSelf.Op.type.0cc, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.d4d [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.d4d, @ptr.as.Copy.impl.Op(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.881: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0ff: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5cf: %ptr.as.Copy.impl.Op.type.0ff = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.6be, (%Copy.impl_witness.881) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.d3f: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.40e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d3f, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.5cf [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.5cf, @ptr.as.Copy.impl.Op(%C) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %addr, %ptr.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -311,10 +311,10 @@ var d: D* = &c; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8db: = import_ref Main//export_orig, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.038 = import_ref Main//export_orig, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//export_orig, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -328,29 +328,29 @@ var d: D* = &c; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.8c6 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.8c6 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt [concrete] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.8e3 = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.8e3 = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.1c8 = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.1c8 = var_pattern %d.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %d.var: ref %ptr.fe7 = var %d.var_patt [concrete] -// CHECK:STDOUT: %.loc8: type = splice_block %ptr [concrete = constants.%ptr.fe7] { +// CHECK:STDOUT: %d.var: ref %ptr.6be = var %d.var_patt [concrete] +// CHECK:STDOUT: %.loc8: type = splice_block %ptr [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%C] -// CHECK:STDOUT: %ptr: type = ptr_type %D.ref [concrete = constants.%ptr.fe7] +// CHECK:STDOUT: %ptr: type = ptr_type %D.ref [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %d: ref %ptr.fe7 = ref_binding d, %d.var [concrete = %d.var] +// CHECK:STDOUT: %d: ref %ptr.6be = ref_binding d, %d.var [concrete = %d.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "export_orig.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8db // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.038 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -360,12 +360,12 @@ var d: D* = &c; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_13.1, %.loc7_13.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc7_1 // CHECK:STDOUT: %c.ref: ref %C = name_ref c, file.%c [concrete = file.%c.var] -// CHECK:STDOUT: %addr: %ptr.fe7 = addr_of %c.ref [concrete = constants.%addr] -// CHECK:STDOUT: %impl.elem0: %.310 = impl_witness_access constants.%Copy.impl_witness.064, element0 [concrete = constants.%ptr.as.Copy.impl.Op.d4d] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of %c.ref [concrete = constants.%addr] +// CHECK:STDOUT: %impl.elem0: %.40e = impl_witness_access constants.%Copy.impl_witness.881, element0 [concrete = constants.%ptr.as.Copy.impl.Op.5cf] // CHECK:STDOUT: %bound_method.loc8_13.1: = bound_method %addr, %impl.elem0 [concrete = constants.%ptr.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%C) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %addr, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.fe7 = call %bound_method.loc8_13.2(%addr) [concrete = constants.%addr] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6be = call %bound_method.loc8_13.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%d.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/alias/import.carbon b/toolchain/check/testdata/alias/import.carbon index 19661ecee8e9..697dbc66a8df 100644 --- a/toolchain/check/testdata/alias/import.carbon +++ b/toolchain/check/testdata/alias/import.carbon @@ -72,16 +72,16 @@ var c: () = a_alias_alias; // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.cd2: type = pattern_type %ptr [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.b78: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.216: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.339: %T.as.DefaultOrUnformed.impl.Op.type.216 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr, (%DefaultOrUnformed.impl_witness.b78) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.339, @T.as.DefaultOrUnformed.impl.Op(%ptr) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.a66: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.63b: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.eaa: %T.as.DefaultOrUnformed.impl.Op.type.63b = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr, (%DefaultOrUnformed.impl_witness.a66) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.eaa, @T.as.DefaultOrUnformed.impl.Op(%ptr) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -91,8 +91,8 @@ var c: () = a_alias_alias; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -107,8 +107,8 @@ var c: () = a_alias_alias; // CHECK:STDOUT: %C.ref.loc6: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %c_alias: type = alias_binding c_alias, %C.ref.loc6 [concrete = constants.%C] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.cd2 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.cd2 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.1c8 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.1c8 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %ptr = var %a.var_patt [concrete] // CHECK:STDOUT: %.loc8: type = splice_block %ptr [concrete = constants.%ptr] { @@ -128,11 +128,11 @@ var c: () = a_alias_alias; // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%ptr, (constants.%DefaultOrUnformed.impl_witness.b78) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%ptr, (constants.%DefaultOrUnformed.impl_witness.a66) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc8_10.1: %DefaultOrUnformed.type = converted constants.%ptr, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc8_10.1 [concrete = constants.%ptr] // CHECK:STDOUT: %.loc8_10.2: type = converted %.loc8_10.1, %as_type [concrete = constants.%ptr] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.339, @T.as.DefaultOrUnformed.impl.Op(constants.%ptr) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.eaa, @T.as.DefaultOrUnformed.impl.Op(constants.%ptr) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %ptr = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%a.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return @@ -145,32 +145,32 @@ var c: () = a_alias_alias; // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.604: type = pattern_type %ptr [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.7ea: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.646, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.b33: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.61a: %T.as.DefaultOrUnformed.impl.Op.type.b33 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr, (%DefaultOrUnformed.impl_witness.7ea) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.61a, @T.as.DefaultOrUnformed.impl.Op(%ptr) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.019: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.ecd, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.63b: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.eaa: %T.as.DefaultOrUnformed.impl.Op.type.63b = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr, (%DefaultOrUnformed.impl_witness.019) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.eaa, @T.as.DefaultOrUnformed.impl.Op(%ptr) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C = import_ref Main//class1, C, unloaded // CHECK:STDOUT: %Main.c_alias: type = import_ref Main//class1, c_alias, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.a = import_ref Main//class1, a, unloaded -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .DefaultOrUnformed = %Core.DefaultOrUnformed // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//class1, loc4_10, loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.bab = import_ref Main//class1, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//class1, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Main.import_ref.9bb: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Main//class1, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.646 = impl_witness_table (%Main.import_ref.9bb), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.355: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Main//class1, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.ecd = impl_witness_table (%Main.import_ref.355), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -178,7 +178,7 @@ var c: () = a_alias_alias; // CHECK:STDOUT: .C = imports.%Main.C // CHECK:STDOUT: .c_alias = imports.%Main.c_alias // CHECK:STDOUT: .a = imports.%Main.a -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .c_alias_alias = %c_alias_alias // CHECK:STDOUT: .b = %b // CHECK:STDOUT: } @@ -187,8 +187,8 @@ var c: () = a_alias_alias; // CHECK:STDOUT: %c_alias.ref.loc6: type = name_ref c_alias, imports.%Main.c_alias [concrete = constants.%C] // CHECK:STDOUT: %c_alias_alias: type = alias_binding c_alias_alias, %c_alias.ref.loc6 [concrete = constants.%C] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.604 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.604 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.1c8 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.1c8 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %ptr = var %b.var_patt [concrete] // CHECK:STDOUT: %.loc8: type = splice_block %ptr [concrete = constants.%ptr] { @@ -202,16 +202,16 @@ var c: () = a_alias_alias; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.bab +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%ptr, (constants.%DefaultOrUnformed.impl_witness.7ea) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%ptr, (constants.%DefaultOrUnformed.impl_witness.019) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc8_16.1: %DefaultOrUnformed.type = converted constants.%ptr, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc8_16.1 [concrete = constants.%ptr] // CHECK:STDOUT: %.loc8_16.2: type = converted %.loc8_16.1, %as_type [concrete = constants.%ptr] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.61a, @T.as.DefaultOrUnformed.impl.Op(constants.%ptr) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.eaa, @T.as.DefaultOrUnformed.impl.Op(constants.%ptr) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %ptr = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%b.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return @@ -224,16 +224,16 @@ var c: () = a_alias_alias; // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.c6a: type = pattern_type %ptr [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.8cb: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.de4: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.209: %T.as.DefaultOrUnformed.impl.Op.type.de4 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr, (%DefaultOrUnformed.impl_witness.8cb) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.209, @T.as.DefaultOrUnformed.impl.Op(%ptr) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.a66: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.63b: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.eaa: %T.as.DefaultOrUnformed.impl.Op.type.63b = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr, (%DefaultOrUnformed.impl_witness.a66) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.eaa, @T.as.DefaultOrUnformed.impl.Op(%ptr) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -245,10 +245,10 @@ var c: () = a_alias_alias; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8db: = import_ref Main//class2, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.3b8 = import_ref Main//class2, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//class2, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -261,8 +261,8 @@ var c: () = a_alias_alias; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.c6a = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.c6a = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.1c8 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.1c8 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %ptr = var %c.var_patt [concrete] // CHECK:STDOUT: %.loc6: type = splice_block %ptr [concrete = constants.%ptr] { @@ -276,16 +276,16 @@ var c: () = a_alias_alias; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8db // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.3b8 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%ptr, (constants.%DefaultOrUnformed.impl_witness.8cb) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%ptr, (constants.%DefaultOrUnformed.impl_witness.a66) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc6_22.1: %DefaultOrUnformed.type = converted constants.%ptr, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc6_22.1 [concrete = constants.%ptr] // CHECK:STDOUT: %.loc6_22.2: type = converted %.loc6_22.1, %as_type [concrete = constants.%ptr] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.209, @T.as.DefaultOrUnformed.impl.Op(constants.%ptr) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.eaa, @T.as.DefaultOrUnformed.impl.Op(constants.%ptr) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %ptr = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%c.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return diff --git a/toolchain/check/testdata/alias/import_access.carbon b/toolchain/check/testdata/alias/import_access.carbon index b27783ab6102..92c5c50704e2 100644 --- a/toolchain/check/testdata/alias/import_access.carbon +++ b/toolchain/check/testdata/alias/import_access.carbon @@ -97,7 +97,7 @@ var inst: Test.A = {}; // CHECK:STDOUT: %Test.C = import_ref Test//def, C, unloaded // CHECK:STDOUT: %Test.A: type = import_ref Test//def, A, loaded [concrete = constants.%C] // CHECK:STDOUT: %Test.import_ref.8f2: = import_ref Test//def, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Test.import_ref.538 = import_ref Test//def, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Test.import_ref.50c = import_ref Test//def, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -121,7 +121,7 @@ var inst: Test.A = {}; // CHECK:STDOUT: complete_type_witness = imports.%Test.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Test.import_ref.538 +// CHECK:STDOUT: .Self = imports.%Test.import_ref.50c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { diff --git a/toolchain/check/testdata/alias/import_order.carbon b/toolchain/check/testdata/alias/import_order.carbon index 5156a70c0cdd..15d034cf0e38 100644 --- a/toolchain/check/testdata/alias/import_order.carbon +++ b/toolchain/check/testdata/alias/import_order.carbon @@ -82,15 +82,15 @@ var a_val: a = {.v = b_val.v}; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct.5f2: %struct_type.v = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.2cf: ref %empty_tuple.type = class_element_access file.%d_val.var, element0 [concrete] +// CHECK:STDOUT: %.c57: ref %empty_tuple.type = class_element_access file.%d_val.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %empty_tuple.type [concrete] -// CHECK:STDOUT: %struct.9bd: %struct_type.v = struct_value (%.2cf) [concrete] -// CHECK:STDOUT: %.819: ref %empty_tuple.type = class_element_access file.%c_val.var, element0 [concrete] -// CHECK:STDOUT: %struct.cff: %struct_type.v = struct_value (%.819) [concrete] -// CHECK:STDOUT: %.c19: ref %empty_tuple.type = class_element_access file.%b_val.var, element0 [concrete] -// CHECK:STDOUT: %struct.f26: %struct_type.v = struct_value (%.c19) [concrete] -// CHECK:STDOUT: %.d52: ref %empty_tuple.type = class_element_access file.%a_val.var, element0 [concrete] +// CHECK:STDOUT: %struct.51e: %struct_type.v = struct_value (%.c57) [concrete] +// CHECK:STDOUT: %.6a6: ref %empty_tuple.type = class_element_access file.%c_val.var, element0 [concrete] +// CHECK:STDOUT: %struct.947: %struct_type.v = struct_value (%.6a6) [concrete] +// CHECK:STDOUT: %.01b: ref %empty_tuple.type = class_element_access file.%b_val.var, element0 [concrete] +// CHECK:STDOUT: %struct.7df: %struct_type.v = struct_value (%.01b) [concrete] +// CHECK:STDOUT: %.b9e: ref %empty_tuple.type = class_element_access file.%a_val.var, element0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -100,9 +100,9 @@ var a_val: a = {.v = b_val.v}; // CHECK:STDOUT: %Main.c: type = import_ref Main//a, c, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.d: type = import_ref Main//a, d, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.146: = import_ref Main//a, loc4_22, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.a3c = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.ae3: %C.elem = import_ref Main//a, loc4_16, loaded [concrete = %.ab1] -// CHECK:STDOUT: %.ab1: %C.elem = field_decl v, element0 [concrete] +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.b80: %C.elem = import_ref Main//a, loc4_16, loaded [concrete = %.f9a] +// CHECK:STDOUT: %.f9a: %C.elem = field_decl v, element0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -152,15 +152,15 @@ var a_val: a = {.v = b_val.v}; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.146 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a3c -// CHECK:STDOUT: .v = imports.%Main.import_ref.ae3 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .v = imports.%Main.import_ref.b80 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc7_23.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_24.1: %struct_type.v = struct_literal (%.loc7_23.1) [concrete = constants.%struct.5f2] -// CHECK:STDOUT: %.loc7_24.2: ref %empty_tuple.type = class_element_access file.%d_val.var, element0 [concrete = constants.%.2cf] +// CHECK:STDOUT: %.loc7_24.2: ref %empty_tuple.type = class_element_access file.%d_val.var, element0 [concrete = constants.%.c57] // CHECK:STDOUT: %.loc7_23.2: init %empty_tuple.type to %.loc7_24.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_24.3: init %empty_tuple.type = converted %.loc7_23.1, %.loc7_23.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_24.4: init %empty_tuple.type to %.loc7_24.2 = in_place_init %.loc7_24.3 [concrete = constants.%empty_tuple] @@ -168,10 +168,10 @@ var a_val: a = {.v = b_val.v}; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_24.1, %.loc7_24.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%d_val.var, %.loc7_1 // CHECK:STDOUT: %d_val.ref: ref %C = name_ref d_val, file.%d_val [concrete = file.%d_val.var] -// CHECK:STDOUT: %v.ref.loc8: %C.elem = name_ref v, imports.%Main.import_ref.ae3 [concrete = imports.%.ab1] -// CHECK:STDOUT: %.loc8_27.1: ref %empty_tuple.type = class_element_access %d_val.ref, element0 [concrete = constants.%.2cf] -// CHECK:STDOUT: %.loc8_29.1: %struct_type.v = struct_literal (%.loc8_27.1) [concrete = constants.%struct.9bd] -// CHECK:STDOUT: %.loc8_29.2: ref %empty_tuple.type = class_element_access file.%c_val.var, element0 [concrete = constants.%.819] +// CHECK:STDOUT: %v.ref.loc8: %C.elem = name_ref v, imports.%Main.import_ref.b80 [concrete = imports.%.f9a] +// CHECK:STDOUT: %.loc8_27.1: ref %empty_tuple.type = class_element_access %d_val.ref, element0 [concrete = constants.%.c57] +// CHECK:STDOUT: %.loc8_29.1: %struct_type.v = struct_literal (%.loc8_27.1) [concrete = constants.%struct.51e] +// CHECK:STDOUT: %.loc8_29.2: ref %empty_tuple.type = class_element_access file.%c_val.var, element0 [concrete = constants.%.6a6] // CHECK:STDOUT: %.loc8_27.2: init %empty_tuple.type to %.loc8_29.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_29.3: init %empty_tuple.type = converted %.loc8_27.1, %.loc8_27.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_29.4: init %empty_tuple.type to %.loc8_29.2 = in_place_init %.loc8_29.3 [concrete = constants.%empty_tuple] @@ -179,10 +179,10 @@ var a_val: a = {.v = b_val.v}; // CHECK:STDOUT: %.loc8_1: init %C = converted %.loc8_29.1, %.loc8_29.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c_val.var, %.loc8_1 // CHECK:STDOUT: %c_val.ref: ref %C = name_ref c_val, file.%c_val [concrete = file.%c_val.var] -// CHECK:STDOUT: %v.ref.loc9: %C.elem = name_ref v, imports.%Main.import_ref.ae3 [concrete = imports.%.ab1] -// CHECK:STDOUT: %.loc9_27.1: ref %empty_tuple.type = class_element_access %c_val.ref, element0 [concrete = constants.%.819] -// CHECK:STDOUT: %.loc9_29.1: %struct_type.v = struct_literal (%.loc9_27.1) [concrete = constants.%struct.cff] -// CHECK:STDOUT: %.loc9_29.2: ref %empty_tuple.type = class_element_access file.%b_val.var, element0 [concrete = constants.%.c19] +// CHECK:STDOUT: %v.ref.loc9: %C.elem = name_ref v, imports.%Main.import_ref.b80 [concrete = imports.%.f9a] +// CHECK:STDOUT: %.loc9_27.1: ref %empty_tuple.type = class_element_access %c_val.ref, element0 [concrete = constants.%.6a6] +// CHECK:STDOUT: %.loc9_29.1: %struct_type.v = struct_literal (%.loc9_27.1) [concrete = constants.%struct.947] +// CHECK:STDOUT: %.loc9_29.2: ref %empty_tuple.type = class_element_access file.%b_val.var, element0 [concrete = constants.%.01b] // CHECK:STDOUT: %.loc9_27.2: init %empty_tuple.type to %.loc9_29.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc9_29.3: init %empty_tuple.type = converted %.loc9_27.1, %.loc9_27.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc9_29.4: init %empty_tuple.type to %.loc9_29.2 = in_place_init %.loc9_29.3 [concrete = constants.%empty_tuple] @@ -190,10 +190,10 @@ var a_val: a = {.v = b_val.v}; // CHECK:STDOUT: %.loc9_1: init %C = converted %.loc9_29.1, %.loc9_29.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%b_val.var, %.loc9_1 // CHECK:STDOUT: %b_val.ref: ref %C = name_ref b_val, file.%b_val [concrete = file.%b_val.var] -// CHECK:STDOUT: %v.ref.loc10: %C.elem = name_ref v, imports.%Main.import_ref.ae3 [concrete = imports.%.ab1] -// CHECK:STDOUT: %.loc10_27.1: ref %empty_tuple.type = class_element_access %b_val.ref, element0 [concrete = constants.%.c19] -// CHECK:STDOUT: %.loc10_29.1: %struct_type.v = struct_literal (%.loc10_27.1) [concrete = constants.%struct.f26] -// CHECK:STDOUT: %.loc10_29.2: ref %empty_tuple.type = class_element_access file.%a_val.var, element0 [concrete = constants.%.d52] +// CHECK:STDOUT: %v.ref.loc10: %C.elem = name_ref v, imports.%Main.import_ref.b80 [concrete = imports.%.f9a] +// CHECK:STDOUT: %.loc10_27.1: ref %empty_tuple.type = class_element_access %b_val.ref, element0 [concrete = constants.%.01b] +// CHECK:STDOUT: %.loc10_29.1: %struct_type.v = struct_literal (%.loc10_27.1) [concrete = constants.%struct.7df] +// CHECK:STDOUT: %.loc10_29.2: ref %empty_tuple.type = class_element_access file.%a_val.var, element0 [concrete = constants.%.b9e] // CHECK:STDOUT: %.loc10_27.2: init %empty_tuple.type to %.loc10_29.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc10_29.3: init %empty_tuple.type = converted %.loc10_27.1, %.loc10_27.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc10_29.4: init %empty_tuple.type to %.loc10_29.2 = in_place_init %.loc10_29.3 [concrete = constants.%empty_tuple] diff --git a/toolchain/check/testdata/array/basics.carbon b/toolchain/check/testdata/array/basics.carbon index 052aba59038b..b5f734a69b55 100644 --- a/toolchain/check/testdata/array/basics.carbon +++ b/toolchain/check/testdata/array/basics.carbon @@ -173,40 +173,40 @@ var a: array(1, 1); // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %tuple.type.ff9: type = tuple_type (type, type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.ff9 = tuple_value (%C, %C, %C) [concrete] -// CHECK:STDOUT: %tuple.type.281: type = tuple_type (%C, %C, %C) [concrete] +// CHECK:STDOUT: %tuple.type.851: type = tuple_type (%C, %C, %C) [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %array_type: type = array_type %int_2, %tuple.type.281 [concrete] -// CHECK:STDOUT: %pattern_type.b72: type = pattern_type %array_type [concrete] -// CHECK:STDOUT: %tuple.type.b05: type = tuple_type (%tuple.type.281, %tuple.type.281) [concrete] +// CHECK:STDOUT: %array_type: type = array_type %int_2, %tuple.type.851 [concrete] +// CHECK:STDOUT: %pattern_type.05c: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %tuple.type.ac5: type = tuple_type (%tuple.type.851, %tuple.type.851) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc10_3.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc10_3.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.b72 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.b72 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.05c = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.05c = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %array_type = var %v.var_patt // CHECK:STDOUT: %F.ref.loc10_40: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %.loc10_48.1: ref %tuple.type.281 = splice_block %.loc10_48.6 { +// CHECK:STDOUT: %.loc10_48.1: ref %tuple.type.851 = splice_block %.loc10_48.6 { // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %.loc10_48.6: ref %tuple.type.281 = array_index %v.var, %int_0 +// CHECK:STDOUT: %.loc10_48.6: ref %tuple.type.851 = array_index %v.var, %int_0 // CHECK:STDOUT: } -// CHECK:STDOUT: %F.call.loc10_42: init %tuple.type.281 to %.loc10_48.1 = call %F.ref.loc10_40() +// CHECK:STDOUT: %F.call.loc10_42: init %tuple.type.851 to %.loc10_48.1 = call %F.ref.loc10_40() // CHECK:STDOUT: %F.ref.loc10_45: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %.loc10_48.2: ref %tuple.type.281 = splice_block %.loc10_48.5 { +// CHECK:STDOUT: %.loc10_48.2: ref %tuple.type.851 = splice_block %.loc10_48.5 { // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] -// CHECK:STDOUT: %.loc10_48.5: ref %tuple.type.281 = array_index %v.var, %int_1 +// CHECK:STDOUT: %.loc10_48.5: ref %tuple.type.851 = array_index %v.var, %int_1 // CHECK:STDOUT: } -// CHECK:STDOUT: %F.call.loc10_47: init %tuple.type.281 to %.loc10_48.2 = call %F.ref.loc10_45() -// CHECK:STDOUT: %.loc10_48.3: %tuple.type.b05 = tuple_literal (%F.call.loc10_42, %F.call.loc10_47) +// CHECK:STDOUT: %F.call.loc10_47: init %tuple.type.851 to %.loc10_48.2 = call %F.ref.loc10_45() +// CHECK:STDOUT: %.loc10_48.3: %tuple.type.ac5 = tuple_literal (%F.call.loc10_42, %F.call.loc10_47) // CHECK:STDOUT: %.loc10_48.4: init %array_type to %v.var = array_init (%F.call.loc10_42, %F.call.loc10_47) // CHECK:STDOUT: %.loc10_3: init %array_type = converted %.loc10_48.3, %.loc10_48.4 // CHECK:STDOUT: assign %v.var, %.loc10_3 @@ -216,11 +216,11 @@ var a: array(1, 1); // CHECK:STDOUT: %C.ref.loc10_30: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc10_31.1: %tuple.type.ff9 = tuple_literal (%C.ref.loc10_24, %C.ref.loc10_27, %C.ref.loc10_30) [concrete = constants.%tuple] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2] -// CHECK:STDOUT: %.loc10_31.2: type = converted %.loc10_31.1, constants.%tuple.type.281 [concrete = constants.%tuple.type.281] +// CHECK:STDOUT: %.loc10_31.2: type = converted %.loc10_31.1, constants.%tuple.type.851 [concrete = constants.%tuple.type.851] // CHECK:STDOUT: %array_type: type = array_type %int_2, %.loc10_31.2 [concrete = constants.%array_type] // CHECK:STDOUT: } // CHECK:STDOUT: %v: ref %array_type = ref_binding v, %v.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -232,7 +232,7 @@ var a: array(1, 1); // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_3.3(%self.param: ref %tuple.type.281) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_3.3(%self.param: ref %tuple.type.851) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -252,24 +252,24 @@ var a: array(1, 1); // CHECK:STDOUT: %pattern_type.035: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.add: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%array_type) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.a39: %DefaultOrUnformed.type = facet_value %array_type, (%DefaultOrUnformed.impl_witness.add) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.227: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%array_type) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.c44: %DefaultOrUnformed.type = facet_value %array_type, (%DefaultOrUnformed.impl_witness.227) [concrete] // CHECK:STDOUT: %tuple.type: type = tuple_type (%empty_tuple.type, %empty_tuple.type, %empty_tuple.type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%empty_tuple, %empty_tuple, %empty_tuple) [concrete] // CHECK:STDOUT: %pattern_type.8c1: type = pattern_type %tuple.type [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.352: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%tuple.type) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.349: %DefaultOrUnformed.type = facet_value %tuple.type, (%DefaultOrUnformed.impl_witness.352) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc7 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.55e: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%tuple.type) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.c29: %DefaultOrUnformed.type = facet_value %tuple.type, (%DefaultOrUnformed.impl_witness.55e) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc7 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { @@ -279,8 +279,8 @@ var a: array(1, 1); // CHECK:STDOUT: %a.var_patt: %pattern_type.035 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7: %DefaultOrUnformed.type = facet_value constants.%array_type, (constants.%DefaultOrUnformed.impl_witness.add) [concrete = constants.%DefaultOrUnformed.facet.a39] -// CHECK:STDOUT: %.loc7_29.1: %DefaultOrUnformed.type = converted constants.%array_type, %DefaultOrUnformed.facet.loc7 [concrete = constants.%DefaultOrUnformed.facet.a39] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7: %DefaultOrUnformed.type = facet_value constants.%array_type, (constants.%DefaultOrUnformed.impl_witness.227) [concrete = constants.%DefaultOrUnformed.facet.c44] +// CHECK:STDOUT: %.loc7_29.1: %DefaultOrUnformed.type = converted constants.%array_type, %DefaultOrUnformed.facet.loc7 [concrete = constants.%DefaultOrUnformed.facet.c44] // CHECK:STDOUT: %as_type.loc7: type = facet_access_type %.loc7_29.1 [concrete = constants.%array_type] // CHECK:STDOUT: %.loc7_29.2: type = converted %.loc7_29.1, %as_type.loc7 [concrete = constants.%array_type] // CHECK:STDOUT: @@ -299,8 +299,8 @@ var a: array(1, 1); // CHECK:STDOUT: %b.var_patt: %pattern_type.8c1 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %tuple.type = var %b.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8: %DefaultOrUnformed.type = facet_value constants.%tuple.type, (constants.%DefaultOrUnformed.impl_witness.352) [concrete = constants.%DefaultOrUnformed.facet.349] -// CHECK:STDOUT: %.loc8_29.1: %DefaultOrUnformed.type = converted constants.%tuple.type, %DefaultOrUnformed.facet.loc8 [concrete = constants.%DefaultOrUnformed.facet.349] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8: %DefaultOrUnformed.type = facet_value constants.%tuple.type, (constants.%DefaultOrUnformed.impl_witness.55e) [concrete = constants.%DefaultOrUnformed.facet.c29] +// CHECK:STDOUT: %.loc8_29.1: %DefaultOrUnformed.type = converted constants.%tuple.type, %DefaultOrUnformed.facet.loc8 [concrete = constants.%DefaultOrUnformed.facet.c29] // CHECK:STDOUT: %as_type.loc8: type = facet_access_type %.loc8_29.1 [concrete = constants.%tuple.type] // CHECK:STDOUT: %.loc8_29.2: type = converted %.loc8_29.1, %as_type.loc8 [concrete = constants.%tuple.type] // CHECK:STDOUT: @@ -318,9 +318,9 @@ var a: array(1, 1); // CHECK:STDOUT: %.loc8_28.6: type = converted %.loc8_28.2, constants.%tuple.type [concrete = constants.%tuple.type] // CHECK:STDOUT: } // CHECK:STDOUT: %b: ref %tuple.type = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc7: init %empty_tuple.type = call %Destroy.Op.bound.loc7(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -350,10 +350,10 @@ var a: array(1, 1); // CHECK:STDOUT: %pattern_type.fe8: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %array: %array_type = tuple_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_34.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc8_3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_34.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc8_3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { @@ -383,9 +383,9 @@ var a: array(1, 1); // CHECK:STDOUT: %array_type: type = array_type %int_1, %.loc8_24.2 [concrete = constants.%array_type] // CHECK:STDOUT: } // CHECK:STDOUT: %t: ref %array_type = ref_binding t, %t.var -// CHECK:STDOUT: %Destroy.Op.bound.loc8_34: = bound_method %.loc8_34.2, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc8_34: = bound_method %.loc8_34.2, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc8_34: init %empty_tuple.type = call %Destroy.Op.bound.loc8_34(%.loc8_34.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc8_3: = bound_method %t.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc8_3: = bound_method %t.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc8_3: init %empty_tuple.type = call %Destroy.Op.bound.loc8_3(%t.var) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/array/bound_values.carbon b/toolchain/check/testdata/array/bound_values.carbon index 613f03e7ccf7..798dce15c521 100644 --- a/toolchain/check/testdata/array/bound_values.carbon +++ b/toolchain/check/testdata/array/bound_values.carbon @@ -72,11 +72,11 @@ var b: array(1, 39999999999999999993); // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %AddWith.type.54b: type = facet_type <@AddWith, @AddWith(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %AddWith.type.9af: type = facet_type <@AddWith, @AddWith(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %AddWith.impl_witness: = impl_witness imports.%AddWith.impl_witness_table [concrete] -// CHECK:STDOUT: %AddWith.facet: %AddWith.type.54b = facet_value Core.IntLiteral, (%AddWith.impl_witness) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.230: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(Core.IntLiteral, %AddWith.facet) [concrete] -// CHECK:STDOUT: %.c84: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.230, %AddWith.facet [concrete] +// CHECK:STDOUT: %AddWith.facet: %AddWith.type.9af = facet_value Core.IntLiteral, (%AddWith.impl_witness) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.2fc: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(Core.IntLiteral, %AddWith.facet) [concrete] +// CHECK:STDOUT: %.799: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.2fc, %AddWith.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.AddWith.impl.Op.type: type = fn_type @Core.IntLiteral.as.AddWith.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.AddWith.impl.Op: %Core.IntLiteral.as.AddWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.AddWith.impl.Op.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.AddWith.impl.Op [concrete] @@ -86,8 +86,8 @@ var b: array(1, 39999999999999999993); // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Core.import_ref.abd = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.f45: %Core.IntLiteral.as.AddWith.impl.Op.type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.AddWith.impl.Op] -// CHECK:STDOUT: %AddWith.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.f45), @Core.IntLiteral.as.AddWith.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.IntLiteral.as.AddWith.impl.Op.type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.AddWith.impl.Op] +// CHECK:STDOUT: %AddWith.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.f63), @Core.IntLiteral.as.AddWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -95,7 +95,7 @@ var b: array(1, 39999999999999999993); // CHECK:STDOUT: %i32.loc6: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem1: %.c84 = impl_witness_access constants.%AddWith.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.AddWith.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.799 = impl_witness_access constants.%AddWith.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.AddWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %int_1, %impl.elem1 [concrete = constants.%Core.IntLiteral.as.AddWith.impl.Op.bound] // CHECK:STDOUT: %Core.IntLiteral.as.AddWith.impl.Op.call: init Core.IntLiteral = call %bound_method(%int_1, %int_2) [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc6_18.1: Core.IntLiteral = value_of_initializer %Core.IntLiteral.as.AddWith.impl.Op.call [concrete = constants.%int_3.1ba] @@ -116,41 +116,41 @@ var b: array(1, 39999999999999999993); // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] -// CHECK:STDOUT: %As.type.ab9: type = facet_type <@As, @As(%u32)> [concrete] +// CHECK:STDOUT: %As.type.1f3: type = facet_type <@As, @As(%u32)> [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.841: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.94d: %Core.IntLiteral.as.As.impl.Convert.type.841 = struct_value () [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.150: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.b6a: %Core.IntLiteral.as.As.impl.Convert.type.150 = struct_value () [symbolic] // CHECK:STDOUT: %From.fe9: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %As.impl_witness.da6: = impl_witness imports.%As.impl_witness_table.db7, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.919: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.884: %Core.IntLiteral.as.As.impl.Convert.type.919 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.ab9 = facet_value Core.IntLiteral, (%As.impl_witness.da6) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.513: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%u32, %As.facet) [concrete] -// CHECK:STDOUT: %.4dc: type = fn_type_with_self_type %As.WithSelf.Convert.type.513, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_3.1ba, %Core.IntLiteral.as.As.impl.Convert.884 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.884, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.a27: = bound_method %int_3.1ba, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.701: %u32 = int_value 3 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.type.dce: type = fn_type @UInt.as.ImplicitAs.impl.Convert.1, @UInt.as.ImplicitAs.impl.1b7(%From.fe9) [symbolic] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.60d: %UInt.as.ImplicitAs.impl.Convert.type.dce = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.5dd: = impl_witness imports.%ImplicitAs.impl_witness_table.3d8, @UInt.as.ImplicitAs.impl.1b7(%int_32) [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.type.548: type = fn_type @UInt.as.ImplicitAs.impl.Convert.1, @UInt.as.ImplicitAs.impl.1b7(%int_32) [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.404: %UInt.as.ImplicitAs.impl.Convert.type.548 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.149: %ImplicitAs.type.4bd = facet_value %u32, (%ImplicitAs.impl_witness.5dd) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.98f: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.149) [concrete] -// CHECK:STDOUT: %.e86: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.98f, %ImplicitAs.facet.149 [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.701, %UInt.as.ImplicitAs.impl.Convert.404 [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %UInt.as.ImplicitAs.impl.Convert.404, @UInt.as.ImplicitAs.impl.Convert.1(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.7d2: = bound_method %int_3.701, %UInt.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %As.impl_witness.e23: = impl_witness imports.%As.impl_witness_table.613, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ad9: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.046: %Core.IntLiteral.as.As.impl.Convert.type.ad9 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.1f3 = facet_value Core.IntLiteral, (%As.impl_witness.e23) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.027: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%u32, %As.facet) [concrete] +// CHECK:STDOUT: %.da2: type = fn_type_with_self_type %As.WithSelf.Convert.type.027, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_3.1ba, %Core.IntLiteral.as.As.impl.Convert.046 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.046, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.b52: = bound_method %int_3.1ba, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.ae2: %u32 = int_value 3 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.type.594: type = fn_type @UInt.as.ImplicitAs.impl.Convert.1, @UInt.as.ImplicitAs.impl.791(%From.fe9) [symbolic] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.141: %UInt.as.ImplicitAs.impl.Convert.type.594 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.7fa: = impl_witness imports.%ImplicitAs.impl_witness_table.1b2, @UInt.as.ImplicitAs.impl.791(%int_32) [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.type.913: type = fn_type @UInt.as.ImplicitAs.impl.Convert.1, @UInt.as.ImplicitAs.impl.791(%int_32) [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.585: %UInt.as.ImplicitAs.impl.Convert.type.913 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.43a: %ImplicitAs.type.ace = facet_value %u32, (%ImplicitAs.impl_witness.7fa) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c1e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.43a) [concrete] +// CHECK:STDOUT: %.e98: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c1e, %ImplicitAs.facet.43a [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.ae2, %UInt.as.ImplicitAs.impl.Convert.585 [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %UInt.as.ImplicitAs.impl.Convert.585, @UInt.as.ImplicitAs.impl.Convert.1(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.70f: = bound_method %int_3.ae2, %UInt.as.ImplicitAs.impl.Convert.specific_fn [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_3.1ba, %i32 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.c1c: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.841) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.94d)] -// CHECK:STDOUT: %As.impl_witness_table.db7 = impl_witness_table (%Core.import_ref.c1c), @Core.IntLiteral.as.As.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.767: @UInt.as.ImplicitAs.impl.1b7.%UInt.as.ImplicitAs.impl.Convert.type (%UInt.as.ImplicitAs.impl.Convert.type.dce) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.ImplicitAs.impl.1b7.%UInt.as.ImplicitAs.impl.Convert (constants.%UInt.as.ImplicitAs.impl.Convert.60d)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3d8 = impl_witness_table (%Core.import_ref.767), @UInt.as.ImplicitAs.impl.1b7 [concrete] +// CHECK:STDOUT: %Core.import_ref.8db: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.150) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.b6a)] +// CHECK:STDOUT: %As.impl_witness_table.613 = impl_witness_table (%Core.import_ref.8db), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.96b: @UInt.as.ImplicitAs.impl.791.%UInt.as.ImplicitAs.impl.Convert.type (%UInt.as.ImplicitAs.impl.Convert.type.594) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.ImplicitAs.impl.791.%UInt.as.ImplicitAs.impl.Convert (constants.%UInt.as.ImplicitAs.impl.Convert.141)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1b2 = impl_witness_table (%Core.import_ref.96b), @UInt.as.ImplicitAs.impl.791 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -158,17 +158,17 @@ var b: array(1, 39999999999999999993); // CHECK:STDOUT: %i32.loc6: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %int_3.loc6: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %u32: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %impl.elem0.loc6_18.1: %.4dc = impl_witness_access constants.%As.impl_witness.da6, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.884] +// CHECK:STDOUT: %impl.elem0.loc6_18.1: %.da2 = impl_witness_access constants.%As.impl_witness.e23, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.046] // CHECK:STDOUT: %bound_method.loc6_18.1: = bound_method %int_3.loc6, %impl.elem0.loc6_18.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc6_18.1: = specific_function %impl.elem0.loc6_18.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_18.2: = bound_method %int_3.loc6, %specific_fn.loc6_18.1 [concrete = constants.%bound_method.a27] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %u32 = call %bound_method.loc6_18.2(%int_3.loc6) [concrete = constants.%int_3.701] -// CHECK:STDOUT: %.loc6_18.1: %u32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_3.701] -// CHECK:STDOUT: %.loc6_18.2: %u32 = converted %int_3.loc6, %.loc6_18.1 [concrete = constants.%int_3.701] -// CHECK:STDOUT: %impl.elem0.loc6_18.2: %.e86 = impl_witness_access constants.%ImplicitAs.impl_witness.5dd, element0 [concrete = constants.%UInt.as.ImplicitAs.impl.Convert.404] +// CHECK:STDOUT: %bound_method.loc6_18.2: = bound_method %int_3.loc6, %specific_fn.loc6_18.1 [concrete = constants.%bound_method.b52] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %u32 = call %bound_method.loc6_18.2(%int_3.loc6) [concrete = constants.%int_3.ae2] +// CHECK:STDOUT: %.loc6_18.1: %u32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_3.ae2] +// CHECK:STDOUT: %.loc6_18.2: %u32 = converted %int_3.loc6, %.loc6_18.1 [concrete = constants.%int_3.ae2] +// CHECK:STDOUT: %impl.elem0.loc6_18.2: %.e98 = impl_witness_access constants.%ImplicitAs.impl_witness.7fa, element0 [concrete = constants.%UInt.as.ImplicitAs.impl.Convert.585] // CHECK:STDOUT: %bound_method.loc6_18.3: = bound_method %.loc6_18.2, %impl.elem0.loc6_18.2 [concrete = constants.%UInt.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc6_18.2: = specific_function %impl.elem0.loc6_18.2, @UInt.as.ImplicitAs.impl.Convert.1(constants.%int_32) [concrete = constants.%UInt.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_18.4: = bound_method %.loc6_18.2, %specific_fn.loc6_18.2 [concrete = constants.%bound_method.7d2] +// CHECK:STDOUT: %bound_method.loc6_18.4: = bound_method %.loc6_18.2, %specific_fn.loc6_18.2 [concrete = constants.%bound_method.70f] // CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.loc6_18.4(%.loc6_18.2) [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc6_18.3: Core.IntLiteral = value_of_initializer %UInt.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc6_18.4: Core.IntLiteral = converted %.loc6_18.2, %.loc6_18.3 [concrete = constants.%int_3.1ba] diff --git a/toolchain/check/testdata/array/import.carbon b/toolchain/check/testdata/array/import.carbon index 384df2d09f23..aa29f8499142 100644 --- a/toolchain/check/testdata/array/import.carbon +++ b/toolchain/check/testdata/array/import.carbon @@ -63,23 +63,23 @@ fn F() -> i32 { // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_42, %i32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc6_12.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc6_12.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.F: %F.type = import_ref Main//library, F, loaded [concrete = constants.%F] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%n.param: %i32) -> out %return.param: %i32 { @@ -91,12 +91,12 @@ fn F() -> i32 { // CHECK:STDOUT: %.loc6_12.2: ref %array_type = temporary %.loc6_12.1, %F.call // CHECK:STDOUT: %.loc6_15.1: ref %i32 = array_index %.loc6_12.2, %n.ref // CHECK:STDOUT: %.loc6_15.2: %i32 = acquire_value %.loc6_15.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc6_15.1: = bound_method %.loc6_15.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_15.2: = bound_method %.loc6_15.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_15.2(%.loc6_15.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc6_12.2, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc6_12.2, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc6_12.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } @@ -120,31 +120,31 @@ fn F() -> i32 { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.6f3: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.34b: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%int_1.d5e) [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%int_1.d9c) [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.e1c: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.135 [concrete] +// CHECK:STDOUT: %assoc0.b32: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.e8e [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//symbolic_decl, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.C: type = import_ref Main//symbolic_decl, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.f94: %I.assoc_type = import_ref Main//symbolic_decl, loc5_12, loaded [concrete = constants.%assoc0.e1c] -// CHECK:STDOUT: %Main.import_ref.de0: %array_type = import_ref Main//symbolic_decl, loc10_33, loaded [concrete = constants.%array] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.de0), @C.as.I.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.135: %array_type = import_ref Main//symbolic_decl, loc5_12, loaded [concrete = %value] +// CHECK:STDOUT: %Main.import_ref.444: %I.assoc_type = import_ref Main//symbolic_decl, loc5_12, loaded [concrete = constants.%assoc0.b32] +// CHECK:STDOUT: %Main.import_ref.ffc: %array_type = import_ref Main//symbolic_decl, loc10_33, loaded [concrete = constants.%array] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.ffc), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.e8e: %array_type = import_ref Main//symbolic_decl, loc5_12, loaded [concrete = %value] // CHECK:STDOUT: %value: %array_type = assoc_const_decl @value [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.6f3 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.34b = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] @@ -152,7 +152,7 @@ fn F() -> i32 { // CHECK:STDOUT: %.loc7_29: %I.type = converted %C.ref, %I.facet [concrete = constants.%I.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_29 [concrete = constants.%C] // CHECK:STDOUT: %.loc7_34: type = converted %.loc7_29, %as_type [concrete = constants.%C] -// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.f94 [concrete = constants.%assoc0.e1c] +// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.444 [concrete = constants.%assoc0.b32] // CHECK:STDOUT: %impl.elem0.loc7: %array_type = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%array] // CHECK:STDOUT: %.loc7_22: type = splice_block %array_type [concrete = constants.%array_type] { // CHECK:STDOUT: %i32.loc7: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/array/index_not_literal.carbon b/toolchain/check/testdata/array/index_not_literal.carbon index f78183ab690d..ba98c16faec7 100644 --- a/toolchain/check/testdata/array/index_not_literal.carbon +++ b/toolchain/check/testdata/array/index_not_literal.carbon @@ -59,52 +59,52 @@ fn F(a: array({}, 3)) -> {} { // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %tuple.type.37f: type = tuple_type (Core.IntLiteral, Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.2d5: %tuple.type.37f = tuple_value (%int_1.5b8, %int_2.ecc, %int_3.1ba) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%int_1.d5e, %int_2.4ff, %int_3.49a) [concrete] -// CHECK:STDOUT: %.753: ref %array_type = temporary invalid, %array [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc10_20.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.753, %Destroy.Op.1dc86d.3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%int_1.d9c, %int_2.228, %int_3.6cc) [concrete] +// CHECK:STDOUT: %.2d4: ref %array_type = temporary invalid, %array [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc10_20.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.2d4, %Destroy.Op.2dd605.3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%arr.param: %array_type, %i.param: %i32) -> out %return.param: %i32 { @@ -114,7 +114,7 @@ fn F(a: array({}, 3)) -> {} { // CHECK:STDOUT: %.loc4_15.1: ref %array_type = value_as_ref %arr.ref // CHECK:STDOUT: %.loc4_15.2: ref %i32 = array_index %.loc4_15.1, %i.ref // CHECK:STDOUT: %.loc4_15.3: %i32 = acquire_value %.loc4_15.2 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc4_15.1: = bound_method %.loc4_15.3, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc4_15.2: = bound_method %.loc4_15.3, %specific_fn @@ -130,47 +130,47 @@ fn F(a: array({}, 3)) -> {} { // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc10_20.1: %tuple.type.37f = tuple_literal (%int_1.loc10_13, %int_2.loc10_16, %int_3) [concrete = constants.%tuple.2d5] // CHECK:STDOUT: %int_1.loc10_23: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc10_20.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_20.1: = bound_method %int_1.loc10_13, %impl.elem0.loc10_20.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc10_20.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_20.1: = bound_method %int_1.loc10_13, %impl.elem0.loc10_20.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc10_20.1: = specific_function %impl.elem0.loc10_20.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_20.2: = bound_method %int_1.loc10_13, %specific_fn.loc10_20.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_20.1: init %i32 = call %bound_method.loc10_20.2(%int_1.loc10_13) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_20.2: init %i32 = converted %int_1.loc10_13, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_20.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc10_20.2: = bound_method %int_1.loc10_13, %specific_fn.loc10_20.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_20.1: init %i32 = call %bound_method.loc10_20.2(%int_1.loc10_13) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_20.2: init %i32 = converted %int_1.loc10_13, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_20.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc10_20.3: ref %array_type = temporary_storage // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc10_20.4: ref %i32 = array_index %.loc10_20.3, %int_0 -// CHECK:STDOUT: %.loc10_20.5: init %i32 to %.loc10_20.4 = in_place_init %.loc10_20.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc10_20.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_20.3: = bound_method %int_2.loc10_16, %impl.elem0.loc10_20.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc10_20.5: init %i32 to %.loc10_20.4 = in_place_init %.loc10_20.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc10_20.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_20.3: = bound_method %int_2.loc10_16, %impl.elem0.loc10_20.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc10_20.2: = specific_function %impl.elem0.loc10_20.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_20.4: = bound_method %int_2.loc10_16, %specific_fn.loc10_20.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_20.2: init %i32 = call %bound_method.loc10_20.4(%int_2.loc10_16) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_20.6: init %i32 = converted %int_2.loc10_16, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_20.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc10_20.4: = bound_method %int_2.loc10_16, %specific_fn.loc10_20.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_20.2: init %i32 = call %bound_method.loc10_20.4(%int_2.loc10_16) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_20.6: init %i32 = converted %int_2.loc10_16, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_20.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %int_1.loc10_20: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc10_20.7: ref %i32 = array_index %.loc10_20.3, %int_1.loc10_20 -// CHECK:STDOUT: %.loc10_20.8: init %i32 to %.loc10_20.7 = in_place_init %.loc10_20.6 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc10_20.3: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_20.5: = bound_method %int_3, %impl.elem0.loc10_20.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %.loc10_20.8: init %i32 to %.loc10_20.7 = in_place_init %.loc10_20.6 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc10_20.3: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_20.5: = bound_method %int_3, %impl.elem0.loc10_20.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc10_20.3: = specific_function %impl.elem0.loc10_20.3, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_20.6: = bound_method %int_3, %specific_fn.loc10_20.3 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_20.3: init %i32 = call %bound_method.loc10_20.6(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc10_20.9: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_20.3 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc10_20.6: = bound_method %int_3, %specific_fn.loc10_20.3 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_20.3: init %i32 = call %bound_method.loc10_20.6(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc10_20.9: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_20.3 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %int_2.loc10_20: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc10_20.10: ref %i32 = array_index %.loc10_20.3, %int_2.loc10_20 -// CHECK:STDOUT: %.loc10_20.11: init %i32 to %.loc10_20.10 = in_place_init %.loc10_20.9 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %.loc10_20.11: init %i32 to %.loc10_20.10 = in_place_init %.loc10_20.9 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc10_20.12: init %array_type to %.loc10_20.3 = array_init (%.loc10_20.5, %.loc10_20.8, %.loc10_20.11) [concrete = constants.%array] // CHECK:STDOUT: %.loc10_20.13: init %array_type = converted %.loc10_20.1, %.loc10_20.12 [concrete = constants.%array] -// CHECK:STDOUT: %.loc10_20.14: ref %array_type = temporary %.loc10_20.3, %.loc10_20.13 [concrete = constants.%.753] +// CHECK:STDOUT: %.loc10_20.14: ref %array_type = temporary %.loc10_20.3, %.loc10_20.13 [concrete = constants.%.2d4] // CHECK:STDOUT: %.loc10_20.15: %array_type = acquire_value %.loc10_20.14 [concrete = constants.%array] -// CHECK:STDOUT: %impl.elem0.loc10_23: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_23.1: = bound_method %int_1.loc10_23, %impl.elem0.loc10_23 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc10_23: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_23.1: = bound_method %int_1.loc10_23, %impl.elem0.loc10_23 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc10_23: = specific_function %impl.elem0.loc10_23, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_23.2: = bound_method %int_1.loc10_23, %specific_fn.loc10_23 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23: init %i32 = call %bound_method.loc10_23.2(%int_1.loc10_23) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_23.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_23.2: %i32 = converted %int_1.loc10_23, %.loc10_23.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc10_23.2: = bound_method %int_1.loc10_23, %specific_fn.loc10_23 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23: init %i32 = call %bound_method.loc10_23.2(%int_1.loc10_23) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_23.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_23.2: %i32 = converted %int_1.loc10_23, %.loc10_23.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %F.call: init %i32 = call %F.ref(%.loc10_20.15, %.loc10_23.2) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.753) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.2d4) // CHECK:STDOUT: return %F.call // CHECK:STDOUT: } // CHECK:STDOUT: @@ -198,25 +198,25 @@ fn F(a: array({}, 3)) -> {} { // CHECK:STDOUT: %struct: %struct_type.index = struct_value (%int_2.ecc) [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%a.param: %array_type) -> out %return.param: %empty_struct_type { @@ -227,13 +227,13 @@ fn F(a: array({}, 3)) -> {} { // CHECK:STDOUT: %struct: %struct_type.index = struct_value (%int_2) [concrete = constants.%struct] // CHECK:STDOUT: %.loc6_23.2: %struct_type.index = converted %.loc6_23.1, %struct [concrete = constants.%struct] // CHECK:STDOUT: %.loc6_24.1: Core.IntLiteral = struct_access %.loc6_23.2, element0 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc6_24.1: = bound_method %.loc6_24.1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc6_24.2: = bound_method %.loc6_24.1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc6_24.2(%.loc6_24.1) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc6_24.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc6_24.3: %i32 = converted %.loc6_24.1, %.loc6_24.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc6_24.2(%.loc6_24.1) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc6_24.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc6_24.3: %i32 = converted %.loc6_24.1, %.loc6_24.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc6_30.1: ref %array_type = value_as_ref %a.ref // CHECK:STDOUT: %.loc6_30.2: ref %empty_struct_type = array_index %.loc6_30.1, %.loc6_24.3 // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete = constants.%empty_struct] diff --git a/toolchain/check/testdata/array/init_dependent_bound.carbon b/toolchain/check/testdata/array/init_dependent_bound.carbon index 5ba4eec192bd..dee554b65b4d 100644 --- a/toolchain/check/testdata/array/init_dependent_bound.carbon +++ b/toolchain/check/testdata/array/init_dependent_bound.carbon @@ -69,22 +69,22 @@ fn H() { G(3); } // CHECK:STDOUT: %array.ca4: %array_type.1b3 = tuple_value () [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %array_type.1b3, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.20b: %Destroy.type = facet_value %array_type.1b3, (%Destroy.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.140: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.20b) [symbolic] -// CHECK:STDOUT: %.032: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.140, %Destroy.facet.20b [symbolic] -// CHECK:STDOUT: %impl.elem0: %.032 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Destroy.WithSelf.Op(%Destroy.facet.20b) [symbolic] +// CHECK:STDOUT: %Destroy.facet.7b5: %Destroy.type = facet_value %array_type.1b3, (%Destroy.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.855: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.7b5) [symbolic] +// CHECK:STDOUT: %.8c2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.855, %Destroy.facet.7b5 [symbolic] +// CHECK:STDOUT: %impl.elem0: %.8c2 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Destroy.WithSelf.Op(%Destroy.facet.7b5) [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %array_type.c56: type = array_type %int_0, %C [concrete] -// CHECK:STDOUT: %complete_type.152: = complete_type_witness %array_type.c56 [concrete] -// CHECK:STDOUT: %pattern_type.739: type = pattern_type %array_type.c56 [concrete] -// CHECK:STDOUT: %array.610: %array_type.c56 = tuple_value () [concrete] +// CHECK:STDOUT: %array_type.29f: type = array_type %int_0, %C [concrete] +// CHECK:STDOUT: %complete_type.de5: = complete_type_witness %array_type.29f [concrete] +// CHECK:STDOUT: %pattern_type.ca4: type = pattern_type %array_type.29f [concrete] +// CHECK:STDOUT: %array.656: %array_type.29f = tuple_value () [concrete] // CHECK:STDOUT: %Destroy.Op.type: type = fn_type @Destroy.Op [concrete] // CHECK:STDOUT: %Destroy.Op: %Destroy.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340: = custom_witness (%Destroy.Op), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.a8e: %Destroy.type = facet_value %array_type.c56, (%custom_witness.340) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.6ec: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.a8e) [concrete] -// CHECK:STDOUT: %.40c: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.6ec, %Destroy.facet.a8e [concrete] +// CHECK:STDOUT: %custom_witness.e20: = custom_witness (%Destroy.Op), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.b41: %Destroy.type = facet_value %array_type.29f, (%custom_witness.e20) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.431: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.b41) [concrete] +// CHECK:STDOUT: %.31c: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.431, %Destroy.facet.b41 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @G(%T.loc4_7.2: type) { @@ -96,10 +96,10 @@ fn H() { G(3); } // CHECK:STDOUT: %pattern_type: type = pattern_type %array_type.loc7_29.2 [symbolic = %pattern_type (constants.%pattern_type.bd6)] // CHECK:STDOUT: %array: @G.%array_type.loc7_29.2 (%array_type.1b3) = tuple_value () [symbolic = %array (constants.%array.ca4)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %array_type.loc7_29.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %array_type.loc7_29.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.20b)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.140)] -// CHECK:STDOUT: %.loc7_3.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc7_3.2 (constants.%.032)] -// CHECK:STDOUT: %impl.elem0.loc7_3.2: @G.%.loc7_3.2 (%.032) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_3.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %array_type.loc7_29.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.7b5)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.855)] +// CHECK:STDOUT: %.loc7_3.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc7_3.2 (constants.%.8c2)] +// CHECK:STDOUT: %impl.elem0.loc7_3.2: @G.%.loc7_3.2 (%.8c2) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_3.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc7_3.2: = specific_impl_function %impl.elem0.loc7_3.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { @@ -119,16 +119,16 @@ fn H() { G(3); } // CHECK:STDOUT: %array_type.loc7_29.1: type = array_type %int_0, %T.ref [symbolic = %array_type.loc7_29.2 (constants.%array_type.1b3)] // CHECK:STDOUT: } // CHECK:STDOUT: %arr: ref @G.%array_type.loc7_29.2 (%array_type.1b3) = ref_binding arr, %arr.var -// CHECK:STDOUT: %impl.elem0.loc7_3.1: @G.%.loc7_3.2 (%.032) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_3.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc7_3.1: @G.%.loc7_3.2 (%.8c2) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_3.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc7_3.1: = bound_method %arr.var, %impl.elem0.loc7_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc7_3.1: = specific_impl_function %impl.elem0.loc7_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.20b) [symbolic = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn)] +// CHECK:STDOUT: %specific_impl_fn.loc7_3.1: = specific_impl_function %impl.elem0.loc7_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.7b5) [symbolic = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %bound_method.loc7_3.2: = bound_method %arr.var, %specific_impl_fn.loc7_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc7_3.2(%arr.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %array_type.c56) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %array_type.29f) = "no_op"; // CHECK:STDOUT: // CHECK:STDOUT: specific @G(constants.%T) { // CHECK:STDOUT: %T.loc4_7.1 => constants.%T @@ -138,14 +138,14 @@ fn H() { G(3); } // CHECK:STDOUT: %T.loc4_7.1 => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %array_type.loc7_29.2 => constants.%array_type.c56 -// CHECK:STDOUT: %require_complete => constants.%complete_type.152 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.739 -// CHECK:STDOUT: %array => constants.%array.610 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.340 -// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.a8e -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.6ec -// CHECK:STDOUT: %.loc7_3.2 => constants.%.40c +// CHECK:STDOUT: %array_type.loc7_29.2 => constants.%array_type.29f +// CHECK:STDOUT: %require_complete => constants.%complete_type.de5 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ca4 +// CHECK:STDOUT: %array => constants.%array.656 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.e20 +// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.b41 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.431 +// CHECK:STDOUT: %.loc7_3.2 => constants.%.31c // CHECK:STDOUT: %impl.elem0.loc7_3.2 => constants.%Destroy.Op // CHECK:STDOUT: %specific_impl_fn.loc7_3.2 => constants.%Destroy.Op // CHECK:STDOUT: } @@ -155,42 +155,42 @@ fn H() { G(3); } // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %N.afc: %i32 = symbolic_binding N, 0, template [template] +// CHECK:STDOUT: %N.bbe: %i32 = symbolic_binding N, 0, template [template] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %tuple.type: type = tuple_type (Core.IntLiteral, Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%int_1, %int_2, %int_3.1ba) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.2f8: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.7c2: %Int.as.ImplicitAs.impl.Convert.type.2f8 = struct_value () [symbolic] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.d2b: = impl_witness imports.%ImplicitAs.impl_witness_table.07d, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.73a: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.735: %Int.as.ImplicitAs.impl.Convert.type.73a = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.4dd: %ImplicitAs.type.4bd = facet_value %i32, (%ImplicitAs.impl_witness.d2b) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f57: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.4dd) [concrete] -// CHECK:STDOUT: %.516: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f57, %ImplicitAs.facet.4dd [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.49a, %Int.as.ImplicitAs.impl.Convert.735 [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.735, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.9a4: = bound_method %int_3.49a, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.f73: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.34b: %Int.as.ImplicitAs.impl.Convert.type.f73 = struct_value () [symbolic] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.062: = impl_witness imports.%ImplicitAs.impl_witness_table.eac, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.337: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.64e: %Int.as.ImplicitAs.impl.Convert.type.337 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.89e: %ImplicitAs.type.ace = facet_value %i32, (%ImplicitAs.impl_witness.062) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b68: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.89e) [concrete] +// CHECK:STDOUT: %.7a9: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b68, %ImplicitAs.facet.89e [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.6cc, %Int.as.ImplicitAs.impl.Convert.64e [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.64e, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.6cc, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] // CHECK:STDOUT: %inst.splice_block: = inst_value [concrete] { -// CHECK:STDOUT: %.994: Core.IntLiteral = splice_block %.bb5 [concrete = %int_3.1ba] { -// CHECK:STDOUT: %impl.elem0: %.516 = impl_witness_access %ImplicitAs.impl_witness.d2b, element0 [concrete = %Int.as.ImplicitAs.impl.Convert.735] -// CHECK:STDOUT: %bound_method.be8: = bound_method %int_3.49a, %impl.elem0 [concrete = %Int.as.ImplicitAs.impl.Convert.bound] +// CHECK:STDOUT: %.55d: Core.IntLiteral = splice_block %.437 [concrete = %int_3.1ba] { +// CHECK:STDOUT: %impl.elem0: %.7a9 = impl_witness_access %ImplicitAs.impl_witness.062, element0 [concrete = %Int.as.ImplicitAs.impl.Convert.64e] +// CHECK:STDOUT: %bound_method.d9d: = bound_method %int_3.6cc, %impl.elem0 [concrete = %Int.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete = %Int.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.2df: = bound_method %int_3.49a, %specific_fn [concrete = %bound_method.9a4] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.2df(%int_3.49a) [concrete = %int_3.1ba] -// CHECK:STDOUT: %.aa0: Core.IntLiteral = value_of_initializer %Int.as.ImplicitAs.impl.Convert.call [concrete = %int_3.1ba] -// CHECK:STDOUT: %.bb5: Core.IntLiteral = converted %int_3.49a, %.aa0 [concrete = %int_3.1ba] +// CHECK:STDOUT: %bound_method.edd: = bound_method %int_3.6cc, %specific_fn [concrete = %bound_method.353] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.edd(%int_3.6cc) [concrete = %int_3.1ba] +// CHECK:STDOUT: %.01e: Core.IntLiteral = value_of_initializer %Int.as.ImplicitAs.impl.Convert.call [concrete = %int_3.1ba] +// CHECK:STDOUT: %.437: Core.IntLiteral = converted %int_3.6cc, %.01e [concrete = %int_3.1ba] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd0: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.2f8) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.7c2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.07d = impl_witness_table (%Core.import_ref.dd0), @Int.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.835: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.f73) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.34b)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eac = impl_witness_table (%Core.import_ref.835), @Int.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @G(%N.loc5_16.2: %i32) { @@ -217,12 +217,12 @@ fn H() { G(3); } // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @G(constants.%N.afc) { -// CHECK:STDOUT: %N.loc5_16.1 => constants.%N.afc +// CHECK:STDOUT: specific @G(constants.%N.bbe) { +// CHECK:STDOUT: %N.loc5_16.1 => constants.%N.bbe // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @G(constants.%int_3.49a) { -// CHECK:STDOUT: %N.loc5_16.1 => constants.%int_3.49a +// CHECK:STDOUT: specific @G(constants.%int_3.6cc) { +// CHECK:STDOUT: %N.loc5_16.1 => constants.%int_3.6cc // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %.loc11_30.2 => constants.%inst.splice_block diff --git a/toolchain/check/testdata/as/adapter_conversion.carbon b/toolchain/check/testdata/as/adapter_conversion.carbon index af9a0469b283..c78521024f0c 100644 --- a/toolchain/check/testdata/as/adapter_conversion.carbon +++ b/toolchain/check/testdata/as/adapter_conversion.carbon @@ -177,30 +177,30 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: %A.Make.type: type = fn_type @A.Make [concrete] // CHECK:STDOUT: %A.Make: %A.Make.type = struct_value () [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] -// CHECK:STDOUT: %pattern_type.5b2: type = pattern_type %B [concrete] -// CHECK:STDOUT: %ptr.dd3: type = ptr_type %B [concrete] -// CHECK:STDOUT: %pattern_type.230: type = pattern_type %ptr.dd3 [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] +// CHECK:STDOUT: %ptr.294: type = ptr_type %B [concrete] +// CHECK:STDOUT: %pattern_type.bb8: type = pattern_type %ptr.294 [concrete] // CHECK:STDOUT: %a_ref.var: ref %B = var file.%a_ref.var_patt [concrete] -// CHECK:STDOUT: %addr: %ptr.dd3 = addr_of %a_ref.var [concrete] +// CHECK:STDOUT: %addr: %ptr.294 = addr_of %a_ref.var [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b_val.patt: %pattern_type.5b2 = value_binding_pattern b_val [concrete] +// CHECK:STDOUT: %b_val.patt: %pattern_type.787 = value_binding_pattern b_val [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %B.ref.loc22: type = name_ref B, %B.decl [concrete = constants.%B] // CHECK:STDOUT: %b_val: %B = value_binding b_val, @__global_init.%.loc22_22.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b_ptr.patt: %pattern_type.230 = value_binding_pattern b_ptr [concrete] +// CHECK:STDOUT: %b_ptr.patt: %pattern_type.bb8 = value_binding_pattern b_ptr [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc23: type = splice_block %ptr [concrete = constants.%ptr.dd3] { +// CHECK:STDOUT: %.loc23: type = splice_block %ptr [concrete = constants.%ptr.294] { // CHECK:STDOUT: %B.ref.loc23: type = name_ref B, %B.decl [concrete = constants.%B] -// CHECK:STDOUT: %ptr: type = ptr_type %B.ref.loc23 [concrete = constants.%ptr.dd3] +// CHECK:STDOUT: %ptr: type = ptr_type %B.ref.loc23 [concrete = constants.%ptr.294] // CHECK:STDOUT: } -// CHECK:STDOUT: %b_ptr: %ptr.dd3 = value_binding b_ptr, @__global_init.%addr +// CHECK:STDOUT: %b_ptr: %ptr.294 = value_binding b_ptr, @__global_init.%addr // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b_factory.patt: %pattern_type.5b2 = ref_binding_pattern b_factory [concrete] -// CHECK:STDOUT: %b_factory.var_patt: %pattern_type.5b2 = var_pattern %b_factory.patt [concrete] +// CHECK:STDOUT: %b_factory.patt: %pattern_type.787 = ref_binding_pattern b_factory [concrete] +// CHECK:STDOUT: %b_factory.var_patt: %pattern_type.787 = var_pattern %b_factory.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b_factory.var: ref %B = var %b_factory.var_patt [concrete] // CHECK:STDOUT: %B.ref.loc25: type = name_ref B, %B.decl [concrete = constants.%B] @@ -218,7 +218,7 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: %B.ref.loc23: type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %.loc23_25.1: ref %B = as_compatible %a_ref.ref.loc23 [concrete = constants.%a_ref.var] // CHECK:STDOUT: %.loc23_25.2: ref %B = converted %a_ref.ref.loc23, %.loc23_25.1 [concrete = constants.%a_ref.var] -// CHECK:STDOUT: %addr: %ptr.dd3 = addr_of %.loc23_25.2 [concrete = constants.%addr] +// CHECK:STDOUT: %addr: %ptr.294 = addr_of %.loc23_25.2 [concrete = constants.%addr] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %Make.ref: %A.Make.type = name_ref Make, @A.%A.Make.decl [concrete = constants.%A.Make] // CHECK:STDOUT: %.loc25_1: ref %B = splice_block file.%b_factory.var [concrete = file.%b_factory.var] {} @@ -236,39 +236,39 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: %A: type = class_type @A [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.5b0: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %int_1.6db: %A = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.64d: %A = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.5b0 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %A.ref: type = name_ref A, %A.decl [concrete = constants.%A] // CHECK:STDOUT: %a: %A = value_binding a, @__global_init.%.loc9_23.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, @__global_init.%.loc10_16.2 @@ -278,16 +278,16 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32.loc9: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] +// CHECK:STDOUT: %impl.elem0: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] // CHECK:STDOUT: %bound_method.loc9_15.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc9_15.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc9_15.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_15.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_15.2: %i32 = converted %int_1, %.loc9_15.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc9_15.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_15.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_15.2: %i32 = converted %int_1, %.loc9_15.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %.loc9_23.1: %A = as_compatible %.loc9_15.2 [concrete = constants.%int_1.6db] -// CHECK:STDOUT: %.loc9_23.2: %A = converted %.loc9_15.2, %.loc9_23.1 [concrete = constants.%int_1.6db] +// CHECK:STDOUT: %.loc9_23.1: %A = as_compatible %.loc9_15.2 [concrete = constants.%int_1.64d] +// CHECK:STDOUT: %.loc9_23.2: %A = converted %.loc9_15.2, %.loc9_23.1 [concrete = constants.%int_1.64d] // CHECK:STDOUT: %a.ref: %A = name_ref a, file.%a // CHECK:STDOUT: %i32.loc10: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc10_16.1: %i32 = as_compatible %a.ref @@ -330,44 +330,44 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] -// CHECK:STDOUT: %pattern_type.222: type = pattern_type %B [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.x.y.4cf: type = struct_type {.x: Core.IntLiteral, .y: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.x.y.4cf = struct_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %A.val: %A = struct_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %B.val: %B = struct_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %.187: ref %B = temporary invalid, %B.val [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %A.val: %A = struct_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %B.val: %B = struct_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %.ae0: ref %B = temporary invalid, %B.val [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b_value.patt: %pattern_type.222 = value_binding_pattern b_value [concrete] +// CHECK:STDOUT: %b_value.patt: %pattern_type.787 = value_binding_pattern b_value [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %B.ref: type = name_ref B, %B.decl [concrete = constants.%B] -// CHECK:STDOUT: %.loc14_42.1: ref %B = temporary @__global_init.%.loc14_34.3, @__global_init.%.loc14_42.2 [concrete = constants.%.187] +// CHECK:STDOUT: %.loc14_42.1: ref %B = temporary @__global_init.%.loc14_34.3, @__global_init.%.loc14_42.2 [concrete = constants.%.ae0] // CHECK:STDOUT: %.loc14_42.2: %B = acquire_value %.loc14_42.1 [concrete = constants.%B.val] // CHECK:STDOUT: %b_value: %B = value_binding b_value, %.loc14_42.2 // CHECK:STDOUT: } @@ -378,23 +378,23 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc14_34.1: %struct_type.x.y.4cf = struct_literal (%int_1, %int_2) [concrete = constants.%struct] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %impl.elem0.loc14_34.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc14_34.1: = bound_method %int_1, %impl.elem0.loc14_34.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc14_34.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc14_34.1: = bound_method %int_1, %impl.elem0.loc14_34.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc14_34.1: = specific_function %impl.elem0.loc14_34.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc14_34.2: = bound_method %int_1, %specific_fn.loc14_34.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_34.1: init %i32 = call %bound_method.loc14_34.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc14_34.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_34.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc14_34.2: = bound_method %int_1, %specific_fn.loc14_34.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_34.1: init %i32 = call %bound_method.loc14_34.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc14_34.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_34.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc14_34.3: ref %A = temporary_storage // CHECK:STDOUT: %.loc14_34.4: ref %i32 = class_element_access %.loc14_34.3, element0 -// CHECK:STDOUT: %.loc14_34.5: init %i32 to %.loc14_34.4 = in_place_init %.loc14_34.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc14_34.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc14_34.3: = bound_method %int_2, %impl.elem0.loc14_34.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc14_34.5: init %i32 to %.loc14_34.4 = in_place_init %.loc14_34.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc14_34.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc14_34.3: = bound_method %int_2, %impl.elem0.loc14_34.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc14_34.2: = specific_function %impl.elem0.loc14_34.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc14_34.4: = bound_method %int_2, %specific_fn.loc14_34.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_34.2: init %i32 = call %bound_method.loc14_34.4(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc14_34.6: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_34.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc14_34.4: = bound_method %int_2, %specific_fn.loc14_34.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_34.2: init %i32 = call %bound_method.loc14_34.4(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc14_34.6: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_34.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc14_34.7: ref %i32 = class_element_access %.loc14_34.3, element1 -// CHECK:STDOUT: %.loc14_34.8: init %i32 to %.loc14_34.7 = in_place_init %.loc14_34.6 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %.loc14_34.8: init %i32 to %.loc14_34.7 = in_place_init %.loc14_34.6 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc14_34.9: init %A to %.loc14_34.3 = class_init (%.loc14_34.5, %.loc14_34.8) [concrete = constants.%A.val] // CHECK:STDOUT: %.loc14_36: init %A = converted %.loc14_34.1, %.loc14_34.9 [concrete = constants.%A.val] // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] @@ -412,7 +412,7 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.c8c: type = tuple_type (%empty_struct_type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.c8c = tuple_value (%empty_struct, %Noncopyable) [concrete] -// CHECK:STDOUT: %tuple.type.822: type = tuple_type (%empty_struct_type, %Noncopyable) [concrete] +// CHECK:STDOUT: %tuple.type.185: type = tuple_type (%empty_struct_type, %Noncopyable) [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %A [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -426,9 +426,9 @@ var b: B = {.x = ()} as B; // CHECK:STDOUT: %Noncopyable.ref: type = name_ref Noncopyable, file.%Noncopyable.decl [concrete = constants.%Noncopyable] // CHECK:STDOUT: %.loc14_49.1: %tuple.type.c8c = tuple_literal (%.loc14_35, %Noncopyable.ref) [concrete = constants.%tuple] // CHECK:STDOUT: %.loc14_49.2: type = converted constants.%empty_struct, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %.loc14_49.3: type = converted %.loc14_49.1, constants.%tuple.type.822 [concrete = constants.%tuple.type.822] -// CHECK:STDOUT: %.loc14_30.1: %tuple.type.822 = as_compatible %a.ref -// CHECK:STDOUT: %.loc14_30.2: %tuple.type.822 = converted %a.ref, %.loc14_30.1 +// CHECK:STDOUT: %.loc14_49.3: type = converted %.loc14_49.1, constants.%tuple.type.185 [concrete = constants.%tuple.type.185] +// CHECK:STDOUT: %.loc14_30.1: %tuple.type.185 = as_compatible %a.ref +// CHECK:STDOUT: %.loc14_30.2: %tuple.type.185 = converted %a.ref, %.loc14_30.1 // CHECK:STDOUT: %A.ref.loc14_55: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %.loc14_52.1: %A = as_compatible %.loc14_30.2 // CHECK:STDOUT: %.loc14_52.2: %A = converted %.loc14_30.2, %.loc14_52.1 diff --git a/toolchain/check/testdata/as/basics.carbon b/toolchain/check/testdata/as/basics.carbon index 18a4fd8aee22..9b8f6064d045 100644 --- a/toolchain/check/testdata/as/basics.carbon +++ b/toolchain/check/testdata/as/basics.carbon @@ -210,18 +210,18 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: %Make: %Make.type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%X, %X) [concrete] -// CHECK:STDOUT: %tuple.type.36b: type = tuple_type (%X, %X) [concrete] -// CHECK:STDOUT: %pattern_type.e95: type = pattern_type %tuple.type.36b [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc13_40.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc20 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %tuple.type.33e: type = tuple_type (%X, %X) [concrete] +// CHECK:STDOUT: %pattern_type.f4c: type = pattern_type %tuple.type.33e [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc13_40.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc20 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Let() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e95 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f4c = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Make.ref.loc13_27: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %.loc13_32.1: ref %X = temporary_storage @@ -229,27 +229,27 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: %Make.ref.loc13_35: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %.loc13_40.1: ref %X = temporary_storage // CHECK:STDOUT: %Make.call.loc13_40: init %X to %.loc13_40.1 = call %Make.ref.loc13_35() -// CHECK:STDOUT: %.loc13_41.1: %tuple.type.36b = tuple_literal (%Make.call.loc13_32, %Make.call.loc13_40) +// CHECK:STDOUT: %.loc13_41.1: %tuple.type.33e = tuple_literal (%Make.call.loc13_32, %Make.call.loc13_40) // CHECK:STDOUT: %X.ref.loc13_47: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %X.ref.loc13_50: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %.loc13_51.1: %tuple.type.24b = tuple_literal (%X.ref.loc13_47, %X.ref.loc13_50) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc13_51.2: type = converted %.loc13_51.1, constants.%tuple.type.36b [concrete = constants.%tuple.type.36b] -// CHECK:STDOUT: %.loc13_22.1: type = splice_block %.loc13_22.3 [concrete = constants.%tuple.type.36b] { +// CHECK:STDOUT: %.loc13_51.2: type = converted %.loc13_51.1, constants.%tuple.type.33e [concrete = constants.%tuple.type.33e] +// CHECK:STDOUT: %.loc13_22.1: type = splice_block %.loc13_22.3 [concrete = constants.%tuple.type.33e] { // CHECK:STDOUT: %X.ref.loc13_18: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %X.ref.loc13_21: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %.loc13_22.2: %tuple.type.24b = tuple_literal (%X.ref.loc13_18, %X.ref.loc13_21) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc13_22.3: type = converted %.loc13_22.2, constants.%tuple.type.36b [concrete = constants.%tuple.type.36b] +// CHECK:STDOUT: %.loc13_22.3: type = converted %.loc13_22.2, constants.%tuple.type.33e [concrete = constants.%tuple.type.33e] // CHECK:STDOUT: } // CHECK:STDOUT: %.loc13_32.2: ref %X = temporary %.loc13_32.1, %Make.call.loc13_32 // CHECK:STDOUT: %.loc13_32.3: %X = acquire_value %.loc13_32.2 // CHECK:STDOUT: %.loc13_40.2: ref %X = temporary %.loc13_40.1, %Make.call.loc13_40 // CHECK:STDOUT: %.loc13_40.3: %X = acquire_value %.loc13_40.2 -// CHECK:STDOUT: %tuple: %tuple.type.36b = tuple_value (%.loc13_32.3, %.loc13_40.3) -// CHECK:STDOUT: %.loc13_41.2: %tuple.type.36b = converted %.loc13_41.1, %tuple -// CHECK:STDOUT: %a: %tuple.type.36b = value_binding a, %.loc13_41.2 -// CHECK:STDOUT: %Destroy.Op.bound.loc13_40: = bound_method %.loc13_40.2, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %tuple: %tuple.type.33e = tuple_value (%.loc13_32.3, %.loc13_40.3) +// CHECK:STDOUT: %.loc13_41.2: %tuple.type.33e = converted %.loc13_41.1, %tuple +// CHECK:STDOUT: %a: %tuple.type.33e = value_binding a, %.loc13_41.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc13_40: = bound_method %.loc13_40.2, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc13_40: init %empty_tuple.type = call %Destroy.Op.bound.loc13_40(%.loc13_40.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc13_32: = bound_method %.loc13_32.2, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc13_32: = bound_method %.loc13_32.2, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc13_32: init %empty_tuple.type = call %Destroy.Op.bound.loc13_32(%.loc13_32.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -264,37 +264,37 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: fn @Var() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.e95 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.e95 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f4c = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.f4c = var_pattern %b.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %b.var: ref %tuple.type.36b = var %b.var_patt +// CHECK:STDOUT: %b.var: ref %tuple.type.33e = var %b.var_patt // CHECK:STDOUT: %Make.ref.loc20_27: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %tuple.elem0: ref %X = tuple_access %b.var, element0 // CHECK:STDOUT: %Make.call.loc20_32: init %X to %tuple.elem0 = call %Make.ref.loc20_27() // CHECK:STDOUT: %Make.ref.loc20_35: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %tuple.elem1: ref %X = tuple_access %b.var, element1 // CHECK:STDOUT: %Make.call.loc20_40: init %X to %tuple.elem1 = call %Make.ref.loc20_35() -// CHECK:STDOUT: %.loc20_41.1: %tuple.type.36b = tuple_literal (%Make.call.loc20_32, %Make.call.loc20_40) +// CHECK:STDOUT: %.loc20_41.1: %tuple.type.33e = tuple_literal (%Make.call.loc20_32, %Make.call.loc20_40) // CHECK:STDOUT: %X.ref.loc20_47: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %X.ref.loc20_50: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %.loc20_51.1: %tuple.type.24b = tuple_literal (%X.ref.loc20_47, %X.ref.loc20_50) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc20_51.2: type = converted %.loc20_51.1, constants.%tuple.type.36b [concrete = constants.%tuple.type.36b] -// CHECK:STDOUT: %.loc20_41.2: init %tuple.type.36b to %b.var = tuple_init (%Make.call.loc20_32, %Make.call.loc20_40) -// CHECK:STDOUT: %.loc20_3: init %tuple.type.36b = converted %.loc20_41.1, %.loc20_41.2 +// CHECK:STDOUT: %.loc20_51.2: type = converted %.loc20_51.1, constants.%tuple.type.33e [concrete = constants.%tuple.type.33e] +// CHECK:STDOUT: %.loc20_41.2: init %tuple.type.33e to %b.var = tuple_init (%Make.call.loc20_32, %Make.call.loc20_40) +// CHECK:STDOUT: %.loc20_3: init %tuple.type.33e = converted %.loc20_41.1, %.loc20_41.2 // CHECK:STDOUT: assign %b.var, %.loc20_3 -// CHECK:STDOUT: %.loc20_22.1: type = splice_block %.loc20_22.3 [concrete = constants.%tuple.type.36b] { +// CHECK:STDOUT: %.loc20_22.1: type = splice_block %.loc20_22.3 [concrete = constants.%tuple.type.33e] { // CHECK:STDOUT: %X.ref.loc20_18: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %X.ref.loc20_21: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %.loc20_22.2: %tuple.type.24b = tuple_literal (%X.ref.loc20_18, %X.ref.loc20_21) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc20_22.3: type = converted %.loc20_22.2, constants.%tuple.type.36b [concrete = constants.%tuple.type.36b] +// CHECK:STDOUT: %.loc20_22.3: type = converted %.loc20_22.2, constants.%tuple.type.33e [concrete = constants.%tuple.type.33e] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: ref %tuple.type.36b = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %b: ref %tuple.type.33e = ref_binding b, %b.var +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%b.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc20(%self.param: ref %tuple.type.36b) { +// CHECK:STDOUT: fn @Destroy.Op.loc20(%self.param: ref %tuple.type.33e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -304,20 +304,20 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: constants { // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %pattern_type.6d6: type = pattern_type %X [concrete] +// CHECK:STDOUT: %pattern_type.7b3: type = pattern_type %X [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %ptr.0fb: type = ptr_type %X [concrete] -// CHECK:STDOUT: %pattern_type.9f3: type = pattern_type %ptr.0fb [concrete] +// CHECK:STDOUT: %ptr.324: type = ptr_type %X [concrete] +// CHECK:STDOUT: %pattern_type.f44: type = pattern_type %ptr.324 [concrete] // CHECK:STDOUT: %Make.type: type = fn_type @Make [concrete] // CHECK:STDOUT: %Make: %Make.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc24_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc24_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Value(%n.param: %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %m.patt: %pattern_type.6d6 = value_binding_pattern m [concrete] +// CHECK:STDOUT: %m.patt: %pattern_type.7b3 = value_binding_pattern m [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %n.ref: %X = name_ref n, %n // CHECK:STDOUT: %X.ref.loc10_26: type = name_ref X, file.%X.decl [concrete = constants.%X] @@ -326,28 +326,28 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Reference(%p.param: %ptr.0fb) { +// CHECK:STDOUT: fn @Reference(%p.param: %ptr.324) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %q.patt: %pattern_type.9f3 = value_binding_pattern q [concrete] +// CHECK:STDOUT: %q.patt: %pattern_type.f44 = value_binding_pattern q [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %p.ref: %ptr.0fb = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.324 = name_ref p, %p // CHECK:STDOUT: %.loc16_24: ref %X = deref %p.ref // CHECK:STDOUT: %X.ref.loc16_30: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %addr: %ptr.0fb = addr_of %.loc16_24 -// CHECK:STDOUT: %.loc16_18: type = splice_block %ptr.loc16 [concrete = constants.%ptr.0fb] { +// CHECK:STDOUT: %addr: %ptr.324 = addr_of %.loc16_24 +// CHECK:STDOUT: %.loc16_18: type = splice_block %ptr.loc16 [concrete = constants.%ptr.324] { // CHECK:STDOUT: %X.ref.loc16_17: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %ptr.loc16: type = ptr_type %X.ref.loc16_17 [concrete = constants.%ptr.0fb] +// CHECK:STDOUT: %ptr.loc16: type = ptr_type %X.ref.loc16_17 [concrete = constants.%ptr.324] // CHECK:STDOUT: } -// CHECK:STDOUT: %q: %ptr.0fb = value_binding q, %addr +// CHECK:STDOUT: %q: %ptr.324 = value_binding q, %addr // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Initializing() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.6d6 = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.6d6 = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.7b3 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.7b3 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %X = var %x.var_patt // CHECK:STDOUT: %Make.ref: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] @@ -357,7 +357,7 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: assign %x.var, %Make.call // CHECK:STDOUT: %X.ref.loc24_17: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %x: ref %X = ref_binding x, %x.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -377,23 +377,23 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %empty_tuple.type} [concrete] // CHECK:STDOUT: %Y: type = class_type @Y [concrete] -// CHECK:STDOUT: %pattern_type.eb0: type = pattern_type %Y [concrete] +// CHECK:STDOUT: %pattern_type.d5e: type = pattern_type %Y [concrete] // CHECK:STDOUT: %struct.948: %struct_type.x = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: %X.val: %X = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %As.type.172: type = facet_type <@As, @As(%Y)> [concrete] -// CHECK:STDOUT: %As.impl_witness.8c9: = impl_witness @X.as.As.impl.%As.impl_witness_table [concrete] +// CHECK:STDOUT: %As.type.09c: type = facet_type <@As, @As(%Y)> [concrete] +// CHECK:STDOUT: %As.impl_witness.1df: = impl_witness @X.as.As.impl.%As.impl_witness_table [concrete] // CHECK:STDOUT: %X.as.As.impl.Convert.type: type = fn_type @X.as.As.impl.Convert [concrete] // CHECK:STDOUT: %X.as.As.impl.Convert: %X.as.As.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %As.facet.a1d: %As.type.172 = facet_value %X, (%As.impl_witness.8c9) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.03a: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%Y, %As.facet.a1d) [concrete] -// CHECK:STDOUT: %.782: type = fn_type_with_self_type %As.WithSelf.Convert.type.03a, %As.facet.a1d [concrete] +// CHECK:STDOUT: %As.facet.b65: %As.type.09c = facet_value %X, (%As.impl_witness.1df) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.776: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%Y, %As.facet.b65) [concrete] +// CHECK:STDOUT: %.8c9: type = fn_type_with_self_type %As.WithSelf.Convert.type.776, %As.facet.b65 [concrete] // CHECK:STDOUT: %X.as.As.impl.Convert.bound: = bound_method %X.val, %X.as.As.impl.Convert [concrete] -// CHECK:STDOUT: %.543: ref %X = temporary invalid, %X.val [concrete] +// CHECK:STDOUT: %.56f: ref %X = temporary invalid, %X.val [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.eb0 = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.d5e = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Y.ref: type = name_ref Y, %Y.decl [concrete = constants.%Y] // CHECK:STDOUT: %.loc19_29.1: ref %Y = temporary @__global_init.%.loc19_29.1, @__global_init.%.loc19_29.2 @@ -414,10 +414,10 @@ let n: {.x: ()} = {.x = ()} as {.x = ()}; // CHECK:STDOUT: %.loc19_21.6: init %X to %.loc19_21.2 = class_init (%.loc19_21.5) [concrete = constants.%X.val] // CHECK:STDOUT: %.loc19_23.1: init %X = converted %.loc19_21.1, %.loc19_21.6 [concrete = constants.%X.val] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y] -// CHECK:STDOUT: %impl.elem0: %.782 = impl_witness_access constants.%As.impl_witness.8c9, element0 [concrete = constants.%X.as.As.impl.Convert] +// CHECK:STDOUT: %impl.elem0: %.8c9 = impl_witness_access constants.%As.impl_witness.1df, element0 [concrete = constants.%X.as.As.impl.Convert] // CHECK:STDOUT: %bound_method: = bound_method %.loc19_23.1, %impl.elem0 [concrete = constants.%X.as.As.impl.Convert.bound] // CHECK:STDOUT: %.loc19_29.1: ref %Y = temporary_storage -// CHECK:STDOUT: %.loc19_23.2: ref %X = temporary %.loc19_21.2, %.loc19_23.1 [concrete = constants.%.543] +// CHECK:STDOUT: %.loc19_23.2: ref %X = temporary %.loc19_21.2, %.loc19_23.1 [concrete = constants.%.56f] // CHECK:STDOUT: %.loc19_23.3: %X = acquire_value %.loc19_23.2 [concrete = constants.%X.val] // CHECK:STDOUT: %X.as.As.impl.Convert.call: init %Y to %.loc19_29.1 = call %bound_method(%.loc19_23.3) // CHECK:STDOUT: %.loc19_29.2: init %Y = converted %.loc19_23.1, %X.as.As.impl.Convert.call diff --git a/toolchain/check/testdata/as/const.carbon b/toolchain/check/testdata/as/const.carbon index 90a224977b3a..8fbd5ea24c41 100644 --- a/toolchain/check/testdata/as/const.carbon +++ b/toolchain/check/testdata/as/const.carbon @@ -100,22 +100,22 @@ fn Use() { // CHECK:STDOUT: %Init.type: type = fn_type @Init [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Init: %Init.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.ba2: type = ptr_type %X [concrete] +// CHECK:STDOUT: %ptr.324: type = ptr_type %X [concrete] // CHECK:STDOUT: %const: type = const_type %X [concrete] -// CHECK:STDOUT: %pattern_type.e4b: type = pattern_type %const [concrete] -// CHECK:STDOUT: %ptr.586: type = ptr_type %const [concrete] -// CHECK:STDOUT: %pattern_type.b39: type = pattern_type %ptr.586 [concrete] +// CHECK:STDOUT: %pattern_type.393: type = pattern_type %const [concrete] +// CHECK:STDOUT: %ptr.2c7: type = ptr_type %const [concrete] +// CHECK:STDOUT: %pattern_type.f4d: type = pattern_type %ptr.2c7 [concrete] // CHECK:STDOUT: %reference.var: ref %const = var file.%reference.var_patt [concrete] -// CHECK:STDOUT: %addr.d35: %ptr.586 = addr_of %reference.var [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc14_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %addr.128: %ptr.2c7 = addr_of %reference.var [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc14_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Use() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %i.patt: %pattern_type.e4b = ref_binding_pattern i [concrete] -// CHECK:STDOUT: %i.var_patt: %pattern_type.e4b = var_pattern %i.patt [concrete] +// CHECK:STDOUT: %i.patt: %pattern_type.393 = ref_binding_pattern i [concrete] +// CHECK:STDOUT: %i.var_patt: %pattern_type.393 = var_pattern %i.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i.var: ref %const = var %i.var_patt // CHECK:STDOUT: %Init.ref: %Init.type = name_ref Init, file.%Init.decl [concrete = constants.%Init] @@ -132,7 +132,7 @@ fn Use() { // CHECK:STDOUT: } // CHECK:STDOUT: %i: ref %const = ref_binding i, %i.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.e4b = value_binding_pattern v [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.393 = value_binding_pattern v [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %value.ref: %X = name_ref value, file.%value // CHECK:STDOUT: %X.ref.loc15_42: type = name_ref X, file.%X.decl [concrete = constants.%X] @@ -145,36 +145,36 @@ fn Use() { // CHECK:STDOUT: } // CHECK:STDOUT: %v: %const = value_binding v, %.loc15_33.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.b39 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f4d = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %reference.ref: ref %X = name_ref reference, file.%reference [concrete = file.%reference.var] // CHECK:STDOUT: %X.ref.loc16_49: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %const.loc16_43: type = const_type %X.ref.loc16_49 [concrete = constants.%const] // CHECK:STDOUT: %.loc16_40.1: ref %const = as_compatible %reference.ref [concrete = constants.%reference.var] // CHECK:STDOUT: %.loc16_40.2: ref %const = converted %reference.ref, %.loc16_40.1 [concrete = constants.%reference.var] -// CHECK:STDOUT: %addr: %ptr.586 = addr_of %.loc16_40.2 [concrete = constants.%addr.d35] -// CHECK:STDOUT: %.loc16_24: type = splice_block %ptr.loc16 [concrete = constants.%ptr.586] { +// CHECK:STDOUT: %addr: %ptr.2c7 = addr_of %.loc16_40.2 [concrete = constants.%addr.128] +// CHECK:STDOUT: %.loc16_24: type = splice_block %ptr.loc16 [concrete = constants.%ptr.2c7] { // CHECK:STDOUT: %X.ref.loc16_23: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %const.loc16_17: type = const_type %X.ref.loc16_23 [concrete = constants.%const] -// CHECK:STDOUT: %ptr.loc16: type = ptr_type %const.loc16_17 [concrete = constants.%ptr.586] +// CHECK:STDOUT: %ptr.loc16: type = ptr_type %const.loc16_17 [concrete = constants.%ptr.2c7] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.586 = value_binding a, %addr +// CHECK:STDOUT: %a: %ptr.2c7 = value_binding a, %addr // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.b39 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f4d = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.ref: %ptr.ba2 = name_ref ptr, file.%ptr.loc9_8 +// CHECK:STDOUT: %ptr.ref: %ptr.324 = name_ref ptr, file.%ptr.loc9_8 // CHECK:STDOUT: %X.ref.loc17_41: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %const.loc17_35: type = const_type %X.ref.loc17_41 [concrete = constants.%const] -// CHECK:STDOUT: %ptr.loc17_42: type = ptr_type %const.loc17_35 [concrete = constants.%ptr.586] -// CHECK:STDOUT: %.loc17_32.1: %ptr.586 = as_compatible %ptr.ref -// CHECK:STDOUT: %.loc17_32.2: %ptr.586 = converted %ptr.ref, %.loc17_32.1 -// CHECK:STDOUT: %.loc17_24: type = splice_block %ptr.loc17_24 [concrete = constants.%ptr.586] { +// CHECK:STDOUT: %ptr.loc17_42: type = ptr_type %const.loc17_35 [concrete = constants.%ptr.2c7] +// CHECK:STDOUT: %.loc17_32.1: %ptr.2c7 = as_compatible %ptr.ref +// CHECK:STDOUT: %.loc17_32.2: %ptr.2c7 = converted %ptr.ref, %.loc17_32.1 +// CHECK:STDOUT: %.loc17_24: type = splice_block %ptr.loc17_24 [concrete = constants.%ptr.2c7] { // CHECK:STDOUT: %X.ref.loc17_23: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %const.loc17_17: type = const_type %X.ref.loc17_23 [concrete = constants.%const] -// CHECK:STDOUT: %ptr.loc17_24: type = ptr_type %const.loc17_17 [concrete = constants.%ptr.586] +// CHECK:STDOUT: %ptr.loc17_24: type = ptr_type %const.loc17_17 [concrete = constants.%ptr.2c7] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: %ptr.586 = value_binding b, %.loc17_32.2 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %b: %ptr.2c7 = value_binding b, %.loc17_32.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%i.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -205,16 +205,16 @@ fn Use() { // CHECK:STDOUT: %Init.type: type = fn_type @Init [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Init: %Init.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.8e5: type = pattern_type %X [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc12_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.7b3: type = pattern_type %X [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc12_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Use() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %i.patt: %pattern_type.8e5 = ref_binding_pattern i [concrete] -// CHECK:STDOUT: %i.var_patt: %pattern_type.8e5 = var_pattern %i.patt [concrete] +// CHECK:STDOUT: %i.patt: %pattern_type.7b3 = ref_binding_pattern i [concrete] +// CHECK:STDOUT: %i.var_patt: %pattern_type.7b3 = var_pattern %i.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i.var: ref %X = var %i.var_patt // CHECK:STDOUT: %Init.ref: %Init.type = name_ref Init, file.%Init.decl [concrete = constants.%Init] @@ -227,7 +227,7 @@ fn Use() { // CHECK:STDOUT: %X.ref.loc12_17: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %i: ref %X = ref_binding i, %i.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.8e5 = value_binding_pattern v [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.7b3 = value_binding_pattern v [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %value.ref: %const = name_ref value, file.%value // CHECK:STDOUT: %X.ref.loc13_30: type = name_ref X, file.%X.decl [concrete = constants.%X] @@ -235,7 +235,7 @@ fn Use() { // CHECK:STDOUT: %.loc13_27.2: %X = converted %value.ref, %.loc13_27.1 // CHECK:STDOUT: %X.ref.loc13_17: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %v: %X = value_binding v, %.loc13_27.2 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%i.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -257,41 +257,41 @@ fn Use() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %const: type = const_type %X [concrete] -// CHECK:STDOUT: %ptr.953: type = ptr_type %const [concrete] -// CHECK:STDOUT: %ptr.66c: type = ptr_type %X [concrete] -// CHECK:STDOUT: %pattern_type.168: type = pattern_type %ptr.66c [concrete] +// CHECK:STDOUT: %ptr.2c7: type = ptr_type %const [concrete] +// CHECK:STDOUT: %ptr.324: type = ptr_type %X [concrete] +// CHECK:STDOUT: %pattern_type.f44: type = pattern_type %ptr.324 [concrete] // CHECK:STDOUT: %reference.var: ref %X = var file.%reference.var_patt [concrete] -// CHECK:STDOUT: %addr.3dc: %ptr.66c = addr_of %reference.var [concrete] +// CHECK:STDOUT: %addr.728: %ptr.324 = addr_of %reference.var [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Use() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.168 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f44 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %reference.ref: ref %const = name_ref reference, file.%reference [concrete = file.%reference.var] // CHECK:STDOUT: %X.ref.loc11_44: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %.loc11_41.1: ref %X = as_compatible %reference.ref [concrete = constants.%reference.var] // CHECK:STDOUT: %.loc11_41.2: ref %X = converted %reference.ref, %.loc11_41.1 [concrete = constants.%reference.var] -// CHECK:STDOUT: %addr: %ptr.66c = addr_of %.loc11_41.2 [concrete = constants.%addr.3dc] -// CHECK:STDOUT: %.loc11_18: type = splice_block %ptr.loc11 [concrete = constants.%ptr.66c] { +// CHECK:STDOUT: %addr: %ptr.324 = addr_of %.loc11_41.2 [concrete = constants.%addr.728] +// CHECK:STDOUT: %.loc11_18: type = splice_block %ptr.loc11 [concrete = constants.%ptr.324] { // CHECK:STDOUT: %X.ref.loc11_17: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %ptr.loc11: type = ptr_type %X.ref.loc11_17 [concrete = constants.%ptr.66c] +// CHECK:STDOUT: %ptr.loc11: type = ptr_type %X.ref.loc11_17 [concrete = constants.%ptr.324] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.66c = value_binding a, %addr +// CHECK:STDOUT: %a: %ptr.324 = value_binding a, %addr // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.168 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f44 = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.ref: %ptr.953 = name_ref ptr, file.%ptr.loc7_8 +// CHECK:STDOUT: %ptr.ref: %ptr.2c7 = name_ref ptr, file.%ptr.loc7_8 // CHECK:STDOUT: %X.ref.loc12_36: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %ptr.loc12_37: type = ptr_type %X.ref.loc12_36 [concrete = constants.%ptr.66c] -// CHECK:STDOUT: %.loc12_33.1: %ptr.66c = as_compatible %ptr.ref -// CHECK:STDOUT: %.loc12_33.2: %ptr.66c = converted %ptr.ref, %.loc12_33.1 -// CHECK:STDOUT: %.loc12_18: type = splice_block %ptr.loc12_18 [concrete = constants.%ptr.66c] { +// CHECK:STDOUT: %ptr.loc12_37: type = ptr_type %X.ref.loc12_36 [concrete = constants.%ptr.324] +// CHECK:STDOUT: %.loc12_33.1: %ptr.324 = as_compatible %ptr.ref +// CHECK:STDOUT: %.loc12_33.2: %ptr.324 = converted %ptr.ref, %.loc12_33.1 +// CHECK:STDOUT: %.loc12_18: type = splice_block %ptr.loc12_18 [concrete = constants.%ptr.324] { // CHECK:STDOUT: %X.ref.loc12_17: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %ptr.loc12_18: type = ptr_type %X.ref.loc12_17 [concrete = constants.%ptr.66c] +// CHECK:STDOUT: %ptr.loc12_18: type = ptr_type %X.ref.loc12_17 [concrete = constants.%ptr.324] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: %ptr.66c = value_binding b, %.loc12_33.2 +// CHECK:STDOUT: %b: %ptr.324 = value_binding b, %.loc12_33.2 // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/as/maybe_unformed.carbon b/toolchain/check/testdata/as/maybe_unformed.carbon index 1be9a0a925e0..8d4debbcf389 100644 --- a/toolchain/check/testdata/as/maybe_unformed.carbon +++ b/toolchain/check/testdata/as/maybe_unformed.carbon @@ -138,14 +138,14 @@ fn Use() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] -// CHECK:STDOUT: %ptr.74f: type = ptr_type %X [concrete] +// CHECK:STDOUT: %ptr.324: type = ptr_type %X [concrete] // CHECK:STDOUT: %MaybeUnformed.type: type = generic_class_type @MaybeUnformed [concrete] // CHECK:STDOUT: %MaybeUnformed.generic: %MaybeUnformed.type = struct_value () [concrete] -// CHECK:STDOUT: %MaybeUnformed.703: type = class_type @MaybeUnformed, @MaybeUnformed(%X) [concrete] -// CHECK:STDOUT: %ptr.af1: type = ptr_type %MaybeUnformed.703 [concrete] -// CHECK:STDOUT: %pattern_type.242: type = pattern_type %ptr.af1 [concrete] -// CHECK:STDOUT: %reference.var: ref %MaybeUnformed.703 = var file.%reference.var_patt [concrete] -// CHECK:STDOUT: %addr.f00: %ptr.af1 = addr_of %reference.var [concrete] +// CHECK:STDOUT: %MaybeUnformed.146: type = class_type @MaybeUnformed, @MaybeUnformed(%X) [concrete] +// CHECK:STDOUT: %ptr.c5f: type = ptr_type %MaybeUnformed.146 [concrete] +// CHECK:STDOUT: %pattern_type.af3: type = pattern_type %ptr.c5f [concrete] +// CHECK:STDOUT: %reference.var: ref %MaybeUnformed.146 = var file.%reference.var_patt [concrete] +// CHECK:STDOUT: %addr.a76: %ptr.c5f = addr_of %reference.var [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -162,43 +162,43 @@ fn Use() { // CHECK:STDOUT: fn @Use() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.242 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.af3 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %reference.ref: ref %X = name_ref reference, file.%reference [concrete = file.%reference.var] // CHECK:STDOUT: %Core.ref.loc12_57: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %MaybeUnformed.ref.loc12_61: %MaybeUnformed.type = name_ref MaybeUnformed, imports.%Core.MaybeUnformed [concrete = constants.%MaybeUnformed.generic] // CHECK:STDOUT: %X.ref.loc12_76: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %MaybeUnformed.loc12_77: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.703] -// CHECK:STDOUT: %.loc12_54.1: ref %MaybeUnformed.703 = as_compatible %reference.ref [concrete = constants.%reference.var] -// CHECK:STDOUT: %.loc12_54.2: ref %MaybeUnformed.703 = converted %reference.ref, %.loc12_54.1 [concrete = constants.%reference.var] -// CHECK:STDOUT: %addr: %ptr.af1 = addr_of %.loc12_54.2 [concrete = constants.%addr.f00] -// CHECK:STDOUT: %.loc12_38: type = splice_block %ptr.loc12 [concrete = constants.%ptr.af1] { +// CHECK:STDOUT: %MaybeUnformed.loc12_77: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.146] +// CHECK:STDOUT: %.loc12_54.1: ref %MaybeUnformed.146 = as_compatible %reference.ref [concrete = constants.%reference.var] +// CHECK:STDOUT: %.loc12_54.2: ref %MaybeUnformed.146 = converted %reference.ref, %.loc12_54.1 [concrete = constants.%reference.var] +// CHECK:STDOUT: %addr: %ptr.c5f = addr_of %.loc12_54.2 [concrete = constants.%addr.a76] +// CHECK:STDOUT: %.loc12_38: type = splice_block %ptr.loc12 [concrete = constants.%ptr.c5f] { // CHECK:STDOUT: %Core.ref.loc12_17: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %MaybeUnformed.ref.loc12_21: %MaybeUnformed.type = name_ref MaybeUnformed, imports.%Core.MaybeUnformed [concrete = constants.%MaybeUnformed.generic] // CHECK:STDOUT: %X.ref.loc12_36: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %MaybeUnformed.loc12_37: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.703] -// CHECK:STDOUT: %ptr.loc12: type = ptr_type %MaybeUnformed.loc12_37 [concrete = constants.%ptr.af1] +// CHECK:STDOUT: %MaybeUnformed.loc12_37: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.146] +// CHECK:STDOUT: %ptr.loc12: type = ptr_type %MaybeUnformed.loc12_37 [concrete = constants.%ptr.c5f] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.af1 = value_binding a, %addr +// CHECK:STDOUT: %a: %ptr.c5f = value_binding a, %addr // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.242 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.af3 = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.ref: %ptr.74f = name_ref ptr, file.%ptr.loc7_8 +// CHECK:STDOUT: %ptr.ref: %ptr.324 = name_ref ptr, file.%ptr.loc7_8 // CHECK:STDOUT: %Core.ref.loc13_49: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %MaybeUnformed.ref.loc13_53: %MaybeUnformed.type = name_ref MaybeUnformed, imports.%Core.MaybeUnformed [concrete = constants.%MaybeUnformed.generic] // CHECK:STDOUT: %X.ref.loc13_68: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %MaybeUnformed.loc13_69: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.703] -// CHECK:STDOUT: %ptr.loc13_70: type = ptr_type %MaybeUnformed.loc13_69 [concrete = constants.%ptr.af1] -// CHECK:STDOUT: %.loc13_46.1: %ptr.af1 = as_compatible %ptr.ref -// CHECK:STDOUT: %.loc13_46.2: %ptr.af1 = converted %ptr.ref, %.loc13_46.1 -// CHECK:STDOUT: %.loc13_38: type = splice_block %ptr.loc13_38 [concrete = constants.%ptr.af1] { +// CHECK:STDOUT: %MaybeUnformed.loc13_69: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.146] +// CHECK:STDOUT: %ptr.loc13_70: type = ptr_type %MaybeUnformed.loc13_69 [concrete = constants.%ptr.c5f] +// CHECK:STDOUT: %.loc13_46.1: %ptr.c5f = as_compatible %ptr.ref +// CHECK:STDOUT: %.loc13_46.2: %ptr.c5f = converted %ptr.ref, %.loc13_46.1 +// CHECK:STDOUT: %.loc13_38: type = splice_block %ptr.loc13_38 [concrete = constants.%ptr.c5f] { // CHECK:STDOUT: %Core.ref.loc13_17: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %MaybeUnformed.ref.loc13_21: %MaybeUnformed.type = name_ref MaybeUnformed, imports.%Core.MaybeUnformed [concrete = constants.%MaybeUnformed.generic] // CHECK:STDOUT: %X.ref.loc13_36: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %MaybeUnformed.loc13_37: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.703] -// CHECK:STDOUT: %ptr.loc13_38: type = ptr_type %MaybeUnformed.loc13_37 [concrete = constants.%ptr.af1] +// CHECK:STDOUT: %MaybeUnformed.loc13_37: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.146] +// CHECK:STDOUT: %ptr.loc13_38: type = ptr_type %MaybeUnformed.loc13_37 [concrete = constants.%ptr.c5f] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: %ptr.af1 = value_binding b, %.loc13_46.2 +// CHECK:STDOUT: %b: %ptr.c5f = value_binding b, %.loc13_46.2 // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -217,13 +217,13 @@ fn Use() { // CHECK:STDOUT: %Init: %Init.type = struct_value () [concrete] // CHECK:STDOUT: %MaybeUnformed.type: type = generic_class_type @MaybeUnformed [concrete] // CHECK:STDOUT: %MaybeUnformed.generic: %MaybeUnformed.type = struct_value () [concrete] -// CHECK:STDOUT: %MaybeUnformed.e71: type = class_type @MaybeUnformed, @MaybeUnformed(%X) [concrete] -// CHECK:STDOUT: %pattern_type.199: type = pattern_type %MaybeUnformed.e71 [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] +// CHECK:STDOUT: %MaybeUnformed.146: type = class_type @MaybeUnformed, @MaybeUnformed(%X) [concrete] +// CHECK:STDOUT: %pattern_type.b54: type = pattern_type %MaybeUnformed.146 [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc19_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc19_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -235,50 +235,50 @@ fn Use() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.MaybeUnformed: %MaybeUnformed.type = import_ref Core//prelude/parts/maybe_unformed, MaybeUnformed, loaded [concrete = constants.%MaybeUnformed.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Use() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %i.patt: %pattern_type.199 = ref_binding_pattern i [concrete] -// CHECK:STDOUT: %i.var_patt: %pattern_type.199 = var_pattern %i.patt [concrete] +// CHECK:STDOUT: %i.patt: %pattern_type.b54 = ref_binding_pattern i [concrete] +// CHECK:STDOUT: %i.var_patt: %pattern_type.b54 = var_pattern %i.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %i.var: ref %MaybeUnformed.e71 = var %i.var_patt +// CHECK:STDOUT: %i.var: ref %MaybeUnformed.146 = var %i.var_patt // CHECK:STDOUT: %Init.ref: %Init.type = name_ref Init, file.%Init.decl [concrete = constants.%Init] // CHECK:STDOUT: %.loc19_46: ref %X = temporary_storage // CHECK:STDOUT: %Init.call: init %X to %.loc19_46 = call %Init.ref() // CHECK:STDOUT: %Core.ref.loc19_51: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %MaybeUnformed.ref.loc19_55: %MaybeUnformed.type = name_ref MaybeUnformed, imports.%Core.MaybeUnformed [concrete = constants.%MaybeUnformed.generic] // CHECK:STDOUT: %X.ref.loc19_70: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %MaybeUnformed.loc19_71: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.e71] -// CHECK:STDOUT: %.loc19_48: %MaybeUnformed.e71 = converted %Init.call, [concrete = ] +// CHECK:STDOUT: %MaybeUnformed.loc19_71: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.146] +// CHECK:STDOUT: %.loc19_48: %MaybeUnformed.146 = converted %Init.call, [concrete = ] // CHECK:STDOUT: assign %i.var, -// CHECK:STDOUT: %.loc19_37: type = splice_block %MaybeUnformed.loc19_37 [concrete = constants.%MaybeUnformed.e71] { +// CHECK:STDOUT: %.loc19_37: type = splice_block %MaybeUnformed.loc19_37 [concrete = constants.%MaybeUnformed.146] { // CHECK:STDOUT: %Core.ref.loc19_17: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %MaybeUnformed.ref.loc19_21: %MaybeUnformed.type = name_ref MaybeUnformed, imports.%Core.MaybeUnformed [concrete = constants.%MaybeUnformed.generic] // CHECK:STDOUT: %X.ref.loc19_36: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %MaybeUnformed.loc19_37: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.e71] +// CHECK:STDOUT: %MaybeUnformed.loc19_37: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.146] // CHECK:STDOUT: } -// CHECK:STDOUT: %i: ref %MaybeUnformed.e71 = ref_binding i, %i.var +// CHECK:STDOUT: %i: ref %MaybeUnformed.146 = ref_binding i, %i.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.199 = value_binding_pattern v [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.b54 = value_binding_pattern v [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %value.ref: %X = name_ref value, file.%value // CHECK:STDOUT: %Core.ref.loc27_50: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %MaybeUnformed.ref.loc27_54: %MaybeUnformed.type = name_ref MaybeUnformed, imports.%Core.MaybeUnformed [concrete = constants.%MaybeUnformed.generic] // CHECK:STDOUT: %X.ref.loc27_69: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %MaybeUnformed.loc27_70: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.e71] -// CHECK:STDOUT: %.loc27_47: %MaybeUnformed.e71 = converted %value.ref, [concrete = ] -// CHECK:STDOUT: %.loc27_37: type = splice_block %MaybeUnformed.loc27_37 [concrete = constants.%MaybeUnformed.e71] { +// CHECK:STDOUT: %MaybeUnformed.loc27_70: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.146] +// CHECK:STDOUT: %.loc27_47: %MaybeUnformed.146 = converted %value.ref, [concrete = ] +// CHECK:STDOUT: %.loc27_37: type = splice_block %MaybeUnformed.loc27_37 [concrete = constants.%MaybeUnformed.146] { // CHECK:STDOUT: %Core.ref.loc27_17: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %MaybeUnformed.ref.loc27_21: %MaybeUnformed.type = name_ref MaybeUnformed, imports.%Core.MaybeUnformed [concrete = constants.%MaybeUnformed.generic] // CHECK:STDOUT: %X.ref.loc27_36: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %MaybeUnformed.loc27_37: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.e71] +// CHECK:STDOUT: %MaybeUnformed.loc27_37: type = class_type @MaybeUnformed, @MaybeUnformed(constants.%X) [concrete = constants.%MaybeUnformed.146] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: %MaybeUnformed.e71 = value_binding v, [concrete = ] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %v: %MaybeUnformed.146 = value_binding v, [concrete = ] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%i.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -290,7 +290,7 @@ fn Use() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc19_3.3(%self.param: ref %MaybeUnformed.e71) { +// CHECK:STDOUT: fn @Destroy.Op.loc19_3.3(%self.param: ref %MaybeUnformed.146) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -304,52 +304,52 @@ fn Use() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %X: type = class_type @X [concrete] -// CHECK:STDOUT: %MaybeUnformed.bd8: type = class_type @MaybeUnformed, @MaybeUnformed(%X) [concrete] -// CHECK:STDOUT: %ptr.ea6: type = ptr_type %MaybeUnformed.bd8 [concrete] -// CHECK:STDOUT: %pattern_type.06e: type = pattern_type %X [concrete] -// CHECK:STDOUT: %ptr.ef7: type = ptr_type %X [concrete] -// CHECK:STDOUT: %pattern_type.b79: type = pattern_type %ptr.ef7 [concrete] +// CHECK:STDOUT: %MaybeUnformed.146: type = class_type @MaybeUnformed, @MaybeUnformed(%X) [concrete] +// CHECK:STDOUT: %ptr.c5f: type = ptr_type %MaybeUnformed.146 [concrete] +// CHECK:STDOUT: %pattern_type.7b3: type = pattern_type %X [concrete] +// CHECK:STDOUT: %ptr.324: type = ptr_type %X [concrete] +// CHECK:STDOUT: %pattern_type.f44: type = pattern_type %ptr.324 [concrete] // CHECK:STDOUT: %reference.var: ref %X = var file.%reference.var_patt [concrete] -// CHECK:STDOUT: %addr.51c: %ptr.ef7 = addr_of %reference.var [concrete] +// CHECK:STDOUT: %addr.61a: %ptr.324 = addr_of %reference.var [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Use() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.06e = value_binding_pattern v [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.7b3 = value_binding_pattern v [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %value.ref: %MaybeUnformed.bd8 = name_ref value, file.%value +// CHECK:STDOUT: %value.ref: %MaybeUnformed.146 = name_ref value, file.%value // CHECK:STDOUT: %X.ref.loc13_37: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %.loc13_34.1: %X = as_compatible %value.ref // CHECK:STDOUT: %.loc13_34.2: %X = converted %value.ref, %.loc13_34.1 // CHECK:STDOUT: %X.ref.loc13_17: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %v: %X = value_binding v, %.loc13_34.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.b79 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f44 = value_binding_pattern a [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %reference.ref: ref %MaybeUnformed.bd8 = name_ref reference, file.%reference [concrete = file.%reference.var] +// CHECK:STDOUT: %reference.ref: ref %MaybeUnformed.146 = name_ref reference, file.%reference [concrete = file.%reference.var] // CHECK:STDOUT: %X.ref.loc14_44: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %.loc14_41.1: ref %X = as_compatible %reference.ref [concrete = constants.%reference.var] // CHECK:STDOUT: %.loc14_41.2: ref %X = converted %reference.ref, %.loc14_41.1 [concrete = constants.%reference.var] -// CHECK:STDOUT: %addr: %ptr.ef7 = addr_of %.loc14_41.2 [concrete = constants.%addr.51c] -// CHECK:STDOUT: %.loc14_18: type = splice_block %ptr.loc14 [concrete = constants.%ptr.ef7] { +// CHECK:STDOUT: %addr: %ptr.324 = addr_of %.loc14_41.2 [concrete = constants.%addr.61a] +// CHECK:STDOUT: %.loc14_18: type = splice_block %ptr.loc14 [concrete = constants.%ptr.324] { // CHECK:STDOUT: %X.ref.loc14_17: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %ptr.loc14: type = ptr_type %X.ref.loc14_17 [concrete = constants.%ptr.ef7] +// CHECK:STDOUT: %ptr.loc14: type = ptr_type %X.ref.loc14_17 [concrete = constants.%ptr.324] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.ef7 = value_binding a, %addr +// CHECK:STDOUT: %a: %ptr.324 = value_binding a, %addr // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.b79 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f44 = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.ref: %ptr.ea6 = name_ref ptr, file.%ptr.loc9_8 +// CHECK:STDOUT: %ptr.ref: %ptr.c5f = name_ref ptr, file.%ptr.loc9_8 // CHECK:STDOUT: %X.ref.loc15_36: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %ptr.loc15_37: type = ptr_type %X.ref.loc15_36 [concrete = constants.%ptr.ef7] -// CHECK:STDOUT: %.loc15_33.1: %ptr.ef7 = as_compatible %ptr.ref -// CHECK:STDOUT: %.loc15_33.2: %ptr.ef7 = converted %ptr.ref, %.loc15_33.1 -// CHECK:STDOUT: %.loc15_18: type = splice_block %ptr.loc15_18 [concrete = constants.%ptr.ef7] { +// CHECK:STDOUT: %ptr.loc15_37: type = ptr_type %X.ref.loc15_36 [concrete = constants.%ptr.324] +// CHECK:STDOUT: %.loc15_33.1: %ptr.324 = as_compatible %ptr.ref +// CHECK:STDOUT: %.loc15_33.2: %ptr.324 = converted %ptr.ref, %.loc15_33.1 +// CHECK:STDOUT: %.loc15_18: type = splice_block %ptr.loc15_18 [concrete = constants.%ptr.324] { // CHECK:STDOUT: %X.ref.loc15_17: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %ptr.loc15_18: type = ptr_type %X.ref.loc15_17 [concrete = constants.%ptr.ef7] +// CHECK:STDOUT: %ptr.loc15_18: type = ptr_type %X.ref.loc15_17 [concrete = constants.%ptr.324] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: %ptr.ef7 = value_binding b, %.loc15_33.2 +// CHECK:STDOUT: %b: %ptr.324 = value_binding b, %.loc15_33.2 // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/as/partial.carbon b/toolchain/check/testdata/as/partial.carbon index f294761a1219..d6c03a60bac4 100644 --- a/toolchain/check/testdata/as/partial.carbon +++ b/toolchain/check/testdata/as/partial.carbon @@ -114,88 +114,88 @@ fn Use() { // CHECK:STDOUT: %Init.type: type = fn_type @Init [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Init: %Init.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.bfe: type = ptr_type %X [concrete] -// CHECK:STDOUT: %.01f: type = partial_type %X [concrete] -// CHECK:STDOUT: %pattern_type.a23: type = pattern_type %.01f [concrete] -// CHECK:STDOUT: %ptr.ce9: type = ptr_type %.01f [concrete] -// CHECK:STDOUT: %pattern_type.e5f: type = pattern_type %ptr.ce9 [concrete] -// CHECK:STDOUT: %reference.var: ref %.01f = var file.%reference.var_patt [concrete] -// CHECK:STDOUT: %addr.a8c: %ptr.ce9 = addr_of %reference.var [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc14_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %ptr.324: type = ptr_type %X [concrete] +// CHECK:STDOUT: %.879: type = partial_type %X [concrete] +// CHECK:STDOUT: %pattern_type.379: type = pattern_type %.879 [concrete] +// CHECK:STDOUT: %ptr.878: type = ptr_type %.879 [concrete] +// CHECK:STDOUT: %pattern_type.173: type = pattern_type %ptr.878 [concrete] +// CHECK:STDOUT: %reference.var: ref %.879 = var file.%reference.var_patt [concrete] +// CHECK:STDOUT: %addr.d16: %ptr.878 = addr_of %reference.var [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc14_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Use() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %i.patt: %pattern_type.a23 = ref_binding_pattern i [concrete] -// CHECK:STDOUT: %i.var_patt: %pattern_type.a23 = var_pattern %i.patt [concrete] +// CHECK:STDOUT: %i.patt: %pattern_type.379 = ref_binding_pattern i [concrete] +// CHECK:STDOUT: %i.var_patt: %pattern_type.379 = var_pattern %i.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %i.var: ref %.01f = var %i.var_patt +// CHECK:STDOUT: %i.var: ref %.879 = var %i.var_patt // CHECK:STDOUT: %Init.ref: %Init.type = name_ref Init, file.%Init.decl [concrete = constants.%Init] -// CHECK:STDOUT: %.loc14_3: ref %.01f = splice_block %i.var {} +// CHECK:STDOUT: %.loc14_3: ref %.879 = splice_block %i.var {} // CHECK:STDOUT: %Init.call: init %X to %.loc14_3 = call %Init.ref() // CHECK:STDOUT: %X.ref.loc14_47: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %.loc14_39: type = partial_type %X.ref.loc14_47 [concrete = constants.%.01f] -// CHECK:STDOUT: %.loc14_36.1: init %.01f = as_compatible %Init.call -// CHECK:STDOUT: %.loc14_36.2: init %.01f = converted %Init.call, %.loc14_36.1 +// CHECK:STDOUT: %.loc14_39: type = partial_type %X.ref.loc14_47 [concrete = constants.%.879] +// CHECK:STDOUT: %.loc14_36.1: init %.879 = as_compatible %Init.call +// CHECK:STDOUT: %.loc14_36.2: init %.879 = converted %Init.call, %.loc14_36.1 // CHECK:STDOUT: assign %i.var, %.loc14_36.2 -// CHECK:STDOUT: %.loc14_17.1: type = splice_block %.loc14_17.2 [concrete = constants.%.01f] { +// CHECK:STDOUT: %.loc14_17.1: type = splice_block %.loc14_17.2 [concrete = constants.%.879] { // CHECK:STDOUT: %X.ref.loc14_25: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %.loc14_17.2: type = partial_type %X.ref.loc14_25 [concrete = constants.%.01f] +// CHECK:STDOUT: %.loc14_17.2: type = partial_type %X.ref.loc14_25 [concrete = constants.%.879] // CHECK:STDOUT: } -// CHECK:STDOUT: %i: ref %.01f = ref_binding i, %i.var +// CHECK:STDOUT: %i: ref %.879 = ref_binding i, %i.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.a23 = value_binding_pattern v [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.379 = value_binding_pattern v [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %value.ref: %X = name_ref value, file.%value // CHECK:STDOUT: %X.ref.loc15_46: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %.loc15_38: type = partial_type %X.ref.loc15_46 [concrete = constants.%.01f] -// CHECK:STDOUT: %.loc15_35.1: %.01f = as_compatible %value.ref -// CHECK:STDOUT: %.loc15_35.2: %.01f = converted %value.ref, %.loc15_35.1 -// CHECK:STDOUT: %.loc15_17.1: type = splice_block %.loc15_17.2 [concrete = constants.%.01f] { +// CHECK:STDOUT: %.loc15_38: type = partial_type %X.ref.loc15_46 [concrete = constants.%.879] +// CHECK:STDOUT: %.loc15_35.1: %.879 = as_compatible %value.ref +// CHECK:STDOUT: %.loc15_35.2: %.879 = converted %value.ref, %.loc15_35.1 +// CHECK:STDOUT: %.loc15_17.1: type = splice_block %.loc15_17.2 [concrete = constants.%.879] { // CHECK:STDOUT: %X.ref.loc15_25: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %.loc15_17.2: type = partial_type %X.ref.loc15_25 [concrete = constants.%.01f] +// CHECK:STDOUT: %.loc15_17.2: type = partial_type %X.ref.loc15_25 [concrete = constants.%.879] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: %.01f = value_binding v, %.loc15_35.2 +// CHECK:STDOUT: %v: %.879 = value_binding v, %.loc15_35.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e5f = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.173 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %reference.ref: ref %X = name_ref reference, file.%reference [concrete = file.%reference.var] // CHECK:STDOUT: %X.ref.loc16_53: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %.loc16_45: type = partial_type %X.ref.loc16_53 [concrete = constants.%.01f] -// CHECK:STDOUT: %.loc16_42.1: ref %.01f = as_compatible %reference.ref [concrete = constants.%reference.var] -// CHECK:STDOUT: %.loc16_42.2: ref %.01f = converted %reference.ref, %.loc16_42.1 [concrete = constants.%reference.var] -// CHECK:STDOUT: %addr: %ptr.ce9 = addr_of %.loc16_42.2 [concrete = constants.%addr.a8c] -// CHECK:STDOUT: %.loc16_26: type = splice_block %ptr.loc16 [concrete = constants.%ptr.ce9] { +// CHECK:STDOUT: %.loc16_45: type = partial_type %X.ref.loc16_53 [concrete = constants.%.879] +// CHECK:STDOUT: %.loc16_42.1: ref %.879 = as_compatible %reference.ref [concrete = constants.%reference.var] +// CHECK:STDOUT: %.loc16_42.2: ref %.879 = converted %reference.ref, %.loc16_42.1 [concrete = constants.%reference.var] +// CHECK:STDOUT: %addr: %ptr.878 = addr_of %.loc16_42.2 [concrete = constants.%addr.d16] +// CHECK:STDOUT: %.loc16_26: type = splice_block %ptr.loc16 [concrete = constants.%ptr.878] { // CHECK:STDOUT: %X.ref.loc16_25: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %.loc16_17: type = partial_type %X.ref.loc16_25 [concrete = constants.%.01f] -// CHECK:STDOUT: %ptr.loc16: type = ptr_type %.loc16_17 [concrete = constants.%ptr.ce9] +// CHECK:STDOUT: %.loc16_17: type = partial_type %X.ref.loc16_25 [concrete = constants.%.879] +// CHECK:STDOUT: %ptr.loc16: type = ptr_type %.loc16_17 [concrete = constants.%ptr.878] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.ce9 = value_binding a, %addr +// CHECK:STDOUT: %a: %ptr.878 = value_binding a, %addr // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.e5f = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.173 = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.ref: %ptr.bfe = name_ref ptr, file.%ptr.loc9_8 +// CHECK:STDOUT: %ptr.ref: %ptr.324 = name_ref ptr, file.%ptr.loc9_8 // CHECK:STDOUT: %X.ref.loc17_45: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %.loc17_37: type = partial_type %X.ref.loc17_45 [concrete = constants.%.01f] -// CHECK:STDOUT: %ptr.loc17_46: type = ptr_type %.loc17_37 [concrete = constants.%ptr.ce9] -// CHECK:STDOUT: %.loc17_34.1: %ptr.ce9 = as_compatible %ptr.ref -// CHECK:STDOUT: %.loc17_34.2: %ptr.ce9 = converted %ptr.ref, %.loc17_34.1 -// CHECK:STDOUT: %.loc17_26: type = splice_block %ptr.loc17_26 [concrete = constants.%ptr.ce9] { +// CHECK:STDOUT: %.loc17_37: type = partial_type %X.ref.loc17_45 [concrete = constants.%.879] +// CHECK:STDOUT: %ptr.loc17_46: type = ptr_type %.loc17_37 [concrete = constants.%ptr.878] +// CHECK:STDOUT: %.loc17_34.1: %ptr.878 = as_compatible %ptr.ref +// CHECK:STDOUT: %.loc17_34.2: %ptr.878 = converted %ptr.ref, %.loc17_34.1 +// CHECK:STDOUT: %.loc17_26: type = splice_block %ptr.loc17_26 [concrete = constants.%ptr.878] { // CHECK:STDOUT: %X.ref.loc17_25: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %.loc17_17: type = partial_type %X.ref.loc17_25 [concrete = constants.%.01f] -// CHECK:STDOUT: %ptr.loc17_26: type = ptr_type %.loc17_17 [concrete = constants.%ptr.ce9] +// CHECK:STDOUT: %.loc17_17: type = partial_type %X.ref.loc17_25 [concrete = constants.%.879] +// CHECK:STDOUT: %ptr.loc17_26: type = ptr_type %.loc17_17 [concrete = constants.%ptr.878] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: %ptr.ce9 = value_binding b, %.loc17_34.2 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %b: %ptr.878 = value_binding b, %.loc17_34.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%i.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc14_3.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc14_3.2(%self.param: ref %.01f) { +// CHECK:STDOUT: fn @Destroy.Op.loc14_3.2(%self.param: ref %.879) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -210,38 +210,38 @@ fn Use() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %.44f: type = partial_type %X [concrete] +// CHECK:STDOUT: %.879: type = partial_type %X [concrete] // CHECK:STDOUT: %Init.type: type = fn_type @Init [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Init: %Init.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.9f3: type = pattern_type %X [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc12_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.7b3: type = pattern_type %X [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc12_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Use() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %i.patt: %pattern_type.9f3 = ref_binding_pattern i [concrete] -// CHECK:STDOUT: %i.var_patt: %pattern_type.9f3 = var_pattern %i.patt [concrete] +// CHECK:STDOUT: %i.patt: %pattern_type.7b3 = ref_binding_pattern i [concrete] +// CHECK:STDOUT: %i.var_patt: %pattern_type.7b3 = var_pattern %i.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i.var: ref %X = var %i.var_patt // CHECK:STDOUT: %Init.ref.loc10: %Init.type = name_ref Init, file.%Init.decl [concrete = constants.%Init] // CHECK:STDOUT: %.loc10_3.1: ref %X = splice_block %i.var {} -// CHECK:STDOUT: %Init.call.loc10: init %.44f to %.loc10_3.1 = call %Init.ref.loc10() +// CHECK:STDOUT: %Init.call.loc10: init %.879 to %.loc10_3.1 = call %Init.ref.loc10() // CHECK:STDOUT: %.loc10_3.2: init %X = as_compatible %Init.call.loc10 // CHECK:STDOUT: %.loc10_3.3: init %X = converted %Init.call.loc10, %.loc10_3.2 // CHECK:STDOUT: assign %i.var, %.loc10_3.3 // CHECK:STDOUT: %X.ref.loc10: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %i: ref %X = ref_binding i, %i.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %j.patt: %pattern_type.9f3 = ref_binding_pattern j [concrete] -// CHECK:STDOUT: %j.var_patt: %pattern_type.9f3 = var_pattern %j.patt [concrete] +// CHECK:STDOUT: %j.patt: %pattern_type.7b3 = ref_binding_pattern j [concrete] +// CHECK:STDOUT: %j.var_patt: %pattern_type.7b3 = var_pattern %j.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %j.var: ref %X = var %j.var_patt // CHECK:STDOUT: %Init.ref.loc11: %Init.type = name_ref Init, file.%Init.decl [concrete = constants.%Init] // CHECK:STDOUT: %.loc11_3: ref %X = splice_block %j.var {} -// CHECK:STDOUT: %Init.call.loc11: init %.44f to %.loc11_3 = call %Init.ref.loc11() +// CHECK:STDOUT: %Init.call.loc11: init %.879 to %.loc11_3 = call %Init.ref.loc11() // CHECK:STDOUT: %X.ref.loc11_31: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %.loc11_28.1: init %X = as_compatible %Init.call.loc11 // CHECK:STDOUT: %.loc11_28.2: init %X = converted %Init.call.loc11, %.loc11_28.1 @@ -249,24 +249,24 @@ fn Use() { // CHECK:STDOUT: %X.ref.loc11_17: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %j: ref %X = ref_binding j, %j.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %k.patt: %pattern_type.9f3 = ref_binding_pattern k [concrete] -// CHECK:STDOUT: %k.var_patt: %pattern_type.9f3 = var_pattern %k.patt [concrete] +// CHECK:STDOUT: %k.patt: %pattern_type.7b3 = ref_binding_pattern k [concrete] +// CHECK:STDOUT: %k.var_patt: %pattern_type.7b3 = var_pattern %k.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %k.var: ref %X = var %k.var_patt // CHECK:STDOUT: %Init.ref.loc12: %Init.type = name_ref Init, file.%Init.decl [concrete = constants.%Init] // CHECK:STDOUT: %.loc12_3: ref %X = splice_block %k.var {} -// CHECK:STDOUT: %Init.call.loc12: init %.44f to %.loc12_3 = call %Init.ref.loc12() +// CHECK:STDOUT: %Init.call.loc12: init %.879 to %.loc12_3 = call %Init.ref.loc12() // CHECK:STDOUT: %X.ref.loc12_38: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %.loc12_35.1: init %X = as_compatible %Init.call.loc12 // CHECK:STDOUT: %.loc12_35.2: init %X = converted %Init.call.loc12, %.loc12_35.1 // CHECK:STDOUT: assign %k.var, %.loc12_35.2 // CHECK:STDOUT: %X.ref.loc12_17: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %k: ref %X = ref_binding k, %k.var -// CHECK:STDOUT: %Destroy.Op.bound.loc12: = bound_method %k.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc12: = bound_method %k.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc12: init %empty_tuple.type = call %Destroy.Op.bound.loc12(%k.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %j.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %j.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc11: init %empty_tuple.type = call %Destroy.Op.bound.loc11(%j.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %i.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %i.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%i.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -282,52 +282,52 @@ fn Use() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %X: type = class_type @X [concrete] -// CHECK:STDOUT: %.465: type = partial_type %X [concrete] -// CHECK:STDOUT: %ptr.f9a: type = ptr_type %.465 [concrete] -// CHECK:STDOUT: %pattern_type.de1: type = pattern_type %X [concrete] -// CHECK:STDOUT: %ptr.dbd: type = ptr_type %X [concrete] -// CHECK:STDOUT: %pattern_type.de3: type = pattern_type %ptr.dbd [concrete] +// CHECK:STDOUT: %.879: type = partial_type %X [concrete] +// CHECK:STDOUT: %ptr.878: type = ptr_type %.879 [concrete] +// CHECK:STDOUT: %pattern_type.7b3: type = pattern_type %X [concrete] +// CHECK:STDOUT: %ptr.324: type = ptr_type %X [concrete] +// CHECK:STDOUT: %pattern_type.f44: type = pattern_type %ptr.324 [concrete] // CHECK:STDOUT: %reference.var: ref %X = var file.%reference.var_patt [concrete] -// CHECK:STDOUT: %addr.4b6: %ptr.dbd = addr_of %reference.var [concrete] +// CHECK:STDOUT: %addr.fa4: %ptr.324 = addr_of %reference.var [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Use() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.de1 = value_binding_pattern v [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.7b3 = value_binding_pattern v [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %value.ref: %.465 = name_ref value, file.%value +// CHECK:STDOUT: %value.ref: %.879 = name_ref value, file.%value // CHECK:STDOUT: %X.ref.loc14_37: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %.loc14_34.1: %X = as_compatible %value.ref // CHECK:STDOUT: %.loc14_34.2: %X = converted %value.ref, %.loc14_34.1 // CHECK:STDOUT: %X.ref.loc14_17: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %v: %X = value_binding v, %.loc14_34.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.de3 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f44 = value_binding_pattern a [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %reference.ref: ref %.465 = name_ref reference, file.%reference [concrete = file.%reference.var] +// CHECK:STDOUT: %reference.ref: ref %.879 = name_ref reference, file.%reference [concrete = file.%reference.var] // CHECK:STDOUT: %X.ref.loc15_44: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %.loc15_41.1: ref %X = as_compatible %reference.ref [concrete = constants.%reference.var] // CHECK:STDOUT: %.loc15_41.2: ref %X = converted %reference.ref, %.loc15_41.1 [concrete = constants.%reference.var] -// CHECK:STDOUT: %addr: %ptr.dbd = addr_of %.loc15_41.2 [concrete = constants.%addr.4b6] -// CHECK:STDOUT: %.loc15_18: type = splice_block %ptr.loc15 [concrete = constants.%ptr.dbd] { +// CHECK:STDOUT: %addr: %ptr.324 = addr_of %.loc15_41.2 [concrete = constants.%addr.fa4] +// CHECK:STDOUT: %.loc15_18: type = splice_block %ptr.loc15 [concrete = constants.%ptr.324] { // CHECK:STDOUT: %X.ref.loc15_17: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %ptr.loc15: type = ptr_type %X.ref.loc15_17 [concrete = constants.%ptr.dbd] +// CHECK:STDOUT: %ptr.loc15: type = ptr_type %X.ref.loc15_17 [concrete = constants.%ptr.324] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.dbd = value_binding a, %addr +// CHECK:STDOUT: %a: %ptr.324 = value_binding a, %addr // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.de3 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f44 = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.ref: %ptr.f9a = name_ref ptr, file.%ptr.loc10_8 +// CHECK:STDOUT: %ptr.ref: %ptr.878 = name_ref ptr, file.%ptr.loc10_8 // CHECK:STDOUT: %X.ref.loc16_36: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %ptr.loc16_37: type = ptr_type %X.ref.loc16_36 [concrete = constants.%ptr.dbd] -// CHECK:STDOUT: %.loc16_33.1: %ptr.dbd = as_compatible %ptr.ref -// CHECK:STDOUT: %.loc16_33.2: %ptr.dbd = converted %ptr.ref, %.loc16_33.1 -// CHECK:STDOUT: %.loc16_18: type = splice_block %ptr.loc16_18 [concrete = constants.%ptr.dbd] { +// CHECK:STDOUT: %ptr.loc16_37: type = ptr_type %X.ref.loc16_36 [concrete = constants.%ptr.324] +// CHECK:STDOUT: %.loc16_33.1: %ptr.324 = as_compatible %ptr.ref +// CHECK:STDOUT: %.loc16_33.2: %ptr.324 = converted %ptr.ref, %.loc16_33.1 +// CHECK:STDOUT: %.loc16_18: type = splice_block %ptr.loc16_18 [concrete = constants.%ptr.324] { // CHECK:STDOUT: %X.ref.loc16_17: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %ptr.loc16_18: type = ptr_type %X.ref.loc16_17 [concrete = constants.%ptr.dbd] +// CHECK:STDOUT: %ptr.loc16_18: type = ptr_type %X.ref.loc16_17 [concrete = constants.%ptr.324] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: %ptr.dbd = value_binding b, %.loc16_33.2 +// CHECK:STDOUT: %b: %ptr.324 = value_binding b, %.loc16_33.2 // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/as/var_init.carbon b/toolchain/check/testdata/as/var_init.carbon index e221b84e9573..c3bb3115e3e6 100644 --- a/toolchain/check/testdata/as/var_init.carbon +++ b/toolchain/check/testdata/as/var_init.carbon @@ -33,29 +33,29 @@ fn Convert(unused t: ()) { // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.b17: type = facet_type <@ImplicitAs, @ImplicitAs(%X)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.f56: type = facet_type <@ImplicitAs, @ImplicitAs(%X)> [concrete] // CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness @empty_tuple.type.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.e90: type = pattern_type %X [concrete] +// CHECK:STDOUT: %pattern_type.7b3: type = pattern_type %X [concrete] // CHECK:STDOUT: %empty_tuple.type.as.ImplicitAs.impl.Convert.type: type = fn_type @empty_tuple.type.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %empty_tuple.type.as.ImplicitAs.impl.Convert: %empty_tuple.type.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.b17 = facet_value %empty_tuple.type, (%ImplicitAs.impl_witness) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.84c: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%X, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.f56 = facet_value %empty_tuple.type, (%ImplicitAs.impl_witness) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.676: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%X, %ImplicitAs.facet) [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %.ded: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.84c, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %.d88: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.676, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %empty_tuple.type.as.ImplicitAs.impl.Convert.bound: = bound_method %empty_tuple, %empty_tuple.type.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc12_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc12_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Convert(%t.param: %empty_tuple.type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.e90 = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.e90 = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.7b3 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.7b3 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %X = var %x.var_patt // CHECK:STDOUT: %.loc12_22.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %impl.elem0: %.ded = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%empty_tuple.type.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0: %.d88 = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%empty_tuple.type.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method: = bound_method %.loc12_22.1, %impl.elem0 [concrete = constants.%empty_tuple.type.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %.loc12_3.1: ref %X = splice_block %x.var {} // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple] @@ -65,7 +65,7 @@ fn Convert(unused t: ()) { // CHECK:STDOUT: assign %x.var, %.loc12_3.2 // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %x: ref %X = ref_binding x, %x.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/basics/include_in_dumps.carbon b/toolchain/check/testdata/basics/include_in_dumps.carbon index 633d0e80391c..3f2df1e0d4ca 100644 --- a/toolchain/check/testdata/basics/include_in_dumps.carbon +++ b/toolchain/check/testdata/basics/include_in_dumps.carbon @@ -121,17 +121,17 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.d72: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %I.WithSelf.Op.type.535: type = fn_type @I.WithSelf.Op, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.Op.978: %I.WithSelf.Op.type.535 = struct_value () [symbolic] +// CHECK:STDOUT: %pattern_type.a3c: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %I.WithSelf.Op.type.e92: type = fn_type @I.WithSelf.Op, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.Op.653: %I.WithSelf.Op.type.e92 = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.Op.decl [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.da6: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.Op.type.8f5: type = fn_type @I.WithSelf.Op, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.Op.923: %I.WithSelf.Op.type.8f5 = struct_value () [concrete] +// CHECK:STDOUT: %I.WithSelf.Op.type.c64: type = fn_type @I.WithSelf.Op, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.Op.a13: %I.WithSelf.Op.type.c64 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -143,9 +143,9 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.Op.decl: @I.WithSelf.%I.WithSelf.Op.type (%I.WithSelf.Op.type.535) = fn_decl @I.WithSelf.Op [symbolic = @I.WithSelf.%I.WithSelf.Op (constants.%I.WithSelf.Op.978)] { -// CHECK:STDOUT: %self.param_patt: @I.WithSelf.Op.%pattern_type (%pattern_type.d72) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @I.WithSelf.Op.%pattern_type (%pattern_type.d72) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %I.WithSelf.Op.decl: @I.WithSelf.%I.WithSelf.Op.type (%I.WithSelf.Op.type.e92) = fn_decl @I.WithSelf.Op [symbolic = @I.WithSelf.%I.WithSelf.Op (constants.%I.WithSelf.Op.653)] { +// CHECK:STDOUT: %self.param_patt: @I.WithSelf.Op.%pattern_type (%pattern_type.a3c) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @I.WithSelf.Op.%pattern_type (%pattern_type.a3c) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @I.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc8_15.1: type = splice_block %.loc8_15.2 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type)] { @@ -168,7 +168,7 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: generic fn @I.WithSelf.Op(@I.%Self: %I.type) { // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc8_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc8_15.1 [symbolic = %pattern_type (constants.%pattern_type.d72)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc8_15.1 [symbolic = %pattern_type (constants.%pattern_type.a3c)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @I.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -176,27 +176,27 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.WithSelf.Op.type => constants.%I.WithSelf.Op.type.535 -// CHECK:STDOUT: %I.WithSelf.Op => constants.%I.WithSelf.Op.978 +// CHECK:STDOUT: %I.WithSelf.Op.type => constants.%I.WithSelf.Op.type.e92 +// CHECK:STDOUT: %I.WithSelf.Op => constants.%I.WithSelf.Op.653 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.Op(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc8_15.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d72 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a3c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.Op.type => constants.%I.WithSelf.Op.type.8f5 -// CHECK:STDOUT: %I.WithSelf.Op => constants.%I.WithSelf.Op.923 +// CHECK:STDOUT: %I.WithSelf.Op.type => constants.%I.WithSelf.Op.type.c64 +// CHECK:STDOUT: %I.WithSelf.Op => constants.%I.WithSelf.Op.a13 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.Op(constants.%I.facet) { // CHECK:STDOUT: %Self => constants.%I.facet // CHECK:STDOUT: %Self.as_type.loc8_15.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.da6 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_included.carbon @@ -205,23 +205,23 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.6cb: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.Op.type.47c: type = fn_type @I.WithSelf.Op, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.Op.0b4: %I.WithSelf.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.Op.type.674: type = fn_type @I.WithSelf.Op, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.Op.b4d: %I.WithSelf.Op.type.674 = struct_value () [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.45a: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.3df: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.e14 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.66b [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.Op.type.b9c: type = fn_type @I.WithSelf.Op, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.Op.dfa: %I.WithSelf.Op.type.b9c = struct_value () [concrete] -// CHECK:STDOUT: %.32e: type = fn_type_with_self_type %I.WithSelf.Op.type.b9c, %I.facet [concrete] +// CHECK:STDOUT: %I.WithSelf.Op.type.91c: type = fn_type @I.WithSelf.Op, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.Op.323: %I.WithSelf.Op.type.91c = struct_value () [concrete] +// CHECK:STDOUT: %.e08: type = fn_type_with_self_type %I.WithSelf.Op.type.91c, %I.facet [concrete] // CHECK:STDOUT: %C.as.I.impl.Op.type: type = fn_type @C.as.I.impl.Op [concrete] // CHECK:STDOUT: %C.as.I.impl.Op: %C.as.I.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -234,17 +234,17 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//included_with_range, loc16_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.cb7 = import_ref Main//included_with_range, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.e95: %I.assoc_type = import_ref Main//included_with_range, loc8_22, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//included_with_range, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.3a7: %I.assoc_type = import_ref Main//included_with_range, loc8_22, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.Op = import_ref Main//included_with_range, Op, unloaded -// CHECK:STDOUT: %Main.import_ref.da386d.2: %I.type = import_ref Main//included_with_range, loc7_13, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %Main.import_ref.d94 = import_ref Main//included_with_range, loc7_13, unloaded -// CHECK:STDOUT: %Main.import_ref.e14: @I.WithSelf.%I.WithSelf.Op.type (%I.WithSelf.Op.type.47c) = import_ref Main//included_with_range, loc8_22, loaded [symbolic = @I.WithSelf.%I.WithSelf.Op (constants.%I.WithSelf.Op.0b4)] -// CHECK:STDOUT: %Main.import_ref.4b7: = import_ref Main//included_with_range, loc13_15, loaded [concrete = constants.%I.impl_witness] -// CHECK:STDOUT: %Main.import_ref.b9c: type = import_ref Main//included_with_range, loc13_8, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.4ec: type = import_ref Main//included_with_range, loc13_13, loaded [concrete = constants.%I.type] -// CHECK:STDOUT: %Main.import_ref.52a: %C.as.I.impl.Op.type = import_ref Main//included_with_range, loc14_32, loaded [concrete = constants.%C.as.I.impl.Op] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.52a), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.c42703.2: %I.type = import_ref Main//included_with_range, loc7_13, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//included_with_range, loc7_13, unloaded +// CHECK:STDOUT: %Main.import_ref.66b: @I.WithSelf.%I.WithSelf.Op.type (%I.WithSelf.Op.type.674) = import_ref Main//included_with_range, loc8_22, loaded [symbolic = @I.WithSelf.%I.WithSelf.Op (constants.%I.WithSelf.Op.b4d)] +// CHECK:STDOUT: %Main.import_ref.5d3: = import_ref Main//included_with_range, loc13_15, loaded [concrete = constants.%I.impl_witness] +// CHECK:STDOUT: %Main.import_ref.f5a: type = import_ref Main//included_with_range, loc13_8, loaded [concrete = constants.%C] +// CHECK:STDOUT: %Main.import_ref.98c: type = import_ref Main//included_with_range, loc13_13, loaded [concrete = constants.%I.type] +// CHECK:STDOUT: %Main.import_ref.4f1: %C.as.I.impl.Op.type = import_ref Main//included_with_range, loc14_32, loaded [concrete = constants.%C.as.I.impl.Op] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.4f1), @C.as.I.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -257,8 +257,8 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.6cb = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.6cb = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %c.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] @@ -268,40 +268,40 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "exclude/included_with_range.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.d94 -// CHECK:STDOUT: .Op = imports.%Main.import_ref.e95 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .Op = imports.%Main.import_ref.3a7 // CHECK:STDOUT: witness = (imports.%Main.Op) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.I.impl: imports.%Main.import_ref.b9c as imports.%Main.import_ref.4ec [from "exclude/included_with_range.carbon"] { +// CHECK:STDOUT: impl @C.as.I.impl: imports.%Main.import_ref.f5a as imports.%Main.import_ref.98c [from "exclude/included_with_range.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.4b7 +// CHECK:STDOUT: witness = imports.%Main.import_ref.5d3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "exclude/included_with_range.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.cb7 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%c.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] -// CHECK:STDOUT: %Op.ref: %I.assoc_type = name_ref Op, imports.%Main.import_ref.e95 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.32e = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.Op] +// CHECK:STDOUT: %Op.ref: %I.assoc_type = name_ref Op, imports.%Main.import_ref.3a7 [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0: %.e08 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.I.impl.Op.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.Op(imports.%Main.import_ref.da386d.2: %I.type) [from "exclude/included_with_range.carbon"] { +// CHECK:STDOUT: generic fn @I.WithSelf.Op(imports.%Main.import_ref.c42703.2: %I.type) [from "exclude/included_with_range.carbon"] { // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.45a)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.3df)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -311,41 +311,41 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.WithSelf.Op.type => constants.%I.WithSelf.Op.type.47c -// CHECK:STDOUT: %I.WithSelf.Op => constants.%I.WithSelf.Op.0b4 +// CHECK:STDOUT: %I.WithSelf.Op.type => constants.%I.WithSelf.Op.type.674 +// CHECK:STDOUT: %I.WithSelf.Op => constants.%I.WithSelf.Op.b4d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.Op(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.45a +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3df // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.Op.type => constants.%I.WithSelf.Op.type.b9c -// CHECK:STDOUT: %I.WithSelf.Op => constants.%I.WithSelf.Op.dfa +// CHECK:STDOUT: %I.WithSelf.Op.type => constants.%I.WithSelf.Op.type.91c +// CHECK:STDOUT: %I.WithSelf.Op => constants.%I.WithSelf.Op.323 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_excluded.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %pattern_type.8e1: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.Op.type.360: type = fn_type @I.WithSelf.Op, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.Op.e20: %I.WithSelf.Op.type.360 = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.Op.type.674: type = fn_type @I.WithSelf.Op, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.Op.b4d: %I.WithSelf.Op.type.674 = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.c83 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.66b [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.Op.type.c82: type = fn_type @I.WithSelf.Op, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %.8b6: type = fn_type_with_self_type %I.WithSelf.Op.type.c82, %I.facet [concrete] +// CHECK:STDOUT: %I.WithSelf.Op.type.91c: type = fn_type @I.WithSelf.Op, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %.e08: type = fn_type_with_self_type %I.WithSelf.Op.type.91c, %I.facet [concrete] // CHECK:STDOUT: %C.as.I.impl.Op.type: type = fn_type @C.as.I.impl.Op [concrete] // CHECK:STDOUT: %C.as.I.impl.Op: %C.as.I.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -357,10 +357,10 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.bfd: %I.assoc_type = import_ref Main//excluded_with_range, loc6_22, loaded [concrete = constants.%assoc0] -// CHECK:STDOUT: %Main.import_ref.c83: @I.WithSelf.%I.WithSelf.Op.type (%I.WithSelf.Op.type.360) = import_ref Main//excluded_with_range, loc6_22, loaded [symbolic = @I.WithSelf.%I.WithSelf.Op (constants.%I.WithSelf.Op.e20)] -// CHECK:STDOUT: %Main.import_ref.4cc: %C.as.I.impl.Op.type = import_ref Main//excluded_with_range, loc12_32, loaded [concrete = constants.%C.as.I.impl.Op] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.4cc), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.3a7: %I.assoc_type = import_ref Main//excluded_with_range, loc6_22, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.66b: @I.WithSelf.%I.WithSelf.Op.type (%I.WithSelf.Op.type.674) = import_ref Main//excluded_with_range, loc6_22, loaded [symbolic = @I.WithSelf.%I.WithSelf.Op (constants.%I.WithSelf.Op.b4d)] +// CHECK:STDOUT: %Main.import_ref.4f1: %C.as.I.impl.Op.type = import_ref Main//excluded_with_range, loc12_32, loaded [concrete = constants.%C.as.I.impl.Op] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.4f1), @C.as.I.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -373,8 +373,8 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.8e1 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.8e1 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %c.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] @@ -386,8 +386,8 @@ fn F(c: C) { c.(I.Op)(); } // CHECK:STDOUT: !entry: // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] -// CHECK:STDOUT: %Op.ref: %I.assoc_type = name_ref Op, imports.%Main.import_ref.bfd [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.8b6 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.Op] +// CHECK:STDOUT: %Op.ref: %I.assoc_type = name_ref Op, imports.%Main.import_ref.3a7 [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0: %.e08 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.I.impl.Op.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: return diff --git a/toolchain/check/testdata/basics/parens.carbon b/toolchain/check/testdata/basics/parens.carbon index 4494e63b93a1..342f43beb27f 100644 --- a/toolchain/check/testdata/basics/parens.carbon +++ b/toolchain/check/testdata/basics/parens.carbon @@ -21,28 +21,28 @@ var b: i32 = ((2)); // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -53,9 +53,9 @@ var b: i32 = ((2)); // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -66,15 +66,15 @@ var b: i32 = ((2)); // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt [concrete] // CHECK:STDOUT: %i32.loc14: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: ref %i32 = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -84,20 +84,20 @@ var b: i32 = ((2)); // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc14: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc14_1.1: = bound_method %int_1, %impl.elem0.loc14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc14: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc14_1.1: = bound_method %int_1, %impl.elem0.loc14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc14_1.2: = bound_method %int_1, %specific_fn.loc14 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14: init %i32 = call %bound_method.loc14_1.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc14: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc14_1.2: = bound_method %int_1, %specific_fn.loc14 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14: init %i32 = call %bound_method.loc14_1.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc14: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign file.%a.var, %.loc14 // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc15: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_1.1: = bound_method %int_2, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0.loc15: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_1.1: = bound_method %int_2, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_1.2: = bound_method %int_2, %specific_fn.loc15 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %i32 = call %bound_method.loc15_1.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc15: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc15_1.2: = bound_method %int_2, %specific_fn.loc15 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %i32 = call %bound_method.loc15_1.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc15: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_2.228] // CHECK:STDOUT: assign file.%b.var, %.loc15 // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/builtins/bool/eq.carbon b/toolchain/check/testdata/builtins/bool/eq.carbon index 44c81b9db4d1..8a8d652cb0c7 100644 --- a/toolchain/check/testdata/builtins/bool/eq.carbon +++ b/toolchain/check/testdata/builtins/bool/eq.carbon @@ -52,19 +52,19 @@ var d: C(false == false) = True(); // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] -// CHECK:STDOUT: %C.700: type = class_type @C, @C(%true) [concrete] -// CHECK:STDOUT: %pattern_type.028: type = pattern_type %C.700 [concrete] +// CHECK:STDOUT: %C.4d4: type = class_type @C, @C(%true) [concrete] +// CHECK:STDOUT: %pattern_type.1d4: type = pattern_type %C.4d4 [concrete] // CHECK:STDOUT: %True.type: type = fn_type @True [concrete] // CHECK:STDOUT: %True: %True.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.028 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.028 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.1d4 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.1d4 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %C.700 = var %a.var_patt [concrete] -// CHECK:STDOUT: %.loc12_24.1: type = splice_block %C.loc12 [concrete = constants.%C.700] { +// CHECK:STDOUT: %a.var: ref %C.4d4 = var %a.var_patt [concrete] +// CHECK:STDOUT: %.loc12_24.1: type = splice_block %C.loc12 [concrete = constants.%C.4d4] { // CHECK:STDOUT: %C.ref.loc12: %C.type = name_ref C, %C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %Eq.ref.loc12: %Eq.type = name_ref Eq, %Eq.decl [concrete = constants.%Eq] // CHECK:STDOUT: %true.loc12_13: bool = bool_literal true [concrete = constants.%true] @@ -72,16 +72,16 @@ var d: C(false == false) = True(); // CHECK:STDOUT: %Eq.call.loc12: init bool = call %Eq.ref.loc12(%true.loc12_13, %true.loc12_19) [concrete = constants.%true] // CHECK:STDOUT: %.loc12_24.2: bool = value_of_initializer %Eq.call.loc12 [concrete = constants.%true] // CHECK:STDOUT: %.loc12_24.3: bool = converted %Eq.call.loc12, %.loc12_24.2 [concrete = constants.%true] -// CHECK:STDOUT: %C.loc12: type = class_type @C, @C(constants.%true) [concrete = constants.%C.700] +// CHECK:STDOUT: %C.loc12: type = class_type @C, @C(constants.%true) [concrete = constants.%C.4d4] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %C.700 = ref_binding a, %a.var [concrete = %a.var] +// CHECK:STDOUT: %a: ref %C.4d4 = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %True.ref.loc12: %True.type = name_ref True, file.%True.decl [concrete = constants.%True] -// CHECK:STDOUT: %.loc12: ref %C.700 = splice_block file.%a.var [concrete = file.%a.var] {} -// CHECK:STDOUT: %True.call.loc12: init %C.700 to %.loc12 = call %True.ref.loc12() +// CHECK:STDOUT: %.loc12: ref %C.4d4 = splice_block file.%a.var [concrete = file.%a.var] {} +// CHECK:STDOUT: %True.call.loc12: init %C.4d4 to %.loc12 = call %True.ref.loc12() // CHECK:STDOUT: assign file.%a.var, %True.call.loc12 // CHECK:STDOUT: // CHECK:STDOUT: } @@ -92,51 +92,51 @@ var d: C(false == false) = True(); // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] -// CHECK:STDOUT: %C.4f6: type = class_type @C, @C(%true) [concrete] -// CHECK:STDOUT: %pattern_type.619: type = pattern_type %C.4f6 [concrete] +// CHECK:STDOUT: %C.4d4: type = class_type @C, @C(%true) [concrete] +// CHECK:STDOUT: %pattern_type.1d4: type = pattern_type %C.4d4 [concrete] // CHECK:STDOUT: %True.type: type = fn_type @True [concrete] // CHECK:STDOUT: %True: %True.type = struct_value () [concrete] -// CHECK:STDOUT: %EqWith.type.2e2: type = facet_type <@EqWith, @EqWith(bool)> [concrete] +// CHECK:STDOUT: %EqWith.type.037: type = facet_type <@EqWith, @EqWith(bool)> [concrete] // CHECK:STDOUT: %EqWith.impl_witness: = impl_witness imports.%EqWith.impl_witness_table [concrete] -// CHECK:STDOUT: %EqWith.facet: %EqWith.type.2e2 = facet_value bool, (%EqWith.impl_witness) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.14a: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(bool, %EqWith.facet) [concrete] -// CHECK:STDOUT: %.502: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.14a, %EqWith.facet [concrete] +// CHECK:STDOUT: %EqWith.facet: %EqWith.type.037 = facet_value bool, (%EqWith.impl_witness) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.b58: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(bool, %EqWith.facet) [concrete] +// CHECK:STDOUT: %.214: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.b58, %EqWith.facet [concrete] // CHECK:STDOUT: %bool.as.EqWith.impl.Equal.type: type = fn_type @bool.as.EqWith.impl.Equal [concrete] // CHECK:STDOUT: %bool.as.EqWith.impl.Equal: %bool.as.EqWith.impl.Equal.type = struct_value () [concrete] // CHECK:STDOUT: %bool.as.EqWith.impl.Equal.bound.e7c: = bound_method %true, %bool.as.EqWith.impl.Equal [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.513: %bool.as.EqWith.impl.Equal.type = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.EqWith.impl.Equal] -// CHECK:STDOUT: %Core.import_ref.c66 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %EqWith.impl_witness_table = impl_witness_table (%Core.import_ref.513, %Core.import_ref.c66), @bool.as.EqWith.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b5b: %bool.as.EqWith.impl.Equal.type = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.EqWith.impl.Equal] +// CHECK:STDOUT: %Core.import_ref.7a2 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %EqWith.impl_witness_table = impl_witness_table (%Core.import_ref.b5b, %Core.import_ref.7a2), @bool.as.EqWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.619 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.619 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.1d4 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.1d4 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %C.4f6 = var %a.var_patt [concrete] -// CHECK:STDOUT: %.loc10_22.1: type = splice_block %C.loc10 [concrete = constants.%C.4f6] { +// CHECK:STDOUT: %a.var: ref %C.4d4 = var %a.var_patt [concrete] +// CHECK:STDOUT: %.loc10_22.1: type = splice_block %C.loc10 [concrete = constants.%C.4d4] { // CHECK:STDOUT: %C.ref.loc10: %C.type = name_ref C, %C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %true.loc10_10: bool = bool_literal true [concrete = constants.%true] // CHECK:STDOUT: %true.loc10_18: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0.loc10: %.502 = impl_witness_access constants.%EqWith.impl_witness, element0 [concrete = constants.%bool.as.EqWith.impl.Equal] +// CHECK:STDOUT: %impl.elem0.loc10: %.214 = impl_witness_access constants.%EqWith.impl_witness, element0 [concrete = constants.%bool.as.EqWith.impl.Equal] // CHECK:STDOUT: %bound_method.loc10: = bound_method %true.loc10_10, %impl.elem0.loc10 [concrete = constants.%bool.as.EqWith.impl.Equal.bound.e7c] // CHECK:STDOUT: %bool.as.EqWith.impl.Equal.call.loc10: init bool = call %bound_method.loc10(%true.loc10_10, %true.loc10_18) [concrete = constants.%true] // CHECK:STDOUT: %.loc10_22.2: bool = value_of_initializer %bool.as.EqWith.impl.Equal.call.loc10 [concrete = constants.%true] // CHECK:STDOUT: %.loc10_22.3: bool = converted %bool.as.EqWith.impl.Equal.call.loc10, %.loc10_22.2 [concrete = constants.%true] -// CHECK:STDOUT: %C.loc10: type = class_type @C, @C(constants.%true) [concrete = constants.%C.4f6] +// CHECK:STDOUT: %C.loc10: type = class_type @C, @C(constants.%true) [concrete = constants.%C.4d4] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %C.4f6 = ref_binding a, %a.var [concrete = %a.var] +// CHECK:STDOUT: %a: ref %C.4d4 = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %True.ref.loc10: %True.type = name_ref True, file.%True.decl [concrete = constants.%True] -// CHECK:STDOUT: %.loc10: ref %C.4f6 = splice_block file.%a.var [concrete = file.%a.var] {} -// CHECK:STDOUT: %True.call.loc10: init %C.4f6 to %.loc10 = call %True.ref.loc10() +// CHECK:STDOUT: %.loc10: ref %C.4d4 = splice_block file.%a.var [concrete = file.%a.var] {} +// CHECK:STDOUT: %True.call.loc10: init %C.4d4 to %.loc10 = call %True.ref.loc10() // CHECK:STDOUT: assign file.%a.var, %True.call.loc10 // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/builtins/bool/neq.carbon b/toolchain/check/testdata/builtins/bool/neq.carbon index 348c880a4ac5..4da1d3791b72 100644 --- a/toolchain/check/testdata/builtins/bool/neq.carbon +++ b/toolchain/check/testdata/builtins/bool/neq.carbon @@ -53,19 +53,19 @@ var d: C(false != false) = False(); // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %false: bool = bool_literal false [concrete] -// CHECK:STDOUT: %C.8b6: type = class_type @C, @C(%false) [concrete] -// CHECK:STDOUT: %pattern_type.cd3: type = pattern_type %C.8b6 [concrete] +// CHECK:STDOUT: %C.2a3: type = class_type @C, @C(%false) [concrete] +// CHECK:STDOUT: %pattern_type.81f: type = pattern_type %C.2a3 [concrete] // CHECK:STDOUT: %False.type: type = fn_type @False [concrete] // CHECK:STDOUT: %False: %False.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.cd3 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.cd3 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.81f = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.81f = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %C.8b6 = var %a.var_patt [concrete] -// CHECK:STDOUT: %.loc12_25.1: type = splice_block %C.loc12 [concrete = constants.%C.8b6] { +// CHECK:STDOUT: %a.var: ref %C.2a3 = var %a.var_patt [concrete] +// CHECK:STDOUT: %.loc12_25.1: type = splice_block %C.loc12 [concrete = constants.%C.2a3] { // CHECK:STDOUT: %C.ref.loc12: %C.type = name_ref C, %C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %Neq.ref.loc12: %Neq.type = name_ref Neq, %Neq.decl [concrete = constants.%Neq] // CHECK:STDOUT: %true.loc12_14: bool = bool_literal true [concrete = constants.%true] @@ -73,16 +73,16 @@ var d: C(false != false) = False(); // CHECK:STDOUT: %Neq.call.loc12: init bool = call %Neq.ref.loc12(%true.loc12_14, %true.loc12_20) [concrete = constants.%false] // CHECK:STDOUT: %.loc12_25.2: bool = value_of_initializer %Neq.call.loc12 [concrete = constants.%false] // CHECK:STDOUT: %.loc12_25.3: bool = converted %Neq.call.loc12, %.loc12_25.2 [concrete = constants.%false] -// CHECK:STDOUT: %C.loc12: type = class_type @C, @C(constants.%false) [concrete = constants.%C.8b6] +// CHECK:STDOUT: %C.loc12: type = class_type @C, @C(constants.%false) [concrete = constants.%C.2a3] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %C.8b6 = ref_binding a, %a.var [concrete = %a.var] +// CHECK:STDOUT: %a: ref %C.2a3 = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %False.ref.loc12: %False.type = name_ref False, file.%False.decl [concrete = constants.%False] -// CHECK:STDOUT: %.loc12: ref %C.8b6 = splice_block file.%a.var [concrete = file.%a.var] {} -// CHECK:STDOUT: %False.call.loc12: init %C.8b6 to %.loc12 = call %False.ref.loc12() +// CHECK:STDOUT: %.loc12: ref %C.2a3 = splice_block file.%a.var [concrete = file.%a.var] {} +// CHECK:STDOUT: %False.call.loc12: init %C.2a3 to %.loc12 = call %False.ref.loc12() // CHECK:STDOUT: assign file.%a.var, %False.call.loc12 // CHECK:STDOUT: // CHECK:STDOUT: } @@ -94,51 +94,51 @@ var d: C(false != false) = False(); // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %false: bool = bool_literal false [concrete] -// CHECK:STDOUT: %C.4e2: type = class_type @C, @C(%false) [concrete] -// CHECK:STDOUT: %pattern_type.bf5: type = pattern_type %C.4e2 [concrete] +// CHECK:STDOUT: %C.2a3: type = class_type @C, @C(%false) [concrete] +// CHECK:STDOUT: %pattern_type.81f: type = pattern_type %C.2a3 [concrete] // CHECK:STDOUT: %False.type: type = fn_type @False [concrete] // CHECK:STDOUT: %False: %False.type = struct_value () [concrete] -// CHECK:STDOUT: %EqWith.type.2e2: type = facet_type <@EqWith, @EqWith(bool)> [concrete] +// CHECK:STDOUT: %EqWith.type.037: type = facet_type <@EqWith, @EqWith(bool)> [concrete] // CHECK:STDOUT: %EqWith.impl_witness: = impl_witness imports.%EqWith.impl_witness_table [concrete] -// CHECK:STDOUT: %EqWith.facet: %EqWith.type.2e2 = facet_value bool, (%EqWith.impl_witness) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.ba3: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(bool, %EqWith.facet) [concrete] -// CHECK:STDOUT: %.f4a: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.ba3, %EqWith.facet [concrete] +// CHECK:STDOUT: %EqWith.facet: %EqWith.type.037 = facet_value bool, (%EqWith.impl_witness) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.133: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(bool, %EqWith.facet) [concrete] +// CHECK:STDOUT: %.7b3: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.133, %EqWith.facet [concrete] // CHECK:STDOUT: %bool.as.EqWith.impl.NotEqual.type: type = fn_type @bool.as.EqWith.impl.NotEqual [concrete] // CHECK:STDOUT: %bool.as.EqWith.impl.NotEqual: %bool.as.EqWith.impl.NotEqual.type = struct_value () [concrete] // CHECK:STDOUT: %bool.as.EqWith.impl.NotEqual.bound.598: = bound_method %true, %bool.as.EqWith.impl.NotEqual [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.861 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.434: %bool.as.EqWith.impl.NotEqual.type = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.EqWith.impl.NotEqual] -// CHECK:STDOUT: %EqWith.impl_witness_table = impl_witness_table (%Core.import_ref.861, %Core.import_ref.434), @bool.as.EqWith.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a57 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.3bc: %bool.as.EqWith.impl.NotEqual.type = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.EqWith.impl.NotEqual] +// CHECK:STDOUT: %EqWith.impl_witness_table = impl_witness_table (%Core.import_ref.a57, %Core.import_ref.3bc), @bool.as.EqWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.bf5 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.bf5 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.81f = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.81f = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %C.4e2 = var %a.var_patt [concrete] -// CHECK:STDOUT: %.loc10_22.1: type = splice_block %C.loc10 [concrete = constants.%C.4e2] { +// CHECK:STDOUT: %a.var: ref %C.2a3 = var %a.var_patt [concrete] +// CHECK:STDOUT: %.loc10_22.1: type = splice_block %C.loc10 [concrete = constants.%C.2a3] { // CHECK:STDOUT: %C.ref.loc10: %C.type = name_ref C, %C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %true.loc10_10: bool = bool_literal true [concrete = constants.%true] // CHECK:STDOUT: %true.loc10_18: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem1.loc10: %.f4a = impl_witness_access constants.%EqWith.impl_witness, element1 [concrete = constants.%bool.as.EqWith.impl.NotEqual] +// CHECK:STDOUT: %impl.elem1.loc10: %.7b3 = impl_witness_access constants.%EqWith.impl_witness, element1 [concrete = constants.%bool.as.EqWith.impl.NotEqual] // CHECK:STDOUT: %bound_method.loc10: = bound_method %true.loc10_10, %impl.elem1.loc10 [concrete = constants.%bool.as.EqWith.impl.NotEqual.bound.598] // CHECK:STDOUT: %bool.as.EqWith.impl.NotEqual.call.loc10: init bool = call %bound_method.loc10(%true.loc10_10, %true.loc10_18) [concrete = constants.%false] // CHECK:STDOUT: %.loc10_22.2: bool = value_of_initializer %bool.as.EqWith.impl.NotEqual.call.loc10 [concrete = constants.%false] // CHECK:STDOUT: %.loc10_22.3: bool = converted %bool.as.EqWith.impl.NotEqual.call.loc10, %.loc10_22.2 [concrete = constants.%false] -// CHECK:STDOUT: %C.loc10: type = class_type @C, @C(constants.%false) [concrete = constants.%C.4e2] +// CHECK:STDOUT: %C.loc10: type = class_type @C, @C(constants.%false) [concrete = constants.%C.2a3] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %C.4e2 = ref_binding a, %a.var [concrete = %a.var] +// CHECK:STDOUT: %a: ref %C.2a3 = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %False.ref.loc10: %False.type = name_ref False, file.%False.decl [concrete = constants.%False] -// CHECK:STDOUT: %.loc10: ref %C.4e2 = splice_block file.%a.var [concrete = file.%a.var] {} -// CHECK:STDOUT: %False.call.loc10: init %C.4e2 to %.loc10 = call %False.ref.loc10() +// CHECK:STDOUT: %.loc10: ref %C.2a3 = splice_block file.%a.var [concrete = file.%a.var] {} +// CHECK:STDOUT: %False.call.loc10: init %C.2a3 to %.loc10 = call %False.ref.loc10() // CHECK:STDOUT: assign file.%a.var, %False.call.loc10 // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/builtins/float/add.carbon b/toolchain/check/testdata/builtins/float/add.carbon index 89ceb0c75d24..27a5169519f4 100644 --- a/toolchain/check/testdata/builtins/float/add.carbon +++ b/toolchain/check/testdata/builtins/float/add.carbon @@ -72,17 +72,17 @@ fn AddLiteral(a: Literal(), b: Literal()) -> Literal() = "float.add"; // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %Add.type: type = fn_type @Add [concrete] // CHECK:STDOUT: %Add: %Add.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.9a0, %b.param: %f64.9a0) -> out %return.param: %f64.9a0 { +// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.b55, %b.param: %f64.b55) -> out %return.param: %f64.b55 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Add.ref: %Add.type = name_ref Add, file.%Add.decl [concrete = constants.%Add] -// CHECK:STDOUT: %a.ref: %f64.9a0 = name_ref a, %a -// CHECK:STDOUT: %b.ref: %f64.9a0 = name_ref b, %b -// CHECK:STDOUT: %Add.call: init %f64.9a0 = call %Add.ref(%a.ref, %b.ref) +// CHECK:STDOUT: %a.ref: %f64.b55 = name_ref a, %a +// CHECK:STDOUT: %b.ref: %f64.b55 = name_ref b, %b +// CHECK:STDOUT: %Add.call: init %f64.b55 = call %Add.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Add.call // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/convert_checked.carbon b/toolchain/check/testdata/builtins/float/convert_checked.carbon index 432543157418..772a6bd091d7 100644 --- a/toolchain/check/testdata/builtins/float/convert_checked.carbon +++ b/toolchain/check/testdata/builtins/float/convert_checked.carbon @@ -197,16 +197,16 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] // CHECK:STDOUT: %FloatLiteralToFloat64.type: type = fn_type @FloatLiteralToFloat64 [concrete] // CHECK:STDOUT: %FloatLiteralToFloat64: %FloatLiteralToFloat64.type = struct_value () [concrete] // CHECK:STDOUT: %float.1f7: Core.FloatLiteral = float_literal_value 0e-1 [concrete] -// CHECK:STDOUT: %float.2a6: %f64.9a0 = float_value 0 [concrete] +// CHECK:STDOUT: %float.1af: %f64.b55 = float_value 0 [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] -// CHECK:STDOUT: %float.291: %f64.9a0 = float_value 1 [concrete] +// CHECK:STDOUT: %float.642: %f64.b55 = float_value 1 [concrete] // CHECK:STDOUT: %float.12a: Core.FloatLiteral = float_literal_value 10e307 [concrete] -// CHECK:STDOUT: %float.a0f: %f64.9a0 = float_value 1.0E+308 [concrete] +// CHECK:STDOUT: %float.3b9: %f64.b55 = float_value 1.0E+308 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -215,39 +215,39 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.f4f = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f3c = value_binding_pattern a [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f64.loc6: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc6_39.1: %f64.9a0 = value_of_initializer @__global_init.%FloatLiteralToFloat64.call.loc6 [concrete = constants.%float.2a6] -// CHECK:STDOUT: %.loc6_39.2: %f64.9a0 = converted @__global_init.%FloatLiteralToFloat64.call.loc6, %.loc6_39.1 [concrete = constants.%float.2a6] -// CHECK:STDOUT: %a: %f64.9a0 = value_binding a, %.loc6_39.2 +// CHECK:STDOUT: %f64.loc6: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc6_39.1: %f64.b55 = value_of_initializer @__global_init.%FloatLiteralToFloat64.call.loc6 [concrete = constants.%float.1af] +// CHECK:STDOUT: %.loc6_39.2: %f64.b55 = converted @__global_init.%FloatLiteralToFloat64.call.loc6, %.loc6_39.1 [concrete = constants.%float.1af] +// CHECK:STDOUT: %a: %f64.b55 = value_binding a, %.loc6_39.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.f4f = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f3c = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f64.loc7: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc7_39.1: %f64.9a0 = value_of_initializer @__global_init.%FloatLiteralToFloat64.call.loc7 [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc7_39.2: %f64.9a0 = converted @__global_init.%FloatLiteralToFloat64.call.loc7, %.loc7_39.1 [concrete = constants.%float.291] -// CHECK:STDOUT: %b: %f64.9a0 = value_binding b, %.loc7_39.2 +// CHECK:STDOUT: %f64.loc7: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc7_39.1: %f64.b55 = value_of_initializer @__global_init.%FloatLiteralToFloat64.call.loc7 [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc7_39.2: %f64.b55 = converted @__global_init.%FloatLiteralToFloat64.call.loc7, %.loc7_39.1 [concrete = constants.%float.642] +// CHECK:STDOUT: %b: %f64.b55 = value_binding b, %.loc7_39.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.f4f = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.f3c = value_binding_pattern c [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f64.loc8: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc8_43.1: %f64.9a0 = value_of_initializer @__global_init.%FloatLiteralToFloat64.call.loc8 [concrete = constants.%float.a0f] -// CHECK:STDOUT: %.loc8_43.2: %f64.9a0 = converted @__global_init.%FloatLiteralToFloat64.call.loc8, %.loc8_43.1 [concrete = constants.%float.a0f] -// CHECK:STDOUT: %c: %f64.9a0 = value_binding c, %.loc8_43.2 +// CHECK:STDOUT: %f64.loc8: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc8_43.1: %f64.b55 = value_of_initializer @__global_init.%FloatLiteralToFloat64.call.loc8 [concrete = constants.%float.3b9] +// CHECK:STDOUT: %.loc8_43.2: %f64.b55 = converted @__global_init.%FloatLiteralToFloat64.call.loc8, %.loc8_43.1 [concrete = constants.%float.3b9] +// CHECK:STDOUT: %c: %f64.b55 = value_binding c, %.loc8_43.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %FloatLiteralToFloat64.ref.loc6: %FloatLiteralToFloat64.type = name_ref FloatLiteralToFloat64, imports.%Main.FloatLiteralToFloat64 [concrete = constants.%FloatLiteralToFloat64] // CHECK:STDOUT: %float.loc6: Core.FloatLiteral = float_literal_value 0e-1 [concrete = constants.%float.1f7] -// CHECK:STDOUT: %FloatLiteralToFloat64.call.loc6: init %f64.9a0 = call %FloatLiteralToFloat64.ref.loc6(%float.loc6) [concrete = constants.%float.2a6] +// CHECK:STDOUT: %FloatLiteralToFloat64.call.loc6: init %f64.b55 = call %FloatLiteralToFloat64.ref.loc6(%float.loc6) [concrete = constants.%float.1af] // CHECK:STDOUT: %FloatLiteralToFloat64.ref.loc7: %FloatLiteralToFloat64.type = name_ref FloatLiteralToFloat64, imports.%Main.FloatLiteralToFloat64 [concrete = constants.%FloatLiteralToFloat64] // CHECK:STDOUT: %float.loc7: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] -// CHECK:STDOUT: %FloatLiteralToFloat64.call.loc7: init %f64.9a0 = call %FloatLiteralToFloat64.ref.loc7(%float.loc7) [concrete = constants.%float.291] +// CHECK:STDOUT: %FloatLiteralToFloat64.call.loc7: init %f64.b55 = call %FloatLiteralToFloat64.ref.loc7(%float.loc7) [concrete = constants.%float.642] // CHECK:STDOUT: %FloatLiteralToFloat64.ref.loc8: %FloatLiteralToFloat64.type = name_ref FloatLiteralToFloat64, imports.%Main.FloatLiteralToFloat64 [concrete = constants.%FloatLiteralToFloat64] // CHECK:STDOUT: %float.loc8: Core.FloatLiteral = float_literal_value 10e307 [concrete = constants.%float.12a] -// CHECK:STDOUT: %FloatLiteralToFloat64.call.loc8: init %f64.9a0 = call %FloatLiteralToFloat64.ref.loc8(%float.loc8) [concrete = constants.%float.a0f] +// CHECK:STDOUT: %FloatLiteralToFloat64.call.loc8: init %f64.b55 = call %FloatLiteralToFloat64.ref.loc8(%float.loc8) [concrete = constants.%float.3b9] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -255,16 +255,16 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.9a5: type = pattern_type %f32.750 [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %pattern_type.f3b: type = pattern_type %f32.a26 [concrete] // CHECK:STDOUT: %FloatLiteralToFloat32.type: type = fn_type @FloatLiteralToFloat32 [concrete] // CHECK:STDOUT: %FloatLiteralToFloat32: %FloatLiteralToFloat32.type = struct_value () [concrete] // CHECK:STDOUT: %float.1f7: Core.FloatLiteral = float_literal_value 0e-1 [concrete] -// CHECK:STDOUT: %float.921: %f32.750 = float_value 0 [concrete] +// CHECK:STDOUT: %float.e89: %f32.a26 = float_value 0 [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] // CHECK:STDOUT: %float.8d2: Core.FloatLiteral = float_literal_value 10e37 [concrete] -// CHECK:STDOUT: %float.1c3: %f32.750 = float_value 9.99999968E+37 [concrete] +// CHECK:STDOUT: %float.16a: %f32.a26 = float_value 9.99999968E+37 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -273,39 +273,39 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.9a5 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f3b = value_binding_pattern a [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f32.loc6: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %.loc6_39.1: %f32.750 = value_of_initializer @__global_init.%FloatLiteralToFloat32.call.loc6 [concrete = constants.%float.921] -// CHECK:STDOUT: %.loc6_39.2: %f32.750 = converted @__global_init.%FloatLiteralToFloat32.call.loc6, %.loc6_39.1 [concrete = constants.%float.921] -// CHECK:STDOUT: %a: %f32.750 = value_binding a, %.loc6_39.2 +// CHECK:STDOUT: %f32.loc6: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %.loc6_39.1: %f32.a26 = value_of_initializer @__global_init.%FloatLiteralToFloat32.call.loc6 [concrete = constants.%float.e89] +// CHECK:STDOUT: %.loc6_39.2: %f32.a26 = converted @__global_init.%FloatLiteralToFloat32.call.loc6, %.loc6_39.1 [concrete = constants.%float.e89] +// CHECK:STDOUT: %a: %f32.a26 = value_binding a, %.loc6_39.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.9a5 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f3b = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f32.loc7: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %.loc7_39.1: %f32.750 = value_of_initializer @__global_init.%FloatLiteralToFloat32.call.loc7 [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc7_39.2: %f32.750 = converted @__global_init.%FloatLiteralToFloat32.call.loc7, %.loc7_39.1 [concrete = constants.%float.467] -// CHECK:STDOUT: %b: %f32.750 = value_binding b, %.loc7_39.2 +// CHECK:STDOUT: %f32.loc7: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %.loc7_39.1: %f32.a26 = value_of_initializer @__global_init.%FloatLiteralToFloat32.call.loc7 [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc7_39.2: %f32.a26 = converted @__global_init.%FloatLiteralToFloat32.call.loc7, %.loc7_39.1 [concrete = constants.%float.2ec] +// CHECK:STDOUT: %b: %f32.a26 = value_binding b, %.loc7_39.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.9a5 = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.f3b = value_binding_pattern c [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f32.loc8: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %.loc8_42.1: %f32.750 = value_of_initializer @__global_init.%FloatLiteralToFloat32.call.loc8 [concrete = constants.%float.1c3] -// CHECK:STDOUT: %.loc8_42.2: %f32.750 = converted @__global_init.%FloatLiteralToFloat32.call.loc8, %.loc8_42.1 [concrete = constants.%float.1c3] -// CHECK:STDOUT: %c: %f32.750 = value_binding c, %.loc8_42.2 +// CHECK:STDOUT: %f32.loc8: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %.loc8_42.1: %f32.a26 = value_of_initializer @__global_init.%FloatLiteralToFloat32.call.loc8 [concrete = constants.%float.16a] +// CHECK:STDOUT: %.loc8_42.2: %f32.a26 = converted @__global_init.%FloatLiteralToFloat32.call.loc8, %.loc8_42.1 [concrete = constants.%float.16a] +// CHECK:STDOUT: %c: %f32.a26 = value_binding c, %.loc8_42.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %FloatLiteralToFloat32.ref.loc6: %FloatLiteralToFloat32.type = name_ref FloatLiteralToFloat32, imports.%Main.FloatLiteralToFloat32 [concrete = constants.%FloatLiteralToFloat32] // CHECK:STDOUT: %float.loc6: Core.FloatLiteral = float_literal_value 0e-1 [concrete = constants.%float.1f7] -// CHECK:STDOUT: %FloatLiteralToFloat32.call.loc6: init %f32.750 = call %FloatLiteralToFloat32.ref.loc6(%float.loc6) [concrete = constants.%float.921] +// CHECK:STDOUT: %FloatLiteralToFloat32.call.loc6: init %f32.a26 = call %FloatLiteralToFloat32.ref.loc6(%float.loc6) [concrete = constants.%float.e89] // CHECK:STDOUT: %FloatLiteralToFloat32.ref.loc7: %FloatLiteralToFloat32.type = name_ref FloatLiteralToFloat32, imports.%Main.FloatLiteralToFloat32 [concrete = constants.%FloatLiteralToFloat32] // CHECK:STDOUT: %float.loc7: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] -// CHECK:STDOUT: %FloatLiteralToFloat32.call.loc7: init %f32.750 = call %FloatLiteralToFloat32.ref.loc7(%float.loc7) [concrete = constants.%float.467] +// CHECK:STDOUT: %FloatLiteralToFloat32.call.loc7: init %f32.a26 = call %FloatLiteralToFloat32.ref.loc7(%float.loc7) [concrete = constants.%float.2ec] // CHECK:STDOUT: %FloatLiteralToFloat32.ref.loc8: %FloatLiteralToFloat32.type = name_ref FloatLiteralToFloat32, imports.%Main.FloatLiteralToFloat32 [concrete = constants.%FloatLiteralToFloat32] // CHECK:STDOUT: %float.loc8: Core.FloatLiteral = float_literal_value 10e37 [concrete = constants.%float.8d2] -// CHECK:STDOUT: %FloatLiteralToFloat32.call.loc8: init %f32.750 = call %FloatLiteralToFloat32.ref.loc8(%float.loc8) [concrete = constants.%float.1c3] +// CHECK:STDOUT: %FloatLiteralToFloat32.call.loc8: init %f32.a26 = call %FloatLiteralToFloat32.ref.loc8(%float.loc8) [concrete = constants.%float.16a] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -313,97 +313,97 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] // CHECK:STDOUT: %Float64ToFloat64.type: type = fn_type @Float64ToFloat64 [concrete] // CHECK:STDOUT: %Float64ToFloat64: %Float64ToFloat64.type = struct_value () [concrete] // CHECK:STDOUT: %float.1f7: Core.FloatLiteral = float_literal_value 0e-1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.731: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.9a0)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.857: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.b55)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.26a: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.731 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.26a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ed2: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.9a0, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.2f4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ed2, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.02e: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.c0d: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.2a6: %f64.9a0 = float_value 0 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.83f: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.857 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.83f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.096: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.b55, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.119: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.096, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.4d4: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.a29: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.1af: %f64.b55 = float_value 0 [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.f9f: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b [concrete] -// CHECK:STDOUT: %bound_method.56c: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.291: %f64.9a0 = float_value 1 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.bef: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881 [concrete] +// CHECK:STDOUT: %bound_method.c5a: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.642: %f64.b55 = float_value 1 [concrete] // CHECK:STDOUT: %float.12a: Core.FloatLiteral = float_literal_value 10e307 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.992: = bound_method %float.12a, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b [concrete] -// CHECK:STDOUT: %bound_method.9a3: = bound_method %float.12a, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.a0f: %f64.9a0 = float_value 1.0E+308 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.72f: = bound_method %float.12a, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881 [concrete] +// CHECK:STDOUT: %bound_method.b4f: = bound_method %float.12a, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.3b9: %f64.b55 = float_value 1.0E+308 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.Float64ToFloat64: %Float64ToFloat64.type = import_ref Main//f64, Float64ToFloat64, loaded [concrete = constants.%Float64ToFloat64] -// CHECK:STDOUT: %Core.import_ref.9a6: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.9a6), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.f4f = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f3c = value_binding_pattern a [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f64.loc6: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc6_34.1: %f64.9a0 = value_of_initializer @__global_init.%Float64ToFloat64.call.loc6 [concrete = constants.%float.2a6] -// CHECK:STDOUT: %.loc6_34.2: %f64.9a0 = converted @__global_init.%Float64ToFloat64.call.loc6, %.loc6_34.1 [concrete = constants.%float.2a6] -// CHECK:STDOUT: %a: %f64.9a0 = value_binding a, %.loc6_34.2 +// CHECK:STDOUT: %f64.loc6: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc6_34.1: %f64.b55 = value_of_initializer @__global_init.%Float64ToFloat64.call.loc6 [concrete = constants.%float.1af] +// CHECK:STDOUT: %.loc6_34.2: %f64.b55 = converted @__global_init.%Float64ToFloat64.call.loc6, %.loc6_34.1 [concrete = constants.%float.1af] +// CHECK:STDOUT: %a: %f64.b55 = value_binding a, %.loc6_34.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.f4f = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f3c = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f64.loc7: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc7_34.1: %f64.9a0 = value_of_initializer @__global_init.%Float64ToFloat64.call.loc7 [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc7_34.2: %f64.9a0 = converted @__global_init.%Float64ToFloat64.call.loc7, %.loc7_34.1 [concrete = constants.%float.291] -// CHECK:STDOUT: %b: %f64.9a0 = value_binding b, %.loc7_34.2 +// CHECK:STDOUT: %f64.loc7: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc7_34.1: %f64.b55 = value_of_initializer @__global_init.%Float64ToFloat64.call.loc7 [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc7_34.2: %f64.b55 = converted @__global_init.%Float64ToFloat64.call.loc7, %.loc7_34.1 [concrete = constants.%float.642] +// CHECK:STDOUT: %b: %f64.b55 = value_binding b, %.loc7_34.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.f4f = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.f3c = value_binding_pattern c [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f64.loc8: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc8_38.1: %f64.9a0 = value_of_initializer @__global_init.%Float64ToFloat64.call.loc8 [concrete = constants.%float.a0f] -// CHECK:STDOUT: %.loc8_38.2: %f64.9a0 = converted @__global_init.%Float64ToFloat64.call.loc8, %.loc8_38.1 [concrete = constants.%float.a0f] -// CHECK:STDOUT: %c: %f64.9a0 = value_binding c, %.loc8_38.2 +// CHECK:STDOUT: %f64.loc8: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc8_38.1: %f64.b55 = value_of_initializer @__global_init.%Float64ToFloat64.call.loc8 [concrete = constants.%float.3b9] +// CHECK:STDOUT: %.loc8_38.2: %f64.b55 = converted @__global_init.%Float64ToFloat64.call.loc8, %.loc8_38.1 [concrete = constants.%float.3b9] +// CHECK:STDOUT: %c: %f64.b55 = value_binding c, %.loc8_38.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Float64ToFloat64.ref.loc6: %Float64ToFloat64.type = name_ref Float64ToFloat64, imports.%Main.Float64ToFloat64 [concrete = constants.%Float64ToFloat64] // CHECK:STDOUT: %float.loc6: Core.FloatLiteral = float_literal_value 0e-1 [concrete = constants.%float.1f7] -// CHECK:STDOUT: %impl.elem0.loc6: %.2f4 = impl_witness_access constants.%ImplicitAs.impl_witness.26a, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b] -// CHECK:STDOUT: %bound_method.loc6_31.1: = bound_method %float.loc6, %impl.elem0.loc6 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.02e] +// CHECK:STDOUT: %impl.elem0.loc6: %.119 = impl_witness_access constants.%ImplicitAs.impl_witness.83f, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.881] +// CHECK:STDOUT: %bound_method.loc6_31.1: = bound_method %float.loc6, %impl.elem0.loc6 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.4d4] // CHECK:STDOUT: %specific_fn.loc6: = specific_function %impl.elem0.loc6, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_31.2: = bound_method %float.loc6, %specific_fn.loc6 [concrete = constants.%bound_method.c0d] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %f64.9a0 = call %bound_method.loc6_31.2(%float.loc6) [concrete = constants.%float.2a6] -// CHECK:STDOUT: %.loc6_31.1: %f64.9a0 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%float.2a6] -// CHECK:STDOUT: %.loc6_31.2: %f64.9a0 = converted %float.loc6, %.loc6_31.1 [concrete = constants.%float.2a6] -// CHECK:STDOUT: %Float64ToFloat64.call.loc6: init %f64.9a0 = call %Float64ToFloat64.ref.loc6(%.loc6_31.2) [concrete = constants.%float.2a6] +// CHECK:STDOUT: %bound_method.loc6_31.2: = bound_method %float.loc6, %specific_fn.loc6 [concrete = constants.%bound_method.a29] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %f64.b55 = call %bound_method.loc6_31.2(%float.loc6) [concrete = constants.%float.1af] +// CHECK:STDOUT: %.loc6_31.1: %f64.b55 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%float.1af] +// CHECK:STDOUT: %.loc6_31.2: %f64.b55 = converted %float.loc6, %.loc6_31.1 [concrete = constants.%float.1af] +// CHECK:STDOUT: %Float64ToFloat64.call.loc6: init %f64.b55 = call %Float64ToFloat64.ref.loc6(%.loc6_31.2) [concrete = constants.%float.1af] // CHECK:STDOUT: %Float64ToFloat64.ref.loc7: %Float64ToFloat64.type = name_ref Float64ToFloat64, imports.%Main.Float64ToFloat64 [concrete = constants.%Float64ToFloat64] // CHECK:STDOUT: %float.loc7: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] -// CHECK:STDOUT: %impl.elem0.loc7: %.2f4 = impl_witness_access constants.%ImplicitAs.impl_witness.26a, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b] -// CHECK:STDOUT: %bound_method.loc7_31.1: = bound_method %float.loc7, %impl.elem0.loc7 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.f9f] +// CHECK:STDOUT: %impl.elem0.loc7: %.119 = impl_witness_access constants.%ImplicitAs.impl_witness.83f, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.881] +// CHECK:STDOUT: %bound_method.loc7_31.1: = bound_method %float.loc7, %impl.elem0.loc7 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.bef] // CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_31.2: = bound_method %float.loc7, %specific_fn.loc7 [concrete = constants.%bound_method.56c] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %f64.9a0 = call %bound_method.loc7_31.2(%float.loc7) [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc7_31.1: %f64.9a0 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc7_31.2: %f64.9a0 = converted %float.loc7, %.loc7_31.1 [concrete = constants.%float.291] -// CHECK:STDOUT: %Float64ToFloat64.call.loc7: init %f64.9a0 = call %Float64ToFloat64.ref.loc7(%.loc7_31.2) [concrete = constants.%float.291] +// CHECK:STDOUT: %bound_method.loc7_31.2: = bound_method %float.loc7, %specific_fn.loc7 [concrete = constants.%bound_method.c5a] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %f64.b55 = call %bound_method.loc7_31.2(%float.loc7) [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc7_31.1: %f64.b55 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc7_31.2: %f64.b55 = converted %float.loc7, %.loc7_31.1 [concrete = constants.%float.642] +// CHECK:STDOUT: %Float64ToFloat64.call.loc7: init %f64.b55 = call %Float64ToFloat64.ref.loc7(%.loc7_31.2) [concrete = constants.%float.642] // CHECK:STDOUT: %Float64ToFloat64.ref.loc8: %Float64ToFloat64.type = name_ref Float64ToFloat64, imports.%Main.Float64ToFloat64 [concrete = constants.%Float64ToFloat64] // CHECK:STDOUT: %float.loc8: Core.FloatLiteral = float_literal_value 10e307 [concrete = constants.%float.12a] -// CHECK:STDOUT: %impl.elem0.loc8: %.2f4 = impl_witness_access constants.%ImplicitAs.impl_witness.26a, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b] -// CHECK:STDOUT: %bound_method.loc8_31.1: = bound_method %float.loc8, %impl.elem0.loc8 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.992] +// CHECK:STDOUT: %impl.elem0.loc8: %.119 = impl_witness_access constants.%ImplicitAs.impl_witness.83f, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.881] +// CHECK:STDOUT: %bound_method.loc8_31.1: = bound_method %float.loc8, %impl.elem0.loc8 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.72f] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_31.2: = bound_method %float.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.9a3] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %f64.9a0 = call %bound_method.loc8_31.2(%float.loc8) [concrete = constants.%float.a0f] -// CHECK:STDOUT: %.loc8_31.1: %f64.9a0 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%float.a0f] -// CHECK:STDOUT: %.loc8_31.2: %f64.9a0 = converted %float.loc8, %.loc8_31.1 [concrete = constants.%float.a0f] -// CHECK:STDOUT: %Float64ToFloat64.call.loc8: init %f64.9a0 = call %Float64ToFloat64.ref.loc8(%.loc8_31.2) [concrete = constants.%float.a0f] +// CHECK:STDOUT: %bound_method.loc8_31.2: = bound_method %float.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.b4f] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %f64.b55 = call %bound_method.loc8_31.2(%float.loc8) [concrete = constants.%float.3b9] +// CHECK:STDOUT: %.loc8_31.1: %f64.b55 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%float.3b9] +// CHECK:STDOUT: %.loc8_31.2: %f64.b55 = converted %float.loc8, %.loc8_31.1 [concrete = constants.%float.3b9] +// CHECK:STDOUT: %Float64ToFloat64.call.loc8: init %f64.b55 = call %Float64ToFloat64.ref.loc8(%.loc8_31.2) [concrete = constants.%float.3b9] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -411,97 +411,97 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.9a5: type = pattern_type %f32.750 [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %pattern_type.f3b: type = pattern_type %f32.a26 [concrete] // CHECK:STDOUT: %Float32ToFloat32.type: type = fn_type @Float32ToFloat32 [concrete] // CHECK:STDOUT: %Float32ToFloat32: %Float32ToFloat32.type = struct_value () [concrete] // CHECK:STDOUT: %float.1f7: Core.FloatLiteral = float_literal_value 0e-1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.1dd: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.750)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.d0d: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.a26)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.b17: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.1dd = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.b17) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.051: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.750, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.be4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.051, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.a44: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.dbe: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.921: %f32.750 = float_value 0 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.65d: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.d0d = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.65d) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c87: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.a26, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.3a8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c87, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.3a0: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.7ae: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.e89: %f32.a26 = float_value 0 [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.3da: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %bound_method.5a8: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.1ac: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %bound_method.aaa: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] // CHECK:STDOUT: %float.8d2: Core.FloatLiteral = float_literal_value 10e37 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.f06: = bound_method %float.8d2, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %bound_method.452: = bound_method %float.8d2, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.1c3: %f32.750 = float_value 9.99999968E+37 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.f18: = bound_method %float.8d2, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %bound_method.137: = bound_method %float.8d2, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.16a: %f32.a26 = float_value 9.99999968E+37 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.Float32ToFloat32: %Float32ToFloat32.type = import_ref Main//f32, Float32ToFloat32, loaded [concrete = constants.%Float32ToFloat32] -// CHECK:STDOUT: %Core.import_ref.9a6: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.9a6), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.9a5 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f3b = value_binding_pattern a [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f32.loc6: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %.loc6_34.1: %f32.750 = value_of_initializer @__global_init.%Float32ToFloat32.call.loc6 [concrete = constants.%float.921] -// CHECK:STDOUT: %.loc6_34.2: %f32.750 = converted @__global_init.%Float32ToFloat32.call.loc6, %.loc6_34.1 [concrete = constants.%float.921] -// CHECK:STDOUT: %a: %f32.750 = value_binding a, %.loc6_34.2 +// CHECK:STDOUT: %f32.loc6: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %.loc6_34.1: %f32.a26 = value_of_initializer @__global_init.%Float32ToFloat32.call.loc6 [concrete = constants.%float.e89] +// CHECK:STDOUT: %.loc6_34.2: %f32.a26 = converted @__global_init.%Float32ToFloat32.call.loc6, %.loc6_34.1 [concrete = constants.%float.e89] +// CHECK:STDOUT: %a: %f32.a26 = value_binding a, %.loc6_34.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.9a5 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f3b = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f32.loc7: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %.loc7_34.1: %f32.750 = value_of_initializer @__global_init.%Float32ToFloat32.call.loc7 [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc7_34.2: %f32.750 = converted @__global_init.%Float32ToFloat32.call.loc7, %.loc7_34.1 [concrete = constants.%float.467] -// CHECK:STDOUT: %b: %f32.750 = value_binding b, %.loc7_34.2 +// CHECK:STDOUT: %f32.loc7: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %.loc7_34.1: %f32.a26 = value_of_initializer @__global_init.%Float32ToFloat32.call.loc7 [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc7_34.2: %f32.a26 = converted @__global_init.%Float32ToFloat32.call.loc7, %.loc7_34.1 [concrete = constants.%float.2ec] +// CHECK:STDOUT: %b: %f32.a26 = value_binding b, %.loc7_34.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.9a5 = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.f3b = value_binding_pattern c [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f32.loc8: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %.loc8_37.1: %f32.750 = value_of_initializer @__global_init.%Float32ToFloat32.call.loc8 [concrete = constants.%float.1c3] -// CHECK:STDOUT: %.loc8_37.2: %f32.750 = converted @__global_init.%Float32ToFloat32.call.loc8, %.loc8_37.1 [concrete = constants.%float.1c3] -// CHECK:STDOUT: %c: %f32.750 = value_binding c, %.loc8_37.2 +// CHECK:STDOUT: %f32.loc8: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %.loc8_37.1: %f32.a26 = value_of_initializer @__global_init.%Float32ToFloat32.call.loc8 [concrete = constants.%float.16a] +// CHECK:STDOUT: %.loc8_37.2: %f32.a26 = converted @__global_init.%Float32ToFloat32.call.loc8, %.loc8_37.1 [concrete = constants.%float.16a] +// CHECK:STDOUT: %c: %f32.a26 = value_binding c, %.loc8_37.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Float32ToFloat32.ref.loc6: %Float32ToFloat32.type = name_ref Float32ToFloat32, imports.%Main.Float32ToFloat32 [concrete = constants.%Float32ToFloat32] // CHECK:STDOUT: %float.loc6: Core.FloatLiteral = float_literal_value 0e-1 [concrete = constants.%float.1f7] -// CHECK:STDOUT: %impl.elem0.loc6: %.be4 = impl_witness_access constants.%ImplicitAs.impl_witness.b17, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] -// CHECK:STDOUT: %bound_method.loc6_31.1: = bound_method %float.loc6, %impl.elem0.loc6 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.a44] +// CHECK:STDOUT: %impl.elem0.loc6: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] +// CHECK:STDOUT: %bound_method.loc6_31.1: = bound_method %float.loc6, %impl.elem0.loc6 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.3a0] // CHECK:STDOUT: %specific_fn.loc6: = specific_function %impl.elem0.loc6, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_31.2: = bound_method %float.loc6, %specific_fn.loc6 [concrete = constants.%bound_method.dbe] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %f32.750 = call %bound_method.loc6_31.2(%float.loc6) [concrete = constants.%float.921] -// CHECK:STDOUT: %.loc6_31.1: %f32.750 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%float.921] -// CHECK:STDOUT: %.loc6_31.2: %f32.750 = converted %float.loc6, %.loc6_31.1 [concrete = constants.%float.921] -// CHECK:STDOUT: %Float32ToFloat32.call.loc6: init %f32.750 = call %Float32ToFloat32.ref.loc6(%.loc6_31.2) [concrete = constants.%float.921] +// CHECK:STDOUT: %bound_method.loc6_31.2: = bound_method %float.loc6, %specific_fn.loc6 [concrete = constants.%bound_method.7ae] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %f32.a26 = call %bound_method.loc6_31.2(%float.loc6) [concrete = constants.%float.e89] +// CHECK:STDOUT: %.loc6_31.1: %f32.a26 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%float.e89] +// CHECK:STDOUT: %.loc6_31.2: %f32.a26 = converted %float.loc6, %.loc6_31.1 [concrete = constants.%float.e89] +// CHECK:STDOUT: %Float32ToFloat32.call.loc6: init %f32.a26 = call %Float32ToFloat32.ref.loc6(%.loc6_31.2) [concrete = constants.%float.e89] // CHECK:STDOUT: %Float32ToFloat32.ref.loc7: %Float32ToFloat32.type = name_ref Float32ToFloat32, imports.%Main.Float32ToFloat32 [concrete = constants.%Float32ToFloat32] // CHECK:STDOUT: %float.loc7: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] -// CHECK:STDOUT: %impl.elem0.loc7: %.be4 = impl_witness_access constants.%ImplicitAs.impl_witness.b17, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] -// CHECK:STDOUT: %bound_method.loc7_31.1: = bound_method %float.loc7, %impl.elem0.loc7 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.3da] +// CHECK:STDOUT: %impl.elem0.loc7: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] +// CHECK:STDOUT: %bound_method.loc7_31.1: = bound_method %float.loc7, %impl.elem0.loc7 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.1ac] // CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_31.2: = bound_method %float.loc7, %specific_fn.loc7 [concrete = constants.%bound_method.5a8] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %f32.750 = call %bound_method.loc7_31.2(%float.loc7) [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc7_31.1: %f32.750 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc7_31.2: %f32.750 = converted %float.loc7, %.loc7_31.1 [concrete = constants.%float.467] -// CHECK:STDOUT: %Float32ToFloat32.call.loc7: init %f32.750 = call %Float32ToFloat32.ref.loc7(%.loc7_31.2) [concrete = constants.%float.467] +// CHECK:STDOUT: %bound_method.loc7_31.2: = bound_method %float.loc7, %specific_fn.loc7 [concrete = constants.%bound_method.aaa] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %f32.a26 = call %bound_method.loc7_31.2(%float.loc7) [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc7_31.1: %f32.a26 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc7_31.2: %f32.a26 = converted %float.loc7, %.loc7_31.1 [concrete = constants.%float.2ec] +// CHECK:STDOUT: %Float32ToFloat32.call.loc7: init %f32.a26 = call %Float32ToFloat32.ref.loc7(%.loc7_31.2) [concrete = constants.%float.2ec] // CHECK:STDOUT: %Float32ToFloat32.ref.loc8: %Float32ToFloat32.type = name_ref Float32ToFloat32, imports.%Main.Float32ToFloat32 [concrete = constants.%Float32ToFloat32] // CHECK:STDOUT: %float.loc8: Core.FloatLiteral = float_literal_value 10e37 [concrete = constants.%float.8d2] -// CHECK:STDOUT: %impl.elem0.loc8: %.be4 = impl_witness_access constants.%ImplicitAs.impl_witness.b17, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] -// CHECK:STDOUT: %bound_method.loc8_31.1: = bound_method %float.loc8, %impl.elem0.loc8 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.f06] +// CHECK:STDOUT: %impl.elem0.loc8: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] +// CHECK:STDOUT: %bound_method.loc8_31.1: = bound_method %float.loc8, %impl.elem0.loc8 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.f18] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_31.2: = bound_method %float.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.452] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %f32.750 = call %bound_method.loc8_31.2(%float.loc8) [concrete = constants.%float.1c3] -// CHECK:STDOUT: %.loc8_31.1: %f32.750 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%float.1c3] -// CHECK:STDOUT: %.loc8_31.2: %f32.750 = converted %float.loc8, %.loc8_31.1 [concrete = constants.%float.1c3] -// CHECK:STDOUT: %Float32ToFloat32.call.loc8: init %f32.750 = call %Float32ToFloat32.ref.loc8(%.loc8_31.2) [concrete = constants.%float.1c3] +// CHECK:STDOUT: %bound_method.loc8_31.2: = bound_method %float.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.137] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %f32.a26 = call %bound_method.loc8_31.2(%float.loc8) [concrete = constants.%float.16a] +// CHECK:STDOUT: %.loc8_31.1: %f32.a26 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%float.16a] +// CHECK:STDOUT: %.loc8_31.2: %f32.a26 = converted %float.loc8, %.loc8_31.1 [concrete = constants.%float.16a] +// CHECK:STDOUT: %Float32ToFloat32.call.loc8: init %f32.a26 = call %Float32ToFloat32.ref.loc8(%.loc8_31.2) [concrete = constants.%float.16a] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -509,58 +509,58 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.9a5: type = pattern_type %f32.750 [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %pattern_type.f3b: type = pattern_type %f32.a26 [concrete] // CHECK:STDOUT: %Float64ToFloat32.type: type = fn_type @Float64ToFloat32 [concrete] // CHECK:STDOUT: %Float64ToFloat32: %Float64ToFloat32.type = struct_value () [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.731: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.9a0)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.857: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.b55)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.26a: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.731 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.26a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ed2: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.9a0, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.2f4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ed2, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.83f: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.857 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.83f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.096: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.b55, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.119: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.096, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.291: %f64.9a0 = float_value 1 [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] +// CHECK:STDOUT: %float.642: %f64.b55 = float_value 1 [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.Float64ToFloat32: %Float64ToFloat32.type = import_ref Main//f32, Float64ToFloat32, loaded [concrete = constants.%Float64ToFloat32] -// CHECK:STDOUT: %Core.import_ref.9a6: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.9a6), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.9a5 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f3b = value_binding_pattern a [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f32: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %.loc6_34.1: %f32.750 = value_of_initializer @__global_init.%Float64ToFloat32.call [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc6_34.2: %f32.750 = converted @__global_init.%Float64ToFloat32.call, %.loc6_34.1 [concrete = constants.%float.467] -// CHECK:STDOUT: %a: %f32.750 = value_binding a, %.loc6_34.2 +// CHECK:STDOUT: %f32: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %.loc6_34.1: %f32.a26 = value_of_initializer @__global_init.%Float64ToFloat32.call [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc6_34.2: %f32.a26 = converted @__global_init.%Float64ToFloat32.call, %.loc6_34.1 [concrete = constants.%float.2ec] +// CHECK:STDOUT: %a: %f32.a26 = value_binding a, %.loc6_34.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Float64ToFloat32.ref: %Float64ToFloat32.type = name_ref Float64ToFloat32, imports.%Main.Float64ToFloat32 [concrete = constants.%Float64ToFloat32] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] -// CHECK:STDOUT: %impl.elem0: %.2f4 = impl_witness_access constants.%ImplicitAs.impl_witness.26a, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b] +// CHECK:STDOUT: %impl.elem0: %.119 = impl_witness_access constants.%ImplicitAs.impl_witness.83f, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.881] // CHECK:STDOUT: %bound_method.loc6_31.1: = bound_method %float, %impl.elem0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc6_31.2: = bound_method %float, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.9a0 = call %bound_method.loc6_31.2(%float) [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc6_31.1: %f64.9a0 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc6_31.2: %f64.9a0 = converted %float, %.loc6_31.1 [concrete = constants.%float.291] -// CHECK:STDOUT: %Float64ToFloat32.call: init %f32.750 = call %Float64ToFloat32.ref(%.loc6_31.2) [concrete = constants.%float.467] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.b55 = call %bound_method.loc6_31.2(%float) [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc6_31.1: %f64.b55 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc6_31.2: %f64.b55 = converted %float, %.loc6_31.1 [concrete = constants.%float.642] +// CHECK:STDOUT: %Float64ToFloat32.call: init %f32.a26 = call %Float64ToFloat32.ref(%.loc6_31.2) [concrete = constants.%float.2ec] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -568,28 +568,28 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.9a5: type = pattern_type %f32.750 [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %pattern_type.f3b: type = pattern_type %f32.a26 [concrete] // CHECK:STDOUT: %Float64ToFloat32.type: type = fn_type @Float64ToFloat32 [concrete] // CHECK:STDOUT: %Float64ToFloat32: %Float64ToFloat32.type = struct_value () [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] // CHECK:STDOUT: %float.cfcfd2.1: Core.FloatLiteral = float_literal_value 10e38 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.731: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.9a0)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.857: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.b55)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.26a: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.731 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.26a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ed2: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.9a0, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.2f4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ed2, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.cfcfd2.1, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.83f: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.857 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.83f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.096: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.b55, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.119: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.096, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.cfcfd2.1, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %float.cfcfd2.1, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.3ad: %f64.9a0 = float_value 9.9999999999999994E+38 [concrete] +// CHECK:STDOUT: %float.dae: %f64.b55 = float_value 9.9999999999999994E+38 [concrete] // CHECK:STDOUT: %FloatLiteralToFloat32.type: type = fn_type @FloatLiteralToFloat32 [concrete] // CHECK:STDOUT: %FloatLiteralToFloat32: %FloatLiteralToFloat32.type = struct_value () [concrete] // CHECK:STDOUT: %float.cfcfd2.2: Core.FloatLiteral = float_literal_value 10e38 [concrete] @@ -602,52 +602,52 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: %Main.FloatLiteralToFloat32: %FloatLiteralToFloat32.type = import_ref Main//f32, FloatLiteralToFloat32, loaded [concrete = constants.%FloatLiteralToFloat32] // CHECK:STDOUT: %Main.Float64ToFloat32: %Float64ToFloat32.type = import_ref Main//f32, Float64ToFloat32, loaded [concrete = constants.%Float64ToFloat32] // CHECK:STDOUT: %Main.FloatLiteralToFloat64: %FloatLiteralToFloat64.type = import_ref Main//f64, FloatLiteralToFloat64, loaded [concrete = constants.%FloatLiteralToFloat64] -// CHECK:STDOUT: %Core.import_ref.9a6: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.9a6), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.9a5 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f3b = value_binding_pattern a [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f32.loc11: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %.loc11_37.1: %f32.750 = value_of_initializer @__global_init.%Float64ToFloat32.call [concrete = ] -// CHECK:STDOUT: %.loc11_37.2: %f32.750 = converted @__global_init.%Float64ToFloat32.call, %.loc11_37.1 [concrete = ] -// CHECK:STDOUT: %a: %f32.750 = value_binding a, %.loc11_37.2 [concrete = ] +// CHECK:STDOUT: %f32.loc11: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %.loc11_37.1: %f32.a26 = value_of_initializer @__global_init.%Float64ToFloat32.call [concrete = ] +// CHECK:STDOUT: %.loc11_37.2: %f32.a26 = converted @__global_init.%Float64ToFloat32.call, %.loc11_37.1 [concrete = ] +// CHECK:STDOUT: %a: %f32.a26 = value_binding a, %.loc11_37.2 [concrete = ] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.9a5 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f3b = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f32.loc16: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %.loc16_42.1: %f32.750 = value_of_initializer @__global_init.%FloatLiteralToFloat32.call [concrete = ] -// CHECK:STDOUT: %.loc16_42.2: %f32.750 = converted @__global_init.%FloatLiteralToFloat32.call, %.loc16_42.1 [concrete = ] -// CHECK:STDOUT: %b: %f32.750 = value_binding b, %.loc16_42.2 [concrete = ] +// CHECK:STDOUT: %f32.loc16: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %.loc16_42.1: %f32.a26 = value_of_initializer @__global_init.%FloatLiteralToFloat32.call [concrete = ] +// CHECK:STDOUT: %.loc16_42.2: %f32.a26 = converted @__global_init.%FloatLiteralToFloat32.call, %.loc16_42.1 [concrete = ] +// CHECK:STDOUT: %b: %f32.a26 = value_binding b, %.loc16_42.2 [concrete = ] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.f4f = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.f3c = value_binding_pattern c [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f64: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc21_43.1: %f64.9a0 = value_of_initializer @__global_init.%FloatLiteralToFloat64.call [concrete = ] -// CHECK:STDOUT: %.loc21_43.2: %f64.9a0 = converted @__global_init.%FloatLiteralToFloat64.call, %.loc21_43.1 [concrete = ] -// CHECK:STDOUT: %c: %f64.9a0 = value_binding c, %.loc21_43.2 [concrete = ] +// CHECK:STDOUT: %f64: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc21_43.1: %f64.b55 = value_of_initializer @__global_init.%FloatLiteralToFloat64.call [concrete = ] +// CHECK:STDOUT: %.loc21_43.2: %f64.b55 = converted @__global_init.%FloatLiteralToFloat64.call, %.loc21_43.1 [concrete = ] +// CHECK:STDOUT: %c: %f64.b55 = value_binding c, %.loc21_43.2 [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Float64ToFloat32.ref: %Float64ToFloat32.type = name_ref Float64ToFloat32, imports.%Main.Float64ToFloat32 [concrete = constants.%Float64ToFloat32] // CHECK:STDOUT: %float.loc11: Core.FloatLiteral = float_literal_value 10e38 [concrete = constants.%float.cfcfd2.1] -// CHECK:STDOUT: %impl.elem0: %.2f4 = impl_witness_access constants.%ImplicitAs.impl_witness.26a, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b] +// CHECK:STDOUT: %impl.elem0: %.119 = impl_witness_access constants.%ImplicitAs.impl_witness.83f, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.881] // CHECK:STDOUT: %bound_method.loc11_31.1: = bound_method %float.loc11, %impl.elem0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc11_31.2: = bound_method %float.loc11, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.9a0 = call %bound_method.loc11_31.2(%float.loc11) [concrete = constants.%float.3ad] -// CHECK:STDOUT: %.loc11_31.1: %f64.9a0 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.3ad] -// CHECK:STDOUT: %.loc11_31.2: %f64.9a0 = converted %float.loc11, %.loc11_31.1 [concrete = constants.%float.3ad] -// CHECK:STDOUT: %Float64ToFloat32.call: init %f32.750 = call %Float64ToFloat32.ref(%.loc11_31.2) [concrete = ] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.b55 = call %bound_method.loc11_31.2(%float.loc11) [concrete = constants.%float.dae] +// CHECK:STDOUT: %.loc11_31.1: %f64.b55 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.dae] +// CHECK:STDOUT: %.loc11_31.2: %f64.b55 = converted %float.loc11, %.loc11_31.1 [concrete = constants.%float.dae] +// CHECK:STDOUT: %Float64ToFloat32.call: init %f32.a26 = call %Float64ToFloat32.ref(%.loc11_31.2) [concrete = ] // CHECK:STDOUT: %FloatLiteralToFloat32.ref: %FloatLiteralToFloat32.type = name_ref FloatLiteralToFloat32, imports.%Main.FloatLiteralToFloat32 [concrete = constants.%FloatLiteralToFloat32] // CHECK:STDOUT: %float.loc16: Core.FloatLiteral = float_literal_value 10e38 [concrete = constants.%float.cfcfd2.2] -// CHECK:STDOUT: %FloatLiteralToFloat32.call: init %f32.750 = call %FloatLiteralToFloat32.ref(%float.loc16) [concrete = ] +// CHECK:STDOUT: %FloatLiteralToFloat32.call: init %f32.a26 = call %FloatLiteralToFloat32.ref(%float.loc16) [concrete = ] // CHECK:STDOUT: %FloatLiteralToFloat64.ref: %FloatLiteralToFloat64.type = name_ref FloatLiteralToFloat64, imports.%Main.FloatLiteralToFloat64 [concrete = constants.%FloatLiteralToFloat64] // CHECK:STDOUT: %float.loc21: Core.FloatLiteral = float_literal_value 10e308 [concrete = constants.%float.82f] -// CHECK:STDOUT: %FloatLiteralToFloat64.call: init %f64.9a0 = call %FloatLiteralToFloat64.ref(%float.loc21) [concrete = ] +// CHECK:STDOUT: %FloatLiteralToFloat64.call: init %f64.b55 = call %FloatLiteralToFloat64.ref(%float.loc21) [concrete = ] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -655,80 +655,80 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] // CHECK:STDOUT: %Float32ToFloat64.type: type = fn_type @Float32ToFloat64 [concrete] // CHECK:STDOUT: %Float32ToFloat64: %Float32ToFloat64.type = struct_value () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.1dd: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.750)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.d0d: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.a26)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.b17: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.1dd = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.b17) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.051: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.750, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.be4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.051, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.3da: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.5a8: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] -// CHECK:STDOUT: %float.291: %f64.9a0 = float_value 1 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.65d: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.d0d = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.65d) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c87: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.a26, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.3a8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c87, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.1ac: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.aaa: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] +// CHECK:STDOUT: %float.642: %f64.b55 = float_value 1 [concrete] // CHECK:STDOUT: %float.c02: Core.FloatLiteral = float_literal_value 10e29 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.467: = bound_method %float.c02, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %bound_method.91b: = bound_method %float.c02, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.ced: %f32.750 = float_value 1.00000002E+30 [concrete] -// CHECK:STDOUT: %float.a6d: %f64.9a0 = float_value 1.0000000150474662E+30 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.1c5: = bound_method %float.c02, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %bound_method.dc8: = bound_method %float.c02, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.419: %f32.a26 = float_value 1.00000002E+30 [concrete] +// CHECK:STDOUT: %float.e6a: %f64.b55 = float_value 1.0000000150474662E+30 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.Float32ToFloat64: %Float32ToFloat64.type = import_ref Main//f32, Float32ToFloat64, loaded [concrete = constants.%Float32ToFloat64] -// CHECK:STDOUT: %Core.import_ref.9a6: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.9a6), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.f4f = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f3c = value_binding_pattern a [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f64.loc6: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc6_34.1: %f64.9a0 = value_of_initializer @__global_init.%Float32ToFloat64.call.loc6 [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc6_34.2: %f64.9a0 = converted @__global_init.%Float32ToFloat64.call.loc6, %.loc6_34.1 [concrete = constants.%float.291] -// CHECK:STDOUT: %a: %f64.9a0 = value_binding a, %.loc6_34.2 +// CHECK:STDOUT: %f64.loc6: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc6_34.1: %f64.b55 = value_of_initializer @__global_init.%Float32ToFloat64.call.loc6 [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc6_34.2: %f64.b55 = converted @__global_init.%Float32ToFloat64.call.loc6, %.loc6_34.1 [concrete = constants.%float.642] +// CHECK:STDOUT: %a: %f64.b55 = value_binding a, %.loc6_34.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.f4f = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f3c = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f64.loc7: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc7_37.1: %f64.9a0 = value_of_initializer @__global_init.%Float32ToFloat64.call.loc7 [concrete = constants.%float.a6d] -// CHECK:STDOUT: %.loc7_37.2: %f64.9a0 = converted @__global_init.%Float32ToFloat64.call.loc7, %.loc7_37.1 [concrete = constants.%float.a6d] -// CHECK:STDOUT: %b: %f64.9a0 = value_binding b, %.loc7_37.2 +// CHECK:STDOUT: %f64.loc7: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc7_37.1: %f64.b55 = value_of_initializer @__global_init.%Float32ToFloat64.call.loc7 [concrete = constants.%float.e6a] +// CHECK:STDOUT: %.loc7_37.2: %f64.b55 = converted @__global_init.%Float32ToFloat64.call.loc7, %.loc7_37.1 [concrete = constants.%float.e6a] +// CHECK:STDOUT: %b: %f64.b55 = value_binding b, %.loc7_37.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Float32ToFloat64.ref.loc6: %Float32ToFloat64.type = name_ref Float32ToFloat64, imports.%Main.Float32ToFloat64 [concrete = constants.%Float32ToFloat64] // CHECK:STDOUT: %float.loc6: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] -// CHECK:STDOUT: %impl.elem0.loc6: %.be4 = impl_witness_access constants.%ImplicitAs.impl_witness.b17, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] -// CHECK:STDOUT: %bound_method.loc6_31.1: = bound_method %float.loc6, %impl.elem0.loc6 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.3da] +// CHECK:STDOUT: %impl.elem0.loc6: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] +// CHECK:STDOUT: %bound_method.loc6_31.1: = bound_method %float.loc6, %impl.elem0.loc6 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.1ac] // CHECK:STDOUT: %specific_fn.loc6: = specific_function %impl.elem0.loc6, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_31.2: = bound_method %float.loc6, %specific_fn.loc6 [concrete = constants.%bound_method.5a8] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %f32.750 = call %bound_method.loc6_31.2(%float.loc6) [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc6_31.1: %f32.750 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc6_31.2: %f32.750 = converted %float.loc6, %.loc6_31.1 [concrete = constants.%float.467] -// CHECK:STDOUT: %Float32ToFloat64.call.loc6: init %f64.9a0 = call %Float32ToFloat64.ref.loc6(%.loc6_31.2) [concrete = constants.%float.291] +// CHECK:STDOUT: %bound_method.loc6_31.2: = bound_method %float.loc6, %specific_fn.loc6 [concrete = constants.%bound_method.aaa] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %f32.a26 = call %bound_method.loc6_31.2(%float.loc6) [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc6_31.1: %f32.a26 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc6_31.2: %f32.a26 = converted %float.loc6, %.loc6_31.1 [concrete = constants.%float.2ec] +// CHECK:STDOUT: %Float32ToFloat64.call.loc6: init %f64.b55 = call %Float32ToFloat64.ref.loc6(%.loc6_31.2) [concrete = constants.%float.642] // CHECK:STDOUT: %Float32ToFloat64.ref.loc7: %Float32ToFloat64.type = name_ref Float32ToFloat64, imports.%Main.Float32ToFloat64 [concrete = constants.%Float32ToFloat64] // CHECK:STDOUT: %float.loc7: Core.FloatLiteral = float_literal_value 10e29 [concrete = constants.%float.c02] -// CHECK:STDOUT: %impl.elem0.loc7: %.be4 = impl_witness_access constants.%ImplicitAs.impl_witness.b17, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] -// CHECK:STDOUT: %bound_method.loc7_31.1: = bound_method %float.loc7, %impl.elem0.loc7 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.467] +// CHECK:STDOUT: %impl.elem0.loc7: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] +// CHECK:STDOUT: %bound_method.loc7_31.1: = bound_method %float.loc7, %impl.elem0.loc7 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound.1c5] // CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_31.2: = bound_method %float.loc7, %specific_fn.loc7 [concrete = constants.%bound_method.91b] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %f32.750 = call %bound_method.loc7_31.2(%float.loc7) [concrete = constants.%float.ced] -// CHECK:STDOUT: %.loc7_31.1: %f32.750 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%float.ced] -// CHECK:STDOUT: %.loc7_31.2: %f32.750 = converted %float.loc7, %.loc7_31.1 [concrete = constants.%float.ced] -// CHECK:STDOUT: %Float32ToFloat64.call.loc7: init %f64.9a0 = call %Float32ToFloat64.ref.loc7(%.loc7_31.2) [concrete = constants.%float.a6d] +// CHECK:STDOUT: %bound_method.loc7_31.2: = bound_method %float.loc7, %specific_fn.loc7 [concrete = constants.%bound_method.dc8] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %f32.a26 = call %bound_method.loc7_31.2(%float.loc7) [concrete = constants.%float.419] +// CHECK:STDOUT: %.loc7_31.1: %f32.a26 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%float.419] +// CHECK:STDOUT: %.loc7_31.2: %f32.a26 = converted %float.loc7, %.loc7_31.1 [concrete = constants.%float.419] +// CHECK:STDOUT: %Float32ToFloat64.call.loc7: init %f64.b55 = call %Float32ToFloat64.ref.loc7(%.loc7_31.2) [concrete = constants.%float.e6a] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -736,61 +736,61 @@ let convert_not_constant: f64 = Float64ToFloat64(not_constant_64); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] // CHECK:STDOUT: %float.1f7: Core.FloatLiteral = float_literal_value 0e-1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.731: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.9a0)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.857: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.b55)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.26a: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.731 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.26a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ed2: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.9a0, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.2f4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ed2, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.83f: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.857 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.83f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.096: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.b55, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.119: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.096, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.2a6: %f64.9a0 = float_value 0 [concrete] +// CHECK:STDOUT: %float.1af: %f64.b55 = float_value 0 [concrete] // CHECK:STDOUT: %Float64ToFloat64.type: type = fn_type @Float64ToFloat64 [concrete] // CHECK:STDOUT: %Float64ToFloat64: %Float64ToFloat64.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.Float64ToFloat64: %Float64ToFloat64.type = import_ref Main//f64, Float64ToFloat64, loaded [concrete = constants.%Float64ToFloat64] -// CHECK:STDOUT: %Core.import_ref.9a6: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.9a6), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %not_constant_64.patt: %pattern_type.f4f = value_binding_pattern not_constant_64 [concrete] +// CHECK:STDOUT: %not_constant_64.patt: %pattern_type.f3c = value_binding_pattern not_constant_64 [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f64.loc6: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %impl.elem0: %.2f4 = impl_witness_access constants.%ImplicitAs.impl_witness.26a, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b] +// CHECK:STDOUT: %f64.loc6: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %impl.elem0: %.119 = impl_witness_access constants.%ImplicitAs.impl_witness.83f, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.881] // CHECK:STDOUT: %bound_method.loc6_28.1: = bound_method @__global_init.%float, %impl.elem0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc6_28.2: = bound_method @__global_init.%float, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.9a0 = call %bound_method.loc6_28.2(@__global_init.%float) [concrete = constants.%float.2a6] -// CHECK:STDOUT: %.loc6_28.1: %f64.9a0 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.2a6] -// CHECK:STDOUT: %.loc6_28.2: %f64.9a0 = converted @__global_init.%float, %.loc6_28.1 [concrete = constants.%float.2a6] -// CHECK:STDOUT: %not_constant_64: %f64.9a0 = value_binding not_constant_64, %.loc6_28.2 +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.b55 = call %bound_method.loc6_28.2(@__global_init.%float) [concrete = constants.%float.1af] +// CHECK:STDOUT: %.loc6_28.1: %f64.b55 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.1af] +// CHECK:STDOUT: %.loc6_28.2: %f64.b55 = converted @__global_init.%float, %.loc6_28.1 [concrete = constants.%float.1af] +// CHECK:STDOUT: %not_constant_64: %f64.b55 = value_binding not_constant_64, %.loc6_28.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %convert_not_constant.patt: %pattern_type.f4f = value_binding_pattern convert_not_constant [concrete] +// CHECK:STDOUT: %convert_not_constant.patt: %pattern_type.f3c = value_binding_pattern convert_not_constant [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f64.loc15: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc15_65.1: %f64.9a0 = value_of_initializer @__global_init.%Float64ToFloat64.call -// CHECK:STDOUT: %.loc15_65.2: %f64.9a0 = converted @__global_init.%Float64ToFloat64.call, %.loc15_65.1 -// CHECK:STDOUT: %convert_not_constant: %f64.9a0 = value_binding convert_not_constant, %.loc15_65.2 +// CHECK:STDOUT: %f64.loc15: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc15_65.1: %f64.b55 = value_of_initializer @__global_init.%Float64ToFloat64.call +// CHECK:STDOUT: %.loc15_65.2: %f64.b55 = converted @__global_init.%Float64ToFloat64.call, %.loc15_65.1 +// CHECK:STDOUT: %convert_not_constant: %f64.b55 = value_binding convert_not_constant, %.loc15_65.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 0e-1 [concrete = constants.%float.1f7] // CHECK:STDOUT: %Float64ToFloat64.ref: %Float64ToFloat64.type = name_ref Float64ToFloat64, imports.%Main.Float64ToFloat64 [concrete = constants.%Float64ToFloat64] -// CHECK:STDOUT: %not_constant_64.ref: %f64.9a0 = name_ref not_constant_64, file.%not_constant_64 -// CHECK:STDOUT: %Float64ToFloat64.call: init %f64.9a0 = call %Float64ToFloat64.ref(%not_constant_64.ref) +// CHECK:STDOUT: %not_constant_64.ref: %f64.b55 = name_ref not_constant_64, file.%not_constant_64 +// CHECK:STDOUT: %Float64ToFloat64.call: init %f64.b55 = call %Float64ToFloat64.ref(%not_constant_64.ref) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/div.carbon b/toolchain/check/testdata/builtins/float/div.carbon index cbae8d653ed6..539c7dbe5c1e 100644 --- a/toolchain/check/testdata/builtins/float/div.carbon +++ b/toolchain/check/testdata/builtins/float/div.carbon @@ -83,17 +83,17 @@ fn DivLiteral(a: Literal(), b: Literal()) -> Literal() = "float.div"; // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %Div.type: type = fn_type @Div [concrete] // CHECK:STDOUT: %Div: %Div.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.9a0, %b.param: %f64.9a0) -> out %return.param: %f64.9a0 { +// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.b55, %b.param: %f64.b55) -> out %return.param: %f64.b55 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Div.ref: %Div.type = name_ref Div, file.%Div.decl [concrete = constants.%Div] -// CHECK:STDOUT: %a.ref: %f64.9a0 = name_ref a, %a -// CHECK:STDOUT: %b.ref: %f64.9a0 = name_ref b, %b -// CHECK:STDOUT: %Div.call: init %f64.9a0 = call %Div.ref(%a.ref, %b.ref) +// CHECK:STDOUT: %a.ref: %f64.b55 = name_ref a, %a +// CHECK:STDOUT: %b.ref: %f64.b55 = name_ref b, %b +// CHECK:STDOUT: %Div.call: init %f64.b55 = call %Div.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Div.call // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/eq.carbon b/toolchain/check/testdata/builtins/float/eq.carbon index d8a3cdd1b040..766a9b61ff9b 100644 --- a/toolchain/check/testdata/builtins/float/eq.carbon +++ b/toolchain/check/testdata/builtins/float/eq.carbon @@ -52,16 +52,16 @@ fn Eq(a: Core.FloatLiteral(), b: Core.FloatLiteral()) -> bool = "float.eq"; // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %Eq.type: type = fn_type @Eq [concrete] // CHECK:STDOUT: %Eq: %Eq.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.9a0, %b.param: %f64.9a0) -> out %return.param: bool { +// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.b55, %b.param: %f64.b55) -> out %return.param: bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Eq.ref: %Eq.type = name_ref Eq, file.%Eq.decl [concrete = constants.%Eq] -// CHECK:STDOUT: %a.ref: %f64.9a0 = name_ref a, %a -// CHECK:STDOUT: %b.ref: %f64.9a0 = name_ref b, %b +// CHECK:STDOUT: %a.ref: %f64.b55 = name_ref a, %a +// CHECK:STDOUT: %b.ref: %f64.b55 = name_ref b, %b // CHECK:STDOUT: %Eq.call: init bool = call %Eq.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Eq.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/builtins/float/greater.carbon b/toolchain/check/testdata/builtins/float/greater.carbon index 47edeff1d13a..fbfedce3867b 100644 --- a/toolchain/check/testdata/builtins/float/greater.carbon +++ b/toolchain/check/testdata/builtins/float/greater.carbon @@ -36,16 +36,16 @@ fn RuntimeCallIsValid(a: f64, b: f64) -> bool { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %Greater.type: type = fn_type @Greater [concrete] // CHECK:STDOUT: %Greater: %Greater.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.9a0, %b.param: %f64.9a0) -> out %return.param: bool { +// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.b55, %b.param: %f64.b55) -> out %return.param: bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Greater.ref: %Greater.type = name_ref Greater, file.%Greater.decl [concrete = constants.%Greater] -// CHECK:STDOUT: %a.ref: %f64.9a0 = name_ref a, %a -// CHECK:STDOUT: %b.ref: %f64.9a0 = name_ref b, %b +// CHECK:STDOUT: %a.ref: %f64.b55 = name_ref a, %a +// CHECK:STDOUT: %b.ref: %f64.b55 = name_ref b, %b // CHECK:STDOUT: %Greater.call: init bool = call %Greater.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Greater.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/builtins/float/greater_eq.carbon b/toolchain/check/testdata/builtins/float/greater_eq.carbon index 6452c3e38db5..b6f05f1f2a61 100644 --- a/toolchain/check/testdata/builtins/float/greater_eq.carbon +++ b/toolchain/check/testdata/builtins/float/greater_eq.carbon @@ -36,16 +36,16 @@ fn RuntimeCallIsValid(a: f64, b: f64) -> bool { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %GreaterEq.type: type = fn_type @GreaterEq [concrete] // CHECK:STDOUT: %GreaterEq: %GreaterEq.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.9a0, %b.param: %f64.9a0) -> out %return.param: bool { +// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.b55, %b.param: %f64.b55) -> out %return.param: bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %GreaterEq.ref: %GreaterEq.type = name_ref GreaterEq, file.%GreaterEq.decl [concrete = constants.%GreaterEq] -// CHECK:STDOUT: %a.ref: %f64.9a0 = name_ref a, %a -// CHECK:STDOUT: %b.ref: %f64.9a0 = name_ref b, %b +// CHECK:STDOUT: %a.ref: %f64.b55 = name_ref a, %a +// CHECK:STDOUT: %b.ref: %f64.b55 = name_ref b, %b // CHECK:STDOUT: %GreaterEq.call: init bool = call %GreaterEq.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %GreaterEq.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/builtins/float/less.carbon b/toolchain/check/testdata/builtins/float/less.carbon index f893dca65eac..550f41b0049c 100644 --- a/toolchain/check/testdata/builtins/float/less.carbon +++ b/toolchain/check/testdata/builtins/float/less.carbon @@ -36,16 +36,16 @@ fn RuntimeCallIsValid(a: f64, b: f64) -> bool { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %Less.type: type = fn_type @Less [concrete] // CHECK:STDOUT: %Less: %Less.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.9a0, %b.param: %f64.9a0) -> out %return.param: bool { +// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.b55, %b.param: %f64.b55) -> out %return.param: bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Less.ref: %Less.type = name_ref Less, file.%Less.decl [concrete = constants.%Less] -// CHECK:STDOUT: %a.ref: %f64.9a0 = name_ref a, %a -// CHECK:STDOUT: %b.ref: %f64.9a0 = name_ref b, %b +// CHECK:STDOUT: %a.ref: %f64.b55 = name_ref a, %a +// CHECK:STDOUT: %b.ref: %f64.b55 = name_ref b, %b // CHECK:STDOUT: %Less.call: init bool = call %Less.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Less.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/builtins/float/less_eq.carbon b/toolchain/check/testdata/builtins/float/less_eq.carbon index 98aadbed91c9..96b90fd408e1 100644 --- a/toolchain/check/testdata/builtins/float/less_eq.carbon +++ b/toolchain/check/testdata/builtins/float/less_eq.carbon @@ -46,16 +46,16 @@ fn LessEq(a: Core.FloatLiteral(), b: Core.FloatLiteral()) -> bool = "float.less_ // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %LessEq.type: type = fn_type @LessEq [concrete] // CHECK:STDOUT: %LessEq: %LessEq.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.9a0, %b.param: %f64.9a0) -> out %return.param: bool { +// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.b55, %b.param: %f64.b55) -> out %return.param: bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %LessEq.ref: %LessEq.type = name_ref LessEq, file.%LessEq.decl [concrete = constants.%LessEq] -// CHECK:STDOUT: %a.ref: %f64.9a0 = name_ref a, %a -// CHECK:STDOUT: %b.ref: %f64.9a0 = name_ref b, %b +// CHECK:STDOUT: %a.ref: %f64.b55 = name_ref a, %a +// CHECK:STDOUT: %b.ref: %f64.b55 = name_ref b, %b // CHECK:STDOUT: %LessEq.call: init bool = call %LessEq.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %LessEq.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/builtins/float/mul.carbon b/toolchain/check/testdata/builtins/float/mul.carbon index 06906094169e..04eb8a2b4bc4 100644 --- a/toolchain/check/testdata/builtins/float/mul.carbon +++ b/toolchain/check/testdata/builtins/float/mul.carbon @@ -81,17 +81,17 @@ fn MulLiteral(a: Literal(), b: Literal()) -> Literal() = "float.mul"; // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %Mul.type: type = fn_type @Mul [concrete] // CHECK:STDOUT: %Mul: %Mul.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.9a0, %b.param: %f64.9a0) -> out %return.param: %f64.9a0 { +// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.b55, %b.param: %f64.b55) -> out %return.param: %f64.b55 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Mul.ref: %Mul.type = name_ref Mul, file.%Mul.decl [concrete = constants.%Mul] -// CHECK:STDOUT: %a.ref: %f64.9a0 = name_ref a, %a -// CHECK:STDOUT: %b.ref: %f64.9a0 = name_ref b, %b -// CHECK:STDOUT: %Mul.call: init %f64.9a0 = call %Mul.ref(%a.ref, %b.ref) +// CHECK:STDOUT: %a.ref: %f64.b55 = name_ref a, %a +// CHECK:STDOUT: %b.ref: %f64.b55 = name_ref b, %b +// CHECK:STDOUT: %Mul.call: init %f64.b55 = call %Mul.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Mul.call // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/negate.carbon b/toolchain/check/testdata/builtins/float/negate.carbon index fc151d870e5a..8bc3506cbf98 100644 --- a/toolchain/check/testdata/builtins/float/negate.carbon +++ b/toolchain/check/testdata/builtins/float/negate.carbon @@ -70,16 +70,16 @@ fn RuntimeCallIsValidBadReturnType(a: f64) -> bool { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %Negate.type: type = fn_type @Negate [concrete] // CHECK:STDOUT: %Negate: %Negate.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.9a0, %b.param: %f64.9a0) -> out %return.param: %f64.9a0 { +// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.b55, %b.param: %f64.b55) -> out %return.param: %f64.b55 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Negate.ref: %Negate.type = name_ref Negate, file.%Negate.decl [concrete = constants.%Negate] -// CHECK:STDOUT: %a.ref: %f64.9a0 = name_ref a, %a -// CHECK:STDOUT: %Negate.call: init %f64.9a0 = call %Negate.ref(%a.ref) +// CHECK:STDOUT: %a.ref: %f64.b55 = name_ref a, %a +// CHECK:STDOUT: %Negate.call: init %f64.b55 = call %Negate.ref(%a.ref) // CHECK:STDOUT: return %Negate.call // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/float/neq.carbon b/toolchain/check/testdata/builtins/float/neq.carbon index e85775215805..a6a21bd8defe 100644 --- a/toolchain/check/testdata/builtins/float/neq.carbon +++ b/toolchain/check/testdata/builtins/float/neq.carbon @@ -44,16 +44,16 @@ fn WrongResult(a: f64, b: f64) -> f64 = "float.neq"; // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %Neq.type: type = fn_type @Neq [concrete] // CHECK:STDOUT: %Neq: %Neq.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.9a0, %b.param: %f64.9a0) -> out %return.param: bool { +// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.b55, %b.param: %f64.b55) -> out %return.param: bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Neq.ref: %Neq.type = name_ref Neq, file.%Neq.decl [concrete = constants.%Neq] -// CHECK:STDOUT: %a.ref: %f64.9a0 = name_ref a, %a -// CHECK:STDOUT: %b.ref: %f64.9a0 = name_ref b, %b +// CHECK:STDOUT: %a.ref: %f64.b55 = name_ref a, %a +// CHECK:STDOUT: %b.ref: %f64.b55 = name_ref b, %b // CHECK:STDOUT: %Neq.call: init bool = call %Neq.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Neq.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/builtins/float/sub.carbon b/toolchain/check/testdata/builtins/float/sub.carbon index ae42bd8d4b12..6e68b4834fed 100644 --- a/toolchain/check/testdata/builtins/float/sub.carbon +++ b/toolchain/check/testdata/builtins/float/sub.carbon @@ -81,17 +81,17 @@ fn SubLiteral(a: Literal(), b: Literal()) -> Literal() = "float.sub"; // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %Sub.type: type = fn_type @Sub [concrete] // CHECK:STDOUT: %Sub: %Sub.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.9a0, %b.param: %f64.9a0) -> out %return.param: %f64.9a0 { +// CHECK:STDOUT: fn @RuntimeCallIsValid(%a.param: %f64.b55, %b.param: %f64.b55) -> out %return.param: %f64.b55 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Sub.ref: %Sub.type = name_ref Sub, file.%Sub.decl [concrete = constants.%Sub] -// CHECK:STDOUT: %a.ref: %f64.9a0 = name_ref a, %a -// CHECK:STDOUT: %b.ref: %f64.9a0 = name_ref b, %b -// CHECK:STDOUT: %Sub.call: init %f64.9a0 = call %Sub.ref(%a.ref, %b.ref) +// CHECK:STDOUT: %a.ref: %f64.b55 = name_ref a, %a +// CHECK:STDOUT: %b.ref: %f64.b55 = name_ref b, %b +// CHECK:STDOUT: %Sub.call: init %f64.b55 = call %Sub.ref(%a.ref, %b.ref) // CHECK:STDOUT: return %Sub.call // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/int/convert_checked.carbon b/toolchain/check/testdata/builtins/int/convert_checked.carbon index 52615d11687f..202fb7e0ffdf 100644 --- a/toolchain/check/testdata/builtins/int/convert_checked.carbon +++ b/toolchain/check/testdata/builtins/int/convert_checked.carbon @@ -267,69 +267,69 @@ let convert_not_constant_widen: i64 = Int32ToInt64(not_constant); // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.632: type = pattern_type %u32 [concrete] +// CHECK:STDOUT: %pattern_type.126: type = pattern_type %u32 [concrete] // CHECK:STDOUT: %Int32ToUint32.type: type = fn_type @Int32ToUint32 [concrete] // CHECK:STDOUT: %Int32ToUint32: %Int32ToUint32.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.56e: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.cf3: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.768: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.1e6: = impl_witness imports.%ImplicitAs.impl_witness_table.bc3, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.108: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.924: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.108 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.56e = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.1e6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.634: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68b, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.924 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.924, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.cd7: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e84: = impl_witness imports.%ImplicitAs.impl_witness_table.fca, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.104: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.785: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.104 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.cf3 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e84) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b79: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.56d: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b79, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.785 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.785, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.50a: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %int_1.fbc: %u32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.6b0: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.ce2: %u32 = int_value 1 [concrete] // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] -// CHECK:STDOUT: %pattern_type.132: type = pattern_type %i16 [concrete] +// CHECK:STDOUT: %pattern_type.e2a: type = pattern_type %i16 [concrete] // CHECK:STDOUT: %Int32ToInt16.type: type = fn_type @Int32ToInt16 [concrete] // CHECK:STDOUT: %Int32ToInt16: %Int32ToInt16.type = struct_value () [concrete] -// CHECK:STDOUT: %int_1.f07: %i16 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.f7f: %i16 = int_value 1 [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.ac3: type = pattern_type %i64 [concrete] +// CHECK:STDOUT: %pattern_type.c79: type = pattern_type %i64 [concrete] // CHECK:STDOUT: %Int32ToInt64.type: type = fn_type @Int32ToInt64 [concrete] // CHECK:STDOUT: %Int32ToInt64: %Int32ToInt64.type = struct_value () [concrete] -// CHECK:STDOUT: %int_1.9dc: %i64 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.9b9: %i64 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.Int32ToUint32: %Int32ToUint32.type = import_ref Main//int_ops, Int32ToUint32, loaded [concrete = constants.%Int32ToUint32] // CHECK:STDOUT: %Main.Int32ToInt16: %Int32ToInt16.type = import_ref Main//int_ops, Int32ToInt16, loaded [concrete = constants.%Int32ToInt16] // CHECK:STDOUT: %Main.Int32ToInt64: %Int32ToInt64.type = import_ref Main//int_ops, Int32ToInt64, loaded [concrete = constants.%Int32ToInt64] -// CHECK:STDOUT: %Core.import_ref.7f1: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.768)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.bc3 = impl_witness_table (%Core.import_ref.7f1), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.4e5: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.cd7)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.fca = impl_witness_table (%Core.import_ref.4e5), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %SizePreserving.patt: %pattern_type.632 = value_binding_pattern SizePreserving [concrete] +// CHECK:STDOUT: %SizePreserving.patt: %pattern_type.126 = value_binding_pattern SizePreserving [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %u32: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %.loc6_42.1: %u32 = value_of_initializer @__global_init.%Int32ToUint32.call [concrete = constants.%int_1.fbc] -// CHECK:STDOUT: %.loc6_42.2: %u32 = converted @__global_init.%Int32ToUint32.call, %.loc6_42.1 [concrete = constants.%int_1.fbc] +// CHECK:STDOUT: %.loc6_42.1: %u32 = value_of_initializer @__global_init.%Int32ToUint32.call [concrete = constants.%int_1.ce2] +// CHECK:STDOUT: %.loc6_42.2: %u32 = converted @__global_init.%Int32ToUint32.call, %.loc6_42.1 [concrete = constants.%int_1.ce2] // CHECK:STDOUT: %SizePreserving: %u32 = value_binding SizePreserving, %.loc6_42.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %Narrowing.patt: %pattern_type.132 = value_binding_pattern Narrowing [concrete] +// CHECK:STDOUT: %Narrowing.patt: %pattern_type.e2a = value_binding_pattern Narrowing [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i16: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %.loc7_36.1: %i16 = value_of_initializer @__global_init.%Int32ToInt16.call [concrete = constants.%int_1.f07] -// CHECK:STDOUT: %.loc7_36.2: %i16 = converted @__global_init.%Int32ToInt16.call, %.loc7_36.1 [concrete = constants.%int_1.f07] +// CHECK:STDOUT: %.loc7_36.1: %i16 = value_of_initializer @__global_init.%Int32ToInt16.call [concrete = constants.%int_1.f7f] +// CHECK:STDOUT: %.loc7_36.2: %i16 = converted @__global_init.%Int32ToInt16.call, %.loc7_36.1 [concrete = constants.%int_1.f7f] // CHECK:STDOUT: %Narrowing: %i16 = value_binding Narrowing, %.loc7_36.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %Widening.patt: %pattern_type.ac3 = value_binding_pattern Widening [concrete] +// CHECK:STDOUT: %Widening.patt: %pattern_type.c79 = value_binding_pattern Widening [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i64: type = type_literal constants.%i64 [concrete = constants.%i64] -// CHECK:STDOUT: %.loc8_35.1: %i64 = value_of_initializer @__global_init.%Int32ToInt64.call [concrete = constants.%int_1.9dc] -// CHECK:STDOUT: %.loc8_35.2: %i64 = converted @__global_init.%Int32ToInt64.call, %.loc8_35.1 [concrete = constants.%int_1.9dc] +// CHECK:STDOUT: %.loc8_35.1: %i64 = value_of_initializer @__global_init.%Int32ToInt64.call [concrete = constants.%int_1.9b9] +// CHECK:STDOUT: %.loc8_35.2: %i64 = converted @__global_init.%Int32ToInt64.call, %.loc8_35.1 [concrete = constants.%int_1.9b9] // CHECK:STDOUT: %Widening: %i64 = value_binding Widening, %.loc8_35.2 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -337,34 +337,34 @@ let convert_not_constant_widen: i64 = Int32ToInt64(not_constant); // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Int32ToUint32.ref: %Int32ToUint32.type = name_ref Int32ToUint32, imports.%Main.Int32ToUint32 [concrete = constants.%Int32ToUint32] // CHECK:STDOUT: %int_1.loc6: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc6: %.634 = impl_witness_access constants.%ImplicitAs.impl_witness.1e6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.924] +// CHECK:STDOUT: %impl.elem0.loc6: %.56d = impl_witness_access constants.%ImplicitAs.impl_witness.e84, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.785] // CHECK:STDOUT: %bound_method.loc6_41.1: = bound_method %int_1.loc6, %impl.elem0.loc6 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc6: = specific_function %impl.elem0.loc6, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc6_41.2: = bound_method %int_1.loc6, %specific_fn.loc6 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %i32 = call %bound_method.loc6_41.2(%int_1.loc6) [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc6_41.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc6_41.2: %i32 = converted %int_1.loc6, %.loc6_41.1 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %Int32ToUint32.call: init %u32 = call %Int32ToUint32.ref(%.loc6_41.2) [concrete = constants.%int_1.fbc] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %i32 = call %bound_method.loc6_41.2(%int_1.loc6) [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc6_41.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc6_41.2: %i32 = converted %int_1.loc6, %.loc6_41.1 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %Int32ToUint32.call: init %u32 = call %Int32ToUint32.ref(%.loc6_41.2) [concrete = constants.%int_1.ce2] // CHECK:STDOUT: %Int32ToInt16.ref: %Int32ToInt16.type = name_ref Int32ToInt16, imports.%Main.Int32ToInt16 [concrete = constants.%Int32ToInt16] // CHECK:STDOUT: %int_1.loc7: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc7: %.634 = impl_witness_access constants.%ImplicitAs.impl_witness.1e6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.924] +// CHECK:STDOUT: %impl.elem0.loc7: %.56d = impl_witness_access constants.%ImplicitAs.impl_witness.e84, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.785] // CHECK:STDOUT: %bound_method.loc7_35.1: = bound_method %int_1.loc7, %impl.elem0.loc7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc7_35.2: = bound_method %int_1.loc7, %specific_fn.loc7 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_35.2(%int_1.loc7) [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc7_35.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc7_35.2: %i32 = converted %int_1.loc7, %.loc7_35.1 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %Int32ToInt16.call: init %i16 = call %Int32ToInt16.ref(%.loc7_35.2) [concrete = constants.%int_1.f07] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_35.2(%int_1.loc7) [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc7_35.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc7_35.2: %i32 = converted %int_1.loc7, %.loc7_35.1 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %Int32ToInt16.call: init %i16 = call %Int32ToInt16.ref(%.loc7_35.2) [concrete = constants.%int_1.f7f] // CHECK:STDOUT: %Int32ToInt64.ref: %Int32ToInt64.type = name_ref Int32ToInt64, imports.%Main.Int32ToInt64 [concrete = constants.%Int32ToInt64] // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.634 = impl_witness_access constants.%ImplicitAs.impl_witness.1e6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.924] +// CHECK:STDOUT: %impl.elem0.loc8: %.56d = impl_witness_access constants.%ImplicitAs.impl_witness.e84, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.785] // CHECK:STDOUT: %bound_method.loc8_34.1: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_34.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_34.2(%int_1.loc8) [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc8_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc8_34.2: %i32 = converted %int_1.loc8, %.loc8_34.1 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %Int32ToInt64.call: init %i64 = call %Int32ToInt64.ref(%.loc8_34.2) [concrete = constants.%int_1.9dc] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_34.2(%int_1.loc8) [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc8_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc8_34.2: %i32 = converted %int_1.loc8, %.loc8_34.1 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %Int32ToInt64.call: init %i64 = call %Int32ToInt64.ref(%.loc8_34.2) [concrete = constants.%int_1.9b9] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/pointer/is_null.carbon b/toolchain/check/testdata/builtins/pointer/is_null.carbon index a42095e15aa6..5eb083d8cb91 100644 --- a/toolchain/check/testdata/builtins/pointer/is_null.carbon +++ b/toolchain/check/testdata/builtins/pointer/is_null.carbon @@ -100,9 +100,9 @@ fn NotPointer(p: MakeUnformed({})) -> bool = "pointer.is_null"; // CHECK:STDOUT: %pattern_type.831: type = pattern_type bool [concrete] // CHECK:STDOUT: %IsNullEmptyStruct.type: type = fn_type @IsNullEmptyStruct [concrete] // CHECK:STDOUT: %IsNullEmptyStruct: %IsNullEmptyStruct.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.d6c: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.4f6: type = maybe_unformed_type %ptr.d6c [concrete] -// CHECK:STDOUT: %pattern_type.b82: type = pattern_type %.4f6 [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.758: type = maybe_unformed_type %ptr.6be [concrete] +// CHECK:STDOUT: %pattern_type.24c: type = pattern_type %.758 [concrete] // CHECK:STDOUT: %IsNullC.type: type = fn_type @IsNullC [concrete] // CHECK:STDOUT: %IsNullC: %IsNullC.type = struct_value () [concrete] // CHECK:STDOUT: %TestEmptyStruct.type: type = fn_type @TestEmptyStruct [concrete] @@ -135,23 +135,23 @@ fn NotPointer(p: MakeUnformed({})) -> bool = "pointer.is_null"; // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestC.decl: %TestC.type = fn_decl @TestC [concrete = constants.%TestC] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.b82 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.b82 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.24c = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.24c = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc15_34.1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15_34.1: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %.loc15_34.2: Core.Form = init_form %.loc15_34.1 [concrete = constants.%.f34] -// CHECK:STDOUT: %c.param: %.4f6 = value_param call_param0 -// CHECK:STDOUT: %.loc15_28.1: type = splice_block %.loc15_28.3 [concrete = constants.%.4f6] { +// CHECK:STDOUT: %c.param: %.758 = value_param call_param0 +// CHECK:STDOUT: %.loc15_28.1: type = splice_block %.loc15_28.3 [concrete = constants.%.758] { // CHECK:STDOUT: %MakeUnformed.ref: %MakeUnformed.type = name_ref MakeUnformed, file.%MakeUnformed.decl [concrete = constants.%MakeUnformed] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr: type = ptr_type %C.ref [concrete = constants.%ptr.d6c] -// CHECK:STDOUT: %MakeUnformed.call: init type = call %MakeUnformed.ref(%ptr) [concrete = constants.%.4f6] -// CHECK:STDOUT: %.loc15_28.2: type = value_of_initializer %MakeUnformed.call [concrete = constants.%.4f6] -// CHECK:STDOUT: %.loc15_28.3: type = converted %MakeUnformed.call, %.loc15_28.2 [concrete = constants.%.4f6] +// CHECK:STDOUT: %ptr: type = ptr_type %C.ref [concrete = constants.%ptr.6be] +// CHECK:STDOUT: %MakeUnformed.call: init type = call %MakeUnformed.ref(%ptr) [concrete = constants.%.758] +// CHECK:STDOUT: %.loc15_28.2: type = value_of_initializer %MakeUnformed.call [concrete = constants.%.758] +// CHECK:STDOUT: %.loc15_28.3: type = converted %MakeUnformed.call, %.loc15_28.2 [concrete = constants.%.758] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %.4f6 = value_binding c, %c.param +// CHECK:STDOUT: %c: %.758 = value_binding c, %c.param // CHECK:STDOUT: %return.param: ref bool = out_param call_param1 // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } @@ -165,10 +165,10 @@ fn NotPointer(p: MakeUnformed({})) -> bool = "pointer.is_null"; // CHECK:STDOUT: return %IsNullEmptyStruct.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestC(%c.param: %.4f6) -> out %return.param: bool { +// CHECK:STDOUT: fn @TestC(%c.param: %.758) -> out %return.param: bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %IsNullC.ref: %IsNullC.type = name_ref IsNullC, file.%IsNullC.decl [concrete = constants.%IsNullC] -// CHECK:STDOUT: %c.ref: %.4f6 = name_ref c, %c +// CHECK:STDOUT: %c.ref: %.758 = name_ref c, %c // CHECK:STDOUT: %IsNullC.call: init bool = call %IsNullC.ref(%c.ref) // CHECK:STDOUT: return %IsNullC.call // CHECK:STDOUT: } @@ -190,13 +190,13 @@ fn NotPointer(p: MakeUnformed({})) -> bool = "pointer.is_null"; // CHECK:STDOUT: %pattern_type.b42: type = pattern_type %.b2d [concrete] // CHECK:STDOUT: %TestEmptyStruct.type: type = fn_type @TestEmptyStruct [concrete] // CHECK:STDOUT: %TestEmptyStruct: %TestEmptyStruct.type = struct_value () [concrete] -// CHECK:STDOUT: %IsNull.specific_fn.e7f: = specific_function %IsNull, @IsNull(%empty_struct_type) [concrete] -// CHECK:STDOUT: %ptr.66d: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.30e: type = maybe_unformed_type %ptr.66d [concrete] -// CHECK:STDOUT: %pattern_type.37e: type = pattern_type %.30e [concrete] +// CHECK:STDOUT: %IsNull.specific_fn.23d: = specific_function %IsNull, @IsNull(%empty_struct_type) [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.758: type = maybe_unformed_type %ptr.6be [concrete] +// CHECK:STDOUT: %pattern_type.24c: type = pattern_type %.758 [concrete] // CHECK:STDOUT: %TestC.type: type = fn_type @TestC [concrete] // CHECK:STDOUT: %TestC: %TestC.type = struct_value () [concrete] -// CHECK:STDOUT: %IsNull.specific_fn.164: = specific_function %IsNull, @IsNull(%C) [concrete] +// CHECK:STDOUT: %IsNull.specific_fn.f42: = specific_function %IsNull, @IsNull(%C) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -223,23 +223,23 @@ fn NotPointer(p: MakeUnformed({})) -> bool = "pointer.is_null"; // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestC.decl: %TestC.type = fn_decl @TestC [concrete = constants.%TestC] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.37e = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.37e = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.24c = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.24c = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc14_34.1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc14_34.1: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %.loc14_34.2: Core.Form = init_form %.loc14_34.1 [concrete = constants.%.f34] -// CHECK:STDOUT: %c.param: %.30e = value_param call_param0 -// CHECK:STDOUT: %.loc14_28.1: type = splice_block %.loc14_28.3 [concrete = constants.%.30e] { +// CHECK:STDOUT: %c.param: %.758 = value_param call_param0 +// CHECK:STDOUT: %.loc14_28.1: type = splice_block %.loc14_28.3 [concrete = constants.%.758] { // CHECK:STDOUT: %MakeUnformed.ref: %MakeUnformed.type = name_ref MakeUnformed, file.%MakeUnformed.decl [concrete = constants.%MakeUnformed] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr: type = ptr_type %C.ref [concrete = constants.%ptr.66d] -// CHECK:STDOUT: %MakeUnformed.call: init type = call %MakeUnformed.ref(%ptr) [concrete = constants.%.30e] -// CHECK:STDOUT: %.loc14_28.2: type = value_of_initializer %MakeUnformed.call [concrete = constants.%.30e] -// CHECK:STDOUT: %.loc14_28.3: type = converted %MakeUnformed.call, %.loc14_28.2 [concrete = constants.%.30e] +// CHECK:STDOUT: %ptr: type = ptr_type %C.ref [concrete = constants.%ptr.6be] +// CHECK:STDOUT: %MakeUnformed.call: init type = call %MakeUnformed.ref(%ptr) [concrete = constants.%.758] +// CHECK:STDOUT: %.loc14_28.2: type = value_of_initializer %MakeUnformed.call [concrete = constants.%.758] +// CHECK:STDOUT: %.loc14_28.3: type = converted %MakeUnformed.call, %.loc14_28.2 [concrete = constants.%.758] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %.30e = value_binding c, %c.param +// CHECK:STDOUT: %c: %.758 = value_binding c, %c.param // CHECK:STDOUT: %return.param: ref bool = out_param call_param1 // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } @@ -249,16 +249,16 @@ fn NotPointer(p: MakeUnformed({})) -> bool = "pointer.is_null"; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %IsNull.ref: %IsNull.type = name_ref IsNull, file.%IsNull.decl [concrete = constants.%IsNull] // CHECK:STDOUT: %s.ref: %.b2d = name_ref s, %s -// CHECK:STDOUT: %IsNull.specific_fn: = specific_function %IsNull.ref, @IsNull(constants.%empty_struct_type) [concrete = constants.%IsNull.specific_fn.e7f] +// CHECK:STDOUT: %IsNull.specific_fn: = specific_function %IsNull.ref, @IsNull(constants.%empty_struct_type) [concrete = constants.%IsNull.specific_fn.23d] // CHECK:STDOUT: %IsNull.call: init bool = call %IsNull.specific_fn(%s.ref) // CHECK:STDOUT: return %IsNull.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestC(%c.param: %.30e) -> out %return.param: bool { +// CHECK:STDOUT: fn @TestC(%c.param: %.758) -> out %return.param: bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %IsNull.ref: %IsNull.type = name_ref IsNull, file.%IsNull.decl [concrete = constants.%IsNull] -// CHECK:STDOUT: %c.ref: %.30e = name_ref c, %c -// CHECK:STDOUT: %IsNull.specific_fn: = specific_function %IsNull.ref, @IsNull(constants.%C) [concrete = constants.%IsNull.specific_fn.164] +// CHECK:STDOUT: %c.ref: %.758 = name_ref c, %c +// CHECK:STDOUT: %IsNull.specific_fn: = specific_function %IsNull.ref, @IsNull(constants.%C) [concrete = constants.%IsNull.specific_fn.f42] // CHECK:STDOUT: %IsNull.call: init bool = call %IsNull.specific_fn(%c.ref) // CHECK:STDOUT: return %IsNull.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/builtins/pointer/make_null.carbon b/toolchain/check/testdata/builtins/pointer/make_null.carbon index 87fb39814ef1..4a4be8aad4fb 100644 --- a/toolchain/check/testdata/builtins/pointer/make_null.carbon +++ b/toolchain/check/testdata/builtins/pointer/make_null.carbon @@ -76,9 +76,9 @@ fn NotPointer() -> MakeUnformed({}) = "pointer.make_null"; // CHECK:STDOUT: %pattern_type.b42: type = pattern_type %.b2d [concrete] // CHECK:STDOUT: %MakeNullEmptyStruct.type: type = fn_type @MakeNullEmptyStruct [concrete] // CHECK:STDOUT: %MakeNullEmptyStruct: %MakeNullEmptyStruct.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.d6c: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.4f6: type = maybe_unformed_type %ptr.d6c [concrete] -// CHECK:STDOUT: %pattern_type.b82: type = pattern_type %.4f6 [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.758: type = maybe_unformed_type %ptr.6be [concrete] +// CHECK:STDOUT: %pattern_type.24c: type = pattern_type %.758 [concrete] // CHECK:STDOUT: %MakeNullC.type: type = fn_type @MakeNullC [concrete] // CHECK:STDOUT: %MakeNullC: %MakeNullC.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -100,19 +100,19 @@ fn NotPointer() -> MakeUnformed({}) = "pointer.make_null"; // CHECK:STDOUT: %.loc11_48.2: %.b2d = converted @__global_init.%MakeNullEmptyStruct.call, %.loc11_48.1 // CHECK:STDOUT: %s: %.b2d = value_binding s, %.loc11_48.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.b82 = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.24c = value_binding_pattern c [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc12_23.1: type = splice_block %.loc12_23.3 [concrete = constants.%.4f6] { +// CHECK:STDOUT: %.loc12_23.1: type = splice_block %.loc12_23.3 [concrete = constants.%.758] { // CHECK:STDOUT: %MakeUnformed.ref.loc12: %MakeUnformed.type = name_ref MakeUnformed, %MakeUnformed.decl [concrete = constants.%MakeUnformed] // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc12: type = ptr_type %C.ref [concrete = constants.%ptr.d6c] -// CHECK:STDOUT: %MakeUnformed.call.loc12: init type = call %MakeUnformed.ref.loc12(%ptr.loc12) [concrete = constants.%.4f6] -// CHECK:STDOUT: %.loc12_23.2: type = value_of_initializer %MakeUnformed.call.loc12 [concrete = constants.%.4f6] -// CHECK:STDOUT: %.loc12_23.3: type = converted %MakeUnformed.call.loc12, %.loc12_23.2 [concrete = constants.%.4f6] +// CHECK:STDOUT: %ptr.loc12: type = ptr_type %C.ref [concrete = constants.%ptr.6be] +// CHECK:STDOUT: %MakeUnformed.call.loc12: init type = call %MakeUnformed.ref.loc12(%ptr.loc12) [concrete = constants.%.758] +// CHECK:STDOUT: %.loc12_23.2: type = value_of_initializer %MakeUnformed.call.loc12 [concrete = constants.%.758] +// CHECK:STDOUT: %.loc12_23.3: type = converted %MakeUnformed.call.loc12, %.loc12_23.2 [concrete = constants.%.758] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc12_37.1: %.4f6 = value_of_initializer @__global_init.%MakeNullC.call -// CHECK:STDOUT: %.loc12_37.2: %.4f6 = converted @__global_init.%MakeNullC.call, %.loc12_37.1 -// CHECK:STDOUT: %c: %.4f6 = value_binding c, %.loc12_37.2 +// CHECK:STDOUT: %.loc12_37.1: %.758 = value_of_initializer @__global_init.%MakeNullC.call +// CHECK:STDOUT: %.loc12_37.2: %.758 = converted @__global_init.%MakeNullC.call, %.loc12_37.1 +// CHECK:STDOUT: %c: %.758 = value_binding c, %.loc12_37.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -120,7 +120,7 @@ fn NotPointer() -> MakeUnformed({}) = "pointer.make_null"; // CHECK:STDOUT: %MakeNullEmptyStruct.ref: %MakeNullEmptyStruct.type = name_ref MakeNullEmptyStruct, file.%MakeNullEmptyStruct.decl [concrete = constants.%MakeNullEmptyStruct] // CHECK:STDOUT: %MakeNullEmptyStruct.call: init %.b2d = call %MakeNullEmptyStruct.ref() // CHECK:STDOUT: %MakeNullC.ref: %MakeNullC.type = name_ref MakeNullC, file.%MakeNullC.decl [concrete = constants.%MakeNullC] -// CHECK:STDOUT: %MakeNullC.call: init %.4f6 = call %MakeNullC.ref() +// CHECK:STDOUT: %MakeNullC.call: init %.758 = call %MakeNullC.ref() // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -137,11 +137,11 @@ fn NotPointer() -> MakeUnformed({}) = "pointer.make_null"; // CHECK:STDOUT: %ptr.c28: type = ptr_type %empty_struct_type [concrete] // CHECK:STDOUT: %.b2d: type = maybe_unformed_type %ptr.c28 [concrete] // CHECK:STDOUT: %pattern_type.b42: type = pattern_type %.b2d [concrete] -// CHECK:STDOUT: %MakeNull.specific_fn.970: = specific_function %MakeNull, @MakeNull(%empty_struct_type) [concrete] -// CHECK:STDOUT: %ptr.66d: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.30e: type = maybe_unformed_type %ptr.66d [concrete] -// CHECK:STDOUT: %pattern_type.37e: type = pattern_type %.30e [concrete] -// CHECK:STDOUT: %MakeNull.specific_fn.ef2: = specific_function %MakeNull, @MakeNull(%C) [concrete] +// CHECK:STDOUT: %MakeNull.specific_fn.3a2: = specific_function %MakeNull, @MakeNull(%empty_struct_type) [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.758: type = maybe_unformed_type %ptr.6be [concrete] +// CHECK:STDOUT: %pattern_type.24c: type = pattern_type %.758 [concrete] +// CHECK:STDOUT: %MakeNull.specific_fn.1c8: = specific_function %MakeNull, @MakeNull(%C) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -161,19 +161,19 @@ fn NotPointer() -> MakeUnformed({}) = "pointer.make_null"; // CHECK:STDOUT: %.loc10_39.2: %.b2d = converted @__global_init.%MakeNull.call.loc10, %.loc10_39.1 // CHECK:STDOUT: %s: %.b2d = value_binding s, %.loc10_39.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.37e = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.24c = value_binding_pattern c [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc11_23.1: type = splice_block %.loc11_23.3 [concrete = constants.%.30e] { +// CHECK:STDOUT: %.loc11_23.1: type = splice_block %.loc11_23.3 [concrete = constants.%.758] { // CHECK:STDOUT: %MakeUnformed.ref.loc11: %MakeUnformed.type = name_ref MakeUnformed, %MakeUnformed.decl [concrete = constants.%MakeUnformed] // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc11: type = ptr_type %C.ref [concrete = constants.%ptr.66d] -// CHECK:STDOUT: %MakeUnformed.call.loc11: init type = call %MakeUnformed.ref.loc11(%ptr.loc11) [concrete = constants.%.30e] -// CHECK:STDOUT: %.loc11_23.2: type = value_of_initializer %MakeUnformed.call.loc11 [concrete = constants.%.30e] -// CHECK:STDOUT: %.loc11_23.3: type = converted %MakeUnformed.call.loc11, %.loc11_23.2 [concrete = constants.%.30e] +// CHECK:STDOUT: %ptr.loc11: type = ptr_type %C.ref [concrete = constants.%ptr.6be] +// CHECK:STDOUT: %MakeUnformed.call.loc11: init type = call %MakeUnformed.ref.loc11(%ptr.loc11) [concrete = constants.%.758] +// CHECK:STDOUT: %.loc11_23.2: type = value_of_initializer %MakeUnformed.call.loc11 [concrete = constants.%.758] +// CHECK:STDOUT: %.loc11_23.3: type = converted %MakeUnformed.call.loc11, %.loc11_23.2 [concrete = constants.%.758] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc11_37.1: %.30e = value_of_initializer @__global_init.%MakeNull.call.loc11 -// CHECK:STDOUT: %.loc11_37.2: %.30e = converted @__global_init.%MakeNull.call.loc11, %.loc11_37.1 -// CHECK:STDOUT: %c: %.30e = value_binding c, %.loc11_37.2 +// CHECK:STDOUT: %.loc11_37.1: %.758 = value_of_initializer @__global_init.%MakeNull.call.loc11 +// CHECK:STDOUT: %.loc11_37.2: %.758 = converted @__global_init.%MakeNull.call.loc11, %.loc11_37.1 +// CHECK:STDOUT: %c: %.758 = value_binding c, %.loc11_37.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -181,12 +181,12 @@ fn NotPointer() -> MakeUnformed({}) = "pointer.make_null"; // CHECK:STDOUT: %MakeNull.ref.loc10: %MakeNull.type = name_ref MakeNull, file.%MakeNull.decl [concrete = constants.%MakeNull] // CHECK:STDOUT: %.loc10_38: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc10_39: type = converted %.loc10_38, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %MakeNull.specific_fn.loc10: = specific_function %MakeNull.ref.loc10, @MakeNull(constants.%empty_struct_type) [concrete = constants.%MakeNull.specific_fn.970] +// CHECK:STDOUT: %MakeNull.specific_fn.loc10: = specific_function %MakeNull.ref.loc10, @MakeNull(constants.%empty_struct_type) [concrete = constants.%MakeNull.specific_fn.3a2] // CHECK:STDOUT: %MakeNull.call.loc10: init %.b2d = call %MakeNull.specific_fn.loc10() // CHECK:STDOUT: %MakeNull.ref.loc11: %MakeNull.type = name_ref MakeNull, file.%MakeNull.decl [concrete = constants.%MakeNull] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %MakeNull.specific_fn.loc11: = specific_function %MakeNull.ref.loc11, @MakeNull(constants.%C) [concrete = constants.%MakeNull.specific_fn.ef2] -// CHECK:STDOUT: %MakeNull.call.loc11: init %.30e = call %MakeNull.specific_fn.loc11() +// CHECK:STDOUT: %MakeNull.specific_fn.loc11: = specific_function %MakeNull.ref.loc11, @MakeNull(constants.%C) [concrete = constants.%MakeNull.specific_fn.1c8] +// CHECK:STDOUT: %MakeNull.call.loc11: init %.758 = call %MakeNull.specific_fn.loc11() // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/builtins/print/char.carbon b/toolchain/check/testdata/builtins/print/char.carbon index 0f98bb93b550..9eed50474166 100644 --- a/toolchain/check/testdata/builtins/print/char.carbon +++ b/toolchain/check/testdata/builtins/print/char.carbon @@ -29,22 +29,22 @@ fn Main() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %PrintChar.type.919: type = fn_type @PrintChar.loc15 [concrete] -// CHECK:STDOUT: %PrintChar.321: %PrintChar.type.919 = struct_value () [concrete] +// CHECK:STDOUT: %PrintChar.type.d9b: type = fn_type @PrintChar.loc15 [concrete] +// CHECK:STDOUT: %PrintChar.4c8: %PrintChar.type.d9b = struct_value () [concrete] // CHECK:STDOUT: %.75c: Core.CharLiteral = char_value U+0031 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %ImplicitAs.type.f44: type = facet_type <@ImplicitAs, @ImplicitAs(%char)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.805: = impl_witness imports.%ImplicitAs.impl_witness_table.fad [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.f44 = facet_value Core.CharLiteral, (%ImplicitAs.impl_witness.805) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.904: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%char, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.0ca3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.904, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.4fa: = impl_witness imports.%ImplicitAs.impl_witness_table.e28 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.f44 = facet_value Core.CharLiteral, (%ImplicitAs.impl_witness.4fa) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b40: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%char, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.dd0: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b40, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.CharLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert: %Core.CharLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert.bound.17b: = bound_method %.75c, %Core.CharLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %int_49: %char = int_value 49 [concrete] -// CHECK:STDOUT: %PrintChar.type.40c: type = fn_type @PrintChar.1 [concrete] -// CHECK:STDOUT: %PrintChar.bc3: %PrintChar.type.40c = struct_value () [concrete] +// CHECK:STDOUT: %PrintChar.type.d35: type = fn_type @PrintChar.1 [concrete] +// CHECK:STDOUT: %PrintChar.d31: %PrintChar.type.d35 = struct_value () [concrete] // CHECK:STDOUT: %.f8d: Core.CharLiteral = char_value U+0032 [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert.bound.e67: = bound_method %.f8d, %Core.CharLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %int_50: %char = int_value 50 [concrete] @@ -62,26 +62,26 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Char: type = import_ref Core//prelude/types/char, Char, loaded [concrete = constants.%char] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.f13: %Core.CharLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/char, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.fad = impl_witness_table (%Core.import_ref.f13), @Core.CharLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.PrintChar: %PrintChar.type.40c = import_ref Core//io, PrintChar, loaded [concrete = constants.%PrintChar.bc3] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.CharLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/char, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.e28 = impl_witness_table (%Core.import_ref.ade), @Core.CharLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.PrintChar: %PrintChar.type.d35 = import_ref Core//io, PrintChar, loaded [concrete = constants.%PrintChar.d31] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %PrintChar.ref.loc19: %PrintChar.type.919 = name_ref PrintChar, file.%PrintChar.decl [concrete = constants.%PrintChar.321] +// CHECK:STDOUT: %PrintChar.ref.loc19: %PrintChar.type.d9b = name_ref PrintChar, file.%PrintChar.decl [concrete = constants.%PrintChar.4c8] // CHECK:STDOUT: %.loc19_13.1: Core.CharLiteral = char_value U+0031 [concrete = constants.%.75c] -// CHECK:STDOUT: %impl.elem0.loc19: %.0ca3 = impl_witness_access constants.%ImplicitAs.impl_witness.805, element0 [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc19: %.dd0 = impl_witness_access constants.%ImplicitAs.impl_witness.4fa, element0 [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc19: = bound_method %.loc19_13.1, %impl.elem0.loc19 [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert.bound.17b] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %char = call %bound_method.loc19(%.loc19_13.1) [concrete = constants.%int_49] // CHECK:STDOUT: %.loc19_13.2: %char = value_of_initializer %Core.CharLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_49] // CHECK:STDOUT: %.loc19_13.3: %char = converted %.loc19_13.1, %.loc19_13.2 [concrete = constants.%int_49] // CHECK:STDOUT: %PrintChar.call.loc19: init %i32 = call %PrintChar.ref.loc19(%.loc19_13.3) // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %PrintChar.ref.loc20: %PrintChar.type.40c = name_ref PrintChar, imports.%Core.PrintChar [concrete = constants.%PrintChar.bc3] +// CHECK:STDOUT: %PrintChar.ref.loc20: %PrintChar.type.d35 = name_ref PrintChar, imports.%Core.PrintChar [concrete = constants.%PrintChar.d31] // CHECK:STDOUT: %.loc20_18.1: Core.CharLiteral = char_value U+0032 [concrete = constants.%.f8d] -// CHECK:STDOUT: %impl.elem0.loc20: %.0ca3 = impl_witness_access constants.%ImplicitAs.impl_witness.805, element0 [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc20: %.dd0 = impl_witness_access constants.%ImplicitAs.impl_witness.4fa, element0 [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc20: = bound_method %.loc20_18.1, %impl.elem0.loc20 [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert.bound.e67] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %char = call %bound_method.loc20(%.loc20_18.1) [concrete = constants.%int_50] // CHECK:STDOUT: %.loc20_18.2: %char = value_of_initializer %Core.CharLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_50] diff --git a/toolchain/check/testdata/builtins/print/int.carbon b/toolchain/check/testdata/builtins/print/int.carbon index 5e6beec59b3e..b9629edad7b7 100644 --- a/toolchain/check/testdata/builtins/print/int.carbon +++ b/toolchain/check/testdata/builtins/print/int.carbon @@ -29,31 +29,31 @@ fn Main() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %Print.type.c8d: type = fn_type @Print.loc15 [concrete] -// CHECK:STDOUT: %Print.896: %Print.type.c8d = struct_value () [concrete] +// CHECK:STDOUT: %Print.type.bc9: type = fn_type @Print.loc15 [concrete] +// CHECK:STDOUT: %Print.818: %Print.type.bc9 = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ddb: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ddb) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.724: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.fa3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.724, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Print.type.897: type = fn_type @Print.1 [concrete] -// CHECK:STDOUT: %Print.480: %Print.type.897 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Print.type.a10: type = fn_type @Print.1 [concrete] +// CHECK:STDOUT: %Print.2fc: %Print.type.a10 = struct_value () [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -66,34 +66,34 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.Print: %Print.type.897 = import_ref Core//io, Print, loaded [concrete = constants.%Print.480] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.Print: %Print.type.a10 = import_ref Core//io, Print, loaded [concrete = constants.%Print.2fc] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %Print.ref.loc19: %Print.type.c8d = name_ref Print, file.%Print.decl [concrete = constants.%Print.896] +// CHECK:STDOUT: %Print.ref.loc19: %Print.type.bc9 = name_ref Print, file.%Print.decl [concrete = constants.%Print.818] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc19: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc19_9.1: = bound_method %int_1, %impl.elem0.loc19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc19: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc19_9.1: = bound_method %int_1, %impl.elem0.loc19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc19_9.2: = bound_method %int_1, %specific_fn.loc19 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %i32 = call %bound_method.loc19_9.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_9.2: %i32 = converted %int_1, %.loc19_9.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc19_9.2: = bound_method %int_1, %specific_fn.loc19 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %i32 = call %bound_method.loc19_9.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_9.2: %i32 = converted %int_1, %.loc19_9.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %Print.call.loc19: init %empty_tuple.type = call %Print.ref.loc19(%.loc19_9.2) // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %Print.ref.loc20: %Print.type.897 = name_ref Print, imports.%Core.Print [concrete = constants.%Print.480] +// CHECK:STDOUT: %Print.ref.loc20: %Print.type.a10 = name_ref Print, imports.%Core.Print [concrete = constants.%Print.2fc] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc20: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc20_14.1: = bound_method %int_2, %impl.elem0.loc20 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0.loc20: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc20_14.1: = bound_method %int_2, %impl.elem0.loc20 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc20_14.2: = bound_method %int_2, %specific_fn.loc20 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %i32 = call %bound_method.loc20_14.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc20_14.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc20_14.2: %i32 = converted %int_2, %.loc20_14.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc20_14.2: = bound_method %int_2, %specific_fn.loc20 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %i32 = call %bound_method.loc20_14.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc20_14.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc20_14.2: %i32 = converted %int_2, %.loc20_14.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %Print.call.loc20: init %empty_tuple.type = call %Print.ref.loc20(%.loc20_14.2) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/builtins/read/char.carbon b/toolchain/check/testdata/builtins/read/char.carbon index e5586fd00db9..1746792f6866 100644 --- a/toolchain/check/testdata/builtins/read/char.carbon +++ b/toolchain/check/testdata/builtins/read/char.carbon @@ -30,11 +30,11 @@ fn Main() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %ReadChar.type.9c3: type = fn_type @ReadChar.loc4 [concrete] -// CHECK:STDOUT: %ReadChar.2f1: %ReadChar.type.9c3 = struct_value () [concrete] -// CHECK:STDOUT: %ReadChar.type.79d: type = fn_type @ReadChar.1 [concrete] -// CHECK:STDOUT: %ReadChar.9fd: %ReadChar.type.79d = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %ReadChar.type.ee2: type = fn_type @ReadChar.loc4 [concrete] +// CHECK:STDOUT: %ReadChar.192: %ReadChar.type.ee2 = struct_value () [concrete] +// CHECK:STDOUT: %ReadChar.type.413: type = fn_type @ReadChar.1 [concrete] +// CHECK:STDOUT: %ReadChar.367: %ReadChar.type.413 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -46,25 +46,25 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ReadChar: %ReadChar.type.79d = import_ref Core//io, ReadChar, loaded [concrete = constants.%ReadChar.9fd] +// CHECK:STDOUT: %Core.ReadChar: %ReadChar.type.413 = import_ref Core//io, ReadChar, loaded [concrete = constants.%ReadChar.367] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = value_binding_pattern n [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %ReadChar.ref.loc8: %ReadChar.type.9c3 = name_ref ReadChar, file.%ReadChar.decl [concrete = constants.%ReadChar.2f1] +// CHECK:STDOUT: %ReadChar.ref.loc8: %ReadChar.type.ee2 = name_ref ReadChar, file.%ReadChar.decl [concrete = constants.%ReadChar.192] // CHECK:STDOUT: %ReadChar.call.loc8: init %i32 = call %ReadChar.ref.loc8() // CHECK:STDOUT: %i32.loc8: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc8_32.1: %i32 = value_of_initializer %ReadChar.call.loc8 // CHECK:STDOUT: %.loc8_32.2: %i32 = converted %ReadChar.call.loc8, %.loc8_32.1 // CHECK:STDOUT: %n: %i32 = value_binding n, %.loc8_32.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %m.patt: %pattern_type.c6b = value_binding_pattern m [concrete] +// CHECK:STDOUT: %m.patt: %pattern_type.104 = value_binding_pattern m [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ReadChar.ref.loc9: %ReadChar.type.79d = name_ref ReadChar, imports.%Core.ReadChar [concrete = constants.%ReadChar.9fd] +// CHECK:STDOUT: %ReadChar.ref.loc9: %ReadChar.type.413 = name_ref ReadChar, imports.%Core.ReadChar [concrete = constants.%ReadChar.367] // CHECK:STDOUT: %ReadChar.call.loc9: init %i32 = call %ReadChar.ref.loc9() // CHECK:STDOUT: %i32.loc9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc9_37.1: %i32 = value_of_initializer %ReadChar.call.loc9 diff --git a/toolchain/check/testdata/choice/basic.carbon b/toolchain/check/testdata/choice/basic.carbon index 7ec72369487a..30766d783263 100644 --- a/toolchain/check/testdata/choice/basic.carbon +++ b/toolchain/check/testdata/choice/basic.carbon @@ -88,7 +88,7 @@ let never: Never = {}; // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.discriminant = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: %Always.val: %Always = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.7c8: ref %Always = temporary invalid, %Always.val [concrete] +// CHECK:STDOUT: %.d82: ref %Always = temporary invalid, %Always.val [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %Always [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -114,7 +114,7 @@ let never: Never = {}; // CHECK:STDOUT: %.loc6_1.8: init %empty_tuple.type to %.loc6_1.5 = in_place_init %.loc6_1.7 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_1.9: init %Always to %.loc6_1.4 = class_init (%.loc6_1.8) [concrete = constants.%Always.val] // CHECK:STDOUT: %.loc6_1.10: init %Always = converted %.loc6_1.3, %.loc6_1.9 [concrete = constants.%Always.val] -// CHECK:STDOUT: %.loc6_1.11: ref %Always = temporary %.loc6_1.4, %.loc6_1.10 [concrete = constants.%.7c8] +// CHECK:STDOUT: %.loc6_1.11: ref %Always = temporary %.loc6_1.4, %.loc6_1.10 [concrete = constants.%.d82] // CHECK:STDOUT: %.loc6_1.12: %Always = acquire_value %.loc6_1.11 [concrete = constants.%Always.val] // CHECK:STDOUT: %Sunny: %Always = value_binding Sunny, %.loc6_1.12 // CHECK:STDOUT: complete_type_witness = %complete_type @@ -139,186 +139,186 @@ let never: Never = {}; // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %u2: type = class_type @UInt, @UInt(%int_2.ecc) [concrete] // CHECK:STDOUT: %struct_type.discriminant: type = struct_type {.discriminant: %u2} [concrete] -// CHECK:STDOUT: %complete_type.3bd: = complete_type_witness %struct_type.discriminant [concrete] +// CHECK:STDOUT: %complete_type.fdb: = complete_type_witness %struct_type.discriminant [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.31b: type = facet_type <@ImplicitAs, @ImplicitAs(%u2)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.631: type = facet_type <@ImplicitAs, @ImplicitAs(%u2)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.a55: = impl_witness imports.%ImplicitAs.impl_witness_table.3ab, @Core.IntLiteral.as.ImplicitAs.impl(%int_2.ecc) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.680: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_2.ecc) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.4bb: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.680 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.31b = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.a55) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.4c9: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u2, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.bd0: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.4c9, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.754: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.4bb [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.4bb, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_2.ecc) [concrete] -// CHECK:STDOUT: %bound_method.d36: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.20b: %u2 = int_value 0 [concrete] -// CHECK:STDOUT: %struct.e0c: %struct_type.discriminant = struct_value (%int_0.20b) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.498: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.2ae: = impl_witness imports.%ImplicitAs.impl_witness_table.0c6, @Core.IntLiteral.as.ImplicitAs.impl(%int_2.ecc) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.d31: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_2.ecc) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.153: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.d31 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.631 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.2ae) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.54e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u2, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.e81: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.54e, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c3b: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.153 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.153, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_2.ecc) [concrete] +// CHECK:STDOUT: %bound_method.c76: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.59e: %u2 = int_value 0 [concrete] +// CHECK:STDOUT: %struct.90e: %struct_type.discriminant = struct_value (%int_0.59e) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.a58: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.dc5: %UInt.as.Copy.impl.Op.type.a58 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.573: = impl_witness imports.%Copy.impl_witness_table.a92, @UInt.as.Copy.impl(%int_2.ecc) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.773: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%int_2.ecc) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.414: %UInt.as.Copy.impl.Op.type.773 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %u2, (%Copy.impl_witness.573) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.95d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a87: type = fn_type_with_self_type %Copy.WithSelf.Op.type.95d, %Copy.facet [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.bound.4bc: = bound_method %int_0.20b, %UInt.as.Copy.impl.Op.414 [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.specific_fn: = specific_function %UInt.as.Copy.impl.Op.414, @UInt.as.Copy.impl.Op(%int_2.ecc) [concrete] -// CHECK:STDOUT: %bound_method.a64: = bound_method %int_0.20b, %UInt.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %Ordering.val.6df: %Ordering = struct_value (%int_0.20b) [concrete] -// CHECK:STDOUT: %.c1d: ref %Ordering = temporary invalid, %Ordering.val.6df [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.743: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.521: %UInt.as.Copy.impl.Op.type.743 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.60d: = impl_witness imports.%Copy.impl_witness_table.306, @UInt.as.Copy.impl(%int_2.ecc) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.3cf: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%int_2.ecc) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.2f2: %UInt.as.Copy.impl.Op.type.3cf = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %u2, (%Copy.impl_witness.60d) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.4bf: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.58f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.4bf, %Copy.facet [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.bound.901: = bound_method %int_0.59e, %UInt.as.Copy.impl.Op.2f2 [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.specific_fn: = specific_function %UInt.as.Copy.impl.Op.2f2, @UInt.as.Copy.impl.Op(%int_2.ecc) [concrete] +// CHECK:STDOUT: %bound_method.56e: = bound_method %int_0.59e, %UInt.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %Ordering.val.6b0: %Ordering = struct_value (%int_0.59e) [concrete] +// CHECK:STDOUT: %.864: ref %Ordering = temporary invalid, %Ordering.val.6b0 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.f15: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.4bb [concrete] -// CHECK:STDOUT: %bound_method.d37: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.518: %u2 = int_value 1 [concrete] -// CHECK:STDOUT: %struct.d49: %struct_type.discriminant = struct_value (%int_1.518) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.bound.671: = bound_method %int_1.518, %UInt.as.Copy.impl.Op.414 [concrete] -// CHECK:STDOUT: %bound_method.6c7: = bound_method %int_1.518, %UInt.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %Ordering.val.832: %Ordering = struct_value (%int_1.518) [concrete] -// CHECK:STDOUT: %.db1: ref %Ordering = temporary invalid, %Ordering.val.832 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.fa6: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.4bb [concrete] -// CHECK:STDOUT: %bound_method.1e6: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.a0c: %u2 = int_value 2 [concrete] -// CHECK:STDOUT: %struct.4b9: %struct_type.discriminant = struct_value (%int_2.a0c) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.bound.42c: = bound_method %int_2.a0c, %UInt.as.Copy.impl.Op.414 [concrete] -// CHECK:STDOUT: %bound_method.719: = bound_method %int_2.a0c, %UInt.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %Ordering.val.72e: %Ordering = struct_value (%int_2.a0c) [concrete] -// CHECK:STDOUT: %.38f: ref %Ordering = temporary invalid, %Ordering.val.72e [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.00c: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.153 [concrete] +// CHECK:STDOUT: %bound_method.337: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.b2e: %u2 = int_value 1 [concrete] +// CHECK:STDOUT: %struct.f89: %struct_type.discriminant = struct_value (%int_1.b2e) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.bound.aa3: = bound_method %int_1.b2e, %UInt.as.Copy.impl.Op.2f2 [concrete] +// CHECK:STDOUT: %bound_method.187: = bound_method %int_1.b2e, %UInt.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %Ordering.val.82c: %Ordering = struct_value (%int_1.b2e) [concrete] +// CHECK:STDOUT: %.3d5: ref %Ordering = temporary invalid, %Ordering.val.82c [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.623: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.153 [concrete] +// CHECK:STDOUT: %bound_method.139: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.2e7: %u2 = int_value 2 [concrete] +// CHECK:STDOUT: %struct.2aa: %struct_type.discriminant = struct_value (%int_2.2e7) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.bound.dd4: = bound_method %int_2.2e7, %UInt.as.Copy.impl.Op.2f2 [concrete] +// CHECK:STDOUT: %bound_method.f03: = bound_method %int_2.2e7, %UInt.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %Ordering.val.3c2: %Ordering = struct_value (%int_2.2e7) [concrete] +// CHECK:STDOUT: %.164: ref %Ordering = temporary invalid, %Ordering.val.3c2 [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8d9: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.4bb [concrete] -// CHECK:STDOUT: %bound_method.459: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.c06: %u2 = int_value 3 [concrete] -// CHECK:STDOUT: %struct.b95: %struct_type.discriminant = struct_value (%int_3.c06) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.bound.e15: = bound_method %int_3.c06, %UInt.as.Copy.impl.Op.414 [concrete] -// CHECK:STDOUT: %bound_method.00d: = bound_method %int_3.c06, %UInt.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %Ordering.val.509: %Ordering = struct_value (%int_3.c06) [concrete] -// CHECK:STDOUT: %.8fd: ref %Ordering = temporary invalid, %Ordering.val.509 [concrete] -// CHECK:STDOUT: %pattern_type.b64: type = pattern_type %Ordering [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.23e: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.153 [concrete] +// CHECK:STDOUT: %bound_method.5aa: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.14f: %u2 = int_value 3 [concrete] +// CHECK:STDOUT: %struct.6c3: %struct_type.discriminant = struct_value (%int_3.14f) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.bound.fd5: = bound_method %int_3.14f, %UInt.as.Copy.impl.Op.2f2 [concrete] +// CHECK:STDOUT: %bound_method.285: = bound_method %int_3.14f, %UInt.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %Ordering.val.4db: %Ordering = struct_value (%int_3.14f) [concrete] +// CHECK:STDOUT: %.185: ref %Ordering = temporary invalid, %Ordering.val.4db [concrete] +// CHECK:STDOUT: %pattern_type.a68: type = pattern_type %Ordering [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.315: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3ab = impl_witness_table (%Core.import_ref.315), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.ca7: @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op.type (%UInt.as.Copy.impl.Op.type.a58) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op (constants.%UInt.as.Copy.impl.Op.dc5)] -// CHECK:STDOUT: %Copy.impl_witness_table.a92 = impl_witness_table (%Core.import_ref.ca7), @UInt.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.e9f: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.498)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0c6 = impl_witness_table (%Core.import_ref.e9f), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.3cf: @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op.type (%UInt.as.Copy.impl.Op.type.743) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op (constants.%UInt.as.Copy.impl.Op.521)] +// CHECK:STDOUT: %Copy.impl_witness_table.306 = impl_witness_table (%Core.import_ref.3cf), @UInt.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %Ordering.decl: type = class_decl @Ordering [concrete = constants.%Ordering] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %less.patt: %pattern_type.b64 = value_binding_pattern less [concrete] +// CHECK:STDOUT: %less.patt: %pattern_type.a68 = value_binding_pattern less [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Ordering.ref.loc11: type = name_ref Ordering, %Ordering.decl [concrete = constants.%Ordering] // CHECK:STDOUT: %less: %Ordering = value_binding less, @__global_init.%Less.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %equiv.patt: %pattern_type.b64 = value_binding_pattern equiv [concrete] +// CHECK:STDOUT: %equiv.patt: %pattern_type.a68 = value_binding_pattern equiv [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Ordering.ref.loc12: type = name_ref Ordering, %Ordering.decl [concrete = constants.%Ordering] // CHECK:STDOUT: %equiv: %Ordering = value_binding equiv, @__global_init.%Equivalent.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %greater.patt: %pattern_type.b64 = value_binding_pattern greater [concrete] +// CHECK:STDOUT: %greater.patt: %pattern_type.a68 = value_binding_pattern greater [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Ordering.ref.loc13: type = name_ref Ordering, %Ordering.decl [concrete = constants.%Ordering] // CHECK:STDOUT: %greater: %Ordering = value_binding greater, @__global_init.%Greater.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %inc.patt: %pattern_type.b64 = value_binding_pattern inc [concrete] +// CHECK:STDOUT: %inc.patt: %pattern_type.a68 = value_binding_pattern inc [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Ordering.ref.loc14: type = name_ref Ordering, %Ordering.decl [concrete = constants.%Ordering] // CHECK:STDOUT: %inc: %Ordering = value_binding inc, @__global_init.%Incomparable.ref // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Ordering { -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.discriminant [concrete = constants.%complete_type.3bd] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.discriminant [concrete = constants.%complete_type.fdb] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc5_7.1: %.bd0 = impl_witness_access constants.%ImplicitAs.impl_witness.a55, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.4bb] -// CHECK:STDOUT: %bound_method.loc5_7.1: = bound_method %int_0, %impl.elem0.loc5_7.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.754] +// CHECK:STDOUT: %impl.elem0.loc5_7.1: %.e81 = impl_witness_access constants.%ImplicitAs.impl_witness.2ae, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.153] +// CHECK:STDOUT: %bound_method.loc5_7.1: = bound_method %int_0, %impl.elem0.loc5_7.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c3b] // CHECK:STDOUT: %specific_fn.loc5_7.1: = specific_function %impl.elem0.loc5_7.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_2.ecc) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc5_7.2: = bound_method %int_0, %specific_fn.loc5_7.1 [concrete = constants.%bound_method.d36] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5: init %u2 = call %bound_method.loc5_7.2(%int_0) [concrete = constants.%int_0.20b] -// CHECK:STDOUT: %.loc5_7.1: %u2 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5 [concrete = constants.%int_0.20b] -// CHECK:STDOUT: %.loc5_7.2: %u2 = converted %int_0, %.loc5_7.1 [concrete = constants.%int_0.20b] -// CHECK:STDOUT: %.loc5_7.3: %struct_type.discriminant = struct_literal (%.loc5_7.2) [concrete = constants.%struct.e0c] -// CHECK:STDOUT: %impl.elem0.loc5_7.2: %.a87 = impl_witness_access constants.%Copy.impl_witness.573, element0 [concrete = constants.%UInt.as.Copy.impl.Op.414] -// CHECK:STDOUT: %bound_method.loc5_7.3: = bound_method %.loc5_7.2, %impl.elem0.loc5_7.2 [concrete = constants.%UInt.as.Copy.impl.Op.bound.4bc] +// CHECK:STDOUT: %bound_method.loc5_7.2: = bound_method %int_0, %specific_fn.loc5_7.1 [concrete = constants.%bound_method.c76] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5: init %u2 = call %bound_method.loc5_7.2(%int_0) [concrete = constants.%int_0.59e] +// CHECK:STDOUT: %.loc5_7.1: %u2 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5 [concrete = constants.%int_0.59e] +// CHECK:STDOUT: %.loc5_7.2: %u2 = converted %int_0, %.loc5_7.1 [concrete = constants.%int_0.59e] +// CHECK:STDOUT: %.loc5_7.3: %struct_type.discriminant = struct_literal (%.loc5_7.2) [concrete = constants.%struct.90e] +// CHECK:STDOUT: %impl.elem0.loc5_7.2: %.58f = impl_witness_access constants.%Copy.impl_witness.60d, element0 [concrete = constants.%UInt.as.Copy.impl.Op.2f2] +// CHECK:STDOUT: %bound_method.loc5_7.3: = bound_method %.loc5_7.2, %impl.elem0.loc5_7.2 [concrete = constants.%UInt.as.Copy.impl.Op.bound.901] // CHECK:STDOUT: %specific_fn.loc5_7.2: = specific_function %impl.elem0.loc5_7.2, @UInt.as.Copy.impl.Op(constants.%int_2.ecc) [concrete = constants.%UInt.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc5_7.4: = bound_method %.loc5_7.2, %specific_fn.loc5_7.2 [concrete = constants.%bound_method.a64] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.call.loc5: init %u2 = call %bound_method.loc5_7.4(%.loc5_7.2) [concrete = constants.%int_0.20b] +// CHECK:STDOUT: %bound_method.loc5_7.4: = bound_method %.loc5_7.2, %specific_fn.loc5_7.2 [concrete = constants.%bound_method.56e] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.call.loc5: init %u2 = call %bound_method.loc5_7.4(%.loc5_7.2) [concrete = constants.%int_0.59e] // CHECK:STDOUT: %.loc5_7.4: ref %Ordering = temporary_storage // CHECK:STDOUT: %.loc5_7.5: ref %u2 = class_element_access %.loc5_7.4, element0 -// CHECK:STDOUT: %.loc5_7.6: init %u2 to %.loc5_7.5 = in_place_init %UInt.as.Copy.impl.Op.call.loc5 [concrete = constants.%int_0.20b] -// CHECK:STDOUT: %.loc5_7.7: init %Ordering to %.loc5_7.4 = class_init (%.loc5_7.6) [concrete = constants.%Ordering.val.6df] -// CHECK:STDOUT: %.loc5_7.8: init %Ordering = converted %.loc5_7.3, %.loc5_7.7 [concrete = constants.%Ordering.val.6df] -// CHECK:STDOUT: %.loc5_7.9: ref %Ordering = temporary %.loc5_7.4, %.loc5_7.8 [concrete = constants.%.c1d] -// CHECK:STDOUT: %.loc5_7.10: %Ordering = acquire_value %.loc5_7.9 [concrete = constants.%Ordering.val.6df] +// CHECK:STDOUT: %.loc5_7.6: init %u2 to %.loc5_7.5 = in_place_init %UInt.as.Copy.impl.Op.call.loc5 [concrete = constants.%int_0.59e] +// CHECK:STDOUT: %.loc5_7.7: init %Ordering to %.loc5_7.4 = class_init (%.loc5_7.6) [concrete = constants.%Ordering.val.6b0] +// CHECK:STDOUT: %.loc5_7.8: init %Ordering = converted %.loc5_7.3, %.loc5_7.7 [concrete = constants.%Ordering.val.6b0] +// CHECK:STDOUT: %.loc5_7.9: ref %Ordering = temporary %.loc5_7.4, %.loc5_7.8 [concrete = constants.%.864] +// CHECK:STDOUT: %.loc5_7.10: %Ordering = acquire_value %.loc5_7.9 [concrete = constants.%Ordering.val.6b0] // CHECK:STDOUT: %Less: %Ordering = value_binding Less, %.loc5_7.10 // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc6_13.1: %.bd0 = impl_witness_access constants.%ImplicitAs.impl_witness.a55, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.4bb] -// CHECK:STDOUT: %bound_method.loc6_13.1: = bound_method %int_1, %impl.elem0.loc6_13.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.f15] +// CHECK:STDOUT: %impl.elem0.loc6_13.1: %.e81 = impl_witness_access constants.%ImplicitAs.impl_witness.2ae, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.153] +// CHECK:STDOUT: %bound_method.loc6_13.1: = bound_method %int_1, %impl.elem0.loc6_13.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.00c] // CHECK:STDOUT: %specific_fn.loc6_13.1: = specific_function %impl.elem0.loc6_13.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_2.ecc) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_13.2: = bound_method %int_1, %specific_fn.loc6_13.1 [concrete = constants.%bound_method.d37] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %u2 = call %bound_method.loc6_13.2(%int_1) [concrete = constants.%int_1.518] -// CHECK:STDOUT: %.loc6_13.1: %u2 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_1.518] -// CHECK:STDOUT: %.loc6_13.2: %u2 = converted %int_1, %.loc6_13.1 [concrete = constants.%int_1.518] -// CHECK:STDOUT: %.loc6_13.3: %struct_type.discriminant = struct_literal (%.loc6_13.2) [concrete = constants.%struct.d49] -// CHECK:STDOUT: %impl.elem0.loc6_13.2: %.a87 = impl_witness_access constants.%Copy.impl_witness.573, element0 [concrete = constants.%UInt.as.Copy.impl.Op.414] -// CHECK:STDOUT: %bound_method.loc6_13.3: = bound_method %.loc6_13.2, %impl.elem0.loc6_13.2 [concrete = constants.%UInt.as.Copy.impl.Op.bound.671] +// CHECK:STDOUT: %bound_method.loc6_13.2: = bound_method %int_1, %specific_fn.loc6_13.1 [concrete = constants.%bound_method.337] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %u2 = call %bound_method.loc6_13.2(%int_1) [concrete = constants.%int_1.b2e] +// CHECK:STDOUT: %.loc6_13.1: %u2 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_1.b2e] +// CHECK:STDOUT: %.loc6_13.2: %u2 = converted %int_1, %.loc6_13.1 [concrete = constants.%int_1.b2e] +// CHECK:STDOUT: %.loc6_13.3: %struct_type.discriminant = struct_literal (%.loc6_13.2) [concrete = constants.%struct.f89] +// CHECK:STDOUT: %impl.elem0.loc6_13.2: %.58f = impl_witness_access constants.%Copy.impl_witness.60d, element0 [concrete = constants.%UInt.as.Copy.impl.Op.2f2] +// CHECK:STDOUT: %bound_method.loc6_13.3: = bound_method %.loc6_13.2, %impl.elem0.loc6_13.2 [concrete = constants.%UInt.as.Copy.impl.Op.bound.aa3] // CHECK:STDOUT: %specific_fn.loc6_13.2: = specific_function %impl.elem0.loc6_13.2, @UInt.as.Copy.impl.Op(constants.%int_2.ecc) [concrete = constants.%UInt.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_13.4: = bound_method %.loc6_13.2, %specific_fn.loc6_13.2 [concrete = constants.%bound_method.6c7] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.call.loc6: init %u2 = call %bound_method.loc6_13.4(%.loc6_13.2) [concrete = constants.%int_1.518] +// CHECK:STDOUT: %bound_method.loc6_13.4: = bound_method %.loc6_13.2, %specific_fn.loc6_13.2 [concrete = constants.%bound_method.187] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.call.loc6: init %u2 = call %bound_method.loc6_13.4(%.loc6_13.2) [concrete = constants.%int_1.b2e] // CHECK:STDOUT: %.loc6_13.4: ref %Ordering = temporary_storage // CHECK:STDOUT: %.loc6_13.5: ref %u2 = class_element_access %.loc6_13.4, element0 -// CHECK:STDOUT: %.loc6_13.6: init %u2 to %.loc6_13.5 = in_place_init %UInt.as.Copy.impl.Op.call.loc6 [concrete = constants.%int_1.518] -// CHECK:STDOUT: %.loc6_13.7: init %Ordering to %.loc6_13.4 = class_init (%.loc6_13.6) [concrete = constants.%Ordering.val.832] -// CHECK:STDOUT: %.loc6_13.8: init %Ordering = converted %.loc6_13.3, %.loc6_13.7 [concrete = constants.%Ordering.val.832] -// CHECK:STDOUT: %.loc6_13.9: ref %Ordering = temporary %.loc6_13.4, %.loc6_13.8 [concrete = constants.%.db1] -// CHECK:STDOUT: %.loc6_13.10: %Ordering = acquire_value %.loc6_13.9 [concrete = constants.%Ordering.val.832] +// CHECK:STDOUT: %.loc6_13.6: init %u2 to %.loc6_13.5 = in_place_init %UInt.as.Copy.impl.Op.call.loc6 [concrete = constants.%int_1.b2e] +// CHECK:STDOUT: %.loc6_13.7: init %Ordering to %.loc6_13.4 = class_init (%.loc6_13.6) [concrete = constants.%Ordering.val.82c] +// CHECK:STDOUT: %.loc6_13.8: init %Ordering = converted %.loc6_13.3, %.loc6_13.7 [concrete = constants.%Ordering.val.82c] +// CHECK:STDOUT: %.loc6_13.9: ref %Ordering = temporary %.loc6_13.4, %.loc6_13.8 [concrete = constants.%.3d5] +// CHECK:STDOUT: %.loc6_13.10: %Ordering = acquire_value %.loc6_13.9 [concrete = constants.%Ordering.val.82c] // CHECK:STDOUT: %Equivalent: %Ordering = value_binding Equivalent, %.loc6_13.10 // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc7_10.1: %.bd0 = impl_witness_access constants.%ImplicitAs.impl_witness.a55, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.4bb] -// CHECK:STDOUT: %bound_method.loc7_10.1: = bound_method %int_2, %impl.elem0.loc7_10.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.fa6] +// CHECK:STDOUT: %impl.elem0.loc7_10.1: %.e81 = impl_witness_access constants.%ImplicitAs.impl_witness.2ae, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.153] +// CHECK:STDOUT: %bound_method.loc7_10.1: = bound_method %int_2, %impl.elem0.loc7_10.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.623] // CHECK:STDOUT: %specific_fn.loc7_10.1: = specific_function %impl.elem0.loc7_10.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_2.ecc) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_10.2: = bound_method %int_2, %specific_fn.loc7_10.1 [concrete = constants.%bound_method.1e6] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %u2 = call %bound_method.loc7_10.2(%int_2) [concrete = constants.%int_2.a0c] -// CHECK:STDOUT: %.loc7_10.1: %u2 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_2.a0c] -// CHECK:STDOUT: %.loc7_10.2: %u2 = converted %int_2, %.loc7_10.1 [concrete = constants.%int_2.a0c] -// CHECK:STDOUT: %.loc7_10.3: %struct_type.discriminant = struct_literal (%.loc7_10.2) [concrete = constants.%struct.4b9] -// CHECK:STDOUT: %impl.elem0.loc7_10.2: %.a87 = impl_witness_access constants.%Copy.impl_witness.573, element0 [concrete = constants.%UInt.as.Copy.impl.Op.414] -// CHECK:STDOUT: %bound_method.loc7_10.3: = bound_method %.loc7_10.2, %impl.elem0.loc7_10.2 [concrete = constants.%UInt.as.Copy.impl.Op.bound.42c] +// CHECK:STDOUT: %bound_method.loc7_10.2: = bound_method %int_2, %specific_fn.loc7_10.1 [concrete = constants.%bound_method.139] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %u2 = call %bound_method.loc7_10.2(%int_2) [concrete = constants.%int_2.2e7] +// CHECK:STDOUT: %.loc7_10.1: %u2 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_2.2e7] +// CHECK:STDOUT: %.loc7_10.2: %u2 = converted %int_2, %.loc7_10.1 [concrete = constants.%int_2.2e7] +// CHECK:STDOUT: %.loc7_10.3: %struct_type.discriminant = struct_literal (%.loc7_10.2) [concrete = constants.%struct.2aa] +// CHECK:STDOUT: %impl.elem0.loc7_10.2: %.58f = impl_witness_access constants.%Copy.impl_witness.60d, element0 [concrete = constants.%UInt.as.Copy.impl.Op.2f2] +// CHECK:STDOUT: %bound_method.loc7_10.3: = bound_method %.loc7_10.2, %impl.elem0.loc7_10.2 [concrete = constants.%UInt.as.Copy.impl.Op.bound.dd4] // CHECK:STDOUT: %specific_fn.loc7_10.2: = specific_function %impl.elem0.loc7_10.2, @UInt.as.Copy.impl.Op(constants.%int_2.ecc) [concrete = constants.%UInt.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_10.4: = bound_method %.loc7_10.2, %specific_fn.loc7_10.2 [concrete = constants.%bound_method.719] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.call.loc7: init %u2 = call %bound_method.loc7_10.4(%.loc7_10.2) [concrete = constants.%int_2.a0c] +// CHECK:STDOUT: %bound_method.loc7_10.4: = bound_method %.loc7_10.2, %specific_fn.loc7_10.2 [concrete = constants.%bound_method.f03] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.call.loc7: init %u2 = call %bound_method.loc7_10.4(%.loc7_10.2) [concrete = constants.%int_2.2e7] // CHECK:STDOUT: %.loc7_10.4: ref %Ordering = temporary_storage // CHECK:STDOUT: %.loc7_10.5: ref %u2 = class_element_access %.loc7_10.4, element0 -// CHECK:STDOUT: %.loc7_10.6: init %u2 to %.loc7_10.5 = in_place_init %UInt.as.Copy.impl.Op.call.loc7 [concrete = constants.%int_2.a0c] -// CHECK:STDOUT: %.loc7_10.7: init %Ordering to %.loc7_10.4 = class_init (%.loc7_10.6) [concrete = constants.%Ordering.val.72e] -// CHECK:STDOUT: %.loc7_10.8: init %Ordering = converted %.loc7_10.3, %.loc7_10.7 [concrete = constants.%Ordering.val.72e] -// CHECK:STDOUT: %.loc7_10.9: ref %Ordering = temporary %.loc7_10.4, %.loc7_10.8 [concrete = constants.%.38f] -// CHECK:STDOUT: %.loc7_10.10: %Ordering = acquire_value %.loc7_10.9 [concrete = constants.%Ordering.val.72e] +// CHECK:STDOUT: %.loc7_10.6: init %u2 to %.loc7_10.5 = in_place_init %UInt.as.Copy.impl.Op.call.loc7 [concrete = constants.%int_2.2e7] +// CHECK:STDOUT: %.loc7_10.7: init %Ordering to %.loc7_10.4 = class_init (%.loc7_10.6) [concrete = constants.%Ordering.val.3c2] +// CHECK:STDOUT: %.loc7_10.8: init %Ordering = converted %.loc7_10.3, %.loc7_10.7 [concrete = constants.%Ordering.val.3c2] +// CHECK:STDOUT: %.loc7_10.9: ref %Ordering = temporary %.loc7_10.4, %.loc7_10.8 [concrete = constants.%.164] +// CHECK:STDOUT: %.loc7_10.10: %Ordering = acquire_value %.loc7_10.9 [concrete = constants.%Ordering.val.3c2] // CHECK:STDOUT: %Greater: %Ordering = value_binding Greater, %.loc7_10.10 // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc9_1.1: %.bd0 = impl_witness_access constants.%ImplicitAs.impl_witness.a55, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.4bb] -// CHECK:STDOUT: %bound_method.loc9_1.1: = bound_method %int_3, %impl.elem0.loc9_1.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8d9] +// CHECK:STDOUT: %impl.elem0.loc9_1.1: %.e81 = impl_witness_access constants.%ImplicitAs.impl_witness.2ae, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.153] +// CHECK:STDOUT: %bound_method.loc9_1.1: = bound_method %int_3, %impl.elem0.loc9_1.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.23e] // CHECK:STDOUT: %specific_fn.loc9_1.1: = specific_function %impl.elem0.loc9_1.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_2.ecc) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_1.2: = bound_method %int_3, %specific_fn.loc9_1.1 [concrete = constants.%bound_method.459] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %u2 = call %bound_method.loc9_1.2(%int_3) [concrete = constants.%int_3.c06] -// CHECK:STDOUT: %.loc9_1.1: %u2 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_3.c06] -// CHECK:STDOUT: %.loc9_1.2: %u2 = converted %int_3, %.loc9_1.1 [concrete = constants.%int_3.c06] -// CHECK:STDOUT: %.loc9_1.3: %struct_type.discriminant = struct_literal (%.loc9_1.2) [concrete = constants.%struct.b95] -// CHECK:STDOUT: %impl.elem0.loc9_1.2: %.a87 = impl_witness_access constants.%Copy.impl_witness.573, element0 [concrete = constants.%UInt.as.Copy.impl.Op.414] -// CHECK:STDOUT: %bound_method.loc9_1.3: = bound_method %.loc9_1.2, %impl.elem0.loc9_1.2 [concrete = constants.%UInt.as.Copy.impl.Op.bound.e15] +// CHECK:STDOUT: %bound_method.loc9_1.2: = bound_method %int_3, %specific_fn.loc9_1.1 [concrete = constants.%bound_method.5aa] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %u2 = call %bound_method.loc9_1.2(%int_3) [concrete = constants.%int_3.14f] +// CHECK:STDOUT: %.loc9_1.1: %u2 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_3.14f] +// CHECK:STDOUT: %.loc9_1.2: %u2 = converted %int_3, %.loc9_1.1 [concrete = constants.%int_3.14f] +// CHECK:STDOUT: %.loc9_1.3: %struct_type.discriminant = struct_literal (%.loc9_1.2) [concrete = constants.%struct.6c3] +// CHECK:STDOUT: %impl.elem0.loc9_1.2: %.58f = impl_witness_access constants.%Copy.impl_witness.60d, element0 [concrete = constants.%UInt.as.Copy.impl.Op.2f2] +// CHECK:STDOUT: %bound_method.loc9_1.3: = bound_method %.loc9_1.2, %impl.elem0.loc9_1.2 [concrete = constants.%UInt.as.Copy.impl.Op.bound.fd5] // CHECK:STDOUT: %specific_fn.loc9_1.2: = specific_function %impl.elem0.loc9_1.2, @UInt.as.Copy.impl.Op(constants.%int_2.ecc) [concrete = constants.%UInt.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_1.4: = bound_method %.loc9_1.2, %specific_fn.loc9_1.2 [concrete = constants.%bound_method.00d] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.call.loc9: init %u2 = call %bound_method.loc9_1.4(%.loc9_1.2) [concrete = constants.%int_3.c06] +// CHECK:STDOUT: %bound_method.loc9_1.4: = bound_method %.loc9_1.2, %specific_fn.loc9_1.2 [concrete = constants.%bound_method.285] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.call.loc9: init %u2 = call %bound_method.loc9_1.4(%.loc9_1.2) [concrete = constants.%int_3.14f] // CHECK:STDOUT: %.loc9_1.4: ref %Ordering = temporary_storage // CHECK:STDOUT: %.loc9_1.5: ref %u2 = class_element_access %.loc9_1.4, element0 -// CHECK:STDOUT: %.loc9_1.6: init %u2 to %.loc9_1.5 = in_place_init %UInt.as.Copy.impl.Op.call.loc9 [concrete = constants.%int_3.c06] -// CHECK:STDOUT: %.loc9_1.7: init %Ordering to %.loc9_1.4 = class_init (%.loc9_1.6) [concrete = constants.%Ordering.val.509] -// CHECK:STDOUT: %.loc9_1.8: init %Ordering = converted %.loc9_1.3, %.loc9_1.7 [concrete = constants.%Ordering.val.509] -// CHECK:STDOUT: %.loc9_1.9: ref %Ordering = temporary %.loc9_1.4, %.loc9_1.8 [concrete = constants.%.8fd] -// CHECK:STDOUT: %.loc9_1.10: %Ordering = acquire_value %.loc9_1.9 [concrete = constants.%Ordering.val.509] +// CHECK:STDOUT: %.loc9_1.6: init %u2 to %.loc9_1.5 = in_place_init %UInt.as.Copy.impl.Op.call.loc9 [concrete = constants.%int_3.14f] +// CHECK:STDOUT: %.loc9_1.7: init %Ordering to %.loc9_1.4 = class_init (%.loc9_1.6) [concrete = constants.%Ordering.val.4db] +// CHECK:STDOUT: %.loc9_1.8: init %Ordering = converted %.loc9_1.3, %.loc9_1.7 [concrete = constants.%Ordering.val.4db] +// CHECK:STDOUT: %.loc9_1.9: ref %Ordering = temporary %.loc9_1.4, %.loc9_1.8 [concrete = constants.%.185] +// CHECK:STDOUT: %.loc9_1.10: %Ordering = acquire_value %.loc9_1.9 [concrete = constants.%Ordering.val.4db] // CHECK:STDOUT: %Incomparable: %Ordering = value_binding Incomparable, %.loc9_1.10 // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: diff --git a/toolchain/check/testdata/choice/generic.carbon b/toolchain/check/testdata/choice/generic.carbon index 6b3e49241df9..0fc4661e7aac 100644 --- a/toolchain/check/testdata/choice/generic.carbon +++ b/toolchain/check/testdata/choice/generic.carbon @@ -33,7 +33,7 @@ choice Always(T:! type) { // CHECK:STDOUT: %struct: %struct_type.discriminant = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %Always [symbolic] // CHECK:STDOUT: %Always.val: %Always = struct_value (%empty_tuple) [symbolic] -// CHECK:STDOUT: %.78f: ref %Always = temporary invalid, %Always.val [symbolic] +// CHECK:STDOUT: %.b8b: ref %Always = temporary invalid, %Always.val [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -55,7 +55,7 @@ choice Always(T:! type) { // CHECK:STDOUT: %Always: type = class_type @Always, @Always(%T.loc14_16.1) [symbolic = %Always (constants.%Always)] // CHECK:STDOUT: %require_complete: = require_complete_type %Always [symbolic = %require_complete (constants.%require_complete)] // CHECK:STDOUT: %Always.val: @Always.%Always (%Always) = struct_value (constants.%empty_tuple) [symbolic = %Always.val (constants.%Always.val)] -// CHECK:STDOUT: %.loc16_1.13: ref @Always.%Always (%Always) = temporary invalid, %Always.val [symbolic = %.loc16_1.13 (constants.%.78f)] +// CHECK:STDOUT: %.loc16_1.13: ref @Always.%Always (%Always) = temporary invalid, %Always.val [symbolic = %.loc16_1.13 (constants.%.b8b)] // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.discriminant [concrete = constants.%complete_type] @@ -70,7 +70,7 @@ choice Always(T:! type) { // CHECK:STDOUT: %.loc16_1.8: init %empty_tuple.type to %.loc16_1.5 = in_place_init %.loc16_1.7 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc16_1.9: init @Always.%Always (%Always) to %.loc16_1.4 = class_init (%.loc16_1.8) [symbolic = %Always.val (constants.%Always.val)] // CHECK:STDOUT: %.loc16_1.10: init @Always.%Always (%Always) = converted %.loc16_1.3, %.loc16_1.9 [symbolic = %Always.val (constants.%Always.val)] -// CHECK:STDOUT: %.loc16_1.11: ref @Always.%Always (%Always) = temporary %.loc16_1.4, %.loc16_1.10 [symbolic = %.loc16_1.13 (constants.%.78f)] +// CHECK:STDOUT: %.loc16_1.11: ref @Always.%Always (%Always) = temporary %.loc16_1.4, %.loc16_1.10 [symbolic = %.loc16_1.13 (constants.%.b8b)] // CHECK:STDOUT: %.loc16_1.12: @Always.%Always (%Always) = acquire_value %.loc16_1.11 [symbolic = %Always.val (constants.%Always.val)] // CHECK:STDOUT: %Sunny: @Always.%Always (%Always) = value_binding Sunny, %.loc16_1.12 // CHECK:STDOUT: complete_type_witness = %complete_type diff --git a/toolchain/check/testdata/class/abstract/abstract.carbon b/toolchain/check/testdata/class/abstract/abstract.carbon index c7e36f2b051d..744c2ca45ca0 100644 --- a/toolchain/check/testdata/class/abstract/abstract.carbon +++ b/toolchain/check/testdata/class/abstract/abstract.carbon @@ -549,19 +549,19 @@ fn CallReturnAbstract() { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] -// CHECK:STDOUT: %Derived.elem.751: type = unbound_element_type %Derived, %Abstract [concrete] +// CHECK:STDOUT: %Derived.elem.cdb: type = unbound_element_type %Derived, %Abstract [concrete] // CHECK:STDOUT: %empty_struct.a40: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %Derived.elem.340: type = unbound_element_type %Derived, %empty_struct_type [concrete] -// CHECK:STDOUT: %struct_type.base.d.5e1: type = struct_type {.base: %Abstract, .d: %empty_struct_type} [concrete] -// CHECK:STDOUT: %complete_type.ce4: = complete_type_witness %struct_type.base.d.5e1 [concrete] -// CHECK:STDOUT: %.ab4: Core.Form = init_form %Derived [concrete] -// CHECK:STDOUT: %pattern_type.aa6: type = pattern_type %Derived [concrete] +// CHECK:STDOUT: %Derived.elem.11a: type = unbound_element_type %Derived, %empty_struct_type [concrete] +// CHECK:STDOUT: %struct_type.base.d.ea4: type = struct_type {.base: %Abstract, .d: %empty_struct_type} [concrete] +// CHECK:STDOUT: %complete_type.f69: = complete_type_witness %struct_type.base.d.ea4 [concrete] +// CHECK:STDOUT: %.a36: Core.Form = init_form %Derived [concrete] +// CHECK:STDOUT: %pattern_type.cd3: type = pattern_type %Derived [concrete] // CHECK:STDOUT: %Make.type: type = fn_type @Make [concrete] // CHECK:STDOUT: %Make: %Make.type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.base.d.e0f: type = struct_type {.base: %empty_struct_type, .d: %empty_struct_type} [concrete] // CHECK:STDOUT: %struct: %struct_type.base.d.e0f = struct_value (%empty_struct.a40, %empty_struct.a40) [concrete] -// CHECK:STDOUT: %.939: type = partial_type %Abstract [concrete] -// CHECK:STDOUT: %empty_struct.e1e: %.939 = struct_value () [concrete] +// CHECK:STDOUT: %.e7f: type = partial_type %Abstract [concrete] +// CHECK:STDOUT: %empty_struct.41d: %.e7f = struct_value () [concrete] // CHECK:STDOUT: %Abstract.val: %Abstract = struct_value () [concrete] // CHECK:STDOUT: %Derived.val: %Derived = struct_value (%Abstract.val, %empty_struct.a40) [concrete] // CHECK:STDOUT: } @@ -584,11 +584,11 @@ fn CallReturnAbstract() { // CHECK:STDOUT: %Abstract.decl: type = class_decl @Abstract [concrete = constants.%Abstract] {} {} // CHECK:STDOUT: %Derived.decl: type = class_decl @Derived [concrete = constants.%Derived] {} {} // CHECK:STDOUT: %Make.decl: %Make.type = fn_decl @Make [concrete = constants.%Make] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.aa6 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.aa6 = return_slot_pattern %return.param_patt, %Derived.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.cd3 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.cd3 = return_slot_pattern %return.param_patt, %Derived.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] -// CHECK:STDOUT: %.loc12: Core.Form = init_form %Derived.ref [concrete = constants.%.ab4] +// CHECK:STDOUT: %.loc12: Core.Form = init_form %Derived.ref [concrete = constants.%.a36] // CHECK:STDOUT: %return.param: ref %Derived = out_param call_param0 // CHECK:STDOUT: %return: ref %Derived = return_slot %return.param // CHECK:STDOUT: } @@ -604,9 +604,9 @@ fn CallReturnAbstract() { // CHECK:STDOUT: // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: %Abstract.ref: type = name_ref Abstract, file.%Abstract.decl [concrete = constants.%Abstract] -// CHECK:STDOUT: %.loc7: %Derived.elem.751 = base_decl %Abstract.ref, element0 [concrete] -// CHECK:STDOUT: %.loc9: %Derived.elem.340 = field_decl d, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d.5e1 [concrete = constants.%complete_type.ce4] +// CHECK:STDOUT: %.loc7: %Derived.elem.cdb = base_decl %Abstract.ref, element0 [concrete] +// CHECK:STDOUT: %.loc9: %Derived.elem.11a = field_decl d, element1 [concrete] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d.ea4 [concrete = constants.%complete_type.f69] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -622,9 +622,9 @@ fn CallReturnAbstract() { // CHECK:STDOUT: %.loc13_20.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct.a40] // CHECK:STDOUT: %.loc13_29.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct.a40] // CHECK:STDOUT: %.loc13_30.1: %struct_type.base.d.e0f = struct_literal (%.loc13_20.1, %.loc13_29.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc13_30.2: ref %.939 = class_element_access %return.param, element0 -// CHECK:STDOUT: %.loc13_20.2: init %.939 to %.loc13_30.2 = class_init () [concrete = constants.%empty_struct.e1e] -// CHECK:STDOUT: %.loc13_30.3: init %.939 = converted %.loc13_20.1, %.loc13_20.2 [concrete = constants.%empty_struct.e1e] +// CHECK:STDOUT: %.loc13_30.2: ref %.e7f = class_element_access %return.param, element0 +// CHECK:STDOUT: %.loc13_20.2: init %.e7f to %.loc13_30.2 = class_init () [concrete = constants.%empty_struct.41d] +// CHECK:STDOUT: %.loc13_30.3: init %.e7f = converted %.loc13_20.1, %.loc13_20.2 [concrete = constants.%empty_struct.41d] // CHECK:STDOUT: %.loc13_30.4: init %Abstract = as_compatible %.loc13_30.3 [concrete = constants.%Abstract.val] // CHECK:STDOUT: %.loc13_30.5: ref %empty_struct_type = class_element_access %return.param, element1 // CHECK:STDOUT: %.loc13_29.2: init %empty_struct_type to %.loc13_30.5 = struct_init () [concrete = constants.%empty_struct.a40] @@ -642,12 +642,12 @@ fn CallReturnAbstract() { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] -// CHECK:STDOUT: %Derived.elem.2c0: type = unbound_element_type %Derived, %Abstract [concrete] -// CHECK:STDOUT: %Derived.elem.74b: type = unbound_element_type %Derived, %empty_struct_type [concrete] +// CHECK:STDOUT: %Derived.elem.cdb: type = unbound_element_type %Derived, %Abstract [concrete] +// CHECK:STDOUT: %Derived.elem.11a: type = unbound_element_type %Derived, %empty_struct_type [concrete] // CHECK:STDOUT: %struct_type.base.d: type = struct_type {.base: %Abstract, .d: %empty_struct_type} [concrete] -// CHECK:STDOUT: %complete_type.f57: = complete_type_witness %struct_type.base.d [concrete] -// CHECK:STDOUT: %pattern_type.076: type = pattern_type %Abstract [concrete] -// CHECK:STDOUT: %.213: Core.Form = init_form %Abstract [concrete] +// CHECK:STDOUT: %complete_type.f69: = complete_type_witness %struct_type.base.d [concrete] +// CHECK:STDOUT: %pattern_type.b21: type = pattern_type %Abstract [concrete] +// CHECK:STDOUT: %.f2a: Core.Form = init_form %Abstract [concrete] // CHECK:STDOUT: %Return.type: type = fn_type @Return [concrete] // CHECK:STDOUT: %Return: %Return.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -670,13 +670,13 @@ fn CallReturnAbstract() { // CHECK:STDOUT: %Abstract.decl: type = class_decl @Abstract [concrete = constants.%Abstract] {} {} // CHECK:STDOUT: %Derived.decl: type = class_decl @Derived [concrete = constants.%Derived] {} {} // CHECK:STDOUT: %Return.decl: %Return.type = fn_decl @Return [concrete = constants.%Return] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.076 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.076 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.076 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.076 = return_slot_pattern %return.param_patt, %Abstract.ref.loc19_27 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.b21 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.b21 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.b21 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.b21 = return_slot_pattern %return.param_patt, %Abstract.ref.loc19_27 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Abstract.ref.loc19_27: type = name_ref Abstract, file.%Abstract.decl [concrete = constants.%Abstract] -// CHECK:STDOUT: %.loc19: Core.Form = init_form %Abstract.ref.loc19_27 [concrete = constants.%.213] +// CHECK:STDOUT: %.loc19: Core.Form = init_form %Abstract.ref.loc19_27 [concrete = constants.%.f2a] // CHECK:STDOUT: %a.param: %Abstract = value_param call_param0 // CHECK:STDOUT: %Abstract.ref.loc19_14: type = name_ref Abstract, file.%Abstract.decl [concrete = constants.%Abstract] // CHECK:STDOUT: %a: %Abstract = value_binding a, %a.param @@ -695,9 +695,9 @@ fn CallReturnAbstract() { // CHECK:STDOUT: // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: %Abstract.ref: type = name_ref Abstract, file.%Abstract.decl [concrete = constants.%Abstract] -// CHECK:STDOUT: %.loc7: %Derived.elem.2c0 = base_decl %Abstract.ref, element0 [concrete] -// CHECK:STDOUT: %.loc9: %Derived.elem.74b = field_decl d, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d [concrete = constants.%complete_type.f57] +// CHECK:STDOUT: %.loc7: %Derived.elem.cdb = base_decl %Abstract.ref, element0 [concrete] +// CHECK:STDOUT: %.loc9: %Derived.elem.11a = field_decl d, element1 [concrete] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d [concrete = constants.%complete_type.f69] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -725,11 +725,11 @@ fn CallReturnAbstract() { // CHECK:STDOUT: %struct_type.a.225: type = struct_type {.a: %empty_struct_type} [concrete] // CHECK:STDOUT: %complete_type.8c6: = complete_type_witness %struct_type.a.225 [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] -// CHECK:STDOUT: %Derived.elem.f05: type = unbound_element_type %Derived, %Abstract [concrete] -// CHECK:STDOUT: %Derived.elem.efb: type = unbound_element_type %Derived, %empty_struct_type [concrete] -// CHECK:STDOUT: %struct_type.base.d.8e4: type = struct_type {.base: %Abstract, .d: %empty_struct_type} [concrete] -// CHECK:STDOUT: %complete_type.163: = complete_type_witness %struct_type.base.d.8e4 [concrete] -// CHECK:STDOUT: %pattern_type.a58: type = pattern_type %Derived [concrete] +// CHECK:STDOUT: %Derived.elem.cdb: type = unbound_element_type %Derived, %Abstract [concrete] +// CHECK:STDOUT: %Derived.elem.11a: type = unbound_element_type %Derived, %empty_struct_type [concrete] +// CHECK:STDOUT: %struct_type.base.d.ea4: type = struct_type {.base: %Abstract, .d: %empty_struct_type} [concrete] +// CHECK:STDOUT: %complete_type.f69: = complete_type_witness %struct_type.base.d.ea4 [concrete] +// CHECK:STDOUT: %pattern_type.cd3: type = pattern_type %Derived [concrete] // CHECK:STDOUT: %.469: Core.Form = init_form %empty_struct_type [concrete] // CHECK:STDOUT: %Access.type: type = fn_type @Access [concrete] // CHECK:STDOUT: %Access: %Access.type = struct_value () [concrete] @@ -753,8 +753,8 @@ fn CallReturnAbstract() { // CHECK:STDOUT: %Abstract.decl: type = class_decl @Abstract [concrete = constants.%Abstract] {} {} // CHECK:STDOUT: %Derived.decl: type = class_decl @Derived [concrete = constants.%Derived] {} {} // CHECK:STDOUT: %Access.decl: %Access.type = fn_decl @Access [concrete = constants.%Access] { -// CHECK:STDOUT: %d.param_patt: %pattern_type.a58 = value_param_pattern [concrete] -// CHECK:STDOUT: %d.patt: %pattern_type.a58 = at_binding_pattern d, %d.param_patt [concrete] +// CHECK:STDOUT: %d.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.cd3 = at_binding_pattern d, %d.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.a96 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.a96 = return_slot_pattern %return.param_patt, %.loc13_27.2 [concrete] // CHECK:STDOUT: } { @@ -781,9 +781,9 @@ fn CallReturnAbstract() { // CHECK:STDOUT: // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: %Abstract.ref: type = name_ref Abstract, file.%Abstract.decl [concrete = constants.%Abstract] -// CHECK:STDOUT: %.loc8: %Derived.elem.f05 = base_decl %Abstract.ref, element0 [concrete] -// CHECK:STDOUT: %.loc10: %Derived.elem.efb = field_decl d, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d.8e4 [concrete = constants.%complete_type.163] +// CHECK:STDOUT: %.loc8: %Derived.elem.cdb = base_decl %Abstract.ref, element0 [concrete] +// CHECK:STDOUT: %.loc10: %Derived.elem.11a = field_decl d, element1 [concrete] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d.ea4 [concrete = constants.%complete_type.f69] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -797,7 +797,7 @@ fn CallReturnAbstract() { // CHECK:STDOUT: fn @Access(%d.param: %Derived) -> out %return.param: %empty_struct_type { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %d.ref: %Derived = name_ref d, %d -// CHECK:STDOUT: %base.ref: %Derived.elem.f05 = name_ref base, @Derived.%.loc8 [concrete = @Derived.%.loc8] +// CHECK:STDOUT: %base.ref: %Derived.elem.cdb = name_ref base, @Derived.%.loc8 [concrete = @Derived.%.loc8] // CHECK:STDOUT: %.loc21: ref %Abstract = class_element_access %d.ref, element0 // CHECK:STDOUT: %a.ref: = name_ref a, [concrete = ] // CHECK:STDOUT: return @@ -860,16 +860,16 @@ fn CallReturnAbstract() { // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] // CHECK:STDOUT: %Derived.elem: type = unbound_element_type %Derived, %Abstract [concrete] -// CHECK:STDOUT: %struct_type.base.642: type = struct_type {.base: %Abstract} [concrete] -// CHECK:STDOUT: %complete_type.a3b: = complete_type_witness %struct_type.base.642 [concrete] +// CHECK:STDOUT: %struct_type.base.754: type = struct_type {.base: %Abstract} [concrete] +// CHECK:STDOUT: %complete_type.521: = complete_type_witness %struct_type.base.754 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %Abstract [concrete] // CHECK:STDOUT: %empty_struct.a40: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.base.f5e: type = struct_type {.base: %empty_struct_type} [concrete] // CHECK:STDOUT: %struct: %struct_type.base.f5e = struct_value (%empty_struct.a40) [concrete] -// CHECK:STDOUT: %.b45: type = partial_type %Abstract [concrete] -// CHECK:STDOUT: %empty_struct.a74: %.b45 = struct_value () [concrete] +// CHECK:STDOUT: %.e7f: type = partial_type %Abstract [concrete] +// CHECK:STDOUT: %empty_struct.41d: %.e7f = struct_value () [concrete] // CHECK:STDOUT: %Abstract.val: %Abstract = struct_value () [concrete] // CHECK:STDOUT: %Derived.val: %Derived = struct_value (%Abstract.val) [concrete] // CHECK:STDOUT: } @@ -905,7 +905,7 @@ fn CallReturnAbstract() { // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: %Abstract.ref: type = name_ref Abstract, file.%Abstract.decl [concrete = constants.%Abstract] // CHECK:STDOUT: %.loc7: %Derived.elem = base_decl %Abstract.ref, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.642 [concrete = constants.%complete_type.a3b] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.754 [concrete = constants.%complete_type.521] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -924,9 +924,9 @@ fn CallReturnAbstract() { // CHECK:STDOUT: %.loc22_39.1: %struct_type.base.f5e = struct_literal (%.loc22_38.1) [concrete = constants.%struct] // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] // CHECK:STDOUT: %.loc22_39.2: ref %Derived = temporary_storage -// CHECK:STDOUT: %.loc22_39.3: ref %.b45 = class_element_access %.loc22_39.2, element0 -// CHECK:STDOUT: %.loc22_38.2: init %.b45 to %.loc22_39.3 = class_init () [concrete = constants.%empty_struct.a74] -// CHECK:STDOUT: %.loc22_39.4: init %.b45 = converted %.loc22_38.1, %.loc22_38.2 [concrete = constants.%empty_struct.a74] +// CHECK:STDOUT: %.loc22_39.3: ref %.e7f = class_element_access %.loc22_39.2, element0 +// CHECK:STDOUT: %.loc22_38.2: init %.e7f to %.loc22_39.3 = class_init () [concrete = constants.%empty_struct.41d] +// CHECK:STDOUT: %.loc22_39.4: init %.e7f = converted %.loc22_38.1, %.loc22_38.2 [concrete = constants.%empty_struct.41d] // CHECK:STDOUT: %.loc22_39.5: init %Abstract = as_compatible %.loc22_39.4 [concrete = constants.%Abstract.val] // CHECK:STDOUT: %.loc22_39.6: init %Derived to %.loc22_39.2 = class_init (%.loc22_39.5) [concrete = constants.%Derived.val] // CHECK:STDOUT: %.loc22_41: init %Derived = converted %.loc22_39.1, %.loc22_39.6 [concrete = constants.%Derived.val] @@ -941,7 +941,7 @@ fn CallReturnAbstract() { // CHECK:STDOUT: %Abstract: type = class_type @Abstract [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %.521: Core.Form = init_form %Abstract [concrete] +// CHECK:STDOUT: %.f2a: Core.Form = init_form %Abstract [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %Abstract [concrete] // CHECK:STDOUT: %ReturnAbstract.type: type = fn_type @ReturnAbstract [concrete] // CHECK:STDOUT: %ReturnAbstract: %ReturnAbstract.type = struct_value () [concrete] @@ -970,7 +970,7 @@ fn CallReturnAbstract() { // CHECK:STDOUT: %return.patt: %pattern_type = return_slot_pattern %return.param_patt, %Abstract.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Abstract.ref: type = name_ref Abstract, file.%Abstract.decl [concrete = constants.%Abstract] -// CHECK:STDOUT: %.loc6: Core.Form = init_form %Abstract.ref [concrete = constants.%.521] +// CHECK:STDOUT: %.loc6: Core.Form = init_form %Abstract.ref [concrete = constants.%.f2a] // CHECK:STDOUT: %return.param: ref %Abstract = out_param call_param0 // CHECK:STDOUT: %return: ref %Abstract = return_slot %return.param // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/abstract/fail_abstract_in_struct.carbon b/toolchain/check/testdata/class/abstract/fail_abstract_in_struct.carbon index e915465db473..f6484352945b 100644 --- a/toolchain/check/testdata/class/abstract/fail_abstract_in_struct.carbon +++ b/toolchain/check/testdata/class/abstract/fail_abstract_in_struct.carbon @@ -165,7 +165,7 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: %Abstract2: type = class_type @Abstract2 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %struct_type.m2.9be: type = struct_type {.m2: %Abstract2} [concrete] +// CHECK:STDOUT: %struct_type.m2.c3a: type = struct_type {.m2: %Abstract2} [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -179,9 +179,9 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: %v.var_patt: = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref = var %v.var_patt [concrete = ] -// CHECK:STDOUT: %.loc12: type = splice_block %struct_type.m2 [concrete = constants.%struct_type.m2.9be] { +// CHECK:STDOUT: %.loc12: type = splice_block %struct_type.m2 [concrete = constants.%struct_type.m2.c3a] { // CHECK:STDOUT: %Abstract2.ref: type = name_ref Abstract2, %Abstract2.decl [concrete = constants.%Abstract2] -// CHECK:STDOUT: %struct_type.m2: type = struct_type {.m2: %Abstract2} [concrete = constants.%struct_type.m2.9be] +// CHECK:STDOUT: %struct_type.m2: type = struct_type {.m2: %Abstract2} [concrete = constants.%struct_type.m2.c3a] // CHECK:STDOUT: } // CHECK:STDOUT: %v: ref = ref_binding v, [concrete = ] // CHECK:STDOUT: } @@ -206,11 +206,11 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: %Abstract3: type = class_type @Abstract3 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.d98: type = pattern_type %Abstract3 [concrete] +// CHECK:STDOUT: %pattern_type.305: type = pattern_type %Abstract3 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.m3.e25: type = struct_type {.m3: %Abstract3} [concrete] -// CHECK:STDOUT: %pattern_type.7eb: type = pattern_type %struct_type.m3.e25 [concrete] +// CHECK:STDOUT: %struct_type.m3.3d6: type = struct_type {.m3: %Abstract3} [concrete] +// CHECK:STDOUT: %pattern_type.d3b: type = pattern_type %struct_type.m3.3d6 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -220,8 +220,8 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: } // CHECK:STDOUT: %Abstract3.decl: type = class_decl @Abstract3 [concrete = constants.%Abstract3] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.d98 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.d98 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.305 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.305 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %Abstract3 = value_param call_param0 // CHECK:STDOUT: %Abstract3.ref.loc6: type = name_ref Abstract3, file.%Abstract3.decl [concrete = constants.%Abstract3] @@ -240,15 +240,15 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: fn @F(%a.param: %Abstract3) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %l.patt: %pattern_type.7eb = value_binding_pattern l [concrete] +// CHECK:STDOUT: %l.patt: %pattern_type.d3b = value_binding_pattern l [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.ref: %Abstract3 = name_ref a, %a -// CHECK:STDOUT: %.loc14_44: %struct_type.m3.e25 = struct_literal (%a.ref) -// CHECK:STDOUT: %.loc14_32: type = splice_block %struct_type.m3 [concrete = constants.%struct_type.m3.e25] { +// CHECK:STDOUT: %.loc14_44: %struct_type.m3.3d6 = struct_literal (%a.ref) +// CHECK:STDOUT: %.loc14_32: type = splice_block %struct_type.m3 [concrete = constants.%struct_type.m3.3d6] { // CHECK:STDOUT: %Abstract3.ref.loc14: type = name_ref Abstract3, file.%Abstract3.decl [concrete = constants.%Abstract3] -// CHECK:STDOUT: %struct_type.m3: type = struct_type {.m3: %Abstract3} [concrete = constants.%struct_type.m3.e25] +// CHECK:STDOUT: %struct_type.m3: type = struct_type {.m3: %Abstract3} [concrete = constants.%struct_type.m3.3d6] // CHECK:STDOUT: } -// CHECK:STDOUT: %l: %struct_type.m3.e25 = value_binding l, [concrete = ] +// CHECK:STDOUT: %l: %struct_type.m3.3d6 = value_binding l, [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -259,7 +259,7 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %Abstract5: type = class_type @Abstract5 [concrete] -// CHECK:STDOUT: %struct_type.m4.m5.3b4: type = struct_type {.m4: %Abstract4, .m5: %Abstract5} [concrete] +// CHECK:STDOUT: %struct_type.m4.m5.e93: type = struct_type {.m4: %Abstract4, .m5: %Abstract5} [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -275,10 +275,10 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: %v2.var_patt: = var_pattern %v2.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v2.var: ref = var %v2.var_patt [concrete = ] -// CHECK:STDOUT: %.loc13: type = splice_block %struct_type.m4.m5 [concrete = constants.%struct_type.m4.m5.3b4] { +// CHECK:STDOUT: %.loc13: type = splice_block %struct_type.m4.m5 [concrete = constants.%struct_type.m4.m5.e93] { // CHECK:STDOUT: %Abstract4.ref: type = name_ref Abstract4, %Abstract4.decl [concrete = constants.%Abstract4] // CHECK:STDOUT: %Abstract5.ref: type = name_ref Abstract5, %Abstract5.decl [concrete = constants.%Abstract5] -// CHECK:STDOUT: %struct_type.m4.m5: type = struct_type {.m4: %Abstract4, .m5: %Abstract5} [concrete = constants.%struct_type.m4.m5.3b4] +// CHECK:STDOUT: %struct_type.m4.m5: type = struct_type {.m4: %Abstract4, .m5: %Abstract5} [concrete = constants.%struct_type.m4.m5.e93] // CHECK:STDOUT: } // CHECK:STDOUT: %v2: ref = ref_binding v2, [concrete = ] // CHECK:STDOUT: } @@ -313,7 +313,7 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %struct_type.m6.c1.7c5: type = struct_type {.m6: %Abstract6, .c1: %empty_tuple.type} [concrete] +// CHECK:STDOUT: %struct_type.m6.c1.19a: type = struct_type {.m6: %Abstract6, .c1: %empty_tuple.type} [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -327,11 +327,11 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: %v3.var_patt: = var_pattern %v3.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v3.var: ref = var %v3.var_patt [concrete = ] -// CHECK:STDOUT: %.loc12_33: type = splice_block %struct_type.m6.c1 [concrete = constants.%struct_type.m6.c1.7c5] { +// CHECK:STDOUT: %.loc12_33: type = splice_block %struct_type.m6.c1 [concrete = constants.%struct_type.m6.c1.19a] { // CHECK:STDOUT: %Abstract6.ref: type = name_ref Abstract6, %Abstract6.decl [concrete = constants.%Abstract6] // CHECK:STDOUT: %.loc12_32.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc12_32.2: type = converted %.loc12_32.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %struct_type.m6.c1: type = struct_type {.m6: %Abstract6, .c1: %empty_tuple.type} [concrete = constants.%struct_type.m6.c1.7c5] +// CHECK:STDOUT: %struct_type.m6.c1: type = struct_type {.m6: %Abstract6, .c1: %empty_tuple.type} [concrete = constants.%struct_type.m6.c1.19a] // CHECK:STDOUT: } // CHECK:STDOUT: %v3: ref = ref_binding v3, [concrete = ] // CHECK:STDOUT: } @@ -358,7 +358,7 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %struct_type.c2.m7.f5d: type = struct_type {.c2: %empty_tuple.type, .m7: %Abstract7} [concrete] +// CHECK:STDOUT: %struct_type.c2.m7.383: type = struct_type {.c2: %empty_tuple.type, .m7: %Abstract7} [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -372,11 +372,11 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: %v4.var_patt: = var_pattern %v4.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v4.var: ref = var %v4.var_patt [concrete = ] -// CHECK:STDOUT: %.loc12_33: type = splice_block %struct_type.c2.m7 [concrete = constants.%struct_type.c2.m7.f5d] { +// CHECK:STDOUT: %.loc12_33: type = splice_block %struct_type.c2.m7 [concrete = constants.%struct_type.c2.m7.383] { // CHECK:STDOUT: %.loc12_16.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc12_16.2: type = converted %.loc12_16.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %Abstract7.ref: type = name_ref Abstract7, %Abstract7.decl [concrete = constants.%Abstract7] -// CHECK:STDOUT: %struct_type.c2.m7: type = struct_type {.c2: %empty_tuple.type, .m7: %Abstract7} [concrete = constants.%struct_type.c2.m7.f5d] +// CHECK:STDOUT: %struct_type.c2.m7: type = struct_type {.c2: %empty_tuple.type, .m7: %Abstract7} [concrete = constants.%struct_type.c2.m7.383] // CHECK:STDOUT: } // CHECK:STDOUT: %v4: ref = ref_binding v4, [concrete = ] // CHECK:STDOUT: } @@ -424,13 +424,13 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: %Abstract: type = class_type @Abstract [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %struct_type.m.49e: type = struct_type {.m: %Abstract} [concrete] +// CHECK:STDOUT: %struct_type.m.b56: type = struct_type {.m: %Abstract} [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.Abstract: type = import_ref Main//lib, Abstract, loaded [concrete = constants.%Abstract] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//lib, loc3_26, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ee8 = import_ref Main//lib, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.a0b = import_ref Main//lib, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -444,9 +444,9 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: %v5.var_patt: = var_pattern %v5.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v5.var: ref = var %v5.var_patt [concrete = ] -// CHECK:STDOUT: %.loc13: type = splice_block %struct_type.m [concrete = constants.%struct_type.m.49e] { +// CHECK:STDOUT: %.loc13: type = splice_block %struct_type.m [concrete = constants.%struct_type.m.b56] { // CHECK:STDOUT: %Abstract.ref: type = name_ref Abstract, imports.%Main.Abstract [concrete = constants.%Abstract] -// CHECK:STDOUT: %struct_type.m: type = struct_type {.m: %Abstract} [concrete = constants.%struct_type.m.49e] +// CHECK:STDOUT: %struct_type.m: type = struct_type {.m: %Abstract} [concrete = constants.%struct_type.m.b56] // CHECK:STDOUT: } // CHECK:STDOUT: %v5: ref = ref_binding v5, [concrete = ] // CHECK:STDOUT: } @@ -455,7 +455,7 @@ var v5: {.m: Abstract}; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ee8 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.a0b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { diff --git a/toolchain/check/testdata/class/abstract/fail_abstract_in_tuple.carbon b/toolchain/check/testdata/class/abstract/fail_abstract_in_tuple.carbon index 429b2b1148e6..84eb98083a13 100644 --- a/toolchain/check/testdata/class/abstract/fail_abstract_in_tuple.carbon +++ b/toolchain/check/testdata/class/abstract/fail_abstract_in_tuple.carbon @@ -188,7 +188,7 @@ fn Var5() { // CHECK:STDOUT: %Var: %Var.type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.85c = tuple_value (%Abstract2) [concrete] -// CHECK:STDOUT: %tuple.type.a0d: type = tuple_type (%Abstract2) [concrete] +// CHECK:STDOUT: %tuple.type.9e1: type = tuple_type (%Abstract2) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -228,10 +228,10 @@ fn Var5() { // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref = var %v.var_patt [concrete = ] // CHECK:STDOUT: assign %v.var, -// CHECK:STDOUT: %.loc13_28.1: type = splice_block %.loc13_28.3 [concrete = constants.%tuple.type.a0d] { +// CHECK:STDOUT: %.loc13_28.1: type = splice_block %.loc13_28.3 [concrete = constants.%tuple.type.9e1] { // CHECK:STDOUT: %Abstract2.ref: type = name_ref Abstract2, file.%Abstract2.decl [concrete = constants.%Abstract2] // CHECK:STDOUT: %.loc13_28.2: %tuple.type.85c = tuple_literal (%Abstract2.ref) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc13_28.3: type = converted %.loc13_28.2, constants.%tuple.type.a0d [concrete = constants.%tuple.type.a0d] +// CHECK:STDOUT: %.loc13_28.3: type = converted %.loc13_28.2, constants.%tuple.type.9e1 [concrete = constants.%tuple.type.9e1] // CHECK:STDOUT: } // CHECK:STDOUT: %v: ref = ref_binding v, [concrete = ] // CHECK:STDOUT: return @@ -243,13 +243,13 @@ fn Var5() { // CHECK:STDOUT: %Abstract3: type = class_type @Abstract3 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.d98: type = pattern_type %Abstract3 [concrete] +// CHECK:STDOUT: %pattern_type.305: type = pattern_type %Abstract3 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.85c = tuple_value (%Abstract3) [concrete] -// CHECK:STDOUT: %tuple.type.9cc: type = tuple_type (%Abstract3) [concrete] -// CHECK:STDOUT: %pattern_type.bdd: type = pattern_type %tuple.type.9cc [concrete] +// CHECK:STDOUT: %tuple.type.469: type = tuple_type (%Abstract3) [concrete] +// CHECK:STDOUT: %pattern_type.542: type = pattern_type %tuple.type.469 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -268,8 +268,8 @@ fn Var5() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Abstract3.decl: type = class_decl @Abstract3 [concrete = constants.%Abstract3] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.d98 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.d98 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.305 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.305 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %Abstract3 = value_param call_param0 // CHECK:STDOUT: %Abstract3.ref.loc6: type = name_ref Abstract3, file.%Abstract3.decl [concrete = constants.%Abstract3] @@ -288,16 +288,16 @@ fn Var5() { // CHECK:STDOUT: fn @F(%a.param: %Abstract3) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %l.patt: %pattern_type.bdd = value_binding_pattern l [concrete] +// CHECK:STDOUT: %l.patt: %pattern_type.542 = value_binding_pattern l [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.ref: %Abstract3 = name_ref a, %a -// CHECK:STDOUT: %.loc14_35: %tuple.type.9cc = tuple_literal (%a.ref) -// CHECK:STDOUT: %.loc14_28.1: type = splice_block %.loc14_28.3 [concrete = constants.%tuple.type.9cc] { +// CHECK:STDOUT: %.loc14_35: %tuple.type.469 = tuple_literal (%a.ref) +// CHECK:STDOUT: %.loc14_28.1: type = splice_block %.loc14_28.3 [concrete = constants.%tuple.type.469] { // CHECK:STDOUT: %Abstract3.ref.loc14: type = name_ref Abstract3, file.%Abstract3.decl [concrete = constants.%Abstract3] // CHECK:STDOUT: %.loc14_28.2: %tuple.type.85c = tuple_literal (%Abstract3.ref.loc14) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc14_28.3: type = converted %.loc14_28.2, constants.%tuple.type.9cc [concrete = constants.%tuple.type.9cc] +// CHECK:STDOUT: %.loc14_28.3: type = converted %.loc14_28.2, constants.%tuple.type.469 [concrete = constants.%tuple.type.469] // CHECK:STDOUT: } -// CHECK:STDOUT: %l: %tuple.type.9cc = value_binding l, [concrete = ] +// CHECK:STDOUT: %l: %tuple.type.469 = value_binding l, [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -312,7 +312,7 @@ fn Var5() { // CHECK:STDOUT: %Var2: %Var2.type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%Abstract4, %Abstract5) [concrete] -// CHECK:STDOUT: %tuple.type.b12: type = tuple_type (%Abstract4, %Abstract5) [concrete] +// CHECK:STDOUT: %tuple.type.44f: type = tuple_type (%Abstract4, %Abstract5) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -362,11 +362,11 @@ fn Var5() { // CHECK:STDOUT: } // CHECK:STDOUT: %v2.var: ref = var %v2.var_patt [concrete = ] // CHECK:STDOUT: assign %v2.var, -// CHECK:STDOUT: %.loc14_39.1: type = splice_block %.loc14_39.3 [concrete = constants.%tuple.type.b12] { +// CHECK:STDOUT: %.loc14_39.1: type = splice_block %.loc14_39.3 [concrete = constants.%tuple.type.44f] { // CHECK:STDOUT: %Abstract4.ref: type = name_ref Abstract4, file.%Abstract4.decl [concrete = constants.%Abstract4] // CHECK:STDOUT: %Abstract5.ref: type = name_ref Abstract5, file.%Abstract5.decl [concrete = constants.%Abstract5] // CHECK:STDOUT: %.loc14_39.2: %tuple.type.24b = tuple_literal (%Abstract4.ref, %Abstract5.ref) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc14_39.3: type = converted %.loc14_39.2, constants.%tuple.type.b12 [concrete = constants.%tuple.type.b12] +// CHECK:STDOUT: %.loc14_39.3: type = converted %.loc14_39.2, constants.%tuple.type.44f [concrete = constants.%tuple.type.44f] // CHECK:STDOUT: } // CHECK:STDOUT: %v2: ref = ref_binding v2, [concrete = ] // CHECK:STDOUT: return @@ -383,7 +383,7 @@ fn Var5() { // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.159: type = tuple_type (type, %empty_struct_type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.159 = tuple_value (%Abstract6, %empty_struct) [concrete] -// CHECK:STDOUT: %tuple.type.ec2: type = tuple_type (%Abstract6, %empty_struct_type) [concrete] +// CHECK:STDOUT: %tuple.type.30f: type = tuple_type (%Abstract6, %empty_struct_type) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -423,12 +423,12 @@ fn Var5() { // CHECK:STDOUT: } // CHECK:STDOUT: %v3.var: ref = var %v3.var_patt [concrete = ] // CHECK:STDOUT: assign %v3.var, -// CHECK:STDOUT: %.loc13_32.1: type = splice_block %.loc13_32.4 [concrete = constants.%tuple.type.ec2] { +// CHECK:STDOUT: %.loc13_32.1: type = splice_block %.loc13_32.4 [concrete = constants.%tuple.type.30f] { // CHECK:STDOUT: %Abstract6.ref: type = name_ref Abstract6, file.%Abstract6.decl [concrete = constants.%Abstract6] // CHECK:STDOUT: %.loc13_31: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc13_32.2: %tuple.type.159 = tuple_literal (%Abstract6.ref, %.loc13_31) [concrete = constants.%tuple] // CHECK:STDOUT: %.loc13_32.3: type = converted constants.%empty_struct, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %.loc13_32.4: type = converted %.loc13_32.2, constants.%tuple.type.ec2 [concrete = constants.%tuple.type.ec2] +// CHECK:STDOUT: %.loc13_32.4: type = converted %.loc13_32.2, constants.%tuple.type.30f [concrete = constants.%tuple.type.30f] // CHECK:STDOUT: } // CHECK:STDOUT: %v3: ref = ref_binding v3, [concrete = ] // CHECK:STDOUT: return @@ -445,7 +445,7 @@ fn Var5() { // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.c8c: type = tuple_type (%empty_struct_type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.c8c = tuple_value (%empty_struct, %Abstract7) [concrete] -// CHECK:STDOUT: %tuple.type.9f1: type = tuple_type (%empty_struct_type, %Abstract7) [concrete] +// CHECK:STDOUT: %tuple.type.54d: type = tuple_type (%empty_struct_type, %Abstract7) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -485,12 +485,12 @@ fn Var5() { // CHECK:STDOUT: } // CHECK:STDOUT: %v4.var: ref = var %v4.var_patt [concrete = ] // CHECK:STDOUT: assign %v4.var, -// CHECK:STDOUT: %.loc13_32.1: type = splice_block %.loc13_32.4 [concrete = constants.%tuple.type.9f1] { +// CHECK:STDOUT: %.loc13_32.1: type = splice_block %.loc13_32.4 [concrete = constants.%tuple.type.54d] { // CHECK:STDOUT: %.loc13_20: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %Abstract7.ref: type = name_ref Abstract7, file.%Abstract7.decl [concrete = constants.%Abstract7] // CHECK:STDOUT: %.loc13_32.2: %tuple.type.c8c = tuple_literal (%.loc13_20, %Abstract7.ref) [concrete = constants.%tuple] // CHECK:STDOUT: %.loc13_32.3: type = converted constants.%empty_struct, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %.loc13_32.4: type = converted %.loc13_32.2, constants.%tuple.type.9f1 [concrete = constants.%tuple.type.9f1] +// CHECK:STDOUT: %.loc13_32.4: type = converted %.loc13_32.2, constants.%tuple.type.54d [concrete = constants.%tuple.type.54d] // CHECK:STDOUT: } // CHECK:STDOUT: %v4: ref = ref_binding v4, [concrete = ] // CHECK:STDOUT: return @@ -538,7 +538,7 @@ fn Var5() { // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.85c = tuple_value (%Abstract) [concrete] -// CHECK:STDOUT: %tuple.type.fc1: type = tuple_type (%Abstract) [concrete] +// CHECK:STDOUT: %tuple.type.7b5: type = tuple_type (%Abstract) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -550,7 +550,7 @@ fn Var5() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//lib, loc3_26, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ee8 = import_ref Main//lib, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.a0b = import_ref Main//lib, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -569,7 +569,7 @@ fn Var5() { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ee8 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.a0b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Var5() { @@ -580,10 +580,10 @@ fn Var5() { // CHECK:STDOUT: } // CHECK:STDOUT: %v5.var: ref = var %v5.var_patt [concrete = ] // CHECK:STDOUT: assign %v5.var, -// CHECK:STDOUT: %.loc14_28.1: type = splice_block %.loc14_28.3 [concrete = constants.%tuple.type.fc1] { +// CHECK:STDOUT: %.loc14_28.1: type = splice_block %.loc14_28.3 [concrete = constants.%tuple.type.7b5] { // CHECK:STDOUT: %Abstract.ref: type = name_ref Abstract, imports.%Main.Abstract [concrete = constants.%Abstract] // CHECK:STDOUT: %.loc14_28.2: %tuple.type.85c = tuple_literal (%Abstract.ref) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc14_28.3: type = converted %.loc14_28.2, constants.%tuple.type.fc1 [concrete = constants.%tuple.type.fc1] +// CHECK:STDOUT: %.loc14_28.3: type = converted %.loc14_28.2, constants.%tuple.type.7b5 [concrete = constants.%tuple.type.7b5] // CHECK:STDOUT: } // CHECK:STDOUT: %v5: ref = ref_binding v5, [concrete = ] // CHECK:STDOUT: return diff --git a/toolchain/check/testdata/class/access/access_modifers.carbon b/toolchain/check/testdata/class/access/access_modifers.carbon index 238ef39621e5..bdc1f46db490 100644 --- a/toolchain/check/testdata/class/access/access_modifers.carbon +++ b/toolchain/check/testdata/class/access/access_modifers.carbon @@ -160,46 +160,46 @@ class A { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Circle.elem: type = unbound_element_type %Circle, %i32 [concrete] // CHECK:STDOUT: %int_5.64b: Core.IntLiteral = int_value 5 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.10b: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e3e: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] // CHECK:STDOUT: %Circle.SomeInternalFunction.type: type = fn_type @Circle.SomeInternalFunction [concrete] // CHECK:STDOUT: %Circle.SomeInternalFunction: %Circle.SomeInternalFunction.type = struct_value () [concrete] -// CHECK:STDOUT: %.f1d: Core.Form = init_form %Circle [concrete] -// CHECK:STDOUT: %pattern_type.025: type = pattern_type %Circle [concrete] +// CHECK:STDOUT: %.013: Core.Form = init_form %Circle [concrete] +// CHECK:STDOUT: %pattern_type.f75: type = pattern_type %Circle [concrete] // CHECK:STDOUT: %Circle.Make.type: type = fn_type @Circle.Make [concrete] // CHECK:STDOUT: %Circle.Make: %Circle.Make.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.radius.6bf: type = struct_type {.radius: %i32} [concrete] -// CHECK:STDOUT: %complete_type.4a6: = complete_type_witness %struct_type.radius.6bf [concrete] +// CHECK:STDOUT: %struct_type.radius.8a0: type = struct_type {.radius: %i32} [concrete] +// CHECK:STDOUT: %complete_type.de6: = complete_type_witness %struct_type.radius.8a0 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %struct_type.radius.f47: type = struct_type {.radius: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.radius.f47 = struct_value (%int_5.64b) [concrete] -// CHECK:STDOUT: %Circle.val: %Circle = struct_value (%int_5.c41) [concrete] +// CHECK:STDOUT: %Circle.val: %Circle = struct_value (%int_5.354) [concrete] // CHECK:STDOUT: %Run.type: type = fn_type @Run [concrete] // CHECK:STDOUT: %Run: %Run.type = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc18_36.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc18_36.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -211,9 +211,9 @@ class A { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -231,37 +231,37 @@ class A { // CHECK:STDOUT: class @Circle { // CHECK:STDOUT: %.loc5: %Circle.elem = field_decl radius, element0 [concrete] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %SOME_INTERNAL_CONSTANT.patt: %pattern_type.c6b = value_binding_pattern SOME_INTERNAL_CONSTANT [concrete] +// CHECK:STDOUT: %SOME_INTERNAL_CONSTANT.patt: %pattern_type.104 = value_binding_pattern SOME_INTERNAL_CONSTANT [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_45.1: = bound_method %int_5, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_45.1: = bound_method %int_5, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_45.2: = bound_method %int_5, %specific_fn [concrete = constants.%bound_method.10b] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc6_45.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc6_45.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc6_45.2: %i32 = converted %int_5, %.loc6_45.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %bound_method.loc6_45.2: = bound_method %int_5, %specific_fn [concrete = constants.%bound_method.e3e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc6_45.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc6_45.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc6_45.2: %i32 = converted %int_5, %.loc6_45.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %SOME_INTERNAL_CONSTANT: %i32 = value_binding SOME_INTERNAL_CONSTANT, %.loc6_45.2 // CHECK:STDOUT: %Circle.SomeInternalFunction.decl: %Circle.SomeInternalFunction.type = fn_decl @Circle.SomeInternalFunction [concrete = constants.%Circle.SomeInternalFunction] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc8: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Circle.Make.decl: %Circle.Make.type = fn_decl @Circle.Make [concrete = constants.%Circle.Make] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.025 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.025 = return_slot_pattern %return.param_patt, %Self.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.f75 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.f75 = return_slot_pattern %return.param_patt, %Self.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Circle [concrete = constants.%Circle] -// CHECK:STDOUT: %.loc12: Core.Form = init_form %Self.ref [concrete = constants.%.f1d] +// CHECK:STDOUT: %.loc12: Core.Form = init_form %Self.ref [concrete = constants.%.013] // CHECK:STDOUT: %return.param: ref %Circle = out_param call_param0 // CHECK:STDOUT: %return: ref %Circle = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.radius.6bf [concrete = constants.%complete_type.4a6] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.radius.8a0 [concrete = constants.%complete_type.de6] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -275,12 +275,12 @@ class A { // CHECK:STDOUT: fn @Circle.SomeInternalFunction() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_13.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_13.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_13.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_13.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc9: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc9_13.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_13.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc9: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: return %.loc9 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -288,14 +288,14 @@ class A { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] // CHECK:STDOUT: %.loc13_24.1: %struct_type.radius.f47 = struct_literal (%int_5) [concrete = constants.%struct] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc13_24.1: = bound_method %int_5, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc13_24.1: = bound_method %int_5, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_24.2: = bound_method %int_5, %specific_fn [concrete = constants.%bound_method.10b] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_24.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc13_24.2: init %i32 = converted %int_5, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %bound_method.loc13_24.2: = bound_method %int_5, %specific_fn [concrete = constants.%bound_method.e3e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_24.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc13_24.2: init %i32 = converted %int_5, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.354] // CHECK:STDOUT: %.loc13_24.3: ref %i32 = class_element_access %return.param, element0 -// CHECK:STDOUT: %.loc13_24.4: init %i32 to %.loc13_24.3 = in_place_init %.loc13_24.2 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %.loc13_24.4: init %i32 to %.loc13_24.3 = in_place_init %.loc13_24.2 [concrete = constants.%int_5.354] // CHECK:STDOUT: %.loc13_24.5: init %Circle to %return.param = class_init (%.loc13_24.4) [concrete = constants.%Circle.val] // CHECK:STDOUT: %.loc13_25: init %Circle = converted %.loc13_24.1, %.loc13_24.5 [concrete = constants.%Circle.val] // CHECK:STDOUT: return %.loc13_25 to %return.param @@ -304,7 +304,7 @@ class A { // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %circle.patt: %pattern_type.025 = value_binding_pattern circle [concrete] +// CHECK:STDOUT: %circle.patt: %pattern_type.f75 = value_binding_pattern circle [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Circle.ref.loc18_24: type = name_ref Circle, file.%Circle.decl [concrete = constants.%Circle] // CHECK:STDOUT: %Make.ref: %Circle.Make.type = name_ref Make, @Circle.%Circle.Make.decl [concrete = constants.%Circle.Make] @@ -315,7 +315,7 @@ class A { // CHECK:STDOUT: %.loc18_36.3: %Circle = acquire_value %.loc18_36.2 // CHECK:STDOUT: %circle: %Circle = value_binding circle, %.loc18_36.3 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %radius.patt: %pattern_type.c6b = value_binding_pattern radius [concrete] +// CHECK:STDOUT: %radius.patt: %pattern_type.104 = value_binding_pattern radius [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %circle.ref.loc26: %Circle = name_ref circle, %circle // CHECK:STDOUT: %radius.ref.loc26: = name_ref radius, [concrete = ] @@ -329,7 +329,7 @@ class A { // CHECK:STDOUT: %SOME_INTERNAL_CONSTANT.ref: = name_ref SOME_INTERNAL_CONSTANT, [concrete = ] // CHECK:STDOUT: %circle.ref.loc51: %Circle = name_ref circle, %circle // CHECK:STDOUT: %SomeInternalFunction.ref: = name_ref SomeInternalFunction, [concrete = ] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc18_36.2, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc18_36.2, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc18_36.2) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -341,7 +341,7 @@ class A { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc18_36.3(%self.param: ref %struct_type.radius.6bf) { +// CHECK:STDOUT: fn @Destroy.Op.loc18_36.3(%self.param: ref %struct_type.radius.8a0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -359,10 +359,10 @@ class A { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %A.elem: type = unbound_element_type %A, %i32 [concrete] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fa5: = complete_type_witness %struct_type.x [concrete] +// CHECK:STDOUT: %complete_type.9a8: = complete_type_witness %struct_type.x [concrete] // CHECK:STDOUT: %Run.type: type = fn_type @Run [concrete] // CHECK:STDOUT: %Run: %Run.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -389,7 +389,7 @@ class A { // CHECK:STDOUT: // CHECK:STDOUT: class @A { // CHECK:STDOUT: %.loc5: %A.elem = field_decl x, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x [concrete = constants.%complete_type.fa5] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x [concrete = constants.%complete_type.9a8] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -400,7 +400,7 @@ class A { // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %x.ref: = name_ref x, [concrete = ] @@ -418,10 +418,10 @@ class A { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Circle.elem: type = unbound_element_type %Circle, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.d82: type = pattern_type %Circle [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.f75: type = pattern_type %Circle [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %Circle.GetRadius.type: type = fn_type @Circle.GetRadius [concrete] // CHECK:STDOUT: %Circle.GetRadius: %Circle.GetRadius.type = struct_value () [concrete] // CHECK:STDOUT: %Circle.SomeInternalFunction.type: type = fn_type @Circle.SomeInternalFunction [concrete] @@ -429,34 +429,34 @@ class A { // CHECK:STDOUT: %Circle.Compute.type: type = fn_type @Circle.Compute [concrete] // CHECK:STDOUT: %Circle.Compute: %Circle.Compute.type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.radius: type = struct_type {.radius: %i32} [concrete] -// CHECK:STDOUT: %complete_type.4a6: = complete_type_witness %struct_type.radius [concrete] +// CHECK:STDOUT: %complete_type.de6: = complete_type_witness %struct_type.radius [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -469,11 +469,11 @@ class A { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -488,13 +488,13 @@ class A { // CHECK:STDOUT: class @Circle { // CHECK:STDOUT: %.loc5: %Circle.elem = field_decl radius, element0 [concrete] // CHECK:STDOUT: %Circle.GetRadius.decl: %Circle.GetRadius.type = fn_decl @Circle.GetRadius [concrete = constants.%Circle.GetRadius] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.d82 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.d82 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.f75 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.f75 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc7: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc7: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: %Circle = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Circle [concrete = constants.%Circle] // CHECK:STDOUT: %self: %Circle = value_binding self, %self.param @@ -502,29 +502,29 @@ class A { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Circle.SomeInternalFunction.decl: %Circle.SomeInternalFunction.type = fn_decl @Circle.SomeInternalFunction [concrete = constants.%Circle.SomeInternalFunction] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc11: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc11: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Circle.Compute.decl: %Circle.Compute.type = fn_decl @Circle.Compute [concrete = constants.%Circle.Compute] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.d82 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.d82 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.f75 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.f75 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: %Circle = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Circle [concrete = constants.%Circle] // CHECK:STDOUT: %self: %Circle = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.radius [concrete = constants.%complete_type.4a6] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.radius [concrete = constants.%complete_type.de6] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -541,7 +541,7 @@ class A { // CHECK:STDOUT: %radius.ref: %Circle.elem = name_ref radius, @Circle.%.loc5 [concrete = @Circle.%.loc5] // CHECK:STDOUT: %.loc8_16.1: ref %i32 = class_element_access %self.ref, element0 // CHECK:STDOUT: %.loc8_16.2: %i32 = acquire_value %.loc8_16.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc8_16.1: = bound_method %.loc8_16.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_16.2: = bound_method %.loc8_16.2, %specific_fn @@ -552,12 +552,12 @@ class A { // CHECK:STDOUT: fn @Circle.SomeInternalFunction() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc12_13.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc12_13.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc12_13.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc12: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc12_13.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc12: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: return %.loc12 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -577,24 +577,24 @@ class A { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_5.64b: Core.IntLiteral = int_value 5 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: } @@ -607,9 +607,9 @@ class A { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -621,7 +621,7 @@ class A { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %A.decl: type = class_decl @A [concrete = constants.%A] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %x: %i32 = value_binding x, @__global_init.%x.ref @@ -629,17 +629,17 @@ class A { // CHECK:STDOUT: // CHECK:STDOUT: class @A { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc5_16.1: = bound_method %int_5, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc5_16.2: = bound_method %int_5, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_16.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc5_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc5_16.2: %i32 = converted %int_5, %.loc5_16.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_16.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc5_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc5_16.2: %i32 = converted %int_5, %.loc5_16.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %x: %i32 = value_binding x, %.loc5_16.2 // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type.357] // CHECK:STDOUT: complete_type_witness = %complete_type @@ -664,24 +664,24 @@ class A { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_5.64b: Core.IntLiteral = int_value 5 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: } @@ -694,9 +694,9 @@ class A { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -709,12 +709,12 @@ class A { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %A.decl: type = class_decl @A [concrete = constants.%A] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %x: %i32 = value_binding x, [concrete = ] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.c6b = value_binding_pattern y [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.104 = value_binding_pattern y [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc24: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %y: %i32 = value_binding y, [concrete = ] @@ -722,30 +722,30 @@ class A { // CHECK:STDOUT: // CHECK:STDOUT: class @A { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_5.loc5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] // CHECK:STDOUT: %i32.loc5: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc5: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc5: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc5_26.1: = bound_method %int_5.loc5, %impl.elem0.loc5 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc5: = specific_function %impl.elem0.loc5, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc5_26.2: = bound_method %int_5.loc5, %specific_fn.loc5 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5: init %i32 = call %bound_method.loc5_26.2(%int_5.loc5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc5_26.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc5_26.2: %i32 = converted %int_5.loc5, %.loc5_26.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5: init %i32 = call %bound_method.loc5_26.2(%int_5.loc5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc5_26.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc5_26.2: %i32 = converted %int_5.loc5, %.loc5_26.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %x: %i32 = value_binding x, %.loc5_26.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.c6b = value_binding_pattern y [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.104 = value_binding_pattern y [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_5.loc6: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] // CHECK:STDOUT: %i32.loc6: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc6: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc6: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc6_24.1: = bound_method %int_5.loc6, %impl.elem0.loc6 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc6: = specific_function %impl.elem0.loc6, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc6_24.2: = bound_method %int_5.loc6, %specific_fn.loc6 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %i32 = call %bound_method.loc6_24.2(%int_5.loc6) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc6_24.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc6_24.2: %i32 = converted %int_5.loc6, %.loc6_24.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %i32 = call %bound_method.loc6_24.2(%int_5.loc6) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc6_24.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc6_24.2: %i32 = converted %int_5.loc6, %.loc6_24.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %y: %i32 = value_binding y, %.loc6_24.2 // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type.357] // CHECK:STDOUT: complete_type_witness = %complete_type diff --git a/toolchain/check/testdata/class/access/import_access.carbon b/toolchain/check/testdata/class/access/import_access.carbon index dba47dcc6c60..621a767abe00 100644 --- a/toolchain/check/testdata/class/access/import_access.carbon +++ b/toolchain/check/testdata/class/access/import_access.carbon @@ -216,7 +216,7 @@ private class Redecl {} // CHECK:STDOUT: imports { // CHECK:STDOUT: %Test.Def: type = import_ref Test//def, Def, loaded [concrete = constants.%Def] // CHECK:STDOUT: %Test.import_ref.8f2: = import_ref Test//def, loc4_20, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Test.import_ref.f9f = import_ref Test//def, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Test.import_ref.735 = import_ref Test//def, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -239,7 +239,7 @@ private class Redecl {} // CHECK:STDOUT: complete_type_witness = imports.%Test.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Test.import_ref.f9f +// CHECK:STDOUT: .Self = imports.%Test.import_ref.735 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -333,7 +333,7 @@ private class Redecl {} // CHECK:STDOUT: imports { // CHECK:STDOUT: %Test.ForwardWithDef: type = import_ref Test//forward_with_def, ForwardWithDef, loaded [concrete = constants.%ForwardWithDef] // CHECK:STDOUT: %Test.import_ref.8f2: = import_ref Test//forward_with_def, loc6_23, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Test.import_ref.14a = import_ref Test//forward_with_def, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Test.import_ref.b78 = import_ref Test//forward_with_def, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -356,7 +356,7 @@ private class Redecl {} // CHECK:STDOUT: complete_type_witness = imports.%Test.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Test.import_ref.14a +// CHECK:STDOUT: .Self = imports.%Test.import_ref.b78 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { diff --git a/toolchain/check/testdata/class/access/inheritance_access.carbon b/toolchain/check/testdata/class/access/inheritance_access.carbon index 7e5bae546e79..2470d6f97f3b 100644 --- a/toolchain/check/testdata/class/access/inheritance_access.carbon +++ b/toolchain/check/testdata/class/access/inheritance_access.carbon @@ -294,29 +294,29 @@ class B { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Shape.elem: type = unbound_element_type %Shape, %i32 [concrete] // CHECK:STDOUT: %struct_type.x.y: type = struct_type {.x: %i32, .y: %i32} [concrete] -// CHECK:STDOUT: %complete_type.ce9: = complete_type_witness %struct_type.x.y [concrete] +// CHECK:STDOUT: %complete_type.571: = complete_type_witness %struct_type.x.y [concrete] // CHECK:STDOUT: %Circle: type = class_type @Circle [concrete] // CHECK:STDOUT: %Circle.elem: type = unbound_element_type %Circle, %Shape [concrete] -// CHECK:STDOUT: %pattern_type.ced: type = pattern_type %Circle [concrete] +// CHECK:STDOUT: %pattern_type.f75: type = pattern_type %Circle [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.8e3: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %.88c: Core.Form = init_form %tuple.type.87c [concrete] -// CHECK:STDOUT: %pattern_type.624: type = pattern_type %tuple.type.87c [concrete] +// CHECK:STDOUT: %tuple.79d: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %.ac5: Core.Form = init_form %tuple.type.e5a [concrete] +// CHECK:STDOUT: %pattern_type.7d6: type = pattern_type %tuple.type.e5a [concrete] // CHECK:STDOUT: %Circle.GetPosition.type: type = fn_type @Circle.GetPosition [concrete] // CHECK:STDOUT: %Circle.GetPosition: %Circle.GetPosition.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.7ff: type = struct_type {.base: %Shape} [concrete] -// CHECK:STDOUT: %complete_type.c32: = complete_type_witness %struct_type.base.7ff [concrete] +// CHECK:STDOUT: %struct_type.base.167: type = struct_type {.base: %Shape} [concrete] +// CHECK:STDOUT: %complete_type.9d9: = complete_type_witness %struct_type.base.167 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -328,8 +328,8 @@ class B { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -346,7 +346,7 @@ class B { // CHECK:STDOUT: class @Shape { // CHECK:STDOUT: %.loc5: %Shape.elem = field_decl x, element0 [concrete] // CHECK:STDOUT: %.loc6: %Shape.elem = field_decl y, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x.y [concrete = constants.%complete_type.ce9] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x.y [concrete = constants.%complete_type.571] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -359,23 +359,23 @@ class B { // CHECK:STDOUT: %Shape.ref: type = name_ref Shape, file.%Shape.decl [concrete = constants.%Shape] // CHECK:STDOUT: %.loc10: %Circle.elem = base_decl %Shape.ref, element0 [concrete] // CHECK:STDOUT: %Circle.GetPosition.decl: %Circle.GetPosition.type = fn_decl @Circle.GetPosition [concrete = constants.%Circle.GetPosition] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.ced = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.ced = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.624 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.624 = return_slot_pattern %return.param_patt, %.loc12_44.2 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.f75 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.f75 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7d6 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7d6 = return_slot_pattern %return.param_patt, %.loc12_44.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc12_36: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc12_41: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc12_44.1: %tuple.type.24b = tuple_literal (%i32.loc12_36, %i32.loc12_41) [concrete = constants.%tuple.8e3] -// CHECK:STDOUT: %.loc12_44.2: type = converted %.loc12_44.1, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] -// CHECK:STDOUT: %.loc12_44.3: Core.Form = init_form %.loc12_44.2 [concrete = constants.%.88c] +// CHECK:STDOUT: %.loc12_44.1: %tuple.type.24b = tuple_literal (%i32.loc12_36, %i32.loc12_41) [concrete = constants.%tuple.79d] +// CHECK:STDOUT: %.loc12_44.2: type = converted %.loc12_44.1, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] +// CHECK:STDOUT: %.loc12_44.3: Core.Form = init_form %.loc12_44.2 [concrete = constants.%.ac5] // CHECK:STDOUT: %self.param: %Circle = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Circle [concrete = constants.%Circle] // CHECK:STDOUT: %self: %Circle = value_binding self, %self.param -// CHECK:STDOUT: %return.param: ref %tuple.type.87c = out_param call_param1 -// CHECK:STDOUT: %return: ref %tuple.type.87c = return_slot %return.param +// CHECK:STDOUT: %return.param: ref %tuple.type.e5a = out_param call_param1 +// CHECK:STDOUT: %return: ref %tuple.type.e5a = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.7ff [concrete = constants.%complete_type.c32] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.167 [concrete = constants.%complete_type.9d9] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -388,7 +388,7 @@ class B { // CHECK:STDOUT: extend %Shape.ref // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Circle.GetPosition(%self.param: %Circle) -> out %return.param: %tuple.type.87c { +// CHECK:STDOUT: fn @Circle.GetPosition(%self.param: %Circle) -> out %return.param: %tuple.type.e5a { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %self.ref.loc13_13: %Circle = name_ref self, %self // CHECK:STDOUT: %x.ref: %Shape.elem = name_ref x, @Shape.%.loc5 [concrete = @Shape.%.loc5] @@ -400,9 +400,9 @@ class B { // CHECK:STDOUT: %.loc13_25.1: ref %Shape = class_element_access %self.ref.loc13_21, element0 // CHECK:STDOUT: %.loc13_25.2: ref %Shape = converted %self.ref.loc13_21, %.loc13_25.1 // CHECK:STDOUT: %.loc13_25.3: ref %i32 = class_element_access %.loc13_25.2, element1 -// CHECK:STDOUT: %.loc13_27.1: %tuple.type.87c = tuple_literal (%.loc13_17.3, %.loc13_25.3) +// CHECK:STDOUT: %.loc13_27.1: %tuple.type.e5a = tuple_literal (%.loc13_17.3, %.loc13_25.3) // CHECK:STDOUT: %.loc13_17.4: %i32 = acquire_value %.loc13_17.3 -// CHECK:STDOUT: %impl.elem0.loc13_17: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc13_17: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc13_17.1: = bound_method %.loc13_17.4, %impl.elem0.loc13_17 // CHECK:STDOUT: %specific_fn.loc13_17: = specific_function %impl.elem0.loc13_17, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc13_17.2: = bound_method %.loc13_17.4, %specific_fn.loc13_17 @@ -410,15 +410,15 @@ class B { // CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %return.param, element0 // CHECK:STDOUT: %.loc13_27.2: init %i32 to %tuple.elem0 = in_place_init %Int.as.Copy.impl.Op.call.loc13_17 // CHECK:STDOUT: %.loc13_25.4: %i32 = acquire_value %.loc13_25.3 -// CHECK:STDOUT: %impl.elem0.loc13_25: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc13_25: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc13_25.1: = bound_method %.loc13_25.4, %impl.elem0.loc13_25 // CHECK:STDOUT: %specific_fn.loc13_25: = specific_function %impl.elem0.loc13_25, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc13_25.2: = bound_method %.loc13_25.4, %specific_fn.loc13_25 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc13_25: init %i32 = call %bound_method.loc13_25.2(%.loc13_25.4) // CHECK:STDOUT: %tuple.elem1: ref %i32 = tuple_access %return.param, element1 // CHECK:STDOUT: %.loc13_27.3: init %i32 to %tuple.elem1 = in_place_init %Int.as.Copy.impl.Op.call.loc13_25 -// CHECK:STDOUT: %.loc13_27.4: init %tuple.type.87c to %return.param = tuple_init (%.loc13_27.2, %.loc13_27.3) -// CHECK:STDOUT: %.loc13_28: init %tuple.type.87c = converted %.loc13_27.1, %.loc13_27.4 +// CHECK:STDOUT: %.loc13_27.4: init %tuple.type.e5a to %return.param = tuple_init (%.loc13_27.2, %.loc13_27.3) +// CHECK:STDOUT: %.loc13_28: init %tuple.type.e5a = converted %.loc13_27.1, %.loc13_27.4 // CHECK:STDOUT: return %.loc13_28 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: @@ -437,22 +437,22 @@ class B { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %B.F.type: type = fn_type @B.F [concrete] // CHECK:STDOUT: %B.F: %B.F.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.a64: type = struct_type {.base: %A} [concrete] -// CHECK:STDOUT: %complete_type.236: = complete_type_witness %struct_type.base.a64 [concrete] +// CHECK:STDOUT: %struct_type.base.722: type = struct_type {.base: %A} [concrete] +// CHECK:STDOUT: %complete_type.27e: = complete_type_witness %struct_type.base.722 [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %B [concrete] -// CHECK:STDOUT: %pattern_type.a99: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %.262: Core.Form = init_form %empty_tuple.type [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %C.G.type: type = fn_type @C.G [concrete] // CHECK:STDOUT: %C.G: %C.G.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.d67: type = struct_type {.base: %B} [concrete] -// CHECK:STDOUT: %complete_type.069: = complete_type_witness %struct_type.base.d67 [concrete] +// CHECK:STDOUT: %struct_type.base.cef: type = struct_type {.base: %B} [concrete] +// CHECK:STDOUT: %complete_type.3f7: = complete_type_witness %struct_type.base.cef [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -491,15 +491,15 @@ class B { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %.loc9: %B.elem = base_decl %A.ref, element0 [concrete] // CHECK:STDOUT: %B.F.decl: %B.F.type = fn_decl @B.F [concrete = constants.%B.F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc10: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc10: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.a64 [concrete = constants.%complete_type.236] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.722 [concrete = constants.%complete_type.27e] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -514,8 +514,8 @@ class B { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %.loc14: %C.elem = base_decl %B.ref, element0 [concrete] // CHECK:STDOUT: %C.G.decl: %C.G.type = fn_decl @C.G [concrete = constants.%C.G] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.a99 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.a99 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.cb1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.cb1 = return_slot_pattern %return.param_patt, %.loc15_26.2 [concrete] // CHECK:STDOUT: } { @@ -528,7 +528,7 @@ class B { // CHECK:STDOUT: %return.param: ref %empty_tuple.type = out_param call_param1 // CHECK:STDOUT: %return: ref %empty_tuple.type = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d67 [concrete = constants.%complete_type.069] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.cef [concrete = constants.%complete_type.3f7] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -561,25 +561,25 @@ class B { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_5.64b: Core.IntLiteral = int_value 5 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] // CHECK:STDOUT: %A.SomeProtectedFunction.type: type = fn_type @A.SomeProtectedFunction [concrete] // CHECK:STDOUT: %A.SomeProtectedFunction: %A.SomeProtectedFunction.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] @@ -591,17 +591,17 @@ class B { // CHECK:STDOUT: %B.H.type: type = fn_type @B.H [concrete] // CHECK:STDOUT: %B.H: %B.H.type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.base: type = struct_type {.base: %A} [concrete] -// CHECK:STDOUT: %complete_type.630: = complete_type_witness %struct_type.base [concrete] +// CHECK:STDOUT: %complete_type.27e: = complete_type_witness %struct_type.base [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -613,12 +613,12 @@ class B { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -634,24 +634,24 @@ class B { // CHECK:STDOUT: // CHECK:STDOUT: class @A { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %SOME_CONSTANT.patt: %pattern_type.c6b = value_binding_pattern SOME_CONSTANT [concrete] +// CHECK:STDOUT: %SOME_CONSTANT.patt: %pattern_type.104 = value_binding_pattern SOME_CONSTANT [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc5_38.1: = bound_method %int_5, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc5_38.2: = bound_method %int_5, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_38.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc5_38.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc5_38.2: %i32 = converted %int_5, %.loc5_38.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_38.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc5_38.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc5_38.2: %i32 = converted %int_5, %.loc5_38.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %SOME_CONSTANT: %i32 = value_binding SOME_CONSTANT, %.loc5_38.2 // CHECK:STDOUT: %A.SomeProtectedFunction.decl: %A.SomeProtectedFunction.type = fn_decl @A.SomeProtectedFunction [concrete = constants.%A.SomeProtectedFunction] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc6: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -669,24 +669,24 @@ class B { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %.loc12: %B.elem = base_decl %A.ref, element0 [concrete] // CHECK:STDOUT: %B.G.decl: %B.G.type = fn_decl @B.G [concrete = constants.%B.G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc14: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc14: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %B.H.decl: %B.H.type = fn_decl @B.H [concrete = constants.%B.H] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc18: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc18: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base [concrete = constants.%complete_type.630] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base [concrete = constants.%complete_type.27e] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -701,12 +701,12 @@ class B { // CHECK:STDOUT: fn @A.SomeProtectedFunction() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc7_13.1: = bound_method %int_5, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %int_5, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc7_13.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc7: init %i32 = converted %int_5, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc7_13.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc7: init %i32 = converted %int_5, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.354] // CHECK:STDOUT: return %.loc7 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -714,7 +714,7 @@ class B { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %SOME_CONSTANT.ref: %i32 = name_ref SOME_CONSTANT, @A.%SOME_CONSTANT -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc15_13.1: = bound_method %SOME_CONSTANT.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc15_13.2: = bound_method %SOME_CONSTANT.ref, %specific_fn @@ -738,18 +738,18 @@ class B { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Shape.elem: type = unbound_element_type %Shape, %i32 [concrete] // CHECK:STDOUT: %struct_type.y: type = struct_type {.y: %i32} [concrete] -// CHECK:STDOUT: %complete_type.67c: = complete_type_witness %struct_type.y [concrete] +// CHECK:STDOUT: %complete_type.d92: = complete_type_witness %struct_type.y [concrete] // CHECK:STDOUT: %Square: type = class_type @Square [concrete] // CHECK:STDOUT: %Square.elem: type = unbound_element_type %Square, %Shape [concrete] -// CHECK:STDOUT: %pattern_type.b87: type = pattern_type %Square [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.c7b: type = pattern_type %Square [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %Square.GetPosition.type: type = fn_type @Square.GetPosition [concrete] // CHECK:STDOUT: %Square.GetPosition: %Square.GetPosition.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.b73: type = struct_type {.base: %Shape} [concrete] -// CHECK:STDOUT: %complete_type.e2a: = complete_type_witness %struct_type.base.b73 [concrete] +// CHECK:STDOUT: %struct_type.base.167: type = struct_type {.base: %Shape} [concrete] +// CHECK:STDOUT: %complete_type.9d9: = complete_type_witness %struct_type.base.167 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -774,7 +774,7 @@ class B { // CHECK:STDOUT: // CHECK:STDOUT: class @Shape { // CHECK:STDOUT: %.loc5: %Shape.elem = field_decl y, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.y [concrete = constants.%complete_type.67c] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.y [concrete = constants.%complete_type.d92] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -786,20 +786,20 @@ class B { // CHECK:STDOUT: %Shape.ref: type = name_ref Shape, file.%Shape.decl [concrete = constants.%Shape] // CHECK:STDOUT: %.loc9: %Square.elem = base_decl %Shape.ref, element0 [concrete] // CHECK:STDOUT: %Square.GetPosition.decl: %Square.GetPosition.type = fn_decl @Square.GetPosition [concrete = constants.%Square.GetPosition] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.b87 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.b87 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.c7b = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.c7b = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc11: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc11: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: %Square = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Square [concrete = constants.%Square] // CHECK:STDOUT: %self: %Square = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.b73 [concrete = constants.%complete_type.e2a] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.167 [concrete = constants.%complete_type.9d9] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -942,8 +942,8 @@ class B { // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %B [concrete] // CHECK:STDOUT: %C.G.type: type = fn_type @C.G [concrete] // CHECK:STDOUT: %C.G: %C.G.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.788: type = struct_type {.base: %B} [concrete] -// CHECK:STDOUT: %complete_type.738: = complete_type_witness %struct_type.base.788 [concrete] +// CHECK:STDOUT: %struct_type.base.cef: type = struct_type {.base: %B} [concrete] +// CHECK:STDOUT: %complete_type.3f7: = complete_type_witness %struct_type.base.cef [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -978,7 +978,7 @@ class B { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %.loc9: %C.elem = base_decl %B.ref, element0 [concrete] // CHECK:STDOUT: %C.G.decl: %C.G.type = fn_decl @C.G [concrete = constants.%C.G] {} {} -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.788 [concrete = constants.%complete_type.738] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.cef [concrete = constants.%complete_type.3f7] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1016,29 +1016,29 @@ class B { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_86.bd3: Core.IntLiteral = int_value 86 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_86.bd3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_86.bd3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_86.bd3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_86.1cf: %i32 = int_value 86 [concrete] +// CHECK:STDOUT: %int_86.845: %i32 = int_value 86 [concrete] // CHECK:STDOUT: %B.Fb.type: type = fn_type @B.Fb [concrete] // CHECK:STDOUT: %B.Fb: %B.Fb.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.0f3: type = struct_type {.base: %A} [concrete] -// CHECK:STDOUT: %complete_type.01e: = complete_type_witness %struct_type.base.0f3 [concrete] +// CHECK:STDOUT: %struct_type.base.722: type = struct_type {.base: %A} [concrete] +// CHECK:STDOUT: %complete_type.27e: = complete_type_witness %struct_type.base.722 [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %B [concrete] // CHECK:STDOUT: %C.G1.type: type = fn_type @C.G1 [concrete] @@ -1047,8 +1047,8 @@ class B { // CHECK:STDOUT: %C.G2: %C.G2.type = struct_value () [concrete] // CHECK:STDOUT: %C.G3.type: type = fn_type @C.G3 [concrete] // CHECK:STDOUT: %C.G3: %C.G3.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.0e7: type = struct_type {.base: %B} [concrete] -// CHECK:STDOUT: %complete_type.a48: = complete_type_witness %struct_type.base.0e7 [concrete] +// CHECK:STDOUT: %struct_type.base.cef: type = struct_type {.base: %B} [concrete] +// CHECK:STDOUT: %complete_type.3f7: = complete_type_witness %struct_type.base.cef [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1059,9 +1059,9 @@ class B { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1093,20 +1093,20 @@ class B { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %.loc9: %B.elem = base_decl %A.ref, element0 [concrete] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %SOME_PRIVATE_CONSTANT.patt: %pattern_type.c6b = value_binding_pattern SOME_PRIVATE_CONSTANT [concrete] +// CHECK:STDOUT: %SOME_PRIVATE_CONSTANT.patt: %pattern_type.104 = value_binding_pattern SOME_PRIVATE_CONSTANT [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_86: Core.IntLiteral = int_value 86 [concrete = constants.%int_86.bd3] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc11_44.1: = bound_method %int_86, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc11_44.2: = bound_method %int_86, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc11_44.2(%int_86) [concrete = constants.%int_86.1cf] -// CHECK:STDOUT: %.loc11_44.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_86.1cf] -// CHECK:STDOUT: %.loc11_44.2: %i32 = converted %int_86, %.loc11_44.1 [concrete = constants.%int_86.1cf] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc11_44.2(%int_86) [concrete = constants.%int_86.845] +// CHECK:STDOUT: %.loc11_44.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_86.845] +// CHECK:STDOUT: %.loc11_44.2: %i32 = converted %int_86, %.loc11_44.1 [concrete = constants.%int_86.845] // CHECK:STDOUT: %SOME_PRIVATE_CONSTANT: %i32 = value_binding SOME_PRIVATE_CONSTANT, %.loc11_44.2 // CHECK:STDOUT: %B.Fb.decl: %B.Fb.type = fn_decl @B.Fb [concrete = constants.%B.Fb] {} {} -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.0f3 [concrete = constants.%complete_type.01e] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.722 [concrete = constants.%complete_type.27e] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1123,17 +1123,17 @@ class B { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %.loc16: %C.elem = base_decl %B.ref, element0 [concrete] // CHECK:STDOUT: %C.G1.decl: %C.G1.type = fn_decl @C.G1 [concrete = constants.%C.G1] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %C.G2.decl: %C.G2.type = fn_decl @C.G2 [concrete = constants.%C.G2] {} {} // CHECK:STDOUT: %C.G3.decl: %C.G3.type = fn_decl @C.G3 [concrete = constants.%C.G3] {} {} -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.0e7 [concrete = constants.%complete_type.a48] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.cef [concrete = constants.%complete_type.3f7] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1190,8 +1190,8 @@ class B { // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %B [concrete] // CHECK:STDOUT: %C.G.type: type = fn_type @C.G [concrete] // CHECK:STDOUT: %C.G: %C.G.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.232: type = struct_type {.base: %B} [concrete] -// CHECK:STDOUT: %complete_type.185: = complete_type_witness %struct_type.base.232 [concrete] +// CHECK:STDOUT: %struct_type.base.cef: type = struct_type {.base: %B} [concrete] +// CHECK:STDOUT: %complete_type.3f7: = complete_type_witness %struct_type.base.cef [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1226,7 +1226,7 @@ class B { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %.loc9: %C.elem = base_decl %B.ref, element0 [concrete] // CHECK:STDOUT: %C.G.decl: %C.G.type = fn_decl @C.G [concrete = constants.%C.G] {} {} -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.232 [concrete = constants.%complete_type.185] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.cef [concrete = constants.%complete_type.3f7] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1259,25 +1259,25 @@ class B { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_5.64b: Core.IntLiteral = int_value 5 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %Internal: type = class_type @Internal [concrete] @@ -1285,11 +1285,11 @@ class B { // CHECK:STDOUT: %B.elem: type = unbound_element_type %B, %Internal [concrete] // CHECK:STDOUT: %B.G.type: type = fn_type @B.G [concrete] // CHECK:STDOUT: %B.G: %B.G.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.bf2: type = pattern_type %B [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] // CHECK:STDOUT: %B.SomeFunc.type: type = fn_type @B.SomeFunc [concrete] // CHECK:STDOUT: %B.SomeFunc: %B.SomeFunc.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.internal.e42: type = struct_type {.internal: %Internal} [concrete] -// CHECK:STDOUT: %complete_type.ca9: = complete_type_witness %struct_type.internal.e42 [concrete] +// CHECK:STDOUT: %struct_type.internal.f2f: type = struct_type {.internal: %Internal} [concrete] +// CHECK:STDOUT: %complete_type.39f: = complete_type_witness %struct_type.internal.f2f [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1300,9 +1300,9 @@ class B { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1320,30 +1320,30 @@ class B { // CHECK:STDOUT: // CHECK:STDOUT: class @A { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %SOME_PROTECTED_CONSTANT.patt: %pattern_type.c6b = value_binding_pattern SOME_PROTECTED_CONSTANT [concrete] +// CHECK:STDOUT: %SOME_PROTECTED_CONSTANT.patt: %pattern_type.104 = value_binding_pattern SOME_PROTECTED_CONSTANT [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_5.loc5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] // CHECK:STDOUT: %i32.loc5: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc5: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc5: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc5_48.1: = bound_method %int_5.loc5, %impl.elem0.loc5 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc5: = specific_function %impl.elem0.loc5, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc5_48.2: = bound_method %int_5.loc5, %specific_fn.loc5 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5: init %i32 = call %bound_method.loc5_48.2(%int_5.loc5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc5_48.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc5_48.2: %i32 = converted %int_5.loc5, %.loc5_48.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5: init %i32 = call %bound_method.loc5_48.2(%int_5.loc5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc5_48.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc5_48.2: %i32 = converted %int_5.loc5, %.loc5_48.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %SOME_PROTECTED_CONSTANT: %i32 = value_binding SOME_PROTECTED_CONSTANT, %.loc5_48.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %SOME_PRIVATE_CONSTANT.patt: %pattern_type.c6b = value_binding_pattern SOME_PRIVATE_CONSTANT [concrete] +// CHECK:STDOUT: %SOME_PRIVATE_CONSTANT.patt: %pattern_type.104 = value_binding_pattern SOME_PRIVATE_CONSTANT [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_5.loc6: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] // CHECK:STDOUT: %i32.loc6: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc6: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc6: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc6_44.1: = bound_method %int_5.loc6, %impl.elem0.loc6 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc6: = specific_function %impl.elem0.loc6, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc6_44.2: = bound_method %int_5.loc6, %specific_fn.loc6 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %i32 = call %bound_method.loc6_44.2(%int_5.loc6) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc6_44.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc6_44.2: %i32 = converted %int_5.loc6, %.loc6_44.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %i32 = call %bound_method.loc6_44.2(%int_5.loc6) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc6_44.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc6_44.2: %i32 = converted %int_5.loc6, %.loc6_44.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %SOME_PRIVATE_CONSTANT: %i32 = value_binding SOME_PRIVATE_CONSTANT, %.loc6_44.2 // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type.357] // CHECK:STDOUT: complete_type_witness = %complete_type @@ -1356,17 +1356,17 @@ class B { // CHECK:STDOUT: // CHECK:STDOUT: class @Internal { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %INTERNAL_CONSTANT.patt: %pattern_type.c6b = value_binding_pattern INTERNAL_CONSTANT [concrete] +// CHECK:STDOUT: %INTERNAL_CONSTANT.patt: %pattern_type.104 = value_binding_pattern INTERNAL_CONSTANT [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc10_42.1: = bound_method %int_5, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc10_42.2: = bound_method %int_5, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc10_42.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc10_42.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc10_42.2: %i32 = converted %int_5, %.loc10_42.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc10_42.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc10_42.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc10_42.2: %i32 = converted %int_5, %.loc10_42.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %INTERNAL_CONSTANT: %i32 = value_binding INTERNAL_CONSTANT, %.loc10_42.2 // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type.357] // CHECK:STDOUT: complete_type_witness = %complete_type @@ -1379,29 +1379,29 @@ class B { // CHECK:STDOUT: class @B { // CHECK:STDOUT: %.loc14: %B.elem = field_decl internal, element0 [concrete] // CHECK:STDOUT: %B.G.decl: %B.G.type = fn_decl @B.G [concrete = constants.%B.G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %B.SomeFunc.decl: %B.SomeFunc.type = fn_decl @B.SomeFunc [concrete = constants.%B.SomeFunc] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.bf2 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.bf2 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.787 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.787 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc36: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc36: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: %B = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%B [concrete = constants.%B] // CHECK:STDOUT: %self: %B = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.internal.e42 [concrete = constants.%complete_type.ca9] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.internal.f2f [concrete = constants.%complete_type.39f] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1442,14 +1442,14 @@ class B { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %A.elem: type = unbound_element_type %A, %i32 [concrete] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fa5: = complete_type_witness %struct_type.x [concrete] +// CHECK:STDOUT: %complete_type.9a8: = complete_type_witness %struct_type.x [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %B.elem: type = unbound_element_type %B, %A [concrete] -// CHECK:STDOUT: %pattern_type.eef: type = pattern_type %B [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] // CHECK:STDOUT: %B.F.type: type = fn_type @B.F [concrete] // CHECK:STDOUT: %B.F: %B.F.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.b3a: type = struct_type {.base: %A} [concrete] -// CHECK:STDOUT: %complete_type.b46: = complete_type_witness %struct_type.base.b3a [concrete] +// CHECK:STDOUT: %struct_type.base.722: type = struct_type {.base: %A} [concrete] +// CHECK:STDOUT: %complete_type.27e: = complete_type_witness %struct_type.base.722 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1474,7 +1474,7 @@ class B { // CHECK:STDOUT: // CHECK:STDOUT: class @A { // CHECK:STDOUT: %.loc5: %A.elem = field_decl x, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x [concrete = constants.%complete_type.fa5] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x [concrete = constants.%complete_type.9a8] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1487,14 +1487,14 @@ class B { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %.loc9: %B.elem = base_decl %A.ref, element0 [concrete] // CHECK:STDOUT: %B.F.decl: %B.F.type = fn_decl @B.F [concrete = constants.%B.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.eef = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.eef = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.787 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.787 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %B = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%B [concrete = constants.%B] // CHECK:STDOUT: %self: %B = value_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.b3a [concrete = constants.%complete_type.b46] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.722 [concrete = constants.%complete_type.27e] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1523,14 +1523,14 @@ class B { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %A.elem: type = unbound_element_type %A, %i32 [concrete] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fa5: = complete_type_witness %struct_type.x [concrete] +// CHECK:STDOUT: %complete_type.9a8: = complete_type_witness %struct_type.x [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %B.elem: type = unbound_element_type %B, %A [concrete] -// CHECK:STDOUT: %pattern_type.171: type = pattern_type %B [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] // CHECK:STDOUT: %B.F.type: type = fn_type @B.F [concrete] // CHECK:STDOUT: %B.F: %B.F.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.e25: type = struct_type {.base: %A} [concrete] -// CHECK:STDOUT: %complete_type.e93: = complete_type_witness %struct_type.base.e25 [concrete] +// CHECK:STDOUT: %struct_type.base.722: type = struct_type {.base: %A} [concrete] +// CHECK:STDOUT: %complete_type.27e: = complete_type_witness %struct_type.base.722 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1555,7 +1555,7 @@ class B { // CHECK:STDOUT: // CHECK:STDOUT: class @A { // CHECK:STDOUT: %.loc5: %A.elem = field_decl x, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x [concrete = constants.%complete_type.fa5] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x [concrete = constants.%complete_type.9a8] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1568,14 +1568,14 @@ class B { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %.loc9: %B.elem = base_decl %A.ref, element0 [concrete] // CHECK:STDOUT: %B.F.decl: %B.F.type = fn_decl @B.F [concrete = constants.%B.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.171 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.171 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.787 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.787 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %B = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%B [concrete = constants.%B] // CHECK:STDOUT: %self: %B = value_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.e25 [concrete = constants.%complete_type.e93] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.722 [concrete = constants.%complete_type.27e] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: diff --git a/toolchain/check/testdata/class/access/todo_access_modifiers.carbon b/toolchain/check/testdata/class/access/todo_access_modifiers.carbon index 6da3aa222022..044d4b43af06 100644 --- a/toolchain/check/testdata/class/access/todo_access_modifiers.carbon +++ b/toolchain/check/testdata/class/access/todo_access_modifiers.carbon @@ -37,7 +37,7 @@ class Access { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Access.elem: type = unbound_element_type %Access, %i32 [concrete] // CHECK:STDOUT: %struct_type.k.l: type = struct_type {.k: %i32, .l: %i32} [concrete] -// CHECK:STDOUT: %complete_type.0fd: = complete_type_witness %struct_type.k.l [concrete] +// CHECK:STDOUT: %complete_type.c7d: = complete_type_witness %struct_type.k.l [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -63,7 +63,7 @@ class Access { // CHECK:STDOUT: %Access.G.decl: %Access.G.type = fn_decl @Access.G [concrete = constants.%Access.G] {} {} // CHECK:STDOUT: %.loc21: %Access.elem = field_decl k, element0 [concrete] // CHECK:STDOUT: %.loc23: %Access.elem = field_decl l, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.k.l [concrete = constants.%complete_type.0fd] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.k.l [concrete = constants.%complete_type.c7d] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: diff --git a/toolchain/check/testdata/class/adapter/adapt.carbon b/toolchain/check/testdata/class/adapter/adapt.carbon index 72a83877bff0..205f333f6565 100644 --- a/toolchain/check/testdata/class/adapter/adapt.carbon +++ b/toolchain/check/testdata/class/adapter/adapt.carbon @@ -80,7 +80,7 @@ interface I { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %SomeClass.elem: type = unbound_element_type %SomeClass, %i32 [concrete] // CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %complete_type.f58: = complete_type_witness %struct_type.a.b [concrete] +// CHECK:STDOUT: %complete_type.abf: = complete_type_witness %struct_type.a.b [concrete] // CHECK:STDOUT: %SomeClassAdapter: type = class_type @SomeClassAdapter [concrete] // CHECK:STDOUT: %StructAdapter: type = class_type @StructAdapter [concrete] // CHECK:STDOUT: } @@ -110,7 +110,7 @@ interface I { // CHECK:STDOUT: class @SomeClass { // CHECK:STDOUT: %.loc5: %SomeClass.elem = field_decl a, element0 [concrete] // CHECK:STDOUT: %.loc6: %SomeClass.elem = field_decl b, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -122,7 +122,7 @@ interface I { // CHECK:STDOUT: class @SomeClassAdapter { // CHECK:STDOUT: %SomeClass.ref: type = name_ref SomeClass, file.%SomeClass.decl [concrete = constants.%SomeClass] // CHECK:STDOUT: adapt_decl %SomeClass.ref [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -135,7 +135,7 @@ interface I { // CHECK:STDOUT: %i32.loc14_23: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b] // CHECK:STDOUT: adapt_decl %struct_type.a.b [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: diff --git a/toolchain/check/testdata/class/adapter/adapt_copy.carbon b/toolchain/check/testdata/class/adapter/adapt_copy.carbon index aead32008245..c551c5fa4662 100644 --- a/toolchain/check/testdata/class/adapter/adapt_copy.carbon +++ b/toolchain/check/testdata/class/adapter/adapt_copy.carbon @@ -176,27 +176,27 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %pattern_type.87e: type = pattern_type %AdaptCopyable [concrete] -// CHECK:STDOUT: %.5de: Core.Form = init_form %AdaptCopyable [concrete] +// CHECK:STDOUT: %pattern_type.8c3: type = pattern_type %AdaptCopyable [concrete] +// CHECK:STDOUT: %.d6a: Core.Form = init_form %AdaptCopyable [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc16_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc16_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: %UInt.type: type = generic_class_type @UInt [concrete] // CHECK:STDOUT: %UInt.generic: %UInt.type = struct_value () [concrete] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.523: %tuple.type.24b = tuple_value (%AdaptCopyable, %u32) [concrete] -// CHECK:STDOUT: %tuple.type.74b: type = tuple_type (%AdaptCopyable, %u32) [concrete] -// CHECK:STDOUT: %pattern_type.f72: type = pattern_type %tuple.type.74b [concrete] -// CHECK:STDOUT: %.056: Core.Form = init_form %tuple.type.74b [concrete] +// CHECK:STDOUT: %tuple.830: %tuple.type.24b = tuple_value (%AdaptCopyable, %u32) [concrete] +// CHECK:STDOUT: %tuple.type.26d: type = tuple_type (%AdaptCopyable, %u32) [concrete] +// CHECK:STDOUT: %pattern_type.6f8: type = pattern_type %tuple.type.26d [concrete] +// CHECK:STDOUT: %.081: Core.Form = init_form %tuple.type.26d [concrete] // CHECK:STDOUT: %InTuple.type: type = fn_type @InTuple [concrete] // CHECK:STDOUT: %InTuple: %InTuple.type = struct_value () [concrete] // CHECK:STDOUT: %u32.builtin: type = int_type unsigned, %int_32 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc35_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc35_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -224,13 +224,13 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %AdaptCopyable.decl: type = class_decl @AdaptCopyable [concrete = constants.%AdaptCopyable] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.87e = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.87e = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.87e = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.87e = return_slot_pattern %return.param_patt, %AdaptCopyable.ref.loc8_27 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.8c3 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.8c3 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.8c3 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.8c3 = return_slot_pattern %return.param_patt, %AdaptCopyable.ref.loc8_27 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %AdaptCopyable.ref.loc8_27: type = name_ref AdaptCopyable, file.%AdaptCopyable.decl [concrete = constants.%AdaptCopyable] -// CHECK:STDOUT: %.loc8: Core.Form = init_form %AdaptCopyable.ref.loc8_27 [concrete = constants.%.5de] +// CHECK:STDOUT: %.loc8: Core.Form = init_form %AdaptCopyable.ref.loc8_27 [concrete = constants.%.d6a] // CHECK:STDOUT: %c.param: %AdaptCopyable = value_param call_param0 // CHECK:STDOUT: %AdaptCopyable.ref.loc8_9: type = name_ref AdaptCopyable, file.%AdaptCopyable.decl [concrete = constants.%AdaptCopyable] // CHECK:STDOUT: %c: %AdaptCopyable = value_binding c, %c.param @@ -238,26 +238,26 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %return: ref %AdaptCopyable = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %InTuple.decl: %InTuple.type = fn_decl @InTuple [concrete = constants.%InTuple] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.f72 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.f72 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.f72 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f72 = return_slot_pattern %return.param_patt, %.loc27_59.2 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.6f8 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.6f8 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.6f8 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.6f8 = return_slot_pattern %return.param_patt, %.loc27_59.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %AdaptCopyable.ref.loc27_41: type = name_ref AdaptCopyable, file.%AdaptCopyable.decl [concrete = constants.%AdaptCopyable] // CHECK:STDOUT: %u32.loc27_56: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %.loc27_59.1: %tuple.type.24b = tuple_literal (%AdaptCopyable.ref.loc27_41, %u32.loc27_56) [concrete = constants.%tuple.523] -// CHECK:STDOUT: %.loc27_59.2: type = converted %.loc27_59.1, constants.%tuple.type.74b [concrete = constants.%tuple.type.74b] -// CHECK:STDOUT: %.loc27_59.3: Core.Form = init_form %.loc27_59.2 [concrete = constants.%.056] -// CHECK:STDOUT: %c.param: %tuple.type.74b = value_param call_param0 -// CHECK:STDOUT: %.loc27_34.1: type = splice_block %.loc27_34.3 [concrete = constants.%tuple.type.74b] { +// CHECK:STDOUT: %.loc27_59.1: %tuple.type.24b = tuple_literal (%AdaptCopyable.ref.loc27_41, %u32.loc27_56) [concrete = constants.%tuple.830] +// CHECK:STDOUT: %.loc27_59.2: type = converted %.loc27_59.1, constants.%tuple.type.26d [concrete = constants.%tuple.type.26d] +// CHECK:STDOUT: %.loc27_59.3: Core.Form = init_form %.loc27_59.2 [concrete = constants.%.081] +// CHECK:STDOUT: %c.param: %tuple.type.26d = value_param call_param0 +// CHECK:STDOUT: %.loc27_34.1: type = splice_block %.loc27_34.3 [concrete = constants.%tuple.type.26d] { // CHECK:STDOUT: %AdaptCopyable.ref.loc27_16: type = name_ref AdaptCopyable, file.%AdaptCopyable.decl [concrete = constants.%AdaptCopyable] // CHECK:STDOUT: %u32.loc27_31: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %.loc27_34.2: %tuple.type.24b = tuple_literal (%AdaptCopyable.ref.loc27_16, %u32.loc27_31) [concrete = constants.%tuple.523] -// CHECK:STDOUT: %.loc27_34.3: type = converted %.loc27_34.2, constants.%tuple.type.74b [concrete = constants.%tuple.type.74b] +// CHECK:STDOUT: %.loc27_34.2: %tuple.type.24b = tuple_literal (%AdaptCopyable.ref.loc27_16, %u32.loc27_31) [concrete = constants.%tuple.830] +// CHECK:STDOUT: %.loc27_34.3: type = converted %.loc27_34.2, constants.%tuple.type.26d [concrete = constants.%tuple.type.26d] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %tuple.type.74b = value_binding c, %c.param -// CHECK:STDOUT: %return.param: ref %tuple.type.74b = out_param call_param1 -// CHECK:STDOUT: %return: ref %tuple.type.74b = return_slot %return.param +// CHECK:STDOUT: %c: %tuple.type.26d = value_binding c, %c.param +// CHECK:STDOUT: %return.param: ref %tuple.type.26d = out_param call_param1 +// CHECK:STDOUT: %return: ref %tuple.type.26d = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -274,8 +274,8 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @F(%c.param: %AdaptCopyable) -> out %return.param: %AdaptCopyable { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.87e = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.87e = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.8c3 = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.8c3 = var_pattern %d.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.var: ref %AdaptCopyable = var %d.var_patt // CHECK:STDOUT: %c.ref: %AdaptCopyable = name_ref c, %c @@ -284,7 +284,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %d: ref %AdaptCopyable = ref_binding d, %d.var // CHECK:STDOUT: %d.ref: ref %AdaptCopyable = name_ref d, %d // CHECK:STDOUT: %.loc24: %AdaptCopyable = acquire_value %d.ref -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%d.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -296,27 +296,27 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @InTuple(%c.param: %tuple.type.74b) -> out %return.param: %tuple.type.74b { +// CHECK:STDOUT: fn @InTuple(%c.param: %tuple.type.26d) -> out %return.param: %tuple.type.26d { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.f72 = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.f72 = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.6f8 = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.6f8 = var_pattern %d.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %d.var: ref %tuple.type.74b = var %d.var_patt -// CHECK:STDOUT: %c.ref: %tuple.type.74b = name_ref c, %c +// CHECK:STDOUT: %d.var: ref %tuple.type.26d = var %d.var_patt +// CHECK:STDOUT: %c.ref: %tuple.type.26d = name_ref c, %c // CHECK:STDOUT: %tuple.elem0.loc35: %AdaptCopyable = tuple_access %c.ref, element0 // CHECK:STDOUT: assign %d.var, -// CHECK:STDOUT: %.loc35_29.1: type = splice_block %.loc35_29.3 [concrete = constants.%tuple.type.74b] { +// CHECK:STDOUT: %.loc35_29.1: type = splice_block %.loc35_29.3 [concrete = constants.%tuple.type.26d] { // CHECK:STDOUT: %AdaptCopyable.ref.loc35: type = name_ref AdaptCopyable, file.%AdaptCopyable.decl [concrete = constants.%AdaptCopyable] // CHECK:STDOUT: %u32.loc35: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %.loc35_29.2: %tuple.type.24b = tuple_literal (%AdaptCopyable.ref.loc35, %u32.loc35) [concrete = constants.%tuple.523] -// CHECK:STDOUT: %.loc35_29.3: type = converted %.loc35_29.2, constants.%tuple.type.74b [concrete = constants.%tuple.type.74b] +// CHECK:STDOUT: %.loc35_29.2: %tuple.type.24b = tuple_literal (%AdaptCopyable.ref.loc35, %u32.loc35) [concrete = constants.%tuple.830] +// CHECK:STDOUT: %.loc35_29.3: type = converted %.loc35_29.2, constants.%tuple.type.26d [concrete = constants.%tuple.type.26d] // CHECK:STDOUT: } -// CHECK:STDOUT: %d: ref %tuple.type.74b = ref_binding d, %d.var -// CHECK:STDOUT: %d.ref: ref %tuple.type.74b = name_ref d, %d +// CHECK:STDOUT: %d: ref %tuple.type.26d = ref_binding d, %d.var +// CHECK:STDOUT: %d.ref: ref %tuple.type.26d = name_ref d, %d // CHECK:STDOUT: %tuple.elem0.loc43: ref %AdaptCopyable = tuple_access %d.ref, element0 // CHECK:STDOUT: %.loc43: %AdaptCopyable = acquire_value %tuple.elem0.loc43 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%d.var) // CHECK:STDOUT: return to %return.param // CHECK:STDOUT: } @@ -328,7 +328,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc35_3.3(%self.param: ref %tuple.type.74b) { +// CHECK:STDOUT: fn @Destroy.Op.loc35_3.3(%self.param: ref %tuple.type.26d) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -344,48 +344,48 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.8e3: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.79d: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %complete_type.6b9: = complete_type_witness %tuple.type.87c [concrete] -// CHECK:STDOUT: %pattern_type.b8a: type = pattern_type %AdaptTuple [concrete] -// CHECK:STDOUT: %.4dc: Core.Form = init_form %AdaptTuple [concrete] +// CHECK:STDOUT: %complete_type.3bf: = complete_type_witness %tuple.type.e5a [concrete] +// CHECK:STDOUT: %pattern_type.df9: type = pattern_type %AdaptTuple [concrete] +// CHECK:STDOUT: %.482: Core.Form = init_form %AdaptTuple [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc9_3.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc9_3.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: %UInt.type: type = generic_class_type @UInt [concrete] // CHECK:STDOUT: %UInt.generic: %UInt.type = struct_value () [concrete] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] -// CHECK:STDOUT: %tuple.c8f: %tuple.type.24b = tuple_value (%AdaptTuple, %u32) [concrete] -// CHECK:STDOUT: %tuple.type.68d: type = tuple_type (%AdaptTuple, %u32) [concrete] -// CHECK:STDOUT: %pattern_type.a38: type = pattern_type %tuple.type.68d [concrete] -// CHECK:STDOUT: %.cc0: Core.Form = init_form %tuple.type.68d [concrete] +// CHECK:STDOUT: %tuple.900: %tuple.type.24b = tuple_value (%AdaptTuple, %u32) [concrete] +// CHECK:STDOUT: %tuple.type.a9e: type = tuple_type (%AdaptTuple, %u32) [concrete] +// CHECK:STDOUT: %pattern_type.14f: type = pattern_type %tuple.type.a9e [concrete] +// CHECK:STDOUT: %.e59: Core.Form = init_form %tuple.type.a9e [concrete] // CHECK:STDOUT: %InTuple.type: type = fn_type @InTuple [concrete] // CHECK:STDOUT: %InTuple: %InTuple.type = struct_value () [concrete] // CHECK:STDOUT: %u32.builtin: type = int_type unsigned, %int_32 [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.a58: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.dc5: %UInt.as.Copy.impl.Op.type.a58 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0f3: = impl_witness imports.%Copy.impl_witness_table.a92, @UInt.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.3cf: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.6ad: %UInt.as.Copy.impl.Op.type.3cf = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.400: %Copy.type = facet_value %u32, (%Copy.impl_witness.0f3) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.1c6: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.400) [concrete] -// CHECK:STDOUT: %.2e6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.1c6, %Copy.facet.400 [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.specific_fn: = specific_function %UInt.as.Copy.impl.Op.6ad, @UInt.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.7: type = fn_type @Destroy.Op.loc14_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.7: %Destroy.Op.type.af7ec0.7 = struct_value () [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.743: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.521: %UInt.as.Copy.impl.Op.type.743 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.cfa: = impl_witness imports.%Copy.impl_witness_table.306, @UInt.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.46f: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.a73: %UInt.as.Copy.impl.Op.type.46f = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.87e: %Copy.type = facet_value %u32, (%Copy.impl_witness.cfa) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7b4: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.87e) [concrete] +// CHECK:STDOUT: %.637: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7b4, %Copy.facet.87e [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.specific_fn: = specific_function %UInt.as.Copy.impl.Op.a73, @UInt.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.7: type = fn_type @Destroy.Op.loc14_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.7: %Destroy.Op.type.790b3b.7 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -399,12 +399,12 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: %Core.UInt: %UInt.type = import_ref Core//prelude/parts/uint, UInt, loaded [concrete = constants.%UInt.generic] -// CHECK:STDOUT: %Core.import_ref.ca7: @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op.type (%UInt.as.Copy.impl.Op.type.a58) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op (constants.%UInt.as.Copy.impl.Op.dc5)] -// CHECK:STDOUT: %Copy.impl_witness_table.a92 = impl_witness_table (%Core.import_ref.ca7), @UInt.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.3cf: @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op.type (%UInt.as.Copy.impl.Op.type.743) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op (constants.%UInt.as.Copy.impl.Op.521)] +// CHECK:STDOUT: %Copy.impl_witness_table.306 = impl_witness_table (%Core.import_ref.3cf), @UInt.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -417,13 +417,13 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %AdaptTuple.decl: type = class_decl @AdaptTuple [concrete = constants.%AdaptTuple] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.b8a = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.b8a = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.b8a = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.b8a = return_slot_pattern %return.param_patt, %AdaptTuple.ref.loc8_24 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.df9 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.df9 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.df9 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.df9 = return_slot_pattern %return.param_patt, %AdaptTuple.ref.loc8_24 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %AdaptTuple.ref.loc8_24: type = name_ref AdaptTuple, file.%AdaptTuple.decl [concrete = constants.%AdaptTuple] -// CHECK:STDOUT: %.loc8: Core.Form = init_form %AdaptTuple.ref.loc8_24 [concrete = constants.%.4dc] +// CHECK:STDOUT: %.loc8: Core.Form = init_form %AdaptTuple.ref.loc8_24 [concrete = constants.%.482] // CHECK:STDOUT: %c.param: %AdaptTuple = value_param call_param0 // CHECK:STDOUT: %AdaptTuple.ref.loc8_9: type = name_ref AdaptTuple, file.%AdaptTuple.decl [concrete = constants.%AdaptTuple] // CHECK:STDOUT: %c: %AdaptTuple = value_binding c, %c.param @@ -431,36 +431,36 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %return: ref %AdaptTuple = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %InTuple.decl: %InTuple.type = fn_decl @InTuple [concrete = constants.%InTuple] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.a38 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.a38 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.a38 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.a38 = return_slot_pattern %return.param_patt, %.loc13_53.2 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.14f = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.14f = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.14f = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.14f = return_slot_pattern %return.param_patt, %.loc13_53.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %AdaptTuple.ref.loc13_38: type = name_ref AdaptTuple, file.%AdaptTuple.decl [concrete = constants.%AdaptTuple] // CHECK:STDOUT: %u32.loc13_50: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %.loc13_53.1: %tuple.type.24b = tuple_literal (%AdaptTuple.ref.loc13_38, %u32.loc13_50) [concrete = constants.%tuple.c8f] -// CHECK:STDOUT: %.loc13_53.2: type = converted %.loc13_53.1, constants.%tuple.type.68d [concrete = constants.%tuple.type.68d] -// CHECK:STDOUT: %.loc13_53.3: Core.Form = init_form %.loc13_53.2 [concrete = constants.%.cc0] -// CHECK:STDOUT: %c.param: %tuple.type.68d = value_param call_param0 -// CHECK:STDOUT: %.loc13_31.1: type = splice_block %.loc13_31.3 [concrete = constants.%tuple.type.68d] { +// CHECK:STDOUT: %.loc13_53.1: %tuple.type.24b = tuple_literal (%AdaptTuple.ref.loc13_38, %u32.loc13_50) [concrete = constants.%tuple.900] +// CHECK:STDOUT: %.loc13_53.2: type = converted %.loc13_53.1, constants.%tuple.type.a9e [concrete = constants.%tuple.type.a9e] +// CHECK:STDOUT: %.loc13_53.3: Core.Form = init_form %.loc13_53.2 [concrete = constants.%.e59] +// CHECK:STDOUT: %c.param: %tuple.type.a9e = value_param call_param0 +// CHECK:STDOUT: %.loc13_31.1: type = splice_block %.loc13_31.3 [concrete = constants.%tuple.type.a9e] { // CHECK:STDOUT: %AdaptTuple.ref.loc13_16: type = name_ref AdaptTuple, file.%AdaptTuple.decl [concrete = constants.%AdaptTuple] // CHECK:STDOUT: %u32.loc13_28: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %.loc13_31.2: %tuple.type.24b = tuple_literal (%AdaptTuple.ref.loc13_16, %u32.loc13_28) [concrete = constants.%tuple.c8f] -// CHECK:STDOUT: %.loc13_31.3: type = converted %.loc13_31.2, constants.%tuple.type.68d [concrete = constants.%tuple.type.68d] +// CHECK:STDOUT: %.loc13_31.2: %tuple.type.24b = tuple_literal (%AdaptTuple.ref.loc13_16, %u32.loc13_28) [concrete = constants.%tuple.900] +// CHECK:STDOUT: %.loc13_31.3: type = converted %.loc13_31.2, constants.%tuple.type.a9e [concrete = constants.%tuple.type.a9e] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %tuple.type.68d = value_binding c, %c.param -// CHECK:STDOUT: %return.param: ref %tuple.type.68d = out_param call_param1 -// CHECK:STDOUT: %return: ref %tuple.type.68d = return_slot %return.param +// CHECK:STDOUT: %c: %tuple.type.a9e = value_binding c, %c.param +// CHECK:STDOUT: %return.param: ref %tuple.type.a9e = out_param call_param1 +// CHECK:STDOUT: %return: ref %tuple.type.a9e = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @AdaptTuple { // CHECK:STDOUT: %i32.loc5_10: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc5_15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc5_18: %tuple.type.24b = tuple_literal (%i32.loc5_10, %i32.loc5_15) [concrete = constants.%tuple.8e3] -// CHECK:STDOUT: %.loc5_19: type = converted %.loc5_18, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] +// CHECK:STDOUT: %.loc5_18: %tuple.type.24b = tuple_literal (%i32.loc5_10, %i32.loc5_15) [concrete = constants.%tuple.79d] +// CHECK:STDOUT: %.loc5_19: type = converted %.loc5_18, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] // CHECK:STDOUT: adapt_decl %.loc5_19 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%tuple.type.87c [concrete = constants.%complete_type.6b9] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%tuple.type.e5a [concrete = constants.%complete_type.3bf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -470,60 +470,60 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @F(%c.param: %AdaptTuple) -> out %return.param: %AdaptTuple { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.b8a = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.b8a = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.df9 = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.df9 = var_pattern %d.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.var: ref %AdaptTuple = var %d.var_patt // CHECK:STDOUT: %c.ref: %AdaptTuple = name_ref c, %c -// CHECK:STDOUT: %.loc9_3.1: %tuple.type.87c = as_compatible %c.ref +// CHECK:STDOUT: %.loc9_3.1: %tuple.type.e5a = as_compatible %c.ref // CHECK:STDOUT: %tuple.elem0.loc9_3.1: %i32 = tuple_access %.loc9_3.1, element0 -// CHECK:STDOUT: %impl.elem0.loc9_3.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc9_3.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc9_3.1: = bound_method %tuple.elem0.loc9_3.1, %impl.elem0.loc9_3.1 // CHECK:STDOUT: %specific_fn.loc9_3.1: = specific_function %impl.elem0.loc9_3.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc9_3.2: = bound_method %tuple.elem0.loc9_3.1, %specific_fn.loc9_3.1 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc9_3.1: init %i32 = call %bound_method.loc9_3.2(%tuple.elem0.loc9_3.1) -// CHECK:STDOUT: %.loc9_3.2: ref %tuple.type.87c = as_compatible %d.var +// CHECK:STDOUT: %.loc9_3.2: ref %tuple.type.e5a = as_compatible %d.var // CHECK:STDOUT: %tuple.elem0.loc9_3.2: ref %i32 = tuple_access %.loc9_3.2, element0 // CHECK:STDOUT: %.loc9_3.3: init %i32 to %tuple.elem0.loc9_3.2 = in_place_init %Int.as.Copy.impl.Op.call.loc9_3.1 // CHECK:STDOUT: %tuple.elem1.loc9_3.1: %i32 = tuple_access %.loc9_3.1, element1 -// CHECK:STDOUT: %impl.elem0.loc9_3.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc9_3.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc9_3.3: = bound_method %tuple.elem1.loc9_3.1, %impl.elem0.loc9_3.2 // CHECK:STDOUT: %specific_fn.loc9_3.2: = specific_function %impl.elem0.loc9_3.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc9_3.4: = bound_method %tuple.elem1.loc9_3.1, %specific_fn.loc9_3.2 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc9_3.2: init %i32 = call %bound_method.loc9_3.4(%tuple.elem1.loc9_3.1) // CHECK:STDOUT: %tuple.elem1.loc9_3.2: ref %i32 = tuple_access %.loc9_3.2, element1 // CHECK:STDOUT: %.loc9_3.4: init %i32 to %tuple.elem1.loc9_3.2 = in_place_init %Int.as.Copy.impl.Op.call.loc9_3.2 -// CHECK:STDOUT: %.loc9_3.5: init %tuple.type.87c to %.loc9_3.2 = tuple_init (%.loc9_3.3, %.loc9_3.4) +// CHECK:STDOUT: %.loc9_3.5: init %tuple.type.e5a to %.loc9_3.2 = tuple_init (%.loc9_3.3, %.loc9_3.4) // CHECK:STDOUT: %.loc9_3.6: init %AdaptTuple = as_compatible %.loc9_3.5 // CHECK:STDOUT: %.loc9_3.7: init %AdaptTuple = converted %c.ref, %.loc9_3.6 // CHECK:STDOUT: assign %d.var, %.loc9_3.7 // CHECK:STDOUT: %AdaptTuple.ref.loc9: type = name_ref AdaptTuple, file.%AdaptTuple.decl [concrete = constants.%AdaptTuple] // CHECK:STDOUT: %d: ref %AdaptTuple = ref_binding d, %d.var // CHECK:STDOUT: %d.ref: ref %AdaptTuple = name_ref d, %d -// CHECK:STDOUT: %.loc10_11.1: ref %tuple.type.87c = as_compatible %d.ref +// CHECK:STDOUT: %.loc10_11.1: ref %tuple.type.e5a = as_compatible %d.ref // CHECK:STDOUT: %tuple.elem0.loc10_11.1: ref %i32 = tuple_access %.loc10_11.1, element0 // CHECK:STDOUT: %.loc10_11.2: %i32 = acquire_value %tuple.elem0.loc10_11.1 -// CHECK:STDOUT: %impl.elem0.loc10_11.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc10_11.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc10_11.1: = bound_method %.loc10_11.2, %impl.elem0.loc10_11.1 // CHECK:STDOUT: %specific_fn.loc10_11.1: = specific_function %impl.elem0.loc10_11.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc10_11.2: = bound_method %.loc10_11.2, %specific_fn.loc10_11.1 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc10_11.1: init %i32 = call %bound_method.loc10_11.2(%.loc10_11.2) -// CHECK:STDOUT: %.loc10_11.3: ref %tuple.type.87c = as_compatible %return.param +// CHECK:STDOUT: %.loc10_11.3: ref %tuple.type.e5a = as_compatible %return.param // CHECK:STDOUT: %tuple.elem0.loc10_11.2: ref %i32 = tuple_access %.loc10_11.3, element0 // CHECK:STDOUT: %.loc10_11.4: init %i32 to %tuple.elem0.loc10_11.2 = in_place_init %Int.as.Copy.impl.Op.call.loc10_11.1 // CHECK:STDOUT: %tuple.elem1.loc10_11.1: ref %i32 = tuple_access %.loc10_11.1, element1 // CHECK:STDOUT: %.loc10_11.5: %i32 = acquire_value %tuple.elem1.loc10_11.1 -// CHECK:STDOUT: %impl.elem0.loc10_11.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc10_11.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc10_11.3: = bound_method %.loc10_11.5, %impl.elem0.loc10_11.2 // CHECK:STDOUT: %specific_fn.loc10_11.2: = specific_function %impl.elem0.loc10_11.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc10_11.4: = bound_method %.loc10_11.5, %specific_fn.loc10_11.2 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc10_11.2: init %i32 = call %bound_method.loc10_11.4(%.loc10_11.5) // CHECK:STDOUT: %tuple.elem1.loc10_11.2: ref %i32 = tuple_access %.loc10_11.3, element1 // CHECK:STDOUT: %.loc10_11.6: init %i32 to %tuple.elem1.loc10_11.2 = in_place_init %Int.as.Copy.impl.Op.call.loc10_11.2 -// CHECK:STDOUT: %.loc10_11.7: init %tuple.type.87c to %.loc10_11.3 = tuple_init (%.loc10_11.4, %.loc10_11.6) +// CHECK:STDOUT: %.loc10_11.7: init %tuple.type.e5a to %.loc10_11.3 = tuple_init (%.loc10_11.4, %.loc10_11.6) // CHECK:STDOUT: %.loc10_11.8: init %AdaptTuple = as_compatible %.loc10_11.7 // CHECK:STDOUT: %.loc10_11.9: init %AdaptTuple = converted %d.ref, %.loc10_11.8 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%d.var) // CHECK:STDOUT: return %.loc10_11.9 to %return.param // CHECK:STDOUT: } @@ -535,7 +535,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %tuple.type.87c) { +// CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %tuple.type.e5a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -545,93 +545,93 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @InTuple(%c.param: %tuple.type.68d) -> out %return.param: %tuple.type.68d { +// CHECK:STDOUT: fn @InTuple(%c.param: %tuple.type.a9e) -> out %return.param: %tuple.type.a9e { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.a38 = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.a38 = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.14f = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.14f = var_pattern %d.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %d.var: ref %tuple.type.68d = var %d.var_patt -// CHECK:STDOUT: %c.ref: %tuple.type.68d = name_ref c, %c +// CHECK:STDOUT: %d.var: ref %tuple.type.a9e = var %d.var_patt +// CHECK:STDOUT: %c.ref: %tuple.type.a9e = name_ref c, %c // CHECK:STDOUT: %tuple.elem0.loc14_30.1: %AdaptTuple = tuple_access %c.ref, element0 -// CHECK:STDOUT: %.loc14_30.1: %tuple.type.87c = as_compatible %tuple.elem0.loc14_30.1 +// CHECK:STDOUT: %.loc14_30.1: %tuple.type.e5a = as_compatible %tuple.elem0.loc14_30.1 // CHECK:STDOUT: %tuple.elem0.loc14_30.2: %i32 = tuple_access %.loc14_30.1, element0 -// CHECK:STDOUT: %impl.elem0.loc14_30.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc14_30.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc14_30.1: = bound_method %tuple.elem0.loc14_30.2, %impl.elem0.loc14_30.1 // CHECK:STDOUT: %specific_fn.loc14_30.1: = specific_function %impl.elem0.loc14_30.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_30.2: = bound_method %tuple.elem0.loc14_30.2, %specific_fn.loc14_30.1 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc14_30.1: init %i32 = call %bound_method.loc14_30.2(%tuple.elem0.loc14_30.2) // CHECK:STDOUT: %tuple.elem0.loc14_30.3: ref %AdaptTuple = tuple_access %d.var, element0 -// CHECK:STDOUT: %.loc14_30.2: ref %tuple.type.87c = as_compatible %tuple.elem0.loc14_30.3 +// CHECK:STDOUT: %.loc14_30.2: ref %tuple.type.e5a = as_compatible %tuple.elem0.loc14_30.3 // CHECK:STDOUT: %tuple.elem0.loc14_30.4: ref %i32 = tuple_access %.loc14_30.2, element0 // CHECK:STDOUT: %.loc14_30.3: init %i32 to %tuple.elem0.loc14_30.4 = in_place_init %Int.as.Copy.impl.Op.call.loc14_30.1 // CHECK:STDOUT: %tuple.elem1.loc14_30.1: %i32 = tuple_access %.loc14_30.1, element1 -// CHECK:STDOUT: %impl.elem0.loc14_30.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc14_30.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc14_30.3: = bound_method %tuple.elem1.loc14_30.1, %impl.elem0.loc14_30.2 // CHECK:STDOUT: %specific_fn.loc14_30.2: = specific_function %impl.elem0.loc14_30.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_30.4: = bound_method %tuple.elem1.loc14_30.1, %specific_fn.loc14_30.2 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc14_30.2: init %i32 = call %bound_method.loc14_30.4(%tuple.elem1.loc14_30.1) // CHECK:STDOUT: %tuple.elem1.loc14_30.2: ref %i32 = tuple_access %.loc14_30.2, element1 // CHECK:STDOUT: %.loc14_30.4: init %i32 to %tuple.elem1.loc14_30.2 = in_place_init %Int.as.Copy.impl.Op.call.loc14_30.2 -// CHECK:STDOUT: %.loc14_30.5: init %tuple.type.87c to %.loc14_30.2 = tuple_init (%.loc14_30.3, %.loc14_30.4) +// CHECK:STDOUT: %.loc14_30.5: init %tuple.type.e5a to %.loc14_30.2 = tuple_init (%.loc14_30.3, %.loc14_30.4) // CHECK:STDOUT: %.loc14_30.6: init %AdaptTuple = as_compatible %.loc14_30.5 // CHECK:STDOUT: %.loc14_30.7: init %AdaptTuple = converted %tuple.elem0.loc14_30.1, %.loc14_30.6 // CHECK:STDOUT: %tuple.elem1.loc14_30.3: %u32 = tuple_access %c.ref, element1 -// CHECK:STDOUT: %impl.elem0.loc14_30.3: %.2e6 = impl_witness_access constants.%Copy.impl_witness.0f3, element0 [concrete = constants.%UInt.as.Copy.impl.Op.6ad] +// CHECK:STDOUT: %impl.elem0.loc14_30.3: %.637 = impl_witness_access constants.%Copy.impl_witness.cfa, element0 [concrete = constants.%UInt.as.Copy.impl.Op.a73] // CHECK:STDOUT: %bound_method.loc14_30.5: = bound_method %tuple.elem1.loc14_30.3, %impl.elem0.loc14_30.3 // CHECK:STDOUT: %specific_fn.loc14_30.3: = specific_function %impl.elem0.loc14_30.3, @UInt.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%UInt.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_30.6: = bound_method %tuple.elem1.loc14_30.3, %specific_fn.loc14_30.3 // CHECK:STDOUT: %UInt.as.Copy.impl.Op.call.loc14: init %u32 = call %bound_method.loc14_30.6(%tuple.elem1.loc14_30.3) // CHECK:STDOUT: %tuple.elem1.loc14_30.4: ref %u32 = tuple_access %d.var, element1 // CHECK:STDOUT: %.loc14_30.8: init %u32 to %tuple.elem1.loc14_30.4 = in_place_init %UInt.as.Copy.impl.Op.call.loc14 -// CHECK:STDOUT: %.loc14_30.9: init %tuple.type.68d to %d.var = tuple_init (%.loc14_30.7, %.loc14_30.8) -// CHECK:STDOUT: %.loc14_3: init %tuple.type.68d = converted %c.ref, %.loc14_30.9 +// CHECK:STDOUT: %.loc14_30.9: init %tuple.type.a9e to %d.var = tuple_init (%.loc14_30.7, %.loc14_30.8) +// CHECK:STDOUT: %.loc14_3: init %tuple.type.a9e = converted %c.ref, %.loc14_30.9 // CHECK:STDOUT: assign %d.var, %.loc14_3 -// CHECK:STDOUT: %.loc14_26.1: type = splice_block %.loc14_26.3 [concrete = constants.%tuple.type.68d] { +// CHECK:STDOUT: %.loc14_26.1: type = splice_block %.loc14_26.3 [concrete = constants.%tuple.type.a9e] { // CHECK:STDOUT: %AdaptTuple.ref.loc14: type = name_ref AdaptTuple, file.%AdaptTuple.decl [concrete = constants.%AdaptTuple] // CHECK:STDOUT: %u32.loc14: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %.loc14_26.2: %tuple.type.24b = tuple_literal (%AdaptTuple.ref.loc14, %u32.loc14) [concrete = constants.%tuple.c8f] -// CHECK:STDOUT: %.loc14_26.3: type = converted %.loc14_26.2, constants.%tuple.type.68d [concrete = constants.%tuple.type.68d] +// CHECK:STDOUT: %.loc14_26.2: %tuple.type.24b = tuple_literal (%AdaptTuple.ref.loc14, %u32.loc14) [concrete = constants.%tuple.900] +// CHECK:STDOUT: %.loc14_26.3: type = converted %.loc14_26.2, constants.%tuple.type.a9e [concrete = constants.%tuple.type.a9e] // CHECK:STDOUT: } -// CHECK:STDOUT: %d: ref %tuple.type.68d = ref_binding d, %d.var -// CHECK:STDOUT: %d.ref: ref %tuple.type.68d = name_ref d, %d +// CHECK:STDOUT: %d: ref %tuple.type.a9e = ref_binding d, %d.var +// CHECK:STDOUT: %d.ref: ref %tuple.type.a9e = name_ref d, %d // CHECK:STDOUT: %tuple.elem0.loc15_10.1: ref %AdaptTuple = tuple_access %d.ref, element0 -// CHECK:STDOUT: %.loc15_10.1: ref %tuple.type.87c = as_compatible %tuple.elem0.loc15_10.1 +// CHECK:STDOUT: %.loc15_10.1: ref %tuple.type.e5a = as_compatible %tuple.elem0.loc15_10.1 // CHECK:STDOUT: %tuple.elem0.loc15_10.2: ref %i32 = tuple_access %.loc15_10.1, element0 // CHECK:STDOUT: %.loc15_10.2: %i32 = acquire_value %tuple.elem0.loc15_10.2 -// CHECK:STDOUT: %impl.elem0.loc15_10.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc15_10.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc15_10.1: = bound_method %.loc15_10.2, %impl.elem0.loc15_10.1 // CHECK:STDOUT: %specific_fn.loc15_10.1: = specific_function %impl.elem0.loc15_10.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc15_10.2: = bound_method %.loc15_10.2, %specific_fn.loc15_10.1 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc15_10.1: init %i32 = call %bound_method.loc15_10.2(%.loc15_10.2) // CHECK:STDOUT: %tuple.elem0.loc15_10.3: ref %AdaptTuple = tuple_access %return.param, element0 -// CHECK:STDOUT: %.loc15_10.3: ref %tuple.type.87c = as_compatible %tuple.elem0.loc15_10.3 +// CHECK:STDOUT: %.loc15_10.3: ref %tuple.type.e5a = as_compatible %tuple.elem0.loc15_10.3 // CHECK:STDOUT: %tuple.elem0.loc15_10.4: ref %i32 = tuple_access %.loc15_10.3, element0 // CHECK:STDOUT: %.loc15_10.4: init %i32 to %tuple.elem0.loc15_10.4 = in_place_init %Int.as.Copy.impl.Op.call.loc15_10.1 // CHECK:STDOUT: %tuple.elem1.loc15_10.1: ref %i32 = tuple_access %.loc15_10.1, element1 // CHECK:STDOUT: %.loc15_10.5: %i32 = acquire_value %tuple.elem1.loc15_10.1 -// CHECK:STDOUT: %impl.elem0.loc15_10.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc15_10.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc15_10.3: = bound_method %.loc15_10.5, %impl.elem0.loc15_10.2 // CHECK:STDOUT: %specific_fn.loc15_10.2: = specific_function %impl.elem0.loc15_10.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc15_10.4: = bound_method %.loc15_10.5, %specific_fn.loc15_10.2 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc15_10.2: init %i32 = call %bound_method.loc15_10.4(%.loc15_10.5) // CHECK:STDOUT: %tuple.elem1.loc15_10.2: ref %i32 = tuple_access %.loc15_10.3, element1 // CHECK:STDOUT: %.loc15_10.6: init %i32 to %tuple.elem1.loc15_10.2 = in_place_init %Int.as.Copy.impl.Op.call.loc15_10.2 -// CHECK:STDOUT: %.loc15_10.7: init %tuple.type.87c to %.loc15_10.3 = tuple_init (%.loc15_10.4, %.loc15_10.6) +// CHECK:STDOUT: %.loc15_10.7: init %tuple.type.e5a to %.loc15_10.3 = tuple_init (%.loc15_10.4, %.loc15_10.6) // CHECK:STDOUT: %.loc15_10.8: init %AdaptTuple = as_compatible %.loc15_10.7 // CHECK:STDOUT: %.loc15_10.9: init %AdaptTuple = converted %tuple.elem0.loc15_10.1, %.loc15_10.8 // CHECK:STDOUT: %tuple.elem1.loc15_10.3: ref %u32 = tuple_access %d.ref, element1 // CHECK:STDOUT: %.loc15_10.10: %u32 = acquire_value %tuple.elem1.loc15_10.3 -// CHECK:STDOUT: %impl.elem0.loc15_10.3: %.2e6 = impl_witness_access constants.%Copy.impl_witness.0f3, element0 [concrete = constants.%UInt.as.Copy.impl.Op.6ad] +// CHECK:STDOUT: %impl.elem0.loc15_10.3: %.637 = impl_witness_access constants.%Copy.impl_witness.cfa, element0 [concrete = constants.%UInt.as.Copy.impl.Op.a73] // CHECK:STDOUT: %bound_method.loc15_10.5: = bound_method %.loc15_10.10, %impl.elem0.loc15_10.3 // CHECK:STDOUT: %specific_fn.loc15_10.3: = specific_function %impl.elem0.loc15_10.3, @UInt.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%UInt.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc15_10.6: = bound_method %.loc15_10.10, %specific_fn.loc15_10.3 // CHECK:STDOUT: %UInt.as.Copy.impl.Op.call.loc15: init %u32 = call %bound_method.loc15_10.6(%.loc15_10.10) // CHECK:STDOUT: %tuple.elem1.loc15_10.4: ref %u32 = tuple_access %return.param, element1 // CHECK:STDOUT: %.loc15_10.11: init %u32 to %tuple.elem1.loc15_10.4 = in_place_init %UInt.as.Copy.impl.Op.call.loc15 -// CHECK:STDOUT: %.loc15_10.12: init %tuple.type.68d to %return.param = tuple_init (%.loc15_10.9, %.loc15_10.11) -// CHECK:STDOUT: %.loc15_11: init %tuple.type.68d = converted %d.ref, %.loc15_10.12 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.1dc86d.7 +// CHECK:STDOUT: %.loc15_10.12: init %tuple.type.a9e to %return.param = tuple_init (%.loc15_10.9, %.loc15_10.11) +// CHECK:STDOUT: %.loc15_11: init %tuple.type.a9e = converted %d.ref, %.loc15_10.12 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.2dd605.7 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%d.var) // CHECK:STDOUT: return %.loc15_11 to %return.param // CHECK:STDOUT: } @@ -643,7 +643,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc14_3.3(%self.param: ref %tuple.type.68d) { +// CHECK:STDOUT: fn @Destroy.Op.loc14_3.3(%self.param: ref %tuple.type.a9e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -656,14 +656,14 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %AdaptNoncopyable: type = class_type @AdaptNoncopyable [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %pattern_type.146: type = pattern_type %AdaptNoncopyable [concrete] -// CHECK:STDOUT: %.5ee: Core.Form = init_form %AdaptNoncopyable [concrete] +// CHECK:STDOUT: %pattern_type.f07: type = pattern_type %AdaptNoncopyable [concrete] +// CHECK:STDOUT: %.b35: Core.Form = init_form %AdaptNoncopyable [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc20_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc20_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -688,13 +688,13 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Noncopyable.decl: type = class_decl @Noncopyable [concrete = constants.%Noncopyable] {} {} // CHECK:STDOUT: %AdaptNoncopyable.decl: type = class_decl @AdaptNoncopyable [concrete = constants.%AdaptNoncopyable] {} {} // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.146 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.146 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.146 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.146 = return_slot_pattern %return.param_patt, %AdaptNoncopyable.ref.loc12_30 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.f07 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f07 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.f07 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.f07 = return_slot_pattern %return.param_patt, %AdaptNoncopyable.ref.loc12_30 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %AdaptNoncopyable.ref.loc12_30: type = name_ref AdaptNoncopyable, file.%AdaptNoncopyable.decl [concrete = constants.%AdaptNoncopyable] -// CHECK:STDOUT: %.loc12: Core.Form = init_form %AdaptNoncopyable.ref.loc12_30 [concrete = constants.%.5ee] +// CHECK:STDOUT: %.loc12: Core.Form = init_form %AdaptNoncopyable.ref.loc12_30 [concrete = constants.%.b35] // CHECK:STDOUT: %a.param: %AdaptNoncopyable = value_param call_param0 // CHECK:STDOUT: %AdaptNoncopyable.ref.loc12_9: type = name_ref AdaptNoncopyable, file.%AdaptNoncopyable.decl [concrete = constants.%AdaptNoncopyable] // CHECK:STDOUT: %a: %AdaptNoncopyable = value_binding a, %a.param @@ -725,8 +725,8 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @G(%a.param: %AdaptNoncopyable) -> out %return.param: %AdaptNoncopyable { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.146 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.146 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f07 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.f07 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %AdaptNoncopyable = var %b.var_patt // CHECK:STDOUT: %a.ref: %AdaptNoncopyable = name_ref a, %a @@ -735,7 +735,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %b: ref %AdaptNoncopyable = ref_binding b, %b.var // CHECK:STDOUT: %b.ref: ref %AdaptNoncopyable = name_ref b, %b // CHECK:STDOUT: %.loc28: %AdaptNoncopyable = acquire_value %b.ref -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%b.var) // CHECK:STDOUT: return to %return.param // CHECK:STDOUT: } @@ -761,27 +761,27 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.ff9: type = tuple_type (type, type, type) [concrete] -// CHECK:STDOUT: %tuple.e36: %tuple.type.ff9 = tuple_value (%i32, %Noncopyable, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.985: type = tuple_type (%i32, %Noncopyable, %i32) [concrete] +// CHECK:STDOUT: %tuple.a41: %tuple.type.ff9 = tuple_value (%i32, %Noncopyable, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.820: type = tuple_type (%i32, %Noncopyable, %i32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %complete_type.f66: = complete_type_witness %tuple.type.985 [concrete] -// CHECK:STDOUT: %pattern_type.c26: type = pattern_type %AdaptNoncopyableIndirect [concrete] -// CHECK:STDOUT: %.8e8: Core.Form = init_form %AdaptNoncopyableIndirect [concrete] +// CHECK:STDOUT: %complete_type.bad: = complete_type_witness %tuple.type.820 [concrete] +// CHECK:STDOUT: %pattern_type.0b1: type = pattern_type %AdaptNoncopyableIndirect [concrete] +// CHECK:STDOUT: %.150: Core.Form = init_form %AdaptNoncopyableIndirect [concrete] // CHECK:STDOUT: %H.type: type = fn_type @H [concrete] // CHECK:STDOUT: %H: %H.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc23_3.6 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc23_3.6 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -794,8 +794,8 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -810,13 +810,13 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Noncopyable.decl: type = class_decl @Noncopyable [concrete = constants.%Noncopyable] {} {} // CHECK:STDOUT: %AdaptNoncopyableIndirect.decl: type = class_decl @AdaptNoncopyableIndirect [concrete = constants.%AdaptNoncopyableIndirect] {} {} // CHECK:STDOUT: %H.decl: %H.type = fn_decl @H [concrete = constants.%H] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c26 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c26 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c26 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c26 = return_slot_pattern %return.param_patt, %AdaptNoncopyableIndirect.ref.loc12_38 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.0b1 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.0b1 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0b1 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0b1 = return_slot_pattern %return.param_patt, %AdaptNoncopyableIndirect.ref.loc12_38 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %AdaptNoncopyableIndirect.ref.loc12_38: type = name_ref AdaptNoncopyableIndirect, file.%AdaptNoncopyableIndirect.decl [concrete = constants.%AdaptNoncopyableIndirect] -// CHECK:STDOUT: %.loc12: Core.Form = init_form %AdaptNoncopyableIndirect.ref.loc12_38 [concrete = constants.%.8e8] +// CHECK:STDOUT: %.loc12: Core.Form = init_form %AdaptNoncopyableIndirect.ref.loc12_38 [concrete = constants.%.150] // CHECK:STDOUT: %a.param: %AdaptNoncopyableIndirect = value_param call_param0 // CHECK:STDOUT: %AdaptNoncopyableIndirect.ref.loc12_9: type = name_ref AdaptNoncopyableIndirect, file.%AdaptNoncopyableIndirect.decl [concrete = constants.%AdaptNoncopyableIndirect] // CHECK:STDOUT: %a: %AdaptNoncopyableIndirect = value_binding a, %a.param @@ -837,10 +837,10 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %i32.loc9_10: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %Noncopyable.ref: type = name_ref Noncopyable, file.%Noncopyable.decl [concrete = constants.%Noncopyable] // CHECK:STDOUT: %i32.loc9_28: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc9_31: %tuple.type.ff9 = tuple_literal (%i32.loc9_10, %Noncopyable.ref, %i32.loc9_28) [concrete = constants.%tuple.e36] -// CHECK:STDOUT: %.loc9_32: type = converted %.loc9_31, constants.%tuple.type.985 [concrete = constants.%tuple.type.985] +// CHECK:STDOUT: %.loc9_31: %tuple.type.ff9 = tuple_literal (%i32.loc9_10, %Noncopyable.ref, %i32.loc9_28) [concrete = constants.%tuple.a41] +// CHECK:STDOUT: %.loc9_32: type = converted %.loc9_31, constants.%tuple.type.820 [concrete = constants.%tuple.type.820] // CHECK:STDOUT: adapt_decl %.loc9_32 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%tuple.type.985 [concrete = constants.%complete_type.f66] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%tuple.type.820 [concrete = constants.%complete_type.bad] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -851,19 +851,19 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @H(%a.param: %AdaptNoncopyableIndirect) -> out %return.param: %AdaptNoncopyableIndirect { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c26 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c26 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.0b1 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.0b1 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %AdaptNoncopyableIndirect = var %b.var_patt // CHECK:STDOUT: %a.ref: %AdaptNoncopyableIndirect = name_ref a, %a -// CHECK:STDOUT: %.loc23_3.1: %tuple.type.985 = as_compatible %a.ref +// CHECK:STDOUT: %.loc23_3.1: %tuple.type.820 = as_compatible %a.ref // CHECK:STDOUT: %tuple.elem0.loc23_3.1: %i32 = tuple_access %.loc23_3.1, element0 -// CHECK:STDOUT: %impl.elem0.loc23: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc23: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc23_3.1: = bound_method %tuple.elem0.loc23_3.1, %impl.elem0.loc23 // CHECK:STDOUT: %specific_fn.loc23: = specific_function %impl.elem0.loc23, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc23_3.2: = bound_method %tuple.elem0.loc23_3.1, %specific_fn.loc23 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc23: init %i32 = call %bound_method.loc23_3.2(%tuple.elem0.loc23_3.1) -// CHECK:STDOUT: %.loc23_3.2: ref %tuple.type.985 = as_compatible %b.var +// CHECK:STDOUT: %.loc23_3.2: ref %tuple.type.820 = as_compatible %b.var // CHECK:STDOUT: %tuple.elem0.loc23_3.2: ref %i32 = tuple_access %.loc23_3.2, element0 // CHECK:STDOUT: %.loc23_3.3: init %i32 to %tuple.elem0.loc23_3.2 = in_place_init %Int.as.Copy.impl.Op.call.loc23 // CHECK:STDOUT: %tuple.elem1.loc23: %Noncopyable = tuple_access %.loc23_3.1, element1 @@ -871,20 +871,20 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %AdaptNoncopyableIndirect.ref.loc23: type = name_ref AdaptNoncopyableIndirect, file.%AdaptNoncopyableIndirect.decl [concrete = constants.%AdaptNoncopyableIndirect] // CHECK:STDOUT: %b: ref %AdaptNoncopyableIndirect = ref_binding b, %b.var // CHECK:STDOUT: %b.ref: ref %AdaptNoncopyableIndirect = name_ref b, %b -// CHECK:STDOUT: %.loc34_11.1: ref %tuple.type.985 = as_compatible %b.ref +// CHECK:STDOUT: %.loc34_11.1: ref %tuple.type.820 = as_compatible %b.ref // CHECK:STDOUT: %tuple.elem0.loc34_11.1: ref %i32 = tuple_access %.loc34_11.1, element0 // CHECK:STDOUT: %.loc34_11.2: %i32 = acquire_value %tuple.elem0.loc34_11.1 -// CHECK:STDOUT: %impl.elem0.loc34: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc34: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc34_11.1: = bound_method %.loc34_11.2, %impl.elem0.loc34 // CHECK:STDOUT: %specific_fn.loc34: = specific_function %impl.elem0.loc34, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc34_11.2: = bound_method %.loc34_11.2, %specific_fn.loc34 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc34: init %i32 = call %bound_method.loc34_11.2(%.loc34_11.2) -// CHECK:STDOUT: %.loc34_11.3: ref %tuple.type.985 = as_compatible %return.param +// CHECK:STDOUT: %.loc34_11.3: ref %tuple.type.820 = as_compatible %return.param // CHECK:STDOUT: %tuple.elem0.loc34_11.2: ref %i32 = tuple_access %.loc34_11.3, element0 // CHECK:STDOUT: %.loc34_11.4: init %i32 to %tuple.elem0.loc34_11.2 = in_place_init %Int.as.Copy.impl.Op.call.loc34 // CHECK:STDOUT: %tuple.elem1.loc34: ref %Noncopyable = tuple_access %.loc34_11.1, element1 // CHECK:STDOUT: %.loc34_11.5: %Noncopyable = acquire_value %tuple.elem1.loc34 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%b.var) // CHECK:STDOUT: return to %return.param // CHECK:STDOUT: } @@ -903,7 +903,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc23_3.5(%self.param: ref %tuple.type.985) { +// CHECK:STDOUT: fn @Destroy.Op.loc23_3.5(%self.param: ref %tuple.type.820) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -925,46 +925,46 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.e.f: type = struct_type {.e: %i32, .f: %i32} [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %complete_type.8e4: = complete_type_witness %struct_type.e.f [concrete] -// CHECK:STDOUT: %pattern_type.9fc: type = pattern_type %AdaptStruct [concrete] -// CHECK:STDOUT: %.bb3: Core.Form = init_form %AdaptStruct [concrete] +// CHECK:STDOUT: %complete_type.fec: = complete_type_witness %struct_type.e.f [concrete] +// CHECK:STDOUT: %pattern_type.5f2: type = pattern_type %AdaptStruct [concrete] +// CHECK:STDOUT: %.8bf: Core.Form = init_form %AdaptStruct [concrete] // CHECK:STDOUT: %I.type: type = fn_type @I [concrete] // CHECK:STDOUT: %I: %I.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc9_3.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc9_3.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: %UInt.type: type = generic_class_type @UInt [concrete] // CHECK:STDOUT: %UInt.generic: %UInt.type = struct_value () [concrete] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.a59: %tuple.type.24b = tuple_value (%AdaptStruct, %u32) [concrete] -// CHECK:STDOUT: %tuple.type.534: type = tuple_type (%AdaptStruct, %u32) [concrete] -// CHECK:STDOUT: %pattern_type.8f9: type = pattern_type %tuple.type.534 [concrete] -// CHECK:STDOUT: %.1415: Core.Form = init_form %tuple.type.534 [concrete] +// CHECK:STDOUT: %tuple.741: %tuple.type.24b = tuple_value (%AdaptStruct, %u32) [concrete] +// CHECK:STDOUT: %tuple.type.65e: type = tuple_type (%AdaptStruct, %u32) [concrete] +// CHECK:STDOUT: %pattern_type.4cb: type = pattern_type %tuple.type.65e [concrete] +// CHECK:STDOUT: %.532: Core.Form = init_form %tuple.type.65e [concrete] // CHECK:STDOUT: %InTuple.type: type = fn_type @InTuple [concrete] // CHECK:STDOUT: %InTuple: %InTuple.type = struct_value () [concrete] // CHECK:STDOUT: %u32.builtin: type = int_type unsigned, %int_32 [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.a58: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.dc5: %UInt.as.Copy.impl.Op.type.a58 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0f3: = impl_witness imports.%Copy.impl_witness_table.a92, @UInt.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.3cf: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.6ad: %UInt.as.Copy.impl.Op.type.3cf = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.400: %Copy.type = facet_value %u32, (%Copy.impl_witness.0f3) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.1c6: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.400) [concrete] -// CHECK:STDOUT: %.2e6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.1c6, %Copy.facet.400 [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.specific_fn: = specific_function %UInt.as.Copy.impl.Op.6ad, @UInt.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.7: type = fn_type @Destroy.Op.loc14_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.7: %Destroy.Op.type.af7ec0.7 = struct_value () [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.743: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.521: %UInt.as.Copy.impl.Op.type.743 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.cfa: = impl_witness imports.%Copy.impl_witness_table.306, @UInt.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.46f: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.a73: %UInt.as.Copy.impl.Op.type.46f = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.87e: %Copy.type = facet_value %u32, (%Copy.impl_witness.cfa) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7b4: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.87e) [concrete] +// CHECK:STDOUT: %.637: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7b4, %Copy.facet.87e [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.specific_fn: = specific_function %UInt.as.Copy.impl.Op.a73, @UInt.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.7: type = fn_type @Destroy.Op.loc14_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.7: %Destroy.Op.type.790b3b.7 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -978,12 +978,12 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: %Core.UInt: %UInt.type = import_ref Core//prelude/parts/uint, UInt, loaded [concrete = constants.%UInt.generic] -// CHECK:STDOUT: %Core.import_ref.ca7: @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op.type (%UInt.as.Copy.impl.Op.type.a58) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op (constants.%UInt.as.Copy.impl.Op.dc5)] -// CHECK:STDOUT: %Copy.impl_witness_table.a92 = impl_witness_table (%Core.import_ref.ca7), @UInt.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.3cf: @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op.type (%UInt.as.Copy.impl.Op.type.743) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op (constants.%UInt.as.Copy.impl.Op.521)] +// CHECK:STDOUT: %Copy.impl_witness_table.306 = impl_witness_table (%Core.import_ref.3cf), @UInt.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -996,13 +996,13 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %AdaptStruct.decl: type = class_decl @AdaptStruct [concrete = constants.%AdaptStruct] {} {} // CHECK:STDOUT: %I.decl: %I.type = fn_decl @I [concrete = constants.%I] { -// CHECK:STDOUT: %g.param_patt: %pattern_type.9fc = value_param_pattern [concrete] -// CHECK:STDOUT: %g.patt: %pattern_type.9fc = at_binding_pattern g, %g.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.9fc = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.9fc = return_slot_pattern %return.param_patt, %AdaptStruct.ref.loc8_25 [concrete] +// CHECK:STDOUT: %g.param_patt: %pattern_type.5f2 = value_param_pattern [concrete] +// CHECK:STDOUT: %g.patt: %pattern_type.5f2 = at_binding_pattern g, %g.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.5f2 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.5f2 = return_slot_pattern %return.param_patt, %AdaptStruct.ref.loc8_25 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %AdaptStruct.ref.loc8_25: type = name_ref AdaptStruct, file.%AdaptStruct.decl [concrete = constants.%AdaptStruct] -// CHECK:STDOUT: %.loc8: Core.Form = init_form %AdaptStruct.ref.loc8_25 [concrete = constants.%.bb3] +// CHECK:STDOUT: %.loc8: Core.Form = init_form %AdaptStruct.ref.loc8_25 [concrete = constants.%.8bf] // CHECK:STDOUT: %g.param: %AdaptStruct = value_param call_param0 // CHECK:STDOUT: %AdaptStruct.ref.loc8_9: type = name_ref AdaptStruct, file.%AdaptStruct.decl [concrete = constants.%AdaptStruct] // CHECK:STDOUT: %g: %AdaptStruct = value_binding g, %g.param @@ -1010,26 +1010,26 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %return: ref %AdaptStruct = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %InTuple.decl: %InTuple.type = fn_decl @InTuple [concrete = constants.%InTuple] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.8f9 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.8f9 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.8f9 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.8f9 = return_slot_pattern %return.param_patt, %.loc13_55.2 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.4cb = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.4cb = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.4cb = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.4cb = return_slot_pattern %return.param_patt, %.loc13_55.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %AdaptStruct.ref.loc13_39: type = name_ref AdaptStruct, file.%AdaptStruct.decl [concrete = constants.%AdaptStruct] // CHECK:STDOUT: %u32.loc13_52: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %.loc13_55.1: %tuple.type.24b = tuple_literal (%AdaptStruct.ref.loc13_39, %u32.loc13_52) [concrete = constants.%tuple.a59] -// CHECK:STDOUT: %.loc13_55.2: type = converted %.loc13_55.1, constants.%tuple.type.534 [concrete = constants.%tuple.type.534] -// CHECK:STDOUT: %.loc13_55.3: Core.Form = init_form %.loc13_55.2 [concrete = constants.%.1415] -// CHECK:STDOUT: %c.param: %tuple.type.534 = value_param call_param0 -// CHECK:STDOUT: %.loc13_32.1: type = splice_block %.loc13_32.3 [concrete = constants.%tuple.type.534] { +// CHECK:STDOUT: %.loc13_55.1: %tuple.type.24b = tuple_literal (%AdaptStruct.ref.loc13_39, %u32.loc13_52) [concrete = constants.%tuple.741] +// CHECK:STDOUT: %.loc13_55.2: type = converted %.loc13_55.1, constants.%tuple.type.65e [concrete = constants.%tuple.type.65e] +// CHECK:STDOUT: %.loc13_55.3: Core.Form = init_form %.loc13_55.2 [concrete = constants.%.532] +// CHECK:STDOUT: %c.param: %tuple.type.65e = value_param call_param0 +// CHECK:STDOUT: %.loc13_32.1: type = splice_block %.loc13_32.3 [concrete = constants.%tuple.type.65e] { // CHECK:STDOUT: %AdaptStruct.ref.loc13_16: type = name_ref AdaptStruct, file.%AdaptStruct.decl [concrete = constants.%AdaptStruct] // CHECK:STDOUT: %u32.loc13_29: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %.loc13_32.2: %tuple.type.24b = tuple_literal (%AdaptStruct.ref.loc13_16, %u32.loc13_29) [concrete = constants.%tuple.a59] -// CHECK:STDOUT: %.loc13_32.3: type = converted %.loc13_32.2, constants.%tuple.type.534 [concrete = constants.%tuple.type.534] +// CHECK:STDOUT: %.loc13_32.2: %tuple.type.24b = tuple_literal (%AdaptStruct.ref.loc13_16, %u32.loc13_29) [concrete = constants.%tuple.741] +// CHECK:STDOUT: %.loc13_32.3: type = converted %.loc13_32.2, constants.%tuple.type.65e [concrete = constants.%tuple.type.65e] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %tuple.type.534 = value_binding c, %c.param -// CHECK:STDOUT: %return.param: ref %tuple.type.534 = out_param call_param1 -// CHECK:STDOUT: %return: ref %tuple.type.534 = return_slot %return.param +// CHECK:STDOUT: %c: %tuple.type.65e = value_binding c, %c.param +// CHECK:STDOUT: %return.param: ref %tuple.type.65e = out_param call_param1 +// CHECK:STDOUT: %return: ref %tuple.type.65e = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1038,7 +1038,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %i32.loc5_23: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %struct_type.e.f: type = struct_type {.e: %i32, .f: %i32} [concrete = constants.%struct_type.e.f] // CHECK:STDOUT: adapt_decl %struct_type.e.f [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.e.f [concrete = constants.%complete_type.8e4] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.e.f [concrete = constants.%complete_type.fec] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1048,14 +1048,14 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: fn @I(%g.param: %AdaptStruct) -> out %return.param: %AdaptStruct { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %h.patt: %pattern_type.9fc = ref_binding_pattern h [concrete] -// CHECK:STDOUT: %h.var_patt: %pattern_type.9fc = var_pattern %h.patt [concrete] +// CHECK:STDOUT: %h.patt: %pattern_type.5f2 = ref_binding_pattern h [concrete] +// CHECK:STDOUT: %h.var_patt: %pattern_type.5f2 = var_pattern %h.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %h.var: ref %AdaptStruct = var %h.var_patt // CHECK:STDOUT: %g.ref: %AdaptStruct = name_ref g, %g // CHECK:STDOUT: %.loc9_3.1: %struct_type.e.f = as_compatible %g.ref // CHECK:STDOUT: %.loc9_3.2: %i32 = struct_access %.loc9_3.1, element0 -// CHECK:STDOUT: %impl.elem0.loc9_3.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc9_3.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc9_3.1: = bound_method %.loc9_3.2, %impl.elem0.loc9_3.1 // CHECK:STDOUT: %specific_fn.loc9_3.1: = specific_function %impl.elem0.loc9_3.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc9_3.2: = bound_method %.loc9_3.2, %specific_fn.loc9_3.1 @@ -1064,7 +1064,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %.loc9_3.4: ref %i32 = struct_access %.loc9_3.3, element0 // CHECK:STDOUT: %.loc9_3.5: init %i32 to %.loc9_3.4 = in_place_init %Int.as.Copy.impl.Op.call.loc9_3.1 // CHECK:STDOUT: %.loc9_3.6: %i32 = struct_access %.loc9_3.1, element1 -// CHECK:STDOUT: %impl.elem0.loc9_3.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc9_3.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc9_3.3: = bound_method %.loc9_3.6, %impl.elem0.loc9_3.2 // CHECK:STDOUT: %specific_fn.loc9_3.2: = specific_function %impl.elem0.loc9_3.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc9_3.4: = bound_method %.loc9_3.6, %specific_fn.loc9_3.2 @@ -1081,7 +1081,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %.loc10_11.1: ref %struct_type.e.f = as_compatible %h.ref // CHECK:STDOUT: %.loc10_11.2: ref %i32 = struct_access %.loc10_11.1, element0 // CHECK:STDOUT: %.loc10_11.3: %i32 = acquire_value %.loc10_11.2 -// CHECK:STDOUT: %impl.elem0.loc10_11.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc10_11.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc10_11.1: = bound_method %.loc10_11.3, %impl.elem0.loc10_11.1 // CHECK:STDOUT: %specific_fn.loc10_11.1: = specific_function %impl.elem0.loc10_11.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc10_11.2: = bound_method %.loc10_11.3, %specific_fn.loc10_11.1 @@ -1091,7 +1091,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %.loc10_11.6: init %i32 to %.loc10_11.5 = in_place_init %Int.as.Copy.impl.Op.call.loc10_11.1 // CHECK:STDOUT: %.loc10_11.7: ref %i32 = struct_access %.loc10_11.1, element1 // CHECK:STDOUT: %.loc10_11.8: %i32 = acquire_value %.loc10_11.7 -// CHECK:STDOUT: %impl.elem0.loc10_11.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc10_11.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc10_11.3: = bound_method %.loc10_11.8, %impl.elem0.loc10_11.2 // CHECK:STDOUT: %specific_fn.loc10_11.2: = specific_function %impl.elem0.loc10_11.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc10_11.4: = bound_method %.loc10_11.8, %specific_fn.loc10_11.2 @@ -1101,7 +1101,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %.loc10_11.11: init %struct_type.e.f to %.loc10_11.4 = struct_init (%.loc10_11.6, %.loc10_11.10) // CHECK:STDOUT: %.loc10_11.12: init %AdaptStruct = as_compatible %.loc10_11.11 // CHECK:STDOUT: %.loc10_11.13: init %AdaptStruct = converted %h.ref, %.loc10_11.12 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %h.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %h.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%h.var) // CHECK:STDOUT: return %.loc10_11.13 to %return.param // CHECK:STDOUT: } @@ -1123,18 +1123,18 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @InTuple(%c.param: %tuple.type.534) -> out %return.param: %tuple.type.534 { +// CHECK:STDOUT: fn @InTuple(%c.param: %tuple.type.65e) -> out %return.param: %tuple.type.65e { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.8f9 = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.8f9 = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.4cb = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.4cb = var_pattern %d.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %d.var: ref %tuple.type.534 = var %d.var_patt -// CHECK:STDOUT: %c.ref: %tuple.type.534 = name_ref c, %c +// CHECK:STDOUT: %d.var: ref %tuple.type.65e = var %d.var_patt +// CHECK:STDOUT: %c.ref: %tuple.type.65e = name_ref c, %c // CHECK:STDOUT: %tuple.elem0.loc14_31.1: %AdaptStruct = tuple_access %c.ref, element0 // CHECK:STDOUT: %.loc14_31.1: %struct_type.e.f = as_compatible %tuple.elem0.loc14_31.1 // CHECK:STDOUT: %.loc14_31.2: %i32 = struct_access %.loc14_31.1, element0 -// CHECK:STDOUT: %impl.elem0.loc14_31.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc14_31.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc14_31.1: = bound_method %.loc14_31.2, %impl.elem0.loc14_31.1 // CHECK:STDOUT: %specific_fn.loc14_31.1: = specific_function %impl.elem0.loc14_31.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_31.2: = bound_method %.loc14_31.2, %specific_fn.loc14_31.1 @@ -1144,7 +1144,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %.loc14_31.4: ref %i32 = struct_access %.loc14_31.3, element0 // CHECK:STDOUT: %.loc14_31.5: init %i32 to %.loc14_31.4 = in_place_init %Int.as.Copy.impl.Op.call.loc14_31.1 // CHECK:STDOUT: %.loc14_31.6: %i32 = struct_access %.loc14_31.1, element1 -// CHECK:STDOUT: %impl.elem0.loc14_31.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc14_31.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc14_31.3: = bound_method %.loc14_31.6, %impl.elem0.loc14_31.2 // CHECK:STDOUT: %specific_fn.loc14_31.2: = specific_function %impl.elem0.loc14_31.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_31.4: = bound_method %.loc14_31.6, %specific_fn.loc14_31.2 @@ -1155,29 +1155,29 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %.loc14_31.10: init %AdaptStruct = as_compatible %.loc14_31.9 // CHECK:STDOUT: %.loc14_31.11: init %AdaptStruct = converted %tuple.elem0.loc14_31.1, %.loc14_31.10 // CHECK:STDOUT: %tuple.elem1.loc14_31.1: %u32 = tuple_access %c.ref, element1 -// CHECK:STDOUT: %impl.elem0.loc14_31.3: %.2e6 = impl_witness_access constants.%Copy.impl_witness.0f3, element0 [concrete = constants.%UInt.as.Copy.impl.Op.6ad] +// CHECK:STDOUT: %impl.elem0.loc14_31.3: %.637 = impl_witness_access constants.%Copy.impl_witness.cfa, element0 [concrete = constants.%UInt.as.Copy.impl.Op.a73] // CHECK:STDOUT: %bound_method.loc14_31.5: = bound_method %tuple.elem1.loc14_31.1, %impl.elem0.loc14_31.3 // CHECK:STDOUT: %specific_fn.loc14_31.3: = specific_function %impl.elem0.loc14_31.3, @UInt.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%UInt.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_31.6: = bound_method %tuple.elem1.loc14_31.1, %specific_fn.loc14_31.3 // CHECK:STDOUT: %UInt.as.Copy.impl.Op.call.loc14: init %u32 = call %bound_method.loc14_31.6(%tuple.elem1.loc14_31.1) // CHECK:STDOUT: %tuple.elem1.loc14_31.2: ref %u32 = tuple_access %d.var, element1 // CHECK:STDOUT: %.loc14_31.12: init %u32 to %tuple.elem1.loc14_31.2 = in_place_init %UInt.as.Copy.impl.Op.call.loc14 -// CHECK:STDOUT: %.loc14_31.13: init %tuple.type.534 to %d.var = tuple_init (%.loc14_31.11, %.loc14_31.12) -// CHECK:STDOUT: %.loc14_3: init %tuple.type.534 = converted %c.ref, %.loc14_31.13 +// CHECK:STDOUT: %.loc14_31.13: init %tuple.type.65e to %d.var = tuple_init (%.loc14_31.11, %.loc14_31.12) +// CHECK:STDOUT: %.loc14_3: init %tuple.type.65e = converted %c.ref, %.loc14_31.13 // CHECK:STDOUT: assign %d.var, %.loc14_3 -// CHECK:STDOUT: %.loc14_27.1: type = splice_block %.loc14_27.3 [concrete = constants.%tuple.type.534] { +// CHECK:STDOUT: %.loc14_27.1: type = splice_block %.loc14_27.3 [concrete = constants.%tuple.type.65e] { // CHECK:STDOUT: %AdaptStruct.ref.loc14: type = name_ref AdaptStruct, file.%AdaptStruct.decl [concrete = constants.%AdaptStruct] // CHECK:STDOUT: %u32.loc14: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %.loc14_27.2: %tuple.type.24b = tuple_literal (%AdaptStruct.ref.loc14, %u32.loc14) [concrete = constants.%tuple.a59] -// CHECK:STDOUT: %.loc14_27.3: type = converted %.loc14_27.2, constants.%tuple.type.534 [concrete = constants.%tuple.type.534] +// CHECK:STDOUT: %.loc14_27.2: %tuple.type.24b = tuple_literal (%AdaptStruct.ref.loc14, %u32.loc14) [concrete = constants.%tuple.741] +// CHECK:STDOUT: %.loc14_27.3: type = converted %.loc14_27.2, constants.%tuple.type.65e [concrete = constants.%tuple.type.65e] // CHECK:STDOUT: } -// CHECK:STDOUT: %d: ref %tuple.type.534 = ref_binding d, %d.var -// CHECK:STDOUT: %d.ref: ref %tuple.type.534 = name_ref d, %d +// CHECK:STDOUT: %d: ref %tuple.type.65e = ref_binding d, %d.var +// CHECK:STDOUT: %d.ref: ref %tuple.type.65e = name_ref d, %d // CHECK:STDOUT: %tuple.elem0.loc15_10.1: ref %AdaptStruct = tuple_access %d.ref, element0 // CHECK:STDOUT: %.loc15_10.1: ref %struct_type.e.f = as_compatible %tuple.elem0.loc15_10.1 // CHECK:STDOUT: %.loc15_10.2: ref %i32 = struct_access %.loc15_10.1, element0 // CHECK:STDOUT: %.loc15_10.3: %i32 = acquire_value %.loc15_10.2 -// CHECK:STDOUT: %impl.elem0.loc15_10.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc15_10.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc15_10.1: = bound_method %.loc15_10.3, %impl.elem0.loc15_10.1 // CHECK:STDOUT: %specific_fn.loc15_10.1: = specific_function %impl.elem0.loc15_10.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc15_10.2: = bound_method %.loc15_10.3, %specific_fn.loc15_10.1 @@ -1188,7 +1188,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %.loc15_10.6: init %i32 to %.loc15_10.5 = in_place_init %Int.as.Copy.impl.Op.call.loc15_10.1 // CHECK:STDOUT: %.loc15_10.7: ref %i32 = struct_access %.loc15_10.1, element1 // CHECK:STDOUT: %.loc15_10.8: %i32 = acquire_value %.loc15_10.7 -// CHECK:STDOUT: %impl.elem0.loc15_10.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc15_10.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc15_10.3: = bound_method %.loc15_10.8, %impl.elem0.loc15_10.2 // CHECK:STDOUT: %specific_fn.loc15_10.2: = specific_function %impl.elem0.loc15_10.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc15_10.4: = bound_method %.loc15_10.8, %specific_fn.loc15_10.2 @@ -1200,16 +1200,16 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: %.loc15_10.13: init %AdaptStruct = converted %tuple.elem0.loc15_10.1, %.loc15_10.12 // CHECK:STDOUT: %tuple.elem1.loc15_10.1: ref %u32 = tuple_access %d.ref, element1 // CHECK:STDOUT: %.loc15_10.14: %u32 = acquire_value %tuple.elem1.loc15_10.1 -// CHECK:STDOUT: %impl.elem0.loc15_10.3: %.2e6 = impl_witness_access constants.%Copy.impl_witness.0f3, element0 [concrete = constants.%UInt.as.Copy.impl.Op.6ad] +// CHECK:STDOUT: %impl.elem0.loc15_10.3: %.637 = impl_witness_access constants.%Copy.impl_witness.cfa, element0 [concrete = constants.%UInt.as.Copy.impl.Op.a73] // CHECK:STDOUT: %bound_method.loc15_10.5: = bound_method %.loc15_10.14, %impl.elem0.loc15_10.3 // CHECK:STDOUT: %specific_fn.loc15_10.3: = specific_function %impl.elem0.loc15_10.3, @UInt.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%UInt.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc15_10.6: = bound_method %.loc15_10.14, %specific_fn.loc15_10.3 // CHECK:STDOUT: %UInt.as.Copy.impl.Op.call.loc15: init %u32 = call %bound_method.loc15_10.6(%.loc15_10.14) // CHECK:STDOUT: %tuple.elem1.loc15_10.2: ref %u32 = tuple_access %return.param, element1 // CHECK:STDOUT: %.loc15_10.15: init %u32 to %tuple.elem1.loc15_10.2 = in_place_init %UInt.as.Copy.impl.Op.call.loc15 -// CHECK:STDOUT: %.loc15_10.16: init %tuple.type.534 to %return.param = tuple_init (%.loc15_10.13, %.loc15_10.15) -// CHECK:STDOUT: %.loc15_11: init %tuple.type.534 = converted %d.ref, %.loc15_10.16 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.1dc86d.7 +// CHECK:STDOUT: %.loc15_10.16: init %tuple.type.65e to %return.param = tuple_init (%.loc15_10.13, %.loc15_10.15) +// CHECK:STDOUT: %.loc15_11: init %tuple.type.65e = converted %d.ref, %.loc15_10.16 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.2dd605.7 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%d.var) // CHECK:STDOUT: return %.loc15_11 to %return.param // CHECK:STDOUT: } @@ -1221,7 +1221,7 @@ fn InTuple(c: (AdaptStruct, u32)) -> (AdaptStruct, u32) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc14_3.3(%self.param: ref %tuple.type.534) { +// CHECK:STDOUT: fn @Destroy.Op.loc14_3.3(%self.param: ref %tuple.type.65e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/adapter/extend_adapt.carbon b/toolchain/check/testdata/class/adapter/extend_adapt.carbon index 6cf26fcfefaa..dc38fc3c6ce2 100644 --- a/toolchain/check/testdata/class/adapter/extend_adapt.carbon +++ b/toolchain/check/testdata/class/adapter/extend_adapt.carbon @@ -155,11 +155,11 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %SomeClass.elem: type = unbound_element_type %SomeClass, %i32 [concrete] // CHECK:STDOUT: %SomeClass.StaticMemberFunction.type: type = fn_type @SomeClass.StaticMemberFunction [concrete] // CHECK:STDOUT: %SomeClass.StaticMemberFunction: %SomeClass.StaticMemberFunction.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.8bd: type = pattern_type %SomeClassAdapter [concrete] +// CHECK:STDOUT: %pattern_type.2d2: type = pattern_type %SomeClassAdapter [concrete] // CHECK:STDOUT: %SomeClass.AdapterMethod.type: type = fn_type @SomeClass.AdapterMethod [concrete] // CHECK:STDOUT: %SomeClass.AdapterMethod: %SomeClass.AdapterMethod.type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %complete_type.f58: = complete_type_witness %struct_type.a.b [concrete] +// CHECK:STDOUT: %complete_type.abf: = complete_type_witness %struct_type.a.b [concrete] // CHECK:STDOUT: %TestStaticMemberFunction.type: type = fn_type @TestStaticMemberFunction [concrete] // CHECK:STDOUT: %TestStaticMemberFunction: %TestStaticMemberFunction.type = struct_value () [concrete] // CHECK:STDOUT: %TestAdapterMethod.type: type = fn_type @TestAdapterMethod [concrete] @@ -188,16 +188,16 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %SomeClass.decl: type = class_decl @SomeClass [concrete = constants.%SomeClass] {} {} // CHECK:STDOUT: %SomeClassAdapter.decl.loc15: type = class_decl @SomeClassAdapter [concrete = constants.%SomeClassAdapter] {} {} // CHECK:STDOUT: %TestStaticMemberFunction.decl: %TestStaticMemberFunction.type = fn_decl @TestStaticMemberFunction [concrete = constants.%TestStaticMemberFunction] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.8bd = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.8bd = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.2d2 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.2d2 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %SomeClassAdapter = value_param call_param0 // CHECK:STDOUT: %SomeClassAdapter.ref: type = name_ref SomeClassAdapter, file.%SomeClassAdapter.decl.loc4 [concrete = constants.%SomeClassAdapter] // CHECK:STDOUT: %a: %SomeClassAdapter = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestAdapterMethod.decl: %TestAdapterMethod.type = fn_decl @TestAdapterMethod [concrete = constants.%TestAdapterMethod] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.8bd = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.8bd = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.2d2 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.2d2 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %SomeClassAdapter = value_param call_param0 // CHECK:STDOUT: %SomeClassAdapter.ref: type = name_ref SomeClassAdapter, file.%SomeClassAdapter.decl.loc4 [concrete = constants.%SomeClassAdapter] @@ -208,7 +208,7 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: class @SomeClassAdapter { // CHECK:STDOUT: %SomeClass.ref: type = name_ref SomeClass, file.%SomeClass.decl [concrete = constants.%SomeClass] // CHECK:STDOUT: adapt_decl %SomeClass.ref [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -224,14 +224,14 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %.loc8: %SomeClass.elem = field_decl b, element1 [concrete] // CHECK:STDOUT: %SomeClass.StaticMemberFunction.decl: %SomeClass.StaticMemberFunction.type = fn_decl @SomeClass.StaticMemberFunction [concrete = constants.%SomeClass.StaticMemberFunction] {} {} // CHECK:STDOUT: %SomeClass.AdapterMethod.decl: %SomeClass.AdapterMethod.type = fn_decl @SomeClass.AdapterMethod [concrete = constants.%SomeClass.AdapterMethod] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.8bd = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.8bd = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.2d2 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.2d2 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %SomeClassAdapter = value_param call_param0 // CHECK:STDOUT: %SomeClassAdapter.ref: type = name_ref SomeClassAdapter, file.%SomeClassAdapter.decl.loc4 [concrete = constants.%SomeClassAdapter] // CHECK:STDOUT: %self: %SomeClassAdapter = value_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -268,18 +268,18 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %SomeClass: type = class_type @SomeClass [concrete] -// CHECK:STDOUT: %pattern_type.8b0: type = pattern_type %SomeClass [concrete] +// CHECK:STDOUT: %pattern_type.824: type = pattern_type %SomeClass [concrete] // CHECK:STDOUT: %SomeClass.F.type: type = fn_type @SomeClass.F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %SomeClass.F: %SomeClass.F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %SomeClassAdapter: type = class_type @SomeClassAdapter [concrete] -// CHECK:STDOUT: %pattern_type.ac3: type = pattern_type %SomeClassAdapter [concrete] +// CHECK:STDOUT: %pattern_type.2d2: type = pattern_type %SomeClassAdapter [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -288,7 +288,7 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -302,8 +302,8 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %SomeClass.decl: type = class_decl @SomeClass [concrete = constants.%SomeClass] {} {} // CHECK:STDOUT: %SomeClassAdapter.decl: type = class_decl @SomeClassAdapter [concrete = constants.%SomeClassAdapter] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.ac3 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.ac3 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.2d2 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.2d2 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %SomeClassAdapter = value_param call_param0 // CHECK:STDOUT: %SomeClassAdapter.ref: type = name_ref SomeClassAdapter, file.%SomeClassAdapter.decl [concrete = constants.%SomeClassAdapter] @@ -313,8 +313,8 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: class @SomeClass { // CHECK:STDOUT: %SomeClass.F.decl: %SomeClass.F.type = fn_decl @SomeClass.F [concrete = constants.%SomeClass.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.8b0 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.8b0 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.824 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.824 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %SomeClass = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%SomeClass [concrete = constants.%SomeClass] @@ -361,17 +361,17 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %SomeClass.elem: type = unbound_element_type %SomeClass, %i32 [concrete] // CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %complete_type.f58: = complete_type_witness %struct_type.a.b [concrete] +// CHECK:STDOUT: %complete_type.abf: = complete_type_witness %struct_type.a.b [concrete] // CHECK:STDOUT: %SomeClassAdapter: type = class_type @SomeClassAdapter [concrete] -// CHECK:STDOUT: %pattern_type.bed: type = pattern_type %SomeClassAdapter [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.2d2: type = pattern_type %SomeClassAdapter [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -382,7 +382,7 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -396,13 +396,13 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %SomeClass.decl: type = class_decl @SomeClass [concrete = constants.%SomeClass] {} {} // CHECK:STDOUT: %SomeClassAdapter.decl: type = class_decl @SomeClassAdapter [concrete = constants.%SomeClassAdapter] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.bed = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.bed = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.2d2 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.2d2 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc13: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc13: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %SomeClassAdapter = value_param call_param0 // CHECK:STDOUT: %SomeClassAdapter.ref: type = name_ref SomeClassAdapter, file.%SomeClassAdapter.decl [concrete = constants.%SomeClassAdapter] // CHECK:STDOUT: %a: %SomeClassAdapter = value_binding a, %a.param @@ -414,7 +414,7 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: class @SomeClass { // CHECK:STDOUT: %.loc5: %SomeClass.elem = field_decl a, element0 [concrete] // CHECK:STDOUT: %.loc6: %SomeClass.elem = field_decl b, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -426,7 +426,7 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: class @SomeClassAdapter { // CHECK:STDOUT: %SomeClass.ref: type = name_ref SomeClass, file.%SomeClass.decl [concrete = constants.%SomeClass] // CHECK:STDOUT: adapt_decl %SomeClass.ref [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -454,10 +454,10 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %complete_type.f58: = complete_type_witness %struct_type.a.b [concrete] -// CHECK:STDOUT: %pattern_type.a6e: type = pattern_type %StructAdapter [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %complete_type.abf: = complete_type_witness %struct_type.a.b [concrete] +// CHECK:STDOUT: %pattern_type.915: type = pattern_type %StructAdapter [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -480,13 +480,13 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %StructAdapter.decl: type = class_decl @StructAdapter [concrete = constants.%StructAdapter] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.a6e = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.a6e = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.915 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.915 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc8: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %StructAdapter = value_param call_param0 // CHECK:STDOUT: %StructAdapter.ref: type = name_ref StructAdapter, file.%StructAdapter.decl [concrete = constants.%StructAdapter] // CHECK:STDOUT: %a: %StructAdapter = value_binding a, %a.param @@ -500,7 +500,7 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %i32.loc5_30: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b] // CHECK:STDOUT: adapt_decl %struct_type.a.b [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -526,11 +526,11 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %complete_type.6b9: = complete_type_witness %tuple.type.87c [concrete] -// CHECK:STDOUT: %pattern_type.e84: type = pattern_type %TupleAdapter [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %complete_type.3bf: = complete_type_witness %tuple.type.e5a [concrete] +// CHECK:STDOUT: %pattern_type.c00: type = pattern_type %TupleAdapter [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] @@ -554,13 +554,13 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %TupleAdapter.decl: type = class_decl @TupleAdapter [concrete = constants.%TupleAdapter] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.e84 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.e84 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.c00 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.c00 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc8: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %TupleAdapter = value_param call_param0 // CHECK:STDOUT: %TupleAdapter.ref: type = name_ref TupleAdapter, file.%TupleAdapter.decl [concrete = constants.%TupleAdapter] // CHECK:STDOUT: %a: %TupleAdapter = value_binding a, %a.param @@ -573,9 +573,9 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %i32.loc5_17: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc5_22: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc5_25: %tuple.type.24b = tuple_literal (%i32.loc5_17, %i32.loc5_22) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc5_26: type = converted %.loc5_25, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] +// CHECK:STDOUT: %.loc5_26: type = converted %.loc5_25, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] // CHECK:STDOUT: adapt_decl %.loc5_26 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%tuple.type.87c [concrete = constants.%complete_type.6b9] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%tuple.type.e5a [concrete = constants.%complete_type.3bf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -604,12 +604,12 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %pattern_type.d57: type = pattern_type %IntAdapter [concrete] +// CHECK:STDOUT: %pattern_type.b5c: type = pattern_type %IntAdapter [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -655,13 +655,13 @@ fn F(a: IntAdapter) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %IntAdapter.decl: type = class_decl @IntAdapter [concrete = constants.%IntAdapter] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.d57 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.d57 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.b5c = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.b5c = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc10: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc10: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %IntAdapter = value_param call_param0 // CHECK:STDOUT: %IntAdapter.ref: type = name_ref IntAdapter, file.%IntAdapter.decl [concrete = constants.%IntAdapter] // CHECK:STDOUT: %a: %IntAdapter = value_binding a, %a.param diff --git a/toolchain/check/testdata/class/adapter/fail_adapt_with_subobjects.carbon b/toolchain/check/testdata/class/adapter/fail_adapt_with_subobjects.carbon index fd20d283a599..2b911ccbb01f 100644 --- a/toolchain/check/testdata/class/adapter/fail_adapt_with_subobjects.carbon +++ b/toolchain/check/testdata/class/adapter/fail_adapt_with_subobjects.carbon @@ -201,12 +201,12 @@ class AdaptWithBaseAndFields { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %AdaptWithBaseAndFields: type = class_type @AdaptWithBaseAndFields [concrete] -// CHECK:STDOUT: %AdaptWithBaseAndFields.elem.7d9: type = unbound_element_type %AdaptWithBaseAndFields, %Base [concrete] +// CHECK:STDOUT: %AdaptWithBaseAndFields.elem.00a: type = unbound_element_type %AdaptWithBaseAndFields, %Base [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %AdaptWithBaseAndFields.elem.aad: type = unbound_element_type %AdaptWithBaseAndFields, %i32 [concrete] +// CHECK:STDOUT: %AdaptWithBaseAndFields.elem.b83: type = unbound_element_type %AdaptWithBaseAndFields, %i32 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -240,8 +240,8 @@ class AdaptWithBaseAndFields { // CHECK:STDOUT: // CHECK:STDOUT: class @AdaptWithBaseAndFields { // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] -// CHECK:STDOUT: %.loc7: %AdaptWithBaseAndFields.elem.7d9 = base_decl %Base.ref, element [concrete] -// CHECK:STDOUT: %.loc8: %AdaptWithBaseAndFields.elem.aad = field_decl n, element [concrete] +// CHECK:STDOUT: %.loc7: %AdaptWithBaseAndFields.elem.00a = base_decl %Base.ref, element [concrete] +// CHECK:STDOUT: %.loc8: %AdaptWithBaseAndFields.elem.b83 = field_decl n, element [concrete] // CHECK:STDOUT: %.loc16_10: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc16_11: type = converted %.loc16_10, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: adapt_decl %.loc16_11 [concrete] diff --git a/toolchain/check/testdata/class/adapter/init_adapt.carbon b/toolchain/check/testdata/class/adapter/init_adapt.carbon index 897c1ba025fd..f4c9b2e6bf6b 100644 --- a/toolchain/check/testdata/class/adapter/init_adapt.carbon +++ b/toolchain/check/testdata/class/adapter/init_adapt.carbon @@ -105,40 +105,40 @@ var e: C = MakeAdaptC(); // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %i32 [concrete] -// CHECK:STDOUT: %struct_type.a.b.602: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %complete_type.f58: = complete_type_witness %struct_type.a.b.602 [concrete] +// CHECK:STDOUT: %struct_type.a.b.b47: type = struct_type {.a: %i32, .b: %i32} [concrete] +// CHECK:STDOUT: %complete_type.abf: = complete_type_witness %struct_type.a.b.b47 [concrete] // CHECK:STDOUT: %AdaptC: type = class_type @AdaptC [concrete] -// CHECK:STDOUT: %pattern_type.8aa: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.a.b.cfd = struct_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %C.val: %C = struct_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %.759: ref %C = temporary invalid, %C.val [concrete] -// CHECK:STDOUT: %pattern_type.b3f: type = pattern_type %AdaptC [concrete] -// CHECK:STDOUT: %.385: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %C.val: %C = struct_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %.d03: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %pattern_type.fae: type = pattern_type %AdaptC [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] // CHECK:STDOUT: %MakeC.type: type = fn_type @MakeC [concrete] // CHECK:STDOUT: %MakeC: %MakeC.type = struct_value () [concrete] -// CHECK:STDOUT: %.cdc: Core.Form = init_form %AdaptC [concrete] +// CHECK:STDOUT: %.de2: Core.Form = init_form %AdaptC [concrete] // CHECK:STDOUT: %MakeAdaptC.type: type = fn_type @MakeAdaptC [concrete] // CHECK:STDOUT: %MakeAdaptC: %MakeAdaptC.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -151,9 +151,9 @@ var e: C = MakeAdaptC(); // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -173,69 +173,69 @@ var e: C = MakeAdaptC(); // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %AdaptC.decl: type = class_decl @AdaptC [concrete = constants.%AdaptC] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.8aa = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.0d5 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.ref.loc13: type = name_ref C, %C.decl [concrete = constants.%C] -// CHECK:STDOUT: %impl.elem0.loc13_27.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc13_27.1: = bound_method @__global_init.%int_1, %impl.elem0.loc13_27.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc13_27.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc13_27.1: = bound_method @__global_init.%int_1, %impl.elem0.loc13_27.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc13_27.1: = specific_function %impl.elem0.loc13_27.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_27.2: = bound_method @__global_init.%int_1, %specific_fn.loc13_27.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.1: init %i32 = call %bound_method.loc13_27.2(@__global_init.%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc13_27.1: init %i32 = converted @__global_init.%int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc13_27.2: = bound_method @__global_init.%int_1, %specific_fn.loc13_27.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.1: init %i32 = call %bound_method.loc13_27.2(@__global_init.%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc13_27.1: init %i32 = converted @__global_init.%int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc13_27.2: ref %C = temporary_storage // CHECK:STDOUT: %.loc13_27.3: ref %i32 = class_element_access %.loc13_27.2, element0 -// CHECK:STDOUT: %.loc13_27.4: init %i32 to %.loc13_27.3 = in_place_init %.loc13_27.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc13_27.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc13_27.3: = bound_method @__global_init.%int_2, %impl.elem0.loc13_27.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc13_27.4: init %i32 to %.loc13_27.3 = in_place_init %.loc13_27.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc13_27.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc13_27.3: = bound_method @__global_init.%int_2, %impl.elem0.loc13_27.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc13_27.2: = specific_function %impl.elem0.loc13_27.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_27.4: = bound_method @__global_init.%int_2, %specific_fn.loc13_27.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.2: init %i32 = call %bound_method.loc13_27.4(@__global_init.%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc13_27.5: init %i32 = converted @__global_init.%int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc13_27.4: = bound_method @__global_init.%int_2, %specific_fn.loc13_27.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.2: init %i32 = call %bound_method.loc13_27.4(@__global_init.%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc13_27.5: init %i32 = converted @__global_init.%int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc13_27.6: ref %i32 = class_element_access %.loc13_27.2, element1 -// CHECK:STDOUT: %.loc13_27.7: init %i32 to %.loc13_27.6 = in_place_init %.loc13_27.5 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %.loc13_27.7: init %i32 to %.loc13_27.6 = in_place_init %.loc13_27.5 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc13_27.8: init %C to %.loc13_27.2 = class_init (%.loc13_27.4, %.loc13_27.7) [concrete = constants.%C.val] // CHECK:STDOUT: %.loc13_27.9: init %C = converted @__global_init.%.loc13, %.loc13_27.8 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc13_27.10: ref %C = temporary %.loc13_27.2, %.loc13_27.9 [concrete = constants.%.759] +// CHECK:STDOUT: %.loc13_27.10: ref %C = temporary %.loc13_27.2, %.loc13_27.9 [concrete = constants.%.d03] // CHECK:STDOUT: %.loc13_27.11: %C = acquire_value %.loc13_27.10 [concrete = constants.%C.val] // CHECK:STDOUT: %a: %C = value_binding a, %.loc13_27.11 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.b3f = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.fae = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %AdaptC.ref.loc15: type = name_ref AdaptC, %AdaptC.decl [concrete = constants.%AdaptC] // CHECK:STDOUT: %b: %AdaptC = value_binding b, @__global_init.%.loc15_19.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.8aa = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.ref.loc17: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %c: %C = value_binding c, @__global_init.%.loc17_14.2 // CHECK:STDOUT: %MakeC.decl: %MakeC.type = fn_decl @MakeC [concrete = constants.%MakeC] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.8aa = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.8aa = return_slot_pattern %return.param_patt, %C.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc19: Core.Form = init_form %C.ref [concrete = constants.%.385] +// CHECK:STDOUT: %.loc19: Core.Form = init_form %C.ref [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %MakeAdaptC.decl: %MakeAdaptC.type = fn_decl @MakeAdaptC [concrete = constants.%MakeAdaptC] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.b3f = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.b3f = return_slot_pattern %return.param_patt, %AdaptC.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.fae = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.fae = return_slot_pattern %return.param_patt, %AdaptC.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %AdaptC.ref: type = name_ref AdaptC, file.%AdaptC.decl [concrete = constants.%AdaptC] -// CHECK:STDOUT: %.loc21: Core.Form = init_form %AdaptC.ref [concrete = constants.%.cdc] +// CHECK:STDOUT: %.loc21: Core.Form = init_form %AdaptC.ref [concrete = constants.%.de2] // CHECK:STDOUT: %return.param: ref %AdaptC = out_param call_param0 // CHECK:STDOUT: %return: ref %AdaptC = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.b3f = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.b3f = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.fae = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.fae = var_pattern %d.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.var: ref %AdaptC = var %d.var_patt [concrete] // CHECK:STDOUT: %AdaptC.ref.loc23: type = name_ref AdaptC, %AdaptC.decl [concrete = constants.%AdaptC] // CHECK:STDOUT: %d: ref %AdaptC = ref_binding d, %d.var [concrete = %d.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e.patt: %pattern_type.8aa = ref_binding_pattern e [concrete] -// CHECK:STDOUT: %e.var_patt: %pattern_type.8aa = var_pattern %e.patt [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.0d5 = ref_binding_pattern e [concrete] +// CHECK:STDOUT: %e.var_patt: %pattern_type.0d5 = var_pattern %e.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %e.var: ref %C = var %e.var_patt [concrete] // CHECK:STDOUT: %C.ref.loc25: type = name_ref C, %C.decl [concrete = constants.%C] @@ -245,7 +245,7 @@ var e: C = MakeAdaptC(); // CHECK:STDOUT: class @C { // CHECK:STDOUT: %.loc5: %C.elem = field_decl a, element0 [concrete] // CHECK:STDOUT: %.loc6: %C.elem = field_decl b, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.602 [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.b47 [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -257,7 +257,7 @@ var e: C = MakeAdaptC(); // CHECK:STDOUT: class @AdaptC { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: adapt_decl %C.ref [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.602 [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.b47 [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -308,40 +308,40 @@ var e: C = MakeAdaptC(); // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %i32 [concrete] -// CHECK:STDOUT: %struct_type.a.b.602: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %complete_type.f58: = complete_type_witness %struct_type.a.b.602 [concrete] +// CHECK:STDOUT: %struct_type.a.b.b47: type = struct_type {.a: %i32, .b: %i32} [concrete] +// CHECK:STDOUT: %complete_type.abf: = complete_type_witness %struct_type.a.b.b47 [concrete] // CHECK:STDOUT: %AdaptC: type = class_type @AdaptC [concrete] -// CHECK:STDOUT: %pattern_type.c60: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.a.b.cfd = struct_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %C.val: %C = struct_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %.58a: ref %C = temporary invalid, %C.val [concrete] -// CHECK:STDOUT: %pattern_type.f2e: type = pattern_type %AdaptC [concrete] -// CHECK:STDOUT: %.91b: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %C.val: %C = struct_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %.d03: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %pattern_type.fae: type = pattern_type %AdaptC [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] // CHECK:STDOUT: %MakeC.type: type = fn_type @MakeC [concrete] // CHECK:STDOUT: %MakeC: %MakeC.type = struct_value () [concrete] -// CHECK:STDOUT: %.cff: Core.Form = init_form %AdaptC [concrete] +// CHECK:STDOUT: %.de2: Core.Form = init_form %AdaptC [concrete] // CHECK:STDOUT: %MakeAdaptC.type: type = fn_type @MakeAdaptC [concrete] // CHECK:STDOUT: %MakeAdaptC: %MakeAdaptC.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -354,9 +354,9 @@ var e: C = MakeAdaptC(); // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -376,71 +376,71 @@ var e: C = MakeAdaptC(); // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %AdaptC.decl: type = class_decl @AdaptC [concrete = constants.%AdaptC] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c60 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.0d5 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.ref.loc13: type = name_ref C, %C.decl [concrete = constants.%C] -// CHECK:STDOUT: %impl.elem0.loc13_27.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc13_27.1: = bound_method @__global_init.%int_1, %impl.elem0.loc13_27.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc13_27.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc13_27.1: = bound_method @__global_init.%int_1, %impl.elem0.loc13_27.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc13_27.1: = specific_function %impl.elem0.loc13_27.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_27.2: = bound_method @__global_init.%int_1, %specific_fn.loc13_27.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.1: init %i32 = call %bound_method.loc13_27.2(@__global_init.%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc13_27.1: init %i32 = converted @__global_init.%int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc13_27.2: = bound_method @__global_init.%int_1, %specific_fn.loc13_27.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.1: init %i32 = call %bound_method.loc13_27.2(@__global_init.%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc13_27.1: init %i32 = converted @__global_init.%int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc13_27.2: ref %C = temporary_storage // CHECK:STDOUT: %.loc13_27.3: ref %i32 = class_element_access %.loc13_27.2, element0 -// CHECK:STDOUT: %.loc13_27.4: init %i32 to %.loc13_27.3 = in_place_init %.loc13_27.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc13_27.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc13_27.3: = bound_method @__global_init.%int_2, %impl.elem0.loc13_27.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc13_27.4: init %i32 to %.loc13_27.3 = in_place_init %.loc13_27.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc13_27.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc13_27.3: = bound_method @__global_init.%int_2, %impl.elem0.loc13_27.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc13_27.2: = specific_function %impl.elem0.loc13_27.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_27.4: = bound_method @__global_init.%int_2, %specific_fn.loc13_27.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.2: init %i32 = call %bound_method.loc13_27.4(@__global_init.%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc13_27.5: init %i32 = converted @__global_init.%int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc13_27.4: = bound_method @__global_init.%int_2, %specific_fn.loc13_27.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.2: init %i32 = call %bound_method.loc13_27.4(@__global_init.%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc13_27.5: init %i32 = converted @__global_init.%int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_27.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc13_27.6: ref %i32 = class_element_access %.loc13_27.2, element1 -// CHECK:STDOUT: %.loc13_27.7: init %i32 to %.loc13_27.6 = in_place_init %.loc13_27.5 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %.loc13_27.7: init %i32 to %.loc13_27.6 = in_place_init %.loc13_27.5 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc13_27.8: init %C to %.loc13_27.2 = class_init (%.loc13_27.4, %.loc13_27.7) [concrete = constants.%C.val] // CHECK:STDOUT: %.loc13_27.9: init %C = converted @__global_init.%.loc13, %.loc13_27.8 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc13_27.10: ref %C = temporary %.loc13_27.2, %.loc13_27.9 [concrete = constants.%.58a] +// CHECK:STDOUT: %.loc13_27.10: ref %C = temporary %.loc13_27.2, %.loc13_27.9 [concrete = constants.%.d03] // CHECK:STDOUT: %.loc13_27.11: %C = acquire_value %.loc13_27.10 [concrete = constants.%C.val] // CHECK:STDOUT: %a: %C = value_binding a, %.loc13_27.11 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.f2e = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.fae = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %AdaptC.ref.loc24: type = name_ref AdaptC, %AdaptC.decl [concrete = constants.%AdaptC] // CHECK:STDOUT: %.loc24: %AdaptC = converted @__global_init.%a.ref, [concrete = ] // CHECK:STDOUT: %b: %AdaptC = value_binding b, [concrete = ] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.c60 = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.ref.loc33: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc33: %C = converted @__global_init.%b.ref, [concrete = ] // CHECK:STDOUT: %c: %C = value_binding c, [concrete = ] // CHECK:STDOUT: %MakeC.decl: %MakeC.type = fn_decl @MakeC [concrete = constants.%MakeC] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c60 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c60 = return_slot_pattern %return.param_patt, %C.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc35: Core.Form = init_form %C.ref [concrete = constants.%.91b] +// CHECK:STDOUT: %.loc35: Core.Form = init_form %C.ref [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %MakeAdaptC.decl: %MakeAdaptC.type = fn_decl @MakeAdaptC [concrete = constants.%MakeAdaptC] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.f2e = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f2e = return_slot_pattern %return.param_patt, %AdaptC.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.fae = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.fae = return_slot_pattern %return.param_patt, %AdaptC.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %AdaptC.ref: type = name_ref AdaptC, file.%AdaptC.decl [concrete = constants.%AdaptC] -// CHECK:STDOUT: %.loc37: Core.Form = init_form %AdaptC.ref [concrete = constants.%.cff] +// CHECK:STDOUT: %.loc37: Core.Form = init_form %AdaptC.ref [concrete = constants.%.de2] // CHECK:STDOUT: %return.param: ref %AdaptC = out_param call_param0 // CHECK:STDOUT: %return: ref %AdaptC = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.f2e = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.f2e = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.fae = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.fae = var_pattern %d.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.var: ref %AdaptC = var %d.var_patt [concrete] // CHECK:STDOUT: %AdaptC.ref.loc46: type = name_ref AdaptC, %AdaptC.decl [concrete = constants.%AdaptC] // CHECK:STDOUT: %d: ref %AdaptC = ref_binding d, %d.var [concrete = %d.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e.patt: %pattern_type.c60 = ref_binding_pattern e [concrete] -// CHECK:STDOUT: %e.var_patt: %pattern_type.c60 = var_pattern %e.patt [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.0d5 = ref_binding_pattern e [concrete] +// CHECK:STDOUT: %e.var_patt: %pattern_type.0d5 = var_pattern %e.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %e.var: ref %C = var %e.var_patt [concrete] // CHECK:STDOUT: %C.ref.loc55: type = name_ref C, %C.decl [concrete = constants.%C] @@ -450,7 +450,7 @@ var e: C = MakeAdaptC(); // CHECK:STDOUT: class @C { // CHECK:STDOUT: %.loc5: %C.elem = field_decl a, element0 [concrete] // CHECK:STDOUT: %.loc6: %C.elem = field_decl b, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.602 [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.b47 [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -462,7 +462,7 @@ var e: C = MakeAdaptC(); // CHECK:STDOUT: class @AdaptC { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: adapt_decl %C.ref [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.602 [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.b47 [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: diff --git a/toolchain/check/testdata/class/basic.carbon b/toolchain/check/testdata/class/basic.carbon index e3a474a30904..b1a5427961a0 100644 --- a/toolchain/check/testdata/class/basic.carbon +++ b/toolchain/check/testdata/class/basic.carbon @@ -39,44 +39,44 @@ fn Run() -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F [concrete] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [concrete] // CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G [concrete] // CHECK:STDOUT: %Class.G: %Class.G.type = struct_value () [concrete] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %i32 [concrete] // CHECK:STDOUT: %struct_type.k: type = struct_type {.k: %i32} [concrete] -// CHECK:STDOUT: %complete_type.cfa: = complete_type_witness %struct_type.k [concrete] +// CHECK:STDOUT: %complete_type.b06: = complete_type_witness %struct_type.k [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Run.type: type = fn_type @Run [concrete] // CHECK:STDOUT: %Run: %Run.type = struct_value () [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -89,11 +89,11 @@ fn Run() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -105,13 +105,13 @@ fn Run() -> i32 { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %Class.G.decl: %Class.G.type = fn_decl @Class.G [concrete = constants.%Class.G] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc25_23 [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc25_23 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc25_23: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32.loc25_23 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32.loc25_23 [concrete = constants.%.7ea] // CHECK:STDOUT: %n.param.loc25: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc25_15: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n.loc25: %i32 = value_binding n, %n.param.loc25 @@ -119,11 +119,11 @@ fn Run() -> i32 { // CHECK:STDOUT: %return.loc25: ref %i32 = return_slot %return.param.loc25 // CHECK:STDOUT: } // CHECK:STDOUT: %Run.decl: %Run.type = fn_decl @Run [concrete = constants.%Run] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc29: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc29: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -131,13 +131,13 @@ fn Run() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc16_19 [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc16_19 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc16_19: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32.loc16_19 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32.loc16_19 [concrete = constants.%.7ea] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc16_11: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param @@ -145,13 +145,13 @@ fn Run() -> i32 { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Class.G.decl: %Class.G.type = fn_decl @Class.G [concrete = constants.%Class.G] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc25_23 [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc25_23 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc20_19: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc20: Core.Form = init_form %i32.loc20_19 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc20: Core.Form = init_form %i32.loc20_19 [concrete = constants.%.7ea] // CHECK:STDOUT: %n.param.loc20: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc20_11: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n.loc20: %i32 = value_binding n, %n.param.loc20 @@ -159,7 +159,7 @@ fn Run() -> i32 { // CHECK:STDOUT: %return.loc20: ref %i32 = return_slot %return.param.loc20 // CHECK:STDOUT: } // CHECK:STDOUT: %.loc22: %Class.elem = field_decl k, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.k [concrete = constants.%complete_type.cfa] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.k [concrete = constants.%complete_type.b06] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -172,7 +172,7 @@ fn Run() -> i32 { // CHECK:STDOUT: fn @Class.F(%n.param: %i32) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc17_12.1: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc17_12.2: = bound_method %n.ref, %specific_fn @@ -183,7 +183,7 @@ fn Run() -> i32 { // CHECK:STDOUT: fn @Class.G(%n.param.loc25: %i32) -> out %return.param.loc25: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n.loc25 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc26_10.1: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc26_10.2: = bound_method %n.ref, %specific_fn @@ -196,13 +196,13 @@ fn Run() -> i32 { // CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] // CHECK:STDOUT: %F.ref: %Class.F.type = name_ref F, @Class.%Class.F.decl [concrete = constants.%Class.F] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc30_18.1: = bound_method %int_4, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc30_18.2: = bound_method %int_4, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc30_18.2(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc30_18.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc30_18.2: %i32 = converted %int_4, %.loc30_18.1 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc30_18.2(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc30_18.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc30_18.2: %i32 = converted %int_4, %.loc30_18.1 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: %Class.F.call: init %i32 = call %F.ref(%.loc30_18.2) // CHECK:STDOUT: return %Class.F.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/complete_in_member_fn.carbon b/toolchain/check/testdata/class/complete_in_member_fn.carbon index a6ed0ded1cff..8b3637fed5c2 100644 --- a/toolchain/check/testdata/class/complete_in_member_fn.carbon +++ b/toolchain/check/testdata/class/complete_in_member_fn.carbon @@ -22,29 +22,29 @@ class C { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %C.F.type: type = fn_type @C.F [concrete] // CHECK:STDOUT: %C.F: %C.F.type = struct_value () [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %i32 [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fd3: = complete_type_witness %struct_type.a [concrete] +// CHECK:STDOUT: %complete_type.f2a: = complete_type_witness %struct_type.a [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -56,8 +56,8 @@ class C { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -71,13 +71,13 @@ class C { // CHECK:STDOUT: // CHECK:STDOUT: class @C { // CHECK:STDOUT: %C.F.decl: %C.F.type = fn_decl @C.F [concrete = constants.%C.F] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.d7b = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.d7b = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16_17: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16_17: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %c.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %c: %C = value_binding c, %c.param @@ -85,7 +85,7 @@ class C { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %.loc18: %C.elem = field_decl a, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a [concrete = constants.%complete_type.fd3] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a [concrete = constants.%complete_type.f2a] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -101,7 +101,7 @@ class C { // CHECK:STDOUT: %a.ref: %C.elem = name_ref a, @C.%.loc18 [concrete = @C.%.loc18] // CHECK:STDOUT: %.loc16_31.1: ref %i32 = class_element_access %c.ref, element0 // CHECK:STDOUT: %.loc16_31.2: %i32 = acquire_value %.loc16_31.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc16_31.1: = bound_method %.loc16_31.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_31.2: = bound_method %.loc16_31.2, %specific_fn diff --git a/toolchain/check/testdata/class/cross_package_import.carbon b/toolchain/check/testdata/class/cross_package_import.carbon index 6c797a4adb3b..b61132a2b13e 100644 --- a/toolchain/check/testdata/class/cross_package_import.carbon +++ b/toolchain/check/testdata/class/cross_package_import.carbon @@ -210,7 +210,7 @@ var c: Other.C = {}; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.C: type = import_ref Other//other_define, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.8f2: = import_ref Other//other_define, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.af5 = import_ref Other//other_define, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Other.import_ref.862 = import_ref Other//other_define, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -237,7 +237,7 @@ var c: Other.C = {}; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.af5 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.862 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -321,7 +321,7 @@ var c: Other.C = {}; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.C: type = import_ref Other//other_define, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.8f2: = import_ref Other//other_define, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.af5 = import_ref Other//other_define, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Other.import_ref.862 = import_ref Other//other_define, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -348,7 +348,7 @@ var c: Other.C = {}; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.af5 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.862 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -383,7 +383,7 @@ var c: Other.C = {}; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.C: type = import_ref Other//other_define, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.8f2: = import_ref Other//other_define, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.af5 = import_ref Other//other_define, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Other.import_ref.862 = import_ref Other//other_define, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -410,7 +410,7 @@ var c: Other.C = {}; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.af5 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.862 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { diff --git a/toolchain/check/testdata/class/destroy_calls.carbon b/toolchain/check/testdata/class/destroy_calls.carbon index d45af81610c3..a1fcee0e07db 100644 --- a/toolchain/check/testdata/class/destroy_calls.carbon +++ b/toolchain/check/testdata/class/destroy_calls.carbon @@ -98,19 +98,19 @@ fn G() { F({}); } // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.e81: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %A.val: %A = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.552: type = pattern_type %B [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] // CHECK:STDOUT: %B.val: %B = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.f34: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc12_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc11 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc10 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc12_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc11 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc10 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -120,8 +120,8 @@ fn G() { F({}); } // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e81 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.e81 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.ccb = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %A = var %a.var_patt // CHECK:STDOUT: %.loc10_22.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -131,8 +131,8 @@ fn G() { F({}); } // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %a: ref %A = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.552 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.552 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.787 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.787 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %B = var %b.var_patt // CHECK:STDOUT: %.loc11_22.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -142,8 +142,8 @@ fn G() { F({}); } // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %b: ref %B = ref_binding b, %b.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.f34 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.f34 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt // CHECK:STDOUT: %.loc12_22.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -152,11 +152,11 @@ fn G() { F({}); } // CHECK:STDOUT: assign %c.var, %.loc12_3 // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var -// CHECK:STDOUT: %Destroy.Op.bound.loc12: = bound_method %c.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc12: = bound_method %c.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc12: init %empty_tuple.type = call %Destroy.Op.bound.loc12(%c.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %b.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %b.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc11: init %empty_tuple.type = call %Destroy.Op.bound.loc11(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %a.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %a.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -188,20 +188,20 @@ fn G() { F({}); } // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.e80: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %A.val: %A = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.9a5: type = pattern_type %B [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] // CHECK:STDOUT: %B.val: %B = struct_value () [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] -// CHECK:STDOUT: %pattern_type.578: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc13_5.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc11 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc10 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc13_5.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc11 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc10 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -211,8 +211,8 @@ fn G() { F({}); } // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e80 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.e80 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.ccb = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %A = var %a.var_patt // CHECK:STDOUT: %.loc10_22.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -222,8 +222,8 @@ fn G() { F({}); } // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %a: ref %A = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.9a5 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.9a5 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.787 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.787 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %B = var %b.var_patt // CHECK:STDOUT: %.loc11_22.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -237,8 +237,8 @@ fn G() { F({}); } // CHECK:STDOUT: // CHECK:STDOUT: !if.then: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.578 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.578 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt // CHECK:STDOUT: %.loc13_24.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -250,11 +250,11 @@ fn G() { F({}); } // CHECK:STDOUT: br !if.else // CHECK:STDOUT: // CHECK:STDOUT: !if.else: -// CHECK:STDOUT: %Destroy.Op.bound.loc13: = bound_method %c.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc13: = bound_method %c.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc13: init %empty_tuple.type = call %Destroy.Op.bound.loc13(%c.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %b.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %b.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc11: init %empty_tuple.type = call %Destroy.Op.bound.loc11(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %a.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %a.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -292,12 +292,12 @@ fn G() { F({}); } // CHECK:STDOUT: %C.Make: %C.Make.type = struct_value () [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc14_10.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc13 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc12 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc14_10.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc13 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc12 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -321,11 +321,11 @@ fn G() { F({}); } // CHECK:STDOUT: %.loc14_10.1: ref %C = temporary_storage // CHECK:STDOUT: %C.Make.call: init %C to %.loc14_10.1 = call %Make.ref.loc14() // CHECK:STDOUT: %.loc14_10.2: ref %C = temporary %.loc14_10.1, %C.Make.call -// CHECK:STDOUT: %Destroy.Op.bound.loc14: = bound_method %.loc14_10.2, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc14: = bound_method %.loc14_10.2, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc14: init %empty_tuple.type = call %Destroy.Op.bound.loc14(%.loc14_10.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc13: = bound_method %.loc13_10.2, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc13: = bound_method %.loc13_10.2, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc13: init %empty_tuple.type = call %Destroy.Op.bound.loc13(%.loc13_10.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc12: = bound_method %.loc12_10.2, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc12: = bound_method %.loc12_10.2, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc12: init %empty_tuple.type = call %Destroy.Op.bound.loc12(%.loc12_10.2) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -357,12 +357,12 @@ fn G() { F({}); } // CHECK:STDOUT: %D.generic: %D.type = struct_value () [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %D.190: type = class_type @D, @D(%C) [concrete] -// CHECK:STDOUT: %pattern_type.cd6: type = pattern_type %D.190 [concrete] +// CHECK:STDOUT: %D.66a: type = class_type @D, @D(%C) [concrete] +// CHECK:STDOUT: %pattern_type.855: type = pattern_type %D.66a [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %D.val: %D.190 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %D.val: %D.66a = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -372,28 +372,28 @@ fn G() { F({}); } // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.cd6 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.cd6 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.855 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.855 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %D.190 = var %a.var_patt +// CHECK:STDOUT: %a.var: ref %D.66a = var %a.var_patt // CHECK:STDOUT: %.loc9_25.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc9_25.2: init %D.190 to %a.var = class_init () [concrete = constants.%D.val] -// CHECK:STDOUT: %.loc9_3: init %D.190 = converted %.loc9_25.1, %.loc9_25.2 [concrete = constants.%D.val] +// CHECK:STDOUT: %.loc9_25.2: init %D.66a to %a.var = class_init () [concrete = constants.%D.val] +// CHECK:STDOUT: %.loc9_3: init %D.66a = converted %.loc9_25.1, %.loc9_25.2 [concrete = constants.%D.val] // CHECK:STDOUT: assign %a.var, %.loc9_3 -// CHECK:STDOUT: %.loc9_20: type = splice_block %D [concrete = constants.%D.190] { +// CHECK:STDOUT: %.loc9_20: type = splice_block %D [concrete = constants.%D.66a] { // CHECK:STDOUT: %D.ref: %D.type = name_ref D, file.%D.decl [concrete = constants.%D.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %D: type = class_type @D, @D(constants.%C) [concrete = constants.%D.190] +// CHECK:STDOUT: %D: type = class_type @D, @D(constants.%C) [concrete = constants.%D.66a] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %D.190 = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %a: ref %D.66a = ref_binding a, %a.var +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_3.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %D.190) { +// CHECK:STDOUT: fn @Destroy.Op.loc9_3.2(%self.param: ref %D.66a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -408,31 +408,31 @@ fn G() { F({}); } // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.72d: type = class_type @C, @C(%T) [template] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [template] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete: = require_complete_type %C.72d [template] -// CHECK:STDOUT: %pattern_type.4cc: type = pattern_type %C.72d [template] +// CHECK:STDOUT: %require_complete: = require_complete_type %C.1f9 [template] +// CHECK:STDOUT: %pattern_type.69e: type = pattern_type %C.1f9 [template] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %C.val.c94: %C.72d = struct_value () [template] +// CHECK:STDOUT: %C.val.ad6: %C.1f9 = struct_value () [template] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %C.72d, @Destroy [template] -// CHECK:STDOUT: %Destroy.facet.2e1: %Destroy.type = facet_value %C.72d, (%Destroy.lookup_impl_witness) [template] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.646: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.2e1) [template] -// CHECK:STDOUT: %.d96: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.646, %Destroy.facet.2e1 [template] -// CHECK:STDOUT: %impl.elem0: %.d96 = impl_witness_access %Destroy.lookup_impl_witness, element0 [template] -// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Destroy.WithSelf.Op(%Destroy.facet.2e1) [template] -// CHECK:STDOUT: %C.f66: type = class_type @C, @C(%empty_struct_type) [concrete] -// CHECK:STDOUT: %pattern_type.7ac: type = pattern_type %C.f66 [concrete] -// CHECK:STDOUT: %C.val.b93: %C.f66 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc7_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.2: = custom_witness (%Destroy.Op.1dc86d.2), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.dc3: %Destroy.type = facet_value %C.f66, (%custom_witness.340963.2) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.3a2: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.dc3) [concrete] -// CHECK:STDOUT: %.ad9: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.3a2, %Destroy.facet.dc3 [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %C.1f9, @Destroy [template] +// CHECK:STDOUT: %Destroy.facet.61a: %Destroy.type = facet_value %C.1f9, (%Destroy.lookup_impl_witness) [template] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.269: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.61a) [template] +// CHECK:STDOUT: %.320: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.269, %Destroy.facet.61a [template] +// CHECK:STDOUT: %impl.elem0: %.320 = impl_witness_access %Destroy.lookup_impl_witness, element0 [template] +// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Destroy.WithSelf.Op(%Destroy.facet.61a) [template] +// CHECK:STDOUT: %C.ea5: type = class_type @C, @C(%empty_struct_type) [concrete] +// CHECK:STDOUT: %pattern_type.4ac: type = pattern_type %C.ea5 [concrete] +// CHECK:STDOUT: %C.val.986: %C.ea5 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc7_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.2: = custom_witness (%Destroy.Op.2dd605.2), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.3e3: %Destroy.type = facet_value %C.ea5, (%custom_witness.e20f1f.2) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.e1c: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.3e3) [concrete] +// CHECK:STDOUT: %.f04: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.e1c, %Destroy.facet.3e3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -451,37 +451,37 @@ fn G() { F({}); } // CHECK:STDOUT: %T.loc6_16.1: type = symbolic_binding T, 0, template [template = %T.loc6_16.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.loc7_20.2: type = class_type @C, @C(%T.loc6_16.1) [template = %C.loc7_20.2 (constants.%C.72d)] +// CHECK:STDOUT: %C.loc7_20.2: type = class_type @C, @C(%T.loc6_16.1) [template = %C.loc7_20.2 (constants.%C.1f9)] // CHECK:STDOUT: %require_complete: = require_complete_type %C.loc7_20.2 [template = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %C.loc7_20.2 [template = %pattern_type (constants.%pattern_type.4cc)] -// CHECK:STDOUT: %C.val: @F.%C.loc7_20.2 (%C.72d) = struct_value () [template = %C.val (constants.%C.val.c94)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %C.loc7_20.2 [template = %pattern_type (constants.%pattern_type.69e)] +// CHECK:STDOUT: %C.val: @F.%C.loc7_20.2 (%C.1f9) = struct_value () [template = %C.val (constants.%C.val.ad6)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %C.loc7_20.2, @Destroy [template = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %C.loc7_20.2, (%Destroy.lookup_impl_witness) [template = %Destroy.facet (constants.%Destroy.facet.2e1)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [template = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.646)] -// CHECK:STDOUT: %.loc7_3.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [template = %.loc7_3.2 (constants.%.d96)] -// CHECK:STDOUT: %impl.elem0.loc7_3.2: @F.%.loc7_3.2 (%.d96) = impl_witness_access %Destroy.lookup_impl_witness, element0 [template = %impl.elem0.loc7_3.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %C.loc7_20.2, (%Destroy.lookup_impl_witness) [template = %Destroy.facet (constants.%Destroy.facet.61a)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [template = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.269)] +// CHECK:STDOUT: %.loc7_3.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [template = %.loc7_3.2 (constants.%.320)] +// CHECK:STDOUT: %impl.elem0.loc7_3.2: @F.%.loc7_3.2 (%.320) = impl_witness_access %Destroy.lookup_impl_witness, element0 [template = %impl.elem0.loc7_3.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc7_3.2: = specific_impl_function %impl.elem0.loc7_3.2, @Destroy.WithSelf.Op(%Destroy.facet) [template = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: @F.%pattern_type (%pattern_type.4cc) = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: @F.%pattern_type (%pattern_type.4cc) = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: @F.%pattern_type (%pattern_type.69e) = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: @F.%pattern_type (%pattern_type.69e) = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref @F.%C.loc7_20.2 (%C.72d) = var %v.var_patt +// CHECK:STDOUT: %v.var: ref @F.%C.loc7_20.2 (%C.1f9) = var %v.var_patt // CHECK:STDOUT: %.loc7_25.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc7_25.2: init @F.%C.loc7_20.2 (%C.72d) to %v.var = class_init () [template = %C.val (constants.%C.val.c94)] -// CHECK:STDOUT: %.loc7_3.1: init @F.%C.loc7_20.2 (%C.72d) = converted %.loc7_25.1, %.loc7_25.2 [template = %C.val (constants.%C.val.c94)] +// CHECK:STDOUT: %.loc7_25.2: init @F.%C.loc7_20.2 (%C.1f9) to %v.var = class_init () [template = %C.val (constants.%C.val.ad6)] +// CHECK:STDOUT: %.loc7_3.1: init @F.%C.loc7_20.2 (%C.1f9) = converted %.loc7_25.1, %.loc7_25.2 [template = %C.val (constants.%C.val.ad6)] // CHECK:STDOUT: assign %v.var, %.loc7_3.1 -// CHECK:STDOUT: %.loc7_20: type = splice_block %C.loc7_20.1 [template = %C.loc7_20.2 (constants.%C.72d)] { +// CHECK:STDOUT: %.loc7_20: type = splice_block %C.loc7_20.1 [template = %C.loc7_20.2 (constants.%C.1f9)] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc6_16.2 [template = %T.loc6_16.1 (constants.%T)] -// CHECK:STDOUT: %C.loc7_20.1: type = class_type @C, @C(constants.%T) [template = %C.loc7_20.2 (constants.%C.72d)] +// CHECK:STDOUT: %C.loc7_20.1: type = class_type @C, @C(constants.%T) [template = %C.loc7_20.2 (constants.%C.1f9)] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref @F.%C.loc7_20.2 (%C.72d) = ref_binding v, %v.var -// CHECK:STDOUT: %impl.elem0.loc7_3.1: @F.%.loc7_3.2 (%.d96) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [template = %impl.elem0.loc7_3.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %v: ref @F.%C.loc7_20.2 (%C.1f9) = ref_binding v, %v.var +// CHECK:STDOUT: %impl.elem0.loc7_3.1: @F.%.loc7_3.2 (%.320) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [template = %impl.elem0.loc7_3.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc7_3.1: = bound_method %v.var, %impl.elem0.loc7_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc7_3.1: = specific_impl_function %impl.elem0.loc7_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.2e1) [template = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn)] +// CHECK:STDOUT: %specific_impl_fn.loc7_3.1: = specific_impl_function %impl.elem0.loc7_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.61a) [template = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %bound_method.loc7_3.2: = bound_method %v.var, %specific_impl_fn.loc7_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc7_3.2(%v.var) // CHECK:STDOUT: return @@ -490,7 +490,7 @@ fn G() { F({}); } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_3.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc7_3.2(%self.param: ref %C.f66) { +// CHECK:STDOUT: fn @Destroy.Op.loc7_3.2(%self.param: ref %C.ea5) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -503,15 +503,15 @@ fn G() { F({}); } // CHECK:STDOUT: %T.loc6_16.1 => constants.%empty_struct_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.loc7_20.2 => constants.%C.f66 +// CHECK:STDOUT: %C.loc7_20.2 => constants.%C.ea5 // CHECK:STDOUT: %require_complete => constants.%complete_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.7ac -// CHECK:STDOUT: %C.val => constants.%C.val.b93 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.340963.2 -// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.dc3 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.3a2 -// CHECK:STDOUT: %.loc7_3.2 => constants.%.ad9 -// CHECK:STDOUT: %impl.elem0.loc7_3.2 => constants.%Destroy.Op.1dc86d.2 -// CHECK:STDOUT: %specific_impl_fn.loc7_3.2 => constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4ac +// CHECK:STDOUT: %C.val => constants.%C.val.986 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.e20f1f.2 +// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.3e3 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e1c +// CHECK:STDOUT: %.loc7_3.2 => constants.%.f04 +// CHECK:STDOUT: %impl.elem0.loc7_3.2 => constants.%Destroy.Op.2dd605.2 +// CHECK:STDOUT: %specific_impl_fn.loc7_3.2 => constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/export_name.carbon b/toolchain/check/testdata/class/export_name.carbon index f5292766d8b6..a3aa00562f59 100644 --- a/toolchain/check/testdata/class/export_name.carbon +++ b/toolchain/check/testdata/class/export_name.carbon @@ -76,7 +76,7 @@ var c: C = {}; // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//base, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -91,7 +91,7 @@ var c: C = {}; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export.carbon @@ -108,7 +108,7 @@ var c: C = {}; // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//export, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8db: = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.038 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -130,7 +130,7 @@ var c: C = {}; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8db // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.038 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { diff --git a/toolchain/check/testdata/class/extern.carbon b/toolchain/check/testdata/class/extern.carbon index ab299b27ea01..cf19a0d98077 100644 --- a/toolchain/check/testdata/class/extern.carbon +++ b/toolchain/check/testdata/class/extern.carbon @@ -604,7 +604,7 @@ extern class C; // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//def, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.532 = import_ref Main//def, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//def, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -619,7 +619,7 @@ extern class C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.532 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_extern_decl_after_import_def.carbon @@ -632,7 +632,7 @@ extern class C; // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//def, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.532 = import_ref Main//def, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//def, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -647,6 +647,6 @@ extern class C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.532 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/field/compound_field.carbon b/toolchain/check/testdata/class/field/compound_field.carbon index 90838ff2c9c7..35e907216f57 100644 --- a/toolchain/check/testdata/class/field/compound_field.carbon +++ b/toolchain/check/testdata/class/field/compound_field.carbon @@ -50,48 +50,48 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %i32 [concrete] // CHECK:STDOUT: %struct_type.a.b.c: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete] -// CHECK:STDOUT: %complete_type.7bc: = complete_type_witness %struct_type.a.b.c [concrete] +// CHECK:STDOUT: %complete_type.57e: = complete_type_witness %struct_type.a.b.c [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] -// CHECK:STDOUT: %Derived.elem.de2: type = unbound_element_type %Derived, %Base [concrete] -// CHECK:STDOUT: %Derived.elem.6ba: type = unbound_element_type %Derived, %i32 [concrete] -// CHECK:STDOUT: %struct_type.base.d.e.768: type = struct_type {.base: %Base, .d: %i32, .e: %i32} [concrete] -// CHECK:STDOUT: %complete_type.a4e: = complete_type_witness %struct_type.base.d.e.768 [concrete] -// CHECK:STDOUT: %pattern_type.384: type = pattern_type %Derived [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %Derived.elem.25d: type = unbound_element_type %Derived, %Base [concrete] +// CHECK:STDOUT: %Derived.elem.165: type = unbound_element_type %Derived, %i32 [concrete] +// CHECK:STDOUT: %struct_type.base.d.e.0c9: type = struct_type {.base: %Base, .d: %i32, .e: %i32} [concrete] +// CHECK:STDOUT: %complete_type.c27: = complete_type_witness %struct_type.base.d.e.0c9 [concrete] +// CHECK:STDOUT: %pattern_type.cd3: type = pattern_type %Derived [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %AccessDerived.type: type = fn_type @AccessDerived [concrete] // CHECK:STDOUT: %AccessDerived: %AccessDerived.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %AccessBase.type: type = fn_type @AccessBase [concrete] // CHECK:STDOUT: %AccessBase: %AccessBase.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.128: type = ptr_type %Derived [concrete] -// CHECK:STDOUT: %pattern_type.66e: type = pattern_type %ptr.128 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %.793: Core.Form = init_form %ptr.143 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] +// CHECK:STDOUT: %ptr.054: type = ptr_type %Derived [concrete] +// CHECK:STDOUT: %pattern_type.df0: type = pattern_type %ptr.054 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %.060: Core.Form = init_form %ptr.847 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] // CHECK:STDOUT: %AccessDerivedIndirect.type: type = fn_type @AccessDerivedIndirect [concrete] // CHECK:STDOUT: %AccessDerivedIndirect: %AccessDerivedIndirect.type = struct_value () [concrete] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.425: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.425) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet.425 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.17a: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.17a) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet.17a [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] // CHECK:STDOUT: %AccessBaseIndirect.type: type = fn_type @AccessBaseIndirect [concrete] // CHECK:STDOUT: %AccessBaseIndirect: %AccessBaseIndirect.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -105,10 +105,10 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -125,13 +125,13 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: %Base.decl: type = class_decl @Base [concrete = constants.%Base] {} {} // CHECK:STDOUT: %Derived.decl: type = class_decl @Derived [concrete = constants.%Derived] {} {} // CHECK:STDOUT: %AccessDerived.decl: %AccessDerived.type = fn_decl @AccessDerived [concrete = constants.%AccessDerived] { -// CHECK:STDOUT: %d.param_patt: %pattern_type.384 = value_param_pattern [concrete] -// CHECK:STDOUT: %d.patt: %pattern_type.384 = at_binding_pattern d, %d.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %d.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.cd3 = at_binding_pattern d, %d.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc28: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc28: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %d.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Derived.ref.loc28: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] // CHECK:STDOUT: %d: %Derived = value_binding d, %d.param @@ -139,13 +139,13 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %AccessBase.decl: %AccessBase.type = fn_decl @AccessBase [concrete = constants.%AccessBase] { -// CHECK:STDOUT: %d.param_patt: %pattern_type.384 = value_param_pattern [concrete] -// CHECK:STDOUT: %d.patt: %pattern_type.384 = at_binding_pattern d, %d.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %d.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.cd3 = at_binding_pattern d, %d.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc32: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc32: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %d.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] // CHECK:STDOUT: %d: %Derived = value_binding d, %d.param @@ -153,40 +153,40 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %AccessDerivedIndirect.decl: %AccessDerivedIndirect.type = fn_decl @AccessDerivedIndirect [concrete = constants.%AccessDerivedIndirect] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.66e = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.66e = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.663 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.663 = return_slot_pattern %return.param_patt, %ptr.loc36_45 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.df0 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.df0 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7b5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7b5 = return_slot_pattern %return.param_patt, %ptr.loc36_45 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc36_45: type = ptr_type %i32 [concrete = constants.%ptr.143] -// CHECK:STDOUT: %.loc36_45: Core.Form = init_form %ptr.loc36_45 [concrete = constants.%.793] -// CHECK:STDOUT: %p.param: %ptr.128 = value_param call_param0 -// CHECK:STDOUT: %.loc36_36: type = splice_block %ptr.loc36_36 [concrete = constants.%ptr.128] { +// CHECK:STDOUT: %ptr.loc36_45: type = ptr_type %i32 [concrete = constants.%ptr.847] +// CHECK:STDOUT: %.loc36_45: Core.Form = init_form %ptr.loc36_45 [concrete = constants.%.060] +// CHECK:STDOUT: %p.param: %ptr.054 = value_param call_param0 +// CHECK:STDOUT: %.loc36_36: type = splice_block %ptr.loc36_36 [concrete = constants.%ptr.054] { // CHECK:STDOUT: %Derived.ref.loc36: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] -// CHECK:STDOUT: %ptr.loc36_36: type = ptr_type %Derived.ref.loc36 [concrete = constants.%ptr.128] +// CHECK:STDOUT: %ptr.loc36_36: type = ptr_type %Derived.ref.loc36 [concrete = constants.%ptr.054] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.128 = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %ptr.143 = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.143 = return_slot %return.param +// CHECK:STDOUT: %p: %ptr.054 = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %ptr.847 = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.847 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %AccessBaseIndirect.decl: %AccessBaseIndirect.type = fn_decl @AccessBaseIndirect [concrete = constants.%AccessBaseIndirect] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.66e = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.66e = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.663 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.663 = return_slot_pattern %return.param_patt, %ptr.loc40_42 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.df0 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.df0 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7b5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7b5 = return_slot_pattern %return.param_patt, %ptr.loc40_42 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc40_42: type = ptr_type %i32 [concrete = constants.%ptr.143] -// CHECK:STDOUT: %.loc40_42: Core.Form = init_form %ptr.loc40_42 [concrete = constants.%.793] -// CHECK:STDOUT: %p.param: %ptr.128 = value_param call_param0 -// CHECK:STDOUT: %.loc40_33: type = splice_block %ptr.loc40_33 [concrete = constants.%ptr.128] { +// CHECK:STDOUT: %ptr.loc40_42: type = ptr_type %i32 [concrete = constants.%ptr.847] +// CHECK:STDOUT: %.loc40_42: Core.Form = init_form %ptr.loc40_42 [concrete = constants.%.060] +// CHECK:STDOUT: %p.param: %ptr.054 = value_param call_param0 +// CHECK:STDOUT: %.loc40_33: type = splice_block %ptr.loc40_33 [concrete = constants.%ptr.054] { // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] -// CHECK:STDOUT: %ptr.loc40_33: type = ptr_type %Derived.ref [concrete = constants.%ptr.128] +// CHECK:STDOUT: %ptr.loc40_33: type = ptr_type %Derived.ref [concrete = constants.%ptr.054] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.128 = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %ptr.143 = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.143 = return_slot %return.param +// CHECK:STDOUT: %p: %ptr.054 = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %ptr.847 = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.847 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -194,7 +194,7 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: %.loc16: %Base.elem = field_decl a, element0 [concrete] // CHECK:STDOUT: %.loc17: %Base.elem = field_decl b, element1 [concrete] // CHECK:STDOUT: %.loc18: %Base.elem = field_decl c, element2 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.c [concrete = constants.%complete_type.7bc] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.c [concrete = constants.%complete_type.57e] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -206,10 +206,10 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] -// CHECK:STDOUT: %.loc22: %Derived.elem.de2 = base_decl %Base.ref, element0 [concrete] -// CHECK:STDOUT: %.loc24: %Derived.elem.6ba = field_decl d, element1 [concrete] -// CHECK:STDOUT: %.loc25: %Derived.elem.6ba = field_decl e, element2 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d.e.768 [concrete = constants.%complete_type.a4e] +// CHECK:STDOUT: %.loc22: %Derived.elem.25d = base_decl %Base.ref, element0 [concrete] +// CHECK:STDOUT: %.loc24: %Derived.elem.165 = field_decl d, element1 [concrete] +// CHECK:STDOUT: %.loc25: %Derived.elem.165 = field_decl e, element2 [concrete] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d.e.0c9 [concrete = constants.%complete_type.c27] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -225,10 +225,10 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %d.ref.loc29_10: %Derived = name_ref d, %d // CHECK:STDOUT: %Derived.ref.loc29: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] -// CHECK:STDOUT: %d.ref.loc29_20: %Derived.elem.6ba = name_ref d, @Derived.%.loc24 [concrete = @Derived.%.loc24] +// CHECK:STDOUT: %d.ref.loc29_20: %Derived.elem.165 = name_ref d, @Derived.%.loc24 [concrete = @Derived.%.loc24] // CHECK:STDOUT: %.loc29_11.1: ref %i32 = class_element_access %d.ref.loc29_10, element1 // CHECK:STDOUT: %.loc29_11.2: %i32 = acquire_value %.loc29_11.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc29_11.1: = bound_method %.loc29_11.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc29_11.2: = bound_method %.loc29_11.2, %specific_fn @@ -245,7 +245,7 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: %.loc33_11.2: ref %Base = converted %d.ref, %.loc33_11.1 // CHECK:STDOUT: %.loc33_11.3: ref %i32 = class_element_access %.loc33_11.2, element1 // CHECK:STDOUT: %.loc33_11.4: %i32 = acquire_value %.loc33_11.3 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc33_11.1: = bound_method %.loc33_11.4, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc33_11.2: = bound_method %.loc33_11.4, %specific_fn @@ -253,37 +253,37 @@ fn AccessBaseIndirect(p: Derived*) -> i32* { // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @AccessDerivedIndirect(%p.param: %ptr.128) -> out %return.param: %ptr.143 { +// CHECK:STDOUT: fn @AccessDerivedIndirect(%p.param: %ptr.054) -> out %return.param: %ptr.847 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.128 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.054 = name_ref p, %p // CHECK:STDOUT: %Derived.ref.loc37: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] -// CHECK:STDOUT: %d.ref: %Derived.elem.6ba = name_ref d, @Derived.%.loc24 [concrete = @Derived.%.loc24] +// CHECK:STDOUT: %d.ref: %Derived.elem.165 = name_ref d, @Derived.%.loc24 [concrete = @Derived.%.loc24] // CHECK:STDOUT: %.loc37_12.1: ref %Derived = deref %p.ref // CHECK:STDOUT: %.loc37_12.2: ref %i32 = class_element_access %.loc37_12.1, element1 -// CHECK:STDOUT: %addr: %ptr.143 = addr_of %.loc37_12.2 -// CHECK:STDOUT: %impl.elem0: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr: %ptr.847 = addr_of %.loc37_12.2 +// CHECK:STDOUT: %impl.elem0: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc37_10.1: = bound_method %addr, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc37_10.2: = bound_method %addr, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.143 = call %bound_method.loc37_10.2(%addr) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.847 = call %bound_method.loc37_10.2(%addr) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @AccessBaseIndirect(%p.param: %ptr.128) -> out %return.param: %ptr.143 { +// CHECK:STDOUT: fn @AccessBaseIndirect(%p.param: %ptr.054) -> out %return.param: %ptr.847 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.128 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.054 = name_ref p, %p // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %b.ref: %Base.elem = name_ref b, @Base.%.loc17 [concrete = @Base.%.loc17] // CHECK:STDOUT: %.loc41_12.1: ref %Derived = deref %p.ref // CHECK:STDOUT: %.loc41_12.2: ref %Base = class_element_access %.loc41_12.1, element0 // CHECK:STDOUT: %.loc41_12.3: ref %Base = converted %.loc41_12.1, %.loc41_12.2 // CHECK:STDOUT: %.loc41_12.4: ref %i32 = class_element_access %.loc41_12.3, element1 -// CHECK:STDOUT: %addr: %ptr.143 = addr_of %.loc41_12.4 -// CHECK:STDOUT: %impl.elem0: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr: %ptr.847 = addr_of %.loc41_12.4 +// CHECK:STDOUT: %impl.elem0: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc41_10.1: = bound_method %addr, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc41_10.2: = bound_method %addr, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.143 = call %bound_method.loc41_10.2(%addr) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.847 = call %bound_method.loc41_10.2(%addr) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/field/field_access.carbon b/toolchain/check/testdata/class/field/field_access.carbon index e44b1d377942..c1abf35cf0a6 100644 --- a/toolchain/check/testdata/class/field/field_access.carbon +++ b/toolchain/check/testdata/class/field/field_access.carbon @@ -36,58 +36,58 @@ fn Run() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %i32 [concrete] // CHECK:STDOUT: %struct_type.j.k: type = struct_type {.j: %i32, .k: %i32} [concrete] -// CHECK:STDOUT: %complete_type.559: = complete_type_witness %struct_type.j.k [concrete] +// CHECK:STDOUT: %complete_type.edd: = complete_type_witness %struct_type.j.k [concrete] // CHECK:STDOUT: %Run.type: type = fn_type @Run [concrete] // CHECK:STDOUT: %Run: %Run.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.138: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.96e: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%Class) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.82e: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.677: %T.as.DefaultOrUnformed.impl.Op.type.82e = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Class, (%DefaultOrUnformed.impl_witness.96e) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.677, @T.as.DefaultOrUnformed.impl.Op(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.410: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.f58: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.795: %T.as.DefaultOrUnformed.impl.Op.type.f58 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Class, (%DefaultOrUnformed.impl_witness.410) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.795, @T.as.DefaultOrUnformed.impl.Op(%Class) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc25_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc21_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc25_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc21_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -102,14 +102,14 @@ fn Run() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -127,7 +127,7 @@ fn Run() { // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %.loc16: %Class.elem = field_decl j, element0 [concrete] // CHECK:STDOUT: %.loc17: %Class.elem = field_decl k, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.j.k [concrete = constants.%complete_type.559] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.j.k [concrete = constants.%complete_type.edd] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -139,15 +139,15 @@ fn Run() { // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.138 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.138 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.415 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.415 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %Class = var %c.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Class, (constants.%DefaultOrUnformed.impl_witness.96e) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Class, (constants.%DefaultOrUnformed.impl_witness.410) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc21_15.1: %DefaultOrUnformed.type = converted constants.%Class, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc21_15.1 [concrete = constants.%Class] // CHECK:STDOUT: %.loc21_15.2: type = converted %.loc21_15.1, %as_type [concrete = constants.%Class] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.677, @T.as.DefaultOrUnformed.impl.Op(constants.%Class) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.795, @T.as.DefaultOrUnformed.impl.Op(constants.%Class) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %.loc21_3: ref %Class = splice_block %c.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %Class to %.loc21_3 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %c.var, %T.as.DefaultOrUnformed.impl.Op.call @@ -157,34 +157,34 @@ fn Run() { // CHECK:STDOUT: %j.ref.loc22: %Class.elem = name_ref j, @Class.%.loc16 [concrete = @Class.%.loc16] // CHECK:STDOUT: %.loc22_4: ref %i32 = class_element_access %c.ref.loc22, element0 // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc22: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc22_7.1: = bound_method %int_1, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc22: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc22_7.1: = bound_method %int_1, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem0.loc22, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc22_7.2: = bound_method %int_1, %specific_fn.loc22 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %i32 = call %bound_method.loc22_7.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc22_7: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc22_7.2: = bound_method %int_1, %specific_fn.loc22 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %i32 = call %bound_method.loc22_7.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc22_7: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign %.loc22_4, %.loc22_7 // CHECK:STDOUT: %c.ref.loc23: ref %Class = name_ref c, %c // CHECK:STDOUT: %k.ref.loc23: %Class.elem = name_ref k, @Class.%.loc17 [concrete = @Class.%.loc17] // CHECK:STDOUT: %.loc23_4: ref %i32 = class_element_access %c.ref.loc23, element1 // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc23: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc23_7.1: = bound_method %int_2, %impl.elem0.loc23 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0.loc23: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc23_7.1: = bound_method %int_2, %impl.elem0.loc23 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc23: = specific_function %impl.elem0.loc23, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc23_7.2: = bound_method %int_2, %specific_fn.loc23 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23: init %i32 = call %bound_method.loc23_7.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc23_7: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc23_7.2: = bound_method %int_2, %specific_fn.loc23 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23: init %i32 = call %bound_method.loc23_7.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc23_7: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23 [concrete = constants.%int_2.228] // CHECK:STDOUT: assign %.loc23_4, %.loc23_7 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cj.patt: %pattern_type.c6b = ref_binding_pattern cj [concrete] -// CHECK:STDOUT: %cj.var_patt: %pattern_type.c6b = var_pattern %cj.patt [concrete] +// CHECK:STDOUT: %cj.patt: %pattern_type.104 = ref_binding_pattern cj [concrete] +// CHECK:STDOUT: %cj.var_patt: %pattern_type.104 = var_pattern %cj.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cj.var: ref %i32 = var %cj.var_patt // CHECK:STDOUT: %c.ref.loc24: ref %Class = name_ref c, %c // CHECK:STDOUT: %j.ref.loc24: %Class.elem = name_ref j, @Class.%.loc16 [concrete = @Class.%.loc16] // CHECK:STDOUT: %.loc24_25.1: ref %i32 = class_element_access %c.ref.loc24, element0 // CHECK:STDOUT: %.loc24_25.2: %i32 = acquire_value %.loc24_25.1 -// CHECK:STDOUT: %impl.elem0.loc24: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc24: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc24_25.1: = bound_method %.loc24_25.2, %impl.elem0.loc24 // CHECK:STDOUT: %specific_fn.loc24: = specific_function %impl.elem0.loc24, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc24_25.2: = bound_method %.loc24_25.2, %specific_fn.loc24 @@ -193,15 +193,15 @@ fn Run() { // CHECK:STDOUT: %i32.loc24: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %cj: ref %i32 = ref_binding cj, %cj.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %ck.patt: %pattern_type.c6b = ref_binding_pattern ck [concrete] -// CHECK:STDOUT: %ck.var_patt: %pattern_type.c6b = var_pattern %ck.patt [concrete] +// CHECK:STDOUT: %ck.patt: %pattern_type.104 = ref_binding_pattern ck [concrete] +// CHECK:STDOUT: %ck.var_patt: %pattern_type.104 = var_pattern %ck.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %ck.var: ref %i32 = var %ck.var_patt // CHECK:STDOUT: %c.ref.loc25: ref %Class = name_ref c, %c // CHECK:STDOUT: %k.ref.loc25: %Class.elem = name_ref k, @Class.%.loc17 [concrete = @Class.%.loc17] // CHECK:STDOUT: %.loc25_25.1: ref %i32 = class_element_access %c.ref.loc25, element1 // CHECK:STDOUT: %.loc25_25.2: %i32 = acquire_value %.loc25_25.1 -// CHECK:STDOUT: %impl.elem0.loc25: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc25: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc25_25.1: = bound_method %.loc25_25.2, %impl.elem0.loc25 // CHECK:STDOUT: %specific_fn.loc25: = specific_function %impl.elem0.loc25, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc25_25.2: = bound_method %.loc25_25.2, %specific_fn.loc25 @@ -209,11 +209,11 @@ fn Run() { // CHECK:STDOUT: assign %ck.var, %Int.as.Copy.impl.Op.call.loc25 // CHECK:STDOUT: %i32.loc25: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %ck: ref %i32 = ref_binding ck, %ck.var -// CHECK:STDOUT: %Destroy.Op.bound.loc25: = bound_method %ck.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc25: = bound_method %ck.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc25: init %empty_tuple.type = call %Destroy.Op.bound.loc25(%ck.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc24: = bound_method %cj.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc24: = bound_method %cj.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc24: init %empty_tuple.type = call %Destroy.Op.bound.loc24(%cj.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc21: = bound_method %c.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc21: = bound_method %c.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc21: init %empty_tuple.type = call %Destroy.Op.bound.loc21(%c.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/field/field_access_in_value.carbon b/toolchain/check/testdata/class/field/field_access_in_value.carbon index 8fab1095cc23..60b6c1db50dc 100644 --- a/toolchain/check/testdata/class/field/field_access_in_value.carbon +++ b/toolchain/check/testdata/class/field/field_access_in_value.carbon @@ -37,58 +37,58 @@ fn Test() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %i32 [concrete] // CHECK:STDOUT: %struct_type.j.k: type = struct_type {.j: %i32, .k: %i32} [concrete] -// CHECK:STDOUT: %complete_type.559: = complete_type_witness %struct_type.j.k [concrete] +// CHECK:STDOUT: %complete_type.edd: = complete_type_witness %struct_type.j.k [concrete] // CHECK:STDOUT: %Test.type: type = fn_type @Test [concrete] // CHECK:STDOUT: %Test: %Test.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.138: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.96e: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%Class) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.82e: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.677: %T.as.DefaultOrUnformed.impl.Op.type.82e = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Class, (%DefaultOrUnformed.impl_witness.96e) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.677, @T.as.DefaultOrUnformed.impl.Op(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.410: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.f58: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.795: %T.as.DefaultOrUnformed.impl.Op.type.f58 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Class, (%DefaultOrUnformed.impl_witness.410) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.795, @T.as.DefaultOrUnformed.impl.Op(%Class) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc26_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc21_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc26_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc21_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -103,14 +103,14 @@ fn Test() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -128,7 +128,7 @@ fn Test() { // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %.loc16: %Class.elem = field_decl j, element0 [concrete] // CHECK:STDOUT: %.loc17: %Class.elem = field_decl k, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.j.k [concrete = constants.%complete_type.559] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.j.k [concrete = constants.%complete_type.edd] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -140,15 +140,15 @@ fn Test() { // CHECK:STDOUT: fn @Test() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cv.patt: %pattern_type.138 = ref_binding_pattern cv [concrete] -// CHECK:STDOUT: %cv.var_patt: %pattern_type.138 = var_pattern %cv.patt [concrete] +// CHECK:STDOUT: %cv.patt: %pattern_type.415 = ref_binding_pattern cv [concrete] +// CHECK:STDOUT: %cv.var_patt: %pattern_type.415 = var_pattern %cv.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cv.var: ref %Class = var %cv.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Class, (constants.%DefaultOrUnformed.impl_witness.96e) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Class, (constants.%DefaultOrUnformed.impl_witness.410) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc21_16.1: %DefaultOrUnformed.type = converted constants.%Class, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc21_16.1 [concrete = constants.%Class] // CHECK:STDOUT: %.loc21_16.2: type = converted %.loc21_16.1, %as_type [concrete = constants.%Class] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.677, @T.as.DefaultOrUnformed.impl.Op(constants.%Class) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.795, @T.as.DefaultOrUnformed.impl.Op(constants.%Class) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %.loc21_3: ref %Class = splice_block %cv.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %Class to %.loc21_3 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %cv.var, %T.as.DefaultOrUnformed.impl.Op.call @@ -158,41 +158,41 @@ fn Test() { // CHECK:STDOUT: %j.ref.loc22: %Class.elem = name_ref j, @Class.%.loc16 [concrete = @Class.%.loc16] // CHECK:STDOUT: %.loc22_5: ref %i32 = class_element_access %cv.ref.loc22, element0 // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc22: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc22_8.1: = bound_method %int_1, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc22: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc22_8.1: = bound_method %int_1, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem0.loc22, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc22_8.2: = bound_method %int_1, %specific_fn.loc22 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %i32 = call %bound_method.loc22_8.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc22_8: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc22_8.2: = bound_method %int_1, %specific_fn.loc22 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %i32 = call %bound_method.loc22_8.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc22_8: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign %.loc22_5, %.loc22_8 // CHECK:STDOUT: %cv.ref.loc23: ref %Class = name_ref cv, %cv // CHECK:STDOUT: %k.ref.loc23: %Class.elem = name_ref k, @Class.%.loc17 [concrete = @Class.%.loc17] // CHECK:STDOUT: %.loc23_5: ref %i32 = class_element_access %cv.ref.loc23, element1 // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc23: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc23_8.1: = bound_method %int_2, %impl.elem0.loc23 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0.loc23: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc23_8.1: = bound_method %int_2, %impl.elem0.loc23 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc23: = specific_function %impl.elem0.loc23, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc23_8.2: = bound_method %int_2, %specific_fn.loc23 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23: init %i32 = call %bound_method.loc23_8.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc23_8: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc23_8.2: = bound_method %int_2, %specific_fn.loc23 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23: init %i32 = call %bound_method.loc23_8.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc23_8: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23 [concrete = constants.%int_2.228] // CHECK:STDOUT: assign %.loc23_5, %.loc23_8 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.138 = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.415 = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cv.ref.loc24: ref %Class = name_ref cv, %cv // CHECK:STDOUT: %Class.ref.loc24: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] // CHECK:STDOUT: %.loc24: %Class = acquire_value %cv.ref.loc24 // CHECK:STDOUT: %c: %Class = value_binding c, %.loc24 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cj.patt: %pattern_type.c6b = ref_binding_pattern cj [concrete] -// CHECK:STDOUT: %cj.var_patt: %pattern_type.c6b = var_pattern %cj.patt [concrete] +// CHECK:STDOUT: %cj.patt: %pattern_type.104 = ref_binding_pattern cj [concrete] +// CHECK:STDOUT: %cj.var_patt: %pattern_type.104 = var_pattern %cj.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cj.var: ref %i32 = var %cj.var_patt // CHECK:STDOUT: %c.ref.loc25: %Class = name_ref c, %c // CHECK:STDOUT: %j.ref.loc25: %Class.elem = name_ref j, @Class.%.loc16 [concrete = @Class.%.loc16] // CHECK:STDOUT: %.loc25_25.1: ref %i32 = class_element_access %c.ref.loc25, element0 // CHECK:STDOUT: %.loc25_25.2: %i32 = acquire_value %.loc25_25.1 -// CHECK:STDOUT: %impl.elem0.loc25: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc25: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc25_25.1: = bound_method %.loc25_25.2, %impl.elem0.loc25 // CHECK:STDOUT: %specific_fn.loc25: = specific_function %impl.elem0.loc25, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc25_25.2: = bound_method %.loc25_25.2, %specific_fn.loc25 @@ -201,15 +201,15 @@ fn Test() { // CHECK:STDOUT: %i32.loc25: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %cj: ref %i32 = ref_binding cj, %cj.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %ck.patt: %pattern_type.c6b = ref_binding_pattern ck [concrete] -// CHECK:STDOUT: %ck.var_patt: %pattern_type.c6b = var_pattern %ck.patt [concrete] +// CHECK:STDOUT: %ck.patt: %pattern_type.104 = ref_binding_pattern ck [concrete] +// CHECK:STDOUT: %ck.var_patt: %pattern_type.104 = var_pattern %ck.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %ck.var: ref %i32 = var %ck.var_patt // CHECK:STDOUT: %c.ref.loc26: %Class = name_ref c, %c // CHECK:STDOUT: %k.ref.loc26: %Class.elem = name_ref k, @Class.%.loc17 [concrete = @Class.%.loc17] // CHECK:STDOUT: %.loc26_25.1: ref %i32 = class_element_access %c.ref.loc26, element1 // CHECK:STDOUT: %.loc26_25.2: %i32 = acquire_value %.loc26_25.1 -// CHECK:STDOUT: %impl.elem0.loc26: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc26: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc26_25.1: = bound_method %.loc26_25.2, %impl.elem0.loc26 // CHECK:STDOUT: %specific_fn.loc26: = specific_function %impl.elem0.loc26, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc26_25.2: = bound_method %.loc26_25.2, %specific_fn.loc26 @@ -217,11 +217,11 @@ fn Test() { // CHECK:STDOUT: assign %ck.var, %Int.as.Copy.impl.Op.call.loc26 // CHECK:STDOUT: %i32.loc26: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %ck: ref %i32 = ref_binding ck, %ck.var -// CHECK:STDOUT: %Destroy.Op.bound.loc26: = bound_method %ck.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc26: = bound_method %ck.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc26: init %empty_tuple.type = call %Destroy.Op.bound.loc26(%ck.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc25: = bound_method %cj.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc25: = bound_method %cj.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc25: init %empty_tuple.type = call %Destroy.Op.bound.loc25(%cj.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc21: = bound_method %cv.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc21: = bound_method %cv.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc21: init %empty_tuple.type = call %Destroy.Op.bound.loc21(%cv.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/field/field_initializer.carbon b/toolchain/check/testdata/class/field/field_initializer.carbon index 1aef2cc01363..50b8951839fa 100644 --- a/toolchain/check/testdata/class/field/field_initializer.carbon +++ b/toolchain/check/testdata/class/field/field_initializer.carbon @@ -92,38 +92,38 @@ var C: Class = {}; // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %i32 [concrete] // CHECK:STDOUT: %int_123.fff: Core.IntLiteral = int_value 123 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_123.5a3: %i32 = int_value 123 [concrete] +// CHECK:STDOUT: %int_123.5b5: %i32 = int_value 123 [concrete] // CHECK:STDOUT: %struct_type.field: type = struct_type {.field: %i32} [concrete] -// CHECK:STDOUT: %complete_type.97b: = complete_type_witness %struct_type.field [concrete] -// CHECK:STDOUT: %pattern_type.dd7: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %complete_type.c67: = complete_type_witness %struct_type.field [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %Class.val: %Class = struct_value (%int_123.5a3) [concrete] +// CHECK:STDOUT: %Class.val: %Class = struct_value (%int_123.5b5) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %C.patt: %pattern_type.dd7 = ref_binding_pattern C [concrete] -// CHECK:STDOUT: %C.var_patt: %pattern_type.dd7 = var_pattern %C.patt [concrete] +// CHECK:STDOUT: %C.patt: %pattern_type.415 = ref_binding_pattern C [concrete] +// CHECK:STDOUT: %C.var_patt: %pattern_type.415 = var_pattern %C.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.var: ref %Class = var %C.var_patt [concrete] // CHECK:STDOUT: %Class.ref: type = name_ref Class, %Class.decl [concrete = constants.%Class] @@ -133,14 +133,14 @@ var C: Class = {}; // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %.loc5_12: %Class.elem = field_decl field, element0, initializer = inst640000D4 [concrete] // CHECK:STDOUT: %int_123: Core.IntLiteral = int_value 123 [concrete = constants.%int_123.fff] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc5_20.1: = bound_method %int_123, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc5_20.2: = bound_method %int_123, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_20.2(%int_123) [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %.loc5_20.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %.loc5_20.2: %i32 = converted %int_123, %.loc5_20.1 [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.field [concrete = constants.%complete_type.97b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_20.2(%int_123) [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %.loc5_20.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %.loc5_20.2: %i32 = converted %int_123, %.loc5_20.1 [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.field [concrete = constants.%complete_type.c67] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -151,7 +151,7 @@ var C: Class = {}; // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc8_17.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc8_17.2: init %Class to file.%C.var = class_init (constants.%int_123.5a3) [concrete = constants.%Class.val] +// CHECK:STDOUT: %.loc8_17.2: init %Class to file.%C.var = class_init (constants.%int_123.5b5) [concrete = constants.%Class.val] // CHECK:STDOUT: %.loc8_1: init %Class = converted %.loc8_17.1, %.loc8_17.2 [concrete = constants.%Class.val] // CHECK:STDOUT: assign file.%C.var, %.loc8_1 // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/field/static.carbon b/toolchain/check/testdata/class/field/static.carbon index 416f059450a1..68013a52b992 100644 --- a/toolchain/check/testdata/class/field/static.carbon +++ b/toolchain/check/testdata/class/field/static.carbon @@ -59,43 +59,43 @@ fn F() { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.d7b: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%i32) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %i32, (%DefaultOrUnformed.impl_witness.d7b) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.3a3: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%i32) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %i32, (%DefaultOrUnformed.impl_witness.3a3) [concrete] // CHECK:STDOUT: %int_123.fff: Core.IntLiteral = int_value 123 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.059: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.692: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_123.5a3: %i32 = int_value 123 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d08: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.f4c: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_123.5b5: %i32 = int_value 123 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_456.010: Core.IntLiteral = int_value 456 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.853: = bound_method %int_456.010, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.88a: = bound_method %int_456.010, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_456.b78: %i32 = int_value 456 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.114: = bound_method %int_456.010, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.3d7: = bound_method %int_456.010, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_456.b9d: %i32 = int_value 456 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -105,15 +105,15 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: class @C { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %static_field.patt: %pattern_type.c6b = ref_binding_pattern static_field [concrete] -// CHECK:STDOUT: %static_field.var_patt: %pattern_type.c6b = var_pattern %static_field.patt [concrete] +// CHECK:STDOUT: %static_field.patt: %pattern_type.104 = ref_binding_pattern static_field [concrete] +// CHECK:STDOUT: %static_field.var_patt: %pattern_type.104 = var_pattern %static_field.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %static_field.var: ref %i32 = var %static_field.var_patt [concrete] // CHECK:STDOUT: %i32.loc5: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %static_field: ref %i32 = ref_binding static_field, %static_field.var [concrete = %static_field.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %static_field_with_init.patt: %pattern_type.c6b = ref_binding_pattern static_field_with_init [concrete] -// CHECK:STDOUT: %static_field_with_init.var_patt: %pattern_type.c6b = var_pattern %static_field_with_init.patt [concrete] +// CHECK:STDOUT: %static_field_with_init.patt: %pattern_type.104 = ref_binding_pattern static_field_with_init [concrete] +// CHECK:STDOUT: %static_field_with_init.var_patt: %pattern_type.104 = var_pattern %static_field_with_init.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %static_field_with_init.var: ref %i32 = var %static_field_with_init.var_patt [concrete] // CHECK:STDOUT: %i32.loc6: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -132,19 +132,19 @@ fn F() { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %static_field.ref: ref %i32 = name_ref static_field, @C.%static_field [concrete = @C.%static_field.var] // CHECK:STDOUT: %int_456: Core.IntLiteral = int_value 456 [concrete = constants.%int_456.010] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_18.1: = bound_method %int_456, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.853] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_18.1: = bound_method %int_456, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.114] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_18.2: = bound_method %int_456, %specific_fn [concrete = constants.%bound_method.88a] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc10_18.2(%int_456) [concrete = constants.%int_456.b78] -// CHECK:STDOUT: %.loc10: init %i32 = converted %int_456, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_456.b78] +// CHECK:STDOUT: %bound_method.loc10_18.2: = bound_method %int_456, %specific_fn [concrete = constants.%bound_method.3d7] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc10_18.2(%int_456) [concrete = constants.%int_456.b9d] +// CHECK:STDOUT: %.loc10: init %i32 = converted %int_456, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_456.b9d] // CHECK:STDOUT: assign %static_field.ref, %.loc10 // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%i32, (constants.%DefaultOrUnformed.impl_witness.d7b) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%i32, (constants.%DefaultOrUnformed.impl_witness.3a3) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc5_31.1: %DefaultOrUnformed.type = converted constants.%i32, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc5_31.1 [concrete = constants.%i32] // CHECK:STDOUT: %.loc5_31.2: type = converted %.loc5_31.1, %as_type [concrete = constants.%i32] @@ -152,12 +152,12 @@ fn F() { // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %i32 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign @C.%static_field.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: %int_123: Core.IntLiteral = int_value 123 [concrete = constants.%int_123.fff] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_10.1: = bound_method %int_123, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.059] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_10.1: = bound_method %int_123, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d08] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %int_123, %specific_fn [concrete = constants.%bound_method.692] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc6_10.2(%int_123) [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %.loc6: init %i32 = converted %int_123, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_123.5a3] +// CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %int_123, %specific_fn [concrete = constants.%bound_method.f4c] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc6_10.2(%int_123) [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %.loc6: init %i32 = converted %int_123, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_123.5b5] // CHECK:STDOUT: assign @C.%static_field_with_init.var, %.loc6 // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/forward_declared.carbon b/toolchain/check/testdata/class/forward_declared.carbon index a38fb58892d0..c704c4e6e425 100644 --- a/toolchain/check/testdata/class/forward_declared.carbon +++ b/toolchain/check/testdata/class/forward_declared.carbon @@ -20,22 +20,22 @@ fn F(p: Class*) -> Class* { return p; } // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Class: type = class_type @Class [concrete] -// CHECK:STDOUT: %ptr.bd7: type = ptr_type %Class [concrete] -// CHECK:STDOUT: %pattern_type.9b1: type = pattern_type %ptr.bd7 [concrete] -// CHECK:STDOUT: %.f1d: Core.Form = init_form %ptr.bd7 [concrete] +// CHECK:STDOUT: %ptr.e55: type = ptr_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.732: type = pattern_type %ptr.e55 [concrete] +// CHECK:STDOUT: %.db0: Core.Form = init_form %ptr.e55 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.34c: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%Class) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eaf: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Class) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.ef3: %ptr.as.Copy.impl.Op.type.eaf = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.bd7, (%Copy.impl_witness.34c) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.cc1: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9c, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.ef3, @ptr.as.Copy.impl.Op(%Class) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.f8f: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%Class) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.4ac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Class) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.b07: %ptr.as.Copy.impl.Op.type.4ac = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e55, (%Copy.impl_witness.f8f) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7db: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.044: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7db, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.b07, @ptr.as.Copy.impl.Op(%Class) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -45,8 +45,8 @@ fn F(p: Class*) -> Class* { return p; } // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -58,35 +58,35 @@ fn F(p: Class*) -> Class* { return p; } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.9b1 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.9b1 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.9b1 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.9b1 = return_slot_pattern %return.param_patt, %ptr.loc17_25 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.732 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.732 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.732 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.732 = return_slot_pattern %return.param_patt, %ptr.loc17_25 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Class.ref.loc17_20: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %ptr.loc17_25: type = ptr_type %Class.ref.loc17_20 [concrete = constants.%ptr.bd7] -// CHECK:STDOUT: %.loc17_25: Core.Form = init_form %ptr.loc17_25 [concrete = constants.%.f1d] -// CHECK:STDOUT: %p.param: %ptr.bd7 = value_param call_param0 -// CHECK:STDOUT: %.loc17_14: type = splice_block %ptr.loc17_14 [concrete = constants.%ptr.bd7] { +// CHECK:STDOUT: %ptr.loc17_25: type = ptr_type %Class.ref.loc17_20 [concrete = constants.%ptr.e55] +// CHECK:STDOUT: %.loc17_25: Core.Form = init_form %ptr.loc17_25 [concrete = constants.%.db0] +// CHECK:STDOUT: %p.param: %ptr.e55 = value_param call_param0 +// CHECK:STDOUT: %.loc17_14: type = splice_block %ptr.loc17_14 [concrete = constants.%ptr.e55] { // CHECK:STDOUT: %Class.ref.loc17_9: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %ptr.loc17_14: type = ptr_type %Class.ref.loc17_9 [concrete = constants.%ptr.bd7] +// CHECK:STDOUT: %ptr.loc17_14: type = ptr_type %Class.ref.loc17_9 [concrete = constants.%ptr.e55] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.bd7 = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %ptr.bd7 = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.bd7 = return_slot %return.param +// CHECK:STDOUT: %p: %ptr.e55 = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %ptr.e55 = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.e55 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Class; // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%p.param: %ptr.bd7) -> out %return.param: %ptr.bd7 { +// CHECK:STDOUT: fn @F(%p.param: %ptr.e55) -> out %return.param: %ptr.e55 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.bd7 = name_ref p, %p -// CHECK:STDOUT: %impl.elem0: %.cc1 = impl_witness_access constants.%Copy.impl_witness.34c, element0 [concrete = constants.%ptr.as.Copy.impl.Op.ef3] +// CHECK:STDOUT: %p.ref: %ptr.e55 = name_ref p, %p +// CHECK:STDOUT: %impl.elem0: %.044 = impl_witness_access constants.%Copy.impl_witness.f8f, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b07] // CHECK:STDOUT: %bound_method.loc17_36.1: = bound_method %p.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%Class) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc17_36.2: = bound_method %p.ref, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.bd7 = call %bound_method.loc17_36.2(%p.ref) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.e55 = call %bound_method.loc17_36.2(%p.ref) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/adapt.carbon b/toolchain/check/testdata/class/generic/adapt.carbon index b10d9aab9f11..b4c91ee354dd 100644 --- a/toolchain/check/testdata/class/generic/adapt.carbon +++ b/toolchain/check/testdata/class/generic/adapt.carbon @@ -134,9 +134,9 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.e2f: type = class_type @C, @C(%T.67d) [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T.67d) [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67d [symbolic] -// CHECK:STDOUT: %C.elem.853: type = unbound_element_type %C.e2f, %T.67d [symbolic] +// CHECK:STDOUT: %C.elem.e58: type = unbound_element_type %C.1f9, %T.67d [symbolic] // CHECK:STDOUT: %struct_type.x.0c5: type = struct_type {.x: %T.67d} [symbolic] // CHECK:STDOUT: %complete_type.735: = complete_type_witness %struct_type.x.0c5 [symbolic] // CHECK:STDOUT: %Adapter: type = class_type @Adapter [concrete] @@ -145,27 +145,27 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %C.e7b: type = class_type @C, @C(%i32) [concrete] +// CHECK:STDOUT: %C.249: type = class_type @C, @C(%i32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %C.elem.1d3: type = unbound_element_type %C.e7b, %i32 [concrete] -// CHECK:STDOUT: %struct_type.x.2bb: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fa5: = complete_type_witness %struct_type.x.2bb [concrete] -// CHECK:STDOUT: %pattern_type.9b0: type = pattern_type %Adapter [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %C.elem.6fe: type = unbound_element_type %C.249, %i32 [concrete] +// CHECK:STDOUT: %struct_type.x.06a: type = struct_type {.x: %i32} [concrete] +// CHECK:STDOUT: %complete_type.9a8: = complete_type_witness %struct_type.x.06a [concrete] +// CHECK:STDOUT: %pattern_type.479: type = pattern_type %Adapter [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Access.type: type = fn_type @Access [concrete] // CHECK:STDOUT: %Access: %Access.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -177,8 +177,8 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -200,13 +200,13 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Adapter.decl: type = class_decl @Adapter [concrete = constants.%Adapter] {} {} // CHECK:STDOUT: %Access.decl: %Access.type = fn_decl @Access [concrete = constants.%Access] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.9b0 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.9b0 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc12 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.479 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.479 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc12 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc12: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc12: Core.Form = init_form %i32.loc12 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc12: Core.Form = init_form %i32.loc12 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %Adapter = value_param call_param0 // CHECK:STDOUT: %Adapter.ref: type = name_ref Adapter, file.%Adapter.decl [concrete = constants.%Adapter] // CHECK:STDOUT: %a: %Adapter = value_binding a, %a.param @@ -220,18 +220,18 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.loc4_10.1 [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T.loc4_10.1) [symbolic = %C (constants.%C.e2f)] -// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %T.loc4_10.1 [symbolic = %C.elem (constants.%C.elem.853)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T.loc4_10.1) [symbolic = %C (constants.%C.1f9)] +// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %T.loc4_10.1 [symbolic = %C.elem (constants.%C.elem.e58)] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: @C.%T.loc4_10.1 (%T.67d)} [symbolic = %struct_type.x (constants.%struct_type.x.0c5)] // CHECK:STDOUT: %complete_type.loc6_1.2: = complete_type_witness %struct_type.x [symbolic = %complete_type.loc6_1.2 (constants.%complete_type.735)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %.loc5: @C.%C.elem (%C.elem.853) = field_decl x, element0 [concrete] +// CHECK:STDOUT: %.loc5: @C.%C.elem (%C.elem.e58) = field_decl x, element0 [concrete] // CHECK:STDOUT: %complete_type.loc6_1.1: = complete_type_witness constants.%struct_type.x.0c5 [symbolic = %complete_type.loc6_1.2 (constants.%complete_type.735)] // CHECK:STDOUT: complete_type_witness = %complete_type.loc6_1.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.e2f +// CHECK:STDOUT: .Self = constants.%C.1f9 // CHECK:STDOUT: .T = // CHECK:STDOUT: .x = %.loc5 // CHECK:STDOUT: } @@ -240,9 +240,9 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: class @Adapter { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.e7b] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.249] // CHECK:STDOUT: adapt_decl %C [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x.2bb [concrete = constants.%complete_type.fa5] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x.06a [concrete = constants.%complete_type.9a8] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -255,13 +255,13 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %a.ref: %Adapter = name_ref a, %a // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %i32.loc13: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.e7b] -// CHECK:STDOUT: %.loc13_13.1: %C.e7b = as_compatible %a.ref -// CHECK:STDOUT: %.loc13_13.2: %C.e7b = converted %a.ref, %.loc13_13.1 -// CHECK:STDOUT: %x.ref: %C.elem.1d3 = name_ref x, @C.%.loc5 [concrete = @C.%.loc5] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.249] +// CHECK:STDOUT: %.loc13_13.1: %C.249 = as_compatible %a.ref +// CHECK:STDOUT: %.loc13_13.2: %C.249 = converted %a.ref, %.loc13_13.1 +// CHECK:STDOUT: %x.ref: %C.elem.6fe = name_ref x, @C.%.loc5 [concrete = @C.%.loc5] // CHECK:STDOUT: %.loc13_23.1: ref %i32 = class_element_access %.loc13_13.2, element0 // CHECK:STDOUT: %.loc13_23.2: %i32 = acquire_value %.loc13_23.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc13_23.1: = bound_method %.loc13_23.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc13_23.2: = bound_method %.loc13_23.2, %specific_fn @@ -278,10 +278,10 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %C => constants.%C.e7b -// CHECK:STDOUT: %C.elem => constants.%C.elem.1d3 -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.2bb -// CHECK:STDOUT: %complete_type.loc6_1.2 => constants.%complete_type.fa5 +// CHECK:STDOUT: %C => constants.%C.249 +// CHECK:STDOUT: %C.elem => constants.%C.elem.6fe +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.06a +// CHECK:STDOUT: %complete_type.loc6_1.2 => constants.%complete_type.9a8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_adapt_specific_type.carbon @@ -300,51 +300,51 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %struct_type.x.0c5: type = struct_type {.x: %T.67d} [symbolic] // CHECK:STDOUT: %complete_type.735: = complete_type_witness %struct_type.x.0c5 [symbolic] -// CHECK:STDOUT: %C.ebd: type = class_type @C, @C(%T.67d) [symbolic] -// CHECK:STDOUT: %C.elem.992: type = unbound_element_type %C.ebd, %T.67d [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T.67d) [symbolic] +// CHECK:STDOUT: %C.elem.e58: type = unbound_element_type %C.1f9, %T.67d [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67d [symbolic] -// CHECK:STDOUT: %C.6b0: type = class_type @C, @C(%i32) [concrete] -// CHECK:STDOUT: %struct_type.x.740: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.9ec: = complete_type_witness %struct_type.x.740 [concrete] -// CHECK:STDOUT: %C.elem.bed: type = unbound_element_type %C.6b0, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.bff: type = pattern_type %Adapter [concrete] -// CHECK:STDOUT: %.46a: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.ec3: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %C.4e8: type = class_type @C, @C(%i32) [concrete] +// CHECK:STDOUT: %struct_type.x.375: type = struct_type {.x: %i32} [concrete] +// CHECK:STDOUT: %complete_type.75b: = complete_type_witness %struct_type.x.375 [concrete] +// CHECK:STDOUT: %C.elem.505: type = unbound_element_type %C.4e8, %i32 [concrete] +// CHECK:STDOUT: %pattern_type.479: type = pattern_type %Adapter [concrete] +// CHECK:STDOUT: %.6c9: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.c62: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %ImportedAccess.type: type = fn_type @ImportedAccess [concrete] // CHECK:STDOUT: %ImportedAccess: %ImportedAccess.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.c59: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.fb0: %Int.as.Copy.impl.Op.type.c59 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.c36: = impl_witness imports.%Copy.impl_witness_table.03a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.e20: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.123: %Int.as.Copy.impl.Op.type.e20 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.c36) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.56d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.cf6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.56d, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.123, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.947: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.c83: %Int.as.Copy.impl.Op.type.947 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.7e7: = impl_witness imports.%Copy.impl_witness_table.53f, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.c58: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.59c: %Int.as.Copy.impl.Op.type.c58 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.7e7) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.fae: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.b11: type = fn_type_with_self_type %Copy.WithSelf.Op.type.fae, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.59c, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: %C.type = import_ref Main//adapt_specific_type, C, loaded [concrete = constants.%C.generic] // CHECK:STDOUT: %Main.Adapter: type = import_ref Main//adapt_specific_type, Adapter, loaded [concrete = constants.%Adapter] // CHECK:STDOUT: %Main.Access = import_ref Main//adapt_specific_type, Access, unloaded -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .Int = %Core.Int // CHECK:STDOUT: .Copy = %Core.Copy // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.7e3: = import_ref Main//adapt_specific_type, loc6_1, loaded [symbolic = @C.%complete_type (constants.%complete_type.735)] -// CHECK:STDOUT: %Main.import_ref.668 = import_ref Main//adapt_specific_type, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.2fa: @C.%C.elem (%C.elem.992) = import_ref Main//adapt_specific_type, loc5_8, loaded [concrete = %.862] +// CHECK:STDOUT: %Main.import_ref.6a5 = import_ref Main//adapt_specific_type, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.6d1: @C.%C.elem (%C.elem.e58) = import_ref Main//adapt_specific_type, loc5_8, loaded [concrete = %.1f5] // CHECK:STDOUT: %Main.import_ref.b3b: type = import_ref Main//adapt_specific_type, loc4_10, loaded [symbolic = @C.%T (constants.%T.67d)] -// CHECK:STDOUT: %Main.import_ref.bc4: = import_ref Main//adapt_specific_type, loc10_1, loaded [concrete = constants.%complete_type.9ec] -// CHECK:STDOUT: %Main.import_ref.bbb = import_ref Main//adapt_specific_type, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.018: = import_ref Main//adapt_specific_type, loc10_1, loaded [concrete = constants.%complete_type.75b] +// CHECK:STDOUT: %Main.import_ref.796 = import_ref Main//adapt_specific_type, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %.862: @C.%C.elem (%C.elem.992) = field_decl x, element0 [concrete] +// CHECK:STDOUT: %.1f5: @C.%C.elem (%C.elem.e58) = field_decl x, element0 [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.8e5: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.c59) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.fb0)] -// CHECK:STDOUT: %Copy.impl_witness_table.03a = impl_witness_table (%Core.import_ref.8e5), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.3f2: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.947) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c83)] +// CHECK:STDOUT: %Copy.impl_witness_table.53f = impl_witness_table (%Core.import_ref.3f2), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -352,19 +352,19 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: .C = imports.%Main.C // CHECK:STDOUT: .Adapter = imports.%Main.Adapter // CHECK:STDOUT: .Access = imports.%Main.Access -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .ImportedAccess = %ImportedAccess.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %ImportedAccess.decl: %ImportedAccess.type = fn_decl @ImportedAccess [concrete = constants.%ImportedAccess] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.bff = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.bff = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.ec3 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.ec3 = return_slot_pattern %return.param_patt, %i32.loc6 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.479 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.479 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.c62 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.c62 = return_slot_pattern %return.param_patt, %i32.loc6 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc6: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6: Core.Form = init_form %i32.loc6 [concrete = constants.%.46a] +// CHECK:STDOUT: %.loc6: Core.Form = init_form %i32.loc6 [concrete = constants.%.6c9] // CHECK:STDOUT: %a.param: %Adapter = value_param call_param0 // CHECK:STDOUT: %Adapter.ref: type = name_ref Adapter, imports.%Main.Adapter [concrete = constants.%Adapter] // CHECK:STDOUT: %a: %Adapter = value_binding a, %a.param @@ -374,10 +374,10 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Adapter [from "adapt_specific_type.carbon"] { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.bc4 +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.018 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.bbb +// CHECK:STDOUT: .Self = imports.%Main.import_ref.796 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @C(imports.%Main.import_ref.b3b: type) [from "adapt_specific_type.carbon"] { @@ -385,8 +385,8 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.ebd)] -// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %T [symbolic = %C.elem (constants.%C.elem.992)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.1f9)] +// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %T [symbolic = %C.elem (constants.%C.elem.e58)] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: @C.%T (%T.67d)} [symbolic = %struct_type.x (constants.%struct_type.x.0c5)] // CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.x [symbolic = %complete_type (constants.%complete_type.735)] // CHECK:STDOUT: @@ -394,8 +394,8 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.7e3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.668 -// CHECK:STDOUT: .x = imports.%Main.import_ref.2fa +// CHECK:STDOUT: .Self = imports.%Main.import_ref.6a5 +// CHECK:STDOUT: .x = imports.%Main.import_ref.6d1 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -404,13 +404,13 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %a.ref: %Adapter = name_ref a, %a // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Main.C [concrete = constants.%C.generic] // CHECK:STDOUT: %i32.loc7: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.6b0] -// CHECK:STDOUT: %.loc7_13.1: %C.6b0 = as_compatible %a.ref -// CHECK:STDOUT: %.loc7_13.2: %C.6b0 = converted %a.ref, %.loc7_13.1 -// CHECK:STDOUT: %x.ref: %C.elem.bed = name_ref x, imports.%Main.import_ref.2fa [concrete = imports.%.862] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.4e8] +// CHECK:STDOUT: %.loc7_13.1: %C.4e8 = as_compatible %a.ref +// CHECK:STDOUT: %.loc7_13.2: %C.4e8 = converted %a.ref, %.loc7_13.1 +// CHECK:STDOUT: %x.ref: %C.elem.505 = name_ref x, imports.%Main.import_ref.6d1 [concrete = imports.%.1f5] // CHECK:STDOUT: %.loc7_23.1: ref %i32 = class_element_access %.loc7_13.2, element0 // CHECK:STDOUT: %.loc7_23.2: %i32 = acquire_value %.loc7_23.1 -// CHECK:STDOUT: %impl.elem0: %.cf6 = impl_witness_access constants.%Copy.impl_witness.c36, element0 [concrete = constants.%Int.as.Copy.impl.Op.123] +// CHECK:STDOUT: %impl.elem0: %.b11 = impl_witness_access constants.%Copy.impl_witness.7e7, element0 [concrete = constants.%Int.as.Copy.impl.Op.59c] // CHECK:STDOUT: %bound_method.loc7_23.1: = bound_method %.loc7_23.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc7_23.2: = bound_method %.loc7_23.2, %specific_fn @@ -427,10 +427,10 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %C => constants.%C.6b0 -// CHECK:STDOUT: %C.elem => constants.%C.elem.bed -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.740 -// CHECK:STDOUT: %complete_type => constants.%complete_type.9ec +// CHECK:STDOUT: %C => constants.%C.4e8 +// CHECK:STDOUT: %C.elem => constants.%C.elem.505 +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.375 +// CHECK:STDOUT: %complete_type => constants.%complete_type.75b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_extend_adapt_specific_type.carbon @@ -442,9 +442,9 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.aa9: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %C.elem.3ab: type = unbound_element_type %C.aa9, %T [symbolic] +// CHECK:STDOUT: %C.elem.e58: type = unbound_element_type %C.1f9, %T [symbolic] // CHECK:STDOUT: %struct_type.x.0c5: type = struct_type {.x: %T} [symbolic] // CHECK:STDOUT: %complete_type.735: = complete_type_witness %struct_type.x.0c5 [symbolic] // CHECK:STDOUT: %Adapter: type = class_type @Adapter [concrete] @@ -452,19 +452,19 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %C.656: type = class_type @C, @C(%i32) [concrete] +// CHECK:STDOUT: %C.249: type = class_type @C, @C(%i32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %C.elem.d1c: type = unbound_element_type %C.656, %i32 [concrete] -// CHECK:STDOUT: %struct_type.x.2bb: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fa5: = complete_type_witness %struct_type.x.2bb [concrete] -// CHECK:STDOUT: %pattern_type.6a6: type = pattern_type %Adapter [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %C.elem.6fe: type = unbound_element_type %C.249, %i32 [concrete] +// CHECK:STDOUT: %struct_type.x.06a: type = struct_type {.x: %i32} [concrete] +// CHECK:STDOUT: %complete_type.9a8: = complete_type_witness %struct_type.x.06a [concrete] +// CHECK:STDOUT: %pattern_type.479: type = pattern_type %Adapter [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Access.type: type = fn_type @Access [concrete] // CHECK:STDOUT: %Access: %Access.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -475,7 +475,7 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -497,13 +497,13 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Adapter.decl: type = class_decl @Adapter [concrete = constants.%Adapter] {} {} // CHECK:STDOUT: %Access.decl: %Access.type = fn_decl @Access [concrete = constants.%Access] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.6a6 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.6a6 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.479 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.479 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc12: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc12: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %Adapter = value_param call_param0 // CHECK:STDOUT: %Adapter.ref: type = name_ref Adapter, file.%Adapter.decl [concrete = constants.%Adapter] // CHECK:STDOUT: %a: %Adapter = value_binding a, %a.param @@ -517,18 +517,18 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.loc4_10.1 [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T.loc4_10.1) [symbolic = %C (constants.%C.aa9)] -// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %T.loc4_10.1 [symbolic = %C.elem (constants.%C.elem.3ab)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T.loc4_10.1) [symbolic = %C (constants.%C.1f9)] +// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %T.loc4_10.1 [symbolic = %C.elem (constants.%C.elem.e58)] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: @C.%T.loc4_10.1 (%T)} [symbolic = %struct_type.x (constants.%struct_type.x.0c5)] // CHECK:STDOUT: %complete_type.loc6_1.2: = complete_type_witness %struct_type.x [symbolic = %complete_type.loc6_1.2 (constants.%complete_type.735)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %.loc5: @C.%C.elem (%C.elem.3ab) = field_decl x, element0 [concrete] +// CHECK:STDOUT: %.loc5: @C.%C.elem (%C.elem.e58) = field_decl x, element0 [concrete] // CHECK:STDOUT: %complete_type.loc6_1.1: = complete_type_witness constants.%struct_type.x.0c5 [symbolic = %complete_type.loc6_1.2 (constants.%complete_type.735)] // CHECK:STDOUT: complete_type_witness = %complete_type.loc6_1.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.aa9 +// CHECK:STDOUT: .Self = constants.%C.1f9 // CHECK:STDOUT: .T = // CHECK:STDOUT: .x = %.loc5 // CHECK:STDOUT: } @@ -537,9 +537,9 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: class @Adapter { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.656] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.249] // CHECK:STDOUT: adapt_decl %C [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x.2bb [concrete = constants.%complete_type.fa5] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x.06a [concrete = constants.%complete_type.9a8] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -552,8 +552,8 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: fn @Access(%a.param: %Adapter) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %Adapter = name_ref a, %a -// CHECK:STDOUT: %x.ref: %C.elem.d1c = name_ref x, @C.%.loc5 [concrete = @C.%.loc5] -// CHECK:STDOUT: %.loc21_11.1: %C.656 = converted %a.ref, [concrete = ] +// CHECK:STDOUT: %x.ref: %C.elem.6fe = name_ref x, @C.%.loc5 [concrete = @C.%.loc5] +// CHECK:STDOUT: %.loc21_11.1: %C.249 = converted %a.ref, [concrete = ] // CHECK:STDOUT: %.loc21_11.2: %i32 = class_element_access , element0 [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -567,10 +567,10 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %C => constants.%C.656 -// CHECK:STDOUT: %C.elem => constants.%C.elem.d1c -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.2bb -// CHECK:STDOUT: %complete_type.loc6_1.2 => constants.%complete_type.fa5 +// CHECK:STDOUT: %C => constants.%C.249 +// CHECK:STDOUT: %C.elem => constants.%C.elem.6fe +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.06a +// CHECK:STDOUT: %complete_type.loc6_1.2 => constants.%complete_type.9a8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- extend_adapt_specific_type_library.carbon @@ -582,9 +582,9 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.342: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %C.elem.225: type = unbound_element_type %C.342, %T [symbolic] +// CHECK:STDOUT: %C.elem.e58: type = unbound_element_type %C.1f9, %T [symbolic] // CHECK:STDOUT: %struct_type.x.0c5: type = struct_type {.x: %T} [symbolic] // CHECK:STDOUT: %complete_type.735: = complete_type_witness %struct_type.x.0c5 [symbolic] // CHECK:STDOUT: %Adapter: type = class_type @Adapter [concrete] @@ -592,12 +592,12 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %C.025: type = class_type @C, @C(%i32) [concrete] +// CHECK:STDOUT: %C.249: type = class_type @C, @C(%i32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %C.elem.a68: type = unbound_element_type %C.025, %i32 [concrete] -// CHECK:STDOUT: %struct_type.x.2bb: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fa5: = complete_type_witness %struct_type.x.2bb [concrete] +// CHECK:STDOUT: %C.elem.6fe: type = unbound_element_type %C.249, %i32 [concrete] +// CHECK:STDOUT: %struct_type.x.06a: type = struct_type {.x: %i32} [concrete] +// CHECK:STDOUT: %complete_type.9a8: = complete_type_witness %struct_type.x.06a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -633,18 +633,18 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.loc7_10.1 [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T.loc7_10.1) [symbolic = %C (constants.%C.342)] -// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %T.loc7_10.1 [symbolic = %C.elem (constants.%C.elem.225)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T.loc7_10.1) [symbolic = %C (constants.%C.1f9)] +// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %T.loc7_10.1 [symbolic = %C.elem (constants.%C.elem.e58)] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: @C.%T.loc7_10.1 (%T)} [symbolic = %struct_type.x (constants.%struct_type.x.0c5)] // CHECK:STDOUT: %complete_type.loc9_1.2: = complete_type_witness %struct_type.x [symbolic = %complete_type.loc9_1.2 (constants.%complete_type.735)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %.loc8: @C.%C.elem (%C.elem.225) = field_decl x, element0 [concrete] +// CHECK:STDOUT: %.loc8: @C.%C.elem (%C.elem.e58) = field_decl x, element0 [concrete] // CHECK:STDOUT: %complete_type.loc9_1.1: = complete_type_witness constants.%struct_type.x.0c5 [symbolic = %complete_type.loc9_1.2 (constants.%complete_type.735)] // CHECK:STDOUT: complete_type_witness = %complete_type.loc9_1.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.342 +// CHECK:STDOUT: .Self = constants.%C.1f9 // CHECK:STDOUT: .T = // CHECK:STDOUT: .x = %.loc8 // CHECK:STDOUT: } @@ -653,9 +653,9 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: class @Adapter { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.025] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.249] // CHECK:STDOUT: adapt_decl %C [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x.2bb [concrete = constants.%complete_type.fa5] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x.06a [concrete = constants.%complete_type.9a8] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -673,10 +673,10 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %C => constants.%C.025 -// CHECK:STDOUT: %C.elem => constants.%C.elem.a68 -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.2bb -// CHECK:STDOUT: %complete_type.loc9_1.2 => constants.%complete_type.fa5 +// CHECK:STDOUT: %C => constants.%C.249 +// CHECK:STDOUT: %C.elem => constants.%C.elem.6fe +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.06a +// CHECK:STDOUT: %complete_type.loc9_1.2 => constants.%complete_type.9a8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_import_extend_adapt_specific_type.carbon @@ -692,60 +692,60 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %struct_type.x.0c5: type = struct_type {.x: %T} [symbolic] // CHECK:STDOUT: %complete_type.735: = complete_type_witness %struct_type.x.0c5 [symbolic] -// CHECK:STDOUT: %C.f19: type = class_type @C, @C(%T) [symbolic] -// CHECK:STDOUT: %C.elem.a43: type = unbound_element_type %C.f19, %T [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.elem.e58: type = unbound_element_type %C.1f9, %T [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %C.e72: type = class_type @C, @C(%i32) [concrete] -// CHECK:STDOUT: %struct_type.x.740: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.9ec: = complete_type_witness %struct_type.x.740 [concrete] -// CHECK:STDOUT: %C.elem.5c5: type = unbound_element_type %C.e72, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c59: type = pattern_type %Adapter [concrete] -// CHECK:STDOUT: %.46a: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.ec3: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %C.4e8: type = class_type @C, @C(%i32) [concrete] +// CHECK:STDOUT: %struct_type.x.375: type = struct_type {.x: %i32} [concrete] +// CHECK:STDOUT: %complete_type.75b: = complete_type_witness %struct_type.x.375 [concrete] +// CHECK:STDOUT: %C.elem.505: type = unbound_element_type %C.4e8, %i32 [concrete] +// CHECK:STDOUT: %pattern_type.479: type = pattern_type %Adapter [concrete] +// CHECK:STDOUT: %.6c9: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.c62: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %ImportedAccess.type: type = fn_type @ImportedAccess [concrete] // CHECK:STDOUT: %ImportedAccess: %ImportedAccess.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C = import_ref Main//extend_adapt_specific_type_library, C, unloaded // CHECK:STDOUT: %Main.Adapter: type = import_ref Main//extend_adapt_specific_type_library, Adapter, loaded [concrete = constants.%Adapter] -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .Int = %Core.Int // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.7e3: = import_ref Main//extend_adapt_specific_type_library, loc9_1, loaded [symbolic = @C.%complete_type (constants.%complete_type.735)] -// CHECK:STDOUT: %Main.import_ref.38a = import_ref Main//extend_adapt_specific_type_library, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.c5d: @C.%C.elem (%C.elem.a43) = import_ref Main//extend_adapt_specific_type_library, loc8_8, loaded [concrete = %.062] +// CHECK:STDOUT: %Main.import_ref.6a5 = import_ref Main//extend_adapt_specific_type_library, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.6d1: @C.%C.elem (%C.elem.e58) = import_ref Main//extend_adapt_specific_type_library, loc8_8, loaded [concrete = %.1f5] // CHECK:STDOUT: %Main.import_ref.b3b: type = import_ref Main//extend_adapt_specific_type_library, loc7_10, loaded [symbolic = @C.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.bc4: = import_ref Main//extend_adapt_specific_type_library, loc13_1, loaded [concrete = constants.%complete_type.9ec] -// CHECK:STDOUT: %Main.import_ref.d90 = import_ref Main//extend_adapt_specific_type_library, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.2e2d92.2: type = import_ref Main//extend_adapt_specific_type_library, loc12_21, loaded [concrete = constants.%C.e72] +// CHECK:STDOUT: %Main.import_ref.018: = import_ref Main//extend_adapt_specific_type_library, loc13_1, loaded [concrete = constants.%complete_type.75b] +// CHECK:STDOUT: %Main.import_ref.796 = import_ref Main//extend_adapt_specific_type_library, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.784492.2: type = import_ref Main//extend_adapt_specific_type_library, loc12_21, loaded [concrete = constants.%C.4e8] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %.062: @C.%C.elem (%C.elem.a43) = field_decl x, element0 [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %.1f5: @C.%C.elem (%C.elem.e58) = field_decl x, element0 [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .C = imports.%Main.C // CHECK:STDOUT: .Adapter = imports.%Main.Adapter -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .ImportedAccess = %ImportedAccess.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %ImportedAccess.decl: %ImportedAccess.type = fn_decl @ImportedAccess [concrete = constants.%ImportedAccess] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c59 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c59 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.ec3 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.ec3 = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.479 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.479 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.c62 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.c62 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6: Core.Form = init_form %i32 [concrete = constants.%.46a] +// CHECK:STDOUT: %.loc6: Core.Form = init_form %i32 [concrete = constants.%.6c9] // CHECK:STDOUT: %a.param: %Adapter = value_param call_param0 // CHECK:STDOUT: %Adapter.ref: type = name_ref Adapter, imports.%Main.Adapter [concrete = constants.%Adapter] // CHECK:STDOUT: %a: %Adapter = value_binding a, %a.param @@ -755,12 +755,12 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Adapter [from "extend_adapt_specific_type_library.carbon"] { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.bc4 +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.018 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.d90 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.796 // CHECK:STDOUT: .x = -// CHECK:STDOUT: extend imports.%Main.import_ref.2e2d92.2 +// CHECK:STDOUT: extend imports.%Main.import_ref.784492.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @C(imports.%Main.import_ref.b3b: type) [from "extend_adapt_specific_type_library.carbon"] { @@ -768,8 +768,8 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.f19)] -// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %T [symbolic = %C.elem (constants.%C.elem.a43)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.1f9)] +// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %T [symbolic = %C.elem (constants.%C.elem.e58)] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: @C.%T (%T)} [symbolic = %struct_type.x (constants.%struct_type.x.0c5)] // CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.x [symbolic = %complete_type (constants.%complete_type.735)] // CHECK:STDOUT: @@ -777,16 +777,16 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.7e3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.38a -// CHECK:STDOUT: .x = imports.%Main.import_ref.c5d +// CHECK:STDOUT: .Self = imports.%Main.import_ref.6a5 +// CHECK:STDOUT: .x = imports.%Main.import_ref.6d1 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ImportedAccess(%a.param: %Adapter) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %Adapter = name_ref a, %a -// CHECK:STDOUT: %x.ref: %C.elem.5c5 = name_ref x, imports.%Main.import_ref.c5d [concrete = imports.%.062] -// CHECK:STDOUT: %.loc15_11.1: %C.e72 = converted %a.ref, [concrete = ] +// CHECK:STDOUT: %x.ref: %C.elem.505 = name_ref x, imports.%Main.import_ref.6d1 [concrete = imports.%.1f5] +// CHECK:STDOUT: %.loc15_11.1: %C.4e8 = converted %a.ref, [concrete = ] // CHECK:STDOUT: %.loc15_11.2: %i32 = class_element_access , element0 [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -800,10 +800,10 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %C => constants.%C.e72 -// CHECK:STDOUT: %C.elem => constants.%C.elem.5c5 -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.740 -// CHECK:STDOUT: %complete_type => constants.%complete_type.9ec +// CHECK:STDOUT: %C => constants.%C.4e8 +// CHECK:STDOUT: %C.elem => constants.%C.elem.505 +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.375 +// CHECK:STDOUT: %complete_type => constants.%complete_type.75b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- adapt_generic_type.carbon @@ -815,7 +815,7 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Adapter.type: type = generic_class_type @Adapter [concrete] // CHECK:STDOUT: %Adapter.generic: %Adapter.type = struct_value () [concrete] -// CHECK:STDOUT: %Adapter.fc9: type = class_type @Adapter, @Adapter(%T.67d) [symbolic] +// CHECK:STDOUT: %Adapter.aec: type = class_type @Adapter, @Adapter(%T.67d) [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67d [symbolic] // CHECK:STDOUT: %complete_type.1aa: = complete_type_witness %T.67d [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] @@ -823,25 +823,25 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %Adapter.316: type = class_type @Adapter, @Adapter(%i32) [concrete] -// CHECK:STDOUT: %pattern_type.011: type = pattern_type %Adapter.316 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Adapter.d4a: type = class_type @Adapter, @Adapter(%i32) [concrete] +// CHECK:STDOUT: %pattern_type.fc9b: type = pattern_type %Adapter.d4a [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Convert.type: type = fn_type @Convert [concrete] // CHECK:STDOUT: %Convert: %Convert.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %complete_type.634: = complete_type_witness %i32 [concrete] +// CHECK:STDOUT: %complete_type.c90: = complete_type_witness %i32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -853,8 +853,8 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -874,20 +874,20 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %T.loc4_16.2: type = symbolic_binding T, 0 [symbolic = %T.loc4_16.1 (constants.%T.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: %Convert.decl: %Convert.type = fn_decl @Convert [concrete = constants.%Convert] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.011 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.011 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc8_32 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.fc9b = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.fc9b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc8_32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc8_32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8_32: Core.Form = init_form %i32.loc8_32 [concrete = constants.%.70c] -// CHECK:STDOUT: %a.param: %Adapter.316 = value_param call_param0 -// CHECK:STDOUT: %.loc8_26: type = splice_block %Adapter [concrete = constants.%Adapter.316] { +// CHECK:STDOUT: %.loc8_32: Core.Form = init_form %i32.loc8_32 [concrete = constants.%.7ea] +// CHECK:STDOUT: %a.param: %Adapter.d4a = value_param call_param0 +// CHECK:STDOUT: %.loc8_26: type = splice_block %Adapter [concrete = constants.%Adapter.d4a] { // CHECK:STDOUT: %Adapter.ref: %Adapter.type = name_ref Adapter, file.%Adapter.decl [concrete = constants.%Adapter.generic] // CHECK:STDOUT: %i32.loc8_23: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Adapter: type = class_type @Adapter, @Adapter(constants.%i32) [concrete = constants.%Adapter.316] +// CHECK:STDOUT: %Adapter: type = class_type @Adapter, @Adapter(constants.%i32) [concrete = constants.%Adapter.d4a] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %Adapter.316 = value_binding a, %a.param +// CHECK:STDOUT: %a: %Adapter.d4a = value_binding a, %a.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -907,18 +907,18 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: complete_type_witness = %complete_type.loc6_1.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Adapter.fc9 +// CHECK:STDOUT: .Self = constants.%Adapter.aec // CHECK:STDOUT: .T = // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Convert(%a.param: %Adapter.316) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @Convert(%a.param: %Adapter.d4a) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %Adapter.316 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %Adapter.d4a = name_ref a, %a // CHECK:STDOUT: %i32.loc9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc9_12.1: %i32 = as_compatible %a.ref // CHECK:STDOUT: %.loc9_12.2: %i32 = converted %a.ref, %.loc9_12.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc9_12.1: = bound_method %.loc9_12.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc9_12.2: = bound_method %.loc9_12.2, %specific_fn @@ -935,7 +935,7 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %complete_type.loc6_1.2 => constants.%complete_type.634 +// CHECK:STDOUT: %complete_type.loc6_1.2 => constants.%complete_type.c90 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_adapt_generic_type.carbon @@ -951,34 +951,34 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %Adapter.d3c: type = class_type @Adapter, @Adapter(%i32) [concrete] -// CHECK:STDOUT: %pattern_type.9f4: type = pattern_type %Adapter.d3c [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Adapter.d4a: type = class_type @Adapter, @Adapter(%i32) [concrete] +// CHECK:STDOUT: %pattern_type.fc9b: type = pattern_type %Adapter.d4a [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %ImportedConvert.type: type = fn_type @ImportedConvert [concrete] // CHECK:STDOUT: %ImportedConvert: %ImportedConvert.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %complete_type.634: = complete_type_witness %i32 [concrete] +// CHECK:STDOUT: %complete_type.c90: = complete_type_witness %i32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %i32 [concrete] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n [concrete] -// CHECK:STDOUT: %Adapter.5e2: type = class_type @Adapter, @Adapter(%C) [concrete] -// CHECK:STDOUT: %pattern_type.aca: type = pattern_type %Adapter.5e2 [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n [concrete] +// CHECK:STDOUT: %Adapter.557: type = class_type @Adapter, @Adapter(%C) [concrete] +// CHECK:STDOUT: %pattern_type.432: type = pattern_type %Adapter.557 [concrete] // CHECK:STDOUT: %ImportedConvertLocal.type: type = fn_type @ImportedConvertLocal [concrete] // CHECK:STDOUT: %ImportedConvertLocal: %ImportedConvertLocal.type = struct_value () [concrete] -// CHECK:STDOUT: %complete_type.0da: = complete_type_witness %C [concrete] +// CHECK:STDOUT: %complete_type.02c: = complete_type_witness %C [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -991,12 +991,12 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.80d: = import_ref Main//adapt_generic_type, loc6_1, loaded [symbolic = @Adapter.%complete_type (constants.%complete_type.1aa)] -// CHECK:STDOUT: %Main.import_ref.7c1 = import_ref Main//adapt_generic_type, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.e2a = import_ref Main//adapt_generic_type, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Main.import_ref.b3b: type = import_ref Main//adapt_generic_type, loc4_16, loaded [symbolic = @Adapter.%T (constants.%T.67d)] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1011,39 +1011,39 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %ImportedConvert.decl: %ImportedConvert.type = fn_decl @ImportedConvert [concrete = constants.%ImportedConvert] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.9f4 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.9f4 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc6_40 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.fc9b = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.fc9b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc6_40 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc6_40: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6_40: Core.Form = init_form %i32.loc6_40 [concrete = constants.%.70c] -// CHECK:STDOUT: %a.param: %Adapter.d3c = value_param call_param0 -// CHECK:STDOUT: %.loc6_34: type = splice_block %Adapter [concrete = constants.%Adapter.d3c] { +// CHECK:STDOUT: %.loc6_40: Core.Form = init_form %i32.loc6_40 [concrete = constants.%.7ea] +// CHECK:STDOUT: %a.param: %Adapter.d4a = value_param call_param0 +// CHECK:STDOUT: %.loc6_34: type = splice_block %Adapter [concrete = constants.%Adapter.d4a] { // CHECK:STDOUT: %Adapter.ref: %Adapter.type = name_ref Adapter, imports.%Main.Adapter [concrete = constants.%Adapter.generic] // CHECK:STDOUT: %i32.loc6_31: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Adapter: type = class_type @Adapter, @Adapter(constants.%i32) [concrete = constants.%Adapter.d3c] +// CHECK:STDOUT: %Adapter: type = class_type @Adapter, @Adapter(constants.%i32) [concrete = constants.%Adapter.d4a] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %Adapter.d3c = value_binding a, %a.param +// CHECK:STDOUT: %a: %Adapter.d4a = value_binding a, %a.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %ImportedConvertLocal.decl: %ImportedConvertLocal.type = fn_decl @ImportedConvertLocal [concrete = constants.%ImportedConvertLocal] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.aca = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.aca = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.432 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.432 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc14_43: Core.Form = init_form %i32 [concrete = constants.%.70c] -// CHECK:STDOUT: %a.param: %Adapter.5e2 = value_param call_param0 -// CHECK:STDOUT: %.loc14_37: type = splice_block %Adapter [concrete = constants.%Adapter.5e2] { +// CHECK:STDOUT: %.loc14_43: Core.Form = init_form %i32 [concrete = constants.%.7ea] +// CHECK:STDOUT: %a.param: %Adapter.557 = value_param call_param0 +// CHECK:STDOUT: %.loc14_37: type = splice_block %Adapter [concrete = constants.%Adapter.557] { // CHECK:STDOUT: %Adapter.ref: %Adapter.type = name_ref Adapter, imports.%Main.Adapter [concrete = constants.%Adapter.generic] // CHECK:STDOUT: %C.ref.loc14: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %Adapter: type = class_type @Adapter, @Adapter(constants.%C) [concrete = constants.%Adapter.5e2] +// CHECK:STDOUT: %Adapter: type = class_type @Adapter, @Adapter(constants.%C) [concrete = constants.%Adapter.557] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %Adapter.5e2 = value_binding a, %a.param +// CHECK:STDOUT: %a: %Adapter.557 = value_binding a, %a.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -1060,13 +1060,13 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.80d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.7c1 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e2a // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C { // CHECK:STDOUT: %.loc11: %C.elem = field_decl n, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.059] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.edf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1074,13 +1074,13 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: .n = %.loc11 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @ImportedConvert(%a.param: %Adapter.d3c) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @ImportedConvert(%a.param: %Adapter.d4a) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %Adapter.d3c = name_ref a, %a +// CHECK:STDOUT: %a.ref: %Adapter.d4a = name_ref a, %a // CHECK:STDOUT: %i32.loc7: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc7_12.1: %i32 = as_compatible %a.ref // CHECK:STDOUT: %.loc7_12.2: %i32 = converted %a.ref, %.loc7_12.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc7_12.1: = bound_method %.loc7_12.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc7_12.2: = bound_method %.loc7_12.2, %specific_fn @@ -1088,16 +1088,16 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @ImportedConvertLocal(%a.param: %Adapter.5e2) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @ImportedConvertLocal(%a.param: %Adapter.557) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %Adapter.5e2 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %Adapter.557 = name_ref a, %a // CHECK:STDOUT: %C.ref.loc15: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc15_13.1: %C = as_compatible %a.ref // CHECK:STDOUT: %.loc15_13.2: %C = converted %a.ref, %.loc15_13.1 // CHECK:STDOUT: %n.ref: %C.elem = name_ref n, @C.%.loc11 [concrete = @C.%.loc11] // CHECK:STDOUT: %.loc15_18.1: ref %i32 = class_element_access %.loc15_13.2, element0 // CHECK:STDOUT: %.loc15_18.2: %i32 = acquire_value %.loc15_18.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc15_18.1: = bound_method %.loc15_18.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc15_18.2: = bound_method %.loc15_18.2, %specific_fn @@ -1114,14 +1114,14 @@ fn ImportedConvertLocal(a: Adapter(C)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %complete_type => constants.%complete_type.634 +// CHECK:STDOUT: %complete_type => constants.%complete_type.c90 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Adapter(constants.%C) { // CHECK:STDOUT: %T => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.059 -// CHECK:STDOUT: %complete_type => constants.%complete_type.0da +// CHECK:STDOUT: %require_complete => constants.%complete_type.edf +// CHECK:STDOUT: %complete_type => constants.%complete_type.02c // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/base_is_generic.carbon b/toolchain/check/testdata/class/generic/base_is_generic.carbon index 6d2eefc4245d..4d38a6558149 100644 --- a/toolchain/check/testdata/class/generic/base_is_generic.carbon +++ b/toolchain/check/testdata/class/generic/base_is_generic.carbon @@ -98,9 +98,9 @@ fn H() { // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Base.type: type = generic_class_type @Base [concrete] // CHECK:STDOUT: %Base.generic: %Base.type = struct_value () [concrete] -// CHECK:STDOUT: %Base.492: type = class_type @Base, @Base(%T.67d) [symbolic] +// CHECK:STDOUT: %Base.0fc: type = class_type @Base, @Base(%T.67d) [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67d [symbolic] -// CHECK:STDOUT: %Base.elem.aed: type = unbound_element_type %Base.492, %T.67d [symbolic] +// CHECK:STDOUT: %Base.elem.c41: type = unbound_element_type %Base.0fc, %T.67d [symbolic] // CHECK:STDOUT: %struct_type.x.0c5: type = struct_type {.x: %T.67d} [symbolic] // CHECK:STDOUT: %complete_type.735: = complete_type_witness %struct_type.x.0c5 [symbolic] // CHECK:STDOUT: %Param: type = class_type @Param [concrete] @@ -109,32 +109,32 @@ fn H() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Param.elem: type = unbound_element_type %Param, %i32 [concrete] // CHECK:STDOUT: %struct_type.y: type = struct_type {.y: %i32} [concrete] -// CHECK:STDOUT: %complete_type.67c: = complete_type_witness %struct_type.y [concrete] +// CHECK:STDOUT: %complete_type.d92: = complete_type_witness %struct_type.y [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] -// CHECK:STDOUT: %Base.c9b: type = class_type @Base, @Base(%Param) [concrete] -// CHECK:STDOUT: %Base.elem.e24: type = unbound_element_type %Base.c9b, %Param [concrete] -// CHECK:STDOUT: %struct_type.x.9fe: type = struct_type {.x: %Param} [concrete] -// CHECK:STDOUT: %complete_type.159: = complete_type_witness %struct_type.x.9fe [concrete] -// CHECK:STDOUT: %Derived.elem: type = unbound_element_type %Derived, %Base.c9b [concrete] -// CHECK:STDOUT: %struct_type.base.9f3: type = struct_type {.base: %Base.c9b} [concrete] -// CHECK:STDOUT: %complete_type.7ff: = complete_type_witness %struct_type.base.9f3 [concrete] -// CHECK:STDOUT: %pattern_type.8ad: type = pattern_type %Derived [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %Base.247: type = class_type @Base, @Base(%Param) [concrete] +// CHECK:STDOUT: %Base.elem.3c5: type = unbound_element_type %Base.247, %Param [concrete] +// CHECK:STDOUT: %struct_type.x.81c: type = struct_type {.x: %Param} [concrete] +// CHECK:STDOUT: %complete_type.a8b: = complete_type_witness %struct_type.x.81c [concrete] +// CHECK:STDOUT: %Derived.elem: type = unbound_element_type %Derived, %Base.247 [concrete] +// CHECK:STDOUT: %struct_type.base.496: type = struct_type {.base: %Base.247} [concrete] +// CHECK:STDOUT: %complete_type.cd1: = complete_type_witness %struct_type.base.496 [concrete] +// CHECK:STDOUT: %pattern_type.cd3: type = pattern_type %Derived [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %DoubleFieldAccess.type: type = fn_type @DoubleFieldAccess [concrete] // CHECK:STDOUT: %DoubleFieldAccess: %DoubleFieldAccess.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -146,8 +146,8 @@ fn H() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -171,13 +171,13 @@ fn H() { // CHECK:STDOUT: %Param.decl: type = class_decl @Param [concrete = constants.%Param] {} {} // CHECK:STDOUT: %Derived.decl: type = class_decl @Derived [concrete = constants.%Derived] {} {} // CHECK:STDOUT: %DoubleFieldAccess.decl: %DoubleFieldAccess.type = fn_decl @DoubleFieldAccess [concrete = constants.%DoubleFieldAccess] { -// CHECK:STDOUT: %d.param_patt: %pattern_type.8ad = value_param_pattern [concrete] -// CHECK:STDOUT: %d.patt: %pattern_type.8ad = at_binding_pattern d, %d.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %d.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.cd3 = at_binding_pattern d, %d.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %d.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] // CHECK:STDOUT: %d: %Derived = value_binding d, %d.param @@ -191,18 +191,18 @@ fn H() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.loc4_18.1 [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %Base: type = class_type @Base, @Base(%T.loc4_18.1) [symbolic = %Base (constants.%Base.492)] -// CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %T.loc4_18.1 [symbolic = %Base.elem (constants.%Base.elem.aed)] +// CHECK:STDOUT: %Base: type = class_type @Base, @Base(%T.loc4_18.1) [symbolic = %Base (constants.%Base.0fc)] +// CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %T.loc4_18.1 [symbolic = %Base.elem (constants.%Base.elem.c41)] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: @Base.%T.loc4_18.1 (%T.67d)} [symbolic = %struct_type.x (constants.%struct_type.x.0c5)] // CHECK:STDOUT: %complete_type.loc6_1.2: = complete_type_witness %struct_type.x [symbolic = %complete_type.loc6_1.2 (constants.%complete_type.735)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %.loc5: @Base.%Base.elem (%Base.elem.aed) = field_decl x, element0 [concrete] +// CHECK:STDOUT: %.loc5: @Base.%Base.elem (%Base.elem.c41) = field_decl x, element0 [concrete] // CHECK:STDOUT: %complete_type.loc6_1.1: = complete_type_witness constants.%struct_type.x.0c5 [symbolic = %complete_type.loc6_1.2 (constants.%complete_type.735)] // CHECK:STDOUT: complete_type_witness = %complete_type.loc6_1.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Base.492 +// CHECK:STDOUT: .Self = constants.%Base.0fc // CHECK:STDOUT: .T = // CHECK:STDOUT: .x = %.loc5 // CHECK:STDOUT: } @@ -210,7 +210,7 @@ fn H() { // CHECK:STDOUT: // CHECK:STDOUT: class @Param { // CHECK:STDOUT: %.loc9: %Param.elem = field_decl y, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.y [concrete = constants.%complete_type.67c] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.y [concrete = constants.%complete_type.d92] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -221,9 +221,9 @@ fn H() { // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: %Base.ref: %Base.type = name_ref Base, file.%Base.decl [concrete = constants.%Base.generic] // CHECK:STDOUT: %Param.ref: type = name_ref Param, file.%Param.decl [concrete = constants.%Param] -// CHECK:STDOUT: %Base: type = class_type @Base, @Base(constants.%Param) [concrete = constants.%Base.c9b] +// CHECK:STDOUT: %Base: type = class_type @Base, @Base(constants.%Param) [concrete = constants.%Base.247] // CHECK:STDOUT: %.loc13: %Derived.elem = base_decl %Base, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.9f3 [concrete = constants.%complete_type.7ff] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.496 [concrete = constants.%complete_type.cd1] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -238,14 +238,14 @@ fn H() { // CHECK:STDOUT: fn @DoubleFieldAccess(%d.param: %Derived) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %d.ref: %Derived = name_ref d, %d -// CHECK:STDOUT: %x.ref: %Base.elem.e24 = name_ref x, @Base.%.loc5 [concrete = @Base.%.loc5] -// CHECK:STDOUT: %.loc17_11.1: ref %Base.c9b = class_element_access %d.ref, element0 -// CHECK:STDOUT: %.loc17_11.2: ref %Base.c9b = converted %d.ref, %.loc17_11.1 +// CHECK:STDOUT: %x.ref: %Base.elem.3c5 = name_ref x, @Base.%.loc5 [concrete = @Base.%.loc5] +// CHECK:STDOUT: %.loc17_11.1: ref %Base.247 = class_element_access %d.ref, element0 +// CHECK:STDOUT: %.loc17_11.2: ref %Base.247 = converted %d.ref, %.loc17_11.1 // CHECK:STDOUT: %.loc17_11.3: ref %Param = class_element_access %.loc17_11.2, element0 // CHECK:STDOUT: %y.ref: %Param.elem = name_ref y, @Param.%.loc9 [concrete = @Param.%.loc9] // CHECK:STDOUT: %.loc17_13.1: ref %i32 = class_element_access %.loc17_11.3, element0 // CHECK:STDOUT: %.loc17_13.2: %i32 = acquire_value %.loc17_13.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc17_13.1: = bound_method %.loc17_13.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc17_13.2: = bound_method %.loc17_13.2, %specific_fn @@ -261,11 +261,11 @@ fn H() { // CHECK:STDOUT: %T.loc4_18.1 => constants.%Param // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.67c -// CHECK:STDOUT: %Base => constants.%Base.c9b -// CHECK:STDOUT: %Base.elem => constants.%Base.elem.e24 -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.9fe -// CHECK:STDOUT: %complete_type.loc6_1.2 => constants.%complete_type.159 +// CHECK:STDOUT: %require_complete => constants.%complete_type.d92 +// CHECK:STDOUT: %Base => constants.%Base.247 +// CHECK:STDOUT: %Base.elem => constants.%Base.elem.3c5 +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.81c +// CHECK:STDOUT: %complete_type.loc6_1.2 => constants.%complete_type.a8b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import.carbon @@ -279,35 +279,35 @@ fn H() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.y: type = struct_type {.y: %i32} [concrete] -// CHECK:STDOUT: %complete_type.558: = complete_type_witness %struct_type.y [concrete] +// CHECK:STDOUT: %complete_type.689: = complete_type_witness %struct_type.y [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %struct_type.x.0c5: type = struct_type {.x: %T.67d} [symbolic] // CHECK:STDOUT: %complete_type.735: = complete_type_witness %struct_type.x.0c5 [symbolic] -// CHECK:STDOUT: %Base.e15: type = class_type @Base, @Base(%T.67d) [symbolic] -// CHECK:STDOUT: %Base.elem.69f: type = unbound_element_type %Base.e15, %T.67d [symbolic] +// CHECK:STDOUT: %Base.0fc: type = class_type @Base, @Base(%T.67d) [symbolic] +// CHECK:STDOUT: %Base.elem.c41: type = unbound_element_type %Base.0fc, %T.67d [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67d [symbolic] -// CHECK:STDOUT: %Base.125: type = class_type @Base, @Base(%Param) [concrete] -// CHECK:STDOUT: %struct_type.x.b59: type = struct_type {.x: %Param} [concrete] -// CHECK:STDOUT: %complete_type.5cf: = complete_type_witness %struct_type.x.b59 [concrete] -// CHECK:STDOUT: %Base.elem.482: type = unbound_element_type %Base.125, %Param [concrete] -// CHECK:STDOUT: %struct_type.base.30c: type = struct_type {.base: %Base.125} [concrete] -// CHECK:STDOUT: %complete_type.25a: = complete_type_witness %struct_type.base.30c [concrete] -// CHECK:STDOUT: %pattern_type.84c: type = pattern_type %Derived [concrete] -// CHECK:STDOUT: %.46a: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.ec3: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Base.247: type = class_type @Base, @Base(%Param) [concrete] +// CHECK:STDOUT: %struct_type.x.81c: type = struct_type {.x: %Param} [concrete] +// CHECK:STDOUT: %complete_type.a8b: = complete_type_witness %struct_type.x.81c [concrete] +// CHECK:STDOUT: %Base.elem.3c5: type = unbound_element_type %Base.247, %Param [concrete] +// CHECK:STDOUT: %struct_type.base.496: type = struct_type {.base: %Base.247} [concrete] +// CHECK:STDOUT: %complete_type.cd1: = complete_type_witness %struct_type.base.496 [concrete] +// CHECK:STDOUT: %pattern_type.cd3: type = pattern_type %Derived [concrete] +// CHECK:STDOUT: %.6c9: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.c62: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %ImportedDoubleFieldAccess.type: type = fn_type @ImportedDoubleFieldAccess [concrete] // CHECK:STDOUT: %ImportedDoubleFieldAccess: %ImportedDoubleFieldAccess.type = struct_value () [concrete] // CHECK:STDOUT: %Param.elem: type = unbound_element_type %Param, %i32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.c59: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.fb0: %Int.as.Copy.impl.Op.type.c59 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.c36: = impl_witness imports.%Copy.impl_witness_table.03a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.e20: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.123: %Int.as.Copy.impl.Op.type.e20 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.c36) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.56d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.cf6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.56d, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.123, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.947: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.c83: %Int.as.Copy.impl.Op.type.947 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.7e7: = impl_witness imports.%Copy.impl_witness_table.53f, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.c58: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.59c: %Int.as.Copy.impl.Op.type.c58 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.7e7) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.fae: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.b11: type = fn_type_with_self_type %Copy.WithSelf.Op.type.fae, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.59c, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -315,29 +315,29 @@ fn H() { // CHECK:STDOUT: %Main.Param = import_ref Main//extend_generic_base, Param, unloaded // CHECK:STDOUT: %Main.Derived: type = import_ref Main//extend_generic_base, Derived, loaded [concrete = constants.%Derived] // CHECK:STDOUT: %Main.DoubleFieldAccess = import_ref Main//extend_generic_base, DoubleFieldAccess, unloaded -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .Int = %Core.Int // CHECK:STDOUT: .Copy = %Core.Copy // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.7a7: = import_ref Main//extend_generic_base, loc10_1, loaded [concrete = constants.%complete_type.558] -// CHECK:STDOUT: %Main.import_ref.7b0 = import_ref Main//extend_generic_base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.95a: %Param.elem = import_ref Main//extend_generic_base, loc9_8, loaded [concrete = %.4f0] +// CHECK:STDOUT: %Main.import_ref.8aa: = import_ref Main//extend_generic_base, loc10_1, loaded [concrete = constants.%complete_type.689] +// CHECK:STDOUT: %Main.import_ref.3c6 = import_ref Main//extend_generic_base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.87f: %Param.elem = import_ref Main//extend_generic_base, loc9_8, loaded [concrete = %.8ab] // CHECK:STDOUT: %Main.import_ref.7e3: = import_ref Main//extend_generic_base, loc6_1, loaded [symbolic = @Base.%complete_type (constants.%complete_type.735)] -// CHECK:STDOUT: %Main.import_ref.8a6 = import_ref Main//extend_generic_base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.d26: @Base.%Base.elem (%Base.elem.69f) = import_ref Main//extend_generic_base, loc5_8, loaded [concrete = %.831] +// CHECK:STDOUT: %Main.import_ref.50e = import_ref Main//extend_generic_base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.1ef: @Base.%Base.elem (%Base.elem.c41) = import_ref Main//extend_generic_base, loc5_8, loaded [concrete = %.ae1] // CHECK:STDOUT: %Main.import_ref.b3b: type = import_ref Main//extend_generic_base, loc4_18, loaded [symbolic = @Base.%T (constants.%T.67d)] -// CHECK:STDOUT: %Main.import_ref.b3f: = import_ref Main//extend_generic_base, loc14_1, loaded [concrete = constants.%complete_type.25a] -// CHECK:STDOUT: %Main.import_ref.71e = import_ref Main//extend_generic_base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.42b = import_ref Main//extend_generic_base, loc13_27, unloaded -// CHECK:STDOUT: %Main.import_ref.d09220.2: type = import_ref Main//extend_generic_base, loc13_26, loaded [concrete = constants.%Base.125] +// CHECK:STDOUT: %Main.import_ref.a49: = import_ref Main//extend_generic_base, loc14_1, loaded [concrete = constants.%complete_type.cd1] +// CHECK:STDOUT: %Main.import_ref.b11 = import_ref Main//extend_generic_base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.cde = import_ref Main//extend_generic_base, loc13_27, unloaded +// CHECK:STDOUT: %Main.import_ref.2f0a35.2: type = import_ref Main//extend_generic_base, loc13_26, loaded [concrete = constants.%Base.247] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %.831: @Base.%Base.elem (%Base.elem.69f) = field_decl x, element0 [concrete] -// CHECK:STDOUT: %.4f0: %Param.elem = field_decl y, element0 [concrete] +// CHECK:STDOUT: %.ae1: @Base.%Base.elem (%Base.elem.c41) = field_decl x, element0 [concrete] +// CHECK:STDOUT: %.8ab: %Param.elem = field_decl y, element0 [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.8e5: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.c59) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.fb0)] -// CHECK:STDOUT: %Copy.impl_witness_table.03a = impl_witness_table (%Core.import_ref.8e5), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.3f2: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.947) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c83)] +// CHECK:STDOUT: %Copy.impl_witness_table.53f = impl_witness_table (%Core.import_ref.3f2), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -346,19 +346,19 @@ fn H() { // CHECK:STDOUT: .Param = imports.%Main.Param // CHECK:STDOUT: .Derived = imports.%Main.Derived // CHECK:STDOUT: .DoubleFieldAccess = imports.%Main.DoubleFieldAccess -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .ImportedDoubleFieldAccess = %ImportedDoubleFieldAccess.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %ImportedDoubleFieldAccess.decl: %ImportedDoubleFieldAccess.type = fn_decl @ImportedDoubleFieldAccess [concrete = constants.%ImportedDoubleFieldAccess] { -// CHECK:STDOUT: %d.param_patt: %pattern_type.84c = value_param_pattern [concrete] -// CHECK:STDOUT: %d.patt: %pattern_type.84c = at_binding_pattern d, %d.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.ec3 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.ec3 = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %d.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.cd3 = at_binding_pattern d, %d.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.c62 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.c62 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6: Core.Form = init_form %i32 [concrete = constants.%.46a] +// CHECK:STDOUT: %.loc6: Core.Form = init_form %i32 [concrete = constants.%.6c9] // CHECK:STDOUT: %d.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, imports.%Main.Derived [concrete = constants.%Derived] // CHECK:STDOUT: %d: %Derived = value_binding d, %d.param @@ -368,21 +368,21 @@ fn H() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Derived [from "extend_generic_base.carbon"] { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.b3f +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.a49 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.71e -// CHECK:STDOUT: .base = imports.%Main.import_ref.42b +// CHECK:STDOUT: .Self = imports.%Main.import_ref.b11 +// CHECK:STDOUT: .base = imports.%Main.import_ref.cde // CHECK:STDOUT: .x = -// CHECK:STDOUT: extend imports.%Main.import_ref.d09220.2 +// CHECK:STDOUT: extend imports.%Main.import_ref.2f0a35.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Param [from "extend_generic_base.carbon"] { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.7a7 +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8aa // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.7b0 -// CHECK:STDOUT: .y = imports.%Main.import_ref.95a +// CHECK:STDOUT: .Self = imports.%Main.import_ref.3c6 +// CHECK:STDOUT: .y = imports.%Main.import_ref.87f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @Base(imports.%Main.import_ref.b3b: type) [from "extend_generic_base.carbon"] { @@ -390,8 +390,8 @@ fn H() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %Base: type = class_type @Base, @Base(%T) [symbolic = %Base (constants.%Base.e15)] -// CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %T [symbolic = %Base.elem (constants.%Base.elem.69f)] +// CHECK:STDOUT: %Base: type = class_type @Base, @Base(%T) [symbolic = %Base (constants.%Base.0fc)] +// CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %T [symbolic = %Base.elem (constants.%Base.elem.c41)] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: @Base.%T (%T.67d)} [symbolic = %struct_type.x (constants.%struct_type.x.0c5)] // CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.x [symbolic = %complete_type (constants.%complete_type.735)] // CHECK:STDOUT: @@ -399,22 +399,22 @@ fn H() { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.7e3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.8a6 -// CHECK:STDOUT: .x = imports.%Main.import_ref.d26 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.50e +// CHECK:STDOUT: .x = imports.%Main.import_ref.1ef // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ImportedDoubleFieldAccess(%d.param: %Derived) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %d.ref: %Derived = name_ref d, %d -// CHECK:STDOUT: %x.ref: %Base.elem.482 = name_ref x, imports.%Main.import_ref.d26 [concrete = imports.%.831] -// CHECK:STDOUT: %.loc7_11.1: ref %Base.125 = class_element_access %d.ref, element0 -// CHECK:STDOUT: %.loc7_11.2: ref %Base.125 = converted %d.ref, %.loc7_11.1 +// CHECK:STDOUT: %x.ref: %Base.elem.3c5 = name_ref x, imports.%Main.import_ref.1ef [concrete = imports.%.ae1] +// CHECK:STDOUT: %.loc7_11.1: ref %Base.247 = class_element_access %d.ref, element0 +// CHECK:STDOUT: %.loc7_11.2: ref %Base.247 = converted %d.ref, %.loc7_11.1 // CHECK:STDOUT: %.loc7_11.3: ref %Param = class_element_access %.loc7_11.2, element0 -// CHECK:STDOUT: %y.ref: %Param.elem = name_ref y, imports.%Main.import_ref.95a [concrete = imports.%.4f0] +// CHECK:STDOUT: %y.ref: %Param.elem = name_ref y, imports.%Main.import_ref.87f [concrete = imports.%.8ab] // CHECK:STDOUT: %.loc7_13.1: ref %i32 = class_element_access %.loc7_11.3, element0 // CHECK:STDOUT: %.loc7_13.2: %i32 = acquire_value %.loc7_13.1 -// CHECK:STDOUT: %impl.elem0: %.cf6 = impl_witness_access constants.%Copy.impl_witness.c36, element0 [concrete = constants.%Int.as.Copy.impl.Op.123] +// CHECK:STDOUT: %impl.elem0: %.b11 = impl_witness_access constants.%Copy.impl_witness.7e7, element0 [concrete = constants.%Int.as.Copy.impl.Op.59c] // CHECK:STDOUT: %bound_method.loc7_13.1: = bound_method %.loc7_13.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %.loc7_13.2, %specific_fn @@ -430,11 +430,11 @@ fn H() { // CHECK:STDOUT: %T => constants.%Param // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.558 -// CHECK:STDOUT: %Base => constants.%Base.125 -// CHECK:STDOUT: %Base.elem => constants.%Base.elem.482 -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.b59 -// CHECK:STDOUT: %complete_type => constants.%complete_type.5cf +// CHECK:STDOUT: %require_complete => constants.%complete_type.689 +// CHECK:STDOUT: %Base => constants.%Base.247 +// CHECK:STDOUT: %Base.elem => constants.%Base.elem.3c5 +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.81c +// CHECK:STDOUT: %complete_type => constants.%complete_type.a8b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_extend_symbolic_base.carbon @@ -446,7 +446,7 @@ fn H() { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.ed6: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] // CHECK:STDOUT: %require_complete: = require_complete_type %T [symbolic] // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %X.G.type: type = fn_type @X.G [concrete] @@ -455,7 +455,7 @@ fn H() { // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %C.ef1: type = class_type @C, @C(%X) [concrete] +// CHECK:STDOUT: %C.7b5: type = class_type @C, @C(%X) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -499,7 +499,7 @@ fn H() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.ed6 +// CHECK:STDOUT: .Self = constants.%C.1f9 // CHECK:STDOUT: .T = // CHECK:STDOUT: .base = %.loc9 // CHECK:STDOUT: .G = @@ -526,7 +526,7 @@ fn H() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%X) [concrete = constants.%C.ef1] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%X) [concrete = constants.%C.7b5] // CHECK:STDOUT: %G.ref: = name_ref G, [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -551,26 +551,26 @@ fn H() { // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %X.type: type = generic_class_type @X [concrete] // CHECK:STDOUT: %X.generic: %X.type = struct_value () [concrete] -// CHECK:STDOUT: %X.62286f.1: type = class_type @X, @X(%U) [symbolic] +// CHECK:STDOUT: %X.029fe2.1: type = class_type @X, @X(%U) [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %U [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %U [symbolic] -// CHECK:STDOUT: %X.G.type.46140a.1: type = fn_type @X.G, @X(%U) [symbolic] -// CHECK:STDOUT: %X.G.362b6d.1: %X.G.type.46140a.1 = struct_value () [symbolic] +// CHECK:STDOUT: %X.G.type.ad5676.1: type = fn_type @X.G, @X(%U) [symbolic] +// CHECK:STDOUT: %X.G.ae862d.1: %X.G.type.ad5676.1 = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %U [symbolic] -// CHECK:STDOUT: %X.G.specific_fn.400: = specific_function %X.G.362b6d.1, @X.G(%U) [symbolic] +// CHECK:STDOUT: %X.G.specific_fn.771: = specific_function %X.G.ae862d.1, @X.G(%U) [symbolic] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.832: type = class_type @C, @C(%T) [symbolic] -// CHECK:STDOUT: %X.62286f.2: type = class_type @X, @X(%T) [symbolic] -// CHECK:STDOUT: %X.G.type.46140a.2: type = fn_type @X.G, @X(%T) [symbolic] -// CHECK:STDOUT: %X.G.362b6d.2: %X.G.type.46140a.2 = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.aef: = require_complete_type %X.62286f.2 [symbolic] -// CHECK:STDOUT: %C.elem.d5a: type = unbound_element_type %C.832, %X.62286f.2 [symbolic] -// CHECK:STDOUT: %struct_type.base.b01: type = struct_type {.base: %X.62286f.2} [symbolic] -// CHECK:STDOUT: %complete_type.aee: = complete_type_witness %struct_type.base.b01 [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %X.029fe2.2: type = class_type @X, @X(%T) [symbolic] +// CHECK:STDOUT: %X.G.type.ad5676.2: type = fn_type @X.G, @X(%T) [symbolic] +// CHECK:STDOUT: %X.G.ae862d.2: %X.G.type.ad5676.2 = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete.84d: = require_complete_type %X.029fe2.2 [symbolic] +// CHECK:STDOUT: %C.elem.7b3: type = unbound_element_type %C.1f9, %X.029fe2.2 [symbolic] +// CHECK:STDOUT: %struct_type.base.e67: type = struct_type {.base: %X.029fe2.2} [symbolic] +// CHECK:STDOUT: %complete_type.ac6: = complete_type_witness %struct_type.base.e67 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] @@ -579,16 +579,16 @@ fn H() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %C.8d4: type = class_type @C, @C(%i32) [concrete] -// CHECK:STDOUT: %X.28b: type = class_type @X, @X(%i32) [concrete] -// CHECK:STDOUT: %X.G.type.1cd: type = fn_type @X.G, @X(%i32) [concrete] -// CHECK:STDOUT: %X.G.29c: %X.G.type.1cd = struct_value () [concrete] -// CHECK:STDOUT: %C.elem.a69: type = unbound_element_type %C.8d4, %X.28b [concrete] -// CHECK:STDOUT: %struct_type.base.cdb: type = struct_type {.base: %X.28b} [concrete] -// CHECK:STDOUT: %complete_type.c50: = complete_type_witness %struct_type.base.cdb [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %X.G.specific_fn.d29: = specific_function %X.G.29c, @X.G(%i32) [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %C.249: type = class_type @C, @C(%i32) [concrete] +// CHECK:STDOUT: %X.9ec: type = class_type @X, @X(%i32) [concrete] +// CHECK:STDOUT: %X.G.type.461: type = fn_type @X.G, @X(%i32) [concrete] +// CHECK:STDOUT: %X.G.e0a: %X.G.type.461 = struct_value () [concrete] +// CHECK:STDOUT: %C.elem.bdd: type = unbound_element_type %C.249, %X.9ec [concrete] +// CHECK:STDOUT: %struct_type.base.f49: type = struct_type {.base: %X.9ec} [concrete] +// CHECK:STDOUT: %complete_type.54c: = complete_type_witness %struct_type.base.f49 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %X.G.specific_fn.2a6: = specific_function %X.G.e0a, @X.G(%i32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -633,11 +633,11 @@ fn H() { // CHECK:STDOUT: %U.loc4_15.1: type = symbolic_binding U, 0 [symbolic = %U.loc4_15.1 (constants.%U)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %X.G.type: type = fn_type @X.G, @X(%U.loc4_15.1) [symbolic = %X.G.type (constants.%X.G.type.46140a.1)] -// CHECK:STDOUT: %X.G: @X.%X.G.type (%X.G.type.46140a.1) = struct_value () [symbolic = %X.G (constants.%X.G.362b6d.1)] +// CHECK:STDOUT: %X.G.type: type = fn_type @X.G, @X(%U.loc4_15.1) [symbolic = %X.G.type (constants.%X.G.type.ad5676.1)] +// CHECK:STDOUT: %X.G: @X.%X.G.type (%X.G.type.ad5676.1) = struct_value () [symbolic = %X.G (constants.%X.G.ae862d.1)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %X.G.decl: @X.%X.G.type (%X.G.type.46140a.1) = fn_decl @X.G [symbolic = @X.%X.G (constants.%X.G.362b6d.1)] { +// CHECK:STDOUT: %X.G.decl: @X.%X.G.type (%X.G.type.ad5676.1) = fn_decl @X.G [symbolic = @X.%X.G (constants.%X.G.ae862d.1)] { // CHECK:STDOUT: %return.param_patt: @X.G.%pattern_type (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @X.G.%pattern_type (%pattern_type.51d) = return_slot_pattern %return.param_patt, %U.ref [concrete] // CHECK:STDOUT: } { @@ -650,7 +650,7 @@ fn H() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%X.62286f.1 +// CHECK:STDOUT: .Self = constants.%X.029fe2.1 // CHECK:STDOUT: .U = // CHECK:STDOUT: .G = %X.G.decl // CHECK:STDOUT: } @@ -660,23 +660,23 @@ fn H() { // CHECK:STDOUT: %T.loc8_10.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_10.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %X.loc9_19.2: type = class_type @X, @X(%T.loc8_10.1) [symbolic = %X.loc9_19.2 (constants.%X.62286f.2)] -// CHECK:STDOUT: %require_complete: = require_complete_type %X.loc9_19.2 [symbolic = %require_complete (constants.%require_complete.aef)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T.loc8_10.1) [symbolic = %C (constants.%C.832)] -// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %X.loc9_19.2 [symbolic = %C.elem (constants.%C.elem.d5a)] -// CHECK:STDOUT: %struct_type.base: type = struct_type {.base: @C.%X.loc9_19.2 (%X.62286f.2)} [symbolic = %struct_type.base (constants.%struct_type.base.b01)] -// CHECK:STDOUT: %complete_type.loc10_1.2: = complete_type_witness %struct_type.base [symbolic = %complete_type.loc10_1.2 (constants.%complete_type.aee)] +// CHECK:STDOUT: %X.loc9_19.2: type = class_type @X, @X(%T.loc8_10.1) [symbolic = %X.loc9_19.2 (constants.%X.029fe2.2)] +// CHECK:STDOUT: %require_complete: = require_complete_type %X.loc9_19.2 [symbolic = %require_complete (constants.%require_complete.84d)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T.loc8_10.1) [symbolic = %C (constants.%C.1f9)] +// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %X.loc9_19.2 [symbolic = %C.elem (constants.%C.elem.7b3)] +// CHECK:STDOUT: %struct_type.base: type = struct_type {.base: @C.%X.loc9_19.2 (%X.029fe2.2)} [symbolic = %struct_type.base (constants.%struct_type.base.e67)] +// CHECK:STDOUT: %complete_type.loc10_1.2: = complete_type_witness %struct_type.base [symbolic = %complete_type.loc10_1.2 (constants.%complete_type.ac6)] // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: %X.ref: %X.type = name_ref X, file.%X.decl [concrete = constants.%X.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc8_10.2 [symbolic = %T.loc8_10.1 (constants.%T)] -// CHECK:STDOUT: %X.loc9_19.1: type = class_type @X, @X(constants.%T) [symbolic = %X.loc9_19.2 (constants.%X.62286f.2)] -// CHECK:STDOUT: %.loc9: @C.%C.elem (%C.elem.d5a) = base_decl %X.loc9_19.1, element0 [concrete] -// CHECK:STDOUT: %complete_type.loc10_1.1: = complete_type_witness constants.%struct_type.base.b01 [symbolic = %complete_type.loc10_1.2 (constants.%complete_type.aee)] +// CHECK:STDOUT: %X.loc9_19.1: type = class_type @X, @X(constants.%T) [symbolic = %X.loc9_19.2 (constants.%X.029fe2.2)] +// CHECK:STDOUT: %.loc9: @C.%C.elem (%C.elem.7b3) = base_decl %X.loc9_19.1, element0 [concrete] +// CHECK:STDOUT: %complete_type.loc10_1.1: = complete_type_witness constants.%struct_type.base.e67 [symbolic = %complete_type.loc10_1.2 (constants.%complete_type.ac6)] // CHECK:STDOUT: complete_type_witness = %complete_type.loc10_1.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.832 +// CHECK:STDOUT: .Self = constants.%C.1f9 // CHECK:STDOUT: .X = // CHECK:STDOUT: .T = // CHECK:STDOUT: .base = %.loc9 @@ -692,15 +692,15 @@ fn H() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %U [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %X.G.type: type = fn_type @X.G, @X(%U) [symbolic = %X.G.type (constants.%X.G.type.46140a.1)] -// CHECK:STDOUT: %X.G: @X.G.%X.G.type (%X.G.type.46140a.1) = struct_value () [symbolic = %X.G (constants.%X.G.362b6d.1)] -// CHECK:STDOUT: %X.G.specific_fn.loc5_24.2: = specific_function %X.G, @X.G(%U) [symbolic = %X.G.specific_fn.loc5_24.2 (constants.%X.G.specific_fn.400)] +// CHECK:STDOUT: %X.G.type: type = fn_type @X.G, @X(%U) [symbolic = %X.G.type (constants.%X.G.type.ad5676.1)] +// CHECK:STDOUT: %X.G: @X.G.%X.G.type (%X.G.type.ad5676.1) = struct_value () [symbolic = %X.G (constants.%X.G.ae862d.1)] +// CHECK:STDOUT: %X.G.specific_fn.loc5_24.2: = specific_function %X.G, @X.G(%U) [symbolic = %X.G.specific_fn.loc5_24.2 (constants.%X.G.specific_fn.771)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @X.G.%U (%U) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %.loc5_24: @X.G.%X.G.type (%X.G.type.46140a.1) = specific_constant @X.%X.G.decl, @X(constants.%U) [symbolic = %X.G (constants.%X.G.362b6d.1)] -// CHECK:STDOUT: %G.ref: @X.G.%X.G.type (%X.G.type.46140a.1) = name_ref G, %.loc5_24 [symbolic = %X.G (constants.%X.G.362b6d.1)] -// CHECK:STDOUT: %X.G.specific_fn.loc5_24.1: = specific_function %G.ref, @X.G(constants.%U) [symbolic = %X.G.specific_fn.loc5_24.2 (constants.%X.G.specific_fn.400)] +// CHECK:STDOUT: %.loc5_24: @X.G.%X.G.type (%X.G.type.ad5676.1) = specific_constant @X.%X.G.decl, @X(constants.%U) [symbolic = %X.G (constants.%X.G.ae862d.1)] +// CHECK:STDOUT: %G.ref: @X.G.%X.G.type (%X.G.type.ad5676.1) = name_ref G, %.loc5_24 [symbolic = %X.G (constants.%X.G.ae862d.1)] +// CHECK:STDOUT: %X.G.specific_fn.loc5_24.1: = specific_function %G.ref, @X.G(constants.%U) [symbolic = %X.G.specific_fn.loc5_24.2 (constants.%X.G.specific_fn.771)] // CHECK:STDOUT: %.loc5_13.1: ref @X.G.%U (%U) = splice_block %return.param {} // CHECK:STDOUT: %X.G.call: init @X.G.%U (%U) to %.loc5_13.1 = call %X.G.specific_fn.loc5_24.1() // CHECK:STDOUT: return %X.G.call to %return.param @@ -710,14 +710,14 @@ fn H() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %i.patt: %pattern_type.c6b = value_binding_pattern i [concrete] +// CHECK:STDOUT: %i.patt: %pattern_type.104 = value_binding_pattern i [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %i32.loc13_25: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.8d4] -// CHECK:STDOUT: %.loc13_29: %X.G.type.1cd = specific_constant @X.%X.G.decl, @X(constants.%i32) [concrete = constants.%X.G.29c] -// CHECK:STDOUT: %G.ref: %X.G.type.1cd = name_ref G, %.loc13_29 [concrete = constants.%X.G.29c] -// CHECK:STDOUT: %X.G.specific_fn: = specific_function %G.ref, @X.G(constants.%i32) [concrete = constants.%X.G.specific_fn.d29] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.249] +// CHECK:STDOUT: %.loc13_29: %X.G.type.461 = specific_constant @X.%X.G.decl, @X(constants.%i32) [concrete = constants.%X.G.e0a] +// CHECK:STDOUT: %G.ref: %X.G.type.461 = name_ref G, %.loc13_29 [concrete = constants.%X.G.e0a] +// CHECK:STDOUT: %X.G.specific_fn: = specific_function %G.ref, @X.G(constants.%i32) [concrete = constants.%X.G.specific_fn.2a6] // CHECK:STDOUT: %X.G.call: init %i32 = call %X.G.specific_fn() // CHECK:STDOUT: %i32.loc13_17: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc13_32.1: %i32 = value_of_initializer %X.G.call @@ -730,8 +730,8 @@ fn H() { // CHECK:STDOUT: %U.loc4_15.1 => constants.%U // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %X.G.type => constants.%X.G.type.46140a.1 -// CHECK:STDOUT: %X.G => constants.%X.G.362b6d.1 +// CHECK:STDOUT: %X.G.type => constants.%X.G.type.ad5676.1 +// CHECK:STDOUT: %X.G => constants.%X.G.ae862d.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X.G(constants.%U) { @@ -741,9 +741,9 @@ fn H() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete.944 -// CHECK:STDOUT: %X.G.type => constants.%X.G.type.46140a.1 -// CHECK:STDOUT: %X.G => constants.%X.G.362b6d.1 -// CHECK:STDOUT: %X.G.specific_fn.loc5_24.2 => constants.%X.G.specific_fn.400 +// CHECK:STDOUT: %X.G.type => constants.%X.G.type.ad5676.1 +// CHECK:STDOUT: %X.G => constants.%X.G.ae862d.1 +// CHECK:STDOUT: %X.G.specific_fn.loc5_24.2 => constants.%X.G.specific_fn.771 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { @@ -754,40 +754,40 @@ fn H() { // CHECK:STDOUT: %U.loc4_15.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %X.G.type => constants.%X.G.type.46140a.2 -// CHECK:STDOUT: %X.G => constants.%X.G.362b6d.2 +// CHECK:STDOUT: %X.G.type => constants.%X.G.type.ad5676.2 +// CHECK:STDOUT: %X.G => constants.%X.G.ae862d.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%i32) { // CHECK:STDOUT: %T.loc8_10.1 => constants.%i32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %X.loc9_19.2 => constants.%X.28b +// CHECK:STDOUT: %X.loc9_19.2 => constants.%X.9ec // CHECK:STDOUT: %require_complete => constants.%complete_type.357 -// CHECK:STDOUT: %C => constants.%C.8d4 -// CHECK:STDOUT: %C.elem => constants.%C.elem.a69 -// CHECK:STDOUT: %struct_type.base => constants.%struct_type.base.cdb -// CHECK:STDOUT: %complete_type.loc10_1.2 => constants.%complete_type.c50 +// CHECK:STDOUT: %C => constants.%C.249 +// CHECK:STDOUT: %C.elem => constants.%C.elem.bdd +// CHECK:STDOUT: %struct_type.base => constants.%struct_type.base.f49 +// CHECK:STDOUT: %complete_type.loc10_1.2 => constants.%complete_type.54c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X(constants.%i32) { // CHECK:STDOUT: %U.loc4_15.1 => constants.%i32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %X.G.type => constants.%X.G.type.1cd -// CHECK:STDOUT: %X.G => constants.%X.G.29c +// CHECK:STDOUT: %X.G.type => constants.%X.G.type.461 +// CHECK:STDOUT: %X.G => constants.%X.G.e0a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X.G(constants.%i32) { // CHECK:STDOUT: %U => constants.%i32 -// CHECK:STDOUT: %.loc5_13.2 => constants.%.70c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c6b +// CHECK:STDOUT: %.loc5_13.2 => constants.%.7ea +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.104 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %X.G.type => constants.%X.G.type.1cd -// CHECK:STDOUT: %X.G => constants.%X.G.29c -// CHECK:STDOUT: %X.G.specific_fn.loc5_24.2 => constants.%X.G.specific_fn.d29 +// CHECK:STDOUT: %X.G.type => constants.%X.G.type.461 +// CHECK:STDOUT: %X.G => constants.%X.G.e0a +// CHECK:STDOUT: %X.G.specific_fn.loc5_24.2 => constants.%X.G.specific_fn.2a6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_extend_generic_symbolic_base.carbon @@ -801,36 +801,36 @@ fn H() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %X.G.type.79a3cf.1: type = fn_type @X.G, @X(%U) [symbolic] -// CHECK:STDOUT: %X.G.5e08d7.1: %X.G.type.79a3cf.1 = struct_value () [symbolic] +// CHECK:STDOUT: %X.G.type.ad5676.1: type = fn_type @X.G, @X(%U) [symbolic] +// CHECK:STDOUT: %X.G.ae862d.1: %X.G.type.ad5676.1 = struct_value () [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %U [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %U [symbolic] -// CHECK:STDOUT: %X.G.specific_fn.1b6: = specific_function %X.G.5e08d7.1, @X.G(%U) [symbolic] +// CHECK:STDOUT: %X.G.specific_fn.771: = specific_function %X.G.ae862d.1, @X.G(%U) [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %U [symbolic] -// CHECK:STDOUT: %X.1c5772.2: type = class_type @X, @X(%T) [symbolic] -// CHECK:STDOUT: %X.G.type.79a3cf.2: type = fn_type @X.G, @X(%T) [symbolic] -// CHECK:STDOUT: %X.G.5e08d7.2: %X.G.type.79a3cf.2 = struct_value () [symbolic] -// CHECK:STDOUT: %C.1e1: type = class_type @C, @C(%T) [symbolic] -// CHECK:STDOUT: %C.elem.1e8: type = unbound_element_type %C.1e1, %X.1c5772.2 [symbolic] -// CHECK:STDOUT: %struct_type.base.d35: type = struct_type {.base: %X.1c5772.2} [symbolic] -// CHECK:STDOUT: %complete_type.bf1: = complete_type_witness %struct_type.base.d35 [symbolic] -// CHECK:STDOUT: %require_complete.067: = require_complete_type %X.1c5772.2 [symbolic] -// CHECK:STDOUT: %C.709: type = class_type @C, @C(%i32) [concrete] -// CHECK:STDOUT: %X.e33: type = class_type @X, @X(%i32) [concrete] -// CHECK:STDOUT: %X.G.type.d26: type = fn_type @X.G, @X(%i32) [concrete] -// CHECK:STDOUT: %X.G.7d5: %X.G.type.d26 = struct_value () [concrete] -// CHECK:STDOUT: %C.elem.efb: type = unbound_element_type %C.709, %X.e33 [concrete] -// CHECK:STDOUT: %struct_type.base.c28: type = struct_type {.base: %X.e33} [concrete] -// CHECK:STDOUT: %complete_type.352: = complete_type_witness %struct_type.base.c28 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %X.G.specific_fn.c7c: = specific_function %X.G.7d5, @X.G(%i32) [concrete] +// CHECK:STDOUT: %X.029fe2.2: type = class_type @X, @X(%T) [symbolic] +// CHECK:STDOUT: %X.G.type.ad5676.2: type = fn_type @X.G, @X(%T) [symbolic] +// CHECK:STDOUT: %X.G.ae862d.2: %X.G.type.ad5676.2 = struct_value () [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.elem.7b3: type = unbound_element_type %C.1f9, %X.029fe2.2 [symbolic] +// CHECK:STDOUT: %struct_type.base.e67: type = struct_type {.base: %X.029fe2.2} [symbolic] +// CHECK:STDOUT: %complete_type.ac6: = complete_type_witness %struct_type.base.e67 [symbolic] +// CHECK:STDOUT: %require_complete.84d: = require_complete_type %X.029fe2.2 [symbolic] +// CHECK:STDOUT: %C.249: type = class_type @C, @C(%i32) [concrete] +// CHECK:STDOUT: %X.9ec: type = class_type @X, @X(%i32) [concrete] +// CHECK:STDOUT: %X.G.type.461: type = fn_type @X.G, @X(%i32) [concrete] +// CHECK:STDOUT: %X.G.e0a: %X.G.type.461 = struct_value () [concrete] +// CHECK:STDOUT: %C.elem.bdd: type = unbound_element_type %C.249, %X.9ec [concrete] +// CHECK:STDOUT: %struct_type.base.f49: type = struct_type {.base: %X.9ec} [concrete] +// CHECK:STDOUT: %complete_type.54c: = complete_type_witness %struct_type.base.f49 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %X.G.specific_fn.2a6: = specific_function %X.G.e0a, @X.G(%i32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -845,13 +845,13 @@ fn H() { // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Main.import_ref.b3bc94.1: type = import_ref Main//extend_generic_symbolic_base, loc4_15, loaded [symbolic = @X.%U (constants.%U)] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//extend_generic_symbolic_base, loc6_1, loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.d56 = import_ref Main//extend_generic_symbolic_base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.516: @X.%X.G.type (%X.G.type.79a3cf.1) = import_ref Main//extend_generic_symbolic_base, loc5_15, loaded [symbolic = @X.%X.G (constants.%X.G.5e08d7.1)] +// CHECK:STDOUT: %Main.import_ref.241 = import_ref Main//extend_generic_symbolic_base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.43d: @X.%X.G.type (%X.G.type.ad5676.1) = import_ref Main//extend_generic_symbolic_base, loc5_15, loaded [symbolic = @X.%X.G (constants.%X.G.ae862d.1)] // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//extend_generic_symbolic_base, loc4_15, loaded [symbolic = @X.%U (constants.%U)] -// CHECK:STDOUT: %Main.import_ref.d28: = import_ref Main//extend_generic_symbolic_base, loc10_1, loaded [symbolic = @C.%complete_type (constants.%complete_type.bf1)] -// CHECK:STDOUT: %Main.import_ref.940 = import_ref Main//extend_generic_symbolic_base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.a3f = import_ref Main//extend_generic_symbolic_base, loc9_20, unloaded -// CHECK:STDOUT: %Main.import_ref.82cd05.2: type = import_ref Main//extend_generic_symbolic_base, loc9_19, loaded [symbolic = @C.%X (constants.%X.1c5772.2)] +// CHECK:STDOUT: %Main.import_ref.248: = import_ref Main//extend_generic_symbolic_base, loc10_1, loaded [symbolic = @C.%complete_type (constants.%complete_type.ac6)] +// CHECK:STDOUT: %Main.import_ref.6a5 = import_ref Main//extend_generic_symbolic_base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.e6c = import_ref Main//extend_generic_symbolic_base, loc9_20, unloaded +// CHECK:STDOUT: %Main.import_ref.38f538.2: type = import_ref Main//extend_generic_symbolic_base, loc9_19, loaded [symbolic = @C.%X (constants.%X.029fe2.2)] // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//extend_generic_symbolic_base, loc8_10, loaded [symbolic = @C.%T (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -872,21 +872,21 @@ fn H() { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %X: type = class_type @X, @X(%T) [symbolic = %X (constants.%X.1c5772.2)] -// CHECK:STDOUT: %require_complete: = require_complete_type %X [symbolic = %require_complete (constants.%require_complete.067)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.1e1)] -// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %X [symbolic = %C.elem (constants.%C.elem.1e8)] -// CHECK:STDOUT: %struct_type.base: type = struct_type {.base: @C.%X (%X.1c5772.2)} [symbolic = %struct_type.base (constants.%struct_type.base.d35)] -// CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.base [symbolic = %complete_type (constants.%complete_type.bf1)] +// CHECK:STDOUT: %X: type = class_type @X, @X(%T) [symbolic = %X (constants.%X.029fe2.2)] +// CHECK:STDOUT: %require_complete: = require_complete_type %X [symbolic = %require_complete (constants.%require_complete.84d)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.1f9)] +// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %X [symbolic = %C.elem (constants.%C.elem.7b3)] +// CHECK:STDOUT: %struct_type.base: type = struct_type {.base: @C.%X (%X.029fe2.2)} [symbolic = %struct_type.base (constants.%struct_type.base.e67)] +// CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.base [symbolic = %complete_type (constants.%complete_type.ac6)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.d28 +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.248 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.940 -// CHECK:STDOUT: .base = imports.%Main.import_ref.a3f +// CHECK:STDOUT: .Self = imports.%Main.import_ref.6a5 +// CHECK:STDOUT: .base = imports.%Main.import_ref.e6c // CHECK:STDOUT: .G = -// CHECK:STDOUT: extend imports.%Main.import_ref.82cd05.2 +// CHECK:STDOUT: extend imports.%Main.import_ref.38f538.2 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -894,29 +894,29 @@ fn H() { // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic = %U (constants.%U)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %X.G.type: type = fn_type @X.G, @X(%U) [symbolic = %X.G.type (constants.%X.G.type.79a3cf.1)] -// CHECK:STDOUT: %X.G: @X.%X.G.type (%X.G.type.79a3cf.1) = struct_value () [symbolic = %X.G (constants.%X.G.5e08d7.1)] +// CHECK:STDOUT: %X.G.type: type = fn_type @X.G, @X(%U) [symbolic = %X.G.type (constants.%X.G.type.ad5676.1)] +// CHECK:STDOUT: %X.G: @X.%X.G.type (%X.G.type.ad5676.1) = struct_value () [symbolic = %X.G (constants.%X.G.ae862d.1)] // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.d56 -// CHECK:STDOUT: .G = imports.%Main.import_ref.516 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.241 +// CHECK:STDOUT: .G = imports.%Main.import_ref.43d // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %j.patt: %pattern_type.c6b = value_binding_pattern j [concrete] +// CHECK:STDOUT: %j.patt: %pattern_type.104 = value_binding_pattern j [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Main.C [concrete = constants.%C.generic] // CHECK:STDOUT: %i32.loc7_25: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.709] -// CHECK:STDOUT: %.loc7_29: %X.G.type.d26 = specific_constant imports.%Main.import_ref.516, @X(constants.%i32) [concrete = constants.%X.G.7d5] -// CHECK:STDOUT: %G.ref: %X.G.type.d26 = name_ref G, %.loc7_29 [concrete = constants.%X.G.7d5] -// CHECK:STDOUT: %X.G.specific_fn: = specific_function %G.ref, @X.G(constants.%i32) [concrete = constants.%X.G.specific_fn.c7c] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.249] +// CHECK:STDOUT: %.loc7_29: %X.G.type.461 = specific_constant imports.%Main.import_ref.43d, @X(constants.%i32) [concrete = constants.%X.G.e0a] +// CHECK:STDOUT: %G.ref: %X.G.type.461 = name_ref G, %.loc7_29 [concrete = constants.%X.G.e0a] +// CHECK:STDOUT: %X.G.specific_fn: = specific_function %G.ref, @X.G(constants.%i32) [concrete = constants.%X.G.specific_fn.2a6] // CHECK:STDOUT: %X.G.call: init %i32 = call %X.G.specific_fn() // CHECK:STDOUT: %i32.loc7_17: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc7_32.1: %i32 = value_of_initializer %X.G.call @@ -932,9 +932,9 @@ fn H() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %U [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %X.G.type: type = fn_type @X.G, @X(%U) [symbolic = %X.G.type (constants.%X.G.type.79a3cf.1)] -// CHECK:STDOUT: %X.G: @X.G.%X.G.type (%X.G.type.79a3cf.1) = struct_value () [symbolic = %X.G (constants.%X.G.5e08d7.1)] -// CHECK:STDOUT: %X.G.specific_fn: = specific_function %X.G, @X.G(%U) [symbolic = %X.G.specific_fn (constants.%X.G.specific_fn.1b6)] +// CHECK:STDOUT: %X.G.type: type = fn_type @X.G, @X(%U) [symbolic = %X.G.type (constants.%X.G.type.ad5676.1)] +// CHECK:STDOUT: %X.G: @X.G.%X.G.type (%X.G.type.ad5676.1) = struct_value () [symbolic = %X.G (constants.%X.G.ae862d.1)] +// CHECK:STDOUT: %X.G.specific_fn: = specific_function %X.G, @X.G(%U) [symbolic = %X.G.specific_fn (constants.%X.G.specific_fn.771)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -943,8 +943,8 @@ fn H() { // CHECK:STDOUT: %U => constants.%U // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %X.G.type => constants.%X.G.type.79a3cf.1 -// CHECK:STDOUT: %X.G => constants.%X.G.5e08d7.1 +// CHECK:STDOUT: %X.G.type => constants.%X.G.type.ad5676.1 +// CHECK:STDOUT: %X.G => constants.%X.G.ae862d.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X.G(constants.%U) { @@ -954,17 +954,17 @@ fn H() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete.944 -// CHECK:STDOUT: %X.G.type => constants.%X.G.type.79a3cf.1 -// CHECK:STDOUT: %X.G => constants.%X.G.5e08d7.1 -// CHECK:STDOUT: %X.G.specific_fn => constants.%X.G.specific_fn.1b6 +// CHECK:STDOUT: %X.G.type => constants.%X.G.type.ad5676.1 +// CHECK:STDOUT: %X.G => constants.%X.G.ae862d.1 +// CHECK:STDOUT: %X.G.specific_fn => constants.%X.G.specific_fn.771 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X(constants.%T) { // CHECK:STDOUT: %U => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %X.G.type => constants.%X.G.type.79a3cf.2 -// CHECK:STDOUT: %X.G => constants.%X.G.5e08d7.2 +// CHECK:STDOUT: %X.G.type => constants.%X.G.type.ad5676.2 +// CHECK:STDOUT: %X.G => constants.%X.G.ae862d.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { @@ -975,31 +975,31 @@ fn H() { // CHECK:STDOUT: %T => constants.%i32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %X => constants.%X.e33 +// CHECK:STDOUT: %X => constants.%X.9ec // CHECK:STDOUT: %require_complete => constants.%complete_type.357 -// CHECK:STDOUT: %C => constants.%C.709 -// CHECK:STDOUT: %C.elem => constants.%C.elem.efb -// CHECK:STDOUT: %struct_type.base => constants.%struct_type.base.c28 -// CHECK:STDOUT: %complete_type => constants.%complete_type.352 +// CHECK:STDOUT: %C => constants.%C.249 +// CHECK:STDOUT: %C.elem => constants.%C.elem.bdd +// CHECK:STDOUT: %struct_type.base => constants.%struct_type.base.f49 +// CHECK:STDOUT: %complete_type => constants.%complete_type.54c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X(constants.%i32) { // CHECK:STDOUT: %U => constants.%i32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %X.G.type => constants.%X.G.type.d26 -// CHECK:STDOUT: %X.G => constants.%X.G.7d5 +// CHECK:STDOUT: %X.G.type => constants.%X.G.type.461 +// CHECK:STDOUT: %X.G => constants.%X.G.e0a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X.G(constants.%i32) { // CHECK:STDOUT: %U => constants.%i32 -// CHECK:STDOUT: %.1 => constants.%.70c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c6b +// CHECK:STDOUT: %.1 => constants.%.7ea +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.104 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %X.G.type => constants.%X.G.type.d26 -// CHECK:STDOUT: %X.G => constants.%X.G.7d5 -// CHECK:STDOUT: %X.G.specific_fn => constants.%X.G.specific_fn.c7c +// CHECK:STDOUT: %X.G.type => constants.%X.G.type.461 +// CHECK:STDOUT: %X.G => constants.%X.G.e0a +// CHECK:STDOUT: %X.G.specific_fn => constants.%X.G.specific_fn.2a6 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/basic.carbon b/toolchain/check/testdata/class/generic/basic.carbon index c43c8763d74b..80a1c0934ef8 100644 --- a/toolchain/check/testdata/class/generic/basic.carbon +++ b/toolchain/check/testdata/class/generic/basic.carbon @@ -36,42 +36,42 @@ class Declaration(T:! type); // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %pattern_type.35b: type = pattern_type %Copy.type [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.b72: type = pattern_type %Copy.type [concrete] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Class.type: type = generic_class_type @Class [concrete] // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] -// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.228) [symbolic] -// CHECK:STDOUT: %pattern_type.b47: type = pattern_type %Class [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.228 [symbolic] -// CHECK:STDOUT: %ptr.432: type = ptr_type %T.as_type [symbolic] -// CHECK:STDOUT: %.812: Core.Form = init_form %ptr.432 [symbolic] -// CHECK:STDOUT: %pattern_type.c61: type = pattern_type %ptr.432 [symbolic] -// CHECK:STDOUT: %Class.GetAddr.type: type = fn_type @Class.GetAddr, @Class(%T.228) [symbolic] +// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.f49) [symbolic] +// CHECK:STDOUT: %pattern_type.16a: type = pattern_type %Class [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.f49 [symbolic] +// CHECK:STDOUT: %ptr.a3f: type = ptr_type %T.as_type [symbolic] +// CHECK:STDOUT: %.0e7: Core.Form = init_form %ptr.a3f [symbolic] +// CHECK:STDOUT: %pattern_type.eec: type = pattern_type %ptr.a3f [symbolic] +// CHECK:STDOUT: %Class.GetAddr.type: type = fn_type @Class.GetAddr, @Class(%T.f49) [symbolic] // CHECK:STDOUT: %Class.GetAddr: %Class.GetAddr.type = struct_value () [symbolic] -// CHECK:STDOUT: %.9ff809.2: Core.Form = init_form %T.as_type [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %Class.GetValue.type: type = fn_type @Class.GetValue, @Class(%T.228) [symbolic] +// CHECK:STDOUT: %.dedae6.2: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %Class.GetValue.type: type = fn_type @Class.GetValue, @Class(%T.f49) [symbolic] // CHECK:STDOUT: %Class.GetValue: %Class.GetValue.type = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.c28: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %require_complete.77e: = require_complete_type %T.as_type [symbolic] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type [symbolic] // CHECK:STDOUT: %struct_type.k: type = struct_type {.k: %T.as_type} [symbolic] // CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.k [symbolic] -// CHECK:STDOUT: %require_complete.478: = require_complete_type %Class [symbolic] -// CHECK:STDOUT: %require_complete.3c6: = require_complete_type %ptr.432 [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c49: = lookup_impl_witness %T.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.228) [symbolic] -// CHECK:STDOUT: %.12f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.2, %T.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbd: %.12f = impl_witness_access %Copy.lookup_impl_witness.c49, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f: = specific_impl_function %impl.elem0.cbd, @Copy.WithSelf.Op(%T.228) [symbolic] +// CHECK:STDOUT: %require_complete.28e: = require_complete_type %Class [symbolic] +// CHECK:STDOUT: %require_complete.040: = require_complete_type %ptr.a3f [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2dd: = lookup_impl_witness %T.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.f49) [symbolic] +// CHECK:STDOUT: %.e16: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.2, %T.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e: %.e16 = impl_witness_access %Copy.lookup_impl_witness.2dd, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ec: = specific_impl_function %impl.elem0.41e, @Copy.WithSelf.Op(%T.f49) [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] -// CHECK:STDOUT: %Copy.lookup_impl_witness.923: = lookup_impl_witness %ptr.432, @Copy [symbolic] -// CHECK:STDOUT: %.3dd: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type) [symbolic] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.432, (%Copy.lookup_impl_witness.923) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.6da: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] -// CHECK:STDOUT: %.a4a: type = fn_type_with_self_type %Copy.WithSelf.Op.type.6da, %Copy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.d87: %.a4a = impl_witness_access %Copy.lookup_impl_witness.923, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.728: = specific_impl_function %impl.elem0.d87, @Copy.WithSelf.Op(%Copy.facet) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.fd9: = lookup_impl_witness %ptr.a3f, @Copy [symbolic] +// CHECK:STDOUT: %.7ac: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type) [symbolic] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.a3f, (%Copy.lookup_impl_witness.fd9) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.4e8: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] +// CHECK:STDOUT: %.93e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.4e8, %Copy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.d58: %.93e = impl_witness_access %Copy.lookup_impl_witness.fd9, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.436: = specific_impl_function %impl.elem0.d58, @Copy.WithSelf.Op(%Copy.facet) [symbolic] // CHECK:STDOUT: %Declaration.type: type = generic_class_type @Declaration [concrete] // CHECK:STDOUT: %Declaration.generic: %Declaration.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -87,14 +87,14 @@ class Declaration(T:! type); // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %Class.decl: %Class.type = class_decl @Class [concrete = constants.%Class.generic] { -// CHECK:STDOUT: %T.patt: %pattern_type.35b = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.b72 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc5: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc5_14.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc5_14.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: } // CHECK:STDOUT: %Declaration.decl: %Declaration.type = class_decl @Declaration [concrete = constants.%Declaration.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] @@ -108,7 +108,7 @@ class Declaration(T:! type); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @Class(%T.loc5_14.2: %Copy.type) { -// CHECK:STDOUT: %T.loc5_14.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc5_14.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Class.GetAddr.type: type = fn_type @Class.GetAddr, @Class(%T.loc5_14.1) [symbolic = %Class.GetAddr.type (constants.%Class.GetAddr.type)] @@ -116,7 +116,7 @@ class Declaration(T:! type); // CHECK:STDOUT: %Class.GetValue.type: type = fn_type @Class.GetValue, @Class(%T.loc5_14.1) [symbolic = %Class.GetValue.type (constants.%Class.GetValue.type)] // CHECK:STDOUT: %Class.GetValue: @Class.%Class.GetValue.type (%Class.GetValue.type) = struct_value () [symbolic = %Class.GetValue (constants.%Class.GetValue)] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T.loc5_14.1 [symbolic = %T.as_type (constants.%T.as_type)] -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type [symbolic = %require_complete (constants.%require_complete.c28)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type [symbolic = %require_complete (constants.%require_complete.77e)] // CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.loc5_14.1) [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type [symbolic = %Class.elem (constants.%Class.elem)] // CHECK:STDOUT: %struct_type.k: type = struct_type {.k: @Class.%T.as_type (%T.as_type)} [symbolic = %struct_type.k (constants.%struct_type.k)] @@ -124,38 +124,38 @@ class Declaration(T:! type); // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: %Class.GetAddr.decl: @Class.%Class.GetAddr.type (%Class.GetAddr.type) = fn_decl @Class.GetAddr [symbolic = @Class.%Class.GetAddr (constants.%Class.GetAddr)] { -// CHECK:STDOUT: %self.param_patt: @Class.GetAddr.%pattern_type.loc6_22 (%pattern_type.b47) = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Class.GetAddr.%pattern_type.loc6_22 (%pattern_type.b47) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Class.GetAddr.%pattern_type.loc6_36 (%pattern_type.c61) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Class.GetAddr.%pattern_type.loc6_36 (%pattern_type.c61) = return_slot_pattern %return.param_patt, %ptr.loc6_36.2 [concrete] +// CHECK:STDOUT: %self.param_patt: @Class.GetAddr.%pattern_type.loc6_22 (%pattern_type.16a) = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Class.GetAddr.%pattern_type.loc6_22 (%pattern_type.16a) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Class.GetAddr.%pattern_type.loc6_36 (%pattern_type.eec) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Class.GetAddr.%pattern_type.loc6_36 (%pattern_type.eec) = return_slot_pattern %return.param_patt, %ptr.loc6_36.2 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T.ref: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc6_36.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc6_36.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc6_36.2: type = converted %T.ref, %T.as_type.loc6_36.2 [symbolic = %T.as_type.loc6_36.1 (constants.%T.as_type)] -// CHECK:STDOUT: %ptr.loc6_36.2: type = ptr_type %.loc6_36.2 [symbolic = %ptr.loc6_36.1 (constants.%ptr.432)] -// CHECK:STDOUT: %.loc6_36.3: Core.Form = init_form %ptr.loc6_36.2 [symbolic = %.loc6_36.1 (constants.%.812)] +// CHECK:STDOUT: %ptr.loc6_36.2: type = ptr_type %.loc6_36.2 [symbolic = %ptr.loc6_36.1 (constants.%ptr.a3f)] +// CHECK:STDOUT: %.loc6_36.3: Core.Form = init_form %ptr.loc6_36.2 [symbolic = %.loc6_36.1 (constants.%.0e7)] // CHECK:STDOUT: %self.param: ref @Class.GetAddr.%Class (%Class) = ref_param call_param0 // CHECK:STDOUT: %.loc6_24.1: type = splice_block %Self.ref [symbolic = %Class (constants.%Class)] { -// CHECK:STDOUT: %.loc6_24.2: type = specific_constant constants.%Class, @Class(constants.%T.228) [symbolic = %Class (constants.%Class)] +// CHECK:STDOUT: %.loc6_24.2: type = specific_constant constants.%Class, @Class(constants.%T.f49) [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: %Self.ref: type = name_ref Self, %.loc6_24.2 [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: } // CHECK:STDOUT: %self: ref @Class.GetAddr.%Class (%Class) = ref_binding self, %self.param -// CHECK:STDOUT: %return.param: ref @Class.GetAddr.%ptr.loc6_36.1 (%ptr.432) = out_param call_param1 -// CHECK:STDOUT: %return: ref @Class.GetAddr.%ptr.loc6_36.1 (%ptr.432) = return_slot %return.param +// CHECK:STDOUT: %return.param: ref @Class.GetAddr.%ptr.loc6_36.1 (%ptr.a3f) = out_param call_param1 +// CHECK:STDOUT: %return: ref @Class.GetAddr.%ptr.loc6_36.1 (%ptr.a3f) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Class.GetValue.decl: @Class.%Class.GetValue.type (%Class.GetValue.type) = fn_decl @Class.GetValue [symbolic = @Class.%Class.GetValue (constants.%Class.GetValue)] { -// CHECK:STDOUT: %self.param_patt: @Class.GetValue.%pattern_type.loc10_19 (%pattern_type.b47) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Class.GetValue.%pattern_type.loc10_19 (%pattern_type.b47) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Class.GetValue.%pattern_type.loc10_32 (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Class.GetValue.%pattern_type.loc10_32 (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc10_32.3 [concrete] +// CHECK:STDOUT: %self.param_patt: @Class.GetValue.%pattern_type.loc10_19 (%pattern_type.16a) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Class.GetValue.%pattern_type.loc10_19 (%pattern_type.16a) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Class.GetValue.%pattern_type.loc10_32 (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Class.GetValue.%pattern_type.loc10_32 (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc10_32.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T.ref: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc10_32.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc10_32.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc10_32.3: type = converted %T.ref, %T.as_type.loc10_32.2 [symbolic = %T.as_type.loc10_32.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc10_32.4: Core.Form = init_form %.loc10_32.3 [symbolic = %.loc10_32.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %.loc10_32.4: Core.Form = init_form %.loc10_32.3 [symbolic = %.loc10_32.2 (constants.%.dedae6.2)] // CHECK:STDOUT: %self.param: @Class.GetValue.%Class (%Class) = value_param call_param0 // CHECK:STDOUT: %.loc10_21.1: type = splice_block %Self.ref [symbolic = %Class (constants.%Class)] { -// CHECK:STDOUT: %.loc10_21.2: type = specific_constant constants.%Class, @Class(constants.%T.228) [symbolic = %Class (constants.%Class)] +// CHECK:STDOUT: %.loc10_21.2: type = specific_constant constants.%Class, @Class(constants.%T.f49) [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: %Self.ref: type = name_ref Self, %.loc10_21.2 [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: } // CHECK:STDOUT: %self: @Class.GetValue.%Class (%Class) = value_binding self, %self.param @@ -182,58 +182,58 @@ class Declaration(T:! type); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Class.GetAddr(@Class.%T.loc5_14.2: %Copy.type) { -// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T) [symbolic = %Class (constants.%Class)] -// CHECK:STDOUT: %pattern_type.loc6_22: type = pattern_type %Class [symbolic = %pattern_type.loc6_22 (constants.%pattern_type.b47)] +// CHECK:STDOUT: %pattern_type.loc6_22: type = pattern_type %Class [symbolic = %pattern_type.loc6_22 (constants.%pattern_type.16a)] // CHECK:STDOUT: %T.as_type.loc6_36.1: type = facet_access_type %T [symbolic = %T.as_type.loc6_36.1 (constants.%T.as_type)] -// CHECK:STDOUT: %ptr.loc6_36.1: type = ptr_type %T.as_type.loc6_36.1 [symbolic = %ptr.loc6_36.1 (constants.%ptr.432)] -// CHECK:STDOUT: %.loc6_36.1: Core.Form = init_form %ptr.loc6_36.1 [symbolic = %.loc6_36.1 (constants.%.812)] -// CHECK:STDOUT: %pattern_type.loc6_36: type = pattern_type %ptr.loc6_36.1 [symbolic = %pattern_type.loc6_36 (constants.%pattern_type.c61)] +// CHECK:STDOUT: %ptr.loc6_36.1: type = ptr_type %T.as_type.loc6_36.1 [symbolic = %ptr.loc6_36.1 (constants.%ptr.a3f)] +// CHECK:STDOUT: %.loc6_36.1: Core.Form = init_form %ptr.loc6_36.1 [symbolic = %.loc6_36.1 (constants.%.0e7)] +// CHECK:STDOUT: %pattern_type.loc6_36: type = pattern_type %ptr.loc6_36.1 [symbolic = %pattern_type.loc6_36 (constants.%pattern_type.eec)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc6_22: = require_complete_type %Class [symbolic = %require_complete.loc6_22 (constants.%require_complete.478)] -// CHECK:STDOUT: %require_complete.loc6_32: = require_complete_type %ptr.loc6_36.1 [symbolic = %require_complete.loc6_32 (constants.%require_complete.3c6)] +// CHECK:STDOUT: %require_complete.loc6_22: = require_complete_type %Class [symbolic = %require_complete.loc6_22 (constants.%require_complete.28e)] +// CHECK:STDOUT: %require_complete.loc6_32: = require_complete_type %ptr.loc6_36.1 [symbolic = %require_complete.loc6_32 (constants.%require_complete.040)] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type.loc6_36.1 [symbolic = %Class.elem (constants.%Class.elem)] -// CHECK:STDOUT: %.loc7_12.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type.loc6_36.1) [symbolic = %.loc7_12.1 (constants.%.3dd)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc6_36.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.923)] +// CHECK:STDOUT: %.loc7_12.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type.loc6_36.1) [symbolic = %.loc7_12.1 (constants.%.7ac)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc6_36.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.fd9)] // CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc6_36.1, (%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.6da)] -// CHECK:STDOUT: %.loc7_12.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc7_12.2 (constants.%.a4a)] -// CHECK:STDOUT: %impl.elem0.loc7_12.2: @Class.GetAddr.%.loc7_12.2 (%.a4a) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_12.2 (constants.%impl.elem0.d87)] -// CHECK:STDOUT: %specific_impl_fn.loc7_12.2: = specific_impl_function %impl.elem0.loc7_12.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc7_12.2 (constants.%specific_impl_fn.728)] +// 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.4e8)] +// CHECK:STDOUT: %.loc7_12.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc7_12.2 (constants.%.93e)] +// CHECK:STDOUT: %impl.elem0.loc7_12.2: @Class.GetAddr.%.loc7_12.2 (%.93e) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_12.2 (constants.%impl.elem0.d58)] +// CHECK:STDOUT: %specific_impl_fn.loc7_12.2: = specific_impl_function %impl.elem0.loc7_12.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc7_12.2 (constants.%specific_impl_fn.436)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: ref @Class.GetAddr.%Class (%Class)) -> out %return.param: @Class.GetAddr.%ptr.loc6_36.1 (%ptr.432) { +// CHECK:STDOUT: fn(%self.param: ref @Class.GetAddr.%Class (%Class)) -> out %return.param: @Class.GetAddr.%ptr.loc6_36.1 (%ptr.a3f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %self.ref: ref @Class.GetAddr.%Class (%Class) = name_ref self, %self // CHECK:STDOUT: %k.ref: @Class.GetAddr.%Class.elem (%Class.elem) = name_ref k, @Class.%.loc14 [concrete = @Class.%.loc14] // CHECK:STDOUT: %.loc7_17: ref @Class.GetAddr.%T.as_type.loc6_36.1 (%T.as_type) = class_element_access %self.ref, element0 -// CHECK:STDOUT: %addr: @Class.GetAddr.%ptr.loc6_36.1 (%ptr.432) = addr_of %.loc7_17 -// CHECK:STDOUT: %impl.elem0.loc7_12.1: @Class.GetAddr.%.loc7_12.2 (%.a4a) = impl_witness_access constants.%Copy.lookup_impl_witness.923, element0 [symbolic = %impl.elem0.loc7_12.2 (constants.%impl.elem0.d87)] +// CHECK:STDOUT: %addr: @Class.GetAddr.%ptr.loc6_36.1 (%ptr.a3f) = addr_of %.loc7_17 +// CHECK:STDOUT: %impl.elem0.loc7_12.1: @Class.GetAddr.%.loc7_12.2 (%.93e) = impl_witness_access constants.%Copy.lookup_impl_witness.fd9, element0 [symbolic = %impl.elem0.loc7_12.2 (constants.%impl.elem0.d58)] // CHECK:STDOUT: %bound_method.loc7_12.1: = bound_method %addr, %impl.elem0.loc7_12.1 -// CHECK:STDOUT: %specific_impl_fn.loc7_12.1: = specific_impl_function %impl.elem0.loc7_12.1, @Copy.WithSelf.Op(constants.%Copy.facet) [symbolic = %specific_impl_fn.loc7_12.2 (constants.%specific_impl_fn.728)] +// CHECK:STDOUT: %specific_impl_fn.loc7_12.1: = specific_impl_function %impl.elem0.loc7_12.1, @Copy.WithSelf.Op(constants.%Copy.facet) [symbolic = %specific_impl_fn.loc7_12.2 (constants.%specific_impl_fn.436)] // CHECK:STDOUT: %bound_method.loc7_12.2: = bound_method %addr, %specific_impl_fn.loc7_12.1 -// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.GetAddr.%ptr.loc6_36.1 (%ptr.432) = call %bound_method.loc7_12.2(%addr) +// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.GetAddr.%ptr.loc6_36.1 (%ptr.a3f) = call %bound_method.loc7_12.2(%addr) // CHECK:STDOUT: return %Copy.WithSelf.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Class.GetValue(@Class.%T.loc5_14.2: %Copy.type) { -// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T) [symbolic = %Class (constants.%Class)] -// CHECK:STDOUT: %pattern_type.loc10_19: type = pattern_type %Class [symbolic = %pattern_type.loc10_19 (constants.%pattern_type.b47)] +// CHECK:STDOUT: %pattern_type.loc10_19: type = pattern_type %Class [symbolic = %pattern_type.loc10_19 (constants.%pattern_type.16a)] // CHECK:STDOUT: %T.as_type.loc10_32.1: type = facet_access_type %T [symbolic = %T.as_type.loc10_32.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc10_32.2: Core.Form = init_form %T.as_type.loc10_32.1 [symbolic = %.loc10_32.2 (constants.%.9ff809.2)] -// CHECK:STDOUT: %pattern_type.loc10_32: type = pattern_type %T.as_type.loc10_32.1 [symbolic = %pattern_type.loc10_32 (constants.%pattern_type.4b69d0.2)] +// CHECK:STDOUT: %.loc10_32.2: Core.Form = init_form %T.as_type.loc10_32.1 [symbolic = %.loc10_32.2 (constants.%.dedae6.2)] +// CHECK:STDOUT: %pattern_type.loc10_32: type = pattern_type %T.as_type.loc10_32.1 [symbolic = %pattern_type.loc10_32 (constants.%pattern_type.c0fdca.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc10: = require_complete_type %Class [symbolic = %require_complete.loc10 (constants.%require_complete.478)] +// CHECK:STDOUT: %require_complete.loc10: = require_complete_type %Class [symbolic = %require_complete.loc10 (constants.%require_complete.28e)] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type.loc10_32.1 [symbolic = %Class.elem (constants.%Class.elem)] -// CHECK:STDOUT: %require_complete.loc11: = require_complete_type %T.as_type.loc10_32.1 [symbolic = %require_complete.loc11 (constants.%require_complete.c28)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc11_16.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T [symbolic = %.loc11_16.3 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc11_16.2: @Class.GetValue.%.loc11_16.3 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_16.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %specific_impl_fn.loc11_16.2: = specific_impl_function %impl.elem0.loc11_16.2, @Copy.WithSelf.Op(%T) [symbolic = %specific_impl_fn.loc11_16.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %require_complete.loc11: = require_complete_type %T.as_type.loc10_32.1 [symbolic = %require_complete.loc11 (constants.%require_complete.77e)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc11_16.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T [symbolic = %.loc11_16.3 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc11_16.2: @Class.GetValue.%.loc11_16.3 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_16.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %specific_impl_fn.loc11_16.2: = specific_impl_function %impl.elem0.loc11_16.2, @Copy.WithSelf.Op(%T) [symbolic = %specific_impl_fn.loc11_16.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @Class.GetValue.%Class (%Class)) -> out %return.param: @Class.GetValue.%T.as_type.loc10_32.1 (%T.as_type) { // CHECK:STDOUT: !entry: @@ -241,9 +241,9 @@ class Declaration(T:! type); // CHECK:STDOUT: %k.ref: @Class.GetValue.%Class.elem (%Class.elem) = name_ref k, @Class.%.loc14 [concrete = @Class.%.loc14] // CHECK:STDOUT: %.loc11_16.1: ref @Class.GetValue.%T.as_type.loc10_32.1 (%T.as_type) = class_element_access %self.ref, element0 // CHECK:STDOUT: %.loc11_16.2: @Class.GetValue.%T.as_type.loc10_32.1 (%T.as_type) = acquire_value %.loc11_16.1 -// CHECK:STDOUT: %impl.elem0.loc11_16.1: @Class.GetValue.%.loc11_16.3 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc11_16.2 (constants.%impl.elem0.cbd)] +// CHECK:STDOUT: %impl.elem0.loc11_16.1: @Class.GetValue.%.loc11_16.3 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc11_16.2 (constants.%impl.elem0.41e)] // CHECK:STDOUT: %bound_method.loc11_16.1: = bound_method %.loc11_16.2, %impl.elem0.loc11_16.1 -// CHECK:STDOUT: %specific_impl_fn.loc11_16.1: = specific_impl_function %impl.elem0.loc11_16.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc11_16.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %specific_impl_fn.loc11_16.1: = specific_impl_function %impl.elem0.loc11_16.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc11_16.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: %bound_method.loc11_16.2: = bound_method %.loc11_16.2, %specific_impl_fn.loc11_16.1 // CHECK:STDOUT: %.loc10_32.1: ref @Class.GetValue.%T.as_type.loc10_32.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.GetValue.%T.as_type.loc10_32.1 (%T.as_type) to %.loc10_32.1 = call %bound_method.loc11_16.2(%.loc11_16.2) @@ -251,8 +251,8 @@ class Declaration(T:! type); // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class(constants.%T.228) { -// CHECK:STDOUT: %T.loc5_14.1 => constants.%T.228 +// CHECK:STDOUT: specific @Class(constants.%T.f49) { +// CHECK:STDOUT: %T.loc5_14.1 => constants.%T.f49 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Class.GetAddr.type => constants.%Class.GetAddr.type @@ -260,30 +260,30 @@ class Declaration(T:! type); // CHECK:STDOUT: %Class.GetValue.type => constants.%Class.GetValue.type // CHECK:STDOUT: %Class.GetValue => constants.%Class.GetValue // CHECK:STDOUT: %T.as_type => constants.%T.as_type -// CHECK:STDOUT: %require_complete => constants.%require_complete.c28 +// CHECK:STDOUT: %require_complete => constants.%require_complete.77e // CHECK:STDOUT: %Class => constants.%Class // CHECK:STDOUT: %Class.elem => constants.%Class.elem // CHECK:STDOUT: %struct_type.k => constants.%struct_type.k // CHECK:STDOUT: %complete_type.loc15_1.2 => constants.%complete_type // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class.GetAddr(constants.%T.228) { -// CHECK:STDOUT: %T => constants.%T.228 +// CHECK:STDOUT: specific @Class.GetAddr(constants.%T.f49) { +// CHECK:STDOUT: %T => constants.%T.f49 // CHECK:STDOUT: %Class => constants.%Class -// CHECK:STDOUT: %pattern_type.loc6_22 => constants.%pattern_type.b47 +// CHECK:STDOUT: %pattern_type.loc6_22 => constants.%pattern_type.16a // CHECK:STDOUT: %T.as_type.loc6_36.1 => constants.%T.as_type -// CHECK:STDOUT: %ptr.loc6_36.1 => constants.%ptr.432 -// CHECK:STDOUT: %.loc6_36.1 => constants.%.812 -// CHECK:STDOUT: %pattern_type.loc6_36 => constants.%pattern_type.c61 +// CHECK:STDOUT: %ptr.loc6_36.1 => constants.%ptr.a3f +// CHECK:STDOUT: %.loc6_36.1 => constants.%.0e7 +// CHECK:STDOUT: %pattern_type.loc6_36 => constants.%pattern_type.eec // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class.GetValue(constants.%T.228) { -// CHECK:STDOUT: %T => constants.%T.228 +// CHECK:STDOUT: specific @Class.GetValue(constants.%T.f49) { +// CHECK:STDOUT: %T => constants.%T.f49 // CHECK:STDOUT: %Class => constants.%Class -// CHECK:STDOUT: %pattern_type.loc10_19 => constants.%pattern_type.b47 +// CHECK:STDOUT: %pattern_type.loc10_19 => constants.%pattern_type.16a // CHECK:STDOUT: %T.as_type.loc10_32.1 => constants.%T.as_type -// CHECK:STDOUT: %.loc10_32.2 => constants.%.9ff809.2 -// CHECK:STDOUT: %pattern_type.loc10_32 => constants.%pattern_type.4b69d0.2 +// CHECK:STDOUT: %.loc10_32.2 => constants.%.dedae6.2 +// CHECK:STDOUT: %pattern_type.loc10_32 => constants.%pattern_type.c0fdca.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Declaration(constants.%T.67d) { diff --git a/toolchain/check/testdata/class/generic/call.carbon b/toolchain/check/testdata/class/generic/call.carbon index 83b0d4b708e1..d83c7b4469c7 100644 --- a/toolchain/check/testdata/class/generic/call.carbon +++ b/toolchain/check/testdata/class/generic/call.carbon @@ -102,53 +102,53 @@ class Outer(T:! type) { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %N.cef: %i32 = symbolic_binding N, 1 [symbolic] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %N.96a: %i32 = symbolic_binding N, 1 [symbolic] // CHECK:STDOUT: %Class.type: type = generic_class_type @Class [concrete] // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] -// CHECK:STDOUT: %Class.c9b: type = class_type @Class, @Class(%T.67d, %N.cef) [symbolic] +// CHECK:STDOUT: %Class.3fe: type = class_type @Class, @Class(%T.67d, %N.96a) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] // CHECK:STDOUT: %int_5.64b: Core.IntLiteral = int_value 5 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.10b: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] -// CHECK:STDOUT: %Class.bb0: type = class_type @Class, @Class(%ptr.143, %int_5.c41) [concrete] -// CHECK:STDOUT: %pattern_type.dec: type = pattern_type %Class.bb0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e3e: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %Class.c83: type = class_type @Class, @Class(%ptr.847, %int_5.354) [concrete] +// CHECK:STDOUT: %pattern_type.0c0: type = pattern_type %Class.c83 [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.f27: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%Class.bb0) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.8e9: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class.bb0) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8ff: %T.as.DefaultOrUnformed.impl.Op.type.8e9 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.eea: %DefaultOrUnformed.type = facet_value %Class.bb0, (%DefaultOrUnformed.impl_witness.f27) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.198: = specific_function %T.as.DefaultOrUnformed.impl.Op.8ff, @T.as.DefaultOrUnformed.impl.Op(%Class.bb0) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.916: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%Class.c83) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.dbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class.c83) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.46b: %T.as.DefaultOrUnformed.impl.Op.type.dbe = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.377: %DefaultOrUnformed.type = facet_value %Class.c83, (%DefaultOrUnformed.impl_witness.916) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.9d0: = specific_function %T.as.DefaultOrUnformed.impl.Op.46b, @T.as.DefaultOrUnformed.impl.Op(%Class.c83) [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %Class.170: type = class_type @Class, @Class(%empty_tuple.type, %int_0.155) [concrete] -// CHECK:STDOUT: %pattern_type.62a: type = pattern_type %Class.170 [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.ea2: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%Class.170) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.087: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class.170) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.2de: %T.as.DefaultOrUnformed.impl.Op.type.087 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.507: %DefaultOrUnformed.type = facet_value %Class.170, (%DefaultOrUnformed.impl_witness.ea2) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.5ca: = specific_function %T.as.DefaultOrUnformed.impl.Op.2de, @T.as.DefaultOrUnformed.impl.Op(%Class.170) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Class.214: type = class_type @Class, @Class(%empty_tuple.type, %int_0.62d) [concrete] +// CHECK:STDOUT: %pattern_type.f93: type = pattern_type %Class.214 [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.358: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%Class.214) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.379: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class.214) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.11e: %T.as.DefaultOrUnformed.impl.Op.type.379 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.863: %DefaultOrUnformed.type = facet_value %Class.214, (%DefaultOrUnformed.impl_witness.358) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.30c: = specific_function %T.as.DefaultOrUnformed.impl.Op.11e, @T.as.DefaultOrUnformed.impl.Op(%Class.214) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -160,12 +160,12 @@ class Outer(T:! type) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -178,7 +178,7 @@ class Outer(T:! type) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: %Class.type = class_decl @Class [concrete = constants.%Class.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %N.patt: %pattern_type.c6b = symbolic_binding_pattern N, 1 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.104 = symbolic_binding_pattern N, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_17.1: type = splice_block %.loc4_17.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc4_14: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -189,53 +189,53 @@ class Outer(T:! type) { // CHECK:STDOUT: %.Self.loc4_24: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc4_24.2: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.cef)] +// CHECK:STDOUT: %N.loc4_24.2: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.96a)] // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.dec = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.dec = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.0c0 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.0c0 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %Class.bb0 = var %a.var_patt [concrete] -// CHECK:STDOUT: %.loc6_21.1: type = splice_block %Class.loc6 [concrete = constants.%Class.bb0] { +// CHECK:STDOUT: %a.var: ref %Class.c83 = var %a.var_patt [concrete] +// CHECK:STDOUT: %.loc6_21.1: type = splice_block %Class.loc6 [concrete = constants.%Class.c83] { // CHECK:STDOUT: %Class.ref.loc6: %Class.type = name_ref Class, %Class.decl [concrete = constants.%Class.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %i32 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr: type = ptr_type %i32 [concrete = constants.%ptr.847] // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] -// CHECK:STDOUT: %impl.elem0.loc6: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_21.1: = bound_method %int_5, %impl.elem0.loc6 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52] +// CHECK:STDOUT: %impl.elem0.loc6: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_21.1: = bound_method %int_5, %impl.elem0.loc6 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c] // CHECK:STDOUT: %specific_fn.loc6: = specific_function %impl.elem0.loc6, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_21.2: = bound_method %int_5, %specific_fn.loc6 [concrete = constants.%bound_method.10b] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %i32 = call %bound_method.loc6_21.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc6_21.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc6_21.3: %i32 = converted %int_5, %.loc6_21.2 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %Class.loc6: type = class_type @Class, @Class(constants.%ptr.143, constants.%int_5.c41) [concrete = constants.%Class.bb0] +// CHECK:STDOUT: %bound_method.loc6_21.2: = bound_method %int_5, %specific_fn.loc6 [concrete = constants.%bound_method.e3e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %i32 = call %bound_method.loc6_21.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc6_21.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc6_21.3: %i32 = converted %int_5, %.loc6_21.2 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %Class.loc6: type = class_type @Class, @Class(constants.%ptr.847, constants.%int_5.354) [concrete = constants.%Class.c83] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %Class.bb0 = ref_binding a, %a.var [concrete = %a.var] +// CHECK:STDOUT: %a: ref %Class.c83 = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.62a = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.62a = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f93 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.f93 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %b.var: ref %Class.170 = var %b.var_patt [concrete] -// CHECK:STDOUT: %.loc9_19.1: type = splice_block %Class.loc9 [concrete = constants.%Class.170] { +// CHECK:STDOUT: %b.var: ref %Class.214 = var %b.var_patt [concrete] +// CHECK:STDOUT: %.loc9_19.1: type = splice_block %Class.loc9 [concrete = constants.%Class.214] { // CHECK:STDOUT: %Class.ref.loc9: %Class.type = name_ref Class, %Class.decl [concrete = constants.%Class.generic] // CHECK:STDOUT: %.loc9_15: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc9_19.2: type = converted %.loc9_15, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %impl.elem0.loc9: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_19.1: = bound_method %int_0, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc9: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_19.1: = bound_method %int_0, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc9: = specific_function %impl.elem0.loc9, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_19.2: = bound_method %int_0, %specific_fn.loc9 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_19.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc9_19.3: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc9_19.4: %i32 = converted %int_0, %.loc9_19.3 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %Class.loc9: type = class_type @Class, @Class(constants.%empty_tuple.type, constants.%int_0.155) [concrete = constants.%Class.170] +// CHECK:STDOUT: %bound_method.loc9_19.2: = bound_method %int_0, %specific_fn.loc9 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_19.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc9_19.3: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc9_19.4: %i32 = converted %int_0, %.loc9_19.3 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %Class.loc9: type = class_type @Class, @Class(constants.%empty_tuple.type, constants.%int_0.62d) [concrete = constants.%Class.214] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: ref %Class.170 = ref_binding b, %b.var [concrete = %b.var] +// CHECK:STDOUT: %b: ref %Class.214 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @Class(%T.loc4_14.2: type, %N.loc4_24.2: %i32) { // CHECK:STDOUT: %T.loc4_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T.67d)] -// CHECK:STDOUT: %N.loc4_24.1: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.cef)] +// CHECK:STDOUT: %N.loc4_24.1: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.96a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -244,46 +244,46 @@ class Outer(T:! type) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Class.c9b +// CHECK:STDOUT: .Self = constants.%Class.3fe // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc6: %DefaultOrUnformed.type = facet_value constants.%Class.bb0, (constants.%DefaultOrUnformed.impl_witness.f27) [concrete = constants.%DefaultOrUnformed.facet.eea] -// CHECK:STDOUT: %.loc6_22.1: %DefaultOrUnformed.type = converted constants.%Class.bb0, %DefaultOrUnformed.facet.loc6 [concrete = constants.%DefaultOrUnformed.facet.eea] -// CHECK:STDOUT: %as_type.loc6: type = facet_access_type %.loc6_22.1 [concrete = constants.%Class.bb0] -// CHECK:STDOUT: %.loc6_22.2: type = converted %.loc6_22.1, %as_type.loc6 [concrete = constants.%Class.bb0] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.1: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.8ff, @T.as.DefaultOrUnformed.impl.Op(constants.%Class.bb0) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.198] -// CHECK:STDOUT: %.loc6_1: ref %Class.bb0 = splice_block file.%a.var [concrete = file.%a.var] {} -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc6: init %Class.bb0 to %.loc6_1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.1() +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc6: %DefaultOrUnformed.type = facet_value constants.%Class.c83, (constants.%DefaultOrUnformed.impl_witness.916) [concrete = constants.%DefaultOrUnformed.facet.377] +// CHECK:STDOUT: %.loc6_22.1: %DefaultOrUnformed.type = converted constants.%Class.c83, %DefaultOrUnformed.facet.loc6 [concrete = constants.%DefaultOrUnformed.facet.377] +// CHECK:STDOUT: %as_type.loc6: type = facet_access_type %.loc6_22.1 [concrete = constants.%Class.c83] +// CHECK:STDOUT: %.loc6_22.2: type = converted %.loc6_22.1, %as_type.loc6 [concrete = constants.%Class.c83] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.1: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.46b, @T.as.DefaultOrUnformed.impl.Op(constants.%Class.c83) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.9d0] +// CHECK:STDOUT: %.loc6_1: ref %Class.c83 = splice_block file.%a.var [concrete = file.%a.var] {} +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc6: init %Class.c83 to %.loc6_1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.1() // CHECK:STDOUT: assign file.%a.var, %T.as.DefaultOrUnformed.impl.Op.call.loc6 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc9: %DefaultOrUnformed.type = facet_value constants.%Class.170, (constants.%DefaultOrUnformed.impl_witness.ea2) [concrete = constants.%DefaultOrUnformed.facet.507] -// CHECK:STDOUT: %.loc9_20.1: %DefaultOrUnformed.type = converted constants.%Class.170, %DefaultOrUnformed.facet.loc9 [concrete = constants.%DefaultOrUnformed.facet.507] -// CHECK:STDOUT: %as_type.loc9: type = facet_access_type %.loc9_20.1 [concrete = constants.%Class.170] -// CHECK:STDOUT: %.loc9_20.2: type = converted %.loc9_20.1, %as_type.loc9 [concrete = constants.%Class.170] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.2: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.2de, @T.as.DefaultOrUnformed.impl.Op(constants.%Class.170) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.5ca] -// CHECK:STDOUT: %.loc9_1: ref %Class.170 = splice_block file.%b.var [concrete = file.%b.var] {} -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc9: init %Class.170 to %.loc9_1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.2() +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc9: %DefaultOrUnformed.type = facet_value constants.%Class.214, (constants.%DefaultOrUnformed.impl_witness.358) [concrete = constants.%DefaultOrUnformed.facet.863] +// CHECK:STDOUT: %.loc9_20.1: %DefaultOrUnformed.type = converted constants.%Class.214, %DefaultOrUnformed.facet.loc9 [concrete = constants.%DefaultOrUnformed.facet.863] +// CHECK:STDOUT: %as_type.loc9: type = facet_access_type %.loc9_20.1 [concrete = constants.%Class.214] +// CHECK:STDOUT: %.loc9_20.2: type = converted %.loc9_20.1, %as_type.loc9 [concrete = constants.%Class.214] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.2: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.11e, @T.as.DefaultOrUnformed.impl.Op(constants.%Class.214) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.30c] +// CHECK:STDOUT: %.loc9_1: ref %Class.214 = splice_block file.%b.var [concrete = file.%b.var] {} +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc9: init %Class.214 to %.loc9_1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.2() // CHECK:STDOUT: assign file.%b.var, %T.as.DefaultOrUnformed.impl.Op.call.loc9 // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class(constants.%T.67d, constants.%N.cef) { +// CHECK:STDOUT: specific @Class(constants.%T.67d, constants.%N.96a) { // CHECK:STDOUT: %T.loc4_14.1 => constants.%T.67d -// CHECK:STDOUT: %N.loc4_24.1 => constants.%N.cef +// CHECK:STDOUT: %N.loc4_24.1 => constants.%N.96a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class(constants.%ptr.143, constants.%int_5.c41) { -// CHECK:STDOUT: %T.loc4_14.1 => constants.%ptr.143 -// CHECK:STDOUT: %N.loc4_24.1 => constants.%int_5.c41 +// CHECK:STDOUT: specific @Class(constants.%ptr.847, constants.%int_5.354) { +// CHECK:STDOUT: %T.loc4_14.1 => constants.%ptr.847 +// CHECK:STDOUT: %N.loc4_24.1 => constants.%int_5.354 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class(constants.%empty_tuple.type, constants.%int_0.155) { +// CHECK:STDOUT: specific @Class(constants.%empty_tuple.type, constants.%int_0.62d) { // CHECK:STDOUT: %T.loc4_14.1 => constants.%empty_tuple.type -// CHECK:STDOUT: %N.loc4_24.1 => constants.%int_0.155 +// CHECK:STDOUT: %N.loc4_24.1 => constants.%int_0.62d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -299,11 +299,11 @@ class Outer(T:! type) { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %N.cef: %i32 = symbolic_binding N, 1 [symbolic] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %N.96a: %i32 = symbolic_binding N, 1 [symbolic] // CHECK:STDOUT: %Class.type: type = generic_class_type @Class [concrete] // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] -// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T, %N.cef) [symbolic] +// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T, %N.96a) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %i32 [concrete] @@ -327,7 +327,7 @@ class Outer(T:! type) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: %Class.type = class_decl @Class [concrete = constants.%Class.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %N.patt: %pattern_type.c6b = symbolic_binding_pattern N, 1 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.104 = symbolic_binding_pattern N, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_17.1: type = splice_block %.loc4_17.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc4_14: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -338,7 +338,7 @@ class Outer(T:! type) { // CHECK:STDOUT: %.Self.loc4_24: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc4_24.2: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.cef)] +// CHECK:STDOUT: %N.loc4_24.2: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.96a)] // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %a.patt: = ref_binding_pattern a [concrete] @@ -355,7 +355,7 @@ class Outer(T:! type) { // CHECK:STDOUT: // CHECK:STDOUT: generic class @Class(%T.loc4_14.2: type, %N.loc4_24.2: %i32) { // CHECK:STDOUT: %T.loc4_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T)] -// CHECK:STDOUT: %N.loc4_24.1: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.cef)] +// CHECK:STDOUT: %N.loc4_24.1: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.96a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -374,9 +374,9 @@ class Outer(T:! type) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class(constants.%T, constants.%N.cef) { +// CHECK:STDOUT: specific @Class(constants.%T, constants.%N.96a) { // CHECK:STDOUT: %T.loc4_14.1 => constants.%T -// CHECK:STDOUT: %N.loc4_24.1 => constants.%N.cef +// CHECK:STDOUT: %N.loc4_24.1 => constants.%N.96a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_too_many.carbon @@ -390,11 +390,11 @@ class Outer(T:! type) { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %N.cef: %i32 = symbolic_binding N, 1 [symbolic] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %N.96a: %i32 = symbolic_binding N, 1 [symbolic] // CHECK:STDOUT: %Class.type: type = generic_class_type @Class [concrete] // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] -// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T, %N.cef) [symbolic] +// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T, %N.96a) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %i32 [concrete] @@ -420,7 +420,7 @@ class Outer(T:! type) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: %Class.type = class_decl @Class [concrete = constants.%Class.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %N.patt: %pattern_type.c6b = symbolic_binding_pattern N, 1 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.104 = symbolic_binding_pattern N, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_17.1: type = splice_block %.loc4_17.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc4_14: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -431,7 +431,7 @@ class Outer(T:! type) { // CHECK:STDOUT: %.Self.loc4_24: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc4_24.2: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.cef)] +// CHECK:STDOUT: %N.loc4_24.2: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.96a)] // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %a.patt: = ref_binding_pattern a [concrete] @@ -450,7 +450,7 @@ class Outer(T:! type) { // CHECK:STDOUT: // CHECK:STDOUT: generic class @Class(%T.loc4_14.2: type, %N.loc4_24.2: %i32) { // CHECK:STDOUT: %T.loc4_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T)] -// CHECK:STDOUT: %N.loc4_24.1: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.cef)] +// CHECK:STDOUT: %N.loc4_24.1: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.96a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -469,9 +469,9 @@ class Outer(T:! type) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class(constants.%T, constants.%N.cef) { +// CHECK:STDOUT: specific @Class(constants.%T, constants.%N.96a) { // CHECK:STDOUT: %T.loc4_14.1 => constants.%T -// CHECK:STDOUT: %N.loc4_24.1 => constants.%N.cef +// CHECK:STDOUT: %N.loc4_24.1 => constants.%N.96a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_no_conversion.carbon @@ -485,17 +485,17 @@ class Outer(T:! type) { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %N.cef: %i32 = symbolic_binding N, 1 [symbolic] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %N.96a: %i32 = symbolic_binding N, 1 [symbolic] // CHECK:STDOUT: %Class.type: type = generic_class_type @Class [concrete] // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] -// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T, %N.cef) [symbolic] +// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T, %N.96a) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -506,7 +506,7 @@ class Outer(T:! type) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -518,7 +518,7 @@ class Outer(T:! type) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: %Class.type = class_decl @Class [concrete = constants.%Class.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %N.patt: %pattern_type.c6b = symbolic_binding_pattern N, 1 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.104 = symbolic_binding_pattern N, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_17.1: type = splice_block %.loc4_17.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc4_14: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -529,7 +529,7 @@ class Outer(T:! type) { // CHECK:STDOUT: %.Self.loc4_24: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc4_24.2: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.cef)] +// CHECK:STDOUT: %N.loc4_24.2: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.96a)] // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %a.patt: = ref_binding_pattern a [concrete] @@ -548,7 +548,7 @@ class Outer(T:! type) { // CHECK:STDOUT: // CHECK:STDOUT: generic class @Class(%T.loc4_14.2: type, %N.loc4_24.2: %i32) { // CHECK:STDOUT: %T.loc4_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T)] -// CHECK:STDOUT: %N.loc4_24.1: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.cef)] +// CHECK:STDOUT: %N.loc4_24.1: %i32 = symbolic_binding N, 1 [symbolic = %N.loc4_24.1 (constants.%N.96a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -567,9 +567,9 @@ class Outer(T:! type) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class(constants.%T, constants.%N.cef) { +// CHECK:STDOUT: specific @Class(constants.%T, constants.%N.96a) { // CHECK:STDOUT: %T.loc4_14.1 => constants.%T -// CHECK:STDOUT: %N.loc4_24.1 => constants.%N.cef +// CHECK:STDOUT: %N.loc4_24.1 => constants.%N.96a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_in_nested_return_type.carbon @@ -581,50 +581,50 @@ class Outer(T:! type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Outer.type: type = generic_class_type @Outer [concrete] // CHECK:STDOUT: %Outer.generic: %Outer.type = struct_value () [concrete] -// CHECK:STDOUT: %Outer.0d8: type = class_type @Outer, @Outer(%T) [symbolic] +// CHECK:STDOUT: %Outer.3b5: type = class_type @Outer, @Outer(%T) [symbolic] // CHECK:STDOUT: %U: type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %Inner.type.344: type = generic_class_type @Inner, @Outer(%T) [symbolic] -// CHECK:STDOUT: %Inner.generic.a86: %Inner.type.344 = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.020: type = class_type @Inner, @Inner(%T, %U) [symbolic] -// CHECK:STDOUT: %.351: Core.Form = init_form %Outer.0d8 [symbolic] -// CHECK:STDOUT: %pattern_type.80c: type = pattern_type %Outer.0d8 [symbolic] -// CHECK:STDOUT: %Inner.A.type.c3a: type = fn_type @Inner.A, @Inner(%T, %U) [symbolic] -// CHECK:STDOUT: %Inner.A.1b9: %Inner.A.type.c3a = struct_value () [symbolic] -// CHECK:STDOUT: %Outer.53a: type = class_type @Outer, @Outer(%U) [symbolic] -// CHECK:STDOUT: %.5c9: Core.Form = init_form %Outer.53a [symbolic] -// CHECK:STDOUT: %pattern_type.eeb: type = pattern_type %Outer.53a [symbolic] -// CHECK:STDOUT: %Inner.B.type.4a6: type = fn_type @Inner.B, @Inner(%T, %U) [symbolic] -// CHECK:STDOUT: %Inner.B.d89: %Inner.B.type.4a6 = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.ae1: type = class_type @Inner, @Inner(%T, %T) [symbolic] -// CHECK:STDOUT: %.e20: Core.Form = init_form %Inner.ae1 [symbolic] -// CHECK:STDOUT: %pattern_type.05c: type = pattern_type %Inner.ae1 [symbolic] -// CHECK:STDOUT: %Inner.C.type.c81: type = fn_type @Inner.C, @Inner(%T, %U) [symbolic] -// CHECK:STDOUT: %Inner.C.06a: %Inner.C.type.c81 = struct_value () [symbolic] -// CHECK:STDOUT: %.f8d: Core.Form = init_form %Inner.020 [symbolic] -// CHECK:STDOUT: %pattern_type.90a: type = pattern_type %Inner.020 [symbolic] -// CHECK:STDOUT: %Inner.D.type.e9c: type = fn_type @Inner.D, @Inner(%T, %U) [symbolic] -// CHECK:STDOUT: %Inner.D.a2f: %Inner.D.type.e9c = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.type.e77: type = generic_class_type @Inner, @Outer(%T) [symbolic] +// CHECK:STDOUT: %Inner.generic.92c: %Inner.type.e77 = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.6c4: type = class_type @Inner, @Inner(%T, %U) [symbolic] +// CHECK:STDOUT: %.a27: Core.Form = init_form %Outer.3b5 [symbolic] +// CHECK:STDOUT: %pattern_type.159: type = pattern_type %Outer.3b5 [symbolic] +// CHECK:STDOUT: %Inner.A.type.24f: type = fn_type @Inner.A, @Inner(%T, %U) [symbolic] +// CHECK:STDOUT: %Inner.A.54a: %Inner.A.type.24f = struct_value () [symbolic] +// CHECK:STDOUT: %Outer.ef0: type = class_type @Outer, @Outer(%U) [symbolic] +// CHECK:STDOUT: %.709: Core.Form = init_form %Outer.ef0 [symbolic] +// CHECK:STDOUT: %pattern_type.e97: type = pattern_type %Outer.ef0 [symbolic] +// CHECK:STDOUT: %Inner.B.type.ec0: type = fn_type @Inner.B, @Inner(%T, %U) [symbolic] +// CHECK:STDOUT: %Inner.B.af7: %Inner.B.type.ec0 = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.36f: type = class_type @Inner, @Inner(%T, %T) [symbolic] +// CHECK:STDOUT: %.188: Core.Form = init_form %Inner.36f [symbolic] +// CHECK:STDOUT: %pattern_type.1b2: type = pattern_type %Inner.36f [symbolic] +// CHECK:STDOUT: %Inner.C.type.9fc: type = fn_type @Inner.C, @Inner(%T, %U) [symbolic] +// CHECK:STDOUT: %Inner.C.ce9: %Inner.C.type.9fc = struct_value () [symbolic] +// CHECK:STDOUT: %.f86: Core.Form = init_form %Inner.6c4 [symbolic] +// CHECK:STDOUT: %pattern_type.c25: type = pattern_type %Inner.6c4 [symbolic] +// CHECK:STDOUT: %Inner.D.type.6aa: type = fn_type @Inner.D, @Inner(%T, %U) [symbolic] +// CHECK:STDOUT: %Inner.D.aa1: %Inner.D.type.6aa = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %require_complete.f7e: = require_complete_type %Outer.0d8 [symbolic] +// CHECK:STDOUT: %require_complete.f6c: = require_complete_type %Outer.3b5 [symbolic] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %Outer.val.648: %Outer.0d8 = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.type.6dd: type = generic_class_type @Inner, @Outer(%U) [symbolic] -// CHECK:STDOUT: %Inner.generic.c28: %Inner.type.6dd = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.df0: = require_complete_type %Outer.53a [symbolic] -// CHECK:STDOUT: %Outer.val.369: %Outer.53a = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.A.type.41c: type = fn_type @Inner.A, @Inner(%T, %T) [symbolic] -// CHECK:STDOUT: %Inner.A.4b6: %Inner.A.type.41c = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.B.type.d8b: type = fn_type @Inner.B, @Inner(%T, %T) [symbolic] -// CHECK:STDOUT: %Inner.B.751: %Inner.B.type.d8b = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.C.type.b29: type = fn_type @Inner.C, @Inner(%T, %T) [symbolic] -// CHECK:STDOUT: %Inner.C.a92: %Inner.C.type.b29 = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.D.type.08c: type = fn_type @Inner.D, @Inner(%T, %T) [symbolic] -// CHECK:STDOUT: %Inner.D.4df: %Inner.D.type.08c = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.198: = require_complete_type %Inner.ae1 [symbolic] -// CHECK:STDOUT: %Inner.val.6d8: %Inner.ae1 = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.c41: = require_complete_type %Inner.020 [symbolic] -// CHECK:STDOUT: %Inner.val.9f8: %Inner.020 = struct_value () [symbolic] +// CHECK:STDOUT: %Outer.val.c83: %Outer.3b5 = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.type.e6e: type = generic_class_type @Inner, @Outer(%U) [symbolic] +// CHECK:STDOUT: %Inner.generic.635: %Inner.type.e6e = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete.d76: = require_complete_type %Outer.ef0 [symbolic] +// CHECK:STDOUT: %Outer.val.2ba: %Outer.ef0 = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.A.type.96a: type = fn_type @Inner.A, @Inner(%T, %T) [symbolic] +// CHECK:STDOUT: %Inner.A.ffa: %Inner.A.type.96a = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.B.type.7a7: type = fn_type @Inner.B, @Inner(%T, %T) [symbolic] +// CHECK:STDOUT: %Inner.B.919: %Inner.B.type.7a7 = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.C.type.072: type = fn_type @Inner.C, @Inner(%T, %T) [symbolic] +// CHECK:STDOUT: %Inner.C.857: %Inner.C.type.072 = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.D.type.76e: type = fn_type @Inner.D, @Inner(%T, %T) [symbolic] +// CHECK:STDOUT: %Inner.D.44a: %Inner.D.type.76e = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete.ec2: = require_complete_type %Inner.36f [symbolic] +// CHECK:STDOUT: %Inner.val.3d4: %Inner.36f = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete.600: = require_complete_type %Inner.6c4 [symbolic] +// CHECK:STDOUT: %Inner.val.fa0: %Inner.6c4 = struct_value () [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -655,11 +655,11 @@ class Outer(T:! type) { // CHECK:STDOUT: %T.loc2_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc2_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type: type = generic_class_type @Inner, @Outer(%T.loc2_14.1) [symbolic = %Inner.type (constants.%Inner.type.344)] -// CHECK:STDOUT: %Inner.generic: @Outer.%Inner.type (%Inner.type.344) = struct_value () [symbolic = %Inner.generic (constants.%Inner.generic.a86)] +// CHECK:STDOUT: %Inner.type: type = generic_class_type @Inner, @Outer(%T.loc2_14.1) [symbolic = %Inner.type (constants.%Inner.type.e77)] +// CHECK:STDOUT: %Inner.generic: @Outer.%Inner.type (%Inner.type.e77) = struct_value () [symbolic = %Inner.generic (constants.%Inner.generic.92c)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %Inner.decl: @Outer.%Inner.type (%Inner.type.344) = class_decl @Inner [symbolic = @Outer.%Inner.generic (constants.%Inner.generic.a86)] { +// CHECK:STDOUT: %Inner.decl: @Outer.%Inner.type (%Inner.type.e77) = class_decl @Inner [symbolic = @Outer.%Inner.generic (constants.%Inner.generic.92c)] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc3_19.1: type = splice_block %.loc3_19.2 [concrete = type] { @@ -672,7 +672,7 @@ class Outer(T:! type) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Outer.0d8 +// CHECK:STDOUT: .Self = constants.%Outer.3b5 // CHECK:STDOUT: .Inner = %Inner.decl // CHECK:STDOUT: .Outer = // CHECK:STDOUT: .T = @@ -684,67 +684,67 @@ class Outer(T:! type) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Inner.A.type: type = fn_type @Inner.A, @Inner(%T, %U.loc3_16.1) [symbolic = %Inner.A.type (constants.%Inner.A.type.c3a)] -// CHECK:STDOUT: %Inner.A: @Inner.%Inner.A.type (%Inner.A.type.c3a) = struct_value () [symbolic = %Inner.A (constants.%Inner.A.1b9)] -// CHECK:STDOUT: %Inner.B.type: type = fn_type @Inner.B, @Inner(%T, %U.loc3_16.1) [symbolic = %Inner.B.type (constants.%Inner.B.type.4a6)] -// CHECK:STDOUT: %Inner.B: @Inner.%Inner.B.type (%Inner.B.type.4a6) = struct_value () [symbolic = %Inner.B (constants.%Inner.B.d89)] -// CHECK:STDOUT: %Inner.C.type: type = fn_type @Inner.C, @Inner(%T, %U.loc3_16.1) [symbolic = %Inner.C.type (constants.%Inner.C.type.c81)] -// CHECK:STDOUT: %Inner.C: @Inner.%Inner.C.type (%Inner.C.type.c81) = struct_value () [symbolic = %Inner.C (constants.%Inner.C.06a)] -// CHECK:STDOUT: %Inner.D.type: type = fn_type @Inner.D, @Inner(%T, %U.loc3_16.1) [symbolic = %Inner.D.type (constants.%Inner.D.type.e9c)] -// CHECK:STDOUT: %Inner.D: @Inner.%Inner.D.type (%Inner.D.type.e9c) = struct_value () [symbolic = %Inner.D (constants.%Inner.D.a2f)] +// CHECK:STDOUT: %Inner.A.type: type = fn_type @Inner.A, @Inner(%T, %U.loc3_16.1) [symbolic = %Inner.A.type (constants.%Inner.A.type.24f)] +// CHECK:STDOUT: %Inner.A: @Inner.%Inner.A.type (%Inner.A.type.24f) = struct_value () [symbolic = %Inner.A (constants.%Inner.A.54a)] +// CHECK:STDOUT: %Inner.B.type: type = fn_type @Inner.B, @Inner(%T, %U.loc3_16.1) [symbolic = %Inner.B.type (constants.%Inner.B.type.ec0)] +// CHECK:STDOUT: %Inner.B: @Inner.%Inner.B.type (%Inner.B.type.ec0) = struct_value () [symbolic = %Inner.B (constants.%Inner.B.af7)] +// CHECK:STDOUT: %Inner.C.type: type = fn_type @Inner.C, @Inner(%T, %U.loc3_16.1) [symbolic = %Inner.C.type (constants.%Inner.C.type.9fc)] +// CHECK:STDOUT: %Inner.C: @Inner.%Inner.C.type (%Inner.C.type.9fc) = struct_value () [symbolic = %Inner.C (constants.%Inner.C.ce9)] +// CHECK:STDOUT: %Inner.D.type: type = fn_type @Inner.D, @Inner(%T, %U.loc3_16.1) [symbolic = %Inner.D.type (constants.%Inner.D.type.6aa)] +// CHECK:STDOUT: %Inner.D: @Inner.%Inner.D.type (%Inner.D.type.6aa) = struct_value () [symbolic = %Inner.D (constants.%Inner.D.aa1)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %Inner.A.decl: @Inner.%Inner.A.type (%Inner.A.type.c3a) = fn_decl @Inner.A [symbolic = @Inner.%Inner.A (constants.%Inner.A.1b9)] { -// CHECK:STDOUT: %return.param_patt: @Inner.A.%pattern_type (%pattern_type.80c) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Inner.A.%pattern_type (%pattern_type.80c) = return_slot_pattern %return.param_patt, %Outer.loc4_22.2 [concrete] +// CHECK:STDOUT: %Inner.A.decl: @Inner.%Inner.A.type (%Inner.A.type.24f) = fn_decl @Inner.A [symbolic = @Inner.%Inner.A (constants.%Inner.A.54a)] { +// CHECK:STDOUT: %return.param_patt: @Inner.A.%pattern_type (%pattern_type.159) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Inner.A.%pattern_type (%pattern_type.159) = return_slot_pattern %return.param_patt, %Outer.loc4_22.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Outer.ref: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, @Outer.%T.loc2_14.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Outer.loc4_22.2: type = class_type @Outer, @Outer(constants.%T) [symbolic = %Outer.loc4_22.1 (constants.%Outer.0d8)] -// CHECK:STDOUT: %.loc4_22.2: Core.Form = init_form %Outer.loc4_22.2 [symbolic = %.loc4_22.1 (constants.%.351)] -// CHECK:STDOUT: %return.param: ref @Inner.A.%Outer.loc4_22.1 (%Outer.0d8) = out_param call_param0 -// CHECK:STDOUT: %return: ref @Inner.A.%Outer.loc4_22.1 (%Outer.0d8) = return_slot %return.param +// CHECK:STDOUT: %Outer.loc4_22.2: type = class_type @Outer, @Outer(constants.%T) [symbolic = %Outer.loc4_22.1 (constants.%Outer.3b5)] +// CHECK:STDOUT: %.loc4_22.2: Core.Form = init_form %Outer.loc4_22.2 [symbolic = %.loc4_22.1 (constants.%.a27)] +// CHECK:STDOUT: %return.param: ref @Inner.A.%Outer.loc4_22.1 (%Outer.3b5) = out_param call_param0 +// CHECK:STDOUT: %return: ref @Inner.A.%Outer.loc4_22.1 (%Outer.3b5) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Inner.B.decl: @Inner.%Inner.B.type (%Inner.B.type.4a6) = fn_decl @Inner.B [symbolic = @Inner.%Inner.B (constants.%Inner.B.d89)] { -// CHECK:STDOUT: %return.param_patt: @Inner.B.%pattern_type (%pattern_type.eeb) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Inner.B.%pattern_type (%pattern_type.eeb) = return_slot_pattern %return.param_patt, %Outer.loc7_22.2 [concrete] +// CHECK:STDOUT: %Inner.B.decl: @Inner.%Inner.B.type (%Inner.B.type.ec0) = fn_decl @Inner.B [symbolic = @Inner.%Inner.B (constants.%Inner.B.af7)] { +// CHECK:STDOUT: %return.param_patt: @Inner.B.%pattern_type (%pattern_type.e97) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Inner.B.%pattern_type (%pattern_type.e97) = return_slot_pattern %return.param_patt, %Outer.loc7_22.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Outer.ref: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %U.ref: type = name_ref U, @Inner.%U.loc3_16.2 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %Outer.loc7_22.2: type = class_type @Outer, @Outer(constants.%U) [symbolic = %Outer.loc7_22.1 (constants.%Outer.53a)] -// CHECK:STDOUT: %.loc7_22.2: Core.Form = init_form %Outer.loc7_22.2 [symbolic = %.loc7_22.1 (constants.%.5c9)] -// CHECK:STDOUT: %return.param: ref @Inner.B.%Outer.loc7_22.1 (%Outer.53a) = out_param call_param0 -// CHECK:STDOUT: %return: ref @Inner.B.%Outer.loc7_22.1 (%Outer.53a) = return_slot %return.param +// CHECK:STDOUT: %Outer.loc7_22.2: type = class_type @Outer, @Outer(constants.%U) [symbolic = %Outer.loc7_22.1 (constants.%Outer.ef0)] +// CHECK:STDOUT: %.loc7_22.2: Core.Form = init_form %Outer.loc7_22.2 [symbolic = %.loc7_22.1 (constants.%.709)] +// CHECK:STDOUT: %return.param: ref @Inner.B.%Outer.loc7_22.1 (%Outer.ef0) = out_param call_param0 +// CHECK:STDOUT: %return: ref @Inner.B.%Outer.loc7_22.1 (%Outer.ef0) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Inner.C.decl: @Inner.%Inner.C.type (%Inner.C.type.c81) = fn_decl @Inner.C [symbolic = @Inner.%Inner.C (constants.%Inner.C.06a)] { -// CHECK:STDOUT: %return.param_patt: @Inner.C.%pattern_type (%pattern_type.05c) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Inner.C.%pattern_type (%pattern_type.05c) = return_slot_pattern %return.param_patt, %Inner.loc10_22.2 [concrete] +// CHECK:STDOUT: %Inner.C.decl: @Inner.%Inner.C.type (%Inner.C.type.9fc) = fn_decl @Inner.C [symbolic = @Inner.%Inner.C (constants.%Inner.C.ce9)] { +// CHECK:STDOUT: %return.param_patt: @Inner.C.%pattern_type (%pattern_type.1b2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Inner.C.%pattern_type (%pattern_type.1b2) = return_slot_pattern %return.param_patt, %Inner.loc10_22.2 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc10_15: @Inner.C.%Inner.type (%Inner.type.344) = specific_constant @Outer.%Inner.decl, @Outer(constants.%T) [symbolic = %Inner.generic (constants.%Inner.generic.a86)] -// CHECK:STDOUT: %Inner.ref: @Inner.C.%Inner.type (%Inner.type.344) = name_ref Inner, %.loc10_15 [symbolic = %Inner.generic (constants.%Inner.generic.a86)] +// CHECK:STDOUT: %.loc10_15: @Inner.C.%Inner.type (%Inner.type.e77) = specific_constant @Outer.%Inner.decl, @Outer(constants.%T) [symbolic = %Inner.generic (constants.%Inner.generic.92c)] +// CHECK:STDOUT: %Inner.ref: @Inner.C.%Inner.type (%Inner.type.e77) = name_ref Inner, %.loc10_15 [symbolic = %Inner.generic (constants.%Inner.generic.92c)] // CHECK:STDOUT: %T.ref: type = name_ref T, @Outer.%T.loc2_14.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Inner.loc10_22.2: type = class_type @Inner, @Inner(constants.%T, constants.%T) [symbolic = %Inner.loc10_22.1 (constants.%Inner.ae1)] -// CHECK:STDOUT: %.loc10_22.2: Core.Form = init_form %Inner.loc10_22.2 [symbolic = %.loc10_22.1 (constants.%.e20)] -// CHECK:STDOUT: %return.param: ref @Inner.C.%Inner.loc10_22.1 (%Inner.ae1) = out_param call_param0 -// CHECK:STDOUT: %return: ref @Inner.C.%Inner.loc10_22.1 (%Inner.ae1) = return_slot %return.param +// CHECK:STDOUT: %Inner.loc10_22.2: type = class_type @Inner, @Inner(constants.%T, constants.%T) [symbolic = %Inner.loc10_22.1 (constants.%Inner.36f)] +// CHECK:STDOUT: %.loc10_22.2: Core.Form = init_form %Inner.loc10_22.2 [symbolic = %.loc10_22.1 (constants.%.188)] +// CHECK:STDOUT: %return.param: ref @Inner.C.%Inner.loc10_22.1 (%Inner.36f) = out_param call_param0 +// CHECK:STDOUT: %return: ref @Inner.C.%Inner.loc10_22.1 (%Inner.36f) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Inner.D.decl: @Inner.%Inner.D.type (%Inner.D.type.e9c) = fn_decl @Inner.D [symbolic = @Inner.%Inner.D (constants.%Inner.D.a2f)] { -// CHECK:STDOUT: %return.param_patt: @Inner.D.%pattern_type (%pattern_type.90a) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Inner.D.%pattern_type (%pattern_type.90a) = return_slot_pattern %return.param_patt, %Inner.loc13_22.2 [concrete] +// CHECK:STDOUT: %Inner.D.decl: @Inner.%Inner.D.type (%Inner.D.type.6aa) = fn_decl @Inner.D [symbolic = @Inner.%Inner.D (constants.%Inner.D.aa1)] { +// CHECK:STDOUT: %return.param_patt: @Inner.D.%pattern_type (%pattern_type.c25) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Inner.D.%pattern_type (%pattern_type.c25) = return_slot_pattern %return.param_patt, %Inner.loc13_22.2 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc13_15: @Inner.D.%Inner.type (%Inner.type.344) = specific_constant @Outer.%Inner.decl, @Outer(constants.%T) [symbolic = %Inner.generic (constants.%Inner.generic.a86)] -// CHECK:STDOUT: %Inner.ref: @Inner.D.%Inner.type (%Inner.type.344) = name_ref Inner, %.loc13_15 [symbolic = %Inner.generic (constants.%Inner.generic.a86)] +// CHECK:STDOUT: %.loc13_15: @Inner.D.%Inner.type (%Inner.type.e77) = specific_constant @Outer.%Inner.decl, @Outer(constants.%T) [symbolic = %Inner.generic (constants.%Inner.generic.92c)] +// CHECK:STDOUT: %Inner.ref: @Inner.D.%Inner.type (%Inner.type.e77) = name_ref Inner, %.loc13_15 [symbolic = %Inner.generic (constants.%Inner.generic.92c)] // CHECK:STDOUT: %U.ref: type = name_ref U, @Inner.%U.loc3_16.2 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %Inner.loc13_22.2: type = class_type @Inner, @Inner(constants.%T, constants.%U) [symbolic = %Inner.loc13_22.1 (constants.%Inner.020)] -// CHECK:STDOUT: %.loc13_22.2: Core.Form = init_form %Inner.loc13_22.2 [symbolic = %.loc13_22.1 (constants.%.f8d)] -// CHECK:STDOUT: %return.param: ref @Inner.D.%Inner.loc13_22.1 (%Inner.020) = out_param call_param0 -// CHECK:STDOUT: %return: ref @Inner.D.%Inner.loc13_22.1 (%Inner.020) = return_slot %return.param +// CHECK:STDOUT: %Inner.loc13_22.2: type = class_type @Inner, @Inner(constants.%T, constants.%U) [symbolic = %Inner.loc13_22.1 (constants.%Inner.6c4)] +// CHECK:STDOUT: %.loc13_22.2: Core.Form = init_form %Inner.loc13_22.2 [symbolic = %.loc13_22.1 (constants.%.f86)] +// CHECK:STDOUT: %return.param: ref @Inner.D.%Inner.loc13_22.1 (%Inner.6c4) = out_param call_param0 +// CHECK:STDOUT: %return: ref @Inner.D.%Inner.loc13_22.1 (%Inner.6c4) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Inner.020 +// CHECK:STDOUT: .Self = constants.%Inner.6c4 // CHECK:STDOUT: .Outer = // CHECK:STDOUT: .T = // CHECK:STDOUT: .A = %Inner.A.decl @@ -758,81 +758,81 @@ class Outer(T:! type) { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Inner.A(@Outer.%T.loc2_14.2: type, @Inner.%U.loc3_16.2: type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Outer.loc4_22.1: type = class_type @Outer, @Outer(%T) [symbolic = %Outer.loc4_22.1 (constants.%Outer.0d8)] -// CHECK:STDOUT: %.loc4_22.1: Core.Form = init_form %Outer.loc4_22.1 [symbolic = %.loc4_22.1 (constants.%.351)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Outer.loc4_22.1 [symbolic = %pattern_type (constants.%pattern_type.80c)] +// CHECK:STDOUT: %Outer.loc4_22.1: type = class_type @Outer, @Outer(%T) [symbolic = %Outer.loc4_22.1 (constants.%Outer.3b5)] +// CHECK:STDOUT: %.loc4_22.1: Core.Form = init_form %Outer.loc4_22.1 [symbolic = %.loc4_22.1 (constants.%.a27)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Outer.loc4_22.1 [symbolic = %pattern_type (constants.%pattern_type.159)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Outer.loc4_22.1 [symbolic = %require_complete (constants.%require_complete.f7e)] -// CHECK:STDOUT: %Outer.val: @Inner.A.%Outer.loc4_22.1 (%Outer.0d8) = struct_value () [symbolic = %Outer.val (constants.%Outer.val.648)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Outer.loc4_22.1 [symbolic = %require_complete (constants.%require_complete.f6c)] +// CHECK:STDOUT: %Outer.val: @Inner.A.%Outer.loc4_22.1 (%Outer.3b5) = struct_value () [symbolic = %Outer.val (constants.%Outer.val.c83)] // CHECK:STDOUT: -// CHECK:STDOUT: fn() -> out %return.param: @Inner.A.%Outer.loc4_22.1 (%Outer.0d8) { +// CHECK:STDOUT: fn() -> out %return.param: @Inner.A.%Outer.loc4_22.1 (%Outer.3b5) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc5_15.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc5_15.2: init @Inner.A.%Outer.loc4_22.1 (%Outer.0d8) to %return.param = class_init () [symbolic = %Outer.val (constants.%Outer.val.648)] -// CHECK:STDOUT: %.loc5_16: init @Inner.A.%Outer.loc4_22.1 (%Outer.0d8) = converted %.loc5_15.1, %.loc5_15.2 [symbolic = %Outer.val (constants.%Outer.val.648)] +// CHECK:STDOUT: %.loc5_15.2: init @Inner.A.%Outer.loc4_22.1 (%Outer.3b5) to %return.param = class_init () [symbolic = %Outer.val (constants.%Outer.val.c83)] +// CHECK:STDOUT: %.loc5_16: init @Inner.A.%Outer.loc4_22.1 (%Outer.3b5) = converted %.loc5_15.1, %.loc5_15.2 [symbolic = %Outer.val (constants.%Outer.val.c83)] // CHECK:STDOUT: return %.loc5_16 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Inner.B(@Outer.%T.loc2_14.2: type, @Inner.%U.loc3_16.2: type) { // CHECK:STDOUT: %U: type = symbolic_binding U, 1 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %Outer.loc7_22.1: type = class_type @Outer, @Outer(%U) [symbolic = %Outer.loc7_22.1 (constants.%Outer.53a)] -// CHECK:STDOUT: %.loc7_22.1: Core.Form = init_form %Outer.loc7_22.1 [symbolic = %.loc7_22.1 (constants.%.5c9)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Outer.loc7_22.1 [symbolic = %pattern_type (constants.%pattern_type.eeb)] +// CHECK:STDOUT: %Outer.loc7_22.1: type = class_type @Outer, @Outer(%U) [symbolic = %Outer.loc7_22.1 (constants.%Outer.ef0)] +// CHECK:STDOUT: %.loc7_22.1: Core.Form = init_form %Outer.loc7_22.1 [symbolic = %.loc7_22.1 (constants.%.709)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Outer.loc7_22.1 [symbolic = %pattern_type (constants.%pattern_type.e97)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Outer.loc7_22.1 [symbolic = %require_complete (constants.%require_complete.df0)] -// CHECK:STDOUT: %Outer.val: @Inner.B.%Outer.loc7_22.1 (%Outer.53a) = struct_value () [symbolic = %Outer.val (constants.%Outer.val.369)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Outer.loc7_22.1 [symbolic = %require_complete (constants.%require_complete.d76)] +// CHECK:STDOUT: %Outer.val: @Inner.B.%Outer.loc7_22.1 (%Outer.ef0) = struct_value () [symbolic = %Outer.val (constants.%Outer.val.2ba)] // CHECK:STDOUT: -// CHECK:STDOUT: fn() -> out %return.param: @Inner.B.%Outer.loc7_22.1 (%Outer.53a) { +// CHECK:STDOUT: fn() -> out %return.param: @Inner.B.%Outer.loc7_22.1 (%Outer.ef0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc8_15.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc8_15.2: init @Inner.B.%Outer.loc7_22.1 (%Outer.53a) to %return.param = class_init () [symbolic = %Outer.val (constants.%Outer.val.369)] -// CHECK:STDOUT: %.loc8_16: init @Inner.B.%Outer.loc7_22.1 (%Outer.53a) = converted %.loc8_15.1, %.loc8_15.2 [symbolic = %Outer.val (constants.%Outer.val.369)] +// CHECK:STDOUT: %.loc8_15.2: init @Inner.B.%Outer.loc7_22.1 (%Outer.ef0) to %return.param = class_init () [symbolic = %Outer.val (constants.%Outer.val.2ba)] +// CHECK:STDOUT: %.loc8_16: init @Inner.B.%Outer.loc7_22.1 (%Outer.ef0) = converted %.loc8_15.1, %.loc8_15.2 [symbolic = %Outer.val (constants.%Outer.val.2ba)] // CHECK:STDOUT: return %.loc8_16 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Inner.C(@Outer.%T.loc2_14.2: type, @Inner.%U.loc3_16.2: type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Inner.type: type = generic_class_type @Inner, @Outer(%T) [symbolic = %Inner.type (constants.%Inner.type.344)] -// CHECK:STDOUT: %Inner.generic: @Inner.C.%Inner.type (%Inner.type.344) = struct_value () [symbolic = %Inner.generic (constants.%Inner.generic.a86)] -// CHECK:STDOUT: %Inner.loc10_22.1: type = class_type @Inner, @Inner(%T, %T) [symbolic = %Inner.loc10_22.1 (constants.%Inner.ae1)] -// CHECK:STDOUT: %.loc10_22.1: Core.Form = init_form %Inner.loc10_22.1 [symbolic = %.loc10_22.1 (constants.%.e20)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Inner.loc10_22.1 [symbolic = %pattern_type (constants.%pattern_type.05c)] +// CHECK:STDOUT: %Inner.type: type = generic_class_type @Inner, @Outer(%T) [symbolic = %Inner.type (constants.%Inner.type.e77)] +// CHECK:STDOUT: %Inner.generic: @Inner.C.%Inner.type (%Inner.type.e77) = struct_value () [symbolic = %Inner.generic (constants.%Inner.generic.92c)] +// CHECK:STDOUT: %Inner.loc10_22.1: type = class_type @Inner, @Inner(%T, %T) [symbolic = %Inner.loc10_22.1 (constants.%Inner.36f)] +// CHECK:STDOUT: %.loc10_22.1: Core.Form = init_form %Inner.loc10_22.1 [symbolic = %.loc10_22.1 (constants.%.188)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Inner.loc10_22.1 [symbolic = %pattern_type (constants.%pattern_type.1b2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Inner.loc10_22.1 [symbolic = %require_complete (constants.%require_complete.198)] -// CHECK:STDOUT: %Inner.val: @Inner.C.%Inner.loc10_22.1 (%Inner.ae1) = struct_value () [symbolic = %Inner.val (constants.%Inner.val.6d8)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Inner.loc10_22.1 [symbolic = %require_complete (constants.%require_complete.ec2)] +// CHECK:STDOUT: %Inner.val: @Inner.C.%Inner.loc10_22.1 (%Inner.36f) = struct_value () [symbolic = %Inner.val (constants.%Inner.val.3d4)] // CHECK:STDOUT: -// CHECK:STDOUT: fn() -> out %return.param: @Inner.C.%Inner.loc10_22.1 (%Inner.ae1) { +// CHECK:STDOUT: fn() -> out %return.param: @Inner.C.%Inner.loc10_22.1 (%Inner.36f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc11_15.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc11_15.2: init @Inner.C.%Inner.loc10_22.1 (%Inner.ae1) to %return.param = class_init () [symbolic = %Inner.val (constants.%Inner.val.6d8)] -// CHECK:STDOUT: %.loc11_16: init @Inner.C.%Inner.loc10_22.1 (%Inner.ae1) = converted %.loc11_15.1, %.loc11_15.2 [symbolic = %Inner.val (constants.%Inner.val.6d8)] +// CHECK:STDOUT: %.loc11_15.2: init @Inner.C.%Inner.loc10_22.1 (%Inner.36f) to %return.param = class_init () [symbolic = %Inner.val (constants.%Inner.val.3d4)] +// CHECK:STDOUT: %.loc11_16: init @Inner.C.%Inner.loc10_22.1 (%Inner.36f) = converted %.loc11_15.1, %.loc11_15.2 [symbolic = %Inner.val (constants.%Inner.val.3d4)] // CHECK:STDOUT: return %.loc11_16 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Inner.D(@Outer.%T.loc2_14.2: type, @Inner.%U.loc3_16.2: type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Inner.type: type = generic_class_type @Inner, @Outer(%T) [symbolic = %Inner.type (constants.%Inner.type.344)] -// CHECK:STDOUT: %Inner.generic: @Inner.D.%Inner.type (%Inner.type.344) = struct_value () [symbolic = %Inner.generic (constants.%Inner.generic.a86)] +// CHECK:STDOUT: %Inner.type: type = generic_class_type @Inner, @Outer(%T) [symbolic = %Inner.type (constants.%Inner.type.e77)] +// CHECK:STDOUT: %Inner.generic: @Inner.D.%Inner.type (%Inner.type.e77) = struct_value () [symbolic = %Inner.generic (constants.%Inner.generic.92c)] // CHECK:STDOUT: %U: type = symbolic_binding U, 1 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %Inner.loc13_22.1: type = class_type @Inner, @Inner(%T, %U) [symbolic = %Inner.loc13_22.1 (constants.%Inner.020)] -// CHECK:STDOUT: %.loc13_22.1: Core.Form = init_form %Inner.loc13_22.1 [symbolic = %.loc13_22.1 (constants.%.f8d)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Inner.loc13_22.1 [symbolic = %pattern_type (constants.%pattern_type.90a)] +// CHECK:STDOUT: %Inner.loc13_22.1: type = class_type @Inner, @Inner(%T, %U) [symbolic = %Inner.loc13_22.1 (constants.%Inner.6c4)] +// CHECK:STDOUT: %.loc13_22.1: Core.Form = init_form %Inner.loc13_22.1 [symbolic = %.loc13_22.1 (constants.%.f86)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Inner.loc13_22.1 [symbolic = %pattern_type (constants.%pattern_type.c25)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Inner.loc13_22.1 [symbolic = %require_complete (constants.%require_complete.c41)] -// CHECK:STDOUT: %Inner.val: @Inner.D.%Inner.loc13_22.1 (%Inner.020) = struct_value () [symbolic = %Inner.val (constants.%Inner.val.9f8)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Inner.loc13_22.1 [symbolic = %require_complete (constants.%require_complete.600)] +// CHECK:STDOUT: %Inner.val: @Inner.D.%Inner.loc13_22.1 (%Inner.6c4) = struct_value () [symbolic = %Inner.val (constants.%Inner.val.fa0)] // CHECK:STDOUT: -// CHECK:STDOUT: fn() -> out %return.param: @Inner.D.%Inner.loc13_22.1 (%Inner.020) { +// CHECK:STDOUT: fn() -> out %return.param: @Inner.D.%Inner.loc13_22.1 (%Inner.6c4) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc14_15.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc14_15.2: init @Inner.D.%Inner.loc13_22.1 (%Inner.020) to %return.param = class_init () [symbolic = %Inner.val (constants.%Inner.val.9f8)] -// CHECK:STDOUT: %.loc14_16: init @Inner.D.%Inner.loc13_22.1 (%Inner.020) = converted %.loc14_15.1, %.loc14_15.2 [symbolic = %Inner.val (constants.%Inner.val.9f8)] +// CHECK:STDOUT: %.loc14_15.2: init @Inner.D.%Inner.loc13_22.1 (%Inner.6c4) to %return.param = class_init () [symbolic = %Inner.val (constants.%Inner.val.fa0)] +// CHECK:STDOUT: %.loc14_16: init @Inner.D.%Inner.loc13_22.1 (%Inner.6c4) = converted %.loc14_15.1, %.loc14_15.2 [symbolic = %Inner.val (constants.%Inner.val.fa0)] // CHECK:STDOUT: return %.loc14_16 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -841,8 +841,8 @@ class Outer(T:! type) { // CHECK:STDOUT: %T.loc2_14.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.344 -// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.a86 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.e77 +// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.92c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Inner(constants.%T, constants.%U) { @@ -850,36 +850,36 @@ class Outer(T:! type) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Inner.A.type => constants.%Inner.A.type.c3a -// CHECK:STDOUT: %Inner.A => constants.%Inner.A.1b9 -// CHECK:STDOUT: %Inner.B.type => constants.%Inner.B.type.4a6 -// CHECK:STDOUT: %Inner.B => constants.%Inner.B.d89 -// CHECK:STDOUT: %Inner.C.type => constants.%Inner.C.type.c81 -// CHECK:STDOUT: %Inner.C => constants.%Inner.C.06a -// CHECK:STDOUT: %Inner.D.type => constants.%Inner.D.type.e9c -// CHECK:STDOUT: %Inner.D => constants.%Inner.D.a2f +// CHECK:STDOUT: %Inner.A.type => constants.%Inner.A.type.24f +// CHECK:STDOUT: %Inner.A => constants.%Inner.A.54a +// CHECK:STDOUT: %Inner.B.type => constants.%Inner.B.type.ec0 +// CHECK:STDOUT: %Inner.B => constants.%Inner.B.af7 +// CHECK:STDOUT: %Inner.C.type => constants.%Inner.C.type.9fc +// CHECK:STDOUT: %Inner.C => constants.%Inner.C.ce9 +// CHECK:STDOUT: %Inner.D.type => constants.%Inner.D.type.6aa +// CHECK:STDOUT: %Inner.D => constants.%Inner.D.aa1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Inner.A(constants.%T, constants.%U) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Outer.loc4_22.1 => constants.%Outer.0d8 -// CHECK:STDOUT: %.loc4_22.1 => constants.%.351 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.80c +// CHECK:STDOUT: %Outer.loc4_22.1 => constants.%Outer.3b5 +// CHECK:STDOUT: %.loc4_22.1 => constants.%.a27 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.159 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Outer(constants.%U) { // CHECK:STDOUT: %T.loc2_14.1 => constants.%U // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.6dd -// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.c28 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.e6e +// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.635 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Inner.B(constants.%T, constants.%U) { // CHECK:STDOUT: %U => constants.%U -// CHECK:STDOUT: %Outer.loc7_22.1 => constants.%Outer.53a -// CHECK:STDOUT: %.loc7_22.1 => constants.%.5c9 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.eeb +// CHECK:STDOUT: %Outer.loc7_22.1 => constants.%Outer.ef0 +// CHECK:STDOUT: %.loc7_22.1 => constants.%.709 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e97 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Inner(constants.%T, constants.%T) { @@ -887,32 +887,32 @@ class Outer(T:! type) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Inner.A.type => constants.%Inner.A.type.41c -// CHECK:STDOUT: %Inner.A => constants.%Inner.A.4b6 -// CHECK:STDOUT: %Inner.B.type => constants.%Inner.B.type.d8b -// CHECK:STDOUT: %Inner.B => constants.%Inner.B.751 -// CHECK:STDOUT: %Inner.C.type => constants.%Inner.C.type.b29 -// CHECK:STDOUT: %Inner.C => constants.%Inner.C.a92 -// CHECK:STDOUT: %Inner.D.type => constants.%Inner.D.type.08c -// CHECK:STDOUT: %Inner.D => constants.%Inner.D.4df +// CHECK:STDOUT: %Inner.A.type => constants.%Inner.A.type.96a +// CHECK:STDOUT: %Inner.A => constants.%Inner.A.ffa +// CHECK:STDOUT: %Inner.B.type => constants.%Inner.B.type.7a7 +// CHECK:STDOUT: %Inner.B => constants.%Inner.B.919 +// CHECK:STDOUT: %Inner.C.type => constants.%Inner.C.type.072 +// CHECK:STDOUT: %Inner.C => constants.%Inner.C.857 +// CHECK:STDOUT: %Inner.D.type => constants.%Inner.D.type.76e +// CHECK:STDOUT: %Inner.D => constants.%Inner.D.44a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Inner.C(constants.%T, constants.%U) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.344 -// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.a86 -// CHECK:STDOUT: %Inner.loc10_22.1 => constants.%Inner.ae1 -// CHECK:STDOUT: %.loc10_22.1 => constants.%.e20 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.05c +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.e77 +// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.92c +// CHECK:STDOUT: %Inner.loc10_22.1 => constants.%Inner.36f +// CHECK:STDOUT: %.loc10_22.1 => constants.%.188 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.1b2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Inner.D(constants.%T, constants.%U) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.344 -// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.a86 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.e77 +// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.92c // CHECK:STDOUT: %U => constants.%U -// CHECK:STDOUT: %Inner.loc13_22.1 => constants.%Inner.020 -// CHECK:STDOUT: %.loc13_22.1 => constants.%.f8d -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.90a +// CHECK:STDOUT: %Inner.loc13_22.1 => constants.%Inner.6c4 +// CHECK:STDOUT: %.loc13_22.1 => constants.%.f86 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c25 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/complete_in_conversion.carbon b/toolchain/check/testdata/class/generic/complete_in_conversion.carbon index e73058c75891..1e4e83cec740 100644 --- a/toolchain/check/testdata/class/generic/complete_in_conversion.carbon +++ b/toolchain/check/testdata/class/generic/complete_in_conversion.carbon @@ -43,61 +43,61 @@ fn F(a: A(0)*) { // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %.805: Core.Form = init_form type [concrete] // CHECK:STDOUT: %pattern_type.dc0: type = pattern_type Core.IntLiteral [concrete] -// CHECK:STDOUT: %Int.type.d61: type = fn_type @Int.loc2 [concrete] -// CHECK:STDOUT: %Int.69b: %Int.type.d61 = struct_value () [concrete] +// CHECK:STDOUT: %Int.type.d17: type = fn_type @Int.loc2 [concrete] +// CHECK:STDOUT: %Int.c99: %Int.type.d17 = struct_value () [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %Int.type.11a: type = generic_class_type @Int.1 [concrete] -// CHECK:STDOUT: %Int.generic: %Int.type.11a = struct_value () [concrete] +// CHECK:STDOUT: %Int.type.392: type = generic_class_type @Int.1 [concrete] +// CHECK:STDOUT: %Int.generic: %Int.type.392 = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int.1, @Int.1(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %N.afc: %i32 = symbolic_binding N, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %N.bbe: %i32 = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %A.type: type = generic_class_type @A [concrete] // CHECK:STDOUT: %A.generic: %A.type = struct_value () [concrete] -// CHECK:STDOUT: %A.f6a: type = class_type @A, @A(%N.afc) [symbolic] -// CHECK:STDOUT: %A.elem.4fe: type = unbound_element_type %A.f6a, %B [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %A.723: type = class_type @A, @A(%N.bbe) [symbolic] +// CHECK:STDOUT: %A.elem.e23: type = unbound_element_type %A.723, %B [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.73a: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.735: %Int.as.ImplicitAs.impl.Convert.type.73a = struct_value () [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound.483: = bound_method %N.afc, %Int.as.ImplicitAs.impl.Convert.735 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.735, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.470: = bound_method %N.afc, %Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.470(%N.afc) [symbolic] -// CHECK:STDOUT: %iN.builtin.961: type = int_type signed, %Int.as.ImplicitAs.impl.Convert.call [symbolic] -// CHECK:STDOUT: %require_complete.74e: = require_complete_type %iN.builtin.961 [symbolic] -// CHECK:STDOUT: %A.elem.6b3: type = unbound_element_type %A.f6a, %iN.builtin.961 [symbolic] -// CHECK:STDOUT: %struct_type.base.n: type = struct_type {.base: %B, .n: %iN.builtin.961} [symbolic] -// CHECK:STDOUT: %complete_type.638: = complete_type_witness %struct_type.base.n [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.337: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.64e: %Int.as.ImplicitAs.impl.Convert.type.337 = struct_value () [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound.802: = bound_method %N.bbe, %Int.as.ImplicitAs.impl.Convert.64e [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.64e, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.f71: = bound_method %N.bbe, %Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.f71(%N.bbe) [symbolic] +// CHECK:STDOUT: %iN.builtin.a84: type = int_type signed, %Int.as.ImplicitAs.impl.Convert.call [symbolic] +// CHECK:STDOUT: %require_complete.88a: = require_complete_type %iN.builtin.a84 [symbolic] +// CHECK:STDOUT: %A.elem.10f: type = unbound_element_type %A.723, %iN.builtin.a84 [symbolic] +// CHECK:STDOUT: %struct_type.base.n: type = struct_type {.base: %B, .n: %iN.builtin.a84} [symbolic] +// CHECK:STDOUT: %complete_type.aa1: = complete_type_witness %struct_type.base.n [symbolic] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.e78: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.e78) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet.e78 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %A.429: type = class_type @A, @A(%int_0.155) [concrete] -// CHECK:STDOUT: %ptr.fa5: type = ptr_type %A.429 [concrete] -// CHECK:STDOUT: %pattern_type.c61: type = pattern_type %ptr.fa5 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.840: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.840) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet.840 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %A.705: type = class_type @A, @A(%int_0.62d) [concrete] +// CHECK:STDOUT: %ptr.ffd: type = ptr_type %A.705 [concrete] +// CHECK:STDOUT: %pattern_type.9bc: type = pattern_type %ptr.ffd [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.e4c: type = ptr_type %B [concrete] -// CHECK:STDOUT: %pattern_type.383: type = pattern_type %ptr.e4c [concrete] -// CHECK:STDOUT: %A.elem.02e: type = unbound_element_type %A.429, %B [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound.203: = bound_method %int_0.155, %Int.as.ImplicitAs.impl.Convert.735 [concrete] -// CHECK:STDOUT: %bound_method.8ab: = bound_method %int_0.155, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %ptr.294: type = ptr_type %B [concrete] +// CHECK:STDOUT: %pattern_type.bb8: type = pattern_type %ptr.294 [concrete] +// CHECK:STDOUT: %A.elem.666: type = unbound_element_type %A.705, %B [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound.619: = bound_method %int_0.62d, %Int.as.ImplicitAs.impl.Convert.64e [concrete] +// CHECK:STDOUT: %bound_method.fb8: = bound_method %int_0.62d, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -109,10 +109,10 @@ fn F(a: A(0)*) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.IntLiteral: %IntLiteral.type = import_ref Core//prelude/parts/int_literal, IntLiteral, loaded [concrete = constants.%IntLiteral] -// CHECK:STDOUT: %Core.Int: %Int.type.11a = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.Int: %Int.type.392 = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -124,7 +124,7 @@ fn F(a: A(0)*) { // CHECK:STDOUT: .F = %F.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Int.decl: %Int.type.d61 = fn_decl @Int.loc2 [concrete = constants.%Int.69b] { +// CHECK:STDOUT: %Int.decl: %Int.type.d17 = fn_decl @Int.loc2 [concrete = constants.%Int.c99] { // CHECK:STDOUT: %N.param_patt: %pattern_type.dc0 = value_param_pattern [concrete] // CHECK:STDOUT: %N.patt: %pattern_type.dc0 = at_binding_pattern N, %N.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.98f = out_param_pattern [concrete] @@ -146,33 +146,33 @@ fn F(a: A(0)*) { // CHECK:STDOUT: } // CHECK:STDOUT: %B.decl: type = class_decl @B [concrete = constants.%B] {} {} // CHECK:STDOUT: %A.decl: %A.type = class_decl @A [concrete = constants.%A.generic] { -// CHECK:STDOUT: %N.patt: %pattern_type.c6b = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.104 = symbolic_binding_pattern N, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6: type = splice_block %i32 [concrete = constants.%i32] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc6_10.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc6_10.1 (constants.%N.afc)] +// CHECK:STDOUT: %N.loc6_10.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc6_10.1 (constants.%N.bbe)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c61 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c61 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.9bc = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.9bc = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %a.param: %ptr.fa5 = value_param call_param0 -// CHECK:STDOUT: %.loc12_13: type = splice_block %ptr.loc12 [concrete = constants.%ptr.fa5] { +// CHECK:STDOUT: %a.param: %ptr.ffd = value_param call_param0 +// CHECK:STDOUT: %.loc12_13: type = splice_block %ptr.loc12 [concrete = constants.%ptr.ffd] { // CHECK:STDOUT: %A.ref: %A.type = name_ref A, file.%A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc12_12.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc12_12.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc12_12.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc12_12.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc12_12.2: %i32 = converted %int_0, %.loc12_12.1 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %A: type = class_type @A, @A(constants.%int_0.155) [concrete = constants.%A.429] -// CHECK:STDOUT: %ptr.loc12: type = ptr_type %A [concrete = constants.%ptr.fa5] +// CHECK:STDOUT: %bound_method.loc12_12.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc12_12.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc12_12.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc12_12.2: %i32 = converted %int_0, %.loc12_12.1 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %A: type = class_type @A, @A(constants.%int_0.62d) [concrete = constants.%A.705] +// CHECK:STDOUT: %ptr.loc12: type = ptr_type %A [concrete = constants.%ptr.ffd] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.fa5 = value_binding a, %a.param +// CHECK:STDOUT: %a: %ptr.ffd = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -187,29 +187,29 @@ fn F(a: A(0)*) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @A(%N.loc6_10.2: %i32) { -// CHECK:STDOUT: %N.loc6_10.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc6_10.1 (constants.%N.afc)] +// CHECK:STDOUT: %N.loc6_10.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc6_10.1 (constants.%N.bbe)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %A: type = class_type @A, @A(%N.loc6_10.1) [symbolic = %A (constants.%A.f6a)] -// CHECK:STDOUT: %A.elem.loc7: type = unbound_element_type %A, constants.%B [symbolic = %A.elem.loc7 (constants.%A.elem.4fe)] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc6_10.1, constants.%Int.as.ImplicitAs.impl.Convert.735 [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound.483)] -// CHECK:STDOUT: %bound_method: = bound_method %N.loc6_10.1, constants.%Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic = %bound_method (constants.%bound_method.470)] +// CHECK:STDOUT: %A: type = class_type @A, @A(%N.loc6_10.1) [symbolic = %A (constants.%A.723)] +// CHECK:STDOUT: %A.elem.loc7: type = unbound_element_type %A, constants.%B [symbolic = %A.elem.loc7 (constants.%A.elem.e23)] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc6_10.1, constants.%Int.as.ImplicitAs.impl.Convert.64e [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound.802)] +// CHECK:STDOUT: %bound_method: = bound_method %N.loc6_10.1, constants.%Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic = %bound_method (constants.%bound_method.f71)] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method(%N.loc6_10.1) [symbolic = %Int.as.ImplicitAs.impl.Convert.call (constants.%Int.as.ImplicitAs.impl.Convert.call)] -// CHECK:STDOUT: %iN.builtin: type = int_type signed, %Int.as.ImplicitAs.impl.Convert.call [symbolic = %iN.builtin (constants.%iN.builtin.961)] -// CHECK:STDOUT: %require_complete: = require_complete_type %iN.builtin [symbolic = %require_complete (constants.%require_complete.74e)] -// CHECK:STDOUT: %A.elem.loc9: type = unbound_element_type %A, %iN.builtin [symbolic = %A.elem.loc9 (constants.%A.elem.6b3)] -// CHECK:STDOUT: %struct_type.base.n: type = struct_type {.base: %B, .n: @A.%iN.builtin (%iN.builtin.961)} [symbolic = %struct_type.base.n (constants.%struct_type.base.n)] -// CHECK:STDOUT: %complete_type.loc10_1.2: = complete_type_witness %struct_type.base.n [symbolic = %complete_type.loc10_1.2 (constants.%complete_type.638)] +// CHECK:STDOUT: %iN.builtin: type = int_type signed, %Int.as.ImplicitAs.impl.Convert.call [symbolic = %iN.builtin (constants.%iN.builtin.a84)] +// CHECK:STDOUT: %require_complete: = require_complete_type %iN.builtin [symbolic = %require_complete (constants.%require_complete.88a)] +// CHECK:STDOUT: %A.elem.loc9: type = unbound_element_type %A, %iN.builtin [symbolic = %A.elem.loc9 (constants.%A.elem.10f)] +// CHECK:STDOUT: %struct_type.base.n: type = struct_type {.base: %B, .n: @A.%iN.builtin (%iN.builtin.a84)} [symbolic = %struct_type.base.n (constants.%struct_type.base.n)] +// CHECK:STDOUT: %complete_type.loc10_1.2: = complete_type_witness %struct_type.base.n [symbolic = %complete_type.loc10_1.2 (constants.%complete_type.aa1)] // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %.loc7: @A.%A.elem.loc7 (%A.elem.4fe) = base_decl %B.ref, element0 [concrete] -// CHECK:STDOUT: %.loc9: @A.%A.elem.loc9 (%A.elem.6b3) = field_decl n, element1 [concrete] -// CHECK:STDOUT: %complete_type.loc10_1.1: = complete_type_witness constants.%struct_type.base.n [symbolic = %complete_type.loc10_1.2 (constants.%complete_type.638)] +// CHECK:STDOUT: %.loc7: @A.%A.elem.loc7 (%A.elem.e23) = base_decl %B.ref, element0 [concrete] +// CHECK:STDOUT: %.loc9: @A.%A.elem.loc9 (%A.elem.10f) = field_decl n, element1 [concrete] +// CHECK:STDOUT: %complete_type.loc10_1.1: = complete_type_witness constants.%struct_type.base.n [symbolic = %complete_type.loc10_1.2 (constants.%complete_type.aa1)] // CHECK:STDOUT: complete_type_witness = %complete_type.loc10_1.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%A.f6a +// CHECK:STDOUT: .Self = constants.%A.723 // CHECK:STDOUT: .B = // CHECK:STDOUT: .base = %.loc7 // CHECK:STDOUT: .Int = @@ -221,36 +221,36 @@ fn F(a: A(0)*) { // CHECK:STDOUT: // CHECK:STDOUT: fn @Int.loc2(%N.param: Core.IntLiteral) -> out %return.param: type = "int.make_type_signed"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%a.param: %ptr.fa5) { +// CHECK:STDOUT: fn @F(%a.param: %ptr.ffd) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.383 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.bb8 = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.ref: %ptr.fa5 = name_ref a, %a -// CHECK:STDOUT: %.loc20_18: type = splice_block %ptr.loc20 [concrete = constants.%ptr.e4c] { +// CHECK:STDOUT: %a.ref: %ptr.ffd = name_ref a, %a +// CHECK:STDOUT: %.loc20_18: type = splice_block %ptr.loc20 [concrete = constants.%ptr.294] { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %ptr.loc20: type = ptr_type %B.ref [concrete = constants.%ptr.e4c] +// CHECK:STDOUT: %ptr.loc20: type = ptr_type %B.ref [concrete = constants.%ptr.294] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc20_22.1: ref %A.429 = deref %a.ref +// CHECK:STDOUT: %.loc20_22.1: ref %A.705 = deref %a.ref // CHECK:STDOUT: %.loc20_22.2: ref %B = class_element_access %.loc20_22.1, element0 -// CHECK:STDOUT: %addr: %ptr.e4c = addr_of %.loc20_22.2 -// CHECK:STDOUT: %.loc20_22.3: %ptr.e4c = converted %a.ref, %addr -// CHECK:STDOUT: %b: %ptr.e4c = value_binding b, %.loc20_22.3 +// CHECK:STDOUT: %addr: %ptr.294 = addr_of %.loc20_22.2 +// CHECK:STDOUT: %.loc20_22.3: %ptr.294 = converted %a.ref, %addr +// CHECK:STDOUT: %b: %ptr.294 = value_binding b, %.loc20_22.3 // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A(constants.%N.afc) { -// CHECK:STDOUT: %N.loc6_10.1 => constants.%N.afc +// CHECK:STDOUT: specific @A(constants.%N.bbe) { +// CHECK:STDOUT: %N.loc6_10.1 => constants.%N.bbe // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A(constants.%int_0.155) { -// CHECK:STDOUT: %N.loc6_10.1 => constants.%int_0.155 +// CHECK:STDOUT: specific @A(constants.%int_0.62d) { +// CHECK:STDOUT: %N.loc6_10.1 => constants.%int_0.62d // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %A => constants.%A.429 -// CHECK:STDOUT: %A.elem.loc7 => constants.%A.elem.02e -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound => constants.%Int.as.ImplicitAs.impl.Convert.bound.203 -// CHECK:STDOUT: %bound_method => constants.%bound_method.8ab +// CHECK:STDOUT: %A => constants.%A.705 +// CHECK:STDOUT: %A.elem.loc7 => constants.%A.elem.666 +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound => constants.%Int.as.ImplicitAs.impl.Convert.bound.619 +// CHECK:STDOUT: %bound_method => constants.%bound_method.fb8 // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call => constants.%int_0.5c6 // CHECK:STDOUT: %iN.builtin => // CHECK:STDOUT: %require_complete => diff --git a/toolchain/check/testdata/class/generic/field.carbon b/toolchain/check/testdata/class/generic/field.carbon index 90a14a85f567..c86433b25414 100644 --- a/toolchain/check/testdata/class/generic/field.carbon +++ b/toolchain/check/testdata/class/generic/field.carbon @@ -41,9 +41,9 @@ fn H(U:! Core.Copy, c: Class(U)) -> U { // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Class.type: type = generic_class_type @Class [concrete] // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] -// CHECK:STDOUT: %Class.678: type = class_type @Class, @Class(%T.67d) [symbolic] +// CHECK:STDOUT: %Class.e25: type = class_type @Class, @Class(%T.67d) [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67d [symbolic] -// CHECK:STDOUT: %Class.elem.754: type = unbound_element_type %Class.678, %T.67d [symbolic] +// CHECK:STDOUT: %Class.elem.d7a: type = unbound_element_type %Class.e25, %T.67d [symbolic] // CHECK:STDOUT: %struct_type.x.0c5: type = struct_type {.x: %T.67d} [symbolic] // CHECK:STDOUT: %complete_type.735: = complete_type_witness %struct_type.x.0c5 [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] @@ -51,64 +51,64 @@ fn H(U:! Core.Copy, c: Class(U)) -> U { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %Class.368: type = class_type @Class, @Class(%i32) [concrete] -// CHECK:STDOUT: %pattern_type.4b6a: type = pattern_type %Class.368 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Class.4e5: type = class_type @Class, @Class(%i32) [concrete] +// CHECK:STDOUT: %pattern_type.7e9: type = pattern_type %Class.4e5 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %Class.elem.7d0: type = unbound_element_type %Class.368, %i32 [concrete] -// CHECK:STDOUT: %struct_type.x.2bb: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fa5: = complete_type_witness %struct_type.x.2bb [concrete] +// CHECK:STDOUT: %Class.elem.3ae: type = unbound_element_type %Class.4e5, %i32 [concrete] +// CHECK:STDOUT: %struct_type.x.06a: type = struct_type {.x: %i32} [concrete] +// CHECK:STDOUT: %complete_type.9a8: = complete_type_witness %struct_type.x.06a [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.228 [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c494ff.1: = lookup_impl_witness %T.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.228) [symbolic] -// CHECK:STDOUT: %.12f564.1: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.2, %T.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbdbfc.1: %.12f564.1 = impl_witness_access %Copy.lookup_impl_witness.c494ff.1, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f227.1: = specific_impl_function %impl.elem0.cbdbfc.1, @Copy.WithSelf.Op(%T.228) [symbolic] -// CHECK:STDOUT: %.9ff809.2: Core.Form = init_form %T.as_type [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %require_complete.c28bd3.1: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %pattern_type.35b: type = pattern_type %Copy.type [concrete] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %Class.6a7041.1: type = class_type @Class, @Class(%T.as_type) [symbolic] -// CHECK:STDOUT: %pattern_type.ebbf6f.1: type = pattern_type %Class.6a7041.1 [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.f49 [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2ddaf7.1: = lookup_impl_witness %T.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.f49) [symbolic] +// CHECK:STDOUT: %.e16121.1: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.2, %T.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e7eb.1: %.e16121.1 = impl_witness_access %Copy.lookup_impl_witness.2ddaf7.1, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ecd07.1: = specific_impl_function %impl.elem0.41e7eb.1, @Copy.WithSelf.Op(%T.f49) [symbolic] +// CHECK:STDOUT: %.dedae6.2: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %require_complete.77e193.1: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.b72: type = pattern_type %Copy.type [concrete] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Class.fd471f.1: type = class_type @Class, @Class(%T.as_type) [symbolic] +// CHECK:STDOUT: %pattern_type.9287e8.1: type = pattern_type %Class.fd471f.1 [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %Class.elem.f04caa.1: type = unbound_element_type %Class.6a7041.1, %T.as_type [symbolic] -// CHECK:STDOUT: %struct_type.x.f20f60.1: type = struct_type {.x: %T.as_type} [symbolic] -// CHECK:STDOUT: %complete_type.f15d80.1: = complete_type_witness %struct_type.x.f20f60.1 [symbolic] -// CHECK:STDOUT: %require_complete.3f8b10.1: = require_complete_type %Class.6a7041.1 [symbolic] -// CHECK:STDOUT: %U.228: %Copy.type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %U.as_type.91a: type = facet_access_type %U.228 [symbolic] -// CHECK:STDOUT: %Class.6a7041.2: type = class_type @Class, @Class(%U.as_type.91a) [symbolic] -// CHECK:STDOUT: %pattern_type.ebbf6f.2: type = pattern_type %Class.6a7041.2 [symbolic] -// CHECK:STDOUT: %.9ff809.3: Core.Form = init_form %U.as_type.91a [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.3: type = pattern_type %U.as_type.91a [symbolic] +// CHECK:STDOUT: %Class.elem.ecafe7.1: type = unbound_element_type %Class.fd471f.1, %T.as_type [symbolic] +// CHECK:STDOUT: %struct_type.x.419606.1: type = struct_type {.x: %T.as_type} [symbolic] +// CHECK:STDOUT: %complete_type.dd36b8.1: = complete_type_witness %struct_type.x.419606.1 [symbolic] +// CHECK:STDOUT: %require_complete.892f16.1: = require_complete_type %Class.fd471f.1 [symbolic] +// CHECK:STDOUT: %U.f49: %Copy.type = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %U.as_type.09c: type = facet_access_type %U.f49 [symbolic] +// CHECK:STDOUT: %Class.fd471f.2: type = class_type @Class, @Class(%U.as_type.09c) [symbolic] +// CHECK:STDOUT: %pattern_type.9287e8.2: type = pattern_type %Class.fd471f.2 [symbolic] +// CHECK:STDOUT: %.dedae6.3: Core.Form = init_form %U.as_type.09c [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.3: type = pattern_type %U.as_type.09c [symbolic] // CHECK:STDOUT: %H.type: type = fn_type @H [concrete] // CHECK:STDOUT: %H: %H.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.c28bd3.2: = require_complete_type %U.as_type.91a [symbolic] -// CHECK:STDOUT: %Class.elem.f04caa.2: type = unbound_element_type %Class.6a7041.2, %U.as_type.91a [symbolic] -// CHECK:STDOUT: %struct_type.x.f20f60.2: type = struct_type {.x: %U.as_type.91a} [symbolic] -// CHECK:STDOUT: %complete_type.f15d80.2: = complete_type_witness %struct_type.x.f20f60.2 [symbolic] -// CHECK:STDOUT: %require_complete.3f8b10.2: = require_complete_type %Class.6a7041.2 [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c494ff.2: = lookup_impl_witness %U.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.3: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%U.228) [symbolic] -// CHECK:STDOUT: %.12f564.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.3, %U.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbdbfc.2: %.12f564.2 = impl_witness_access %Copy.lookup_impl_witness.c494ff.2, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f227.2: = specific_impl_function %impl.elem0.cbdbfc.2, @Copy.WithSelf.Op(%U.228) [symbolic] +// CHECK:STDOUT: %require_complete.77e193.2: = require_complete_type %U.as_type.09c [symbolic] +// CHECK:STDOUT: %Class.elem.ecafe7.2: type = unbound_element_type %Class.fd471f.2, %U.as_type.09c [symbolic] +// CHECK:STDOUT: %struct_type.x.419606.2: type = struct_type {.x: %U.as_type.09c} [symbolic] +// CHECK:STDOUT: %complete_type.dd36b8.2: = complete_type_witness %struct_type.x.419606.2 [symbolic] +// CHECK:STDOUT: %require_complete.892f16.2: = require_complete_type %Class.fd471f.2 [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2ddaf7.2: = lookup_impl_witness %U.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.3: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%U.f49) [symbolic] +// CHECK:STDOUT: %.e16121.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.3, %U.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e7eb.2: %.e16121.2 = impl_witness_access %Copy.lookup_impl_witness.2ddaf7.2, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ecd07.2: = specific_impl_function %impl.elem0.41e7eb.2, @Copy.WithSelf.Op(%U.f49) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -120,8 +120,8 @@ fn H(U:! Core.Copy, c: Class(U)) -> U { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -135,80 +135,80 @@ fn H(U:! Core.Copy, c: Class(U)) -> U { // CHECK:STDOUT: %T.loc5_14.2: type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.4b6a = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.4b6a = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc9_24 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.7e9 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.7e9 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc9_24 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc9_24: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc9_24: Core.Form = init_form %i32.loc9_24 [concrete = constants.%.70c] -// CHECK:STDOUT: %c.param: %Class.368 = value_param call_param0 -// CHECK:STDOUT: %.loc9_18: type = splice_block %Class [concrete = constants.%Class.368] { +// CHECK:STDOUT: %.loc9_24: Core.Form = init_form %i32.loc9_24 [concrete = constants.%.7ea] +// CHECK:STDOUT: %c.param: %Class.4e5 = value_param call_param0 +// CHECK:STDOUT: %.loc9_18: type = splice_block %Class [concrete = constants.%Class.4e5] { // CHECK:STDOUT: %Class.ref: %Class.type = name_ref Class, file.%Class.decl [concrete = constants.%Class.generic] // CHECK:STDOUT: %i32.loc9_15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Class: type = class_type @Class, @Class(constants.%i32) [concrete = constants.%Class.368] +// CHECK:STDOUT: %Class: type = class_type @Class, @Class(constants.%i32) [concrete = constants.%Class.4e5] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %Class.368 = value_binding c, %c.param +// CHECK:STDOUT: %c: %Class.4e5 = value_binding c, %c.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %T.patt: %pattern_type.35b = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %c.param_patt: @G.%pattern_type.loc13_22 (%pattern_type.ebbf6f.1) = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: @G.%pattern_type.loc13_22 (%pattern_type.ebbf6f.1) = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @G.%pattern_type.loc13_37 (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @G.%pattern_type.loc13_37 (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc13_37.3 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.b72 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %c.param_patt: @G.%pattern_type.loc13_22 (%pattern_type.9287e8.1) = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: @G.%pattern_type.loc13_22 (%pattern_type.9287e8.1) = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @G.%pattern_type.loc13_37 (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @G.%pattern_type.loc13_37 (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc13_37.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc13_37: %Copy.type = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc13_37: %Copy.type = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc13_37: type = facet_access_type %T.ref.loc13_37 [symbolic = %T.as_type.loc13_31.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc13_37.3: type = converted %T.ref.loc13_37, %T.as_type.loc13_37 [symbolic = %T.as_type.loc13_31.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc13_37.4: Core.Form = init_form %.loc13_37.3 [symbolic = %.loc13_37.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %.loc13_37.4: Core.Form = init_form %.loc13_37.3 [symbolic = %.loc13_37.2 (constants.%.dedae6.2)] // CHECK:STDOUT: %.loc13_14: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc13_7.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T.228)] -// CHECK:STDOUT: %c.param: @G.%Class.loc13_31.1 (%Class.6a7041.1) = value_param call_param0 -// CHECK:STDOUT: %.loc13_31.1: type = splice_block %Class.loc13_31.2 [symbolic = %Class.loc13_31.1 (constants.%Class.6a7041.1)] { +// CHECK:STDOUT: %T.loc13_7.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T.f49)] +// CHECK:STDOUT: %c.param: @G.%Class.loc13_31.1 (%Class.fd471f.1) = value_param call_param0 +// CHECK:STDOUT: %.loc13_31.1: type = splice_block %Class.loc13_31.2 [symbolic = %Class.loc13_31.1 (constants.%Class.fd471f.1)] { // CHECK:STDOUT: %Class.ref: %Class.type = name_ref Class, file.%Class.decl [concrete = constants.%Class.generic] -// CHECK:STDOUT: %T.ref.loc13_30: %Copy.type = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc13_30: %Copy.type = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc13_31.2: type = facet_access_type %T.ref.loc13_30 [symbolic = %T.as_type.loc13_31.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc13_31.2: type = converted %T.ref.loc13_30, %T.as_type.loc13_31.2 [symbolic = %T.as_type.loc13_31.1 (constants.%T.as_type)] -// CHECK:STDOUT: %Class.loc13_31.2: type = class_type @Class, @Class(constants.%T.as_type) [symbolic = %Class.loc13_31.1 (constants.%Class.6a7041.1)] +// CHECK:STDOUT: %Class.loc13_31.2: type = class_type @Class, @Class(constants.%T.as_type) [symbolic = %Class.loc13_31.1 (constants.%Class.fd471f.1)] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: @G.%Class.loc13_31.1 (%Class.6a7041.1) = value_binding c, %c.param +// CHECK:STDOUT: %c: @G.%Class.loc13_31.1 (%Class.fd471f.1) = value_binding c, %c.param // CHECK:STDOUT: %return.param: ref @G.%T.as_type.loc13_31.1 (%T.as_type) = out_param call_param1 // CHECK:STDOUT: %return: ref @G.%T.as_type.loc13_31.1 (%T.as_type) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %H.decl: %H.type = fn_decl @H [concrete = constants.%H] { -// CHECK:STDOUT: %U.patt: %pattern_type.35b = symbolic_binding_pattern U, 0 [concrete] -// CHECK:STDOUT: %c.param_patt: @H.%pattern_type.loc17_22 (%pattern_type.ebbf6f.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: @H.%pattern_type.loc17_22 (%pattern_type.ebbf6f.2) = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @H.%pattern_type.loc17_37 (%pattern_type.4b69d0.3) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @H.%pattern_type.loc17_37 (%pattern_type.4b69d0.3) = return_slot_pattern %return.param_patt, %.loc17_37.3 [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.b72 = symbolic_binding_pattern U, 0 [concrete] +// CHECK:STDOUT: %c.param_patt: @H.%pattern_type.loc17_22 (%pattern_type.9287e8.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: @H.%pattern_type.loc17_22 (%pattern_type.9287e8.2) = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @H.%pattern_type.loc17_37 (%pattern_type.c0fdca.3) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @H.%pattern_type.loc17_37 (%pattern_type.c0fdca.3) = return_slot_pattern %return.param_patt, %.loc17_37.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %U.ref.loc17_37: %Copy.type = name_ref U, %U.loc17_7.2 [symbolic = %U.loc17_7.1 (constants.%U.228)] -// CHECK:STDOUT: %U.as_type.loc17_37: type = facet_access_type %U.ref.loc17_37 [symbolic = %U.as_type.loc17_31.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %.loc17_37.3: type = converted %U.ref.loc17_37, %U.as_type.loc17_37 [symbolic = %U.as_type.loc17_31.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %.loc17_37.4: Core.Form = init_form %.loc17_37.3 [symbolic = %.loc17_37.2 (constants.%.9ff809.3)] +// CHECK:STDOUT: %U.ref.loc17_37: %Copy.type = name_ref U, %U.loc17_7.2 [symbolic = %U.loc17_7.1 (constants.%U.f49)] +// CHECK:STDOUT: %U.as_type.loc17_37: type = facet_access_type %U.ref.loc17_37 [symbolic = %U.as_type.loc17_31.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %.loc17_37.3: type = converted %U.ref.loc17_37, %U.as_type.loc17_37 [symbolic = %U.as_type.loc17_31.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %.loc17_37.4: Core.Form = init_form %.loc17_37.3 [symbolic = %.loc17_37.2 (constants.%.dedae6.3)] // CHECK:STDOUT: %.loc17_14: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc17_7.2: %Copy.type = symbolic_binding U, 0 [symbolic = %U.loc17_7.1 (constants.%U.228)] -// CHECK:STDOUT: %c.param: @H.%Class.loc17_31.1 (%Class.6a7041.2) = value_param call_param0 -// CHECK:STDOUT: %.loc17_31.1: type = splice_block %Class.loc17_31.2 [symbolic = %Class.loc17_31.1 (constants.%Class.6a7041.2)] { +// CHECK:STDOUT: %U.loc17_7.2: %Copy.type = symbolic_binding U, 0 [symbolic = %U.loc17_7.1 (constants.%U.f49)] +// CHECK:STDOUT: %c.param: @H.%Class.loc17_31.1 (%Class.fd471f.2) = value_param call_param0 +// CHECK:STDOUT: %.loc17_31.1: type = splice_block %Class.loc17_31.2 [symbolic = %Class.loc17_31.1 (constants.%Class.fd471f.2)] { // CHECK:STDOUT: %Class.ref: %Class.type = name_ref Class, file.%Class.decl [concrete = constants.%Class.generic] -// CHECK:STDOUT: %U.ref.loc17_30: %Copy.type = name_ref U, %U.loc17_7.2 [symbolic = %U.loc17_7.1 (constants.%U.228)] -// CHECK:STDOUT: %U.as_type.loc17_31.2: type = facet_access_type %U.ref.loc17_30 [symbolic = %U.as_type.loc17_31.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %.loc17_31.2: type = converted %U.ref.loc17_30, %U.as_type.loc17_31.2 [symbolic = %U.as_type.loc17_31.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %Class.loc17_31.2: type = class_type @Class, @Class(constants.%U.as_type.91a) [symbolic = %Class.loc17_31.1 (constants.%Class.6a7041.2)] +// CHECK:STDOUT: %U.ref.loc17_30: %Copy.type = name_ref U, %U.loc17_7.2 [symbolic = %U.loc17_7.1 (constants.%U.f49)] +// CHECK:STDOUT: %U.as_type.loc17_31.2: type = facet_access_type %U.ref.loc17_30 [symbolic = %U.as_type.loc17_31.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %.loc17_31.2: type = converted %U.ref.loc17_30, %U.as_type.loc17_31.2 [symbolic = %U.as_type.loc17_31.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %Class.loc17_31.2: type = class_type @Class, @Class(constants.%U.as_type.09c) [symbolic = %Class.loc17_31.1 (constants.%Class.fd471f.2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: @H.%Class.loc17_31.1 (%Class.6a7041.2) = value_binding c, %c.param -// CHECK:STDOUT: %return.param: ref @H.%U.as_type.loc17_31.1 (%U.as_type.91a) = out_param call_param1 -// CHECK:STDOUT: %return: ref @H.%U.as_type.loc17_31.1 (%U.as_type.91a) = return_slot %return.param +// CHECK:STDOUT: %c: @H.%Class.loc17_31.1 (%Class.fd471f.2) = value_binding c, %c.param +// CHECK:STDOUT: %return.param: ref @H.%U.as_type.loc17_31.1 (%U.as_type.09c) = out_param call_param1 +// CHECK:STDOUT: %return: ref @H.%U.as_type.loc17_31.1 (%U.as_type.09c) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -217,30 +217,30 @@ fn H(U:! Core.Copy, c: Class(U)) -> U { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.loc5_14.1 [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.loc5_14.1) [symbolic = %Class (constants.%Class.678)] -// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.loc5_14.1 [symbolic = %Class.elem (constants.%Class.elem.754)] +// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.loc5_14.1) [symbolic = %Class (constants.%Class.e25)] +// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.loc5_14.1 [symbolic = %Class.elem (constants.%Class.elem.d7a)] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: @Class.%T.loc5_14.1 (%T.67d)} [symbolic = %struct_type.x (constants.%struct_type.x.0c5)] // CHECK:STDOUT: %complete_type.loc7_1.2: = complete_type_witness %struct_type.x [symbolic = %complete_type.loc7_1.2 (constants.%complete_type.735)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %.loc6: @Class.%Class.elem (%Class.elem.754) = field_decl x, element0 [concrete] +// CHECK:STDOUT: %.loc6: @Class.%Class.elem (%Class.elem.d7a) = field_decl x, element0 [concrete] // CHECK:STDOUT: %complete_type.loc7_1.1: = complete_type_witness constants.%struct_type.x.0c5 [symbolic = %complete_type.loc7_1.2 (constants.%complete_type.735)] // CHECK:STDOUT: complete_type_witness = %complete_type.loc7_1.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Class.678 +// CHECK:STDOUT: .Self = constants.%Class.e25 // CHECK:STDOUT: .T = // CHECK:STDOUT: .x = %.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%c.param: %Class.368) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @F(%c.param: %Class.4e5) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %c.ref: %Class.368 = name_ref c, %c -// CHECK:STDOUT: %x.ref: %Class.elem.7d0 = name_ref x, @Class.%.loc6 [concrete = @Class.%.loc6] +// CHECK:STDOUT: %c.ref: %Class.4e5 = name_ref c, %c +// CHECK:STDOUT: %x.ref: %Class.elem.3ae = name_ref x, @Class.%.loc6 [concrete = @Class.%.loc6] // CHECK:STDOUT: %.loc10_11.1: ref %i32 = class_element_access %c.ref, element0 // CHECK:STDOUT: %.loc10_11.2: %i32 = acquire_value %.loc10_11.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc10_11.1: = bound_method %.loc10_11.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc10_11.2: = bound_method %.loc10_11.2, %specific_fn @@ -249,32 +249,32 @@ fn H(U:! Core.Copy, c: Class(U)) -> U { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @G(%T.loc13_7.2: %Copy.type) { -// CHECK:STDOUT: %T.loc13_7.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc13_7.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc13_31.1: type = facet_access_type %T.loc13_7.1 [symbolic = %T.as_type.loc13_31.1 (constants.%T.as_type)] -// CHECK:STDOUT: %Class.loc13_31.1: type = class_type @Class, @Class(%T.as_type.loc13_31.1) [symbolic = %Class.loc13_31.1 (constants.%Class.6a7041.1)] -// CHECK:STDOUT: %pattern_type.loc13_22: type = pattern_type %Class.loc13_31.1 [symbolic = %pattern_type.loc13_22 (constants.%pattern_type.ebbf6f.1)] -// CHECK:STDOUT: %.loc13_37.2: Core.Form = init_form %T.as_type.loc13_31.1 [symbolic = %.loc13_37.2 (constants.%.9ff809.2)] -// CHECK:STDOUT: %pattern_type.loc13_37: type = pattern_type %T.as_type.loc13_31.1 [symbolic = %pattern_type.loc13_37 (constants.%pattern_type.4b69d0.2)] +// CHECK:STDOUT: %Class.loc13_31.1: type = class_type @Class, @Class(%T.as_type.loc13_31.1) [symbolic = %Class.loc13_31.1 (constants.%Class.fd471f.1)] +// CHECK:STDOUT: %pattern_type.loc13_22: type = pattern_type %Class.loc13_31.1 [symbolic = %pattern_type.loc13_22 (constants.%pattern_type.9287e8.1)] +// CHECK:STDOUT: %.loc13_37.2: Core.Form = init_form %T.as_type.loc13_31.1 [symbolic = %.loc13_37.2 (constants.%.dedae6.2)] +// CHECK:STDOUT: %pattern_type.loc13_37: type = pattern_type %T.as_type.loc13_31.1 [symbolic = %pattern_type.loc13_37 (constants.%pattern_type.c0fdca.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc13: = require_complete_type %Class.loc13_31.1 [symbolic = %require_complete.loc13 (constants.%require_complete.3f8b10.1)] -// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class.loc13_31.1, %T.as_type.loc13_31.1 [symbolic = %Class.elem (constants.%Class.elem.f04caa.1)] -// CHECK:STDOUT: %require_complete.loc14: = require_complete_type %T.as_type.loc13_31.1 [symbolic = %require_complete.loc14 (constants.%require_complete.c28bd3.1)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc13_7.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc14_11.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc13_7.1 [symbolic = %.loc14_11.3 (constants.%.12f564.1)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc13_7.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c494ff.1)] -// CHECK:STDOUT: %impl.elem0.loc14_11.2: @G.%.loc14_11.3 (%.12f564.1) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_11.2 (constants.%impl.elem0.cbdbfc.1)] -// CHECK:STDOUT: %specific_impl_fn.loc14_11.2: = specific_impl_function %impl.elem0.loc14_11.2, @Copy.WithSelf.Op(%T.loc13_7.1) [symbolic = %specific_impl_fn.loc14_11.2 (constants.%specific_impl_fn.c5f227.1)] +// CHECK:STDOUT: %require_complete.loc13: = require_complete_type %Class.loc13_31.1 [symbolic = %require_complete.loc13 (constants.%require_complete.892f16.1)] +// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class.loc13_31.1, %T.as_type.loc13_31.1 [symbolic = %Class.elem (constants.%Class.elem.ecafe7.1)] +// CHECK:STDOUT: %require_complete.loc14: = require_complete_type %T.as_type.loc13_31.1 [symbolic = %require_complete.loc14 (constants.%require_complete.77e193.1)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc13_7.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc14_11.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc13_7.1 [symbolic = %.loc14_11.3 (constants.%.e16121.1)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc13_7.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2ddaf7.1)] +// CHECK:STDOUT: %impl.elem0.loc14_11.2: @G.%.loc14_11.3 (%.e16121.1) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_11.2 (constants.%impl.elem0.41e7eb.1)] +// CHECK:STDOUT: %specific_impl_fn.loc14_11.2: = specific_impl_function %impl.elem0.loc14_11.2, @Copy.WithSelf.Op(%T.loc13_7.1) [symbolic = %specific_impl_fn.loc14_11.2 (constants.%specific_impl_fn.7ecd07.1)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%c.param: @G.%Class.loc13_31.1 (%Class.6a7041.1)) -> out %return.param: @G.%T.as_type.loc13_31.1 (%T.as_type) { +// CHECK:STDOUT: fn(%c.param: @G.%Class.loc13_31.1 (%Class.fd471f.1)) -> out %return.param: @G.%T.as_type.loc13_31.1 (%T.as_type) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %c.ref: @G.%Class.loc13_31.1 (%Class.6a7041.1) = name_ref c, %c -// CHECK:STDOUT: %x.ref: @G.%Class.elem (%Class.elem.f04caa.1) = name_ref x, @Class.%.loc6 [concrete = @Class.%.loc6] +// CHECK:STDOUT: %c.ref: @G.%Class.loc13_31.1 (%Class.fd471f.1) = name_ref c, %c +// CHECK:STDOUT: %x.ref: @G.%Class.elem (%Class.elem.ecafe7.1) = name_ref x, @Class.%.loc6 [concrete = @Class.%.loc6] // CHECK:STDOUT: %.loc14_11.1: ref @G.%T.as_type.loc13_31.1 (%T.as_type) = class_element_access %c.ref, element0 // CHECK:STDOUT: %.loc14_11.2: @G.%T.as_type.loc13_31.1 (%T.as_type) = acquire_value %.loc14_11.1 -// CHECK:STDOUT: %impl.elem0.loc14_11.1: @G.%.loc14_11.3 (%.12f564.1) = impl_witness_access constants.%Copy.lookup_impl_witness.c494ff.1, element0 [symbolic = %impl.elem0.loc14_11.2 (constants.%impl.elem0.cbdbfc.1)] +// CHECK:STDOUT: %impl.elem0.loc14_11.1: @G.%.loc14_11.3 (%.e16121.1) = impl_witness_access constants.%Copy.lookup_impl_witness.2ddaf7.1, element0 [symbolic = %impl.elem0.loc14_11.2 (constants.%impl.elem0.41e7eb.1)] // CHECK:STDOUT: %bound_method.loc14_11.1: = bound_method %.loc14_11.2, %impl.elem0.loc14_11.1 -// CHECK:STDOUT: %specific_impl_fn.loc14_11.1: = specific_impl_function %impl.elem0.loc14_11.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc14_11.2 (constants.%specific_impl_fn.c5f227.1)] +// CHECK:STDOUT: %specific_impl_fn.loc14_11.1: = specific_impl_function %impl.elem0.loc14_11.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc14_11.2 (constants.%specific_impl_fn.7ecd07.1)] // CHECK:STDOUT: %bound_method.loc14_11.2: = bound_method %.loc14_11.2, %specific_impl_fn.loc14_11.1 // CHECK:STDOUT: %.loc13_37.1: ref @G.%T.as_type.loc13_31.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @G.%T.as_type.loc13_31.1 (%T.as_type) to %.loc13_37.1 = call %bound_method.loc14_11.2(%.loc14_11.2) @@ -283,35 +283,35 @@ fn H(U:! Core.Copy, c: Class(U)) -> U { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @H(%U.loc17_7.2: %Copy.type) { -// CHECK:STDOUT: %U.loc17_7.1: %Copy.type = symbolic_binding U, 0 [symbolic = %U.loc17_7.1 (constants.%U.228)] -// CHECK:STDOUT: %U.as_type.loc17_31.1: type = facet_access_type %U.loc17_7.1 [symbolic = %U.as_type.loc17_31.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %Class.loc17_31.1: type = class_type @Class, @Class(%U.as_type.loc17_31.1) [symbolic = %Class.loc17_31.1 (constants.%Class.6a7041.2)] -// CHECK:STDOUT: %pattern_type.loc17_22: type = pattern_type %Class.loc17_31.1 [symbolic = %pattern_type.loc17_22 (constants.%pattern_type.ebbf6f.2)] -// CHECK:STDOUT: %.loc17_37.2: Core.Form = init_form %U.as_type.loc17_31.1 [symbolic = %.loc17_37.2 (constants.%.9ff809.3)] -// CHECK:STDOUT: %pattern_type.loc17_37: type = pattern_type %U.as_type.loc17_31.1 [symbolic = %pattern_type.loc17_37 (constants.%pattern_type.4b69d0.3)] +// CHECK:STDOUT: %U.loc17_7.1: %Copy.type = symbolic_binding U, 0 [symbolic = %U.loc17_7.1 (constants.%U.f49)] +// CHECK:STDOUT: %U.as_type.loc17_31.1: type = facet_access_type %U.loc17_7.1 [symbolic = %U.as_type.loc17_31.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %Class.loc17_31.1: type = class_type @Class, @Class(%U.as_type.loc17_31.1) [symbolic = %Class.loc17_31.1 (constants.%Class.fd471f.2)] +// CHECK:STDOUT: %pattern_type.loc17_22: type = pattern_type %Class.loc17_31.1 [symbolic = %pattern_type.loc17_22 (constants.%pattern_type.9287e8.2)] +// CHECK:STDOUT: %.loc17_37.2: Core.Form = init_form %U.as_type.loc17_31.1 [symbolic = %.loc17_37.2 (constants.%.dedae6.3)] +// CHECK:STDOUT: %pattern_type.loc17_37: type = pattern_type %U.as_type.loc17_31.1 [symbolic = %pattern_type.loc17_37 (constants.%pattern_type.c0fdca.3)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc17: = require_complete_type %Class.loc17_31.1 [symbolic = %require_complete.loc17 (constants.%require_complete.3f8b10.2)] -// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class.loc17_31.1, %U.as_type.loc17_31.1 [symbolic = %Class.elem (constants.%Class.elem.f04caa.2)] -// CHECK:STDOUT: %require_complete.loc18: = require_complete_type %U.as_type.loc17_31.1 [symbolic = %require_complete.loc18 (constants.%require_complete.c28bd3.2)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%U.loc17_7.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.3)] -// CHECK:STDOUT: %.loc18_11.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %U.loc17_7.1 [symbolic = %.loc18_11.3 (constants.%.12f564.2)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %U.loc17_7.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c494ff.2)] -// CHECK:STDOUT: %impl.elem0.loc18_11.2: @H.%.loc18_11.3 (%.12f564.2) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc18_11.2 (constants.%impl.elem0.cbdbfc.2)] -// CHECK:STDOUT: %specific_impl_fn.loc18_11.2: = specific_impl_function %impl.elem0.loc18_11.2, @Copy.WithSelf.Op(%U.loc17_7.1) [symbolic = %specific_impl_fn.loc18_11.2 (constants.%specific_impl_fn.c5f227.2)] +// CHECK:STDOUT: %require_complete.loc17: = require_complete_type %Class.loc17_31.1 [symbolic = %require_complete.loc17 (constants.%require_complete.892f16.2)] +// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class.loc17_31.1, %U.as_type.loc17_31.1 [symbolic = %Class.elem (constants.%Class.elem.ecafe7.2)] +// CHECK:STDOUT: %require_complete.loc18: = require_complete_type %U.as_type.loc17_31.1 [symbolic = %require_complete.loc18 (constants.%require_complete.77e193.2)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%U.loc17_7.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.3)] +// CHECK:STDOUT: %.loc18_11.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %U.loc17_7.1 [symbolic = %.loc18_11.3 (constants.%.e16121.2)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %U.loc17_7.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2ddaf7.2)] +// CHECK:STDOUT: %impl.elem0.loc18_11.2: @H.%.loc18_11.3 (%.e16121.2) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc18_11.2 (constants.%impl.elem0.41e7eb.2)] +// CHECK:STDOUT: %specific_impl_fn.loc18_11.2: = specific_impl_function %impl.elem0.loc18_11.2, @Copy.WithSelf.Op(%U.loc17_7.1) [symbolic = %specific_impl_fn.loc18_11.2 (constants.%specific_impl_fn.7ecd07.2)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%c.param: @H.%Class.loc17_31.1 (%Class.6a7041.2)) -> out %return.param: @H.%U.as_type.loc17_31.1 (%U.as_type.91a) { +// CHECK:STDOUT: fn(%c.param: @H.%Class.loc17_31.1 (%Class.fd471f.2)) -> out %return.param: @H.%U.as_type.loc17_31.1 (%U.as_type.09c) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %c.ref: @H.%Class.loc17_31.1 (%Class.6a7041.2) = name_ref c, %c -// CHECK:STDOUT: %x.ref: @H.%Class.elem (%Class.elem.f04caa.2) = name_ref x, @Class.%.loc6 [concrete = @Class.%.loc6] -// CHECK:STDOUT: %.loc18_11.1: ref @H.%U.as_type.loc17_31.1 (%U.as_type.91a) = class_element_access %c.ref, element0 -// CHECK:STDOUT: %.loc18_11.2: @H.%U.as_type.loc17_31.1 (%U.as_type.91a) = acquire_value %.loc18_11.1 -// CHECK:STDOUT: %impl.elem0.loc18_11.1: @H.%.loc18_11.3 (%.12f564.2) = impl_witness_access constants.%Copy.lookup_impl_witness.c494ff.2, element0 [symbolic = %impl.elem0.loc18_11.2 (constants.%impl.elem0.cbdbfc.2)] +// CHECK:STDOUT: %c.ref: @H.%Class.loc17_31.1 (%Class.fd471f.2) = name_ref c, %c +// CHECK:STDOUT: %x.ref: @H.%Class.elem (%Class.elem.ecafe7.2) = name_ref x, @Class.%.loc6 [concrete = @Class.%.loc6] +// CHECK:STDOUT: %.loc18_11.1: ref @H.%U.as_type.loc17_31.1 (%U.as_type.09c) = class_element_access %c.ref, element0 +// CHECK:STDOUT: %.loc18_11.2: @H.%U.as_type.loc17_31.1 (%U.as_type.09c) = acquire_value %.loc18_11.1 +// CHECK:STDOUT: %impl.elem0.loc18_11.1: @H.%.loc18_11.3 (%.e16121.2) = impl_witness_access constants.%Copy.lookup_impl_witness.2ddaf7.2, element0 [symbolic = %impl.elem0.loc18_11.2 (constants.%impl.elem0.41e7eb.2)] // CHECK:STDOUT: %bound_method.loc18_11.1: = bound_method %.loc18_11.2, %impl.elem0.loc18_11.1 -// CHECK:STDOUT: %specific_impl_fn.loc18_11.1: = specific_impl_function %impl.elem0.loc18_11.1, @Copy.WithSelf.Op(constants.%U.228) [symbolic = %specific_impl_fn.loc18_11.2 (constants.%specific_impl_fn.c5f227.2)] +// CHECK:STDOUT: %specific_impl_fn.loc18_11.1: = specific_impl_function %impl.elem0.loc18_11.1, @Copy.WithSelf.Op(constants.%U.f49) [symbolic = %specific_impl_fn.loc18_11.2 (constants.%specific_impl_fn.7ecd07.2)] // CHECK:STDOUT: %bound_method.loc18_11.2: = bound_method %.loc18_11.2, %specific_impl_fn.loc18_11.1 -// CHECK:STDOUT: %.loc17_37.1: ref @H.%U.as_type.loc17_31.1 (%U.as_type.91a) = splice_block %return.param {} -// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @H.%U.as_type.loc17_31.1 (%U.as_type.91a) to %.loc17_37.1 = call %bound_method.loc18_11.2(%.loc18_11.2) +// CHECK:STDOUT: %.loc17_37.1: ref @H.%U.as_type.loc17_31.1 (%U.as_type.09c) = splice_block %return.param {} +// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @H.%U.as_type.loc17_31.1 (%U.as_type.09c) to %.loc17_37.1 = call %bound_method.loc18_11.2(%.loc18_11.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -325,49 +325,49 @@ fn H(U:! Core.Copy, c: Class(U)) -> U { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %Class => constants.%Class.368 -// CHECK:STDOUT: %Class.elem => constants.%Class.elem.7d0 -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.2bb -// CHECK:STDOUT: %complete_type.loc7_1.2 => constants.%complete_type.fa5 +// CHECK:STDOUT: %Class => constants.%Class.4e5 +// CHECK:STDOUT: %Class.elem => constants.%Class.elem.3ae +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.06a +// CHECK:STDOUT: %complete_type.loc7_1.2 => constants.%complete_type.9a8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class(constants.%T.as_type) { // CHECK:STDOUT: %T.loc5_14.1 => constants.%T.as_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.c28bd3.1 -// CHECK:STDOUT: %Class => constants.%Class.6a7041.1 -// CHECK:STDOUT: %Class.elem => constants.%Class.elem.f04caa.1 -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.f20f60.1 -// CHECK:STDOUT: %complete_type.loc7_1.2 => constants.%complete_type.f15d80.1 +// CHECK:STDOUT: %require_complete => constants.%require_complete.77e193.1 +// CHECK:STDOUT: %Class => constants.%Class.fd471f.1 +// CHECK:STDOUT: %Class.elem => constants.%Class.elem.ecafe7.1 +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.419606.1 +// CHECK:STDOUT: %complete_type.loc7_1.2 => constants.%complete_type.dd36b8.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @G(constants.%T.228) { -// CHECK:STDOUT: %T.loc13_7.1 => constants.%T.228 +// CHECK:STDOUT: specific @G(constants.%T.f49) { +// CHECK:STDOUT: %T.loc13_7.1 => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc13_31.1 => constants.%T.as_type -// CHECK:STDOUT: %Class.loc13_31.1 => constants.%Class.6a7041.1 -// CHECK:STDOUT: %pattern_type.loc13_22 => constants.%pattern_type.ebbf6f.1 -// CHECK:STDOUT: %.loc13_37.2 => constants.%.9ff809.2 -// CHECK:STDOUT: %pattern_type.loc13_37 => constants.%pattern_type.4b69d0.2 +// CHECK:STDOUT: %Class.loc13_31.1 => constants.%Class.fd471f.1 +// CHECK:STDOUT: %pattern_type.loc13_22 => constants.%pattern_type.9287e8.1 +// CHECK:STDOUT: %.loc13_37.2 => constants.%.dedae6.2 +// CHECK:STDOUT: %pattern_type.loc13_37 => constants.%pattern_type.c0fdca.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class(constants.%U.as_type.91a) { -// CHECK:STDOUT: %T.loc5_14.1 => constants.%U.as_type.91a +// CHECK:STDOUT: specific @Class(constants.%U.as_type.09c) { +// CHECK:STDOUT: %T.loc5_14.1 => constants.%U.as_type.09c // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.c28bd3.2 -// CHECK:STDOUT: %Class => constants.%Class.6a7041.2 -// CHECK:STDOUT: %Class.elem => constants.%Class.elem.f04caa.2 -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.f20f60.2 -// CHECK:STDOUT: %complete_type.loc7_1.2 => constants.%complete_type.f15d80.2 +// CHECK:STDOUT: %require_complete => constants.%require_complete.77e193.2 +// CHECK:STDOUT: %Class => constants.%Class.fd471f.2 +// CHECK:STDOUT: %Class.elem => constants.%Class.elem.ecafe7.2 +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.419606.2 +// CHECK:STDOUT: %complete_type.loc7_1.2 => constants.%complete_type.dd36b8.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @H(constants.%U.228) { -// CHECK:STDOUT: %U.loc17_7.1 => constants.%U.228 -// CHECK:STDOUT: %U.as_type.loc17_31.1 => constants.%U.as_type.91a -// CHECK:STDOUT: %Class.loc17_31.1 => constants.%Class.6a7041.2 -// CHECK:STDOUT: %pattern_type.loc17_22 => constants.%pattern_type.ebbf6f.2 -// CHECK:STDOUT: %.loc17_37.2 => constants.%.9ff809.3 -// CHECK:STDOUT: %pattern_type.loc17_37 => constants.%pattern_type.4b69d0.3 +// CHECK:STDOUT: specific @H(constants.%U.f49) { +// CHECK:STDOUT: %U.loc17_7.1 => constants.%U.f49 +// CHECK:STDOUT: %U.as_type.loc17_31.1 => constants.%U.as_type.09c +// CHECK:STDOUT: %Class.loc17_31.1 => constants.%Class.fd471f.2 +// CHECK:STDOUT: %pattern_type.loc17_22 => constants.%pattern_type.9287e8.2 +// CHECK:STDOUT: %.loc17_37.2 => constants.%.dedae6.3 +// CHECK:STDOUT: %pattern_type.loc17_37 => constants.%pattern_type.c0fdca.3 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/generic_vs_params.carbon b/toolchain/check/testdata/class/generic/generic_vs_params.carbon index f64da711ea01..db18f813bb2f 100644 --- a/toolchain/check/testdata/class/generic/generic_vs_params.carbon +++ b/toolchain/check/testdata/class/generic/generic_vs_params.carbon @@ -91,35 +91,35 @@ class Foo[T:! type]; // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %GenericAndParams.type.557: type = generic_class_type @GenericAndParams.loc6 [concrete] -// CHECK:STDOUT: %GenericAndParams.generic.20a: %GenericAndParams.type.557 = struct_value () [concrete] -// CHECK:STDOUT: %GenericAndParams.ee5: type = class_type @GenericAndParams.loc6, @GenericAndParams.loc6(%T) [symbolic] +// CHECK:STDOUT: %GenericAndParams.type.d85: type = generic_class_type @GenericAndParams.loc6 [concrete] +// CHECK:STDOUT: %GenericAndParams.generic.29c: %GenericAndParams.type.d85 = struct_value () [concrete] +// CHECK:STDOUT: %GenericAndParams.dd1: type = class_type @GenericAndParams.loc6, @GenericAndParams.loc6(%T) [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.97c: type = class_type @C, @C(%T) [symbolic] -// CHECK:STDOUT: %GenericNoParams.292: type = class_type @GenericNoParams, @GenericNoParams(%T) [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %GenericNoParams.f81: type = class_type @GenericNoParams, @GenericNoParams(%T) [symbolic] // CHECK:STDOUT: %U: type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %GenericAndParams.type.e37: type = generic_class_type @GenericAndParams.loc10, @C(%T) [symbolic] -// CHECK:STDOUT: %GenericAndParams.generic.9de: %GenericAndParams.type.e37 = struct_value () [symbolic] -// CHECK:STDOUT: %GenericAndParams.a3f: type = class_type @GenericAndParams.loc10, @GenericAndParams.loc10(%T, %U) [symbolic] +// CHECK:STDOUT: %GenericAndParams.type.b76: type = generic_class_type @GenericAndParams.loc10, @C(%T) [symbolic] +// CHECK:STDOUT: %GenericAndParams.generic.055: %GenericAndParams.type.b76 = struct_value () [symbolic] +// CHECK:STDOUT: %GenericAndParams.2d6: type = class_type @GenericAndParams.loc10, @GenericAndParams.loc10(%T, %U) [symbolic] // CHECK:STDOUT: %X: type = class_type @X [concrete] -// CHECK:STDOUT: %pattern_type.1fe: type = pattern_type %NotGenericNoParams [concrete] +// CHECK:STDOUT: %pattern_type.e27: type = pattern_type %NotGenericNoParams [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %NotGenericNoParams.val: %NotGenericNoParams = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.16a: type = pattern_type %NotGenericButParams [concrete] +// CHECK:STDOUT: %pattern_type.082: type = pattern_type %NotGenericButParams [concrete] // CHECK:STDOUT: %NotGenericButParams.val: %NotGenericButParams = struct_value () [concrete] -// CHECK:STDOUT: %GenericAndParams.5c7: type = class_type @GenericAndParams.loc6, @GenericAndParams.loc6(%X) [concrete] -// CHECK:STDOUT: %pattern_type.295: type = pattern_type %GenericAndParams.5c7 [concrete] -// CHECK:STDOUT: %GenericAndParams.val.9f1: %GenericAndParams.5c7 = struct_value () [concrete] -// CHECK:STDOUT: %C.029: type = class_type @C, @C(%X) [concrete] -// CHECK:STDOUT: %GenericNoParams.578: type = class_type @GenericNoParams, @GenericNoParams(%X) [concrete] -// CHECK:STDOUT: %GenericAndParams.type.aed: type = generic_class_type @GenericAndParams.loc10, @C(%X) [concrete] -// CHECK:STDOUT: %GenericAndParams.generic.0da: %GenericAndParams.type.aed = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.534: type = pattern_type %GenericNoParams.578 [concrete] -// CHECK:STDOUT: %GenericNoParams.val: %GenericNoParams.578 = struct_value () [concrete] -// CHECK:STDOUT: %GenericAndParams.1db: type = class_type @GenericAndParams.loc10, @GenericAndParams.loc10(%X, %X) [concrete] -// CHECK:STDOUT: %pattern_type.81a: type = pattern_type %GenericAndParams.1db [concrete] -// CHECK:STDOUT: %GenericAndParams.val.f9a: %GenericAndParams.1db = struct_value () [concrete] +// CHECK:STDOUT: %GenericAndParams.3d8: type = class_type @GenericAndParams.loc6, @GenericAndParams.loc6(%X) [concrete] +// CHECK:STDOUT: %pattern_type.130: type = pattern_type %GenericAndParams.3d8 [concrete] +// CHECK:STDOUT: %GenericAndParams.val.070: %GenericAndParams.3d8 = struct_value () [concrete] +// CHECK:STDOUT: %C.7b5: type = class_type @C, @C(%X) [concrete] +// CHECK:STDOUT: %GenericNoParams.936: type = class_type @GenericNoParams, @GenericNoParams(%X) [concrete] +// CHECK:STDOUT: %GenericAndParams.type.2f5: type = generic_class_type @GenericAndParams.loc10, @C(%X) [concrete] +// CHECK:STDOUT: %GenericAndParams.generic.23f: %GenericAndParams.type.2f5 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.953: type = pattern_type %GenericNoParams.936 [concrete] +// CHECK:STDOUT: %GenericNoParams.val: %GenericNoParams.936 = struct_value () [concrete] +// CHECK:STDOUT: %GenericAndParams.bf8: type = class_type @GenericAndParams.loc10, @GenericAndParams.loc10(%X, %X) [concrete] +// CHECK:STDOUT: %pattern_type.2d5: type = pattern_type %GenericAndParams.bf8 [concrete] +// CHECK:STDOUT: %GenericAndParams.val.afa: %GenericAndParams.bf8 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -137,7 +137,7 @@ class Foo[T:! type]; // CHECK:STDOUT: } // CHECK:STDOUT: %NotGenericNoParams.decl: type = class_decl @NotGenericNoParams [concrete = constants.%NotGenericNoParams] {} {} // CHECK:STDOUT: %NotGenericButParams.decl: %NotGenericButParams.type = class_decl @NotGenericButParams [concrete = constants.%NotGenericButParams.generic] {} {} -// CHECK:STDOUT: %GenericAndParams.decl: %GenericAndParams.type.557 = class_decl @GenericAndParams.loc6 [concrete = constants.%GenericAndParams.generic.20a] { +// CHECK:STDOUT: %GenericAndParams.decl: %GenericAndParams.type.d85 = class_decl @GenericAndParams.loc6 [concrete = constants.%GenericAndParams.generic.29c] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6_28.1: type = splice_block %.loc6_28.2 [concrete = type] { @@ -157,15 +157,15 @@ class Foo[T:! type]; // CHECK:STDOUT: } // CHECK:STDOUT: %X.decl: type = class_decl @X [concrete = constants.%X] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.1fe = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.1fe = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.e27 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.e27 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %NotGenericNoParams = var %a.var_patt [concrete] // CHECK:STDOUT: %NotGenericNoParams.ref: type = name_ref NotGenericNoParams, %NotGenericNoParams.decl [concrete = constants.%NotGenericNoParams] // CHECK:STDOUT: %a: ref %NotGenericNoParams = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.16a = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.16a = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.082 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.082 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %NotGenericButParams = var %b.var_patt [concrete] // CHECK:STDOUT: %.loc16: type = splice_block %NotGenericButParams [concrete = constants.%NotGenericButParams] { @@ -174,44 +174,44 @@ class Foo[T:! type]; // CHECK:STDOUT: } // CHECK:STDOUT: %b: ref %NotGenericButParams = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.295 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.295 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.130 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.130 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %c.var: ref %GenericAndParams.5c7 = var %c.var_patt [concrete] -// CHECK:STDOUT: %.loc17: type = splice_block %GenericAndParams.loc17 [concrete = constants.%GenericAndParams.5c7] { -// CHECK:STDOUT: %GenericAndParams.ref.loc17: %GenericAndParams.type.557 = name_ref GenericAndParams, %GenericAndParams.decl [concrete = constants.%GenericAndParams.generic.20a] +// CHECK:STDOUT: %c.var: ref %GenericAndParams.3d8 = var %c.var_patt [concrete] +// CHECK:STDOUT: %.loc17: type = splice_block %GenericAndParams.loc17 [concrete = constants.%GenericAndParams.3d8] { +// CHECK:STDOUT: %GenericAndParams.ref.loc17: %GenericAndParams.type.d85 = name_ref GenericAndParams, %GenericAndParams.decl [concrete = constants.%GenericAndParams.generic.29c] // CHECK:STDOUT: %X.ref.loc17: type = name_ref X, %X.decl [concrete = constants.%X] -// CHECK:STDOUT: %GenericAndParams.loc17: type = class_type @GenericAndParams.loc6, @GenericAndParams.loc6(constants.%X) [concrete = constants.%GenericAndParams.5c7] +// CHECK:STDOUT: %GenericAndParams.loc17: type = class_type @GenericAndParams.loc6, @GenericAndParams.loc6(constants.%X) [concrete = constants.%GenericAndParams.3d8] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: ref %GenericAndParams.5c7 = ref_binding c, %c.var [concrete = %c.var] +// CHECK:STDOUT: %c: ref %GenericAndParams.3d8 = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.534 = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.534 = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.953 = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.953 = var_pattern %d.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %d.var: ref %GenericNoParams.578 = var %d.var_patt [concrete] -// CHECK:STDOUT: %.loc18_12.1: type = splice_block %GenericNoParams.ref [concrete = constants.%GenericNoParams.578] { +// CHECK:STDOUT: %d.var: ref %GenericNoParams.936 = var %d.var_patt [concrete] +// CHECK:STDOUT: %.loc18_12.1: type = splice_block %GenericNoParams.ref [concrete = constants.%GenericNoParams.936] { // CHECK:STDOUT: %C.ref.loc18: %C.type = name_ref C, %C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %X.ref.loc18: type = name_ref X, %X.decl [concrete = constants.%X] -// CHECK:STDOUT: %C.loc18: type = class_type @C, @C(constants.%X) [concrete = constants.%C.029] -// CHECK:STDOUT: %.loc18_12.2: type = specific_constant @C.%GenericNoParams.decl, @C(constants.%X) [concrete = constants.%GenericNoParams.578] -// CHECK:STDOUT: %GenericNoParams.ref: type = name_ref GenericNoParams, %.loc18_12.2 [concrete = constants.%GenericNoParams.578] +// CHECK:STDOUT: %C.loc18: type = class_type @C, @C(constants.%X) [concrete = constants.%C.7b5] +// CHECK:STDOUT: %.loc18_12.2: type = specific_constant @C.%GenericNoParams.decl, @C(constants.%X) [concrete = constants.%GenericNoParams.936] +// CHECK:STDOUT: %GenericNoParams.ref: type = name_ref GenericNoParams, %.loc18_12.2 [concrete = constants.%GenericNoParams.936] // CHECK:STDOUT: } -// CHECK:STDOUT: %d: ref %GenericNoParams.578 = ref_binding d, %d.var [concrete = %d.var] +// CHECK:STDOUT: %d: ref %GenericNoParams.936 = ref_binding d, %d.var [concrete = %d.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e.patt: %pattern_type.81a = ref_binding_pattern e [concrete] -// CHECK:STDOUT: %e.var_patt: %pattern_type.81a = var_pattern %e.patt [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.2d5 = ref_binding_pattern e [concrete] +// CHECK:STDOUT: %e.var_patt: %pattern_type.2d5 = var_pattern %e.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %e.var: ref %GenericAndParams.1db = var %e.var_patt [concrete] -// CHECK:STDOUT: %.loc19_31: type = splice_block %GenericAndParams.loc19 [concrete = constants.%GenericAndParams.1db] { +// CHECK:STDOUT: %e.var: ref %GenericAndParams.bf8 = var %e.var_patt [concrete] +// CHECK:STDOUT: %.loc19_31: type = splice_block %GenericAndParams.loc19 [concrete = constants.%GenericAndParams.bf8] { // CHECK:STDOUT: %C.ref.loc19: %C.type = name_ref C, %C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %X.ref.loc19_10: type = name_ref X, %X.decl [concrete = constants.%X] -// CHECK:STDOUT: %C.loc19: type = class_type @C, @C(constants.%X) [concrete = constants.%C.029] -// CHECK:STDOUT: %.loc19_12: %GenericAndParams.type.aed = specific_constant @C.%GenericAndParams.decl, @C(constants.%X) [concrete = constants.%GenericAndParams.generic.0da] -// CHECK:STDOUT: %GenericAndParams.ref.loc19: %GenericAndParams.type.aed = name_ref GenericAndParams, %.loc19_12 [concrete = constants.%GenericAndParams.generic.0da] +// CHECK:STDOUT: %C.loc19: type = class_type @C, @C(constants.%X) [concrete = constants.%C.7b5] +// CHECK:STDOUT: %.loc19_12: %GenericAndParams.type.2f5 = specific_constant @C.%GenericAndParams.decl, @C(constants.%X) [concrete = constants.%GenericAndParams.generic.23f] +// CHECK:STDOUT: %GenericAndParams.ref.loc19: %GenericAndParams.type.2f5 = name_ref GenericAndParams, %.loc19_12 [concrete = constants.%GenericAndParams.generic.23f] // CHECK:STDOUT: %X.ref.loc19_30: type = name_ref X, %X.decl [concrete = constants.%X] -// CHECK:STDOUT: %GenericAndParams.loc19: type = class_type @GenericAndParams.loc10, @GenericAndParams.loc10(constants.%X, constants.%X) [concrete = constants.%GenericAndParams.1db] +// CHECK:STDOUT: %GenericAndParams.loc19: type = class_type @GenericAndParams.loc10, @GenericAndParams.loc10(constants.%X, constants.%X) [concrete = constants.%GenericAndParams.bf8] // CHECK:STDOUT: } -// CHECK:STDOUT: %e: ref %GenericAndParams.1db = ref_binding e, %e.var [concrete = %e.var] +// CHECK:STDOUT: %e: ref %GenericAndParams.bf8 = ref_binding e, %e.var [concrete = %e.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @NotGenericNoParams { @@ -240,7 +240,7 @@ class Foo[T:! type]; // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%GenericAndParams.ee5 +// CHECK:STDOUT: .Self = constants.%GenericAndParams.dd1 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -248,13 +248,13 @@ class Foo[T:! type]; // CHECK:STDOUT: %T.loc8_10.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_10.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %GenericNoParams: type = class_type @GenericNoParams, @GenericNoParams(%T.loc8_10.1) [symbolic = %GenericNoParams (constants.%GenericNoParams.292)] -// CHECK:STDOUT: %GenericAndParams.type: type = generic_class_type @GenericAndParams.loc10, @C(%T.loc8_10.1) [symbolic = %GenericAndParams.type (constants.%GenericAndParams.type.e37)] -// CHECK:STDOUT: %GenericAndParams.generic: @C.%GenericAndParams.type (%GenericAndParams.type.e37) = struct_value () [symbolic = %GenericAndParams.generic (constants.%GenericAndParams.generic.9de)] +// CHECK:STDOUT: %GenericNoParams: type = class_type @GenericNoParams, @GenericNoParams(%T.loc8_10.1) [symbolic = %GenericNoParams (constants.%GenericNoParams.f81)] +// CHECK:STDOUT: %GenericAndParams.type: type = generic_class_type @GenericAndParams.loc10, @C(%T.loc8_10.1) [symbolic = %GenericAndParams.type (constants.%GenericAndParams.type.b76)] +// CHECK:STDOUT: %GenericAndParams.generic: @C.%GenericAndParams.type (%GenericAndParams.type.b76) = struct_value () [symbolic = %GenericAndParams.generic (constants.%GenericAndParams.generic.055)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %GenericNoParams.decl: type = class_decl @GenericNoParams [symbolic = @C.%GenericNoParams (constants.%GenericNoParams.292)] {} {} -// CHECK:STDOUT: %GenericAndParams.decl: @C.%GenericAndParams.type (%GenericAndParams.type.e37) = class_decl @GenericAndParams.loc10 [symbolic = @C.%GenericAndParams.generic (constants.%GenericAndParams.generic.9de)] { +// CHECK:STDOUT: %GenericNoParams.decl: type = class_decl @GenericNoParams [symbolic = @C.%GenericNoParams (constants.%GenericNoParams.f81)] {} {} +// CHECK:STDOUT: %GenericAndParams.decl: @C.%GenericAndParams.type (%GenericAndParams.type.b76) = class_decl @GenericAndParams.loc10 [symbolic = @C.%GenericAndParams.generic (constants.%GenericAndParams.generic.055)] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc10_30.1: type = splice_block %.loc10_30.2 [concrete = type] { @@ -267,7 +267,7 @@ class Foo[T:! type]; // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.97c +// CHECK:STDOUT: .Self = constants.%C.1f9 // CHECK:STDOUT: .GenericNoParams = %GenericNoParams.decl // CHECK:STDOUT: .GenericAndParams = %GenericAndParams.decl // CHECK:STDOUT: } @@ -281,7 +281,7 @@ class Foo[T:! type]; // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%GenericNoParams.292 +// CHECK:STDOUT: .Self = constants.%GenericNoParams.f81 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -295,7 +295,7 @@ class Foo[T:! type]; // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%GenericAndParams.a3f +// CHECK:STDOUT: .Self = constants.%GenericAndParams.2d6 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -318,16 +318,16 @@ class Foo[T:! type]; // CHECK:STDOUT: %.loc16_1: init %NotGenericButParams = converted %.loc16_33.1, %.loc16_33.2 [concrete = constants.%NotGenericButParams.val] // CHECK:STDOUT: assign file.%b.var, %.loc16_1 // CHECK:STDOUT: %.loc17_31.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc17_31.2: init %GenericAndParams.5c7 to file.%c.var = class_init () [concrete = constants.%GenericAndParams.val.9f1] -// CHECK:STDOUT: %.loc17_1: init %GenericAndParams.5c7 = converted %.loc17_31.1, %.loc17_31.2 [concrete = constants.%GenericAndParams.val.9f1] +// CHECK:STDOUT: %.loc17_31.2: init %GenericAndParams.3d8 to file.%c.var = class_init () [concrete = constants.%GenericAndParams.val.070] +// CHECK:STDOUT: %.loc17_1: init %GenericAndParams.3d8 = converted %.loc17_31.1, %.loc17_31.2 [concrete = constants.%GenericAndParams.val.070] // CHECK:STDOUT: assign file.%c.var, %.loc17_1 // CHECK:STDOUT: %.loc18_32.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc18_32.2: init %GenericNoParams.578 to file.%d.var = class_init () [concrete = constants.%GenericNoParams.val] -// CHECK:STDOUT: %.loc18_1: init %GenericNoParams.578 = converted %.loc18_32.1, %.loc18_32.2 [concrete = constants.%GenericNoParams.val] +// CHECK:STDOUT: %.loc18_32.2: init %GenericNoParams.936 to file.%d.var = class_init () [concrete = constants.%GenericNoParams.val] +// CHECK:STDOUT: %.loc18_1: init %GenericNoParams.936 = converted %.loc18_32.1, %.loc18_32.2 [concrete = constants.%GenericNoParams.val] // CHECK:STDOUT: assign file.%d.var, %.loc18_1 // CHECK:STDOUT: %.loc19_36.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc19_36.2: init %GenericAndParams.1db to file.%e.var = class_init () [concrete = constants.%GenericAndParams.val.f9a] -// CHECK:STDOUT: %.loc19_1: init %GenericAndParams.1db = converted %.loc19_36.1, %.loc19_36.2 [concrete = constants.%GenericAndParams.val.f9a] +// CHECK:STDOUT: %.loc19_36.2: init %GenericAndParams.bf8 to file.%e.var = class_init () [concrete = constants.%GenericAndParams.val.afa] +// CHECK:STDOUT: %.loc19_1: init %GenericAndParams.bf8 = converted %.loc19_36.1, %.loc19_36.2 [concrete = constants.%GenericAndParams.val.afa] // CHECK:STDOUT: assign file.%e.var, %.loc19_1 // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -356,9 +356,9 @@ class Foo[T:! type]; // CHECK:STDOUT: %T.loc8_10.1 => constants.%X // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %GenericNoParams => constants.%GenericNoParams.578 -// CHECK:STDOUT: %GenericAndParams.type => constants.%GenericAndParams.type.aed -// CHECK:STDOUT: %GenericAndParams.generic => constants.%GenericAndParams.generic.0da +// CHECK:STDOUT: %GenericNoParams => constants.%GenericNoParams.936 +// CHECK:STDOUT: %GenericAndParams.type => constants.%GenericAndParams.type.2f5 +// CHECK:STDOUT: %GenericAndParams.generic => constants.%GenericAndParams.generic.23f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @GenericNoParams(constants.%X) { diff --git a/toolchain/check/testdata/class/generic/import.carbon b/toolchain/check/testdata/class/generic/import.carbon index 5be2317ad55b..fa9dd49f52cf 100644 --- a/toolchain/check/testdata/class/generic/import.carbon +++ b/toolchain/check/testdata/class/generic/import.carbon @@ -99,38 +99,38 @@ class Class(U:! type) { // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] // CHECK:STDOUT: %CompleteClass.type: type = generic_class_type @CompleteClass [concrete] // CHECK:STDOUT: %CompleteClass.generic: %CompleteClass.type = struct_value () [concrete] -// CHECK:STDOUT: %CompleteClass.cb8: type = class_type @CompleteClass, @CompleteClass(%T) [symbolic] +// CHECK:STDOUT: %CompleteClass.e87: type = class_type @CompleteClass, @CompleteClass(%T) [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %CompleteClass.elem: type = unbound_element_type %CompleteClass.cb8, %i32 [symbolic] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %CompleteClass.elem: type = unbound_element_type %CompleteClass.e87, %i32 [symbolic] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %CompleteClass.F.type: type = fn_type @CompleteClass.F, @CompleteClass(%T) [symbolic] // CHECK:STDOUT: %CompleteClass.F: %CompleteClass.F.type = struct_value () [symbolic] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %CompleteClass.853: type = class_type @CompleteClass, @CompleteClass(%i32) [concrete] -// CHECK:STDOUT: %.3a1: Core.Form = init_form %CompleteClass.853 [concrete] -// CHECK:STDOUT: %pattern_type.9b6: type = pattern_type %CompleteClass.853 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %CompleteClass.818: type = class_type @CompleteClass, @CompleteClass(%i32) [concrete] +// CHECK:STDOUT: %.d12: Core.Form = init_form %CompleteClass.818 [concrete] +// CHECK:STDOUT: %pattern_type.28b: type = pattern_type %CompleteClass.818 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -143,9 +143,9 @@ class Class(U:! type) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -175,15 +175,15 @@ class Class(U:! type) { // CHECK:STDOUT: %T.loc6_22.2: type = symbolic_binding T, 0 [symbolic = %T.loc6_22.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.9b6 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.9b6 = return_slot_pattern %return.param_patt, %CompleteClass [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.28b = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.28b = return_slot_pattern %return.param_patt, %CompleteClass [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %CompleteClass.ref: %CompleteClass.type = name_ref CompleteClass, file.%CompleteClass.decl [concrete = constants.%CompleteClass.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(constants.%i32) [concrete = constants.%CompleteClass.853] -// CHECK:STDOUT: %.loc11: Core.Form = init_form %CompleteClass [concrete = constants.%.3a1] -// CHECK:STDOUT: %return.param: ref %CompleteClass.853 = out_param call_param0 -// CHECK:STDOUT: %return: ref %CompleteClass.853 = return_slot %return.param +// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(constants.%i32) [concrete = constants.%CompleteClass.818] +// CHECK:STDOUT: %.loc11: Core.Form = init_form %CompleteClass [concrete = constants.%.d12] +// CHECK:STDOUT: %return.param: ref %CompleteClass.818 = out_param call_param0 +// CHECK:STDOUT: %return: ref %CompleteClass.818 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -197,7 +197,7 @@ class Class(U:! type) { // CHECK:STDOUT: %T.loc6_22.1: type = symbolic_binding T, 0 [symbolic = %T.loc6_22.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(%T.loc6_22.1) [symbolic = %CompleteClass (constants.%CompleteClass.cb8)] +// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(%T.loc6_22.1) [symbolic = %CompleteClass (constants.%CompleteClass.e87)] // CHECK:STDOUT: %CompleteClass.elem: type = unbound_element_type %CompleteClass, constants.%i32 [symbolic = %CompleteClass.elem (constants.%CompleteClass.elem)] // CHECK:STDOUT: %CompleteClass.F.type: type = fn_type @CompleteClass.F, @CompleteClass(%T.loc6_22.1) [symbolic = %CompleteClass.F.type (constants.%CompleteClass.F.type)] // CHECK:STDOUT: %CompleteClass.F: @CompleteClass.%CompleteClass.F.type (%CompleteClass.F.type) = struct_value () [symbolic = %CompleteClass.F (constants.%CompleteClass.F)] @@ -205,19 +205,19 @@ class Class(U:! type) { // CHECK:STDOUT: class { // CHECK:STDOUT: %.loc7: @CompleteClass.%CompleteClass.elem (%CompleteClass.elem) = field_decl n, element0 [concrete] // CHECK:STDOUT: %CompleteClass.F.decl: @CompleteClass.%CompleteClass.F.type (%CompleteClass.F.type) = fn_decl @CompleteClass.F [symbolic = @CompleteClass.%CompleteClass.F (constants.%CompleteClass.F)] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8_13: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc8_13: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.059] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.edf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%CompleteClass.cb8 +// CHECK:STDOUT: .Self = constants.%CompleteClass.e87 // CHECK:STDOUT: .n = %.loc7 // CHECK:STDOUT: .F = %CompleteClass.F.decl // CHECK:STDOUT: } @@ -229,17 +229,17 @@ class Class(U:! type) { // CHECK:STDOUT: fn() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_27.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_27.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_27.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc8_27: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_27.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc8_27: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: return %.loc8_27 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F() -> out %return.param: %CompleteClass.853; +// CHECK:STDOUT: fn @F() -> out %return.param: %CompleteClass.818; // CHECK:STDOUT: // CHECK:STDOUT: specific @Class(constants.%T) { // CHECK:STDOUT: %T.loc4_14.1 => constants.%T @@ -249,7 +249,7 @@ class Class(U:! type) { // CHECK:STDOUT: %T.loc6_22.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.cb8 +// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.e87 // CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem // CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type // CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F @@ -270,8 +270,8 @@ class Class(U:! type) { // CHECK:STDOUT: %ImplicitAs.type.b95: type = generic_interface_type @ImplicitAs [concrete] // CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.b95 = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.b90: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.061: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.b90 = struct_value () [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.867: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.c67: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.867 = struct_value () [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] @@ -286,53 +286,53 @@ class Class(U:! type) { // CHECK:STDOUT: %CompleteClass.generic: %CompleteClass.type = struct_value () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %struct_type.n.a1e: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.bd4: = complete_type_witness %struct_type.n.a1e [concrete] -// CHECK:STDOUT: %CompleteClass.cb8: type = class_type @CompleteClass, @CompleteClass(%T) [symbolic] -// CHECK:STDOUT: %CompleteClass.F.type.dea: type = fn_type @CompleteClass.F, @CompleteClass(%T) [symbolic] -// CHECK:STDOUT: %CompleteClass.F.af7: %CompleteClass.F.type.dea = struct_value () [symbolic] -// CHECK:STDOUT: %CompleteClass.elem.cee: type = unbound_element_type %CompleteClass.cb8, %i32 [symbolic] -// CHECK:STDOUT: %CompleteClass.263: type = class_type @CompleteClass, @CompleteClass(%i32) [concrete] -// CHECK:STDOUT: %.acf: Core.Form = init_form %CompleteClass.263 [concrete] -// CHECK:STDOUT: %pattern_type.b12: type = pattern_type %CompleteClass.263 [concrete] +// CHECK:STDOUT: %struct_type.n.c42: type = struct_type {.n: %i32} [concrete] +// CHECK:STDOUT: %complete_type.298: = complete_type_witness %struct_type.n.c42 [concrete] +// CHECK:STDOUT: %CompleteClass.e87: type = class_type @CompleteClass, @CompleteClass(%T) [symbolic] +// CHECK:STDOUT: %CompleteClass.F.type.55f: type = fn_type @CompleteClass.F, @CompleteClass(%T) [symbolic] +// CHECK:STDOUT: %CompleteClass.F.fb1: %CompleteClass.F.type.55f = struct_value () [symbolic] +// CHECK:STDOUT: %CompleteClass.elem.e53: type = unbound_element_type %CompleteClass.e87, %i32 [symbolic] +// CHECK:STDOUT: %CompleteClass.8c0: type = class_type @CompleteClass, @CompleteClass(%i32) [concrete] +// CHECK:STDOUT: %.15c: Core.Form = init_form %CompleteClass.8c0 [concrete] +// CHECK:STDOUT: %pattern_type.3f4: type = pattern_type %CompleteClass.8c0 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %CompleteClass.elem.4fa: type = unbound_element_type %CompleteClass.263, %i32 [concrete] -// CHECK:STDOUT: %CompleteClass.F.type.21c: type = fn_type @CompleteClass.F, @CompleteClass(%i32) [concrete] -// CHECK:STDOUT: %CompleteClass.F.d3a: %CompleteClass.F.type.21c = struct_value () [concrete] +// CHECK:STDOUT: %CompleteClass.elem.337: type = unbound_element_type %CompleteClass.8c0, %i32 [concrete] +// CHECK:STDOUT: %CompleteClass.F.type.8a2: type = fn_type @CompleteClass.F, @CompleteClass(%i32) [concrete] +// CHECK:STDOUT: %CompleteClass.F.e56: %CompleteClass.F.type.8a2 = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.n.44a: type = struct_type {.n: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.n.44a = struct_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.73f: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.9a1: = impl_witness imports.%ImplicitAs.impl_witness_table.097, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.972: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.536: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.972 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.73f = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.9a1) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.a60: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.fbd: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.a60, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.536 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.536, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.e71: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3bc: = impl_witness imports.%ImplicitAs.impl_witness_table.6a8, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.777: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.777 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.e71 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3bc) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b69: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.7e8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b69, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.50a: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %CompleteClass.val: %CompleteClass.263 = struct_value (%int_1.50a) [concrete] +// CHECK:STDOUT: %int_1.6b0: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %CompleteClass.val: %CompleteClass.8c0 = struct_value (%int_1.6b0) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.CompleteClass: %CompleteClass.type = import_ref Main//foo, CompleteClass, loaded [concrete = constants.%CompleteClass.generic] -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .Int = %Core.Int // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.85c: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.b90) = import_ref Main//foo, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.061)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.097 = impl_witness_table (%Main.import_ref.85c), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.b8a: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.867) = import_ref Main//foo, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.c67)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.6a8 = impl_witness_table (%Main.import_ref.b8a), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Main.import_ref.b3bc94.1: type = import_ref Main//foo, loc4_14, loaded [symbolic = @Class.%T.1 (constants.%T)] // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//foo, loc6_22, loaded [symbolic = @CompleteClass.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.8b4: = import_ref Main//foo, loc9_1, loaded [concrete = constants.%complete_type.bd4] -// CHECK:STDOUT: %Main.import_ref.459 = import_ref Main//foo, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.5a3 = import_ref Main//foo, loc7_8, unloaded -// CHECK:STDOUT: %Main.import_ref.21e = import_ref Main//foo, loc8_17, unloaded +// CHECK:STDOUT: %Main.import_ref.67b: = import_ref Main//foo, loc9_1, loaded [concrete = constants.%complete_type.298] +// CHECK:STDOUT: %Main.import_ref.684 = import_ref Main//foo, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.760 = import_ref Main//foo, loc7_8, unloaded +// CHECK:STDOUT: %Main.import_ref.0f8 = import_ref Main//foo, loc8_17, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//foo, loc6_22, loaded [symbolic = @CompleteClass.%T (constants.%T)] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.b95 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] @@ -343,7 +343,7 @@ class Class(U:! type) { // CHECK:STDOUT: .Class = %Class.decl // CHECK:STDOUT: .CompleteClass = imports.%Main.CompleteClass // CHECK:STDOUT: .F = %F.decl -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: } // CHECK:STDOUT: %default.import.loc2_19.1 = import // CHECK:STDOUT: %default.import.loc2_19.2 = import @@ -358,15 +358,15 @@ class Class(U:! type) { // CHECK:STDOUT: %T.loc4: type = symbolic_binding T, 0 [symbolic = %T.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.b12 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.b12 = return_slot_pattern %return.param_patt, %CompleteClass [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.3f4 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.3f4 = return_slot_pattern %return.param_patt, %CompleteClass [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %CompleteClass.ref: %CompleteClass.type = name_ref CompleteClass, imports.%Main.CompleteClass [concrete = constants.%CompleteClass.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(constants.%i32) [concrete = constants.%CompleteClass.263] -// CHECK:STDOUT: %.loc8: Core.Form = init_form %CompleteClass [concrete = constants.%.acf] -// CHECK:STDOUT: %return.param: ref %CompleteClass.263 = out_param call_param0 -// CHECK:STDOUT: %return: ref %CompleteClass.263 = return_slot %return.param +// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(constants.%i32) [concrete = constants.%CompleteClass.8c0] +// CHECK:STDOUT: %.loc8: Core.Form = init_form %CompleteClass [concrete = constants.%.15c] +// CHECK:STDOUT: %return.param: ref %CompleteClass.8c0 = out_param call_param0 +// CHECK:STDOUT: %return: ref %CompleteClass.8c0 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -396,18 +396,18 @@ class Class(U:! type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(%T) [symbolic = %CompleteClass (constants.%CompleteClass.cb8)] -// CHECK:STDOUT: %CompleteClass.elem: type = unbound_element_type %CompleteClass, constants.%i32 [symbolic = %CompleteClass.elem (constants.%CompleteClass.elem.cee)] -// CHECK:STDOUT: %CompleteClass.F.type: type = fn_type @CompleteClass.F, @CompleteClass(%T) [symbolic = %CompleteClass.F.type (constants.%CompleteClass.F.type.dea)] -// CHECK:STDOUT: %CompleteClass.F: @CompleteClass.%CompleteClass.F.type (%CompleteClass.F.type.dea) = struct_value () [symbolic = %CompleteClass.F (constants.%CompleteClass.F.af7)] +// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(%T) [symbolic = %CompleteClass (constants.%CompleteClass.e87)] +// CHECK:STDOUT: %CompleteClass.elem: type = unbound_element_type %CompleteClass, constants.%i32 [symbolic = %CompleteClass.elem (constants.%CompleteClass.elem.e53)] +// CHECK:STDOUT: %CompleteClass.F.type: type = fn_type @CompleteClass.F, @CompleteClass(%T) [symbolic = %CompleteClass.F.type (constants.%CompleteClass.F.type.55f)] +// CHECK:STDOUT: %CompleteClass.F: @CompleteClass.%CompleteClass.F.type (%CompleteClass.F.type.55f) = struct_value () [symbolic = %CompleteClass.F (constants.%CompleteClass.F.fb1)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8b4 +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.67b // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.459 -// CHECK:STDOUT: .n = imports.%Main.import_ref.5a3 -// CHECK:STDOUT: .F = imports.%Main.import_ref.21e +// CHECK:STDOUT: .Self = imports.%Main.import_ref.684 +// CHECK:STDOUT: .n = imports.%Main.import_ref.760 +// CHECK:STDOUT: .F = imports.%Main.import_ref.0f8 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -417,20 +417,20 @@ class Class(U:! type) { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F() -> out %return.param: %CompleteClass.263 [from "foo.carbon"] { +// CHECK:STDOUT: fn @F() -> out %return.param: %CompleteClass.8c0 [from "foo.carbon"] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc9_17.1: %struct_type.n.44a = struct_literal (%int_1) [concrete = constants.%struct] -// CHECK:STDOUT: %impl.elem0: %.fbd = impl_witness_access constants.%ImplicitAs.impl_witness.9a1, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.536] +// CHECK:STDOUT: %impl.elem0: %.7e8 = impl_witness_access constants.%ImplicitAs.impl_witness.3bc, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2] // CHECK:STDOUT: %bound_method.loc9_17.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc9_17.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_17.2(%int_1) [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc9_17.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.50a] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_17.2(%int_1) [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc9_17.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.6b0] // CHECK:STDOUT: %.loc9_17.3: ref %i32 = class_element_access %return.param, element0 -// CHECK:STDOUT: %.loc9_17.4: init %i32 to %.loc9_17.3 = in_place_init %.loc9_17.2 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc9_17.5: init %CompleteClass.263 to %return.param = class_init (%.loc9_17.4) [concrete = constants.%CompleteClass.val] -// CHECK:STDOUT: %.loc9_18: init %CompleteClass.263 = converted %.loc9_17.1, %.loc9_17.5 [concrete = constants.%CompleteClass.val] +// CHECK:STDOUT: %.loc9_17.4: init %i32 to %.loc9_17.3 = in_place_init %.loc9_17.2 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc9_17.5: init %CompleteClass.8c0 to %return.param = class_init (%.loc9_17.4) [concrete = constants.%CompleteClass.val] +// CHECK:STDOUT: %.loc9_18: init %CompleteClass.8c0 = converted %.loc9_17.1, %.loc9_17.5 [concrete = constants.%CompleteClass.val] // CHECK:STDOUT: return %.loc9_18 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: @@ -442,10 +442,10 @@ class Class(U:! type) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.cb8 -// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.cee -// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.dea -// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.af7 +// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.e87 +// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.e53 +// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.55f +// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.fb1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CompleteClass.F(constants.%T) {} @@ -454,10 +454,10 @@ class Class(U:! type) { // CHECK:STDOUT: %T => constants.%i32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.263 -// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.4fa -// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.21c -// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.d3a +// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.8c0 +// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.337 +// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.8a2 +// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.e56 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_foo.carbon @@ -469,43 +469,43 @@ class Class(U:! type) { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %UseMethod.type: type = fn_type @UseMethod [concrete] // CHECK:STDOUT: %UseMethod: %UseMethod.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %CompleteClass.type: type = generic_class_type @CompleteClass [concrete] // CHECK:STDOUT: %CompleteClass.generic: %CompleteClass.type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %CompleteClass.9ca: type = class_type @CompleteClass, @CompleteClass(%T.67d) [symbolic] -// CHECK:STDOUT: %CompleteClass.F.type.f8c: type = fn_type @CompleteClass.F, @CompleteClass(%T.67d) [symbolic] -// CHECK:STDOUT: %CompleteClass.F.c58: %CompleteClass.F.type.f8c = struct_value () [symbolic] -// CHECK:STDOUT: %CompleteClass.elem.91f: type = unbound_element_type %CompleteClass.9ca, %i32 [symbolic] -// CHECK:STDOUT: %CompleteClass.b60: type = class_type @CompleteClass, @CompleteClass(%i32) [concrete] -// CHECK:STDOUT: %CompleteClass.elem.352: type = unbound_element_type %CompleteClass.b60, %i32 [concrete] -// CHECK:STDOUT: %CompleteClass.F.type.6c2: type = fn_type @CompleteClass.F, @CompleteClass(%i32) [concrete] -// CHECK:STDOUT: %CompleteClass.F.a9a: %CompleteClass.F.type.6c2 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.b10: type = pattern_type %CompleteClass.b60 [concrete] +// CHECK:STDOUT: %CompleteClass.e87: type = class_type @CompleteClass, @CompleteClass(%T.67d) [symbolic] +// CHECK:STDOUT: %CompleteClass.F.type.55f: type = fn_type @CompleteClass.F, @CompleteClass(%T.67d) [symbolic] +// CHECK:STDOUT: %CompleteClass.F.fb1: %CompleteClass.F.type.55f = struct_value () [symbolic] +// CHECK:STDOUT: %CompleteClass.elem.df3: type = unbound_element_type %CompleteClass.e87, %i32 [symbolic] +// CHECK:STDOUT: %CompleteClass.818: type = class_type @CompleteClass, @CompleteClass(%i32) [concrete] +// CHECK:STDOUT: %CompleteClass.elem.7aa: type = unbound_element_type %CompleteClass.818, %i32 [concrete] +// CHECK:STDOUT: %CompleteClass.F.type.805: type = fn_type @CompleteClass.F, @CompleteClass(%i32) [concrete] +// CHECK:STDOUT: %CompleteClass.F.5b4: %CompleteClass.F.type.805 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.28b: type = pattern_type %CompleteClass.818 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %CompleteClass.F.specific_fn: = specific_function %CompleteClass.F.a9a, @CompleteClass.F(%i32) [concrete] +// CHECK:STDOUT: %CompleteClass.F.specific_fn: = specific_function %CompleteClass.F.5b4, @CompleteClass.F(%i32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc6_3.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc6_3.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: %UseField.type: type = fn_type @UseField [concrete] // CHECK:STDOUT: %UseField: %UseField.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -521,16 +521,16 @@ class Class(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Main.import_ref.b3bc94.1: type = import_ref Main//foo, loc6_22, loaded [symbolic = @CompleteClass.%T (constants.%T.67d)] -// CHECK:STDOUT: %Main.import_ref.8b4: = import_ref Main//foo, loc9_1, loaded [concrete = constants.%complete_type.059] -// CHECK:STDOUT: %Main.import_ref.459 = import_ref Main//foo, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.96b: @CompleteClass.%CompleteClass.elem (%CompleteClass.elem.91f) = import_ref Main//foo, loc7_8, loaded [concrete = %.363] -// CHECK:STDOUT: %Main.import_ref.6ec: @CompleteClass.%CompleteClass.F.type (%CompleteClass.F.type.f8c) = import_ref Main//foo, loc8_17, loaded [symbolic = @CompleteClass.%CompleteClass.F (constants.%CompleteClass.F.c58)] +// CHECK:STDOUT: %Main.import_ref.67b: = import_ref Main//foo, loc9_1, loaded [concrete = constants.%complete_type.edf] +// CHECK:STDOUT: %Main.import_ref.684 = import_ref Main//foo, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.827: @CompleteClass.%CompleteClass.elem (%CompleteClass.elem.df3) = import_ref Main//foo, loc7_8, loaded [concrete = %.5f2] +// CHECK:STDOUT: %Main.import_ref.799: @CompleteClass.%CompleteClass.F.type (%CompleteClass.F.type.55f) = import_ref Main//foo, loc8_17, loaded [symbolic = @CompleteClass.%CompleteClass.F (constants.%CompleteClass.F.fb1)] // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//foo, loc6_22, loaded [symbolic = @CompleteClass.%T (constants.%T.67d)] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %.363: @CompleteClass.%CompleteClass.elem (%CompleteClass.elem.91f) = field_decl n, element0 [concrete] +// CHECK:STDOUT: %.5f2: @CompleteClass.%CompleteClass.elem (%CompleteClass.elem.df3) = field_decl n, element0 [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -545,20 +545,20 @@ class Class(U:! type) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %UseMethod.decl: %UseMethod.type = fn_decl @UseMethod [concrete = constants.%UseMethod] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc5 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc5 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc5: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc5: Core.Form = init_form %i32.loc5 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc5: Core.Form = init_form %i32.loc5 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %UseField.decl: %UseField.type = fn_decl @UseField [concrete = constants.%UseField] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc10 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc10 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc10: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc10: Core.Form = init_form %i32.loc10 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc10: Core.Form = init_form %i32.loc10 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -568,44 +568,44 @@ class Class(U:! type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(%T) [symbolic = %CompleteClass (constants.%CompleteClass.9ca)] -// CHECK:STDOUT: %CompleteClass.elem: type = unbound_element_type %CompleteClass, constants.%i32 [symbolic = %CompleteClass.elem (constants.%CompleteClass.elem.91f)] -// CHECK:STDOUT: %CompleteClass.F.type: type = fn_type @CompleteClass.F, @CompleteClass(%T) [symbolic = %CompleteClass.F.type (constants.%CompleteClass.F.type.f8c)] -// CHECK:STDOUT: %CompleteClass.F: @CompleteClass.%CompleteClass.F.type (%CompleteClass.F.type.f8c) = struct_value () [symbolic = %CompleteClass.F (constants.%CompleteClass.F.c58)] +// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(%T) [symbolic = %CompleteClass (constants.%CompleteClass.e87)] +// CHECK:STDOUT: %CompleteClass.elem: type = unbound_element_type %CompleteClass, constants.%i32 [symbolic = %CompleteClass.elem (constants.%CompleteClass.elem.df3)] +// CHECK:STDOUT: %CompleteClass.F.type: type = fn_type @CompleteClass.F, @CompleteClass(%T) [symbolic = %CompleteClass.F.type (constants.%CompleteClass.F.type.55f)] +// CHECK:STDOUT: %CompleteClass.F: @CompleteClass.%CompleteClass.F.type (%CompleteClass.F.type.55f) = struct_value () [symbolic = %CompleteClass.F (constants.%CompleteClass.F.fb1)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8b4 +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.67b // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.459 -// CHECK:STDOUT: .n = imports.%Main.import_ref.96b -// CHECK:STDOUT: .F = imports.%Main.import_ref.6ec +// CHECK:STDOUT: .Self = imports.%Main.import_ref.684 +// CHECK:STDOUT: .n = imports.%Main.import_ref.827 +// CHECK:STDOUT: .F = imports.%Main.import_ref.799 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @UseMethod() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.b10 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.b10 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.28b = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.28b = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref %CompleteClass.b60 = var %v.var_patt +// CHECK:STDOUT: %v.var: ref %CompleteClass.818 = var %v.var_patt // CHECK:STDOUT: %F.ref.loc6: %F.type = name_ref F, imports.%Main.F [concrete = constants.%F] -// CHECK:STDOUT: %.loc6_3: ref %CompleteClass.b60 = splice_block %v.var {} -// CHECK:STDOUT: %F.call: init %CompleteClass.b60 to %.loc6_3 = call %F.ref.loc6() +// CHECK:STDOUT: %.loc6_3: ref %CompleteClass.818 = splice_block %v.var {} +// CHECK:STDOUT: %F.call: init %CompleteClass.818 to %.loc6_3 = call %F.ref.loc6() // CHECK:STDOUT: assign %v.var, %F.call -// CHECK:STDOUT: %.loc6_27: type = splice_block %CompleteClass [concrete = constants.%CompleteClass.b60] { +// CHECK:STDOUT: %.loc6_27: type = splice_block %CompleteClass [concrete = constants.%CompleteClass.818] { // CHECK:STDOUT: %CompleteClass.ref: %CompleteClass.type = name_ref CompleteClass, imports.%Main.CompleteClass [concrete = constants.%CompleteClass.generic] // CHECK:STDOUT: %i32.loc6: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(constants.%i32) [concrete = constants.%CompleteClass.b60] +// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(constants.%i32) [concrete = constants.%CompleteClass.818] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref %CompleteClass.b60 = ref_binding v, %v.var -// CHECK:STDOUT: %v.ref: ref %CompleteClass.b60 = name_ref v, %v -// CHECK:STDOUT: %.loc7: %CompleteClass.F.type.6c2 = specific_constant imports.%Main.import_ref.6ec, @CompleteClass(constants.%i32) [concrete = constants.%CompleteClass.F.a9a] -// CHECK:STDOUT: %F.ref.loc7: %CompleteClass.F.type.6c2 = name_ref F, %.loc7 [concrete = constants.%CompleteClass.F.a9a] +// CHECK:STDOUT: %v: ref %CompleteClass.818 = ref_binding v, %v.var +// CHECK:STDOUT: %v.ref: ref %CompleteClass.818 = name_ref v, %v +// CHECK:STDOUT: %.loc7: %CompleteClass.F.type.805 = specific_constant imports.%Main.import_ref.799, @CompleteClass(constants.%i32) [concrete = constants.%CompleteClass.F.5b4] +// CHECK:STDOUT: %F.ref.loc7: %CompleteClass.F.type.805 = name_ref F, %.loc7 [concrete = constants.%CompleteClass.F.5b4] // CHECK:STDOUT: %CompleteClass.F.specific_fn: = specific_function %F.ref.loc7, @CompleteClass.F(constants.%i32) [concrete = constants.%CompleteClass.F.specific_fn] // CHECK:STDOUT: %CompleteClass.F.call: init %i32 = call %CompleteClass.F.specific_fn() -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return %CompleteClass.F.call // CHECK:STDOUT: } @@ -630,7 +630,7 @@ class Class(U:! type) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc6_3.4(%self.param: ref %CompleteClass.b60) { +// CHECK:STDOUT: fn @Destroy.Op.loc6_3.4(%self.param: ref %CompleteClass.818) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -638,30 +638,30 @@ class Class(U:! type) { // CHECK:STDOUT: fn @UseField() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.b10 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.b10 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.28b = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.28b = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref %CompleteClass.b60 = var %v.var_patt +// CHECK:STDOUT: %v.var: ref %CompleteClass.818 = var %v.var_patt // CHECK:STDOUT: %F.ref: %F.type = name_ref F, imports.%Main.F [concrete = constants.%F] -// CHECK:STDOUT: %.loc11_3: ref %CompleteClass.b60 = splice_block %v.var {} -// CHECK:STDOUT: %F.call: init %CompleteClass.b60 to %.loc11_3 = call %F.ref() +// CHECK:STDOUT: %.loc11_3: ref %CompleteClass.818 = splice_block %v.var {} +// CHECK:STDOUT: %F.call: init %CompleteClass.818 to %.loc11_3 = call %F.ref() // CHECK:STDOUT: assign %v.var, %F.call -// CHECK:STDOUT: %.loc11_27: type = splice_block %CompleteClass [concrete = constants.%CompleteClass.b60] { +// CHECK:STDOUT: %.loc11_27: type = splice_block %CompleteClass [concrete = constants.%CompleteClass.818] { // CHECK:STDOUT: %CompleteClass.ref: %CompleteClass.type = name_ref CompleteClass, imports.%Main.CompleteClass [concrete = constants.%CompleteClass.generic] // CHECK:STDOUT: %i32.loc11: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(constants.%i32) [concrete = constants.%CompleteClass.b60] +// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(constants.%i32) [concrete = constants.%CompleteClass.818] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref %CompleteClass.b60 = ref_binding v, %v.var -// CHECK:STDOUT: %v.ref: ref %CompleteClass.b60 = name_ref v, %v -// CHECK:STDOUT: %n.ref: %CompleteClass.elem.352 = name_ref n, imports.%Main.import_ref.96b [concrete = imports.%.363] +// CHECK:STDOUT: %v: ref %CompleteClass.818 = ref_binding v, %v.var +// CHECK:STDOUT: %v.ref: ref %CompleteClass.818 = name_ref v, %v +// CHECK:STDOUT: %n.ref: %CompleteClass.elem.7aa = name_ref n, imports.%Main.import_ref.827 [concrete = imports.%.5f2] // CHECK:STDOUT: %.loc12_11.1: ref %i32 = class_element_access %v.ref, element0 // CHECK:STDOUT: %.loc12_11.2: %i32 = acquire_value %.loc12_11.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc12_11.1: = bound_method %.loc12_11.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc12_11.2: = bound_method %.loc12_11.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc12_11.2(%.loc12_11.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } @@ -670,10 +670,10 @@ class Class(U:! type) { // CHECK:STDOUT: %T => constants.%T.67d // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.9ca -// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.91f -// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.f8c -// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.c58 +// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.e87 +// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.df3 +// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.55f +// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.fb1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CompleteClass.F(constants.%T.67d) {} @@ -682,10 +682,10 @@ class Class(U:! type) { // CHECK:STDOUT: %T => constants.%i32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.b60 -// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.352 -// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.6c2 -// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.a9a +// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.818 +// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.7aa +// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.805 +// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.5b4 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CompleteClass.F(constants.%i32) { @@ -706,36 +706,36 @@ class Class(U:! type) { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.bd4: = complete_type_witness %struct_type.n [concrete] +// CHECK:STDOUT: %complete_type.298: = complete_type_witness %struct_type.n [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %CompleteClass.415: type = class_type @CompleteClass, @CompleteClass(%T) [symbolic] -// CHECK:STDOUT: %CompleteClass.F.type.e9a: type = fn_type @CompleteClass.F, @CompleteClass(%T) [symbolic] -// CHECK:STDOUT: %CompleteClass.F.ef9: %CompleteClass.F.type.e9a = struct_value () [symbolic] -// CHECK:STDOUT: %CompleteClass.elem.c2d: type = unbound_element_type %CompleteClass.415, %i32 [symbolic] -// CHECK:STDOUT: %ptr.c86: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %CompleteClass.665: type = class_type @CompleteClass, @CompleteClass(%ptr.c86) [concrete] -// CHECK:STDOUT: %CompleteClass.elem.e34: type = unbound_element_type %CompleteClass.665, %i32 [concrete] -// CHECK:STDOUT: %CompleteClass.F.type.113: type = fn_type @CompleteClass.F, @CompleteClass(%ptr.c86) [concrete] -// CHECK:STDOUT: %CompleteClass.F.16d: %CompleteClass.F.type.113 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.faa: type = pattern_type %CompleteClass.665 [concrete] +// CHECK:STDOUT: %CompleteClass.e87: type = class_type @CompleteClass, @CompleteClass(%T) [symbolic] +// CHECK:STDOUT: %CompleteClass.F.type.55f: type = fn_type @CompleteClass.F, @CompleteClass(%T) [symbolic] +// CHECK:STDOUT: %CompleteClass.F.fb1: %CompleteClass.F.type.55f = struct_value () [symbolic] +// CHECK:STDOUT: %CompleteClass.elem.e53: type = unbound_element_type %CompleteClass.e87, %i32 [symbolic] +// CHECK:STDOUT: %ptr.b07: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %CompleteClass.6eb: type = class_type @CompleteClass, @CompleteClass(%ptr.b07) [concrete] +// CHECK:STDOUT: %CompleteClass.elem.eac: type = unbound_element_type %CompleteClass.6eb, %i32 [concrete] +// CHECK:STDOUT: %CompleteClass.F.type.a68: type = fn_type @CompleteClass.F, @CompleteClass(%ptr.b07) [concrete] +// CHECK:STDOUT: %CompleteClass.F.aed: %CompleteClass.F.type.a68 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.7e9: type = pattern_type %CompleteClass.6eb [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %CompleteClass.794: type = class_type @CompleteClass, @CompleteClass(%i32) [concrete] -// CHECK:STDOUT: %CompleteClass.elem.d3f: type = unbound_element_type %CompleteClass.794, %i32 [concrete] -// CHECK:STDOUT: %CompleteClass.F.type.dcb: type = fn_type @CompleteClass.F, @CompleteClass(%i32) [concrete] -// CHECK:STDOUT: %CompleteClass.F.ce5: %CompleteClass.F.type.dcb = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %CompleteClass.8c0: type = class_type @CompleteClass, @CompleteClass(%i32) [concrete] +// CHECK:STDOUT: %CompleteClass.elem.337: type = unbound_element_type %CompleteClass.8c0, %i32 [concrete] +// CHECK:STDOUT: %CompleteClass.F.type.8a2: type = fn_type @CompleteClass.F, @CompleteClass(%i32) [concrete] +// CHECK:STDOUT: %CompleteClass.F.e56: %CompleteClass.F.type.8a2 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc13_3.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc13_3.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.Class = import_ref Main//foo, Class, unloaded // CHECK:STDOUT: %Main.CompleteClass: %CompleteClass.type = import_ref Main//foo, CompleteClass, loaded [concrete = constants.%CompleteClass.generic] // CHECK:STDOUT: %Main.F: %F.type = import_ref Main//foo, F, loaded [concrete = constants.%F] -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .Int = %Core.Int // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: .Destroy = %Core.Destroy @@ -743,13 +743,13 @@ class Class(U:! type) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.b3bc94.1: type = import_ref Main//foo, loc6_22, loaded [symbolic = @CompleteClass.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.8b4: = import_ref Main//foo, loc9_1, loaded [concrete = constants.%complete_type.bd4] -// CHECK:STDOUT: %Main.import_ref.459 = import_ref Main//foo, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.5a3 = import_ref Main//foo, loc7_8, unloaded -// CHECK:STDOUT: %Main.import_ref.21e = import_ref Main//foo, loc8_17, unloaded +// CHECK:STDOUT: %Main.import_ref.67b: = import_ref Main//foo, loc9_1, loaded [concrete = constants.%complete_type.298] +// CHECK:STDOUT: %Main.import_ref.684 = import_ref Main//foo, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.760 = import_ref Main//foo, loc7_8, unloaded +// CHECK:STDOUT: %Main.import_ref.0f8 = import_ref Main//foo, loc8_17, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//foo, loc6_22, loaded [symbolic = @CompleteClass.%T (constants.%T)] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -758,7 +758,7 @@ class Class(U:! type) { // CHECK:STDOUT: .Class = imports.%Main.Class // CHECK:STDOUT: .CompleteClass = imports.%Main.CompleteClass // CHECK:STDOUT: .F = imports.%Main.F -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .Use = %Use.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core @@ -770,41 +770,41 @@ class Class(U:! type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(%T) [symbolic = %CompleteClass (constants.%CompleteClass.415)] -// CHECK:STDOUT: %CompleteClass.elem: type = unbound_element_type %CompleteClass, constants.%i32 [symbolic = %CompleteClass.elem (constants.%CompleteClass.elem.c2d)] -// CHECK:STDOUT: %CompleteClass.F.type: type = fn_type @CompleteClass.F, @CompleteClass(%T) [symbolic = %CompleteClass.F.type (constants.%CompleteClass.F.type.e9a)] -// CHECK:STDOUT: %CompleteClass.F: @CompleteClass.%CompleteClass.F.type (%CompleteClass.F.type.e9a) = struct_value () [symbolic = %CompleteClass.F (constants.%CompleteClass.F.ef9)] +// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(%T) [symbolic = %CompleteClass (constants.%CompleteClass.e87)] +// CHECK:STDOUT: %CompleteClass.elem: type = unbound_element_type %CompleteClass, constants.%i32 [symbolic = %CompleteClass.elem (constants.%CompleteClass.elem.e53)] +// CHECK:STDOUT: %CompleteClass.F.type: type = fn_type @CompleteClass.F, @CompleteClass(%T) [symbolic = %CompleteClass.F.type (constants.%CompleteClass.F.type.55f)] +// CHECK:STDOUT: %CompleteClass.F: @CompleteClass.%CompleteClass.F.type (%CompleteClass.F.type.55f) = struct_value () [symbolic = %CompleteClass.F (constants.%CompleteClass.F.fb1)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8b4 +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.67b // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.459 -// CHECK:STDOUT: .n = imports.%Main.import_ref.5a3 -// CHECK:STDOUT: .F = imports.%Main.import_ref.21e +// CHECK:STDOUT: .Self = imports.%Main.import_ref.684 +// CHECK:STDOUT: .n = imports.%Main.import_ref.760 +// CHECK:STDOUT: .F = imports.%Main.import_ref.0f8 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Use() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.faa = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.faa = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.7e9 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.7e9 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref %CompleteClass.665 = var %v.var_patt +// CHECK:STDOUT: %v.var: ref %CompleteClass.6eb = var %v.var_patt // CHECK:STDOUT: %F.ref: %F.type = name_ref F, imports.%Main.F [concrete = constants.%F] -// CHECK:STDOUT: %.loc13_41: ref %CompleteClass.794 = temporary_storage -// CHECK:STDOUT: %F.call: init %CompleteClass.794 to %.loc13_41 = call %F.ref() -// CHECK:STDOUT: %.loc13_3: %CompleteClass.665 = converted %F.call, [concrete = ] +// CHECK:STDOUT: %.loc13_41: ref %CompleteClass.8c0 = temporary_storage +// CHECK:STDOUT: %F.call: init %CompleteClass.8c0 to %.loc13_41 = call %F.ref() +// CHECK:STDOUT: %.loc13_3: %CompleteClass.6eb = converted %F.call, [concrete = ] // CHECK:STDOUT: assign %v.var, -// CHECK:STDOUT: %.loc13_35: type = splice_block %CompleteClass [concrete = constants.%CompleteClass.665] { +// CHECK:STDOUT: %.loc13_35: type = splice_block %CompleteClass [concrete = constants.%CompleteClass.6eb] { // CHECK:STDOUT: %CompleteClass.ref: %CompleteClass.type = name_ref CompleteClass, imports.%Main.CompleteClass [concrete = constants.%CompleteClass.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %i32 [concrete = constants.%ptr.c86] -// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(constants.%ptr.c86) [concrete = constants.%CompleteClass.665] +// CHECK:STDOUT: %ptr: type = ptr_type %i32 [concrete = constants.%ptr.b07] +// CHECK:STDOUT: %CompleteClass: type = class_type @CompleteClass, @CompleteClass(constants.%ptr.b07) [concrete = constants.%CompleteClass.6eb] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref %CompleteClass.665 = ref_binding v, %v.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %v: ref %CompleteClass.6eb = ref_binding v, %v.var +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -829,7 +829,7 @@ class Class(U:! type) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13_3.4(%self.param: ref %CompleteClass.665) { +// CHECK:STDOUT: fn @Destroy.Op.loc13_3.4(%self.param: ref %CompleteClass.6eb) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -838,32 +838,32 @@ class Class(U:! type) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.415 -// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.c2d -// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.e9a -// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.ef9 +// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.e87 +// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.e53 +// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.55f +// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.fb1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CompleteClass.F(constants.%T) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @CompleteClass(constants.%ptr.c86) { -// CHECK:STDOUT: %T => constants.%ptr.c86 +// CHECK:STDOUT: specific @CompleteClass(constants.%ptr.b07) { +// CHECK:STDOUT: %T => constants.%ptr.b07 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.665 -// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.e34 -// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.113 -// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.16d +// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.6eb +// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.eac +// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.a68 +// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.aed // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CompleteClass(constants.%i32) { // CHECK:STDOUT: %T => constants.%i32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.794 -// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.d3f -// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.dcb -// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.ce5 +// CHECK:STDOUT: %CompleteClass => constants.%CompleteClass.8c0 +// CHECK:STDOUT: %CompleteClass.elem => constants.%CompleteClass.elem.337 +// CHECK:STDOUT: %CompleteClass.F.type => constants.%CompleteClass.F.type.8a2 +// CHECK:STDOUT: %CompleteClass.F => constants.%CompleteClass.F.e56 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_foo.impl.carbon @@ -873,19 +873,19 @@ class Class(U:! type) { // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %Class.type.062d2b.1: type = generic_class_type @Class.1 [concrete] -// CHECK:STDOUT: %Class.generic.43feb7.1: %Class.type.062d2b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Class.type.d8c37e.1: type = generic_class_type @Class.1 [concrete] +// CHECK:STDOUT: %Class.generic.f1d2f4.1: %Class.type.d8c37e.1 = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Class.type.062d2b.2: type = generic_class_type @Class.loc12 [concrete] -// CHECK:STDOUT: %Class.generic.43feb7.2: %Class.type.062d2b.2 = struct_value () [concrete] -// CHECK:STDOUT: %Class.63dc94.2: type = class_type @Class.loc12, @Class.loc12(%U) [symbolic] +// CHECK:STDOUT: %Class.type.d8c37e.2: type = generic_class_type @Class.loc12 [concrete] +// CHECK:STDOUT: %Class.generic.f1d2f4.2: %Class.type.d8c37e.2 = struct_value () [concrete] +// CHECK:STDOUT: %Class.e25855.2: type = class_type @Class.loc12, @Class.loc12(%U) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.Class: %Class.type.062d2b.1 = import_ref Main//foo, Class, loaded [concrete = constants.%Class.generic.43feb7.1] +// CHECK:STDOUT: %Main.Class: %Class.type.d8c37e.1 = import_ref Main//foo, Class, loaded [concrete = constants.%Class.generic.f1d2f4.1] // CHECK:STDOUT: %Main.CompleteClass = import_ref Main//foo, CompleteClass, unloaded // CHECK:STDOUT: %Main.F = import_ref Main//foo, F, unloaded -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } @@ -897,13 +897,13 @@ class Class(U:! type) { // CHECK:STDOUT: .Class = imports.%Main.Class // CHECK:STDOUT: .CompleteClass = imports.%Main.CompleteClass // CHECK:STDOUT: .F = imports.%Main.F -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .T = // CHECK:STDOUT: } // CHECK:STDOUT: %default.import.loc2_19.1 = import // CHECK:STDOUT: %default.import.loc2_19.2 = import // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Class.decl: %Class.type.062d2b.2 = class_decl @Class.loc12 [concrete = constants.%Class.generic.43feb7.2] { +// CHECK:STDOUT: %Class.decl: %Class.type.d8c37e.2 = class_decl @Class.loc12 [concrete = constants.%Class.generic.f1d2f4.2] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc12_17.1: type = splice_block %.loc12_17.2 [concrete = type] { @@ -931,7 +931,7 @@ class Class(U:! type) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Class.63dc94.2 +// CHECK:STDOUT: .Self = constants.%Class.e25855.2 // CHECK:STDOUT: .T = // CHECK:STDOUT: .x = %.loc17 // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/generic/init.carbon b/toolchain/check/testdata/class/generic/init.carbon index abdb517f8c05..f1b1b12a88e5 100644 --- a/toolchain/check/testdata/class/generic/init.carbon +++ b/toolchain/check/testdata/class/generic/init.carbon @@ -58,73 +58,73 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %Copy.type, %type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %facet_type: type = facet_type <@Destroy & @Copy> [concrete] -// CHECK:STDOUT: %pattern_type.c7a: type = pattern_type %facet_type [concrete] -// CHECK:STDOUT: %T.2b8: %facet_type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.4f9: type = facet_access_type %T.2b8 [symbolic] -// CHECK:STDOUT: %pattern_type.991: type = pattern_type %T.as_type.4f9 [symbolic] -// CHECK:STDOUT: %.63d: Core.Form = init_form %T.as_type.4f9 [symbolic] +// CHECK:STDOUT: %pattern_type.980: type = pattern_type %facet_type [concrete] +// CHECK:STDOUT: %T.cb0: %facet_type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.c70: type = facet_access_type %T.cb0 [symbolic] +// CHECK:STDOUT: %pattern_type.e2d: type = pattern_type %T.as_type.c70 [symbolic] +// CHECK:STDOUT: %.f8e: Core.Form = init_form %T.as_type.c70 [symbolic] // CHECK:STDOUT: %InitFromStructGeneric.type: type = fn_type @InitFromStructGeneric [concrete] // CHECK:STDOUT: %InitFromStructGeneric: %InitFromStructGeneric.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.9f2: = require_complete_type %T.as_type.4f9 [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.db0: = lookup_impl_witness %T.2b8, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.34d: %Destroy.type = facet_value %T.as_type.4f9, (%Destroy.lookup_impl_witness.db0) [symbolic] -// CHECK:STDOUT: %Class.f79: type = class_type @Class, @Class(%Destroy.facet.34d) [symbolic] -// CHECK:STDOUT: %Class.elem.b9e: type = unbound_element_type %Class.f79, %T.as_type.4f9 [symbolic] -// CHECK:STDOUT: %struct_type.k.0d3: type = struct_type {.k: %T.as_type.4f9} [symbolic] -// CHECK:STDOUT: %require_complete.16b: = require_complete_type %Class.f79 [symbolic] -// CHECK:STDOUT: %pattern_type.2cc: type = pattern_type %Class.f79 [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.0c0: = lookup_impl_witness %T.2b8, @Copy [symbolic] -// CHECK:STDOUT: %Copy.facet.4c9: %Copy.type = facet_value %T.as_type.4f9, (%Copy.lookup_impl_witness.0c0) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.1ef: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.4c9) [symbolic] -// CHECK:STDOUT: %.e09: type = fn_type_with_self_type %Copy.WithSelf.Op.type.1ef, %Copy.facet.4c9 [symbolic] -// CHECK:STDOUT: %impl.elem0.eda: %.e09 = impl_witness_access %Copy.lookup_impl_witness.0c0, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.550: = specific_impl_function %impl.elem0.eda, @Copy.WithSelf.Op(%Copy.facet.4c9) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.63b: = lookup_impl_witness %Class.f79, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.158: %Destroy.type = facet_value %Class.f79, (%Destroy.lookup_impl_witness.63b) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.b22: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.158) [symbolic] -// CHECK:STDOUT: %.e55: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.b22, %Destroy.facet.158 [symbolic] -// CHECK:STDOUT: %impl.elem0.a26: %.e55 = impl_witness_access %Destroy.lookup_impl_witness.63b, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.a93: = specific_impl_function %impl.elem0.a26, @Destroy.WithSelf.Op(%Destroy.facet.158) [symbolic] +// CHECK:STDOUT: %require_complete.f4b: = require_complete_type %T.as_type.c70 [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.420: = lookup_impl_witness %T.cb0, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.4ff: %Destroy.type = facet_value %T.as_type.c70, (%Destroy.lookup_impl_witness.420) [symbolic] +// CHECK:STDOUT: %Class.b88: type = class_type @Class, @Class(%Destroy.facet.4ff) [symbolic] +// CHECK:STDOUT: %Class.elem.e92: type = unbound_element_type %Class.b88, %T.as_type.c70 [symbolic] +// CHECK:STDOUT: %struct_type.k.81f: type = struct_type {.k: %T.as_type.c70} [symbolic] +// CHECK:STDOUT: %require_complete.e57: = require_complete_type %Class.b88 [symbolic] +// CHECK:STDOUT: %pattern_type.c9b: type = pattern_type %Class.b88 [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.300: = lookup_impl_witness %T.cb0, @Copy [symbolic] +// CHECK:STDOUT: %Copy.facet.11a: %Copy.type = facet_value %T.as_type.c70, (%Copy.lookup_impl_witness.300) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cc7: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.11a) [symbolic] +// CHECK:STDOUT: %.4f1: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cc7, %Copy.facet.11a [symbolic] +// CHECK:STDOUT: %impl.elem0.9fa: %.4f1 = impl_witness_access %Copy.lookup_impl_witness.300, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.dfd: = specific_impl_function %impl.elem0.9fa, @Copy.WithSelf.Op(%Copy.facet.11a) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.20f: = lookup_impl_witness %Class.b88, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.a36: %Destroy.type = facet_value %Class.b88, (%Destroy.lookup_impl_witness.20f) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.bd2: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.a36) [symbolic] +// CHECK:STDOUT: %.70e: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.bd2, %Destroy.facet.a36 [symbolic] +// CHECK:STDOUT: %impl.elem0.686: %.70e = impl_witness_access %Destroy.lookup_impl_witness.20f, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.bab: = specific_impl_function %impl.elem0.686, @Destroy.WithSelf.Op(%Destroy.facet.a36) [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %InitFromStructSpecific.type: type = fn_type @InitFromStructSpecific [concrete] // CHECK:STDOUT: %InitFromStructSpecific: %InitFromStructSpecific.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc15_19.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.2: = custom_witness (%Destroy.Op.1dc86d.2), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.322: %Destroy.type = facet_value %i32, (%custom_witness.340963.2) [concrete] -// CHECK:STDOUT: %Class.242: type = class_type @Class, @Class(%Destroy.facet.322) [concrete] -// CHECK:STDOUT: %Class.elem.8f1: type = unbound_element_type %Class.242, %i32 [concrete] -// CHECK:STDOUT: %struct_type.k.fae: type = struct_type {.k: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.0c8: type = pattern_type %Class.242 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc15_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc15_19.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.2: = custom_witness (%Destroy.Op.2dd605.2), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.95d: %Destroy.type = facet_value %i32, (%custom_witness.e20f1f.2) [concrete] +// CHECK:STDOUT: %Class.f09: type = class_type @Class, @Class(%Destroy.facet.95d) [concrete] +// CHECK:STDOUT: %Class.elem.3e9: type = unbound_element_type %Class.f09, %i32 [concrete] +// CHECK:STDOUT: %struct_type.k.baa: type = struct_type {.k: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.786: type = pattern_type %Class.f09 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc15_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -138,57 +138,57 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %InitFromStructGeneric.decl: %InitFromStructGeneric.type = fn_decl @InitFromStructGeneric [concrete = constants.%InitFromStructGeneric] { -// CHECK:STDOUT: %T.patt: %pattern_type.c7a = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @InitFromStructGeneric.%pattern_type.loc9 (%pattern_type.991) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @InitFromStructGeneric.%pattern_type.loc9 (%pattern_type.991) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @InitFromStructGeneric.%pattern_type.loc9 (%pattern_type.991) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @InitFromStructGeneric.%pattern_type.loc9 (%pattern_type.991) = return_slot_pattern %return.param_patt, %.loc9_65.3 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.980 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @InitFromStructGeneric.%pattern_type.loc9 (%pattern_type.e2d) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @InitFromStructGeneric.%pattern_type.loc9 (%pattern_type.e2d) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @InitFromStructGeneric.%pattern_type.loc9 (%pattern_type.e2d) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @InitFromStructGeneric.%pattern_type.loc9 (%pattern_type.e2d) = return_slot_pattern %return.param_patt, %.loc9_65.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc9_65: %facet_type = name_ref T, %T.loc9_27.2 [symbolic = %T.loc9_27.1 (constants.%T.2b8)] -// CHECK:STDOUT: %T.as_type.loc9_65: type = facet_access_type %T.ref.loc9_65 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.4f9)] -// CHECK:STDOUT: %.loc9_65.3: type = converted %T.ref.loc9_65, %T.as_type.loc9_65 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.4f9)] -// CHECK:STDOUT: %.loc9_65.4: Core.Form = init_form %.loc9_65.3 [symbolic = %.loc9_65.2 (constants.%.63d)] +// CHECK:STDOUT: %T.ref.loc9_65: %facet_type = name_ref T, %T.loc9_27.2 [symbolic = %T.loc9_27.1 (constants.%T.cb0)] +// CHECK:STDOUT: %T.as_type.loc9_65: type = facet_access_type %T.ref.loc9_65 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.c70)] +// CHECK:STDOUT: %.loc9_65.3: type = converted %T.ref.loc9_65, %T.as_type.loc9_65 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.c70)] +// CHECK:STDOUT: %.loc9_65.4: Core.Form = init_form %.loc9_65.3 [symbolic = %.loc9_65.2 (constants.%.f8e)] // CHECK:STDOUT: %.loc9_40.1: type = splice_block %.loc9_40.3 [concrete = constants.%facet_type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref.loc9_30: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: %Core.ref.loc9_42: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Destroy.ref: type = name_ref Destroy, imports.%Core.Destroy [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %impl.elem0.loc9: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc9: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc9: = bound_method %Copy.ref, %impl.elem0.loc9 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method.loc9(%Copy.ref, %Destroy.ref) [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc9_40.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc9_40.3: type = converted %type.as.BitAndWith.impl.Op.call, %.loc9_40.2 [concrete = constants.%facet_type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc9_27.2: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc9_27.1 (constants.%T.2b8)] -// CHECK:STDOUT: %x.param: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) = value_param call_param0 -// CHECK:STDOUT: %.loc9_59.1: type = splice_block %.loc9_59.2 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.4f9)] { -// CHECK:STDOUT: %T.ref.loc9_59: %facet_type = name_ref T, %T.loc9_27.2 [symbolic = %T.loc9_27.1 (constants.%T.2b8)] -// CHECK:STDOUT: %T.as_type.loc9_59.2: type = facet_access_type %T.ref.loc9_59 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.4f9)] -// CHECK:STDOUT: %.loc9_59.2: type = converted %T.ref.loc9_59, %T.as_type.loc9_59.2 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.4f9)] +// CHECK:STDOUT: %T.loc9_27.2: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc9_27.1 (constants.%T.cb0)] +// CHECK:STDOUT: %x.param: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) = value_param call_param0 +// CHECK:STDOUT: %.loc9_59.1: type = splice_block %.loc9_59.2 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.c70)] { +// CHECK:STDOUT: %T.ref.loc9_59: %facet_type = name_ref T, %T.loc9_27.2 [symbolic = %T.loc9_27.1 (constants.%T.cb0)] +// CHECK:STDOUT: %T.as_type.loc9_59.2: type = facet_access_type %T.ref.loc9_59 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.c70)] +// CHECK:STDOUT: %.loc9_59.2: type = converted %T.ref.loc9_59, %T.as_type.loc9_59.2 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.c70)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) = value_binding x, %x.param -// CHECK:STDOUT: %return.param: ref @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) = out_param call_param1 -// CHECK:STDOUT: %return: ref @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) = return_slot %return.param +// CHECK:STDOUT: %x: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) = value_binding x, %x.param +// CHECK:STDOUT: %return.param: ref @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) = out_param call_param1 +// CHECK:STDOUT: %return: ref @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %InitFromStructSpecific.decl: %InitFromStructSpecific.type = fn_decl @InitFromStructSpecific [concrete = constants.%InitFromStructSpecific] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc14_38 [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc14_38 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc14_38: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc14: Core.Form = init_form %i32.loc14_38 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc14: Core.Form = init_form %i32.loc14_38 [concrete = constants.%.7ea] // CHECK:STDOUT: %x.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc14_30: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %x: %i32 = value_binding x, %x.param @@ -198,74 +198,74 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @InitFromStructGeneric(%T.loc9_27.2: %facet_type) { -// CHECK:STDOUT: %T.loc9_27.1: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc9_27.1 (constants.%T.2b8)] -// CHECK:STDOUT: %T.as_type.loc9_59.1: type = facet_access_type %T.loc9_27.1 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.4f9)] -// CHECK:STDOUT: %pattern_type.loc9: type = pattern_type %T.as_type.loc9_59.1 [symbolic = %pattern_type.loc9 (constants.%pattern_type.991)] -// CHECK:STDOUT: %.loc9_65.2: Core.Form = init_form %T.as_type.loc9_59.1 [symbolic = %.loc9_65.2 (constants.%.63d)] +// CHECK:STDOUT: %T.loc9_27.1: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc9_27.1 (constants.%T.cb0)] +// CHECK:STDOUT: %T.as_type.loc9_59.1: type = facet_access_type %T.loc9_27.1 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.c70)] +// CHECK:STDOUT: %pattern_type.loc9: type = pattern_type %T.as_type.loc9_59.1 [symbolic = %pattern_type.loc9 (constants.%pattern_type.e2d)] +// CHECK:STDOUT: %.loc9_65.2: Core.Form = init_form %T.as_type.loc9_59.1 [symbolic = %.loc9_65.2 (constants.%.f8e)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc9: = require_complete_type %T.as_type.loc9_59.1 [symbolic = %require_complete.loc9 (constants.%require_complete.9f2)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc10_17: = lookup_impl_witness %T.loc9_27.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc10_17 (constants.%Destroy.lookup_impl_witness.db0)] -// CHECK:STDOUT: %Destroy.facet.loc10_17.2: %Destroy.type = facet_value %T.as_type.loc9_59.1, (%Destroy.lookup_impl_witness.loc10_17) [symbolic = %Destroy.facet.loc10_17.2 (constants.%Destroy.facet.34d)] -// CHECK:STDOUT: %Class.loc10_17.2: type = class_type @Class, @Class(%Destroy.facet.loc10_17.2) [symbolic = %Class.loc10_17.2 (constants.%Class.f79)] -// CHECK:STDOUT: %require_complete.loc10: = require_complete_type %Class.loc10_17.2 [symbolic = %require_complete.loc10 (constants.%require_complete.16b)] -// CHECK:STDOUT: %pattern_type.loc10: type = pattern_type %Class.loc10_17.2 [symbolic = %pattern_type.loc10 (constants.%pattern_type.2cc)] -// CHECK:STDOUT: %struct_type.k: type = struct_type {.k: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9)} [symbolic = %struct_type.k (constants.%struct_type.k.0d3)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc9_27.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.0c0)] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %T.as_type.loc9_59.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.4c9)] -// 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.1ef)] -// CHECK:STDOUT: %.loc10_27: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_27 (constants.%.e09)] -// CHECK:STDOUT: %impl.elem0.loc10_27.2: @InitFromStructGeneric.%.loc10_27 (%.e09) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_27.2 (constants.%impl.elem0.eda)] -// CHECK:STDOUT: %specific_impl_fn.loc10_27.2: = specific_impl_function %impl.elem0.loc10_27.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_27.2 (constants.%specific_impl_fn.550)] -// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class.loc10_17.2, %T.as_type.loc9_59.1 [symbolic = %Class.elem (constants.%Class.elem.b9e)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc10_3: = lookup_impl_witness %Class.loc10_17.2, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc10_3 (constants.%Destroy.lookup_impl_witness.63b)] -// CHECK:STDOUT: %Destroy.facet.loc10_3: %Destroy.type = facet_value %Class.loc10_17.2, (%Destroy.lookup_impl_witness.loc10_3) [symbolic = %Destroy.facet.loc10_3 (constants.%Destroy.facet.158)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc10_3) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.b22)] -// CHECK:STDOUT: %.loc10_3.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet.loc10_3 [symbolic = %.loc10_3.2 (constants.%.e55)] -// CHECK:STDOUT: %impl.elem0.loc10_3.2: @InitFromStructGeneric.%.loc10_3.2 (%.e55) = impl_witness_access %Destroy.lookup_impl_witness.loc10_3, element0 [symbolic = %impl.elem0.loc10_3.2 (constants.%impl.elem0.a26)] -// CHECK:STDOUT: %specific_impl_fn.loc10_3.2: = specific_impl_function %impl.elem0.loc10_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc10_3) [symbolic = %specific_impl_fn.loc10_3.2 (constants.%specific_impl_fn.a93)] +// CHECK:STDOUT: %require_complete.loc9: = require_complete_type %T.as_type.loc9_59.1 [symbolic = %require_complete.loc9 (constants.%require_complete.f4b)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc10_17: = lookup_impl_witness %T.loc9_27.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc10_17 (constants.%Destroy.lookup_impl_witness.420)] +// CHECK:STDOUT: %Destroy.facet.loc10_17.2: %Destroy.type = facet_value %T.as_type.loc9_59.1, (%Destroy.lookup_impl_witness.loc10_17) [symbolic = %Destroy.facet.loc10_17.2 (constants.%Destroy.facet.4ff)] +// CHECK:STDOUT: %Class.loc10_17.2: type = class_type @Class, @Class(%Destroy.facet.loc10_17.2) [symbolic = %Class.loc10_17.2 (constants.%Class.b88)] +// CHECK:STDOUT: %require_complete.loc10: = require_complete_type %Class.loc10_17.2 [symbolic = %require_complete.loc10 (constants.%require_complete.e57)] +// CHECK:STDOUT: %pattern_type.loc10: type = pattern_type %Class.loc10_17.2 [symbolic = %pattern_type.loc10 (constants.%pattern_type.c9b)] +// CHECK:STDOUT: %struct_type.k: type = struct_type {.k: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70)} [symbolic = %struct_type.k (constants.%struct_type.k.81f)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc9_27.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.300)] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %T.as_type.loc9_59.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.11a)] +// 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.cc7)] +// CHECK:STDOUT: %.loc10_27: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_27 (constants.%.4f1)] +// CHECK:STDOUT: %impl.elem0.loc10_27.2: @InitFromStructGeneric.%.loc10_27 (%.4f1) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_27.2 (constants.%impl.elem0.9fa)] +// CHECK:STDOUT: %specific_impl_fn.loc10_27.2: = specific_impl_function %impl.elem0.loc10_27.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_27.2 (constants.%specific_impl_fn.dfd)] +// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class.loc10_17.2, %T.as_type.loc9_59.1 [symbolic = %Class.elem (constants.%Class.elem.e92)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc10_3: = lookup_impl_witness %Class.loc10_17.2, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc10_3 (constants.%Destroy.lookup_impl_witness.20f)] +// CHECK:STDOUT: %Destroy.facet.loc10_3: %Destroy.type = facet_value %Class.loc10_17.2, (%Destroy.lookup_impl_witness.loc10_3) [symbolic = %Destroy.facet.loc10_3 (constants.%Destroy.facet.a36)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc10_3) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.bd2)] +// CHECK:STDOUT: %.loc10_3.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet.loc10_3 [symbolic = %.loc10_3.2 (constants.%.70e)] +// CHECK:STDOUT: %impl.elem0.loc10_3.2: @InitFromStructGeneric.%.loc10_3.2 (%.70e) = impl_witness_access %Destroy.lookup_impl_witness.loc10_3, element0 [symbolic = %impl.elem0.loc10_3.2 (constants.%impl.elem0.686)] +// CHECK:STDOUT: %specific_impl_fn.loc10_3.2: = specific_impl_function %impl.elem0.loc10_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc10_3) [symbolic = %specific_impl_fn.loc10_3.2 (constants.%specific_impl_fn.bab)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9)) -> out %return.param: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) { +// CHECK:STDOUT: fn(%x.param: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70)) -> out %return.param: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: @InitFromStructGeneric.%pattern_type.loc10 (%pattern_type.2cc) = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: @InitFromStructGeneric.%pattern_type.loc10 (%pattern_type.2cc) = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: @InitFromStructGeneric.%pattern_type.loc10 (%pattern_type.c9b) = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: @InitFromStructGeneric.%pattern_type.loc10 (%pattern_type.c9b) = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref @InitFromStructGeneric.%Class.loc10_17.2 (%Class.f79) = var %v.var_patt -// CHECK:STDOUT: %x.ref: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) = name_ref x, %x -// CHECK:STDOUT: %.loc10_28.1: @InitFromStructGeneric.%struct_type.k (%struct_type.k.0d3) = struct_literal (%x.ref) -// CHECK:STDOUT: %impl.elem0.loc10_27.1: @InitFromStructGeneric.%.loc10_27 (%.e09) = impl_witness_access constants.%Copy.lookup_impl_witness.0c0, element0 [symbolic = %impl.elem0.loc10_27.2 (constants.%impl.elem0.eda)] +// CHECK:STDOUT: %v.var: ref @InitFromStructGeneric.%Class.loc10_17.2 (%Class.b88) = var %v.var_patt +// CHECK:STDOUT: %x.ref: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) = name_ref x, %x +// CHECK:STDOUT: %.loc10_28.1: @InitFromStructGeneric.%struct_type.k (%struct_type.k.81f) = struct_literal (%x.ref) +// CHECK:STDOUT: %impl.elem0.loc10_27.1: @InitFromStructGeneric.%.loc10_27 (%.4f1) = impl_witness_access constants.%Copy.lookup_impl_witness.300, element0 [symbolic = %impl.elem0.loc10_27.2 (constants.%impl.elem0.9fa)] // CHECK:STDOUT: %bound_method.loc10_27.1: = bound_method %x.ref, %impl.elem0.loc10_27.1 -// CHECK:STDOUT: %specific_impl_fn.loc10_27.1: = specific_impl_function %impl.elem0.loc10_27.1, @Copy.WithSelf.Op(constants.%Copy.facet.4c9) [symbolic = %specific_impl_fn.loc10_27.2 (constants.%specific_impl_fn.550)] +// CHECK:STDOUT: %specific_impl_fn.loc10_27.1: = specific_impl_function %impl.elem0.loc10_27.1, @Copy.WithSelf.Op(constants.%Copy.facet.11a) [symbolic = %specific_impl_fn.loc10_27.2 (constants.%specific_impl_fn.dfd)] // CHECK:STDOUT: %bound_method.loc10_27.2: = bound_method %x.ref, %specific_impl_fn.loc10_27.1 -// CHECK:STDOUT: %.loc10_28.2: ref @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) = class_element_access %v.var, element0 -// CHECK:STDOUT: %Copy.WithSelf.Op.call.loc10: init @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) to %.loc10_28.2 = call %bound_method.loc10_27.2(%x.ref) -// CHECK:STDOUT: %.loc10_28.3: init @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) to %.loc10_28.2 = in_place_init %Copy.WithSelf.Op.call.loc10 -// CHECK:STDOUT: %.loc10_28.4: init @InitFromStructGeneric.%Class.loc10_17.2 (%Class.f79) to %v.var = class_init (%.loc10_28.3) -// CHECK:STDOUT: %.loc10_3.1: init @InitFromStructGeneric.%Class.loc10_17.2 (%Class.f79) = converted %.loc10_28.1, %.loc10_28.4 +// CHECK:STDOUT: %.loc10_28.2: ref @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) = class_element_access %v.var, element0 +// CHECK:STDOUT: %Copy.WithSelf.Op.call.loc10: init @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) to %.loc10_28.2 = call %bound_method.loc10_27.2(%x.ref) +// CHECK:STDOUT: %.loc10_28.3: init @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) to %.loc10_28.2 = in_place_init %Copy.WithSelf.Op.call.loc10 +// CHECK:STDOUT: %.loc10_28.4: init @InitFromStructGeneric.%Class.loc10_17.2 (%Class.b88) to %v.var = class_init (%.loc10_28.3) +// CHECK:STDOUT: %.loc10_3.1: init @InitFromStructGeneric.%Class.loc10_17.2 (%Class.b88) = converted %.loc10_28.1, %.loc10_28.4 // CHECK:STDOUT: assign %v.var, %.loc10_3.1 -// CHECK:STDOUT: %.loc10_17.1: type = splice_block %Class.loc10_17.1 [symbolic = %Class.loc10_17.2 (constants.%Class.f79)] { +// CHECK:STDOUT: %.loc10_17.1: type = splice_block %Class.loc10_17.1 [symbolic = %Class.loc10_17.2 (constants.%Class.b88)] { // CHECK:STDOUT: %Class.ref: %Class.type = name_ref Class, file.%Class.decl [concrete = constants.%Class.generic] -// CHECK:STDOUT: %T.ref.loc10: %facet_type = name_ref T, %T.loc9_27.2 [symbolic = %T.loc9_27.1 (constants.%T.2b8)] -// CHECK:STDOUT: %T.as_type.loc10: type = facet_access_type %T.ref.loc10 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.4f9)] -// CHECK:STDOUT: %Destroy.facet.loc10_17.1: %Destroy.type = facet_value %T.as_type.loc10, (constants.%Destroy.lookup_impl_witness.db0) [symbolic = %Destroy.facet.loc10_17.2 (constants.%Destroy.facet.34d)] -// CHECK:STDOUT: %.loc10_17.2: %Destroy.type = converted %T.ref.loc10, %Destroy.facet.loc10_17.1 [symbolic = %Destroy.facet.loc10_17.2 (constants.%Destroy.facet.34d)] -// CHECK:STDOUT: %Class.loc10_17.1: type = class_type @Class, @Class(constants.%Destroy.facet.34d) [symbolic = %Class.loc10_17.2 (constants.%Class.f79)] +// CHECK:STDOUT: %T.ref.loc10: %facet_type = name_ref T, %T.loc9_27.2 [symbolic = %T.loc9_27.1 (constants.%T.cb0)] +// CHECK:STDOUT: %T.as_type.loc10: type = facet_access_type %T.ref.loc10 [symbolic = %T.as_type.loc9_59.1 (constants.%T.as_type.c70)] +// CHECK:STDOUT: %Destroy.facet.loc10_17.1: %Destroy.type = facet_value %T.as_type.loc10, (constants.%Destroy.lookup_impl_witness.420) [symbolic = %Destroy.facet.loc10_17.2 (constants.%Destroy.facet.4ff)] +// CHECK:STDOUT: %.loc10_17.2: %Destroy.type = converted %T.ref.loc10, %Destroy.facet.loc10_17.1 [symbolic = %Destroy.facet.loc10_17.2 (constants.%Destroy.facet.4ff)] +// CHECK:STDOUT: %Class.loc10_17.1: type = class_type @Class, @Class(constants.%Destroy.facet.4ff) [symbolic = %Class.loc10_17.2 (constants.%Class.b88)] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref @InitFromStructGeneric.%Class.loc10_17.2 (%Class.f79) = ref_binding v, %v.var -// CHECK:STDOUT: %v.ref: ref @InitFromStructGeneric.%Class.loc10_17.2 (%Class.f79) = name_ref v, %v -// CHECK:STDOUT: %k.ref: @InitFromStructGeneric.%Class.elem (%Class.elem.b9e) = name_ref k, @Class.%.loc5 [concrete = @Class.%.loc5] -// CHECK:STDOUT: %.loc11_11.1: ref @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) = class_element_access %v.ref, element0 -// CHECK:STDOUT: %.loc11_11.2: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) = acquire_value %.loc11_11.1 -// CHECK:STDOUT: %impl.elem0.loc11: @InitFromStructGeneric.%.loc10_27 (%.e09) = impl_witness_access constants.%Copy.lookup_impl_witness.0c0, element0 [symbolic = %impl.elem0.loc10_27.2 (constants.%impl.elem0.eda)] +// CHECK:STDOUT: %v: ref @InitFromStructGeneric.%Class.loc10_17.2 (%Class.b88) = ref_binding v, %v.var +// CHECK:STDOUT: %v.ref: ref @InitFromStructGeneric.%Class.loc10_17.2 (%Class.b88) = name_ref v, %v +// CHECK:STDOUT: %k.ref: @InitFromStructGeneric.%Class.elem (%Class.elem.e92) = name_ref k, @Class.%.loc5 [concrete = @Class.%.loc5] +// CHECK:STDOUT: %.loc11_11.1: ref @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) = class_element_access %v.ref, element0 +// CHECK:STDOUT: %.loc11_11.2: @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) = acquire_value %.loc11_11.1 +// CHECK:STDOUT: %impl.elem0.loc11: @InitFromStructGeneric.%.loc10_27 (%.4f1) = impl_witness_access constants.%Copy.lookup_impl_witness.300, element0 [symbolic = %impl.elem0.loc10_27.2 (constants.%impl.elem0.9fa)] // CHECK:STDOUT: %bound_method.loc11_11.1: = bound_method %.loc11_11.2, %impl.elem0.loc11 -// CHECK:STDOUT: %specific_impl_fn.loc11: = specific_impl_function %impl.elem0.loc11, @Copy.WithSelf.Op(constants.%Copy.facet.4c9) [symbolic = %specific_impl_fn.loc10_27.2 (constants.%specific_impl_fn.550)] +// CHECK:STDOUT: %specific_impl_fn.loc11: = specific_impl_function %impl.elem0.loc11, @Copy.WithSelf.Op(constants.%Copy.facet.11a) [symbolic = %specific_impl_fn.loc10_27.2 (constants.%specific_impl_fn.dfd)] // CHECK:STDOUT: %bound_method.loc11_11.2: = bound_method %.loc11_11.2, %specific_impl_fn.loc11 -// CHECK:STDOUT: %.loc9_65.1: ref @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) = splice_block %return.param {} -// CHECK:STDOUT: %Copy.WithSelf.Op.call.loc11: init @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.4f9) to %.loc9_65.1 = call %bound_method.loc11_11.2(%.loc11_11.2) -// CHECK:STDOUT: %impl.elem0.loc10_3.1: @InitFromStructGeneric.%.loc10_3.2 (%.e55) = impl_witness_access constants.%Destroy.lookup_impl_witness.63b, element0 [symbolic = %impl.elem0.loc10_3.2 (constants.%impl.elem0.a26)] +// CHECK:STDOUT: %.loc9_65.1: ref @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) = splice_block %return.param {} +// CHECK:STDOUT: %Copy.WithSelf.Op.call.loc11: init @InitFromStructGeneric.%T.as_type.loc9_59.1 (%T.as_type.c70) to %.loc9_65.1 = call %bound_method.loc11_11.2(%.loc11_11.2) +// CHECK:STDOUT: %impl.elem0.loc10_3.1: @InitFromStructGeneric.%.loc10_3.2 (%.70e) = impl_witness_access constants.%Destroy.lookup_impl_witness.20f, element0 [symbolic = %impl.elem0.loc10_3.2 (constants.%impl.elem0.686)] // CHECK:STDOUT: %bound_method.loc10_3.1: = bound_method %v.var, %impl.elem0.loc10_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc10_3.1: = specific_impl_function %impl.elem0.loc10_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.158) [symbolic = %specific_impl_fn.loc10_3.2 (constants.%specific_impl_fn.a93)] +// CHECK:STDOUT: %specific_impl_fn.loc10_3.1: = specific_impl_function %impl.elem0.loc10_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.a36) [symbolic = %specific_impl_fn.loc10_3.2 (constants.%specific_impl_fn.bab)] // CHECK:STDOUT: %bound_method.loc10_3.2: = bound_method %v.var, %specific_impl_fn.loc10_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc10_3.2(%v.var) // CHECK:STDOUT: return %Copy.WithSelf.Op.call.loc11 to %return.param @@ -275,40 +275,40 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: fn @InitFromStructSpecific(%x.param: %i32) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.0c8 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.0c8 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.786 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.786 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref %Class.242 = var %v.var_patt +// CHECK:STDOUT: %v.var: ref %Class.f09 = var %v.var_patt // CHECK:STDOUT: %x.ref: %i32 = name_ref x, %x -// CHECK:STDOUT: %.loc15_30.1: %struct_type.k.fae = struct_literal (%x.ref) -// CHECK:STDOUT: %impl.elem0.loc15: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %.loc15_30.1: %struct_type.k.baa = struct_literal (%x.ref) +// CHECK:STDOUT: %impl.elem0.loc15: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc15_29.1: = bound_method %x.ref, %impl.elem0.loc15 // CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc15_29.2: = bound_method %x.ref, %specific_fn.loc15 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc15: init %i32 = call %bound_method.loc15_29.2(%x.ref) // CHECK:STDOUT: %.loc15_30.2: ref %i32 = class_element_access %v.var, element0 // CHECK:STDOUT: %.loc15_30.3: init %i32 to %.loc15_30.2 = in_place_init %Int.as.Copy.impl.Op.call.loc15 -// CHECK:STDOUT: %.loc15_30.4: init %Class.242 to %v.var = class_init (%.loc15_30.3) -// CHECK:STDOUT: %.loc15_3: init %Class.242 = converted %.loc15_30.1, %.loc15_30.4 +// CHECK:STDOUT: %.loc15_30.4: init %Class.f09 to %v.var = class_init (%.loc15_30.3) +// CHECK:STDOUT: %.loc15_3: init %Class.f09 = converted %.loc15_30.1, %.loc15_30.4 // CHECK:STDOUT: assign %v.var, %.loc15_3 -// CHECK:STDOUT: %.loc15_19.1: type = splice_block %Class [concrete = constants.%Class.242] { +// CHECK:STDOUT: %.loc15_19.1: type = splice_block %Class [concrete = constants.%Class.f09] { // CHECK:STDOUT: %Class.ref: %Class.type = name_ref Class, file.%Class.decl [concrete = constants.%Class.generic] // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %i32.loc15, (constants.%custom_witness.340963.2) [concrete = constants.%Destroy.facet.322] -// CHECK:STDOUT: %.loc15_19.2: %Destroy.type = converted %i32.loc15, %Destroy.facet [concrete = constants.%Destroy.facet.322] -// CHECK:STDOUT: %Class: type = class_type @Class, @Class(constants.%Destroy.facet.322) [concrete = constants.%Class.242] +// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %i32.loc15, (constants.%custom_witness.e20f1f.2) [concrete = constants.%Destroy.facet.95d] +// CHECK:STDOUT: %.loc15_19.2: %Destroy.type = converted %i32.loc15, %Destroy.facet [concrete = constants.%Destroy.facet.95d] +// CHECK:STDOUT: %Class: type = class_type @Class, @Class(constants.%Destroy.facet.95d) [concrete = constants.%Class.f09] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref %Class.242 = ref_binding v, %v.var -// CHECK:STDOUT: %v.ref: ref %Class.242 = name_ref v, %v -// CHECK:STDOUT: %k.ref: %Class.elem.8f1 = name_ref k, @Class.%.loc5 [concrete = @Class.%.loc5] +// CHECK:STDOUT: %v: ref %Class.f09 = ref_binding v, %v.var +// CHECK:STDOUT: %v.ref: ref %Class.f09 = name_ref v, %v +// CHECK:STDOUT: %k.ref: %Class.elem.3e9 = name_ref k, @Class.%.loc5 [concrete = @Class.%.loc5] // CHECK:STDOUT: %.loc16_11.1: ref %i32 = class_element_access %v.ref, element0 // CHECK:STDOUT: %.loc16_11.2: %i32 = acquire_value %.loc16_11.1 -// CHECK:STDOUT: %impl.elem0.loc16: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc16: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc16_11.1: = bound_method %.loc16_11.2, %impl.elem0.loc16 // CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_11.2: = bound_method %.loc16_11.2, %specific_fn.loc16 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc16: init %i32 = call %bound_method.loc16_11.2(%.loc16_11.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call.loc16 // CHECK:STDOUT: } @@ -320,21 +320,21 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc15_3.1(%self.param: ref %struct_type.k.fae) { +// CHECK:STDOUT: fn @Destroy.Op.loc15_3.1(%self.param: ref %struct_type.k.baa) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc15_3.2(%self.param: ref %Class.242) { +// CHECK:STDOUT: fn @Destroy.Op.loc15_3.2(%self.param: ref %Class.f09) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @InitFromStructGeneric(constants.%T.2b8) { -// CHECK:STDOUT: %T.loc9_27.1 => constants.%T.2b8 -// CHECK:STDOUT: %T.as_type.loc9_59.1 => constants.%T.as_type.4f9 -// CHECK:STDOUT: %pattern_type.loc9 => constants.%pattern_type.991 -// CHECK:STDOUT: %.loc9_65.2 => constants.%.63d +// CHECK:STDOUT: specific @InitFromStructGeneric(constants.%T.cb0) { +// CHECK:STDOUT: %T.loc9_27.1 => constants.%T.cb0 +// CHECK:STDOUT: %T.as_type.loc9_59.1 => constants.%T.as_type.c70 +// CHECK:STDOUT: %pattern_type.loc9 => constants.%pattern_type.e2d +// CHECK:STDOUT: %.loc9_65.2 => constants.%.f8e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- adapt.carbon @@ -345,40 +345,40 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: %Adapt.type: type = generic_class_type @Adapt [concrete] // CHECK:STDOUT: %Adapt.generic: %Adapt.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %pattern_type.35b: type = pattern_type %Copy.type [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.228 [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %.9ff809.2: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.b72: type = pattern_type %Copy.type [concrete] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.f49 [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %.dedae6.2: Core.Form = init_form %T.as_type [symbolic] // CHECK:STDOUT: %InitFromAdaptedGeneric.type: type = fn_type @InitFromAdaptedGeneric [concrete] // CHECK:STDOUT: %InitFromAdaptedGeneric: %InitFromAdaptedGeneric.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.c28: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %Adapt.06a: type = class_type @Adapt, @Adapt(%T.as_type) [symbolic] -// CHECK:STDOUT: %require_complete.f1a: = require_complete_type %Adapt.06a [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c49: = lookup_impl_witness %T.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.228) [symbolic] -// CHECK:STDOUT: %.12f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.2, %T.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbd: %.12f = impl_witness_access %Copy.lookup_impl_witness.c49, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f: = specific_impl_function %impl.elem0.cbd, @Copy.WithSelf.Op(%T.228) [symbolic] +// CHECK:STDOUT: %require_complete.77e: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %Adapt.cbc: type = class_type @Adapt, @Adapt(%T.as_type) [symbolic] +// CHECK:STDOUT: %require_complete.b9c: = require_complete_type %Adapt.cbc [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2dd: = lookup_impl_witness %T.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.f49) [symbolic] +// CHECK:STDOUT: %.e16: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.2, %T.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e: %.e16 = impl_witness_access %Copy.lookup_impl_witness.2dd, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ec: = specific_impl_function %impl.elem0.41e, @Copy.WithSelf.Op(%T.f49) [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %InitFromAdaptedSpecific.type: type = fn_type @InitFromAdaptedSpecific [concrete] // CHECK:STDOUT: %InitFromAdaptedSpecific: %InitFromAdaptedSpecific.type = struct_value () [concrete] -// CHECK:STDOUT: %Adapt.ee8: type = class_type @Adapt, @Adapt(%i32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Adapt.e48: type = class_type @Adapt, @Adapt(%i32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -390,31 +390,31 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %InitFromAdaptedGeneric.decl: %InitFromAdaptedGeneric.type = fn_decl @InitFromAdaptedGeneric [concrete = constants.%InitFromAdaptedGeneric] { -// CHECK:STDOUT: %T.patt: %pattern_type.35b = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @InitFromAdaptedGeneric.%pattern_type (%pattern_type.4b69d0.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @InitFromAdaptedGeneric.%pattern_type (%pattern_type.4b69d0.2) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @InitFromAdaptedGeneric.%pattern_type (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @InitFromAdaptedGeneric.%pattern_type (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc9_51.3 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.b72 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @InitFromAdaptedGeneric.%pattern_type (%pattern_type.c0fdca.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @InitFromAdaptedGeneric.%pattern_type (%pattern_type.c0fdca.2) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @InitFromAdaptedGeneric.%pattern_type (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @InitFromAdaptedGeneric.%pattern_type (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc9_51.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc9_51: %Copy.type = name_ref T, %T.loc9_28.2 [symbolic = %T.loc9_28.1 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc9_51: %Copy.type = name_ref T, %T.loc9_28.2 [symbolic = %T.loc9_28.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc9_51: type = facet_access_type %T.ref.loc9_51 [symbolic = %T.as_type.loc9_45.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc9_51.3: type = converted %T.ref.loc9_51, %T.as_type.loc9_51 [symbolic = %T.as_type.loc9_45.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc9_51.4: Core.Form = init_form %.loc9_51.3 [symbolic = %.loc9_51.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %.loc9_51.4: Core.Form = init_form %.loc9_51.3 [symbolic = %.loc9_51.2 (constants.%.dedae6.2)] // CHECK:STDOUT: %.loc9_35: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc9_28.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc9_28.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc9_28.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc9_28.1 (constants.%T.f49)] // CHECK:STDOUT: %x.param: @InitFromAdaptedGeneric.%T.as_type.loc9_45.1 (%T.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc9_45.1: type = splice_block %.loc9_45.2 [symbolic = %T.as_type.loc9_45.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref.loc9_45: %Copy.type = name_ref T, %T.loc9_28.2 [symbolic = %T.loc9_28.1 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc9_45: %Copy.type = name_ref T, %T.loc9_28.2 [symbolic = %T.loc9_28.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc9_45.2: type = facet_access_type %T.ref.loc9_45 [symbolic = %T.as_type.loc9_45.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc9_45.2: type = converted %T.ref.loc9_45, %T.as_type.loc9_45.2 [symbolic = %T.as_type.loc9_45.1 (constants.%T.as_type)] // CHECK:STDOUT: } @@ -423,13 +423,13 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: %return: ref @InitFromAdaptedGeneric.%T.as_type.loc9_45.1 (%T.as_type) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %InitFromAdaptedSpecific.decl: %InitFromAdaptedSpecific.type = fn_decl @InitFromAdaptedSpecific [concrete = constants.%InitFromAdaptedSpecific] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc13_39 [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc13_39 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc13_39: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc13: Core.Form = init_form %i32.loc13_39 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc13: Core.Form = init_form %i32.loc13_39 [concrete = constants.%.7ea] // CHECK:STDOUT: %x.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc13_31: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %x: %i32 = value_binding x, %x.param @@ -439,39 +439,39 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @InitFromAdaptedGeneric(%T.loc9_28.2: %Copy.type) { -// CHECK:STDOUT: %T.loc9_28.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc9_28.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc9_28.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc9_28.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc9_45.1: type = facet_access_type %T.loc9_28.1 [symbolic = %T.as_type.loc9_45.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc9_45.1 [symbolic = %pattern_type (constants.%pattern_type.4b69d0.2)] -// CHECK:STDOUT: %.loc9_51.2: Core.Form = init_form %T.as_type.loc9_45.1 [symbolic = %.loc9_51.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc9_45.1 [symbolic = %pattern_type (constants.%pattern_type.c0fdca.2)] +// CHECK:STDOUT: %.loc9_51.2: Core.Form = init_form %T.as_type.loc9_45.1 [symbolic = %.loc9_51.2 (constants.%.dedae6.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc9: = require_complete_type %T.as_type.loc9_45.1 [symbolic = %require_complete.loc9 (constants.%require_complete.c28)] -// CHECK:STDOUT: %Adapt.loc10_23.2: type = class_type @Adapt, @Adapt(%T.as_type.loc9_45.1) [symbolic = %Adapt.loc10_23.2 (constants.%Adapt.06a)] -// CHECK:STDOUT: %require_complete.loc10: = require_complete_type %Adapt.loc10_23.2 [symbolic = %require_complete.loc10 (constants.%require_complete.f1a)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc9_28.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc10_26.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc9_28.1 [symbolic = %.loc10_26.3 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc9_28.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc10_26.2: @InitFromAdaptedGeneric.%.loc10_26.3 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_26.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %specific_impl_fn.loc10_26.2: = specific_impl_function %impl.elem0.loc10_26.2, @Copy.WithSelf.Op(%T.loc9_28.1) [symbolic = %specific_impl_fn.loc10_26.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %require_complete.loc9: = require_complete_type %T.as_type.loc9_45.1 [symbolic = %require_complete.loc9 (constants.%require_complete.77e)] +// CHECK:STDOUT: %Adapt.loc10_23.2: type = class_type @Adapt, @Adapt(%T.as_type.loc9_45.1) [symbolic = %Adapt.loc10_23.2 (constants.%Adapt.cbc)] +// CHECK:STDOUT: %require_complete.loc10: = require_complete_type %Adapt.loc10_23.2 [symbolic = %require_complete.loc10 (constants.%require_complete.b9c)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc9_28.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc10_26.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc9_28.1 [symbolic = %.loc10_26.3 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc9_28.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc10_26.2: @InitFromAdaptedGeneric.%.loc10_26.3 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_26.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %specific_impl_fn.loc10_26.2: = specific_impl_function %impl.elem0.loc10_26.2, @Copy.WithSelf.Op(%T.loc9_28.1) [symbolic = %specific_impl_fn.loc10_26.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @InitFromAdaptedGeneric.%T.as_type.loc9_45.1 (%T.as_type)) -> out %return.param: @InitFromAdaptedGeneric.%T.as_type.loc9_45.1 (%T.as_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: @InitFromAdaptedGeneric.%T.as_type.loc9_45.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %Adapt.ref: %Adapt.type = name_ref Adapt, file.%Adapt.decl [concrete = constants.%Adapt.generic] -// CHECK:STDOUT: %T.ref.loc10_22: %Copy.type = name_ref T, %T.loc9_28.2 [symbolic = %T.loc9_28.1 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc10_22: %Copy.type = name_ref T, %T.loc9_28.2 [symbolic = %T.loc9_28.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc10_23: type = facet_access_type %T.ref.loc10_22 [symbolic = %T.as_type.loc9_45.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc10_23: type = converted %T.ref.loc10_22, %T.as_type.loc10_23 [symbolic = %T.as_type.loc9_45.1 (constants.%T.as_type)] -// CHECK:STDOUT: %Adapt.loc10_23.1: type = class_type @Adapt, @Adapt(constants.%T.as_type) [symbolic = %Adapt.loc10_23.2 (constants.%Adapt.06a)] -// CHECK:STDOUT: %.loc10_13.1: @InitFromAdaptedGeneric.%Adapt.loc10_23.2 (%Adapt.06a) = as_compatible %x.ref -// CHECK:STDOUT: %.loc10_13.2: @InitFromAdaptedGeneric.%Adapt.loc10_23.2 (%Adapt.06a) = converted %x.ref, %.loc10_13.1 -// CHECK:STDOUT: %T.ref.loc10_29: %Copy.type = name_ref T, %T.loc9_28.2 [symbolic = %T.loc9_28.1 (constants.%T.228)] +// CHECK:STDOUT: %Adapt.loc10_23.1: type = class_type @Adapt, @Adapt(constants.%T.as_type) [symbolic = %Adapt.loc10_23.2 (constants.%Adapt.cbc)] +// CHECK:STDOUT: %.loc10_13.1: @InitFromAdaptedGeneric.%Adapt.loc10_23.2 (%Adapt.cbc) = as_compatible %x.ref +// CHECK:STDOUT: %.loc10_13.2: @InitFromAdaptedGeneric.%Adapt.loc10_23.2 (%Adapt.cbc) = converted %x.ref, %.loc10_13.1 +// CHECK:STDOUT: %T.ref.loc10_29: %Copy.type = name_ref T, %T.loc9_28.2 [symbolic = %T.loc9_28.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc10_29: type = facet_access_type %T.ref.loc10_29 [symbolic = %T.as_type.loc9_45.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc10_29: type = converted %T.ref.loc10_29, %T.as_type.loc10_29 [symbolic = %T.as_type.loc9_45.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc10_26.1: @InitFromAdaptedGeneric.%T.as_type.loc9_45.1 (%T.as_type) = as_compatible %.loc10_13.2 // CHECK:STDOUT: %.loc10_26.2: @InitFromAdaptedGeneric.%T.as_type.loc9_45.1 (%T.as_type) = converted %.loc10_13.2, %.loc10_26.1 -// CHECK:STDOUT: %impl.elem0.loc10_26.1: @InitFromAdaptedGeneric.%.loc10_26.3 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc10_26.2 (constants.%impl.elem0.cbd)] +// CHECK:STDOUT: %impl.elem0.loc10_26.1: @InitFromAdaptedGeneric.%.loc10_26.3 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc10_26.2 (constants.%impl.elem0.41e)] // CHECK:STDOUT: %bound_method.loc10_26.1: = bound_method %.loc10_26.2, %impl.elem0.loc10_26.1 -// CHECK:STDOUT: %specific_impl_fn.loc10_26.1: = specific_impl_function %impl.elem0.loc10_26.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc10_26.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %specific_impl_fn.loc10_26.1: = specific_impl_function %impl.elem0.loc10_26.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc10_26.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: %bound_method.loc10_26.2: = bound_method %.loc10_26.2, %specific_impl_fn.loc10_26.1 // CHECK:STDOUT: %.loc9_51.1: ref @InitFromAdaptedGeneric.%T.as_type.loc9_45.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @InitFromAdaptedGeneric.%T.as_type.loc9_45.1 (%T.as_type) to %.loc9_51.1 = call %bound_method.loc10_26.2(%.loc10_26.2) @@ -484,13 +484,13 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: %x.ref: %i32 = name_ref x, %x // CHECK:STDOUT: %Adapt.ref: %Adapt.type = name_ref Adapt, file.%Adapt.decl [concrete = constants.%Adapt.generic] // CHECK:STDOUT: %i32.loc14_22: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Adapt: type = class_type @Adapt, @Adapt(constants.%i32) [concrete = constants.%Adapt.ee8] -// CHECK:STDOUT: %.loc14_13.1: %Adapt.ee8 = as_compatible %x.ref -// CHECK:STDOUT: %.loc14_13.2: %Adapt.ee8 = converted %x.ref, %.loc14_13.1 +// CHECK:STDOUT: %Adapt: type = class_type @Adapt, @Adapt(constants.%i32) [concrete = constants.%Adapt.e48] +// CHECK:STDOUT: %.loc14_13.1: %Adapt.e48 = as_compatible %x.ref +// CHECK:STDOUT: %.loc14_13.2: %Adapt.e48 = converted %x.ref, %.loc14_13.1 // CHECK:STDOUT: %i32.loc14_31: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc14_28.1: %i32 = as_compatible %.loc14_13.2 // CHECK:STDOUT: %.loc14_28.2: %i32 = converted %.loc14_13.2, %.loc14_28.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc14_28.1: = bound_method %.loc14_28.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_28.2: = bound_method %.loc14_28.2, %specific_fn @@ -498,10 +498,10 @@ fn InitFromAdaptedSpecific(x: i32) -> i32 { // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @InitFromAdaptedGeneric(constants.%T.228) { -// CHECK:STDOUT: %T.loc9_28.1 => constants.%T.228 +// CHECK:STDOUT: specific @InitFromAdaptedGeneric(constants.%T.f49) { +// CHECK:STDOUT: %T.loc9_28.1 => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc9_45.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4b69d0.2 -// CHECK:STDOUT: %.loc9_51.2 => constants.%.9ff809.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c0fdca.2 +// CHECK:STDOUT: %.loc9_51.2 => constants.%.dedae6.2 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/member_access.carbon b/toolchain/check/testdata/class/generic/member_access.carbon index 727b3ce91cd6..933e351629a5 100644 --- a/toolchain/check/testdata/class/generic/member_access.carbon +++ b/toolchain/check/testdata/class/generic/member_access.carbon @@ -66,85 +66,85 @@ fn StaticMemberFunctionCall(T:! type) -> Class(T) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Class.338: type = class_type @Class, @Class(%T.228) [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.228 [symbolic] -// CHECK:STDOUT: %require_complete.c28: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %Class.elem.735: type = unbound_element_type %Class.338, %T.as_type [symbolic] -// CHECK:STDOUT: %pattern_type.0a7: type = pattern_type %Class.338 [symbolic] -// CHECK:STDOUT: %.9ff809.2: Core.Form = init_form %T.as_type [symbolic] -// CHECK:STDOUT: %Class.Get.type.e5b: type = fn_type @Class.Get, @Class(%T.228) [symbolic] -// CHECK:STDOUT: %Class.Get.af1: %Class.Get.type.e5b = struct_value () [symbolic] -// CHECK:STDOUT: %ptr.432: type = ptr_type %T.as_type [symbolic] -// CHECK:STDOUT: %.812: Core.Form = init_form %ptr.432 [symbolic] -// CHECK:STDOUT: %pattern_type.c61: type = pattern_type %ptr.432 [symbolic] -// CHECK:STDOUT: %Class.GetAddr.type.ef5: type = fn_type @Class.GetAddr, @Class(%T.228) [symbolic] -// CHECK:STDOUT: %Class.GetAddr.d6e: %Class.GetAddr.type.ef5 = struct_value () [symbolic] -// CHECK:STDOUT: %struct_type.x.f20: type = struct_type {.x: %T.as_type} [symbolic] -// CHECK:STDOUT: %complete_type.f15: = complete_type_witness %struct_type.x.f20 [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c49: = lookup_impl_witness %T.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.228) [symbolic] -// CHECK:STDOUT: %.12f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.2, %T.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbd: %.12f = impl_witness_access %Copy.lookup_impl_witness.c49, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f: = specific_impl_function %impl.elem0.cbd, @Copy.WithSelf.Op(%T.228) [symbolic] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Class.98f: type = class_type @Class, @Class(%T.f49) [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.f49 [symbolic] +// CHECK:STDOUT: %require_complete.77e: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %Class.elem.a2d: type = unbound_element_type %Class.98f, %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.16a: type = pattern_type %Class.98f [symbolic] +// CHECK:STDOUT: %.dedae6.2: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %Class.Get.type.44e: type = fn_type @Class.Get, @Class(%T.f49) [symbolic] +// CHECK:STDOUT: %Class.Get.b53: %Class.Get.type.44e = struct_value () [symbolic] +// CHECK:STDOUT: %ptr.a3f: type = ptr_type %T.as_type [symbolic] +// CHECK:STDOUT: %.0e7: Core.Form = init_form %ptr.a3f [symbolic] +// CHECK:STDOUT: %pattern_type.eec: type = pattern_type %ptr.a3f [symbolic] +// CHECK:STDOUT: %Class.GetAddr.type.60b: type = fn_type @Class.GetAddr, @Class(%T.f49) [symbolic] +// CHECK:STDOUT: %Class.GetAddr.2a7: %Class.GetAddr.type.60b = struct_value () [symbolic] +// CHECK:STDOUT: %struct_type.x.419: type = struct_type {.x: %T.as_type} [symbolic] +// CHECK:STDOUT: %complete_type.dd3: = complete_type_witness %struct_type.x.419 [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2dd: = lookup_impl_witness %T.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.f49) [symbolic] +// CHECK:STDOUT: %.e16: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.2, %T.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e: %.e16 = impl_witness_access %Copy.lookup_impl_witness.2dd, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ec: = specific_impl_function %impl.elem0.41e, @Copy.WithSelf.Op(%T.f49) [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.923: = lookup_impl_witness %ptr.432, @Copy [symbolic] -// CHECK:STDOUT: %.3dd: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type) [symbolic] -// CHECK:STDOUT: %Copy.facet.e44: %Copy.type = facet_value %ptr.432, (%Copy.lookup_impl_witness.923) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.6da: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.e44) [symbolic] -// CHECK:STDOUT: %.a4a: type = fn_type_with_self_type %Copy.WithSelf.Op.type.6da, %Copy.facet.e44 [symbolic] -// CHECK:STDOUT: %impl.elem0.d87: %.a4a = impl_witness_access %Copy.lookup_impl_witness.923, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.728: = specific_impl_function %impl.elem0.d87, @Copy.WithSelf.Op(%Copy.facet.e44) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.fd9: = lookup_impl_witness %ptr.a3f, @Copy [symbolic] +// CHECK:STDOUT: %.7ac: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type) [symbolic] +// CHECK:STDOUT: %Copy.facet.d43: %Copy.type = facet_value %ptr.a3f, (%Copy.lookup_impl_witness.fd9) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.4e8: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.d43) [symbolic] +// CHECK:STDOUT: %.93e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.4e8, %Copy.facet.d43 [symbolic] +// CHECK:STDOUT: %impl.elem0.d58: %.93e = impl_witness_access %Copy.lookup_impl_witness.fd9, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.436: = specific_impl_function %impl.elem0.d58, @Copy.WithSelf.Op(%Copy.facet.d43) [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Class.f02: type = class_type @Class, @Class(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %pattern_type.e44: type = pattern_type %Class.f02 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Class.elem.1b2: type = unbound_element_type %Class.f02, %i32 [concrete] -// CHECK:STDOUT: %Class.Get.type.8a3: type = fn_type @Class.Get, @Class(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %Class.Get.bd7: %Class.Get.type.8a3 = struct_value () [concrete] -// CHECK:STDOUT: %Class.GetAddr.type.f59: type = fn_type @Class.GetAddr, @Class(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %Class.GetAddr.f38: %Class.GetAddr.type.f59 = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.x.2bb: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fa5: = complete_type_witness %struct_type.x.2bb [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %Class.Get.specific_fn: = specific_function %Class.Get.bd7, @Class.Get(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %ptr.ea9: type = ptr_type %Class.f02 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %.793: Core.Form = init_form %ptr.143 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] -// CHECK:STDOUT: %Class.GetAddr.specific_fn: = specific_function %Class.GetAddr.f38, @Class.GetAddr(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %complete_type.76e: = complete_type_witness %ptr.143 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %.064: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %Copy.facet.425: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.425) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet.425 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Class.b6c: type = class_type @Class, @Class(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %pattern_type.b80: type = pattern_type %Class.b6c [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Class.elem.760: type = unbound_element_type %Class.b6c, %i32 [concrete] +// CHECK:STDOUT: %Class.Get.type.46c: type = fn_type @Class.Get, @Class(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %Class.Get.494: %Class.Get.type.46c = struct_value () [concrete] +// CHECK:STDOUT: %Class.GetAddr.type.f08: type = fn_type @Class.GetAddr, @Class(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %Class.GetAddr.dfd: %Class.GetAddr.type.f08 = struct_value () [concrete] +// CHECK:STDOUT: %struct_type.x.06a: type = struct_type {.x: %i32} [concrete] +// CHECK:STDOUT: %complete_type.9a8: = complete_type_witness %struct_type.x.06a [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Class.Get.specific_fn: = specific_function %Class.Get.494, @Class.Get(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %ptr.67a: type = ptr_type %Class.b6c [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %.060: Core.Form = init_form %ptr.847 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] +// CHECK:STDOUT: %Class.GetAddr.specific_fn: = specific_function %Class.GetAddr.dfd, @Class.GetAddr(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %complete_type.34c: = complete_type_witness %ptr.847 [concrete] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %.b35: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %Copy.facet.17a: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.17a) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet.17a [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @Class(%T.loc4_14.2: %Copy.type) { @@ -158,7 +158,7 @@ fn StaticMemberFunctionCall(T:! type) -> Class(T) { // CHECK:STDOUT: complete_type_witness = %complete_type.loc18_1.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Class.338 +// CHECK:STDOUT: .Self = constants.%Class.98f // CHECK:STDOUT: .T = // CHECK:STDOUT: .x = %.loc5 // CHECK:STDOUT: .Get = %Class.Get.decl @@ -171,23 +171,23 @@ fn StaticMemberFunctionCall(T:! type) -> Class(T) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type.loc7_27.1 [symbolic = %Class.elem (constants.%Class.elem.735)] -// CHECK:STDOUT: %require_complete.loc9: = require_complete_type %T.as_type.loc7_27.1 [symbolic = %require_complete.loc9 (constants.%require_complete.c28)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc9_16.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T [symbolic = %.loc9_16.3 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc9_16.2: @Class.Get.%.loc9_16.3 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_16.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %specific_impl_fn.loc9_16.2: = specific_impl_function %impl.elem0.loc9_16.2, @Copy.WithSelf.Op(%T) [symbolic = %specific_impl_fn.loc9_16.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type.loc7_27.1 [symbolic = %Class.elem (constants.%Class.elem.a2d)] +// CHECK:STDOUT: %require_complete.loc9: = require_complete_type %T.as_type.loc7_27.1 [symbolic = %require_complete.loc9 (constants.%require_complete.77e)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc9_16.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T [symbolic = %.loc9_16.3 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc9_16.2: @Class.Get.%.loc9_16.3 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_16.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %specific_impl_fn.loc9_16.2: = specific_impl_function %impl.elem0.loc9_16.2, @Copy.WithSelf.Op(%T) [symbolic = %specific_impl_fn.loc9_16.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @Class.Get.%Class (%Class.338)) -> out %return.param: @Class.Get.%T.as_type.loc7_27.1 (%T.as_type) { +// CHECK:STDOUT: fn(%self.param: @Class.Get.%Class (%Class.98f)) -> out %return.param: @Class.Get.%T.as_type.loc7_27.1 (%T.as_type) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %self.ref: @Class.Get.%Class (%Class.338) = name_ref self, %self -// CHECK:STDOUT: %x.ref: @Class.Get.%Class.elem (%Class.elem.735) = name_ref x, @Class.%.loc5 [concrete = @Class.%.loc5] +// CHECK:STDOUT: %self.ref: @Class.Get.%Class (%Class.98f) = name_ref self, %self +// CHECK:STDOUT: %x.ref: @Class.Get.%Class.elem (%Class.elem.a2d) = name_ref x, @Class.%.loc5 [concrete = @Class.%.loc5] // CHECK:STDOUT: %.loc9_16.1: ref @Class.Get.%T.as_type.loc7_27.1 (%T.as_type) = class_element_access %self.ref, element0 // CHECK:STDOUT: %.loc9_16.2: @Class.Get.%T.as_type.loc7_27.1 (%T.as_type) = acquire_value %.loc9_16.1 -// CHECK:STDOUT: %impl.elem0.loc9_16.1: @Class.Get.%.loc9_16.3 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc9_16.2 (constants.%impl.elem0.cbd)] +// CHECK:STDOUT: %impl.elem0.loc9_16.1: @Class.Get.%.loc9_16.3 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc9_16.2 (constants.%impl.elem0.41e)] // CHECK:STDOUT: %bound_method.loc9_16.1: = bound_method %.loc9_16.2, %impl.elem0.loc9_16.1 -// CHECK:STDOUT: %specific_impl_fn.loc9_16.1: = specific_impl_function %impl.elem0.loc9_16.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc9_16.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %specific_impl_fn.loc9_16.1: = specific_impl_function %impl.elem0.loc9_16.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc9_16.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: %bound_method.loc9_16.2: = bound_method %.loc9_16.2, %specific_impl_fn.loc9_16.1 // CHECK:STDOUT: // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.Get.%T.as_type.loc7_27.1 (%T.as_type) to %.loc7_27.1 = call %bound_method.loc9_16.2(%.loc9_16.2) @@ -200,37 +200,37 @@ fn StaticMemberFunctionCall(T:! type) -> Class(T) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type.loc13_36.1 [symbolic = %Class.elem (constants.%Class.elem.735)] -// CHECK:STDOUT: %.loc15_12.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type.loc13_36.1) [symbolic = %.loc15_12.1 (constants.%.3dd)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc13_36.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.923)] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc13_36.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.e44)] -// 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.6da)] -// CHECK:STDOUT: %.loc15_12.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc15_12.2 (constants.%.a4a)] -// CHECK:STDOUT: %impl.elem0.loc15_12.2: @Class.GetAddr.%.loc15_12.2 (%.a4a) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_12.2 (constants.%impl.elem0.d87)] -// CHECK:STDOUT: %specific_impl_fn.loc15_12.2: = specific_impl_function %impl.elem0.loc15_12.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc15_12.2 (constants.%specific_impl_fn.728)] +// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type.loc13_36.1 [symbolic = %Class.elem (constants.%Class.elem.a2d)] +// CHECK:STDOUT: %.loc15_12.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type.loc13_36.1) [symbolic = %.loc15_12.1 (constants.%.7ac)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc13_36.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.fd9)] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc13_36.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.d43)] +// 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.4e8)] +// CHECK:STDOUT: %.loc15_12.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc15_12.2 (constants.%.93e)] +// CHECK:STDOUT: %impl.elem0.loc15_12.2: @Class.GetAddr.%.loc15_12.2 (%.93e) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_12.2 (constants.%impl.elem0.d58)] +// CHECK:STDOUT: %specific_impl_fn.loc15_12.2: = specific_impl_function %impl.elem0.loc15_12.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc15_12.2 (constants.%specific_impl_fn.436)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: ref @Class.GetAddr.%Class (%Class.338)) -> out %return.param: @Class.GetAddr.%ptr.loc13_36.1 (%ptr.432) { +// CHECK:STDOUT: fn(%self.param: ref @Class.GetAddr.%Class (%Class.98f)) -> out %return.param: @Class.GetAddr.%ptr.loc13_36.1 (%ptr.a3f) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %self.ref: ref @Class.GetAddr.%Class (%Class.338) = name_ref self, %self -// CHECK:STDOUT: %x.ref: @Class.GetAddr.%Class.elem (%Class.elem.735) = name_ref x, @Class.%.loc5 [concrete = @Class.%.loc5] +// CHECK:STDOUT: %self.ref: ref @Class.GetAddr.%Class (%Class.98f) = name_ref self, %self +// CHECK:STDOUT: %x.ref: @Class.GetAddr.%Class.elem (%Class.elem.a2d) = name_ref x, @Class.%.loc5 [concrete = @Class.%.loc5] // CHECK:STDOUT: %.loc15_17: ref @Class.GetAddr.%T.as_type.loc13_36.1 (%T.as_type) = class_element_access %self.ref, element0 -// CHECK:STDOUT: %addr: @Class.GetAddr.%ptr.loc13_36.1 (%ptr.432) = addr_of %.loc15_17 -// CHECK:STDOUT: %impl.elem0.loc15_12.1: @Class.GetAddr.%.loc15_12.2 (%.a4a) = impl_witness_access constants.%Copy.lookup_impl_witness.923, element0 [symbolic = %impl.elem0.loc15_12.2 (constants.%impl.elem0.d87)] +// CHECK:STDOUT: %addr: @Class.GetAddr.%ptr.loc13_36.1 (%ptr.a3f) = addr_of %.loc15_17 +// CHECK:STDOUT: %impl.elem0.loc15_12.1: @Class.GetAddr.%.loc15_12.2 (%.93e) = impl_witness_access constants.%Copy.lookup_impl_witness.fd9, element0 [symbolic = %impl.elem0.loc15_12.2 (constants.%impl.elem0.d58)] // CHECK:STDOUT: %bound_method.loc15_12.1: = bound_method %addr, %impl.elem0.loc15_12.1 -// CHECK:STDOUT: %specific_impl_fn.loc15_12.1: = specific_impl_function %impl.elem0.loc15_12.1, @Copy.WithSelf.Op(constants.%Copy.facet.e44) [symbolic = %specific_impl_fn.loc15_12.2 (constants.%specific_impl_fn.728)] +// CHECK:STDOUT: %specific_impl_fn.loc15_12.1: = specific_impl_function %impl.elem0.loc15_12.1, @Copy.WithSelf.Op(constants.%Copy.facet.d43) [symbolic = %specific_impl_fn.loc15_12.2 (constants.%specific_impl_fn.436)] // CHECK:STDOUT: %bound_method.loc15_12.2: = bound_method %addr, %specific_impl_fn.loc15_12.1 -// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.GetAddr.%ptr.loc13_36.1 (%ptr.432) = call %bound_method.loc15_12.2(%addr) +// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.GetAddr.%ptr.loc13_36.1 (%ptr.a3f) = call %bound_method.loc15_12.2(%addr) // CHECK:STDOUT: return %Copy.WithSelf.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @DirectFieldAccess(%x.param: %Class.f02) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @DirectFieldAccess(%x.param: %Class.b6c) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref.loc22_10: %Class.f02 = name_ref x, %x -// CHECK:STDOUT: %x.ref.loc22_11: %Class.elem.1b2 = name_ref x, @Class.%.loc5 [concrete = @Class.%.loc5] +// CHECK:STDOUT: %x.ref.loc22_10: %Class.b6c = name_ref x, %x +// CHECK:STDOUT: %x.ref.loc22_11: %Class.elem.760 = name_ref x, @Class.%.loc5 [concrete = @Class.%.loc5] // CHECK:STDOUT: %.loc22_11.1: ref %i32 = class_element_access %x.ref.loc22_10, element0 // CHECK:STDOUT: %.loc22_11.2: %i32 = acquire_value %.loc22_11.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc22_11.1: = bound_method %.loc22_11.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc22_11.2: = bound_method %.loc22_11.2, %specific_fn @@ -238,33 +238,33 @@ fn StaticMemberFunctionCall(T:! type) -> Class(T) { // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @MethodCall(%x.param: %Class.f02) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @MethodCall(%x.param: %Class.b6c) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: %Class.f02 = name_ref x, %x -// CHECK:STDOUT: %.loc28: %Class.Get.type.8a3 = specific_constant @Class.%Class.Get.decl, @Class(constants.%Copy.facet.66a) [concrete = constants.%Class.Get.bd7] -// CHECK:STDOUT: %Get.ref: %Class.Get.type.8a3 = name_ref Get, %.loc28 [concrete = constants.%Class.Get.bd7] +// CHECK:STDOUT: %x.ref: %Class.b6c = name_ref x, %x +// CHECK:STDOUT: %.loc28: %Class.Get.type.46c = specific_constant @Class.%Class.Get.decl, @Class(constants.%Copy.facet.14d) [concrete = constants.%Class.Get.494] +// CHECK:STDOUT: %Get.ref: %Class.Get.type.46c = name_ref Get, %.loc28 [concrete = constants.%Class.Get.494] // CHECK:STDOUT: %Class.Get.bound: = bound_method %x.ref, %Get.ref -// CHECK:STDOUT: %Class.Get.specific_fn: = specific_function %Get.ref, @Class.Get(constants.%Copy.facet.66a) [concrete = constants.%Class.Get.specific_fn] +// CHECK:STDOUT: %Class.Get.specific_fn: = specific_function %Get.ref, @Class.Get(constants.%Copy.facet.14d) [concrete = constants.%Class.Get.specific_fn] // CHECK:STDOUT: %bound_method: = bound_method %x.ref, %Class.Get.specific_fn // CHECK:STDOUT: %Class.Get.call: init %i32 = call %bound_method(%x.ref) // CHECK:STDOUT: return %Class.Get.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @AddrMethodCall(%p.param: %ptr.ea9) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @AddrMethodCall(%p.param: %ptr.67a) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.ea9 = name_ref p, %p -// CHECK:STDOUT: %.loc34_12.1: ref %Class.f02 = deref %p.ref -// CHECK:STDOUT: %.loc34_12.2: %Class.GetAddr.type.f59 = specific_constant @Class.%Class.GetAddr.decl, @Class(constants.%Copy.facet.66a) [concrete = constants.%Class.GetAddr.f38] -// CHECK:STDOUT: %GetAddr.ref: %Class.GetAddr.type.f59 = name_ref GetAddr, %.loc34_12.2 [concrete = constants.%Class.GetAddr.f38] +// CHECK:STDOUT: %p.ref: %ptr.67a = name_ref p, %p +// CHECK:STDOUT: %.loc34_12.1: ref %Class.b6c = deref %p.ref +// CHECK:STDOUT: %.loc34_12.2: %Class.GetAddr.type.f08 = specific_constant @Class.%Class.GetAddr.decl, @Class(constants.%Copy.facet.14d) [concrete = constants.%Class.GetAddr.dfd] +// CHECK:STDOUT: %GetAddr.ref: %Class.GetAddr.type.f08 = name_ref GetAddr, %.loc34_12.2 [concrete = constants.%Class.GetAddr.dfd] // CHECK:STDOUT: %Class.GetAddr.bound: = bound_method %.loc34_12.1, %GetAddr.ref -// CHECK:STDOUT: %Class.GetAddr.specific_fn: = specific_function %GetAddr.ref, @Class.GetAddr(constants.%Copy.facet.66a) [concrete = constants.%Class.GetAddr.specific_fn] +// CHECK:STDOUT: %Class.GetAddr.specific_fn: = specific_function %GetAddr.ref, @Class.GetAddr(constants.%Copy.facet.14d) [concrete = constants.%Class.GetAddr.specific_fn] // CHECK:STDOUT: %bound_method.loc34_22: = bound_method %.loc34_12.1, %Class.GetAddr.specific_fn -// CHECK:STDOUT: %Class.GetAddr.call: init %ptr.143 = call %bound_method.loc34_22(%.loc34_12.1) -// CHECK:STDOUT: %.loc34_22.1: %ptr.143 = value_of_initializer %Class.GetAddr.call -// CHECK:STDOUT: %.loc34_22.2: %ptr.143 = converted %Class.GetAddr.call, %.loc34_22.1 +// CHECK:STDOUT: %Class.GetAddr.call: init %ptr.847 = call %bound_method.loc34_22(%.loc34_12.1) +// CHECK:STDOUT: %.loc34_22.1: %ptr.847 = value_of_initializer %Class.GetAddr.call +// CHECK:STDOUT: %.loc34_22.2: %ptr.847 = converted %Class.GetAddr.call, %.loc34_22.1 // CHECK:STDOUT: %.loc34_10.1: ref %i32 = deref %.loc34_22.2 // CHECK:STDOUT: %.loc34_10.2: %i32 = acquire_value %.loc34_10.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc34_10.1: = bound_method %.loc34_10.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc34_10.2: = bound_method %.loc34_10.2, %specific_fn @@ -272,95 +272,95 @@ fn StaticMemberFunctionCall(T:! type) -> Class(T) { // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class(constants.%T.228) { -// CHECK:STDOUT: %T.loc4_14.1 => constants.%T.228 +// CHECK:STDOUT: specific @Class(constants.%T.f49) { +// CHECK:STDOUT: %T.loc4_14.1 => constants.%T.f49 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T.as_type => constants.%T.as_type -// CHECK:STDOUT: %require_complete => constants.%require_complete.c28 -// CHECK:STDOUT: %Class => constants.%Class.338 -// CHECK:STDOUT: %Class.elem => constants.%Class.elem.735 -// CHECK:STDOUT: %Class.Get.type => constants.%Class.Get.type.e5b -// CHECK:STDOUT: %Class.Get => constants.%Class.Get.af1 -// CHECK:STDOUT: %Class.GetAddr.type => constants.%Class.GetAddr.type.ef5 -// CHECK:STDOUT: %Class.GetAddr => constants.%Class.GetAddr.d6e -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.f20 -// CHECK:STDOUT: %complete_type.loc18_1.2 => constants.%complete_type.f15 +// CHECK:STDOUT: %require_complete => constants.%require_complete.77e +// CHECK:STDOUT: %Class => constants.%Class.98f +// CHECK:STDOUT: %Class.elem => constants.%Class.elem.a2d +// CHECK:STDOUT: %Class.Get.type => constants.%Class.Get.type.44e +// CHECK:STDOUT: %Class.Get => constants.%Class.Get.b53 +// CHECK:STDOUT: %Class.GetAddr.type => constants.%Class.GetAddr.type.60b +// CHECK:STDOUT: %Class.GetAddr => constants.%Class.GetAddr.2a7 +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.419 +// CHECK:STDOUT: %complete_type.loc18_1.2 => constants.%complete_type.dd3 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class.Get(constants.%T.228) { -// CHECK:STDOUT: %T => constants.%T.228 -// CHECK:STDOUT: %Class => constants.%Class.338 -// CHECK:STDOUT: %pattern_type.loc7_14 => constants.%pattern_type.0a7 +// CHECK:STDOUT: specific @Class.Get(constants.%T.f49) { +// CHECK:STDOUT: %T => constants.%T.f49 +// CHECK:STDOUT: %Class => constants.%Class.98f +// CHECK:STDOUT: %pattern_type.loc7_14 => constants.%pattern_type.16a // CHECK:STDOUT: %T.as_type.loc7_27.1 => constants.%T.as_type -// CHECK:STDOUT: %.loc7_27.2 => constants.%.9ff809.2 -// CHECK:STDOUT: %pattern_type.loc7_27 => constants.%pattern_type.4b69d0.2 +// CHECK:STDOUT: %.loc7_27.2 => constants.%.dedae6.2 +// CHECK:STDOUT: %pattern_type.loc7_27 => constants.%pattern_type.c0fdca.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class.GetAddr(constants.%T.228) { -// CHECK:STDOUT: %T => constants.%T.228 -// CHECK:STDOUT: %Class => constants.%Class.338 -// CHECK:STDOUT: %pattern_type.loc13_22 => constants.%pattern_type.0a7 +// CHECK:STDOUT: specific @Class.GetAddr(constants.%T.f49) { +// CHECK:STDOUT: %T => constants.%T.f49 +// CHECK:STDOUT: %Class => constants.%Class.98f +// CHECK:STDOUT: %pattern_type.loc13_22 => constants.%pattern_type.16a // CHECK:STDOUT: %T.as_type.loc13_36.1 => constants.%T.as_type -// CHECK:STDOUT: %ptr.loc13_36.1 => constants.%ptr.432 -// CHECK:STDOUT: %.loc13_36.1 => constants.%.812 -// CHECK:STDOUT: %pattern_type.loc13_36 => constants.%pattern_type.c61 +// CHECK:STDOUT: %ptr.loc13_36.1 => constants.%ptr.a3f +// CHECK:STDOUT: %.loc13_36.1 => constants.%.0e7 +// CHECK:STDOUT: %pattern_type.loc13_36 => constants.%pattern_type.eec // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class(constants.%Copy.facet.66a) { -// CHECK:STDOUT: %T.loc4_14.1 => constants.%Copy.facet.66a +// CHECK:STDOUT: specific @Class(constants.%Copy.facet.14d) { +// CHECK:STDOUT: %T.loc4_14.1 => constants.%Copy.facet.14d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T.as_type => constants.%i32 // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %Class => constants.%Class.f02 -// CHECK:STDOUT: %Class.elem => constants.%Class.elem.1b2 -// CHECK:STDOUT: %Class.Get.type => constants.%Class.Get.type.8a3 -// CHECK:STDOUT: %Class.Get => constants.%Class.Get.bd7 -// CHECK:STDOUT: %Class.GetAddr.type => constants.%Class.GetAddr.type.f59 -// CHECK:STDOUT: %Class.GetAddr => constants.%Class.GetAddr.f38 -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.2bb -// CHECK:STDOUT: %complete_type.loc18_1.2 => constants.%complete_type.fa5 +// CHECK:STDOUT: %Class => constants.%Class.b6c +// CHECK:STDOUT: %Class.elem => constants.%Class.elem.760 +// CHECK:STDOUT: %Class.Get.type => constants.%Class.Get.type.46c +// CHECK:STDOUT: %Class.Get => constants.%Class.Get.494 +// CHECK:STDOUT: %Class.GetAddr.type => constants.%Class.GetAddr.type.f08 +// CHECK:STDOUT: %Class.GetAddr => constants.%Class.GetAddr.dfd +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.06a +// CHECK:STDOUT: %complete_type.loc18_1.2 => constants.%complete_type.9a8 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class.Get(constants.%Copy.facet.66a) { -// CHECK:STDOUT: %T => constants.%Copy.facet.66a -// CHECK:STDOUT: %Class => constants.%Class.f02 -// CHECK:STDOUT: %pattern_type.loc7_14 => constants.%pattern_type.e44 +// CHECK:STDOUT: specific @Class.Get(constants.%Copy.facet.14d) { +// CHECK:STDOUT: %T => constants.%Copy.facet.14d +// CHECK:STDOUT: %Class => constants.%Class.b6c +// CHECK:STDOUT: %pattern_type.loc7_14 => constants.%pattern_type.b80 // CHECK:STDOUT: %T.as_type.loc7_27.1 => constants.%i32 -// CHECK:STDOUT: %.loc7_27.2 => constants.%.70c -// CHECK:STDOUT: %pattern_type.loc7_27 => constants.%pattern_type.c6b +// CHECK:STDOUT: %.loc7_27.2 => constants.%.7ea +// CHECK:STDOUT: %pattern_type.loc7_27 => constants.%pattern_type.104 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc7 => constants.%complete_type.fa5 -// CHECK:STDOUT: %Class.elem => constants.%Class.elem.1b2 +// CHECK:STDOUT: %require_complete.loc7 => constants.%complete_type.9a8 +// CHECK:STDOUT: %Class.elem => constants.%Class.elem.760 // CHECK:STDOUT: %require_complete.loc9 => constants.%complete_type.f8a -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.afe -// CHECK:STDOUT: %.loc9_16.3 => constants.%.a5f -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.32d -// CHECK:STDOUT: %impl.elem0.loc9_16.2 => constants.%Int.as.Copy.impl.Op.c4a +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.7e2 +// CHECK:STDOUT: %.loc9_16.3 => constants.%.604 +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.1a4 +// CHECK:STDOUT: %impl.elem0.loc9_16.2 => constants.%Int.as.Copy.impl.Op.ce7 // CHECK:STDOUT: %specific_impl_fn.loc9_16.2 => constants.%Int.as.Copy.impl.Op.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class.GetAddr(constants.%Copy.facet.66a) { -// CHECK:STDOUT: %T => constants.%Copy.facet.66a -// CHECK:STDOUT: %Class => constants.%Class.f02 -// CHECK:STDOUT: %pattern_type.loc13_22 => constants.%pattern_type.e44 +// CHECK:STDOUT: specific @Class.GetAddr(constants.%Copy.facet.14d) { +// CHECK:STDOUT: %T => constants.%Copy.facet.14d +// CHECK:STDOUT: %Class => constants.%Class.b6c +// CHECK:STDOUT: %pattern_type.loc13_22 => constants.%pattern_type.b80 // CHECK:STDOUT: %T.as_type.loc13_36.1 => constants.%i32 -// CHECK:STDOUT: %ptr.loc13_36.1 => constants.%ptr.143 -// CHECK:STDOUT: %.loc13_36.1 => constants.%.793 -// CHECK:STDOUT: %pattern_type.loc13_36 => constants.%pattern_type.663 +// CHECK:STDOUT: %ptr.loc13_36.1 => constants.%ptr.847 +// CHECK:STDOUT: %.loc13_36.1 => constants.%.060 +// CHECK:STDOUT: %pattern_type.loc13_36 => constants.%pattern_type.7b5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc13_22 => constants.%complete_type.fa5 -// CHECK:STDOUT: %require_complete.loc13_32 => constants.%complete_type.76e -// CHECK:STDOUT: %Class.elem => constants.%Class.elem.1b2 -// CHECK:STDOUT: %.loc15_12.1 => constants.%.064 -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.45b -// CHECK:STDOUT: %Copy.facet => constants.%Copy.facet.425 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.72c -// CHECK:STDOUT: %.loc15_12.2 => constants.%.948 -// CHECK:STDOUT: %impl.elem0.loc15_12.2 => constants.%ptr.as.Copy.impl.Op.6e2 +// CHECK:STDOUT: %require_complete.loc13_22 => constants.%complete_type.9a8 +// CHECK:STDOUT: %require_complete.loc13_32 => constants.%complete_type.34c +// CHECK:STDOUT: %Class.elem => constants.%Class.elem.760 +// CHECK:STDOUT: %.loc15_12.1 => constants.%.b35 +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.c37 +// CHECK:STDOUT: %Copy.facet => constants.%Copy.facet.17a +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.165 +// CHECK:STDOUT: %.loc15_12.2 => constants.%.cd7 +// CHECK:STDOUT: %impl.elem0.loc15_12.2 => constants.%ptr.as.Copy.impl.Op.6e4 // CHECK:STDOUT: %specific_impl_fn.loc15_12.2 => constants.%ptr.as.Copy.impl.Op.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: @@ -371,8 +371,8 @@ fn StaticMemberFunctionCall(T:! type) -> Class(T) { // CHECK:STDOUT: %Class.type: type = generic_class_type @Class [concrete] // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] // CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T) [symbolic] -// CHECK:STDOUT: %.ac7: Core.Form = init_form %Class [symbolic] -// CHECK:STDOUT: %pattern_type.5e3: type = pattern_type %Class [symbolic] +// CHECK:STDOUT: %.188: Core.Form = init_form %Class [symbolic] +// CHECK:STDOUT: %pattern_type.f8f: type = pattern_type %Class [symbolic] // CHECK:STDOUT: %Class.Make.type: type = fn_type @Class.Make, @Class(%T) [symbolic] // CHECK:STDOUT: %Class.Make: %Class.Make.type = struct_value () [symbolic] // CHECK:STDOUT: %require_complete: = require_complete_type %Class [symbolic] @@ -405,7 +405,7 @@ fn StaticMemberFunctionCall(T:! type) -> Class(T) { // CHECK:STDOUT: specific @StaticMemberFunctionCall(constants.%T) { // CHECK:STDOUT: %T.loc8_30.1 => constants.%T // CHECK:STDOUT: %Class.loc8_49.1 => constants.%Class -// CHECK:STDOUT: %.loc8_49.2 => constants.%.ac7 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5e3 +// CHECK:STDOUT: %.loc8_49.2 => constants.%.188 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f8f // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/member_inline.carbon b/toolchain/check/testdata/class/generic/member_inline.carbon index 6b711f0d38c5..0b0698773180 100644 --- a/toolchain/check/testdata/class/generic/member_inline.carbon +++ b/toolchain/check/testdata/class/generic/member_inline.carbon @@ -51,29 +51,29 @@ class C(T:! Core.Copy) { // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %pattern_type.35b: type = pattern_type %Copy.type [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.b72: type = pattern_type %Copy.type [concrete] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Class.type: type = generic_class_type @Class [concrete] // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] -// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.228) [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.228 [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %.9ff809.2: Core.Form = init_form %T.as_type [symbolic] -// CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F, @Class(%T.228) [symbolic] +// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.f49) [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.f49 [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %.dedae6.2: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F, @Class(%T.f49) [symbolic] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.ae1: type = pattern_type %Class [symbolic] -// CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G, @Class(%T.228) [symbolic] +// CHECK:STDOUT: %pattern_type.16a: type = pattern_type %Class [symbolic] +// CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G, @Class(%T.f49) [symbolic] // CHECK:STDOUT: %Class.G: %Class.G.type = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.c28: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %require_complete.77e: = require_complete_type %T.as_type [symbolic] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type [symbolic] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %T.as_type} [symbolic] // CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.n [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c49: = lookup_impl_witness %T.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.228) [symbolic] -// CHECK:STDOUT: %.12f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.2, %T.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbd: %.12f = impl_witness_access %Copy.lookup_impl_witness.c49, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f: = specific_impl_function %impl.elem0.cbd, @Copy.WithSelf.Op(%T.228) [symbolic] -// CHECK:STDOUT: %require_complete.2ca: = require_complete_type %Class [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2dd: = lookup_impl_witness %T.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.f49) [symbolic] +// CHECK:STDOUT: %.e16: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.2, %T.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e: %.e16 = impl_witness_access %Copy.lookup_impl_witness.2dd, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ec: = specific_impl_function %impl.elem0.41e, @Copy.WithSelf.Op(%T.f49) [symbolic] +// CHECK:STDOUT: %require_complete.28e: = require_complete_type %Class [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -87,19 +87,19 @@ class C(T:! Core.Copy) { // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %Class.decl: %Class.type = class_decl @Class [concrete = constants.%Class.generic] { -// CHECK:STDOUT: %T.patt: %pattern_type.35b = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.b72 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc5: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc5_14.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc5_14.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @Class(%T.loc5_14.2: %Copy.type) { -// CHECK:STDOUT: %T.loc5_14.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc5_14.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F, @Class(%T.loc5_14.1) [symbolic = %Class.F.type (constants.%Class.F.type)] @@ -107,7 +107,7 @@ class C(T:! Core.Copy) { // CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G, @Class(%T.loc5_14.1) [symbolic = %Class.G.type (constants.%Class.G.type)] // CHECK:STDOUT: %Class.G: @Class.%Class.G.type (%Class.G.type) = struct_value () [symbolic = %Class.G (constants.%Class.G)] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T.loc5_14.1 [symbolic = %T.as_type (constants.%T.as_type)] -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type [symbolic = %require_complete (constants.%require_complete.c28)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type [symbolic = %require_complete (constants.%require_complete.77e)] // CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.loc5_14.1) [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type [symbolic = %Class.elem (constants.%Class.elem)] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: @Class.%T.as_type (%T.as_type)} [symbolic = %struct_type.n (constants.%struct_type.n)] @@ -115,18 +115,18 @@ class C(T:! Core.Copy) { // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: %Class.F.decl: @Class.%Class.F.type (%Class.F.type) = fn_decl @Class.F [symbolic = @Class.%Class.F (constants.%Class.F)] { -// CHECK:STDOUT: %n.param_patt: @Class.F.%pattern_type (%pattern_type.4b69d0.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: @Class.F.%pattern_type (%pattern_type.4b69d0.2) = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Class.F.%pattern_type (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Class.F.%pattern_type (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc6_17.3 [concrete] +// CHECK:STDOUT: %n.param_patt: @Class.F.%pattern_type (%pattern_type.c0fdca.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: @Class.F.%pattern_type (%pattern_type.c0fdca.2) = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Class.F.%pattern_type (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Class.F.%pattern_type (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc6_17.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc6_17: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc6_17: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc6_17: type = facet_access_type %T.ref.loc6_17 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc6_17.3: type = converted %T.ref.loc6_17, %T.as_type.loc6_17 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_17.4: Core.Form = init_form %.loc6_17.3 [symbolic = %.loc6_17.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %.loc6_17.4: Core.Form = init_form %.loc6_17.3 [symbolic = %.loc6_17.2 (constants.%.dedae6.2)] // CHECK:STDOUT: %n.param: @Class.F.%T.as_type.loc6_11.1 (%T.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc6_11.1: type = splice_block %.loc6_11.2 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref.loc6_11: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc6_11: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc6_11.2: type = facet_access_type %T.ref.loc6_11 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc6_11.2: type = converted %T.ref.loc6_11, %T.as_type.loc6_11.2 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] // CHECK:STDOUT: } @@ -135,18 +135,18 @@ class C(T:! Core.Copy) { // CHECK:STDOUT: %return: ref @Class.F.%T.as_type.loc6_11.1 (%T.as_type) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Class.G.decl: @Class.%Class.G.type (%Class.G.type) = fn_decl @Class.G [symbolic = @Class.%Class.G (constants.%Class.G)] { -// CHECK:STDOUT: %self.param_patt: @Class.G.%pattern_type.loc10_12 (%pattern_type.ae1) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Class.G.%pattern_type.loc10_12 (%pattern_type.ae1) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Class.G.%pattern_type.loc10_25 (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Class.G.%pattern_type.loc10_25 (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc10_25.3 [concrete] +// CHECK:STDOUT: %self.param_patt: @Class.G.%pattern_type.loc10_12 (%pattern_type.16a) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Class.G.%pattern_type.loc10_12 (%pattern_type.16a) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Class.G.%pattern_type.loc10_25 (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Class.G.%pattern_type.loc10_25 (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc10_25.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T.ref: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc10_25.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc10_25.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc10_25.3: type = converted %T.ref, %T.as_type.loc10_25.2 [symbolic = %T.as_type.loc10_25.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc10_25.4: Core.Form = init_form %.loc10_25.3 [symbolic = %.loc10_25.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %.loc10_25.4: Core.Form = init_form %.loc10_25.3 [symbolic = %.loc10_25.2 (constants.%.dedae6.2)] // CHECK:STDOUT: %self.param: @Class.G.%Class (%Class) = value_param call_param0 // CHECK:STDOUT: %.loc10_14.1: type = splice_block %Self.ref [symbolic = %Class (constants.%Class)] { -// CHECK:STDOUT: %.loc10_14.2: type = specific_constant constants.%Class, @Class(constants.%T.228) [symbolic = %Class (constants.%Class)] +// CHECK:STDOUT: %.loc10_14.2: type = specific_constant constants.%Class, @Class(constants.%T.f49) [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: %Self.ref: type = name_ref Self, %.loc10_14.2 [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: } // CHECK:STDOUT: %self: @Class.G.%Class (%Class) = value_binding self, %self.param @@ -167,25 +167,25 @@ class C(T:! Core.Copy) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Class.F(@Class.%T.loc5_14.2: %Copy.type) { -// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc6_11.1: type = facet_access_type %T [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc6_11.1 [symbolic = %pattern_type (constants.%pattern_type.4b69d0.2)] -// CHECK:STDOUT: %.loc6_17.2: Core.Form = init_form %T.as_type.loc6_11.1 [symbolic = %.loc6_17.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc6_11.1 [symbolic = %pattern_type (constants.%pattern_type.c0fdca.2)] +// CHECK:STDOUT: %.loc6_17.2: Core.Form = init_form %T.as_type.loc6_11.1 [symbolic = %.loc6_17.2 (constants.%.dedae6.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc6_11.1 [symbolic = %require_complete (constants.%require_complete.c28)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc7: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T [symbolic = %.loc7 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc7_12.2: @Class.F.%.loc7 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_12.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %specific_impl_fn.loc7_12.2: = specific_impl_function %impl.elem0.loc7_12.2, @Copy.WithSelf.Op(%T) [symbolic = %specific_impl_fn.loc7_12.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc6_11.1 [symbolic = %require_complete (constants.%require_complete.77e)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc7: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T [symbolic = %.loc7 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc7_12.2: @Class.F.%.loc7 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_12.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %specific_impl_fn.loc7_12.2: = specific_impl_function %impl.elem0.loc7_12.2, @Copy.WithSelf.Op(%T) [symbolic = %specific_impl_fn.loc7_12.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%n.param: @Class.F.%T.as_type.loc6_11.1 (%T.as_type)) -> out %return.param: @Class.F.%T.as_type.loc6_11.1 (%T.as_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %n.ref: @Class.F.%T.as_type.loc6_11.1 (%T.as_type) = name_ref n, %n -// CHECK:STDOUT: %impl.elem0.loc7_12.1: @Class.F.%.loc7 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc7_12.2 (constants.%impl.elem0.cbd)] +// CHECK:STDOUT: %impl.elem0.loc7_12.1: @Class.F.%.loc7 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc7_12.2 (constants.%impl.elem0.41e)] // CHECK:STDOUT: %bound_method.loc7_12.1: = bound_method %n.ref, %impl.elem0.loc7_12.1 -// CHECK:STDOUT: %specific_impl_fn.loc7_12.1: = specific_impl_function %impl.elem0.loc7_12.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc7_12.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %specific_impl_fn.loc7_12.1: = specific_impl_function %impl.elem0.loc7_12.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc7_12.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: %bound_method.loc7_12.2: = bound_method %n.ref, %specific_impl_fn.loc7_12.1 // CHECK:STDOUT: %.loc6_17.1: ref @Class.F.%T.as_type.loc6_11.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.F.%T.as_type.loc6_11.1 (%T.as_type) to %.loc6_17.1 = call %bound_method.loc7_12.2(%n.ref) @@ -194,22 +194,22 @@ class C(T:! Core.Copy) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Class.G(@Class.%T.loc5_14.2: %Copy.type) { -// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T) [symbolic = %Class (constants.%Class)] -// CHECK:STDOUT: %pattern_type.loc10_12: type = pattern_type %Class [symbolic = %pattern_type.loc10_12 (constants.%pattern_type.ae1)] +// CHECK:STDOUT: %pattern_type.loc10_12: type = pattern_type %Class [symbolic = %pattern_type.loc10_12 (constants.%pattern_type.16a)] // CHECK:STDOUT: %T.as_type.loc10_25.1: type = facet_access_type %T [symbolic = %T.as_type.loc10_25.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc10_25.2: Core.Form = init_form %T.as_type.loc10_25.1 [symbolic = %.loc10_25.2 (constants.%.9ff809.2)] -// CHECK:STDOUT: %pattern_type.loc10_25: type = pattern_type %T.as_type.loc10_25.1 [symbolic = %pattern_type.loc10_25 (constants.%pattern_type.4b69d0.2)] +// CHECK:STDOUT: %.loc10_25.2: Core.Form = init_form %T.as_type.loc10_25.1 [symbolic = %.loc10_25.2 (constants.%.dedae6.2)] +// CHECK:STDOUT: %pattern_type.loc10_25: type = pattern_type %T.as_type.loc10_25.1 [symbolic = %pattern_type.loc10_25 (constants.%pattern_type.c0fdca.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc10: = require_complete_type %Class [symbolic = %require_complete.loc10 (constants.%require_complete.2ca)] +// CHECK:STDOUT: %require_complete.loc10: = require_complete_type %Class [symbolic = %require_complete.loc10 (constants.%require_complete.28e)] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type.loc10_25.1 [symbolic = %Class.elem (constants.%Class.elem)] -// CHECK:STDOUT: %require_complete.loc11: = require_complete_type %T.as_type.loc10_25.1 [symbolic = %require_complete.loc11 (constants.%require_complete.c28)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc11_16.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T [symbolic = %.loc11_16.3 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc11_16.2: @Class.G.%.loc11_16.3 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_16.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %specific_impl_fn.loc11_16.2: = specific_impl_function %impl.elem0.loc11_16.2, @Copy.WithSelf.Op(%T) [symbolic = %specific_impl_fn.loc11_16.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %require_complete.loc11: = require_complete_type %T.as_type.loc10_25.1 [symbolic = %require_complete.loc11 (constants.%require_complete.77e)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc11_16.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T [symbolic = %.loc11_16.3 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc11_16.2: @Class.G.%.loc11_16.3 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_16.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %specific_impl_fn.loc11_16.2: = specific_impl_function %impl.elem0.loc11_16.2, @Copy.WithSelf.Op(%T) [symbolic = %specific_impl_fn.loc11_16.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @Class.G.%Class (%Class)) -> out %return.param: @Class.G.%T.as_type.loc10_25.1 (%T.as_type) { // CHECK:STDOUT: !entry: @@ -217,9 +217,9 @@ class C(T:! Core.Copy) { // CHECK:STDOUT: %n.ref: @Class.G.%Class.elem (%Class.elem) = name_ref n, @Class.%.loc14 [concrete = @Class.%.loc14] // CHECK:STDOUT: %.loc11_16.1: ref @Class.G.%T.as_type.loc10_25.1 (%T.as_type) = class_element_access %self.ref, element0 // CHECK:STDOUT: %.loc11_16.2: @Class.G.%T.as_type.loc10_25.1 (%T.as_type) = acquire_value %.loc11_16.1 -// CHECK:STDOUT: %impl.elem0.loc11_16.1: @Class.G.%.loc11_16.3 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc11_16.2 (constants.%impl.elem0.cbd)] +// CHECK:STDOUT: %impl.elem0.loc11_16.1: @Class.G.%.loc11_16.3 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc11_16.2 (constants.%impl.elem0.41e)] // CHECK:STDOUT: %bound_method.loc11_16.1: = bound_method %.loc11_16.2, %impl.elem0.loc11_16.1 -// CHECK:STDOUT: %specific_impl_fn.loc11_16.1: = specific_impl_function %impl.elem0.loc11_16.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc11_16.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %specific_impl_fn.loc11_16.1: = specific_impl_function %impl.elem0.loc11_16.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc11_16.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: %bound_method.loc11_16.2: = bound_method %.loc11_16.2, %specific_impl_fn.loc11_16.1 // CHECK:STDOUT: %.loc10_25.1: ref @Class.G.%T.as_type.loc10_25.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.G.%T.as_type.loc10_25.1 (%T.as_type) to %.loc10_25.1 = call %bound_method.loc11_16.2(%.loc11_16.2) @@ -227,8 +227,8 @@ class C(T:! Core.Copy) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class(constants.%T.228) { -// CHECK:STDOUT: %T.loc5_14.1 => constants.%T.228 +// CHECK:STDOUT: specific @Class(constants.%T.f49) { +// CHECK:STDOUT: %T.loc5_14.1 => constants.%T.f49 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Class.F.type => constants.%Class.F.type @@ -236,27 +236,27 @@ class C(T:! Core.Copy) { // CHECK:STDOUT: %Class.G.type => constants.%Class.G.type // CHECK:STDOUT: %Class.G => constants.%Class.G // CHECK:STDOUT: %T.as_type => constants.%T.as_type -// CHECK:STDOUT: %require_complete => constants.%require_complete.c28 +// CHECK:STDOUT: %require_complete => constants.%require_complete.77e // CHECK:STDOUT: %Class => constants.%Class // CHECK:STDOUT: %Class.elem => constants.%Class.elem // CHECK:STDOUT: %struct_type.n => constants.%struct_type.n // CHECK:STDOUT: %complete_type.loc15_1.2 => constants.%complete_type // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class.F(constants.%T.228) { -// CHECK:STDOUT: %T => constants.%T.228 +// CHECK:STDOUT: specific @Class.F(constants.%T.f49) { +// CHECK:STDOUT: %T => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc6_11.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4b69d0.2 -// CHECK:STDOUT: %.loc6_17.2 => constants.%.9ff809.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c0fdca.2 +// CHECK:STDOUT: %.loc6_17.2 => constants.%.dedae6.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class.G(constants.%T.228) { -// CHECK:STDOUT: %T => constants.%T.228 +// CHECK:STDOUT: specific @Class.G(constants.%T.f49) { +// CHECK:STDOUT: %T => constants.%T.f49 // CHECK:STDOUT: %Class => constants.%Class -// CHECK:STDOUT: %pattern_type.loc10_12 => constants.%pattern_type.ae1 +// CHECK:STDOUT: %pattern_type.loc10_12 => constants.%pattern_type.16a // CHECK:STDOUT: %T.as_type.loc10_25.1 => constants.%T.as_type -// CHECK:STDOUT: %.loc10_25.2 => constants.%.9ff809.2 -// CHECK:STDOUT: %pattern_type.loc10_25 => constants.%pattern_type.4b69d0.2 +// CHECK:STDOUT: %.loc10_25.2 => constants.%.dedae6.2 +// CHECK:STDOUT: %pattern_type.loc10_25 => constants.%pattern_type.c0fdca.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_member_inline_missing_self_dot.carbon @@ -265,7 +265,7 @@ class C(T:! Core.Copy) { // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %pattern_type.35b: type = pattern_type %Copy.type [concrete] +// CHECK:STDOUT: %pattern_type.b72: type = pattern_type %Copy.type [concrete] // CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] @@ -289,7 +289,7 @@ class C(T:! Core.Copy) { // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %C.decl: %C.type = class_decl @C [concrete = constants.%C.generic] { -// CHECK:STDOUT: %T.patt: %pattern_type.35b = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.b72 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc5: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] diff --git a/toolchain/check/testdata/class/generic/member_lookup.carbon b/toolchain/check/testdata/class/generic/member_lookup.carbon index 59ab76bae6d4..ee594ec65b57 100644 --- a/toolchain/check/testdata/class/generic/member_lookup.carbon +++ b/toolchain/check/testdata/class/generic/member_lookup.carbon @@ -80,22 +80,22 @@ fn AccessMissingConcrete(x: Derived(i32)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.228 [symbolic] -// CHECK:STDOUT: %Derived.746: type = class_type @Derived, @Derived(%T.as_type) [symbolic] -// CHECK:STDOUT: %pattern_type.995: type = pattern_type %Derived.746 [symbolic] -// CHECK:STDOUT: %.9ff809.2: Core.Form = init_form %T.as_type [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %Base.5ea: type = class_type @Base, @Base(%T.as_type) [symbolic] -// CHECK:STDOUT: %require_complete.fc7: = require_complete_type %Base.5ea [symbolic] -// CHECK:STDOUT: %require_complete.c28: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %Derived.elem.f71: type = unbound_element_type %Derived.746, %T.as_type [symbolic] -// CHECK:STDOUT: %Base.elem.d1b: type = unbound_element_type %Base.5ea, %T.as_type [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c49: = lookup_impl_witness %T.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.228) [symbolic] -// CHECK:STDOUT: %.12f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.2, %T.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbd: %.12f = impl_witness_access %Copy.lookup_impl_witness.c49, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f: = specific_impl_function %impl.elem0.cbd, @Copy.WithSelf.Op(%T.228) [symbolic] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.f49 [symbolic] +// CHECK:STDOUT: %Derived.97c: type = class_type @Derived, @Derived(%T.as_type) [symbolic] +// CHECK:STDOUT: %pattern_type.0dc: type = pattern_type %Derived.97c [symbolic] +// CHECK:STDOUT: %.dedae6.2: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %Base.faf: type = class_type @Base, @Base(%T.as_type) [symbolic] +// CHECK:STDOUT: %require_complete.346: = require_complete_type %Base.faf [symbolic] +// CHECK:STDOUT: %require_complete.77e: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %Derived.elem.1df: type = unbound_element_type %Derived.97c, %T.as_type [symbolic] +// CHECK:STDOUT: %Base.elem.5af: type = unbound_element_type %Base.faf, %T.as_type [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2dd: = lookup_impl_witness %T.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.f49) [symbolic] +// CHECK:STDOUT: %.e16: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.2, %T.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e: %.e16 = impl_witness_access %Copy.lookup_impl_witness.2dd, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ec: = specific_impl_function %impl.elem0.41e, @Copy.WithSelf.Op(%T.f49) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @AccessDerived(%T.loc13_19.2: %Copy.type) { @@ -103,23 +103,23 @@ fn AccessMissingConcrete(x: Derived(i32)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %Derived.elem: type = unbound_element_type %Derived.loc13_45.1, %T.as_type.loc13_45.1 [symbolic = %Derived.elem (constants.%Derived.elem.f71)] -// CHECK:STDOUT: %require_complete.loc15: = require_complete_type %T.as_type.loc13_45.1 [symbolic = %require_complete.loc15 (constants.%require_complete.c28)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc13_19.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc15_11.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc13_19.1 [symbolic = %.loc15_11.3 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc13_19.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc15_11.2: @AccessDerived.%.loc15_11.3 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_11.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %specific_impl_fn.loc15_11.2: = specific_impl_function %impl.elem0.loc15_11.2, @Copy.WithSelf.Op(%T.loc13_19.1) [symbolic = %specific_impl_fn.loc15_11.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %Derived.elem: type = unbound_element_type %Derived.loc13_45.1, %T.as_type.loc13_45.1 [symbolic = %Derived.elem (constants.%Derived.elem.1df)] +// CHECK:STDOUT: %require_complete.loc15: = require_complete_type %T.as_type.loc13_45.1 [symbolic = %require_complete.loc15 (constants.%require_complete.77e)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc13_19.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc15_11.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc13_19.1 [symbolic = %.loc15_11.3 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc13_19.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc15_11.2: @AccessDerived.%.loc15_11.3 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_11.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %specific_impl_fn.loc15_11.2: = specific_impl_function %impl.elem0.loc15_11.2, @Copy.WithSelf.Op(%T.loc13_19.1) [symbolic = %specific_impl_fn.loc15_11.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @AccessDerived.%Derived.loc13_45.1 (%Derived.746)) -> out %return.param: @AccessDerived.%T.as_type.loc13_45.1 (%T.as_type) { +// CHECK:STDOUT: fn(%x.param: @AccessDerived.%Derived.loc13_45.1 (%Derived.97c)) -> out %return.param: @AccessDerived.%T.as_type.loc13_45.1 (%T.as_type) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: @AccessDerived.%Derived.loc13_45.1 (%Derived.746) = name_ref x, %x -// CHECK:STDOUT: %d.ref: @AccessDerived.%Derived.elem (%Derived.elem.f71) = name_ref d, @Derived.%.loc10 [concrete = @Derived.%.loc10] +// CHECK:STDOUT: %x.ref: @AccessDerived.%Derived.loc13_45.1 (%Derived.97c) = name_ref x, %x +// CHECK:STDOUT: %d.ref: @AccessDerived.%Derived.elem (%Derived.elem.1df) = name_ref d, @Derived.%.loc10 [concrete = @Derived.%.loc10] // CHECK:STDOUT: %.loc15_11.1: ref @AccessDerived.%T.as_type.loc13_45.1 (%T.as_type) = class_element_access %x.ref, element1 // CHECK:STDOUT: %.loc15_11.2: @AccessDerived.%T.as_type.loc13_45.1 (%T.as_type) = acquire_value %.loc15_11.1 -// CHECK:STDOUT: %impl.elem0.loc15_11.1: @AccessDerived.%.loc15_11.3 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc15_11.2 (constants.%impl.elem0.cbd)] +// CHECK:STDOUT: %impl.elem0.loc15_11.1: @AccessDerived.%.loc15_11.3 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc15_11.2 (constants.%impl.elem0.41e)] // CHECK:STDOUT: %bound_method.loc15_11.1: = bound_method %.loc15_11.2, %impl.elem0.loc15_11.1 -// CHECK:STDOUT: %specific_impl_fn.loc15_11.1: = specific_impl_function %impl.elem0.loc15_11.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc15_11.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %specific_impl_fn.loc15_11.1: = specific_impl_function %impl.elem0.loc15_11.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc15_11.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: %bound_method.loc15_11.2: = bound_method %.loc15_11.2, %specific_impl_fn.loc15_11.1 // CHECK:STDOUT: // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @AccessDerived.%T.as_type.loc13_45.1 (%T.as_type) to %.loc13_51.1 = call %bound_method.loc15_11.2(%.loc15_11.2) @@ -132,27 +132,27 @@ fn AccessMissingConcrete(x: Derived(i32)) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %Base: type = class_type @Base, @Base(%T.as_type.loc19_42.1) [symbolic = %Base (constants.%Base.5ea)] -// CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %T.as_type.loc19_42.1 [symbolic = %Base.elem (constants.%Base.elem.d1b)] -// CHECK:STDOUT: %require_complete.loc21_11: = require_complete_type %Base [symbolic = %require_complete.loc21_11 (constants.%require_complete.fc7)] -// CHECK:STDOUT: %require_complete.loc21_13: = require_complete_type %T.as_type.loc19_42.1 [symbolic = %require_complete.loc21_13 (constants.%require_complete.c28)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc19_16.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc21_11.5: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc19_16.1 [symbolic = %.loc21_11.5 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc19_16.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc21_11.2: @AccessBase.%.loc21_11.5 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc21_11.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %specific_impl_fn.loc21_11.2: = specific_impl_function %impl.elem0.loc21_11.2, @Copy.WithSelf.Op(%T.loc19_16.1) [symbolic = %specific_impl_fn.loc21_11.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %Base: type = class_type @Base, @Base(%T.as_type.loc19_42.1) [symbolic = %Base (constants.%Base.faf)] +// CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %T.as_type.loc19_42.1 [symbolic = %Base.elem (constants.%Base.elem.5af)] +// CHECK:STDOUT: %require_complete.loc21_11: = require_complete_type %Base [symbolic = %require_complete.loc21_11 (constants.%require_complete.346)] +// CHECK:STDOUT: %require_complete.loc21_13: = require_complete_type %T.as_type.loc19_42.1 [symbolic = %require_complete.loc21_13 (constants.%require_complete.77e)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc19_16.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc21_11.5: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc19_16.1 [symbolic = %.loc21_11.5 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc19_16.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc21_11.2: @AccessBase.%.loc21_11.5 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc21_11.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %specific_impl_fn.loc21_11.2: = specific_impl_function %impl.elem0.loc21_11.2, @Copy.WithSelf.Op(%T.loc19_16.1) [symbolic = %specific_impl_fn.loc21_11.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @AccessBase.%Derived.loc19_42.1 (%Derived.746)) -> out %return.param: @AccessBase.%T.as_type.loc19_42.1 (%T.as_type) { +// CHECK:STDOUT: fn(%x.param: @AccessBase.%Derived.loc19_42.1 (%Derived.97c)) -> out %return.param: @AccessBase.%T.as_type.loc19_42.1 (%T.as_type) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: @AccessBase.%Derived.loc19_42.1 (%Derived.746) = name_ref x, %x -// CHECK:STDOUT: %b.ref: @AccessBase.%Base.elem (%Base.elem.d1b) = name_ref b, @Base.%.loc5 [concrete = @Base.%.loc5] -// CHECK:STDOUT: %.loc21_11.1: ref @AccessBase.%Base (%Base.5ea) = class_element_access %x.ref, element0 -// CHECK:STDOUT: %.loc21_11.2: ref @AccessBase.%Base (%Base.5ea) = converted %x.ref, %.loc21_11.1 +// CHECK:STDOUT: %x.ref: @AccessBase.%Derived.loc19_42.1 (%Derived.97c) = name_ref x, %x +// CHECK:STDOUT: %b.ref: @AccessBase.%Base.elem (%Base.elem.5af) = name_ref b, @Base.%.loc5 [concrete = @Base.%.loc5] +// CHECK:STDOUT: %.loc21_11.1: ref @AccessBase.%Base (%Base.faf) = class_element_access %x.ref, element0 +// CHECK:STDOUT: %.loc21_11.2: ref @AccessBase.%Base (%Base.faf) = converted %x.ref, %.loc21_11.1 // CHECK:STDOUT: %.loc21_11.3: ref @AccessBase.%T.as_type.loc19_42.1 (%T.as_type) = class_element_access %.loc21_11.2, element0 // CHECK:STDOUT: %.loc21_11.4: @AccessBase.%T.as_type.loc19_42.1 (%T.as_type) = acquire_value %.loc21_11.3 -// CHECK:STDOUT: %impl.elem0.loc21_11.1: @AccessBase.%.loc21_11.5 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc21_11.2 (constants.%impl.elem0.cbd)] +// CHECK:STDOUT: %impl.elem0.loc21_11.1: @AccessBase.%.loc21_11.5 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc21_11.2 (constants.%impl.elem0.41e)] // CHECK:STDOUT: %bound_method.loc21_11.1: = bound_method %.loc21_11.4, %impl.elem0.loc21_11.1 -// CHECK:STDOUT: %specific_impl_fn.loc21_11.1: = specific_impl_function %impl.elem0.loc21_11.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc21_11.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %specific_impl_fn.loc21_11.1: = specific_impl_function %impl.elem0.loc21_11.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc21_11.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: %bound_method.loc21_11.2: = bound_method %.loc21_11.4, %specific_impl_fn.loc21_11.1 // CHECK:STDOUT: // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @AccessBase.%T.as_type.loc19_42.1 (%T.as_type) to %.loc19_48.1 = call %bound_method.loc21_11.2(%.loc21_11.4) @@ -160,21 +160,21 @@ fn AccessMissingConcrete(x: Derived(i32)) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AccessDerived(constants.%T.228) { -// CHECK:STDOUT: %T.loc13_19.1 => constants.%T.228 +// CHECK:STDOUT: specific @AccessDerived(constants.%T.f49) { +// CHECK:STDOUT: %T.loc13_19.1 => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc13_45.1 => constants.%T.as_type -// CHECK:STDOUT: %Derived.loc13_45.1 => constants.%Derived.746 -// CHECK:STDOUT: %pattern_type.loc13_34 => constants.%pattern_type.995 -// CHECK:STDOUT: %.loc13_51.2 => constants.%.9ff809.2 -// CHECK:STDOUT: %pattern_type.loc13_51 => constants.%pattern_type.4b69d0.2 +// CHECK:STDOUT: %Derived.loc13_45.1 => constants.%Derived.97c +// CHECK:STDOUT: %pattern_type.loc13_34 => constants.%pattern_type.0dc +// CHECK:STDOUT: %.loc13_51.2 => constants.%.dedae6.2 +// CHECK:STDOUT: %pattern_type.loc13_51 => constants.%pattern_type.c0fdca.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AccessBase(constants.%T.228) { -// CHECK:STDOUT: %T.loc19_16.1 => constants.%T.228 +// CHECK:STDOUT: specific @AccessBase(constants.%T.f49) { +// CHECK:STDOUT: %T.loc19_16.1 => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc19_42.1 => constants.%T.as_type -// CHECK:STDOUT: %Derived.loc19_42.1 => constants.%Derived.746 -// CHECK:STDOUT: %pattern_type.loc19_31 => constants.%pattern_type.995 -// CHECK:STDOUT: %.loc19_48.2 => constants.%.9ff809.2 -// CHECK:STDOUT: %pattern_type.loc19_48 => constants.%pattern_type.4b69d0.2 +// CHECK:STDOUT: %Derived.loc19_42.1 => constants.%Derived.97c +// CHECK:STDOUT: %pattern_type.loc19_31 => constants.%pattern_type.0dc +// CHECK:STDOUT: %.loc19_48.2 => constants.%.dedae6.2 +// CHECK:STDOUT: %pattern_type.loc19_48 => constants.%pattern_type.c0fdca.2 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/member_out_of_line.carbon b/toolchain/check/testdata/class/generic/member_out_of_line.carbon index 2ab4088837f2..aa06de813e5a 100644 --- a/toolchain/check/testdata/class/generic/member_out_of_line.carbon +++ b/toolchain/check/testdata/class/generic/member_out_of_line.carbon @@ -118,29 +118,29 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %pattern_type.35b: type = pattern_type %Copy.type [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.b72: type = pattern_type %Copy.type [concrete] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Class.type: type = generic_class_type @Class [concrete] // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] -// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.228) [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.228 [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %.9ff809.2: Core.Form = init_form %T.as_type [symbolic] -// CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F, @Class(%T.228) [symbolic] +// CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.f49) [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.f49 [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %.dedae6.2: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F, @Class(%T.f49) [symbolic] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.b47: type = pattern_type %Class [symbolic] -// CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G, @Class(%T.228) [symbolic] +// CHECK:STDOUT: %pattern_type.16a: type = pattern_type %Class [symbolic] +// CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G, @Class(%T.f49) [symbolic] // CHECK:STDOUT: %Class.G: %Class.G.type = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.c28: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %require_complete.77e: = require_complete_type %T.as_type [symbolic] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type [symbolic] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %T.as_type} [symbolic] // CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.n [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c49: = lookup_impl_witness %T.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.228) [symbolic] -// CHECK:STDOUT: %.12f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.2, %T.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbd: %.12f = impl_witness_access %Copy.lookup_impl_witness.c49, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f: = specific_impl_function %impl.elem0.cbd, @Copy.WithSelf.Op(%T.228) [symbolic] -// CHECK:STDOUT: %require_complete.478: = require_complete_type %Class [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2dd: = lookup_impl_witness %T.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.f49) [symbolic] +// CHECK:STDOUT: %.e16: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.2, %T.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e: %.e16 = impl_witness_access %Copy.lookup_impl_witness.2dd, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ec: = specific_impl_function %impl.elem0.41e, @Copy.WithSelf.Op(%T.f49) [symbolic] +// CHECK:STDOUT: %require_complete.28e: = require_complete_type %Class [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -154,34 +154,34 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %Class.decl: %Class.type = class_decl @Class [concrete = constants.%Class.generic] { -// CHECK:STDOUT: %T.patt: %pattern_type.35b = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.b72 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc5: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc5_14.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc5_14.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: } // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [symbolic = constants.%Class.F] { -// CHECK:STDOUT: %n.param_patt: @Class.F.%pattern_type (%pattern_type.4b69d0.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: @Class.F.%pattern_type (%pattern_type.4b69d0.2) = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Class.F.%pattern_type (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Class.F.%pattern_type (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc11_36.2 [concrete] +// CHECK:STDOUT: %n.param_patt: @Class.F.%pattern_type (%pattern_type.c0fdca.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: @Class.F.%pattern_type (%pattern_type.c0fdca.2) = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Class.F.%pattern_type (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Class.F.%pattern_type (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc11_36.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc11_18: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc11: %Copy.type = symbolic_binding T, 0 [symbolic = @Class.%T.loc5_14.1 (constants.%T.228)] -// CHECK:STDOUT: %T.ref.loc11_36: %Copy.type = name_ref T, %T.loc11 [symbolic = %T.loc6 (constants.%T.228)] +// CHECK:STDOUT: %T.loc11: %Copy.type = symbolic_binding T, 0 [symbolic = @Class.%T.loc5_14.1 (constants.%T.f49)] +// CHECK:STDOUT: %T.ref.loc11_36: %Copy.type = name_ref T, %T.loc11 [symbolic = %T.loc6 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc11_36: type = facet_access_type %T.ref.loc11_36 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc11_36.2: type = converted %T.ref.loc11_36, %T.as_type.loc11_36 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc11_36.3: Core.Form = init_form %.loc11_36.2 [symbolic = %.loc6_17.1 (constants.%.9ff809.2)] +// CHECK:STDOUT: %.loc11_36.3: Core.Form = init_form %.loc11_36.2 [symbolic = %.loc6_17.1 (constants.%.dedae6.2)] // CHECK:STDOUT: %n.param.loc11: @Class.F.%T.as_type.loc6_11.1 (%T.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc11_30.1: type = splice_block %.loc11_30.2 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref.loc11_30: %Copy.type = name_ref T, %T.loc11 [symbolic = %T.loc6 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc11_30: %Copy.type = name_ref T, %T.loc11 [symbolic = %T.loc6 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc11_30: type = facet_access_type %T.ref.loc11_30 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc11_30.2: type = converted %T.ref.loc11_30, %T.as_type.loc11_30 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] // CHECK:STDOUT: } @@ -190,24 +190,24 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: %return.loc11: ref @Class.F.%T.as_type.loc6_11.1 (%T.as_type) = return_slot %return.param.loc11 // CHECK:STDOUT: } // CHECK:STDOUT: %Class.G.decl: %Class.G.type = fn_decl @Class.G [symbolic = constants.%Class.G] { -// CHECK:STDOUT: %self.param_patt: @Class.G.%pattern_type.loc7_12 (%pattern_type.b47) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Class.G.%pattern_type.loc7_12 (%pattern_type.b47) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Class.G.%pattern_type.loc7_25 (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Class.G.%pattern_type.loc7_25 (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc15_44.2 [concrete] +// CHECK:STDOUT: %self.param_patt: @Class.G.%pattern_type.loc7_12 (%pattern_type.16a) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Class.G.%pattern_type.loc7_12 (%pattern_type.16a) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Class.G.%pattern_type.loc7_25 (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Class.G.%pattern_type.loc7_25 (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc15_44.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15_18: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc15: %Copy.type = symbolic_binding T, 0 [symbolic = @Class.%T.loc5_14.1 (constants.%T.228)] -// CHECK:STDOUT: %T.ref.loc15: %Copy.type = name_ref T, %T.loc15 [symbolic = %T.loc7 (constants.%T.228)] +// CHECK:STDOUT: %T.loc15: %Copy.type = symbolic_binding T, 0 [symbolic = @Class.%T.loc5_14.1 (constants.%T.f49)] +// CHECK:STDOUT: %T.ref.loc15: %Copy.type = name_ref T, %T.loc15 [symbolic = %T.loc7 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc15: type = facet_access_type %T.ref.loc15 [symbolic = %T.as_type.loc7_25.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc15_44.2: type = converted %T.ref.loc15, %T.as_type.loc15 [symbolic = %T.as_type.loc7_25.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc15_44.3: Core.Form = init_form %.loc15_44.2 [symbolic = %.loc7_25.1 (constants.%.9ff809.2)] +// CHECK:STDOUT: %.loc15_44.3: Core.Form = init_form %.loc15_44.2 [symbolic = %.loc7_25.1 (constants.%.dedae6.2)] // CHECK:STDOUT: %self.param.loc15: @Class.G.%Class (%Class) = value_param call_param0 // CHECK:STDOUT: %.loc15_33.1: type = splice_block %Self.ref.loc15 [symbolic = %Class (constants.%Class)] { -// CHECK:STDOUT: %.loc15_33.2: type = specific_constant constants.%Class, @Class(constants.%T.228) [symbolic = %Class (constants.%Class)] +// CHECK:STDOUT: %.loc15_33.2: type = specific_constant constants.%Class, @Class(constants.%T.f49) [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: %Self.ref.loc15: type = name_ref Self, %.loc15_33.2 [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: } // CHECK:STDOUT: %self.loc15: @Class.G.%Class (%Class) = value_binding self, %self.param.loc15 @@ -217,7 +217,7 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @Class(%T.loc5_14.2: %Copy.type) { -// CHECK:STDOUT: %T.loc5_14.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc5_14.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F, @Class(%T.loc5_14.1) [symbolic = %Class.F.type (constants.%Class.F.type)] @@ -225,7 +225,7 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G, @Class(%T.loc5_14.1) [symbolic = %Class.G.type (constants.%Class.G.type)] // CHECK:STDOUT: %Class.G: @Class.%Class.G.type (%Class.G.type) = struct_value () [symbolic = %Class.G (constants.%Class.G)] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T.loc5_14.1 [symbolic = %T.as_type (constants.%T.as_type)] -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type [symbolic = %require_complete (constants.%require_complete.c28)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type [symbolic = %require_complete (constants.%require_complete.77e)] // CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.loc5_14.1) [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type [symbolic = %Class.elem (constants.%Class.elem)] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: @Class.%T.as_type (%T.as_type)} [symbolic = %struct_type.n (constants.%struct_type.n)] @@ -233,18 +233,18 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: %Class.F.decl: @Class.%Class.F.type (%Class.F.type) = fn_decl @Class.F [symbolic = @Class.%Class.F (constants.%Class.F)] { -// CHECK:STDOUT: %n.param_patt: @Class.F.%pattern_type (%pattern_type.4b69d0.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: @Class.F.%pattern_type (%pattern_type.4b69d0.2) = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Class.F.%pattern_type (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Class.F.%pattern_type (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc11_36.2 [concrete] +// CHECK:STDOUT: %n.param_patt: @Class.F.%pattern_type (%pattern_type.c0fdca.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: @Class.F.%pattern_type (%pattern_type.c0fdca.2) = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Class.F.%pattern_type (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Class.F.%pattern_type (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc11_36.2 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc6_17: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T.loc6 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc6_17: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T.loc6 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc6_17: type = facet_access_type %T.ref.loc6_17 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc6_17.2: type = converted %T.ref.loc6_17, %T.as_type.loc6_17 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc6_17.3: Core.Form = init_form %.loc6_17.2 [symbolic = %.loc6_17.1 (constants.%.9ff809.2)] +// CHECK:STDOUT: %.loc6_17.3: Core.Form = init_form %.loc6_17.2 [symbolic = %.loc6_17.1 (constants.%.dedae6.2)] // CHECK:STDOUT: %n.param.loc6: @Class.F.%T.as_type.loc6_11.1 (%T.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc6_11.1: type = splice_block %.loc6_11.2 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref.loc6_11: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T.loc6 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc6_11: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T.loc6 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc6_11.2: type = facet_access_type %T.ref.loc6_11 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc6_11.2: type = converted %T.ref.loc6_11, %T.as_type.loc6_11.2 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] // CHECK:STDOUT: } @@ -253,18 +253,18 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: %return.loc6: ref @Class.F.%T.as_type.loc6_11.1 (%T.as_type) = return_slot %return.param.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: %Class.G.decl: @Class.%Class.G.type (%Class.G.type) = fn_decl @Class.G [symbolic = @Class.%Class.G (constants.%Class.G)] { -// CHECK:STDOUT: %self.param_patt: @Class.G.%pattern_type.loc7_12 (%pattern_type.b47) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Class.G.%pattern_type.loc7_12 (%pattern_type.b47) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Class.G.%pattern_type.loc7_25 (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Class.G.%pattern_type.loc7_25 (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc15_44.2 [concrete] +// CHECK:STDOUT: %self.param_patt: @Class.G.%pattern_type.loc7_12 (%pattern_type.16a) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Class.G.%pattern_type.loc7_12 (%pattern_type.16a) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Class.G.%pattern_type.loc7_25 (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Class.G.%pattern_type.loc7_25 (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc15_44.2 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc7: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T.loc7 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc7: %Copy.type = name_ref T, @Class.%T.loc5_14.2 [symbolic = %T.loc7 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc7_25.2: type = facet_access_type %T.ref.loc7 [symbolic = %T.as_type.loc7_25.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc7_25.2: type = converted %T.ref.loc7, %T.as_type.loc7_25.2 [symbolic = %T.as_type.loc7_25.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc7_25.3: Core.Form = init_form %.loc7_25.2 [symbolic = %.loc7_25.1 (constants.%.9ff809.2)] +// CHECK:STDOUT: %.loc7_25.3: Core.Form = init_form %.loc7_25.2 [symbolic = %.loc7_25.1 (constants.%.dedae6.2)] // CHECK:STDOUT: %self.param.loc7: @Class.G.%Class (%Class) = value_param call_param0 // CHECK:STDOUT: %.loc7_14.1: type = splice_block %Self.ref.loc7 [symbolic = %Class (constants.%Class)] { -// CHECK:STDOUT: %.loc7_14.2: type = specific_constant constants.%Class, @Class(constants.%T.228) [symbolic = %Class (constants.%Class)] +// CHECK:STDOUT: %.loc7_14.2: type = specific_constant constants.%Class, @Class(constants.%T.f49) [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: %Self.ref.loc7: type = name_ref Self, %.loc7_14.2 [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: } // CHECK:STDOUT: %self.loc7: @Class.G.%Class (%Class) = value_binding self, %self.param.loc7 @@ -285,25 +285,25 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Class.F(@Class.%T.loc5_14.2: %Copy.type) { -// CHECK:STDOUT: %T.loc6: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc6 (constants.%T.228)] +// CHECK:STDOUT: %T.loc6: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc6 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc6_11.1: type = facet_access_type %T.loc6 [symbolic = %T.as_type.loc6_11.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc6_11.1 [symbolic = %pattern_type (constants.%pattern_type.4b69d0.2)] -// CHECK:STDOUT: %.loc6_17.1: Core.Form = init_form %T.as_type.loc6_11.1 [symbolic = %.loc6_17.1 (constants.%.9ff809.2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc6_11.1 [symbolic = %pattern_type (constants.%pattern_type.c0fdca.2)] +// CHECK:STDOUT: %.loc6_17.1: Core.Form = init_form %T.as_type.loc6_11.1 [symbolic = %.loc6_17.1 (constants.%.dedae6.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc6_11.1 [symbolic = %require_complete (constants.%require_complete.c28)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc6) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc12: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc6 [symbolic = %.loc12 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc6, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc12_10.2: @Class.F.%.loc12 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc12_10.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %specific_impl_fn.loc12_10.2: = specific_impl_function %impl.elem0.loc12_10.2, @Copy.WithSelf.Op(%T.loc6) [symbolic = %specific_impl_fn.loc12_10.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc6_11.1 [symbolic = %require_complete (constants.%require_complete.77e)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc6) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc12: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc6 [symbolic = %.loc12 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc6, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc12_10.2: @Class.F.%.loc12 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc12_10.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %specific_impl_fn.loc12_10.2: = specific_impl_function %impl.elem0.loc12_10.2, @Copy.WithSelf.Op(%T.loc6) [symbolic = %specific_impl_fn.loc12_10.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%n.param.loc11: @Class.F.%T.as_type.loc6_11.1 (%T.as_type)) -> out %return.param.loc11: @Class.F.%T.as_type.loc6_11.1 (%T.as_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %n.ref: @Class.F.%T.as_type.loc6_11.1 (%T.as_type) = name_ref n, %n.loc11 -// CHECK:STDOUT: %impl.elem0.loc12_10.1: @Class.F.%.loc12 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc12_10.2 (constants.%impl.elem0.cbd)] +// CHECK:STDOUT: %impl.elem0.loc12_10.1: @Class.F.%.loc12 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc12_10.2 (constants.%impl.elem0.41e)] // CHECK:STDOUT: %bound_method.loc12_10.1: = bound_method %n.ref, %impl.elem0.loc12_10.1 -// CHECK:STDOUT: %specific_impl_fn.loc12_10.1: = specific_impl_function %impl.elem0.loc12_10.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc12_10.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %specific_impl_fn.loc12_10.1: = specific_impl_function %impl.elem0.loc12_10.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc12_10.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: %bound_method.loc12_10.2: = bound_method %n.ref, %specific_impl_fn.loc12_10.1 // CHECK:STDOUT: %.loc11_36.1: ref @Class.F.%T.as_type.loc6_11.1 (%T.as_type) = splice_block %return.param.loc11 {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.F.%T.as_type.loc6_11.1 (%T.as_type) to %.loc11_36.1 = call %bound_method.loc12_10.2(%n.ref) @@ -312,22 +312,22 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Class.G(@Class.%T.loc5_14.2: %Copy.type) { -// CHECK:STDOUT: %T.loc7: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc7 (constants.%T.228)] +// CHECK:STDOUT: %T.loc7: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc7 (constants.%T.f49)] // CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.loc7) [symbolic = %Class (constants.%Class)] -// CHECK:STDOUT: %pattern_type.loc7_12: type = pattern_type %Class [symbolic = %pattern_type.loc7_12 (constants.%pattern_type.b47)] +// CHECK:STDOUT: %pattern_type.loc7_12: type = pattern_type %Class [symbolic = %pattern_type.loc7_12 (constants.%pattern_type.16a)] // CHECK:STDOUT: %T.as_type.loc7_25.1: type = facet_access_type %T.loc7 [symbolic = %T.as_type.loc7_25.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc7_25.1: Core.Form = init_form %T.as_type.loc7_25.1 [symbolic = %.loc7_25.1 (constants.%.9ff809.2)] -// CHECK:STDOUT: %pattern_type.loc7_25: type = pattern_type %T.as_type.loc7_25.1 [symbolic = %pattern_type.loc7_25 (constants.%pattern_type.4b69d0.2)] +// CHECK:STDOUT: %.loc7_25.1: Core.Form = init_form %T.as_type.loc7_25.1 [symbolic = %.loc7_25.1 (constants.%.dedae6.2)] +// CHECK:STDOUT: %pattern_type.loc7_25: type = pattern_type %T.as_type.loc7_25.1 [symbolic = %pattern_type.loc7_25 (constants.%pattern_type.c0fdca.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc15: = require_complete_type %Class [symbolic = %require_complete.loc15 (constants.%require_complete.478)] +// CHECK:STDOUT: %require_complete.loc15: = require_complete_type %Class [symbolic = %require_complete.loc15 (constants.%require_complete.28e)] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T.as_type.loc7_25.1 [symbolic = %Class.elem (constants.%Class.elem)] -// CHECK:STDOUT: %require_complete.loc16: = require_complete_type %T.as_type.loc7_25.1 [symbolic = %require_complete.loc16 (constants.%require_complete.c28)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc7) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc16_14.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc7 [symbolic = %.loc16_14.3 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc7, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc16_14.2: @Class.G.%.loc16_14.3 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_14.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %specific_impl_fn.loc16_14.2: = specific_impl_function %impl.elem0.loc16_14.2, @Copy.WithSelf.Op(%T.loc7) [symbolic = %specific_impl_fn.loc16_14.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %require_complete.loc16: = require_complete_type %T.as_type.loc7_25.1 [symbolic = %require_complete.loc16 (constants.%require_complete.77e)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc7) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc16_14.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc7 [symbolic = %.loc16_14.3 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc7, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc16_14.2: @Class.G.%.loc16_14.3 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_14.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %specific_impl_fn.loc16_14.2: = specific_impl_function %impl.elem0.loc16_14.2, @Copy.WithSelf.Op(%T.loc7) [symbolic = %specific_impl_fn.loc16_14.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param.loc15: @Class.G.%Class (%Class)) -> out %return.param.loc15: @Class.G.%T.as_type.loc7_25.1 (%T.as_type) { // CHECK:STDOUT: !entry: @@ -335,9 +335,9 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: %n.ref: @Class.G.%Class.elem (%Class.elem) = name_ref n, @Class.%.loc8 [concrete = @Class.%.loc8] // CHECK:STDOUT: %.loc16_14.1: ref @Class.G.%T.as_type.loc7_25.1 (%T.as_type) = class_element_access %self.ref, element0 // CHECK:STDOUT: %.loc16_14.2: @Class.G.%T.as_type.loc7_25.1 (%T.as_type) = acquire_value %.loc16_14.1 -// CHECK:STDOUT: %impl.elem0.loc16_14.1: @Class.G.%.loc16_14.3 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc16_14.2 (constants.%impl.elem0.cbd)] +// CHECK:STDOUT: %impl.elem0.loc16_14.1: @Class.G.%.loc16_14.3 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc16_14.2 (constants.%impl.elem0.41e)] // CHECK:STDOUT: %bound_method.loc16_14.1: = bound_method %.loc16_14.2, %impl.elem0.loc16_14.1 -// CHECK:STDOUT: %specific_impl_fn.loc16_14.1: = specific_impl_function %impl.elem0.loc16_14.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc16_14.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %specific_impl_fn.loc16_14.1: = specific_impl_function %impl.elem0.loc16_14.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc16_14.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: %bound_method.loc16_14.2: = bound_method %.loc16_14.2, %specific_impl_fn.loc16_14.1 // CHECK:STDOUT: %.loc15_44.1: ref @Class.G.%T.as_type.loc7_25.1 (%T.as_type) = splice_block %return.param.loc15 {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Class.G.%T.as_type.loc7_25.1 (%T.as_type) to %.loc15_44.1 = call %bound_method.loc16_14.2(%.loc16_14.2) @@ -345,8 +345,8 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class(constants.%T.228) { -// CHECK:STDOUT: %T.loc5_14.1 => constants.%T.228 +// CHECK:STDOUT: specific @Class(constants.%T.f49) { +// CHECK:STDOUT: %T.loc5_14.1 => constants.%T.f49 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Class.F.type => constants.%Class.F.type @@ -354,27 +354,27 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: %Class.G.type => constants.%Class.G.type // CHECK:STDOUT: %Class.G => constants.%Class.G // CHECK:STDOUT: %T.as_type => constants.%T.as_type -// CHECK:STDOUT: %require_complete => constants.%require_complete.c28 +// CHECK:STDOUT: %require_complete => constants.%require_complete.77e // CHECK:STDOUT: %Class => constants.%Class // CHECK:STDOUT: %Class.elem => constants.%Class.elem // CHECK:STDOUT: %struct_type.n => constants.%struct_type.n // CHECK:STDOUT: %complete_type.loc9_1.2 => constants.%complete_type // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class.F(constants.%T.228) { -// CHECK:STDOUT: %T.loc6 => constants.%T.228 +// CHECK:STDOUT: specific @Class.F(constants.%T.f49) { +// CHECK:STDOUT: %T.loc6 => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc6_11.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4b69d0.2 -// CHECK:STDOUT: %.loc6_17.1 => constants.%.9ff809.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c0fdca.2 +// CHECK:STDOUT: %.loc6_17.1 => constants.%.dedae6.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Class.G(constants.%T.228) { -// CHECK:STDOUT: %T.loc7 => constants.%T.228 +// CHECK:STDOUT: specific @Class.G(constants.%T.f49) { +// CHECK:STDOUT: %T.loc7 => constants.%T.f49 // CHECK:STDOUT: %Class => constants.%Class -// CHECK:STDOUT: %pattern_type.loc7_12 => constants.%pattern_type.b47 +// CHECK:STDOUT: %pattern_type.loc7_12 => constants.%pattern_type.16a // CHECK:STDOUT: %T.as_type.loc7_25.1 => constants.%T.as_type -// CHECK:STDOUT: %.loc7_25.1 => constants.%.9ff809.2 -// CHECK:STDOUT: %pattern_type.loc7_25 => constants.%pattern_type.4b69d0.2 +// CHECK:STDOUT: %.loc7_25.1 => constants.%.dedae6.2 +// CHECK:STDOUT: %pattern_type.loc7_25 => constants.%pattern_type.c0fdca.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nested.carbon @@ -392,12 +392,12 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: %B.type: type = generic_class_type @B, @A(%T) [symbolic] // CHECK:STDOUT: %B.generic: %B.type = struct_value () [symbolic] // CHECK:STDOUT: %B: type = class_type @B, @B(%T, %_) [symbolic] -// CHECK:STDOUT: %pattern_type.f4b: type = pattern_type %B [symbolic] +// CHECK:STDOUT: %pattern_type.29a: type = pattern_type %B [symbolic] // CHECK:STDOUT: %B.F.type: type = fn_type @B.F, @B(%T, %_) [symbolic] // CHECK:STDOUT: %B.F: %B.F.type = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %require_complete.6d6: = require_complete_type %B [symbolic] +// CHECK:STDOUT: %require_complete.148: = require_complete_type %B [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -412,8 +412,8 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: %T.loc5_10.2: type = symbolic_binding T, 0 [symbolic = %T.loc5_10.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: %B.F.decl: %B.F.type = fn_decl @B.F [symbolic = constants.%B.F] { -// CHECK:STDOUT: %self.param_patt: @B.F.%pattern_type.loc7_14 (%pattern_type.f4b) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @B.F.%pattern_type.loc7_14 (%pattern_type.f4b) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @B.F.%pattern_type.loc7_14 (%pattern_type.29a) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @B.F.%pattern_type.loc7_14 (%pattern_type.29a) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %a.param_patt: @B.F.%pattern_type.loc7_23 (%pattern_type.51d) = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: @B.F.%pattern_type.loc7_23 (%pattern_type.51d) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { @@ -477,8 +477,8 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: %B.F.decl: @B.%B.F.type (%B.F.type) = fn_decl @B.F [symbolic = @B.%B.F (constants.%B.F)] { -// CHECK:STDOUT: %self.param_patt: @B.F.%pattern_type.loc7_14 (%pattern_type.f4b) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @B.F.%pattern_type.loc7_14 (%pattern_type.f4b) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @B.F.%pattern_type.loc7_14 (%pattern_type.29a) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @B.F.%pattern_type.loc7_14 (%pattern_type.29a) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %a.param_patt: @B.F.%pattern_type.loc7_23 (%pattern_type.51d) = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: @B.F.%pattern_type.loc7_23 (%pattern_type.51d) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { @@ -506,11 +506,11 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: %T.loc7: type = symbolic_binding T, 0 [symbolic = %T.loc7 (constants.%T)] // CHECK:STDOUT: %_.loc7: @B.F.%T.loc7 (%T) = symbolic_binding _, 1 [symbolic = %_.loc7 (constants.%_)] // CHECK:STDOUT: %B: type = class_type @B, @B(%T.loc7, %_.loc7) [symbolic = %B (constants.%B)] -// CHECK:STDOUT: %pattern_type.loc7_14: type = pattern_type %B [symbolic = %pattern_type.loc7_14 (constants.%pattern_type.f4b)] +// CHECK:STDOUT: %pattern_type.loc7_14: type = pattern_type %B [symbolic = %pattern_type.loc7_14 (constants.%pattern_type.29a)] // CHECK:STDOUT: %pattern_type.loc7_23: type = pattern_type %T.loc7 [symbolic = %pattern_type.loc7_23 (constants.%pattern_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc11_38: = require_complete_type %B [symbolic = %require_complete.loc11_38 (constants.%require_complete.6d6)] +// CHECK:STDOUT: %require_complete.loc11_38: = require_complete_type %B [symbolic = %require_complete.loc11_38 (constants.%require_complete.148)] // CHECK:STDOUT: %require_complete.loc11_54: = require_complete_type %T.loc7 [symbolic = %require_complete.loc11_54 (constants.%require_complete.944)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param.loc11: @B.F.%B (%B), %a.param.loc11: @B.F.%T.loc7 (%T)) { @@ -541,7 +541,7 @@ fn Generic(unused T:! ()).WrongType() {} // CHECK:STDOUT: %T.loc7 => constants.%T // CHECK:STDOUT: %_.loc7 => constants.%_ // CHECK:STDOUT: %B => constants.%B -// CHECK:STDOUT: %pattern_type.loc7_14 => constants.%pattern_type.f4b +// CHECK:STDOUT: %pattern_type.loc7_14 => constants.%pattern_type.29a // CHECK:STDOUT: %pattern_type.loc7_23 => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/member_type.carbon b/toolchain/check/testdata/class/generic/member_type.carbon index 41581ea6bc74..74701feab350 100644 --- a/toolchain/check/testdata/class/generic/member_type.carbon +++ b/toolchain/check/testdata/class/generic/member_type.carbon @@ -62,83 +62,83 @@ fn Test() -> i32 { // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %pattern_type.35b: type = pattern_type %Copy.type [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.b72: type = pattern_type %Copy.type [concrete] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Outer.type: type = generic_class_type @Outer [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Outer.generic: %Outer.type = struct_value () [concrete] -// CHECK:STDOUT: %Outer.6d8: type = class_type @Outer, @Outer(%T.228) [symbolic] -// CHECK:STDOUT: %Inner.772: type = class_type @Inner, @Inner(%T.228) [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.228 [symbolic] -// CHECK:STDOUT: %require_complete.c28: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %Inner.elem.b32: type = unbound_element_type %Inner.772, %T.as_type [symbolic] -// CHECK:STDOUT: %struct_type.n.5e5: type = struct_type {.n: %T.as_type} [symbolic] -// CHECK:STDOUT: %complete_type.795: = complete_type_witness %struct_type.n.5e5 [symbolic] -// CHECK:STDOUT: %.293: Core.Form = init_form %Inner.772 [symbolic] -// CHECK:STDOUT: %pattern_type.c64: type = pattern_type %Inner.772 [symbolic] -// CHECK:STDOUT: %Outer.F.type.f80: type = fn_type @Outer.F, @Outer(%T.228) [symbolic] -// CHECK:STDOUT: %Outer.F.3e5: %Outer.F.type.f80 = struct_value () [symbolic] +// CHECK:STDOUT: %Outer.467: type = class_type @Outer, @Outer(%T.f49) [symbolic] +// CHECK:STDOUT: %Inner.c8f: type = class_type @Inner, @Inner(%T.f49) [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.f49 [symbolic] +// CHECK:STDOUT: %require_complete.77e: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %Inner.elem.36d: type = unbound_element_type %Inner.c8f, %T.as_type [symbolic] +// CHECK:STDOUT: %struct_type.n.fa5: type = struct_type {.n: %T.as_type} [symbolic] +// CHECK:STDOUT: %complete_type.c3a: = complete_type_witness %struct_type.n.fa5 [symbolic] +// CHECK:STDOUT: %.6d6: Core.Form = init_form %Inner.c8f [symbolic] +// CHECK:STDOUT: %pattern_type.f8c: type = pattern_type %Inner.c8f [symbolic] +// CHECK:STDOUT: %Outer.F.type.4f4: type = fn_type @Outer.F, @Outer(%T.f49) [symbolic] +// CHECK:STDOUT: %Outer.F.51f: %Outer.F.type.4f4 = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %require_complete.000: = require_complete_type %Inner.772 [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c49: = lookup_impl_witness %T.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.228) [symbolic] -// CHECK:STDOUT: %.12f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.2, %T.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbd: %.12f = impl_witness_access %Copy.lookup_impl_witness.c49, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f: = specific_impl_function %impl.elem0.cbd, @Copy.WithSelf.Op(%T.228) [symbolic] +// CHECK:STDOUT: %require_complete.93b: = require_complete_type %Inner.c8f [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2dd: = lookup_impl_witness %T.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.f49) [symbolic] +// CHECK:STDOUT: %.e16: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.2, %T.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e: %.e16 = impl_witness_access %Copy.lookup_impl_witness.2dd, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ec: = specific_impl_function %impl.elem0.41e, @Copy.WithSelf.Op(%T.f49) [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Test.type: type = fn_type @Test [concrete] // CHECK:STDOUT: %Test: %Test.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Outer.76a: type = class_type @Outer, @Outer(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %Inner.4b6: type = class_type @Inner, @Inner(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %Outer.F.type.34a: type = fn_type @Outer.F, @Outer(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %Outer.F.8c7: %Outer.F.type.34a = struct_value () [concrete] -// CHECK:STDOUT: %Inner.elem.e1c: type = unbound_element_type %Inner.4b6, %i32 [concrete] -// CHECK:STDOUT: %struct_type.n.179: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n.179 [concrete] -// CHECK:STDOUT: %pattern_type.f69: type = pattern_type %Inner.4b6 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Outer.0c2: type = class_type @Outer, @Outer(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %Inner.cc9: type = class_type @Inner, @Inner(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %Outer.F.type.3a5: type = fn_type @Outer.F, @Outer(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %Outer.F.a82: %Outer.F.type.3a5 = struct_value () [concrete] +// CHECK:STDOUT: %Inner.elem.8cd: type = unbound_element_type %Inner.cc9, %i32 [concrete] +// CHECK:STDOUT: %struct_type.n.c7a: type = struct_type {.n: %i32} [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n.c7a [concrete] +// CHECK:STDOUT: %pattern_type.37d: type = pattern_type %Inner.cc9 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.470: = impl_witness imports.%Copy.impl_witness_table.73d [concrete] -// CHECK:STDOUT: %Copy.facet.fe3: %Copy.type = facet_value Core.IntLiteral, (%Copy.impl_witness.470) [concrete] -// CHECK:STDOUT: %.6f1: Core.Form = init_form %Inner.4b6 [concrete] -// CHECK:STDOUT: %Outer.F.specific_fn: = specific_function %Outer.F.8c7, @Outer.F(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %Copy.impl_witness.061: = impl_witness imports.%Copy.impl_witness_table.fb5 [concrete] +// CHECK:STDOUT: %Copy.facet.23a: %Copy.type = facet_value Core.IntLiteral, (%Copy.impl_witness.061) [concrete] +// CHECK:STDOUT: %.e0c: Core.Form = init_form %Inner.cc9 [concrete] +// CHECK:STDOUT: %Outer.F.specific_fn: = specific_function %Outer.F.a82, @Outer.F(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc13_3.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc13_3.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -152,13 +152,13 @@ fn Test() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.2da = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Copy.impl_witness_table.73d = impl_witness_table (%Core.import_ref.2da), @Core.IntLiteral.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.83f = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Copy.impl_witness_table.fb5 = impl_witness_table (%Core.import_ref.83f), @Core.IntLiteral.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -170,60 +170,60 @@ fn Test() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Outer.decl: %Outer.type = class_decl @Outer [concrete = constants.%Outer.generic] { -// CHECK:STDOUT: %T.patt: %pattern_type.35b = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.b72 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc4_14.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc4_14.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T.f49)] // CHECK:STDOUT: } // CHECK:STDOUT: %Test.decl: %Test.type = fn_decl @Test [concrete = constants.%Test] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc12 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc12 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc12: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc12: Core.Form = init_form %i32.loc12 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc12: Core.Form = init_form %i32.loc12 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @Outer(%T.loc4_14.2: %Copy.type) { -// CHECK:STDOUT: %T.loc4_14.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc4_14.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T.f49)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner: type = class_type @Inner, @Inner(%T.loc4_14.1) [symbolic = %Inner (constants.%Inner.772)] -// CHECK:STDOUT: %Outer.F.type: type = fn_type @Outer.F, @Outer(%T.loc4_14.1) [symbolic = %Outer.F.type (constants.%Outer.F.type.f80)] -// CHECK:STDOUT: %Outer.F: @Outer.%Outer.F.type (%Outer.F.type.f80) = struct_value () [symbolic = %Outer.F (constants.%Outer.F.3e5)] +// CHECK:STDOUT: %Inner: type = class_type @Inner, @Inner(%T.loc4_14.1) [symbolic = %Inner (constants.%Inner.c8f)] +// CHECK:STDOUT: %Outer.F.type: type = fn_type @Outer.F, @Outer(%T.loc4_14.1) [symbolic = %Outer.F.type (constants.%Outer.F.type.4f4)] +// CHECK:STDOUT: %Outer.F: @Outer.%Outer.F.type (%Outer.F.type.4f4) = struct_value () [symbolic = %Outer.F (constants.%Outer.F.51f)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %Inner.decl: type = class_decl @Inner [symbolic = @Outer.%Inner (constants.%Inner.772)] {} {} -// CHECK:STDOUT: %Outer.F.decl: @Outer.%Outer.F.type (%Outer.F.type.f80) = fn_decl @Outer.F [symbolic = @Outer.%Outer.F (constants.%Outer.F.3e5)] { -// CHECK:STDOUT: %n.param_patt: @Outer.F.%pattern_type.loc9_9 (%pattern_type.4b69d0.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: @Outer.F.%pattern_type.loc9_9 (%pattern_type.4b69d0.2) = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Outer.F.%pattern_type.loc9_17 (%pattern_type.c64) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Outer.F.%pattern_type.loc9_17 (%pattern_type.c64) = return_slot_pattern %return.param_patt, %Inner.ref [concrete] +// CHECK:STDOUT: %Inner.decl: type = class_decl @Inner [symbolic = @Outer.%Inner (constants.%Inner.c8f)] {} {} +// CHECK:STDOUT: %Outer.F.decl: @Outer.%Outer.F.type (%Outer.F.type.4f4) = fn_decl @Outer.F [symbolic = @Outer.%Outer.F (constants.%Outer.F.51f)] { +// CHECK:STDOUT: %n.param_patt: @Outer.F.%pattern_type.loc9_9 (%pattern_type.c0fdca.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: @Outer.F.%pattern_type.loc9_9 (%pattern_type.c0fdca.2) = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Outer.F.%pattern_type.loc9_17 (%pattern_type.f8c) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Outer.F.%pattern_type.loc9_17 (%pattern_type.f8c) = return_slot_pattern %return.param_patt, %Inner.ref [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc9_17.2: type = specific_constant @Outer.%Inner.decl, @Outer(constants.%T.228) [symbolic = %Inner (constants.%Inner.772)] -// CHECK:STDOUT: %Inner.ref: type = name_ref Inner, %.loc9_17.2 [symbolic = %Inner (constants.%Inner.772)] -// CHECK:STDOUT: %.loc9_17.3: Core.Form = init_form %Inner.ref [symbolic = %.loc9_17.1 (constants.%.293)] +// CHECK:STDOUT: %.loc9_17.2: type = specific_constant @Outer.%Inner.decl, @Outer(constants.%T.f49) [symbolic = %Inner (constants.%Inner.c8f)] +// CHECK:STDOUT: %Inner.ref: type = name_ref Inner, %.loc9_17.2 [symbolic = %Inner (constants.%Inner.c8f)] +// CHECK:STDOUT: %.loc9_17.3: Core.Form = init_form %Inner.ref [symbolic = %.loc9_17.1 (constants.%.6d6)] // CHECK:STDOUT: %n.param: @Outer.F.%T.as_type.loc9_11.1 (%T.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc9_11.1: type = splice_block %.loc9_11.2 [symbolic = %T.as_type.loc9_11.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref: %Copy.type = name_ref T, @Outer.%T.loc4_14.2 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T.ref: %Copy.type = name_ref T, @Outer.%T.loc4_14.2 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc9_11.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc9_11.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc9_11.2: type = converted %T.ref, %T.as_type.loc9_11.2 [symbolic = %T.as_type.loc9_11.1 (constants.%T.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: %n: @Outer.F.%T.as_type.loc9_11.1 (%T.as_type) = value_binding n, %n.param -// CHECK:STDOUT: %return.param: ref @Outer.F.%Inner (%Inner.772) = out_param call_param1 -// CHECK:STDOUT: %return: ref @Outer.F.%Inner (%Inner.772) = return_slot %return.param +// CHECK:STDOUT: %return.param: ref @Outer.F.%Inner (%Inner.c8f) = out_param call_param1 +// CHECK:STDOUT: %return: ref @Outer.F.%Inner (%Inner.c8f) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type.357] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Outer.6d8 +// CHECK:STDOUT: .Self = constants.%Outer.467 // CHECK:STDOUT: .Inner = %Inner.decl // CHECK:STDOUT: .T = // CHECK:STDOUT: .F = %Outer.F.decl @@ -232,57 +232,57 @@ fn Test() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: generic class @Inner(@Outer.%T.loc4_14.2: %Copy.type) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic = %T.as_type (constants.%T.as_type)] -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type [symbolic = %require_complete (constants.%require_complete.c28)] -// CHECK:STDOUT: %Inner: type = class_type @Inner, @Inner(%T) [symbolic = %Inner (constants.%Inner.772)] -// CHECK:STDOUT: %Inner.elem: type = unbound_element_type %Inner, %T.as_type [symbolic = %Inner.elem (constants.%Inner.elem.b32)] -// CHECK:STDOUT: %struct_type.n: type = struct_type {.n: @Inner.%T.as_type (%T.as_type)} [symbolic = %struct_type.n (constants.%struct_type.n.5e5)] -// CHECK:STDOUT: %complete_type.loc7_3.2: = complete_type_witness %struct_type.n [symbolic = %complete_type.loc7_3.2 (constants.%complete_type.795)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type [symbolic = %require_complete (constants.%require_complete.77e)] +// CHECK:STDOUT: %Inner: type = class_type @Inner, @Inner(%T) [symbolic = %Inner (constants.%Inner.c8f)] +// CHECK:STDOUT: %Inner.elem: type = unbound_element_type %Inner, %T.as_type [symbolic = %Inner.elem (constants.%Inner.elem.36d)] +// CHECK:STDOUT: %struct_type.n: type = struct_type {.n: @Inner.%T.as_type (%T.as_type)} [symbolic = %struct_type.n (constants.%struct_type.n.fa5)] +// CHECK:STDOUT: %complete_type.loc7_3.2: = complete_type_witness %struct_type.n [symbolic = %complete_type.loc7_3.2 (constants.%complete_type.c3a)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %.loc6: @Inner.%Inner.elem (%Inner.elem.b32) = field_decl n, element0 [concrete] -// CHECK:STDOUT: %complete_type.loc7_3.1: = complete_type_witness constants.%struct_type.n.5e5 [symbolic = %complete_type.loc7_3.2 (constants.%complete_type.795)] +// CHECK:STDOUT: %.loc6: @Inner.%Inner.elem (%Inner.elem.36d) = field_decl n, element0 [concrete] +// CHECK:STDOUT: %complete_type.loc7_3.1: = complete_type_witness constants.%struct_type.n.fa5 [symbolic = %complete_type.loc7_3.2 (constants.%complete_type.c3a)] // CHECK:STDOUT: complete_type_witness = %complete_type.loc7_3.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Inner.772 +// CHECK:STDOUT: .Self = constants.%Inner.c8f // CHECK:STDOUT: .T = // CHECK:STDOUT: .n = %.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Outer.F(@Outer.%T.loc4_14.2: %Copy.type) { -// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc9_11.1: type = facet_access_type %T [symbolic = %T.as_type.loc9_11.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type.loc9_9: type = pattern_type %T.as_type.loc9_11.1 [symbolic = %pattern_type.loc9_9 (constants.%pattern_type.4b69d0.2)] -// CHECK:STDOUT: %Inner: type = class_type @Inner, @Inner(%T) [symbolic = %Inner (constants.%Inner.772)] -// CHECK:STDOUT: %.loc9_17.1: Core.Form = init_form %Inner [symbolic = %.loc9_17.1 (constants.%.293)] -// CHECK:STDOUT: %pattern_type.loc9_17: type = pattern_type %Inner [symbolic = %pattern_type.loc9_17 (constants.%pattern_type.c64)] +// CHECK:STDOUT: %pattern_type.loc9_9: type = pattern_type %T.as_type.loc9_11.1 [symbolic = %pattern_type.loc9_9 (constants.%pattern_type.c0fdca.2)] +// CHECK:STDOUT: %Inner: type = class_type @Inner, @Inner(%T) [symbolic = %Inner (constants.%Inner.c8f)] +// CHECK:STDOUT: %.loc9_17.1: Core.Form = init_form %Inner [symbolic = %.loc9_17.1 (constants.%.6d6)] +// CHECK:STDOUT: %pattern_type.loc9_17: type = pattern_type %Inner [symbolic = %pattern_type.loc9_17 (constants.%pattern_type.f8c)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc9_9: = require_complete_type %T.as_type.loc9_11.1 [symbolic = %require_complete.loc9_9 (constants.%require_complete.c28)] -// CHECK:STDOUT: %require_complete.loc9_14: = require_complete_type %Inner [symbolic = %require_complete.loc9_14 (constants.%require_complete.000)] -// CHECK:STDOUT: %struct_type.n: type = struct_type {.n: @Outer.F.%T.as_type.loc9_11.1 (%T.as_type)} [symbolic = %struct_type.n (constants.%struct_type.n.5e5)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc9_38: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T [symbolic = %.loc9_38 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc9_38.2: @Outer.F.%.loc9_38 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_38.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %specific_impl_fn.loc9_38.2: = specific_impl_function %impl.elem0.loc9_38.2, @Copy.WithSelf.Op(%T) [symbolic = %specific_impl_fn.loc9_38.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %require_complete.loc9_9: = require_complete_type %T.as_type.loc9_11.1 [symbolic = %require_complete.loc9_9 (constants.%require_complete.77e)] +// CHECK:STDOUT: %require_complete.loc9_14: = require_complete_type %Inner [symbolic = %require_complete.loc9_14 (constants.%require_complete.93b)] +// CHECK:STDOUT: %struct_type.n: type = struct_type {.n: @Outer.F.%T.as_type.loc9_11.1 (%T.as_type)} [symbolic = %struct_type.n (constants.%struct_type.n.fa5)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc9_38: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T [symbolic = %.loc9_38 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc9_38.2: @Outer.F.%.loc9_38 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_38.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %specific_impl_fn.loc9_38.2: = specific_impl_function %impl.elem0.loc9_38.2, @Copy.WithSelf.Op(%T) [symbolic = %specific_impl_fn.loc9_38.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%n.param: @Outer.F.%T.as_type.loc9_11.1 (%T.as_type)) -> out %return.param: @Outer.F.%Inner (%Inner.772) { +// CHECK:STDOUT: fn(%n.param: @Outer.F.%T.as_type.loc9_11.1 (%T.as_type)) -> out %return.param: @Outer.F.%Inner (%Inner.c8f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %n.ref: @Outer.F.%T.as_type.loc9_11.1 (%T.as_type) = name_ref n, %n -// CHECK:STDOUT: %.loc9_39.1: @Outer.F.%struct_type.n (%struct_type.n.5e5) = struct_literal (%n.ref) -// CHECK:STDOUT: %impl.elem0.loc9_38.1: @Outer.F.%.loc9_38 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc9_38.2 (constants.%impl.elem0.cbd)] +// CHECK:STDOUT: %.loc9_39.1: @Outer.F.%struct_type.n (%struct_type.n.fa5) = struct_literal (%n.ref) +// CHECK:STDOUT: %impl.elem0.loc9_38.1: @Outer.F.%.loc9_38 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc9_38.2 (constants.%impl.elem0.41e)] // CHECK:STDOUT: %bound_method.loc9_38.1: = bound_method %n.ref, %impl.elem0.loc9_38.1 -// CHECK:STDOUT: %specific_impl_fn.loc9_38.1: = specific_impl_function %impl.elem0.loc9_38.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc9_38.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %specific_impl_fn.loc9_38.1: = specific_impl_function %impl.elem0.loc9_38.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc9_38.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: %bound_method.loc9_38.2: = bound_method %n.ref, %specific_impl_fn.loc9_38.1 // CHECK:STDOUT: %.loc9_39.2: ref @Outer.F.%T.as_type.loc9_11.1 (%T.as_type) = class_element_access %return.param, element0 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Outer.F.%T.as_type.loc9_11.1 (%T.as_type) to %.loc9_39.2 = call %bound_method.loc9_38.2(%n.ref) // CHECK:STDOUT: %.loc9_39.3: init @Outer.F.%T.as_type.loc9_11.1 (%T.as_type) to %.loc9_39.2 = in_place_init %Copy.WithSelf.Op.call -// CHECK:STDOUT: %.loc9_39.4: init @Outer.F.%Inner (%Inner.772) to %return.param = class_init (%.loc9_39.3) -// CHECK:STDOUT: %.loc9_40: init @Outer.F.%Inner (%Inner.772) = converted %.loc9_39.1, %.loc9_39.4 +// CHECK:STDOUT: %.loc9_39.4: init @Outer.F.%Inner (%Inner.c8f) to %return.param = class_init (%.loc9_39.3) +// CHECK:STDOUT: %.loc9_40: init @Outer.F.%Inner (%Inner.c8f) = converted %.loc9_39.1, %.loc9_39.4 // CHECK:STDOUT: return %.loc9_40 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -290,51 +290,51 @@ fn Test() -> i32 { // CHECK:STDOUT: fn @Test() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.f69 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.f69 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.37d = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.37d = var_pattern %c.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %c.var: ref %Inner.4b6 = var %c.var_patt +// CHECK:STDOUT: %c.var: ref %Inner.cc9 = var %c.var_patt // CHECK:STDOUT: %Outer.ref.loc13_29: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %i32.loc13_35: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Copy.facet.loc13_38: %Copy.type = facet_value %i32.loc13_35, (constants.%Copy.impl_witness.32d) [concrete = constants.%Copy.facet.66a] -// CHECK:STDOUT: %.loc13_38: %Copy.type = converted %i32.loc13_35, %Copy.facet.loc13_38 [concrete = constants.%Copy.facet.66a] -// CHECK:STDOUT: %Outer.loc13_38: type = class_type @Outer, @Outer(constants.%Copy.facet.66a) [concrete = constants.%Outer.76a] -// CHECK:STDOUT: %.loc13_39: %Outer.F.type.34a = specific_constant @Outer.%Outer.F.decl, @Outer(constants.%Copy.facet.66a) [concrete = constants.%Outer.F.8c7] -// CHECK:STDOUT: %F.ref: %Outer.F.type.34a = name_ref F, %.loc13_39 [concrete = constants.%Outer.F.8c7] +// CHECK:STDOUT: %Copy.facet.loc13_38: %Copy.type = facet_value %i32.loc13_35, (constants.%Copy.impl_witness.1a4) [concrete = constants.%Copy.facet.14d] +// CHECK:STDOUT: %.loc13_38: %Copy.type = converted %i32.loc13_35, %Copy.facet.loc13_38 [concrete = constants.%Copy.facet.14d] +// CHECK:STDOUT: %Outer.loc13_38: type = class_type @Outer, @Outer(constants.%Copy.facet.14d) [concrete = constants.%Outer.0c2] +// CHECK:STDOUT: %.loc13_39: %Outer.F.type.3a5 = specific_constant @Outer.%Outer.F.decl, @Outer(constants.%Copy.facet.14d) [concrete = constants.%Outer.F.a82] +// CHECK:STDOUT: %F.ref: %Outer.F.type.3a5 = name_ref F, %.loc13_39 [concrete = constants.%Outer.F.a82] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %Copy.facet.loc13_43: %Copy.type = facet_value Core.IntLiteral, (constants.%Copy.impl_witness.470) [concrete = constants.%Copy.facet.fe3] -// CHECK:STDOUT: %.loc13_43: %Copy.type = converted Core.IntLiteral, %Copy.facet.loc13_43 [concrete = constants.%Copy.facet.fe3] -// CHECK:STDOUT: %Outer.F.specific_fn: = specific_function %F.ref, @Outer.F(constants.%Copy.facet.66a) [concrete = constants.%Outer.F.specific_fn] -// CHECK:STDOUT: %.loc13_3: ref %Inner.4b6 = splice_block %c.var {} -// CHECK:STDOUT: %impl.elem0.loc13: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %Copy.facet.loc13_43: %Copy.type = facet_value Core.IntLiteral, (constants.%Copy.impl_witness.061) [concrete = constants.%Copy.facet.23a] +// CHECK:STDOUT: %.loc13_43: %Copy.type = converted Core.IntLiteral, %Copy.facet.loc13_43 [concrete = constants.%Copy.facet.23a] +// CHECK:STDOUT: %Outer.F.specific_fn: = specific_function %F.ref, @Outer.F(constants.%Copy.facet.14d) [concrete = constants.%Outer.F.specific_fn] +// CHECK:STDOUT: %.loc13_3: ref %Inner.cc9 = splice_block %c.var {} +// CHECK:STDOUT: %impl.elem0.loc13: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc13_42.1: = bound_method %int_1, %impl.elem0.loc13 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc13_42.2: = bound_method %int_1, %specific_fn.loc13 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_42.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc13_42.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc13_42.2: %i32 = converted %int_1, %.loc13_42.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %Outer.F.call: init %Inner.4b6 to %.loc13_3 = call %Outer.F.specific_fn(%.loc13_42.2) +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_42.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc13_42.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc13_42.2: %i32 = converted %int_1, %.loc13_42.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %Outer.F.call: init %Inner.cc9 to %.loc13_3 = call %Outer.F.specific_fn(%.loc13_42.2) // CHECK:STDOUT: assign %c.var, %Outer.F.call -// CHECK:STDOUT: %.loc13_20.1: type = splice_block %Inner.ref [concrete = constants.%Inner.4b6] { +// CHECK:STDOUT: %.loc13_20.1: type = splice_block %Inner.ref [concrete = constants.%Inner.cc9] { // CHECK:STDOUT: %Outer.ref.loc13_10: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %i32.loc13_16: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Copy.facet.loc13_19: %Copy.type = facet_value %i32.loc13_16, (constants.%Copy.impl_witness.32d) [concrete = constants.%Copy.facet.66a] -// CHECK:STDOUT: %.loc13_19: %Copy.type = converted %i32.loc13_16, %Copy.facet.loc13_19 [concrete = constants.%Copy.facet.66a] -// CHECK:STDOUT: %Outer.loc13_19: type = class_type @Outer, @Outer(constants.%Copy.facet.66a) [concrete = constants.%Outer.76a] -// CHECK:STDOUT: %.loc13_20.2: type = specific_constant @Outer.%Inner.decl, @Outer(constants.%Copy.facet.66a) [concrete = constants.%Inner.4b6] -// CHECK:STDOUT: %Inner.ref: type = name_ref Inner, %.loc13_20.2 [concrete = constants.%Inner.4b6] +// CHECK:STDOUT: %Copy.facet.loc13_19: %Copy.type = facet_value %i32.loc13_16, (constants.%Copy.impl_witness.1a4) [concrete = constants.%Copy.facet.14d] +// CHECK:STDOUT: %.loc13_19: %Copy.type = converted %i32.loc13_16, %Copy.facet.loc13_19 [concrete = constants.%Copy.facet.14d] +// CHECK:STDOUT: %Outer.loc13_19: type = class_type @Outer, @Outer(constants.%Copy.facet.14d) [concrete = constants.%Outer.0c2] +// CHECK:STDOUT: %.loc13_20.2: type = specific_constant @Outer.%Inner.decl, @Outer(constants.%Copy.facet.14d) [concrete = constants.%Inner.cc9] +// CHECK:STDOUT: %Inner.ref: type = name_ref Inner, %.loc13_20.2 [concrete = constants.%Inner.cc9] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: ref %Inner.4b6 = ref_binding c, %c.var -// CHECK:STDOUT: %c.ref: ref %Inner.4b6 = name_ref c, %c -// CHECK:STDOUT: %n.ref: %Inner.elem.e1c = name_ref n, @Inner.%.loc6 [concrete = @Inner.%.loc6] +// CHECK:STDOUT: %c: ref %Inner.cc9 = ref_binding c, %c.var +// CHECK:STDOUT: %c.ref: ref %Inner.cc9 = name_ref c, %c +// CHECK:STDOUT: %n.ref: %Inner.elem.8cd = name_ref n, @Inner.%.loc6 [concrete = @Inner.%.loc6] // CHECK:STDOUT: %.loc14_11.1: ref %i32 = class_element_access %c.ref, element0 // CHECK:STDOUT: %.loc14_11.2: %i32 = acquire_value %.loc14_11.1 -// CHECK:STDOUT: %impl.elem0.loc14: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc14: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc14_11.1: = bound_method %.loc14_11.2, %impl.elem0.loc14 // CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_11.2: = bound_method %.loc14_11.2, %specific_fn.loc14 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc14_11.2(%.loc14_11.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } @@ -346,81 +346,81 @@ fn Test() -> i32 { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13_3.3(%self.param: ref %struct_type.n.179) { +// CHECK:STDOUT: fn @Destroy.Op.loc13_3.3(%self.param: ref %struct_type.n.c7a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13_3.4(%self.param: ref %Inner.4b6) { +// CHECK:STDOUT: fn @Destroy.Op.loc13_3.4(%self.param: ref %Inner.cc9) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Outer(constants.%T.228) { -// CHECK:STDOUT: %T.loc4_14.1 => constants.%T.228 +// CHECK:STDOUT: specific @Outer(constants.%T.f49) { +// CHECK:STDOUT: %T.loc4_14.1 => constants.%T.f49 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner => constants.%Inner.772 -// CHECK:STDOUT: %Outer.F.type => constants.%Outer.F.type.f80 -// CHECK:STDOUT: %Outer.F => constants.%Outer.F.3e5 +// CHECK:STDOUT: %Inner => constants.%Inner.c8f +// CHECK:STDOUT: %Outer.F.type => constants.%Outer.F.type.4f4 +// CHECK:STDOUT: %Outer.F => constants.%Outer.F.51f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner(constants.%T.228) { +// CHECK:STDOUT: specific @Inner(constants.%T.f49) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T => constants.%T.228 +// CHECK:STDOUT: %T => constants.%T.f49 // CHECK:STDOUT: %T.as_type => constants.%T.as_type -// CHECK:STDOUT: %require_complete => constants.%require_complete.c28 -// CHECK:STDOUT: %Inner => constants.%Inner.772 -// CHECK:STDOUT: %Inner.elem => constants.%Inner.elem.b32 -// CHECK:STDOUT: %struct_type.n => constants.%struct_type.n.5e5 -// CHECK:STDOUT: %complete_type.loc7_3.2 => constants.%complete_type.795 +// CHECK:STDOUT: %require_complete => constants.%require_complete.77e +// CHECK:STDOUT: %Inner => constants.%Inner.c8f +// CHECK:STDOUT: %Inner.elem => constants.%Inner.elem.36d +// CHECK:STDOUT: %struct_type.n => constants.%struct_type.n.fa5 +// CHECK:STDOUT: %complete_type.loc7_3.2 => constants.%complete_type.c3a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Outer.F(constants.%T.228) { -// CHECK:STDOUT: %T => constants.%T.228 +// CHECK:STDOUT: specific @Outer.F(constants.%T.f49) { +// CHECK:STDOUT: %T => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc9_11.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.loc9_9 => constants.%pattern_type.4b69d0.2 -// CHECK:STDOUT: %Inner => constants.%Inner.772 -// CHECK:STDOUT: %.loc9_17.1 => constants.%.293 -// CHECK:STDOUT: %pattern_type.loc9_17 => constants.%pattern_type.c64 +// CHECK:STDOUT: %pattern_type.loc9_9 => constants.%pattern_type.c0fdca.2 +// CHECK:STDOUT: %Inner => constants.%Inner.c8f +// CHECK:STDOUT: %.loc9_17.1 => constants.%.6d6 +// CHECK:STDOUT: %pattern_type.loc9_17 => constants.%pattern_type.f8c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Outer(constants.%Copy.facet.66a) { -// CHECK:STDOUT: %T.loc4_14.1 => constants.%Copy.facet.66a +// CHECK:STDOUT: specific @Outer(constants.%Copy.facet.14d) { +// CHECK:STDOUT: %T.loc4_14.1 => constants.%Copy.facet.14d // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner => constants.%Inner.4b6 -// CHECK:STDOUT: %Outer.F.type => constants.%Outer.F.type.34a -// CHECK:STDOUT: %Outer.F => constants.%Outer.F.8c7 +// CHECK:STDOUT: %Inner => constants.%Inner.cc9 +// CHECK:STDOUT: %Outer.F.type => constants.%Outer.F.type.3a5 +// CHECK:STDOUT: %Outer.F => constants.%Outer.F.a82 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner(constants.%Copy.facet.66a) { +// CHECK:STDOUT: specific @Inner(constants.%Copy.facet.14d) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T => constants.%Copy.facet.66a +// CHECK:STDOUT: %T => constants.%Copy.facet.14d // CHECK:STDOUT: %T.as_type => constants.%i32 // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %Inner => constants.%Inner.4b6 -// CHECK:STDOUT: %Inner.elem => constants.%Inner.elem.e1c -// CHECK:STDOUT: %struct_type.n => constants.%struct_type.n.179 -// CHECK:STDOUT: %complete_type.loc7_3.2 => constants.%complete_type.059 +// CHECK:STDOUT: %Inner => constants.%Inner.cc9 +// CHECK:STDOUT: %Inner.elem => constants.%Inner.elem.8cd +// CHECK:STDOUT: %struct_type.n => constants.%struct_type.n.c7a +// CHECK:STDOUT: %complete_type.loc7_3.2 => constants.%complete_type.edf // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Outer.F(constants.%Copy.facet.66a) { -// CHECK:STDOUT: %T => constants.%Copy.facet.66a +// CHECK:STDOUT: specific @Outer.F(constants.%Copy.facet.14d) { +// CHECK:STDOUT: %T => constants.%Copy.facet.14d // CHECK:STDOUT: %T.as_type.loc9_11.1 => constants.%i32 -// CHECK:STDOUT: %pattern_type.loc9_9 => constants.%pattern_type.c6b -// CHECK:STDOUT: %Inner => constants.%Inner.4b6 -// CHECK:STDOUT: %.loc9_17.1 => constants.%.6f1 -// CHECK:STDOUT: %pattern_type.loc9_17 => constants.%pattern_type.f69 +// CHECK:STDOUT: %pattern_type.loc9_9 => constants.%pattern_type.104 +// CHECK:STDOUT: %Inner => constants.%Inner.cc9 +// CHECK:STDOUT: %.loc9_17.1 => constants.%.e0c +// CHECK:STDOUT: %pattern_type.loc9_17 => constants.%pattern_type.37d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc9_9 => constants.%complete_type.f8a -// CHECK:STDOUT: %require_complete.loc9_14 => constants.%complete_type.059 -// CHECK:STDOUT: %struct_type.n => constants.%struct_type.n.179 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.afe -// CHECK:STDOUT: %.loc9_38 => constants.%.a5f -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.32d -// CHECK:STDOUT: %impl.elem0.loc9_38.2 => constants.%Int.as.Copy.impl.Op.c4a +// CHECK:STDOUT: %require_complete.loc9_14 => constants.%complete_type.edf +// CHECK:STDOUT: %struct_type.n => constants.%struct_type.n.c7a +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.7e2 +// CHECK:STDOUT: %.loc9_38 => constants.%.604 +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.1a4 +// CHECK:STDOUT: %impl.elem0.loc9_38.2 => constants.%Int.as.Copy.impl.Op.ce7 // CHECK:STDOUT: %specific_impl_fn.loc9_38.2 => constants.%Int.as.Copy.impl.Op.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: @@ -434,80 +434,80 @@ fn Test() -> i32 { // CHECK:STDOUT: %Outer.type: type = generic_class_type @Outer [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Outer.generic: %Outer.type = struct_value () [concrete] -// CHECK:STDOUT: %Outer.696: type = class_type @Outer, @Outer(%T) [symbolic] -// CHECK:STDOUT: %Inner.type.455: type = facet_type <@Inner, @Inner(%T)> [symbolic] -// CHECK:STDOUT: %Self.44f: %Inner.type.455 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type.371: type = facet_access_type %Self.44f [symbolic] -// CHECK:STDOUT: %pattern_type.eb9: type = pattern_type %Self.as_type.371 [symbolic] +// CHECK:STDOUT: %Outer.3b5: type = class_type @Outer, @Outer(%T) [symbolic] +// CHECK:STDOUT: %Inner.type.4f1: type = facet_type <@Inner, @Inner(%T)> [symbolic] +// CHECK:STDOUT: %Self.381: %Inner.type.4f1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type.115: type = facet_access_type %Self.381 [symbolic] +// CHECK:STDOUT: %pattern_type.87e: type = pattern_type %Self.as_type.115 [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %T [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %Inner.WithSelf.F.type.184: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%T, %Self.44f) [symbolic] -// CHECK:STDOUT: %Inner.WithSelf.F.e16: %Inner.WithSelf.F.type.184 = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.assoc_type.cde: type = assoc_entity_type @Inner, @Inner(%T) [symbolic] -// CHECK:STDOUT: %assoc0.8b1: %Inner.assoc_type.cde = assoc_entity element0, @Inner.WithSelf.%Inner.WithSelf.F.decl [symbolic] -// CHECK:STDOUT: %C.2eb: type = class_type @C, @C(%T) [symbolic] -// CHECK:STDOUT: %Inner.impl_witness.610: = impl_witness @C.as.Inner.impl.%Inner.impl_witness_table, @C.as.Inner.impl(%T) [symbolic] -// CHECK:STDOUT: %require_complete.607: = require_complete_type %Inner.type.455 [symbolic] -// CHECK:STDOUT: %pattern_type.ec2: type = pattern_type %C.2eb [symbolic] -// CHECK:STDOUT: %C.as.Inner.impl.F.type.fe6: type = fn_type @C.as.Inner.impl.F, @C.as.Inner.impl(%T) [symbolic] -// CHECK:STDOUT: %C.as.Inner.impl.F.ced: %C.as.Inner.impl.F.type.fe6 = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.facet.79f: %Inner.type.455 = facet_value %C.2eb, (%Inner.impl_witness.610) [symbolic] -// CHECK:STDOUT: %Inner.WithSelf.F.type.5aa: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%T, %Inner.facet.79f) [symbolic] -// CHECK:STDOUT: %Inner.WithSelf.F.c96: %Inner.WithSelf.F.type.5aa = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.WithSelf.F.type.f3a: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%T, %Self.381) [symbolic] +// CHECK:STDOUT: %Inner.WithSelf.F.d63: %Inner.WithSelf.F.type.f3a = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.assoc_type.126: type = assoc_entity_type @Inner, @Inner(%T) [symbolic] +// CHECK:STDOUT: %assoc0.9af: %Inner.assoc_type.126 = assoc_entity element0, @Inner.WithSelf.%Inner.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %C.514: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %Inner.impl_witness.3ba: = impl_witness @C.as.Inner.impl.%Inner.impl_witness_table, @C.as.Inner.impl(%T) [symbolic] +// CHECK:STDOUT: %require_complete.41e: = require_complete_type %Inner.type.4f1 [symbolic] +// CHECK:STDOUT: %pattern_type.55d: type = pattern_type %C.514 [symbolic] +// CHECK:STDOUT: %C.as.Inner.impl.F.type.5c2: type = fn_type @C.as.Inner.impl.F, @C.as.Inner.impl(%T) [symbolic] +// CHECK:STDOUT: %C.as.Inner.impl.F.8eb: %C.as.Inner.impl.F.type.5c2 = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.facet.b3f: %Inner.type.4f1 = facet_value %C.514, (%Inner.impl_witness.3ba) [symbolic] +// CHECK:STDOUT: %Inner.WithSelf.F.type.922: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%T, %Inner.facet.b3f) [symbolic] +// CHECK:STDOUT: %Inner.WithSelf.F.f36: %Inner.WithSelf.F.type.922 = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %require_complete.7c6: = require_complete_type %C.2eb [symbolic] +// CHECK:STDOUT: %require_complete.d21: = require_complete_type %C.514 [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %Inner.lookup_impl_witness: = lookup_impl_witness %C.2eb, @Inner, @Inner(%T) [symbolic] -// CHECK:STDOUT: %.f29: require_specific_def_type = require_specific_def @C.as.Inner.impl(%T) [symbolic] -// CHECK:STDOUT: %Inner.facet.769: %Inner.type.455 = facet_value %C.2eb, (%Inner.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Inner.WithSelf.F.type.5c6: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%T, %Inner.facet.769) [symbolic] -// CHECK:STDOUT: %Inner.WithSelf.F.505: %Inner.WithSelf.F.type.5c6 = struct_value () [symbolic] -// CHECK:STDOUT: %.395: type = fn_type_with_self_type %Inner.WithSelf.F.type.5c6, %Inner.facet.769 [symbolic] -// CHECK:STDOUT: %impl.elem0: %.395 = impl_witness_access %Inner.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Inner.WithSelf.F(%T, %Inner.facet.769) [symbolic] +// CHECK:STDOUT: %Inner.lookup_impl_witness: = lookup_impl_witness %C.514, @Inner, @Inner(%T) [symbolic] +// CHECK:STDOUT: %.f4b: require_specific_def_type = require_specific_def @C.as.Inner.impl(%T) [symbolic] +// CHECK:STDOUT: %Inner.facet.629: %Inner.type.4f1 = facet_value %C.514, (%Inner.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Inner.WithSelf.F.type.550: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%T, %Inner.facet.629) [symbolic] +// CHECK:STDOUT: %Inner.WithSelf.F.b8b: %Inner.WithSelf.F.type.550 = struct_value () [symbolic] +// CHECK:STDOUT: %.cb2: type = fn_type_with_self_type %Inner.WithSelf.F.type.550, %Inner.facet.629 [symbolic] +// CHECK:STDOUT: %impl.elem0: %.cb2 = impl_witness_access %Inner.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Inner.WithSelf.F(%T, %Inner.facet.629) [symbolic] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %Outer.c71: type = class_type @Outer, @Outer(%i32) [concrete] -// CHECK:STDOUT: %Inner.type.dfb: type = facet_type <@Inner, @Inner(%i32)> [concrete] -// CHECK:STDOUT: %C.8e0: type = class_type @C, @C(%i32) [concrete] -// CHECK:STDOUT: %Inner.impl_witness.690: = impl_witness @D.as.Inner.impl.%Inner.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.769: %Inner.type.dfb = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Inner.WithSelf.F.type.8aa: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%i32, %Self.44f) [symbolic] -// CHECK:STDOUT: %Inner.WithSelf.F.fc0: %Inner.WithSelf.F.type.8aa = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.assoc_type.02a: type = assoc_entity_type @Inner, @Inner(%i32) [concrete] -// CHECK:STDOUT: %assoc0.0d5: %Inner.assoc_type.02a = assoc_entity element0, @Inner.WithSelf.%Inner.WithSelf.F.decl [concrete] -// CHECK:STDOUT: %pattern_type.311: type = pattern_type %D [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Outer.f42: type = class_type @Outer, @Outer(%i32) [concrete] +// CHECK:STDOUT: %Inner.type.d1b: type = facet_type <@Inner, @Inner(%i32)> [concrete] +// CHECK:STDOUT: %C.525: type = class_type @C, @C(%i32) [concrete] +// CHECK:STDOUT: %Inner.impl_witness.38e: = impl_witness @D.as.Inner.impl.%Inner.impl_witness_table [concrete] +// CHECK:STDOUT: %Self.693: %Inner.type.d1b = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Inner.WithSelf.F.type.cf7: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%i32, %Self.381) [symbolic] +// CHECK:STDOUT: %Inner.WithSelf.F.9bb: %Inner.WithSelf.F.type.cf7 = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.assoc_type.7bd: type = assoc_entity_type @Inner, @Inner(%i32) [concrete] +// CHECK:STDOUT: %assoc0.c3f: %Inner.assoc_type.7bd = assoc_entity element0, @Inner.WithSelf.%Inner.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %pattern_type.f1a: type = pattern_type %D [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %D.as.Inner.impl.F.type: type = fn_type @D.as.Inner.impl.F [concrete] // CHECK:STDOUT: %D.as.Inner.impl.F: %D.as.Inner.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %Inner.facet.f6d: %Inner.type.dfb = facet_value %D, (%Inner.impl_witness.690) [concrete] -// CHECK:STDOUT: %Inner.WithSelf.F.type.3e7: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%i32, %Inner.facet.f6d) [concrete] -// CHECK:STDOUT: %Inner.WithSelf.F.a6f: %Inner.WithSelf.F.type.3e7 = struct_value () [concrete] +// CHECK:STDOUT: %Inner.facet.072: %Inner.type.d1b = facet_value %D, (%Inner.impl_witness.38e) [concrete] +// CHECK:STDOUT: %Inner.WithSelf.F.type.6d5: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%i32, %Inner.facet.072) [concrete] +// CHECK:STDOUT: %Inner.WithSelf.F.2ef: %Inner.WithSelf.F.type.6d5 = struct_value () [concrete] // CHECK:STDOUT: %Test.type: type = fn_type @Test [concrete] // CHECK:STDOUT: %Test: %Test.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %pattern_type.66f: type = pattern_type %C.8e0 [concrete] +// CHECK:STDOUT: %pattern_type.abe: type = pattern_type %C.525 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %C.val: %C.8e0 = struct_value () [concrete] -// CHECK:STDOUT: %Inner.impl_witness.eed: = impl_witness @C.as.Inner.impl.%Inner.impl_witness_table, @C.as.Inner.impl(%i32) [concrete] -// CHECK:STDOUT: %complete_type.ee0: = complete_type_witness %Inner.type.dfb [concrete] -// CHECK:STDOUT: %C.as.Inner.impl.F.type.3df: type = fn_type @C.as.Inner.impl.F, @C.as.Inner.impl(%i32) [concrete] -// CHECK:STDOUT: %C.as.Inner.impl.F.c32: %C.as.Inner.impl.F.type.3df = struct_value () [concrete] -// CHECK:STDOUT: %.d1e: require_specific_def_type = require_specific_def @C.as.Inner.impl(%i32) [concrete] -// CHECK:STDOUT: %Inner.facet.d0e: %Inner.type.dfb = facet_value %C.8e0, (%Inner.impl_witness.eed) [concrete] -// CHECK:STDOUT: %Inner.WithSelf.F.type.e49: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%i32, %Inner.facet.d0e) [concrete] -// CHECK:STDOUT: %Inner.WithSelf.F.383: %Inner.WithSelf.F.type.e49 = struct_value () [concrete] -// CHECK:STDOUT: %.9f6: type = fn_type_with_self_type %Inner.WithSelf.F.type.e49, %Inner.facet.d0e [concrete] -// CHECK:STDOUT: %C.as.Inner.impl.F.specific_fn: = specific_function %C.as.Inner.impl.F.c32, @C.as.Inner.impl.F(%i32) [concrete] +// CHECK:STDOUT: %C.val: %C.525 = struct_value () [concrete] +// CHECK:STDOUT: %Inner.impl_witness.4a5: = impl_witness @C.as.Inner.impl.%Inner.impl_witness_table, @C.as.Inner.impl(%i32) [concrete] +// CHECK:STDOUT: %complete_type.15f: = complete_type_witness %Inner.type.d1b [concrete] +// CHECK:STDOUT: %C.as.Inner.impl.F.type.8de: type = fn_type @C.as.Inner.impl.F, @C.as.Inner.impl(%i32) [concrete] +// CHECK:STDOUT: %C.as.Inner.impl.F.40e: %C.as.Inner.impl.F.type.8de = struct_value () [concrete] +// CHECK:STDOUT: %.b2e: require_specific_def_type = require_specific_def @C.as.Inner.impl(%i32) [concrete] +// CHECK:STDOUT: %Inner.facet.51d: %Inner.type.d1b = facet_value %C.525, (%Inner.impl_witness.4a5) [concrete] +// CHECK:STDOUT: %Inner.WithSelf.F.type.8fb: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%i32, %Inner.facet.51d) [concrete] +// CHECK:STDOUT: %Inner.WithSelf.F.723: %Inner.WithSelf.F.type.8fb = struct_value () [concrete] +// CHECK:STDOUT: %.633: type = fn_type_with_self_type %Inner.WithSelf.F.type.8fb, %Inner.facet.51d [concrete] +// CHECK:STDOUT: %C.as.Inner.impl.F.specific_fn: = specific_function %C.as.Inner.impl.F.40e, @C.as.Inner.impl.F(%i32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc23_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc23_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -540,11 +540,11 @@ fn Test() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %D.decl: type = class_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: %Test.decl: %Test.type = fn_decl @Test [concrete = constants.%Test] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc22 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc22 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc22: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc22: Core.Form = init_form %i32.loc22 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc22: Core.Form = init_form %i32.loc22 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -553,34 +553,34 @@ fn Test() -> i32 { // CHECK:STDOUT: generic interface @Inner(@Outer.%T.loc4_14.2: type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%T)> [symbolic = %Inner.type (constants.%Inner.type.455)] -// CHECK:STDOUT: %Self.loc5_19.2: @Inner.%Inner.type (%Inner.type.455) = symbolic_binding Self, 1 [symbolic = %Self.loc5_19.2 (constants.%Self.44f)] +// CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%T)> [symbolic = %Inner.type (constants.%Inner.type.4f1)] +// CHECK:STDOUT: %Self.loc5_19.2: @Inner.%Inner.type (%Inner.type.4f1) = symbolic_binding Self, 1 [symbolic = %Self.loc5_19.2 (constants.%Self.381)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc5_19.1: @Inner.%Inner.type (%Inner.type.455) = symbolic_binding Self, 1 [symbolic = %Self.loc5_19.2 (constants.%Self.44f)] +// CHECK:STDOUT: %Self.loc5_19.1: @Inner.%Inner.type (%Inner.type.4f1) = symbolic_binding Self, 1 [symbolic = %Self.loc5_19.2 (constants.%Self.381)] // CHECK:STDOUT: %Inner.WithSelf.decl = interface_with_self_decl @Inner [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Inner.WithSelf.F.decl: @Inner.WithSelf.%Inner.WithSelf.F.type (%Inner.WithSelf.F.type.184) = fn_decl @Inner.WithSelf.F [symbolic = @Inner.WithSelf.%Inner.WithSelf.F (constants.%Inner.WithSelf.F.e16)] { -// CHECK:STDOUT: %self.param_patt: @Inner.WithSelf.F.%pattern_type.loc6_14 (%pattern_type.eb9) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Inner.WithSelf.F.%pattern_type.loc6_14 (%pattern_type.eb9) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %Inner.WithSelf.F.decl: @Inner.WithSelf.%Inner.WithSelf.F.type (%Inner.WithSelf.F.type.f3a) = fn_decl @Inner.WithSelf.F [symbolic = @Inner.WithSelf.%Inner.WithSelf.F (constants.%Inner.WithSelf.F.d63)] { +// CHECK:STDOUT: %self.param_patt: @Inner.WithSelf.F.%pattern_type.loc6_14 (%pattern_type.87e) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Inner.WithSelf.F.%pattern_type.loc6_14 (%pattern_type.87e) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @Inner.WithSelf.F.%pattern_type.loc6_27 (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @Inner.WithSelf.F.%pattern_type.loc6_27 (%pattern_type.51d) = return_slot_pattern %return.param_patt, %T.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: type = name_ref T, @Outer.%T.loc4_14.2 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %.loc6_27.2: Core.Form = init_form %T.ref [symbolic = %.loc6_27.1 (constants.%.184)] -// CHECK:STDOUT: %self.param: @Inner.WithSelf.F.%Self.as_type.loc6_16.1 (%Self.as_type.371) = value_param call_param0 -// CHECK:STDOUT: %.loc6_16.1: type = splice_block %.loc6_16.3 [symbolic = %Self.as_type.loc6_16.1 (constants.%Self.as_type.371)] { -// CHECK:STDOUT: %.loc6_16.2: @Inner.WithSelf.F.%Inner.type (%Inner.type.455) = specific_constant @Inner.%Self.loc5_19.1, @Inner(constants.%T) [symbolic = %Self (constants.%Self.44f)] -// CHECK:STDOUT: %Self.ref: @Inner.WithSelf.F.%Inner.type (%Inner.type.455) = name_ref Self, %.loc6_16.2 [symbolic = %Self (constants.%Self.44f)] -// CHECK:STDOUT: %Self.as_type.loc6_16.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc6_16.1 (constants.%Self.as_type.371)] -// CHECK:STDOUT: %.loc6_16.3: type = converted %Self.ref, %Self.as_type.loc6_16.2 [symbolic = %Self.as_type.loc6_16.1 (constants.%Self.as_type.371)] +// CHECK:STDOUT: %self.param: @Inner.WithSelf.F.%Self.as_type.loc6_16.1 (%Self.as_type.115) = value_param call_param0 +// CHECK:STDOUT: %.loc6_16.1: type = splice_block %.loc6_16.3 [symbolic = %Self.as_type.loc6_16.1 (constants.%Self.as_type.115)] { +// CHECK:STDOUT: %.loc6_16.2: @Inner.WithSelf.F.%Inner.type (%Inner.type.4f1) = specific_constant @Inner.%Self.loc5_19.1, @Inner(constants.%T) [symbolic = %Self (constants.%Self.381)] +// CHECK:STDOUT: %Self.ref: @Inner.WithSelf.F.%Inner.type (%Inner.type.4f1) = name_ref Self, %.loc6_16.2 [symbolic = %Self (constants.%Self.381)] +// CHECK:STDOUT: %Self.as_type.loc6_16.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc6_16.1 (constants.%Self.as_type.115)] +// CHECK:STDOUT: %.loc6_16.3: type = converted %Self.ref, %Self.as_type.loc6_16.2 [symbolic = %Self.as_type.loc6_16.1 (constants.%Self.as_type.115)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @Inner.WithSelf.F.%Self.as_type.loc6_16.1 (%Self.as_type.371) = value_binding self, %self.param +// CHECK:STDOUT: %self: @Inner.WithSelf.F.%Self.as_type.loc6_16.1 (%Self.as_type.115) = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref @Inner.WithSelf.F.%T (%T) = out_param call_param1 // CHECK:STDOUT: %return: ref @Inner.WithSelf.F.%T (%T) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc6_28.1: @Inner.WithSelf.%Inner.assoc_type (%Inner.assoc_type.cde) = assoc_entity element0, %Inner.WithSelf.F.decl [symbolic = %assoc0.loc6_28.2 (constants.%assoc0.8b1)] +// CHECK:STDOUT: %assoc0.loc6_28.1: @Inner.WithSelf.%Inner.assoc_type (%Inner.assoc_type.126) = assoc_entity element0, %Inner.WithSelf.F.decl [symbolic = %assoc0.loc6_28.2 (constants.%assoc0.9af)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc5_19.1 @@ -598,35 +598,35 @@ fn Test() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.Inner.impl(@Outer.%T.loc4_14.2: type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.2eb)] -// CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%T)> [symbolic = %Inner.type (constants.%Inner.type.455)] -// CHECK:STDOUT: %Inner.impl_witness.loc10_19.2: = impl_witness %Inner.impl_witness_table, @C.as.Inner.impl(%T) [symbolic = %Inner.impl_witness.loc10_19.2 (constants.%Inner.impl_witness.610)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.514)] +// CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%T)> [symbolic = %Inner.type (constants.%Inner.type.4f1)] +// CHECK:STDOUT: %Inner.impl_witness.loc10_19.2: = impl_witness %Inner.impl_witness_table, @C.as.Inner.impl(%T) [symbolic = %Inner.impl_witness.loc10_19.2 (constants.%Inner.impl_witness.3ba)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Inner.type [symbolic = %require_complete (constants.%require_complete.607)] -// CHECK:STDOUT: %C.as.Inner.impl.F.type: type = fn_type @C.as.Inner.impl.F, @C.as.Inner.impl(%T) [symbolic = %C.as.Inner.impl.F.type (constants.%C.as.Inner.impl.F.type.fe6)] -// CHECK:STDOUT: %C.as.Inner.impl.F: @C.as.Inner.impl.%C.as.Inner.impl.F.type (%C.as.Inner.impl.F.type.fe6) = struct_value () [symbolic = %C.as.Inner.impl.F (constants.%C.as.Inner.impl.F.ced)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Inner.type [symbolic = %require_complete (constants.%require_complete.41e)] +// CHECK:STDOUT: %C.as.Inner.impl.F.type: type = fn_type @C.as.Inner.impl.F, @C.as.Inner.impl(%T) [symbolic = %C.as.Inner.impl.F.type (constants.%C.as.Inner.impl.F.type.5c2)] +// CHECK:STDOUT: %C.as.Inner.impl.F: @C.as.Inner.impl.%C.as.Inner.impl.F.type (%C.as.Inner.impl.F.type.5c2) = struct_value () [symbolic = %C.as.Inner.impl.F (constants.%C.as.Inner.impl.F.8eb)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %Self.ref as %Inner.ref { -// CHECK:STDOUT: %C.as.Inner.impl.F.decl: @C.as.Inner.impl.%C.as.Inner.impl.F.type (%C.as.Inner.impl.F.type.fe6) = fn_decl @C.as.Inner.impl.F [symbolic = @C.as.Inner.impl.%C.as.Inner.impl.F (constants.%C.as.Inner.impl.F.ced)] { -// CHECK:STDOUT: %self.param_patt: @C.as.Inner.impl.F.%pattern_type.loc11_16 (%pattern_type.ec2) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @C.as.Inner.impl.F.%pattern_type.loc11_16 (%pattern_type.ec2) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %C.as.Inner.impl.F.decl: @C.as.Inner.impl.%C.as.Inner.impl.F.type (%C.as.Inner.impl.F.type.5c2) = fn_decl @C.as.Inner.impl.F [symbolic = @C.as.Inner.impl.%C.as.Inner.impl.F (constants.%C.as.Inner.impl.F.8eb)] { +// CHECK:STDOUT: %self.param_patt: @C.as.Inner.impl.F.%pattern_type.loc11_16 (%pattern_type.55d) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @C.as.Inner.impl.F.%pattern_type.loc11_16 (%pattern_type.55d) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @C.as.Inner.impl.F.%pattern_type.loc11_26 (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @C.as.Inner.impl.F.%pattern_type.loc11_26 (%pattern_type.51d) = return_slot_pattern %return.param_patt, %T.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: type = name_ref T, @Outer.%T.loc4_14.2 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %.loc11_26.3: Core.Form = init_form %T.ref [symbolic = %.loc11_26.2 (constants.%.184)] -// CHECK:STDOUT: %self.param: @C.as.Inner.impl.F.%C (%C.2eb) = value_param call_param0 -// CHECK:STDOUT: %.loc11_18.1: type = splice_block %C.ref [symbolic = %C (constants.%C.2eb)] { -// CHECK:STDOUT: %.loc11_18.2: type = specific_constant @Outer.%C.decl, @Outer(constants.%T) [symbolic = %C (constants.%C.2eb)] -// CHECK:STDOUT: %C.ref: type = name_ref C, %.loc11_18.2 [symbolic = %C (constants.%C.2eb)] +// CHECK:STDOUT: %self.param: @C.as.Inner.impl.F.%C (%C.514) = value_param call_param0 +// CHECK:STDOUT: %.loc11_18.1: type = splice_block %C.ref [symbolic = %C (constants.%C.514)] { +// CHECK:STDOUT: %.loc11_18.2: type = specific_constant @Outer.%C.decl, @Outer(constants.%T) [symbolic = %C (constants.%C.514)] +// CHECK:STDOUT: %C.ref: type = name_ref C, %.loc11_18.2 [symbolic = %C (constants.%C.514)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @C.as.Inner.impl.F.%C (%C.2eb) = value_binding self, %self.param +// CHECK:STDOUT: %self: @C.as.Inner.impl.F.%C (%C.514) = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref @C.as.Inner.impl.F.%T (%T) = out_param call_param1 // CHECK:STDOUT: %return: ref @C.as.Inner.impl.F.%T (%T) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Inner.impl_witness_table = impl_witness_table (%C.as.Inner.impl.F.decl), @C.as.Inner.impl [concrete] -// CHECK:STDOUT: %Inner.impl_witness.loc10_19.1: = impl_witness %Inner.impl_witness_table, @C.as.Inner.impl(constants.%T) [symbolic = %Inner.impl_witness.loc10_19.2 (constants.%Inner.impl_witness.610)] +// CHECK:STDOUT: %Inner.impl_witness.loc10_19.1: = impl_witness %Inner.impl_witness_table, @C.as.Inner.impl(constants.%T) [symbolic = %Inner.impl_witness.loc10_19.2 (constants.%Inner.impl_witness.3ba)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .C = @@ -640,13 +640,13 @@ fn Test() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: impl @D.as.Inner.impl: %Self.ref as %Inner.ref { // CHECK:STDOUT: %D.as.Inner.impl.F.decl: %D.as.Inner.impl.F.type = fn_decl @D.as.Inner.impl.F [concrete = constants.%D.as.Inner.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.311 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.311 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.f1a = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.f1a = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc18: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc18: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: %D = value_param call_param0 // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] // CHECK:STDOUT: %self: %D = value_binding self, %self.param @@ -654,7 +654,7 @@ fn Test() -> i32 { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Inner.impl_witness_table = impl_witness_table (%D.as.Inner.impl.F.decl), @D.as.Inner.impl [concrete] -// CHECK:STDOUT: %Inner.impl_witness: = impl_witness %Inner.impl_witness_table [concrete = constants.%Inner.impl_witness.690] +// CHECK:STDOUT: %Inner.impl_witness: = impl_witness %Inner.impl_witness_table [concrete = constants.%Inner.impl_witness.38e] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .D = @@ -667,17 +667,17 @@ fn Test() -> i32 { // CHECK:STDOUT: %T.loc4_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%T.loc4_14.1)> [symbolic = %Inner.type (constants.%Inner.type.455)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T.loc4_14.1) [symbolic = %C (constants.%C.2eb)] +// CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%T.loc4_14.1)> [symbolic = %Inner.type (constants.%Inner.type.4f1)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T.loc4_14.1) [symbolic = %C (constants.%C.514)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %Inner.decl: type = interface_decl @Inner [symbolic = @Outer.%Inner.type (constants.%Inner.type.455)] {} {} -// CHECK:STDOUT: %C.decl: type = class_decl @C [symbolic = @Outer.%C (constants.%C.2eb)] {} {} +// CHECK:STDOUT: %Inner.decl: type = interface_decl @Inner [symbolic = @Outer.%Inner.type (constants.%Inner.type.4f1)] {} {} +// CHECK:STDOUT: %C.decl: type = class_decl @C [symbolic = @Outer.%C (constants.%C.514)] {} {} // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type.357] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Outer.696 +// CHECK:STDOUT: .Self = constants.%Outer.3b5 // CHECK:STDOUT: .Inner = %Inner.decl // CHECK:STDOUT: .T = // CHECK:STDOUT: .C = %C.decl @@ -689,15 +689,15 @@ fn Test() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: impl_decl @C.as.Inner.impl [concrete] {} { -// CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C.2eb [symbolic = %C (constants.%C.2eb)] -// CHECK:STDOUT: %.loc10: type = specific_constant @Outer.%Inner.decl, @Outer(constants.%T) [symbolic = %Inner.type (constants.%Inner.type.455)] -// CHECK:STDOUT: %Inner.ref: type = name_ref Inner, %.loc10 [symbolic = %Inner.type (constants.%Inner.type.455)] +// CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C.514 [symbolic = %C (constants.%C.514)] +// CHECK:STDOUT: %.loc10: type = specific_constant @Outer.%Inner.decl, @Outer(constants.%T) [symbolic = %Inner.type (constants.%Inner.type.4f1)] +// CHECK:STDOUT: %Inner.ref: type = name_ref Inner, %.loc10 [symbolic = %Inner.type (constants.%Inner.type.4f1)] // CHECK:STDOUT: } // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type.357] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.2eb +// CHECK:STDOUT: .Self = constants.%C.514 // CHECK:STDOUT: .Inner = // CHECK:STDOUT: .C = // CHECK:STDOUT: .T = @@ -709,9 +709,9 @@ fn Test() -> i32 { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%D [concrete = constants.%D] // CHECK:STDOUT: %Outer.ref: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Outer: type = class_type @Outer, @Outer(constants.%i32) [concrete = constants.%Outer.c71] -// CHECK:STDOUT: %.loc17: type = specific_constant @Outer.%Inner.decl, @Outer(constants.%i32) [concrete = constants.%Inner.type.dfb] -// CHECK:STDOUT: %Inner.ref: type = name_ref Inner, %.loc17 [concrete = constants.%Inner.type.dfb] +// CHECK:STDOUT: %Outer: type = class_type @Outer, @Outer(constants.%i32) [concrete = constants.%Outer.f42] +// CHECK:STDOUT: %.loc17: type = specific_constant @Outer.%Inner.decl, @Outer(constants.%i32) [concrete = constants.%Inner.type.d1b] +// CHECK:STDOUT: %Inner.ref: type = name_ref Inner, %.loc17 [concrete = constants.%Inner.type.d1b] // CHECK:STDOUT: } // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type.357] // CHECK:STDOUT: complete_type_witness = %complete_type @@ -722,50 +722,50 @@ fn Test() -> i32 { // CHECK:STDOUT: .D = // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Inner.WithSelf.F(@Outer.%T.loc4_14.2: type, @Inner.%Self.loc5_19.1: @Inner.%Inner.type (%Inner.type.455)) { +// CHECK:STDOUT: generic fn @Inner.WithSelf.F(@Outer.%T.loc4_14.2: type, @Inner.%Self.loc5_19.1: @Inner.%Inner.type (%Inner.type.4f1)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%T)> [symbolic = %Inner.type (constants.%Inner.type.455)] -// CHECK:STDOUT: %Self: @Inner.WithSelf.F.%Inner.type (%Inner.type.455) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.44f)] -// CHECK:STDOUT: %Self.as_type.loc6_16.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc6_16.1 (constants.%Self.as_type.371)] -// CHECK:STDOUT: %pattern_type.loc6_14: type = pattern_type %Self.as_type.loc6_16.1 [symbolic = %pattern_type.loc6_14 (constants.%pattern_type.eb9)] +// CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%T)> [symbolic = %Inner.type (constants.%Inner.type.4f1)] +// CHECK:STDOUT: %Self: @Inner.WithSelf.F.%Inner.type (%Inner.type.4f1) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.381)] +// CHECK:STDOUT: %Self.as_type.loc6_16.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc6_16.1 (constants.%Self.as_type.115)] +// CHECK:STDOUT: %pattern_type.loc6_14: type = pattern_type %Self.as_type.loc6_16.1 [symbolic = %pattern_type.loc6_14 (constants.%pattern_type.87e)] // CHECK:STDOUT: %.loc6_27.1: Core.Form = init_form %T [symbolic = %.loc6_27.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.loc6_27: type = pattern_type %T [symbolic = %pattern_type.loc6_27 (constants.%pattern_type.51d)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @Inner.WithSelf.F.%Self.as_type.loc6_16.1 (%Self.as_type.371)) -> out %return.param: @Inner.WithSelf.F.%T (%T); +// CHECK:STDOUT: fn(%self.param: @Inner.WithSelf.F.%Self.as_type.loc6_16.1 (%Self.as_type.115)) -> out %return.param: @Inner.WithSelf.F.%T (%T); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @C.as.Inner.impl.F(@Outer.%T.loc4_14.2: type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.2eb)] -// CHECK:STDOUT: %pattern_type.loc11_16: type = pattern_type %C [symbolic = %pattern_type.loc11_16 (constants.%pattern_type.ec2)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.514)] +// CHECK:STDOUT: %pattern_type.loc11_16: type = pattern_type %C [symbolic = %pattern_type.loc11_16 (constants.%pattern_type.55d)] // CHECK:STDOUT: %.loc11_26.2: Core.Form = init_form %T [symbolic = %.loc11_26.2 (constants.%.184)] // CHECK:STDOUT: %pattern_type.loc11_26: type = pattern_type %T [symbolic = %pattern_type.loc11_26 (constants.%pattern_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc11_16: = require_complete_type %C [symbolic = %require_complete.loc11_16 (constants.%require_complete.7c6)] +// CHECK:STDOUT: %require_complete.loc11_16: = require_complete_type %C [symbolic = %require_complete.loc11_16 (constants.%require_complete.d21)] // CHECK:STDOUT: %require_complete.loc11_23: = require_complete_type %T [symbolic = %require_complete.loc11_23 (constants.%require_complete.944)] -// CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%T)> [symbolic = %Inner.type (constants.%Inner.type.455)] -// CHECK:STDOUT: %require_complete.loc11_48: = require_complete_type %Inner.type [symbolic = %require_complete.loc11_48 (constants.%require_complete.607)] -// CHECK:STDOUT: %Inner.assoc_type: type = assoc_entity_type @Inner, @Inner(%T) [symbolic = %Inner.assoc_type (constants.%Inner.assoc_type.cde)] -// CHECK:STDOUT: %assoc0: @C.as.Inner.impl.F.%Inner.assoc_type (%Inner.assoc_type.cde) = assoc_entity element0, @Inner.WithSelf.%Inner.WithSelf.F.decl [symbolic = %assoc0 (constants.%assoc0.8b1)] -// CHECK:STDOUT: %.loc11_41.1: require_specific_def_type = require_specific_def @C.as.Inner.impl(%T) [symbolic = %.loc11_41.1 (constants.%.f29)] +// CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%T)> [symbolic = %Inner.type (constants.%Inner.type.4f1)] +// CHECK:STDOUT: %require_complete.loc11_48: = require_complete_type %Inner.type [symbolic = %require_complete.loc11_48 (constants.%require_complete.41e)] +// CHECK:STDOUT: %Inner.assoc_type: type = assoc_entity_type @Inner, @Inner(%T) [symbolic = %Inner.assoc_type (constants.%Inner.assoc_type.126)] +// CHECK:STDOUT: %assoc0: @C.as.Inner.impl.F.%Inner.assoc_type (%Inner.assoc_type.126) = assoc_entity element0, @Inner.WithSelf.%Inner.WithSelf.F.decl [symbolic = %assoc0 (constants.%assoc0.9af)] +// CHECK:STDOUT: %.loc11_41.1: require_specific_def_type = require_specific_def @C.as.Inner.impl(%T) [symbolic = %.loc11_41.1 (constants.%.f4b)] // CHECK:STDOUT: %Inner.lookup_impl_witness: = lookup_impl_witness %C, @Inner, @Inner(%T) [symbolic = %Inner.lookup_impl_witness (constants.%Inner.lookup_impl_witness)] -// CHECK:STDOUT: %Inner.facet: @C.as.Inner.impl.F.%Inner.type (%Inner.type.455) = facet_value %C, (%Inner.lookup_impl_witness) [symbolic = %Inner.facet (constants.%Inner.facet.769)] -// CHECK:STDOUT: %Inner.WithSelf.F.type: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%T, %Inner.facet) [symbolic = %Inner.WithSelf.F.type (constants.%Inner.WithSelf.F.type.5c6)] -// CHECK:STDOUT: %.loc11_41.2: type = fn_type_with_self_type %Inner.WithSelf.F.type, %Inner.facet [symbolic = %.loc11_41.2 (constants.%.395)] -// CHECK:STDOUT: %impl.elem0.loc11_41.2: @C.as.Inner.impl.F.%.loc11_41.2 (%.395) = impl_witness_access %Inner.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_41.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %Inner.facet: @C.as.Inner.impl.F.%Inner.type (%Inner.type.4f1) = facet_value %C, (%Inner.lookup_impl_witness) [symbolic = %Inner.facet (constants.%Inner.facet.629)] +// CHECK:STDOUT: %Inner.WithSelf.F.type: type = fn_type @Inner.WithSelf.F, @Inner.WithSelf(%T, %Inner.facet) [symbolic = %Inner.WithSelf.F.type (constants.%Inner.WithSelf.F.type.550)] +// CHECK:STDOUT: %.loc11_41.2: type = fn_type_with_self_type %Inner.WithSelf.F.type, %Inner.facet [symbolic = %.loc11_41.2 (constants.%.cb2)] +// CHECK:STDOUT: %impl.elem0.loc11_41.2: @C.as.Inner.impl.F.%.loc11_41.2 (%.cb2) = impl_witness_access %Inner.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_41.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc11_41.2: = specific_impl_function %impl.elem0.loc11_41.2, @Inner.WithSelf.F(%T, %Inner.facet) [symbolic = %specific_impl_fn.loc11_41.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @C.as.Inner.impl.F.%C (%C.2eb)) -> out %return.param: @C.as.Inner.impl.F.%T (%T) { +// CHECK:STDOUT: fn(%self.param: @C.as.Inner.impl.F.%C (%C.514)) -> out %return.param: @C.as.Inner.impl.F.%T (%T) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %self.ref: @C.as.Inner.impl.F.%C (%C.2eb) = name_ref self, %self -// CHECK:STDOUT: %.loc11_43: type = specific_constant @Outer.%Inner.decl, @Outer(constants.%T) [symbolic = %Inner.type (constants.%Inner.type.455)] -// CHECK:STDOUT: %Inner.ref: type = name_ref Inner, %.loc11_43 [symbolic = %Inner.type (constants.%Inner.type.455)] -// CHECK:STDOUT: %.loc11_48: @C.as.Inner.impl.F.%Inner.assoc_type (%Inner.assoc_type.cde) = specific_constant @Inner.WithSelf.%assoc0.loc6_28.1, @Inner.WithSelf(constants.%T, constants.%Self.44f) [symbolic = %assoc0 (constants.%assoc0.8b1)] -// CHECK:STDOUT: %F.ref: @C.as.Inner.impl.F.%Inner.assoc_type (%Inner.assoc_type.cde) = name_ref F, %.loc11_48 [symbolic = %assoc0 (constants.%assoc0.8b1)] -// CHECK:STDOUT: %impl.elem0.loc11_41.1: @C.as.Inner.impl.F.%.loc11_41.2 (%.395) = impl_witness_access constants.%Inner.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_41.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %self.ref: @C.as.Inner.impl.F.%C (%C.514) = name_ref self, %self +// CHECK:STDOUT: %.loc11_43: type = specific_constant @Outer.%Inner.decl, @Outer(constants.%T) [symbolic = %Inner.type (constants.%Inner.type.4f1)] +// CHECK:STDOUT: %Inner.ref: type = name_ref Inner, %.loc11_43 [symbolic = %Inner.type (constants.%Inner.type.4f1)] +// CHECK:STDOUT: %.loc11_48: @C.as.Inner.impl.F.%Inner.assoc_type (%Inner.assoc_type.126) = specific_constant @Inner.WithSelf.%assoc0.loc6_28.1, @Inner.WithSelf(constants.%T, constants.%Self.381) [symbolic = %assoc0 (constants.%assoc0.9af)] +// CHECK:STDOUT: %F.ref: @C.as.Inner.impl.F.%Inner.assoc_type (%Inner.assoc_type.126) = name_ref F, %.loc11_48 [symbolic = %assoc0 (constants.%assoc0.9af)] +// CHECK:STDOUT: %impl.elem0.loc11_41.1: @C.as.Inner.impl.F.%.loc11_41.2 (%.cb2) = impl_witness_access constants.%Inner.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_41.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc11_41: = bound_method %self.ref, %impl.elem0.loc11_41.1 -// CHECK:STDOUT: %specific_impl_fn.loc11_41.1: = specific_impl_function %impl.elem0.loc11_41.1, @Inner.WithSelf.F(constants.%T, constants.%Inner.facet.769) [symbolic = %specific_impl_fn.loc11_41.2 (constants.%specific_impl_fn)] +// CHECK:STDOUT: %specific_impl_fn.loc11_41.1: = specific_impl_function %impl.elem0.loc11_41.1, @Inner.WithSelf.F(constants.%T, constants.%Inner.facet.629) [symbolic = %specific_impl_fn.loc11_41.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %bound_method.loc11_52: = bound_method %self.ref, %specific_impl_fn.loc11_41.1 // CHECK:STDOUT: %.loc11_26.1: ref @C.as.Inner.impl.F.%T (%T) = splice_block %return.param {} // CHECK:STDOUT: %Inner.WithSelf.F.call: init @C.as.Inner.impl.F.%T (%T) to %.loc11_26.1 = call %bound_method.loc11_52(%self.ref) @@ -778,44 +778,44 @@ fn Test() -> i32 { // CHECK:STDOUT: fn @Test() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.66f = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.66f = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.abe = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.abe = var_pattern %c.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %c.var: ref %C.8e0 = var %c.var_patt +// CHECK:STDOUT: %c.var: ref %C.525 = var %c.var_patt // CHECK:STDOUT: %.loc23_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc23_26.2: init %C.8e0 to %c.var = class_init () [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc23_3: init %C.8e0 = converted %.loc23_26.1, %.loc23_26.2 [concrete = constants.%C.val] +// CHECK:STDOUT: %.loc23_26.2: init %C.525 to %c.var = class_init () [concrete = constants.%C.val] +// CHECK:STDOUT: %.loc23_3: init %C.525 = converted %.loc23_26.1, %.loc23_26.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign %c.var, %.loc23_3 -// CHECK:STDOUT: %.loc23_20.1: type = splice_block %C.ref [concrete = constants.%C.8e0] { +// CHECK:STDOUT: %.loc23_20.1: type = splice_block %C.ref [concrete = constants.%C.525] { // CHECK:STDOUT: %Outer.ref.loc23: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %i32.loc23: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Outer.loc23: type = class_type @Outer, @Outer(constants.%i32) [concrete = constants.%Outer.c71] -// CHECK:STDOUT: %.loc23_20.2: type = specific_constant @Outer.%C.decl, @Outer(constants.%i32) [concrete = constants.%C.8e0] -// CHECK:STDOUT: %C.ref: type = name_ref C, %.loc23_20.2 [concrete = constants.%C.8e0] +// CHECK:STDOUT: %Outer.loc23: type = class_type @Outer, @Outer(constants.%i32) [concrete = constants.%Outer.f42] +// CHECK:STDOUT: %.loc23_20.2: type = specific_constant @Outer.%C.decl, @Outer(constants.%i32) [concrete = constants.%C.525] +// CHECK:STDOUT: %C.ref: type = name_ref C, %.loc23_20.2 [concrete = constants.%C.525] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: ref %C.8e0 = ref_binding c, %c.var -// CHECK:STDOUT: %c.ref: ref %C.8e0 = name_ref c, %c +// CHECK:STDOUT: %c: ref %C.525 = ref_binding c, %c.var +// CHECK:STDOUT: %c.ref: ref %C.525 = name_ref c, %c // CHECK:STDOUT: %Outer.ref.loc24: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %i32.loc24: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Outer.loc24: type = class_type @Outer, @Outer(constants.%i32) [concrete = constants.%Outer.c71] -// CHECK:STDOUT: %.loc24_23: type = specific_constant @Outer.%Inner.decl, @Outer(constants.%i32) [concrete = constants.%Inner.type.dfb] -// CHECK:STDOUT: %Inner.ref: type = name_ref Inner, %.loc24_23 [concrete = constants.%Inner.type.dfb] -// CHECK:STDOUT: %.loc24_29: %Inner.assoc_type.02a = specific_constant @Inner.WithSelf.%assoc0.loc6_28.1, @Inner.WithSelf(constants.%i32, constants.%Self.44f) [concrete = constants.%assoc0.0d5] -// CHECK:STDOUT: %F.ref: %Inner.assoc_type.02a = name_ref F, %.loc24_29 [concrete = constants.%assoc0.0d5] -// CHECK:STDOUT: %impl.elem0: %.9f6 = impl_witness_access constants.%Inner.impl_witness.eed, element0 [concrete = constants.%C.as.Inner.impl.F.c32] +// CHECK:STDOUT: %Outer.loc24: type = class_type @Outer, @Outer(constants.%i32) [concrete = constants.%Outer.f42] +// CHECK:STDOUT: %.loc24_23: type = specific_constant @Outer.%Inner.decl, @Outer(constants.%i32) [concrete = constants.%Inner.type.d1b] +// CHECK:STDOUT: %Inner.ref: type = name_ref Inner, %.loc24_23 [concrete = constants.%Inner.type.d1b] +// CHECK:STDOUT: %.loc24_29: %Inner.assoc_type.7bd = specific_constant @Inner.WithSelf.%assoc0.loc6_28.1, @Inner.WithSelf(constants.%i32, constants.%Self.381) [concrete = constants.%assoc0.c3f] +// CHECK:STDOUT: %F.ref: %Inner.assoc_type.7bd = name_ref F, %.loc24_29 [concrete = constants.%assoc0.c3f] +// CHECK:STDOUT: %impl.elem0: %.633 = impl_witness_access constants.%Inner.impl_witness.4a5, element0 [concrete = constants.%C.as.Inner.impl.F.40e] // CHECK:STDOUT: %bound_method.loc24_11: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @C.as.Inner.impl.F(constants.%i32) [concrete = constants.%C.as.Inner.impl.F.specific_fn] // CHECK:STDOUT: %bound_method.loc24_33: = bound_method %c.ref, %specific_fn -// CHECK:STDOUT: %.loc24_10: %C.8e0 = acquire_value %c.ref +// CHECK:STDOUT: %.loc24_10: %C.525 = acquire_value %c.ref // CHECK:STDOUT: %C.as.Inner.impl.F.call: init %i32 = call %bound_method.loc24_33(%.loc24_10) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return %C.as.Inner.impl.F.call // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_3.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc23_3.2(%self.param: ref %C.8e0) { +// CHECK:STDOUT: fn @Destroy.Op.loc23_3.2(%self.param: ref %C.525) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -824,34 +824,34 @@ fn Test() -> i32 { // CHECK:STDOUT: %T.loc4_14.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.455 -// CHECK:STDOUT: %C => constants.%C.2eb +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.4f1 +// CHECK:STDOUT: %C => constants.%C.514 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Inner(constants.%T) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.455 -// CHECK:STDOUT: %Self.loc5_19.2 => constants.%Self.44f +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.4f1 +// CHECK:STDOUT: %Self.loc5_19.2 => constants.%Self.381 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf(constants.%T, constants.%Self.44f) { +// CHECK:STDOUT: specific @Inner.WithSelf(constants.%T, constants.%Self.381) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.455 -// CHECK:STDOUT: %Self => constants.%Self.44f -// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.184 -// CHECK:STDOUT: %Inner.WithSelf.F => constants.%Inner.WithSelf.F.e16 -// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.cde -// CHECK:STDOUT: %assoc0.loc6_28.2 => constants.%assoc0.8b1 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.4f1 +// CHECK:STDOUT: %Self => constants.%Self.381 +// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.f3a +// CHECK:STDOUT: %Inner.WithSelf.F => constants.%Inner.WithSelf.F.d63 +// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.126 +// CHECK:STDOUT: %assoc0.loc6_28.2 => constants.%assoc0.9af // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf.F(constants.%T, constants.%Self.44f) { +// CHECK:STDOUT: specific @Inner.WithSelf.F(constants.%T, constants.%Self.381) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.455 -// CHECK:STDOUT: %Self => constants.%Self.44f -// CHECK:STDOUT: %Self.as_type.loc6_16.1 => constants.%Self.as_type.371 -// CHECK:STDOUT: %pattern_type.loc6_14 => constants.%pattern_type.eb9 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.4f1 +// CHECK:STDOUT: %Self => constants.%Self.381 +// CHECK:STDOUT: %Self.as_type.loc6_16.1 => constants.%Self.as_type.115 +// CHECK:STDOUT: %pattern_type.loc6_14 => constants.%pattern_type.87e // CHECK:STDOUT: %.loc6_27.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.loc6_27 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -862,62 +862,62 @@ fn Test() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.Inner.impl(constants.%T) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %C => constants.%C.2eb -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.455 -// CHECK:STDOUT: %Inner.impl_witness.loc10_19.2 => constants.%Inner.impl_witness.610 +// CHECK:STDOUT: %C => constants.%C.514 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.4f1 +// CHECK:STDOUT: %Inner.impl_witness.loc10_19.2 => constants.%Inner.impl_witness.3ba // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.607 -// CHECK:STDOUT: %C.as.Inner.impl.F.type => constants.%C.as.Inner.impl.F.type.fe6 -// CHECK:STDOUT: %C.as.Inner.impl.F => constants.%C.as.Inner.impl.F.ced +// CHECK:STDOUT: %require_complete => constants.%require_complete.41e +// CHECK:STDOUT: %C.as.Inner.impl.F.type => constants.%C.as.Inner.impl.F.type.5c2 +// CHECK:STDOUT: %C.as.Inner.impl.F => constants.%C.as.Inner.impl.F.8eb // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.Inner.impl.F(constants.%T) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %C => constants.%C.2eb -// CHECK:STDOUT: %pattern_type.loc11_16 => constants.%pattern_type.ec2 +// CHECK:STDOUT: %C => constants.%C.514 +// CHECK:STDOUT: %pattern_type.loc11_16 => constants.%pattern_type.55d // CHECK:STDOUT: %.loc11_26.2 => constants.%.184 // CHECK:STDOUT: %pattern_type.loc11_26 => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf(constants.%T, constants.%Inner.facet.79f) { +// CHECK:STDOUT: specific @Inner.WithSelf(constants.%T, constants.%Inner.facet.b3f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.455 -// CHECK:STDOUT: %Self => constants.%Inner.facet.79f -// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.5aa -// CHECK:STDOUT: %Inner.WithSelf.F => constants.%Inner.WithSelf.F.c96 -// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.cde -// CHECK:STDOUT: %assoc0.loc6_28.2 => constants.%assoc0.8b1 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.4f1 +// CHECK:STDOUT: %Self => constants.%Inner.facet.b3f +// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.922 +// CHECK:STDOUT: %Inner.WithSelf.F => constants.%Inner.WithSelf.F.f36 +// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.126 +// CHECK:STDOUT: %assoc0.loc6_28.2 => constants.%assoc0.9af // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf.F(constants.%T, constants.%Inner.facet.79f) { +// CHECK:STDOUT: specific @Inner.WithSelf.F(constants.%T, constants.%Inner.facet.b3f) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.455 -// CHECK:STDOUT: %Self => constants.%Inner.facet.79f -// CHECK:STDOUT: %Self.as_type.loc6_16.1 => constants.%C.2eb -// CHECK:STDOUT: %pattern_type.loc6_14 => constants.%pattern_type.ec2 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.4f1 +// CHECK:STDOUT: %Self => constants.%Inner.facet.b3f +// CHECK:STDOUT: %Self.as_type.loc6_16.1 => constants.%C.514 +// CHECK:STDOUT: %pattern_type.loc6_14 => constants.%pattern_type.55d // CHECK:STDOUT: %.loc6_27.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.loc6_27 => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf(constants.%T, constants.%Inner.facet.769) { +// CHECK:STDOUT: specific @Inner.WithSelf(constants.%T, constants.%Inner.facet.629) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.455 -// CHECK:STDOUT: %Self => constants.%Inner.facet.769 -// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.5c6 -// CHECK:STDOUT: %Inner.WithSelf.F => constants.%Inner.WithSelf.F.505 -// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.cde -// CHECK:STDOUT: %assoc0.loc6_28.2 => constants.%assoc0.8b1 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.4f1 +// CHECK:STDOUT: %Self => constants.%Inner.facet.629 +// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.550 +// CHECK:STDOUT: %Inner.WithSelf.F => constants.%Inner.WithSelf.F.b8b +// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.126 +// CHECK:STDOUT: %assoc0.loc6_28.2 => constants.%assoc0.9af // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf.F(constants.%T, constants.%Inner.facet.769) { +// CHECK:STDOUT: specific @Inner.WithSelf.F(constants.%T, constants.%Inner.facet.629) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.455 -// CHECK:STDOUT: %Self => constants.%Inner.facet.769 -// CHECK:STDOUT: %Self.as_type.loc6_16.1 => constants.%C.2eb -// CHECK:STDOUT: %pattern_type.loc6_14 => constants.%pattern_type.ec2 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.4f1 +// CHECK:STDOUT: %Self => constants.%Inner.facet.629 +// CHECK:STDOUT: %Self.as_type.loc6_16.1 => constants.%C.514 +// CHECK:STDOUT: %pattern_type.loc6_14 => constants.%pattern_type.55d // CHECK:STDOUT: %.loc6_27.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.loc6_27 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -926,106 +926,106 @@ fn Test() -> i32 { // CHECK:STDOUT: %T.loc4_14.1 => constants.%i32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.dfb -// CHECK:STDOUT: %C => constants.%C.8e0 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.d1b +// CHECK:STDOUT: %C => constants.%C.525 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Inner(constants.%i32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.dfb -// CHECK:STDOUT: %Self.loc5_19.2 => constants.%Self.769 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.d1b +// CHECK:STDOUT: %Self.loc5_19.2 => constants.%Self.693 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%i32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf(constants.%i32, constants.%Self.44f) { +// CHECK:STDOUT: specific @Inner.WithSelf(constants.%i32, constants.%Self.381) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.dfb -// CHECK:STDOUT: %Self => constants.%Self.44f -// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.8aa -// CHECK:STDOUT: %Inner.WithSelf.F => constants.%Inner.WithSelf.F.fc0 -// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.02a -// CHECK:STDOUT: %assoc0.loc6_28.2 => constants.%assoc0.0d5 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.d1b +// CHECK:STDOUT: %Self => constants.%Self.381 +// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.cf7 +// CHECK:STDOUT: %Inner.WithSelf.F => constants.%Inner.WithSelf.F.9bb +// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.7bd +// CHECK:STDOUT: %assoc0.loc6_28.2 => constants.%assoc0.c3f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf(constants.%i32, constants.%Inner.facet.f6d) { +// CHECK:STDOUT: specific @Inner.WithSelf(constants.%i32, constants.%Inner.facet.072) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.dfb -// CHECK:STDOUT: %Self => constants.%Inner.facet.f6d -// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.3e7 -// CHECK:STDOUT: %Inner.WithSelf.F => constants.%Inner.WithSelf.F.a6f -// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.02a -// CHECK:STDOUT: %assoc0.loc6_28.2 => constants.%assoc0.0d5 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.d1b +// CHECK:STDOUT: %Self => constants.%Inner.facet.072 +// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.6d5 +// CHECK:STDOUT: %Inner.WithSelf.F => constants.%Inner.WithSelf.F.2ef +// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.7bd +// CHECK:STDOUT: %assoc0.loc6_28.2 => constants.%assoc0.c3f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf.F(constants.%i32, constants.%Inner.facet.f6d) { +// CHECK:STDOUT: specific @Inner.WithSelf.F(constants.%i32, constants.%Inner.facet.072) { // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.dfb -// CHECK:STDOUT: %Self => constants.%Inner.facet.f6d +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.d1b +// CHECK:STDOUT: %Self => constants.%Inner.facet.072 // CHECK:STDOUT: %Self.as_type.loc6_16.1 => constants.%D -// CHECK:STDOUT: %pattern_type.loc6_14 => constants.%pattern_type.311 -// CHECK:STDOUT: %.loc6_27.1 => constants.%.70c -// CHECK:STDOUT: %pattern_type.loc6_27 => constants.%pattern_type.c6b +// CHECK:STDOUT: %pattern_type.loc6_14 => constants.%pattern_type.f1a +// CHECK:STDOUT: %.loc6_27.1 => constants.%.7ea +// CHECK:STDOUT: %pattern_type.loc6_27 => constants.%pattern_type.104 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.Inner.impl(constants.%i32) { // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %C => constants.%C.8e0 -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.dfb -// CHECK:STDOUT: %Inner.impl_witness.loc10_19.2 => constants.%Inner.impl_witness.eed +// CHECK:STDOUT: %C => constants.%C.525 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.d1b +// CHECK:STDOUT: %Inner.impl_witness.loc10_19.2 => constants.%Inner.impl_witness.4a5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.ee0 -// CHECK:STDOUT: %C.as.Inner.impl.F.type => constants.%C.as.Inner.impl.F.type.3df -// CHECK:STDOUT: %C.as.Inner.impl.F => constants.%C.as.Inner.impl.F.c32 +// CHECK:STDOUT: %require_complete => constants.%complete_type.15f +// CHECK:STDOUT: %C.as.Inner.impl.F.type => constants.%C.as.Inner.impl.F.type.8de +// CHECK:STDOUT: %C.as.Inner.impl.F => constants.%C.as.Inner.impl.F.40e // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf(constants.%i32, constants.%Inner.facet.d0e) { +// CHECK:STDOUT: specific @Inner.WithSelf(constants.%i32, constants.%Inner.facet.51d) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.dfb -// CHECK:STDOUT: %Self => constants.%Inner.facet.d0e -// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.e49 -// CHECK:STDOUT: %Inner.WithSelf.F => constants.%Inner.WithSelf.F.383 -// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.02a -// CHECK:STDOUT: %assoc0.loc6_28.2 => constants.%assoc0.0d5 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.d1b +// CHECK:STDOUT: %Self => constants.%Inner.facet.51d +// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.8fb +// CHECK:STDOUT: %Inner.WithSelf.F => constants.%Inner.WithSelf.F.723 +// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.7bd +// CHECK:STDOUT: %assoc0.loc6_28.2 => constants.%assoc0.c3f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.Inner.impl.F(constants.%i32) { // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %C => constants.%C.8e0 -// CHECK:STDOUT: %pattern_type.loc11_16 => constants.%pattern_type.66f -// CHECK:STDOUT: %.loc11_26.2 => constants.%.70c -// CHECK:STDOUT: %pattern_type.loc11_26 => constants.%pattern_type.c6b +// CHECK:STDOUT: %C => constants.%C.525 +// CHECK:STDOUT: %pattern_type.loc11_16 => constants.%pattern_type.abe +// CHECK:STDOUT: %.loc11_26.2 => constants.%.7ea +// CHECK:STDOUT: %pattern_type.loc11_26 => constants.%pattern_type.104 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc11_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc11_23 => constants.%complete_type.f8a -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.dfb -// CHECK:STDOUT: %require_complete.loc11_48 => constants.%complete_type.ee0 -// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.02a -// CHECK:STDOUT: %assoc0 => constants.%assoc0.0d5 -// CHECK:STDOUT: %.loc11_41.1 => constants.%.d1e -// CHECK:STDOUT: %Inner.lookup_impl_witness => constants.%Inner.impl_witness.eed -// CHECK:STDOUT: %Inner.facet => constants.%Inner.facet.d0e -// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.e49 -// CHECK:STDOUT: %.loc11_41.2 => constants.%.9f6 -// CHECK:STDOUT: %impl.elem0.loc11_41.2 => constants.%C.as.Inner.impl.F.c32 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.d1b +// CHECK:STDOUT: %require_complete.loc11_48 => constants.%complete_type.15f +// CHECK:STDOUT: %Inner.assoc_type => constants.%Inner.assoc_type.7bd +// CHECK:STDOUT: %assoc0 => constants.%assoc0.c3f +// CHECK:STDOUT: %.loc11_41.1 => constants.%.b2e +// CHECK:STDOUT: %Inner.lookup_impl_witness => constants.%Inner.impl_witness.4a5 +// CHECK:STDOUT: %Inner.facet => constants.%Inner.facet.51d +// CHECK:STDOUT: %Inner.WithSelf.F.type => constants.%Inner.WithSelf.F.type.8fb +// CHECK:STDOUT: %.loc11_41.2 => constants.%.633 +// CHECK:STDOUT: %impl.elem0.loc11_41.2 => constants.%C.as.Inner.impl.F.40e // CHECK:STDOUT: %specific_impl_fn.loc11_41.2 => constants.%C.as.Inner.impl.F.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf.F(constants.%i32, constants.%Inner.facet.d0e) { +// CHECK:STDOUT: specific @Inner.WithSelf.F(constants.%i32, constants.%Inner.facet.51d) { // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.dfb -// CHECK:STDOUT: %Self => constants.%Inner.facet.d0e -// CHECK:STDOUT: %Self.as_type.loc6_16.1 => constants.%C.8e0 -// CHECK:STDOUT: %pattern_type.loc6_14 => constants.%pattern_type.66f -// CHECK:STDOUT: %.loc6_27.1 => constants.%.70c -// CHECK:STDOUT: %pattern_type.loc6_27 => constants.%pattern_type.c6b +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.d1b +// CHECK:STDOUT: %Self => constants.%Inner.facet.51d +// CHECK:STDOUT: %Self.as_type.loc6_16.1 => constants.%C.525 +// CHECK:STDOUT: %pattern_type.loc6_14 => constants.%pattern_type.abe +// CHECK:STDOUT: %.loc6_27.1 => constants.%.7ea +// CHECK:STDOUT: %pattern_type.loc6_27 => constants.%pattern_type.104 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/method_deduce.carbon b/toolchain/check/testdata/class/generic/method_deduce.carbon index 73cf776dfb91..cf4c22ff4b8b 100644 --- a/toolchain/check/testdata/class/generic/method_deduce.carbon +++ b/toolchain/check/testdata/class/generic/method_deduce.carbon @@ -42,47 +42,47 @@ fn CallGenericMethodWithNonDeducedParam(c: Class(A)) -> (A, B) { // CHECK:STDOUT: %Class.type: type = generic_class_type @Class [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] -// CHECK:STDOUT: %Class.a48: type = class_type @Class, @Class(%T) [symbolic] +// CHECK:STDOUT: %Class.e25: type = class_type @Class, @Class(%T) [symbolic] // CHECK:STDOUT: %U: type = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] // CHECK:STDOUT: %tuple.4b9: %tuple.type.24b = tuple_value (%T, %U) [symbolic] // CHECK:STDOUT: %tuple.type.a5e: type = tuple_type (%T, %U) [symbolic] // CHECK:STDOUT: %.f18: Core.Form = init_form %tuple.type.a5e [symbolic] // CHECK:STDOUT: %pattern_type.eee: type = pattern_type %tuple.type.a5e [symbolic] -// CHECK:STDOUT: %Class.Get.type.284: type = fn_type @Class.Get, @Class(%T) [symbolic] -// CHECK:STDOUT: %Class.Get.605: %Class.Get.type.284 = struct_value () [symbolic] +// CHECK:STDOUT: %Class.Get.type.3ba: type = fn_type @Class.Get, @Class(%T) [symbolic] +// CHECK:STDOUT: %Class.Get.b24: %Class.Get.type.3ba = struct_value () [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %Class.GetNoDeduce.type.3dd: type = fn_type @Class.GetNoDeduce, @Class(%T) [symbolic] -// CHECK:STDOUT: %Class.GetNoDeduce.4e5: %Class.GetNoDeduce.type.3dd = struct_value () [symbolic] +// CHECK:STDOUT: %Class.GetNoDeduce.type.0d0: type = fn_type @Class.GetNoDeduce, @Class(%T) [symbolic] +// CHECK:STDOUT: %Class.GetNoDeduce.c56: %Class.GetNoDeduce.type.0d0 = struct_value () [symbolic] // CHECK:STDOUT: %require_complete.220: = require_complete_type %tuple.type.a5e [symbolic] -// CHECK:STDOUT: %Class.Get.specific_fn.512: = specific_function %Class.Get.605, @Class.Get(%T, %U) [symbolic] +// CHECK:STDOUT: %Class.Get.specific_fn.567: = specific_function %Class.Get.b24, @Class.Get(%T, %U) [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn.314: = specific_function %Class.GetNoDeduce.4e5, @Class.GetNoDeduce(%T, %U) [symbolic] -// CHECK:STDOUT: %Class.639: type = class_type @Class, @Class(%A) [concrete] -// CHECK:STDOUT: %pattern_type.2a6: type = pattern_type %Class.639 [concrete] -// CHECK:STDOUT: %tuple.d24: %tuple.type.24b = tuple_value (%A, %B) [concrete] -// CHECK:STDOUT: %tuple.type.8b6: type = tuple_type (%A, %B) [concrete] -// CHECK:STDOUT: %.53a: Core.Form = init_form %tuple.type.8b6 [concrete] -// CHECK:STDOUT: %pattern_type.c53: type = pattern_type %tuple.type.8b6 [concrete] +// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn.2a2: = specific_function %Class.GetNoDeduce.c56, @Class.GetNoDeduce(%T, %U) [symbolic] +// CHECK:STDOUT: %Class.34e: type = class_type @Class, @Class(%A) [concrete] +// CHECK:STDOUT: %pattern_type.b13: type = pattern_type %Class.34e [concrete] +// CHECK:STDOUT: %tuple.9a7: %tuple.type.24b = tuple_value (%A, %B) [concrete] +// CHECK:STDOUT: %tuple.type.e74: type = tuple_type (%A, %B) [concrete] +// CHECK:STDOUT: %.210: Core.Form = init_form %tuple.type.e74 [concrete] +// CHECK:STDOUT: %pattern_type.498: type = pattern_type %tuple.type.e74 [concrete] // CHECK:STDOUT: %CallGenericMethod.type: type = fn_type @CallGenericMethod [concrete] // CHECK:STDOUT: %CallGenericMethod: %CallGenericMethod.type = struct_value () [concrete] -// CHECK:STDOUT: %Class.Get.type.2e1: type = fn_type @Class.Get, @Class(%A) [concrete] -// CHECK:STDOUT: %Class.Get.5ef: %Class.Get.type.2e1 = struct_value () [concrete] -// CHECK:STDOUT: %Class.GetNoDeduce.type.f58: type = fn_type @Class.GetNoDeduce, @Class(%A) [concrete] -// CHECK:STDOUT: %Class.GetNoDeduce.b4d: %Class.GetNoDeduce.type.f58 = struct_value () [concrete] -// CHECK:STDOUT: %Class.Get.specific_fn.08b: = specific_function %Class.Get.5ef, @Class.Get(%A, %B) [concrete] +// CHECK:STDOUT: %Class.Get.type.bb5: type = fn_type @Class.Get, @Class(%A) [concrete] +// CHECK:STDOUT: %Class.Get.0b1: %Class.Get.type.bb5 = struct_value () [concrete] +// CHECK:STDOUT: %Class.GetNoDeduce.type.f19: type = fn_type @Class.GetNoDeduce, @Class(%A) [concrete] +// CHECK:STDOUT: %Class.GetNoDeduce.61c: %Class.GetNoDeduce.type.f19 = struct_value () [concrete] +// CHECK:STDOUT: %Class.Get.specific_fn.c6e: = specific_function %Class.Get.0b1, @Class.Get(%A, %B) [concrete] // CHECK:STDOUT: %CallGenericMethodWithNonDeducedParam.type: type = fn_type @CallGenericMethodWithNonDeducedParam [concrete] // CHECK:STDOUT: %CallGenericMethodWithNonDeducedParam: %CallGenericMethodWithNonDeducedParam.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.a07: type = pattern_type %A [concrete] -// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn.934: = specific_function %Class.GetNoDeduce.b4d, @Class.GetNoDeduce(%A, %B) [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] +// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn.b1e: = specific_function %Class.GetNoDeduce.61c, @Class.GetNoDeduce(%A, %B) [concrete] // CHECK:STDOUT: %A.val: %A = struct_value () [concrete] -// CHECK:STDOUT: %.805: ref %A = temporary invalid, %A.val [concrete] +// CHECK:STDOUT: %.e61: ref %A = temporary invalid, %A.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc28_25.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.805, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %complete_type.d28: = complete_type_witness %tuple.type.8b6 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc28_25.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e61, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %complete_type.25e: = complete_type_witness %tuple.type.e74 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -116,46 +116,46 @@ fn CallGenericMethodWithNonDeducedParam(c: Class(A)) -> (A, B) { // CHECK:STDOUT: %T.loc18_14.2: type = symbolic_binding T, 0 [symbolic = %T.loc18_14.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: %CallGenericMethod.decl: %CallGenericMethod.type = fn_decl @CallGenericMethod [concrete = constants.%CallGenericMethod] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.2a6 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.2a6 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c53 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c53 = return_slot_pattern %return.param_patt, %.loc23_43.3 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.b13 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.b13 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.498 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.498 = return_slot_pattern %return.param_patt, %.loc23_43.3 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %A.ref.loc23_39: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %B.ref.loc23: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %.loc23_43.2: %tuple.type.24b = tuple_literal (%A.ref.loc23_39, %B.ref.loc23) [concrete = constants.%tuple.d24] -// CHECK:STDOUT: %.loc23_43.3: type = converted %.loc23_43.2, constants.%tuple.type.8b6 [concrete = constants.%tuple.type.8b6] -// CHECK:STDOUT: %.loc23_43.4: Core.Form = init_form %.loc23_43.3 [concrete = constants.%.53a] -// CHECK:STDOUT: %c.param: %Class.639 = value_param call_param0 -// CHECK:STDOUT: %.loc23_32: type = splice_block %Class [concrete = constants.%Class.639] { +// CHECK:STDOUT: %.loc23_43.2: %tuple.type.24b = tuple_literal (%A.ref.loc23_39, %B.ref.loc23) [concrete = constants.%tuple.9a7] +// CHECK:STDOUT: %.loc23_43.3: type = converted %.loc23_43.2, constants.%tuple.type.e74 [concrete = constants.%tuple.type.e74] +// CHECK:STDOUT: %.loc23_43.4: Core.Form = init_form %.loc23_43.3 [concrete = constants.%.210] +// CHECK:STDOUT: %c.param: %Class.34e = value_param call_param0 +// CHECK:STDOUT: %.loc23_32: type = splice_block %Class [concrete = constants.%Class.34e] { // CHECK:STDOUT: %Class.ref: %Class.type = name_ref Class, file.%Class.decl [concrete = constants.%Class.generic] // CHECK:STDOUT: %A.ref.loc23_31: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %Class: type = class_type @Class, @Class(constants.%A) [concrete = constants.%Class.639] +// CHECK:STDOUT: %Class: type = class_type @Class, @Class(constants.%A) [concrete = constants.%Class.34e] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %Class.639 = value_binding c, %c.param -// CHECK:STDOUT: %return.param: ref %tuple.type.8b6 = out_param call_param1 -// CHECK:STDOUT: %return: ref %tuple.type.8b6 = return_slot %return.param +// CHECK:STDOUT: %c: %Class.34e = value_binding c, %c.param +// CHECK:STDOUT: %return.param: ref %tuple.type.e74 = out_param call_param1 +// CHECK:STDOUT: %return: ref %tuple.type.e74 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallGenericMethodWithNonDeducedParam.decl: %CallGenericMethodWithNonDeducedParam.type = fn_decl @CallGenericMethodWithNonDeducedParam [concrete = constants.%CallGenericMethodWithNonDeducedParam] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.2a6 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.2a6 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c53 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c53 = return_slot_pattern %return.param_patt, %.loc27_62.3 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.b13 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.b13 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.498 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.498 = return_slot_pattern %return.param_patt, %.loc27_62.3 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %A.ref.loc27_58: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %B.ref.loc27: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %.loc27_62.2: %tuple.type.24b = tuple_literal (%A.ref.loc27_58, %B.ref.loc27) [concrete = constants.%tuple.d24] -// CHECK:STDOUT: %.loc27_62.3: type = converted %.loc27_62.2, constants.%tuple.type.8b6 [concrete = constants.%tuple.type.8b6] -// CHECK:STDOUT: %.loc27_62.4: Core.Form = init_form %.loc27_62.3 [concrete = constants.%.53a] -// CHECK:STDOUT: %c.param: %Class.639 = value_param call_param0 -// CHECK:STDOUT: %.loc27_51: type = splice_block %Class [concrete = constants.%Class.639] { +// CHECK:STDOUT: %.loc27_62.2: %tuple.type.24b = tuple_literal (%A.ref.loc27_58, %B.ref.loc27) [concrete = constants.%tuple.9a7] +// CHECK:STDOUT: %.loc27_62.3: type = converted %.loc27_62.2, constants.%tuple.type.e74 [concrete = constants.%tuple.type.e74] +// CHECK:STDOUT: %.loc27_62.4: Core.Form = init_form %.loc27_62.3 [concrete = constants.%.210] +// CHECK:STDOUT: %c.param: %Class.34e = value_param call_param0 +// CHECK:STDOUT: %.loc27_51: type = splice_block %Class [concrete = constants.%Class.34e] { // CHECK:STDOUT: %Class.ref: %Class.type = name_ref Class, file.%Class.decl [concrete = constants.%Class.generic] // CHECK:STDOUT: %A.ref.loc27_50: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %Class: type = class_type @Class, @Class(constants.%A) [concrete = constants.%Class.639] +// CHECK:STDOUT: %Class: type = class_type @Class, @Class(constants.%A) [concrete = constants.%Class.34e] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %Class.639 = value_binding c, %c.param -// CHECK:STDOUT: %return.param: ref %tuple.type.8b6 = out_param call_param1 -// CHECK:STDOUT: %return: ref %tuple.type.8b6 = return_slot %return.param +// CHECK:STDOUT: %c: %Class.34e = value_binding c, %c.param +// CHECK:STDOUT: %return.param: ref %tuple.type.e74 = out_param call_param1 +// CHECK:STDOUT: %return: ref %tuple.type.e74 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -179,13 +179,13 @@ fn CallGenericMethodWithNonDeducedParam(c: Class(A)) -> (A, B) { // CHECK:STDOUT: %T.loc18_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc18_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Class.Get.type: type = fn_type @Class.Get, @Class(%T.loc18_14.1) [symbolic = %Class.Get.type (constants.%Class.Get.type.284)] -// CHECK:STDOUT: %Class.Get: @Class.%Class.Get.type (%Class.Get.type.284) = struct_value () [symbolic = %Class.Get (constants.%Class.Get.605)] -// CHECK:STDOUT: %Class.GetNoDeduce.type: type = fn_type @Class.GetNoDeduce, @Class(%T.loc18_14.1) [symbolic = %Class.GetNoDeduce.type (constants.%Class.GetNoDeduce.type.3dd)] -// CHECK:STDOUT: %Class.GetNoDeduce: @Class.%Class.GetNoDeduce.type (%Class.GetNoDeduce.type.3dd) = struct_value () [symbolic = %Class.GetNoDeduce (constants.%Class.GetNoDeduce.4e5)] +// CHECK:STDOUT: %Class.Get.type: type = fn_type @Class.Get, @Class(%T.loc18_14.1) [symbolic = %Class.Get.type (constants.%Class.Get.type.3ba)] +// CHECK:STDOUT: %Class.Get: @Class.%Class.Get.type (%Class.Get.type.3ba) = struct_value () [symbolic = %Class.Get (constants.%Class.Get.b24)] +// CHECK:STDOUT: %Class.GetNoDeduce.type: type = fn_type @Class.GetNoDeduce, @Class(%T.loc18_14.1) [symbolic = %Class.GetNoDeduce.type (constants.%Class.GetNoDeduce.type.0d0)] +// CHECK:STDOUT: %Class.GetNoDeduce: @Class.%Class.GetNoDeduce.type (%Class.GetNoDeduce.type.0d0) = struct_value () [symbolic = %Class.GetNoDeduce (constants.%Class.GetNoDeduce.c56)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %Class.Get.decl: @Class.%Class.Get.type (%Class.Get.type.284) = fn_decl @Class.Get [symbolic = @Class.%Class.Get (constants.%Class.Get.605)] { +// CHECK:STDOUT: %Class.Get.decl: @Class.%Class.Get.type (%Class.Get.type.3ba) = fn_decl @Class.Get [symbolic = @Class.%Class.Get (constants.%Class.Get.b24)] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: %return.param_patt: @Class.Get.%pattern_type (%pattern_type.eee) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @Class.Get.%pattern_type (%pattern_type.eee) = return_slot_pattern %return.param_patt, %.loc19_28.4 [concrete] @@ -203,7 +203,7 @@ fn CallGenericMethodWithNonDeducedParam(c: Class(A)) -> (A, B) { // CHECK:STDOUT: %return.param: ref @Class.Get.%tuple.type (%tuple.type.a5e) = out_param call_param0 // CHECK:STDOUT: %return: ref @Class.Get.%tuple.type (%tuple.type.a5e) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Class.GetNoDeduce.decl: @Class.%Class.GetNoDeduce.type (%Class.GetNoDeduce.type.3dd) = fn_decl @Class.GetNoDeduce [symbolic = @Class.%Class.GetNoDeduce (constants.%Class.GetNoDeduce.4e5)] { +// CHECK:STDOUT: %Class.GetNoDeduce.decl: @Class.%Class.GetNoDeduce.type (%Class.GetNoDeduce.type.0d0) = fn_decl @Class.GetNoDeduce [symbolic = @Class.%Class.GetNoDeduce (constants.%Class.GetNoDeduce.c56)] { // CHECK:STDOUT: %x.param_patt: @Class.GetNoDeduce.%pattern_type.loc20_19 (%pattern_type.51d) = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: @Class.GetNoDeduce.%pattern_type.loc20_19 (%pattern_type.51d) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] @@ -230,7 +230,7 @@ fn CallGenericMethodWithNonDeducedParam(c: Class(A)) -> (A, B) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Class.a48 +// CHECK:STDOUT: .Self = constants.%Class.e25 // CHECK:STDOUT: .T = // CHECK:STDOUT: .Get = %Class.Get.decl // CHECK:STDOUT: .GetNoDeduce = %Class.GetNoDeduce.decl @@ -247,16 +247,16 @@ fn CallGenericMethodWithNonDeducedParam(c: Class(A)) -> (A, B) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %tuple.type [symbolic = %require_complete (constants.%require_complete.220)] -// CHECK:STDOUT: %Class.Get.type: type = fn_type @Class.Get, @Class(%T) [symbolic = %Class.Get.type (constants.%Class.Get.type.284)] -// CHECK:STDOUT: %Class.Get: @Class.Get.%Class.Get.type (%Class.Get.type.284) = struct_value () [symbolic = %Class.Get (constants.%Class.Get.605)] -// CHECK:STDOUT: %Class.Get.specific_fn.loc19_39.2: = specific_function %Class.Get, @Class.Get(%T, %U.loc19_11.1) [symbolic = %Class.Get.specific_fn.loc19_39.2 (constants.%Class.Get.specific_fn.512)] +// CHECK:STDOUT: %Class.Get.type: type = fn_type @Class.Get, @Class(%T) [symbolic = %Class.Get.type (constants.%Class.Get.type.3ba)] +// CHECK:STDOUT: %Class.Get: @Class.Get.%Class.Get.type (%Class.Get.type.3ba) = struct_value () [symbolic = %Class.Get (constants.%Class.Get.b24)] +// CHECK:STDOUT: %Class.Get.specific_fn.loc19_39.2: = specific_function %Class.Get, @Class.Get(%T, %U.loc19_11.1) [symbolic = %Class.Get.specific_fn.loc19_39.2 (constants.%Class.Get.specific_fn.567)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @Class.Get.%tuple.type (%tuple.type.a5e) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %.loc19_39: @Class.Get.%Class.Get.type (%Class.Get.type.284) = specific_constant @Class.%Class.Get.decl, @Class(constants.%T) [symbolic = %Class.Get (constants.%Class.Get.605)] -// CHECK:STDOUT: %Get.ref: @Class.Get.%Class.Get.type (%Class.Get.type.284) = name_ref Get, %.loc19_39 [symbolic = %Class.Get (constants.%Class.Get.605)] +// CHECK:STDOUT: %.loc19_39: @Class.Get.%Class.Get.type (%Class.Get.type.3ba) = specific_constant @Class.%Class.Get.decl, @Class(constants.%T) [symbolic = %Class.Get (constants.%Class.Get.b24)] +// CHECK:STDOUT: %Get.ref: @Class.Get.%Class.Get.type (%Class.Get.type.3ba) = name_ref Get, %.loc19_39 [symbolic = %Class.Get (constants.%Class.Get.b24)] // CHECK:STDOUT: %U.ref.loc19_43: type = name_ref U, %U.loc19_11.2 [symbolic = %U.loc19_11.1 (constants.%U)] -// CHECK:STDOUT: %Class.Get.specific_fn.loc19_39.1: = specific_function %Get.ref, @Class.Get(constants.%T, constants.%U) [symbolic = %Class.Get.specific_fn.loc19_39.2 (constants.%Class.Get.specific_fn.512)] +// CHECK:STDOUT: %Class.Get.specific_fn.loc19_39.1: = specific_function %Get.ref, @Class.Get(constants.%T, constants.%U) [symbolic = %Class.Get.specific_fn.loc19_39.2 (constants.%Class.Get.specific_fn.567)] // CHECK:STDOUT: %.loc19_28.1: ref @Class.Get.%tuple.type (%tuple.type.a5e) = splice_block %return.param {} // CHECK:STDOUT: %Class.Get.call: init @Class.Get.%tuple.type (%tuple.type.a5e) to %.loc19_28.1 = call %Class.Get.specific_fn.loc19_39.1() // CHECK:STDOUT: return %Class.Get.call to %return.param @@ -274,51 +274,51 @@ fn CallGenericMethodWithNonDeducedParam(c: Class(A)) -> (A, B) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %Class.GetNoDeduce.type: type = fn_type @Class.GetNoDeduce, @Class(%T) [symbolic = %Class.GetNoDeduce.type (constants.%Class.GetNoDeduce.type.3dd)] -// CHECK:STDOUT: %Class.GetNoDeduce: @Class.GetNoDeduce.%Class.GetNoDeduce.type (%Class.GetNoDeduce.type.3dd) = struct_value () [symbolic = %Class.GetNoDeduce (constants.%Class.GetNoDeduce.4e5)] -// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn.loc20_53.2: = specific_function %Class.GetNoDeduce, @Class.GetNoDeduce(%T, %U.loc20_25.1) [symbolic = %Class.GetNoDeduce.specific_fn.loc20_53.2 (constants.%Class.GetNoDeduce.specific_fn.314)] +// CHECK:STDOUT: %Class.GetNoDeduce.type: type = fn_type @Class.GetNoDeduce, @Class(%T) [symbolic = %Class.GetNoDeduce.type (constants.%Class.GetNoDeduce.type.0d0)] +// CHECK:STDOUT: %Class.GetNoDeduce: @Class.GetNoDeduce.%Class.GetNoDeduce.type (%Class.GetNoDeduce.type.0d0) = struct_value () [symbolic = %Class.GetNoDeduce (constants.%Class.GetNoDeduce.c56)] +// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn.loc20_53.2: = specific_function %Class.GetNoDeduce, @Class.GetNoDeduce(%T, %U.loc20_25.1) [symbolic = %Class.GetNoDeduce.specific_fn.loc20_53.2 (constants.%Class.GetNoDeduce.specific_fn.2a2)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @Class.GetNoDeduce.%T (%T)) -> out %return.param: @Class.GetNoDeduce.%tuple.type (%tuple.type.a5e) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %.loc20_53: @Class.GetNoDeduce.%Class.GetNoDeduce.type (%Class.GetNoDeduce.type.3dd) = specific_constant @Class.%Class.GetNoDeduce.decl, @Class(constants.%T) [symbolic = %Class.GetNoDeduce (constants.%Class.GetNoDeduce.4e5)] -// CHECK:STDOUT: %GetNoDeduce.ref: @Class.GetNoDeduce.%Class.GetNoDeduce.type (%Class.GetNoDeduce.type.3dd) = name_ref GetNoDeduce, %.loc20_53 [symbolic = %Class.GetNoDeduce (constants.%Class.GetNoDeduce.4e5)] +// CHECK:STDOUT: %.loc20_53: @Class.GetNoDeduce.%Class.GetNoDeduce.type (%Class.GetNoDeduce.type.0d0) = specific_constant @Class.%Class.GetNoDeduce.decl, @Class(constants.%T) [symbolic = %Class.GetNoDeduce (constants.%Class.GetNoDeduce.c56)] +// CHECK:STDOUT: %GetNoDeduce.ref: @Class.GetNoDeduce.%Class.GetNoDeduce.type (%Class.GetNoDeduce.type.0d0) = name_ref GetNoDeduce, %.loc20_53 [symbolic = %Class.GetNoDeduce (constants.%Class.GetNoDeduce.c56)] // CHECK:STDOUT: %x.ref: @Class.GetNoDeduce.%T (%T) = name_ref x, %x // CHECK:STDOUT: %U.ref.loc20_68: type = name_ref U, %U.loc20_25.2 [symbolic = %U.loc20_25.1 (constants.%U)] -// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn.loc20_53.1: = specific_function %GetNoDeduce.ref, @Class.GetNoDeduce(constants.%T, constants.%U) [symbolic = %Class.GetNoDeduce.specific_fn.loc20_53.2 (constants.%Class.GetNoDeduce.specific_fn.314)] +// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn.loc20_53.1: = specific_function %GetNoDeduce.ref, @Class.GetNoDeduce(constants.%T, constants.%U) [symbolic = %Class.GetNoDeduce.specific_fn.loc20_53.2 (constants.%Class.GetNoDeduce.specific_fn.2a2)] // CHECK:STDOUT: %.loc20_42.1: ref @Class.GetNoDeduce.%tuple.type (%tuple.type.a5e) = splice_block %return.param {} // CHECK:STDOUT: %Class.GetNoDeduce.call: init @Class.GetNoDeduce.%tuple.type (%tuple.type.a5e) to %.loc20_42.1 = call %Class.GetNoDeduce.specific_fn.loc20_53.1(%x.ref) // CHECK:STDOUT: return %Class.GetNoDeduce.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @CallGenericMethod(%c.param: %Class.639) -> out %return.param: %tuple.type.8b6 { +// CHECK:STDOUT: fn @CallGenericMethod(%c.param: %Class.34e) -> out %return.param: %tuple.type.e74 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %c.ref: %Class.639 = name_ref c, %c -// CHECK:STDOUT: %.loc24: %Class.Get.type.2e1 = specific_constant @Class.%Class.Get.decl, @Class(constants.%A) [concrete = constants.%Class.Get.5ef] -// CHECK:STDOUT: %Get.ref: %Class.Get.type.2e1 = name_ref Get, %.loc24 [concrete = constants.%Class.Get.5ef] +// CHECK:STDOUT: %c.ref: %Class.34e = name_ref c, %c +// CHECK:STDOUT: %.loc24: %Class.Get.type.bb5 = specific_constant @Class.%Class.Get.decl, @Class(constants.%A) [concrete = constants.%Class.Get.0b1] +// CHECK:STDOUT: %Get.ref: %Class.Get.type.bb5 = name_ref Get, %.loc24 [concrete = constants.%Class.Get.0b1] // CHECK:STDOUT: %B.ref.loc24: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %Class.Get.specific_fn: = specific_function %Get.ref, @Class.Get(constants.%A, constants.%B) [concrete = constants.%Class.Get.specific_fn.08b] -// CHECK:STDOUT: %.loc23_43.1: ref %tuple.type.8b6 = splice_block %return.param {} -// CHECK:STDOUT: %Class.Get.call: init %tuple.type.8b6 to %.loc23_43.1 = call %Class.Get.specific_fn() +// CHECK:STDOUT: %Class.Get.specific_fn: = specific_function %Get.ref, @Class.Get(constants.%A, constants.%B) [concrete = constants.%Class.Get.specific_fn.c6e] +// CHECK:STDOUT: %.loc23_43.1: ref %tuple.type.e74 = splice_block %return.param {} +// CHECK:STDOUT: %Class.Get.call: init %tuple.type.e74 to %.loc23_43.1 = call %Class.Get.specific_fn() // CHECK:STDOUT: return %Class.Get.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @CallGenericMethodWithNonDeducedParam(%c.param: %Class.639) -> out %return.param: %tuple.type.8b6 { +// CHECK:STDOUT: fn @CallGenericMethodWithNonDeducedParam(%c.param: %Class.34e) -> out %return.param: %tuple.type.e74 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %c.ref: %Class.639 = name_ref c, %c -// CHECK:STDOUT: %.loc28_11: %Class.GetNoDeduce.type.f58 = specific_constant @Class.%Class.GetNoDeduce.decl, @Class(constants.%A) [concrete = constants.%Class.GetNoDeduce.b4d] -// CHECK:STDOUT: %GetNoDeduce.ref: %Class.GetNoDeduce.type.f58 = name_ref GetNoDeduce, %.loc28_11 [concrete = constants.%Class.GetNoDeduce.b4d] +// CHECK:STDOUT: %c.ref: %Class.34e = name_ref c, %c +// CHECK:STDOUT: %.loc28_11: %Class.GetNoDeduce.type.f19 = specific_constant @Class.%Class.GetNoDeduce.decl, @Class(constants.%A) [concrete = constants.%Class.GetNoDeduce.61c] +// CHECK:STDOUT: %GetNoDeduce.ref: %Class.GetNoDeduce.type.f19 = name_ref GetNoDeduce, %.loc28_11 [concrete = constants.%Class.GetNoDeduce.61c] // CHECK:STDOUT: %.loc28_25.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %B.ref.loc28: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn: = specific_function %GetNoDeduce.ref, @Class.GetNoDeduce(constants.%A, constants.%B) [concrete = constants.%Class.GetNoDeduce.specific_fn.934] -// CHECK:STDOUT: %.loc27_62.1: ref %tuple.type.8b6 = splice_block %return.param {} +// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn: = specific_function %GetNoDeduce.ref, @Class.GetNoDeduce(constants.%A, constants.%B) [concrete = constants.%Class.GetNoDeduce.specific_fn.b1e] +// CHECK:STDOUT: %.loc27_62.1: ref %tuple.type.e74 = splice_block %return.param {} // CHECK:STDOUT: %.loc28_25.2: ref %A = temporary_storage // CHECK:STDOUT: %.loc28_25.3: init %A to %.loc28_25.2 = class_init () [concrete = constants.%A.val] // CHECK:STDOUT: %.loc28_25.4: init %A = converted %.loc28_25.1, %.loc28_25.3 [concrete = constants.%A.val] -// CHECK:STDOUT: %.loc28_25.5: ref %A = temporary %.loc28_25.2, %.loc28_25.4 [concrete = constants.%.805] +// CHECK:STDOUT: %.loc28_25.5: ref %A = temporary %.loc28_25.2, %.loc28_25.4 [concrete = constants.%.e61] // CHECK:STDOUT: %.loc28_25.6: %A = acquire_value %.loc28_25.5 [concrete = constants.%A.val] -// CHECK:STDOUT: %Class.GetNoDeduce.call: init %tuple.type.8b6 to %.loc27_62.1 = call %Class.GetNoDeduce.specific_fn(%.loc28_25.6) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.805) +// CHECK:STDOUT: %Class.GetNoDeduce.call: init %tuple.type.e74 to %.loc27_62.1 = call %Class.GetNoDeduce.specific_fn(%.loc28_25.6) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e61) // CHECK:STDOUT: return %Class.GetNoDeduce.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: @@ -333,10 +333,10 @@ fn CallGenericMethodWithNonDeducedParam(c: Class(A)) -> (A, B) { // CHECK:STDOUT: %T.loc18_14.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Class.Get.type => constants.%Class.Get.type.284 -// CHECK:STDOUT: %Class.Get => constants.%Class.Get.605 -// CHECK:STDOUT: %Class.GetNoDeduce.type => constants.%Class.GetNoDeduce.type.3dd -// CHECK:STDOUT: %Class.GetNoDeduce => constants.%Class.GetNoDeduce.4e5 +// CHECK:STDOUT: %Class.Get.type => constants.%Class.Get.type.3ba +// CHECK:STDOUT: %Class.Get => constants.%Class.Get.b24 +// CHECK:STDOUT: %Class.GetNoDeduce.type => constants.%Class.GetNoDeduce.type.0d0 +// CHECK:STDOUT: %Class.GetNoDeduce => constants.%Class.GetNoDeduce.c56 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class.Get(constants.%T, constants.%U) { @@ -349,9 +349,9 @@ fn CallGenericMethodWithNonDeducedParam(c: Class(A)) -> (A, B) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete.220 -// CHECK:STDOUT: %Class.Get.type => constants.%Class.Get.type.284 -// CHECK:STDOUT: %Class.Get => constants.%Class.Get.605 -// CHECK:STDOUT: %Class.Get.specific_fn.loc19_39.2 => constants.%Class.Get.specific_fn.512 +// CHECK:STDOUT: %Class.Get.type => constants.%Class.Get.type.3ba +// CHECK:STDOUT: %Class.Get => constants.%Class.Get.b24 +// CHECK:STDOUT: %Class.Get.specific_fn.loc19_39.2 => constants.%Class.Get.specific_fn.567 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class.GetNoDeduce(constants.%T, constants.%U) { @@ -365,49 +365,49 @@ fn CallGenericMethodWithNonDeducedParam(c: Class(A)) -> (A, B) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete.944 -// CHECK:STDOUT: %Class.GetNoDeduce.type => constants.%Class.GetNoDeduce.type.3dd -// CHECK:STDOUT: %Class.GetNoDeduce => constants.%Class.GetNoDeduce.4e5 -// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn.loc20_53.2 => constants.%Class.GetNoDeduce.specific_fn.314 +// CHECK:STDOUT: %Class.GetNoDeduce.type => constants.%Class.GetNoDeduce.type.0d0 +// CHECK:STDOUT: %Class.GetNoDeduce => constants.%Class.GetNoDeduce.c56 +// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn.loc20_53.2 => constants.%Class.GetNoDeduce.specific_fn.2a2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class(constants.%A) { // CHECK:STDOUT: %T.loc18_14.1 => constants.%A // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Class.Get.type => constants.%Class.Get.type.2e1 -// CHECK:STDOUT: %Class.Get => constants.%Class.Get.5ef -// CHECK:STDOUT: %Class.GetNoDeduce.type => constants.%Class.GetNoDeduce.type.f58 -// CHECK:STDOUT: %Class.GetNoDeduce => constants.%Class.GetNoDeduce.b4d +// CHECK:STDOUT: %Class.Get.type => constants.%Class.Get.type.bb5 +// CHECK:STDOUT: %Class.Get => constants.%Class.Get.0b1 +// CHECK:STDOUT: %Class.GetNoDeduce.type => constants.%Class.GetNoDeduce.type.f19 +// CHECK:STDOUT: %Class.GetNoDeduce => constants.%Class.GetNoDeduce.61c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class.Get(constants.%A, constants.%B) { // CHECK:STDOUT: %U.loc19_11.1 => constants.%B // CHECK:STDOUT: %T => constants.%A -// CHECK:STDOUT: %tuple => constants.%tuple.d24 -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.8b6 -// CHECK:STDOUT: %.loc19_28.2 => constants.%.53a -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c53 +// CHECK:STDOUT: %tuple => constants.%tuple.9a7 +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.e74 +// CHECK:STDOUT: %.loc19_28.2 => constants.%.210 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.498 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.d28 -// CHECK:STDOUT: %Class.Get.type => constants.%Class.Get.type.2e1 -// CHECK:STDOUT: %Class.Get => constants.%Class.Get.5ef -// CHECK:STDOUT: %Class.Get.specific_fn.loc19_39.2 => constants.%Class.Get.specific_fn.08b +// CHECK:STDOUT: %require_complete => constants.%complete_type.25e +// CHECK:STDOUT: %Class.Get.type => constants.%Class.Get.type.bb5 +// CHECK:STDOUT: %Class.Get => constants.%Class.Get.0b1 +// CHECK:STDOUT: %Class.Get.specific_fn.loc19_39.2 => constants.%Class.Get.specific_fn.c6e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Class.GetNoDeduce(constants.%A, constants.%B) { // CHECK:STDOUT: %T => constants.%A -// CHECK:STDOUT: %pattern_type.loc20_19 => constants.%pattern_type.a07 +// CHECK:STDOUT: %pattern_type.loc20_19 => constants.%pattern_type.ccb // CHECK:STDOUT: %U.loc20_25.1 => constants.%B -// CHECK:STDOUT: %tuple => constants.%tuple.d24 -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.8b6 -// CHECK:STDOUT: %.loc20_42.2 => constants.%.53a -// CHECK:STDOUT: %pattern_type.loc20_42 => constants.%pattern_type.c53 +// CHECK:STDOUT: %tuple => constants.%tuple.9a7 +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.e74 +// CHECK:STDOUT: %.loc20_42.2 => constants.%.210 +// CHECK:STDOUT: %pattern_type.loc20_42 => constants.%pattern_type.498 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.357 -// CHECK:STDOUT: %Class.GetNoDeduce.type => constants.%Class.GetNoDeduce.type.f58 -// CHECK:STDOUT: %Class.GetNoDeduce => constants.%Class.GetNoDeduce.b4d -// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn.loc20_53.2 => constants.%Class.GetNoDeduce.specific_fn.934 +// CHECK:STDOUT: %Class.GetNoDeduce.type => constants.%Class.GetNoDeduce.type.f19 +// CHECK:STDOUT: %Class.GetNoDeduce => constants.%Class.GetNoDeduce.61c +// CHECK:STDOUT: %Class.GetNoDeduce.specific_fn.loc20_53.2 => constants.%Class.GetNoDeduce.specific_fn.b1e // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/redeclare.carbon b/toolchain/check/testdata/class/generic/redeclare.carbon index 075e50e14866..96d9bc64f41b 100644 --- a/toolchain/check/testdata/class/generic/redeclare.carbon +++ b/toolchain/check/testdata/class/generic/redeclare.carbon @@ -165,14 +165,14 @@ class E(U:! type) {} // CHECK:STDOUT: --- fail_mismatch_param_list.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %A.dda: type = class_type @A.loc4 [concrete] +// CHECK:STDOUT: %A.895: type = class_type @A.loc4 [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %A.type: type = generic_class_type @A.loc12 [concrete] // CHECK:STDOUT: %A.generic: %A.type = struct_value () [concrete] -// CHECK:STDOUT: %A.064: type = class_type @A.loc12, @A.loc12(%T) [symbolic] +// CHECK:STDOUT: %A.6ed: type = class_type @A.loc12, @A.loc12(%T) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: } @@ -190,7 +190,7 @@ class E(U:! type) {} // CHECK:STDOUT: .A = %A.decl.loc4 // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl.loc4: type = class_decl @A.loc4 [concrete = constants.%A.dda] {} {} +// CHECK:STDOUT: %A.decl.loc4: type = class_decl @A.loc4 [concrete = constants.%A.895] {} {} // CHECK:STDOUT: %A.decl.loc12: %A.type = class_decl @A.loc12 [concrete = constants.%A.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { @@ -214,7 +214,7 @@ class E(U:! type) {} // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%A.064 +// CHECK:STDOUT: .Self = constants.%A.6ed // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -230,17 +230,17 @@ class E(U:! type) {} // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.9b3: type = pattern_type %A [concrete] -// CHECK:STDOUT: %N.538: %A = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %B.type.59d38b.1: type = generic_class_type @B.loc6 [concrete] -// CHECK:STDOUT: %B.generic.ac1d3f.1: %B.type.59d38b.1 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] +// CHECK:STDOUT: %N.9fa: %A = symbolic_binding N, 0 [symbolic] +// CHECK:STDOUT: %B.type.8c3028.1: type = generic_class_type @B.loc6 [concrete] +// CHECK:STDOUT: %B.generic.cc25e6.1: %B.type.8c3028.1 = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] // CHECK:STDOUT: %N.bd9: %T = symbolic_binding N, 1 [symbolic] -// CHECK:STDOUT: %B.type.59d38b.2: type = generic_class_type @B.loc14 [concrete] -// CHECK:STDOUT: %B.generic.ac1d3f.2: %B.type.59d38b.2 = struct_value () [concrete] -// CHECK:STDOUT: %B.e30: type = class_type @B.loc14, @B.loc14(%T, %N.bd9) [symbolic] +// CHECK:STDOUT: %B.type.8c3028.2: type = generic_class_type @B.loc14 [concrete] +// CHECK:STDOUT: %B.generic.cc25e6.2: %B.type.8c3028.2 = struct_value () [concrete] +// CHECK:STDOUT: %B.510: type = class_type @B.loc14, @B.loc14(%T, %N.bd9) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -258,16 +258,16 @@ class E(U:! type) {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %A.decl: type = class_decl @A [concrete = constants.%A] {} {} -// CHECK:STDOUT: %B.decl.loc6: %B.type.59d38b.1 = class_decl @B.loc6 [concrete = constants.%B.generic.ac1d3f.1] { -// CHECK:STDOUT: %N.patt: %pattern_type.9b3 = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %B.decl.loc6: %B.type.8c3028.1 = class_decl @B.loc6 [concrete = constants.%B.generic.cc25e6.1] { +// CHECK:STDOUT: %N.patt: %pattern_type.ccb = symbolic_binding_pattern N, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6: type = splice_block %A.ref [concrete = constants.%A] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc6_10.2: %A = symbolic_binding N, 0 [symbolic = %N.loc6_10.1 (constants.%N.538)] +// CHECK:STDOUT: %N.loc6_10.2: %A = symbolic_binding N, 0 [symbolic = %N.loc6_10.1 (constants.%N.9fa)] // CHECK:STDOUT: } -// CHECK:STDOUT: %B.decl.loc14: %B.type.59d38b.2 = class_decl @B.loc14 [concrete = constants.%B.generic.ac1d3f.2] { +// CHECK:STDOUT: %B.decl.loc14: %B.type.8c3028.2 = class_decl @B.loc14 [concrete = constants.%B.generic.cc25e6.2] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %N.patt: @B.loc14.%pattern_type (%pattern_type.51d) = symbolic_binding_pattern N, 1 [concrete] // CHECK:STDOUT: } { @@ -293,7 +293,7 @@ class E(U:! type) {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @B.loc6(%N.loc6_10.2: %A) { -// CHECK:STDOUT: %N.loc6_10.1: %A = symbolic_binding N, 0 [symbolic = %N.loc6_10.1 (constants.%N.538)] +// CHECK:STDOUT: %N.loc6_10.1: %A = symbolic_binding N, 0 [symbolic = %N.loc6_10.1 (constants.%N.9fa)] // CHECK:STDOUT: // CHECK:STDOUT: class; // CHECK:STDOUT: } @@ -310,12 +310,12 @@ class E(U:! type) {} // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%B.e30 +// CHECK:STDOUT: .Self = constants.%B.510 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @B.loc6(constants.%N.538) { -// CHECK:STDOUT: %N.loc6_10.1 => constants.%N.538 +// CHECK:STDOUT: specific @B.loc6(constants.%N.9fa) { +// CHECK:STDOUT: %N.loc6_10.1 => constants.%N.9fa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @B.loc14(constants.%T, constants.%N.bd9) { @@ -334,13 +334,13 @@ class E(U:! type) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %C.type.c40068.1: type = generic_class_type @C.loc6 [concrete] -// CHECK:STDOUT: %C.generic.5217ce.1: %C.type.c40068.1 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.006: type = pattern_type %A [concrete] +// CHECK:STDOUT: %C.type.6471b2.1: type = generic_class_type @C.loc6 [concrete] +// CHECK:STDOUT: %C.generic.d80214.1: %C.type.6471b2.1 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %U: %A = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %C.type.c40068.2: type = generic_class_type @C.loc14 [concrete] -// CHECK:STDOUT: %C.generic.5217ce.2: %C.type.c40068.2 = struct_value () [concrete] -// CHECK:STDOUT: %C.c55: type = class_type @C.loc14, @C.loc14(%T, %U) [symbolic] +// CHECK:STDOUT: %C.type.6471b2.2: type = generic_class_type @C.loc14 [concrete] +// CHECK:STDOUT: %C.generic.d80214.2: %C.type.6471b2.2 = struct_value () [concrete] +// CHECK:STDOUT: %C.24f: type = class_type @C.loc14, @C.loc14(%T, %U) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -358,7 +358,7 @@ class E(U:! type) {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %A.decl: type = class_decl @A [concrete = constants.%A] {} {} -// CHECK:STDOUT: %C.decl.loc6: %C.type.c40068.1 = class_decl @C.loc6 [concrete = constants.%C.generic.5217ce.1] { +// CHECK:STDOUT: %C.decl.loc6: %C.type.6471b2.1 = class_decl @C.loc6 [concrete = constants.%C.generic.d80214.1] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6_13.1: type = splice_block %.loc6_13.2 [concrete = type] { @@ -367,9 +367,9 @@ class E(U:! type) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc6_10.2: type = symbolic_binding T, 0 [symbolic = %T.loc6_10.1 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: %C.decl.loc14: %C.type.c40068.2 = class_decl @C.loc14 [concrete = constants.%C.generic.5217ce.2] { +// CHECK:STDOUT: %C.decl.loc14: %C.type.6471b2.2 = class_decl @C.loc14 [concrete = constants.%C.generic.d80214.2] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %U.patt: %pattern_type.006 = symbolic_binding_pattern U, 1 [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.ccb = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc14_13.1: type = splice_block %.loc14_13.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc14_10: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -409,7 +409,7 @@ class E(U:! type) {} // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.c55 +// CHECK:STDOUT: .Self = constants.%C.24f // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -432,13 +432,13 @@ class E(U:! type) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %D.type.c36618.1: type = generic_class_type @D.loc6 [concrete] -// CHECK:STDOUT: %D.generic.8938df.1: %D.type.c36618.1 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.588: type = pattern_type %A [concrete] -// CHECK:STDOUT: %T.981: %A = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %D.type.c36618.2: type = generic_class_type @D.loc14 [concrete] -// CHECK:STDOUT: %D.generic.8938df.2: %D.type.c36618.2 = struct_value () [concrete] -// CHECK:STDOUT: %D.b6c: type = class_type @D.loc14, @D.loc14(%T.981) [symbolic] +// CHECK:STDOUT: %D.type.2fde6d.1: type = generic_class_type @D.loc6 [concrete] +// CHECK:STDOUT: %D.generic.820c89.1: %D.type.2fde6d.1 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] +// CHECK:STDOUT: %T.9fa: %A = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %D.type.2fde6d.2: type = generic_class_type @D.loc14 [concrete] +// CHECK:STDOUT: %D.generic.820c89.2: %D.type.2fde6d.2 = struct_value () [concrete] +// CHECK:STDOUT: %D.eb9: type = class_type @D.loc14, @D.loc14(%T.9fa) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -456,7 +456,7 @@ class E(U:! type) {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %A.decl: type = class_decl @A [concrete = constants.%A] {} {} -// CHECK:STDOUT: %D.decl.loc6: %D.type.c36618.1 = class_decl @D.loc6 [concrete = constants.%D.generic.8938df.1] { +// CHECK:STDOUT: %D.decl.loc6: %D.type.2fde6d.1 = class_decl @D.loc6 [concrete = constants.%D.generic.820c89.1] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6_13.1: type = splice_block %.loc6_13.2 [concrete = type] { @@ -465,14 +465,14 @@ class E(U:! type) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc6_10.2: type = symbolic_binding T, 0 [symbolic = %T.loc6_10.1 (constants.%T.67d)] // CHECK:STDOUT: } -// CHECK:STDOUT: %D.decl.loc14: %D.type.c36618.2 = class_decl @D.loc14 [concrete = constants.%D.generic.8938df.2] { -// CHECK:STDOUT: %T.patt: %pattern_type.588 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %D.decl.loc14: %D.type.2fde6d.2 = class_decl @D.loc14 [concrete = constants.%D.generic.820c89.2] { +// CHECK:STDOUT: %T.patt: %pattern_type.ccb = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc14: type = splice_block %A.ref [concrete = constants.%A] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc14_10.2: %A = symbolic_binding T, 0 [symbolic = %T.loc14_10.1 (constants.%T.981)] +// CHECK:STDOUT: %T.loc14_10.2: %A = symbolic_binding T, 0 [symbolic = %T.loc14_10.1 (constants.%T.9fa)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -491,7 +491,7 @@ class E(U:! type) {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @D.loc14(%T.loc14_10.2: %A) { -// CHECK:STDOUT: %T.loc14_10.1: %A = symbolic_binding T, 0 [symbolic = %T.loc14_10.1 (constants.%T.981)] +// CHECK:STDOUT: %T.loc14_10.1: %A = symbolic_binding T, 0 [symbolic = %T.loc14_10.1 (constants.%T.9fa)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -500,7 +500,7 @@ class E(U:! type) {} // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%D.b6c +// CHECK:STDOUT: .Self = constants.%D.eb9 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -508,8 +508,8 @@ class E(U:! type) {} // CHECK:STDOUT: %T.loc6_10.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @D.loc14(constants.%T.981) { -// CHECK:STDOUT: %T.loc14_10.1 => constants.%T.981 +// CHECK:STDOUT: specific @D.loc14(constants.%T.9fa) { +// CHECK:STDOUT: %T.loc14_10.1 => constants.%T.9fa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_mismatch_param_name.carbon @@ -519,12 +519,12 @@ class E(U:! type) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %E.type.a40722.1: type = generic_class_type @E.loc4 [concrete] -// CHECK:STDOUT: %E.generic.f98bad.1: %E.type.a40722.1 = struct_value () [concrete] +// CHECK:STDOUT: %E.type.a48856.1: type = generic_class_type @E.loc4 [concrete] +// CHECK:STDOUT: %E.generic.0bcbc8.1: %E.type.a48856.1 = struct_value () [concrete] // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %E.type.a40722.2: type = generic_class_type @E.loc12 [concrete] -// CHECK:STDOUT: %E.generic.f98bad.2: %E.type.a40722.2 = struct_value () [concrete] -// CHECK:STDOUT: %E.366b07.2: type = class_type @E.loc12, @E.loc12(%U) [symbolic] +// CHECK:STDOUT: %E.type.a48856.2: type = generic_class_type @E.loc12 [concrete] +// CHECK:STDOUT: %E.generic.0bcbc8.2: %E.type.a48856.2 = struct_value () [concrete] +// CHECK:STDOUT: %E.44ccac.2: type = class_type @E.loc12, @E.loc12(%U) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: } @@ -542,7 +542,7 @@ class E(U:! type) {} // CHECK:STDOUT: .E = %E.decl.loc4 // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %E.decl.loc4: %E.type.a40722.1 = class_decl @E.loc4 [concrete = constants.%E.generic.f98bad.1] { +// CHECK:STDOUT: %E.decl.loc4: %E.type.a48856.1 = class_decl @E.loc4 [concrete = constants.%E.generic.0bcbc8.1] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_13.1: type = splice_block %.loc4_13.2 [concrete = type] { @@ -551,7 +551,7 @@ class E(U:! type) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc4_10.2: type = symbolic_binding T, 0 [symbolic = %T.loc4_10.1 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: %E.decl.loc12: %E.type.a40722.2 = class_decl @E.loc12 [concrete = constants.%E.generic.f98bad.2] { +// CHECK:STDOUT: %E.decl.loc12: %E.type.a48856.2 = class_decl @E.loc12 [concrete = constants.%E.generic.0bcbc8.2] { // CHECK:STDOUT: %U.patt: %pattern_type = symbolic_binding_pattern U, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc12_13.1: type = splice_block %.loc12_13.2 [concrete = type] { @@ -578,7 +578,7 @@ class E(U:! type) {} // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%E.366b07.2 +// CHECK:STDOUT: .Self = constants.%E.44ccac.2 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/generic/self.carbon b/toolchain/check/testdata/class/generic/self.carbon index e2f155df7155..620746ecb5f0 100644 --- a/toolchain/check/testdata/class/generic/self.carbon +++ b/toolchain/check/testdata/class/generic/self.carbon @@ -34,8 +34,8 @@ class Class(T:! type) { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Class.generic: %Class.type = struct_value () [concrete] // CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T) [symbolic] -// CHECK:STDOUT: %.8f0: Core.Form = init_form %Class [symbolic] -// CHECK:STDOUT: %pattern_type.a45: type = pattern_type %Class [symbolic] +// CHECK:STDOUT: %.188: Core.Form = init_form %Class [symbolic] +// CHECK:STDOUT: %pattern_type.f8f: type = pattern_type %Class [symbolic] // CHECK:STDOUT: %Class.MakeSelf.type: type = fn_type @Class.MakeSelf, @Class(%T) [symbolic] // CHECK:STDOUT: %Class.MakeSelf: %Class.MakeSelf.type = struct_value () [symbolic] // CHECK:STDOUT: %Class.MakeClass.type: type = fn_type @Class.MakeClass, @Class(%T) [symbolic] @@ -51,11 +51,11 @@ class Class(T:! type) { // CHECK:STDOUT: %Class.MakeClass.specific_fn: = specific_function %Class.MakeClass, @Class.MakeClass(%T) [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Class, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.21b: %Destroy.type = facet_value %Class, (%Destroy.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.8e3: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.21b) [symbolic] -// CHECK:STDOUT: %.dd5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.8e3, %Destroy.facet.21b [symbolic] -// CHECK:STDOUT: %impl.elem0: %.dd5 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Destroy.WithSelf.Op(%Destroy.facet.21b) [symbolic] +// CHECK:STDOUT: %Destroy.facet.856: %Destroy.type = facet_value %Class, (%Destroy.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.81d: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.856) [symbolic] +// CHECK:STDOUT: %.350: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.81d, %Destroy.facet.856 [symbolic] +// CHECK:STDOUT: %impl.elem0: %.350 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Destroy.WithSelf.Op(%Destroy.facet.856) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -97,23 +97,23 @@ class Class(T:! type) { // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: %Class.MakeSelf.decl: @Class.%Class.MakeSelf.type (%Class.MakeSelf.type) = fn_decl @Class.MakeSelf [symbolic = @Class.%Class.MakeSelf (constants.%Class.MakeSelf)] { -// CHECK:STDOUT: %return.param_patt: @Class.MakeSelf.%pattern_type (%pattern_type.a45) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Class.MakeSelf.%pattern_type (%pattern_type.a45) = return_slot_pattern %return.param_patt, %Self.ref [concrete] +// CHECK:STDOUT: %return.param_patt: @Class.MakeSelf.%pattern_type (%pattern_type.f8f) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Class.MakeSelf.%pattern_type (%pattern_type.f8f) = return_slot_pattern %return.param_patt, %Self.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc18_20.2: type = specific_constant constants.%Class, @Class(constants.%T) [symbolic = %Class (constants.%Class)] // CHECK:STDOUT: %Self.ref: type = name_ref Self, %.loc18_20.2 [symbolic = %Class (constants.%Class)] -// CHECK:STDOUT: %.loc18_20.3: Core.Form = init_form %Self.ref [symbolic = %.loc18_20.1 (constants.%.8f0)] +// CHECK:STDOUT: %.loc18_20.3: Core.Form = init_form %Self.ref [symbolic = %.loc18_20.1 (constants.%.188)] // CHECK:STDOUT: %return.param: ref @Class.MakeSelf.%Class (%Class) = out_param call_param0 // CHECK:STDOUT: %return: ref @Class.MakeSelf.%Class (%Class) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Class.MakeClass.decl: @Class.%Class.MakeClass.type (%Class.MakeClass.type) = fn_decl @Class.MakeClass [symbolic = @Class.%Class.MakeClass (constants.%Class.MakeClass)] { -// CHECK:STDOUT: %return.param_patt: @Class.MakeClass.%pattern_type (%pattern_type.a45) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Class.MakeClass.%pattern_type (%pattern_type.a45) = return_slot_pattern %return.param_patt, %Class.loc19_28.2 [concrete] +// CHECK:STDOUT: %return.param_patt: @Class.MakeClass.%pattern_type (%pattern_type.f8f) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Class.MakeClass.%pattern_type (%pattern_type.f8f) = return_slot_pattern %return.param_patt, %Class.loc19_28.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Class.ref: %Class.type = name_ref Class, file.%Class.decl [concrete = constants.%Class.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, @Class.%T.loc15_14.2 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %Class.loc19_28.2: type = class_type @Class, @Class(constants.%T) [symbolic = %Class.loc19_28.1 (constants.%Class)] -// CHECK:STDOUT: %.loc19_28.2: Core.Form = init_form %Class.loc19_28.2 [symbolic = %.loc19_28.1 (constants.%.8f0)] +// CHECK:STDOUT: %.loc19_28.2: Core.Form = init_form %Class.loc19_28.2 [symbolic = %.loc19_28.1 (constants.%.188)] // CHECK:STDOUT: %return.param: ref @Class.MakeClass.%Class.loc19_28.1 (%Class) = out_param call_param0 // CHECK:STDOUT: %return: ref @Class.MakeClass.%Class.loc19_28.1 (%Class) = return_slot %return.param // CHECK:STDOUT: } @@ -134,8 +134,8 @@ class Class(T:! type) { // CHECK:STDOUT: generic fn @Class.MakeSelf(@Class.%T.loc15_14.2: type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T) [symbolic = %Class (constants.%Class)] -// CHECK:STDOUT: %.loc18_20.1: Core.Form = init_form %Class [symbolic = %.loc18_20.1 (constants.%.8f0)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Class [symbolic = %pattern_type (constants.%pattern_type.a45)] +// CHECK:STDOUT: %.loc18_20.1: Core.Form = init_form %Class [symbolic = %.loc18_20.1 (constants.%.188)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Class [symbolic = %pattern_type (constants.%pattern_type.f8f)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %Class [symbolic = %require_complete (constants.%require_complete)] @@ -153,8 +153,8 @@ class Class(T:! type) { // CHECK:STDOUT: generic fn @Class.MakeClass(@Class.%T.loc15_14.2: type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %Class.loc19_28.1: type = class_type @Class, @Class(%T) [symbolic = %Class.loc19_28.1 (constants.%Class)] -// CHECK:STDOUT: %.loc19_28.1: Core.Form = init_form %Class.loc19_28.1 [symbolic = %.loc19_28.1 (constants.%.8f0)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Class.loc19_28.1 [symbolic = %pattern_type (constants.%pattern_type.a45)] +// CHECK:STDOUT: %.loc19_28.1: Core.Form = init_form %Class.loc19_28.1 [symbolic = %.loc19_28.1 (constants.%.188)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Class.loc19_28.1 [symbolic = %pattern_type (constants.%pattern_type.f8f)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %Class.loc19_28.1 [symbolic = %require_complete (constants.%require_complete)] @@ -174,7 +174,7 @@ class Class(T:! type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %Class.loc21_26.2: type = class_type @Class, @Class(%T) [symbolic = %Class.loc21_26.2 (constants.%Class)] // CHECK:STDOUT: %require_complete: = require_complete_type %Class.loc21_26.2 [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Class.loc21_26.2 [symbolic = %pattern_type (constants.%pattern_type.a45)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Class.loc21_26.2 [symbolic = %pattern_type (constants.%pattern_type.f8f)] // CHECK:STDOUT: %Class.MakeSelf.type: type = fn_type @Class.MakeSelf, @Class(%T) [symbolic = %Class.MakeSelf.type (constants.%Class.MakeSelf.type)] // CHECK:STDOUT: %Class.MakeSelf: @Class.F.%Class.MakeSelf.type (%Class.MakeSelf.type) = struct_value () [symbolic = %Class.MakeSelf (constants.%Class.MakeSelf)] // CHECK:STDOUT: %Class.MakeSelf.specific_fn.loc21_30.2: = specific_function %Class.MakeSelf, @Class.MakeSelf(%T) [symbolic = %Class.MakeSelf.specific_fn.loc21_30.2 (constants.%Class.MakeSelf.specific_fn)] @@ -182,17 +182,17 @@ class Class(T:! type) { // CHECK:STDOUT: %Class.MakeClass: @Class.F.%Class.MakeClass.type (%Class.MakeClass.type) = struct_value () [symbolic = %Class.MakeClass (constants.%Class.MakeClass)] // CHECK:STDOUT: %Class.MakeClass.specific_fn.loc22_26.2: = specific_function %Class.MakeClass, @Class.MakeClass(%T) [symbolic = %Class.MakeClass.specific_fn.loc22_26.2 (constants.%Class.MakeClass.specific_fn)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Class.loc21_26.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %Class.loc21_26.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.21b)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.8e3)] -// CHECK:STDOUT: %.loc22_5.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc22_5.2 (constants.%.dd5)] -// CHECK:STDOUT: %impl.elem0.loc22_5.2: @Class.F.%.loc22_5.2 (%.dd5) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_5.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %Class.loc21_26.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.856)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.81d)] +// CHECK:STDOUT: %.loc22_5.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc22_5.2 (constants.%.350)] +// CHECK:STDOUT: %impl.elem0.loc22_5.2: @Class.F.%.loc22_5.2 (%.350) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_5.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc22_5.2: = specific_impl_function %impl.elem0.loc22_5.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc22_5.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: @Class.F.%pattern_type (%pattern_type.a45) = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: @Class.F.%pattern_type (%pattern_type.a45) = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: @Class.F.%pattern_type (%pattern_type.f8f) = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: @Class.F.%pattern_type (%pattern_type.f8f) = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref @Class.F.%Class.loc21_26.2 (%Class) = var %c.var_patt // CHECK:STDOUT: %.loc21_30: @Class.F.%Class.MakeSelf.type (%Class.MakeSelf.type) = specific_constant @Class.%Class.MakeSelf.decl, @Class(constants.%T) [symbolic = %Class.MakeSelf (constants.%Class.MakeSelf)] @@ -208,8 +208,8 @@ class Class(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: %c: ref @Class.F.%Class.loc21_26.2 (%Class) = ref_binding c, %c.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %s.patt: @Class.F.%pattern_type (%pattern_type.a45) = ref_binding_pattern s [concrete] -// CHECK:STDOUT: %s.var_patt: @Class.F.%pattern_type (%pattern_type.a45) = var_pattern %s.patt [concrete] +// CHECK:STDOUT: %s.patt: @Class.F.%pattern_type (%pattern_type.f8f) = ref_binding_pattern s [concrete] +// CHECK:STDOUT: %s.var_patt: @Class.F.%pattern_type (%pattern_type.f8f) = var_pattern %s.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %s.var: ref @Class.F.%Class.loc21_26.2 (%Class) = var %s.var_patt // CHECK:STDOUT: %.loc22_26: @Class.F.%Class.MakeClass.type (%Class.MakeClass.type) = specific_constant @Class.%Class.MakeClass.decl, @Class(constants.%T) [symbolic = %Class.MakeClass (constants.%Class.MakeClass)] @@ -223,14 +223,14 @@ class Class(T:! type) { // CHECK:STDOUT: %Self.ref: type = name_ref Self, %.loc22_19.2 [symbolic = %Class.loc21_26.2 (constants.%Class)] // CHECK:STDOUT: } // CHECK:STDOUT: %s: ref @Class.F.%Class.loc21_26.2 (%Class) = ref_binding s, %s.var -// CHECK:STDOUT: %impl.elem0.loc22_5.1: @Class.F.%.loc22_5.2 (%.dd5) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_5.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc22_5.1: @Class.F.%.loc22_5.2 (%.350) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_5.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc22_5.1: = bound_method %s.var, %impl.elem0.loc22_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc22_5.1: = specific_impl_function %impl.elem0.loc22_5.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.21b) [symbolic = %specific_impl_fn.loc22_5.2 (constants.%specific_impl_fn)] +// CHECK:STDOUT: %specific_impl_fn.loc22_5.1: = specific_impl_function %impl.elem0.loc22_5.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.856) [symbolic = %specific_impl_fn.loc22_5.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %bound_method.loc22_5.2: = bound_method %s.var, %specific_impl_fn.loc22_5.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc22: init %empty_tuple.type = call %bound_method.loc22_5.2(%s.var) -// CHECK:STDOUT: %impl.elem0.loc21: @Class.F.%.loc22_5.2 (%.dd5) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_5.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc21: @Class.F.%.loc22_5.2 (%.350) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_5.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc21_5.1: = bound_method %c.var, %impl.elem0.loc21 -// CHECK:STDOUT: %specific_impl_fn.loc21: = specific_impl_function %impl.elem0.loc21, @Destroy.WithSelf.Op(constants.%Destroy.facet.21b) [symbolic = %specific_impl_fn.loc22_5.2 (constants.%specific_impl_fn)] +// CHECK:STDOUT: %specific_impl_fn.loc21: = specific_impl_function %impl.elem0.loc21, @Destroy.WithSelf.Op(constants.%Destroy.facet.856) [symbolic = %specific_impl_fn.loc22_5.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %bound_method.loc21_5.2: = bound_method %c.var, %specific_impl_fn.loc21 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc21: init %empty_tuple.type = call %bound_method.loc21_5.2(%c.var) // CHECK:STDOUT: return @@ -254,8 +254,8 @@ class Class(T:! type) { // CHECK:STDOUT: specific @Class.MakeSelf(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %Class => constants.%Class -// CHECK:STDOUT: %.loc18_20.1 => constants.%.8f0 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a45 +// CHECK:STDOUT: %.loc18_20.1 => constants.%.188 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f8f // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete @@ -265,8 +265,8 @@ class Class(T:! type) { // CHECK:STDOUT: specific @Class.MakeClass(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %Class.loc19_28.1 => constants.%Class -// CHECK:STDOUT: %.loc19_28.1 => constants.%.8f0 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a45 +// CHECK:STDOUT: %.loc19_28.1 => constants.%.188 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f8f // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete diff --git a/toolchain/check/testdata/class/generic/stringify.carbon b/toolchain/check/testdata/class/generic/stringify.carbon index 8d2815c9fd27..45ee91d6ff40 100644 --- a/toolchain/check/testdata/class/generic/stringify.carbon +++ b/toolchain/check/testdata/class/generic/stringify.carbon @@ -94,19 +94,19 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %EmptyParams.type: type = generic_class_type @EmptyParams [concrete] // CHECK:STDOUT: %EmptyParams.generic: %EmptyParams.type = struct_value () [concrete] // CHECK:STDOUT: %EmptyParams: type = class_type @EmptyParams [concrete] -// CHECK:STDOUT: %pattern_type.89c: type = pattern_type %NoParams [concrete] +// CHECK:STDOUT: %pattern_type.da8: type = pattern_type %NoParams [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.59f: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%NoParams) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.a4d: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%NoParams) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.363: %T.as.DefaultOrUnformed.impl.Op.type.a4d = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %NoParams, (%DefaultOrUnformed.impl_witness.59f) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.363, @T.as.DefaultOrUnformed.impl.Op(%NoParams) [concrete] -// CHECK:STDOUT: %pattern_type.7a5: type = pattern_type %EmptyParams [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.a13: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%NoParams) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.299: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%NoParams) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.cfc: %T.as.DefaultOrUnformed.impl.Op.type.299 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %NoParams, (%DefaultOrUnformed.impl_witness.a13) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.cfc, @T.as.DefaultOrUnformed.impl.Op(%NoParams) [concrete] +// CHECK:STDOUT: %pattern_type.72b: type = pattern_type %EmptyParams [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -117,9 +117,9 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -134,15 +134,15 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %NoParams.decl: type = class_decl @NoParams [concrete = constants.%NoParams] {} {} // CHECK:STDOUT: %EmptyParams.decl: %EmptyParams.type = class_decl @EmptyParams [concrete = constants.%EmptyParams.generic] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.89c = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.89c = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.da8 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.da8 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %NoParams = var %v.var_patt [concrete] // CHECK:STDOUT: %NoParams.ref: type = name_ref NoParams, %NoParams.decl [concrete = constants.%NoParams] // CHECK:STDOUT: %v: ref %NoParams = ref_binding v, %v.var [concrete = %v.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: %pattern_type.7a5 = ref_binding_pattern w [concrete] -// CHECK:STDOUT: %w.var_patt: %pattern_type.7a5 = var_pattern %w.patt [concrete] +// CHECK:STDOUT: %w.patt: %pattern_type.72b = ref_binding_pattern w [concrete] +// CHECK:STDOUT: %w.var_patt: %pattern_type.72b = var_pattern %w.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %w.var: ref %EmptyParams = var %w.var_patt [concrete] // CHECK:STDOUT: %.loc15: type = splice_block %EmptyParams [concrete = constants.%EmptyParams] { @@ -170,11 +170,11 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%NoParams, (constants.%DefaultOrUnformed.impl_witness.59f) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%NoParams, (constants.%DefaultOrUnformed.impl_witness.a13) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc7_16.1: %DefaultOrUnformed.type = converted constants.%NoParams, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_16.1 [concrete = constants.%NoParams] // CHECK:STDOUT: %.loc7_16.2: type = converted %.loc7_16.1, %as_type [concrete = constants.%NoParams] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.363, @T.as.DefaultOrUnformed.impl.Op(constants.%NoParams) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.cfc, @T.as.DefaultOrUnformed.impl.Op(constants.%NoParams) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %.loc7_1: ref %NoParams = splice_block file.%v.var [concrete = file.%v.var] {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %NoParams to %.loc7_1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%v.var, %T.as.DefaultOrUnformed.impl.Op.call @@ -193,37 +193,37 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Outer.type: type = generic_class_type @Outer [concrete] // CHECK:STDOUT: %Outer.generic: %Outer.type = struct_value () [concrete] -// CHECK:STDOUT: %Outer.22f: type = class_type @Outer, @Outer(%T.67d) [symbolic] +// CHECK:STDOUT: %Outer.3b5: type = class_type @Outer, @Outer(%T.67d) [symbolic] // CHECK:STDOUT: %U: type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %Inner.type.4c4: type = generic_class_type @Inner, @Outer(%T.67d) [symbolic] -// CHECK:STDOUT: %Inner.generic.9fc: %Inner.type.4c4 = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.64e: type = class_type @Inner, @Inner(%T.67d, %U) [symbolic] +// CHECK:STDOUT: %Inner.type.e77: type = generic_class_type @Inner, @Outer(%T.67d) [symbolic] +// CHECK:STDOUT: %Inner.generic.92c: %Inner.type.e77 = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.6c4: type = class_type @Inner, @Inner(%T.67d, %U) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %ptr.c28: type = ptr_type %empty_struct_type [concrete] -// CHECK:STDOUT: %Outer.b4e: type = class_type @Outer, @Outer(%ptr.c28) [concrete] -// CHECK:STDOUT: %Inner.type.d89: type = generic_class_type @Inner, @Outer(%ptr.c28) [concrete] -// CHECK:STDOUT: %Inner.generic.67c: %Inner.type.d89 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.b59: type = pattern_type %Outer.b4e [concrete] +// CHECK:STDOUT: %Outer.22d: type = class_type @Outer, @Outer(%ptr.c28) [concrete] +// CHECK:STDOUT: %Inner.type.33d: type = generic_class_type @Inner, @Outer(%ptr.c28) [concrete] +// CHECK:STDOUT: %Inner.generic.9bf: %Inner.type.33d = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.1b3: type = pattern_type %Outer.22d [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.434: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%Outer.b4e) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.85f: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Outer.b4e) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.c18: %T.as.DefaultOrUnformed.impl.Op.type.85f = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Outer.b4e, (%DefaultOrUnformed.impl_witness.434) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.c18, @T.as.DefaultOrUnformed.impl.Op(%Outer.b4e) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.cc5: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%Outer.22d) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.69d: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Outer.22d) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.51b: %T.as.DefaultOrUnformed.impl.Op.type.69d = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Outer.22d, (%DefaultOrUnformed.impl_witness.cc5) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.51b, @T.as.DefaultOrUnformed.impl.Op(%Outer.22d) [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %ptr.452: type = ptr_type %struct_type.a [concrete] -// CHECK:STDOUT: %Inner.4e2: type = class_type @Inner, @Inner(%ptr.c28, %ptr.452) [concrete] -// CHECK:STDOUT: %pattern_type.6a0: type = pattern_type %Inner.4e2 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ptr.084: type = ptr_type %struct_type.a [concrete] +// CHECK:STDOUT: %Inner.132: type = class_type @Inner, @Inner(%ptr.c28, %ptr.084) [concrete] +// CHECK:STDOUT: %pattern_type.c01: type = pattern_type %Inner.132 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -235,10 +235,10 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -259,48 +259,48 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %T.loc4_14.2: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.b59 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.b59 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.1b3 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.1b3 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref %Outer.b4e = var %v.var_patt [concrete] -// CHECK:STDOUT: %.loc9_17: type = splice_block %Outer.loc9 [concrete = constants.%Outer.b4e] { +// CHECK:STDOUT: %v.var: ref %Outer.22d = var %v.var_patt [concrete] +// CHECK:STDOUT: %.loc9_17: type = splice_block %Outer.loc9 [concrete = constants.%Outer.22d] { // CHECK:STDOUT: %Outer.ref.loc9: %Outer.type = name_ref Outer, %Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %.loc9_15: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_16: type = converted %.loc9_15, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %ptr.loc9: type = ptr_type %.loc9_16 [concrete = constants.%ptr.c28] -// CHECK:STDOUT: %Outer.loc9: type = class_type @Outer, @Outer(constants.%ptr.c28) [concrete = constants.%Outer.b4e] +// CHECK:STDOUT: %Outer.loc9: type = class_type @Outer, @Outer(constants.%ptr.c28) [concrete = constants.%Outer.22d] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref %Outer.b4e = ref_binding v, %v.var [concrete = %v.var] +// CHECK:STDOUT: %v: ref %Outer.22d = ref_binding v, %v.var [concrete = %v.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: %pattern_type.6a0 = ref_binding_pattern w [concrete] -// CHECK:STDOUT: %w.var_patt: %pattern_type.6a0 = var_pattern %w.patt [concrete] +// CHECK:STDOUT: %w.patt: %pattern_type.c01 = ref_binding_pattern w [concrete] +// CHECK:STDOUT: %w.var_patt: %pattern_type.c01 = var_pattern %w.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %w.var: ref %Inner.4e2 = var %w.var_patt [concrete] -// CHECK:STDOUT: %.loc19_35: type = splice_block %Inner [concrete = constants.%Inner.4e2] { +// CHECK:STDOUT: %w.var: ref %Inner.132 = var %w.var_patt [concrete] +// CHECK:STDOUT: %.loc19_35: type = splice_block %Inner [concrete = constants.%Inner.132] { // CHECK:STDOUT: %Outer.ref.loc19: %Outer.type = name_ref Outer, %Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %.loc19_15: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc19_16: type = converted %.loc19_15, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %ptr.loc19_16: type = ptr_type %.loc19_16 [concrete = constants.%ptr.c28] -// CHECK:STDOUT: %Outer.loc19: type = class_type @Outer, @Outer(constants.%ptr.c28) [concrete = constants.%Outer.b4e] -// CHECK:STDOUT: %.loc19_18: %Inner.type.d89 = specific_constant @Outer.%Inner.decl, @Outer(constants.%ptr.c28) [concrete = constants.%Inner.generic.67c] -// CHECK:STDOUT: %Inner.ref: %Inner.type.d89 = name_ref Inner, %.loc19_18 [concrete = constants.%Inner.generic.67c] +// CHECK:STDOUT: %Outer.loc19: type = class_type @Outer, @Outer(constants.%ptr.c28) [concrete = constants.%Outer.22d] +// CHECK:STDOUT: %.loc19_18: %Inner.type.33d = specific_constant @Outer.%Inner.decl, @Outer(constants.%ptr.c28) [concrete = constants.%Inner.generic.9bf] +// CHECK:STDOUT: %Inner.ref: %Inner.type.33d = name_ref Inner, %.loc19_18 [concrete = constants.%Inner.generic.9bf] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a] -// CHECK:STDOUT: %ptr.loc19_34: type = ptr_type %struct_type.a [concrete = constants.%ptr.452] -// CHECK:STDOUT: %Inner: type = class_type @Inner, @Inner(constants.%ptr.c28, constants.%ptr.452) [concrete = constants.%Inner.4e2] +// CHECK:STDOUT: %ptr.loc19_34: type = ptr_type %struct_type.a [concrete = constants.%ptr.084] +// CHECK:STDOUT: %Inner: type = class_type @Inner, @Inner(constants.%ptr.c28, constants.%ptr.084) [concrete = constants.%Inner.132] // CHECK:STDOUT: } -// CHECK:STDOUT: %w: ref %Inner.4e2 = ref_binding w, %w.var [concrete = %w.var] +// CHECK:STDOUT: %w: ref %Inner.132 = ref_binding w, %w.var [concrete = %w.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @Outer(%T.loc4_14.2: type) { // CHECK:STDOUT: %T.loc4_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type: type = generic_class_type @Inner, @Outer(%T.loc4_14.1) [symbolic = %Inner.type (constants.%Inner.type.4c4)] -// CHECK:STDOUT: %Inner.generic: @Outer.%Inner.type (%Inner.type.4c4) = struct_value () [symbolic = %Inner.generic (constants.%Inner.generic.9fc)] +// CHECK:STDOUT: %Inner.type: type = generic_class_type @Inner, @Outer(%T.loc4_14.1) [symbolic = %Inner.type (constants.%Inner.type.e77)] +// CHECK:STDOUT: %Inner.generic: @Outer.%Inner.type (%Inner.type.e77) = struct_value () [symbolic = %Inner.generic (constants.%Inner.generic.92c)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %Inner.decl: @Outer.%Inner.type (%Inner.type.4c4) = class_decl @Inner [symbolic = @Outer.%Inner.generic (constants.%Inner.generic.9fc)] { +// CHECK:STDOUT: %Inner.decl: @Outer.%Inner.type (%Inner.type.e77) = class_decl @Inner [symbolic = @Outer.%Inner.generic (constants.%Inner.generic.92c)] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc5_19.1: type = splice_block %.loc5_19.2 [concrete = type] { @@ -313,7 +313,7 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Outer.22f +// CHECK:STDOUT: .Self = constants.%Outer.3b5 // CHECK:STDOUT: .Inner = %Inner.decl // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -328,22 +328,22 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Inner.64e +// CHECK:STDOUT: .Self = constants.%Inner.6c4 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Outer.b4e, (constants.%DefaultOrUnformed.impl_witness.434) [concrete = constants.%DefaultOrUnformed.facet] -// CHECK:STDOUT: %.loc9_18.1: %DefaultOrUnformed.type = converted constants.%Outer.b4e, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] -// CHECK:STDOUT: %as_type: type = facet_access_type %.loc9_18.1 [concrete = constants.%Outer.b4e] -// CHECK:STDOUT: %.loc9_18.2: type = converted %.loc9_18.1, %as_type [concrete = constants.%Outer.b4e] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.c18, @T.as.DefaultOrUnformed.impl.Op(constants.%Outer.b4e) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] -// CHECK:STDOUT: %.loc9_1: ref %Outer.b4e = splice_block file.%v.var [concrete = file.%v.var] {} -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %Outer.b4e to %.loc9_1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Outer.22d, (constants.%DefaultOrUnformed.impl_witness.cc5) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %.loc9_18.1: %DefaultOrUnformed.type = converted constants.%Outer.22d, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %as_type: type = facet_access_type %.loc9_18.1 [concrete = constants.%Outer.22d] +// CHECK:STDOUT: %.loc9_18.2: type = converted %.loc9_18.1, %as_type [concrete = constants.%Outer.22d] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.51b, @T.as.DefaultOrUnformed.impl.Op(constants.%Outer.22d) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %.loc9_1: ref %Outer.22d = splice_block file.%v.var [concrete = file.%v.var] {} +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %Outer.22d to %.loc9_1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%v.var, %T.as.DefaultOrUnformed.impl.Op.call -// CHECK:STDOUT: %v.ref: ref %Outer.b4e = name_ref v, file.%v [concrete = file.%v.var] -// CHECK:STDOUT: %.loc19: %Inner.4e2 = converted %v.ref, [concrete = ] +// CHECK:STDOUT: %v.ref: ref %Outer.22d = name_ref v, file.%v [concrete = file.%v.var] +// CHECK:STDOUT: %.loc19: %Inner.132 = converted %v.ref, [concrete = ] // CHECK:STDOUT: assign file.%w.var, // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -360,12 +360,12 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %T.loc4_14.1 => constants.%ptr.c28 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.d89 -// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.67c +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.33d +// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.9bf // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner(constants.%ptr.c28, constants.%ptr.452) { -// CHECK:STDOUT: %U.loc5_16.1 => constants.%ptr.452 +// CHECK:STDOUT: specific @Inner(constants.%ptr.c28, constants.%ptr.084) { +// CHECK:STDOUT: %U.loc5_16.1 => constants.%ptr.084 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -380,32 +380,32 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %N.afc: %i32 = symbolic_binding N, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %N.bbe: %i32 = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.77d: type = class_type @C, @C(%N.afc) [symbolic] +// CHECK:STDOUT: %C.9c1: type = class_type @C, @C(%N.bbe) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %int_123.fff: Core.IntLiteral = int_value 123 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_123.5a3: %i32 = int_value 123 [concrete] -// CHECK:STDOUT: %C.fec: type = class_type @C, @C(%int_123.5a3) [concrete] -// CHECK:STDOUT: %pattern_type.70b: type = pattern_type %C.fec [concrete] +// CHECK:STDOUT: %int_123.5b5: %i32 = int_value 123 [concrete] +// CHECK:STDOUT: %C.22c: type = class_type @C, @C(%int_123.5b5) [concrete] +// CHECK:STDOUT: %pattern_type.9fc: type = pattern_type %C.22c [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -417,9 +417,9 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -430,36 +430,36 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: %C.type = class_decl @C [concrete = constants.%C.generic] { -// CHECK:STDOUT: %N.patt: %pattern_type.c6b = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.104 = symbolic_binding_pattern N, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4: type = splice_block %i32 [concrete = constants.%i32] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc4_10.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc4_10.1 (constants.%N.afc)] +// CHECK:STDOUT: %N.loc4_10.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc4_10.1 (constants.%N.bbe)] // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.70b = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.70b = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.9fc = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.9fc = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref %C.fec = var %v.var_patt [concrete] -// CHECK:STDOUT: %.loc13_13.1: type = splice_block %C [concrete = constants.%C.fec] { +// CHECK:STDOUT: %v.var: ref %C.22c = var %v.var_patt [concrete] +// CHECK:STDOUT: %.loc13_13.1: type = splice_block %C [concrete = constants.%C.22c] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, %C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_123: Core.IntLiteral = int_value 123 [concrete = constants.%int_123.fff] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc13_13.1: = bound_method %int_123, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc13_13.2: = bound_method %int_123, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_13.2(%int_123) [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %.loc13_13.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %.loc13_13.3: %i32 = converted %int_123, %.loc13_13.2 [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_123.5a3) [concrete = constants.%C.fec] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_13.2(%int_123) [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %.loc13_13.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %.loc13_13.3: %i32 = converted %int_123, %.loc13_13.2 [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_123.5b5) [concrete = constants.%C.22c] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref %C.fec = ref_binding v, %v.var [concrete = %v.var] +// CHECK:STDOUT: %v: ref %C.22c = ref_binding v, %v.var [concrete = %v.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @C(%N.loc4_10.2: %i32) { -// CHECK:STDOUT: %N.loc4_10.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc4_10.1 (constants.%N.afc)] +// CHECK:STDOUT: %N.loc4_10.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc4_10.1 (constants.%N.bbe)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -468,24 +468,24 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.77d +// CHECK:STDOUT: .Self = constants.%C.9c1 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc13_18: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %.loc13_1: %C.fec = converted %.loc13_18, [concrete = ] +// CHECK:STDOUT: %.loc13_1: %C.22c = converted %.loc13_18, [concrete = ] // CHECK:STDOUT: assign file.%v.var, // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%N.afc) { -// CHECK:STDOUT: %N.loc4_10.1 => constants.%N.afc +// CHECK:STDOUT: specific @C(constants.%N.bbe) { +// CHECK:STDOUT: %N.loc4_10.1 => constants.%N.bbe // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_123.5a3) { -// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_123.5a3 +// CHECK:STDOUT: specific @C(constants.%int_123.5b5) { +// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_123.5b5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -499,58 +499,58 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %D.elem: type = unbound_element_type %D, %i32 [concrete] -// CHECK:STDOUT: %struct_type.a.b.602: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %complete_type.f58: = complete_type_witness %struct_type.a.b.602 [concrete] +// CHECK:STDOUT: %struct_type.a.b.b47: type = struct_type {.a: %i32, .b: %i32} [concrete] +// CHECK:STDOUT: %complete_type.abf: = complete_type_witness %struct_type.a.b.b47 [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.b7e: type = pattern_type %D [concrete] +// CHECK:STDOUT: %pattern_type.f1a: type = pattern_type %D [concrete] // CHECK:STDOUT: %F: %D = symbolic_binding F, 0 [symbolic] // CHECK:STDOUT: %E.type: type = generic_class_type @E [concrete] // CHECK:STDOUT: %E.generic: %E.type = struct_value () [concrete] -// CHECK:STDOUT: %E.0b4: type = class_type @E, @E(%F) [symbolic] +// CHECK:STDOUT: %E.02d: type = class_type @E, @E(%F) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.4aa: %struct_type.a.b.cfd = struct_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %D.val.e9d: %D = struct_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %.35b: ref %D = temporary invalid, %D.val.e9d [concrete] -// CHECK:STDOUT: %E.231: type = class_type @E, @E(%D.val.e9d) [concrete] -// CHECK:STDOUT: %pattern_type.f8c: type = pattern_type %E.231 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %D.val.d42: %D = struct_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %.62c: ref %D = temporary invalid, %D.val.d42 [concrete] +// CHECK:STDOUT: %E.e69: type = class_type @E, @E(%D.val.d42) [concrete] +// CHECK:STDOUT: %pattern_type.f35: type = pattern_type %E.e69 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] // CHECK:STDOUT: %struct.cb7: %struct_type.a.b.cfd = struct_value (%int_3.1ba, %int_4.0c1) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] -// CHECK:STDOUT: %D.val.2d7: %D = struct_value (%int_3.49a, %int_4.a7d) [concrete] -// CHECK:STDOUT: %.7f3: ref %D = temporary invalid, %D.val.2d7 [concrete] -// CHECK:STDOUT: %E.f0f: type = class_type @E, @E(%D.val.2d7) [concrete] -// CHECK:STDOUT: %E.val: %E.f0f = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %D.val.d13: %D = struct_value (%int_3.6cc, %int_4.a4d) [concrete] +// CHECK:STDOUT: %.cc2: ref %D = temporary invalid, %D.val.d13 [concrete] +// CHECK:STDOUT: %E.a15: type = class_type @E, @E(%D.val.d13) [concrete] +// CHECK:STDOUT: %E.val: %E.a15 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -561,9 +561,9 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -576,7 +576,7 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %D.decl: type = class_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: %E.decl: %E.type = class_decl @E [concrete = constants.%E.generic] { -// CHECK:STDOUT: %F.patt: %pattern_type.b7e = symbolic_binding_pattern F, 0 [concrete] +// CHECK:STDOUT: %F.patt: %pattern_type.f1a = symbolic_binding_pattern F, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc9: type = splice_block %D.ref [concrete = constants.%D] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -585,45 +585,45 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %F.loc9_10.2: %D = symbolic_binding F, 0 [symbolic = %F.loc9_10.1 (constants.%F)] // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %g.patt: %pattern_type.f8c = ref_binding_pattern g [concrete] -// CHECK:STDOUT: %g.var_patt: %pattern_type.f8c = var_pattern %g.patt [concrete] +// CHECK:STDOUT: %g.patt: %pattern_type.f35 = ref_binding_pattern g [concrete] +// CHECK:STDOUT: %g.var_patt: %pattern_type.f35 = var_pattern %g.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %g.var: ref %E.231 = var %g.var_patt [concrete] -// CHECK:STDOUT: %.loc18_26.1: type = splice_block %E [concrete = constants.%E.231] { +// CHECK:STDOUT: %g.var: ref %E.e69 = var %g.var_patt [concrete] +// CHECK:STDOUT: %.loc18_26.1: type = splice_block %E [concrete = constants.%E.e69] { // CHECK:STDOUT: %E.ref: %E.type = name_ref E, %E.decl [concrete = constants.%E.generic] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc18_25.1: %struct_type.a.b.cfd = struct_literal (%int_1, %int_2) [concrete = constants.%struct.4aa] -// CHECK:STDOUT: %impl.elem0.loc18_25.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_25.1: = bound_method %int_1, %impl.elem0.loc18_25.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc18_25.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_25.1: = bound_method %int_1, %impl.elem0.loc18_25.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc18_25.1: = specific_function %impl.elem0.loc18_25.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_25.2: = bound_method %int_1, %specific_fn.loc18_25.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_25.1: init %i32 = call %bound_method.loc18_25.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_25.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_25.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc18_25.2: = bound_method %int_1, %specific_fn.loc18_25.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_25.1: init %i32 = call %bound_method.loc18_25.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_25.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_25.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc18_25.3: ref %D = temporary_storage // CHECK:STDOUT: %.loc18_25.4: ref %i32 = class_element_access %.loc18_25.3, element0 -// CHECK:STDOUT: %.loc18_25.5: init %i32 to %.loc18_25.4 = in_place_init %.loc18_25.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc18_25.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_25.3: = bound_method %int_2, %impl.elem0.loc18_25.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc18_25.5: init %i32 to %.loc18_25.4 = in_place_init %.loc18_25.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc18_25.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_25.3: = bound_method %int_2, %impl.elem0.loc18_25.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc18_25.2: = specific_function %impl.elem0.loc18_25.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_25.4: = bound_method %int_2, %specific_fn.loc18_25.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_25.2: init %i32 = call %bound_method.loc18_25.4(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_25.6: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_25.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc18_25.4: = bound_method %int_2, %specific_fn.loc18_25.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_25.2: init %i32 = call %bound_method.loc18_25.4(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_25.6: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_25.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc18_25.7: ref %i32 = class_element_access %.loc18_25.3, element1 -// CHECK:STDOUT: %.loc18_25.8: init %i32 to %.loc18_25.7 = in_place_init %.loc18_25.6 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_25.9: init %D to %.loc18_25.3 = class_init (%.loc18_25.5, %.loc18_25.8) [concrete = constants.%D.val.e9d] -// CHECK:STDOUT: %.loc18_26.2: init %D = converted %.loc18_25.1, %.loc18_25.9 [concrete = constants.%D.val.e9d] -// CHECK:STDOUT: %.loc18_26.3: ref %D = temporary %.loc18_25.3, %.loc18_26.2 [concrete = constants.%.35b] -// CHECK:STDOUT: %.loc18_26.4: %D = acquire_value %.loc18_26.3 [concrete = constants.%D.val.e9d] -// CHECK:STDOUT: %E: type = class_type @E, @E(constants.%D.val.e9d) [concrete = constants.%E.231] +// CHECK:STDOUT: %.loc18_25.8: init %i32 to %.loc18_25.7 = in_place_init %.loc18_25.6 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_25.9: init %D to %.loc18_25.3 = class_init (%.loc18_25.5, %.loc18_25.8) [concrete = constants.%D.val.d42] +// CHECK:STDOUT: %.loc18_26.2: init %D = converted %.loc18_25.1, %.loc18_25.9 [concrete = constants.%D.val.d42] +// CHECK:STDOUT: %.loc18_26.3: ref %D = temporary %.loc18_25.3, %.loc18_26.2 [concrete = constants.%.62c] +// CHECK:STDOUT: %.loc18_26.4: %D = acquire_value %.loc18_26.3 [concrete = constants.%D.val.d42] +// CHECK:STDOUT: %E: type = class_type @E, @E(constants.%D.val.d42) [concrete = constants.%E.e69] // CHECK:STDOUT: } -// CHECK:STDOUT: %g: ref %E.231 = ref_binding g, %g.var [concrete = %g.var] +// CHECK:STDOUT: %g: ref %E.e69 = ref_binding g, %g.var [concrete = %g.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @D { // CHECK:STDOUT: %.loc5: %D.elem = field_decl a, element0 [concrete] // CHECK:STDOUT: %.loc6: %D.elem = field_decl b, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.602 [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.b47 [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -642,7 +642,7 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%E.0b4 +// CHECK:STDOUT: .Self = constants.%E.02d // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -654,32 +654,32 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] // CHECK:STDOUT: %.loc18_53.1: %struct_type.a.b.cfd = struct_literal (%int_3, %int_4) [concrete = constants.%struct.cb7] // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %impl.elem0.loc18_53.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_53.1: = bound_method %int_3, %impl.elem0.loc18_53.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc18_53.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_53.1: = bound_method %int_3, %impl.elem0.loc18_53.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc18_53.1: = specific_function %impl.elem0.loc18_53.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_53.2: = bound_method %int_3, %specific_fn.loc18_53.1 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_53.1: init %i32 = call %bound_method.loc18_53.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc18_53.2: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_53.1 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc18_53.2: = bound_method %int_3, %specific_fn.loc18_53.1 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_53.1: init %i32 = call %bound_method.loc18_53.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc18_53.2: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_53.1 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc18_53.3: ref %D = temporary_storage // CHECK:STDOUT: %.loc18_53.4: ref %i32 = class_element_access %.loc18_53.3, element0 -// CHECK:STDOUT: %.loc18_53.5: init %i32 to %.loc18_53.4 = in_place_init %.loc18_53.2 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %impl.elem0.loc18_53.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_53.3: = bound_method %int_4, %impl.elem0.loc18_53.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %.loc18_53.5: init %i32 to %.loc18_53.4 = in_place_init %.loc18_53.2 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %impl.elem0.loc18_53.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_53.3: = bound_method %int_4, %impl.elem0.loc18_53.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc18_53.2: = specific_function %impl.elem0.loc18_53.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_53.4: = bound_method %int_4, %specific_fn.loc18_53.2 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_53.2: init %i32 = call %bound_method.loc18_53.4(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc18_53.6: init %i32 = converted %int_4, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_53.2 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %bound_method.loc18_53.4: = bound_method %int_4, %specific_fn.loc18_53.2 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_53.2: init %i32 = call %bound_method.loc18_53.4(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc18_53.6: init %i32 = converted %int_4, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_53.2 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: %.loc18_53.7: ref %i32 = class_element_access %.loc18_53.3, element1 -// CHECK:STDOUT: %.loc18_53.8: init %i32 to %.loc18_53.7 = in_place_init %.loc18_53.6 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc18_53.9: init %D to %.loc18_53.3 = class_init (%.loc18_53.5, %.loc18_53.8) [concrete = constants.%D.val.2d7] -// CHECK:STDOUT: %.loc18_55.1: init %D = converted %.loc18_53.1, %.loc18_53.9 [concrete = constants.%D.val.2d7] -// CHECK:STDOUT: %.loc18_55.2: ref %D = temporary %.loc18_53.3, %.loc18_55.1 [concrete = constants.%.7f3] -// CHECK:STDOUT: %.loc18_55.3: %D = acquire_value %.loc18_55.2 [concrete = constants.%D.val.2d7] -// CHECK:STDOUT: %E: type = class_type @E, @E(constants.%D.val.2d7) [concrete = constants.%E.f0f] -// CHECK:STDOUT: %.loc18_31.2: ref %E.f0f = temporary_storage -// CHECK:STDOUT: %.loc18_31.3: init %E.f0f to %.loc18_31.2 = class_init () [concrete = constants.%E.val] -// CHECK:STDOUT: %.loc18_33: init %E.f0f = converted %.loc18_31.1, %.loc18_31.3 [concrete = constants.%E.val] -// CHECK:STDOUT: %.loc18_1: %E.231 = converted %.loc18_33, [concrete = ] +// CHECK:STDOUT: %.loc18_53.8: init %i32 to %.loc18_53.7 = in_place_init %.loc18_53.6 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc18_53.9: init %D to %.loc18_53.3 = class_init (%.loc18_53.5, %.loc18_53.8) [concrete = constants.%D.val.d13] +// CHECK:STDOUT: %.loc18_55.1: init %D = converted %.loc18_53.1, %.loc18_53.9 [concrete = constants.%D.val.d13] +// CHECK:STDOUT: %.loc18_55.2: ref %D = temporary %.loc18_53.3, %.loc18_55.1 [concrete = constants.%.cc2] +// CHECK:STDOUT: %.loc18_55.3: %D = acquire_value %.loc18_55.2 [concrete = constants.%D.val.d13] +// CHECK:STDOUT: %E: type = class_type @E, @E(constants.%D.val.d13) [concrete = constants.%E.a15] +// CHECK:STDOUT: %.loc18_31.2: ref %E.a15 = temporary_storage +// CHECK:STDOUT: %.loc18_31.3: init %E.a15 to %.loc18_31.2 = class_init () [concrete = constants.%E.val] +// CHECK:STDOUT: %.loc18_33: init %E.a15 = converted %.loc18_31.1, %.loc18_31.3 [concrete = constants.%E.val] +// CHECK:STDOUT: %.loc18_1: %E.e69 = converted %.loc18_33, [concrete = ] // CHECK:STDOUT: assign file.%g.var, // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -688,14 +688,14 @@ var g: E({.a = 1, .b = 2}) = {} as E({.a = 3, .b = 4} as D); // CHECK:STDOUT: %F.loc9_10.1 => constants.%F // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @E(constants.%D.val.e9d) { -// CHECK:STDOUT: %F.loc9_10.1 => constants.%D.val.e9d +// CHECK:STDOUT: specific @E(constants.%D.val.d42) { +// CHECK:STDOUT: %F.loc9_10.1 => constants.%D.val.d42 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @E(constants.%D.val.2d7) { -// CHECK:STDOUT: %F.loc9_10.1 => constants.%D.val.2d7 +// CHECK:STDOUT: specific @E(constants.%D.val.d13) { +// CHECK:STDOUT: %F.loc9_10.1 => constants.%D.val.d13 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/implicit_import.carbon b/toolchain/check/testdata/class/implicit_import.carbon index d1cc53b5f34b..4266d4bd873e 100644 --- a/toolchain/check/testdata/class/implicit_import.carbon +++ b/toolchain/check/testdata/class/implicit_import.carbon @@ -158,7 +158,7 @@ class B {} // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//redecl_after_def, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.439 = import_ref Main//redecl_after_def, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//redecl_after_def, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -174,7 +174,7 @@ class B {} // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.439 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- redef_after_def.carbon @@ -203,16 +203,16 @@ class B {} // CHECK:STDOUT: --- fail_redef_after_def.impl.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %C.921ae1.1: type = class_type @C.1 [concrete] +// CHECK:STDOUT: %C.a20dd8.1: type = class_type @C.1 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %C.921ae1.2: type = class_type @C.loc12 [concrete] +// CHECK:STDOUT: %C.a20dd8.2: type = class_type @C.loc12 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.C: type = import_ref Main//redef_after_def, C, loaded [concrete = constants.%C.921ae1.1] +// CHECK:STDOUT: %Main.C: type = import_ref Main//redef_after_def, C, loaded [concrete = constants.%C.a20dd8.1] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//redef_after_def, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.c9b = import_ref Main//redef_after_def, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//redef_after_def, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -221,14 +221,14 @@ class B {} // CHECK:STDOUT: } // CHECK:STDOUT: %default.import.loc2_31.1 = import // CHECK:STDOUT: %default.import.loc2_31.2 = import -// CHECK:STDOUT: %C.decl: type = class_decl @C.loc12 [concrete = constants.%C.921ae1.2] {} {} +// CHECK:STDOUT: %C.decl: type = class_decl @C.loc12 [concrete = constants.%C.a20dd8.2] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C.1 [from "redef_after_def.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.c9b +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C.loc12 { @@ -236,7 +236,7 @@ class B {} // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.921ae1.2 +// CHECK:STDOUT: .Self = constants.%C.a20dd8.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- def_alias.carbon diff --git a/toolchain/check/testdata/class/import.carbon b/toolchain/check/testdata/class/import.carbon index 3333dec3e48e..3a1d203f9d76 100644 --- a/toolchain/check/testdata/class/import.carbon +++ b/toolchain/check/testdata/class/import.carbon @@ -66,9 +66,9 @@ fn Run() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Field.elem: type = unbound_element_type %Field, %i32 [concrete] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fa5: = complete_type_witness %struct_type.x [concrete] +// CHECK:STDOUT: %complete_type.9a8: = complete_type_witness %struct_type.x [concrete] // CHECK:STDOUT: %ForwardDeclared: type = class_type @ForwardDeclared [concrete] -// CHECK:STDOUT: %pattern_type.d21: type = pattern_type %ForwardDeclared [concrete] +// CHECK:STDOUT: %pattern_type.c30: type = pattern_type %ForwardDeclared [concrete] // CHECK:STDOUT: %ForwardDeclared.F.type: type = fn_type @ForwardDeclared.F [concrete] // CHECK:STDOUT: %ForwardDeclared.F: %ForwardDeclared.F.type = struct_value () [concrete] // CHECK:STDOUT: %ForwardDeclared.G.type: type = fn_type @ForwardDeclared.G [concrete] @@ -111,7 +111,7 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: class @Field { // CHECK:STDOUT: %.loc8: %Field.elem = field_decl x, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x [concrete = constants.%complete_type.fa5] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x [concrete = constants.%complete_type.9a8] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -121,16 +121,16 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: class @ForwardDeclared { // CHECK:STDOUT: %ForwardDeclared.F.decl: %ForwardDeclared.F.type = fn_decl @ForwardDeclared.F [concrete = constants.%ForwardDeclared.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.d21 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.d21 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.c30 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.c30 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %ForwardDeclared = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%ForwardDeclared [concrete = constants.%ForwardDeclared] // CHECK:STDOUT: %self: %ForwardDeclared = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %ForwardDeclared.G.decl: %ForwardDeclared.G.type = fn_decl @ForwardDeclared.G [concrete = constants.%ForwardDeclared.G] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.d21 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.d21 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.c30 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.c30 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: ref %ForwardDeclared = ref_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%ForwardDeclared [concrete = constants.%ForwardDeclared] @@ -160,91 +160,91 @@ fn Run() { // CHECK:STDOUT: %Empty: type = class_type @Empty [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.4b2: type = pattern_type %Empty [concrete] +// CHECK:STDOUT: %pattern_type.799: type = pattern_type %Empty [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %Empty.val: %Empty = struct_value () [concrete] // CHECK:STDOUT: %Field: type = class_type @Field [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %struct_type.x.740: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.9ec: = complete_type_witness %struct_type.x.740 [concrete] -// CHECK:STDOUT: %pattern_type.272: type = pattern_type %Field [concrete] +// CHECK:STDOUT: %struct_type.x.375: type = struct_type {.x: %i32} [concrete] +// CHECK:STDOUT: %complete_type.75b: = complete_type_witness %struct_type.x.375 [concrete] +// CHECK:STDOUT: %pattern_type.b7b: type = pattern_type %Field [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.x.c96: type = struct_type {.x: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.x.c96 = struct_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.56e: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.cf3: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.768: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.1e6: = impl_witness imports.%ImplicitAs.impl_witness_table.bc3, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.108: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.924: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.108 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.56e = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.1e6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.634: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68b, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.ff4: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.924 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.924, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.b34: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.50a: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Field.val: %Field = struct_value (%int_1.50a) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.cd7: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e84: = impl_witness imports.%ImplicitAs.impl_witness_table.fca, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.104: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.785: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.104 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.cf3 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e84) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b79: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.56d: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b79, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d5f: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.785 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.785, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.392: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.6b0: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Field.val: %Field = struct_value (%int_1.6b0) [concrete] // CHECK:STDOUT: %Field.elem: type = unbound_element_type %Field, %i32 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.f4c: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.924 [concrete] -// CHECK:STDOUT: %bound_method.fe7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.21f: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %ForwardDeclared.63cd1a.1: type = class_type @ForwardDeclared.1 [concrete] -// CHECK:STDOUT: %pattern_type.6805: type = pattern_type %ForwardDeclared.63cd1a.1 [concrete] -// CHECK:STDOUT: %ForwardDeclared.val: %ForwardDeclared.63cd1a.1 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.cf8: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.785 [concrete] +// CHECK:STDOUT: %bound_method.90e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.c3d: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %ForwardDeclared.8a2991.1: type = class_type @ForwardDeclared.1 [concrete] +// CHECK:STDOUT: %pattern_type.c30: type = pattern_type %ForwardDeclared.8a2991.1 [concrete] +// CHECK:STDOUT: %ForwardDeclared.val: %ForwardDeclared.8a2991.1 = struct_value () [concrete] // CHECK:STDOUT: %ForwardDeclared.F.type: type = fn_type @ForwardDeclared.F [concrete] // CHECK:STDOUT: %ForwardDeclared.F: %ForwardDeclared.F.type = struct_value () [concrete] // CHECK:STDOUT: %ForwardDeclared.G.type: type = fn_type @ForwardDeclared.G [concrete] // CHECK:STDOUT: %ForwardDeclared.G: %ForwardDeclared.G.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.3ab: type = ptr_type %ForwardDeclared.63cd1a.1 [concrete] -// CHECK:STDOUT: %pattern_type.14b: type = pattern_type %ptr.3ab [concrete] +// CHECK:STDOUT: %ptr.01c: type = ptr_type %ForwardDeclared.8a2991.1 [concrete] +// CHECK:STDOUT: %pattern_type.88e: type = pattern_type %ptr.01c [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.f9b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%ForwardDeclared.63cd1a.1) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.bdc: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%ForwardDeclared.63cd1a.1) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.322: %ptr.as.Copy.impl.Op.type.bdc = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.3ab, (%Copy.impl_witness.f9b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.5b6: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.f75: type = fn_type_with_self_type %Copy.WithSelf.Op.type.5b6, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.322, @ptr.as.Copy.impl.Op(%ForwardDeclared.63cd1a.1) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.726: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%ForwardDeclared.8a2991.1) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.bd1: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%ForwardDeclared.8a2991.1) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.29e: %ptr.as.Copy.impl.Op.type.bd1 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.01c, (%Copy.impl_witness.726) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.719: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.778: type = fn_type_with_self_type %Copy.WithSelf.Op.type.719, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.29e, @ptr.as.Copy.impl.Op(%ForwardDeclared.8a2991.1) [concrete] // CHECK:STDOUT: %Incomplete: type = class_type @Incomplete [concrete] -// CHECK:STDOUT: %ptr.c81: type = ptr_type %Incomplete [concrete] -// CHECK:STDOUT: %pattern_type.9d7: type = pattern_type %ptr.c81 [concrete] +// CHECK:STDOUT: %ptr.a51: type = ptr_type %Incomplete [concrete] +// CHECK:STDOUT: %pattern_type.56b: type = pattern_type %ptr.a51 [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.6ee: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%ptr.c81) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.ac9: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%ptr.c81) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.012: %T.as.DefaultOrUnformed.impl.Op.type.ac9 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr.c81, (%DefaultOrUnformed.impl_witness.6ee) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.012, @T.as.DefaultOrUnformed.impl.Op(%ptr.c81) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.e64: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%ptr.a51) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bc4: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%ptr.a51) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.36c: %T.as.DefaultOrUnformed.impl.Op.type.bc4 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr.a51, (%DefaultOrUnformed.impl_witness.e64) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.36c, @T.as.DefaultOrUnformed.impl.Op(%ptr.a51) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc18 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc16 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc12_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.8: type = fn_type @Destroy.Op.loc9_3.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.8: %Destroy.Op.type.af7ec0.8 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.9: type = fn_type @Destroy.Op.loc7 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.9: %Destroy.Op.type.af7ec0.9 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc18 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc16 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc12_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.8: type = fn_type @Destroy.Op.loc9_3.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.8: %Destroy.Op.type.790b3b.8 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.9: type = fn_type @Destroy.Op.loc7 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.9: %Destroy.Op.type.790b3b.9 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.Empty: type = import_ref Main//a, Empty, loaded [concrete = constants.%Empty] // CHECK:STDOUT: %Main.Field: type = import_ref Main//a, Field, loaded [concrete = constants.%Field] -// CHECK:STDOUT: %Main.ForwardDeclared: type = import_ref Main//a, ForwardDeclared, loaded [concrete = constants.%ForwardDeclared.63cd1a.1] +// CHECK:STDOUT: %Main.ForwardDeclared: type = import_ref Main//a, ForwardDeclared, loaded [concrete = constants.%ForwardDeclared.8a2991.1] // CHECK:STDOUT: %Main.Incomplete: type = import_ref Main//a, Incomplete, loaded [concrete = constants.%Incomplete] -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: .Copy = %Core.Copy // CHECK:STDOUT: .DefaultOrUnformed = %Core.DefaultOrUnformed @@ -253,28 +253,28 @@ fn Run() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f24d3.1: = import_ref Main//a, loc5_1, loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.121 = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.bc4: = import_ref Main//a, loc9_1, loaded [concrete = constants.%complete_type.9ec] -// CHECK:STDOUT: %Main.import_ref.475 = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.488: %Field.elem = import_ref Main//a, loc8_8, loaded [concrete = %.c73] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.7f1: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.768)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.bc3 = impl_witness_table (%Core.import_ref.7f1), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %.c73: %Field.elem = field_decl x, element0 [concrete] +// CHECK:STDOUT: %Main.import_ref.d75 = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.018: = import_ref Main//a, loc9_1, loaded [concrete = constants.%complete_type.75b] +// CHECK:STDOUT: %Main.import_ref.95d = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.006: %Field.elem = import_ref Main//a, loc8_8, loaded [concrete = %.41e] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.4e5: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.cd7)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.fca = impl_witness_table (%Core.import_ref.4e5), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %.41e: %Field.elem = field_decl x, element0 [concrete] // CHECK:STDOUT: %Main.import_ref.8f24d3.2: = import_ref Main//a, loc16_1, loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.1dc190.1 = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.e20: %ForwardDeclared.F.type = import_ref Main//a, loc14_21, loaded [concrete = constants.%ForwardDeclared.F] -// CHECK:STDOUT: %Main.import_ref.43c: %ForwardDeclared.G.type = import_ref Main//a, loc15_25, loaded [concrete = constants.%ForwardDeclared.G] +// CHECK:STDOUT: %Main.import_ref.401653.1 = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.d29: %ForwardDeclared.F.type = import_ref Main//a, loc14_21, loaded [concrete = constants.%ForwardDeclared.F] +// CHECK:STDOUT: %Main.import_ref.7f9: %ForwardDeclared.G.type = import_ref Main//a, loc15_25, loaded [concrete = constants.%ForwardDeclared.G] // CHECK:STDOUT: %Main.import_ref.8f24d3.3: = import_ref Main//a, loc16_1, loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.1dc190.2 = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.aee = import_ref Main//a, loc14_21, unloaded -// CHECK:STDOUT: %Main.import_ref.5d4 = import_ref Main//a, loc15_25, unloaded +// CHECK:STDOUT: %Main.import_ref.401653.2 = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ad7 = import_ref Main//a, loc14_21, unloaded +// CHECK:STDOUT: %Main.import_ref.9d4 = import_ref Main//a, loc15_25, unloaded // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -284,7 +284,7 @@ fn Run() { // CHECK:STDOUT: .Field = imports.%Main.Field // CHECK:STDOUT: .ForwardDeclared = imports.%Main.ForwardDeclared // CHECK:STDOUT: .Incomplete = imports.%Main.Incomplete -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .Run = %Run.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core @@ -296,33 +296,33 @@ fn Run() { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.121 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.d75 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Field [from "a.carbon"] { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.bc4 +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.018 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.475 -// CHECK:STDOUT: .x = imports.%Main.import_ref.488 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.95d +// CHECK:STDOUT: .x = imports.%Main.import_ref.006 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @ForwardDeclared.1 [from "a.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.1dc190.1 -// CHECK:STDOUT: .F = imports.%Main.import_ref.e20 -// CHECK:STDOUT: .G = imports.%Main.import_ref.43c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.401653.1 +// CHECK:STDOUT: .F = imports.%Main.import_ref.d29 +// CHECK:STDOUT: .G = imports.%Main.import_ref.7f9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @ForwardDeclared.2 [from "a.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.1dc190.2 -// CHECK:STDOUT: .F = imports.%Main.import_ref.aee -// CHECK:STDOUT: .G = imports.%Main.import_ref.5d4 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.401653.2 +// CHECK:STDOUT: .F = imports.%Main.import_ref.ad7 +// CHECK:STDOUT: .G = imports.%Main.import_ref.9d4 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Incomplete [from "a.carbon"]; @@ -330,8 +330,8 @@ fn Run() { // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.4b2 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.4b2 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.799 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.799 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Empty = var %a.var_patt // CHECK:STDOUT: %.loc7_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -341,100 +341,100 @@ fn Run() { // CHECK:STDOUT: %Empty.ref: type = name_ref Empty, imports.%Main.Empty [concrete = constants.%Empty] // CHECK:STDOUT: %a: ref %Empty = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.272 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.272 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.b7b = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.b7b = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %Field = var %b.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc9_25.1: %struct_type.x.c96 = struct_literal (%int_1) [concrete = constants.%struct] -// CHECK:STDOUT: %impl.elem0.loc9: %.634 = impl_witness_access constants.%ImplicitAs.impl_witness.1e6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.924] -// CHECK:STDOUT: %bound_method.loc9_25.1: = bound_method %int_1, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.ff4] +// CHECK:STDOUT: %impl.elem0.loc9: %.56d = impl_witness_access constants.%ImplicitAs.impl_witness.e84, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.785] +// CHECK:STDOUT: %bound_method.loc9_25.1: = bound_method %int_1, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d5f] // CHECK:STDOUT: %specific_fn.loc9: = specific_function %impl.elem0.loc9, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_25.2: = bound_method %int_1, %specific_fn.loc9 [concrete = constants.%bound_method.b34] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_25.2(%int_1) [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc9_25.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.50a] +// CHECK:STDOUT: %bound_method.loc9_25.2: = bound_method %int_1, %specific_fn.loc9 [concrete = constants.%bound_method.392] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_25.2(%int_1) [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc9_25.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.6b0] // CHECK:STDOUT: %.loc9_25.3: ref %i32 = class_element_access %b.var, element0 -// CHECK:STDOUT: %.loc9_25.4: init %i32 to %.loc9_25.3 = in_place_init %.loc9_25.2 [concrete = constants.%int_1.50a] +// CHECK:STDOUT: %.loc9_25.4: init %i32 to %.loc9_25.3 = in_place_init %.loc9_25.2 [concrete = constants.%int_1.6b0] // CHECK:STDOUT: %.loc9_25.5: init %Field to %b.var = class_init (%.loc9_25.4) [concrete = constants.%Field.val] // CHECK:STDOUT: %.loc9_3: init %Field = converted %.loc9_25.1, %.loc9_25.5 [concrete = constants.%Field.val] // CHECK:STDOUT: assign %b.var, %.loc9_3 // CHECK:STDOUT: %Field.ref: type = name_ref Field, imports.%Main.Field [concrete = constants.%Field] // CHECK:STDOUT: %b: ref %Field = ref_binding b, %b.var // CHECK:STDOUT: %b.ref: ref %Field = name_ref b, %b -// CHECK:STDOUT: %x.ref: %Field.elem = name_ref x, imports.%Main.import_ref.488 [concrete = imports.%.c73] +// CHECK:STDOUT: %x.ref: %Field.elem = name_ref x, imports.%Main.import_ref.006 [concrete = imports.%.41e] // CHECK:STDOUT: %.loc10_4: ref %i32 = class_element_access %b.ref, element0 // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc10: %.634 = impl_witness_access constants.%ImplicitAs.impl_witness.1e6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.924] -// CHECK:STDOUT: %bound_method.loc10_7.1: = bound_method %int_2, %impl.elem0.loc10 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.f4c] +// CHECK:STDOUT: %impl.elem0.loc10: %.56d = impl_witness_access constants.%ImplicitAs.impl_witness.e84, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.785] +// CHECK:STDOUT: %bound_method.loc10_7.1: = bound_method %int_2, %impl.elem0.loc10 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.cf8] // CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_7.2: = bound_method %int_2, %specific_fn.loc10 [concrete = constants.%bound_method.fe7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10: init %i32 = call %bound_method.loc10_7.2(%int_2) [concrete = constants.%int_2.21f] -// CHECK:STDOUT: %.loc10_7: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10 [concrete = constants.%int_2.21f] +// CHECK:STDOUT: %bound_method.loc10_7.2: = bound_method %int_2, %specific_fn.loc10 [concrete = constants.%bound_method.90e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10: init %i32 = call %bound_method.loc10_7.2(%int_2) [concrete = constants.%int_2.c3d] +// CHECK:STDOUT: %.loc10_7: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10 [concrete = constants.%int_2.c3d] // CHECK:STDOUT: assign %.loc10_4, %.loc10_7 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.6805 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.6805 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.c30 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.c30 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %c.var: ref %ForwardDeclared.63cd1a.1 = var %c.var_patt +// CHECK:STDOUT: %c.var: ref %ForwardDeclared.8a2991.1 = var %c.var_patt // CHECK:STDOUT: %.loc12_29.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc12_29.2: init %ForwardDeclared.63cd1a.1 to %c.var = class_init () [concrete = constants.%ForwardDeclared.val] -// CHECK:STDOUT: %.loc12_3: init %ForwardDeclared.63cd1a.1 = converted %.loc12_29.1, %.loc12_29.2 [concrete = constants.%ForwardDeclared.val] +// CHECK:STDOUT: %.loc12_29.2: init %ForwardDeclared.8a2991.1 to %c.var = class_init () [concrete = constants.%ForwardDeclared.val] +// CHECK:STDOUT: %.loc12_3: init %ForwardDeclared.8a2991.1 = converted %.loc12_29.1, %.loc12_29.2 [concrete = constants.%ForwardDeclared.val] // CHECK:STDOUT: assign %c.var, %.loc12_3 -// CHECK:STDOUT: %ForwardDeclared.ref.loc12: type = name_ref ForwardDeclared, imports.%Main.ForwardDeclared [concrete = constants.%ForwardDeclared.63cd1a.1] -// CHECK:STDOUT: %c: ref %ForwardDeclared.63cd1a.1 = ref_binding c, %c.var -// CHECK:STDOUT: %c.ref.loc13: ref %ForwardDeclared.63cd1a.1 = name_ref c, %c -// CHECK:STDOUT: %F.ref: %ForwardDeclared.F.type = name_ref F, imports.%Main.import_ref.e20 [concrete = constants.%ForwardDeclared.F] +// CHECK:STDOUT: %ForwardDeclared.ref.loc12: type = name_ref ForwardDeclared, imports.%Main.ForwardDeclared [concrete = constants.%ForwardDeclared.8a2991.1] +// CHECK:STDOUT: %c: ref %ForwardDeclared.8a2991.1 = ref_binding c, %c.var +// CHECK:STDOUT: %c.ref.loc13: ref %ForwardDeclared.8a2991.1 = name_ref c, %c +// CHECK:STDOUT: %F.ref: %ForwardDeclared.F.type = name_ref F, imports.%Main.import_ref.d29 [concrete = constants.%ForwardDeclared.F] // CHECK:STDOUT: %ForwardDeclared.F.bound: = bound_method %c.ref.loc13, %F.ref -// CHECK:STDOUT: %.loc13: %ForwardDeclared.63cd1a.1 = acquire_value %c.ref.loc13 +// CHECK:STDOUT: %.loc13: %ForwardDeclared.8a2991.1 = acquire_value %c.ref.loc13 // CHECK:STDOUT: %ForwardDeclared.F.call: init %empty_tuple.type = call %ForwardDeclared.F.bound(%.loc13) -// CHECK:STDOUT: %c.ref.loc14: ref %ForwardDeclared.63cd1a.1 = name_ref c, %c -// CHECK:STDOUT: %G.ref: %ForwardDeclared.G.type = name_ref G, imports.%Main.import_ref.43c [concrete = constants.%ForwardDeclared.G] +// CHECK:STDOUT: %c.ref.loc14: ref %ForwardDeclared.8a2991.1 = name_ref c, %c +// CHECK:STDOUT: %G.ref: %ForwardDeclared.G.type = name_ref G, imports.%Main.import_ref.7f9 [concrete = constants.%ForwardDeclared.G] // CHECK:STDOUT: %ForwardDeclared.G.bound: = bound_method %c.ref.loc14, %G.ref // CHECK:STDOUT: %ForwardDeclared.G.call: init %empty_tuple.type = call %ForwardDeclared.G.bound(%c.ref.loc14) // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.14b = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.14b = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.88e = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.88e = var_pattern %d.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %d.var: ref %ptr.3ab = var %d.var_patt -// CHECK:STDOUT: %c.ref.loc16: ref %ForwardDeclared.63cd1a.1 = name_ref c, %c -// CHECK:STDOUT: %addr: %ptr.3ab = addr_of %c.ref.loc16 -// CHECK:STDOUT: %impl.elem0.loc16: %.f75 = impl_witness_access constants.%Copy.impl_witness.f9b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.322] +// CHECK:STDOUT: %d.var: ref %ptr.01c = var %d.var_patt +// CHECK:STDOUT: %c.ref.loc16: ref %ForwardDeclared.8a2991.1 = name_ref c, %c +// CHECK:STDOUT: %addr: %ptr.01c = addr_of %c.ref.loc16 +// CHECK:STDOUT: %impl.elem0.loc16: %.778 = impl_witness_access constants.%Copy.impl_witness.726, element0 [concrete = constants.%ptr.as.Copy.impl.Op.29e] // CHECK:STDOUT: %bound_method.loc16_36.1: = bound_method %addr, %impl.elem0.loc16 -// CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16, @ptr.as.Copy.impl.Op(constants.%ForwardDeclared.63cd1a.1) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] +// CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16, @ptr.as.Copy.impl.Op(constants.%ForwardDeclared.8a2991.1) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_36.2: = bound_method %addr, %specific_fn.loc16 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.3ab = call %bound_method.loc16_36.2(%addr) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.01c = call %bound_method.loc16_36.2(%addr) // CHECK:STDOUT: assign %d.var, %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: %.loc16: type = splice_block %ptr.loc16 [concrete = constants.%ptr.3ab] { -// CHECK:STDOUT: %ForwardDeclared.ref.loc16: type = name_ref ForwardDeclared, imports.%Main.ForwardDeclared [concrete = constants.%ForwardDeclared.63cd1a.1] -// CHECK:STDOUT: %ptr.loc16: type = ptr_type %ForwardDeclared.ref.loc16 [concrete = constants.%ptr.3ab] +// CHECK:STDOUT: %.loc16: type = splice_block %ptr.loc16 [concrete = constants.%ptr.01c] { +// CHECK:STDOUT: %ForwardDeclared.ref.loc16: type = name_ref ForwardDeclared, imports.%Main.ForwardDeclared [concrete = constants.%ForwardDeclared.8a2991.1] +// CHECK:STDOUT: %ptr.loc16: type = ptr_type %ForwardDeclared.ref.loc16 [concrete = constants.%ptr.01c] // CHECK:STDOUT: } -// CHECK:STDOUT: %d: ref %ptr.3ab = ref_binding d, %d.var +// CHECK:STDOUT: %d: ref %ptr.01c = ref_binding d, %d.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e.patt: %pattern_type.9d7 = ref_binding_pattern e [concrete] -// CHECK:STDOUT: %e.var_patt: %pattern_type.9d7 = var_pattern %e.patt [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.56b = ref_binding_pattern e [concrete] +// CHECK:STDOUT: %e.var_patt: %pattern_type.56b = var_pattern %e.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %e.var: ref %ptr.c81 = var %e.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%ptr.c81, (constants.%DefaultOrUnformed.impl_witness.6ee) [concrete = constants.%DefaultOrUnformed.facet] -// CHECK:STDOUT: %.loc18_28.1: %DefaultOrUnformed.type = converted constants.%ptr.c81, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] -// CHECK:STDOUT: %as_type: type = facet_access_type %.loc18_28.1 [concrete = constants.%ptr.c81] -// CHECK:STDOUT: %.loc18_28.2: type = converted %.loc18_28.1, %as_type [concrete = constants.%ptr.c81] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.012, @T.as.DefaultOrUnformed.impl.Op(constants.%ptr.c81) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %ptr.c81 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() +// CHECK:STDOUT: %e.var: ref %ptr.a51 = var %e.var_patt +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%ptr.a51, (constants.%DefaultOrUnformed.impl_witness.e64) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %.loc18_28.1: %DefaultOrUnformed.type = converted constants.%ptr.a51, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %as_type: type = facet_access_type %.loc18_28.1 [concrete = constants.%ptr.a51] +// CHECK:STDOUT: %.loc18_28.2: type = converted %.loc18_28.1, %as_type [concrete = constants.%ptr.a51] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.36c, @T.as.DefaultOrUnformed.impl.Op(constants.%ptr.a51) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %ptr.a51 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %e.var, %T.as.DefaultOrUnformed.impl.Op.call -// CHECK:STDOUT: %.loc18_27: type = splice_block %ptr.loc18 [concrete = constants.%ptr.c81] { +// CHECK:STDOUT: %.loc18_27: type = splice_block %ptr.loc18 [concrete = constants.%ptr.a51] { // CHECK:STDOUT: %Incomplete.ref: type = name_ref Incomplete, imports.%Main.Incomplete [concrete = constants.%Incomplete] -// CHECK:STDOUT: %ptr.loc18: type = ptr_type %Incomplete.ref [concrete = constants.%ptr.c81] +// CHECK:STDOUT: %ptr.loc18: type = ptr_type %Incomplete.ref [concrete = constants.%ptr.a51] // CHECK:STDOUT: } -// CHECK:STDOUT: %e: ref %ptr.c81 = ref_binding e, %e.var -// CHECK:STDOUT: %Destroy.Op.bound.loc18: = bound_method %e.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %e: ref %ptr.a51 = ref_binding e, %e.var +// CHECK:STDOUT: %Destroy.Op.bound.loc18: = bound_method %e.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc18: init %empty_tuple.type = call %Destroy.Op.bound.loc18(%e.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %d.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %d.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc16: init %empty_tuple.type = call %Destroy.Op.bound.loc16(%d.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc12: = bound_method %c.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc12: = bound_method %c.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc12: init %empty_tuple.type = call %Destroy.Op.bound.loc12(%c.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.1dc86d.8 +// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.2dd605.8 // CHECK:STDOUT: %Destroy.Op.call.loc9: init %empty_tuple.type = call %Destroy.Op.bound.loc9(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %a.var, constants.%Destroy.Op.1dc86d.9 +// CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %a.var, constants.%Destroy.Op.2dd605.9 // CHECK:STDOUT: %Destroy.Op.call.loc7: init %empty_tuple.type = call %Destroy.Op.bound.loc7(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -443,13 +443,13 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: fn @ForwardDeclared.G [from "a.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc18(%self.param: ref %ptr.c81) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc18(%self.param: ref %ptr.a51) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc16(%self.param: ref %ptr.3ab) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc16(%self.param: ref %ptr.01c) = "no_op"; // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc12_3.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc12_3.2(%self.param: ref %ForwardDeclared.63cd1a.1) { +// CHECK:STDOUT: fn @Destroy.Op.loc12_3.2(%self.param: ref %ForwardDeclared.8a2991.1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -461,7 +461,7 @@ fn Run() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %struct_type.x.740) { +// CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %struct_type.x.375) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/import_indirect.carbon b/toolchain/check/testdata/class/import_indirect.carbon index 89b072489449..37ed783910d4 100644 --- a/toolchain/check/testdata/class/import_indirect.carbon +++ b/toolchain/check/testdata/class/import_indirect.carbon @@ -142,24 +142,24 @@ var ptr: E* = &value; // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.d58: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %ptr.850: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.49c: type = pattern_type %ptr.850 [concrete] -// CHECK:STDOUT: %addr: %ptr.850 = addr_of file.%b_val.var [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of file.%b_val.var [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.5e3: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.2ed: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.f40: %ptr.as.Copy.impl.Op.type.2ed = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.850, (%Copy.impl_witness.5e3) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.8fe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.afb: type = fn_type_with_self_type %Copy.WithSelf.Op.type.8fe, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.f40 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.f40, @ptr.as.Copy.impl.Op(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.881: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0ff: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5cf: %ptr.as.Copy.impl.Op.type.0ff = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.6be, (%Copy.impl_witness.881) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.d3f: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.40e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d3f, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.5cf [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.5cf, @ptr.as.Copy.impl.Op(%C) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %addr, %ptr.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -171,10 +171,10 @@ var ptr: E* = &value; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//a, loc4_10, loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.a3c = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -190,29 +190,29 @@ var ptr: E* = &value; // CHECK:STDOUT: %C.ref.loc6: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %D: type = alias_binding D, %C.ref.loc6 [concrete = constants.%C] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b_val.patt: %pattern_type.d58 = ref_binding_pattern b_val [concrete] -// CHECK:STDOUT: %b_val.var_patt: %pattern_type.d58 = var_pattern %b_val.patt [concrete] +// CHECK:STDOUT: %b_val.patt: %pattern_type.0d5 = ref_binding_pattern b_val [concrete] +// CHECK:STDOUT: %b_val.var_patt: %pattern_type.0d5 = var_pattern %b_val.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b_val.var: ref %C = var %b_val.var_patt [concrete] // CHECK:STDOUT: %C.ref.loc8: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %b_val: ref %C = ref_binding b_val, %b_val.var [concrete = %b_val.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b_ptr.patt: %pattern_type.49c = ref_binding_pattern b_ptr [concrete] -// CHECK:STDOUT: %b_ptr.var_patt: %pattern_type.49c = var_pattern %b_ptr.patt [concrete] +// CHECK:STDOUT: %b_ptr.patt: %pattern_type.1c8 = ref_binding_pattern b_ptr [concrete] +// CHECK:STDOUT: %b_ptr.var_patt: %pattern_type.1c8 = var_pattern %b_ptr.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %b_ptr.var: ref %ptr.850 = var %b_ptr.var_patt [concrete] -// CHECK:STDOUT: %.loc9: type = splice_block %ptr [concrete = constants.%ptr.850] { +// CHECK:STDOUT: %b_ptr.var: ref %ptr.6be = var %b_ptr.var_patt [concrete] +// CHECK:STDOUT: %.loc9: type = splice_block %ptr [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %D.ref: type = name_ref D, %D [concrete = constants.%C] -// CHECK:STDOUT: %ptr: type = ptr_type %D.ref [concrete = constants.%ptr.850] +// CHECK:STDOUT: %ptr: type = ptr_type %D.ref [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %b_ptr: ref %ptr.850 = ref_binding b_ptr, %b_ptr.var [concrete = %b_ptr.var] +// CHECK:STDOUT: %b_ptr: ref %ptr.6be = ref_binding b_ptr, %b_ptr.var [concrete = %b_ptr.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "a.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a3c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -222,12 +222,12 @@ var ptr: E* = &value; // CHECK:STDOUT: %.loc8_1: init %C = converted %.loc8_17.1, %.loc8_17.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%b_val.var, %.loc8_1 // CHECK:STDOUT: %b_val.ref: ref %C = name_ref b_val, file.%b_val [concrete = file.%b_val.var] -// CHECK:STDOUT: %addr: %ptr.850 = addr_of %b_val.ref [concrete = constants.%addr] -// CHECK:STDOUT: %impl.elem0: %.afb = impl_witness_access constants.%Copy.impl_witness.5e3, element0 [concrete = constants.%ptr.as.Copy.impl.Op.f40] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of %b_val.ref [concrete = constants.%addr] +// CHECK:STDOUT: %impl.elem0: %.40e = impl_witness_access constants.%Copy.impl_witness.881, element0 [concrete = constants.%ptr.as.Copy.impl.Op.5cf] // CHECK:STDOUT: %bound_method.loc9_17.1: = bound_method %addr, %impl.elem0 [concrete = constants.%ptr.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%C) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc9_17.2: = bound_method %addr, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.850 = call %bound_method.loc9_17.2(%addr) [concrete = constants.%addr] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6be = call %bound_method.loc9_17.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%b_ptr.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -238,24 +238,24 @@ var ptr: E* = &value; // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.29f: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %ptr.c61: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.02c: type = pattern_type %ptr.c61 [concrete] -// CHECK:STDOUT: %addr: %ptr.c61 = addr_of file.%c_val.var [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of file.%c_val.var [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.cd5: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0f6: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.346: %ptr.as.Copy.impl.Op.type.0f6 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.c61, (%Copy.impl_witness.cd5) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.93c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.485: type = fn_type_with_self_type %Copy.WithSelf.Op.type.93c, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.346 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.346, @ptr.as.Copy.impl.Op(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.881: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0ff: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5cf: %ptr.as.Copy.impl.Op.type.0ff = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.6be, (%Copy.impl_witness.881) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.d3f: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.40e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d3f, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.5cf [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.5cf, @ptr.as.Copy.impl.Op(%C) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %addr, %ptr.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -267,10 +267,10 @@ var ptr: E* = &value; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//a, loc4_10, loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.a3c = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -286,29 +286,29 @@ var ptr: E* = &value; // CHECK:STDOUT: %C.ref.loc6: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %E: type = alias_binding E, %C.ref.loc6 [concrete = constants.%C] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c_val.patt: %pattern_type.29f = ref_binding_pattern c_val [concrete] -// CHECK:STDOUT: %c_val.var_patt: %pattern_type.29f = var_pattern %c_val.patt [concrete] +// CHECK:STDOUT: %c_val.patt: %pattern_type.0d5 = ref_binding_pattern c_val [concrete] +// CHECK:STDOUT: %c_val.var_patt: %pattern_type.0d5 = var_pattern %c_val.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c_val.var: ref %C = var %c_val.var_patt [concrete] // CHECK:STDOUT: %C.ref.loc8: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %c_val: ref %C = ref_binding c_val, %c_val.var [concrete = %c_val.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c_ptr.patt: %pattern_type.02c = ref_binding_pattern c_ptr [concrete] -// CHECK:STDOUT: %c_ptr.var_patt: %pattern_type.02c = var_pattern %c_ptr.patt [concrete] +// CHECK:STDOUT: %c_ptr.patt: %pattern_type.1c8 = ref_binding_pattern c_ptr [concrete] +// CHECK:STDOUT: %c_ptr.var_patt: %pattern_type.1c8 = var_pattern %c_ptr.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %c_ptr.var: ref %ptr.c61 = var %c_ptr.var_patt [concrete] -// CHECK:STDOUT: %.loc9: type = splice_block %ptr [concrete = constants.%ptr.c61] { +// CHECK:STDOUT: %c_ptr.var: ref %ptr.6be = var %c_ptr.var_patt [concrete] +// CHECK:STDOUT: %.loc9: type = splice_block %ptr [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %E.ref: type = name_ref E, %E [concrete = constants.%C] -// CHECK:STDOUT: %ptr: type = ptr_type %E.ref [concrete = constants.%ptr.c61] +// CHECK:STDOUT: %ptr: type = ptr_type %E.ref [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %c_ptr: ref %ptr.c61 = ref_binding c_ptr, %c_ptr.var [concrete = %c_ptr.var] +// CHECK:STDOUT: %c_ptr: ref %ptr.6be = ref_binding c_ptr, %c_ptr.var [concrete = %c_ptr.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "a.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a3c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -318,12 +318,12 @@ var ptr: E* = &value; // CHECK:STDOUT: %.loc8_1: init %C = converted %.loc8_17.1, %.loc8_17.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c_val.var, %.loc8_1 // CHECK:STDOUT: %c_val.ref: ref %C = name_ref c_val, file.%c_val [concrete = file.%c_val.var] -// CHECK:STDOUT: %addr: %ptr.c61 = addr_of %c_val.ref [concrete = constants.%addr] -// CHECK:STDOUT: %impl.elem0: %.485 = impl_witness_access constants.%Copy.impl_witness.cd5, element0 [concrete = constants.%ptr.as.Copy.impl.Op.346] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of %c_val.ref [concrete = constants.%addr] +// CHECK:STDOUT: %impl.elem0: %.40e = impl_witness_access constants.%Copy.impl_witness.881, element0 [concrete = constants.%ptr.as.Copy.impl.Op.5cf] // CHECK:STDOUT: %bound_method.loc9_17.1: = bound_method %addr, %impl.elem0 [concrete = constants.%ptr.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%C) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc9_17.2: = bound_method %addr, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.c61 = call %bound_method.loc9_17.2(%addr) [concrete = constants.%addr] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6be = call %bound_method.loc9_17.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%c_ptr.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -334,24 +334,24 @@ var ptr: E* = &value; // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.216: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %ptr.44e: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.b58: type = pattern_type %ptr.44e [concrete] -// CHECK:STDOUT: %addr: %ptr.44e = addr_of file.%value.var [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of file.%value.var [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.95e: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.273: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.a58: %ptr.as.Copy.impl.Op.type.273 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.44e, (%Copy.impl_witness.95e) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.558: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.b65: type = fn_type_with_self_type %Copy.WithSelf.Op.type.558, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.a58 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.a58, @ptr.as.Copy.impl.Op(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.881: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0ff: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5cf: %ptr.as.Copy.impl.Op.type.0ff = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.6be, (%Copy.impl_witness.881) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.d3f: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.40e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d3f, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.5cf [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.5cf, @ptr.as.Copy.impl.Op(%C) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %addr, %ptr.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -366,10 +366,10 @@ var ptr: E* = &value; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//a, loc4_10, loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.a3c = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -385,29 +385,29 @@ var ptr: E* = &value; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %value.patt: %pattern_type.216 = ref_binding_pattern value [concrete] -// CHECK:STDOUT: %value.var_patt: %pattern_type.216 = var_pattern %value.patt [concrete] +// CHECK:STDOUT: %value.patt: %pattern_type.0d5 = ref_binding_pattern value [concrete] +// CHECK:STDOUT: %value.var_patt: %pattern_type.0d5 = var_pattern %value.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %value.var: ref %C = var %value.var_patt [concrete] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %value: ref %C = ref_binding value, %value.var [concrete = %value.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %ptr.patt: %pattern_type.b58 = ref_binding_pattern ptr [concrete] -// CHECK:STDOUT: %ptr.var_patt: %pattern_type.b58 = var_pattern %ptr.patt [concrete] +// CHECK:STDOUT: %ptr.patt: %pattern_type.1c8 = ref_binding_pattern ptr [concrete] +// CHECK:STDOUT: %ptr.var_patt: %pattern_type.1c8 = var_pattern %ptr.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.var: ref %ptr.44e = var %ptr.var_patt [concrete] -// CHECK:STDOUT: %.loc8: type = splice_block %ptr.loc8_11 [concrete = constants.%ptr.44e] { +// CHECK:STDOUT: %ptr.var: ref %ptr.6be = var %ptr.var_patt [concrete] +// CHECK:STDOUT: %.loc8: type = splice_block %ptr.loc8_11 [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc8_11: type = ptr_type %D.ref [concrete = constants.%ptr.44e] +// CHECK:STDOUT: %ptr.loc8_11: type = ptr_type %D.ref [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.loc8_8: ref %ptr.44e = ref_binding ptr, %ptr.var [concrete = %ptr.var] +// CHECK:STDOUT: %ptr.loc8_8: ref %ptr.6be = ref_binding ptr, %ptr.var [concrete = %ptr.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "a.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a3c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -417,12 +417,12 @@ var ptr: E* = &value; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_17.1, %.loc7_17.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%value.var, %.loc7_1 // CHECK:STDOUT: %value.ref: ref %C = name_ref value, file.%value [concrete = file.%value.var] -// CHECK:STDOUT: %addr: %ptr.44e = addr_of %value.ref [concrete = constants.%addr] -// CHECK:STDOUT: %impl.elem0: %.b65 = impl_witness_access constants.%Copy.impl_witness.95e, element0 [concrete = constants.%ptr.as.Copy.impl.Op.a58] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of %value.ref [concrete = constants.%addr] +// CHECK:STDOUT: %impl.elem0: %.40e = impl_witness_access constants.%Copy.impl_witness.881, element0 [concrete = constants.%ptr.as.Copy.impl.Op.5cf] // CHECK:STDOUT: %bound_method.loc8_15.1: = bound_method %addr, %impl.elem0 [concrete = constants.%ptr.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%C) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %addr, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.44e = call %bound_method.loc8_15.2(%addr) [concrete = constants.%addr] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6be = call %bound_method.loc8_15.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%ptr.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -433,24 +433,24 @@ var ptr: E* = &value; // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.359: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %ptr.bad: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.a3d: type = pattern_type %ptr.bad [concrete] -// CHECK:STDOUT: %addr: %ptr.bad = addr_of file.%value.var [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of file.%value.var [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.41b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.247: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.10f: %ptr.as.Copy.impl.Op.type.247 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.bad, (%Copy.impl_witness.41b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.347: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.d3e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.347, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.10f [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.10f, @ptr.as.Copy.impl.Op(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.881: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0ff: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5cf: %ptr.as.Copy.impl.Op.type.0ff = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.6be, (%Copy.impl_witness.881) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.d3f: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.40e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d3f, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.5cf [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.5cf, @ptr.as.Copy.impl.Op(%C) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %addr, %ptr.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -465,10 +465,10 @@ var ptr: E* = &value; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//a, loc4_10, loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.a3c = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -484,29 +484,29 @@ var ptr: E* = &value; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %value.patt: %pattern_type.359 = ref_binding_pattern value [concrete] -// CHECK:STDOUT: %value.var_patt: %pattern_type.359 = var_pattern %value.patt [concrete] +// CHECK:STDOUT: %value.patt: %pattern_type.0d5 = ref_binding_pattern value [concrete] +// CHECK:STDOUT: %value.var_patt: %pattern_type.0d5 = var_pattern %value.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %value.var: ref %C = var %value.var_patt [concrete] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %value: ref %C = ref_binding value, %value.var [concrete = %value.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %ptr.patt: %pattern_type.a3d = ref_binding_pattern ptr [concrete] -// CHECK:STDOUT: %ptr.var_patt: %pattern_type.a3d = var_pattern %ptr.patt [concrete] +// CHECK:STDOUT: %ptr.patt: %pattern_type.1c8 = ref_binding_pattern ptr [concrete] +// CHECK:STDOUT: %ptr.var_patt: %pattern_type.1c8 = var_pattern %ptr.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.var: ref %ptr.bad = var %ptr.var_patt [concrete] -// CHECK:STDOUT: %.loc8: type = splice_block %ptr.loc8_11 [concrete = constants.%ptr.bad] { +// CHECK:STDOUT: %ptr.var: ref %ptr.6be = var %ptr.var_patt [concrete] +// CHECK:STDOUT: %.loc8: type = splice_block %ptr.loc8_11 [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc8_11: type = ptr_type %D.ref [concrete = constants.%ptr.bad] +// CHECK:STDOUT: %ptr.loc8_11: type = ptr_type %D.ref [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.loc8_8: ref %ptr.bad = ref_binding ptr, %ptr.var [concrete = %ptr.var] +// CHECK:STDOUT: %ptr.loc8_8: ref %ptr.6be = ref_binding ptr, %ptr.var [concrete = %ptr.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "a.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a3c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -516,12 +516,12 @@ var ptr: E* = &value; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_17.1, %.loc7_17.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%value.var, %.loc7_1 // CHECK:STDOUT: %value.ref: ref %C = name_ref value, file.%value [concrete = file.%value.var] -// CHECK:STDOUT: %addr: %ptr.bad = addr_of %value.ref [concrete = constants.%addr] -// CHECK:STDOUT: %impl.elem0: %.d3e = impl_witness_access constants.%Copy.impl_witness.41b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.10f] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of %value.ref [concrete = constants.%addr] +// CHECK:STDOUT: %impl.elem0: %.40e = impl_witness_access constants.%Copy.impl_witness.881, element0 [concrete = constants.%ptr.as.Copy.impl.Op.5cf] // CHECK:STDOUT: %bound_method.loc8_15.1: = bound_method %addr, %impl.elem0 [concrete = constants.%ptr.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%C) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %addr, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.bad = call %bound_method.loc8_15.2(%addr) [concrete = constants.%addr] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6be = call %bound_method.loc8_15.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%ptr.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -532,24 +532,24 @@ var ptr: E* = &value; // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.083: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %ptr.8c5: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.4db: type = pattern_type %ptr.8c5 [concrete] -// CHECK:STDOUT: %addr: %ptr.8c5 = addr_of file.%value.var [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of file.%value.var [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.73a: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.9fd: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.199: %ptr.as.Copy.impl.Op.type.9fd = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.8c5, (%Copy.impl_witness.73a) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.935: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.990: type = fn_type_with_self_type %Copy.WithSelf.Op.type.935, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.199 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.199, @ptr.as.Copy.impl.Op(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.881: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0ff: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5cf: %ptr.as.Copy.impl.Op.type.0ff = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.6be, (%Copy.impl_witness.881) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.d3f: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.40e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d3f, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.5cf [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.5cf, @ptr.as.Copy.impl.Op(%C) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %addr, %ptr.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -566,10 +566,10 @@ var ptr: E* = &value; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8db: = import_ref Main//b, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.5ee = import_ref Main//b, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//b, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -587,29 +587,29 @@ var ptr: E* = &value; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %value.patt: %pattern_type.083 = ref_binding_pattern value [concrete] -// CHECK:STDOUT: %value.var_patt: %pattern_type.083 = var_pattern %value.patt [concrete] +// CHECK:STDOUT: %value.patt: %pattern_type.0d5 = ref_binding_pattern value [concrete] +// CHECK:STDOUT: %value.var_patt: %pattern_type.0d5 = var_pattern %value.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %value.var: ref %C = var %value.var_patt [concrete] // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%C] // CHECK:STDOUT: %value: ref %C = ref_binding value, %value.var [concrete = %value.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %ptr.patt: %pattern_type.4db = ref_binding_pattern ptr [concrete] -// CHECK:STDOUT: %ptr.var_patt: %pattern_type.4db = var_pattern %ptr.patt [concrete] +// CHECK:STDOUT: %ptr.patt: %pattern_type.1c8 = ref_binding_pattern ptr [concrete] +// CHECK:STDOUT: %ptr.var_patt: %pattern_type.1c8 = var_pattern %ptr.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.var: ref %ptr.8c5 = var %ptr.var_patt [concrete] -// CHECK:STDOUT: %.loc8: type = splice_block %ptr.loc8_11 [concrete = constants.%ptr.8c5] { +// CHECK:STDOUT: %ptr.var: ref %ptr.6be = var %ptr.var_patt [concrete] +// CHECK:STDOUT: %.loc8: type = splice_block %ptr.loc8_11 [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %E.ref: type = name_ref E, imports.%Main.E [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc8_11: type = ptr_type %E.ref [concrete = constants.%ptr.8c5] +// CHECK:STDOUT: %ptr.loc8_11: type = ptr_type %E.ref [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.loc8_8: ref %ptr.8c5 = ref_binding ptr, %ptr.var [concrete = %ptr.var] +// CHECK:STDOUT: %ptr.loc8_8: ref %ptr.6be = ref_binding ptr, %ptr.var [concrete = %ptr.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "b.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8db // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.5ee +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -619,12 +619,12 @@ var ptr: E* = &value; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_17.1, %.loc7_17.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%value.var, %.loc7_1 // CHECK:STDOUT: %value.ref: ref %C = name_ref value, file.%value [concrete = file.%value.var] -// CHECK:STDOUT: %addr: %ptr.8c5 = addr_of %value.ref [concrete = constants.%addr] -// CHECK:STDOUT: %impl.elem0: %.990 = impl_witness_access constants.%Copy.impl_witness.73a, element0 [concrete = constants.%ptr.as.Copy.impl.Op.199] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of %value.ref [concrete = constants.%addr] +// CHECK:STDOUT: %impl.elem0: %.40e = impl_witness_access constants.%Copy.impl_witness.881, element0 [concrete = constants.%ptr.as.Copy.impl.Op.5cf] // CHECK:STDOUT: %bound_method.loc8_15.1: = bound_method %addr, %impl.elem0 [concrete = constants.%ptr.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%C) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %addr, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.8c5 = call %bound_method.loc8_15.2(%addr) [concrete = constants.%addr] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6be = call %bound_method.loc8_15.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%ptr.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -635,24 +635,24 @@ var ptr: E* = &value; // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.6f5: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %ptr.d65: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.96b: type = pattern_type %ptr.d65 [concrete] -// CHECK:STDOUT: %addr: %ptr.d65 = addr_of file.%value.var [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of file.%value.var [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.215: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.399: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.f71: %ptr.as.Copy.impl.Op.type.399 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.d65, (%Copy.impl_witness.215) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a95: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.5c2: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a95, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.f71 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.f71, @ptr.as.Copy.impl.Op(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.881: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0ff: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5cf: %ptr.as.Copy.impl.Op.type.0ff = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.6be, (%Copy.impl_witness.881) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.d3f: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.40e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d3f, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.5cf [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.5cf, @ptr.as.Copy.impl.Op(%C) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %addr, %ptr.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -669,10 +669,10 @@ var ptr: E* = &value; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8db: = import_ref Main//b, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %Main.import_ref.5ee = import_ref Main//b, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//b, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -690,29 +690,29 @@ var ptr: E* = &value; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %value.patt: %pattern_type.6f5 = ref_binding_pattern value [concrete] -// CHECK:STDOUT: %value.var_patt: %pattern_type.6f5 = var_pattern %value.patt [concrete] +// CHECK:STDOUT: %value.patt: %pattern_type.0d5 = ref_binding_pattern value [concrete] +// CHECK:STDOUT: %value.var_patt: %pattern_type.0d5 = var_pattern %value.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %value.var: ref %C = var %value.var_patt [concrete] // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%C] // CHECK:STDOUT: %value: ref %C = ref_binding value, %value.var [concrete = %value.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %ptr.patt: %pattern_type.96b = ref_binding_pattern ptr [concrete] -// CHECK:STDOUT: %ptr.var_patt: %pattern_type.96b = var_pattern %ptr.patt [concrete] +// CHECK:STDOUT: %ptr.patt: %pattern_type.1c8 = ref_binding_pattern ptr [concrete] +// CHECK:STDOUT: %ptr.var_patt: %pattern_type.1c8 = var_pattern %ptr.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.var: ref %ptr.d65 = var %ptr.var_patt [concrete] -// CHECK:STDOUT: %.loc8: type = splice_block %ptr.loc8_11 [concrete = constants.%ptr.d65] { +// CHECK:STDOUT: %ptr.var: ref %ptr.6be = var %ptr.var_patt [concrete] +// CHECK:STDOUT: %.loc8: type = splice_block %ptr.loc8_11 [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %E.ref: type = name_ref E, imports.%Main.E [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc8_11: type = ptr_type %E.ref [concrete = constants.%ptr.d65] +// CHECK:STDOUT: %ptr.loc8_11: type = ptr_type %E.ref [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.loc8_8: ref %ptr.d65 = ref_binding ptr, %ptr.var [concrete = %ptr.var] +// CHECK:STDOUT: %ptr.loc8_8: ref %ptr.6be = ref_binding ptr, %ptr.var [concrete = %ptr.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "b.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8db // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.5ee +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -722,12 +722,12 @@ var ptr: E* = &value; // CHECK:STDOUT: %.loc7_1: init %C = converted %.loc7_17.1, %.loc7_17.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%value.var, %.loc7_1 // CHECK:STDOUT: %value.ref: ref %C = name_ref value, file.%value [concrete = file.%value.var] -// CHECK:STDOUT: %addr: %ptr.d65 = addr_of %value.ref [concrete = constants.%addr] -// CHECK:STDOUT: %impl.elem0: %.5c2 = impl_witness_access constants.%Copy.impl_witness.215, element0 [concrete = constants.%ptr.as.Copy.impl.Op.f71] +// CHECK:STDOUT: %addr: %ptr.6be = addr_of %value.ref [concrete = constants.%addr] +// CHECK:STDOUT: %impl.elem0: %.40e = impl_witness_access constants.%Copy.impl_witness.881, element0 [concrete = constants.%ptr.as.Copy.impl.Op.5cf] // CHECK:STDOUT: %bound_method.loc8_15.1: = bound_method %addr, %impl.elem0 [concrete = constants.%ptr.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%C) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %addr, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.d65 = call %bound_method.loc8_15.2(%addr) [concrete = constants.%addr] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.6be = call %bound_method.loc8_15.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%ptr.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/import_member_cycle.carbon b/toolchain/check/testdata/class/import_member_cycle.carbon index 46e3fdfa4892..78abc97e6d8a 100644 --- a/toolchain/check/testdata/class/import_member_cycle.carbon +++ b/toolchain/check/testdata/class/import_member_cycle.carbon @@ -76,17 +76,17 @@ fn Run() { // CHECK:STDOUT: %Cycle: type = class_type @Cycle [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %Cycle [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %ptr} [concrete] -// CHECK:STDOUT: %complete_type.8c4: = complete_type_witness %struct_type.a [concrete] -// CHECK:STDOUT: %pattern_type.473: type = pattern_type %ptr [concrete] +// CHECK:STDOUT: %complete_type.0df: = complete_type_witness %struct_type.a [concrete] +// CHECK:STDOUT: %pattern_type.c85: type = pattern_type %ptr [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.929: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.156: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.bdc: %T.as.DefaultOrUnformed.impl.Op.type.156 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr, (%DefaultOrUnformed.impl_witness.929) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.bdc, @T.as.DefaultOrUnformed.impl.Op(%ptr) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.a11: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.c4f: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%ptr) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.815: %T.as.DefaultOrUnformed.impl.Op.type.c4f = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr, (%DefaultOrUnformed.impl_witness.a11) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.815, @T.as.DefaultOrUnformed.impl.Op(%ptr) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Destroy.Op.type: type = fn_type @Destroy.Op [concrete] // CHECK:STDOUT: %Destroy.Op: %Destroy.Op.type = struct_value () [concrete] @@ -100,12 +100,12 @@ fn Run() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.091: = import_ref Main//a, loc6_1, loaded [concrete = constants.%complete_type.8c4] -// CHECK:STDOUT: %Main.import_ref.1be = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.2cc = import_ref Main//a, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.958: = import_ref Main//a, loc6_1, loaded [concrete = constants.%complete_type.0df] +// CHECK:STDOUT: %Main.import_ref.b4f = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.8d6 = import_ref Main//a, loc5_8, unloaded // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -121,25 +121,25 @@ fn Run() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Cycle [from "a.carbon"] { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.091 +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.958 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.1be -// CHECK:STDOUT: .a = imports.%Main.import_ref.2cc +// CHECK:STDOUT: .Self = imports.%Main.import_ref.b4f +// CHECK:STDOUT: .a = imports.%Main.import_ref.8d6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.473 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.473 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.c85 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.c85 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %ptr = var %a.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%ptr, (constants.%DefaultOrUnformed.impl_witness.929) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%ptr, (constants.%DefaultOrUnformed.impl_witness.a11) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc7_23.1: %DefaultOrUnformed.type = converted constants.%ptr, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_23.1 [concrete = constants.%ptr] // CHECK:STDOUT: %.loc7_23.2: type = converted %.loc7_23.1, %as_type [concrete = constants.%ptr] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.bdc, @T.as.DefaultOrUnformed.impl.Op(constants.%ptr) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.815, @T.as.DefaultOrUnformed.impl.Op(constants.%ptr) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %ptr = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %a.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: %.loc7_22: type = splice_block %ptr [concrete = constants.%ptr] { diff --git a/toolchain/check/testdata/class/import_struct_cycle.carbon b/toolchain/check/testdata/class/import_struct_cycle.carbon index 39ac5e1bf72e..4616344f64f1 100644 --- a/toolchain/check/testdata/class/import_struct_cycle.carbon +++ b/toolchain/check/testdata/class/import_struct_cycle.carbon @@ -41,19 +41,19 @@ fn Run() { // CHECK:STDOUT: %Cycle: type = class_type @Cycle [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %Cycle [concrete] // CHECK:STDOUT: %struct_type.b: type = struct_type {.b: %ptr} [concrete] -// CHECK:STDOUT: %pattern_type.995: type = pattern_type %struct_type.b [concrete] +// CHECK:STDOUT: %pattern_type.823: type = pattern_type %struct_type.b [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.d00: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%struct_type.b) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.c8e: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%struct_type.b) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.fdc: %T.as.DefaultOrUnformed.impl.Op.type.c8e = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %struct_type.b, (%DefaultOrUnformed.impl_witness.d00) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.fdc, @T.as.DefaultOrUnformed.impl.Op(%struct_type.b) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.cc8: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%struct_type.b) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.94e: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%struct_type.b) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.56e: %T.as.DefaultOrUnformed.impl.Op.type.94e = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %struct_type.b, (%DefaultOrUnformed.impl_witness.cc8) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.56e, @T.as.DefaultOrUnformed.impl.Op(%struct_type.b) [concrete] // CHECK:STDOUT: %Cycle.elem: type = unbound_element_type %Cycle, %struct_type.b [concrete] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %struct_type.b} [concrete] -// CHECK:STDOUT: %complete_type.92c: = complete_type_witness %struct_type.c [concrete] +// CHECK:STDOUT: %complete_type.a87: = complete_type_witness %struct_type.c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -63,8 +63,8 @@ fn Run() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -76,8 +76,8 @@ fn Run() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Cycle.decl.loc4: type = class_decl @Cycle [concrete = constants.%Cycle] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.995 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.995 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.823 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.823 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %struct_type.b = var %a.var_patt [concrete] // CHECK:STDOUT: %.loc6: type = splice_block %struct_type.b [concrete = constants.%struct_type.b] { @@ -91,7 +91,7 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: class @Cycle { // CHECK:STDOUT: %.loc10: %Cycle.elem = field_decl c, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.c [concrete = constants.%complete_type.92c] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.c [concrete = constants.%complete_type.a87] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -102,11 +102,11 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%struct_type.b, (constants.%DefaultOrUnformed.impl_witness.d00) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%struct_type.b, (constants.%DefaultOrUnformed.impl_witness.cc8) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc6_20.1: %DefaultOrUnformed.type = converted constants.%struct_type.b, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc6_20.1 [concrete = constants.%struct_type.b] // CHECK:STDOUT: %.loc6_20.2: type = converted %.loc6_20.1, %as_type [concrete = constants.%struct_type.b] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.fdc, @T.as.DefaultOrUnformed.impl.Op(constants.%struct_type.b) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.56e, @T.as.DefaultOrUnformed.impl.Op(constants.%struct_type.b) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %struct_type.b = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%a.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return @@ -118,24 +118,24 @@ fn Run() { // CHECK:STDOUT: %Run.type: type = fn_type @Run [concrete] // CHECK:STDOUT: %Run: %Run.type = struct_value () [concrete] // CHECK:STDOUT: %Cycle: type = class_type @Cycle [concrete] -// CHECK:STDOUT: %ptr.719: type = ptr_type %Cycle [concrete] -// CHECK:STDOUT: %struct_type.b: type = struct_type {.b: %ptr.719} [concrete] +// CHECK:STDOUT: %ptr.9e6: type = ptr_type %Cycle [concrete] +// CHECK:STDOUT: %struct_type.b: type = struct_type {.b: %ptr.9e6} [concrete] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %struct_type.b} [concrete] -// CHECK:STDOUT: %complete_type.c38: = complete_type_witness %struct_type.c [concrete] -// CHECK:STDOUT: %pattern_type.8ce: type = pattern_type %struct_type.b [concrete] -// CHECK:STDOUT: %.524: ref %ptr.719 = struct_access imports.%a.var, element0 [concrete] +// CHECK:STDOUT: %complete_type.a87: = complete_type_witness %struct_type.c [concrete] +// CHECK:STDOUT: %pattern_type.823: type = pattern_type %struct_type.b [concrete] +// CHECK:STDOUT: %.8b8: ref %ptr.9e6 = struct_access imports.%a.var, element0 [concrete] // CHECK:STDOUT: %Cycle.elem: type = unbound_element_type %Cycle, %struct_type.b [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.c7f: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%Cycle) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.dcd: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Cycle) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.0f3: %ptr.as.Copy.impl.Op.type.dcd = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.719, (%Copy.impl_witness.c7f) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.b6b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.d4b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b6b, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.0f3, @ptr.as.Copy.impl.Op(%Cycle) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.594: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%Cycle) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.8cb: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Cycle) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.3ca: %ptr.as.Copy.impl.Op.type.8cb = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.9e6, (%Copy.impl_witness.594) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.b54: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.9aa: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b54, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.3ca, @ptr.as.Copy.impl.Op(%Cycle) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -146,16 +146,16 @@ fn Run() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.f91: = import_ref Main//a, loc11_1, loaded [concrete = constants.%complete_type.c38] -// CHECK:STDOUT: %Main.import_ref.1be = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.beb: %Cycle.elem = import_ref Main//a, loc10_8, loaded [concrete = %.77b] -// CHECK:STDOUT: %a.patt: %pattern_type.8ce = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.8ce = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %Main.import_ref.e17: = import_ref Main//a, loc11_1, loaded [concrete = constants.%complete_type.a87] +// CHECK:STDOUT: %Main.import_ref.b4f = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.397: %Cycle.elem = import_ref Main//a, loc10_8, loaded [concrete = %.1df] +// CHECK:STDOUT: %a.patt: %pattern_type.823 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.823 = var_pattern %a.patt [concrete] // CHECK:STDOUT: %a.var: ref %struct_type.b = var %a.var_patt [concrete] -// CHECK:STDOUT: %.77b: %Cycle.elem = field_decl c, element0 [concrete] +// CHECK:STDOUT: %.1df: %Cycle.elem = field_decl c, element0 [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -171,30 +171,30 @@ fn Run() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Cycle [from "a.carbon"] { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.f91 +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.e17 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.1be -// CHECK:STDOUT: .c = imports.%Main.import_ref.beb +// CHECK:STDOUT: .Self = imports.%Main.import_ref.b4f +// CHECK:STDOUT: .c = imports.%Main.import_ref.397 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref.loc7_3: ref %struct_type.b = name_ref a, imports.%Main.a [concrete = imports.%a.var] -// CHECK:STDOUT: %.loc7_4: ref %ptr.719 = struct_access %a.ref.loc7_3, element0 [concrete = constants.%.524] +// CHECK:STDOUT: %.loc7_4: ref %ptr.9e6 = struct_access %a.ref.loc7_3, element0 [concrete = constants.%.8b8] // CHECK:STDOUT: %a.ref.loc7_11: ref %struct_type.b = name_ref a, imports.%Main.a [concrete = imports.%a.var] -// CHECK:STDOUT: %.loc7_12.1: ref %ptr.719 = struct_access %a.ref.loc7_11, element0 [concrete = constants.%.524] -// CHECK:STDOUT: %.loc7_12.2: %ptr.719 = acquire_value %.loc7_12.1 +// CHECK:STDOUT: %.loc7_12.1: ref %ptr.9e6 = struct_access %a.ref.loc7_11, element0 [concrete = constants.%.8b8] +// CHECK:STDOUT: %.loc7_12.2: %ptr.9e6 = acquire_value %.loc7_12.1 // CHECK:STDOUT: %.loc7_10: ref %Cycle = deref %.loc7_12.2 -// CHECK:STDOUT: %c.ref: %Cycle.elem = name_ref c, imports.%Main.import_ref.beb [concrete = imports.%.77b] +// CHECK:STDOUT: %c.ref: %Cycle.elem = name_ref c, imports.%Main.import_ref.397 [concrete = imports.%.1df] // CHECK:STDOUT: %.loc7_15: ref %struct_type.b = class_element_access %.loc7_10, element0 -// CHECK:STDOUT: %.loc7_17.1: ref %ptr.719 = struct_access %.loc7_15, element0 -// CHECK:STDOUT: %.loc7_17.2: %ptr.719 = acquire_value %.loc7_17.1 -// CHECK:STDOUT: %impl.elem0: %.d4b = impl_witness_access constants.%Copy.impl_witness.c7f, element0 [concrete = constants.%ptr.as.Copy.impl.Op.0f3] +// CHECK:STDOUT: %.loc7_17.1: ref %ptr.9e6 = struct_access %.loc7_15, element0 +// CHECK:STDOUT: %.loc7_17.2: %ptr.9e6 = acquire_value %.loc7_17.1 +// CHECK:STDOUT: %impl.elem0: %.9aa = impl_witness_access constants.%Copy.impl_witness.594, element0 [concrete = constants.%ptr.as.Copy.impl.Op.3ca] // CHECK:STDOUT: %bound_method.loc7_17.1: = bound_method %.loc7_17.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%Cycle) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc7_17.2: = bound_method %.loc7_17.2, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.719 = call %bound_method.loc7_17.2(%.loc7_17.2) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.9e6 = call %bound_method.loc7_17.2(%.loc7_17.2) // CHECK:STDOUT: assign %.loc7_4, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/indirect_import_member.carbon b/toolchain/check/testdata/class/indirect_import_member.carbon index 318d3bf00e37..f5e48609d402 100644 --- a/toolchain/check/testdata/class/indirect_import_member.carbon +++ b/toolchain/check/testdata/class/indirect_import_member.carbon @@ -160,8 +160,8 @@ var x: () = D.C.F(); // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//a, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//a, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.a3c = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.aee = import_ref Main//a, loc5_10, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ad7 = import_ref Main//a, loc5_10, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -176,8 +176,8 @@ var x: () = D.C.F(); // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a3c -// CHECK:STDOUT: .F = imports.%Main.import_ref.aee +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .F = imports.%Main.import_ref.ad7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- d.carbon @@ -205,8 +205,8 @@ var x: () = D.C.F(); // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//c, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8db: = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.5ee = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.e0c = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.ab5 = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -234,8 +234,8 @@ var x: () = D.C.F(); // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8db // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.5ee -// CHECK:STDOUT: .F = imports.%Main.import_ref.e0c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 +// CHECK:STDOUT: .F = imports.%Main.import_ref.ab5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- f.carbon @@ -267,8 +267,8 @@ var x: () = D.C.F(); // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//a, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//a, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.a3c = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.4ea: %C.F.type = import_ref Main//a, loc5_10, loaded [concrete = constants.%C.F] +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.d29: %C.F.type = import_ref Main//a, loc5_10, loaded [concrete = constants.%C.F] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -293,8 +293,8 @@ var x: () = D.C.F(); // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a3c -// CHECK:STDOUT: .F = imports.%Main.import_ref.4ea +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .F = imports.%Main.import_ref.d29 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.F [from "a.carbon"]; @@ -302,7 +302,7 @@ var x: () = D.C.F(); // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %F.ref: %C.F.type = name_ref F, imports.%Main.import_ref.4ea [concrete = constants.%C.F] +// CHECK:STDOUT: %F.ref: %C.F.type = name_ref F, imports.%Main.import_ref.d29 [concrete = constants.%C.F] // CHECK:STDOUT: %C.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: assign file.%x.var, %C.F.call // CHECK:STDOUT: return @@ -324,8 +324,8 @@ var x: () = D.C.F(); // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//c, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8db: = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.5ee = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.153: %C.F.type = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%C.F] +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.f46: %C.F.type = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%C.F] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -350,8 +350,8 @@ var x: () = D.C.F(); // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8db // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.5ee -// CHECK:STDOUT: .F = imports.%Main.import_ref.153 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 +// CHECK:STDOUT: .F = imports.%Main.import_ref.f46 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.F [from "a.carbon"]; @@ -359,7 +359,7 @@ var x: () = D.C.F(); // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %F.ref: %C.F.type = name_ref F, imports.%Main.import_ref.153 [concrete = constants.%C.F] +// CHECK:STDOUT: %F.ref: %C.F.type = name_ref F, imports.%Main.import_ref.f46 [concrete = constants.%C.F] // CHECK:STDOUT: %C.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: assign file.%x.var, %C.F.call // CHECK:STDOUT: return @@ -381,8 +381,8 @@ var x: () = D.C.F(); // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//c, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8db: = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.5ee = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.8a8: %C.F.type = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%C.F] +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.f46: %C.F.type = import_ref Main//c, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%C.F] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -407,8 +407,8 @@ var x: () = D.C.F(); // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8db // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.5ee -// CHECK:STDOUT: .F = imports.%Main.import_ref.8a8 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 +// CHECK:STDOUT: .F = imports.%Main.import_ref.f46 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.F [from "a.carbon"]; @@ -416,7 +416,7 @@ var x: () = D.C.F(); // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %F.ref: %C.F.type = name_ref F, imports.%Main.import_ref.8a8 [concrete = constants.%C.F] +// CHECK:STDOUT: %F.ref: %C.F.type = name_ref F, imports.%Main.import_ref.f46 [concrete = constants.%C.F] // CHECK:STDOUT: %C.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: assign file.%x.var, %C.F.call // CHECK:STDOUT: return @@ -439,11 +439,11 @@ var x: () = D.C.F(); // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.D: type = import_ref Main//e, D, loaded [concrete = constants.%D] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//e, loc8_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.c3f = import_ref Main//e, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.214: type = import_ref Main//e, loc7_9, loaded [concrete = constants.%C] +// CHECK:STDOUT: %Main.import_ref.c42 = import_ref Main//e, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.531: type = import_ref Main//e, loc7_9, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8f3: = import_ref Main//e, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.63e = import_ref Main//e, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.c16: %C.F.type = import_ref Main//e, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%C.F] +// CHECK:STDOUT: %Main.import_ref.a5e = import_ref Main//e, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e77: %C.F.type = import_ref Main//e, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%C.F] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -468,16 +468,16 @@ var x: () = D.C.F(); // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.c3f -// CHECK:STDOUT: .C = imports.%Main.import_ref.214 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.c42 +// CHECK:STDOUT: .C = imports.%Main.import_ref.531 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "e.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.63e -// CHECK:STDOUT: .F = imports.%Main.import_ref.c16 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.a5e +// CHECK:STDOUT: .F = imports.%Main.import_ref.e77 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.F [from "a.carbon"]; @@ -485,8 +485,8 @@ var x: () = D.C.F(); // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%D] -// CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.import_ref.214 [concrete = constants.%C] -// CHECK:STDOUT: %F.ref: %C.F.type = name_ref F, imports.%Main.import_ref.c16 [concrete = constants.%C.F] +// CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.import_ref.531 [concrete = constants.%C] +// CHECK:STDOUT: %F.ref: %C.F.type = name_ref F, imports.%Main.import_ref.e77 [concrete = constants.%C.F] // CHECK:STDOUT: %C.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: assign file.%x.var, %C.F.call // CHECK:STDOUT: return @@ -509,11 +509,11 @@ var x: () = D.C.F(); // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.D: type = import_ref Main//e, D, loaded [concrete = constants.%D] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//e, loc8_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.c3f = import_ref Main//e, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.214: type = import_ref Main//e, loc7_9, loaded [concrete = constants.%C] +// CHECK:STDOUT: %Main.import_ref.c42 = import_ref Main//e, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.531: type = import_ref Main//e, loc7_9, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8f3: = import_ref Main//e, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.63e = import_ref Main//e, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.23c: %C.F.type = import_ref Main//e, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%C.F] +// CHECK:STDOUT: %Main.import_ref.a5e = import_ref Main//e, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e77: %C.F.type = import_ref Main//e, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%C.F] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -538,16 +538,16 @@ var x: () = D.C.F(); // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.c3f -// CHECK:STDOUT: .C = imports.%Main.import_ref.214 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.c42 +// CHECK:STDOUT: .C = imports.%Main.import_ref.531 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "e.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.63e -// CHECK:STDOUT: .F = imports.%Main.import_ref.23c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.a5e +// CHECK:STDOUT: .F = imports.%Main.import_ref.e77 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.F [from "a.carbon"]; @@ -555,8 +555,8 @@ var x: () = D.C.F(); // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%D] -// CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.import_ref.214 [concrete = constants.%C] -// CHECK:STDOUT: %F.ref: %C.F.type = name_ref F, imports.%Main.import_ref.23c [concrete = constants.%C.F] +// CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.import_ref.531 [concrete = constants.%C] +// CHECK:STDOUT: %F.ref: %C.F.type = name_ref F, imports.%Main.import_ref.e77 [concrete = constants.%C.F] // CHECK:STDOUT: %C.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: assign file.%x.var, %C.F.call // CHECK:STDOUT: return diff --git a/toolchain/check/testdata/class/inheritance/base.carbon b/toolchain/check/testdata/class/inheritance/base.carbon index d83c5fa6b1b8..55529ec3031a 100644 --- a/toolchain/check/testdata/class/inheritance/base.carbon +++ b/toolchain/check/testdata/class/inheritance/base.carbon @@ -59,15 +59,15 @@ class Derived { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %i32 [concrete] -// CHECK:STDOUT: %struct_type.b.177: type = struct_type {.b: %i32} [concrete] -// CHECK:STDOUT: %complete_type.421: = complete_type_witness %struct_type.b.177 [concrete] +// CHECK:STDOUT: %struct_type.b.676: type = struct_type {.b: %i32} [concrete] +// CHECK:STDOUT: %complete_type.ec5: = complete_type_witness %struct_type.b.676 [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] -// CHECK:STDOUT: %Derived.elem.24a: type = unbound_element_type %Derived, %Base [concrete] -// CHECK:STDOUT: %Derived.elem.757: type = unbound_element_type %Derived, %i32 [concrete] -// CHECK:STDOUT: %struct_type.base.d.c78: type = struct_type {.base: %Base, .d: %i32} [concrete] -// CHECK:STDOUT: %complete_type.328: = complete_type_witness %struct_type.base.d.c78 [concrete] -// CHECK:STDOUT: %.aab: Core.Form = init_form %Derived [concrete] -// CHECK:STDOUT: %pattern_type.f2f: type = pattern_type %Derived [concrete] +// CHECK:STDOUT: %Derived.elem.036: type = unbound_element_type %Derived, %Base [concrete] +// CHECK:STDOUT: %Derived.elem.51e: type = unbound_element_type %Derived, %i32 [concrete] +// CHECK:STDOUT: %struct_type.base.d.93e: type = struct_type {.base: %Base, .d: %i32} [concrete] +// CHECK:STDOUT: %complete_type.5cf: = complete_type_witness %struct_type.base.d.93e [concrete] +// CHECK:STDOUT: %.719: Core.Form = init_form %Derived [concrete] +// CHECK:STDOUT: %pattern_type.cd6: type = pattern_type %Derived [concrete] // CHECK:STDOUT: %Make.type: type = fn_type @Make [concrete] // CHECK:STDOUT: %Make: %Make.type = struct_value () [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] @@ -76,46 +76,46 @@ class Derived { // CHECK:STDOUT: %int_7.29f: Core.IntLiteral = int_value 7 [concrete] // CHECK:STDOUT: %struct_type.base.d.a20: type = struct_type {.base: %struct_type.b.a15, .d: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.ab7: %struct_type.base.d.a20 = struct_value (%struct.a2e, %int_7.29f) [concrete] -// CHECK:STDOUT: %.b5a: type = partial_type %Base [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %.505: type = partial_type %Base [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] -// CHECK:STDOUT: %struct.145: %.b5a = struct_value (%int_4.a7d) [concrete] -// CHECK:STDOUT: %Base.val: %Base = struct_value (%int_4.a7d) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.dbb: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.a24: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_7.0de: %i32 = int_value 7 [concrete] -// CHECK:STDOUT: %Derived.val: %Derived = struct_value (%Base.val, %int_7.0de) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %struct.cde: %.505 = struct_value (%int_4.a4d) [concrete] +// CHECK:STDOUT: %Base.val: %Base = struct_value (%int_4.a4d) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.286: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.936: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_7.c44: %i32 = int_value 7 [concrete] +// CHECK:STDOUT: %Derived.val: %Derived = struct_value (%Base.val, %int_7.c44) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.8e3: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %.88c: Core.Form = init_form %tuple.type.87c [concrete] -// CHECK:STDOUT: %pattern_type.624: type = pattern_type %tuple.type.87c [concrete] +// CHECK:STDOUT: %tuple.79d: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %.ac5: Core.Form = init_form %tuple.type.e5a [concrete] +// CHECK:STDOUT: %pattern_type.7d6: type = pattern_type %tuple.type.e5a [concrete] // CHECK:STDOUT: %Access.type: type = fn_type @Access [concrete] // CHECK:STDOUT: %Access: %Access.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -127,12 +127,12 @@ class Derived { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -147,36 +147,36 @@ class Derived { // CHECK:STDOUT: %Base.decl: type = class_decl @Base [concrete = constants.%Base] {} {} // CHECK:STDOUT: %Derived.decl: type = class_decl @Derived [concrete = constants.%Derived] {} {} // CHECK:STDOUT: %Make.decl: %Make.type = fn_decl @Make [concrete = constants.%Make] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.f2f = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f2f = return_slot_pattern %return.param_patt, %Derived.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.cd6 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.cd6 = return_slot_pattern %return.param_patt, %Derived.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] -// CHECK:STDOUT: %.loc13: Core.Form = init_form %Derived.ref [concrete = constants.%.aab] +// CHECK:STDOUT: %.loc13: Core.Form = init_form %Derived.ref [concrete = constants.%.719] // CHECK:STDOUT: %return.param: ref %Derived = out_param call_param0 // CHECK:STDOUT: %return: ref %Derived = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Access.decl: %Access.type = fn_decl @Access [concrete = constants.%Access] { -// CHECK:STDOUT: %d.param_patt: %pattern_type.f2f = value_param_pattern [concrete] -// CHECK:STDOUT: %d.patt: %pattern_type.f2f = at_binding_pattern d, %d.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.624 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.624 = return_slot_pattern %return.param_patt, %.loc17_35.2 [concrete] +// CHECK:STDOUT: %d.param_patt: %pattern_type.cd6 = value_param_pattern [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.cd6 = at_binding_pattern d, %d.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7d6 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7d6 = return_slot_pattern %return.param_patt, %.loc17_35.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc17_27: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc17_32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc17_35.1: %tuple.type.24b = tuple_literal (%i32.loc17_27, %i32.loc17_32) [concrete = constants.%tuple.8e3] -// CHECK:STDOUT: %.loc17_35.2: type = converted %.loc17_35.1, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] -// CHECK:STDOUT: %.loc17_35.3: Core.Form = init_form %.loc17_35.2 [concrete = constants.%.88c] +// CHECK:STDOUT: %.loc17_35.1: %tuple.type.24b = tuple_literal (%i32.loc17_27, %i32.loc17_32) [concrete = constants.%tuple.79d] +// CHECK:STDOUT: %.loc17_35.2: type = converted %.loc17_35.1, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] +// CHECK:STDOUT: %.loc17_35.3: Core.Form = init_form %.loc17_35.2 [concrete = constants.%.ac5] // CHECK:STDOUT: %d.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] // CHECK:STDOUT: %d: %Derived = value_binding d, %d.param -// CHECK:STDOUT: %return.param: ref %tuple.type.87c = out_param call_param1 -// CHECK:STDOUT: %return: ref %tuple.type.87c = return_slot %return.param +// CHECK:STDOUT: %return.param: ref %tuple.type.e5a = out_param call_param1 +// CHECK:STDOUT: %return: ref %tuple.type.e5a = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Base { // CHECK:STDOUT: %.loc4: %Base.elem = field_decl b, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.b.177 [concrete = constants.%complete_type.421] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.b.676 [concrete = constants.%complete_type.ec5] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -186,9 +186,9 @@ class Derived { // CHECK:STDOUT: // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] -// CHECK:STDOUT: %.loc8: %Derived.elem.24a = base_decl %Base.ref, element0 [concrete] -// CHECK:STDOUT: %.loc10: %Derived.elem.757 = field_decl d, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d.c78 [concrete = constants.%complete_type.328] +// CHECK:STDOUT: %.loc8: %Derived.elem.036 = base_decl %Base.ref, element0 [concrete] +// CHECK:STDOUT: %.loc10: %Derived.elem.51e = field_decl d, element1 [concrete] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d.93e [concrete = constants.%complete_type.5cf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -205,61 +205,61 @@ class Derived { // CHECK:STDOUT: %.loc14_26.1: %struct_type.b.a15 = struct_literal (%int_4) [concrete = constants.%struct.a2e] // CHECK:STDOUT: %int_7: Core.IntLiteral = int_value 7 [concrete = constants.%int_7.29f] // CHECK:STDOUT: %.loc14_35.1: %struct_type.base.d.a20 = struct_literal (%.loc14_26.1, %int_7) [concrete = constants.%struct.ab7] -// CHECK:STDOUT: %impl.elem0.loc14_26: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc14_26.1: = bound_method %int_4, %impl.elem0.loc14_26 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %impl.elem0.loc14_26: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc14_26.1: = bound_method %int_4, %impl.elem0.loc14_26 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc14_26: = specific_function %impl.elem0.loc14_26, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc14_26.2: = bound_method %int_4, %specific_fn.loc14_26 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_26: init %i32 = call %bound_method.loc14_26.2(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc14_26.2: init %i32 = converted %int_4, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_26 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc14_35.2: ref %.b5a = class_element_access %return.param, element0 +// CHECK:STDOUT: %bound_method.loc14_26.2: = bound_method %int_4, %specific_fn.loc14_26 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_26: init %i32 = call %bound_method.loc14_26.2(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc14_26.2: init %i32 = converted %int_4, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_26 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc14_35.2: ref %.505 = class_element_access %return.param, element0 // CHECK:STDOUT: %.loc14_26.3: ref %i32 = class_element_access %.loc14_35.2, element0 -// CHECK:STDOUT: %.loc14_26.4: init %i32 to %.loc14_26.3 = in_place_init %.loc14_26.2 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc14_26.5: init %.b5a to %.loc14_35.2 = class_init (%.loc14_26.4) [concrete = constants.%struct.145] -// CHECK:STDOUT: %.loc14_35.3: init %.b5a = converted %.loc14_26.1, %.loc14_26.5 [concrete = constants.%struct.145] +// CHECK:STDOUT: %.loc14_26.4: init %i32 to %.loc14_26.3 = in_place_init %.loc14_26.2 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc14_26.5: init %.505 to %.loc14_35.2 = class_init (%.loc14_26.4) [concrete = constants.%struct.cde] +// CHECK:STDOUT: %.loc14_35.3: init %.505 = converted %.loc14_26.1, %.loc14_26.5 [concrete = constants.%struct.cde] // CHECK:STDOUT: %.loc14_35.4: init %Base = as_compatible %.loc14_35.3 [concrete = constants.%Base.val] -// CHECK:STDOUT: %impl.elem0.loc14_35: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc14_35.1: = bound_method %int_7, %impl.elem0.loc14_35 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.dbb] +// CHECK:STDOUT: %impl.elem0.loc14_35: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc14_35.1: = bound_method %int_7, %impl.elem0.loc14_35 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.286] // CHECK:STDOUT: %specific_fn.loc14_35: = specific_function %impl.elem0.loc14_35, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc14_35.2: = bound_method %int_7, %specific_fn.loc14_35 [concrete = constants.%bound_method.a24] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_35: init %i32 = call %bound_method.loc14_35.2(%int_7) [concrete = constants.%int_7.0de] -// CHECK:STDOUT: %.loc14_35.5: init %i32 = converted %int_7, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_35 [concrete = constants.%int_7.0de] +// CHECK:STDOUT: %bound_method.loc14_35.2: = bound_method %int_7, %specific_fn.loc14_35 [concrete = constants.%bound_method.936] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_35: init %i32 = call %bound_method.loc14_35.2(%int_7) [concrete = constants.%int_7.c44] +// CHECK:STDOUT: %.loc14_35.5: init %i32 = converted %int_7, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_35 [concrete = constants.%int_7.c44] // CHECK:STDOUT: %.loc14_35.6: ref %i32 = class_element_access %return.param, element1 -// CHECK:STDOUT: %.loc14_35.7: init %i32 to %.loc14_35.6 = in_place_init %.loc14_35.5 [concrete = constants.%int_7.0de] +// CHECK:STDOUT: %.loc14_35.7: init %i32 to %.loc14_35.6 = in_place_init %.loc14_35.5 [concrete = constants.%int_7.c44] // CHECK:STDOUT: %.loc14_35.8: init %Derived to %return.param = class_init (%.loc14_35.4, %.loc14_35.7) [concrete = constants.%Derived.val] // CHECK:STDOUT: %.loc14_36: init %Derived = converted %.loc14_35.1, %.loc14_35.8 [concrete = constants.%Derived.val] // CHECK:STDOUT: return %.loc14_36 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Access(%d.param: %Derived) -> out %return.param: %tuple.type.87c { +// CHECK:STDOUT: fn @Access(%d.param: %Derived) -> out %return.param: %tuple.type.e5a { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %d.ref.loc18_11: %Derived = name_ref d, %d -// CHECK:STDOUT: %d.ref.loc18_12: %Derived.elem.757 = name_ref d, @Derived.%.loc10 [concrete = @Derived.%.loc10] +// CHECK:STDOUT: %d.ref.loc18_12: %Derived.elem.51e = name_ref d, @Derived.%.loc10 [concrete = @Derived.%.loc10] // CHECK:STDOUT: %.loc18_12.1: ref %i32 = class_element_access %d.ref.loc18_11, element1 // CHECK:STDOUT: %.loc18_12.2: %i32 = acquire_value %.loc18_12.1 // CHECK:STDOUT: %d.ref.loc18_16: %Derived = name_ref d, %d -// CHECK:STDOUT: %base.ref: %Derived.elem.24a = name_ref base, @Derived.%.loc8 [concrete = @Derived.%.loc8] +// CHECK:STDOUT: %base.ref: %Derived.elem.036 = name_ref base, @Derived.%.loc8 [concrete = @Derived.%.loc8] // CHECK:STDOUT: %.loc18_17.1: ref %Base = class_element_access %d.ref.loc18_16, element0 // CHECK:STDOUT: %.loc18_17.2: %Base = acquire_value %.loc18_17.1 // CHECK:STDOUT: %b.ref: %Base.elem = name_ref b, @Base.%.loc4 [concrete = @Base.%.loc4] // CHECK:STDOUT: %.loc18_22.1: ref %i32 = class_element_access %.loc18_17.2, element0 // CHECK:STDOUT: %.loc18_22.2: %i32 = acquire_value %.loc18_22.1 -// CHECK:STDOUT: %.loc18_24.1: %tuple.type.87c = tuple_literal (%.loc18_12.2, %.loc18_22.2) -// CHECK:STDOUT: %impl.elem0.loc18_12: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %.loc18_24.1: %tuple.type.e5a = tuple_literal (%.loc18_12.2, %.loc18_22.2) +// CHECK:STDOUT: %impl.elem0.loc18_12: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc18_12.1: = bound_method %.loc18_12.2, %impl.elem0.loc18_12 // CHECK:STDOUT: %specific_fn.loc18_12: = specific_function %impl.elem0.loc18_12, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc18_12.2: = bound_method %.loc18_12.2, %specific_fn.loc18_12 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc18_12: init %i32 = call %bound_method.loc18_12.2(%.loc18_12.2) // CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %return.param, element0 // CHECK:STDOUT: %.loc18_24.2: init %i32 to %tuple.elem0 = in_place_init %Int.as.Copy.impl.Op.call.loc18_12 -// CHECK:STDOUT: %impl.elem0.loc18_22: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc18_22: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc18_22.1: = bound_method %.loc18_22.2, %impl.elem0.loc18_22 // CHECK:STDOUT: %specific_fn.loc18_22: = specific_function %impl.elem0.loc18_22, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc18_22.2: = bound_method %.loc18_22.2, %specific_fn.loc18_22 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc18_22: init %i32 = call %bound_method.loc18_22.2(%.loc18_22.2) // CHECK:STDOUT: %tuple.elem1: ref %i32 = tuple_access %return.param, element1 // CHECK:STDOUT: %.loc18_24.3: init %i32 to %tuple.elem1 = in_place_init %Int.as.Copy.impl.Op.call.loc18_22 -// CHECK:STDOUT: %.loc18_24.4: init %tuple.type.87c to %return.param = tuple_init (%.loc18_24.2, %.loc18_24.3) -// CHECK:STDOUT: %.loc18_25: init %tuple.type.87c = converted %.loc18_24.1, %.loc18_24.4 +// CHECK:STDOUT: %.loc18_24.4: init %tuple.type.e5a to %return.param = tuple_init (%.loc18_24.2, %.loc18_24.3) +// CHECK:STDOUT: %.loc18_25: init %tuple.type.e5a = converted %.loc18_24.1, %.loc18_24.4 // CHECK:STDOUT: return %.loc18_25 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: @@ -276,7 +276,7 @@ class Derived { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Derived.elem: type = unbound_element_type %Derived, %i32 [concrete] // CHECK:STDOUT: %struct_type.d: type = struct_type {.d: %i32} [concrete] -// CHECK:STDOUT: %complete_type.c69: = complete_type_witness %struct_type.d [concrete] +// CHECK:STDOUT: %complete_type.1eb: = complete_type_witness %struct_type.d [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -310,7 +310,7 @@ class Derived { // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: %.loc7: %Derived.elem = field_decl d, element0 [concrete] // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.d [concrete = constants.%complete_type.c69] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.d [concrete = constants.%complete_type.1eb] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: diff --git a/toolchain/check/testdata/class/inheritance/base_field.carbon b/toolchain/check/testdata/class/inheritance/base_field.carbon index 3054b693baa9..584a9fc5a6ab 100644 --- a/toolchain/check/testdata/class/inheritance/base_field.carbon +++ b/toolchain/check/testdata/class/inheritance/base_field.carbon @@ -39,30 +39,30 @@ fn Access(p: Derived*) -> i32* { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %i32 [concrete] // CHECK:STDOUT: %struct_type.a.b.c: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete] -// CHECK:STDOUT: %complete_type.7bc: = complete_type_witness %struct_type.a.b.c [concrete] +// CHECK:STDOUT: %complete_type.57e: = complete_type_witness %struct_type.a.b.c [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] -// CHECK:STDOUT: %Derived.elem.de2: type = unbound_element_type %Derived, %Base [concrete] -// CHECK:STDOUT: %Derived.elem.6ba: type = unbound_element_type %Derived, %i32 [concrete] -// CHECK:STDOUT: %struct_type.base.d.e.768: type = struct_type {.base: %Base, .d: %i32, .e: %i32} [concrete] -// CHECK:STDOUT: %complete_type.a4e: = complete_type_witness %struct_type.base.d.e.768 [concrete] -// CHECK:STDOUT: %ptr.128: type = ptr_type %Derived [concrete] -// CHECK:STDOUT: %pattern_type.66e: type = pattern_type %ptr.128 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %.793: Core.Form = init_form %ptr.143 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] +// CHECK:STDOUT: %Derived.elem.25d: type = unbound_element_type %Derived, %Base [concrete] +// CHECK:STDOUT: %Derived.elem.165: type = unbound_element_type %Derived, %i32 [concrete] +// CHECK:STDOUT: %struct_type.base.d.e.0c9: type = struct_type {.base: %Base, .d: %i32, .e: %i32} [concrete] +// CHECK:STDOUT: %complete_type.c27: = complete_type_witness %struct_type.base.d.e.0c9 [concrete] +// CHECK:STDOUT: %ptr.054: type = ptr_type %Derived [concrete] +// CHECK:STDOUT: %pattern_type.df0: type = pattern_type %ptr.054 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %.060: Core.Form = init_form %ptr.847 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] // CHECK:STDOUT: %Access.type: type = fn_type @Access [concrete] // CHECK:STDOUT: %Access: %Access.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -74,8 +74,8 @@ fn Access(p: Derived*) -> i32* { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -89,22 +89,22 @@ fn Access(p: Derived*) -> i32* { // CHECK:STDOUT: %Base.decl: type = class_decl @Base [concrete = constants.%Base] {} {} // CHECK:STDOUT: %Derived.decl: type = class_decl @Derived [concrete = constants.%Derived] {} {} // CHECK:STDOUT: %Access.decl: %Access.type = fn_decl @Access [concrete = constants.%Access] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.66e = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.66e = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.663 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.663 = return_slot_pattern %return.param_patt, %ptr.loc28_30 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.df0 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.df0 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7b5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7b5 = return_slot_pattern %return.param_patt, %ptr.loc28_30 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc28_30: type = ptr_type %i32 [concrete = constants.%ptr.143] -// CHECK:STDOUT: %.loc28_30: Core.Form = init_form %ptr.loc28_30 [concrete = constants.%.793] -// CHECK:STDOUT: %p.param: %ptr.128 = value_param call_param0 -// CHECK:STDOUT: %.loc28_21: type = splice_block %ptr.loc28_21 [concrete = constants.%ptr.128] { +// CHECK:STDOUT: %ptr.loc28_30: type = ptr_type %i32 [concrete = constants.%ptr.847] +// CHECK:STDOUT: %.loc28_30: Core.Form = init_form %ptr.loc28_30 [concrete = constants.%.060] +// CHECK:STDOUT: %p.param: %ptr.054 = value_param call_param0 +// CHECK:STDOUT: %.loc28_21: type = splice_block %ptr.loc28_21 [concrete = constants.%ptr.054] { // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] -// CHECK:STDOUT: %ptr.loc28_21: type = ptr_type %Derived.ref [concrete = constants.%ptr.128] +// CHECK:STDOUT: %ptr.loc28_21: type = ptr_type %Derived.ref [concrete = constants.%ptr.054] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.128 = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %ptr.143 = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.143 = return_slot %return.param +// CHECK:STDOUT: %p: %ptr.054 = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %ptr.847 = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.847 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -112,7 +112,7 @@ fn Access(p: Derived*) -> i32* { // CHECK:STDOUT: %.loc16: %Base.elem = field_decl a, element0 [concrete] // CHECK:STDOUT: %.loc17: %Base.elem = field_decl b, element1 [concrete] // CHECK:STDOUT: %.loc18: %Base.elem = field_decl c, element2 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.c [concrete = constants.%complete_type.7bc] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.c [concrete = constants.%complete_type.57e] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -124,10 +124,10 @@ fn Access(p: Derived*) -> i32* { // CHECK:STDOUT: // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] -// CHECK:STDOUT: %.loc22: %Derived.elem.de2 = base_decl %Base.ref, element0 [concrete] -// CHECK:STDOUT: %.loc24: %Derived.elem.6ba = field_decl d, element1 [concrete] -// CHECK:STDOUT: %.loc25: %Derived.elem.6ba = field_decl e, element2 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d.e.768 [concrete = constants.%complete_type.a4e] +// CHECK:STDOUT: %.loc22: %Derived.elem.25d = base_decl %Base.ref, element0 [concrete] +// CHECK:STDOUT: %.loc24: %Derived.elem.165 = field_decl d, element1 [concrete] +// CHECK:STDOUT: %.loc25: %Derived.elem.165 = field_decl e, element2 [concrete] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d.e.0c9 [concrete = constants.%complete_type.c27] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -140,20 +140,20 @@ fn Access(p: Derived*) -> i32* { // CHECK:STDOUT: extend %Base.ref // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Access(%p.param: %ptr.128) -> out %return.param: %ptr.143 { +// CHECK:STDOUT: fn @Access(%p.param: %ptr.054) -> out %return.param: %ptr.847 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.128 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.054 = name_ref p, %p // CHECK:STDOUT: %.loc29_12: ref %Derived = deref %p.ref // CHECK:STDOUT: %c.ref: %Base.elem = name_ref c, @Base.%.loc18 [concrete = @Base.%.loc18] // CHECK:STDOUT: %.loc29_15.1: ref %Base = class_element_access %.loc29_12, element0 // CHECK:STDOUT: %.loc29_15.2: ref %Base = converted %.loc29_12, %.loc29_15.1 // CHECK:STDOUT: %.loc29_15.3: ref %i32 = class_element_access %.loc29_15.2, element2 -// CHECK:STDOUT: %addr: %ptr.143 = addr_of %.loc29_15.3 -// CHECK:STDOUT: %impl.elem0: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr: %ptr.847 = addr_of %.loc29_15.3 +// CHECK:STDOUT: %impl.elem0: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc29_10.1: = bound_method %addr, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc29_10.2: = bound_method %addr, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.143 = call %bound_method.loc29_10.2(%addr) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.847 = call %bound_method.loc29_10.2(%addr) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/inheritance/base_function_unqualified.carbon b/toolchain/check/testdata/class/inheritance/base_function_unqualified.carbon index db6e2ab7b892..d6408563b2d2 100644 --- a/toolchain/check/testdata/class/inheritance/base_function_unqualified.carbon +++ b/toolchain/check/testdata/class/inheritance/base_function_unqualified.carbon @@ -43,7 +43,7 @@ fn Derived.H() { // CHECK:STDOUT: %Derived.H.type: type = fn_type @Derived.H [concrete] // CHECK:STDOUT: %Derived.H: %Derived.H.type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.base: type = struct_type {.base: %Base} [concrete] -// CHECK:STDOUT: %complete_type.4e8: = complete_type_witness %struct_type.base [concrete] +// CHECK:STDOUT: %complete_type.736: = complete_type_witness %struct_type.base [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -80,7 +80,7 @@ fn Derived.H() { // CHECK:STDOUT: %.loc20: %Derived.elem = base_decl %Base.ref, element0 [concrete] // CHECK:STDOUT: %Derived.G.decl: %Derived.G.type = fn_decl @Derived.G [concrete = constants.%Derived.G] {} {} // CHECK:STDOUT: %Derived.H.decl: %Derived.H.type = fn_decl @Derived.H [concrete = constants.%Derived.H] {} {} -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base [concrete = constants.%complete_type.4e8] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base [concrete = constants.%complete_type.736] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: diff --git a/toolchain/check/testdata/class/inheritance/base_method.carbon b/toolchain/check/testdata/class/inheritance/base_method.carbon index 094edbfb91fb..e0b8e320897b 100644 --- a/toolchain/check/testdata/class/inheritance/base_method.carbon +++ b/toolchain/check/testdata/class/inheritance/base_method.carbon @@ -40,34 +40,34 @@ fn Call(p: Derived*) { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.85f: type = pattern_type %Base [concrete] +// CHECK:STDOUT: %pattern_type.116: type = pattern_type %Base [concrete] // CHECK:STDOUT: %Base.F.type: type = fn_type @Base.F [concrete] // CHECK:STDOUT: %Base.F: %Base.F.type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fd3: = complete_type_witness %struct_type.a [concrete] +// CHECK:STDOUT: %complete_type.f2a: = complete_type_witness %struct_type.a [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] // CHECK:STDOUT: %Derived.elem: type = unbound_element_type %Derived, %Base [concrete] -// CHECK:STDOUT: %struct_type.base.e63: type = struct_type {.base: %Base} [concrete] -// CHECK:STDOUT: %complete_type.4e8: = complete_type_witness %struct_type.base.e63 [concrete] -// CHECK:STDOUT: %ptr.128: type = ptr_type %Derived [concrete] -// CHECK:STDOUT: %pattern_type.66e: type = pattern_type %ptr.128 [concrete] +// CHECK:STDOUT: %struct_type.base.d37: type = struct_type {.base: %Base} [concrete] +// CHECK:STDOUT: %complete_type.736: = complete_type_witness %struct_type.base.d37 [concrete] +// CHECK:STDOUT: %ptr.054: type = ptr_type %Derived [concrete] +// CHECK:STDOUT: %pattern_type.df0: type = pattern_type %ptr.054 [concrete] // CHECK:STDOUT: %Call.type: type = fn_type @Call [concrete] // CHECK:STDOUT: %Call: %Call.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -80,9 +80,9 @@ fn Call(p: Derived*) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -95,8 +95,8 @@ fn Call(p: Derived*) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Base.decl: type = class_decl @Base [concrete = constants.%Base] {} {} // CHECK:STDOUT: %Base.F.decl: %Base.F.type = fn_decl @Base.F [concrete = constants.%Base.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.85f = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.85f = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.116 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.116 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param.loc21: ref %Base = ref_param call_param0 // CHECK:STDOUT: %Self.ref.loc21: type = name_ref Self, constants.%Base [concrete = constants.%Base] @@ -104,29 +104,29 @@ fn Call(p: Derived*) { // CHECK:STDOUT: } // CHECK:STDOUT: %Derived.decl: type = class_decl @Derived [concrete = constants.%Derived] {} {} // CHECK:STDOUT: %Call.decl: %Call.type = fn_decl @Call [concrete = constants.%Call] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.66e = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.66e = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.df0 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.df0 = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %p.param: %ptr.128 = value_param call_param0 -// CHECK:STDOUT: %.loc29: type = splice_block %ptr [concrete = constants.%ptr.128] { +// CHECK:STDOUT: %p.param: %ptr.054 = value_param call_param0 +// CHECK:STDOUT: %.loc29: type = splice_block %ptr [concrete = constants.%ptr.054] { // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] -// CHECK:STDOUT: %ptr: type = ptr_type %Derived.ref [concrete = constants.%ptr.128] +// CHECK:STDOUT: %ptr: type = ptr_type %Derived.ref [concrete = constants.%ptr.054] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.128 = value_binding p, %p.param +// CHECK:STDOUT: %p: %ptr.054 = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Base { // CHECK:STDOUT: %.loc16: %Base.elem = field_decl a, element0 [concrete] // CHECK:STDOUT: %Base.F.decl: %Base.F.type = fn_decl @Base.F [concrete = constants.%Base.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.85f = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.85f = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.116 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.116 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param.loc18: ref %Base = ref_param call_param0 // CHECK:STDOUT: %Self.ref.loc18: type = name_ref Self, constants.%Base [concrete = constants.%Base] // CHECK:STDOUT: %self.loc18: ref %Base = ref_binding self, %self.param.loc18 // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a [concrete = constants.%complete_type.fd3] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a [concrete = constants.%complete_type.f2a] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -138,7 +138,7 @@ fn Call(p: Derived*) { // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %.loc26: %Derived.elem = base_decl %Base.ref, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.e63 [concrete = constants.%complete_type.4e8] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d37 [concrete = constants.%complete_type.736] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -155,19 +155,19 @@ fn Call(p: Derived*) { // CHECK:STDOUT: %a.ref: %Base.elem = name_ref a, @Base.%.loc16 [concrete = @Base.%.loc16] // CHECK:STDOUT: %.loc22_7: ref %i32 = class_element_access %self.ref, element0 // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc22_10.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc22_10.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc22_10.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc22_10: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc22_10.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc22_10: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign %.loc22_7, %.loc22_10 // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Call(%p.param: %ptr.128) { +// CHECK:STDOUT: fn @Call(%p.param: %ptr.054) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.128 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.054 = name_ref p, %p // CHECK:STDOUT: %.loc30_4.1: ref %Derived = deref %p.ref // CHECK:STDOUT: %F.ref: %Base.F.type = name_ref F, @Base.%Base.F.decl [concrete = constants.%Base.F] // CHECK:STDOUT: %Base.F.bound: = bound_method %.loc30_4.1, %F.ref diff --git a/toolchain/check/testdata/class/inheritance/base_method_qualified.carbon b/toolchain/check/testdata/class/inheritance/base_method_qualified.carbon index 7b5d508e5f3f..845fc307110e 100644 --- a/toolchain/check/testdata/class/inheritance/base_method_qualified.carbon +++ b/toolchain/check/testdata/class/inheritance/base_method_qualified.carbon @@ -47,16 +47,16 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: constants { // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] // CHECK:STDOUT: %Base: type = class_type @Base [concrete] -// CHECK:STDOUT: %pattern_type.85f: type = pattern_type %Base [concrete] +// CHECK:STDOUT: %pattern_type.116: type = pattern_type %Base [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Base.F.type: type = fn_type @Base.F [concrete] // CHECK:STDOUT: %Base.F: %Base.F.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.384: type = pattern_type %Derived [concrete] +// CHECK:STDOUT: %pattern_type.cd3: type = pattern_type %Derived [concrete] // CHECK:STDOUT: %Base.G.type: type = fn_type @Base.G [concrete] // CHECK:STDOUT: %Base.G: %Base.G.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] @@ -66,12 +66,12 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: %Derived.F: %Derived.F.type = struct_value () [concrete] // CHECK:STDOUT: %Derived.G.type: type = fn_type @Derived.G [concrete] // CHECK:STDOUT: %Derived.G: %Derived.G.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.e63: type = struct_type {.base: %Base} [concrete] -// CHECK:STDOUT: %complete_type.4e8: = complete_type_witness %struct_type.base.e63 [concrete] +// CHECK:STDOUT: %struct_type.base.d37: type = struct_type {.base: %Base} [concrete] +// CHECK:STDOUT: %complete_type.736: = complete_type_witness %struct_type.base.d37 [concrete] // CHECK:STDOUT: %Call.type: type = fn_type @Call [concrete] // CHECK:STDOUT: %Call: %Call.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.128: type = ptr_type %Derived [concrete] -// CHECK:STDOUT: %pattern_type.66e: type = pattern_type %ptr.128 [concrete] +// CHECK:STDOUT: %ptr.054: type = ptr_type %Derived [concrete] +// CHECK:STDOUT: %pattern_type.df0: type = pattern_type %ptr.054 [concrete] // CHECK:STDOUT: %CallIndirect.type: type = fn_type @CallIndirect [concrete] // CHECK:STDOUT: %CallIndirect: %CallIndirect.type = struct_value () [concrete] // CHECK:STDOUT: %PassDerivedToBase.type: type = fn_type @PassDerivedToBase [concrete] @@ -104,13 +104,13 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: %Base.decl: type = class_decl @Base [concrete = constants.%Base] {} {} // CHECK:STDOUT: %Derived.decl.loc22: type = class_decl @Derived [concrete = constants.%Derived] {} {} // CHECK:STDOUT: %Call.decl: %Call.type = fn_decl @Call [concrete = constants.%Call] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.384 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.384 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.cd3 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc29: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc29: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl.loc15 [concrete = constants.%Derived] // CHECK:STDOUT: %a: %Derived = value_binding a, %a.param @@ -118,30 +118,30 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallIndirect.decl: %CallIndirect.type = fn_decl @CallIndirect [concrete = constants.%CallIndirect] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.66e = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.66e = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.df0 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.df0 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc33_33: Core.Form = init_form %i32 [concrete = constants.%.70c] -// CHECK:STDOUT: %p.param: %ptr.128 = value_param call_param0 -// CHECK:STDOUT: %.loc33_27: type = splice_block %ptr [concrete = constants.%ptr.128] { +// CHECK:STDOUT: %.loc33_33: Core.Form = init_form %i32 [concrete = constants.%.7ea] +// CHECK:STDOUT: %p.param: %ptr.054 = value_param call_param0 +// CHECK:STDOUT: %.loc33_27: type = splice_block %ptr [concrete = constants.%ptr.054] { // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl.loc15 [concrete = constants.%Derived] -// CHECK:STDOUT: %ptr: type = ptr_type %Derived.ref [concrete = constants.%ptr.128] +// CHECK:STDOUT: %ptr: type = ptr_type %Derived.ref [concrete = constants.%ptr.054] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.128 = value_binding p, %p.param +// CHECK:STDOUT: %p: %ptr.054 = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %PassDerivedToBase.decl: %PassDerivedToBase.type = fn_decl @PassDerivedToBase [concrete = constants.%PassDerivedToBase] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.384 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.384 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.cd3 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc37: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc37: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl.loc15 [concrete = constants.%Derived] // CHECK:STDOUT: %a: %Derived = value_binding a, %a.param @@ -149,19 +149,19 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %PassDerivedToBaseIndirect.decl: %PassDerivedToBaseIndirect.type = fn_decl @PassDerivedToBaseIndirect [concrete = constants.%PassDerivedToBaseIndirect] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.66e = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.66e = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.df0 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.df0 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc41_46: Core.Form = init_form %i32 [concrete = constants.%.70c] -// CHECK:STDOUT: %p.param: %ptr.128 = value_param call_param0 -// CHECK:STDOUT: %.loc41_40: type = splice_block %ptr [concrete = constants.%ptr.128] { +// CHECK:STDOUT: %.loc41_46: Core.Form = init_form %i32 [concrete = constants.%.7ea] +// CHECK:STDOUT: %p.param: %ptr.054 = value_param call_param0 +// CHECK:STDOUT: %.loc41_40: type = splice_block %ptr [concrete = constants.%ptr.054] { // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl.loc15 [concrete = constants.%Derived] -// CHECK:STDOUT: %ptr: type = ptr_type %Derived.ref [concrete = constants.%ptr.128] +// CHECK:STDOUT: %ptr: type = ptr_type %Derived.ref [concrete = constants.%ptr.054] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.128 = value_binding p, %p.param +// CHECK:STDOUT: %p: %ptr.054 = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -171,22 +171,22 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %.loc23: %Derived.elem = base_decl %Base.ref, element0 [concrete] // CHECK:STDOUT: %Derived.F.decl: %Derived.F.type = fn_decl @Derived.F [concrete = constants.%Derived.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.384 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.384 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.cd3 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Derived [concrete = constants.%Derived] // CHECK:STDOUT: %self: %Derived = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %Derived.G.decl: %Derived.G.type = fn_decl @Derived.G [concrete = constants.%Derived.G] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.384 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.384 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.cd3 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Derived [concrete = constants.%Derived] // CHECK:STDOUT: %self: %Derived = value_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.e63 [concrete = constants.%complete_type.4e8] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d37 [concrete = constants.%complete_type.736] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -200,13 +200,13 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: class @Base { // CHECK:STDOUT: %Base.F.decl: %Base.F.type = fn_decl @Base.F [concrete = constants.%Base.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.85f = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.85f = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.116 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.116 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc18: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc18: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: %Base = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Base [concrete = constants.%Base] // CHECK:STDOUT: %self: %Base = value_binding self, %self.param @@ -214,13 +214,13 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Base.G.decl: %Base.G.type = fn_decl @Base.G [concrete = constants.%Base.G] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.384 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.384 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.cd3 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc19: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc19: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl.loc15 [concrete = constants.%Derived] // CHECK:STDOUT: %self: %Derived = value_binding self, %self.param @@ -258,9 +258,9 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: return %Base.F.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @CallIndirect(%p.param: %ptr.128) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @CallIndirect(%p.param: %ptr.054) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.128 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.054 = name_ref p, %p // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %F.ref: %Base.F.type = name_ref F, @Base.%Base.F.decl [concrete = constants.%Base.F] // CHECK:STDOUT: %.loc34_11.1: ref %Derived = deref %p.ref @@ -282,9 +282,9 @@ fn PassDerivedToBaseIndirect(p: Derived*) -> i32 { // CHECK:STDOUT: return %Base.G.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @PassDerivedToBaseIndirect(%p.param: %ptr.128) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @PassDerivedToBaseIndirect(%p.param: %ptr.054) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.128 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.054 = name_ref p, %p // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %G.ref: %Base.G.type = name_ref G, @Base.%Base.G.decl [concrete = constants.%Base.G] // CHECK:STDOUT: %.loc42_11.1: ref %Derived = deref %p.ref diff --git a/toolchain/check/testdata/class/inheritance/base_method_shadow.carbon b/toolchain/check/testdata/class/inheritance/base_method_shadow.carbon index 1ee5ef41f623..df376b17f411 100644 --- a/toolchain/check/testdata/class/inheritance/base_method_shadow.carbon +++ b/toolchain/check/testdata/class/inheritance/base_method_shadow.carbon @@ -41,7 +41,7 @@ fn Call(a: A*, b: B*, c: C*, d: D*) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %A: type = class_type @A [concrete] -// CHECK:STDOUT: %pattern_type.a07: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %A.F.type: type = fn_type @A.F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %A.F: %A.F.type = struct_value () [concrete] @@ -49,28 +49,28 @@ fn Call(a: A*, b: B*, c: C*, d: D*) { // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %B.elem: type = unbound_element_type %B, %A [concrete] -// CHECK:STDOUT: %pattern_type.e90: type = pattern_type %B [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] // CHECK:STDOUT: %B.F.type: type = fn_type @B.F [concrete] // CHECK:STDOUT: %B.F: %B.F.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.61f: type = struct_type {.base: %A} [concrete] -// CHECK:STDOUT: %complete_type.2a7: = complete_type_witness %struct_type.base.61f [concrete] +// CHECK:STDOUT: %struct_type.base.722: type = struct_type {.base: %A} [concrete] +// CHECK:STDOUT: %complete_type.27e: = complete_type_witness %struct_type.base.722 [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %B [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.F.type: type = fn_type @C.F [concrete] // CHECK:STDOUT: %C.F: %C.F.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.60e: type = struct_type {.base: %B} [concrete] -// CHECK:STDOUT: %complete_type.15d: = complete_type_witness %struct_type.base.60e [concrete] +// CHECK:STDOUT: %struct_type.base.cef: type = struct_type {.base: %B} [concrete] +// CHECK:STDOUT: %complete_type.3f7: = complete_type_witness %struct_type.base.cef [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %D.elem: type = unbound_element_type %D, %B [concrete] -// CHECK:STDOUT: %ptr.fe7: type = ptr_type %A [concrete] -// CHECK:STDOUT: %pattern_type.b00: type = pattern_type %ptr.fe7 [concrete] -// CHECK:STDOUT: %ptr.e4c: type = ptr_type %B [concrete] -// CHECK:STDOUT: %pattern_type.383: type = pattern_type %ptr.e4c [concrete] -// CHECK:STDOUT: %ptr.e38: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.19f: type = pattern_type %ptr.e38 [concrete] -// CHECK:STDOUT: %ptr.30b: type = ptr_type %D [concrete] -// CHECK:STDOUT: %pattern_type.290: type = pattern_type %ptr.30b [concrete] +// CHECK:STDOUT: %ptr.cca: type = ptr_type %A [concrete] +// CHECK:STDOUT: %pattern_type.b90: type = pattern_type %ptr.cca [concrete] +// CHECK:STDOUT: %ptr.294: type = ptr_type %B [concrete] +// CHECK:STDOUT: %pattern_type.bb8: type = pattern_type %ptr.294 [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %ptr.c12: type = ptr_type %D [concrete] +// CHECK:STDOUT: %pattern_type.44f: type = pattern_type %ptr.c12 [concrete] // CHECK:STDOUT: %Call.type: type = fn_type @Call [concrete] // CHECK:STDOUT: %Call: %Call.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -97,46 +97,46 @@ fn Call(a: A*, b: B*, c: C*, d: D*) { // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %D.decl: type = class_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: %Call.decl: %Call.type = fn_decl @Call [concrete = constants.%Call] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.b00 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.b00 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.383 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.383 = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %c.param_patt: %pattern_type.19f = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.19f = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %d.param_patt: %pattern_type.290 = value_param_pattern [concrete] -// CHECK:STDOUT: %d.patt: %pattern_type.290 = at_binding_pattern d, %d.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.b90 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.b90 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.bb8 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.bb8 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.1c8 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.1c8 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %d.param_patt: %pattern_type.44f = value_param_pattern [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.44f = at_binding_pattern d, %d.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %a.param: %ptr.fe7 = value_param call_param0 -// CHECK:STDOUT: %.loc33_13: type = splice_block %ptr.loc33_13 [concrete = constants.%ptr.fe7] { +// CHECK:STDOUT: %a.param: %ptr.cca = value_param call_param0 +// CHECK:STDOUT: %.loc33_13: type = splice_block %ptr.loc33_13 [concrete = constants.%ptr.cca] { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %ptr.loc33_13: type = ptr_type %A.ref [concrete = constants.%ptr.fe7] +// CHECK:STDOUT: %ptr.loc33_13: type = ptr_type %A.ref [concrete = constants.%ptr.cca] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.fe7 = value_binding a, %a.param -// CHECK:STDOUT: %b.param: %ptr.e4c = value_param call_param1 -// CHECK:STDOUT: %.loc33_20: type = splice_block %ptr.loc33_20 [concrete = constants.%ptr.e4c] { +// CHECK:STDOUT: %a: %ptr.cca = value_binding a, %a.param +// CHECK:STDOUT: %b.param: %ptr.294 = value_param call_param1 +// CHECK:STDOUT: %.loc33_20: type = splice_block %ptr.loc33_20 [concrete = constants.%ptr.294] { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %ptr.loc33_20: type = ptr_type %B.ref [concrete = constants.%ptr.e4c] +// CHECK:STDOUT: %ptr.loc33_20: type = ptr_type %B.ref [concrete = constants.%ptr.294] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: %ptr.e4c = value_binding b, %b.param -// CHECK:STDOUT: %c.param: %ptr.e38 = value_param call_param2 -// CHECK:STDOUT: %.loc33_27: type = splice_block %ptr.loc33_27 [concrete = constants.%ptr.e38] { +// CHECK:STDOUT: %b: %ptr.294 = value_binding b, %b.param +// CHECK:STDOUT: %c.param: %ptr.6be = value_param call_param2 +// CHECK:STDOUT: %.loc33_27: type = splice_block %ptr.loc33_27 [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc33_27: type = ptr_type %C.ref [concrete = constants.%ptr.e38] +// CHECK:STDOUT: %ptr.loc33_27: type = ptr_type %C.ref [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %ptr.e38 = value_binding c, %c.param -// CHECK:STDOUT: %d.param: %ptr.30b = value_param call_param3 -// CHECK:STDOUT: %.loc33_34: type = splice_block %ptr.loc33_34 [concrete = constants.%ptr.30b] { +// CHECK:STDOUT: %c: %ptr.6be = value_binding c, %c.param +// CHECK:STDOUT: %d.param: %ptr.c12 = value_param call_param3 +// CHECK:STDOUT: %.loc33_34: type = splice_block %ptr.loc33_34 [concrete = constants.%ptr.c12] { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %ptr.loc33_34: type = ptr_type %D.ref [concrete = constants.%ptr.30b] +// CHECK:STDOUT: %ptr.loc33_34: type = ptr_type %D.ref [concrete = constants.%ptr.c12] // CHECK:STDOUT: } -// CHECK:STDOUT: %d: %ptr.30b = value_binding d, %d.param +// CHECK:STDOUT: %d: %ptr.c12 = value_binding d, %d.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @A { // CHECK:STDOUT: %A.F.decl: %A.F.type = fn_decl @A.F [concrete = constants.%A.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.a07 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.a07 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.ccb = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.ccb = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: ref %A = ref_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%A [concrete = constants.%A] @@ -154,14 +154,14 @@ fn Call(a: A*, b: B*, c: C*, d: D*) { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %.loc20: %B.elem = base_decl %A.ref, element0 [concrete] // CHECK:STDOUT: %B.F.decl: %B.F.type = fn_decl @B.F [concrete = constants.%B.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.e90 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.e90 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.787 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.787 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: ref %B = ref_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%B [concrete = constants.%B] // CHECK:STDOUT: %self: ref %B = ref_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.61f [concrete = constants.%complete_type.2a7] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.722 [concrete = constants.%complete_type.27e] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -176,14 +176,14 @@ fn Call(a: A*, b: B*, c: C*, d: D*) { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %.loc25: %C.elem = base_decl %B.ref, element0 [concrete] // CHECK:STDOUT: %C.F.decl: %C.F.type = fn_decl @C.F [concrete = constants.%C.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.d7b = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.d7b = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: ref %C = ref_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] // CHECK:STDOUT: %self: ref %C = ref_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.60e [concrete = constants.%complete_type.15d] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.cef [concrete = constants.%complete_type.3f7] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -197,7 +197,7 @@ fn Call(a: A*, b: B*, c: C*, d: D*) { // CHECK:STDOUT: class @D { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %.loc30: %D.elem = base_decl %B.ref, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.60e [concrete = constants.%complete_type.15d] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.cef [concrete = constants.%complete_type.3f7] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -214,24 +214,24 @@ fn Call(a: A*, b: B*, c: C*, d: D*) { // CHECK:STDOUT: // CHECK:STDOUT: fn @C.F(%self.param: ref %C); // CHECK:STDOUT: -// CHECK:STDOUT: fn @Call(%a.param: %ptr.fe7, %b.param: %ptr.e4c, %c.param: %ptr.e38, %d.param: %ptr.30b) { +// CHECK:STDOUT: fn @Call(%a.param: %ptr.cca, %b.param: %ptr.294, %c.param: %ptr.6be, %d.param: %ptr.c12) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %ptr.fe7 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %ptr.cca = name_ref a, %a // CHECK:STDOUT: %.loc34: ref %A = deref %a.ref // CHECK:STDOUT: %F.ref.loc34: %A.F.type = name_ref F, @A.%A.F.decl [concrete = constants.%A.F] // CHECK:STDOUT: %A.F.bound: = bound_method %.loc34, %F.ref.loc34 // CHECK:STDOUT: %A.F.call: init %empty_tuple.type = call %A.F.bound(%.loc34) -// CHECK:STDOUT: %b.ref: %ptr.e4c = name_ref b, %b +// CHECK:STDOUT: %b.ref: %ptr.294 = name_ref b, %b // CHECK:STDOUT: %.loc35: ref %B = deref %b.ref // CHECK:STDOUT: %F.ref.loc35: %B.F.type = name_ref F, @B.%B.F.decl [concrete = constants.%B.F] // CHECK:STDOUT: %B.F.bound.loc35: = bound_method %.loc35, %F.ref.loc35 // CHECK:STDOUT: %B.F.call.loc35: init %empty_tuple.type = call %B.F.bound.loc35(%.loc35) -// CHECK:STDOUT: %c.ref: %ptr.e38 = name_ref c, %c +// CHECK:STDOUT: %c.ref: %ptr.6be = name_ref c, %c // CHECK:STDOUT: %.loc36: ref %C = deref %c.ref // CHECK:STDOUT: %F.ref.loc36: %C.F.type = name_ref F, @C.%C.F.decl [concrete = constants.%C.F] // CHECK:STDOUT: %C.F.bound: = bound_method %.loc36, %F.ref.loc36 // CHECK:STDOUT: %C.F.call: init %empty_tuple.type = call %C.F.bound(%.loc36) -// CHECK:STDOUT: %d.ref: %ptr.30b = name_ref d, %d +// CHECK:STDOUT: %d.ref: %ptr.c12 = name_ref d, %d // CHECK:STDOUT: %.loc37_4.1: ref %D = deref %d.ref // CHECK:STDOUT: %F.ref.loc37: %B.F.type = name_ref F, @B.%B.F.decl [concrete = constants.%B.F] // CHECK:STDOUT: %B.F.bound.loc37: = bound_method %.loc37_4.1, %F.ref.loc37 diff --git a/toolchain/check/testdata/class/inheritance/derived_to_base.carbon b/toolchain/check/testdata/class/inheritance/derived_to_base.carbon index a5efc5339c63..5fa458737910 100644 --- a/toolchain/check/testdata/class/inheritance/derived_to_base.carbon +++ b/toolchain/check/testdata/class/inheritance/derived_to_base.carbon @@ -124,47 +124,47 @@ fn PassConstB(p: const B) { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %struct_type.a.72d: type = struct_type {.a: %i32} [concrete] +// CHECK:STDOUT: %struct_type.a.1c5: type = struct_type {.a: %i32} [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] -// CHECK:STDOUT: %struct_type.base.b.0f2: type = struct_type {.base: %A, .b: %i32} [concrete] +// CHECK:STDOUT: %struct_type.base.b.19e: type = struct_type {.base: %A, .b: %i32} [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %struct_type.base.c.657: type = struct_type {.base: %B, .c: %i32} [concrete] -// CHECK:STDOUT: %ptr.4af: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.109: type = pattern_type %ptr.4af [concrete] -// CHECK:STDOUT: %ptr.c86: type = ptr_type %B [concrete] -// CHECK:STDOUT: %.636: Core.Form = init_form %ptr.c86 [concrete] -// CHECK:STDOUT: %pattern_type.155: type = pattern_type %ptr.c86 [concrete] +// CHECK:STDOUT: %struct_type.base.c.d60: type = struct_type {.base: %B, .c: %i32} [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %ptr.294: type = ptr_type %B [concrete] +// CHECK:STDOUT: %.6e0: Core.Form = init_form %ptr.294 [concrete] +// CHECK:STDOUT: %pattern_type.bb8: type = pattern_type %ptr.294 [concrete] // CHECK:STDOUT: %ConvertCToB.type: type = fn_type @ConvertCToB [concrete] // CHECK:STDOUT: %ConvertCToB: %ConvertCToB.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.3a7: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%B) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.e5e: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%B) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.4fd: %ptr.as.Copy.impl.Op.type.e5e = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.d2e: %Copy.type = facet_value %ptr.c86, (%Copy.impl_witness.3a7) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.554: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.d2e) [concrete] -// CHECK:STDOUT: %.28a: type = fn_type_with_self_type %Copy.WithSelf.Op.type.554, %Copy.facet.d2e [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.894: = specific_function %ptr.as.Copy.impl.Op.4fd, @ptr.as.Copy.impl.Op(%B) [concrete] -// CHECK:STDOUT: %ptr.f5d: type = ptr_type %A [concrete] -// CHECK:STDOUT: %.67c4: Core.Form = init_form %ptr.f5d [concrete] -// CHECK:STDOUT: %pattern_type.929: type = pattern_type %ptr.f5d [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.a18: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%B) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0f0: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%B) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.b00: %ptr.as.Copy.impl.Op.type.0f0 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.1c9: %Copy.type = facet_value %ptr.294, (%Copy.impl_witness.a18) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.f1d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.1c9) [concrete] +// CHECK:STDOUT: %.bf6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.f1d, %Copy.facet.1c9 [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.780: = specific_function %ptr.as.Copy.impl.Op.b00, @ptr.as.Copy.impl.Op(%B) [concrete] +// CHECK:STDOUT: %ptr.cca: type = ptr_type %A [concrete] +// CHECK:STDOUT: %.99a: Core.Form = init_form %ptr.cca [concrete] +// CHECK:STDOUT: %pattern_type.b90: type = pattern_type %ptr.cca [concrete] // CHECK:STDOUT: %ConvertBToA.type: type = fn_type @ConvertBToA [concrete] // CHECK:STDOUT: %ConvertBToA: %ConvertBToA.type = struct_value () [concrete] -// CHECK:STDOUT: %Copy.impl_witness.167: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%A) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.74a: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%A) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.c78: %ptr.as.Copy.impl.Op.type.74a = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.e7c: %Copy.type = facet_value %ptr.f5d, (%Copy.impl_witness.167) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.f33: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.e7c) [concrete] -// CHECK:STDOUT: %.df5: type = fn_type_with_self_type %Copy.WithSelf.Op.type.f33, %Copy.facet.e7c [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.abf: = specific_function %ptr.as.Copy.impl.Op.c78, @ptr.as.Copy.impl.Op(%A) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.2bc: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%A) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.e79: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%A) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.c98: %ptr.as.Copy.impl.Op.type.e79 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.5f6: %Copy.type = facet_value %ptr.cca, (%Copy.impl_witness.2bc) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.f07: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.5f6) [concrete] +// CHECK:STDOUT: %.7e7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.f07, %Copy.facet.5f6 [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.19b: = specific_function %ptr.as.Copy.impl.Op.c98, @ptr.as.Copy.impl.Op(%A) [concrete] // CHECK:STDOUT: %ConvertCToA.type: type = fn_type @ConvertCToA [concrete] // CHECK:STDOUT: %ConvertCToA: %ConvertCToA.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.9a0: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %ConvertValue.type: type = fn_type @ConvertValue [concrete] // CHECK:STDOUT: %ConvertValue: %ConvertValue.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.780: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %ConvertRef.type: type = fn_type @ConvertRef [concrete] // CHECK:STDOUT: %ConvertRef: %ConvertRef.type = struct_value () [concrete] // CHECK:STDOUT: %ConvertInit.type: type = fn_type @ConvertInit [concrete] @@ -178,182 +178,182 @@ fn PassConstB(p: const B) { // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %struct_type.base.c.136: type = struct_type {.base: %struct_type.base.b.bf0, .c: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.2aa: %struct_type.base.c.136 = struct_value (%struct.ff9, %int_3.1ba) [concrete] -// CHECK:STDOUT: %.686: type = partial_type %B [concrete] -// CHECK:STDOUT: %.9e1: type = partial_type %A [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %.ee7ba: type = partial_type %B [concrete] +// CHECK:STDOUT: %.09a: type = partial_type %A [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %struct.e77: %.9e1 = struct_value (%int_1.d5e) [concrete] -// CHECK:STDOUT: %A.val: %A = struct_value (%int_1.d5e) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %struct.a66: %.686 = struct_value (%A.val, %int_2.4ff) [concrete] -// CHECK:STDOUT: %B.val: %B = struct_value (%A.val, %int_2.4ff) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %C.val: %C = struct_value (%B.val, %int_3.49a) [concrete] -// CHECK:STDOUT: %.a5c: ref %C = temporary invalid, %C.val [concrete] -// CHECK:STDOUT: %.b43: ref %B = class_element_access %.a5c, element0 [concrete] -// CHECK:STDOUT: %.ad1: ref %A = class_element_access %.b43, element0 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.8: type = fn_type @Destroy.Op.loc32_66.8 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.8: %Destroy.Op.type.af7ec0.8 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.a5c, %Destroy.Op.1dc86d.8 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %struct.cf9: %.09a = struct_value (%int_1.d9c) [concrete] +// CHECK:STDOUT: %A.val: %A = struct_value (%int_1.d9c) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %struct.234: %.ee7ba = struct_value (%A.val, %int_2.228) [concrete] +// CHECK:STDOUT: %B.val: %B = struct_value (%A.val, %int_2.228) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %C.val: %C = struct_value (%B.val, %int_3.6cc) [concrete] +// CHECK:STDOUT: %.051: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %.c14: ref %B = class_element_access %.051, element0 [concrete] +// CHECK:STDOUT: %.493: ref %A = class_element_access %.c14, element0 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.8: type = fn_type @Destroy.Op.loc32_66.8 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.8: %Destroy.Op.type.790b3b.8 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.051, %Destroy.Op.2dd605.8 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %ConvertCToB.decl: %ConvertCToB.type = fn_decl @ConvertCToB [concrete = constants.%ConvertCToB] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.109 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.109 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.155 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.155 = return_slot_pattern %return.param_patt, %ptr.loc19_27 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.1c8 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.1c8 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.bb8 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.bb8 = return_slot_pattern %return.param_patt, %ptr.loc19_27 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %ptr.loc19_27: type = ptr_type %B.ref [concrete = constants.%ptr.c86] -// CHECK:STDOUT: %.loc19_27: Core.Form = init_form %ptr.loc19_27 [concrete = constants.%.636] -// CHECK:STDOUT: %p.param: %ptr.4af = value_param call_param0 -// CHECK:STDOUT: %.loc19_20: type = splice_block %ptr.loc19_20 [concrete = constants.%ptr.4af] { +// CHECK:STDOUT: %ptr.loc19_27: type = ptr_type %B.ref [concrete = constants.%ptr.294] +// CHECK:STDOUT: %.loc19_27: Core.Form = init_form %ptr.loc19_27 [concrete = constants.%.6e0] +// CHECK:STDOUT: %p.param: %ptr.6be = value_param call_param0 +// CHECK:STDOUT: %.loc19_20: type = splice_block %ptr.loc19_20 [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc19_20: type = ptr_type %C.ref [concrete = constants.%ptr.4af] +// CHECK:STDOUT: %ptr.loc19_20: type = ptr_type %C.ref [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.4af = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %ptr.c86 = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.c86 = return_slot %return.param +// CHECK:STDOUT: %p: %ptr.6be = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %ptr.294 = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.294 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ConvertBToA.decl: %ConvertBToA.type = fn_decl @ConvertBToA [concrete = constants.%ConvertBToA] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.155 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.155 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.929 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.929 = return_slot_pattern %return.param_patt, %ptr.loc20_27 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.bb8 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.bb8 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.b90 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.b90 = return_slot_pattern %return.param_patt, %ptr.loc20_27 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %ptr.loc20_27: type = ptr_type %A.ref [concrete = constants.%ptr.f5d] -// CHECK:STDOUT: %.loc20_27: Core.Form = init_form %ptr.loc20_27 [concrete = constants.%.67c4] -// CHECK:STDOUT: %p.param: %ptr.c86 = value_param call_param0 -// CHECK:STDOUT: %.loc20_20: type = splice_block %ptr.loc20_20 [concrete = constants.%ptr.c86] { +// CHECK:STDOUT: %ptr.loc20_27: type = ptr_type %A.ref [concrete = constants.%ptr.cca] +// CHECK:STDOUT: %.loc20_27: Core.Form = init_form %ptr.loc20_27 [concrete = constants.%.99a] +// CHECK:STDOUT: %p.param: %ptr.294 = value_param call_param0 +// CHECK:STDOUT: %.loc20_20: type = splice_block %ptr.loc20_20 [concrete = constants.%ptr.294] { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %ptr.loc20_20: type = ptr_type %B.ref [concrete = constants.%ptr.c86] +// CHECK:STDOUT: %ptr.loc20_20: type = ptr_type %B.ref [concrete = constants.%ptr.294] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.c86 = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %ptr.f5d = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.f5d = return_slot %return.param +// CHECK:STDOUT: %p: %ptr.294 = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %ptr.cca = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.cca = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ConvertCToA.decl: %ConvertCToA.type = fn_decl @ConvertCToA [concrete = constants.%ConvertCToA] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.109 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.109 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.929 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.929 = return_slot_pattern %return.param_patt, %ptr.loc21_27 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.1c8 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.1c8 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.b90 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.b90 = return_slot_pattern %return.param_patt, %ptr.loc21_27 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %ptr.loc21_27: type = ptr_type %A.ref [concrete = constants.%ptr.f5d] -// CHECK:STDOUT: %.loc21_27: Core.Form = init_form %ptr.loc21_27 [concrete = constants.%.67c4] -// CHECK:STDOUT: %p.param: %ptr.4af = value_param call_param0 -// CHECK:STDOUT: %.loc21_20: type = splice_block %ptr.loc21_20 [concrete = constants.%ptr.4af] { +// CHECK:STDOUT: %ptr.loc21_27: type = ptr_type %A.ref [concrete = constants.%ptr.cca] +// CHECK:STDOUT: %.loc21_27: Core.Form = init_form %ptr.loc21_27 [concrete = constants.%.99a] +// CHECK:STDOUT: %p.param: %ptr.6be = value_param call_param0 +// CHECK:STDOUT: %.loc21_20: type = splice_block %ptr.loc21_20 [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc21_20: type = ptr_type %C.ref [concrete = constants.%ptr.4af] +// CHECK:STDOUT: %ptr.loc21_20: type = ptr_type %C.ref [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.4af = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %ptr.f5d = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.f5d = return_slot %return.param +// CHECK:STDOUT: %p: %ptr.6be = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %ptr.cca = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.cca = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ConvertValue.decl: %ConvertValue.type = fn_decl @ConvertValue [concrete = constants.%ConvertValue] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.9a0 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.9a0 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %c.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %c: %C = value_binding c, %c.param // CHECK:STDOUT: } // CHECK:STDOUT: %ConvertRef.decl: %ConvertRef.type = fn_decl @ConvertRef [concrete = constants.%ConvertRef] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.109 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.109 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.929 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.929 = return_slot_pattern %return.param_patt, %ptr.loc27_26 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.1c8 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.1c8 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.b90 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.b90 = return_slot_pattern %return.param_patt, %ptr.loc27_26 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %A.ref.loc27: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %ptr.loc27_26: type = ptr_type %A.ref.loc27 [concrete = constants.%ptr.f5d] -// CHECK:STDOUT: %.loc27_26: Core.Form = init_form %ptr.loc27_26 [concrete = constants.%.67c4] -// CHECK:STDOUT: %c.param: %ptr.4af = value_param call_param0 -// CHECK:STDOUT: %.loc27_19: type = splice_block %ptr.loc27_19 [concrete = constants.%ptr.4af] { +// CHECK:STDOUT: %ptr.loc27_26: type = ptr_type %A.ref.loc27 [concrete = constants.%ptr.cca] +// CHECK:STDOUT: %.loc27_26: Core.Form = init_form %ptr.loc27_26 [concrete = constants.%.99a] +// CHECK:STDOUT: %c.param: %ptr.6be = value_param call_param0 +// CHECK:STDOUT: %.loc27_19: type = splice_block %ptr.loc27_19 [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc27_19: type = ptr_type %C.ref [concrete = constants.%ptr.4af] +// CHECK:STDOUT: %ptr.loc27_19: type = ptr_type %C.ref [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %ptr.4af = value_binding c, %c.param -// CHECK:STDOUT: %return.param: ref %ptr.f5d = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.f5d = return_slot %return.param +// CHECK:STDOUT: %c: %ptr.6be = value_binding c, %c.param +// CHECK:STDOUT: %return.param: ref %ptr.cca = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.cca = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ConvertInit.decl: %ConvertInit.type = fn_decl @ConvertInit [concrete = constants.%ConvertInit] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @ConvertCToB(%p.param: %ptr.4af) -> out %return.param: %ptr.c86 { +// CHECK:STDOUT: fn @ConvertCToB(%p.param: %ptr.6be) -> out %return.param: %ptr.294 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.4af = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.6be = name_ref p, %p // CHECK:STDOUT: %.loc19_39.1: ref %C = deref %p.ref // CHECK:STDOUT: %.loc19_39.2: ref %B = class_element_access %.loc19_39.1, element0 -// CHECK:STDOUT: %addr: %ptr.c86 = addr_of %.loc19_39.2 -// CHECK:STDOUT: %.loc19_39.3: %ptr.c86 = converted %p.ref, %addr -// CHECK:STDOUT: %impl.elem0: %.28a = impl_witness_access constants.%Copy.impl_witness.3a7, element0 [concrete = constants.%ptr.as.Copy.impl.Op.4fd] +// CHECK:STDOUT: %addr: %ptr.294 = addr_of %.loc19_39.2 +// CHECK:STDOUT: %.loc19_39.3: %ptr.294 = converted %p.ref, %addr +// CHECK:STDOUT: %impl.elem0: %.bf6 = impl_witness_access constants.%Copy.impl_witness.a18, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b00] // CHECK:STDOUT: %bound_method.loc19_39.1: = bound_method %.loc19_39.3, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%B) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.894] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%B) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.780] // CHECK:STDOUT: %bound_method.loc19_39.2: = bound_method %.loc19_39.3, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.c86 = call %bound_method.loc19_39.2(%.loc19_39.3) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.294 = call %bound_method.loc19_39.2(%.loc19_39.3) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @ConvertBToA(%p.param: %ptr.c86) -> out %return.param: %ptr.f5d { +// CHECK:STDOUT: fn @ConvertBToA(%p.param: %ptr.294) -> out %return.param: %ptr.cca { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.c86 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.294 = name_ref p, %p // CHECK:STDOUT: %.loc20_39.1: ref %B = deref %p.ref // CHECK:STDOUT: %.loc20_39.2: ref %A = class_element_access %.loc20_39.1, element0 -// CHECK:STDOUT: %addr: %ptr.f5d = addr_of %.loc20_39.2 -// CHECK:STDOUT: %.loc20_39.3: %ptr.f5d = converted %p.ref, %addr -// CHECK:STDOUT: %impl.elem0: %.df5 = impl_witness_access constants.%Copy.impl_witness.167, element0 [concrete = constants.%ptr.as.Copy.impl.Op.c78] +// CHECK:STDOUT: %addr: %ptr.cca = addr_of %.loc20_39.2 +// CHECK:STDOUT: %.loc20_39.3: %ptr.cca = converted %p.ref, %addr +// CHECK:STDOUT: %impl.elem0: %.7e7 = impl_witness_access constants.%Copy.impl_witness.2bc, element0 [concrete = constants.%ptr.as.Copy.impl.Op.c98] // CHECK:STDOUT: %bound_method.loc20_39.1: = bound_method %.loc20_39.3, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%A) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.abf] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%A) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.19b] // CHECK:STDOUT: %bound_method.loc20_39.2: = bound_method %.loc20_39.3, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.f5d = call %bound_method.loc20_39.2(%.loc20_39.3) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.cca = call %bound_method.loc20_39.2(%.loc20_39.3) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @ConvertCToA(%p.param: %ptr.4af) -> out %return.param: %ptr.f5d { +// CHECK:STDOUT: fn @ConvertCToA(%p.param: %ptr.6be) -> out %return.param: %ptr.cca { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.4af = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.6be = name_ref p, %p // CHECK:STDOUT: %.loc21_39.1: ref %C = deref %p.ref // CHECK:STDOUT: %.loc21_39.2: ref %B = class_element_access %.loc21_39.1, element0 // CHECK:STDOUT: %.loc21_39.3: ref %A = class_element_access %.loc21_39.2, element0 -// CHECK:STDOUT: %addr: %ptr.f5d = addr_of %.loc21_39.3 -// CHECK:STDOUT: %.loc21_39.4: %ptr.f5d = converted %p.ref, %addr -// CHECK:STDOUT: %impl.elem0: %.df5 = impl_witness_access constants.%Copy.impl_witness.167, element0 [concrete = constants.%ptr.as.Copy.impl.Op.c78] +// CHECK:STDOUT: %addr: %ptr.cca = addr_of %.loc21_39.3 +// CHECK:STDOUT: %.loc21_39.4: %ptr.cca = converted %p.ref, %addr +// CHECK:STDOUT: %impl.elem0: %.7e7 = impl_witness_access constants.%Copy.impl_witness.2bc, element0 [concrete = constants.%ptr.as.Copy.impl.Op.c98] // CHECK:STDOUT: %bound_method.loc21_39.1: = bound_method %.loc21_39.4, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%A) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.abf] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%A) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.19b] // CHECK:STDOUT: %bound_method.loc21_39.2: = bound_method %.loc21_39.4, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.f5d = call %bound_method.loc21_39.2(%.loc21_39.4) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.cca = call %bound_method.loc21_39.2(%.loc21_39.4) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConvertValue(%c.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.780 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] @@ -365,27 +365,27 @@ fn PassConstB(p: const B) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @ConvertRef(%c.param: %ptr.4af) -> out %return.param: %ptr.f5d { +// CHECK:STDOUT: fn @ConvertRef(%c.param: %ptr.6be) -> out %return.param: %ptr.cca { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %c.ref: %ptr.4af = name_ref c, %c +// CHECK:STDOUT: %c.ref: %ptr.6be = name_ref c, %c // CHECK:STDOUT: %.loc28_12: ref %C = deref %c.ref // CHECK:STDOUT: %A.ref.loc28: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %.loc28_15.1: ref %B = class_element_access %.loc28_12, element0 // CHECK:STDOUT: %.loc28_15.2: ref %A = class_element_access %.loc28_15.1, element0 // CHECK:STDOUT: %.loc28_15.3: ref %A = converted %.loc28_12, %.loc28_15.2 -// CHECK:STDOUT: %addr: %ptr.f5d = addr_of %.loc28_15.3 -// CHECK:STDOUT: %impl.elem0: %.df5 = impl_witness_access constants.%Copy.impl_witness.167, element0 [concrete = constants.%ptr.as.Copy.impl.Op.c78] +// CHECK:STDOUT: %addr: %ptr.cca = addr_of %.loc28_15.3 +// CHECK:STDOUT: %impl.elem0: %.7e7 = impl_witness_access constants.%Copy.impl_witness.2bc, element0 [concrete = constants.%ptr.as.Copy.impl.Op.c98] // CHECK:STDOUT: %bound_method.loc28_10.1: = bound_method %addr, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%A) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.abf] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%A) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.19b] // CHECK:STDOUT: %bound_method.loc28_10.2: = bound_method %addr, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.f5d = call %bound_method.loc28_10.2(%addr) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.cca = call %bound_method.loc28_10.2(%addr) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ConvertInit() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.780 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc32_46.1: %struct_type.a.a6c = struct_literal (%int_1) [concrete = constants.%struct.48c] @@ -394,49 +394,49 @@ fn PassConstB(p: const B) { // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc32_64.1: %struct_type.base.c.136 = struct_literal (%.loc32_55.1, %int_3) [concrete = constants.%struct.2aa] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %impl.elem0.loc32_46: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc32_46.1: = bound_method %int_1, %impl.elem0.loc32_46 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc32_46: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc32_46.1: = bound_method %int_1, %impl.elem0.loc32_46 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc32_46: = specific_function %impl.elem0.loc32_46, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc32_46.2: = bound_method %int_1, %specific_fn.loc32_46 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32_46: init %i32 = call %bound_method.loc32_46.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc32_46.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32_46 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc32_46.2: = bound_method %int_1, %specific_fn.loc32_46 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32_46: init %i32 = call %bound_method.loc32_46.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc32_46.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32_46 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc32_64.2: ref %C = temporary_storage -// CHECK:STDOUT: %.loc32_64.3: ref %.686 = class_element_access %.loc32_64.2, element0 -// CHECK:STDOUT: %.loc32_55.2: ref %.9e1 = class_element_access %.loc32_64.3, element0 +// CHECK:STDOUT: %.loc32_64.3: ref %.ee7ba = class_element_access %.loc32_64.2, element0 +// CHECK:STDOUT: %.loc32_55.2: ref %.09a = class_element_access %.loc32_64.3, element0 // CHECK:STDOUT: %.loc32_46.3: ref %i32 = class_element_access %.loc32_55.2, element0 -// CHECK:STDOUT: %.loc32_46.4: init %i32 to %.loc32_46.3 = in_place_init %.loc32_46.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc32_46.5: init %.9e1 to %.loc32_55.2 = class_init (%.loc32_46.4) [concrete = constants.%struct.e77] -// CHECK:STDOUT: %.loc32_55.3: init %.9e1 = converted %.loc32_46.1, %.loc32_46.5 [concrete = constants.%struct.e77] +// CHECK:STDOUT: %.loc32_46.4: init %i32 to %.loc32_46.3 = in_place_init %.loc32_46.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc32_46.5: init %.09a to %.loc32_55.2 = class_init (%.loc32_46.4) [concrete = constants.%struct.cf9] +// CHECK:STDOUT: %.loc32_55.3: init %.09a = converted %.loc32_46.1, %.loc32_46.5 [concrete = constants.%struct.cf9] // CHECK:STDOUT: %.loc32_55.4: init %A = as_compatible %.loc32_55.3 [concrete = constants.%A.val] -// CHECK:STDOUT: %impl.elem0.loc32_55: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc32_55.1: = bound_method %int_2, %impl.elem0.loc32_55 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0.loc32_55: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc32_55.1: = bound_method %int_2, %impl.elem0.loc32_55 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc32_55: = specific_function %impl.elem0.loc32_55, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc32_55.2: = bound_method %int_2, %specific_fn.loc32_55 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32_55: init %i32 = call %bound_method.loc32_55.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc32_55.5: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32_55 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc32_55.2: = bound_method %int_2, %specific_fn.loc32_55 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32_55: init %i32 = call %bound_method.loc32_55.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc32_55.5: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32_55 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc32_55.6: ref %i32 = class_element_access %.loc32_64.3, element1 -// CHECK:STDOUT: %.loc32_55.7: init %i32 to %.loc32_55.6 = in_place_init %.loc32_55.5 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc32_55.8: init %.686 to %.loc32_64.3 = class_init (%.loc32_55.4, %.loc32_55.7) [concrete = constants.%struct.a66] -// CHECK:STDOUT: %.loc32_64.4: init %.686 = converted %.loc32_55.1, %.loc32_55.8 [concrete = constants.%struct.a66] +// CHECK:STDOUT: %.loc32_55.7: init %i32 to %.loc32_55.6 = in_place_init %.loc32_55.5 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc32_55.8: init %.ee7ba to %.loc32_64.3 = class_init (%.loc32_55.4, %.loc32_55.7) [concrete = constants.%struct.234] +// CHECK:STDOUT: %.loc32_64.4: init %.ee7ba = converted %.loc32_55.1, %.loc32_55.8 [concrete = constants.%struct.234] // CHECK:STDOUT: %.loc32_64.5: init %B = as_compatible %.loc32_64.4 [concrete = constants.%B.val] -// CHECK:STDOUT: %impl.elem0.loc32_64: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc32_64.1: = bound_method %int_3, %impl.elem0.loc32_64 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc32_64: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc32_64.1: = bound_method %int_3, %impl.elem0.loc32_64 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc32_64: = specific_function %impl.elem0.loc32_64, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc32_64.2: = bound_method %int_3, %specific_fn.loc32_64 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32_64: init %i32 = call %bound_method.loc32_64.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc32_64.6: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32_64 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc32_64.2: = bound_method %int_3, %specific_fn.loc32_64 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32_64: init %i32 = call %bound_method.loc32_64.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc32_64.6: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32_64 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc32_64.7: ref %i32 = class_element_access %.loc32_64.2, element1 -// CHECK:STDOUT: %.loc32_64.8: init %i32 to %.loc32_64.7 = in_place_init %.loc32_64.6 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %.loc32_64.8: init %i32 to %.loc32_64.7 = in_place_init %.loc32_64.6 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc32_64.9: init %C to %.loc32_64.2 = class_init (%.loc32_64.5, %.loc32_64.8) [concrete = constants.%C.val] // CHECK:STDOUT: %.loc32_66.1: init %C = converted %.loc32_64.1, %.loc32_64.9 [concrete = constants.%C.val] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %.loc32_66.2: ref %C = temporary %.loc32_64.2, %.loc32_66.1 [concrete = constants.%.a5c] -// CHECK:STDOUT: %.loc32_66.3: ref %B = class_element_access %.loc32_66.2, element0 [concrete = constants.%.b43] -// CHECK:STDOUT: %.loc32_66.4: ref %A = class_element_access %.loc32_66.3, element0 [concrete = constants.%.ad1] -// CHECK:STDOUT: %.loc32_66.5: ref %A = converted %.loc32_66.1, %.loc32_66.4 [concrete = constants.%.ad1] +// CHECK:STDOUT: %.loc32_66.2: ref %C = temporary %.loc32_64.2, %.loc32_66.1 [concrete = constants.%.051] +// CHECK:STDOUT: %.loc32_66.3: ref %B = class_element_access %.loc32_66.2, element0 [concrete = constants.%.c14] +// CHECK:STDOUT: %.loc32_66.4: ref %A = class_element_access %.loc32_66.3, element0 [concrete = constants.%.493] +// CHECK:STDOUT: %.loc32_66.5: ref %A = converted %.loc32_66.1, %.loc32_66.4 [concrete = constants.%.493] // CHECK:STDOUT: %.loc32_66.6: %A = acquire_value %.loc32_66.5 // CHECK:STDOUT: %a: %A = value_binding a, %.loc32_66.6 -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.a5c) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.051) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -447,7 +447,7 @@ fn PassConstB(p: const B) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc32_66.3(%self.param: ref %struct_type.a.72d) { +// CHECK:STDOUT: fn @Destroy.Op.loc32_66.3(%self.param: ref %struct_type.a.1c5) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -457,7 +457,7 @@ fn PassConstB(p: const B) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc32_66.5(%self.param: ref %struct_type.base.b.0f2) { +// CHECK:STDOUT: fn @Destroy.Op.loc32_66.5(%self.param: ref %struct_type.base.b.19e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -467,7 +467,7 @@ fn PassConstB(p: const B) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc32_66.7(%self.param: ref %struct_type.base.c.657) { +// CHECK:STDOUT: fn @Destroy.Op.loc32_66.7(%self.param: ref %struct_type.base.c.d60) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -483,36 +483,36 @@ fn PassConstB(p: const B) { // CHECK:STDOUT: %A: type = class_type @A [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %const.20a: type = const_type %A [concrete] -// CHECK:STDOUT: %ptr.e39: type = ptr_type %const.20a [concrete] +// CHECK:STDOUT: %const.92a: type = const_type %A [concrete] +// CHECK:STDOUT: %ptr.df6: type = ptr_type %const.92a [concrete] // CHECK:STDOUT: %TakeConstAPtr.type: type = fn_type @TakeConstAPtr [concrete] // CHECK:STDOUT: %TakeConstAPtr: %TakeConstAPtr.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.ffa: type = ptr_type %B [concrete] -// CHECK:STDOUT: %const.e9e: type = const_type %B [concrete] -// CHECK:STDOUT: %ptr.127: type = ptr_type %const.e9e [concrete] +// CHECK:STDOUT: %ptr.294: type = ptr_type %B [concrete] +// CHECK:STDOUT: %const.d0c: type = const_type %B [concrete] +// CHECK:STDOUT: %ptr.556: type = ptr_type %const.d0c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @PassNonConstBPtr(%p.param: %ptr.ffa) { +// CHECK:STDOUT: fn @PassNonConstBPtr(%p.param: %ptr.294) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %TakeConstAPtr.ref: %TakeConstAPtr.type = name_ref TakeConstAPtr, file.%TakeConstAPtr.decl [concrete = constants.%TakeConstAPtr] -// CHECK:STDOUT: %p.ref: %ptr.ffa = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.294 = name_ref p, %p // CHECK:STDOUT: %.loc15_17.1: ref %B = deref %p.ref // CHECK:STDOUT: %.loc15_17.2: ref %A = class_element_access %.loc15_17.1, element0 -// CHECK:STDOUT: %addr: %ptr.e39 = addr_of %.loc15_17.2 -// CHECK:STDOUT: %.loc15_17.3: %ptr.e39 = as_compatible %addr -// CHECK:STDOUT: %.loc15_17.4: %ptr.e39 = converted %p.ref, %.loc15_17.3 +// CHECK:STDOUT: %addr: %ptr.df6 = addr_of %.loc15_17.2 +// CHECK:STDOUT: %.loc15_17.3: %ptr.df6 = as_compatible %addr +// CHECK:STDOUT: %.loc15_17.4: %ptr.df6 = converted %p.ref, %.loc15_17.3 // CHECK:STDOUT: %TakeConstAPtr.call: init %empty_tuple.type = call %TakeConstAPtr.ref(%.loc15_17.4) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @PassConstBPtr(%p.param: %ptr.127) { +// CHECK:STDOUT: fn @PassConstBPtr(%p.param: %ptr.556) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %TakeConstAPtr.ref: %TakeConstAPtr.type = name_ref TakeConstAPtr, file.%TakeConstAPtr.decl [concrete = constants.%TakeConstAPtr] -// CHECK:STDOUT: %p.ref: %ptr.127 = name_ref p, %p -// CHECK:STDOUT: %.loc21_17.1: ref %const.e9e = deref %p.ref -// CHECK:STDOUT: %.loc21_17.2: ref %const.20a = class_element_access %.loc21_17.1, element0 -// CHECK:STDOUT: %addr: %ptr.e39 = addr_of %.loc21_17.2 -// CHECK:STDOUT: %.loc21_17.3: %ptr.e39 = converted %p.ref, %addr +// CHECK:STDOUT: %p.ref: %ptr.556 = name_ref p, %p +// CHECK:STDOUT: %.loc21_17.1: ref %const.d0c = deref %p.ref +// CHECK:STDOUT: %.loc21_17.2: ref %const.92a = class_element_access %.loc21_17.1, element0 +// CHECK:STDOUT: %addr: %ptr.df6 = addr_of %.loc21_17.2 +// CHECK:STDOUT: %.loc21_17.3: %ptr.df6 = converted %p.ref, %addr // CHECK:STDOUT: %TakeConstAPtr.call: init %empty_tuple.type = call %TakeConstAPtr.ref(%.loc21_17.3) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -523,26 +523,26 @@ fn PassConstB(p: const B) { // CHECK:STDOUT: %A: type = class_type @A [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %const.89f: type = const_type %A [concrete] +// CHECK:STDOUT: %const.92a: type = const_type %A [concrete] // CHECK:STDOUT: %TakeConstA.type: type = fn_type @TakeConstA [concrete] // CHECK:STDOUT: %TakeConstA: %TakeConstA.type = struct_value () [concrete] -// CHECK:STDOUT: %const.f50: type = const_type %B [concrete] +// CHECK:STDOUT: %const.d0c: type = const_type %B [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @PassNonConstB(%p.param: %B) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %TakeConstA.ref: %TakeConstA.type = name_ref TakeConstA, file.%TakeConstA.decl [concrete = constants.%TakeConstA] // CHECK:STDOUT: %p.ref: %B = name_ref p, %p -// CHECK:STDOUT: %.loc25: %const.89f = converted %p.ref, [concrete = ] +// CHECK:STDOUT: %.loc25: %const.92a = converted %p.ref, [concrete = ] // CHECK:STDOUT: %TakeConstA.call: init %empty_tuple.type = call %TakeConstA.ref() // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @PassConstB(%p.param: %const.f50) { +// CHECK:STDOUT: fn @PassConstB(%p.param: %const.d0c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %TakeConstA.ref: %TakeConstA.type = name_ref TakeConstA, file.%TakeConstA.decl [concrete = constants.%TakeConstA] -// CHECK:STDOUT: %p.ref: %const.f50 = name_ref p, %p -// CHECK:STDOUT: %.loc41: %const.89f = converted %p.ref, [concrete = ] +// CHECK:STDOUT: %p.ref: %const.d0c = name_ref p, %p +// CHECK:STDOUT: %.loc41: %const.92a = converted %p.ref, [concrete = ] // CHECK:STDOUT: %TakeConstA.call: init %empty_tuple.type = call %TakeConstA.ref() // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/inheritance/import_base.carbon b/toolchain/check/testdata/class/inheritance/import_base.carbon index f69497ece60e..cc02b35d017c 100644 --- a/toolchain/check/testdata/class/inheritance/import_base.carbon +++ b/toolchain/check/testdata/class/inheritance/import_base.carbon @@ -44,7 +44,7 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Base: type = class_type @Base [concrete] -// CHECK:STDOUT: %pattern_type.fa7: type = pattern_type %Base [concrete] +// CHECK:STDOUT: %pattern_type.116: type = pattern_type %Base [concrete] // CHECK:STDOUT: %Base.F.type: type = fn_type @Base.F [concrete] // CHECK:STDOUT: %Base.F: %Base.F.type = struct_value () [concrete] // CHECK:STDOUT: %Base.Unused.type: type = fn_type @Base.Unused [concrete] @@ -55,11 +55,11 @@ fn Run() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %i32 [concrete] // CHECK:STDOUT: %struct_type.x.unused_y: type = struct_type {.x: %i32, .unused_y: %i32} [concrete] -// CHECK:STDOUT: %complete_type.cf9: = complete_type_witness %struct_type.x.unused_y [concrete] +// CHECK:STDOUT: %complete_type.bc2: = complete_type_witness %struct_type.x.unused_y [concrete] // CHECK:STDOUT: %Child: type = class_type @Child [concrete] // CHECK:STDOUT: %Child.elem: type = unbound_element_type %Child, %Base [concrete] // CHECK:STDOUT: %struct_type.base: type = struct_type {.base: %Base} [concrete] -// CHECK:STDOUT: %complete_type.3b0: = complete_type_witness %struct_type.base [concrete] +// CHECK:STDOUT: %complete_type.736: = complete_type_witness %struct_type.base [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -84,16 +84,16 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: class @Base { // CHECK:STDOUT: %Base.F.decl: %Base.F.type = fn_decl @Base.F [concrete = constants.%Base.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.fa7 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.fa7 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.116 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.116 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %Base = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Base [concrete = constants.%Base] // CHECK:STDOUT: %self: %Base = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %Base.Unused.decl: %Base.Unused.type = fn_decl @Base.Unused [concrete = constants.%Base.Unused] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.fa7 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.fa7 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.116 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.116 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %Base = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Base [concrete = constants.%Base] @@ -101,7 +101,7 @@ fn Run() { // CHECK:STDOUT: } // CHECK:STDOUT: %.loc8: %Base.elem = field_decl x, element0 [concrete] // CHECK:STDOUT: %.loc9: %Base.elem = field_decl unused_y, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x.unused_y [concrete = constants.%complete_type.cf9] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x.unused_y [concrete = constants.%complete_type.bc2] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -115,7 +115,7 @@ fn Run() { // CHECK:STDOUT: class @Child { // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %.loc13: %Child.elem = base_decl %Base.ref, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base [concrete = constants.%complete_type.3b0] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base [concrete = constants.%complete_type.736] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -140,75 +140,75 @@ fn Run() { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %struct_type.x.unused_y.b4b: type = struct_type {.x: %i32, .unused_y: %i32} [concrete] -// CHECK:STDOUT: %complete_type.e4d: = complete_type_witness %struct_type.x.unused_y.b4b [concrete] -// CHECK:STDOUT: %struct_type.base.1b1: type = struct_type {.base: %Base} [concrete] -// CHECK:STDOUT: %complete_type.043: = complete_type_witness %struct_type.base.1b1 [concrete] -// CHECK:STDOUT: %pattern_type.710: type = pattern_type %Child [concrete] +// CHECK:STDOUT: %struct_type.x.unused_y.50b: type = struct_type {.x: %i32, .unused_y: %i32} [concrete] +// CHECK:STDOUT: %complete_type.4f6: = complete_type_witness %struct_type.x.unused_y.50b [concrete] +// CHECK:STDOUT: %struct_type.base.d37: type = struct_type {.base: %Base} [concrete] +// CHECK:STDOUT: %complete_type.736: = complete_type_witness %struct_type.base.d37 [concrete] +// CHECK:STDOUT: %pattern_type.dad: type = pattern_type %Child [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.x.unused_y.76a: type = struct_type {.x: Core.IntLiteral, .unused_y: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.0bf: %struct_type.x.unused_y.76a = struct_value (%int_0.5c6, %int_1.5b8) [concrete] // CHECK:STDOUT: %struct_type.base.503: type = struct_type {.base: %struct_type.x.unused_y.76a} [concrete] // CHECK:STDOUT: %struct.cb5: %struct_type.base.503 = struct_value (%struct.0bf) [concrete] -// CHECK:STDOUT: %.9de: type = partial_type %Base [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.56e: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %.9bb: type = partial_type %Base [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.cf3: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.768: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.1e6: = impl_witness imports.%ImplicitAs.impl_witness_table.bc3, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.108: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.924: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.108 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.56e = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.1e6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.634: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68b, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.1dd: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.924 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.924, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.296: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.d70: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.ff4: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.924 [concrete] -// CHECK:STDOUT: %bound_method.b34: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.50a: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %struct.28c: %.9de = struct_value (%int_0.d70, %int_1.50a) [concrete] -// CHECK:STDOUT: %Base.val: %Base = struct_value (%int_0.d70, %int_1.50a) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.cd7: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e84: = impl_witness imports.%ImplicitAs.impl_witness_table.fca, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.104: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.785: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.104 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.cf3 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e84) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b79: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.56d: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b79, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.f13: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.785 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.785, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.5a8: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.bd1: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d5f: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.785 [concrete] +// CHECK:STDOUT: %bound_method.392: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.6b0: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %struct.962: %.9bb = struct_value (%int_0.bd1, %int_1.6b0) [concrete] +// CHECK:STDOUT: %Base.val: %Base = struct_value (%int_0.bd1, %int_1.6b0) [concrete] // CHECK:STDOUT: %Child.val: %Child = struct_value (%Base.val) [concrete] // CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %i32 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.f4c: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.924 [concrete] -// CHECK:STDOUT: %bound_method.fe7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.21f: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.cf8: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.785 [concrete] +// CHECK:STDOUT: %bound_method.90e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.c3d: %i32 = int_value 2 [concrete] // CHECK:STDOUT: %Base.F.type: type = fn_type @Base.F [concrete] // CHECK:STDOUT: %Base.F: %Base.F.type = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc7_3.6 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc7_3.6 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.Base = import_ref Main//a, Base, unloaded // CHECK:STDOUT: %Main.Child: type = import_ref Main//a, Child, loaded [concrete = constants.%Child] -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: .Destroy = %Core.Destroy // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.7f9: = import_ref Main//a, loc10_1, loaded [concrete = constants.%complete_type.e4d] -// CHECK:STDOUT: %Main.import_ref.e52 = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.e20: %Base.F.type = import_ref Main//a, loc5_21, loaded [concrete = constants.%Base.F] -// CHECK:STDOUT: %Main.import_ref.384 = import_ref Main//a, loc6_26, unloaded -// CHECK:STDOUT: %Main.import_ref.899: %Base.elem = import_ref Main//a, loc8_8, loaded [concrete = %.dee] -// CHECK:STDOUT: %Main.import_ref.52e = import_ref Main//a, loc9_15, unloaded -// CHECK:STDOUT: %Main.import_ref.e2d: = import_ref Main//a, loc14_1, loaded [concrete = constants.%complete_type.043] -// CHECK:STDOUT: %Main.import_ref.ffc = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.2a5 = import_ref Main//a, loc13_20, unloaded -// CHECK:STDOUT: %Main.import_ref.ac35b2.2: type = import_ref Main//a, loc13_16, loaded [concrete = constants.%Base] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.7f1: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.768)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.bc3 = impl_witness_table (%Core.import_ref.7f1), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %.dee: %Base.elem = field_decl x, element0 [concrete] +// CHECK:STDOUT: %Main.import_ref.2b9: = import_ref Main//a, loc10_1, loaded [concrete = constants.%complete_type.4f6] +// CHECK:STDOUT: %Main.import_ref.ff0 = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.d29: %Base.F.type = import_ref Main//a, loc5_21, loaded [concrete = constants.%Base.F] +// CHECK:STDOUT: %Main.import_ref.185 = import_ref Main//a, loc6_26, unloaded +// CHECK:STDOUT: %Main.import_ref.010: %Base.elem = import_ref Main//a, loc8_8, loaded [concrete = %.3c0] +// CHECK:STDOUT: %Main.import_ref.ca6 = import_ref Main//a, loc9_15, unloaded +// CHECK:STDOUT: %Main.import_ref.014: = import_ref Main//a, loc14_1, loaded [concrete = constants.%complete_type.736] +// CHECK:STDOUT: %Main.import_ref.e83 = import_ref Main//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.071 = import_ref Main//a, loc13_20, unloaded +// CHECK:STDOUT: %Main.import_ref.5cab42.2: type = import_ref Main//a, loc13_16, loaded [concrete = constants.%Base] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.4e5: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.cd7)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.fca = impl_witness_table (%Core.import_ref.4e5), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %.3c0: %Base.elem = field_decl x, element0 [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -216,7 +216,7 @@ fn Run() { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .Base = imports.%Main.Base // CHECK:STDOUT: .Child = imports.%Main.Child -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .Run = %Run.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core @@ -225,57 +225,57 @@ fn Run() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Child [from "a.carbon"] { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.e2d +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.014 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ffc -// CHECK:STDOUT: .base = imports.%Main.import_ref.2a5 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e83 +// CHECK:STDOUT: .base = imports.%Main.import_ref.071 // CHECK:STDOUT: .x = // CHECK:STDOUT: .F = -// CHECK:STDOUT: extend imports.%Main.import_ref.ac35b2.2 +// CHECK:STDOUT: extend imports.%Main.import_ref.5cab42.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Base [from "a.carbon"] { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.7f9 +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.2b9 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.e52 -// CHECK:STDOUT: .F = imports.%Main.import_ref.e20 -// CHECK:STDOUT: .Unused = imports.%Main.import_ref.384 -// CHECK:STDOUT: .x = imports.%Main.import_ref.899 -// CHECK:STDOUT: .unused_y = imports.%Main.import_ref.52e +// CHECK:STDOUT: .Self = imports.%Main.import_ref.ff0 +// CHECK:STDOUT: .F = imports.%Main.import_ref.d29 +// CHECK:STDOUT: .Unused = imports.%Main.import_ref.185 +// CHECK:STDOUT: .x = imports.%Main.import_ref.010 +// CHECK:STDOUT: .unused_y = imports.%Main.import_ref.ca6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.710 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.710 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.dad = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.dad = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Child = var %a.var_patt // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc7_49.1: %struct_type.x.unused_y.76a = struct_literal (%int_0, %int_1) [concrete = constants.%struct.0bf] // CHECK:STDOUT: %.loc7_50.1: %struct_type.base.503 = struct_literal (%.loc7_49.1) [concrete = constants.%struct.cb5] -// CHECK:STDOUT: %impl.elem0.loc7_49.1: %.634 = impl_witness_access constants.%ImplicitAs.impl_witness.1e6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.924] -// CHECK:STDOUT: %bound_method.loc7_49.1: = bound_method %int_0, %impl.elem0.loc7_49.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.1dd] +// CHECK:STDOUT: %impl.elem0.loc7_49.1: %.56d = impl_witness_access constants.%ImplicitAs.impl_witness.e84, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.785] +// CHECK:STDOUT: %bound_method.loc7_49.1: = bound_method %int_0, %impl.elem0.loc7_49.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.f13] // CHECK:STDOUT: %specific_fn.loc7_49.1: = specific_function %impl.elem0.loc7_49.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_49.2: = bound_method %int_0, %specific_fn.loc7_49.1 [concrete = constants.%bound_method.296] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_49.1: init %i32 = call %bound_method.loc7_49.2(%int_0) [concrete = constants.%int_0.d70] -// CHECK:STDOUT: %.loc7_49.2: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_49.1 [concrete = constants.%int_0.d70] -// CHECK:STDOUT: %.loc7_50.2: ref %.9de = class_element_access %a.var, element0 +// CHECK:STDOUT: %bound_method.loc7_49.2: = bound_method %int_0, %specific_fn.loc7_49.1 [concrete = constants.%bound_method.5a8] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_49.1: init %i32 = call %bound_method.loc7_49.2(%int_0) [concrete = constants.%int_0.bd1] +// CHECK:STDOUT: %.loc7_49.2: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_49.1 [concrete = constants.%int_0.bd1] +// CHECK:STDOUT: %.loc7_50.2: ref %.9bb = class_element_access %a.var, element0 // CHECK:STDOUT: %.loc7_49.3: ref %i32 = class_element_access %.loc7_50.2, element0 -// CHECK:STDOUT: %.loc7_49.4: init %i32 to %.loc7_49.3 = in_place_init %.loc7_49.2 [concrete = constants.%int_0.d70] -// CHECK:STDOUT: %impl.elem0.loc7_49.2: %.634 = impl_witness_access constants.%ImplicitAs.impl_witness.1e6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.924] -// CHECK:STDOUT: %bound_method.loc7_49.3: = bound_method %int_1, %impl.elem0.loc7_49.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.ff4] +// CHECK:STDOUT: %.loc7_49.4: init %i32 to %.loc7_49.3 = in_place_init %.loc7_49.2 [concrete = constants.%int_0.bd1] +// CHECK:STDOUT: %impl.elem0.loc7_49.2: %.56d = impl_witness_access constants.%ImplicitAs.impl_witness.e84, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.785] +// CHECK:STDOUT: %bound_method.loc7_49.3: = bound_method %int_1, %impl.elem0.loc7_49.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d5f] // CHECK:STDOUT: %specific_fn.loc7_49.2: = specific_function %impl.elem0.loc7_49.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_49.4: = bound_method %int_1, %specific_fn.loc7_49.2 [concrete = constants.%bound_method.b34] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_49.2: init %i32 = call %bound_method.loc7_49.4(%int_1) [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc7_49.5: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_49.2 [concrete = constants.%int_1.50a] +// CHECK:STDOUT: %bound_method.loc7_49.4: = bound_method %int_1, %specific_fn.loc7_49.2 [concrete = constants.%bound_method.392] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_49.2: init %i32 = call %bound_method.loc7_49.4(%int_1) [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc7_49.5: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_49.2 [concrete = constants.%int_1.6b0] // CHECK:STDOUT: %.loc7_49.6: ref %i32 = class_element_access %.loc7_50.2, element1 -// CHECK:STDOUT: %.loc7_49.7: init %i32 to %.loc7_49.6 = in_place_init %.loc7_49.5 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc7_49.8: init %.9de to %.loc7_50.2 = class_init (%.loc7_49.4, %.loc7_49.7) [concrete = constants.%struct.28c] -// CHECK:STDOUT: %.loc7_50.3: init %.9de = converted %.loc7_49.1, %.loc7_49.8 [concrete = constants.%struct.28c] +// CHECK:STDOUT: %.loc7_49.7: init %i32 to %.loc7_49.6 = in_place_init %.loc7_49.5 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc7_49.8: init %.9bb to %.loc7_50.2 = class_init (%.loc7_49.4, %.loc7_49.7) [concrete = constants.%struct.962] +// CHECK:STDOUT: %.loc7_50.3: init %.9bb = converted %.loc7_49.1, %.loc7_49.8 [concrete = constants.%struct.962] // CHECK:STDOUT: %.loc7_50.4: init %Base = as_compatible %.loc7_50.3 [concrete = constants.%Base.val] // CHECK:STDOUT: %.loc7_50.5: init %Child to %a.var = class_init (%.loc7_50.4) [concrete = constants.%Child.val] // CHECK:STDOUT: %.loc7_3: init %Child = converted %.loc7_50.1, %.loc7_50.5 [concrete = constants.%Child.val] @@ -283,26 +283,26 @@ fn Run() { // CHECK:STDOUT: %Child.ref: type = name_ref Child, imports.%Main.Child [concrete = constants.%Child] // CHECK:STDOUT: %a: ref %Child = ref_binding a, %a.var // CHECK:STDOUT: %a.ref.loc8: ref %Child = name_ref a, %a -// CHECK:STDOUT: %x.ref: %Base.elem = name_ref x, imports.%Main.import_ref.899 [concrete = imports.%.dee] +// CHECK:STDOUT: %x.ref: %Base.elem = name_ref x, imports.%Main.import_ref.010 [concrete = imports.%.3c0] // CHECK:STDOUT: %.loc8_4.1: ref %Base = class_element_access %a.ref.loc8, element0 // CHECK:STDOUT: %.loc8_4.2: ref %Base = converted %a.ref.loc8, %.loc8_4.1 // CHECK:STDOUT: %.loc8_4.3: ref %i32 = class_element_access %.loc8_4.2, element0 // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc8: %.634 = impl_witness_access constants.%ImplicitAs.impl_witness.1e6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.924] -// CHECK:STDOUT: %bound_method.loc8_7.1: = bound_method %int_2, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.f4c] +// CHECK:STDOUT: %impl.elem0.loc8: %.56d = impl_witness_access constants.%ImplicitAs.impl_witness.e84, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.785] +// CHECK:STDOUT: %bound_method.loc8_7.1: = bound_method %int_2, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.cf8] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_7.2: = bound_method %int_2, %specific_fn.loc8 [concrete = constants.%bound_method.fe7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_7.2(%int_2) [concrete = constants.%int_2.21f] -// CHECK:STDOUT: %.loc8_7: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_2.21f] +// CHECK:STDOUT: %bound_method.loc8_7.2: = bound_method %int_2, %specific_fn.loc8 [concrete = constants.%bound_method.90e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_7.2(%int_2) [concrete = constants.%int_2.c3d] +// CHECK:STDOUT: %.loc8_7: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_2.c3d] // CHECK:STDOUT: assign %.loc8_4.3, %.loc8_7 // CHECK:STDOUT: %a.ref.loc9: ref %Child = name_ref a, %a -// CHECK:STDOUT: %F.ref: %Base.F.type = name_ref F, imports.%Main.import_ref.e20 [concrete = constants.%Base.F] +// CHECK:STDOUT: %F.ref: %Base.F.type = name_ref F, imports.%Main.import_ref.d29 [concrete = constants.%Base.F] // CHECK:STDOUT: %Base.F.bound: = bound_method %a.ref.loc9, %F.ref // CHECK:STDOUT: %.loc9_3.1: ref %Base = class_element_access %a.ref.loc9, element0 // CHECK:STDOUT: %.loc9_3.2: ref %Base = converted %a.ref.loc9, %.loc9_3.1 // CHECK:STDOUT: %.loc9_3.3: %Base = acquire_value %.loc9_3.2 // CHECK:STDOUT: %Base.F.call: init %empty_tuple.type = call %Base.F.bound(%.loc9_3.3) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -316,7 +316,7 @@ fn Run() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc7_3.3(%self.param: ref %struct_type.x.unused_y.b4b) { +// CHECK:STDOUT: fn @Destroy.Op.loc7_3.3(%self.param: ref %struct_type.x.unused_y.50b) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -326,7 +326,7 @@ fn Run() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc7_3.5(%self.param: ref %struct_type.base.1b1) { +// CHECK:STDOUT: fn @Destroy.Op.loc7_3.5(%self.param: ref %struct_type.base.d37) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/inheritance/self_conversion.carbon b/toolchain/check/testdata/class/inheritance/self_conversion.carbon index c571472970ea..97d87795a019 100644 --- a/toolchain/check/testdata/class/inheritance/self_conversion.carbon +++ b/toolchain/check/testdata/class/inheritance/self_conversion.carbon @@ -46,49 +46,49 @@ fn Call(p: Derived*) -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %i32 [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fd3: = complete_type_witness %struct_type.a [concrete] +// CHECK:STDOUT: %complete_type.f2a: = complete_type_witness %struct_type.a [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] // CHECK:STDOUT: %Derived.elem: type = unbound_element_type %Derived, %Base [concrete] -// CHECK:STDOUT: %pattern_type.85f: type = pattern_type %Base [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.116: type = pattern_type %Base [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %Derived.SelfBase.type: type = fn_type @Derived.SelfBase [concrete] // CHECK:STDOUT: %Derived.SelfBase: %Derived.SelfBase.type = struct_value () [concrete] // CHECK:STDOUT: %Derived.RefSelfBase.type: type = fn_type @Derived.RefSelfBase [concrete] // CHECK:STDOUT: %Derived.RefSelfBase: %Derived.RefSelfBase.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.e63: type = struct_type {.base: %Base} [concrete] -// CHECK:STDOUT: %complete_type.4e8: = complete_type_witness %struct_type.base.e63 [concrete] +// CHECK:STDOUT: %struct_type.base.d37: type = struct_type {.base: %Base} [concrete] +// CHECK:STDOUT: %complete_type.736: = complete_type_witness %struct_type.base.d37 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %ptr.128: type = ptr_type %Derived [concrete] -// CHECK:STDOUT: %pattern_type.66e: type = pattern_type %ptr.128 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %ptr.054: type = ptr_type %Derived [concrete] +// CHECK:STDOUT: %pattern_type.df0: type = pattern_type %ptr.054 [concrete] // CHECK:STDOUT: %Call.type: type = fn_type @Call [concrete] // CHECK:STDOUT: %Call: %Call.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -103,11 +103,11 @@ fn Call(p: Derived*) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -121,13 +121,13 @@ fn Call(p: Derived*) -> i32 { // CHECK:STDOUT: %Base.decl: type = class_decl @Base [concrete = constants.%Base] {} {} // CHECK:STDOUT: %Derived.decl: type = class_decl @Derived [concrete = constants.%Derived] {} {} // CHECK:STDOUT: %Derived.SelfBase.decl: %Derived.SelfBase.type = fn_decl @Derived.SelfBase [concrete = constants.%Derived.SelfBase] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.85f = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.85f = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc26 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.116 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.116 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc26 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc26: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc26: Core.Form = init_form %i32.loc26 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc26: Core.Form = init_form %i32.loc26 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param.loc26: %Base = value_param call_param0 // CHECK:STDOUT: %Base.ref.loc26: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %self.loc26: %Base = value_binding self, %self.param.loc26 @@ -135,27 +135,27 @@ fn Call(p: Derived*) -> i32 { // CHECK:STDOUT: %return.loc26: ref %i32 = return_slot %return.param.loc26 // CHECK:STDOUT: } // CHECK:STDOUT: %Derived.RefSelfBase.decl: %Derived.RefSelfBase.type = fn_decl @Derived.RefSelfBase [concrete = constants.%Derived.RefSelfBase] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.85f = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.85f = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.116 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.116 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param.loc30: ref %Base = ref_param call_param0 // CHECK:STDOUT: %Base.ref.loc30: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %self.loc30: ref %Base = ref_binding self, %self.param.loc30 // CHECK:STDOUT: } // CHECK:STDOUT: %Call.decl: %Call.type = fn_decl @Call [concrete = constants.%Call] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.66e = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.66e = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.df0 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.df0 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc34_25: Core.Form = init_form %i32 [concrete = constants.%.70c] -// CHECK:STDOUT: %p.param: %ptr.128 = value_param call_param0 -// CHECK:STDOUT: %.loc34_19: type = splice_block %ptr [concrete = constants.%ptr.128] { +// CHECK:STDOUT: %.loc34_25: Core.Form = init_form %i32 [concrete = constants.%.7ea] +// CHECK:STDOUT: %p.param: %ptr.054 = value_param call_param0 +// CHECK:STDOUT: %.loc34_19: type = splice_block %ptr [concrete = constants.%ptr.054] { // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] -// CHECK:STDOUT: %ptr: type = ptr_type %Derived.ref [concrete = constants.%ptr.128] +// CHECK:STDOUT: %ptr: type = ptr_type %Derived.ref [concrete = constants.%ptr.054] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.128 = value_binding p, %p.param +// CHECK:STDOUT: %p: %ptr.054 = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -163,7 +163,7 @@ fn Call(p: Derived*) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: class @Base { // CHECK:STDOUT: %.loc16: %Base.elem = field_decl a, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a [concrete = constants.%complete_type.fd3] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a [concrete = constants.%complete_type.f2a] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -176,13 +176,13 @@ fn Call(p: Derived*) -> i32 { // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %.loc20: %Derived.elem = base_decl %Base.ref, element0 [concrete] // CHECK:STDOUT: %Derived.SelfBase.decl: %Derived.SelfBase.type = fn_decl @Derived.SelfBase [concrete = constants.%Derived.SelfBase] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.85f = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.85f = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc26 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.116 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.116 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc26 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc22: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc22: Core.Form = init_form %i32.loc22 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc22: Core.Form = init_form %i32.loc22 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param.loc22: %Base = value_param call_param0 // CHECK:STDOUT: %Base.ref.loc22: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %self.loc22: %Base = value_binding self, %self.param.loc22 @@ -190,14 +190,14 @@ fn Call(p: Derived*) -> i32 { // CHECK:STDOUT: %return.loc22: ref %i32 = return_slot %return.param.loc22 // CHECK:STDOUT: } // CHECK:STDOUT: %Derived.RefSelfBase.decl: %Derived.RefSelfBase.type = fn_decl @Derived.RefSelfBase [concrete = constants.%Derived.RefSelfBase] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.85f = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.85f = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.116 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.116 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param.loc23: ref %Base = ref_param call_param0 // CHECK:STDOUT: %Base.ref.loc23: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %self.loc23: ref %Base = ref_binding self, %self.param.loc23 // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.e63 [concrete = constants.%complete_type.4e8] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d37 [concrete = constants.%complete_type.736] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -215,7 +215,7 @@ fn Call(p: Derived*) -> i32 { // CHECK:STDOUT: %a.ref: %Base.elem = name_ref a, @Base.%.loc16 [concrete = @Base.%.loc16] // CHECK:STDOUT: %.loc27_14.1: ref %i32 = class_element_access %self.ref, element0 // CHECK:STDOUT: %.loc27_14.2: %i32 = acquire_value %.loc27_14.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc27_14.1: = bound_method %.loc27_14.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc27_14.2: = bound_method %.loc27_14.2, %specific_fn @@ -229,26 +229,26 @@ fn Call(p: Derived*) -> i32 { // CHECK:STDOUT: %a.ref: %Base.elem = name_ref a, @Base.%.loc16 [concrete = @Base.%.loc16] // CHECK:STDOUT: %.loc31_7: ref %i32 = class_element_access %self.ref, element0 // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc31_10.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc31_10.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc31_10.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc31_10: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc31_10.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc31_10: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign %.loc31_7, %.loc31_10 // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Call(%p.param: %ptr.128) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @Call(%p.param: %ptr.054) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref.loc35: %ptr.128 = name_ref p, %p +// CHECK:STDOUT: %p.ref.loc35: %ptr.054 = name_ref p, %p // CHECK:STDOUT: %.loc35_4.1: ref %Derived = deref %p.ref.loc35 // CHECK:STDOUT: %RefSelfBase.ref: %Derived.RefSelfBase.type = name_ref RefSelfBase, @Derived.%Derived.RefSelfBase.decl [concrete = constants.%Derived.RefSelfBase] // CHECK:STDOUT: %Derived.RefSelfBase.bound: = bound_method %.loc35_4.1, %RefSelfBase.ref // CHECK:STDOUT: %.loc35_4.2: ref %Base = class_element_access %.loc35_4.1, element0 // CHECK:STDOUT: %.loc35_4.3: ref %Base = converted %.loc35_4.1, %.loc35_4.2 // CHECK:STDOUT: %Derived.RefSelfBase.call: init %empty_tuple.type = call %Derived.RefSelfBase.bound(%.loc35_4.3) -// CHECK:STDOUT: %p.ref.loc36: %ptr.128 = name_ref p, %p +// CHECK:STDOUT: %p.ref.loc36: %ptr.054 = name_ref p, %p // CHECK:STDOUT: %.loc36_11.1: ref %Derived = deref %p.ref.loc36 // CHECK:STDOUT: %SelfBase.ref: %Derived.SelfBase.type = name_ref SelfBase, @Derived.%Derived.SelfBase.decl [concrete = constants.%Derived.SelfBase] // CHECK:STDOUT: %Derived.SelfBase.bound: = bound_method %.loc36_11.1, %SelfBase.ref diff --git a/toolchain/check/testdata/class/init.carbon b/toolchain/check/testdata/class/init.carbon index 2138f1cbeb70..5da264cbea79 100644 --- a/toolchain/check/testdata/class/init.carbon +++ b/toolchain/check/testdata/class/init.carbon @@ -34,40 +34,40 @@ fn MakeReorder(n: i32, next: Class*) -> Class { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Class.elem.18e: type = unbound_element_type %Class, %i32 [concrete] -// CHECK:STDOUT: %ptr.bd7: type = ptr_type %Class [concrete] -// CHECK:STDOUT: %pattern_type.9b1: type = pattern_type %ptr.bd7 [concrete] -// CHECK:STDOUT: %Class.elem.5bd: type = unbound_element_type %Class, %ptr.bd7 [concrete] -// CHECK:STDOUT: %struct_type.n.next: type = struct_type {.n: %i32, .next: %ptr.bd7} [concrete] -// CHECK:STDOUT: %complete_type.492: = complete_type_witness %struct_type.n.next [concrete] -// CHECK:STDOUT: %.23c: Core.Form = init_form %Class [concrete] -// CHECK:STDOUT: %pattern_type.138: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Class.elem.70f: type = unbound_element_type %Class, %i32 [concrete] +// CHECK:STDOUT: %ptr.e55: type = ptr_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.732: type = pattern_type %ptr.e55 [concrete] +// CHECK:STDOUT: %Class.elem.79d: type = unbound_element_type %Class, %ptr.e55 [concrete] +// CHECK:STDOUT: %struct_type.n.next: type = struct_type {.n: %i32, .next: %ptr.e55} [concrete] +// CHECK:STDOUT: %complete_type.368: = complete_type_witness %struct_type.n.next [concrete] +// CHECK:STDOUT: %.14f: Core.Form = init_form %Class [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] // CHECK:STDOUT: %Make.type: type = fn_type @Make [concrete] // CHECK:STDOUT: %Make: %Make.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %Copy.impl_witness.34c: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%Class) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eaf: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Class) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.ef3: %ptr.as.Copy.impl.Op.type.eaf = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.876: %Copy.type = facet_value %ptr.bd7, (%Copy.impl_witness.34c) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.876) [concrete] -// CHECK:STDOUT: %.cc1: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9c, %Copy.facet.876 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.ef3, @ptr.as.Copy.impl.Op(%Class) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.f8f: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%Class) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.4ac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Class) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.b07: %ptr.as.Copy.impl.Op.type.4ac = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.410: %Copy.type = facet_value %ptr.e55, (%Copy.impl_witness.f8f) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7db: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.410) [concrete] +// CHECK:STDOUT: %.044: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7db, %Copy.facet.410 [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.b07, @ptr.as.Copy.impl.Op(%Class) [concrete] // CHECK:STDOUT: %MakeReorder.type: type = fn_type @MakeReorder [concrete] // CHECK:STDOUT: %MakeReorder: %MakeReorder.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.next.n: type = struct_type {.next: %ptr.bd7, .n: %i32} [concrete] +// CHECK:STDOUT: %struct_type.next.n: type = struct_type {.next: %ptr.e55, .n: %i32} [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -79,10 +79,10 @@ fn MakeReorder(n: i32, next: Class*) -> Class { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -95,55 +95,55 @@ fn MakeReorder(n: i32, next: Class*) -> Class { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %Make.decl: %Make.type = fn_decl @Make [concrete = constants.%Make] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %next.param_patt: %pattern_type.9b1 = value_param_pattern [concrete] -// CHECK:STDOUT: %next.patt: %pattern_type.9b1 = at_binding_pattern next, %next.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.138 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.138 = return_slot_pattern %return.param_patt, %Class.ref.loc20_34 [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %next.param_patt: %pattern_type.732 = value_param_pattern [concrete] +// CHECK:STDOUT: %next.patt: %pattern_type.732 = at_binding_pattern next, %next.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.415 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.415 = return_slot_pattern %return.param_patt, %Class.ref.loc20_34 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Class.ref.loc20_34: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %.loc20_34: Core.Form = init_form %Class.ref.loc20_34 [concrete = constants.%.23c] +// CHECK:STDOUT: %.loc20_34: Core.Form = init_form %Class.ref.loc20_34 [concrete = constants.%.14f] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param -// CHECK:STDOUT: %next.param: %ptr.bd7 = value_param call_param1 -// CHECK:STDOUT: %.loc20_28: type = splice_block %ptr [concrete = constants.%ptr.bd7] { +// CHECK:STDOUT: %next.param: %ptr.e55 = value_param call_param1 +// CHECK:STDOUT: %.loc20_28: type = splice_block %ptr [concrete = constants.%ptr.e55] { // CHECK:STDOUT: %Class.ref.loc20_23: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %ptr: type = ptr_type %Class.ref.loc20_23 [concrete = constants.%ptr.bd7] +// CHECK:STDOUT: %ptr: type = ptr_type %Class.ref.loc20_23 [concrete = constants.%ptr.e55] // CHECK:STDOUT: } -// CHECK:STDOUT: %next: %ptr.bd7 = value_binding next, %next.param +// CHECK:STDOUT: %next: %ptr.e55 = value_binding next, %next.param // CHECK:STDOUT: %return.param: ref %Class = out_param call_param2 // CHECK:STDOUT: %return: ref %Class = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %MakeReorder.decl: %MakeReorder.type = fn_decl @MakeReorder [concrete = constants.%MakeReorder] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %next.param_patt: %pattern_type.9b1 = value_param_pattern [concrete] -// CHECK:STDOUT: %next.patt: %pattern_type.9b1 = at_binding_pattern next, %next.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.138 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.138 = return_slot_pattern %return.param_patt, %Class.ref.loc24_41 [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %next.param_patt: %pattern_type.732 = value_param_pattern [concrete] +// CHECK:STDOUT: %next.patt: %pattern_type.732 = at_binding_pattern next, %next.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.415 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.415 = return_slot_pattern %return.param_patt, %Class.ref.loc24_41 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Class.ref.loc24_41: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %.loc24_41: Core.Form = init_form %Class.ref.loc24_41 [concrete = constants.%.23c] +// CHECK:STDOUT: %.loc24_41: Core.Form = init_form %Class.ref.loc24_41 [concrete = constants.%.14f] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param -// CHECK:STDOUT: %next.param: %ptr.bd7 = value_param call_param1 -// CHECK:STDOUT: %.loc24_35: type = splice_block %ptr [concrete = constants.%ptr.bd7] { +// CHECK:STDOUT: %next.param: %ptr.e55 = value_param call_param1 +// CHECK:STDOUT: %.loc24_35: type = splice_block %ptr [concrete = constants.%ptr.e55] { // CHECK:STDOUT: %Class.ref.loc24_30: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %ptr: type = ptr_type %Class.ref.loc24_30 [concrete = constants.%ptr.bd7] +// CHECK:STDOUT: %ptr: type = ptr_type %Class.ref.loc24_30 [concrete = constants.%ptr.e55] // CHECK:STDOUT: } -// CHECK:STDOUT: %next: %ptr.bd7 = value_binding next, %next.param +// CHECK:STDOUT: %next: %ptr.e55 = value_binding next, %next.param // CHECK:STDOUT: %return.param: ref %Class = out_param call_param2 // CHECK:STDOUT: %return: ref %Class = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Class { -// CHECK:STDOUT: %.loc16: %Class.elem.18e = field_decl n, element0 [concrete] -// CHECK:STDOUT: %.loc17: %Class.elem.5bd = field_decl next, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n.next [concrete = constants.%complete_type.492] +// CHECK:STDOUT: %.loc16: %Class.elem.70f = field_decl n, element0 [concrete] +// CHECK:STDOUT: %.loc17: %Class.elem.79d = field_decl next, element1 [concrete] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n.next [concrete = constants.%complete_type.368] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -153,49 +153,49 @@ fn MakeReorder(n: i32, next: Class*) -> Class { // CHECK:STDOUT: .next = %.loc17 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Make(%n.param: %i32, %next.param: %ptr.bd7) -> out %return.param: %Class { +// CHECK:STDOUT: fn @Make(%n.param: %i32, %next.param: %ptr.e55) -> out %return.param: %Class { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n -// CHECK:STDOUT: %next.ref: %ptr.bd7 = name_ref next, %next +// CHECK:STDOUT: %next.ref: %ptr.e55 = name_ref next, %next // CHECK:STDOUT: %.loc21_31.1: %struct_type.n.next = struct_literal (%n.ref, %next.ref) -// CHECK:STDOUT: %impl.elem0.loc21_16: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc21_16: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc21_16.1: = bound_method %n.ref, %impl.elem0.loc21_16 // CHECK:STDOUT: %specific_fn.loc21_16: = specific_function %impl.elem0.loc21_16, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc21_16.2: = bound_method %n.ref, %specific_fn.loc21_16 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc21_16.2(%n.ref) // CHECK:STDOUT: %.loc21_31.2: ref %i32 = class_element_access %return.param, element0 // CHECK:STDOUT: %.loc21_31.3: init %i32 to %.loc21_31.2 = in_place_init %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: %impl.elem0.loc21_27: %.cc1 = impl_witness_access constants.%Copy.impl_witness.34c, element0 [concrete = constants.%ptr.as.Copy.impl.Op.ef3] +// CHECK:STDOUT: %impl.elem0.loc21_27: %.044 = impl_witness_access constants.%Copy.impl_witness.f8f, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b07] // CHECK:STDOUT: %bound_method.loc21_27.1: = bound_method %next.ref, %impl.elem0.loc21_27 // CHECK:STDOUT: %specific_fn.loc21_27: = specific_function %impl.elem0.loc21_27, @ptr.as.Copy.impl.Op(constants.%Class) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc21_27.2: = bound_method %next.ref, %specific_fn.loc21_27 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.bd7 = call %bound_method.loc21_27.2(%next.ref) -// CHECK:STDOUT: %.loc21_31.4: ref %ptr.bd7 = class_element_access %return.param, element1 -// CHECK:STDOUT: %.loc21_31.5: init %ptr.bd7 to %.loc21_31.4 = in_place_init %ptr.as.Copy.impl.Op.call +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.e55 = call %bound_method.loc21_27.2(%next.ref) +// CHECK:STDOUT: %.loc21_31.4: ref %ptr.e55 = class_element_access %return.param, element1 +// CHECK:STDOUT: %.loc21_31.5: init %ptr.e55 to %.loc21_31.4 = in_place_init %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: %.loc21_31.6: init %Class to %return.param = class_init (%.loc21_31.3, %.loc21_31.5) // CHECK:STDOUT: %.loc21_32: init %Class = converted %.loc21_31.1, %.loc21_31.6 // CHECK:STDOUT: return %.loc21_32 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @MakeReorder(%n.param: %i32, %next.param: %ptr.bd7) -> out %return.param: %Class { +// CHECK:STDOUT: fn @MakeReorder(%n.param: %i32, %next.param: %ptr.e55) -> out %return.param: %Class { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %next.ref: %ptr.bd7 = name_ref next, %next +// CHECK:STDOUT: %next.ref: %ptr.e55 = name_ref next, %next // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n // CHECK:STDOUT: %.loc25_31.1: %struct_type.next.n = struct_literal (%next.ref, %n.ref) -// CHECK:STDOUT: %impl.elem0.loc25_30: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc25_30: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc25_30.1: = bound_method %n.ref, %impl.elem0.loc25_30 // CHECK:STDOUT: %specific_fn.loc25_30: = specific_function %impl.elem0.loc25_30, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc25_30.2: = bound_method %n.ref, %specific_fn.loc25_30 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc25_30.2(%n.ref) // CHECK:STDOUT: %.loc25_31.2: ref %i32 = class_element_access %return.param, element1 // CHECK:STDOUT: %.loc25_31.3: init %i32 to %.loc25_31.2 = in_place_init %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: %impl.elem0.loc25_19: %.cc1 = impl_witness_access constants.%Copy.impl_witness.34c, element0 [concrete = constants.%ptr.as.Copy.impl.Op.ef3] +// CHECK:STDOUT: %impl.elem0.loc25_19: %.044 = impl_witness_access constants.%Copy.impl_witness.f8f, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b07] // CHECK:STDOUT: %bound_method.loc25_19.1: = bound_method %next.ref, %impl.elem0.loc25_19 // CHECK:STDOUT: %specific_fn.loc25_19: = specific_function %impl.elem0.loc25_19, @ptr.as.Copy.impl.Op(constants.%Class) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc25_19.2: = bound_method %next.ref, %specific_fn.loc25_19 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.bd7 = call %bound_method.loc25_19.2(%next.ref) -// CHECK:STDOUT: %.loc25_31.4: ref %ptr.bd7 = class_element_access %return.param, element0 -// CHECK:STDOUT: %.loc25_31.5: init %ptr.bd7 to %.loc25_31.4 = in_place_init %ptr.as.Copy.impl.Op.call +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.e55 = call %bound_method.loc25_19.2(%next.ref) +// CHECK:STDOUT: %.loc25_31.4: ref %ptr.e55 = class_element_access %return.param, element0 +// CHECK:STDOUT: %.loc25_31.5: init %ptr.e55 to %.loc25_31.4 = in_place_init %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: %.loc25_31.6: init %Class to %return.param = class_init (%.loc25_31.3, %.loc25_31.5) // CHECK:STDOUT: %.loc25_32: init %Class = converted %.loc25_31.1, %.loc25_31.6 // CHECK:STDOUT: return %.loc25_32 to %return.param diff --git a/toolchain/check/testdata/class/init_as.carbon b/toolchain/check/testdata/class/init_as.carbon index 2f83c1248d39..40b8d2e79c1d 100644 --- a/toolchain/check/testdata/class/init_as.carbon +++ b/toolchain/check/testdata/class/init_as.carbon @@ -38,52 +38,52 @@ fn G() -> i32 { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %i32 [concrete] -// CHECK:STDOUT: %struct_type.a.b.602: type = struct_type {.a: %i32, .b: %i32} [concrete] +// CHECK:STDOUT: %struct_type.a.b.b47: type = struct_type {.a: %i32, .b: %i32} [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.a.b.cfd = struct_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %Class.val: %Class = struct_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %.59d: ref %Class = temporary invalid, %Class.val [concrete] -// CHECK:STDOUT: %.c03: ref %i32 = class_element_access %.59d, element0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Class.val: %Class = struct_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %.685: ref %Class = temporary invalid, %Class.val [concrete] +// CHECK:STDOUT: %.557: ref %i32 = class_element_access %.685, element0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.138: type = pattern_type %Class [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc20_28.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.59d, %Destroy.Op.1dc86d.4 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc20_28.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.685, %Destroy.Op.2dd605.4 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: %i32 { @@ -92,35 +92,35 @@ fn G() -> i32 { // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc20_26.1: %struct_type.a.b.cfd = struct_literal (%int_1, %int_2) [concrete = constants.%struct] // CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %impl.elem0.loc20_26.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc20_26.1: = bound_method %int_1, %impl.elem0.loc20_26.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc20_26.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc20_26.1: = bound_method %int_1, %impl.elem0.loc20_26.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc20_26.1: = specific_function %impl.elem0.loc20_26.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc20_26.2: = bound_method %int_1, %specific_fn.loc20_26.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_26.1: init %i32 = call %bound_method.loc20_26.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc20_26.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_26.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc20_26.2: = bound_method %int_1, %specific_fn.loc20_26.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_26.1: init %i32 = call %bound_method.loc20_26.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc20_26.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_26.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc20_26.3: ref %Class = temporary_storage // CHECK:STDOUT: %.loc20_26.4: ref %i32 = class_element_access %.loc20_26.3, element0 -// CHECK:STDOUT: %.loc20_26.5: init %i32 to %.loc20_26.4 = in_place_init %.loc20_26.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc20_26.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc20_26.3: = bound_method %int_2, %impl.elem0.loc20_26.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc20_26.5: init %i32 to %.loc20_26.4 = in_place_init %.loc20_26.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc20_26.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc20_26.3: = bound_method %int_2, %impl.elem0.loc20_26.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc20_26.2: = specific_function %impl.elem0.loc20_26.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc20_26.4: = bound_method %int_2, %specific_fn.loc20_26.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_26.2: init %i32 = call %bound_method.loc20_26.4(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc20_26.6: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_26.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc20_26.4: = bound_method %int_2, %specific_fn.loc20_26.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_26.2: init %i32 = call %bound_method.loc20_26.4(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc20_26.6: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_26.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc20_26.7: ref %i32 = class_element_access %.loc20_26.3, element1 -// CHECK:STDOUT: %.loc20_26.8: init %i32 to %.loc20_26.7 = in_place_init %.loc20_26.6 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %.loc20_26.8: init %i32 to %.loc20_26.7 = in_place_init %.loc20_26.6 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc20_26.9: init %Class to %.loc20_26.3 = class_init (%.loc20_26.5, %.loc20_26.8) [concrete = constants.%Class.val] // CHECK:STDOUT: %.loc20_28.1: init %Class = converted %.loc20_26.1, %.loc20_26.9 [concrete = constants.%Class.val] -// CHECK:STDOUT: %.loc20_28.2: ref %Class = temporary %.loc20_26.3, %.loc20_28.1 [concrete = constants.%.59d] +// CHECK:STDOUT: %.loc20_28.2: ref %Class = temporary %.loc20_26.3, %.loc20_28.1 [concrete = constants.%.685] // CHECK:STDOUT: %a.ref: %Class.elem = name_ref a, @Class.%.loc14 [concrete = @Class.%.loc14] -// CHECK:STDOUT: %.loc20_37.1: ref %i32 = class_element_access %.loc20_28.2, element0 [concrete = constants.%.c03] +// CHECK:STDOUT: %.loc20_37.1: ref %i32 = class_element_access %.loc20_28.2, element0 [concrete = constants.%.557] // CHECK:STDOUT: %.loc20_37.2: %i32 = acquire_value %.loc20_37.1 -// CHECK:STDOUT: %impl.elem0.loc20_37: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc20_37: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc20_37.1: = bound_method %.loc20_37.2, %impl.elem0.loc20_37 // CHECK:STDOUT: %specific_fn.loc20_37: = specific_function %impl.elem0.loc20_37, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc20_37.2: = bound_method %.loc20_37.2, %specific_fn.loc20_37 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc20_37.2(%.loc20_37.2) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.59d) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.685) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: @@ -131,7 +131,7 @@ fn G() -> i32 { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc20_28.3(%self.param: ref %struct_type.a.b.602) { +// CHECK:STDOUT: fn @Destroy.Op.loc20_28.3(%self.param: ref %struct_type.a.b.b47) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -144,38 +144,38 @@ fn G() -> i32 { // CHECK:STDOUT: fn @G() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.138 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.138 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.415 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.415 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %Class = var %v.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc26_33.1: %struct_type.a.b.cfd = struct_literal (%int_1, %int_2) [concrete = constants.%struct] // CHECK:STDOUT: %Class.ref.loc26_38: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %impl.elem0.loc26_33.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc26_33.1: = bound_method %int_1, %impl.elem0.loc26_33.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc26_33.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc26_33.1: = bound_method %int_1, %impl.elem0.loc26_33.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc26_33.1: = specific_function %impl.elem0.loc26_33.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc26_33.2: = bound_method %int_1, %specific_fn.loc26_33.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_33.1: init %i32 = call %bound_method.loc26_33.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc26_33.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_33.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc26_33.2: = bound_method %int_1, %specific_fn.loc26_33.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_33.1: init %i32 = call %bound_method.loc26_33.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc26_33.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_33.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc26_3: ref %Class = splice_block %v.var {} // CHECK:STDOUT: %.loc26_33.3: ref %i32 = class_element_access %.loc26_3, element0 -// CHECK:STDOUT: %.loc26_33.4: init %i32 to %.loc26_33.3 = in_place_init %.loc26_33.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc26_33.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc26_33.3: = bound_method %int_2, %impl.elem0.loc26_33.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc26_33.4: init %i32 to %.loc26_33.3 = in_place_init %.loc26_33.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc26_33.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc26_33.3: = bound_method %int_2, %impl.elem0.loc26_33.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc26_33.2: = specific_function %impl.elem0.loc26_33.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc26_33.4: = bound_method %int_2, %specific_fn.loc26_33.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_33.2: init %i32 = call %bound_method.loc26_33.4(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc26_33.5: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_33.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc26_33.4: = bound_method %int_2, %specific_fn.loc26_33.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_33.2: init %i32 = call %bound_method.loc26_33.4(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc26_33.5: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_33.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc26_33.6: ref %i32 = class_element_access %.loc26_3, element1 -// CHECK:STDOUT: %.loc26_33.7: init %i32 to %.loc26_33.6 = in_place_init %.loc26_33.5 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %.loc26_33.7: init %i32 to %.loc26_33.6 = in_place_init %.loc26_33.5 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc26_33.8: init %Class to %.loc26_3 = class_init (%.loc26_33.4, %.loc26_33.7) [concrete = constants.%Class.val] // CHECK:STDOUT: %.loc26_35: init %Class = converted %.loc26_33.1, %.loc26_33.8 [concrete = constants.%Class.val] // CHECK:STDOUT: assign %v.var, %.loc26_35 // CHECK:STDOUT: %Class.ref.loc26_10: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] // CHECK:STDOUT: %v: ref %Class = ref_binding v, %v.var // CHECK:STDOUT: -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/init_nested.carbon b/toolchain/check/testdata/class/init_nested.carbon index 4ca541154b95..8ab490eb753f 100644 --- a/toolchain/check/testdata/class/init_nested.carbon +++ b/toolchain/check/testdata/class/init_nested.carbon @@ -38,17 +38,17 @@ fn MakeOuter() -> Outer { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Inner.elem: type = unbound_element_type %Inner, %i32 [concrete] // CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %complete_type.f58: = complete_type_witness %struct_type.a.b [concrete] -// CHECK:STDOUT: %.dcf: Core.Form = init_form %Inner [concrete] -// CHECK:STDOUT: %pattern_type.a87: type = pattern_type %Inner [concrete] +// CHECK:STDOUT: %complete_type.abf: = complete_type_witness %struct_type.a.b [concrete] +// CHECK:STDOUT: %.edc: Core.Form = init_form %Inner [concrete] +// CHECK:STDOUT: %pattern_type.78d: type = pattern_type %Inner [concrete] // CHECK:STDOUT: %MakeInner.type: type = fn_type @MakeInner [concrete] // CHECK:STDOUT: %MakeInner: %MakeInner.type = struct_value () [concrete] // CHECK:STDOUT: %Outer: type = class_type @Outer [concrete] // CHECK:STDOUT: %Outer.elem: type = unbound_element_type %Outer, %Inner [concrete] -// CHECK:STDOUT: %struct_type.c.d.182: type = struct_type {.c: %Inner, .d: %Inner} [concrete] -// CHECK:STDOUT: %complete_type.08e: = complete_type_witness %struct_type.c.d.182 [concrete] -// CHECK:STDOUT: %.88a: Core.Form = init_form %Outer [concrete] -// CHECK:STDOUT: %pattern_type.9b6: type = pattern_type %Outer [concrete] +// CHECK:STDOUT: %struct_type.c.d.fb7: type = struct_type {.c: %Inner, .d: %Inner} [concrete] +// CHECK:STDOUT: %complete_type.d9c: = complete_type_witness %struct_type.c.d.fb7 [concrete] +// CHECK:STDOUT: %.993: Core.Form = init_form %Outer [concrete] +// CHECK:STDOUT: %pattern_type.87b: type = pattern_type %Outer [concrete] // CHECK:STDOUT: %MakeOuter.type: type = fn_type @MakeOuter [concrete] // CHECK:STDOUT: %MakeOuter: %MakeOuter.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -73,21 +73,21 @@ fn MakeOuter() -> Outer { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Inner.decl: type = class_decl @Inner [concrete = constants.%Inner] {} {} // CHECK:STDOUT: %MakeInner.decl: %MakeInner.type = fn_decl @MakeInner [concrete = constants.%MakeInner] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.a87 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.a87 = return_slot_pattern %return.param_patt, %Inner.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.78d = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.78d = return_slot_pattern %return.param_patt, %Inner.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Inner.ref: type = name_ref Inner, file.%Inner.decl [concrete = constants.%Inner] -// CHECK:STDOUT: %.loc20: Core.Form = init_form %Inner.ref [concrete = constants.%.dcf] +// CHECK:STDOUT: %.loc20: Core.Form = init_form %Inner.ref [concrete = constants.%.edc] // CHECK:STDOUT: %return.param: ref %Inner = out_param call_param0 // CHECK:STDOUT: %return: ref %Inner = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Outer.decl: type = class_decl @Outer [concrete = constants.%Outer] {} {} // CHECK:STDOUT: %MakeOuter.decl: %MakeOuter.type = fn_decl @MakeOuter [concrete = constants.%MakeOuter] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.9b6 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.9b6 = return_slot_pattern %return.param_patt, %Outer.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.87b = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.87b = return_slot_pattern %return.param_patt, %Outer.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Outer.ref: type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer] -// CHECK:STDOUT: %.loc27: Core.Form = init_form %Outer.ref [concrete = constants.%.88a] +// CHECK:STDOUT: %.loc27: Core.Form = init_form %Outer.ref [concrete = constants.%.993] // CHECK:STDOUT: %return.param: ref %Outer = out_param call_param0 // CHECK:STDOUT: %return: ref %Outer = return_slot %return.param // CHECK:STDOUT: } @@ -96,7 +96,7 @@ fn MakeOuter() -> Outer { // CHECK:STDOUT: class @Inner { // CHECK:STDOUT: %.loc16: %Inner.elem = field_decl a, element0 [concrete] // CHECK:STDOUT: %.loc17: %Inner.elem = field_decl b, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -108,7 +108,7 @@ fn MakeOuter() -> Outer { // CHECK:STDOUT: class @Outer { // CHECK:STDOUT: %.loc23: %Outer.elem = field_decl c, element0 [concrete] // CHECK:STDOUT: %.loc24: %Outer.elem = field_decl d, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.c.d.182 [concrete = constants.%complete_type.08e] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.c.d.fb7 [concrete = constants.%complete_type.d9c] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -128,7 +128,7 @@ fn MakeOuter() -> Outer { // CHECK:STDOUT: %MakeInner.ref.loc28_34: %MakeInner.type = name_ref MakeInner, file.%MakeInner.decl [concrete = constants.%MakeInner] // CHECK:STDOUT: %.loc28_45.2: ref %Inner = class_element_access %return.param, element1 // CHECK:STDOUT: %MakeInner.call.loc28_44: init %Inner to %.loc28_45.2 = call %MakeInner.ref.loc28_34() -// CHECK:STDOUT: %.loc28_45.3: %struct_type.c.d.182 = struct_literal (%MakeInner.call.loc28_26, %MakeInner.call.loc28_44) +// CHECK:STDOUT: %.loc28_45.3: %struct_type.c.d.fb7 = struct_literal (%MakeInner.call.loc28_26, %MakeInner.call.loc28_44) // CHECK:STDOUT: %.loc28_45.4: init %Outer to %return.param = class_init (%MakeInner.call.loc28_26, %MakeInner.call.loc28_44) // CHECK:STDOUT: %.loc28_46: init %Outer = converted %.loc28_45.3, %.loc28_45.4 // CHECK:STDOUT: return %.loc28_46 to %return.param diff --git a/toolchain/check/testdata/class/local.carbon b/toolchain/check/testdata/class/local.carbon index 4c41a0105d86..e3a1e179a901 100644 --- a/toolchain/check/testdata/class/local.carbon +++ b/toolchain/check/testdata/class/local.carbon @@ -37,54 +37,54 @@ class A { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %A.F.type: type = fn_type @A.F [concrete] // CHECK:STDOUT: %A.F: %A.F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] -// CHECK:STDOUT: %.18e: Core.Form = init_form %B [concrete] -// CHECK:STDOUT: %pattern_type.971: type = pattern_type %B [concrete] +// CHECK:STDOUT: %.d31: Core.Form = init_form %B [concrete] +// CHECK:STDOUT: %pattern_type.6f2: type = pattern_type %B [concrete] // CHECK:STDOUT: %B.Make.type: type = fn_type @B.Make [concrete] // CHECK:STDOUT: %B.Make: %B.Make.type = struct_value () [concrete] // CHECK:STDOUT: %B.elem: type = unbound_element_type %B, %i32 [concrete] -// CHECK:STDOUT: %struct_type.n.179: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n.179 [concrete] +// CHECK:STDOUT: %struct_type.n.c7a: type = struct_type {.n: %i32} [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n.c7a [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.n.44a: type = struct_type {.n: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.n.44a = struct_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %B.val: %B = struct_value (%int_1.d5e) [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %B.val: %B = struct_value (%int_1.d9c) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc26_19.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc26_19.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -97,12 +97,12 @@ class A { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -117,11 +117,11 @@ class A { // CHECK:STDOUT: // CHECK:STDOUT: class @A { // CHECK:STDOUT: %A.F.decl: %A.F.type = fn_decl @A.F [concrete = constants.%A.F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -135,16 +135,16 @@ class A { // CHECK:STDOUT: // CHECK:STDOUT: class @B { // CHECK:STDOUT: %B.Make.decl: %B.Make.type = fn_decl @B.Make [concrete = constants.%B.Make] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.971 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.971 = return_slot_pattern %return.param_patt, %Self.ref.loc18 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.6f2 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.6f2 = return_slot_pattern %return.param_patt, %Self.ref.loc18 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.ref.loc18: type = name_ref Self, constants.%B [concrete = constants.%B] -// CHECK:STDOUT: %.loc18: Core.Form = init_form %Self.ref.loc18 [concrete = constants.%.18e] +// CHECK:STDOUT: %.loc18: Core.Form = init_form %Self.ref.loc18 [concrete = constants.%.d31] // CHECK:STDOUT: %return.param: ref %B = out_param call_param0 // CHECK:STDOUT: %return: ref %B = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %.loc23: %B.elem = field_decl n, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n.179 [concrete = constants.%complete_type.059] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n.c7a [concrete = constants.%complete_type.edf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -164,12 +164,12 @@ class A { // CHECK:STDOUT: %n.ref: %B.elem = name_ref n, @B.%.loc23 [concrete = @B.%.loc23] // CHECK:STDOUT: %.loc26_20.1: ref %i32 = class_element_access %.loc26_19.2, element0 // CHECK:STDOUT: %.loc26_20.2: %i32 = acquire_value %.loc26_20.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc26_20.1: = bound_method %.loc26_20.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc26_20.2: = bound_method %.loc26_20.2, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc26_20.2(%.loc26_20.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc26_19.2, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc26_19.2, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc26_19.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } @@ -177,19 +177,19 @@ class A { // CHECK:STDOUT: fn @B.Make() -> out %return.param: %B { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.971 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.971 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.6f2 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.6f2 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc19_39.1: %struct_type.n.44a = struct_literal (%int_1) [concrete = constants.%struct] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc19_39.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc19_39.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc19_39.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_39.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc19_39.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_39.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc19_39.3: ref %i32 = class_element_access %return.param, element0 -// CHECK:STDOUT: %.loc19_39.4: init %i32 to %.loc19_39.3 = in_place_init %.loc19_39.2 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %.loc19_39.4: init %i32 to %.loc19_39.3 = in_place_init %.loc19_39.2 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc19_39.5: init %B to %return.param = class_init (%.loc19_39.4) [concrete = constants.%B.val] // CHECK:STDOUT: %.loc19_18: init %B = converted %.loc19_39.1, %.loc19_39.5 [concrete = constants.%B.val] // CHECK:STDOUT: assign %return.param, %.loc19_18 @@ -205,7 +205,7 @@ class A { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc26_19.3(%self.param: ref %struct_type.n.179) { +// CHECK:STDOUT: fn @Destroy.Op.loc26_19.3(%self.param: ref %struct_type.n.c7a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/method/generic_method.carbon b/toolchain/check/testdata/class/method/generic_method.carbon index 26d14a069773..9a82c74e9928 100644 --- a/toolchain/check/testdata/class/method/generic_method.carbon +++ b/toolchain/check/testdata/class/method/generic_method.carbon @@ -32,12 +32,12 @@ fn Class(T:! type).F[unused self: Self](unused n: T) {} // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %T [symbolic] -// CHECK:STDOUT: %pattern_type.a45: type = pattern_type %Class [symbolic] +// CHECK:STDOUT: %pattern_type.f8f: type = pattern_type %Class [symbolic] // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F, @Class(%T) [symbolic] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [symbolic] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %T} [symbolic] // CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.a [symbolic] -// CHECK:STDOUT: %require_complete.244: = require_complete_type %Class [symbolic] +// CHECK:STDOUT: %require_complete.cc4: = require_complete_type %Class [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -63,8 +63,8 @@ fn Class(T:! type).F[unused self: Self](unused n: T) {} // CHECK:STDOUT: %T.loc15_14.2: type = symbolic_binding T, 0 [symbolic = %T.loc15_14.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [symbolic = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt: @Class.F.%pattern_type.loc17_12 (%pattern_type.a45) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Class.F.%pattern_type.loc17_12 (%pattern_type.a45) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @Class.F.%pattern_type.loc17_12 (%pattern_type.f8f) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Class.F.%pattern_type.loc17_12 (%pattern_type.f8f) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %n.param_patt: @Class.F.%pattern_type.loc17_21 (%pattern_type.51d) = value_param_pattern [concrete] // CHECK:STDOUT: %n.patt: @Class.F.%pattern_type.loc17_21 (%pattern_type.51d) = at_binding_pattern n, %n.param_patt [concrete] // CHECK:STDOUT: } { @@ -100,8 +100,8 @@ fn Class(T:! type).F[unused self: Self](unused n: T) {} // CHECK:STDOUT: class { // CHECK:STDOUT: %.loc16: @Class.%Class.elem (%Class.elem) = field_decl a, element0 [concrete] // CHECK:STDOUT: %Class.F.decl: @Class.%Class.F.type (%Class.F.type) = fn_decl @Class.F [symbolic = @Class.%Class.F (constants.%Class.F)] { -// CHECK:STDOUT: %self.param_patt: @Class.F.%pattern_type.loc17_12 (%pattern_type.a45) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Class.F.%pattern_type.loc17_12 (%pattern_type.a45) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @Class.F.%pattern_type.loc17_12 (%pattern_type.f8f) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Class.F.%pattern_type.loc17_12 (%pattern_type.f8f) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %n.param_patt: @Class.F.%pattern_type.loc17_21 (%pattern_type.51d) = value_param_pattern [concrete] // CHECK:STDOUT: %n.patt: @Class.F.%pattern_type.loc17_21 (%pattern_type.51d) = at_binding_pattern n, %n.param_patt [concrete] // CHECK:STDOUT: } { @@ -129,11 +129,11 @@ fn Class(T:! type).F[unused self: Self](unused n: T) {} // CHECK:STDOUT: generic fn @Class.F(@Class.%T.loc15_14.2: type) { // CHECK:STDOUT: %T.loc17: type = symbolic_binding T, 0 [symbolic = %T.loc17 (constants.%T)] // CHECK:STDOUT: %Class: type = class_type @Class, @Class(%T.loc17) [symbolic = %Class (constants.%Class)] -// CHECK:STDOUT: %pattern_type.loc17_12: type = pattern_type %Class [symbolic = %pattern_type.loc17_12 (constants.%pattern_type.a45)] +// CHECK:STDOUT: %pattern_type.loc17_12: type = pattern_type %Class [symbolic = %pattern_type.loc17_12 (constants.%pattern_type.f8f)] // CHECK:STDOUT: %pattern_type.loc17_21: type = pattern_type %T.loc17 [symbolic = %pattern_type.loc17_21 (constants.%pattern_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc20_33: = require_complete_type %Class [symbolic = %require_complete.loc20_33 (constants.%require_complete.244)] +// CHECK:STDOUT: %require_complete.loc20_33: = require_complete_type %Class [symbolic = %require_complete.loc20_33 (constants.%require_complete.cc4)] // CHECK:STDOUT: %require_complete.loc20_49: = require_complete_type %T.loc17 [symbolic = %require_complete.loc20_49 (constants.%require_complete.944)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param.loc20: @Class.F.%Class (%Class), %n.param.loc20: @Class.F.%T.loc17 (%T)) { @@ -158,7 +158,7 @@ fn Class(T:! type).F[unused self: Self](unused n: T) {} // CHECK:STDOUT: specific @Class.F(constants.%T) { // CHECK:STDOUT: %T.loc17 => constants.%T // CHECK:STDOUT: %Class => constants.%Class -// CHECK:STDOUT: %pattern_type.loc17_12 => constants.%pattern_type.a45 +// CHECK:STDOUT: %pattern_type.loc17_12 => constants.%pattern_type.f8f // CHECK:STDOUT: %pattern_type.loc17_21 => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/method/method.carbon b/toolchain/check/testdata/class/method/method.carbon index 54a8ce098ac4..bb7a05e2d758 100644 --- a/toolchain/check/testdata/class/method/method.carbon +++ b/toolchain/check/testdata/class/method/method.carbon @@ -66,34 +66,34 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Class: type = class_type @Class [concrete] -// CHECK:STDOUT: %pattern_type.138: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F [concrete] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [concrete] // CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G [concrete] // CHECK:STDOUT: %Class.G: %Class.G.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %i32 [concrete] -// CHECK:STDOUT: %struct_type.k.fae: type = struct_type {.k: %i32} [concrete] -// CHECK:STDOUT: %complete_type.cfa: = complete_type_witness %struct_type.k.fae [concrete] +// CHECK:STDOUT: %struct_type.k.baa: type = struct_type {.k: %i32} [concrete] +// CHECK:STDOUT: %complete_type.b06: = complete_type_witness %struct_type.k.baa [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Call.type: type = fn_type @Call [concrete] // CHECK:STDOUT: %Call: %Call.type = struct_value () [concrete] // CHECK:STDOUT: %CallAlias.type: type = fn_type @CallAlias [concrete] @@ -103,42 +103,42 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.k.240: type = struct_type {.k: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.k.240 = struct_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Class.val: %Class = struct_value (%int_1.d5e) [concrete] -// CHECK:STDOUT: %.7af: ref %Class = temporary invalid, %Class.val [concrete] -// CHECK:STDOUT: %Class.F.bound: = bound_method %.7af, %Class.F [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Class.val: %Class = struct_value (%int_1.d9c) [concrete] +// CHECK:STDOUT: %.c99: ref %Class = temporary invalid, %Class.val [concrete] +// CHECK:STDOUT: %Class.F.bound: = bound_method %.c99, %Class.F [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc39_20.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.7af, %Destroy.Op.1dc86d.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc39_20.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.c99, %Destroy.Op.2dd605.4 [concrete] // CHECK:STDOUT: %CallWithRef.type: type = fn_type @CallWithRef [concrete] // CHECK:STDOUT: %CallWithRef: %CallWithRef.type = struct_value () [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.96e: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%Class) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.82e: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.677: %T.as.DefaultOrUnformed.impl.Op.type.82e = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Class, (%DefaultOrUnformed.impl_witness.96e) [concrete] -// CHECK:STDOUT: %.23c: Core.Form = init_form %Class [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.677, @T.as.DefaultOrUnformed.impl.Op(%Class) [concrete] -// CHECK:STDOUT: %ptr.bd7: type = ptr_type %Class [concrete] -// CHECK:STDOUT: %pattern_type.9b1: type = pattern_type %ptr.bd7 [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.410: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.f58: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.795: %T.as.DefaultOrUnformed.impl.Op.type.f58 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Class, (%DefaultOrUnformed.impl_witness.410) [concrete] +// CHECK:STDOUT: %.14f: Core.Form = init_form %Class [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.795, @T.as.DefaultOrUnformed.impl.Op(%Class) [concrete] +// CHECK:STDOUT: %ptr.e55: type = ptr_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.732: type = pattern_type %ptr.e55 [concrete] // CHECK:STDOUT: %CallFThroughPointer.type: type = fn_type @CallFThroughPointer [concrete] // CHECK:STDOUT: %CallFThroughPointer: %CallFThroughPointer.type = struct_value () [concrete] // CHECK:STDOUT: %CallGThroughPointer.type: type = fn_type @CallGThroughPointer [concrete] @@ -163,15 +163,15 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -191,13 +191,13 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.138 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.138 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc24 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc24 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc24: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc24: Core.Form = init_form %i32.loc24 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc24: Core.Form = init_form %i32.loc24 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param.loc24: %Class = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc24: type = name_ref Self, constants.%Class [concrete = constants.%Class] // CHECK:STDOUT: %self.loc24: %Class = value_binding self, %self.param.loc24 @@ -205,13 +205,13 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %return.loc24: ref %i32 = return_slot %return.param.loc24 // CHECK:STDOUT: } // CHECK:STDOUT: %Call.decl: %Call.type = fn_decl @Call [concrete = constants.%Call] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.138 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.138 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.415 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc28: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc28: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %c.param: %Class = value_param call_param0 // CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] // CHECK:STDOUT: %c: %Class = value_binding c, %c.param @@ -219,13 +219,13 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallAlias.decl: %CallAlias.type = fn_decl @CallAlias [concrete = constants.%CallAlias] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.138 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.138 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.415 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc34: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc34: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %c.param: %Class = value_param call_param0 // CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] // CHECK:STDOUT: %c: %Class = value_binding c, %c.param @@ -233,81 +233,81 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallOnConstBoundMethod.decl: %CallOnConstBoundMethod.type = fn_decl @CallOnConstBoundMethod [concrete = constants.%CallOnConstBoundMethod] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc38: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc38: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallWithRef.decl: %CallWithRef.type = fn_decl @CallWithRef [concrete = constants.%CallWithRef] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc42: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc42: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallFThroughPointer.decl: %CallFThroughPointer.type = fn_decl @CallFThroughPointer [concrete = constants.%CallFThroughPointer] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.9b1 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.9b1 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.732 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.732 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc47_38: Core.Form = init_form %i32 [concrete = constants.%.70c] -// CHECK:STDOUT: %p.param: %ptr.bd7 = value_param call_param0 -// CHECK:STDOUT: %.loc47_32: type = splice_block %ptr [concrete = constants.%ptr.bd7] { +// CHECK:STDOUT: %.loc47_38: Core.Form = init_form %i32 [concrete = constants.%.7ea] +// CHECK:STDOUT: %p.param: %ptr.e55 = value_param call_param0 +// CHECK:STDOUT: %.loc47_32: type = splice_block %ptr [concrete = constants.%ptr.e55] { // CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %ptr: type = ptr_type %Class.ref [concrete = constants.%ptr.bd7] +// CHECK:STDOUT: %ptr: type = ptr_type %Class.ref [concrete = constants.%ptr.e55] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.bd7 = value_binding p, %p.param +// CHECK:STDOUT: %p: %ptr.e55 = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallGThroughPointer.decl: %CallGThroughPointer.type = fn_decl @CallGThroughPointer [concrete = constants.%CallGThroughPointer] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.9b1 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.9b1 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.732 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.732 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc51_38: Core.Form = init_form %i32 [concrete = constants.%.70c] -// CHECK:STDOUT: %p.param: %ptr.bd7 = value_param call_param0 -// CHECK:STDOUT: %.loc51_32: type = splice_block %ptr [concrete = constants.%ptr.bd7] { +// CHECK:STDOUT: %.loc51_38: Core.Form = init_form %i32 [concrete = constants.%.7ea] +// CHECK:STDOUT: %p.param: %ptr.e55 = value_param call_param0 +// CHECK:STDOUT: %.loc51_32: type = splice_block %ptr [concrete = constants.%ptr.e55] { // CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %ptr: type = ptr_type %Class.ref [concrete = constants.%ptr.bd7] +// CHECK:STDOUT: %ptr: type = ptr_type %Class.ref [concrete = constants.%ptr.e55] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.bd7 = value_binding p, %p.param +// CHECK:STDOUT: %p: %ptr.e55 = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Make.decl: %Make.type = fn_decl @Make [concrete = constants.%Make] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.138 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.138 = return_slot_pattern %return.param_patt, %Class.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.415 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.415 = return_slot_pattern %return.param_patt, %Class.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %.loc55: Core.Form = init_form %Class.ref [concrete = constants.%.23c] +// CHECK:STDOUT: %.loc55: Core.Form = init_form %Class.ref [concrete = constants.%.14f] // CHECK:STDOUT: %return.param: ref %Class = out_param call_param0 // CHECK:STDOUT: %return: ref %Class = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallFOnInitializingExpr.decl: %CallFOnInitializingExpr.type = fn_decl @CallFOnInitializingExpr [concrete = constants.%CallFOnInitializingExpr] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc57: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc57: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallGOnInitializingExpr.decl: %CallGOnInitializingExpr.type = fn_decl @CallGOnInitializingExpr [concrete = constants.%CallGOnInitializingExpr] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc61: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc61: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -315,13 +315,13 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.138 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.138 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc24 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc24 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32.loc16 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32.loc16 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param.loc16: %Class = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc16: type = name_ref Self, constants.%Class [concrete = constants.%Class] // CHECK:STDOUT: %self.loc16: %Class = value_binding self, %self.param.loc16 @@ -329,13 +329,13 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %return.loc16: ref %i32 = return_slot %return.param.loc16 // CHECK:STDOUT: } // CHECK:STDOUT: %Class.G.decl: %Class.G.type = fn_decl @Class.G [concrete = constants.%Class.G] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.138 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.138 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc17: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc17: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: ref %Class = ref_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Class [concrete = constants.%Class] // CHECK:STDOUT: %self: ref %Class = ref_binding self, %self.param @@ -345,7 +345,7 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %F.ref: %Class.F.type = name_ref F, %Class.F.decl [concrete = constants.%Class.F] // CHECK:STDOUT: %A: %Class.F.type = alias_binding A, %F.ref [concrete = constants.%Class.F] // CHECK:STDOUT: %.loc21: %Class.elem = field_decl k, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.k.fae [concrete = constants.%complete_type.cfa] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.k.baa [concrete = constants.%complete_type.b06] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -362,7 +362,7 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %k.ref: %Class.elem = name_ref k, @Class.%.loc21 [concrete = @Class.%.loc21] // CHECK:STDOUT: %.loc25_14.1: ref %i32 = class_element_access %self.ref, element0 // CHECK:STDOUT: %.loc25_14.2: %i32 = acquire_value %.loc25_14.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc25_14.1: = bound_method %.loc25_14.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc25_14.2: = bound_method %.loc25_14.2, %specific_fn @@ -395,23 +395,23 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc39_18.1: %struct_type.k.240 = struct_literal (%int_1) [concrete = constants.%struct] // CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc39_18.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc39_18.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc39_18.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc39_18.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc39_18.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc39_18.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc39_18.3: ref %Class = temporary_storage // CHECK:STDOUT: %.loc39_18.4: ref %i32 = class_element_access %.loc39_18.3, element0 -// CHECK:STDOUT: %.loc39_18.5: init %i32 to %.loc39_18.4 = in_place_init %.loc39_18.2 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %.loc39_18.5: init %i32 to %.loc39_18.4 = in_place_init %.loc39_18.2 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc39_18.6: init %Class to %.loc39_18.3 = class_init (%.loc39_18.5) [concrete = constants.%Class.val] // CHECK:STDOUT: %.loc39_20.1: init %Class = converted %.loc39_18.1, %.loc39_18.6 [concrete = constants.%Class.val] -// CHECK:STDOUT: %.loc39_20.2: ref %Class = temporary %.loc39_18.3, %.loc39_20.1 [concrete = constants.%.7af] +// CHECK:STDOUT: %.loc39_20.2: ref %Class = temporary %.loc39_18.3, %.loc39_20.1 [concrete = constants.%.c99] // CHECK:STDOUT: %F.ref: %Class.F.type = name_ref F, @Class.%Class.F.decl [concrete = constants.%Class.F] // CHECK:STDOUT: %Class.F.bound: = bound_method %.loc39_20.2, %F.ref [concrete = constants.%Class.F.bound] // CHECK:STDOUT: %.loc39_20.3: %Class = acquire_value %.loc39_20.2 [concrete = constants.%Class.val] // CHECK:STDOUT: %Class.F.call: init %i32 = call %Class.F.bound(%.loc39_20.3) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.7af) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.c99) // CHECK:STDOUT: return %Class.F.call // CHECK:STDOUT: } // CHECK:STDOUT: @@ -422,7 +422,7 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc39_20.3(%self.param: ref %struct_type.k.fae) { +// CHECK:STDOUT: fn @Destroy.Op.loc39_20.3(%self.param: ref %struct_type.k.baa) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -435,15 +435,15 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: fn @CallWithRef() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.138 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.138 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.415 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.415 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %Class = var %c.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Class, (constants.%DefaultOrUnformed.impl_witness.96e) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Class, (constants.%DefaultOrUnformed.impl_witness.410) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc43_15.1: %DefaultOrUnformed.type = converted constants.%Class, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc43_15.1 [concrete = constants.%Class] // CHECK:STDOUT: %.loc43_15.2: type = converted %.loc43_15.1, %as_type [concrete = constants.%Class] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.677, @T.as.DefaultOrUnformed.impl.Op(constants.%Class) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.795, @T.as.DefaultOrUnformed.impl.Op(constants.%Class) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %.loc43_3: ref %Class = splice_block %c.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %Class to %.loc43_3 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %c.var, %T.as.DefaultOrUnformed.impl.Op.call @@ -453,14 +453,14 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %G.ref: %Class.G.type = name_ref G, @Class.%Class.G.decl [concrete = constants.%Class.G] // CHECK:STDOUT: %Class.G.bound: = bound_method %c.ref, %G.ref // CHECK:STDOUT: %Class.G.call: init %i32 = call %Class.G.bound(%c.ref) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return %Class.G.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @CallFThroughPointer(%p.param: %ptr.bd7) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @CallFThroughPointer(%p.param: %ptr.e55) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.bd7 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.e55 = name_ref p, %p // CHECK:STDOUT: %.loc48_11.1: ref %Class = deref %p.ref // CHECK:STDOUT: %F.ref: %Class.F.type = name_ref F, @Class.%Class.F.decl [concrete = constants.%Class.F] // CHECK:STDOUT: %Class.F.bound: = bound_method %.loc48_11.1, %F.ref @@ -469,9 +469,9 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: return %Class.F.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @CallGThroughPointer(%p.param: %ptr.bd7) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @CallGThroughPointer(%p.param: %ptr.e55) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.bd7 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.e55 = name_ref p, %p // CHECK:STDOUT: %.loc52: ref %Class = deref %p.ref // CHECK:STDOUT: %G.ref: %Class.G.type = name_ref G, @Class.%Class.G.decl [concrete = constants.%Class.G] // CHECK:STDOUT: %Class.G.bound: = bound_method %.loc52, %G.ref @@ -491,7 +491,7 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %Class.F.bound: = bound_method %.loc58_15.2, %F.ref // CHECK:STDOUT: %.loc58_15.3: %Class = acquire_value %.loc58_15.2 // CHECK:STDOUT: %Class.F.call: init %i32 = call %Class.F.bound(%.loc58_15.3) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc58_15.2, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc58_15.2, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc58_15.2) // CHECK:STDOUT: return %Class.F.call // CHECK:STDOUT: } @@ -505,7 +505,7 @@ fn CallGOnInitializingExpr() -> i32 { // CHECK:STDOUT: %G.ref: %Class.G.type = name_ref G, @Class.%Class.G.decl [concrete = constants.%Class.G] // CHECK:STDOUT: %Class.G.bound: = bound_method %.loc62_15.2, %G.ref // CHECK:STDOUT: %Class.G.call: init %i32 = call %Class.G.bound(%.loc62_15.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc62_15.2, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc62_15.2, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc62_15.2) // CHECK:STDOUT: return %Class.G.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/method/static_method.carbon b/toolchain/check/testdata/class/method/static_method.carbon index bf6a71e7f40e..2a2d2a00cbc1 100644 --- a/toolchain/check/testdata/class/method/static_method.carbon +++ b/toolchain/check/testdata/class/method/static_method.carbon @@ -30,27 +30,27 @@ fn Run() -> i32 { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F [concrete] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %Run.type: type = fn_type @Run [concrete] // CHECK:STDOUT: %Run: %Run.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.138: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.96e: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%Class) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.82e: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.677: %T.as.DefaultOrUnformed.impl.Op.type.82e = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Class, (%DefaultOrUnformed.impl_witness.96e) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.677, @T.as.DefaultOrUnformed.impl.Op(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.410: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.f58: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.795: %T.as.DefaultOrUnformed.impl.Op.type.f58 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Class, (%DefaultOrUnformed.impl_witness.410) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.795, @T.as.DefaultOrUnformed.impl.Op(%Class) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc20_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc20_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -63,8 +63,8 @@ fn Run() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -77,11 +77,11 @@ fn Run() -> i32 { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %Run.decl: %Run.type = fn_decl @Run [concrete = constants.%Run] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc19: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc19: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -89,11 +89,11 @@ fn Run() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -110,15 +110,15 @@ fn Run() -> i32 { // CHECK:STDOUT: fn @Run() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.138 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.138 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.415 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.415 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %Class = var %c.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Class, (constants.%DefaultOrUnformed.impl_witness.96e) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Class, (constants.%DefaultOrUnformed.impl_witness.410) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc20_15.1: %DefaultOrUnformed.type = converted constants.%Class, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc20_15.1 [concrete = constants.%Class] // CHECK:STDOUT: %.loc20_15.2: type = converted %.loc20_15.1, %as_type [concrete = constants.%Class] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.677, @T.as.DefaultOrUnformed.impl.Op(constants.%Class) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.795, @T.as.DefaultOrUnformed.impl.Op(constants.%Class) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %.loc20_3: ref %Class = splice_block %c.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %Class to %.loc20_3 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %c.var, %T.as.DefaultOrUnformed.impl.Op.call @@ -127,7 +127,7 @@ fn Run() -> i32 { // CHECK:STDOUT: %c.ref: ref %Class = name_ref c, %c // CHECK:STDOUT: %F.ref: %Class.F.type = name_ref F, @Class.%Class.F.decl [concrete = constants.%Class.F] // CHECK:STDOUT: %Class.F.call: init %i32 = call %F.ref() -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return %Class.F.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/method/virtual.carbon b/toolchain/check/testdata/class/method/virtual.carbon index 5710b85998d9..3f6a96c9a789 100644 --- a/toolchain/check/testdata/class/method/virtual.carbon +++ b/toolchain/check/testdata/class/method/virtual.carbon @@ -556,7 +556,7 @@ class T2(G2:! type) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Base: type = class_type @Base [concrete] -// CHECK:STDOUT: %pattern_type.615: type = pattern_type %Base [concrete] +// CHECK:STDOUT: %pattern_type.e8a: type = pattern_type %Base [concrete] // CHECK:STDOUT: %Base.H.type: type = fn_type @Base.H [concrete] // CHECK:STDOUT: %Base.H: %Base.H.type = struct_value () [concrete] // CHECK:STDOUT: %ptr: type = ptr_type [concrete] @@ -564,7 +564,7 @@ class T2(G2:! type) { // CHECK:STDOUT: %struct_type.vptr: type = struct_type {.: %ptr} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.vptr [concrete] // CHECK:STDOUT: %Abstract: type = class_type @Abstract [concrete] -// CHECK:STDOUT: %pattern_type.624: type = pattern_type %Abstract [concrete] +// CHECK:STDOUT: %pattern_type.271: type = pattern_type %Abstract [concrete] // CHECK:STDOUT: %Abstract.J.type: type = fn_type @Abstract.J [concrete] // CHECK:STDOUT: %Abstract.J: %Abstract.J.type = struct_value () [concrete] // CHECK:STDOUT: %Abstract.K.type: type = fn_type @Abstract.K [concrete] @@ -579,8 +579,8 @@ class T2(G2:! type) { // CHECK:STDOUT: // CHECK:STDOUT: class @Base { // CHECK:STDOUT: %Base.H.decl: %Base.H.type = fn_decl @Base.H [concrete = constants.%Base.H] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.615 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.615 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.e8a = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.e8a = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %Base = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Base [concrete = constants.%Base] @@ -598,16 +598,16 @@ class T2(G2:! type) { // CHECK:STDOUT: // CHECK:STDOUT: class @Abstract { // CHECK:STDOUT: %Abstract.J.decl: %Abstract.J.type = fn_decl @Abstract.J [concrete = constants.%Abstract.J] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.624 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.624 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.271 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.271 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %Abstract = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Abstract [concrete = constants.%Abstract] // CHECK:STDOUT: %self: %Abstract = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %Abstract.K.decl: %Abstract.K.type = fn_decl @Abstract.K [concrete = constants.%Abstract.K] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.624 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.624 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.271 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.271 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %Abstract = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Abstract [concrete = constants.%Abstract] @@ -647,27 +647,27 @@ class T2(G2:! type) { // CHECK:STDOUT: %ptr.454: type = ptr_type [concrete] // CHECK:STDOUT: %struct_type.vptr: type = struct_type {.: %ptr.454} [concrete] // CHECK:STDOUT: %Derived.elem: type = unbound_element_type %Derived, %Base [concrete] -// CHECK:STDOUT: %pattern_type.104: type = pattern_type %Derived [concrete] +// CHECK:STDOUT: %pattern_type.cd3: type = pattern_type %Derived [concrete] // CHECK:STDOUT: %Derived.H.type: type = fn_type @Derived.H [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Derived.H: %Derived.H.type = struct_value () [concrete] // CHECK:STDOUT: %Base.H.type: type = fn_type @Base.H [concrete] // CHECK:STDOUT: %Base.H: %Base.H.type = struct_value () [concrete] // CHECK:STDOUT: %Derived.vtable_decl: ref %ptr.454 = vtable_decl @Derived.vtable [concrete] -// CHECK:STDOUT: %struct_type.base.89b: type = struct_type {.base: %Base} [concrete] -// CHECK:STDOUT: %complete_type.1f2: = complete_type_witness %struct_type.base.89b [concrete] +// CHECK:STDOUT: %struct_type.base.d30: type = struct_type {.base: %Base} [concrete] +// CHECK:STDOUT: %complete_type.2fd: = complete_type_witness %struct_type.base.d30 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.base.f5e: type = struct_type {.base: %empty_struct_type} [concrete] // CHECK:STDOUT: %struct.6b1: %struct_type.base.f5e = struct_value (%empty_struct) [concrete] -// CHECK:STDOUT: %.290: type = partial_type %Base [concrete] +// CHECK:STDOUT: %.f73: type = partial_type %Base [concrete] // CHECK:STDOUT: %uninit: %ptr.454 = uninitialized_value [concrete] -// CHECK:STDOUT: %struct.ac5: %.290 = struct_value (%uninit) [concrete] +// CHECK:STDOUT: %struct.0d2: %.f73 = struct_value (%uninit) [concrete] // CHECK:STDOUT: %Base.val: %Base = struct_value (%uninit) [concrete] // CHECK:STDOUT: %Derived.val: %Derived = struct_value (%Base.val) [concrete] // CHECK:STDOUT: %Derived.vtable_ptr: ref %ptr.454 = vtable_ptr @Derived.vtable [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc15_3.5 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc15_3.5 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -687,15 +687,15 @@ class T2(G2:! type) { // CHECK:STDOUT: %Base.ref: type = name_ref Base, imports.%Modifiers.Base [concrete = constants.%Base] // CHECK:STDOUT: %.loc8: %Derived.elem = base_decl %Base.ref, element0 [concrete] // CHECK:STDOUT: %Derived.H.decl: %Derived.H.type = fn_decl @Derived.H [concrete = constants.%Derived.H] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.104 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.104 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.cd3 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Derived [concrete = constants.%Derived] // CHECK:STDOUT: %self: %Derived = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %vtable_decl: ref %ptr.454 = vtable_decl @Derived.vtable [concrete = constants.%Derived.vtable_decl] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.89b [concrete = constants.%complete_type.1f2] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d30 [concrete = constants.%complete_type.2fd] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: vtable_decl = %vtable_decl // CHECK:STDOUT: @@ -720,18 +720,18 @@ class T2(G2:! type) { // CHECK:STDOUT: fn @Use() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.104 = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.104 = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.cd3 = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.cd3 = var_pattern %d.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.var: ref %Derived = var %d.var_patt // CHECK:STDOUT: %.loc15_37.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc15_38.1: %struct_type.base.f5e = struct_literal (%.loc15_37.1) [concrete = constants.%struct.6b1] -// CHECK:STDOUT: %.loc15_38.2: ref %.290 = class_element_access %d.var, element0 +// CHECK:STDOUT: %.loc15_38.2: ref %.f73 = class_element_access %d.var, element0 // CHECK:STDOUT: %.loc15_37.2: ref %ptr.454 = class_element_access %.loc15_38.2, element0 // CHECK:STDOUT: %uninit: %ptr.454 = uninitialized_value [concrete = constants.%uninit] // CHECK:STDOUT: %.loc15_37.3: init %ptr.454 to %.loc15_37.2 = in_place_init %uninit [concrete = constants.%uninit] -// CHECK:STDOUT: %.loc15_37.4: init %.290 to %.loc15_38.2 = class_init (%.loc15_37.3) [concrete = constants.%struct.ac5] -// CHECK:STDOUT: %.loc15_38.3: init %.290 = converted %.loc15_37.1, %.loc15_37.4 [concrete = constants.%struct.ac5] +// CHECK:STDOUT: %.loc15_37.4: init %.f73 to %.loc15_38.2 = class_init (%.loc15_37.3) [concrete = constants.%struct.0d2] +// CHECK:STDOUT: %.loc15_38.3: init %.f73 = converted %.loc15_37.1, %.loc15_37.4 [concrete = constants.%struct.0d2] // CHECK:STDOUT: %.loc15_38.4: init %Base = as_compatible %.loc15_38.3 [concrete = constants.%Base.val] // CHECK:STDOUT: %.loc15_38.5: init %Derived to %d.var = class_init (%.loc15_38.4) [concrete = constants.%Derived.val] // CHECK:STDOUT: %Derived.vtable_ptr: ref %ptr.454 = vtable_ptr @Derived.vtable [concrete = constants.%Derived.vtable_ptr] @@ -743,7 +743,7 @@ class T2(G2:! type) { // CHECK:STDOUT: assign %d.var, %.loc15_3 // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] // CHECK:STDOUT: %d: ref %Derived = ref_binding d, %d.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %d.var, constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%d.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -760,7 +760,7 @@ class T2(G2:! type) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc15_3.4(%self.param: ref %struct_type.base.89b) { +// CHECK:STDOUT: fn @Destroy.Op.loc15_3.4(%self.param: ref %struct_type.base.d30) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -777,15 +777,15 @@ class T2(G2:! type) { // CHECK:STDOUT: %Base: type = class_type @Base [concrete] // CHECK:STDOUT: %ptr.454: type = ptr_type [concrete] // CHECK:STDOUT: %struct_type.vptr: type = struct_type {.: %ptr.454} [concrete] -// CHECK:STDOUT: %pattern_type.615: type = pattern_type %Base [concrete] +// CHECK:STDOUT: %pattern_type.e8a: type = pattern_type %Base [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %Base.H.type: type = fn_type @Base.H [concrete] // CHECK:STDOUT: %Base.H: %Base.H.type = struct_value () [concrete] // CHECK:STDOUT: %Base.vtable_ptr: ref %ptr.454 = vtable_ptr @Base.vtable [concrete] // CHECK:STDOUT: %Base.val: %Base = struct_value (%Base.vtable_ptr) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc8_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc8_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -803,8 +803,8 @@ class T2(G2:! type) { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.615 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.615 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.e8a = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.e8a = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %Base = var %v.var_patt // CHECK:STDOUT: %.loc8_35.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -819,7 +819,7 @@ class T2(G2:! type) { // CHECK:STDOUT: %Base.ref: type = name_ref Base, imports.%Modifiers.Base [concrete = constants.%Base] // CHECK:STDOUT: } // CHECK:STDOUT: %v: ref %Base = ref_binding v, %v.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -845,52 +845,52 @@ class T2(G2:! type) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.e5e: type = pattern_type %Base [concrete] +// CHECK:STDOUT: %pattern_type.116: type = pattern_type %Base [concrete] // CHECK:STDOUT: %ptr.454: type = ptr_type [concrete] // CHECK:STDOUT: %struct_type.vptr.m1.m2: type = struct_type {.: %ptr.454, .m1: %i32, .m2: %i32} [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %struct_type.m2.m1.625: type = struct_type {.m2: %i32, .m1: %i32} [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %struct_type.m2.m1.7bd: type = struct_type {.m2: %i32, .m1: %i32} [concrete] // CHECK:STDOUT: %Base.vtable_ptr: ref %ptr.454 = vtable_ptr @Base.vtable [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %int_5.64b: Core.IntLiteral = int_value 5 [concrete] // CHECK:STDOUT: %struct_type.m2.m1.5f2: type = struct_type {.m2: Core.IntLiteral, .m1: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.m2.m1.5f2 = struct_value (%int_3.1ba, %int_5.64b) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.10b: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] -// CHECK:STDOUT: %Base.val: %Base = struct_value (%Base.vtable_ptr, %int_5.c41, %int_3.49a) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc15_3.5 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e3e: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %Base.val: %Base = struct_value (%Base.vtable_ptr, %int_5.354, %int_3.6cc) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc15_3.5 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: vtable @Base.vtable { @@ -901,18 +901,18 @@ class T2(G2:! type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b1.patt: %pattern_type.e5e = ref_binding_pattern b1 [concrete] -// CHECK:STDOUT: %b1.var_patt: %pattern_type.e5e = var_pattern %b1.patt [concrete] +// CHECK:STDOUT: %b1.patt: %pattern_type.116 = ref_binding_pattern b1 [concrete] +// CHECK:STDOUT: %b1.var_patt: %pattern_type.116 = var_pattern %b1.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b1.var: ref %Base = var %b1.var_patt // CHECK:STDOUT: %i.ref.loc14_25: ref %i32 = name_ref i, %i // CHECK:STDOUT: %i.ref.loc14_34: ref %i32 = name_ref i, %i -// CHECK:STDOUT: %.loc14_35.1: %struct_type.m2.m1.625 = struct_literal (%i.ref.loc14_25, %i.ref.loc14_34) +// CHECK:STDOUT: %.loc14_35.1: %struct_type.m2.m1.7bd = struct_literal (%i.ref.loc14_25, %i.ref.loc14_34) // CHECK:STDOUT: %.loc14_35.2: ref %ptr.454 = class_element_access %b1.var, element0 // CHECK:STDOUT: %Base.vtable_ptr.loc14: ref %ptr.454 = vtable_ptr @Base.vtable [concrete = constants.%Base.vtable_ptr] // CHECK:STDOUT: %.loc14_35.3: init %ptr.454 to %.loc14_35.2 = in_place_init %Base.vtable_ptr.loc14 [concrete = constants.%Base.vtable_ptr] // CHECK:STDOUT: %.loc14_34: %i32 = acquire_value %i.ref.loc14_34 -// CHECK:STDOUT: %impl.elem0.loc14_34: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc14_34: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc14_34.1: = bound_method %.loc14_34, %impl.elem0.loc14_34 // CHECK:STDOUT: %specific_fn.loc14_34: = specific_function %impl.elem0.loc14_34, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_34.2: = bound_method %.loc14_34, %specific_fn.loc14_34 @@ -920,7 +920,7 @@ class T2(G2:! type) { // CHECK:STDOUT: %.loc14_35.4: ref %i32 = class_element_access %b1.var, element2 // CHECK:STDOUT: %.loc14_35.5: init %i32 to %.loc14_35.4 = in_place_init %Int.as.Copy.impl.Op.call.loc14_34 // CHECK:STDOUT: %.loc14_25: %i32 = acquire_value %i.ref.loc14_25 -// CHECK:STDOUT: %impl.elem0.loc14_25: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc14_25: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc14_25.1: = bound_method %.loc14_25, %impl.elem0.loc14_25 // CHECK:STDOUT: %specific_fn.loc14_25: = specific_function %impl.elem0.loc14_25, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_25.2: = bound_method %.loc14_25, %specific_fn.loc14_25 @@ -933,8 +933,8 @@ class T2(G2:! type) { // CHECK:STDOUT: %Base.ref.loc14: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %b1: ref %Base = ref_binding b1, %b1.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b2.patt: %pattern_type.e5e = ref_binding_pattern b2 [concrete] -// CHECK:STDOUT: %b2.var_patt: %pattern_type.e5e = var_pattern %b2.patt [concrete] +// CHECK:STDOUT: %b2.patt: %pattern_type.116 = ref_binding_pattern b2 [concrete] +// CHECK:STDOUT: %b2.var_patt: %pattern_type.116 = var_pattern %b2.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b2.var: ref %Base = var %b2.var_patt // CHECK:STDOUT: %int_3.loc15: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] @@ -943,31 +943,31 @@ class T2(G2:! type) { // CHECK:STDOUT: %.loc15_42.2: ref %ptr.454 = class_element_access %b2.var, element0 // CHECK:STDOUT: %Base.vtable_ptr.loc15: ref %ptr.454 = vtable_ptr @Base.vtable [concrete = constants.%Base.vtable_ptr] // CHECK:STDOUT: %.loc15_42.3: init %ptr.454 to %.loc15_42.2 = in_place_init %Base.vtable_ptr.loc15 [concrete = constants.%Base.vtable_ptr] -// CHECK:STDOUT: %impl.elem0.loc15_42.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_42.1: = bound_method %int_5, %impl.elem0.loc15_42.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52] +// CHECK:STDOUT: %impl.elem0.loc15_42.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_42.1: = bound_method %int_5, %impl.elem0.loc15_42.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c] // CHECK:STDOUT: %specific_fn.loc15_42.1: = specific_function %impl.elem0.loc15_42.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_42.2: = bound_method %int_5, %specific_fn.loc15_42.1 [concrete = constants.%bound_method.10b] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_42.1: init %i32 = call %bound_method.loc15_42.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc15_42.4: init %i32 = converted %int_5, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_42.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %bound_method.loc15_42.2: = bound_method %int_5, %specific_fn.loc15_42.1 [concrete = constants.%bound_method.e3e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_42.1: init %i32 = call %bound_method.loc15_42.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc15_42.4: init %i32 = converted %int_5, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_42.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %.loc15_42.5: ref %i32 = class_element_access %b2.var, element2 -// CHECK:STDOUT: %.loc15_42.6: init %i32 to %.loc15_42.5 = in_place_init %.loc15_42.4 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %impl.elem0.loc15_42.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_42.3: = bound_method %int_3.loc15, %impl.elem0.loc15_42.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %.loc15_42.6: init %i32 to %.loc15_42.5 = in_place_init %.loc15_42.4 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %impl.elem0.loc15_42.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_42.3: = bound_method %int_3.loc15, %impl.elem0.loc15_42.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc15_42.2: = specific_function %impl.elem0.loc15_42.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_42.4: = bound_method %int_3.loc15, %specific_fn.loc15_42.2 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_42.2: init %i32 = call %bound_method.loc15_42.4(%int_3.loc15) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc15_42.7: init %i32 = converted %int_3.loc15, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_42.2 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc15_42.4: = bound_method %int_3.loc15, %specific_fn.loc15_42.2 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_42.2: init %i32 = call %bound_method.loc15_42.4(%int_3.loc15) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc15_42.7: init %i32 = converted %int_3.loc15, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_42.2 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc15_42.8: ref %i32 = class_element_access %b2.var, element1 -// CHECK:STDOUT: %.loc15_42.9: init %i32 to %.loc15_42.8 = in_place_init %.loc15_42.7 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %.loc15_42.9: init %i32 to %.loc15_42.8 = in_place_init %.loc15_42.7 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc15_42.10: init %Base to %b2.var = class_init (%.loc15_42.3, %.loc15_42.6, %.loc15_42.9) [concrete = constants.%Base.val] // CHECK:STDOUT: %.loc15_3: init %Base = converted %.loc15_42.1, %.loc15_42.10 [concrete = constants.%Base.val] // CHECK:STDOUT: assign %b2.var, %.loc15_3 // CHECK:STDOUT: %Base.ref.loc15: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %b2: ref %Base = ref_binding b2, %b2.var // CHECK:STDOUT: -// CHECK:STDOUT: %Destroy.Op.bound.loc15: = bound_method %b2.var, constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %Destroy.Op.bound.loc15: = bound_method %b2.var, constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: %Destroy.Op.call.loc15: init %empty_tuple.type = call %Destroy.Op.bound.loc15(%b2.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc14: = bound_method %b1.var, constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %Destroy.Op.bound.loc14: = bound_method %b1.var, constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: %Destroy.Op.call.loc14: init %empty_tuple.type = call %Destroy.Op.bound.loc14(%b1.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -997,7 +997,7 @@ class T2(G2:! type) { // CHECK:STDOUT: %AbstractBase.F.type: type = fn_type @AbstractBase.F [concrete] // CHECK:STDOUT: %AbstractBase.F: %AbstractBase.F.type = struct_value () [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] -// CHECK:STDOUT: %pattern_type.bc1: type = pattern_type %Derived [concrete] +// CHECK:STDOUT: %pattern_type.cd3: type = pattern_type %Derived [concrete] // CHECK:STDOUT: %Derived.F.type: type = fn_type @Derived.F [concrete] // CHECK:STDOUT: %Derived.F: %Derived.F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -1005,8 +1005,8 @@ class T2(G2:! type) { // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: // CHECK:STDOUT: %Derived.F.decl: %Derived.F.type = fn_decl @Derived.F [concrete = constants.%Derived.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.bc1 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.bc1 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.cd3 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Derived [concrete = constants.%Derived] @@ -1044,7 +1044,7 @@ class T2(G2:! type) { // CHECK:STDOUT: %VirtualBase.F.type: type = fn_type @VirtualBase.F [concrete] // CHECK:STDOUT: %VirtualBase.F: %VirtualBase.F.type = struct_value () [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] -// CHECK:STDOUT: %pattern_type.87e: type = pattern_type %Derived [concrete] +// CHECK:STDOUT: %pattern_type.cd3: type = pattern_type %Derived [concrete] // CHECK:STDOUT: %Derived.F.type: type = fn_type @Derived.F [concrete] // CHECK:STDOUT: %Derived.F: %Derived.F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -1052,8 +1052,8 @@ class T2(G2:! type) { // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: // CHECK:STDOUT: %Derived.F.decl: %Derived.F.type = fn_decl @Derived.F [concrete = constants.%Derived.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.87e = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.87e = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.cd3 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.cd3 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %Derived = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Derived [concrete = constants.%Derived] @@ -1092,30 +1092,30 @@ class T2(G2:! type) { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %T2: type = class_type @T2 [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.a3a: type = facet_type <@ImplicitAs, @ImplicitAs(%T1)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ae8: type = facet_type <@ImplicitAs, @ImplicitAs(%T1)> [concrete] // CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness @T2.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] // CHECK:STDOUT: %T2.as.ImplicitAs.impl.Convert.type: type = fn_type @T2.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %T2.as.ImplicitAs.impl.Convert: %T2.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.a3a = facet_value %T2, (%ImplicitAs.impl_witness) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.e9b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%T1, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.ae8 = facet_value %T2, (%ImplicitAs.impl_witness) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b7d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%T1, %ImplicitAs.facet) [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] -// CHECK:STDOUT: %.6b5: Core.Form = init_form %T2 [concrete] -// CHECK:STDOUT: %Derived.F.type.8c13ec.1: type = fn_type @Derived.F.loc27 [concrete] -// CHECK:STDOUT: %Derived.F.807341.1: %Derived.F.type.8c13ec.1 = struct_value () [concrete] -// CHECK:STDOUT: %Derived.F.type.8c13ec.2: type = fn_type @Derived.F.loc23 [concrete] -// CHECK:STDOUT: %Derived.F.807341.2: %Derived.F.type.8c13ec.2 = struct_value () [concrete] -// CHECK:STDOUT: %.409: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.e9b, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc23_36.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %.932: Core.Form = init_form %T2 [concrete] +// CHECK:STDOUT: %Derived.F.type.9e994f.1: type = fn_type @Derived.F.loc27 [concrete] +// CHECK:STDOUT: %Derived.F.c7843c.1: %Derived.F.type.9e994f.1 = struct_value () [concrete] +// CHECK:STDOUT: %Derived.F.type.9e994f.2: type = fn_type @Derived.F.loc23 [concrete] +// CHECK:STDOUT: %Derived.F.c7843c.2: %Derived.F.type.9e994f.2 = struct_value () [concrete] +// CHECK:STDOUT: %.55a: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b7d, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc23_36.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Derived { // CHECK:STDOUT: -// CHECK:STDOUT: %Derived.F.decl.loc23_36.1: %Derived.F.type.8c13ec.1 = fn_decl @Derived.F.loc27 [concrete = constants.%Derived.F.807341.1] { +// CHECK:STDOUT: %Derived.F.decl.loc23_36.1: %Derived.F.type.9e994f.1 = fn_decl @Derived.F.loc27 [concrete = constants.%Derived.F.c7843c.1] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: %T2.ref.loc23: type = name_ref T2, file.%T2.decl [concrete = constants.%T2] -// CHECK:STDOUT: %.loc23: Core.Form = init_form %T2.ref.loc23 [concrete = constants.%.6b5] +// CHECK:STDOUT: %.loc23: Core.Form = init_form %T2.ref.loc23 [concrete = constants.%.932] // CHECK:STDOUT: %self.param.loc23: %Derived = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc23: type = name_ref Self, constants.%Derived [concrete = constants.%Derived] // CHECK:STDOUT: %self.loc23: %Derived = value_binding self, %self.param.loc23 @@ -1123,7 +1123,7 @@ class T2(G2:! type) { // CHECK:STDOUT: %return.loc23: ref %T2 = return_slot %return.param.loc23 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: %Derived.F.decl.loc23_36.2: %Derived.F.type.8c13ec.2 = fn_decl @Derived.F.loc23 [concrete = constants.%Derived.F.807341.2] { +// CHECK:STDOUT: %Derived.F.decl.loc23_36.2: %Derived.F.type.9e994f.2 = fn_decl @Derived.F.loc23 [concrete = constants.%Derived.F.c7843c.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: @@ -1151,18 +1151,18 @@ class T2(G2:! type) { // CHECK:STDOUT: // CHECK:STDOUT: override fn @Derived.F.loc23(%self.param: %Derived) -> out %return.param: %T1 [thunk @Derived.%Derived.F.decl.loc23_36.1 for @Base.%Base.F.decl] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %Derived.F.type.8c13ec.1 = name_ref F, @Derived.%Derived.F.decl.loc23_36.1 [concrete = constants.%Derived.F.807341.1] +// CHECK:STDOUT: %F.ref: %Derived.F.type.9e994f.1 = name_ref F, @Derived.%Derived.F.decl.loc23_36.1 [concrete = constants.%Derived.F.c7843c.1] // CHECK:STDOUT: %Derived.F.bound: = bound_method %self.param, %F.ref // CHECK:STDOUT: %.loc23_36.1: ref %T2 = temporary_storage // CHECK:STDOUT: %Derived.F.call: init %T2 to %.loc23_36.1 = call %Derived.F.bound(%self.param) -// CHECK:STDOUT: %impl.elem0: %.409 = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%T2.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0: %.55a = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%T2.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method: = bound_method %Derived.F.call, %impl.elem0 // CHECK:STDOUT: // CHECK:STDOUT: %.loc23_36.2: ref %T2 = temporary %.loc23_36.1, %Derived.F.call // CHECK:STDOUT: %.loc23_36.3: %T2 = acquire_value %.loc23_36.2 // CHECK:STDOUT: %T2.as.ImplicitAs.impl.Convert.call: init %T1 to %.loc17 = call %bound_method(%.loc23_36.3) // CHECK:STDOUT: %.loc23_36.4: init %T1 = converted %Derived.F.call, %T2.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc23_36.2, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc23_36.2, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc23_36.2) // CHECK:STDOUT: return %.loc23_36.4 to %return.param // CHECK:STDOUT: } @@ -1179,7 +1179,7 @@ class T2(G2:! type) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T1: type = class_type @T1, @T1(%T) [symbolic] -// CHECK:STDOUT: %pattern_type.462: type = pattern_type %T1 [symbolic] +// CHECK:STDOUT: %pattern_type.9b9: type = pattern_type %T1 [symbolic] // CHECK:STDOUT: %T1.F.type: type = fn_type @T1.F, @T1(%T) [symbolic] // CHECK:STDOUT: %T1.F: %T1.F.type = struct_value () [symbolic] // CHECK:STDOUT: %T1.F.specific_fn: = specific_function %T1.F, @T1.F(%T) [symbolic] @@ -1196,8 +1196,8 @@ class T2(G2:! type) { // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: %T1.F.decl: @T1.%T1.F.type (%T1.F.type) = fn_decl @T1.F [symbolic = @T1.%T1.F (constants.%T1.F)] { -// CHECK:STDOUT: %self.param_patt: @T1.F.%pattern_type (%pattern_type.462) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @T1.F.%pattern_type (%pattern_type.462) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @T1.F.%pattern_type (%pattern_type.9b9) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @T1.F.%pattern_type (%pattern_type.9b9) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @T1.F.%T1 (%T1) = value_param call_param0 // CHECK:STDOUT: %.loc6_29.1: type = splice_block %Self.ref [symbolic = %T1 (constants.%T1)] { @@ -1223,7 +1223,7 @@ class T2(G2:! type) { // CHECK:STDOUT: generic virtual fn @T1.F(@T1.%T.loc4_16.2: type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %T1: type = class_type @T1, @T1(%T) [symbolic = %T1 (constants.%T1)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T1 [symbolic = %pattern_type (constants.%pattern_type.462)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T1 [symbolic = %pattern_type (constants.%pattern_type.9b9)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T1 [symbolic = %require_complete (constants.%require_complete)] @@ -1246,7 +1246,7 @@ class T2(G2:! type) { // CHECK:STDOUT: specific @T1.F(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %T1 => constants.%T1 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.462 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9b9 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete @@ -1257,12 +1257,12 @@ class T2(G2:! type) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T1: type = class_type @T1, @T1(%T) [symbolic] -// CHECK:STDOUT: %pattern_type.958: type = pattern_type %T1 [symbolic] +// CHECK:STDOUT: %pattern_type.9b9: type = pattern_type %T1 [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] // CHECK:STDOUT: %T1.F.type: type = fn_type @T1.F, @T1(%T) [symbolic] // CHECK:STDOUT: %T1.F: %T1.F.type = struct_value () [symbolic] // CHECK:STDOUT: %T1.F.specific_fn: = specific_function %T1.F, @T1.F(%T) [symbolic] -// CHECK:STDOUT: %require_complete.6f6: = require_complete_type %T1 [symbolic] +// CHECK:STDOUT: %require_complete.29c: = require_complete_type %T1 [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1276,8 +1276,8 @@ class T2(G2:! type) { // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: %T1.F.decl: @T1.%T1.F.type (%T1.F.type) = fn_decl @T1.F [symbolic = @T1.%T1.F (constants.%T1.F)] { -// CHECK:STDOUT: %self.param_patt: @T1.F.%pattern_type.loc6_27 (%pattern_type.958) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @T1.F.%pattern_type.loc6_27 (%pattern_type.958) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @T1.F.%pattern_type.loc6_27 (%pattern_type.9b9) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @T1.F.%pattern_type.loc6_27 (%pattern_type.9b9) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %t.param_patt: @T1.F.%pattern_type.loc6_43 (%pattern_type.51d) = value_param_pattern [concrete] // CHECK:STDOUT: %t.patt: @T1.F.%pattern_type.loc6_43 (%pattern_type.51d) = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { @@ -1309,11 +1309,11 @@ class T2(G2:! type) { // CHECK:STDOUT: generic virtual fn @T1.F(@T1.%T.loc4_16.2: type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %T1: type = class_type @T1, @T1(%T) [symbolic = %T1 (constants.%T1)] -// CHECK:STDOUT: %pattern_type.loc6_27: type = pattern_type %T1 [symbolic = %pattern_type.loc6_27 (constants.%pattern_type.958)] +// CHECK:STDOUT: %pattern_type.loc6_27: type = pattern_type %T1 [symbolic = %pattern_type.loc6_27 (constants.%pattern_type.9b9)] // CHECK:STDOUT: %pattern_type.loc6_43: type = pattern_type %T [symbolic = %pattern_type.loc6_43 (constants.%pattern_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc6_27: = require_complete_type %T1 [symbolic = %require_complete.loc6_27 (constants.%require_complete.6f6)] +// CHECK:STDOUT: %require_complete.loc6_27: = require_complete_type %T1 [symbolic = %require_complete.loc6_27 (constants.%require_complete.29c)] // CHECK:STDOUT: %require_complete.loc6_43: = require_complete_type %T [symbolic = %require_complete.loc6_43 (constants.%require_complete.944)] // CHECK:STDOUT: // CHECK:STDOUT: virtual fn(%self.param: @T1.F.%T1 (%T1), %t.param: @T1.F.%T (%T)) { @@ -1334,11 +1334,11 @@ class T2(G2:! type) { // CHECK:STDOUT: specific @T1.F(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %T1 => constants.%T1 -// CHECK:STDOUT: %pattern_type.loc6_27 => constants.%pattern_type.958 +// CHECK:STDOUT: %pattern_type.loc6_27 => constants.%pattern_type.9b9 // CHECK:STDOUT: %pattern_type.loc6_43 => constants.%pattern_type.51d // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc6_27 => constants.%require_complete.6f6 +// CHECK:STDOUT: %require_complete.loc6_27 => constants.%require_complete.29c // CHECK:STDOUT: %require_complete.loc6_43 => constants.%require_complete.944 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1349,10 +1349,10 @@ class T2(G2:! type) { // CHECK:STDOUT: %Base.generic: %Base.type = struct_value () [concrete] // CHECK:STDOUT: %T1: type = class_type @T1 [concrete] // CHECK:STDOUT: %D1: type = class_type @D1 [concrete] -// CHECK:STDOUT: %Base.8a5: type = class_type @Base, @Base(%T1) [concrete] -// CHECK:STDOUT: %ptr.ecc: type = ptr_type %Base.8a5 [concrete] -// CHECK:STDOUT: %pattern_type.3f6: type = pattern_type %ptr.ecc [concrete] -// CHECK:STDOUT: %pattern_type.63f: type = pattern_type %D1 [concrete] +// CHECK:STDOUT: %Base.991: type = class_type @Base, @Base(%T1) [concrete] +// CHECK:STDOUT: %ptr.bf9: type = ptr_type %Base.991 [concrete] +// CHECK:STDOUT: %pattern_type.fbe: type = pattern_type %ptr.bf9 [concrete] +// CHECK:STDOUT: %pattern_type.03e: type = pattern_type %D1 [concrete] // CHECK:STDOUT: %D1.F.type: type = fn_type @D1.F [concrete] // CHECK:STDOUT: %D1.F: %D1.F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -1360,22 +1360,22 @@ class T2(G2:! type) { // CHECK:STDOUT: class @D1 { // CHECK:STDOUT: // CHECK:STDOUT: %D1.F.decl: %D1.F.type = fn_decl @D1.F [concrete = constants.%D1.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.63f = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.63f = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %t.param_patt: %pattern_type.3f6 = value_param_pattern [concrete] -// CHECK:STDOUT: %t.patt: %pattern_type.3f6 = at_binding_pattern t, %t.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.03e = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.03e = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %t.param_patt: %pattern_type.fbe = value_param_pattern [concrete] +// CHECK:STDOUT: %t.patt: %pattern_type.fbe = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %D1 = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%D1 [concrete = constants.%D1] // CHECK:STDOUT: %self: %D1 = value_binding self, %self.param -// CHECK:STDOUT: %t.param: %ptr.ecc = value_param call_param1 -// CHECK:STDOUT: %.loc11: type = splice_block %ptr [concrete = constants.%ptr.ecc] { +// CHECK:STDOUT: %t.param: %ptr.bf9 = value_param call_param1 +// CHECK:STDOUT: %.loc11: type = splice_block %ptr [concrete = constants.%ptr.bf9] { // CHECK:STDOUT: %Base.ref: %Base.type = name_ref Base, file.%Base.decl [concrete = constants.%Base.generic] // CHECK:STDOUT: %T1.ref: type = name_ref T1, file.%T1.decl [concrete = constants.%T1] -// CHECK:STDOUT: %Base: type = class_type @Base, @Base(constants.%T1) [concrete = constants.%Base.8a5] -// CHECK:STDOUT: %ptr: type = ptr_type %Base [concrete = constants.%ptr.ecc] +// CHECK:STDOUT: %Base: type = class_type @Base, @Base(constants.%T1) [concrete = constants.%Base.991] +// CHECK:STDOUT: %ptr: type = ptr_type %Base [concrete = constants.%ptr.bf9] // CHECK:STDOUT: } -// CHECK:STDOUT: %t: %ptr.ecc = value_binding t, %t.param +// CHECK:STDOUT: %t: %ptr.bf9 = value_binding t, %t.param // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: complete_type_witness = %complete_type @@ -1398,7 +1398,7 @@ class T2(G2:! type) { // CHECK:STDOUT: @D1.%D1.F.decl // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: override fn @D1.F(%self.param: %D1, %t.param: %ptr.ecc) { +// CHECK:STDOUT: override fn @D1.F(%self.param: %D1, %t.param: %ptr.bf9) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1409,17 +1409,17 @@ class T2(G2:! type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Derived: type = class_type @Derived, @Derived(%T) [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T [symbolic] -// CHECK:STDOUT: %Base.fe8: type = class_type @Base, @Base(%ptr.e8f) [symbolic] +// CHECK:STDOUT: %Base.64d: type = class_type @Base, @Base(%ptr.e8f) [symbolic] // CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %ptr.e8f [symbolic] -// CHECK:STDOUT: %require_complete.58e: = require_complete_type %Base.fe8 [symbolic] -// CHECK:STDOUT: %Derived.elem: type = unbound_element_type %Derived, %Base.fe8 [symbolic] -// CHECK:STDOUT: %pattern_type.432: type = pattern_type %Derived [symbolic] +// CHECK:STDOUT: %require_complete.ffb: = require_complete_type %Base.64d [symbolic] +// CHECK:STDOUT: %Derived.elem: type = unbound_element_type %Derived, %Base.64d [symbolic] +// CHECK:STDOUT: %pattern_type.531: type = pattern_type %Derived [symbolic] // CHECK:STDOUT: %Derived.F.type: type = fn_type @Derived.F, @Derived(%T) [symbolic] // CHECK:STDOUT: %Derived.F: %Derived.F.type = struct_value () [symbolic] // CHECK:STDOUT: %Derived.F.specific_fn: = specific_function %Derived.F, @Derived.F(%T) [symbolic] -// CHECK:STDOUT: %struct_type.base.eb0: type = struct_type {.base: %Base.fe8} [symbolic] -// CHECK:STDOUT: %complete_type.a7e: = complete_type_witness %struct_type.base.eb0 [symbolic] -// CHECK:STDOUT: %require_complete.8ee: = require_complete_type %Derived [symbolic] +// CHECK:STDOUT: %struct_type.base.e27: type = struct_type {.base: %Base.64d} [symbolic] +// CHECK:STDOUT: %complete_type.3c9: = complete_type_witness %struct_type.base.e27 [symbolic] +// CHECK:STDOUT: %require_complete.18b: = require_complete_type %Derived [symbolic] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1435,8 +1435,8 @@ class T2(G2:! type) { // CHECK:STDOUT: class { // CHECK:STDOUT: // CHECK:STDOUT: %Derived.F.decl: @Derived.%Derived.F.type (%Derived.F.type) = fn_decl @Derived.F [symbolic = @Derived.%Derived.F (constants.%Derived.F)] { -// CHECK:STDOUT: %self.param_patt: @Derived.F.%pattern_type.loc10_28 (%pattern_type.432) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Derived.F.%pattern_type.loc10_28 (%pattern_type.432) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @Derived.F.%pattern_type.loc10_28 (%pattern_type.531) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Derived.F.%pattern_type.loc10_28 (%pattern_type.531) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %t.param_patt: @Derived.F.%pattern_type.loc10_44 (%pattern_type.4f4) = value_param_pattern [concrete] // CHECK:STDOUT: %t.patt: @Derived.F.%pattern_type.loc10_44 (%pattern_type.4f4) = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { @@ -1478,12 +1478,12 @@ class T2(G2:! type) { // CHECK:STDOUT: generic override fn @Derived.F(@Derived.%T.loc7_16.2: type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %Derived: type = class_type @Derived, @Derived(%T) [symbolic = %Derived (constants.%Derived)] -// CHECK:STDOUT: %pattern_type.loc10_28: type = pattern_type %Derived [symbolic = %pattern_type.loc10_28 (constants.%pattern_type.432)] +// CHECK:STDOUT: %pattern_type.loc10_28: type = pattern_type %Derived [symbolic = %pattern_type.loc10_28 (constants.%pattern_type.531)] // CHECK:STDOUT: %ptr.loc10_47.1: type = ptr_type %T [symbolic = %ptr.loc10_47.1 (constants.%ptr.e8f)] // CHECK:STDOUT: %pattern_type.loc10_44: type = pattern_type %ptr.loc10_47.1 [symbolic = %pattern_type.loc10_44 (constants.%pattern_type.4f4)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc10_28: = require_complete_type %Derived [symbolic = %require_complete.loc10_28 (constants.%require_complete.8ee)] +// CHECK:STDOUT: %require_complete.loc10_28: = require_complete_type %Derived [symbolic = %require_complete.loc10_28 (constants.%require_complete.18b)] // CHECK:STDOUT: %require_complete.loc10_44: = require_complete_type %ptr.loc10_47.1 [symbolic = %require_complete.loc10_44 (constants.%require_complete.ef1)] // CHECK:STDOUT: // CHECK:STDOUT: override fn(%self.param: @Derived.F.%Derived (%Derived), %t.param: @Derived.F.%ptr.loc10_47.1 (%ptr.e8f)) { @@ -1497,26 +1497,26 @@ class T2(G2:! type) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %ptr.loc8_22.2 => constants.%ptr.e8f -// CHECK:STDOUT: %Base.loc8_23.2 => constants.%Base.fe8 -// CHECK:STDOUT: %require_complete => constants.%require_complete.58e +// CHECK:STDOUT: %Base.loc8_23.2 => constants.%Base.64d +// CHECK:STDOUT: %require_complete => constants.%require_complete.ffb // CHECK:STDOUT: %Derived => constants.%Derived // CHECK:STDOUT: %Derived.elem => constants.%Derived.elem // CHECK:STDOUT: %Derived.F.type => constants.%Derived.F.type // CHECK:STDOUT: %Derived.F => constants.%Derived.F // CHECK:STDOUT: %Derived.F.specific_fn.loc12_1.2 => constants.%Derived.F.specific_fn -// CHECK:STDOUT: %struct_type.base => constants.%struct_type.base.eb0 -// CHECK:STDOUT: %complete_type.loc12_1.2 => constants.%complete_type.a7e +// CHECK:STDOUT: %struct_type.base => constants.%struct_type.base.e27 +// CHECK:STDOUT: %complete_type.loc12_1.2 => constants.%complete_type.3c9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Derived.F(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %Derived => constants.%Derived -// CHECK:STDOUT: %pattern_type.loc10_28 => constants.%pattern_type.432 +// CHECK:STDOUT: %pattern_type.loc10_28 => constants.%pattern_type.531 // CHECK:STDOUT: %ptr.loc10_47.1 => constants.%ptr.e8f // CHECK:STDOUT: %pattern_type.loc10_44 => constants.%pattern_type.4f4 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc10_28 => constants.%require_complete.8ee +// CHECK:STDOUT: %require_complete.loc10_28 => constants.%require_complete.18b // CHECK:STDOUT: %require_complete.loc10_44 => constants.%require_complete.ef1 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/nested.carbon b/toolchain/check/testdata/class/nested.carbon index 8b5f16480dce..77e1471f0d59 100644 --- a/toolchain/check/testdata/class/nested.carbon +++ b/toolchain/check/testdata/class/nested.carbon @@ -61,62 +61,62 @@ fn F(a: Outer*) { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Outer.F: %Outer.F.type = struct_value () [concrete] // CHECK:STDOUT: %Inner: type = class_type @Inner [concrete] -// CHECK:STDOUT: %ptr.61d: type = ptr_type %Inner [concrete] -// CHECK:STDOUT: %pattern_type.113: type = pattern_type %ptr.61d [concrete] -// CHECK:STDOUT: %Inner.elem.eca: type = unbound_element_type %Inner, %ptr.61d [concrete] -// CHECK:STDOUT: %ptr.54c: type = ptr_type %Outer [concrete] -// CHECK:STDOUT: %pattern_type.412: type = pattern_type %ptr.54c [concrete] -// CHECK:STDOUT: %Inner.elem.686: type = unbound_element_type %Inner, %ptr.54c [concrete] +// CHECK:STDOUT: %ptr.d15: type = ptr_type %Inner [concrete] +// CHECK:STDOUT: %pattern_type.6a6: type = pattern_type %ptr.d15 [concrete] +// CHECK:STDOUT: %Inner.elem.cdf: type = unbound_element_type %Inner, %ptr.d15 [concrete] +// CHECK:STDOUT: %ptr.f73: type = ptr_type %Outer [concrete] +// CHECK:STDOUT: %pattern_type.13e: type = pattern_type %ptr.f73 [concrete] +// CHECK:STDOUT: %Inner.elem.1cd: type = unbound_element_type %Inner, %ptr.f73 [concrete] // CHECK:STDOUT: %Inner.G.type: type = fn_type @Inner.G [concrete] // CHECK:STDOUT: %Inner.G: %Inner.G.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.pi.po.qi: type = struct_type {.pi: %ptr.61d, .po: %ptr.54c, .qi: %ptr.61d} [concrete] -// CHECK:STDOUT: %complete_type.672: = complete_type_witness %struct_type.pi.po.qi [concrete] +// CHECK:STDOUT: %struct_type.pi.po.qi: type = struct_type {.pi: %ptr.d15, .po: %ptr.f73, .qi: %ptr.d15} [concrete] +// CHECK:STDOUT: %complete_type.1ef: = complete_type_witness %struct_type.pi.po.qi [concrete] // CHECK:STDOUT: %Outer.H.type: type = fn_type @Outer.H [concrete] // CHECK:STDOUT: %Outer.H: %Outer.H.type = struct_value () [concrete] -// CHECK:STDOUT: %Outer.elem.350: type = unbound_element_type %Outer, %ptr.54c [concrete] -// CHECK:STDOUT: %Outer.elem.b3e: type = unbound_element_type %Outer, %ptr.61d [concrete] -// CHECK:STDOUT: %struct_type.po.qo.pi: type = struct_type {.po: %ptr.54c, .qo: %ptr.54c, .pi: %ptr.61d} [concrete] -// CHECK:STDOUT: %complete_type.0b5: = complete_type_witness %struct_type.po.qo.pi [concrete] -// CHECK:STDOUT: %pattern_type.9b6: type = pattern_type %Outer [concrete] +// CHECK:STDOUT: %Outer.elem.f95: type = unbound_element_type %Outer, %ptr.f73 [concrete] +// CHECK:STDOUT: %Outer.elem.596: type = unbound_element_type %Outer, %ptr.d15 [concrete] +// CHECK:STDOUT: %struct_type.po.qo.pi: type = struct_type {.po: %ptr.f73, .qo: %ptr.f73, .pi: %ptr.d15} [concrete] +// CHECK:STDOUT: %complete_type.711: = complete_type_witness %struct_type.po.qo.pi [concrete] +// CHECK:STDOUT: %pattern_type.87b: type = pattern_type %Outer [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.29a: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%Outer) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.c90: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Outer) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.e1d: %T.as.DefaultOrUnformed.impl.Op.type.c90 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.f79: %DefaultOrUnformed.type = facet_value %Outer, (%DefaultOrUnformed.impl_witness.29a) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.51f: = specific_function %T.as.DefaultOrUnformed.impl.Op.e1d, @T.as.DefaultOrUnformed.impl.Op(%Outer) [concrete] -// CHECK:STDOUT: %pattern_type.b10: type = pattern_type %Inner [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.50a: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%Inner) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.6c7: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Inner) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.780: %T.as.DefaultOrUnformed.impl.Op.type.6c7 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.0bb: %DefaultOrUnformed.type = facet_value %Inner, (%DefaultOrUnformed.impl_witness.50a) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.e40: = specific_function %T.as.DefaultOrUnformed.impl.Op.780, @T.as.DefaultOrUnformed.impl.Op(%Inner) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.0ed: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%Outer) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.3f2: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Outer) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.4d0: %T.as.DefaultOrUnformed.impl.Op.type.3f2 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.e0d: %DefaultOrUnformed.type = facet_value %Outer, (%DefaultOrUnformed.impl_witness.0ed) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.613: = specific_function %T.as.DefaultOrUnformed.impl.Op.4d0, @T.as.DefaultOrUnformed.impl.Op(%Outer) [concrete] +// CHECK:STDOUT: %pattern_type.515: type = pattern_type %Inner [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.123: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%Inner) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.f72: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Inner) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9df: %T.as.DefaultOrUnformed.impl.Op.type.f72 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.b54: %DefaultOrUnformed.type = facet_value %Inner, (%DefaultOrUnformed.impl_witness.123) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.127: = specific_function %T.as.DefaultOrUnformed.impl.Op.9df, @T.as.DefaultOrUnformed.impl.Op(%Inner) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc19_5.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc18_5.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc19_5.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc18_5.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.cc6: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%Outer) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.926: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Outer) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.d3e: %ptr.as.Copy.impl.Op.type.926 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.8b2: %Copy.type = facet_value %ptr.54c, (%Copy.impl_witness.cc6) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.dee: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.8b2) [concrete] -// CHECK:STDOUT: %.02e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.dee, %Copy.facet.8b2 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.8cb: = specific_function %ptr.as.Copy.impl.Op.d3e, @ptr.as.Copy.impl.Op(%Outer) [concrete] -// CHECK:STDOUT: %Copy.impl_witness.409: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%Inner) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.426: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Inner) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.f1d: %ptr.as.Copy.impl.Op.type.426 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.5f0: %Copy.type = facet_value %ptr.61d, (%Copy.impl_witness.409) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.9fc: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.5f0) [concrete] -// CHECK:STDOUT: %.c32: type = fn_type_with_self_type %Copy.WithSelf.Op.type.9fc, %Copy.facet.5f0 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.fa1: = specific_function %ptr.as.Copy.impl.Op.f1d, @ptr.as.Copy.impl.Op(%Inner) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.5e0: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%Outer) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.271: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Outer) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.53d: %ptr.as.Copy.impl.Op.type.271 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.3bf: %Copy.type = facet_value %ptr.f73, (%Copy.impl_witness.5e0) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.f79: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.3bf) [concrete] +// CHECK:STDOUT: %.29f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.f79, %Copy.facet.3bf [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.bc2: = specific_function %ptr.as.Copy.impl.Op.53d, @ptr.as.Copy.impl.Op(%Outer) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.c4b: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%Inner) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.3f6: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Inner) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.8c9: %ptr.as.Copy.impl.Op.type.3f6 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.d33: %Copy.type = facet_value %ptr.d15, (%Copy.impl_witness.c4b) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.448: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.d33) [concrete] +// CHECK:STDOUT: %.ea0: type = fn_type_with_self_type %Copy.WithSelf.Op.type.448, %Copy.facet.d33 [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.ffa: = specific_function %ptr.as.Copy.impl.Op.8c9, @ptr.as.Copy.impl.Op(%Inner) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -128,12 +128,12 @@ fn F(a: Outer*) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -145,15 +145,15 @@ fn F(a: Outer*) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Outer.decl: type = class_decl @Outer [concrete = constants.%Outer] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.412 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.412 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.13e = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.13e = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %a.param: %ptr.54c = value_param call_param0 -// CHECK:STDOUT: %.loc45: type = splice_block %ptr.loc45 [concrete = constants.%ptr.54c] { +// CHECK:STDOUT: %a.param: %ptr.f73 = value_param call_param0 +// CHECK:STDOUT: %.loc45: type = splice_block %ptr.loc45 [concrete = constants.%ptr.f73] { // CHECK:STDOUT: %Outer.ref.loc45: type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer] -// CHECK:STDOUT: %ptr.loc45: type = ptr_type %Outer.ref.loc45 [concrete = constants.%ptr.54c] +// CHECK:STDOUT: %ptr.loc45: type = ptr_type %Outer.ref.loc45 [concrete = constants.%ptr.f73] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.54c = value_binding a, %a.param +// CHECK:STDOUT: %a: %ptr.f73 = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -161,10 +161,10 @@ fn F(a: Outer*) { // CHECK:STDOUT: %Outer.F.decl: %Outer.F.type = fn_decl @Outer.F [concrete = constants.%Outer.F] {} {} // CHECK:STDOUT: %Inner.decl: type = class_decl @Inner [concrete = constants.%Inner] {} {} // CHECK:STDOUT: %Outer.H.decl: %Outer.H.type = fn_decl @Outer.H [concrete = constants.%Outer.H] {} {} -// CHECK:STDOUT: %.loc40: %Outer.elem.350 = field_decl po, element0 [concrete] -// CHECK:STDOUT: %.loc41: %Outer.elem.350 = field_decl qo, element1 [concrete] -// CHECK:STDOUT: %.loc42: %Outer.elem.b3e = field_decl pi, element2 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.po.qo.pi [concrete = constants.%complete_type.0b5] +// CHECK:STDOUT: %.loc40: %Outer.elem.f95 = field_decl po, element0 [concrete] +// CHECK:STDOUT: %.loc41: %Outer.elem.f95 = field_decl qo, element1 [concrete] +// CHECK:STDOUT: %.loc42: %Outer.elem.596 = field_decl pi, element2 [concrete] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.po.qo.pi [concrete = constants.%complete_type.711] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -179,11 +179,11 @@ fn F(a: Outer*) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Inner { -// CHECK:STDOUT: %.loc23: %Inner.elem.eca = field_decl pi, element0 [concrete] -// CHECK:STDOUT: %.loc24: %Inner.elem.686 = field_decl po, element1 [concrete] -// CHECK:STDOUT: %.loc25: %Inner.elem.eca = field_decl qi, element2 [concrete] +// CHECK:STDOUT: %.loc23: %Inner.elem.cdf = field_decl pi, element0 [concrete] +// CHECK:STDOUT: %.loc24: %Inner.elem.1cd = field_decl po, element1 [concrete] +// CHECK:STDOUT: %.loc25: %Inner.elem.cdf = field_decl qi, element2 [concrete] // CHECK:STDOUT: %Inner.G.decl: %Inner.G.type = fn_decl @Inner.G [concrete = constants.%Inner.G] {} {} -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.pi.po.qi [concrete = constants.%complete_type.672] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.pi.po.qi [concrete = constants.%complete_type.1ef] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -199,38 +199,38 @@ fn F(a: Outer*) { // CHECK:STDOUT: fn @Outer.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %o.patt: %pattern_type.9b6 = ref_binding_pattern o [concrete] -// CHECK:STDOUT: %o.var_patt: %pattern_type.9b6 = var_pattern %o.patt [concrete] +// CHECK:STDOUT: %o.patt: %pattern_type.87b = ref_binding_pattern o [concrete] +// CHECK:STDOUT: %o.var_patt: %pattern_type.87b = var_pattern %o.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %o.var: ref %Outer = var %o.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc18: %DefaultOrUnformed.type = facet_value constants.%Outer, (constants.%DefaultOrUnformed.impl_witness.29a) [concrete = constants.%DefaultOrUnformed.facet.f79] -// CHECK:STDOUT: %.loc18_24.1: %DefaultOrUnformed.type = converted constants.%Outer, %DefaultOrUnformed.facet.loc18 [concrete = constants.%DefaultOrUnformed.facet.f79] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc18: %DefaultOrUnformed.type = facet_value constants.%Outer, (constants.%DefaultOrUnformed.impl_witness.0ed) [concrete = constants.%DefaultOrUnformed.facet.e0d] +// CHECK:STDOUT: %.loc18_24.1: %DefaultOrUnformed.type = converted constants.%Outer, %DefaultOrUnformed.facet.loc18 [concrete = constants.%DefaultOrUnformed.facet.e0d] // CHECK:STDOUT: %as_type.loc18: type = facet_access_type %.loc18_24.1 [concrete = constants.%Outer] // CHECK:STDOUT: %.loc18_24.2: type = converted %.loc18_24.1, %as_type.loc18 [concrete = constants.%Outer] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.1: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.e1d, @T.as.DefaultOrUnformed.impl.Op(constants.%Outer) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.51f] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.1: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.4d0, @T.as.DefaultOrUnformed.impl.Op(constants.%Outer) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.613] // CHECK:STDOUT: %.loc18_5: ref %Outer = splice_block %o.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc18: init %Outer to %.loc18_5 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.1() // CHECK:STDOUT: assign %o.var, %T.as.DefaultOrUnformed.impl.Op.call.loc18 // CHECK:STDOUT: %Outer.ref: type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer] // CHECK:STDOUT: %o: ref %Outer = ref_binding o, %o.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %i.patt: %pattern_type.b10 = ref_binding_pattern i [concrete] -// CHECK:STDOUT: %i.var_patt: %pattern_type.b10 = var_pattern %i.patt [concrete] +// CHECK:STDOUT: %i.patt: %pattern_type.515 = ref_binding_pattern i [concrete] +// CHECK:STDOUT: %i.var_patt: %pattern_type.515 = var_pattern %i.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i.var: ref %Inner = var %i.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc19: %DefaultOrUnformed.type = facet_value constants.%Inner, (constants.%DefaultOrUnformed.impl_witness.50a) [concrete = constants.%DefaultOrUnformed.facet.0bb] -// CHECK:STDOUT: %.loc19_24.1: %DefaultOrUnformed.type = converted constants.%Inner, %DefaultOrUnformed.facet.loc19 [concrete = constants.%DefaultOrUnformed.facet.0bb] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc19: %DefaultOrUnformed.type = facet_value constants.%Inner, (constants.%DefaultOrUnformed.impl_witness.123) [concrete = constants.%DefaultOrUnformed.facet.b54] +// CHECK:STDOUT: %.loc19_24.1: %DefaultOrUnformed.type = converted constants.%Inner, %DefaultOrUnformed.facet.loc19 [concrete = constants.%DefaultOrUnformed.facet.b54] // CHECK:STDOUT: %as_type.loc19: type = facet_access_type %.loc19_24.1 [concrete = constants.%Inner] // CHECK:STDOUT: %.loc19_24.2: type = converted %.loc19_24.1, %as_type.loc19 [concrete = constants.%Inner] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.2: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.780, @T.as.DefaultOrUnformed.impl.Op(constants.%Inner) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.e40] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.2: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.9df, @T.as.DefaultOrUnformed.impl.Op(constants.%Inner) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.127] // CHECK:STDOUT: %.loc19_5: ref %Inner = splice_block %i.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc19: init %Inner to %.loc19_5 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.2() // CHECK:STDOUT: assign %i.var, %T.as.DefaultOrUnformed.impl.Op.call.loc19 // CHECK:STDOUT: %Inner.ref: type = name_ref Inner, @Outer.%Inner.decl [concrete = constants.%Inner] // CHECK:STDOUT: %i: ref %Inner = ref_binding i, %i.var -// CHECK:STDOUT: %Destroy.Op.bound.loc19: = bound_method %i.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc19: = bound_method %i.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc19: init %empty_tuple.type = call %Destroy.Op.bound.loc19(%i.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc18: = bound_method %o.var, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound.loc18: = bound_method %o.var, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call.loc18: init %empty_tuple.type = call %Destroy.Op.bound.loc18(%o.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -238,38 +238,38 @@ fn F(a: Outer*) { // CHECK:STDOUT: fn @Inner.G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %o.patt: %pattern_type.9b6 = ref_binding_pattern o [concrete] -// CHECK:STDOUT: %o.var_patt: %pattern_type.9b6 = var_pattern %o.patt [concrete] +// CHECK:STDOUT: %o.patt: %pattern_type.87b = ref_binding_pattern o [concrete] +// CHECK:STDOUT: %o.var_patt: %pattern_type.87b = var_pattern %o.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %o.var: ref %Outer = var %o.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc29: %DefaultOrUnformed.type = facet_value constants.%Outer, (constants.%DefaultOrUnformed.impl_witness.29a) [concrete = constants.%DefaultOrUnformed.facet.f79] -// CHECK:STDOUT: %.loc29_26.1: %DefaultOrUnformed.type = converted constants.%Outer, %DefaultOrUnformed.facet.loc29 [concrete = constants.%DefaultOrUnformed.facet.f79] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc29: %DefaultOrUnformed.type = facet_value constants.%Outer, (constants.%DefaultOrUnformed.impl_witness.0ed) [concrete = constants.%DefaultOrUnformed.facet.e0d] +// CHECK:STDOUT: %.loc29_26.1: %DefaultOrUnformed.type = converted constants.%Outer, %DefaultOrUnformed.facet.loc29 [concrete = constants.%DefaultOrUnformed.facet.e0d] // CHECK:STDOUT: %as_type.loc29: type = facet_access_type %.loc29_26.1 [concrete = constants.%Outer] // CHECK:STDOUT: %.loc29_26.2: type = converted %.loc29_26.1, %as_type.loc29 [concrete = constants.%Outer] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.1: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.e1d, @T.as.DefaultOrUnformed.impl.Op(constants.%Outer) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.51f] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.1: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.4d0, @T.as.DefaultOrUnformed.impl.Op(constants.%Outer) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.613] // CHECK:STDOUT: %.loc29_7: ref %Outer = splice_block %o.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc29: init %Outer to %.loc29_7 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.1() // CHECK:STDOUT: assign %o.var, %T.as.DefaultOrUnformed.impl.Op.call.loc29 // CHECK:STDOUT: %Outer.ref: type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer] // CHECK:STDOUT: %o: ref %Outer = ref_binding o, %o.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %i.patt: %pattern_type.b10 = ref_binding_pattern i [concrete] -// CHECK:STDOUT: %i.var_patt: %pattern_type.b10 = var_pattern %i.patt [concrete] +// CHECK:STDOUT: %i.patt: %pattern_type.515 = ref_binding_pattern i [concrete] +// CHECK:STDOUT: %i.var_patt: %pattern_type.515 = var_pattern %i.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i.var: ref %Inner = var %i.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc30: %DefaultOrUnformed.type = facet_value constants.%Inner, (constants.%DefaultOrUnformed.impl_witness.50a) [concrete = constants.%DefaultOrUnformed.facet.0bb] -// CHECK:STDOUT: %.loc30_26.1: %DefaultOrUnformed.type = converted constants.%Inner, %DefaultOrUnformed.facet.loc30 [concrete = constants.%DefaultOrUnformed.facet.0bb] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc30: %DefaultOrUnformed.type = facet_value constants.%Inner, (constants.%DefaultOrUnformed.impl_witness.123) [concrete = constants.%DefaultOrUnformed.facet.b54] +// CHECK:STDOUT: %.loc30_26.1: %DefaultOrUnformed.type = converted constants.%Inner, %DefaultOrUnformed.facet.loc30 [concrete = constants.%DefaultOrUnformed.facet.b54] // CHECK:STDOUT: %as_type.loc30: type = facet_access_type %.loc30_26.1 [concrete = constants.%Inner] // CHECK:STDOUT: %.loc30_26.2: type = converted %.loc30_26.1, %as_type.loc30 [concrete = constants.%Inner] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.2: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.780, @T.as.DefaultOrUnformed.impl.Op(constants.%Inner) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.e40] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.2: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.9df, @T.as.DefaultOrUnformed.impl.Op(constants.%Inner) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.127] // CHECK:STDOUT: %.loc30_7: ref %Inner = splice_block %i.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc30: init %Inner to %.loc30_7 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.2() // CHECK:STDOUT: assign %i.var, %T.as.DefaultOrUnformed.impl.Op.call.loc30 // CHECK:STDOUT: %Inner.ref: type = name_ref Inner, @Outer.%Inner.decl [concrete = constants.%Inner] // CHECK:STDOUT: %i: ref %Inner = ref_binding i, %i.var -// CHECK:STDOUT: %Destroy.Op.bound.loc30: = bound_method %i.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc30: = bound_method %i.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc30: init %empty_tuple.type = call %Destroy.Op.bound.loc30(%i.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc29: = bound_method %o.var, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound.loc29: = bound_method %o.var, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call.loc29: init %empty_tuple.type = call %Destroy.Op.bound.loc29(%o.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -277,45 +277,45 @@ fn F(a: Outer*) { // CHECK:STDOUT: fn @Outer.H() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %o.patt: %pattern_type.9b6 = ref_binding_pattern o [concrete] -// CHECK:STDOUT: %o.var_patt: %pattern_type.9b6 = var_pattern %o.patt [concrete] +// CHECK:STDOUT: %o.patt: %pattern_type.87b = ref_binding_pattern o [concrete] +// CHECK:STDOUT: %o.var_patt: %pattern_type.87b = var_pattern %o.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %o.var: ref %Outer = var %o.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc36: %DefaultOrUnformed.type = facet_value constants.%Outer, (constants.%DefaultOrUnformed.impl_witness.29a) [concrete = constants.%DefaultOrUnformed.facet.f79] -// CHECK:STDOUT: %.loc36_24.1: %DefaultOrUnformed.type = converted constants.%Outer, %DefaultOrUnformed.facet.loc36 [concrete = constants.%DefaultOrUnformed.facet.f79] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc36: %DefaultOrUnformed.type = facet_value constants.%Outer, (constants.%DefaultOrUnformed.impl_witness.0ed) [concrete = constants.%DefaultOrUnformed.facet.e0d] +// CHECK:STDOUT: %.loc36_24.1: %DefaultOrUnformed.type = converted constants.%Outer, %DefaultOrUnformed.facet.loc36 [concrete = constants.%DefaultOrUnformed.facet.e0d] // CHECK:STDOUT: %as_type.loc36: type = facet_access_type %.loc36_24.1 [concrete = constants.%Outer] // CHECK:STDOUT: %.loc36_24.2: type = converted %.loc36_24.1, %as_type.loc36 [concrete = constants.%Outer] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.1: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.e1d, @T.as.DefaultOrUnformed.impl.Op(constants.%Outer) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.51f] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.1: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.4d0, @T.as.DefaultOrUnformed.impl.Op(constants.%Outer) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.613] // CHECK:STDOUT: %.loc36_5: ref %Outer = splice_block %o.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc36: init %Outer to %.loc36_5 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.1() // CHECK:STDOUT: assign %o.var, %T.as.DefaultOrUnformed.impl.Op.call.loc36 // CHECK:STDOUT: %Outer.ref: type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer] // CHECK:STDOUT: %o: ref %Outer = ref_binding o, %o.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %i.patt: %pattern_type.b10 = ref_binding_pattern i [concrete] -// CHECK:STDOUT: %i.var_patt: %pattern_type.b10 = var_pattern %i.patt [concrete] +// CHECK:STDOUT: %i.patt: %pattern_type.515 = ref_binding_pattern i [concrete] +// CHECK:STDOUT: %i.var_patt: %pattern_type.515 = var_pattern %i.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i.var: ref %Inner = var %i.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc37: %DefaultOrUnformed.type = facet_value constants.%Inner, (constants.%DefaultOrUnformed.impl_witness.50a) [concrete = constants.%DefaultOrUnformed.facet.0bb] -// CHECK:STDOUT: %.loc37_24.1: %DefaultOrUnformed.type = converted constants.%Inner, %DefaultOrUnformed.facet.loc37 [concrete = constants.%DefaultOrUnformed.facet.0bb] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc37: %DefaultOrUnformed.type = facet_value constants.%Inner, (constants.%DefaultOrUnformed.impl_witness.123) [concrete = constants.%DefaultOrUnformed.facet.b54] +// CHECK:STDOUT: %.loc37_24.1: %DefaultOrUnformed.type = converted constants.%Inner, %DefaultOrUnformed.facet.loc37 [concrete = constants.%DefaultOrUnformed.facet.b54] // CHECK:STDOUT: %as_type.loc37: type = facet_access_type %.loc37_24.1 [concrete = constants.%Inner] // CHECK:STDOUT: %.loc37_24.2: type = converted %.loc37_24.1, %as_type.loc37 [concrete = constants.%Inner] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.2: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.780, @T.as.DefaultOrUnformed.impl.Op(constants.%Inner) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.e40] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn.2: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.9df, @T.as.DefaultOrUnformed.impl.Op(constants.%Inner) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn.127] // CHECK:STDOUT: %.loc37_5: ref %Inner = splice_block %i.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc37: init %Inner to %.loc37_5 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.2() // CHECK:STDOUT: assign %i.var, %T.as.DefaultOrUnformed.impl.Op.call.loc37 // CHECK:STDOUT: %Inner.ref: type = name_ref Inner, @Outer.%Inner.decl [concrete = constants.%Inner] // CHECK:STDOUT: %i: ref %Inner = ref_binding i, %i.var -// CHECK:STDOUT: %Destroy.Op.bound.loc37: = bound_method %i.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc37: = bound_method %i.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc37: init %empty_tuple.type = call %Destroy.Op.bound.loc37(%i.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc36: = bound_method %o.var, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound.loc36: = bound_method %o.var, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call.loc36: init %empty_tuple.type = call %Destroy.Op.bound.loc36(%o.var) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc19_5.1(%self.param: ref %ptr.61d) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc19_5.1(%self.param: ref %ptr.d15) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc19_5.2(%self.param: ref %ptr.54c) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc19_5.2(%self.param: ref %ptr.f73) = "no_op"; // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc19_5.3(%self.param: ref %struct_type.pi.po.qi) { // CHECK:STDOUT: !entry: @@ -337,99 +337,99 @@ fn F(a: Outer*) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%a.param: %ptr.54c) { +// CHECK:STDOUT: fn @F(%a.param: %ptr.f73) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.113 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.6a6 = value_binding_pattern b [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.ref.loc46: %ptr.54c = name_ref a, %a +// CHECK:STDOUT: %a.ref.loc46: %ptr.f73 = name_ref a, %a // CHECK:STDOUT: %.loc46_26: ref %Outer = deref %a.ref.loc46 -// CHECK:STDOUT: %pi.ref.loc46: %Outer.elem.b3e = name_ref pi, @Outer.%.loc42 [concrete = @Outer.%.loc42] -// CHECK:STDOUT: %.loc46_29.1: ref %ptr.61d = class_element_access %.loc46_26, element2 -// CHECK:STDOUT: %.loc46_21: type = splice_block %ptr.loc46 [concrete = constants.%ptr.61d] { +// CHECK:STDOUT: %pi.ref.loc46: %Outer.elem.596 = name_ref pi, @Outer.%.loc42 [concrete = @Outer.%.loc42] +// CHECK:STDOUT: %.loc46_29.1: ref %ptr.d15 = class_element_access %.loc46_26, element2 +// CHECK:STDOUT: %.loc46_21: type = splice_block %ptr.loc46 [concrete = constants.%ptr.d15] { // CHECK:STDOUT: %Outer.ref.loc46: type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer] // CHECK:STDOUT: %Inner.ref: type = name_ref Inner, @Outer.%Inner.decl [concrete = constants.%Inner] -// CHECK:STDOUT: %ptr.loc46: type = ptr_type %Inner.ref [concrete = constants.%ptr.61d] +// CHECK:STDOUT: %ptr.loc46: type = ptr_type %Inner.ref [concrete = constants.%ptr.d15] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc46_29.2: %ptr.61d = acquire_value %.loc46_29.1 -// CHECK:STDOUT: %b: %ptr.61d = value_binding b, %.loc46_29.2 -// CHECK:STDOUT: %a.ref.loc48_3: %ptr.54c = name_ref a, %a +// CHECK:STDOUT: %.loc46_29.2: %ptr.d15 = acquire_value %.loc46_29.1 +// CHECK:STDOUT: %b: %ptr.d15 = value_binding b, %.loc46_29.2 +// CHECK:STDOUT: %a.ref.loc48_3: %ptr.f73 = name_ref a, %a // CHECK:STDOUT: %.loc48_4.1: ref %Outer = deref %a.ref.loc48_3 -// CHECK:STDOUT: %po.ref.loc48: %Outer.elem.350 = name_ref po, @Outer.%.loc40 [concrete = @Outer.%.loc40] -// CHECK:STDOUT: %.loc48_4.2: ref %ptr.54c = class_element_access %.loc48_4.1, element0 -// CHECK:STDOUT: %a.ref.loc48_11: %ptr.54c = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc48: %.02e = impl_witness_access constants.%Copy.impl_witness.cc6, element0 [concrete = constants.%ptr.as.Copy.impl.Op.d3e] +// CHECK:STDOUT: %po.ref.loc48: %Outer.elem.f95 = name_ref po, @Outer.%.loc40 [concrete = @Outer.%.loc40] +// CHECK:STDOUT: %.loc48_4.2: ref %ptr.f73 = class_element_access %.loc48_4.1, element0 +// CHECK:STDOUT: %a.ref.loc48_11: %ptr.f73 = name_ref a, %a +// CHECK:STDOUT: %impl.elem0.loc48: %.29f = impl_witness_access constants.%Copy.impl_witness.5e0, element0 [concrete = constants.%ptr.as.Copy.impl.Op.53d] // CHECK:STDOUT: %bound_method.loc48_11.1: = bound_method %a.ref.loc48_11, %impl.elem0.loc48 -// CHECK:STDOUT: %specific_fn.loc48: = specific_function %impl.elem0.loc48, @ptr.as.Copy.impl.Op(constants.%Outer) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.8cb] +// CHECK:STDOUT: %specific_fn.loc48: = specific_function %impl.elem0.loc48, @ptr.as.Copy.impl.Op(constants.%Outer) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.bc2] // CHECK:STDOUT: %bound_method.loc48_11.2: = bound_method %a.ref.loc48_11, %specific_fn.loc48 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc48: init %ptr.54c = call %bound_method.loc48_11.2(%a.ref.loc48_11) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc48: init %ptr.f73 = call %bound_method.loc48_11.2(%a.ref.loc48_11) // CHECK:STDOUT: assign %.loc48_4.2, %ptr.as.Copy.impl.Op.call.loc48 -// CHECK:STDOUT: %a.ref.loc49_3: %ptr.54c = name_ref a, %a +// CHECK:STDOUT: %a.ref.loc49_3: %ptr.f73 = name_ref a, %a // CHECK:STDOUT: %.loc49_4.1: ref %Outer = deref %a.ref.loc49_3 -// CHECK:STDOUT: %qo.ref: %Outer.elem.350 = name_ref qo, @Outer.%.loc41 [concrete = @Outer.%.loc41] -// CHECK:STDOUT: %.loc49_4.2: ref %ptr.54c = class_element_access %.loc49_4.1, element1 -// CHECK:STDOUT: %a.ref.loc49_11: %ptr.54c = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc49: %.02e = impl_witness_access constants.%Copy.impl_witness.cc6, element0 [concrete = constants.%ptr.as.Copy.impl.Op.d3e] +// CHECK:STDOUT: %qo.ref: %Outer.elem.f95 = name_ref qo, @Outer.%.loc41 [concrete = @Outer.%.loc41] +// CHECK:STDOUT: %.loc49_4.2: ref %ptr.f73 = class_element_access %.loc49_4.1, element1 +// CHECK:STDOUT: %a.ref.loc49_11: %ptr.f73 = name_ref a, %a +// CHECK:STDOUT: %impl.elem0.loc49: %.29f = impl_witness_access constants.%Copy.impl_witness.5e0, element0 [concrete = constants.%ptr.as.Copy.impl.Op.53d] // CHECK:STDOUT: %bound_method.loc49_11.1: = bound_method %a.ref.loc49_11, %impl.elem0.loc49 -// CHECK:STDOUT: %specific_fn.loc49: = specific_function %impl.elem0.loc49, @ptr.as.Copy.impl.Op(constants.%Outer) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.8cb] +// CHECK:STDOUT: %specific_fn.loc49: = specific_function %impl.elem0.loc49, @ptr.as.Copy.impl.Op(constants.%Outer) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.bc2] // CHECK:STDOUT: %bound_method.loc49_11.2: = bound_method %a.ref.loc49_11, %specific_fn.loc49 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc49: init %ptr.54c = call %bound_method.loc49_11.2(%a.ref.loc49_11) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc49: init %ptr.f73 = call %bound_method.loc49_11.2(%a.ref.loc49_11) // CHECK:STDOUT: assign %.loc49_4.2, %ptr.as.Copy.impl.Op.call.loc49 -// CHECK:STDOUT: %a.ref.loc50_3: %ptr.54c = name_ref a, %a +// CHECK:STDOUT: %a.ref.loc50_3: %ptr.f73 = name_ref a, %a // CHECK:STDOUT: %.loc50_4.1: ref %Outer = deref %a.ref.loc50_3 -// CHECK:STDOUT: %pi.ref.loc50_4: %Outer.elem.b3e = name_ref pi, @Outer.%.loc42 [concrete = @Outer.%.loc42] -// CHECK:STDOUT: %.loc50_4.2: ref %ptr.61d = class_element_access %.loc50_4.1, element2 -// CHECK:STDOUT: %a.ref.loc50_11: %ptr.54c = name_ref a, %a +// CHECK:STDOUT: %pi.ref.loc50_4: %Outer.elem.596 = name_ref pi, @Outer.%.loc42 [concrete = @Outer.%.loc42] +// CHECK:STDOUT: %.loc50_4.2: ref %ptr.d15 = class_element_access %.loc50_4.1, element2 +// CHECK:STDOUT: %a.ref.loc50_11: %ptr.f73 = name_ref a, %a // CHECK:STDOUT: %.loc50_12.1: ref %Outer = deref %a.ref.loc50_11 -// CHECK:STDOUT: %pi.ref.loc50_12: %Outer.elem.b3e = name_ref pi, @Outer.%.loc42 [concrete = @Outer.%.loc42] -// CHECK:STDOUT: %.loc50_12.2: ref %ptr.61d = class_element_access %.loc50_12.1, element2 -// CHECK:STDOUT: %.loc50_12.3: %ptr.61d = acquire_value %.loc50_12.2 -// CHECK:STDOUT: %impl.elem0.loc50: %.c32 = impl_witness_access constants.%Copy.impl_witness.409, element0 [concrete = constants.%ptr.as.Copy.impl.Op.f1d] +// CHECK:STDOUT: %pi.ref.loc50_12: %Outer.elem.596 = name_ref pi, @Outer.%.loc42 [concrete = @Outer.%.loc42] +// CHECK:STDOUT: %.loc50_12.2: ref %ptr.d15 = class_element_access %.loc50_12.1, element2 +// CHECK:STDOUT: %.loc50_12.3: %ptr.d15 = acquire_value %.loc50_12.2 +// CHECK:STDOUT: %impl.elem0.loc50: %.ea0 = impl_witness_access constants.%Copy.impl_witness.c4b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.8c9] // CHECK:STDOUT: %bound_method.loc50_12.1: = bound_method %.loc50_12.3, %impl.elem0.loc50 -// CHECK:STDOUT: %specific_fn.loc50: = specific_function %impl.elem0.loc50, @ptr.as.Copy.impl.Op(constants.%Inner) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.fa1] +// CHECK:STDOUT: %specific_fn.loc50: = specific_function %impl.elem0.loc50, @ptr.as.Copy.impl.Op(constants.%Inner) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.ffa] // CHECK:STDOUT: %bound_method.loc50_12.2: = bound_method %.loc50_12.3, %specific_fn.loc50 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc50: init %ptr.61d = call %bound_method.loc50_12.2(%.loc50_12.3) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc50: init %ptr.d15 = call %bound_method.loc50_12.2(%.loc50_12.3) // CHECK:STDOUT: assign %.loc50_4.2, %ptr.as.Copy.impl.Op.call.loc50 -// CHECK:STDOUT: %b.ref.loc51: %ptr.61d = name_ref b, %b +// CHECK:STDOUT: %b.ref.loc51: %ptr.d15 = name_ref b, %b // CHECK:STDOUT: %.loc51_4.1: ref %Inner = deref %b.ref.loc51 -// CHECK:STDOUT: %po.ref.loc51: %Inner.elem.686 = name_ref po, @Inner.%.loc24 [concrete = @Inner.%.loc24] -// CHECK:STDOUT: %.loc51_4.2: ref %ptr.54c = class_element_access %.loc51_4.1, element1 -// CHECK:STDOUT: %a.ref.loc51: %ptr.54c = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc51: %.02e = impl_witness_access constants.%Copy.impl_witness.cc6, element0 [concrete = constants.%ptr.as.Copy.impl.Op.d3e] +// CHECK:STDOUT: %po.ref.loc51: %Inner.elem.1cd = name_ref po, @Inner.%.loc24 [concrete = @Inner.%.loc24] +// CHECK:STDOUT: %.loc51_4.2: ref %ptr.f73 = class_element_access %.loc51_4.1, element1 +// CHECK:STDOUT: %a.ref.loc51: %ptr.f73 = name_ref a, %a +// CHECK:STDOUT: %impl.elem0.loc51: %.29f = impl_witness_access constants.%Copy.impl_witness.5e0, element0 [concrete = constants.%ptr.as.Copy.impl.Op.53d] // CHECK:STDOUT: %bound_method.loc51_11.1: = bound_method %a.ref.loc51, %impl.elem0.loc51 -// CHECK:STDOUT: %specific_fn.loc51: = specific_function %impl.elem0.loc51, @ptr.as.Copy.impl.Op(constants.%Outer) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.8cb] +// CHECK:STDOUT: %specific_fn.loc51: = specific_function %impl.elem0.loc51, @ptr.as.Copy.impl.Op(constants.%Outer) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.bc2] // CHECK:STDOUT: %bound_method.loc51_11.2: = bound_method %a.ref.loc51, %specific_fn.loc51 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc51: init %ptr.54c = call %bound_method.loc51_11.2(%a.ref.loc51) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc51: init %ptr.f73 = call %bound_method.loc51_11.2(%a.ref.loc51) // CHECK:STDOUT: assign %.loc51_4.2, %ptr.as.Copy.impl.Op.call.loc51 -// CHECK:STDOUT: %b.ref.loc52: %ptr.61d = name_ref b, %b +// CHECK:STDOUT: %b.ref.loc52: %ptr.d15 = name_ref b, %b // CHECK:STDOUT: %.loc52_4.1: ref %Inner = deref %b.ref.loc52 -// CHECK:STDOUT: %pi.ref.loc52_4: %Inner.elem.eca = name_ref pi, @Inner.%.loc23 [concrete = @Inner.%.loc23] -// CHECK:STDOUT: %.loc52_4.2: ref %ptr.61d = class_element_access %.loc52_4.1, element0 -// CHECK:STDOUT: %a.ref.loc52: %ptr.54c = name_ref a, %a +// CHECK:STDOUT: %pi.ref.loc52_4: %Inner.elem.cdf = name_ref pi, @Inner.%.loc23 [concrete = @Inner.%.loc23] +// CHECK:STDOUT: %.loc52_4.2: ref %ptr.d15 = class_element_access %.loc52_4.1, element0 +// CHECK:STDOUT: %a.ref.loc52: %ptr.f73 = name_ref a, %a // CHECK:STDOUT: %.loc52_12.1: ref %Outer = deref %a.ref.loc52 -// CHECK:STDOUT: %pi.ref.loc52_12: %Outer.elem.b3e = name_ref pi, @Outer.%.loc42 [concrete = @Outer.%.loc42] -// CHECK:STDOUT: %.loc52_12.2: ref %ptr.61d = class_element_access %.loc52_12.1, element2 -// CHECK:STDOUT: %.loc52_12.3: %ptr.61d = acquire_value %.loc52_12.2 -// CHECK:STDOUT: %impl.elem0.loc52: %.c32 = impl_witness_access constants.%Copy.impl_witness.409, element0 [concrete = constants.%ptr.as.Copy.impl.Op.f1d] +// CHECK:STDOUT: %pi.ref.loc52_12: %Outer.elem.596 = name_ref pi, @Outer.%.loc42 [concrete = @Outer.%.loc42] +// CHECK:STDOUT: %.loc52_12.2: ref %ptr.d15 = class_element_access %.loc52_12.1, element2 +// CHECK:STDOUT: %.loc52_12.3: %ptr.d15 = acquire_value %.loc52_12.2 +// CHECK:STDOUT: %impl.elem0.loc52: %.ea0 = impl_witness_access constants.%Copy.impl_witness.c4b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.8c9] // CHECK:STDOUT: %bound_method.loc52_12.1: = bound_method %.loc52_12.3, %impl.elem0.loc52 -// CHECK:STDOUT: %specific_fn.loc52: = specific_function %impl.elem0.loc52, @ptr.as.Copy.impl.Op(constants.%Inner) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.fa1] +// CHECK:STDOUT: %specific_fn.loc52: = specific_function %impl.elem0.loc52, @ptr.as.Copy.impl.Op(constants.%Inner) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.ffa] // CHECK:STDOUT: %bound_method.loc52_12.2: = bound_method %.loc52_12.3, %specific_fn.loc52 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc52: init %ptr.61d = call %bound_method.loc52_12.2(%.loc52_12.3) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc52: init %ptr.d15 = call %bound_method.loc52_12.2(%.loc52_12.3) // CHECK:STDOUT: assign %.loc52_4.2, %ptr.as.Copy.impl.Op.call.loc52 -// CHECK:STDOUT: %b.ref.loc53: %ptr.61d = name_ref b, %b +// CHECK:STDOUT: %b.ref.loc53: %ptr.d15 = name_ref b, %b // CHECK:STDOUT: %.loc53_4.1: ref %Inner = deref %b.ref.loc53 -// CHECK:STDOUT: %qi.ref: %Inner.elem.eca = name_ref qi, @Inner.%.loc25 [concrete = @Inner.%.loc25] -// CHECK:STDOUT: %.loc53_4.2: ref %ptr.61d = class_element_access %.loc53_4.1, element2 -// CHECK:STDOUT: %a.ref.loc53: %ptr.54c = name_ref a, %a +// CHECK:STDOUT: %qi.ref: %Inner.elem.cdf = name_ref qi, @Inner.%.loc25 [concrete = @Inner.%.loc25] +// CHECK:STDOUT: %.loc53_4.2: ref %ptr.d15 = class_element_access %.loc53_4.1, element2 +// CHECK:STDOUT: %a.ref.loc53: %ptr.f73 = name_ref a, %a // CHECK:STDOUT: %.loc53_12.1: ref %Outer = deref %a.ref.loc53 -// CHECK:STDOUT: %pi.ref.loc53: %Outer.elem.b3e = name_ref pi, @Outer.%.loc42 [concrete = @Outer.%.loc42] -// CHECK:STDOUT: %.loc53_12.2: ref %ptr.61d = class_element_access %.loc53_12.1, element2 -// CHECK:STDOUT: %.loc53_12.3: %ptr.61d = acquire_value %.loc53_12.2 -// CHECK:STDOUT: %impl.elem0.loc53: %.c32 = impl_witness_access constants.%Copy.impl_witness.409, element0 [concrete = constants.%ptr.as.Copy.impl.Op.f1d] +// CHECK:STDOUT: %pi.ref.loc53: %Outer.elem.596 = name_ref pi, @Outer.%.loc42 [concrete = @Outer.%.loc42] +// CHECK:STDOUT: %.loc53_12.2: ref %ptr.d15 = class_element_access %.loc53_12.1, element2 +// CHECK:STDOUT: %.loc53_12.3: %ptr.d15 = acquire_value %.loc53_12.2 +// CHECK:STDOUT: %impl.elem0.loc53: %.ea0 = impl_witness_access constants.%Copy.impl_witness.c4b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.8c9] // CHECK:STDOUT: %bound_method.loc53_12.1: = bound_method %.loc53_12.3, %impl.elem0.loc53 -// CHECK:STDOUT: %specific_fn.loc53: = specific_function %impl.elem0.loc53, @ptr.as.Copy.impl.Op(constants.%Inner) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.fa1] +// CHECK:STDOUT: %specific_fn.loc53: = specific_function %impl.elem0.loc53, @ptr.as.Copy.impl.Op(constants.%Inner) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.ffa] // CHECK:STDOUT: %bound_method.loc53_12.2: = bound_method %.loc53_12.3, %specific_fn.loc53 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc53: init %ptr.61d = call %bound_method.loc53_12.2(%.loc53_12.3) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc53: init %ptr.d15 = call %bound_method.loc53_12.2(%.loc53_12.3) // CHECK:STDOUT: assign %.loc53_4.2, %ptr.as.Copy.impl.Op.call.loc53 // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/nested_name.carbon b/toolchain/check/testdata/class/nested_name.carbon index 33f22213073e..ee7c1f5afa81 100644 --- a/toolchain/check/testdata/class/nested_name.carbon +++ b/toolchain/check/testdata/class/nested_name.carbon @@ -38,41 +38,41 @@ fn G(o: Outer) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Inner.elem: type = unbound_element_type %Inner, %i32 [concrete] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.b10: type = pattern_type %Inner [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.515: type = pattern_type %Inner [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.9b6: type = pattern_type %Outer [concrete] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %pattern_type.87b: type = pattern_type %Outer [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.50a: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%Inner) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.6c7: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Inner) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.780: %T.as.DefaultOrUnformed.impl.Op.type.6c7 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Inner, (%DefaultOrUnformed.impl_witness.50a) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.780, @T.as.DefaultOrUnformed.impl.Op(%Inner) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.123: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%Inner) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.f72: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Inner) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9df: %T.as.DefaultOrUnformed.impl.Op.type.f72 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Inner, (%DefaultOrUnformed.impl_witness.123) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.9df, @T.as.DefaultOrUnformed.impl.Op(%Inner) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc26_3.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc26_3.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -86,11 +86,11 @@ fn G(o: Outer) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -104,13 +104,13 @@ fn G(o: Outer) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Outer.decl: type = class_decl @Outer [concrete = constants.%Outer] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %oi.param_patt: %pattern_type.b10 = value_param_pattern [concrete] -// CHECK:STDOUT: %oi.patt: %pattern_type.b10 = at_binding_pattern oi, %oi.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %oi.param_patt: %pattern_type.515 = value_param_pattern [concrete] +// CHECK:STDOUT: %oi.patt: %pattern_type.515 = at_binding_pattern oi, %oi.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc21_26: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc21_26: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %oi.param: %Inner = value_param call_param0 // CHECK:STDOUT: %.loc21_15: type = splice_block %Inner.ref [concrete = constants.%Inner] { // CHECK:STDOUT: %Outer.ref: type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer] @@ -121,8 +121,8 @@ fn G(o: Outer) { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %o.param_patt: %pattern_type.9b6 = value_param_pattern [concrete] -// CHECK:STDOUT: %o.patt: %pattern_type.9b6 = at_binding_pattern o, %o.param_patt [concrete] +// CHECK:STDOUT: %o.param_patt: %pattern_type.87b = value_param_pattern [concrete] +// CHECK:STDOUT: %o.patt: %pattern_type.87b = at_binding_pattern o, %o.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %o.param: %Outer = value_param call_param0 // CHECK:STDOUT: %Outer.ref: type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer] @@ -142,7 +142,7 @@ fn G(o: Outer) { // CHECK:STDOUT: // CHECK:STDOUT: class @Inner { // CHECK:STDOUT: %.loc17: %Inner.elem = field_decl n, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.059] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.edf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -156,7 +156,7 @@ fn G(o: Outer) { // CHECK:STDOUT: %n.ref: %Inner.elem = name_ref n, @Inner.%.loc17 [concrete = @Inner.%.loc17] // CHECK:STDOUT: %.loc22_12.1: ref %i32 = class_element_access %oi.ref, element0 // CHECK:STDOUT: %.loc22_12.2: %i32 = acquire_value %.loc22_12.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc22_12.1: = bound_method %.loc22_12.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc22_12.2: = bound_method %.loc22_12.2, %specific_fn @@ -167,15 +167,15 @@ fn G(o: Outer) { // CHECK:STDOUT: fn @G(%o.param: %Outer) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %i.patt: %pattern_type.b10 = ref_binding_pattern i [concrete] -// CHECK:STDOUT: %i.var_patt: %pattern_type.b10 = var_pattern %i.patt [concrete] +// CHECK:STDOUT: %i.patt: %pattern_type.515 = ref_binding_pattern i [concrete] +// CHECK:STDOUT: %i.var_patt: %pattern_type.515 = var_pattern %i.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i.var: ref %Inner = var %i.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Inner, (constants.%DefaultOrUnformed.impl_witness.50a) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Inner, (constants.%DefaultOrUnformed.impl_witness.123) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc26_24.1: %DefaultOrUnformed.type = converted constants.%Inner, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc26_24.1 [concrete = constants.%Inner] // CHECK:STDOUT: %.loc26_24.2: type = converted %.loc26_24.1, %as_type [concrete = constants.%Inner] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.780, @T.as.DefaultOrUnformed.impl.Op(constants.%Inner) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.9df, @T.as.DefaultOrUnformed.impl.Op(constants.%Inner) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %.loc26_3: ref %Inner = splice_block %i.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %Inner to %.loc26_3 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %i.var, %T.as.DefaultOrUnformed.impl.Op.call @@ -184,7 +184,7 @@ fn G(o: Outer) { // CHECK:STDOUT: %Inner.ref: type = name_ref Inner, @Outer.%Inner.decl [concrete = constants.%Inner] // CHECK:STDOUT: } // CHECK:STDOUT: %i: ref %Inner = ref_binding i, %i.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %i.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%i.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/partial/init.carbon b/toolchain/check/testdata/class/partial/init.carbon index ace97745ebaf..1520f6a1e1e4 100644 --- a/toolchain/check/testdata/class/partial/init.carbon +++ b/toolchain/check/testdata/class/partial/init.carbon @@ -33,11 +33,11 @@ class Derived { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Base: type = class_type @Base [concrete] -// CHECK:STDOUT: %.f66: type = partial_type %Base [concrete] +// CHECK:STDOUT: %.9bb: type = partial_type %Base [concrete] // CHECK:STDOUT: %Base.Make.type: type = fn_type @Base.Make [concrete] // CHECK:STDOUT: %Base.Make: %Base.Make.type = struct_value () [concrete] // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] -// CHECK:STDOUT: %struct_type.base.b7a: type = struct_type {.base: %.f66} [concrete] +// CHECK:STDOUT: %struct_type.base.b54: type = struct_type {.base: %.9bb} [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Derived { @@ -56,9 +56,9 @@ class Derived { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] // CHECK:STDOUT: %Make.ref: %Base.Make.type = name_ref Make, @Base.%Base.Make.decl [concrete = constants.%Base.Make] -// CHECK:STDOUT: %.loc14_32.1: ref %.f66 = class_element_access %return.param, element0 -// CHECK:STDOUT: %Base.Make.call: init %.f66 to %.loc14_32.1 = call %Make.ref() -// CHECK:STDOUT: %.loc14_32.2: %struct_type.base.b7a = struct_literal (%Base.Make.call) +// CHECK:STDOUT: %.loc14_32.1: ref %.9bb = class_element_access %return.param, element0 +// CHECK:STDOUT: %Base.Make.call: init %.9bb to %.loc14_32.1 = call %Make.ref() +// CHECK:STDOUT: %.loc14_32.2: %struct_type.base.b54 = struct_literal (%Base.Make.call) // CHECK:STDOUT: %.loc14_32.3: init %Base = as_compatible %Base.Make.call // CHECK:STDOUT: %.loc14_32.4: init %Derived to %return.param = class_init (%.loc14_32.3) // CHECK:STDOUT: %.loc14_33: init %Derived = converted %.loc14_32.2, %.loc14_32.4 diff --git a/toolchain/check/testdata/class/partial/qualifier.carbon b/toolchain/check/testdata/class/partial/qualifier.carbon index f2acb845f2cb..809f07146b91 100644 --- a/toolchain/check/testdata/class/partial/qualifier.carbon +++ b/toolchain/check/testdata/class/partial/qualifier.carbon @@ -179,8 +179,8 @@ fn F[T:! type](p: partial T*); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %.c7b: type = partial_type %C [concrete] -// CHECK:STDOUT: %pattern_type: type = pattern_type %.c7b [concrete] +// CHECK:STDOUT: %.d8a: type = partial_type %C [concrete] +// CHECK:STDOUT: %pattern_type: type = pattern_type %.d8a [concrete] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -190,23 +190,23 @@ fn F[T:! type](p: partial T*); // CHECK:STDOUT: %p.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %p.patt: %pattern_type = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %p.param: %.c7b = value_param call_param0 -// CHECK:STDOUT: %.loc6_9.1: type = splice_block %.loc6_9.2 [concrete = constants.%.c7b] { +// CHECK:STDOUT: %p.param: %.d8a = value_param call_param0 +// CHECK:STDOUT: %.loc6_9.1: type = splice_block %.loc6_9.2 [concrete = constants.%.d8a] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc6_9.2: type = partial_type %C.ref [concrete = constants.%.c7b] +// CHECK:STDOUT: %.loc6_9.2: type = partial_type %C.ref [concrete = constants.%.d8a] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %.c7b = value_binding p, %p.param +// CHECK:STDOUT: %p: %.d8a = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @A(%p.param: %.c7b); +// CHECK:STDOUT: fn @A(%p.param: %.d8a); // CHECK:STDOUT: // CHECK:STDOUT: --- abstract.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %.bb5: type = partial_type %C [concrete] -// CHECK:STDOUT: %pattern_type: type = pattern_type %.bb5 [concrete] +// CHECK:STDOUT: %.d8a: type = partial_type %C [concrete] +// CHECK:STDOUT: %pattern_type: type = pattern_type %.d8a [concrete] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -216,23 +216,23 @@ fn F[T:! type](p: partial T*); // CHECK:STDOUT: %p.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %p.patt: %pattern_type = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %p.param: %.bb5 = value_param call_param0 -// CHECK:STDOUT: %.loc6_9.1: type = splice_block %.loc6_9.2 [concrete = constants.%.bb5] { +// CHECK:STDOUT: %p.param: %.d8a = value_param call_param0 +// CHECK:STDOUT: %.loc6_9.1: type = splice_block %.loc6_9.2 [concrete = constants.%.d8a] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc6_9.2: type = partial_type %C.ref [concrete = constants.%.bb5] +// CHECK:STDOUT: %.loc6_9.2: type = partial_type %C.ref [concrete = constants.%.d8a] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %.bb5 = value_binding p, %p.param +// CHECK:STDOUT: %p: %.d8a = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @A(%p.param: %.bb5); +// CHECK:STDOUT: fn @A(%p.param: %.d8a); // CHECK:STDOUT: // CHECK:STDOUT: --- abstract_var.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %.467: type = partial_type %C [concrete] -// CHECK:STDOUT: %pattern_type: type = pattern_type %.467 [concrete] +// CHECK:STDOUT: %.d8a: type = partial_type %C [concrete] +// CHECK:STDOUT: %pattern_type: type = pattern_type %.d8a [concrete] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -242,23 +242,23 @@ fn F[T:! type](p: partial T*); // CHECK:STDOUT: %p.patt: %pattern_type = ref_binding_pattern p [concrete] // CHECK:STDOUT: %p.param_patt: %pattern_type = var_param_pattern %p.patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %p.param: ref %.467 = ref_param call_param0 -// CHECK:STDOUT: %.loc6_13.1: type = splice_block %.loc6_13.2 [concrete = constants.%.467] { +// CHECK:STDOUT: %p.param: ref %.d8a = ref_param call_param0 +// CHECK:STDOUT: %.loc6_13.1: type = splice_block %.loc6_13.2 [concrete = constants.%.d8a] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc6_13.2: type = partial_type %C.ref [concrete = constants.%.467] +// CHECK:STDOUT: %.loc6_13.2: type = partial_type %C.ref [concrete = constants.%.d8a] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: ref %.467 = ref_binding p, %p.param +// CHECK:STDOUT: %p: ref %.d8a = ref_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @A(%p.param: ref %.467); +// CHECK:STDOUT: fn @A(%p.param: ref %.d8a); // CHECK:STDOUT: // CHECK:STDOUT: --- fail_partial_nondynamic.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %.cf2: type = partial_type %C [concrete] -// CHECK:STDOUT: %pattern_type: type = pattern_type %.cf2 [concrete] +// CHECK:STDOUT: %.d8a: type = partial_type %C [concrete] +// CHECK:STDOUT: %pattern_type: type = pattern_type %.d8a [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -268,23 +268,23 @@ fn F[T:! type](p: partial T*); // CHECK:STDOUT: %p.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %p.patt: %pattern_type = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %p.param: %.cf2 = value_param call_param0 -// CHECK:STDOUT: %.loc10_9.1: type = splice_block %.loc10_9.2 [concrete = constants.%.cf2] { +// CHECK:STDOUT: %p.param: %.d8a = value_param call_param0 +// CHECK:STDOUT: %.loc10_9.1: type = splice_block %.loc10_9.2 [concrete = constants.%.d8a] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc10_9.2: type = partial_type %C.ref [concrete = constants.%.cf2] +// CHECK:STDOUT: %.loc10_9.2: type = partial_type %C.ref [concrete = constants.%.d8a] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %.cf2 = value_binding p, %p.param +// CHECK:STDOUT: %p: %.d8a = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %.cf2); +// CHECK:STDOUT: fn @G(%p.param: %.d8a); // CHECK:STDOUT: // CHECK:STDOUT: --- fail_partial_final.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Derived: type = class_type @Derived [concrete] -// CHECK:STDOUT: %.8c7: type = partial_type %Derived [concrete] -// CHECK:STDOUT: %pattern_type: type = pattern_type %.8c7 [concrete] +// CHECK:STDOUT: %.914: type = partial_type %Derived [concrete] +// CHECK:STDOUT: %pattern_type: type = pattern_type %.914 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -294,23 +294,23 @@ fn F[T:! type](p: partial T*); // CHECK:STDOUT: %p.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %p.patt: %pattern_type = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %p.param: %.8c7 = value_param call_param0 -// CHECK:STDOUT: %.loc13_9.1: type = splice_block %.loc13_9.2 [concrete = constants.%.8c7] { +// CHECK:STDOUT: %p.param: %.914 = value_param call_param0 +// CHECK:STDOUT: %.loc13_9.1: type = splice_block %.loc13_9.2 [concrete = constants.%.914] { // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] -// CHECK:STDOUT: %.loc13_9.2: type = partial_type %Derived.ref [concrete = constants.%.8c7] +// CHECK:STDOUT: %.loc13_9.2: type = partial_type %Derived.ref [concrete = constants.%.914] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %.8c7 = value_binding p, %p.param +// CHECK:STDOUT: %p: %.914 = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %.8c7); +// CHECK:STDOUT: fn @G(%p.param: %.914); // CHECK:STDOUT: // CHECK:STDOUT: --- fail_partial_decl.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %.7e4: type = partial_type %C [concrete] -// CHECK:STDOUT: %pattern_type: type = pattern_type %.7e4 [concrete] +// CHECK:STDOUT: %.d8a: type = partial_type %C [concrete] +// CHECK:STDOUT: %pattern_type: type = pattern_type %.d8a [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -320,16 +320,16 @@ fn F[T:! type](p: partial T*); // CHECK:STDOUT: %p.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %p.patt: %pattern_type = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %p.param: %.7e4 = value_param call_param0 -// CHECK:STDOUT: %.loc13_9.1: type = splice_block %.loc13_9.2 [concrete = constants.%.7e4] { +// CHECK:STDOUT: %p.param: %.d8a = value_param call_param0 +// CHECK:STDOUT: %.loc13_9.1: type = splice_block %.loc13_9.2 [concrete = constants.%.d8a] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc13_9.2: type = partial_type %C.ref [concrete = constants.%.7e4] +// CHECK:STDOUT: %.loc13_9.2: type = partial_type %C.ref [concrete = constants.%.d8a] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %.7e4 = value_binding p, %p.param +// CHECK:STDOUT: %p: %.d8a = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %.7e4); +// CHECK:STDOUT: fn @G(%p.param: %.d8a); // CHECK:STDOUT: // CHECK:STDOUT: --- fail_partial_tuple.carbon // CHECK:STDOUT: @@ -337,9 +337,9 @@ fn F[T:! type](p: partial T*); // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%C, %C) [concrete] -// CHECK:STDOUT: %tuple.type.d11: type = tuple_type (%C, %C) [concrete] -// CHECK:STDOUT: %.fab: type = partial_type %tuple.type.d11 [concrete] -// CHECK:STDOUT: %pattern_type: type = pattern_type %.fab [concrete] +// CHECK:STDOUT: %tuple.type.33d: type = tuple_type (%C, %C) [concrete] +// CHECK:STDOUT: %.1d6: type = partial_type %tuple.type.33d [concrete] +// CHECK:STDOUT: %pattern_type: type = pattern_type %.1d6 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -349,27 +349,27 @@ fn F[T:! type](p: partial T*); // CHECK:STDOUT: %p.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %p.patt: %pattern_type = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %p.param: %.fab = value_param call_param0 -// CHECK:STDOUT: %.loc10_9.1: type = splice_block %.loc10_9.3 [concrete = constants.%.fab] { +// CHECK:STDOUT: %p.param: %.1d6 = value_param call_param0 +// CHECK:STDOUT: %.loc10_9.1: type = splice_block %.loc10_9.3 [concrete = constants.%.1d6] { // CHECK:STDOUT: %C.ref.loc10_18: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %C.ref.loc10_21: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc10_22: %tuple.type.24b = tuple_literal (%C.ref.loc10_18, %C.ref.loc10_21) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc10_9.2: type = converted %.loc10_22, constants.%tuple.type.d11 [concrete = constants.%tuple.type.d11] -// CHECK:STDOUT: %.loc10_9.3: type = partial_type %.loc10_9.2 [concrete = constants.%.fab] +// CHECK:STDOUT: %.loc10_9.2: type = converted %.loc10_22, constants.%tuple.type.33d [concrete = constants.%tuple.type.33d] +// CHECK:STDOUT: %.loc10_9.3: type = partial_type %.loc10_9.2 [concrete = constants.%.1d6] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %.fab = value_binding p, %p.param +// CHECK:STDOUT: %p: %.1d6 = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %.fab); +// CHECK:STDOUT: fn @G(%p.param: %.1d6); // CHECK:STDOUT: // CHECK:STDOUT: --- fail_partial_struct.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %C} [concrete] -// CHECK:STDOUT: %.777: type = partial_type %struct_type.x [concrete] -// CHECK:STDOUT: %pattern_type: type = pattern_type %.777 [concrete] +// CHECK:STDOUT: %.f0d: type = partial_type %struct_type.x [concrete] +// CHECK:STDOUT: %pattern_type: type = pattern_type %.f0d [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -379,25 +379,25 @@ fn F[T:! type](p: partial T*); // CHECK:STDOUT: %p.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %p.patt: %pattern_type = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %p.param: %.777 = value_param call_param0 -// CHECK:STDOUT: %.loc10_9.1: type = splice_block %.loc10_9.2 [concrete = constants.%.777] { +// CHECK:STDOUT: %p.param: %.f0d = value_param call_param0 +// CHECK:STDOUT: %.loc10_9.1: type = splice_block %.loc10_9.2 [concrete = constants.%.f0d] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %C} [concrete = constants.%struct_type.x] -// CHECK:STDOUT: %.loc10_9.2: type = partial_type %struct_type.x [concrete = constants.%.777] +// CHECK:STDOUT: %.loc10_9.2: type = partial_type %struct_type.x [concrete = constants.%.f0d] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %.777 = value_binding p, %p.param +// CHECK:STDOUT: %p: %.f0d = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %.777); +// CHECK:STDOUT: fn @G(%p.param: %.f0d); // CHECK:STDOUT: // CHECK:STDOUT: --- fail_duplicate.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %.dbf: type = partial_type %C [concrete] -// CHECK:STDOUT: %.c0e: type = partial_type %.dbf [concrete] -// CHECK:STDOUT: %pattern_type: type = pattern_type %.c0e [concrete] +// CHECK:STDOUT: %.d8a: type = partial_type %C [concrete] +// CHECK:STDOUT: %.224: type = partial_type %.d8a [concrete] +// CHECK:STDOUT: %pattern_type: type = pattern_type %.224 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -407,15 +407,15 @@ fn F[T:! type](p: partial T*); // CHECK:STDOUT: %p.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %p.patt: %pattern_type = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %p.param: %.c0e = value_param call_param0 -// CHECK:STDOUT: %.loc10_9.1: type = splice_block %.loc10_9.2 [concrete = constants.%.c0e] { +// CHECK:STDOUT: %p.param: %.224 = value_param call_param0 +// CHECK:STDOUT: %.loc10_9.1: type = splice_block %.loc10_9.2 [concrete = constants.%.224] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc10_18: type = partial_type %C.ref [concrete = constants.%.dbf] -// CHECK:STDOUT: %.loc10_9.2: type = partial_type %.loc10_18 [concrete = constants.%.c0e] +// CHECK:STDOUT: %.loc10_18: type = partial_type %C.ref [concrete = constants.%.d8a] +// CHECK:STDOUT: %.loc10_9.2: type = partial_type %.loc10_18 [concrete = constants.%.224] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %.c0e = value_binding p, %p.param +// CHECK:STDOUT: %p: %.224 = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%p.param: %.c0e); +// CHECK:STDOUT: fn @F(%p.param: %.224); // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/redeclaration.carbon b/toolchain/check/testdata/class/redeclaration.carbon index 28c3b9fc4b3e..6a536442a6b2 100644 --- a/toolchain/check/testdata/class/redeclaration.carbon +++ b/toolchain/check/testdata/class/redeclaration.carbon @@ -24,7 +24,7 @@ fn Class.F[unused self: Self](unused b: ()) {} // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Class: type = class_type @Class [concrete] -// CHECK:STDOUT: %pattern_type.138: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] @@ -50,8 +50,8 @@ fn Class.F[unused self: Self](unused b: ()) {} // CHECK:STDOUT: %Class.decl.loc15: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %Class.decl.loc17: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.138 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.138 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %b.param_patt: %pattern_type.cb1 = value_param_pattern [concrete] // CHECK:STDOUT: %b.patt: %pattern_type.cb1 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { @@ -69,8 +69,8 @@ fn Class.F[unused self: Self](unused b: ()) {} // CHECK:STDOUT: // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.138 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.138 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %b.param_patt: %pattern_type.cb1 = value_param_pattern [concrete] // CHECK:STDOUT: %b.patt: %pattern_type.cb1 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { diff --git a/toolchain/check/testdata/class/reenter_scope.carbon b/toolchain/check/testdata/class/reenter_scope.carbon index 816c8bd12b6e..5b9f2a61457f 100644 --- a/toolchain/check/testdata/class/reenter_scope.carbon +++ b/toolchain/check/testdata/class/reenter_scope.carbon @@ -30,8 +30,8 @@ fn Class.F() -> i32 { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F [concrete] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [concrete] // CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G [concrete] @@ -57,11 +57,11 @@ fn Class.F() -> i32 { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc20 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc20 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc20: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc20: Core.Form = init_form %i32.loc20 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc20: Core.Form = init_form %i32.loc20 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param.loc20: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return.loc20: ref %i32 = return_slot %return.param.loc20 // CHECK:STDOUT: } @@ -69,20 +69,20 @@ fn Class.F() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc20 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc20 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32.loc16 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32.loc16 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param.loc16: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return.loc16: ref %i32 = return_slot %return.param.loc16 // CHECK:STDOUT: } // CHECK:STDOUT: %Class.G.decl: %Class.G.type = fn_decl @Class.G [concrete = constants.%Class.G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc17: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc17: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/reorder.carbon b/toolchain/check/testdata/class/reorder.carbon index ff1f1f2dd3ce..839555211c47 100644 --- a/toolchain/check/testdata/class/reorder.carbon +++ b/toolchain/check/testdata/class/reorder.carbon @@ -30,8 +30,8 @@ class Class { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G [concrete] // CHECK:STDOUT: %Class.G: %Class.G.type = struct_value () [concrete] // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F [concrete] @@ -39,22 +39,22 @@ class Class { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -65,9 +65,9 @@ class Class { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -81,20 +81,20 @@ class Class { // CHECK:STDOUT: // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %Class.G.decl: %Class.G.type = fn_decl @Class.G [concrete = constants.%Class.G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc20: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc20: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -119,12 +119,12 @@ class Class { // CHECK:STDOUT: fn @Class.F() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc21_13.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc21_13.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc21_13.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc21: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc21_13.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc21: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] // CHECK:STDOUT: return %.loc21 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/reorder_qualified.carbon b/toolchain/check/testdata/class/reorder_qualified.carbon index 5c12ee6a66d9..7bd246573c93 100644 --- a/toolchain/check/testdata/class/reorder_qualified.carbon +++ b/toolchain/check/testdata/class/reorder_qualified.carbon @@ -65,80 +65,80 @@ class A { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %B.elem: type = unbound_element_type %B, %i32 [concrete] -// CHECK:STDOUT: %struct_type.b.177: type = struct_type {.b: %i32} [concrete] -// CHECK:STDOUT: %complete_type.421: = complete_type_witness %struct_type.b.177 [concrete] +// CHECK:STDOUT: %struct_type.b.676: type = struct_type {.b: %i32} [concrete] +// CHECK:STDOUT: %complete_type.ec5: = complete_type_witness %struct_type.b.676 [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %D.F.type: type = fn_type @D.F [concrete] // CHECK:STDOUT: %D.F: %D.F.type = struct_value () [concrete] // CHECK:STDOUT: %D.DF.type: type = fn_type @D.DF [concrete] // CHECK:STDOUT: %D.DF: %D.DF.type = struct_value () [concrete] // CHECK:STDOUT: %D.elem: type = unbound_element_type %D, %i32 [concrete] -// CHECK:STDOUT: %struct_type.d.966: type = struct_type {.d: %i32} [concrete] -// CHECK:STDOUT: %complete_type.c69: = complete_type_witness %struct_type.d.966 [concrete] +// CHECK:STDOUT: %struct_type.d.f00: type = struct_type {.d: %i32} [concrete] +// CHECK:STDOUT: %complete_type.1eb: = complete_type_witness %struct_type.d.f00 [concrete] // CHECK:STDOUT: %C.CF.type: type = fn_type @C.CF [concrete] // CHECK:STDOUT: %C.CF: %C.CF.type = struct_value () [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %i32 [concrete] -// CHECK:STDOUT: %struct_type.c.e9c: type = struct_type {.c: %i32} [concrete] -// CHECK:STDOUT: %complete_type.f16: = complete_type_witness %struct_type.c.e9c [concrete] +// CHECK:STDOUT: %struct_type.c.262: type = struct_type {.c: %i32} [concrete] +// CHECK:STDOUT: %complete_type.aca: = complete_type_witness %struct_type.c.262 [concrete] // CHECK:STDOUT: %A.AF.type: type = fn_type @A.AF [concrete] // CHECK:STDOUT: %A.AF: %A.AF.type = struct_value () [concrete] // CHECK:STDOUT: %A.elem: type = unbound_element_type %A, %i32 [concrete] -// CHECK:STDOUT: %struct_type.a.72d: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fd3: = complete_type_witness %struct_type.a.72d [concrete] -// CHECK:STDOUT: %pattern_type.a07: type = pattern_type %A [concrete] +// CHECK:STDOUT: %struct_type.a.1c5: type = struct_type {.a: %i32} [concrete] +// CHECK:STDOUT: %complete_type.f2a: = complete_type_witness %struct_type.a.1c5 [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.a.a6c: type = struct_type {.a: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.48c: %struct_type.a.a6c = struct_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %A.val: %A = struct_value (%int_1.d5e) [concrete] -// CHECK:STDOUT: %pattern_type.e4c: type = pattern_type %B [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %A.val: %A = struct_value (%int_1.d9c) [concrete] +// CHECK:STDOUT: %pattern_type.a55: type = pattern_type %B [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.b.a15: type = struct_type {.b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.26f: %struct_type.b.a15 = struct_value (%int_2.ecc) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %B.val: %B = struct_value (%int_2.4ff) [concrete] -// CHECK:STDOUT: %pattern_type.f0e: type = pattern_type %C [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %B.val: %B = struct_value (%int_2.228) [concrete] +// CHECK:STDOUT: %pattern_type.669: type = pattern_type %C [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %struct_type.c.5b8: type = struct_type {.c: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.d98: %struct_type.c.5b8 = struct_value (%int_3.1ba) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %C.val: %C = struct_value (%int_3.49a) [concrete] -// CHECK:STDOUT: %pattern_type.0bf: type = pattern_type %D [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %C.val: %C = struct_value (%int_3.6cc) [concrete] +// CHECK:STDOUT: %pattern_type.0df: type = pattern_type %D [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] // CHECK:STDOUT: %struct_type.d.3ea: type = struct_type {.d: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.5a9: %struct_type.d.3ea = struct_value (%int_4.0c1) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] -// CHECK:STDOUT: %D.val: %D = struct_value (%int_4.a7d) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %D.val: %D = struct_value (%int_4.a4d) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc36_7.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc35_7.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.8: type = fn_type @Destroy.Op.loc34_7.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.8: %Destroy.Op.type.af7ec0.8 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.10: type = fn_type @Destroy.Op.loc33_7.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.10: %Destroy.Op.type.af7ec0.10 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc36_7.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc35_7.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.8: type = fn_type @Destroy.Op.loc34_7.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.8: %Destroy.Op.type.790b3b.8 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.10: type = fn_type @Destroy.Op.loc33_7.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.10: %Destroy.Op.type.790b3b.10 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -150,9 +150,9 @@ class A { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -170,7 +170,7 @@ class A { // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %A.AF.decl: %A.AF.type = fn_decl @A.AF [concrete = constants.%A.AF] {} {} // CHECK:STDOUT: %.loc50: %A.elem = field_decl a, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.72d [concrete = constants.%complete_type.fd3] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.1c5 [concrete = constants.%complete_type.f2a] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -185,7 +185,7 @@ class A { // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %B.BF.decl: %B.BF.type = fn_decl @B.BF [concrete = constants.%B.BF] {} {} // CHECK:STDOUT: %.loc20: %B.elem = field_decl b, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.b.177 [concrete = constants.%complete_type.421] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.b.676 [concrete = constants.%complete_type.ec5] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -203,7 +203,7 @@ class A { // CHECK:STDOUT: %D.DF.decl: %D.DF.type = fn_decl @D.DF [concrete = constants.%D.DF] {} {} // CHECK:STDOUT: %C.CF.decl: %C.CF.type = fn_decl @C.CF [concrete = constants.%C.CF] {} {} // CHECK:STDOUT: %.loc46: %C.elem = field_decl c, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.c.e9c [concrete = constants.%complete_type.f16] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.c.262 [concrete = constants.%complete_type.aca] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -222,7 +222,7 @@ class A { // CHECK:STDOUT: %D.F.decl: %D.F.type = fn_decl @D.F [concrete = constants.%D.F] {} {} // CHECK:STDOUT: %D.DF.decl: %D.DF.type = fn_decl @D.DF [concrete = constants.%D.DF] {} {} // CHECK:STDOUT: %.loc28: %D.elem = field_decl d, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.d.966 [concrete = constants.%complete_type.c69] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.d.f00 [concrete = constants.%complete_type.1eb] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -246,80 +246,80 @@ class A { // CHECK:STDOUT: fn @D.DF() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.a07 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.a07 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.ccb = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %A = var %a.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc33_32.1: %struct_type.a.a6c = struct_literal (%int_1) [concrete = constants.%struct.48c] -// CHECK:STDOUT: %impl.elem0.loc33: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc33_32.1: = bound_method %int_1, %impl.elem0.loc33 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc33: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc33_32.1: = bound_method %int_1, %impl.elem0.loc33 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc33: = specific_function %impl.elem0.loc33, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc33_32.2: = bound_method %int_1, %specific_fn.loc33 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc33: init %i32 = call %bound_method.loc33_32.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc33_32.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc33 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc33_32.2: = bound_method %int_1, %specific_fn.loc33 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc33: init %i32 = call %bound_method.loc33_32.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc33_32.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc33 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc33_32.3: ref %i32 = class_element_access %a.var, element0 -// CHECK:STDOUT: %.loc33_32.4: init %i32 to %.loc33_32.3 = in_place_init %.loc33_32.2 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %.loc33_32.4: init %i32 to %.loc33_32.3 = in_place_init %.loc33_32.2 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc33_32.5: init %A to %a.var = class_init (%.loc33_32.4) [concrete = constants.%A.val] // CHECK:STDOUT: %.loc33_7: init %A = converted %.loc33_32.1, %.loc33_32.5 [concrete = constants.%A.val] // CHECK:STDOUT: assign %a.var, %.loc33_7 // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %a: ref %A = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.e4c = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.e4c = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.a55 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.a55 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %B = var %b.var_patt // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc34_32.1: %struct_type.b.a15 = struct_literal (%int_2) [concrete = constants.%struct.26f] -// CHECK:STDOUT: %impl.elem0.loc34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc34_32.1: = bound_method %int_2, %impl.elem0.loc34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0.loc34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc34_32.1: = bound_method %int_2, %impl.elem0.loc34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc34: = specific_function %impl.elem0.loc34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc34_32.2: = bound_method %int_2, %specific_fn.loc34 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc34: init %i32 = call %bound_method.loc34_32.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc34_32.2: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc34 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc34_32.2: = bound_method %int_2, %specific_fn.loc34 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc34: init %i32 = call %bound_method.loc34_32.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc34_32.2: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc34 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc34_32.3: ref %i32 = class_element_access %b.var, element0 -// CHECK:STDOUT: %.loc34_32.4: init %i32 to %.loc34_32.3 = in_place_init %.loc34_32.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %.loc34_32.4: init %i32 to %.loc34_32.3 = in_place_init %.loc34_32.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc34_32.5: init %B to %b.var = class_init (%.loc34_32.4) [concrete = constants.%B.val] // CHECK:STDOUT: %.loc34_7: init %B = converted %.loc34_32.1, %.loc34_32.5 [concrete = constants.%B.val] // CHECK:STDOUT: assign %b.var, %.loc34_7 // CHECK:STDOUT: %B.ref: type = name_ref B, @A.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %b: ref %B = ref_binding b, %b.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.f0e = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.f0e = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.669 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.669 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc35_32.1: %struct_type.c.5b8 = struct_literal (%int_3) [concrete = constants.%struct.d98] -// CHECK:STDOUT: %impl.elem0.loc35: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc35_32.1: = bound_method %int_3, %impl.elem0.loc35 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc35: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc35_32.1: = bound_method %int_3, %impl.elem0.loc35 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc35: = specific_function %impl.elem0.loc35, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc35_32.2: = bound_method %int_3, %specific_fn.loc35 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc35: init %i32 = call %bound_method.loc35_32.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc35_32.2: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc35 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc35_32.2: = bound_method %int_3, %specific_fn.loc35 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc35: init %i32 = call %bound_method.loc35_32.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc35_32.2: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc35 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc35_32.3: ref %i32 = class_element_access %c.var, element0 -// CHECK:STDOUT: %.loc35_32.4: init %i32 to %.loc35_32.3 = in_place_init %.loc35_32.2 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %.loc35_32.4: init %i32 to %.loc35_32.3 = in_place_init %.loc35_32.2 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc35_32.5: init %C to %c.var = class_init (%.loc35_32.4) [concrete = constants.%C.val] // CHECK:STDOUT: %.loc35_7: init %C = converted %.loc35_32.1, %.loc35_32.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign %c.var, %.loc35_7 // CHECK:STDOUT: %C.ref: type = name_ref C, @B.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.0bf = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.0bf = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.0df = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.0df = var_pattern %d.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.var: ref %D = var %d.var_patt // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] // CHECK:STDOUT: %.loc36_32.1: %struct_type.d.3ea = struct_literal (%int_4) [concrete = constants.%struct.5a9] -// CHECK:STDOUT: %impl.elem0.loc36: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc36_32.1: = bound_method %int_4, %impl.elem0.loc36 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %impl.elem0.loc36: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc36_32.1: = bound_method %int_4, %impl.elem0.loc36 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc36: = specific_function %impl.elem0.loc36, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc36_32.2: = bound_method %int_4, %specific_fn.loc36 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc36: init %i32 = call %bound_method.loc36_32.2(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc36_32.2: init %i32 = converted %int_4, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc36 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %bound_method.loc36_32.2: = bound_method %int_4, %specific_fn.loc36 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc36: init %i32 = call %bound_method.loc36_32.2(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc36_32.2: init %i32 = converted %int_4, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc36 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: %.loc36_32.3: ref %i32 = class_element_access %d.var, element0 -// CHECK:STDOUT: %.loc36_32.4: init %i32 to %.loc36_32.3 = in_place_init %.loc36_32.2 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %.loc36_32.4: init %i32 to %.loc36_32.3 = in_place_init %.loc36_32.2 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: %.loc36_32.5: init %D to %d.var = class_init (%.loc36_32.4) [concrete = constants.%D.val] // CHECK:STDOUT: %.loc36_7: init %D = converted %.loc36_32.1, %.loc36_32.5 [concrete = constants.%D.val] // CHECK:STDOUT: assign %d.var, %.loc36_7 @@ -333,13 +333,13 @@ class A { // CHECK:STDOUT: %C.CF.call: init %empty_tuple.type = call %CF.ref() // CHECK:STDOUT: %DF.ref: %D.DF.type = name_ref DF, @D.%D.DF.decl [concrete = constants.%D.DF] // CHECK:STDOUT: %D.DF.call: init %empty_tuple.type = call %DF.ref() -// CHECK:STDOUT: %Destroy.Op.bound.loc36: = bound_method %d.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc36: = bound_method %d.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc36: init %empty_tuple.type = call %Destroy.Op.bound.loc36(%d.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc35: = bound_method %c.var, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound.loc35: = bound_method %c.var, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call.loc35: init %empty_tuple.type = call %Destroy.Op.bound.loc35(%c.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc34: = bound_method %b.var, constants.%Destroy.Op.1dc86d.8 +// CHECK:STDOUT: %Destroy.Op.bound.loc34: = bound_method %b.var, constants.%Destroy.Op.2dd605.8 // CHECK:STDOUT: %Destroy.Op.call.loc34: init %empty_tuple.type = call %Destroy.Op.bound.loc34(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc33: = bound_method %a.var, constants.%Destroy.Op.1dc86d.10 +// CHECK:STDOUT: %Destroy.Op.bound.loc33: = bound_method %a.var, constants.%Destroy.Op.2dd605.10 // CHECK:STDOUT: %Destroy.Op.call.loc33: init %empty_tuple.type = call %Destroy.Op.bound.loc33(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -355,7 +355,7 @@ class A { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc36_7.3(%self.param: ref %struct_type.d.966) { +// CHECK:STDOUT: fn @Destroy.Op.loc36_7.3(%self.param: ref %struct_type.d.f00) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -365,7 +365,7 @@ class A { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc35_7.1(%self.param: ref %struct_type.c.e9c) { +// CHECK:STDOUT: fn @Destroy.Op.loc35_7.1(%self.param: ref %struct_type.c.262) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -375,7 +375,7 @@ class A { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc34_7.1(%self.param: ref %struct_type.b.177) { +// CHECK:STDOUT: fn @Destroy.Op.loc34_7.1(%self.param: ref %struct_type.b.676) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -385,7 +385,7 @@ class A { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc33_7.1(%self.param: ref %struct_type.a.72d) { +// CHECK:STDOUT: fn @Destroy.Op.loc33_7.1(%self.param: ref %struct_type.a.1c5) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/scope.carbon b/toolchain/check/testdata/class/scope.carbon index 985b64dd0890..19912679f5d1 100644 --- a/toolchain/check/testdata/class/scope.carbon +++ b/toolchain/check/testdata/class/scope.carbon @@ -40,8 +40,8 @@ fn Run() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F [concrete] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [concrete] // CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G [concrete] @@ -50,33 +50,33 @@ fn Run() { // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: %Run.type: type = fn_type @Run [concrete] // CHECK:STDOUT: %Run: %Run.type = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc31_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc31_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -88,9 +88,9 @@ fn Run() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -104,11 +104,11 @@ fn Run() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -117,20 +117,20 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Class.G.decl: %Class.G.type = fn_decl @Class.G [concrete = constants.%Class.G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc20: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc20: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -146,12 +146,12 @@ fn Run() { // CHECK:STDOUT: fn @Class.F() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc17_13.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc17_13.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc17_13.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc17_13.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc17: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc17_13.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc17_13.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc17: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] // CHECK:STDOUT: return %.loc17 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -165,20 +165,20 @@ fn Run() { // CHECK:STDOUT: fn @F() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc26_11.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc26_11.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc26_11.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc26_11.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc26: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc26_11.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc26_11.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc26: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.228] // CHECK:STDOUT: return %.loc26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt // CHECK:STDOUT: %F.ref.loc30: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] @@ -187,8 +187,8 @@ fn Run() { // CHECK:STDOUT: %i32.loc30: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: ref %i32 = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt // CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] @@ -197,9 +197,9 @@ fn Run() { // CHECK:STDOUT: assign %b.var, %Class.F.call // CHECK:STDOUT: %i32.loc31: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound.loc31: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc31: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc31: init %empty_tuple.type = call %Destroy.Op.bound.loc31(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc30: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc30: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc30: init %empty_tuple.type = call %Destroy.Op.bound.loc30(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/self/fail_ref_self.carbon b/toolchain/check/testdata/class/self/fail_ref_self.carbon index 0369649770fe..4dc5b65dc91b 100644 --- a/toolchain/check/testdata/class/self/fail_ref_self.carbon +++ b/toolchain/check/testdata/class/self/fail_ref_self.carbon @@ -39,22 +39,22 @@ fn F(c: Class, p: Class*) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Class: type = class_type @Class [concrete] -// CHECK:STDOUT: %pattern_type.138: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %.23c: Core.Form = init_form %Class [concrete] +// CHECK:STDOUT: %.14f: Core.Form = init_form %Class [concrete] // CHECK:STDOUT: %Make.type: type = fn_type @Make [concrete] // CHECK:STDOUT: %Make: %Make.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.bd7: type = ptr_type %Class [concrete] -// CHECK:STDOUT: %pattern_type.9b1: type = pattern_type %ptr.bd7 [concrete] +// CHECK:STDOUT: %ptr.e55: type = ptr_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.732: type = pattern_type %ptr.e55 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc35_8.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc35_8.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -76,36 +76,36 @@ fn F(c: Class, p: Class*) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %Make.decl: %Make.type = fn_decl @Make [concrete = constants.%Make] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.138 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.138 = return_slot_pattern %return.param_patt, %Class.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.415 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.415 = return_slot_pattern %return.param_patt, %Class.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %.loc19: Core.Form = init_form %Class.ref [concrete = constants.%.23c] +// CHECK:STDOUT: %.loc19: Core.Form = init_form %Class.ref [concrete = constants.%.14f] // CHECK:STDOUT: %return.param: ref %Class = out_param call_param0 // CHECK:STDOUT: %return: ref %Class = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.138 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.138 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %p.param_patt: %pattern_type.9b1 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.9b1 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.415 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.732 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.732 = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %c.param: %Class = value_param call_param0 // CHECK:STDOUT: %Class.ref.loc21_9: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] // CHECK:STDOUT: %c: %Class = value_binding c, %c.param -// CHECK:STDOUT: %p.param: %ptr.bd7 = value_param call_param1 -// CHECK:STDOUT: %.loc21: type = splice_block %ptr [concrete = constants.%ptr.bd7] { +// CHECK:STDOUT: %p.param: %ptr.e55 = value_param call_param1 +// CHECK:STDOUT: %.loc21: type = splice_block %ptr [concrete = constants.%ptr.e55] { // CHECK:STDOUT: %Class.ref.loc21_19: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] -// CHECK:STDOUT: %ptr: type = ptr_type %Class.ref.loc21_19 [concrete = constants.%ptr.bd7] +// CHECK:STDOUT: %ptr: type = ptr_type %Class.ref.loc21_19 [concrete = constants.%ptr.e55] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.bd7 = value_binding p, %p.param +// CHECK:STDOUT: %p: %ptr.e55 = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.138 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.138 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: ref %Class = ref_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Class [concrete = constants.%Class] @@ -123,13 +123,13 @@ fn F(c: Class, p: Class*) { // CHECK:STDOUT: // CHECK:STDOUT: fn @Make() -> out %return.param: %Class; // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%c.param: %Class, %p.param: %ptr.bd7) { +// CHECK:STDOUT: fn @F(%c.param: %Class, %p.param: %ptr.e55) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %c.ref: %Class = name_ref c, %c // CHECK:STDOUT: %F.ref.loc29: %Class.F.type = name_ref F, @Class.%Class.F.decl [concrete = constants.%Class.F] // CHECK:STDOUT: %Class.F.bound.loc29: = bound_method %c.ref, %F.ref.loc29 // CHECK:STDOUT: %Class.F.call.loc29: init %empty_tuple.type = call %Class.F.bound.loc29() -// CHECK:STDOUT: %p.ref: %ptr.bd7 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.e55 = name_ref p, %p // CHECK:STDOUT: %.loc32: ref %Class = deref %p.ref // CHECK:STDOUT: %F.ref.loc32: %Class.F.type = name_ref F, @Class.%Class.F.decl [concrete = constants.%Class.F] // CHECK:STDOUT: %Class.F.bound.loc32: = bound_method %.loc32, %F.ref.loc32 @@ -141,7 +141,7 @@ fn F(c: Class, p: Class*) { // CHECK:STDOUT: %F.ref.loc35: %Class.F.type = name_ref F, @Class.%Class.F.decl [concrete = constants.%Class.F] // CHECK:STDOUT: %Class.F.bound.loc35: = bound_method %.loc35_8.2, %F.ref.loc35 // CHECK:STDOUT: %Class.F.call.loc35: init %empty_tuple.type = call %Class.F.bound.loc35(%.loc35_8.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc35_8.2, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc35_8.2, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc35_8.2) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/self/raw_self.carbon b/toolchain/check/testdata/class/self/raw_self.carbon index 134840fc08c2..ab3ce533d473 100644 --- a/toolchain/check/testdata/class/self/raw_self.carbon +++ b/toolchain/check/testdata/class/self/raw_self.carbon @@ -30,35 +30,35 @@ fn Class.G[self: Self](r#self: i32) -> (i32, i32) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Class: type = class_type @Class [concrete] -// CHECK:STDOUT: %pattern_type.138: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F [concrete] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.8e3: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %.88c: Core.Form = init_form %tuple.type.87c [concrete] -// CHECK:STDOUT: %pattern_type.624: type = pattern_type %tuple.type.87c [concrete] +// CHECK:STDOUT: %tuple.79d: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %.ac5: Core.Form = init_form %tuple.type.e5a [concrete] +// CHECK:STDOUT: %pattern_type.7d6: type = pattern_type %tuple.type.e5a [concrete] // CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G [concrete] // CHECK:STDOUT: %Class.G: %Class.G.type = struct_value () [concrete] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %i32 [concrete] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -70,8 +70,8 @@ fn Class.G[self: Self](r#self: i32) -> (i32, i32) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -82,10 +82,10 @@ fn Class.G[self: Self](r#self: i32) -> (i32, i32) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt.loc21_20: %pattern_type.138 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt.loc21_20: %pattern_type.138 = at_binding_pattern self, %self.param_patt.loc21_20 [concrete] -// CHECK:STDOUT: %self.param_patt.loc21_34: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt.loc21_34: %pattern_type.c6b = at_binding_pattern r#self, %self.param_patt.loc21_34 [concrete] +// CHECK:STDOUT: %self.param_patt.loc21_20: %pattern_type.415 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt.loc21_20: %pattern_type.415 = at_binding_pattern self, %self.param_patt.loc21_20 [concrete] +// CHECK:STDOUT: %self.param_patt.loc21_34: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt.loc21_34: %pattern_type.104 = at_binding_pattern r#self, %self.param_patt.loc21_34 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param.loc21_20: ref %Class = ref_param call_param0 // CHECK:STDOUT: %Self.ref.loc21: type = name_ref Self, constants.%Class [concrete = constants.%Class] @@ -95,35 +95,35 @@ fn Class.G[self: Self](r#self: i32) -> (i32, i32) { // CHECK:STDOUT: %self.loc21_34: %i32 = value_binding r#self, %self.param.loc21_34 // CHECK:STDOUT: } // CHECK:STDOUT: %Class.G.decl: %Class.G.type = fn_decl @Class.G [concrete = constants.%Class.G] { -// CHECK:STDOUT: %self.param_patt.loc25_16: %pattern_type.138 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt.loc25_16: %pattern_type.138 = at_binding_pattern self, %self.param_patt.loc25_16 [concrete] -// CHECK:STDOUT: %self.param_patt.loc25_30: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt.loc25_30: %pattern_type.c6b = at_binding_pattern r#self, %self.param_patt.loc25_30 [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.624 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.624 = return_slot_pattern %return.param_patt, %.loc25_49.2 [concrete] +// CHECK:STDOUT: %self.param_patt.loc25_16: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt.loc25_16: %pattern_type.415 = at_binding_pattern self, %self.param_patt.loc25_16 [concrete] +// CHECK:STDOUT: %self.param_patt.loc25_30: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt.loc25_30: %pattern_type.104 = at_binding_pattern r#self, %self.param_patt.loc25_30 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7d6 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7d6 = return_slot_pattern %return.param_patt, %.loc25_49.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc25_41: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc25_46: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc25_49.1: %tuple.type.24b = tuple_literal (%i32.loc25_41, %i32.loc25_46) [concrete = constants.%tuple.8e3] -// CHECK:STDOUT: %.loc25_49.2: type = converted %.loc25_49.1, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] -// CHECK:STDOUT: %.loc25_49.3: Core.Form = init_form %.loc25_49.2 [concrete = constants.%.88c] +// CHECK:STDOUT: %.loc25_49.1: %tuple.type.24b = tuple_literal (%i32.loc25_41, %i32.loc25_46) [concrete = constants.%tuple.79d] +// CHECK:STDOUT: %.loc25_49.2: type = converted %.loc25_49.1, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] +// CHECK:STDOUT: %.loc25_49.3: Core.Form = init_form %.loc25_49.2 [concrete = constants.%.ac5] // CHECK:STDOUT: %self.param.loc25_16: %Class = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc25: type = name_ref Self, constants.%Class [concrete = constants.%Class] // CHECK:STDOUT: %self.loc25_16: %Class = value_binding self, %self.param.loc25_16 // CHECK:STDOUT: %self.param.loc25_30: %i32 = value_param call_param1 // CHECK:STDOUT: %i32.loc25_32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %self.loc25_30: %i32 = value_binding r#self, %self.param.loc25_30 -// CHECK:STDOUT: %return.param.loc25: ref %tuple.type.87c = out_param call_param2 -// CHECK:STDOUT: %return.loc25: ref %tuple.type.87c = return_slot %return.param.loc25 +// CHECK:STDOUT: %return.param.loc25: ref %tuple.type.e5a = out_param call_param2 +// CHECK:STDOUT: %return.loc25: ref %tuple.type.e5a = return_slot %return.param.loc25 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt.loc21_20: %pattern_type.138 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt.loc21_20: %pattern_type.138 = at_binding_pattern self, %self.param_patt.loc21_20 [concrete] -// CHECK:STDOUT: %self.param_patt.loc21_34: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt.loc21_34: %pattern_type.c6b = at_binding_pattern r#self, %self.param_patt.loc21_34 [concrete] +// CHECK:STDOUT: %self.param_patt.loc21_20: %pattern_type.415 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt.loc21_20: %pattern_type.415 = at_binding_pattern self, %self.param_patt.loc21_20 [concrete] +// CHECK:STDOUT: %self.param_patt.loc21_34: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt.loc21_34: %pattern_type.104 = at_binding_pattern r#self, %self.param_patt.loc21_34 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param.loc16_16: ref %Class = ref_param call_param0 // CHECK:STDOUT: %Self.ref.loc16: type = name_ref Self, constants.%Class [concrete = constants.%Class] @@ -133,29 +133,29 @@ fn Class.G[self: Self](r#self: i32) -> (i32, i32) { // CHECK:STDOUT: %self.loc16_30: %i32 = value_binding r#self, %self.param.loc16_30 // CHECK:STDOUT: } // CHECK:STDOUT: %Class.G.decl: %Class.G.type = fn_decl @Class.G [concrete = constants.%Class.G] { -// CHECK:STDOUT: %self.param_patt.loc25_16: %pattern_type.138 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt.loc25_16: %pattern_type.138 = at_binding_pattern self, %self.param_patt.loc25_16 [concrete] -// CHECK:STDOUT: %self.param_patt.loc25_30: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt.loc25_30: %pattern_type.c6b = at_binding_pattern r#self, %self.param_patt.loc25_30 [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.624 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.624 = return_slot_pattern %return.param_patt, %.loc25_49.2 [concrete] +// CHECK:STDOUT: %self.param_patt.loc25_16: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt.loc25_16: %pattern_type.415 = at_binding_pattern self, %self.param_patt.loc25_16 [concrete] +// CHECK:STDOUT: %self.param_patt.loc25_30: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt.loc25_30: %pattern_type.104 = at_binding_pattern r#self, %self.param_patt.loc25_30 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7d6 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7d6 = return_slot_pattern %return.param_patt, %.loc25_49.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc17_37: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc17_42: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc17_45.1: %tuple.type.24b = tuple_literal (%i32.loc17_37, %i32.loc17_42) [concrete = constants.%tuple.8e3] -// CHECK:STDOUT: %.loc17_45.2: type = converted %.loc17_45.1, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] -// CHECK:STDOUT: %.loc17_45.3: Core.Form = init_form %.loc17_45.2 [concrete = constants.%.88c] +// CHECK:STDOUT: %.loc17_45.1: %tuple.type.24b = tuple_literal (%i32.loc17_37, %i32.loc17_42) [concrete = constants.%tuple.79d] +// CHECK:STDOUT: %.loc17_45.2: type = converted %.loc17_45.1, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] +// CHECK:STDOUT: %.loc17_45.3: Core.Form = init_form %.loc17_45.2 [concrete = constants.%.ac5] // CHECK:STDOUT: %self.param.loc17_12: %Class = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc17: type = name_ref Self, constants.%Class [concrete = constants.%Class] // CHECK:STDOUT: %self.loc17_12: %Class = value_binding self, %self.param.loc17_12 // CHECK:STDOUT: %self.param.loc17_26: %i32 = value_param call_param1 // CHECK:STDOUT: %i32.loc17_28: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %self.loc17_26: %i32 = value_binding r#self, %self.param.loc17_26 -// CHECK:STDOUT: %return.param.loc17: ref %tuple.type.87c = out_param call_param2 -// CHECK:STDOUT: %return.loc17: ref %tuple.type.87c = return_slot %return.param.loc17 +// CHECK:STDOUT: %return.param.loc17: ref %tuple.type.e5a = out_param call_param2 +// CHECK:STDOUT: %return.loc17: ref %tuple.type.e5a = return_slot %return.param.loc17 // CHECK:STDOUT: } // CHECK:STDOUT: %.loc18: %Class.elem = field_decl n, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.059] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.edf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -171,7 +171,7 @@ fn Class.G[self: Self](r#self: i32) -> (i32, i32) { // CHECK:STDOUT: %n.ref: %Class.elem = name_ref n, @Class.%.loc18 [concrete = @Class.%.loc18] // CHECK:STDOUT: %.loc22: ref %i32 = class_element_access %self.ref.loc22_3, element0 // CHECK:STDOUT: %self.ref.loc22_12: %i32 = name_ref r#self, %self.loc21_34 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc22_12.1: = bound_method %self.ref.loc22_12, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc22_12.2: = bound_method %self.ref.loc22_12, %specific_fn @@ -180,30 +180,30 @@ fn Class.G[self: Self](r#self: i32) -> (i32, i32) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Class.G(%self.param.loc25_16: %Class, %self.param.loc25_30: %i32) -> out %return.param.loc25: %tuple.type.87c { +// CHECK:STDOUT: fn @Class.G(%self.param.loc25_16: %Class, %self.param.loc25_30: %i32) -> out %return.param.loc25: %tuple.type.e5a { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %self.ref.loc26_11: %Class = name_ref self, %self.loc25_16 // CHECK:STDOUT: %n.ref: %Class.elem = name_ref n, @Class.%.loc18 [concrete = @Class.%.loc18] // CHECK:STDOUT: %.loc26_15.1: ref %i32 = class_element_access %self.ref.loc26_11, element0 // CHECK:STDOUT: %.loc26_15.2: %i32 = acquire_value %.loc26_15.1 // CHECK:STDOUT: %self.ref.loc26_19: %i32 = name_ref r#self, %self.loc25_30 -// CHECK:STDOUT: %.loc26_25.1: %tuple.type.87c = tuple_literal (%.loc26_15.2, %self.ref.loc26_19) -// CHECK:STDOUT: %impl.elem0.loc26_15: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %.loc26_25.1: %tuple.type.e5a = tuple_literal (%.loc26_15.2, %self.ref.loc26_19) +// CHECK:STDOUT: %impl.elem0.loc26_15: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc26_15.1: = bound_method %.loc26_15.2, %impl.elem0.loc26_15 // CHECK:STDOUT: %specific_fn.loc26_15: = specific_function %impl.elem0.loc26_15, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc26_15.2: = bound_method %.loc26_15.2, %specific_fn.loc26_15 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc26_15: init %i32 = call %bound_method.loc26_15.2(%.loc26_15.2) // CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %return.param.loc25, element0 // CHECK:STDOUT: %.loc26_25.2: init %i32 to %tuple.elem0 = in_place_init %Int.as.Copy.impl.Op.call.loc26_15 -// CHECK:STDOUT: %impl.elem0.loc26_19: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc26_19: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc26_19.1: = bound_method %self.ref.loc26_19, %impl.elem0.loc26_19 // CHECK:STDOUT: %specific_fn.loc26_19: = specific_function %impl.elem0.loc26_19, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc26_19.2: = bound_method %self.ref.loc26_19, %specific_fn.loc26_19 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc26_19: init %i32 = call %bound_method.loc26_19.2(%self.ref.loc26_19) // CHECK:STDOUT: %tuple.elem1: ref %i32 = tuple_access %return.param.loc25, element1 // CHECK:STDOUT: %.loc26_25.3: init %i32 to %tuple.elem1 = in_place_init %Int.as.Copy.impl.Op.call.loc26_19 -// CHECK:STDOUT: %.loc26_25.4: init %tuple.type.87c to %return.param.loc25 = tuple_init (%.loc26_25.2, %.loc26_25.3) -// CHECK:STDOUT: %.loc26_26: init %tuple.type.87c = converted %.loc26_25.1, %.loc26_25.4 +// CHECK:STDOUT: %.loc26_25.4: init %tuple.type.e5a to %return.param.loc25 = tuple_init (%.loc26_25.2, %.loc26_25.3) +// CHECK:STDOUT: %.loc26_26: init %tuple.type.e5a = converted %.loc26_25.1, %.loc26_25.4 // CHECK:STDOUT: return %.loc26_26 to %return.param.loc25 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/class/self/raw_self_type.carbon b/toolchain/check/testdata/class/self/raw_self_type.carbon index 94c76f2d0d17..c769d01aa00b 100644 --- a/toolchain/check/testdata/class/self/raw_self_type.carbon +++ b/toolchain/check/testdata/class/self/raw_self_type.carbon @@ -36,34 +36,34 @@ fn MemberNamedSelf.F(unused x: Self, unused y: r#Self) {} // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %ptr.bd7: type = ptr_type %Class [concrete] -// CHECK:STDOUT: %pattern_type.9b1: type = pattern_type %ptr.bd7 [concrete] +// CHECK:STDOUT: %ptr.e55: type = ptr_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.732: type = pattern_type %ptr.e55 [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.e7e: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%ptr.bd7) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.c6c: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%ptr.bd7) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.62a: %T.as.DefaultOrUnformed.impl.Op.type.c6c = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr.bd7, (%DefaultOrUnformed.impl_witness.e7e) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.62a, @T.as.DefaultOrUnformed.impl.Op(%ptr.bd7) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.976: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%ptr.e55) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.80f: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%ptr.e55) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.238: %T.as.DefaultOrUnformed.impl.Op.type.80f = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr.e55, (%DefaultOrUnformed.impl_witness.976) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.238, @T.as.DefaultOrUnformed.impl.Op(%ptr.e55) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.34c: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%Class) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eaf: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Class) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.ef3: %ptr.as.Copy.impl.Op.type.eaf = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.bd7, (%Copy.impl_witness.34c) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.cc1: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9c, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.ef3, @ptr.as.Copy.impl.Op(%Class) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.f8f: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%Class) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.4ac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Class) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.b07: %ptr.as.Copy.impl.Op.type.4ac = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e55, (%Copy.impl_witness.f8f) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7db: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.044: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7db, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.b07, @ptr.as.Copy.impl.Op(%Class) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Destroy.Op.type: type = fn_type @Destroy.Op [concrete] // CHECK:STDOUT: %Destroy.Op: %Destroy.Op.type = struct_value () [concrete] // CHECK:STDOUT: %MemberNamedSelf: type = class_type @MemberNamedSelf [concrete] -// CHECK:STDOUT: %Self.664: type = class_type @Self [concrete] -// CHECK:STDOUT: %pattern_type.eea: type = pattern_type %MemberNamedSelf [concrete] -// CHECK:STDOUT: %pattern_type.892: type = pattern_type %Self.664 [concrete] +// CHECK:STDOUT: %Self.65a: type = class_type @Self [concrete] +// CHECK:STDOUT: %pattern_type.6db: type = pattern_type %MemberNamedSelf [concrete] +// CHECK:STDOUT: %pattern_type.bd9: type = pattern_type %Self.65a [concrete] // CHECK:STDOUT: %MemberNamedSelf.F.type: type = fn_type @MemberNamedSelf.F [concrete] // CHECK:STDOUT: %MemberNamedSelf.F: %MemberNamedSelf.F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -77,11 +77,11 @@ fn MemberNamedSelf.F(unused x: Self, unused y: r#Self) {} // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -95,17 +95,17 @@ fn MemberNamedSelf.F(unused x: Self, unused y: r#Self) {} // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %MemberNamedSelf.decl: type = class_decl @MemberNamedSelf [concrete = constants.%MemberNamedSelf] {} {} // CHECK:STDOUT: %MemberNamedSelf.F.decl: %MemberNamedSelf.F.type = fn_decl @MemberNamedSelf.F [concrete = constants.%MemberNamedSelf.F] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.eea = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.eea = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %y.param_patt: %pattern_type.892 = value_param_pattern [concrete] -// CHECK:STDOUT: %y.patt: %pattern_type.892 = at_binding_pattern y, %y.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.6db = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.6db = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %y.param_patt: %pattern_type.bd9 = value_param_pattern [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.bd9 = at_binding_pattern y, %y.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %x.param.loc28: %MemberNamedSelf = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc28_32: type = name_ref Self, constants.%MemberNamedSelf [concrete = constants.%MemberNamedSelf] // CHECK:STDOUT: %x.loc28: %MemberNamedSelf = value_binding x, %x.param.loc28 -// CHECK:STDOUT: %y.param.loc28: %Self.664 = value_param call_param1 -// CHECK:STDOUT: %Self.ref.loc28_48: type = name_ref r#Self, @MemberNamedSelf.%Self.decl [concrete = constants.%Self.664] -// CHECK:STDOUT: %y.loc28: %Self.664 = value_binding y, %y.param.loc28 +// CHECK:STDOUT: %y.param.loc28: %Self.65a = value_param call_param1 +// CHECK:STDOUT: %Self.ref.loc28_48: type = name_ref r#Self, @MemberNamedSelf.%Self.decl [concrete = constants.%Self.65a] +// CHECK:STDOUT: %y.loc28: %Self.65a = value_binding y, %y.param.loc28 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -120,19 +120,19 @@ fn MemberNamedSelf.F(unused x: Self, unused y: r#Self) {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @MemberNamedSelf { -// CHECK:STDOUT: %Self.decl: type = class_decl @Self [concrete = constants.%Self.664] {} {} +// CHECK:STDOUT: %Self.decl: type = class_decl @Self [concrete = constants.%Self.65a] {} {} // CHECK:STDOUT: %MemberNamedSelf.F.decl: %MemberNamedSelf.F.type = fn_decl @MemberNamedSelf.F [concrete = constants.%MemberNamedSelf.F] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.eea = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.eea = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %y.param_patt: %pattern_type.892 = value_param_pattern [concrete] -// CHECK:STDOUT: %y.patt: %pattern_type.892 = at_binding_pattern y, %y.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.6db = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.6db = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %y.param_patt: %pattern_type.bd9 = value_param_pattern [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.bd9 = at_binding_pattern y, %y.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %x.param.loc25: %MemberNamedSelf = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc25_11: type = name_ref Self, constants.%MemberNamedSelf [concrete = constants.%MemberNamedSelf] // CHECK:STDOUT: %x.loc25: %MemberNamedSelf = value_binding x, %x.param.loc25 -// CHECK:STDOUT: %y.param.loc25: %Self.664 = value_param call_param1 -// CHECK:STDOUT: %Self.ref.loc25_20: type = name_ref r#Self, @MemberNamedSelf.%Self.decl [concrete = constants.%Self.664] -// CHECK:STDOUT: %y.loc25: %Self.664 = value_binding y, %y.param.loc25 +// CHECK:STDOUT: %y.param.loc25: %Self.65a = value_param call_param1 +// CHECK:STDOUT: %Self.ref.loc25_20: type = name_ref r#Self, @MemberNamedSelf.%Self.decl [concrete = constants.%Self.65a] +// CHECK:STDOUT: %y.loc25: %Self.65a = value_binding y, %y.param.loc25 // CHECK:STDOUT: } // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type.357] // CHECK:STDOUT: complete_type_witness = %complete_type @@ -148,46 +148,46 @@ fn MemberNamedSelf.F(unused x: Self, unused y: r#Self) {} // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Self.664 +// CHECK:STDOUT: .Self = constants.%Self.65a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Class.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %Self.patt: %pattern_type.9b1 = ref_binding_pattern r#Self [concrete] -// CHECK:STDOUT: %Self.var_patt: %pattern_type.9b1 = var_pattern %Self.patt [concrete] +// CHECK:STDOUT: %Self.patt: %pattern_type.732 = ref_binding_pattern r#Self [concrete] +// CHECK:STDOUT: %Self.var_patt: %pattern_type.732 = var_pattern %Self.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %Self.var: ref %ptr.bd7 = var %Self.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%ptr.bd7, (constants.%DefaultOrUnformed.impl_witness.e7e) [concrete = constants.%DefaultOrUnformed.facet] -// CHECK:STDOUT: %.loc17_22.1: %DefaultOrUnformed.type = converted constants.%ptr.bd7, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] -// CHECK:STDOUT: %as_type: type = facet_access_type %.loc17_22.1 [concrete = constants.%ptr.bd7] -// CHECK:STDOUT: %.loc17_22.2: type = converted %.loc17_22.1, %as_type [concrete = constants.%ptr.bd7] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.62a, @T.as.DefaultOrUnformed.impl.Op(constants.%ptr.bd7) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %ptr.bd7 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() +// CHECK:STDOUT: %Self.var: ref %ptr.e55 = var %Self.var_patt +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%ptr.e55, (constants.%DefaultOrUnformed.impl_witness.976) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %.loc17_22.1: %DefaultOrUnformed.type = converted constants.%ptr.e55, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %as_type: type = facet_access_type %.loc17_22.1 [concrete = constants.%ptr.e55] +// CHECK:STDOUT: %.loc17_22.2: type = converted %.loc17_22.1, %as_type [concrete = constants.%ptr.e55] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.238, @T.as.DefaultOrUnformed.impl.Op(constants.%ptr.e55) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %ptr.e55 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %Self.var, %T.as.DefaultOrUnformed.impl.Op.call -// CHECK:STDOUT: %.loc17_21: type = splice_block %ptr.loc17 [concrete = constants.%ptr.bd7] { +// CHECK:STDOUT: %.loc17_21: type = splice_block %ptr.loc17 [concrete = constants.%ptr.e55] { // CHECK:STDOUT: %Self.ref.loc17: type = name_ref Self, constants.%Class [concrete = constants.%Class] -// CHECK:STDOUT: %ptr.loc17: type = ptr_type %Self.ref.loc17 [concrete = constants.%ptr.bd7] +// CHECK:STDOUT: %ptr.loc17: type = ptr_type %Self.ref.loc17 [concrete = constants.%ptr.e55] // CHECK:STDOUT: } -// CHECK:STDOUT: %Self: ref %ptr.bd7 = ref_binding r#Self, %Self.var +// CHECK:STDOUT: %Self: ref %ptr.e55 = ref_binding r#Self, %Self.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %p.patt: %pattern_type.9b1 = ref_binding_pattern p [concrete] -// CHECK:STDOUT: %p.var_patt: %pattern_type.9b1 = var_pattern %p.patt [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.732 = ref_binding_pattern p [concrete] +// CHECK:STDOUT: %p.var_patt: %pattern_type.732 = var_pattern %p.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %p.var: ref %ptr.bd7 = var %p.var_patt -// CHECK:STDOUT: %Self.ref.loc18_27: ref %ptr.bd7 = name_ref r#Self, %Self -// CHECK:STDOUT: %.loc18_27: %ptr.bd7 = acquire_value %Self.ref.loc18_27 -// CHECK:STDOUT: %impl.elem0: %.cc1 = impl_witness_access constants.%Copy.impl_witness.34c, element0 [concrete = constants.%ptr.as.Copy.impl.Op.ef3] +// CHECK:STDOUT: %p.var: ref %ptr.e55 = var %p.var_patt +// CHECK:STDOUT: %Self.ref.loc18_27: ref %ptr.e55 = name_ref r#Self, %Self +// CHECK:STDOUT: %.loc18_27: %ptr.e55 = acquire_value %Self.ref.loc18_27 +// CHECK:STDOUT: %impl.elem0: %.044 = impl_witness_access constants.%Copy.impl_witness.f8f, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b07] // CHECK:STDOUT: %bound_method.loc18_27.1: = bound_method %.loc18_27, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%Class) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc18_27.2: = bound_method %.loc18_27, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.bd7 = call %bound_method.loc18_27.2(%.loc18_27) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.e55 = call %bound_method.loc18_27.2(%.loc18_27) // CHECK:STDOUT: assign %p.var, %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: %.loc18_23: type = splice_block %ptr.loc18 [concrete = constants.%ptr.bd7] { +// CHECK:STDOUT: %.loc18_23: type = splice_block %ptr.loc18 [concrete = constants.%ptr.e55] { // CHECK:STDOUT: %Self.ref.loc18_19: type = name_ref Self, constants.%Class [concrete = constants.%Class] -// CHECK:STDOUT: %ptr.loc18: type = ptr_type %Self.ref.loc18_19 [concrete = constants.%ptr.bd7] +// CHECK:STDOUT: %ptr.loc18: type = ptr_type %Self.ref.loc18_19 [concrete = constants.%ptr.e55] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: ref %ptr.bd7 = ref_binding p, %p.var +// CHECK:STDOUT: %p: ref %ptr.e55 = ref_binding p, %p.var // CHECK:STDOUT: %Destroy.Op.bound.loc18: = bound_method %p.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call.loc18: init %empty_tuple.type = call %Destroy.Op.bound.loc18(%p.var) // CHECK:STDOUT: %Destroy.Op.bound.loc17: = bound_method %Self.var, constants.%Destroy.Op @@ -195,9 +195,9 @@ fn MemberNamedSelf.F(unused x: Self, unused y: r#Self) {} // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %ptr.bd7) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %ptr.e55) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @MemberNamedSelf.F(%x.param.loc28: %MemberNamedSelf, %y.param.loc28: %Self.664) { +// CHECK:STDOUT: fn @MemberNamedSelf.F(%x.param.loc28: %MemberNamedSelf, %y.param.loc28: %Self.65a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/class/self/self.carbon b/toolchain/check/testdata/class/self/self.carbon index 6ad1806a1273..497b5b9fbb33 100644 --- a/toolchain/check/testdata/class/self/self.carbon +++ b/toolchain/check/testdata/class/self/self.carbon @@ -50,31 +50,31 @@ class Class { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Class: type = class_type @Class [concrete] -// CHECK:STDOUT: %pattern_type.7c2: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F [concrete] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [concrete] // CHECK:STDOUT: %Class.G.type: type = fn_type @Class.G [concrete] // CHECK:STDOUT: %Class.G: %Class.G.type = struct_value () [concrete] // CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %i32 [concrete] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -86,8 +86,8 @@ class Class { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -98,13 +98,13 @@ class Class { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.7c2 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.7c2 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc11 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc11 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc11: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc11: Core.Form = init_form %i32.loc11 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc11: Core.Form = init_form %i32.loc11 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param.loc11: %Class = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc11: type = name_ref Self, constants.%Class [concrete = constants.%Class] // CHECK:STDOUT: %self.loc11: %Class = value_binding self, %self.param.loc11 @@ -112,13 +112,13 @@ class Class { // CHECK:STDOUT: %return.loc11: ref %i32 = return_slot %return.param.loc11 // CHECK:STDOUT: } // CHECK:STDOUT: %Class.G.decl: %Class.G.type = fn_decl @Class.G [concrete = constants.%Class.G] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.7c2 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.7c2 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param.loc15: ref %Class = ref_param call_param0 // CHECK:STDOUT: %Self.ref.loc15: type = name_ref Self, constants.%Class [concrete = constants.%Class] // CHECK:STDOUT: %self.loc15: ref %Class = ref_binding self, %self.param.loc15 @@ -129,13 +129,13 @@ class Class { // CHECK:STDOUT: // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.7c2 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.7c2 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc11 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc11 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc5: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc5: Core.Form = init_form %i32.loc5 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc5: Core.Form = init_form %i32.loc5 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param.loc5: %Class = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc5: type = name_ref Self, constants.%Class [concrete = constants.%Class] // CHECK:STDOUT: %self.loc5: %Class = value_binding self, %self.param.loc5 @@ -143,13 +143,13 @@ class Class { // CHECK:STDOUT: %return.loc5: ref %i32 = return_slot %return.param.loc5 // CHECK:STDOUT: } // CHECK:STDOUT: %Class.G.decl: %Class.G.type = fn_decl @Class.G [concrete = constants.%Class.G] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.7c2 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.7c2 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc6: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6: Core.Form = init_form %i32.loc6 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc6: Core.Form = init_form %i32.loc6 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param.loc6: ref %Class = ref_param call_param0 // CHECK:STDOUT: %Self.ref.loc6: type = name_ref Self, constants.%Class [concrete = constants.%Class] // CHECK:STDOUT: %self.loc6: ref %Class = ref_binding self, %self.param.loc6 @@ -157,7 +157,7 @@ class Class { // CHECK:STDOUT: %return.loc6: ref %i32 = return_slot %return.param.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: %.loc8: %Class.elem = field_decl n, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.059] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.edf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -173,7 +173,7 @@ class Class { // CHECK:STDOUT: %n.ref: %Class.elem = name_ref n, @Class.%.loc8 [concrete = @Class.%.loc8] // CHECK:STDOUT: %.loc12_14.1: ref %i32 = class_element_access %self.ref, element0 // CHECK:STDOUT: %.loc12_14.2: %i32 = acquire_value %.loc12_14.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc12_14.1: = bound_method %.loc12_14.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc12_14.2: = bound_method %.loc12_14.2, %specific_fn @@ -187,7 +187,7 @@ class Class { // CHECK:STDOUT: %n.ref: %Class.elem = name_ref n, @Class.%.loc8 [concrete = @Class.%.loc8] // CHECK:STDOUT: %.loc16_14.1: ref %i32 = class_element_access %self.ref, element0 // CHECK:STDOUT: %.loc16_14.2: %i32 = acquire_value %.loc16_14.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc16_14.1: = bound_method %.loc16_14.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_14.2: = bound_method %.loc16_14.2, %specific_fn @@ -199,9 +199,9 @@ class Class { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Class: type = class_type @Class [concrete] -// CHECK:STDOUT: %pattern_type.345: type = pattern_type %Class [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F [concrete] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] @@ -214,7 +214,7 @@ class Class { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -228,8 +228,8 @@ class Class { // CHECK:STDOUT: // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.345 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.345 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.patt: = return_slot_pattern , [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.ref: %Class = name_ref self, %self diff --git a/toolchain/check/testdata/class/self/self_type.carbon b/toolchain/check/testdata/class/self/self_type.carbon index 5a9cdfd12300..4e7bca8b12d6 100644 --- a/toolchain/check/testdata/class/self/self_type.carbon +++ b/toolchain/check/testdata/class/self/self_type.carbon @@ -30,41 +30,41 @@ fn Class.F[self: Self]() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Class: type = class_type @Class [concrete] -// CHECK:STDOUT: %pattern_type.138: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Class.F.type: type = fn_type @Class.F [concrete] // CHECK:STDOUT: %Class.F: %Class.F.type = struct_value () [concrete] -// CHECK:STDOUT: %.23c: Core.Form = init_form %Class [concrete] +// CHECK:STDOUT: %.14f: Core.Form = init_form %Class [concrete] // CHECK:STDOUT: %Class.Make.type: type = fn_type @Class.Make [concrete] // CHECK:STDOUT: %Class.Make: %Class.Make.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.bd7: type = ptr_type %Class [concrete] -// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %ptr.bd7 [concrete] -// CHECK:STDOUT: %struct_type.p: type = struct_type {.p: %ptr.bd7} [concrete] -// CHECK:STDOUT: %complete_type.5cf: = complete_type_witness %struct_type.p [concrete] +// CHECK:STDOUT: %ptr.e55: type = ptr_type %Class [concrete] +// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, %ptr.e55 [concrete] +// CHECK:STDOUT: %struct_type.p: type = struct_type {.p: %ptr.e55} [concrete] +// CHECK:STDOUT: %complete_type.fc8: = complete_type_witness %struct_type.p [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.96e: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%Class) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.82e: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.677: %T.as.DefaultOrUnformed.impl.Op.type.82e = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Class, (%DefaultOrUnformed.impl_witness.96e) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.677, @T.as.DefaultOrUnformed.impl.Op(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.410: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.f58: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Class) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.795: %T.as.DefaultOrUnformed.impl.Op.type.f58 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Class, (%DefaultOrUnformed.impl_witness.410) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.795, @T.as.DefaultOrUnformed.impl.Op(%Class) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.34c: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%Class) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eaf: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Class) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.ef3: %ptr.as.Copy.impl.Op.type.eaf = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.bd7, (%Copy.impl_witness.34c) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.cc1: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9c, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.ef3, @ptr.as.Copy.impl.Op(%Class) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.f8f: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%Class) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.4ac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Class) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.b07: %ptr.as.Copy.impl.Op.type.4ac = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e55, (%Copy.impl_witness.f8f) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7db: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.044: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7db, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.b07, @ptr.as.Copy.impl.Op(%Class) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -77,11 +77,11 @@ fn Class.F[self: Self]() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -92,13 +92,13 @@ fn Class.F[self: Self]() -> i32 { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.138 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.138 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc25 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc25 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc25: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32.loc25 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32.loc25 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param.loc25: %Class = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc25: type = name_ref Self, constants.%Class [concrete = constants.%Class] // CHECK:STDOUT: %self.loc25: %Class = value_binding self, %self.param.loc25 @@ -109,13 +109,13 @@ fn Class.F[self: Self]() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: class @Class { // CHECK:STDOUT: %Class.F.decl: %Class.F.type = fn_decl @Class.F [concrete = constants.%Class.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.138 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.138 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc25 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.415 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.415 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc25 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32.loc16 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %i32.loc16 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param.loc16: %Class = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc16: type = name_ref Self, constants.%Class [concrete = constants.%Class] // CHECK:STDOUT: %self.loc16: %Class = value_binding self, %self.param.loc16 @@ -123,16 +123,16 @@ fn Class.F[self: Self]() -> i32 { // CHECK:STDOUT: %return.loc16: ref %i32 = return_slot %return.param.loc16 // CHECK:STDOUT: } // CHECK:STDOUT: %Class.Make.decl: %Class.Make.type = fn_decl @Class.Make [concrete = constants.%Class.Make] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.138 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.138 = return_slot_pattern %return.param_patt, %Self.ref.loc17 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.415 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.415 = return_slot_pattern %return.param_patt, %Self.ref.loc17 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.ref.loc17: type = name_ref Self, constants.%Class [concrete = constants.%Class] -// CHECK:STDOUT: %.loc17_16.2: Core.Form = init_form %Self.ref.loc17 [concrete = constants.%.23c] +// CHECK:STDOUT: %.loc17_16.2: Core.Form = init_form %Self.ref.loc17 [concrete = constants.%.14f] // CHECK:STDOUT: %return.param: ref %Class = out_param call_param0 // CHECK:STDOUT: %return: ref %Class = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %.loc22: %Class.elem = field_decl p, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.p [concrete = constants.%complete_type.5cf] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.p [concrete = constants.%complete_type.fc8] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -146,8 +146,8 @@ fn Class.F[self: Self]() -> i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %self.ref: %Class = name_ref self, %self.loc25 // CHECK:STDOUT: %p.ref: %Class.elem = name_ref p, @Class.%.loc22 [concrete = @Class.%.loc22] -// CHECK:STDOUT: %.loc26_16.1: ref %ptr.bd7 = class_element_access %self.ref, element0 -// CHECK:STDOUT: %.loc26_16.2: %ptr.bd7 = acquire_value %.loc26_16.1 +// CHECK:STDOUT: %.loc26_16.1: ref %ptr.e55 = class_element_access %self.ref, element0 +// CHECK:STDOUT: %.loc26_16.2: %ptr.e55 = acquire_value %.loc26_16.1 // CHECK:STDOUT: %.loc26_11.1: ref %Class = deref %.loc26_16.2 // CHECK:STDOUT: %F.ref: %Class.F.type = name_ref F, @Class.%Class.F.decl [concrete = constants.%Class.F] // CHECK:STDOUT: %Class.F.bound: = bound_method %.loc26_11.1, %F.ref @@ -159,14 +159,14 @@ fn Class.F[self: Self]() -> i32 { // CHECK:STDOUT: fn @Class.Make() -> out %return.param: %Class { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %s.patt: %pattern_type.138 = ref_binding_pattern s [concrete] -// CHECK:STDOUT: %s.var_patt: %pattern_type.138 = var_pattern %s.patt [concrete] +// CHECK:STDOUT: %s.patt: %pattern_type.415 = ref_binding_pattern s [concrete] +// CHECK:STDOUT: %s.var_patt: %pattern_type.415 = var_pattern %s.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Class, (constants.%DefaultOrUnformed.impl_witness.96e) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Class, (constants.%DefaultOrUnformed.impl_witness.410) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc18_25.1: %DefaultOrUnformed.type = converted constants.%Class, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc18_25.1 [concrete = constants.%Class] // CHECK:STDOUT: %.loc18_25.2: type = converted %.loc18_25.1, %as_type [concrete = constants.%Class] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.677, @T.as.DefaultOrUnformed.impl.Op(constants.%Class) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.795, @T.as.DefaultOrUnformed.impl.Op(constants.%Class) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %.loc17_16.1: ref %Class = splice_block %return.param {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %Class to %.loc17_16.1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %return.param, %T.as.DefaultOrUnformed.impl.Op.call @@ -174,15 +174,15 @@ fn Class.F[self: Self]() -> i32 { // CHECK:STDOUT: %s: ref %Class = ref_binding s, %return.param // CHECK:STDOUT: %s.ref.loc19_5: ref %Class = name_ref s, %s // CHECK:STDOUT: %s.ref.loc19_16: ref %Class = name_ref s, %s -// CHECK:STDOUT: %addr: %ptr.bd7 = addr_of %s.ref.loc19_16 +// CHECK:STDOUT: %addr: %ptr.e55 = addr_of %s.ref.loc19_16 // CHECK:STDOUT: %.loc19_17.1: %struct_type.p = struct_literal (%addr) -// CHECK:STDOUT: %impl.elem0: %.cc1 = impl_witness_access constants.%Copy.impl_witness.34c, element0 [concrete = constants.%ptr.as.Copy.impl.Op.ef3] +// CHECK:STDOUT: %impl.elem0: %.044 = impl_witness_access constants.%Copy.impl_witness.f8f, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b07] // CHECK:STDOUT: %bound_method.loc19_15.1: = bound_method %addr, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%Class) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc19_15.2: = bound_method %addr, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.bd7 = call %bound_method.loc19_15.2(%addr) -// CHECK:STDOUT: %.loc19_17.2: ref %ptr.bd7 = class_element_access %s.ref.loc19_5, element0 -// CHECK:STDOUT: %.loc19_17.3: init %ptr.bd7 to %.loc19_17.2 = in_place_init %ptr.as.Copy.impl.Op.call +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.e55 = call %bound_method.loc19_15.2(%addr) +// CHECK:STDOUT: %.loc19_17.2: ref %ptr.e55 = class_element_access %s.ref.loc19_5, element0 +// CHECK:STDOUT: %.loc19_17.3: init %ptr.e55 to %.loc19_17.2 = in_place_init %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: %.loc19_17.4: init %Class to %s.ref.loc19_5 = class_init (%.loc19_17.3) // CHECK:STDOUT: %.loc19_7: init %Class = converted %.loc19_17.1, %.loc19_17.4 // CHECK:STDOUT: assign %s.ref.loc19_5, %.loc19_7 diff --git a/toolchain/check/testdata/class/syntactic_merge.carbon b/toolchain/check/testdata/class/syntactic_merge.carbon index 29d8fc5f6b16..1d0b26342d69 100644 --- a/toolchain/check/testdata/class/syntactic_merge.carbon +++ b/toolchain/check/testdata/class/syntactic_merge.carbon @@ -378,11 +378,11 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.95c5f5.1: type = generic_class_type @Foo.loc6 [concrete] -// CHECK:STDOUT: %Foo.generic.eac573.1: %Foo.type.95c5f5.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.95c5f5.2: type = generic_class_type @Foo.loc14 [concrete] -// CHECK:STDOUT: %Foo.generic.eac573.2: %Foo.type.95c5f5.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.3e25bb.2: type = class_type @Foo.loc14, @Foo.loc14(%a) [symbolic] +// CHECK:STDOUT: %Foo.type.8322fe.1: type = generic_class_type @Foo.loc6 [concrete] +// CHECK:STDOUT: %Foo.generic.76fafe.1: %Foo.type.8322fe.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.8322fe.2: type = generic_class_type @Foo.loc14 [concrete] +// CHECK:STDOUT: %Foo.generic.76fafe.2: %Foo.type.8322fe.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.65bec3.2: type = class_type @Foo.loc14, @Foo.loc14(%a) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -391,7 +391,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: .Foo = %Foo.decl.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.95c5f5.1 = class_decl @Foo.loc6 [concrete = constants.%Foo.generic.eac573.1] { +// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.8322fe.1 = class_decl @Foo.loc6 [concrete = constants.%Foo.generic.76fafe.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6: type = splice_block %C.ref [concrete = constants.%C] { @@ -400,7 +400,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc6_12.2: %C = symbolic_binding a, 0 [symbolic = %a.loc6_12.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.95c5f5.2 = class_decl @Foo.loc14 [concrete = constants.%Foo.generic.eac573.2] { +// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.8322fe.2 = class_decl @Foo.loc14 [concrete = constants.%Foo.generic.76fafe.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc14: type = splice_block %C.ref [concrete = constants.%C] { @@ -435,7 +435,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Foo.3e25bb.2 +// CHECK:STDOUT: .Self = constants.%Foo.65bec3.2 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -457,11 +457,11 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.ca2247.1: type = generic_class_type @Foo.loc6 [concrete] -// CHECK:STDOUT: %Foo.generic.ac6dbc.1: %Foo.type.ca2247.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.ca2247.2: type = generic_class_type @Foo.loc14 [concrete] -// CHECK:STDOUT: %Foo.generic.ac6dbc.2: %Foo.type.ca2247.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.877b4b.2: type = class_type @Foo.loc14, @Foo.loc14(%a) [symbolic] +// CHECK:STDOUT: %Foo.type.8322fe.1: type = generic_class_type @Foo.loc6 [concrete] +// CHECK:STDOUT: %Foo.generic.76fafe.1: %Foo.type.8322fe.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.8322fe.2: type = generic_class_type @Foo.loc14 [concrete] +// CHECK:STDOUT: %Foo.generic.76fafe.2: %Foo.type.8322fe.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.65bec3.2: type = class_type @Foo.loc14, @Foo.loc14(%a) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -470,7 +470,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: .Foo = %Foo.decl.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.ca2247.1 = class_decl @Foo.loc6 [concrete = constants.%Foo.generic.ac6dbc.1] { +// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.8322fe.1 = class_decl @Foo.loc6 [concrete = constants.%Foo.generic.76fafe.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6: type = splice_block %C.ref [concrete = constants.%C] { @@ -479,7 +479,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc6_12.2: %C = symbolic_binding a, 0 [symbolic = %a.loc6_12.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.ca2247.2 = class_decl @Foo.loc14 [concrete = constants.%Foo.generic.ac6dbc.2] { +// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.8322fe.2 = class_decl @Foo.loc14 [concrete = constants.%Foo.generic.76fafe.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc14: type = splice_block %C.ref [concrete = constants.%C] { @@ -514,7 +514,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Foo.877b4b.2 +// CHECK:STDOUT: .Self = constants.%Foo.65bec3.2 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -622,9 +622,9 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: %Main.C: type = import_ref Main//two_file, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.D: type = import_ref Main//two_file, D, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//two_file, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.6ef = import_ref Main//two_file, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.bb90b9.1: %C = import_ref Main//two_file, loc7_12, loaded [symbolic = @Foo.%a.1 (constants.%a)] -// CHECK:STDOUT: %Main.import_ref.bb90b9.2: %C = import_ref Main//two_file, loc8_12, loaded [symbolic = @Bar.%a.1 (constants.%a)] +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//two_file, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.068985.1: %C = import_ref Main//two_file, loc7_12, loaded [symbolic = @Foo.%a.1 (constants.%a)] +// CHECK:STDOUT: %Main.import_ref.068985.2: %C = import_ref Main//two_file, loc8_12, loaded [symbolic = @Bar.%a.1 (constants.%a)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -660,10 +660,10 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.6ef +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic class @Foo(imports.%Main.import_ref.bb90b9.1: %C) { +// CHECK:STDOUT: generic class @Foo(imports.%Main.import_ref.068985.1: %C) { // CHECK:STDOUT: %a.1: %C = symbolic_binding a, 0 [symbolic = %a.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: @@ -677,7 +677,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic class @Bar(imports.%Main.import_ref.bb90b9.2: %C) { +// CHECK:STDOUT: generic class @Bar(imports.%Main.import_ref.068985.2: %C) { // CHECK:STDOUT: %a.1: %C = symbolic_binding a, 0 [symbolic = %a.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: @@ -709,12 +709,12 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.098d58.1: type = generic_class_type @Foo.loc7 [concrete] -// CHECK:STDOUT: %Foo.generic.9da959.1: %Foo.type.098d58.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.8322fe.1: type = generic_class_type @Foo.loc7 [concrete] +// CHECK:STDOUT: %Foo.generic.76fafe.1: %Foo.type.8322fe.1 = struct_value () [concrete] // CHECK:STDOUT: %b: %C = symbolic_binding b, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.098d58.2: type = generic_class_type @Foo.loc15 [concrete] -// CHECK:STDOUT: %Foo.generic.9da959.2: %Foo.type.098d58.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.7cfc50.2: type = class_type @Foo.loc15, @Foo.loc15(%b) [symbolic] +// CHECK:STDOUT: %Foo.type.8322fe.2: type = generic_class_type @Foo.loc15 [concrete] +// CHECK:STDOUT: %Foo.generic.76fafe.2: %Foo.type.8322fe.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.65bec3.2: type = class_type @Foo.loc15, @Foo.loc15(%b) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -726,7 +726,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %D: type = alias_binding D, %C.ref [concrete = constants.%C] -// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.098d58.1 = class_decl @Foo.loc7 [concrete = constants.%Foo.generic.9da959.1] { +// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.8322fe.1 = class_decl @Foo.loc7 [concrete = constants.%Foo.generic.76fafe.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7: type = splice_block %C.ref [concrete = constants.%C] { @@ -735,7 +735,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc7_12.2: %C = symbolic_binding a, 0 [symbolic = %a.loc7_12.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.098d58.2 = class_decl @Foo.loc15 [concrete = constants.%Foo.generic.9da959.2] { +// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.8322fe.2 = class_decl @Foo.loc15 [concrete = constants.%Foo.generic.76fafe.2] { // CHECK:STDOUT: %b.patt: %pattern_type = symbolic_binding_pattern b, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15: type = splice_block %D.ref [concrete = constants.%C] { @@ -770,7 +770,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Foo.7cfc50.2 +// CHECK:STDOUT: .Self = constants.%Foo.65bec3.2 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -792,11 +792,11 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.4caa4a.1: type = generic_class_type @Foo.loc7 [concrete] -// CHECK:STDOUT: %Foo.generic.89bb31.1: %Foo.type.4caa4a.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.4caa4a.2: type = generic_class_type @Foo.loc15 [concrete] -// CHECK:STDOUT: %Foo.generic.89bb31.2: %Foo.type.4caa4a.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.f42048.2: type = class_type @Foo.loc15, @Foo.loc15(%a) [symbolic] +// CHECK:STDOUT: %Foo.type.8322fe.1: type = generic_class_type @Foo.loc7 [concrete] +// CHECK:STDOUT: %Foo.generic.76fafe.1: %Foo.type.8322fe.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.8322fe.2: type = generic_class_type @Foo.loc15 [concrete] +// CHECK:STDOUT: %Foo.generic.76fafe.2: %Foo.type.8322fe.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.65bec3.2: type = class_type @Foo.loc15, @Foo.loc15(%a) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -808,7 +808,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %D: type = alias_binding D, %C.ref [concrete = constants.%C] -// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.4caa4a.1 = class_decl @Foo.loc7 [concrete = constants.%Foo.generic.89bb31.1] { +// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.8322fe.1 = class_decl @Foo.loc7 [concrete = constants.%Foo.generic.76fafe.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7: type = splice_block %C.ref [concrete = constants.%C] { @@ -817,7 +817,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc7_12.2: %C = symbolic_binding a, 0 [symbolic = %a.loc7_12.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.4caa4a.2 = class_decl @Foo.loc15 [concrete = constants.%Foo.generic.89bb31.2] { +// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.8322fe.2 = class_decl @Foo.loc15 [concrete = constants.%Foo.generic.76fafe.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15: type = splice_block %D.ref [concrete = constants.%C] { @@ -852,7 +852,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Foo.f42048.2 +// CHECK:STDOUT: .Self = constants.%Foo.65bec3.2 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -874,11 +874,11 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.6e4d1a.1: type = generic_class_type @Foo.loc7 [concrete] -// CHECK:STDOUT: %Foo.generic.69114d.1: %Foo.type.6e4d1a.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.6e4d1a.2: type = generic_class_type @Foo.loc15 [concrete] -// CHECK:STDOUT: %Foo.generic.69114d.2: %Foo.type.6e4d1a.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.2e8ba8.2: type = class_type @Foo.loc15, @Foo.loc15(%a) [symbolic] +// CHECK:STDOUT: %Foo.type.8322fe.1: type = generic_class_type @Foo.loc7 [concrete] +// CHECK:STDOUT: %Foo.generic.76fafe.1: %Foo.type.8322fe.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.8322fe.2: type = generic_class_type @Foo.loc15 [concrete] +// CHECK:STDOUT: %Foo.generic.76fafe.2: %Foo.type.8322fe.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.65bec3.2: type = class_type @Foo.loc15, @Foo.loc15(%a) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -890,7 +890,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %D: type = alias_binding D, %C.ref [concrete = constants.%C] -// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.6e4d1a.1 = class_decl @Foo.loc7 [concrete = constants.%Foo.generic.69114d.1] { +// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.8322fe.1 = class_decl @Foo.loc7 [concrete = constants.%Foo.generic.76fafe.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7: type = splice_block %C.ref [concrete = constants.%C] { @@ -899,7 +899,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc7_12.2: %C = symbolic_binding a, 0 [symbolic = %a.loc7_12.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.6e4d1a.2 = class_decl @Foo.loc15 [concrete = constants.%Foo.generic.69114d.2] { +// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.8322fe.2 = class_decl @Foo.loc15 [concrete = constants.%Foo.generic.76fafe.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15: type = splice_block %D.ref [concrete = constants.%C] { @@ -934,7 +934,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Foo.2e8ba8.2 +// CHECK:STDOUT: .Self = constants.%Foo.65bec3.2 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1013,8 +1013,8 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//alias_two_file, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//alias_two_file, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.3ad = import_ref Main//alias_two_file, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.6f0: %C = import_ref Main//alias_two_file, loc6_12, loaded [symbolic = @Foo.%a.1 (constants.%a)] +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//alias_two_file, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.068: %C = import_ref Main//alias_two_file, loc6_12, loaded [symbolic = @Foo.%a.1 (constants.%a)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1042,10 +1042,10 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.3ad +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic class @Foo(imports.%Main.import_ref.6f0: %C) { +// CHECK:STDOUT: generic class @Foo(imports.%Main.import_ref.068: %C) { // CHECK:STDOUT: %a.1: %C = symbolic_binding a, 0 [symbolic = %a.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: @@ -1074,11 +1074,11 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: %const: type = const_type %C [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %const [concrete] // CHECK:STDOUT: %a: %const = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.5533e4.1: type = generic_class_type @Foo.loc6 [concrete] -// CHECK:STDOUT: %Foo.generic.8a64e3.1: %Foo.type.5533e4.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.5533e4.2: type = generic_class_type @Foo.loc18 [concrete] -// CHECK:STDOUT: %Foo.generic.8a64e3.2: %Foo.type.5533e4.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.c06ac5.2: type = class_type @Foo.loc18, @Foo.loc18(%a) [symbolic] +// CHECK:STDOUT: %Foo.type.8322fe.1: type = generic_class_type @Foo.loc6 [concrete] +// CHECK:STDOUT: %Foo.generic.76fafe.1: %Foo.type.8322fe.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.8322fe.2: type = generic_class_type @Foo.loc18 [concrete] +// CHECK:STDOUT: %Foo.generic.76fafe.2: %Foo.type.8322fe.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.662c69.2: type = class_type @Foo.loc18, @Foo.loc18(%a) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1087,7 +1087,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: .Foo = %Foo.decl.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.5533e4.1 = class_decl @Foo.loc6 [concrete = constants.%Foo.generic.8a64e3.1] { +// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.8322fe.1 = class_decl @Foo.loc6 [concrete = constants.%Foo.generic.76fafe.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6: type = splice_block %const [concrete = constants.%const] { @@ -1097,7 +1097,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc6_12.2: %const = symbolic_binding a, 0 [symbolic = %a.loc6_12.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc18: %Foo.type.5533e4.2 = class_decl @Foo.loc18 [concrete = constants.%Foo.generic.8a64e3.2] { +// CHECK:STDOUT: %Foo.decl.loc18: %Foo.type.8322fe.2 = class_decl @Foo.loc18 [concrete = constants.%Foo.generic.76fafe.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc18: type = splice_block %const.loc18_15 [concrete = constants.%const] { @@ -1134,7 +1134,7 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Foo.c06ac5.2 +// CHECK:STDOUT: .Self = constants.%Foo.662c69.2 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1153,13 +1153,13 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %empty_tuple.type [concrete] -// CHECK:STDOUT: %pattern_type.c12: type = pattern_type %Base [concrete] -// CHECK:STDOUT: %Base.F.type.46305d.1: type = fn_type @Base.F.loc7 [concrete] -// CHECK:STDOUT: %Base.F.3f090e.1: %Base.F.type.46305d.1 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.116: type = pattern_type %Base [concrete] +// CHECK:STDOUT: %Base.F.type.9e994f.1: type = fn_type @Base.F.loc7 [concrete] +// CHECK:STDOUT: %Base.F.c7843c.1: %Base.F.type.9e994f.1 = struct_value () [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.a [concrete] -// CHECK:STDOUT: %Base.F.type.46305d.2: type = fn_type @Base.F.loc17 [concrete] -// CHECK:STDOUT: %Base.F.3f090e.2: %Base.F.type.46305d.2 = struct_value () [concrete] +// CHECK:STDOUT: %Base.F.type.9e994f.2: type = fn_type @Base.F.loc17 [concrete] +// CHECK:STDOUT: %Base.F.c7843c.2: %Base.F.type.9e994f.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1167,9 +1167,9 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: .Base = %Base.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Base.decl: type = class_decl @Base [concrete = constants.%Base] {} {} -// CHECK:STDOUT: %Base.F.decl: %Base.F.type.46305d.2 = fn_decl @Base.F.loc17 [concrete = constants.%Base.F.3f090e.2] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.c12 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.c12 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %Base.F.decl: %Base.F.type.9e994f.2 = fn_decl @Base.F.loc17 [concrete = constants.%Base.F.c7843c.2] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.116 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.116 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: ref %Base = ref_param call_param0 // CHECK:STDOUT: %Base.ref: type = name_ref Base, file.%Base.decl [concrete = constants.%Base] @@ -1179,9 +1179,9 @@ fn Base.F[ref self: Base]() { // CHECK:STDOUT: // CHECK:STDOUT: class @Base { // CHECK:STDOUT: %.loc5: %Base.elem = field_decl a, element0 [concrete] -// CHECK:STDOUT: %Base.F.decl: %Base.F.type.46305d.1 = fn_decl @Base.F.loc7 [concrete = constants.%Base.F.3f090e.1] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.c12 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.c12 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %Base.F.decl: %Base.F.type.9e994f.1 = fn_decl @Base.F.loc7 [concrete = constants.%Base.F.c7843c.1] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.116 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.116 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: ref %Base = ref_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Base [concrete = constants.%Base] diff --git a/toolchain/check/testdata/class/syntactic_merge_literal.carbon b/toolchain/check/testdata/class/syntactic_merge_literal.carbon index a41d053a5d9f..4fc7a57ed6ed 100644 --- a/toolchain/check/testdata/class/syntactic_merge_literal.carbon +++ b/toolchain/check/testdata/class/syntactic_merge_literal.carbon @@ -44,33 +44,33 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %a: %i32 = symbolic_binding a, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.b30: type = class_type @C, @C(%a) [symbolic] +// CHECK:STDOUT: %C.9c1: type = class_type @C, @C(%a) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %int_1000.ff9: Core.IntLiteral = int_value 1000 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1000.ff9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1000.ff9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1000.ff9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1000.0de: %i32 = int_value 1000 [concrete] -// CHECK:STDOUT: %C.8d2: type = class_type @C, @C(%int_1000.0de) [concrete] -// CHECK:STDOUT: %pattern_type.c5d: type = pattern_type %C.8d2 [concrete] -// CHECK:STDOUT: %b: %C.8d2 = symbolic_binding b, 0 [symbolic] +// CHECK:STDOUT: %int_1000.693: %i32 = int_value 1000 [concrete] +// CHECK:STDOUT: %C.ca5: type = class_type @C, @C(%int_1000.693) [concrete] +// CHECK:STDOUT: %pattern_type.820: type = pattern_type %C.ca5 [concrete] +// CHECK:STDOUT: %b: %C.ca5 = symbolic_binding b, 0 [symbolic] // CHECK:STDOUT: %D.type: type = generic_class_type @D [concrete] // CHECK:STDOUT: %D.generic: %D.type = struct_value () [concrete] // CHECK:STDOUT: %D: type = class_type @D, @D(%b) [symbolic] @@ -84,9 +84,9 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -97,7 +97,7 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: %C.type = class_decl @C [concrete = constants.%C.generic] { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = symbolic_binding_pattern a, 0 [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4: type = splice_block %i32 [concrete = constants.%i32] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -106,40 +106,40 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: %a.loc4_10.2: %i32 = symbolic_binding a, 0 [symbolic = %a.loc4_10.1 (constants.%a)] // CHECK:STDOUT: } // CHECK:STDOUT: %D.decl.loc5: %D.type = class_decl @D [concrete = constants.%D.generic] { -// CHECK:STDOUT: %b.patt: %pattern_type.c5d = symbolic_binding_pattern b, 0 [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.820 = symbolic_binding_pattern b, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc5_20.1: type = splice_block %C.loc5 [concrete = constants.%C.8d2] { +// CHECK:STDOUT: %.loc5_20.1: type = splice_block %C.loc5 [concrete = constants.%C.ca5] { // CHECK:STDOUT: %.Self.loc5: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %C.ref.loc5: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_1000.loc5: Core.IntLiteral = int_value 1000 [concrete = constants.%int_1000.ff9] -// CHECK:STDOUT: %impl.elem0.loc5: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc5: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc5_20.1: = bound_method %int_1000.loc5, %impl.elem0.loc5 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc5: = specific_function %impl.elem0.loc5, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc5_20.2: = bound_method %int_1000.loc5, %specific_fn.loc5 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5: init %i32 = call %bound_method.loc5_20.2(%int_1000.loc5) [concrete = constants.%int_1000.0de] -// CHECK:STDOUT: %.loc5_20.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5 [concrete = constants.%int_1000.0de] -// CHECK:STDOUT: %.loc5_20.3: %i32 = converted %int_1000.loc5, %.loc5_20.2 [concrete = constants.%int_1000.0de] -// CHECK:STDOUT: %C.loc5: type = class_type @C, @C(constants.%int_1000.0de) [concrete = constants.%C.8d2] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5: init %i32 = call %bound_method.loc5_20.2(%int_1000.loc5) [concrete = constants.%int_1000.693] +// CHECK:STDOUT: %.loc5_20.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5 [concrete = constants.%int_1000.693] +// CHECK:STDOUT: %.loc5_20.3: %i32 = converted %int_1000.loc5, %.loc5_20.2 [concrete = constants.%int_1000.693] +// CHECK:STDOUT: %C.loc5: type = class_type @C, @C(constants.%int_1000.693) [concrete = constants.%C.ca5] // CHECK:STDOUT: } -// CHECK:STDOUT: %b.loc5_10.2: %C.8d2 = symbolic_binding b, 0 [symbolic = %b.loc5_10.1 (constants.%b)] +// CHECK:STDOUT: %b.loc5_10.2: %C.ca5 = symbolic_binding b, 0 [symbolic = %b.loc5_10.1 (constants.%b)] // CHECK:STDOUT: } // CHECK:STDOUT: %D.decl.loc6: %D.type = class_decl @D [concrete = constants.%D.generic] { -// CHECK:STDOUT: %b.patt: %pattern_type.c5d = symbolic_binding_pattern b, 0 [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.820 = symbolic_binding_pattern b, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc6_20.1: type = splice_block %C.loc6 [concrete = constants.%C.8d2] { +// CHECK:STDOUT: %.loc6_20.1: type = splice_block %C.loc6 [concrete = constants.%C.ca5] { // CHECK:STDOUT: %.Self.loc6: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %C.ref.loc6: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_1000.loc6: Core.IntLiteral = int_value 1000 [concrete = constants.%int_1000.ff9] -// CHECK:STDOUT: %impl.elem0.loc6: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc6: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc6_20.1: = bound_method %int_1000.loc6, %impl.elem0.loc6 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc6: = specific_function %impl.elem0.loc6, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc6_20.2: = bound_method %int_1000.loc6, %specific_fn.loc6 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %i32 = call %bound_method.loc6_20.2(%int_1000.loc6) [concrete = constants.%int_1000.0de] -// CHECK:STDOUT: %.loc6_20.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_1000.0de] -// CHECK:STDOUT: %.loc6_20.3: %i32 = converted %int_1000.loc6, %.loc6_20.2 [concrete = constants.%int_1000.0de] -// CHECK:STDOUT: %C.loc6: type = class_type @C, @C(constants.%int_1000.0de) [concrete = constants.%C.8d2] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6: init %i32 = call %bound_method.loc6_20.2(%int_1000.loc6) [concrete = constants.%int_1000.693] +// CHECK:STDOUT: %.loc6_20.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_1000.693] +// CHECK:STDOUT: %.loc6_20.3: %i32 = converted %int_1000.loc6, %.loc6_20.2 [concrete = constants.%int_1000.693] +// CHECK:STDOUT: %C.loc6: type = class_type @C, @C(constants.%int_1000.693) [concrete = constants.%C.ca5] // CHECK:STDOUT: } -// CHECK:STDOUT: %b.loc6: %C.8d2 = symbolic_binding b, 0 [symbolic = %b.loc5_10.1 (constants.%b)] +// CHECK:STDOUT: %b.loc6: %C.ca5 = symbolic_binding b, 0 [symbolic = %b.loc5_10.1 (constants.%b)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -153,12 +153,12 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.b30 +// CHECK:STDOUT: .Self = constants.%C.9c1 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic class @D(%b.loc5_10.2: %C.8d2) { -// CHECK:STDOUT: %b.loc5_10.1: %C.8d2 = symbolic_binding b, 0 [symbolic = %b.loc5_10.1 (constants.%b)] +// CHECK:STDOUT: generic class @D(%b.loc5_10.2: %C.ca5) { +// CHECK:STDOUT: %b.loc5_10.1: %C.ca5 = symbolic_binding b, 0 [symbolic = %b.loc5_10.1 (constants.%b)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -175,8 +175,8 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: %a.loc4_10.1 => constants.%a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_1000.0de) { -// CHECK:STDOUT: %a.loc4_10.1 => constants.%int_1000.0de +// CHECK:STDOUT: specific @C(constants.%int_1000.693) { +// CHECK:STDOUT: %a.loc4_10.1 => constants.%int_1000.693 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @D(constants.%b) { @@ -192,38 +192,38 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %a: %i32 = symbolic_binding a, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.fc7: type = class_type @C, @C(%a) [symbolic] +// CHECK:STDOUT: %C.9c1: type = class_type @C, @C(%a) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %int_1000.ff9: Core.IntLiteral = int_value 1000 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1000.ff9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1000.ff9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1000.ff9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1000.0de: %i32 = int_value 1000 [concrete] -// CHECK:STDOUT: %C.06a: type = class_type @C, @C(%int_1000.0de) [concrete] -// CHECK:STDOUT: %pattern_type.671: type = pattern_type %C.06a [concrete] -// CHECK:STDOUT: %b: %C.06a = symbolic_binding b, 0 [symbolic] -// CHECK:STDOUT: %D.type.fefd96.1: type = generic_class_type @D.loc5 [concrete] -// CHECK:STDOUT: %D.generic.463c37.1: %D.type.fefd96.1 = struct_value () [concrete] -// CHECK:STDOUT: %D.type.fefd96.2: type = generic_class_type @D.loc13 [concrete] -// CHECK:STDOUT: %D.generic.463c37.2: %D.type.fefd96.2 = struct_value () [concrete] -// CHECK:STDOUT: %D.5952ba.2: type = class_type @D.loc13, @D.loc13(%b) [symbolic] +// CHECK:STDOUT: %int_1000.693: %i32 = int_value 1000 [concrete] +// CHECK:STDOUT: %C.ca5: type = class_type @C, @C(%int_1000.693) [concrete] +// CHECK:STDOUT: %pattern_type.820: type = pattern_type %C.ca5 [concrete] +// CHECK:STDOUT: %b: %C.ca5 = symbolic_binding b, 0 [symbolic] +// CHECK:STDOUT: %D.type.2fde6d.1: type = generic_class_type @D.loc5 [concrete] +// CHECK:STDOUT: %D.generic.820c89.1: %D.type.2fde6d.1 = struct_value () [concrete] +// CHECK:STDOUT: %D.type.2fde6d.2: type = generic_class_type @D.loc13 [concrete] +// CHECK:STDOUT: %D.generic.820c89.2: %D.type.2fde6d.2 = struct_value () [concrete] +// CHECK:STDOUT: %D.c5d0a3.2: type = class_type @D.loc13, @D.loc13(%b) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -234,9 +234,9 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -247,7 +247,7 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: %C.type = class_decl @C [concrete = constants.%C.generic] { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = symbolic_binding_pattern a, 0 [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4: type = splice_block %i32 [concrete = constants.%i32] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -255,41 +255,41 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc4_10.2: %i32 = symbolic_binding a, 0 [symbolic = %a.loc4_10.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %D.decl.loc5: %D.type.fefd96.1 = class_decl @D.loc5 [concrete = constants.%D.generic.463c37.1] { -// CHECK:STDOUT: %b.patt: %pattern_type.671 = symbolic_binding_pattern b, 0 [concrete] +// CHECK:STDOUT: %D.decl.loc5: %D.type.2fde6d.1 = class_decl @D.loc5 [concrete = constants.%D.generic.820c89.1] { +// CHECK:STDOUT: %b.patt: %pattern_type.820 = symbolic_binding_pattern b, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc5_19.1: type = splice_block %C [concrete = constants.%C.06a] { +// CHECK:STDOUT: %.loc5_19.1: type = splice_block %C [concrete = constants.%C.ca5] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_1000: Core.IntLiteral = int_value 1000 [concrete = constants.%int_1000.ff9] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc5_19.1: = bound_method %int_1000, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc5_19.2: = bound_method %int_1000, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_19.2(%int_1000) [concrete = constants.%int_1000.0de] -// CHECK:STDOUT: %.loc5_19.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1000.0de] -// CHECK:STDOUT: %.loc5_19.3: %i32 = converted %int_1000, %.loc5_19.2 [concrete = constants.%int_1000.0de] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_1000.0de) [concrete = constants.%C.06a] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_19.2(%int_1000) [concrete = constants.%int_1000.693] +// CHECK:STDOUT: %.loc5_19.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1000.693] +// CHECK:STDOUT: %.loc5_19.3: %i32 = converted %int_1000, %.loc5_19.2 [concrete = constants.%int_1000.693] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_1000.693) [concrete = constants.%C.ca5] // CHECK:STDOUT: } -// CHECK:STDOUT: %b.loc5_10.2: %C.06a = symbolic_binding b, 0 [symbolic = %b.loc5_10.1 (constants.%b)] +// CHECK:STDOUT: %b.loc5_10.2: %C.ca5 = symbolic_binding b, 0 [symbolic = %b.loc5_10.1 (constants.%b)] // CHECK:STDOUT: } -// CHECK:STDOUT: %D.decl.loc13: %D.type.fefd96.2 = class_decl @D.loc13 [concrete = constants.%D.generic.463c37.2] { -// CHECK:STDOUT: %b.patt: %pattern_type.671 = symbolic_binding_pattern b, 0 [concrete] +// CHECK:STDOUT: %D.decl.loc13: %D.type.2fde6d.2 = class_decl @D.loc13 [concrete = constants.%D.generic.820c89.2] { +// CHECK:STDOUT: %b.patt: %pattern_type.820 = symbolic_binding_pattern b, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc13_20.1: type = splice_block %C [concrete = constants.%C.06a] { +// CHECK:STDOUT: %.loc13_20.1: type = splice_block %C [concrete = constants.%C.ca5] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_1000: Core.IntLiteral = int_value 1000 [concrete = constants.%int_1000.ff9] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc13_20.1: = bound_method %int_1000, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc13_20.2: = bound_method %int_1000, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_20.2(%int_1000) [concrete = constants.%int_1000.0de] -// CHECK:STDOUT: %.loc13_20.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1000.0de] -// CHECK:STDOUT: %.loc13_20.3: %i32 = converted %int_1000, %.loc13_20.2 [concrete = constants.%int_1000.0de] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_1000.0de) [concrete = constants.%C.06a] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_20.2(%int_1000) [concrete = constants.%int_1000.693] +// CHECK:STDOUT: %.loc13_20.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1000.693] +// CHECK:STDOUT: %.loc13_20.3: %i32 = converted %int_1000, %.loc13_20.2 [concrete = constants.%int_1000.693] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_1000.693) [concrete = constants.%C.ca5] // CHECK:STDOUT: } -// CHECK:STDOUT: %b.loc13_10.2: %C.06a = symbolic_binding b, 0 [symbolic = %b.loc13_10.1 (constants.%b)] +// CHECK:STDOUT: %b.loc13_10.2: %C.ca5 = symbolic_binding b, 0 [symbolic = %b.loc13_10.1 (constants.%b)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -303,18 +303,18 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.fc7 +// CHECK:STDOUT: .Self = constants.%C.9c1 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic class @D.loc5(%b.loc5_10.2: %C.06a) { -// CHECK:STDOUT: %b.loc5_10.1: %C.06a = symbolic_binding b, 0 [symbolic = %b.loc5_10.1 (constants.%b)] +// CHECK:STDOUT: generic class @D.loc5(%b.loc5_10.2: %C.ca5) { +// CHECK:STDOUT: %b.loc5_10.1: %C.ca5 = symbolic_binding b, 0 [symbolic = %b.loc5_10.1 (constants.%b)] // CHECK:STDOUT: // CHECK:STDOUT: class; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic class @D.loc13(%b.loc13_10.2: %C.06a) { -// CHECK:STDOUT: %b.loc13_10.1: %C.06a = symbolic_binding b, 0 [symbolic = %b.loc13_10.1 (constants.%b)] +// CHECK:STDOUT: generic class @D.loc13(%b.loc13_10.2: %C.ca5) { +// CHECK:STDOUT: %b.loc13_10.1: %C.ca5 = symbolic_binding b, 0 [symbolic = %b.loc13_10.1 (constants.%b)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -323,7 +323,7 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%D.5952ba.2 +// CHECK:STDOUT: .Self = constants.%D.c5d0a3.2 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -331,8 +331,8 @@ class D(b:! C(1_000)) {} // CHECK:STDOUT: %a.loc4_10.1 => constants.%a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_1000.0de) { -// CHECK:STDOUT: %a.loc4_10.1 => constants.%int_1000.0de +// CHECK:STDOUT: specific @C(constants.%int_1000.693) { +// CHECK:STDOUT: %a.loc4_10.1 => constants.%int_1000.693 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @D.loc5(constants.%b) { diff --git a/toolchain/check/testdata/const/basics.carbon b/toolchain/check/testdata/const/basics.carbon index 06c293b3b64a..fc224a2c9c34 100644 --- a/toolchain/check/testdata/const/basics.carbon +++ b/toolchain/check/testdata/const/basics.carbon @@ -131,115 +131,115 @@ fn PassConstReferenceToReference(p: const X*) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %const.ec2: type = const_type %C [concrete] -// CHECK:STDOUT: %ptr.e14: type = ptr_type %const.ec2 [concrete] -// CHECK:STDOUT: %ptr.675: type = ptr_type %ptr.e14 [concrete] -// CHECK:STDOUT: %pattern_type.b09: type = pattern_type %ptr.675 [concrete] -// CHECK:STDOUT: %.4e2: Core.Form = init_form %ptr.675 [concrete] +// CHECK:STDOUT: %const.a89: type = const_type %C [concrete] +// CHECK:STDOUT: %ptr.089: type = ptr_type %const.a89 [concrete] +// CHECK:STDOUT: %ptr.826: type = ptr_type %ptr.089 [concrete] +// CHECK:STDOUT: %pattern_type.e85: type = pattern_type %ptr.826 [concrete] +// CHECK:STDOUT: %.77c: Core.Form = init_form %ptr.826 [concrete] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %const.as.Copy.impl.Op.type.545: type = fn_type @const.as.Copy.impl.Op, @const.as.Copy.impl(%T.228) [symbolic] -// CHECK:STDOUT: %const.as.Copy.impl.Op.376: %const.as.Copy.impl.Op.type.545 = struct_value () [symbolic] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %const.as.Copy.impl.Op.type.6d8: type = fn_type @const.as.Copy.impl.Op, @const.as.Copy.impl(%T.f49) [symbolic] +// CHECK:STDOUT: %const.as.Copy.impl.Op.e95: %const.as.Copy.impl.Op.type.6d8 = struct_value () [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.c81: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%ptr.e14) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.a4d: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%ptr.e14) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.c12: %ptr.as.Copy.impl.Op.type.a4d = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.9aa: %Copy.type = facet_value %ptr.675, (%Copy.impl_witness.c81) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.455: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.9aa) [concrete] -// CHECK:STDOUT: %.f9c: type = fn_type_with_self_type %Copy.WithSelf.Op.type.455, %Copy.facet.9aa [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.752: = specific_function %ptr.as.Copy.impl.Op.c12, @ptr.as.Copy.impl.Op(%ptr.e14) [concrete] -// CHECK:STDOUT: %ptr.4af: type = ptr_type %C [concrete] -// CHECK:STDOUT: %const.eea: type = const_type %ptr.4af [concrete] -// CHECK:STDOUT: %pattern_type.5d4: type = pattern_type %const.eea [concrete] -// CHECK:STDOUT: %.6b1: Core.Form = init_form %const.eea [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.ebf: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%ptr.089) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.2c6: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%ptr.089) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.b55: %ptr.as.Copy.impl.Op.type.2c6 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.69b: %Copy.type = facet_value %ptr.826, (%Copy.impl_witness.ebf) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.6ca: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.69b) [concrete] +// CHECK:STDOUT: %.994: type = fn_type_with_self_type %Copy.WithSelf.Op.type.6ca, %Copy.facet.69b [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.3a6: = specific_function %ptr.as.Copy.impl.Op.b55, @ptr.as.Copy.impl.Op(%ptr.089) [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %const.ba2: type = const_type %ptr.6be [concrete] +// CHECK:STDOUT: %pattern_type.0e9: type = pattern_type %const.ba2 [concrete] +// CHECK:STDOUT: %.6ca: Core.Form = init_form %const.ba2 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] -// CHECK:STDOUT: %Copy.impl_witness.805: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %Copy.facet.457: %Copy.type = facet_value %ptr.4af, (%Copy.impl_witness.805) [concrete] -// CHECK:STDOUT: %Copy.impl_witness.6b2: = impl_witness imports.%Copy.impl_witness_table.032, @const.as.Copy.impl(%Copy.facet.457) [concrete] -// CHECK:STDOUT: %const.as.Copy.impl.Op.type.ccc: type = fn_type @const.as.Copy.impl.Op, @const.as.Copy.impl(%Copy.facet.457) [concrete] -// CHECK:STDOUT: %const.as.Copy.impl.Op.632: %const.as.Copy.impl.Op.type.ccc = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.13b: %Copy.type = facet_value %const.eea, (%Copy.impl_witness.6b2) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.2c8: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.13b) [concrete] -// CHECK:STDOUT: %.ee3: type = fn_type_with_self_type %Copy.WithSelf.Op.type.2c8, %Copy.facet.13b [concrete] -// CHECK:STDOUT: %const.as.Copy.impl.Op.specific_fn: = specific_function %const.as.Copy.impl.Op.632, @const.as.Copy.impl.Op(%Copy.facet.457) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.881: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %Copy.facet.d5e: %Copy.type = facet_value %ptr.6be, (%Copy.impl_witness.881) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.ca1: = impl_witness imports.%Copy.impl_witness_table.b24, @const.as.Copy.impl(%Copy.facet.d5e) [concrete] +// CHECK:STDOUT: %const.as.Copy.impl.Op.type.1a8: type = fn_type @const.as.Copy.impl.Op, @const.as.Copy.impl(%Copy.facet.d5e) [concrete] +// CHECK:STDOUT: %const.as.Copy.impl.Op.00c: %const.as.Copy.impl.Op.type.1a8 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.70c: %Copy.type = facet_value %const.ba2, (%Copy.impl_witness.ca1) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.423: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.70c) [concrete] +// CHECK:STDOUT: %.790: type = fn_type_with_self_type %Copy.WithSelf.Op.type.423, %Copy.facet.70c [concrete] +// CHECK:STDOUT: %const.as.Copy.impl.Op.specific_fn: = specific_function %const.as.Copy.impl.Op.00c, @const.as.Copy.impl.Op(%Copy.facet.d5e) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.583: @const.as.Copy.impl.%const.as.Copy.impl.Op.type (%const.as.Copy.impl.Op.type.545) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @const.as.Copy.impl.%const.as.Copy.impl.Op (constants.%const.as.Copy.impl.Op.376)] -// CHECK:STDOUT: %Copy.impl_witness_table.032 = impl_witness_table (%Core.import_ref.583), @const.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.60b: @const.as.Copy.impl.%const.as.Copy.impl.Op.type (%const.as.Copy.impl.Op.type.6d8) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @const.as.Copy.impl.%const.as.Copy.impl.Op (constants.%const.as.Copy.impl.Op.e95)] +// CHECK:STDOUT: %Copy.impl_witness_table.b24 = impl_witness_table (%Core.import_ref.60b), @const.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.b09 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.b09 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.b09 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.b09 = return_slot_pattern %return.param_patt, %ptr.loc6_31 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.e85 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.e85 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.e85 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.e85 = return_slot_pattern %return.param_patt, %ptr.loc6_31 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc6_29: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %const.loc6_23: type = const_type %C.ref.loc6_29 [concrete = constants.%const.ec2] -// CHECK:STDOUT: %ptr.loc6_30: type = ptr_type %const.loc6_23 [concrete = constants.%ptr.e14] -// CHECK:STDOUT: %ptr.loc6_31: type = ptr_type %ptr.loc6_30 [concrete = constants.%ptr.675] -// CHECK:STDOUT: %.loc6_31: Core.Form = init_form %ptr.loc6_31 [concrete = constants.%.4e2] -// CHECK:STDOUT: %p.param: %ptr.675 = value_param call_param0 -// CHECK:STDOUT: %.loc6_17: type = splice_block %ptr.loc6_17 [concrete = constants.%ptr.675] { +// CHECK:STDOUT: %const.loc6_23: type = const_type %C.ref.loc6_29 [concrete = constants.%const.a89] +// CHECK:STDOUT: %ptr.loc6_30: type = ptr_type %const.loc6_23 [concrete = constants.%ptr.089] +// CHECK:STDOUT: %ptr.loc6_31: type = ptr_type %ptr.loc6_30 [concrete = constants.%ptr.826] +// CHECK:STDOUT: %.loc6_31: Core.Form = init_form %ptr.loc6_31 [concrete = constants.%.77c] +// CHECK:STDOUT: %p.param: %ptr.826 = value_param call_param0 +// CHECK:STDOUT: %.loc6_17: type = splice_block %ptr.loc6_17 [concrete = constants.%ptr.826] { // CHECK:STDOUT: %C.ref.loc6_15: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %const.loc6_9: type = const_type %C.ref.loc6_15 [concrete = constants.%const.ec2] -// CHECK:STDOUT: %ptr.loc6_16: type = ptr_type %const.loc6_9 [concrete = constants.%ptr.e14] -// CHECK:STDOUT: %ptr.loc6_17: type = ptr_type %ptr.loc6_16 [concrete = constants.%ptr.675] +// CHECK:STDOUT: %const.loc6_9: type = const_type %C.ref.loc6_15 [concrete = constants.%const.a89] +// CHECK:STDOUT: %ptr.loc6_16: type = ptr_type %const.loc6_9 [concrete = constants.%ptr.089] +// CHECK:STDOUT: %ptr.loc6_17: type = ptr_type %ptr.loc6_16 [concrete = constants.%ptr.826] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.675 = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %ptr.675 = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.675 = return_slot %return.param +// CHECK:STDOUT: %p: %ptr.826 = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %ptr.826 = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.826 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %B.decl: %B.type = fn_decl @B [concrete = constants.%B] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.5d4 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.5d4 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.5d4 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.5d4 = return_slot_pattern %return.param_patt, %const.loc10_24 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.0e9 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.0e9 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0e9 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0e9 = return_slot_pattern %return.param_patt, %const.loc10_24 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc10_31: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc10_32: type = ptr_type %C.ref.loc10_31 [concrete = constants.%ptr.4af] -// CHECK:STDOUT: %const.loc10_24: type = const_type %ptr.loc10_32 [concrete = constants.%const.eea] -// CHECK:STDOUT: %.loc10_24: Core.Form = init_form %const.loc10_24 [concrete = constants.%.6b1] -// CHECK:STDOUT: %p.param: %const.eea = value_param call_param0 -// CHECK:STDOUT: %.loc10_9: type = splice_block %const.loc10_9 [concrete = constants.%const.eea] { +// CHECK:STDOUT: %ptr.loc10_32: type = ptr_type %C.ref.loc10_31 [concrete = constants.%ptr.6be] +// CHECK:STDOUT: %const.loc10_24: type = const_type %ptr.loc10_32 [concrete = constants.%const.ba2] +// CHECK:STDOUT: %.loc10_24: Core.Form = init_form %const.loc10_24 [concrete = constants.%.6ca] +// CHECK:STDOUT: %p.param: %const.ba2 = value_param call_param0 +// CHECK:STDOUT: %.loc10_9: type = splice_block %const.loc10_9 [concrete = constants.%const.ba2] { // CHECK:STDOUT: %C.ref.loc10_16: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc10_17: type = ptr_type %C.ref.loc10_16 [concrete = constants.%ptr.4af] -// CHECK:STDOUT: %const.loc10_9: type = const_type %ptr.loc10_17 [concrete = constants.%const.eea] +// CHECK:STDOUT: %ptr.loc10_17: type = ptr_type %C.ref.loc10_16 [concrete = constants.%ptr.6be] +// CHECK:STDOUT: %const.loc10_9: type = const_type %ptr.loc10_17 [concrete = constants.%const.ba2] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %const.eea = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %const.eea = out_param call_param1 -// CHECK:STDOUT: %return: ref %const.eea = return_slot %return.param +// CHECK:STDOUT: %p: %const.ba2 = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %const.ba2 = out_param call_param1 +// CHECK:STDOUT: %return: ref %const.ba2 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @A(%p.param: %ptr.675) -> out %return.param: %ptr.675 { +// CHECK:STDOUT: fn @A(%p.param: %ptr.826) -> out %return.param: %ptr.826 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.675 = name_ref p, %p -// CHECK:STDOUT: %impl.elem0: %.f9c = impl_witness_access constants.%Copy.impl_witness.c81, element0 [concrete = constants.%ptr.as.Copy.impl.Op.c12] +// CHECK:STDOUT: %p.ref: %ptr.826 = name_ref p, %p +// CHECK:STDOUT: %impl.elem0: %.994 = impl_witness_access constants.%Copy.impl_witness.ebf, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b55] // CHECK:STDOUT: %bound_method.loc7_10.1: = bound_method %p.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%ptr.e14) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.752] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%ptr.089) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.3a6] // CHECK:STDOUT: %bound_method.loc7_10.2: = bound_method %p.ref, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.675 = call %bound_method.loc7_10.2(%p.ref) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.826 = call %bound_method.loc7_10.2(%p.ref) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @B(%p.param: %const.eea) -> out %return.param: %const.eea { +// CHECK:STDOUT: fn @B(%p.param: %const.ba2) -> out %return.param: %const.ba2 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %const.eea = name_ref p, %p -// CHECK:STDOUT: %impl.elem0: %.ee3 = impl_witness_access constants.%Copy.impl_witness.6b2, element0 [concrete = constants.%const.as.Copy.impl.Op.632] +// CHECK:STDOUT: %p.ref: %const.ba2 = name_ref p, %p +// CHECK:STDOUT: %impl.elem0: %.790 = impl_witness_access constants.%Copy.impl_witness.ca1, element0 [concrete = constants.%const.as.Copy.impl.Op.00c] // CHECK:STDOUT: %bound_method.loc11_10.1: = bound_method %p.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @const.as.Copy.impl.Op(constants.%Copy.facet.457) [concrete = constants.%const.as.Copy.impl.Op.specific_fn] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @const.as.Copy.impl.Op(constants.%Copy.facet.d5e) [concrete = constants.%const.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc11_10.2: = bound_method %p.ref, %specific_fn -// CHECK:STDOUT: %const.as.Copy.impl.Op.call: init %const.eea = call %bound_method.loc11_10.2(%p.ref) +// CHECK:STDOUT: %const.as.Copy.impl.Op.call: init %const.ba2 = call %bound_method.loc11_10.2(%p.ref) // CHECK:STDOUT: return %const.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: @@ -247,65 +247,65 @@ fn PassConstReferenceToReference(p: const X*) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %const.ebe: type = const_type %C [concrete] -// CHECK:STDOUT: %ptr.ef2: type = ptr_type %const.ebe [concrete] -// CHECK:STDOUT: %ptr.98f: type = ptr_type %ptr.ef2 [concrete] -// CHECK:STDOUT: %pattern_type.2a8: type = pattern_type %ptr.98f [concrete] -// CHECK:STDOUT: %.42a: Core.Form = init_form %ptr.98f [concrete] +// CHECK:STDOUT: %const.a89: type = const_type %C [concrete] +// CHECK:STDOUT: %ptr.089: type = ptr_type %const.a89 [concrete] +// CHECK:STDOUT: %ptr.826: type = ptr_type %ptr.089 [concrete] +// CHECK:STDOUT: %pattern_type.e85: type = pattern_type %ptr.826 [concrete] +// CHECK:STDOUT: %.77c: Core.Form = init_form %ptr.826 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.f46: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%ptr.ef2) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.328: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%ptr.ef2) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.430: %ptr.as.Copy.impl.Op.type.328 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.98f, (%Copy.impl_witness.f46) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.f90: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a65: type = fn_type_with_self_type %Copy.WithSelf.Op.type.f90, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.430, @ptr.as.Copy.impl.Op(%ptr.ef2) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.ebf: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%ptr.089) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.2c6: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%ptr.089) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.b55: %ptr.as.Copy.impl.Op.type.2c6 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.826, (%Copy.impl_witness.ebf) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.6ca: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.994: type = fn_type_with_self_type %Copy.WithSelf.Op.type.6ca, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.b55, @ptr.as.Copy.impl.Op(%ptr.089) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.2a8 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.2a8 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.2a8 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.2a8 = return_slot_pattern %return.param_patt, %ptr.loc11_39 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.e85 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.e85 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.e85 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.e85 = return_slot_pattern %return.param_patt, %ptr.loc11_39 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc11_36: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %const.loc11_30: type = const_type %C.ref.loc11_36 [concrete = constants.%const.ebe] -// CHECK:STDOUT: %const.loc11_23: type = const_type %const.loc11_30 [concrete = constants.%const.ebe] -// CHECK:STDOUT: %ptr.loc11_38: type = ptr_type %const.loc11_23 [concrete = constants.%ptr.ef2] -// CHECK:STDOUT: %ptr.loc11_39: type = ptr_type %ptr.loc11_38 [concrete = constants.%ptr.98f] -// CHECK:STDOUT: %.loc11_39: Core.Form = init_form %ptr.loc11_39 [concrete = constants.%.42a] -// CHECK:STDOUT: %p.param: %ptr.98f = value_param call_param0 -// CHECK:STDOUT: %.loc11_17: type = splice_block %ptr.loc11_17 [concrete = constants.%ptr.98f] { +// CHECK:STDOUT: %const.loc11_30: type = const_type %C.ref.loc11_36 [concrete = constants.%const.a89] +// CHECK:STDOUT: %const.loc11_23: type = const_type %const.loc11_30 [concrete = constants.%const.a89] +// CHECK:STDOUT: %ptr.loc11_38: type = ptr_type %const.loc11_23 [concrete = constants.%ptr.089] +// CHECK:STDOUT: %ptr.loc11_39: type = ptr_type %ptr.loc11_38 [concrete = constants.%ptr.826] +// CHECK:STDOUT: %.loc11_39: Core.Form = init_form %ptr.loc11_39 [concrete = constants.%.77c] +// CHECK:STDOUT: %p.param: %ptr.826 = value_param call_param0 +// CHECK:STDOUT: %.loc11_17: type = splice_block %ptr.loc11_17 [concrete = constants.%ptr.826] { // CHECK:STDOUT: %C.ref.loc11_15: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %const.loc11_9: type = const_type %C.ref.loc11_15 [concrete = constants.%const.ebe] -// CHECK:STDOUT: %ptr.loc11_16: type = ptr_type %const.loc11_9 [concrete = constants.%ptr.ef2] -// CHECK:STDOUT: %ptr.loc11_17: type = ptr_type %ptr.loc11_16 [concrete = constants.%ptr.98f] +// CHECK:STDOUT: %const.loc11_9: type = const_type %C.ref.loc11_15 [concrete = constants.%const.a89] +// CHECK:STDOUT: %ptr.loc11_16: type = ptr_type %const.loc11_9 [concrete = constants.%ptr.089] +// CHECK:STDOUT: %ptr.loc11_17: type = ptr_type %ptr.loc11_16 [concrete = constants.%ptr.826] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.98f = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %ptr.98f = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.98f = return_slot %return.param +// CHECK:STDOUT: %p: %ptr.826 = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %ptr.826 = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.826 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%p.param: %ptr.98f) -> out %return.param: %ptr.98f { +// CHECK:STDOUT: fn @F(%p.param: %ptr.826) -> out %return.param: %ptr.826 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.98f = name_ref p, %p -// CHECK:STDOUT: %impl.elem0: %.a65 = impl_witness_access constants.%Copy.impl_witness.f46, element0 [concrete = constants.%ptr.as.Copy.impl.Op.430] +// CHECK:STDOUT: %p.ref: %ptr.826 = name_ref p, %p +// CHECK:STDOUT: %impl.elem0: %.994 = impl_witness_access constants.%Copy.impl_witness.ebf, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b55] // CHECK:STDOUT: %bound_method.loc12_10.1: = bound_method %p.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%ptr.ef2) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%ptr.089) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc12_10.2: = bound_method %p.ref, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.98f = call %bound_method.loc12_10.2(%p.ref) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.826 = call %bound_method.loc12_10.2(%p.ref) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/const/import.carbon b/toolchain/check/testdata/const/import.carbon index a73c9e640bbd..3ec4e72cee1c 100644 --- a/toolchain/check/testdata/const/import.carbon +++ b/toolchain/check/testdata/const/import.carbon @@ -38,78 +38,78 @@ var a_ptr: const C* = a_ptr_ref; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.05a: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] // CHECK:STDOUT: %ptr.as.Copy.impl.Op.fad: %ptr.as.Copy.impl.Op.type.05a = struct_value () [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %const.bff: type = const_type %C [concrete] -// CHECK:STDOUT: %ptr.161: type = ptr_type %const.bff [concrete] -// CHECK:STDOUT: %pattern_type.e1c: type = pattern_type %ptr.161 [concrete] -// CHECK:STDOUT: %pattern_type.e66: type = pattern_type %const.bff [concrete] -// CHECK:STDOUT: %addr: %ptr.161 = addr_of imports.%a_ref.var [concrete] -// CHECK:STDOUT: %Copy.impl_witness.415: = impl_witness imports.%Copy.impl_witness_table.8a3, @ptr.as.Copy.impl(%const.bff) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.979: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%const.bff) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.864: %ptr.as.Copy.impl.Op.type.979 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.161, (%Copy.impl_witness.415) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.bb2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.fa4: type = fn_type_with_self_type %Copy.WithSelf.Op.type.bb2, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.864 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.864, @ptr.as.Copy.impl.Op(%const.bff) [concrete] +// CHECK:STDOUT: %const.a89: type = const_type %C [concrete] +// CHECK:STDOUT: %ptr.089: type = ptr_type %const.a89 [concrete] +// CHECK:STDOUT: %pattern_type.805: type = pattern_type %ptr.089 [concrete] +// CHECK:STDOUT: %pattern_type.d58: type = pattern_type %const.a89 [concrete] +// CHECK:STDOUT: %addr: %ptr.089 = addr_of imports.%a_ref.var [concrete] +// CHECK:STDOUT: %Copy.impl_witness.243: = impl_witness imports.%Copy.impl_witness_table.6eb, @ptr.as.Copy.impl(%const.a89) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.548: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%const.a89) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.9a6: %ptr.as.Copy.impl.Op.type.548 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.089, (%Copy.impl_witness.243) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.a91: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.f5c: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a91, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.9a6 [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.9a6, @ptr.as.Copy.impl.Op(%const.a89) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %addr, %ptr.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//implicit, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.a_ref: ref %const.bff = import_ref Main//implicit, a_ref, loaded [concrete = %a_ref.var] -// CHECK:STDOUT: %Main.a_ptr_ref: ref %ptr.161 = import_ref Main//implicit, a_ptr_ref, loaded [concrete = %a_ptr_ref.var] -// CHECK:STDOUT: %Main.import_ref.8b3: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.05a) = import_ref Main//implicit, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.fad)] -// CHECK:STDOUT: %Copy.impl_witness_table.8a3 = impl_witness_table (%Main.import_ref.8b3), @ptr.as.Copy.impl [concrete] -// CHECK:STDOUT: %a_ref.patt: %pattern_type.e66 = ref_binding_pattern a_ref [concrete] -// CHECK:STDOUT: %a_ref.var_patt: %pattern_type.e66 = var_pattern %a_ref.patt [concrete] -// CHECK:STDOUT: %a_ref.var: ref %const.bff = var %a_ref.var_patt [concrete] -// CHECK:STDOUT: %a_ptr_ref.patt: %pattern_type.e1c = ref_binding_pattern a_ptr_ref [concrete] -// CHECK:STDOUT: %a_ptr_ref.var_patt: %pattern_type.e1c = var_pattern %a_ptr_ref.patt [concrete] -// CHECK:STDOUT: %a_ptr_ref.var: ref %ptr.161 = var %a_ptr_ref.var_patt [concrete] +// CHECK:STDOUT: %Main.a_ref: ref %const.a89 = import_ref Main//implicit, a_ref, loaded [concrete = %a_ref.var] +// CHECK:STDOUT: %Main.a_ptr_ref: ref %ptr.089 = import_ref Main//implicit, a_ptr_ref, loaded [concrete = %a_ptr_ref.var] +// CHECK:STDOUT: %Main.import_ref.33d: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.05a) = import_ref Main//implicit, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.fad)] +// CHECK:STDOUT: %Copy.impl_witness_table.6eb = impl_witness_table (%Main.import_ref.33d), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %a_ref.patt: %pattern_type.d58 = ref_binding_pattern a_ref [concrete] +// CHECK:STDOUT: %a_ref.var_patt: %pattern_type.d58 = var_pattern %a_ref.patt [concrete] +// CHECK:STDOUT: %a_ref.var: ref %const.a89 = var %a_ref.var_patt [concrete] +// CHECK:STDOUT: %a_ptr_ref.patt: %pattern_type.805 = ref_binding_pattern a_ptr_ref [concrete] +// CHECK:STDOUT: %a_ptr_ref.var_patt: %pattern_type.805 = var_pattern %a_ptr_ref.patt [concrete] +// CHECK:STDOUT: %a_ptr_ref.var: ref %ptr.089 = var %a_ptr_ref.var_patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e1c = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.e1c = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.805 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.805 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %ptr.161 = var %a.var_patt [concrete] -// CHECK:STDOUT: %.loc6: type = splice_block %ptr.loc6 [concrete = constants.%ptr.161] { +// CHECK:STDOUT: %a.var: ref %ptr.089 = var %a.var_patt [concrete] +// CHECK:STDOUT: %.loc6: type = splice_block %ptr.loc6 [concrete = constants.%ptr.089] { // CHECK:STDOUT: %C.ref.loc6: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %const.loc6: type = const_type %C.ref.loc6 [concrete = constants.%const.bff] -// CHECK:STDOUT: %ptr.loc6: type = ptr_type %const.loc6 [concrete = constants.%ptr.161] +// CHECK:STDOUT: %const.loc6: type = const_type %C.ref.loc6 [concrete = constants.%const.a89] +// CHECK:STDOUT: %ptr.loc6: type = ptr_type %const.loc6 [concrete = constants.%ptr.089] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %ptr.161 = ref_binding a, %a.var [concrete = %a.var] +// CHECK:STDOUT: %a: ref %ptr.089 = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a_ptr.patt: %pattern_type.e1c = ref_binding_pattern a_ptr [concrete] -// CHECK:STDOUT: %a_ptr.var_patt: %pattern_type.e1c = var_pattern %a_ptr.patt [concrete] +// CHECK:STDOUT: %a_ptr.patt: %pattern_type.805 = ref_binding_pattern a_ptr [concrete] +// CHECK:STDOUT: %a_ptr.var_patt: %pattern_type.805 = var_pattern %a_ptr.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a_ptr.var: ref %ptr.161 = var %a_ptr.var_patt [concrete] -// CHECK:STDOUT: %.loc7: type = splice_block %ptr.loc7 [concrete = constants.%ptr.161] { +// CHECK:STDOUT: %a_ptr.var: ref %ptr.089 = var %a_ptr.var_patt [concrete] +// CHECK:STDOUT: %.loc7: type = splice_block %ptr.loc7 [concrete = constants.%ptr.089] { // CHECK:STDOUT: %C.ref.loc7: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %const.loc7: type = const_type %C.ref.loc7 [concrete = constants.%const.bff] -// CHECK:STDOUT: %ptr.loc7: type = ptr_type %const.loc7 [concrete = constants.%ptr.161] +// CHECK:STDOUT: %const.loc7: type = const_type %C.ref.loc7 [concrete = constants.%const.a89] +// CHECK:STDOUT: %ptr.loc7: type = ptr_type %const.loc7 [concrete = constants.%ptr.089] // CHECK:STDOUT: } -// CHECK:STDOUT: %a_ptr: ref %ptr.161 = ref_binding a_ptr, %a_ptr.var [concrete = %a_ptr.var] +// CHECK:STDOUT: %a_ptr: ref %ptr.089 = ref_binding a_ptr, %a_ptr.var [concrete = %a_ptr.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a_ref.ref: ref %const.bff = name_ref a_ref, imports.%Main.a_ref [concrete = imports.%a_ref.var] -// CHECK:STDOUT: %addr: %ptr.161 = addr_of %a_ref.ref [concrete = constants.%addr] -// CHECK:STDOUT: %impl.elem0.loc6: %.fa4 = impl_witness_access constants.%Copy.impl_witness.415, element0 [concrete = constants.%ptr.as.Copy.impl.Op.864] +// CHECK:STDOUT: %a_ref.ref: ref %const.a89 = name_ref a_ref, imports.%Main.a_ref [concrete = imports.%a_ref.var] +// CHECK:STDOUT: %addr: %ptr.089 = addr_of %a_ref.ref [concrete = constants.%addr] +// CHECK:STDOUT: %impl.elem0.loc6: %.f5c = impl_witness_access constants.%Copy.impl_witness.243, element0 [concrete = constants.%ptr.as.Copy.impl.Op.9a6] // CHECK:STDOUT: %bound_method.loc6_19.1: = bound_method %addr, %impl.elem0.loc6 [concrete = constants.%ptr.as.Copy.impl.Op.bound] -// CHECK:STDOUT: %specific_fn.loc6: = specific_function %impl.elem0.loc6, @ptr.as.Copy.impl.Op(constants.%const.bff) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] +// CHECK:STDOUT: %specific_fn.loc6: = specific_function %impl.elem0.loc6, @ptr.as.Copy.impl.Op(constants.%const.a89) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_19.2: = bound_method %addr, %specific_fn.loc6 [concrete = constants.%bound_method] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc6: init %ptr.161 = call %bound_method.loc6_19.2(%addr) [concrete = constants.%addr] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc6: init %ptr.089 = call %bound_method.loc6_19.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%a.var, %ptr.as.Copy.impl.Op.call.loc6 -// CHECK:STDOUT: %a_ptr_ref.ref: ref %ptr.161 = name_ref a_ptr_ref, imports.%Main.a_ptr_ref [concrete = imports.%a_ptr_ref.var] -// CHECK:STDOUT: %.loc7: %ptr.161 = acquire_value %a_ptr_ref.ref -// CHECK:STDOUT: %impl.elem0.loc7: %.fa4 = impl_witness_access constants.%Copy.impl_witness.415, element0 [concrete = constants.%ptr.as.Copy.impl.Op.864] +// CHECK:STDOUT: %a_ptr_ref.ref: ref %ptr.089 = name_ref a_ptr_ref, imports.%Main.a_ptr_ref [concrete = imports.%a_ptr_ref.var] +// CHECK:STDOUT: %.loc7: %ptr.089 = acquire_value %a_ptr_ref.ref +// CHECK:STDOUT: %impl.elem0.loc7: %.f5c = impl_witness_access constants.%Copy.impl_witness.243, element0 [concrete = constants.%ptr.as.Copy.impl.Op.9a6] // CHECK:STDOUT: %bound_method.loc7_23.1: = bound_method %.loc7, %impl.elem0.loc7 -// CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @ptr.as.Copy.impl.Op(constants.%const.bff) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] +// CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @ptr.as.Copy.impl.Op(constants.%const.a89) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc7_23.2: = bound_method %.loc7, %specific_fn.loc7 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc7: init %ptr.161 = call %bound_method.loc7_23.2(%.loc7) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc7: init %ptr.089 = call %bound_method.loc7_23.2(%.loc7) // CHECK:STDOUT: assign file.%a_ptr.var, %ptr.as.Copy.impl.Op.call.loc7 // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/deduce/array.carbon b/toolchain/check/testdata/deduce/array.carbon index 81b3d522edf9..4d3b1243d6eb 100644 --- a/toolchain/check/testdata/deduce/array.carbon +++ b/toolchain/check/testdata/deduce/array.carbon @@ -164,13 +164,13 @@ fn G() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %array_type.3ec [symbolic] -// CHECK:STDOUT: %F.specific_fn.da4: = specific_function %F, @F(%T) [symbolic] -// CHECK:STDOUT: %.3ca: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.d9b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %F.specific_fn.d7f: = specific_function %F, @F(%T) [symbolic] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %array_type.8a5: type = array_type %int_3, %C [concrete] -// CHECK:STDOUT: %pattern_type.2fe: type = pattern_type %array_type.8a5 [concrete] +// CHECK:STDOUT: %array_type.be4: type = array_type %int_3, %C [concrete] +// CHECK:STDOUT: %pattern_type.5bc: type = pattern_type %array_type.be4 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.8d4: type = tuple_type (%empty_struct_type, %empty_struct_type, %empty_struct_type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.8d4 = tuple_value (%empty_struct, %empty_struct, %empty_struct) [concrete] @@ -178,12 +178,12 @@ fn G() { // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %array: %array_type.8a5 = tuple_value (%C.val, %C.val, %C.val) [concrete] -// CHECK:STDOUT: %F.specific_fn.568: = specific_function %F, @F(%C) [concrete] +// CHECK:STDOUT: %array: %array_type.be4 = tuple_value (%C.val, %C.val, %C.val) [concrete] +// CHECK:STDOUT: %F.specific_fn.076: = specific_function %F, @F(%C) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc9_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %complete_type.50c: = complete_type_witness %array_type.8a5 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc9_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %complete_type.2d2: = complete_type_witness %array_type.be4 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -229,11 +229,11 @@ fn G() { // CHECK:STDOUT: %return: ref @F.%T.loc6_7.1 (%T) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.d9b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.d9b = return_slot_pattern %return.param_patt, %C.ref.loc8 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref.loc8 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc8: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc8_11.2: Core.Form = init_form %C.ref.loc8 [concrete = constants.%.3ca] +// CHECK:STDOUT: %.loc8_11.2: Core.Form = init_form %C.ref.loc8 [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } @@ -256,13 +256,13 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %array_type.loc6_29.1 [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %F.specific_fn.loc6_46.2: = specific_function constants.%F, @F(%T.loc6_7.1) [symbolic = %F.specific_fn.loc6_46.2 (constants.%F.specific_fn.da4)] +// CHECK:STDOUT: %F.specific_fn.loc6_46.2: = specific_function constants.%F, @F(%T.loc6_7.1) [symbolic = %F.specific_fn.loc6_46.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%a.param: @F.%array_type.loc6_29.1 (%array_type.3ec)) -> out %return.param: @F.%T.loc6_7.1 (%T) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %a.ref: @F.%array_type.loc6_29.1 (%array_type.3ec) = name_ref a, %a -// CHECK:STDOUT: %F.specific_fn.loc6_46.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc6_46.2 (constants.%F.specific_fn.da4)] +// CHECK:STDOUT: %F.specific_fn.loc6_46.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc6_46.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: %.loc6_35.1: ref @F.%T.loc6_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc6_7.1 (%T) to %.loc6_35.1 = call %F.specific_fn.loc6_46.1(%a.ref) // CHECK:STDOUT: return %F.call to %return.param @@ -272,10 +272,10 @@ fn G() { // CHECK:STDOUT: fn @G() -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.2fe = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.2fe = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.5bc = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.5bc = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %array_type.8a5 = var %a.var_patt +// CHECK:STDOUT: %a.var: ref %array_type.be4 = var %a.var_patt // CHECK:STDOUT: %.loc9_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_30.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_34.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -292,22 +292,22 @@ fn G() { // CHECK:STDOUT: %.loc9_35.6: ref %C = array_index %a.var, %int_2 // CHECK:STDOUT: %.loc9_34.2: init %C to %.loc9_35.6 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc9_35.7: init %C = converted %.loc9_34.1, %.loc9_34.2 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc9_35.8: init %array_type.8a5 to %a.var = array_init (%.loc9_35.3, %.loc9_35.5, %.loc9_35.7) [concrete = constants.%array] -// CHECK:STDOUT: %.loc9_3: init %array_type.8a5 = converted %.loc9_35.1, %.loc9_35.8 [concrete = constants.%array] +// CHECK:STDOUT: %.loc9_35.8: init %array_type.be4 to %a.var = array_init (%.loc9_35.3, %.loc9_35.5, %.loc9_35.7) [concrete = constants.%array] +// CHECK:STDOUT: %.loc9_3: init %array_type.be4 = converted %.loc9_35.1, %.loc9_35.8 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc9_3 -// CHECK:STDOUT: %.loc9_20: type = splice_block %array_type [concrete = constants.%array_type.8a5] { +// CHECK:STDOUT: %.loc9_20: type = splice_block %array_type [concrete = constants.%array_type.be4] { // CHECK:STDOUT: %C.ref.loc9: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] -// CHECK:STDOUT: %array_type: type = array_type %int_3, %C.ref.loc9 [concrete = constants.%array_type.8a5] +// CHECK:STDOUT: %array_type: type = array_type %int_3, %C.ref.loc9 [concrete = constants.%array_type.be4] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %array_type.8a5 = ref_binding a, %a.var +// CHECK:STDOUT: %a: ref %array_type.be4 = ref_binding a, %a.var // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %a.ref: ref %array_type.8a5 = name_ref a, %a -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.568] +// CHECK:STDOUT: %a.ref: ref %array_type.be4 = name_ref a, %a +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.076] // CHECK:STDOUT: %.loc8_11.1: ref %C = splice_block %return.param {} -// CHECK:STDOUT: %.loc10: %array_type.8a5 = acquire_value %a.ref +// CHECK:STDOUT: %.loc10: %array_type.be4 = acquire_value %a.ref // CHECK:STDOUT: %F.call: init %C to %.loc8_11.1 = call %F.specific_fn(%.loc10) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return %F.call to %return.param // CHECK:STDOUT: } @@ -319,7 +319,7 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %array_type.8a5) { +// CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %array_type.be4) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -333,19 +333,19 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete -// CHECK:STDOUT: %F.specific_fn.loc6_46.2 => constants.%F.specific_fn.da4 +// CHECK:STDOUT: %F.specific_fn.loc6_46.2 => constants.%F.specific_fn.d7f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%C) { // CHECK:STDOUT: %T.loc6_7.1 => constants.%C -// CHECK:STDOUT: %array_type.loc6_29.1 => constants.%array_type.8a5 -// CHECK:STDOUT: %pattern_type.loc6_17 => constants.%pattern_type.2fe -// CHECK:STDOUT: %.loc6_35.2 => constants.%.3ca -// CHECK:STDOUT: %pattern_type.loc6_35 => constants.%pattern_type.d9b +// CHECK:STDOUT: %array_type.loc6_29.1 => constants.%array_type.be4 +// CHECK:STDOUT: %pattern_type.loc6_17 => constants.%pattern_type.5bc +// CHECK:STDOUT: %.loc6_35.2 => constants.%.8f0 +// CHECK:STDOUT: %pattern_type.loc6_35 => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.50c -// CHECK:STDOUT: %F.specific_fn.loc6_46.2 => constants.%F.specific_fn.568 +// CHECK:STDOUT: %require_complete => constants.%complete_type.2d2 +// CHECK:STDOUT: %F.specific_fn.loc6_46.2 => constants.%F.specific_fn.076 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- bound_only.carbon @@ -360,39 +360,39 @@ fn G() { // CHECK:STDOUT: %IntLiteral: %IntLiteral.type = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.dc0: type = pattern_type Core.IntLiteral [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %array_type.8a0: type = array_type %N, %C [symbolic] -// CHECK:STDOUT: %pattern_type.66d: type = pattern_type %array_type.8a0 [symbolic] +// CHECK:STDOUT: %array_type.ada: type = array_type %N, %C [symbolic] +// CHECK:STDOUT: %pattern_type.94a: type = pattern_type %array_type.ada [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.6f4: = require_complete_type %array_type.8a0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %require_complete.562: = require_complete_type %array_type.ada [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.ad7: = bound_method %N, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.431: = bound_method %N, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.431(%N) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.941: = bound_method %N, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.a95: = bound_method %N, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.a95(%N) [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %array_type.e7a: type = array_type %int_3.1ba, %C [concrete] -// CHECK:STDOUT: %pattern_type.16b: type = pattern_type %array_type.e7a [concrete] +// CHECK:STDOUT: %array_type.be4: type = array_type %int_3.1ba, %C [concrete] +// CHECK:STDOUT: %pattern_type.5bc: type = pattern_type %array_type.be4 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.8d4: type = tuple_type (%empty_struct_type, %empty_struct_type, %empty_struct_type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.8d4 = tuple_value (%empty_struct, %empty_struct, %empty_struct) [concrete] @@ -400,15 +400,15 @@ fn G() { // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %array: %array_type.e7a = tuple_value (%C.val, %C.val, %C.val) [concrete] +// CHECK:STDOUT: %array: %array_type.be4 = tuple_value (%C.val, %C.val, %C.val) [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%int_3.1ba) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc9_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %complete_type.32a: = complete_type_witness %array_type.e7a [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc9_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %complete_type.2d2: = complete_type_witness %array_type.be4 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -422,9 +422,9 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.IntLiteral: %IntLiteral.type = import_ref Core//prelude/parts/int_literal, IntLiteral, loaded [concrete = constants.%IntLiteral] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -439,13 +439,13 @@ fn G() { // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %N.patt: %pattern_type.dc0 = symbolic_binding_pattern N, 0 [concrete] -// CHECK:STDOUT: %a.param_patt: @F.%pattern_type (%pattern_type.66d) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.66d) = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %a.param_patt: @F.%pattern_type (%pattern_type.94a) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.94a) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6_55: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc6_55: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %.loc6_26.1: type = splice_block %.loc6_26.3 [concrete = Core.IntLiteral] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] @@ -455,22 +455,22 @@ fn G() { // CHECK:STDOUT: %.loc6_26.3: type = converted %IntLiteral.call, %.loc6_26.2 [concrete = Core.IntLiteral] // CHECK:STDOUT: } // CHECK:STDOUT: %N.loc6_7.2: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N.loc6_7.1 (constants.%N)] -// CHECK:STDOUT: %a.param: @F.%array_type.loc6_49.1 (%array_type.8a0) = value_param call_param0 -// CHECK:STDOUT: %.loc6_49: type = splice_block %array_type.loc6_49.2 [symbolic = %array_type.loc6_49.1 (constants.%array_type.8a0)] { +// CHECK:STDOUT: %a.param: @F.%array_type.loc6_49.1 (%array_type.ada) = value_param call_param0 +// CHECK:STDOUT: %.loc6_49: type = splice_block %array_type.loc6_49.2 [symbolic = %array_type.loc6_49.1 (constants.%array_type.ada)] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %N.ref.loc6_48: Core.IntLiteral = name_ref N, %N.loc6_7.2 [symbolic = %N.loc6_7.1 (constants.%N)] -// CHECK:STDOUT: %array_type.loc6_49.2: type = array_type %N.ref.loc6_48, %C.ref [symbolic = %array_type.loc6_49.1 (constants.%array_type.8a0)] +// CHECK:STDOUT: %array_type.loc6_49.2: type = array_type %N.ref.loc6_48, %C.ref [symbolic = %array_type.loc6_49.1 (constants.%array_type.ada)] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: @F.%array_type.loc6_49.1 (%array_type.8a0) = value_binding a, %a.param +// CHECK:STDOUT: %a: @F.%array_type.loc6_49.1 (%array_type.ada) = value_binding a, %a.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc8: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -486,22 +486,22 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%N.loc6_7.2: Core.IntLiteral) { // CHECK:STDOUT: %N.loc6_7.1: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N.loc6_7.1 (constants.%N)] -// CHECK:STDOUT: %array_type.loc6_49.1: type = array_type %N.loc6_7.1, constants.%C [symbolic = %array_type.loc6_49.1 (constants.%array_type.8a0)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %array_type.loc6_49.1 [symbolic = %pattern_type (constants.%pattern_type.66d)] +// CHECK:STDOUT: %array_type.loc6_49.1: type = array_type %N.loc6_7.1, constants.%C [symbolic = %array_type.loc6_49.1 (constants.%array_type.ada)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %array_type.loc6_49.1 [symbolic = %pattern_type (constants.%pattern_type.94a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %array_type.loc6_49.1 [symbolic = %require_complete (constants.%require_complete.6f4)] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc6_7.1, constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.ad7)] -// CHECK:STDOUT: %bound_method.loc6_69.3: = bound_method %N.loc6_7.1, constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [symbolic = %bound_method.loc6_69.3 (constants.%bound_method.431)] +// CHECK:STDOUT: %require_complete: = require_complete_type %array_type.loc6_49.1 [symbolic = %require_complete (constants.%require_complete.562)] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc6_7.1, constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.941)] +// CHECK:STDOUT: %bound_method.loc6_69.3: = bound_method %N.loc6_7.1, constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [symbolic = %bound_method.loc6_69.3 (constants.%bound_method.a95)] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_69.2: init %i32 = call %bound_method.loc6_69.3(%N.loc6_7.1) [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_69.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%a.param: @F.%array_type.loc6_49.1 (%array_type.8a0)) -> out %return.param: %i32 { +// CHECK:STDOUT: fn(%a.param: @F.%array_type.loc6_49.1 (%array_type.ada)) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %N.ref.loc6_68: Core.IntLiteral = name_ref N, %N.loc6_7.2 [symbolic = %N.loc6_7.1 (constants.%N)] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_69.1: = bound_method %N.ref.loc6_68, %impl.elem0 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.ad7)] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_69.1: = bound_method %N.ref.loc6_68, %impl.elem0 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.941)] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_69.2: = bound_method %N.ref.loc6_68, %specific_fn [symbolic = %bound_method.loc6_69.3 (constants.%bound_method.431)] +// CHECK:STDOUT: %bound_method.loc6_69.2: = bound_method %N.ref.loc6_68, %specific_fn [symbolic = %bound_method.loc6_69.3 (constants.%bound_method.a95)] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_69.1: init %i32 = call %bound_method.loc6_69.2(%N.ref.loc6_68) [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_69.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: %.loc6_69: init %i32 = converted %N.ref.loc6_68, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_69.1 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_69.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: return %.loc6_69 @@ -511,10 +511,10 @@ fn G() { // CHECK:STDOUT: fn @G() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.16b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.16b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.5bc = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.5bc = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %array_type.e7a = var %a.var_patt +// CHECK:STDOUT: %a.var: ref %array_type.be4 = var %a.var_patt // CHECK:STDOUT: %.loc9_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_30.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_34.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -531,21 +531,21 @@ fn G() { // CHECK:STDOUT: %.loc9_35.6: ref %C = array_index %a.var, %int_2 // CHECK:STDOUT: %.loc9_34.2: init %C to %.loc9_35.6 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc9_35.7: init %C = converted %.loc9_34.1, %.loc9_34.2 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc9_35.8: init %array_type.e7a to %a.var = array_init (%.loc9_35.3, %.loc9_35.5, %.loc9_35.7) [concrete = constants.%array] -// CHECK:STDOUT: %.loc9_3: init %array_type.e7a = converted %.loc9_35.1, %.loc9_35.8 [concrete = constants.%array] +// CHECK:STDOUT: %.loc9_35.8: init %array_type.be4 to %a.var = array_init (%.loc9_35.3, %.loc9_35.5, %.loc9_35.7) [concrete = constants.%array] +// CHECK:STDOUT: %.loc9_3: init %array_type.be4 = converted %.loc9_35.1, %.loc9_35.8 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc9_3 -// CHECK:STDOUT: %.loc9_20: type = splice_block %array_type [concrete = constants.%array_type.e7a] { +// CHECK:STDOUT: %.loc9_20: type = splice_block %array_type [concrete = constants.%array_type.be4] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %array_type: type = array_type %int_3, %C.ref [concrete = constants.%array_type.e7a] +// CHECK:STDOUT: %array_type: type = array_type %int_3, %C.ref [concrete = constants.%array_type.be4] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %array_type.e7a = ref_binding a, %a.var +// CHECK:STDOUT: %a: ref %array_type.be4 = ref_binding a, %a.var // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %a.ref: ref %array_type.e7a = name_ref a, %a +// CHECK:STDOUT: %a.ref: ref %array_type.be4 = name_ref a, %a // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%int_3.1ba) [concrete = constants.%F.specific_fn] -// CHECK:STDOUT: %.loc10: %array_type.e7a = acquire_value %a.ref +// CHECK:STDOUT: %.loc10: %array_type.be4 = acquire_value %a.ref // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%.loc10) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return %F.call // CHECK:STDOUT: } @@ -557,27 +557,27 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %array_type.e7a) { +// CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %array_type.be4) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%N) { // CHECK:STDOUT: %N.loc6_7.1 => constants.%N -// CHECK:STDOUT: %array_type.loc6_49.1 => constants.%array_type.8a0 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.66d +// CHECK:STDOUT: %array_type.loc6_49.1 => constants.%array_type.ada +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.94a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%int_3.1ba) { // CHECK:STDOUT: %N.loc6_7.1 => constants.%int_3.1ba -// CHECK:STDOUT: %array_type.loc6_49.1 => constants.%array_type.e7a -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.16b +// CHECK:STDOUT: %array_type.loc6_49.1 => constants.%array_type.be4 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5bc // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.32a -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound => constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a -// CHECK:STDOUT: %bound_method.loc6_69.3 => constants.%bound_method.353 -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_69.2 => constants.%int_3.49a +// CHECK:STDOUT: %require_complete => constants.%complete_type.2d2 +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound => constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0 +// CHECK:STDOUT: %bound_method.loc6_69.3 => constants.%bound_method.655 +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_69.2 => constants.%int_3.6cc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- type_and_bound.carbon @@ -603,8 +603,8 @@ fn G() { // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %array_type.357: type = array_type %int_3, %C [concrete] -// CHECK:STDOUT: %pattern_type.811: type = pattern_type %array_type.357 [concrete] +// CHECK:STDOUT: %array_type.be4: type = array_type %int_3, %C [concrete] +// CHECK:STDOUT: %pattern_type.5bc: type = pattern_type %array_type.be4 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.8d4: type = tuple_type (%empty_struct_type, %empty_struct_type, %empty_struct_type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.8d4 = tuple_value (%empty_struct, %empty_struct, %empty_struct) [concrete] @@ -612,12 +612,12 @@ fn G() { // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %array: %array_type.357 = tuple_value (%C.val, %C.val, %C.val) [concrete] +// CHECK:STDOUT: %array: %array_type.be4 = tuple_value (%C.val, %C.val, %C.val) [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%C, %int_3) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc9_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %complete_type.c1f: = complete_type_witness %array_type.357 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc9_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %complete_type.2d2: = complete_type_witness %array_type.be4 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -697,10 +697,10 @@ fn G() { // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.811 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.811 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.5bc = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.5bc = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %array_type.357 = var %a.var_patt +// CHECK:STDOUT: %a.var: ref %array_type.be4 = var %a.var_patt // CHECK:STDOUT: %.loc9_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_30.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_34.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -717,21 +717,21 @@ fn G() { // CHECK:STDOUT: %.loc9_35.6: ref %C = array_index %a.var, %int_2 // CHECK:STDOUT: %.loc9_34.2: init %C to %.loc9_35.6 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc9_35.7: init %C = converted %.loc9_34.1, %.loc9_34.2 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc9_35.8: init %array_type.357 to %a.var = array_init (%.loc9_35.3, %.loc9_35.5, %.loc9_35.7) [concrete = constants.%array] -// CHECK:STDOUT: %.loc9_3: init %array_type.357 = converted %.loc9_35.1, %.loc9_35.8 [concrete = constants.%array] +// CHECK:STDOUT: %.loc9_35.8: init %array_type.be4 to %a.var = array_init (%.loc9_35.3, %.loc9_35.5, %.loc9_35.7) [concrete = constants.%array] +// CHECK:STDOUT: %.loc9_3: init %array_type.be4 = converted %.loc9_35.1, %.loc9_35.8 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc9_3 -// CHECK:STDOUT: %.loc9_20: type = splice_block %array_type [concrete = constants.%array_type.357] { +// CHECK:STDOUT: %.loc9_20: type = splice_block %array_type [concrete = constants.%array_type.be4] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] -// CHECK:STDOUT: %array_type: type = array_type %int_3, %C.ref [concrete = constants.%array_type.357] +// CHECK:STDOUT: %array_type: type = array_type %int_3, %C.ref [concrete = constants.%array_type.be4] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %array_type.357 = ref_binding a, %a.var +// CHECK:STDOUT: %a: ref %array_type.be4 = ref_binding a, %a.var // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %a.ref: ref %array_type.357 = name_ref a, %a +// CHECK:STDOUT: %a.ref: ref %array_type.be4 = name_ref a, %a // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C, constants.%int_3) [concrete = constants.%F.specific_fn] -// CHECK:STDOUT: %.loc10: %array_type.357 = acquire_value %a.ref +// CHECK:STDOUT: %.loc10: %array_type.be4 = acquire_value %a.ref // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%.loc10) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -743,7 +743,7 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %array_type.357) { +// CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %array_type.be4) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -758,11 +758,11 @@ fn G() { // CHECK:STDOUT: specific @F(constants.%C, constants.%int_3) { // CHECK:STDOUT: %T.loc6_7.1 => constants.%C // CHECK:STDOUT: %N.loc6_17.1 => constants.%int_3 -// CHECK:STDOUT: %array_type.loc6_59.1 => constants.%array_type.357 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.811 +// CHECK:STDOUT: %array_type.loc6_59.1 => constants.%array_type.be4 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5bc // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.c1f +// CHECK:STDOUT: %require_complete => constants.%complete_type.2d2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_bound_mismatch.carbon @@ -784,30 +784,30 @@ fn G() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %array_type.a0b [symbolic] -// CHECK:STDOUT: %F.specific_fn.0fb: = specific_function %F, @F(%T) [symbolic] -// CHECK:STDOUT: %.081: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %F.specific_fn.d7f: = specific_function %F, @F(%T) [symbolic] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %array_type.f30: type = array_type %int_3, %C [concrete] -// CHECK:STDOUT: %pattern_type.7cf: type = pattern_type %array_type.f30 [concrete] +// CHECK:STDOUT: %array_type.be4: type = array_type %int_3, %C [concrete] +// CHECK:STDOUT: %pattern_type.5bc: type = pattern_type %array_type.be4 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.8d4: type = tuple_type (%empty_struct_type, %empty_struct_type, %empty_struct_type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.8d4 = tuple_value (%empty_struct, %empty_struct, %empty_struct) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %array: %array_type.f30 = tuple_value (%C.val, %C.val, %C.val) [concrete] -// CHECK:STDOUT: %array_type.cae: type = array_type %int_2, %C [concrete] -// CHECK:STDOUT: %pattern_type.6c2: type = pattern_type %array_type.cae [concrete] -// CHECK:STDOUT: %F.specific_fn.c32: = specific_function %F, @F(%C) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %array: %array_type.be4 = tuple_value (%C.val, %C.val, %C.val) [concrete] +// CHECK:STDOUT: %array_type.f5e: type = array_type %int_2, %C [concrete] +// CHECK:STDOUT: %pattern_type.501: type = pattern_type %array_type.f5e [concrete] +// CHECK:STDOUT: %F.specific_fn.076: = specific_function %F, @F(%C) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc10_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %complete_type.98d: = complete_type_witness %array_type.cae [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc10_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %complete_type.acb: = complete_type_witness %array_type.f5e [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -817,7 +817,7 @@ fn G() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -855,11 +855,11 @@ fn G() { // CHECK:STDOUT: %return: ref @F.%T.loc6_7.1 (%T) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %C.ref.loc8 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref.loc8 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc8: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc8_11.2: Core.Form = init_form %C.ref.loc8 [concrete = constants.%.081] +// CHECK:STDOUT: %.loc8_11.2: Core.Form = init_form %C.ref.loc8 [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } @@ -882,13 +882,13 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %array_type.loc6_29.1 [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %F.specific_fn.loc6_46.2: = specific_function constants.%F, @F(%T.loc6_7.1) [symbolic = %F.specific_fn.loc6_46.2 (constants.%F.specific_fn.0fb)] +// CHECK:STDOUT: %F.specific_fn.loc6_46.2: = specific_function constants.%F, @F(%T.loc6_7.1) [symbolic = %F.specific_fn.loc6_46.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%a.param: @F.%array_type.loc6_29.1 (%array_type.a0b)) -> out %return.param: @F.%T.loc6_7.1 (%T) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %a.ref: @F.%array_type.loc6_29.1 (%array_type.a0b) = name_ref a, %a -// CHECK:STDOUT: %F.specific_fn.loc6_46.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc6_46.2 (constants.%F.specific_fn.0fb)] +// CHECK:STDOUT: %F.specific_fn.loc6_46.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc6_46.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: %.loc6_35.1: ref @F.%T.loc6_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc6_7.1 (%T) to %.loc6_35.1 = call %F.specific_fn.loc6_46.1(%a.ref) // CHECK:STDOUT: return %F.call to %return.param @@ -898,10 +898,10 @@ fn G() { // CHECK:STDOUT: fn @G() -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.7cf = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.7cf = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.5bc = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.5bc = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %array_type.f30 = var %a.var_patt +// CHECK:STDOUT: %a.var: ref %array_type.be4 = var %a.var_patt // CHECK:STDOUT: %.loc10_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc10_30.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc10_34.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -918,22 +918,22 @@ fn G() { // CHECK:STDOUT: %.loc10_35.6: ref %C = array_index %a.var, %int_2 // CHECK:STDOUT: %.loc10_34.2: init %C to %.loc10_35.6 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc10_35.7: init %C = converted %.loc10_34.1, %.loc10_34.2 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc10_35.8: init %array_type.f30 to %a.var = array_init (%.loc10_35.3, %.loc10_35.5, %.loc10_35.7) [concrete = constants.%array] -// CHECK:STDOUT: %.loc10_3: init %array_type.f30 = converted %.loc10_35.1, %.loc10_35.8 [concrete = constants.%array] +// CHECK:STDOUT: %.loc10_35.8: init %array_type.be4 to %a.var = array_init (%.loc10_35.3, %.loc10_35.5, %.loc10_35.7) [concrete = constants.%array] +// CHECK:STDOUT: %.loc10_3: init %array_type.be4 = converted %.loc10_35.1, %.loc10_35.8 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc10_3 -// CHECK:STDOUT: %.loc10_20: type = splice_block %array_type [concrete = constants.%array_type.f30] { +// CHECK:STDOUT: %.loc10_20: type = splice_block %array_type [concrete = constants.%array_type.be4] { // CHECK:STDOUT: %C.ref.loc10: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] -// CHECK:STDOUT: %array_type: type = array_type %int_3, %C.ref.loc10 [concrete = constants.%array_type.f30] +// CHECK:STDOUT: %array_type: type = array_type %int_3, %C.ref.loc10 [concrete = constants.%array_type.be4] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %array_type.f30 = ref_binding a, %a.var +// CHECK:STDOUT: %a: ref %array_type.be4 = ref_binding a, %a.var // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %a.ref: ref %array_type.f30 = name_ref a, %a -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.c32] +// CHECK:STDOUT: %a.ref: ref %array_type.be4 = name_ref a, %a +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.076] // CHECK:STDOUT: %.loc8_11.1: ref %C = splice_block %return.param {} -// CHECK:STDOUT: %.loc21: %array_type.cae = converted %a.ref, [concrete = ] +// CHECK:STDOUT: %.loc21: %array_type.f5e = converted %a.ref, [concrete = ] // CHECK:STDOUT: %F.call: init %C to %.loc8_11.1 = call %F.specific_fn() -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return %F.call to %return.param // CHECK:STDOUT: } @@ -945,7 +945,7 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_3.3(%self.param: ref %array_type.f30) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_3.3(%self.param: ref %array_type.be4) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -959,19 +959,19 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete -// CHECK:STDOUT: %F.specific_fn.loc6_46.2 => constants.%F.specific_fn.0fb +// CHECK:STDOUT: %F.specific_fn.loc6_46.2 => constants.%F.specific_fn.d7f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%C) { // CHECK:STDOUT: %T.loc6_7.1 => constants.%C -// CHECK:STDOUT: %array_type.loc6_29.1 => constants.%array_type.cae -// CHECK:STDOUT: %pattern_type.loc6_17 => constants.%pattern_type.6c2 -// CHECK:STDOUT: %.loc6_35.2 => constants.%.081 -// CHECK:STDOUT: %pattern_type.loc6_35 => constants.%pattern_type.c6b +// CHECK:STDOUT: %array_type.loc6_29.1 => constants.%array_type.f5e +// CHECK:STDOUT: %pattern_type.loc6_17 => constants.%pattern_type.501 +// CHECK:STDOUT: %.loc6_35.2 => constants.%.8f0 +// CHECK:STDOUT: %pattern_type.loc6_35 => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.98d -// CHECK:STDOUT: %F.specific_fn.loc6_46.2 => constants.%F.specific_fn.c32 +// CHECK:STDOUT: %require_complete => constants.%complete_type.acb +// CHECK:STDOUT: %F.specific_fn.loc6_46.2 => constants.%F.specific_fn.076 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_type_mismatch.carbon @@ -987,39 +987,39 @@ fn G() { // CHECK:STDOUT: %IntLiteral: %IntLiteral.type = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.dc0: type = pattern_type Core.IntLiteral [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %array_type.fab: type = array_type %N, %C [symbolic] -// CHECK:STDOUT: %pattern_type.b73: type = pattern_type %array_type.fab [symbolic] +// CHECK:STDOUT: %array_type.ada: type = array_type %N, %C [symbolic] +// CHECK:STDOUT: %pattern_type.94a: type = pattern_type %array_type.ada [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.3a0: = require_complete_type %array_type.fab [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %require_complete.562: = require_complete_type %array_type.ada [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.ad7: = bound_method %N, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.431: = bound_method %N, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.431(%N) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.941: = bound_method %N, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.a95: = bound_method %N, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.a95(%N) [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %array_type.2d1: type = array_type %int_3.1ba, %D [concrete] -// CHECK:STDOUT: %pattern_type.97c: type = pattern_type %array_type.2d1 [concrete] +// CHECK:STDOUT: %array_type.918: type = array_type %int_3.1ba, %D [concrete] +// CHECK:STDOUT: %pattern_type.105: type = pattern_type %array_type.918 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.8d4: type = tuple_type (%empty_struct_type, %empty_struct_type, %empty_struct_type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.8d4 = tuple_value (%empty_struct, %empty_struct, %empty_struct) [concrete] @@ -1027,17 +1027,17 @@ fn G() { // CHECK:STDOUT: %D.val: %D = struct_value () [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %array: %array_type.2d1 = tuple_value (%D.val, %D.val, %D.val) [concrete] -// CHECK:STDOUT: %array_type.d86: type = array_type %int_3.1ba, %C [concrete] -// CHECK:STDOUT: %pattern_type.4f9: type = pattern_type %array_type.d86 [concrete] +// CHECK:STDOUT: %array: %array_type.918 = tuple_value (%D.val, %D.val, %D.val) [concrete] +// CHECK:STDOUT: %array_type.be4: type = array_type %int_3.1ba, %C [concrete] +// CHECK:STDOUT: %pattern_type.5bc: type = pattern_type %array_type.be4 [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%int_3.1ba) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc11_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %complete_type.a51: = complete_type_witness %array_type.d86 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc11_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %complete_type.2d2: = complete_type_witness %array_type.be4 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1051,9 +1051,9 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.IntLiteral: %IntLiteral.type = import_ref Core//prelude/parts/int_literal, IntLiteral, loaded [concrete = constants.%IntLiteral] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1070,13 +1070,13 @@ fn G() { // CHECK:STDOUT: %D.decl: type = class_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %N.patt: %pattern_type.dc0 = symbolic_binding_pattern N, 0 [concrete] -// CHECK:STDOUT: %a.param_patt: @F.%pattern_type (%pattern_type.b73) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.b73) = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %a.param_patt: @F.%pattern_type (%pattern_type.94a) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.94a) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc7_55: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc7_55: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %.loc7_26.1: type = splice_block %.loc7_26.3 [concrete = Core.IntLiteral] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] @@ -1086,22 +1086,22 @@ fn G() { // CHECK:STDOUT: %.loc7_26.3: type = converted %IntLiteral.call, %.loc7_26.2 [concrete = Core.IntLiteral] // CHECK:STDOUT: } // CHECK:STDOUT: %N.loc7_7.2: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N.loc7_7.1 (constants.%N)] -// CHECK:STDOUT: %a.param: @F.%array_type.loc7_49.1 (%array_type.fab) = value_param call_param0 -// CHECK:STDOUT: %.loc7_49: type = splice_block %array_type.loc7_49.2 [symbolic = %array_type.loc7_49.1 (constants.%array_type.fab)] { +// CHECK:STDOUT: %a.param: @F.%array_type.loc7_49.1 (%array_type.ada) = value_param call_param0 +// CHECK:STDOUT: %.loc7_49: type = splice_block %array_type.loc7_49.2 [symbolic = %array_type.loc7_49.1 (constants.%array_type.ada)] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %N.ref.loc7_48: Core.IntLiteral = name_ref N, %N.loc7_7.2 [symbolic = %N.loc7_7.1 (constants.%N)] -// CHECK:STDOUT: %array_type.loc7_49.2: type = array_type %N.ref.loc7_48, %C.ref [symbolic = %array_type.loc7_49.1 (constants.%array_type.fab)] +// CHECK:STDOUT: %array_type.loc7_49.2: type = array_type %N.ref.loc7_48, %C.ref [symbolic = %array_type.loc7_49.1 (constants.%array_type.ada)] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: @F.%array_type.loc7_49.1 (%array_type.fab) = value_binding a, %a.param +// CHECK:STDOUT: %a: @F.%array_type.loc7_49.1 (%array_type.ada) = value_binding a, %a.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc9: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc9: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -1125,22 +1125,22 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%N.loc7_7.2: Core.IntLiteral) { // CHECK:STDOUT: %N.loc7_7.1: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N.loc7_7.1 (constants.%N)] -// CHECK:STDOUT: %array_type.loc7_49.1: type = array_type %N.loc7_7.1, constants.%C [symbolic = %array_type.loc7_49.1 (constants.%array_type.fab)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %array_type.loc7_49.1 [symbolic = %pattern_type (constants.%pattern_type.b73)] +// CHECK:STDOUT: %array_type.loc7_49.1: type = array_type %N.loc7_7.1, constants.%C [symbolic = %array_type.loc7_49.1 (constants.%array_type.ada)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %array_type.loc7_49.1 [symbolic = %pattern_type (constants.%pattern_type.94a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %array_type.loc7_49.1 [symbolic = %require_complete (constants.%require_complete.3a0)] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc7_7.1, constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.ad7)] -// CHECK:STDOUT: %bound_method.loc7_69.3: = bound_method %N.loc7_7.1, constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [symbolic = %bound_method.loc7_69.3 (constants.%bound_method.431)] +// CHECK:STDOUT: %require_complete: = require_complete_type %array_type.loc7_49.1 [symbolic = %require_complete (constants.%require_complete.562)] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc7_7.1, constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.941)] +// CHECK:STDOUT: %bound_method.loc7_69.3: = bound_method %N.loc7_7.1, constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [symbolic = %bound_method.loc7_69.3 (constants.%bound_method.a95)] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_69.2: init %i32 = call %bound_method.loc7_69.3(%N.loc7_7.1) [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_69.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%a.param: @F.%array_type.loc7_49.1 (%array_type.fab)) -> out %return.param: %i32 { +// CHECK:STDOUT: fn(%a.param: @F.%array_type.loc7_49.1 (%array_type.ada)) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %N.ref.loc7_68: Core.IntLiteral = name_ref N, %N.loc7_7.2 [symbolic = %N.loc7_7.1 (constants.%N)] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc7_69.1: = bound_method %N.ref.loc7_68, %impl.elem0 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.ad7)] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc7_69.1: = bound_method %N.ref.loc7_68, %impl.elem0 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.941)] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_69.2: = bound_method %N.ref.loc7_68, %specific_fn [symbolic = %bound_method.loc7_69.3 (constants.%bound_method.431)] +// CHECK:STDOUT: %bound_method.loc7_69.2: = bound_method %N.ref.loc7_68, %specific_fn [symbolic = %bound_method.loc7_69.3 (constants.%bound_method.a95)] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_69.1: init %i32 = call %bound_method.loc7_69.2(%N.ref.loc7_68) [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_69.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: %.loc7_69: init %i32 = converted %N.ref.loc7_68, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_69.1 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_69.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: return %.loc7_69 @@ -1150,10 +1150,10 @@ fn G() { // CHECK:STDOUT: fn @G() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.97c = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.97c = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.105 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.105 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %array_type.2d1 = var %a.var_patt +// CHECK:STDOUT: %a.var: ref %array_type.918 = var %a.var_patt // CHECK:STDOUT: %.loc11_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc11_30.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc11_34.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -1170,21 +1170,21 @@ fn G() { // CHECK:STDOUT: %.loc11_35.6: ref %D = array_index %a.var, %int_2 // CHECK:STDOUT: %.loc11_34.2: init %D to %.loc11_35.6 = class_init () [concrete = constants.%D.val] // CHECK:STDOUT: %.loc11_35.7: init %D = converted %.loc11_34.1, %.loc11_34.2 [concrete = constants.%D.val] -// CHECK:STDOUT: %.loc11_35.8: init %array_type.2d1 to %a.var = array_init (%.loc11_35.3, %.loc11_35.5, %.loc11_35.7) [concrete = constants.%array] -// CHECK:STDOUT: %.loc11_3: init %array_type.2d1 = converted %.loc11_35.1, %.loc11_35.8 [concrete = constants.%array] +// CHECK:STDOUT: %.loc11_35.8: init %array_type.918 to %a.var = array_init (%.loc11_35.3, %.loc11_35.5, %.loc11_35.7) [concrete = constants.%array] +// CHECK:STDOUT: %.loc11_3: init %array_type.918 = converted %.loc11_35.1, %.loc11_35.8 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc11_3 -// CHECK:STDOUT: %.loc11_20: type = splice_block %array_type [concrete = constants.%array_type.2d1] { +// CHECK:STDOUT: %.loc11_20: type = splice_block %array_type [concrete = constants.%array_type.918] { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %array_type: type = array_type %int_3, %D.ref [concrete = constants.%array_type.2d1] +// CHECK:STDOUT: %array_type: type = array_type %int_3, %D.ref [concrete = constants.%array_type.918] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %array_type.2d1 = ref_binding a, %a.var +// CHECK:STDOUT: %a: ref %array_type.918 = ref_binding a, %a.var // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %a.ref: ref %array_type.2d1 = name_ref a, %a +// CHECK:STDOUT: %a.ref: ref %array_type.918 = name_ref a, %a // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%int_3.1ba) [concrete = constants.%F.specific_fn] -// CHECK:STDOUT: %.loc22: %array_type.d86 = converted %a.ref, [concrete = ] +// CHECK:STDOUT: %.loc22: %array_type.be4 = converted %a.ref, [concrete = ] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn() -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return %F.call // CHECK:STDOUT: } @@ -1196,27 +1196,27 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11_3.3(%self.param: ref %array_type.2d1) { +// CHECK:STDOUT: fn @Destroy.Op.loc11_3.3(%self.param: ref %array_type.918) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%N) { // CHECK:STDOUT: %N.loc7_7.1 => constants.%N -// CHECK:STDOUT: %array_type.loc7_49.1 => constants.%array_type.fab -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.b73 +// CHECK:STDOUT: %array_type.loc7_49.1 => constants.%array_type.ada +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.94a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%int_3.1ba) { // CHECK:STDOUT: %N.loc7_7.1 => constants.%int_3.1ba -// CHECK:STDOUT: %array_type.loc7_49.1 => constants.%array_type.d86 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4f9 +// CHECK:STDOUT: %array_type.loc7_49.1 => constants.%array_type.be4 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5bc // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.a51 -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound => constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a -// CHECK:STDOUT: %bound_method.loc7_69.3 => constants.%bound_method.353 -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_69.2 => constants.%int_3.49a +// CHECK:STDOUT: %require_complete => constants.%complete_type.2d2 +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound => constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0 +// CHECK:STDOUT: %bound_method.loc7_69.3 => constants.%bound_method.655 +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_69.2 => constants.%int_3.6cc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_bound_type_mismatch.carbon @@ -1233,47 +1233,47 @@ fn G() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N.fe9: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %N.afc: %i32 = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %N.bbe: %i32 = symbolic_binding N, 0 [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.2f8: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.7c2: %Int.as.ImplicitAs.impl.Convert.type.2f8 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.d2b: = impl_witness imports.%ImplicitAs.impl_witness_table.07d, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.73a: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.735: %Int.as.ImplicitAs.impl.Convert.type.73a = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.4bd = facet_value %i32, (%ImplicitAs.impl_witness.d2b) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f57: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.516: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f57, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.afc, %Int.as.ImplicitAs.impl.Convert.735 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.735, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.470: = bound_method %N.afc, %Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.470(%N.afc) [symbolic] -// CHECK:STDOUT: %array_type.82f: type = array_type %Int.as.ImplicitAs.impl.Convert.call, %C [symbolic] -// CHECK:STDOUT: %pattern_type.92e: type = pattern_type %array_type.82f [symbolic] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.f73: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.34b: %Int.as.ImplicitAs.impl.Convert.type.f73 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.062: = impl_witness imports.%ImplicitAs.impl_witness_table.eac, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.337: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.64e: %Int.as.ImplicitAs.impl.Convert.type.337 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.ace = facet_value %i32, (%ImplicitAs.impl_witness.062) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b68: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.7a9: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b68, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.bbe, %Int.as.ImplicitAs.impl.Convert.64e [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.64e, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.f71: = bound_method %N.bbe, %Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.f71(%N.bbe) [symbolic] +// CHECK:STDOUT: %array_type.074: type = array_type %Int.as.ImplicitAs.impl.Convert.call, %C [symbolic] +// CHECK:STDOUT: %pattern_type.394: type = pattern_type %array_type.074 [symbolic] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.1f0: = require_complete_type %array_type.82f [symbolic] +// CHECK:STDOUT: %require_complete.ffa: = require_complete_type %array_type.074 [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N.fe9) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %N.afc, %Int.as.Copy.impl.Op.c4a [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.8ba: = bound_method %N.afc, %Int.as.Copy.impl.Op.specific_fn [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N.fe9) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %N.bbe, %Int.as.Copy.impl.Op.ce7 [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.f80: = bound_method %N.bbe, %Int.as.Copy.impl.Op.specific_fn [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %array_type.306: type = array_type %int_3, %C [concrete] -// CHECK:STDOUT: %pattern_type.690: type = pattern_type %array_type.306 [concrete] +// CHECK:STDOUT: %array_type.be4: type = array_type %int_3, %C [concrete] +// CHECK:STDOUT: %pattern_type.5bc: type = pattern_type %array_type.be4 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.8d4: type = tuple_type (%empty_struct_type, %empty_struct_type, %empty_struct_type) [concrete] // CHECK:STDOUT: %tuple.5c1: %tuple.type.8d4 = tuple_value (%empty_struct, %empty_struct, %empty_struct) [concrete] @@ -1281,10 +1281,10 @@ fn G() { // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %array: %array_type.306 = tuple_value (%C.val, %C.val, %C.val) [concrete] +// CHECK:STDOUT: %array: %array_type.be4 = tuple_value (%C.val, %C.val, %C.val) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc9_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc9_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1297,12 +1297,12 @@ fn G() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd0: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.2f8) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.7c2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.07d = impl_witness_table (%Core.import_ref.dd0), @Int.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.835: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.f73) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.34b)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eac = impl_witness_table (%Core.import_ref.835), @Int.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1316,42 +1316,42 @@ fn G() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %N.patt: %pattern_type.c6b = symbolic_binding_pattern N, 0 [concrete] -// CHECK:STDOUT: %a.param_patt: @F.%pattern_type (%pattern_type.92e) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.92e) = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc6_41 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.104 = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %a.param_patt: @F.%pattern_type (%pattern_type.394) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.394) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc6_41 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc6_41: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6_41: Core.Form = init_form %i32.loc6_41 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc6_41: Core.Form = init_form %i32.loc6_41 [concrete = constants.%.7ea] // CHECK:STDOUT: %.loc6_10: type = splice_block %i32.loc6_10 [concrete = constants.%i32] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32.loc6_10: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc6_7.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc6_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %a.param: @F.%array_type.loc6_35.1 (%array_type.82f) = value_param call_param0 -// CHECK:STDOUT: %.loc6_35: type = splice_block %array_type.loc6_35.2 [symbolic = %array_type.loc6_35.1 (constants.%array_type.82f)] { +// CHECK:STDOUT: %N.loc6_7.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc6_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %a.param: @F.%array_type.loc6_35.1 (%array_type.074) = value_param call_param0 +// CHECK:STDOUT: %.loc6_35: type = splice_block %array_type.loc6_35.2 [symbolic = %array_type.loc6_35.1 (constants.%array_type.074)] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %N.ref.loc6_34: %i32 = name_ref N, %N.loc6_7.2 [symbolic = %N.loc6_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %impl.elem0.loc6_34: %.516 = impl_witness_access constants.%ImplicitAs.impl_witness.d2b, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.735] +// CHECK:STDOUT: %N.ref.loc6_34: %i32 = name_ref N, %N.loc6_7.2 [symbolic = %N.loc6_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %impl.elem0.loc6_34: %.7a9 = impl_witness_access constants.%ImplicitAs.impl_witness.062, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.64e] // CHECK:STDOUT: %bound_method.loc6_34.2: = bound_method %N.ref.loc6_34, %impl.elem0.loc6_34 [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound)] // CHECK:STDOUT: %specific_fn.loc6_34: = specific_function %impl.elem0.loc6_34, @Int.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Int.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_34.3: = bound_method %N.ref.loc6_34, %specific_fn.loc6_34 [symbolic = %bound_method.loc6_34.1 (constants.%bound_method.470)] +// CHECK:STDOUT: %bound_method.loc6_34.3: = bound_method %N.ref.loc6_34, %specific_fn.loc6_34 [symbolic = %bound_method.loc6_34.1 (constants.%bound_method.f71)] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call.loc6_34.2: init Core.IntLiteral = call %bound_method.loc6_34.3(%N.ref.loc6_34) [symbolic = %Int.as.ImplicitAs.impl.Convert.call.loc6_34.1 (constants.%Int.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: %.loc6_34.1: Core.IntLiteral = value_of_initializer %Int.as.ImplicitAs.impl.Convert.call.loc6_34.2 [symbolic = %Int.as.ImplicitAs.impl.Convert.call.loc6_34.1 (constants.%Int.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: %.loc6_34.2: Core.IntLiteral = converted %N.ref.loc6_34, %.loc6_34.1 [symbolic = %Int.as.ImplicitAs.impl.Convert.call.loc6_34.1 (constants.%Int.as.ImplicitAs.impl.Convert.call)] -// CHECK:STDOUT: %array_type.loc6_35.2: type = array_type %.loc6_34.2, %C.ref [symbolic = %array_type.loc6_35.1 (constants.%array_type.82f)] +// CHECK:STDOUT: %array_type.loc6_35.2: type = array_type %.loc6_34.2, %C.ref [symbolic = %array_type.loc6_35.1 (constants.%array_type.074)] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: @F.%array_type.loc6_35.1 (%array_type.82f) = value_binding a, %a.param +// CHECK:STDOUT: %a: @F.%array_type.loc6_35.1 (%array_type.074) = value_binding a, %a.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc8: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -1366,26 +1366,26 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%N.loc6_7.2: %i32) { -// CHECK:STDOUT: %N.loc6_7.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc6_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc6_7.1, constants.%Int.as.ImplicitAs.impl.Convert.735 [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound)] -// CHECK:STDOUT: %bound_method.loc6_34.1: = bound_method %N.loc6_7.1, constants.%Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic = %bound_method.loc6_34.1 (constants.%bound_method.470)] +// CHECK:STDOUT: %N.loc6_7.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc6_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc6_7.1, constants.%Int.as.ImplicitAs.impl.Convert.64e [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound)] +// CHECK:STDOUT: %bound_method.loc6_34.1: = bound_method %N.loc6_7.1, constants.%Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic = %bound_method.loc6_34.1 (constants.%bound_method.f71)] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call.loc6_34.1: init Core.IntLiteral = call %bound_method.loc6_34.1(%N.loc6_7.1) [symbolic = %Int.as.ImplicitAs.impl.Convert.call.loc6_34.1 (constants.%Int.as.ImplicitAs.impl.Convert.call)] -// CHECK:STDOUT: %array_type.loc6_35.1: type = array_type %Int.as.ImplicitAs.impl.Convert.call.loc6_34.1, constants.%C [symbolic = %array_type.loc6_35.1 (constants.%array_type.82f)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %array_type.loc6_35.1 [symbolic = %pattern_type (constants.%pattern_type.92e)] +// CHECK:STDOUT: %array_type.loc6_35.1: type = array_type %Int.as.ImplicitAs.impl.Convert.call.loc6_34.1, constants.%C [symbolic = %array_type.loc6_35.1 (constants.%array_type.074)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %array_type.loc6_35.1 [symbolic = %pattern_type (constants.%pattern_type.394)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %array_type.loc6_35.1 [symbolic = %require_complete (constants.%require_complete.1f0)] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %N.loc6_7.1, constants.%Int.as.Copy.impl.Op.c4a [symbolic = %Int.as.Copy.impl.Op.bound (constants.%Int.as.Copy.impl.Op.bound)] -// CHECK:STDOUT: %bound_method.loc6_54.3: = bound_method %N.loc6_7.1, constants.%Int.as.Copy.impl.Op.specific_fn [symbolic = %bound_method.loc6_54.3 (constants.%bound_method.8ba)] +// CHECK:STDOUT: %require_complete: = require_complete_type %array_type.loc6_35.1 [symbolic = %require_complete (constants.%require_complete.ffa)] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %N.loc6_7.1, constants.%Int.as.Copy.impl.Op.ce7 [symbolic = %Int.as.Copy.impl.Op.bound (constants.%Int.as.Copy.impl.Op.bound)] +// CHECK:STDOUT: %bound_method.loc6_54.3: = bound_method %N.loc6_7.1, constants.%Int.as.Copy.impl.Op.specific_fn [symbolic = %bound_method.loc6_54.3 (constants.%bound_method.f80)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%a.param: @F.%array_type.loc6_35.1 (%array_type.82f)) -> out %return.param: %i32 { +// CHECK:STDOUT: fn(%a.param: @F.%array_type.loc6_35.1 (%array_type.074)) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %N.ref.loc6_54: %i32 = name_ref N, %N.loc6_7.2 [symbolic = %N.loc6_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %impl.elem0.loc6_54: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %N.ref.loc6_54: %i32 = name_ref N, %N.loc6_7.2 [symbolic = %N.loc6_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %impl.elem0.loc6_54: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc6_54.1: = bound_method %N.ref.loc6_54, %impl.elem0.loc6_54 [symbolic = %Int.as.Copy.impl.Op.bound (constants.%Int.as.Copy.impl.Op.bound)] // CHECK:STDOUT: %specific_fn.loc6_54: = specific_function %impl.elem0.loc6_54, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_54.2: = bound_method %N.ref.loc6_54, %specific_fn.loc6_54 [symbolic = %bound_method.loc6_54.3 (constants.%bound_method.8ba)] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_54.2(%N.ref.loc6_54) [symbolic = %N.loc6_7.1 (constants.%N.afc)] +// CHECK:STDOUT: %bound_method.loc6_54.2: = bound_method %N.ref.loc6_54, %specific_fn.loc6_54 [symbolic = %bound_method.loc6_54.3 (constants.%bound_method.f80)] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_54.2(%N.ref.loc6_54) [symbolic = %N.loc6_7.1 (constants.%N.bbe)] // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -1393,10 +1393,10 @@ fn G() { // CHECK:STDOUT: fn @G() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.690 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.690 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.5bc = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.5bc = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %array_type.306 = var %a.var_patt +// CHECK:STDOUT: %a.var: ref %array_type.be4 = var %a.var_patt // CHECK:STDOUT: %.loc9_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_30.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_34.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -1413,18 +1413,18 @@ fn G() { // CHECK:STDOUT: %.loc9_35.6: ref %C = array_index %a.var, %int_2 // CHECK:STDOUT: %.loc9_34.2: init %C to %.loc9_35.6 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc9_35.7: init %C = converted %.loc9_34.1, %.loc9_34.2 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc9_35.8: init %array_type.306 to %a.var = array_init (%.loc9_35.3, %.loc9_35.5, %.loc9_35.7) [concrete = constants.%array] -// CHECK:STDOUT: %.loc9_3: init %array_type.306 = converted %.loc9_35.1, %.loc9_35.8 [concrete = constants.%array] +// CHECK:STDOUT: %.loc9_35.8: init %array_type.be4 to %a.var = array_init (%.loc9_35.3, %.loc9_35.5, %.loc9_35.7) [concrete = constants.%array] +// CHECK:STDOUT: %.loc9_3: init %array_type.be4 = converted %.loc9_35.1, %.loc9_35.8 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc9_3 -// CHECK:STDOUT: %.loc9_20: type = splice_block %array_type [concrete = constants.%array_type.306] { +// CHECK:STDOUT: %.loc9_20: type = splice_block %array_type [concrete = constants.%array_type.be4] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] -// CHECK:STDOUT: %array_type: type = array_type %int_3, %C.ref [concrete = constants.%array_type.306] +// CHECK:STDOUT: %array_type: type = array_type %int_3, %C.ref [concrete = constants.%array_type.be4] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %array_type.306 = ref_binding a, %a.var +// CHECK:STDOUT: %a: ref %array_type.be4 = ref_binding a, %a.var // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %a.ref: ref %array_type.306 = name_ref a, %a -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %a.ref: ref %array_type.be4 = name_ref a, %a +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1436,18 +1436,18 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %array_type.306) { +// CHECK:STDOUT: fn @Destroy.Op.loc9_3.3(%self.param: ref %array_type.be4) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%N.afc) { -// CHECK:STDOUT: %N.loc6_7.1 => constants.%N.afc +// CHECK:STDOUT: specific @F(constants.%N.bbe) { +// CHECK:STDOUT: %N.loc6_7.1 => constants.%N.bbe // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound => constants.%Int.as.ImplicitAs.impl.Convert.bound -// CHECK:STDOUT: %bound_method.loc6_34.1 => constants.%bound_method.470 +// CHECK:STDOUT: %bound_method.loc6_34.1 => constants.%bound_method.f71 // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call.loc6_34.1 => constants.%Int.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %array_type.loc6_35.1 => constants.%array_type.82f -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.92e +// CHECK:STDOUT: %array_type.loc6_35.1 => constants.%array_type.074 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.394 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_array_length_from_tuple.carbon @@ -1462,29 +1462,29 @@ fn G() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %N.afc: %i32 = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %N.bbe: %i32 = symbolic_binding N, 0 [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.2f8: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.7c2: %Int.as.ImplicitAs.impl.Convert.type.2f8 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.d2b: = impl_witness imports.%ImplicitAs.impl_witness_table.07d, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.73a: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.735: %Int.as.ImplicitAs.impl.Convert.type.73a = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.4bd = facet_value %i32, (%ImplicitAs.impl_witness.d2b) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f57: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.516: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f57, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.afc, %Int.as.ImplicitAs.impl.Convert.735 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.735, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method: = bound_method %N.afc, %Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method(%N.afc) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.f73: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.34b: %Int.as.ImplicitAs.impl.Convert.type.f73 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.062: = impl_witness imports.%ImplicitAs.impl_witness_table.eac, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.337: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.64e: %Int.as.ImplicitAs.impl.Convert.type.337 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.ace = facet_value %i32, (%ImplicitAs.impl_witness.062) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b68: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.7a9: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b68, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.bbe, %Int.as.ImplicitAs.impl.Convert.64e [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.64e, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method: = bound_method %N.bbe, %Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method(%N.bbe) [symbolic] // CHECK:STDOUT: %array_type: type = array_type %Int.as.ImplicitAs.impl.Convert.call, %C [symbolic] -// CHECK:STDOUT: %pattern_type.801: type = pattern_type %array_type [symbolic] +// CHECK:STDOUT: %pattern_type.394: type = pattern_type %array_type [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.f64: = require_complete_type %array_type [symbolic] +// CHECK:STDOUT: %require_complete.ffa: = require_complete_type %array_type [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] @@ -1500,9 +1500,9 @@ fn G() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd0: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.2f8) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.7c2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.07d = impl_witness_table (%Core.import_ref.dd0), @Int.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.835: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.f73) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.34b)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eac = impl_witness_table (%Core.import_ref.835), @Int.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1515,20 +1515,20 @@ fn G() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %N.patt: %pattern_type.c6b = symbolic_binding_pattern N, 0 [concrete] -// CHECK:STDOUT: %a.param_patt: @F.%pattern_type (%pattern_type.801) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.801) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.104 = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %a.param_patt: @F.%pattern_type (%pattern_type.394) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.394) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc5_10: type = splice_block %i32 [concrete = constants.%i32] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc5_7.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc5_7.1 (constants.%N.afc)] +// CHECK:STDOUT: %N.loc5_7.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc5_7.1 (constants.%N.bbe)] // CHECK:STDOUT: %a.param: @F.%array_type.loc5_35.1 (%array_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_35: type = splice_block %array_type.loc5_35.2 [symbolic = %array_type.loc5_35.1 (constants.%array_type)] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %N.ref: %i32 = name_ref N, %N.loc5_7.2 [symbolic = %N.loc5_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %impl.elem0: %.516 = impl_witness_access constants.%ImplicitAs.impl_witness.d2b, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.735] +// CHECK:STDOUT: %N.ref: %i32 = name_ref N, %N.loc5_7.2 [symbolic = %N.loc5_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %impl.elem0: %.7a9 = impl_witness_access constants.%ImplicitAs.impl_witness.062, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.64e] // CHECK:STDOUT: %bound_method.loc5_34.2: = bound_method %N.ref, %impl.elem0 [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound)] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Int.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc5_34.3: = bound_method %N.ref, %specific_fn [symbolic = %bound_method.loc5_34.1 (constants.%bound_method)] @@ -1551,15 +1551,15 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%N.loc5_7.2: %i32) { -// CHECK:STDOUT: %N.loc5_7.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc5_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc5_7.1, constants.%Int.as.ImplicitAs.impl.Convert.735 [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound)] +// CHECK:STDOUT: %N.loc5_7.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc5_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc5_7.1, constants.%Int.as.ImplicitAs.impl.Convert.64e [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound)] // CHECK:STDOUT: %bound_method.loc5_34.1: = bound_method %N.loc5_7.1, constants.%Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic = %bound_method.loc5_34.1 (constants.%bound_method)] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call.loc5_34.1: init Core.IntLiteral = call %bound_method.loc5_34.1(%N.loc5_7.1) [symbolic = %Int.as.ImplicitAs.impl.Convert.call.loc5_34.1 (constants.%Int.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: %array_type.loc5_35.1: type = array_type %Int.as.ImplicitAs.impl.Convert.call.loc5_34.1, constants.%C [symbolic = %array_type.loc5_35.1 (constants.%array_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %array_type.loc5_35.1 [symbolic = %pattern_type (constants.%pattern_type.801)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %array_type.loc5_35.1 [symbolic = %pattern_type (constants.%pattern_type.394)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %array_type.loc5_35.1 [symbolic = %require_complete (constants.%require_complete.f64)] +// CHECK:STDOUT: %require_complete: = require_complete_type %array_type.loc5_35.1 [symbolic = %require_complete (constants.%require_complete.ffa)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%a.param: @F.%array_type.loc5_35.1 (%array_type)) { // CHECK:STDOUT: !entry: @@ -1577,12 +1577,12 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%N.afc) { -// CHECK:STDOUT: %N.loc5_7.1 => constants.%N.afc +// CHECK:STDOUT: specific @F(constants.%N.bbe) { +// CHECK:STDOUT: %N.loc5_7.1 => constants.%N.bbe // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound => constants.%Int.as.ImplicitAs.impl.Convert.bound // CHECK:STDOUT: %bound_method.loc5_34.1 => constants.%bound_method // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call.loc5_34.1 => constants.%Int.as.ImplicitAs.impl.Convert.call // CHECK:STDOUT: %array_type.loc5_35.1 => constants.%array_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.801 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.394 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/deduce/binding_pattern.carbon b/toolchain/check/testdata/deduce/binding_pattern.carbon index b8d6fcd358b1..d8c5e1d128a1 100644 --- a/toolchain/check/testdata/deduce/binding_pattern.carbon +++ b/toolchain/check/testdata/deduce/binding_pattern.carbon @@ -57,10 +57,10 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.55f: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] // CHECK:STDOUT: %pattern_type.51d1c4.1: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %C.Create.type.9e3: type = fn_type @C.Create, @C(%T) [symbolic] -// CHECK:STDOUT: %C.Create.7a9: %C.Create.type.9e3 = struct_value () [symbolic] +// CHECK:STDOUT: %C.Create.type.591: type = fn_type @C.Create, @C(%T) [symbolic] +// CHECK:STDOUT: %C.Create.241: %C.Create.type.591 = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] @@ -68,27 +68,27 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %V: type = symbolic_binding V, 1 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %C.dda: type = class_type @C, @C(%V) [symbolic] -// CHECK:STDOUT: %C.Create.type.76e: type = fn_type @C.Create, @C(%V) [symbolic] -// CHECK:STDOUT: %C.Create.260: %C.Create.type.76e = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.8d7: = require_complete_type %C.dda [symbolic] +// CHECK:STDOUT: %C.955: type = class_type @C, @C(%V) [symbolic] +// CHECK:STDOUT: %C.Create.type.d3b: type = fn_type @C.Create, @C(%V) [symbolic] +// CHECK:STDOUT: %C.Create.8bf: %C.Create.type.d3b = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete.9b9: = require_complete_type %C.955 [symbolic] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.946: type = pattern_type %V [symbolic] -// CHECK:STDOUT: %C.Create.specific_fn: = specific_function %C.Create.260, @C.Create(%V) [symbolic] +// CHECK:STDOUT: %C.Create.specific_fn: = specific_function %C.Create.8bf, @C.Create(%V) [symbolic] // CHECK:STDOUT: %require_complete.441: = require_complete_type %V [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.0b4: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] -// CHECK:STDOUT: %Self.2dd: %ImplicitAs.type.0b4 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.636: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%Dest) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.7c0: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self.2dd) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.751: %ImplicitAs.WithSelf.Convert.type.7c0 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.bcb: type = facet_type <@ImplicitAs, @ImplicitAs(%V)> [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.f61: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%V) [symbolic] -// CHECK:STDOUT: %assoc0.378: %ImplicitAs.assoc_type.f61 = assoc_entity element0, imports.%Core.import_ref.126 [symbolic] -// CHECK:STDOUT: %require_complete.6dc: = require_complete_type %ImplicitAs.type.bcb [symbolic] -// CHECK:STDOUT: %assoc0.2bb: %ImplicitAs.assoc_type.636 = assoc_entity element0, imports.%Core.import_ref.c7e [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.6e6: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] +// CHECK:STDOUT: %Self.b7e: %ImplicitAs.type.6e6 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.bf1: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%Dest) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c63: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.cba: %ImplicitAs.WithSelf.Convert.type.c63 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.394: type = facet_type <@ImplicitAs, @ImplicitAs(%V)> [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.e07: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%V) [symbolic] +// CHECK:STDOUT: %assoc0.e5d: %ImplicitAs.assoc_type.e07 = assoc_entity element0, imports.%Core.import_ref.569 [symbolic] +// CHECK:STDOUT: %require_complete.0d6: = require_complete_type %ImplicitAs.type.394 [symbolic] +// CHECK:STDOUT: %assoc0.bd2: %ImplicitAs.assoc_type.bf1 = assoc_entity element0, imports.%Core.import_ref.cd5 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -97,10 +97,10 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.afe: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.636) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.2bb)] -// CHECK:STDOUT: %Core.import_ref.126: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.7c0) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.751)] -// CHECK:STDOUT: %Core.import_ref.c7e = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.195: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.bf1) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.bd2)] +// CHECK:STDOUT: %Core.import_ref.569: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.c63) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.cba)] +// CHECK:STDOUT: %Core.import_ref.cd5 = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -140,11 +140,11 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %T.loc4_10.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_10.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.Create.type: type = fn_type @C.Create, @C(%T.loc4_10.1) [symbolic = %C.Create.type (constants.%C.Create.type.9e3)] -// CHECK:STDOUT: %C.Create: @C.%C.Create.type (%C.Create.type.9e3) = struct_value () [symbolic = %C.Create (constants.%C.Create.7a9)] +// CHECK:STDOUT: %C.Create.type: type = fn_type @C.Create, @C(%T.loc4_10.1) [symbolic = %C.Create.type (constants.%C.Create.type.591)] +// CHECK:STDOUT: %C.Create: @C.%C.Create.type (%C.Create.type.591) = struct_value () [symbolic = %C.Create (constants.%C.Create.241)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %C.Create.decl: @C.%C.Create.type (%C.Create.type.9e3) = fn_decl @C.Create [symbolic = @C.%C.Create (constants.%C.Create.7a9)] { +// CHECK:STDOUT: %C.Create.decl: @C.%C.Create.type (%C.Create.type.591) = fn_decl @C.Create [symbolic = @C.%C.Create (constants.%C.Create.241)] { // CHECK:STDOUT: %value.param_patt: @C.Create.%pattern_type (%pattern_type.51d1c4.1) = value_param_pattern [concrete] // CHECK:STDOUT: %value.patt: @C.Create.%pattern_type (%pattern_type.51d1c4.1) = at_binding_pattern value, %value.param_patt [concrete] // CHECK:STDOUT: } { @@ -156,7 +156,7 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.55f +// CHECK:STDOUT: .Self = constants.%C.1f9 // CHECK:STDOUT: .T = // CHECK:STDOUT: .Create = %C.Create.decl // CHECK:STDOUT: } @@ -180,29 +180,29 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %V.loc8_24.1: type = symbolic_binding V, 1 [symbolic = %V.loc8_24.1 (constants.%V)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.loc19_6.2: type = class_type @C, @C(%V.loc8_24.1) [symbolic = %C.loc19_6.2 (constants.%C.dda)] -// CHECK:STDOUT: %require_complete.loc19_7: = require_complete_type %C.loc19_6.2 [symbolic = %require_complete.loc19_7 (constants.%require_complete.8d7)] -// CHECK:STDOUT: %C.Create.type: type = fn_type @C.Create, @C(%V.loc8_24.1) [symbolic = %C.Create.type (constants.%C.Create.type.76e)] -// CHECK:STDOUT: %C.Create: @F.%C.Create.type (%C.Create.type.76e) = struct_value () [symbolic = %C.Create (constants.%C.Create.260)] +// CHECK:STDOUT: %C.loc19_6.2: type = class_type @C, @C(%V.loc8_24.1) [symbolic = %C.loc19_6.2 (constants.%C.955)] +// CHECK:STDOUT: %require_complete.loc19_7: = require_complete_type %C.loc19_6.2 [symbolic = %require_complete.loc19_7 (constants.%require_complete.9b9)] +// CHECK:STDOUT: %C.Create.type: type = fn_type @C.Create, @C(%V.loc8_24.1) [symbolic = %C.Create.type (constants.%C.Create.type.d3b)] +// CHECK:STDOUT: %C.Create: @F.%C.Create.type (%C.Create.type.d3b) = struct_value () [symbolic = %C.Create (constants.%C.Create.8bf)] // CHECK:STDOUT: %C.Create.specific_fn.loc19_7.2: = specific_function %C.Create, @C.Create(%V.loc8_24.1) [symbolic = %C.Create.specific_fn.loc19_7.2 (constants.%C.Create.specific_fn)] // CHECK:STDOUT: %require_complete.loc19_16.1: = require_complete_type %V.loc8_24.1 [symbolic = %require_complete.loc19_16.1 (constants.%require_complete.441)] -// CHECK:STDOUT: %ImplicitAs.type.loc19_16.2: type = facet_type <@ImplicitAs, @ImplicitAs(%V.loc8_24.1)> [symbolic = %ImplicitAs.type.loc19_16.2 (constants.%ImplicitAs.type.bcb)] -// CHECK:STDOUT: %require_complete.loc19_16.2: = require_complete_type %ImplicitAs.type.loc19_16.2 [symbolic = %require_complete.loc19_16.2 (constants.%require_complete.6dc)] -// CHECK:STDOUT: %ImplicitAs.assoc_type: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%V.loc8_24.1) [symbolic = %ImplicitAs.assoc_type (constants.%ImplicitAs.assoc_type.f61)] -// CHECK:STDOUT: %assoc0: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.f61) = assoc_entity element0, imports.%Core.import_ref.126 [symbolic = %assoc0 (constants.%assoc0.378)] +// CHECK:STDOUT: %ImplicitAs.type.loc19_16.2: type = facet_type <@ImplicitAs, @ImplicitAs(%V.loc8_24.1)> [symbolic = %ImplicitAs.type.loc19_16.2 (constants.%ImplicitAs.type.394)] +// CHECK:STDOUT: %require_complete.loc19_16.2: = require_complete_type %ImplicitAs.type.loc19_16.2 [symbolic = %require_complete.loc19_16.2 (constants.%require_complete.0d6)] +// CHECK:STDOUT: %ImplicitAs.assoc_type: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%V.loc8_24.1) [symbolic = %ImplicitAs.assoc_type (constants.%ImplicitAs.assoc_type.e07)] +// CHECK:STDOUT: %assoc0: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.e07) = assoc_entity element0, imports.%Core.import_ref.569 [symbolic = %assoc0 (constants.%assoc0.e5d)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %V.ref: type = name_ref V, %V.loc8_24.2 [symbolic = %V.loc8_24.1 (constants.%V)] -// CHECK:STDOUT: %C.loc19_6.1: type = class_type @C, @C(constants.%V) [symbolic = %C.loc19_6.2 (constants.%C.dda)] -// CHECK:STDOUT: %.loc19_7: @F.%C.Create.type (%C.Create.type.76e) = specific_constant @C.%C.Create.decl, @C(constants.%V) [symbolic = %C.Create (constants.%C.Create.260)] -// CHECK:STDOUT: %Create.ref: @F.%C.Create.type (%C.Create.type.76e) = name_ref Create, %.loc19_7 [symbolic = %C.Create (constants.%C.Create.260)] +// CHECK:STDOUT: %C.loc19_6.1: type = class_type @C, @C(constants.%V) [symbolic = %C.loc19_6.2 (constants.%C.955)] +// CHECK:STDOUT: %.loc19_7: @F.%C.Create.type (%C.Create.type.d3b) = specific_constant @C.%C.Create.decl, @C(constants.%V) [symbolic = %C.Create (constants.%C.Create.8bf)] +// CHECK:STDOUT: %Create.ref: @F.%C.Create.type (%C.Create.type.d3b) = name_ref Create, %.loc19_7 [symbolic = %C.Create (constants.%C.Create.8bf)] // CHECK:STDOUT: %.loc19_16.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %C.Create.specific_fn.loc19_7.1: = specific_function %Create.ref, @C.Create(constants.%V) [symbolic = %C.Create.specific_fn.loc19_7.2 (constants.%C.Create.specific_fn)] -// CHECK:STDOUT: %ImplicitAs.type.loc19_16.1: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%V)> [symbolic = %ImplicitAs.type.loc19_16.2 (constants.%ImplicitAs.type.bcb)] -// CHECK:STDOUT: %.loc19_16.2: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.f61) = specific_constant imports.%Core.import_ref.afe, @ImplicitAs.WithSelf(constants.%V, constants.%Self.2dd) [symbolic = %assoc0 (constants.%assoc0.378)] -// CHECK:STDOUT: %Convert.ref: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.f61) = name_ref Convert, %.loc19_16.2 [symbolic = %assoc0 (constants.%assoc0.378)] +// CHECK:STDOUT: %ImplicitAs.type.loc19_16.1: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%V)> [symbolic = %ImplicitAs.type.loc19_16.2 (constants.%ImplicitAs.type.394)] +// CHECK:STDOUT: %.loc19_16.2: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.e07) = specific_constant imports.%Core.import_ref.195, @ImplicitAs.WithSelf(constants.%V, constants.%Self.b7e) [symbolic = %assoc0 (constants.%assoc0.e5d)] +// CHECK:STDOUT: %Convert.ref: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.e07) = name_ref Convert, %.loc19_16.2 [symbolic = %assoc0 (constants.%assoc0.e5d)] // CHECK:STDOUT: %.loc19_16.3: @F.%V.loc8_24.1 (%V) = converted %.loc19_16.1, [concrete = ] // CHECK:STDOUT: %C.Create.call: init %empty_tuple.type = call %C.Create.specific_fn.loc19_7.1() // CHECK:STDOUT: return @@ -213,8 +213,8 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %T.loc4_10.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.Create.type => constants.%C.Create.type.9e3 -// CHECK:STDOUT: %C.Create => constants.%C.Create.7a9 +// CHECK:STDOUT: %C.Create.type => constants.%C.Create.type.591 +// CHECK:STDOUT: %C.Create => constants.%C.Create.241 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.Create(constants.%T) { @@ -231,8 +231,8 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %T.loc4_10.1 => constants.%V // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.Create.type => constants.%C.Create.type.76e -// CHECK:STDOUT: %C.Create => constants.%C.Create.260 +// CHECK:STDOUT: %C.Create.type => constants.%C.Create.type.d3b +// CHECK:STDOUT: %C.Create => constants.%C.Create.8bf // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.Create(constants.%V) { @@ -253,59 +253,59 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.0c8: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] // CHECK:STDOUT: %pattern_type.51d1c4.1: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %C.Create.type.80a: type = fn_type @C.Create, @C(%T) [symbolic] -// CHECK:STDOUT: %C.Create.894: %C.Create.type.80a = struct_value () [symbolic] +// CHECK:STDOUT: %C.Create.type.591: type = fn_type @C.Create, @C(%T) [symbolic] +// CHECK:STDOUT: %C.Create.241: %C.Create.type.591 = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %.Self.d91: %Destroy.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.c75: %Destroy.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.0b4: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] -// CHECK:STDOUT: %Self.2dd: %ImplicitAs.type.0b4 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.636: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%Dest) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.7c0: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self.2dd) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.751: %ImplicitAs.WithSelf.Convert.type.7c0 = struct_value () [symbolic] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.d91 [symbolic_self] -// CHECK:STDOUT: %ImplicitAs.type.33a: type = facet_type <@ImplicitAs, @ImplicitAs(%.Self.as_type)> [symbolic_self] +// CHECK:STDOUT: %ImplicitAs.type.6e6: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] +// CHECK:STDOUT: %Self.b7e: %ImplicitAs.type.6e6 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.bf1: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%Dest) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c63: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.cba: %ImplicitAs.WithSelf.Convert.type.c63 = struct_value () [symbolic] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.c75 [symbolic_self] +// CHECK:STDOUT: %ImplicitAs.type.646: type = facet_type <@ImplicitAs, @ImplicitAs(%.Self.as_type)> [symbolic_self] // CHECK:STDOUT: %Destroy_where.type: type = facet_type <@Destroy where %empty_struct_type impls @ImplicitAs, @ImplicitAs(%.Self.as_type)> [concrete] -// CHECK:STDOUT: %pattern_type.785: type = pattern_type %Destroy_where.type [concrete] +// CHECK:STDOUT: %pattern_type.376: type = pattern_type %Destroy_where.type [concrete] // CHECK:STDOUT: %V: %Destroy_where.type = symbolic_binding V, 1 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %V.as_type: type = facet_access_type %V [symbolic] -// CHECK:STDOUT: %C.958: type = class_type @C, @C(%V.as_type) [symbolic] -// CHECK:STDOUT: %C.Create.type.d82: type = fn_type @C.Create, @C(%V.as_type) [symbolic] -// CHECK:STDOUT: %C.Create.2ab: %C.Create.type.d82 = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.8ff: = require_complete_type %C.958 [symbolic] -// CHECK:STDOUT: %pattern_type.a04: type = pattern_type %V.as_type [symbolic] -// CHECK:STDOUT: %C.Create.specific_fn: = specific_function %C.Create.2ab, @C.Create(%V.as_type) [symbolic] -// CHECK:STDOUT: %require_complete.3b0: = require_complete_type %V.as_type [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.17d: type = facet_type <@ImplicitAs, @ImplicitAs(%V.as_type)> [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.cb6: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%V.as_type) [symbolic] -// CHECK:STDOUT: %assoc0.671: %ImplicitAs.assoc_type.cb6 = assoc_entity element0, imports.%Core.import_ref.126 [symbolic] -// CHECK:STDOUT: %require_complete.d7f: = require_complete_type %ImplicitAs.type.17d [symbolic] -// CHECK:STDOUT: %assoc0.2bb: %ImplicitAs.assoc_type.636 = assoc_entity element0, imports.%Core.import_ref.c7e [symbolic] +// CHECK:STDOUT: %C.ce7: type = class_type @C, @C(%V.as_type) [symbolic] +// CHECK:STDOUT: %C.Create.type.4a0: type = fn_type @C.Create, @C(%V.as_type) [symbolic] +// CHECK:STDOUT: %C.Create.153: %C.Create.type.4a0 = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete.bf6: = require_complete_type %C.ce7 [symbolic] +// CHECK:STDOUT: %pattern_type.87c: type = pattern_type %V.as_type [symbolic] +// CHECK:STDOUT: %C.Create.specific_fn: = specific_function %C.Create.153, @C.Create(%V.as_type) [symbolic] +// CHECK:STDOUT: %require_complete.ee1: = require_complete_type %V.as_type [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.6a7: type = facet_type <@ImplicitAs, @ImplicitAs(%V.as_type)> [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.c61: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%V.as_type) [symbolic] +// CHECK:STDOUT: %assoc0.0c2: %ImplicitAs.assoc_type.c61 = assoc_entity element0, imports.%Core.import_ref.569 [symbolic] +// CHECK:STDOUT: %require_complete.960: = require_complete_type %ImplicitAs.type.6a7 [symbolic] +// CHECK:STDOUT: %assoc0.bd2: %ImplicitAs.assoc_type.bf1 = assoc_entity element0, imports.%Core.import_ref.cd5 [symbolic] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %V, @Destroy [symbolic] // CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %V.as_type, (%Destroy.lookup_impl_witness) [symbolic] // CHECK:STDOUT: %ImplicitAs.lookup_impl_witness: = lookup_impl_witness %empty_struct_type, @ImplicitAs, @ImplicitAs(%V.as_type) [symbolic] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.17d = facet_value %empty_struct_type, (%ImplicitAs.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.75b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%V.as_type, %ImplicitAs.facet) [symbolic] -// CHECK:STDOUT: %.bdb: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.75b, %ImplicitAs.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.9df: %.bdb = impl_witness_access %ImplicitAs.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %bound_method.179: = bound_method %empty_struct, %impl.elem0.9df [symbolic] -// CHECK:STDOUT: %specific_impl_fn.099: = specific_impl_function %impl.elem0.9df, @ImplicitAs.WithSelf.Convert(%V.as_type, %ImplicitAs.facet) [symbolic] -// CHECK:STDOUT: %bound_method.d49: = bound_method %empty_struct, %specific_impl_fn.099 [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.18e: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic] -// CHECK:STDOUT: %.bd0: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.18e, %Destroy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.0b4: %.bd0 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.71a: = specific_impl_function %impl.elem0.0b4, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.6a7 = facet_value %empty_struct_type, (%ImplicitAs.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.4cc: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%V.as_type, %ImplicitAs.facet) [symbolic] +// CHECK:STDOUT: %.66a: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.4cc, %ImplicitAs.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.075: %.66a = impl_witness_access %ImplicitAs.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %bound_method.e71: = bound_method %empty_struct, %impl.elem0.075 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.020: = specific_impl_function %impl.elem0.075, @ImplicitAs.WithSelf.Convert(%V.as_type, %ImplicitAs.facet) [symbolic] +// CHECK:STDOUT: %bound_method.4a3: = bound_method %empty_struct, %specific_impl_fn.020 [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.c60: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic] +// CHECK:STDOUT: %.562: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.c60, %Destroy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.0d2: %.562 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.9a4: = specific_impl_function %impl.elem0.0d2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -316,10 +316,10 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.afe: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.636) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.2bb)] -// CHECK:STDOUT: %Core.import_ref.126: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.7c0) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.751)] -// CHECK:STDOUT: %Core.import_ref.c7e = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.195: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.bf1) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.bd2)] +// CHECK:STDOUT: %Core.import_ref.569: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.c63) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.cba)] +// CHECK:STDOUT: %Core.import_ref.cd5 = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -340,7 +340,7 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 0 [concrete] -// CHECK:STDOUT: %V.patt: %pattern_type.785 = symbolic_binding_pattern V, 1 [concrete] +// CHECK:STDOUT: %V.patt: %pattern_type.376 = symbolic_binding_pattern V, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc9_17.1: type = splice_block %.loc9_17.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc9_14: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] @@ -351,14 +351,14 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %.Self.loc9_24: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %Core.ref.loc9_27: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Destroy.ref: type = name_ref Destroy, imports.%Core.Destroy [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %.Self.loc9_40: %Destroy.type = symbolic_binding .Self [symbolic_self = constants.%.Self.d91] +// CHECK:STDOUT: %.Self.loc9_40: %Destroy.type = symbolic_binding .Self [symbolic_self = constants.%.Self.c75] // CHECK:STDOUT: %.loc9_47.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %Core.ref.loc9_55: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %.Self.ref: %Destroy.type = name_ref .Self, %.Self.loc9_40 [symbolic_self = constants.%.Self.d91] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %.Self.ref: %Destroy.type = name_ref .Self, %.Self.loc9_40 [symbolic_self = constants.%.Self.c75] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc9_76: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %ImplicitAs.type.loc9: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%.Self.as_type)> [symbolic_self = constants.%ImplicitAs.type.33a] +// CHECK:STDOUT: %ImplicitAs.type.loc9: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%.Self.as_type)> [symbolic_self = constants.%ImplicitAs.type.646] // CHECK:STDOUT: %.loc9_47.2: type = converted %.loc9_47.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %.loc9_40.2: type = where_expr [concrete = constants.%Destroy_where.type] { // CHECK:STDOUT: requirement_base_facet_type %Destroy.ref @@ -373,11 +373,11 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %T.loc4_10.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_10.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.Create.type: type = fn_type @C.Create, @C(%T.loc4_10.1) [symbolic = %C.Create.type (constants.%C.Create.type.80a)] -// CHECK:STDOUT: %C.Create: @C.%C.Create.type (%C.Create.type.80a) = struct_value () [symbolic = %C.Create (constants.%C.Create.894)] +// CHECK:STDOUT: %C.Create.type: type = fn_type @C.Create, @C(%T.loc4_10.1) [symbolic = %C.Create.type (constants.%C.Create.type.591)] +// CHECK:STDOUT: %C.Create: @C.%C.Create.type (%C.Create.type.591) = struct_value () [symbolic = %C.Create (constants.%C.Create.241)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %C.Create.decl: @C.%C.Create.type (%C.Create.type.80a) = fn_decl @C.Create [symbolic = @C.%C.Create (constants.%C.Create.894)] { +// CHECK:STDOUT: %C.Create.decl: @C.%C.Create.type (%C.Create.type.591) = fn_decl @C.Create [symbolic = @C.%C.Create (constants.%C.Create.241)] { // CHECK:STDOUT: %value.param_patt: @C.Create.%pattern_type (%pattern_type.51d1c4.1) = value_param_pattern [concrete] // CHECK:STDOUT: %value.patt: @C.Create.%pattern_type (%pattern_type.51d1c4.1) = at_binding_pattern value, %value.param_patt [concrete] // CHECK:STDOUT: } { @@ -389,7 +389,7 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.0c8 +// CHECK:STDOUT: .Self = constants.%C.1f9 // CHECK:STDOUT: .T = // CHECK:STDOUT: .Create = %C.Create.decl // CHECK:STDOUT: } @@ -414,30 +414,30 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %V.as_type.loc10_6.2: type = facet_access_type %V.loc9_24.1 [symbolic = %V.as_type.loc10_6.2 (constants.%V.as_type)] -// CHECK:STDOUT: %C.loc10_6.2: type = class_type @C, @C(%V.as_type.loc10_6.2) [symbolic = %C.loc10_6.2 (constants.%C.958)] -// CHECK:STDOUT: %require_complete.loc10_7: = require_complete_type %C.loc10_6.2 [symbolic = %require_complete.loc10_7 (constants.%require_complete.8ff)] -// CHECK:STDOUT: %C.Create.type: type = fn_type @C.Create, @C(%V.as_type.loc10_6.2) [symbolic = %C.Create.type (constants.%C.Create.type.d82)] -// CHECK:STDOUT: %C.Create: @F.%C.Create.type (%C.Create.type.d82) = struct_value () [symbolic = %C.Create (constants.%C.Create.2ab)] +// CHECK:STDOUT: %C.loc10_6.2: type = class_type @C, @C(%V.as_type.loc10_6.2) [symbolic = %C.loc10_6.2 (constants.%C.ce7)] +// CHECK:STDOUT: %require_complete.loc10_7: = require_complete_type %C.loc10_6.2 [symbolic = %require_complete.loc10_7 (constants.%require_complete.bf6)] +// CHECK:STDOUT: %C.Create.type: type = fn_type @C.Create, @C(%V.as_type.loc10_6.2) [symbolic = %C.Create.type (constants.%C.Create.type.4a0)] +// CHECK:STDOUT: %C.Create: @F.%C.Create.type (%C.Create.type.4a0) = struct_value () [symbolic = %C.Create (constants.%C.Create.153)] // CHECK:STDOUT: %C.Create.specific_fn.loc10_7.2: = specific_function %C.Create, @C.Create(%V.as_type.loc10_6.2) [symbolic = %C.Create.specific_fn.loc10_7.2 (constants.%C.Create.specific_fn)] -// CHECK:STDOUT: %require_complete.loc10_16.1: = require_complete_type %V.as_type.loc10_6.2 [symbolic = %require_complete.loc10_16.1 (constants.%require_complete.3b0)] -// CHECK:STDOUT: %ImplicitAs.type.loc10_16.2: type = facet_type <@ImplicitAs, @ImplicitAs(%V.as_type.loc10_6.2)> [symbolic = %ImplicitAs.type.loc10_16.2 (constants.%ImplicitAs.type.17d)] -// CHECK:STDOUT: %require_complete.loc10_16.2: = require_complete_type %ImplicitAs.type.loc10_16.2 [symbolic = %require_complete.loc10_16.2 (constants.%require_complete.d7f)] -// CHECK:STDOUT: %ImplicitAs.assoc_type: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%V.as_type.loc10_6.2) [symbolic = %ImplicitAs.assoc_type (constants.%ImplicitAs.assoc_type.cb6)] -// CHECK:STDOUT: %assoc0: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.cb6) = assoc_entity element0, imports.%Core.import_ref.126 [symbolic = %assoc0 (constants.%assoc0.671)] +// CHECK:STDOUT: %require_complete.loc10_16.1: = require_complete_type %V.as_type.loc10_6.2 [symbolic = %require_complete.loc10_16.1 (constants.%require_complete.ee1)] +// CHECK:STDOUT: %ImplicitAs.type.loc10_16.2: type = facet_type <@ImplicitAs, @ImplicitAs(%V.as_type.loc10_6.2)> [symbolic = %ImplicitAs.type.loc10_16.2 (constants.%ImplicitAs.type.6a7)] +// CHECK:STDOUT: %require_complete.loc10_16.2: = require_complete_type %ImplicitAs.type.loc10_16.2 [symbolic = %require_complete.loc10_16.2 (constants.%require_complete.960)] +// CHECK:STDOUT: %ImplicitAs.assoc_type: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%V.as_type.loc10_6.2) [symbolic = %ImplicitAs.assoc_type (constants.%ImplicitAs.assoc_type.c61)] +// CHECK:STDOUT: %assoc0: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.c61) = assoc_entity element0, imports.%Core.import_ref.569 [symbolic = %assoc0 (constants.%assoc0.0c2)] // CHECK:STDOUT: %ImplicitAs.lookup_impl_witness: = lookup_impl_witness constants.%empty_struct_type, @ImplicitAs, @ImplicitAs(%V.as_type.loc10_6.2) [symbolic = %ImplicitAs.lookup_impl_witness (constants.%ImplicitAs.lookup_impl_witness)] -// CHECK:STDOUT: %ImplicitAs.facet: @F.%ImplicitAs.type.loc10_16.2 (%ImplicitAs.type.17d) = facet_value constants.%empty_struct_type, (%ImplicitAs.lookup_impl_witness) [symbolic = %ImplicitAs.facet (constants.%ImplicitAs.facet)] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%V.as_type.loc10_6.2, %ImplicitAs.facet) [symbolic = %ImplicitAs.WithSelf.Convert.type (constants.%ImplicitAs.WithSelf.Convert.type.75b)] -// CHECK:STDOUT: %.loc10_16.8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type, %ImplicitAs.facet [symbolic = %.loc10_16.8 (constants.%.bdb)] -// CHECK:STDOUT: %impl.elem0.loc10_16.3: @F.%.loc10_16.8 (%.bdb) = impl_witness_access %ImplicitAs.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_16.3 (constants.%impl.elem0.9df)] -// CHECK:STDOUT: %bound_method.loc10_16.5: = bound_method constants.%empty_struct, %impl.elem0.loc10_16.3 [symbolic = %bound_method.loc10_16.5 (constants.%bound_method.179)] -// CHECK:STDOUT: %specific_impl_fn.loc10_16.3: = specific_impl_function %impl.elem0.loc10_16.3, @ImplicitAs.WithSelf.Convert(%V.as_type.loc10_6.2, %ImplicitAs.facet) [symbolic = %specific_impl_fn.loc10_16.3 (constants.%specific_impl_fn.099)] -// CHECK:STDOUT: %bound_method.loc10_16.6: = bound_method constants.%empty_struct, %specific_impl_fn.loc10_16.3 [symbolic = %bound_method.loc10_16.6 (constants.%bound_method.d49)] +// CHECK:STDOUT: %ImplicitAs.facet: @F.%ImplicitAs.type.loc10_16.2 (%ImplicitAs.type.6a7) = facet_value constants.%empty_struct_type, (%ImplicitAs.lookup_impl_witness) [symbolic = %ImplicitAs.facet (constants.%ImplicitAs.facet)] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%V.as_type.loc10_6.2, %ImplicitAs.facet) [symbolic = %ImplicitAs.WithSelf.Convert.type (constants.%ImplicitAs.WithSelf.Convert.type.4cc)] +// CHECK:STDOUT: %.loc10_16.8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type, %ImplicitAs.facet [symbolic = %.loc10_16.8 (constants.%.66a)] +// CHECK:STDOUT: %impl.elem0.loc10_16.3: @F.%.loc10_16.8 (%.66a) = impl_witness_access %ImplicitAs.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_16.3 (constants.%impl.elem0.075)] +// CHECK:STDOUT: %bound_method.loc10_16.5: = bound_method constants.%empty_struct, %impl.elem0.loc10_16.3 [symbolic = %bound_method.loc10_16.5 (constants.%bound_method.e71)] +// CHECK:STDOUT: %specific_impl_fn.loc10_16.3: = specific_impl_function %impl.elem0.loc10_16.3, @ImplicitAs.WithSelf.Convert(%V.as_type.loc10_6.2, %ImplicitAs.facet) [symbolic = %specific_impl_fn.loc10_16.3 (constants.%specific_impl_fn.020)] +// CHECK:STDOUT: %bound_method.loc10_16.6: = bound_method constants.%empty_struct, %specific_impl_fn.loc10_16.3 [symbolic = %bound_method.loc10_16.6 (constants.%bound_method.4a3)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %V.loc9_24.1, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] // CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %V.as_type.loc10_6.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.18e)] -// CHECK:STDOUT: %.loc10_16.9: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc10_16.9 (constants.%.bd0)] -// CHECK:STDOUT: %impl.elem0.loc10_16.4: @F.%.loc10_16.9 (%.bd0) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_16.4 (constants.%impl.elem0.0b4)] -// CHECK:STDOUT: %specific_impl_fn.loc10_16.4: = specific_impl_function %impl.elem0.loc10_16.4, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc10_16.4 (constants.%specific_impl_fn.71a)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.c60)] +// CHECK:STDOUT: %.loc10_16.9: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc10_16.9 (constants.%.562)] +// CHECK:STDOUT: %impl.elem0.loc10_16.4: @F.%.loc10_16.9 (%.562) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_16.4 (constants.%impl.elem0.0d2)] +// CHECK:STDOUT: %specific_impl_fn.loc10_16.4: = specific_impl_function %impl.elem0.loc10_16.4, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc10_16.4 (constants.%specific_impl_fn.9a4)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: @@ -445,18 +445,18 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %V.ref: %Destroy_where.type = name_ref V, %V.loc9_24.2 [symbolic = %V.loc9_24.1 (constants.%V)] // CHECK:STDOUT: %V.as_type.loc10_6.1: type = facet_access_type %V.ref [symbolic = %V.as_type.loc10_6.2 (constants.%V.as_type)] // CHECK:STDOUT: %.loc10_6: type = converted %V.ref, %V.as_type.loc10_6.1 [symbolic = %V.as_type.loc10_6.2 (constants.%V.as_type)] -// CHECK:STDOUT: %C.loc10_6.1: type = class_type @C, @C(constants.%V.as_type) [symbolic = %C.loc10_6.2 (constants.%C.958)] -// CHECK:STDOUT: %.loc10_7: @F.%C.Create.type (%C.Create.type.d82) = specific_constant @C.%C.Create.decl, @C(constants.%V.as_type) [symbolic = %C.Create (constants.%C.Create.2ab)] -// CHECK:STDOUT: %Create.ref: @F.%C.Create.type (%C.Create.type.d82) = name_ref Create, %.loc10_7 [symbolic = %C.Create (constants.%C.Create.2ab)] +// CHECK:STDOUT: %C.loc10_6.1: type = class_type @C, @C(constants.%V.as_type) [symbolic = %C.loc10_6.2 (constants.%C.ce7)] +// CHECK:STDOUT: %.loc10_7: @F.%C.Create.type (%C.Create.type.4a0) = specific_constant @C.%C.Create.decl, @C(constants.%V.as_type) [symbolic = %C.Create (constants.%C.Create.153)] +// CHECK:STDOUT: %Create.ref: @F.%C.Create.type (%C.Create.type.4a0) = name_ref Create, %.loc10_7 [symbolic = %C.Create (constants.%C.Create.153)] // CHECK:STDOUT: %.loc10_16.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %C.Create.specific_fn.loc10_7.1: = specific_function %Create.ref, @C.Create(constants.%V.as_type) [symbolic = %C.Create.specific_fn.loc10_7.2 (constants.%C.Create.specific_fn)] -// CHECK:STDOUT: %ImplicitAs.type.loc10_16.1: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%V.as_type)> [symbolic = %ImplicitAs.type.loc10_16.2 (constants.%ImplicitAs.type.17d)] -// CHECK:STDOUT: %.loc10_16.2: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.cb6) = specific_constant imports.%Core.import_ref.afe, @ImplicitAs.WithSelf(constants.%V.as_type, constants.%Self.2dd) [symbolic = %assoc0 (constants.%assoc0.671)] -// CHECK:STDOUT: %Convert.ref: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.cb6) = name_ref Convert, %.loc10_16.2 [symbolic = %assoc0 (constants.%assoc0.671)] -// CHECK:STDOUT: %impl.elem0.loc10_16.1: @F.%.loc10_16.8 (%.bdb) = impl_witness_access constants.%ImplicitAs.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_16.3 (constants.%impl.elem0.9df)] -// CHECK:STDOUT: %bound_method.loc10_16.1: = bound_method %.loc10_16.1, %impl.elem0.loc10_16.1 [symbolic = %bound_method.loc10_16.5 (constants.%bound_method.179)] -// CHECK:STDOUT: %specific_impl_fn.loc10_16.1: = specific_impl_function %impl.elem0.loc10_16.1, @ImplicitAs.WithSelf.Convert(constants.%V.as_type, constants.%ImplicitAs.facet) [symbolic = %specific_impl_fn.loc10_16.3 (constants.%specific_impl_fn.099)] -// CHECK:STDOUT: %bound_method.loc10_16.2: = bound_method %.loc10_16.1, %specific_impl_fn.loc10_16.1 [symbolic = %bound_method.loc10_16.6 (constants.%bound_method.d49)] +// CHECK:STDOUT: %ImplicitAs.type.loc10_16.1: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%V.as_type)> [symbolic = %ImplicitAs.type.loc10_16.2 (constants.%ImplicitAs.type.6a7)] +// CHECK:STDOUT: %.loc10_16.2: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.c61) = specific_constant imports.%Core.import_ref.195, @ImplicitAs.WithSelf(constants.%V.as_type, constants.%Self.b7e) [symbolic = %assoc0 (constants.%assoc0.0c2)] +// CHECK:STDOUT: %Convert.ref: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.c61) = name_ref Convert, %.loc10_16.2 [symbolic = %assoc0 (constants.%assoc0.0c2)] +// CHECK:STDOUT: %impl.elem0.loc10_16.1: @F.%.loc10_16.8 (%.66a) = impl_witness_access constants.%ImplicitAs.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_16.3 (constants.%impl.elem0.075)] +// CHECK:STDOUT: %bound_method.loc10_16.1: = bound_method %.loc10_16.1, %impl.elem0.loc10_16.1 [symbolic = %bound_method.loc10_16.5 (constants.%bound_method.e71)] +// CHECK:STDOUT: %specific_impl_fn.loc10_16.1: = specific_impl_function %impl.elem0.loc10_16.1, @ImplicitAs.WithSelf.Convert(constants.%V.as_type, constants.%ImplicitAs.facet) [symbolic = %specific_impl_fn.loc10_16.3 (constants.%specific_impl_fn.020)] +// CHECK:STDOUT: %bound_method.loc10_16.2: = bound_method %.loc10_16.1, %specific_impl_fn.loc10_16.1 [symbolic = %bound_method.loc10_16.6 (constants.%bound_method.4a3)] // CHECK:STDOUT: %.loc10_16.3: ref @F.%V.as_type.loc10_6.2 (%V.as_type) = temporary_storage // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc10_16.4: %empty_struct_type = converted %.loc10_16.1, %empty_struct [concrete = constants.%empty_struct] @@ -465,9 +465,9 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %.loc10_16.6: ref @F.%V.as_type.loc10_6.2 (%V.as_type) = temporary %.loc10_16.3, %.loc10_16.5 // CHECK:STDOUT: %.loc10_16.7: @F.%V.as_type.loc10_6.2 (%V.as_type) = acquire_value %.loc10_16.6 // CHECK:STDOUT: %C.Create.call: init %empty_tuple.type = call %C.Create.specific_fn.loc10_7.1(%.loc10_16.7) -// CHECK:STDOUT: %impl.elem0.loc10_16.2: @F.%.loc10_16.9 (%.bd0) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_16.4 (constants.%impl.elem0.0b4)] +// CHECK:STDOUT: %impl.elem0.loc10_16.2: @F.%.loc10_16.9 (%.562) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_16.4 (constants.%impl.elem0.0d2)] // CHECK:STDOUT: %bound_method.loc10_16.3: = bound_method %.loc10_16.6, %impl.elem0.loc10_16.2 -// CHECK:STDOUT: %specific_impl_fn.loc10_16.2: = specific_impl_function %impl.elem0.loc10_16.2, @Destroy.WithSelf.Op(constants.%Destroy.facet) [symbolic = %specific_impl_fn.loc10_16.4 (constants.%specific_impl_fn.71a)] +// CHECK:STDOUT: %specific_impl_fn.loc10_16.2: = specific_impl_function %impl.elem0.loc10_16.2, @Destroy.WithSelf.Op(constants.%Destroy.facet) [symbolic = %specific_impl_fn.loc10_16.4 (constants.%specific_impl_fn.9a4)] // CHECK:STDOUT: %bound_method.loc10_16.4: = bound_method %.loc10_16.6, %specific_impl_fn.loc10_16.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc10_16.4(%.loc10_16.6) // CHECK:STDOUT: return @@ -478,8 +478,8 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %T.loc4_10.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.Create.type => constants.%C.Create.type.80a -// CHECK:STDOUT: %C.Create => constants.%C.Create.894 +// CHECK:STDOUT: %C.Create.type => constants.%C.Create.type.591 +// CHECK:STDOUT: %C.Create => constants.%C.Create.241 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.Create(constants.%T) { @@ -496,15 +496,15 @@ fn F(unused U:! type, V:! Core.Destroy where {} impls Core.ImplicitAs(.Self)) { // CHECK:STDOUT: %T.loc4_10.1 => constants.%V.as_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.Create.type => constants.%C.Create.type.d82 -// CHECK:STDOUT: %C.Create => constants.%C.Create.2ab +// CHECK:STDOUT: %C.Create.type => constants.%C.Create.type.4a0 +// CHECK:STDOUT: %C.Create => constants.%C.Create.153 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.Create(constants.%V.as_type) { // CHECK:STDOUT: %T => constants.%V.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a04 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.87c // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.3b0 +// CHECK:STDOUT: %require_complete => constants.%require_complete.ee1 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/deduce/conversion.carbon b/toolchain/check/testdata/deduce/conversion.carbon index c5ad38d5e7a6..86568f9b824d 100644 --- a/toolchain/check/testdata/deduce/conversion.carbon +++ b/toolchain/check/testdata/deduce/conversion.carbon @@ -76,8 +76,8 @@ fn G(a: A) { // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%A, %B) [concrete] -// CHECK:STDOUT: %tuple.type.e61: type = tuple_type (%A, %B) [concrete] -// CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%tuple.type.e61) [concrete] +// CHECK:STDOUT: %tuple.type.e74: type = tuple_type (%A, %B) [concrete] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%tuple.type.e74) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { @@ -86,8 +86,8 @@ fn G(a: A) { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %.loc12_10: %tuple.type.24b = tuple_literal (%A.ref, %B.ref) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc12_11: type = converted %.loc12_10, constants.%tuple.type.e61 [concrete = constants.%tuple.type.e61] -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%tuple.type.e61) [concrete = constants.%F.specific_fn] +// CHECK:STDOUT: %.loc12_11: type = converted %.loc12_10, constants.%tuple.type.e74 [concrete = constants.%tuple.type.e74] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%tuple.type.e74) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn() // CHECK:STDOUT: // CHECK:STDOUT: } @@ -99,26 +99,26 @@ fn G(a: A) { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.8bf: type = facet_type <@ImplicitAs, @ImplicitAs(type)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.250: type = facet_type <@ImplicitAs, @ImplicitAs(type)> [concrete] // CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness @A.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.type.44de79.1: type = fn_type @A.as.ImplicitAs.impl.Convert.loc7_45.1 [concrete] -// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.27ca65.1: %A.as.ImplicitAs.impl.Convert.type.44de79.1 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.8bf = facet_value %A, (%ImplicitAs.impl_witness) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.4ec: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(type, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.type.44de79.2: type = fn_type @A.as.ImplicitAs.impl.Convert.loc7_45.2 [concrete] -// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.27ca65.2: %A.as.ImplicitAs.impl.Convert.type.44de79.2 = struct_value () [concrete] +// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.type.340168.1: type = fn_type @A.as.ImplicitAs.impl.Convert.loc7_45.1 [concrete] +// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.f7f1e2.1: %A.as.ImplicitAs.impl.Convert.type.340168.1 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.250 = facet_value %A, (%ImplicitAs.impl_witness) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.61b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(type, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.type.340168.2: type = fn_type @A.as.ImplicitAs.impl.Convert.loc7_45.2 [concrete] +// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.f7f1e2.2: %A.as.ImplicitAs.impl.Convert.type.340168.2 = struct_value () [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %A.val: %A = struct_value () [concrete] -// CHECK:STDOUT: %.5b2: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.4ec, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.bound.60fe8b.1: = bound_method %A.val, %A.as.ImplicitAs.impl.Convert.27ca65.2 [concrete] -// CHECK:STDOUT: %.b5e: ref %A = temporary invalid, %A.val [concrete] -// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.bound.60fe8b.2: = bound_method %A.val, %A.as.ImplicitAs.impl.Convert.27ca65.1 [concrete] +// CHECK:STDOUT: %.c25: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.61b, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.bound.abff73.1: = bound_method %A.val, %A.as.ImplicitAs.impl.Convert.f7f1e2.2 [concrete] +// CHECK:STDOUT: %.e61: ref %A = temporary invalid, %A.val [concrete] +// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.bound.abff73.2: = bound_method %A.val, %A.as.ImplicitAs.impl.Convert.f7f1e2.1 [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%B) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc16_8.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.b5e, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc16_8.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e61, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { @@ -129,18 +129,18 @@ fn G(a: A) { // CHECK:STDOUT: %.loc16_6.2: ref %A = temporary_storage // CHECK:STDOUT: %.loc16_6.3: init %A to %.loc16_6.2 = class_init () [concrete = constants.%A.val] // CHECK:STDOUT: %.loc16_8.1: init %A = converted %.loc16_6.1, %.loc16_6.3 [concrete = constants.%A.val] -// CHECK:STDOUT: %impl.elem0: %.5b2 = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%A.as.ImplicitAs.impl.Convert.27ca65.2] -// CHECK:STDOUT: %bound_method: = bound_method %.loc16_8.1, %impl.elem0 [concrete = constants.%A.as.ImplicitAs.impl.Convert.bound.60fe8b.1] -// CHECK:STDOUT: %.loc16_8.2: ref %A = temporary %.loc16_6.2, %.loc16_8.1 [concrete = constants.%.b5e] +// CHECK:STDOUT: %impl.elem0: %.c25 = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%A.as.ImplicitAs.impl.Convert.f7f1e2.2] +// CHECK:STDOUT: %bound_method: = bound_method %.loc16_8.1, %impl.elem0 [concrete = constants.%A.as.ImplicitAs.impl.Convert.bound.abff73.1] +// CHECK:STDOUT: %.loc16_8.2: ref %A = temporary %.loc16_6.2, %.loc16_8.1 [concrete = constants.%.e61] // CHECK:STDOUT: %.loc16_8.3: %A = acquire_value %.loc16_8.2 [concrete = constants.%A.val] -// CHECK:STDOUT: %Convert.ref: %A.as.ImplicitAs.impl.Convert.type.44de79.1 = name_ref Convert, @A.as.ImplicitAs.impl.%A.as.ImplicitAs.impl.Convert.decl.loc7_45.1 [concrete = constants.%A.as.ImplicitAs.impl.Convert.27ca65.1] -// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.bound: = bound_method %.loc16_8.3, %Convert.ref [concrete = constants.%A.as.ImplicitAs.impl.Convert.bound.60fe8b.2] +// CHECK:STDOUT: %Convert.ref: %A.as.ImplicitAs.impl.Convert.type.340168.1 = name_ref Convert, @A.as.ImplicitAs.impl.%A.as.ImplicitAs.impl.Convert.decl.loc7_45.1 [concrete = constants.%A.as.ImplicitAs.impl.Convert.f7f1e2.1] +// CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.bound: = bound_method %.loc16_8.3, %Convert.ref [concrete = constants.%A.as.ImplicitAs.impl.Convert.bound.abff73.2] // CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.call: init type = call %A.as.ImplicitAs.impl.Convert.bound(%.loc16_8.3) [concrete = constants.%B] // CHECK:STDOUT: %.loc16_12.1: type = value_of_initializer %A.as.ImplicitAs.impl.Convert.call [concrete = constants.%B] // CHECK:STDOUT: %.loc16_12.2: type = converted %.loc16_8.1, %.loc16_12.1 [concrete = constants.%B] // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%B) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn() -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.b5e) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e61) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -158,19 +158,19 @@ fn G(a: A) { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.331: type = facet_type <@ImplicitAs, @ImplicitAs(%B)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.f1d: type = facet_type <@ImplicitAs, @ImplicitAs(%B)> [concrete] // CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness @A.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] // CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.type: type = fn_type @A.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert: %A.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.331 = facet_value %A, (%ImplicitAs.impl_witness) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.786: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%B, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.f1d = facet_value %A, (%ImplicitAs.impl_witness) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.9ce: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%B, %ImplicitAs.facet) [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %.29b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.786, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc16_9.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %.3a9: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.9ce, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc16_9.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%a.param: %A) { @@ -180,7 +180,7 @@ fn G(a: A) { // CHECK:STDOUT: %a.ref: %A = name_ref a, %a // CHECK:STDOUT: %.loc16_10: type = converted %.loc16_6, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%empty_tuple.type) [concrete = constants.%F.specific_fn] -// CHECK:STDOUT: %impl.elem0: %.29b = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%A.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0: %.3a9 = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%A.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %.loc16_9.1: ref %B = temporary_storage // CHECK:STDOUT: %A.as.ImplicitAs.impl.Convert.call: init %B to %.loc16_9.1 = call %bound_method(%a.ref) @@ -188,7 +188,7 @@ fn G(a: A) { // CHECK:STDOUT: %.loc16_9.3: ref %B = temporary %.loc16_9.1, %.loc16_9.2 // CHECK:STDOUT: %.loc16_9.4: %B = acquire_value %.loc16_9.3 // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%.loc16_9.4) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc16_9.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc16_9.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc16_9.3) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/deduce/generic_type.carbon b/toolchain/check/testdata/deduce/generic_type.carbon index 4e9ff430b7e0..b0c63c82b517 100644 --- a/toolchain/check/testdata/deduce/generic_type.carbon +++ b/toolchain/check/testdata/deduce/generic_type.carbon @@ -78,25 +78,25 @@ fn G() -> i32 { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.d73: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] -// CHECK:STDOUT: %pattern_type.5e7: type = pattern_type %C.d73 [symbolic] +// CHECK:STDOUT: %pattern_type.69e: type = pattern_type %C.1f9 [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %T [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.472: = require_complete_type %C.d73 [symbolic] +// CHECK:STDOUT: %require_complete.122: = require_complete_type %C.1f9 [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %F.specific_fn.6de: = specific_function %F, @F(%T) [symbolic] -// CHECK:STDOUT: %C.df3: type = class_type @C, @C(%D) [concrete] -// CHECK:STDOUT: %pattern_type.0f8: type = pattern_type %C.df3 [concrete] -// CHECK:STDOUT: %.c46: Core.Form = init_form %D [concrete] -// CHECK:STDOUT: %pattern_type.8ec: type = pattern_type %D [concrete] +// CHECK:STDOUT: %F.specific_fn.d7f: = specific_function %F, @F(%T) [symbolic] +// CHECK:STDOUT: %C.11b: type = class_type @C, @C(%D) [concrete] +// CHECK:STDOUT: %pattern_type.978: type = pattern_type %C.11b [concrete] +// CHECK:STDOUT: %.f19: Core.Form = init_form %D [concrete] +// CHECK:STDOUT: %pattern_type.f1a: type = pattern_type %D [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn.4cb: = specific_function %F, @F(%D) [concrete] +// CHECK:STDOUT: %F.specific_fn.634: = specific_function %F, @F(%D) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -127,8 +127,8 @@ fn G() -> i32 { // CHECK:STDOUT: %D.decl: type = class_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %p.param_patt: @F.%pattern_type.loc7_17 (%pattern_type.5e7) = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: @F.%pattern_type.loc7_17 (%pattern_type.5e7) = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %p.param_patt: @F.%pattern_type.loc7_17 (%pattern_type.69e) = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: @F.%pattern_type.loc7_17 (%pattern_type.69e) = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @F.%pattern_type.loc7_28 (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @F.%pattern_type.loc7_28 (%pattern_type.51d) = return_slot_pattern %return.param_patt, %T.ref.loc7_28 [concrete] // CHECK:STDOUT: } { @@ -139,31 +139,31 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc7_10.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc7_7.2: type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %p.param: @F.%C.loc7_22.1 (%C.d73) = value_param call_param0 -// CHECK:STDOUT: %.loc7_22: type = splice_block %C.loc7_22.2 [symbolic = %C.loc7_22.1 (constants.%C.d73)] { +// CHECK:STDOUT: %p.param: @F.%C.loc7_22.1 (%C.1f9) = value_param call_param0 +// CHECK:STDOUT: %.loc7_22: type = splice_block %C.loc7_22.2 [symbolic = %C.loc7_22.1 (constants.%C.1f9)] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %T.ref.loc7_21: type = name_ref T, %T.loc7_7.2 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %C.loc7_22.2: type = class_type @C, @C(constants.%T) [symbolic = %C.loc7_22.1 (constants.%C.d73)] +// CHECK:STDOUT: %C.loc7_22.2: type = class_type @C, @C(constants.%T) [symbolic = %C.loc7_22.1 (constants.%C.1f9)] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: @F.%C.loc7_22.1 (%C.d73) = value_binding p, %p.param +// CHECK:STDOUT: %p: @F.%C.loc7_22.1 (%C.1f9) = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref @F.%T.loc7_7.1 (%T) = out_param call_param1 // CHECK:STDOUT: %return: ref @F.%T.loc7_7.1 (%T) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.0f8 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.0f8 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.8ec = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.8ec = return_slot_pattern %return.param_patt, %D.ref.loc9_18 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.978 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.978 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.f1a = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.f1a = return_slot_pattern %return.param_patt, %D.ref.loc9_18 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref.loc9_18: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc9_18.2: Core.Form = init_form %D.ref.loc9_18 [concrete = constants.%.c46] -// CHECK:STDOUT: %p.param: %C.df3 = value_param call_param0 -// CHECK:STDOUT: %.loc9_12: type = splice_block %C [concrete = constants.%C.df3] { +// CHECK:STDOUT: %.loc9_18.2: Core.Form = init_form %D.ref.loc9_18 [concrete = constants.%.f19] +// CHECK:STDOUT: %p.param: %C.11b = value_param call_param0 +// CHECK:STDOUT: %.loc9_12: type = splice_block %C [concrete = constants.%C.11b] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %D.ref.loc9_11: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%D) [concrete = constants.%C.df3] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%D) [concrete = constants.%C.11b] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %C.df3 = value_binding p, %p.param +// CHECK:STDOUT: %p: %C.11b = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref %D = out_param call_param1 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } @@ -179,7 +179,7 @@ fn G() -> i32 { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.d73 +// CHECK:STDOUT: .Self = constants.%C.1f9 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -193,32 +193,32 @@ fn G() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc7_7.2: type) { // CHECK:STDOUT: %T.loc7_7.1: type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %C.loc7_22.1: type = class_type @C, @C(%T.loc7_7.1) [symbolic = %C.loc7_22.1 (constants.%C.d73)] -// CHECK:STDOUT: %pattern_type.loc7_17: type = pattern_type %C.loc7_22.1 [symbolic = %pattern_type.loc7_17 (constants.%pattern_type.5e7)] +// CHECK:STDOUT: %C.loc7_22.1: type = class_type @C, @C(%T.loc7_7.1) [symbolic = %C.loc7_22.1 (constants.%C.1f9)] +// CHECK:STDOUT: %pattern_type.loc7_17: type = pattern_type %C.loc7_22.1 [symbolic = %pattern_type.loc7_17 (constants.%pattern_type.69e)] // CHECK:STDOUT: %.loc7_28.2: Core.Form = init_form %T.loc7_7.1 [symbolic = %.loc7_28.2 (constants.%.184)] // CHECK:STDOUT: %pattern_type.loc7_28: type = pattern_type %T.loc7_7.1 [symbolic = %pattern_type.loc7_28 (constants.%pattern_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc7_17: = require_complete_type %C.loc7_22.1 [symbolic = %require_complete.loc7_17 (constants.%require_complete.472)] +// CHECK:STDOUT: %require_complete.loc7_17: = require_complete_type %C.loc7_22.1 [symbolic = %require_complete.loc7_17 (constants.%require_complete.122)] // CHECK:STDOUT: %require_complete.loc7_25: = require_complete_type %T.loc7_7.1 [symbolic = %require_complete.loc7_25 (constants.%require_complete.944)] -// CHECK:STDOUT: %F.specific_fn.loc7_39.2: = specific_function constants.%F, @F(%T.loc7_7.1) [symbolic = %F.specific_fn.loc7_39.2 (constants.%F.specific_fn.6de)] +// CHECK:STDOUT: %F.specific_fn.loc7_39.2: = specific_function constants.%F, @F(%T.loc7_7.1) [symbolic = %F.specific_fn.loc7_39.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%p.param: @F.%C.loc7_22.1 (%C.d73)) -> out %return.param: @F.%T.loc7_7.1 (%T) { +// CHECK:STDOUT: fn(%p.param: @F.%C.loc7_22.1 (%C.1f9)) -> out %return.param: @F.%T.loc7_7.1 (%T) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %p.ref: @F.%C.loc7_22.1 (%C.d73) = name_ref p, %p -// CHECK:STDOUT: %F.specific_fn.loc7_39.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc7_39.2 (constants.%F.specific_fn.6de)] +// CHECK:STDOUT: %p.ref: @F.%C.loc7_22.1 (%C.1f9) = name_ref p, %p +// CHECK:STDOUT: %F.specific_fn.loc7_39.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc7_39.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: %.loc7_28.1: ref @F.%T.loc7_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc7_7.1 (%T) to %.loc7_28.1 = call %F.specific_fn.loc7_39.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %C.df3) -> out %return.param: %D { +// CHECK:STDOUT: fn @G(%p.param: %C.11b) -> out %return.param: %D { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %p.ref: %C.df3 = name_ref p, %p -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%D) [concrete = constants.%F.specific_fn.4cb] +// CHECK:STDOUT: %p.ref: %C.11b = name_ref p, %p +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%D) [concrete = constants.%F.specific_fn.634] // CHECK:STDOUT: %.loc9_18.1: ref %D = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %D to %.loc9_18.1 = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return %F.call to %return.param @@ -232,15 +232,15 @@ fn G() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { // CHECK:STDOUT: %T.loc7_7.1 => constants.%T -// CHECK:STDOUT: %C.loc7_22.1 => constants.%C.d73 -// CHECK:STDOUT: %pattern_type.loc7_17 => constants.%pattern_type.5e7 +// CHECK:STDOUT: %C.loc7_22.1 => constants.%C.1f9 +// CHECK:STDOUT: %pattern_type.loc7_17 => constants.%pattern_type.69e // CHECK:STDOUT: %.loc7_28.2 => constants.%.184 // CHECK:STDOUT: %pattern_type.loc7_28 => constants.%pattern_type.51d // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc7_17 => constants.%require_complete.472 +// CHECK:STDOUT: %require_complete.loc7_17 => constants.%require_complete.122 // CHECK:STDOUT: %require_complete.loc7_25 => constants.%require_complete.944 -// CHECK:STDOUT: %F.specific_fn.loc7_39.2 => constants.%F.specific_fn.6de +// CHECK:STDOUT: %F.specific_fn.loc7_39.2 => constants.%F.specific_fn.d7f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%D) { @@ -251,15 +251,15 @@ fn G() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%D) { // CHECK:STDOUT: %T.loc7_7.1 => constants.%D -// CHECK:STDOUT: %C.loc7_22.1 => constants.%C.df3 -// CHECK:STDOUT: %pattern_type.loc7_17 => constants.%pattern_type.0f8 -// CHECK:STDOUT: %.loc7_28.2 => constants.%.c46 -// CHECK:STDOUT: %pattern_type.loc7_28 => constants.%pattern_type.8ec +// CHECK:STDOUT: %C.loc7_22.1 => constants.%C.11b +// CHECK:STDOUT: %pattern_type.loc7_17 => constants.%pattern_type.978 +// CHECK:STDOUT: %.loc7_28.2 => constants.%.f19 +// CHECK:STDOUT: %pattern_type.loc7_28 => constants.%pattern_type.f1a // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc7_17 => constants.%complete_type // CHECK:STDOUT: %require_complete.loc7_25 => constants.%complete_type -// CHECK:STDOUT: %F.specific_fn.loc7_39.2 => constants.%F.specific_fn.4cb +// CHECK:STDOUT: %F.specific_fn.loc7_39.2 => constants.%F.specific_fn.634 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- interface.carbon @@ -271,22 +271,22 @@ fn G() -> i32 { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %I.type: type = generic_class_type @I [concrete] // CHECK:STDOUT: %I.generic: %I.type = struct_value () [concrete] -// CHECK:STDOUT: %I.efe: type = class_type @I, @I(%T) [symbolic] +// CHECK:STDOUT: %I.a0e: type = class_type @I, @I(%T) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %pattern_type.9e2: type = pattern_type %I.efe [symbolic] -// CHECK:STDOUT: %.201: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.1e4: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.108: type = pattern_type %I.a0e [symbolic] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete: = require_complete_type %I.efe [symbolic] -// CHECK:STDOUT: %F.specific_fn.441: = specific_function %F, @F(%T) [symbolic] -// CHECK:STDOUT: %I.a2f: type = class_type @I, @I(%C) [concrete] -// CHECK:STDOUT: %pattern_type.d40: type = pattern_type %I.a2f [concrete] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.a0e [symbolic] +// CHECK:STDOUT: %F.specific_fn.d7f: = specific_function %F, @F(%T) [symbolic] +// CHECK:STDOUT: %I.870: type = class_type @I, @I(%C) [concrete] +// CHECK:STDOUT: %pattern_type.ec4: type = pattern_type %I.870 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn.048: = specific_function %F, @F(%C) [concrete] +// CHECK:STDOUT: %F.specific_fn.076: = specific_function %F, @F(%C) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -317,43 +317,43 @@ fn G() -> i32 { // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %p.param_patt: @F.%pattern_type (%pattern_type.9e2) = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: @F.%pattern_type (%pattern_type.9e2) = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.1e4 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.1e4 = return_slot_pattern %return.param_patt, %C.ref [concrete] +// CHECK:STDOUT: %p.param_patt: @F.%pattern_type (%pattern_type.108) = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: @F.%pattern_type (%pattern_type.108) = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc7_28.2: Core.Form = init_form %C.ref [concrete = constants.%.201] +// CHECK:STDOUT: %.loc7_28.2: Core.Form = init_form %C.ref [concrete = constants.%.8f0] // CHECK:STDOUT: %.loc7_10.1: type = splice_block %.loc7_10.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc7_10.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc7_7.2: type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %p.param: @F.%I.loc7_22.1 (%I.efe) = value_param call_param0 -// CHECK:STDOUT: %.loc7_22: type = splice_block %I.loc7_22.2 [symbolic = %I.loc7_22.1 (constants.%I.efe)] { +// CHECK:STDOUT: %p.param: @F.%I.loc7_22.1 (%I.a0e) = value_param call_param0 +// CHECK:STDOUT: %.loc7_22: type = splice_block %I.loc7_22.2 [symbolic = %I.loc7_22.1 (constants.%I.a0e)] { // CHECK:STDOUT: %I.ref: %I.type = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc7_7.2 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %I.loc7_22.2: type = class_type @I, @I(constants.%T) [symbolic = %I.loc7_22.1 (constants.%I.efe)] +// CHECK:STDOUT: %I.loc7_22.2: type = class_type @I, @I(constants.%T) [symbolic = %I.loc7_22.1 (constants.%I.a0e)] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: @F.%I.loc7_22.1 (%I.efe) = value_binding p, %p.param +// CHECK:STDOUT: %p: @F.%I.loc7_22.1 (%I.a0e) = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref %C = out_param call_param1 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.d40 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.d40 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.1e4 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.1e4 = return_slot_pattern %return.param_patt, %C.ref.loc9_18 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.ec4 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.ec4 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref.loc9_18 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc9_18: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc9_18.2: Core.Form = init_form %C.ref.loc9_18 [concrete = constants.%.201] -// CHECK:STDOUT: %p.param: %I.a2f = value_param call_param0 -// CHECK:STDOUT: %.loc9_12: type = splice_block %I [concrete = constants.%I.a2f] { +// CHECK:STDOUT: %.loc9_18.2: Core.Form = init_form %C.ref.loc9_18 [concrete = constants.%.8f0] +// CHECK:STDOUT: %p.param: %I.870 = value_param call_param0 +// CHECK:STDOUT: %.loc9_12: type = splice_block %I [concrete = constants.%I.870] { // CHECK:STDOUT: %I.ref: %I.type = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %C.ref.loc9_11: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %I: type = class_type @I, @I(constants.%C) [concrete = constants.%I.a2f] +// CHECK:STDOUT: %I: type = class_type @I, @I(constants.%C) [concrete = constants.%I.870] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %I.a2f = value_binding p, %p.param +// CHECK:STDOUT: %p: %I.870 = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref %C = out_param call_param1 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } @@ -369,7 +369,7 @@ fn G() -> i32 { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%I.efe +// CHECK:STDOUT: .Self = constants.%I.a0e // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -383,29 +383,29 @@ fn G() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc7_7.2: type) { // CHECK:STDOUT: %T.loc7_7.1: type = symbolic_binding T, 0 [symbolic = %T.loc7_7.1 (constants.%T)] -// CHECK:STDOUT: %I.loc7_22.1: type = class_type @I, @I(%T.loc7_7.1) [symbolic = %I.loc7_22.1 (constants.%I.efe)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %I.loc7_22.1 [symbolic = %pattern_type (constants.%pattern_type.9e2)] +// CHECK:STDOUT: %I.loc7_22.1: type = class_type @I, @I(%T.loc7_7.1) [symbolic = %I.loc7_22.1 (constants.%I.a0e)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %I.loc7_22.1 [symbolic = %pattern_type (constants.%pattern_type.108)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %I.loc7_22.1 [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %F.specific_fn.loc7_39.2: = specific_function constants.%F, @F(%T.loc7_7.1) [symbolic = %F.specific_fn.loc7_39.2 (constants.%F.specific_fn.441)] +// CHECK:STDOUT: %F.specific_fn.loc7_39.2: = specific_function constants.%F, @F(%T.loc7_7.1) [symbolic = %F.specific_fn.loc7_39.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%p.param: @F.%I.loc7_22.1 (%I.efe)) -> out %return.param: %C { +// CHECK:STDOUT: fn(%p.param: @F.%I.loc7_22.1 (%I.a0e)) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %p.ref: @F.%I.loc7_22.1 (%I.efe) = name_ref p, %p -// CHECK:STDOUT: %F.specific_fn.loc7_39.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc7_39.2 (constants.%F.specific_fn.441)] +// CHECK:STDOUT: %p.ref: @F.%I.loc7_22.1 (%I.a0e) = name_ref p, %p +// CHECK:STDOUT: %F.specific_fn.loc7_39.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc7_39.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: %.loc7_28.1: ref %C = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %C to %.loc7_28.1 = call %F.specific_fn.loc7_39.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %I.a2f) -> out %return.param: %C { +// CHECK:STDOUT: fn @G(%p.param: %I.870) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %p.ref: %I.a2f = name_ref p, %p -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.048] +// CHECK:STDOUT: %p.ref: %I.870 = name_ref p, %p +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.076] // CHECK:STDOUT: %.loc9_18.1: ref %C = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %C to %.loc9_18.1 = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return %F.call to %return.param @@ -419,12 +419,12 @@ fn G() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { // CHECK:STDOUT: %T.loc7_7.1 => constants.%T -// CHECK:STDOUT: %I.loc7_22.1 => constants.%I.efe -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9e2 +// CHECK:STDOUT: %I.loc7_22.1 => constants.%I.a0e +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.108 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete -// CHECK:STDOUT: %F.specific_fn.loc7_39.2 => constants.%F.specific_fn.441 +// CHECK:STDOUT: %F.specific_fn.loc7_39.2 => constants.%F.specific_fn.d7f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%C) { @@ -435,12 +435,12 @@ fn G() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%C) { // CHECK:STDOUT: %T.loc7_7.1 => constants.%C -// CHECK:STDOUT: %I.loc7_22.1 => constants.%I.a2f -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d40 +// CHECK:STDOUT: %I.loc7_22.1 => constants.%I.870 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ec4 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type -// CHECK:STDOUT: %F.specific_fn.loc7_39.2 => constants.%F.specific_fn.048 +// CHECK:STDOUT: %F.specific_fn.loc7_39.2 => constants.%F.specific_fn.076 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nested.carbon @@ -452,17 +452,17 @@ fn G() -> i32 { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Outer.type: type = generic_class_type @Outer [concrete] // CHECK:STDOUT: %Outer.generic: %Outer.type = struct_value () [concrete] -// CHECK:STDOUT: %Outer.22f: type = class_type @Outer, @Outer(%T) [symbolic] +// CHECK:STDOUT: %Outer.3b5: type = class_type @Outer, @Outer(%T) [symbolic] // CHECK:STDOUT: %U: type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %Inner.type.4c4: type = generic_class_type @Inner, @Outer(%T) [symbolic] -// CHECK:STDOUT: %Inner.generic.9fc: %Inner.type.4c4 = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.64e: type = class_type @Inner, @Inner(%T, %U) [symbolic] +// CHECK:STDOUT: %Inner.type.e77: type = generic_class_type @Inner, @Outer(%T) [symbolic] +// CHECK:STDOUT: %Inner.generic.92c: %Inner.type.e77 = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.6c4: type = class_type @Inner, @Inner(%T, %U) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] -// CHECK:STDOUT: %require_complete.6aa: = require_complete_type %Outer.22f [symbolic] -// CHECK:STDOUT: %pattern_type.3fb: type = pattern_type %Inner.64e [symbolic] +// CHECK:STDOUT: %require_complete.f6c: = require_complete_type %Outer.3b5 [symbolic] +// CHECK:STDOUT: %pattern_type.c25: type = pattern_type %Inner.6c4 [symbolic] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] // CHECK:STDOUT: %tuple.4b9: %tuple.type.24b = tuple_value (%T, %U) [symbolic] // CHECK:STDOUT: %tuple.type.a5e: type = tuple_type (%T, %U) [symbolic] @@ -470,22 +470,22 @@ fn G() -> i32 { // CHECK:STDOUT: %pattern_type.eee: type = pattern_type %tuple.type.a5e [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.a03: = require_complete_type %Inner.64e [symbolic] +// CHECK:STDOUT: %require_complete.600: = require_complete_type %Inner.6c4 [symbolic] // CHECK:STDOUT: %require_complete.220: = require_complete_type %tuple.type.a5e [symbolic] -// CHECK:STDOUT: %F.specific_fn.9a1: = specific_function %F, @F(%T, %U) [symbolic] -// CHECK:STDOUT: %Outer.f83: type = class_type @Outer, @Outer(%C) [concrete] -// CHECK:STDOUT: %Inner.type.9d3: type = generic_class_type @Inner, @Outer(%C) [concrete] -// CHECK:STDOUT: %Inner.generic.9d4: %Inner.type.9d3 = struct_value () [concrete] -// CHECK:STDOUT: %Inner.e99: type = class_type @Inner, @Inner(%C, %D) [concrete] -// CHECK:STDOUT: %pattern_type.acd: type = pattern_type %Inner.e99 [concrete] -// CHECK:STDOUT: %tuple.855: %tuple.type.24b = tuple_value (%C, %D) [concrete] -// CHECK:STDOUT: %tuple.type.094: type = tuple_type (%C, %D) [concrete] -// CHECK:STDOUT: %.5fb: Core.Form = init_form %tuple.type.094 [concrete] -// CHECK:STDOUT: %pattern_type.c02: type = pattern_type %tuple.type.094 [concrete] +// CHECK:STDOUT: %F.specific_fn.367: = specific_function %F, @F(%T, %U) [symbolic] +// CHECK:STDOUT: %Outer.b54: type = class_type @Outer, @Outer(%C) [concrete] +// CHECK:STDOUT: %Inner.type.de5: type = generic_class_type @Inner, @Outer(%C) [concrete] +// CHECK:STDOUT: %Inner.generic.598: %Inner.type.de5 = struct_value () [concrete] +// CHECK:STDOUT: %Inner.2ce: type = class_type @Inner, @Inner(%C, %D) [concrete] +// CHECK:STDOUT: %pattern_type.263: type = pattern_type %Inner.2ce [concrete] +// CHECK:STDOUT: %tuple.ac7: %tuple.type.24b = tuple_value (%C, %D) [concrete] +// CHECK:STDOUT: %tuple.type.a6a: type = tuple_type (%C, %D) [concrete] +// CHECK:STDOUT: %.970: Core.Form = init_form %tuple.type.a6a [concrete] +// CHECK:STDOUT: %pattern_type.ce9: type = pattern_type %tuple.type.a6a [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn.e29: = specific_function %F, @F(%C, %D) [concrete] -// CHECK:STDOUT: %complete_type.854: = complete_type_witness %tuple.type.094 [concrete] +// CHECK:STDOUT: %F.specific_fn.335: = specific_function %F, @F(%C, %D) [concrete] +// CHECK:STDOUT: %complete_type.3cb: = complete_type_witness %tuple.type.a6a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -519,8 +519,8 @@ fn G() -> i32 { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] -// CHECK:STDOUT: %p.param_patt: @F.%pattern_type.loc13_27 (%pattern_type.3fb) = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: @F.%pattern_type.loc13_27 (%pattern_type.3fb) = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %p.param_patt: @F.%pattern_type.loc13_27 (%pattern_type.c25) = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: @F.%pattern_type.loc13_27 (%pattern_type.c25) = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @F.%pattern_type.loc13_56 (%pattern_type.eee) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @F.%pattern_type.loc13_56 (%pattern_type.eee) = return_slot_pattern %return.param_patt, %.loc13_56.4 [concrete] // CHECK:STDOUT: } { @@ -539,44 +539,44 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc13_20.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %U.loc13_17.2: type = symbolic_binding U, 1 [symbolic = %U.loc13_17.1 (constants.%U)] -// CHECK:STDOUT: %p.param: @F.%Inner.loc13_45.1 (%Inner.64e) = value_param call_param0 -// CHECK:STDOUT: %.loc13_45: type = splice_block %Inner.loc13_45.2 [symbolic = %Inner.loc13_45.1 (constants.%Inner.64e)] { +// CHECK:STDOUT: %p.param: @F.%Inner.loc13_45.1 (%Inner.6c4) = value_param call_param0 +// CHECK:STDOUT: %.loc13_45: type = splice_block %Inner.loc13_45.2 [symbolic = %Inner.loc13_45.1 (constants.%Inner.6c4)] { // CHECK:STDOUT: %Outer.ref: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %T.ref.loc13_35: type = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T)] -// CHECK:STDOUT: %Outer.loc13_36.2: type = class_type @Outer, @Outer(constants.%T) [symbolic = %Outer.loc13_36.1 (constants.%Outer.22f)] -// CHECK:STDOUT: %.loc13_37: @F.%Inner.type (%Inner.type.4c4) = specific_constant @Outer.%Inner.decl, @Outer(constants.%T) [symbolic = %Inner.generic (constants.%Inner.generic.9fc)] -// CHECK:STDOUT: %Inner.ref: @F.%Inner.type (%Inner.type.4c4) = name_ref Inner, %.loc13_37 [symbolic = %Inner.generic (constants.%Inner.generic.9fc)] +// CHECK:STDOUT: %Outer.loc13_36.2: type = class_type @Outer, @Outer(constants.%T) [symbolic = %Outer.loc13_36.1 (constants.%Outer.3b5)] +// CHECK:STDOUT: %.loc13_37: @F.%Inner.type (%Inner.type.e77) = specific_constant @Outer.%Inner.decl, @Outer(constants.%T) [symbolic = %Inner.generic (constants.%Inner.generic.92c)] +// CHECK:STDOUT: %Inner.ref: @F.%Inner.type (%Inner.type.e77) = name_ref Inner, %.loc13_37 [symbolic = %Inner.generic (constants.%Inner.generic.92c)] // CHECK:STDOUT: %U.ref.loc13_44: type = name_ref U, %U.loc13_17.2 [symbolic = %U.loc13_17.1 (constants.%U)] -// CHECK:STDOUT: %Inner.loc13_45.2: type = class_type @Inner, @Inner(constants.%T, constants.%U) [symbolic = %Inner.loc13_45.1 (constants.%Inner.64e)] +// CHECK:STDOUT: %Inner.loc13_45.2: type = class_type @Inner, @Inner(constants.%T, constants.%U) [symbolic = %Inner.loc13_45.1 (constants.%Inner.6c4)] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: @F.%Inner.loc13_45.1 (%Inner.64e) = value_binding p, %p.param +// CHECK:STDOUT: %p: @F.%Inner.loc13_45.1 (%Inner.6c4) = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref @F.%tuple.type (%tuple.type.a5e) = out_param call_param1 // CHECK:STDOUT: %return: ref @F.%tuple.type (%tuple.type.a5e) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.acd = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.acd = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c02 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c02 = return_slot_pattern %return.param_patt, %.loc15_36.3 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.263 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.263 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.ce9 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.ce9 = return_slot_pattern %return.param_patt, %.loc15_36.3 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc15_32: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %D.ref.loc15_35: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc15_36.2: %tuple.type.24b = tuple_literal (%C.ref.loc15_32, %D.ref.loc15_35) [concrete = constants.%tuple.855] -// CHECK:STDOUT: %.loc15_36.3: type = converted %.loc15_36.2, constants.%tuple.type.094 [concrete = constants.%tuple.type.094] -// CHECK:STDOUT: %.loc15_36.4: Core.Form = init_form %.loc15_36.3 [concrete = constants.%.5fb] -// CHECK:STDOUT: %p.param: %Inner.e99 = value_param call_param0 -// CHECK:STDOUT: %.loc15_25: type = splice_block %Inner [concrete = constants.%Inner.e99] { +// CHECK:STDOUT: %.loc15_36.2: %tuple.type.24b = tuple_literal (%C.ref.loc15_32, %D.ref.loc15_35) [concrete = constants.%tuple.ac7] +// CHECK:STDOUT: %.loc15_36.3: type = converted %.loc15_36.2, constants.%tuple.type.a6a [concrete = constants.%tuple.type.a6a] +// CHECK:STDOUT: %.loc15_36.4: Core.Form = init_form %.loc15_36.3 [concrete = constants.%.970] +// CHECK:STDOUT: %p.param: %Inner.2ce = value_param call_param0 +// CHECK:STDOUT: %.loc15_25: type = splice_block %Inner [concrete = constants.%Inner.2ce] { // CHECK:STDOUT: %Outer.ref: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %C.ref.loc15_15: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %Outer: type = class_type @Outer, @Outer(constants.%C) [concrete = constants.%Outer.f83] -// CHECK:STDOUT: %.loc15_17: %Inner.type.9d3 = specific_constant @Outer.%Inner.decl, @Outer(constants.%C) [concrete = constants.%Inner.generic.9d4] -// CHECK:STDOUT: %Inner.ref: %Inner.type.9d3 = name_ref Inner, %.loc15_17 [concrete = constants.%Inner.generic.9d4] +// CHECK:STDOUT: %Outer: type = class_type @Outer, @Outer(constants.%C) [concrete = constants.%Outer.b54] +// CHECK:STDOUT: %.loc15_17: %Inner.type.de5 = specific_constant @Outer.%Inner.decl, @Outer(constants.%C) [concrete = constants.%Inner.generic.598] +// CHECK:STDOUT: %Inner.ref: %Inner.type.de5 = name_ref Inner, %.loc15_17 [concrete = constants.%Inner.generic.598] // CHECK:STDOUT: %D.ref.loc15_24: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %Inner: type = class_type @Inner, @Inner(constants.%C, constants.%D) [concrete = constants.%Inner.e99] +// CHECK:STDOUT: %Inner: type = class_type @Inner, @Inner(constants.%C, constants.%D) [concrete = constants.%Inner.2ce] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %Inner.e99 = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %tuple.type.094 = out_param call_param1 -// CHECK:STDOUT: %return: ref %tuple.type.094 = return_slot %return.param +// CHECK:STDOUT: %p: %Inner.2ce = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %tuple.type.a6a = out_param call_param1 +// CHECK:STDOUT: %return: ref %tuple.type.a6a = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -584,11 +584,11 @@ fn G() -> i32 { // CHECK:STDOUT: %T.loc4_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type: type = generic_class_type @Inner, @Outer(%T.loc4_14.1) [symbolic = %Inner.type (constants.%Inner.type.4c4)] -// CHECK:STDOUT: %Inner.generic: @Outer.%Inner.type (%Inner.type.4c4) = struct_value () [symbolic = %Inner.generic (constants.%Inner.generic.9fc)] +// CHECK:STDOUT: %Inner.type: type = generic_class_type @Inner, @Outer(%T.loc4_14.1) [symbolic = %Inner.type (constants.%Inner.type.e77)] +// CHECK:STDOUT: %Inner.generic: @Outer.%Inner.type (%Inner.type.e77) = struct_value () [symbolic = %Inner.generic (constants.%Inner.generic.92c)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %Inner.decl: @Outer.%Inner.type (%Inner.type.4c4) = class_decl @Inner [symbolic = @Outer.%Inner.generic (constants.%Inner.generic.9fc)] { +// CHECK:STDOUT: %Inner.decl: @Outer.%Inner.type (%Inner.type.e77) = class_decl @Inner [symbolic = @Outer.%Inner.generic (constants.%Inner.generic.92c)] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc5_19.1: type = splice_block %.loc5_19.2 [concrete = type] { @@ -601,7 +601,7 @@ fn G() -> i32 { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Outer.22f +// CHECK:STDOUT: .Self = constants.%Outer.3b5 // CHECK:STDOUT: .Inner = %Inner.decl // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -616,7 +616,7 @@ fn G() -> i32 { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Inner.64e +// CHECK:STDOUT: .Self = constants.%Inner.6c4 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -639,40 +639,40 @@ fn G() -> i32 { // CHECK:STDOUT: generic fn @F(%T.loc13_7.2: type, %U.loc13_17.2: type) { // CHECK:STDOUT: %T.loc13_7.1: type = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T)] // CHECK:STDOUT: %U.loc13_17.1: type = symbolic_binding U, 1 [symbolic = %U.loc13_17.1 (constants.%U)] -// CHECK:STDOUT: %Outer.loc13_36.1: type = class_type @Outer, @Outer(%T.loc13_7.1) [symbolic = %Outer.loc13_36.1 (constants.%Outer.22f)] -// CHECK:STDOUT: %require_complete.loc13_37: = require_complete_type %Outer.loc13_36.1 [symbolic = %require_complete.loc13_37 (constants.%require_complete.6aa)] -// CHECK:STDOUT: %Inner.type: type = generic_class_type @Inner, @Outer(%T.loc13_7.1) [symbolic = %Inner.type (constants.%Inner.type.4c4)] -// CHECK:STDOUT: %Inner.generic: @F.%Inner.type (%Inner.type.4c4) = struct_value () [symbolic = %Inner.generic (constants.%Inner.generic.9fc)] -// CHECK:STDOUT: %Inner.loc13_45.1: type = class_type @Inner, @Inner(%T.loc13_7.1, %U.loc13_17.1) [symbolic = %Inner.loc13_45.1 (constants.%Inner.64e)] -// CHECK:STDOUT: %pattern_type.loc13_27: type = pattern_type %Inner.loc13_45.1 [symbolic = %pattern_type.loc13_27 (constants.%pattern_type.3fb)] +// CHECK:STDOUT: %Outer.loc13_36.1: type = class_type @Outer, @Outer(%T.loc13_7.1) [symbolic = %Outer.loc13_36.1 (constants.%Outer.3b5)] +// CHECK:STDOUT: %require_complete.loc13_37: = require_complete_type %Outer.loc13_36.1 [symbolic = %require_complete.loc13_37 (constants.%require_complete.f6c)] +// CHECK:STDOUT: %Inner.type: type = generic_class_type @Inner, @Outer(%T.loc13_7.1) [symbolic = %Inner.type (constants.%Inner.type.e77)] +// CHECK:STDOUT: %Inner.generic: @F.%Inner.type (%Inner.type.e77) = struct_value () [symbolic = %Inner.generic (constants.%Inner.generic.92c)] +// CHECK:STDOUT: %Inner.loc13_45.1: type = class_type @Inner, @Inner(%T.loc13_7.1, %U.loc13_17.1) [symbolic = %Inner.loc13_45.1 (constants.%Inner.6c4)] +// CHECK:STDOUT: %pattern_type.loc13_27: type = pattern_type %Inner.loc13_45.1 [symbolic = %pattern_type.loc13_27 (constants.%pattern_type.c25)] // CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%T.loc13_7.1, %U.loc13_17.1) [symbolic = %tuple (constants.%tuple.4b9)] // CHECK:STDOUT: %tuple.type: type = tuple_type (%T.loc13_7.1, %U.loc13_17.1) [symbolic = %tuple.type (constants.%tuple.type.a5e)] // CHECK:STDOUT: %.loc13_56.2: Core.Form = init_form %tuple.type [symbolic = %.loc13_56.2 (constants.%.f18)] // CHECK:STDOUT: %pattern_type.loc13_56: type = pattern_type %tuple.type [symbolic = %pattern_type.loc13_56 (constants.%pattern_type.eee)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc13_27: = require_complete_type %Inner.loc13_45.1 [symbolic = %require_complete.loc13_27 (constants.%require_complete.a03)] +// CHECK:STDOUT: %require_complete.loc13_27: = require_complete_type %Inner.loc13_45.1 [symbolic = %require_complete.loc13_27 (constants.%require_complete.600)] // CHECK:STDOUT: %require_complete.loc13_48: = require_complete_type %tuple.type [symbolic = %require_complete.loc13_48 (constants.%require_complete.220)] -// CHECK:STDOUT: %F.specific_fn.loc13_67.2: = specific_function constants.%F, @F(%T.loc13_7.1, %U.loc13_17.1) [symbolic = %F.specific_fn.loc13_67.2 (constants.%F.specific_fn.9a1)] +// CHECK:STDOUT: %F.specific_fn.loc13_67.2: = specific_function constants.%F, @F(%T.loc13_7.1, %U.loc13_17.1) [symbolic = %F.specific_fn.loc13_67.2 (constants.%F.specific_fn.367)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%p.param: @F.%Inner.loc13_45.1 (%Inner.64e)) -> out %return.param: @F.%tuple.type (%tuple.type.a5e) { +// CHECK:STDOUT: fn(%p.param: @F.%Inner.loc13_45.1 (%Inner.6c4)) -> out %return.param: @F.%tuple.type (%tuple.type.a5e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %p.ref: @F.%Inner.loc13_45.1 (%Inner.64e) = name_ref p, %p -// CHECK:STDOUT: %F.specific_fn.loc13_67.1: = specific_function %F.ref, @F(constants.%T, constants.%U) [symbolic = %F.specific_fn.loc13_67.2 (constants.%F.specific_fn.9a1)] +// CHECK:STDOUT: %p.ref: @F.%Inner.loc13_45.1 (%Inner.6c4) = name_ref p, %p +// CHECK:STDOUT: %F.specific_fn.loc13_67.1: = specific_function %F.ref, @F(constants.%T, constants.%U) [symbolic = %F.specific_fn.loc13_67.2 (constants.%F.specific_fn.367)] // CHECK:STDOUT: %.loc13_56.1: ref @F.%tuple.type (%tuple.type.a5e) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%tuple.type (%tuple.type.a5e) to %.loc13_56.1 = call %F.specific_fn.loc13_67.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %Inner.e99) -> out %return.param: %tuple.type.094 { +// CHECK:STDOUT: fn @G(%p.param: %Inner.2ce) -> out %return.param: %tuple.type.a6a { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %p.ref: %Inner.e99 = name_ref p, %p -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C, constants.%D) [concrete = constants.%F.specific_fn.e29] -// CHECK:STDOUT: %.loc15_36.1: ref %tuple.type.094 = splice_block %return.param {} -// CHECK:STDOUT: %F.call: init %tuple.type.094 to %.loc15_36.1 = call %F.specific_fn(%p.ref) +// CHECK:STDOUT: %p.ref: %Inner.2ce = name_ref p, %p +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C, constants.%D) [concrete = constants.%F.specific_fn.335] +// CHECK:STDOUT: %.loc15_36.1: ref %tuple.type.a6a = splice_block %return.param {} +// CHECK:STDOUT: %F.call: init %tuple.type.a6a to %.loc15_36.1 = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return %F.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: @@ -680,8 +680,8 @@ fn G() -> i32 { // CHECK:STDOUT: %T.loc4_14.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.4c4 -// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.9fc +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.e77 +// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.92c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Inner(constants.%T, constants.%U) { @@ -693,29 +693,29 @@ fn G() -> i32 { // CHECK:STDOUT: specific @F(constants.%T, constants.%U) { // CHECK:STDOUT: %T.loc13_7.1 => constants.%T // CHECK:STDOUT: %U.loc13_17.1 => constants.%U -// CHECK:STDOUT: %Outer.loc13_36.1 => constants.%Outer.22f -// CHECK:STDOUT: %require_complete.loc13_37 => constants.%require_complete.6aa -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.4c4 -// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.9fc -// CHECK:STDOUT: %Inner.loc13_45.1 => constants.%Inner.64e -// CHECK:STDOUT: %pattern_type.loc13_27 => constants.%pattern_type.3fb +// CHECK:STDOUT: %Outer.loc13_36.1 => constants.%Outer.3b5 +// CHECK:STDOUT: %require_complete.loc13_37 => constants.%require_complete.f6c +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.e77 +// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.92c +// CHECK:STDOUT: %Inner.loc13_45.1 => constants.%Inner.6c4 +// CHECK:STDOUT: %pattern_type.loc13_27 => constants.%pattern_type.c25 // CHECK:STDOUT: %tuple => constants.%tuple.4b9 // CHECK:STDOUT: %tuple.type => constants.%tuple.type.a5e // CHECK:STDOUT: %.loc13_56.2 => constants.%.f18 // CHECK:STDOUT: %pattern_type.loc13_56 => constants.%pattern_type.eee // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc13_27 => constants.%require_complete.a03 +// CHECK:STDOUT: %require_complete.loc13_27 => constants.%require_complete.600 // CHECK:STDOUT: %require_complete.loc13_48 => constants.%require_complete.220 -// CHECK:STDOUT: %F.specific_fn.loc13_67.2 => constants.%F.specific_fn.9a1 +// CHECK:STDOUT: %F.specific_fn.loc13_67.2 => constants.%F.specific_fn.367 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Outer(constants.%C) { // CHECK:STDOUT: %T.loc4_14.1 => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.9d3 -// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.9d4 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.de5 +// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.598 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Inner(constants.%C, constants.%D) { @@ -727,21 +727,21 @@ fn G() -> i32 { // CHECK:STDOUT: specific @F(constants.%C, constants.%D) { // CHECK:STDOUT: %T.loc13_7.1 => constants.%C // CHECK:STDOUT: %U.loc13_17.1 => constants.%D -// CHECK:STDOUT: %Outer.loc13_36.1 => constants.%Outer.f83 +// CHECK:STDOUT: %Outer.loc13_36.1 => constants.%Outer.b54 // CHECK:STDOUT: %require_complete.loc13_37 => constants.%complete_type.357 -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.9d3 -// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.9d4 -// CHECK:STDOUT: %Inner.loc13_45.1 => constants.%Inner.e99 -// CHECK:STDOUT: %pattern_type.loc13_27 => constants.%pattern_type.acd -// CHECK:STDOUT: %tuple => constants.%tuple.855 -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.094 -// CHECK:STDOUT: %.loc13_56.2 => constants.%.5fb -// CHECK:STDOUT: %pattern_type.loc13_56 => constants.%pattern_type.c02 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.de5 +// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.598 +// CHECK:STDOUT: %Inner.loc13_45.1 => constants.%Inner.2ce +// CHECK:STDOUT: %pattern_type.loc13_27 => constants.%pattern_type.263 +// CHECK:STDOUT: %tuple => constants.%tuple.ac7 +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.a6a +// CHECK:STDOUT: %.loc13_56.2 => constants.%.970 +// CHECK:STDOUT: %pattern_type.loc13_56 => constants.%pattern_type.ce9 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc13_27 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc13_48 => constants.%complete_type.854 -// CHECK:STDOUT: %F.specific_fn.loc13_67.2 => constants.%F.specific_fn.e29 +// CHECK:STDOUT: %require_complete.loc13_48 => constants.%complete_type.3cb +// CHECK:STDOUT: %F.specific_fn.loc13_67.2 => constants.%F.specific_fn.335 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nontype.carbon @@ -755,61 +755,61 @@ fn G() -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N.fe9: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %N.afc: %i32 = symbolic_binding N, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %N.bbe: %i32 = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %WithNontype.type: type = generic_class_type @WithNontype [concrete] // CHECK:STDOUT: %WithNontype.generic: %WithNontype.type = struct_value () [concrete] -// CHECK:STDOUT: %WithNontype.f41: type = class_type @WithNontype, @WithNontype(%N.afc) [symbolic] +// CHECK:STDOUT: %WithNontype.f38: type = class_type @WithNontype, @WithNontype(%N.bbe) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.5e0: type = pattern_type %WithNontype.f41 [symbolic] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %WithNontype.f38 [symbolic] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.8f9: = require_complete_type %WithNontype.f41 [symbolic] +// CHECK:STDOUT: %require_complete.837: = require_complete_type %WithNontype.f38 [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N.fe9) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.d9e: = bound_method %N.afc, %Int.as.Copy.impl.Op.c4a [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.8ba: = bound_method %N.afc, %Int.as.Copy.impl.Op.specific_fn [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N.fe9) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.4af: = bound_method %N.bbe, %Int.as.Copy.impl.Op.ce7 [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.f80: = bound_method %N.bbe, %Int.as.Copy.impl.Op.specific_fn [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %WithNontype.7c8: type = class_type @WithNontype, @WithNontype(%int_0.155) [concrete] -// CHECK:STDOUT: %WithNontype.val: %WithNontype.7c8 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.bd4: type = pattern_type %WithNontype.7c8 [concrete] -// CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%int_0.155) [concrete] -// CHECK:STDOUT: %.290: ref %WithNontype.7c8 = temporary invalid, %WithNontype.val [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %WithNontype.87c: type = class_type @WithNontype, @WithNontype(%int_0.62d) [concrete] +// CHECK:STDOUT: %WithNontype.val: %WithNontype.87c = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.f42: type = pattern_type %WithNontype.87c [concrete] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%int_0.62d) [concrete] +// CHECK:STDOUT: %.a39: ref %WithNontype.87c = temporary invalid, %WithNontype.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_15.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.290, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.132: = bound_method %int_0.155, %Int.as.Copy.impl.Op.c4a [concrete] -// CHECK:STDOUT: %bound_method.f2e: = bound_method %int_0.155, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_15.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.a39, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.74c: = bound_method %int_0.62d, %Int.as.Copy.impl.Op.ce7 [concrete] +// CHECK:STDOUT: %bound_method.021: = bound_method %int_0.62d, %Int.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -823,11 +823,11 @@ fn G() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -840,51 +840,51 @@ fn G() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %WithNontype.decl: %WithNontype.type = class_decl @WithNontype [concrete = constants.%WithNontype.generic] { -// CHECK:STDOUT: %N.patt: %pattern_type.c6b = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.104 = symbolic_binding_pattern N, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4: type = splice_block %i32 [concrete = constants.%i32] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc4_20.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc4_20.1 (constants.%N.afc)] +// CHECK:STDOUT: %N.loc4_20.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc4_20.1 (constants.%N.bbe)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %N.patt: %pattern_type.c6b = symbolic_binding_pattern N, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.5e0) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.5e0) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc6_44 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.104 = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.7b5) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.7b5) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc6_44 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc6_44: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6_44: Core.Form = init_form %i32.loc6_44 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc6_44: Core.Form = init_form %i32.loc6_44 [concrete = constants.%.7ea] // CHECK:STDOUT: %.loc6_10: type = splice_block %i32.loc6_10 [concrete = constants.%i32] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32.loc6_10: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc6_7.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc6_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %x.param: @F.%WithNontype.loc6_38.1 (%WithNontype.f41) = value_param call_param0 -// CHECK:STDOUT: %.loc6_38: type = splice_block %WithNontype.loc6_38.2 [symbolic = %WithNontype.loc6_38.1 (constants.%WithNontype.f41)] { +// CHECK:STDOUT: %N.loc6_7.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc6_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %x.param: @F.%WithNontype.loc6_38.1 (%WithNontype.f38) = value_param call_param0 +// CHECK:STDOUT: %.loc6_38: type = splice_block %WithNontype.loc6_38.2 [symbolic = %WithNontype.loc6_38.1 (constants.%WithNontype.f38)] { // CHECK:STDOUT: %WithNontype.ref: %WithNontype.type = name_ref WithNontype, file.%WithNontype.decl [concrete = constants.%WithNontype.generic] -// CHECK:STDOUT: %N.ref.loc6_37: %i32 = name_ref N, %N.loc6_7.2 [symbolic = %N.loc6_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %WithNontype.loc6_38.2: type = class_type @WithNontype, @WithNontype(constants.%N.afc) [symbolic = %WithNontype.loc6_38.1 (constants.%WithNontype.f41)] +// CHECK:STDOUT: %N.ref.loc6_37: %i32 = name_ref N, %N.loc6_7.2 [symbolic = %N.loc6_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %WithNontype.loc6_38.2: type = class_type @WithNontype, @WithNontype(constants.%N.bbe) [symbolic = %WithNontype.loc6_38.1 (constants.%WithNontype.f38)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @F.%WithNontype.loc6_38.1 (%WithNontype.f41) = value_binding x, %x.param +// CHECK:STDOUT: %x: @F.%WithNontype.loc6_38.1 (%WithNontype.f38) = value_binding x, %x.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc8: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @WithNontype(%N.loc4_20.2: %i32) { -// CHECK:STDOUT: %N.loc4_20.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc4_20.1 (constants.%N.afc)] +// CHECK:STDOUT: %N.loc4_20.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc4_20.1 (constants.%N.bbe)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -893,28 +893,28 @@ fn G() -> i32 { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%WithNontype.f41 +// CHECK:STDOUT: .Self = constants.%WithNontype.f38 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%N.loc6_7.2: %i32) { -// CHECK:STDOUT: %N.loc6_7.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc6_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %WithNontype.loc6_38.1: type = class_type @WithNontype, @WithNontype(%N.loc6_7.1) [symbolic = %WithNontype.loc6_38.1 (constants.%WithNontype.f41)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %WithNontype.loc6_38.1 [symbolic = %pattern_type (constants.%pattern_type.5e0)] +// CHECK:STDOUT: %N.loc6_7.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc6_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %WithNontype.loc6_38.1: type = class_type @WithNontype, @WithNontype(%N.loc6_7.1) [symbolic = %WithNontype.loc6_38.1 (constants.%WithNontype.f38)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %WithNontype.loc6_38.1 [symbolic = %pattern_type (constants.%pattern_type.7b5)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %WithNontype.loc6_38.1 [symbolic = %require_complete (constants.%require_complete.8f9)] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %N.loc6_7.1, constants.%Int.as.Copy.impl.Op.c4a [symbolic = %Int.as.Copy.impl.Op.bound (constants.%Int.as.Copy.impl.Op.bound.d9e)] -// CHECK:STDOUT: %bound_method.loc6_57.3: = bound_method %N.loc6_7.1, constants.%Int.as.Copy.impl.Op.specific_fn [symbolic = %bound_method.loc6_57.3 (constants.%bound_method.8ba)] +// CHECK:STDOUT: %require_complete: = require_complete_type %WithNontype.loc6_38.1 [symbolic = %require_complete (constants.%require_complete.837)] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %N.loc6_7.1, constants.%Int.as.Copy.impl.Op.ce7 [symbolic = %Int.as.Copy.impl.Op.bound (constants.%Int.as.Copy.impl.Op.bound.4af)] +// CHECK:STDOUT: %bound_method.loc6_57.3: = bound_method %N.loc6_7.1, constants.%Int.as.Copy.impl.Op.specific_fn [symbolic = %bound_method.loc6_57.3 (constants.%bound_method.f80)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @F.%WithNontype.loc6_38.1 (%WithNontype.f41)) -> out %return.param: %i32 { +// CHECK:STDOUT: fn(%x.param: @F.%WithNontype.loc6_38.1 (%WithNontype.f38)) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %N.ref.loc6_57: %i32 = name_ref N, %N.loc6_7.2 [symbolic = %N.loc6_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] -// CHECK:STDOUT: %bound_method.loc6_57.1: = bound_method %N.ref.loc6_57, %impl.elem0 [symbolic = %Int.as.Copy.impl.Op.bound (constants.%Int.as.Copy.impl.Op.bound.d9e)] +// CHECK:STDOUT: %N.ref.loc6_57: %i32 = name_ref N, %N.loc6_7.2 [symbolic = %N.loc6_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] +// CHECK:STDOUT: %bound_method.loc6_57.1: = bound_method %N.ref.loc6_57, %impl.elem0 [symbolic = %Int.as.Copy.impl.Op.bound (constants.%Int.as.Copy.impl.Op.bound.4af)] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_57.2: = bound_method %N.ref.loc6_57, %specific_fn [symbolic = %bound_method.loc6_57.3 (constants.%bound_method.8ba)] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_57.2(%N.ref.loc6_57) [symbolic = %N.loc6_7.1 (constants.%N.afc)] +// CHECK:STDOUT: %bound_method.loc6_57.2: = bound_method %N.ref.loc6_57, %specific_fn [symbolic = %bound_method.loc6_57.3 (constants.%bound_method.f80)] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_57.2(%N.ref.loc6_57) [symbolic = %N.loc6_7.1 (constants.%N.bbe)] // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -925,58 +925,58 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc9_13.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %WithNontype.ref: %WithNontype.type = name_ref WithNontype, file.%WithNontype.decl [concrete = constants.%WithNontype.generic] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc9_31.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_31.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_31.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc9_31.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc9_31.2: %i32 = converted %int_0, %.loc9_31.1 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %WithNontype: type = class_type @WithNontype, @WithNontype(constants.%int_0.155) [concrete = constants.%WithNontype.7c8] -// CHECK:STDOUT: %.loc9_13.2: ref %WithNontype.7c8 = temporary_storage -// CHECK:STDOUT: %.loc9_13.3: init %WithNontype.7c8 to %.loc9_13.2 = class_init () [concrete = constants.%WithNontype.val] -// CHECK:STDOUT: %.loc9_15.1: init %WithNontype.7c8 = converted %.loc9_13.1, %.loc9_13.3 [concrete = constants.%WithNontype.val] -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%int_0.155) [concrete = constants.%F.specific_fn] -// CHECK:STDOUT: %.loc9_15.2: ref %WithNontype.7c8 = temporary %.loc9_13.2, %.loc9_15.1 [concrete = constants.%.290] -// CHECK:STDOUT: %.loc9_15.3: %WithNontype.7c8 = acquire_value %.loc9_15.2 [concrete = constants.%WithNontype.val] +// CHECK:STDOUT: %bound_method.loc9_31.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_31.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc9_31.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc9_31.2: %i32 = converted %int_0, %.loc9_31.1 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %WithNontype: type = class_type @WithNontype, @WithNontype(constants.%int_0.62d) [concrete = constants.%WithNontype.87c] +// CHECK:STDOUT: %.loc9_13.2: ref %WithNontype.87c = temporary_storage +// CHECK:STDOUT: %.loc9_13.3: init %WithNontype.87c to %.loc9_13.2 = class_init () [concrete = constants.%WithNontype.val] +// CHECK:STDOUT: %.loc9_15.1: init %WithNontype.87c = converted %.loc9_13.1, %.loc9_13.3 [concrete = constants.%WithNontype.val] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%int_0.62d) [concrete = constants.%F.specific_fn] +// CHECK:STDOUT: %.loc9_15.2: ref %WithNontype.87c = temporary %.loc9_13.2, %.loc9_15.1 [concrete = constants.%.a39] +// CHECK:STDOUT: %.loc9_15.3: %WithNontype.87c = acquire_value %.loc9_15.2 [concrete = constants.%WithNontype.val] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%.loc9_15.3) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.290) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.a39) // CHECK:STDOUT: return %F.call // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc9_15.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9_15.2(%self.param: ref %WithNontype.7c8) { +// CHECK:STDOUT: fn @Destroy.Op.loc9_15.2(%self.param: ref %WithNontype.87c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @WithNontype(constants.%N.afc) { -// CHECK:STDOUT: %N.loc4_20.1 => constants.%N.afc +// CHECK:STDOUT: specific @WithNontype(constants.%N.bbe) { +// CHECK:STDOUT: %N.loc4_20.1 => constants.%N.bbe // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%N.afc) { -// CHECK:STDOUT: %N.loc6_7.1 => constants.%N.afc -// CHECK:STDOUT: %WithNontype.loc6_38.1 => constants.%WithNontype.f41 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5e0 +// CHECK:STDOUT: specific @F(constants.%N.bbe) { +// CHECK:STDOUT: %N.loc6_7.1 => constants.%N.bbe +// CHECK:STDOUT: %WithNontype.loc6_38.1 => constants.%WithNontype.f38 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.7b5 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @WithNontype(constants.%int_0.155) { -// CHECK:STDOUT: %N.loc4_20.1 => constants.%int_0.155 +// CHECK:STDOUT: specific @WithNontype(constants.%int_0.62d) { +// CHECK:STDOUT: %N.loc4_20.1 => constants.%int_0.62d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%int_0.155) { -// CHECK:STDOUT: %N.loc6_7.1 => constants.%int_0.155 -// CHECK:STDOUT: %WithNontype.loc6_38.1 => constants.%WithNontype.7c8 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bd4 +// CHECK:STDOUT: specific @F(constants.%int_0.62d) { +// CHECK:STDOUT: %N.loc6_7.1 => constants.%int_0.62d +// CHECK:STDOUT: %WithNontype.loc6_38.1 => constants.%WithNontype.87c +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f42 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.357 -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound => constants.%Int.as.Copy.impl.Op.bound.132 -// CHECK:STDOUT: %bound_method.loc6_57.3 => constants.%bound_method.f2e +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound => constants.%Int.as.Copy.impl.Op.bound.74c +// CHECK:STDOUT: %bound_method.loc6_57.3 => constants.%bound_method.021 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/deduce/int_float.carbon b/toolchain/check/testdata/deduce/int_float.carbon index 418bfeea59b7..a398bd5d0747 100644 --- a/toolchain/check/testdata/deduce/int_float.carbon +++ b/toolchain/check/testdata/deduce/int_float.carbon @@ -48,22 +48,22 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %Int: type = class_type @Int, @Int(%N) [symbolic] -// CHECK:STDOUT: %pattern_type.a7b: type = pattern_type %Int [symbolic] +// CHECK:STDOUT: %pattern_type.142: type = pattern_type %Int [symbolic] // CHECK:STDOUT: %.f7d: Core.Form = init_form Core.IntLiteral [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.c70: = require_complete_type %Int [symbolic] +// CHECK:STDOUT: %require_complete.692: = require_complete_type %Int [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.5d4: = impl_witness imports.%Copy.impl_witness_table.6e2 [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value Core.IntLiteral, (%Copy.impl_witness.5d4) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.0b6: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.9e1: type = fn_type_with_self_type %Copy.WithSelf.Op.type.0b6, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.969: = impl_witness imports.%Copy.impl_witness_table.365 [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value Core.IntLiteral, (%Copy.impl_witness.969) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.535: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.b58: type = fn_type_with_self_type %Copy.WithSelf.Op.type.535, %Copy.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.type: type = fn_type @Core.IntLiteral.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op: %Core.IntLiteral.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.bound.3c6: = bound_method %N, %Core.IntLiteral.as.Copy.impl.Op [symbolic] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.c8a: type = pattern_type %i64 [concrete] +// CHECK:STDOUT: %pattern_type.fdd: type = pattern_type %i64 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %i64.builtin: type = int_type signed, %int_64 [concrete] @@ -83,8 +83,8 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: %Core.IntLiteral: %IntLiteral.type = import_ref Core//prelude/parts/int_literal, IntLiteral, loaded [concrete = constants.%IntLiteral] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.41e: %Core.IntLiteral.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.6e2 = impl_witness_table (%Core.import_ref.41e), @Core.IntLiteral.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.IntLiteral.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.365 = impl_witness_table (%Core.import_ref.f63), @Core.IntLiteral.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -96,8 +96,8 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %N.patt: %pattern_type.dc0 = symbolic_binding_pattern N, 0 [concrete] -// CHECK:STDOUT: %n.param_patt: @F.%pattern_type (%pattern_type.a7b) = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: @F.%pattern_type (%pattern_type.a7b) = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %n.param_patt: @F.%pattern_type (%pattern_type.142) = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: @F.%pattern_type (%pattern_type.142) = at_binding_pattern n, %n.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.dc0 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.dc0 = return_slot_pattern %return.param_patt, %.loc4_71.2 [concrete] // CHECK:STDOUT: } { @@ -128,8 +128,8 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: %return: ref Core.IntLiteral = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c8a = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c8a = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.fdd = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.fdd = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.dc0 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.dc0 = return_slot_pattern %return.param_patt, %.loc8_33.2 [concrete] // CHECK:STDOUT: } { @@ -150,16 +150,16 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: generic fn @F(%N.loc4_7.2: Core.IntLiteral) { // CHECK:STDOUT: %N.loc4_7.1: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N.loc4_7.1 (constants.%N)] // CHECK:STDOUT: %Int.loc4_49.1: type = class_type @Int, @Int(%N.loc4_7.1) [symbolic = %Int.loc4_49.1 (constants.%Int)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Int.loc4_49.1 [symbolic = %pattern_type (constants.%pattern_type.a7b)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Int.loc4_49.1 [symbolic = %pattern_type (constants.%pattern_type.142)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Int.loc4_49.1 [symbolic = %require_complete (constants.%require_complete.c70)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Int.loc4_49.1 [symbolic = %require_complete (constants.%require_complete.692)] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.bound: = bound_method %N.loc4_7.1, constants.%Core.IntLiteral.as.Copy.impl.Op [symbolic = %Core.IntLiteral.as.Copy.impl.Op.bound (constants.%Core.IntLiteral.as.Copy.impl.Op.bound.3c6)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%n.param: @F.%Int.loc4_49.1 (%Int)) -> out %return.param: Core.IntLiteral { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %N.ref.loc5: Core.IntLiteral = name_ref N, %N.loc4_7.2 [symbolic = %N.loc4_7.1 (constants.%N)] -// CHECK:STDOUT: %impl.elem0: %.9e1 = impl_witness_access constants.%Copy.impl_witness.5d4, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.b58 = impl_witness_access constants.%Copy.impl_witness.969, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %N.ref.loc5, %impl.elem0 [symbolic = %Core.IntLiteral.as.Copy.impl.Op.bound (constants.%Core.IntLiteral.as.Copy.impl.Op.bound.3c6)] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.call: init Core.IntLiteral = call %bound_method(%N.ref.loc5) [symbolic = %N.loc4_7.1 (constants.%N)] // CHECK:STDOUT: return %Core.IntLiteral.as.Copy.impl.Op.call @@ -178,13 +178,13 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: specific @F(constants.%N) { // CHECK:STDOUT: %N.loc4_7.1 => constants.%N // CHECK:STDOUT: %Int.loc4_49.1 => constants.%Int -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a7b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.142 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%int_64) { // CHECK:STDOUT: %N.loc4_7.1 => constants.%int_64 // CHECK:STDOUT: %Int.loc4_49.1 => constants.%i64 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c8a +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.fdd // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.4a1 @@ -203,22 +203,22 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: %Float.type: type = generic_class_type @Float [concrete] // CHECK:STDOUT: %Float.generic: %Float.type = struct_value () [concrete] // CHECK:STDOUT: %Float: type = class_type @Float, @Float(%N) [symbolic] -// CHECK:STDOUT: %pattern_type.c21: type = pattern_type %Float [symbolic] +// CHECK:STDOUT: %pattern_type.76d: type = pattern_type %Float [symbolic] // CHECK:STDOUT: %.f7d: Core.Form = init_form Core.IntLiteral [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.627: = require_complete_type %Float [symbolic] +// CHECK:STDOUT: %require_complete.201: = require_complete_type %Float [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.5d4: = impl_witness imports.%Copy.impl_witness_table.6e2 [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value Core.IntLiteral, (%Copy.impl_witness.5d4) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.0b6: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.9e1: type = fn_type_with_self_type %Copy.WithSelf.Op.type.0b6, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.969: = impl_witness imports.%Copy.impl_witness_table.365 [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value Core.IntLiteral, (%Copy.impl_witness.969) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.535: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.b58: type = fn_type_with_self_type %Copy.WithSelf.Op.type.535, %Copy.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.type: type = fn_type @Core.IntLiteral.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op: %Core.IntLiteral.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.bound.3c6: = bound_method %N, %Core.IntLiteral.as.Copy.impl.Op [symbolic] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %f64.794: type = float_type %int_64, f64 [concrete] @@ -238,8 +238,8 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: %Core.IntLiteral: %IntLiteral.type = import_ref Core//prelude/parts/int_literal, IntLiteral, loaded [concrete = constants.%IntLiteral] // CHECK:STDOUT: %Core.Float: %Float.type = import_ref Core//prelude/parts/float, Float, loaded [concrete = constants.%Float.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.41e: %Core.IntLiteral.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.6e2 = impl_witness_table (%Core.import_ref.41e), @Core.IntLiteral.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.IntLiteral.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.365 = impl_witness_table (%Core.import_ref.f63), @Core.IntLiteral.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -251,8 +251,8 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %N.patt: %pattern_type.dc0 = symbolic_binding_pattern N, 0 [concrete] -// CHECK:STDOUT: %n.param_patt: @F.%pattern_type (%pattern_type.c21) = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: @F.%pattern_type (%pattern_type.c21) = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %n.param_patt: @F.%pattern_type (%pattern_type.76d) = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: @F.%pattern_type (%pattern_type.76d) = at_binding_pattern n, %n.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.dc0 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.dc0 = return_slot_pattern %return.param_patt, %.loc4_73.2 [concrete] // CHECK:STDOUT: } { @@ -283,8 +283,8 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: %return: ref Core.IntLiteral = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.f4f = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.f4f = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.f3c = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f3c = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.dc0 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.dc0 = return_slot_pattern %return.param_patt, %.loc8_33.2 [concrete] // CHECK:STDOUT: } { @@ -294,9 +294,9 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: %.loc8_33.1: type = value_of_initializer %IntLiteral.call [concrete = Core.IntLiteral] // CHECK:STDOUT: %.loc8_33.2: type = converted %IntLiteral.call, %.loc8_33.1 [concrete = Core.IntLiteral] // CHECK:STDOUT: %.loc8_33.3: Core.Form = init_form %.loc8_33.2 [concrete = constants.%.f7d] -// CHECK:STDOUT: %a.param: %f64.9a0 = value_param call_param0 -// CHECK:STDOUT: %f64: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %a: %f64.9a0 = value_binding a, %a.param +// CHECK:STDOUT: %a.param: %f64.b55 = value_param call_param0 +// CHECK:STDOUT: %f64: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %a: %f64.b55 = value_binding a, %a.param // CHECK:STDOUT: %return.param: ref Core.IntLiteral = out_param call_param1 // CHECK:STDOUT: %return: ref Core.IntLiteral = return_slot %return.param // CHECK:STDOUT: } @@ -305,26 +305,26 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: generic fn @F(%N.loc4_7.2: Core.IntLiteral) { // CHECK:STDOUT: %N.loc4_7.1: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N.loc4_7.1 (constants.%N)] // CHECK:STDOUT: %Float.loc4_51.1: type = class_type @Float, @Float(%N.loc4_7.1) [symbolic = %Float.loc4_51.1 (constants.%Float)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Float.loc4_51.1 [symbolic = %pattern_type (constants.%pattern_type.c21)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Float.loc4_51.1 [symbolic = %pattern_type (constants.%pattern_type.76d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Float.loc4_51.1 [symbolic = %require_complete (constants.%require_complete.627)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Float.loc4_51.1 [symbolic = %require_complete (constants.%require_complete.201)] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.bound: = bound_method %N.loc4_7.1, constants.%Core.IntLiteral.as.Copy.impl.Op [symbolic = %Core.IntLiteral.as.Copy.impl.Op.bound (constants.%Core.IntLiteral.as.Copy.impl.Op.bound.3c6)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%n.param: @F.%Float.loc4_51.1 (%Float)) -> out %return.param: Core.IntLiteral { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %N.ref.loc5: Core.IntLiteral = name_ref N, %N.loc4_7.2 [symbolic = %N.loc4_7.1 (constants.%N)] -// CHECK:STDOUT: %impl.elem0: %.9e1 = impl_witness_access constants.%Copy.impl_witness.5d4, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.b58 = impl_witness_access constants.%Copy.impl_witness.969, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %N.ref.loc5, %impl.elem0 [symbolic = %Core.IntLiteral.as.Copy.impl.Op.bound (constants.%Core.IntLiteral.as.Copy.impl.Op.bound.3c6)] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.call: init Core.IntLiteral = call %bound_method(%N.ref.loc5) [symbolic = %N.loc4_7.1 (constants.%N)] // CHECK:STDOUT: return %Core.IntLiteral.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%a.param: %f64.9a0) -> out %return.param: Core.IntLiteral { +// CHECK:STDOUT: fn @G(%a.param: %f64.b55) -> out %return.param: Core.IntLiteral { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %a.ref: %f64.9a0 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %f64.b55 = name_ref a, %a // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%int_64) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init Core.IntLiteral = call %F.specific_fn(%a.ref) // CHECK:STDOUT: return %F.call @@ -333,13 +333,13 @@ fn G(a: f64) -> Core.IntLiteral() { // CHECK:STDOUT: specific @F(constants.%N) { // CHECK:STDOUT: %N.loc4_7.1 => constants.%N // CHECK:STDOUT: %Float.loc4_51.1 => constants.%Float -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c21 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.76d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%int_64) { // CHECK:STDOUT: %N.loc4_7.1 => constants.%int_64 -// CHECK:STDOUT: %Float.loc4_51.1 => constants.%f64.9a0 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f4f +// CHECK:STDOUT: %Float.loc4_51.1 => constants.%f64.b55 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f3c // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.7b9 diff --git a/toolchain/check/testdata/deduce/tuple.carbon b/toolchain/check/testdata/deduce/tuple.carbon index 178207831714..721b4eff1121 100644 --- a/toolchain/check/testdata/deduce/tuple.carbon +++ b/toolchain/check/testdata/deduce/tuple.carbon @@ -78,16 +78,16 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %tuple.type.a5e [symbolic] -// CHECK:STDOUT: %F.specific_fn.6c2: = specific_function %F, @F(%T, %U) [symbolic] -// CHECK:STDOUT: %tuple.9b9: %tuple.type.24b = tuple_value (%C, %D) [concrete] -// CHECK:STDOUT: %tuple.type.fe9: type = tuple_type (%C, %D) [concrete] -// CHECK:STDOUT: %pattern_type.e8b: type = pattern_type %tuple.type.fe9 [concrete] -// CHECK:STDOUT: %.200: Core.Form = init_form %D [concrete] -// CHECK:STDOUT: %pattern_type.c66: type = pattern_type %D [concrete] +// CHECK:STDOUT: %F.specific_fn.367: = specific_function %F, @F(%T, %U) [symbolic] +// CHECK:STDOUT: %tuple.ac7: %tuple.type.24b = tuple_value (%C, %D) [concrete] +// CHECK:STDOUT: %tuple.type.a6a: type = tuple_type (%C, %D) [concrete] +// CHECK:STDOUT: %pattern_type.ce9: type = pattern_type %tuple.type.a6a [concrete] +// CHECK:STDOUT: %.f19: Core.Form = init_form %D [concrete] +// CHECK:STDOUT: %pattern_type.f1a: type = pattern_type %D [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn.2c0: = specific_function %F, @F(%C, %D) [concrete] -// CHECK:STDOUT: %complete_type.c17: = complete_type_witness %tuple.type.fe9 [concrete] +// CHECK:STDOUT: %F.specific_fn.335: = specific_function %F, @F(%C, %D) [concrete] +// CHECK:STDOUT: %complete_type.3cb: = complete_type_witness %tuple.type.a6a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -140,21 +140,21 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: %return: ref @F.%U.loc7_17.1 (%U) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %pair.param_patt: %pattern_type.e8b = value_param_pattern [concrete] -// CHECK:STDOUT: %pair.patt: %pattern_type.e8b = at_binding_pattern pair, %pair.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c66 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c66 = return_slot_pattern %return.param_patt, %D.ref.loc9_23 [concrete] +// CHECK:STDOUT: %pair.param_patt: %pattern_type.ce9 = value_param_pattern [concrete] +// CHECK:STDOUT: %pair.patt: %pattern_type.ce9 = at_binding_pattern pair, %pair.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.f1a = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.f1a = return_slot_pattern %return.param_patt, %D.ref.loc9_23 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref.loc9_23: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc9_23.2: Core.Form = init_form %D.ref.loc9_23 [concrete = constants.%.200] -// CHECK:STDOUT: %pair.param: %tuple.type.fe9 = value_param call_param0 -// CHECK:STDOUT: %.loc9_17.1: type = splice_block %.loc9_17.3 [concrete = constants.%tuple.type.fe9] { +// CHECK:STDOUT: %.loc9_23.2: Core.Form = init_form %D.ref.loc9_23 [concrete = constants.%.f19] +// CHECK:STDOUT: %pair.param: %tuple.type.a6a = value_param call_param0 +// CHECK:STDOUT: %.loc9_17.1: type = splice_block %.loc9_17.3 [concrete = constants.%tuple.type.a6a] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %D.ref.loc9_16: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc9_17.2: %tuple.type.24b = tuple_literal (%C.ref, %D.ref.loc9_16) [concrete = constants.%tuple.9b9] -// CHECK:STDOUT: %.loc9_17.3: type = converted %.loc9_17.2, constants.%tuple.type.fe9 [concrete = constants.%tuple.type.fe9] +// CHECK:STDOUT: %.loc9_17.2: %tuple.type.24b = tuple_literal (%C.ref, %D.ref.loc9_16) [concrete = constants.%tuple.ac7] +// CHECK:STDOUT: %.loc9_17.3: type = converted %.loc9_17.2, constants.%tuple.type.a6a [concrete = constants.%tuple.type.a6a] // CHECK:STDOUT: } -// CHECK:STDOUT: %pair: %tuple.type.fe9 = value_binding pair, %pair.param +// CHECK:STDOUT: %pair: %tuple.type.a6a = value_binding pair, %pair.param // CHECK:STDOUT: %return.param: ref %D = out_param call_param1 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } @@ -187,24 +187,24 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %tuple.type [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %F.specific_fn.loc7_54.2: = specific_function constants.%F, @F(%T.loc7_7.1, %U.loc7_17.1) [symbolic = %F.specific_fn.loc7_54.2 (constants.%F.specific_fn.6c2)] +// CHECK:STDOUT: %F.specific_fn.loc7_54.2: = specific_function constants.%F, @F(%T.loc7_7.1, %U.loc7_17.1) [symbolic = %F.specific_fn.loc7_54.2 (constants.%F.specific_fn.367)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%pair.param: @F.%tuple.type (%tuple.type.a5e)) -> out %return.param: @F.%U.loc7_17.1 (%U) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %pair.ref: @F.%tuple.type (%tuple.type.a5e) = name_ref pair, %pair -// CHECK:STDOUT: %F.specific_fn.loc7_54.1: = specific_function %F.ref, @F(constants.%T, constants.%U) [symbolic = %F.specific_fn.loc7_54.2 (constants.%F.specific_fn.6c2)] +// CHECK:STDOUT: %F.specific_fn.loc7_54.1: = specific_function %F.ref, @F(constants.%T, constants.%U) [symbolic = %F.specific_fn.loc7_54.2 (constants.%F.specific_fn.367)] // CHECK:STDOUT: %.loc7_43.1: ref @F.%U.loc7_17.1 (%U) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%U.loc7_17.1 (%U) to %.loc7_43.1 = call %F.specific_fn.loc7_54.1(%pair.ref) // CHECK:STDOUT: return %F.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%pair.param: %tuple.type.fe9) -> out %return.param: %D { +// CHECK:STDOUT: fn @G(%pair.param: %tuple.type.a6a) -> out %return.param: %D { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %pair.ref: %tuple.type.fe9 = name_ref pair, %pair -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C, constants.%D) [concrete = constants.%F.specific_fn.2c0] +// CHECK:STDOUT: %pair.ref: %tuple.type.a6a = name_ref pair, %pair +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C, constants.%D) [concrete = constants.%F.specific_fn.335] // CHECK:STDOUT: %.loc9_23.1: ref %D = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %D to %.loc9_23.1 = call %F.specific_fn(%pair.ref) // CHECK:STDOUT: return %F.call to %return.param @@ -221,21 +221,21 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete -// CHECK:STDOUT: %F.specific_fn.loc7_54.2 => constants.%F.specific_fn.6c2 +// CHECK:STDOUT: %F.specific_fn.loc7_54.2 => constants.%F.specific_fn.367 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%C, constants.%D) { // CHECK:STDOUT: %T.loc7_7.1 => constants.%C // CHECK:STDOUT: %U.loc7_17.1 => constants.%D -// CHECK:STDOUT: %tuple => constants.%tuple.9b9 -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.fe9 -// CHECK:STDOUT: %pattern_type.loc7_30 => constants.%pattern_type.e8b -// CHECK:STDOUT: %.loc7_43.2 => constants.%.200 -// CHECK:STDOUT: %pattern_type.loc7_43 => constants.%pattern_type.c66 +// CHECK:STDOUT: %tuple => constants.%tuple.ac7 +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.a6a +// CHECK:STDOUT: %pattern_type.loc7_30 => constants.%pattern_type.ce9 +// CHECK:STDOUT: %.loc7_43.2 => constants.%.f19 +// CHECK:STDOUT: %pattern_type.loc7_43 => constants.%pattern_type.f1a // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.c17 -// CHECK:STDOUT: %F.specific_fn.loc7_54.2 => constants.%F.specific_fn.2c0 +// CHECK:STDOUT: %require_complete => constants.%complete_type.3cb +// CHECK:STDOUT: %F.specific_fn.loc7_54.2 => constants.%F.specific_fn.335 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- tuple_value.carbon @@ -249,68 +249,68 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.8e3: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %pattern_type.624: type = pattern_type %tuple.type.87c [concrete] -// CHECK:STDOUT: %Pair: %tuple.type.87c = symbolic_binding Pair, 0 [symbolic] +// CHECK:STDOUT: %tuple.79d: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %pattern_type.7d6: type = pattern_type %tuple.type.e5a [concrete] +// CHECK:STDOUT: %Pair: %tuple.type.e5a = symbolic_binding Pair, 0 [symbolic] // CHECK:STDOUT: %HasPair.type: type = generic_class_type @HasPair [concrete] // CHECK:STDOUT: %HasPair.generic: %HasPair.type = struct_value () [concrete] -// CHECK:STDOUT: %HasPair.b5b: type = class_type @HasPair, @HasPair(%Pair) [symbolic] +// CHECK:STDOUT: %HasPair.38e: type = class_type @HasPair, @HasPair(%Pair) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %A: %i32 = symbolic_binding A, 0 [symbolic] // CHECK:STDOUT: %B: %i32 = symbolic_binding B, 1 [symbolic] -// CHECK:STDOUT: %tuple.453: %tuple.type.87c = tuple_value (%A, %B) [symbolic] -// CHECK:STDOUT: %HasPair.d7f: type = class_type @HasPair, @HasPair(%tuple.453) [symbolic] -// CHECK:STDOUT: %pattern_type.327: type = pattern_type %HasPair.d7f [symbolic] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %tuple.20c: %tuple.type.e5a = tuple_value (%A, %B) [symbolic] +// CHECK:STDOUT: %HasPair.fc9: type = class_type @HasPair, @HasPair(%tuple.20c) [symbolic] +// CHECK:STDOUT: %pattern_type.684: type = pattern_type %HasPair.fc9 [symbolic] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.484: = require_complete_type %HasPair.d7f [symbolic] +// CHECK:STDOUT: %require_complete.be4: = require_complete_type %HasPair.fc9 [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.b67: = bound_method %B, %Int.as.Copy.impl.Op.c4a [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.b35: = bound_method %B, %Int.as.Copy.impl.Op.specific_fn [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.f26: = bound_method %B, %Int.as.Copy.impl.Op.ce7 [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.b25: = bound_method %B, %Int.as.Copy.impl.Op.specific_fn [symbolic] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %tuple.type.f94: type = tuple_type (Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.ad8: %tuple.type.f94 = tuple_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %tuple.03f: %tuple.type.87c = tuple_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %HasPair.ff0: type = class_type @HasPair, @HasPair(%tuple.03f) [concrete] -// CHECK:STDOUT: %pattern_type.7e6: type = pattern_type %HasPair.ff0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %tuple.cd5: %tuple.type.e5a = tuple_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %HasPair.387: type = class_type @HasPair, @HasPair(%tuple.cd5) [concrete] +// CHECK:STDOUT: %pattern_type.36d: type = pattern_type %HasPair.387 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.71c: = bound_method %int_2.4ff, %Int.as.Copy.impl.Op.c4a [concrete] -// CHECK:STDOUT: %bound_method.605: = bound_method %int_2.4ff, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.a01: = bound_method %int_2.228, %Int.as.Copy.impl.Op.ce7 [concrete] +// CHECK:STDOUT: %bound_method.190: = bound_method %int_2.228, %Int.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -323,11 +323,11 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -339,27 +339,27 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %HasPair.decl: %HasPair.type = class_decl @HasPair [concrete = constants.%HasPair.generic] { -// CHECK:STDOUT: %Pair.patt: %pattern_type.624 = symbolic_binding_pattern Pair, 0 [concrete] +// CHECK:STDOUT: %Pair.patt: %pattern_type.7d6 = symbolic_binding_pattern Pair, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc4_31.1: type = splice_block %.loc4_31.3 [concrete = constants.%tuple.type.87c] { +// CHECK:STDOUT: %.loc4_31.1: type = splice_block %.loc4_31.3 [concrete = constants.%tuple.type.e5a] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32.loc4_23: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc4_28: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_31.2: %tuple.type.24b = tuple_literal (%i32.loc4_23, %i32.loc4_28) [concrete = constants.%tuple.8e3] -// CHECK:STDOUT: %.loc4_31.3: type = converted %.loc4_31.2, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] +// CHECK:STDOUT: %.loc4_31.2: %tuple.type.24b = tuple_literal (%i32.loc4_23, %i32.loc4_28) [concrete = constants.%tuple.79d] +// CHECK:STDOUT: %.loc4_31.3: type = converted %.loc4_31.2, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] // CHECK:STDOUT: } -// CHECK:STDOUT: %Pair.loc4_19.2: %tuple.type.87c = symbolic_binding Pair, 0 [symbolic = %Pair.loc4_19.1 (constants.%Pair)] +// CHECK:STDOUT: %Pair.loc4_19.2: %tuple.type.e5a = symbolic_binding Pair, 0 [symbolic = %Pair.loc4_19.1 (constants.%Pair)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %A.patt: %pattern_type.c6b = symbolic_binding_pattern A, 0 [concrete] -// CHECK:STDOUT: %B.patt: %pattern_type.c6b = symbolic_binding_pattern B, 1 [concrete] -// CHECK:STDOUT: %h.param_patt: @F.%pattern_type (%pattern_type.327) = value_param_pattern [concrete] -// CHECK:STDOUT: %h.patt: @F.%pattern_type (%pattern_type.327) = at_binding_pattern h, %h.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc6_54 [concrete] +// CHECK:STDOUT: %A.patt: %pattern_type.104 = symbolic_binding_pattern A, 0 [concrete] +// CHECK:STDOUT: %B.patt: %pattern_type.104 = symbolic_binding_pattern B, 1 [concrete] +// CHECK:STDOUT: %h.param_patt: @F.%pattern_type (%pattern_type.684) = value_param_pattern [concrete] +// CHECK:STDOUT: %h.patt: @F.%pattern_type (%pattern_type.684) = at_binding_pattern h, %h.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc6_54 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc6_54: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6_54: Core.Form = init_form %i32.loc6_54 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc6_54: Core.Form = init_form %i32.loc6_54 [concrete = constants.%.7ea] // CHECK:STDOUT: %.loc6_10: type = splice_block %i32.loc6_10 [concrete = constants.%i32] { // CHECK:STDOUT: %.Self.loc6_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32.loc6_10: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -370,60 +370,60 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: %i32.loc6_19: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } // CHECK:STDOUT: %B.loc6_16.2: %i32 = symbolic_binding B, 1 [symbolic = %B.loc6_16.1 (constants.%B)] -// CHECK:STDOUT: %h.param: @F.%HasPair.loc6_48.1 (%HasPair.d7f) = value_param call_param0 -// CHECK:STDOUT: %.loc6_48.1: type = splice_block %HasPair.loc6_48.2 [symbolic = %HasPair.loc6_48.1 (constants.%HasPair.d7f)] { +// CHECK:STDOUT: %h.param: @F.%HasPair.loc6_48.1 (%HasPair.fc9) = value_param call_param0 +// CHECK:STDOUT: %.loc6_48.1: type = splice_block %HasPair.loc6_48.2 [symbolic = %HasPair.loc6_48.1 (constants.%HasPair.fc9)] { // CHECK:STDOUT: %HasPair.ref: %HasPair.type = name_ref HasPair, file.%HasPair.decl [concrete = constants.%HasPair.generic] // CHECK:STDOUT: %A.ref: %i32 = name_ref A, %A.loc6_7.2 [symbolic = %A.loc6_7.1 (constants.%A)] // CHECK:STDOUT: %B.ref.loc6_46: %i32 = name_ref B, %B.loc6_16.2 [symbolic = %B.loc6_16.1 (constants.%B)] -// CHECK:STDOUT: %.loc6_47: %tuple.type.87c = tuple_literal (%A.ref, %B.ref.loc6_46) [symbolic = %tuple.loc6_47.1 (constants.%tuple.453)] -// CHECK:STDOUT: %tuple.loc6_47.2: %tuple.type.87c = tuple_value (%A.ref, %B.ref.loc6_46) [symbolic = %tuple.loc6_47.1 (constants.%tuple.453)] -// CHECK:STDOUT: %.loc6_48.2: %tuple.type.87c = converted %.loc6_47, %tuple.loc6_47.2 [symbolic = %tuple.loc6_47.1 (constants.%tuple.453)] -// CHECK:STDOUT: %HasPair.loc6_48.2: type = class_type @HasPair, @HasPair(constants.%tuple.453) [symbolic = %HasPair.loc6_48.1 (constants.%HasPair.d7f)] +// CHECK:STDOUT: %.loc6_47: %tuple.type.e5a = tuple_literal (%A.ref, %B.ref.loc6_46) [symbolic = %tuple.loc6_47.1 (constants.%tuple.20c)] +// CHECK:STDOUT: %tuple.loc6_47.2: %tuple.type.e5a = tuple_value (%A.ref, %B.ref.loc6_46) [symbolic = %tuple.loc6_47.1 (constants.%tuple.20c)] +// CHECK:STDOUT: %.loc6_48.2: %tuple.type.e5a = converted %.loc6_47, %tuple.loc6_47.2 [symbolic = %tuple.loc6_47.1 (constants.%tuple.20c)] +// CHECK:STDOUT: %HasPair.loc6_48.2: type = class_type @HasPair, @HasPair(constants.%tuple.20c) [symbolic = %HasPair.loc6_48.1 (constants.%HasPair.fc9)] // CHECK:STDOUT: } -// CHECK:STDOUT: %h: @F.%HasPair.loc6_48.1 (%HasPair.d7f) = value_binding h, %h.param +// CHECK:STDOUT: %h: @F.%HasPair.loc6_48.1 (%HasPair.fc9) = value_binding h, %h.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %h.param_patt: %pattern_type.7e6 = value_param_pattern [concrete] -// CHECK:STDOUT: %h.patt: %pattern_type.7e6 = at_binding_pattern h, %h.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %h.param_patt: %pattern_type.36d = value_param_pattern [concrete] +// CHECK:STDOUT: %h.patt: %pattern_type.36d = at_binding_pattern h, %h.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8_29: Core.Form = init_form %i32 [concrete = constants.%.70c] -// CHECK:STDOUT: %h.param: %HasPair.ff0 = value_param call_param0 -// CHECK:STDOUT: %.loc8_23.1: type = splice_block %HasPair [concrete = constants.%HasPair.ff0] { +// CHECK:STDOUT: %.loc8_29: Core.Form = init_form %i32 [concrete = constants.%.7ea] +// CHECK:STDOUT: %h.param: %HasPair.387 = value_param call_param0 +// CHECK:STDOUT: %.loc8_23.1: type = splice_block %HasPair [concrete = constants.%HasPair.387] { // CHECK:STDOUT: %HasPair.ref: %HasPair.type = name_ref HasPair, file.%HasPair.decl [concrete = constants.%HasPair.generic] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc8_22.1: %tuple.type.f94 = tuple_literal (%int_1, %int_2) [concrete = constants.%tuple.ad8] -// CHECK:STDOUT: %impl.elem0.loc8_22.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_22.1: = bound_method %int_1, %impl.elem0.loc8_22.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc8_22.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_22.1: = bound_method %int_1, %impl.elem0.loc8_22.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc8_22.1: = specific_function %impl.elem0.loc8_22.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_22.2: = bound_method %int_1, %specific_fn.loc8_22.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22.1: init %i32 = call %bound_method.loc8_22.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_22.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_22.3: %i32 = converted %int_1, %.loc8_22.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc8_22.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_22.3: = bound_method %int_2, %impl.elem0.loc8_22.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc8_22.2: = bound_method %int_1, %specific_fn.loc8_22.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22.1: init %i32 = call %bound_method.loc8_22.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_22.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_22.3: %i32 = converted %int_1, %.loc8_22.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc8_22.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_22.3: = bound_method %int_2, %impl.elem0.loc8_22.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc8_22.2: = specific_function %impl.elem0.loc8_22.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_22.4: = bound_method %int_2, %specific_fn.loc8_22.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22.2: init %i32 = call %bound_method.loc8_22.4(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_22.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22.2 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_22.5: %i32 = converted %int_2, %.loc8_22.4 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %tuple: %tuple.type.87c = tuple_value (%.loc8_22.3, %.loc8_22.5) [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %.loc8_23.2: %tuple.type.87c = converted %.loc8_22.1, %tuple [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %HasPair: type = class_type @HasPair, @HasPair(constants.%tuple.03f) [concrete = constants.%HasPair.ff0] +// CHECK:STDOUT: %bound_method.loc8_22.4: = bound_method %int_2, %specific_fn.loc8_22.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22.2: init %i32 = call %bound_method.loc8_22.4(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_22.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22.2 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_22.5: %i32 = converted %int_2, %.loc8_22.4 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %tuple: %tuple.type.e5a = tuple_value (%.loc8_22.3, %.loc8_22.5) [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %.loc8_23.2: %tuple.type.e5a = converted %.loc8_22.1, %tuple [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %HasPair: type = class_type @HasPair, @HasPair(constants.%tuple.cd5) [concrete = constants.%HasPair.387] // CHECK:STDOUT: } -// CHECK:STDOUT: %h: %HasPair.ff0 = value_binding h, %h.param +// CHECK:STDOUT: %h: %HasPair.387 = value_binding h, %h.param // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic class @HasPair(%Pair.loc4_19.2: %tuple.type.87c) { -// CHECK:STDOUT: %Pair.loc4_19.1: %tuple.type.87c = symbolic_binding Pair, 0 [symbolic = %Pair.loc4_19.1 (constants.%Pair)] +// CHECK:STDOUT: generic class @HasPair(%Pair.loc4_19.2: %tuple.type.e5a) { +// CHECK:STDOUT: %Pair.loc4_19.1: %tuple.type.e5a = symbolic_binding Pair, 0 [symbolic = %Pair.loc4_19.1 (constants.%Pair)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -432,39 +432,39 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%HasPair.b5b +// CHECK:STDOUT: .Self = constants.%HasPair.38e // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%A.loc6_7.2: %i32, %B.loc6_16.2: %i32) { // CHECK:STDOUT: %A.loc6_7.1: %i32 = symbolic_binding A, 0 [symbolic = %A.loc6_7.1 (constants.%A)] // CHECK:STDOUT: %B.loc6_16.1: %i32 = symbolic_binding B, 1 [symbolic = %B.loc6_16.1 (constants.%B)] -// CHECK:STDOUT: %tuple.loc6_47.1: %tuple.type.87c = tuple_value (%A.loc6_7.1, %B.loc6_16.1) [symbolic = %tuple.loc6_47.1 (constants.%tuple.453)] -// CHECK:STDOUT: %HasPair.loc6_48.1: type = class_type @HasPair, @HasPair(%tuple.loc6_47.1) [symbolic = %HasPair.loc6_48.1 (constants.%HasPair.d7f)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %HasPair.loc6_48.1 [symbolic = %pattern_type (constants.%pattern_type.327)] +// CHECK:STDOUT: %tuple.loc6_47.1: %tuple.type.e5a = tuple_value (%A.loc6_7.1, %B.loc6_16.1) [symbolic = %tuple.loc6_47.1 (constants.%tuple.20c)] +// CHECK:STDOUT: %HasPair.loc6_48.1: type = class_type @HasPair, @HasPair(%tuple.loc6_47.1) [symbolic = %HasPair.loc6_48.1 (constants.%HasPair.fc9)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %HasPair.loc6_48.1 [symbolic = %pattern_type (constants.%pattern_type.684)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %HasPair.loc6_48.1 [symbolic = %require_complete (constants.%require_complete.484)] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %B.loc6_16.1, constants.%Int.as.Copy.impl.Op.c4a [symbolic = %Int.as.Copy.impl.Op.bound (constants.%Int.as.Copy.impl.Op.bound.b67)] -// CHECK:STDOUT: %bound_method.loc6_67.3: = bound_method %B.loc6_16.1, constants.%Int.as.Copy.impl.Op.specific_fn [symbolic = %bound_method.loc6_67.3 (constants.%bound_method.b35)] +// CHECK:STDOUT: %require_complete: = require_complete_type %HasPair.loc6_48.1 [symbolic = %require_complete (constants.%require_complete.be4)] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %B.loc6_16.1, constants.%Int.as.Copy.impl.Op.ce7 [symbolic = %Int.as.Copy.impl.Op.bound (constants.%Int.as.Copy.impl.Op.bound.f26)] +// CHECK:STDOUT: %bound_method.loc6_67.3: = bound_method %B.loc6_16.1, constants.%Int.as.Copy.impl.Op.specific_fn [symbolic = %bound_method.loc6_67.3 (constants.%bound_method.b25)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%h.param: @F.%HasPair.loc6_48.1 (%HasPair.d7f)) -> out %return.param: %i32 { +// CHECK:STDOUT: fn(%h.param: @F.%HasPair.loc6_48.1 (%HasPair.fc9)) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %B.ref.loc6_67: %i32 = name_ref B, %B.loc6_16.2 [symbolic = %B.loc6_16.1 (constants.%B)] -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] -// CHECK:STDOUT: %bound_method.loc6_67.1: = bound_method %B.ref.loc6_67, %impl.elem0 [symbolic = %Int.as.Copy.impl.Op.bound (constants.%Int.as.Copy.impl.Op.bound.b67)] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] +// CHECK:STDOUT: %bound_method.loc6_67.1: = bound_method %B.ref.loc6_67, %impl.elem0 [symbolic = %Int.as.Copy.impl.Op.bound (constants.%Int.as.Copy.impl.Op.bound.f26)] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_67.2: = bound_method %B.ref.loc6_67, %specific_fn [symbolic = %bound_method.loc6_67.3 (constants.%bound_method.b35)] +// CHECK:STDOUT: %bound_method.loc6_67.2: = bound_method %B.ref.loc6_67, %specific_fn [symbolic = %bound_method.loc6_67.3 (constants.%bound_method.b25)] // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_67.2(%B.ref.loc6_67) [symbolic = %B.loc6_16.1 (constants.%B)] // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%h.param: %HasPair.ff0) -> out %return.param: %i32 { +// CHECK:STDOUT: fn @G(%h.param: %HasPair.387) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %h.ref: %HasPair.ff0 = name_ref h, %h -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%int_1.d5e, constants.%int_2.4ff) [concrete = constants.%F.specific_fn] +// CHECK:STDOUT: %h.ref: %HasPair.387 = name_ref h, %h +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%int_1.d9c, constants.%int_2.228) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%h.ref) // CHECK:STDOUT: return %F.call // CHECK:STDOUT: } @@ -473,8 +473,8 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: %Pair.loc4_19.1 => constants.%Pair // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasPair(constants.%tuple.453) { -// CHECK:STDOUT: %Pair.loc4_19.1 => constants.%tuple.453 +// CHECK:STDOUT: specific @HasPair(constants.%tuple.20c) { +// CHECK:STDOUT: %Pair.loc4_19.1 => constants.%tuple.20c // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -482,28 +482,28 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: specific @F(constants.%A, constants.%B) { // CHECK:STDOUT: %A.loc6_7.1 => constants.%A // CHECK:STDOUT: %B.loc6_16.1 => constants.%B -// CHECK:STDOUT: %tuple.loc6_47.1 => constants.%tuple.453 -// CHECK:STDOUT: %HasPair.loc6_48.1 => constants.%HasPair.d7f -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.327 +// CHECK:STDOUT: %tuple.loc6_47.1 => constants.%tuple.20c +// CHECK:STDOUT: %HasPair.loc6_48.1 => constants.%HasPair.fc9 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.684 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasPair(constants.%tuple.03f) { -// CHECK:STDOUT: %Pair.loc4_19.1 => constants.%tuple.03f +// CHECK:STDOUT: specific @HasPair(constants.%tuple.cd5) { +// CHECK:STDOUT: %Pair.loc4_19.1 => constants.%tuple.cd5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%int_1.d5e, constants.%int_2.4ff) { -// CHECK:STDOUT: %A.loc6_7.1 => constants.%int_1.d5e -// CHECK:STDOUT: %B.loc6_16.1 => constants.%int_2.4ff -// CHECK:STDOUT: %tuple.loc6_47.1 => constants.%tuple.03f -// CHECK:STDOUT: %HasPair.loc6_48.1 => constants.%HasPair.ff0 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.7e6 +// CHECK:STDOUT: specific @F(constants.%int_1.d9c, constants.%int_2.228) { +// CHECK:STDOUT: %A.loc6_7.1 => constants.%int_1.d9c +// CHECK:STDOUT: %B.loc6_16.1 => constants.%int_2.228 +// CHECK:STDOUT: %tuple.loc6_47.1 => constants.%tuple.cd5 +// CHECK:STDOUT: %HasPair.loc6_48.1 => constants.%HasPair.387 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.36d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.357 -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound => constants.%Int.as.Copy.impl.Op.bound.71c -// CHECK:STDOUT: %bound_method.loc6_67.3 => constants.%bound_method.605 +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound => constants.%Int.as.Copy.impl.Op.bound.a01 +// CHECK:STDOUT: %bound_method.loc6_67.3 => constants.%bound_method.190 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_inconsistent.carbon @@ -525,11 +525,11 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %tuple.c7c: %tuple.type.24b = tuple_value (%C, %D) [concrete] -// CHECK:STDOUT: %tuple.type.3d1: type = tuple_type (%C, %D) [concrete] -// CHECK:STDOUT: %pattern_type.980: type = pattern_type %tuple.type.3d1 [concrete] -// CHECK:STDOUT: %.a23: Core.Form = init_form %D [concrete] -// CHECK:STDOUT: %pattern_type.861: type = pattern_type %D [concrete] +// CHECK:STDOUT: %tuple.ac7: %tuple.type.24b = tuple_value (%C, %D) [concrete] +// CHECK:STDOUT: %tuple.type.a6a: type = tuple_type (%C, %D) [concrete] +// CHECK:STDOUT: %pattern_type.ce9: type = pattern_type %tuple.type.a6a [concrete] +// CHECK:STDOUT: %.f19: Core.Form = init_form %D [concrete] +// CHECK:STDOUT: %pattern_type.f1a: type = pattern_type %D [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -578,21 +578,21 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: %return: ref @F.%T.loc7_7.1 (%T) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %pair.param_patt: %pattern_type.980 = value_param_pattern [concrete] -// CHECK:STDOUT: %pair.patt: %pattern_type.980 = at_binding_pattern pair, %pair.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.861 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.861 = return_slot_pattern %return.param_patt, %D.ref.loc9_23 [concrete] +// CHECK:STDOUT: %pair.param_patt: %pattern_type.ce9 = value_param_pattern [concrete] +// CHECK:STDOUT: %pair.patt: %pattern_type.ce9 = at_binding_pattern pair, %pair.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.f1a = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.f1a = return_slot_pattern %return.param_patt, %D.ref.loc9_23 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref.loc9_23: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc9_23: Core.Form = init_form %D.ref.loc9_23 [concrete = constants.%.a23] -// CHECK:STDOUT: %pair.param: %tuple.type.3d1 = value_param call_param0 -// CHECK:STDOUT: %.loc9_17.1: type = splice_block %.loc9_17.3 [concrete = constants.%tuple.type.3d1] { +// CHECK:STDOUT: %.loc9_23: Core.Form = init_form %D.ref.loc9_23 [concrete = constants.%.f19] +// CHECK:STDOUT: %pair.param: %tuple.type.a6a = value_param call_param0 +// CHECK:STDOUT: %.loc9_17.1: type = splice_block %.loc9_17.3 [concrete = constants.%tuple.type.a6a] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %D.ref.loc9_16: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc9_17.2: %tuple.type.24b = tuple_literal (%C.ref, %D.ref.loc9_16) [concrete = constants.%tuple.c7c] -// CHECK:STDOUT: %.loc9_17.3: type = converted %.loc9_17.2, constants.%tuple.type.3d1 [concrete = constants.%tuple.type.3d1] +// CHECK:STDOUT: %.loc9_17.2: %tuple.type.24b = tuple_literal (%C.ref, %D.ref.loc9_16) [concrete = constants.%tuple.ac7] +// CHECK:STDOUT: %.loc9_17.3: type = converted %.loc9_17.2, constants.%tuple.type.a6a [concrete = constants.%tuple.type.a6a] // CHECK:STDOUT: } -// CHECK:STDOUT: %pair: %tuple.type.3d1 = value_binding pair, %pair.param +// CHECK:STDOUT: %pair: %tuple.type.a6a = value_binding pair, %pair.param // CHECK:STDOUT: %return.param: ref %D = out_param call_param1 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } @@ -625,10 +625,10 @@ fn G(pair: (C, D)) -> D { // CHECK:STDOUT: fn(%pair.param: @F.%tuple.type (%tuple.type.07a)) -> out %return.param: @F.%T.loc7_7.1 (%T); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%pair.param: %tuple.type.3d1) -> out %return.param: %D { +// CHECK:STDOUT: fn @G(%pair.param: %tuple.type.a6a) -> out %return.param: %D { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %pair.ref: %tuple.type.3d1 = name_ref pair, %pair +// CHECK:STDOUT: %pair.ref: %tuple.type.a6a = name_ref pair, %pair // CHECK:STDOUT: return to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/deduce/type_operator.carbon b/toolchain/check/testdata/deduce/type_operator.carbon index c2ccdd9510b0..8bd35b9411c1 100644 --- a/toolchain/check/testdata/deduce/type_operator.carbon +++ b/toolchain/check/testdata/deduce/type_operator.carbon @@ -85,15 +85,15 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %F.specific_fn.1b6: = specific_function %F, @F(%T) [symbolic] -// CHECK:STDOUT: %ptr.f2f: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.d9b: type = pattern_type %ptr.f2f [concrete] -// CHECK:STDOUT: %.2d5: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.bd2: type = pattern_type %C [concrete] +// CHECK:STDOUT: %F.specific_fn.d7f: = specific_function %F, @F(%T) [symbolic] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn.ab1: = specific_function %F, @F(%C) [concrete] -// CHECK:STDOUT: %complete_type.d74: = complete_type_witness %ptr.f2f [concrete] +// CHECK:STDOUT: %F.specific_fn.076: = specific_function %F, @F(%C) [concrete] +// CHECK:STDOUT: %complete_type.739: = complete_type_witness %ptr.6be [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -136,19 +136,19 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %return: ref @F.%T.loc6_7.1 (%T) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.d9b = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.d9b = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.bd2 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.bd2 = return_slot_pattern %return.param_patt, %C.ref.loc8_16 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.1c8 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.1c8 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref.loc8_16 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc8_16: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc8_16.2: Core.Form = init_form %C.ref.loc8_16 [concrete = constants.%.2d5] -// CHECK:STDOUT: %p.param: %ptr.f2f = value_param call_param0 -// CHECK:STDOUT: %.loc8_10: type = splice_block %ptr [concrete = constants.%ptr.f2f] { +// CHECK:STDOUT: %.loc8_16.2: Core.Form = init_form %C.ref.loc8_16 [concrete = constants.%.8f0] +// CHECK:STDOUT: %p.param: %ptr.6be = value_param call_param0 +// CHECK:STDOUT: %.loc8_10: type = splice_block %ptr [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %C.ref.loc8_9: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr: type = ptr_type %C.ref.loc8_9 [concrete = constants.%ptr.f2f] +// CHECK:STDOUT: %ptr: type = ptr_type %C.ref.loc8_9 [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.f2f = value_binding p, %p.param +// CHECK:STDOUT: %p: %ptr.6be = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref %C = out_param call_param1 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } @@ -172,24 +172,24 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc6_17: = require_complete_type %ptr.loc6_20.1 [symbolic = %require_complete.loc6_17 (constants.%require_complete.ef1)] // CHECK:STDOUT: %require_complete.loc6_23: = require_complete_type %T.loc6_7.1 [symbolic = %require_complete.loc6_23 (constants.%require_complete.944)] -// CHECK:STDOUT: %F.specific_fn.loc6_37.2: = specific_function constants.%F, @F(%T.loc6_7.1) [symbolic = %F.specific_fn.loc6_37.2 (constants.%F.specific_fn.1b6)] +// CHECK:STDOUT: %F.specific_fn.loc6_37.2: = specific_function constants.%F, @F(%T.loc6_7.1) [symbolic = %F.specific_fn.loc6_37.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%p.param: @F.%ptr.loc6_20.1 (%ptr.e8f)) -> out %return.param: @F.%T.loc6_7.1 (%T) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %p.ref: @F.%ptr.loc6_20.1 (%ptr.e8f) = name_ref p, %p -// CHECK:STDOUT: %F.specific_fn.loc6_37.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc6_37.2 (constants.%F.specific_fn.1b6)] +// CHECK:STDOUT: %F.specific_fn.loc6_37.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc6_37.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: %.loc6_26.1: ref @F.%T.loc6_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc6_7.1 (%T) to %.loc6_26.1 = call %F.specific_fn.loc6_37.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %ptr.f2f) -> out %return.param: %C { +// CHECK:STDOUT: fn @G(%p.param: %ptr.6be) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %p.ref: %ptr.f2f = name_ref p, %p -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.ab1] +// CHECK:STDOUT: %p.ref: %ptr.6be = name_ref p, %p +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.076] // CHECK:STDOUT: %.loc8_16.1: ref %C = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %C to %.loc8_16.1 = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return %F.call to %return.param @@ -205,20 +205,20 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc6_17 => constants.%require_complete.ef1 // CHECK:STDOUT: %require_complete.loc6_23 => constants.%require_complete.944 -// CHECK:STDOUT: %F.specific_fn.loc6_37.2 => constants.%F.specific_fn.1b6 +// CHECK:STDOUT: %F.specific_fn.loc6_37.2 => constants.%F.specific_fn.d7f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%C) { // CHECK:STDOUT: %T.loc6_7.1 => constants.%C -// CHECK:STDOUT: %ptr.loc6_20.1 => constants.%ptr.f2f -// CHECK:STDOUT: %pattern_type.loc6_17 => constants.%pattern_type.d9b -// CHECK:STDOUT: %.loc6_26.2 => constants.%.2d5 -// CHECK:STDOUT: %pattern_type.loc6_26 => constants.%pattern_type.bd2 +// CHECK:STDOUT: %ptr.loc6_20.1 => constants.%ptr.6be +// CHECK:STDOUT: %pattern_type.loc6_17 => constants.%pattern_type.1c8 +// CHECK:STDOUT: %.loc6_26.2 => constants.%.8f0 +// CHECK:STDOUT: %pattern_type.loc6_26 => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc6_17 => constants.%complete_type.d74 +// CHECK:STDOUT: %require_complete.loc6_17 => constants.%complete_type.739 // CHECK:STDOUT: %require_complete.loc6_23 => constants.%complete_type.357 -// CHECK:STDOUT: %F.specific_fn.loc6_37.2 => constants.%F.specific_fn.ab1 +// CHECK:STDOUT: %F.specific_fn.loc6_37.2 => constants.%F.specific_fn.076 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- const.carbon @@ -240,16 +240,16 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.0c1: = require_complete_type %ptr.a15 [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %F.specific_fn.ded: = specific_function %F, @F(%T) [symbolic] -// CHECK:STDOUT: %const.763: type = const_type %C [concrete] -// CHECK:STDOUT: %ptr.10b: type = ptr_type %const.763 [concrete] -// CHECK:STDOUT: %pattern_type.bd2: type = pattern_type %ptr.10b [concrete] -// CHECK:STDOUT: %.3a9: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.e52: type = pattern_type %C [concrete] +// CHECK:STDOUT: %F.specific_fn.d7f: = specific_function %F, @F(%T) [symbolic] +// CHECK:STDOUT: %const.a89: type = const_type %C [concrete] +// CHECK:STDOUT: %ptr.089: type = ptr_type %const.a89 [concrete] +// CHECK:STDOUT: %pattern_type.805: type = pattern_type %ptr.089 [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn.f37: = specific_function %F, @F(%C) [concrete] -// CHECK:STDOUT: %complete_type.d4b: = complete_type_witness %ptr.10b [concrete] +// CHECK:STDOUT: %F.specific_fn.076: = specific_function %F, @F(%C) [concrete] +// CHECK:STDOUT: %complete_type.1b9: = complete_type_witness %ptr.089 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -293,20 +293,20 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %return: ref @F.%T.loc6_7.1 (%T) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.bd2 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.bd2 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.e52 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.e52 = return_slot_pattern %return.param_patt, %C.ref.loc8_22 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.805 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.805 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref.loc8_22 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc8_22: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc8_22.2: Core.Form = init_form %C.ref.loc8_22 [concrete = constants.%.3a9] -// CHECK:STDOUT: %p.param: %ptr.10b = value_param call_param0 -// CHECK:STDOUT: %.loc8_16: type = splice_block %ptr [concrete = constants.%ptr.10b] { +// CHECK:STDOUT: %.loc8_22.2: Core.Form = init_form %C.ref.loc8_22 [concrete = constants.%.8f0] +// CHECK:STDOUT: %p.param: %ptr.089 = value_param call_param0 +// CHECK:STDOUT: %.loc8_16: type = splice_block %ptr [concrete = constants.%ptr.089] { // CHECK:STDOUT: %C.ref.loc8_15: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %const: type = const_type %C.ref.loc8_15 [concrete = constants.%const.763] -// CHECK:STDOUT: %ptr: type = ptr_type %const [concrete = constants.%ptr.10b] +// CHECK:STDOUT: %const: type = const_type %C.ref.loc8_15 [concrete = constants.%const.a89] +// CHECK:STDOUT: %ptr: type = ptr_type %const [concrete = constants.%ptr.089] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.10b = value_binding p, %p.param +// CHECK:STDOUT: %p: %ptr.089 = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref %C = out_param call_param1 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } @@ -331,24 +331,24 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc6_17: = require_complete_type %ptr.loc6_26.1 [symbolic = %require_complete.loc6_17 (constants.%require_complete.0c1)] // CHECK:STDOUT: %require_complete.loc6_29: = require_complete_type %T.loc6_7.1 [symbolic = %require_complete.loc6_29 (constants.%require_complete.944)] -// CHECK:STDOUT: %F.specific_fn.loc6_43.2: = specific_function constants.%F, @F(%T.loc6_7.1) [symbolic = %F.specific_fn.loc6_43.2 (constants.%F.specific_fn.ded)] +// CHECK:STDOUT: %F.specific_fn.loc6_43.2: = specific_function constants.%F, @F(%T.loc6_7.1) [symbolic = %F.specific_fn.loc6_43.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%p.param: @F.%ptr.loc6_26.1 (%ptr.a15)) -> out %return.param: @F.%T.loc6_7.1 (%T) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %p.ref: @F.%ptr.loc6_26.1 (%ptr.a15) = name_ref p, %p -// CHECK:STDOUT: %F.specific_fn.loc6_43.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc6_43.2 (constants.%F.specific_fn.ded)] +// CHECK:STDOUT: %F.specific_fn.loc6_43.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc6_43.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: %.loc6_32.1: ref @F.%T.loc6_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc6_7.1 (%T) to %.loc6_32.1 = call %F.specific_fn.loc6_43.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %ptr.10b) -> out %return.param: %C { +// CHECK:STDOUT: fn @G(%p.param: %ptr.089) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %p.ref: %ptr.10b = name_ref p, %p -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.f37] +// CHECK:STDOUT: %p.ref: %ptr.089 = name_ref p, %p +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.076] // CHECK:STDOUT: %.loc8_22.1: ref %C = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %C to %.loc8_22.1 = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return %F.call to %return.param @@ -365,21 +365,21 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc6_17 => constants.%require_complete.0c1 // CHECK:STDOUT: %require_complete.loc6_29 => constants.%require_complete.944 -// CHECK:STDOUT: %F.specific_fn.loc6_43.2 => constants.%F.specific_fn.ded +// CHECK:STDOUT: %F.specific_fn.loc6_43.2 => constants.%F.specific_fn.d7f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%C) { // CHECK:STDOUT: %T.loc6_7.1 => constants.%C -// CHECK:STDOUT: %const.loc6_19.1 => constants.%const.763 -// CHECK:STDOUT: %ptr.loc6_26.1 => constants.%ptr.10b -// CHECK:STDOUT: %pattern_type.loc6_17 => constants.%pattern_type.bd2 -// CHECK:STDOUT: %.loc6_32.2 => constants.%.3a9 -// CHECK:STDOUT: %pattern_type.loc6_32 => constants.%pattern_type.e52 +// CHECK:STDOUT: %const.loc6_19.1 => constants.%const.a89 +// CHECK:STDOUT: %ptr.loc6_26.1 => constants.%ptr.089 +// CHECK:STDOUT: %pattern_type.loc6_17 => constants.%pattern_type.805 +// CHECK:STDOUT: %.loc6_32.2 => constants.%.8f0 +// CHECK:STDOUT: %pattern_type.loc6_32 => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc6_17 => constants.%complete_type.d4b +// CHECK:STDOUT: %require_complete.loc6_17 => constants.%complete_type.1b9 // CHECK:STDOUT: %require_complete.loc6_29 => constants.%complete_type.357 -// CHECK:STDOUT: %F.specific_fn.loc6_43.2 => constants.%F.specific_fn.f37 +// CHECK:STDOUT: %F.specific_fn.loc6_43.2 => constants.%F.specific_fn.076 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- nonconst_from_const.carbon @@ -400,16 +400,16 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %F.specific_fn.5d4: = specific_function %F, @F(%T) [symbolic] +// CHECK:STDOUT: %F.specific_fn.d7f: = specific_function %F, @F(%T) [symbolic] // CHECK:STDOUT: %const: type = const_type %C [concrete] -// CHECK:STDOUT: %ptr.2e1: type = ptr_type %const [concrete] -// CHECK:STDOUT: %pattern_type.6ae: type = pattern_type %ptr.2e1 [concrete] -// CHECK:STDOUT: %.fe6: Core.Form = init_form %const [concrete] -// CHECK:STDOUT: %pattern_type.cb8: type = pattern_type %const [concrete] +// CHECK:STDOUT: %ptr.089: type = ptr_type %const [concrete] +// CHECK:STDOUT: %pattern_type.805: type = pattern_type %ptr.089 [concrete] +// CHECK:STDOUT: %.932: Core.Form = init_form %const [concrete] +// CHECK:STDOUT: %pattern_type.d58: type = pattern_type %const [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn.461: = specific_function %F, @F(%const) [concrete] -// CHECK:STDOUT: %complete_type.98c: = complete_type_witness %ptr.2e1 [concrete] +// CHECK:STDOUT: %F.specific_fn.257: = specific_function %F, @F(%const) [concrete] +// CHECK:STDOUT: %complete_type.1b9: = complete_type_witness %ptr.089 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -452,21 +452,21 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %return: ref @F.%T.loc6_7.1 (%T) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.6ae = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.6ae = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.cb8 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.cb8 = return_slot_pattern %return.param_patt, %const.loc8_22 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.805 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.805 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.d58 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.d58 = return_slot_pattern %return.param_patt, %const.loc8_22 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc8_28: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %const.loc8_22: type = const_type %C.ref.loc8_28 [concrete = constants.%const] -// CHECK:STDOUT: %.loc8_22.2: Core.Form = init_form %const.loc8_22 [concrete = constants.%.fe6] -// CHECK:STDOUT: %p.param: %ptr.2e1 = value_param call_param0 -// CHECK:STDOUT: %.loc8_16: type = splice_block %ptr [concrete = constants.%ptr.2e1] { +// CHECK:STDOUT: %.loc8_22.2: Core.Form = init_form %const.loc8_22 [concrete = constants.%.932] +// CHECK:STDOUT: %p.param: %ptr.089 = value_param call_param0 +// CHECK:STDOUT: %.loc8_16: type = splice_block %ptr [concrete = constants.%ptr.089] { // CHECK:STDOUT: %C.ref.loc8_15: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %const.loc8_9: type = const_type %C.ref.loc8_15 [concrete = constants.%const] -// CHECK:STDOUT: %ptr: type = ptr_type %const.loc8_9 [concrete = constants.%ptr.2e1] +// CHECK:STDOUT: %ptr: type = ptr_type %const.loc8_9 [concrete = constants.%ptr.089] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.2e1 = value_binding p, %p.param +// CHECK:STDOUT: %p: %ptr.089 = value_binding p, %p.param // CHECK:STDOUT: %return.param: ref %const = out_param call_param1 // CHECK:STDOUT: %return: ref %const = return_slot %return.param // CHECK:STDOUT: } @@ -490,24 +490,24 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc6_17: = require_complete_type %ptr.loc6_20.1 [symbolic = %require_complete.loc6_17 (constants.%require_complete.ef1)] // CHECK:STDOUT: %require_complete.loc6_23: = require_complete_type %T.loc6_7.1 [symbolic = %require_complete.loc6_23 (constants.%require_complete.944)] -// CHECK:STDOUT: %F.specific_fn.loc6_37.2: = specific_function constants.%F, @F(%T.loc6_7.1) [symbolic = %F.specific_fn.loc6_37.2 (constants.%F.specific_fn.5d4)] +// CHECK:STDOUT: %F.specific_fn.loc6_37.2: = specific_function constants.%F, @F(%T.loc6_7.1) [symbolic = %F.specific_fn.loc6_37.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%p.param: @F.%ptr.loc6_20.1 (%ptr.e8f)) -> out %return.param: @F.%T.loc6_7.1 (%T) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %p.ref: @F.%ptr.loc6_20.1 (%ptr.e8f) = name_ref p, %p -// CHECK:STDOUT: %F.specific_fn.loc6_37.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc6_37.2 (constants.%F.specific_fn.5d4)] +// CHECK:STDOUT: %F.specific_fn.loc6_37.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc6_37.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: %.loc6_26.1: ref @F.%T.loc6_7.1 (%T) = splice_block %return.param {} // CHECK:STDOUT: %F.call: init @F.%T.loc6_7.1 (%T) to %.loc6_26.1 = call %F.specific_fn.loc6_37.1(%p.ref) // CHECK:STDOUT: return %F.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %ptr.2e1) -> out %return.param: %const { +// CHECK:STDOUT: fn @G(%p.param: %ptr.089) -> out %return.param: %const { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %p.ref: %ptr.2e1 = name_ref p, %p -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%const) [concrete = constants.%F.specific_fn.461] +// CHECK:STDOUT: %p.ref: %ptr.089 = name_ref p, %p +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%const) [concrete = constants.%F.specific_fn.257] // CHECK:STDOUT: %.loc8_22.1: ref %const = splice_block %return.param {} // CHECK:STDOUT: %F.call: init %const to %.loc8_22.1 = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return %F.call to %return.param @@ -523,20 +523,20 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc6_17 => constants.%require_complete.ef1 // CHECK:STDOUT: %require_complete.loc6_23 => constants.%require_complete.944 -// CHECK:STDOUT: %F.specific_fn.loc6_37.2 => constants.%F.specific_fn.5d4 +// CHECK:STDOUT: %F.specific_fn.loc6_37.2 => constants.%F.specific_fn.d7f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%const) { // CHECK:STDOUT: %T.loc6_7.1 => constants.%const -// CHECK:STDOUT: %ptr.loc6_20.1 => constants.%ptr.2e1 -// CHECK:STDOUT: %pattern_type.loc6_17 => constants.%pattern_type.6ae -// CHECK:STDOUT: %.loc6_26.2 => constants.%.fe6 -// CHECK:STDOUT: %pattern_type.loc6_26 => constants.%pattern_type.cb8 +// CHECK:STDOUT: %ptr.loc6_20.1 => constants.%ptr.089 +// CHECK:STDOUT: %pattern_type.loc6_17 => constants.%pattern_type.805 +// CHECK:STDOUT: %.loc6_26.2 => constants.%.932 +// CHECK:STDOUT: %pattern_type.loc6_26 => constants.%pattern_type.d58 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc6_17 => constants.%complete_type.98c +// CHECK:STDOUT: %require_complete.loc6_17 => constants.%complete_type.1b9 // CHECK:STDOUT: %require_complete.loc6_23 => constants.%complete_type.357 -// CHECK:STDOUT: %F.specific_fn.loc6_37.2 => constants.%F.specific_fn.461 +// CHECK:STDOUT: %F.specific_fn.loc6_37.2 => constants.%F.specific_fn.257 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_const_from_nonconst.carbon @@ -559,11 +559,11 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %require_complete.0c1: = require_complete_type %ptr.a15 [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%T) [symbolic] -// CHECK:STDOUT: %ptr.52e: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.137: type = pattern_type %ptr.52e [concrete] -// CHECK:STDOUT: %const.b0d: type = const_type %C [concrete] -// CHECK:STDOUT: %.7da: Core.Form = init_form %const.b0d [concrete] -// CHECK:STDOUT: %pattern_type.5e1: type = pattern_type %const.b0d [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %const.a89: type = const_type %C [concrete] +// CHECK:STDOUT: %.932: Core.Form = init_form %const.a89 [concrete] +// CHECK:STDOUT: %pattern_type.d58: type = pattern_type %const.a89 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -609,22 +609,22 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: %return: ref @F.%T.loc6_7.1 (%T) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.137 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.137 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.5e1 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.5e1 = return_slot_pattern %return.param_patt, %const [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.1c8 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.1c8 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.d58 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.d58 = return_slot_pattern %return.param_patt, %const [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc8_22: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %const: type = const_type %C.ref.loc8_22 [concrete = constants.%const.b0d] -// CHECK:STDOUT: %.loc8_16: Core.Form = init_form %const [concrete = constants.%.7da] -// CHECK:STDOUT: %p.param: %ptr.52e = value_param call_param0 -// CHECK:STDOUT: %.loc8_10: type = splice_block %ptr [concrete = constants.%ptr.52e] { +// CHECK:STDOUT: %const: type = const_type %C.ref.loc8_22 [concrete = constants.%const.a89] +// CHECK:STDOUT: %.loc8_16: Core.Form = init_form %const [concrete = constants.%.932] +// CHECK:STDOUT: %p.param: %ptr.6be = value_param call_param0 +// CHECK:STDOUT: %.loc8_10: type = splice_block %ptr [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %C.ref.loc8_9: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr: type = ptr_type %C.ref.loc8_9 [concrete = constants.%ptr.52e] +// CHECK:STDOUT: %ptr: type = ptr_type %C.ref.loc8_9 [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.52e = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %const.b0d = out_param call_param1 -// CHECK:STDOUT: %return: ref %const.b0d = return_slot %return.param +// CHECK:STDOUT: %p: %ptr.6be = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %const.a89 = out_param call_param1 +// CHECK:STDOUT: %return: ref %const.a89 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -660,10 +660,10 @@ fn G(p: C*) -> const C { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %ptr.52e) -> out %return.param: %const.b0d { +// CHECK:STDOUT: fn @G(%p.param: %ptr.6be) -> out %return.param: %const.a89 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %p.ref: %ptr.52e = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.6be = name_ref p, %p // CHECK:STDOUT: return to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/deduce/value_with_type_through_access.carbon b/toolchain/check/testdata/deduce/value_with_type_through_access.carbon index 1eadb25540a5..433a19382511 100644 --- a/toolchain/check/testdata/deduce/value_with_type_through_access.carbon +++ b/toolchain/check/testdata/deduce/value_with_type_through_access.carbon @@ -110,37 +110,37 @@ fn G() { // CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [concrete] -// CHECK:STDOUT: %HoldsType.b25: type = class_type @HoldsType, @HoldsType(%T) [symbolic] +// CHECK:STDOUT: %HoldsType.c9c: type = class_type @HoldsType, @HoldsType(%T) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.1d5: type = pattern_type %HoldsType.b25 [symbolic] +// CHECK:STDOUT: %pattern_type.ad8: type = pattern_type %HoldsType.c9c [symbolic] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %tuple.elem0: type = tuple_access %T, element0 [symbolic] // CHECK:STDOUT: %pattern_type.e66: type = pattern_type %tuple.elem0 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.071: = require_complete_type %HoldsType.b25 [symbolic] +// CHECK:STDOUT: %require_complete.b66: = require_complete_type %HoldsType.c9c [symbolic] // CHECK:STDOUT: %require_complete.e7a: = require_complete_type %tuple.elem0 [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %tuple.1e5: %tuple.type = tuple_value (%C) [concrete] -// CHECK:STDOUT: %HoldsType.f41: type = class_type @HoldsType, @HoldsType(%tuple.1e5) [concrete] -// CHECK:STDOUT: %HoldsType.val: %HoldsType.f41 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.19e: type = pattern_type %HoldsType.f41 [concrete] -// CHECK:STDOUT: %pattern_type.90b: type = pattern_type %C [concrete] -// CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%tuple.1e5) [concrete] -// CHECK:STDOUT: %.fce: ref %HoldsType.f41 = temporary invalid, %HoldsType.val [concrete] +// CHECK:STDOUT: %tuple.983: %tuple.type = tuple_value (%C) [concrete] +// CHECK:STDOUT: %HoldsType.0e6: type = class_type @HoldsType, @HoldsType(%tuple.983) [concrete] +// CHECK:STDOUT: %HoldsType.val: %HoldsType.0e6 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.ca7: type = pattern_type %HoldsType.0e6 [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%tuple.983) [concrete] +// CHECK:STDOUT: %.6ea: ref %HoldsType.0e6 = temporary invalid, %HoldsType.val [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %.521: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %.7a6: ref %C = temporary invalid, %C.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc13_30.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.65d: = bound_method %.521, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc13_8 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.70b: = bound_method %.fce, %Destroy.Op.1dc86d.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc13_30.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.219: = bound_method %.7a6, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc13_8 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.e3d: = bound_method %.6ea, %Destroy.Op.2dd605.3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -174,8 +174,8 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %T.patt: %pattern_type.f1e = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @F.%pattern_type.loc8_28 (%pattern_type.1d5) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @F.%pattern_type.loc8_28 (%pattern_type.1d5) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: @F.%pattern_type.loc8_28 (%pattern_type.ad8) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @F.%pattern_type.loc8_28 (%pattern_type.ad8) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: %a.param_patt: @F.%pattern_type.loc8_52 (%pattern_type.e66) = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: @F.%pattern_type.loc8_52 (%pattern_type.e66) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { @@ -186,13 +186,13 @@ fn G() { // CHECK:STDOUT: %.loc8_17.3: type = converted %.loc8_17.2, constants.%tuple.type [concrete = constants.%tuple.type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc8_7.2: %tuple.type = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T)] -// CHECK:STDOUT: %x.param: @F.%HoldsType.loc8_41.1 (%HoldsType.b25) = value_param call_param0 -// CHECK:STDOUT: %.loc8_41: type = splice_block %HoldsType.loc8_41.2 [symbolic = %HoldsType.loc8_41.1 (constants.%HoldsType.b25)] { +// CHECK:STDOUT: %x.param: @F.%HoldsType.loc8_41.1 (%HoldsType.c9c) = value_param call_param0 +// CHECK:STDOUT: %.loc8_41: type = splice_block %HoldsType.loc8_41.2 [symbolic = %HoldsType.loc8_41.1 (constants.%HoldsType.c9c)] { // CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic] // CHECK:STDOUT: %T.ref.loc8_40: %tuple.type = name_ref T, %T.loc8_7.2 [symbolic = %T.loc8_7.1 (constants.%T)] -// CHECK:STDOUT: %HoldsType.loc8_41.2: type = class_type @HoldsType, @HoldsType(constants.%T) [symbolic = %HoldsType.loc8_41.1 (constants.%HoldsType.b25)] +// CHECK:STDOUT: %HoldsType.loc8_41.2: type = class_type @HoldsType, @HoldsType(constants.%T) [symbolic = %HoldsType.loc8_41.1 (constants.%HoldsType.c9c)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @F.%HoldsType.loc8_41.1 (%HoldsType.b25) = value_binding x, %x.param +// CHECK:STDOUT: %x: @F.%HoldsType.loc8_41.1 (%HoldsType.c9c) = value_binding x, %x.param // CHECK:STDOUT: %a.param: @F.%tuple.elem0.loc8_55.1 (%tuple.elem0) = value_param call_param1 // CHECK:STDOUT: %.loc8_55: type = splice_block %tuple.elem0.loc8_55.2 [symbolic = %tuple.elem0.loc8_55.1 (constants.%tuple.elem0)] { // CHECK:STDOUT: %T.ref.loc8_54: %tuple.type = name_ref T, %T.loc8_7.2 [symbolic = %T.loc8_7.1 (constants.%T)] @@ -215,7 +215,7 @@ fn G() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%HoldsType.b25 +// CHECK:STDOUT: .Self = constants.%HoldsType.c9c // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -229,16 +229,16 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc8_7.2: %tuple.type) { // CHECK:STDOUT: %T.loc8_7.1: %tuple.type = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T)] -// CHECK:STDOUT: %HoldsType.loc8_41.1: type = class_type @HoldsType, @HoldsType(%T.loc8_7.1) [symbolic = %HoldsType.loc8_41.1 (constants.%HoldsType.b25)] -// CHECK:STDOUT: %pattern_type.loc8_28: type = pattern_type %HoldsType.loc8_41.1 [symbolic = %pattern_type.loc8_28 (constants.%pattern_type.1d5)] +// CHECK:STDOUT: %HoldsType.loc8_41.1: type = class_type @HoldsType, @HoldsType(%T.loc8_7.1) [symbolic = %HoldsType.loc8_41.1 (constants.%HoldsType.c9c)] +// CHECK:STDOUT: %pattern_type.loc8_28: type = pattern_type %HoldsType.loc8_41.1 [symbolic = %pattern_type.loc8_28 (constants.%pattern_type.ad8)] // CHECK:STDOUT: %tuple.elem0.loc8_55.1: type = tuple_access %T.loc8_7.1, element0 [symbolic = %tuple.elem0.loc8_55.1 (constants.%tuple.elem0)] // CHECK:STDOUT: %pattern_type.loc8_52: type = pattern_type %tuple.elem0.loc8_55.1 [symbolic = %pattern_type.loc8_52 (constants.%pattern_type.e66)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc8_28: = require_complete_type %HoldsType.loc8_41.1 [symbolic = %require_complete.loc8_28 (constants.%require_complete.071)] +// CHECK:STDOUT: %require_complete.loc8_28: = require_complete_type %HoldsType.loc8_41.1 [symbolic = %require_complete.loc8_28 (constants.%require_complete.b66)] // CHECK:STDOUT: %require_complete.loc8_52: = require_complete_type %tuple.elem0.loc8_55.1 [symbolic = %require_complete.loc8_52 (constants.%require_complete.e7a)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc8_41.1 (%HoldsType.b25), %a.param: @F.%tuple.elem0.loc8_55.1 (%tuple.elem0)) { +// CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc8_41.1 (%HoldsType.c9c), %a.param: @F.%tuple.elem0.loc8_55.1 (%tuple.elem0)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -250,25 +250,25 @@ fn G() { // CHECK:STDOUT: %.loc13_6.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc13_25: %tuple.type = tuple_literal (%C.ref) [concrete = constants.%tuple.1e5] -// CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%C.ref) [concrete = constants.%tuple.1e5] -// CHECK:STDOUT: %.loc13_26: %tuple.type = converted %.loc13_25, %tuple [concrete = constants.%tuple.1e5] -// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%tuple.1e5) [concrete = constants.%HoldsType.f41] -// CHECK:STDOUT: %.loc13_6.2: ref %HoldsType.f41 = temporary_storage -// CHECK:STDOUT: %.loc13_6.3: init %HoldsType.f41 to %.loc13_6.2 = class_init () [concrete = constants.%HoldsType.val] -// CHECK:STDOUT: %.loc13_8.1: init %HoldsType.f41 = converted %.loc13_6.1, %.loc13_6.3 [concrete = constants.%HoldsType.val] +// CHECK:STDOUT: %.loc13_25: %tuple.type = tuple_literal (%C.ref) [concrete = constants.%tuple.983] +// CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%C.ref) [concrete = constants.%tuple.983] +// CHECK:STDOUT: %.loc13_26: %tuple.type = converted %.loc13_25, %tuple [concrete = constants.%tuple.983] +// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%tuple.983) [concrete = constants.%HoldsType.0e6] +// CHECK:STDOUT: %.loc13_6.2: ref %HoldsType.0e6 = temporary_storage +// CHECK:STDOUT: %.loc13_6.3: init %HoldsType.0e6 to %.loc13_6.2 = class_init () [concrete = constants.%HoldsType.val] +// CHECK:STDOUT: %.loc13_8.1: init %HoldsType.0e6 = converted %.loc13_6.1, %.loc13_6.3 [concrete = constants.%HoldsType.val] // CHECK:STDOUT: %.loc13_30.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%tuple.1e5) [concrete = constants.%F.specific_fn] -// CHECK:STDOUT: %.loc13_8.2: ref %HoldsType.f41 = temporary %.loc13_6.2, %.loc13_8.1 [concrete = constants.%.fce] -// CHECK:STDOUT: %.loc13_8.3: %HoldsType.f41 = acquire_value %.loc13_8.2 [concrete = constants.%HoldsType.val] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%tuple.983) [concrete = constants.%F.specific_fn] +// CHECK:STDOUT: %.loc13_8.2: ref %HoldsType.0e6 = temporary %.loc13_6.2, %.loc13_8.1 [concrete = constants.%.6ea] +// CHECK:STDOUT: %.loc13_8.3: %HoldsType.0e6 = acquire_value %.loc13_8.2 [concrete = constants.%HoldsType.val] // CHECK:STDOUT: %.loc13_30.2: ref %C = temporary_storage // CHECK:STDOUT: %.loc13_30.3: init %C to %.loc13_30.2 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc13_30.4: init %C = converted %.loc13_30.1, %.loc13_30.3 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc13_30.5: ref %C = temporary %.loc13_30.2, %.loc13_30.4 [concrete = constants.%.521] +// CHECK:STDOUT: %.loc13_30.5: ref %C = temporary %.loc13_30.2, %.loc13_30.4 [concrete = constants.%.7a6] // CHECK:STDOUT: %.loc13_30.6: %C = acquire_value %.loc13_30.5 [concrete = constants.%C.val] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%.loc13_8.3, %.loc13_30.6) -// CHECK:STDOUT: %Destroy.Op.call.loc13_30: init %empty_tuple.type = call constants.%Destroy.Op.bound.65d(constants.%.521) -// CHECK:STDOUT: %Destroy.Op.call.loc13_8: init %empty_tuple.type = call constants.%Destroy.Op.bound.70b(constants.%.fce) +// CHECK:STDOUT: %Destroy.Op.call.loc13_30: init %empty_tuple.type = call constants.%Destroy.Op.bound.219(constants.%.7a6) +// CHECK:STDOUT: %Destroy.Op.call.loc13_8: init %empty_tuple.type = call constants.%Destroy.Op.bound.e3d(constants.%.6ea) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -279,7 +279,7 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13_8(%self.param: ref %HoldsType.f41) { +// CHECK:STDOUT: fn @Destroy.Op.loc13_8(%self.param: ref %HoldsType.0e6) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -292,24 +292,24 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { // CHECK:STDOUT: %T.loc8_7.1 => constants.%T -// CHECK:STDOUT: %HoldsType.loc8_41.1 => constants.%HoldsType.b25 -// CHECK:STDOUT: %pattern_type.loc8_28 => constants.%pattern_type.1d5 +// CHECK:STDOUT: %HoldsType.loc8_41.1 => constants.%HoldsType.c9c +// CHECK:STDOUT: %pattern_type.loc8_28 => constants.%pattern_type.ad8 // CHECK:STDOUT: %tuple.elem0.loc8_55.1 => constants.%tuple.elem0 // CHECK:STDOUT: %pattern_type.loc8_52 => constants.%pattern_type.e66 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HoldsType(constants.%tuple.1e5) { -// CHECK:STDOUT: %T.loc4_18.1 => constants.%tuple.1e5 +// CHECK:STDOUT: specific @HoldsType(constants.%tuple.983) { +// CHECK:STDOUT: %T.loc4_18.1 => constants.%tuple.983 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%tuple.1e5) { -// CHECK:STDOUT: %T.loc8_7.1 => constants.%tuple.1e5 -// CHECK:STDOUT: %HoldsType.loc8_41.1 => constants.%HoldsType.f41 -// CHECK:STDOUT: %pattern_type.loc8_28 => constants.%pattern_type.19e +// CHECK:STDOUT: specific @F(constants.%tuple.983) { +// CHECK:STDOUT: %T.loc8_7.1 => constants.%tuple.983 +// CHECK:STDOUT: %HoldsType.loc8_41.1 => constants.%HoldsType.0e6 +// CHECK:STDOUT: %pattern_type.loc8_28 => constants.%pattern_type.ca7 // CHECK:STDOUT: %tuple.elem0.loc8_55.1 => constants.%C -// CHECK:STDOUT: %pattern_type.loc8_52 => constants.%pattern_type.90b +// CHECK:STDOUT: %pattern_type.loc8_52 => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc8_28 => constants.%complete_type @@ -327,36 +327,36 @@ fn G() { // CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [concrete] -// CHECK:STDOUT: %HoldsType.ba6: type = class_type @HoldsType, @HoldsType(%T) [symbolic] +// CHECK:STDOUT: %HoldsType.df1: type = class_type @HoldsType, @HoldsType(%T) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.af1: type = pattern_type %HoldsType.ba6 [symbolic] +// CHECK:STDOUT: %pattern_type.287: type = pattern_type %HoldsType.df1 [symbolic] // CHECK:STDOUT: %.424: type = struct_access %T, element0 [symbolic] // CHECK:STDOUT: %pattern_type.92c: type = pattern_type %.424 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.225: = require_complete_type %HoldsType.ba6 [symbolic] +// CHECK:STDOUT: %require_complete.4ce: = require_complete_type %HoldsType.df1 [symbolic] // CHECK:STDOUT: %require_complete.ba0: = require_complete_type %.424 [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.t = struct_value (%C) [concrete] -// CHECK:STDOUT: %HoldsType.39e: type = class_type @HoldsType, @HoldsType(%struct) [concrete] -// CHECK:STDOUT: %HoldsType.val: %HoldsType.39e = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.551: type = pattern_type %HoldsType.39e [concrete] -// CHECK:STDOUT: %pattern_type.65c: type = pattern_type %C [concrete] +// CHECK:STDOUT: %HoldsType.0fc: type = class_type @HoldsType, @HoldsType(%struct) [concrete] +// CHECK:STDOUT: %HoldsType.val: %HoldsType.0fc = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.9e2: type = pattern_type %HoldsType.0fc [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%struct) [concrete] -// CHECK:STDOUT: %.971: ref %HoldsType.39e = temporary invalid, %HoldsType.val [concrete] +// CHECK:STDOUT: %.085: ref %HoldsType.0fc = temporary invalid, %HoldsType.val [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %.62f: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %.7a6: ref %C = temporary invalid, %C.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc13_33.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.dd8: = bound_method %.62f, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc13_8 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.b40: = bound_method %.971, %Destroy.Op.1dc86d.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc13_33.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.219: = bound_method %.7a6, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc13_8 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.496: = bound_method %.085, %Destroy.Op.2dd605.3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -389,8 +389,8 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %T.patt: %pattern_type.7f2 = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @F.%pattern_type.loc8_30 (%pattern_type.af1) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @F.%pattern_type.loc8_30 (%pattern_type.af1) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: @F.%pattern_type.loc8_30 (%pattern_type.287) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @F.%pattern_type.loc8_30 (%pattern_type.287) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: %a.param_patt: @F.%pattern_type.loc8_54 (%pattern_type.92c) = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: @F.%pattern_type.loc8_54 (%pattern_type.92c) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { @@ -400,13 +400,13 @@ fn G() { // CHECK:STDOUT: %struct_type.t: type = struct_type {.t: type} [concrete = constants.%struct_type.t] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc8_7.2: %struct_type.t = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T)] -// CHECK:STDOUT: %x.param: @F.%HoldsType.loc8_43.1 (%HoldsType.ba6) = value_param call_param0 -// CHECK:STDOUT: %.loc8_43: type = splice_block %HoldsType.loc8_43.2 [symbolic = %HoldsType.loc8_43.1 (constants.%HoldsType.ba6)] { +// CHECK:STDOUT: %x.param: @F.%HoldsType.loc8_43.1 (%HoldsType.df1) = value_param call_param0 +// CHECK:STDOUT: %.loc8_43: type = splice_block %HoldsType.loc8_43.2 [symbolic = %HoldsType.loc8_43.1 (constants.%HoldsType.df1)] { // CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic] // CHECK:STDOUT: %T.ref.loc8_42: %struct_type.t = name_ref T, %T.loc8_7.2 [symbolic = %T.loc8_7.1 (constants.%T)] -// CHECK:STDOUT: %HoldsType.loc8_43.2: type = class_type @HoldsType, @HoldsType(constants.%T) [symbolic = %HoldsType.loc8_43.1 (constants.%HoldsType.ba6)] +// CHECK:STDOUT: %HoldsType.loc8_43.2: type = class_type @HoldsType, @HoldsType(constants.%T) [symbolic = %HoldsType.loc8_43.1 (constants.%HoldsType.df1)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @F.%HoldsType.loc8_43.1 (%HoldsType.ba6) = value_binding x, %x.param +// CHECK:STDOUT: %x: @F.%HoldsType.loc8_43.1 (%HoldsType.df1) = value_binding x, %x.param // CHECK:STDOUT: %a.param: @F.%.loc8_57.1 (%.424) = value_param call_param1 // CHECK:STDOUT: %.loc8_57.2: type = splice_block %.loc8_57.3 [symbolic = %.loc8_57.1 (constants.%.424)] { // CHECK:STDOUT: %T.ref.loc8_56: %struct_type.t = name_ref T, %T.loc8_7.2 [symbolic = %T.loc8_7.1 (constants.%T)] @@ -428,7 +428,7 @@ fn G() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%HoldsType.ba6 +// CHECK:STDOUT: .Self = constants.%HoldsType.df1 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -442,16 +442,16 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc8_7.2: %struct_type.t) { // CHECK:STDOUT: %T.loc8_7.1: %struct_type.t = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T)] -// CHECK:STDOUT: %HoldsType.loc8_43.1: type = class_type @HoldsType, @HoldsType(%T.loc8_7.1) [symbolic = %HoldsType.loc8_43.1 (constants.%HoldsType.ba6)] -// CHECK:STDOUT: %pattern_type.loc8_30: type = pattern_type %HoldsType.loc8_43.1 [symbolic = %pattern_type.loc8_30 (constants.%pattern_type.af1)] +// CHECK:STDOUT: %HoldsType.loc8_43.1: type = class_type @HoldsType, @HoldsType(%T.loc8_7.1) [symbolic = %HoldsType.loc8_43.1 (constants.%HoldsType.df1)] +// CHECK:STDOUT: %pattern_type.loc8_30: type = pattern_type %HoldsType.loc8_43.1 [symbolic = %pattern_type.loc8_30 (constants.%pattern_type.287)] // CHECK:STDOUT: %.loc8_57.1: type = struct_access %T.loc8_7.1, element0 [symbolic = %.loc8_57.1 (constants.%.424)] // CHECK:STDOUT: %pattern_type.loc8_54: type = pattern_type %.loc8_57.1 [symbolic = %pattern_type.loc8_54 (constants.%pattern_type.92c)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc8_30: = require_complete_type %HoldsType.loc8_43.1 [symbolic = %require_complete.loc8_30 (constants.%require_complete.225)] +// CHECK:STDOUT: %require_complete.loc8_30: = require_complete_type %HoldsType.loc8_43.1 [symbolic = %require_complete.loc8_30 (constants.%require_complete.4ce)] // CHECK:STDOUT: %require_complete.loc8_54: = require_complete_type %.loc8_57.1 [symbolic = %require_complete.loc8_54 (constants.%require_complete.ba0)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc8_43.1 (%HoldsType.ba6), %a.param: @F.%.loc8_57.1 (%.424)) { +// CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc8_43.1 (%HoldsType.df1), %a.param: @F.%.loc8_57.1 (%.424)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -466,22 +466,22 @@ fn G() { // CHECK:STDOUT: %.loc13_28: %struct_type.t = struct_literal (%C.ref) [concrete = constants.%struct] // CHECK:STDOUT: %struct: %struct_type.t = struct_value (%C.ref) [concrete = constants.%struct] // CHECK:STDOUT: %.loc13_29: %struct_type.t = converted %.loc13_28, %struct [concrete = constants.%struct] -// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%struct) [concrete = constants.%HoldsType.39e] -// CHECK:STDOUT: %.loc13_6.2: ref %HoldsType.39e = temporary_storage -// CHECK:STDOUT: %.loc13_6.3: init %HoldsType.39e to %.loc13_6.2 = class_init () [concrete = constants.%HoldsType.val] -// CHECK:STDOUT: %.loc13_8.1: init %HoldsType.39e = converted %.loc13_6.1, %.loc13_6.3 [concrete = constants.%HoldsType.val] +// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%struct) [concrete = constants.%HoldsType.0fc] +// CHECK:STDOUT: %.loc13_6.2: ref %HoldsType.0fc = temporary_storage +// CHECK:STDOUT: %.loc13_6.3: init %HoldsType.0fc to %.loc13_6.2 = class_init () [concrete = constants.%HoldsType.val] +// CHECK:STDOUT: %.loc13_8.1: init %HoldsType.0fc = converted %.loc13_6.1, %.loc13_6.3 [concrete = constants.%HoldsType.val] // CHECK:STDOUT: %.loc13_33.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%struct) [concrete = constants.%F.specific_fn] -// CHECK:STDOUT: %.loc13_8.2: ref %HoldsType.39e = temporary %.loc13_6.2, %.loc13_8.1 [concrete = constants.%.971] -// CHECK:STDOUT: %.loc13_8.3: %HoldsType.39e = acquire_value %.loc13_8.2 [concrete = constants.%HoldsType.val] +// CHECK:STDOUT: %.loc13_8.2: ref %HoldsType.0fc = temporary %.loc13_6.2, %.loc13_8.1 [concrete = constants.%.085] +// CHECK:STDOUT: %.loc13_8.3: %HoldsType.0fc = acquire_value %.loc13_8.2 [concrete = constants.%HoldsType.val] // CHECK:STDOUT: %.loc13_33.2: ref %C = temporary_storage // CHECK:STDOUT: %.loc13_33.3: init %C to %.loc13_33.2 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc13_33.4: init %C = converted %.loc13_33.1, %.loc13_33.3 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc13_33.5: ref %C = temporary %.loc13_33.2, %.loc13_33.4 [concrete = constants.%.62f] +// CHECK:STDOUT: %.loc13_33.5: ref %C = temporary %.loc13_33.2, %.loc13_33.4 [concrete = constants.%.7a6] // CHECK:STDOUT: %.loc13_33.6: %C = acquire_value %.loc13_33.5 [concrete = constants.%C.val] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%.loc13_8.3, %.loc13_33.6) -// CHECK:STDOUT: %Destroy.Op.call.loc13_33: init %empty_tuple.type = call constants.%Destroy.Op.bound.dd8(constants.%.62f) -// CHECK:STDOUT: %Destroy.Op.call.loc13_8: init %empty_tuple.type = call constants.%Destroy.Op.bound.b40(constants.%.971) +// CHECK:STDOUT: %Destroy.Op.call.loc13_33: init %empty_tuple.type = call constants.%Destroy.Op.bound.219(constants.%.7a6) +// CHECK:STDOUT: %Destroy.Op.call.loc13_8: init %empty_tuple.type = call constants.%Destroy.Op.bound.496(constants.%.085) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -492,7 +492,7 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13_8(%self.param: ref %HoldsType.39e) { +// CHECK:STDOUT: fn @Destroy.Op.loc13_8(%self.param: ref %HoldsType.0fc) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -505,8 +505,8 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { // CHECK:STDOUT: %T.loc8_7.1 => constants.%T -// CHECK:STDOUT: %HoldsType.loc8_43.1 => constants.%HoldsType.ba6 -// CHECK:STDOUT: %pattern_type.loc8_30 => constants.%pattern_type.af1 +// CHECK:STDOUT: %HoldsType.loc8_43.1 => constants.%HoldsType.df1 +// CHECK:STDOUT: %pattern_type.loc8_30 => constants.%pattern_type.287 // CHECK:STDOUT: %.loc8_57.1 => constants.%.424 // CHECK:STDOUT: %pattern_type.loc8_54 => constants.%pattern_type.92c // CHECK:STDOUT: } @@ -519,10 +519,10 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%struct) { // CHECK:STDOUT: %T.loc8_7.1 => constants.%struct -// CHECK:STDOUT: %HoldsType.loc8_43.1 => constants.%HoldsType.39e -// CHECK:STDOUT: %pattern_type.loc8_30 => constants.%pattern_type.551 +// CHECK:STDOUT: %HoldsType.loc8_43.1 => constants.%HoldsType.0fc +// CHECK:STDOUT: %pattern_type.loc8_30 => constants.%pattern_type.9e2 // CHECK:STDOUT: %.loc8_57.1 => constants.%C -// CHECK:STDOUT: %pattern_type.loc8_54 => constants.%pattern_type.65c +// CHECK:STDOUT: %pattern_type.loc8_54 => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc8_30 => constants.%complete_type @@ -538,69 +538,69 @@ fn G() { // CHECK:STDOUT: %complete_type.509: = complete_type_witness %struct_type.t [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.a14: type = pattern_type %Class [concrete] -// CHECK:STDOUT: %T.ea6: %Class = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.415: type = pattern_type %Class [concrete] +// CHECK:STDOUT: %T.60d: %Class = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [concrete] -// CHECK:STDOUT: %HoldsType.794ed1.1: type = class_type @HoldsType, @HoldsType(%T.ea6) [symbolic] +// CHECK:STDOUT: %HoldsType.751b88.1: type = class_type @HoldsType, @HoldsType(%T.60d) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.0890cb.1: type = pattern_type %HoldsType.794ed1.1 [symbolic] -// CHECK:STDOUT: %.b5360e.1: ref type = class_element_access %T.ea6, element0 [symbolic] +// CHECK:STDOUT: %pattern_type.635ee0.1: type = pattern_type %HoldsType.751b88.1 [symbolic] +// CHECK:STDOUT: %.46df5a.1: ref type = class_element_access %T.60d, element0 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.3ea1ee.1: = require_complete_type %HoldsType.794ed1.1 [symbolic] +// CHECK:STDOUT: %require_complete.03e783.1: = require_complete_type %HoldsType.751b88.1 [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %c: %Class = symbolic_binding c, 0 [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %HoldsType.794ed1.2: type = class_type @HoldsType, @HoldsType(%c) [symbolic] -// CHECK:STDOUT: %require_complete.3ea1ee.2: = require_complete_type %HoldsType.794ed1.2 [symbolic] -// CHECK:STDOUT: %HoldsType.val.b6a: %HoldsType.794ed1.2 = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.0890cb.2: type = pattern_type %HoldsType.794ed1.2 [symbolic] -// CHECK:STDOUT: %.b5360e.2: ref type = class_element_access %c, element0 [symbolic] -// CHECK:STDOUT: %F.specific_fn.36f: = specific_function %F, @F(%c) [symbolic] -// CHECK:STDOUT: %.38d: ref %HoldsType.794ed1.2 = temporary invalid, %HoldsType.val.b6a [symbolic] +// CHECK:STDOUT: %HoldsType.751b88.2: type = class_type @HoldsType, @HoldsType(%c) [symbolic] +// CHECK:STDOUT: %require_complete.03e783.2: = require_complete_type %HoldsType.751b88.2 [symbolic] +// CHECK:STDOUT: %HoldsType.val.3c6: %HoldsType.751b88.2 = struct_value () [symbolic] +// CHECK:STDOUT: %pattern_type.635ee0.2: type = pattern_type %HoldsType.751b88.2 [symbolic] +// CHECK:STDOUT: %.46df5a.2: ref type = class_element_access %c, element0 [symbolic] +// CHECK:STDOUT: %F.specific_fn.8d1: = specific_function %F, @F(%c) [symbolic] +// CHECK:STDOUT: %.0e9: ref %HoldsType.751b88.2 = temporary invalid, %HoldsType.val.3c6 [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %HoldsType.794ed1.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.f51: %Destroy.type = facet_value %HoldsType.794ed1.2, (%Destroy.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.9ef: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.f51) [symbolic] -// CHECK:STDOUT: %.08e: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.9ef, %Destroy.facet.f51 [symbolic] -// CHECK:STDOUT: %impl.elem0.a4f: %.08e = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %bound_method.54f: = bound_method %.38d, %impl.elem0.a4f [symbolic] -// CHECK:STDOUT: %specific_impl_fn.9c0: = specific_impl_function %impl.elem0.a4f, @Destroy.WithSelf.Op(%Destroy.facet.f51) [symbolic] -// CHECK:STDOUT: %bound_method.b2d: = bound_method %.38d, %specific_impl_fn.9c0 [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %HoldsType.751b88.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.be6: %Destroy.type = facet_value %HoldsType.751b88.2, (%Destroy.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.8d9: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.be6) [symbolic] +// CHECK:STDOUT: %.a14: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.8d9, %Destroy.facet.be6 [symbolic] +// CHECK:STDOUT: %impl.elem0.107: %.a14 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %bound_method.1f5: = bound_method %.0e9, %impl.elem0.107 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.8bd: = specific_impl_function %impl.elem0.107, @Destroy.WithSelf.Op(%Destroy.facet.be6) [symbolic] +// CHECK:STDOUT: %bound_method.389: = bound_method %.0e9, %specific_impl_fn.8bd [symbolic] // CHECK:STDOUT: %H.type: type = fn_type @H [concrete] // CHECK:STDOUT: %H: %H.type = struct_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.t = struct_value (%C) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.592: = impl_witness imports.%Copy.impl_witness_table.fbd [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.592) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.b33: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.173: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b33, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.f49: = impl_witness imports.%Copy.impl_witness_table.fcf [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.f49) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cd0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.31b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cd0, %Copy.facet [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.type: type = fn_type @type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op: %type.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.bound: = bound_method %C, %type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Class.val: %Class = struct_value (%C) [concrete] -// CHECK:STDOUT: %.db0: ref %Class = temporary invalid, %Class.val [concrete] +// CHECK:STDOUT: %.16e: ref %Class = temporary invalid, %Class.val [concrete] // CHECK:STDOUT: %G.specific_fn: = specific_function %G, @G(%Class.val) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc30_13.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.411: = bound_method %.db0, %Destroy.Op.1dc86d.4 [concrete] -// CHECK:STDOUT: %HoldsType.36e: type = class_type @HoldsType, @HoldsType(%Class.val) [concrete] -// CHECK:STDOUT: %HoldsType.val.4d2: %HoldsType.36e = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.5c7: type = pattern_type %HoldsType.36e [concrete] -// CHECK:STDOUT: %F.specific_fn.a2e: = specific_function %F, @F(%Class.val) [concrete] -// CHECK:STDOUT: %.dc0: ref %HoldsType.36e = temporary invalid, %HoldsType.val.4d2 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc26_8.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.5: = custom_witness (%Destroy.Op.1dc86d.5), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.5f2: %Destroy.type = facet_value %HoldsType.36e, (%custom_witness.340963.5) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.751: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.5f2) [concrete] -// CHECK:STDOUT: %.789: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.751, %Destroy.facet.5f2 [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.6c3: = bound_method %.dc0, %Destroy.Op.1dc86d.5 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc30_13.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.5a6: = bound_method %.16e, %Destroy.Op.2dd605.4 [concrete] +// CHECK:STDOUT: %HoldsType.bfe: type = class_type @HoldsType, @HoldsType(%Class.val) [concrete] +// CHECK:STDOUT: %HoldsType.val.52a: %HoldsType.bfe = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.95c: type = pattern_type %HoldsType.bfe [concrete] +// CHECK:STDOUT: %F.specific_fn.229: = specific_function %F, @F(%Class.val) [concrete] +// CHECK:STDOUT: %.ccb: ref %HoldsType.bfe = temporary invalid, %HoldsType.val.52a [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc26_8.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.5: = custom_witness (%Destroy.Op.2dd605.5), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.caf: %Destroy.type = facet_value %HoldsType.bfe, (%custom_witness.e20f1f.5) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.445: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.caf) [concrete] +// CHECK:STDOUT: %.7ae: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.445, %Destroy.facet.caf [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.448: = bound_method %.ccb, %Destroy.Op.2dd605.5 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -612,8 +612,8 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.41e: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.fbd = impl_witness_table (%Core.import_ref.41e), @type.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.fcf = impl_witness_table (%Core.import_ref.f63), @type.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -629,18 +629,18 @@ fn G() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {} // CHECK:STDOUT: %HoldsType.decl: %HoldsType.type = class_decl @HoldsType [concrete = constants.%HoldsType.generic] { -// CHECK:STDOUT: %T.patt: %pattern_type.a14 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.415 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8: type = splice_block %Class.ref [concrete = constants.%Class] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc8_18.2: %Class = symbolic_binding T, 0 [symbolic = %T.loc8_18.1 (constants.%T.ea6)] +// CHECK:STDOUT: %T.loc8_18.2: %Class = symbolic_binding T, 0 [symbolic = %T.loc8_18.1 (constants.%T.60d)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt: %pattern_type.a14 = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.0890cb.1) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.0890cb.1) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.415 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.635ee0.1) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.635ee0.1) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: %a.param_patt: = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { @@ -648,26 +648,26 @@ fn G() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc21_7.2: %Class = symbolic_binding T, 0 [symbolic = %T.loc21_7.1 (constants.%T.ea6)] -// CHECK:STDOUT: %x.param: @F.%HoldsType.loc21_38.1 (%HoldsType.794ed1.1) = value_param call_param0 -// CHECK:STDOUT: %.loc21_38: type = splice_block %HoldsType.loc21_38.2 [symbolic = %HoldsType.loc21_38.1 (constants.%HoldsType.794ed1.1)] { +// CHECK:STDOUT: %T.loc21_7.2: %Class = symbolic_binding T, 0 [symbolic = %T.loc21_7.1 (constants.%T.60d)] +// CHECK:STDOUT: %x.param: @F.%HoldsType.loc21_38.1 (%HoldsType.751b88.1) = value_param call_param0 +// CHECK:STDOUT: %.loc21_38: type = splice_block %HoldsType.loc21_38.2 [symbolic = %HoldsType.loc21_38.1 (constants.%HoldsType.751b88.1)] { // CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic] -// CHECK:STDOUT: %T.ref.loc21_37: %Class = name_ref T, %T.loc21_7.2 [symbolic = %T.loc21_7.1 (constants.%T.ea6)] -// CHECK:STDOUT: %HoldsType.loc21_38.2: type = class_type @HoldsType, @HoldsType(constants.%T.ea6) [symbolic = %HoldsType.loc21_38.1 (constants.%HoldsType.794ed1.1)] +// CHECK:STDOUT: %T.ref.loc21_37: %Class = name_ref T, %T.loc21_7.2 [symbolic = %T.loc21_7.1 (constants.%T.60d)] +// CHECK:STDOUT: %HoldsType.loc21_38.2: type = class_type @HoldsType, @HoldsType(constants.%T.60d) [symbolic = %HoldsType.loc21_38.1 (constants.%HoldsType.751b88.1)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @F.%HoldsType.loc21_38.1 (%HoldsType.794ed1.1) = value_binding x, %x.param +// CHECK:STDOUT: %x: @F.%HoldsType.loc21_38.1 (%HoldsType.751b88.1) = value_binding x, %x.param // CHECK:STDOUT: %a.param: = value_param call_param1 // CHECK:STDOUT: %.1: = splice_block [concrete = ] { -// CHECK:STDOUT: %T.ref.loc21_51: %Class = name_ref T, %T.loc21_7.2 [symbolic = %T.loc21_7.1 (constants.%T.ea6)] +// CHECK:STDOUT: %T.ref.loc21_51: %Class = name_ref T, %T.loc21_7.2 [symbolic = %T.loc21_7.1 (constants.%T.60d)] // CHECK:STDOUT: %t.ref: %Class.elem = name_ref t, @Class.%.loc5 [concrete = @Class.%.loc5] -// CHECK:STDOUT: %.loc21_52.2: ref type = class_element_access %T.ref.loc21_51, element0 [symbolic = %.loc21_52.1 (constants.%.b5360e.1)] +// CHECK:STDOUT: %.loc21_52.2: ref type = class_element_access %T.ref.loc21_51, element0 [symbolic = %.loc21_52.1 (constants.%.46df5a.1)] // CHECK:STDOUT: %.loc21_52.3: type = acquire_value %.loc21_52.2 // CHECK:STDOUT: } // CHECK:STDOUT: %a: = value_binding a, [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %c.patt: %pattern_type.a14 = symbolic_binding_pattern c, 0 [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.415 = symbolic_binding_pattern c, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc25: type = splice_block %Class.ref [concrete = constants.%Class] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -689,7 +689,7 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @HoldsType(%T.loc8_18.2: %Class) { -// CHECK:STDOUT: %T.loc8_18.1: %Class = symbolic_binding T, 0 [symbolic = %T.loc8_18.1 (constants.%T.ea6)] +// CHECK:STDOUT: %T.loc8_18.1: %Class = symbolic_binding T, 0 [symbolic = %T.loc8_18.1 (constants.%T.60d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -698,7 +698,7 @@ fn G() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%HoldsType.794ed1.1 +// CHECK:STDOUT: .Self = constants.%HoldsType.751b88.1 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -711,15 +711,15 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc21_7.2: %Class) { -// CHECK:STDOUT: %T.loc21_7.1: %Class = symbolic_binding T, 0 [symbolic = %T.loc21_7.1 (constants.%T.ea6)] -// CHECK:STDOUT: %HoldsType.loc21_38.1: type = class_type @HoldsType, @HoldsType(%T.loc21_7.1) [symbolic = %HoldsType.loc21_38.1 (constants.%HoldsType.794ed1.1)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %HoldsType.loc21_38.1 [symbolic = %pattern_type (constants.%pattern_type.0890cb.1)] -// CHECK:STDOUT: %.loc21_52.1: ref type = class_element_access %T.loc21_7.1, element0 [symbolic = %.loc21_52.1 (constants.%.b5360e.1)] +// CHECK:STDOUT: %T.loc21_7.1: %Class = symbolic_binding T, 0 [symbolic = %T.loc21_7.1 (constants.%T.60d)] +// CHECK:STDOUT: %HoldsType.loc21_38.1: type = class_type @HoldsType, @HoldsType(%T.loc21_7.1) [symbolic = %HoldsType.loc21_38.1 (constants.%HoldsType.751b88.1)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %HoldsType.loc21_38.1 [symbolic = %pattern_type (constants.%pattern_type.635ee0.1)] +// CHECK:STDOUT: %.loc21_52.1: ref type = class_element_access %T.loc21_7.1, element0 [symbolic = %.loc21_52.1 (constants.%.46df5a.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %HoldsType.loc21_38.1 [symbolic = %require_complete (constants.%require_complete.3ea1ee.1)] +// CHECK:STDOUT: %require_complete: = require_complete_type %HoldsType.loc21_38.1 [symbolic = %require_complete (constants.%require_complete.03e783.1)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc21_38.1 (%HoldsType.794ed1.1), %a.param: ) { +// CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc21_38.1 (%HoldsType.751b88.1), %a.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -729,19 +729,19 @@ fn G() { // CHECK:STDOUT: %c.loc25_7.1: %Class = symbolic_binding c, 0 [symbolic = %c.loc25_7.1 (constants.%c)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %HoldsType.loc26_22.2: type = class_type @HoldsType, @HoldsType(%c.loc25_7.1) [symbolic = %HoldsType.loc26_22.2 (constants.%HoldsType.794ed1.2)] -// CHECK:STDOUT: %require_complete: = require_complete_type %HoldsType.loc26_22.2 [symbolic = %require_complete (constants.%require_complete.3ea1ee.2)] -// CHECK:STDOUT: %HoldsType.val: @G.%HoldsType.loc26_22.2 (%HoldsType.794ed1.2) = struct_value () [symbolic = %HoldsType.val (constants.%HoldsType.val.b6a)] -// CHECK:STDOUT: %F.specific_fn.loc26_3.2: = specific_function constants.%F, @F(%c.loc25_7.1) [symbolic = %F.specific_fn.loc26_3.2 (constants.%F.specific_fn.36f)] -// CHECK:STDOUT: %.loc26_8.4: ref @G.%HoldsType.loc26_22.2 (%HoldsType.794ed1.2) = temporary invalid, %HoldsType.val [symbolic = %.loc26_8.4 (constants.%.38d)] +// CHECK:STDOUT: %HoldsType.loc26_22.2: type = class_type @HoldsType, @HoldsType(%c.loc25_7.1) [symbolic = %HoldsType.loc26_22.2 (constants.%HoldsType.751b88.2)] +// CHECK:STDOUT: %require_complete: = require_complete_type %HoldsType.loc26_22.2 [symbolic = %require_complete (constants.%require_complete.03e783.2)] +// CHECK:STDOUT: %HoldsType.val: @G.%HoldsType.loc26_22.2 (%HoldsType.751b88.2) = struct_value () [symbolic = %HoldsType.val (constants.%HoldsType.val.3c6)] +// CHECK:STDOUT: %F.specific_fn.loc26_3.2: = specific_function constants.%F, @F(%c.loc25_7.1) [symbolic = %F.specific_fn.loc26_3.2 (constants.%F.specific_fn.8d1)] +// CHECK:STDOUT: %.loc26_8.4: ref @G.%HoldsType.loc26_22.2 (%HoldsType.751b88.2) = temporary invalid, %HoldsType.val [symbolic = %.loc26_8.4 (constants.%.0e9)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %HoldsType.loc26_22.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %HoldsType.loc26_22.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.f51)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.9ef)] -// CHECK:STDOUT: %.loc26_8.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc26_8.5 (constants.%.08e)] -// CHECK:STDOUT: %impl.elem0.loc26_8.2: @G.%.loc26_8.5 (%.08e) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc26_8.2 (constants.%impl.elem0.a4f)] -// CHECK:STDOUT: %bound_method.loc26_8.3: = bound_method %.loc26_8.4, %impl.elem0.loc26_8.2 [symbolic = %bound_method.loc26_8.3 (constants.%bound_method.54f)] -// CHECK:STDOUT: %specific_impl_fn.loc26_8.2: = specific_impl_function %impl.elem0.loc26_8.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc26_8.2 (constants.%specific_impl_fn.9c0)] -// CHECK:STDOUT: %bound_method.loc26_8.4: = bound_method %.loc26_8.4, %specific_impl_fn.loc26_8.2 [symbolic = %bound_method.loc26_8.4 (constants.%bound_method.b2d)] +// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %HoldsType.loc26_22.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.be6)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.8d9)] +// CHECK:STDOUT: %.loc26_8.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc26_8.5 (constants.%.a14)] +// CHECK:STDOUT: %impl.elem0.loc26_8.2: @G.%.loc26_8.5 (%.a14) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc26_8.2 (constants.%impl.elem0.107)] +// CHECK:STDOUT: %bound_method.loc26_8.3: = bound_method %.loc26_8.4, %impl.elem0.loc26_8.2 [symbolic = %bound_method.loc26_8.3 (constants.%bound_method.1f5)] +// CHECK:STDOUT: %specific_impl_fn.loc26_8.2: = specific_impl_function %impl.elem0.loc26_8.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc26_8.2 (constants.%specific_impl_fn.8bd)] +// CHECK:STDOUT: %bound_method.loc26_8.4: = bound_method %.loc26_8.4, %specific_impl_fn.loc26_8.2 [symbolic = %bound_method.loc26_8.4 (constants.%bound_method.389)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: @@ -749,19 +749,19 @@ fn G() { // CHECK:STDOUT: %.loc26_6.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic] // CHECK:STDOUT: %c.ref: %Class = name_ref c, %c.loc25_7.2 [symbolic = %c.loc25_7.1 (constants.%c)] -// CHECK:STDOUT: %HoldsType.loc26_22.1: type = class_type @HoldsType, @HoldsType(constants.%c) [symbolic = %HoldsType.loc26_22.2 (constants.%HoldsType.794ed1.2)] -// CHECK:STDOUT: %.loc26_6.2: ref @G.%HoldsType.loc26_22.2 (%HoldsType.794ed1.2) = temporary_storage -// CHECK:STDOUT: %.loc26_6.3: init @G.%HoldsType.loc26_22.2 (%HoldsType.794ed1.2) to %.loc26_6.2 = class_init () [symbolic = %HoldsType.val (constants.%HoldsType.val.b6a)] -// CHECK:STDOUT: %.loc26_8.1: init @G.%HoldsType.loc26_22.2 (%HoldsType.794ed1.2) = converted %.loc26_6.1, %.loc26_6.3 [symbolic = %HoldsType.val (constants.%HoldsType.val.b6a)] +// CHECK:STDOUT: %HoldsType.loc26_22.1: type = class_type @HoldsType, @HoldsType(constants.%c) [symbolic = %HoldsType.loc26_22.2 (constants.%HoldsType.751b88.2)] +// CHECK:STDOUT: %.loc26_6.2: ref @G.%HoldsType.loc26_22.2 (%HoldsType.751b88.2) = temporary_storage +// CHECK:STDOUT: %.loc26_6.3: init @G.%HoldsType.loc26_22.2 (%HoldsType.751b88.2) to %.loc26_6.2 = class_init () [symbolic = %HoldsType.val (constants.%HoldsType.val.3c6)] +// CHECK:STDOUT: %.loc26_8.1: init @G.%HoldsType.loc26_22.2 (%HoldsType.751b88.2) = converted %.loc26_6.1, %.loc26_6.3 [symbolic = %HoldsType.val (constants.%HoldsType.val.3c6)] // CHECK:STDOUT: %.loc26_26: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %F.specific_fn.loc26_3.1: = specific_function %F.ref, @F(constants.%c) [symbolic = %F.specific_fn.loc26_3.2 (constants.%F.specific_fn.36f)] -// CHECK:STDOUT: %.loc26_8.2: ref @G.%HoldsType.loc26_22.2 (%HoldsType.794ed1.2) = temporary %.loc26_6.2, %.loc26_8.1 [symbolic = %.loc26_8.4 (constants.%.38d)] -// CHECK:STDOUT: %.loc26_8.3: @G.%HoldsType.loc26_22.2 (%HoldsType.794ed1.2) = acquire_value %.loc26_8.2 [symbolic = %HoldsType.val (constants.%HoldsType.val.b6a)] +// CHECK:STDOUT: %F.specific_fn.loc26_3.1: = specific_function %F.ref, @F(constants.%c) [symbolic = %F.specific_fn.loc26_3.2 (constants.%F.specific_fn.8d1)] +// CHECK:STDOUT: %.loc26_8.2: ref @G.%HoldsType.loc26_22.2 (%HoldsType.751b88.2) = temporary %.loc26_6.2, %.loc26_8.1 [symbolic = %.loc26_8.4 (constants.%.0e9)] +// CHECK:STDOUT: %.loc26_8.3: @G.%HoldsType.loc26_22.2 (%HoldsType.751b88.2) = acquire_value %.loc26_8.2 [symbolic = %HoldsType.val (constants.%HoldsType.val.3c6)] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn.loc26_3.1(%.loc26_8.3, ) -// CHECK:STDOUT: %impl.elem0.loc26_8.1: @G.%.loc26_8.5 (%.08e) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc26_8.2 (constants.%impl.elem0.a4f)] -// CHECK:STDOUT: %bound_method.loc26_8.1: = bound_method %.loc26_8.2, %impl.elem0.loc26_8.1 [symbolic = %bound_method.loc26_8.3 (constants.%bound_method.54f)] -// CHECK:STDOUT: %specific_impl_fn.loc26_8.1: = specific_impl_function %impl.elem0.loc26_8.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.f51) [symbolic = %specific_impl_fn.loc26_8.2 (constants.%specific_impl_fn.9c0)] -// CHECK:STDOUT: %bound_method.loc26_8.2: = bound_method %.loc26_8.2, %specific_impl_fn.loc26_8.1 [symbolic = %bound_method.loc26_8.4 (constants.%bound_method.b2d)] +// CHECK:STDOUT: %impl.elem0.loc26_8.1: @G.%.loc26_8.5 (%.a14) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc26_8.2 (constants.%impl.elem0.107)] +// CHECK:STDOUT: %bound_method.loc26_8.1: = bound_method %.loc26_8.2, %impl.elem0.loc26_8.1 [symbolic = %bound_method.loc26_8.3 (constants.%bound_method.1f5)] +// CHECK:STDOUT: %specific_impl_fn.loc26_8.1: = specific_impl_function %impl.elem0.loc26_8.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.be6) [symbolic = %specific_impl_fn.loc26_8.2 (constants.%specific_impl_fn.8bd)] +// CHECK:STDOUT: %bound_method.loc26_8.2: = bound_method %.loc26_8.2, %specific_impl_fn.loc26_8.1 [symbolic = %bound_method.loc26_8.4 (constants.%bound_method.389)] // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc26_8.2(%.loc26_8.2) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -774,7 +774,7 @@ fn G() { // CHECK:STDOUT: %G.ref: %G.type = name_ref G, file.%G.decl [concrete = constants.%G] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc30_12.1: %struct_type.t = struct_literal (%C.ref) [concrete = constants.%struct] -// CHECK:STDOUT: %impl.elem0: %.173 = impl_witness_access constants.%Copy.impl_witness.592, element0 [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.31b = impl_witness_access constants.%Copy.impl_witness.f49, element0 [concrete = constants.%type.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %C.ref, %impl.elem0 [concrete = constants.%type.as.Copy.impl.Op.bound] // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%C.ref) [concrete = constants.%C] // CHECK:STDOUT: %.loc30_12.2: ref %Class = temporary_storage @@ -782,11 +782,11 @@ fn G() { // CHECK:STDOUT: %.loc30_12.4: init type to %.loc30_12.3 = in_place_init %type.as.Copy.impl.Op.call [concrete = constants.%C] // CHECK:STDOUT: %.loc30_12.5: init %Class to %.loc30_12.2 = class_init (%.loc30_12.4) [concrete = constants.%Class.val] // CHECK:STDOUT: %.loc30_13.1: init %Class = converted %.loc30_12.1, %.loc30_12.5 [concrete = constants.%Class.val] -// CHECK:STDOUT: %.loc30_13.2: ref %Class = temporary %.loc30_12.2, %.loc30_13.1 [concrete = constants.%.db0] +// CHECK:STDOUT: %.loc30_13.2: ref %Class = temporary %.loc30_12.2, %.loc30_13.1 [concrete = constants.%.16e] // CHECK:STDOUT: %.loc30_13.3: %Class = acquire_value %.loc30_13.2 [concrete = constants.%Class.val] // CHECK:STDOUT: %G.specific_fn: = specific_function %G.ref, @G(constants.%Class.val) [concrete = constants.%G.specific_fn] // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.specific_fn() -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound.411(constants.%.db0) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound.5a6(constants.%.16e) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -802,22 +802,22 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc26_8.2(%self.param: ref %HoldsType.36e) { +// CHECK:STDOUT: fn @Destroy.Op.loc26_8.2(%self.param: ref %HoldsType.bfe) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HoldsType(constants.%T.ea6) { -// CHECK:STDOUT: %T.loc8_18.1 => constants.%T.ea6 +// CHECK:STDOUT: specific @HoldsType(constants.%T.60d) { +// CHECK:STDOUT: %T.loc8_18.1 => constants.%T.60d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.ea6) { -// CHECK:STDOUT: %T.loc21_7.1 => constants.%T.ea6 -// CHECK:STDOUT: %HoldsType.loc21_38.1 => constants.%HoldsType.794ed1.1 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0890cb.1 -// CHECK:STDOUT: %.loc21_52.1 => constants.%.b5360e.1 +// CHECK:STDOUT: specific @F(constants.%T.60d) { +// CHECK:STDOUT: %T.loc21_7.1 => constants.%T.60d +// CHECK:STDOUT: %HoldsType.loc21_38.1 => constants.%HoldsType.751b88.1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.635ee0.1 +// CHECK:STDOUT: %.loc21_52.1 => constants.%.46df5a.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @G(constants.%c) { @@ -832,31 +832,31 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%c) { // CHECK:STDOUT: %T.loc21_7.1 => constants.%c -// CHECK:STDOUT: %HoldsType.loc21_38.1 => constants.%HoldsType.794ed1.2 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0890cb.2 -// CHECK:STDOUT: %.loc21_52.1 => constants.%.b5360e.2 +// CHECK:STDOUT: %HoldsType.loc21_38.1 => constants.%HoldsType.751b88.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.635ee0.2 +// CHECK:STDOUT: %.loc21_52.1 => constants.%.46df5a.2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.3ea1ee.2 +// CHECK:STDOUT: %require_complete => constants.%require_complete.03e783.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @G(constants.%Class.val) { // CHECK:STDOUT: %c.loc25_7.1 => constants.%Class.val // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %HoldsType.loc26_22.2 => constants.%HoldsType.36e +// CHECK:STDOUT: %HoldsType.loc26_22.2 => constants.%HoldsType.bfe // CHECK:STDOUT: %require_complete => constants.%complete_type.357 -// CHECK:STDOUT: %HoldsType.val => constants.%HoldsType.val.4d2 -// CHECK:STDOUT: %F.specific_fn.loc26_3.2 => constants.%F.specific_fn.a2e -// CHECK:STDOUT: %.loc26_8.4 => constants.%.dc0 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.340963.5 -// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.5f2 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.751 -// CHECK:STDOUT: %.loc26_8.5 => constants.%.789 -// CHECK:STDOUT: %impl.elem0.loc26_8.2 => constants.%Destroy.Op.1dc86d.5 -// CHECK:STDOUT: %bound_method.loc26_8.3 => constants.%Destroy.Op.bound.6c3 -// CHECK:STDOUT: %specific_impl_fn.loc26_8.2 => constants.%Destroy.Op.1dc86d.5 -// CHECK:STDOUT: %bound_method.loc26_8.4 => constants.%Destroy.Op.bound.6c3 +// CHECK:STDOUT: %HoldsType.val => constants.%HoldsType.val.52a +// CHECK:STDOUT: %F.specific_fn.loc26_3.2 => constants.%F.specific_fn.229 +// CHECK:STDOUT: %.loc26_8.4 => constants.%.ccb +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.e20f1f.5 +// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.caf +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.445 +// CHECK:STDOUT: %.loc26_8.5 => constants.%.7ae +// CHECK:STDOUT: %impl.elem0.loc26_8.2 => constants.%Destroy.Op.2dd605.5 +// CHECK:STDOUT: %bound_method.loc26_8.3 => constants.%Destroy.Op.bound.448 +// CHECK:STDOUT: %specific_impl_fn.loc26_8.2 => constants.%Destroy.Op.2dd605.5 +// CHECK:STDOUT: %bound_method.loc26_8.4 => constants.%Destroy.Op.bound.448 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HoldsType(constants.%Class.val) { @@ -867,8 +867,8 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%Class.val) { // CHECK:STDOUT: %T.loc21_7.1 => constants.%Class.val -// CHECK:STDOUT: %HoldsType.loc21_38.1 => constants.%HoldsType.36e -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5c7 +// CHECK:STDOUT: %HoldsType.loc21_38.1 => constants.%HoldsType.bfe +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.95c // CHECK:STDOUT: %.loc21_52.1 => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: @@ -887,62 +887,62 @@ fn G() { // CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [concrete] -// CHECK:STDOUT: %HoldsType.6d0: type = class_type @HoldsType, @HoldsType(%T.9b7) [symbolic] +// CHECK:STDOUT: %HoldsType.110: type = class_type @HoldsType, @HoldsType(%T.9b7) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.fbd: type = pattern_type %HoldsType.6d0 [symbolic] +// CHECK:STDOUT: %pattern_type.73c: type = pattern_type %HoldsType.110 [symbolic] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.07b: = require_complete_type %HoldsType.6d0 [symbolic] +// CHECK:STDOUT: %require_complete.7f6: = require_complete_type %HoldsType.110 [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] -// CHECK:STDOUT: %tuple.3c6: %tuple.type.85c = tuple_value (%C) [concrete] +// CHECK:STDOUT: %tuple.983: %tuple.type.85c = tuple_value (%C) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.592: = impl_witness imports.%Copy.impl_witness_table.fbd [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.592) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.b33: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.173: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b33, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.f49: = impl_witness imports.%Copy.impl_witness_table.fcf [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.f49) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cd0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.31b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cd0, %Copy.facet [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.type: type = fn_type @type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op: %type.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.bound: = bound_method %C, %type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %array: %array_type = tuple_value (%C) [concrete] -// CHECK:STDOUT: %.3fa: ref %array_type = temporary invalid, %array [concrete] -// CHECK:STDOUT: %HoldsType.c6c: type = class_type @HoldsType, @HoldsType(%array) [concrete] -// CHECK:STDOUT: %HoldsType.val: %HoldsType.c6c = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.246: type = pattern_type %HoldsType.c6c [concrete] +// CHECK:STDOUT: %.8e9: ref %array_type = temporary invalid, %array [concrete] +// CHECK:STDOUT: %HoldsType.7e3: type = class_type @HoldsType, @HoldsType(%array) [concrete] +// CHECK:STDOUT: %HoldsType.val: %HoldsType.7e3 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.52b: type = pattern_type %HoldsType.7e3 [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%array) [concrete] -// CHECK:STDOUT: %.01d: ref %HoldsType.c6c = temporary invalid, %HoldsType.val [concrete] +// CHECK:STDOUT: %.407: ref %HoldsType.7e3 = temporary invalid, %HoldsType.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc17_8.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.862: = bound_method %.01d, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc17_27.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.5f8: = bound_method %.3fa, %Destroy.Op.1dc86d.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc17_8.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.c0e: = bound_method %.407, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc17_27.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.4f1: = bound_method %.8e9, %Destroy.Op.2dd605.4 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -955,12 +955,12 @@ fn G() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.41e: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.fbd = impl_witness_table (%Core.import_ref.41e), @type.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.fcf = impl_witness_table (%Core.import_ref.f63), @type.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -986,8 +986,8 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %T.patt: %pattern_type.dcb = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.fbd) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.fbd) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.73c) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.73c) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: %a.param_patt: = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { @@ -998,24 +998,24 @@ fn G() { // CHECK:STDOUT: %array_type: type = array_type %int_1, %.loc12_16 [concrete = constants.%array_type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc12_7.2: %array_type = symbolic_binding T, 0 [symbolic = %T.loc12_7.1 (constants.%T.9b7)] -// CHECK:STDOUT: %x.param: @F.%HoldsType.loc12_47.1 (%HoldsType.6d0) = value_param call_param0 -// CHECK:STDOUT: %.loc12_47: type = splice_block %HoldsType.loc12_47.2 [symbolic = %HoldsType.loc12_47.1 (constants.%HoldsType.6d0)] { +// CHECK:STDOUT: %x.param: @F.%HoldsType.loc12_47.1 (%HoldsType.110) = value_param call_param0 +// CHECK:STDOUT: %.loc12_47: type = splice_block %HoldsType.loc12_47.2 [symbolic = %HoldsType.loc12_47.1 (constants.%HoldsType.110)] { // CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic] // CHECK:STDOUT: %T.ref.loc12_46: %array_type = name_ref T, %T.loc12_7.2 [symbolic = %T.loc12_7.1 (constants.%T.9b7)] -// CHECK:STDOUT: %HoldsType.loc12_47.2: type = class_type @HoldsType, @HoldsType(constants.%T.9b7) [symbolic = %HoldsType.loc12_47.1 (constants.%HoldsType.6d0)] +// CHECK:STDOUT: %HoldsType.loc12_47.2: type = class_type @HoldsType, @HoldsType(constants.%T.9b7) [symbolic = %HoldsType.loc12_47.1 (constants.%HoldsType.110)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @F.%HoldsType.loc12_47.1 (%HoldsType.6d0) = value_binding x, %x.param +// CHECK:STDOUT: %x: @F.%HoldsType.loc12_47.1 (%HoldsType.110) = value_binding x, %x.param // CHECK:STDOUT: %a.param: = value_param call_param1 // CHECK:STDOUT: %.1: = splice_block [concrete = ] { // CHECK:STDOUT: %T.ref.loc12_60: %array_type = name_ref T, %T.loc12_7.2 [symbolic = %T.loc12_7.1 (constants.%T.9b7)] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc12_62.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc12_62.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc12_62.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc12_62.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc12_62.2: %i32 = converted %int_0, %.loc12_62.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc12_62.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc12_62.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc12_62.2: %i32 = converted %int_0, %.loc12_62.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc12_63.1: ref %array_type = value_as_ref %T.ref.loc12_60 // CHECK:STDOUT: %.loc12_63.2: ref type = array_index %.loc12_63.1, %.loc12_62.2 // CHECK:STDOUT: %.loc12_63.3: type = acquire_value %.loc12_63.2 @@ -1036,7 +1036,7 @@ fn G() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%HoldsType.6d0 +// CHECK:STDOUT: .Self = constants.%HoldsType.110 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1050,13 +1050,13 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc12_7.2: %array_type) { // CHECK:STDOUT: %T.loc12_7.1: %array_type = symbolic_binding T, 0 [symbolic = %T.loc12_7.1 (constants.%T.9b7)] -// CHECK:STDOUT: %HoldsType.loc12_47.1: type = class_type @HoldsType, @HoldsType(%T.loc12_7.1) [symbolic = %HoldsType.loc12_47.1 (constants.%HoldsType.6d0)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %HoldsType.loc12_47.1 [symbolic = %pattern_type (constants.%pattern_type.fbd)] +// CHECK:STDOUT: %HoldsType.loc12_47.1: type = class_type @HoldsType, @HoldsType(%T.loc12_7.1) [symbolic = %HoldsType.loc12_47.1 (constants.%HoldsType.110)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %HoldsType.loc12_47.1 [symbolic = %pattern_type (constants.%pattern_type.73c)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %HoldsType.loc12_47.1 [symbolic = %require_complete (constants.%require_complete.07b)] +// CHECK:STDOUT: %require_complete: = require_complete_type %HoldsType.loc12_47.1 [symbolic = %require_complete (constants.%require_complete.7f6)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc12_47.1 (%HoldsType.6d0), %a.param: ) { +// CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc12_47.1 (%HoldsType.110), %a.param: ) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1068,11 +1068,11 @@ fn G() { // CHECK:STDOUT: %.loc17_6.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc17_25.1: %tuple.type.85c = tuple_literal (%C.ref) [concrete = constants.%tuple.3c6] +// CHECK:STDOUT: %.loc17_25.1: %tuple.type.85c = tuple_literal (%C.ref) [concrete = constants.%tuple.983] // CHECK:STDOUT: %.loc17_36: type = type_literal type [concrete = type] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: %array_type: type = array_type %int_1, %.loc17_36 [concrete = constants.%array_type] -// CHECK:STDOUT: %impl.elem0: %.173 = impl_witness_access constants.%Copy.impl_witness.592, element0 [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.31b = impl_witness_access constants.%Copy.impl_witness.f49, element0 [concrete = constants.%type.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %C.ref, %impl.elem0 [concrete = constants.%type.as.Copy.impl.Op.bound] // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%C.ref) [concrete = constants.%C] // CHECK:STDOUT: %.loc17_25.2: ref %array_type = temporary_storage @@ -1081,25 +1081,25 @@ fn G() { // CHECK:STDOUT: %.loc17_25.4: init type to %.loc17_25.3 = in_place_init %type.as.Copy.impl.Op.call [concrete = constants.%C] // CHECK:STDOUT: %.loc17_25.5: init %array_type to %.loc17_25.2 = array_init (%.loc17_25.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc17_27.1: init %array_type = converted %.loc17_25.1, %.loc17_25.5 [concrete = constants.%array] -// CHECK:STDOUT: %.loc17_27.2: ref %array_type = temporary %.loc17_25.2, %.loc17_27.1 [concrete = constants.%.3fa] +// CHECK:STDOUT: %.loc17_27.2: ref %array_type = temporary %.loc17_25.2, %.loc17_27.1 [concrete = constants.%.8e9] // CHECK:STDOUT: %.loc17_27.3: %array_type = acquire_value %.loc17_27.2 [concrete = constants.%array] -// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%array) [concrete = constants.%HoldsType.c6c] -// CHECK:STDOUT: %.loc17_6.2: ref %HoldsType.c6c = temporary_storage -// CHECK:STDOUT: %.loc17_6.3: init %HoldsType.c6c to %.loc17_6.2 = class_init () [concrete = constants.%HoldsType.val] -// CHECK:STDOUT: %.loc17_8.1: init %HoldsType.c6c = converted %.loc17_6.1, %.loc17_6.3 [concrete = constants.%HoldsType.val] +// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%array) [concrete = constants.%HoldsType.7e3] +// CHECK:STDOUT: %.loc17_6.2: ref %HoldsType.7e3 = temporary_storage +// CHECK:STDOUT: %.loc17_6.3: init %HoldsType.7e3 to %.loc17_6.2 = class_init () [concrete = constants.%HoldsType.val] +// CHECK:STDOUT: %.loc17_8.1: init %HoldsType.7e3 = converted %.loc17_6.1, %.loc17_6.3 [concrete = constants.%HoldsType.val] // CHECK:STDOUT: %.loc17_48: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%array) [concrete = constants.%F.specific_fn] -// CHECK:STDOUT: %.loc17_8.2: ref %HoldsType.c6c = temporary %.loc17_6.2, %.loc17_8.1 [concrete = constants.%.01d] -// CHECK:STDOUT: %.loc17_8.3: %HoldsType.c6c = acquire_value %.loc17_8.2 [concrete = constants.%HoldsType.val] +// CHECK:STDOUT: %.loc17_8.2: ref %HoldsType.7e3 = temporary %.loc17_6.2, %.loc17_8.1 [concrete = constants.%.407] +// CHECK:STDOUT: %.loc17_8.3: %HoldsType.7e3 = acquire_value %.loc17_8.2 [concrete = constants.%HoldsType.val] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%.loc17_8.3, ) -// CHECK:STDOUT: %Destroy.Op.call.loc17_8: init %empty_tuple.type = call constants.%Destroy.Op.bound.862(constants.%.01d) -// CHECK:STDOUT: %Destroy.Op.call.loc17_27: init %empty_tuple.type = call constants.%Destroy.Op.bound.5f8(constants.%.3fa) +// CHECK:STDOUT: %Destroy.Op.call.loc17_8: init %empty_tuple.type = call constants.%Destroy.Op.bound.c0e(constants.%.407) +// CHECK:STDOUT: %Destroy.Op.call.loc17_27: init %empty_tuple.type = call constants.%Destroy.Op.bound.4f1(constants.%.8e9) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc17_8.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc17_8.2(%self.param: ref %HoldsType.c6c) { +// CHECK:STDOUT: fn @Destroy.Op.loc17_8.2(%self.param: ref %HoldsType.7e3) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1119,8 +1119,8 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T.9b7) { // CHECK:STDOUT: %T.loc12_7.1 => constants.%T.9b7 -// CHECK:STDOUT: %HoldsType.loc12_47.1 => constants.%HoldsType.6d0 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.fbd +// CHECK:STDOUT: %HoldsType.loc12_47.1 => constants.%HoldsType.110 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.73c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HoldsType(constants.%array) { @@ -1131,8 +1131,8 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%array) { // CHECK:STDOUT: %T.loc12_7.1 => constants.%array -// CHECK:STDOUT: %HoldsType.loc12_47.1 => constants.%HoldsType.c6c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.246 +// CHECK:STDOUT: %HoldsType.loc12_47.1 => constants.%HoldsType.7e3 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.52b // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.357 diff --git a/toolchain/check/testdata/eval/aggregates.carbon b/toolchain/check/testdata/eval/aggregates.carbon index 08c3fd763031..62a7293100fe 100644 --- a/toolchain/check/testdata/eval/aggregates.carbon +++ b/toolchain/check/testdata/eval/aggregates.carbon @@ -60,65 +60,65 @@ fn G(N:! i32) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.8e3: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %pattern_type.624: type = pattern_type %tuple.type.87c [concrete] +// CHECK:STDOUT: %tuple.79d: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %pattern_type.7d6: type = pattern_type %tuple.type.e5a [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %tuple.type.f94: type = tuple_type (Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.ad8: %tuple.type.f94 = tuple_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %tuple.03f: %tuple.type.87c = tuple_value (%int_1.d5e, %int_2.4ff) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %tuple.cd5: %tuple.type.e5a = tuple_value (%int_1.d9c, %int_2.228) [concrete] // CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access file.%tuple_copy.var, element0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.8e9: = bound_method %int_1.d5e, %Int.as.Copy.impl.Op.c4a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.547: = bound_method %int_1.d5e, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.1a4: = bound_method %int_1.d9c, %Int.as.Copy.impl.Op.ce7 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.848: = bound_method %int_1.d9c, %Int.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: %tuple.elem1: ref %i32 = tuple_access file.%tuple_copy.var, element1 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.71c: = bound_method %int_2.4ff, %Int.as.Copy.impl.Op.c4a [concrete] -// CHECK:STDOUT: %bound_method.605: = bound_method %int_2.4ff, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.a01: = bound_method %int_2.228, %Int.as.Copy.impl.Op.ce7 [concrete] +// CHECK:STDOUT: %bound_method.190: = bound_method %int_2.228, %Int.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: %struct_type.a.b.c: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.a5c: type = pattern_type %struct_type.a.b.c [concrete] +// CHECK:STDOUT: %pattern_type.5d6: type = pattern_type %struct_type.a.b.c [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %struct_type.c.b.a: type = struct_type {.c: Core.IntLiteral, .b: Core.IntLiteral, .a: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.c75: %struct_type.c.b.a = struct_value (%int_3.1ba, %int_2.ecc, %int_1.5b8) [concrete] // CHECK:STDOUT: %struct_type.b.a.c: type = struct_type {.b: %i32, .a: %i32, .c: %i32} [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %struct.143: %struct_type.b.a.c = struct_value (%int_2.4ff, %int_1.d5e, %int_3.49a) [concrete] -// CHECK:STDOUT: %.1a3: ref %i32 = struct_access file.%struct_copy.var, element1 [concrete] -// CHECK:STDOUT: %.2f7: ref %i32 = struct_access file.%struct_copy.var, element0 [concrete] -// CHECK:STDOUT: %.a38: ref %i32 = struct_access file.%struct_copy.var, element2 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.6d3: = bound_method %int_3.49a, %Int.as.Copy.impl.Op.c4a [concrete] -// CHECK:STDOUT: %bound_method.a6b: = bound_method %int_3.49a, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %struct.c52: %struct_type.a.b.c = struct_value (%int_1.d5e, %int_2.4ff, %int_3.49a) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %struct.113: %struct_type.b.a.c = struct_value (%int_2.228, %int_1.d9c, %int_3.6cc) [concrete] +// CHECK:STDOUT: %.b13: ref %i32 = struct_access file.%struct_copy.var, element1 [concrete] +// CHECK:STDOUT: %.36d: ref %i32 = struct_access file.%struct_copy.var, element0 [concrete] +// CHECK:STDOUT: %.5a0: ref %i32 = struct_access file.%struct_copy.var, element2 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.0e3: = bound_method %int_3.6cc, %Int.as.Copy.impl.Op.ce7 [concrete] +// CHECK:STDOUT: %bound_method.033: = bound_method %int_3.6cc, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %struct.c8f: %struct_type.a.b.c = struct_value (%int_1.d9c, %int_2.228, %int_3.6cc) [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.6f3: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.34b: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.4f2: %tuple.type.985 = tuple_value (%int_0.5c6) [concrete] @@ -127,37 +127,37 @@ fn G(N:! i32) { // CHECK:STDOUT: %int_9: Core.IntLiteral = int_value 9 [concrete] // CHECK:STDOUT: %tuple.type.d46: type = tuple_type (Core.IntLiteral, Core.IntLiteral, Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.869: %tuple.type.d46 = tuple_value (%int_5, %int_7, %int_1.5b8, %int_9) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%int_0.155) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%int_0.62d) [concrete] // CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.a81: %struct_type.a.b = struct_value (%int_3.1ba, %int_1.5b8) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %tuple_copy.patt: %pattern_type.624 = ref_binding_pattern tuple_copy [concrete] -// CHECK:STDOUT: %tuple_copy.var_patt: %pattern_type.624 = var_pattern %tuple_copy.patt [concrete] +// CHECK:STDOUT: %tuple_copy.patt: %pattern_type.7d6 = ref_binding_pattern tuple_copy [concrete] +// CHECK:STDOUT: %tuple_copy.var_patt: %pattern_type.7d6 = var_pattern %tuple_copy.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %tuple_copy.var: ref %tuple.type.87c = var %tuple_copy.var_patt [concrete] -// CHECK:STDOUT: %.loc4_26.1: type = splice_block %.loc4_26.3 [concrete = constants.%tuple.type.87c] { +// CHECK:STDOUT: %tuple_copy.var: ref %tuple.type.e5a = var %tuple_copy.var_patt [concrete] +// CHECK:STDOUT: %.loc4_26.1: type = splice_block %.loc4_26.3 [concrete = constants.%tuple.type.e5a] { // CHECK:STDOUT: %i32.loc4_18: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc4_23: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_26.2: %tuple.type.24b = tuple_literal (%i32.loc4_18, %i32.loc4_23) [concrete = constants.%tuple.8e3] -// CHECK:STDOUT: %.loc4_26.3: type = converted %.loc4_26.2, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] +// CHECK:STDOUT: %.loc4_26.2: %tuple.type.24b = tuple_literal (%i32.loc4_18, %i32.loc4_23) [concrete = constants.%tuple.79d] +// CHECK:STDOUT: %.loc4_26.3: type = converted %.loc4_26.2, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] // CHECK:STDOUT: } -// CHECK:STDOUT: %tuple_copy: ref %tuple.type.87c = ref_binding tuple_copy, %tuple_copy.var [concrete = %tuple_copy.var] +// CHECK:STDOUT: %tuple_copy: ref %tuple.type.e5a = ref_binding tuple_copy, %tuple_copy.var [concrete = %tuple_copy.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %struct_copy.patt: %pattern_type.a5c = ref_binding_pattern struct_copy [concrete] -// CHECK:STDOUT: %struct_copy.var_patt: %pattern_type.a5c = var_pattern %struct_copy.patt [concrete] +// CHECK:STDOUT: %struct_copy.patt: %pattern_type.5d6 = ref_binding_pattern struct_copy [concrete] +// CHECK:STDOUT: %struct_copy.var_patt: %pattern_type.5d6 = var_pattern %struct_copy.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %struct_copy.var: ref %struct_type.a.b.c = var %struct_copy.var_patt [concrete] // CHECK:STDOUT: %.loc6: type = splice_block %struct_type.a.b.c [concrete = constants.%struct_type.a.b.c] { @@ -168,8 +168,8 @@ fn G(N:! i32) { // CHECK:STDOUT: } // CHECK:STDOUT: %struct_copy: ref %struct_type.a.b.c = ref_binding struct_copy, %struct_copy.var [concrete = %struct_copy.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %tuple_index.patt: %pattern_type.6f3 = ref_binding_pattern tuple_index [concrete] -// CHECK:STDOUT: %tuple_index.var_patt: %pattern_type.6f3 = var_pattern %tuple_index.patt [concrete] +// CHECK:STDOUT: %tuple_index.patt: %pattern_type.34b = ref_binding_pattern tuple_index [concrete] +// CHECK:STDOUT: %tuple_index.var_patt: %pattern_type.34b = var_pattern %tuple_index.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %tuple_index.var: ref %array_type = var %tuple_index.var_patt [concrete] // CHECK:STDOUT: %.loc8: type = splice_block %array_type.loc8 [concrete = constants.%array_type] { @@ -179,8 +179,8 @@ fn G(N:! i32) { // CHECK:STDOUT: } // CHECK:STDOUT: %tuple_index: ref %array_type = ref_binding tuple_index, %tuple_index.var [concrete = %tuple_index.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %struct_access.patt: %pattern_type.6f3 = ref_binding_pattern struct_access [concrete] -// CHECK:STDOUT: %struct_access.var_patt: %pattern_type.6f3 = var_pattern %struct_access.patt [concrete] +// CHECK:STDOUT: %struct_access.patt: %pattern_type.34b = ref_binding_pattern struct_access [concrete] +// CHECK:STDOUT: %struct_access.var_patt: %pattern_type.34b = var_pattern %struct_access.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %struct_access.var: ref %array_type = var %struct_access.var_patt [concrete] // CHECK:STDOUT: %.loc10: type = splice_block %array_type.loc10 [concrete = constants.%array_type] { @@ -198,42 +198,42 @@ fn G(N:! i32) { // CHECK:STDOUT: %.loc4_35.1: %tuple.type.f94 = tuple_literal (%int_1.loc4, %int_2.loc4) [concrete = constants.%tuple.ad8] // CHECK:STDOUT: %i32.loc4_41: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc4_46: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_49.1: %tuple.type.24b = tuple_literal (%i32.loc4_41, %i32.loc4_46) [concrete = constants.%tuple.8e3] -// CHECK:STDOUT: %.loc4_49.2: type = converted %.loc4_49.1, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] -// CHECK:STDOUT: %impl.elem0.loc4_35.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc4_35.1: = bound_method %int_1.loc4, %impl.elem0.loc4_35.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %.loc4_49.1: %tuple.type.24b = tuple_literal (%i32.loc4_41, %i32.loc4_46) [concrete = constants.%tuple.79d] +// CHECK:STDOUT: %.loc4_49.2: type = converted %.loc4_49.1, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] +// CHECK:STDOUT: %impl.elem0.loc4_35.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc4_35.1: = bound_method %int_1.loc4, %impl.elem0.loc4_35.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc4_35.1: = specific_function %impl.elem0.loc4_35.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc4_35.2: = bound_method %int_1.loc4, %specific_fn.loc4_35.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc4_35.1: init %i32 = call %bound_method.loc4_35.2(%int_1.loc4) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc4_35.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc4_35.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc4_35.3: %i32 = converted %int_1.loc4, %.loc4_35.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc4_35.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc4_35.3: = bound_method %int_2.loc4, %impl.elem0.loc4_35.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc4_35.2: = bound_method %int_1.loc4, %specific_fn.loc4_35.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc4_35.1: init %i32 = call %bound_method.loc4_35.2(%int_1.loc4) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc4_35.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc4_35.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc4_35.3: %i32 = converted %int_1.loc4, %.loc4_35.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc4_35.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc4_35.3: = bound_method %int_2.loc4, %impl.elem0.loc4_35.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc4_35.2: = specific_function %impl.elem0.loc4_35.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc4_35.4: = bound_method %int_2.loc4, %specific_fn.loc4_35.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc4_35.2: init %i32 = call %bound_method.loc4_35.4(%int_2.loc4) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc4_35.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc4_35.2 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc4_35.5: %i32 = converted %int_2.loc4, %.loc4_35.4 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %tuple.loc4: %tuple.type.87c = tuple_value (%.loc4_35.3, %.loc4_35.5) [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %.loc4_37.1: %tuple.type.87c = converted %.loc4_35.1, %tuple.loc4 [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %tuple.elem0.loc4_37.1: %i32 = tuple_access %.loc4_37.1, element0 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc4_37.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] -// CHECK:STDOUT: %bound_method.loc4_37.1: = bound_method %tuple.elem0.loc4_37.1, %impl.elem0.loc4_37.1 [concrete = constants.%Int.as.Copy.impl.Op.bound.8e9] +// CHECK:STDOUT: %bound_method.loc4_35.4: = bound_method %int_2.loc4, %specific_fn.loc4_35.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc4_35.2: init %i32 = call %bound_method.loc4_35.4(%int_2.loc4) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc4_35.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc4_35.2 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc4_35.5: %i32 = converted %int_2.loc4, %.loc4_35.4 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %tuple.loc4: %tuple.type.e5a = tuple_value (%.loc4_35.3, %.loc4_35.5) [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %.loc4_37.1: %tuple.type.e5a = converted %.loc4_35.1, %tuple.loc4 [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %tuple.elem0.loc4_37.1: %i32 = tuple_access %.loc4_37.1, element0 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc4_37.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] +// CHECK:STDOUT: %bound_method.loc4_37.1: = bound_method %tuple.elem0.loc4_37.1, %impl.elem0.loc4_37.1 [concrete = constants.%Int.as.Copy.impl.Op.bound.1a4] // CHECK:STDOUT: %specific_fn.loc4_37.1: = specific_function %impl.elem0.loc4_37.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc4_37.2: = bound_method %tuple.elem0.loc4_37.1, %specific_fn.loc4_37.1 [concrete = constants.%bound_method.547] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc4_37.1: init %i32 = call %bound_method.loc4_37.2(%tuple.elem0.loc4_37.1) [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc4_37.2: = bound_method %tuple.elem0.loc4_37.1, %specific_fn.loc4_37.1 [concrete = constants.%bound_method.848] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc4_37.1: init %i32 = call %bound_method.loc4_37.2(%tuple.elem0.loc4_37.1) [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %tuple.elem0.loc4_37.2: ref %i32 = tuple_access file.%tuple_copy.var, element0 [concrete = constants.%tuple.elem0] -// CHECK:STDOUT: %.loc4_37.2: init %i32 to %tuple.elem0.loc4_37.2 = in_place_init %Int.as.Copy.impl.Op.call.loc4_37.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %tuple.elem1.loc4_37.1: %i32 = tuple_access %.loc4_37.1, element1 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc4_37.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] -// CHECK:STDOUT: %bound_method.loc4_37.3: = bound_method %tuple.elem1.loc4_37.1, %impl.elem0.loc4_37.2 [concrete = constants.%Int.as.Copy.impl.Op.bound.71c] +// CHECK:STDOUT: %.loc4_37.2: init %i32 to %tuple.elem0.loc4_37.2 = in_place_init %Int.as.Copy.impl.Op.call.loc4_37.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %tuple.elem1.loc4_37.1: %i32 = tuple_access %.loc4_37.1, element1 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc4_37.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] +// CHECK:STDOUT: %bound_method.loc4_37.3: = bound_method %tuple.elem1.loc4_37.1, %impl.elem0.loc4_37.2 [concrete = constants.%Int.as.Copy.impl.Op.bound.a01] // CHECK:STDOUT: %specific_fn.loc4_37.2: = specific_function %impl.elem0.loc4_37.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc4_37.4: = bound_method %tuple.elem1.loc4_37.1, %specific_fn.loc4_37.2 [concrete = constants.%bound_method.605] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc4_37.2: init %i32 = call %bound_method.loc4_37.4(%tuple.elem1.loc4_37.1) [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc4_37.4: = bound_method %tuple.elem1.loc4_37.1, %specific_fn.loc4_37.2 [concrete = constants.%bound_method.190] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc4_37.2: init %i32 = call %bound_method.loc4_37.4(%tuple.elem1.loc4_37.1) [concrete = constants.%int_2.228] // CHECK:STDOUT: %tuple.elem1.loc4_37.2: ref %i32 = tuple_access file.%tuple_copy.var, element1 [concrete = constants.%tuple.elem1] -// CHECK:STDOUT: %.loc4_37.3: init %i32 to %tuple.elem1.loc4_37.2 = in_place_init %Int.as.Copy.impl.Op.call.loc4_37.2 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc4_37.4: init %tuple.type.87c to file.%tuple_copy.var = tuple_init (%.loc4_37.2, %.loc4_37.3) [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %.loc4_1: init %tuple.type.87c = converted %.loc4_37.1, %.loc4_37.4 [concrete = constants.%tuple.03f] +// CHECK:STDOUT: %.loc4_37.3: init %i32 to %tuple.elem1.loc4_37.2 = in_place_init %Int.as.Copy.impl.Op.call.loc4_37.2 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc4_37.4: init %tuple.type.e5a to file.%tuple_copy.var = tuple_init (%.loc4_37.2, %.loc4_37.3) [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %.loc4_1: init %tuple.type.e5a = converted %.loc4_37.1, %.loc4_37.4 [concrete = constants.%tuple.cd5] // CHECK:STDOUT: assign file.%tuple_copy.var, %.loc4_1 // CHECK:STDOUT: %int_3.loc6: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %int_2.loc6: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] @@ -243,55 +243,55 @@ fn G(N:! i32) { // CHECK:STDOUT: %i32.loc6_90: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc6_99: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %struct_type.b.a.c: type = struct_type {.b: %i32, .a: %i32, .c: %i32} [concrete = constants.%struct_type.b.a.c] -// CHECK:STDOUT: %impl.elem0.loc6_71.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_71.1: = bound_method %int_2.loc6, %impl.elem0.loc6_71.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0.loc6_71.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_71.1: = bound_method %int_2.loc6, %impl.elem0.loc6_71.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc6_71.1: = specific_function %impl.elem0.loc6_71.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_71.2: = bound_method %int_2.loc6, %specific_fn.loc6_71.1 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_71.1: init %i32 = call %bound_method.loc6_71.2(%int_2.loc6) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc6_71.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_71.1 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc6_71.3: %i32 = converted %int_2.loc6, %.loc6_71.2 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc6_71.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_71.3: = bound_method %int_1.loc6, %impl.elem0.loc6_71.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %bound_method.loc6_71.2: = bound_method %int_2.loc6, %specific_fn.loc6_71.1 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_71.1: init %i32 = call %bound_method.loc6_71.2(%int_2.loc6) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc6_71.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_71.1 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc6_71.3: %i32 = converted %int_2.loc6, %.loc6_71.2 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc6_71.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_71.3: = bound_method %int_1.loc6, %impl.elem0.loc6_71.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc6_71.2: = specific_function %impl.elem0.loc6_71.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_71.4: = bound_method %int_1.loc6, %specific_fn.loc6_71.2 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_71.2: init %i32 = call %bound_method.loc6_71.4(%int_1.loc6) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc6_71.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_71.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc6_71.5: %i32 = converted %int_1.loc6, %.loc6_71.4 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc6_71.3: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_71.5: = bound_method %int_3.loc6, %impl.elem0.loc6_71.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %bound_method.loc6_71.4: = bound_method %int_1.loc6, %specific_fn.loc6_71.2 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_71.2: init %i32 = call %bound_method.loc6_71.4(%int_1.loc6) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc6_71.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_71.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc6_71.5: %i32 = converted %int_1.loc6, %.loc6_71.4 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc6_71.3: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_71.5: = bound_method %int_3.loc6, %impl.elem0.loc6_71.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc6_71.3: = specific_function %impl.elem0.loc6_71.3, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_71.6: = bound_method %int_3.loc6, %specific_fn.loc6_71.3 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_71.3: init %i32 = call %bound_method.loc6_71.6(%int_3.loc6) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc6_71.6: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_71.3 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc6_71.7: %i32 = converted %int_3.loc6, %.loc6_71.6 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %struct.loc6: %struct_type.b.a.c = struct_value (%.loc6_71.3, %.loc6_71.5, %.loc6_71.7) [concrete = constants.%struct.143] -// CHECK:STDOUT: %.loc6_73.1: %struct_type.b.a.c = converted %.loc6_71.1, %struct.loc6 [concrete = constants.%struct.143] -// CHECK:STDOUT: %.loc6_73.2: %i32 = struct_access %.loc6_73.1, element1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc6_73.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] -// CHECK:STDOUT: %bound_method.loc6_73.1: = bound_method %.loc6_73.2, %impl.elem0.loc6_73.1 [concrete = constants.%Int.as.Copy.impl.Op.bound.8e9] +// CHECK:STDOUT: %bound_method.loc6_71.6: = bound_method %int_3.loc6, %specific_fn.loc6_71.3 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_71.3: init %i32 = call %bound_method.loc6_71.6(%int_3.loc6) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc6_71.6: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_71.3 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc6_71.7: %i32 = converted %int_3.loc6, %.loc6_71.6 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %struct.loc6: %struct_type.b.a.c = struct_value (%.loc6_71.3, %.loc6_71.5, %.loc6_71.7) [concrete = constants.%struct.113] +// CHECK:STDOUT: %.loc6_73.1: %struct_type.b.a.c = converted %.loc6_71.1, %struct.loc6 [concrete = constants.%struct.113] +// CHECK:STDOUT: %.loc6_73.2: %i32 = struct_access %.loc6_73.1, element1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc6_73.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] +// CHECK:STDOUT: %bound_method.loc6_73.1: = bound_method %.loc6_73.2, %impl.elem0.loc6_73.1 [concrete = constants.%Int.as.Copy.impl.Op.bound.1a4] // CHECK:STDOUT: %specific_fn.loc6_73.1: = specific_function %impl.elem0.loc6_73.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_73.2: = bound_method %.loc6_73.2, %specific_fn.loc6_73.1 [concrete = constants.%bound_method.547] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_73.1: init %i32 = call %bound_method.loc6_73.2(%.loc6_73.2) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc6_73.3: ref %i32 = struct_access file.%struct_copy.var, element1 [concrete = constants.%.1a3] -// CHECK:STDOUT: %.loc6_73.4: init %i32 to %.loc6_73.3 = in_place_init %Int.as.Copy.impl.Op.call.loc6_73.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc6_73.5: %i32 = struct_access %.loc6_73.1, element0 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc6_73.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] -// CHECK:STDOUT: %bound_method.loc6_73.3: = bound_method %.loc6_73.5, %impl.elem0.loc6_73.2 [concrete = constants.%Int.as.Copy.impl.Op.bound.71c] +// CHECK:STDOUT: %bound_method.loc6_73.2: = bound_method %.loc6_73.2, %specific_fn.loc6_73.1 [concrete = constants.%bound_method.848] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_73.1: init %i32 = call %bound_method.loc6_73.2(%.loc6_73.2) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc6_73.3: ref %i32 = struct_access file.%struct_copy.var, element1 [concrete = constants.%.b13] +// CHECK:STDOUT: %.loc6_73.4: init %i32 to %.loc6_73.3 = in_place_init %Int.as.Copy.impl.Op.call.loc6_73.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc6_73.5: %i32 = struct_access %.loc6_73.1, element0 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc6_73.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] +// CHECK:STDOUT: %bound_method.loc6_73.3: = bound_method %.loc6_73.5, %impl.elem0.loc6_73.2 [concrete = constants.%Int.as.Copy.impl.Op.bound.a01] // CHECK:STDOUT: %specific_fn.loc6_73.2: = specific_function %impl.elem0.loc6_73.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_73.4: = bound_method %.loc6_73.5, %specific_fn.loc6_73.2 [concrete = constants.%bound_method.605] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_73.2: init %i32 = call %bound_method.loc6_73.4(%.loc6_73.5) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc6_73.6: ref %i32 = struct_access file.%struct_copy.var, element0 [concrete = constants.%.2f7] -// CHECK:STDOUT: %.loc6_73.7: init %i32 to %.loc6_73.6 = in_place_init %Int.as.Copy.impl.Op.call.loc6_73.2 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc6_73.8: %i32 = struct_access %.loc6_73.1, element2 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %impl.elem0.loc6_73.3: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] -// CHECK:STDOUT: %bound_method.loc6_73.5: = bound_method %.loc6_73.8, %impl.elem0.loc6_73.3 [concrete = constants.%Int.as.Copy.impl.Op.bound.6d3] +// CHECK:STDOUT: %bound_method.loc6_73.4: = bound_method %.loc6_73.5, %specific_fn.loc6_73.2 [concrete = constants.%bound_method.190] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_73.2: init %i32 = call %bound_method.loc6_73.4(%.loc6_73.5) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc6_73.6: ref %i32 = struct_access file.%struct_copy.var, element0 [concrete = constants.%.36d] +// CHECK:STDOUT: %.loc6_73.7: init %i32 to %.loc6_73.6 = in_place_init %Int.as.Copy.impl.Op.call.loc6_73.2 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc6_73.8: %i32 = struct_access %.loc6_73.1, element2 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %impl.elem0.loc6_73.3: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] +// CHECK:STDOUT: %bound_method.loc6_73.5: = bound_method %.loc6_73.8, %impl.elem0.loc6_73.3 [concrete = constants.%Int.as.Copy.impl.Op.bound.0e3] // CHECK:STDOUT: %specific_fn.loc6_73.3: = specific_function %impl.elem0.loc6_73.3, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_73.6: = bound_method %.loc6_73.8, %specific_fn.loc6_73.3 [concrete = constants.%bound_method.a6b] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_73.3: init %i32 = call %bound_method.loc6_73.6(%.loc6_73.8) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc6_73.9: ref %i32 = struct_access file.%struct_copy.var, element2 [concrete = constants.%.a38] -// CHECK:STDOUT: %.loc6_73.10: init %i32 to %.loc6_73.9 = in_place_init %Int.as.Copy.impl.Op.call.loc6_73.3 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc6_73.11: init %struct_type.a.b.c to file.%struct_copy.var = struct_init (%.loc6_73.4, %.loc6_73.7, %.loc6_73.10) [concrete = constants.%struct.c52] -// CHECK:STDOUT: %.loc6_1: init %struct_type.a.b.c = converted %.loc6_73.1, %.loc6_73.11 [concrete = constants.%struct.c52] +// CHECK:STDOUT: %bound_method.loc6_73.6: = bound_method %.loc6_73.8, %specific_fn.loc6_73.3 [concrete = constants.%bound_method.033] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_73.3: init %i32 = call %bound_method.loc6_73.6(%.loc6_73.8) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc6_73.9: ref %i32 = struct_access file.%struct_copy.var, element2 [concrete = constants.%.5a0] +// CHECK:STDOUT: %.loc6_73.10: init %i32 to %.loc6_73.9 = in_place_init %Int.as.Copy.impl.Op.call.loc6_73.3 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc6_73.11: init %struct_type.a.b.c to file.%struct_copy.var = struct_init (%.loc6_73.4, %.loc6_73.7, %.loc6_73.10) [concrete = constants.%struct.c8f] +// CHECK:STDOUT: %.loc6_1: init %struct_type.a.b.c = converted %.loc6_73.1, %.loc6_73.11 [concrete = constants.%struct.c8f] // CHECK:STDOUT: assign file.%struct_copy.var, %.loc6_1 // CHECK:STDOUT: %int_0.loc8_35: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc8_37.1: %tuple.type.985 = tuple_literal (%int_0.loc8_35) [concrete = constants.%tuple.4f2] @@ -306,16 +306,16 @@ fn G(N:! i32) { // CHECK:STDOUT: %.loc8_64.2: %tuple.type.d46 = converted %.loc8_64.1, %tuple.loc8 [concrete = constants.%tuple.869] // CHECK:STDOUT: %tuple.elem2: Core.IntLiteral = tuple_access %.loc8_64.2, element2 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %array_type.loc8: type = array_type %tuple.elem2, %i32.loc8 [concrete = constants.%array_type] -// CHECK:STDOUT: %impl.elem0.loc8: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_37.1: = bound_method %int_0.loc8_35, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc8: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_37.1: = bound_method %int_0.loc8_35, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_37.2: = bound_method %int_0.loc8_35, %specific_fn.loc8 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_37.2(%int_0.loc8_35) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc8_37.2: init %i32 = converted %int_0.loc8_35, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc8_37.2: = bound_method %int_0.loc8_35, %specific_fn.loc8 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_37.2(%int_0.loc8_35) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc8_37.2: init %i32 = converted %int_0.loc8_35, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc8_1: ref %array_type = splice_block file.%tuple_index.var [concrete = file.%tuple_index.var] {} // CHECK:STDOUT: %int_0.loc8_37: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc8_37.3: ref %i32 = array_index %.loc8_1, %int_0.loc8_37 -// CHECK:STDOUT: %.loc8_37.4: init %i32 to %.loc8_37.3 = in_place_init %.loc8_37.2 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %.loc8_37.4: init %i32 to %.loc8_37.3 = in_place_init %.loc8_37.2 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc8_37.5: init %array_type to %.loc8_1 = array_init (%.loc8_37.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc8_39: init %array_type = converted %.loc8_37.1, %.loc8_37.5 [concrete = constants.%array] // CHECK:STDOUT: assign file.%tuple_index.var, %.loc8_39 @@ -329,16 +329,16 @@ fn G(N:! i32) { // CHECK:STDOUT: %.loc10_70.2: %struct_type.a.b = converted %.loc10_70.1, %struct.loc10 [concrete = constants.%struct.a81] // CHECK:STDOUT: %.loc10_71: Core.IntLiteral = struct_access %.loc10_70.2, element1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %array_type.loc10: type = array_type %.loc10_71, %i32.loc10 [concrete = constants.%array_type] -// CHECK:STDOUT: %impl.elem0.loc10: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_39.1: = bound_method %int_0.loc10_37, %impl.elem0.loc10 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc10: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_39.1: = bound_method %int_0.loc10_37, %impl.elem0.loc10 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_39.2: = bound_method %int_0.loc10_37, %specific_fn.loc10 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10: init %i32 = call %bound_method.loc10_39.2(%int_0.loc10_37) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc10_39.2: init %i32 = converted %int_0.loc10_37, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc10_39.2: = bound_method %int_0.loc10_37, %specific_fn.loc10 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10: init %i32 = call %bound_method.loc10_39.2(%int_0.loc10_37) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc10_39.2: init %i32 = converted %int_0.loc10_37, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc10_1: ref %array_type = splice_block file.%struct_access.var [concrete = file.%struct_access.var] {} // CHECK:STDOUT: %int_0.loc10_39: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc10_39.3: ref %i32 = array_index %.loc10_1, %int_0.loc10_39 -// CHECK:STDOUT: %.loc10_39.4: init %i32 to %.loc10_39.3 = in_place_init %.loc10_39.2 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %.loc10_39.4: init %i32 to %.loc10_39.3 = in_place_init %.loc10_39.2 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc10_39.5: init %array_type to %.loc10_1 = array_init (%.loc10_39.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc10_41: init %array_type = converted %.loc10_39.1, %.loc10_39.5 [concrete = constants.%array] // CHECK:STDOUT: assign file.%struct_access.var, %.loc10_41 @@ -351,8 +351,8 @@ fn G(N:! i32) { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %array_type.9b1: type = array_type %int_1.5b8, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.6f3: type = pattern_type %array_type.9b1 [concrete] +// CHECK:STDOUT: %array_type.e5f: type = array_type %int_1.5b8, %i32 [concrete] +// CHECK:STDOUT: %pattern_type.34b: type = pattern_type %array_type.e5f [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.4f2: %tuple.type.985 = tuple_value (%int_0) [concrete] @@ -362,56 +362,56 @@ fn G(N:! i32) { // CHECK:STDOUT: %tuple.type.d46: type = tuple_type (Core.IntLiteral, Core.IntLiteral, Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.869: %tuple.type.d46 = tuple_value (%int_5.64b, %int_7.29f, %int_1.5b8, %int_9.988) [concrete] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete] -// CHECK:STDOUT: %array_type.6c8: type = array_type %int_4, %i32 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %array_type.d7b: type = array_type %int_4, %i32 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.10b: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.dbb: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.a24: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_7.0de: %i32 = int_value 7 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e3e: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.286: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.936: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_7.c44: %i32 = int_value 7 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.299: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.e00: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_9.e6d: %i32 = int_value 9 [concrete] -// CHECK:STDOUT: %array: %array_type.6c8 = tuple_value (%int_5.c41, %int_7.0de, %int_1.d5e, %int_9.e6d) [concrete] -// CHECK:STDOUT: %.1ed: ref %array_type.6c8 = temporary invalid, %array [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.aba: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.50b: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_9.7e6: %i32 = int_value 9 [concrete] +// CHECK:STDOUT: %array: %array_type.d7b = tuple_value (%int_5.354, %int_7.c44, %int_1.d9c, %int_9.7e6) [concrete] +// CHECK:STDOUT: %.8d2: ref %array_type.d7b = temporary invalid, %array [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %array_index.patt: %pattern_type.6f3 = ref_binding_pattern array_index [concrete] -// CHECK:STDOUT: %array_index.var_patt: %pattern_type.6f3 = var_pattern %array_index.patt [concrete] +// CHECK:STDOUT: %array_index.patt: %pattern_type.34b = ref_binding_pattern array_index [concrete] +// CHECK:STDOUT: %array_index.var_patt: %pattern_type.34b = var_pattern %array_index.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %array_index.var: ref %array_type.9b1 = var %array_index.var_patt [concrete] -// CHECK:STDOUT: %.loc9: type = splice_block %array_type [concrete = constants.%array_type.9b1] { +// CHECK:STDOUT: %array_index.var: ref %array_type.e5f = var %array_index.var_patt [concrete] +// CHECK:STDOUT: %.loc9: type = splice_block %array_type [concrete = constants.%array_type.e5f] { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %array_type: type = array_type %int_1, %i32 [concrete = constants.%array_type.9b1] +// CHECK:STDOUT: %array_type: type = array_type %int_1, %i32 [concrete = constants.%array_type.e5f] // CHECK:STDOUT: } -// CHECK:STDOUT: %array_index: ref %array_type.9b1 = ref_binding array_index, %array_index.var [concrete = %array_index.var] +// CHECK:STDOUT: %array_index: ref %array_type.e5f = ref_binding array_index, %array_index.var [concrete = %array_index.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -426,55 +426,55 @@ fn G(N:! i32) { // CHECK:STDOUT: %.loc9_65.1: %tuple.type.d46 = tuple_literal (%int_5, %int_7, %int_1.loc9_61, %int_9) [concrete = constants.%tuple.869] // CHECK:STDOUT: %i32.loc9_76: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4] -// CHECK:STDOUT: %array_type: type = array_type %int_4, %i32.loc9_76 [concrete = constants.%array_type.6c8] -// CHECK:STDOUT: %impl.elem0.loc9_65.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_65.1: = bound_method %int_5, %impl.elem0.loc9_65.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52] +// CHECK:STDOUT: %array_type: type = array_type %int_4, %i32.loc9_76 [concrete = constants.%array_type.d7b] +// CHECK:STDOUT: %impl.elem0.loc9_65.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_65.1: = bound_method %int_5, %impl.elem0.loc9_65.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c] // CHECK:STDOUT: %specific_fn.loc9_65.1: = specific_function %impl.elem0.loc9_65.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_65.2: = bound_method %int_5, %specific_fn.loc9_65.1 [concrete = constants.%bound_method.10b] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.1: init %i32 = call %bound_method.loc9_65.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc9_65.2: init %i32 = converted %int_5, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.1 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc9_65.3: ref %array_type.6c8 = temporary_storage +// CHECK:STDOUT: %bound_method.loc9_65.2: = bound_method %int_5, %specific_fn.loc9_65.1 [concrete = constants.%bound_method.e3e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.1: init %i32 = call %bound_method.loc9_65.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc9_65.2: init %i32 = converted %int_5, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.1 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc9_65.3: ref %array_type.d7b = temporary_storage // CHECK:STDOUT: %int_0.loc9_65: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc9_65.4: ref %i32 = array_index %.loc9_65.3, %int_0.loc9_65 -// CHECK:STDOUT: %.loc9_65.5: init %i32 to %.loc9_65.4 = in_place_init %.loc9_65.2 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %impl.elem0.loc9_65.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_65.3: = bound_method %int_7, %impl.elem0.loc9_65.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.dbb] +// CHECK:STDOUT: %.loc9_65.5: init %i32 to %.loc9_65.4 = in_place_init %.loc9_65.2 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %impl.elem0.loc9_65.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_65.3: = bound_method %int_7, %impl.elem0.loc9_65.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.286] // CHECK:STDOUT: %specific_fn.loc9_65.2: = specific_function %impl.elem0.loc9_65.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_65.4: = bound_method %int_7, %specific_fn.loc9_65.2 [concrete = constants.%bound_method.a24] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.2: init %i32 = call %bound_method.loc9_65.4(%int_7) [concrete = constants.%int_7.0de] -// CHECK:STDOUT: %.loc9_65.6: init %i32 = converted %int_7, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.2 [concrete = constants.%int_7.0de] +// CHECK:STDOUT: %bound_method.loc9_65.4: = bound_method %int_7, %specific_fn.loc9_65.2 [concrete = constants.%bound_method.936] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.2: init %i32 = call %bound_method.loc9_65.4(%int_7) [concrete = constants.%int_7.c44] +// CHECK:STDOUT: %.loc9_65.6: init %i32 = converted %int_7, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.2 [concrete = constants.%int_7.c44] // CHECK:STDOUT: %int_1.loc9_65: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc9_65.7: ref %i32 = array_index %.loc9_65.3, %int_1.loc9_65 -// CHECK:STDOUT: %.loc9_65.8: init %i32 to %.loc9_65.7 = in_place_init %.loc9_65.6 [concrete = constants.%int_7.0de] -// CHECK:STDOUT: %impl.elem0.loc9_65.3: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_65.5: = bound_method %int_1.loc9_61, %impl.elem0.loc9_65.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %.loc9_65.8: init %i32 to %.loc9_65.7 = in_place_init %.loc9_65.6 [concrete = constants.%int_7.c44] +// CHECK:STDOUT: %impl.elem0.loc9_65.3: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_65.5: = bound_method %int_1.loc9_61, %impl.elem0.loc9_65.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc9_65.3: = specific_function %impl.elem0.loc9_65.3, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_65.6: = bound_method %int_1.loc9_61, %specific_fn.loc9_65.3 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.3: init %i32 = call %bound_method.loc9_65.6(%int_1.loc9_61) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_65.9: init %i32 = converted %int_1.loc9_61, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.3 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc9_65.6: = bound_method %int_1.loc9_61, %specific_fn.loc9_65.3 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.3: init %i32 = call %bound_method.loc9_65.6(%int_1.loc9_61) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_65.9: init %i32 = converted %int_1.loc9_61, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.3 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %int_2.loc9_65: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc9_65.10: ref %i32 = array_index %.loc9_65.3, %int_2.loc9_65 -// CHECK:STDOUT: %.loc9_65.11: init %i32 to %.loc9_65.10 = in_place_init %.loc9_65.9 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc9_65.4: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_65.7: = bound_method %int_9, %impl.elem0.loc9_65.4 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.299] +// CHECK:STDOUT: %.loc9_65.11: init %i32 to %.loc9_65.10 = in_place_init %.loc9_65.9 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc9_65.4: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_65.7: = bound_method %int_9, %impl.elem0.loc9_65.4 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.aba] // CHECK:STDOUT: %specific_fn.loc9_65.4: = specific_function %impl.elem0.loc9_65.4, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_65.8: = bound_method %int_9, %specific_fn.loc9_65.4 [concrete = constants.%bound_method.e00] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.4: init %i32 = call %bound_method.loc9_65.8(%int_9) [concrete = constants.%int_9.e6d] -// CHECK:STDOUT: %.loc9_65.12: init %i32 = converted %int_9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.4 [concrete = constants.%int_9.e6d] +// CHECK:STDOUT: %bound_method.loc9_65.8: = bound_method %int_9, %specific_fn.loc9_65.4 [concrete = constants.%bound_method.50b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.4: init %i32 = call %bound_method.loc9_65.8(%int_9) [concrete = constants.%int_9.7e6] +// CHECK:STDOUT: %.loc9_65.12: init %i32 = converted %int_9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_65.4 [concrete = constants.%int_9.7e6] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] // CHECK:STDOUT: %.loc9_65.13: ref %i32 = array_index %.loc9_65.3, %int_3 -// CHECK:STDOUT: %.loc9_65.14: init %i32 to %.loc9_65.13 = in_place_init %.loc9_65.12 [concrete = constants.%int_9.e6d] -// CHECK:STDOUT: %.loc9_65.15: init %array_type.6c8 to %.loc9_65.3 = array_init (%.loc9_65.5, %.loc9_65.8, %.loc9_65.11, %.loc9_65.14) [concrete = constants.%array] -// CHECK:STDOUT: %.loc9_67.1: init %array_type.6c8 = converted %.loc9_65.1, %.loc9_65.15 [concrete = constants.%array] +// CHECK:STDOUT: %.loc9_65.14: init %i32 to %.loc9_65.13 = in_place_init %.loc9_65.12 [concrete = constants.%int_9.7e6] +// CHECK:STDOUT: %.loc9_65.15: init %array_type.d7b to %.loc9_65.3 = array_init (%.loc9_65.5, %.loc9_65.8, %.loc9_65.11, %.loc9_65.14) [concrete = constants.%array] +// CHECK:STDOUT: %.loc9_67.1: init %array_type.d7b = converted %.loc9_65.1, %.loc9_65.15 [concrete = constants.%array] // CHECK:STDOUT: %int_2.loc9_85: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %.loc9_67.2: ref %array_type.6c8 = temporary %.loc9_65.3, %.loc9_67.1 [concrete = constants.%.1ed] -// CHECK:STDOUT: %impl.elem0.loc9_85: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_85.1: = bound_method %int_2.loc9_85, %impl.elem0.loc9_85 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc9_67.2: ref %array_type.d7b = temporary %.loc9_65.3, %.loc9_67.1 [concrete = constants.%.8d2] +// CHECK:STDOUT: %impl.elem0.loc9_85: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_85.1: = bound_method %int_2.loc9_85, %impl.elem0.loc9_85 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc9_85: = specific_function %impl.elem0.loc9_85, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_85.2: = bound_method %int_2.loc9_85, %specific_fn.loc9_85 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_85: init %i32 = call %bound_method.loc9_85.2(%int_2.loc9_85) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc9_85.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_85 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc9_85.2: %i32 = converted %int_2.loc9_85, %.loc9_85.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc9_85.2: = bound_method %int_2.loc9_85, %specific_fn.loc9_85 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_85: init %i32 = call %bound_method.loc9_85.2(%int_2.loc9_85) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc9_85.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_85 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc9_85.2: %i32 = converted %int_2.loc9_85, %.loc9_85.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc9_86.1: ref %i32 = array_index %.loc9_67.2, %.loc9_85.2 // CHECK:STDOUT: %.loc9_86.2: %i32 = acquire_value %.loc9_86.1 // CHECK:STDOUT: assign file.%array_index.var, @@ -485,244 +485,244 @@ fn G(N:! i32) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %T.1e6: %Destroy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.c66: %Destroy.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %T.as_type.5e0: type = facet_access_type %T.1e6 [symbolic] -// CHECK:STDOUT: %ptr.fa5: type = ptr_type %T.as_type.5e0 [symbolic] -// CHECK:STDOUT: %const: type = const_type %T.as_type.5e0 [symbolic] +// CHECK:STDOUT: %T.as_type.7e7: type = facet_access_type %T.c66 [symbolic] +// CHECK:STDOUT: %ptr.de4: type = ptr_type %T.as_type.7e7 [symbolic] +// CHECK:STDOUT: %const: type = const_type %T.as_type.7e7 [symbolic] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%ptr.fa5, %const) [symbolic] -// CHECK:STDOUT: %tuple.type.823: type = tuple_type (%ptr.fa5, %const) [symbolic] -// CHECK:STDOUT: %require_complete.92a: = require_complete_type %tuple.type.823 [symbolic] -// CHECK:STDOUT: %pattern_type.9f8: type = pattern_type %tuple.type.823 [symbolic] +// CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%ptr.de4, %const) [symbolic] +// CHECK:STDOUT: %tuple.type.138: type = tuple_type (%ptr.de4, %const) [symbolic] +// CHECK:STDOUT: %require_complete.440: = require_complete_type %tuple.type.138 [symbolic] +// CHECK:STDOUT: %pattern_type.abf: type = pattern_type %tuple.type.138 [symbolic] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.c79: = lookup_impl_witness %tuple.type.823, @DefaultOrUnformed [symbolic] -// CHECK:STDOUT: %.884: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%tuple.type.823) [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.facet.e0a: %DefaultOrUnformed.type = facet_value %tuple.type.823, (%DefaultOrUnformed.lookup_impl_witness.c79) [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.1d3: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.e0a) [symbolic] -// CHECK:STDOUT: %.99f: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.1d3, %DefaultOrUnformed.facet.e0a [symbolic] -// CHECK:STDOUT: %impl.elem0.ffa: %.99f = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.c79, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.1bf: = specific_impl_function %impl.elem0.ffa, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.e0a) [symbolic] -// CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %T.as_type.5e0} [symbolic] -// CHECK:STDOUT: %require_complete.625: = require_complete_type %struct_type.a [symbolic] -// CHECK:STDOUT: %pattern_type.d24: type = pattern_type %struct_type.a [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.fc9: = lookup_impl_witness %struct_type.a, @DefaultOrUnformed [symbolic] -// CHECK:STDOUT: %.264: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%struct_type.a) [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.facet.5f7: %DefaultOrUnformed.type = facet_value %struct_type.a, (%DefaultOrUnformed.lookup_impl_witness.fc9) [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.e11: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.5f7) [symbolic] -// CHECK:STDOUT: %.fac: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.e11, %DefaultOrUnformed.facet.5f7 [symbolic] -// CHECK:STDOUT: %impl.elem0.e13: %.fac = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.fc9, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.76e: = specific_impl_function %impl.elem0.e13, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.5f7) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.76d: = lookup_impl_witness %tuple.type.138, @DefaultOrUnformed [symbolic] +// CHECK:STDOUT: %.90f: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%tuple.type.138) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.facet.c31: %DefaultOrUnformed.type = facet_value %tuple.type.138, (%DefaultOrUnformed.lookup_impl_witness.76d) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.368: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.c31) [symbolic] +// CHECK:STDOUT: %.fdd: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.368, %DefaultOrUnformed.facet.c31 [symbolic] +// CHECK:STDOUT: %impl.elem0.069: %.fdd = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.76d, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.2d5: = specific_impl_function %impl.elem0.069, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.c31) [symbolic] +// CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %T.as_type.7e7} [symbolic] +// CHECK:STDOUT: %require_complete.285: = require_complete_type %struct_type.a [symbolic] +// CHECK:STDOUT: %pattern_type.a65: type = pattern_type %struct_type.a [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.994: = lookup_impl_witness %struct_type.a, @DefaultOrUnformed [symbolic] +// CHECK:STDOUT: %.b1d: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%struct_type.a) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.facet.a30: %DefaultOrUnformed.type = facet_value %struct_type.a, (%DefaultOrUnformed.lookup_impl_witness.994) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.a65: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.a30) [symbolic] +// CHECK:STDOUT: %.8e4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.a65, %DefaultOrUnformed.facet.a30 [symbolic] +// CHECK:STDOUT: %impl.elem0.5b5: %.8e4 = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.994, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.382: = specific_impl_function %impl.elem0.5b5, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.a30) [symbolic] // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete] -// CHECK:STDOUT: %array_type.e98: type = array_type %int_5, %T.as_type.5e0 [symbolic] -// CHECK:STDOUT: %require_complete.c5f: = require_complete_type %array_type.e98 [symbolic] -// CHECK:STDOUT: %pattern_type.88e: type = pattern_type %array_type.e98 [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.411: = lookup_impl_witness %array_type.e98, @DefaultOrUnformed [symbolic] -// CHECK:STDOUT: %.424: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%array_type.e98) [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.facet.f62: %DefaultOrUnformed.type = facet_value %array_type.e98, (%DefaultOrUnformed.lookup_impl_witness.411) [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.616: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.f62) [symbolic] -// CHECK:STDOUT: %.1dc: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.616, %DefaultOrUnformed.facet.f62 [symbolic] -// CHECK:STDOUT: %impl.elem0.85a: %.1dc = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.411, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.cb6: = specific_impl_function %impl.elem0.85a, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.f62) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.f88: = lookup_impl_witness %array_type.e98, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.2ae: %Destroy.type = facet_value %array_type.e98, (%Destroy.lookup_impl_witness.f88) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.33d: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.2ae) [symbolic] -// CHECK:STDOUT: %.89c: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.33d, %Destroy.facet.2ae [symbolic] -// CHECK:STDOUT: %impl.elem0.c8c: %.89c = impl_witness_access %Destroy.lookup_impl_witness.f88, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.65c: = specific_impl_function %impl.elem0.c8c, @Destroy.WithSelf.Op(%Destroy.facet.2ae) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.27f: = lookup_impl_witness %struct_type.a, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.199: %Destroy.type = facet_value %struct_type.a, (%Destroy.lookup_impl_witness.27f) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.0d9: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.199) [symbolic] -// CHECK:STDOUT: %.a54: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.0d9, %Destroy.facet.199 [symbolic] -// CHECK:STDOUT: %impl.elem0.078: %.a54 = impl_witness_access %Destroy.lookup_impl_witness.27f, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.786: = specific_impl_function %impl.elem0.078, @Destroy.WithSelf.Op(%Destroy.facet.199) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.8a1: = lookup_impl_witness %tuple.type.823, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.727: %Destroy.type = facet_value %tuple.type.823, (%Destroy.lookup_impl_witness.8a1) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.046: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.727) [symbolic] -// CHECK:STDOUT: %.1f7: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.046, %Destroy.facet.727 [symbolic] -// CHECK:STDOUT: %impl.elem0.bbf: %.1f7 = impl_witness_access %Destroy.lookup_impl_witness.8a1, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.7f4: = specific_impl_function %impl.elem0.bbf, @Destroy.WithSelf.Op(%Destroy.facet.727) [symbolic] +// CHECK:STDOUT: %array_type.d0a: type = array_type %int_5, %T.as_type.7e7 [symbolic] +// CHECK:STDOUT: %require_complete.291: = require_complete_type %array_type.d0a [symbolic] +// CHECK:STDOUT: %pattern_type.d35: type = pattern_type %array_type.d0a [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.13a: = lookup_impl_witness %array_type.d0a, @DefaultOrUnformed [symbolic] +// CHECK:STDOUT: %.3b6: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%array_type.d0a) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.facet.575: %DefaultOrUnformed.type = facet_value %array_type.d0a, (%DefaultOrUnformed.lookup_impl_witness.13a) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.516: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.575) [symbolic] +// CHECK:STDOUT: %.b59: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.516, %DefaultOrUnformed.facet.575 [symbolic] +// CHECK:STDOUT: %impl.elem0.b76: %.b59 = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.13a, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.997: = specific_impl_function %impl.elem0.b76, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.575) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.c34: = lookup_impl_witness %array_type.d0a, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.5e7: %Destroy.type = facet_value %array_type.d0a, (%Destroy.lookup_impl_witness.c34) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.dac: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.5e7) [symbolic] +// CHECK:STDOUT: %.7c2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.dac, %Destroy.facet.5e7 [symbolic] +// CHECK:STDOUT: %impl.elem0.098: %.7c2 = impl_witness_access %Destroy.lookup_impl_witness.c34, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.580: = specific_impl_function %impl.elem0.098, @Destroy.WithSelf.Op(%Destroy.facet.5e7) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.d23: = lookup_impl_witness %struct_type.a, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.9d3: %Destroy.type = facet_value %struct_type.a, (%Destroy.lookup_impl_witness.d23) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.a7d: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.9d3) [symbolic] +// CHECK:STDOUT: %.93d: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.a7d, %Destroy.facet.9d3 [symbolic] +// CHECK:STDOUT: %impl.elem0.26b: %.93d = impl_witness_access %Destroy.lookup_impl_witness.d23, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.687: = specific_impl_function %impl.elem0.26b, @Destroy.WithSelf.Op(%Destroy.facet.9d3) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.779: = lookup_impl_witness %tuple.type.138, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.2e6: %Destroy.type = facet_value %tuple.type.138, (%Destroy.lookup_impl_witness.779) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.f59: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.2e6) [symbolic] +// CHECK:STDOUT: %.0bf: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.f59, %Destroy.facet.2e6 [symbolic] +// CHECK:STDOUT: %impl.elem0.462: %.0bf = impl_witness_access %Destroy.lookup_impl_witness.779, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.640: = specific_impl_function %impl.elem0.462, @Destroy.WithSelf.Op(%Destroy.facet.2e6) [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %N.afc: %i32 = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %N.bbe: %i32 = symbolic_binding N, 0 [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.2f8: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.7c2: %Int.as.ImplicitAs.impl.Convert.type.2f8 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.d2b: = impl_witness imports.%ImplicitAs.impl_witness_table.07d, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.73a: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.735: %Int.as.ImplicitAs.impl.Convert.type.73a = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.4bd = facet_value %i32, (%ImplicitAs.impl_witness.d2b) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f57: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.516: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f57, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.afc, %Int.as.ImplicitAs.impl.Convert.735 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.735, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method: = bound_method %N.afc, %Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method(%N.afc) [symbolic] -// CHECK:STDOUT: %array_type.a77: type = array_type %Int.as.ImplicitAs.impl.Convert.call, %i32 [symbolic] -// CHECK:STDOUT: %require_complete.363: = require_complete_type %array_type.a77 [symbolic] -// CHECK:STDOUT: %pattern_type.b89: type = pattern_type %array_type.a77 [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.8e5: = lookup_impl_witness %array_type.a77, @DefaultOrUnformed [symbolic] -// CHECK:STDOUT: %.c6a: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%array_type.a77) [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.facet.d9f: %DefaultOrUnformed.type = facet_value %array_type.a77, (%DefaultOrUnformed.lookup_impl_witness.8e5) [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.2c7: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.d9f) [symbolic] -// CHECK:STDOUT: %.aa9: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.2c7, %DefaultOrUnformed.facet.d9f [symbolic] -// CHECK:STDOUT: %impl.elem0.501: %.aa9 = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.8e5, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.5c0: = specific_impl_function %impl.elem0.501, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.d9f) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.327: = lookup_impl_witness %array_type.a77, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.697: %Destroy.type = facet_value %array_type.a77, (%Destroy.lookup_impl_witness.327) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.88f: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.697) [symbolic] -// CHECK:STDOUT: %.37a: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.88f, %Destroy.facet.697 [symbolic] -// CHECK:STDOUT: %impl.elem0.0fc: %.37a = impl_witness_access %Destroy.lookup_impl_witness.327, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.86f: = specific_impl_function %impl.elem0.0fc, @Destroy.WithSelf.Op(%Destroy.facet.697) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.f73: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.34b: %Int.as.ImplicitAs.impl.Convert.type.f73 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.062: = impl_witness imports.%ImplicitAs.impl_witness_table.eac, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.337: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.64e: %Int.as.ImplicitAs.impl.Convert.type.337 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.ace = facet_value %i32, (%ImplicitAs.impl_witness.062) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b68: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.7a9: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b68, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.bbe, %Int.as.ImplicitAs.impl.Convert.64e [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.64e, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method: = bound_method %N.bbe, %Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method(%N.bbe) [symbolic] +// CHECK:STDOUT: %array_type.79d: type = array_type %Int.as.ImplicitAs.impl.Convert.call, %i32 [symbolic] +// CHECK:STDOUT: %require_complete.b66: = require_complete_type %array_type.79d [symbolic] +// CHECK:STDOUT: %pattern_type.c9f: type = pattern_type %array_type.79d [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.7c7: = lookup_impl_witness %array_type.79d, @DefaultOrUnformed [symbolic] +// CHECK:STDOUT: %.677: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%array_type.79d) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.facet.1ff: %DefaultOrUnformed.type = facet_value %array_type.79d, (%DefaultOrUnformed.lookup_impl_witness.7c7) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.283: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.1ff) [symbolic] +// CHECK:STDOUT: %.dca: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.283, %DefaultOrUnformed.facet.1ff [symbolic] +// CHECK:STDOUT: %impl.elem0.bfe: %.dca = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.7c7, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.53a: = specific_impl_function %impl.elem0.bfe, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.1ff) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.b07: = lookup_impl_witness %array_type.79d, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.8f4: %Destroy.type = facet_value %array_type.79d, (%Destroy.lookup_impl_witness.b07) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.2ff: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.8f4) [symbolic] +// CHECK:STDOUT: %.614: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.2ff, %Destroy.facet.8f4 [symbolic] +// CHECK:STDOUT: %impl.elem0.814: %.614 = impl_witness_access %Destroy.lookup_impl_witness.b07, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.32f: = specific_impl_function %impl.elem0.814, @Destroy.WithSelf.Op(%Destroy.facet.8f4) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd0: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.2f8) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.7c2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.07d = impl_witness_table (%Core.import_ref.dd0), @Int.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.835: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.f73) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.34b)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eac = impl_witness_table (%Core.import_ref.835), @Int.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc4_7.2: %Destroy.type) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as_type.loc6_19.2: type = facet_access_type %T.loc4_7.1 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.5e0)] -// CHECK:STDOUT: %ptr.loc6_19.2: type = ptr_type %T.as_type.loc6_19.2 [symbolic = %ptr.loc6_19.2 (constants.%ptr.fa5)] +// CHECK:STDOUT: %T.as_type.loc6_19.2: type = facet_access_type %T.loc4_7.1 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.7e7)] +// CHECK:STDOUT: %ptr.loc6_19.2: type = ptr_type %T.as_type.loc6_19.2 [symbolic = %ptr.loc6_19.2 (constants.%ptr.de4)] // CHECK:STDOUT: %const.loc6_22.2: type = const_type %T.as_type.loc6_19.2 [symbolic = %const.loc6_22.2 (constants.%const)] // CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%ptr.loc6_19.2, %const.loc6_22.2) [symbolic = %tuple (constants.%tuple)] -// CHECK:STDOUT: %tuple.type: type = tuple_type (%ptr.loc6_19.2, %const.loc6_22.2) [symbolic = %tuple.type (constants.%tuple.type.823)] -// CHECK:STDOUT: %require_complete.loc6: = require_complete_type %tuple.type [symbolic = %require_complete.loc6 (constants.%require_complete.92a)] -// CHECK:STDOUT: %pattern_type.loc6: type = pattern_type %tuple.type [symbolic = %pattern_type.loc6 (constants.%pattern_type.9f8)] -// CHECK:STDOUT: %.loc6_30.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%tuple.type) [symbolic = %.loc6_30.3 (constants.%.884)] -// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.loc6: = lookup_impl_witness %tuple.type, @DefaultOrUnformed [symbolic = %DefaultOrUnformed.lookup_impl_witness.loc6 (constants.%DefaultOrUnformed.lookup_impl_witness.c79)] -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc6_30.2: %DefaultOrUnformed.type = facet_value %tuple.type, (%DefaultOrUnformed.lookup_impl_witness.loc6) [symbolic = %DefaultOrUnformed.facet.loc6_30.2 (constants.%DefaultOrUnformed.facet.e0a)] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.loc6: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc6_30.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type.loc6 (constants.%DefaultOrUnformed.WithSelf.Op.type.1d3)] -// CHECK:STDOUT: %.loc6_30.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.loc6, %DefaultOrUnformed.facet.loc6_30.2 [symbolic = %.loc6_30.4 (constants.%.99f)] -// CHECK:STDOUT: %impl.elem0.loc6_30.2: @F.%.loc6_30.4 (%.99f) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.loc6, element0 [symbolic = %impl.elem0.loc6_30.2 (constants.%impl.elem0.ffa)] -// CHECK:STDOUT: %specific_impl_fn.loc6_30.2: = specific_impl_function %impl.elem0.loc6_30.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc6_30.2) [symbolic = %specific_impl_fn.loc6_30.2 (constants.%specific_impl_fn.1bf)] -// CHECK:STDOUT: %struct_type.a.loc7_23.2: type = struct_type {.a: @F.%T.as_type.loc6_19.2 (%T.as_type.5e0)} [symbolic = %struct_type.a.loc7_23.2 (constants.%struct_type.a)] -// CHECK:STDOUT: %require_complete.loc7: = require_complete_type %struct_type.a.loc7_23.2 [symbolic = %require_complete.loc7 (constants.%require_complete.625)] -// CHECK:STDOUT: %pattern_type.loc7: type = pattern_type %struct_type.a.loc7_23.2 [symbolic = %pattern_type.loc7 (constants.%pattern_type.d24)] -// CHECK:STDOUT: %.loc7_24.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%struct_type.a.loc7_23.2) [symbolic = %.loc7_24.3 (constants.%.264)] -// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.loc7: = lookup_impl_witness %struct_type.a.loc7_23.2, @DefaultOrUnformed [symbolic = %DefaultOrUnformed.lookup_impl_witness.loc7 (constants.%DefaultOrUnformed.lookup_impl_witness.fc9)] -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7_24.2: %DefaultOrUnformed.type = facet_value %struct_type.a.loc7_23.2, (%DefaultOrUnformed.lookup_impl_witness.loc7) [symbolic = %DefaultOrUnformed.facet.loc7_24.2 (constants.%DefaultOrUnformed.facet.5f7)] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.loc7: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc7_24.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type.loc7 (constants.%DefaultOrUnformed.WithSelf.Op.type.e11)] -// CHECK:STDOUT: %.loc7_24.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.loc7, %DefaultOrUnformed.facet.loc7_24.2 [symbolic = %.loc7_24.4 (constants.%.fac)] -// CHECK:STDOUT: %impl.elem0.loc7_24.2: @F.%.loc7_24.4 (%.fac) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.loc7, element0 [symbolic = %impl.elem0.loc7_24.2 (constants.%impl.elem0.e13)] -// CHECK:STDOUT: %specific_impl_fn.loc7_24.2: = specific_impl_function %impl.elem0.loc7_24.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc7_24.2) [symbolic = %specific_impl_fn.loc7_24.2 (constants.%specific_impl_fn.76e)] -// CHECK:STDOUT: %array_type.loc8_27.2: type = array_type constants.%int_5, %T.as_type.loc6_19.2 [symbolic = %array_type.loc8_27.2 (constants.%array_type.e98)] -// CHECK:STDOUT: %require_complete.loc8: = require_complete_type %array_type.loc8_27.2 [symbolic = %require_complete.loc8 (constants.%require_complete.c5f)] -// CHECK:STDOUT: %pattern_type.loc8: type = pattern_type %array_type.loc8_27.2 [symbolic = %pattern_type.loc8 (constants.%pattern_type.88e)] -// CHECK:STDOUT: %.loc8_28.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%array_type.loc8_27.2) [symbolic = %.loc8_28.3 (constants.%.424)] -// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.loc8: = lookup_impl_witness %array_type.loc8_27.2, @DefaultOrUnformed [symbolic = %DefaultOrUnformed.lookup_impl_witness.loc8 (constants.%DefaultOrUnformed.lookup_impl_witness.411)] -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8_28.2: %DefaultOrUnformed.type = facet_value %array_type.loc8_27.2, (%DefaultOrUnformed.lookup_impl_witness.loc8) [symbolic = %DefaultOrUnformed.facet.loc8_28.2 (constants.%DefaultOrUnformed.facet.f62)] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.loc8: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc8_28.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type.loc8 (constants.%DefaultOrUnformed.WithSelf.Op.type.616)] -// CHECK:STDOUT: %.loc8_28.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.loc8, %DefaultOrUnformed.facet.loc8_28.2 [symbolic = %.loc8_28.4 (constants.%.1dc)] -// CHECK:STDOUT: %impl.elem0.loc8_28.2: @F.%.loc8_28.4 (%.1dc) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.loc8, element0 [symbolic = %impl.elem0.loc8_28.2 (constants.%impl.elem0.85a)] -// CHECK:STDOUT: %specific_impl_fn.loc8_28.2: = specific_impl_function %impl.elem0.loc8_28.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc8_28.2) [symbolic = %specific_impl_fn.loc8_28.2 (constants.%specific_impl_fn.cb6)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc8: = lookup_impl_witness %array_type.loc8_27.2, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc8 (constants.%Destroy.lookup_impl_witness.f88)] -// CHECK:STDOUT: %Destroy.facet.loc8: %Destroy.type = facet_value %array_type.loc8_27.2, (%Destroy.lookup_impl_witness.loc8) [symbolic = %Destroy.facet.loc8 (constants.%Destroy.facet.2ae)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc8: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc8) [symbolic = %Destroy.WithSelf.Op.type.loc8 (constants.%Destroy.WithSelf.Op.type.33d)] -// CHECK:STDOUT: %.loc8_3.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc8, %Destroy.facet.loc8 [symbolic = %.loc8_3.2 (constants.%.89c)] -// CHECK:STDOUT: %impl.elem0.loc8_3.2: @F.%.loc8_3.2 (%.89c) = impl_witness_access %Destroy.lookup_impl_witness.loc8, element0 [symbolic = %impl.elem0.loc8_3.2 (constants.%impl.elem0.c8c)] -// CHECK:STDOUT: %specific_impl_fn.loc8_3.2: = specific_impl_function %impl.elem0.loc8_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc8) [symbolic = %specific_impl_fn.loc8_3.2 (constants.%specific_impl_fn.65c)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc7: = lookup_impl_witness %struct_type.a.loc7_23.2, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc7 (constants.%Destroy.lookup_impl_witness.27f)] -// CHECK:STDOUT: %Destroy.facet.loc7: %Destroy.type = facet_value %struct_type.a.loc7_23.2, (%Destroy.lookup_impl_witness.loc7) [symbolic = %Destroy.facet.loc7 (constants.%Destroy.facet.199)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc7: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc7) [symbolic = %Destroy.WithSelf.Op.type.loc7 (constants.%Destroy.WithSelf.Op.type.0d9)] -// CHECK:STDOUT: %.loc7_3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc7, %Destroy.facet.loc7 [symbolic = %.loc7_3 (constants.%.a54)] -// CHECK:STDOUT: %impl.elem0.loc7_3.2: @F.%.loc7_3 (%.a54) = impl_witness_access %Destroy.lookup_impl_witness.loc7, element0 [symbolic = %impl.elem0.loc7_3.2 (constants.%impl.elem0.078)] -// CHECK:STDOUT: %specific_impl_fn.loc7_3.2: = specific_impl_function %impl.elem0.loc7_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc7) [symbolic = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn.786)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc6: = lookup_impl_witness %tuple.type, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc6 (constants.%Destroy.lookup_impl_witness.8a1)] -// CHECK:STDOUT: %Destroy.facet.loc6: %Destroy.type = facet_value %tuple.type, (%Destroy.lookup_impl_witness.loc6) [symbolic = %Destroy.facet.loc6 (constants.%Destroy.facet.727)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc6: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc6) [symbolic = %Destroy.WithSelf.Op.type.loc6 (constants.%Destroy.WithSelf.Op.type.046)] -// CHECK:STDOUT: %.loc6_3.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc6, %Destroy.facet.loc6 [symbolic = %.loc6_3.2 (constants.%.1f7)] -// CHECK:STDOUT: %impl.elem0.loc6_3.2: @F.%.loc6_3.2 (%.1f7) = impl_witness_access %Destroy.lookup_impl_witness.loc6, element0 [symbolic = %impl.elem0.loc6_3.2 (constants.%impl.elem0.bbf)] -// CHECK:STDOUT: %specific_impl_fn.loc6_3.2: = specific_impl_function %impl.elem0.loc6_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc6) [symbolic = %specific_impl_fn.loc6_3.2 (constants.%specific_impl_fn.7f4)] +// CHECK:STDOUT: %tuple.type: type = tuple_type (%ptr.loc6_19.2, %const.loc6_22.2) [symbolic = %tuple.type (constants.%tuple.type.138)] +// CHECK:STDOUT: %require_complete.loc6: = require_complete_type %tuple.type [symbolic = %require_complete.loc6 (constants.%require_complete.440)] +// CHECK:STDOUT: %pattern_type.loc6: type = pattern_type %tuple.type [symbolic = %pattern_type.loc6 (constants.%pattern_type.abf)] +// CHECK:STDOUT: %.loc6_30.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%tuple.type) [symbolic = %.loc6_30.3 (constants.%.90f)] +// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.loc6: = lookup_impl_witness %tuple.type, @DefaultOrUnformed [symbolic = %DefaultOrUnformed.lookup_impl_witness.loc6 (constants.%DefaultOrUnformed.lookup_impl_witness.76d)] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc6_30.2: %DefaultOrUnformed.type = facet_value %tuple.type, (%DefaultOrUnformed.lookup_impl_witness.loc6) [symbolic = %DefaultOrUnformed.facet.loc6_30.2 (constants.%DefaultOrUnformed.facet.c31)] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.loc6: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc6_30.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type.loc6 (constants.%DefaultOrUnformed.WithSelf.Op.type.368)] +// CHECK:STDOUT: %.loc6_30.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.loc6, %DefaultOrUnformed.facet.loc6_30.2 [symbolic = %.loc6_30.4 (constants.%.fdd)] +// CHECK:STDOUT: %impl.elem0.loc6_30.2: @F.%.loc6_30.4 (%.fdd) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.loc6, element0 [symbolic = %impl.elem0.loc6_30.2 (constants.%impl.elem0.069)] +// CHECK:STDOUT: %specific_impl_fn.loc6_30.2: = specific_impl_function %impl.elem0.loc6_30.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc6_30.2) [symbolic = %specific_impl_fn.loc6_30.2 (constants.%specific_impl_fn.2d5)] +// CHECK:STDOUT: %struct_type.a.loc7_23.2: type = struct_type {.a: @F.%T.as_type.loc6_19.2 (%T.as_type.7e7)} [symbolic = %struct_type.a.loc7_23.2 (constants.%struct_type.a)] +// CHECK:STDOUT: %require_complete.loc7: = require_complete_type %struct_type.a.loc7_23.2 [symbolic = %require_complete.loc7 (constants.%require_complete.285)] +// CHECK:STDOUT: %pattern_type.loc7: type = pattern_type %struct_type.a.loc7_23.2 [symbolic = %pattern_type.loc7 (constants.%pattern_type.a65)] +// CHECK:STDOUT: %.loc7_24.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%struct_type.a.loc7_23.2) [symbolic = %.loc7_24.3 (constants.%.b1d)] +// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.loc7: = lookup_impl_witness %struct_type.a.loc7_23.2, @DefaultOrUnformed [symbolic = %DefaultOrUnformed.lookup_impl_witness.loc7 (constants.%DefaultOrUnformed.lookup_impl_witness.994)] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7_24.2: %DefaultOrUnformed.type = facet_value %struct_type.a.loc7_23.2, (%DefaultOrUnformed.lookup_impl_witness.loc7) [symbolic = %DefaultOrUnformed.facet.loc7_24.2 (constants.%DefaultOrUnformed.facet.a30)] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.loc7: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc7_24.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type.loc7 (constants.%DefaultOrUnformed.WithSelf.Op.type.a65)] +// CHECK:STDOUT: %.loc7_24.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.loc7, %DefaultOrUnformed.facet.loc7_24.2 [symbolic = %.loc7_24.4 (constants.%.8e4)] +// CHECK:STDOUT: %impl.elem0.loc7_24.2: @F.%.loc7_24.4 (%.8e4) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.loc7, element0 [symbolic = %impl.elem0.loc7_24.2 (constants.%impl.elem0.5b5)] +// CHECK:STDOUT: %specific_impl_fn.loc7_24.2: = specific_impl_function %impl.elem0.loc7_24.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc7_24.2) [symbolic = %specific_impl_fn.loc7_24.2 (constants.%specific_impl_fn.382)] +// CHECK:STDOUT: %array_type.loc8_27.2: type = array_type constants.%int_5, %T.as_type.loc6_19.2 [symbolic = %array_type.loc8_27.2 (constants.%array_type.d0a)] +// CHECK:STDOUT: %require_complete.loc8: = require_complete_type %array_type.loc8_27.2 [symbolic = %require_complete.loc8 (constants.%require_complete.291)] +// CHECK:STDOUT: %pattern_type.loc8: type = pattern_type %array_type.loc8_27.2 [symbolic = %pattern_type.loc8 (constants.%pattern_type.d35)] +// CHECK:STDOUT: %.loc8_28.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%array_type.loc8_27.2) [symbolic = %.loc8_28.3 (constants.%.3b6)] +// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness.loc8: = lookup_impl_witness %array_type.loc8_27.2, @DefaultOrUnformed [symbolic = %DefaultOrUnformed.lookup_impl_witness.loc8 (constants.%DefaultOrUnformed.lookup_impl_witness.13a)] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8_28.2: %DefaultOrUnformed.type = facet_value %array_type.loc8_27.2, (%DefaultOrUnformed.lookup_impl_witness.loc8) [symbolic = %DefaultOrUnformed.facet.loc8_28.2 (constants.%DefaultOrUnformed.facet.575)] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.loc8: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc8_28.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type.loc8 (constants.%DefaultOrUnformed.WithSelf.Op.type.516)] +// CHECK:STDOUT: %.loc8_28.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.loc8, %DefaultOrUnformed.facet.loc8_28.2 [symbolic = %.loc8_28.4 (constants.%.b59)] +// CHECK:STDOUT: %impl.elem0.loc8_28.2: @F.%.loc8_28.4 (%.b59) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness.loc8, element0 [symbolic = %impl.elem0.loc8_28.2 (constants.%impl.elem0.b76)] +// CHECK:STDOUT: %specific_impl_fn.loc8_28.2: = specific_impl_function %impl.elem0.loc8_28.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc8_28.2) [symbolic = %specific_impl_fn.loc8_28.2 (constants.%specific_impl_fn.997)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc8: = lookup_impl_witness %array_type.loc8_27.2, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc8 (constants.%Destroy.lookup_impl_witness.c34)] +// CHECK:STDOUT: %Destroy.facet.loc8: %Destroy.type = facet_value %array_type.loc8_27.2, (%Destroy.lookup_impl_witness.loc8) [symbolic = %Destroy.facet.loc8 (constants.%Destroy.facet.5e7)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc8: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc8) [symbolic = %Destroy.WithSelf.Op.type.loc8 (constants.%Destroy.WithSelf.Op.type.dac)] +// CHECK:STDOUT: %.loc8_3.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc8, %Destroy.facet.loc8 [symbolic = %.loc8_3.2 (constants.%.7c2)] +// CHECK:STDOUT: %impl.elem0.loc8_3.2: @F.%.loc8_3.2 (%.7c2) = impl_witness_access %Destroy.lookup_impl_witness.loc8, element0 [symbolic = %impl.elem0.loc8_3.2 (constants.%impl.elem0.098)] +// CHECK:STDOUT: %specific_impl_fn.loc8_3.2: = specific_impl_function %impl.elem0.loc8_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc8) [symbolic = %specific_impl_fn.loc8_3.2 (constants.%specific_impl_fn.580)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc7: = lookup_impl_witness %struct_type.a.loc7_23.2, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc7 (constants.%Destroy.lookup_impl_witness.d23)] +// CHECK:STDOUT: %Destroy.facet.loc7: %Destroy.type = facet_value %struct_type.a.loc7_23.2, (%Destroy.lookup_impl_witness.loc7) [symbolic = %Destroy.facet.loc7 (constants.%Destroy.facet.9d3)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc7: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc7) [symbolic = %Destroy.WithSelf.Op.type.loc7 (constants.%Destroy.WithSelf.Op.type.a7d)] +// CHECK:STDOUT: %.loc7_3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc7, %Destroy.facet.loc7 [symbolic = %.loc7_3 (constants.%.93d)] +// CHECK:STDOUT: %impl.elem0.loc7_3.2: @F.%.loc7_3 (%.93d) = impl_witness_access %Destroy.lookup_impl_witness.loc7, element0 [symbolic = %impl.elem0.loc7_3.2 (constants.%impl.elem0.26b)] +// CHECK:STDOUT: %specific_impl_fn.loc7_3.2: = specific_impl_function %impl.elem0.loc7_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc7) [symbolic = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn.687)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc6: = lookup_impl_witness %tuple.type, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc6 (constants.%Destroy.lookup_impl_witness.779)] +// CHECK:STDOUT: %Destroy.facet.loc6: %Destroy.type = facet_value %tuple.type, (%Destroy.lookup_impl_witness.loc6) [symbolic = %Destroy.facet.loc6 (constants.%Destroy.facet.2e6)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc6: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc6) [symbolic = %Destroy.WithSelf.Op.type.loc6 (constants.%Destroy.WithSelf.Op.type.f59)] +// CHECK:STDOUT: %.loc6_3.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc6, %Destroy.facet.loc6 [symbolic = %.loc6_3.2 (constants.%.0bf)] +// CHECK:STDOUT: %impl.elem0.loc6_3.2: @F.%.loc6_3.2 (%.0bf) = impl_witness_access %Destroy.lookup_impl_witness.loc6, element0 [symbolic = %impl.elem0.loc6_3.2 (constants.%impl.elem0.462)] +// CHECK:STDOUT: %specific_impl_fn.loc6_3.2: = specific_impl_function %impl.elem0.loc6_3.2, @Destroy.WithSelf.Op(%Destroy.facet.loc6) [symbolic = %specific_impl_fn.loc6_3.2 (constants.%specific_impl_fn.640)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %u.patt: @F.%pattern_type.loc6 (%pattern_type.9f8) = ref_binding_pattern u [concrete] -// CHECK:STDOUT: %u.var_patt: @F.%pattern_type.loc6 (%pattern_type.9f8) = var_pattern %u.patt [concrete] +// CHECK:STDOUT: %u.patt: @F.%pattern_type.loc6 (%pattern_type.abf) = ref_binding_pattern u [concrete] +// CHECK:STDOUT: %u.var_patt: @F.%pattern_type.loc6 (%pattern_type.abf) = var_pattern %u.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %u.var: ref @F.%tuple.type (%tuple.type.823) = var %u.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc6_30.1: %DefaultOrUnformed.type = facet_value constants.%tuple.type.823, (constants.%DefaultOrUnformed.lookup_impl_witness.c79) [symbolic = %DefaultOrUnformed.facet.loc6_30.2 (constants.%DefaultOrUnformed.facet.e0a)] -// CHECK:STDOUT: %.loc6_30.1: %DefaultOrUnformed.type = converted constants.%tuple.type.823, %DefaultOrUnformed.facet.loc6_30.1 [symbolic = %DefaultOrUnformed.facet.loc6_30.2 (constants.%DefaultOrUnformed.facet.e0a)] -// CHECK:STDOUT: %as_type.loc6: type = facet_access_type %.loc6_30.1 [symbolic = %tuple.type (constants.%tuple.type.823)] -// CHECK:STDOUT: %.loc6_30.2: type = converted %.loc6_30.1, %as_type.loc6 [symbolic = %tuple.type (constants.%tuple.type.823)] -// CHECK:STDOUT: %impl.elem0.loc6_30.1: @F.%.loc6_30.4 (%.99f) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness.c79, element0 [symbolic = %impl.elem0.loc6_30.2 (constants.%impl.elem0.ffa)] -// CHECK:STDOUT: %specific_impl_fn.loc6_30.1: = specific_impl_function %impl.elem0.loc6_30.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet.e0a) [symbolic = %specific_impl_fn.loc6_30.2 (constants.%specific_impl_fn.1bf)] -// CHECK:STDOUT: %.loc6_3.1: ref @F.%tuple.type (%tuple.type.823) = splice_block %u.var {} -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.call.loc6: init @F.%tuple.type (%tuple.type.823) to %.loc6_3.1 = call %specific_impl_fn.loc6_30.1() +// CHECK:STDOUT: %u.var: ref @F.%tuple.type (%tuple.type.138) = var %u.var_patt +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc6_30.1: %DefaultOrUnformed.type = facet_value constants.%tuple.type.138, (constants.%DefaultOrUnformed.lookup_impl_witness.76d) [symbolic = %DefaultOrUnformed.facet.loc6_30.2 (constants.%DefaultOrUnformed.facet.c31)] +// CHECK:STDOUT: %.loc6_30.1: %DefaultOrUnformed.type = converted constants.%tuple.type.138, %DefaultOrUnformed.facet.loc6_30.1 [symbolic = %DefaultOrUnformed.facet.loc6_30.2 (constants.%DefaultOrUnformed.facet.c31)] +// CHECK:STDOUT: %as_type.loc6: type = facet_access_type %.loc6_30.1 [symbolic = %tuple.type (constants.%tuple.type.138)] +// CHECK:STDOUT: %.loc6_30.2: type = converted %.loc6_30.1, %as_type.loc6 [symbolic = %tuple.type (constants.%tuple.type.138)] +// CHECK:STDOUT: %impl.elem0.loc6_30.1: @F.%.loc6_30.4 (%.fdd) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness.76d, element0 [symbolic = %impl.elem0.loc6_30.2 (constants.%impl.elem0.069)] +// CHECK:STDOUT: %specific_impl_fn.loc6_30.1: = specific_impl_function %impl.elem0.loc6_30.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet.c31) [symbolic = %specific_impl_fn.loc6_30.2 (constants.%specific_impl_fn.2d5)] +// CHECK:STDOUT: %.loc6_3.1: ref @F.%tuple.type (%tuple.type.138) = splice_block %u.var {} +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.call.loc6: init @F.%tuple.type (%tuple.type.138) to %.loc6_3.1 = call %specific_impl_fn.loc6_30.1() // CHECK:STDOUT: assign %u.var, %DefaultOrUnformed.WithSelf.Op.call.loc6 -// CHECK:STDOUT: %.loc6_29.1: type = splice_block %.loc6_29.3 [symbolic = %tuple.type (constants.%tuple.type.823)] { -// CHECK:STDOUT: %T.ref.loc6_18: %Destroy.type = name_ref T, %T.loc4_7.2 [symbolic = %T.loc4_7.1 (constants.%T.1e6)] -// CHECK:STDOUT: %T.as_type.loc6_19.1: type = facet_access_type %T.ref.loc6_18 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.5e0)] -// CHECK:STDOUT: %.loc6_19: type = converted %T.ref.loc6_18, %T.as_type.loc6_19.1 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.5e0)] -// CHECK:STDOUT: %ptr.loc6_19.1: type = ptr_type %.loc6_19 [symbolic = %ptr.loc6_19.2 (constants.%ptr.fa5)] -// CHECK:STDOUT: %T.ref.loc6_28: %Destroy.type = name_ref T, %T.loc4_7.2 [symbolic = %T.loc4_7.1 (constants.%T.1e6)] -// CHECK:STDOUT: %T.as_type.loc6_22: type = facet_access_type %T.ref.loc6_28 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.5e0)] -// CHECK:STDOUT: %.loc6_22: type = converted %T.ref.loc6_28, %T.as_type.loc6_22 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.5e0)] +// CHECK:STDOUT: %.loc6_29.1: type = splice_block %.loc6_29.3 [symbolic = %tuple.type (constants.%tuple.type.138)] { +// CHECK:STDOUT: %T.ref.loc6_18: %Destroy.type = name_ref T, %T.loc4_7.2 [symbolic = %T.loc4_7.1 (constants.%T.c66)] +// CHECK:STDOUT: %T.as_type.loc6_19.1: type = facet_access_type %T.ref.loc6_18 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.7e7)] +// CHECK:STDOUT: %.loc6_19: type = converted %T.ref.loc6_18, %T.as_type.loc6_19.1 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.7e7)] +// CHECK:STDOUT: %ptr.loc6_19.1: type = ptr_type %.loc6_19 [symbolic = %ptr.loc6_19.2 (constants.%ptr.de4)] +// CHECK:STDOUT: %T.ref.loc6_28: %Destroy.type = name_ref T, %T.loc4_7.2 [symbolic = %T.loc4_7.1 (constants.%T.c66)] +// CHECK:STDOUT: %T.as_type.loc6_22: type = facet_access_type %T.ref.loc6_28 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.7e7)] +// CHECK:STDOUT: %.loc6_22: type = converted %T.ref.loc6_28, %T.as_type.loc6_22 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.7e7)] // CHECK:STDOUT: %const.loc6_22.1: type = const_type %.loc6_22 [symbolic = %const.loc6_22.2 (constants.%const)] // CHECK:STDOUT: %.loc6_29.2: %tuple.type.24b = tuple_literal (%ptr.loc6_19.1, %const.loc6_22.1) [symbolic = %tuple (constants.%tuple)] -// CHECK:STDOUT: %.loc6_29.3: type = converted %.loc6_29.2, constants.%tuple.type.823 [symbolic = %tuple.type (constants.%tuple.type.823)] +// CHECK:STDOUT: %.loc6_29.3: type = converted %.loc6_29.2, constants.%tuple.type.138 [symbolic = %tuple.type (constants.%tuple.type.138)] // CHECK:STDOUT: } -// CHECK:STDOUT: %u: ref @F.%tuple.type (%tuple.type.823) = ref_binding u, %u.var +// CHECK:STDOUT: %u: ref @F.%tuple.type (%tuple.type.138) = ref_binding u, %u.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: @F.%pattern_type.loc7 (%pattern_type.d24) = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: @F.%pattern_type.loc7 (%pattern_type.d24) = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: @F.%pattern_type.loc7 (%pattern_type.a65) = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: @F.%pattern_type.loc7 (%pattern_type.a65) = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref @F.%struct_type.a.loc7_23.2 (%struct_type.a) = var %v.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7_24.1: %DefaultOrUnformed.type = facet_value constants.%struct_type.a, (constants.%DefaultOrUnformed.lookup_impl_witness.fc9) [symbolic = %DefaultOrUnformed.facet.loc7_24.2 (constants.%DefaultOrUnformed.facet.5f7)] -// CHECK:STDOUT: %.loc7_24.1: %DefaultOrUnformed.type = converted constants.%struct_type.a, %DefaultOrUnformed.facet.loc7_24.1 [symbolic = %DefaultOrUnformed.facet.loc7_24.2 (constants.%DefaultOrUnformed.facet.5f7)] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7_24.1: %DefaultOrUnformed.type = facet_value constants.%struct_type.a, (constants.%DefaultOrUnformed.lookup_impl_witness.994) [symbolic = %DefaultOrUnformed.facet.loc7_24.2 (constants.%DefaultOrUnformed.facet.a30)] +// CHECK:STDOUT: %.loc7_24.1: %DefaultOrUnformed.type = converted constants.%struct_type.a, %DefaultOrUnformed.facet.loc7_24.1 [symbolic = %DefaultOrUnformed.facet.loc7_24.2 (constants.%DefaultOrUnformed.facet.a30)] // CHECK:STDOUT: %as_type.loc7: type = facet_access_type %.loc7_24.1 [symbolic = %struct_type.a.loc7_23.2 (constants.%struct_type.a)] // CHECK:STDOUT: %.loc7_24.2: type = converted %.loc7_24.1, %as_type.loc7 [symbolic = %struct_type.a.loc7_23.2 (constants.%struct_type.a)] -// CHECK:STDOUT: %impl.elem0.loc7_24.1: @F.%.loc7_24.4 (%.fac) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness.fc9, element0 [symbolic = %impl.elem0.loc7_24.2 (constants.%impl.elem0.e13)] -// CHECK:STDOUT: %specific_impl_fn.loc7_24.1: = specific_impl_function %impl.elem0.loc7_24.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet.5f7) [symbolic = %specific_impl_fn.loc7_24.2 (constants.%specific_impl_fn.76e)] +// CHECK:STDOUT: %impl.elem0.loc7_24.1: @F.%.loc7_24.4 (%.8e4) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness.994, element0 [symbolic = %impl.elem0.loc7_24.2 (constants.%impl.elem0.5b5)] +// CHECK:STDOUT: %specific_impl_fn.loc7_24.1: = specific_impl_function %impl.elem0.loc7_24.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet.a30) [symbolic = %specific_impl_fn.loc7_24.2 (constants.%specific_impl_fn.382)] // CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.call.loc7: init @F.%struct_type.a.loc7_23.2 (%struct_type.a) = call %specific_impl_fn.loc7_24.1() // CHECK:STDOUT: assign %v.var, %DefaultOrUnformed.WithSelf.Op.call.loc7 // CHECK:STDOUT: %.loc7_23: type = splice_block %struct_type.a.loc7_23.1 [symbolic = %struct_type.a.loc7_23.2 (constants.%struct_type.a)] { -// CHECK:STDOUT: %T.ref.loc7: %Destroy.type = name_ref T, %T.loc4_7.2 [symbolic = %T.loc4_7.1 (constants.%T.1e6)] -// CHECK:STDOUT: %T.as_type.loc7: type = facet_access_type %T.ref.loc7 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.5e0)] -// CHECK:STDOUT: %.loc7_22: type = converted %T.ref.loc7, %T.as_type.loc7 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.5e0)] -// CHECK:STDOUT: %struct_type.a.loc7_23.1: type = struct_type {.a: @F.%T.as_type.loc6_19.2 (%T.as_type.5e0)} [symbolic = %struct_type.a.loc7_23.2 (constants.%struct_type.a)] +// CHECK:STDOUT: %T.ref.loc7: %Destroy.type = name_ref T, %T.loc4_7.2 [symbolic = %T.loc4_7.1 (constants.%T.c66)] +// CHECK:STDOUT: %T.as_type.loc7: type = facet_access_type %T.ref.loc7 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.7e7)] +// CHECK:STDOUT: %.loc7_22: type = converted %T.ref.loc7, %T.as_type.loc7 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.7e7)] +// CHECK:STDOUT: %struct_type.a.loc7_23.1: type = struct_type {.a: @F.%T.as_type.loc6_19.2 (%T.as_type.7e7)} [symbolic = %struct_type.a.loc7_23.2 (constants.%struct_type.a)] // CHECK:STDOUT: } // CHECK:STDOUT: %v: ref @F.%struct_type.a.loc7_23.2 (%struct_type.a) = ref_binding v, %v.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: @F.%pattern_type.loc8 (%pattern_type.88e) = ref_binding_pattern w [concrete] -// CHECK:STDOUT: %w.var_patt: @F.%pattern_type.loc8 (%pattern_type.88e) = var_pattern %w.patt [concrete] +// CHECK:STDOUT: %w.patt: @F.%pattern_type.loc8 (%pattern_type.d35) = ref_binding_pattern w [concrete] +// CHECK:STDOUT: %w.var_patt: @F.%pattern_type.loc8 (%pattern_type.d35) = var_pattern %w.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %w.var: ref @F.%array_type.loc8_27.2 (%array_type.e98) = var %w.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8_28.1: %DefaultOrUnformed.type = facet_value constants.%array_type.e98, (constants.%DefaultOrUnformed.lookup_impl_witness.411) [symbolic = %DefaultOrUnformed.facet.loc8_28.2 (constants.%DefaultOrUnformed.facet.f62)] -// CHECK:STDOUT: %.loc8_28.1: %DefaultOrUnformed.type = converted constants.%array_type.e98, %DefaultOrUnformed.facet.loc8_28.1 [symbolic = %DefaultOrUnformed.facet.loc8_28.2 (constants.%DefaultOrUnformed.facet.f62)] -// CHECK:STDOUT: %as_type.loc8: type = facet_access_type %.loc8_28.1 [symbolic = %array_type.loc8_27.2 (constants.%array_type.e98)] -// CHECK:STDOUT: %.loc8_28.2: type = converted %.loc8_28.1, %as_type.loc8 [symbolic = %array_type.loc8_27.2 (constants.%array_type.e98)] -// CHECK:STDOUT: %impl.elem0.loc8_28.1: @F.%.loc8_28.4 (%.1dc) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness.411, element0 [symbolic = %impl.elem0.loc8_28.2 (constants.%impl.elem0.85a)] -// CHECK:STDOUT: %specific_impl_fn.loc8_28.1: = specific_impl_function %impl.elem0.loc8_28.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet.f62) [symbolic = %specific_impl_fn.loc8_28.2 (constants.%specific_impl_fn.cb6)] -// CHECK:STDOUT: %.loc8_3.1: ref @F.%array_type.loc8_27.2 (%array_type.e98) = splice_block %w.var {} -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.call.loc8: init @F.%array_type.loc8_27.2 (%array_type.e98) to %.loc8_3.1 = call %specific_impl_fn.loc8_28.1() +// CHECK:STDOUT: %w.var: ref @F.%array_type.loc8_27.2 (%array_type.d0a) = var %w.var_patt +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8_28.1: %DefaultOrUnformed.type = facet_value constants.%array_type.d0a, (constants.%DefaultOrUnformed.lookup_impl_witness.13a) [symbolic = %DefaultOrUnformed.facet.loc8_28.2 (constants.%DefaultOrUnformed.facet.575)] +// CHECK:STDOUT: %.loc8_28.1: %DefaultOrUnformed.type = converted constants.%array_type.d0a, %DefaultOrUnformed.facet.loc8_28.1 [symbolic = %DefaultOrUnformed.facet.loc8_28.2 (constants.%DefaultOrUnformed.facet.575)] +// CHECK:STDOUT: %as_type.loc8: type = facet_access_type %.loc8_28.1 [symbolic = %array_type.loc8_27.2 (constants.%array_type.d0a)] +// CHECK:STDOUT: %.loc8_28.2: type = converted %.loc8_28.1, %as_type.loc8 [symbolic = %array_type.loc8_27.2 (constants.%array_type.d0a)] +// CHECK:STDOUT: %impl.elem0.loc8_28.1: @F.%.loc8_28.4 (%.b59) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness.13a, element0 [symbolic = %impl.elem0.loc8_28.2 (constants.%impl.elem0.b76)] +// CHECK:STDOUT: %specific_impl_fn.loc8_28.1: = specific_impl_function %impl.elem0.loc8_28.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet.575) [symbolic = %specific_impl_fn.loc8_28.2 (constants.%specific_impl_fn.997)] +// CHECK:STDOUT: %.loc8_3.1: ref @F.%array_type.loc8_27.2 (%array_type.d0a) = splice_block %w.var {} +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.call.loc8: init @F.%array_type.loc8_27.2 (%array_type.d0a) to %.loc8_3.1 = call %specific_impl_fn.loc8_28.1() // CHECK:STDOUT: assign %w.var, %DefaultOrUnformed.WithSelf.Op.call.loc8 -// CHECK:STDOUT: %.loc8_27: type = splice_block %array_type.loc8_27.1 [symbolic = %array_type.loc8_27.2 (constants.%array_type.e98)] { -// CHECK:STDOUT: %T.ref.loc8: %Destroy.type = name_ref T, %T.loc4_7.2 [symbolic = %T.loc4_7.1 (constants.%T.1e6)] +// CHECK:STDOUT: %.loc8_27: type = splice_block %array_type.loc8_27.1 [symbolic = %array_type.loc8_27.2 (constants.%array_type.d0a)] { +// CHECK:STDOUT: %T.ref.loc8: %Destroy.type = name_ref T, %T.loc4_7.2 [symbolic = %T.loc4_7.1 (constants.%T.c66)] // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5] -// CHECK:STDOUT: %T.as_type.loc8: type = facet_access_type %T.ref.loc8 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.5e0)] -// CHECK:STDOUT: %.loc8_23: type = converted %T.ref.loc8, %T.as_type.loc8 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.5e0)] -// CHECK:STDOUT: %array_type.loc8_27.1: type = array_type %int_5, %.loc8_23 [symbolic = %array_type.loc8_27.2 (constants.%array_type.e98)] +// CHECK:STDOUT: %T.as_type.loc8: type = facet_access_type %T.ref.loc8 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.7e7)] +// CHECK:STDOUT: %.loc8_23: type = converted %T.ref.loc8, %T.as_type.loc8 [symbolic = %T.as_type.loc6_19.2 (constants.%T.as_type.7e7)] +// CHECK:STDOUT: %array_type.loc8_27.1: type = array_type %int_5, %.loc8_23 [symbolic = %array_type.loc8_27.2 (constants.%array_type.d0a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %w: ref @F.%array_type.loc8_27.2 (%array_type.e98) = ref_binding w, %w.var -// CHECK:STDOUT: %impl.elem0.loc8_3.1: @F.%.loc8_3.2 (%.89c) = impl_witness_access constants.%Destroy.lookup_impl_witness.f88, element0 [symbolic = %impl.elem0.loc8_3.2 (constants.%impl.elem0.c8c)] +// CHECK:STDOUT: %w: ref @F.%array_type.loc8_27.2 (%array_type.d0a) = ref_binding w, %w.var +// CHECK:STDOUT: %impl.elem0.loc8_3.1: @F.%.loc8_3.2 (%.7c2) = impl_witness_access constants.%Destroy.lookup_impl_witness.c34, element0 [symbolic = %impl.elem0.loc8_3.2 (constants.%impl.elem0.098)] // CHECK:STDOUT: %bound_method.loc8_3.1: = bound_method %w.var, %impl.elem0.loc8_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc8_3.1: = specific_impl_function %impl.elem0.loc8_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.2ae) [symbolic = %specific_impl_fn.loc8_3.2 (constants.%specific_impl_fn.65c)] +// CHECK:STDOUT: %specific_impl_fn.loc8_3.1: = specific_impl_function %impl.elem0.loc8_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.5e7) [symbolic = %specific_impl_fn.loc8_3.2 (constants.%specific_impl_fn.580)] // CHECK:STDOUT: %bound_method.loc8_3.2: = bound_method %w.var, %specific_impl_fn.loc8_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc8: init %empty_tuple.type = call %bound_method.loc8_3.2(%w.var) -// CHECK:STDOUT: %impl.elem0.loc7_3.1: @F.%.loc7_3 (%.a54) = impl_witness_access constants.%Destroy.lookup_impl_witness.27f, element0 [symbolic = %impl.elem0.loc7_3.2 (constants.%impl.elem0.078)] +// CHECK:STDOUT: %impl.elem0.loc7_3.1: @F.%.loc7_3 (%.93d) = impl_witness_access constants.%Destroy.lookup_impl_witness.d23, element0 [symbolic = %impl.elem0.loc7_3.2 (constants.%impl.elem0.26b)] // CHECK:STDOUT: %bound_method.loc7_3.1: = bound_method %v.var, %impl.elem0.loc7_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc7_3.1: = specific_impl_function %impl.elem0.loc7_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.199) [symbolic = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn.786)] +// CHECK:STDOUT: %specific_impl_fn.loc7_3.1: = specific_impl_function %impl.elem0.loc7_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.9d3) [symbolic = %specific_impl_fn.loc7_3.2 (constants.%specific_impl_fn.687)] // CHECK:STDOUT: %bound_method.loc7_3.2: = bound_method %v.var, %specific_impl_fn.loc7_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc7: init %empty_tuple.type = call %bound_method.loc7_3.2(%v.var) -// CHECK:STDOUT: %impl.elem0.loc6_3.1: @F.%.loc6_3.2 (%.1f7) = impl_witness_access constants.%Destroy.lookup_impl_witness.8a1, element0 [symbolic = %impl.elem0.loc6_3.2 (constants.%impl.elem0.bbf)] +// CHECK:STDOUT: %impl.elem0.loc6_3.1: @F.%.loc6_3.2 (%.0bf) = impl_witness_access constants.%Destroy.lookup_impl_witness.779, element0 [symbolic = %impl.elem0.loc6_3.2 (constants.%impl.elem0.462)] // CHECK:STDOUT: %bound_method.loc6_3.1: = bound_method %u.var, %impl.elem0.loc6_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc6_3.1: = specific_impl_function %impl.elem0.loc6_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.727) [symbolic = %specific_impl_fn.loc6_3.2 (constants.%specific_impl_fn.7f4)] +// CHECK:STDOUT: %specific_impl_fn.loc6_3.1: = specific_impl_function %impl.elem0.loc6_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.2e6) [symbolic = %specific_impl_fn.loc6_3.2 (constants.%specific_impl_fn.640)] // CHECK:STDOUT: %bound_method.loc6_3.2: = bound_method %u.var, %specific_impl_fn.loc6_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc6: init %empty_tuple.type = call %bound_method.loc6_3.2(%u.var) // CHECK:STDOUT: @@ -733,69 +733,69 @@ fn G(N:! i32) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc12_7.1, constants.%Int.as.ImplicitAs.impl.Convert.735 [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound)] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc12_7.1, constants.%Int.as.ImplicitAs.impl.Convert.64e [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound)] // CHECK:STDOUT: %bound_method.loc14_28.3: = bound_method %N.loc12_7.1, constants.%Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic = %bound_method.loc14_28.3 (constants.%bound_method)] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call.loc14_28.2: init Core.IntLiteral = call %bound_method.loc14_28.3(%N.loc12_7.1) [symbolic = %Int.as.ImplicitAs.impl.Convert.call.loc14_28.2 (constants.%Int.as.ImplicitAs.impl.Convert.call)] -// CHECK:STDOUT: %array_type.loc14_29.2: type = array_type %Int.as.ImplicitAs.impl.Convert.call.loc14_28.2, constants.%i32 [symbolic = %array_type.loc14_29.2 (constants.%array_type.a77)] -// CHECK:STDOUT: %require_complete: = require_complete_type %array_type.loc14_29.2 [symbolic = %require_complete (constants.%require_complete.363)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %array_type.loc14_29.2 [symbolic = %pattern_type (constants.%pattern_type.b89)] -// CHECK:STDOUT: %.loc14_30.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%array_type.loc14_29.2) [symbolic = %.loc14_30.3 (constants.%.c6a)] -// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness: = lookup_impl_witness %array_type.loc14_29.2, @DefaultOrUnformed [symbolic = %DefaultOrUnformed.lookup_impl_witness (constants.%DefaultOrUnformed.lookup_impl_witness.8e5)] -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc14_30.2: %DefaultOrUnformed.type = facet_value %array_type.loc14_29.2, (%DefaultOrUnformed.lookup_impl_witness) [symbolic = %DefaultOrUnformed.facet.loc14_30.2 (constants.%DefaultOrUnformed.facet.d9f)] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc14_30.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type (constants.%DefaultOrUnformed.WithSelf.Op.type.2c7)] -// CHECK:STDOUT: %.loc14_30.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type, %DefaultOrUnformed.facet.loc14_30.2 [symbolic = %.loc14_30.4 (constants.%.aa9)] -// CHECK:STDOUT: %impl.elem0.loc14_30.2: @G.%.loc14_30.4 (%.aa9) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_30.2 (constants.%impl.elem0.501)] -// CHECK:STDOUT: %specific_impl_fn.loc14_30.2: = specific_impl_function %impl.elem0.loc14_30.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc14_30.2) [symbolic = %specific_impl_fn.loc14_30.2 (constants.%specific_impl_fn.5c0)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %array_type.loc14_29.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness.327)] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %array_type.loc14_29.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.697)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.88f)] -// CHECK:STDOUT: %.loc14_3.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc14_3.2 (constants.%.37a)] -// CHECK:STDOUT: %impl.elem0.loc14_3.2: @G.%.loc14_3.2 (%.37a) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_3.2 (constants.%impl.elem0.0fc)] -// CHECK:STDOUT: %specific_impl_fn.loc14_3.2: = specific_impl_function %impl.elem0.loc14_3.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc14_3.2 (constants.%specific_impl_fn.86f)] +// CHECK:STDOUT: %array_type.loc14_29.2: type = array_type %Int.as.ImplicitAs.impl.Convert.call.loc14_28.2, constants.%i32 [symbolic = %array_type.loc14_29.2 (constants.%array_type.79d)] +// CHECK:STDOUT: %require_complete: = require_complete_type %array_type.loc14_29.2 [symbolic = %require_complete (constants.%require_complete.b66)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %array_type.loc14_29.2 [symbolic = %pattern_type (constants.%pattern_type.c9f)] +// CHECK:STDOUT: %.loc14_30.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%array_type.loc14_29.2) [symbolic = %.loc14_30.3 (constants.%.677)] +// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness: = lookup_impl_witness %array_type.loc14_29.2, @DefaultOrUnformed [symbolic = %DefaultOrUnformed.lookup_impl_witness (constants.%DefaultOrUnformed.lookup_impl_witness.7c7)] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc14_30.2: %DefaultOrUnformed.type = facet_value %array_type.loc14_29.2, (%DefaultOrUnformed.lookup_impl_witness) [symbolic = %DefaultOrUnformed.facet.loc14_30.2 (constants.%DefaultOrUnformed.facet.1ff)] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc14_30.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type (constants.%DefaultOrUnformed.WithSelf.Op.type.283)] +// CHECK:STDOUT: %.loc14_30.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type, %DefaultOrUnformed.facet.loc14_30.2 [symbolic = %.loc14_30.4 (constants.%.dca)] +// CHECK:STDOUT: %impl.elem0.loc14_30.2: @G.%.loc14_30.4 (%.dca) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_30.2 (constants.%impl.elem0.bfe)] +// CHECK:STDOUT: %specific_impl_fn.loc14_30.2: = specific_impl_function %impl.elem0.loc14_30.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc14_30.2) [symbolic = %specific_impl_fn.loc14_30.2 (constants.%specific_impl_fn.53a)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %array_type.loc14_29.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness.b07)] +// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %array_type.loc14_29.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.8f4)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.2ff)] +// CHECK:STDOUT: %.loc14_3.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc14_3.2 (constants.%.614)] +// CHECK:STDOUT: %impl.elem0.loc14_3.2: @G.%.loc14_3.2 (%.614) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_3.2 (constants.%impl.elem0.814)] +// CHECK:STDOUT: %specific_impl_fn.loc14_3.2: = specific_impl_function %impl.elem0.loc14_3.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc14_3.2 (constants.%specific_impl_fn.32f)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %k.patt: @G.%pattern_type (%pattern_type.b89) = ref_binding_pattern k [concrete] -// CHECK:STDOUT: %k.var_patt: @G.%pattern_type (%pattern_type.b89) = var_pattern %k.patt [concrete] +// CHECK:STDOUT: %k.patt: @G.%pattern_type (%pattern_type.c9f) = ref_binding_pattern k [concrete] +// CHECK:STDOUT: %k.var_patt: @G.%pattern_type (%pattern_type.c9f) = var_pattern %k.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %k.var: ref @G.%array_type.loc14_29.2 (%array_type.a77) = var %k.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc14_30.1: %DefaultOrUnformed.type = facet_value constants.%array_type.a77, (constants.%DefaultOrUnformed.lookup_impl_witness.8e5) [symbolic = %DefaultOrUnformed.facet.loc14_30.2 (constants.%DefaultOrUnformed.facet.d9f)] -// CHECK:STDOUT: %.loc14_30.1: %DefaultOrUnformed.type = converted constants.%array_type.a77, %DefaultOrUnformed.facet.loc14_30.1 [symbolic = %DefaultOrUnformed.facet.loc14_30.2 (constants.%DefaultOrUnformed.facet.d9f)] -// CHECK:STDOUT: %as_type: type = facet_access_type %.loc14_30.1 [symbolic = %array_type.loc14_29.2 (constants.%array_type.a77)] -// CHECK:STDOUT: %.loc14_30.2: type = converted %.loc14_30.1, %as_type [symbolic = %array_type.loc14_29.2 (constants.%array_type.a77)] -// CHECK:STDOUT: %impl.elem0.loc14_30.1: @G.%.loc14_30.4 (%.aa9) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness.8e5, element0 [symbolic = %impl.elem0.loc14_30.2 (constants.%impl.elem0.501)] -// CHECK:STDOUT: %specific_impl_fn.loc14_30.1: = specific_impl_function %impl.elem0.loc14_30.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet.d9f) [symbolic = %specific_impl_fn.loc14_30.2 (constants.%specific_impl_fn.5c0)] -// CHECK:STDOUT: %.loc14_3.1: ref @G.%array_type.loc14_29.2 (%array_type.a77) = splice_block %k.var {} -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.call: init @G.%array_type.loc14_29.2 (%array_type.a77) to %.loc14_3.1 = call %specific_impl_fn.loc14_30.1() +// CHECK:STDOUT: %k.var: ref @G.%array_type.loc14_29.2 (%array_type.79d) = var %k.var_patt +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc14_30.1: %DefaultOrUnformed.type = facet_value constants.%array_type.79d, (constants.%DefaultOrUnformed.lookup_impl_witness.7c7) [symbolic = %DefaultOrUnformed.facet.loc14_30.2 (constants.%DefaultOrUnformed.facet.1ff)] +// CHECK:STDOUT: %.loc14_30.1: %DefaultOrUnformed.type = converted constants.%array_type.79d, %DefaultOrUnformed.facet.loc14_30.1 [symbolic = %DefaultOrUnformed.facet.loc14_30.2 (constants.%DefaultOrUnformed.facet.1ff)] +// CHECK:STDOUT: %as_type: type = facet_access_type %.loc14_30.1 [symbolic = %array_type.loc14_29.2 (constants.%array_type.79d)] +// CHECK:STDOUT: %.loc14_30.2: type = converted %.loc14_30.1, %as_type [symbolic = %array_type.loc14_29.2 (constants.%array_type.79d)] +// CHECK:STDOUT: %impl.elem0.loc14_30.1: @G.%.loc14_30.4 (%.dca) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness.7c7, element0 [symbolic = %impl.elem0.loc14_30.2 (constants.%impl.elem0.bfe)] +// CHECK:STDOUT: %specific_impl_fn.loc14_30.1: = specific_impl_function %impl.elem0.loc14_30.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet.1ff) [symbolic = %specific_impl_fn.loc14_30.2 (constants.%specific_impl_fn.53a)] +// CHECK:STDOUT: %.loc14_3.1: ref @G.%array_type.loc14_29.2 (%array_type.79d) = splice_block %k.var {} +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.call: init @G.%array_type.loc14_29.2 (%array_type.79d) to %.loc14_3.1 = call %specific_impl_fn.loc14_30.1() // CHECK:STDOUT: assign %k.var, %DefaultOrUnformed.WithSelf.Op.call -// CHECK:STDOUT: %.loc14_29: type = splice_block %array_type.loc14_29.1 [symbolic = %array_type.loc14_29.2 (constants.%array_type.a77)] { +// CHECK:STDOUT: %.loc14_29: type = splice_block %array_type.loc14_29.1 [symbolic = %array_type.loc14_29.2 (constants.%array_type.79d)] { // CHECK:STDOUT: %i32.loc14: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %N.ref: %i32 = name_ref N, %N.loc12_7.2 [symbolic = %N.loc12_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %impl.elem0.loc14_28: %.516 = impl_witness_access constants.%ImplicitAs.impl_witness.d2b, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.735] +// CHECK:STDOUT: %N.ref: %i32 = name_ref N, %N.loc12_7.2 [symbolic = %N.loc12_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %impl.elem0.loc14_28: %.7a9 = impl_witness_access constants.%ImplicitAs.impl_witness.062, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.64e] // CHECK:STDOUT: %bound_method.loc14_28.1: = bound_method %N.ref, %impl.elem0.loc14_28 [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound)] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc14_28, @Int.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Int.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc14_28.2: = bound_method %N.ref, %specific_fn [symbolic = %bound_method.loc14_28.3 (constants.%bound_method)] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call.loc14_28.1: init Core.IntLiteral = call %bound_method.loc14_28.2(%N.ref) [symbolic = %Int.as.ImplicitAs.impl.Convert.call.loc14_28.2 (constants.%Int.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: %.loc14_28.1: Core.IntLiteral = value_of_initializer %Int.as.ImplicitAs.impl.Convert.call.loc14_28.1 [symbolic = %Int.as.ImplicitAs.impl.Convert.call.loc14_28.2 (constants.%Int.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: %.loc14_28.2: Core.IntLiteral = converted %N.ref, %.loc14_28.1 [symbolic = %Int.as.ImplicitAs.impl.Convert.call.loc14_28.2 (constants.%Int.as.ImplicitAs.impl.Convert.call)] -// CHECK:STDOUT: %array_type.loc14_29.1: type = array_type %.loc14_28.2, %i32.loc14 [symbolic = %array_type.loc14_29.2 (constants.%array_type.a77)] +// CHECK:STDOUT: %array_type.loc14_29.1: type = array_type %.loc14_28.2, %i32.loc14 [symbolic = %array_type.loc14_29.2 (constants.%array_type.79d)] // CHECK:STDOUT: } -// CHECK:STDOUT: %k: ref @G.%array_type.loc14_29.2 (%array_type.a77) = ref_binding k, %k.var -// CHECK:STDOUT: %impl.elem0.loc14_3.1: @G.%.loc14_3.2 (%.37a) = impl_witness_access constants.%Destroy.lookup_impl_witness.327, element0 [symbolic = %impl.elem0.loc14_3.2 (constants.%impl.elem0.0fc)] +// CHECK:STDOUT: %k: ref @G.%array_type.loc14_29.2 (%array_type.79d) = ref_binding k, %k.var +// CHECK:STDOUT: %impl.elem0.loc14_3.1: @G.%.loc14_3.2 (%.614) = impl_witness_access constants.%Destroy.lookup_impl_witness.b07, element0 [symbolic = %impl.elem0.loc14_3.2 (constants.%impl.elem0.814)] // CHECK:STDOUT: %bound_method.loc14_3.1: = bound_method %k.var, %impl.elem0.loc14_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc14_3.1: = specific_impl_function %impl.elem0.loc14_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.697) [symbolic = %specific_impl_fn.loc14_3.2 (constants.%specific_impl_fn.86f)] +// CHECK:STDOUT: %specific_impl_fn.loc14_3.1: = specific_impl_function %impl.elem0.loc14_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.8f4) [symbolic = %specific_impl_fn.loc14_3.2 (constants.%specific_impl_fn.32f)] // CHECK:STDOUT: %bound_method.loc14_3.2: = bound_method %k.var, %specific_impl_fn.loc14_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc14_3.2(%k.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.1e6) { -// CHECK:STDOUT: %T.loc4_7.1 => constants.%T.1e6 +// CHECK:STDOUT: specific @F(constants.%T.c66) { +// CHECK:STDOUT: %T.loc4_7.1 => constants.%T.c66 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @G(constants.%N.afc) { -// CHECK:STDOUT: %N.loc12_7.1 => constants.%N.afc +// CHECK:STDOUT: specific @G(constants.%N.bbe) { +// CHECK:STDOUT: %N.loc12_7.1 => constants.%N.bbe // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/eval/binding.carbon b/toolchain/check/testdata/eval/binding.carbon index 7ed242975abd..4f55263b2b04 100644 --- a/toolchain/check/testdata/eval/binding.carbon +++ b/toolchain/check/testdata/eval/binding.carbon @@ -74,115 +74,115 @@ let n: array(i32, G()) = (1, 2, 3); // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.2f8: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.7c2: %Int.as.ImplicitAs.impl.Convert.type.2f8 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.e78: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.e78) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet.e78 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.d2b: = impl_witness imports.%ImplicitAs.impl_witness_table.07d, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.73a: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.735: %Int.as.ImplicitAs.impl.Convert.type.73a = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.4dd: %ImplicitAs.type.4bd = facet_value %i32, (%ImplicitAs.impl_witness.d2b) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f57: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.4dd) [concrete] -// CHECK:STDOUT: %.516: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f57, %ImplicitAs.facet.4dd [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.49a, %Int.as.ImplicitAs.impl.Convert.735 [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.735, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.9a4: = bound_method %int_3.49a, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.f73: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.34b: %Int.as.ImplicitAs.impl.Convert.type.f73 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.840: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.840) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet.840 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.062: = impl_witness imports.%ImplicitAs.impl_witness_table.eac, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.337: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.64e: %Int.as.ImplicitAs.impl.Convert.type.337 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.89e: %ImplicitAs.type.ace = facet_value %i32, (%ImplicitAs.impl_witness.062) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b68: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.89e) [concrete] +// CHECK:STDOUT: %.7a9: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b68, %ImplicitAs.facet.89e [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.6cc, %Int.as.ImplicitAs.impl.Convert.64e [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.64e, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.6cc, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_3.1ba, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.215: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.bec: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %tuple.type.37f: type = tuple_type (Core.IntLiteral, Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.2d5: %tuple.type.37f = tuple_value (%int_1.5b8, %int_2.ecc, %int_3.1ba) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%int_1.d5e, %int_2.4ff, %int_3.49a) [concrete] -// CHECK:STDOUT: %.753: ref %array_type = temporary invalid, %array [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%int_1.d9c, %int_2.228, %int_3.6cc) [concrete] +// CHECK:STDOUT: %.2d4: ref %array_type = temporary invalid, %array [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.dd0: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.2f8) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.7c2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.07d = impl_witness_table (%Core.import_ref.dd0), @Int.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.835: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.f73) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.34b)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eac = impl_witness_table (%Core.import_ref.835), @Int.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.215 = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.bec = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %.loc11_23: type = splice_block %array_type [concrete = constants.%array_type] { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %F.ref: %F.type = name_ref F, %F.decl [concrete = constants.%F] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc11_21: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc11_21.1: = bound_method %int_3, %impl.elem0.loc11_21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc11_21: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc11_21.1: = bound_method %int_3, %impl.elem0.loc11_21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc11_21: = specific_function %impl.elem0.loc11_21, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_21.2: = bound_method %int_3, %specific_fn.loc11_21 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_21: init %i32 = call %bound_method.loc11_21.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc11_21.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_21 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc11_21.2: %i32 = converted %int_3, %.loc11_21.1 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %F.call: init %i32 = call %F.ref(%.loc11_21.2) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %impl.elem0.loc11_22: %.516 = impl_witness_access constants.%ImplicitAs.impl_witness.d2b, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.735] +// CHECK:STDOUT: %bound_method.loc11_21.2: = bound_method %int_3, %specific_fn.loc11_21 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_21: init %i32 = call %bound_method.loc11_21.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc11_21.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_21 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc11_21.2: %i32 = converted %int_3, %.loc11_21.1 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %F.call: init %i32 = call %F.ref(%.loc11_21.2) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %impl.elem0.loc11_22: %.7a9 = impl_witness_access constants.%ImplicitAs.impl_witness.062, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.64e] // CHECK:STDOUT: %bound_method.loc11_22.1: = bound_method %F.call, %impl.elem0.loc11_22 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_22: = specific_function %impl.elem0.loc11_22, @Int.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Int.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_22.2: = bound_method %F.call, %specific_fn.loc11_22 [concrete = constants.%bound_method.9a4] -// CHECK:STDOUT: %.loc11_22.1: %i32 = value_of_initializer %F.call [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc11_22.2: %i32 = converted %F.call, %.loc11_22.1 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc11_22.2: = bound_method %F.call, %specific_fn.loc11_22 [concrete = constants.%bound_method.353] +// CHECK:STDOUT: %.loc11_22.1: %i32 = value_of_initializer %F.call [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc11_22.2: %i32 = converted %F.call, %.loc11_22.1 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.loc11_22.2(%.loc11_22.2) [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc11_22.3: Core.IntLiteral = value_of_initializer %Int.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc11_22.4: Core.IntLiteral = converted %F.call, %.loc11_22.3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %array_type: type = array_type %.loc11_22.4, %i32 [concrete = constants.%array_type] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc11_35.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc11_35.1: = bound_method @__global_init.%int_1, %impl.elem0.loc11_35.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc11_35.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc11_35.1: = bound_method @__global_init.%int_1, %impl.elem0.loc11_35.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc11_35.1: = specific_function %impl.elem0.loc11_35.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_35.2: = bound_method @__global_init.%int_1, %specific_fn.loc11_35.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_35.1: init %i32 = call %bound_method.loc11_35.2(@__global_init.%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc11_35.1: init %i32 = converted @__global_init.%int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_35.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc11_35.2: = bound_method @__global_init.%int_1, %specific_fn.loc11_35.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_35.1: init %i32 = call %bound_method.loc11_35.2(@__global_init.%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc11_35.1: init %i32 = converted @__global_init.%int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_35.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc11_35.2: ref %array_type = temporary_storage // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc11_35.3: ref %i32 = array_index %.loc11_35.2, %int_0 -// CHECK:STDOUT: %.loc11_35.4: init %i32 to %.loc11_35.3 = in_place_init %.loc11_35.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc11_35.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc11_35.3: = bound_method @__global_init.%int_2, %impl.elem0.loc11_35.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc11_35.4: init %i32 to %.loc11_35.3 = in_place_init %.loc11_35.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc11_35.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc11_35.3: = bound_method @__global_init.%int_2, %impl.elem0.loc11_35.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc11_35.2: = specific_function %impl.elem0.loc11_35.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_35.4: = bound_method @__global_init.%int_2, %specific_fn.loc11_35.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_35.2: init %i32 = call %bound_method.loc11_35.4(@__global_init.%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc11_35.5: init %i32 = converted @__global_init.%int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_35.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc11_35.4: = bound_method @__global_init.%int_2, %specific_fn.loc11_35.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_35.2: init %i32 = call %bound_method.loc11_35.4(@__global_init.%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc11_35.5: init %i32 = converted @__global_init.%int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_35.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc11_35.6: ref %i32 = array_index %.loc11_35.2, %int_1 -// CHECK:STDOUT: %.loc11_35.7: init %i32 to %.loc11_35.6 = in_place_init %.loc11_35.5 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc11_35.3: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc11_35.5: = bound_method @__global_init.%int_3, %impl.elem0.loc11_35.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %.loc11_35.7: init %i32 to %.loc11_35.6 = in_place_init %.loc11_35.5 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc11_35.3: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc11_35.5: = bound_method @__global_init.%int_3, %impl.elem0.loc11_35.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc11_35.3: = specific_function %impl.elem0.loc11_35.3, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_35.6: = bound_method @__global_init.%int_3, %specific_fn.loc11_35.3 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_35.3: init %i32 = call %bound_method.loc11_35.6(@__global_init.%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc11_35.8: init %i32 = converted @__global_init.%int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_35.3 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc11_35.6: = bound_method @__global_init.%int_3, %specific_fn.loc11_35.3 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_35.3: init %i32 = call %bound_method.loc11_35.6(@__global_init.%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc11_35.8: init %i32 = converted @__global_init.%int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_35.3 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc11_35.9: ref %i32 = array_index %.loc11_35.2, %int_2 -// CHECK:STDOUT: %.loc11_35.10: init %i32 to %.loc11_35.9 = in_place_init %.loc11_35.8 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %.loc11_35.10: init %i32 to %.loc11_35.9 = in_place_init %.loc11_35.8 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc11_35.11: init %array_type to %.loc11_35.2 = array_init (%.loc11_35.4, %.loc11_35.7, %.loc11_35.10) [concrete = constants.%array] // CHECK:STDOUT: %.loc11_35.12: init %array_type = converted @__global_init.%.loc11, %.loc11_35.11 [concrete = constants.%array] -// CHECK:STDOUT: %.loc11_35.13: ref %array_type = temporary %.loc11_35.2, %.loc11_35.12 [concrete = constants.%.753] +// CHECK:STDOUT: %.loc11_35.13: ref %array_type = temporary %.loc11_35.2, %.loc11_35.12 [concrete = constants.%.2d4] // CHECK:STDOUT: %.loc11_35.14: %array_type = acquire_value %.loc11_35.13 [concrete = constants.%array] // CHECK:STDOUT: %n: %array_type = value_binding n, %.loc11_35.14 // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/eval/branch.carbon b/toolchain/check/testdata/eval/branch.carbon index b3c1313ea178..3625741c1680 100644 --- a/toolchain/check/testdata/eval/branch.carbon +++ b/toolchain/check/testdata/eval/branch.carbon @@ -72,11 +72,11 @@ var b: if false then A else B = MakeB(); // CHECK:STDOUT: %A: type = class_type @A [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] -// CHECK:STDOUT: %pattern_type.29a: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %MakeA.type: type = fn_type @MakeA [concrete] // CHECK:STDOUT: %MakeA: %MakeA.type = struct_value () [concrete] // CHECK:STDOUT: %false: bool = bool_literal false [concrete] -// CHECK:STDOUT: %pattern_type.82f: type = pattern_type %B [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] // CHECK:STDOUT: %MakeB.type: type = fn_type @MakeB [concrete] // CHECK:STDOUT: %MakeB: %MakeB.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -88,8 +88,8 @@ var b: if false then A else B = MakeB(); // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.29a = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.29a = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.ccb = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %A = var %a.var_patt [concrete] // CHECK:STDOUT: %.loc14_14.1: type = splice_block %.loc14_14.3 [concrete = constants.%A] { @@ -101,8 +101,8 @@ var b: if false then A else B = MakeB(); // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %A = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.82f = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.82f = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.787 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.787 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %B = var %b.var_patt [concrete] // CHECK:STDOUT: %.loc15_15.1: type = splice_block %.loc15_15.3 [concrete = constants.%B] { @@ -136,11 +136,11 @@ var b: if false then A else B = MakeB(); // CHECK:STDOUT: %A: type = class_type @A [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] -// CHECK:STDOUT: %pattern_type.fe8: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %MakeA.type: type = fn_type @MakeA [concrete] // CHECK:STDOUT: %MakeA: %MakeA.type = struct_value () [concrete] // CHECK:STDOUT: %false: bool = bool_literal false [concrete] -// CHECK:STDOUT: %pattern_type.61d: type = pattern_type %B [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] // CHECK:STDOUT: %MakeB.type: type = fn_type @MakeB [concrete] // CHECK:STDOUT: %MakeB: %MakeB.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -152,8 +152,8 @@ var b: if false then A else B = MakeB(); // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.fe8 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.fe8 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.ccb = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %A = var %a.var_patt [concrete] // CHECK:STDOUT: %.loc10_14.1: type = splice_block %.loc10_14.3 [concrete = constants.%A] { @@ -165,8 +165,8 @@ var b: if false then A else B = MakeB(); // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %A = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.61d = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.61d = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.787 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.787 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %B = var %b.var_patt [concrete] // CHECK:STDOUT: %.loc11_15.1: type = splice_block %.loc11_15.3 [concrete = constants.%B] { diff --git a/toolchain/check/testdata/eval/call.carbon b/toolchain/check/testdata/eval/call.carbon index d0681f05d66f..bafe46c2ee6c 100644 --- a/toolchain/check/testdata/eval/call.carbon +++ b/toolchain/check/testdata/eval/call.carbon @@ -178,27 +178,27 @@ fn H() { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %tuple.type.a64: type = tuple_type (%i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.05f: type = tuple_type (%i32, %i32, %i32) [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %tuple.8d2: %tuple.type.a64 = tuple_value (%int_1.d5e, %int_2.4ff, %int_3.49a) [concrete] -// CHECK:STDOUT: %.041: ref %tuple.type.a64 = temporary invalid, %tuple.8d2 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc8_5.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.041, %Destroy.Op.1dc86d.3 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %tuple.282: %tuple.type.05f = tuple_value (%int_1.d9c, %int_2.228, %int_3.6cc) [concrete] +// CHECK:STDOUT: %.628: ref %tuple.type.05f = temporary invalid, %tuple.282 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc8_5.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.628, %Destroy.Op.2dd605.3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %.loc8_5.1: ref %tuple.type.a64 = temporary_storage -// CHECK:STDOUT: %F.call: init %tuple.type.a64 to %.loc8_5.1 = call %F.ref() [concrete = constants.%tuple.8d2] -// CHECK:STDOUT: %.loc8_5.2: ref %tuple.type.a64 = temporary %.loc8_5.1, %F.call [concrete = constants.%.041] -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.041) +// CHECK:STDOUT: %.loc8_5.1: ref %tuple.type.05f = temporary_storage +// CHECK:STDOUT: %F.call: init %tuple.type.05f to %.loc8_5.1 = call %F.ref() [concrete = constants.%tuple.282] +// CHECK:STDOUT: %.loc8_5.2: ref %tuple.type.05f = temporary %.loc8_5.1, %F.call [concrete = constants.%.628] +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.628) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -209,7 +209,7 @@ fn H() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_5.3(%self.param: ref %tuple.type.a64) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_5.3(%self.param: ref %tuple.type.05f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -221,40 +221,40 @@ fn H() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.ff9: type = tuple_type (type, type, type) [concrete] -// CHECK:STDOUT: %tuple.bed: %tuple.type.ff9 = tuple_value (%i32, %i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.a64: type = tuple_type (%i32, %i32, %i32) [concrete] -// CHECK:STDOUT: %pattern_type.3ff: type = pattern_type %tuple.type.a64 [concrete] +// CHECK:STDOUT: %tuple.27c: %tuple.type.ff9 = tuple_value (%i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.05f: type = tuple_type (%i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %pattern_type.776: type = pattern_type %tuple.type.05f [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %tuple.8d2: %tuple.type.a64 = tuple_value (%int_1.d5e, %int_2.4ff, %int_3.49a) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc8_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %tuple.282: %tuple.type.05f = tuple_value (%int_1.d9c, %int_2.228, %int_3.6cc) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc8_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.3ff = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.3ff = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.776 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.776 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %tuple.type.a64 = var %a.var_patt +// CHECK:STDOUT: %a.var: ref %tuple.type.05f = var %a.var_patt // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %.loc8_3: ref %tuple.type.a64 = splice_block %a.var {} -// CHECK:STDOUT: %F.call: init %tuple.type.a64 to %.loc8_3 = call %F.ref() [concrete = constants.%tuple.8d2] +// CHECK:STDOUT: %.loc8_3: ref %tuple.type.05f = splice_block %a.var {} +// CHECK:STDOUT: %F.call: init %tuple.type.05f to %.loc8_3 = call %F.ref() [concrete = constants.%tuple.282] // CHECK:STDOUT: assign %a.var, %F.call -// CHECK:STDOUT: %.loc8_31.1: type = splice_block %.loc8_31.3 [concrete = constants.%tuple.type.a64] { +// CHECK:STDOUT: %.loc8_31.1: type = splice_block %.loc8_31.3 [concrete = constants.%tuple.type.05f] { // CHECK:STDOUT: %i32.loc8_18: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc8_23: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc8_28: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8_31.2: %tuple.type.ff9 = tuple_literal (%i32.loc8_18, %i32.loc8_23, %i32.loc8_28) [concrete = constants.%tuple.bed] -// CHECK:STDOUT: %.loc8_31.3: type = converted %.loc8_31.2, constants.%tuple.type.a64 [concrete = constants.%tuple.type.a64] +// CHECK:STDOUT: %.loc8_31.2: %tuple.type.ff9 = tuple_literal (%i32.loc8_18, %i32.loc8_23, %i32.loc8_28) [concrete = constants.%tuple.27c] +// CHECK:STDOUT: %.loc8_31.3: type = converted %.loc8_31.2, constants.%tuple.type.05f [concrete = constants.%tuple.type.05f] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %tuple.type.a64 = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %a: ref %tuple.type.05f = ref_binding a, %a.var +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -266,7 +266,7 @@ fn H() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %tuple.type.a64) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %tuple.type.05f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -278,10 +278,10 @@ fn H() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.ff9: type = tuple_type (type, type, type) [concrete] -// CHECK:STDOUT: %tuple.bed: %tuple.type.ff9 = tuple_value (%i32, %i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.a64: type = tuple_type (%i32, %i32, %i32) [concrete] -// CHECK:STDOUT: %.f83: Core.Form = init_form %tuple.type.a64 [concrete] -// CHECK:STDOUT: %pattern_type.3ff: type = pattern_type %tuple.type.a64 [concrete] +// CHECK:STDOUT: %tuple.27c: %tuple.type.ff9 = tuple_value (%i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.05f: type = tuple_type (%i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %.fd3: Core.Form = init_form %tuple.type.05f [concrete] +// CHECK:STDOUT: %pattern_type.776: type = pattern_type %tuple.type.05f [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] @@ -290,88 +290,88 @@ fn H() { // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %tuple.type.37f: type = tuple_type (Core.IntLiteral, Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.2d5: %tuple.type.37f = tuple_value (%int_1.5b8, %int_2.ecc, %int_3.1ba) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %tuple.8d2: %tuple.type.a64 = tuple_value (%int_1.d5e, %int_2.4ff, %int_3.49a) [concrete] -// CHECK:STDOUT: %.041: ref %tuple.type.a64 = temporary invalid, %tuple.8d2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %tuple.282: %tuple.type.05f = tuple_value (%int_1.d9c, %int_2.228, %int_3.6cc) [concrete] +// CHECK:STDOUT: %.628: ref %tuple.type.05f = temporary invalid, %tuple.282 [concrete] // CHECK:STDOUT: %tuple.type.f94: type = tuple_type (Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.ad8: %tuple.type.f94 = tuple_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc17_32.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.041, %Destroy.Op.1dc86d.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc17_32.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.628, %Destroy.Op.2dd605.3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.3ff = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.3ff = return_slot_pattern %return.param_patt, %.loc5_30.2 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.776 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.776 = return_slot_pattern %return.param_patt, %.loc5_30.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc5_17: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc5_22: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc5_27: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc5_30.1: %tuple.type.ff9 = tuple_literal (%i32.loc5_17, %i32.loc5_22, %i32.loc5_27) [concrete = constants.%tuple.bed] -// CHECK:STDOUT: %.loc5_30.2: type = converted %.loc5_30.1, constants.%tuple.type.a64 [concrete = constants.%tuple.type.a64] -// CHECK:STDOUT: %.loc5_30.3: Core.Form = init_form %.loc5_30.2 [concrete = constants.%.f83] -// CHECK:STDOUT: %return.param: ref %tuple.type.a64 = out_param call_param0 -// CHECK:STDOUT: %return: ref %tuple.type.a64 = return_slot %return.param +// CHECK:STDOUT: %.loc5_30.1: %tuple.type.ff9 = tuple_literal (%i32.loc5_17, %i32.loc5_22, %i32.loc5_27) [concrete = constants.%tuple.27c] +// CHECK:STDOUT: %.loc5_30.2: type = converted %.loc5_30.1, constants.%tuple.type.05f [concrete = constants.%tuple.type.05f] +// CHECK:STDOUT: %.loc5_30.3: Core.Form = init_form %.loc5_30.2 [concrete = constants.%.fd3] +// CHECK:STDOUT: %return.param: ref %tuple.type.05f = out_param call_param0 +// CHECK:STDOUT: %return: ref %tuple.type.05f = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F() -> out %return.param: %tuple.type.a64 { +// CHECK:STDOUT: fn @F() -> out %return.param: %tuple.type.05f { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc5_49.1: %tuple.type.37f = tuple_literal (%int_1, %int_2, %int_3) [concrete = constants.%tuple.2d5] -// CHECK:STDOUT: %impl.elem0.loc5_49.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc5_49.1: = bound_method %int_1, %impl.elem0.loc5_49.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc5_49.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc5_49.1: = bound_method %int_1, %impl.elem0.loc5_49.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc5_49.1: = specific_function %impl.elem0.loc5_49.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc5_49.2: = bound_method %int_1, %specific_fn.loc5_49.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_49.1: init %i32 = call %bound_method.loc5_49.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc5_49.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_49.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc5_49.2: = bound_method %int_1, %specific_fn.loc5_49.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_49.1: init %i32 = call %bound_method.loc5_49.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc5_49.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_49.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %return.param, element0 -// CHECK:STDOUT: %.loc5_49.3: init %i32 to %tuple.elem0 = in_place_init %.loc5_49.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc5_49.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc5_49.3: = bound_method %int_2, %impl.elem0.loc5_49.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc5_49.3: init %i32 to %tuple.elem0 = in_place_init %.loc5_49.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc5_49.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc5_49.3: = bound_method %int_2, %impl.elem0.loc5_49.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc5_49.2: = specific_function %impl.elem0.loc5_49.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc5_49.4: = bound_method %int_2, %specific_fn.loc5_49.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_49.2: init %i32 = call %bound_method.loc5_49.4(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc5_49.4: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_49.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc5_49.4: = bound_method %int_2, %specific_fn.loc5_49.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_49.2: init %i32 = call %bound_method.loc5_49.4(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc5_49.4: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_49.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %tuple.elem1: ref %i32 = tuple_access %return.param, element1 -// CHECK:STDOUT: %.loc5_49.5: init %i32 to %tuple.elem1 = in_place_init %.loc5_49.4 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc5_49.3: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc5_49.5: = bound_method %int_3, %impl.elem0.loc5_49.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %.loc5_49.5: init %i32 to %tuple.elem1 = in_place_init %.loc5_49.4 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc5_49.3: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc5_49.5: = bound_method %int_3, %impl.elem0.loc5_49.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc5_49.3: = specific_function %impl.elem0.loc5_49.3, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc5_49.6: = bound_method %int_3, %specific_fn.loc5_49.3 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_49.3: init %i32 = call %bound_method.loc5_49.6(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc5_49.6: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_49.3 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc5_49.6: = bound_method %int_3, %specific_fn.loc5_49.3 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_49.3: init %i32 = call %bound_method.loc5_49.6(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc5_49.6: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_49.3 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %tuple.elem2: ref %i32 = tuple_access %return.param, element2 -// CHECK:STDOUT: %.loc5_49.7: init %i32 to %tuple.elem2 = in_place_init %.loc5_49.6 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc5_49.8: init %tuple.type.a64 to %return.param = tuple_init (%.loc5_49.3, %.loc5_49.5, %.loc5_49.7) [concrete = constants.%tuple.8d2] -// CHECK:STDOUT: %.loc5_50: init %tuple.type.a64 = converted %.loc5_49.1, %.loc5_49.8 [concrete = constants.%tuple.8d2] +// CHECK:STDOUT: %.loc5_49.7: init %i32 to %tuple.elem2 = in_place_init %.loc5_49.6 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc5_49.8: init %tuple.type.05f to %return.param = tuple_init (%.loc5_49.3, %.loc5_49.5, %.loc5_49.7) [concrete = constants.%tuple.282] +// CHECK:STDOUT: %.loc5_50: init %tuple.type.05f = converted %.loc5_49.1, %.loc5_49.8 [concrete = constants.%tuple.282] // CHECK:STDOUT: return %.loc5_50 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: @@ -388,7 +388,7 @@ fn H() { // CHECK:STDOUT: assign %a.var, // CHECK:STDOUT: // CHECK:STDOUT: %a: ref = ref_binding a, [concrete = ] -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.041) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.628) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -399,7 +399,7 @@ fn H() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc17_32.3(%self.param: ref %tuple.type.a64) { +// CHECK:STDOUT: fn @Destroy.Op.loc17_32.3(%self.param: ref %tuple.type.05f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -409,8 +409,8 @@ fn H() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %.8c2: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.6f6: type = pattern_type %C [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] @@ -418,20 +418,20 @@ fn H() { // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %.674: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %.7a6: ref %C = temporary invalid, %C.val [concrete] // CHECK:STDOUT: %G.specific_fn: = specific_function %G, @G(%C.val) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc13_7.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.674, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc13_7.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.7a6, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.6f6 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.6f6 = return_slot_pattern %return.param_patt, %C.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc6_16: Core.Form = init_form %C.ref [concrete = constants.%.8c2] +// CHECK:STDOUT: %.loc6_16: Core.Form = init_form %C.ref [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } @@ -451,11 +451,11 @@ fn H() { // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %.loc13_7.1: ref %C = temporary_storage // CHECK:STDOUT: %F.call: init %C to %.loc13_7.1 = call %F.ref() [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc13_7.2: ref %C = temporary %.loc13_7.1, %F.call [concrete = constants.%.674] +// CHECK:STDOUT: %.loc13_7.2: ref %C = temporary %.loc13_7.1, %F.call [concrete = constants.%.7a6] // CHECK:STDOUT: %.loc13_7.3: %C = acquire_value %.loc13_7.2 [concrete = constants.%C.val] // CHECK:STDOUT: %G.specific_fn: = specific_function %G.ref, @G(constants.%C.val) [concrete = constants.%G.specific_fn] // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.specific_fn() -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.674) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.7a6) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/eval/symbolic.carbon b/toolchain/check/testdata/eval/symbolic.carbon index 7b2673e7af8c..9b6ddefe9214 100644 --- a/toolchain/check/testdata/eval/symbolic.carbon +++ b/toolchain/check/testdata/eval/symbolic.carbon @@ -75,45 +75,45 @@ fn F() { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %Z.impl_witness: = impl_witness @empty_struct_type.as.Z.impl.%Z.impl_witness_table [concrete] // CHECK:STDOUT: %Z.facet: %Z.type = facet_value %empty_struct_type, (%Z.impl_witness) [concrete] -// CHECK:STDOUT: %U.d93: %Z.type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %U.as_type.3b3: type = facet_access_type %U.d93 [symbolic] +// CHECK:STDOUT: %U.aa0: %Z.type = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %U.as_type.a7f: type = facet_access_type %U.aa0 [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.592: = impl_witness imports.%Copy.impl_witness_table.fbd [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.592) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.b33: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.173: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b33, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.f49: = impl_witness imports.%Copy.impl_witness_table.fcf [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.f49) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cd0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.31b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cd0, %Copy.facet [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.type: type = fn_type @type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op: %type.as.Copy.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %type.as.Copy.impl.Op.bound.b9d: = bound_method %U.as_type.3b3, %type.as.Copy.impl.Op [symbolic] +// CHECK:STDOUT: %type.as.Copy.impl.Op.bound.a10: = bound_method %U.as_type.a7f, %type.as.Copy.impl.Op [symbolic] // CHECK:STDOUT: %type.as.Copy.impl.Op.bound.57f: = bound_method %empty_struct_type, %type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.41e: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.fbd = impl_witness_table (%Core.import_ref.41e), @type.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.fcf = impl_witness_table (%Core.import_ref.f63), @type.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @E(%U.loc6_12.2: %Z.type) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %U.as_type.loc11_11.2: type = facet_access_type %U.loc6_12.1 [symbolic = %U.as_type.loc11_11.2 (constants.%U.as_type.3b3)] -// CHECK:STDOUT: %type.as.Copy.impl.Op.bound: = bound_method %U.as_type.loc11_11.2, constants.%type.as.Copy.impl.Op [symbolic = %type.as.Copy.impl.Op.bound (constants.%type.as.Copy.impl.Op.bound.b9d)] +// CHECK:STDOUT: %U.as_type.loc11_11.2: type = facet_access_type %U.loc6_12.1 [symbolic = %U.as_type.loc11_11.2 (constants.%U.as_type.a7f)] +// CHECK:STDOUT: %type.as.Copy.impl.Op.bound: = bound_method %U.as_type.loc11_11.2, constants.%type.as.Copy.impl.Op [symbolic = %type.as.Copy.impl.Op.bound (constants.%type.as.Copy.impl.Op.bound.a10)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: type { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %U.ref: %Z.type = name_ref U, %U.loc6_12.2 [symbolic = %U.loc6_12.1 (constants.%U.d93)] -// CHECK:STDOUT: %U.as_type.loc11_11.1: type = facet_access_type %U.ref [symbolic = %U.as_type.loc11_11.2 (constants.%U.as_type.3b3)] -// CHECK:STDOUT: %.loc11: type = converted %U.ref, %U.as_type.loc11_11.1 [symbolic = %U.as_type.loc11_11.2 (constants.%U.as_type.3b3)] -// CHECK:STDOUT: %impl.elem0: %.173 = impl_witness_access constants.%Copy.impl_witness.592, element0 [concrete = constants.%type.as.Copy.impl.Op] -// CHECK:STDOUT: %bound_method: = bound_method %.loc11, %impl.elem0 [symbolic = %type.as.Copy.impl.Op.bound (constants.%type.as.Copy.impl.Op.bound.b9d)] -// CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%.loc11) [symbolic = %U.as_type.loc11_11.2 (constants.%U.as_type.3b3)] +// CHECK:STDOUT: %U.ref: %Z.type = name_ref U, %U.loc6_12.2 [symbolic = %U.loc6_12.1 (constants.%U.aa0)] +// CHECK:STDOUT: %U.as_type.loc11_11.1: type = facet_access_type %U.ref [symbolic = %U.as_type.loc11_11.2 (constants.%U.as_type.a7f)] +// CHECK:STDOUT: %.loc11: type = converted %U.ref, %U.as_type.loc11_11.1 [symbolic = %U.as_type.loc11_11.2 (constants.%U.as_type.a7f)] +// CHECK:STDOUT: %impl.elem0: %.31b = impl_witness_access constants.%Copy.impl_witness.f49, element0 [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %bound_method: = bound_method %.loc11, %impl.elem0 [symbolic = %type.as.Copy.impl.Op.bound (constants.%type.as.Copy.impl.Op.bound.a10)] +// CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%.loc11) [symbolic = %U.as_type.loc11_11.2 (constants.%U.as_type.a7f)] // CHECK:STDOUT: return %type.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @E(constants.%U.d93) { -// CHECK:STDOUT: %U.loc6_12.1 => constants.%U.d93 +// CHECK:STDOUT: specific @E(constants.%U.aa0) { +// CHECK:STDOUT: %U.loc6_12.1 => constants.%U.aa0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @E(constants.%Z.facet) { diff --git a/toolchain/check/testdata/facet/access.carbon b/toolchain/check/testdata/facet/access.carbon index 4318776205f4..7aa34b8277e6 100644 --- a/toolchain/check/testdata/facet/access.carbon +++ b/toolchain/check/testdata/facet/access.carbon @@ -424,11 +424,11 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.DoIt.decl [concrete] // CHECK:STDOUT: %T: %I.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.DoIt.type.4a2: type = fn_type @I.WithSelf.DoIt, @I.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %I.WithSelf.DoIt.type.534: type = fn_type @I.WithSelf.DoIt, @I.WithSelf(%T) [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T, @I [symbolic] -// CHECK:STDOUT: %.87e: type = fn_type_with_self_type %I.WithSelf.DoIt.type.4a2, %T [symbolic] -// CHECK:STDOUT: %impl.elem0: %.87e = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %.b1d: type = fn_type_with_self_type %I.WithSelf.DoIt.type.534, %T [symbolic] +// CHECK:STDOUT: %impl.elem0: %.b1d = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @I.WithSelf.DoIt(%T) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -437,10 +437,10 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T.as_type.loc10_4.2: type = facet_access_type %T.loc8_9.1 [symbolic = %T.as_type.loc10_4.2 (constants.%T.as_type)] -// CHECK:STDOUT: %I.WithSelf.DoIt.type: type = fn_type @I.WithSelf.DoIt, @I.WithSelf(%T.loc8_9.1) [symbolic = %I.WithSelf.DoIt.type (constants.%I.WithSelf.DoIt.type.4a2)] -// CHECK:STDOUT: %.loc10_4.2: type = fn_type_with_self_type %I.WithSelf.DoIt.type, %T.loc8_9.1 [symbolic = %.loc10_4.2 (constants.%.87e)] +// CHECK:STDOUT: %I.WithSelf.DoIt.type: type = fn_type @I.WithSelf.DoIt, @I.WithSelf(%T.loc8_9.1) [symbolic = %I.WithSelf.DoIt.type (constants.%I.WithSelf.DoIt.type.534)] +// CHECK:STDOUT: %.loc10_4.2: type = fn_type_with_self_type %I.WithSelf.DoIt.type, %T.loc8_9.1 [symbolic = %.loc10_4.2 (constants.%.b1d)] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T.loc8_9.1, @I [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc10_4.2: @Use.%.loc10_4.2 (%.87e) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc10_4.2: @Use.%.loc10_4.2 (%.b1d) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc10_4.2: = specific_impl_function %impl.elem0.loc10_4.2, @I.WithSelf.DoIt(%T.loc8_9.1) [symbolic = %specific_impl_fn.loc10_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { @@ -449,7 +449,7 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: %T.as_type.loc10_4.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc10_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %.loc10_4.1: type = converted %T.ref, %T.as_type.loc10_4.1 [symbolic = %T.as_type.loc10_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %DoIt.ref: %I.assoc_type = name_ref DoIt, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc10_4.1: @Use.%.loc10_4.2 (%.87e) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc10_4.1: @Use.%.loc10_4.2 (%.b1d) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc10_4.1: = specific_impl_function %impl.elem0.loc10_4.1, @I.WithSelf.DoIt(constants.%T) [symbolic = %specific_impl_fn.loc10_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %I.WithSelf.DoIt.call: init %empty_tuple.type = call %specific_impl_fn.loc10_4.1() // CHECK:STDOUT: @@ -468,12 +468,12 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.Make.decl [concrete] // CHECK:STDOUT: %T: %I.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %.67d: Core.Form = init_form %T.as_type [symbolic] -// CHECK:STDOUT: %pattern_type.d74: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %I.WithSelf.Make.type.be0: type = fn_type @I.WithSelf.Make, @I.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %.b40: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.3df: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %I.WithSelf.Make.type.279: type = fn_type @I.WithSelf.Make, @I.WithSelf(%T) [symbolic] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T, @I [symbolic] -// CHECK:STDOUT: %.dab: type = fn_type_with_self_type %I.WithSelf.Make.type.be0, %T [symbolic] -// CHECK:STDOUT: %impl.elem0: %.dab = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %.890: type = fn_type_with_self_type %I.WithSelf.Make.type.279, %T [symbolic] +// CHECK:STDOUT: %impl.elem0: %.890 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @I.WithSelf.Make(%T) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -482,10 +482,10 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %I.WithSelf.Make.type: type = fn_type @I.WithSelf.Make, @I.WithSelf(%T.loc8_9.1) [symbolic = %I.WithSelf.Make.type (constants.%I.WithSelf.Make.type.be0)] -// CHECK:STDOUT: %.loc10_11.2: type = fn_type_with_self_type %I.WithSelf.Make.type, %T.loc8_9.1 [symbolic = %.loc10_11.2 (constants.%.dab)] +// CHECK:STDOUT: %I.WithSelf.Make.type: type = fn_type @I.WithSelf.Make, @I.WithSelf(%T.loc8_9.1) [symbolic = %I.WithSelf.Make.type (constants.%I.WithSelf.Make.type.279)] +// CHECK:STDOUT: %.loc10_11.2: type = fn_type_with_self_type %I.WithSelf.Make.type, %T.loc8_9.1 [symbolic = %.loc10_11.2 (constants.%.890)] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T.loc8_9.1, @I [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc10_11.2: @Use.%.loc10_11.2 (%.dab) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_11.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc10_11.2: @Use.%.loc10_11.2 (%.890) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_11.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc10_11.2: = specific_impl_function %impl.elem0.loc10_11.2, @I.WithSelf.Make(%T.loc8_9.1) [symbolic = %specific_impl_fn.loc10_11.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @Use.%T.as_type.loc8_18.1 (%T.as_type) { @@ -494,7 +494,7 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: %T.as_type.loc10: type = facet_access_type %T.ref.loc10 [symbolic = %T.as_type.loc8_18.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc10_11.1: type = converted %T.ref.loc10, %T.as_type.loc10 [symbolic = %T.as_type.loc8_18.1 (constants.%T.as_type)] // CHECK:STDOUT: %Make.ref: %I.assoc_type = name_ref Make, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc10_11.1: @Use.%.loc10_11.2 (%.dab) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_11.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc10_11.1: @Use.%.loc10_11.2 (%.890) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_11.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc10_11.1: = specific_impl_function %impl.elem0.loc10_11.1, @I.WithSelf.Make(constants.%T) [symbolic = %specific_impl_fn.loc10_11.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: %I.WithSelf.Make.call: init @Use.%T.as_type.loc8_18.1 (%T.as_type) to %.loc8_18.1 = call %specific_impl_fn.loc10_11.1() @@ -505,8 +505,8 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: specific @Use(constants.%T) { // CHECK:STDOUT: %T.loc8_9.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc8_18.1 => constants.%T.as_type -// CHECK:STDOUT: %.loc8_18.2 => constants.%.67d -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d74 +// CHECK:STDOUT: %.loc8_18.2 => constants.%.b40 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3df // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- access_assoc_method.carbon @@ -517,33 +517,33 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.Copy.decl [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.71a: type = pattern_type %I.type [concrete] +// CHECK:STDOUT: %pattern_type.998: type = pattern_type %I.type [concrete] // CHECK:STDOUT: %T: %I.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.4c2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %.aa2: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.3df: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %.b40: Core.Form = init_form %T.as_type [symbolic] // CHECK:STDOUT: %Use.type: type = fn_type @Use [concrete] // CHECK:STDOUT: %Use: %Use.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %I.WithSelf.Copy.type.2f2: type = fn_type @I.WithSelf.Copy, @I.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %I.WithSelf.Copy.type.849: type = fn_type @I.WithSelf.Copy, @I.WithSelf(%T) [symbolic] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T, @I [symbolic] -// CHECK:STDOUT: %.64d: type = fn_type_with_self_type %I.WithSelf.Copy.type.2f2, %T [symbolic] -// CHECK:STDOUT: %impl.elem0: %.64d = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %.c51: type = fn_type_with_self_type %I.WithSelf.Copy.type.849, %T [symbolic] +// CHECK:STDOUT: %impl.elem0: %.c51 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @I.WithSelf.Copy(%T) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %Use.decl: %Use.type = fn_decl @Use [concrete = constants.%Use] { -// CHECK:STDOUT: %T.patt: %pattern_type.71a = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @Use.%pattern_type (%pattern_type.4c2) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @Use.%pattern_type (%pattern_type.4c2) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Use.%pattern_type (%pattern_type.4c2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Use.%pattern_type (%pattern_type.4c2) = return_slot_pattern %return.param_patt, %.loc9_24.3 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.998 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @Use.%pattern_type (%pattern_type.3df) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @Use.%pattern_type (%pattern_type.3df) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Use.%pattern_type (%pattern_type.3df) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Use.%pattern_type (%pattern_type.3df) = return_slot_pattern %return.param_patt, %.loc9_24.3 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref.loc9_24: %I.type = name_ref T, %T.loc9_9.2 [symbolic = %T.loc9_9.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc9_24: type = facet_access_type %T.ref.loc9_24 [symbolic = %T.as_type.loc9_18.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc9_24.3: type = converted %T.ref.loc9_24, %T.as_type.loc9_24 [symbolic = %T.as_type.loc9_18.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc9_24.4: Core.Form = init_form %.loc9_24.3 [symbolic = %.loc9_24.2 (constants.%.aa2)] +// CHECK:STDOUT: %.loc9_24.4: Core.Form = init_form %.loc9_24.3 [symbolic = %.loc9_24.2 (constants.%.b40)] // CHECK:STDOUT: %.loc9_12: type = splice_block %I.ref [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] @@ -564,22 +564,22 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: generic fn @Use(%T.loc9_9.2: %I.type) { // CHECK:STDOUT: %T.loc9_9.1: %I.type = symbolic_binding T, 0 [symbolic = %T.loc9_9.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc9_18.1: type = facet_access_type %T.loc9_9.1 [symbolic = %T.as_type.loc9_18.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc9_18.1 [symbolic = %pattern_type (constants.%pattern_type.4c2)] -// CHECK:STDOUT: %.loc9_24.2: Core.Form = init_form %T.as_type.loc9_18.1 [symbolic = %.loc9_24.2 (constants.%.aa2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc9_18.1 [symbolic = %pattern_type (constants.%pattern_type.3df)] +// CHECK:STDOUT: %.loc9_24.2: Core.Form = init_form %T.as_type.loc9_18.1 [symbolic = %.loc9_24.2 (constants.%.b40)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc9_18.1 [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %I.WithSelf.Copy.type: type = fn_type @I.WithSelf.Copy, @I.WithSelf(%T.loc9_9.1) [symbolic = %I.WithSelf.Copy.type (constants.%I.WithSelf.Copy.type.2f2)] -// CHECK:STDOUT: %.loc10: type = fn_type_with_self_type %I.WithSelf.Copy.type, %T.loc9_9.1 [symbolic = %.loc10 (constants.%.64d)] +// CHECK:STDOUT: %I.WithSelf.Copy.type: type = fn_type @I.WithSelf.Copy, @I.WithSelf(%T.loc9_9.1) [symbolic = %I.WithSelf.Copy.type (constants.%I.WithSelf.Copy.type.849)] +// CHECK:STDOUT: %.loc10: type = fn_type_with_self_type %I.WithSelf.Copy.type, %T.loc9_9.1 [symbolic = %.loc10 (constants.%.c51)] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T.loc9_9.1, @I [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc10_11.2: @Use.%.loc10 (%.64d) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_11.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc10_11.2: @Use.%.loc10 (%.c51) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_11.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc10_11.2: = specific_impl_function %impl.elem0.loc10_11.2, @I.WithSelf.Copy(%T.loc9_9.1) [symbolic = %specific_impl_fn.loc10_11.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @Use.%T.as_type.loc9_18.1 (%T.as_type)) -> out %return.param: @Use.%T.as_type.loc9_18.1 (%T.as_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: @Use.%T.as_type.loc9_18.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %Copy.ref: %I.assoc_type = name_ref Copy, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc10_11.1: @Use.%.loc10 (%.64d) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_11.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc10_11.1: @Use.%.loc10 (%.c51) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_11.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc10_11: = bound_method %x.ref, %impl.elem0.loc10_11.1 // CHECK:STDOUT: %specific_impl_fn.loc10_11.1: = specific_impl_function %impl.elem0.loc10_11.1, @I.WithSelf.Copy(constants.%T) [symbolic = %specific_impl_fn.loc10_11.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %bound_method.loc10_17: = bound_method %x.ref, %specific_impl_fn.loc10_11.1 @@ -592,8 +592,8 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: specific @Use(constants.%T) { // CHECK:STDOUT: %T.loc9_9.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc9_18.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4c2 -// CHECK:STDOUT: %.loc9_24.2 => constants.%.aa2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3df +// CHECK:STDOUT: %.loc9_24.2 => constants.%.b40 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- access_selfless_method.carbon @@ -605,11 +605,11 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.Hello.decl [concrete] // CHECK:STDOUT: %T: %I.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.b6a: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %I.WithSelf.Hello.type.9c0: type = fn_type @I.WithSelf.Hello, @I.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %pattern_type.3df: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %I.WithSelf.Hello.type.b99: type = fn_type @I.WithSelf.Hello, @I.WithSelf(%T) [symbolic] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T, @I [symbolic] -// CHECK:STDOUT: %.114: type = fn_type_with_self_type %I.WithSelf.Hello.type.9c0, %T [symbolic] -// CHECK:STDOUT: %impl.elem0: %.114 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %.6dd: type = fn_type_with_self_type %I.WithSelf.Hello.type.b99, %T [symbolic] +// CHECK:STDOUT: %impl.elem0: %.6dd = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @I.WithSelf.Hello(%T) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -618,17 +618,17 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %I.WithSelf.Hello.type: type = fn_type @I.WithSelf.Hello, @I.WithSelf(%T.loc8_9.1) [symbolic = %I.WithSelf.Hello.type (constants.%I.WithSelf.Hello.type.9c0)] -// CHECK:STDOUT: %.loc10: type = fn_type_with_self_type %I.WithSelf.Hello.type, %T.loc8_9.1 [symbolic = %.loc10 (constants.%.114)] +// CHECK:STDOUT: %I.WithSelf.Hello.type: type = fn_type @I.WithSelf.Hello, @I.WithSelf(%T.loc8_9.1) [symbolic = %I.WithSelf.Hello.type (constants.%I.WithSelf.Hello.type.b99)] +// CHECK:STDOUT: %.loc10: type = fn_type_with_self_type %I.WithSelf.Hello.type, %T.loc8_9.1 [symbolic = %.loc10 (constants.%.6dd)] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T.loc8_9.1, @I [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc10_4.2: @Use.%.loc10 (%.114) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc10_4.2: @Use.%.loc10 (%.6dd) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc10_4.2: = specific_impl_function %impl.elem0.loc10_4.2, @I.WithSelf.Hello(%T.loc8_9.1) [symbolic = %specific_impl_fn.loc10_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @Use.%T.as_type.loc8_18.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: @Use.%T.as_type.loc8_18.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %Hello.ref: %I.assoc_type = name_ref Hello, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc10_4.1: @Use.%.loc10 (%.114) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc10_4.1: @Use.%.loc10 (%.6dd) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc10_4.1: = specific_impl_function %impl.elem0.loc10_4.1, @I.WithSelf.Hello(constants.%T) [symbolic = %specific_impl_fn.loc10_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %I.WithSelf.Hello.call: init %empty_tuple.type = call %specific_impl_fn.loc10_4.1() // CHECK:STDOUT: @@ -638,7 +638,7 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: specific @Use(constants.%T) { // CHECK:STDOUT: %T.loc8_9.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc8_18.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.b6a +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3df // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- access_assoc_method_indirect.carbon @@ -649,12 +649,12 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.Copy.decl [concrete] // CHECK:STDOUT: %T: %I.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.24e: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %.7f2: Core.Form = init_form %T.as_type [symbolic] -// CHECK:STDOUT: %I.WithSelf.Copy.type.dd7: type = fn_type @I.WithSelf.Copy, @I.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %pattern_type.3df: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %.b40: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %I.WithSelf.Copy.type.849: type = fn_type @I.WithSelf.Copy, @I.WithSelf(%T) [symbolic] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T, @I [symbolic] -// CHECK:STDOUT: %.711: type = fn_type_with_self_type %I.WithSelf.Copy.type.dd7, %T [symbolic] -// CHECK:STDOUT: %impl.elem0: %.711 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %.c51: type = fn_type_with_self_type %I.WithSelf.Copy.type.849, %T [symbolic] +// CHECK:STDOUT: %impl.elem0: %.c51 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @I.WithSelf.Copy(%T) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -663,10 +663,10 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %I.WithSelf.Copy.type: type = fn_type @I.WithSelf.Copy, @I.WithSelf(%T.loc8_17.1) [symbolic = %I.WithSelf.Copy.type (constants.%I.WithSelf.Copy.type.dd7)] -// CHECK:STDOUT: %.loc10_14.2: type = fn_type_with_self_type %I.WithSelf.Copy.type, %T.loc8_17.1 [symbolic = %.loc10_14.2 (constants.%.711)] +// CHECK:STDOUT: %I.WithSelf.Copy.type: type = fn_type @I.WithSelf.Copy, @I.WithSelf(%T.loc8_17.1) [symbolic = %I.WithSelf.Copy.type (constants.%I.WithSelf.Copy.type.849)] +// CHECK:STDOUT: %.loc10_14.2: type = fn_type_with_self_type %I.WithSelf.Copy.type, %T.loc8_17.1 [symbolic = %.loc10_14.2 (constants.%.c51)] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T.loc8_17.1, @I [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc10_14.2: @UseIndirect.%.loc10_14.2 (%.711) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_14.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc10_14.2: @UseIndirect.%.loc10_14.2 (%.c51) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_14.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc10_14.2: = specific_impl_function %impl.elem0.loc10_14.2, @I.WithSelf.Copy(%T.loc8_17.1) [symbolic = %specific_impl_fn.loc10_14.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @UseIndirect.%T.as_type.loc8_26.1 (%T.as_type)) -> out %return.param: @UseIndirect.%T.as_type.loc8_26.1 (%T.as_type) { @@ -676,7 +676,7 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: %T.as_type.loc10: type = facet_access_type %T.ref.loc10 [symbolic = %T.as_type.loc8_26.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc10_14.1: type = converted %T.ref.loc10, %T.as_type.loc10 [symbolic = %T.as_type.loc8_26.1 (constants.%T.as_type)] // CHECK:STDOUT: %Copy.ref: %I.assoc_type = name_ref Copy, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc10_14.1: @UseIndirect.%.loc10_14.2 (%.711) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_14.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc10_14.1: @UseIndirect.%.loc10_14.2 (%.c51) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_14.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc10_11: = bound_method %x.ref, %impl.elem0.loc10_14.1 // CHECK:STDOUT: %specific_impl_fn.loc10_14.1: = specific_impl_function %impl.elem0.loc10_14.1, @I.WithSelf.Copy(constants.%T) [symbolic = %specific_impl_fn.loc10_14.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %bound_method.loc10_21: = bound_method %x.ref, %specific_impl_fn.loc10_14.1 @@ -689,8 +689,8 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: specific @UseIndirect(constants.%T) { // CHECK:STDOUT: %T.loc8_17.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc8_26.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.24e -// CHECK:STDOUT: %.loc8_32.2 => constants.%.7f2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3df +// CHECK:STDOUT: %.loc8_32.2 => constants.%.b40 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- access_constant_in_self_facet.carbon @@ -702,18 +702,18 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: %assoc0: %A.assoc_type = assoc_entity element0, @A.WithSelf.%X [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.438: %A.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.438 [symbolic_self] -// CHECK:STDOUT: %A.lookup_impl_witness.ebb: = lookup_impl_witness %.Self.438, @A [symbolic_self] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access %A.lookup_impl_witness.ebb, element0 [symbolic_self] +// CHECK:STDOUT: %.Self.357: %A.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.357 [symbolic_self] +// CHECK:STDOUT: %A.lookup_impl_witness.8d5: = lookup_impl_witness %.Self.357, @A [symbolic_self] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access %A.lookup_impl_witness.8d5, element0 [symbolic_self] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %A_where.type: type = facet_type <@A where %impl.elem0 = %empty_tuple.type> [concrete] -// CHECK:STDOUT: %pattern_type.6f4: type = pattern_type %A_where.type [concrete] +// CHECK:STDOUT: %pattern_type.b8d: type = pattern_type %A_where.type [concrete] // CHECK:STDOUT: %AA: %A_where.type = symbolic_binding AA, 0 [symbolic] // CHECK:STDOUT: %AA.as_type: type = facet_access_type %AA [symbolic] -// CHECK:STDOUT: %A.lookup_impl_witness.9a4: = lookup_impl_witness %AA, @A [symbolic] -// CHECK:STDOUT: %A.facet: %A.type = facet_value %AA.as_type, (%A.lookup_impl_witness.9a4) [symbolic] +// CHECK:STDOUT: %A.lookup_impl_witness.d92: = lookup_impl_witness %AA, @A [symbolic] +// CHECK:STDOUT: %A.facet: %A.type = facet_value %AA.as_type, (%A.lookup_impl_witness.d92) [symbolic] // CHECK:STDOUT: %.262: Core.Form = init_form %empty_tuple.type [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] @@ -723,7 +723,7 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: file { // CHECK:STDOUT: %A.decl: type = interface_decl @A [concrete = constants.%A.type] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %AA.patt: %pattern_type.6f4 = symbolic_binding_pattern AA, 0 [concrete] +// CHECK:STDOUT: %AA.patt: %pattern_type.b8d = symbolic_binding_pattern AA, 0 [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.cb1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.cb1 = return_slot_pattern %return.param_patt, %impl.elem0.loc6_33 [concrete] // CHECK:STDOUT: } { @@ -731,17 +731,17 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: %AA.as_type.loc6_33.2: type = facet_access_type %AA.ref [symbolic = %AA.as_type.loc6_33.1 (constants.%AA.as_type)] // CHECK:STDOUT: %.loc6_33.1: type = converted %AA.ref, %AA.as_type.loc6_33.2 [symbolic = %AA.as_type.loc6_33.1 (constants.%AA.as_type)] // CHECK:STDOUT: %X.ref.loc6_33: %A.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc6_33: type = impl_witness_access constants.%A.lookup_impl_witness.9a4, element0 [concrete = constants.%empty_tuple.type] +// CHECK:STDOUT: %impl.elem0.loc6_33: type = impl_witness_access constants.%A.lookup_impl_witness.d92, element0 [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %.loc6_33.2: Core.Form = init_form %impl.elem0.loc6_33 [concrete = constants.%.262] // CHECK:STDOUT: %.loc6_13.1: type = splice_block %.loc6_13.2 [concrete = constants.%A_where.type] { // CHECK:STDOUT: %.Self.loc6_8: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %.Self.loc6_13: %A.type = symbolic_binding .Self [symbolic_self = constants.%.Self.438] -// CHECK:STDOUT: %.Self.ref: %A.type = name_ref .Self, %.Self.loc6_13 [symbolic_self = constants.%.Self.438] +// CHECK:STDOUT: %.Self.loc6_13: %A.type = symbolic_binding .Self [symbolic_self = constants.%.Self.357] +// CHECK:STDOUT: %.Self.ref: %A.type = name_ref .Self, %.Self.loc6_13 [symbolic_self = constants.%.Self.357] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc6_19: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %X.ref.loc6_19: %A.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc6_19: type = impl_witness_access constants.%A.lookup_impl_witness.ebb, element0 [symbolic_self = constants.%impl.elem0] +// CHECK:STDOUT: %impl.elem0.loc6_19: type = impl_witness_access constants.%A.lookup_impl_witness.8d5, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc6_25.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_25.2: type = converted %.loc6_25.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %.loc6_13.2: type = where_expr [concrete = constants.%A_where.type] { @@ -791,7 +791,7 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%.Self.438) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%.Self.357) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -813,41 +813,41 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: constants { // CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] // CHECK:STDOUT: %A.assoc_type: type = assoc_entity_type @A [concrete] -// CHECK:STDOUT: %assoc0.bab: %A.assoc_type = assoc_entity element0, @A.WithSelf.%X [concrete] +// CHECK:STDOUT: %assoc0.41c: %A.assoc_type = assoc_entity element0, @A.WithSelf.%X [concrete] // CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] // CHECK:STDOUT: %B.assoc_type: type = assoc_entity_type @B [concrete] -// CHECK:STDOUT: %assoc0.e5b: %B.assoc_type = assoc_entity element0, @B.WithSelf.%Y [concrete] +// CHECK:STDOUT: %assoc0.174: %B.assoc_type = assoc_entity element0, @B.WithSelf.%Y [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %A.type, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %facet_type.e37: type = facet_type <@A & @B> [concrete] -// CHECK:STDOUT: %.Self.e06: %facet_type.e37 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.e06 [symbolic_self] -// CHECK:STDOUT: %A.lookup_impl_witness.0d3: = lookup_impl_witness %.Self.e06, @A [symbolic_self] -// CHECK:STDOUT: %impl.elem0.b94: type = impl_witness_access %A.lookup_impl_witness.0d3, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.d25: type = facet_type <@A & @B> [concrete] +// CHECK:STDOUT: %.Self.0ed: %facet_type.d25 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.0ed [symbolic_self] +// CHECK:STDOUT: %A.lookup_impl_witness.a4b: = lookup_impl_witness %.Self.0ed, @A [symbolic_self] +// CHECK:STDOUT: %impl.elem0.914: type = impl_witness_access %A.lookup_impl_witness.a4b, element0 [symbolic_self] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %B.lookup_impl_witness.f3b: = lookup_impl_witness %.Self.e06, @B [symbolic_self] -// CHECK:STDOUT: %impl.elem0.551: type = impl_witness_access %B.lookup_impl_witness.f3b, element0 [symbolic_self] +// CHECK:STDOUT: %B.lookup_impl_witness.c84: = lookup_impl_witness %.Self.0ed, @B [symbolic_self] +// CHECK:STDOUT: %impl.elem0.1ce: type = impl_witness_access %B.lookup_impl_witness.c84, element0 [symbolic_self] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %facet_type.4ac: type = facet_type <@A & @B where %impl.elem0.b94 = %empty_tuple.type and %impl.elem0.551 = %empty_struct_type> [concrete] -// CHECK:STDOUT: %pattern_type.835: type = pattern_type %facet_type.4ac [concrete] -// CHECK:STDOUT: %AB: %facet_type.4ac = symbolic_binding AB, 0 [symbolic] +// CHECK:STDOUT: %facet_type.04b: type = facet_type <@A & @B where %impl.elem0.914 = %empty_tuple.type and %impl.elem0.1ce = %empty_struct_type> [concrete] +// CHECK:STDOUT: %pattern_type.8a8: type = pattern_type %facet_type.04b [concrete] +// CHECK:STDOUT: %AB: %facet_type.04b = symbolic_binding AB, 0 [symbolic] // CHECK:STDOUT: %AB.as_type: type = facet_access_type %AB [symbolic] -// CHECK:STDOUT: %A.lookup_impl_witness.a69: = lookup_impl_witness %AB, @A [symbolic] +// CHECK:STDOUT: %A.lookup_impl_witness.494: = lookup_impl_witness %AB, @A [symbolic] // CHECK:STDOUT: %.262: Core.Form = init_form %empty_tuple.type [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %B.lookup_impl_witness.bd2: = lookup_impl_witness %AB, @B [symbolic] +// CHECK:STDOUT: %B.lookup_impl_witness.4c0: = lookup_impl_witness %AB, @B [symbolic] // CHECK:STDOUT: %.469: Core.Form = init_form %empty_struct_type [concrete] // CHECK:STDOUT: %pattern_type.a96: type = pattern_type %empty_struct_type [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] @@ -855,105 +855,105 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %AB.patt: %pattern_type.835 = symbolic_binding_pattern AB, 0 [concrete] +// CHECK:STDOUT: %AB.patt: %pattern_type.8a8 = symbolic_binding_pattern AB, 0 [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.cb1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.cb1 = return_slot_pattern %return.param_patt, %impl.elem0.loc14_49 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %AB.ref: %facet_type.4ac = name_ref AB, %AB.loc14_8.2 [symbolic = %AB.loc14_8.1 (constants.%AB)] +// CHECK:STDOUT: %AB.ref: %facet_type.04b = name_ref AB, %AB.loc14_8.2 [symbolic = %AB.loc14_8.1 (constants.%AB)] // CHECK:STDOUT: %AB.as_type.loc14_49.2: type = facet_access_type %AB.ref [symbolic = %AB.as_type.loc14_49.1 (constants.%AB.as_type)] // CHECK:STDOUT: %.loc14_49.1: type = converted %AB.ref, %AB.as_type.loc14_49.2 [symbolic = %AB.as_type.loc14_49.1 (constants.%AB.as_type)] -// CHECK:STDOUT: %X.ref.loc14_49: %A.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.bab] -// CHECK:STDOUT: %impl.elem0.loc14_49: type = impl_witness_access constants.%A.lookup_impl_witness.a69, element0 [concrete = constants.%empty_tuple.type] +// CHECK:STDOUT: %X.ref.loc14_49: %A.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.41c] +// CHECK:STDOUT: %impl.elem0.loc14_49: type = impl_witness_access constants.%A.lookup_impl_witness.494, element0 [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %.loc14_49.2: Core.Form = init_form %impl.elem0.loc14_49 [concrete = constants.%.262] -// CHECK:STDOUT: %.loc14_17.1: type = splice_block %.loc14_17.2 [concrete = constants.%facet_type.4ac] { +// CHECK:STDOUT: %.loc14_17.1: type = splice_block %.loc14_17.2 [concrete = constants.%facet_type.04b] { // CHECK:STDOUT: %.Self.loc14_8: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: %impl.elem0.loc14_13: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc14_13: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %A.ref, %impl.elem0.loc14_13 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%A.ref, %B.ref) [concrete = constants.%facet_type.e37] -// CHECK:STDOUT: %.loc14_13.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type.e37] -// CHECK:STDOUT: %.loc14_13.2: type = converted %type.as.BitAndWith.impl.Op.call, %.loc14_13.1 [concrete = constants.%facet_type.e37] -// CHECK:STDOUT: %.Self.loc14_17: %facet_type.e37 = symbolic_binding .Self [symbolic_self = constants.%.Self.e06] -// CHECK:STDOUT: %.Self.ref.loc14_23: %facet_type.e37 = name_ref .Self, %.Self.loc14_17 [symbolic_self = constants.%.Self.e06] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%A.ref, %B.ref) [concrete = constants.%facet_type.d25] +// CHECK:STDOUT: %.loc14_13.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type.d25] +// CHECK:STDOUT: %.loc14_13.2: type = converted %type.as.BitAndWith.impl.Op.call, %.loc14_13.1 [concrete = constants.%facet_type.d25] +// CHECK:STDOUT: %.Self.loc14_17: %facet_type.d25 = symbolic_binding .Self [symbolic_self = constants.%.Self.0ed] +// CHECK:STDOUT: %.Self.ref.loc14_23: %facet_type.d25 = name_ref .Self, %.Self.loc14_17 [symbolic_self = constants.%.Self.0ed] // CHECK:STDOUT: %.Self.as_type.loc14_23: type = facet_access_type %.Self.ref.loc14_23 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc14_23: type = converted %.Self.ref.loc14_23, %.Self.as_type.loc14_23 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %X.ref.loc14_23: %A.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.bab] -// CHECK:STDOUT: %impl.elem0.loc14_23: type = impl_witness_access constants.%A.lookup_impl_witness.0d3, element0 [symbolic_self = constants.%impl.elem0.b94] +// CHECK:STDOUT: %X.ref.loc14_23: %A.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.41c] +// CHECK:STDOUT: %impl.elem0.loc14_23: type = impl_witness_access constants.%A.lookup_impl_witness.a4b, element0 [symbolic_self = constants.%impl.elem0.914] // CHECK:STDOUT: %.loc14_29.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc14_29.2: type = converted %.loc14_29.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %.Self.ref.loc14_35: %facet_type.e37 = name_ref .Self, %.Self.loc14_17 [symbolic_self = constants.%.Self.e06] +// CHECK:STDOUT: %.Self.ref.loc14_35: %facet_type.d25 = name_ref .Self, %.Self.loc14_17 [symbolic_self = constants.%.Self.0ed] // CHECK:STDOUT: %.Self.as_type.loc14_35: type = facet_access_type %.Self.ref.loc14_35 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc14_35: type = converted %.Self.ref.loc14_35, %.Self.as_type.loc14_35 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %Y.ref: %B.assoc_type = name_ref Y, @Y.%assoc0 [concrete = constants.%assoc0.e5b] -// CHECK:STDOUT: %impl.elem0.loc14_35: type = impl_witness_access constants.%B.lookup_impl_witness.f3b, element0 [symbolic_self = constants.%impl.elem0.551] +// CHECK:STDOUT: %Y.ref: %B.assoc_type = name_ref Y, @Y.%assoc0 [concrete = constants.%assoc0.174] +// CHECK:STDOUT: %impl.elem0.loc14_35: type = impl_witness_access constants.%B.lookup_impl_witness.c84, element0 [symbolic_self = constants.%impl.elem0.1ce] // CHECK:STDOUT: %.loc14_41.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc14_41.2: type = converted %.loc14_41.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %.loc14_17.2: type = where_expr [concrete = constants.%facet_type.4ac] { +// CHECK:STDOUT: %.loc14_17.2: type = where_expr [concrete = constants.%facet_type.04b] { // CHECK:STDOUT: requirement_base_facet_type %type.as.BitAndWith.impl.Op.call // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc14_23, %.loc14_29.2 // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc14_35, %.loc14_41.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %AB.loc14_8.2: %facet_type.4ac = symbolic_binding AB, 0 [symbolic = %AB.loc14_8.1 (constants.%AB)] +// CHECK:STDOUT: %AB.loc14_8.2: %facet_type.04b = symbolic_binding AB, 0 [symbolic = %AB.loc14_8.1 (constants.%AB)] // CHECK:STDOUT: %return.param: ref %empty_tuple.type = out_param call_param0 // CHECK:STDOUT: %return: ref %empty_tuple.type = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %AB.patt: %pattern_type.835 = symbolic_binding_pattern AB, 0 [concrete] +// CHECK:STDOUT: %AB.patt: %pattern_type.8a8 = symbolic_binding_pattern AB, 0 [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.a96 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.a96 = return_slot_pattern %return.param_patt, %impl.elem0.loc18_49 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %AB.ref: %facet_type.4ac = name_ref AB, %AB.loc18_8.2 [symbolic = %AB.loc18_8.1 (constants.%AB)] +// CHECK:STDOUT: %AB.ref: %facet_type.04b = name_ref AB, %AB.loc18_8.2 [symbolic = %AB.loc18_8.1 (constants.%AB)] // CHECK:STDOUT: %AB.as_type.loc18_49.2: type = facet_access_type %AB.ref [symbolic = %AB.as_type.loc18_49.1 (constants.%AB.as_type)] // CHECK:STDOUT: %.loc18_49.1: type = converted %AB.ref, %AB.as_type.loc18_49.2 [symbolic = %AB.as_type.loc18_49.1 (constants.%AB.as_type)] -// CHECK:STDOUT: %Y.ref.loc18_49: %B.assoc_type = name_ref Y, @Y.%assoc0 [concrete = constants.%assoc0.e5b] -// CHECK:STDOUT: %impl.elem0.loc18_49: type = impl_witness_access constants.%B.lookup_impl_witness.bd2, element0 [concrete = constants.%empty_struct_type] +// CHECK:STDOUT: %Y.ref.loc18_49: %B.assoc_type = name_ref Y, @Y.%assoc0 [concrete = constants.%assoc0.174] +// CHECK:STDOUT: %impl.elem0.loc18_49: type = impl_witness_access constants.%B.lookup_impl_witness.4c0, element0 [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %.loc18_49.2: Core.Form = init_form %impl.elem0.loc18_49 [concrete = constants.%.469] -// CHECK:STDOUT: %.loc18_17.1: type = splice_block %.loc18_17.2 [concrete = constants.%facet_type.4ac] { +// CHECK:STDOUT: %.loc18_17.1: type = splice_block %.loc18_17.2 [concrete = constants.%facet_type.04b] { // CHECK:STDOUT: %.Self.loc18_8: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: %impl.elem0.loc18_13: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc18_13: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %A.ref, %impl.elem0.loc18_13 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%A.ref, %B.ref) [concrete = constants.%facet_type.e37] -// CHECK:STDOUT: %.loc18_13.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type.e37] -// CHECK:STDOUT: %.loc18_13.2: type = converted %type.as.BitAndWith.impl.Op.call, %.loc18_13.1 [concrete = constants.%facet_type.e37] -// CHECK:STDOUT: %.Self.loc18_17: %facet_type.e37 = symbolic_binding .Self [symbolic_self = constants.%.Self.e06] -// CHECK:STDOUT: %.Self.ref.loc18_23: %facet_type.e37 = name_ref .Self, %.Self.loc18_17 [symbolic_self = constants.%.Self.e06] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%A.ref, %B.ref) [concrete = constants.%facet_type.d25] +// CHECK:STDOUT: %.loc18_13.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type.d25] +// CHECK:STDOUT: %.loc18_13.2: type = converted %type.as.BitAndWith.impl.Op.call, %.loc18_13.1 [concrete = constants.%facet_type.d25] +// CHECK:STDOUT: %.Self.loc18_17: %facet_type.d25 = symbolic_binding .Self [symbolic_self = constants.%.Self.0ed] +// CHECK:STDOUT: %.Self.ref.loc18_23: %facet_type.d25 = name_ref .Self, %.Self.loc18_17 [symbolic_self = constants.%.Self.0ed] // CHECK:STDOUT: %.Self.as_type.loc18_23: type = facet_access_type %.Self.ref.loc18_23 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc18_23: type = converted %.Self.ref.loc18_23, %.Self.as_type.loc18_23 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %X.ref: %A.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.bab] -// CHECK:STDOUT: %impl.elem0.loc18_23: type = impl_witness_access constants.%A.lookup_impl_witness.0d3, element0 [symbolic_self = constants.%impl.elem0.b94] +// CHECK:STDOUT: %X.ref: %A.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.41c] +// CHECK:STDOUT: %impl.elem0.loc18_23: type = impl_witness_access constants.%A.lookup_impl_witness.a4b, element0 [symbolic_self = constants.%impl.elem0.914] // CHECK:STDOUT: %.loc18_29.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc18_29.2: type = converted %.loc18_29.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %.Self.ref.loc18_35: %facet_type.e37 = name_ref .Self, %.Self.loc18_17 [symbolic_self = constants.%.Self.e06] +// CHECK:STDOUT: %.Self.ref.loc18_35: %facet_type.d25 = name_ref .Self, %.Self.loc18_17 [symbolic_self = constants.%.Self.0ed] // CHECK:STDOUT: %.Self.as_type.loc18_35: type = facet_access_type %.Self.ref.loc18_35 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc18_35: type = converted %.Self.ref.loc18_35, %.Self.as_type.loc18_35 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %Y.ref.loc18_35: %B.assoc_type = name_ref Y, @Y.%assoc0 [concrete = constants.%assoc0.e5b] -// CHECK:STDOUT: %impl.elem0.loc18_35: type = impl_witness_access constants.%B.lookup_impl_witness.f3b, element0 [symbolic_self = constants.%impl.elem0.551] +// CHECK:STDOUT: %Y.ref.loc18_35: %B.assoc_type = name_ref Y, @Y.%assoc0 [concrete = constants.%assoc0.174] +// CHECK:STDOUT: %impl.elem0.loc18_35: type = impl_witness_access constants.%B.lookup_impl_witness.c84, element0 [symbolic_self = constants.%impl.elem0.1ce] // CHECK:STDOUT: %.loc18_41.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc18_41.2: type = converted %.loc18_41.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %.loc18_17.2: type = where_expr [concrete = constants.%facet_type.4ac] { +// CHECK:STDOUT: %.loc18_17.2: type = where_expr [concrete = constants.%facet_type.04b] { // CHECK:STDOUT: requirement_base_facet_type %type.as.BitAndWith.impl.Op.call // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc18_23, %.loc18_29.2 // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc18_35, %.loc18_41.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %AB.loc18_8.2: %facet_type.4ac = symbolic_binding AB, 0 [symbolic = %AB.loc18_8.1 (constants.%AB)] +// CHECK:STDOUT: %AB.loc18_8.2: %facet_type.04b = symbolic_binding AB, 0 [symbolic = %AB.loc18_8.1 (constants.%AB)] // CHECK:STDOUT: %return.param: ref %empty_struct_type = out_param call_param0 // CHECK:STDOUT: %return: ref %empty_struct_type = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%AB.loc14_8.2: %facet_type.4ac) { -// CHECK:STDOUT: %AB.loc14_8.1: %facet_type.4ac = symbolic_binding AB, 0 [symbolic = %AB.loc14_8.1 (constants.%AB)] +// CHECK:STDOUT: generic fn @F(%AB.loc14_8.2: %facet_type.04b) { +// CHECK:STDOUT: %AB.loc14_8.1: %facet_type.04b = symbolic_binding AB, 0 [symbolic = %AB.loc14_8.1 (constants.%AB)] // CHECK:STDOUT: %AB.as_type.loc14_49.1: type = facet_access_type %AB.loc14_8.1 [symbolic = %AB.as_type.loc14_49.1 (constants.%AB.as_type)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: @@ -967,8 +967,8 @@ fn F(U:! W, V:! Z(.Self) where .Z1 impls (Y where .Y1 impls (X where .X1 = U))) // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @G(%AB.loc18_8.2: %facet_type.4ac) { -// CHECK:STDOUT: %AB.loc18_8.1: %facet_type.4ac = symbolic_binding AB, 0 [symbolic = %AB.loc18_8.1 (constants.%AB)] +// CHECK:STDOUT: generic fn @G(%AB.loc18_8.2: %facet_type.04b) { +// CHECK:STDOUT: %AB.loc18_8.1: %facet_type.04b = symbolic_binding AB, 0 [symbolic = %AB.loc18_8.1 (constants.%AB)] // CHECK:STDOUT: %AB.as_type.loc18_49.1: type = facet_access_type %AB.loc18_8.1 [symbolic = %AB.as_type.loc18_49.1 (constants.%AB.as_type)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: diff --git a/toolchain/check/testdata/facet/call_combined_impl_witness.carbon b/toolchain/check/testdata/facet/call_combined_impl_witness.carbon index c3ea4cf7d9e1..4431b1e4083f 100644 --- a/toolchain/check/testdata/facet/call_combined_impl_witness.carbon +++ b/toolchain/check/testdata/facet/call_combined_impl_witness.carbon @@ -49,20 +49,20 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Empty.type: type = facet_type <@Empty> [concrete] -// CHECK:STDOUT: %Self.63a: %Empty.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.2f3: %Empty.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.c6e: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %A.WithSelf.AA.type.42c: type = fn_type @A.WithSelf.AA, @A.WithSelf(%Self.c6e) [symbolic] +// CHECK:STDOUT: %Self.2fc: %A.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %A.WithSelf.AA.type.b5d: type = fn_type @A.WithSelf.AA, @A.WithSelf(%Self.2fc) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %A.WithSelf.AA.1b8: %A.WithSelf.AA.type.42c = struct_value () [symbolic] +// CHECK:STDOUT: %A.WithSelf.AA.ba1: %A.WithSelf.AA.type.b5d = struct_value () [symbolic] // CHECK:STDOUT: %A.assoc_type: type = assoc_entity_type @A [concrete] -// CHECK:STDOUT: %assoc0.0c8: %A.assoc_type = assoc_entity element0, @A.WithSelf.%A.WithSelf.AA.decl [concrete] +// CHECK:STDOUT: %assoc0.629: %A.assoc_type = assoc_entity element0, @A.WithSelf.%A.WithSelf.AA.decl [concrete] // CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] -// CHECK:STDOUT: %Self.775: %B.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %B.WithSelf.BB.type.490: type = fn_type @B.WithSelf.BB, @B.WithSelf(%Self.775) [symbolic] -// CHECK:STDOUT: %B.WithSelf.BB.336: %B.WithSelf.BB.type.490 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.60f: %B.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %B.WithSelf.BB.type.209: type = fn_type @B.WithSelf.BB, @B.WithSelf(%Self.60f) [symbolic] +// CHECK:STDOUT: %B.WithSelf.BB.8bc: %B.WithSelf.BB.type.209 = struct_value () [symbolic] // CHECK:STDOUT: %B.assoc_type: type = assoc_entity_type @B [concrete] -// CHECK:STDOUT: %assoc0.a5f: %B.assoc_type = assoc_entity element0, @B.WithSelf.%B.WithSelf.BB.decl [concrete] +// CHECK:STDOUT: %assoc0.8d9: %B.assoc_type = assoc_entity element0, @B.WithSelf.%B.WithSelf.BB.decl [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] @@ -71,69 +71,69 @@ fn F() { // CHECK:STDOUT: %A.impl_witness: = impl_witness @C.as.A.impl.%A.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.A.impl.AA.type: type = fn_type @C.as.A.impl.AA [concrete] // CHECK:STDOUT: %C.as.A.impl.AA: %C.as.A.impl.AA.type = struct_value () [concrete] -// CHECK:STDOUT: %A.facet.a9c: %A.type = facet_value %C, (%A.impl_witness) [concrete] -// CHECK:STDOUT: %A.WithSelf.AA.type.db5: type = fn_type @A.WithSelf.AA, @A.WithSelf(%A.facet.a9c) [concrete] -// CHECK:STDOUT: %A.WithSelf.AA.9cf: %A.WithSelf.AA.type.db5 = struct_value () [concrete] +// CHECK:STDOUT: %A.facet.b2b: %A.type = facet_value %C, (%A.impl_witness) [concrete] +// CHECK:STDOUT: %A.WithSelf.AA.type.24a: type = fn_type @A.WithSelf.AA, @A.WithSelf(%A.facet.b2b) [concrete] +// CHECK:STDOUT: %A.WithSelf.AA.d71: %A.WithSelf.AA.type.24a = struct_value () [concrete] // CHECK:STDOUT: %B.impl_witness: = impl_witness @C.as.B.impl.%B.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.B.impl.BB.type: type = fn_type @C.as.B.impl.BB [concrete] // CHECK:STDOUT: %C.as.B.impl.BB: %C.as.B.impl.BB.type = struct_value () [concrete] -// CHECK:STDOUT: %B.facet.c28: %B.type = facet_value %C, (%B.impl_witness) [concrete] -// CHECK:STDOUT: %B.WithSelf.BB.type.b44: type = fn_type @B.WithSelf.BB, @B.WithSelf(%B.facet.c28) [concrete] -// CHECK:STDOUT: %B.WithSelf.BB.e64: %B.WithSelf.BB.type.b44 = struct_value () [concrete] +// CHECK:STDOUT: %B.facet.a6e: %B.type = facet_value %C, (%B.impl_witness) [concrete] +// CHECK:STDOUT: %B.WithSelf.BB.type.cbd: type = fn_type @B.WithSelf.BB, @B.WithSelf(%B.facet.a6e) [concrete] +// CHECK:STDOUT: %B.WithSelf.BB.5d0: %B.WithSelf.BB.type.cbd = struct_value () [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.dc4: = bound_method %A.type, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %facet_type.0bb: type = facet_type <@Empty & @A> [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.3c5: = bound_method %facet_type.0bb, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %facet_type.d65: type = facet_type <@Empty & @A & @B> [concrete] -// CHECK:STDOUT: %pattern_type.0f2: type = pattern_type %facet_type.d65 [concrete] -// CHECK:STDOUT: %T: %facet_type.d65 = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.a91: = bound_method %A.type, %type.as.BitAndWith.impl.Op [concrete] +// CHECK:STDOUT: %facet_type.51e: type = facet_type <@Empty & @A> [concrete] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.fd1: = bound_method %facet_type.51e, %type.as.BitAndWith.impl.Op [concrete] +// CHECK:STDOUT: %facet_type.a50: type = facet_type <@Empty & @A & @B> [concrete] +// CHECK:STDOUT: %pattern_type.abf: type = pattern_type %facet_type.a50 [concrete] +// CHECK:STDOUT: %T: %facet_type.a50 = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.289: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.7b6: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %A.WithSelf.AA.type.127: type = fn_type @A.WithSelf.AA, @A.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %A.WithSelf.AA.17e: %A.WithSelf.AA.type.127 = struct_value () [symbolic] -// CHECK:STDOUT: %B.WithSelf.BB.type.d61: type = fn_type @B.WithSelf.BB, @B.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %B.WithSelf.BB.13b: %B.WithSelf.BB.type.d61 = struct_value () [symbolic] +// CHECK:STDOUT: %A.WithSelf.AA.type.056: type = fn_type @A.WithSelf.AA, @A.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %A.WithSelf.AA.5e7: %A.WithSelf.AA.type.056 = struct_value () [symbolic] +// CHECK:STDOUT: %B.WithSelf.BB.type.ef2: type = fn_type @B.WithSelf.BB, @B.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %B.WithSelf.BB.e3c: %B.WithSelf.BB.type.ef2 = struct_value () [symbolic] // CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %T, @A [symbolic] -// CHECK:STDOUT: %A.facet.7ae: %A.type = facet_value %T.as_type, (%A.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %A.WithSelf.AA.type.719: type = fn_type @A.WithSelf.AA, @A.WithSelf(%A.facet.7ae) [symbolic] -// CHECK:STDOUT: %A.WithSelf.AA.9f3: %A.WithSelf.AA.type.719 = struct_value () [symbolic] -// CHECK:STDOUT: %.d8d: type = fn_type_with_self_type %A.WithSelf.AA.type.719, %A.facet.7ae [symbolic] -// CHECK:STDOUT: %impl.elem0.c57: %.d8d = impl_witness_access %A.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.19c: = specific_impl_function %impl.elem0.c57, @A.WithSelf.AA(%A.facet.7ae) [symbolic] +// CHECK:STDOUT: %A.facet.66b: %A.type = facet_value %T.as_type, (%A.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %A.WithSelf.AA.type.06d: type = fn_type @A.WithSelf.AA, @A.WithSelf(%A.facet.66b) [symbolic] +// CHECK:STDOUT: %A.WithSelf.AA.a3a: %A.WithSelf.AA.type.06d = struct_value () [symbolic] +// CHECK:STDOUT: %.3a4: type = fn_type_with_self_type %A.WithSelf.AA.type.06d, %A.facet.66b [symbolic] +// CHECK:STDOUT: %impl.elem0.500: %.3a4 = impl_witness_access %A.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.140: = specific_impl_function %impl.elem0.500, @A.WithSelf.AA(%A.facet.66b) [symbolic] // CHECK:STDOUT: %B.lookup_impl_witness: = lookup_impl_witness %T, @B [symbolic] -// CHECK:STDOUT: %B.facet.8d8: %B.type = facet_value %T.as_type, (%B.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %B.WithSelf.BB.type.79f: type = fn_type @B.WithSelf.BB, @B.WithSelf(%B.facet.8d8) [symbolic] -// CHECK:STDOUT: %B.WithSelf.BB.bab: %B.WithSelf.BB.type.79f = struct_value () [symbolic] -// CHECK:STDOUT: %.1d5: type = fn_type_with_self_type %B.WithSelf.BB.type.79f, %B.facet.8d8 [symbolic] -// CHECK:STDOUT: %impl.elem0.31a: %.1d5 = impl_witness_access %B.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.74b: = specific_impl_function %impl.elem0.31a, @B.WithSelf.BB(%B.facet.8d8) [symbolic] +// CHECK:STDOUT: %B.facet.909: %B.type = facet_value %T.as_type, (%B.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %B.WithSelf.BB.type.240: type = fn_type @B.WithSelf.BB, @B.WithSelf(%B.facet.909) [symbolic] +// CHECK:STDOUT: %B.WithSelf.BB.2b6: %B.WithSelf.BB.type.240 = struct_value () [symbolic] +// CHECK:STDOUT: %.97e: type = fn_type_with_self_type %B.WithSelf.BB.type.240, %B.facet.909 [symbolic] +// CHECK:STDOUT: %impl.elem0.541: %.97e = impl_witness_access %B.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.1a0: = specific_impl_function %impl.elem0.541, @B.WithSelf.BB(%B.facet.909) [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %facet_value: %facet_type.d65 = facet_value %C, (%Empty.impl_witness, %A.impl_witness, %B.impl_witness) [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %facet_value: %facet_type.a50 = facet_value %C, (%Empty.impl_witness, %A.impl_witness, %B.impl_witness) [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %G.specific_fn: = specific_function %G, @G(%facet_value) [concrete] -// CHECK:STDOUT: %.b8f: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %.7a6: ref %C = temporary invalid, %C.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc45_8.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.b8f, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %.415: type = fn_type_with_self_type %A.WithSelf.AA.type.db5, %A.facet.a9c [concrete] -// CHECK:STDOUT: %.336: type = fn_type_with_self_type %B.WithSelf.BB.type.b44, %B.facet.c28 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc45_8.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.7a6, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %.0ba: type = fn_type_with_self_type %A.WithSelf.AA.type.24a, %A.facet.b2b [concrete] +// CHECK:STDOUT: %.a68: type = fn_type_with_self_type %B.WithSelf.BB.type.cbd, %B.facet.a6e [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -143,9 +143,9 @@ fn F() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -177,30 +177,30 @@ fn F() { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B.type] // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %T.patt: %pattern_type.0f2 = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %t.param_patt: @G.%pattern_type (%pattern_type.289) = value_param_pattern [concrete] -// CHECK:STDOUT: %t.patt: @G.%pattern_type (%pattern_type.289) = at_binding_pattern t, %t.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.abf = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %t.param_patt: @G.%pattern_type (%pattern_type.7b6) = value_param_pattern [concrete] +// CHECK:STDOUT: %t.patt: @G.%pattern_type (%pattern_type.7b6) = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc33_20.1: type = splice_block %.loc33_20.3 [concrete = constants.%facet_type.d65] { +// CHECK:STDOUT: %.loc33_20.1: type = splice_block %.loc33_20.3 [concrete = constants.%facet_type.a50] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %A.ref.loc33: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: %Empty.ref: type = name_ref Empty, file.%Empty.decl [concrete = constants.%Empty.type] -// CHECK:STDOUT: %impl.elem0.loc33_12: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %bound_method.loc33_12: = bound_method %A.ref.loc33, %impl.elem0.loc33_12 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.dc4] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc33_12: init type = call %bound_method.loc33_12(%A.ref.loc33, %Empty.ref) [concrete = constants.%facet_type.0bb] +// CHECK:STDOUT: %impl.elem0.loc33_12: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %bound_method.loc33_12: = bound_method %A.ref.loc33, %impl.elem0.loc33_12 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.a91] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc33_12: init type = call %bound_method.loc33_12(%A.ref.loc33, %Empty.ref) [concrete = constants.%facet_type.51e] // CHECK:STDOUT: %B.ref.loc33: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: %impl.elem0.loc33_20: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %bound_method.loc33_20: = bound_method %type.as.BitAndWith.impl.Op.call.loc33_12, %impl.elem0.loc33_20 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.3c5] -// CHECK:STDOUT: %.loc33_12.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc33_12 [concrete = constants.%facet_type.0bb] -// CHECK:STDOUT: %.loc33_12.2: type = converted %type.as.BitAndWith.impl.Op.call.loc33_12, %.loc33_12.1 [concrete = constants.%facet_type.0bb] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc33_20: init type = call %bound_method.loc33_20(%.loc33_12.2, %B.ref.loc33) [concrete = constants.%facet_type.d65] -// CHECK:STDOUT: %.loc33_20.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc33_20 [concrete = constants.%facet_type.d65] -// CHECK:STDOUT: %.loc33_20.3: type = converted %type.as.BitAndWith.impl.Op.call.loc33_20, %.loc33_20.2 [concrete = constants.%facet_type.d65] +// CHECK:STDOUT: %impl.elem0.loc33_20: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %bound_method.loc33_20: = bound_method %type.as.BitAndWith.impl.Op.call.loc33_12, %impl.elem0.loc33_20 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.fd1] +// CHECK:STDOUT: %.loc33_12.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc33_12 [concrete = constants.%facet_type.51e] +// CHECK:STDOUT: %.loc33_12.2: type = converted %type.as.BitAndWith.impl.Op.call.loc33_12, %.loc33_12.1 [concrete = constants.%facet_type.51e] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc33_20: init type = call %bound_method.loc33_20(%.loc33_12.2, %B.ref.loc33) [concrete = constants.%facet_type.a50] +// CHECK:STDOUT: %.loc33_20.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc33_20 [concrete = constants.%facet_type.a50] +// CHECK:STDOUT: %.loc33_20.3: type = converted %type.as.BitAndWith.impl.Op.call.loc33_20, %.loc33_20.2 [concrete = constants.%facet_type.a50] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc33_7.2: %facet_type.d65 = symbolic_binding T, 0 [symbolic = %T.loc33_7.1 (constants.%T)] +// CHECK:STDOUT: %T.loc33_7.2: %facet_type.a50 = symbolic_binding T, 0 [symbolic = %T.loc33_7.1 (constants.%T)] // CHECK:STDOUT: %t.param: @G.%T.as_type.loc33_28.1 (%T.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc33_28.1: type = splice_block %.loc33_28.2 [symbolic = %T.as_type.loc33_28.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref.loc33: %facet_type.d65 = name_ref T, %T.loc33_7.2 [symbolic = %T.loc33_7.1 (constants.%T)] +// CHECK:STDOUT: %T.ref.loc33: %facet_type.a50 = name_ref T, %T.loc33_7.2 [symbolic = %T.loc33_7.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc33_28.2: type = facet_access_type %T.ref.loc33 [symbolic = %T.as_type.loc33_28.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc33_28.2: type = converted %T.ref.loc33, %T.as_type.loc33_28.2 [symbolic = %T.as_type.loc33_28.1 (constants.%T.as_type)] // CHECK:STDOUT: } @@ -210,7 +210,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Empty { -// CHECK:STDOUT: %Self: %Empty.type = symbolic_binding Self, 0 [symbolic = constants.%Self.63a] +// CHECK:STDOUT: %Self: %Empty.type = symbolic_binding Self, 0 [symbolic = constants.%Self.2f3] // CHECK:STDOUT: %Empty.WithSelf.decl = interface_with_self_decl @Empty [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -223,12 +223,12 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c6e] +// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.2fc] // CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %A.WithSelf.AA.decl: @A.WithSelf.%A.WithSelf.AA.type (%A.WithSelf.AA.type.42c) = fn_decl @A.WithSelf.AA [symbolic = @A.WithSelf.%A.WithSelf.AA (constants.%A.WithSelf.AA.1b8)] {} {} -// CHECK:STDOUT: %assoc0: %A.assoc_type = assoc_entity element0, %A.WithSelf.AA.decl [concrete = constants.%assoc0.0c8] +// CHECK:STDOUT: %A.WithSelf.AA.decl: @A.WithSelf.%A.WithSelf.AA.type (%A.WithSelf.AA.type.b5d) = fn_decl @A.WithSelf.AA [symbolic = @A.WithSelf.%A.WithSelf.AA (constants.%A.WithSelf.AA.ba1)] {} {} +// CHECK:STDOUT: %assoc0: %A.assoc_type = assoc_entity element0, %A.WithSelf.AA.decl [concrete = constants.%assoc0.629] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -240,12 +240,12 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @B { -// CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = constants.%Self.775] +// CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = constants.%Self.60f] // CHECK:STDOUT: %B.WithSelf.decl = interface_with_self_decl @B [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %B.WithSelf.BB.decl: @B.WithSelf.%B.WithSelf.BB.type (%B.WithSelf.BB.type.490) = fn_decl @B.WithSelf.BB [symbolic = @B.WithSelf.%B.WithSelf.BB (constants.%B.WithSelf.BB.336)] {} {} -// CHECK:STDOUT: %assoc0: %B.assoc_type = assoc_entity element0, %B.WithSelf.BB.decl [concrete = constants.%assoc0.a5f] +// CHECK:STDOUT: %B.WithSelf.BB.decl: @B.WithSelf.%B.WithSelf.BB.type (%B.WithSelf.BB.type.209) = fn_decl @B.WithSelf.BB [symbolic = @B.WithSelf.%B.WithSelf.BB (constants.%B.WithSelf.BB.8bc)] {} {} +// CHECK:STDOUT: %assoc0: %B.assoc_type = assoc_entity element0, %B.WithSelf.BB.decl [concrete = constants.%assoc0.8d9] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -313,69 +313,69 @@ fn F() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @G(%T.loc33_7.2: %facet_type.d65) { -// CHECK:STDOUT: %T.loc33_7.1: %facet_type.d65 = symbolic_binding T, 0 [symbolic = %T.loc33_7.1 (constants.%T)] +// CHECK:STDOUT: generic fn @G(%T.loc33_7.2: %facet_type.a50) { +// CHECK:STDOUT: %T.loc33_7.1: %facet_type.a50 = symbolic_binding T, 0 [symbolic = %T.loc33_7.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc33_28.1: type = facet_access_type %T.loc33_7.1 [symbolic = %T.as_type.loc33_28.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc33_28.1 [symbolic = %pattern_type (constants.%pattern_type.289)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc33_28.1 [symbolic = %pattern_type (constants.%pattern_type.7b6)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc33_28.1 [symbolic = %require_complete (constants.%require_complete)] // CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %T.loc33_7.1, @A [symbolic = %A.lookup_impl_witness (constants.%A.lookup_impl_witness)] -// CHECK:STDOUT: %A.facet.loc34: %A.type = facet_value %T.as_type.loc33_28.1, (%A.lookup_impl_witness) [symbolic = %A.facet.loc34 (constants.%A.facet.7ae)] -// CHECK:STDOUT: %A.WithSelf.AA.type: type = fn_type @A.WithSelf.AA, @A.WithSelf(%A.facet.loc34) [symbolic = %A.WithSelf.AA.type (constants.%A.WithSelf.AA.type.719)] -// CHECK:STDOUT: %.loc34: type = fn_type_with_self_type %A.WithSelf.AA.type, %A.facet.loc34 [symbolic = %.loc34 (constants.%.d8d)] -// CHECK:STDOUT: %impl.elem0.loc34_4.2: @G.%.loc34 (%.d8d) = impl_witness_access %A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc34_4.2 (constants.%impl.elem0.c57)] -// CHECK:STDOUT: %specific_impl_fn.loc34_4.2: = specific_impl_function %impl.elem0.loc34_4.2, @A.WithSelf.AA(%A.facet.loc34) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.19c)] +// CHECK:STDOUT: %A.facet.loc34: %A.type = facet_value %T.as_type.loc33_28.1, (%A.lookup_impl_witness) [symbolic = %A.facet.loc34 (constants.%A.facet.66b)] +// CHECK:STDOUT: %A.WithSelf.AA.type: type = fn_type @A.WithSelf.AA, @A.WithSelf(%A.facet.loc34) [symbolic = %A.WithSelf.AA.type (constants.%A.WithSelf.AA.type.06d)] +// CHECK:STDOUT: %.loc34: type = fn_type_with_self_type %A.WithSelf.AA.type, %A.facet.loc34 [symbolic = %.loc34 (constants.%.3a4)] +// CHECK:STDOUT: %impl.elem0.loc34_4.2: @G.%.loc34 (%.3a4) = impl_witness_access %A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc34_4.2 (constants.%impl.elem0.500)] +// CHECK:STDOUT: %specific_impl_fn.loc34_4.2: = specific_impl_function %impl.elem0.loc34_4.2, @A.WithSelf.AA(%A.facet.loc34) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.140)] // CHECK:STDOUT: %B.lookup_impl_witness: = lookup_impl_witness %T.loc33_7.1, @B [symbolic = %B.lookup_impl_witness (constants.%B.lookup_impl_witness)] -// CHECK:STDOUT: %B.facet.loc35: %B.type = facet_value %T.as_type.loc33_28.1, (%B.lookup_impl_witness) [symbolic = %B.facet.loc35 (constants.%B.facet.8d8)] -// CHECK:STDOUT: %B.WithSelf.BB.type: type = fn_type @B.WithSelf.BB, @B.WithSelf(%B.facet.loc35) [symbolic = %B.WithSelf.BB.type (constants.%B.WithSelf.BB.type.79f)] -// CHECK:STDOUT: %.loc35: type = fn_type_with_self_type %B.WithSelf.BB.type, %B.facet.loc35 [symbolic = %.loc35 (constants.%.1d5)] -// CHECK:STDOUT: %impl.elem0.loc35_4.2: @G.%.loc35 (%.1d5) = impl_witness_access %B.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc35_4.2 (constants.%impl.elem0.31a)] -// CHECK:STDOUT: %specific_impl_fn.loc35_4.2: = specific_impl_function %impl.elem0.loc35_4.2, @B.WithSelf.BB(%B.facet.loc35) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.74b)] +// CHECK:STDOUT: %B.facet.loc35: %B.type = facet_value %T.as_type.loc33_28.1, (%B.lookup_impl_witness) [symbolic = %B.facet.loc35 (constants.%B.facet.909)] +// CHECK:STDOUT: %B.WithSelf.BB.type: type = fn_type @B.WithSelf.BB, @B.WithSelf(%B.facet.loc35) [symbolic = %B.WithSelf.BB.type (constants.%B.WithSelf.BB.type.240)] +// CHECK:STDOUT: %.loc35: type = fn_type_with_self_type %B.WithSelf.BB.type, %B.facet.loc35 [symbolic = %.loc35 (constants.%.97e)] +// CHECK:STDOUT: %impl.elem0.loc35_4.2: @G.%.loc35 (%.97e) = impl_witness_access %B.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc35_4.2 (constants.%impl.elem0.541)] +// CHECK:STDOUT: %specific_impl_fn.loc35_4.2: = specific_impl_function %impl.elem0.loc35_4.2, @B.WithSelf.BB(%B.facet.loc35) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.1a0)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%t.param: @G.%T.as_type.loc33_28.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %t.ref.loc34: @G.%T.as_type.loc33_28.1 (%T.as_type) = name_ref t, %t -// CHECK:STDOUT: %AA.ref.loc34: %A.assoc_type = name_ref AA, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.0c8] -// CHECK:STDOUT: %impl.elem0.loc34_4.1: @G.%.loc34 (%.d8d) = impl_witness_access constants.%A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc34_4.2 (constants.%impl.elem0.c57)] -// CHECK:STDOUT: %specific_impl_fn.loc34_4.1: = specific_impl_function %impl.elem0.loc34_4.1, @A.WithSelf.AA(constants.%A.facet.7ae) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.19c)] +// CHECK:STDOUT: %AA.ref.loc34: %A.assoc_type = name_ref AA, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.629] +// CHECK:STDOUT: %impl.elem0.loc34_4.1: @G.%.loc34 (%.3a4) = impl_witness_access constants.%A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc34_4.2 (constants.%impl.elem0.500)] +// CHECK:STDOUT: %specific_impl_fn.loc34_4.1: = specific_impl_function %impl.elem0.loc34_4.1, @A.WithSelf.AA(constants.%A.facet.66b) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.140)] // CHECK:STDOUT: %A.WithSelf.AA.call.loc34: init %empty_tuple.type = call %specific_impl_fn.loc34_4.1() // CHECK:STDOUT: %t.ref.loc35: @G.%T.as_type.loc33_28.1 (%T.as_type) = name_ref t, %t -// CHECK:STDOUT: %BB.ref.loc35: %B.assoc_type = name_ref BB, @B.WithSelf.%assoc0 [concrete = constants.%assoc0.a5f] -// CHECK:STDOUT: %impl.elem0.loc35_4.1: @G.%.loc35 (%.1d5) = impl_witness_access constants.%B.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc35_4.2 (constants.%impl.elem0.31a)] -// CHECK:STDOUT: %specific_impl_fn.loc35_4.1: = specific_impl_function %impl.elem0.loc35_4.1, @B.WithSelf.BB(constants.%B.facet.8d8) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.74b)] +// CHECK:STDOUT: %BB.ref.loc35: %B.assoc_type = name_ref BB, @B.WithSelf.%assoc0 [concrete = constants.%assoc0.8d9] +// CHECK:STDOUT: %impl.elem0.loc35_4.1: @G.%.loc35 (%.97e) = impl_witness_access constants.%B.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc35_4.2 (constants.%impl.elem0.541)] +// CHECK:STDOUT: %specific_impl_fn.loc35_4.1: = specific_impl_function %impl.elem0.loc35_4.1, @B.WithSelf.BB(constants.%B.facet.909) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.1a0)] // CHECK:STDOUT: %B.WithSelf.BB.call.loc35: init %empty_tuple.type = call %specific_impl_fn.loc35_4.1() -// CHECK:STDOUT: %T.ref.loc37: %facet_type.d65 = name_ref T, %T.loc33_7.2 [symbolic = %T.loc33_7.1 (constants.%T)] +// CHECK:STDOUT: %T.ref.loc37: %facet_type.a50 = name_ref T, %T.loc33_7.2 [symbolic = %T.loc33_7.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc37: type = facet_access_type %T.ref.loc37 [symbolic = %T.as_type.loc33_28.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc37: type = converted %T.ref.loc37, %T.as_type.loc37 [symbolic = %T.as_type.loc33_28.1 (constants.%T.as_type)] -// CHECK:STDOUT: %AA.ref.loc37: %A.assoc_type = name_ref AA, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.0c8] -// CHECK:STDOUT: %impl.elem0.loc37: @G.%.loc34 (%.d8d) = impl_witness_access constants.%A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc34_4.2 (constants.%impl.elem0.c57)] -// CHECK:STDOUT: %specific_impl_fn.loc37: = specific_impl_function %impl.elem0.loc37, @A.WithSelf.AA(constants.%A.facet.7ae) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.19c)] +// CHECK:STDOUT: %AA.ref.loc37: %A.assoc_type = name_ref AA, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.629] +// CHECK:STDOUT: %impl.elem0.loc37: @G.%.loc34 (%.3a4) = impl_witness_access constants.%A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc34_4.2 (constants.%impl.elem0.500)] +// CHECK:STDOUT: %specific_impl_fn.loc37: = specific_impl_function %impl.elem0.loc37, @A.WithSelf.AA(constants.%A.facet.66b) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.140)] // CHECK:STDOUT: %A.WithSelf.AA.call.loc37: init %empty_tuple.type = call %specific_impl_fn.loc37() -// CHECK:STDOUT: %T.ref.loc38: %facet_type.d65 = name_ref T, %T.loc33_7.2 [symbolic = %T.loc33_7.1 (constants.%T)] +// CHECK:STDOUT: %T.ref.loc38: %facet_type.a50 = name_ref T, %T.loc33_7.2 [symbolic = %T.loc33_7.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc38: type = facet_access_type %T.ref.loc38 [symbolic = %T.as_type.loc33_28.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc38: type = converted %T.ref.loc38, %T.as_type.loc38 [symbolic = %T.as_type.loc33_28.1 (constants.%T.as_type)] -// CHECK:STDOUT: %BB.ref.loc38: %B.assoc_type = name_ref BB, @B.WithSelf.%assoc0 [concrete = constants.%assoc0.a5f] -// CHECK:STDOUT: %impl.elem0.loc38: @G.%.loc35 (%.1d5) = impl_witness_access constants.%B.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc35_4.2 (constants.%impl.elem0.31a)] -// CHECK:STDOUT: %specific_impl_fn.loc38: = specific_impl_function %impl.elem0.loc38, @B.WithSelf.BB(constants.%B.facet.8d8) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.74b)] +// CHECK:STDOUT: %BB.ref.loc38: %B.assoc_type = name_ref BB, @B.WithSelf.%assoc0 [concrete = constants.%assoc0.8d9] +// CHECK:STDOUT: %impl.elem0.loc38: @G.%.loc35 (%.97e) = impl_witness_access constants.%B.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc35_4.2 (constants.%impl.elem0.541)] +// CHECK:STDOUT: %specific_impl_fn.loc38: = specific_impl_function %impl.elem0.loc38, @B.WithSelf.BB(constants.%B.facet.909) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.1a0)] // CHECK:STDOUT: %B.WithSelf.BB.call.loc38: init %empty_tuple.type = call %specific_impl_fn.loc38() -// CHECK:STDOUT: %T.ref.loc40: %facet_type.d65 = name_ref T, %T.loc33_7.2 [symbolic = %T.loc33_7.1 (constants.%T)] +// CHECK:STDOUT: %T.ref.loc40: %facet_type.a50 = name_ref T, %T.loc33_7.2 [symbolic = %T.loc33_7.1 (constants.%T)] // CHECK:STDOUT: %A.ref.loc40: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %AA.ref.loc40: %A.assoc_type = name_ref AA, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.0c8] +// CHECK:STDOUT: %AA.ref.loc40: %A.assoc_type = name_ref AA, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.629] // CHECK:STDOUT: %T.as_type.loc40: type = facet_access_type %T.ref.loc40 [symbolic = %T.as_type.loc33_28.1 (constants.%T.as_type)] -// CHECK:STDOUT: %A.facet.loc40: %A.type = facet_value %T.as_type.loc40, (constants.%A.lookup_impl_witness) [symbolic = %A.facet.loc34 (constants.%A.facet.7ae)] -// CHECK:STDOUT: %.loc40: %A.type = converted %T.ref.loc40, %A.facet.loc40 [symbolic = %A.facet.loc34 (constants.%A.facet.7ae)] -// CHECK:STDOUT: %impl.elem0.loc40: @G.%.loc34 (%.d8d) = impl_witness_access constants.%A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc34_4.2 (constants.%impl.elem0.c57)] -// CHECK:STDOUT: %specific_impl_fn.loc40: = specific_impl_function %impl.elem0.loc40, @A.WithSelf.AA(constants.%A.facet.7ae) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.19c)] +// CHECK:STDOUT: %A.facet.loc40: %A.type = facet_value %T.as_type.loc40, (constants.%A.lookup_impl_witness) [symbolic = %A.facet.loc34 (constants.%A.facet.66b)] +// CHECK:STDOUT: %.loc40: %A.type = converted %T.ref.loc40, %A.facet.loc40 [symbolic = %A.facet.loc34 (constants.%A.facet.66b)] +// CHECK:STDOUT: %impl.elem0.loc40: @G.%.loc34 (%.3a4) = impl_witness_access constants.%A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc34_4.2 (constants.%impl.elem0.500)] +// CHECK:STDOUT: %specific_impl_fn.loc40: = specific_impl_function %impl.elem0.loc40, @A.WithSelf.AA(constants.%A.facet.66b) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.140)] // CHECK:STDOUT: %A.WithSelf.AA.call.loc40: init %empty_tuple.type = call %specific_impl_fn.loc40() -// CHECK:STDOUT: %T.ref.loc41: %facet_type.d65 = name_ref T, %T.loc33_7.2 [symbolic = %T.loc33_7.1 (constants.%T)] +// CHECK:STDOUT: %T.ref.loc41: %facet_type.a50 = name_ref T, %T.loc33_7.2 [symbolic = %T.loc33_7.1 (constants.%T)] // CHECK:STDOUT: %B.ref.loc41: type = name_ref B, file.%B.decl [concrete = constants.%B.type] -// CHECK:STDOUT: %BB.ref.loc41: %B.assoc_type = name_ref BB, @B.WithSelf.%assoc0 [concrete = constants.%assoc0.a5f] +// CHECK:STDOUT: %BB.ref.loc41: %B.assoc_type = name_ref BB, @B.WithSelf.%assoc0 [concrete = constants.%assoc0.8d9] // CHECK:STDOUT: %T.as_type.loc41: type = facet_access_type %T.ref.loc41 [symbolic = %T.as_type.loc33_28.1 (constants.%T.as_type)] -// CHECK:STDOUT: %B.facet.loc41: %B.type = facet_value %T.as_type.loc41, (constants.%B.lookup_impl_witness) [symbolic = %B.facet.loc35 (constants.%B.facet.8d8)] -// CHECK:STDOUT: %.loc41: %B.type = converted %T.ref.loc41, %B.facet.loc41 [symbolic = %B.facet.loc35 (constants.%B.facet.8d8)] -// CHECK:STDOUT: %impl.elem0.loc41: @G.%.loc35 (%.1d5) = impl_witness_access constants.%B.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc35_4.2 (constants.%impl.elem0.31a)] -// CHECK:STDOUT: %specific_impl_fn.loc41: = specific_impl_function %impl.elem0.loc41, @B.WithSelf.BB(constants.%B.facet.8d8) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.74b)] +// CHECK:STDOUT: %B.facet.loc41: %B.type = facet_value %T.as_type.loc41, (constants.%B.lookup_impl_witness) [symbolic = %B.facet.loc35 (constants.%B.facet.909)] +// CHECK:STDOUT: %.loc41: %B.type = converted %T.ref.loc41, %B.facet.loc41 [symbolic = %B.facet.loc35 (constants.%B.facet.909)] +// CHECK:STDOUT: %impl.elem0.loc41: @G.%.loc35 (%.97e) = impl_witness_access constants.%B.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc35_4.2 (constants.%impl.elem0.541)] +// CHECK:STDOUT: %specific_impl_fn.loc41: = specific_impl_function %impl.elem0.loc41, @B.WithSelf.BB(constants.%B.facet.909) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.1a0)] // CHECK:STDOUT: %B.WithSelf.BB.call.loc41: init %empty_tuple.type = call %specific_impl_fn.loc41() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -389,13 +389,13 @@ fn F() { // CHECK:STDOUT: %.loc45_6.2: ref %C = temporary_storage // CHECK:STDOUT: %.loc45_6.3: init %C to %.loc45_6.2 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc45_8.1: init %C = converted %.loc45_6.1, %.loc45_6.3 [concrete = constants.%C.val] -// CHECK:STDOUT: %facet_value: %facet_type.d65 = facet_value constants.%C, (constants.%Empty.impl_witness, constants.%A.impl_witness, constants.%B.impl_witness) [concrete = constants.%facet_value] -// CHECK:STDOUT: %.loc45_12: %facet_type.d65 = converted constants.%C, %facet_value [concrete = constants.%facet_value] +// CHECK:STDOUT: %facet_value: %facet_type.a50 = facet_value constants.%C, (constants.%Empty.impl_witness, constants.%A.impl_witness, constants.%B.impl_witness) [concrete = constants.%facet_value] +// CHECK:STDOUT: %.loc45_12: %facet_type.a50 = converted constants.%C, %facet_value [concrete = constants.%facet_value] // CHECK:STDOUT: %G.specific_fn: = specific_function %G.ref, @G(constants.%facet_value) [concrete = constants.%G.specific_fn] -// CHECK:STDOUT: %.loc45_8.2: ref %C = temporary %.loc45_6.2, %.loc45_8.1 [concrete = constants.%.b8f] +// CHECK:STDOUT: %.loc45_8.2: ref %C = temporary %.loc45_6.2, %.loc45_8.1 [concrete = constants.%.7a6] // CHECK:STDOUT: %.loc45_8.3: %C = acquire_value %.loc45_8.2 [concrete = constants.%C.val] // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.specific_fn(%.loc45_8.3) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.b8f) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.7a6) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -406,54 +406,54 @@ fn F() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.63a) { +// CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.2f3) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.c6e) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.2fc) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.c6e -// CHECK:STDOUT: %A.WithSelf.AA.type => constants.%A.WithSelf.AA.type.42c -// CHECK:STDOUT: %A.WithSelf.AA => constants.%A.WithSelf.AA.1b8 +// CHECK:STDOUT: %Self => constants.%Self.2fc +// CHECK:STDOUT: %A.WithSelf.AA.type => constants.%A.WithSelf.AA.type.b5d +// CHECK:STDOUT: %A.WithSelf.AA => constants.%A.WithSelf.AA.ba1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.AA(constants.%Self.c6e) {} +// CHECK:STDOUT: specific @A.WithSelf.AA(constants.%Self.2fc) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%Self.775) { +// CHECK:STDOUT: specific @B.WithSelf(constants.%Self.60f) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.775 -// CHECK:STDOUT: %B.WithSelf.BB.type => constants.%B.WithSelf.BB.type.490 -// CHECK:STDOUT: %B.WithSelf.BB => constants.%B.WithSelf.BB.336 +// CHECK:STDOUT: %Self => constants.%Self.60f +// CHECK:STDOUT: %B.WithSelf.BB.type => constants.%B.WithSelf.BB.type.209 +// CHECK:STDOUT: %B.WithSelf.BB => constants.%B.WithSelf.BB.8bc // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf.BB(constants.%Self.775) {} +// CHECK:STDOUT: specific @B.WithSelf.BB(constants.%Self.60f) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Empty.WithSelf(constants.%Empty.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%A.facet.a9c) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%A.facet.b2b) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%A.facet.a9c -// CHECK:STDOUT: %A.WithSelf.AA.type => constants.%A.WithSelf.AA.type.db5 -// CHECK:STDOUT: %A.WithSelf.AA => constants.%A.WithSelf.AA.9cf +// CHECK:STDOUT: %Self => constants.%A.facet.b2b +// CHECK:STDOUT: %A.WithSelf.AA.type => constants.%A.WithSelf.AA.type.24a +// CHECK:STDOUT: %A.WithSelf.AA => constants.%A.WithSelf.AA.d71 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.AA(constants.%A.facet.a9c) {} +// CHECK:STDOUT: specific @A.WithSelf.AA(constants.%A.facet.b2b) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%B.facet.c28) { +// CHECK:STDOUT: specific @B.WithSelf(constants.%B.facet.a6e) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%B.facet.c28 -// CHECK:STDOUT: %B.WithSelf.BB.type => constants.%B.WithSelf.BB.type.b44 -// CHECK:STDOUT: %B.WithSelf.BB => constants.%B.WithSelf.BB.e64 +// CHECK:STDOUT: %Self => constants.%B.facet.a6e +// CHECK:STDOUT: %B.WithSelf.BB.type => constants.%B.WithSelf.BB.type.cbd +// CHECK:STDOUT: %B.WithSelf.BB => constants.%B.WithSelf.BB.5d0 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf.BB(constants.%B.facet.c28) {} +// CHECK:STDOUT: specific @B.WithSelf.BB(constants.%B.facet.a6e) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @G(constants.%T) { // CHECK:STDOUT: %T.loc33_7.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc33_28.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.289 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.7b6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Empty.WithSelf(constants.%T) { @@ -463,52 +463,52 @@ fn F() { // CHECK:STDOUT: specific @A.WithSelf(constants.%T) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %A.WithSelf.AA.type => constants.%A.WithSelf.AA.type.127 -// CHECK:STDOUT: %A.WithSelf.AA => constants.%A.WithSelf.AA.17e +// CHECK:STDOUT: %A.WithSelf.AA.type => constants.%A.WithSelf.AA.type.056 +// CHECK:STDOUT: %A.WithSelf.AA => constants.%A.WithSelf.AA.5e7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @B.WithSelf(constants.%T) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %B.WithSelf.BB.type => constants.%B.WithSelf.BB.type.d61 -// CHECK:STDOUT: %B.WithSelf.BB => constants.%B.WithSelf.BB.13b +// CHECK:STDOUT: %B.WithSelf.BB.type => constants.%B.WithSelf.BB.type.ef2 +// CHECK:STDOUT: %B.WithSelf.BB => constants.%B.WithSelf.BB.e3c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%A.facet.7ae) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%A.facet.66b) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%A.facet.7ae -// CHECK:STDOUT: %A.WithSelf.AA.type => constants.%A.WithSelf.AA.type.719 -// CHECK:STDOUT: %A.WithSelf.AA => constants.%A.WithSelf.AA.9f3 +// CHECK:STDOUT: %Self => constants.%A.facet.66b +// CHECK:STDOUT: %A.WithSelf.AA.type => constants.%A.WithSelf.AA.type.06d +// CHECK:STDOUT: %A.WithSelf.AA => constants.%A.WithSelf.AA.a3a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.AA(constants.%A.facet.7ae) {} +// CHECK:STDOUT: specific @A.WithSelf.AA(constants.%A.facet.66b) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf(constants.%B.facet.8d8) { +// CHECK:STDOUT: specific @B.WithSelf(constants.%B.facet.909) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%B.facet.8d8 -// CHECK:STDOUT: %B.WithSelf.BB.type => constants.%B.WithSelf.BB.type.79f -// CHECK:STDOUT: %B.WithSelf.BB => constants.%B.WithSelf.BB.bab +// CHECK:STDOUT: %Self => constants.%B.facet.909 +// CHECK:STDOUT: %B.WithSelf.BB.type => constants.%B.WithSelf.BB.type.240 +// CHECK:STDOUT: %B.WithSelf.BB => constants.%B.WithSelf.BB.2b6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @B.WithSelf.BB(constants.%B.facet.8d8) {} +// CHECK:STDOUT: specific @B.WithSelf.BB(constants.%B.facet.909) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @G(constants.%facet_value) { // CHECK:STDOUT: %T.loc33_7.1 => constants.%facet_value // CHECK:STDOUT: %T.as_type.loc33_28.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d7b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type // CHECK:STDOUT: %A.lookup_impl_witness => constants.%A.impl_witness -// CHECK:STDOUT: %A.facet.loc34 => constants.%A.facet.a9c -// CHECK:STDOUT: %A.WithSelf.AA.type => constants.%A.WithSelf.AA.type.db5 -// CHECK:STDOUT: %.loc34 => constants.%.415 +// CHECK:STDOUT: %A.facet.loc34 => constants.%A.facet.b2b +// CHECK:STDOUT: %A.WithSelf.AA.type => constants.%A.WithSelf.AA.type.24a +// CHECK:STDOUT: %.loc34 => constants.%.0ba // CHECK:STDOUT: %impl.elem0.loc34_4.2 => constants.%C.as.A.impl.AA // CHECK:STDOUT: %specific_impl_fn.loc34_4.2 => constants.%C.as.A.impl.AA // CHECK:STDOUT: %B.lookup_impl_witness => constants.%B.impl_witness -// CHECK:STDOUT: %B.facet.loc35 => constants.%B.facet.c28 -// CHECK:STDOUT: %B.WithSelf.BB.type => constants.%B.WithSelf.BB.type.b44 -// CHECK:STDOUT: %.loc35 => constants.%.336 +// CHECK:STDOUT: %B.facet.loc35 => constants.%B.facet.a6e +// CHECK:STDOUT: %B.WithSelf.BB.type => constants.%B.WithSelf.BB.type.cbd +// CHECK:STDOUT: %.loc35 => constants.%.a68 // CHECK:STDOUT: %impl.elem0.loc35_4.2 => constants.%C.as.B.impl.BB // CHECK:STDOUT: %specific_impl_fn.loc35_4.2 => constants.%C.as.B.impl.BB // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/facet/convert_class_type_to_generic_facet_value.carbon b/toolchain/check/testdata/facet/convert_class_type_to_generic_facet_value.carbon index 1ed1860b02e7..375c09c91f1d 100644 --- a/toolchain/check/testdata/facet/convert_class_type_to_generic_facet_value.carbon +++ b/toolchain/check/testdata/facet/convert_class_type_to_generic_facet_value.carbon @@ -69,50 +69,50 @@ fn G() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %Scalar: type = symbolic_binding Scalar, 0 [symbolic] -// CHECK:STDOUT: %Generic.type.585: type = generic_interface_type @Generic [concrete] +// CHECK:STDOUT: %Generic.type.df8: type = generic_interface_type @Generic [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Generic.generic: %Generic.type.585 = struct_value () [concrete] -// CHECK:STDOUT: %Generic.type.667499.1: type = facet_type <@Generic, @Generic(%Scalar)> [symbolic] -// CHECK:STDOUT: %Self.dab097.1: %Generic.type.667499.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.70cdb0.1: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%Scalar, %Self.dab097.1) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.37ca10.1: %Generic.WithSelf.F.type.70cdb0.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.7965df.1: type = assoc_entity_type @Generic, @Generic(%Scalar) [symbolic] -// CHECK:STDOUT: %assoc0.20d0b2.1: %Generic.assoc_type.7965df.1 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %Generic.generic: %Generic.type.df8 = struct_value () [concrete] +// CHECK:STDOUT: %Generic.type.79a857.1: type = facet_type <@Generic, @Generic(%Scalar)> [symbolic] +// CHECK:STDOUT: %Self.34f480.1: %Generic.type.79a857.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.882349.1: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%Scalar, %Self.34f480.1) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.6a7088.1: %Generic.WithSelf.F.type.882349.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.bf879e.1: type = assoc_entity_type @Generic, @Generic(%Scalar) [symbolic] +// CHECK:STDOUT: %assoc0.0c6b77.1: %Generic.assoc_type.bf879e.1 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %GenericParam: type = class_type @GenericParam [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %ImplsGeneric: type = class_type @ImplsGeneric [concrete] -// CHECK:STDOUT: %Generic.type.fd6: type = facet_type <@Generic, @Generic(%GenericParam)> [concrete] +// CHECK:STDOUT: %Generic.type.fa5: type = facet_type <@Generic, @Generic(%GenericParam)> [concrete] // CHECK:STDOUT: %Generic.impl_witness: = impl_witness @ImplsGeneric.as.Generic.impl.%Generic.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.b64: %Generic.type.fd6 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.f24: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Self.dab097.1) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.a52: %Generic.WithSelf.F.type.f24 = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.fda: type = assoc_entity_type @Generic, @Generic(%GenericParam) [concrete] -// CHECK:STDOUT: %assoc0.6ca: %Generic.assoc_type.fda = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %Self.e96: %Generic.type.fa5 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.d27: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Self.34f480.1) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.87f: %Generic.WithSelf.F.type.d27 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.748: type = assoc_entity_type @Generic, @Generic(%GenericParam) [concrete] +// CHECK:STDOUT: %assoc0.6aa: %Generic.assoc_type.748 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [concrete] // CHECK:STDOUT: %ImplsGeneric.as.Generic.impl.F.type: type = fn_type @ImplsGeneric.as.Generic.impl.F [concrete] // CHECK:STDOUT: %ImplsGeneric.as.Generic.impl.F: %ImplsGeneric.as.Generic.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %Generic.facet: %Generic.type.fd6 = facet_value %ImplsGeneric, (%Generic.impl_witness) [concrete] -// CHECK:STDOUT: %Generic.WithSelf.F.type.2ac: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Generic.facet) [concrete] -// CHECK:STDOUT: %Generic.WithSelf.F.979: %Generic.WithSelf.F.type.2ac = struct_value () [concrete] +// CHECK:STDOUT: %Generic.facet: %Generic.type.fa5 = facet_value %ImplsGeneric, (%Generic.impl_witness) [concrete] +// CHECK:STDOUT: %Generic.WithSelf.F.type.52a: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Generic.facet) [concrete] +// CHECK:STDOUT: %Generic.WithSelf.F.a3a: %Generic.WithSelf.F.type.52a = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Generic.type.667499.2: type = facet_type <@Generic, @Generic(%T)> [symbolic] -// CHECK:STDOUT: %pattern_type.297: type = pattern_type %Generic.type.667499.2 [symbolic] -// CHECK:STDOUT: %U.6578f6.1: %Generic.type.667499.2 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %Generic.type.79a857.2: type = facet_type <@Generic, @Generic(%T)> [symbolic] +// CHECK:STDOUT: %pattern_type.31c: type = pattern_type %Generic.type.79a857.2 [symbolic] +// CHECK:STDOUT: %U.42e6d9.1: %Generic.type.79a857.2 = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %CallGenericMethod.type: type = fn_type @CallGenericMethod [concrete] // CHECK:STDOUT: %CallGenericMethod: %CallGenericMethod.type = struct_value () [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.69e: type = pattern_type %Generic.type.fd6 [concrete] -// CHECK:STDOUT: %CallGenericMethod.specific_fn.6d5: = specific_function %CallGenericMethod, @CallGenericMethod(%GenericParam, %Generic.facet) [concrete] -// CHECK:STDOUT: %U.6578f6.2: %Generic.type.667499.2 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %pattern_type.9cd: type = pattern_type %Generic.type.fa5 [concrete] +// CHECK:STDOUT: %CallGenericMethod.specific_fn.654: = specific_function %CallGenericMethod, @CallGenericMethod(%GenericParam, %Generic.facet) [concrete] +// CHECK:STDOUT: %U.42e6d9.2: %Generic.type.79a857.2 = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %PassThroughToGenericMethod.type: type = fn_type @PassThroughToGenericMethod [concrete] // CHECK:STDOUT: %PassThroughToGenericMethod: %PassThroughToGenericMethod.type = struct_value () [concrete] -// CHECK:STDOUT: %Self.dab097.2: %Generic.type.667499.2 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.70cdb0.2: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T, %Self.dab097.1) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.37ca10.2: %Generic.WithSelf.F.type.70cdb0.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.7965df.2: type = assoc_entity_type @Generic, @Generic(%T) [symbolic] -// CHECK:STDOUT: %assoc0.20d0b2.2: %Generic.assoc_type.7965df.2 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] -// CHECK:STDOUT: %CallGenericMethod.specific_fn.486: = specific_function %CallGenericMethod, @CallGenericMethod(%T, %U.6578f6.2) [symbolic] +// CHECK:STDOUT: %Self.34f480.2: %Generic.type.79a857.2 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.882349.2: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T, %Self.34f480.1) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.6a7088.2: %Generic.WithSelf.F.type.882349.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.bf879e.2: type = assoc_entity_type @Generic, @Generic(%T) [symbolic] +// CHECK:STDOUT: %assoc0.0c6b77.2: %Generic.assoc_type.bf879e.2 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %CallGenericMethod.specific_fn.5b8: = specific_function %CallGenericMethod, @CallGenericMethod(%T, %U.42e6d9.2) [symbolic] // CHECK:STDOUT: %H.type: type = fn_type @H [concrete] // CHECK:STDOUT: %H: %H.type = struct_value () [concrete] // CHECK:STDOUT: %PassThroughToGenericMethod.specific_fn: = specific_function %PassThroughToGenericMethod, @PassThroughToGenericMethod(%GenericParam, %Generic.facet) [concrete] @@ -137,7 +137,7 @@ fn G() { // CHECK:STDOUT: .H = %H.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Generic.decl: %Generic.type.585 = interface_decl @Generic [concrete = constants.%Generic.generic] { +// CHECK:STDOUT: %Generic.decl: %Generic.type.df8 = interface_decl @Generic [concrete = constants.%Generic.generic] { // CHECK:STDOUT: %Scalar.patt: %pattern_type.98f = symbolic_binding_pattern Scalar, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_28.1: type = splice_block %.loc4_28.2 [concrete = type] { @@ -150,44 +150,44 @@ fn G() { // CHECK:STDOUT: %ImplsGeneric.decl: type = class_decl @ImplsGeneric [concrete = constants.%ImplsGeneric] {} {} // CHECK:STDOUT: impl_decl @ImplsGeneric.as.Generic.impl [concrete] {} { // CHECK:STDOUT: %ImplsGeneric.ref: type = name_ref ImplsGeneric, file.%ImplsGeneric.decl [concrete = constants.%ImplsGeneric] -// CHECK:STDOUT: %Generic.ref: %Generic.type.585 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %GenericParam.ref: type = name_ref GenericParam, file.%GenericParam.decl [concrete = constants.%GenericParam] -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%GenericParam)> [concrete = constants.%Generic.type.fd6] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%GenericParam)> [concrete = constants.%Generic.type.fa5] // CHECK:STDOUT: } // CHECK:STDOUT: %CallGenericMethod.decl: %CallGenericMethod.type = fn_decl @CallGenericMethod [concrete = constants.%CallGenericMethod] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %U.patt: @CallGenericMethod.%pattern_type (%pattern_type.297) = symbolic_binding_pattern U, 1 [concrete] +// CHECK:STDOUT: %U.patt: @CallGenericMethod.%pattern_type (%pattern_type.31c) = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15_26.1: type = splice_block %.loc15_26.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc15_23: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc15_26.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc15_23.2: type = symbolic_binding T, 0 [symbolic = %T.loc15_23.1 (constants.%T)] -// CHECK:STDOUT: %.loc15_52: type = splice_block %Generic.type.loc15_52.2 [symbolic = %Generic.type.loc15_52.1 (constants.%Generic.type.667499.2)] { +// CHECK:STDOUT: %.loc15_52: type = splice_block %Generic.type.loc15_52.2 [symbolic = %Generic.type.loc15_52.1 (constants.%Generic.type.79a857.2)] { // CHECK:STDOUT: %.Self.loc15_40: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Generic.ref: %Generic.type.585 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc15_23.2 [symbolic = %T.loc15_23.1 (constants.%T)] -// CHECK:STDOUT: %Generic.type.loc15_52.2: type = facet_type <@Generic, @Generic(constants.%T)> [symbolic = %Generic.type.loc15_52.1 (constants.%Generic.type.667499.2)] +// CHECK:STDOUT: %Generic.type.loc15_52.2: type = facet_type <@Generic, @Generic(constants.%T)> [symbolic = %Generic.type.loc15_52.1 (constants.%Generic.type.79a857.2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc15_40.2: @CallGenericMethod.%Generic.type.loc15_52.1 (%Generic.type.667499.2) = symbolic_binding U, 1 [symbolic = %U.loc15_40.1 (constants.%U.6578f6.1)] +// CHECK:STDOUT: %U.loc15_40.2: @CallGenericMethod.%Generic.type.loc15_52.1 (%Generic.type.79a857.2) = symbolic_binding U, 1 [symbolic = %U.loc15_40.1 (constants.%U.42e6d9.1)] // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] {} {} // CHECK:STDOUT: %PassThroughToGenericMethod.decl: %PassThroughToGenericMethod.type = fn_decl @PassThroughToGenericMethod [concrete = constants.%PassThroughToGenericMethod] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %U.patt: @PassThroughToGenericMethod.%pattern_type (%pattern_type.297) = symbolic_binding_pattern U, 1 [concrete] +// CHECK:STDOUT: %U.patt: @PassThroughToGenericMethod.%pattern_type (%pattern_type.31c) = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc21_35.1: type = splice_block %.loc21_35.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc21_32: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc21_35.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc21_32.2: type = symbolic_binding T, 0 [symbolic = %T.loc21_32.1 (constants.%T)] -// CHECK:STDOUT: %.loc21_54: type = splice_block %Generic.type.loc21_54.2 [symbolic = %Generic.type.loc21_54.1 (constants.%Generic.type.667499.2)] { +// CHECK:STDOUT: %.loc21_54: type = splice_block %Generic.type.loc21_54.2 [symbolic = %Generic.type.loc21_54.1 (constants.%Generic.type.79a857.2)] { // CHECK:STDOUT: %.Self.loc21_42: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Generic.ref: %Generic.type.585 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %T.ref.loc21: type = name_ref T, %T.loc21_32.2 [symbolic = %T.loc21_32.1 (constants.%T)] -// CHECK:STDOUT: %Generic.type.loc21_54.2: type = facet_type <@Generic, @Generic(constants.%T)> [symbolic = %Generic.type.loc21_54.1 (constants.%Generic.type.667499.2)] +// CHECK:STDOUT: %Generic.type.loc21_54.2: type = facet_type <@Generic, @Generic(constants.%T)> [symbolic = %Generic.type.loc21_54.1 (constants.%Generic.type.79a857.2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc21_42.2: @PassThroughToGenericMethod.%Generic.type.loc21_54.1 (%Generic.type.667499.2) = symbolic_binding U, 1 [symbolic = %U.loc21_42.1 (constants.%U.6578f6.2)] +// CHECK:STDOUT: %U.loc21_42.2: @PassThroughToGenericMethod.%Generic.type.loc21_54.1 (%Generic.type.79a857.2) = symbolic_binding U, 1 [symbolic = %U.loc21_42.1 (constants.%U.42e6d9.2)] // CHECK:STDOUT: } // CHECK:STDOUT: %H.decl: %H.type = fn_decl @H [concrete = constants.%H] {} {} // CHECK:STDOUT: } @@ -196,16 +196,16 @@ fn G() { // CHECK:STDOUT: %Scalar.loc4_25.1: type = symbolic_binding Scalar, 0 [symbolic = %Scalar.loc4_25.1 (constants.%Scalar)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%Scalar.loc4_25.1)> [symbolic = %Generic.type (constants.%Generic.type.667499.1)] -// CHECK:STDOUT: %Self.loc4_34.2: @Generic.%Generic.type (%Generic.type.667499.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.dab097.1)] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%Scalar.loc4_25.1)> [symbolic = %Generic.type (constants.%Generic.type.79a857.1)] +// CHECK:STDOUT: %Self.loc4_34.2: @Generic.%Generic.type (%Generic.type.79a857.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.34f480.1)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_34.1: @Generic.%Generic.type (%Generic.type.667499.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.dab097.1)] +// CHECK:STDOUT: %Self.loc4_34.1: @Generic.%Generic.type (%Generic.type.79a857.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.34f480.1)] // CHECK:STDOUT: %Generic.WithSelf.decl = interface_with_self_decl @Generic [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Generic.WithSelf.F.decl: @Generic.WithSelf.%Generic.WithSelf.F.type (%Generic.WithSelf.F.type.70cdb0.1) = fn_decl @Generic.WithSelf.F [symbolic = @Generic.WithSelf.%Generic.WithSelf.F (constants.%Generic.WithSelf.F.37ca10.1)] {} {} -// CHECK:STDOUT: %assoc0.loc5_9.1: @Generic.WithSelf.%Generic.assoc_type (%Generic.assoc_type.7965df.1) = assoc_entity element0, %Generic.WithSelf.F.decl [symbolic = %assoc0.loc5_9.2 (constants.%assoc0.20d0b2.1)] +// CHECK:STDOUT: %Generic.WithSelf.F.decl: @Generic.WithSelf.%Generic.WithSelf.F.type (%Generic.WithSelf.F.type.882349.1) = fn_decl @Generic.WithSelf.F [symbolic = @Generic.WithSelf.%Generic.WithSelf.F (constants.%Generic.WithSelf.F.6a7088.1)] {} {} +// CHECK:STDOUT: %assoc0.loc5_9.1: @Generic.WithSelf.%Generic.assoc_type (%Generic.assoc_type.bf879e.1) = assoc_entity element0, %Generic.WithSelf.F.decl [symbolic = %assoc0.loc5_9.2 (constants.%assoc0.0c6b77.1)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc4_34.1 @@ -243,7 +243,7 @@ fn G() { // CHECK:STDOUT: .Self = constants.%ImplsGeneric // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Generic.WithSelf.F(@Generic.%Scalar.loc4_25.2: type, @Generic.%Self.loc4_34.1: @Generic.%Generic.type (%Generic.type.667499.1)) { +// CHECK:STDOUT: generic fn @Generic.WithSelf.F(@Generic.%Scalar.loc4_25.2: type, @Generic.%Self.loc4_34.1: @Generic.%Generic.type (%Generic.type.79a857.1)) { // CHECK:STDOUT: fn(); // CHECK:STDOUT: } // CHECK:STDOUT: @@ -252,11 +252,11 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc15_23.2: type, %U.loc15_40.2: @CallGenericMethod.%Generic.type.loc15_52.1 (%Generic.type.667499.2)) { +// CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc15_23.2: type, %U.loc15_40.2: @CallGenericMethod.%Generic.type.loc15_52.1 (%Generic.type.79a857.2)) { // CHECK:STDOUT: %T.loc15_23.1: type = symbolic_binding T, 0 [symbolic = %T.loc15_23.1 (constants.%T)] -// CHECK:STDOUT: %Generic.type.loc15_52.1: type = facet_type <@Generic, @Generic(%T.loc15_23.1)> [symbolic = %Generic.type.loc15_52.1 (constants.%Generic.type.667499.2)] -// CHECK:STDOUT: %U.loc15_40.1: @CallGenericMethod.%Generic.type.loc15_52.1 (%Generic.type.667499.2) = symbolic_binding U, 1 [symbolic = %U.loc15_40.1 (constants.%U.6578f6.1)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Generic.type.loc15_52.1 [symbolic = %pattern_type (constants.%pattern_type.297)] +// CHECK:STDOUT: %Generic.type.loc15_52.1: type = facet_type <@Generic, @Generic(%T.loc15_23.1)> [symbolic = %Generic.type.loc15_52.1 (constants.%Generic.type.79a857.2)] +// CHECK:STDOUT: %U.loc15_40.1: @CallGenericMethod.%Generic.type.loc15_52.1 (%Generic.type.79a857.2) = symbolic_binding U, 1 [symbolic = %U.loc15_40.1 (constants.%U.42e6d9.1)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Generic.type.loc15_52.1 [symbolic = %pattern_type (constants.%pattern_type.31c)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -271,28 +271,28 @@ fn G() { // CHECK:STDOUT: %CallGenericMethod.ref: %CallGenericMethod.type = name_ref CallGenericMethod, file.%CallGenericMethod.decl [concrete = constants.%CallGenericMethod] // CHECK:STDOUT: %GenericParam.ref: type = name_ref GenericParam, file.%GenericParam.decl [concrete = constants.%GenericParam] // CHECK:STDOUT: %ImplsGeneric.ref: type = name_ref ImplsGeneric, file.%ImplsGeneric.decl [concrete = constants.%ImplsGeneric] -// CHECK:STDOUT: %Generic.facet: %Generic.type.fd6 = facet_value constants.%ImplsGeneric, (constants.%Generic.impl_witness) [concrete = constants.%Generic.facet] -// CHECK:STDOUT: %.loc18: %Generic.type.fd6 = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet] -// CHECK:STDOUT: %CallGenericMethod.specific_fn: = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) [concrete = constants.%CallGenericMethod.specific_fn.6d5] +// CHECK:STDOUT: %Generic.facet: %Generic.type.fa5 = facet_value constants.%ImplsGeneric, (constants.%Generic.impl_witness) [concrete = constants.%Generic.facet] +// CHECK:STDOUT: %.loc18: %Generic.type.fa5 = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet] +// CHECK:STDOUT: %CallGenericMethod.specific_fn: = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) [concrete = constants.%CallGenericMethod.specific_fn.654] // CHECK:STDOUT: %CallGenericMethod.call: init %empty_tuple.type = call %CallGenericMethod.specific_fn() // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @PassThroughToGenericMethod(%T.loc21_32.2: type, %U.loc21_42.2: @PassThroughToGenericMethod.%Generic.type.loc21_54.1 (%Generic.type.667499.2)) { +// CHECK:STDOUT: generic fn @PassThroughToGenericMethod(%T.loc21_32.2: type, %U.loc21_42.2: @PassThroughToGenericMethod.%Generic.type.loc21_54.1 (%Generic.type.79a857.2)) { // CHECK:STDOUT: %T.loc21_32.1: type = symbolic_binding T, 0 [symbolic = %T.loc21_32.1 (constants.%T)] -// CHECK:STDOUT: %Generic.type.loc21_54.1: type = facet_type <@Generic, @Generic(%T.loc21_32.1)> [symbolic = %Generic.type.loc21_54.1 (constants.%Generic.type.667499.2)] -// CHECK:STDOUT: %U.loc21_42.1: @PassThroughToGenericMethod.%Generic.type.loc21_54.1 (%Generic.type.667499.2) = symbolic_binding U, 1 [symbolic = %U.loc21_42.1 (constants.%U.6578f6.2)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Generic.type.loc21_54.1 [symbolic = %pattern_type (constants.%pattern_type.297)] +// CHECK:STDOUT: %Generic.type.loc21_54.1: type = facet_type <@Generic, @Generic(%T.loc21_32.1)> [symbolic = %Generic.type.loc21_54.1 (constants.%Generic.type.79a857.2)] +// CHECK:STDOUT: %U.loc21_42.1: @PassThroughToGenericMethod.%Generic.type.loc21_54.1 (%Generic.type.79a857.2) = symbolic_binding U, 1 [symbolic = %U.loc21_42.1 (constants.%U.42e6d9.2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Generic.type.loc21_54.1 [symbolic = %pattern_type (constants.%pattern_type.31c)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CallGenericMethod.specific_fn.loc22_3.2: = specific_function constants.%CallGenericMethod, @CallGenericMethod(%T.loc21_32.1, %U.loc21_42.1) [symbolic = %CallGenericMethod.specific_fn.loc22_3.2 (constants.%CallGenericMethod.specific_fn.486)] +// CHECK:STDOUT: %CallGenericMethod.specific_fn.loc22_3.2: = specific_function constants.%CallGenericMethod, @CallGenericMethod(%T.loc21_32.1, %U.loc21_42.1) [symbolic = %CallGenericMethod.specific_fn.loc22_3.2 (constants.%CallGenericMethod.specific_fn.5b8)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %CallGenericMethod.ref: %CallGenericMethod.type = name_ref CallGenericMethod, file.%CallGenericMethod.decl [concrete = constants.%CallGenericMethod] // CHECK:STDOUT: %T.ref.loc22: type = name_ref T, %T.loc21_32.2 [symbolic = %T.loc21_32.1 (constants.%T)] -// CHECK:STDOUT: %U.ref: @PassThroughToGenericMethod.%Generic.type.loc21_54.1 (%Generic.type.667499.2) = name_ref U, %U.loc21_42.2 [symbolic = %U.loc21_42.1 (constants.%U.6578f6.2)] -// CHECK:STDOUT: %CallGenericMethod.specific_fn.loc22_3.1: = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%T, constants.%U.6578f6.2) [symbolic = %CallGenericMethod.specific_fn.loc22_3.2 (constants.%CallGenericMethod.specific_fn.486)] +// CHECK:STDOUT: %U.ref: @PassThroughToGenericMethod.%Generic.type.loc21_54.1 (%Generic.type.79a857.2) = name_ref U, %U.loc21_42.2 [symbolic = %U.loc21_42.1 (constants.%U.42e6d9.2)] +// CHECK:STDOUT: %CallGenericMethod.specific_fn.loc22_3.1: = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%T, constants.%U.42e6d9.2) [symbolic = %CallGenericMethod.specific_fn.loc22_3.2 (constants.%CallGenericMethod.specific_fn.5b8)] // CHECK:STDOUT: %CallGenericMethod.call: init %empty_tuple.type = call %CallGenericMethod.specific_fn.loc22_3.1() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -303,8 +303,8 @@ fn G() { // CHECK:STDOUT: %PassThroughToGenericMethod.ref: %PassThroughToGenericMethod.type = name_ref PassThroughToGenericMethod, file.%PassThroughToGenericMethod.decl [concrete = constants.%PassThroughToGenericMethod] // CHECK:STDOUT: %GenericParam.ref: type = name_ref GenericParam, file.%GenericParam.decl [concrete = constants.%GenericParam] // CHECK:STDOUT: %ImplsGeneric.ref: type = name_ref ImplsGeneric, file.%ImplsGeneric.decl [concrete = constants.%ImplsGeneric] -// CHECK:STDOUT: %Generic.facet: %Generic.type.fd6 = facet_value constants.%ImplsGeneric, (constants.%Generic.impl_witness) [concrete = constants.%Generic.facet] -// CHECK:STDOUT: %.loc26: %Generic.type.fd6 = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet] +// CHECK:STDOUT: %Generic.facet: %Generic.type.fa5 = facet_value constants.%ImplsGeneric, (constants.%Generic.impl_witness) [concrete = constants.%Generic.facet] +// CHECK:STDOUT: %.loc26: %Generic.type.fa5 = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet] // CHECK:STDOUT: %PassThroughToGenericMethod.specific_fn: = specific_function %PassThroughToGenericMethod.ref, @PassThroughToGenericMethod(constants.%GenericParam, constants.%Generic.facet) [concrete = constants.%PassThroughToGenericMethod.specific_fn] // CHECK:STDOUT: %PassThroughToGenericMethod.call: init %empty_tuple.type = call %PassThroughToGenericMethod.specific_fn() // CHECK:STDOUT: return @@ -314,38 +314,38 @@ fn G() { // CHECK:STDOUT: %Scalar.loc4_25.1 => constants.%Scalar // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%Scalar, constants.%Self.dab097.1) {} +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%Scalar, constants.%Self.34f480.1) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%Scalar, constants.%Self.dab097.1) {} +// CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%Scalar, constants.%Self.34f480.1) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%GenericParam) { // CHECK:STDOUT: %Scalar.loc4_25.1 => constants.%GenericParam // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fd6 -// CHECK:STDOUT: %Self.loc4_34.2 => constants.%Self.b64 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 +// CHECK:STDOUT: %Self.loc4_34.2 => constants.%Self.e96 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Self.dab097.1) { +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Self.34f480.1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%GenericParam -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fd6 -// CHECK:STDOUT: %Self => constants.%Self.dab097.1 -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.f24 -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.a52 -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.fda -// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.6ca +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 +// CHECK:STDOUT: %Self => constants.%Self.34f480.1 +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.d27 +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.87f +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.748 +// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.6aa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Generic.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%GenericParam -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fd6 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 // CHECK:STDOUT: %Self => constants.%Generic.facet -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.2ac -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.979 -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.fda -// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.6ca +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.52a +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.a3a +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.748 +// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.6aa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%GenericParam, constants.%Generic.facet) {} @@ -354,61 +354,61 @@ fn G() { // CHECK:STDOUT: %Scalar.loc4_25.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.667499.2 -// CHECK:STDOUT: %Self.loc4_34.2 => constants.%Self.dab097.2 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.79a857.2 +// CHECK:STDOUT: %Self.loc4_34.2 => constants.%Self.34f480.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @CallGenericMethod(constants.%T, constants.%U.6578f6.1) { +// CHECK:STDOUT: specific @CallGenericMethod(constants.%T, constants.%U.42e6d9.1) { // CHECK:STDOUT: %T.loc15_23.1 => constants.%T -// CHECK:STDOUT: %Generic.type.loc15_52.1 => constants.%Generic.type.667499.2 -// CHECK:STDOUT: %U.loc15_40.1 => constants.%U.6578f6.1 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.297 +// CHECK:STDOUT: %Generic.type.loc15_52.1 => constants.%Generic.type.79a857.2 +// CHECK:STDOUT: %U.loc15_40.1 => constants.%U.42e6d9.1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.31c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) { // CHECK:STDOUT: %T.loc15_23.1 => constants.%GenericParam -// CHECK:STDOUT: %Generic.type.loc15_52.1 => constants.%Generic.type.fd6 +// CHECK:STDOUT: %Generic.type.loc15_52.1 => constants.%Generic.type.fa5 // CHECK:STDOUT: %U.loc15_40.1 => constants.%Generic.facet -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.69e +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9cd // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @PassThroughToGenericMethod(constants.%T, constants.%U.6578f6.2) { +// CHECK:STDOUT: specific @PassThroughToGenericMethod(constants.%T, constants.%U.42e6d9.2) { // CHECK:STDOUT: %T.loc21_32.1 => constants.%T -// CHECK:STDOUT: %Generic.type.loc21_54.1 => constants.%Generic.type.667499.2 -// CHECK:STDOUT: %U.loc21_42.1 => constants.%U.6578f6.2 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.297 +// CHECK:STDOUT: %Generic.type.loc21_54.1 => constants.%Generic.type.79a857.2 +// CHECK:STDOUT: %U.loc21_42.1 => constants.%U.42e6d9.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.31c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%T, constants.%Self.dab097.1) { +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%T, constants.%Self.34f480.1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%T -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.667499.2 -// CHECK:STDOUT: %Self => constants.%Self.dab097.1 -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.70cdb0.2 -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.37ca10.2 -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.7965df.2 -// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.20d0b2.2 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.79a857.2 +// CHECK:STDOUT: %Self => constants.%Self.34f480.1 +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.882349.2 +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.6a7088.2 +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.bf879e.2 +// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.0c6b77.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @CallGenericMethod(constants.%T, constants.%U.6578f6.2) { +// CHECK:STDOUT: specific @CallGenericMethod(constants.%T, constants.%U.42e6d9.2) { // CHECK:STDOUT: %T.loc15_23.1 => constants.%T -// CHECK:STDOUT: %Generic.type.loc15_52.1 => constants.%Generic.type.667499.2 -// CHECK:STDOUT: %U.loc15_40.1 => constants.%U.6578f6.2 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.297 +// CHECK:STDOUT: %Generic.type.loc15_52.1 => constants.%Generic.type.79a857.2 +// CHECK:STDOUT: %U.loc15_40.1 => constants.%U.42e6d9.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.31c // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @PassThroughToGenericMethod(constants.%GenericParam, constants.%Generic.facet) { // CHECK:STDOUT: %T.loc21_32.1 => constants.%GenericParam -// CHECK:STDOUT: %Generic.type.loc21_54.1 => constants.%Generic.type.fd6 +// CHECK:STDOUT: %Generic.type.loc21_54.1 => constants.%Generic.type.fa5 // CHECK:STDOUT: %U.loc21_42.1 => constants.%Generic.facet -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.69e +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9cd // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %CallGenericMethod.specific_fn.loc22_3.2 => constants.%CallGenericMethod.specific_fn.6d5 +// CHECK:STDOUT: %CallGenericMethod.specific_fn.loc22_3.2 => constants.%CallGenericMethod.specific_fn.654 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- generic_facet_type_from_implicit_param.carbon @@ -418,35 +418,35 @@ fn G() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %Scalar: type = symbolic_binding Scalar, 0 [symbolic] -// CHECK:STDOUT: %Generic.type.fa9: type = generic_interface_type @Generic [concrete] +// CHECK:STDOUT: %Generic.type.df8: type = generic_interface_type @Generic [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Generic.generic: %Generic.type.fa9 = struct_value () [concrete] -// CHECK:STDOUT: %Generic.type.d101db.1: type = facet_type <@Generic, @Generic(%Scalar)> [symbolic] -// CHECK:STDOUT: %Self.170: %Generic.type.d101db.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.73b: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%Scalar, %Self.170) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.9bf: %Generic.WithSelf.F.type.73b = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.27b: type = assoc_entity_type @Generic, @Generic(%Scalar) [symbolic] -// CHECK:STDOUT: %assoc0.5b9: %Generic.assoc_type.27b = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %Generic.generic: %Generic.type.df8 = struct_value () [concrete] +// CHECK:STDOUT: %Generic.type.79a857.1: type = facet_type <@Generic, @Generic(%Scalar)> [symbolic] +// CHECK:STDOUT: %Self.34f: %Generic.type.79a857.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.882: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%Scalar, %Self.34f) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.6a7: %Generic.WithSelf.F.type.882 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.bf8: type = assoc_entity_type @Generic, @Generic(%Scalar) [symbolic] +// CHECK:STDOUT: %assoc0.0c6: %Generic.assoc_type.bf8 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %GenericParam: type = class_type @GenericParam [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %ImplsGeneric: type = class_type @ImplsGeneric [concrete] -// CHECK:STDOUT: %Generic.type.464: type = facet_type <@Generic, @Generic(%GenericParam)> [concrete] +// CHECK:STDOUT: %Generic.type.fa5: type = facet_type <@Generic, @Generic(%GenericParam)> [concrete] // CHECK:STDOUT: %Generic.impl_witness: = impl_witness @ImplsGeneric.as.Generic.impl.%Generic.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.c1d: %Generic.type.464 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.b85: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Self.170) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.9b9: %Generic.WithSelf.F.type.b85 = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.1e8: type = assoc_entity_type @Generic, @Generic(%GenericParam) [concrete] -// CHECK:STDOUT: %assoc0.1ee: %Generic.assoc_type.1e8 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %Self.e96: %Generic.type.fa5 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.d27: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Self.34f) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.87f: %Generic.WithSelf.F.type.d27 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.748: type = assoc_entity_type @Generic, @Generic(%GenericParam) [concrete] +// CHECK:STDOUT: %assoc0.6aa: %Generic.assoc_type.748 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [concrete] // CHECK:STDOUT: %ImplsGeneric.as.Generic.impl.F.type: type = fn_type @ImplsGeneric.as.Generic.impl.F [concrete] // CHECK:STDOUT: %ImplsGeneric.as.Generic.impl.F: %ImplsGeneric.as.Generic.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %Generic.facet: %Generic.type.464 = facet_value %ImplsGeneric, (%Generic.impl_witness) [concrete] -// CHECK:STDOUT: %Generic.WithSelf.F.type.edf: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Generic.facet) [concrete] -// CHECK:STDOUT: %Generic.WithSelf.F.6cc: %Generic.WithSelf.F.type.edf = struct_value () [concrete] +// CHECK:STDOUT: %Generic.facet: %Generic.type.fa5 = facet_value %ImplsGeneric, (%Generic.impl_witness) [concrete] +// CHECK:STDOUT: %Generic.WithSelf.F.type.52a: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Generic.facet) [concrete] +// CHECK:STDOUT: %Generic.WithSelf.F.a3a: %Generic.WithSelf.F.type.52a = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Generic.type.d101db.2: type = facet_type <@Generic, @Generic(%T)> [symbolic] -// CHECK:STDOUT: %pattern_type.a62: type = pattern_type %Generic.type.d101db.2 [symbolic] -// CHECK:STDOUT: %U: %Generic.type.d101db.2 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %Generic.type.79a857.2: type = facet_type <@Generic, @Generic(%T)> [symbolic] +// CHECK:STDOUT: %pattern_type.31c: type = pattern_type %Generic.type.79a857.2 [symbolic] +// CHECK:STDOUT: %U: %Generic.type.79a857.2 = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] // CHECK:STDOUT: %CallGenericMethod.type: type = fn_type @CallGenericMethod [concrete] // CHECK:STDOUT: %CallGenericMethod: %CallGenericMethod.type = struct_value () [concrete] @@ -455,14 +455,14 @@ fn G() { // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %GenericParam.val: %GenericParam = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.bd1: type = pattern_type %Generic.type.464 [concrete] -// CHECK:STDOUT: %pattern_type.c60: type = pattern_type %GenericParam [concrete] +// CHECK:STDOUT: %pattern_type.9cd: type = pattern_type %Generic.type.fa5 [concrete] +// CHECK:STDOUT: %pattern_type.97f: type = pattern_type %GenericParam [concrete] // CHECK:STDOUT: %CallGenericMethod.specific_fn: = specific_function %CallGenericMethod, @CallGenericMethod(%GenericParam, %Generic.facet) [concrete] -// CHECK:STDOUT: %.0d8: ref %GenericParam = temporary invalid, %GenericParam.val [concrete] +// CHECK:STDOUT: %.c27: ref %GenericParam = temporary invalid, %GenericParam.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc18_38.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.0d8, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc18_38.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.c27, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -484,7 +484,7 @@ fn G() { // CHECK:STDOUT: .G = %G.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Generic.decl: %Generic.type.fa9 = interface_decl @Generic [concrete = constants.%Generic.generic] { +// CHECK:STDOUT: %Generic.decl: %Generic.type.df8 = interface_decl @Generic [concrete = constants.%Generic.generic] { // CHECK:STDOUT: %Scalar.patt: %pattern_type.98f = symbolic_binding_pattern Scalar, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_28.1: type = splice_block %.loc4_28.2 [concrete = type] { @@ -497,13 +497,13 @@ fn G() { // CHECK:STDOUT: %ImplsGeneric.decl: type = class_decl @ImplsGeneric [concrete = constants.%ImplsGeneric] {} {} // CHECK:STDOUT: impl_decl @ImplsGeneric.as.Generic.impl [concrete] {} { // CHECK:STDOUT: %ImplsGeneric.ref: type = name_ref ImplsGeneric, file.%ImplsGeneric.decl [concrete = constants.%ImplsGeneric] -// CHECK:STDOUT: %Generic.ref: %Generic.type.fa9 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %GenericParam.ref: type = name_ref GenericParam, file.%GenericParam.decl [concrete = constants.%GenericParam] -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%GenericParam)> [concrete = constants.%Generic.type.464] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%GenericParam)> [concrete = constants.%Generic.type.fa5] // CHECK:STDOUT: } // CHECK:STDOUT: %CallGenericMethod.decl: %CallGenericMethod.type = fn_decl @CallGenericMethod [concrete = constants.%CallGenericMethod] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %U.patt: @CallGenericMethod.%pattern_type.loc15_40 (%pattern_type.a62) = symbolic_binding_pattern U, 1 [concrete] +// CHECK:STDOUT: %U.patt: @CallGenericMethod.%pattern_type.loc15_40 (%pattern_type.31c) = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: %t.param_patt: @CallGenericMethod.%pattern_type.loc15_63 (%pattern_type.51d) = value_param_pattern [concrete] // CHECK:STDOUT: %t.patt: @CallGenericMethod.%pattern_type.loc15_63 (%pattern_type.51d) = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { @@ -512,13 +512,13 @@ fn G() { // CHECK:STDOUT: %.loc15_26.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc15_23.2: type = symbolic_binding T, 0 [symbolic = %T.loc15_23.1 (constants.%T)] -// CHECK:STDOUT: %.loc15_52: type = splice_block %Generic.type.loc15_52.2 [symbolic = %Generic.type.loc15_52.1 (constants.%Generic.type.d101db.2)] { +// CHECK:STDOUT: %.loc15_52: type = splice_block %Generic.type.loc15_52.2 [symbolic = %Generic.type.loc15_52.1 (constants.%Generic.type.79a857.2)] { // CHECK:STDOUT: %.Self.loc15_40: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Generic.ref: %Generic.type.fa9 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %T.ref.loc15_51: type = name_ref T, %T.loc15_23.2 [symbolic = %T.loc15_23.1 (constants.%T)] -// CHECK:STDOUT: %Generic.type.loc15_52.2: type = facet_type <@Generic, @Generic(constants.%T)> [symbolic = %Generic.type.loc15_52.1 (constants.%Generic.type.d101db.2)] +// CHECK:STDOUT: %Generic.type.loc15_52.2: type = facet_type <@Generic, @Generic(constants.%T)> [symbolic = %Generic.type.loc15_52.1 (constants.%Generic.type.79a857.2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc15_40.2: @CallGenericMethod.%Generic.type.loc15_52.1 (%Generic.type.d101db.2) = symbolic_binding U, 1 [symbolic = %U.loc15_40.1 (constants.%U)] +// CHECK:STDOUT: %U.loc15_40.2: @CallGenericMethod.%Generic.type.loc15_52.1 (%Generic.type.79a857.2) = symbolic_binding U, 1 [symbolic = %U.loc15_40.1 (constants.%U)] // CHECK:STDOUT: %t.param: @CallGenericMethod.%T.loc15_23.1 (%T) = value_param call_param0 // CHECK:STDOUT: %T.ref.loc15_65: type = name_ref T, %T.loc15_23.2 [symbolic = %T.loc15_23.1 (constants.%T)] // CHECK:STDOUT: %t: @CallGenericMethod.%T.loc15_23.1 (%T) = value_binding t, %t.param @@ -530,16 +530,16 @@ fn G() { // CHECK:STDOUT: %Scalar.loc4_25.1: type = symbolic_binding Scalar, 0 [symbolic = %Scalar.loc4_25.1 (constants.%Scalar)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%Scalar.loc4_25.1)> [symbolic = %Generic.type (constants.%Generic.type.d101db.1)] -// CHECK:STDOUT: %Self.loc4_34.2: @Generic.%Generic.type (%Generic.type.d101db.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.170)] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%Scalar.loc4_25.1)> [symbolic = %Generic.type (constants.%Generic.type.79a857.1)] +// CHECK:STDOUT: %Self.loc4_34.2: @Generic.%Generic.type (%Generic.type.79a857.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.34f)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_34.1: @Generic.%Generic.type (%Generic.type.d101db.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.170)] +// CHECK:STDOUT: %Self.loc4_34.1: @Generic.%Generic.type (%Generic.type.79a857.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.34f)] // CHECK:STDOUT: %Generic.WithSelf.decl = interface_with_self_decl @Generic [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Generic.WithSelf.F.decl: @Generic.WithSelf.%Generic.WithSelf.F.type (%Generic.WithSelf.F.type.73b) = fn_decl @Generic.WithSelf.F [symbolic = @Generic.WithSelf.%Generic.WithSelf.F (constants.%Generic.WithSelf.F.9bf)] {} {} -// CHECK:STDOUT: %assoc0.loc5_9.1: @Generic.WithSelf.%Generic.assoc_type (%Generic.assoc_type.27b) = assoc_entity element0, %Generic.WithSelf.F.decl [symbolic = %assoc0.loc5_9.2 (constants.%assoc0.5b9)] +// CHECK:STDOUT: %Generic.WithSelf.F.decl: @Generic.WithSelf.%Generic.WithSelf.F.type (%Generic.WithSelf.F.type.882) = fn_decl @Generic.WithSelf.F [symbolic = @Generic.WithSelf.%Generic.WithSelf.F (constants.%Generic.WithSelf.F.6a7)] {} {} +// CHECK:STDOUT: %assoc0.loc5_9.1: @Generic.WithSelf.%Generic.assoc_type (%Generic.assoc_type.bf8) = assoc_entity element0, %Generic.WithSelf.F.decl [symbolic = %assoc0.loc5_9.2 (constants.%assoc0.0c6)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc4_34.1 @@ -577,7 +577,7 @@ fn G() { // CHECK:STDOUT: .Self = constants.%ImplsGeneric // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Generic.WithSelf.F(@Generic.%Scalar.loc4_25.2: type, @Generic.%Self.loc4_34.1: @Generic.%Generic.type (%Generic.type.d101db.1)) { +// CHECK:STDOUT: generic fn @Generic.WithSelf.F(@Generic.%Scalar.loc4_25.2: type, @Generic.%Self.loc4_34.1: @Generic.%Generic.type (%Generic.type.79a857.1)) { // CHECK:STDOUT: fn(); // CHECK:STDOUT: } // CHECK:STDOUT: @@ -586,11 +586,11 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc15_23.2: type, %U.loc15_40.2: @CallGenericMethod.%Generic.type.loc15_52.1 (%Generic.type.d101db.2)) { +// CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc15_23.2: type, %U.loc15_40.2: @CallGenericMethod.%Generic.type.loc15_52.1 (%Generic.type.79a857.2)) { // CHECK:STDOUT: %T.loc15_23.1: type = symbolic_binding T, 0 [symbolic = %T.loc15_23.1 (constants.%T)] -// CHECK:STDOUT: %Generic.type.loc15_52.1: type = facet_type <@Generic, @Generic(%T.loc15_23.1)> [symbolic = %Generic.type.loc15_52.1 (constants.%Generic.type.d101db.2)] -// CHECK:STDOUT: %U.loc15_40.1: @CallGenericMethod.%Generic.type.loc15_52.1 (%Generic.type.d101db.2) = symbolic_binding U, 1 [symbolic = %U.loc15_40.1 (constants.%U)] -// CHECK:STDOUT: %pattern_type.loc15_40: type = pattern_type %Generic.type.loc15_52.1 [symbolic = %pattern_type.loc15_40 (constants.%pattern_type.a62)] +// CHECK:STDOUT: %Generic.type.loc15_52.1: type = facet_type <@Generic, @Generic(%T.loc15_23.1)> [symbolic = %Generic.type.loc15_52.1 (constants.%Generic.type.79a857.2)] +// CHECK:STDOUT: %U.loc15_40.1: @CallGenericMethod.%Generic.type.loc15_52.1 (%Generic.type.79a857.2) = symbolic_binding U, 1 [symbolic = %U.loc15_40.1 (constants.%U)] +// CHECK:STDOUT: %pattern_type.loc15_40: type = pattern_type %Generic.type.loc15_52.1 [symbolic = %pattern_type.loc15_40 (constants.%pattern_type.31c)] // CHECK:STDOUT: %pattern_type.loc15_63: type = pattern_type %T.loc15_23.1 [symbolic = %pattern_type.loc15_63 (constants.%pattern_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: @@ -611,13 +611,13 @@ fn G() { // CHECK:STDOUT: %.loc18_36.2: ref %GenericParam = temporary_storage // CHECK:STDOUT: %.loc18_36.3: init %GenericParam to %.loc18_36.2 = class_init () [concrete = constants.%GenericParam.val] // CHECK:STDOUT: %.loc18_38.1: init %GenericParam = converted %.loc18_36.1, %.loc18_36.3 [concrete = constants.%GenericParam.val] -// CHECK:STDOUT: %Generic.facet: %Generic.type.464 = facet_value constants.%ImplsGeneric, (constants.%Generic.impl_witness) [concrete = constants.%Generic.facet] -// CHECK:STDOUT: %.loc18_53: %Generic.type.464 = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet] +// CHECK:STDOUT: %Generic.facet: %Generic.type.fa5 = facet_value constants.%ImplsGeneric, (constants.%Generic.impl_witness) [concrete = constants.%Generic.facet] +// CHECK:STDOUT: %.loc18_53: %Generic.type.fa5 = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet] // CHECK:STDOUT: %CallGenericMethod.specific_fn: = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) [concrete = constants.%CallGenericMethod.specific_fn] -// CHECK:STDOUT: %.loc18_38.2: ref %GenericParam = temporary %.loc18_36.2, %.loc18_38.1 [concrete = constants.%.0d8] +// CHECK:STDOUT: %.loc18_38.2: ref %GenericParam = temporary %.loc18_36.2, %.loc18_38.1 [concrete = constants.%.c27] // CHECK:STDOUT: %.loc18_38.3: %GenericParam = acquire_value %.loc18_38.2 [concrete = constants.%GenericParam.val] // CHECK:STDOUT: %CallGenericMethod.call: init %empty_tuple.type = call %CallGenericMethod.specific_fn(%.loc18_38.3) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.0d8) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.c27) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -632,38 +632,38 @@ fn G() { // CHECK:STDOUT: %Scalar.loc4_25.1 => constants.%Scalar // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%Scalar, constants.%Self.170) {} +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%Scalar, constants.%Self.34f) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%Scalar, constants.%Self.170) {} +// CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%Scalar, constants.%Self.34f) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%GenericParam) { // CHECK:STDOUT: %Scalar.loc4_25.1 => constants.%GenericParam // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.464 -// CHECK:STDOUT: %Self.loc4_34.2 => constants.%Self.c1d +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 +// CHECK:STDOUT: %Self.loc4_34.2 => constants.%Self.e96 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Self.170) { +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Self.34f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%GenericParam -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.464 -// CHECK:STDOUT: %Self => constants.%Self.170 -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.b85 -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.9b9 -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.1e8 -// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.1ee +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 +// CHECK:STDOUT: %Self => constants.%Self.34f +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.d27 +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.87f +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.748 +// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.6aa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Generic.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%GenericParam -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.464 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 // CHECK:STDOUT: %Self => constants.%Generic.facet -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.edf -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.6cc -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.1e8 -// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.1ee +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.52a +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.a3a +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.748 +// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.6aa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%GenericParam, constants.%Generic.facet) {} @@ -674,18 +674,18 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: specific @CallGenericMethod(constants.%T, constants.%U) { // CHECK:STDOUT: %T.loc15_23.1 => constants.%T -// CHECK:STDOUT: %Generic.type.loc15_52.1 => constants.%Generic.type.d101db.2 +// CHECK:STDOUT: %Generic.type.loc15_52.1 => constants.%Generic.type.79a857.2 // CHECK:STDOUT: %U.loc15_40.1 => constants.%U -// CHECK:STDOUT: %pattern_type.loc15_40 => constants.%pattern_type.a62 +// CHECK:STDOUT: %pattern_type.loc15_40 => constants.%pattern_type.31c // CHECK:STDOUT: %pattern_type.loc15_63 => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) { // CHECK:STDOUT: %T.loc15_23.1 => constants.%GenericParam -// CHECK:STDOUT: %Generic.type.loc15_52.1 => constants.%Generic.type.464 +// CHECK:STDOUT: %Generic.type.loc15_52.1 => constants.%Generic.type.fa5 // CHECK:STDOUT: %U.loc15_40.1 => constants.%Generic.facet -// CHECK:STDOUT: %pattern_type.loc15_40 => constants.%pattern_type.bd1 -// CHECK:STDOUT: %pattern_type.loc15_63 => constants.%pattern_type.c60 +// CHECK:STDOUT: %pattern_type.loc15_40 => constants.%pattern_type.9cd +// CHECK:STDOUT: %pattern_type.loc15_63 => constants.%pattern_type.97f // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type diff --git a/toolchain/check/testdata/facet/convert_class_value_to_facet_value_value.carbon b/toolchain/check/testdata/facet/convert_class_value_to_facet_value_value.carbon index 5846a9a09917..bc7501f2adb3 100644 --- a/toolchain/check/testdata/facet/convert_class_value_to_facet_value_value.carbon +++ b/toolchain/check/testdata/facet/convert_class_value_to_facet_value_value.carbon @@ -27,13 +27,13 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Animal.type: type = facet_type <@Animal> [concrete] -// CHECK:STDOUT: %Self.d73: %Animal.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.1ff: %Animal.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.69f: type = pattern_type %Animal.type [concrete] +// CHECK:STDOUT: %pattern_type.5a8: type = pattern_type %Animal.type [concrete] // CHECK:STDOUT: %T: %Animal.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.106: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.94e: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %WalkAnimal.type: type = fn_type @WalkAnimal [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %WalkAnimal: %WalkAnimal.type = struct_value () [concrete] @@ -47,13 +47,13 @@ fn F() { // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %Goat.val: %Goat = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.332: type = pattern_type %Goat [concrete] +// CHECK:STDOUT: %pattern_type.bea: type = pattern_type %Goat [concrete] // CHECK:STDOUT: %WalkAnimal.specific_fn: = specific_function %WalkAnimal, @WalkAnimal(%Animal.facet) [concrete] -// CHECK:STDOUT: %.385: ref %Goat = temporary invalid, %Goat.val [concrete] +// CHECK:STDOUT: %.e6d: ref %Goat = temporary invalid, %Goat.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc23_17.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.385, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc23_17.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e6d, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -76,9 +76,9 @@ fn F() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Animal.decl: type = interface_decl @Animal [concrete = constants.%Animal.type] {} {} // CHECK:STDOUT: %WalkAnimal.decl: %WalkAnimal.type = fn_decl @WalkAnimal [concrete = constants.%WalkAnimal] { -// CHECK:STDOUT: %T.patt: %pattern_type.69f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %a.param_patt: @WalkAnimal.%pattern_type (%pattern_type.106) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @WalkAnimal.%pattern_type (%pattern_type.106) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.5a8 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %a.param_patt: @WalkAnimal.%pattern_type (%pattern_type.94e) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @WalkAnimal.%pattern_type (%pattern_type.94e) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc17_19: type = splice_block %Animal.ref [concrete = constants.%Animal.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -102,7 +102,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { -// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d73] +// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.1ff] // CHECK:STDOUT: %Animal.WithSelf.decl = interface_with_self_decl @Animal [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -132,7 +132,7 @@ fn F() { // CHECK:STDOUT: generic fn @WalkAnimal(%T.loc17_16.2: %Animal.type) { // CHECK:STDOUT: %T.loc17_16.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc17_16.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc17_37.1: type = facet_access_type %T.loc17_16.1 [symbolic = %T.as_type.loc17_37.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc17_37.1 [symbolic = %pattern_type (constants.%pattern_type.106)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc17_37.1 [symbolic = %pattern_type (constants.%pattern_type.94e)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc17_37.1 [symbolic = %require_complete (constants.%require_complete)] @@ -154,10 +154,10 @@ fn F() { // CHECK:STDOUT: %Animal.facet: %Animal.type = facet_value constants.%Goat, (constants.%Animal.impl_witness) [concrete = constants.%Animal.facet] // CHECK:STDOUT: %.loc23_24: %Animal.type = converted constants.%Goat, %Animal.facet [concrete = constants.%Animal.facet] // CHECK:STDOUT: %WalkAnimal.specific_fn: = specific_function %WalkAnimal.ref, @WalkAnimal(constants.%Animal.facet) [concrete = constants.%WalkAnimal.specific_fn] -// CHECK:STDOUT: %.loc23_17.2: ref %Goat = temporary %.loc23_15.2, %.loc23_17.1 [concrete = constants.%.385] +// CHECK:STDOUT: %.loc23_17.2: ref %Goat = temporary %.loc23_15.2, %.loc23_17.1 [concrete = constants.%.e6d] // CHECK:STDOUT: %.loc23_17.3: %Goat = acquire_value %.loc23_17.2 [concrete = constants.%Goat.val] // CHECK:STDOUT: %WalkAnimal.call: init %empty_tuple.type = call %WalkAnimal.specific_fn(%.loc23_17.3) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.385) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e6d) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -168,14 +168,14 @@ fn F() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.d73) { +// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.1ff) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @WalkAnimal(constants.%T) { // CHECK:STDOUT: %T.loc17_16.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc17_37.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.106 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.94e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Animal.WithSelf(constants.%Animal.facet) { @@ -185,7 +185,7 @@ fn F() { // CHECK:STDOUT: specific @WalkAnimal(constants.%Animal.facet) { // CHECK:STDOUT: %T.loc17_16.1 => constants.%Animal.facet // CHECK:STDOUT: %T.as_type.loc17_37.1 => constants.%Goat -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.332 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bea // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type diff --git a/toolchain/check/testdata/facet/convert_class_value_to_generic_facet_value_value.carbon b/toolchain/check/testdata/facet/convert_class_value_to_generic_facet_value_value.carbon index 9218e42dc8bd..b6d86b72bf72 100644 --- a/toolchain/check/testdata/facet/convert_class_value_to_generic_facet_value_value.carbon +++ b/toolchain/check/testdata/facet/convert_class_value_to_generic_facet_value_value.carbon @@ -101,74 +101,74 @@ fn B() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %Scalar: type = symbolic_binding Scalar, 0 [symbolic] -// CHECK:STDOUT: %Generic.type.0f3: type = generic_interface_type @Generic [concrete] +// CHECK:STDOUT: %Generic.type.df8: type = generic_interface_type @Generic [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Generic.generic: %Generic.type.0f3 = struct_value () [concrete] -// CHECK:STDOUT: %Generic.type.d21038.1: type = facet_type <@Generic, @Generic(%Scalar)> [symbolic] -// CHECK:STDOUT: %Self.9d9a7f.1: %Generic.type.d21038.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.dab4f3.1: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%Scalar, %Self.9d9a7f.1) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.90ccc3.1: %Generic.WithSelf.F.type.dab4f3.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.5b7ab2.1: type = assoc_entity_type @Generic, @Generic(%Scalar) [symbolic] -// CHECK:STDOUT: %assoc0.d57cd0.1: %Generic.assoc_type.5b7ab2.1 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %Generic.generic: %Generic.type.df8 = struct_value () [concrete] +// CHECK:STDOUT: %Generic.type.79a857.1: type = facet_type <@Generic, @Generic(%Scalar)> [symbolic] +// CHECK:STDOUT: %Self.34f480.1: %Generic.type.79a857.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.882349.1: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%Scalar, %Self.34f480.1) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.6a7088.1: %Generic.WithSelf.F.type.882349.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.bf879e.1: type = assoc_entity_type @Generic, @Generic(%Scalar) [symbolic] +// CHECK:STDOUT: %assoc0.0c6b77.1: %Generic.assoc_type.bf879e.1 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %GenericParam: type = class_type @GenericParam [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %ImplsGeneric: type = class_type @ImplsGeneric [concrete] -// CHECK:STDOUT: %Generic.type.f3e: type = facet_type <@Generic, @Generic(%GenericParam)> [concrete] +// CHECK:STDOUT: %Generic.type.fa5: type = facet_type <@Generic, @Generic(%GenericParam)> [concrete] // CHECK:STDOUT: %Generic.impl_witness: = impl_witness @ImplsGeneric.as.Generic.impl.%Generic.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.0b4: %Generic.type.f3e = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.f2c: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Self.9d9a7f.1) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.a57: %Generic.WithSelf.F.type.f2c = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.0e3: type = assoc_entity_type @Generic, @Generic(%GenericParam) [concrete] -// CHECK:STDOUT: %assoc0.ab9: %Generic.assoc_type.0e3 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %Self.e96: %Generic.type.fa5 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.d27: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Self.34f480.1) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.87f: %Generic.WithSelf.F.type.d27 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.748: type = assoc_entity_type @Generic, @Generic(%GenericParam) [concrete] +// CHECK:STDOUT: %assoc0.6aa: %Generic.assoc_type.748 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [concrete] // CHECK:STDOUT: %ImplsGeneric.as.Generic.impl.F.type: type = fn_type @ImplsGeneric.as.Generic.impl.F [concrete] // CHECK:STDOUT: %ImplsGeneric.as.Generic.impl.F: %ImplsGeneric.as.Generic.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %Generic.facet: %Generic.type.f3e = facet_value %ImplsGeneric, (%Generic.impl_witness) [concrete] -// CHECK:STDOUT: %Generic.WithSelf.F.type.ac6: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Generic.facet) [concrete] -// CHECK:STDOUT: %Generic.WithSelf.F.91b: %Generic.WithSelf.F.type.ac6 = struct_value () [concrete] +// CHECK:STDOUT: %Generic.facet: %Generic.type.fa5 = facet_value %ImplsGeneric, (%Generic.impl_witness) [concrete] +// CHECK:STDOUT: %Generic.WithSelf.F.type.52a: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Generic.facet) [concrete] +// CHECK:STDOUT: %Generic.WithSelf.F.a3a: %Generic.WithSelf.F.type.52a = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Generic.type.d21038.2: type = facet_type <@Generic, @Generic(%T)> [symbolic] -// CHECK:STDOUT: %pattern_type.453: type = pattern_type %Generic.type.d21038.2 [symbolic] -// CHECK:STDOUT: %U: %Generic.type.d21038.2 = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %Self.9d9a7f.2: %Generic.type.d21038.2 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.dab4f3.2: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T, %Self.9d9a7f.1) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.90ccc3.2: %Generic.WithSelf.F.type.dab4f3.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.5b7ab2.2: type = assoc_entity_type @Generic, @Generic(%T) [symbolic] -// CHECK:STDOUT: %assoc0.d57cd0.2: %Generic.assoc_type.5b7ab2.2 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %Generic.type.79a857.2: type = facet_type <@Generic, @Generic(%T)> [symbolic] +// CHECK:STDOUT: %pattern_type.31c: type = pattern_type %Generic.type.79a857.2 [symbolic] +// CHECK:STDOUT: %U: %Generic.type.79a857.2 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %Self.34f480.2: %Generic.type.79a857.2 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.882349.2: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T, %Self.34f480.1) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.6a7088.2: %Generic.WithSelf.F.type.882349.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.bf879e.2: type = assoc_entity_type @Generic, @Generic(%T) [symbolic] +// CHECK:STDOUT: %assoc0.0c6b77.2: %Generic.assoc_type.bf879e.2 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %pattern_type.b8a: type = pattern_type %U.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.941: type = pattern_type %U.as_type [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] // CHECK:STDOUT: %CallGenericMethod.type: type = fn_type @CallGenericMethod [concrete] // CHECK:STDOUT: %CallGenericMethod: %CallGenericMethod.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.90a: = require_complete_type %U.as_type [symbolic] +// CHECK:STDOUT: %require_complete.80d: = require_complete_type %U.as_type [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %require_complete.bb5: = require_complete_type %Generic.type.d21038.2 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.49d: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T, %U) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.957: %Generic.WithSelf.F.type.49d = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete.826: = require_complete_type %Generic.type.79a857.2 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.9e2: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T, %U) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.9ed: %Generic.WithSelf.F.type.9e2 = struct_value () [symbolic] // CHECK:STDOUT: %Generic.lookup_impl_witness: = lookup_impl_witness %U, @Generic, @Generic(%T) [symbolic] -// CHECK:STDOUT: %.f2d: type = fn_type_with_self_type %Generic.WithSelf.F.type.49d, %U [symbolic] -// CHECK:STDOUT: %impl.elem0: %.f2d = impl_witness_access %Generic.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %.762: type = fn_type_with_self_type %Generic.WithSelf.F.type.9e2, %U [symbolic] +// CHECK:STDOUT: %impl.elem0: %.762 = impl_witness_access %Generic.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Generic.WithSelf.F(%T, %U) [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %ImplsGeneric.val: %ImplsGeneric = struct_value () [concrete] // CHECK:STDOUT: %GenericParam.val: %GenericParam = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.fa3: type = pattern_type %Generic.type.f3e [concrete] -// CHECK:STDOUT: %pattern_type.3c0: type = pattern_type %ImplsGeneric [concrete] -// CHECK:STDOUT: %pattern_type.0a5: type = pattern_type %GenericParam [concrete] +// CHECK:STDOUT: %pattern_type.9cd: type = pattern_type %Generic.type.fa5 [concrete] +// CHECK:STDOUT: %pattern_type.3b7: type = pattern_type %ImplsGeneric [concrete] +// CHECK:STDOUT: %pattern_type.97f: type = pattern_type %GenericParam [concrete] // CHECK:STDOUT: %CallGenericMethod.specific_fn: = specific_function %CallGenericMethod, @CallGenericMethod(%GenericParam, %Generic.facet) [concrete] -// CHECK:STDOUT: %.20a: ref %ImplsGeneric = temporary invalid, %ImplsGeneric.val [concrete] -// CHECK:STDOUT: %.c4c: ref %GenericParam = temporary invalid, %GenericParam.val [concrete] +// CHECK:STDOUT: %.f63: ref %ImplsGeneric = temporary invalid, %ImplsGeneric.val [concrete] +// CHECK:STDOUT: %.c27: ref %GenericParam = temporary invalid, %GenericParam.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc20_44.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.c68: = bound_method %.c4c, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc20_24 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.c80: = bound_method %.20a, %Destroy.Op.1dc86d.3 [concrete] -// CHECK:STDOUT: %complete_type.058: = complete_type_witness %Generic.type.f3e [concrete] -// CHECK:STDOUT: %.cfd: type = fn_type_with_self_type %Generic.WithSelf.F.type.ac6, %Generic.facet [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc20_44.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.0b6: = bound_method %.c27, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc20_24 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.52c: = bound_method %.f63, %Destroy.Op.2dd605.3 [concrete] +// CHECK:STDOUT: %complete_type.c0e: = complete_type_witness %Generic.type.fa5 [concrete] +// CHECK:STDOUT: %.c5f: type = fn_type_with_self_type %Generic.WithSelf.F.type.52a, %Generic.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -190,7 +190,7 @@ fn B() { // CHECK:STDOUT: .G = %G.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Generic.decl: %Generic.type.0f3 = interface_decl @Generic [concrete = constants.%Generic.generic] { +// CHECK:STDOUT: %Generic.decl: %Generic.type.df8 = interface_decl @Generic [concrete = constants.%Generic.generic] { // CHECK:STDOUT: %Scalar.patt: %pattern_type.98f = symbolic_binding_pattern Scalar, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_28.1: type = splice_block %.loc4_28.2 [concrete = type] { @@ -203,15 +203,15 @@ fn B() { // CHECK:STDOUT: %ImplsGeneric.decl: type = class_decl @ImplsGeneric [concrete = constants.%ImplsGeneric] {} {} // CHECK:STDOUT: impl_decl @ImplsGeneric.as.Generic.impl [concrete] {} { // CHECK:STDOUT: %ImplsGeneric.ref: type = name_ref ImplsGeneric, file.%ImplsGeneric.decl [concrete = constants.%ImplsGeneric] -// CHECK:STDOUT: %Generic.ref: %Generic.type.0f3 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %GenericParam.ref: type = name_ref GenericParam, file.%GenericParam.decl [concrete = constants.%GenericParam] -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%GenericParam)> [concrete = constants.%Generic.type.f3e] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%GenericParam)> [concrete = constants.%Generic.type.fa5] // CHECK:STDOUT: } // CHECK:STDOUT: %CallGenericMethod.decl: %CallGenericMethod.type = fn_decl @CallGenericMethod [concrete = constants.%CallGenericMethod] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %U.patt: @CallGenericMethod.%pattern_type.loc15_33 (%pattern_type.453) = symbolic_binding_pattern U, 1 [concrete] -// CHECK:STDOUT: %a.param_patt: @CallGenericMethod.%pattern_type.loc15_56 (%pattern_type.b8a) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @CallGenericMethod.%pattern_type.loc15_56 (%pattern_type.b8a) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %U.patt: @CallGenericMethod.%pattern_type.loc15_33 (%pattern_type.31c) = symbolic_binding_pattern U, 1 [concrete] +// CHECK:STDOUT: %a.param_patt: @CallGenericMethod.%pattern_type.loc15_56 (%pattern_type.941) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @CallGenericMethod.%pattern_type.loc15_56 (%pattern_type.941) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: %s.param_patt: @CallGenericMethod.%pattern_type.loc15_69 (%pattern_type.51d) = value_param_pattern [concrete] // CHECK:STDOUT: %s.patt: @CallGenericMethod.%pattern_type.loc15_69 (%pattern_type.51d) = at_binding_pattern s, %s.param_patt [concrete] // CHECK:STDOUT: } { @@ -220,16 +220,16 @@ fn B() { // CHECK:STDOUT: %.loc15_26.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc15_23.2: type = symbolic_binding T, 0 [symbolic = %T.loc15_23.1 (constants.%T)] -// CHECK:STDOUT: %.loc15_45: type = splice_block %Generic.type.loc15_45.2 [symbolic = %Generic.type.loc15_45.1 (constants.%Generic.type.d21038.2)] { +// CHECK:STDOUT: %.loc15_45: type = splice_block %Generic.type.loc15_45.2 [symbolic = %Generic.type.loc15_45.1 (constants.%Generic.type.79a857.2)] { // CHECK:STDOUT: %.Self.loc15_33: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Generic.ref: %Generic.type.0f3 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %T.ref.loc15_44: type = name_ref T, %T.loc15_23.2 [symbolic = %T.loc15_23.1 (constants.%T)] -// CHECK:STDOUT: %Generic.type.loc15_45.2: type = facet_type <@Generic, @Generic(constants.%T)> [symbolic = %Generic.type.loc15_45.1 (constants.%Generic.type.d21038.2)] +// CHECK:STDOUT: %Generic.type.loc15_45.2: type = facet_type <@Generic, @Generic(constants.%T)> [symbolic = %Generic.type.loc15_45.1 (constants.%Generic.type.79a857.2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc15_33.2: @CallGenericMethod.%Generic.type.loc15_45.1 (%Generic.type.d21038.2) = symbolic_binding U, 1 [symbolic = %U.loc15_33.1 (constants.%U)] +// CHECK:STDOUT: %U.loc15_33.2: @CallGenericMethod.%Generic.type.loc15_45.1 (%Generic.type.79a857.2) = symbolic_binding U, 1 [symbolic = %U.loc15_33.1 (constants.%U)] // CHECK:STDOUT: %a.param: @CallGenericMethod.%U.as_type.loc15_58.1 (%U.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc15_58.1: type = splice_block %.loc15_58.2 [symbolic = %U.as_type.loc15_58.1 (constants.%U.as_type)] { -// CHECK:STDOUT: %U.ref.loc15: @CallGenericMethod.%Generic.type.loc15_45.1 (%Generic.type.d21038.2) = name_ref U, %U.loc15_33.2 [symbolic = %U.loc15_33.1 (constants.%U)] +// CHECK:STDOUT: %U.ref.loc15: @CallGenericMethod.%Generic.type.loc15_45.1 (%Generic.type.79a857.2) = name_ref U, %U.loc15_33.2 [symbolic = %U.loc15_33.1 (constants.%U)] // CHECK:STDOUT: %U.as_type.loc15_58.2: type = facet_access_type %U.ref.loc15 [symbolic = %U.as_type.loc15_58.1 (constants.%U.as_type)] // CHECK:STDOUT: %.loc15_58.2: type = converted %U.ref.loc15, %U.as_type.loc15_58.2 [symbolic = %U.as_type.loc15_58.1 (constants.%U.as_type)] // CHECK:STDOUT: } @@ -245,16 +245,16 @@ fn B() { // CHECK:STDOUT: %Scalar.loc4_25.1: type = symbolic_binding Scalar, 0 [symbolic = %Scalar.loc4_25.1 (constants.%Scalar)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%Scalar.loc4_25.1)> [symbolic = %Generic.type (constants.%Generic.type.d21038.1)] -// CHECK:STDOUT: %Self.loc4_34.2: @Generic.%Generic.type (%Generic.type.d21038.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.9d9a7f.1)] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%Scalar.loc4_25.1)> [symbolic = %Generic.type (constants.%Generic.type.79a857.1)] +// CHECK:STDOUT: %Self.loc4_34.2: @Generic.%Generic.type (%Generic.type.79a857.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.34f480.1)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_34.1: @Generic.%Generic.type (%Generic.type.d21038.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.9d9a7f.1)] +// CHECK:STDOUT: %Self.loc4_34.1: @Generic.%Generic.type (%Generic.type.79a857.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.34f480.1)] // CHECK:STDOUT: %Generic.WithSelf.decl = interface_with_self_decl @Generic [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Generic.WithSelf.F.decl: @Generic.WithSelf.%Generic.WithSelf.F.type (%Generic.WithSelf.F.type.dab4f3.1) = fn_decl @Generic.WithSelf.F [symbolic = @Generic.WithSelf.%Generic.WithSelf.F (constants.%Generic.WithSelf.F.90ccc3.1)] {} {} -// CHECK:STDOUT: %assoc0.loc5_9.1: @Generic.WithSelf.%Generic.assoc_type (%Generic.assoc_type.5b7ab2.1) = assoc_entity element0, %Generic.WithSelf.F.decl [symbolic = %assoc0.loc5_9.2 (constants.%assoc0.d57cd0.1)] +// CHECK:STDOUT: %Generic.WithSelf.F.decl: @Generic.WithSelf.%Generic.WithSelf.F.type (%Generic.WithSelf.F.type.882349.1) = fn_decl @Generic.WithSelf.F [symbolic = @Generic.WithSelf.%Generic.WithSelf.F (constants.%Generic.WithSelf.F.6a7088.1)] {} {} +// CHECK:STDOUT: %assoc0.loc5_9.1: @Generic.WithSelf.%Generic.assoc_type (%Generic.assoc_type.bf879e.1) = assoc_entity element0, %Generic.WithSelf.F.decl [symbolic = %assoc0.loc5_9.2 (constants.%assoc0.0c6b77.1)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc4_34.1 @@ -292,7 +292,7 @@ fn B() { // CHECK:STDOUT: .Self = constants.%ImplsGeneric // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Generic.WithSelf.F(@Generic.%Scalar.loc4_25.2: type, @Generic.%Self.loc4_34.1: @Generic.%Generic.type (%Generic.type.d21038.1)) { +// CHECK:STDOUT: generic fn @Generic.WithSelf.F(@Generic.%Scalar.loc4_25.2: type, @Generic.%Self.loc4_34.1: @Generic.%Generic.type (%Generic.type.79a857.1)) { // CHECK:STDOUT: fn(); // CHECK:STDOUT: } // CHECK:STDOUT: @@ -301,35 +301,35 @@ fn B() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc15_23.2: type, %U.loc15_33.2: @CallGenericMethod.%Generic.type.loc15_45.1 (%Generic.type.d21038.2)) { +// CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc15_23.2: type, %U.loc15_33.2: @CallGenericMethod.%Generic.type.loc15_45.1 (%Generic.type.79a857.2)) { // CHECK:STDOUT: %T.loc15_23.1: type = symbolic_binding T, 0 [symbolic = %T.loc15_23.1 (constants.%T)] -// CHECK:STDOUT: %Generic.type.loc15_45.1: type = facet_type <@Generic, @Generic(%T.loc15_23.1)> [symbolic = %Generic.type.loc15_45.1 (constants.%Generic.type.d21038.2)] -// CHECK:STDOUT: %U.loc15_33.1: @CallGenericMethod.%Generic.type.loc15_45.1 (%Generic.type.d21038.2) = symbolic_binding U, 1 [symbolic = %U.loc15_33.1 (constants.%U)] -// CHECK:STDOUT: %pattern_type.loc15_33: type = pattern_type %Generic.type.loc15_45.1 [symbolic = %pattern_type.loc15_33 (constants.%pattern_type.453)] +// CHECK:STDOUT: %Generic.type.loc15_45.1: type = facet_type <@Generic, @Generic(%T.loc15_23.1)> [symbolic = %Generic.type.loc15_45.1 (constants.%Generic.type.79a857.2)] +// CHECK:STDOUT: %U.loc15_33.1: @CallGenericMethod.%Generic.type.loc15_45.1 (%Generic.type.79a857.2) = symbolic_binding U, 1 [symbolic = %U.loc15_33.1 (constants.%U)] +// CHECK:STDOUT: %pattern_type.loc15_33: type = pattern_type %Generic.type.loc15_45.1 [symbolic = %pattern_type.loc15_33 (constants.%pattern_type.31c)] // CHECK:STDOUT: %U.as_type.loc15_58.1: type = facet_access_type %U.loc15_33.1 [symbolic = %U.as_type.loc15_58.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type.loc15_56: type = pattern_type %U.as_type.loc15_58.1 [symbolic = %pattern_type.loc15_56 (constants.%pattern_type.b8a)] +// CHECK:STDOUT: %pattern_type.loc15_56: type = pattern_type %U.as_type.loc15_58.1 [symbolic = %pattern_type.loc15_56 (constants.%pattern_type.941)] // CHECK:STDOUT: %pattern_type.loc15_69: type = pattern_type %T.loc15_23.1 [symbolic = %pattern_type.loc15_69 (constants.%pattern_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc15_56: = require_complete_type %U.as_type.loc15_58.1 [symbolic = %require_complete.loc15_56 (constants.%require_complete.90a)] +// CHECK:STDOUT: %require_complete.loc15_56: = require_complete_type %U.as_type.loc15_58.1 [symbolic = %require_complete.loc15_56 (constants.%require_complete.80d)] // CHECK:STDOUT: %require_complete.loc15_69: = require_complete_type %T.loc15_23.1 [symbolic = %require_complete.loc15_69 (constants.%require_complete.944)] -// CHECK:STDOUT: %require_complete.loc16: = require_complete_type %Generic.type.loc15_45.1 [symbolic = %require_complete.loc16 (constants.%require_complete.bb5)] -// CHECK:STDOUT: %Generic.assoc_type: type = assoc_entity_type @Generic, @Generic(%T.loc15_23.1) [symbolic = %Generic.assoc_type (constants.%Generic.assoc_type.5b7ab2.2)] -// CHECK:STDOUT: %assoc0: @CallGenericMethod.%Generic.assoc_type (%Generic.assoc_type.5b7ab2.2) = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic = %assoc0 (constants.%assoc0.d57cd0.2)] -// CHECK:STDOUT: %Generic.WithSelf.F.type: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T.loc15_23.1, %U.loc15_33.1) [symbolic = %Generic.WithSelf.F.type (constants.%Generic.WithSelf.F.type.49d)] -// CHECK:STDOUT: %.loc16_4.3: type = fn_type_with_self_type %Generic.WithSelf.F.type, %U.loc15_33.1 [symbolic = %.loc16_4.3 (constants.%.f2d)] +// CHECK:STDOUT: %require_complete.loc16: = require_complete_type %Generic.type.loc15_45.1 [symbolic = %require_complete.loc16 (constants.%require_complete.826)] +// CHECK:STDOUT: %Generic.assoc_type: type = assoc_entity_type @Generic, @Generic(%T.loc15_23.1) [symbolic = %Generic.assoc_type (constants.%Generic.assoc_type.bf879e.2)] +// CHECK:STDOUT: %assoc0: @CallGenericMethod.%Generic.assoc_type (%Generic.assoc_type.bf879e.2) = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic = %assoc0 (constants.%assoc0.0c6b77.2)] +// CHECK:STDOUT: %Generic.WithSelf.F.type: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T.loc15_23.1, %U.loc15_33.1) [symbolic = %Generic.WithSelf.F.type (constants.%Generic.WithSelf.F.type.9e2)] +// CHECK:STDOUT: %.loc16_4.3: type = fn_type_with_self_type %Generic.WithSelf.F.type, %U.loc15_33.1 [symbolic = %.loc16_4.3 (constants.%.762)] // CHECK:STDOUT: %Generic.lookup_impl_witness: = lookup_impl_witness %U.loc15_33.1, @Generic, @Generic(%T.loc15_23.1) [symbolic = %Generic.lookup_impl_witness (constants.%Generic.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc16_4.2: @CallGenericMethod.%.loc16_4.3 (%.f2d) = impl_witness_access %Generic.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc16_4.2: @CallGenericMethod.%.loc16_4.3 (%.762) = impl_witness_access %Generic.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc16_4.2: = specific_impl_function %impl.elem0.loc16_4.2, @Generic.WithSelf.F(%T.loc15_23.1, %U.loc15_33.1) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%a.param: @CallGenericMethod.%U.as_type.loc15_58.1 (%U.as_type), %s.param: @CallGenericMethod.%T.loc15_23.1 (%T)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %U.ref.loc16: @CallGenericMethod.%Generic.type.loc15_45.1 (%Generic.type.d21038.2) = name_ref U, %U.loc15_33.2 [symbolic = %U.loc15_33.1 (constants.%U)] +// CHECK:STDOUT: %U.ref.loc16: @CallGenericMethod.%Generic.type.loc15_45.1 (%Generic.type.79a857.2) = name_ref U, %U.loc15_33.2 [symbolic = %U.loc15_33.1 (constants.%U)] // CHECK:STDOUT: %U.as_type.loc16: type = facet_access_type %U.ref.loc16 [symbolic = %U.as_type.loc15_58.1 (constants.%U.as_type)] // CHECK:STDOUT: %.loc16_4.1: type = converted %U.ref.loc16, %U.as_type.loc16 [symbolic = %U.as_type.loc15_58.1 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc16_4.2: @CallGenericMethod.%Generic.assoc_type (%Generic.assoc_type.5b7ab2.2) = specific_constant @Generic.WithSelf.%assoc0.loc5_9.1, @Generic.WithSelf(constants.%T, constants.%U) [symbolic = %assoc0 (constants.%assoc0.d57cd0.2)] -// CHECK:STDOUT: %F.ref: @CallGenericMethod.%Generic.assoc_type (%Generic.assoc_type.5b7ab2.2) = name_ref F, %.loc16_4.2 [symbolic = %assoc0 (constants.%assoc0.d57cd0.2)] -// CHECK:STDOUT: %impl.elem0.loc16_4.1: @CallGenericMethod.%.loc16_4.3 (%.f2d) = impl_witness_access constants.%Generic.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %.loc16_4.2: @CallGenericMethod.%Generic.assoc_type (%Generic.assoc_type.bf879e.2) = specific_constant @Generic.WithSelf.%assoc0.loc5_9.1, @Generic.WithSelf(constants.%T, constants.%U) [symbolic = %assoc0 (constants.%assoc0.0c6b77.2)] +// CHECK:STDOUT: %F.ref: @CallGenericMethod.%Generic.assoc_type (%Generic.assoc_type.bf879e.2) = name_ref F, %.loc16_4.2 [symbolic = %assoc0 (constants.%assoc0.0c6b77.2)] +// CHECK:STDOUT: %impl.elem0.loc16_4.1: @CallGenericMethod.%.loc16_4.3 (%.762) = impl_witness_access constants.%Generic.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc16_4.1: = specific_impl_function %impl.elem0.loc16_4.1, @Generic.WithSelf.F(constants.%T, constants.%U) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Generic.WithSelf.F.call: init %empty_tuple.type = call %specific_impl_fn.loc16_4.1() // CHECK:STDOUT: return @@ -349,16 +349,16 @@ fn B() { // CHECK:STDOUT: %.loc20_42.2: ref %GenericParam = temporary_storage // CHECK:STDOUT: %.loc20_42.3: init %GenericParam to %.loc20_42.2 = class_init () [concrete = constants.%GenericParam.val] // CHECK:STDOUT: %.loc20_44.1: init %GenericParam = converted %.loc20_42.1, %.loc20_42.3 [concrete = constants.%GenericParam.val] -// CHECK:STDOUT: %Generic.facet: %Generic.type.f3e = facet_value constants.%ImplsGeneric, (constants.%Generic.impl_witness) [concrete = constants.%Generic.facet] -// CHECK:STDOUT: %.loc20_59: %Generic.type.f3e = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet] +// CHECK:STDOUT: %Generic.facet: %Generic.type.fa5 = facet_value constants.%ImplsGeneric, (constants.%Generic.impl_witness) [concrete = constants.%Generic.facet] +// CHECK:STDOUT: %.loc20_59: %Generic.type.fa5 = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet] // CHECK:STDOUT: %CallGenericMethod.specific_fn: = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) [concrete = constants.%CallGenericMethod.specific_fn] -// CHECK:STDOUT: %.loc20_24.2: ref %ImplsGeneric = temporary %.loc20_22.2, %.loc20_24.1 [concrete = constants.%.20a] +// CHECK:STDOUT: %.loc20_24.2: ref %ImplsGeneric = temporary %.loc20_22.2, %.loc20_24.1 [concrete = constants.%.f63] // CHECK:STDOUT: %.loc20_24.3: %ImplsGeneric = acquire_value %.loc20_24.2 [concrete = constants.%ImplsGeneric.val] -// CHECK:STDOUT: %.loc20_44.2: ref %GenericParam = temporary %.loc20_42.2, %.loc20_44.1 [concrete = constants.%.c4c] +// CHECK:STDOUT: %.loc20_44.2: ref %GenericParam = temporary %.loc20_42.2, %.loc20_44.1 [concrete = constants.%.c27] // CHECK:STDOUT: %.loc20_44.3: %GenericParam = acquire_value %.loc20_44.2 [concrete = constants.%GenericParam.val] // CHECK:STDOUT: %CallGenericMethod.call: init %empty_tuple.type = call %CallGenericMethod.specific_fn(%.loc20_24.3, %.loc20_44.3) -// CHECK:STDOUT: %Destroy.Op.call.loc20_44: init %empty_tuple.type = call constants.%Destroy.Op.bound.c68(constants.%.c4c) -// CHECK:STDOUT: %Destroy.Op.call.loc20_24: init %empty_tuple.type = call constants.%Destroy.Op.bound.c80(constants.%.20a) +// CHECK:STDOUT: %Destroy.Op.call.loc20_44: init %empty_tuple.type = call constants.%Destroy.Op.bound.0b6(constants.%.c27) +// CHECK:STDOUT: %Destroy.Op.call.loc20_24: init %empty_tuple.type = call constants.%Destroy.Op.bound.52c(constants.%.f63) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -378,38 +378,38 @@ fn B() { // CHECK:STDOUT: %Scalar.loc4_25.1 => constants.%Scalar // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%Scalar, constants.%Self.9d9a7f.1) {} +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%Scalar, constants.%Self.34f480.1) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%Scalar, constants.%Self.9d9a7f.1) {} +// CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%Scalar, constants.%Self.34f480.1) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%GenericParam) { // CHECK:STDOUT: %Scalar.loc4_25.1 => constants.%GenericParam // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.f3e -// CHECK:STDOUT: %Self.loc4_34.2 => constants.%Self.0b4 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 +// CHECK:STDOUT: %Self.loc4_34.2 => constants.%Self.e96 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Self.9d9a7f.1) { +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Self.34f480.1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%GenericParam -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.f3e -// CHECK:STDOUT: %Self => constants.%Self.9d9a7f.1 -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.f2c -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.a57 -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.0e3 -// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.ab9 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 +// CHECK:STDOUT: %Self => constants.%Self.34f480.1 +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.d27 +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.87f +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.748 +// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.6aa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Generic.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%GenericParam -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.f3e +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 // CHECK:STDOUT: %Self => constants.%Generic.facet -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.ac6 -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.91b -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.0e3 -// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.ab9 +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.52a +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.a3a +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.748 +// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.6aa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%GenericParam, constants.%Generic.facet) {} @@ -418,61 +418,61 @@ fn B() { // CHECK:STDOUT: %Scalar.loc4_25.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.d21038.2 -// CHECK:STDOUT: %Self.loc4_34.2 => constants.%Self.9d9a7f.2 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.79a857.2 +// CHECK:STDOUT: %Self.loc4_34.2 => constants.%Self.34f480.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%T, constants.%Self.9d9a7f.1) { +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%T, constants.%Self.34f480.1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%T -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.d21038.2 -// CHECK:STDOUT: %Self => constants.%Self.9d9a7f.1 -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.dab4f3.2 -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.90ccc3.2 -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.5b7ab2.2 -// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.d57cd0.2 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.79a857.2 +// CHECK:STDOUT: %Self => constants.%Self.34f480.1 +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.882349.2 +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.6a7088.2 +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.bf879e.2 +// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.0c6b77.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CallGenericMethod(constants.%T, constants.%U) { // CHECK:STDOUT: %T.loc15_23.1 => constants.%T -// CHECK:STDOUT: %Generic.type.loc15_45.1 => constants.%Generic.type.d21038.2 +// CHECK:STDOUT: %Generic.type.loc15_45.1 => constants.%Generic.type.79a857.2 // CHECK:STDOUT: %U.loc15_33.1 => constants.%U -// CHECK:STDOUT: %pattern_type.loc15_33 => constants.%pattern_type.453 +// CHECK:STDOUT: %pattern_type.loc15_33 => constants.%pattern_type.31c // CHECK:STDOUT: %U.as_type.loc15_58.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type.loc15_56 => constants.%pattern_type.b8a +// CHECK:STDOUT: %pattern_type.loc15_56 => constants.%pattern_type.941 // CHECK:STDOUT: %pattern_type.loc15_69 => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf(constants.%T, constants.%U) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%T -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.d21038.2 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.79a857.2 // CHECK:STDOUT: %Self => constants.%U -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.49d -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.957 -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.5b7ab2.2 -// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.d57cd0.2 +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.9e2 +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.9ed +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.bf879e.2 +// CHECK:STDOUT: %assoc0.loc5_9.2 => constants.%assoc0.0c6b77.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%T, constants.%U) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) { // CHECK:STDOUT: %T.loc15_23.1 => constants.%GenericParam -// CHECK:STDOUT: %Generic.type.loc15_45.1 => constants.%Generic.type.f3e +// CHECK:STDOUT: %Generic.type.loc15_45.1 => constants.%Generic.type.fa5 // CHECK:STDOUT: %U.loc15_33.1 => constants.%Generic.facet -// CHECK:STDOUT: %pattern_type.loc15_33 => constants.%pattern_type.fa3 +// CHECK:STDOUT: %pattern_type.loc15_33 => constants.%pattern_type.9cd // CHECK:STDOUT: %U.as_type.loc15_58.1 => constants.%ImplsGeneric -// CHECK:STDOUT: %pattern_type.loc15_56 => constants.%pattern_type.3c0 -// CHECK:STDOUT: %pattern_type.loc15_69 => constants.%pattern_type.0a5 +// CHECK:STDOUT: %pattern_type.loc15_56 => constants.%pattern_type.3b7 +// CHECK:STDOUT: %pattern_type.loc15_69 => constants.%pattern_type.97f // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc15_56 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc15_69 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc16 => constants.%complete_type.058 -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.0e3 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.ab9 -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.ac6 -// CHECK:STDOUT: %.loc16_4.3 => constants.%.cfd +// CHECK:STDOUT: %require_complete.loc16 => constants.%complete_type.c0e +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.748 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.6aa +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.52a +// CHECK:STDOUT: %.loc16_4.3 => constants.%.c5f // CHECK:STDOUT: %Generic.lookup_impl_witness => constants.%Generic.impl_witness // CHECK:STDOUT: %impl.elem0.loc16_4.2 => constants.%ImplsGeneric.as.Generic.impl.F // CHECK:STDOUT: %specific_impl_fn.loc16_4.2 => constants.%ImplsGeneric.as.Generic.impl.F @@ -486,44 +486,44 @@ fn B() { // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %V: type = symbolic_binding V, 0 [symbolic] // CHECK:STDOUT: %W: type = symbolic_binding W, 1 [symbolic] -// CHECK:STDOUT: %I.type.edc: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %I.generic: %I.type.edc = struct_value () [concrete] -// CHECK:STDOUT: %I.type.503: type = facet_type <@I, @I(%V, %W)> [symbolic] -// CHECK:STDOUT: %Self.962: %I.type.503 = symbolic_binding Self, 2 [symbolic] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.7a7: type = facet_type <@I, @I(%V, %W)> [symbolic] +// CHECK:STDOUT: %Self.1f7: %I.type.7a7 = symbolic_binding Self, 2 [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %I.type.d91: type = facet_type <@I, @I(%T.67d, %empty_tuple.type)> [symbolic] -// CHECK:STDOUT: %I.impl_witness.def: = impl_witness @C.as.I.impl.%I.impl_witness_table, @C.as.I.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Self.29e: %I.type.d91 = symbolic_binding Self, 2 [symbolic] -// CHECK:STDOUT: %require_complete.9cf: = require_complete_type %I.type.d91 [symbolic] -// CHECK:STDOUT: %I.facet.baf: %I.type.d91 = facet_value %C, (%I.impl_witness.def) [symbolic] +// CHECK:STDOUT: %I.type.bf4: type = facet_type <@I, @I(%T.67d, %empty_tuple.type)> [symbolic] +// CHECK:STDOUT: %I.impl_witness.1f3: = impl_witness @C.as.I.impl.%I.impl_witness_table, @C.as.I.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Self.e96: %I.type.bf4 = symbolic_binding Self, 2 [symbolic] +// CHECK:STDOUT: %require_complete.f6c: = require_complete_type %I.type.bf4 [symbolic] +// CHECK:STDOUT: %I.facet.ccf: %I.type.bf4 = facet_value %C, (%I.impl_witness.1f3) [symbolic] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %I.type.24f: type = facet_type <@I, @I(%empty_struct_type, %empty_tuple.type)> [concrete] -// CHECK:STDOUT: %pattern_type.025: type = pattern_type %I.type.24f [concrete] -// CHECK:STDOUT: %T.01a: %I.type.24f = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Self.3ad: %I.type.24f = symbolic_binding Self, 2 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.01a [symbolic] -// CHECK:STDOUT: %pattern_type.aab: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %I.type.aaf: type = facet_type <@I, @I(%empty_struct_type, %empty_tuple.type)> [concrete] +// CHECK:STDOUT: %pattern_type.73d: type = pattern_type %I.type.aaf [concrete] +// CHECK:STDOUT: %T.696: %I.type.aaf = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Self.8c2: %I.type.aaf = symbolic_binding Self, 2 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.696 [symbolic] +// CHECK:STDOUT: %pattern_type.bb0: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.5bc: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %require_complete.ae1: = require_complete_type %T.as_type [symbolic] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %I.impl_witness.0f8: = impl_witness @C.as.I.impl.%I.impl_witness_table, @C.as.I.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %complete_type.7e3: = complete_type_witness %I.type.24f [concrete] -// CHECK:STDOUT: %I.facet.676: %I.type.24f = facet_value %C, (%I.impl_witness.0f8) [concrete] -// CHECK:STDOUT: %pattern_type.bf1: type = pattern_type %C [concrete] -// CHECK:STDOUT: %A.specific_fn: = specific_function %A, @A(%I.facet.676) [concrete] -// CHECK:STDOUT: %.d64: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %I.impl_witness.b5f: = impl_witness @C.as.I.impl.%I.impl_witness_table, @C.as.I.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %complete_type.889: = complete_type_witness %I.type.aaf [concrete] +// CHECK:STDOUT: %I.facet.aaf: %I.type.aaf = facet_value %C, (%I.impl_witness.b5f) [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] +// CHECK:STDOUT: %A.specific_fn: = specific_function %A, @A(%I.facet.aaf) [concrete] +// CHECK:STDOUT: %.7a6: ref %C = temporary invalid, %C.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc12_8.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.d64, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc12_8.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.7a6, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -544,7 +544,7 @@ fn B() { // CHECK:STDOUT: .B = %B.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %I.decl: %I.type.edc = interface_decl @I [concrete = constants.%I.generic] { +// CHECK:STDOUT: %I.decl: %I.type.48c = interface_decl @I [concrete = constants.%I.generic] { // CHECK:STDOUT: %V.patt: %pattern_type.98f = symbolic_binding_pattern V, 0 [concrete] // CHECK:STDOUT: %W.patt: %pattern_type.98f = symbolic_binding_pattern W, 1 [concrete] // CHECK:STDOUT: } { @@ -564,11 +564,11 @@ fn B() { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %I.ref: %I.type.edc = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc7_15.1 [symbolic = %T.loc7_15.2 (constants.%T.67d)] // CHECK:STDOUT: %.loc7_35: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_36: type = converted %.loc7_35, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %I.type.loc7_36.1: type = facet_type <@I, @I(constants.%T.67d, constants.%empty_tuple.type)> [symbolic = %I.type.loc7_36.2 (constants.%I.type.d91)] +// CHECK:STDOUT: %I.type.loc7_36.1: type = facet_type <@I, @I(constants.%T.67d, constants.%empty_tuple.type)> [symbolic = %I.type.loc7_36.2 (constants.%I.type.bf4)] // CHECK:STDOUT: %.loc7_18.1: type = splice_block %.loc7_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc7_18.2: type = type_literal type [concrete = type] @@ -576,23 +576,23 @@ fn B() { // CHECK:STDOUT: %T.loc7_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc7_15.2 (constants.%T.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] { -// CHECK:STDOUT: %T.patt: %pattern_type.025 = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %t.param_patt: @A.%pattern_type (%pattern_type.aab) = value_param_pattern [concrete] -// CHECK:STDOUT: %t.patt: @A.%pattern_type (%pattern_type.aab) = at_binding_pattern t, %t.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.73d = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %t.param_patt: @A.%pattern_type (%pattern_type.bb0) = value_param_pattern [concrete] +// CHECK:STDOUT: %t.patt: @A.%pattern_type (%pattern_type.bb0) = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc9_18.1: type = splice_block %I.type [concrete = constants.%I.type.24f] { +// CHECK:STDOUT: %.loc9_18.1: type = splice_block %I.type [concrete = constants.%I.type.aaf] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %I.ref: %I.type.edc = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %.loc9_13: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_17: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc9_18.2: type = converted %.loc9_13, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %.loc9_18.3: type = converted %.loc9_17, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%empty_struct_type, constants.%empty_tuple.type)> [concrete = constants.%I.type.24f] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%empty_struct_type, constants.%empty_tuple.type)> [concrete = constants.%I.type.aaf] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc9_7.2: %I.type.24f = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.01a)] +// CHECK:STDOUT: %T.loc9_7.2: %I.type.aaf = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.696)] // CHECK:STDOUT: %t.param: @A.%T.as_type.loc9_31.1 (%T.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc9_31.1: type = splice_block %.loc9_31.2 [symbolic = %T.as_type.loc9_31.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref: %I.type.24f = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.01a)] +// CHECK:STDOUT: %T.ref: %I.type.aaf = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.696)] // CHECK:STDOUT: %T.as_type.loc9_31.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc9_31.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc9_31.2: type = converted %T.ref, %T.as_type.loc9_31.2 [symbolic = %T.as_type.loc9_31.1 (constants.%T.as_type)] // CHECK:STDOUT: } @@ -606,11 +606,11 @@ fn B() { // CHECK:STDOUT: %W.loc3_24.1: type = symbolic_binding W, 1 [symbolic = %W.loc3_24.1 (constants.%W)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%V.loc3_14.1, %W.loc3_24.1)> [symbolic = %I.type (constants.%I.type.503)] -// CHECK:STDOUT: %Self.loc3_33.2: @I.%I.type (%I.type.503) = symbolic_binding Self, 2 [symbolic = %Self.loc3_33.2 (constants.%Self.962)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%V.loc3_14.1, %W.loc3_24.1)> [symbolic = %I.type (constants.%I.type.7a7)] +// CHECK:STDOUT: %Self.loc3_33.2: @I.%I.type (%I.type.7a7) = symbolic_binding Self, 2 [symbolic = %Self.loc3_33.2 (constants.%Self.1f7)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc3_33.1: @I.%I.type (%I.type.503) = symbolic_binding Self, 2 [symbolic = %Self.loc3_33.2 (constants.%Self.962)] +// CHECK:STDOUT: %Self.loc3_33.1: @I.%I.type (%I.type.7a7) = symbolic_binding Self, 2 [symbolic = %Self.loc3_33.2 (constants.%Self.1f7)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -623,15 +623,15 @@ fn B() { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(%T.loc7_15.1: type) { // CHECK:STDOUT: %T.loc7_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc7_15.2 (constants.%T.67d)] -// CHECK:STDOUT: %I.type.loc7_36.2: type = facet_type <@I, @I(%T.loc7_15.2, constants.%empty_tuple.type)> [symbolic = %I.type.loc7_36.2 (constants.%I.type.d91)] -// CHECK:STDOUT: %I.impl_witness.loc7_38.2: = impl_witness %I.impl_witness_table, @C.as.I.impl(%T.loc7_15.2) [symbolic = %I.impl_witness.loc7_38.2 (constants.%I.impl_witness.def)] +// CHECK:STDOUT: %I.type.loc7_36.2: type = facet_type <@I, @I(%T.loc7_15.2, constants.%empty_tuple.type)> [symbolic = %I.type.loc7_36.2 (constants.%I.type.bf4)] +// CHECK:STDOUT: %I.impl_witness.loc7_38.2: = impl_witness %I.impl_witness_table, @C.as.I.impl(%T.loc7_15.2) [symbolic = %I.impl_witness.loc7_38.2 (constants.%I.impl_witness.1f3)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc7_36.2 [symbolic = %require_complete (constants.%require_complete.9cf)] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc7_36.2 [symbolic = %require_complete (constants.%require_complete.f6c)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %C.ref as %I.type.loc7_36.1 { // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness.loc7_38.1: = impl_witness %I.impl_witness_table, @C.as.I.impl(constants.%T.67d) [symbolic = %I.impl_witness.loc7_38.2 (constants.%I.impl_witness.def)] +// CHECK:STDOUT: %I.impl_witness.loc7_38.1: = impl_witness %I.impl_witness_table, @C.as.I.impl(constants.%T.67d) [symbolic = %I.impl_witness.loc7_38.2 (constants.%I.impl_witness.1f3)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %I.type.loc7_36.1 @@ -647,13 +647,13 @@ fn B() { // CHECK:STDOUT: .Self = constants.%C // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @A(%T.loc9_7.2: %I.type.24f) { -// CHECK:STDOUT: %T.loc9_7.1: %I.type.24f = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.01a)] +// CHECK:STDOUT: generic fn @A(%T.loc9_7.2: %I.type.aaf) { +// CHECK:STDOUT: %T.loc9_7.1: %I.type.aaf = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.696)] // CHECK:STDOUT: %T.as_type.loc9_31.1: type = facet_access_type %T.loc9_7.1 [symbolic = %T.as_type.loc9_31.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc9_31.1 [symbolic = %pattern_type (constants.%pattern_type.aab)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc9_31.1 [symbolic = %pattern_type (constants.%pattern_type.bb0)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc9_31.1 [symbolic = %require_complete (constants.%require_complete.5bc)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc9_31.1 [symbolic = %require_complete (constants.%require_complete.ae1)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%t.param: @A.%T.as_type.loc9_31.1 (%T.as_type)) { // CHECK:STDOUT: !entry: @@ -669,13 +669,13 @@ fn B() { // CHECK:STDOUT: %.loc12_6.2: ref %C = temporary_storage // CHECK:STDOUT: %.loc12_6.3: init %C to %.loc12_6.2 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc12_8.1: init %C = converted %.loc12_6.1, %.loc12_6.3 [concrete = constants.%C.val] -// CHECK:STDOUT: %I.facet: %I.type.24f = facet_value constants.%C, (constants.%I.impl_witness.0f8) [concrete = constants.%I.facet.676] -// CHECK:STDOUT: %.loc12_12: %I.type.24f = converted constants.%C, %I.facet [concrete = constants.%I.facet.676] -// CHECK:STDOUT: %A.specific_fn: = specific_function %A.ref, @A(constants.%I.facet.676) [concrete = constants.%A.specific_fn] -// CHECK:STDOUT: %.loc12_8.2: ref %C = temporary %.loc12_6.2, %.loc12_8.1 [concrete = constants.%.d64] +// CHECK:STDOUT: %I.facet: %I.type.aaf = facet_value constants.%C, (constants.%I.impl_witness.b5f) [concrete = constants.%I.facet.aaf] +// CHECK:STDOUT: %.loc12_12: %I.type.aaf = converted constants.%C, %I.facet [concrete = constants.%I.facet.aaf] +// CHECK:STDOUT: %A.specific_fn: = specific_function %A.ref, @A(constants.%I.facet.aaf) [concrete = constants.%A.specific_fn] +// CHECK:STDOUT: %.loc12_8.2: ref %C = temporary %.loc12_6.2, %.loc12_8.1 [concrete = constants.%.7a6] // CHECK:STDOUT: %.loc12_8.3: %C = acquire_value %.loc12_8.2 [concrete = constants.%C.val] // CHECK:STDOUT: %A.call: init %empty_tuple.type = call %A.specific_fn(%.loc12_8.3) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.d64) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.7a6) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -691,28 +691,28 @@ fn B() { // CHECK:STDOUT: %W.loc3_24.1 => constants.%W // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%V, constants.%W, constants.%Self.962) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%V, constants.%W, constants.%Self.1f7) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%T.67d, constants.%empty_tuple.type) { // CHECK:STDOUT: %V.loc3_14.1 => constants.%T.67d // CHECK:STDOUT: %W.loc3_24.1 => constants.%empty_tuple.type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.d91 -// CHECK:STDOUT: %Self.loc3_33.2 => constants.%Self.29e +// CHECK:STDOUT: %I.type => constants.%I.type.bf4 +// CHECK:STDOUT: %Self.loc3_33.2 => constants.%Self.e96 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl(constants.%T.67d) { // CHECK:STDOUT: %T.loc7_15.2 => constants.%T.67d -// CHECK:STDOUT: %I.type.loc7_36.2 => constants.%I.type.d91 -// CHECK:STDOUT: %I.impl_witness.loc7_38.2 => constants.%I.impl_witness.def +// CHECK:STDOUT: %I.type.loc7_36.2 => constants.%I.type.bf4 +// CHECK:STDOUT: %I.impl_witness.loc7_38.2 => constants.%I.impl_witness.1f3 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T.67d, constants.%empty_tuple.type, constants.%Self.962) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T.67d, constants.%empty_tuple.type, constants.%Self.1f7) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T.67d, constants.%empty_tuple.type, constants.%I.facet.baf) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T.67d, constants.%empty_tuple.type, constants.%I.facet.ccf) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -721,33 +721,33 @@ fn B() { // CHECK:STDOUT: %W.loc3_24.1 => constants.%empty_tuple.type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.24f -// CHECK:STDOUT: %Self.loc3_33.2 => constants.%Self.3ad +// CHECK:STDOUT: %I.type => constants.%I.type.aaf +// CHECK:STDOUT: %Self.loc3_33.2 => constants.%Self.8c2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%empty_struct_type, constants.%empty_tuple.type, constants.%Self.962) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%empty_struct_type, constants.%empty_tuple.type, constants.%Self.1f7) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A(constants.%T.01a) { -// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.01a +// CHECK:STDOUT: specific @A(constants.%T.696) { +// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.696 // CHECK:STDOUT: %T.as_type.loc9_31.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.aab +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bb0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl(constants.%empty_struct_type) { // CHECK:STDOUT: %T.loc7_15.2 => constants.%empty_struct_type -// CHECK:STDOUT: %I.type.loc7_36.2 => constants.%I.type.24f -// CHECK:STDOUT: %I.impl_witness.loc7_38.2 => constants.%I.impl_witness.0f8 +// CHECK:STDOUT: %I.type.loc7_36.2 => constants.%I.type.aaf +// CHECK:STDOUT: %I.impl_witness.loc7_38.2 => constants.%I.impl_witness.b5f // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.7e3 +// CHECK:STDOUT: %require_complete => constants.%complete_type.889 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A(constants.%I.facet.676) { -// CHECK:STDOUT: %T.loc9_7.1 => constants.%I.facet.676 +// CHECK:STDOUT: specific @A(constants.%I.facet.aaf) { +// CHECK:STDOUT: %T.loc9_7.1 => constants.%I.facet.aaf // CHECK:STDOUT: %T.as_type.loc9_31.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bf1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.357 @@ -761,31 +761,31 @@ fn B() { // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %V: type = symbolic_binding V, 0 [symbolic] // CHECK:STDOUT: %W: type = symbolic_binding W, 1 [symbolic] -// CHECK:STDOUT: %I.type.2f5: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %I.generic: %I.type.2f5 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.001: type = facet_type <@I, @I(%V, %W)> [symbolic] -// CHECK:STDOUT: %Self.19e: %I.type.001 = symbolic_binding Self, 2 [symbolic] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.7a7: type = facet_type <@I, @I(%V, %W)> [symbolic] +// CHECK:STDOUT: %Self.1f7: %I.type.7a7 = symbolic_binding Self, 2 [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %I.type.3a2: type = facet_type <@I, @I(%T.67d, %empty_tuple.type)> [symbolic] +// CHECK:STDOUT: %I.type.bf4: type = facet_type <@I, @I(%T.67d, %empty_tuple.type)> [symbolic] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table, @C.as.I.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Self.444: %I.type.3a2 = symbolic_binding Self, 2 [symbolic] -// CHECK:STDOUT: %require_complete.567: = require_complete_type %I.type.3a2 [symbolic] -// CHECK:STDOUT: %I.facet: %I.type.3a2 = facet_value %C, (%I.impl_witness) [symbolic] +// CHECK:STDOUT: %Self.e96: %I.type.bf4 = symbolic_binding Self, 2 [symbolic] +// CHECK:STDOUT: %require_complete.f6c: = require_complete_type %I.type.bf4 [symbolic] +// CHECK:STDOUT: %I.facet: %I.type.bf4 = facet_value %C, (%I.impl_witness) [symbolic] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %I.type.dac: type = facet_type <@I, @I(%empty_struct_type, %empty_struct_type)> [concrete] -// CHECK:STDOUT: %pattern_type.ffa: type = pattern_type %I.type.dac [concrete] -// CHECK:STDOUT: %T.555: %I.type.dac = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Self.620: %I.type.dac = symbolic_binding Self, 2 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.555 [symbolic] -// CHECK:STDOUT: %pattern_type.60c: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %I.type.c6d: type = facet_type <@I, @I(%empty_struct_type, %empty_struct_type)> [concrete] +// CHECK:STDOUT: %pattern_type.699: type = pattern_type %I.type.c6d [concrete] +// CHECK:STDOUT: %T.7fd: %I.type.c6d = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Self.bc1: %I.type.c6d = symbolic_binding Self, 2 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.7fd [symbolic] +// CHECK:STDOUT: %pattern_type.c92: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.814: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %require_complete.d6e: = require_complete_type %T.as_type [symbolic] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] @@ -807,7 +807,7 @@ fn B() { // CHECK:STDOUT: .B = %B.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %I.decl: %I.type.2f5 = interface_decl @I [concrete = constants.%I.generic] { +// CHECK:STDOUT: %I.decl: %I.type.48c = interface_decl @I [concrete = constants.%I.generic] { // CHECK:STDOUT: %V.patt: %pattern_type.98f = symbolic_binding_pattern V, 0 [concrete] // CHECK:STDOUT: %W.patt: %pattern_type.98f = symbolic_binding_pattern W, 1 [concrete] // CHECK:STDOUT: } { @@ -827,11 +827,11 @@ fn B() { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %I.ref: %I.type.2f5 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc7_15.1 [symbolic = %T.loc7_15.2 (constants.%T.67d)] // CHECK:STDOUT: %.loc7_35: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_36: type = converted %.loc7_35, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %I.type.loc7_36.1: type = facet_type <@I, @I(constants.%T.67d, constants.%empty_tuple.type)> [symbolic = %I.type.loc7_36.2 (constants.%I.type.3a2)] +// CHECK:STDOUT: %I.type.loc7_36.1: type = facet_type <@I, @I(constants.%T.67d, constants.%empty_tuple.type)> [symbolic = %I.type.loc7_36.2 (constants.%I.type.bf4)] // CHECK:STDOUT: %.loc7_18.1: type = splice_block %.loc7_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc7_18.2: type = type_literal type [concrete = type] @@ -839,23 +839,23 @@ fn B() { // CHECK:STDOUT: %T.loc7_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc7_15.2 (constants.%T.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] { -// CHECK:STDOUT: %T.patt: %pattern_type.ffa = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %t.param_patt: @A.%pattern_type (%pattern_type.60c) = value_param_pattern [concrete] -// CHECK:STDOUT: %t.patt: @A.%pattern_type (%pattern_type.60c) = at_binding_pattern t, %t.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.699 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %t.param_patt: @A.%pattern_type (%pattern_type.c92) = value_param_pattern [concrete] +// CHECK:STDOUT: %t.patt: @A.%pattern_type (%pattern_type.c92) = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc9_18.1: type = splice_block %I.type [concrete = constants.%I.type.dac] { +// CHECK:STDOUT: %.loc9_18.1: type = splice_block %I.type [concrete = constants.%I.type.c6d] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %I.ref: %I.type.2f5 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %.loc9_13: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_17: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_18.2: type = converted %.loc9_13, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %.loc9_18.3: type = converted %.loc9_17, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%empty_struct_type, constants.%empty_struct_type)> [concrete = constants.%I.type.dac] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%empty_struct_type, constants.%empty_struct_type)> [concrete = constants.%I.type.c6d] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc9_7.2: %I.type.dac = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.555)] +// CHECK:STDOUT: %T.loc9_7.2: %I.type.c6d = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.7fd)] // CHECK:STDOUT: %t.param: @A.%T.as_type.loc9_31.1 (%T.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc9_31.1: type = splice_block %.loc9_31.2 [symbolic = %T.as_type.loc9_31.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref: %I.type.dac = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.555)] +// CHECK:STDOUT: %T.ref: %I.type.c6d = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.7fd)] // CHECK:STDOUT: %T.as_type.loc9_31.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc9_31.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc9_31.2: type = converted %T.ref, %T.as_type.loc9_31.2 [symbolic = %T.as_type.loc9_31.1 (constants.%T.as_type)] // CHECK:STDOUT: } @@ -869,11 +869,11 @@ fn B() { // CHECK:STDOUT: %W.loc3_24.1: type = symbolic_binding W, 1 [symbolic = %W.loc3_24.1 (constants.%W)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%V.loc3_14.1, %W.loc3_24.1)> [symbolic = %I.type (constants.%I.type.001)] -// CHECK:STDOUT: %Self.loc3_33.2: @I.%I.type (%I.type.001) = symbolic_binding Self, 2 [symbolic = %Self.loc3_33.2 (constants.%Self.19e)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%V.loc3_14.1, %W.loc3_24.1)> [symbolic = %I.type (constants.%I.type.7a7)] +// CHECK:STDOUT: %Self.loc3_33.2: @I.%I.type (%I.type.7a7) = symbolic_binding Self, 2 [symbolic = %Self.loc3_33.2 (constants.%Self.1f7)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc3_33.1: @I.%I.type (%I.type.001) = symbolic_binding Self, 2 [symbolic = %Self.loc3_33.2 (constants.%Self.19e)] +// CHECK:STDOUT: %Self.loc3_33.1: @I.%I.type (%I.type.7a7) = symbolic_binding Self, 2 [symbolic = %Self.loc3_33.2 (constants.%Self.1f7)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -886,11 +886,11 @@ fn B() { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(%T.loc7_15.1: type) { // CHECK:STDOUT: %T.loc7_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc7_15.2 (constants.%T.67d)] -// CHECK:STDOUT: %I.type.loc7_36.2: type = facet_type <@I, @I(%T.loc7_15.2, constants.%empty_tuple.type)> [symbolic = %I.type.loc7_36.2 (constants.%I.type.3a2)] +// CHECK:STDOUT: %I.type.loc7_36.2: type = facet_type <@I, @I(%T.loc7_15.2, constants.%empty_tuple.type)> [symbolic = %I.type.loc7_36.2 (constants.%I.type.bf4)] // CHECK:STDOUT: %I.impl_witness.loc7_38.2: = impl_witness %I.impl_witness_table, @C.as.I.impl(%T.loc7_15.2) [symbolic = %I.impl_witness.loc7_38.2 (constants.%I.impl_witness)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc7_36.2 [symbolic = %require_complete (constants.%require_complete.567)] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc7_36.2 [symbolic = %require_complete (constants.%require_complete.f6c)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %C.ref as %I.type.loc7_36.1 { // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl [concrete] @@ -910,13 +910,13 @@ fn B() { // CHECK:STDOUT: .Self = constants.%C // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @A(%T.loc9_7.2: %I.type.dac) { -// CHECK:STDOUT: %T.loc9_7.1: %I.type.dac = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.555)] +// CHECK:STDOUT: generic fn @A(%T.loc9_7.2: %I.type.c6d) { +// CHECK:STDOUT: %T.loc9_7.1: %I.type.c6d = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.7fd)] // CHECK:STDOUT: %T.as_type.loc9_31.1: type = facet_access_type %T.loc9_7.1 [symbolic = %T.as_type.loc9_31.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc9_31.1 [symbolic = %pattern_type (constants.%pattern_type.60c)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc9_31.1 [symbolic = %pattern_type (constants.%pattern_type.c92)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc9_31.1 [symbolic = %require_complete (constants.%require_complete.814)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc9_31.1 [symbolic = %require_complete (constants.%require_complete.d6e)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%t.param: @A.%T.as_type.loc9_31.1 (%T.as_type)) { // CHECK:STDOUT: !entry: @@ -940,24 +940,24 @@ fn B() { // CHECK:STDOUT: %W.loc3_24.1 => constants.%W // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%V, constants.%W, constants.%Self.19e) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%V, constants.%W, constants.%Self.1f7) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%T.67d, constants.%empty_tuple.type) { // CHECK:STDOUT: %V.loc3_14.1 => constants.%T.67d // CHECK:STDOUT: %W.loc3_24.1 => constants.%empty_tuple.type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.3a2 -// CHECK:STDOUT: %Self.loc3_33.2 => constants.%Self.444 +// CHECK:STDOUT: %I.type => constants.%I.type.bf4 +// CHECK:STDOUT: %Self.loc3_33.2 => constants.%Self.e96 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl(constants.%T.67d) { // CHECK:STDOUT: %T.loc7_15.2 => constants.%T.67d -// CHECK:STDOUT: %I.type.loc7_36.2 => constants.%I.type.3a2 +// CHECK:STDOUT: %I.type.loc7_36.2 => constants.%I.type.bf4 // CHECK:STDOUT: %I.impl_witness.loc7_38.2 => constants.%I.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T.67d, constants.%empty_tuple.type, constants.%Self.19e) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T.67d, constants.%empty_tuple.type, constants.%Self.1f7) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -970,18 +970,18 @@ fn B() { // CHECK:STDOUT: %W.loc3_24.1 => constants.%empty_struct_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.dac -// CHECK:STDOUT: %Self.loc3_33.2 => constants.%Self.620 +// CHECK:STDOUT: %I.type => constants.%I.type.c6d +// CHECK:STDOUT: %Self.loc3_33.2 => constants.%Self.bc1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%empty_struct_type, constants.%empty_struct_type, constants.%Self.19e) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%empty_struct_type, constants.%empty_struct_type, constants.%Self.1f7) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A(constants.%T.555) { -// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.555 +// CHECK:STDOUT: specific @A(constants.%T.7fd) { +// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.7fd // CHECK:STDOUT: %T.as_type.loc9_31.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.60c +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c92 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_mismatch_impl_self_with_fixed_specific.carbon @@ -997,26 +997,26 @@ fn B() { // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.246: type = class_type @C, @C(%V, %W) [symbolic] +// CHECK:STDOUT: %C.025: type = class_type @C, @C(%V, %W) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %C.547: type = class_type @C, @C(%T.67d, %empty_tuple.type) [symbolic] +// CHECK:STDOUT: %C.e00: type = class_type @C, @C(%T.67d, %empty_tuple.type) [symbolic] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table, @C.as.I.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %I.facet: %I.type = facet_value %C.547, (%I.impl_witness) [symbolic] -// CHECK:STDOUT: %pattern_type.788: type = pattern_type %I.type [concrete] -// CHECK:STDOUT: %T.e1e: %I.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.e1e [symbolic] -// CHECK:STDOUT: %pattern_type.d1f: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %I.facet: %I.type = facet_value %C.e00, (%I.impl_witness) [symbolic] +// CHECK:STDOUT: %pattern_type.998: type = pattern_type %I.type [concrete] +// CHECK:STDOUT: %T.2e1: %I.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.2e1 [symbolic] +// CHECK:STDOUT: %pattern_type.3df: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type [symbolic] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %C.4a0: type = class_type @C, @C(%empty_struct_type, %empty_struct_type) [concrete] -// CHECK:STDOUT: %C.val: %C.4a0 = struct_value () [concrete] +// CHECK:STDOUT: %C.986: type = class_type @C, @C(%empty_struct_type, %empty_struct_type) [concrete] +// CHECK:STDOUT: %C.val: %C.986 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1058,7 +1058,7 @@ fn B() { // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc7_15.1 [symbolic = %T.loc7_15.2 (constants.%T.67d)] // CHECK:STDOUT: %.loc7_30: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_31: type = converted %.loc7_30, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %C.loc7_31.1: type = class_type @C, @C(constants.%T.67d, constants.%empty_tuple.type) [symbolic = %C.loc7_31.2 (constants.%C.547)] +// CHECK:STDOUT: %C.loc7_31.1: type = class_type @C, @C(constants.%T.67d, constants.%empty_tuple.type) [symbolic = %C.loc7_31.2 (constants.%C.e00)] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: %.loc7_18.1: type = splice_block %.loc7_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1067,18 +1067,18 @@ fn B() { // CHECK:STDOUT: %T.loc7_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc7_15.2 (constants.%T.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] { -// CHECK:STDOUT: %T.patt: %pattern_type.788 = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %t.param_patt: @A.%pattern_type (%pattern_type.d1f) = value_param_pattern [concrete] -// CHECK:STDOUT: %t.patt: @A.%pattern_type (%pattern_type.d1f) = at_binding_pattern t, %t.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.998 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %t.param_patt: @A.%pattern_type (%pattern_type.3df) = value_param_pattern [concrete] +// CHECK:STDOUT: %t.patt: @A.%pattern_type (%pattern_type.3df) = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc9_10: type = splice_block %I.ref [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc9_7.2: %I.type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.e1e)] +// CHECK:STDOUT: %T.loc9_7.2: %I.type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.2e1)] // CHECK:STDOUT: %t.param: @A.%T.as_type.loc9_23.1 (%T.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc9_23.1: type = splice_block %.loc9_23.2 [symbolic = %T.as_type.loc9_23.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref: %I.type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.e1e)] +// CHECK:STDOUT: %T.ref: %I.type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.2e1)] // CHECK:STDOUT: %T.as_type.loc9_23.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc9_23.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc9_23.2: type = converted %T.ref, %T.as_type.loc9_23.2 [symbolic = %T.as_type.loc9_23.1 (constants.%T.as_type)] // CHECK:STDOUT: } @@ -1100,7 +1100,7 @@ fn B() { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(%T.loc7_15.1: type) { // CHECK:STDOUT: %T.loc7_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc7_15.2 (constants.%T.67d)] -// CHECK:STDOUT: %C.loc7_31.2: type = class_type @C, @C(%T.loc7_15.2, constants.%empty_tuple.type) [symbolic = %C.loc7_31.2 (constants.%C.547)] +// CHECK:STDOUT: %C.loc7_31.2: type = class_type @C, @C(%T.loc7_15.2, constants.%empty_tuple.type) [symbolic = %C.loc7_31.2 (constants.%C.e00)] // CHECK:STDOUT: %I.impl_witness.loc7_38.2: = impl_witness %I.impl_witness_table, @C.as.I.impl(%T.loc7_15.2) [symbolic = %I.impl_witness.loc7_38.2 (constants.%I.impl_witness)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: @@ -1126,14 +1126,14 @@ fn B() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.246 +// CHECK:STDOUT: .Self = constants.%C.025 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @A(%T.loc9_7.2: %I.type) { -// CHECK:STDOUT: %T.loc9_7.1: %I.type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.e1e)] +// CHECK:STDOUT: %T.loc9_7.1: %I.type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.2e1)] // CHECK:STDOUT: %T.as_type.loc9_23.1: type = facet_access_type %T.loc9_7.1 [symbolic = %T.as_type.loc9_23.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc9_23.1 [symbolic = %pattern_type (constants.%pattern_type.d1f)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc9_23.1 [symbolic = %pattern_type (constants.%pattern_type.3df)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc9_23.1 [symbolic = %require_complete (constants.%require_complete)] @@ -1153,10 +1153,10 @@ fn B() { // CHECK:STDOUT: %.loc19_18: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc19_19.1: type = converted %.loc19_14, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %.loc19_19.2: type = converted %.loc19_18, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%empty_struct_type, constants.%empty_struct_type) [concrete = constants.%C.4a0] -// CHECK:STDOUT: %.loc19_6.2: ref %C.4a0 = temporary_storage -// CHECK:STDOUT: %.loc19_6.3: init %C.4a0 to %.loc19_6.2 = class_init () [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc19_8: init %C.4a0 = converted %.loc19_6.1, %.loc19_6.3 [concrete = constants.%C.val] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%empty_struct_type, constants.%empty_struct_type) [concrete = constants.%C.986] +// CHECK:STDOUT: %.loc19_6.2: ref %C.986 = temporary_storage +// CHECK:STDOUT: %.loc19_6.3: init %C.986 to %.loc19_6.2 = class_init () [concrete = constants.%C.val] +// CHECK:STDOUT: %.loc19_8: init %C.986 = converted %.loc19_6.1, %.loc19_6.3 [concrete = constants.%C.val] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1176,7 +1176,7 @@ fn B() { // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl(constants.%T.67d) { // CHECK:STDOUT: %T.loc7_15.2 => constants.%T.67d -// CHECK:STDOUT: %C.loc7_31.2 => constants.%C.547 +// CHECK:STDOUT: %C.loc7_31.2 => constants.%C.e00 // CHECK:STDOUT: %I.impl_witness.loc7_38.2 => constants.%I.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1184,10 +1184,10 @@ fn B() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A(constants.%T.e1e) { -// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.e1e +// CHECK:STDOUT: specific @A(constants.%T.2e1) { +// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.2e1 // CHECK:STDOUT: %T.as_type.loc9_23.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d1f +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3df // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%empty_struct_type, constants.%empty_struct_type) { diff --git a/toolchain/check/testdata/facet/convert_facet_value_as_type_knows_original_type.carbon b/toolchain/check/testdata/facet/convert_facet_value_as_type_knows_original_type.carbon index 7668acd7a0c1..ef11caebb150 100644 --- a/toolchain/check/testdata/facet/convert_facet_value_as_type_knows_original_type.carbon +++ b/toolchain/check/testdata/facet/convert_facet_value_as_type_knows_original_type.carbon @@ -130,7 +130,7 @@ fn F[A:! J, B:! A](x: C(A, B)) { // CHECK:STDOUT: %Eats.type: type = facet_type <@Eats> [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Eats.assoc_type: type = assoc_entity_type @Eats [concrete] -// CHECK:STDOUT: %assoc0.1f6: %Eats.assoc_type = assoc_entity element0, @Eats.WithSelf.%Eats.WithSelf.Eat.decl [concrete] +// CHECK:STDOUT: %assoc0.0cc: %Eats.assoc_type = assoc_entity element0, @Eats.WithSelf.%Eats.WithSelf.Eat.decl [concrete] // CHECK:STDOUT: %Animal.type: type = facet_type <@Animal> [concrete] // CHECK:STDOUT: %Goat: type = class_type @Goat [concrete] // CHECK:STDOUT: %Goat.Bleet.type: type = fn_type @Goat.Bleet [concrete] @@ -141,22 +141,22 @@ fn F[A:! J, B:! A](x: C(A, B)) { // CHECK:STDOUT: %Goat.as.Eats.impl.Eat.type: type = fn_type @Goat.as.Eats.impl.Eat [concrete] // CHECK:STDOUT: %Goat.as.Eats.impl.Eat: %Goat.as.Eats.impl.Eat.type = struct_value () [concrete] // CHECK:STDOUT: %Eats.facet: %Eats.type = facet_value %Goat, (%Eats.impl_witness) [concrete] -// CHECK:STDOUT: %Eats.WithSelf.Eat.type.41c: type = fn_type @Eats.WithSelf.Eat, @Eats.WithSelf(%Eats.facet) [concrete] +// CHECK:STDOUT: %Eats.WithSelf.Eat.type.c84: type = fn_type @Eats.WithSelf.Eat, @Eats.WithSelf(%Eats.facet) [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %pattern_type.c25: type = pattern_type %Goat [concrete] +// CHECK:STDOUT: %pattern_type.bea: type = pattern_type %Goat [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %Goat.val: %Goat = struct_value () [concrete] -// CHECK:STDOUT: %.aef: ref %Goat = temporary invalid, %Goat.val [concrete] -// CHECK:STDOUT: %.876: type = fn_type_with_self_type %Eats.WithSelf.Eat.type.41c, %Eats.facet [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc27_8.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.aef, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %.e6d: ref %Goat = temporary invalid, %Goat.val [concrete] +// CHECK:STDOUT: %.d3b: type = fn_type_with_self_type %Eats.WithSelf.Eat.type.c84, %Eats.facet [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc27_8.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e6d, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c25 = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.bea = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %.loc22_28.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %Goat.ref.loc22_33: type = name_ref Goat, file.%Goat.decl [concrete = constants.%Goat] @@ -171,15 +171,15 @@ fn F[A:! J, B:! A](x: C(A, B)) { // CHECK:STDOUT: %as_type.loc22: type = facet_access_type %.loc22_15.2 [concrete = constants.%Goat] // CHECK:STDOUT: %.loc22_15.3: type = converted %.loc22_15.2, %as_type.loc22 [concrete = constants.%Goat] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc22_30.2: ref %Goat = temporary %.loc22_28.2, %.loc22_30.1 [concrete = constants.%.aef] +// CHECK:STDOUT: %.loc22_30.2: ref %Goat = temporary %.loc22_28.2, %.loc22_30.1 [concrete = constants.%.e6d] // CHECK:STDOUT: %.loc22_30.3: %Goat = acquire_value %.loc22_30.2 [concrete = constants.%Goat.val] // CHECK:STDOUT: %x: %Goat = value_binding x, %.loc22_30.3 // CHECK:STDOUT: %x.ref.loc23: %Goat = name_ref x, %x // CHECK:STDOUT: %Bleet.ref.loc23: %Goat.Bleet.type = name_ref Bleet, @Goat.%Goat.Bleet.decl [concrete = constants.%Goat.Bleet] // CHECK:STDOUT: %Goat.Bleet.call.loc23: init %empty_tuple.type = call %Bleet.ref.loc23() // CHECK:STDOUT: %x.ref.loc24: %Goat = name_ref x, %x -// CHECK:STDOUT: %Eat.ref.loc24: %Eats.assoc_type = name_ref Eat, @Eats.WithSelf.%assoc0 [concrete = constants.%assoc0.1f6] -// CHECK:STDOUT: %impl.elem0.loc24: %.876 = impl_witness_access constants.%Eats.impl_witness, element0 [concrete = constants.%Goat.as.Eats.impl.Eat] +// CHECK:STDOUT: %Eat.ref.loc24: %Eats.assoc_type = name_ref Eat, @Eats.WithSelf.%assoc0 [concrete = constants.%assoc0.0cc] +// CHECK:STDOUT: %impl.elem0.loc24: %.d3b = impl_witness_access constants.%Eats.impl_witness, element0 [concrete = constants.%Goat.as.Eats.impl.Eat] // CHECK:STDOUT: %Goat.as.Eats.impl.Eat.call.loc24: init %empty_tuple.type = call %impl.elem0.loc24() // CHECK:STDOUT: %.loc26_6.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %Goat.ref.loc26_11: type = name_ref Goat, file.%Goat.decl [concrete = constants.%Goat] @@ -192,7 +192,7 @@ fn F[A:! J, B:! A](x: C(A, B)) { // CHECK:STDOUT: %.loc26_26: %Animal.type = converted %Goat.ref.loc26_21, %Animal.facet.loc26 [concrete = constants.%Animal.facet] // CHECK:STDOUT: %as_type.loc26: type = facet_access_type %.loc26_26 [concrete = constants.%Goat] // CHECK:STDOUT: %.loc26_35: type = converted %.loc26_26, %as_type.loc26 [concrete = constants.%Goat] -// CHECK:STDOUT: %.loc26_8.2: ref %Goat = temporary %.loc26_6.2, %.loc26_8.1 [concrete = constants.%.aef] +// CHECK:STDOUT: %.loc26_8.2: ref %Goat = temporary %.loc26_6.2, %.loc26_8.1 [concrete = constants.%.e6d] // CHECK:STDOUT: %Bleet.ref.loc26: %Goat.Bleet.type = name_ref Bleet, @Goat.%Goat.Bleet.decl [concrete = constants.%Goat.Bleet] // CHECK:STDOUT: %Goat.Bleet.call.loc26: init %empty_tuple.type = call %Bleet.ref.loc26() // CHECK:STDOUT: %.loc27_6.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -206,13 +206,13 @@ fn F[A:! J, B:! A](x: C(A, B)) { // CHECK:STDOUT: %.loc27_26: %Animal.type = converted %Goat.ref.loc27_21, %Animal.facet.loc27 [concrete = constants.%Animal.facet] // CHECK:STDOUT: %as_type.loc27: type = facet_access_type %.loc27_26 [concrete = constants.%Goat] // CHECK:STDOUT: %.loc27_35: type = converted %.loc27_26, %as_type.loc27 [concrete = constants.%Goat] -// CHECK:STDOUT: %.loc27_8.2: ref %Goat = temporary %.loc27_6.2, %.loc27_8.1 [concrete = constants.%.aef] -// CHECK:STDOUT: %Eat.ref.loc27: %Eats.assoc_type = name_ref Eat, @Eats.WithSelf.%assoc0 [concrete = constants.%assoc0.1f6] -// CHECK:STDOUT: %impl.elem0.loc27: %.876 = impl_witness_access constants.%Eats.impl_witness, element0 [concrete = constants.%Goat.as.Eats.impl.Eat] +// CHECK:STDOUT: %.loc27_8.2: ref %Goat = temporary %.loc27_6.2, %.loc27_8.1 [concrete = constants.%.e6d] +// CHECK:STDOUT: %Eat.ref.loc27: %Eats.assoc_type = name_ref Eat, @Eats.WithSelf.%assoc0 [concrete = constants.%assoc0.0cc] +// CHECK:STDOUT: %impl.elem0.loc27: %.d3b = impl_witness_access constants.%Eats.impl_witness, element0 [concrete = constants.%Goat.as.Eats.impl.Eat] // CHECK:STDOUT: %Goat.as.Eats.impl.Eat.call.loc27: init %empty_tuple.type = call %impl.elem0.loc27() -// CHECK:STDOUT: %Destroy.Op.call.loc27: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.aef) -// CHECK:STDOUT: %Destroy.Op.call.loc26: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.aef) -// CHECK:STDOUT: %Destroy.Op.call.loc22: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.aef) +// CHECK:STDOUT: %Destroy.Op.call.loc27: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e6d) +// CHECK:STDOUT: %Destroy.Op.call.loc26: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e6d) +// CHECK:STDOUT: %Destroy.Op.call.loc22: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e6d) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -229,11 +229,11 @@ fn F[A:! J, B:! A](x: C(A, B)) { // CHECK:STDOUT: %J.type: type = facet_type <@J> [concrete] // CHECK:STDOUT: %A: %J.type = symbolic_binding A, 0 [symbolic] // CHECK:STDOUT: %A.as_type: type = facet_access_type %A [symbolic] -// CHECK:STDOUT: %pattern_type.60b: type = pattern_type %A.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.520: type = pattern_type %A.as_type [symbolic] // CHECK:STDOUT: %B: %A.as_type = symbolic_binding B, 1 [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %C: type = class_type @C, @C(%A, %B) [symbolic] -// CHECK:STDOUT: %pattern_type.28b: type = pattern_type %C [symbolic] +// CHECK:STDOUT: %pattern_type.b04: type = pattern_type %C [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %G.specific_fn: = specific_function %G, @G(%A, %B) [symbolic] @@ -261,8 +261,8 @@ fn F[A:! J, B:! A](x: C(A, B)) { // CHECK:STDOUT: %A.loc25_7.1 => constants.%A // CHECK:STDOUT: %A.as_type.loc25_17.1 => constants.%A.as_type // CHECK:STDOUT: %B.loc25_14.1 => constants.%B -// CHECK:STDOUT: %pattern_type.loc25_14 => constants.%pattern_type.60b +// CHECK:STDOUT: %pattern_type.loc25_14 => constants.%pattern_type.520 // CHECK:STDOUT: %C.loc25_29.1 => constants.%C -// CHECK:STDOUT: %pattern_type.loc25_21 => constants.%pattern_type.28b +// CHECK:STDOUT: %pattern_type.loc25_21 => constants.%pattern_type.b04 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/convert_facet_value_to_itself.carbon b/toolchain/check/testdata/facet/convert_facet_value_to_itself.carbon index 57751ade69e1..f8b746b06abf 100644 --- a/toolchain/check/testdata/facet/convert_facet_value_to_itself.carbon +++ b/toolchain/check/testdata/facet/convert_facet_value_to_itself.carbon @@ -33,14 +33,14 @@ fn F() { // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %Animal.type [concrete] -// CHECK:STDOUT: %T.123c17.1: %Animal.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.34ba26.1: %Animal.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %FeedAnimal.type: type = fn_type @FeedAnimal [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %FeedAnimal: %FeedAnimal.type = struct_value () [concrete] -// CHECK:STDOUT: %T.123c17.2: %Animal.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.34ba26.2: %Animal.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %HandleAnimal.type: type = fn_type @HandleAnimal [concrete] // CHECK:STDOUT: %HandleAnimal: %HandleAnimal.type = struct_value () [concrete] -// CHECK:STDOUT: %FeedAnimal.specific_fn.79c: = specific_function %FeedAnimal, @FeedAnimal(%T.123c17.2) [symbolic] +// CHECK:STDOUT: %FeedAnimal.specific_fn.a0f: = specific_function %FeedAnimal, @FeedAnimal(%T.34ba26.2) [symbolic] // CHECK:STDOUT: %Goat: type = class_type @Goat [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] @@ -49,7 +49,7 @@ fn F() { // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %HandleAnimal.specific_fn: = specific_function %HandleAnimal, @HandleAnimal(%Animal.facet) [concrete] -// CHECK:STDOUT: %FeedAnimal.specific_fn.ad9: = specific_function %FeedAnimal, @FeedAnimal(%Animal.facet) [concrete] +// CHECK:STDOUT: %FeedAnimal.specific_fn.628: = specific_function %FeedAnimal, @FeedAnimal(%Animal.facet) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -77,7 +77,7 @@ fn F() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Animal.ref: type = name_ref Animal, file.%Animal.decl [concrete = constants.%Animal.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc17_23.2: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc17_23.1 (constants.%T.123c17.1)] +// CHECK:STDOUT: %T.loc17_23.2: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc17_23.1 (constants.%T.34ba26.1)] // CHECK:STDOUT: } // CHECK:STDOUT: %HandleAnimal.decl: %HandleAnimal.type = fn_decl @HandleAnimal [concrete = constants.%HandleAnimal] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] @@ -86,7 +86,7 @@ fn F() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Animal.ref: type = name_ref Animal, file.%Animal.decl [concrete = constants.%Animal.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc19_18.2: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc19_18.1 (constants.%T.123c17.2)] +// CHECK:STDOUT: %T.loc19_18.2: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc19_18.1 (constants.%T.34ba26.2)] // CHECK:STDOUT: } // CHECK:STDOUT: %Goat.decl: type = class_decl @Goat [concrete = constants.%Goat] {} {} // CHECK:STDOUT: impl_decl @Goat.as.Animal.impl [concrete] {} { @@ -125,7 +125,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @FeedAnimal(%T.loc17_23.2: %Animal.type) { -// CHECK:STDOUT: %T.loc17_23.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc17_23.1 (constants.%T.123c17.1)] +// CHECK:STDOUT: %T.loc17_23.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc17_23.1 (constants.%T.34ba26.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -136,16 +136,16 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HandleAnimal(%T.loc19_18.2: %Animal.type) { -// CHECK:STDOUT: %T.loc19_18.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc19_18.1 (constants.%T.123c17.2)] +// CHECK:STDOUT: %T.loc19_18.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc19_18.1 (constants.%T.34ba26.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_31.2: = specific_function constants.%FeedAnimal, @FeedAnimal(%T.loc19_18.1) [symbolic = %FeedAnimal.specific_fn.loc19_31.2 (constants.%FeedAnimal.specific_fn.79c)] +// CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_31.2: = specific_function constants.%FeedAnimal, @FeedAnimal(%T.loc19_18.1) [symbolic = %FeedAnimal.specific_fn.loc19_31.2 (constants.%FeedAnimal.specific_fn.a0f)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %FeedAnimal.ref: %FeedAnimal.type = name_ref FeedAnimal, file.%FeedAnimal.decl [concrete = constants.%FeedAnimal] -// CHECK:STDOUT: %T.ref: %Animal.type = name_ref T, %T.loc19_18.2 [symbolic = %T.loc19_18.1 (constants.%T.123c17.2)] -// CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_31.1: = specific_function %FeedAnimal.ref, @FeedAnimal(constants.%T.123c17.2) [symbolic = %FeedAnimal.specific_fn.loc19_31.2 (constants.%FeedAnimal.specific_fn.79c)] +// CHECK:STDOUT: %T.ref: %Animal.type = name_ref T, %T.loc19_18.2 [symbolic = %T.loc19_18.1 (constants.%T.34ba26.2)] +// CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_31.1: = specific_function %FeedAnimal.ref, @FeedAnimal(constants.%T.34ba26.2) [symbolic = %FeedAnimal.specific_fn.loc19_31.2 (constants.%FeedAnimal.specific_fn.a0f)] // CHECK:STDOUT: %FeedAnimal.call: init %empty_tuple.type = call %FeedAnimal.specific_fn.loc19_31.1() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -166,16 +166,16 @@ fn F() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @FeedAnimal(constants.%T.123c17.1) { -// CHECK:STDOUT: %T.loc17_23.1 => constants.%T.123c17.1 +// CHECK:STDOUT: specific @FeedAnimal(constants.%T.34ba26.1) { +// CHECK:STDOUT: %T.loc17_23.1 => constants.%T.34ba26.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HandleAnimal(constants.%T.123c17.2) { -// CHECK:STDOUT: %T.loc19_18.1 => constants.%T.123c17.2 +// CHECK:STDOUT: specific @HandleAnimal(constants.%T.34ba26.2) { +// CHECK:STDOUT: %T.loc19_18.1 => constants.%T.34ba26.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @FeedAnimal(constants.%T.123c17.2) { -// CHECK:STDOUT: %T.loc17_23.1 => constants.%T.123c17.2 +// CHECK:STDOUT: specific @FeedAnimal(constants.%T.34ba26.2) { +// CHECK:STDOUT: %T.loc17_23.1 => constants.%T.34ba26.2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -188,7 +188,7 @@ fn F() { // CHECK:STDOUT: %T.loc19_18.1 => constants.%Animal.facet // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_31.2 => constants.%FeedAnimal.specific_fn.ad9 +// CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_31.2 => constants.%FeedAnimal.specific_fn.628 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @FeedAnimal(constants.%Animal.facet) { diff --git a/toolchain/check/testdata/facet/convert_facet_value_to_narrowed_facet_type.carbon b/toolchain/check/testdata/facet/convert_facet_value_to_narrowed_facet_type.carbon index d6dd0d5ee9ab..b4c75cec2861 100644 --- a/toolchain/check/testdata/facet/convert_facet_value_to_narrowed_facet_type.carbon +++ b/toolchain/check/testdata/facet/convert_facet_value_to_narrowed_facet_type.carbon @@ -93,37 +93,37 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Eats.type: type = facet_type <@Eats> [concrete] -// CHECK:STDOUT: %Self.8e7: %Eats.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d7f: %Eats.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Animal.type: type = facet_type <@Animal> [concrete] -// CHECK:STDOUT: %Self.941: %Animal.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.1ff: %Animal.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.48a: type = pattern_type %Eats.type [concrete] +// CHECK:STDOUT: %pattern_type.3a5: type = pattern_type %Eats.type [concrete] // CHECK:STDOUT: %T: %Eats.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.c82: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.58d: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %Feed.type: type = fn_type @Feed [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Feed: %Feed.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.7b9: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %require_complete.019: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %Animal.type, %type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %facet_type: type = facet_type <@Eats & @Animal> [concrete] -// CHECK:STDOUT: %pattern_type.c0b: type = pattern_type %facet_type [concrete] +// CHECK:STDOUT: %pattern_type.f51: type = pattern_type %facet_type [concrete] // CHECK:STDOUT: %U: %facet_type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %pattern_type.641: type = pattern_type %U.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.24e: type = pattern_type %U.as_type [symbolic] // CHECK:STDOUT: %HandleAnimal.type: type = fn_type @HandleAnimal [concrete] // CHECK:STDOUT: %HandleAnimal: %HandleAnimal.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.98b: = require_complete_type %U.as_type [symbolic] +// CHECK:STDOUT: %require_complete.6ae: = require_complete_type %U.as_type [symbolic] // CHECK:STDOUT: %Eats.lookup_impl_witness: = lookup_impl_witness %U, @Eats [symbolic] // CHECK:STDOUT: %Eats.facet: %Eats.type = facet_value %U.as_type, (%Eats.lookup_impl_witness) [symbolic] // CHECK:STDOUT: %Feed.specific_fn: = specific_function %Feed, @Feed(%Eats.facet) [symbolic] @@ -135,9 +135,9 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -152,9 +152,9 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: %Eats.decl: type = interface_decl @Eats [concrete = constants.%Eats.type] {} {} // CHECK:STDOUT: %Animal.decl: type = interface_decl @Animal [concrete = constants.%Animal.type] {} {} // CHECK:STDOUT: %Feed.decl: %Feed.type = fn_decl @Feed [concrete = constants.%Feed] { -// CHECK:STDOUT: %T.patt: %pattern_type.48a = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %e.param_patt: @Feed.%pattern_type (%pattern_type.c82) = value_param_pattern [concrete] -// CHECK:STDOUT: %e.patt: @Feed.%pattern_type (%pattern_type.c82) = at_binding_pattern e, %e.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.3a5 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %e.param_patt: @Feed.%pattern_type (%pattern_type.58d) = value_param_pattern [concrete] +// CHECK:STDOUT: %e.patt: @Feed.%pattern_type (%pattern_type.58d) = at_binding_pattern e, %e.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6_13: type = splice_block %Eats.ref [concrete = constants.%Eats.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -170,15 +170,15 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: %e: @Feed.%T.as_type.loc6_29.1 (%T.as_type) = value_binding e, %e.param // CHECK:STDOUT: } // CHECK:STDOUT: %HandleAnimal.decl: %HandleAnimal.type = fn_decl @HandleAnimal [concrete = constants.%HandleAnimal] { -// CHECK:STDOUT: %U.patt: %pattern_type.c0b = symbolic_binding_pattern U, 0 [concrete] -// CHECK:STDOUT: %a.param_patt: @HandleAnimal.%pattern_type (%pattern_type.641) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @HandleAnimal.%pattern_type (%pattern_type.641) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.f51 = symbolic_binding_pattern U, 0 [concrete] +// CHECK:STDOUT: %a.param_patt: @HandleAnimal.%pattern_type (%pattern_type.24e) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @HandleAnimal.%pattern_type (%pattern_type.24e) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8_28.1: type = splice_block %.loc8_28.3 [concrete = constants.%facet_type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Animal.ref: type = name_ref Animal, file.%Animal.decl [concrete = constants.%Animal.type] // CHECK:STDOUT: %Eats.ref: type = name_ref Eats, file.%Eats.decl [concrete = constants.%Eats.type] -// CHECK:STDOUT: %impl.elem0: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %Animal.ref, %impl.elem0 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%Animal.ref, %Eats.ref) [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc8_28.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type] @@ -196,7 +196,7 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Eats { -// CHECK:STDOUT: %Self: %Eats.type = symbolic_binding Self, 0 [symbolic = constants.%Self.8e7] +// CHECK:STDOUT: %Self: %Eats.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d7f] // CHECK:STDOUT: %Eats.WithSelf.decl = interface_with_self_decl @Eats [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -207,7 +207,7 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { -// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.941] +// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.1ff] // CHECK:STDOUT: %Animal.WithSelf.decl = interface_with_self_decl @Animal [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -220,10 +220,10 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: generic fn @Feed(%T.loc6_10.2: %Eats.type) { // CHECK:STDOUT: %T.loc6_10.1: %Eats.type = symbolic_binding T, 0 [symbolic = %T.loc6_10.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc6_29.1: type = facet_access_type %T.loc6_10.1 [symbolic = %T.as_type.loc6_29.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc6_29.1 [symbolic = %pattern_type (constants.%pattern_type.c82)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc6_29.1 [symbolic = %pattern_type (constants.%pattern_type.58d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc6_29.1 [symbolic = %require_complete (constants.%require_complete.7b9)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc6_29.1 [symbolic = %require_complete (constants.%require_complete.019)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%e.param: @Feed.%T.as_type.loc6_29.1 (%T.as_type)) { // CHECK:STDOUT: !entry: @@ -234,10 +234,10 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: generic fn @HandleAnimal(%U.loc8_18.2: %facet_type) { // CHECK:STDOUT: %U.loc8_18.1: %facet_type = symbolic_binding U, 0 [symbolic = %U.loc8_18.1 (constants.%U)] // CHECK:STDOUT: %U.as_type.loc8_39.1: type = facet_access_type %U.loc8_18.1 [symbolic = %U.as_type.loc8_39.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc8_39.1 [symbolic = %pattern_type (constants.%pattern_type.641)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc8_39.1 [symbolic = %pattern_type (constants.%pattern_type.24e)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc8_39.1 [symbolic = %require_complete (constants.%require_complete.98b)] +// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc8_39.1 [symbolic = %require_complete (constants.%require_complete.6ae)] // CHECK:STDOUT: %Eats.lookup_impl_witness: = lookup_impl_witness %U.loc8_18.1, @Eats [symbolic = %Eats.lookup_impl_witness (constants.%Eats.lookup_impl_witness)] // CHECK:STDOUT: %Eats.facet.loc8_50.2: %Eats.type = facet_value %U.as_type.loc8_39.1, (%Eats.lookup_impl_witness) [symbolic = %Eats.facet.loc8_50.2 (constants.%Eats.facet)] // CHECK:STDOUT: %Feed.specific_fn.loc8_44.2: = specific_function constants.%Feed, @Feed(%Eats.facet.loc8_50.2) [symbolic = %Feed.specific_fn.loc8_44.2 (constants.%Feed.specific_fn)] @@ -254,79 +254,79 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.8e7) { +// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.d7f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.941) { +// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.1ff) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Feed(constants.%T) { // CHECK:STDOUT: %T.loc6_10.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc6_29.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c82 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.58d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HandleAnimal(constants.%U) { // CHECK:STDOUT: %U.loc8_18.1 => constants.%U // CHECK:STDOUT: %U.as_type.loc8_39.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.641 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.24e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Feed(constants.%Eats.facet) { // CHECK:STDOUT: %T.loc6_10.1 => constants.%Eats.facet // CHECK:STDOUT: %T.as_type.loc6_29.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.641 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.24e // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.98b +// CHECK:STDOUT: %require_complete => constants.%require_complete.6ae // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- bigger.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Eats.type: type = facet_type <@Eats> [concrete] -// CHECK:STDOUT: %Self.063: %Eats.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d7f: %Eats.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Animal.type: type = facet_type <@Animal> [concrete] -// CHECK:STDOUT: %Self.65f: %Animal.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.1ff: %Animal.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Tame.type: type = facet_type <@Tame> [concrete] -// CHECK:STDOUT: %Self.cf5: %Tame.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.fa6: %Tame.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.369: = bound_method %Tame.type, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %facet_type.aaf: type = facet_type <@Eats & @Tame> [concrete] -// CHECK:STDOUT: %pattern_type.b60: type = pattern_type %facet_type.aaf [concrete] -// CHECK:STDOUT: %V: %facet_type.aaf = symbolic_binding V, 0 [symbolic] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.25a: = bound_method %Tame.type, %type.as.BitAndWith.impl.Op [concrete] +// CHECK:STDOUT: %facet_type.4b9: type = facet_type <@Eats & @Tame> [concrete] +// CHECK:STDOUT: %pattern_type.2c6: type = pattern_type %facet_type.4b9 [concrete] +// CHECK:STDOUT: %V: %facet_type.4b9 = symbolic_binding V, 0 [symbolic] // CHECK:STDOUT: %V.as_type: type = facet_access_type %V [symbolic] -// CHECK:STDOUT: %pattern_type.56c: type = pattern_type %V.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.06d: type = pattern_type %V.as_type [symbolic] // CHECK:STDOUT: %FeedTame.type: type = fn_type @FeedTame [concrete] // CHECK:STDOUT: %FeedTame: %FeedTame.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.112: = require_complete_type %V.as_type [symbolic] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.634: = bound_method %Eats.type, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %facet_type.e4f: type = facet_type <@Eats & @Animal> [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.0a7: = bound_method %facet_type.e4f, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %facet_type.070: type = facet_type <@Eats & @Animal & @Tame> [concrete] -// CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %facet_type.070 [concrete] -// CHECK:STDOUT: %W: %facet_type.070 = symbolic_binding W, 0 [symbolic] +// CHECK:STDOUT: %require_complete.b02: = require_complete_type %V.as_type [symbolic] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.7a1: = bound_method %Eats.type, %type.as.BitAndWith.impl.Op [concrete] +// CHECK:STDOUT: %facet_type.cfc: type = facet_type <@Eats & @Animal> [concrete] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.713: = bound_method %facet_type.cfc, %type.as.BitAndWith.impl.Op [concrete] +// CHECK:STDOUT: %facet_type.ca2: type = facet_type <@Eats & @Animal & @Tame> [concrete] +// CHECK:STDOUT: %pattern_type.520: type = pattern_type %facet_type.ca2 [concrete] +// CHECK:STDOUT: %W: %facet_type.ca2 = symbolic_binding W, 0 [symbolic] // CHECK:STDOUT: %W.as_type: type = facet_access_type %W [symbolic] -// CHECK:STDOUT: %pattern_type.412: type = pattern_type %W.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.313: type = pattern_type %W.as_type [symbolic] // CHECK:STDOUT: %HandleTameAnimal.type: type = fn_type @HandleTameAnimal [concrete] // CHECK:STDOUT: %HandleTameAnimal: %HandleTameAnimal.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.12f: = require_complete_type %W.as_type [symbolic] +// CHECK:STDOUT: %require_complete.554: = require_complete_type %W.as_type [symbolic] // CHECK:STDOUT: %Eats.lookup_impl_witness: = lookup_impl_witness %W, @Eats [symbolic] // CHECK:STDOUT: %Tame.lookup_impl_witness: = lookup_impl_witness %W, @Tame [symbolic] -// CHECK:STDOUT: %facet_value: %facet_type.aaf = facet_value %W.as_type, (%Eats.lookup_impl_witness, %Tame.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %facet_value: %facet_type.4b9 = facet_value %W.as_type, (%Eats.lookup_impl_witness, %Tame.lookup_impl_witness) [symbolic] // CHECK:STDOUT: %FeedTame.specific_fn: = specific_function %FeedTame, @FeedTame(%facet_value) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -336,9 +336,9 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -355,54 +355,54 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: %Animal.decl: type = interface_decl @Animal [concrete = constants.%Animal.type] {} {} // CHECK:STDOUT: %Tame.decl: type = interface_decl @Tame [concrete = constants.%Tame.type] {} {} // CHECK:STDOUT: %FeedTame.decl: %FeedTame.type = fn_decl @FeedTame [concrete = constants.%FeedTame] { -// CHECK:STDOUT: %V.patt: %pattern_type.b60 = symbolic_binding_pattern V, 0 [concrete] -// CHECK:STDOUT: %v.param_patt: @FeedTame.%pattern_type (%pattern_type.56c) = value_param_pattern [concrete] -// CHECK:STDOUT: %v.patt: @FeedTame.%pattern_type (%pattern_type.56c) = at_binding_pattern v, %v.param_patt [concrete] +// CHECK:STDOUT: %V.patt: %pattern_type.2c6 = symbolic_binding_pattern V, 0 [concrete] +// CHECK:STDOUT: %v.param_patt: @FeedTame.%pattern_type (%pattern_type.06d) = value_param_pattern [concrete] +// CHECK:STDOUT: %v.patt: @FeedTame.%pattern_type (%pattern_type.06d) = at_binding_pattern v, %v.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc7_22.1: type = splice_block %.loc7_22.3 [concrete = constants.%facet_type.aaf] { +// CHECK:STDOUT: %.loc7_22.1: type = splice_block %.loc7_22.3 [concrete = constants.%facet_type.4b9] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Tame.ref: type = name_ref Tame, file.%Tame.decl [concrete = constants.%Tame.type] // CHECK:STDOUT: %Eats.ref: type = name_ref Eats, file.%Eats.decl [concrete = constants.%Eats.type] -// CHECK:STDOUT: %impl.elem0: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %bound_method: = bound_method %Tame.ref, %impl.elem0 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.369] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%Tame.ref, %Eats.ref) [concrete = constants.%facet_type.aaf] -// CHECK:STDOUT: %.loc7_22.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type.aaf] -// CHECK:STDOUT: %.loc7_22.3: type = converted %type.as.BitAndWith.impl.Op.call, %.loc7_22.2 [concrete = constants.%facet_type.aaf] +// CHECK:STDOUT: %impl.elem0: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %bound_method: = bound_method %Tame.ref, %impl.elem0 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.25a] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%Tame.ref, %Eats.ref) [concrete = constants.%facet_type.4b9] +// CHECK:STDOUT: %.loc7_22.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type.4b9] +// CHECK:STDOUT: %.loc7_22.3: type = converted %type.as.BitAndWith.impl.Op.call, %.loc7_22.2 [concrete = constants.%facet_type.4b9] // CHECK:STDOUT: } -// CHECK:STDOUT: %V.loc7_14.2: %facet_type.aaf = symbolic_binding V, 0 [symbolic = %V.loc7_14.1 (constants.%V)] +// CHECK:STDOUT: %V.loc7_14.2: %facet_type.4b9 = symbolic_binding V, 0 [symbolic = %V.loc7_14.1 (constants.%V)] // CHECK:STDOUT: %v.param: @FeedTame.%V.as_type.loc7_40.1 (%V.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc7_40.1: type = splice_block %.loc7_40.2 [symbolic = %V.as_type.loc7_40.1 (constants.%V.as_type)] { -// CHECK:STDOUT: %V.ref: %facet_type.aaf = name_ref V, %V.loc7_14.2 [symbolic = %V.loc7_14.1 (constants.%V)] +// CHECK:STDOUT: %V.ref: %facet_type.4b9 = name_ref V, %V.loc7_14.2 [symbolic = %V.loc7_14.1 (constants.%V)] // CHECK:STDOUT: %V.as_type.loc7_40.2: type = facet_access_type %V.ref [symbolic = %V.as_type.loc7_40.1 (constants.%V.as_type)] // CHECK:STDOUT: %.loc7_40.2: type = converted %V.ref, %V.as_type.loc7_40.2 [symbolic = %V.as_type.loc7_40.1 (constants.%V.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: %v: @FeedTame.%V.as_type.loc7_40.1 (%V.as_type) = value_binding v, %v.param // CHECK:STDOUT: } // CHECK:STDOUT: %HandleTameAnimal.decl: %HandleTameAnimal.type = fn_decl @HandleTameAnimal [concrete = constants.%HandleTameAnimal] { -// CHECK:STDOUT: %W.patt: %pattern_type.4f4 = symbolic_binding_pattern W, 0 [concrete] -// CHECK:STDOUT: %w.param_patt: @HandleTameAnimal.%pattern_type (%pattern_type.412) = value_param_pattern [concrete] -// CHECK:STDOUT: %w.patt: @HandleTameAnimal.%pattern_type (%pattern_type.412) = at_binding_pattern w, %w.param_patt [concrete] +// CHECK:STDOUT: %W.patt: %pattern_type.520 = symbolic_binding_pattern W, 0 [concrete] +// CHECK:STDOUT: %w.param_patt: @HandleTameAnimal.%pattern_type (%pattern_type.313) = value_param_pattern [concrete] +// CHECK:STDOUT: %w.patt: @HandleTameAnimal.%pattern_type (%pattern_type.313) = at_binding_pattern w, %w.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc9_39.1: type = splice_block %.loc9_39.3 [concrete = constants.%facet_type.070] { +// CHECK:STDOUT: %.loc9_39.1: type = splice_block %.loc9_39.3 [concrete = constants.%facet_type.ca2] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Eats.ref: type = name_ref Eats, file.%Eats.decl [concrete = constants.%Eats.type] // CHECK:STDOUT: %Animal.ref: type = name_ref Animal, file.%Animal.decl [concrete = constants.%Animal.type] -// CHECK:STDOUT: %impl.elem0.loc9_30: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %bound_method.loc9_30: = bound_method %Eats.ref, %impl.elem0.loc9_30 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.634] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc9_30: init type = call %bound_method.loc9_30(%Eats.ref, %Animal.ref) [concrete = constants.%facet_type.e4f] +// CHECK:STDOUT: %impl.elem0.loc9_30: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %bound_method.loc9_30: = bound_method %Eats.ref, %impl.elem0.loc9_30 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.7a1] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc9_30: init type = call %bound_method.loc9_30(%Eats.ref, %Animal.ref) [concrete = constants.%facet_type.cfc] // CHECK:STDOUT: %Tame.ref: type = name_ref Tame, file.%Tame.decl [concrete = constants.%Tame.type] -// CHECK:STDOUT: %impl.elem0.loc9_39: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %bound_method.loc9_39: = bound_method %type.as.BitAndWith.impl.Op.call.loc9_30, %impl.elem0.loc9_39 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.0a7] -// CHECK:STDOUT: %.loc9_30.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc9_30 [concrete = constants.%facet_type.e4f] -// CHECK:STDOUT: %.loc9_30.2: type = converted %type.as.BitAndWith.impl.Op.call.loc9_30, %.loc9_30.1 [concrete = constants.%facet_type.e4f] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc9_39: init type = call %bound_method.loc9_39(%.loc9_30.2, %Tame.ref) [concrete = constants.%facet_type.070] -// CHECK:STDOUT: %.loc9_39.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc9_39 [concrete = constants.%facet_type.070] -// CHECK:STDOUT: %.loc9_39.3: type = converted %type.as.BitAndWith.impl.Op.call.loc9_39, %.loc9_39.2 [concrete = constants.%facet_type.070] +// CHECK:STDOUT: %impl.elem0.loc9_39: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %bound_method.loc9_39: = bound_method %type.as.BitAndWith.impl.Op.call.loc9_30, %impl.elem0.loc9_39 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.713] +// CHECK:STDOUT: %.loc9_30.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc9_30 [concrete = constants.%facet_type.cfc] +// CHECK:STDOUT: %.loc9_30.2: type = converted %type.as.BitAndWith.impl.Op.call.loc9_30, %.loc9_30.1 [concrete = constants.%facet_type.cfc] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc9_39: init type = call %bound_method.loc9_39(%.loc9_30.2, %Tame.ref) [concrete = constants.%facet_type.ca2] +// CHECK:STDOUT: %.loc9_39.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc9_39 [concrete = constants.%facet_type.ca2] +// CHECK:STDOUT: %.loc9_39.3: type = converted %type.as.BitAndWith.impl.Op.call.loc9_39, %.loc9_39.2 [concrete = constants.%facet_type.ca2] // CHECK:STDOUT: } -// CHECK:STDOUT: %W.loc9_22.2: %facet_type.070 = symbolic_binding W, 0 [symbolic = %W.loc9_22.1 (constants.%W)] +// CHECK:STDOUT: %W.loc9_22.2: %facet_type.ca2 = symbolic_binding W, 0 [symbolic = %W.loc9_22.1 (constants.%W)] // CHECK:STDOUT: %w.param: @HandleTameAnimal.%W.as_type.loc9_50.1 (%W.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc9_50.1: type = splice_block %.loc9_50.2 [symbolic = %W.as_type.loc9_50.1 (constants.%W.as_type)] { -// CHECK:STDOUT: %W.ref: %facet_type.070 = name_ref W, %W.loc9_22.2 [symbolic = %W.loc9_22.1 (constants.%W)] +// CHECK:STDOUT: %W.ref: %facet_type.ca2 = name_ref W, %W.loc9_22.2 [symbolic = %W.loc9_22.1 (constants.%W)] // CHECK:STDOUT: %W.as_type.loc9_50.2: type = facet_access_type %W.ref [symbolic = %W.as_type.loc9_50.1 (constants.%W.as_type)] // CHECK:STDOUT: %.loc9_50.2: type = converted %W.ref, %W.as_type.loc9_50.2 [symbolic = %W.as_type.loc9_50.1 (constants.%W.as_type)] // CHECK:STDOUT: } @@ -411,7 +411,7 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Eats { -// CHECK:STDOUT: %Self: %Eats.type = symbolic_binding Self, 0 [symbolic = constants.%Self.063] +// CHECK:STDOUT: %Self: %Eats.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d7f] // CHECK:STDOUT: %Eats.WithSelf.decl = interface_with_self_decl @Eats [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -422,7 +422,7 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { -// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.65f] +// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.1ff] // CHECK:STDOUT: %Animal.WithSelf.decl = interface_with_self_decl @Animal [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -433,7 +433,7 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Tame { -// CHECK:STDOUT: %Self: %Tame.type = symbolic_binding Self, 0 [symbolic = constants.%Self.cf5] +// CHECK:STDOUT: %Self: %Tame.type = symbolic_binding Self, 0 [symbolic = constants.%Self.fa6] // CHECK:STDOUT: %Tame.WithSelf.decl = interface_with_self_decl @Tame [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -443,13 +443,13 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @FeedTame(%V.loc7_14.2: %facet_type.aaf) { -// CHECK:STDOUT: %V.loc7_14.1: %facet_type.aaf = symbolic_binding V, 0 [symbolic = %V.loc7_14.1 (constants.%V)] +// CHECK:STDOUT: generic fn @FeedTame(%V.loc7_14.2: %facet_type.4b9) { +// CHECK:STDOUT: %V.loc7_14.1: %facet_type.4b9 = symbolic_binding V, 0 [symbolic = %V.loc7_14.1 (constants.%V)] // CHECK:STDOUT: %V.as_type.loc7_40.1: type = facet_access_type %V.loc7_14.1 [symbolic = %V.as_type.loc7_40.1 (constants.%V.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %V.as_type.loc7_40.1 [symbolic = %pattern_type (constants.%pattern_type.56c)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %V.as_type.loc7_40.1 [symbolic = %pattern_type (constants.%pattern_type.06d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %V.as_type.loc7_40.1 [symbolic = %require_complete (constants.%require_complete.112)] +// CHECK:STDOUT: %require_complete: = require_complete_type %V.as_type.loc7_40.1 [symbolic = %require_complete (constants.%require_complete.b02)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%v.param: @FeedTame.%V.as_type.loc7_40.1 (%V.as_type)) { // CHECK:STDOUT: !entry: @@ -457,114 +457,114 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @HandleTameAnimal(%W.loc9_22.2: %facet_type.070) { -// CHECK:STDOUT: %W.loc9_22.1: %facet_type.070 = symbolic_binding W, 0 [symbolic = %W.loc9_22.1 (constants.%W)] +// CHECK:STDOUT: generic fn @HandleTameAnimal(%W.loc9_22.2: %facet_type.ca2) { +// CHECK:STDOUT: %W.loc9_22.1: %facet_type.ca2 = symbolic_binding W, 0 [symbolic = %W.loc9_22.1 (constants.%W)] // CHECK:STDOUT: %W.as_type.loc9_50.1: type = facet_access_type %W.loc9_22.1 [symbolic = %W.as_type.loc9_50.1 (constants.%W.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %W.as_type.loc9_50.1 [symbolic = %pattern_type (constants.%pattern_type.412)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %W.as_type.loc9_50.1 [symbolic = %pattern_type (constants.%pattern_type.313)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %W.as_type.loc9_50.1 [symbolic = %require_complete (constants.%require_complete.12f)] +// CHECK:STDOUT: %require_complete: = require_complete_type %W.as_type.loc9_50.1 [symbolic = %require_complete (constants.%require_complete.554)] // CHECK:STDOUT: %Eats.lookup_impl_witness: = lookup_impl_witness %W.loc9_22.1, @Eats [symbolic = %Eats.lookup_impl_witness (constants.%Eats.lookup_impl_witness)] // CHECK:STDOUT: %Tame.lookup_impl_witness: = lookup_impl_witness %W.loc9_22.1, @Tame [symbolic = %Tame.lookup_impl_witness (constants.%Tame.lookup_impl_witness)] -// CHECK:STDOUT: %facet_value.loc10_13.2: %facet_type.aaf = facet_value %W.as_type.loc9_50.1, (%Eats.lookup_impl_witness, %Tame.lookup_impl_witness) [symbolic = %facet_value.loc10_13.2 (constants.%facet_value)] +// CHECK:STDOUT: %facet_value.loc10_13.2: %facet_type.4b9 = facet_value %W.as_type.loc9_50.1, (%Eats.lookup_impl_witness, %Tame.lookup_impl_witness) [symbolic = %facet_value.loc10_13.2 (constants.%facet_value)] // CHECK:STDOUT: %FeedTame.specific_fn.loc10_3.2: = specific_function constants.%FeedTame, @FeedTame(%facet_value.loc10_13.2) [symbolic = %FeedTame.specific_fn.loc10_3.2 (constants.%FeedTame.specific_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%w.param: @HandleTameAnimal.%W.as_type.loc9_50.1 (%W.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %FeedTame.ref: %FeedTame.type = name_ref FeedTame, file.%FeedTame.decl [concrete = constants.%FeedTame] // CHECK:STDOUT: %w.ref: @HandleTameAnimal.%W.as_type.loc9_50.1 (%W.as_type) = name_ref w, %w -// CHECK:STDOUT: %facet_value.loc10_13.1: %facet_type.aaf = facet_value constants.%W.as_type, (constants.%Eats.lookup_impl_witness, constants.%Tame.lookup_impl_witness) [symbolic = %facet_value.loc10_13.2 (constants.%facet_value)] -// CHECK:STDOUT: %.loc10: %facet_type.aaf = converted constants.%W.as_type, %facet_value.loc10_13.1 [symbolic = %facet_value.loc10_13.2 (constants.%facet_value)] +// CHECK:STDOUT: %facet_value.loc10_13.1: %facet_type.4b9 = facet_value constants.%W.as_type, (constants.%Eats.lookup_impl_witness, constants.%Tame.lookup_impl_witness) [symbolic = %facet_value.loc10_13.2 (constants.%facet_value)] +// CHECK:STDOUT: %.loc10: %facet_type.4b9 = converted constants.%W.as_type, %facet_value.loc10_13.1 [symbolic = %facet_value.loc10_13.2 (constants.%facet_value)] // CHECK:STDOUT: %FeedTame.specific_fn.loc10_3.1: = specific_function %FeedTame.ref, @FeedTame(constants.%facet_value) [symbolic = %FeedTame.specific_fn.loc10_3.2 (constants.%FeedTame.specific_fn)] // CHECK:STDOUT: %FeedTame.call: init %empty_tuple.type = call %FeedTame.specific_fn.loc10_3.1(%w.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.063) { +// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.d7f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.65f) { +// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.1ff) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Tame.WithSelf(constants.%Self.cf5) { +// CHECK:STDOUT: specific @Tame.WithSelf(constants.%Self.fa6) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @FeedTame(constants.%V) { // CHECK:STDOUT: %V.loc7_14.1 => constants.%V // CHECK:STDOUT: %V.as_type.loc7_40.1 => constants.%V.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.56c +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.06d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HandleTameAnimal(constants.%W) { // CHECK:STDOUT: %W.loc9_22.1 => constants.%W // CHECK:STDOUT: %W.as_type.loc9_50.1 => constants.%W.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.412 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.313 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @FeedTame(constants.%facet_value) { // CHECK:STDOUT: %V.loc7_14.1 => constants.%facet_value // CHECK:STDOUT: %V.as_type.loc7_40.1 => constants.%W.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.412 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.313 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.12f +// CHECK:STDOUT: %require_complete => constants.%require_complete.554 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- with_blanket.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Eats.type: type = facet_type <@Eats> [concrete] -// CHECK:STDOUT: %Self.9d0: %Eats.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d7f: %Eats.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Animal.type: type = facet_type <@Animal> [concrete] -// CHECK:STDOUT: %Self.387: %Animal.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.1ff: %Animal.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Tame.type: type = facet_type <@Tame> [concrete] -// CHECK:STDOUT: %Self.6ab: %Tame.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.fa6: %Tame.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.3ae: type = pattern_type %Animal.type [concrete] +// CHECK:STDOUT: %pattern_type.5a8: type = pattern_type %Animal.type [concrete] // CHECK:STDOUT: %A: %Animal.type = symbolic_binding A, 0 [symbolic] // CHECK:STDOUT: %A.as_type: type = facet_access_type %A [symbolic] -// CHECK:STDOUT: %Eats.impl_witness.593: = impl_witness @A.as_type.as.Eats.impl.%Eats.impl_witness_table, @A.as_type.as.Eats.impl(%A) [symbolic] -// CHECK:STDOUT: %Eats.facet: %Eats.type = facet_value %A.as_type, (%Eats.impl_witness.593) [symbolic] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %Eats.impl_witness.0b6: = impl_witness @A.as_type.as.Eats.impl.%Eats.impl_witness_table, @A.as_type.as.Eats.impl(%A) [symbolic] +// CHECK:STDOUT: %Eats.facet: %Eats.type = facet_value %A.as_type, (%Eats.impl_witness.0b6) [symbolic] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.755: = bound_method %Tame.type, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %facet_type.566: type = facet_type <@Eats & @Tame> [concrete] -// CHECK:STDOUT: %pattern_type.198: type = pattern_type %facet_type.566 [concrete] -// CHECK:STDOUT: %V: %facet_type.566 = symbolic_binding V, 0 [symbolic] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.25a: = bound_method %Tame.type, %type.as.BitAndWith.impl.Op [concrete] +// CHECK:STDOUT: %facet_type.4b9: type = facet_type <@Eats & @Tame> [concrete] +// CHECK:STDOUT: %pattern_type.2c6: type = pattern_type %facet_type.4b9 [concrete] +// CHECK:STDOUT: %V: %facet_type.4b9 = symbolic_binding V, 0 [symbolic] // CHECK:STDOUT: %V.as_type: type = facet_access_type %V [symbolic] -// CHECK:STDOUT: %pattern_type.916: type = pattern_type %V.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.06d: type = pattern_type %V.as_type [symbolic] // CHECK:STDOUT: %FeedTame2.type: type = fn_type @FeedTame2 [concrete] // CHECK:STDOUT: %FeedTame2: %FeedTame2.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.b01: = require_complete_type %V.as_type [symbolic] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.ac1: = bound_method %Animal.type, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %facet_type.72f: type = facet_type <@Animal & @Tame> [concrete] -// CHECK:STDOUT: %pattern_type.63b: type = pattern_type %facet_type.72f [concrete] -// CHECK:STDOUT: %W: %facet_type.72f = symbolic_binding W, 0 [symbolic] +// CHECK:STDOUT: %require_complete.b02: = require_complete_type %V.as_type [symbolic] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound.258: = bound_method %Animal.type, %type.as.BitAndWith.impl.Op [concrete] +// CHECK:STDOUT: %facet_type.e4f: type = facet_type <@Animal & @Tame> [concrete] +// CHECK:STDOUT: %pattern_type.cd7: type = pattern_type %facet_type.e4f [concrete] +// CHECK:STDOUT: %W: %facet_type.e4f = symbolic_binding W, 0 [symbolic] // CHECK:STDOUT: %W.as_type: type = facet_access_type %W [symbolic] -// CHECK:STDOUT: %pattern_type.746: type = pattern_type %W.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.d5d: type = pattern_type %W.as_type [symbolic] // CHECK:STDOUT: %HandleTameAnimal2.type: type = fn_type @HandleTameAnimal2 [concrete] // CHECK:STDOUT: %HandleTameAnimal2: %HandleTameAnimal2.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.ca6: = require_complete_type %W.as_type [symbolic] +// CHECK:STDOUT: %require_complete.695: = require_complete_type %W.as_type [symbolic] // CHECK:STDOUT: %Eats.lookup_impl_witness: = lookup_impl_witness %W, @Eats [symbolic] // CHECK:STDOUT: %Animal.lookup_impl_witness: = lookup_impl_witness %W, @Animal [symbolic] // CHECK:STDOUT: %Animal.facet: %Animal.type = facet_value %W.as_type, (%Animal.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Eats.impl_witness.72d: = impl_witness @A.as_type.as.Eats.impl.%Eats.impl_witness_table, @A.as_type.as.Eats.impl(%Animal.facet) [symbolic] -// CHECK:STDOUT: %.c29: require_specific_def_type = require_specific_def @A.as_type.as.Eats.impl(%Animal.facet) [symbolic] +// CHECK:STDOUT: %Eats.impl_witness.c11: = impl_witness @A.as_type.as.Eats.impl.%Eats.impl_witness_table, @A.as_type.as.Eats.impl(%Animal.facet) [symbolic] +// CHECK:STDOUT: %.46c: require_specific_def_type = require_specific_def @A.as_type.as.Eats.impl(%Animal.facet) [symbolic] // CHECK:STDOUT: %Tame.lookup_impl_witness: = lookup_impl_witness %W, @Tame [symbolic] -// CHECK:STDOUT: %facet_value: %facet_type.566 = facet_value %W.as_type, (%Eats.lookup_impl_witness, %Tame.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %facet_value: %facet_type.4b9 = facet_value %W.as_type, (%Eats.lookup_impl_witness, %Tame.lookup_impl_witness) [symbolic] // CHECK:STDOUT: %FeedTame2.specific_fn: = specific_function %FeedTame2, @FeedTame2(%facet_value) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -574,9 +574,9 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -593,7 +593,7 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: %Animal.decl: type = interface_decl @Animal [concrete = constants.%Animal.type] {} {} // CHECK:STDOUT: %Tame.decl: type = interface_decl @Tame [concrete = constants.%Tame.type] {} {} // CHECK:STDOUT: impl_decl @A.as_type.as.Eats.impl [concrete] { -// CHECK:STDOUT: %A.patt: %pattern_type.3ae = symbolic_binding_pattern A, 0 [concrete] +// CHECK:STDOUT: %A.patt: %pattern_type.5a8 = symbolic_binding_pattern A, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %A.ref: %Animal.type = name_ref A, %A.loc7_15.1 [symbolic = %A.loc7_15.2 (constants.%A)] // CHECK:STDOUT: %A.as_type.loc7_26.1: type = facet_access_type %A.ref [symbolic = %A.as_type.loc7_26.2 (constants.%A.as_type)] @@ -606,48 +606,48 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: %A.loc7_15.1: %Animal.type = symbolic_binding A, 0 [symbolic = %A.loc7_15.2 (constants.%A)] // CHECK:STDOUT: } // CHECK:STDOUT: %FeedTame2.decl: %FeedTame2.type = fn_decl @FeedTame2 [concrete = constants.%FeedTame2] { -// CHECK:STDOUT: %V.patt: %pattern_type.198 = symbolic_binding_pattern V, 0 [concrete] -// CHECK:STDOUT: %v.param_patt: @FeedTame2.%pattern_type (%pattern_type.916) = value_param_pattern [concrete] -// CHECK:STDOUT: %v.patt: @FeedTame2.%pattern_type (%pattern_type.916) = at_binding_pattern v, %v.param_patt [concrete] +// CHECK:STDOUT: %V.patt: %pattern_type.2c6 = symbolic_binding_pattern V, 0 [concrete] +// CHECK:STDOUT: %v.param_patt: @FeedTame2.%pattern_type (%pattern_type.06d) = value_param_pattern [concrete] +// CHECK:STDOUT: %v.patt: @FeedTame2.%pattern_type (%pattern_type.06d) = at_binding_pattern v, %v.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc9_23.1: type = splice_block %.loc9_23.3 [concrete = constants.%facet_type.566] { +// CHECK:STDOUT: %.loc9_23.1: type = splice_block %.loc9_23.3 [concrete = constants.%facet_type.4b9] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Tame.ref: type = name_ref Tame, file.%Tame.decl [concrete = constants.%Tame.type] // CHECK:STDOUT: %Eats.ref: type = name_ref Eats, file.%Eats.decl [concrete = constants.%Eats.type] -// CHECK:STDOUT: %impl.elem0: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %bound_method: = bound_method %Tame.ref, %impl.elem0 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.755] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%Tame.ref, %Eats.ref) [concrete = constants.%facet_type.566] -// CHECK:STDOUT: %.loc9_23.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type.566] -// CHECK:STDOUT: %.loc9_23.3: type = converted %type.as.BitAndWith.impl.Op.call, %.loc9_23.2 [concrete = constants.%facet_type.566] +// CHECK:STDOUT: %impl.elem0: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %bound_method: = bound_method %Tame.ref, %impl.elem0 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.25a] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%Tame.ref, %Eats.ref) [concrete = constants.%facet_type.4b9] +// CHECK:STDOUT: %.loc9_23.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type.4b9] +// CHECK:STDOUT: %.loc9_23.3: type = converted %type.as.BitAndWith.impl.Op.call, %.loc9_23.2 [concrete = constants.%facet_type.4b9] // CHECK:STDOUT: } -// CHECK:STDOUT: %V.loc9_15.2: %facet_type.566 = symbolic_binding V, 0 [symbolic = %V.loc9_15.1 (constants.%V)] +// CHECK:STDOUT: %V.loc9_15.2: %facet_type.4b9 = symbolic_binding V, 0 [symbolic = %V.loc9_15.1 (constants.%V)] // CHECK:STDOUT: %v.param: @FeedTame2.%V.as_type.loc9_41.1 (%V.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc9_41.1: type = splice_block %.loc9_41.2 [symbolic = %V.as_type.loc9_41.1 (constants.%V.as_type)] { -// CHECK:STDOUT: %V.ref: %facet_type.566 = name_ref V, %V.loc9_15.2 [symbolic = %V.loc9_15.1 (constants.%V)] +// CHECK:STDOUT: %V.ref: %facet_type.4b9 = name_ref V, %V.loc9_15.2 [symbolic = %V.loc9_15.1 (constants.%V)] // CHECK:STDOUT: %V.as_type.loc9_41.2: type = facet_access_type %V.ref [symbolic = %V.as_type.loc9_41.1 (constants.%V.as_type)] // CHECK:STDOUT: %.loc9_41.2: type = converted %V.ref, %V.as_type.loc9_41.2 [symbolic = %V.as_type.loc9_41.1 (constants.%V.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: %v: @FeedTame2.%V.as_type.loc9_41.1 (%V.as_type) = value_binding v, %v.param // CHECK:STDOUT: } // CHECK:STDOUT: %HandleTameAnimal2.decl: %HandleTameAnimal2.type = fn_decl @HandleTameAnimal2 [concrete = constants.%HandleTameAnimal2] { -// CHECK:STDOUT: %W.patt: %pattern_type.63b = symbolic_binding_pattern W, 0 [concrete] -// CHECK:STDOUT: %w.param_patt: @HandleTameAnimal2.%pattern_type (%pattern_type.746) = value_param_pattern [concrete] -// CHECK:STDOUT: %w.patt: @HandleTameAnimal2.%pattern_type (%pattern_type.746) = at_binding_pattern w, %w.param_patt [concrete] +// CHECK:STDOUT: %W.patt: %pattern_type.cd7 = symbolic_binding_pattern W, 0 [concrete] +// CHECK:STDOUT: %w.param_patt: @HandleTameAnimal2.%pattern_type (%pattern_type.d5d) = value_param_pattern [concrete] +// CHECK:STDOUT: %w.patt: @HandleTameAnimal2.%pattern_type (%pattern_type.d5d) = at_binding_pattern w, %w.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc11_33.1: type = splice_block %.loc11_33.3 [concrete = constants.%facet_type.72f] { +// CHECK:STDOUT: %.loc11_33.1: type = splice_block %.loc11_33.3 [concrete = constants.%facet_type.e4f] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Animal.ref: type = name_ref Animal, file.%Animal.decl [concrete = constants.%Animal.type] // CHECK:STDOUT: %Tame.ref: type = name_ref Tame, file.%Tame.decl [concrete = constants.%Tame.type] -// CHECK:STDOUT: %impl.elem0: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %bound_method: = bound_method %Animal.ref, %impl.elem0 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.ac1] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%Animal.ref, %Tame.ref) [concrete = constants.%facet_type.72f] -// CHECK:STDOUT: %.loc11_33.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type.72f] -// CHECK:STDOUT: %.loc11_33.3: type = converted %type.as.BitAndWith.impl.Op.call, %.loc11_33.2 [concrete = constants.%facet_type.72f] +// CHECK:STDOUT: %impl.elem0: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %bound_method: = bound_method %Animal.ref, %impl.elem0 [concrete = constants.%type.as.BitAndWith.impl.Op.bound.258] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%Animal.ref, %Tame.ref) [concrete = constants.%facet_type.e4f] +// CHECK:STDOUT: %.loc11_33.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type.e4f] +// CHECK:STDOUT: %.loc11_33.3: type = converted %type.as.BitAndWith.impl.Op.call, %.loc11_33.2 [concrete = constants.%facet_type.e4f] // CHECK:STDOUT: } -// CHECK:STDOUT: %W.loc11_23.2: %facet_type.72f = symbolic_binding W, 0 [symbolic = %W.loc11_23.1 (constants.%W)] +// CHECK:STDOUT: %W.loc11_23.2: %facet_type.e4f = symbolic_binding W, 0 [symbolic = %W.loc11_23.1 (constants.%W)] // CHECK:STDOUT: %w.param: @HandleTameAnimal2.%W.as_type.loc11_44.1 (%W.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc11_44.1: type = splice_block %.loc11_44.2 [symbolic = %W.as_type.loc11_44.1 (constants.%W.as_type)] { -// CHECK:STDOUT: %W.ref: %facet_type.72f = name_ref W, %W.loc11_23.2 [symbolic = %W.loc11_23.1 (constants.%W)] +// CHECK:STDOUT: %W.ref: %facet_type.e4f = name_ref W, %W.loc11_23.2 [symbolic = %W.loc11_23.1 (constants.%W)] // CHECK:STDOUT: %W.as_type.loc11_44.2: type = facet_access_type %W.ref [symbolic = %W.as_type.loc11_44.1 (constants.%W.as_type)] // CHECK:STDOUT: %.loc11_44.2: type = converted %W.ref, %W.as_type.loc11_44.2 [symbolic = %W.as_type.loc11_44.1 (constants.%W.as_type)] // CHECK:STDOUT: } @@ -656,7 +656,7 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Eats { -// CHECK:STDOUT: %Self: %Eats.type = symbolic_binding Self, 0 [symbolic = constants.%Self.9d0] +// CHECK:STDOUT: %Self: %Eats.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d7f] // CHECK:STDOUT: %Eats.WithSelf.decl = interface_with_self_decl @Eats [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -667,7 +667,7 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { -// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.387] +// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.1ff] // CHECK:STDOUT: %Animal.WithSelf.decl = interface_with_self_decl @Animal [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -678,7 +678,7 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Tame { -// CHECK:STDOUT: %Self: %Tame.type = symbolic_binding Self, 0 [symbolic = constants.%Self.6ab] +// CHECK:STDOUT: %Self: %Tame.type = symbolic_binding Self, 0 [symbolic = constants.%Self.fa6] // CHECK:STDOUT: %Tame.WithSelf.decl = interface_with_self_decl @Tame [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -691,13 +691,13 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: generic impl @A.as_type.as.Eats.impl(%A.loc7_15.1: %Animal.type) { // CHECK:STDOUT: %A.loc7_15.2: %Animal.type = symbolic_binding A, 0 [symbolic = %A.loc7_15.2 (constants.%A)] // CHECK:STDOUT: %A.as_type.loc7_26.2: type = facet_access_type %A.loc7_15.2 [symbolic = %A.as_type.loc7_26.2 (constants.%A.as_type)] -// CHECK:STDOUT: %Eats.impl_witness.loc7_36.2: = impl_witness %Eats.impl_witness_table, @A.as_type.as.Eats.impl(%A.loc7_15.2) [symbolic = %Eats.impl_witness.loc7_36.2 (constants.%Eats.impl_witness.593)] +// CHECK:STDOUT: %Eats.impl_witness.loc7_36.2: = impl_witness %Eats.impl_witness_table, @A.as_type.as.Eats.impl(%A.loc7_15.2) [symbolic = %Eats.impl_witness.loc7_36.2 (constants.%Eats.impl_witness.0b6)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: impl: %.loc7_26 as %Eats.ref { // CHECK:STDOUT: %Eats.impl_witness_table = impl_witness_table (), @A.as_type.as.Eats.impl [concrete] -// CHECK:STDOUT: %Eats.impl_witness.loc7_36.1: = impl_witness %Eats.impl_witness_table, @A.as_type.as.Eats.impl(constants.%A) [symbolic = %Eats.impl_witness.loc7_36.2 (constants.%Eats.impl_witness.593)] +// CHECK:STDOUT: %Eats.impl_witness.loc7_36.1: = impl_witness %Eats.impl_witness_table, @A.as_type.as.Eats.impl(constants.%A) [symbolic = %Eats.impl_witness.loc7_36.2 (constants.%Eats.impl_witness.0b6)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %Eats.ref @@ -705,13 +705,13 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @FeedTame2(%V.loc9_15.2: %facet_type.566) { -// CHECK:STDOUT: %V.loc9_15.1: %facet_type.566 = symbolic_binding V, 0 [symbolic = %V.loc9_15.1 (constants.%V)] +// CHECK:STDOUT: generic fn @FeedTame2(%V.loc9_15.2: %facet_type.4b9) { +// CHECK:STDOUT: %V.loc9_15.1: %facet_type.4b9 = symbolic_binding V, 0 [symbolic = %V.loc9_15.1 (constants.%V)] // CHECK:STDOUT: %V.as_type.loc9_41.1: type = facet_access_type %V.loc9_15.1 [symbolic = %V.as_type.loc9_41.1 (constants.%V.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %V.as_type.loc9_41.1 [symbolic = %pattern_type (constants.%pattern_type.916)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %V.as_type.loc9_41.1 [symbolic = %pattern_type (constants.%pattern_type.06d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %V.as_type.loc9_41.1 [symbolic = %require_complete (constants.%require_complete.b01)] +// CHECK:STDOUT: %require_complete: = require_complete_type %V.as_type.loc9_41.1 [symbolic = %require_complete (constants.%require_complete.b02)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%v.param: @FeedTame2.%V.as_type.loc9_41.1 (%V.as_type)) { // CHECK:STDOUT: !entry: @@ -719,49 +719,49 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @HandleTameAnimal2(%W.loc11_23.2: %facet_type.72f) { -// CHECK:STDOUT: %W.loc11_23.1: %facet_type.72f = symbolic_binding W, 0 [symbolic = %W.loc11_23.1 (constants.%W)] +// CHECK:STDOUT: generic fn @HandleTameAnimal2(%W.loc11_23.2: %facet_type.e4f) { +// CHECK:STDOUT: %W.loc11_23.1: %facet_type.e4f = symbolic_binding W, 0 [symbolic = %W.loc11_23.1 (constants.%W)] // CHECK:STDOUT: %W.as_type.loc11_44.1: type = facet_access_type %W.loc11_23.1 [symbolic = %W.as_type.loc11_44.1 (constants.%W.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %W.as_type.loc11_44.1 [symbolic = %pattern_type (constants.%pattern_type.746)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %W.as_type.loc11_44.1 [symbolic = %pattern_type (constants.%pattern_type.d5d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %W.as_type.loc11_44.1 [symbolic = %require_complete (constants.%require_complete.ca6)] +// CHECK:STDOUT: %require_complete: = require_complete_type %W.as_type.loc11_44.1 [symbolic = %require_complete (constants.%require_complete.695)] // CHECK:STDOUT: %Animal.lookup_impl_witness: = lookup_impl_witness %W.loc11_23.1, @Animal [symbolic = %Animal.lookup_impl_witness (constants.%Animal.lookup_impl_witness)] // CHECK:STDOUT: %Animal.facet: %Animal.type = facet_value %W.as_type.loc11_44.1, (%Animal.lookup_impl_witness) [symbolic = %Animal.facet (constants.%Animal.facet)] -// CHECK:STDOUT: %.loc12_14.2: require_specific_def_type = require_specific_def @A.as_type.as.Eats.impl(%Animal.facet) [symbolic = %.loc12_14.2 (constants.%.c29)] +// CHECK:STDOUT: %.loc12_14.2: require_specific_def_type = require_specific_def @A.as_type.as.Eats.impl(%Animal.facet) [symbolic = %.loc12_14.2 (constants.%.46c)] // CHECK:STDOUT: %Eats.lookup_impl_witness: = lookup_impl_witness %W.loc11_23.1, @Eats [symbolic = %Eats.lookup_impl_witness (constants.%Eats.lookup_impl_witness)] // CHECK:STDOUT: %Tame.lookup_impl_witness: = lookup_impl_witness %W.loc11_23.1, @Tame [symbolic = %Tame.lookup_impl_witness (constants.%Tame.lookup_impl_witness)] -// CHECK:STDOUT: %facet_value.loc12_14.2: %facet_type.566 = facet_value %W.as_type.loc11_44.1, (%Eats.lookup_impl_witness, %Tame.lookup_impl_witness) [symbolic = %facet_value.loc12_14.2 (constants.%facet_value)] +// CHECK:STDOUT: %facet_value.loc12_14.2: %facet_type.4b9 = facet_value %W.as_type.loc11_44.1, (%Eats.lookup_impl_witness, %Tame.lookup_impl_witness) [symbolic = %facet_value.loc12_14.2 (constants.%facet_value)] // CHECK:STDOUT: %FeedTame2.specific_fn.loc12_3.2: = specific_function constants.%FeedTame2, @FeedTame2(%facet_value.loc12_14.2) [symbolic = %FeedTame2.specific_fn.loc12_3.2 (constants.%FeedTame2.specific_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%w.param: @HandleTameAnimal2.%W.as_type.loc11_44.1 (%W.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %FeedTame2.ref: %FeedTame2.type = name_ref FeedTame2, file.%FeedTame2.decl [concrete = constants.%FeedTame2] // CHECK:STDOUT: %w.ref: @HandleTameAnimal2.%W.as_type.loc11_44.1 (%W.as_type) = name_ref w, %w -// CHECK:STDOUT: %facet_value.loc12_14.1: %facet_type.566 = facet_value constants.%W.as_type, (constants.%Eats.lookup_impl_witness, constants.%Tame.lookup_impl_witness) [symbolic = %facet_value.loc12_14.2 (constants.%facet_value)] -// CHECK:STDOUT: %.loc12_14.1: %facet_type.566 = converted constants.%W.as_type, %facet_value.loc12_14.1 [symbolic = %facet_value.loc12_14.2 (constants.%facet_value)] +// CHECK:STDOUT: %facet_value.loc12_14.1: %facet_type.4b9 = facet_value constants.%W.as_type, (constants.%Eats.lookup_impl_witness, constants.%Tame.lookup_impl_witness) [symbolic = %facet_value.loc12_14.2 (constants.%facet_value)] +// CHECK:STDOUT: %.loc12_14.1: %facet_type.4b9 = converted constants.%W.as_type, %facet_value.loc12_14.1 [symbolic = %facet_value.loc12_14.2 (constants.%facet_value)] // CHECK:STDOUT: %FeedTame2.specific_fn.loc12_3.1: = specific_function %FeedTame2.ref, @FeedTame2(constants.%facet_value) [symbolic = %FeedTame2.specific_fn.loc12_3.2 (constants.%FeedTame2.specific_fn)] // CHECK:STDOUT: %FeedTame2.call: init %empty_tuple.type = call %FeedTame2.specific_fn.loc12_3.1(%w.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.9d0) { +// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.d7f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.387) { +// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.1ff) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Tame.WithSelf(constants.%Self.6ab) { +// CHECK:STDOUT: specific @Tame.WithSelf(constants.%Self.fa6) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.as_type.as.Eats.impl(constants.%A) { // CHECK:STDOUT: %A.loc7_15.2 => constants.%A // CHECK:STDOUT: %A.as_type.loc7_26.2 => constants.%A.as_type -// CHECK:STDOUT: %Eats.impl_witness.loc7_36.2 => constants.%Eats.impl_witness.593 +// CHECK:STDOUT: %Eats.impl_witness.loc7_36.2 => constants.%Eats.impl_witness.0b6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Eats.WithSelf(constants.%Eats.facet) { @@ -771,19 +771,19 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: specific @FeedTame2(constants.%V) { // CHECK:STDOUT: %V.loc9_15.1 => constants.%V // CHECK:STDOUT: %V.as_type.loc9_41.1 => constants.%V.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.916 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.06d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HandleTameAnimal2(constants.%W) { // CHECK:STDOUT: %W.loc11_23.1 => constants.%W // CHECK:STDOUT: %W.as_type.loc11_44.1 => constants.%W.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.746 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d5d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.as_type.as.Eats.impl(constants.%Animal.facet) { // CHECK:STDOUT: %A.loc7_15.2 => constants.%Animal.facet // CHECK:STDOUT: %A.as_type.loc7_26.2 => constants.%W.as_type -// CHECK:STDOUT: %Eats.impl_witness.loc7_36.2 => constants.%Eats.impl_witness.72d +// CHECK:STDOUT: %Eats.impl_witness.loc7_36.2 => constants.%Eats.impl_witness.c11 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -791,10 +791,10 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: specific @FeedTame2(constants.%facet_value) { // CHECK:STDOUT: %V.loc9_15.1 => constants.%facet_value // CHECK:STDOUT: %V.as_type.loc9_41.1 => constants.%W.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.746 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d5d // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.ca6 +// CHECK:STDOUT: %require_complete => constants.%require_complete.695 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- equivalent.carbon @@ -804,22 +804,22 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.2a2: type = pattern_type %A.type [concrete] +// CHECK:STDOUT: %pattern_type.f8c: type = pattern_type %A.type [concrete] // CHECK:STDOUT: %T: %A.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.2274a9.1: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.de70ec.1: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %TakesA.type: type = fn_type @TakesA [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %TakesA: %TakesA.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.d2fd42.1: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %.Self.774: %A.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.774 [symbolic_self] +// CHECK:STDOUT: %require_complete.744919.1: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %.Self.357: %A.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.357 [symbolic_self] // CHECK:STDOUT: %U: %A.type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %pattern_type.2274a9.2: type = pattern_type %U.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.de70ec.2: type = pattern_type %U.as_type [symbolic] // CHECK:STDOUT: %WithExtraWhere.type: type = fn_type @WithExtraWhere [concrete] // CHECK:STDOUT: %WithExtraWhere: %WithExtraWhere.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.d2fd42.2: = require_complete_type %U.as_type [symbolic] +// CHECK:STDOUT: %require_complete.744919.2: = require_complete_type %U.as_type [symbolic] // CHECK:STDOUT: %TakesA.specific_fn: = specific_function %TakesA, @TakesA(%U) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -840,9 +840,9 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %A.decl: type = interface_decl @A [concrete = constants.%A.type] {} {} // CHECK:STDOUT: %TakesA.decl: %TakesA.type = fn_decl @TakesA [concrete = constants.%TakesA] { -// CHECK:STDOUT: %T.patt: %pattern_type.2a2 = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @TakesA.%pattern_type (%pattern_type.2274a9.1) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @TakesA.%pattern_type (%pattern_type.2274a9.1) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.f8c = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @TakesA.%pattern_type (%pattern_type.de70ec.1) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @TakesA.%pattern_type (%pattern_type.de70ec.1) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7_15: type = splice_block %A.ref [concrete = constants.%A.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] @@ -858,15 +858,15 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: %x: @TakesA.%T.as_type.loc7_28.1 (%T.as_type) = value_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: %WithExtraWhere.decl: %WithExtraWhere.type = fn_decl @WithExtraWhere [concrete = constants.%WithExtraWhere] { -// CHECK:STDOUT: %U.patt: %pattern_type.2a2 = symbolic_binding_pattern U, 0 [concrete] -// CHECK:STDOUT: %y.param_patt: @WithExtraWhere.%pattern_type (%pattern_type.2274a9.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %y.patt: @WithExtraWhere.%pattern_type (%pattern_type.2274a9.2) = at_binding_pattern y, %y.param_patt [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.f8c = symbolic_binding_pattern U, 0 [concrete] +// CHECK:STDOUT: %y.param_patt: @WithExtraWhere.%pattern_type (%pattern_type.de70ec.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %y.patt: @WithExtraWhere.%pattern_type (%pattern_type.de70ec.2) = at_binding_pattern y, %y.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc9_25.1: type = splice_block %.loc9_25.2 [concrete = constants.%A.type] { // CHECK:STDOUT: %.Self.loc9_20: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %.Self.loc9_25: %A.type = symbolic_binding .Self [symbolic_self = constants.%.Self.774] -// CHECK:STDOUT: %.Self.ref: %A.type = name_ref .Self, %.Self.loc9_25 [symbolic_self = constants.%.Self.774] +// CHECK:STDOUT: %.Self.loc9_25: %A.type = symbolic_binding .Self [symbolic_self = constants.%.Self.357] +// CHECK:STDOUT: %.Self.ref: %A.type = name_ref .Self, %.Self.loc9_25 [symbolic_self = constants.%.Self.357] // CHECK:STDOUT: %.loc9_43: type = type_literal type [concrete = type] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc9_31: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] @@ -900,10 +900,10 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: generic fn @TakesA(%T.loc7_12.2: %A.type) { // CHECK:STDOUT: %T.loc7_12.1: %A.type = symbolic_binding T, 0 [symbolic = %T.loc7_12.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc7_28.1: type = facet_access_type %T.loc7_12.1 [symbolic = %T.as_type.loc7_28.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc7_28.1 [symbolic = %pattern_type (constants.%pattern_type.2274a9.1)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc7_28.1 [symbolic = %pattern_type (constants.%pattern_type.de70ec.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc7_28.1 [symbolic = %require_complete (constants.%require_complete.d2fd42.1)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc7_28.1 [symbolic = %require_complete (constants.%require_complete.744919.1)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @TakesA.%T.as_type.loc7_28.1 (%T.as_type)) { // CHECK:STDOUT: !entry: @@ -914,10 +914,10 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: generic fn @WithExtraWhere(%U.loc9_20.2: %A.type) { // CHECK:STDOUT: %U.loc9_20.1: %A.type = symbolic_binding U, 0 [symbolic = %U.loc9_20.1 (constants.%U)] // CHECK:STDOUT: %U.as_type.loc9_52.1: type = facet_access_type %U.loc9_20.1 [symbolic = %U.as_type.loc9_52.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc9_52.1 [symbolic = %pattern_type (constants.%pattern_type.2274a9.2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc9_52.1 [symbolic = %pattern_type (constants.%pattern_type.de70ec.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc9_52.1 [symbolic = %require_complete (constants.%require_complete.d2fd42.2)] +// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc9_52.1 [symbolic = %require_complete (constants.%require_complete.744919.2)] // CHECK:STDOUT: %TakesA.specific_fn.loc10_3.2: = specific_function constants.%TakesA, @TakesA(%U.loc9_20.1) [symbolic = %TakesA.specific_fn.loc10_3.2 (constants.%TakesA.specific_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%y.param: @WithExtraWhere.%U.as_type.loc9_52.1 (%U.as_type)) { @@ -938,22 +938,22 @@ fn CallsWithTypeExplicit(U:! type) { // CHECK:STDOUT: specific @TakesA(constants.%T) { // CHECK:STDOUT: %T.loc7_12.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc7_28.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2274a9.1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.de70ec.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @WithExtraWhere(constants.%U) { // CHECK:STDOUT: %U.loc9_20.1 => constants.%U // CHECK:STDOUT: %U.as_type.loc9_52.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2274a9.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.de70ec.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TakesA(constants.%U) { // CHECK:STDOUT: %T.loc7_12.1 => constants.%U // CHECK:STDOUT: %T.as_type.loc7_28.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2274a9.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.de70ec.2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.d2fd42.2 +// CHECK:STDOUT: %require_complete => constants.%require_complete.744919.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- no_interfaces_success.carbon diff --git a/toolchain/check/testdata/facet/convert_facet_value_value_to_blanket_impl.carbon b/toolchain/check/testdata/facet/convert_facet_value_value_to_blanket_impl.carbon index 9ae64fc8052c..54701b93baed 100644 --- a/toolchain/check/testdata/facet/convert_facet_value_value_to_blanket_impl.carbon +++ b/toolchain/check/testdata/facet/convert_facet_value_value_to_blanket_impl.carbon @@ -25,35 +25,35 @@ fn HandleAnimal[T:! Animal](a: T) { Feed(a); } // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Eats.type: type = facet_type <@Eats> [concrete] -// CHECK:STDOUT: %Self.24a: %Eats.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d7f: %Eats.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Animal.type: type = facet_type <@Animal> [concrete] -// CHECK:STDOUT: %Self.d73: %Animal.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.1ff: %Animal.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.69f: type = pattern_type %Animal.type [concrete] +// CHECK:STDOUT: %pattern_type.5a8: type = pattern_type %Animal.type [concrete] // CHECK:STDOUT: %A: %Animal.type = symbolic_binding A, 0 [symbolic] // CHECK:STDOUT: %A.as_type: type = facet_access_type %A [symbolic] -// CHECK:STDOUT: %Eats.impl_witness.233549.1: = impl_witness @A.as_type.as.Eats.impl.%Eats.impl_witness_table, @A.as_type.as.Eats.impl(%A) [symbolic] -// CHECK:STDOUT: %Eats.facet.243: %Eats.type = facet_value %A.as_type, (%Eats.impl_witness.233549.1) [symbolic] -// CHECK:STDOUT: %pattern_type.42a: type = pattern_type %Eats.type [concrete] -// CHECK:STDOUT: %T.ad0: %Eats.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.f11: type = facet_access_type %T.ad0 [symbolic] -// CHECK:STDOUT: %pattern_type.434: type = pattern_type %T.as_type.f11 [symbolic] +// CHECK:STDOUT: %Eats.impl_witness.0b67a7.1: = impl_witness @A.as_type.as.Eats.impl.%Eats.impl_witness_table, @A.as_type.as.Eats.impl(%A) [symbolic] +// CHECK:STDOUT: %Eats.facet.eb6: %Eats.type = facet_value %A.as_type, (%Eats.impl_witness.0b67a7.1) [symbolic] +// CHECK:STDOUT: %pattern_type.3a5: type = pattern_type %Eats.type [concrete] +// CHECK:STDOUT: %T.ae6: %Eats.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.e42: type = facet_access_type %T.ae6 [symbolic] +// CHECK:STDOUT: %pattern_type.58d: type = pattern_type %T.as_type.e42 [symbolic] // CHECK:STDOUT: %Feed.type: type = fn_type @Feed [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Feed: %Feed.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.5df: = require_complete_type %T.as_type.f11 [symbolic] -// CHECK:STDOUT: %T.123: %Animal.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.6eb: type = facet_access_type %T.123 [symbolic] -// CHECK:STDOUT: %pattern_type.106: type = pattern_type %T.as_type.6eb [symbolic] +// CHECK:STDOUT: %require_complete.019: = require_complete_type %T.as_type.e42 [symbolic] +// CHECK:STDOUT: %T.34b: %Animal.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.975: type = facet_access_type %T.34b [symbolic] +// CHECK:STDOUT: %pattern_type.94e: type = pattern_type %T.as_type.975 [symbolic] // CHECK:STDOUT: %HandleAnimal.type: type = fn_type @HandleAnimal [concrete] // CHECK:STDOUT: %HandleAnimal: %HandleAnimal.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.284: = require_complete_type %T.as_type.6eb [symbolic] -// CHECK:STDOUT: %Eats.lookup_impl_witness: = lookup_impl_witness %T.123, @Eats [symbolic] -// CHECK:STDOUT: %Eats.impl_witness.233549.2: = impl_witness @A.as_type.as.Eats.impl.%Eats.impl_witness_table, @A.as_type.as.Eats.impl(%T.123) [symbolic] -// CHECK:STDOUT: %.658: require_specific_def_type = require_specific_def @A.as_type.as.Eats.impl(%T.123) [symbolic] -// CHECK:STDOUT: %Eats.facet.605: %Eats.type = facet_value %T.as_type.6eb, (%Eats.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Feed.specific_fn: = specific_function %Feed, @Feed(%Eats.facet.605) [symbolic] +// CHECK:STDOUT: %require_complete.b5c: = require_complete_type %T.as_type.975 [symbolic] +// CHECK:STDOUT: %Eats.lookup_impl_witness: = lookup_impl_witness %T.34b, @Eats [symbolic] +// CHECK:STDOUT: %Eats.impl_witness.0b67a7.2: = impl_witness @A.as_type.as.Eats.impl.%Eats.impl_witness_table, @A.as_type.as.Eats.impl(%T.34b) [symbolic] +// CHECK:STDOUT: %.8c6: require_specific_def_type = require_specific_def @A.as_type.as.Eats.impl(%T.34b) [symbolic] +// CHECK:STDOUT: %Eats.facet.3ce: %Eats.type = facet_value %T.as_type.975, (%Eats.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Feed.specific_fn: = specific_function %Feed, @Feed(%Eats.facet.3ce) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -75,7 +75,7 @@ fn HandleAnimal[T:! Animal](a: T) { Feed(a); } // CHECK:STDOUT: %Eats.decl: type = interface_decl @Eats [concrete = constants.%Eats.type] {} {} // CHECK:STDOUT: %Animal.decl: type = interface_decl @Animal [concrete = constants.%Animal.type] {} {} // CHECK:STDOUT: impl_decl @A.as_type.as.Eats.impl [concrete] { -// CHECK:STDOUT: %A.patt: %pattern_type.69f = symbolic_binding_pattern A, 0 [concrete] +// CHECK:STDOUT: %A.patt: %pattern_type.5a8 = symbolic_binding_pattern A, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %A.ref: %Animal.type = name_ref A, %A.loc18_15.1 [symbolic = %A.loc18_15.2 (constants.%A)] // CHECK:STDOUT: %A.as_type.loc18_26.1: type = facet_access_type %A.ref [symbolic = %A.as_type.loc18_26.2 (constants.%A.as_type)] @@ -88,45 +88,45 @@ fn HandleAnimal[T:! Animal](a: T) { Feed(a); } // CHECK:STDOUT: %A.loc18_15.1: %Animal.type = symbolic_binding A, 0 [symbolic = %A.loc18_15.2 (constants.%A)] // CHECK:STDOUT: } // CHECK:STDOUT: %Feed.decl: %Feed.type = fn_decl @Feed [concrete = constants.%Feed] { -// CHECK:STDOUT: %T.patt: %pattern_type.42a = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %e.param_patt: @Feed.%pattern_type (%pattern_type.434) = value_param_pattern [concrete] -// CHECK:STDOUT: %e.patt: @Feed.%pattern_type (%pattern_type.434) = at_binding_pattern e, %e.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.3a5 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %e.param_patt: @Feed.%pattern_type (%pattern_type.58d) = value_param_pattern [concrete] +// CHECK:STDOUT: %e.patt: @Feed.%pattern_type (%pattern_type.58d) = at_binding_pattern e, %e.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc20_13: type = splice_block %Eats.ref [concrete = constants.%Eats.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Eats.ref: type = name_ref Eats, file.%Eats.decl [concrete = constants.%Eats.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc20_10.2: %Eats.type = symbolic_binding T, 0 [symbolic = %T.loc20_10.1 (constants.%T.ad0)] -// CHECK:STDOUT: %e.param: @Feed.%T.as_type.loc20_29.1 (%T.as_type.f11) = value_param call_param0 -// CHECK:STDOUT: %.loc20_29.1: type = splice_block %.loc20_29.2 [symbolic = %T.as_type.loc20_29.1 (constants.%T.as_type.f11)] { -// CHECK:STDOUT: %T.ref: %Eats.type = name_ref T, %T.loc20_10.2 [symbolic = %T.loc20_10.1 (constants.%T.ad0)] -// CHECK:STDOUT: %T.as_type.loc20_29.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc20_29.1 (constants.%T.as_type.f11)] -// CHECK:STDOUT: %.loc20_29.2: type = converted %T.ref, %T.as_type.loc20_29.2 [symbolic = %T.as_type.loc20_29.1 (constants.%T.as_type.f11)] +// CHECK:STDOUT: %T.loc20_10.2: %Eats.type = symbolic_binding T, 0 [symbolic = %T.loc20_10.1 (constants.%T.ae6)] +// CHECK:STDOUT: %e.param: @Feed.%T.as_type.loc20_29.1 (%T.as_type.e42) = value_param call_param0 +// CHECK:STDOUT: %.loc20_29.1: type = splice_block %.loc20_29.2 [symbolic = %T.as_type.loc20_29.1 (constants.%T.as_type.e42)] { +// CHECK:STDOUT: %T.ref: %Eats.type = name_ref T, %T.loc20_10.2 [symbolic = %T.loc20_10.1 (constants.%T.ae6)] +// CHECK:STDOUT: %T.as_type.loc20_29.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc20_29.1 (constants.%T.as_type.e42)] +// CHECK:STDOUT: %.loc20_29.2: type = converted %T.ref, %T.as_type.loc20_29.2 [symbolic = %T.as_type.loc20_29.1 (constants.%T.as_type.e42)] // CHECK:STDOUT: } -// CHECK:STDOUT: %e: @Feed.%T.as_type.loc20_29.1 (%T.as_type.f11) = value_binding e, %e.param +// CHECK:STDOUT: %e: @Feed.%T.as_type.loc20_29.1 (%T.as_type.e42) = value_binding e, %e.param // CHECK:STDOUT: } // CHECK:STDOUT: %HandleAnimal.decl: %HandleAnimal.type = fn_decl @HandleAnimal [concrete = constants.%HandleAnimal] { -// CHECK:STDOUT: %T.patt: %pattern_type.69f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %a.param_patt: @HandleAnimal.%pattern_type (%pattern_type.106) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @HandleAnimal.%pattern_type (%pattern_type.106) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.5a8 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %a.param_patt: @HandleAnimal.%pattern_type (%pattern_type.94e) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @HandleAnimal.%pattern_type (%pattern_type.94e) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc22_21: type = splice_block %Animal.ref [concrete = constants.%Animal.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Animal.ref: type = name_ref Animal, file.%Animal.decl [concrete = constants.%Animal.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc22_18.2: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc22_18.1 (constants.%T.123)] -// CHECK:STDOUT: %a.param: @HandleAnimal.%T.as_type.loc22_32.1 (%T.as_type.6eb) = value_param call_param0 -// CHECK:STDOUT: %.loc22_32.1: type = splice_block %.loc22_32.2 [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.6eb)] { -// CHECK:STDOUT: %T.ref: %Animal.type = name_ref T, %T.loc22_18.2 [symbolic = %T.loc22_18.1 (constants.%T.123)] -// CHECK:STDOUT: %T.as_type.loc22_32.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.6eb)] -// CHECK:STDOUT: %.loc22_32.2: type = converted %T.ref, %T.as_type.loc22_32.2 [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.6eb)] +// CHECK:STDOUT: %T.loc22_18.2: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc22_18.1 (constants.%T.34b)] +// CHECK:STDOUT: %a.param: @HandleAnimal.%T.as_type.loc22_32.1 (%T.as_type.975) = value_param call_param0 +// CHECK:STDOUT: %.loc22_32.1: type = splice_block %.loc22_32.2 [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.975)] { +// CHECK:STDOUT: %T.ref: %Animal.type = name_ref T, %T.loc22_18.2 [symbolic = %T.loc22_18.1 (constants.%T.34b)] +// CHECK:STDOUT: %T.as_type.loc22_32.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.975)] +// CHECK:STDOUT: %.loc22_32.2: type = converted %T.ref, %T.as_type.loc22_32.2 [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.975)] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: @HandleAnimal.%T.as_type.loc22_32.1 (%T.as_type.6eb) = value_binding a, %a.param +// CHECK:STDOUT: %a: @HandleAnimal.%T.as_type.loc22_32.1 (%T.as_type.975) = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Eats { -// CHECK:STDOUT: %Self: %Eats.type = symbolic_binding Self, 0 [symbolic = constants.%Self.24a] +// CHECK:STDOUT: %Self: %Eats.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d7f] // CHECK:STDOUT: %Eats.WithSelf.decl = interface_with_self_decl @Eats [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -137,7 +137,7 @@ fn HandleAnimal[T:! Animal](a: T) { Feed(a); } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { -// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d73] +// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.1ff] // CHECK:STDOUT: %Animal.WithSelf.decl = interface_with_self_decl @Animal [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -150,13 +150,13 @@ fn HandleAnimal[T:! Animal](a: T) { Feed(a); } // CHECK:STDOUT: generic impl @A.as_type.as.Eats.impl(%A.loc18_15.1: %Animal.type) { // CHECK:STDOUT: %A.loc18_15.2: %Animal.type = symbolic_binding A, 0 [symbolic = %A.loc18_15.2 (constants.%A)] // CHECK:STDOUT: %A.as_type.loc18_26.2: type = facet_access_type %A.loc18_15.2 [symbolic = %A.as_type.loc18_26.2 (constants.%A.as_type)] -// CHECK:STDOUT: %Eats.impl_witness.loc18_36.2: = impl_witness %Eats.impl_witness_table, @A.as_type.as.Eats.impl(%A.loc18_15.2) [symbolic = %Eats.impl_witness.loc18_36.2 (constants.%Eats.impl_witness.233549.1)] +// CHECK:STDOUT: %Eats.impl_witness.loc18_36.2: = impl_witness %Eats.impl_witness_table, @A.as_type.as.Eats.impl(%A.loc18_15.2) [symbolic = %Eats.impl_witness.loc18_36.2 (constants.%Eats.impl_witness.0b67a7.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: impl: %.loc18_26 as %Eats.ref { // CHECK:STDOUT: %Eats.impl_witness_table = impl_witness_table (), @A.as_type.as.Eats.impl [concrete] -// CHECK:STDOUT: %Eats.impl_witness.loc18_36.1: = impl_witness %Eats.impl_witness_table, @A.as_type.as.Eats.impl(constants.%A) [symbolic = %Eats.impl_witness.loc18_36.2 (constants.%Eats.impl_witness.233549.1)] +// CHECK:STDOUT: %Eats.impl_witness.loc18_36.1: = impl_witness %Eats.impl_witness_table, @A.as_type.as.Eats.impl(constants.%A) [symbolic = %Eats.impl_witness.loc18_36.2 (constants.%Eats.impl_witness.0b67a7.1)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %Eats.ref @@ -165,87 +165,87 @@ fn HandleAnimal[T:! Animal](a: T) { Feed(a); } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Feed(%T.loc20_10.2: %Eats.type) { -// CHECK:STDOUT: %T.loc20_10.1: %Eats.type = symbolic_binding T, 0 [symbolic = %T.loc20_10.1 (constants.%T.ad0)] -// CHECK:STDOUT: %T.as_type.loc20_29.1: type = facet_access_type %T.loc20_10.1 [symbolic = %T.as_type.loc20_29.1 (constants.%T.as_type.f11)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc20_29.1 [symbolic = %pattern_type (constants.%pattern_type.434)] +// CHECK:STDOUT: %T.loc20_10.1: %Eats.type = symbolic_binding T, 0 [symbolic = %T.loc20_10.1 (constants.%T.ae6)] +// CHECK:STDOUT: %T.as_type.loc20_29.1: type = facet_access_type %T.loc20_10.1 [symbolic = %T.as_type.loc20_29.1 (constants.%T.as_type.e42)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc20_29.1 [symbolic = %pattern_type (constants.%pattern_type.58d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc20_29.1 [symbolic = %require_complete (constants.%require_complete.5df)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc20_29.1 [symbolic = %require_complete (constants.%require_complete.019)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%e.param: @Feed.%T.as_type.loc20_29.1 (%T.as_type.f11)) { +// CHECK:STDOUT: fn(%e.param: @Feed.%T.as_type.loc20_29.1 (%T.as_type.e42)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HandleAnimal(%T.loc22_18.2: %Animal.type) { -// CHECK:STDOUT: %T.loc22_18.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc22_18.1 (constants.%T.123)] -// CHECK:STDOUT: %T.as_type.loc22_32.1: type = facet_access_type %T.loc22_18.1 [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.6eb)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc22_32.1 [symbolic = %pattern_type (constants.%pattern_type.106)] +// CHECK:STDOUT: %T.loc22_18.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc22_18.1 (constants.%T.34b)] +// CHECK:STDOUT: %T.as_type.loc22_32.1: type = facet_access_type %T.loc22_18.1 [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.975)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc22_32.1 [symbolic = %pattern_type (constants.%pattern_type.94e)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc22_32.1 [symbolic = %require_complete (constants.%require_complete.284)] -// CHECK:STDOUT: %.loc22_43.2: require_specific_def_type = require_specific_def @A.as_type.as.Eats.impl(%T.loc22_18.1) [symbolic = %.loc22_43.2 (constants.%.658)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc22_32.1 [symbolic = %require_complete (constants.%require_complete.b5c)] +// CHECK:STDOUT: %.loc22_43.2: require_specific_def_type = require_specific_def @A.as_type.as.Eats.impl(%T.loc22_18.1) [symbolic = %.loc22_43.2 (constants.%.8c6)] // CHECK:STDOUT: %Eats.lookup_impl_witness: = lookup_impl_witness %T.loc22_18.1, @Eats [symbolic = %Eats.lookup_impl_witness (constants.%Eats.lookup_impl_witness)] -// CHECK:STDOUT: %Eats.facet.loc22_43.2: %Eats.type = facet_value %T.as_type.loc22_32.1, (%Eats.lookup_impl_witness) [symbolic = %Eats.facet.loc22_43.2 (constants.%Eats.facet.605)] +// CHECK:STDOUT: %Eats.facet.loc22_43.2: %Eats.type = facet_value %T.as_type.loc22_32.1, (%Eats.lookup_impl_witness) [symbolic = %Eats.facet.loc22_43.2 (constants.%Eats.facet.3ce)] // CHECK:STDOUT: %Feed.specific_fn.loc22_37.2: = specific_function constants.%Feed, @Feed(%Eats.facet.loc22_43.2) [symbolic = %Feed.specific_fn.loc22_37.2 (constants.%Feed.specific_fn)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%a.param: @HandleAnimal.%T.as_type.loc22_32.1 (%T.as_type.6eb)) { +// CHECK:STDOUT: fn(%a.param: @HandleAnimal.%T.as_type.loc22_32.1 (%T.as_type.975)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Feed.ref: %Feed.type = name_ref Feed, file.%Feed.decl [concrete = constants.%Feed] -// CHECK:STDOUT: %a.ref: @HandleAnimal.%T.as_type.loc22_32.1 (%T.as_type.6eb) = name_ref a, %a -// CHECK:STDOUT: %Eats.facet.loc22_43.1: %Eats.type = facet_value constants.%T.as_type.6eb, (constants.%Eats.lookup_impl_witness) [symbolic = %Eats.facet.loc22_43.2 (constants.%Eats.facet.605)] -// CHECK:STDOUT: %.loc22_43.1: %Eats.type = converted constants.%T.as_type.6eb, %Eats.facet.loc22_43.1 [symbolic = %Eats.facet.loc22_43.2 (constants.%Eats.facet.605)] -// CHECK:STDOUT: %Feed.specific_fn.loc22_37.1: = specific_function %Feed.ref, @Feed(constants.%Eats.facet.605) [symbolic = %Feed.specific_fn.loc22_37.2 (constants.%Feed.specific_fn)] +// CHECK:STDOUT: %a.ref: @HandleAnimal.%T.as_type.loc22_32.1 (%T.as_type.975) = name_ref a, %a +// CHECK:STDOUT: %Eats.facet.loc22_43.1: %Eats.type = facet_value constants.%T.as_type.975, (constants.%Eats.lookup_impl_witness) [symbolic = %Eats.facet.loc22_43.2 (constants.%Eats.facet.3ce)] +// CHECK:STDOUT: %.loc22_43.1: %Eats.type = converted constants.%T.as_type.975, %Eats.facet.loc22_43.1 [symbolic = %Eats.facet.loc22_43.2 (constants.%Eats.facet.3ce)] +// CHECK:STDOUT: %Feed.specific_fn.loc22_37.1: = specific_function %Feed.ref, @Feed(constants.%Eats.facet.3ce) [symbolic = %Feed.specific_fn.loc22_37.2 (constants.%Feed.specific_fn)] // CHECK:STDOUT: %Feed.call: init %empty_tuple.type = call %Feed.specific_fn.loc22_37.1(%a.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.24a) { +// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.d7f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.d73) { +// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.1ff) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.as_type.as.Eats.impl(constants.%A) { // CHECK:STDOUT: %A.loc18_15.2 => constants.%A // CHECK:STDOUT: %A.as_type.loc18_26.2 => constants.%A.as_type -// CHECK:STDOUT: %Eats.impl_witness.loc18_36.2 => constants.%Eats.impl_witness.233549.1 +// CHECK:STDOUT: %Eats.impl_witness.loc18_36.2 => constants.%Eats.impl_witness.0b67a7.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Eats.facet.243) { +// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Eats.facet.eb6) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Feed(constants.%T.ad0) { -// CHECK:STDOUT: %T.loc20_10.1 => constants.%T.ad0 -// CHECK:STDOUT: %T.as_type.loc20_29.1 => constants.%T.as_type.f11 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.434 +// CHECK:STDOUT: specific @Feed(constants.%T.ae6) { +// CHECK:STDOUT: %T.loc20_10.1 => constants.%T.ae6 +// CHECK:STDOUT: %T.as_type.loc20_29.1 => constants.%T.as_type.e42 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.58d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HandleAnimal(constants.%T.123) { -// CHECK:STDOUT: %T.loc22_18.1 => constants.%T.123 -// CHECK:STDOUT: %T.as_type.loc22_32.1 => constants.%T.as_type.6eb -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.106 +// CHECK:STDOUT: specific @HandleAnimal(constants.%T.34b) { +// CHECK:STDOUT: %T.loc22_18.1 => constants.%T.34b +// CHECK:STDOUT: %T.as_type.loc22_32.1 => constants.%T.as_type.975 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.94e // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.as_type.as.Eats.impl(constants.%T.123) { -// CHECK:STDOUT: %A.loc18_15.2 => constants.%T.123 -// CHECK:STDOUT: %A.as_type.loc18_26.2 => constants.%T.as_type.6eb -// CHECK:STDOUT: %Eats.impl_witness.loc18_36.2 => constants.%Eats.impl_witness.233549.2 +// CHECK:STDOUT: specific @A.as_type.as.Eats.impl(constants.%T.34b) { +// CHECK:STDOUT: %A.loc18_15.2 => constants.%T.34b +// CHECK:STDOUT: %A.as_type.loc18_26.2 => constants.%T.as_type.975 +// CHECK:STDOUT: %Eats.impl_witness.loc18_36.2 => constants.%Eats.impl_witness.0b67a7.2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Feed(constants.%Eats.facet.605) { -// CHECK:STDOUT: %T.loc20_10.1 => constants.%Eats.facet.605 -// CHECK:STDOUT: %T.as_type.loc20_29.1 => constants.%T.as_type.6eb -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.106 +// CHECK:STDOUT: specific @Feed(constants.%Eats.facet.3ce) { +// CHECK:STDOUT: %T.loc20_10.1 => constants.%Eats.facet.3ce +// CHECK:STDOUT: %T.as_type.loc20_29.1 => constants.%T.as_type.975 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.94e // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.284 +// CHECK:STDOUT: %require_complete => constants.%require_complete.b5c // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/convert_facet_value_value_to_generic_facet_value_value.carbon b/toolchain/check/testdata/facet/convert_facet_value_value_to_generic_facet_value_value.carbon index 279e102e464e..0cc018ce8933 100644 --- a/toolchain/check/testdata/facet/convert_facet_value_value_to_generic_facet_value_value.carbon +++ b/toolchain/check/testdata/facet/convert_facet_value_value_to_generic_facet_value_value.carbon @@ -39,93 +39,93 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Edible.type: type = facet_type <@Edible> [concrete] -// CHECK:STDOUT: %Self.33f: %Edible.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.4f5: %Edible.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Grass: type = class_type @Grass [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %Edible.impl_witness: = impl_witness @Grass.as.Edible.impl.%Edible.impl_witness_table [concrete] // CHECK:STDOUT: %Edible.facet: %Edible.type = facet_value %Grass, (%Edible.impl_witness) [concrete] // CHECK:STDOUT: %Animal.type: type = facet_type <@Animal> [concrete] -// CHECK:STDOUT: %Self.d73: %Animal.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.1ff: %Animal.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %Food.67d: type = symbolic_binding Food, 0 [symbolic] -// CHECK:STDOUT: %Eats.type.131: type = generic_interface_type @Eats [concrete] +// CHECK:STDOUT: %Eats.type.0d3: type = generic_interface_type @Eats [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Eats.generic: %Eats.type.131 = struct_value () [concrete] -// CHECK:STDOUT: %Eats.type.707: type = facet_type <@Eats, @Eats(%Food.67d)> [symbolic] -// CHECK:STDOUT: %Self.1ca: %Eats.type.707 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %pattern_type.69f: type = pattern_type %Animal.type [concrete] -// CHECK:STDOUT: %T.123: %Animal.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %pattern_type.53d: type = pattern_type %Edible.type [concrete] +// CHECK:STDOUT: %Eats.generic: %Eats.type.0d3 = struct_value () [concrete] +// CHECK:STDOUT: %Eats.type.e08: type = facet_type <@Eats, @Eats(%Food.67d)> [symbolic] +// CHECK:STDOUT: %Self.e81: %Eats.type.e08 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %pattern_type.5a8: type = pattern_type %Animal.type [concrete] +// CHECK:STDOUT: %T.34b: %Animal.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.202: type = pattern_type %Edible.type [concrete] // CHECK:STDOUT: %U: %Edible.type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %T.as_type.6eb: type = facet_access_type %T.123 [symbolic] +// CHECK:STDOUT: %T.as_type.975: type = facet_access_type %T.34b [symbolic] // CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %Eats.type.837543.1: type = facet_type <@Eats, @Eats(%U.as_type)> [symbolic] -// CHECK:STDOUT: %Eats.impl_witness.9746ac.1: = impl_witness @T.as_type.as.Eats.impl.%Eats.impl_witness_table, @T.as_type.as.Eats.impl(%T.123, %U) [symbolic] -// CHECK:STDOUT: %Self.13a: %Eats.type.837543.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %require_complete.8fa479.1: = require_complete_type %Eats.type.837543.1 [symbolic] -// CHECK:STDOUT: %Eats.facet.430: %Eats.type.837543.1 = facet_value %T.as_type.6eb, (%Eats.impl_witness.9746ac.1) [symbolic] +// CHECK:STDOUT: %Eats.type.319b68.1: type = facet_type <@Eats, @Eats(%U.as_type)> [symbolic] +// CHECK:STDOUT: %Eats.impl_witness.bf7f94.1: = impl_witness @T.as_type.as.Eats.impl.%Eats.impl_witness_table, @T.as_type.as.Eats.impl(%T.34b, %U) [symbolic] +// CHECK:STDOUT: %Self.f1a: %Eats.type.319b68.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %require_complete.9d6a3d.1: = require_complete_type %Eats.type.319b68.1 [symbolic] +// CHECK:STDOUT: %Eats.facet.dfd: %Eats.type.319b68.1 = facet_value %T.as_type.975, (%Eats.impl_witness.bf7f94.1) [symbolic] // CHECK:STDOUT: %Goat: type = class_type @Goat [concrete] // CHECK:STDOUT: %Animal.impl_witness: = impl_witness @Goat.as.Animal.impl.%Animal.impl_witness_table [concrete] // CHECK:STDOUT: %Animal.facet: %Animal.type = facet_value %Goat, (%Animal.impl_witness) [concrete] -// CHECK:STDOUT: %Food.ffc: %Edible.type = symbolic_binding Food, 0 [symbolic] -// CHECK:STDOUT: %Food.as_type.7d8: type = facet_access_type %Food.ffc [symbolic] -// CHECK:STDOUT: %Eats.type.ab0: type = facet_type <@Eats, @Eats(%Food.as_type.7d8)> [symbolic] -// CHECK:STDOUT: %pattern_type.f0e: type = pattern_type %Eats.type.ab0 [symbolic] -// CHECK:STDOUT: %T.57c: %Eats.type.ab0 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %Self.a74: %Eats.type.ab0 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %T.as_type.54c: type = facet_access_type %T.57c [symbolic] -// CHECK:STDOUT: %pattern_type.20f: type = pattern_type %T.as_type.54c [symbolic] -// CHECK:STDOUT: %pattern_type.c7d: type = pattern_type %Food.as_type.7d8 [symbolic] +// CHECK:STDOUT: %Food.c7a: %Edible.type = symbolic_binding Food, 0 [symbolic] +// CHECK:STDOUT: %Food.as_type.e66: type = facet_access_type %Food.c7a [symbolic] +// CHECK:STDOUT: %Eats.type.dc6: type = facet_type <@Eats, @Eats(%Food.as_type.e66)> [symbolic] +// CHECK:STDOUT: %pattern_type.577: type = pattern_type %Eats.type.dc6 [symbolic] +// CHECK:STDOUT: %T.4a7: %Eats.type.dc6 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %Self.46f: %Eats.type.dc6 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %T.as_type.b3d: type = facet_access_type %T.4a7 [symbolic] +// CHECK:STDOUT: %pattern_type.089: type = pattern_type %T.as_type.b3d [symbolic] +// CHECK:STDOUT: %pattern_type.3ff: type = pattern_type %Food.as_type.e66 [symbolic] // CHECK:STDOUT: %Feed.type: type = fn_type @Feed [concrete] // CHECK:STDOUT: %Feed: %Feed.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.bb7: = require_complete_type %T.as_type.54c [symbolic] -// CHECK:STDOUT: %require_complete.082: = require_complete_type %Food.as_type.7d8 [symbolic] +// CHECK:STDOUT: %require_complete.ecb: = require_complete_type %T.as_type.b3d [symbolic] +// CHECK:STDOUT: %require_complete.ebb: = require_complete_type %Food.as_type.e66 [symbolic] // CHECK:STDOUT: %A: %Animal.type = symbolic_binding A, 0 [symbolic] -// CHECK:STDOUT: %Food.7a5: %Edible.type = symbolic_binding Food, 1 [symbolic] +// CHECK:STDOUT: %Food.9ee: %Edible.type = symbolic_binding Food, 1 [symbolic] // CHECK:STDOUT: %A.as_type: type = facet_access_type %A [symbolic] -// CHECK:STDOUT: %pattern_type.106: type = pattern_type %A.as_type [symbolic] -// CHECK:STDOUT: %Food.as_type.a50: type = facet_access_type %Food.7a5 [symbolic] -// CHECK:STDOUT: %pattern_type.fc4: type = pattern_type %Food.as_type.a50 [symbolic] +// CHECK:STDOUT: %pattern_type.94e: type = pattern_type %A.as_type [symbolic] +// CHECK:STDOUT: %Food.as_type.cd6: type = facet_access_type %Food.9ee [symbolic] +// CHECK:STDOUT: %pattern_type.9ab: type = pattern_type %Food.as_type.cd6 [symbolic] // CHECK:STDOUT: %HandleAnimal.type: type = fn_type @HandleAnimal [concrete] // CHECK:STDOUT: %HandleAnimal: %HandleAnimal.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.284: = require_complete_type %A.as_type [symbolic] -// CHECK:STDOUT: %require_complete.2a2: = require_complete_type %Food.as_type.a50 [symbolic] -// CHECK:STDOUT: %Eats.type.837543.2: type = facet_type <@Eats, @Eats(%Food.as_type.a50)> [symbolic] -// CHECK:STDOUT: %Eats.lookup_impl_witness: = lookup_impl_witness %A, @Eats, @Eats(%Food.as_type.a50) [symbolic] -// CHECK:STDOUT: %Eats.impl_witness.9746ac.2: = impl_witness @T.as_type.as.Eats.impl.%Eats.impl_witness_table, @T.as_type.as.Eats.impl(%A, %Food.7a5) [symbolic] -// CHECK:STDOUT: %require_complete.8fa479.2: = require_complete_type %Eats.type.837543.2 [symbolic] -// CHECK:STDOUT: %.bdc: require_specific_def_type = require_specific_def @T.as_type.as.Eats.impl(%A, %Food.7a5) [symbolic] -// CHECK:STDOUT: %Eats.facet.f1f: %Eats.type.837543.2 = facet_value %A.as_type, (%Eats.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %pattern_type.ba3: type = pattern_type %Eats.type.837543.2 [symbolic] -// CHECK:STDOUT: %Feed.specific_fn.1f3: = specific_function %Feed, @Feed(%Food.7a5, %Eats.facet.f1f) [symbolic] +// CHECK:STDOUT: %require_complete.b5c: = require_complete_type %A.as_type [symbolic] +// CHECK:STDOUT: %require_complete.8e7: = require_complete_type %Food.as_type.cd6 [symbolic] +// CHECK:STDOUT: %Eats.type.319b68.2: type = facet_type <@Eats, @Eats(%Food.as_type.cd6)> [symbolic] +// CHECK:STDOUT: %Eats.lookup_impl_witness: = lookup_impl_witness %A, @Eats, @Eats(%Food.as_type.cd6) [symbolic] +// CHECK:STDOUT: %Eats.impl_witness.bf7f94.2: = impl_witness @T.as_type.as.Eats.impl.%Eats.impl_witness_table, @T.as_type.as.Eats.impl(%A, %Food.9ee) [symbolic] +// CHECK:STDOUT: %require_complete.9d6a3d.2: = require_complete_type %Eats.type.319b68.2 [symbolic] +// CHECK:STDOUT: %.9c0: require_specific_def_type = require_specific_def @T.as_type.as.Eats.impl(%A, %Food.9ee) [symbolic] +// CHECK:STDOUT: %Eats.facet.b86: %Eats.type.319b68.2 = facet_value %A.as_type, (%Eats.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %pattern_type.0f2: type = pattern_type %Eats.type.319b68.2 [symbolic] +// CHECK:STDOUT: %Feed.specific_fn.7ee: = specific_function %Feed, @Feed(%Food.9ee, %Eats.facet.b86) [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %Goat.val: %Goat = struct_value () [concrete] // CHECK:STDOUT: %Grass.val: %Grass = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.332: type = pattern_type %Goat [concrete] -// CHECK:STDOUT: %pattern_type.413: type = pattern_type %Grass [concrete] +// CHECK:STDOUT: %pattern_type.bea: type = pattern_type %Goat [concrete] +// CHECK:STDOUT: %pattern_type.2e1: type = pattern_type %Grass [concrete] // CHECK:STDOUT: %HandleAnimal.specific_fn: = specific_function %HandleAnimal, @HandleAnimal(%Animal.facet, %Edible.facet) [concrete] -// CHECK:STDOUT: %.385: ref %Goat = temporary invalid, %Goat.val [concrete] -// CHECK:STDOUT: %.79b: ref %Grass = temporary invalid, %Grass.val [concrete] +// CHECK:STDOUT: %.e6d: ref %Goat = temporary invalid, %Goat.val [concrete] +// CHECK:STDOUT: %.05d: ref %Grass = temporary invalid, %Grass.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc35_31.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.4fe: = bound_method %.79b, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc35_19 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.ce0: = bound_method %.385, %Destroy.Op.1dc86d.3 [concrete] -// CHECK:STDOUT: %Eats.type.04c: type = facet_type <@Eats, @Eats(%Grass)> [concrete] -// CHECK:STDOUT: %Eats.impl_witness.931: = impl_witness @T.as_type.as.Eats.impl.%Eats.impl_witness_table, @T.as_type.as.Eats.impl(%Animal.facet, %Edible.facet) [concrete] -// CHECK:STDOUT: %Self.c37: %Eats.type.04c = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %complete_type.5c0: = complete_type_witness %Eats.type.04c [concrete] -// CHECK:STDOUT: %.ed3: require_specific_def_type = require_specific_def @T.as_type.as.Eats.impl(%Animal.facet, %Edible.facet) [concrete] -// CHECK:STDOUT: %Eats.facet.a1f: %Eats.type.04c = facet_value %Goat, (%Eats.impl_witness.931) [concrete] -// CHECK:STDOUT: %pattern_type.593: type = pattern_type %Eats.type.04c [concrete] -// CHECK:STDOUT: %Feed.specific_fn.b2f: = specific_function %Feed, @Feed(%Edible.facet, %Eats.facet.a1f) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc35_31.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.4a3: = bound_method %.05d, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc35_19 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.61b: = bound_method %.e6d, %Destroy.Op.2dd605.3 [concrete] +// CHECK:STDOUT: %Eats.type.3cb: type = facet_type <@Eats, @Eats(%Grass)> [concrete] +// CHECK:STDOUT: %Eats.impl_witness.419: = impl_witness @T.as_type.as.Eats.impl.%Eats.impl_witness_table, @T.as_type.as.Eats.impl(%Animal.facet, %Edible.facet) [concrete] +// CHECK:STDOUT: %Self.62f: %Eats.type.3cb = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %complete_type.3a7: = complete_type_witness %Eats.type.3cb [concrete] +// CHECK:STDOUT: %.374: require_specific_def_type = require_specific_def @T.as_type.as.Eats.impl(%Animal.facet, %Edible.facet) [concrete] +// CHECK:STDOUT: %Eats.facet.750: %Eats.type.3cb = facet_value %Goat, (%Eats.impl_witness.419) [concrete] +// CHECK:STDOUT: %pattern_type.9ca: type = pattern_type %Eats.type.3cb [concrete] +// CHECK:STDOUT: %Feed.specific_fn.137: = specific_function %Feed, @Feed(%Edible.facet, %Eats.facet.750) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -157,7 +157,7 @@ fn F() { // CHECK:STDOUT: %Edible.ref: type = name_ref Edible, file.%Edible.decl [concrete = constants.%Edible.type] // CHECK:STDOUT: } // CHECK:STDOUT: %Animal.decl: type = interface_decl @Animal [concrete = constants.%Animal.type] {} {} -// CHECK:STDOUT: %Eats.decl: %Eats.type.131 = interface_decl @Eats [concrete = constants.%Eats.generic] { +// CHECK:STDOUT: %Eats.decl: %Eats.type.0d3 = interface_decl @Eats [concrete = constants.%Eats.generic] { // CHECK:STDOUT: %Food.patt: %pattern_type.98f = symbolic_binding_pattern Food, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc21_23.1: type = splice_block %.loc21_23.2 [concrete = type] { @@ -167,22 +167,22 @@ fn F() { // CHECK:STDOUT: %Food.loc21_20.2: type = symbolic_binding Food, 0 [symbolic = %Food.loc21_20.1 (constants.%Food.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @T.as_type.as.Eats.impl [concrete] { -// CHECK:STDOUT: %T.patt: %pattern_type.69f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %U.patt: %pattern_type.53d = symbolic_binding_pattern U, 1 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.5a8 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.202 = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref: %Animal.type = name_ref T, %T.loc26_15.1 [symbolic = %T.loc26_15.2 (constants.%T.123)] -// CHECK:STDOUT: %T.as_type.loc26_38.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc26_38.2 (constants.%T.as_type.6eb)] -// CHECK:STDOUT: %.loc26_38: type = converted %T.ref, %T.as_type.loc26_38.1 [symbolic = %T.as_type.loc26_38.2 (constants.%T.as_type.6eb)] -// CHECK:STDOUT: %Eats.ref: %Eats.type.131 = name_ref Eats, file.%Eats.decl [concrete = constants.%Eats.generic] +// CHECK:STDOUT: %T.ref: %Animal.type = name_ref T, %T.loc26_15.1 [symbolic = %T.loc26_15.2 (constants.%T.34b)] +// CHECK:STDOUT: %T.as_type.loc26_38.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc26_38.2 (constants.%T.as_type.975)] +// CHECK:STDOUT: %.loc26_38: type = converted %T.ref, %T.as_type.loc26_38.1 [symbolic = %T.as_type.loc26_38.2 (constants.%T.as_type.975)] +// CHECK:STDOUT: %Eats.ref: %Eats.type.0d3 = name_ref Eats, file.%Eats.decl [concrete = constants.%Eats.generic] // CHECK:STDOUT: %U.ref: %Edible.type = name_ref U, %U.loc26_27.1 [symbolic = %U.loc26_27.2 (constants.%U)] // CHECK:STDOUT: %U.as_type.loc26_49.1: type = facet_access_type %U.ref [symbolic = %U.as_type.loc26_49.2 (constants.%U.as_type)] // CHECK:STDOUT: %.loc26_49: type = converted %U.ref, %U.as_type.loc26_49.1 [symbolic = %U.as_type.loc26_49.2 (constants.%U.as_type)] -// CHECK:STDOUT: %Eats.type.loc26_49.1: type = facet_type <@Eats, @Eats(constants.%U.as_type)> [symbolic = %Eats.type.loc26_49.2 (constants.%Eats.type.837543.1)] +// CHECK:STDOUT: %Eats.type.loc26_49.1: type = facet_type <@Eats, @Eats(constants.%U.as_type)> [symbolic = %Eats.type.loc26_49.2 (constants.%Eats.type.319b68.1)] // CHECK:STDOUT: %.loc26_18: type = splice_block %Animal.ref [concrete = constants.%Animal.type] { // CHECK:STDOUT: %.Self.loc26_15: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Animal.ref: type = name_ref Animal, file.%Animal.decl [concrete = constants.%Animal.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc26_15.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc26_15.2 (constants.%T.123)] +// CHECK:STDOUT: %T.loc26_15.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc26_15.2 (constants.%T.34b)] // CHECK:STDOUT: %.loc26_30: type = splice_block %Edible.ref [concrete = constants.%Edible.type] { // CHECK:STDOUT: %.Self.loc26_27: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Edible.ref: type = name_ref Edible, file.%Edible.decl [concrete = constants.%Edible.type] @@ -195,49 +195,49 @@ fn F() { // CHECK:STDOUT: %Animal.ref: type = name_ref Animal, file.%Animal.decl [concrete = constants.%Animal.type] // CHECK:STDOUT: } // CHECK:STDOUT: %Feed.decl: %Feed.type = fn_decl @Feed [concrete = constants.%Feed] { -// CHECK:STDOUT: %Food.patt: %pattern_type.53d = symbolic_binding_pattern Food, 0 [concrete] -// CHECK:STDOUT: %T.patt: @Feed.%pattern_type.loc31_25 (%pattern_type.f0e) = symbolic_binding_pattern T, 1 [concrete] -// CHECK:STDOUT: %e.param_patt: @Feed.%pattern_type.loc31_48 (%pattern_type.20f) = value_param_pattern [concrete] -// CHECK:STDOUT: %e.patt: @Feed.%pattern_type.loc31_48 (%pattern_type.20f) = at_binding_pattern e, %e.param_patt [concrete] -// CHECK:STDOUT: %food.param_patt: @Feed.%pattern_type.loc31_64 (%pattern_type.c7d) = value_param_pattern [concrete] -// CHECK:STDOUT: %food.patt: @Feed.%pattern_type.loc31_64 (%pattern_type.c7d) = at_binding_pattern food, %food.param_patt [concrete] +// CHECK:STDOUT: %Food.patt: %pattern_type.202 = symbolic_binding_pattern Food, 0 [concrete] +// CHECK:STDOUT: %T.patt: @Feed.%pattern_type.loc31_25 (%pattern_type.577) = symbolic_binding_pattern T, 1 [concrete] +// CHECK:STDOUT: %e.param_patt: @Feed.%pattern_type.loc31_48 (%pattern_type.089) = value_param_pattern [concrete] +// CHECK:STDOUT: %e.patt: @Feed.%pattern_type.loc31_48 (%pattern_type.089) = at_binding_pattern e, %e.param_patt [concrete] +// CHECK:STDOUT: %food.param_patt: @Feed.%pattern_type.loc31_64 (%pattern_type.3ff) = value_param_pattern [concrete] +// CHECK:STDOUT: %food.patt: @Feed.%pattern_type.loc31_64 (%pattern_type.3ff) = at_binding_pattern food, %food.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc31_16: type = splice_block %Edible.ref [concrete = constants.%Edible.type] { // CHECK:STDOUT: %.Self.loc31_13: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Edible.ref: type = name_ref Edible, file.%Edible.decl [concrete = constants.%Edible.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %Food.loc31_13.2: %Edible.type = symbolic_binding Food, 0 [symbolic = %Food.loc31_13.1 (constants.%Food.ffc)] -// CHECK:STDOUT: %.loc31_37.1: type = splice_block %Eats.type.loc31_37.2 [symbolic = %Eats.type.loc31_37.1 (constants.%Eats.type.ab0)] { +// CHECK:STDOUT: %Food.loc31_13.2: %Edible.type = symbolic_binding Food, 0 [symbolic = %Food.loc31_13.1 (constants.%Food.c7a)] +// CHECK:STDOUT: %.loc31_37.1: type = splice_block %Eats.type.loc31_37.2 [symbolic = %Eats.type.loc31_37.1 (constants.%Eats.type.dc6)] { // CHECK:STDOUT: %.Self.loc31_25: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Eats.ref: %Eats.type.131 = name_ref Eats, file.%Eats.decl [concrete = constants.%Eats.generic] -// CHECK:STDOUT: %Food.ref.loc31_33: %Edible.type = name_ref Food, %Food.loc31_13.2 [symbolic = %Food.loc31_13.1 (constants.%Food.ffc)] -// CHECK:STDOUT: %Food.as_type.loc31_37.2: type = facet_access_type %Food.ref.loc31_33 [symbolic = %Food.as_type.loc31_37.1 (constants.%Food.as_type.7d8)] -// CHECK:STDOUT: %.loc31_37.2: type = converted %Food.ref.loc31_33, %Food.as_type.loc31_37.2 [symbolic = %Food.as_type.loc31_37.1 (constants.%Food.as_type.7d8)] -// CHECK:STDOUT: %Eats.type.loc31_37.2: type = facet_type <@Eats, @Eats(constants.%Food.as_type.7d8)> [symbolic = %Eats.type.loc31_37.1 (constants.%Eats.type.ab0)] +// CHECK:STDOUT: %Eats.ref: %Eats.type.0d3 = name_ref Eats, file.%Eats.decl [concrete = constants.%Eats.generic] +// CHECK:STDOUT: %Food.ref.loc31_33: %Edible.type = name_ref Food, %Food.loc31_13.2 [symbolic = %Food.loc31_13.1 (constants.%Food.c7a)] +// CHECK:STDOUT: %Food.as_type.loc31_37.2: type = facet_access_type %Food.ref.loc31_33 [symbolic = %Food.as_type.loc31_37.1 (constants.%Food.as_type.e66)] +// CHECK:STDOUT: %.loc31_37.2: type = converted %Food.ref.loc31_33, %Food.as_type.loc31_37.2 [symbolic = %Food.as_type.loc31_37.1 (constants.%Food.as_type.e66)] +// CHECK:STDOUT: %Eats.type.loc31_37.2: type = facet_type <@Eats, @Eats(constants.%Food.as_type.e66)> [symbolic = %Eats.type.loc31_37.1 (constants.%Eats.type.dc6)] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc31_25.2: @Feed.%Eats.type.loc31_37.1 (%Eats.type.ab0) = symbolic_binding T, 1 [symbolic = %T.loc31_25.1 (constants.%T.57c)] -// CHECK:STDOUT: %e.param: @Feed.%T.as_type.loc31_50.1 (%T.as_type.54c) = value_param call_param0 -// CHECK:STDOUT: %.loc31_50.1: type = splice_block %.loc31_50.2 [symbolic = %T.as_type.loc31_50.1 (constants.%T.as_type.54c)] { -// CHECK:STDOUT: %T.ref: @Feed.%Eats.type.loc31_37.1 (%Eats.type.ab0) = name_ref T, %T.loc31_25.2 [symbolic = %T.loc31_25.1 (constants.%T.57c)] -// CHECK:STDOUT: %T.as_type.loc31_50.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc31_50.1 (constants.%T.as_type.54c)] -// CHECK:STDOUT: %.loc31_50.2: type = converted %T.ref, %T.as_type.loc31_50.2 [symbolic = %T.as_type.loc31_50.1 (constants.%T.as_type.54c)] +// CHECK:STDOUT: %T.loc31_25.2: @Feed.%Eats.type.loc31_37.1 (%Eats.type.dc6) = symbolic_binding T, 1 [symbolic = %T.loc31_25.1 (constants.%T.4a7)] +// CHECK:STDOUT: %e.param: @Feed.%T.as_type.loc31_50.1 (%T.as_type.b3d) = value_param call_param0 +// CHECK:STDOUT: %.loc31_50.1: type = splice_block %.loc31_50.2 [symbolic = %T.as_type.loc31_50.1 (constants.%T.as_type.b3d)] { +// CHECK:STDOUT: %T.ref: @Feed.%Eats.type.loc31_37.1 (%Eats.type.dc6) = name_ref T, %T.loc31_25.2 [symbolic = %T.loc31_25.1 (constants.%T.4a7)] +// CHECK:STDOUT: %T.as_type.loc31_50.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc31_50.1 (constants.%T.as_type.b3d)] +// CHECK:STDOUT: %.loc31_50.2: type = converted %T.ref, %T.as_type.loc31_50.2 [symbolic = %T.as_type.loc31_50.1 (constants.%T.as_type.b3d)] // CHECK:STDOUT: } -// CHECK:STDOUT: %e: @Feed.%T.as_type.loc31_50.1 (%T.as_type.54c) = value_binding e, %e.param -// CHECK:STDOUT: %food.param: @Feed.%Food.as_type.loc31_37.1 (%Food.as_type.7d8) = value_param call_param1 -// CHECK:STDOUT: %.loc31_66.1: type = splice_block %.loc31_66.2 [symbolic = %Food.as_type.loc31_37.1 (constants.%Food.as_type.7d8)] { -// CHECK:STDOUT: %Food.ref.loc31_66: %Edible.type = name_ref Food, %Food.loc31_13.2 [symbolic = %Food.loc31_13.1 (constants.%Food.ffc)] -// CHECK:STDOUT: %Food.as_type.loc31_66: type = facet_access_type %Food.ref.loc31_66 [symbolic = %Food.as_type.loc31_37.1 (constants.%Food.as_type.7d8)] -// CHECK:STDOUT: %.loc31_66.2: type = converted %Food.ref.loc31_66, %Food.as_type.loc31_66 [symbolic = %Food.as_type.loc31_37.1 (constants.%Food.as_type.7d8)] +// CHECK:STDOUT: %e: @Feed.%T.as_type.loc31_50.1 (%T.as_type.b3d) = value_binding e, %e.param +// CHECK:STDOUT: %food.param: @Feed.%Food.as_type.loc31_37.1 (%Food.as_type.e66) = value_param call_param1 +// CHECK:STDOUT: %.loc31_66.1: type = splice_block %.loc31_66.2 [symbolic = %Food.as_type.loc31_37.1 (constants.%Food.as_type.e66)] { +// CHECK:STDOUT: %Food.ref.loc31_66: %Edible.type = name_ref Food, %Food.loc31_13.2 [symbolic = %Food.loc31_13.1 (constants.%Food.c7a)] +// CHECK:STDOUT: %Food.as_type.loc31_66: type = facet_access_type %Food.ref.loc31_66 [symbolic = %Food.as_type.loc31_37.1 (constants.%Food.as_type.e66)] +// CHECK:STDOUT: %.loc31_66.2: type = converted %Food.ref.loc31_66, %Food.as_type.loc31_66 [symbolic = %Food.as_type.loc31_37.1 (constants.%Food.as_type.e66)] // CHECK:STDOUT: } -// CHECK:STDOUT: %food: @Feed.%Food.as_type.loc31_37.1 (%Food.as_type.7d8) = value_binding food, %food.param +// CHECK:STDOUT: %food: @Feed.%Food.as_type.loc31_37.1 (%Food.as_type.e66) = value_binding food, %food.param // CHECK:STDOUT: } // CHECK:STDOUT: %HandleAnimal.decl: %HandleAnimal.type = fn_decl @HandleAnimal [concrete = constants.%HandleAnimal] { -// CHECK:STDOUT: %A.patt: %pattern_type.69f = symbolic_binding_pattern A, 0 [concrete] -// CHECK:STDOUT: %Food.patt: %pattern_type.53d = symbolic_binding_pattern Food, 1 [concrete] -// CHECK:STDOUT: %a.param_patt: @HandleAnimal.%pattern_type.loc32_45 (%pattern_type.106) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @HandleAnimal.%pattern_type.loc32_45 (%pattern_type.106) = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %food.param_patt: @HandleAnimal.%pattern_type.loc32_54 (%pattern_type.fc4) = value_param_pattern [concrete] -// CHECK:STDOUT: %food.patt: @HandleAnimal.%pattern_type.loc32_54 (%pattern_type.fc4) = at_binding_pattern food, %food.param_patt [concrete] +// CHECK:STDOUT: %A.patt: %pattern_type.5a8 = symbolic_binding_pattern A, 0 [concrete] +// CHECK:STDOUT: %Food.patt: %pattern_type.202 = symbolic_binding_pattern Food, 1 [concrete] +// CHECK:STDOUT: %a.param_patt: @HandleAnimal.%pattern_type.loc32_45 (%pattern_type.94e) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @HandleAnimal.%pattern_type.loc32_45 (%pattern_type.94e) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %food.param_patt: @HandleAnimal.%pattern_type.loc32_54 (%pattern_type.9ab) = value_param_pattern [concrete] +// CHECK:STDOUT: %food.patt: @HandleAnimal.%pattern_type.loc32_54 (%pattern_type.9ab) = at_binding_pattern food, %food.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc32_21: type = splice_block %Animal.ref [concrete = constants.%Animal.type] { // CHECK:STDOUT: %.Self.loc32_18: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -248,7 +248,7 @@ fn F() { // CHECK:STDOUT: %.Self.loc32_33: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Edible.ref: type = name_ref Edible, file.%Edible.decl [concrete = constants.%Edible.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %Food.loc32_33.2: %Edible.type = symbolic_binding Food, 1 [symbolic = %Food.loc32_33.1 (constants.%Food.7a5)] +// CHECK:STDOUT: %Food.loc32_33.2: %Edible.type = symbolic_binding Food, 1 [symbolic = %Food.loc32_33.1 (constants.%Food.9ee)] // CHECK:STDOUT: %a.param: @HandleAnimal.%A.as_type.loc32_47.1 (%A.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc32_47.1: type = splice_block %.loc32_47.2 [symbolic = %A.as_type.loc32_47.1 (constants.%A.as_type)] { // CHECK:STDOUT: %A.ref: %Animal.type = name_ref A, %A.loc32_18.2 [symbolic = %A.loc32_18.1 (constants.%A)] @@ -256,19 +256,19 @@ fn F() { // CHECK:STDOUT: %.loc32_47.2: type = converted %A.ref, %A.as_type.loc32_47.2 [symbolic = %A.as_type.loc32_47.1 (constants.%A.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: %a: @HandleAnimal.%A.as_type.loc32_47.1 (%A.as_type) = value_binding a, %a.param -// CHECK:STDOUT: %food.param: @HandleAnimal.%Food.as_type.loc32_56.1 (%Food.as_type.a50) = value_param call_param1 -// CHECK:STDOUT: %.loc32_56.1: type = splice_block %.loc32_56.2 [symbolic = %Food.as_type.loc32_56.1 (constants.%Food.as_type.a50)] { -// CHECK:STDOUT: %Food.ref: %Edible.type = name_ref Food, %Food.loc32_33.2 [symbolic = %Food.loc32_33.1 (constants.%Food.7a5)] -// CHECK:STDOUT: %Food.as_type.loc32_56.2: type = facet_access_type %Food.ref [symbolic = %Food.as_type.loc32_56.1 (constants.%Food.as_type.a50)] -// CHECK:STDOUT: %.loc32_56.2: type = converted %Food.ref, %Food.as_type.loc32_56.2 [symbolic = %Food.as_type.loc32_56.1 (constants.%Food.as_type.a50)] +// CHECK:STDOUT: %food.param: @HandleAnimal.%Food.as_type.loc32_56.1 (%Food.as_type.cd6) = value_param call_param1 +// CHECK:STDOUT: %.loc32_56.1: type = splice_block %.loc32_56.2 [symbolic = %Food.as_type.loc32_56.1 (constants.%Food.as_type.cd6)] { +// CHECK:STDOUT: %Food.ref: %Edible.type = name_ref Food, %Food.loc32_33.2 [symbolic = %Food.loc32_33.1 (constants.%Food.9ee)] +// CHECK:STDOUT: %Food.as_type.loc32_56.2: type = facet_access_type %Food.ref [symbolic = %Food.as_type.loc32_56.1 (constants.%Food.as_type.cd6)] +// CHECK:STDOUT: %.loc32_56.2: type = converted %Food.ref, %Food.as_type.loc32_56.2 [symbolic = %Food.as_type.loc32_56.1 (constants.%Food.as_type.cd6)] // CHECK:STDOUT: } -// CHECK:STDOUT: %food: @HandleAnimal.%Food.as_type.loc32_56.1 (%Food.as_type.a50) = value_binding food, %food.param +// CHECK:STDOUT: %food: @HandleAnimal.%Food.as_type.loc32_56.1 (%Food.as_type.cd6) = value_binding food, %food.param // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Edible { -// CHECK:STDOUT: %Self: %Edible.type = symbolic_binding Self, 0 [symbolic = constants.%Self.33f] +// CHECK:STDOUT: %Self: %Edible.type = symbolic_binding Self, 0 [symbolic = constants.%Self.4f5] // CHECK:STDOUT: %Edible.WithSelf.decl = interface_with_self_decl @Edible [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -279,7 +279,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { -// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d73] +// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.1ff] // CHECK:STDOUT: %Animal.WithSelf.decl = interface_with_self_decl @Animal [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -293,11 +293,11 @@ fn F() { // CHECK:STDOUT: %Food.loc21_20.1: type = symbolic_binding Food, 0 [symbolic = %Food.loc21_20.1 (constants.%Food.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Eats.type: type = facet_type <@Eats, @Eats(%Food.loc21_20.1)> [symbolic = %Eats.type (constants.%Eats.type.707)] -// CHECK:STDOUT: %Self.loc21_29.2: @Eats.%Eats.type (%Eats.type.707) = symbolic_binding Self, 1 [symbolic = %Self.loc21_29.2 (constants.%Self.1ca)] +// CHECK:STDOUT: %Eats.type: type = facet_type <@Eats, @Eats(%Food.loc21_20.1)> [symbolic = %Eats.type (constants.%Eats.type.e08)] +// CHECK:STDOUT: %Self.loc21_29.2: @Eats.%Eats.type (%Eats.type.e08) = symbolic_binding Self, 1 [symbolic = %Self.loc21_29.2 (constants.%Self.e81)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc21_29.1: @Eats.%Eats.type (%Eats.type.707) = symbolic_binding Self, 1 [symbolic = %Self.loc21_29.2 (constants.%Self.1ca)] +// CHECK:STDOUT: %Self.loc21_29.1: @Eats.%Eats.type (%Eats.type.e08) = symbolic_binding Self, 1 [symbolic = %Self.loc21_29.2 (constants.%Self.e81)] // CHECK:STDOUT: %Eats.WithSelf.decl = interface_with_self_decl @Eats [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -318,19 +318,19 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as_type.as.Eats.impl(%T.loc26_15.1: %Animal.type, %U.loc26_27.1: %Edible.type) { -// CHECK:STDOUT: %T.loc26_15.2: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc26_15.2 (constants.%T.123)] +// CHECK:STDOUT: %T.loc26_15.2: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc26_15.2 (constants.%T.34b)] // CHECK:STDOUT: %U.loc26_27.2: %Edible.type = symbolic_binding U, 1 [symbolic = %U.loc26_27.2 (constants.%U)] -// CHECK:STDOUT: %T.as_type.loc26_38.2: type = facet_access_type %T.loc26_15.2 [symbolic = %T.as_type.loc26_38.2 (constants.%T.as_type.6eb)] +// CHECK:STDOUT: %T.as_type.loc26_38.2: type = facet_access_type %T.loc26_15.2 [symbolic = %T.as_type.loc26_38.2 (constants.%T.as_type.975)] // CHECK:STDOUT: %U.as_type.loc26_49.2: type = facet_access_type %U.loc26_27.2 [symbolic = %U.as_type.loc26_49.2 (constants.%U.as_type)] -// CHECK:STDOUT: %Eats.type.loc26_49.2: type = facet_type <@Eats, @Eats(%U.as_type.loc26_49.2)> [symbolic = %Eats.type.loc26_49.2 (constants.%Eats.type.837543.1)] -// CHECK:STDOUT: %Eats.impl_witness.loc26_51.2: = impl_witness %Eats.impl_witness_table, @T.as_type.as.Eats.impl(%T.loc26_15.2, %U.loc26_27.2) [symbolic = %Eats.impl_witness.loc26_51.2 (constants.%Eats.impl_witness.9746ac.1)] +// CHECK:STDOUT: %Eats.type.loc26_49.2: type = facet_type <@Eats, @Eats(%U.as_type.loc26_49.2)> [symbolic = %Eats.type.loc26_49.2 (constants.%Eats.type.319b68.1)] +// CHECK:STDOUT: %Eats.impl_witness.loc26_51.2: = impl_witness %Eats.impl_witness_table, @T.as_type.as.Eats.impl(%T.loc26_15.2, %U.loc26_27.2) [symbolic = %Eats.impl_witness.loc26_51.2 (constants.%Eats.impl_witness.bf7f94.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Eats.type.loc26_49.2 [symbolic = %require_complete (constants.%require_complete.8fa479.1)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Eats.type.loc26_49.2 [symbolic = %require_complete (constants.%require_complete.9d6a3d.1)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %.loc26_38 as %Eats.type.loc26_49.1 { // CHECK:STDOUT: %Eats.impl_witness_table = impl_witness_table (), @T.as_type.as.Eats.impl [concrete] -// CHECK:STDOUT: %Eats.impl_witness.loc26_51.1: = impl_witness %Eats.impl_witness_table, @T.as_type.as.Eats.impl(constants.%T.123, constants.%U) [symbolic = %Eats.impl_witness.loc26_51.2 (constants.%Eats.impl_witness.9746ac.1)] +// CHECK:STDOUT: %Eats.impl_witness.loc26_51.1: = impl_witness %Eats.impl_witness_table, @T.as_type.as.Eats.impl(constants.%T.34b, constants.%U) [symbolic = %Eats.impl_witness.loc26_51.2 (constants.%Eats.impl_witness.bf7f94.1)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %Eats.type.loc26_49.1 @@ -363,21 +363,21 @@ fn F() { // CHECK:STDOUT: .Self = constants.%Goat // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Feed(%Food.loc31_13.2: %Edible.type, %T.loc31_25.2: @Feed.%Eats.type.loc31_37.1 (%Eats.type.ab0)) { -// CHECK:STDOUT: %Food.loc31_13.1: %Edible.type = symbolic_binding Food, 0 [symbolic = %Food.loc31_13.1 (constants.%Food.ffc)] -// CHECK:STDOUT: %Food.as_type.loc31_37.1: type = facet_access_type %Food.loc31_13.1 [symbolic = %Food.as_type.loc31_37.1 (constants.%Food.as_type.7d8)] -// CHECK:STDOUT: %Eats.type.loc31_37.1: type = facet_type <@Eats, @Eats(%Food.as_type.loc31_37.1)> [symbolic = %Eats.type.loc31_37.1 (constants.%Eats.type.ab0)] -// CHECK:STDOUT: %T.loc31_25.1: @Feed.%Eats.type.loc31_37.1 (%Eats.type.ab0) = symbolic_binding T, 1 [symbolic = %T.loc31_25.1 (constants.%T.57c)] -// CHECK:STDOUT: %pattern_type.loc31_25: type = pattern_type %Eats.type.loc31_37.1 [symbolic = %pattern_type.loc31_25 (constants.%pattern_type.f0e)] -// CHECK:STDOUT: %T.as_type.loc31_50.1: type = facet_access_type %T.loc31_25.1 [symbolic = %T.as_type.loc31_50.1 (constants.%T.as_type.54c)] -// CHECK:STDOUT: %pattern_type.loc31_48: type = pattern_type %T.as_type.loc31_50.1 [symbolic = %pattern_type.loc31_48 (constants.%pattern_type.20f)] -// CHECK:STDOUT: %pattern_type.loc31_64: type = pattern_type %Food.as_type.loc31_37.1 [symbolic = %pattern_type.loc31_64 (constants.%pattern_type.c7d)] +// CHECK:STDOUT: generic fn @Feed(%Food.loc31_13.2: %Edible.type, %T.loc31_25.2: @Feed.%Eats.type.loc31_37.1 (%Eats.type.dc6)) { +// CHECK:STDOUT: %Food.loc31_13.1: %Edible.type = symbolic_binding Food, 0 [symbolic = %Food.loc31_13.1 (constants.%Food.c7a)] +// CHECK:STDOUT: %Food.as_type.loc31_37.1: type = facet_access_type %Food.loc31_13.1 [symbolic = %Food.as_type.loc31_37.1 (constants.%Food.as_type.e66)] +// CHECK:STDOUT: %Eats.type.loc31_37.1: type = facet_type <@Eats, @Eats(%Food.as_type.loc31_37.1)> [symbolic = %Eats.type.loc31_37.1 (constants.%Eats.type.dc6)] +// CHECK:STDOUT: %T.loc31_25.1: @Feed.%Eats.type.loc31_37.1 (%Eats.type.dc6) = symbolic_binding T, 1 [symbolic = %T.loc31_25.1 (constants.%T.4a7)] +// CHECK:STDOUT: %pattern_type.loc31_25: type = pattern_type %Eats.type.loc31_37.1 [symbolic = %pattern_type.loc31_25 (constants.%pattern_type.577)] +// CHECK:STDOUT: %T.as_type.loc31_50.1: type = facet_access_type %T.loc31_25.1 [symbolic = %T.as_type.loc31_50.1 (constants.%T.as_type.b3d)] +// CHECK:STDOUT: %pattern_type.loc31_48: type = pattern_type %T.as_type.loc31_50.1 [symbolic = %pattern_type.loc31_48 (constants.%pattern_type.089)] +// CHECK:STDOUT: %pattern_type.loc31_64: type = pattern_type %Food.as_type.loc31_37.1 [symbolic = %pattern_type.loc31_64 (constants.%pattern_type.3ff)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc31_48: = require_complete_type %T.as_type.loc31_50.1 [symbolic = %require_complete.loc31_48 (constants.%require_complete.bb7)] -// CHECK:STDOUT: %require_complete.loc31_64: = require_complete_type %Food.as_type.loc31_37.1 [symbolic = %require_complete.loc31_64 (constants.%require_complete.082)] +// CHECK:STDOUT: %require_complete.loc31_48: = require_complete_type %T.as_type.loc31_50.1 [symbolic = %require_complete.loc31_48 (constants.%require_complete.ecb)] +// CHECK:STDOUT: %require_complete.loc31_64: = require_complete_type %Food.as_type.loc31_37.1 [symbolic = %require_complete.loc31_64 (constants.%require_complete.ebb)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%e.param: @Feed.%T.as_type.loc31_50.1 (%T.as_type.54c), %food.param: @Feed.%Food.as_type.loc31_37.1 (%Food.as_type.7d8)) { +// CHECK:STDOUT: fn(%e.param: @Feed.%T.as_type.loc31_50.1 (%T.as_type.b3d), %food.param: @Feed.%Food.as_type.loc31_37.1 (%Food.as_type.e66)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -385,30 +385,30 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HandleAnimal(%A.loc32_18.2: %Animal.type, %Food.loc32_33.2: %Edible.type) { // CHECK:STDOUT: %A.loc32_18.1: %Animal.type = symbolic_binding A, 0 [symbolic = %A.loc32_18.1 (constants.%A)] -// CHECK:STDOUT: %Food.loc32_33.1: %Edible.type = symbolic_binding Food, 1 [symbolic = %Food.loc32_33.1 (constants.%Food.7a5)] +// CHECK:STDOUT: %Food.loc32_33.1: %Edible.type = symbolic_binding Food, 1 [symbolic = %Food.loc32_33.1 (constants.%Food.9ee)] // CHECK:STDOUT: %A.as_type.loc32_47.1: type = facet_access_type %A.loc32_18.1 [symbolic = %A.as_type.loc32_47.1 (constants.%A.as_type)] -// CHECK:STDOUT: %pattern_type.loc32_45: type = pattern_type %A.as_type.loc32_47.1 [symbolic = %pattern_type.loc32_45 (constants.%pattern_type.106)] -// CHECK:STDOUT: %Food.as_type.loc32_56.1: type = facet_access_type %Food.loc32_33.1 [symbolic = %Food.as_type.loc32_56.1 (constants.%Food.as_type.a50)] -// CHECK:STDOUT: %pattern_type.loc32_54: type = pattern_type %Food.as_type.loc32_56.1 [symbolic = %pattern_type.loc32_54 (constants.%pattern_type.fc4)] +// CHECK:STDOUT: %pattern_type.loc32_45: type = pattern_type %A.as_type.loc32_47.1 [symbolic = %pattern_type.loc32_45 (constants.%pattern_type.94e)] +// CHECK:STDOUT: %Food.as_type.loc32_56.1: type = facet_access_type %Food.loc32_33.1 [symbolic = %Food.as_type.loc32_56.1 (constants.%Food.as_type.cd6)] +// CHECK:STDOUT: %pattern_type.loc32_54: type = pattern_type %Food.as_type.loc32_56.1 [symbolic = %pattern_type.loc32_54 (constants.%pattern_type.9ab)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc32_45: = require_complete_type %A.as_type.loc32_47.1 [symbolic = %require_complete.loc32_45 (constants.%require_complete.284)] -// CHECK:STDOUT: %require_complete.loc32_54: = require_complete_type %Food.as_type.loc32_56.1 [symbolic = %require_complete.loc32_54 (constants.%require_complete.2a2)] -// CHECK:STDOUT: %.loc32_76.3: require_specific_def_type = require_specific_def @T.as_type.as.Eats.impl(%A.loc32_18.1, %Food.loc32_33.1) [symbolic = %.loc32_76.3 (constants.%.bdc)] -// CHECK:STDOUT: %Eats.type: type = facet_type <@Eats, @Eats(%Food.as_type.loc32_56.1)> [symbolic = %Eats.type (constants.%Eats.type.837543.2)] +// CHECK:STDOUT: %require_complete.loc32_45: = require_complete_type %A.as_type.loc32_47.1 [symbolic = %require_complete.loc32_45 (constants.%require_complete.b5c)] +// CHECK:STDOUT: %require_complete.loc32_54: = require_complete_type %Food.as_type.loc32_56.1 [symbolic = %require_complete.loc32_54 (constants.%require_complete.8e7)] +// CHECK:STDOUT: %.loc32_76.3: require_specific_def_type = require_specific_def @T.as_type.as.Eats.impl(%A.loc32_18.1, %Food.loc32_33.1) [symbolic = %.loc32_76.3 (constants.%.9c0)] +// CHECK:STDOUT: %Eats.type: type = facet_type <@Eats, @Eats(%Food.as_type.loc32_56.1)> [symbolic = %Eats.type (constants.%Eats.type.319b68.2)] // CHECK:STDOUT: %Eats.lookup_impl_witness: = lookup_impl_witness %A.loc32_18.1, @Eats, @Eats(%Food.as_type.loc32_56.1) [symbolic = %Eats.lookup_impl_witness (constants.%Eats.lookup_impl_witness)] -// CHECK:STDOUT: %Eats.facet.loc32_76.2: @HandleAnimal.%Eats.type (%Eats.type.837543.2) = facet_value %A.as_type.loc32_47.1, (%Eats.lookup_impl_witness) [symbolic = %Eats.facet.loc32_76.2 (constants.%Eats.facet.f1f)] -// CHECK:STDOUT: %Feed.specific_fn.loc32_64.2: = specific_function constants.%Feed, @Feed(%Food.loc32_33.1, %Eats.facet.loc32_76.2) [symbolic = %Feed.specific_fn.loc32_64.2 (constants.%Feed.specific_fn.1f3)] +// CHECK:STDOUT: %Eats.facet.loc32_76.2: @HandleAnimal.%Eats.type (%Eats.type.319b68.2) = facet_value %A.as_type.loc32_47.1, (%Eats.lookup_impl_witness) [symbolic = %Eats.facet.loc32_76.2 (constants.%Eats.facet.b86)] +// CHECK:STDOUT: %Feed.specific_fn.loc32_64.2: = specific_function constants.%Feed, @Feed(%Food.loc32_33.1, %Eats.facet.loc32_76.2) [symbolic = %Feed.specific_fn.loc32_64.2 (constants.%Feed.specific_fn.7ee)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%a.param: @HandleAnimal.%A.as_type.loc32_47.1 (%A.as_type), %food.param: @HandleAnimal.%Food.as_type.loc32_56.1 (%Food.as_type.a50)) { +// CHECK:STDOUT: fn(%a.param: @HandleAnimal.%A.as_type.loc32_47.1 (%A.as_type), %food.param: @HandleAnimal.%Food.as_type.loc32_56.1 (%Food.as_type.cd6)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Feed.ref: %Feed.type = name_ref Feed, file.%Feed.decl [concrete = constants.%Feed] // CHECK:STDOUT: %a.ref: @HandleAnimal.%A.as_type.loc32_47.1 (%A.as_type) = name_ref a, %a -// CHECK:STDOUT: %food.ref: @HandleAnimal.%Food.as_type.loc32_56.1 (%Food.as_type.a50) = name_ref food, %food -// CHECK:STDOUT: %.loc32_76.1: %Edible.type = converted constants.%Food.as_type.a50, constants.%Food.7a5 [symbolic = %Food.loc32_33.1 (constants.%Food.7a5)] -// CHECK:STDOUT: %Eats.facet.loc32_76.1: @HandleAnimal.%Eats.type (%Eats.type.837543.2) = facet_value constants.%A.as_type, (constants.%Eats.lookup_impl_witness) [symbolic = %Eats.facet.loc32_76.2 (constants.%Eats.facet.f1f)] -// CHECK:STDOUT: %.loc32_76.2: @HandleAnimal.%Eats.type (%Eats.type.837543.2) = converted constants.%A.as_type, %Eats.facet.loc32_76.1 [symbolic = %Eats.facet.loc32_76.2 (constants.%Eats.facet.f1f)] -// CHECK:STDOUT: %Feed.specific_fn.loc32_64.1: = specific_function %Feed.ref, @Feed(constants.%Food.7a5, constants.%Eats.facet.f1f) [symbolic = %Feed.specific_fn.loc32_64.2 (constants.%Feed.specific_fn.1f3)] +// CHECK:STDOUT: %food.ref: @HandleAnimal.%Food.as_type.loc32_56.1 (%Food.as_type.cd6) = name_ref food, %food +// CHECK:STDOUT: %.loc32_76.1: %Edible.type = converted constants.%Food.as_type.cd6, constants.%Food.9ee [symbolic = %Food.loc32_33.1 (constants.%Food.9ee)] +// CHECK:STDOUT: %Eats.facet.loc32_76.1: @HandleAnimal.%Eats.type (%Eats.type.319b68.2) = facet_value constants.%A.as_type, (constants.%Eats.lookup_impl_witness) [symbolic = %Eats.facet.loc32_76.2 (constants.%Eats.facet.b86)] +// CHECK:STDOUT: %.loc32_76.2: @HandleAnimal.%Eats.type (%Eats.type.319b68.2) = converted constants.%A.as_type, %Eats.facet.loc32_76.1 [symbolic = %Eats.facet.loc32_76.2 (constants.%Eats.facet.b86)] +// CHECK:STDOUT: %Feed.specific_fn.loc32_64.1: = specific_function %Feed.ref, @Feed(constants.%Food.9ee, constants.%Eats.facet.b86) [symbolic = %Feed.specific_fn.loc32_64.2 (constants.%Feed.specific_fn.7ee)] // CHECK:STDOUT: %Feed.call: init %empty_tuple.type = call %Feed.specific_fn.loc32_64.1(%a.ref, %food.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -432,13 +432,13 @@ fn F() { // CHECK:STDOUT: %Edible.facet: %Edible.type = facet_value constants.%Grass, (constants.%Edible.impl_witness) [concrete = constants.%Edible.facet] // CHECK:STDOUT: %.loc35_39.2: %Edible.type = converted constants.%Grass, %Edible.facet [concrete = constants.%Edible.facet] // CHECK:STDOUT: %HandleAnimal.specific_fn: = specific_function %HandleAnimal.ref, @HandleAnimal(constants.%Animal.facet, constants.%Edible.facet) [concrete = constants.%HandleAnimal.specific_fn] -// CHECK:STDOUT: %.loc35_19.2: ref %Goat = temporary %.loc35_17.2, %.loc35_19.1 [concrete = constants.%.385] +// CHECK:STDOUT: %.loc35_19.2: ref %Goat = temporary %.loc35_17.2, %.loc35_19.1 [concrete = constants.%.e6d] // CHECK:STDOUT: %.loc35_19.3: %Goat = acquire_value %.loc35_19.2 [concrete = constants.%Goat.val] -// CHECK:STDOUT: %.loc35_31.2: ref %Grass = temporary %.loc35_29.2, %.loc35_31.1 [concrete = constants.%.79b] +// CHECK:STDOUT: %.loc35_31.2: ref %Grass = temporary %.loc35_29.2, %.loc35_31.1 [concrete = constants.%.05d] // CHECK:STDOUT: %.loc35_31.3: %Grass = acquire_value %.loc35_31.2 [concrete = constants.%Grass.val] // CHECK:STDOUT: %HandleAnimal.call: init %empty_tuple.type = call %HandleAnimal.specific_fn(%.loc35_19.3, %.loc35_31.3) -// CHECK:STDOUT: %Destroy.Op.call.loc35_31: init %empty_tuple.type = call constants.%Destroy.Op.bound.4fe(constants.%.79b) -// CHECK:STDOUT: %Destroy.Op.call.loc35_19: init %empty_tuple.type = call constants.%Destroy.Op.bound.ce0(constants.%.385) +// CHECK:STDOUT: %Destroy.Op.call.loc35_31: init %empty_tuple.type = call constants.%Destroy.Op.bound.4a3(constants.%.05d) +// CHECK:STDOUT: %Destroy.Op.call.loc35_19: init %empty_tuple.type = call constants.%Destroy.Op.bound.61b(constants.%.e6d) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -454,7 +454,7 @@ fn F() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Edible.WithSelf(constants.%Self.33f) { +// CHECK:STDOUT: specific @Edible.WithSelf(constants.%Self.4f5) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -462,7 +462,7 @@ fn F() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.d73) { +// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.1ff) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -470,30 +470,30 @@ fn F() { // CHECK:STDOUT: %Food.loc21_20.1 => constants.%Food.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Food.67d, constants.%Self.1ca) {} +// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Food.67d, constants.%Self.e81) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Eats(constants.%U.as_type) { // CHECK:STDOUT: %Food.loc21_20.1 => constants.%U.as_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Eats.type => constants.%Eats.type.837543.1 -// CHECK:STDOUT: %Self.loc21_29.2 => constants.%Self.13a +// CHECK:STDOUT: %Eats.type => constants.%Eats.type.319b68.1 +// CHECK:STDOUT: %Self.loc21_29.2 => constants.%Self.f1a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.Eats.impl(constants.%T.123, constants.%U) { -// CHECK:STDOUT: %T.loc26_15.2 => constants.%T.123 +// CHECK:STDOUT: specific @T.as_type.as.Eats.impl(constants.%T.34b, constants.%U) { +// CHECK:STDOUT: %T.loc26_15.2 => constants.%T.34b // CHECK:STDOUT: %U.loc26_27.2 => constants.%U -// CHECK:STDOUT: %T.as_type.loc26_38.2 => constants.%T.as_type.6eb +// CHECK:STDOUT: %T.as_type.loc26_38.2 => constants.%T.as_type.975 // CHECK:STDOUT: %U.as_type.loc26_49.2 => constants.%U.as_type -// CHECK:STDOUT: %Eats.type.loc26_49.2 => constants.%Eats.type.837543.1 -// CHECK:STDOUT: %Eats.impl_witness.loc26_51.2 => constants.%Eats.impl_witness.9746ac.1 +// CHECK:STDOUT: %Eats.type.loc26_49.2 => constants.%Eats.type.319b68.1 +// CHECK:STDOUT: %Eats.impl_witness.loc26_51.2 => constants.%Eats.impl_witness.bf7f94.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats.WithSelf(constants.%U.as_type, constants.%Self.1ca) { +// CHECK:STDOUT: specific @Eats.WithSelf(constants.%U.as_type, constants.%Self.e81) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats.WithSelf(constants.%U.as_type, constants.%Eats.facet.430) { +// CHECK:STDOUT: specific @Eats.WithSelf(constants.%U.as_type, constants.%Eats.facet.dfd) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -501,85 +501,85 @@ fn F() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats(constants.%Food.as_type.7d8) { -// CHECK:STDOUT: %Food.loc21_20.1 => constants.%Food.as_type.7d8 +// CHECK:STDOUT: specific @Eats(constants.%Food.as_type.e66) { +// CHECK:STDOUT: %Food.loc21_20.1 => constants.%Food.as_type.e66 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Eats.type => constants.%Eats.type.ab0 -// CHECK:STDOUT: %Self.loc21_29.2 => constants.%Self.a74 +// CHECK:STDOUT: %Eats.type => constants.%Eats.type.dc6 +// CHECK:STDOUT: %Self.loc21_29.2 => constants.%Self.46f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Food.as_type.7d8, constants.%Self.1ca) { +// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Food.as_type.e66, constants.%Self.e81) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Feed(constants.%Food.ffc, constants.%T.57c) { -// CHECK:STDOUT: %Food.loc31_13.1 => constants.%Food.ffc -// CHECK:STDOUT: %Food.as_type.loc31_37.1 => constants.%Food.as_type.7d8 -// CHECK:STDOUT: %Eats.type.loc31_37.1 => constants.%Eats.type.ab0 -// CHECK:STDOUT: %T.loc31_25.1 => constants.%T.57c -// CHECK:STDOUT: %pattern_type.loc31_25 => constants.%pattern_type.f0e -// CHECK:STDOUT: %T.as_type.loc31_50.1 => constants.%T.as_type.54c -// CHECK:STDOUT: %pattern_type.loc31_48 => constants.%pattern_type.20f -// CHECK:STDOUT: %pattern_type.loc31_64 => constants.%pattern_type.c7d +// CHECK:STDOUT: specific @Feed(constants.%Food.c7a, constants.%T.4a7) { +// CHECK:STDOUT: %Food.loc31_13.1 => constants.%Food.c7a +// CHECK:STDOUT: %Food.as_type.loc31_37.1 => constants.%Food.as_type.e66 +// CHECK:STDOUT: %Eats.type.loc31_37.1 => constants.%Eats.type.dc6 +// CHECK:STDOUT: %T.loc31_25.1 => constants.%T.4a7 +// CHECK:STDOUT: %pattern_type.loc31_25 => constants.%pattern_type.577 +// CHECK:STDOUT: %T.as_type.loc31_50.1 => constants.%T.as_type.b3d +// CHECK:STDOUT: %pattern_type.loc31_48 => constants.%pattern_type.089 +// CHECK:STDOUT: %pattern_type.loc31_64 => constants.%pattern_type.3ff // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HandleAnimal(constants.%A, constants.%Food.7a5) { +// CHECK:STDOUT: specific @HandleAnimal(constants.%A, constants.%Food.9ee) { // CHECK:STDOUT: %A.loc32_18.1 => constants.%A -// CHECK:STDOUT: %Food.loc32_33.1 => constants.%Food.7a5 +// CHECK:STDOUT: %Food.loc32_33.1 => constants.%Food.9ee // CHECK:STDOUT: %A.as_type.loc32_47.1 => constants.%A.as_type -// CHECK:STDOUT: %pattern_type.loc32_45 => constants.%pattern_type.106 -// CHECK:STDOUT: %Food.as_type.loc32_56.1 => constants.%Food.as_type.a50 -// CHECK:STDOUT: %pattern_type.loc32_54 => constants.%pattern_type.fc4 +// CHECK:STDOUT: %pattern_type.loc32_45 => constants.%pattern_type.94e +// CHECK:STDOUT: %Food.as_type.loc32_56.1 => constants.%Food.as_type.cd6 +// CHECK:STDOUT: %pattern_type.loc32_54 => constants.%pattern_type.9ab // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats(constants.%Food.as_type.a50) { -// CHECK:STDOUT: %Food.loc21_20.1 => constants.%Food.as_type.a50 +// CHECK:STDOUT: specific @Eats(constants.%Food.as_type.cd6) { +// CHECK:STDOUT: %Food.loc21_20.1 => constants.%Food.as_type.cd6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.Eats.impl(constants.%A, constants.%Food.7a5) { +// CHECK:STDOUT: specific @T.as_type.as.Eats.impl(constants.%A, constants.%Food.9ee) { // CHECK:STDOUT: %T.loc26_15.2 => constants.%A -// CHECK:STDOUT: %U.loc26_27.2 => constants.%Food.7a5 +// CHECK:STDOUT: %U.loc26_27.2 => constants.%Food.9ee // CHECK:STDOUT: %T.as_type.loc26_38.2 => constants.%A.as_type -// CHECK:STDOUT: %U.as_type.loc26_49.2 => constants.%Food.as_type.a50 -// CHECK:STDOUT: %Eats.type.loc26_49.2 => constants.%Eats.type.837543.2 -// CHECK:STDOUT: %Eats.impl_witness.loc26_51.2 => constants.%Eats.impl_witness.9746ac.2 +// CHECK:STDOUT: %U.as_type.loc26_49.2 => constants.%Food.as_type.cd6 +// CHECK:STDOUT: %Eats.type.loc26_49.2 => constants.%Eats.type.319b68.2 +// CHECK:STDOUT: %Eats.impl_witness.loc26_51.2 => constants.%Eats.impl_witness.bf7f94.2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.8fa479.2 +// CHECK:STDOUT: %require_complete => constants.%require_complete.9d6a3d.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Feed(constants.%Food.7a5, constants.%Eats.facet.f1f) { -// CHECK:STDOUT: %Food.loc31_13.1 => constants.%Food.7a5 -// CHECK:STDOUT: %Food.as_type.loc31_37.1 => constants.%Food.as_type.a50 -// CHECK:STDOUT: %Eats.type.loc31_37.1 => constants.%Eats.type.837543.2 -// CHECK:STDOUT: %T.loc31_25.1 => constants.%Eats.facet.f1f -// CHECK:STDOUT: %pattern_type.loc31_25 => constants.%pattern_type.ba3 +// CHECK:STDOUT: specific @Feed(constants.%Food.9ee, constants.%Eats.facet.b86) { +// CHECK:STDOUT: %Food.loc31_13.1 => constants.%Food.9ee +// CHECK:STDOUT: %Food.as_type.loc31_37.1 => constants.%Food.as_type.cd6 +// CHECK:STDOUT: %Eats.type.loc31_37.1 => constants.%Eats.type.319b68.2 +// CHECK:STDOUT: %T.loc31_25.1 => constants.%Eats.facet.b86 +// CHECK:STDOUT: %pattern_type.loc31_25 => constants.%pattern_type.0f2 // CHECK:STDOUT: %T.as_type.loc31_50.1 => constants.%A.as_type -// CHECK:STDOUT: %pattern_type.loc31_48 => constants.%pattern_type.106 -// CHECK:STDOUT: %pattern_type.loc31_64 => constants.%pattern_type.fc4 +// CHECK:STDOUT: %pattern_type.loc31_48 => constants.%pattern_type.94e +// CHECK:STDOUT: %pattern_type.loc31_64 => constants.%pattern_type.9ab // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc31_48 => constants.%require_complete.284 -// CHECK:STDOUT: %require_complete.loc31_64 => constants.%require_complete.2a2 +// CHECK:STDOUT: %require_complete.loc31_48 => constants.%require_complete.b5c +// CHECK:STDOUT: %require_complete.loc31_64 => constants.%require_complete.8e7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HandleAnimal(constants.%Animal.facet, constants.%Edible.facet) { // CHECK:STDOUT: %A.loc32_18.1 => constants.%Animal.facet // CHECK:STDOUT: %Food.loc32_33.1 => constants.%Edible.facet // CHECK:STDOUT: %A.as_type.loc32_47.1 => constants.%Goat -// CHECK:STDOUT: %pattern_type.loc32_45 => constants.%pattern_type.332 +// CHECK:STDOUT: %pattern_type.loc32_45 => constants.%pattern_type.bea // CHECK:STDOUT: %Food.as_type.loc32_56.1 => constants.%Grass -// CHECK:STDOUT: %pattern_type.loc32_54 => constants.%pattern_type.413 +// CHECK:STDOUT: %pattern_type.loc32_54 => constants.%pattern_type.2e1 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc32_45 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc32_54 => constants.%complete_type.357 -// CHECK:STDOUT: %.loc32_76.3 => constants.%.ed3 -// CHECK:STDOUT: %Eats.type => constants.%Eats.type.04c -// CHECK:STDOUT: %Eats.lookup_impl_witness => constants.%Eats.impl_witness.931 -// CHECK:STDOUT: %Eats.facet.loc32_76.2 => constants.%Eats.facet.a1f -// CHECK:STDOUT: %Feed.specific_fn.loc32_64.2 => constants.%Feed.specific_fn.b2f +// CHECK:STDOUT: %.loc32_76.3 => constants.%.374 +// CHECK:STDOUT: %Eats.type => constants.%Eats.type.3cb +// CHECK:STDOUT: %Eats.lookup_impl_witness => constants.%Eats.impl_witness.419 +// CHECK:STDOUT: %Eats.facet.loc32_76.2 => constants.%Eats.facet.750 +// CHECK:STDOUT: %Feed.specific_fn.loc32_64.2 => constants.%Feed.specific_fn.137 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @T.as_type.as.Eats.impl(constants.%Animal.facet, constants.%Edible.facet) { @@ -587,34 +587,34 @@ fn F() { // CHECK:STDOUT: %U.loc26_27.2 => constants.%Edible.facet // CHECK:STDOUT: %T.as_type.loc26_38.2 => constants.%Goat // CHECK:STDOUT: %U.as_type.loc26_49.2 => constants.%Grass -// CHECK:STDOUT: %Eats.type.loc26_49.2 => constants.%Eats.type.04c -// CHECK:STDOUT: %Eats.impl_witness.loc26_51.2 => constants.%Eats.impl_witness.931 +// CHECK:STDOUT: %Eats.type.loc26_49.2 => constants.%Eats.type.3cb +// CHECK:STDOUT: %Eats.impl_witness.loc26_51.2 => constants.%Eats.impl_witness.419 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.5c0 +// CHECK:STDOUT: %require_complete => constants.%complete_type.3a7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Eats(constants.%Grass) { // CHECK:STDOUT: %Food.loc21_20.1 => constants.%Grass // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Eats.type => constants.%Eats.type.04c -// CHECK:STDOUT: %Self.loc21_29.2 => constants.%Self.c37 +// CHECK:STDOUT: %Eats.type => constants.%Eats.type.3cb +// CHECK:STDOUT: %Self.loc21_29.2 => constants.%Self.62f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Grass, constants.%Self.1ca) { +// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Grass, constants.%Self.e81) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Feed(constants.%Edible.facet, constants.%Eats.facet.a1f) { +// CHECK:STDOUT: specific @Feed(constants.%Edible.facet, constants.%Eats.facet.750) { // CHECK:STDOUT: %Food.loc31_13.1 => constants.%Edible.facet // CHECK:STDOUT: %Food.as_type.loc31_37.1 => constants.%Grass -// CHECK:STDOUT: %Eats.type.loc31_37.1 => constants.%Eats.type.04c -// CHECK:STDOUT: %T.loc31_25.1 => constants.%Eats.facet.a1f -// CHECK:STDOUT: %pattern_type.loc31_25 => constants.%pattern_type.593 +// CHECK:STDOUT: %Eats.type.loc31_37.1 => constants.%Eats.type.3cb +// CHECK:STDOUT: %T.loc31_25.1 => constants.%Eats.facet.750 +// CHECK:STDOUT: %pattern_type.loc31_25 => constants.%pattern_type.9ca // CHECK:STDOUT: %T.as_type.loc31_50.1 => constants.%Goat -// CHECK:STDOUT: %pattern_type.loc31_48 => constants.%pattern_type.332 -// CHECK:STDOUT: %pattern_type.loc31_64 => constants.%pattern_type.413 +// CHECK:STDOUT: %pattern_type.loc31_48 => constants.%pattern_type.bea +// CHECK:STDOUT: %pattern_type.loc31_64 => constants.%pattern_type.2e1 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc31_48 => constants.%complete_type.357 diff --git a/toolchain/check/testdata/facet/convert_facet_value_value_to_itself.carbon b/toolchain/check/testdata/facet/convert_facet_value_value_to_itself.carbon index 539ef39f2462..b008561379eb 100644 --- a/toolchain/check/testdata/facet/convert_facet_value_value_to_itself.carbon +++ b/toolchain/check/testdata/facet/convert_facet_value_value_to_itself.carbon @@ -29,20 +29,20 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Animal.type: type = facet_type <@Animal> [concrete] -// CHECK:STDOUT: %Self.d73: %Animal.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.1ff: %Animal.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.69f: type = pattern_type %Animal.type [concrete] +// CHECK:STDOUT: %pattern_type.5a8: type = pattern_type %Animal.type [concrete] // CHECK:STDOUT: %T: %Animal.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.106: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.94e: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %FeedAnimal.type: type = fn_type @FeedAnimal [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %FeedAnimal: %FeedAnimal.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type [symbolic] // CHECK:STDOUT: %HandleAnimal.type: type = fn_type @HandleAnimal [concrete] // CHECK:STDOUT: %HandleAnimal: %HandleAnimal.type = struct_value () [concrete] -// CHECK:STDOUT: %FeedAnimal.specific_fn.79c: = specific_function %FeedAnimal, @FeedAnimal(%T) [symbolic] +// CHECK:STDOUT: %FeedAnimal.specific_fn.a0f: = specific_function %FeedAnimal, @FeedAnimal(%T) [symbolic] // CHECK:STDOUT: %Goat: type = class_type @Goat [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] @@ -52,14 +52,14 @@ fn F() { // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %Goat.val: %Goat = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.332: type = pattern_type %Goat [concrete] +// CHECK:STDOUT: %pattern_type.bea: type = pattern_type %Goat [concrete] // CHECK:STDOUT: %HandleAnimal.specific_fn: = specific_function %HandleAnimal, @HandleAnimal(%Animal.facet) [concrete] -// CHECK:STDOUT: %.385: ref %Goat = temporary invalid, %Goat.val [concrete] +// CHECK:STDOUT: %.e6d: ref %Goat = temporary invalid, %Goat.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc25_19.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.385, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %FeedAnimal.specific_fn.ad9: = specific_function %FeedAnimal, @FeedAnimal(%Animal.facet) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc25_19.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e6d, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %FeedAnimal.specific_fn.628: = specific_function %FeedAnimal, @FeedAnimal(%Animal.facet) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -83,9 +83,9 @@ fn F() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Animal.decl: type = interface_decl @Animal [concrete = constants.%Animal.type] {} {} // CHECK:STDOUT: %FeedAnimal.decl: %FeedAnimal.type = fn_decl @FeedAnimal [concrete = constants.%FeedAnimal] { -// CHECK:STDOUT: %T.patt: %pattern_type.69f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %a.param_patt: @FeedAnimal.%pattern_type (%pattern_type.106) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @FeedAnimal.%pattern_type (%pattern_type.106) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.5a8 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %a.param_patt: @FeedAnimal.%pattern_type (%pattern_type.94e) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @FeedAnimal.%pattern_type (%pattern_type.94e) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc17_19: type = splice_block %Animal.ref [concrete = constants.%Animal.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -101,9 +101,9 @@ fn F() { // CHECK:STDOUT: %a: @FeedAnimal.%T.as_type.loc17_37.1 (%T.as_type) = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: %HandleAnimal.decl: %HandleAnimal.type = fn_decl @HandleAnimal [concrete = constants.%HandleAnimal] { -// CHECK:STDOUT: %T.patt: %pattern_type.69f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %a.param_patt: @HandleAnimal.%pattern_type (%pattern_type.106) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @HandleAnimal.%pattern_type (%pattern_type.106) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.5a8 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %a.param_patt: @HandleAnimal.%pattern_type (%pattern_type.94e) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @HandleAnimal.%pattern_type (%pattern_type.94e) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc19_21: type = splice_block %Animal.ref [concrete = constants.%Animal.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -127,7 +127,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { -// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d73] +// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.1ff] // CHECK:STDOUT: %Animal.WithSelf.decl = interface_with_self_decl @Animal [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -157,7 +157,7 @@ fn F() { // CHECK:STDOUT: generic fn @FeedAnimal(%T.loc17_16.2: %Animal.type) { // CHECK:STDOUT: %T.loc17_16.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc17_16.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc17_37.1: type = facet_access_type %T.loc17_16.1 [symbolic = %T.as_type.loc17_37.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc17_37.1 [symbolic = %pattern_type (constants.%pattern_type.106)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc17_37.1 [symbolic = %pattern_type (constants.%pattern_type.94e)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc17_37.1 [symbolic = %require_complete (constants.%require_complete)] @@ -171,18 +171,18 @@ fn F() { // CHECK:STDOUT: generic fn @HandleAnimal(%T.loc19_18.2: %Animal.type) { // CHECK:STDOUT: %T.loc19_18.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc19_18.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc19_32.1: type = facet_access_type %T.loc19_18.1 [symbolic = %T.as_type.loc19_32.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc19_32.1 [symbolic = %pattern_type (constants.%pattern_type.106)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc19_32.1 [symbolic = %pattern_type (constants.%pattern_type.94e)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc19_32.1 [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_37.2: = specific_function constants.%FeedAnimal, @FeedAnimal(%T.loc19_18.1) [symbolic = %FeedAnimal.specific_fn.loc19_37.2 (constants.%FeedAnimal.specific_fn.79c)] +// CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_37.2: = specific_function constants.%FeedAnimal, @FeedAnimal(%T.loc19_18.1) [symbolic = %FeedAnimal.specific_fn.loc19_37.2 (constants.%FeedAnimal.specific_fn.a0f)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%a.param: @HandleAnimal.%T.as_type.loc19_32.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %FeedAnimal.ref: %FeedAnimal.type = name_ref FeedAnimal, file.%FeedAnimal.decl [concrete = constants.%FeedAnimal] // CHECK:STDOUT: %a.ref: @HandleAnimal.%T.as_type.loc19_32.1 (%T.as_type) = name_ref a, %a // CHECK:STDOUT: %.loc19_49: %Animal.type = converted constants.%T.as_type, constants.%T [symbolic = %T.loc19_18.1 (constants.%T)] -// CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_37.1: = specific_function %FeedAnimal.ref, @FeedAnimal(constants.%T) [symbolic = %FeedAnimal.specific_fn.loc19_37.2 (constants.%FeedAnimal.specific_fn.79c)] +// CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_37.1: = specific_function %FeedAnimal.ref, @FeedAnimal(constants.%T) [symbolic = %FeedAnimal.specific_fn.loc19_37.2 (constants.%FeedAnimal.specific_fn.a0f)] // CHECK:STDOUT: %FeedAnimal.call: init %empty_tuple.type = call %FeedAnimal.specific_fn.loc19_37.1(%a.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -199,10 +199,10 @@ fn F() { // CHECK:STDOUT: %Animal.facet: %Animal.type = facet_value constants.%Goat, (constants.%Animal.impl_witness) [concrete = constants.%Animal.facet] // CHECK:STDOUT: %.loc25_26: %Animal.type = converted constants.%Goat, %Animal.facet [concrete = constants.%Animal.facet] // CHECK:STDOUT: %HandleAnimal.specific_fn: = specific_function %HandleAnimal.ref, @HandleAnimal(constants.%Animal.facet) [concrete = constants.%HandleAnimal.specific_fn] -// CHECK:STDOUT: %.loc25_19.2: ref %Goat = temporary %.loc25_17.2, %.loc25_19.1 [concrete = constants.%.385] +// CHECK:STDOUT: %.loc25_19.2: ref %Goat = temporary %.loc25_17.2, %.loc25_19.1 [concrete = constants.%.e6d] // CHECK:STDOUT: %.loc25_19.3: %Goat = acquire_value %.loc25_19.2 [concrete = constants.%Goat.val] // CHECK:STDOUT: %HandleAnimal.call: init %empty_tuple.type = call %HandleAnimal.specific_fn(%.loc25_19.3) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.385) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e6d) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -213,14 +213,14 @@ fn F() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.d73) { +// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.1ff) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @FeedAnimal(constants.%T) { // CHECK:STDOUT: %T.loc17_16.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc17_37.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.106 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.94e // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete @@ -229,7 +229,7 @@ fn F() { // CHECK:STDOUT: specific @HandleAnimal(constants.%T) { // CHECK:STDOUT: %T.loc19_18.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc19_32.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.106 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.94e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Animal.WithSelf(constants.%Animal.facet) { @@ -239,17 +239,17 @@ fn F() { // CHECK:STDOUT: specific @HandleAnimal(constants.%Animal.facet) { // CHECK:STDOUT: %T.loc19_18.1 => constants.%Animal.facet // CHECK:STDOUT: %T.as_type.loc19_32.1 => constants.%Goat -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.332 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bea // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type -// CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_37.2 => constants.%FeedAnimal.specific_fn.ad9 +// CHECK:STDOUT: %FeedAnimal.specific_fn.loc19_37.2 => constants.%FeedAnimal.specific_fn.628 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @FeedAnimal(constants.%Animal.facet) { // CHECK:STDOUT: %T.loc17_16.1 => constants.%Animal.facet // CHECK:STDOUT: %T.as_type.loc17_37.1 => constants.%Goat -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.332 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bea // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type diff --git a/toolchain/check/testdata/facet/convert_interface.carbon b/toolchain/check/testdata/facet/convert_interface.carbon index cee916d059b1..57fe66bd4669 100644 --- a/toolchain/check/testdata/facet/convert_interface.carbon +++ b/toolchain/check/testdata/facet/convert_interface.carbon @@ -26,9 +26,9 @@ fn G() { F(Animal); } // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Eats.type: type = facet_type <@Eats> [concrete] -// CHECK:STDOUT: %Self.24a: %Eats.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d7f: %Eats.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Animal.type: type = facet_type <@Animal> [concrete] -// CHECK:STDOUT: %Self.d73: %Animal.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.1ff: %Animal.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Eats.impl_witness: = impl_witness @Animal.type.as.Eats.impl.%Eats.impl_witness_table [concrete] // CHECK:STDOUT: %Eats.facet: %Eats.type = facet_value %Animal.type, (%Eats.impl_witness) [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %Eats.type [concrete] @@ -73,7 +73,7 @@ fn G() { F(Animal); } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Eats { -// CHECK:STDOUT: %Self: %Eats.type = symbolic_binding Self, 0 [symbolic = constants.%Self.24a] +// CHECK:STDOUT: %Self: %Eats.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d7f] // CHECK:STDOUT: %Eats.WithSelf.decl = interface_with_self_decl @Eats [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -84,7 +84,7 @@ fn G() { F(Animal); } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { -// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d73] +// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.1ff] // CHECK:STDOUT: %Animal.WithSelf.decl = interface_with_self_decl @Animal [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -118,11 +118,11 @@ fn G() { F(Animal); } // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.24a) { +// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.d7f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.d73) {} +// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.1ff) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Eats.WithSelf(constants.%Eats.facet) { // CHECK:STDOUT: !definition: diff --git a/toolchain/check/testdata/facet/facet_assoc_const.carbon b/toolchain/check/testdata/facet/facet_assoc_const.carbon index 746f7425b5f5..78d99ca62fe9 100644 --- a/toolchain/check/testdata/facet/facet_assoc_const.carbon +++ b/toolchain/check/testdata/facet/facet_assoc_const.carbon @@ -649,9 +649,9 @@ fn F(unused T:! I & J where .I1 = .J1.I2) {} // CHECK:STDOUT: %assoc2: %M.assoc_type = assoc_entity element2, @M.WithSelf.%Z [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.715: %M.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.715 [symbolic_self] -// CHECK:STDOUT: %M.lookup_impl_witness: = lookup_impl_witness %.Self.715, @M [symbolic_self] +// CHECK:STDOUT: %.Self.12c: %M.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.12c [symbolic_self] +// CHECK:STDOUT: %M.lookup_impl_witness: = lookup_impl_witness %.Self.12c, @M [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %M.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %impl.elem1: type = impl_witness_access %M.lookup_impl_witness, element1 [symbolic_self] // CHECK:STDOUT: %impl.elem2: type = impl_witness_access %M.lookup_impl_witness, element2 [symbolic_self] @@ -668,29 +668,29 @@ fn F(unused T:! I & J where .I1 = .J1.I2) {} // CHECK:STDOUT: %.loc13_19.1: type = splice_block %.loc13_19.2 [concrete = ] { // CHECK:STDOUT: %.Self.loc13_14: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %M.ref: type = name_ref M, file.%M.decl [concrete = constants.%M.type] -// CHECK:STDOUT: %.Self.loc13_19: %M.type = symbolic_binding .Self [symbolic_self = constants.%.Self.715] -// CHECK:STDOUT: %.Self.ref.loc13_25: %M.type = name_ref .Self, %.Self.loc13_19 [symbolic_self = constants.%.Self.715] +// CHECK:STDOUT: %.Self.loc13_19: %M.type = symbolic_binding .Self [symbolic_self = constants.%.Self.12c] +// CHECK:STDOUT: %.Self.ref.loc13_25: %M.type = name_ref .Self, %.Self.loc13_19 [symbolic_self = constants.%.Self.12c] // CHECK:STDOUT: %.Self.as_type.loc13_25: type = facet_access_type %.Self.ref.loc13_25 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc13_25: type = converted %.Self.ref.loc13_25, %.Self.as_type.loc13_25 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %X.ref.loc13_25: %M.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc13_25: type = impl_witness_access constants.%M.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] -// CHECK:STDOUT: %.Self.ref.loc13_30: %M.type = name_ref .Self, %.Self.loc13_19 [symbolic_self = constants.%.Self.715] +// CHECK:STDOUT: %.Self.ref.loc13_30: %M.type = name_ref .Self, %.Self.loc13_19 [symbolic_self = constants.%.Self.12c] // CHECK:STDOUT: %.Self.as_type.loc13_30: type = facet_access_type %.Self.ref.loc13_30 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc13_30: type = converted %.Self.ref.loc13_30, %.Self.as_type.loc13_30 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %Y.ref.loc13_30: %M.assoc_type = name_ref Y, @Y.%assoc1 [concrete = constants.%assoc1] // CHECK:STDOUT: %impl.elem1.loc13_30: type = impl_witness_access constants.%M.lookup_impl_witness, element1 [symbolic_self = constants.%impl.elem1] -// CHECK:STDOUT: %.Self.ref.loc13_37: %M.type = name_ref .Self, %.Self.loc13_19 [symbolic_self = constants.%.Self.715] +// CHECK:STDOUT: %.Self.ref.loc13_37: %M.type = name_ref .Self, %.Self.loc13_19 [symbolic_self = constants.%.Self.12c] // CHECK:STDOUT: %.Self.as_type.loc13_37: type = facet_access_type %.Self.ref.loc13_37 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc13_37: type = converted %.Self.ref.loc13_37, %.Self.as_type.loc13_37 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %Y.ref.loc13_37: %M.assoc_type = name_ref Y, @Y.%assoc1 [concrete = constants.%assoc1] // CHECK:STDOUT: %impl.elem1.loc13_37: type = impl_witness_access constants.%M.lookup_impl_witness, element1 [symbolic_self = constants.%impl.elem1] -// CHECK:STDOUT: %.Self.ref.loc13_42: %M.type = name_ref .Self, %.Self.loc13_19 [symbolic_self = constants.%.Self.715] +// CHECK:STDOUT: %.Self.ref.loc13_42: %M.type = name_ref .Self, %.Self.loc13_19 [symbolic_self = constants.%.Self.12c] // CHECK:STDOUT: %.Self.as_type.loc13_42: type = facet_access_type %.Self.ref.loc13_42 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc13_42: type = converted %.Self.ref.loc13_42, %.Self.as_type.loc13_42 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %X.ref.loc13_42: %M.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc13_42: type = impl_witness_access constants.%M.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %impl.elem0.subst: type = impl_witness_access_substituted %impl.elem0.loc13_42, %impl.elem1.loc13_30 [symbolic_self = constants.%impl.elem1] -// CHECK:STDOUT: %.Self.ref.loc13_49: %M.type = name_ref .Self, %.Self.loc13_19 [symbolic_self = constants.%.Self.715] +// CHECK:STDOUT: %.Self.ref.loc13_49: %M.type = name_ref .Self, %.Self.loc13_19 [symbolic_self = constants.%.Self.12c] // CHECK:STDOUT: %.Self.as_type.loc13_49: type = facet_access_type %.Self.ref.loc13_49 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc13_49: type = converted %.Self.ref.loc13_49, %.Self.as_type.loc13_49 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %Z.ref: %M.assoc_type = name_ref Z, @Z.%assoc2 [concrete = constants.%assoc2] diff --git a/toolchain/check/testdata/facet/fail_convert_class_type_to_generic_facet_value.carbon b/toolchain/check/testdata/facet/fail_convert_class_type_to_generic_facet_value.carbon index 4ab55e995df7..82a08e385b57 100644 --- a/toolchain/check/testdata/facet/fail_convert_class_type_to_generic_facet_value.carbon +++ b/toolchain/check/testdata/facet/fail_convert_class_type_to_generic_facet_value.carbon @@ -44,35 +44,35 @@ fn G() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %Scalar: type = symbolic_binding Scalar, 0 [symbolic] -// CHECK:STDOUT: %Generic.type.c0b: type = generic_interface_type @Generic [concrete] -// CHECK:STDOUT: %Generic.generic: %Generic.type.c0b = struct_value () [concrete] -// CHECK:STDOUT: %Generic.type.71e638.1: type = facet_type <@Generic, @Generic(%Scalar)> [symbolic] -// CHECK:STDOUT: %Self.de6: %Generic.type.71e638.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.9e9: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%Scalar, %Self.de6) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.e86: %Generic.WithSelf.F.type.9e9 = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.33c: type = assoc_entity_type @Generic, @Generic(%Scalar) [symbolic] -// CHECK:STDOUT: %assoc0.2cf: %Generic.assoc_type.33c = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %Generic.type.df8: type = generic_interface_type @Generic [concrete] +// CHECK:STDOUT: %Generic.generic: %Generic.type.df8 = struct_value () [concrete] +// CHECK:STDOUT: %Generic.type.79a857.1: type = facet_type <@Generic, @Generic(%Scalar)> [symbolic] +// CHECK:STDOUT: %Self.34f: %Generic.type.79a857.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.882: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%Scalar, %Self.34f) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.6a7: %Generic.WithSelf.F.type.882 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.bf8: type = assoc_entity_type @Generic, @Generic(%Scalar) [symbolic] +// CHECK:STDOUT: %assoc0.0c6: %Generic.assoc_type.bf8 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %GenericParam: type = class_type @GenericParam [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %WrongGenericParam: type = class_type @WrongGenericParam [concrete] // CHECK:STDOUT: %ImplsGeneric: type = class_type @ImplsGeneric [concrete] -// CHECK:STDOUT: %Generic.type.e17: type = facet_type <@Generic, @Generic(%GenericParam)> [concrete] +// CHECK:STDOUT: %Generic.type.fa5: type = facet_type <@Generic, @Generic(%GenericParam)> [concrete] // CHECK:STDOUT: %Generic.impl_witness: = impl_witness @ImplsGeneric.as.Generic.impl.%Generic.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.0ab: %Generic.type.e17 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.1fb: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Self.de6) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.239: %Generic.WithSelf.F.type.1fb = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.a5f: type = assoc_entity_type @Generic, @Generic(%GenericParam) [concrete] -// CHECK:STDOUT: %assoc0.c26: %Generic.assoc_type.a5f = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %Self.e96: %Generic.type.fa5 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.d27: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Self.34f) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.87f: %Generic.WithSelf.F.type.d27 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.748: type = assoc_entity_type @Generic, @Generic(%GenericParam) [concrete] +// CHECK:STDOUT: %assoc0.6aa: %Generic.assoc_type.748 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [concrete] // CHECK:STDOUT: %ImplsGeneric.as.Generic.impl.F.type: type = fn_type @ImplsGeneric.as.Generic.impl.F [concrete] // CHECK:STDOUT: %ImplsGeneric.as.Generic.impl.F: %ImplsGeneric.as.Generic.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %Generic.facet: %Generic.type.e17 = facet_value %ImplsGeneric, (%Generic.impl_witness) [concrete] -// CHECK:STDOUT: %Generic.WithSelf.F.type.e70: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Generic.facet) [concrete] -// CHECK:STDOUT: %Generic.WithSelf.F.11f: %Generic.WithSelf.F.type.e70 = struct_value () [concrete] +// CHECK:STDOUT: %Generic.facet: %Generic.type.fa5 = facet_value %ImplsGeneric, (%Generic.impl_witness) [concrete] +// CHECK:STDOUT: %Generic.WithSelf.F.type.52a: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Generic.facet) [concrete] +// CHECK:STDOUT: %Generic.WithSelf.F.a3a: %Generic.WithSelf.F.type.52a = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Generic.type.71e638.2: type = facet_type <@Generic, @Generic(%T)> [symbolic] -// CHECK:STDOUT: %pattern_type.db6: type = pattern_type %Generic.type.71e638.2 [symbolic] -// CHECK:STDOUT: %U: %Generic.type.71e638.2 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %Generic.type.79a857.2: type = facet_type <@Generic, @Generic(%T)> [symbolic] +// CHECK:STDOUT: %pattern_type.31c: type = pattern_type %Generic.type.79a857.2 [symbolic] +// CHECK:STDOUT: %U: %Generic.type.79a857.2 = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %CallGenericMethod.type: type = fn_type @CallGenericMethod [concrete] // CHECK:STDOUT: %CallGenericMethod: %CallGenericMethod.type = struct_value () [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] @@ -97,7 +97,7 @@ fn G() { // CHECK:STDOUT: .G = %G.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Generic.decl: %Generic.type.c0b = interface_decl @Generic [concrete = constants.%Generic.generic] { +// CHECK:STDOUT: %Generic.decl: %Generic.type.df8 = interface_decl @Generic [concrete = constants.%Generic.generic] { // CHECK:STDOUT: %Scalar.patt: %pattern_type.98f = symbolic_binding_pattern Scalar, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15_28.1: type = splice_block %.loc15_28.2 [concrete = type] { @@ -111,26 +111,26 @@ fn G() { // CHECK:STDOUT: %ImplsGeneric.decl: type = class_decl @ImplsGeneric [concrete = constants.%ImplsGeneric] {} {} // CHECK:STDOUT: impl_decl @ImplsGeneric.as.Generic.impl [concrete] {} { // CHECK:STDOUT: %ImplsGeneric.ref: type = name_ref ImplsGeneric, file.%ImplsGeneric.decl [concrete = constants.%ImplsGeneric] -// CHECK:STDOUT: %Generic.ref: %Generic.type.c0b = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %GenericParam.ref: type = name_ref GenericParam, file.%GenericParam.decl [concrete = constants.%GenericParam] -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%GenericParam)> [concrete = constants.%Generic.type.e17] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%GenericParam)> [concrete = constants.%Generic.type.fa5] // CHECK:STDOUT: } // CHECK:STDOUT: %CallGenericMethod.decl: %CallGenericMethod.type = fn_decl @CallGenericMethod [concrete = constants.%CallGenericMethod] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %U.patt: @CallGenericMethod.%pattern_type (%pattern_type.db6) = symbolic_binding_pattern U, 1 [concrete] +// CHECK:STDOUT: %U.patt: @CallGenericMethod.%pattern_type (%pattern_type.31c) = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc27_26.1: type = splice_block %.loc27_26.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc27_23: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc27_26.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc27_23.2: type = symbolic_binding T, 0 [symbolic = %T.loc27_23.1 (constants.%T)] -// CHECK:STDOUT: %.loc27_52: type = splice_block %Generic.type.loc27_52.2 [symbolic = %Generic.type.loc27_52.1 (constants.%Generic.type.71e638.2)] { +// CHECK:STDOUT: %.loc27_52: type = splice_block %Generic.type.loc27_52.2 [symbolic = %Generic.type.loc27_52.1 (constants.%Generic.type.79a857.2)] { // CHECK:STDOUT: %.Self.loc27_40: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Generic.ref: %Generic.type.c0b = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc27_23.2 [symbolic = %T.loc27_23.1 (constants.%T)] -// CHECK:STDOUT: %Generic.type.loc27_52.2: type = facet_type <@Generic, @Generic(constants.%T)> [symbolic = %Generic.type.loc27_52.1 (constants.%Generic.type.71e638.2)] +// CHECK:STDOUT: %Generic.type.loc27_52.2: type = facet_type <@Generic, @Generic(constants.%T)> [symbolic = %Generic.type.loc27_52.1 (constants.%Generic.type.79a857.2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc27_40.2: @CallGenericMethod.%Generic.type.loc27_52.1 (%Generic.type.71e638.2) = symbolic_binding U, 1 [symbolic = %U.loc27_40.1 (constants.%U)] +// CHECK:STDOUT: %U.loc27_40.2: @CallGenericMethod.%Generic.type.loc27_52.1 (%Generic.type.79a857.2) = symbolic_binding U, 1 [symbolic = %U.loc27_40.1 (constants.%U)] // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] {} {} // CHECK:STDOUT: } @@ -139,16 +139,16 @@ fn G() { // CHECK:STDOUT: %Scalar.loc15_25.1: type = symbolic_binding Scalar, 0 [symbolic = %Scalar.loc15_25.1 (constants.%Scalar)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%Scalar.loc15_25.1)> [symbolic = %Generic.type (constants.%Generic.type.71e638.1)] -// CHECK:STDOUT: %Self.loc15_34.2: @Generic.%Generic.type (%Generic.type.71e638.1) = symbolic_binding Self, 1 [symbolic = %Self.loc15_34.2 (constants.%Self.de6)] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%Scalar.loc15_25.1)> [symbolic = %Generic.type (constants.%Generic.type.79a857.1)] +// CHECK:STDOUT: %Self.loc15_34.2: @Generic.%Generic.type (%Generic.type.79a857.1) = symbolic_binding Self, 1 [symbolic = %Self.loc15_34.2 (constants.%Self.34f)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc15_34.1: @Generic.%Generic.type (%Generic.type.71e638.1) = symbolic_binding Self, 1 [symbolic = %Self.loc15_34.2 (constants.%Self.de6)] +// CHECK:STDOUT: %Self.loc15_34.1: @Generic.%Generic.type (%Generic.type.79a857.1) = symbolic_binding Self, 1 [symbolic = %Self.loc15_34.2 (constants.%Self.34f)] // CHECK:STDOUT: %Generic.WithSelf.decl = interface_with_self_decl @Generic [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Generic.WithSelf.F.decl: @Generic.WithSelf.%Generic.WithSelf.F.type (%Generic.WithSelf.F.type.9e9) = fn_decl @Generic.WithSelf.F [symbolic = @Generic.WithSelf.%Generic.WithSelf.F (constants.%Generic.WithSelf.F.e86)] {} {} -// CHECK:STDOUT: %assoc0.loc16_9.1: @Generic.WithSelf.%Generic.assoc_type (%Generic.assoc_type.33c) = assoc_entity element0, %Generic.WithSelf.F.decl [symbolic = %assoc0.loc16_9.2 (constants.%assoc0.2cf)] +// CHECK:STDOUT: %Generic.WithSelf.F.decl: @Generic.WithSelf.%Generic.WithSelf.F.type (%Generic.WithSelf.F.type.882) = fn_decl @Generic.WithSelf.F [symbolic = @Generic.WithSelf.%Generic.WithSelf.F (constants.%Generic.WithSelf.F.6a7)] {} {} +// CHECK:STDOUT: %assoc0.loc16_9.1: @Generic.WithSelf.%Generic.assoc_type (%Generic.assoc_type.bf8) = assoc_entity element0, %Generic.WithSelf.F.decl [symbolic = %assoc0.loc16_9.2 (constants.%assoc0.0c6)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc15_34.1 @@ -194,7 +194,7 @@ fn G() { // CHECK:STDOUT: .Self = constants.%ImplsGeneric // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Generic.WithSelf.F(@Generic.%Scalar.loc15_25.2: type, @Generic.%Self.loc15_34.1: @Generic.%Generic.type (%Generic.type.71e638.1)) { +// CHECK:STDOUT: generic fn @Generic.WithSelf.F(@Generic.%Scalar.loc15_25.2: type, @Generic.%Self.loc15_34.1: @Generic.%Generic.type (%Generic.type.79a857.1)) { // CHECK:STDOUT: fn(); // CHECK:STDOUT: } // CHECK:STDOUT: @@ -203,11 +203,11 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc27_23.2: type, %U.loc27_40.2: @CallGenericMethod.%Generic.type.loc27_52.1 (%Generic.type.71e638.2)) { +// CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc27_23.2: type, %U.loc27_40.2: @CallGenericMethod.%Generic.type.loc27_52.1 (%Generic.type.79a857.2)) { // CHECK:STDOUT: %T.loc27_23.1: type = symbolic_binding T, 0 [symbolic = %T.loc27_23.1 (constants.%T)] -// CHECK:STDOUT: %Generic.type.loc27_52.1: type = facet_type <@Generic, @Generic(%T.loc27_23.1)> [symbolic = %Generic.type.loc27_52.1 (constants.%Generic.type.71e638.2)] -// CHECK:STDOUT: %U.loc27_40.1: @CallGenericMethod.%Generic.type.loc27_52.1 (%Generic.type.71e638.2) = symbolic_binding U, 1 [symbolic = %U.loc27_40.1 (constants.%U)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Generic.type.loc27_52.1 [symbolic = %pattern_type (constants.%pattern_type.db6)] +// CHECK:STDOUT: %Generic.type.loc27_52.1: type = facet_type <@Generic, @Generic(%T.loc27_23.1)> [symbolic = %Generic.type.loc27_52.1 (constants.%Generic.type.79a857.2)] +// CHECK:STDOUT: %U.loc27_40.1: @CallGenericMethod.%Generic.type.loc27_52.1 (%Generic.type.79a857.2) = symbolic_binding U, 1 [symbolic = %U.loc27_40.1 (constants.%U)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Generic.type.loc27_52.1 [symbolic = %pattern_type (constants.%pattern_type.31c)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -229,38 +229,38 @@ fn G() { // CHECK:STDOUT: %Scalar.loc15_25.1 => constants.%Scalar // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%Scalar, constants.%Self.de6) {} +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%Scalar, constants.%Self.34f) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%Scalar, constants.%Self.de6) {} +// CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%Scalar, constants.%Self.34f) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%GenericParam) { // CHECK:STDOUT: %Scalar.loc15_25.1 => constants.%GenericParam // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.e17 -// CHECK:STDOUT: %Self.loc15_34.2 => constants.%Self.0ab +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 +// CHECK:STDOUT: %Self.loc15_34.2 => constants.%Self.e96 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Self.de6) { +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Self.34f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%GenericParam -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.e17 -// CHECK:STDOUT: %Self => constants.%Self.de6 -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.1fb -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.239 -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.a5f -// CHECK:STDOUT: %assoc0.loc16_9.2 => constants.%assoc0.c26 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 +// CHECK:STDOUT: %Self => constants.%Self.34f +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.d27 +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.87f +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.748 +// CHECK:STDOUT: %assoc0.loc16_9.2 => constants.%assoc0.6aa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Generic.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%GenericParam -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.e17 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 // CHECK:STDOUT: %Self => constants.%Generic.facet -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.e70 -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.11f -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.a5f -// CHECK:STDOUT: %assoc0.loc16_9.2 => constants.%assoc0.c26 +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.52a +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.a3a +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.748 +// CHECK:STDOUT: %assoc0.loc16_9.2 => constants.%assoc0.6aa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%GenericParam, constants.%Generic.facet) {} @@ -271,9 +271,9 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: specific @CallGenericMethod(constants.%T, constants.%U) { // CHECK:STDOUT: %T.loc27_23.1 => constants.%T -// CHECK:STDOUT: %Generic.type.loc27_52.1 => constants.%Generic.type.71e638.2 +// CHECK:STDOUT: %Generic.type.loc27_52.1 => constants.%Generic.type.79a857.2 // CHECK:STDOUT: %U.loc27_40.1 => constants.%U -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.db6 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.31c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%WrongGenericParam) { diff --git a/toolchain/check/testdata/facet/fail_convert_facet_value_to_missing_impl.carbon b/toolchain/check/testdata/facet/fail_convert_facet_value_to_missing_impl.carbon index be4c14abf3c1..0875bf47b4f9 100644 --- a/toolchain/check/testdata/facet/fail_convert_facet_value_to_missing_impl.carbon +++ b/toolchain/check/testdata/facet/fail_convert_facet_value_to_missing_impl.carbon @@ -30,25 +30,25 @@ fn HandleAnimal[T:! Animal](a: T) { Feed(a); } // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Eats.type: type = facet_type <@Eats> [concrete] -// CHECK:STDOUT: %Self.24a: %Eats.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d7f: %Eats.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Animal.type: type = facet_type <@Animal> [concrete] -// CHECK:STDOUT: %Self.d73: %Animal.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.1ff: %Animal.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.42a: type = pattern_type %Eats.type [concrete] -// CHECK:STDOUT: %T.ad0: %Eats.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.f11: type = facet_access_type %T.ad0 [symbolic] -// CHECK:STDOUT: %pattern_type.434: type = pattern_type %T.as_type.f11 [symbolic] +// CHECK:STDOUT: %pattern_type.3a5: type = pattern_type %Eats.type [concrete] +// CHECK:STDOUT: %T.ae6: %Eats.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.e42: type = facet_access_type %T.ae6 [symbolic] +// CHECK:STDOUT: %pattern_type.58d: type = pattern_type %T.as_type.e42 [symbolic] // CHECK:STDOUT: %Feed.type: type = fn_type @Feed [concrete] // CHECK:STDOUT: %Feed: %Feed.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.5df: = require_complete_type %T.as_type.f11 [symbolic] -// CHECK:STDOUT: %pattern_type.69f: type = pattern_type %Animal.type [concrete] -// CHECK:STDOUT: %T.123: %Animal.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.6eb: type = facet_access_type %T.123 [symbolic] -// CHECK:STDOUT: %pattern_type.106: type = pattern_type %T.as_type.6eb [symbolic] +// CHECK:STDOUT: %require_complete.019: = require_complete_type %T.as_type.e42 [symbolic] +// CHECK:STDOUT: %pattern_type.5a8: type = pattern_type %Animal.type [concrete] +// CHECK:STDOUT: %T.34b: %Animal.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.975: type = facet_access_type %T.34b [symbolic] +// CHECK:STDOUT: %pattern_type.94e: type = pattern_type %T.as_type.975 [symbolic] // CHECK:STDOUT: %HandleAnimal.type: type = fn_type @HandleAnimal [concrete] // CHECK:STDOUT: %HandleAnimal: %HandleAnimal.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.284: = require_complete_type %T.as_type.6eb [symbolic] +// CHECK:STDOUT: %require_complete.b5c: = require_complete_type %T.as_type.975 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -70,45 +70,45 @@ fn HandleAnimal[T:! Animal](a: T) { Feed(a); } // CHECK:STDOUT: %Eats.decl: type = interface_decl @Eats [concrete = constants.%Eats.type] {} {} // CHECK:STDOUT: %Animal.decl: type = interface_decl @Animal [concrete = constants.%Animal.type] {} {} // CHECK:STDOUT: %Feed.decl: %Feed.type = fn_decl @Feed [concrete = constants.%Feed] { -// CHECK:STDOUT: %T.patt: %pattern_type.42a = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %e.param_patt: @Feed.%pattern_type (%pattern_type.434) = value_param_pattern [concrete] -// CHECK:STDOUT: %e.patt: @Feed.%pattern_type (%pattern_type.434) = at_binding_pattern e, %e.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.3a5 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %e.param_patt: @Feed.%pattern_type (%pattern_type.58d) = value_param_pattern [concrete] +// CHECK:STDOUT: %e.patt: @Feed.%pattern_type (%pattern_type.58d) = at_binding_pattern e, %e.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc18_13: type = splice_block %Eats.ref [concrete = constants.%Eats.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Eats.ref: type = name_ref Eats, file.%Eats.decl [concrete = constants.%Eats.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc18_10.2: %Eats.type = symbolic_binding T, 0 [symbolic = %T.loc18_10.1 (constants.%T.ad0)] -// CHECK:STDOUT: %e.param: @Feed.%T.as_type.loc18_29.1 (%T.as_type.f11) = value_param call_param0 -// CHECK:STDOUT: %.loc18_29.1: type = splice_block %.loc18_29.2 [symbolic = %T.as_type.loc18_29.1 (constants.%T.as_type.f11)] { -// CHECK:STDOUT: %T.ref: %Eats.type = name_ref T, %T.loc18_10.2 [symbolic = %T.loc18_10.1 (constants.%T.ad0)] -// CHECK:STDOUT: %T.as_type.loc18_29.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc18_29.1 (constants.%T.as_type.f11)] -// CHECK:STDOUT: %.loc18_29.2: type = converted %T.ref, %T.as_type.loc18_29.2 [symbolic = %T.as_type.loc18_29.1 (constants.%T.as_type.f11)] +// CHECK:STDOUT: %T.loc18_10.2: %Eats.type = symbolic_binding T, 0 [symbolic = %T.loc18_10.1 (constants.%T.ae6)] +// CHECK:STDOUT: %e.param: @Feed.%T.as_type.loc18_29.1 (%T.as_type.e42) = value_param call_param0 +// CHECK:STDOUT: %.loc18_29.1: type = splice_block %.loc18_29.2 [symbolic = %T.as_type.loc18_29.1 (constants.%T.as_type.e42)] { +// CHECK:STDOUT: %T.ref: %Eats.type = name_ref T, %T.loc18_10.2 [symbolic = %T.loc18_10.1 (constants.%T.ae6)] +// CHECK:STDOUT: %T.as_type.loc18_29.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc18_29.1 (constants.%T.as_type.e42)] +// CHECK:STDOUT: %.loc18_29.2: type = converted %T.ref, %T.as_type.loc18_29.2 [symbolic = %T.as_type.loc18_29.1 (constants.%T.as_type.e42)] // CHECK:STDOUT: } -// CHECK:STDOUT: %e: @Feed.%T.as_type.loc18_29.1 (%T.as_type.f11) = value_binding e, %e.param +// CHECK:STDOUT: %e: @Feed.%T.as_type.loc18_29.1 (%T.as_type.e42) = value_binding e, %e.param // CHECK:STDOUT: } // CHECK:STDOUT: %HandleAnimal.decl: %HandleAnimal.type = fn_decl @HandleAnimal [concrete = constants.%HandleAnimal] { -// CHECK:STDOUT: %T.patt: %pattern_type.69f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %a.param_patt: @HandleAnimal.%pattern_type (%pattern_type.106) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @HandleAnimal.%pattern_type (%pattern_type.106) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.5a8 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %a.param_patt: @HandleAnimal.%pattern_type (%pattern_type.94e) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @HandleAnimal.%pattern_type (%pattern_type.94e) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc27_21: type = splice_block %Animal.ref [concrete = constants.%Animal.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Animal.ref: type = name_ref Animal, file.%Animal.decl [concrete = constants.%Animal.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc27_18.2: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc27_18.1 (constants.%T.123)] -// CHECK:STDOUT: %a.param: @HandleAnimal.%T.as_type.loc27_32.1 (%T.as_type.6eb) = value_param call_param0 -// CHECK:STDOUT: %.loc27_32.1: type = splice_block %.loc27_32.2 [symbolic = %T.as_type.loc27_32.1 (constants.%T.as_type.6eb)] { -// CHECK:STDOUT: %T.ref: %Animal.type = name_ref T, %T.loc27_18.2 [symbolic = %T.loc27_18.1 (constants.%T.123)] -// CHECK:STDOUT: %T.as_type.loc27_32.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc27_32.1 (constants.%T.as_type.6eb)] -// CHECK:STDOUT: %.loc27_32.2: type = converted %T.ref, %T.as_type.loc27_32.2 [symbolic = %T.as_type.loc27_32.1 (constants.%T.as_type.6eb)] +// CHECK:STDOUT: %T.loc27_18.2: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc27_18.1 (constants.%T.34b)] +// CHECK:STDOUT: %a.param: @HandleAnimal.%T.as_type.loc27_32.1 (%T.as_type.975) = value_param call_param0 +// CHECK:STDOUT: %.loc27_32.1: type = splice_block %.loc27_32.2 [symbolic = %T.as_type.loc27_32.1 (constants.%T.as_type.975)] { +// CHECK:STDOUT: %T.ref: %Animal.type = name_ref T, %T.loc27_18.2 [symbolic = %T.loc27_18.1 (constants.%T.34b)] +// CHECK:STDOUT: %T.as_type.loc27_32.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc27_32.1 (constants.%T.as_type.975)] +// CHECK:STDOUT: %.loc27_32.2: type = converted %T.ref, %T.as_type.loc27_32.2 [symbolic = %T.as_type.loc27_32.1 (constants.%T.as_type.975)] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: @HandleAnimal.%T.as_type.loc27_32.1 (%T.as_type.6eb) = value_binding a, %a.param +// CHECK:STDOUT: %a: @HandleAnimal.%T.as_type.loc27_32.1 (%T.as_type.975) = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Eats { -// CHECK:STDOUT: %Self: %Eats.type = symbolic_binding Self, 0 [symbolic = constants.%Self.24a] +// CHECK:STDOUT: %Self: %Eats.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d7f] // CHECK:STDOUT: %Eats.WithSelf.decl = interface_with_self_decl @Eats [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -119,7 +119,7 @@ fn HandleAnimal[T:! Animal](a: T) { Feed(a); } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Animal { -// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d73] +// CHECK:STDOUT: %Self: %Animal.type = symbolic_binding Self, 0 [symbolic = constants.%Self.1ff] // CHECK:STDOUT: %Animal.WithSelf.decl = interface_with_self_decl @Animal [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -130,52 +130,52 @@ fn HandleAnimal[T:! Animal](a: T) { Feed(a); } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Feed(%T.loc18_10.2: %Eats.type) { -// CHECK:STDOUT: %T.loc18_10.1: %Eats.type = symbolic_binding T, 0 [symbolic = %T.loc18_10.1 (constants.%T.ad0)] -// CHECK:STDOUT: %T.as_type.loc18_29.1: type = facet_access_type %T.loc18_10.1 [symbolic = %T.as_type.loc18_29.1 (constants.%T.as_type.f11)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc18_29.1 [symbolic = %pattern_type (constants.%pattern_type.434)] +// CHECK:STDOUT: %T.loc18_10.1: %Eats.type = symbolic_binding T, 0 [symbolic = %T.loc18_10.1 (constants.%T.ae6)] +// CHECK:STDOUT: %T.as_type.loc18_29.1: type = facet_access_type %T.loc18_10.1 [symbolic = %T.as_type.loc18_29.1 (constants.%T.as_type.e42)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc18_29.1 [symbolic = %pattern_type (constants.%pattern_type.58d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc18_29.1 [symbolic = %require_complete (constants.%require_complete.5df)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc18_29.1 [symbolic = %require_complete (constants.%require_complete.019)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%e.param: @Feed.%T.as_type.loc18_29.1 (%T.as_type.f11)) { +// CHECK:STDOUT: fn(%e.param: @Feed.%T.as_type.loc18_29.1 (%T.as_type.e42)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HandleAnimal(%T.loc27_18.2: %Animal.type) { -// CHECK:STDOUT: %T.loc27_18.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc27_18.1 (constants.%T.123)] -// CHECK:STDOUT: %T.as_type.loc27_32.1: type = facet_access_type %T.loc27_18.1 [symbolic = %T.as_type.loc27_32.1 (constants.%T.as_type.6eb)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc27_32.1 [symbolic = %pattern_type (constants.%pattern_type.106)] +// CHECK:STDOUT: %T.loc27_18.1: %Animal.type = symbolic_binding T, 0 [symbolic = %T.loc27_18.1 (constants.%T.34b)] +// CHECK:STDOUT: %T.as_type.loc27_32.1: type = facet_access_type %T.loc27_18.1 [symbolic = %T.as_type.loc27_32.1 (constants.%T.as_type.975)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc27_32.1 [symbolic = %pattern_type (constants.%pattern_type.94e)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc27_32.1 [symbolic = %require_complete (constants.%require_complete.284)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc27_32.1 [symbolic = %require_complete (constants.%require_complete.b5c)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%a.param: @HandleAnimal.%T.as_type.loc27_32.1 (%T.as_type.6eb)) { +// CHECK:STDOUT: fn(%a.param: @HandleAnimal.%T.as_type.loc27_32.1 (%T.as_type.975)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Feed.ref: %Feed.type = name_ref Feed, file.%Feed.decl [concrete = constants.%Feed] -// CHECK:STDOUT: %a.ref: @HandleAnimal.%T.as_type.loc27_32.1 (%T.as_type.6eb) = name_ref a, %a +// CHECK:STDOUT: %a.ref: @HandleAnimal.%T.as_type.loc27_32.1 (%T.as_type.975) = name_ref a, %a // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.24a) { +// CHECK:STDOUT: specific @Eats.WithSelf(constants.%Self.d7f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.d73) { +// CHECK:STDOUT: specific @Animal.WithSelf(constants.%Self.1ff) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Feed(constants.%T.ad0) { -// CHECK:STDOUT: %T.loc18_10.1 => constants.%T.ad0 -// CHECK:STDOUT: %T.as_type.loc18_29.1 => constants.%T.as_type.f11 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.434 +// CHECK:STDOUT: specific @Feed(constants.%T.ae6) { +// CHECK:STDOUT: %T.loc18_10.1 => constants.%T.ae6 +// CHECK:STDOUT: %T.as_type.loc18_29.1 => constants.%T.as_type.e42 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.58d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HandleAnimal(constants.%T.123) { -// CHECK:STDOUT: %T.loc27_18.1 => constants.%T.123 -// CHECK:STDOUT: %T.as_type.loc27_32.1 => constants.%T.as_type.6eb -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.106 +// CHECK:STDOUT: specific @HandleAnimal(constants.%T.34b) { +// CHECK:STDOUT: %T.loc27_18.1 => constants.%T.34b +// CHECK:STDOUT: %T.as_type.loc27_32.1 => constants.%T.as_type.975 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.94e // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/fail_deduction_uses_runtime_type_conversion.carbon b/toolchain/check/testdata/facet/fail_deduction_uses_runtime_type_conversion.carbon index 47eb53d1dea3..56376d3d0411 100644 --- a/toolchain/check/testdata/facet/fail_deduction_uses_runtime_type_conversion.carbon +++ b/toolchain/check/testdata/facet/fail_deduction_uses_runtime_type_conversion.carbon @@ -52,44 +52,44 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), from:! RuntimeConvertFrom) { // CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [concrete] -// CHECK:STDOUT: %HoldsType.0fc: type = class_type @HoldsType, @HoldsType(%T) [symbolic] +// CHECK:STDOUT: %HoldsType.c9c: type = class_type @HoldsType, @HoldsType(%T) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %RuntimeConvertFrom: type = class_type @RuntimeConvertFrom [concrete] // CHECK:STDOUT: %RuntimeConvertTo: type = class_type @RuntimeConvertTo [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.993: type = facet_type <@ImplicitAs, @ImplicitAs(%RuntimeConvertTo)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.522: type = facet_type <@ImplicitAs, @ImplicitAs(%RuntimeConvertTo)> [concrete] // CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness @RuntimeConvertFrom.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.e9b: type = pattern_type %RuntimeConvertFrom [concrete] -// CHECK:STDOUT: %.bc0: Core.Form = init_form %RuntimeConvertTo [concrete] -// CHECK:STDOUT: %pattern_type.c97: type = pattern_type %RuntimeConvertTo [concrete] +// CHECK:STDOUT: %pattern_type.2ff: type = pattern_type %RuntimeConvertFrom [concrete] +// CHECK:STDOUT: %.717: Core.Form = init_form %RuntimeConvertTo [concrete] +// CHECK:STDOUT: %pattern_type.110: type = pattern_type %RuntimeConvertTo [concrete] // CHECK:STDOUT: %RuntimeConvertFrom.as.ImplicitAs.impl.Convert.type: type = fn_type @RuntimeConvertFrom.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %RuntimeConvertFrom.as.ImplicitAs.impl.Convert: %RuntimeConvertFrom.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.993 = facet_value %RuntimeConvertFrom, (%ImplicitAs.impl_witness) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.e76: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%RuntimeConvertTo, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.522 = facet_value %RuntimeConvertFrom, (%ImplicitAs.impl_witness) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b67: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%RuntimeConvertTo, %ImplicitAs.facet) [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %RuntimeConvertTo.val: %RuntimeConvertTo = struct_value () [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %tuple.elem0: type = tuple_access %T, element0 [symbolic] // CHECK:STDOUT: %pattern_type.e66: type = pattern_type %tuple.elem0 [symbolic] // CHECK:STDOUT: %A: %tuple.elem0 = symbolic_binding A, 1 [symbolic] -// CHECK:STDOUT: %pattern_type.03d: type = pattern_type %HoldsType.0fc [symbolic] +// CHECK:STDOUT: %pattern_type.ad8: type = pattern_type %HoldsType.c9c [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete: = require_complete_type %HoldsType.0fc [symbolic] -// CHECK:STDOUT: %tuple.adc: %tuple.type = tuple_value (%RuntimeConvertTo) [concrete] -// CHECK:STDOUT: %HoldsType.adf: type = class_type @HoldsType, @HoldsType(%tuple.adc) [concrete] -// CHECK:STDOUT: %pattern_type.502: type = pattern_type %HoldsType.adf [concrete] +// CHECK:STDOUT: %require_complete: = require_complete_type %HoldsType.c9c [symbolic] +// CHECK:STDOUT: %tuple.1a3: %tuple.type = tuple_value (%RuntimeConvertTo) [concrete] +// CHECK:STDOUT: %HoldsType.90e: type = class_type @HoldsType, @HoldsType(%tuple.1a3) [concrete] +// CHECK:STDOUT: %pattern_type.bcd: type = pattern_type %HoldsType.90e [concrete] // CHECK:STDOUT: %from: %RuntimeConvertFrom = symbolic_binding from, 0 [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %.b45: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.e76, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %.185: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b67, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %RuntimeConvertFrom.as.ImplicitAs.impl.Convert.bound: = bound_method %from, %RuntimeConvertFrom.as.ImplicitAs.impl.Convert [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc40_19.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc40_19.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -99,7 +99,7 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), from:! RuntimeConvertFrom) { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -129,15 +129,15 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), from:! RuntimeConvertFrom) { // CHECK:STDOUT: impl_decl @RuntimeConvertFrom.as.ImplicitAs.impl [concrete] {} { // CHECK:STDOUT: %RuntimeConvertFrom.ref: type = name_ref RuntimeConvertFrom, file.%RuntimeConvertFrom.decl [concrete = constants.%RuntimeConvertFrom] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %RuntimeConvertTo.ref: type = name_ref RuntimeConvertTo, file.%RuntimeConvertTo.decl [concrete = constants.%RuntimeConvertTo] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%RuntimeConvertTo)> [concrete = constants.%ImplicitAs.type.993] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%RuntimeConvertTo)> [concrete = constants.%ImplicitAs.type.522] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %T.patt: %pattern_type.f1e = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %A.patt: @F.%pattern_type.loc27_28 (%pattern_type.e66) = symbolic_binding_pattern A, 1 [concrete] -// CHECK:STDOUT: %x.param_patt: @F.%pattern_type.loc27_44 (%pattern_type.03d) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @F.%pattern_type.loc27_44 (%pattern_type.03d) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: @F.%pattern_type.loc27_44 (%pattern_type.ad8) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @F.%pattern_type.loc27_44 (%pattern_type.ad8) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc27_17.1: type = splice_block %.loc27_17.3 [concrete = constants.%tuple.type] { // CHECK:STDOUT: %.Self.loc27_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -153,29 +153,29 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), from:! RuntimeConvertFrom) { // CHECK:STDOUT: %tuple.elem0.loc27_32.2: type = tuple_access %T.ref.loc27_31, element0 [symbolic = %tuple.elem0.loc27_32.1 (constants.%tuple.elem0)] // CHECK:STDOUT: } // CHECK:STDOUT: %A.loc27_28.2: @F.%tuple.elem0.loc27_32.1 (%tuple.elem0) = symbolic_binding A, 1 [symbolic = %A.loc27_28.1 (constants.%A)] -// CHECK:STDOUT: %x.param: @F.%HoldsType.loc27_57.1 (%HoldsType.0fc) = value_param call_param0 -// CHECK:STDOUT: %.loc27_57: type = splice_block %HoldsType.loc27_57.2 [symbolic = %HoldsType.loc27_57.1 (constants.%HoldsType.0fc)] { +// CHECK:STDOUT: %x.param: @F.%HoldsType.loc27_57.1 (%HoldsType.c9c) = value_param call_param0 +// CHECK:STDOUT: %.loc27_57: type = splice_block %HoldsType.loc27_57.2 [symbolic = %HoldsType.loc27_57.1 (constants.%HoldsType.c9c)] { // CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic] // CHECK:STDOUT: %T.ref.loc27_56: %tuple.type = name_ref T, %T.loc27_7.2 [symbolic = %T.loc27_7.1 (constants.%T)] -// CHECK:STDOUT: %HoldsType.loc27_57.2: type = class_type @HoldsType, @HoldsType(constants.%T) [symbolic = %HoldsType.loc27_57.1 (constants.%HoldsType.0fc)] +// CHECK:STDOUT: %HoldsType.loc27_57.2: type = class_type @HoldsType, @HoldsType(constants.%T) [symbolic = %HoldsType.loc27_57.1 (constants.%HoldsType.c9c)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @F.%HoldsType.loc27_57.1 (%HoldsType.0fc) = value_binding x, %x.param +// CHECK:STDOUT: %x: @F.%HoldsType.loc27_57.1 (%HoldsType.c9c) = value_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %holds_to.param_patt: %pattern_type.502 = value_param_pattern [concrete] -// CHECK:STDOUT: %holds_to.patt: %pattern_type.502 = at_binding_pattern holds_to, %holds_to.param_patt [concrete] -// CHECK:STDOUT: %from.patt: %pattern_type.e9b = symbolic_binding_pattern from, 0 [concrete] +// CHECK:STDOUT: %holds_to.param_patt: %pattern_type.bcd = value_param_pattern [concrete] +// CHECK:STDOUT: %holds_to.patt: %pattern_type.bcd = at_binding_pattern holds_to, %holds_to.param_patt [concrete] +// CHECK:STDOUT: %from.patt: %pattern_type.2ff = symbolic_binding_pattern from, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %holds_to.param: %HoldsType.adf = value_param call_param0 -// CHECK:STDOUT: %.loc29_46.1: type = splice_block %HoldsType [concrete = constants.%HoldsType.adf] { +// CHECK:STDOUT: %holds_to.param: %HoldsType.90e = value_param call_param0 +// CHECK:STDOUT: %.loc29_46.1: type = splice_block %HoldsType [concrete = constants.%HoldsType.90e] { // CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic] // CHECK:STDOUT: %RuntimeConvertTo.ref: type = name_ref RuntimeConvertTo, file.%RuntimeConvertTo.decl [concrete = constants.%RuntimeConvertTo] -// CHECK:STDOUT: %.loc29_45: %tuple.type = tuple_literal (%RuntimeConvertTo.ref) [concrete = constants.%tuple.adc] -// CHECK:STDOUT: %tuple.loc29: %tuple.type = tuple_value (%RuntimeConvertTo.ref) [concrete = constants.%tuple.adc] -// CHECK:STDOUT: %.loc29_46.2: %tuple.type = converted %.loc29_45, %tuple.loc29 [concrete = constants.%tuple.adc] -// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%tuple.adc) [concrete = constants.%HoldsType.adf] +// CHECK:STDOUT: %.loc29_45: %tuple.type = tuple_literal (%RuntimeConvertTo.ref) [concrete = constants.%tuple.1a3] +// CHECK:STDOUT: %tuple.loc29: %tuple.type = tuple_value (%RuntimeConvertTo.ref) [concrete = constants.%tuple.1a3] +// CHECK:STDOUT: %.loc29_46.2: %tuple.type = converted %.loc29_45, %tuple.loc29 [concrete = constants.%tuple.1a3] +// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%tuple.1a3) [concrete = constants.%HoldsType.90e] // CHECK:STDOUT: } -// CHECK:STDOUT: %holds_to: %HoldsType.adf = value_binding holds_to, %holds_to.param +// CHECK:STDOUT: %holds_to: %HoldsType.90e = value_binding holds_to, %holds_to.param // CHECK:STDOUT: %.loc29_56: type = splice_block %RuntimeConvertFrom.ref [concrete = constants.%RuntimeConvertFrom] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %RuntimeConvertFrom.ref: type = name_ref RuntimeConvertFrom, file.%RuntimeConvertFrom.decl [concrete = constants.%RuntimeConvertFrom] @@ -186,13 +186,13 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), from:! RuntimeConvertFrom) { // CHECK:STDOUT: // CHECK:STDOUT: impl @RuntimeConvertFrom.as.ImplicitAs.impl: %RuntimeConvertFrom.ref as %ImplicitAs.type { // CHECK:STDOUT: %RuntimeConvertFrom.as.ImplicitAs.impl.Convert.decl: %RuntimeConvertFrom.as.ImplicitAs.impl.Convert.type = fn_decl @RuntimeConvertFrom.as.ImplicitAs.impl.Convert [concrete = constants.%RuntimeConvertFrom.as.ImplicitAs.impl.Convert] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.e9b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.e9b = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c97 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c97 = return_slot_pattern %return.param_patt, %RuntimeConvertTo.ref [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.2ff = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.2ff = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.110 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.110 = return_slot_pattern %return.param_patt, %RuntimeConvertTo.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %RuntimeConvertTo.ref: type = name_ref RuntimeConvertTo, file.%RuntimeConvertTo.decl [concrete = constants.%RuntimeConvertTo] -// CHECK:STDOUT: %.loc24_38: Core.Form = init_form %RuntimeConvertTo.ref [concrete = constants.%.bc0] +// CHECK:STDOUT: %.loc24_38: Core.Form = init_form %RuntimeConvertTo.ref [concrete = constants.%.717] // CHECK:STDOUT: %self.param: %RuntimeConvertFrom = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @RuntimeConvertFrom.as.ImplicitAs.impl.%RuntimeConvertFrom.ref [concrete = constants.%RuntimeConvertFrom] // CHECK:STDOUT: %self: %RuntimeConvertFrom = value_binding self, %self.param @@ -219,7 +219,7 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), from:! RuntimeConvertFrom) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%HoldsType.0fc +// CHECK:STDOUT: .Self = constants.%HoldsType.c9c // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -252,13 +252,13 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), from:! RuntimeConvertFrom) { // CHECK:STDOUT: %tuple.elem0.loc27_32.1: type = tuple_access %T.loc27_7.1, element0 [symbolic = %tuple.elem0.loc27_32.1 (constants.%tuple.elem0)] // CHECK:STDOUT: %A.loc27_28.1: @F.%tuple.elem0.loc27_32.1 (%tuple.elem0) = symbolic_binding A, 1 [symbolic = %A.loc27_28.1 (constants.%A)] // CHECK:STDOUT: %pattern_type.loc27_28: type = pattern_type %tuple.elem0.loc27_32.1 [symbolic = %pattern_type.loc27_28 (constants.%pattern_type.e66)] -// CHECK:STDOUT: %HoldsType.loc27_57.1: type = class_type @HoldsType, @HoldsType(%T.loc27_7.1) [symbolic = %HoldsType.loc27_57.1 (constants.%HoldsType.0fc)] -// CHECK:STDOUT: %pattern_type.loc27_44: type = pattern_type %HoldsType.loc27_57.1 [symbolic = %pattern_type.loc27_44 (constants.%pattern_type.03d)] +// CHECK:STDOUT: %HoldsType.loc27_57.1: type = class_type @HoldsType, @HoldsType(%T.loc27_7.1) [symbolic = %HoldsType.loc27_57.1 (constants.%HoldsType.c9c)] +// CHECK:STDOUT: %pattern_type.loc27_44: type = pattern_type %HoldsType.loc27_57.1 [symbolic = %pattern_type.loc27_44 (constants.%pattern_type.ad8)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %HoldsType.loc27_57.1 [symbolic = %require_complete (constants.%require_complete)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc27_57.1 (%HoldsType.0fc)) { +// CHECK:STDOUT: fn(%x.param: @F.%HoldsType.loc27_57.1 (%HoldsType.c9c)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -270,23 +270,23 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), from:! RuntimeConvertFrom) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %RuntimeConvertFrom.as.ImplicitAs.impl.Convert.bound: = bound_method %from.loc29_53.1, constants.%RuntimeConvertFrom.as.ImplicitAs.impl.Convert [symbolic = %RuntimeConvertFrom.as.ImplicitAs.impl.Convert.bound (constants.%RuntimeConvertFrom.as.ImplicitAs.impl.Convert.bound)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%holds_to.param: %HoldsType.adf) { +// CHECK:STDOUT: fn(%holds_to.param: %HoldsType.90e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %from.ref: %RuntimeConvertFrom = name_ref from, %from.loc29_53.2 [symbolic = %from.loc29_53.1 (constants.%from)] -// CHECK:STDOUT: %holds_to.ref: %HoldsType.adf = name_ref holds_to, %holds_to -// CHECK:STDOUT: %impl.elem0: %.b45 = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%RuntimeConvertFrom.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %holds_to.ref: %HoldsType.90e = name_ref holds_to, %holds_to +// CHECK:STDOUT: %impl.elem0: %.185 = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%RuntimeConvertFrom.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method: = bound_method constants.%from, %impl.elem0 [symbolic = %RuntimeConvertFrom.as.ImplicitAs.impl.Convert.bound (constants.%RuntimeConvertFrom.as.ImplicitAs.impl.Convert.bound)] // CHECK:STDOUT: %.loc40_19.1: ref %RuntimeConvertTo = temporary_storage // CHECK:STDOUT: %RuntimeConvertFrom.as.ImplicitAs.impl.Convert.call: init %RuntimeConvertTo to %.loc40_19.1 = call %bound_method(constants.%from) // CHECK:STDOUT: %.loc40_19.2: init %RuntimeConvertTo = converted constants.%from, %RuntimeConvertFrom.as.ImplicitAs.impl.Convert.call // CHECK:STDOUT: %.loc40_19.3: ref %RuntimeConvertTo = temporary %.loc40_19.1, %.loc40_19.2 // CHECK:STDOUT: %.loc40_19.4: %RuntimeConvertTo = acquire_value %.loc40_19.3 -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%tuple.adc, ) [concrete = ] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%tuple.1a3, ) [concrete = ] // CHECK:STDOUT: %.loc40_19.5: %empty_tuple.type = call %F.specific_fn(%holds_to.ref) // CHECK:STDOUT: %tuple.loc40: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc40_19.6: %empty_tuple.type = converted %.loc40_19.5, %tuple.loc40 [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc40_19.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc40_19.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc40_19.3) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -310,12 +310,12 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), from:! RuntimeConvertFrom) { // CHECK:STDOUT: %tuple.elem0.loc27_32.1 => constants.%tuple.elem0 // CHECK:STDOUT: %A.loc27_28.1 => constants.%A // CHECK:STDOUT: %pattern_type.loc27_28 => constants.%pattern_type.e66 -// CHECK:STDOUT: %HoldsType.loc27_57.1 => constants.%HoldsType.0fc -// CHECK:STDOUT: %pattern_type.loc27_44 => constants.%pattern_type.03d +// CHECK:STDOUT: %HoldsType.loc27_57.1 => constants.%HoldsType.c9c +// CHECK:STDOUT: %pattern_type.loc27_44 => constants.%pattern_type.ad8 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HoldsType(constants.%tuple.adc) { -// CHECK:STDOUT: %T.loc17_18.1 => constants.%tuple.adc +// CHECK:STDOUT: specific @HoldsType(constants.%tuple.1a3) { +// CHECK:STDOUT: %T.loc17_18.1 => constants.%tuple.1a3 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -324,12 +324,12 @@ fn G(holds_to: HoldsType((RuntimeConvertTo, )), from:! RuntimeConvertFrom) { // CHECK:STDOUT: %from.loc29_53.1 => constants.%from // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%tuple.adc, ) { -// CHECK:STDOUT: %T.loc27_7.1 => constants.%tuple.adc +// CHECK:STDOUT: specific @F(constants.%tuple.1a3, ) { +// CHECK:STDOUT: %T.loc27_7.1 => constants.%tuple.1a3 // CHECK:STDOUT: %tuple.elem0.loc27_32.1 => constants.%RuntimeConvertTo // CHECK:STDOUT: %A.loc27_28.1 => -// CHECK:STDOUT: %pattern_type.loc27_28 => constants.%pattern_type.c97 -// CHECK:STDOUT: %HoldsType.loc27_57.1 => constants.%HoldsType.adf -// CHECK:STDOUT: %pattern_type.loc27_44 => constants.%pattern_type.502 +// CHECK:STDOUT: %pattern_type.loc27_28 => constants.%pattern_type.110 +// CHECK:STDOUT: %HoldsType.loc27_57.1 => constants.%HoldsType.90e +// CHECK:STDOUT: %pattern_type.loc27_44 => constants.%pattern_type.bcd // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/facet/period_self.carbon b/toolchain/check/testdata/facet/period_self.carbon index 42bfcdfb8cc6..49e8a20f6be7 100644 --- a/toolchain/check/testdata/facet/period_self.carbon +++ b/toolchain/check/testdata/facet/period_self.carbon @@ -470,30 +470,30 @@ fn F() { // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.d83: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %I.generic: %I.type.d83 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.fcb: type = facet_type <@I, @I(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.416: %I.type.fcb = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.assoc_type.48e: type = assoc_entity_type @I, @I(%T.67d) [symbolic] -// CHECK:STDOUT: %assoc0.27b: %I.assoc_type.48e = assoc_entity element0, @I.WithSelf.%I1 [symbolic] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T.67d)> [symbolic] +// CHECK:STDOUT: %Self.626: %I.type.50f = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.assoc_type.bd7: type = assoc_entity_type @I, @I(%T.67d) [symbolic] +// CHECK:STDOUT: %assoc0.088: %I.assoc_type.bd7 = assoc_entity element0, @I.WithSelf.%I1 [symbolic] // CHECK:STDOUT: %.Self.as_type.246: type = facet_access_type %.Self.c39 [symbolic_self] -// CHECK:STDOUT: %I.type.95c: type = facet_type <@I, @I(%.Self.as_type.246)> [symbolic_self] -// CHECK:STDOUT: %.Self.411: %I.type.95c = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %Self.820: %I.type.95c = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.assoc_type.dfb: type = assoc_entity_type @I, @I(%.Self.as_type.246) [symbolic_self] -// CHECK:STDOUT: %assoc0.c56: %I.assoc_type.dfb = assoc_entity element0, @I.WithSelf.%I1 [symbolic_self] -// CHECK:STDOUT: %.Self.as_type.63c: type = facet_access_type %.Self.411 [symbolic_self] -// CHECK:STDOUT: %I.lookup_impl_witness.400: = lookup_impl_witness %.Self.411, @I, @I(%.Self.as_type.246) [symbolic_self] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness.400, element0 [symbolic_self] +// CHECK:STDOUT: %I.type.273: type = facet_type <@I, @I(%.Self.as_type.246)> [symbolic_self] +// CHECK:STDOUT: %.Self.5c3: %I.type.273 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Self.bb2: %I.type.273 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.assoc_type.a5d: type = assoc_entity_type @I, @I(%.Self.as_type.246) [symbolic_self] +// CHECK:STDOUT: %assoc0.fd5: %I.assoc_type.a5d = assoc_entity element0, @I.WithSelf.%I1 [symbolic_self] +// CHECK:STDOUT: %.Self.as_type.089: type = facet_access_type %.Self.5c3 [symbolic_self] +// CHECK:STDOUT: %I.lookup_impl_witness.ee0: = lookup_impl_witness %.Self.5c3, @I, @I(%.Self.as_type.246) [symbolic_self] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness.ee0, element0 [symbolic_self] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %I_where.type: type = facet_type <@I, @I(%.Self.as_type.246) where %impl.elem0 = %empty_tuple.type> [symbolic_self] -// CHECK:STDOUT: %pattern_type.5ec: type = pattern_type %I_where.type [symbolic_self] -// CHECK:STDOUT: %T.7e3: %I_where.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.7e3 [symbolic] +// CHECK:STDOUT: %pattern_type.511: type = pattern_type %I_where.type [symbolic_self] +// CHECK:STDOUT: %T.d76: %I_where.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.d76 [symbolic] // CHECK:STDOUT: %facet_value: %type = facet_value %T.as_type, () [symbolic] -// CHECK:STDOUT: %I.lookup_impl_witness.19d: = lookup_impl_witness %T.7e3, @I, @I(%T.as_type) [symbolic] -// CHECK:STDOUT: %I.facet: %I.type.95c = facet_value %T.as_type, (%I.lookup_impl_witness.19d) [symbolic] +// CHECK:STDOUT: %I.lookup_impl_witness.451: = lookup_impl_witness %T.d76, @I, @I(%T.as_type) [symbolic] +// CHECK:STDOUT: %I.facet: %I.type.273 = facet_value %T.as_type, (%I.lookup_impl_witness.451) [symbolic] // CHECK:STDOUT: %.262: Core.Form = init_form %empty_tuple.type [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] @@ -503,7 +503,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { -// CHECK:STDOUT: %I.decl: %I.type.d83 = interface_decl @I [concrete = constants.%I.generic] { +// CHECK:STDOUT: %I.decl: %I.type.48c = interface_decl @I [concrete = constants.%I.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_17.1: type = splice_block %.loc4_17.2 [concrete = type] { @@ -513,39 +513,39 @@ fn F() { // CHECK:STDOUT: %T.loc4_14.2: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt: %pattern_type.5ec = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.511 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.cb1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.cb1 = return_slot_pattern %return.param_patt, %impl.elem0.loc8_39 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref: %I_where.type = name_ref T, %T.loc8_7.2 [symbolic = %T.loc8_7.1 (constants.%T.7e3)] +// CHECK:STDOUT: %T.ref: %I_where.type = name_ref T, %T.loc8_7.2 [symbolic = %T.loc8_7.1 (constants.%T.d76)] // CHECK:STDOUT: %T.as_type.loc8_39.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc8_39.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc8_39.1: type = converted %T.ref, %T.as_type.loc8_39.2 [symbolic = %T.as_type.loc8_39.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc8_39.2: %I.assoc_type.dfb = specific_constant @I1.%assoc0, @I.WithSelf(constants.%.Self.as_type.246, constants.%T.7e3) [symbolic_self = constants.%assoc0.c56] -// CHECK:STDOUT: %I1.ref.loc8_39: %I.assoc_type.dfb = name_ref I1, %.loc8_39.2 [symbolic_self = constants.%assoc0.c56] +// CHECK:STDOUT: %.loc8_39.2: %I.assoc_type.a5d = specific_constant @I1.%assoc0, @I.WithSelf(constants.%.Self.as_type.246, constants.%T.d76) [symbolic_self = constants.%assoc0.fd5] +// CHECK:STDOUT: %I1.ref.loc8_39: %I.assoc_type.a5d = name_ref I1, %.loc8_39.2 [symbolic_self = constants.%assoc0.fd5] // CHECK:STDOUT: %facet_value.loc8_39.2: %type = facet_value constants.%T.as_type, () [symbolic = %facet_value.loc8_39.1 (constants.%facet_value)] // CHECK:STDOUT: %.loc8_39.3: %type = converted constants.%T.as_type, %facet_value.loc8_39.2 [symbolic = %facet_value.loc8_39.1 (constants.%facet_value)] -// CHECK:STDOUT: %T.as_type.loc8_39.3: type = facet_access_type constants.%T.7e3 [symbolic = %T.as_type.loc8_39.1 (constants.%T.as_type)] +// CHECK:STDOUT: %T.as_type.loc8_39.3: type = facet_access_type constants.%T.d76 [symbolic = %T.as_type.loc8_39.1 (constants.%T.as_type)] // CHECK:STDOUT: %facet_value.loc8_39.3: %type = facet_value %T.as_type.loc8_39.3, () [symbolic = %facet_value.loc8_39.1 (constants.%facet_value)] -// CHECK:STDOUT: %.loc8_39.4: %type = converted constants.%T.7e3, %facet_value.loc8_39.3 [symbolic = %facet_value.loc8_39.1 (constants.%facet_value)] -// CHECK:STDOUT: %T.as_type.loc8_39.4: type = facet_access_type constants.%T.7e3 [symbolic = %T.as_type.loc8_39.1 (constants.%T.as_type)] +// CHECK:STDOUT: %.loc8_39.4: %type = converted constants.%T.d76, %facet_value.loc8_39.3 [symbolic = %facet_value.loc8_39.1 (constants.%facet_value)] +// CHECK:STDOUT: %T.as_type.loc8_39.4: type = facet_access_type constants.%T.d76 [symbolic = %T.as_type.loc8_39.1 (constants.%T.as_type)] // CHECK:STDOUT: %facet_value.loc8_39.4: %type = facet_value %T.as_type.loc8_39.4, () [symbolic = %facet_value.loc8_39.1 (constants.%facet_value)] -// CHECK:STDOUT: %.loc8_39.5: %type = converted constants.%T.7e3, %facet_value.loc8_39.4 [symbolic = %facet_value.loc8_39.1 (constants.%facet_value)] -// CHECK:STDOUT: %impl.elem0.loc8_39: type = impl_witness_access constants.%I.lookup_impl_witness.19d, element0 [concrete = constants.%empty_tuple.type] +// CHECK:STDOUT: %.loc8_39.5: %type = converted constants.%T.d76, %facet_value.loc8_39.4 [symbolic = %facet_value.loc8_39.1 (constants.%facet_value)] +// CHECK:STDOUT: %impl.elem0.loc8_39: type = impl_witness_access constants.%I.lookup_impl_witness.451, element0 [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %.loc8_39.6: Core.Form = init_form %impl.elem0.loc8_39 [concrete = constants.%.262] // CHECK:STDOUT: %.loc8_19.1: type = splice_block %.loc8_19.2 [symbolic_self = constants.%I_where.type] { // CHECK:STDOUT: %.Self.loc8_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] -// CHECK:STDOUT: %I.ref: %I.type.d83 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %.Self.ref.loc8_12: %type = name_ref .Self, %.Self.loc8_7 [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %.Self.as_type.loc8_17: type = facet_access_type %.Self.ref.loc8_12 [symbolic_self = constants.%.Self.as_type.246] // CHECK:STDOUT: %.loc8_17: type = converted %.Self.ref.loc8_12, %.Self.as_type.loc8_17 [symbolic_self = constants.%.Self.as_type.246] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%.Self.as_type.246)> [symbolic_self = constants.%I.type.95c] -// CHECK:STDOUT: %.Self.loc8_19: %I.type.95c = symbolic_binding .Self [symbolic_self = constants.%.Self.411] -// CHECK:STDOUT: %.Self.ref.loc8_25: %I.type.95c = name_ref .Self, %.Self.loc8_19 [symbolic_self = constants.%.Self.411] -// CHECK:STDOUT: %.Self.as_type.loc8_25: type = facet_access_type %.Self.ref.loc8_25 [symbolic_self = constants.%.Self.as_type.63c] -// CHECK:STDOUT: %.loc8_25.1: type = converted %.Self.ref.loc8_25, %.Self.as_type.loc8_25 [symbolic_self = constants.%.Self.as_type.63c] -// CHECK:STDOUT: %.loc8_25.2: %I.assoc_type.dfb = specific_constant @I1.%assoc0, @I.WithSelf(constants.%.Self.as_type.246, constants.%.Self.411) [symbolic_self = constants.%assoc0.c56] -// CHECK:STDOUT: %I1.ref.loc8_25: %I.assoc_type.dfb = name_ref I1, %.loc8_25.2 [symbolic_self = constants.%assoc0.c56] -// CHECK:STDOUT: %impl.elem0.loc8_25: type = impl_witness_access constants.%I.lookup_impl_witness.400, element0 [symbolic_self = constants.%impl.elem0] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%.Self.as_type.246)> [symbolic_self = constants.%I.type.273] +// CHECK:STDOUT: %.Self.loc8_19: %I.type.273 = symbolic_binding .Self [symbolic_self = constants.%.Self.5c3] +// CHECK:STDOUT: %.Self.ref.loc8_25: %I.type.273 = name_ref .Self, %.Self.loc8_19 [symbolic_self = constants.%.Self.5c3] +// CHECK:STDOUT: %.Self.as_type.loc8_25: type = facet_access_type %.Self.ref.loc8_25 [symbolic_self = constants.%.Self.as_type.089] +// CHECK:STDOUT: %.loc8_25.1: type = converted %.Self.ref.loc8_25, %.Self.as_type.loc8_25 [symbolic_self = constants.%.Self.as_type.089] +// CHECK:STDOUT: %.loc8_25.2: %I.assoc_type.a5d = specific_constant @I1.%assoc0, @I.WithSelf(constants.%.Self.as_type.246, constants.%.Self.5c3) [symbolic_self = constants.%assoc0.fd5] +// CHECK:STDOUT: %I1.ref.loc8_25: %I.assoc_type.a5d = name_ref I1, %.loc8_25.2 [symbolic_self = constants.%assoc0.fd5] +// CHECK:STDOUT: %impl.elem0.loc8_25: type = impl_witness_access constants.%I.lookup_impl_witness.ee0, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc8_32.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_32.2: type = converted %.loc8_32.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %.loc8_19.2: type = where_expr [symbolic_self = constants.%I_where.type] { @@ -553,40 +553,40 @@ fn F() { // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc8_25, %.loc8_32.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc8_7.2: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T.7e3)] +// CHECK:STDOUT: %T.loc8_7.2: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T.d76)] // CHECK:STDOUT: %return.param: ref %empty_tuple.type = out_param call_param0 // CHECK:STDOUT: %return: ref %empty_tuple.type = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %T.patt: %pattern_type.5ec = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.511 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.cb1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.cb1 = return_slot_pattern %return.param_patt, %impl.elem0.loc12_47 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref: %I_where.type = name_ref T, %T.loc12_7.2 [symbolic = %T.loc12_7.1 (constants.%T.7e3)] +// CHECK:STDOUT: %T.ref: %I_where.type = name_ref T, %T.loc12_7.2 [symbolic = %T.loc12_7.1 (constants.%T.d76)] // CHECK:STDOUT: %T.as_type.loc12_47.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc12_47.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc12_47.1: type = converted %T.ref, %T.as_type.loc12_47.2 [symbolic = %T.as_type.loc12_47.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc12_47.2: %I.assoc_type.dfb = specific_constant @I1.%assoc0, @I.WithSelf(constants.%.Self.as_type.246, constants.%T.7e3) [symbolic_self = constants.%assoc0.c56] -// CHECK:STDOUT: %I1.ref.loc12_47: %I.assoc_type.dfb = name_ref I1, %.loc12_47.2 [symbolic_self = constants.%assoc0.c56] -// CHECK:STDOUT: %T.as_type.loc12_47.3: type = facet_access_type constants.%T.7e3 [symbolic = %T.as_type.loc12_47.1 (constants.%T.as_type)] +// CHECK:STDOUT: %.loc12_47.2: %I.assoc_type.a5d = specific_constant @I1.%assoc0, @I.WithSelf(constants.%.Self.as_type.246, constants.%T.d76) [symbolic_self = constants.%assoc0.fd5] +// CHECK:STDOUT: %I1.ref.loc12_47: %I.assoc_type.a5d = name_ref I1, %.loc12_47.2 [symbolic_self = constants.%assoc0.fd5] +// CHECK:STDOUT: %T.as_type.loc12_47.3: type = facet_access_type constants.%T.d76 [symbolic = %T.as_type.loc12_47.1 (constants.%T.as_type)] // CHECK:STDOUT: %facet_value.loc12_47.2: %type = facet_value %T.as_type.loc12_47.3, () [symbolic = %facet_value.loc12_47.1 (constants.%facet_value)] -// CHECK:STDOUT: %.loc12_47.3: %type = converted constants.%T.7e3, %facet_value.loc12_47.2 [symbolic = %facet_value.loc12_47.1 (constants.%facet_value)] -// CHECK:STDOUT: %impl.elem0.loc12_47: type = impl_witness_access constants.%I.lookup_impl_witness.19d, element0 [concrete = constants.%empty_tuple.type] +// CHECK:STDOUT: %.loc12_47.3: %type = converted constants.%T.d76, %facet_value.loc12_47.2 [symbolic = %facet_value.loc12_47.1 (constants.%facet_value)] +// CHECK:STDOUT: %impl.elem0.loc12_47: type = impl_witness_access constants.%I.lookup_impl_witness.451, element0 [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %.loc12_47.4: Core.Form = init_form %impl.elem0.loc12_47 [concrete = constants.%.262] // CHECK:STDOUT: %.loc12_27.1: type = splice_block %.loc12_27.2 [symbolic_self = constants.%I_where.type] { // CHECK:STDOUT: %.Self.loc12_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] -// CHECK:STDOUT: %I.ref: %I.type.d83 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %.Self.ref.loc12_12: %type = name_ref .Self, %.Self.loc12_7 [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %.loc12_21: type = type_literal type [concrete = type] // CHECK:STDOUT: %.Self.as_type.loc12_18: type = facet_access_type %.Self.ref.loc12_12 [symbolic_self = constants.%.Self.as_type.246] // CHECK:STDOUT: %.loc12_18: type = converted %.Self.ref.loc12_12, %.Self.as_type.loc12_18 [symbolic_self = constants.%.Self.as_type.246] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%.Self.as_type.246)> [symbolic_self = constants.%I.type.95c] -// CHECK:STDOUT: %.Self.loc12_27: %I.type.95c = symbolic_binding .Self [symbolic_self = constants.%.Self.411] -// CHECK:STDOUT: %.Self.ref.loc12_33: %I.type.95c = name_ref .Self, %.Self.loc12_27 [symbolic_self = constants.%.Self.411] -// CHECK:STDOUT: %.Self.as_type.loc12_33: type = facet_access_type %.Self.ref.loc12_33 [symbolic_self = constants.%.Self.as_type.63c] -// CHECK:STDOUT: %.loc12_33.1: type = converted %.Self.ref.loc12_33, %.Self.as_type.loc12_33 [symbolic_self = constants.%.Self.as_type.63c] -// CHECK:STDOUT: %.loc12_33.2: %I.assoc_type.dfb = specific_constant @I1.%assoc0, @I.WithSelf(constants.%.Self.as_type.246, constants.%.Self.411) [symbolic_self = constants.%assoc0.c56] -// CHECK:STDOUT: %I1.ref.loc12_33: %I.assoc_type.dfb = name_ref I1, %.loc12_33.2 [symbolic_self = constants.%assoc0.c56] -// CHECK:STDOUT: %impl.elem0.loc12_33: type = impl_witness_access constants.%I.lookup_impl_witness.400, element0 [symbolic_self = constants.%impl.elem0] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%.Self.as_type.246)> [symbolic_self = constants.%I.type.273] +// CHECK:STDOUT: %.Self.loc12_27: %I.type.273 = symbolic_binding .Self [symbolic_self = constants.%.Self.5c3] +// CHECK:STDOUT: %.Self.ref.loc12_33: %I.type.273 = name_ref .Self, %.Self.loc12_27 [symbolic_self = constants.%.Self.5c3] +// CHECK:STDOUT: %.Self.as_type.loc12_33: type = facet_access_type %.Self.ref.loc12_33 [symbolic_self = constants.%.Self.as_type.089] +// CHECK:STDOUT: %.loc12_33.1: type = converted %.Self.ref.loc12_33, %.Self.as_type.loc12_33 [symbolic_self = constants.%.Self.as_type.089] +// CHECK:STDOUT: %.loc12_33.2: %I.assoc_type.a5d = specific_constant @I1.%assoc0, @I.WithSelf(constants.%.Self.as_type.246, constants.%.Self.5c3) [symbolic_self = constants.%assoc0.fd5] +// CHECK:STDOUT: %I1.ref.loc12_33: %I.assoc_type.a5d = name_ref I1, %.loc12_33.2 [symbolic_self = constants.%assoc0.fd5] +// CHECK:STDOUT: %impl.elem0.loc12_33: type = impl_witness_access constants.%I.lookup_impl_witness.ee0, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc12_40.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc12_40.2: type = converted %.loc12_40.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %.loc12_27.2: type = where_expr [symbolic_self = constants.%I_where.type] { @@ -594,7 +594,7 @@ fn F() { // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc12_33, %.loc12_40.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc12_7.2: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc12_7.1 (constants.%T.7e3)] +// CHECK:STDOUT: %T.loc12_7.2: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc12_7.1 (constants.%T.d76)] // CHECK:STDOUT: %return.param: ref %empty_tuple.type = out_param call_param0 // CHECK:STDOUT: %return: ref %empty_tuple.type = return_slot %return.param // CHECK:STDOUT: } @@ -604,16 +604,16 @@ fn F() { // CHECK:STDOUT: %T.loc4_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc4_14.1)> [symbolic = %I.type (constants.%I.type.fcb)] -// CHECK:STDOUT: %Self.loc4_23.2: @I.%I.type (%I.type.fcb) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self.416)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc4_14.1)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self.loc4_23.2: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self.626)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_23.1: @I.%I.type (%I.type.fcb) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self.416)] +// CHECK:STDOUT: %Self.loc4_23.1: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self.626)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %I1: type = assoc_const_decl @I1 [concrete] { -// CHECK:STDOUT: %assoc0: @I.WithSelf.%I.assoc_type (%I.assoc_type.48e) = assoc_entity element0, @I.WithSelf.%I1 [symbolic = @I.WithSelf.%assoc0 (constants.%assoc0.27b)] +// CHECK:STDOUT: %assoc0: @I.WithSelf.%I.assoc_type (%I.assoc_type.bd7) = assoc_entity element0, @I.WithSelf.%I1 [symbolic = @I.WithSelf.%assoc0 (constants.%assoc0.088)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -626,7 +626,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc8_7.2: %I_where.type) { -// CHECK:STDOUT: %T.loc8_7.1: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T.7e3)] +// CHECK:STDOUT: %T.loc8_7.1: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc8_7.1 (constants.%T.d76)] // CHECK:STDOUT: %T.as_type.loc8_39.1: type = facet_access_type %T.loc8_7.1 [symbolic = %T.as_type.loc8_39.1 (constants.%T.as_type)] // CHECK:STDOUT: %facet_value.loc8_39.1: %type = facet_value %T.as_type.loc8_39.1, () [symbolic = %facet_value.loc8_39.1 (constants.%facet_value)] // CHECK:STDOUT: @@ -642,7 +642,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @G(%T.loc12_7.2: %I_where.type) { -// CHECK:STDOUT: %T.loc12_7.1: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc12_7.1 (constants.%T.7e3)] +// CHECK:STDOUT: %T.loc12_7.1: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc12_7.1 (constants.%T.d76)] // CHECK:STDOUT: %T.as_type.loc12_47.1: type = facet_access_type %T.loc12_7.1 [symbolic = %T.as_type.loc12_47.1 (constants.%T.as_type)] // CHECK:STDOUT: %facet_value.loc12_47.1: %type = facet_value %T.as_type.loc12_47.1, () [symbolic = %facet_value.loc12_47.1 (constants.%facet_value)] // CHECK:STDOUT: @@ -661,35 +661,35 @@ fn F() { // CHECK:STDOUT: %T.loc4_14.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T.67d, constants.%Self.416) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%T.67d, constants.%Self.626) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%.Self.as_type.246) { // CHECK:STDOUT: %T.loc4_14.1 => constants.%.Self.as_type.246 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.95c -// CHECK:STDOUT: %Self.loc4_23.2 => constants.%Self.820 +// CHECK:STDOUT: %I.type => constants.%I.type.273 +// CHECK:STDOUT: %Self.loc4_23.2 => constants.%Self.bb2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.as_type.246, constants.%Self.416) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.as_type.246, constants.%Self.626) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%.Self.as_type.246 -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.dfb -// CHECK:STDOUT: %assoc0 => constants.%assoc0.c56 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.a5d +// CHECK:STDOUT: %assoc0 => constants.%assoc0.fd5 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.as_type.246, constants.%.Self.411) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.as_type.246, constants.%.Self.5c3) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%.Self.as_type.246 -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.dfb -// CHECK:STDOUT: %assoc0 => constants.%assoc0.c56 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.a5d +// CHECK:STDOUT: %assoc0 => constants.%assoc0.fd5 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.as_type.246, constants.%T.7e3) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.as_type.246, constants.%T.d76) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%.Self.as_type.246 -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.dfb -// CHECK:STDOUT: %assoc0 => constants.%assoc0.c56 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.a5d +// CHECK:STDOUT: %assoc0 => constants.%assoc0.fd5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%T.as_type) { @@ -699,18 +699,18 @@ fn F() { // CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.as_type.246, constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%.Self.as_type.246 -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.dfb -// CHECK:STDOUT: %assoc0 => constants.%assoc0.c56 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.a5d +// CHECK:STDOUT: %assoc0 => constants.%assoc0.fd5 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.7e3) { -// CHECK:STDOUT: %T.loc8_7.1 => constants.%T.7e3 +// CHECK:STDOUT: specific @F(constants.%T.d76) { +// CHECK:STDOUT: %T.loc8_7.1 => constants.%T.d76 // CHECK:STDOUT: %T.as_type.loc8_39.1 => constants.%T.as_type // CHECK:STDOUT: %facet_value.loc8_39.1 => constants.%facet_value // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @G(constants.%T.7e3) { -// CHECK:STDOUT: %T.loc12_7.1 => constants.%T.7e3 +// CHECK:STDOUT: specific @G(constants.%T.d76) { +// CHECK:STDOUT: %T.loc12_7.1 => constants.%T.d76 // CHECK:STDOUT: %T.as_type.loc12_47.1 => constants.%T.as_type // CHECK:STDOUT: %facet_value.loc12_47.1 => constants.%facet_value // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/facet/require_import.carbon b/toolchain/check/testdata/facet/require_import.carbon index 75350159e2d0..9cde17eada55 100644 --- a/toolchain/check/testdata/facet/require_import.carbon +++ b/toolchain/check/testdata/facet/require_import.carbon @@ -60,39 +60,39 @@ fn F(B:! Y) { // CHECK:STDOUT: %Self.as_type.190: type = facet_access_type %Self.f45 [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Z.type.583: type = facet_type <@Z, @Z(%T)> [symbolic] -// CHECK:STDOUT: %Self.407: %Z.type.583 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Z.assoc_type.1ee: type = assoc_entity_type @Z, @Z(%T) [symbolic] -// CHECK:STDOUT: %Z.WithSelf.F.type.6d5: type = fn_type @Z.WithSelf.F, @Z.WithSelf(%T, %Self.407) [symbolic] -// CHECK:STDOUT: %Z.WithSelf.F.3c6: %Z.WithSelf.F.type.6d5 = struct_value () [symbolic] -// CHECK:STDOUT: %Z.type.a591d7.1: type = facet_type <@Z, @Z(%Self.as_type.190)> [symbolic] -// CHECK:STDOUT: %Self.82a: %Z.type.a591d7.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %require_complete.508687.1: = require_complete_type %Z.type.a591d7.1 [symbolic] +// CHECK:STDOUT: %Z.type.284: type = facet_type <@Z, @Z(%T)> [symbolic] +// CHECK:STDOUT: %Self.b7a: %Z.type.284 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Z.assoc_type.e20: type = assoc_entity_type @Z, @Z(%T) [symbolic] +// CHECK:STDOUT: %Z.WithSelf.F.type.5cd: type = fn_type @Z.WithSelf.F, @Z.WithSelf(%T, %Self.b7a) [symbolic] +// CHECK:STDOUT: %Z.WithSelf.F.5f5: %Z.WithSelf.F.type.5cd = struct_value () [symbolic] +// CHECK:STDOUT: %Z.type.cb505d.1: type = facet_type <@Z, @Z(%Self.as_type.190)> [symbolic] +// CHECK:STDOUT: %Self.858: %Z.type.cb505d.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %require_complete.6c9163.1: = require_complete_type %Z.type.cb505d.1 [symbolic] // CHECK:STDOUT: %pattern_type.9a5: type = pattern_type %X.type [concrete] // CHECK:STDOUT: %A: %X.type = symbolic_binding A, 0 [symbolic] // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] -// CHECK:STDOUT: %Self.283: %Y.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.6b0: type = facet_access_type %Self.283 [symbolic] -// CHECK:STDOUT: %Z.type.3df: type = facet_type <@Z, @Z(%Self.as_type.6b0)> [symbolic] -// CHECK:STDOUT: %Self.d16: %Z.type.3df = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %pattern_type.771: type = pattern_type %Y.type [concrete] +// CHECK:STDOUT: %Self.a20: %Y.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.170: type = facet_access_type %Self.a20 [symbolic] +// CHECK:STDOUT: %Z.type.5d9: type = facet_type <@Z, @Z(%Self.as_type.170)> [symbolic] +// CHECK:STDOUT: %Self.310: %Z.type.5d9 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %pattern_type.58d: type = pattern_type %Y.type [concrete] // CHECK:STDOUT: %B: %Y.type = symbolic_binding B, 1 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %A.as_type: type = facet_access_type %A [symbolic] -// CHECK:STDOUT: %Z.type.a591d7.2: type = facet_type <@Z, @Z(%A.as_type)> [symbolic] -// CHECK:STDOUT: %require_complete.508687.2: = require_complete_type %Z.type.a591d7.2 [symbolic] -// CHECK:STDOUT: %Z.WithSelf.F.type.407: type = fn_type @Z.WithSelf.F, @Z.WithSelf(%A.as_type, %A) [symbolic] -// CHECK:STDOUT: %Z.WithSelf.F.990: %Z.WithSelf.F.type.407 = struct_value () [symbolic] -// CHECK:STDOUT: %Z.assoc_type.357: type = assoc_entity_type @Z, @Z(%A.as_type) [symbolic] -// CHECK:STDOUT: %assoc0.084: %Z.assoc_type.357 = assoc_entity element0, imports.%Main.import_ref.01c [symbolic] -// CHECK:STDOUT: %assoc0.ea3: %Z.assoc_type.1ee = assoc_entity element0, imports.%Main.import_ref.1e4 [symbolic] +// CHECK:STDOUT: %Z.type.cb505d.2: type = facet_type <@Z, @Z(%A.as_type)> [symbolic] +// CHECK:STDOUT: %require_complete.6c9163.2: = require_complete_type %Z.type.cb505d.2 [symbolic] +// CHECK:STDOUT: %Z.WithSelf.F.type.599: type = fn_type @Z.WithSelf.F, @Z.WithSelf(%A.as_type, %A) [symbolic] +// CHECK:STDOUT: %Z.WithSelf.F.502: %Z.WithSelf.F.type.599 = struct_value () [symbolic] +// CHECK:STDOUT: %Z.assoc_type.bd3: type = assoc_entity_type @Z, @Z(%A.as_type) [symbolic] +// CHECK:STDOUT: %assoc0.3bd: %Z.assoc_type.bd3 = assoc_entity element0, imports.%Main.import_ref.8df [symbolic] +// CHECK:STDOUT: %assoc0.7f4: %Z.assoc_type.e20 = assoc_entity element0, imports.%Main.import_ref.43a [symbolic] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %A, @Z, @Z(%A.as_type) [symbolic] -// CHECK:STDOUT: %Z.facet: %Z.type.a591d7.2 = facet_value %A.as_type, (%Z.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Z.WithSelf.F.type.a15: type = fn_type @Z.WithSelf.F, @Z.WithSelf(%A.as_type, %Z.facet) [symbolic] -// CHECK:STDOUT: %Z.WithSelf.F.a09: %Z.WithSelf.F.type.a15 = struct_value () [symbolic] -// CHECK:STDOUT: %.441: type = fn_type_with_self_type %Z.WithSelf.F.type.a15, %Z.facet [symbolic] -// CHECK:STDOUT: %impl.elem0: %.441 = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %Z.facet: %Z.type.cb505d.2 = facet_value %A.as_type, (%Z.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Z.WithSelf.F.type.0d4: type = fn_type @Z.WithSelf.F, @Z.WithSelf(%A.as_type, %Z.facet) [symbolic] +// CHECK:STDOUT: %Z.WithSelf.F.d4d: %Z.WithSelf.F.type.0d4 = struct_value () [symbolic] +// CHECK:STDOUT: %.e18: type = fn_type_with_self_type %Z.WithSelf.F.type.0d4, %Z.facet [symbolic] +// CHECK:STDOUT: %impl.elem0: %.e18 = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Z.WithSelf.F(%A.as_type, %Z.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -100,24 +100,24 @@ fn F(B:! Y) { // CHECK:STDOUT: %Main.Z = import_ref Main//a, Z, unloaded // CHECK:STDOUT: %Main.Y: type = import_ref Main//a, Y, loaded [concrete = constants.%Y.type] // CHECK:STDOUT: %Main.X: type = import_ref Main//a, X, loaded [concrete = constants.%X.type] -// CHECK:STDOUT: %Main.import_ref.760: type = import_ref Main//a, loc12_31, loaded [symbolic = @X.WithSelf.%Z.type (constants.%Z.type.a591d7.1)] -// CHECK:STDOUT: %Main.import_ref.e7c: @Z.WithSelf.%Z.assoc_type (%Z.assoc_type.1ee) = import_ref Main//a, loc4_9, loaded [symbolic = @Z.WithSelf.%assoc0 (constants.%assoc0.ea3)] +// CHECK:STDOUT: %Main.import_ref.b7c: type = import_ref Main//a, loc12_31, loaded [symbolic = @X.WithSelf.%Z.type (constants.%Z.type.cb505d.1)] +// CHECK:STDOUT: %Main.import_ref.b15: @Z.WithSelf.%Z.assoc_type (%Z.assoc_type.e20) = import_ref Main//a, loc4_9, loaded [symbolic = @Z.WithSelf.%assoc0 (constants.%assoc0.7f4)] // CHECK:STDOUT: %Main.F = import_ref Main//a, F, unloaded -// CHECK:STDOUT: %Main.import_ref.01c: @Z.WithSelf.%Z.WithSelf.F.type (%Z.WithSelf.F.type.6d5) = import_ref Main//a, loc4_9, loaded [symbolic = @Z.WithSelf.%Z.WithSelf.F (constants.%Z.WithSelf.F.3c6)] +// CHECK:STDOUT: %Main.import_ref.8df: @Z.WithSelf.%Z.WithSelf.F.type (%Z.WithSelf.F.type.5cd) = import_ref Main//a, loc4_9, loaded [symbolic = @Z.WithSelf.%Z.WithSelf.F (constants.%Z.WithSelf.F.5f5)] // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//a, loc3_14, loaded [symbolic = @Z.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.0e69cc.2: @Z.%Z.type (%Z.type.583) = import_ref Main//a, loc3_23, loaded [symbolic = @Z.%Self (constants.%Self.407)] -// CHECK:STDOUT: %Main.import_ref.1d6 = import_ref Main//a, loc3_23, unloaded +// CHECK:STDOUT: %Main.import_ref.ae8950.2: @Z.%Z.type (%Z.type.284) = import_ref Main//a, loc3_23, loaded [symbolic = @Z.%Self (constants.%Self.b7a)] +// CHECK:STDOUT: %Main.import_ref.8dd = import_ref Main//a, loc3_23, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//a, loc3_14, loaded [symbolic = @Z.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.f10: type = import_ref Main//a, loc12_18, loaded [symbolic = @X.WithSelf.Self.as_type.impls.Z.type.require.%Self.as_type (constants.%Self.as_type.190)] -// CHECK:STDOUT: %Main.import_ref.ed5: type = import_ref Main//a, loc12_30, loaded [symbolic = @X.WithSelf.Self.as_type.impls.Z.type.require.%Z.type (constants.%Z.type.a591d7.1)] -// CHECK:STDOUT: %Main.import_ref.606d54.2: %X.type = import_ref Main//a, loc11_14, loaded [symbolic = constants.%Self.f45] -// CHECK:STDOUT: %Main.import_ref.aec = import_ref Main//a, loc11_14, unloaded -// CHECK:STDOUT: %Main.import_ref.16f = import_ref Main//a, loc8_31, unloaded -// CHECK:STDOUT: %Main.import_ref.5f8: type = import_ref Main//a, loc8_18, loaded [symbolic = @Y.WithSelf.Self.as_type.impls.Z.type.require.%Self.as_type (constants.%Self.as_type.6b0)] -// CHECK:STDOUT: %Main.import_ref.fdb: type = import_ref Main//a, loc8_30, loaded [symbolic = @Y.WithSelf.Self.as_type.impls.Z.type.require.%Z.type (constants.%Z.type.3df)] -// CHECK:STDOUT: %Main.import_ref.59c5ff.2: %Y.type = import_ref Main//a, loc7_13, loaded [symbolic = constants.%Self.283] -// CHECK:STDOUT: %Main.import_ref.664 = import_ref Main//a, loc7_13, unloaded -// CHECK:STDOUT: %Main.import_ref.1e4 = import_ref Main//a, loc4_9, unloaded +// CHECK:STDOUT: %Main.import_ref.c81: type = import_ref Main//a, loc12_18, loaded [symbolic = @X.WithSelf.Self.as_type.impls.Z.type.require.%Self.as_type (constants.%Self.as_type.190)] +// CHECK:STDOUT: %Main.import_ref.d70: type = import_ref Main//a, loc12_30, loaded [symbolic = @X.WithSelf.Self.as_type.impls.Z.type.require.%Z.type (constants.%Z.type.cb505d.1)] +// CHECK:STDOUT: %Main.import_ref.8b80ca.2: %X.type = import_ref Main//a, loc11_14, loaded [symbolic = constants.%Self.f45] +// CHECK:STDOUT: %Main.import_ref.a22 = import_ref Main//a, loc11_14, unloaded +// CHECK:STDOUT: %Main.import_ref.1d2 = import_ref Main//a, loc8_31, unloaded +// CHECK:STDOUT: %Main.import_ref.cec: type = import_ref Main//a, loc8_18, loaded [symbolic = @Y.WithSelf.Self.as_type.impls.Z.type.require.%Self.as_type (constants.%Self.as_type.170)] +// CHECK:STDOUT: %Main.import_ref.752: type = import_ref Main//a, loc8_30, loaded [symbolic = @Y.WithSelf.Self.as_type.impls.Z.type.require.%Z.type (constants.%Z.type.5d9)] +// CHECK:STDOUT: %Main.import_ref.244508.2: %Y.type = import_ref Main//a, loc7_13, loaded [symbolic = constants.%Self.a20] +// CHECK:STDOUT: %Main.import_ref.31b = import_ref Main//a, loc7_13, unloaded +// CHECK:STDOUT: %Main.import_ref.43a = import_ref Main//a, loc4_9, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -131,7 +131,7 @@ fn F(B:! Y) { // CHECK:STDOUT: %default.import.loc2_17.2 = import // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %A.patt: %pattern_type.9a5 = symbolic_binding_pattern A, 0 [concrete] -// CHECK:STDOUT: %B.patt: %pattern_type.771 = symbolic_binding_pattern B, 1 [concrete] +// CHECK:STDOUT: %B.patt: %pattern_type.58d = symbolic_binding_pattern B, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_10: type = splice_block %X.ref [concrete = constants.%X.type] { // CHECK:STDOUT: %.Self.loc4_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -150,13 +150,13 @@ fn F(B:! Y) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%T)> [symbolic = %Z.type (constants.%Z.type.583)] -// CHECK:STDOUT: %Self: @Z.%Z.type (%Z.type.583) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.407)] +// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%T)> [symbolic = %Z.type (constants.%Z.type.284)] +// CHECK:STDOUT: %Self: @Z.%Z.type (%Z.type.284) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7a)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.1d6 -// CHECK:STDOUT: .F = imports.%Main.import_ref.e7c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.8dd +// CHECK:STDOUT: .F = imports.%Main.import_ref.b15 // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -165,41 +165,41 @@ fn F(B:! Y) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Y [from "a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.664 -// CHECK:STDOUT: extend imports.%Main.import_ref.16f +// CHECK:STDOUT: .Self = imports.%Main.import_ref.31b +// CHECK:STDOUT: extend imports.%Main.import_ref.1d2 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: @Y.WithSelf.Self.as_type.impls.Z.type.require { -// CHECK:STDOUT: require imports.%Main.import_ref.5f8 impls imports.%Main.import_ref.fdb +// CHECK:STDOUT: require imports.%Main.import_ref.cec impls imports.%Main.import_ref.752 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @X [from "a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.aec +// CHECK:STDOUT: .Self = imports.%Main.import_ref.a22 // CHECK:STDOUT: .F = -// CHECK:STDOUT: extend imports.%Main.import_ref.760 +// CHECK:STDOUT: extend imports.%Main.import_ref.b7c // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: @X.WithSelf.Self.as_type.impls.Z.type.require { -// CHECK:STDOUT: require imports.%Main.import_ref.f10 impls imports.%Main.import_ref.ed5 +// CHECK:STDOUT: require imports.%Main.import_ref.c81 impls imports.%Main.import_ref.d70 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic require @X.WithSelf.Self.as_type.impls.Z.type.require(imports.%Main.import_ref.606d54.2: %X.type) [from "a.carbon"] { +// CHECK:STDOUT: generic require @X.WithSelf.Self.as_type.impls.Z.type.require(imports.%Main.import_ref.8b80ca.2: %X.type) [from "a.carbon"] { // CHECK:STDOUT: %Self: %X.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f45)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.190)] -// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%Self.as_type)> [symbolic = %Z.type (constants.%Z.type.a591d7.1)] +// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%Self.as_type)> [symbolic = %Z.type (constants.%Z.type.cb505d.1)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic require @Y.WithSelf.Self.as_type.impls.Z.type.require(imports.%Main.import_ref.59c5ff.2: %Y.type) [from "a.carbon"] { -// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.283)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.6b0)] -// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%Self.as_type)> [symbolic = %Z.type (constants.%Z.type.3df)] +// CHECK:STDOUT: generic require @Y.WithSelf.Self.as_type.impls.Z.type.require(imports.%Main.import_ref.244508.2: %Y.type) [from "a.carbon"] { +// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.a20)] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.170)] +// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%Self.as_type)> [symbolic = %Z.type (constants.%Z.type.5d9)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Z.WithSelf.F(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.0e69cc.2: @Z.%Z.type (%Z.type.583)) [from "a.carbon"] { +// CHECK:STDOUT: generic fn @Z.WithSelf.F(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.ae8950.2: @Z.%Z.type (%Z.type.284)) [from "a.carbon"] { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: @@ -209,14 +209,14 @@ fn F(B:! Y) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %A.as_type.loc5_4.2: type = facet_access_type %A.loc4_7.1 [symbolic = %A.as_type.loc5_4.2 (constants.%A.as_type)] -// CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z, @Z(%A.as_type.loc5_4.2) [symbolic = %Z.assoc_type (constants.%Z.assoc_type.357)] -// CHECK:STDOUT: %assoc0: @F.%Z.assoc_type (%Z.assoc_type.357) = assoc_entity element0, imports.%Main.import_ref.01c [symbolic = %assoc0 (constants.%assoc0.084)] -// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%A.as_type.loc5_4.2)> [symbolic = %Z.type (constants.%Z.type.a591d7.2)] +// CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z, @Z(%A.as_type.loc5_4.2) [symbolic = %Z.assoc_type (constants.%Z.assoc_type.bd3)] +// CHECK:STDOUT: %assoc0: @F.%Z.assoc_type (%Z.assoc_type.bd3) = assoc_entity element0, imports.%Main.import_ref.8df [symbolic = %assoc0 (constants.%assoc0.3bd)] +// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%A.as_type.loc5_4.2)> [symbolic = %Z.type (constants.%Z.type.cb505d.2)] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %A.loc4_7.1, @Z, @Z(%A.as_type.loc5_4.2) [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness)] -// CHECK:STDOUT: %Z.facet: @F.%Z.type (%Z.type.a591d7.2) = facet_value %A.as_type.loc5_4.2, (%Z.lookup_impl_witness) [symbolic = %Z.facet (constants.%Z.facet)] -// CHECK:STDOUT: %Z.WithSelf.F.type: type = fn_type @Z.WithSelf.F, @Z.WithSelf(%A.as_type.loc5_4.2, %Z.facet) [symbolic = %Z.WithSelf.F.type (constants.%Z.WithSelf.F.type.a15)] -// CHECK:STDOUT: %.loc5_4.3: type = fn_type_with_self_type %Z.WithSelf.F.type, %Z.facet [symbolic = %.loc5_4.3 (constants.%.441)] -// CHECK:STDOUT: %impl.elem0.loc5_4.2: @F.%.loc5_4.3 (%.441) = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc5_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %Z.facet: @F.%Z.type (%Z.type.cb505d.2) = facet_value %A.as_type.loc5_4.2, (%Z.lookup_impl_witness) [symbolic = %Z.facet (constants.%Z.facet)] +// CHECK:STDOUT: %Z.WithSelf.F.type: type = fn_type @Z.WithSelf.F, @Z.WithSelf(%A.as_type.loc5_4.2, %Z.facet) [symbolic = %Z.WithSelf.F.type (constants.%Z.WithSelf.F.type.0d4)] +// CHECK:STDOUT: %.loc5_4.3: type = fn_type_with_self_type %Z.WithSelf.F.type, %Z.facet [symbolic = %.loc5_4.3 (constants.%.e18)] +// CHECK:STDOUT: %impl.elem0.loc5_4.2: @F.%.loc5_4.3 (%.e18) = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc5_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc5_4.2: = specific_impl_function %impl.elem0.loc5_4.2, @Z.WithSelf.F(%A.as_type.loc5_4.2, %Z.facet) [symbolic = %specific_impl_fn.loc5_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { @@ -224,9 +224,9 @@ fn F(B:! Y) { // CHECK:STDOUT: %A.ref: %X.type = name_ref A, %A.loc4_7.2 [symbolic = %A.loc4_7.1 (constants.%A)] // CHECK:STDOUT: %A.as_type.loc5_4.1: type = facet_access_type %A.ref [symbolic = %A.as_type.loc5_4.2 (constants.%A.as_type)] // CHECK:STDOUT: %.loc5_4.1: type = converted %A.ref, %A.as_type.loc5_4.1 [symbolic = %A.as_type.loc5_4.2 (constants.%A.as_type)] -// CHECK:STDOUT: %.loc5_4.2: @F.%Z.assoc_type (%Z.assoc_type.357) = specific_constant imports.%Main.import_ref.e7c, @Z.WithSelf(constants.%A.as_type, constants.%A) [symbolic = %assoc0 (constants.%assoc0.084)] -// CHECK:STDOUT: %F.ref: @F.%Z.assoc_type (%Z.assoc_type.357) = name_ref F, %.loc5_4.2 [symbolic = %assoc0 (constants.%assoc0.084)] -// CHECK:STDOUT: %impl.elem0.loc5_4.1: @F.%.loc5_4.3 (%.441) = impl_witness_access constants.%Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc5_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %.loc5_4.2: @F.%Z.assoc_type (%Z.assoc_type.bd3) = specific_constant imports.%Main.import_ref.b15, @Z.WithSelf(constants.%A.as_type, constants.%A) [symbolic = %assoc0 (constants.%assoc0.3bd)] +// CHECK:STDOUT: %F.ref: @F.%Z.assoc_type (%Z.assoc_type.bd3) = name_ref F, %.loc5_4.2 [symbolic = %assoc0 (constants.%assoc0.3bd)] +// CHECK:STDOUT: %impl.elem0.loc5_4.1: @F.%.loc5_4.3 (%.e18) = impl_witness_access constants.%Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc5_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc5_4.1: = specific_impl_function %impl.elem0.loc5_4.1, @Z.WithSelf.F(constants.%A.as_type, constants.%Z.facet) [symbolic = %specific_impl_fn.loc5_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Z.WithSelf.F.call: init %empty_tuple.type = call %specific_impl_fn.loc5_4.1() // CHECK:STDOUT: return @@ -237,46 +237,46 @@ fn F(B:! Y) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%T, constants.%Self.407) {} +// CHECK:STDOUT: specific @Z.WithSelf(constants.%T, constants.%Self.b7a) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.F(constants.%T, constants.%Self.407) {} +// CHECK:STDOUT: specific @Z.WithSelf.F(constants.%T, constants.%Self.b7a) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Z(constants.%Self.as_type.190) { // CHECK:STDOUT: %T => constants.%Self.as_type.190 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Z.type => constants.%Z.type.a591d7.1 -// CHECK:STDOUT: %Self => constants.%Self.82a +// CHECK:STDOUT: %Z.type => constants.%Z.type.cb505d.1 +// CHECK:STDOUT: %Self => constants.%Self.858 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X.WithSelf(constants.%Self.f45) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self.f45 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.190 -// CHECK:STDOUT: %Z.type => constants.%Z.type.a591d7.1 -// CHECK:STDOUT: %require_complete => constants.%require_complete.508687.1 +// CHECK:STDOUT: %Z.type => constants.%Z.type.cb505d.1 +// CHECK:STDOUT: %require_complete => constants.%require_complete.6c9163.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X.WithSelf.Self.as_type.impls.Z.type.require(constants.%Self.f45) { // CHECK:STDOUT: %Self => constants.%Self.f45 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.190 -// CHECK:STDOUT: %Z.type => constants.%Z.type.a591d7.1 +// CHECK:STDOUT: %Z.type => constants.%Z.type.cb505d.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z(constants.%Self.as_type.6b0) { -// CHECK:STDOUT: %T => constants.%Self.as_type.6b0 +// CHECK:STDOUT: specific @Z(constants.%Self.as_type.170) { +// CHECK:STDOUT: %T => constants.%Self.as_type.170 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Z.type => constants.%Z.type.3df -// CHECK:STDOUT: %Self => constants.%Self.d16 +// CHECK:STDOUT: %Z.type => constants.%Z.type.5d9 +// CHECK:STDOUT: %Self => constants.%Self.310 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.283) {} +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.a20) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf.Self.as_type.impls.Z.type.require(constants.%Self.283) { -// CHECK:STDOUT: %Self => constants.%Self.283 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.6b0 -// CHECK:STDOUT: %Z.type => constants.%Z.type.3df +// CHECK:STDOUT: specific @Y.WithSelf.Self.as_type.impls.Z.type.require(constants.%Self.a20) { +// CHECK:STDOUT: %Self => constants.%Self.a20 +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.170 +// CHECK:STDOUT: %Z.type => constants.%Z.type.5d9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%A, constants.%B) { @@ -288,8 +288,8 @@ fn F(B:! Y) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%A // CHECK:STDOUT: %Self.as_type => constants.%A.as_type -// CHECK:STDOUT: %Z.type => constants.%Z.type.a591d7.2 -// CHECK:STDOUT: %require_complete => constants.%require_complete.508687.2 +// CHECK:STDOUT: %Z.type => constants.%Z.type.cb505d.2 +// CHECK:STDOUT: %require_complete => constants.%require_complete.6c9163.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z(constants.%A.as_type) { @@ -299,29 +299,29 @@ fn F(B:! Y) { // CHECK:STDOUT: specific @Z.WithSelf(constants.%A.as_type, constants.%A) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%A.as_type -// CHECK:STDOUT: %Z.type => constants.%Z.type.a591d7.2 +// CHECK:STDOUT: %Z.type => constants.%Z.type.cb505d.2 // CHECK:STDOUT: %Self => constants.%A -// CHECK:STDOUT: %Z.WithSelf.F.type => constants.%Z.WithSelf.F.type.407 -// CHECK:STDOUT: %Z.WithSelf.F => constants.%Z.WithSelf.F.990 -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.357 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.084 +// CHECK:STDOUT: %Z.WithSelf.F.type => constants.%Z.WithSelf.F.type.599 +// CHECK:STDOUT: %Z.WithSelf.F => constants.%Z.WithSelf.F.502 +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.bd3 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.3bd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X.WithSelf.Self.as_type.impls.Z.type.require(constants.%A) { // CHECK:STDOUT: %Self => constants.%A // CHECK:STDOUT: %Self.as_type => constants.%A.as_type -// CHECK:STDOUT: %Z.type => constants.%Z.type.a591d7.2 +// CHECK:STDOUT: %Z.type => constants.%Z.type.cb505d.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf(constants.%A.as_type, constants.%Z.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%A.as_type -// CHECK:STDOUT: %Z.type => constants.%Z.type.a591d7.2 +// CHECK:STDOUT: %Z.type => constants.%Z.type.cb505d.2 // CHECK:STDOUT: %Self => constants.%Z.facet -// CHECK:STDOUT: %Z.WithSelf.F.type => constants.%Z.WithSelf.F.type.a15 -// CHECK:STDOUT: %Z.WithSelf.F => constants.%Z.WithSelf.F.a09 -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.357 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.084 +// CHECK:STDOUT: %Z.WithSelf.F.type => constants.%Z.WithSelf.F.type.0d4 +// CHECK:STDOUT: %Z.WithSelf.F => constants.%Z.WithSelf.F.d4d +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.bd3 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.3bd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf.F(constants.%A.as_type, constants.%Z.facet) {} diff --git a/toolchain/check/testdata/facet/runtime_value.carbon b/toolchain/check/testdata/facet/runtime_value.carbon index 1a14676446cb..3306fbaa5821 100644 --- a/toolchain/check/testdata/facet/runtime_value.carbon +++ b/toolchain/check/testdata/facet/runtime_value.carbon @@ -134,14 +134,14 @@ fn F(T: Z) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %pattern_type.798: type = pattern_type %I.type [concrete] +// CHECK:STDOUT: %pattern_type.998: type = pattern_type %I.type [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %I.type [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%c.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.798 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.998 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %i.ref: %C.elem = name_ref i, @C.%.loc6 [concrete = @C.%.loc6] @@ -159,13 +159,13 @@ fn F(T: Z) { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %facet_type: type = facet_type <@I & @J> [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %facet_type [concrete] -// CHECK:STDOUT: %pattern_type.c7c: type = pattern_type %I.type [concrete] +// CHECK:STDOUT: %pattern_type.998: type = pattern_type %I.type [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%c.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c7c = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.998 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %ij.ref: %C.elem = name_ref ij, @C.%.loc7 [concrete = @C.%.loc7] diff --git a/toolchain/check/testdata/facet/self_in_interface_param.carbon b/toolchain/check/testdata/facet/self_in_interface_param.carbon index 72967e82e376..b47daf45a0d0 100644 --- a/toolchain/check/testdata/facet/self_in_interface_param.carbon +++ b/toolchain/check/testdata/facet/self_in_interface_param.carbon @@ -27,24 +27,24 @@ fn G(_:! I(.Self) where .I1 = ()) {} // CHECK:STDOUT: constants { // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %I.type.a64: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %I.generic: %I.type.a64 = struct_value () [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] // CHECK:STDOUT: %.Self.as_type.246: type = facet_access_type %.Self.c39 [symbolic_self] -// CHECK:STDOUT: %I.type.64e: type = facet_type <@I, @I(%.Self.as_type.246)> [symbolic_self] -// CHECK:STDOUT: %.Self.00b: %I.type.64e = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %I.assoc_type.e08: type = assoc_entity_type @I, @I(%.Self.as_type.246) [symbolic_self] -// CHECK:STDOUT: %assoc0.636: %I.assoc_type.e08 = assoc_entity element0, @I.WithSelf.%I1 [symbolic_self] -// CHECK:STDOUT: %.Self.as_type.f98: type = facet_access_type %.Self.00b [symbolic_self] -// CHECK:STDOUT: %I.lookup_impl_witness.e39: = lookup_impl_witness %.Self.00b, @I, @I(%.Self.as_type.246) [symbolic_self] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness.e39, element0 [symbolic_self] +// CHECK:STDOUT: %I.type.273: type = facet_type <@I, @I(%.Self.as_type.246)> [symbolic_self] +// CHECK:STDOUT: %.Self.5c3: %I.type.273 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %I.assoc_type.a5d: type = assoc_entity_type @I, @I(%.Self.as_type.246) [symbolic_self] +// CHECK:STDOUT: %assoc0.fd5: %I.assoc_type.a5d = assoc_entity element0, @I.WithSelf.%I1 [symbolic_self] +// CHECK:STDOUT: %.Self.as_type.089: type = facet_access_type %.Self.5c3 [symbolic_self] +// CHECK:STDOUT: %I.lookup_impl_witness.ee0: = lookup_impl_witness %.Self.5c3, @I, @I(%.Self.as_type.246) [symbolic_self] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness.ee0, element0 [symbolic_self] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %I_where.type: type = facet_type <@I, @I(%.Self.as_type.246) where %impl.elem0 = %empty_tuple.type> [symbolic_self] -// CHECK:STDOUT: %pattern_type.c98: type = pattern_type %I_where.type [symbolic_self] -// CHECK:STDOUT: %T.3a9: %I_where.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.3a9 [symbolic] +// CHECK:STDOUT: %pattern_type.511: type = pattern_type %I_where.type [symbolic_self] +// CHECK:STDOUT: %T.d76: %I_where.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.d76 [symbolic] // CHECK:STDOUT: %facet_value: %type = facet_value %T.as_type, () [symbolic] -// CHECK:STDOUT: %I.lookup_impl_witness.9e3: = lookup_impl_witness %T.3a9, @I, @I(%T.as_type) [symbolic] +// CHECK:STDOUT: %I.lookup_impl_witness.451: = lookup_impl_witness %T.d76, @I, @I(%T.as_type) [symbolic] // CHECK:STDOUT: %.262: Core.Form = init_form %empty_tuple.type [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] @@ -53,39 +53,39 @@ fn G(_:! I(.Self) where .I1 = ()) {} // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt: %pattern_type.c98 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.511 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.cb1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.cb1 = return_slot_pattern %return.param_patt, %impl.elem0.loc18_39 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref: %I_where.type = name_ref T, %T.loc18_7.2 [symbolic = %T.loc18_7.1 (constants.%T.3a9)] +// CHECK:STDOUT: %T.ref: %I_where.type = name_ref T, %T.loc18_7.2 [symbolic = %T.loc18_7.1 (constants.%T.d76)] // CHECK:STDOUT: %T.as_type.loc18_39.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc18_39.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc18_39.1: type = converted %T.ref, %T.as_type.loc18_39.2 [symbolic = %T.as_type.loc18_39.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc18_39.2: %I.assoc_type.e08 = specific_constant @I1.%assoc0, @I.WithSelf(constants.%.Self.as_type.246, constants.%T.3a9) [symbolic_self = constants.%assoc0.636] -// CHECK:STDOUT: %I1.ref.loc18_39: %I.assoc_type.e08 = name_ref I1, %.loc18_39.2 [symbolic_self = constants.%assoc0.636] +// CHECK:STDOUT: %.loc18_39.2: %I.assoc_type.a5d = specific_constant @I1.%assoc0, @I.WithSelf(constants.%.Self.as_type.246, constants.%T.d76) [symbolic_self = constants.%assoc0.fd5] +// CHECK:STDOUT: %I1.ref.loc18_39: %I.assoc_type.a5d = name_ref I1, %.loc18_39.2 [symbolic_self = constants.%assoc0.fd5] // CHECK:STDOUT: %facet_value.loc18_39.2: %type = facet_value constants.%T.as_type, () [symbolic = %facet_value.loc18_39.1 (constants.%facet_value)] // CHECK:STDOUT: %.loc18_39.3: %type = converted constants.%T.as_type, %facet_value.loc18_39.2 [symbolic = %facet_value.loc18_39.1 (constants.%facet_value)] -// CHECK:STDOUT: %T.as_type.loc18_39.3: type = facet_access_type constants.%T.3a9 [symbolic = %T.as_type.loc18_39.1 (constants.%T.as_type)] +// CHECK:STDOUT: %T.as_type.loc18_39.3: type = facet_access_type constants.%T.d76 [symbolic = %T.as_type.loc18_39.1 (constants.%T.as_type)] // CHECK:STDOUT: %facet_value.loc18_39.3: %type = facet_value %T.as_type.loc18_39.3, () [symbolic = %facet_value.loc18_39.1 (constants.%facet_value)] -// CHECK:STDOUT: %.loc18_39.4: %type = converted constants.%T.3a9, %facet_value.loc18_39.3 [symbolic = %facet_value.loc18_39.1 (constants.%facet_value)] -// CHECK:STDOUT: %T.as_type.loc18_39.4: type = facet_access_type constants.%T.3a9 [symbolic = %T.as_type.loc18_39.1 (constants.%T.as_type)] +// CHECK:STDOUT: %.loc18_39.4: %type = converted constants.%T.d76, %facet_value.loc18_39.3 [symbolic = %facet_value.loc18_39.1 (constants.%facet_value)] +// CHECK:STDOUT: %T.as_type.loc18_39.4: type = facet_access_type constants.%T.d76 [symbolic = %T.as_type.loc18_39.1 (constants.%T.as_type)] // CHECK:STDOUT: %facet_value.loc18_39.4: %type = facet_value %T.as_type.loc18_39.4, () [symbolic = %facet_value.loc18_39.1 (constants.%facet_value)] -// CHECK:STDOUT: %.loc18_39.5: %type = converted constants.%T.3a9, %facet_value.loc18_39.4 [symbolic = %facet_value.loc18_39.1 (constants.%facet_value)] -// CHECK:STDOUT: %impl.elem0.loc18_39: type = impl_witness_access constants.%I.lookup_impl_witness.9e3, element0 [concrete = constants.%empty_tuple.type] +// CHECK:STDOUT: %.loc18_39.5: %type = converted constants.%T.d76, %facet_value.loc18_39.4 [symbolic = %facet_value.loc18_39.1 (constants.%facet_value)] +// CHECK:STDOUT: %impl.elem0.loc18_39: type = impl_witness_access constants.%I.lookup_impl_witness.451, element0 [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %.loc18_39.6: Core.Form = init_form %impl.elem0.loc18_39 [concrete = constants.%.262] // CHECK:STDOUT: %.loc18_19.1: type = splice_block %.loc18_19.2 [symbolic_self = constants.%I_where.type] { // CHECK:STDOUT: %.Self.loc18_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] -// CHECK:STDOUT: %I.ref: %I.type.a64 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %.Self.ref.loc18_12: %type = name_ref .Self, %.Self.loc18_7 [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %.Self.as_type.loc18_17: type = facet_access_type %.Self.ref.loc18_12 [symbolic_self = constants.%.Self.as_type.246] // CHECK:STDOUT: %.loc18_17: type = converted %.Self.ref.loc18_12, %.Self.as_type.loc18_17 [symbolic_self = constants.%.Self.as_type.246] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%.Self.as_type.246)> [symbolic_self = constants.%I.type.64e] -// CHECK:STDOUT: %.Self.loc18_19: %I.type.64e = symbolic_binding .Self [symbolic_self = constants.%.Self.00b] -// CHECK:STDOUT: %.Self.ref.loc18_25: %I.type.64e = name_ref .Self, %.Self.loc18_19 [symbolic_self = constants.%.Self.00b] -// CHECK:STDOUT: %.Self.as_type.loc18_25: type = facet_access_type %.Self.ref.loc18_25 [symbolic_self = constants.%.Self.as_type.f98] -// CHECK:STDOUT: %.loc18_25.1: type = converted %.Self.ref.loc18_25, %.Self.as_type.loc18_25 [symbolic_self = constants.%.Self.as_type.f98] -// CHECK:STDOUT: %.loc18_25.2: %I.assoc_type.e08 = specific_constant @I1.%assoc0, @I.WithSelf(constants.%.Self.as_type.246, constants.%.Self.00b) [symbolic_self = constants.%assoc0.636] -// CHECK:STDOUT: %I1.ref.loc18_25: %I.assoc_type.e08 = name_ref I1, %.loc18_25.2 [symbolic_self = constants.%assoc0.636] -// CHECK:STDOUT: %impl.elem0.loc18_25: type = impl_witness_access constants.%I.lookup_impl_witness.e39, element0 [symbolic_self = constants.%impl.elem0] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%.Self.as_type.246)> [symbolic_self = constants.%I.type.273] +// CHECK:STDOUT: %.Self.loc18_19: %I.type.273 = symbolic_binding .Self [symbolic_self = constants.%.Self.5c3] +// CHECK:STDOUT: %.Self.ref.loc18_25: %I.type.273 = name_ref .Self, %.Self.loc18_19 [symbolic_self = constants.%.Self.5c3] +// CHECK:STDOUT: %.Self.as_type.loc18_25: type = facet_access_type %.Self.ref.loc18_25 [symbolic_self = constants.%.Self.as_type.089] +// CHECK:STDOUT: %.loc18_25.1: type = converted %.Self.ref.loc18_25, %.Self.as_type.loc18_25 [symbolic_self = constants.%.Self.as_type.089] +// CHECK:STDOUT: %.loc18_25.2: %I.assoc_type.a5d = specific_constant @I1.%assoc0, @I.WithSelf(constants.%.Self.as_type.246, constants.%.Self.5c3) [symbolic_self = constants.%assoc0.fd5] +// CHECK:STDOUT: %I1.ref.loc18_25: %I.assoc_type.a5d = name_ref I1, %.loc18_25.2 [symbolic_self = constants.%assoc0.fd5] +// CHECK:STDOUT: %impl.elem0.loc18_25: type = impl_witness_access constants.%I.lookup_impl_witness.ee0, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc18_32.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc18_32.2: type = converted %.loc18_32.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %.loc18_19.2: type = where_expr [symbolic_self = constants.%I_where.type] { @@ -93,14 +93,14 @@ fn G(_:! I(.Self) where .I1 = ()) {} // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc18_25, %.loc18_32.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc18_7.2: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc18_7.1 (constants.%T.3a9)] +// CHECK:STDOUT: %T.loc18_7.2: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc18_7.1 (constants.%T.d76)] // CHECK:STDOUT: %return.param: ref %empty_tuple.type = out_param call_param0 // CHECK:STDOUT: %return: ref %empty_tuple.type = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc18_7.2: %I_where.type) { -// CHECK:STDOUT: %T.loc18_7.1: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc18_7.1 (constants.%T.3a9)] +// CHECK:STDOUT: %T.loc18_7.1: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc18_7.1 (constants.%T.d76)] // CHECK:STDOUT: %T.as_type.loc18_39.1: type = facet_access_type %T.loc18_7.1 [symbolic = %T.as_type.loc18_39.1 (constants.%T.as_type)] // CHECK:STDOUT: %facet_value.loc18_39.1: %type = facet_value %T.as_type.loc18_39.1, () [symbolic = %facet_value.loc18_39.1 (constants.%facet_value)] // CHECK:STDOUT: @@ -115,8 +115,8 @@ fn G(_:! I(.Self) where .I1 = ()) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.3a9) { -// CHECK:STDOUT: %T.loc18_7.1 => constants.%T.3a9 +// CHECK:STDOUT: specific @F(constants.%T.d76) { +// CHECK:STDOUT: %T.loc18_7.1 => constants.%T.d76 // CHECK:STDOUT: %T.as_type.loc18_39.1 => constants.%T.as_type // CHECK:STDOUT: %facet_value.loc18_39.1 => constants.%facet_value // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/for/actual.carbon b/toolchain/check/testdata/for/actual.carbon index f001cf4d32b2..636d6aeb18a6 100644 --- a/toolchain/check/testdata/for/actual.carbon +++ b/toolchain/check/testdata/for/actual.carbon @@ -61,153 +61,153 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: %IntRange.type: type = generic_class_type @IntRange [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %IntRange.generic: %IntRange.type = struct_value () [concrete] -// CHECK:STDOUT: %IntRange.58b: type = class_type @IntRange, @IntRange(%N) [symbolic] +// CHECK:STDOUT: %IntRange.6d0: type = class_type @IntRange, @IntRange(%N) [symbolic] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] -// CHECK:STDOUT: %Int.2b1d38.1: type = class_type @Int, @Int(%N) [symbolic] -// CHECK:STDOUT: %pattern_type.a7b4a0.1: type = pattern_type %Int.2b1d38.1 [symbolic] -// CHECK:STDOUT: %.2a3: Core.Form = init_form %IntRange.58b [symbolic] -// CHECK:STDOUT: %pattern_type.f0e: type = pattern_type %IntRange.58b [symbolic] -// CHECK:STDOUT: %IntRange.Make.type.068: type = fn_type @IntRange.Make, @IntRange(%N) [symbolic] -// CHECK:STDOUT: %IntRange.Make.5e7: %IntRange.Make.type.068 = struct_value () [symbolic] +// CHECK:STDOUT: %Int.2cc5f1.1: type = class_type @Int, @Int(%N) [symbolic] +// CHECK:STDOUT: %pattern_type.142972.1: type = pattern_type %Int.2cc5f1.1 [symbolic] +// CHECK:STDOUT: %.4e7: Core.Form = init_form %IntRange.6d0 [symbolic] +// CHECK:STDOUT: %pattern_type.255: type = pattern_type %IntRange.6d0 [symbolic] +// CHECK:STDOUT: %IntRange.Make.type.500: type = fn_type @IntRange.Make, @IntRange(%N) [symbolic] +// CHECK:STDOUT: %IntRange.Make.d7d: %IntRange.Make.type.500 = struct_value () [symbolic] // CHECK:STDOUT: %Iterate.type: type = facet_type <@Iterate> [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %facet_type.16f: type = facet_type <@Destroy & @Copy> [concrete] +// CHECK:STDOUT: %facet_type.b7c: type = facet_type <@Destroy & @Copy> [concrete] // CHECK:STDOUT: %Optional.type: type = generic_class_type @Optional [concrete] // CHECK:STDOUT: %Optional.generic: %Optional.type = struct_value () [concrete] -// CHECK:STDOUT: %T.390: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Optional.Some.type.b38: type = fn_type @Optional.Some, @Optional(%T.390) [symbolic] -// CHECK:STDOUT: %Optional.Some.49b: %Optional.Some.type.b38 = struct_value () [symbolic] -// CHECK:STDOUT: %Optional.None.type.961: type = fn_type @Optional.None, @Optional(%T.390) [symbolic] -// CHECK:STDOUT: %Optional.None.c55: %Optional.None.type.961 = struct_value () [symbolic] -// CHECK:STDOUT: %.Self.879: %Iterate.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.879 [symbolic_self] +// CHECK:STDOUT: %T.4e7: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Optional.Some.type.b88: type = fn_type @Optional.Some, @Optional(%T.4e7) [symbolic] +// CHECK:STDOUT: %Optional.Some.e32: %Optional.Some.type.b88 = struct_value () [symbolic] +// CHECK:STDOUT: %Optional.None.type.bf3: type = fn_type @Optional.None, @Optional(%T.4e7) [symbolic] +// CHECK:STDOUT: %Optional.None.216: %Optional.None.type.bf3 = struct_value () [symbolic] +// CHECK:STDOUT: %.Self.e31: %Iterate.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.e31 [symbolic_self] // CHECK:STDOUT: %Iterate.assoc_type: type = assoc_entity_type @Iterate [concrete] -// CHECK:STDOUT: %assoc1.338: %Iterate.assoc_type = assoc_entity element1, imports.%Core.import_ref.3b3 [concrete] -// CHECK:STDOUT: %Iterate.lookup_impl_witness.739: = lookup_impl_witness %.Self.879, @Iterate [symbolic_self] -// CHECK:STDOUT: %impl.elem1.2ae: type = impl_witness_access %Iterate.lookup_impl_witness.739, element1 [symbolic_self] -// CHECK:STDOUT: %assoc0.dbd: %Iterate.assoc_type = assoc_entity element0, imports.%Core.import_ref.d75 [concrete] -// CHECK:STDOUT: %impl.elem0.af7: %facet_type.16f = impl_witness_access %Iterate.lookup_impl_witness.739, element0 [symbolic_self] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.b3d: = lookup_impl_witness %Int.2b1d38.1, @Destroy [symbolic] -// CHECK:STDOUT: %require_complete.c70ca9.1: = require_complete_type %Int.2b1d38.1 [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %.2bb6b9.1: Core.Form = init_form %Int.2b1d38.1 [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.1b4: = lookup_impl_witness %Int.2b1d38.1, @Copy [symbolic] -// CHECK:STDOUT: %.885: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %facet_value: %facet_type.16f = facet_value %Int.2b1d38.1, (%Destroy.lookup_impl_witness.b3d, %Copy.lookup_impl_witness.1b4) [symbolic] -// CHECK:STDOUT: %Iterate_where.type: type = facet_type <@Iterate where %impl.elem1.2ae = %Int.2b1d38.1 and %impl.elem0.af7 = %facet_value> [symbolic] +// CHECK:STDOUT: %assoc1.675: %Iterate.assoc_type = assoc_entity element1, imports.%Core.import_ref.e787 [concrete] +// CHECK:STDOUT: %Iterate.lookup_impl_witness.732: = lookup_impl_witness %.Self.e31, @Iterate [symbolic_self] +// CHECK:STDOUT: %impl.elem1.e31: type = impl_witness_access %Iterate.lookup_impl_witness.732, element1 [symbolic_self] +// CHECK:STDOUT: %assoc0.181: %Iterate.assoc_type = assoc_entity element0, imports.%Core.import_ref.3a1 [concrete] +// CHECK:STDOUT: %impl.elem0.03d: %facet_type.b7c = impl_witness_access %Iterate.lookup_impl_witness.732, element0 [symbolic_self] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.c2c: = lookup_impl_witness %Int.2cc5f1.1, @Destroy [symbolic] +// CHECK:STDOUT: %require_complete.692f79.1: = require_complete_type %Int.2cc5f1.1 [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %.245fba.1: Core.Form = init_form %Int.2cc5f1.1 [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.f90: = lookup_impl_witness %Int.2cc5f1.1, @Copy [symbolic] +// CHECK:STDOUT: %.8a3: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %facet_value: %facet_type.b7c = facet_value %Int.2cc5f1.1, (%Destroy.lookup_impl_witness.c2c, %Copy.lookup_impl_witness.f90) [symbolic] +// CHECK:STDOUT: %Iterate_where.type: type = facet_type <@Iterate where %impl.elem1.e31 = %Int.2cc5f1.1 and %impl.elem0.03d = %facet_value> [symbolic] // CHECK:STDOUT: %Iterate.impl_witness: = impl_witness @IntRange.as.Iterate.impl.%Iterate.impl_witness_table, @IntRange.as.Iterate.impl(%N) [symbolic] -// CHECK:STDOUT: %require_complete.34a: = require_complete_type %Iterate_where.type [symbolic] +// CHECK:STDOUT: %require_complete.720: = require_complete_type %Iterate_where.type [symbolic] // CHECK:STDOUT: %IntRange.as.Iterate.impl.NewCursor.type: type = fn_type @IntRange.as.Iterate.impl.NewCursor, @IntRange.as.Iterate.impl(%N) [symbolic] // CHECK:STDOUT: %IntRange.as.Iterate.impl.NewCursor: %IntRange.as.Iterate.impl.NewCursor.type = struct_value () [symbolic] -// CHECK:STDOUT: %ptr.6b5: type = ptr_type %Int.2b1d38.1 [symbolic] -// CHECK:STDOUT: %pattern_type.720: type = pattern_type %ptr.6b5 [symbolic] -// CHECK:STDOUT: %OptionalStorage.lookup_impl_witness.993: = lookup_impl_witness %Int.2b1d38.1, @OptionalStorage [symbolic] -// CHECK:STDOUT: %.4d8: require_specific_def_type = require_specific_def @T.as_type.as.OptionalStorage.impl(%facet_value) [symbolic] -// CHECK:STDOUT: %OptionalStorage.facet.ee4: %OptionalStorage.type = facet_value %Int.2b1d38.1, (%OptionalStorage.lookup_impl_witness.993) [symbolic] -// CHECK:STDOUT: %Optional.328: type = class_type @Optional, @Optional(%OptionalStorage.facet.ee4) [symbolic] -// CHECK:STDOUT: %.65a: Core.Form = init_form %Optional.328 [symbolic] -// CHECK:STDOUT: %pattern_type.faf: type = pattern_type %Optional.328 [symbolic] +// CHECK:STDOUT: %ptr.f8f: type = ptr_type %Int.2cc5f1.1 [symbolic] +// CHECK:STDOUT: %pattern_type.fa7: type = pattern_type %ptr.f8f [symbolic] +// CHECK:STDOUT: %OptionalStorage.lookup_impl_witness.a55: = lookup_impl_witness %Int.2cc5f1.1, @OptionalStorage [symbolic] +// CHECK:STDOUT: %.a8e: require_specific_def_type = require_specific_def @T.as_type.as.OptionalStorage.impl(%facet_value) [symbolic] +// CHECK:STDOUT: %OptionalStorage.facet.6e7: %OptionalStorage.type = facet_value %Int.2cc5f1.1, (%OptionalStorage.lookup_impl_witness.a55) [symbolic] +// CHECK:STDOUT: %Optional.621: type = class_type @Optional, @Optional(%OptionalStorage.facet.6e7) [symbolic] +// CHECK:STDOUT: %.222: Core.Form = init_form %Optional.621 [symbolic] +// CHECK:STDOUT: %pattern_type.16e: type = pattern_type %Optional.621 [symbolic] // CHECK:STDOUT: %IntRange.as.Iterate.impl.Next.type: type = fn_type @IntRange.as.Iterate.impl.Next, @IntRange.as.Iterate.impl(%N) [symbolic] // CHECK:STDOUT: %IntRange.as.Iterate.impl.Next: %IntRange.as.Iterate.impl.Next.type = struct_value () [symbolic] -// CHECK:STDOUT: %IntRange.elem.5a3: type = unbound_element_type %IntRange.58b, %Int.2b1d38.1 [symbolic] -// CHECK:STDOUT: %struct_type.start.end.b07: type = struct_type {.start: %Int.2b1d38.1, .end: %Int.2b1d38.1} [symbolic] -// CHECK:STDOUT: %complete_type.540: = complete_type_witness %struct_type.start.end.b07 [symbolic] -// CHECK:STDOUT: %require_complete.e7d: = require_complete_type %IntRange.58b [symbolic] -// CHECK:STDOUT: %Copy.facet.75c: %Copy.type = facet_value %Int.2b1d38.1, (%Copy.lookup_impl_witness.1b4) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.42f: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.75c) [symbolic] -// CHECK:STDOUT: %.c0c: type = fn_type_with_self_type %Copy.WithSelf.Op.type.42f, %Copy.facet.75c [symbolic] -// CHECK:STDOUT: %impl.elem0.51e: %.c0c = impl_witness_access %Copy.lookup_impl_witness.1b4, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.e37: = specific_impl_function %impl.elem0.51e, @Copy.WithSelf.Op(%Copy.facet.75c) [symbolic] -// CHECK:STDOUT: %require_complete.602: = require_complete_type %ptr.6b5 [symbolic] -// CHECK:STDOUT: %Optional.None.type.c4d: type = fn_type @Optional.None, @Optional(%OptionalStorage.facet.ee4) [symbolic] -// CHECK:STDOUT: %Optional.None.fb0: %Optional.None.type.c4d = struct_value () [symbolic] -// CHECK:STDOUT: %Optional.Some.type.953: type = fn_type @Optional.Some, @Optional(%OptionalStorage.facet.ee4) [symbolic] -// CHECK:STDOUT: %Optional.Some.393: %Optional.Some.type.953 = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.ba7: = require_complete_type %Optional.328 [symbolic] -// CHECK:STDOUT: %OrderedWith.type.9f4: type = generic_interface_type @OrderedWith [concrete] -// CHECK:STDOUT: %OrderedWith.generic: %OrderedWith.type.9f4 = struct_value () [concrete] +// CHECK:STDOUT: %IntRange.elem.19c: type = unbound_element_type %IntRange.6d0, %Int.2cc5f1.1 [symbolic] +// CHECK:STDOUT: %struct_type.start.end.d60: type = struct_type {.start: %Int.2cc5f1.1, .end: %Int.2cc5f1.1} [symbolic] +// CHECK:STDOUT: %complete_type.b17: = complete_type_witness %struct_type.start.end.d60 [symbolic] +// CHECK:STDOUT: %require_complete.f50: = require_complete_type %IntRange.6d0 [symbolic] +// CHECK:STDOUT: %Copy.facet.718: %Copy.type = facet_value %Int.2cc5f1.1, (%Copy.lookup_impl_witness.f90) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.c6e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.718) [symbolic] +// CHECK:STDOUT: %.435: type = fn_type_with_self_type %Copy.WithSelf.Op.type.c6e, %Copy.facet.718 [symbolic] +// CHECK:STDOUT: %impl.elem0.f2b: %.435 = impl_witness_access %Copy.lookup_impl_witness.f90, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.f98: = specific_impl_function %impl.elem0.f2b, @Copy.WithSelf.Op(%Copy.facet.718) [symbolic] +// CHECK:STDOUT: %require_complete.39d: = require_complete_type %ptr.f8f [symbolic] +// CHECK:STDOUT: %Optional.None.type.0f7: type = fn_type @Optional.None, @Optional(%OptionalStorage.facet.6e7) [symbolic] +// CHECK:STDOUT: %Optional.None.aad: %Optional.None.type.0f7 = struct_value () [symbolic] +// CHECK:STDOUT: %Optional.Some.type.fd4: type = fn_type @Optional.Some, @Optional(%OptionalStorage.facet.6e7) [symbolic] +// CHECK:STDOUT: %Optional.Some.f95: %Optional.Some.type.fd4 = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete.193: = require_complete_type %Optional.621 [symbolic] +// CHECK:STDOUT: %OrderedWith.type.b9f: type = generic_interface_type @OrderedWith [concrete] +// CHECK:STDOUT: %OrderedWith.generic: %OrderedWith.type.b9f = struct_value () [concrete] // CHECK:STDOUT: %Other: type = symbolic_binding Other, 0 [symbolic] -// CHECK:STDOUT: %OrderedWith.type.1ce: type = facet_type <@OrderedWith, @OrderedWith(%Other)> [symbolic] -// CHECK:STDOUT: %Self.589: %OrderedWith.type.1ce = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %OrderedWith.assoc_type.72f: type = assoc_entity_type @OrderedWith, @OrderedWith(%Other) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.010: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Other, %Self.589) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.828: %OrderedWith.WithSelf.Less.type.010 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.type.f36: type = facet_type <@OrderedWith, @OrderedWith(%Int.2b1d38.1)> [symbolic] -// CHECK:STDOUT: %OrderedWith.assoc_type.700: type = assoc_entity_type @OrderedWith, @OrderedWith(%Int.2b1d38.1) [symbolic] -// CHECK:STDOUT: %assoc0.bed: %OrderedWith.assoc_type.700 = assoc_entity element0, imports.%Core.import_ref.250 [symbolic] -// CHECK:STDOUT: %require_complete.617: = require_complete_type %OrderedWith.type.f36 [symbolic] -// CHECK:STDOUT: %assoc0.d47: %OrderedWith.assoc_type.72f = assoc_entity element0, imports.%Core.import_ref.516 [symbolic] +// CHECK:STDOUT: %OrderedWith.type.73d: type = facet_type <@OrderedWith, @OrderedWith(%Other)> [symbolic] +// CHECK:STDOUT: %Self.d014: %OrderedWith.type.73d = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %OrderedWith.assoc_type.2fa: type = assoc_entity_type @OrderedWith, @OrderedWith(%Other) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.687: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Other, %Self.d014) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.4a9: %OrderedWith.WithSelf.Less.type.687 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.type.c0b: type = facet_type <@OrderedWith, @OrderedWith(%Int.2cc5f1.1)> [symbolic] +// CHECK:STDOUT: %OrderedWith.assoc_type.6b3: type = assoc_entity_type @OrderedWith, @OrderedWith(%Int.2cc5f1.1) [symbolic] +// CHECK:STDOUT: %assoc0.791: %OrderedWith.assoc_type.6b3 = assoc_entity element0, imports.%Core.import_ref.5cd [symbolic] +// CHECK:STDOUT: %require_complete.77f: = require_complete_type %OrderedWith.type.c0b [symbolic] +// CHECK:STDOUT: %assoc0.3ff: %OrderedWith.assoc_type.2fa = assoc_entity element0, imports.%Core.import_ref.c33 [symbolic] // CHECK:STDOUT: %M: Core.IntLiteral = symbolic_binding M, 1 [symbolic] -// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.type.067: type = fn_type @Int.as.OrderedWith.impl.Less.1, @Int.as.OrderedWith.impl.ccc(%N, %M) [symbolic] -// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.fbc: %Int.as.OrderedWith.impl.Less.type.067 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.impl_witness.161: = impl_witness imports.%OrderedWith.impl_witness_table.dd7, @Int.as.OrderedWith.impl.ccc(%N, %N) [symbolic] -// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.type.666: type = fn_type @Int.as.OrderedWith.impl.Less.1, @Int.as.OrderedWith.impl.ccc(%N, %N) [symbolic] -// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.7bb: %Int.as.OrderedWith.impl.Less.type.666 = struct_value () [symbolic] -// CHECK:STDOUT: %.7a4: require_specific_def_type = require_specific_def @Int.as.OrderedWith.impl.ccc(%N, %N) [symbolic] -// CHECK:STDOUT: %OrderedWith.facet.06d: %OrderedWith.type.f36 = facet_value %Int.2b1d38.1, (%OrderedWith.impl_witness.161) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.381: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Int.2b1d38.1, %OrderedWith.facet.06d) [symbolic] -// CHECK:STDOUT: %.d75: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.381, %OrderedWith.facet.06d [symbolic] -// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.specific_fn.a82: = specific_function %Int.as.OrderedWith.impl.Less.7bb, @Int.as.OrderedWith.impl.Less.1(%N, %N) [symbolic] +// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.type.8a1: type = fn_type @Int.as.OrderedWith.impl.Less.1, @Int.as.OrderedWith.impl.099(%N, %M) [symbolic] +// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.b66: %Int.as.OrderedWith.impl.Less.type.8a1 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %OrderedWith.impl_witness.8f9: = impl_witness imports.%OrderedWith.impl_witness_table.274, @Int.as.OrderedWith.impl.099(%N, %N) [symbolic] +// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.type.e0f: type = fn_type @Int.as.OrderedWith.impl.Less.1, @Int.as.OrderedWith.impl.099(%N, %N) [symbolic] +// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.cbf: %Int.as.OrderedWith.impl.Less.type.e0f = struct_value () [symbolic] +// CHECK:STDOUT: %.353: require_specific_def_type = require_specific_def @Int.as.OrderedWith.impl.099(%N, %N) [symbolic] +// CHECK:STDOUT: %OrderedWith.facet.16b: %OrderedWith.type.c0b = facet_value %Int.2cc5f1.1, (%OrderedWith.impl_witness.8f9) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.e25: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Int.2cc5f1.1, %OrderedWith.facet.16b) [symbolic] +// CHECK:STDOUT: %.d67: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.e25, %OrderedWith.facet.16b [symbolic] +// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.specific_fn.cc7: = specific_function %Int.as.OrderedWith.impl.Less.cbf, @Int.as.OrderedWith.impl.Less.1(%N, %N) [symbolic] // CHECK:STDOUT: %Inc.type: type = facet_type <@Inc> [concrete] -// CHECK:STDOUT: %Inc.lookup_impl_witness: = lookup_impl_witness %Int.2b1d38.1, @Inc [symbolic] -// CHECK:STDOUT: %.569: require_specific_def_type = require_specific_def @Int.as.Inc.impl(%N) [symbolic] -// CHECK:STDOUT: %Inc.facet: %Inc.type = facet_value %Int.2b1d38.1, (%Inc.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Inc.WithSelf.Op.type.1fa: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet) [symbolic] -// CHECK:STDOUT: %.cf5: type = fn_type_with_self_type %Inc.WithSelf.Op.type.1fa, %Inc.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.905: %.cf5 = impl_witness_access %Inc.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.475: = specific_impl_function %impl.elem0.905, @Inc.WithSelf.Op(%Inc.facet) [symbolic] -// CHECK:STDOUT: %Optional.Some.specific_fn: = specific_function %Optional.Some.393, @Optional.Some(%OptionalStorage.facet.ee4) [symbolic] -// CHECK:STDOUT: %Destroy.facet.161: %Destroy.type = facet_value %Int.2b1d38.1, (%Destroy.lookup_impl_witness.b3d) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.4f1: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.161) [symbolic] -// CHECK:STDOUT: %.51e: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.4f1, %Destroy.facet.161 [symbolic] -// CHECK:STDOUT: %impl.elem0.f9f: %.51e = impl_witness_access %Destroy.lookup_impl_witness.b3d, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.097: = specific_impl_function %impl.elem0.f9f, @Destroy.WithSelf.Op(%Destroy.facet.161) [symbolic] -// CHECK:STDOUT: %Optional.None.specific_fn: = specific_function %Optional.None.fb0, @Optional.None(%OptionalStorage.facet.ee4) [symbolic] +// CHECK:STDOUT: %Inc.lookup_impl_witness: = lookup_impl_witness %Int.2cc5f1.1, @Inc [symbolic] +// CHECK:STDOUT: %.689: require_specific_def_type = require_specific_def @Int.as.Inc.impl(%N) [symbolic] +// CHECK:STDOUT: %Inc.facet: %Inc.type = facet_value %Int.2cc5f1.1, (%Inc.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Inc.WithSelf.Op.type.45e: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet) [symbolic] +// CHECK:STDOUT: %.7cf: type = fn_type_with_self_type %Inc.WithSelf.Op.type.45e, %Inc.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.e3c: %.7cf = impl_witness_access %Inc.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.461: = specific_impl_function %impl.elem0.e3c, @Inc.WithSelf.Op(%Inc.facet) [symbolic] +// CHECK:STDOUT: %Optional.Some.specific_fn: = specific_function %Optional.Some.f95, @Optional.Some(%OptionalStorage.facet.6e7) [symbolic] +// CHECK:STDOUT: %Destroy.facet.38c: %Destroy.type = facet_value %Int.2cc5f1.1, (%Destroy.lookup_impl_witness.c2c) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.833: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.38c) [symbolic] +// CHECK:STDOUT: %.b6c: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.833, %Destroy.facet.38c [symbolic] +// CHECK:STDOUT: %impl.elem0.913: %.b6c = impl_witness_access %Destroy.lookup_impl_witness.c2c, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c0a: = specific_impl_function %impl.elem0.913, @Destroy.WithSelf.Op(%Destroy.facet.38c) [symbolic] +// CHECK:STDOUT: %Optional.None.specific_fn: = specific_function %Optional.None.aad, @Optional.None(%OptionalStorage.facet.6e7) [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %IntRange.3e9: type = class_type @IntRange, @IntRange(%int_32) [concrete] -// CHECK:STDOUT: %.260: Core.Form = init_form %IntRange.3e9 [concrete] -// CHECK:STDOUT: %pattern_type.26e: type = pattern_type %IntRange.3e9 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %IntRange.c25: type = class_type @IntRange, @IntRange(%int_32) [concrete] +// CHECK:STDOUT: %.fdc: Core.Form = init_form %IntRange.c25 [concrete] +// CHECK:STDOUT: %pattern_type.ea5: type = pattern_type %IntRange.c25 [concrete] // CHECK:STDOUT: %Range.type: type = fn_type @Range [concrete] // CHECK:STDOUT: %Range: %Range.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %IntRange.Make.type.47f: type = fn_type @IntRange.Make, @IntRange(%int_32) [concrete] -// CHECK:STDOUT: %IntRange.Make.393: %IntRange.Make.type.47f = struct_value () [concrete] -// CHECK:STDOUT: %IntRange.elem.8fa: type = unbound_element_type %IntRange.3e9, %i32 [concrete] -// CHECK:STDOUT: %struct_type.start.end.294: type = struct_type {.start: %i32, .end: %i32} [concrete] -// CHECK:STDOUT: %complete_type.e52: = complete_type_witness %struct_type.start.end.294 [concrete] +// CHECK:STDOUT: %IntRange.Make.type.6de: type = fn_type @IntRange.Make, @IntRange(%int_32) [concrete] +// CHECK:STDOUT: %IntRange.Make.2b6: %IntRange.Make.type.6de = struct_value () [concrete] +// CHECK:STDOUT: %IntRange.elem.aeb: type = unbound_element_type %IntRange.c25, %i32 [concrete] +// CHECK:STDOUT: %struct_type.start.end.ace: type = struct_type {.start: %i32, .end: %i32} [concrete] +// CHECK:STDOUT: %complete_type.0a3: = complete_type_witness %struct_type.start.end.ace [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %IntRange.Make.specific_fn: = specific_function %IntRange.Make.393, @IntRange.Make(%int_32) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %IntRange.Make.specific_fn: = specific_function %IntRange.Make.2b6, @IntRange.Make(%int_32) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ddb: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.5ea: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ddb) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.724: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.5ea) [concrete] -// CHECK:STDOUT: %.fa3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.724, %ImplicitAs.facet.5ea [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.840: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.840) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet.840 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.ab4: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %.100: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Copy.facet.62a: %Copy.type = facet_value %i32, (%Copy.impl_witness.ab4) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.e27: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.62a) [concrete] -// CHECK:STDOUT: %.98b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e27, %Copy.facet.62a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %.9ea: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -216,7 +216,7 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: .Int = %Core.Int // CHECK:STDOUT: .Iterate = %Core.Iterate // CHECK:STDOUT: .Optional = %Core.Optional -// CHECK:STDOUT: .Copy = %Core.Copy.326 +// CHECK:STDOUT: .Copy = %Core.Copy.8f5 // CHECK:STDOUT: .OrderedWith = %Core.OrderedWith // CHECK:STDOUT: .Inc = %Core.Inc // CHECK:STDOUT: .Destroy = %Core.Destroy @@ -227,32 +227,32 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: %Core.IntLiteral: %IntLiteral.type = import_ref Core//prelude/types/int_literal, IntLiteral, loaded [concrete = constants.%IntLiteral] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Iterate: type = import_ref Core//prelude/iterate, Iterate, loaded [concrete = constants.%Iterate.type] -// CHECK:STDOUT: %Core.import_ref.157: %Iterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc0.dbd] -// CHECK:STDOUT: %Core.import_ref.c0e: %Iterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc1.338] -// CHECK:STDOUT: %Core.import_ref.4c6: @Optional.%Optional.None.type (%Optional.None.type.961) = import_ref Core//prelude/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.None (constants.%Optional.None.c55)] -// CHECK:STDOUT: %Core.import_ref.b92: @Optional.%Optional.Some.type (%Optional.Some.type.b38) = import_ref Core//prelude/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.Some (constants.%Optional.Some.49b)] -// CHECK:STDOUT: %Core.import_ref.3b3: type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = %CursorType] +// CHECK:STDOUT: %Core.import_ref.5b6: %Iterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc0.181] +// CHECK:STDOUT: %Core.import_ref.a1d: %Iterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc1.675] +// CHECK:STDOUT: %Core.import_ref.3be: @Optional.%Optional.None.type (%Optional.None.type.bf3) = import_ref Core//prelude/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.None (constants.%Optional.None.216)] +// CHECK:STDOUT: %Core.import_ref.820: @Optional.%Optional.Some.type (%Optional.Some.type.b88) = import_ref Core//prelude/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.Some (constants.%Optional.Some.e32)] +// CHECK:STDOUT: %Core.import_ref.e787: type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = %CursorType] // CHECK:STDOUT: %CursorType: type = assoc_const_decl @CursorType [concrete] {} -// CHECK:STDOUT: %Core.import_ref.d75: %facet_type.16f = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = %ElementType] -// CHECK:STDOUT: %ElementType: %facet_type.16f = assoc_const_decl @ElementType [concrete] {} -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.3a1: %facet_type.b7c = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = %ElementType] +// CHECK:STDOUT: %ElementType: %facet_type.b7c = assoc_const_decl @ElementType [concrete] {} +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Optional: %Optional.type = import_ref Core//prelude/types/optional, Optional, loaded [concrete = constants.%Optional.generic] -// CHECK:STDOUT: %Core.Copy.326: type = import_ref Core//prelude/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.OrderedWith: %OrderedWith.type.9f4 = import_ref Core//prelude/operators/comparison, OrderedWith, loaded [concrete = constants.%OrderedWith.generic] -// CHECK:STDOUT: %Core.import_ref.08c: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc0 (constants.%assoc0.d47)] -// CHECK:STDOUT: %Core.import_ref.250: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less.type (%OrderedWith.WithSelf.Less.type.010) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less (constants.%OrderedWith.WithSelf.Less.828)] -// CHECK:STDOUT: %Core.import_ref.516 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.f6f: @Int.as.OrderedWith.impl.ccc.%Int.as.OrderedWith.impl.Less.type (%Int.as.OrderedWith.impl.Less.type.067) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.OrderedWith.impl.ccc.%Int.as.OrderedWith.impl.Less (constants.%Int.as.OrderedWith.impl.Less.fbc)] -// CHECK:STDOUT: %Core.import_ref.dd8 = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.4f9 = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.278 = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OrderedWith.impl_witness_table.dd7 = impl_witness_table (%Core.import_ref.f6f, %Core.import_ref.dd8, %Core.import_ref.4f9, %Core.import_ref.278), @Int.as.OrderedWith.impl.ccc [concrete] +// CHECK:STDOUT: %Core.Copy.8f5: type = import_ref Core//prelude/copy, Copy, loaded [concrete = constants.%Copy.type] +// CHECK:STDOUT: %Core.OrderedWith: %OrderedWith.type.b9f = import_ref Core//prelude/operators/comparison, OrderedWith, loaded [concrete = constants.%OrderedWith.generic] +// CHECK:STDOUT: %Core.import_ref.eb4: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fa) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc0 (constants.%assoc0.3ff)] +// CHECK:STDOUT: %Core.import_ref.5cd: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less.type (%OrderedWith.WithSelf.Less.type.687) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less (constants.%OrderedWith.WithSelf.Less.4a9)] +// CHECK:STDOUT: %Core.import_ref.c33 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.b9b: @Int.as.OrderedWith.impl.099.%Int.as.OrderedWith.impl.Less.type (%Int.as.OrderedWith.impl.Less.type.8a1) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.OrderedWith.impl.099.%Int.as.OrderedWith.impl.Less (constants.%Int.as.OrderedWith.impl.Less.b66)] +// CHECK:STDOUT: %Core.import_ref.c31 = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.f58 = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.cdc = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OrderedWith.impl_witness_table.274 = impl_witness_table (%Core.import_ref.b9b, %Core.import_ref.c31, %Core.import_ref.f58, %Core.import_ref.cdc), @Int.as.OrderedWith.impl.099 [concrete] // CHECK:STDOUT: %Core.Inc: type = import_ref Core//prelude/operators/arithmetic, Inc, loaded [concrete = constants.%Inc.type] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -276,36 +276,36 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: %N.loc4_17.2: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N.loc4_17.1 (constants.%N)] // CHECK:STDOUT: } // CHECK:STDOUT: %Range.decl: %Range.type = fn_decl @Range [concrete = constants.%Range] { -// CHECK:STDOUT: %end.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %end.patt: %pattern_type.c6b = at_binding_pattern end, %end.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.26e = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.26e = return_slot_pattern %return.param_patt, %IntRange.loc26 [concrete] +// CHECK:STDOUT: %end.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %end.patt: %pattern_type.104 = at_binding_pattern end, %end.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.ea5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.ea5 = return_slot_pattern %return.param_patt, %IntRange.loc26 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %IntRange.ref.loc26: %IntRange.type = name_ref IntRange, file.%IntRange.decl [concrete = constants.%IntRange.generic] // CHECK:STDOUT: %int_32.loc26: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] -// CHECK:STDOUT: %IntRange.loc26: type = class_type @IntRange, @IntRange(constants.%int_32) [concrete = constants.%IntRange.3e9] -// CHECK:STDOUT: %.loc26_34.2: Core.Form = init_form %IntRange.loc26 [concrete = constants.%.260] +// CHECK:STDOUT: %IntRange.loc26: type = class_type @IntRange, @IntRange(constants.%int_32) [concrete = constants.%IntRange.c25] +// CHECK:STDOUT: %.loc26_34.2: Core.Form = init_form %IntRange.loc26 [concrete = constants.%.fdc] // CHECK:STDOUT: %end.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %end: %i32 = value_binding end, %end.param -// CHECK:STDOUT: %return.param: ref %IntRange.3e9 = out_param call_param1 -// CHECK:STDOUT: %return: ref %IntRange.3e9 = return_slot %return.param +// CHECK:STDOUT: %return.param: ref %IntRange.c25 = out_param call_param1 +// CHECK:STDOUT: %return: ref %IntRange.c25 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @IntRange.as.Iterate.impl(@IntRange.%N.loc4_17.2: Core.IntLiteral) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N) [symbolic = %IntRange (constants.%IntRange.58b)] -// CHECK:STDOUT: %Int.loc9_54.1: type = class_type @Int, @Int(%N) [symbolic = %Int.loc9_54.1 (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %.loc9_85.1: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic = %.loc9_85.1 (constants.%.885)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Int.loc9_54.1, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness.b3d)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %Int.loc9_54.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.1b4)] -// CHECK:STDOUT: %facet_value.loc9_85.1: %facet_type.16f = facet_value %Int.loc9_54.1, (%Destroy.lookup_impl_witness, %Copy.lookup_impl_witness) [symbolic = %facet_value.loc9_85.1 (constants.%facet_value)] -// CHECK:STDOUT: %Iterate_where.type: type = facet_type <@Iterate where constants.%impl.elem1.2ae = %Int.loc9_54.1 and constants.%impl.elem0.af7 = %facet_value.loc9_85.1> [symbolic = %Iterate_where.type (constants.%Iterate_where.type)] +// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N) [symbolic = %IntRange (constants.%IntRange.6d0)] +// CHECK:STDOUT: %Int.loc9_54.1: type = class_type @Int, @Int(%N) [symbolic = %Int.loc9_54.1 (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %.loc9_85.1: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic = %.loc9_85.1 (constants.%.8a3)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Int.loc9_54.1, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness.c2c)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %Int.loc9_54.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.f90)] +// CHECK:STDOUT: %facet_value.loc9_85.1: %facet_type.b7c = facet_value %Int.loc9_54.1, (%Destroy.lookup_impl_witness, %Copy.lookup_impl_witness) [symbolic = %facet_value.loc9_85.1 (constants.%facet_value)] +// CHECK:STDOUT: %Iterate_where.type: type = facet_type <@Iterate where constants.%impl.elem1.e31 = %Int.loc9_54.1 and constants.%impl.elem0.03d = %facet_value.loc9_85.1> [symbolic = %Iterate_where.type (constants.%Iterate_where.type)] // CHECK:STDOUT: %Iterate.impl_witness.loc9_87.2: = impl_witness %Iterate.impl_witness_table, @IntRange.as.Iterate.impl(%N) [symbolic = %Iterate.impl_witness.loc9_87.2 (constants.%Iterate.impl_witness)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Iterate_where.type [symbolic = %require_complete (constants.%require_complete.34a)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Iterate_where.type [symbolic = %require_complete (constants.%require_complete.720)] // CHECK:STDOUT: %IntRange.as.Iterate.impl.NewCursor.type: type = fn_type @IntRange.as.Iterate.impl.NewCursor, @IntRange.as.Iterate.impl(%N) [symbolic = %IntRange.as.Iterate.impl.NewCursor.type (constants.%IntRange.as.Iterate.impl.NewCursor.type)] // CHECK:STDOUT: %IntRange.as.Iterate.impl.NewCursor: @IntRange.as.Iterate.impl.%IntRange.as.Iterate.impl.NewCursor.type (%IntRange.as.Iterate.impl.NewCursor.type) = struct_value () [symbolic = %IntRange.as.Iterate.impl.NewCursor (constants.%IntRange.as.Iterate.impl.NewCursor)] // CHECK:STDOUT: %IntRange.as.Iterate.impl.Next.type: type = fn_type @IntRange.as.Iterate.impl.Next, @IntRange.as.Iterate.impl(%N) [symbolic = %IntRange.as.Iterate.impl.Next.type (constants.%IntRange.as.Iterate.impl.Next.type)] @@ -313,65 +313,65 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: // CHECK:STDOUT: impl: %Self.ref as %.loc9_24 { // CHECK:STDOUT: %IntRange.as.Iterate.impl.NewCursor.decl: @IntRange.as.Iterate.impl.%IntRange.as.Iterate.impl.NewCursor.type (%IntRange.as.Iterate.impl.NewCursor.type) = fn_decl @IntRange.as.Iterate.impl.NewCursor [symbolic = @IntRange.as.Iterate.impl.%IntRange.as.Iterate.impl.NewCursor (constants.%IntRange.as.Iterate.impl.NewCursor)] { -// CHECK:STDOUT: %self.param_patt: @IntRange.as.Iterate.impl.NewCursor.%pattern_type.loc10_22 (%pattern_type.f0e) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @IntRange.as.Iterate.impl.NewCursor.%pattern_type.loc10_22 (%pattern_type.f0e) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @IntRange.as.Iterate.impl.NewCursor.%pattern_type.loc10_45 (%pattern_type.a7b4a0.1) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @IntRange.as.Iterate.impl.NewCursor.%pattern_type.loc10_45 (%pattern_type.a7b4a0.1) = return_slot_pattern %return.param_patt, %Int.loc10_45.2 [concrete] +// CHECK:STDOUT: %self.param_patt: @IntRange.as.Iterate.impl.NewCursor.%pattern_type.loc10_22 (%pattern_type.255) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @IntRange.as.Iterate.impl.NewCursor.%pattern_type.loc10_22 (%pattern_type.255) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @IntRange.as.Iterate.impl.NewCursor.%pattern_type.loc10_45 (%pattern_type.142972.1) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @IntRange.as.Iterate.impl.NewCursor.%pattern_type.loc10_45 (%pattern_type.142972.1) = return_slot_pattern %return.param_patt, %Int.loc10_45.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Int.ref: %Int.type = name_ref Int, imports.%Core.Int [concrete = constants.%Int.generic] // CHECK:STDOUT: %N.ref: Core.IntLiteral = name_ref N, @IntRange.%N.loc4_17.2 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %Int.loc10_45.2: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc10_45.1 (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %.loc10_45.2: Core.Form = init_form %Int.loc10_45.2 [symbolic = %.loc10_45.1 (constants.%.2bb6b9.1)] -// CHECK:STDOUT: %self.param: @IntRange.as.Iterate.impl.NewCursor.%IntRange (%IntRange.58b) = value_param call_param0 -// CHECK:STDOUT: %.loc10_24.1: type = splice_block %Self.ref [symbolic = %IntRange (constants.%IntRange.58b)] { -// CHECK:STDOUT: %.loc10_24.2: type = specific_constant constants.%IntRange.58b, @IntRange(constants.%N) [symbolic = %IntRange (constants.%IntRange.58b)] -// CHECK:STDOUT: %Self.ref: type = name_ref Self, %.loc10_24.2 [symbolic = %IntRange (constants.%IntRange.58b)] +// CHECK:STDOUT: %Int.loc10_45.2: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc10_45.1 (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %.loc10_45.2: Core.Form = init_form %Int.loc10_45.2 [symbolic = %.loc10_45.1 (constants.%.245fba.1)] +// CHECK:STDOUT: %self.param: @IntRange.as.Iterate.impl.NewCursor.%IntRange (%IntRange.6d0) = value_param call_param0 +// CHECK:STDOUT: %.loc10_24.1: type = splice_block %Self.ref [symbolic = %IntRange (constants.%IntRange.6d0)] { +// CHECK:STDOUT: %.loc10_24.2: type = specific_constant constants.%IntRange.6d0, @IntRange(constants.%N) [symbolic = %IntRange (constants.%IntRange.6d0)] +// CHECK:STDOUT: %Self.ref: type = name_ref Self, %.loc10_24.2 [symbolic = %IntRange (constants.%IntRange.6d0)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @IntRange.as.Iterate.impl.NewCursor.%IntRange (%IntRange.58b) = value_binding self, %self.param -// CHECK:STDOUT: %return.param: ref @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_45.1 (%Int.2b1d38.1) = out_param call_param1 -// CHECK:STDOUT: %return: ref @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_45.1 (%Int.2b1d38.1) = return_slot %return.param +// CHECK:STDOUT: %self: @IntRange.as.Iterate.impl.NewCursor.%IntRange (%IntRange.6d0) = value_binding self, %self.param +// CHECK:STDOUT: %return.param: ref @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_45.1 (%Int.2cc5f1.1) = out_param call_param1 +// CHECK:STDOUT: %return: ref @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_45.1 (%Int.2cc5f1.1) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %IntRange.as.Iterate.impl.Next.decl: @IntRange.as.Iterate.impl.%IntRange.as.Iterate.impl.Next.type (%IntRange.as.Iterate.impl.Next.type) = fn_decl @IntRange.as.Iterate.impl.Next [symbolic = @IntRange.as.Iterate.impl.%IntRange.as.Iterate.impl.Next (constants.%IntRange.as.Iterate.impl.Next)] { -// CHECK:STDOUT: %self.param_patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc11_17 (%pattern_type.f0e) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc11_17 (%pattern_type.f0e) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %cursor.param_patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc11_31 (%pattern_type.720) = value_param_pattern [concrete] -// CHECK:STDOUT: %cursor.patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc11_31 (%pattern_type.720) = at_binding_pattern cursor, %cursor.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc11_75 (%pattern_type.faf) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc11_75 (%pattern_type.faf) = return_slot_pattern %return.param_patt, %Optional.loc11_75.2 [concrete] +// CHECK:STDOUT: %self.param_patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc11_17 (%pattern_type.255) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc11_17 (%pattern_type.255) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %cursor.param_patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc11_31 (%pattern_type.fa7) = value_param_pattern [concrete] +// CHECK:STDOUT: %cursor.patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc11_31 (%pattern_type.fa7) = at_binding_pattern cursor, %cursor.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc11_75 (%pattern_type.16e) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc11_75 (%pattern_type.16e) = return_slot_pattern %return.param_patt, %Optional.loc11_75.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Core.ref.loc11_50: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Optional.ref.loc11: %Optional.type = name_ref Optional, imports.%Core.Optional [concrete = constants.%Optional.generic] // CHECK:STDOUT: %Core.ref.loc11_64: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Int.ref.loc11_68: %Int.type = name_ref Int, imports.%Core.Int [concrete = constants.%Int.generic] // CHECK:STDOUT: %N.ref.loc11_73: Core.IntLiteral = name_ref N, @IntRange.%N.loc4_17.2 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %Int.loc11_74: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc11_43.1 (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %OptionalStorage.facet.loc11_75.2: %OptionalStorage.type = facet_value %Int.loc11_74, (constants.%OptionalStorage.lookup_impl_witness.993) [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.ee4)] -// CHECK:STDOUT: %.loc11_75.5: %OptionalStorage.type = converted %Int.loc11_74, %OptionalStorage.facet.loc11_75.2 [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.ee4)] -// CHECK:STDOUT: %Optional.loc11_75.2: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.ee4) [symbolic = %Optional.loc11_75.1 (constants.%Optional.328)] -// CHECK:STDOUT: %.loc11_75.6: Core.Form = init_form %Optional.loc11_75.2 [symbolic = %.loc11_75.4 (constants.%.65a)] -// CHECK:STDOUT: %self.param: @IntRange.as.Iterate.impl.Next.%IntRange (%IntRange.58b) = value_param call_param0 -// CHECK:STDOUT: %.loc11_19.1: type = splice_block %Self.ref [symbolic = %IntRange (constants.%IntRange.58b)] { -// CHECK:STDOUT: %.loc11_19.2: type = specific_constant constants.%IntRange.58b, @IntRange(constants.%N) [symbolic = %IntRange (constants.%IntRange.58b)] -// CHECK:STDOUT: %Self.ref: type = name_ref Self, %.loc11_19.2 [symbolic = %IntRange (constants.%IntRange.58b)] +// CHECK:STDOUT: %Int.loc11_74: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc11_43.1 (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %OptionalStorage.facet.loc11_75.2: %OptionalStorage.type = facet_value %Int.loc11_74, (constants.%OptionalStorage.lookup_impl_witness.a55) [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.6e7)] +// CHECK:STDOUT: %.loc11_75.5: %OptionalStorage.type = converted %Int.loc11_74, %OptionalStorage.facet.loc11_75.2 [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.6e7)] +// CHECK:STDOUT: %Optional.loc11_75.2: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.6e7) [symbolic = %Optional.loc11_75.1 (constants.%Optional.621)] +// CHECK:STDOUT: %.loc11_75.6: Core.Form = init_form %Optional.loc11_75.2 [symbolic = %.loc11_75.4 (constants.%.222)] +// CHECK:STDOUT: %self.param: @IntRange.as.Iterate.impl.Next.%IntRange (%IntRange.6d0) = value_param call_param0 +// CHECK:STDOUT: %.loc11_19.1: type = splice_block %Self.ref [symbolic = %IntRange (constants.%IntRange.6d0)] { +// CHECK:STDOUT: %.loc11_19.2: type = specific_constant constants.%IntRange.6d0, @IntRange(constants.%N) [symbolic = %IntRange (constants.%IntRange.6d0)] +// CHECK:STDOUT: %Self.ref: type = name_ref Self, %.loc11_19.2 [symbolic = %IntRange (constants.%IntRange.6d0)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @IntRange.as.Iterate.impl.Next.%IntRange (%IntRange.58b) = value_binding self, %self.param -// CHECK:STDOUT: %cursor.param: @IntRange.as.Iterate.impl.Next.%ptr.loc11_44.1 (%ptr.6b5) = value_param call_param1 -// CHECK:STDOUT: %.loc11_44: type = splice_block %ptr.loc11_44.2 [symbolic = %ptr.loc11_44.1 (constants.%ptr.6b5)] { +// CHECK:STDOUT: %self: @IntRange.as.Iterate.impl.Next.%IntRange (%IntRange.6d0) = value_binding self, %self.param +// CHECK:STDOUT: %cursor.param: @IntRange.as.Iterate.impl.Next.%ptr.loc11_44.1 (%ptr.f8f) = value_param call_param1 +// CHECK:STDOUT: %.loc11_44: type = splice_block %ptr.loc11_44.2 [symbolic = %ptr.loc11_44.1 (constants.%ptr.f8f)] { // CHECK:STDOUT: %Core.ref.loc11_33: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Int.ref.loc11_37: %Int.type = name_ref Int, imports.%Core.Int [concrete = constants.%Int.generic] // CHECK:STDOUT: %N.ref.loc11_42: Core.IntLiteral = name_ref N, @IntRange.%N.loc4_17.2 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %Int.loc11_43.2: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc11_43.1 (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %ptr.loc11_44.2: type = ptr_type %Int.loc11_43.2 [symbolic = %ptr.loc11_44.1 (constants.%ptr.6b5)] +// CHECK:STDOUT: %Int.loc11_43.2: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc11_43.1 (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %ptr.loc11_44.2: type = ptr_type %Int.loc11_43.2 [symbolic = %ptr.loc11_44.1 (constants.%ptr.f8f)] // CHECK:STDOUT: } -// CHECK:STDOUT: %cursor: @IntRange.as.Iterate.impl.Next.%ptr.loc11_44.1 (%ptr.6b5) = value_binding cursor, %cursor.param -// CHECK:STDOUT: %return.param: ref @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.328) = out_param call_param2 -// CHECK:STDOUT: %return: ref @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.328) = return_slot %return.param +// CHECK:STDOUT: %cursor: @IntRange.as.Iterate.impl.Next.%ptr.loc11_44.1 (%ptr.f8f) = value_binding cursor, %cursor.param +// CHECK:STDOUT: %return.param: ref @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.621) = out_param call_param2 +// CHECK:STDOUT: %return: ref @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.621) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Iterate.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant.loc9_87.2, %impl_witness_assoc_constant.loc9_87.1, %IntRange.as.Iterate.impl.NewCursor.decl, %IntRange.as.Iterate.impl.Next.decl), @IntRange.as.Iterate.impl [concrete] // CHECK:STDOUT: %Iterate.impl_witness.loc9_87.1: = impl_witness %Iterate.impl_witness_table, @IntRange.as.Iterate.impl(constants.%N) [symbolic = %Iterate.impl_witness.loc9_87.2 (constants.%Iterate.impl_witness)] -// CHECK:STDOUT: %impl_witness_assoc_constant.loc9_87.1: type = impl_witness_assoc_constant constants.%Int.2b1d38.1 [symbolic = %Int.loc9_54.1 (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %impl_witness_assoc_constant.loc9_87.2: %facet_type.16f = impl_witness_assoc_constant constants.%facet_value [symbolic = %facet_value.loc9_85.1 (constants.%facet_value)] +// CHECK:STDOUT: %impl_witness_assoc_constant.loc9_87.1: type = impl_witness_assoc_constant constants.%Int.2cc5f1.1 [symbolic = %Int.loc9_54.1 (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %impl_witness_assoc_constant.loc9_87.2: %facet_type.b7c = impl_witness_assoc_constant constants.%facet_value [symbolic = %facet_value.loc9_85.1 (constants.%facet_value)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .N = @@ -386,84 +386,84 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: %N.loc4_17.1: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N.loc4_17.1 (constants.%N)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %IntRange.Make.type: type = fn_type @IntRange.Make, @IntRange(%N.loc4_17.1) [symbolic = %IntRange.Make.type (constants.%IntRange.Make.type.068)] -// CHECK:STDOUT: %IntRange.Make: @IntRange.%IntRange.Make.type (%IntRange.Make.type.068) = struct_value () [symbolic = %IntRange.Make (constants.%IntRange.Make.5e7)] -// CHECK:STDOUT: %Int: type = class_type @Int, @Int(%N.loc4_17.1) [symbolic = %Int (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %require_complete: = require_complete_type %Int [symbolic = %require_complete (constants.%require_complete.c70ca9.1)] -// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N.loc4_17.1) [symbolic = %IntRange (constants.%IntRange.58b)] -// CHECK:STDOUT: %IntRange.elem: type = unbound_element_type %IntRange, %Int [symbolic = %IntRange.elem (constants.%IntRange.elem.5a3)] -// CHECK:STDOUT: %struct_type.start.end: type = struct_type {.start: @IntRange.%Int (%Int.2b1d38.1), .end: @IntRange.%Int (%Int.2b1d38.1)} [symbolic = %struct_type.start.end (constants.%struct_type.start.end.b07)] -// CHECK:STDOUT: %complete_type.loc24_1.2: = complete_type_witness %struct_type.start.end [symbolic = %complete_type.loc24_1.2 (constants.%complete_type.540)] +// CHECK:STDOUT: %IntRange.Make.type: type = fn_type @IntRange.Make, @IntRange(%N.loc4_17.1) [symbolic = %IntRange.Make.type (constants.%IntRange.Make.type.500)] +// CHECK:STDOUT: %IntRange.Make: @IntRange.%IntRange.Make.type (%IntRange.Make.type.500) = struct_value () [symbolic = %IntRange.Make (constants.%IntRange.Make.d7d)] +// CHECK:STDOUT: %Int: type = class_type @Int, @Int(%N.loc4_17.1) [symbolic = %Int (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Int [symbolic = %require_complete (constants.%require_complete.692f79.1)] +// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N.loc4_17.1) [symbolic = %IntRange (constants.%IntRange.6d0)] +// CHECK:STDOUT: %IntRange.elem: type = unbound_element_type %IntRange, %Int [symbolic = %IntRange.elem (constants.%IntRange.elem.19c)] +// CHECK:STDOUT: %struct_type.start.end: type = struct_type {.start: @IntRange.%Int (%Int.2cc5f1.1), .end: @IntRange.%Int (%Int.2cc5f1.1)} [symbolic = %struct_type.start.end (constants.%struct_type.start.end.d60)] +// CHECK:STDOUT: %complete_type.loc24_1.2: = complete_type_witness %struct_type.start.end [symbolic = %complete_type.loc24_1.2 (constants.%complete_type.b17)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %IntRange.Make.decl: @IntRange.%IntRange.Make.type (%IntRange.Make.type.068) = fn_decl @IntRange.Make [symbolic = @IntRange.%IntRange.Make (constants.%IntRange.Make.5e7)] { -// CHECK:STDOUT: %start.param_patt: @IntRange.Make.%pattern_type.loc5_16 (%pattern_type.a7b4a0.1) = value_param_pattern [concrete] -// CHECK:STDOUT: %start.patt: @IntRange.Make.%pattern_type.loc5_16 (%pattern_type.a7b4a0.1) = at_binding_pattern start, %start.param_patt [concrete] -// CHECK:STDOUT: %end.param_patt: @IntRange.Make.%pattern_type.loc5_16 (%pattern_type.a7b4a0.1) = value_param_pattern [concrete] -// CHECK:STDOUT: %end.patt: @IntRange.Make.%pattern_type.loc5_16 (%pattern_type.a7b4a0.1) = at_binding_pattern end, %end.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @IntRange.Make.%pattern_type.loc5_52 (%pattern_type.f0e) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @IntRange.Make.%pattern_type.loc5_52 (%pattern_type.f0e) = return_slot_pattern %return.param_patt, %Self.ref [concrete] +// CHECK:STDOUT: %IntRange.Make.decl: @IntRange.%IntRange.Make.type (%IntRange.Make.type.500) = fn_decl @IntRange.Make [symbolic = @IntRange.%IntRange.Make (constants.%IntRange.Make.d7d)] { +// CHECK:STDOUT: %start.param_patt: @IntRange.Make.%pattern_type.loc5_16 (%pattern_type.142972.1) = value_param_pattern [concrete] +// CHECK:STDOUT: %start.patt: @IntRange.Make.%pattern_type.loc5_16 (%pattern_type.142972.1) = at_binding_pattern start, %start.param_patt [concrete] +// CHECK:STDOUT: %end.param_patt: @IntRange.Make.%pattern_type.loc5_16 (%pattern_type.142972.1) = value_param_pattern [concrete] +// CHECK:STDOUT: %end.patt: @IntRange.Make.%pattern_type.loc5_16 (%pattern_type.142972.1) = at_binding_pattern end, %end.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @IntRange.Make.%pattern_type.loc5_52 (%pattern_type.255) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @IntRange.Make.%pattern_type.loc5_52 (%pattern_type.255) = return_slot_pattern %return.param_patt, %Self.ref [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc5_52.2: type = specific_constant constants.%IntRange.58b, @IntRange(constants.%N) [symbolic = %IntRange (constants.%IntRange.58b)] -// CHECK:STDOUT: %Self.ref: type = name_ref Self, %.loc5_52.2 [symbolic = %IntRange (constants.%IntRange.58b)] -// CHECK:STDOUT: %.loc5_52.3: Core.Form = init_form %Self.ref [symbolic = %.loc5_52.1 (constants.%.2a3)] -// CHECK:STDOUT: %start.param: @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1) = value_param call_param0 -// CHECK:STDOUT: %.loc5_28: type = splice_block %Int.loc5_28.2 [symbolic = %Int.loc5_28.1 (constants.%Int.2b1d38.1)] { +// CHECK:STDOUT: %.loc5_52.2: type = specific_constant constants.%IntRange.6d0, @IntRange(constants.%N) [symbolic = %IntRange (constants.%IntRange.6d0)] +// CHECK:STDOUT: %Self.ref: type = name_ref Self, %.loc5_52.2 [symbolic = %IntRange (constants.%IntRange.6d0)] +// CHECK:STDOUT: %.loc5_52.3: Core.Form = init_form %Self.ref [symbolic = %.loc5_52.1 (constants.%.4e7)] +// CHECK:STDOUT: %start.param: @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1) = value_param call_param0 +// CHECK:STDOUT: %.loc5_28: type = splice_block %Int.loc5_28.2 [symbolic = %Int.loc5_28.1 (constants.%Int.2cc5f1.1)] { // CHECK:STDOUT: %Core.ref.loc5_18: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Int.ref.loc5_22: %Int.type = name_ref Int, imports.%Core.Int [concrete = constants.%Int.generic] // CHECK:STDOUT: %N.ref.loc5_27: Core.IntLiteral = name_ref N, @IntRange.%N.loc4_17.2 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %Int.loc5_28.2: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc5_28.1 (constants.%Int.2b1d38.1)] +// CHECK:STDOUT: %Int.loc5_28.2: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc5_28.1 (constants.%Int.2cc5f1.1)] // CHECK:STDOUT: } -// CHECK:STDOUT: %start: @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1) = value_binding start, %start.param -// CHECK:STDOUT: %end.param: @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1) = value_param call_param1 -// CHECK:STDOUT: %.loc5_46: type = splice_block %Int.loc5_46 [symbolic = %Int.loc5_28.1 (constants.%Int.2b1d38.1)] { +// CHECK:STDOUT: %start: @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1) = value_binding start, %start.param +// CHECK:STDOUT: %end.param: @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1) = value_param call_param1 +// CHECK:STDOUT: %.loc5_46: type = splice_block %Int.loc5_46 [symbolic = %Int.loc5_28.1 (constants.%Int.2cc5f1.1)] { // CHECK:STDOUT: %Core.ref.loc5_36: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Int.ref.loc5_40: %Int.type = name_ref Int, imports.%Core.Int [concrete = constants.%Int.generic] // CHECK:STDOUT: %N.ref.loc5_45: Core.IntLiteral = name_ref N, @IntRange.%N.loc4_17.2 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %Int.loc5_46: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc5_28.1 (constants.%Int.2b1d38.1)] +// CHECK:STDOUT: %Int.loc5_46: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc5_28.1 (constants.%Int.2cc5f1.1)] // CHECK:STDOUT: } -// CHECK:STDOUT: %end: @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1) = value_binding end, %end.param -// CHECK:STDOUT: %return.param: ref @IntRange.Make.%IntRange (%IntRange.58b) = out_param call_param2 -// CHECK:STDOUT: %return: ref @IntRange.Make.%IntRange (%IntRange.58b) = return_slot %return.param +// CHECK:STDOUT: %end: @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1) = value_binding end, %end.param +// CHECK:STDOUT: %return.param: ref @IntRange.Make.%IntRange (%IntRange.6d0) = out_param call_param2 +// CHECK:STDOUT: %return: ref @IntRange.Make.%IntRange (%IntRange.6d0) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @IntRange.as.Iterate.impl [concrete] {} { -// CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%IntRange.58b [symbolic = %IntRange (constants.%IntRange.58b)] +// CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%IntRange.6d0 [symbolic = %IntRange (constants.%IntRange.6d0)] // CHECK:STDOUT: %Core.ref.loc9_11: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Iterate.ref: type = name_ref Iterate, imports.%Core.Iterate [concrete = constants.%Iterate.type] -// CHECK:STDOUT: %.Self: %Iterate.type = symbolic_binding .Self [symbolic_self = constants.%.Self.879] -// CHECK:STDOUT: %.Self.ref.loc9_30: %Iterate.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.879] +// CHECK:STDOUT: %.Self: %Iterate.type = symbolic_binding .Self [symbolic_self = constants.%.Self.e31] +// CHECK:STDOUT: %.Self.ref.loc9_30: %Iterate.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.e31] // CHECK:STDOUT: %.Self.as_type.loc9_30: type = facet_access_type %.Self.ref.loc9_30 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc9_30: type = converted %.Self.ref.loc9_30, %.Self.as_type.loc9_30 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %CursorType.ref: %Iterate.assoc_type = name_ref CursorType, imports.%Core.import_ref.c0e [concrete = constants.%assoc1.338] -// CHECK:STDOUT: %impl.elem1: type = impl_witness_access constants.%Iterate.lookup_impl_witness.739, element1 [symbolic_self = constants.%impl.elem1.2ae] +// CHECK:STDOUT: %CursorType.ref: %Iterate.assoc_type = name_ref CursorType, imports.%Core.import_ref.a1d [concrete = constants.%assoc1.675] +// CHECK:STDOUT: %impl.elem1: type = impl_witness_access constants.%Iterate.lookup_impl_witness.732, element1 [symbolic_self = constants.%impl.elem1.e31] // CHECK:STDOUT: %Core.ref.loc9_44: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Int.ref.loc9_48: %Int.type = name_ref Int, imports.%Core.Int [concrete = constants.%Int.generic] // CHECK:STDOUT: %N.ref.loc9_53: Core.IntLiteral = name_ref N, @IntRange.%N.loc4_17.2 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %Int.loc9_54.2: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc9_54.1 (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %.Self.ref.loc9_60: %Iterate.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.879] +// CHECK:STDOUT: %Int.loc9_54.2: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc9_54.1 (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %.Self.ref.loc9_60: %Iterate.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.e31] // CHECK:STDOUT: %.Self.as_type.loc9_60: type = facet_access_type %.Self.ref.loc9_60 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc9_60: type = converted %.Self.ref.loc9_60, %.Self.as_type.loc9_60 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %ElementType.ref: %Iterate.assoc_type = name_ref ElementType, imports.%Core.import_ref.157 [concrete = constants.%assoc0.dbd] -// CHECK:STDOUT: %impl.elem0: %facet_type.16f = impl_witness_access constants.%Iterate.lookup_impl_witness.739, element0 [symbolic_self = constants.%impl.elem0.af7] +// CHECK:STDOUT: %ElementType.ref: %Iterate.assoc_type = name_ref ElementType, imports.%Core.import_ref.5b6 [concrete = constants.%assoc0.181] +// CHECK:STDOUT: %impl.elem0: %facet_type.b7c = impl_witness_access constants.%Iterate.lookup_impl_witness.732, element0 [symbolic_self = constants.%impl.elem0.03d] // CHECK:STDOUT: %Core.ref.loc9_75: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Int.ref.loc9_79: %Int.type = name_ref Int, imports.%Core.Int [concrete = constants.%Int.generic] // CHECK:STDOUT: %N.ref.loc9_84: Core.IntLiteral = name_ref N, @IntRange.%N.loc4_17.2 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %Int.loc9_85: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc9_54.1 (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %facet_value.loc9_85.2: %facet_type.16f = facet_value %Int.loc9_85, (constants.%Destroy.lookup_impl_witness.b3d, constants.%Copy.lookup_impl_witness.1b4) [symbolic = %facet_value.loc9_85.1 (constants.%facet_value)] -// CHECK:STDOUT: %.loc9_85.2: %facet_type.16f = converted %Int.loc9_85, %facet_value.loc9_85.2 [symbolic = %facet_value.loc9_85.1 (constants.%facet_value)] +// CHECK:STDOUT: %Int.loc9_85: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc9_54.1 (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %facet_value.loc9_85.2: %facet_type.b7c = facet_value %Int.loc9_85, (constants.%Destroy.lookup_impl_witness.c2c, constants.%Copy.lookup_impl_witness.f90) [symbolic = %facet_value.loc9_85.1 (constants.%facet_value)] +// CHECK:STDOUT: %.loc9_85.2: %facet_type.b7c = converted %Int.loc9_85, %facet_value.loc9_85.2 [symbolic = %facet_value.loc9_85.1 (constants.%facet_value)] // CHECK:STDOUT: %.loc9_24: type = where_expr [symbolic = %Iterate_where.type (constants.%Iterate_where.type)] { // CHECK:STDOUT: requirement_base_facet_type %Iterate.ref // CHECK:STDOUT: requirement_rewrite %impl.elem1, %Int.loc9_54.2 // CHECK:STDOUT: requirement_rewrite %impl.elem0, %.loc9_85.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc22: @IntRange.%IntRange.elem (%IntRange.elem.5a3) = field_decl start, element0 [concrete] -// CHECK:STDOUT: %.loc23: @IntRange.%IntRange.elem (%IntRange.elem.5a3) = field_decl end, element1 [concrete] -// CHECK:STDOUT: %complete_type.loc24_1.1: = complete_type_witness constants.%struct_type.start.end.b07 [symbolic = %complete_type.loc24_1.2 (constants.%complete_type.540)] +// CHECK:STDOUT: %.loc22: @IntRange.%IntRange.elem (%IntRange.elem.19c) = field_decl start, element0 [concrete] +// CHECK:STDOUT: %.loc23: @IntRange.%IntRange.elem (%IntRange.elem.19c) = field_decl end, element1 [concrete] +// CHECK:STDOUT: %complete_type.loc24_1.1: = complete_type_witness constants.%struct_type.start.end.d60 [symbolic = %complete_type.loc24_1.2 (constants.%complete_type.b17)] // CHECK:STDOUT: complete_type_witness = %complete_type.loc24_1.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%IntRange.58b +// CHECK:STDOUT: .Self = constants.%IntRange.6d0 // CHECK:STDOUT: .N = // CHECK:STDOUT: .Make = %IntRange.Make.decl // CHECK:STDOUT: .start [private] = %.loc22 @@ -473,192 +473,192 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @IntRange.Make(@IntRange.%N.loc4_17.2: Core.IntLiteral) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %Int.loc5_28.1: type = class_type @Int, @Int(%N) [symbolic = %Int.loc5_28.1 (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %pattern_type.loc5_16: type = pattern_type %Int.loc5_28.1 [symbolic = %pattern_type.loc5_16 (constants.%pattern_type.a7b4a0.1)] -// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N) [symbolic = %IntRange (constants.%IntRange.58b)] -// CHECK:STDOUT: %.loc5_52.1: Core.Form = init_form %IntRange [symbolic = %.loc5_52.1 (constants.%.2a3)] -// CHECK:STDOUT: %pattern_type.loc5_52: type = pattern_type %IntRange [symbolic = %pattern_type.loc5_52 (constants.%pattern_type.f0e)] +// CHECK:STDOUT: %Int.loc5_28.1: type = class_type @Int, @Int(%N) [symbolic = %Int.loc5_28.1 (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %pattern_type.loc5_16: type = pattern_type %Int.loc5_28.1 [symbolic = %pattern_type.loc5_16 (constants.%pattern_type.142972.1)] +// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N) [symbolic = %IntRange (constants.%IntRange.6d0)] +// CHECK:STDOUT: %.loc5_52.1: Core.Form = init_form %IntRange [symbolic = %.loc5_52.1 (constants.%.4e7)] +// CHECK:STDOUT: %pattern_type.loc5_52: type = pattern_type %IntRange [symbolic = %pattern_type.loc5_52 (constants.%pattern_type.255)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc5_16: = require_complete_type %Int.loc5_28.1 [symbolic = %require_complete.loc5_16 (constants.%require_complete.c70ca9.1)] -// CHECK:STDOUT: %require_complete.loc5_49: = require_complete_type %IntRange [symbolic = %require_complete.loc5_49 (constants.%require_complete.e7d)] -// CHECK:STDOUT: %struct_type.start.end: type = struct_type {.start: @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1), .end: @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1)} [symbolic = %struct_type.start.end (constants.%struct_type.start.end.b07)] -// CHECK:STDOUT: %.loc6_22.1: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic = %.loc6_22.1 (constants.%.885)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %Int.loc5_28.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.1b4)] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Int.loc5_28.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.75c)] -// 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.42f)] -// CHECK:STDOUT: %.loc6_22.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc6_22.2 (constants.%.c0c)] -// CHECK:STDOUT: %impl.elem0.loc6_22.2: @IntRange.Make.%.loc6_22.2 (%.c0c) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_22.2 (constants.%impl.elem0.51e)] -// CHECK:STDOUT: %specific_impl_fn.loc6_22.2: = specific_impl_function %impl.elem0.loc6_22.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc6_22.2 (constants.%specific_impl_fn.e37)] +// CHECK:STDOUT: %require_complete.loc5_16: = require_complete_type %Int.loc5_28.1 [symbolic = %require_complete.loc5_16 (constants.%require_complete.692f79.1)] +// CHECK:STDOUT: %require_complete.loc5_49: = require_complete_type %IntRange [symbolic = %require_complete.loc5_49 (constants.%require_complete.f50)] +// CHECK:STDOUT: %struct_type.start.end: type = struct_type {.start: @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1), .end: @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1)} [symbolic = %struct_type.start.end (constants.%struct_type.start.end.d60)] +// CHECK:STDOUT: %.loc6_22.1: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic = %.loc6_22.1 (constants.%.8a3)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %Int.loc5_28.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.f90)] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Int.loc5_28.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.718)] +// 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.c6e)] +// CHECK:STDOUT: %.loc6_22.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc6_22.2 (constants.%.435)] +// CHECK:STDOUT: %impl.elem0.loc6_22.2: @IntRange.Make.%.loc6_22.2 (%.435) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_22.2 (constants.%impl.elem0.f2b)] +// CHECK:STDOUT: %specific_impl_fn.loc6_22.2: = specific_impl_function %impl.elem0.loc6_22.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc6_22.2 (constants.%specific_impl_fn.f98)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%start.param: @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1), %end.param: @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1)) -> out %return.param: @IntRange.Make.%IntRange (%IntRange.58b) { +// CHECK:STDOUT: fn(%start.param: @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1), %end.param: @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1)) -> out %return.param: @IntRange.Make.%IntRange (%IntRange.6d0) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %start.ref: @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1) = name_ref start, %start -// CHECK:STDOUT: %end.ref: @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1) = name_ref end, %end -// CHECK:STDOUT: %.loc6_39.1: @IntRange.Make.%struct_type.start.end (%struct_type.start.end.b07) = struct_literal (%start.ref, %end.ref) -// CHECK:STDOUT: %impl.elem0.loc6_22.1: @IntRange.Make.%.loc6_22.2 (%.c0c) = impl_witness_access constants.%Copy.lookup_impl_witness.1b4, element0 [symbolic = %impl.elem0.loc6_22.2 (constants.%impl.elem0.51e)] +// CHECK:STDOUT: %start.ref: @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1) = name_ref start, %start +// CHECK:STDOUT: %end.ref: @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1) = name_ref end, %end +// CHECK:STDOUT: %.loc6_39.1: @IntRange.Make.%struct_type.start.end (%struct_type.start.end.d60) = struct_literal (%start.ref, %end.ref) +// CHECK:STDOUT: %impl.elem0.loc6_22.1: @IntRange.Make.%.loc6_22.2 (%.435) = impl_witness_access constants.%Copy.lookup_impl_witness.f90, element0 [symbolic = %impl.elem0.loc6_22.2 (constants.%impl.elem0.f2b)] // CHECK:STDOUT: %bound_method.loc6_22.1: = bound_method %start.ref, %impl.elem0.loc6_22.1 -// CHECK:STDOUT: %specific_impl_fn.loc6_22.1: = specific_impl_function %impl.elem0.loc6_22.1, @Copy.WithSelf.Op(constants.%Copy.facet.75c) [symbolic = %specific_impl_fn.loc6_22.2 (constants.%specific_impl_fn.e37)] +// CHECK:STDOUT: %specific_impl_fn.loc6_22.1: = specific_impl_function %impl.elem0.loc6_22.1, @Copy.WithSelf.Op(constants.%Copy.facet.718) [symbolic = %specific_impl_fn.loc6_22.2 (constants.%specific_impl_fn.f98)] // CHECK:STDOUT: %bound_method.loc6_22.2: = bound_method %start.ref, %specific_impl_fn.loc6_22.1 -// CHECK:STDOUT: %Copy.WithSelf.Op.call.loc6_22: init @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1) = call %bound_method.loc6_22.2(%start.ref) -// CHECK:STDOUT: %.loc6_39.2: ref @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1) = class_element_access %return.param, element0 -// CHECK:STDOUT: %.loc6_39.3: init @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1) to %.loc6_39.2 = in_place_init %Copy.WithSelf.Op.call.loc6_22 -// CHECK:STDOUT: %impl.elem0.loc6_36: @IntRange.Make.%.loc6_22.2 (%.c0c) = impl_witness_access constants.%Copy.lookup_impl_witness.1b4, element0 [symbolic = %impl.elem0.loc6_22.2 (constants.%impl.elem0.51e)] +// CHECK:STDOUT: %Copy.WithSelf.Op.call.loc6_22: init @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1) = call %bound_method.loc6_22.2(%start.ref) +// CHECK:STDOUT: %.loc6_39.2: ref @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1) = class_element_access %return.param, element0 +// CHECK:STDOUT: %.loc6_39.3: init @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1) to %.loc6_39.2 = in_place_init %Copy.WithSelf.Op.call.loc6_22 +// CHECK:STDOUT: %impl.elem0.loc6_36: @IntRange.Make.%.loc6_22.2 (%.435) = impl_witness_access constants.%Copy.lookup_impl_witness.f90, element0 [symbolic = %impl.elem0.loc6_22.2 (constants.%impl.elem0.f2b)] // CHECK:STDOUT: %bound_method.loc6_36.1: = bound_method %end.ref, %impl.elem0.loc6_36 -// CHECK:STDOUT: %specific_impl_fn.loc6_36: = specific_impl_function %impl.elem0.loc6_36, @Copy.WithSelf.Op(constants.%Copy.facet.75c) [symbolic = %specific_impl_fn.loc6_22.2 (constants.%specific_impl_fn.e37)] +// CHECK:STDOUT: %specific_impl_fn.loc6_36: = specific_impl_function %impl.elem0.loc6_36, @Copy.WithSelf.Op(constants.%Copy.facet.718) [symbolic = %specific_impl_fn.loc6_22.2 (constants.%specific_impl_fn.f98)] // CHECK:STDOUT: %bound_method.loc6_36.2: = bound_method %end.ref, %specific_impl_fn.loc6_36 -// CHECK:STDOUT: %Copy.WithSelf.Op.call.loc6_36: init @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1) = call %bound_method.loc6_36.2(%end.ref) -// CHECK:STDOUT: %.loc6_39.4: ref @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1) = class_element_access %return.param, element1 -// CHECK:STDOUT: %.loc6_39.5: init @IntRange.Make.%Int.loc5_28.1 (%Int.2b1d38.1) to %.loc6_39.4 = in_place_init %Copy.WithSelf.Op.call.loc6_36 -// CHECK:STDOUT: %.loc6_39.6: init @IntRange.Make.%IntRange (%IntRange.58b) to %return.param = class_init (%.loc6_39.3, %.loc6_39.5) -// CHECK:STDOUT: %.loc6_40: init @IntRange.Make.%IntRange (%IntRange.58b) = converted %.loc6_39.1, %.loc6_39.6 +// CHECK:STDOUT: %Copy.WithSelf.Op.call.loc6_36: init @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1) = call %bound_method.loc6_36.2(%end.ref) +// CHECK:STDOUT: %.loc6_39.4: ref @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1) = class_element_access %return.param, element1 +// CHECK:STDOUT: %.loc6_39.5: init @IntRange.Make.%Int.loc5_28.1 (%Int.2cc5f1.1) to %.loc6_39.4 = in_place_init %Copy.WithSelf.Op.call.loc6_36 +// CHECK:STDOUT: %.loc6_39.6: init @IntRange.Make.%IntRange (%IntRange.6d0) to %return.param = class_init (%.loc6_39.3, %.loc6_39.5) +// CHECK:STDOUT: %.loc6_40: init @IntRange.Make.%IntRange (%IntRange.6d0) = converted %.loc6_39.1, %.loc6_39.6 // CHECK:STDOUT: return %.loc6_40 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @IntRange.as.Iterate.impl.NewCursor(@IntRange.%N.loc4_17.2: Core.IntLiteral) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N) [symbolic = %IntRange (constants.%IntRange.58b)] -// CHECK:STDOUT: %pattern_type.loc10_22: type = pattern_type %IntRange [symbolic = %pattern_type.loc10_22 (constants.%pattern_type.f0e)] -// CHECK:STDOUT: %Int.loc10_45.1: type = class_type @Int, @Int(%N) [symbolic = %Int.loc10_45.1 (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %.loc10_45.1: Core.Form = init_form %Int.loc10_45.1 [symbolic = %.loc10_45.1 (constants.%.2bb6b9.1)] -// CHECK:STDOUT: %pattern_type.loc10_45: type = pattern_type %Int.loc10_45.1 [symbolic = %pattern_type.loc10_45 (constants.%pattern_type.a7b4a0.1)] +// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N) [symbolic = %IntRange (constants.%IntRange.6d0)] +// CHECK:STDOUT: %pattern_type.loc10_22: type = pattern_type %IntRange [symbolic = %pattern_type.loc10_22 (constants.%pattern_type.255)] +// CHECK:STDOUT: %Int.loc10_45.1: type = class_type @Int, @Int(%N) [symbolic = %Int.loc10_45.1 (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %.loc10_45.1: Core.Form = init_form %Int.loc10_45.1 [symbolic = %.loc10_45.1 (constants.%.245fba.1)] +// CHECK:STDOUT: %pattern_type.loc10_45: type = pattern_type %Int.loc10_45.1 [symbolic = %pattern_type.loc10_45 (constants.%pattern_type.142972.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc10_22: = require_complete_type %IntRange [symbolic = %require_complete.loc10_22 (constants.%require_complete.e7d)] -// CHECK:STDOUT: %IntRange.elem: type = unbound_element_type %IntRange, %Int.loc10_45.1 [symbolic = %IntRange.elem (constants.%IntRange.elem.5a3)] -// CHECK:STDOUT: %require_complete.loc10_60: = require_complete_type %Int.loc10_45.1 [symbolic = %require_complete.loc10_60 (constants.%require_complete.c70ca9.1)] -// CHECK:STDOUT: %.loc10_60.3: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic = %.loc10_60.3 (constants.%.885)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %Int.loc10_45.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.1b4)] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Int.loc10_45.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.75c)] -// 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.42f)] -// CHECK:STDOUT: %.loc10_60.4: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_60.4 (constants.%.c0c)] -// CHECK:STDOUT: %impl.elem0.loc10_60.2: @IntRange.as.Iterate.impl.NewCursor.%.loc10_60.4 (%.c0c) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_60.2 (constants.%impl.elem0.51e)] -// CHECK:STDOUT: %specific_impl_fn.loc10_60.2: = specific_impl_function %impl.elem0.loc10_60.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_60.2 (constants.%specific_impl_fn.e37)] +// CHECK:STDOUT: %require_complete.loc10_22: = require_complete_type %IntRange [symbolic = %require_complete.loc10_22 (constants.%require_complete.f50)] +// CHECK:STDOUT: %IntRange.elem: type = unbound_element_type %IntRange, %Int.loc10_45.1 [symbolic = %IntRange.elem (constants.%IntRange.elem.19c)] +// CHECK:STDOUT: %require_complete.loc10_60: = require_complete_type %Int.loc10_45.1 [symbolic = %require_complete.loc10_60 (constants.%require_complete.692f79.1)] +// CHECK:STDOUT: %.loc10_60.3: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic = %.loc10_60.3 (constants.%.8a3)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %Int.loc10_45.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.f90)] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Int.loc10_45.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.718)] +// 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.c6e)] +// CHECK:STDOUT: %.loc10_60.4: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_60.4 (constants.%.435)] +// CHECK:STDOUT: %impl.elem0.loc10_60.2: @IntRange.as.Iterate.impl.NewCursor.%.loc10_60.4 (%.435) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_60.2 (constants.%impl.elem0.f2b)] +// CHECK:STDOUT: %specific_impl_fn.loc10_60.2: = specific_impl_function %impl.elem0.loc10_60.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_60.2 (constants.%specific_impl_fn.f98)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @IntRange.as.Iterate.impl.NewCursor.%IntRange (%IntRange.58b)) -> out %return.param: @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_45.1 (%Int.2b1d38.1) { +// CHECK:STDOUT: fn(%self.param: @IntRange.as.Iterate.impl.NewCursor.%IntRange (%IntRange.6d0)) -> out %return.param: @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_45.1 (%Int.2cc5f1.1) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %self.ref: @IntRange.as.Iterate.impl.NewCursor.%IntRange (%IntRange.58b) = name_ref self, %self -// CHECK:STDOUT: %start.ref: @IntRange.as.Iterate.impl.NewCursor.%IntRange.elem (%IntRange.elem.5a3) = name_ref start, @IntRange.%.loc22 [concrete = @IntRange.%.loc22] -// CHECK:STDOUT: %.loc10_60.1: ref @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_45.1 (%Int.2b1d38.1) = class_element_access %self.ref, element0 -// CHECK:STDOUT: %.loc10_60.2: @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_45.1 (%Int.2b1d38.1) = acquire_value %.loc10_60.1 -// CHECK:STDOUT: %impl.elem0.loc10_60.1: @IntRange.as.Iterate.impl.NewCursor.%.loc10_60.4 (%.c0c) = impl_witness_access constants.%Copy.lookup_impl_witness.1b4, element0 [symbolic = %impl.elem0.loc10_60.2 (constants.%impl.elem0.51e)] +// CHECK:STDOUT: %self.ref: @IntRange.as.Iterate.impl.NewCursor.%IntRange (%IntRange.6d0) = name_ref self, %self +// CHECK:STDOUT: %start.ref: @IntRange.as.Iterate.impl.NewCursor.%IntRange.elem (%IntRange.elem.19c) = name_ref start, @IntRange.%.loc22 [concrete = @IntRange.%.loc22] +// CHECK:STDOUT: %.loc10_60.1: ref @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_45.1 (%Int.2cc5f1.1) = class_element_access %self.ref, element0 +// CHECK:STDOUT: %.loc10_60.2: @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_45.1 (%Int.2cc5f1.1) = acquire_value %.loc10_60.1 +// CHECK:STDOUT: %impl.elem0.loc10_60.1: @IntRange.as.Iterate.impl.NewCursor.%.loc10_60.4 (%.435) = impl_witness_access constants.%Copy.lookup_impl_witness.f90, element0 [symbolic = %impl.elem0.loc10_60.2 (constants.%impl.elem0.f2b)] // CHECK:STDOUT: %bound_method.loc10_60.1: = bound_method %.loc10_60.2, %impl.elem0.loc10_60.1 -// CHECK:STDOUT: %specific_impl_fn.loc10_60.1: = specific_impl_function %impl.elem0.loc10_60.1, @Copy.WithSelf.Op(constants.%Copy.facet.75c) [symbolic = %specific_impl_fn.loc10_60.2 (constants.%specific_impl_fn.e37)] +// CHECK:STDOUT: %specific_impl_fn.loc10_60.1: = specific_impl_function %impl.elem0.loc10_60.1, @Copy.WithSelf.Op(constants.%Copy.facet.718) [symbolic = %specific_impl_fn.loc10_60.2 (constants.%specific_impl_fn.f98)] // CHECK:STDOUT: %bound_method.loc10_60.2: = bound_method %.loc10_60.2, %specific_impl_fn.loc10_60.1 -// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_45.1 (%Int.2b1d38.1) = call %bound_method.loc10_60.2(%.loc10_60.2) +// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @IntRange.as.Iterate.impl.NewCursor.%Int.loc10_45.1 (%Int.2cc5f1.1) = call %bound_method.loc10_60.2(%.loc10_60.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @IntRange.as.Iterate.impl.Next(@IntRange.%N.loc4_17.2: Core.IntLiteral) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N) [symbolic = %IntRange (constants.%IntRange.58b)] -// CHECK:STDOUT: %pattern_type.loc11_17: type = pattern_type %IntRange [symbolic = %pattern_type.loc11_17 (constants.%pattern_type.f0e)] -// CHECK:STDOUT: %Int.loc11_43.1: type = class_type @Int, @Int(%N) [symbolic = %Int.loc11_43.1 (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %ptr.loc11_44.1: type = ptr_type %Int.loc11_43.1 [symbolic = %ptr.loc11_44.1 (constants.%ptr.6b5)] -// CHECK:STDOUT: %pattern_type.loc11_31: type = pattern_type %ptr.loc11_44.1 [symbolic = %pattern_type.loc11_31 (constants.%pattern_type.720)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Int.loc11_43.1, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness.b3d)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %Int.loc11_43.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.1b4)] -// CHECK:STDOUT: %facet_value: %facet_type.16f = facet_value %Int.loc11_43.1, (%Destroy.lookup_impl_witness, %Copy.lookup_impl_witness) [symbolic = %facet_value (constants.%facet_value)] -// CHECK:STDOUT: %.loc11_75.3: require_specific_def_type = require_specific_def @T.as_type.as.OptionalStorage.impl(%facet_value) [symbolic = %.loc11_75.3 (constants.%.4d8)] -// CHECK:STDOUT: %OptionalStorage.lookup_impl_witness: = lookup_impl_witness %Int.loc11_43.1, @OptionalStorage [symbolic = %OptionalStorage.lookup_impl_witness (constants.%OptionalStorage.lookup_impl_witness.993)] -// CHECK:STDOUT: %OptionalStorage.facet.loc11_75.1: %OptionalStorage.type = facet_value %Int.loc11_43.1, (%OptionalStorage.lookup_impl_witness) [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.ee4)] -// CHECK:STDOUT: %Optional.loc11_75.1: type = class_type @Optional, @Optional(%OptionalStorage.facet.loc11_75.1) [symbolic = %Optional.loc11_75.1 (constants.%Optional.328)] -// CHECK:STDOUT: %.loc11_75.4: Core.Form = init_form %Optional.loc11_75.1 [symbolic = %.loc11_75.4 (constants.%.65a)] -// CHECK:STDOUT: %pattern_type.loc11_75: type = pattern_type %Optional.loc11_75.1 [symbolic = %pattern_type.loc11_75 (constants.%pattern_type.faf)] +// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N) [symbolic = %IntRange (constants.%IntRange.6d0)] +// CHECK:STDOUT: %pattern_type.loc11_17: type = pattern_type %IntRange [symbolic = %pattern_type.loc11_17 (constants.%pattern_type.255)] +// CHECK:STDOUT: %Int.loc11_43.1: type = class_type @Int, @Int(%N) [symbolic = %Int.loc11_43.1 (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %ptr.loc11_44.1: type = ptr_type %Int.loc11_43.1 [symbolic = %ptr.loc11_44.1 (constants.%ptr.f8f)] +// CHECK:STDOUT: %pattern_type.loc11_31: type = pattern_type %ptr.loc11_44.1 [symbolic = %pattern_type.loc11_31 (constants.%pattern_type.fa7)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Int.loc11_43.1, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness.c2c)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %Int.loc11_43.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.f90)] +// CHECK:STDOUT: %facet_value: %facet_type.b7c = facet_value %Int.loc11_43.1, (%Destroy.lookup_impl_witness, %Copy.lookup_impl_witness) [symbolic = %facet_value (constants.%facet_value)] +// CHECK:STDOUT: %.loc11_75.3: require_specific_def_type = require_specific_def @T.as_type.as.OptionalStorage.impl(%facet_value) [symbolic = %.loc11_75.3 (constants.%.a8e)] +// CHECK:STDOUT: %OptionalStorage.lookup_impl_witness: = lookup_impl_witness %Int.loc11_43.1, @OptionalStorage [symbolic = %OptionalStorage.lookup_impl_witness (constants.%OptionalStorage.lookup_impl_witness.a55)] +// CHECK:STDOUT: %OptionalStorage.facet.loc11_75.1: %OptionalStorage.type = facet_value %Int.loc11_43.1, (%OptionalStorage.lookup_impl_witness) [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.6e7)] +// CHECK:STDOUT: %Optional.loc11_75.1: type = class_type @Optional, @Optional(%OptionalStorage.facet.loc11_75.1) [symbolic = %Optional.loc11_75.1 (constants.%Optional.621)] +// CHECK:STDOUT: %.loc11_75.4: Core.Form = init_form %Optional.loc11_75.1 [symbolic = %.loc11_75.4 (constants.%.222)] +// CHECK:STDOUT: %pattern_type.loc11_75: type = pattern_type %Optional.loc11_75.1 [symbolic = %pattern_type.loc11_75 (constants.%pattern_type.16e)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc11_17: = require_complete_type %IntRange [symbolic = %require_complete.loc11_17 (constants.%require_complete.e7d)] -// CHECK:STDOUT: %require_complete.loc11_31: = require_complete_type %ptr.loc11_44.1 [symbolic = %require_complete.loc11_31 (constants.%require_complete.602)] -// CHECK:STDOUT: %require_complete.loc11_47: = require_complete_type %Optional.loc11_75.1 [symbolic = %require_complete.loc11_47 (constants.%require_complete.ba7)] -// CHECK:STDOUT: %require_complete.loc12: = require_complete_type %Int.loc11_43.1 [symbolic = %require_complete.loc12 (constants.%require_complete.c70ca9.1)] -// CHECK:STDOUT: %pattern_type.loc12: type = pattern_type %Int.loc11_43.1 [symbolic = %pattern_type.loc12 (constants.%pattern_type.a7b4a0.1)] -// CHECK:STDOUT: %.loc12_32.3: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic = %.loc12_32.3 (constants.%.885)] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Int.loc11_43.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.75c)] -// 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.42f)] -// CHECK:STDOUT: %.loc12_32.4: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc12_32.4 (constants.%.c0c)] -// CHECK:STDOUT: %impl.elem0.loc12_32.2: @IntRange.as.Iterate.impl.Next.%.loc12_32.4 (%.c0c) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc12_32.2 (constants.%impl.elem0.51e)] -// CHECK:STDOUT: %specific_impl_fn.loc12_32.2: = specific_impl_function %impl.elem0.loc12_32.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc12_32.2 (constants.%specific_impl_fn.e37)] -// CHECK:STDOUT: %IntRange.elem: type = unbound_element_type %IntRange, %Int.loc11_43.1 [symbolic = %IntRange.elem (constants.%IntRange.elem.5a3)] -// CHECK:STDOUT: %OrderedWith.type.loc13_17.2: type = facet_type <@OrderedWith, @OrderedWith(%Int.loc11_43.1)> [symbolic = %OrderedWith.type.loc13_17.2 (constants.%OrderedWith.type.f36)] -// CHECK:STDOUT: %require_complete.loc13: = require_complete_type %OrderedWith.type.loc13_17.2 [symbolic = %require_complete.loc13 (constants.%require_complete.617)] -// CHECK:STDOUT: %OrderedWith.assoc_type: type = assoc_entity_type @OrderedWith, @OrderedWith(%Int.loc11_43.1) [symbolic = %OrderedWith.assoc_type (constants.%OrderedWith.assoc_type.700)] -// CHECK:STDOUT: %assoc0: @IntRange.as.Iterate.impl.Next.%OrderedWith.assoc_type (%OrderedWith.assoc_type.700) = assoc_entity element0, imports.%Core.import_ref.250 [symbolic = %assoc0 (constants.%assoc0.bed)] -// CHECK:STDOUT: %.loc13_17.2: require_specific_def_type = require_specific_def @Int.as.OrderedWith.impl.ccc(%N, %N) [symbolic = %.loc13_17.2 (constants.%.7a4)] -// CHECK:STDOUT: %OrderedWith.impl_witness: = impl_witness imports.%OrderedWith.impl_witness_table.dd7, @Int.as.OrderedWith.impl.ccc(%N, %N) [symbolic = %OrderedWith.impl_witness (constants.%OrderedWith.impl_witness.161)] -// CHECK:STDOUT: %OrderedWith.facet: @IntRange.as.Iterate.impl.Next.%OrderedWith.type.loc13_17.2 (%OrderedWith.type.f36) = facet_value %Int.loc11_43.1, (%OrderedWith.impl_witness) [symbolic = %OrderedWith.facet (constants.%OrderedWith.facet.06d)] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Int.loc11_43.1, %OrderedWith.facet) [symbolic = %OrderedWith.WithSelf.Less.type (constants.%OrderedWith.WithSelf.Less.type.381)] -// CHECK:STDOUT: %.loc13_17.3: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type, %OrderedWith.facet [symbolic = %.loc13_17.3 (constants.%.d75)] -// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.type: type = fn_type @Int.as.OrderedWith.impl.Less.1, @Int.as.OrderedWith.impl.ccc(%N, %N) [symbolic = %Int.as.OrderedWith.impl.Less.type (constants.%Int.as.OrderedWith.impl.Less.type.666)] -// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less: @IntRange.as.Iterate.impl.Next.%Int.as.OrderedWith.impl.Less.type (%Int.as.OrderedWith.impl.Less.type.666) = struct_value () [symbolic = %Int.as.OrderedWith.impl.Less (constants.%Int.as.OrderedWith.impl.Less.7bb)] -// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.specific_fn: = specific_function %Int.as.OrderedWith.impl.Less, @Int.as.OrderedWith.impl.Less.1(%N, %N) [symbolic = %Int.as.OrderedWith.impl.Less.specific_fn (constants.%Int.as.OrderedWith.impl.Less.specific_fn.a82)] -// CHECK:STDOUT: %.loc14_9.1: require_specific_def_type = require_specific_def @Int.as.Inc.impl(%N) [symbolic = %.loc14_9.1 (constants.%.569)] +// CHECK:STDOUT: %require_complete.loc11_17: = require_complete_type %IntRange [symbolic = %require_complete.loc11_17 (constants.%require_complete.f50)] +// CHECK:STDOUT: %require_complete.loc11_31: = require_complete_type %ptr.loc11_44.1 [symbolic = %require_complete.loc11_31 (constants.%require_complete.39d)] +// CHECK:STDOUT: %require_complete.loc11_47: = require_complete_type %Optional.loc11_75.1 [symbolic = %require_complete.loc11_47 (constants.%require_complete.193)] +// CHECK:STDOUT: %require_complete.loc12: = require_complete_type %Int.loc11_43.1 [symbolic = %require_complete.loc12 (constants.%require_complete.692f79.1)] +// CHECK:STDOUT: %pattern_type.loc12: type = pattern_type %Int.loc11_43.1 [symbolic = %pattern_type.loc12 (constants.%pattern_type.142972.1)] +// CHECK:STDOUT: %.loc12_32.3: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic = %.loc12_32.3 (constants.%.8a3)] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Int.loc11_43.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.718)] +// 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.c6e)] +// CHECK:STDOUT: %.loc12_32.4: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc12_32.4 (constants.%.435)] +// CHECK:STDOUT: %impl.elem0.loc12_32.2: @IntRange.as.Iterate.impl.Next.%.loc12_32.4 (%.435) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc12_32.2 (constants.%impl.elem0.f2b)] +// CHECK:STDOUT: %specific_impl_fn.loc12_32.2: = specific_impl_function %impl.elem0.loc12_32.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc12_32.2 (constants.%specific_impl_fn.f98)] +// CHECK:STDOUT: %IntRange.elem: type = unbound_element_type %IntRange, %Int.loc11_43.1 [symbolic = %IntRange.elem (constants.%IntRange.elem.19c)] +// CHECK:STDOUT: %OrderedWith.type.loc13_17.2: type = facet_type <@OrderedWith, @OrderedWith(%Int.loc11_43.1)> [symbolic = %OrderedWith.type.loc13_17.2 (constants.%OrderedWith.type.c0b)] +// CHECK:STDOUT: %require_complete.loc13: = require_complete_type %OrderedWith.type.loc13_17.2 [symbolic = %require_complete.loc13 (constants.%require_complete.77f)] +// CHECK:STDOUT: %OrderedWith.assoc_type: type = assoc_entity_type @OrderedWith, @OrderedWith(%Int.loc11_43.1) [symbolic = %OrderedWith.assoc_type (constants.%OrderedWith.assoc_type.6b3)] +// CHECK:STDOUT: %assoc0: @IntRange.as.Iterate.impl.Next.%OrderedWith.assoc_type (%OrderedWith.assoc_type.6b3) = assoc_entity element0, imports.%Core.import_ref.5cd [symbolic = %assoc0 (constants.%assoc0.791)] +// CHECK:STDOUT: %.loc13_17.2: require_specific_def_type = require_specific_def @Int.as.OrderedWith.impl.099(%N, %N) [symbolic = %.loc13_17.2 (constants.%.353)] +// CHECK:STDOUT: %OrderedWith.impl_witness: = impl_witness imports.%OrderedWith.impl_witness_table.274, @Int.as.OrderedWith.impl.099(%N, %N) [symbolic = %OrderedWith.impl_witness (constants.%OrderedWith.impl_witness.8f9)] +// CHECK:STDOUT: %OrderedWith.facet: @IntRange.as.Iterate.impl.Next.%OrderedWith.type.loc13_17.2 (%OrderedWith.type.c0b) = facet_value %Int.loc11_43.1, (%OrderedWith.impl_witness) [symbolic = %OrderedWith.facet (constants.%OrderedWith.facet.16b)] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Int.loc11_43.1, %OrderedWith.facet) [symbolic = %OrderedWith.WithSelf.Less.type (constants.%OrderedWith.WithSelf.Less.type.e25)] +// CHECK:STDOUT: %.loc13_17.3: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type, %OrderedWith.facet [symbolic = %.loc13_17.3 (constants.%.d67)] +// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.type: type = fn_type @Int.as.OrderedWith.impl.Less.1, @Int.as.OrderedWith.impl.099(%N, %N) [symbolic = %Int.as.OrderedWith.impl.Less.type (constants.%Int.as.OrderedWith.impl.Less.type.e0f)] +// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less: @IntRange.as.Iterate.impl.Next.%Int.as.OrderedWith.impl.Less.type (%Int.as.OrderedWith.impl.Less.type.e0f) = struct_value () [symbolic = %Int.as.OrderedWith.impl.Less (constants.%Int.as.OrderedWith.impl.Less.cbf)] +// CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.specific_fn: = specific_function %Int.as.OrderedWith.impl.Less, @Int.as.OrderedWith.impl.Less.1(%N, %N) [symbolic = %Int.as.OrderedWith.impl.Less.specific_fn (constants.%Int.as.OrderedWith.impl.Less.specific_fn.cc7)] +// CHECK:STDOUT: %.loc14_9.1: require_specific_def_type = require_specific_def @Int.as.Inc.impl(%N) [symbolic = %.loc14_9.1 (constants.%.689)] // CHECK:STDOUT: %Inc.lookup_impl_witness: = lookup_impl_witness %Int.loc11_43.1, @Inc [symbolic = %Inc.lookup_impl_witness (constants.%Inc.lookup_impl_witness)] // CHECK:STDOUT: %Inc.facet: %Inc.type = facet_value %Int.loc11_43.1, (%Inc.lookup_impl_witness) [symbolic = %Inc.facet (constants.%Inc.facet)] -// CHECK:STDOUT: %Inc.WithSelf.Op.type: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet) [symbolic = %Inc.WithSelf.Op.type (constants.%Inc.WithSelf.Op.type.1fa)] -// CHECK:STDOUT: %.loc14_9.2: type = fn_type_with_self_type %Inc.WithSelf.Op.type, %Inc.facet [symbolic = %.loc14_9.2 (constants.%.cf5)] -// CHECK:STDOUT: %impl.elem0.loc14_9.2: @IntRange.as.Iterate.impl.Next.%.loc14_9.2 (%.cf5) = impl_witness_access %Inc.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_9.2 (constants.%impl.elem0.905)] -// CHECK:STDOUT: %specific_impl_fn.loc14_9.2: = specific_impl_function %impl.elem0.loc14_9.2, @Inc.WithSelf.Op(%Inc.facet) [symbolic = %specific_impl_fn.loc14_9.2 (constants.%specific_impl_fn.475)] -// CHECK:STDOUT: %Optional.Some.type: type = fn_type @Optional.Some, @Optional(%OptionalStorage.facet.loc11_75.1) [symbolic = %Optional.Some.type (constants.%Optional.Some.type.953)] -// CHECK:STDOUT: %Optional.Some: @IntRange.as.Iterate.impl.Next.%Optional.Some.type (%Optional.Some.type.953) = struct_value () [symbolic = %Optional.Some (constants.%Optional.Some.393)] +// CHECK:STDOUT: %Inc.WithSelf.Op.type: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet) [symbolic = %Inc.WithSelf.Op.type (constants.%Inc.WithSelf.Op.type.45e)] +// CHECK:STDOUT: %.loc14_9.2: type = fn_type_with_self_type %Inc.WithSelf.Op.type, %Inc.facet [symbolic = %.loc14_9.2 (constants.%.7cf)] +// CHECK:STDOUT: %impl.elem0.loc14_9.2: @IntRange.as.Iterate.impl.Next.%.loc14_9.2 (%.7cf) = impl_witness_access %Inc.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_9.2 (constants.%impl.elem0.e3c)] +// CHECK:STDOUT: %specific_impl_fn.loc14_9.2: = specific_impl_function %impl.elem0.loc14_9.2, @Inc.WithSelf.Op(%Inc.facet) [symbolic = %specific_impl_fn.loc14_9.2 (constants.%specific_impl_fn.461)] +// CHECK:STDOUT: %Optional.Some.type: type = fn_type @Optional.Some, @Optional(%OptionalStorage.facet.loc11_75.1) [symbolic = %Optional.Some.type (constants.%Optional.Some.type.fd4)] +// CHECK:STDOUT: %Optional.Some: @IntRange.as.Iterate.impl.Next.%Optional.Some.type (%Optional.Some.type.fd4) = struct_value () [symbolic = %Optional.Some (constants.%Optional.Some.f95)] // CHECK:STDOUT: %Optional.Some.specific_fn.loc15_42.2: = specific_function %Optional.Some, @Optional.Some(%OptionalStorage.facet.loc11_75.1) [symbolic = %Optional.Some.specific_fn.loc15_42.2 (constants.%Optional.Some.specific_fn)] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %Int.loc11_43.1, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.161)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.4f1)] -// CHECK:STDOUT: %.loc12_7: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc12_7 (constants.%.51e)] -// CHECK:STDOUT: %impl.elem0.loc12_7.3: @IntRange.as.Iterate.impl.Next.%.loc12_7 (%.51e) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc12_7.3 (constants.%impl.elem0.f9f)] -// CHECK:STDOUT: %specific_impl_fn.loc12_7.3: = specific_impl_function %impl.elem0.loc12_7.3, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc12_7.3 (constants.%specific_impl_fn.097)] -// CHECK:STDOUT: %Optional.None.type: type = fn_type @Optional.None, @Optional(%OptionalStorage.facet.loc11_75.1) [symbolic = %Optional.None.type (constants.%Optional.None.type.c4d)] -// CHECK:STDOUT: %Optional.None: @IntRange.as.Iterate.impl.Next.%Optional.None.type (%Optional.None.type.c4d) = struct_value () [symbolic = %Optional.None (constants.%Optional.None.fb0)] +// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %Int.loc11_43.1, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.38c)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.833)] +// CHECK:STDOUT: %.loc12_7: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc12_7 (constants.%.b6c)] +// CHECK:STDOUT: %impl.elem0.loc12_7.3: @IntRange.as.Iterate.impl.Next.%.loc12_7 (%.b6c) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc12_7.3 (constants.%impl.elem0.913)] +// CHECK:STDOUT: %specific_impl_fn.loc12_7.3: = specific_impl_function %impl.elem0.loc12_7.3, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc12_7.3 (constants.%specific_impl_fn.c0a)] +// CHECK:STDOUT: %Optional.None.type: type = fn_type @Optional.None, @Optional(%OptionalStorage.facet.loc11_75.1) [symbolic = %Optional.None.type (constants.%Optional.None.type.0f7)] +// CHECK:STDOUT: %Optional.None: @IntRange.as.Iterate.impl.Next.%Optional.None.type (%Optional.None.type.0f7) = struct_value () [symbolic = %Optional.None (constants.%Optional.None.aad)] // CHECK:STDOUT: %Optional.None.specific_fn.loc17_42.2: = specific_function %Optional.None, @Optional.None(%OptionalStorage.facet.loc11_75.1) [symbolic = %Optional.None.specific_fn.loc17_42.2 (constants.%Optional.None.specific_fn)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @IntRange.as.Iterate.impl.Next.%IntRange (%IntRange.58b), %cursor.param: @IntRange.as.Iterate.impl.Next.%ptr.loc11_44.1 (%ptr.6b5)) -> out %return.param: @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.328) { +// CHECK:STDOUT: fn(%self.param: @IntRange.as.Iterate.impl.Next.%IntRange (%IntRange.6d0), %cursor.param: @IntRange.as.Iterate.impl.Next.%ptr.loc11_44.1 (%ptr.f8f)) -> out %return.param: @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.621) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %value.patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc12 (%pattern_type.a7b4a0.1) = ref_binding_pattern value [concrete] -// CHECK:STDOUT: %value.var_patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc12 (%pattern_type.a7b4a0.1) = var_pattern %value.patt [concrete] +// CHECK:STDOUT: %value.patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc12 (%pattern_type.142972.1) = ref_binding_pattern value [concrete] +// CHECK:STDOUT: %value.var_patt: @IntRange.as.Iterate.impl.Next.%pattern_type.loc12 (%pattern_type.142972.1) = var_pattern %value.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %value.var: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2b1d38.1) = var %value.var_patt -// CHECK:STDOUT: %cursor.ref.loc12: @IntRange.as.Iterate.impl.Next.%ptr.loc11_44.1 (%ptr.6b5) = name_ref cursor, %cursor -// CHECK:STDOUT: %.loc12_32.1: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2b1d38.1) = deref %cursor.ref.loc12 -// CHECK:STDOUT: %.loc12_32.2: @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2b1d38.1) = acquire_value %.loc12_32.1 -// CHECK:STDOUT: %impl.elem0.loc12_32.1: @IntRange.as.Iterate.impl.Next.%.loc12_32.4 (%.c0c) = impl_witness_access constants.%Copy.lookup_impl_witness.1b4, element0 [symbolic = %impl.elem0.loc12_32.2 (constants.%impl.elem0.51e)] +// CHECK:STDOUT: %value.var: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2cc5f1.1) = var %value.var_patt +// CHECK:STDOUT: %cursor.ref.loc12: @IntRange.as.Iterate.impl.Next.%ptr.loc11_44.1 (%ptr.f8f) = name_ref cursor, %cursor +// CHECK:STDOUT: %.loc12_32.1: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2cc5f1.1) = deref %cursor.ref.loc12 +// CHECK:STDOUT: %.loc12_32.2: @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2cc5f1.1) = acquire_value %.loc12_32.1 +// CHECK:STDOUT: %impl.elem0.loc12_32.1: @IntRange.as.Iterate.impl.Next.%.loc12_32.4 (%.435) = impl_witness_access constants.%Copy.lookup_impl_witness.f90, element0 [symbolic = %impl.elem0.loc12_32.2 (constants.%impl.elem0.f2b)] // CHECK:STDOUT: %bound_method.loc12_32.1: = bound_method %.loc12_32.2, %impl.elem0.loc12_32.1 -// CHECK:STDOUT: %specific_impl_fn.loc12_32.1: = specific_impl_function %impl.elem0.loc12_32.1, @Copy.WithSelf.Op(constants.%Copy.facet.75c) [symbolic = %specific_impl_fn.loc12_32.2 (constants.%specific_impl_fn.e37)] +// CHECK:STDOUT: %specific_impl_fn.loc12_32.1: = specific_impl_function %impl.elem0.loc12_32.1, @Copy.WithSelf.Op(constants.%Copy.facet.718) [symbolic = %specific_impl_fn.loc12_32.2 (constants.%specific_impl_fn.f98)] // CHECK:STDOUT: %bound_method.loc12_32.2: = bound_method %.loc12_32.2, %specific_impl_fn.loc12_32.1 -// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2b1d38.1) = call %bound_method.loc12_32.2(%.loc12_32.2) +// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2cc5f1.1) = call %bound_method.loc12_32.2(%.loc12_32.2) // CHECK:STDOUT: assign %value.var, %Copy.WithSelf.Op.call -// CHECK:STDOUT: %.loc12_28: type = splice_block %Int.loc12 [symbolic = %Int.loc11_43.1 (constants.%Int.2b1d38.1)] { +// CHECK:STDOUT: %.loc12_28: type = splice_block %Int.loc12 [symbolic = %Int.loc11_43.1 (constants.%Int.2cc5f1.1)] { // CHECK:STDOUT: %Core.ref.loc12: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Int.ref.loc12: %Int.type = name_ref Int, imports.%Core.Int [concrete = constants.%Int.generic] // CHECK:STDOUT: %N.ref.loc12: Core.IntLiteral = name_ref N, @IntRange.%N.loc4_17.2 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %Int.loc12: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc11_43.1 (constants.%Int.2b1d38.1)] +// CHECK:STDOUT: %Int.loc12: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc11_43.1 (constants.%Int.2cc5f1.1)] // CHECK:STDOUT: } -// CHECK:STDOUT: %value: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2b1d38.1) = ref_binding value, %value.var -// CHECK:STDOUT: %value.ref.loc13: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2b1d38.1) = name_ref value, %value -// CHECK:STDOUT: %self.ref: @IntRange.as.Iterate.impl.Next.%IntRange (%IntRange.58b) = name_ref self, %self -// CHECK:STDOUT: %end.ref: @IntRange.as.Iterate.impl.Next.%IntRange.elem (%IntRange.elem.5a3) = name_ref end, @IntRange.%.loc23 [concrete = @IntRange.%.loc23] -// CHECK:STDOUT: %.loc13_23.1: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2b1d38.1) = class_element_access %self.ref, element1 -// CHECK:STDOUT: %.loc13_23.2: @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2b1d38.1) = acquire_value %.loc13_23.1 -// CHECK:STDOUT: %OrderedWith.type.loc13_17.1: type = facet_type <@OrderedWith, @OrderedWith(constants.%Int.2b1d38.1)> [symbolic = %OrderedWith.type.loc13_17.2 (constants.%OrderedWith.type.f36)] -// CHECK:STDOUT: %.loc13_17.1: @IntRange.as.Iterate.impl.Next.%OrderedWith.assoc_type (%OrderedWith.assoc_type.700) = specific_constant imports.%Core.import_ref.08c, @OrderedWith.WithSelf(constants.%Int.2b1d38.1, constants.%Self.589) [symbolic = %assoc0 (constants.%assoc0.bed)] -// CHECK:STDOUT: %Less.ref: @IntRange.as.Iterate.impl.Next.%OrderedWith.assoc_type (%OrderedWith.assoc_type.700) = name_ref Less, %.loc13_17.1 [symbolic = %assoc0 (constants.%assoc0.bed)] -// CHECK:STDOUT: %impl.elem0.loc13: @IntRange.as.Iterate.impl.Next.%.loc13_17.3 (%.d75) = impl_witness_access constants.%OrderedWith.impl_witness.161, element0 [symbolic = %Int.as.OrderedWith.impl.Less (constants.%Int.as.OrderedWith.impl.Less.7bb)] +// CHECK:STDOUT: %value: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2cc5f1.1) = ref_binding value, %value.var +// CHECK:STDOUT: %value.ref.loc13: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2cc5f1.1) = name_ref value, %value +// CHECK:STDOUT: %self.ref: @IntRange.as.Iterate.impl.Next.%IntRange (%IntRange.6d0) = name_ref self, %self +// CHECK:STDOUT: %end.ref: @IntRange.as.Iterate.impl.Next.%IntRange.elem (%IntRange.elem.19c) = name_ref end, @IntRange.%.loc23 [concrete = @IntRange.%.loc23] +// CHECK:STDOUT: %.loc13_23.1: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2cc5f1.1) = class_element_access %self.ref, element1 +// CHECK:STDOUT: %.loc13_23.2: @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2cc5f1.1) = acquire_value %.loc13_23.1 +// CHECK:STDOUT: %OrderedWith.type.loc13_17.1: type = facet_type <@OrderedWith, @OrderedWith(constants.%Int.2cc5f1.1)> [symbolic = %OrderedWith.type.loc13_17.2 (constants.%OrderedWith.type.c0b)] +// CHECK:STDOUT: %.loc13_17.1: @IntRange.as.Iterate.impl.Next.%OrderedWith.assoc_type (%OrderedWith.assoc_type.6b3) = specific_constant imports.%Core.import_ref.eb4, @OrderedWith.WithSelf(constants.%Int.2cc5f1.1, constants.%Self.d014) [symbolic = %assoc0 (constants.%assoc0.791)] +// CHECK:STDOUT: %Less.ref: @IntRange.as.Iterate.impl.Next.%OrderedWith.assoc_type (%OrderedWith.assoc_type.6b3) = name_ref Less, %.loc13_17.1 [symbolic = %assoc0 (constants.%assoc0.791)] +// CHECK:STDOUT: %impl.elem0.loc13: @IntRange.as.Iterate.impl.Next.%.loc13_17.3 (%.d67) = impl_witness_access constants.%OrderedWith.impl_witness.8f9, element0 [symbolic = %Int.as.OrderedWith.impl.Less (constants.%Int.as.OrderedWith.impl.Less.cbf)] // CHECK:STDOUT: %bound_method.loc13_17.1: = bound_method %value.ref.loc13, %impl.elem0.loc13 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc13, @Int.as.OrderedWith.impl.Less.1(constants.%N, constants.%N) [symbolic = %Int.as.OrderedWith.impl.Less.specific_fn (constants.%Int.as.OrderedWith.impl.Less.specific_fn.a82)] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc13, @Int.as.OrderedWith.impl.Less.1(constants.%N, constants.%N) [symbolic = %Int.as.OrderedWith.impl.Less.specific_fn (constants.%Int.as.OrderedWith.impl.Less.specific_fn.cc7)] // CHECK:STDOUT: %bound_method.loc13_17.2: = bound_method %value.ref.loc13, %specific_fn -// CHECK:STDOUT: %.loc13_11: @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2b1d38.1) = acquire_value %value.ref.loc13 +// CHECK:STDOUT: %.loc13_11: @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2cc5f1.1) = acquire_value %value.ref.loc13 // CHECK:STDOUT: %Int.as.OrderedWith.impl.Less.call: init bool = call %bound_method.loc13_17.2(%.loc13_11, %.loc13_23.2) // CHECK:STDOUT: %.loc13_27.1: bool = value_of_initializer %Int.as.OrderedWith.impl.Less.call // CHECK:STDOUT: %.loc13_27.2: bool = converted %Int.as.OrderedWith.impl.Less.call, %.loc13_27.1 // CHECK:STDOUT: if %.loc13_27.2 br !if.then else br !if.else // CHECK:STDOUT: // CHECK:STDOUT: !if.then: -// CHECK:STDOUT: %cursor.ref.loc14: @IntRange.as.Iterate.impl.Next.%ptr.loc11_44.1 (%ptr.6b5) = name_ref cursor, %cursor -// CHECK:STDOUT: %.loc14_11: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2b1d38.1) = deref %cursor.ref.loc14 -// CHECK:STDOUT: %impl.elem0.loc14_9.1: @IntRange.as.Iterate.impl.Next.%.loc14_9.2 (%.cf5) = impl_witness_access constants.%Inc.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_9.2 (constants.%impl.elem0.905)] +// CHECK:STDOUT: %cursor.ref.loc14: @IntRange.as.Iterate.impl.Next.%ptr.loc11_44.1 (%ptr.f8f) = name_ref cursor, %cursor +// CHECK:STDOUT: %.loc14_11: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2cc5f1.1) = deref %cursor.ref.loc14 +// CHECK:STDOUT: %impl.elem0.loc14_9.1: @IntRange.as.Iterate.impl.Next.%.loc14_9.2 (%.7cf) = impl_witness_access constants.%Inc.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_9.2 (constants.%impl.elem0.e3c)] // CHECK:STDOUT: %bound_method.loc14_9.1: = bound_method %.loc14_11, %impl.elem0.loc14_9.1 -// CHECK:STDOUT: %specific_impl_fn.loc14_9.1: = specific_impl_function %impl.elem0.loc14_9.1, @Inc.WithSelf.Op(constants.%Inc.facet) [symbolic = %specific_impl_fn.loc14_9.2 (constants.%specific_impl_fn.475)] +// CHECK:STDOUT: %specific_impl_fn.loc14_9.1: = specific_impl_function %impl.elem0.loc14_9.1, @Inc.WithSelf.Op(constants.%Inc.facet) [symbolic = %specific_impl_fn.loc14_9.2 (constants.%specific_impl_fn.461)] // CHECK:STDOUT: %bound_method.loc14_9.2: = bound_method %.loc14_11, %specific_impl_fn.loc14_9.1 // CHECK:STDOUT: %Inc.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc14_9.2(%.loc14_11) // CHECK:STDOUT: %Core.ref.loc15_16: = name_ref Core, imports.%Core [concrete = imports.%Core] @@ -666,22 +666,22 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: %Core.ref.loc15_30: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Int.ref.loc15: %Int.type = name_ref Int, imports.%Core.Int [concrete = constants.%Int.generic] // CHECK:STDOUT: %N.ref.loc15: Core.IntLiteral = name_ref N, @IntRange.%N.loc4_17.2 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %Int.loc15: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc11_43.1 (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %OptionalStorage.facet.loc15_41: %OptionalStorage.type = facet_value %Int.loc15, (constants.%OptionalStorage.lookup_impl_witness.993) [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.ee4)] -// CHECK:STDOUT: %.loc15_41: %OptionalStorage.type = converted %Int.loc15, %OptionalStorage.facet.loc15_41 [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.ee4)] -// CHECK:STDOUT: %Optional.loc15: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.ee4) [symbolic = %Optional.loc11_75.1 (constants.%Optional.328)] -// CHECK:STDOUT: %.loc15_42: @IntRange.as.Iterate.impl.Next.%Optional.Some.type (%Optional.Some.type.953) = specific_constant imports.%Core.import_ref.b92, @Optional(constants.%OptionalStorage.facet.ee4) [symbolic = %Optional.Some (constants.%Optional.Some.393)] -// CHECK:STDOUT: %Some.ref: @IntRange.as.Iterate.impl.Next.%Optional.Some.type (%Optional.Some.type.953) = name_ref Some, %.loc15_42 [symbolic = %Optional.Some (constants.%Optional.Some.393)] -// CHECK:STDOUT: %value.ref.loc15: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2b1d38.1) = name_ref value, %value -// CHECK:STDOUT: %OptionalStorage.facet.loc15_53: %OptionalStorage.type = facet_value constants.%Int.2b1d38.1, (constants.%OptionalStorage.lookup_impl_witness.993) [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.ee4)] -// CHECK:STDOUT: %.loc15_53: %OptionalStorage.type = converted constants.%Int.2b1d38.1, %OptionalStorage.facet.loc15_53 [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.ee4)] -// CHECK:STDOUT: %Optional.Some.specific_fn.loc15_42.1: = specific_function %Some.ref, @Optional.Some(constants.%OptionalStorage.facet.ee4) [symbolic = %Optional.Some.specific_fn.loc15_42.2 (constants.%Optional.Some.specific_fn)] -// CHECK:STDOUT: %.loc11_75.1: ref @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.328) = splice_block %return.param {} -// CHECK:STDOUT: %.loc15_48: @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2b1d38.1) = acquire_value %value.ref.loc15 -// CHECK:STDOUT: %Optional.Some.call: init @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.328) to %.loc11_75.1 = call %Optional.Some.specific_fn.loc15_42.1(%.loc15_48) -// CHECK:STDOUT: %impl.elem0.loc12_7.1: @IntRange.as.Iterate.impl.Next.%.loc12_7 (%.51e) = impl_witness_access constants.%Destroy.lookup_impl_witness.b3d, element0 [symbolic = %impl.elem0.loc12_7.3 (constants.%impl.elem0.f9f)] +// CHECK:STDOUT: %Int.loc15: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc11_43.1 (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %OptionalStorage.facet.loc15_41: %OptionalStorage.type = facet_value %Int.loc15, (constants.%OptionalStorage.lookup_impl_witness.a55) [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.6e7)] +// CHECK:STDOUT: %.loc15_41: %OptionalStorage.type = converted %Int.loc15, %OptionalStorage.facet.loc15_41 [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.6e7)] +// CHECK:STDOUT: %Optional.loc15: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.6e7) [symbolic = %Optional.loc11_75.1 (constants.%Optional.621)] +// CHECK:STDOUT: %.loc15_42: @IntRange.as.Iterate.impl.Next.%Optional.Some.type (%Optional.Some.type.fd4) = specific_constant imports.%Core.import_ref.820, @Optional(constants.%OptionalStorage.facet.6e7) [symbolic = %Optional.Some (constants.%Optional.Some.f95)] +// CHECK:STDOUT: %Some.ref: @IntRange.as.Iterate.impl.Next.%Optional.Some.type (%Optional.Some.type.fd4) = name_ref Some, %.loc15_42 [symbolic = %Optional.Some (constants.%Optional.Some.f95)] +// CHECK:STDOUT: %value.ref.loc15: ref @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2cc5f1.1) = name_ref value, %value +// CHECK:STDOUT: %OptionalStorage.facet.loc15_53: %OptionalStorage.type = facet_value constants.%Int.2cc5f1.1, (constants.%OptionalStorage.lookup_impl_witness.a55) [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.6e7)] +// CHECK:STDOUT: %.loc15_53: %OptionalStorage.type = converted constants.%Int.2cc5f1.1, %OptionalStorage.facet.loc15_53 [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.6e7)] +// CHECK:STDOUT: %Optional.Some.specific_fn.loc15_42.1: = specific_function %Some.ref, @Optional.Some(constants.%OptionalStorage.facet.6e7) [symbolic = %Optional.Some.specific_fn.loc15_42.2 (constants.%Optional.Some.specific_fn)] +// CHECK:STDOUT: %.loc11_75.1: ref @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.621) = splice_block %return.param {} +// CHECK:STDOUT: %.loc15_48: @IntRange.as.Iterate.impl.Next.%Int.loc11_43.1 (%Int.2cc5f1.1) = acquire_value %value.ref.loc15 +// CHECK:STDOUT: %Optional.Some.call: init @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.621) to %.loc11_75.1 = call %Optional.Some.specific_fn.loc15_42.1(%.loc15_48) +// CHECK:STDOUT: %impl.elem0.loc12_7.1: @IntRange.as.Iterate.impl.Next.%.loc12_7 (%.b6c) = impl_witness_access constants.%Destroy.lookup_impl_witness.c2c, element0 [symbolic = %impl.elem0.loc12_7.3 (constants.%impl.elem0.913)] // CHECK:STDOUT: %bound_method.loc12_7.1: = bound_method %value.var, %impl.elem0.loc12_7.1 -// CHECK:STDOUT: %specific_impl_fn.loc12_7.1: = specific_impl_function %impl.elem0.loc12_7.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.161) [symbolic = %specific_impl_fn.loc12_7.3 (constants.%specific_impl_fn.097)] +// CHECK:STDOUT: %specific_impl_fn.loc12_7.1: = specific_impl_function %impl.elem0.loc12_7.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.38c) [symbolic = %specific_impl_fn.loc12_7.3 (constants.%specific_impl_fn.c0a)] // CHECK:STDOUT: %bound_method.loc12_7.2: = bound_method %value.var, %specific_impl_fn.loc12_7.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc12_7.1: init %empty_tuple.type = call %bound_method.loc12_7.2(%value.var) // CHECK:STDOUT: return %Optional.Some.call to %return.param @@ -692,43 +692,43 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: %Core.ref.loc17_30: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Int.ref.loc17: %Int.type = name_ref Int, imports.%Core.Int [concrete = constants.%Int.generic] // CHECK:STDOUT: %N.ref.loc17: Core.IntLiteral = name_ref N, @IntRange.%N.loc4_17.2 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %Int.loc17: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc11_43.1 (constants.%Int.2b1d38.1)] -// CHECK:STDOUT: %OptionalStorage.facet.loc17: %OptionalStorage.type = facet_value %Int.loc17, (constants.%OptionalStorage.lookup_impl_witness.993) [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.ee4)] -// CHECK:STDOUT: %.loc17_41: %OptionalStorage.type = converted %Int.loc17, %OptionalStorage.facet.loc17 [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.ee4)] -// CHECK:STDOUT: %Optional.loc17: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.ee4) [symbolic = %Optional.loc11_75.1 (constants.%Optional.328)] -// CHECK:STDOUT: %.loc17_42: @IntRange.as.Iterate.impl.Next.%Optional.None.type (%Optional.None.type.c4d) = specific_constant imports.%Core.import_ref.4c6, @Optional(constants.%OptionalStorage.facet.ee4) [symbolic = %Optional.None (constants.%Optional.None.fb0)] -// CHECK:STDOUT: %None.ref: @IntRange.as.Iterate.impl.Next.%Optional.None.type (%Optional.None.type.c4d) = name_ref None, %.loc17_42 [symbolic = %Optional.None (constants.%Optional.None.fb0)] -// CHECK:STDOUT: %Optional.None.specific_fn.loc17_42.1: = specific_function %None.ref, @Optional.None(constants.%OptionalStorage.facet.ee4) [symbolic = %Optional.None.specific_fn.loc17_42.2 (constants.%Optional.None.specific_fn)] -// CHECK:STDOUT: %.loc11_75.2: ref @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.328) = splice_block %return.param {} -// CHECK:STDOUT: %Optional.None.call: init @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.328) to %.loc11_75.2 = call %Optional.None.specific_fn.loc17_42.1() -// CHECK:STDOUT: %impl.elem0.loc12_7.2: @IntRange.as.Iterate.impl.Next.%.loc12_7 (%.51e) = impl_witness_access constants.%Destroy.lookup_impl_witness.b3d, element0 [symbolic = %impl.elem0.loc12_7.3 (constants.%impl.elem0.f9f)] +// CHECK:STDOUT: %Int.loc17: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc11_43.1 (constants.%Int.2cc5f1.1)] +// CHECK:STDOUT: %OptionalStorage.facet.loc17: %OptionalStorage.type = facet_value %Int.loc17, (constants.%OptionalStorage.lookup_impl_witness.a55) [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.6e7)] +// CHECK:STDOUT: %.loc17_41: %OptionalStorage.type = converted %Int.loc17, %OptionalStorage.facet.loc17 [symbolic = %OptionalStorage.facet.loc11_75.1 (constants.%OptionalStorage.facet.6e7)] +// CHECK:STDOUT: %Optional.loc17: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.6e7) [symbolic = %Optional.loc11_75.1 (constants.%Optional.621)] +// CHECK:STDOUT: %.loc17_42: @IntRange.as.Iterate.impl.Next.%Optional.None.type (%Optional.None.type.0f7) = specific_constant imports.%Core.import_ref.3be, @Optional(constants.%OptionalStorage.facet.6e7) [symbolic = %Optional.None (constants.%Optional.None.aad)] +// CHECK:STDOUT: %None.ref: @IntRange.as.Iterate.impl.Next.%Optional.None.type (%Optional.None.type.0f7) = name_ref None, %.loc17_42 [symbolic = %Optional.None (constants.%Optional.None.aad)] +// CHECK:STDOUT: %Optional.None.specific_fn.loc17_42.1: = specific_function %None.ref, @Optional.None(constants.%OptionalStorage.facet.6e7) [symbolic = %Optional.None.specific_fn.loc17_42.2 (constants.%Optional.None.specific_fn)] +// CHECK:STDOUT: %.loc11_75.2: ref @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.621) = splice_block %return.param {} +// CHECK:STDOUT: %Optional.None.call: init @IntRange.as.Iterate.impl.Next.%Optional.loc11_75.1 (%Optional.621) to %.loc11_75.2 = call %Optional.None.specific_fn.loc17_42.1() +// CHECK:STDOUT: %impl.elem0.loc12_7.2: @IntRange.as.Iterate.impl.Next.%.loc12_7 (%.b6c) = impl_witness_access constants.%Destroy.lookup_impl_witness.c2c, element0 [symbolic = %impl.elem0.loc12_7.3 (constants.%impl.elem0.913)] // CHECK:STDOUT: %bound_method.loc12_7.3: = bound_method %value.var, %impl.elem0.loc12_7.2 -// CHECK:STDOUT: %specific_impl_fn.loc12_7.2: = specific_impl_function %impl.elem0.loc12_7.2, @Destroy.WithSelf.Op(constants.%Destroy.facet.161) [symbolic = %specific_impl_fn.loc12_7.3 (constants.%specific_impl_fn.097)] +// CHECK:STDOUT: %specific_impl_fn.loc12_7.2: = specific_impl_function %impl.elem0.loc12_7.2, @Destroy.WithSelf.Op(constants.%Destroy.facet.38c) [symbolic = %specific_impl_fn.loc12_7.3 (constants.%specific_impl_fn.c0a)] // CHECK:STDOUT: %bound_method.loc12_7.4: = bound_method %value.var, %specific_impl_fn.loc12_7.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc12_7.2: init %empty_tuple.type = call %bound_method.loc12_7.4(%value.var) // CHECK:STDOUT: return %Optional.None.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Range(%end.param: %i32) -> out %return.param: %IntRange.3e9 { +// CHECK:STDOUT: fn @Range(%end.param: %i32) -> out %return.param: %IntRange.c25 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %IntRange.ref.loc27: %IntRange.type = name_ref IntRange, file.%IntRange.decl [concrete = constants.%IntRange.generic] // CHECK:STDOUT: %int_32.loc27: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] -// CHECK:STDOUT: %IntRange.loc27: type = class_type @IntRange, @IntRange(constants.%int_32) [concrete = constants.%IntRange.3e9] -// CHECK:STDOUT: %.loc27_22: %IntRange.Make.type.47f = specific_constant @IntRange.%IntRange.Make.decl, @IntRange(constants.%int_32) [concrete = constants.%IntRange.Make.393] -// CHECK:STDOUT: %Make.ref: %IntRange.Make.type.47f = name_ref Make, %.loc27_22 [concrete = constants.%IntRange.Make.393] +// CHECK:STDOUT: %IntRange.loc27: type = class_type @IntRange, @IntRange(constants.%int_32) [concrete = constants.%IntRange.c25] +// CHECK:STDOUT: %.loc27_22: %IntRange.Make.type.6de = specific_constant @IntRange.%IntRange.Make.decl, @IntRange(constants.%int_32) [concrete = constants.%IntRange.Make.2b6] +// CHECK:STDOUT: %Make.ref: %IntRange.Make.type.6de = name_ref Make, %.loc27_22 [concrete = constants.%IntRange.Make.2b6] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %end.ref: %i32 = name_ref end, %end // CHECK:STDOUT: %IntRange.Make.specific_fn: = specific_function %Make.ref, @IntRange.Make(constants.%int_32) [concrete = constants.%IntRange.Make.specific_fn] -// CHECK:STDOUT: %.loc26_34.1: ref %IntRange.3e9 = splice_block %return.param {} -// CHECK:STDOUT: %impl.elem0: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %.loc26_34.1: ref %IntRange.c25 = splice_block %return.param {} +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc27_28.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc27_28.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc27_28.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc27_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc27_28.2: %i32 = converted %int_0, %.loc27_28.1 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %IntRange.Make.call: init %IntRange.3e9 to %.loc26_34.1 = call %IntRange.Make.specific_fn(%.loc27_28.2, %end.ref) +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc27_28.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc27_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc27_28.2: %i32 = converted %int_0, %.loc27_28.1 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %IntRange.Make.call: init %IntRange.c25 to %.loc26_34.1 = call %IntRange.Make.specific_fn(%.loc27_28.2, %end.ref) // CHECK:STDOUT: return %IntRange.Make.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: @@ -736,38 +736,38 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: %N.loc4_17.1 => constants.%N // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %IntRange.Make.type => constants.%IntRange.Make.type.068 -// CHECK:STDOUT: %IntRange.Make => constants.%IntRange.Make.5e7 -// CHECK:STDOUT: %Int => constants.%Int.2b1d38.1 -// CHECK:STDOUT: %require_complete => constants.%require_complete.c70ca9.1 -// CHECK:STDOUT: %IntRange => constants.%IntRange.58b -// CHECK:STDOUT: %IntRange.elem => constants.%IntRange.elem.5a3 -// CHECK:STDOUT: %struct_type.start.end => constants.%struct_type.start.end.b07 -// CHECK:STDOUT: %complete_type.loc24_1.2 => constants.%complete_type.540 +// CHECK:STDOUT: %IntRange.Make.type => constants.%IntRange.Make.type.500 +// CHECK:STDOUT: %IntRange.Make => constants.%IntRange.Make.d7d +// CHECK:STDOUT: %Int => constants.%Int.2cc5f1.1 +// CHECK:STDOUT: %require_complete => constants.%require_complete.692f79.1 +// CHECK:STDOUT: %IntRange => constants.%IntRange.6d0 +// CHECK:STDOUT: %IntRange.elem => constants.%IntRange.elem.19c +// CHECK:STDOUT: %struct_type.start.end => constants.%struct_type.start.end.d60 +// CHECK:STDOUT: %complete_type.loc24_1.2 => constants.%complete_type.b17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IntRange.Make(constants.%N) { // CHECK:STDOUT: %N => constants.%N -// CHECK:STDOUT: %Int.loc5_28.1 => constants.%Int.2b1d38.1 -// CHECK:STDOUT: %pattern_type.loc5_16 => constants.%pattern_type.a7b4a0.1 -// CHECK:STDOUT: %IntRange => constants.%IntRange.58b -// CHECK:STDOUT: %.loc5_52.1 => constants.%.2a3 -// CHECK:STDOUT: %pattern_type.loc5_52 => constants.%pattern_type.f0e +// CHECK:STDOUT: %Int.loc5_28.1 => constants.%Int.2cc5f1.1 +// CHECK:STDOUT: %pattern_type.loc5_16 => constants.%pattern_type.142972.1 +// CHECK:STDOUT: %IntRange => constants.%IntRange.6d0 +// CHECK:STDOUT: %.loc5_52.1 => constants.%.4e7 +// CHECK:STDOUT: %pattern_type.loc5_52 => constants.%pattern_type.255 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IntRange.as.Iterate.impl(constants.%N) { // CHECK:STDOUT: %N => constants.%N -// CHECK:STDOUT: %IntRange => constants.%IntRange.58b -// CHECK:STDOUT: %Int.loc9_54.1 => constants.%Int.2b1d38.1 -// CHECK:STDOUT: %.loc9_85.1 => constants.%.885 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%Destroy.lookup_impl_witness.b3d -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.1b4 +// CHECK:STDOUT: %IntRange => constants.%IntRange.6d0 +// CHECK:STDOUT: %Int.loc9_54.1 => constants.%Int.2cc5f1.1 +// CHECK:STDOUT: %.loc9_85.1 => constants.%.8a3 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%Destroy.lookup_impl_witness.c2c +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.f90 // CHECK:STDOUT: %facet_value.loc9_85.1 => constants.%facet_value // CHECK:STDOUT: %Iterate_where.type => constants.%Iterate_where.type // CHECK:STDOUT: %Iterate.impl_witness.loc9_87.2 => constants.%Iterate.impl_witness // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.34a +// CHECK:STDOUT: %require_complete => constants.%require_complete.720 // CHECK:STDOUT: %IntRange.as.Iterate.impl.NewCursor.type => constants.%IntRange.as.Iterate.impl.NewCursor.type // CHECK:STDOUT: %IntRange.as.Iterate.impl.NewCursor => constants.%IntRange.as.Iterate.impl.NewCursor // CHECK:STDOUT: %IntRange.as.Iterate.impl.Next.type => constants.%IntRange.as.Iterate.impl.Next.type @@ -776,63 +776,63 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: // CHECK:STDOUT: specific @IntRange.as.Iterate.impl.NewCursor(constants.%N) { // CHECK:STDOUT: %N => constants.%N -// CHECK:STDOUT: %IntRange => constants.%IntRange.58b -// CHECK:STDOUT: %pattern_type.loc10_22 => constants.%pattern_type.f0e -// CHECK:STDOUT: %Int.loc10_45.1 => constants.%Int.2b1d38.1 -// CHECK:STDOUT: %.loc10_45.1 => constants.%.2bb6b9.1 -// CHECK:STDOUT: %pattern_type.loc10_45 => constants.%pattern_type.a7b4a0.1 +// CHECK:STDOUT: %IntRange => constants.%IntRange.6d0 +// CHECK:STDOUT: %pattern_type.loc10_22 => constants.%pattern_type.255 +// CHECK:STDOUT: %Int.loc10_45.1 => constants.%Int.2cc5f1.1 +// CHECK:STDOUT: %.loc10_45.1 => constants.%.245fba.1 +// CHECK:STDOUT: %pattern_type.loc10_45 => constants.%pattern_type.142972.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IntRange.as.Iterate.impl.Next(constants.%N) { // CHECK:STDOUT: %N => constants.%N -// CHECK:STDOUT: %IntRange => constants.%IntRange.58b -// CHECK:STDOUT: %pattern_type.loc11_17 => constants.%pattern_type.f0e -// CHECK:STDOUT: %Int.loc11_43.1 => constants.%Int.2b1d38.1 -// CHECK:STDOUT: %ptr.loc11_44.1 => constants.%ptr.6b5 -// CHECK:STDOUT: %pattern_type.loc11_31 => constants.%pattern_type.720 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%Destroy.lookup_impl_witness.b3d -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.1b4 +// CHECK:STDOUT: %IntRange => constants.%IntRange.6d0 +// CHECK:STDOUT: %pattern_type.loc11_17 => constants.%pattern_type.255 +// CHECK:STDOUT: %Int.loc11_43.1 => constants.%Int.2cc5f1.1 +// CHECK:STDOUT: %ptr.loc11_44.1 => constants.%ptr.f8f +// CHECK:STDOUT: %pattern_type.loc11_31 => constants.%pattern_type.fa7 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%Destroy.lookup_impl_witness.c2c +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.f90 // CHECK:STDOUT: %facet_value => constants.%facet_value -// CHECK:STDOUT: %.loc11_75.3 => constants.%.4d8 -// CHECK:STDOUT: %OptionalStorage.lookup_impl_witness => constants.%OptionalStorage.lookup_impl_witness.993 -// CHECK:STDOUT: %OptionalStorage.facet.loc11_75.1 => constants.%OptionalStorage.facet.ee4 -// CHECK:STDOUT: %Optional.loc11_75.1 => constants.%Optional.328 -// CHECK:STDOUT: %.loc11_75.4 => constants.%.65a -// CHECK:STDOUT: %pattern_type.loc11_75 => constants.%pattern_type.faf +// CHECK:STDOUT: %.loc11_75.3 => constants.%.a8e +// CHECK:STDOUT: %OptionalStorage.lookup_impl_witness => constants.%OptionalStorage.lookup_impl_witness.a55 +// CHECK:STDOUT: %OptionalStorage.facet.loc11_75.1 => constants.%OptionalStorage.facet.6e7 +// CHECK:STDOUT: %Optional.loc11_75.1 => constants.%Optional.621 +// CHECK:STDOUT: %.loc11_75.4 => constants.%.222 +// CHECK:STDOUT: %pattern_type.loc11_75 => constants.%pattern_type.16e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IntRange(constants.%int_32) { // CHECK:STDOUT: %N.loc4_17.1 => constants.%int_32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %IntRange.Make.type => constants.%IntRange.Make.type.47f -// CHECK:STDOUT: %IntRange.Make => constants.%IntRange.Make.393 +// CHECK:STDOUT: %IntRange.Make.type => constants.%IntRange.Make.type.6de +// CHECK:STDOUT: %IntRange.Make => constants.%IntRange.Make.2b6 // CHECK:STDOUT: %Int => constants.%i32 // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %IntRange => constants.%IntRange.3e9 -// CHECK:STDOUT: %IntRange.elem => constants.%IntRange.elem.8fa -// CHECK:STDOUT: %struct_type.start.end => constants.%struct_type.start.end.294 -// CHECK:STDOUT: %complete_type.loc24_1.2 => constants.%complete_type.e52 +// CHECK:STDOUT: %IntRange => constants.%IntRange.c25 +// CHECK:STDOUT: %IntRange.elem => constants.%IntRange.elem.aeb +// CHECK:STDOUT: %struct_type.start.end => constants.%struct_type.start.end.ace +// CHECK:STDOUT: %complete_type.loc24_1.2 => constants.%complete_type.0a3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IntRange.Make(constants.%int_32) { // CHECK:STDOUT: %N => constants.%int_32 // CHECK:STDOUT: %Int.loc5_28.1 => constants.%i32 -// CHECK:STDOUT: %pattern_type.loc5_16 => constants.%pattern_type.c6b -// CHECK:STDOUT: %IntRange => constants.%IntRange.3e9 -// CHECK:STDOUT: %.loc5_52.1 => constants.%.260 -// CHECK:STDOUT: %pattern_type.loc5_52 => constants.%pattern_type.26e +// CHECK:STDOUT: %pattern_type.loc5_16 => constants.%pattern_type.104 +// CHECK:STDOUT: %IntRange => constants.%IntRange.c25 +// CHECK:STDOUT: %.loc5_52.1 => constants.%.fdc +// CHECK:STDOUT: %pattern_type.loc5_52 => constants.%pattern_type.ea5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc5_16 => constants.%complete_type.f8a -// CHECK:STDOUT: %require_complete.loc5_49 => constants.%complete_type.e52 -// CHECK:STDOUT: %struct_type.start.end => constants.%struct_type.start.end.294 -// CHECK:STDOUT: %.loc6_22.1 => constants.%.100 -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.ab4 -// CHECK:STDOUT: %Copy.facet => constants.%Copy.facet.62a -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.e27 -// CHECK:STDOUT: %.loc6_22.2 => constants.%.98b -// CHECK:STDOUT: %impl.elem0.loc6_22.2 => constants.%Int.as.Copy.impl.Op.c4a +// CHECK:STDOUT: %require_complete.loc5_49 => constants.%complete_type.0a3 +// CHECK:STDOUT: %struct_type.start.end => constants.%struct_type.start.end.ace +// CHECK:STDOUT: %.loc6_22.1 => constants.%.9ea +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.1a4 +// CHECK:STDOUT: %Copy.facet => constants.%Copy.facet.14d +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.7e2 +// CHECK:STDOUT: %.loc6_22.2 => constants.%.604 +// CHECK:STDOUT: %impl.elem0.loc6_22.2 => constants.%Int.as.Copy.impl.Op.ce7 // CHECK:STDOUT: %specific_impl_fn.loc6_22.2 => constants.%Int.as.Copy.impl.Op.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: @@ -851,64 +851,64 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: %IntRange.type: type = generic_class_type @IntRange [concrete] // CHECK:STDOUT: %IntRange.generic: %IntRange.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %Int.606ab1.1: type = class_type @Int, @Int(%N) [symbolic] -// CHECK:STDOUT: %struct_type.start.end.85b: type = struct_type {.start: %Int.606ab1.1, .end: %Int.606ab1.1} [symbolic] -// CHECK:STDOUT: %complete_type.426: = complete_type_witness %struct_type.start.end.85b [symbolic] -// CHECK:STDOUT: %IntRange.f99: type = class_type @IntRange, @IntRange(%N) [symbolic] -// CHECK:STDOUT: %IntRange.elem.30a: type = unbound_element_type %IntRange.f99, %Int.606ab1.1 [symbolic] -// CHECK:STDOUT: %require_complete.5fe769.1: = require_complete_type %Int.606ab1.1 [symbolic] -// CHECK:STDOUT: %IntRange.Make.type.1f1: type = fn_type @IntRange.Make, @IntRange(%N) [symbolic] -// CHECK:STDOUT: %IntRange.Make.ece: %IntRange.Make.type.1f1 = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.772: type = pattern_type %IntRange.f99 [symbolic] -// CHECK:STDOUT: %.4ac: Core.Form = init_form %IntRange.f99 [symbolic] -// CHECK:STDOUT: %pattern_type.18a61e.1: type = pattern_type %Int.606ab1.1 [symbolic] +// CHECK:STDOUT: %Int.3115b2.1: type = class_type @Int, @Int(%N) [symbolic] +// CHECK:STDOUT: %struct_type.start.end.6fa: type = struct_type {.start: %Int.3115b2.1, .end: %Int.3115b2.1} [symbolic] +// CHECK:STDOUT: %complete_type.eec: = complete_type_witness %struct_type.start.end.6fa [symbolic] +// CHECK:STDOUT: %IntRange.6d0: type = class_type @IntRange, @IntRange(%N) [symbolic] +// CHECK:STDOUT: %IntRange.elem.ba5: type = unbound_element_type %IntRange.6d0, %Int.3115b2.1 [symbolic] +// CHECK:STDOUT: %require_complete.a3d1cc.1: = require_complete_type %Int.3115b2.1 [symbolic] +// CHECK:STDOUT: %IntRange.Make.type.500: type = fn_type @IntRange.Make, @IntRange(%N) [symbolic] +// CHECK:STDOUT: %IntRange.Make.d7d: %IntRange.Make.type.500 = struct_value () [symbolic] +// CHECK:STDOUT: %pattern_type.255: type = pattern_type %IntRange.6d0 [symbolic] +// CHECK:STDOUT: %.4e7: Core.Form = init_form %IntRange.6d0 [symbolic] +// CHECK:STDOUT: %pattern_type.0c3b75.1: type = pattern_type %Int.3115b2.1 [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.lookup_impl_witness.aaf: = lookup_impl_witness %Int.606ab1.1, @Copy [symbolic] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Int.606ab1.1, (%Copy.lookup_impl_witness.aaf) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.673: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] -// CHECK:STDOUT: %.589: type = fn_type_with_self_type %Copy.WithSelf.Op.type.673, %Copy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.c32: %.589 = impl_witness_access %Copy.lookup_impl_witness.aaf, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.f54: = specific_impl_function %impl.elem0.c32, @Copy.WithSelf.Op(%Copy.facet) [symbolic] -// CHECK:STDOUT: %.ffc: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %require_complete.832: = require_complete_type %IntRange.f99 [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.aa4: = lookup_impl_witness %Int.3115b2.1, @Copy [symbolic] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Int.3115b2.1, (%Copy.lookup_impl_witness.aa4) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7cb: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] +// CHECK:STDOUT: %.84c: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7cb, %Copy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.c43: %.84c = impl_witness_access %Copy.lookup_impl_witness.aa4, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.ef9: = specific_impl_function %impl.elem0.c43, @Copy.WithSelf.Op(%Copy.facet) [symbolic] +// CHECK:STDOUT: %.def: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %require_complete.f50: = require_complete_type %IntRange.6d0 [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %IntRange.e8b: type = class_type @IntRange, @IntRange(%int_32) [concrete] -// CHECK:STDOUT: %IntRange.Make.type.40a: type = fn_type @IntRange.Make, @IntRange(%int_32) [concrete] -// CHECK:STDOUT: %IntRange.Make.94c: %IntRange.Make.type.40a = struct_value () [concrete] +// CHECK:STDOUT: %IntRange.c25: type = class_type @IntRange, @IntRange(%int_32) [concrete] +// CHECK:STDOUT: %IntRange.Make.type.6de: type = fn_type @IntRange.Make, @IntRange(%int_32) [concrete] +// CHECK:STDOUT: %IntRange.Make.2b6: %IntRange.Make.type.6de = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %IntRange.elem.5fc: type = unbound_element_type %IntRange.e8b, %i32 [concrete] -// CHECK:STDOUT: %struct_type.start.end.c18: type = struct_type {.start: %i32, .end: %i32} [concrete] -// CHECK:STDOUT: %complete_type.d17: = complete_type_witness %struct_type.start.end.c18 [concrete] -// CHECK:STDOUT: %pattern_type.826: type = pattern_type %IntRange.e8b [concrete] +// CHECK:STDOUT: %IntRange.elem.9da: type = unbound_element_type %IntRange.c25, %i32 [concrete] +// CHECK:STDOUT: %struct_type.start.end.1be: type = struct_type {.start: %i32, .end: %i32} [concrete] +// CHECK:STDOUT: %complete_type.e14: = complete_type_witness %struct_type.start.end.1be [concrete] +// CHECK:STDOUT: %pattern_type.ea5: type = pattern_type %IntRange.c25 [concrete] // CHECK:STDOUT: %Range.type: type = fn_type @Range [concrete] // CHECK:STDOUT: %Range: %Range.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.56e: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.cf3: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.768: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.1d6: = impl_witness imports.%ImplicitAs.impl_witness_table.454, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.108: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.924: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.108 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.56e = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.1d6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.de9: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.de9, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %y, %Core.IntLiteral.as.ImplicitAs.impl.Convert.924 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.924, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.cd7: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e84: = impl_witness imports.%ImplicitAs.impl_witness_table.fca, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.104: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.785: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.104 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.cf3 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e84) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b79: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.56d: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b79, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %y, %Core.IntLiteral.as.ImplicitAs.impl.Convert.785 [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.785, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %y, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [symbolic] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method(%y) [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc5_3.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc5_3.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.IntRange: %IntRange.type = import_ref Main//lib, IntRange, loaded [concrete = constants.%IntRange.generic] // CHECK:STDOUT: %Main.Range: %Range.type = import_ref Main//lib, Range, loaded [concrete = constants.%Range] -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .IntLiteral = %Core.IntLiteral // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: .Destroy = %Core.Destroy @@ -917,15 +917,15 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.IntLiteral: %IntLiteral.type = import_ref Core//prelude/types/int_literal, IntLiteral, loaded [concrete = constants.%IntLiteral] // CHECK:STDOUT: %Main.import_ref.6b552a.1: Core.IntLiteral = import_ref Main//lib, loc4_17, loaded [symbolic = @IntRange.%N (constants.%N)] -// CHECK:STDOUT: %Main.import_ref.a3e: = import_ref Main//lib, loc24_1, loaded [symbolic = @IntRange.%complete_type (constants.%complete_type.426)] -// CHECK:STDOUT: %Main.import_ref.bea = import_ref Main//lib, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.3d6 = import_ref Main//lib, loc5_57, unloaded -// CHECK:STDOUT: %Main.import_ref.898 = import_ref Main//lib, loc22_20, unloaded -// CHECK:STDOUT: %Main.import_ref.b04 = import_ref Main//lib, loc23_18, unloaded +// CHECK:STDOUT: %Main.import_ref.33d: = import_ref Main//lib, loc24_1, loaded [symbolic = @IntRange.%complete_type (constants.%complete_type.eec)] +// CHECK:STDOUT: %Main.import_ref.008 = import_ref Main//lib, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.7da = import_ref Main//lib, loc5_57, unloaded +// CHECK:STDOUT: %Main.import_ref.4c8 = import_ref Main//lib, loc22_20, unloaded +// CHECK:STDOUT: %Main.import_ref.acd = import_ref Main//lib, loc23_18, unloaded // CHECK:STDOUT: %Main.import_ref.6b552a.2: Core.IntLiteral = import_ref Main//lib, loc4_17, loaded [symbolic = @IntRange.%N (constants.%N)] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.347: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.768)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.454 = impl_witness_table (%Core.import_ref.347), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.4e597: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.cd7)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.fca = impl_witness_table (%Core.import_ref.4e597), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -933,7 +933,7 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .IntRange = imports.%Main.IntRange // CHECK:STDOUT: .Range = imports.%Main.Range -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .Read = %Read.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core @@ -943,7 +943,7 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_29.1: type = splice_block %.loc4_29.3 [concrete = Core.IntLiteral] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core.b38 [concrete = imports.%Core.b38] +// CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core.979 [concrete = imports.%Core.979] // CHECK:STDOUT: %IntLiteral.ref: %IntLiteral.type = name_ref IntLiteral, imports.%Core.IntLiteral [concrete = constants.%IntLiteral] // CHECK:STDOUT: %IntLiteral.call: init type = call %IntLiteral.ref() [concrete = Core.IntLiteral] // CHECK:STDOUT: %.loc4_29.2: type = value_of_initializer %IntLiteral.call [concrete = Core.IntLiteral] @@ -957,23 +957,23 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N (constants.%N)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %IntRange.Make.type: type = fn_type @IntRange.Make, @IntRange(%N) [symbolic = %IntRange.Make.type (constants.%IntRange.Make.type.1f1)] -// CHECK:STDOUT: %IntRange.Make: @IntRange.%IntRange.Make.type (%IntRange.Make.type.1f1) = struct_value () [symbolic = %IntRange.Make (constants.%IntRange.Make.ece)] -// CHECK:STDOUT: %Int: type = class_type @Int, @Int(%N) [symbolic = %Int (constants.%Int.606ab1.1)] -// CHECK:STDOUT: %require_complete: = require_complete_type %Int [symbolic = %require_complete (constants.%require_complete.5fe769.1)] -// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N) [symbolic = %IntRange (constants.%IntRange.f99)] -// CHECK:STDOUT: %IntRange.elem: type = unbound_element_type %IntRange, %Int [symbolic = %IntRange.elem (constants.%IntRange.elem.30a)] -// CHECK:STDOUT: %struct_type.start.end: type = struct_type {.start: @IntRange.%Int (%Int.606ab1.1), .end: @IntRange.%Int (%Int.606ab1.1)} [symbolic = %struct_type.start.end (constants.%struct_type.start.end.85b)] -// CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.start.end [symbolic = %complete_type (constants.%complete_type.426)] +// CHECK:STDOUT: %IntRange.Make.type: type = fn_type @IntRange.Make, @IntRange(%N) [symbolic = %IntRange.Make.type (constants.%IntRange.Make.type.500)] +// CHECK:STDOUT: %IntRange.Make: @IntRange.%IntRange.Make.type (%IntRange.Make.type.500) = struct_value () [symbolic = %IntRange.Make (constants.%IntRange.Make.d7d)] +// CHECK:STDOUT: %Int: type = class_type @Int, @Int(%N) [symbolic = %Int (constants.%Int.3115b2.1)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Int [symbolic = %require_complete (constants.%require_complete.a3d1cc.1)] +// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N) [symbolic = %IntRange (constants.%IntRange.6d0)] +// CHECK:STDOUT: %IntRange.elem: type = unbound_element_type %IntRange, %Int [symbolic = %IntRange.elem (constants.%IntRange.elem.ba5)] +// CHECK:STDOUT: %struct_type.start.end: type = struct_type {.start: @IntRange.%Int (%Int.3115b2.1), .end: @IntRange.%Int (%Int.3115b2.1)} [symbolic = %struct_type.start.end (constants.%struct_type.start.end.6fa)] +// CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.start.end [symbolic = %complete_type (constants.%complete_type.eec)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.a3e +// CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.33d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.bea -// CHECK:STDOUT: .Make = imports.%Main.import_ref.3d6 -// CHECK:STDOUT: .start [private] = imports.%Main.import_ref.898 -// CHECK:STDOUT: .end [private] = imports.%Main.import_ref.b04 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.008 +// CHECK:STDOUT: .Make = imports.%Main.import_ref.7da +// CHECK:STDOUT: .start [private] = imports.%Main.import_ref.4c8 +// CHECK:STDOUT: .end [private] = imports.%Main.import_ref.acd // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -981,36 +981,36 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: %y.loc4_10.1: Core.IntLiteral = symbolic_binding y, 0 [symbolic = %y.loc4_10.1 (constants.%y)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %y.loc4_10.1, constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.924 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound)] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %y.loc4_10.1, constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.785 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound)] // CHECK:STDOUT: %bound_method.loc5_38.3: = bound_method %y.loc4_10.1, constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [symbolic = %bound_method.loc5_38.3 (constants.%bound_method)] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_38.2: init %i32 = call %bound_method.loc5_38.3(%y.loc4_10.1) [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_38.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.826 = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.826 = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.ea5 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.ea5 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %x.var: ref %IntRange.e8b = var %x.var_patt +// CHECK:STDOUT: %x.var: ref %IntRange.c25 = var %x.var_patt // CHECK:STDOUT: %Range.ref: %Range.type = name_ref Range, imports.%Main.Range [concrete = constants.%Range] // CHECK:STDOUT: %y.ref: Core.IntLiteral = name_ref y, %y.loc4_10.2 [symbolic = %y.loc4_10.1 (constants.%y)] -// CHECK:STDOUT: %.loc5_3: ref %IntRange.e8b = splice_block %x.var {} -// CHECK:STDOUT: %impl.elem0: %.948 = impl_witness_access constants.%ImplicitAs.impl_witness.1d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.924] +// CHECK:STDOUT: %.loc5_3: ref %IntRange.c25 = splice_block %x.var {} +// CHECK:STDOUT: %impl.elem0: %.56d = impl_witness_access constants.%ImplicitAs.impl_witness.e84, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.785] // CHECK:STDOUT: %bound_method.loc5_38.1: = bound_method %y.ref, %impl.elem0 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound)] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc5_38.2: = bound_method %y.ref, %specific_fn [symbolic = %bound_method.loc5_38.3 (constants.%bound_method)] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_38.1: init %i32 = call %bound_method.loc5_38.2(%y.ref) [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_38.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: %.loc5_38.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_38.1 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_38.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: %.loc5_38.2: %i32 = converted %y.ref, %.loc5_38.1 [symbolic = %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc5_38.2 (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.call)] -// CHECK:STDOUT: %Range.call: init %IntRange.e8b to %.loc5_3 = call %Range.ref(%.loc5_38.2) +// CHECK:STDOUT: %Range.call: init %IntRange.c25 to %.loc5_3 = call %Range.ref(%.loc5_38.2) // CHECK:STDOUT: assign %x.var, %Range.call -// CHECK:STDOUT: %.loc5_28: type = splice_block %IntRange [concrete = constants.%IntRange.e8b] { +// CHECK:STDOUT: %.loc5_28: type = splice_block %IntRange [concrete = constants.%IntRange.c25] { // CHECK:STDOUT: %IntRange.ref: %IntRange.type = name_ref IntRange, imports.%Main.IntRange [concrete = constants.%IntRange.generic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] -// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(constants.%int_32) [concrete = constants.%IntRange.e8b] +// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(constants.%int_32) [concrete = constants.%IntRange.c25] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: ref %IntRange.e8b = ref_binding x, %x.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %x: ref %IntRange.c25 = ref_binding x, %x.var +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1018,23 +1018,23 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @IntRange.Make(imports.%Main.import_ref.6b552a.1: Core.IntLiteral) [from "lib.carbon"] { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %Int: type = class_type @Int, @Int(%N) [symbolic = %Int (constants.%Int.606ab1.1)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Int [symbolic = %pattern_type.1 (constants.%pattern_type.18a61e.1)] -// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N) [symbolic = %IntRange (constants.%IntRange.f99)] -// CHECK:STDOUT: %.1: Core.Form = init_form %IntRange [symbolic = %.1 (constants.%.4ac)] -// CHECK:STDOUT: %pattern_type.2: type = pattern_type %IntRange [symbolic = %pattern_type.2 (constants.%pattern_type.772)] +// CHECK:STDOUT: %Int: type = class_type @Int, @Int(%N) [symbolic = %Int (constants.%Int.3115b2.1)] +// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Int [symbolic = %pattern_type.1 (constants.%pattern_type.0c3b75.1)] +// CHECK:STDOUT: %IntRange: type = class_type @IntRange, @IntRange(%N) [symbolic = %IntRange (constants.%IntRange.6d0)] +// CHECK:STDOUT: %.1: Core.Form = init_form %IntRange [symbolic = %.1 (constants.%.4e7)] +// CHECK:STDOUT: %pattern_type.2: type = pattern_type %IntRange [symbolic = %pattern_type.2 (constants.%pattern_type.255)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.1: = require_complete_type %Int [symbolic = %require_complete.1 (constants.%require_complete.5fe769.1)] -// CHECK:STDOUT: %require_complete.2: = require_complete_type %IntRange [symbolic = %require_complete.2 (constants.%require_complete.832)] -// CHECK:STDOUT: %struct_type.start.end: type = struct_type {.start: @IntRange.Make.%Int (%Int.606ab1.1), .end: @IntRange.Make.%Int (%Int.606ab1.1)} [symbolic = %struct_type.start.end (constants.%struct_type.start.end.85b)] -// CHECK:STDOUT: %.2: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic = %.2 (constants.%.ffc)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %Int, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.aaf)] +// CHECK:STDOUT: %require_complete.1: = require_complete_type %Int [symbolic = %require_complete.1 (constants.%require_complete.a3d1cc.1)] +// CHECK:STDOUT: %require_complete.2: = require_complete_type %IntRange [symbolic = %require_complete.2 (constants.%require_complete.f50)] +// CHECK:STDOUT: %struct_type.start.end: type = struct_type {.start: @IntRange.Make.%Int (%Int.3115b2.1), .end: @IntRange.Make.%Int (%Int.3115b2.1)} [symbolic = %struct_type.start.end (constants.%struct_type.start.end.6fa)] +// CHECK:STDOUT: %.2: require_specific_def_type = require_specific_def @Int.as.Copy.impl(%N) [symbolic = %.2 (constants.%.def)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %Int, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.aa4)] // CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Int, (%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.673)] -// CHECK:STDOUT: %.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.3 (constants.%.589)] -// CHECK:STDOUT: %impl.elem0: @IntRange.Make.%.3 (%.589) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0.c32)] -// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn (constants.%specific_impl_fn.f54)] +// 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.7cb)] +// CHECK:STDOUT: %.3: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.3 (constants.%.84c)] +// CHECK:STDOUT: %impl.elem0: @IntRange.Make.%.3 (%.84c) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0.c43)] +// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn (constants.%specific_impl_fn.ef9)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -1048,12 +1048,12 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc5_3.3(%self.param: ref %struct_type.start.end.c18) { +// CHECK:STDOUT: fn @Destroy.Op.loc5_3.3(%self.param: ref %struct_type.start.end.1be) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc5_3.4(%self.param: ref %IntRange.e8b) { +// CHECK:STDOUT: fn @Destroy.Op.loc5_3.4(%self.param: ref %IntRange.c25) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1066,36 +1066,36 @@ fn Read(y:! Core.IntLiteral()) { // CHECK:STDOUT: %N => constants.%N // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %IntRange.Make.type => constants.%IntRange.Make.type.1f1 -// CHECK:STDOUT: %IntRange.Make => constants.%IntRange.Make.ece -// CHECK:STDOUT: %Int => constants.%Int.606ab1.1 -// CHECK:STDOUT: %require_complete => constants.%require_complete.5fe769.1 -// CHECK:STDOUT: %IntRange => constants.%IntRange.f99 -// CHECK:STDOUT: %IntRange.elem => constants.%IntRange.elem.30a -// CHECK:STDOUT: %struct_type.start.end => constants.%struct_type.start.end.85b -// CHECK:STDOUT: %complete_type => constants.%complete_type.426 +// CHECK:STDOUT: %IntRange.Make.type => constants.%IntRange.Make.type.500 +// CHECK:STDOUT: %IntRange.Make => constants.%IntRange.Make.d7d +// CHECK:STDOUT: %Int => constants.%Int.3115b2.1 +// CHECK:STDOUT: %require_complete => constants.%require_complete.a3d1cc.1 +// CHECK:STDOUT: %IntRange => constants.%IntRange.6d0 +// CHECK:STDOUT: %IntRange.elem => constants.%IntRange.elem.ba5 +// CHECK:STDOUT: %struct_type.start.end => constants.%struct_type.start.end.6fa +// CHECK:STDOUT: %complete_type => constants.%complete_type.eec // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IntRange.Make(constants.%N) { // CHECK:STDOUT: %N => constants.%N -// CHECK:STDOUT: %Int => constants.%Int.606ab1.1 -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.18a61e.1 -// CHECK:STDOUT: %IntRange => constants.%IntRange.f99 -// CHECK:STDOUT: %.1 => constants.%.4ac -// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.772 +// CHECK:STDOUT: %Int => constants.%Int.3115b2.1 +// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.0c3b75.1 +// CHECK:STDOUT: %IntRange => constants.%IntRange.6d0 +// CHECK:STDOUT: %.1 => constants.%.4e7 +// CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.255 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IntRange(constants.%int_32) { // CHECK:STDOUT: %N => constants.%int_32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %IntRange.Make.type => constants.%IntRange.Make.type.40a -// CHECK:STDOUT: %IntRange.Make => constants.%IntRange.Make.94c +// CHECK:STDOUT: %IntRange.Make.type => constants.%IntRange.Make.type.6de +// CHECK:STDOUT: %IntRange.Make => constants.%IntRange.Make.2b6 // CHECK:STDOUT: %Int => constants.%i32 // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %IntRange => constants.%IntRange.e8b -// CHECK:STDOUT: %IntRange.elem => constants.%IntRange.elem.5fc -// CHECK:STDOUT: %struct_type.start.end => constants.%struct_type.start.end.c18 -// CHECK:STDOUT: %complete_type => constants.%complete_type.d17 +// CHECK:STDOUT: %IntRange => constants.%IntRange.c25 +// CHECK:STDOUT: %IntRange.elem => constants.%IntRange.elem.9da +// CHECK:STDOUT: %struct_type.start.end => constants.%struct_type.start.end.1be +// CHECK:STDOUT: %complete_type => constants.%complete_type.e14 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/for/basic.carbon b/toolchain/check/testdata/for/basic.carbon index fb77894ec445..884732bc120f 100644 --- a/toolchain/check/testdata/for/basic.carbon +++ b/toolchain/check/testdata/for/basic.carbon @@ -60,32 +60,32 @@ fn Run() { // CHECK:STDOUT: %Iterate.type: type = facet_type <@Iterate> [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Optional.Get.type.504: type = fn_type @Optional.Get, @Optional(%T.228) [symbolic] -// CHECK:STDOUT: %Optional.Get.a00: %Optional.Get.type.504 = struct_value () [symbolic] -// CHECK:STDOUT: %Optional.HasValue.type.b12: type = fn_type @Optional.HasValue, @Optional(%T.228) [symbolic] -// CHECK:STDOUT: %Optional.HasValue.ec1: %Optional.HasValue.type.b12 = struct_value () [symbolic] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Optional.Get.type.f9d: type = fn_type @Optional.Get, @Optional(%T.f49) [symbolic] +// CHECK:STDOUT: %Optional.Get.09b: %Optional.Get.type.f9d = struct_value () [symbolic] +// CHECK:STDOUT: %Optional.HasValue.type.2b3: type = fn_type @Optional.HasValue, @Optional(%T.f49) [symbolic] +// CHECK:STDOUT: %Optional.HasValue.fed: %Optional.HasValue.type.2b3 = struct_value () [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %Copy.impl_witness.d74: = impl_witness imports.%Copy.impl_witness_table.a75 [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %empty_tuple.type, (%Copy.impl_witness.d74) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.9a4: = impl_witness imports.%Copy.impl_witness_table.bfa [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %empty_tuple.type, (%Copy.impl_witness.9a4) [concrete] // CHECK:STDOUT: %Iterate.impl_witness: = impl_witness @TrivialRange.as.Iterate.impl.%Iterate.impl_witness_table [concrete] -// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.type.dcabc5.1: type = fn_type @TrivialRange.as.Iterate.impl.NewCursor.loc6_39.1 [concrete] -// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.656b2c.1: %TrivialRange.as.Iterate.impl.NewCursor.type.dcabc5.1 = struct_value () [concrete] +// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.type.d8a5e3.1: type = fn_type @TrivialRange.as.Iterate.impl.NewCursor.loc6_39.1 [concrete] +// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.bf18e5.1: %TrivialRange.as.Iterate.impl.NewCursor.type.d8a5e3.1 = struct_value () [concrete] // CHECK:STDOUT: %ptr.843: type = ptr_type %empty_tuple.type [concrete] -// CHECK:STDOUT: %Optional.e64: type = class_type @Optional, @Optional(%Copy.facet) [concrete] +// CHECK:STDOUT: %Optional.23a: type = class_type @Optional, @Optional(%Copy.facet) [concrete] // CHECK:STDOUT: %TrivialRange.as.Iterate.impl.Next.type: type = fn_type @TrivialRange.as.Iterate.impl.Next [concrete] // CHECK:STDOUT: %TrivialRange.as.Iterate.impl.Next: %TrivialRange.as.Iterate.impl.Next.type = struct_value () [concrete] // CHECK:STDOUT: %Iterate.facet: %Iterate.type = facet_value %TrivialRange, (%Iterate.impl_witness) [concrete] -// CHECK:STDOUT: %Iterate.WithSelf.NewCursor.type.bdf: type = fn_type @Iterate.WithSelf.NewCursor, @Iterate.WithSelf(%Iterate.facet) [concrete] -// CHECK:STDOUT: %Iterate.WithSelf.Next.type.217: type = fn_type @Iterate.WithSelf.Next, @Iterate.WithSelf(%Iterate.facet) [concrete] +// CHECK:STDOUT: %Iterate.WithSelf.NewCursor.type.adc: type = fn_type @Iterate.WithSelf.NewCursor, @Iterate.WithSelf(%Iterate.facet) [concrete] +// CHECK:STDOUT: %Iterate.WithSelf.Next.type.045: type = fn_type @Iterate.WithSelf.Next, @Iterate.WithSelf(%Iterate.facet) [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] -// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.type.dcabc5.2: type = fn_type @TrivialRange.as.Iterate.impl.NewCursor.loc6_39.2 [concrete] -// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.656b2c.2: %TrivialRange.as.Iterate.impl.NewCursor.type.dcabc5.2 = struct_value () [concrete] +// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.type.d8a5e3.2: type = fn_type @TrivialRange.as.Iterate.impl.NewCursor.loc6_39.2 [concrete] +// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.bf18e5.2: %TrivialRange.as.Iterate.impl.NewCursor.type.d8a5e3.2 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %Optional.HasValue.type.d6e: type = fn_type @Optional.HasValue, @Optional(%Copy.facet) [concrete] -// CHECK:STDOUT: %Optional.HasValue.927: %Optional.HasValue.type.d6e = struct_value () [concrete] -// CHECK:STDOUT: %Optional.Get.type.da1: type = fn_type @Optional.Get, @Optional(%Copy.facet) [concrete] -// CHECK:STDOUT: %Optional.Get.9f3: %Optional.Get.type.da1 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.HasValue.type.952: type = fn_type @Optional.HasValue, @Optional(%Copy.facet) [concrete] +// CHECK:STDOUT: %Optional.HasValue.c0d: %Optional.HasValue.type.952 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.Get.type.28b: type = fn_type @Optional.Get, @Optional(%Copy.facet) [concrete] +// CHECK:STDOUT: %Optional.Get.7e1: %Optional.Get.type.28b = struct_value () [concrete] // CHECK:STDOUT: %struct_type.has_value.value.da2: type = struct_type {.has_value: bool, .value: %empty_tuple.type} [concrete] // CHECK:STDOUT: %Body.type: type = fn_type @Body [concrete] // CHECK:STDOUT: %Body: %Body.type = struct_value () [concrete] @@ -93,30 +93,30 @@ fn Run() { // CHECK:STDOUT: %AfterLoop: %AfterLoop.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %TrivialRange.val: %TrivialRange = struct_value () [concrete] -// CHECK:STDOUT: %.f17: ref %TrivialRange = temporary invalid, %TrivialRange.val [concrete] -// CHECK:STDOUT: %.62d: type = fn_type_with_self_type %Iterate.WithSelf.NewCursor.type.bdf, %Iterate.facet [concrete] -// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.bound.998: = bound_method %.f17, %TrivialRange.as.Iterate.impl.NewCursor.656b2c.2 [concrete] -// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.bound.fcf: = bound_method %TrivialRange.val, %TrivialRange.as.Iterate.impl.NewCursor.656b2c.1 [concrete] -// CHECK:STDOUT: %.5e2: type = fn_type_with_self_type %Iterate.WithSelf.Next.type.217, %Iterate.facet [concrete] -// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.Next.bound: = bound_method %.f17, %TrivialRange.as.Iterate.impl.Next [concrete] -// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %Optional.HasValue.927, @Optional.HasValue(%Copy.facet) [concrete] -// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Optional.Get.9f3, @Optional.Get(%Copy.facet) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc18_35.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc18_35.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc18_20.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.f17, %Destroy.Op.1dc86d.6 [concrete] +// CHECK:STDOUT: %.8ab: ref %TrivialRange = temporary invalid, %TrivialRange.val [concrete] +// CHECK:STDOUT: %.c0f: type = fn_type_with_self_type %Iterate.WithSelf.NewCursor.type.adc, %Iterate.facet [concrete] +// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.bound.da2: = bound_method %.8ab, %TrivialRange.as.Iterate.impl.NewCursor.bf18e5.2 [concrete] +// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.bound.862: = bound_method %TrivialRange.val, %TrivialRange.as.Iterate.impl.NewCursor.bf18e5.1 [concrete] +// CHECK:STDOUT: %.c28: type = fn_type_with_self_type %Iterate.WithSelf.Next.type.045, %Iterate.facet [concrete] +// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.Next.bound: = bound_method %.8ab, %TrivialRange.as.Iterate.impl.Next [concrete] +// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %Optional.HasValue.c0d, @Optional.HasValue(%Copy.facet) [concrete] +// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Optional.Get.7e1, @Optional.Get(%Copy.facet) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc18_35.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc18_35.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc18_20.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.8ab, %Destroy.Op.2dd605.6 [concrete] // CHECK:STDOUT: %empty_tuple.type.as.Copy.impl.Op.type: type = fn_type @empty_tuple.type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %empty_tuple.type.as.Copy.impl.Op: %empty_tuple.type.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.9ac: @Optional.%Optional.HasValue.type (%Optional.HasValue.type.b12) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.HasValue (constants.%Optional.HasValue.ec1)] -// CHECK:STDOUT: %Core.import_ref.c74: @Optional.%Optional.Get.type (%Optional.Get.type.504) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.Get (constants.%Optional.Get.a00)] -// CHECK:STDOUT: %Core.import_ref.41e: %empty_tuple.type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%empty_tuple.type.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.a75 = impl_witness_table (%Core.import_ref.41e), @empty_tuple.type.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.cc8: @Optional.%Optional.HasValue.type (%Optional.HasValue.type.2b3) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.HasValue (constants.%Optional.HasValue.fed)] +// CHECK:STDOUT: %Core.import_ref.dac: @Optional.%Optional.Get.type (%Optional.Get.type.f9d) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.Get (constants.%Optional.Get.09b)] +// CHECK:STDOUT: %Core.import_ref.f63: %empty_tuple.type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%empty_tuple.type.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.bfa = impl_witness_table (%Core.import_ref.f63), @empty_tuple.type.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { @@ -129,12 +129,12 @@ fn Run() { // CHECK:STDOUT: %.loc18_18.2: ref %TrivialRange = temporary_storage // CHECK:STDOUT: %.loc18_18.3: init %TrivialRange to %.loc18_18.2 = class_init () [concrete = constants.%TrivialRange.val] // CHECK:STDOUT: %.loc18_20.1: init %TrivialRange = converted %.loc18_18.1, %.loc18_18.3 [concrete = constants.%TrivialRange.val] -// CHECK:STDOUT: %.loc18_20.2: ref %TrivialRange = temporary %.loc18_18.2, %.loc18_20.1 [concrete = constants.%.f17] -// CHECK:STDOUT: %impl.elem2: %.62d = impl_witness_access constants.%Iterate.impl_witness, element2 [concrete = constants.%TrivialRange.as.Iterate.impl.NewCursor.656b2c.2] -// CHECK:STDOUT: %bound_method.loc18_35.1: = bound_method %.loc18_20.2, %impl.elem2 [concrete = constants.%TrivialRange.as.Iterate.impl.NewCursor.bound.998] +// CHECK:STDOUT: %.loc18_20.2: ref %TrivialRange = temporary %.loc18_18.2, %.loc18_20.1 [concrete = constants.%.8ab] +// CHECK:STDOUT: %impl.elem2: %.c0f = impl_witness_access constants.%Iterate.impl_witness, element2 [concrete = constants.%TrivialRange.as.Iterate.impl.NewCursor.bf18e5.2] +// CHECK:STDOUT: %bound_method.loc18_35.1: = bound_method %.loc18_20.2, %impl.elem2 [concrete = constants.%TrivialRange.as.Iterate.impl.NewCursor.bound.da2] // CHECK:STDOUT: %.loc18_20.3: %TrivialRange = acquire_value %.loc18_20.2 [concrete = constants.%TrivialRange.val] -// CHECK:STDOUT: %NewCursor.ref: %TrivialRange.as.Iterate.impl.NewCursor.type.dcabc5.1 = name_ref NewCursor, @TrivialRange.as.Iterate.impl.%TrivialRange.as.Iterate.impl.NewCursor.decl.loc6_39.1 [concrete = constants.%TrivialRange.as.Iterate.impl.NewCursor.656b2c.1] -// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.bound: = bound_method %.loc18_20.3, %NewCursor.ref [concrete = constants.%TrivialRange.as.Iterate.impl.NewCursor.bound.fcf] +// CHECK:STDOUT: %NewCursor.ref: %TrivialRange.as.Iterate.impl.NewCursor.type.d8a5e3.1 = name_ref NewCursor, @TrivialRange.as.Iterate.impl.%TrivialRange.as.Iterate.impl.NewCursor.decl.loc6_39.1 [concrete = constants.%TrivialRange.as.Iterate.impl.NewCursor.bf18e5.1] +// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.bound: = bound_method %.loc18_20.3, %NewCursor.ref [concrete = constants.%TrivialRange.as.Iterate.impl.NewCursor.bound.862] // CHECK:STDOUT: %TrivialRange.as.Iterate.impl.NewCursor.call: init %empty_tuple.type = call %TrivialRange.as.Iterate.impl.NewCursor.bound(%.loc18_20.3) // CHECK:STDOUT: %var: ref %empty_tuple.type = var invalid // CHECK:STDOUT: assign %var, %TrivialRange.as.Iterate.impl.NewCursor.call @@ -142,30 +142,30 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: !for.next: // CHECK:STDOUT: %addr: %ptr.843 = addr_of %var -// CHECK:STDOUT: %impl.elem3: %.5e2 = impl_witness_access constants.%Iterate.impl_witness, element3 [concrete = constants.%TrivialRange.as.Iterate.impl.Next] +// CHECK:STDOUT: %impl.elem3: %.c28 = impl_witness_access constants.%Iterate.impl_witness, element3 [concrete = constants.%TrivialRange.as.Iterate.impl.Next] // CHECK:STDOUT: %bound_method.loc18_35.2: = bound_method %.loc18_20.2, %impl.elem3 [concrete = constants.%TrivialRange.as.Iterate.impl.Next.bound] -// CHECK:STDOUT: %.loc18_35.1: ref %Optional.e64 = temporary_storage +// CHECK:STDOUT: %.loc18_35.1: ref %Optional.23a = temporary_storage // CHECK:STDOUT: %.loc18_20.4: %TrivialRange = acquire_value %.loc18_20.2 [concrete = constants.%TrivialRange.val] -// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.Next.call: init %Optional.e64 to %.loc18_35.1 = call %bound_method.loc18_35.2(%.loc18_20.4, %addr) -// CHECK:STDOUT: %.loc18_35.2: ref %Optional.e64 = temporary %.loc18_35.1, %TrivialRange.as.Iterate.impl.Next.call -// CHECK:STDOUT: %.loc18_35.3: %Optional.HasValue.type.d6e = specific_constant imports.%Core.import_ref.9ac, @Optional(constants.%Copy.facet) [concrete = constants.%Optional.HasValue.927] -// CHECK:STDOUT: %HasValue.ref: %Optional.HasValue.type.d6e = name_ref HasValue, %.loc18_35.3 [concrete = constants.%Optional.HasValue.927] +// CHECK:STDOUT: %TrivialRange.as.Iterate.impl.Next.call: init %Optional.23a to %.loc18_35.1 = call %bound_method.loc18_35.2(%.loc18_20.4, %addr) +// CHECK:STDOUT: %.loc18_35.2: ref %Optional.23a = temporary %.loc18_35.1, %TrivialRange.as.Iterate.impl.Next.call +// CHECK:STDOUT: %.loc18_35.3: %Optional.HasValue.type.952 = specific_constant imports.%Core.import_ref.cc8, @Optional(constants.%Copy.facet) [concrete = constants.%Optional.HasValue.c0d] +// CHECK:STDOUT: %HasValue.ref: %Optional.HasValue.type.952 = name_ref HasValue, %.loc18_35.3 [concrete = constants.%Optional.HasValue.c0d] // CHECK:STDOUT: %Optional.HasValue.bound: = bound_method %.loc18_35.2, %HasValue.ref // CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %HasValue.ref, @Optional.HasValue(constants.%Copy.facet) [concrete = constants.%Optional.HasValue.specific_fn] // CHECK:STDOUT: %bound_method.loc18_35.3: = bound_method %.loc18_35.2, %Optional.HasValue.specific_fn -// CHECK:STDOUT: %.loc18_35.4: %Optional.e64 = acquire_value %.loc18_35.2 +// CHECK:STDOUT: %.loc18_35.4: %Optional.23a = acquire_value %.loc18_35.2 // CHECK:STDOUT: %Optional.HasValue.call: init bool = call %bound_method.loc18_35.3(%.loc18_35.4) // CHECK:STDOUT: %.loc18_35.5: bool = value_of_initializer %Optional.HasValue.call // CHECK:STDOUT: %.loc18_35.6: bool = converted %Optional.HasValue.call, %.loc18_35.5 // CHECK:STDOUT: if %.loc18_35.6 br !for.body else br !for.done // CHECK:STDOUT: // CHECK:STDOUT: !for.body: -// CHECK:STDOUT: %.loc18_35.7: %Optional.Get.type.da1 = specific_constant imports.%Core.import_ref.c74, @Optional(constants.%Copy.facet) [concrete = constants.%Optional.Get.9f3] -// CHECK:STDOUT: %Get.ref: %Optional.Get.type.da1 = name_ref Get, %.loc18_35.7 [concrete = constants.%Optional.Get.9f3] +// CHECK:STDOUT: %.loc18_35.7: %Optional.Get.type.28b = specific_constant imports.%Core.import_ref.dac, @Optional(constants.%Copy.facet) [concrete = constants.%Optional.Get.7e1] +// CHECK:STDOUT: %Get.ref: %Optional.Get.type.28b = name_ref Get, %.loc18_35.7 [concrete = constants.%Optional.Get.7e1] // CHECK:STDOUT: %Optional.Get.bound: = bound_method %.loc18_35.2, %Get.ref // CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Get.ref, @Optional.Get(constants.%Copy.facet) [concrete = constants.%Optional.Get.specific_fn] // CHECK:STDOUT: %bound_method.loc18_35.4: = bound_method %.loc18_35.2, %Optional.Get.specific_fn -// CHECK:STDOUT: %.loc18_35.8: %Optional.e64 = acquire_value %.loc18_35.2 +// CHECK:STDOUT: %.loc18_35.8: %Optional.23a = acquire_value %.loc18_35.2 // CHECK:STDOUT: %Optional.Get.call: init %empty_tuple.type = call %bound_method.loc18_35.4(%.loc18_35.8) // CHECK:STDOUT: %.loc18_12.1: type = splice_block %.loc18_12.3 [concrete = constants.%empty_tuple.type] { // CHECK:STDOUT: %.loc18_12.2: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] @@ -183,13 +183,13 @@ fn Run() { // CHECK:STDOUT: !for.done: // CHECK:STDOUT: %AfterLoop.ref: %AfterLoop.type = name_ref AfterLoop, file.%AfterLoop.decl [concrete = constants.%AfterLoop] // CHECK:STDOUT: %AfterLoop.call: init %empty_tuple.type = call %AfterLoop.ref() -// CHECK:STDOUT: %Destroy.Op.bound.loc18_35.1: = bound_method %.loc18_35.10, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc18_35.1: = bound_method %.loc18_35.10, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc18_35.1: init %empty_tuple.type = call %Destroy.Op.bound.loc18_35.1(%.loc18_35.10) -// CHECK:STDOUT: %Destroy.Op.bound.loc18_35.2: = bound_method %.loc18_35.2, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc18_35.2: = bound_method %.loc18_35.2, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc18_35.2: init %empty_tuple.type = call %Destroy.Op.bound.loc18_35.2(%.loc18_35.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc18_35.3: = bound_method %var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc18_35.3: = bound_method %var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc18_35.3: init %empty_tuple.type = call %Destroy.Op.bound.loc18_35.3(%var) -// CHECK:STDOUT: %Destroy.Op.call.loc18_20: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.f17) +// CHECK:STDOUT: %Destroy.Op.call.loc18_20: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.8ab) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -202,7 +202,7 @@ fn Run() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc18_35.4(%self.param: ref %Optional.e64) { +// CHECK:STDOUT: fn @Destroy.Op.loc18_35.4(%self.param: ref %Optional.23a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/for/pattern.carbon b/toolchain/check/testdata/for/pattern.carbon index f5fc861dcab4..4e1b8b7b2b9a 100644 --- a/toolchain/check/testdata/for/pattern.carbon +++ b/toolchain/check/testdata/for/pattern.carbon @@ -122,7 +122,7 @@ fn Run() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %pattern_type.4d2: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %Body.type: type = fn_type @Body [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Body: %Body.type = struct_value () [concrete] @@ -131,51 +131,51 @@ fn Run() { // CHECK:STDOUT: %EmptyRange.generic: %EmptyRange.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.baf: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %EmptyRange.Make.type.45a: type = fn_type @EmptyRange.Make, @EmptyRange(%T.baf) [symbolic] -// CHECK:STDOUT: %EmptyRange.Make.8de: %EmptyRange.Make.type.45a = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.fad: = impl_witness imports.%Copy.impl_witness_table.2ad [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %C, (%Copy.impl_witness.fad) [concrete] -// CHECK:STDOUT: %EmptyRange.6dc: type = class_type @EmptyRange, @EmptyRange(%Copy.facet) [concrete] -// CHECK:STDOUT: %EmptyRange.Make.type.e2c: type = fn_type @EmptyRange.Make, @EmptyRange(%Copy.facet) [concrete] -// CHECK:STDOUT: %EmptyRange.Make.6c7: %EmptyRange.Make.type.e2c = struct_value () [concrete] -// CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %EmptyRange.Make.6c7, @EmptyRange.Make(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.Make.type.648: type = fn_type @EmptyRange.Make, @EmptyRange(%T.baf) [symbolic] +// CHECK:STDOUT: %EmptyRange.Make.317: %EmptyRange.Make.type.648 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.b02: = impl_witness imports.%Copy.impl_witness_table.f49 [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %C, (%Copy.impl_witness.b02) [concrete] +// CHECK:STDOUT: %EmptyRange.63c: type = class_type @EmptyRange, @EmptyRange(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.Make.type.c46: type = fn_type @EmptyRange.Make, @EmptyRange(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.Make.93a: %EmptyRange.Make.type.c46 = struct_value () [concrete] +// CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %EmptyRange.Make.93a, @EmptyRange.Make(%Copy.facet) [concrete] // CHECK:STDOUT: %Iterate.type: type = facet_type <@Iterate> [concrete] -// CHECK:STDOUT: %Optional.Get.type.dc8: type = fn_type @Optional.Get, @Optional(%T.baf) [symbolic] -// CHECK:STDOUT: %Optional.Get.ead: %Optional.Get.type.dc8 = struct_value () [symbolic] -// CHECK:STDOUT: %Optional.HasValue.type.ae5: type = fn_type @Optional.HasValue, @Optional(%T.baf) [symbolic] -// CHECK:STDOUT: %Optional.HasValue.959: %Optional.HasValue.type.ae5 = struct_value () [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.70e: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.f25: %EmptyRange.as.Iterate.impl.Next.type.70e = struct_value () [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.a2c: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.067: %EmptyRange.as.Iterate.impl.NewCursor.type.a2c = struct_value () [symbolic] -// CHECK:STDOUT: %Iterate.impl_witness.4f0: = impl_witness imports.%Iterate.impl_witness_table, @EmptyRange.as.Iterate.impl(%Copy.facet) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.77f: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%Copy.facet) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.18d: %EmptyRange.as.Iterate.impl.NewCursor.type.77f = struct_value () [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.ad3: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%Copy.facet) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.df9: %EmptyRange.as.Iterate.impl.Next.type.ad3 = struct_value () [concrete] -// CHECK:STDOUT: %Iterate.facet: %Iterate.type = facet_value %EmptyRange.6dc, (%Iterate.impl_witness.4f0) [concrete] -// CHECK:STDOUT: %Iterate.WithSelf.NewCursor.type.89a: type = fn_type @Iterate.WithSelf.NewCursor, @Iterate.WithSelf(%Iterate.facet) [concrete] -// CHECK:STDOUT: %Iterate.WithSelf.Next.type.ccc: type = fn_type @Iterate.WithSelf.Next, @Iterate.WithSelf(%Iterate.facet) [concrete] -// CHECK:STDOUT: %.a2f: type = fn_type_with_self_type %Iterate.WithSelf.NewCursor.type.89a, %Iterate.facet [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.NewCursor.18d, @EmptyRange.as.Iterate.impl.NewCursor(%Copy.facet) [concrete] -// CHECK:STDOUT: %.f37: type = fn_type_with_self_type %Iterate.WithSelf.Next.type.ccc, %Iterate.facet [concrete] -// CHECK:STDOUT: %Optional.1d0: type = class_type @Optional, @Optional(%Copy.facet) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.Next.df9, @EmptyRange.as.Iterate.impl.Next(%Copy.facet) [concrete] -// CHECK:STDOUT: %Optional.HasValue.type.fe2: type = fn_type @Optional.HasValue, @Optional(%Copy.facet) [concrete] -// CHECK:STDOUT: %Optional.HasValue.5bd: %Optional.HasValue.type.fe2 = struct_value () [concrete] -// CHECK:STDOUT: %Optional.Get.type.045: type = fn_type @Optional.Get, @Optional(%Copy.facet) [concrete] -// CHECK:STDOUT: %Optional.Get.c6c: %Optional.Get.type.045 = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.has_value.value.470: type = struct_type {.has_value: bool, .value: %C} [concrete] -// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %Optional.HasValue.5bd, @Optional.HasValue(%Copy.facet) [concrete] -// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Optional.Get.c6c, @Optional.Get(%Copy.facet) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc10_36.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc10_36.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc10_36.5 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc10_35 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.Get.type.eeb: type = fn_type @Optional.Get, @Optional(%T.baf) [symbolic] +// CHECK:STDOUT: %Optional.Get.82b: %Optional.Get.type.eeb = struct_value () [symbolic] +// CHECK:STDOUT: %Optional.HasValue.type.f4b: type = fn_type @Optional.HasValue, @Optional(%T.baf) [symbolic] +// CHECK:STDOUT: %Optional.HasValue.40a: %Optional.HasValue.type.f4b = struct_value () [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.7ff: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.4c5: %EmptyRange.as.Iterate.impl.Next.type.7ff = struct_value () [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.9ee: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.966: %EmptyRange.as.Iterate.impl.NewCursor.type.9ee = struct_value () [symbolic] +// CHECK:STDOUT: %Iterate.impl_witness.0f2: = impl_witness imports.%Iterate.impl_witness_table, @EmptyRange.as.Iterate.impl(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.97d: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.bb5: %EmptyRange.as.Iterate.impl.NewCursor.type.97d = struct_value () [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.927: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.28e: %EmptyRange.as.Iterate.impl.Next.type.927 = struct_value () [concrete] +// CHECK:STDOUT: %Iterate.facet: %Iterate.type = facet_value %EmptyRange.63c, (%Iterate.impl_witness.0f2) [concrete] +// CHECK:STDOUT: %Iterate.WithSelf.NewCursor.type.5c2: type = fn_type @Iterate.WithSelf.NewCursor, @Iterate.WithSelf(%Iterate.facet) [concrete] +// CHECK:STDOUT: %Iterate.WithSelf.Next.type.313: type = fn_type @Iterate.WithSelf.Next, @Iterate.WithSelf(%Iterate.facet) [concrete] +// CHECK:STDOUT: %.df4: type = fn_type_with_self_type %Iterate.WithSelf.NewCursor.type.5c2, %Iterate.facet [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.NewCursor.bb5, @EmptyRange.as.Iterate.impl.NewCursor(%Copy.facet) [concrete] +// CHECK:STDOUT: %.eb4: type = fn_type_with_self_type %Iterate.WithSelf.Next.type.313, %Iterate.facet [concrete] +// CHECK:STDOUT: %Optional.c31: type = class_type @Optional, @Optional(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.Next.28e, @EmptyRange.as.Iterate.impl.Next(%Copy.facet) [concrete] +// CHECK:STDOUT: %Optional.HasValue.type.9f9: type = fn_type @Optional.HasValue, @Optional(%Copy.facet) [concrete] +// CHECK:STDOUT: %Optional.HasValue.9ac: %Optional.HasValue.type.9f9 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.Get.type.b89: type = fn_type @Optional.Get, @Optional(%Copy.facet) [concrete] +// CHECK:STDOUT: %Optional.Get.b6e: %Optional.Get.type.b89 = struct_value () [concrete] +// CHECK:STDOUT: %struct_type.has_value.value.4de: type = struct_type {.has_value: bool, .value: %C} [concrete] +// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %Optional.HasValue.9ac, @Optional.HasValue(%Copy.facet) [concrete] +// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Optional.Get.b6e, @Optional.Get(%Copy.facet) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc10_36.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc10_36.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc10_36.5 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc10_35 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] // CHECK:STDOUT: %C.as.Copy.impl.Op.type: type = fn_type @C.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %C.as.Copy.impl.Op: %C.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -183,39 +183,39 @@ fn Run() { // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.EmptyRange: %EmptyRange.type = import_ref Main//empty_range, EmptyRange, loaded [concrete = constants.%EmptyRange.generic] // CHECK:STDOUT: %Main.C: type = import_ref Main//empty_range, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.267: @EmptyRange.%EmptyRange.Make.type (%EmptyRange.Make.type.45a) = import_ref Main//empty_range, loc5_21, loaded [symbolic = @EmptyRange.%EmptyRange.Make (constants.%EmptyRange.Make.8de)] -// CHECK:STDOUT: %Main.import_ref.eb5: %C.as.Copy.impl.Op.type = import_ref Main//empty_range, loc19_40, loaded [concrete = constants.%C.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.2ad = impl_witness_table (%Main.import_ref.eb5), @C.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.5cb: @Optional.%Optional.HasValue.type (%Optional.HasValue.type.ae5) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.HasValue (constants.%Optional.HasValue.959)] -// CHECK:STDOUT: %Core.import_ref.a91: @Optional.%Optional.Get.type (%Optional.Get.type.dc8) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.Get (constants.%Optional.Get.ead)] -// CHECK:STDOUT: %Main.import_ref.30c = import_ref Main//empty_range, loc7_68, unloaded +// CHECK:STDOUT: %Main.import_ref.a8b: @EmptyRange.%EmptyRange.Make.type (%EmptyRange.Make.type.648) = import_ref Main//empty_range, loc5_21, loaded [symbolic = @EmptyRange.%EmptyRange.Make (constants.%EmptyRange.Make.317)] +// CHECK:STDOUT: %Main.import_ref.4f1: %C.as.Copy.impl.Op.type = import_ref Main//empty_range, loc19_40, loaded [concrete = constants.%C.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.f49 = impl_witness_table (%Main.import_ref.4f1), @C.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f0a: @Optional.%Optional.HasValue.type (%Optional.HasValue.type.f4b) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.HasValue (constants.%Optional.HasValue.40a)] +// CHECK:STDOUT: %Core.import_ref.0ac: @Optional.%Optional.Get.type (%Optional.Get.type.eeb) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.Get (constants.%Optional.Get.82b)] +// CHECK:STDOUT: %Main.import_ref.e5a = import_ref Main//empty_range, loc7_68, unloaded // CHECK:STDOUT: %Main.import_ref.999 = import_ref Main//empty_range, loc7_68, unloaded -// CHECK:STDOUT: %Main.import_ref.aa3: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor.type (%EmptyRange.as.Iterate.impl.NewCursor.type.a2c) = import_ref Main//empty_range, loc8_45, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor (constants.%EmptyRange.as.Iterate.impl.NewCursor.067)] -// CHECK:STDOUT: %Main.import_ref.dbf: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next.type (%EmptyRange.as.Iterate.impl.Next.type.70e) = import_ref Main//empty_range, loc11_72, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next (constants.%EmptyRange.as.Iterate.impl.Next.f25)] -// CHECK:STDOUT: %Iterate.impl_witness_table = impl_witness_table (%Main.import_ref.30c, %Main.import_ref.999, %Main.import_ref.aa3, %Main.import_ref.dbf), @EmptyRange.as.Iterate.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.e66: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor.type (%EmptyRange.as.Iterate.impl.NewCursor.type.9ee) = import_ref Main//empty_range, loc8_45, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor (constants.%EmptyRange.as.Iterate.impl.NewCursor.966)] +// CHECK:STDOUT: %Main.import_ref.1f9: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next.type (%EmptyRange.as.Iterate.impl.Next.type.7ff) = import_ref Main//empty_range, loc11_72, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next (constants.%EmptyRange.as.Iterate.impl.Next.4c5)] +// CHECK:STDOUT: %Iterate.impl_witness_table = impl_witness_table (%Main.import_ref.e5a, %Main.import_ref.999, %Main.import_ref.e66, %Main.import_ref.1f9), @EmptyRange.as.Iterate.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.4d2 = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %EmptyRange.ref: %EmptyRange.type = name_ref EmptyRange, imports.%Main.EmptyRange [concrete = constants.%EmptyRange.generic] // CHECK:STDOUT: %C.ref.loc10_27: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %C.ref.loc10_27, (constants.%Copy.impl_witness.fad) [concrete = constants.%Copy.facet] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %C.ref.loc10_27, (constants.%Copy.impl_witness.b02) [concrete = constants.%Copy.facet] // CHECK:STDOUT: %.loc10_28: %Copy.type = converted %C.ref.loc10_27, %Copy.facet [concrete = constants.%Copy.facet] -// CHECK:STDOUT: %EmptyRange: type = class_type @EmptyRange, @EmptyRange(constants.%Copy.facet) [concrete = constants.%EmptyRange.6dc] -// CHECK:STDOUT: %.loc10_29: %EmptyRange.Make.type.e2c = specific_constant imports.%Main.import_ref.267, @EmptyRange(constants.%Copy.facet) [concrete = constants.%EmptyRange.Make.6c7] -// CHECK:STDOUT: %Make.ref: %EmptyRange.Make.type.e2c = name_ref Make, %.loc10_29 [concrete = constants.%EmptyRange.Make.6c7] +// CHECK:STDOUT: %EmptyRange: type = class_type @EmptyRange, @EmptyRange(constants.%Copy.facet) [concrete = constants.%EmptyRange.63c] +// CHECK:STDOUT: %.loc10_29: %EmptyRange.Make.type.c46 = specific_constant imports.%Main.import_ref.a8b, @EmptyRange(constants.%Copy.facet) [concrete = constants.%EmptyRange.Make.93a] +// CHECK:STDOUT: %Make.ref: %EmptyRange.Make.type.c46 = name_ref Make, %.loc10_29 [concrete = constants.%EmptyRange.Make.93a] // CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %Make.ref, @EmptyRange.Make(constants.%Copy.facet) [concrete = constants.%EmptyRange.Make.specific_fn] -// CHECK:STDOUT: %.loc10_35.1: ref %EmptyRange.6dc = temporary_storage -// CHECK:STDOUT: %EmptyRange.Make.call: init %EmptyRange.6dc to %.loc10_35.1 = call %EmptyRange.Make.specific_fn() -// CHECK:STDOUT: %.loc10_35.2: ref %EmptyRange.6dc = temporary %.loc10_35.1, %EmptyRange.Make.call -// CHECK:STDOUT: %impl.elem2: %.a2f = impl_witness_access constants.%Iterate.impl_witness.4f0, element2 [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.18d] +// CHECK:STDOUT: %.loc10_35.1: ref %EmptyRange.63c = temporary_storage +// CHECK:STDOUT: %EmptyRange.Make.call: init %EmptyRange.63c to %.loc10_35.1 = call %EmptyRange.Make.specific_fn() +// CHECK:STDOUT: %.loc10_35.2: ref %EmptyRange.63c = temporary %.loc10_35.1, %EmptyRange.Make.call +// CHECK:STDOUT: %impl.elem2: %.df4 = impl_witness_access constants.%Iterate.impl_witness.0f2, element2 [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.bb5] // CHECK:STDOUT: %bound_method.loc10_36.1: = bound_method %.loc10_35.2, %impl.elem2 // CHECK:STDOUT: %specific_fn.loc10_36.1: = specific_function %impl.elem2, @EmptyRange.as.Iterate.impl.NewCursor(constants.%Copy.facet) [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.specific_fn] // CHECK:STDOUT: %bound_method.loc10_36.2: = bound_method %.loc10_35.2, %specific_fn.loc10_36.1 -// CHECK:STDOUT: %.loc10_35.3: %EmptyRange.6dc = acquire_value %.loc10_35.2 +// CHECK:STDOUT: %.loc10_35.3: %EmptyRange.63c = acquire_value %.loc10_35.2 // CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.call: init %empty_struct_type = call %bound_method.loc10_36.2(%.loc10_35.3) // CHECK:STDOUT: %var: ref %empty_struct_type = var invalid // CHECK:STDOUT: assign %var, %EmptyRange.as.Iterate.impl.NewCursor.call @@ -223,33 +223,33 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: !for.next: // CHECK:STDOUT: %addr: %ptr.c28 = addr_of %var -// CHECK:STDOUT: %impl.elem3: %.f37 = impl_witness_access constants.%Iterate.impl_witness.4f0, element3 [concrete = constants.%EmptyRange.as.Iterate.impl.Next.df9] +// CHECK:STDOUT: %impl.elem3: %.eb4 = impl_witness_access constants.%Iterate.impl_witness.0f2, element3 [concrete = constants.%EmptyRange.as.Iterate.impl.Next.28e] // CHECK:STDOUT: %bound_method.loc10_36.3: = bound_method %.loc10_35.2, %impl.elem3 // CHECK:STDOUT: %specific_fn.loc10_36.2: = specific_function %impl.elem3, @EmptyRange.as.Iterate.impl.Next(constants.%Copy.facet) [concrete = constants.%EmptyRange.as.Iterate.impl.Next.specific_fn] // CHECK:STDOUT: %bound_method.loc10_36.4: = bound_method %.loc10_35.2, %specific_fn.loc10_36.2 -// CHECK:STDOUT: %.loc10_36.1: ref %Optional.1d0 = temporary_storage -// CHECK:STDOUT: %.loc10_35.4: %EmptyRange.6dc = acquire_value %.loc10_35.2 -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.call: init %Optional.1d0 to %.loc10_36.1 = call %bound_method.loc10_36.4(%.loc10_35.4, %addr) -// CHECK:STDOUT: %.loc10_36.2: ref %Optional.1d0 = temporary %.loc10_36.1, %EmptyRange.as.Iterate.impl.Next.call -// CHECK:STDOUT: %.loc10_36.3: %Optional.HasValue.type.fe2 = specific_constant imports.%Core.import_ref.5cb, @Optional(constants.%Copy.facet) [concrete = constants.%Optional.HasValue.5bd] -// CHECK:STDOUT: %HasValue.ref: %Optional.HasValue.type.fe2 = name_ref HasValue, %.loc10_36.3 [concrete = constants.%Optional.HasValue.5bd] +// CHECK:STDOUT: %.loc10_36.1: ref %Optional.c31 = temporary_storage +// CHECK:STDOUT: %.loc10_35.4: %EmptyRange.63c = acquire_value %.loc10_35.2 +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.call: init %Optional.c31 to %.loc10_36.1 = call %bound_method.loc10_36.4(%.loc10_35.4, %addr) +// CHECK:STDOUT: %.loc10_36.2: ref %Optional.c31 = temporary %.loc10_36.1, %EmptyRange.as.Iterate.impl.Next.call +// CHECK:STDOUT: %.loc10_36.3: %Optional.HasValue.type.9f9 = specific_constant imports.%Core.import_ref.f0a, @Optional(constants.%Copy.facet) [concrete = constants.%Optional.HasValue.9ac] +// CHECK:STDOUT: %HasValue.ref: %Optional.HasValue.type.9f9 = name_ref HasValue, %.loc10_36.3 [concrete = constants.%Optional.HasValue.9ac] // CHECK:STDOUT: %Optional.HasValue.bound: = bound_method %.loc10_36.2, %HasValue.ref // CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %HasValue.ref, @Optional.HasValue(constants.%Copy.facet) [concrete = constants.%Optional.HasValue.specific_fn] // CHECK:STDOUT: %bound_method.loc10_36.5: = bound_method %.loc10_36.2, %Optional.HasValue.specific_fn -// CHECK:STDOUT: %.loc10_36.4: %Optional.1d0 = acquire_value %.loc10_36.2 +// CHECK:STDOUT: %.loc10_36.4: %Optional.c31 = acquire_value %.loc10_36.2 // CHECK:STDOUT: %Optional.HasValue.call: init bool = call %bound_method.loc10_36.5(%.loc10_36.4) // CHECK:STDOUT: %.loc10_36.5: bool = value_of_initializer %Optional.HasValue.call // CHECK:STDOUT: %.loc10_36.6: bool = converted %Optional.HasValue.call, %.loc10_36.5 // CHECK:STDOUT: if %.loc10_36.6 br !for.body else br !for.done // CHECK:STDOUT: // CHECK:STDOUT: !for.body: -// CHECK:STDOUT: %.loc10_36.7: %Optional.Get.type.045 = specific_constant imports.%Core.import_ref.a91, @Optional(constants.%Copy.facet) [concrete = constants.%Optional.Get.c6c] -// CHECK:STDOUT: %Get.ref: %Optional.Get.type.045 = name_ref Get, %.loc10_36.7 [concrete = constants.%Optional.Get.c6c] +// CHECK:STDOUT: %.loc10_36.7: %Optional.Get.type.b89 = specific_constant imports.%Core.import_ref.0ac, @Optional(constants.%Copy.facet) [concrete = constants.%Optional.Get.b6e] +// CHECK:STDOUT: %Get.ref: %Optional.Get.type.b89 = name_ref Get, %.loc10_36.7 [concrete = constants.%Optional.Get.b6e] // CHECK:STDOUT: %Optional.Get.bound: = bound_method %.loc10_36.2, %Get.ref // CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Get.ref, @Optional.Get(constants.%Copy.facet) [concrete = constants.%Optional.Get.specific_fn] // CHECK:STDOUT: %bound_method.loc10_36.6: = bound_method %.loc10_36.2, %Optional.Get.specific_fn // CHECK:STDOUT: %.loc10_36.8: ref %C = temporary_storage -// CHECK:STDOUT: %.loc10_36.9: %Optional.1d0 = acquire_value %.loc10_36.2 +// CHECK:STDOUT: %.loc10_36.9: %Optional.c31 = acquire_value %.loc10_36.2 // CHECK:STDOUT: %Optional.Get.call: init %C to %.loc10_36.8 = call %bound_method.loc10_36.6(%.loc10_36.9) // CHECK:STDOUT: %C.ref.loc10_11: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %.loc10_36.10: ref %C = temporary %.loc10_36.8, %Optional.Get.call @@ -261,13 +261,13 @@ fn Run() { // CHECK:STDOUT: br !for.next // CHECK:STDOUT: // CHECK:STDOUT: !for.done: -// CHECK:STDOUT: %Destroy.Op.bound.loc10_36.1: = bound_method %.loc10_36.10, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_36.1: = bound_method %.loc10_36.10, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc10_36.1: init %empty_tuple.type = call %Destroy.Op.bound.loc10_36.1(%.loc10_36.10) -// CHECK:STDOUT: %Destroy.Op.bound.loc10_36.2: = bound_method %.loc10_36.2, constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_36.2: = bound_method %.loc10_36.2, constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: %Destroy.Op.call.loc10_36.2: init %empty_tuple.type = call %Destroy.Op.bound.loc10_36.2(%.loc10_36.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc10_36.3: = bound_method %var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_36.3: = bound_method %var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc10_36.3: init %empty_tuple.type = call %Destroy.Op.bound.loc10_36.3(%var) -// CHECK:STDOUT: %Destroy.Op.bound.loc10_35: = bound_method %.loc10_35.2, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_35: = bound_method %.loc10_35.2, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call.loc10_35: init %empty_tuple.type = call %Destroy.Op.bound.loc10_35(%.loc10_35.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -281,17 +281,17 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_36.3(%self.param: ref bool) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_36.4(%self.param: ref %struct_type.has_value.value.470) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_36.4(%self.param: ref %struct_type.has_value.value.4de) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_36.5(%self.param: ref %Optional.1d0) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_36.5(%self.param: ref %Optional.c31) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_35(%self.param: ref %EmptyRange.6dc) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_35(%self.param: ref %EmptyRange.63c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -301,61 +301,61 @@ fn Run() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %ptr.9ec: type = ptr_type %C [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] // CHECK:STDOUT: %Body.type: type = fn_type @Body [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Body: %Body.type = struct_value () [concrete] // CHECK:STDOUT: %ptr.c28: type = ptr_type %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.cae: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %EmptyRange.type: type = generic_class_type @EmptyRange [concrete] // CHECK:STDOUT: %EmptyRange.generic: %EmptyRange.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.baf: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %EmptyRange.Make.type.62d: type = fn_type @EmptyRange.Make, @EmptyRange(%T.baf) [symbolic] -// CHECK:STDOUT: %EmptyRange.Make.caa: %EmptyRange.Make.type.62d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.92c: = impl_witness imports.%Copy.impl_witness_table.6de [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %C, (%Copy.impl_witness.92c) [concrete] -// CHECK:STDOUT: %EmptyRange.29c: type = class_type @EmptyRange, @EmptyRange(%Copy.facet) [concrete] -// CHECK:STDOUT: %EmptyRange.Make.type.f40: type = fn_type @EmptyRange.Make, @EmptyRange(%Copy.facet) [concrete] -// CHECK:STDOUT: %EmptyRange.Make.66a: %EmptyRange.Make.type.f40 = struct_value () [concrete] -// CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %EmptyRange.Make.66a, @EmptyRange.Make(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.Make.type.648: type = fn_type @EmptyRange.Make, @EmptyRange(%T.baf) [symbolic] +// CHECK:STDOUT: %EmptyRange.Make.317: %EmptyRange.Make.type.648 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.b02: = impl_witness imports.%Copy.impl_witness_table.f49 [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %C, (%Copy.impl_witness.b02) [concrete] +// CHECK:STDOUT: %EmptyRange.63c: type = class_type @EmptyRange, @EmptyRange(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.Make.type.c46: type = fn_type @EmptyRange.Make, @EmptyRange(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.Make.93a: %EmptyRange.Make.type.c46 = struct_value () [concrete] +// CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %EmptyRange.Make.93a, @EmptyRange.Make(%Copy.facet) [concrete] // CHECK:STDOUT: %Iterate.type: type = facet_type <@Iterate> [concrete] -// CHECK:STDOUT: %Optional.Get.type.dc8: type = fn_type @Optional.Get, @Optional(%T.baf) [symbolic] -// CHECK:STDOUT: %Optional.Get.ead: %Optional.Get.type.dc8 = struct_value () [symbolic] -// CHECK:STDOUT: %Optional.HasValue.type.ae5: type = fn_type @Optional.HasValue, @Optional(%T.baf) [symbolic] -// CHECK:STDOUT: %Optional.HasValue.959: %Optional.HasValue.type.ae5 = struct_value () [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.bc0: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.616: %EmptyRange.as.Iterate.impl.Next.type.bc0 = struct_value () [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.1d7: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.41a: %EmptyRange.as.Iterate.impl.NewCursor.type.1d7 = struct_value () [symbolic] -// CHECK:STDOUT: %Iterate.impl_witness.020: = impl_witness imports.%Iterate.impl_witness_table, @EmptyRange.as.Iterate.impl(%Copy.facet) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.51f: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%Copy.facet) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.d41: %EmptyRange.as.Iterate.impl.NewCursor.type.51f = struct_value () [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.cd5: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%Copy.facet) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.56f: %EmptyRange.as.Iterate.impl.Next.type.cd5 = struct_value () [concrete] -// CHECK:STDOUT: %Iterate.facet: %Iterate.type = facet_value %EmptyRange.29c, (%Iterate.impl_witness.020) [concrete] -// CHECK:STDOUT: %Iterate.WithSelf.NewCursor.type.a52: type = fn_type @Iterate.WithSelf.NewCursor, @Iterate.WithSelf(%Iterate.facet) [concrete] -// CHECK:STDOUT: %Iterate.WithSelf.Next.type.cec: type = fn_type @Iterate.WithSelf.Next, @Iterate.WithSelf(%Iterate.facet) [concrete] -// CHECK:STDOUT: %.33c: type = fn_type_with_self_type %Iterate.WithSelf.NewCursor.type.a52, %Iterate.facet [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.NewCursor.d41, @EmptyRange.as.Iterate.impl.NewCursor(%Copy.facet) [concrete] -// CHECK:STDOUT: %.3e67b: type = fn_type_with_self_type %Iterate.WithSelf.Next.type.cec, %Iterate.facet [concrete] -// CHECK:STDOUT: %Optional.063: type = class_type @Optional, @Optional(%Copy.facet) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.Next.56f, @EmptyRange.as.Iterate.impl.Next(%Copy.facet) [concrete] -// CHECK:STDOUT: %Optional.HasValue.type.0cd: type = fn_type @Optional.HasValue, @Optional(%Copy.facet) [concrete] -// CHECK:STDOUT: %Optional.HasValue.49d: %Optional.HasValue.type.0cd = struct_value () [concrete] -// CHECK:STDOUT: %Optional.Get.type.a40: type = fn_type @Optional.Get, @Optional(%Copy.facet) [concrete] -// CHECK:STDOUT: %Optional.Get.514: %Optional.Get.type.a40 = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.has_value.value.806: type = struct_type {.has_value: bool, .value: %C} [concrete] -// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %Optional.HasValue.49d, @Optional.HasValue(%Copy.facet) [concrete] -// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Optional.Get.514, @Optional.Get(%Copy.facet) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc10_8.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc10_8.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc10_40.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc10_39 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.Get.type.eeb: type = fn_type @Optional.Get, @Optional(%T.baf) [symbolic] +// CHECK:STDOUT: %Optional.Get.82b: %Optional.Get.type.eeb = struct_value () [symbolic] +// CHECK:STDOUT: %Optional.HasValue.type.f4b: type = fn_type @Optional.HasValue, @Optional(%T.baf) [symbolic] +// CHECK:STDOUT: %Optional.HasValue.40a: %Optional.HasValue.type.f4b = struct_value () [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.7ff: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.4c5: %EmptyRange.as.Iterate.impl.Next.type.7ff = struct_value () [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.9ee: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.966: %EmptyRange.as.Iterate.impl.NewCursor.type.9ee = struct_value () [symbolic] +// CHECK:STDOUT: %Iterate.impl_witness.0f2: = impl_witness imports.%Iterate.impl_witness_table, @EmptyRange.as.Iterate.impl(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.97d: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.bb5: %EmptyRange.as.Iterate.impl.NewCursor.type.97d = struct_value () [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.927: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.28e: %EmptyRange.as.Iterate.impl.Next.type.927 = struct_value () [concrete] +// CHECK:STDOUT: %Iterate.facet: %Iterate.type = facet_value %EmptyRange.63c, (%Iterate.impl_witness.0f2) [concrete] +// CHECK:STDOUT: %Iterate.WithSelf.NewCursor.type.5c2: type = fn_type @Iterate.WithSelf.NewCursor, @Iterate.WithSelf(%Iterate.facet) [concrete] +// CHECK:STDOUT: %Iterate.WithSelf.Next.type.313: type = fn_type @Iterate.WithSelf.Next, @Iterate.WithSelf(%Iterate.facet) [concrete] +// CHECK:STDOUT: %.df4: type = fn_type_with_self_type %Iterate.WithSelf.NewCursor.type.5c2, %Iterate.facet [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.NewCursor.bb5, @EmptyRange.as.Iterate.impl.NewCursor(%Copy.facet) [concrete] +// CHECK:STDOUT: %.eb4: type = fn_type_with_self_type %Iterate.WithSelf.Next.type.313, %Iterate.facet [concrete] +// CHECK:STDOUT: %Optional.c31: type = class_type @Optional, @Optional(%Copy.facet) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.Next.28e, @EmptyRange.as.Iterate.impl.Next(%Copy.facet) [concrete] +// CHECK:STDOUT: %Optional.HasValue.type.9f9: type = fn_type @Optional.HasValue, @Optional(%Copy.facet) [concrete] +// CHECK:STDOUT: %Optional.HasValue.9ac: %Optional.HasValue.type.9f9 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.Get.type.b89: type = fn_type @Optional.Get, @Optional(%Copy.facet) [concrete] +// CHECK:STDOUT: %Optional.Get.b6e: %Optional.Get.type.b89 = struct_value () [concrete] +// CHECK:STDOUT: %struct_type.has_value.value.4de: type = struct_type {.has_value: bool, .value: %C} [concrete] +// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %Optional.HasValue.9ac, @Optional.HasValue(%Copy.facet) [concrete] +// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Optional.Get.b6e, @Optional.Get(%Copy.facet) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc10_8.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc10_8.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc10_40.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc10_39 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] // CHECK:STDOUT: %C.as.Copy.impl.Op.type: type = fn_type @C.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %C.as.Copy.impl.Op: %C.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -363,40 +363,40 @@ fn Run() { // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.EmptyRange: %EmptyRange.type = import_ref Main//empty_range, EmptyRange, loaded [concrete = constants.%EmptyRange.generic] // CHECK:STDOUT: %Main.C: type = import_ref Main//empty_range, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.dfd: @EmptyRange.%EmptyRange.Make.type (%EmptyRange.Make.type.62d) = import_ref Main//empty_range, loc5_21, loaded [symbolic = @EmptyRange.%EmptyRange.Make (constants.%EmptyRange.Make.caa)] -// CHECK:STDOUT: %Main.import_ref.eb5: %C.as.Copy.impl.Op.type = import_ref Main//empty_range, loc19_40, loaded [concrete = constants.%C.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.6de = impl_witness_table (%Main.import_ref.eb5), @C.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.5cb: @Optional.%Optional.HasValue.type (%Optional.HasValue.type.ae5) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.HasValue (constants.%Optional.HasValue.959)] -// CHECK:STDOUT: %Core.import_ref.a91: @Optional.%Optional.Get.type (%Optional.Get.type.dc8) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.Get (constants.%Optional.Get.ead)] -// CHECK:STDOUT: %Main.import_ref.30c = import_ref Main//empty_range, loc7_68, unloaded +// CHECK:STDOUT: %Main.import_ref.a8b: @EmptyRange.%EmptyRange.Make.type (%EmptyRange.Make.type.648) = import_ref Main//empty_range, loc5_21, loaded [symbolic = @EmptyRange.%EmptyRange.Make (constants.%EmptyRange.Make.317)] +// CHECK:STDOUT: %Main.import_ref.4f1: %C.as.Copy.impl.Op.type = import_ref Main//empty_range, loc19_40, loaded [concrete = constants.%C.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.f49 = impl_witness_table (%Main.import_ref.4f1), @C.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f0a: @Optional.%Optional.HasValue.type (%Optional.HasValue.type.f4b) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.HasValue (constants.%Optional.HasValue.40a)] +// CHECK:STDOUT: %Core.import_ref.0ac: @Optional.%Optional.Get.type (%Optional.Get.type.eeb) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.Get (constants.%Optional.Get.82b)] +// CHECK:STDOUT: %Main.import_ref.e5a = import_ref Main//empty_range, loc7_68, unloaded // CHECK:STDOUT: %Main.import_ref.999 = import_ref Main//empty_range, loc7_68, unloaded -// CHECK:STDOUT: %Main.import_ref.d3c: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor.type (%EmptyRange.as.Iterate.impl.NewCursor.type.1d7) = import_ref Main//empty_range, loc8_45, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor (constants.%EmptyRange.as.Iterate.impl.NewCursor.41a)] -// CHECK:STDOUT: %Main.import_ref.0e9: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next.type (%EmptyRange.as.Iterate.impl.Next.type.bc0) = import_ref Main//empty_range, loc11_72, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next (constants.%EmptyRange.as.Iterate.impl.Next.616)] -// CHECK:STDOUT: %Iterate.impl_witness_table = impl_witness_table (%Main.import_ref.30c, %Main.import_ref.999, %Main.import_ref.d3c, %Main.import_ref.0e9), @EmptyRange.as.Iterate.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.e66: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor.type (%EmptyRange.as.Iterate.impl.NewCursor.type.9ee) = import_ref Main//empty_range, loc8_45, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor (constants.%EmptyRange.as.Iterate.impl.NewCursor.966)] +// CHECK:STDOUT: %Main.import_ref.1f9: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next.type (%EmptyRange.as.Iterate.impl.Next.type.7ff) = import_ref Main//empty_range, loc11_72, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next (constants.%EmptyRange.as.Iterate.impl.Next.4c5)] +// CHECK:STDOUT: %Iterate.impl_witness_table = impl_witness_table (%Main.import_ref.e5a, %Main.import_ref.999, %Main.import_ref.e66, %Main.import_ref.1f9), @EmptyRange.as.Iterate.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.cae = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.cae = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %EmptyRange.ref: %EmptyRange.type = name_ref EmptyRange, imports.%Main.EmptyRange [concrete = constants.%EmptyRange.generic] // CHECK:STDOUT: %C.ref.loc10_31: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %C.ref.loc10_31, (constants.%Copy.impl_witness.92c) [concrete = constants.%Copy.facet] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %C.ref.loc10_31, (constants.%Copy.impl_witness.b02) [concrete = constants.%Copy.facet] // CHECK:STDOUT: %.loc10_32: %Copy.type = converted %C.ref.loc10_31, %Copy.facet [concrete = constants.%Copy.facet] -// CHECK:STDOUT: %EmptyRange: type = class_type @EmptyRange, @EmptyRange(constants.%Copy.facet) [concrete = constants.%EmptyRange.29c] -// CHECK:STDOUT: %.loc10_33: %EmptyRange.Make.type.f40 = specific_constant imports.%Main.import_ref.dfd, @EmptyRange(constants.%Copy.facet) [concrete = constants.%EmptyRange.Make.66a] -// CHECK:STDOUT: %Make.ref: %EmptyRange.Make.type.f40 = name_ref Make, %.loc10_33 [concrete = constants.%EmptyRange.Make.66a] +// CHECK:STDOUT: %EmptyRange: type = class_type @EmptyRange, @EmptyRange(constants.%Copy.facet) [concrete = constants.%EmptyRange.63c] +// CHECK:STDOUT: %.loc10_33: %EmptyRange.Make.type.c46 = specific_constant imports.%Main.import_ref.a8b, @EmptyRange(constants.%Copy.facet) [concrete = constants.%EmptyRange.Make.93a] +// CHECK:STDOUT: %Make.ref: %EmptyRange.Make.type.c46 = name_ref Make, %.loc10_33 [concrete = constants.%EmptyRange.Make.93a] // CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %Make.ref, @EmptyRange.Make(constants.%Copy.facet) [concrete = constants.%EmptyRange.Make.specific_fn] -// CHECK:STDOUT: %.loc10_39.1: ref %EmptyRange.29c = temporary_storage -// CHECK:STDOUT: %EmptyRange.Make.call: init %EmptyRange.29c to %.loc10_39.1 = call %EmptyRange.Make.specific_fn() -// CHECK:STDOUT: %.loc10_39.2: ref %EmptyRange.29c = temporary %.loc10_39.1, %EmptyRange.Make.call -// CHECK:STDOUT: %impl.elem2: %.33c = impl_witness_access constants.%Iterate.impl_witness.020, element2 [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.d41] +// CHECK:STDOUT: %.loc10_39.1: ref %EmptyRange.63c = temporary_storage +// CHECK:STDOUT: %EmptyRange.Make.call: init %EmptyRange.63c to %.loc10_39.1 = call %EmptyRange.Make.specific_fn() +// CHECK:STDOUT: %.loc10_39.2: ref %EmptyRange.63c = temporary %.loc10_39.1, %EmptyRange.Make.call +// CHECK:STDOUT: %impl.elem2: %.df4 = impl_witness_access constants.%Iterate.impl_witness.0f2, element2 [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.bb5] // CHECK:STDOUT: %bound_method.loc10_40.1: = bound_method %.loc10_39.2, %impl.elem2 // CHECK:STDOUT: %specific_fn.loc10_40.1: = specific_function %impl.elem2, @EmptyRange.as.Iterate.impl.NewCursor(constants.%Copy.facet) [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.specific_fn] // CHECK:STDOUT: %bound_method.loc10_40.2: = bound_method %.loc10_39.2, %specific_fn.loc10_40.1 -// CHECK:STDOUT: %.loc10_39.3: %EmptyRange.29c = acquire_value %.loc10_39.2 +// CHECK:STDOUT: %.loc10_39.3: %EmptyRange.63c = acquire_value %.loc10_39.2 // CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.call: init %empty_struct_type = call %bound_method.loc10_40.2(%.loc10_39.3) // CHECK:STDOUT: %var: ref %empty_struct_type = var invalid // CHECK:STDOUT: assign %var, %EmptyRange.as.Iterate.impl.NewCursor.call @@ -404,20 +404,20 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: !for.next: // CHECK:STDOUT: %addr.loc10: %ptr.c28 = addr_of %var -// CHECK:STDOUT: %impl.elem3: %.3e67b = impl_witness_access constants.%Iterate.impl_witness.020, element3 [concrete = constants.%EmptyRange.as.Iterate.impl.Next.56f] +// CHECK:STDOUT: %impl.elem3: %.eb4 = impl_witness_access constants.%Iterate.impl_witness.0f2, element3 [concrete = constants.%EmptyRange.as.Iterate.impl.Next.28e] // CHECK:STDOUT: %bound_method.loc10_40.3: = bound_method %.loc10_39.2, %impl.elem3 // CHECK:STDOUT: %specific_fn.loc10_40.2: = specific_function %impl.elem3, @EmptyRange.as.Iterate.impl.Next(constants.%Copy.facet) [concrete = constants.%EmptyRange.as.Iterate.impl.Next.specific_fn] // CHECK:STDOUT: %bound_method.loc10_40.4: = bound_method %.loc10_39.2, %specific_fn.loc10_40.2 -// CHECK:STDOUT: %.loc10_40.1: ref %Optional.063 = temporary_storage -// CHECK:STDOUT: %.loc10_39.4: %EmptyRange.29c = acquire_value %.loc10_39.2 -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.call: init %Optional.063 to %.loc10_40.1 = call %bound_method.loc10_40.4(%.loc10_39.4, %addr.loc10) -// CHECK:STDOUT: %.loc10_40.2: ref %Optional.063 = temporary %.loc10_40.1, %EmptyRange.as.Iterate.impl.Next.call -// CHECK:STDOUT: %.loc10_40.3: %Optional.HasValue.type.0cd = specific_constant imports.%Core.import_ref.5cb, @Optional(constants.%Copy.facet) [concrete = constants.%Optional.HasValue.49d] -// CHECK:STDOUT: %HasValue.ref: %Optional.HasValue.type.0cd = name_ref HasValue, %.loc10_40.3 [concrete = constants.%Optional.HasValue.49d] +// CHECK:STDOUT: %.loc10_40.1: ref %Optional.c31 = temporary_storage +// CHECK:STDOUT: %.loc10_39.4: %EmptyRange.63c = acquire_value %.loc10_39.2 +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.call: init %Optional.c31 to %.loc10_40.1 = call %bound_method.loc10_40.4(%.loc10_39.4, %addr.loc10) +// CHECK:STDOUT: %.loc10_40.2: ref %Optional.c31 = temporary %.loc10_40.1, %EmptyRange.as.Iterate.impl.Next.call +// CHECK:STDOUT: %.loc10_40.3: %Optional.HasValue.type.9f9 = specific_constant imports.%Core.import_ref.f0a, @Optional(constants.%Copy.facet) [concrete = constants.%Optional.HasValue.9ac] +// CHECK:STDOUT: %HasValue.ref: %Optional.HasValue.type.9f9 = name_ref HasValue, %.loc10_40.3 [concrete = constants.%Optional.HasValue.9ac] // CHECK:STDOUT: %Optional.HasValue.bound: = bound_method %.loc10_40.2, %HasValue.ref // CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %HasValue.ref, @Optional.HasValue(constants.%Copy.facet) [concrete = constants.%Optional.HasValue.specific_fn] // CHECK:STDOUT: %bound_method.loc10_40.5: = bound_method %.loc10_40.2, %Optional.HasValue.specific_fn -// CHECK:STDOUT: %.loc10_40.4: %Optional.063 = acquire_value %.loc10_40.2 +// CHECK:STDOUT: %.loc10_40.4: %Optional.c31 = acquire_value %.loc10_40.2 // CHECK:STDOUT: %Optional.HasValue.call: init bool = call %bound_method.loc10_40.5(%.loc10_40.4) // CHECK:STDOUT: %.loc10_40.5: bool = value_of_initializer %Optional.HasValue.call // CHECK:STDOUT: %.loc10_40.6: bool = converted %Optional.HasValue.call, %.loc10_40.5 @@ -425,31 +425,31 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: !for.body: // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt -// CHECK:STDOUT: %.loc10_40.7: %Optional.Get.type.a40 = specific_constant imports.%Core.import_ref.a91, @Optional(constants.%Copy.facet) [concrete = constants.%Optional.Get.514] -// CHECK:STDOUT: %Get.ref: %Optional.Get.type.a40 = name_ref Get, %.loc10_40.7 [concrete = constants.%Optional.Get.514] +// CHECK:STDOUT: %.loc10_40.7: %Optional.Get.type.b89 = specific_constant imports.%Core.import_ref.0ac, @Optional(constants.%Copy.facet) [concrete = constants.%Optional.Get.b6e] +// CHECK:STDOUT: %Get.ref: %Optional.Get.type.b89 = name_ref Get, %.loc10_40.7 [concrete = constants.%Optional.Get.b6e] // CHECK:STDOUT: %Optional.Get.bound: = bound_method %.loc10_40.2, %Get.ref // CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Get.ref, @Optional.Get(constants.%Copy.facet) [concrete = constants.%Optional.Get.specific_fn] // CHECK:STDOUT: %bound_method.loc10_40.6: = bound_method %.loc10_40.2, %Optional.Get.specific_fn // CHECK:STDOUT: %.loc10_8: ref %C = splice_block %c.var {} -// CHECK:STDOUT: %.loc10_40.8: %Optional.063 = acquire_value %.loc10_40.2 +// CHECK:STDOUT: %.loc10_40.8: %Optional.c31 = acquire_value %.loc10_40.2 // CHECK:STDOUT: %Optional.Get.call: init %C to %.loc10_8 = call %bound_method.loc10_40.6(%.loc10_40.8) // CHECK:STDOUT: assign %c.var, %Optional.Get.call // CHECK:STDOUT: %C.ref.loc10_15: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var // CHECK:STDOUT: %Body.ref: %Body.type = name_ref Body, file.%Body.decl [concrete = constants.%Body] // CHECK:STDOUT: %c.ref: ref %C = name_ref c, %c -// CHECK:STDOUT: %addr.loc11: %ptr.9ec = addr_of %c.ref +// CHECK:STDOUT: %addr.loc11: %ptr.6be = addr_of %c.ref // CHECK:STDOUT: %Body.call: init %empty_tuple.type = call %Body.ref(%addr.loc11) // CHECK:STDOUT: br !for.next // CHECK:STDOUT: // CHECK:STDOUT: !for.done: -// CHECK:STDOUT: %Destroy.Op.bound.loc10_8: = bound_method %c.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_8: = bound_method %c.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc10_8: init %empty_tuple.type = call %Destroy.Op.bound.loc10_8(%c.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc10_40.1: = bound_method %.loc10_40.2, constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_40.1: = bound_method %.loc10_40.2, constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: %Destroy.Op.call.loc10_40.1: init %empty_tuple.type = call %Destroy.Op.bound.loc10_40.1(%.loc10_40.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc10_40.2: = bound_method %var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_40.2: = bound_method %var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc10_40.2: init %empty_tuple.type = call %Destroy.Op.bound.loc10_40.2(%var) -// CHECK:STDOUT: %Destroy.Op.bound.loc10_39: = bound_method %.loc10_39.2, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_39: = bound_method %.loc10_39.2, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call.loc10_39: init %empty_tuple.type = call %Destroy.Op.bound.loc10_39(%.loc10_39.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -463,17 +463,17 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_40.1(%self.param: ref bool) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_40.2(%self.param: ref %struct_type.has_value.value.806) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_40.2(%self.param: ref %struct_type.has_value.value.4de) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_40.3(%self.param: ref %Optional.063) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_40.3(%self.param: ref %Optional.c31) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_39(%self.param: ref %EmptyRange.29c) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_39(%self.param: ref %EmptyRange.63c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -492,77 +492,77 @@ fn Run() { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.baf: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %EmptyRange.Make.type.c22: type = fn_type @EmptyRange.Make, @EmptyRange(%T.baf) [symbolic] -// CHECK:STDOUT: %EmptyRange.Make.9cb: %EmptyRange.Make.type.c22 = struct_value () [symbolic] +// CHECK:STDOUT: %EmptyRange.Make.type.648: type = fn_type @EmptyRange.Make, @EmptyRange(%T.baf) [symbolic] +// CHECK:STDOUT: %EmptyRange.Make.317: %EmptyRange.Make.type.648 = struct_value () [symbolic] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] // CHECK:STDOUT: %tuple.9fa: %tuple.type.24b = tuple_value (bool, bool) [concrete] // CHECK:STDOUT: %U: %Copy.type = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %tuple.type.as.Copy.impl.Op.type.688: type = fn_type @tuple.type.as.Copy.impl.Op.1, @tuple.type.as.Copy.impl.27a(%T.baf, %U) [symbolic] // CHECK:STDOUT: %tuple.type.as.Copy.impl.Op.0cf: %tuple.type.as.Copy.impl.Op.type.688 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.a0b: = impl_witness imports.%Copy.impl_witness_table.8f5 [concrete] -// CHECK:STDOUT: %Copy.facet.b8c: %Copy.type = facet_value bool, (%Copy.impl_witness.a0b) [concrete] -// CHECK:STDOUT: %Copy.impl_witness.56e: = impl_witness imports.%Copy.impl_witness_table.1e8, @tuple.type.as.Copy.impl.27a(%Copy.facet.b8c, %Copy.facet.b8c) [concrete] -// CHECK:STDOUT: %Copy.facet.581: %Copy.type = facet_value %tuple.type.784, (%Copy.impl_witness.56e) [concrete] -// CHECK:STDOUT: %EmptyRange.34b: type = class_type @EmptyRange, @EmptyRange(%Copy.facet.581) [concrete] -// CHECK:STDOUT: %EmptyRange.Make.type.01d: type = fn_type @EmptyRange.Make, @EmptyRange(%Copy.facet.581) [concrete] -// CHECK:STDOUT: %EmptyRange.Make.915: %EmptyRange.Make.type.01d = struct_value () [concrete] +// CHECK:STDOUT: %Copy.impl_witness.9d2: = impl_witness imports.%Copy.impl_witness_table.82b [concrete] +// CHECK:STDOUT: %Copy.facet.e28: %Copy.type = facet_value bool, (%Copy.impl_witness.9d2) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.590: = impl_witness imports.%Copy.impl_witness_table.65e, @tuple.type.as.Copy.impl.27a(%Copy.facet.e28, %Copy.facet.e28) [concrete] +// CHECK:STDOUT: %Copy.facet.498: %Copy.type = facet_value %tuple.type.784, (%Copy.impl_witness.590) [concrete] +// CHECK:STDOUT: %EmptyRange.d6b: type = class_type @EmptyRange, @EmptyRange(%Copy.facet.498) [concrete] +// CHECK:STDOUT: %EmptyRange.Make.type.5dd: type = fn_type @EmptyRange.Make, @EmptyRange(%Copy.facet.498) [concrete] +// CHECK:STDOUT: %EmptyRange.Make.268: %EmptyRange.Make.type.5dd = struct_value () [concrete] // CHECK:STDOUT: %ptr.c28: type = ptr_type %empty_struct_type [concrete] -// CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %EmptyRange.Make.915, @EmptyRange.Make(%Copy.facet.581) [concrete] +// CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %EmptyRange.Make.268, @EmptyRange.Make(%Copy.facet.498) [concrete] // CHECK:STDOUT: %Iterate.type: type = facet_type <@Iterate> [concrete] -// CHECK:STDOUT: %Optional.Get.type.dc8: type = fn_type @Optional.Get, @Optional(%T.baf) [symbolic] -// CHECK:STDOUT: %Optional.Get.ead: %Optional.Get.type.dc8 = struct_value () [symbolic] -// CHECK:STDOUT: %Optional.HasValue.type.ae5: type = fn_type @Optional.HasValue, @Optional(%T.baf) [symbolic] -// CHECK:STDOUT: %Optional.HasValue.959: %Optional.HasValue.type.ae5 = struct_value () [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.bf5: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.545: %EmptyRange.as.Iterate.impl.Next.type.bf5 = struct_value () [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.3ac: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.f9c: %EmptyRange.as.Iterate.impl.NewCursor.type.3ac = struct_value () [symbolic] -// CHECK:STDOUT: %Iterate.impl_witness.ca9: = impl_witness imports.%Iterate.impl_witness_table, @EmptyRange.as.Iterate.impl(%Copy.facet.581) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.fd8: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%Copy.facet.581) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.bf0: %EmptyRange.as.Iterate.impl.NewCursor.type.fd8 = struct_value () [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.f25: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%Copy.facet.581) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.ef8: %EmptyRange.as.Iterate.impl.Next.type.f25 = struct_value () [concrete] -// CHECK:STDOUT: %Iterate.facet: %Iterate.type = facet_value %EmptyRange.34b, (%Iterate.impl_witness.ca9) [concrete] -// CHECK:STDOUT: %Iterate.WithSelf.NewCursor.type.6be: type = fn_type @Iterate.WithSelf.NewCursor, @Iterate.WithSelf(%Iterate.facet) [concrete] -// CHECK:STDOUT: %Iterate.WithSelf.Next.type.138: type = fn_type @Iterate.WithSelf.Next, @Iterate.WithSelf(%Iterate.facet) [concrete] -// CHECK:STDOUT: %.34e: type = fn_type_with_self_type %Iterate.WithSelf.NewCursor.type.6be, %Iterate.facet [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.NewCursor.bf0, @EmptyRange.as.Iterate.impl.NewCursor(%Copy.facet.581) [concrete] -// CHECK:STDOUT: %.2aa: type = fn_type_with_self_type %Iterate.WithSelf.Next.type.138, %Iterate.facet [concrete] -// CHECK:STDOUT: %Optional.6c5: type = class_type @Optional, @Optional(%Copy.facet.581) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.Next.ef8, @EmptyRange.as.Iterate.impl.Next(%Copy.facet.581) [concrete] -// CHECK:STDOUT: %Optional.HasValue.type.ed5: type = fn_type @Optional.HasValue, @Optional(%Copy.facet.581) [concrete] -// CHECK:STDOUT: %Optional.HasValue.b4c: %Optional.HasValue.type.ed5 = struct_value () [concrete] -// CHECK:STDOUT: %Optional.Get.type.8a5: type = fn_type @Optional.Get, @Optional(%Copy.facet.581) [concrete] -// CHECK:STDOUT: %Optional.Get.96e: %Optional.Get.type.8a5 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.Get.type.eeb: type = fn_type @Optional.Get, @Optional(%T.baf) [symbolic] +// CHECK:STDOUT: %Optional.Get.82b: %Optional.Get.type.eeb = struct_value () [symbolic] +// CHECK:STDOUT: %Optional.HasValue.type.f4b: type = fn_type @Optional.HasValue, @Optional(%T.baf) [symbolic] +// CHECK:STDOUT: %Optional.HasValue.40a: %Optional.HasValue.type.f4b = struct_value () [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.7ff: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.4c5: %EmptyRange.as.Iterate.impl.Next.type.7ff = struct_value () [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.9ee: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.966: %EmptyRange.as.Iterate.impl.NewCursor.type.9ee = struct_value () [symbolic] +// CHECK:STDOUT: %Iterate.impl_witness.5f9: = impl_witness imports.%Iterate.impl_witness_table, @EmptyRange.as.Iterate.impl(%Copy.facet.498) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.324: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%Copy.facet.498) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.769: %EmptyRange.as.Iterate.impl.NewCursor.type.324 = struct_value () [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.63d: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%Copy.facet.498) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.74e: %EmptyRange.as.Iterate.impl.Next.type.63d = struct_value () [concrete] +// CHECK:STDOUT: %Iterate.facet: %Iterate.type = facet_value %EmptyRange.d6b, (%Iterate.impl_witness.5f9) [concrete] +// CHECK:STDOUT: %Iterate.WithSelf.NewCursor.type.7f4: type = fn_type @Iterate.WithSelf.NewCursor, @Iterate.WithSelf(%Iterate.facet) [concrete] +// CHECK:STDOUT: %Iterate.WithSelf.Next.type.d05: type = fn_type @Iterate.WithSelf.Next, @Iterate.WithSelf(%Iterate.facet) [concrete] +// CHECK:STDOUT: %.277: type = fn_type_with_self_type %Iterate.WithSelf.NewCursor.type.7f4, %Iterate.facet [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.NewCursor.769, @EmptyRange.as.Iterate.impl.NewCursor(%Copy.facet.498) [concrete] +// CHECK:STDOUT: %.e77: type = fn_type_with_self_type %Iterate.WithSelf.Next.type.d05, %Iterate.facet [concrete] +// CHECK:STDOUT: %Optional.62d: type = class_type @Optional, @Optional(%Copy.facet.498) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.Next.74e, @EmptyRange.as.Iterate.impl.Next(%Copy.facet.498) [concrete] +// CHECK:STDOUT: %Optional.HasValue.type.2b7: type = fn_type @Optional.HasValue, @Optional(%Copy.facet.498) [concrete] +// CHECK:STDOUT: %Optional.HasValue.a1d: %Optional.HasValue.type.2b7 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.Get.type.cf8: type = fn_type @Optional.Get, @Optional(%Copy.facet.498) [concrete] +// CHECK:STDOUT: %Optional.Get.904: %Optional.Get.type.cf8 = struct_value () [concrete] // CHECK:STDOUT: %struct_type.has_value.value.6f9: type = struct_type {.has_value: bool, .value: %tuple.type.784} [concrete] -// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %Optional.HasValue.b4c, @Optional.HasValue(%Copy.facet.581) [concrete] -// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Optional.Get.96e, @Optional.Get(%Copy.facet.581) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc10_61.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc10_61.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc10_61.5 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc10_60 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %Optional.HasValue.a1d, @Optional.HasValue(%Copy.facet.498) [concrete] +// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Optional.Get.904, @Optional.Get(%Copy.facet.498) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc10_61.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc10_61.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc10_61.5 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc10_60 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.type: type = fn_type @bool.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op: %bool.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.EmptyRange: %EmptyRange.type = import_ref Main//empty_range, EmptyRange, loaded [concrete = constants.%EmptyRange.generic] -// CHECK:STDOUT: %Main.import_ref.7f2: @EmptyRange.%EmptyRange.Make.type (%EmptyRange.Make.type.c22) = import_ref Main//empty_range, loc5_21, loaded [symbolic = @EmptyRange.%EmptyRange.Make (constants.%EmptyRange.Make.9cb)] -// CHECK:STDOUT: %Core.import_ref.cc0: @tuple.type.as.Copy.impl.27a.%tuple.type.as.Copy.impl.Op.type (%tuple.type.as.Copy.impl.Op.type.688) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @tuple.type.as.Copy.impl.27a.%tuple.type.as.Copy.impl.Op (constants.%tuple.type.as.Copy.impl.Op.0cf)] -// CHECK:STDOUT: %Copy.impl_witness_table.1e8 = impl_witness_table (%Core.import_ref.cc0), @tuple.type.as.Copy.impl.27a [concrete] -// CHECK:STDOUT: %Core.import_ref.41e: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.8f5 = impl_witness_table (%Core.import_ref.41e), @bool.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.5cb: @Optional.%Optional.HasValue.type (%Optional.HasValue.type.ae5) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.HasValue (constants.%Optional.HasValue.959)] -// CHECK:STDOUT: %Core.import_ref.a91: @Optional.%Optional.Get.type (%Optional.Get.type.dc8) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.Get (constants.%Optional.Get.ead)] -// CHECK:STDOUT: %Main.import_ref.30c = import_ref Main//empty_range, loc7_68, unloaded +// CHECK:STDOUT: %Main.import_ref.a8b: @EmptyRange.%EmptyRange.Make.type (%EmptyRange.Make.type.648) = import_ref Main//empty_range, loc5_21, loaded [symbolic = @EmptyRange.%EmptyRange.Make (constants.%EmptyRange.Make.317)] +// CHECK:STDOUT: %Core.import_ref.72a: @tuple.type.as.Copy.impl.27a.%tuple.type.as.Copy.impl.Op.type (%tuple.type.as.Copy.impl.Op.type.688) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @tuple.type.as.Copy.impl.27a.%tuple.type.as.Copy.impl.Op (constants.%tuple.type.as.Copy.impl.Op.0cf)] +// CHECK:STDOUT: %Copy.impl_witness_table.65e = impl_witness_table (%Core.import_ref.72a), @tuple.type.as.Copy.impl.27a [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.82b = impl_witness_table (%Core.import_ref.f63), @bool.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f0a: @Optional.%Optional.HasValue.type (%Optional.HasValue.type.f4b) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.HasValue (constants.%Optional.HasValue.40a)] +// CHECK:STDOUT: %Core.import_ref.0ac: @Optional.%Optional.Get.type (%Optional.Get.type.eeb) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.Get (constants.%Optional.Get.82b)] +// CHECK:STDOUT: %Main.import_ref.e5a = import_ref Main//empty_range, loc7_68, unloaded // CHECK:STDOUT: %Main.import_ref.999 = import_ref Main//empty_range, loc7_68, unloaded -// CHECK:STDOUT: %Main.import_ref.2bf: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor.type (%EmptyRange.as.Iterate.impl.NewCursor.type.3ac) = import_ref Main//empty_range, loc8_45, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor (constants.%EmptyRange.as.Iterate.impl.NewCursor.f9c)] -// CHECK:STDOUT: %Main.import_ref.cc1: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next.type (%EmptyRange.as.Iterate.impl.Next.type.bf5) = import_ref Main//empty_range, loc11_72, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next (constants.%EmptyRange.as.Iterate.impl.Next.545)] -// CHECK:STDOUT: %Iterate.impl_witness_table = impl_witness_table (%Main.import_ref.30c, %Main.import_ref.999, %Main.import_ref.2bf, %Main.import_ref.cc1), @EmptyRange.as.Iterate.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.e66: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor.type (%EmptyRange.as.Iterate.impl.NewCursor.type.9ee) = import_ref Main//empty_range, loc8_45, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor (constants.%EmptyRange.as.Iterate.impl.NewCursor.966)] +// CHECK:STDOUT: %Main.import_ref.1f9: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next.type (%EmptyRange.as.Iterate.impl.Next.type.7ff) = import_ref Main//empty_range, loc11_72, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next (constants.%EmptyRange.as.Iterate.impl.Next.4c5)] +// CHECK:STDOUT: %Iterate.impl_witness_table = impl_witness_table (%Main.import_ref.e5a, %Main.import_ref.999, %Main.import_ref.e66, %Main.import_ref.1f9), @EmptyRange.as.Iterate.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { @@ -576,20 +576,20 @@ fn Run() { // CHECK:STDOUT: %.loc10_42: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %.loc10_48: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %.loc10_52: %tuple.type.24b = tuple_literal (%.loc10_42, %.loc10_48) [concrete = constants.%tuple.9fa] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value constants.%tuple.type.784, (constants.%Copy.impl_witness.56e) [concrete = constants.%Copy.facet.581] -// CHECK:STDOUT: %.loc10_53: %Copy.type = converted %.loc10_52, %Copy.facet [concrete = constants.%Copy.facet.581] -// CHECK:STDOUT: %EmptyRange: type = class_type @EmptyRange, @EmptyRange(constants.%Copy.facet.581) [concrete = constants.%EmptyRange.34b] -// CHECK:STDOUT: %.loc10_54: %EmptyRange.Make.type.01d = specific_constant imports.%Main.import_ref.7f2, @EmptyRange(constants.%Copy.facet.581) [concrete = constants.%EmptyRange.Make.915] -// CHECK:STDOUT: %Make.ref: %EmptyRange.Make.type.01d = name_ref Make, %.loc10_54 [concrete = constants.%EmptyRange.Make.915] -// CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %Make.ref, @EmptyRange.Make(constants.%Copy.facet.581) [concrete = constants.%EmptyRange.Make.specific_fn] -// CHECK:STDOUT: %.loc10_60.1: ref %EmptyRange.34b = temporary_storage -// CHECK:STDOUT: %EmptyRange.Make.call: init %EmptyRange.34b to %.loc10_60.1 = call %EmptyRange.Make.specific_fn() -// CHECK:STDOUT: %.loc10_60.2: ref %EmptyRange.34b = temporary %.loc10_60.1, %EmptyRange.Make.call -// CHECK:STDOUT: %impl.elem2: %.34e = impl_witness_access constants.%Iterate.impl_witness.ca9, element2 [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.bf0] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value constants.%tuple.type.784, (constants.%Copy.impl_witness.590) [concrete = constants.%Copy.facet.498] +// CHECK:STDOUT: %.loc10_53: %Copy.type = converted %.loc10_52, %Copy.facet [concrete = constants.%Copy.facet.498] +// CHECK:STDOUT: %EmptyRange: type = class_type @EmptyRange, @EmptyRange(constants.%Copy.facet.498) [concrete = constants.%EmptyRange.d6b] +// CHECK:STDOUT: %.loc10_54: %EmptyRange.Make.type.5dd = specific_constant imports.%Main.import_ref.a8b, @EmptyRange(constants.%Copy.facet.498) [concrete = constants.%EmptyRange.Make.268] +// CHECK:STDOUT: %Make.ref: %EmptyRange.Make.type.5dd = name_ref Make, %.loc10_54 [concrete = constants.%EmptyRange.Make.268] +// CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %Make.ref, @EmptyRange.Make(constants.%Copy.facet.498) [concrete = constants.%EmptyRange.Make.specific_fn] +// CHECK:STDOUT: %.loc10_60.1: ref %EmptyRange.d6b = temporary_storage +// CHECK:STDOUT: %EmptyRange.Make.call: init %EmptyRange.d6b to %.loc10_60.1 = call %EmptyRange.Make.specific_fn() +// CHECK:STDOUT: %.loc10_60.2: ref %EmptyRange.d6b = temporary %.loc10_60.1, %EmptyRange.Make.call +// CHECK:STDOUT: %impl.elem2: %.277 = impl_witness_access constants.%Iterate.impl_witness.5f9, element2 [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.769] // CHECK:STDOUT: %bound_method.loc10_61.1: = bound_method %.loc10_60.2, %impl.elem2 -// CHECK:STDOUT: %specific_fn.loc10_61.1: = specific_function %impl.elem2, @EmptyRange.as.Iterate.impl.NewCursor(constants.%Copy.facet.581) [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.specific_fn] +// CHECK:STDOUT: %specific_fn.loc10_61.1: = specific_function %impl.elem2, @EmptyRange.as.Iterate.impl.NewCursor(constants.%Copy.facet.498) [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.specific_fn] // CHECK:STDOUT: %bound_method.loc10_61.2: = bound_method %.loc10_60.2, %specific_fn.loc10_61.1 -// CHECK:STDOUT: %.loc10_60.3: %EmptyRange.34b = acquire_value %.loc10_60.2 +// CHECK:STDOUT: %.loc10_60.3: %EmptyRange.d6b = acquire_value %.loc10_60.2 // CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.call: init %empty_struct_type = call %bound_method.loc10_61.2(%.loc10_60.3) // CHECK:STDOUT: %var: ref %empty_struct_type = var invalid // CHECK:STDOUT: assign %var, %EmptyRange.as.Iterate.impl.NewCursor.call @@ -597,33 +597,33 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: !for.next: // CHECK:STDOUT: %addr: %ptr.c28 = addr_of %var -// CHECK:STDOUT: %impl.elem3: %.2aa = impl_witness_access constants.%Iterate.impl_witness.ca9, element3 [concrete = constants.%EmptyRange.as.Iterate.impl.Next.ef8] +// CHECK:STDOUT: %impl.elem3: %.e77 = impl_witness_access constants.%Iterate.impl_witness.5f9, element3 [concrete = constants.%EmptyRange.as.Iterate.impl.Next.74e] // CHECK:STDOUT: %bound_method.loc10_61.3: = bound_method %.loc10_60.2, %impl.elem3 -// CHECK:STDOUT: %specific_fn.loc10_61.2: = specific_function %impl.elem3, @EmptyRange.as.Iterate.impl.Next(constants.%Copy.facet.581) [concrete = constants.%EmptyRange.as.Iterate.impl.Next.specific_fn] +// CHECK:STDOUT: %specific_fn.loc10_61.2: = specific_function %impl.elem3, @EmptyRange.as.Iterate.impl.Next(constants.%Copy.facet.498) [concrete = constants.%EmptyRange.as.Iterate.impl.Next.specific_fn] // CHECK:STDOUT: %bound_method.loc10_61.4: = bound_method %.loc10_60.2, %specific_fn.loc10_61.2 -// CHECK:STDOUT: %.loc10_61.1: ref %Optional.6c5 = temporary_storage -// CHECK:STDOUT: %.loc10_60.4: %EmptyRange.34b = acquire_value %.loc10_60.2 -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.call: init %Optional.6c5 to %.loc10_61.1 = call %bound_method.loc10_61.4(%.loc10_60.4, %addr) -// CHECK:STDOUT: %.loc10_61.2: ref %Optional.6c5 = temporary %.loc10_61.1, %EmptyRange.as.Iterate.impl.Next.call -// CHECK:STDOUT: %.loc10_61.3: %Optional.HasValue.type.ed5 = specific_constant imports.%Core.import_ref.5cb, @Optional(constants.%Copy.facet.581) [concrete = constants.%Optional.HasValue.b4c] -// CHECK:STDOUT: %HasValue.ref: %Optional.HasValue.type.ed5 = name_ref HasValue, %.loc10_61.3 [concrete = constants.%Optional.HasValue.b4c] +// CHECK:STDOUT: %.loc10_61.1: ref %Optional.62d = temporary_storage +// CHECK:STDOUT: %.loc10_60.4: %EmptyRange.d6b = acquire_value %.loc10_60.2 +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.call: init %Optional.62d to %.loc10_61.1 = call %bound_method.loc10_61.4(%.loc10_60.4, %addr) +// CHECK:STDOUT: %.loc10_61.2: ref %Optional.62d = temporary %.loc10_61.1, %EmptyRange.as.Iterate.impl.Next.call +// CHECK:STDOUT: %.loc10_61.3: %Optional.HasValue.type.2b7 = specific_constant imports.%Core.import_ref.f0a, @Optional(constants.%Copy.facet.498) [concrete = constants.%Optional.HasValue.a1d] +// CHECK:STDOUT: %HasValue.ref: %Optional.HasValue.type.2b7 = name_ref HasValue, %.loc10_61.3 [concrete = constants.%Optional.HasValue.a1d] // CHECK:STDOUT: %Optional.HasValue.bound: = bound_method %.loc10_61.2, %HasValue.ref -// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %HasValue.ref, @Optional.HasValue(constants.%Copy.facet.581) [concrete = constants.%Optional.HasValue.specific_fn] +// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %HasValue.ref, @Optional.HasValue(constants.%Copy.facet.498) [concrete = constants.%Optional.HasValue.specific_fn] // CHECK:STDOUT: %bound_method.loc10_61.5: = bound_method %.loc10_61.2, %Optional.HasValue.specific_fn -// CHECK:STDOUT: %.loc10_61.4: %Optional.6c5 = acquire_value %.loc10_61.2 +// CHECK:STDOUT: %.loc10_61.4: %Optional.62d = acquire_value %.loc10_61.2 // CHECK:STDOUT: %Optional.HasValue.call: init bool = call %bound_method.loc10_61.5(%.loc10_61.4) // CHECK:STDOUT: %.loc10_61.5: bool = value_of_initializer %Optional.HasValue.call // CHECK:STDOUT: %.loc10_61.6: bool = converted %Optional.HasValue.call, %.loc10_61.5 // CHECK:STDOUT: if %.loc10_61.6 br !for.body else br !for.done // CHECK:STDOUT: // CHECK:STDOUT: !for.body: -// CHECK:STDOUT: %.loc10_61.7: %Optional.Get.type.8a5 = specific_constant imports.%Core.import_ref.a91, @Optional(constants.%Copy.facet.581) [concrete = constants.%Optional.Get.96e] -// CHECK:STDOUT: %Get.ref: %Optional.Get.type.8a5 = name_ref Get, %.loc10_61.7 [concrete = constants.%Optional.Get.96e] +// CHECK:STDOUT: %.loc10_61.7: %Optional.Get.type.cf8 = specific_constant imports.%Core.import_ref.0ac, @Optional(constants.%Copy.facet.498) [concrete = constants.%Optional.Get.904] +// CHECK:STDOUT: %Get.ref: %Optional.Get.type.cf8 = name_ref Get, %.loc10_61.7 [concrete = constants.%Optional.Get.904] // CHECK:STDOUT: %Optional.Get.bound: = bound_method %.loc10_61.2, %Get.ref -// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Get.ref, @Optional.Get(constants.%Copy.facet.581) [concrete = constants.%Optional.Get.specific_fn] +// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Get.ref, @Optional.Get(constants.%Copy.facet.498) [concrete = constants.%Optional.Get.specific_fn] // CHECK:STDOUT: %bound_method.loc10_61.6: = bound_method %.loc10_61.2, %Optional.Get.specific_fn // CHECK:STDOUT: %.loc10_61.8: ref %tuple.type.784 = temporary_storage -// CHECK:STDOUT: %.loc10_61.9: %Optional.6c5 = acquire_value %.loc10_61.2 +// CHECK:STDOUT: %.loc10_61.9: %Optional.62d = acquire_value %.loc10_61.2 // CHECK:STDOUT: %Optional.Get.call: init %tuple.type.784 to %.loc10_61.8 = call %bound_method.loc10_61.6(%.loc10_61.9) // CHECK:STDOUT: %.loc10_61.10: ref %tuple.type.784 = temporary %.loc10_61.8, %Optional.Get.call // CHECK:STDOUT: %tuple.elem0: ref bool = tuple_access %.loc10_61.10, element0 @@ -641,13 +641,13 @@ fn Run() { // CHECK:STDOUT: br !for.next // CHECK:STDOUT: // CHECK:STDOUT: !for.done: -// CHECK:STDOUT: %Destroy.Op.bound.loc10_61.1: = bound_method %.loc10_61.10, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_61.1: = bound_method %.loc10_61.10, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc10_61.1: init %empty_tuple.type = call %Destroy.Op.bound.loc10_61.1(%.loc10_61.10) -// CHECK:STDOUT: %Destroy.Op.bound.loc10_61.2: = bound_method %.loc10_61.2, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_61.2: = bound_method %.loc10_61.2, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc10_61.2: init %empty_tuple.type = call %Destroy.Op.bound.loc10_61.2(%.loc10_61.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc10_61.3: = bound_method %var, constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_61.3: = bound_method %var, constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: %Destroy.Op.call.loc10_61.3: init %empty_tuple.type = call %Destroy.Op.bound.loc10_61.3(%var) -// CHECK:STDOUT: %Destroy.Op.bound.loc10_60: = bound_method %.loc10_60.2, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_60: = bound_method %.loc10_60.2, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call.loc10_60: init %empty_tuple.type = call %Destroy.Op.bound.loc10_60(%.loc10_60.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -664,14 +664,14 @@ fn Run() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_61.4(%self.param: ref %Optional.6c5) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_61.4(%self.param: ref %Optional.62d) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_61.5(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_60(%self.param: ref %EmptyRange.34b) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_60(%self.param: ref %EmptyRange.d6b) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -681,69 +681,69 @@ fn Run() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %pattern_type.fe3: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %Body.type: type = fn_type @Body [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Body: %Body.type = struct_value () [concrete] // CHECK:STDOUT: %ptr.c28: type = ptr_type %empty_struct_type [concrete] -// CHECK:STDOUT: %tuple.type.da0: type = tuple_type (%C, %C) [concrete] -// CHECK:STDOUT: %pattern_type.696: type = pattern_type %tuple.type.da0 [concrete] +// CHECK:STDOUT: %tuple.type.33d: type = tuple_type (%C, %C) [concrete] +// CHECK:STDOUT: %pattern_type.410: type = pattern_type %tuple.type.33d [concrete] // CHECK:STDOUT: %EmptyRange.type: type = generic_class_type @EmptyRange [concrete] // CHECK:STDOUT: %EmptyRange.generic: %EmptyRange.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.baf: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %EmptyRange.Make.type.f75: type = fn_type @EmptyRange.Make, @EmptyRange(%T.baf) [symbolic] -// CHECK:STDOUT: %EmptyRange.Make.a07: %EmptyRange.Make.type.f75 = struct_value () [symbolic] +// CHECK:STDOUT: %EmptyRange.Make.type.648: type = fn_type @EmptyRange.Make, @EmptyRange(%T.baf) [symbolic] +// CHECK:STDOUT: %EmptyRange.Make.317: %EmptyRange.Make.type.648 = struct_value () [symbolic] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.521: %tuple.type.24b = tuple_value (%C, %C) [concrete] +// CHECK:STDOUT: %tuple.201: %tuple.type.24b = tuple_value (%C, %C) [concrete] // CHECK:STDOUT: %U: %Copy.type = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %tuple.type.as.Copy.impl.Op.type.688: type = fn_type @tuple.type.as.Copy.impl.Op.1, @tuple.type.as.Copy.impl.27a(%T.baf, %U) [symbolic] // CHECK:STDOUT: %tuple.type.as.Copy.impl.Op.0cf: %tuple.type.as.Copy.impl.Op.type.688 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.ff3: = impl_witness imports.%Copy.impl_witness_table.460 [concrete] -// CHECK:STDOUT: %Copy.facet.68d: %Copy.type = facet_value %C, (%Copy.impl_witness.ff3) [concrete] -// CHECK:STDOUT: %Copy.impl_witness.17a: = impl_witness imports.%Copy.impl_witness_table.1e8, @tuple.type.as.Copy.impl.27a(%Copy.facet.68d, %Copy.facet.68d) [concrete] -// CHECK:STDOUT: %Copy.facet.9c8: %Copy.type = facet_value %tuple.type.da0, (%Copy.impl_witness.17a) [concrete] -// CHECK:STDOUT: %EmptyRange.ca4: type = class_type @EmptyRange, @EmptyRange(%Copy.facet.9c8) [concrete] -// CHECK:STDOUT: %EmptyRange.Make.type.fb3: type = fn_type @EmptyRange.Make, @EmptyRange(%Copy.facet.9c8) [concrete] -// CHECK:STDOUT: %EmptyRange.Make.0e7: %EmptyRange.Make.type.fb3 = struct_value () [concrete] -// CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %EmptyRange.Make.0e7, @EmptyRange.Make(%Copy.facet.9c8) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.b02: = impl_witness imports.%Copy.impl_witness_table.f49 [concrete] +// CHECK:STDOUT: %Copy.facet.a1f: %Copy.type = facet_value %C, (%Copy.impl_witness.b02) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.7ba: = impl_witness imports.%Copy.impl_witness_table.65e, @tuple.type.as.Copy.impl.27a(%Copy.facet.a1f, %Copy.facet.a1f) [concrete] +// CHECK:STDOUT: %Copy.facet.c7a: %Copy.type = facet_value %tuple.type.33d, (%Copy.impl_witness.7ba) [concrete] +// CHECK:STDOUT: %EmptyRange.29c: type = class_type @EmptyRange, @EmptyRange(%Copy.facet.c7a) [concrete] +// CHECK:STDOUT: %EmptyRange.Make.type.685: type = fn_type @EmptyRange.Make, @EmptyRange(%Copy.facet.c7a) [concrete] +// CHECK:STDOUT: %EmptyRange.Make.3e1: %EmptyRange.Make.type.685 = struct_value () [concrete] +// CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %EmptyRange.Make.3e1, @EmptyRange.Make(%Copy.facet.c7a) [concrete] // CHECK:STDOUT: %Iterate.type: type = facet_type <@Iterate> [concrete] -// CHECK:STDOUT: %Optional.Get.type.dc8: type = fn_type @Optional.Get, @Optional(%T.baf) [symbolic] -// CHECK:STDOUT: %Optional.Get.ead: %Optional.Get.type.dc8 = struct_value () [symbolic] -// CHECK:STDOUT: %Optional.HasValue.type.ae5: type = fn_type @Optional.HasValue, @Optional(%T.baf) [symbolic] -// CHECK:STDOUT: %Optional.HasValue.959: %Optional.HasValue.type.ae5 = struct_value () [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.724: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.76f: %EmptyRange.as.Iterate.impl.Next.type.724 = struct_value () [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.bae: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.fa4: %EmptyRange.as.Iterate.impl.NewCursor.type.bae = struct_value () [symbolic] -// CHECK:STDOUT: %Iterate.impl_witness.683: = impl_witness imports.%Iterate.impl_witness_table, @EmptyRange.as.Iterate.impl(%Copy.facet.9c8) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.c7d: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%Copy.facet.9c8) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.29e: %EmptyRange.as.Iterate.impl.NewCursor.type.c7d = struct_value () [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.ec1: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%Copy.facet.9c8) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.4e4: %EmptyRange.as.Iterate.impl.Next.type.ec1 = struct_value () [concrete] -// CHECK:STDOUT: %Iterate.facet: %Iterate.type = facet_value %EmptyRange.ca4, (%Iterate.impl_witness.683) [concrete] -// CHECK:STDOUT: %Iterate.WithSelf.NewCursor.type.6de: type = fn_type @Iterate.WithSelf.NewCursor, @Iterate.WithSelf(%Iterate.facet) [concrete] -// CHECK:STDOUT: %Iterate.WithSelf.Next.type.cc8: type = fn_type @Iterate.WithSelf.Next, @Iterate.WithSelf(%Iterate.facet) [concrete] -// CHECK:STDOUT: %.866: type = fn_type_with_self_type %Iterate.WithSelf.NewCursor.type.6de, %Iterate.facet [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.NewCursor.29e, @EmptyRange.as.Iterate.impl.NewCursor(%Copy.facet.9c8) [concrete] -// CHECK:STDOUT: %.d48: type = fn_type_with_self_type %Iterate.WithSelf.Next.type.cc8, %Iterate.facet [concrete] -// CHECK:STDOUT: %Optional.c01: type = class_type @Optional, @Optional(%Copy.facet.9c8) [concrete] -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.Next.4e4, @EmptyRange.as.Iterate.impl.Next(%Copy.facet.9c8) [concrete] -// CHECK:STDOUT: %Optional.HasValue.type.349: type = fn_type @Optional.HasValue, @Optional(%Copy.facet.9c8) [concrete] -// CHECK:STDOUT: %Optional.HasValue.d81: %Optional.HasValue.type.349 = struct_value () [concrete] -// CHECK:STDOUT: %Optional.Get.type.ce5: type = fn_type @Optional.Get, @Optional(%Copy.facet.9c8) [concrete] -// CHECK:STDOUT: %Optional.Get.fc5: %Optional.Get.type.ce5 = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.has_value.value.c3a: type = struct_type {.has_value: bool, .value: %tuple.type.da0} [concrete] -// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %Optional.HasValue.d81, @Optional.HasValue(%Copy.facet.9c8) [concrete] -// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Optional.Get.fc5, @Optional.Get(%Copy.facet.9c8) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc10_49.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc10_49.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc10_49.6 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.7: type = fn_type @Destroy.Op.loc10_48 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.7: %Destroy.Op.type.af7ec0.7 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.Get.type.eeb: type = fn_type @Optional.Get, @Optional(%T.baf) [symbolic] +// CHECK:STDOUT: %Optional.Get.82b: %Optional.Get.type.eeb = struct_value () [symbolic] +// CHECK:STDOUT: %Optional.HasValue.type.f4b: type = fn_type @Optional.HasValue, @Optional(%T.baf) [symbolic] +// CHECK:STDOUT: %Optional.HasValue.40a: %Optional.HasValue.type.f4b = struct_value () [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.7ff: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.4c5: %EmptyRange.as.Iterate.impl.Next.type.7ff = struct_value () [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.9ee: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%T.baf) [symbolic] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.966: %EmptyRange.as.Iterate.impl.NewCursor.type.9ee = struct_value () [symbolic] +// CHECK:STDOUT: %Iterate.impl_witness.bf1: = impl_witness imports.%Iterate.impl_witness_table, @EmptyRange.as.Iterate.impl(%Copy.facet.c7a) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.type.a18: type = fn_type @EmptyRange.as.Iterate.impl.NewCursor, @EmptyRange.as.Iterate.impl(%Copy.facet.c7a) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.69f: %EmptyRange.as.Iterate.impl.NewCursor.type.a18 = struct_value () [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.type.d08: type = fn_type @EmptyRange.as.Iterate.impl.Next, @EmptyRange.as.Iterate.impl(%Copy.facet.c7a) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.f4e: %EmptyRange.as.Iterate.impl.Next.type.d08 = struct_value () [concrete] +// CHECK:STDOUT: %Iterate.facet: %Iterate.type = facet_value %EmptyRange.29c, (%Iterate.impl_witness.bf1) [concrete] +// CHECK:STDOUT: %Iterate.WithSelf.NewCursor.type.07c: type = fn_type @Iterate.WithSelf.NewCursor, @Iterate.WithSelf(%Iterate.facet) [concrete] +// CHECK:STDOUT: %Iterate.WithSelf.Next.type.24c: type = fn_type @Iterate.WithSelf.Next, @Iterate.WithSelf(%Iterate.facet) [concrete] +// CHECK:STDOUT: %.18f: type = fn_type_with_self_type %Iterate.WithSelf.NewCursor.type.07c, %Iterate.facet [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.NewCursor.69f, @EmptyRange.as.Iterate.impl.NewCursor(%Copy.facet.c7a) [concrete] +// CHECK:STDOUT: %.528: type = fn_type_with_self_type %Iterate.WithSelf.Next.type.24c, %Iterate.facet [concrete] +// CHECK:STDOUT: %Optional.0dc: type = class_type @Optional, @Optional(%Copy.facet.c7a) [concrete] +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.specific_fn: = specific_function %EmptyRange.as.Iterate.impl.Next.f4e, @EmptyRange.as.Iterate.impl.Next(%Copy.facet.c7a) [concrete] +// CHECK:STDOUT: %Optional.HasValue.type.a14: type = fn_type @Optional.HasValue, @Optional(%Copy.facet.c7a) [concrete] +// CHECK:STDOUT: %Optional.HasValue.4a9: %Optional.HasValue.type.a14 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.Get.type.36e: type = fn_type @Optional.Get, @Optional(%Copy.facet.c7a) [concrete] +// CHECK:STDOUT: %Optional.Get.490: %Optional.Get.type.36e = struct_value () [concrete] +// CHECK:STDOUT: %struct_type.has_value.value.ecc: type = struct_type {.has_value: bool, .value: %tuple.type.33d} [concrete] +// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %Optional.HasValue.4a9, @Optional.HasValue(%Copy.facet.c7a) [concrete] +// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Optional.Get.490, @Optional.Get(%Copy.facet.c7a) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc10_49.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc10_49.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc10_49.6 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.7: type = fn_type @Destroy.Op.loc10_48 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.7: %Destroy.Op.type.790b3b.7 = struct_value () [concrete] // CHECK:STDOUT: %C.as.Copy.impl.Op.type: type = fn_type @C.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %C.as.Copy.impl.Op: %C.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -751,45 +751,45 @@ fn Run() { // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.EmptyRange: %EmptyRange.type = import_ref Main//empty_range, EmptyRange, loaded [concrete = constants.%EmptyRange.generic] // CHECK:STDOUT: %Main.C: type = import_ref Main//empty_range, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.792: @EmptyRange.%EmptyRange.Make.type (%EmptyRange.Make.type.f75) = import_ref Main//empty_range, loc5_21, loaded [symbolic = @EmptyRange.%EmptyRange.Make (constants.%EmptyRange.Make.a07)] -// CHECK:STDOUT: %Core.import_ref.cc0: @tuple.type.as.Copy.impl.27a.%tuple.type.as.Copy.impl.Op.type (%tuple.type.as.Copy.impl.Op.type.688) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @tuple.type.as.Copy.impl.27a.%tuple.type.as.Copy.impl.Op (constants.%tuple.type.as.Copy.impl.Op.0cf)] -// CHECK:STDOUT: %Copy.impl_witness_table.1e8 = impl_witness_table (%Core.import_ref.cc0), @tuple.type.as.Copy.impl.27a [concrete] -// CHECK:STDOUT: %Main.import_ref.eb5: %C.as.Copy.impl.Op.type = import_ref Main//empty_range, loc19_40, loaded [concrete = constants.%C.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.460 = impl_witness_table (%Main.import_ref.eb5), @C.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.5cb: @Optional.%Optional.HasValue.type (%Optional.HasValue.type.ae5) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.HasValue (constants.%Optional.HasValue.959)] -// CHECK:STDOUT: %Core.import_ref.a91: @Optional.%Optional.Get.type (%Optional.Get.type.dc8) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.Get (constants.%Optional.Get.ead)] -// CHECK:STDOUT: %Main.import_ref.30c = import_ref Main//empty_range, loc7_68, unloaded +// CHECK:STDOUT: %Main.import_ref.a8b: @EmptyRange.%EmptyRange.Make.type (%EmptyRange.Make.type.648) = import_ref Main//empty_range, loc5_21, loaded [symbolic = @EmptyRange.%EmptyRange.Make (constants.%EmptyRange.Make.317)] +// CHECK:STDOUT: %Core.import_ref.72a: @tuple.type.as.Copy.impl.27a.%tuple.type.as.Copy.impl.Op.type (%tuple.type.as.Copy.impl.Op.type.688) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @tuple.type.as.Copy.impl.27a.%tuple.type.as.Copy.impl.Op (constants.%tuple.type.as.Copy.impl.Op.0cf)] +// CHECK:STDOUT: %Copy.impl_witness_table.65e = impl_witness_table (%Core.import_ref.72a), @tuple.type.as.Copy.impl.27a [concrete] +// CHECK:STDOUT: %Main.import_ref.4f1: %C.as.Copy.impl.Op.type = import_ref Main//empty_range, loc19_40, loaded [concrete = constants.%C.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.f49 = impl_witness_table (%Main.import_ref.4f1), @C.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f0a: @Optional.%Optional.HasValue.type (%Optional.HasValue.type.f4b) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.HasValue (constants.%Optional.HasValue.40a)] +// CHECK:STDOUT: %Core.import_ref.0ac: @Optional.%Optional.Get.type (%Optional.Get.type.eeb) = import_ref Core//prelude/parts/iterate, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Optional.%Optional.Get (constants.%Optional.Get.82b)] +// CHECK:STDOUT: %Main.import_ref.e5a = import_ref Main//empty_range, loc7_68, unloaded // CHECK:STDOUT: %Main.import_ref.999 = import_ref Main//empty_range, loc7_68, unloaded -// CHECK:STDOUT: %Main.import_ref.007: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor.type (%EmptyRange.as.Iterate.impl.NewCursor.type.bae) = import_ref Main//empty_range, loc8_45, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor (constants.%EmptyRange.as.Iterate.impl.NewCursor.fa4)] -// CHECK:STDOUT: %Main.import_ref.575: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next.type (%EmptyRange.as.Iterate.impl.Next.type.724) = import_ref Main//empty_range, loc11_72, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next (constants.%EmptyRange.as.Iterate.impl.Next.76f)] -// CHECK:STDOUT: %Iterate.impl_witness_table = impl_witness_table (%Main.import_ref.30c, %Main.import_ref.999, %Main.import_ref.007, %Main.import_ref.575), @EmptyRange.as.Iterate.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.e66: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor.type (%EmptyRange.as.Iterate.impl.NewCursor.type.9ee) = import_ref Main//empty_range, loc8_45, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.NewCursor (constants.%EmptyRange.as.Iterate.impl.NewCursor.966)] +// CHECK:STDOUT: %Main.import_ref.1f9: @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next.type (%EmptyRange.as.Iterate.impl.Next.type.7ff) = import_ref Main//empty_range, loc11_72, loaded [symbolic = @EmptyRange.as.Iterate.impl.%EmptyRange.as.Iterate.impl.Next (constants.%EmptyRange.as.Iterate.impl.Next.4c5)] +// CHECK:STDOUT: %Iterate.impl_witness_table = impl_witness_table (%Main.import_ref.e5a, %Main.import_ref.999, %Main.import_ref.e66, %Main.import_ref.1f9), @EmptyRange.as.Iterate.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.fe3 = value_binding_pattern a [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.fe3 = value_binding_pattern b [concrete] -// CHECK:STDOUT: %.loc10_19: %pattern_type.696 = tuple_pattern (%a.patt, %b.patt) [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.0d5 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.0d5 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %.loc10_19: %pattern_type.410 = tuple_pattern (%a.patt, %b.patt) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %EmptyRange.ref: %EmptyRange.type = name_ref EmptyRange, imports.%Main.EmptyRange [concrete = constants.%EmptyRange.generic] // CHECK:STDOUT: %C.ref.loc10_36: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %C.ref.loc10_39: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %.loc10_40: %tuple.type.24b = tuple_literal (%C.ref.loc10_36, %C.ref.loc10_39) [concrete = constants.%tuple.521] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value constants.%tuple.type.da0, (constants.%Copy.impl_witness.17a) [concrete = constants.%Copy.facet.9c8] -// CHECK:STDOUT: %.loc10_41: %Copy.type = converted %.loc10_40, %Copy.facet [concrete = constants.%Copy.facet.9c8] -// CHECK:STDOUT: %EmptyRange: type = class_type @EmptyRange, @EmptyRange(constants.%Copy.facet.9c8) [concrete = constants.%EmptyRange.ca4] -// CHECK:STDOUT: %.loc10_42: %EmptyRange.Make.type.fb3 = specific_constant imports.%Main.import_ref.792, @EmptyRange(constants.%Copy.facet.9c8) [concrete = constants.%EmptyRange.Make.0e7] -// CHECK:STDOUT: %Make.ref: %EmptyRange.Make.type.fb3 = name_ref Make, %.loc10_42 [concrete = constants.%EmptyRange.Make.0e7] -// CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %Make.ref, @EmptyRange.Make(constants.%Copy.facet.9c8) [concrete = constants.%EmptyRange.Make.specific_fn] -// CHECK:STDOUT: %.loc10_48.1: ref %EmptyRange.ca4 = temporary_storage -// CHECK:STDOUT: %EmptyRange.Make.call: init %EmptyRange.ca4 to %.loc10_48.1 = call %EmptyRange.Make.specific_fn() -// CHECK:STDOUT: %.loc10_48.2: ref %EmptyRange.ca4 = temporary %.loc10_48.1, %EmptyRange.Make.call -// CHECK:STDOUT: %impl.elem2: %.866 = impl_witness_access constants.%Iterate.impl_witness.683, element2 [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.29e] +// CHECK:STDOUT: %.loc10_40: %tuple.type.24b = tuple_literal (%C.ref.loc10_36, %C.ref.loc10_39) [concrete = constants.%tuple.201] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value constants.%tuple.type.33d, (constants.%Copy.impl_witness.7ba) [concrete = constants.%Copy.facet.c7a] +// CHECK:STDOUT: %.loc10_41: %Copy.type = converted %.loc10_40, %Copy.facet [concrete = constants.%Copy.facet.c7a] +// CHECK:STDOUT: %EmptyRange: type = class_type @EmptyRange, @EmptyRange(constants.%Copy.facet.c7a) [concrete = constants.%EmptyRange.29c] +// CHECK:STDOUT: %.loc10_42: %EmptyRange.Make.type.685 = specific_constant imports.%Main.import_ref.a8b, @EmptyRange(constants.%Copy.facet.c7a) [concrete = constants.%EmptyRange.Make.3e1] +// CHECK:STDOUT: %Make.ref: %EmptyRange.Make.type.685 = name_ref Make, %.loc10_42 [concrete = constants.%EmptyRange.Make.3e1] +// CHECK:STDOUT: %EmptyRange.Make.specific_fn: = specific_function %Make.ref, @EmptyRange.Make(constants.%Copy.facet.c7a) [concrete = constants.%EmptyRange.Make.specific_fn] +// CHECK:STDOUT: %.loc10_48.1: ref %EmptyRange.29c = temporary_storage +// CHECK:STDOUT: %EmptyRange.Make.call: init %EmptyRange.29c to %.loc10_48.1 = call %EmptyRange.Make.specific_fn() +// CHECK:STDOUT: %.loc10_48.2: ref %EmptyRange.29c = temporary %.loc10_48.1, %EmptyRange.Make.call +// CHECK:STDOUT: %impl.elem2: %.18f = impl_witness_access constants.%Iterate.impl_witness.bf1, element2 [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.69f] // CHECK:STDOUT: %bound_method.loc10_49.1: = bound_method %.loc10_48.2, %impl.elem2 -// CHECK:STDOUT: %specific_fn.loc10_49.1: = specific_function %impl.elem2, @EmptyRange.as.Iterate.impl.NewCursor(constants.%Copy.facet.9c8) [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.specific_fn] +// CHECK:STDOUT: %specific_fn.loc10_49.1: = specific_function %impl.elem2, @EmptyRange.as.Iterate.impl.NewCursor(constants.%Copy.facet.c7a) [concrete = constants.%EmptyRange.as.Iterate.impl.NewCursor.specific_fn] // CHECK:STDOUT: %bound_method.loc10_49.2: = bound_method %.loc10_48.2, %specific_fn.loc10_49.1 -// CHECK:STDOUT: %.loc10_48.3: %EmptyRange.ca4 = acquire_value %.loc10_48.2 +// CHECK:STDOUT: %.loc10_48.3: %EmptyRange.29c = acquire_value %.loc10_48.2 // CHECK:STDOUT: %EmptyRange.as.Iterate.impl.NewCursor.call: init %empty_struct_type = call %bound_method.loc10_49.2(%.loc10_48.3) // CHECK:STDOUT: %var: ref %empty_struct_type = var invalid // CHECK:STDOUT: assign %var, %EmptyRange.as.Iterate.impl.NewCursor.call @@ -797,35 +797,35 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: !for.next: // CHECK:STDOUT: %addr: %ptr.c28 = addr_of %var -// CHECK:STDOUT: %impl.elem3: %.d48 = impl_witness_access constants.%Iterate.impl_witness.683, element3 [concrete = constants.%EmptyRange.as.Iterate.impl.Next.4e4] +// CHECK:STDOUT: %impl.elem3: %.528 = impl_witness_access constants.%Iterate.impl_witness.bf1, element3 [concrete = constants.%EmptyRange.as.Iterate.impl.Next.f4e] // CHECK:STDOUT: %bound_method.loc10_49.3: = bound_method %.loc10_48.2, %impl.elem3 -// CHECK:STDOUT: %specific_fn.loc10_49.2: = specific_function %impl.elem3, @EmptyRange.as.Iterate.impl.Next(constants.%Copy.facet.9c8) [concrete = constants.%EmptyRange.as.Iterate.impl.Next.specific_fn] +// CHECK:STDOUT: %specific_fn.loc10_49.2: = specific_function %impl.elem3, @EmptyRange.as.Iterate.impl.Next(constants.%Copy.facet.c7a) [concrete = constants.%EmptyRange.as.Iterate.impl.Next.specific_fn] // CHECK:STDOUT: %bound_method.loc10_49.4: = bound_method %.loc10_48.2, %specific_fn.loc10_49.2 -// CHECK:STDOUT: %.loc10_49.1: ref %Optional.c01 = temporary_storage -// CHECK:STDOUT: %.loc10_48.4: %EmptyRange.ca4 = acquire_value %.loc10_48.2 -// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.call: init %Optional.c01 to %.loc10_49.1 = call %bound_method.loc10_49.4(%.loc10_48.4, %addr) -// CHECK:STDOUT: %.loc10_49.2: ref %Optional.c01 = temporary %.loc10_49.1, %EmptyRange.as.Iterate.impl.Next.call -// CHECK:STDOUT: %.loc10_49.3: %Optional.HasValue.type.349 = specific_constant imports.%Core.import_ref.5cb, @Optional(constants.%Copy.facet.9c8) [concrete = constants.%Optional.HasValue.d81] -// CHECK:STDOUT: %HasValue.ref: %Optional.HasValue.type.349 = name_ref HasValue, %.loc10_49.3 [concrete = constants.%Optional.HasValue.d81] +// CHECK:STDOUT: %.loc10_49.1: ref %Optional.0dc = temporary_storage +// CHECK:STDOUT: %.loc10_48.4: %EmptyRange.29c = acquire_value %.loc10_48.2 +// CHECK:STDOUT: %EmptyRange.as.Iterate.impl.Next.call: init %Optional.0dc to %.loc10_49.1 = call %bound_method.loc10_49.4(%.loc10_48.4, %addr) +// CHECK:STDOUT: %.loc10_49.2: ref %Optional.0dc = temporary %.loc10_49.1, %EmptyRange.as.Iterate.impl.Next.call +// CHECK:STDOUT: %.loc10_49.3: %Optional.HasValue.type.a14 = specific_constant imports.%Core.import_ref.f0a, @Optional(constants.%Copy.facet.c7a) [concrete = constants.%Optional.HasValue.4a9] +// CHECK:STDOUT: %HasValue.ref: %Optional.HasValue.type.a14 = name_ref HasValue, %.loc10_49.3 [concrete = constants.%Optional.HasValue.4a9] // CHECK:STDOUT: %Optional.HasValue.bound: = bound_method %.loc10_49.2, %HasValue.ref -// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %HasValue.ref, @Optional.HasValue(constants.%Copy.facet.9c8) [concrete = constants.%Optional.HasValue.specific_fn] +// CHECK:STDOUT: %Optional.HasValue.specific_fn: = specific_function %HasValue.ref, @Optional.HasValue(constants.%Copy.facet.c7a) [concrete = constants.%Optional.HasValue.specific_fn] // CHECK:STDOUT: %bound_method.loc10_49.5: = bound_method %.loc10_49.2, %Optional.HasValue.specific_fn -// CHECK:STDOUT: %.loc10_49.4: %Optional.c01 = acquire_value %.loc10_49.2 +// CHECK:STDOUT: %.loc10_49.4: %Optional.0dc = acquire_value %.loc10_49.2 // CHECK:STDOUT: %Optional.HasValue.call: init bool = call %bound_method.loc10_49.5(%.loc10_49.4) // CHECK:STDOUT: %.loc10_49.5: bool = value_of_initializer %Optional.HasValue.call // CHECK:STDOUT: %.loc10_49.6: bool = converted %Optional.HasValue.call, %.loc10_49.5 // CHECK:STDOUT: if %.loc10_49.6 br !for.body else br !for.done // CHECK:STDOUT: // CHECK:STDOUT: !for.body: -// CHECK:STDOUT: %.loc10_49.7: %Optional.Get.type.ce5 = specific_constant imports.%Core.import_ref.a91, @Optional(constants.%Copy.facet.9c8) [concrete = constants.%Optional.Get.fc5] -// CHECK:STDOUT: %Get.ref: %Optional.Get.type.ce5 = name_ref Get, %.loc10_49.7 [concrete = constants.%Optional.Get.fc5] +// CHECK:STDOUT: %.loc10_49.7: %Optional.Get.type.36e = specific_constant imports.%Core.import_ref.0ac, @Optional(constants.%Copy.facet.c7a) [concrete = constants.%Optional.Get.490] +// CHECK:STDOUT: %Get.ref: %Optional.Get.type.36e = name_ref Get, %.loc10_49.7 [concrete = constants.%Optional.Get.490] // CHECK:STDOUT: %Optional.Get.bound: = bound_method %.loc10_49.2, %Get.ref -// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Get.ref, @Optional.Get(constants.%Copy.facet.9c8) [concrete = constants.%Optional.Get.specific_fn] +// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Get.ref, @Optional.Get(constants.%Copy.facet.c7a) [concrete = constants.%Optional.Get.specific_fn] // CHECK:STDOUT: %bound_method.loc10_49.6: = bound_method %.loc10_49.2, %Optional.Get.specific_fn -// CHECK:STDOUT: %.loc10_49.8: ref %tuple.type.da0 = temporary_storage -// CHECK:STDOUT: %.loc10_49.9: %Optional.c01 = acquire_value %.loc10_49.2 -// CHECK:STDOUT: %Optional.Get.call: init %tuple.type.da0 to %.loc10_49.8 = call %bound_method.loc10_49.6(%.loc10_49.9) -// CHECK:STDOUT: %.loc10_49.10: ref %tuple.type.da0 = temporary %.loc10_49.8, %Optional.Get.call +// CHECK:STDOUT: %.loc10_49.8: ref %tuple.type.33d = temporary_storage +// CHECK:STDOUT: %.loc10_49.9: %Optional.0dc = acquire_value %.loc10_49.2 +// CHECK:STDOUT: %Optional.Get.call: init %tuple.type.33d to %.loc10_49.8 = call %bound_method.loc10_49.6(%.loc10_49.9) +// CHECK:STDOUT: %.loc10_49.10: ref %tuple.type.33d = temporary %.loc10_49.8, %Optional.Get.call // CHECK:STDOUT: %tuple.elem0: ref %C = tuple_access %.loc10_49.10, element0 // CHECK:STDOUT: %tuple.elem1: ref %C = tuple_access %.loc10_49.10, element1 // CHECK:STDOUT: %C.ref.loc10_12: type = name_ref C, imports.%Main.C [concrete = constants.%C] @@ -841,13 +841,13 @@ fn Run() { // CHECK:STDOUT: br !for.next // CHECK:STDOUT: // CHECK:STDOUT: !for.done: -// CHECK:STDOUT: %Destroy.Op.bound.loc10_49.1: = bound_method %.loc10_49.10, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_49.1: = bound_method %.loc10_49.10, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc10_49.1: init %empty_tuple.type = call %Destroy.Op.bound.loc10_49.1(%.loc10_49.10) -// CHECK:STDOUT: %Destroy.Op.bound.loc10_49.2: = bound_method %.loc10_49.2, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_49.2: = bound_method %.loc10_49.2, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call.loc10_49.2: init %empty_tuple.type = call %Destroy.Op.bound.loc10_49.2(%.loc10_49.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc10_49.3: = bound_method %var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_49.3: = bound_method %var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc10_49.3: init %empty_tuple.type = call %Destroy.Op.bound.loc10_49.3(%var) -// CHECK:STDOUT: %Destroy.Op.bound.loc10_48: = bound_method %.loc10_48.2, constants.%Destroy.Op.1dc86d.7 +// CHECK:STDOUT: %Destroy.Op.bound.loc10_48: = bound_method %.loc10_48.2, constants.%Destroy.Op.2dd605.7 // CHECK:STDOUT: %Destroy.Op.call.loc10_48: init %empty_tuple.type = call %Destroy.Op.bound.loc10_48(%.loc10_48.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -859,24 +859,24 @@ fn Run() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_49.3(%self.param: ref %tuple.type.da0) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_49.3(%self.param: ref %tuple.type.33d) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_49.4(%self.param: ref bool) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_49.5(%self.param: ref %struct_type.has_value.value.c3a) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_49.5(%self.param: ref %struct_type.has_value.value.ecc) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_49.6(%self.param: ref %Optional.c01) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_49.6(%self.param: ref %Optional.0dc) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_48(%self.param: ref %EmptyRange.ca4) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_48(%self.param: ref %EmptyRange.29c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/builtin/adapted_type.carbon b/toolchain/check/testdata/function/builtin/adapted_type.carbon index 5464a07a64dc..adbfe531280f 100644 --- a/toolchain/check/testdata/function/builtin/adapted_type.carbon +++ b/toolchain/check/testdata/function/builtin/adapted_type.carbon @@ -59,26 +59,26 @@ fn Int(N: MyIntLiteral) -> type = "int.make_type_signed"; // CHECK:STDOUT: %IntLiteral: %IntLiteral.type = struct_value () [concrete] // CHECK:STDOUT: %MyIntLiteral: type = class_type @MyIntLiteral [concrete] // CHECK:STDOUT: %complete_type.972: = complete_type_witness Core.IntLiteral [concrete] -// CHECK:STDOUT: %pattern_type.ec3: type = pattern_type %MyIntLiteral [concrete] +// CHECK:STDOUT: %pattern_type.a3c: type = pattern_type %MyIntLiteral [concrete] // CHECK:STDOUT: %Int.type: type = fn_type @Int [concrete] // CHECK:STDOUT: %Int: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %MyInt32: type = class_type @MyInt32 [concrete] // CHECK:STDOUT: %int_32.be0: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %int_32.211: %MyIntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32.211 [concrete] -// CHECK:STDOUT: %.816: Core.Form = init_form %MyInt32 [concrete] -// CHECK:STDOUT: %pattern_type.412: type = pattern_type %MyInt32 [concrete] +// CHECK:STDOUT: %int_32.027: %MyIntLiteral = int_value 32 [concrete] +// CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32.027 [concrete] +// CHECK:STDOUT: %.9de: Core.Form = init_form %MyInt32 [concrete] +// CHECK:STDOUT: %pattern_type.e51: type = pattern_type %MyInt32 [concrete] // CHECK:STDOUT: %MyInt32.Make.type: type = fn_type @MyInt32.Make [concrete] // CHECK:STDOUT: %MyInt32.Make: %MyInt32.Make.type = struct_value () [concrete] -// CHECK:STDOUT: %complete_type.cd8: = complete_type_witness %i32.builtin [concrete] +// CHECK:STDOUT: %complete_type.509: = complete_type_witness %i32.builtin [concrete] // CHECK:STDOUT: %MyAdd.type: type = fn_type @MyAdd [concrete] // CHECK:STDOUT: %MyAdd: %MyAdd.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %int_1.6fb: %MyIntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %int_1.568: %MyInt32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.1f0: %MyIntLiteral = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.873: %MyInt32 = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %int_2.496: %MyIntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %int_2.558: %MyInt32 = int_value 2 [concrete] +// CHECK:STDOUT: %int_2.e89: %MyIntLiteral = int_value 2 [concrete] +// CHECK:STDOUT: %int_2.06a: %MyInt32 = int_value 2 [concrete] // CHECK:STDOUT: %int_3: %MyInt32 = int_value 3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -102,8 +102,8 @@ fn Int(N: MyIntLiteral) -> type = "int.make_type_signed"; // CHECK:STDOUT: } // CHECK:STDOUT: %MyIntLiteral.decl: type = class_decl @MyIntLiteral [concrete = constants.%MyIntLiteral] {} {} // CHECK:STDOUT: %Int.decl: %Int.type = fn_decl @Int [concrete = constants.%Int] { -// CHECK:STDOUT: %N.param_patt: %pattern_type.ec3 = value_param_pattern [concrete] -// CHECK:STDOUT: %N.patt: %pattern_type.ec3 = at_binding_pattern N, %N.param_patt [concrete] +// CHECK:STDOUT: %N.param_patt: %pattern_type.a3c = value_param_pattern [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.a3c = at_binding_pattern N, %N.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.98f = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.98f = return_slot_pattern %return.param_patt, %.loc10_28.1 [concrete] // CHECK:STDOUT: } { @@ -117,13 +117,13 @@ fn Int(N: MyIntLiteral) -> type = "int.make_type_signed"; // CHECK:STDOUT: } // CHECK:STDOUT: %MyInt32.decl: type = class_decl @MyInt32 [concrete = constants.%MyInt32] {} {} // CHECK:STDOUT: %MyInt32.Make.decl: %MyInt32.Make.type = fn_decl @MyInt32.Make [concrete = constants.%MyInt32.Make] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.ec3 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.ec3 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.412 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.412 = return_slot_pattern %return.param_patt, %MyInt32.ref.loc18 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.a3c = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.a3c = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.e51 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.e51 = return_slot_pattern %return.param_patt, %MyInt32.ref.loc18 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %MyInt32.ref.loc18: type = name_ref MyInt32, file.%MyInt32.decl [concrete = constants.%MyInt32] -// CHECK:STDOUT: %.loc18: Core.Form = init_form %MyInt32.ref.loc18 [concrete = constants.%.816] +// CHECK:STDOUT: %.loc18: Core.Form = init_form %MyInt32.ref.loc18 [concrete = constants.%.9de] // CHECK:STDOUT: %a.param.loc18: %MyIntLiteral = value_param call_param0 // CHECK:STDOUT: %MyIntLiteral.ref.loc18: type = name_ref MyIntLiteral, file.%MyIntLiteral.decl [concrete = constants.%MyIntLiteral] // CHECK:STDOUT: %a.loc18: %MyIntLiteral = value_binding a, %a.param.loc18 @@ -131,15 +131,15 @@ fn Int(N: MyIntLiteral) -> type = "int.make_type_signed"; // CHECK:STDOUT: %return.loc18: ref %MyInt32 = return_slot %return.param.loc18 // CHECK:STDOUT: } // CHECK:STDOUT: %MyAdd.decl: %MyAdd.type = fn_decl @MyAdd [concrete = constants.%MyAdd] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.412 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.412 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.412 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.412 = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.412 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.412 = return_slot_pattern %return.param_patt, %MyInt32.ref.loc20_37 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.e51 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.e51 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.e51 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.e51 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.e51 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.e51 = return_slot_pattern %return.param_patt, %MyInt32.ref.loc20_37 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %MyInt32.ref.loc20_37: type = name_ref MyInt32, file.%MyInt32.decl [concrete = constants.%MyInt32] -// CHECK:STDOUT: %.loc20: Core.Form = init_form %MyInt32.ref.loc20_37 [concrete = constants.%.816] +// CHECK:STDOUT: %.loc20: Core.Form = init_form %MyInt32.ref.loc20_37 [concrete = constants.%.9de] // CHECK:STDOUT: %a.param: %MyInt32 = value_param call_param0 // CHECK:STDOUT: %MyInt32.ref.loc20_13: type = name_ref MyInt32, file.%MyInt32.decl [concrete = constants.%MyInt32] // CHECK:STDOUT: %a: %MyInt32 = value_binding a, %a.param @@ -150,8 +150,8 @@ fn Int(N: MyIntLiteral) -> type = "int.make_type_signed"; // CHECK:STDOUT: %return: ref %MyInt32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.412 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.412 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.e51 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.e51 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %MyInt32 = var %v.var_patt [concrete] // CHECK:STDOUT: %MyInt32.ref: type = name_ref MyInt32, %MyInt32.decl [concrete = constants.%MyInt32] @@ -176,27 +176,27 @@ fn Int(N: MyIntLiteral) -> type = "int.make_type_signed"; // CHECK:STDOUT: %Int.ref: %Int.type = name_ref Int, file.%Int.decl [concrete = constants.%Int] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete = constants.%int_32.be0] // CHECK:STDOUT: %MyIntLiteral.ref: type = name_ref MyIntLiteral, file.%MyIntLiteral.decl [concrete = constants.%MyIntLiteral] -// CHECK:STDOUT: %.loc13_16.1: %MyIntLiteral = as_compatible %int_32 [concrete = constants.%int_32.211] -// CHECK:STDOUT: %.loc13_16.2: %MyIntLiteral = converted %int_32, %.loc13_16.1 [concrete = constants.%int_32.211] +// CHECK:STDOUT: %.loc13_16.1: %MyIntLiteral = as_compatible %int_32 [concrete = constants.%int_32.027] +// CHECK:STDOUT: %.loc13_16.2: %MyIntLiteral = converted %int_32, %.loc13_16.1 [concrete = constants.%int_32.027] // CHECK:STDOUT: %Int.call: init type = call %Int.ref(%.loc13_16.2) [concrete = constants.%i32.builtin] // CHECK:STDOUT: %.loc13_32.1: type = value_of_initializer %Int.call [concrete = constants.%i32.builtin] // CHECK:STDOUT: %.loc13_32.2: type = converted %Int.call, %.loc13_32.1 [concrete = constants.%i32.builtin] // CHECK:STDOUT: adapt_decl %.loc13_32.2 [concrete] // CHECK:STDOUT: %MyInt32.Make.decl: %MyInt32.Make.type = fn_decl @MyInt32.Make [concrete = constants.%MyInt32.Make] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.ec3 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.ec3 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.412 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.412 = return_slot_pattern %return.param_patt, %MyInt32.ref.loc18 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.a3c = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.a3c = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.e51 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.e51 = return_slot_pattern %return.param_patt, %MyInt32.ref.loc18 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %MyInt32.ref.loc15: type = name_ref MyInt32, file.%MyInt32.decl [concrete = constants.%MyInt32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %MyInt32.ref.loc15 [concrete = constants.%.816] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %MyInt32.ref.loc15 [concrete = constants.%.9de] // CHECK:STDOUT: %a.param.loc15: %MyIntLiteral = value_param call_param0 // CHECK:STDOUT: %MyIntLiteral.ref.loc15: type = name_ref MyIntLiteral, file.%MyIntLiteral.decl [concrete = constants.%MyIntLiteral] // CHECK:STDOUT: %a.loc15: %MyIntLiteral = value_binding a, %a.param.loc15 // CHECK:STDOUT: %return.param.loc15: ref %MyInt32 = out_param call_param1 // CHECK:STDOUT: %return.loc15: ref %MyInt32 = return_slot %return.param.loc15 // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%i32.builtin [concrete = constants.%complete_type.cd8] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%i32.builtin [concrete = constants.%complete_type.509] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -222,20 +222,20 @@ fn Int(N: MyIntLiteral) -> type = "int.make_type_signed"; // CHECK:STDOUT: %Make.ref.loc22_31: %MyInt32.Make.type = name_ref Make, @MyInt32.%MyInt32.Make.decl [concrete = constants.%MyInt32.Make] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %MyIntLiteral.ref.loc22_42: type = name_ref MyIntLiteral, file.%MyIntLiteral.decl [concrete = constants.%MyIntLiteral] -// CHECK:STDOUT: %.loc22_39.1: %MyIntLiteral = as_compatible %int_1 [concrete = constants.%int_1.6fb] -// CHECK:STDOUT: %.loc22_39.2: %MyIntLiteral = converted %int_1, %.loc22_39.1 [concrete = constants.%int_1.6fb] -// CHECK:STDOUT: %MyInt32.Make.call.loc22_54: init %MyInt32 = call %Make.ref.loc22_31(%.loc22_39.2) [concrete = constants.%int_1.568] +// CHECK:STDOUT: %.loc22_39.1: %MyIntLiteral = as_compatible %int_1 [concrete = constants.%int_1.1f0] +// CHECK:STDOUT: %.loc22_39.2: %MyIntLiteral = converted %int_1, %.loc22_39.1 [concrete = constants.%int_1.1f0] +// CHECK:STDOUT: %MyInt32.Make.call.loc22_54: init %MyInt32 = call %Make.ref.loc22_31(%.loc22_39.2) [concrete = constants.%int_1.873] // CHECK:STDOUT: %MyInt32.ref.loc22_57: type = name_ref MyInt32, file.%MyInt32.decl [concrete = constants.%MyInt32] // CHECK:STDOUT: %Make.ref.loc22_64: %MyInt32.Make.type = name_ref Make, @MyInt32.%MyInt32.Make.decl [concrete = constants.%MyInt32.Make] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %MyIntLiteral.ref.loc22_75: type = name_ref MyIntLiteral, file.%MyIntLiteral.decl [concrete = constants.%MyIntLiteral] -// CHECK:STDOUT: %.loc22_72.1: %MyIntLiteral = as_compatible %int_2 [concrete = constants.%int_2.496] -// CHECK:STDOUT: %.loc22_72.2: %MyIntLiteral = converted %int_2, %.loc22_72.1 [concrete = constants.%int_2.496] -// CHECK:STDOUT: %MyInt32.Make.call.loc22_87: init %MyInt32 = call %Make.ref.loc22_64(%.loc22_72.2) [concrete = constants.%int_2.558] -// CHECK:STDOUT: %.loc22_54.1: %MyInt32 = value_of_initializer %MyInt32.Make.call.loc22_54 [concrete = constants.%int_1.568] -// CHECK:STDOUT: %.loc22_54.2: %MyInt32 = converted %MyInt32.Make.call.loc22_54, %.loc22_54.1 [concrete = constants.%int_1.568] -// CHECK:STDOUT: %.loc22_87.1: %MyInt32 = value_of_initializer %MyInt32.Make.call.loc22_87 [concrete = constants.%int_2.558] -// CHECK:STDOUT: %.loc22_87.2: %MyInt32 = converted %MyInt32.Make.call.loc22_87, %.loc22_87.1 [concrete = constants.%int_2.558] +// CHECK:STDOUT: %.loc22_72.1: %MyIntLiteral = as_compatible %int_2 [concrete = constants.%int_2.e89] +// CHECK:STDOUT: %.loc22_72.2: %MyIntLiteral = converted %int_2, %.loc22_72.1 [concrete = constants.%int_2.e89] +// CHECK:STDOUT: %MyInt32.Make.call.loc22_87: init %MyInt32 = call %Make.ref.loc22_64(%.loc22_72.2) [concrete = constants.%int_2.06a] +// CHECK:STDOUT: %.loc22_54.1: %MyInt32 = value_of_initializer %MyInt32.Make.call.loc22_54 [concrete = constants.%int_1.873] +// CHECK:STDOUT: %.loc22_54.2: %MyInt32 = converted %MyInt32.Make.call.loc22_54, %.loc22_54.1 [concrete = constants.%int_1.873] +// CHECK:STDOUT: %.loc22_87.1: %MyInt32 = value_of_initializer %MyInt32.Make.call.loc22_87 [concrete = constants.%int_2.06a] +// CHECK:STDOUT: %.loc22_87.2: %MyInt32 = converted %MyInt32.Make.call.loc22_87, %.loc22_87.1 [concrete = constants.%int_2.06a] // CHECK:STDOUT: %MyAdd.call: init %MyInt32 = call %MyAdd.ref(%.loc22_54.2, %.loc22_87.2) [concrete = constants.%int_3] // CHECK:STDOUT: assign file.%v.var, %MyAdd.call // CHECK:STDOUT: return @@ -248,7 +248,7 @@ fn Int(N: MyIntLiteral) -> type = "int.make_type_signed"; // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.dda: type = pattern_type %MyIntLiteral [concrete] +// CHECK:STDOUT: %pattern_type.a3c: type = pattern_type %MyIntLiteral [concrete] // CHECK:STDOUT: %.805: Core.Form = init_form type [concrete] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %Int.type: type = fn_type @Int [concrete] @@ -262,8 +262,8 @@ fn Int(N: MyIntLiteral) -> type = "int.make_type_signed"; // CHECK:STDOUT: } // CHECK:STDOUT: %MyIntLiteral.decl: type = class_decl @MyIntLiteral [concrete = constants.%MyIntLiteral] {} {} // CHECK:STDOUT: %Int.decl: %Int.type = fn_decl @Int [concrete = constants.%Int] { -// CHECK:STDOUT: %N.param_patt: %pattern_type.dda = value_param_pattern [concrete] -// CHECK:STDOUT: %N.patt: %pattern_type.dda = at_binding_pattern N, %N.param_patt [concrete] +// CHECK:STDOUT: %N.param_patt: %pattern_type.a3c = value_param_pattern [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.a3c = at_binding_pattern N, %N.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.98f = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.98f = return_slot_pattern %return.param_patt, %.loc12_28.1 [concrete] // CHECK:STDOUT: } { diff --git a/toolchain/check/testdata/function/builtin/call.carbon b/toolchain/check/testdata/function/builtin/call.carbon index 253db7ad67b8..42f2685797fc 100644 --- a/toolchain/check/testdata/function/builtin/call.carbon +++ b/toolchain/check/testdata/function/builtin/call.carbon @@ -27,57 +27,57 @@ fn RuntimeCall(a: i32, b: i32) -> i32 { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %Add.type: type = fn_type @Add [concrete] // CHECK:STDOUT: %Add: %Add.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.2f8: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.7c2: %Int.as.ImplicitAs.impl.Convert.type.2f8 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.e78: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.e78) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet.e78 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.d2b: = impl_witness imports.%ImplicitAs.impl_witness_table.07d, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.73a: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.735: %Int.as.ImplicitAs.impl.Convert.type.73a = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.4dd: %ImplicitAs.type.4bd = facet_value %i32, (%ImplicitAs.impl_witness.d2b) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f57: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.4dd) [concrete] -// CHECK:STDOUT: %.516: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f57, %ImplicitAs.facet.4dd [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.49a, %Int.as.ImplicitAs.impl.Convert.735 [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.735, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.9a4: = bound_method %int_3.49a, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.f73: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.34b: %Int.as.ImplicitAs.impl.Convert.type.f73 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.840: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.840) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet.840 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.062: = impl_witness imports.%ImplicitAs.impl_witness_table.eac, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.337: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.64e: %Int.as.ImplicitAs.impl.Convert.type.337 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.89e: %ImplicitAs.type.ace = facet_value %i32, (%ImplicitAs.impl_witness.062) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b68: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.89e) [concrete] +// CHECK:STDOUT: %.7a9: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b68, %ImplicitAs.facet.89e [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.6cc, %Int.as.ImplicitAs.impl.Convert.64e [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.64e, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.6cc, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_3.1ba, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.215: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.bec: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.343: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%array_type) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.26c: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%array_type) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.4a5: %T.as.DefaultOrUnformed.impl.Op.type.26c = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %array_type, (%DefaultOrUnformed.impl_witness.343) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.4a5, @T.as.DefaultOrUnformed.impl.Op(%array_type) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.f71: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%array_type) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.ea5: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%array_type) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.950: %T.as.DefaultOrUnformed.impl.Op.type.ea5 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %array_type, (%DefaultOrUnformed.impl_witness.f71) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.950, @T.as.DefaultOrUnformed.impl.Op(%array_type) [concrete] // CHECK:STDOUT: %RuntimeCall.type: type = fn_type @RuntimeCall [concrete] // CHECK:STDOUT: %RuntimeCall: %RuntimeCall.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -91,14 +91,14 @@ fn RuntimeCall(a: i32, b: i32) -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.dd0: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.2f8) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.7c2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.07d = impl_witness_table (%Core.import_ref.dd0), @Int.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.835: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.f73) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.34b)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eac = impl_witness_table (%Core.import_ref.835), @Int.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -110,15 +110,15 @@ fn RuntimeCall(a: i32, b: i32) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Add.decl: %Add.type = fn_decl @Add [concrete = constants.%Add] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15_27 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15_27 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15_27: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15_27 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15_27 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc15_11: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param @@ -129,8 +129,8 @@ fn RuntimeCall(a: i32, b: i32) -> i32 { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %arr.patt: %pattern_type.215 = ref_binding_pattern arr [concrete] -// CHECK:STDOUT: %arr.var_patt: %pattern_type.215 = var_pattern %arr.patt [concrete] +// CHECK:STDOUT: %arr.patt: %pattern_type.bec = ref_binding_pattern arr [concrete] +// CHECK:STDOUT: %arr.var_patt: %pattern_type.bec = var_pattern %arr.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %arr.var: ref %array_type = var %arr.var_patt [concrete] // CHECK:STDOUT: %.loc17_30: type = splice_block %array_type [concrete = constants.%array_type] { @@ -138,27 +138,27 @@ fn RuntimeCall(a: i32, b: i32) -> i32 { // CHECK:STDOUT: %Add.ref: %Add.type = name_ref Add, %Add.decl [concrete = constants.%Add] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc17_25: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc17_25.1: = bound_method %int_1, %impl.elem0.loc17_25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc17_25: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc17_25.1: = bound_method %int_1, %impl.elem0.loc17_25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc17_25: = specific_function %impl.elem0.loc17_25, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc17_25.2: = bound_method %int_1, %specific_fn.loc17_25 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_25: init %i32 = call %bound_method.loc17_25.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc17_25.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_25 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc17_25.2: %i32 = converted %int_1, %.loc17_25.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc17_28: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc17_28.1: = bound_method %int_2, %impl.elem0.loc17_28 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc17_25.2: = bound_method %int_1, %specific_fn.loc17_25 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_25: init %i32 = call %bound_method.loc17_25.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc17_25.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_25 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc17_25.2: %i32 = converted %int_1, %.loc17_25.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc17_28: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc17_28.1: = bound_method %int_2, %impl.elem0.loc17_28 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc17_28: = specific_function %impl.elem0.loc17_28, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc17_28.2: = bound_method %int_2, %specific_fn.loc17_28 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_28: init %i32 = call %bound_method.loc17_28.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc17_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_28 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc17_28.2: %i32 = converted %int_2, %.loc17_28.1 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %Add.call: init %i32 = call %Add.ref(%.loc17_25.2, %.loc17_28.2) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %impl.elem0.loc17_29: %.516 = impl_witness_access constants.%ImplicitAs.impl_witness.d2b, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.735] +// CHECK:STDOUT: %bound_method.loc17_28.2: = bound_method %int_2, %specific_fn.loc17_28 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_28: init %i32 = call %bound_method.loc17_28.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc17_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_28 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc17_28.2: %i32 = converted %int_2, %.loc17_28.1 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %Add.call: init %i32 = call %Add.ref(%.loc17_25.2, %.loc17_28.2) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %impl.elem0.loc17_29: %.7a9 = impl_witness_access constants.%ImplicitAs.impl_witness.062, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.64e] // CHECK:STDOUT: %bound_method.loc17_29.1: = bound_method %Add.call, %impl.elem0.loc17_29 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc17_29: = specific_function %impl.elem0.loc17_29, @Int.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Int.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc17_29.2: = bound_method %Add.call, %specific_fn.loc17_29 [concrete = constants.%bound_method.9a4] -// CHECK:STDOUT: %.loc17_29.1: %i32 = value_of_initializer %Add.call [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc17_29.2: %i32 = converted %Add.call, %.loc17_29.1 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc17_29.2: = bound_method %Add.call, %specific_fn.loc17_29 [concrete = constants.%bound_method.353] +// CHECK:STDOUT: %.loc17_29.1: %i32 = value_of_initializer %Add.call [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc17_29.2: %i32 = converted %Add.call, %.loc17_29.1 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.loc17_29.2(%.loc17_29.2) [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc17_29.3: Core.IntLiteral = value_of_initializer %Int.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc17_29.4: Core.IntLiteral = converted %Add.call, %.loc17_29.3 [concrete = constants.%int_3.1ba] @@ -166,15 +166,15 @@ fn RuntimeCall(a: i32, b: i32) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %arr: ref %array_type = ref_binding arr, %arr.var [concrete = %arr.var] // CHECK:STDOUT: %RuntimeCall.decl: %RuntimeCall.type = fn_decl @RuntimeCall [concrete = constants.%RuntimeCall] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc19_35 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc19_35 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc19_35: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc19: Core.Form = init_form %i32.loc19_35 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc19: Core.Form = init_form %i32.loc19_35 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc19_19: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param @@ -199,11 +199,11 @@ fn RuntimeCall(a: i32, b: i32) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%array_type, (constants.%DefaultOrUnformed.impl_witness.343) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%array_type, (constants.%DefaultOrUnformed.impl_witness.f71) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc17_31.1: %DefaultOrUnformed.type = converted constants.%array_type, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc17_31.1 [concrete = constants.%array_type] // CHECK:STDOUT: %.loc17_31.2: type = converted %.loc17_31.1, %as_type [concrete = constants.%array_type] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.4a5, @T.as.DefaultOrUnformed.impl.Op(constants.%array_type) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.950, @T.as.DefaultOrUnformed.impl.Op(constants.%array_type) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %.loc17_1: ref %array_type = splice_block file.%arr.var [concrete = file.%arr.var] {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %array_type to %.loc17_1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%arr.var, %T.as.DefaultOrUnformed.impl.Op.call diff --git a/toolchain/check/testdata/function/builtin/call_from_operator.carbon b/toolchain/check/testdata/function/builtin/call_from_operator.carbon index a11bafffc6c3..77defb473808 100644 --- a/toolchain/check/testdata/function/builtin/call_from_operator.carbon +++ b/toolchain/check/testdata/function/builtin/call_from_operator.carbon @@ -66,92 +66,92 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %AddWith.type.9b4: type = generic_interface_type @AddWith [concrete] -// CHECK:STDOUT: %AddWith.generic: %AddWith.type.9b4 = struct_value () [concrete] -// CHECK:STDOUT: %AddWith.type.e05: type = facet_type <@AddWith, @AddWith(%T)> [symbolic] -// CHECK:STDOUT: %Self.00d: %AddWith.type.e05 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type.138: type = facet_access_type %Self.00d [symbolic] -// CHECK:STDOUT: %pattern_type.e0f: type = pattern_type %Self.as_type.138 [symbolic] -// CHECK:STDOUT: %.78e: Core.Form = init_form %Self.as_type.138 [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.cb4: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%T, %Self.00d) [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.Op.28c: %AddWith.WithSelf.Op.type.cb4 = struct_value () [symbolic] -// CHECK:STDOUT: %AddWith.assoc_type.00a: type = assoc_entity_type @AddWith, @AddWith(%T) [symbolic] -// CHECK:STDOUT: %assoc0.da5: %AddWith.assoc_type.00a = assoc_entity element0, @AddWith.WithSelf.%AddWith.WithSelf.Op.decl [symbolic] -// CHECK:STDOUT: %As.type.e42: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.e42 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.90e: type = facet_type <@As, @As(%T)> [symbolic] -// CHECK:STDOUT: %Self.1a1: %As.type.90e = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type.9f2: type = facet_access_type %Self.1a1 [symbolic] -// CHECK:STDOUT: %pattern_type.eb3: type = pattern_type %Self.as_type.9f2 [symbolic] +// CHECK:STDOUT: %AddWith.type.be4: type = generic_interface_type @AddWith [concrete] +// CHECK:STDOUT: %AddWith.generic: %AddWith.type.be4 = struct_value () [concrete] +// CHECK:STDOUT: %AddWith.type.893: type = facet_type <@AddWith, @AddWith(%T)> [symbolic] +// CHECK:STDOUT: %Self.729: %AddWith.type.893 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type.77a: type = facet_access_type %Self.729 [symbolic] +// CHECK:STDOUT: %pattern_type.bc6: type = pattern_type %Self.as_type.77a [symbolic] +// CHECK:STDOUT: %.bf3: Core.Form = init_form %Self.as_type.77a [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.000: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%T, %Self.729) [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.Op.e4c: %AddWith.WithSelf.Op.type.000 = struct_value () [symbolic] +// CHECK:STDOUT: %AddWith.assoc_type.5da: type = assoc_entity_type @AddWith, @AddWith(%T) [symbolic] +// CHECK:STDOUT: %assoc0.572: %AddWith.assoc_type.5da = assoc_entity element0, @AddWith.WithSelf.%AddWith.WithSelf.Op.decl [symbolic] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.799: type = facet_type <@As, @As(%T)> [symbolic] +// CHECK:STDOUT: %Self.6e1: %As.type.799 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type.05f: type = facet_access_type %Self.6e1 [symbolic] +// CHECK:STDOUT: %pattern_type.950: type = pattern_type %Self.as_type.05f [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %T [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %As.WithSelf.Convert.type.17a: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%T, %Self.1a1) [symbolic] -// CHECK:STDOUT: %As.WithSelf.Convert.894: %As.WithSelf.Convert.type.17a = struct_value () [symbolic] -// CHECK:STDOUT: %As.assoc_type.f62: type = assoc_entity_type @As, @As(%T) [symbolic] -// CHECK:STDOUT: %assoc0.0bb: %As.assoc_type.f62 = assoc_entity element0, @As.WithSelf.%As.WithSelf.Convert.decl [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.9ed: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.9ed = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.a6b: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic] -// CHECK:STDOUT: %Self.e93: %ImplicitAs.type.a6b = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type.04b: type = facet_access_type %Self.e93 [symbolic] -// CHECK:STDOUT: %pattern_type.5a2: type = pattern_type %Self.as_type.04b [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.d11: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%T, %Self.e93) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.764: %ImplicitAs.WithSelf.Convert.type.d11 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.3cf: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%T) [symbolic] -// CHECK:STDOUT: %assoc0.03d: %ImplicitAs.assoc_type.3cf = assoc_entity element0, @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.decl [symbolic] +// CHECK:STDOUT: %As.WithSelf.Convert.type.53f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%T, %Self.6e1) [symbolic] +// CHECK:STDOUT: %As.WithSelf.Convert.a81: %As.WithSelf.Convert.type.53f = struct_value () [symbolic] +// CHECK:STDOUT: %As.assoc_type.08c: type = assoc_entity_type @As, @As(%T) [symbolic] +// CHECK:STDOUT: %assoc0.2e4: %As.assoc_type.08c = assoc_entity element0, @As.WithSelf.%As.WithSelf.Convert.decl [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6e6: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic] +// CHECK:STDOUT: %Self.7b0: %ImplicitAs.type.6e6 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type.f04: type = facet_access_type %Self.7b0 [symbolic] +// CHECK:STDOUT: %pattern_type.030: type = pattern_type %Self.as_type.f04 [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.72e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%T, %Self.7b0) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.f10: %ImplicitAs.WithSelf.Convert.type.72e = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.bf1: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%T) [symbolic] +// CHECK:STDOUT: %assoc0.cde: %ImplicitAs.assoc_type.bf1 = assoc_entity element0, @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.decl [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %AddWith.type.e6c: type = facet_type <@AddWith, @AddWith(%i32.builtin)> [concrete] +// CHECK:STDOUT: %AddWith.type.4d9: type = facet_type <@AddWith, @AddWith(%i32.builtin)> [concrete] // CHECK:STDOUT: %AddWith.impl_witness: = impl_witness @i32.builtin.as.AddWith.impl.%AddWith.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.fef: %AddWith.type.e6c = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.dc9: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%i32.builtin, %Self.00d) [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.Op.583: %AddWith.WithSelf.Op.type.dc9 = struct_value () [symbolic] -// CHECK:STDOUT: %AddWith.assoc_type.d8b: type = assoc_entity_type @AddWith, @AddWith(%i32.builtin) [concrete] -// CHECK:STDOUT: %assoc0.055: %AddWith.assoc_type.d8b = assoc_entity element0, @AddWith.WithSelf.%AddWith.WithSelf.Op.decl [concrete] +// CHECK:STDOUT: %Self.5d8: %AddWith.type.4d9 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.5a6: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%i32.builtin, %Self.729) [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.Op.e8a: %AddWith.WithSelf.Op.type.5a6 = struct_value () [symbolic] +// CHECK:STDOUT: %AddWith.assoc_type.b31: type = assoc_entity_type @AddWith, @AddWith(%i32.builtin) [concrete] +// CHECK:STDOUT: %assoc0.f84: %AddWith.assoc_type.b31 = assoc_entity element0, @AddWith.WithSelf.%AddWith.WithSelf.Op.decl [concrete] // CHECK:STDOUT: %pattern_type.956: type = pattern_type %i32.builtin [concrete] // CHECK:STDOUT: %.9cb: Core.Form = init_form %i32.builtin [concrete] // CHECK:STDOUT: %i32.builtin.as.AddWith.impl.Op.type: type = fn_type @i32.builtin.as.AddWith.impl.Op [concrete] // CHECK:STDOUT: %i32.builtin.as.AddWith.impl.Op: %i32.builtin.as.AddWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %AddWith.facet: %AddWith.type.e6c = facet_value %i32.builtin, (%AddWith.impl_witness) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.6a4: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%i32.builtin, %AddWith.facet) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.bd1: %AddWith.WithSelf.Op.type.6a4 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.028: type = facet_type <@As, @As(%i32.builtin)> [concrete] +// CHECK:STDOUT: %AddWith.facet: %AddWith.type.4d9 = facet_value %i32.builtin, (%AddWith.impl_witness) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.3a1: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%i32.builtin, %AddWith.facet) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.fce: %AddWith.WithSelf.Op.type.3a1 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.5d6: type = facet_type <@As, @As(%i32.builtin)> [concrete] // CHECK:STDOUT: %As.impl_witness: = impl_witness @Core.IntLiteral.as.As.impl.%As.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.68c: %As.type.028 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %As.WithSelf.Convert.type.0f7: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32.builtin, %Self.1a1) [symbolic] -// CHECK:STDOUT: %As.WithSelf.Convert.742: %As.WithSelf.Convert.type.0f7 = struct_value () [symbolic] -// CHECK:STDOUT: %As.assoc_type.cf3: type = assoc_entity_type @As, @As(%i32.builtin) [concrete] -// CHECK:STDOUT: %assoc0.9c5: %As.assoc_type.cf3 = assoc_entity element0, @As.WithSelf.%As.WithSelf.Convert.decl [concrete] +// CHECK:STDOUT: %Self.6c7: %As.type.5d6 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %As.WithSelf.Convert.type.482: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32.builtin, %Self.6e1) [symbolic] +// CHECK:STDOUT: %As.WithSelf.Convert.689: %As.WithSelf.Convert.type.482 = struct_value () [symbolic] +// CHECK:STDOUT: %As.assoc_type.b5c: type = assoc_entity_type @As, @As(%i32.builtin) [concrete] +// CHECK:STDOUT: %assoc0.619: %As.assoc_type.b5c = assoc_entity element0, @As.WithSelf.%As.WithSelf.Convert.decl [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type: type = fn_type @Core.IntLiteral.as.As.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert: %Core.IntLiteral.as.As.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.028 = facet_value Core.IntLiteral, (%As.impl_witness) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.929: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32.builtin, %As.facet) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.59f: %As.WithSelf.Convert.type.929 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.9bd: type = facet_type <@ImplicitAs, @ImplicitAs(%i32.builtin)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.406: = impl_witness @Core.IntLiteral.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.965: %ImplicitAs.type.9bd = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.a79: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32.builtin, %Self.e93) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.8f0: %ImplicitAs.WithSelf.Convert.type.a79 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.6eb: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%i32.builtin) [concrete] -// CHECK:STDOUT: %assoc0.6ff: %ImplicitAs.assoc_type.6eb = assoc_entity element0, @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.decl [concrete] +// CHECK:STDOUT: %As.facet: %As.type.5d6 = facet_value Core.IntLiteral, (%As.impl_witness) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.192: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32.builtin, %As.facet) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.7de: %As.WithSelf.Convert.type.192 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.7d9: type = facet_type <@ImplicitAs, @ImplicitAs(%i32.builtin)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.ca9: = impl_witness @Core.IntLiteral.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %Self.7c0: %ImplicitAs.type.7d9 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.357: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32.builtin, %Self.7b0) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.538: %ImplicitAs.WithSelf.Convert.type.357 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.317: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%i32.builtin) [concrete] +// CHECK:STDOUT: %assoc0.e0b: %ImplicitAs.assoc_type.317 = assoc_entity element0, @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.decl [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.5be: %ImplicitAs.type.9bd = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.406) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.4d0: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32.builtin, %ImplicitAs.facet.5be) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.a5e: %ImplicitAs.WithSelf.Convert.type.4d0 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.9ab: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.452: = impl_witness @i32.builtin.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.0b0: %ImplicitAs.type.9ab = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.171: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %Self.e93) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.b10: %ImplicitAs.WithSelf.Convert.type.171 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.79d: type = assoc_entity_type @ImplicitAs, @ImplicitAs(Core.IntLiteral) [concrete] -// CHECK:STDOUT: %assoc0.3e6: %ImplicitAs.assoc_type.79d = assoc_entity element0, @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.decl [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.cb6: %ImplicitAs.type.7d9 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ca9) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.93f: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32.builtin, %ImplicitAs.facet.cb6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.ab3: %ImplicitAs.WithSelf.Convert.type.93f = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.f34: = impl_witness @i32.builtin.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %Self.aad: %ImplicitAs.type.ace = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.053: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %Self.7b0) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.232: %ImplicitAs.WithSelf.Convert.type.053 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.175: type = assoc_entity_type @ImplicitAs, @ImplicitAs(Core.IntLiteral) [concrete] +// CHECK:STDOUT: %assoc0.186: %ImplicitAs.assoc_type.175 = assoc_entity element0, @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.decl [concrete] // CHECK:STDOUT: %.f7d: Core.Form = init_form Core.IntLiteral [concrete] // CHECK:STDOUT: %i32.builtin.as.ImplicitAs.impl.Convert.type: type = fn_type @i32.builtin.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %i32.builtin.as.ImplicitAs.impl.Convert: %i32.builtin.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.653: %ImplicitAs.type.9ab = facet_value %i32.builtin, (%ImplicitAs.impl_witness.452) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.441: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.653) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.3f8: %ImplicitAs.WithSelf.Convert.type.441 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.35c: %ImplicitAs.type.ace = facet_value %i32.builtin, (%ImplicitAs.impl_witness.f34) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.63f: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.35c) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.e3e: %ImplicitAs.WithSelf.Convert.type.63f = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -190,7 +190,7 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %return.param: ref type = out_param call_param1 // CHECK:STDOUT: %return: ref type = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %AddWith.decl: %AddWith.type.9b4 = interface_decl @AddWith [concrete = constants.%AddWith.generic] { +// CHECK:STDOUT: %AddWith.decl: %AddWith.type.be4 = interface_decl @AddWith [concrete = constants.%AddWith.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7_23.1: type = splice_block %.loc7_23.2 [concrete = type] { @@ -199,7 +199,7 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc7_20.2: type = symbolic_binding T, 0 [symbolic = %T.loc7_20.1 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: %As.decl: %As.type.e42 = interface_decl @As [concrete = constants.%As.generic] { +// CHECK:STDOUT: %As.decl: %As.type.909 = interface_decl @As [concrete = constants.%As.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc11_18.1: type = splice_block %.loc11_18.2 [concrete = type] { @@ -208,7 +208,7 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc11_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc11_15.1 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.decl: %ImplicitAs.type.9ed = interface_decl @ImplicitAs [concrete = constants.%ImplicitAs.generic] { +// CHECK:STDOUT: %ImplicitAs.decl: %ImplicitAs.type.754 = interface_decl @ImplicitAs [concrete = constants.%ImplicitAs.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15_26.1: type = splice_block %.loc15_26.2 [concrete = type] { @@ -219,36 +219,36 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @i32.builtin.as.AddWith.impl [concrete] {} { // CHECK:STDOUT: %.loc19_6: type = type_literal constants.%i32.builtin [concrete = constants.%i32.builtin] -// CHECK:STDOUT: %AddWith.ref: %AddWith.type.9b4 = name_ref AddWith, file.%AddWith.decl [concrete = constants.%AddWith.generic] +// CHECK:STDOUT: %AddWith.ref: %AddWith.type.be4 = name_ref AddWith, file.%AddWith.decl [concrete = constants.%AddWith.generic] // CHECK:STDOUT: %.loc19_21: type = type_literal constants.%i32.builtin [concrete = constants.%i32.builtin] -// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(constants.%i32.builtin)> [concrete = constants.%AddWith.type.e6c] +// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(constants.%i32.builtin)> [concrete = constants.%AddWith.type.4d9] // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @Core.IntLiteral.as.As.impl [concrete] {} { // CHECK:STDOUT: %IntLiteral.ref: %IntLiteral.type = name_ref IntLiteral, file.%IntLiteral.decl [concrete = constants.%IntLiteral] // CHECK:STDOUT: %IntLiteral.call: init type = call %IntLiteral.ref() [concrete = Core.IntLiteral] // CHECK:STDOUT: %.loc23_17.1: type = value_of_initializer %IntLiteral.call [concrete = Core.IntLiteral] // CHECK:STDOUT: %.loc23_17.2: type = converted %IntLiteral.call, %.loc23_17.1 [concrete = Core.IntLiteral] -// CHECK:STDOUT: %As.ref: %As.type.e42 = name_ref As, file.%As.decl [concrete = constants.%As.generic] +// CHECK:STDOUT: %As.ref: %As.type.909 = name_ref As, file.%As.decl [concrete = constants.%As.generic] // CHECK:STDOUT: %.loc23_25: type = type_literal constants.%i32.builtin [concrete = constants.%i32.builtin] -// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(constants.%i32.builtin)> [concrete = constants.%As.type.028] +// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(constants.%i32.builtin)> [concrete = constants.%As.type.5d6] // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @Core.IntLiteral.as.ImplicitAs.impl [concrete] {} { // CHECK:STDOUT: %IntLiteral.ref: %IntLiteral.type = name_ref IntLiteral, file.%IntLiteral.decl [concrete = constants.%IntLiteral] // CHECK:STDOUT: %IntLiteral.call: init type = call %IntLiteral.ref() [concrete = Core.IntLiteral] // CHECK:STDOUT: %.loc27_17.1: type = value_of_initializer %IntLiteral.call [concrete = Core.IntLiteral] // CHECK:STDOUT: %.loc27_17.2: type = converted %IntLiteral.call, %.loc27_17.1 [concrete = Core.IntLiteral] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.9ed = name_ref ImplicitAs, file.%ImplicitAs.decl [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, file.%ImplicitAs.decl [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %.loc27_33: type = type_literal constants.%i32.builtin [concrete = constants.%i32.builtin] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%i32.builtin)> [concrete = constants.%ImplicitAs.type.9bd] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%i32.builtin)> [concrete = constants.%ImplicitAs.type.7d9] // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @i32.builtin.as.ImplicitAs.impl [concrete] {} { // CHECK:STDOUT: %.loc31_6: type = type_literal constants.%i32.builtin [concrete = constants.%i32.builtin] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.9ed = name_ref ImplicitAs, file.%ImplicitAs.decl [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, file.%ImplicitAs.decl [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %IntLiteral.ref: %IntLiteral.type = name_ref IntLiteral, file.%IntLiteral.decl [concrete = constants.%IntLiteral] // CHECK:STDOUT: %IntLiteral.call: init type = call %IntLiteral.ref() [concrete = Core.IntLiteral] // CHECK:STDOUT: %.loc31_36.1: type = value_of_initializer %IntLiteral.call [concrete = Core.IntLiteral] // CHECK:STDOUT: %.loc31_36.2: type = converted %IntLiteral.call, %.loc31_36.1 [concrete = Core.IntLiteral] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete = constants.%ImplicitAs.type.9ab] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete = constants.%ImplicitAs.type.ace] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -256,47 +256,47 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T.loc7_20.1: type = symbolic_binding T, 0 [symbolic = %T.loc7_20.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(%T.loc7_20.1)> [symbolic = %AddWith.type (constants.%AddWith.type.e05)] -// CHECK:STDOUT: %Self.loc7_29.2: @AddWith.%AddWith.type (%AddWith.type.e05) = symbolic_binding Self, 1 [symbolic = %Self.loc7_29.2 (constants.%Self.00d)] +// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(%T.loc7_20.1)> [symbolic = %AddWith.type (constants.%AddWith.type.893)] +// CHECK:STDOUT: %Self.loc7_29.2: @AddWith.%AddWith.type (%AddWith.type.893) = symbolic_binding Self, 1 [symbolic = %Self.loc7_29.2 (constants.%Self.729)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc7_29.1: @AddWith.%AddWith.type (%AddWith.type.e05) = symbolic_binding Self, 1 [symbolic = %Self.loc7_29.2 (constants.%Self.00d)] +// CHECK:STDOUT: %Self.loc7_29.1: @AddWith.%AddWith.type (%AddWith.type.893) = symbolic_binding Self, 1 [symbolic = %Self.loc7_29.2 (constants.%Self.729)] // CHECK:STDOUT: %AddWith.WithSelf.decl = interface_with_self_decl @AddWith [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %AddWith.WithSelf.Op.decl: @AddWith.WithSelf.%AddWith.WithSelf.Op.type (%AddWith.WithSelf.Op.type.cb4) = fn_decl @AddWith.WithSelf.Op [symbolic = @AddWith.WithSelf.%AddWith.WithSelf.Op (constants.%AddWith.WithSelf.Op.28c)] { -// CHECK:STDOUT: %self.param_patt: @AddWith.WithSelf.Op.%pattern_type (%pattern_type.e0f) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @AddWith.WithSelf.Op.%pattern_type (%pattern_type.e0f) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: @AddWith.WithSelf.Op.%pattern_type (%pattern_type.e0f) = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: @AddWith.WithSelf.Op.%pattern_type (%pattern_type.e0f) = at_binding_pattern other, %other.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @AddWith.WithSelf.Op.%pattern_type (%pattern_type.e0f) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @AddWith.WithSelf.Op.%pattern_type (%pattern_type.e0f) = return_slot_pattern %return.param_patt, %.loc8_37.3 [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.decl: @AddWith.WithSelf.%AddWith.WithSelf.Op.type (%AddWith.WithSelf.Op.type.000) = fn_decl @AddWith.WithSelf.Op [symbolic = @AddWith.WithSelf.%AddWith.WithSelf.Op (constants.%AddWith.WithSelf.Op.e4c)] { +// CHECK:STDOUT: %self.param_patt: @AddWith.WithSelf.Op.%pattern_type (%pattern_type.bc6) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @AddWith.WithSelf.Op.%pattern_type (%pattern_type.bc6) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: @AddWith.WithSelf.Op.%pattern_type (%pattern_type.bc6) = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: @AddWith.WithSelf.Op.%pattern_type (%pattern_type.bc6) = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @AddWith.WithSelf.Op.%pattern_type (%pattern_type.bc6) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @AddWith.WithSelf.Op.%pattern_type (%pattern_type.bc6) = return_slot_pattern %return.param_patt, %.loc8_37.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc8_37.2: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.e05) = specific_constant @AddWith.%Self.loc7_29.1, @AddWith(constants.%T) [symbolic = %Self (constants.%Self.00d)] -// CHECK:STDOUT: %Self.ref.loc8_37: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.e05) = name_ref Self, %.loc8_37.2 [symbolic = %Self (constants.%Self.00d)] -// CHECK:STDOUT: %Self.as_type.loc8_37: type = facet_access_type %Self.ref.loc8_37 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.138)] -// CHECK:STDOUT: %.loc8_37.3: type = converted %Self.ref.loc8_37, %Self.as_type.loc8_37 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.138)] -// CHECK:STDOUT: %.loc8_37.4: Core.Form = init_form %.loc8_37.3 [symbolic = %.loc8_37.1 (constants.%.78e)] -// CHECK:STDOUT: %self.param: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.138) = value_param call_param0 -// CHECK:STDOUT: %.loc8_15.1: type = splice_block %.loc8_15.3 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.138)] { -// CHECK:STDOUT: %.loc8_15.2: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.e05) = specific_constant @AddWith.%Self.loc7_29.1, @AddWith(constants.%T) [symbolic = %Self (constants.%Self.00d)] -// CHECK:STDOUT: %Self.ref.loc8_15: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.e05) = name_ref Self, %.loc8_15.2 [symbolic = %Self (constants.%Self.00d)] -// CHECK:STDOUT: %Self.as_type.loc8_15.2: type = facet_access_type %Self.ref.loc8_15 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.138)] -// CHECK:STDOUT: %.loc8_15.3: type = converted %Self.ref.loc8_15, %Self.as_type.loc8_15.2 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.138)] +// CHECK:STDOUT: %.loc8_37.2: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.893) = specific_constant @AddWith.%Self.loc7_29.1, @AddWith(constants.%T) [symbolic = %Self (constants.%Self.729)] +// CHECK:STDOUT: %Self.ref.loc8_37: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.893) = name_ref Self, %.loc8_37.2 [symbolic = %Self (constants.%Self.729)] +// CHECK:STDOUT: %Self.as_type.loc8_37: type = facet_access_type %Self.ref.loc8_37 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.77a)] +// CHECK:STDOUT: %.loc8_37.3: type = converted %Self.ref.loc8_37, %Self.as_type.loc8_37 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.77a)] +// CHECK:STDOUT: %.loc8_37.4: Core.Form = init_form %.loc8_37.3 [symbolic = %.loc8_37.1 (constants.%.bf3)] +// CHECK:STDOUT: %self.param: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.77a) = value_param call_param0 +// CHECK:STDOUT: %.loc8_15.1: type = splice_block %.loc8_15.3 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.77a)] { +// CHECK:STDOUT: %.loc8_15.2: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.893) = specific_constant @AddWith.%Self.loc7_29.1, @AddWith(constants.%T) [symbolic = %Self (constants.%Self.729)] +// CHECK:STDOUT: %Self.ref.loc8_15: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.893) = name_ref Self, %.loc8_15.2 [symbolic = %Self (constants.%Self.729)] +// CHECK:STDOUT: %Self.as_type.loc8_15.2: type = facet_access_type %Self.ref.loc8_15 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.77a)] +// CHECK:STDOUT: %.loc8_15.3: type = converted %Self.ref.loc8_15, %Self.as_type.loc8_15.2 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.77a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.138) = value_binding self, %self.param -// CHECK:STDOUT: %other.param: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.138) = value_param call_param1 -// CHECK:STDOUT: %.loc8_28.1: type = splice_block %.loc8_28.3 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.138)] { -// CHECK:STDOUT: %.loc8_28.2: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.e05) = specific_constant @AddWith.%Self.loc7_29.1, @AddWith(constants.%T) [symbolic = %Self (constants.%Self.00d)] -// CHECK:STDOUT: %Self.ref.loc8_28: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.e05) = name_ref Self, %.loc8_28.2 [symbolic = %Self (constants.%Self.00d)] -// CHECK:STDOUT: %Self.as_type.loc8_28: type = facet_access_type %Self.ref.loc8_28 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.138)] -// CHECK:STDOUT: %.loc8_28.3: type = converted %Self.ref.loc8_28, %Self.as_type.loc8_28 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.138)] +// CHECK:STDOUT: %self: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.77a) = value_binding self, %self.param +// CHECK:STDOUT: %other.param: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.77a) = value_param call_param1 +// CHECK:STDOUT: %.loc8_28.1: type = splice_block %.loc8_28.3 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.77a)] { +// CHECK:STDOUT: %.loc8_28.2: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.893) = specific_constant @AddWith.%Self.loc7_29.1, @AddWith(constants.%T) [symbolic = %Self (constants.%Self.729)] +// CHECK:STDOUT: %Self.ref.loc8_28: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.893) = name_ref Self, %.loc8_28.2 [symbolic = %Self (constants.%Self.729)] +// CHECK:STDOUT: %Self.as_type.loc8_28: type = facet_access_type %Self.ref.loc8_28 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.77a)] +// CHECK:STDOUT: %.loc8_28.3: type = converted %Self.ref.loc8_28, %Self.as_type.loc8_28 [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.77a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %other: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.138) = value_binding other, %other.param -// CHECK:STDOUT: %return.param: ref @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.138) = out_param call_param2 -// CHECK:STDOUT: %return: ref @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.138) = return_slot %return.param +// CHECK:STDOUT: %other: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.77a) = value_binding other, %other.param +// CHECK:STDOUT: %return.param: ref @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.77a) = out_param call_param2 +// CHECK:STDOUT: %return: ref @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.77a) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc8_41.1: @AddWith.WithSelf.%AddWith.assoc_type (%AddWith.assoc_type.00a) = assoc_entity element0, %AddWith.WithSelf.Op.decl [symbolic = %assoc0.loc8_41.2 (constants.%assoc0.da5)] +// CHECK:STDOUT: %assoc0.loc8_41.1: @AddWith.WithSelf.%AddWith.assoc_type (%AddWith.assoc_type.5da) = assoc_entity element0, %AddWith.WithSelf.Op.decl [symbolic = %assoc0.loc8_41.2 (constants.%assoc0.572)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc7_29.1 @@ -311,34 +311,34 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T.loc11_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc11_15.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(%T.loc11_15.1)> [symbolic = %As.type (constants.%As.type.90e)] -// CHECK:STDOUT: %Self.loc11_24.2: @As.%As.type (%As.type.90e) = symbolic_binding Self, 1 [symbolic = %Self.loc11_24.2 (constants.%Self.1a1)] +// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(%T.loc11_15.1)> [symbolic = %As.type (constants.%As.type.799)] +// CHECK:STDOUT: %Self.loc11_24.2: @As.%As.type (%As.type.799) = symbolic_binding Self, 1 [symbolic = %Self.loc11_24.2 (constants.%Self.6e1)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc11_24.1: @As.%As.type (%As.type.90e) = symbolic_binding Self, 1 [symbolic = %Self.loc11_24.2 (constants.%Self.1a1)] +// CHECK:STDOUT: %Self.loc11_24.1: @As.%As.type (%As.type.799) = symbolic_binding Self, 1 [symbolic = %Self.loc11_24.2 (constants.%Self.6e1)] // CHECK:STDOUT: %As.WithSelf.decl = interface_with_self_decl @As [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %As.WithSelf.Convert.decl: @As.WithSelf.%As.WithSelf.Convert.type (%As.WithSelf.Convert.type.17a) = fn_decl @As.WithSelf.Convert [symbolic = @As.WithSelf.%As.WithSelf.Convert (constants.%As.WithSelf.Convert.894)] { -// CHECK:STDOUT: %self.param_patt: @As.WithSelf.Convert.%pattern_type.loc12_18 (%pattern_type.eb3) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @As.WithSelf.Convert.%pattern_type.loc12_18 (%pattern_type.eb3) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.decl: @As.WithSelf.%As.WithSelf.Convert.type (%As.WithSelf.Convert.type.53f) = fn_decl @As.WithSelf.Convert [symbolic = @As.WithSelf.%As.WithSelf.Convert (constants.%As.WithSelf.Convert.a81)] { +// CHECK:STDOUT: %self.param_patt: @As.WithSelf.Convert.%pattern_type.loc12_18 (%pattern_type.950) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @As.WithSelf.Convert.%pattern_type.loc12_18 (%pattern_type.950) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @As.WithSelf.Convert.%pattern_type.loc12_31 (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @As.WithSelf.Convert.%pattern_type.loc12_31 (%pattern_type.51d) = return_slot_pattern %return.param_patt, %T.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: type = name_ref T, @As.%T.loc11_15.2 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %.loc12_31.2: Core.Form = init_form %T.ref [symbolic = %.loc12_31.1 (constants.%.184)] -// CHECK:STDOUT: %self.param: @As.WithSelf.Convert.%Self.as_type.loc12_20.1 (%Self.as_type.9f2) = value_param call_param0 -// CHECK:STDOUT: %.loc12_20.1: type = splice_block %.loc12_20.3 [symbolic = %Self.as_type.loc12_20.1 (constants.%Self.as_type.9f2)] { -// CHECK:STDOUT: %.loc12_20.2: @As.WithSelf.Convert.%As.type (%As.type.90e) = specific_constant @As.%Self.loc11_24.1, @As(constants.%T) [symbolic = %Self (constants.%Self.1a1)] -// CHECK:STDOUT: %Self.ref: @As.WithSelf.Convert.%As.type (%As.type.90e) = name_ref Self, %.loc12_20.2 [symbolic = %Self (constants.%Self.1a1)] -// CHECK:STDOUT: %Self.as_type.loc12_20.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc12_20.1 (constants.%Self.as_type.9f2)] -// CHECK:STDOUT: %.loc12_20.3: type = converted %Self.ref, %Self.as_type.loc12_20.2 [symbolic = %Self.as_type.loc12_20.1 (constants.%Self.as_type.9f2)] +// CHECK:STDOUT: %self.param: @As.WithSelf.Convert.%Self.as_type.loc12_20.1 (%Self.as_type.05f) = value_param call_param0 +// CHECK:STDOUT: %.loc12_20.1: type = splice_block %.loc12_20.3 [symbolic = %Self.as_type.loc12_20.1 (constants.%Self.as_type.05f)] { +// CHECK:STDOUT: %.loc12_20.2: @As.WithSelf.Convert.%As.type (%As.type.799) = specific_constant @As.%Self.loc11_24.1, @As(constants.%T) [symbolic = %Self (constants.%Self.6e1)] +// CHECK:STDOUT: %Self.ref: @As.WithSelf.Convert.%As.type (%As.type.799) = name_ref Self, %.loc12_20.2 [symbolic = %Self (constants.%Self.6e1)] +// CHECK:STDOUT: %Self.as_type.loc12_20.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc12_20.1 (constants.%Self.as_type.05f)] +// CHECK:STDOUT: %.loc12_20.3: type = converted %Self.ref, %Self.as_type.loc12_20.2 [symbolic = %Self.as_type.loc12_20.1 (constants.%Self.as_type.05f)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @As.WithSelf.Convert.%Self.as_type.loc12_20.1 (%Self.as_type.9f2) = value_binding self, %self.param +// CHECK:STDOUT: %self: @As.WithSelf.Convert.%Self.as_type.loc12_20.1 (%Self.as_type.05f) = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref @As.WithSelf.Convert.%T (%T) = out_param call_param1 // CHECK:STDOUT: %return: ref @As.WithSelf.Convert.%T (%T) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc12_32.1: @As.WithSelf.%As.assoc_type (%As.assoc_type.f62) = assoc_entity element0, %As.WithSelf.Convert.decl [symbolic = %assoc0.loc12_32.2 (constants.%assoc0.0bb)] +// CHECK:STDOUT: %assoc0.loc12_32.1: @As.WithSelf.%As.assoc_type (%As.assoc_type.08c) = assoc_entity element0, %As.WithSelf.Convert.decl [symbolic = %assoc0.loc12_32.2 (constants.%assoc0.2e4)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc11_24.1 @@ -355,34 +355,34 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T.loc15_23.1: type = symbolic_binding T, 0 [symbolic = %T.loc15_23.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T.loc15_23.1)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.a6b)] -// CHECK:STDOUT: %Self.loc15_32.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self.loc15_32.2 (constants.%Self.e93)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T.loc15_23.1)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self.loc15_32.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self.loc15_32.2 (constants.%Self.7b0)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc15_32.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self.loc15_32.2 (constants.%Self.e93)] +// CHECK:STDOUT: %Self.loc15_32.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self.loc15_32.2 (constants.%Self.7b0)] // CHECK:STDOUT: %ImplicitAs.WithSelf.decl = interface_with_self_decl @ImplicitAs [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.decl: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.d11) = fn_decl @ImplicitAs.WithSelf.Convert [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.764)] { -// CHECK:STDOUT: %self.param_patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc16_18 (%pattern_type.5a2) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc16_18 (%pattern_type.5a2) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.decl: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.72e) = fn_decl @ImplicitAs.WithSelf.Convert [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.f10)] { +// CHECK:STDOUT: %self.param_patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc16_18 (%pattern_type.030) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc16_18 (%pattern_type.030) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc16_31 (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc16_31 (%pattern_type.51d) = return_slot_pattern %return.param_patt, %T.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: type = name_ref T, @ImplicitAs.%T.loc15_23.2 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %.loc16_31.2: Core.Form = init_form %T.ref [symbolic = %.loc16_31.1 (constants.%.184)] -// CHECK:STDOUT: %self.param: @ImplicitAs.WithSelf.Convert.%Self.as_type.loc16_20.1 (%Self.as_type.04b) = value_param call_param0 -// CHECK:STDOUT: %.loc16_20.1: type = splice_block %.loc16_20.3 [symbolic = %Self.as_type.loc16_20.1 (constants.%Self.as_type.04b)] { -// CHECK:STDOUT: %.loc16_20.2: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.a6b) = specific_constant @ImplicitAs.%Self.loc15_32.1, @ImplicitAs(constants.%T) [symbolic = %Self (constants.%Self.e93)] -// CHECK:STDOUT: %Self.ref: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.a6b) = name_ref Self, %.loc16_20.2 [symbolic = %Self (constants.%Self.e93)] -// CHECK:STDOUT: %Self.as_type.loc16_20.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc16_20.1 (constants.%Self.as_type.04b)] -// CHECK:STDOUT: %.loc16_20.3: type = converted %Self.ref, %Self.as_type.loc16_20.2 [symbolic = %Self.as_type.loc16_20.1 (constants.%Self.as_type.04b)] +// CHECK:STDOUT: %self.param: @ImplicitAs.WithSelf.Convert.%Self.as_type.loc16_20.1 (%Self.as_type.f04) = value_param call_param0 +// CHECK:STDOUT: %.loc16_20.1: type = splice_block %.loc16_20.3 [symbolic = %Self.as_type.loc16_20.1 (constants.%Self.as_type.f04)] { +// CHECK:STDOUT: %.loc16_20.2: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = specific_constant @ImplicitAs.%Self.loc15_32.1, @ImplicitAs(constants.%T) [symbolic = %Self (constants.%Self.7b0)] +// CHECK:STDOUT: %Self.ref: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = name_ref Self, %.loc16_20.2 [symbolic = %Self (constants.%Self.7b0)] +// CHECK:STDOUT: %Self.as_type.loc16_20.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc16_20.1 (constants.%Self.as_type.f04)] +// CHECK:STDOUT: %.loc16_20.3: type = converted %Self.ref, %Self.as_type.loc16_20.2 [symbolic = %Self.as_type.loc16_20.1 (constants.%Self.as_type.f04)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @ImplicitAs.WithSelf.Convert.%Self.as_type.loc16_20.1 (%Self.as_type.04b) = value_binding self, %self.param +// CHECK:STDOUT: %self: @ImplicitAs.WithSelf.Convert.%Self.as_type.loc16_20.1 (%Self.as_type.f04) = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref @ImplicitAs.WithSelf.Convert.%T (%T) = out_param call_param1 // CHECK:STDOUT: %return: ref @ImplicitAs.WithSelf.Convert.%T (%T) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc16_32.1: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.3cf) = assoc_entity element0, %ImplicitAs.WithSelf.Convert.decl [symbolic = %assoc0.loc16_32.2 (constants.%assoc0.03d)] +// CHECK:STDOUT: %assoc0.loc16_32.1: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.bf1) = assoc_entity element0, %ImplicitAs.WithSelf.Convert.decl [symbolic = %assoc0.loc16_32.2 (constants.%assoc0.cde)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc15_32.1 @@ -465,7 +465,7 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %return: ref %i32.builtin = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.IntLiteral.as.ImplicitAs.impl.Convert.decl), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.406] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.ca9] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Convert = %Core.IntLiteral.as.ImplicitAs.impl.Convert.decl @@ -492,7 +492,7 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %return: ref Core.IntLiteral = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%i32.builtin.as.ImplicitAs.impl.Convert.decl), @i32.builtin.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.452] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.f34] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .IntLiteral = @@ -505,39 +505,39 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: // CHECK:STDOUT: fn @Int(%N.param: Core.IntLiteral) -> out %return.param: type = "int.make_type_signed"; // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @AddWith.WithSelf.Op(@AddWith.%T.loc7_20.2: type, @AddWith.%Self.loc7_29.1: @AddWith.%AddWith.type (%AddWith.type.e05)) { +// CHECK:STDOUT: generic fn @AddWith.WithSelf.Op(@AddWith.%T.loc7_20.2: type, @AddWith.%Self.loc7_29.1: @AddWith.%AddWith.type (%AddWith.type.893)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(%T)> [symbolic = %AddWith.type (constants.%AddWith.type.e05)] -// CHECK:STDOUT: %Self: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.e05) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.00d)] -// CHECK:STDOUT: %Self.as_type.loc8_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.138)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc8_15.1 [symbolic = %pattern_type (constants.%pattern_type.e0f)] -// CHECK:STDOUT: %.loc8_37.1: Core.Form = init_form %Self.as_type.loc8_15.1 [symbolic = %.loc8_37.1 (constants.%.78e)] +// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(%T)> [symbolic = %AddWith.type (constants.%AddWith.type.893)] +// CHECK:STDOUT: %Self: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.893) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.729)] +// CHECK:STDOUT: %Self.as_type.loc8_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc8_15.1 (constants.%Self.as_type.77a)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc8_15.1 [symbolic = %pattern_type (constants.%pattern_type.bc6)] +// CHECK:STDOUT: %.loc8_37.1: Core.Form = init_form %Self.as_type.loc8_15.1 [symbolic = %.loc8_37.1 (constants.%.bf3)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.138), %other.param: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.138)) -> out %return.param: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.138); +// CHECK:STDOUT: fn(%self.param: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.77a), %other.param: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.77a)) -> out %return.param: @AddWith.WithSelf.Op.%Self.as_type.loc8_15.1 (%Self.as_type.77a); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @As.WithSelf.Convert(@As.%T.loc11_15.2: type, @As.%Self.loc11_24.1: @As.%As.type (%As.type.90e)) { +// CHECK:STDOUT: generic fn @As.WithSelf.Convert(@As.%T.loc11_15.2: type, @As.%Self.loc11_24.1: @As.%As.type (%As.type.799)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(%T)> [symbolic = %As.type (constants.%As.type.90e)] -// CHECK:STDOUT: %Self: @As.WithSelf.Convert.%As.type (%As.type.90e) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.1a1)] -// CHECK:STDOUT: %Self.as_type.loc12_20.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc12_20.1 (constants.%Self.as_type.9f2)] -// CHECK:STDOUT: %pattern_type.loc12_18: type = pattern_type %Self.as_type.loc12_20.1 [symbolic = %pattern_type.loc12_18 (constants.%pattern_type.eb3)] +// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(%T)> [symbolic = %As.type (constants.%As.type.799)] +// CHECK:STDOUT: %Self: @As.WithSelf.Convert.%As.type (%As.type.799) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.6e1)] +// CHECK:STDOUT: %Self.as_type.loc12_20.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc12_20.1 (constants.%Self.as_type.05f)] +// CHECK:STDOUT: %pattern_type.loc12_18: type = pattern_type %Self.as_type.loc12_20.1 [symbolic = %pattern_type.loc12_18 (constants.%pattern_type.950)] // CHECK:STDOUT: %.loc12_31.1: Core.Form = init_form %T [symbolic = %.loc12_31.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.loc12_31: type = pattern_type %T [symbolic = %pattern_type.loc12_31 (constants.%pattern_type.51d)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @As.WithSelf.Convert.%Self.as_type.loc12_20.1 (%Self.as_type.9f2)) -> out %return.param: @As.WithSelf.Convert.%T (%T); +// CHECK:STDOUT: fn(%self.param: @As.WithSelf.Convert.%Self.as_type.loc12_20.1 (%Self.as_type.05f)) -> out %return.param: @As.WithSelf.Convert.%T (%T); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(@ImplicitAs.%T.loc15_23.2: type, @ImplicitAs.%Self.loc15_32.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b)) { +// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(@ImplicitAs.%T.loc15_23.2: type, @ImplicitAs.%Self.loc15_32.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.a6b)] -// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.e93)] -// CHECK:STDOUT: %Self.as_type.loc16_20.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc16_20.1 (constants.%Self.as_type.04b)] -// CHECK:STDOUT: %pattern_type.loc16_18: type = pattern_type %Self.as_type.loc16_20.1 [symbolic = %pattern_type.loc16_18 (constants.%pattern_type.5a2)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.7b0)] +// CHECK:STDOUT: %Self.as_type.loc16_20.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc16_20.1 (constants.%Self.as_type.f04)] +// CHECK:STDOUT: %pattern_type.loc16_18: type = pattern_type %Self.as_type.loc16_20.1 [symbolic = %pattern_type.loc16_18 (constants.%pattern_type.030)] // CHECK:STDOUT: %.loc16_31.1: Core.Form = init_form %T [symbolic = %.loc16_31.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.loc16_31: type = pattern_type %T [symbolic = %pattern_type.loc16_31 (constants.%pattern_type.51d)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @ImplicitAs.WithSelf.Convert.%Self.as_type.loc16_20.1 (%Self.as_type.04b)) -> out %return.param: @ImplicitAs.WithSelf.Convert.%T (%T); +// CHECK:STDOUT: fn(%self.param: @ImplicitAs.WithSelf.Convert.%Self.as_type.loc16_20.1 (%Self.as_type.f04)) -> out %return.param: @ImplicitAs.WithSelf.Convert.%T (%T); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @i32.builtin.as.AddWith.impl.Op(%self.param: %i32.builtin, %other.param: %i32.builtin) -> out %return.param: %i32.builtin = "int.sadd"; @@ -552,29 +552,29 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T.loc7_20.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.WithSelf(constants.%T, constants.%Self.00d) {} +// CHECK:STDOUT: specific @AddWith.WithSelf(constants.%T, constants.%Self.729) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.WithSelf.Op(constants.%T, constants.%Self.00d) { +// CHECK:STDOUT: specific @AddWith.WithSelf.Op(constants.%T, constants.%Self.729) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.e05 -// CHECK:STDOUT: %Self => constants.%Self.00d -// CHECK:STDOUT: %Self.as_type.loc8_15.1 => constants.%Self.as_type.138 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e0f -// CHECK:STDOUT: %.loc8_37.1 => constants.%.78e +// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.893 +// CHECK:STDOUT: %Self => constants.%Self.729 +// CHECK:STDOUT: %Self.as_type.loc8_15.1 => constants.%Self.as_type.77a +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bc6 +// CHECK:STDOUT: %.loc8_37.1 => constants.%.bf3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @As(constants.%T) { // CHECK:STDOUT: %T.loc11_15.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @As.WithSelf(constants.%T, constants.%Self.1a1) {} +// CHECK:STDOUT: specific @As.WithSelf(constants.%T, constants.%Self.6e1) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @As.WithSelf.Convert(constants.%T, constants.%Self.1a1) { +// CHECK:STDOUT: specific @As.WithSelf.Convert(constants.%T, constants.%Self.6e1) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %As.type => constants.%As.type.90e -// CHECK:STDOUT: %Self => constants.%Self.1a1 -// CHECK:STDOUT: %Self.as_type.loc12_20.1 => constants.%Self.as_type.9f2 -// CHECK:STDOUT: %pattern_type.loc12_18 => constants.%pattern_type.eb3 +// CHECK:STDOUT: %As.type => constants.%As.type.799 +// CHECK:STDOUT: %Self => constants.%Self.6e1 +// CHECK:STDOUT: %Self.as_type.loc12_20.1 => constants.%Self.as_type.05f +// CHECK:STDOUT: %pattern_type.loc12_18 => constants.%pattern_type.950 // CHECK:STDOUT: %.loc12_31.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.loc12_31 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -583,14 +583,14 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T.loc15_23.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%T, constants.%Self.e93) {} +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%T, constants.%Self.7b0) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%T, constants.%Self.e93) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%T, constants.%Self.7b0) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.a6b -// CHECK:STDOUT: %Self => constants.%Self.e93 -// CHECK:STDOUT: %Self.as_type.loc16_20.1 => constants.%Self.as_type.04b -// CHECK:STDOUT: %pattern_type.loc16_18 => constants.%pattern_type.5a2 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.6e6 +// CHECK:STDOUT: %Self => constants.%Self.7b0 +// CHECK:STDOUT: %Self.as_type.loc16_20.1 => constants.%Self.as_type.f04 +// CHECK:STDOUT: %pattern_type.loc16_18 => constants.%pattern_type.030 // CHECK:STDOUT: %.loc16_31.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.loc16_31 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -599,35 +599,35 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T.loc7_20.1 => constants.%i32.builtin // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.e6c -// CHECK:STDOUT: %Self.loc7_29.2 => constants.%Self.fef +// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.4d9 +// CHECK:STDOUT: %Self.loc7_29.2 => constants.%Self.5d8 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.WithSelf(constants.%i32.builtin, constants.%Self.00d) { +// CHECK:STDOUT: specific @AddWith.WithSelf(constants.%i32.builtin, constants.%Self.729) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.e6c -// CHECK:STDOUT: %Self => constants.%Self.00d -// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.dc9 -// CHECK:STDOUT: %AddWith.WithSelf.Op => constants.%AddWith.WithSelf.Op.583 -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.d8b -// CHECK:STDOUT: %assoc0.loc8_41.2 => constants.%assoc0.055 +// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.4d9 +// CHECK:STDOUT: %Self => constants.%Self.729 +// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.5a6 +// CHECK:STDOUT: %AddWith.WithSelf.Op => constants.%AddWith.WithSelf.Op.e8a +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.b31 +// CHECK:STDOUT: %assoc0.loc8_41.2 => constants.%assoc0.f84 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @AddWith.WithSelf(constants.%i32.builtin, constants.%AddWith.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.e6c +// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.4d9 // CHECK:STDOUT: %Self => constants.%AddWith.facet -// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.6a4 -// CHECK:STDOUT: %AddWith.WithSelf.Op => constants.%AddWith.WithSelf.Op.bd1 -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.d8b -// CHECK:STDOUT: %assoc0.loc8_41.2 => constants.%assoc0.055 +// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.3a1 +// CHECK:STDOUT: %AddWith.WithSelf.Op => constants.%AddWith.WithSelf.Op.fce +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.b31 +// CHECK:STDOUT: %assoc0.loc8_41.2 => constants.%assoc0.f84 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @AddWith.WithSelf.Op(constants.%i32.builtin, constants.%AddWith.facet) { // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.e6c +// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.4d9 // CHECK:STDOUT: %Self => constants.%AddWith.facet // CHECK:STDOUT: %Self.as_type.loc8_15.1 => constants.%i32.builtin // CHECK:STDOUT: %pattern_type => constants.%pattern_type.956 @@ -638,35 +638,35 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T.loc11_15.1 => constants.%i32.builtin // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %As.type => constants.%As.type.028 -// CHECK:STDOUT: %Self.loc11_24.2 => constants.%Self.68c +// CHECK:STDOUT: %As.type => constants.%As.type.5d6 +// CHECK:STDOUT: %Self.loc11_24.2 => constants.%Self.6c7 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @As.WithSelf(constants.%i32.builtin, constants.%Self.1a1) { +// CHECK:STDOUT: specific @As.WithSelf(constants.%i32.builtin, constants.%Self.6e1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %As.type => constants.%As.type.028 -// CHECK:STDOUT: %Self => constants.%Self.1a1 -// CHECK:STDOUT: %As.WithSelf.Convert.type => constants.%As.WithSelf.Convert.type.0f7 -// CHECK:STDOUT: %As.WithSelf.Convert => constants.%As.WithSelf.Convert.742 -// CHECK:STDOUT: %As.assoc_type => constants.%As.assoc_type.cf3 -// CHECK:STDOUT: %assoc0.loc12_32.2 => constants.%assoc0.9c5 +// CHECK:STDOUT: %As.type => constants.%As.type.5d6 +// CHECK:STDOUT: %Self => constants.%Self.6e1 +// CHECK:STDOUT: %As.WithSelf.Convert.type => constants.%As.WithSelf.Convert.type.482 +// CHECK:STDOUT: %As.WithSelf.Convert => constants.%As.WithSelf.Convert.689 +// CHECK:STDOUT: %As.assoc_type => constants.%As.assoc_type.b5c +// CHECK:STDOUT: %assoc0.loc12_32.2 => constants.%assoc0.619 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @As.WithSelf(constants.%i32.builtin, constants.%As.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %As.type => constants.%As.type.028 +// CHECK:STDOUT: %As.type => constants.%As.type.5d6 // CHECK:STDOUT: %Self => constants.%As.facet -// CHECK:STDOUT: %As.WithSelf.Convert.type => constants.%As.WithSelf.Convert.type.929 -// CHECK:STDOUT: %As.WithSelf.Convert => constants.%As.WithSelf.Convert.59f -// CHECK:STDOUT: %As.assoc_type => constants.%As.assoc_type.cf3 -// CHECK:STDOUT: %assoc0.loc12_32.2 => constants.%assoc0.9c5 +// CHECK:STDOUT: %As.WithSelf.Convert.type => constants.%As.WithSelf.Convert.type.192 +// CHECK:STDOUT: %As.WithSelf.Convert => constants.%As.WithSelf.Convert.7de +// CHECK:STDOUT: %As.assoc_type => constants.%As.assoc_type.b5c +// CHECK:STDOUT: %assoc0.loc12_32.2 => constants.%assoc0.619 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @As.WithSelf.Convert(constants.%i32.builtin, constants.%As.facet) { // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %As.type => constants.%As.type.028 +// CHECK:STDOUT: %As.type => constants.%As.type.5d6 // CHECK:STDOUT: %Self => constants.%As.facet // CHECK:STDOUT: %Self.as_type.loc12_20.1 => Core.IntLiteral // CHECK:STDOUT: %pattern_type.loc12_18 => constants.%pattern_type.dc0 @@ -678,36 +678,36 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T.loc15_23.1 => constants.%i32.builtin // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9bd -// CHECK:STDOUT: %Self.loc15_32.2 => constants.%Self.965 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.7d9 +// CHECK:STDOUT: %Self.loc15_32.2 => constants.%Self.7c0 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%i32.builtin, constants.%Self.e93) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%i32.builtin, constants.%Self.7b0) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9bd -// CHECK:STDOUT: %Self => constants.%Self.e93 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.a79 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.8f0 -// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.6eb -// CHECK:STDOUT: %assoc0.loc16_32.2 => constants.%assoc0.6ff +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.7d9 +// CHECK:STDOUT: %Self => constants.%Self.7b0 +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.357 +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.538 +// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.317 +// CHECK:STDOUT: %assoc0.loc16_32.2 => constants.%assoc0.e0b // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%i32.builtin, constants.%ImplicitAs.facet.5be) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%i32.builtin, constants.%ImplicitAs.facet.cb6) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9bd -// CHECK:STDOUT: %Self => constants.%ImplicitAs.facet.5be -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.4d0 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.a5e -// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.6eb -// CHECK:STDOUT: %assoc0.loc16_32.2 => constants.%assoc0.6ff +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.7d9 +// CHECK:STDOUT: %Self => constants.%ImplicitAs.facet.cb6 +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.93f +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.ab3 +// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.317 +// CHECK:STDOUT: %assoc0.loc16_32.2 => constants.%assoc0.e0b // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%i32.builtin, constants.%ImplicitAs.facet.5be) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%i32.builtin, constants.%ImplicitAs.facet.cb6) { // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9bd -// CHECK:STDOUT: %Self => constants.%ImplicitAs.facet.5be +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.7d9 +// CHECK:STDOUT: %Self => constants.%ImplicitAs.facet.cb6 // CHECK:STDOUT: %Self.as_type.loc16_20.1 => Core.IntLiteral // CHECK:STDOUT: %pattern_type.loc16_18 => constants.%pattern_type.dc0 // CHECK:STDOUT: %.loc16_31.1 => constants.%.9cb @@ -718,36 +718,36 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T.loc15_23.1 => Core.IntLiteral // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9ab -// CHECK:STDOUT: %Self.loc15_32.2 => constants.%Self.0b0 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.ace +// CHECK:STDOUT: %Self.loc15_32.2 => constants.%Self.aad // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(Core.IntLiteral, constants.%Self.e93) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(Core.IntLiteral, constants.%Self.7b0) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => Core.IntLiteral -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9ab -// CHECK:STDOUT: %Self => constants.%Self.e93 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.171 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.b10 -// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.79d -// CHECK:STDOUT: %assoc0.loc16_32.2 => constants.%assoc0.3e6 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.ace +// CHECK:STDOUT: %Self => constants.%Self.7b0 +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.053 +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.232 +// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.175 +// CHECK:STDOUT: %assoc0.loc16_32.2 => constants.%assoc0.186 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(Core.IntLiteral, constants.%ImplicitAs.facet.653) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(Core.IntLiteral, constants.%ImplicitAs.facet.35c) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => Core.IntLiteral -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9ab -// CHECK:STDOUT: %Self => constants.%ImplicitAs.facet.653 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.441 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.3f8 -// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.79d -// CHECK:STDOUT: %assoc0.loc16_32.2 => constants.%assoc0.3e6 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.ace +// CHECK:STDOUT: %Self => constants.%ImplicitAs.facet.35c +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.63f +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.e3e +// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.175 +// CHECK:STDOUT: %assoc0.loc16_32.2 => constants.%assoc0.186 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(Core.IntLiteral, constants.%ImplicitAs.facet.653) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(Core.IntLiteral, constants.%ImplicitAs.facet.35c) { // CHECK:STDOUT: %T => Core.IntLiteral -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9ab -// CHECK:STDOUT: %Self => constants.%ImplicitAs.facet.653 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.ace +// CHECK:STDOUT: %Self => constants.%ImplicitAs.facet.35c // CHECK:STDOUT: %Self.as_type.loc16_20.1 => constants.%i32.builtin // CHECK:STDOUT: %pattern_type.loc16_18 => constants.%pattern_type.956 // CHECK:STDOUT: %.loc16_31.1 => constants.%.f7d @@ -762,30 +762,30 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %Int: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %As.type.e42: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.e42 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %As.type.90e: type = facet_type <@As, @As(%T)> [symbolic] -// CHECK:STDOUT: %Self.c83: %As.type.90e = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %As.assoc_type.f62: type = assoc_entity_type @As, @As(%T) [symbolic] -// CHECK:STDOUT: %As.WithSelf.Convert.type.421: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%T, %Self.c83) [symbolic] -// CHECK:STDOUT: %As.WithSelf.Convert.f90: %As.WithSelf.Convert.type.421 = struct_value () [symbolic] +// CHECK:STDOUT: %As.type.799: type = facet_type <@As, @As(%T)> [symbolic] +// CHECK:STDOUT: %Self.26f: %As.type.799 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %As.assoc_type.08c: type = assoc_entity_type @As, @As(%T) [symbolic] +// CHECK:STDOUT: %As.WithSelf.Convert.type.7b2: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%T, %Self.26f) [symbolic] +// CHECK:STDOUT: %As.WithSelf.Convert.60f: %As.WithSelf.Convert.type.7b2 = struct_value () [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %Self.as_type.ea9: type = facet_access_type %Self.c83 [symbolic] -// CHECK:STDOUT: %pattern_type.117: type = pattern_type %Self.as_type.ea9 [symbolic] +// CHECK:STDOUT: %Self.as_type.eb7: type = facet_access_type %Self.26f [symbolic] +// CHECK:STDOUT: %pattern_type.89d: type = pattern_type %Self.as_type.eb7 [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %T [symbolic] -// CHECK:STDOUT: %As.type.028: type = facet_type <@As, @As(%i32.builtin)> [concrete] -// CHECK:STDOUT: %Self.83d: %As.type.028 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %As.WithSelf.Convert.type.d80: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32.builtin, %Self.c83) [symbolic] -// CHECK:STDOUT: %As.WithSelf.Convert.f57: %As.WithSelf.Convert.type.d80 = struct_value () [symbolic] -// CHECK:STDOUT: %As.assoc_type.cf3: type = assoc_entity_type @As, @As(%i32.builtin) [concrete] -// CHECK:STDOUT: %assoc0.002: %As.assoc_type.cf3 = assoc_entity element0, imports.%Core.import_ref.f84 [concrete] -// CHECK:STDOUT: %assoc0.dc3: %As.assoc_type.f62 = assoc_entity element0, imports.%Core.import_ref.7ab [symbolic] +// CHECK:STDOUT: %As.type.5d6: type = facet_type <@As, @As(%i32.builtin)> [concrete] +// CHECK:STDOUT: %Self.4e8: %As.type.5d6 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %As.WithSelf.Convert.type.e34: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32.builtin, %Self.26f) [symbolic] +// CHECK:STDOUT: %As.WithSelf.Convert.5e6: %As.WithSelf.Convert.type.e34 = struct_value () [symbolic] +// CHECK:STDOUT: %As.assoc_type.b5c: type = assoc_entity_type @As, @As(%i32.builtin) [concrete] +// CHECK:STDOUT: %assoc0.bff: %As.assoc_type.b5c = assoc_entity element0, imports.%Core.import_ref.b65 [concrete] +// CHECK:STDOUT: %assoc0.959: %As.assoc_type.08c = assoc_entity element0, imports.%Core.import_ref.412 [symbolic] // CHECK:STDOUT: %As.impl_witness: = impl_witness imports.%As.impl_witness_table [concrete] -// CHECK:STDOUT: %As.facet: %As.type.028 = facet_value Core.IntLiteral, (%As.impl_witness) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.837: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32.builtin, %As.facet) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.a35: %As.WithSelf.Convert.type.837 = struct_value () [concrete] -// CHECK:STDOUT: %.57c: type = fn_type_with_self_type %As.WithSelf.Convert.type.837, %As.facet [concrete] +// CHECK:STDOUT: %As.facet: %As.type.5d6 = facet_value Core.IntLiteral, (%As.impl_witness) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.9cc: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32.builtin, %As.facet) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.88b: %As.WithSelf.Convert.type.9cc = struct_value () [concrete] +// CHECK:STDOUT: %.900: type = fn_type_with_self_type %As.WithSelf.Convert.type.9cc, %As.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type: type = fn_type @Core.IntLiteral.as.As.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert: %Core.IntLiteral.as.As.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.5d7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert [concrete] @@ -793,55 +793,55 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.959: = bound_method %int_2.ecc, %Core.IntLiteral.as.As.impl.Convert [concrete] // CHECK:STDOUT: %int_2.5a1: %i32.builtin = int_value 2 [concrete] -// CHECK:STDOUT: %AddWith.type.9b4: type = generic_interface_type @AddWith [concrete] -// CHECK:STDOUT: %AddWith.generic: %AddWith.type.9b4 = struct_value () [concrete] -// CHECK:STDOUT: %AddWith.type.e05: type = facet_type <@AddWith, @AddWith(%T)> [symbolic] -// CHECK:STDOUT: %Self.b52: %AddWith.type.e05 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %AddWith.assoc_type.00a: type = assoc_entity_type @AddWith, @AddWith(%T) [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.60a: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%T, %Self.b52) [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.Op.c09: %AddWith.WithSelf.Op.type.60a = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.266: type = facet_access_type %Self.b52 [symbolic] -// CHECK:STDOUT: %pattern_type.940: type = pattern_type %Self.as_type.266 [symbolic] -// CHECK:STDOUT: %.a8a: Core.Form = init_form %Self.as_type.266 [symbolic] -// CHECK:STDOUT: %AddWith.type.e6c: type = facet_type <@AddWith, @AddWith(%i32.builtin)> [concrete] -// CHECK:STDOUT: %Self.afe5: %AddWith.type.e6c = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.7a0: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%i32.builtin, %Self.b52) [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.Op.21e: %AddWith.WithSelf.Op.type.7a0 = struct_value () [symbolic] -// CHECK:STDOUT: %AddWith.assoc_type.d8b: type = assoc_entity_type @AddWith, @AddWith(%i32.builtin) [concrete] -// CHECK:STDOUT: %assoc0.f0d: %AddWith.assoc_type.d8b = assoc_entity element0, imports.%Core.import_ref.d05 [concrete] -// CHECK:STDOUT: %assoc0.bbe: %AddWith.assoc_type.00a = assoc_entity element0, imports.%Core.import_ref.6f1 [symbolic] +// CHECK:STDOUT: %AddWith.type.be4: type = generic_interface_type @AddWith [concrete] +// CHECK:STDOUT: %AddWith.generic: %AddWith.type.be4 = struct_value () [concrete] +// CHECK:STDOUT: %AddWith.type.893: type = facet_type <@AddWith, @AddWith(%T)> [symbolic] +// CHECK:STDOUT: %Self.66b: %AddWith.type.893 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %AddWith.assoc_type.5da: type = assoc_entity_type @AddWith, @AddWith(%T) [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.c45: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%T, %Self.66b) [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.Op.2f3: %AddWith.WithSelf.Op.type.c45 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type.853: type = facet_access_type %Self.66b [symbolic] +// CHECK:STDOUT: %pattern_type.119: type = pattern_type %Self.as_type.853 [symbolic] +// CHECK:STDOUT: %.668: Core.Form = init_form %Self.as_type.853 [symbolic] +// CHECK:STDOUT: %AddWith.type.4d9: type = facet_type <@AddWith, @AddWith(%i32.builtin)> [concrete] +// CHECK:STDOUT: %Self.0aa: %AddWith.type.4d9 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.c7d: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%i32.builtin, %Self.66b) [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.Op.644: %AddWith.WithSelf.Op.type.c7d = struct_value () [symbolic] +// CHECK:STDOUT: %AddWith.assoc_type.b31: type = assoc_entity_type @AddWith, @AddWith(%i32.builtin) [concrete] +// CHECK:STDOUT: %assoc0.fba: %AddWith.assoc_type.b31 = assoc_entity element0, imports.%Core.import_ref.29f [concrete] +// CHECK:STDOUT: %assoc0.acd: %AddWith.assoc_type.5da = assoc_entity element0, imports.%Core.import_ref.a1e [symbolic] // CHECK:STDOUT: %AddWith.impl_witness: = impl_witness imports.%AddWith.impl_witness_table [concrete] -// CHECK:STDOUT: %AddWith.facet: %AddWith.type.e6c = facet_value %i32.builtin, (%AddWith.impl_witness) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.177: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%i32.builtin, %AddWith.facet) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.f37: %AddWith.WithSelf.Op.type.177 = struct_value () [concrete] -// CHECK:STDOUT: %.c5f: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.177, %AddWith.facet [concrete] +// CHECK:STDOUT: %AddWith.facet: %AddWith.type.4d9 = facet_value %i32.builtin, (%AddWith.impl_witness) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.9e3: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%i32.builtin, %AddWith.facet) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.e6f: %AddWith.WithSelf.Op.type.9e3 = struct_value () [concrete] +// CHECK:STDOUT: %.92a: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.9e3, %AddWith.facet [concrete] // CHECK:STDOUT: %i32.builtin.as.AddWith.impl.Op.type: type = fn_type @i32.builtin.as.AddWith.impl.Op [concrete] // CHECK:STDOUT: %i32.builtin.as.AddWith.impl.Op: %i32.builtin.as.AddWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin.as.AddWith.impl.Op.bound.351: = bound_method %int_1.f38, %i32.builtin.as.AddWith.impl.Op [concrete] // CHECK:STDOUT: %int_3.a0f: %i32.builtin = int_value 3 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.9ed: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.9ed = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.a6b: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic] -// CHECK:STDOUT: %Self.afea: %ImplicitAs.type.a6b = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.3cf: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%T) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.fff: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%T, %Self.afea) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.179: %ImplicitAs.WithSelf.Convert.type.fff = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.ae5: type = facet_access_type %Self.afea [symbolic] -// CHECK:STDOUT: %pattern_type.b35: type = pattern_type %Self.as_type.ae5 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.9ab: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %Self.325: %ImplicitAs.type.9ab = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.7b9: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %Self.afea) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.608: %ImplicitAs.WithSelf.Convert.type.7b9 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.79d: type = assoc_entity_type @ImplicitAs, @ImplicitAs(Core.IntLiteral) [concrete] -// CHECK:STDOUT: %assoc0.f12: %ImplicitAs.assoc_type.79d = assoc_entity element0, imports.%Core.import_ref.26e [concrete] -// CHECK:STDOUT: %assoc0.2d5: %ImplicitAs.assoc_type.3cf = assoc_entity element0, imports.%Core.import_ref.8f8 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.9bd: type = facet_type <@ImplicitAs, @ImplicitAs(%i32.builtin)> [concrete] -// CHECK:STDOUT: %Self.118: %ImplicitAs.type.9bd = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.662: = impl_witness imports.%ImplicitAs.impl_witness_table.4fc [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.082: %ImplicitAs.type.9ab = facet_value %i32.builtin, (%ImplicitAs.impl_witness.662) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.78e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.082) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.5b3: %ImplicitAs.WithSelf.Convert.type.78e = struct_value () [concrete] -// CHECK:STDOUT: %.197: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.78e, %ImplicitAs.facet.082 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6e6: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic] +// CHECK:STDOUT: %Self.b7e: %ImplicitAs.type.6e6 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.bf1: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%T) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c63: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%T, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.cba: %ImplicitAs.WithSelf.Convert.type.c63 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type.8c1: type = facet_access_type %Self.b7e [symbolic] +// CHECK:STDOUT: %pattern_type.cbe: type = pattern_type %Self.as_type.8c1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %Self.442: %ImplicitAs.type.ace = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f08: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.ce8: %ImplicitAs.WithSelf.Convert.type.f08 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.175: type = assoc_entity_type @ImplicitAs, @ImplicitAs(Core.IntLiteral) [concrete] +// CHECK:STDOUT: %assoc0.bd7: %ImplicitAs.assoc_type.175 = assoc_entity element0, imports.%Core.import_ref.569 [concrete] +// CHECK:STDOUT: %assoc0.bd2: %ImplicitAs.assoc_type.bf1 = assoc_entity element0, imports.%Core.import_ref.cd5 [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.7d9: type = facet_type <@ImplicitAs, @ImplicitAs(%i32.builtin)> [concrete] +// CHECK:STDOUT: %Self.6fb: %ImplicitAs.type.7d9 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.c09: = impl_witness imports.%ImplicitAs.impl_witness_table.e83 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.5b2: %ImplicitAs.type.ace = facet_value %i32.builtin, (%ImplicitAs.impl_witness.c09) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.8e3: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.5b2) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.827: %ImplicitAs.WithSelf.Convert.type.8e3 = struct_value () [concrete] +// CHECK:STDOUT: %.bfe: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.8e3, %ImplicitAs.facet.5b2 [concrete] // CHECK:STDOUT: %i32.builtin.as.ImplicitAs.impl.Convert.type: type = fn_type @i32.builtin.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %i32.builtin.as.ImplicitAs.impl.Convert: %i32.builtin.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.a0f, %i32.builtin.as.ImplicitAs.impl.Convert [concrete] @@ -857,15 +857,15 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %tuple.type: type = tuple_type (Core.IntLiteral, Core.IntLiteral, %i32.builtin) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%int_3.1ba, %int_4.0c1, %int_7) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.8bb: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32.builtin, %Self.afea) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.365: %ImplicitAs.WithSelf.Convert.type.8bb = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.6eb: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%i32.builtin) [concrete] -// CHECK:STDOUT: %assoc0.dd6: %ImplicitAs.assoc_type.6eb = assoc_entity element0, imports.%Core.import_ref.26e [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.53d: = impl_witness imports.%ImplicitAs.impl_witness_table.e4d [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.0b5: %ImplicitAs.type.9bd = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.53d) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.3bf: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32.builtin, %ImplicitAs.facet.0b5) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.64b: %ImplicitAs.WithSelf.Convert.type.3bf = struct_value () [concrete] -// CHECK:STDOUT: %.cbd: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.3bf, %ImplicitAs.facet.0b5 [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.d9c: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32.builtin, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.fa0: %ImplicitAs.WithSelf.Convert.type.d9c = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.317: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%i32.builtin) [concrete] +// CHECK:STDOUT: %assoc0.7d8: %ImplicitAs.assoc_type.317 = assoc_entity element0, imports.%Core.import_ref.569 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.d67: = impl_witness imports.%ImplicitAs.impl_witness_table.086 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.1ae: %ImplicitAs.type.7d9 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.d67) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.1ae: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32.builtin, %ImplicitAs.facet.1ae) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.968: %ImplicitAs.WithSelf.Convert.type.1ae = struct_value () [concrete] +// CHECK:STDOUT: %.966: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.1ae, %ImplicitAs.facet.1ae [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.94b: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] @@ -882,53 +882,53 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: import Core//default // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//default, Int, loaded [concrete = constants.%Int] -// CHECK:STDOUT: %Core.As: %As.type.e42 = import_ref Core//default, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6f5: @As.WithSelf.%As.assoc_type (%As.assoc_type.f62) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @As.WithSelf.%assoc0 (constants.%assoc0.dc3)] -// CHECK:STDOUT: %Core.Convert.29a = import_ref Core//default, Convert, unloaded -// CHECK:STDOUT: %Core.import_ref.f84: @As.WithSelf.%As.WithSelf.Convert.type (%As.WithSelf.Convert.type.421) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @As.WithSelf.%As.WithSelf.Convert (constants.%As.WithSelf.Convert.f90)] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//default, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.262: @As.WithSelf.%As.assoc_type (%As.assoc_type.08c) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @As.WithSelf.%assoc0 (constants.%assoc0.959)] +// CHECK:STDOUT: %Core.Convert.e48 = import_ref Core//default, Convert, unloaded +// CHECK:STDOUT: %Core.import_ref.b65: @As.WithSelf.%As.WithSelf.Convert.type (%As.WithSelf.Convert.type.7b2) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @As.WithSelf.%As.WithSelf.Convert (constants.%As.WithSelf.Convert.60f)] // CHECK:STDOUT: %Core.import_ref.b3bc94.2: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @As.%T (constants.%T)] -// CHECK:STDOUT: %Core.import_ref.ad18e2.2: @As.%As.type (%As.type.90e) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @As.%Self (constants.%Self.c83)] -// CHECK:STDOUT: %Core.import_ref.d33 = import_ref Core//default, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.e2e926.2: @As.%As.type (%As.type.799) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @As.%Self (constants.%Self.26f)] +// CHECK:STDOUT: %Core.import_ref.123 = import_ref Core//default, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: %Core.import_ref.b3bc94.3: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @As.%T (constants.%T)] -// CHECK:STDOUT: %Core.import_ref.7ab = import_ref Core//default, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.4f3: = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%As.impl_witness] -// CHECK:STDOUT: %Core.import_ref.999e39.1: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = Core.IntLiteral] -// CHECK:STDOUT: %Core.import_ref.875: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%As.type.028] -// CHECK:STDOUT: %Core.import_ref.b97ffd.1: %Core.IntLiteral.as.As.impl.Convert.type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] -// CHECK:STDOUT: %As.impl_witness_table = impl_witness_table (%Core.import_ref.b97ffd.1), @Core.IntLiteral.as.As.impl [concrete] -// CHECK:STDOUT: %Core.AddWith: %AddWith.type.9b4 = import_ref Core//default, AddWith, loaded [concrete = constants.%AddWith.generic] -// CHECK:STDOUT: %Core.import_ref.271: @AddWith.WithSelf.%AddWith.assoc_type (%AddWith.assoc_type.00a) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @AddWith.WithSelf.%assoc0 (constants.%assoc0.bbe)] +// CHECK:STDOUT: %Core.import_ref.412 = import_ref Core//default, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.f83: = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%As.impl_witness] +// CHECK:STDOUT: %Core.import_ref.f93ced.1: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = Core.IntLiteral] +// CHECK:STDOUT: %Core.import_ref.f6f: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%As.type.5d6] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.As.impl.Convert.type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %As.impl_witness_table = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.AddWith: %AddWith.type.be4 = import_ref Core//default, AddWith, loaded [concrete = constants.%AddWith.generic] +// CHECK:STDOUT: %Core.import_ref.5bb: @AddWith.WithSelf.%AddWith.assoc_type (%AddWith.assoc_type.5da) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @AddWith.WithSelf.%assoc0 (constants.%assoc0.acd)] // CHECK:STDOUT: %Core.Op = import_ref Core//default, Op, unloaded -// CHECK:STDOUT: %Core.import_ref.d05: @AddWith.WithSelf.%AddWith.WithSelf.Op.type (%AddWith.WithSelf.Op.type.60a) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @AddWith.WithSelf.%AddWith.WithSelf.Op (constants.%AddWith.WithSelf.Op.c09)] +// CHECK:STDOUT: %Core.import_ref.29f: @AddWith.WithSelf.%AddWith.WithSelf.Op.type (%AddWith.WithSelf.Op.type.c45) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @AddWith.WithSelf.%AddWith.WithSelf.Op (constants.%AddWith.WithSelf.Op.2f3)] // CHECK:STDOUT: %Core.import_ref.b3bc94.5: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @AddWith.%T (constants.%T)] -// CHECK:STDOUT: %Core.import_ref.25098b.2: @AddWith.%AddWith.type (%AddWith.type.e05) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @AddWith.%Self (constants.%Self.b52)] -// CHECK:STDOUT: %Core.import_ref.9a5 = import_ref Core//default, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.9d89b2.2: @AddWith.%AddWith.type (%AddWith.type.893) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @AddWith.%Self (constants.%Self.66b)] +// CHECK:STDOUT: %Core.import_ref.4d4 = import_ref Core//default, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: %Core.import_ref.b3bc94.6: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @AddWith.%T (constants.%T)] -// CHECK:STDOUT: %Core.import_ref.6f1 = import_ref Core//default, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.4aa: = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%AddWith.impl_witness] +// CHECK:STDOUT: %Core.import_ref.a1e = import_ref Core//default, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.6bb: = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%AddWith.impl_witness] // CHECK:STDOUT: %Core.import_ref.63cbb1.2: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.builtin] -// CHECK:STDOUT: %Core.import_ref.0cf: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%AddWith.type.e6c] -// CHECK:STDOUT: %Core.import_ref.805: %i32.builtin.as.AddWith.impl.Op.type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.builtin.as.AddWith.impl.Op] -// CHECK:STDOUT: %AddWith.impl_witness_table = impl_witness_table (%Core.import_ref.805), @i32.builtin.as.AddWith.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.9ed = import_ref Core//default, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.de6: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.3cf) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.2d5)] -// CHECK:STDOUT: %Core.Convert.733 = import_ref Core//default, Convert, unloaded -// CHECK:STDOUT: %Core.import_ref.26e: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.fff) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.179)] +// CHECK:STDOUT: %Core.import_ref.d64: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%AddWith.type.4d9] +// CHECK:STDOUT: %Core.import_ref.f63: %i32.builtin.as.AddWith.impl.Op.type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.builtin.as.AddWith.impl.Op] +// CHECK:STDOUT: %AddWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @i32.builtin.as.AddWith.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//default, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.195: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.bf1) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.bd2)] +// CHECK:STDOUT: %Core.Convert.dd6 = import_ref Core//default, Convert, unloaded +// CHECK:STDOUT: %Core.import_ref.569: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.c63) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.cba)] // CHECK:STDOUT: %Core.import_ref.b3bc94.8: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%T (constants.%T)] -// CHECK:STDOUT: %Core.import_ref.c58470.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%Self (constants.%Self.afea)] -// CHECK:STDOUT: %Core.import_ref.450 = import_ref Core//default, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.81ed31.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%Self (constants.%Self.b7e)] +// CHECK:STDOUT: %Core.import_ref.7df = import_ref Core//default, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: %Core.import_ref.b3bc94.9: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%T (constants.%T)] -// CHECK:STDOUT: %Core.import_ref.8f8 = import_ref Core//default, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.4f4: = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%ImplicitAs.impl_witness.53d] -// CHECK:STDOUT: %Core.import_ref.999e39.2: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = Core.IntLiteral] -// CHECK:STDOUT: %Core.import_ref.c72: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%ImplicitAs.type.9bd] -// CHECK:STDOUT: %Core.import_ref.867: = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%ImplicitAs.impl_witness.662] +// CHECK:STDOUT: %Core.import_ref.cd5 = import_ref Core//default, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.2d0: = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%ImplicitAs.impl_witness.d67] +// CHECK:STDOUT: %Core.import_ref.f93ced.2: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = Core.IntLiteral] +// CHECK:STDOUT: %Core.import_ref.d06: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%ImplicitAs.type.7d9] +// CHECK:STDOUT: %Core.import_ref.4a2: = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%ImplicitAs.impl_witness.c09] // CHECK:STDOUT: %Core.import_ref.63cbb1.3: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.builtin] -// CHECK:STDOUT: %Core.import_ref.e08: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%ImplicitAs.type.9ab] -// CHECK:STDOUT: %Core.import_ref.b97ffd.2: %i32.builtin.as.ImplicitAs.impl.Convert.type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.builtin.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.4fc = impl_witness_table (%Core.import_ref.b97ffd.2), @i32.builtin.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.b97ffd.3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.e4d = impl_witness_table (%Core.import_ref.b97ffd.3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.c57: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%ImplicitAs.type.ace] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %i32.builtin.as.ImplicitAs.impl.Convert.type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.builtin.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.e83 = impl_witness_table (%Core.import_ref.adef5f.2), @i32.builtin.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.adef5f.3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.086 = impl_witness_table (%Core.import_ref.adef5f.3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -946,22 +946,22 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %.loc4_16: type = type_literal constants.%i32.builtin [concrete = constants.%i32.builtin] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc4_27: type = type_literal constants.%i32.builtin [concrete = constants.%i32.builtin] -// CHECK:STDOUT: %impl.elem0.loc4_24: %.57c = impl_witness_access constants.%As.impl_witness, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc4_24: %.900 = impl_witness_access constants.%As.impl_witness, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] // CHECK:STDOUT: %bound_method.loc4_24: = bound_method %int_1, %impl.elem0.loc4_24 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.5d7] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc4_24: init %i32.builtin = call %bound_method.loc4_24(%int_1) [concrete = constants.%int_1.f38] // CHECK:STDOUT: %.loc4_24.1: %i32.builtin = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc4_24 [concrete = constants.%int_1.f38] // CHECK:STDOUT: %.loc4_24.2: %i32.builtin = converted %int_1, %.loc4_24.1 [concrete = constants.%int_1.f38] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc4_40: type = type_literal constants.%i32.builtin [concrete = constants.%i32.builtin] -// CHECK:STDOUT: %impl.elem0.loc4_37: %.57c = impl_witness_access constants.%As.impl_witness, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc4_37: %.900 = impl_witness_access constants.%As.impl_witness, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] // CHECK:STDOUT: %bound_method.loc4_37: = bound_method %int_2, %impl.elem0.loc4_37 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.959] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc4_37: init %i32.builtin = call %bound_method.loc4_37(%int_2) [concrete = constants.%int_2.5a1] // CHECK:STDOUT: %.loc4_37.1: %i32.builtin = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc4_37 [concrete = constants.%int_2.5a1] // CHECK:STDOUT: %.loc4_37.2: %i32.builtin = converted %int_2, %.loc4_37.1 [concrete = constants.%int_2.5a1] -// CHECK:STDOUT: %impl.elem0.loc4_32.1: %.c5f = impl_witness_access constants.%AddWith.impl_witness, element0 [concrete = constants.%i32.builtin.as.AddWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc4_32.1: %.92a = impl_witness_access constants.%AddWith.impl_witness, element0 [concrete = constants.%i32.builtin.as.AddWith.impl.Op] // CHECK:STDOUT: %bound_method.loc4_32.1: = bound_method %.loc4_24.2, %impl.elem0.loc4_32.1 [concrete = constants.%i32.builtin.as.AddWith.impl.Op.bound.351] // CHECK:STDOUT: %i32.builtin.as.AddWith.impl.Op.call: init %i32.builtin = call %bound_method.loc4_32.1(%.loc4_24.2, %.loc4_37.2) [concrete = constants.%int_3.a0f] -// CHECK:STDOUT: %impl.elem0.loc4_32.2: %.197 = impl_witness_access constants.%ImplicitAs.impl_witness.662, element0 [concrete = constants.%i32.builtin.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc4_32.2: %.bfe = impl_witness_access constants.%ImplicitAs.impl_witness.c09, element0 [concrete = constants.%i32.builtin.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc4_32.2: = bound_method %i32.builtin.as.AddWith.impl.Op.call, %impl.elem0.loc4_32.2 [concrete = constants.%i32.builtin.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %.loc4_32.1: %i32.builtin = value_of_initializer %i32.builtin.as.AddWith.impl.Op.call [concrete = constants.%int_3.a0f] // CHECK:STDOUT: %.loc4_32.2: %i32.builtin = converted %i32.builtin.as.AddWith.impl.Op.call, %.loc4_32.1 [concrete = constants.%int_3.a0f] @@ -977,14 +977,14 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(%T)> [symbolic = %As.type (constants.%As.type.90e)] -// CHECK:STDOUT: %Self: @As.%As.type (%As.type.90e) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.c83)] +// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(%T)> [symbolic = %As.type (constants.%As.type.799)] +// CHECK:STDOUT: %Self: @As.%As.type (%As.type.799) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.26f)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Core.import_ref.d33 -// CHECK:STDOUT: .Convert = imports.%Core.import_ref.6f5 -// CHECK:STDOUT: witness = (imports.%Core.Convert.29a) +// CHECK:STDOUT: .Self = imports.%Core.import_ref.123 +// CHECK:STDOUT: .Convert = imports.%Core.import_ref.262 +// CHECK:STDOUT: witness = (imports.%Core.Convert.e48) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } @@ -994,13 +994,13 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(%T)> [symbolic = %AddWith.type (constants.%AddWith.type.e05)] -// CHECK:STDOUT: %Self: @AddWith.%AddWith.type (%AddWith.type.e05) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b52)] +// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(%T)> [symbolic = %AddWith.type (constants.%AddWith.type.893)] +// CHECK:STDOUT: %Self: @AddWith.%AddWith.type (%AddWith.type.893) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.66b)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Core.import_ref.9a5 -// CHECK:STDOUT: .Op = imports.%Core.import_ref.271 +// CHECK:STDOUT: .Self = imports.%Core.import_ref.4d4 +// CHECK:STDOUT: .Op = imports.%Core.import_ref.5bb // CHECK:STDOUT: witness = (imports.%Core.Op) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -1011,47 +1011,47 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.a6b)] -// CHECK:STDOUT: %Self: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.afea)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7e)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Core.import_ref.450 -// CHECK:STDOUT: .Convert = imports.%Core.import_ref.de6 -// CHECK:STDOUT: witness = (imports.%Core.Convert.733) +// CHECK:STDOUT: .Self = imports.%Core.import_ref.7df +// CHECK:STDOUT: .Convert = imports.%Core.import_ref.195 +// CHECK:STDOUT: witness = (imports.%Core.Convert.dd6) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @Core.IntLiteral.as.As.impl: imports.%Core.import_ref.999e39.1 as imports.%Core.import_ref.875 [from "core.carbon"] { +// CHECK:STDOUT: impl @Core.IntLiteral.as.As.impl: imports.%Core.import_ref.f93ced.1 as imports.%Core.import_ref.f6f [from "core.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Core.import_ref.4f3 +// CHECK:STDOUT: witness = imports.%Core.import_ref.f83 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @i32.builtin.as.AddWith.impl: imports.%Core.import_ref.63cbb1.2 as imports.%Core.import_ref.0cf [from "core.carbon"] { +// CHECK:STDOUT: impl @i32.builtin.as.AddWith.impl: imports.%Core.import_ref.63cbb1.2 as imports.%Core.import_ref.d64 [from "core.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Core.import_ref.4aa +// CHECK:STDOUT: witness = imports.%Core.import_ref.6bb // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @Core.IntLiteral.as.ImplicitAs.impl: imports.%Core.import_ref.999e39.2 as imports.%Core.import_ref.c72 [from "core.carbon"] { +// CHECK:STDOUT: impl @Core.IntLiteral.as.ImplicitAs.impl: imports.%Core.import_ref.f93ced.2 as imports.%Core.import_ref.d06 [from "core.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Core.import_ref.4f4 +// CHECK:STDOUT: witness = imports.%Core.import_ref.2d0 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @i32.builtin.as.ImplicitAs.impl: imports.%Core.import_ref.63cbb1.3 as imports.%Core.import_ref.e08 [from "core.carbon"] { +// CHECK:STDOUT: impl @i32.builtin.as.ImplicitAs.impl: imports.%Core.import_ref.63cbb1.3 as imports.%Core.import_ref.c57 [from "core.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Core.import_ref.867 +// CHECK:STDOUT: witness = imports.%Core.import_ref.4a2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Int = "int.make_type_signed" [from "core.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @As.WithSelf.Convert(imports.%Core.import_ref.b3bc94.2: type, imports.%Core.import_ref.ad18e2.2: @As.%As.type (%As.type.90e)) [from "core.carbon"] { +// CHECK:STDOUT: generic fn @As.WithSelf.Convert(imports.%Core.import_ref.b3bc94.2: type, imports.%Core.import_ref.e2e926.2: @As.%As.type (%As.type.799)) [from "core.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(%T)> [symbolic = %As.type (constants.%As.type.90e)] -// CHECK:STDOUT: %Self: @As.WithSelf.Convert.%As.type (%As.type.90e) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.c83)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.ea9)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.117)] +// CHECK:STDOUT: %As.type: type = facet_type <@As, @As(%T)> [symbolic = %As.type (constants.%As.type.799)] +// CHECK:STDOUT: %Self: @As.WithSelf.Convert.%As.type (%As.type.799) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.26f)] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.eb7)] +// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.89d)] // CHECK:STDOUT: %.1: Core.Form = init_form %T [symbolic = %.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.2: type = pattern_type %T [symbolic = %pattern_type.2 (constants.%pattern_type.51d)] // CHECK:STDOUT: @@ -1060,25 +1060,25 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: // CHECK:STDOUT: fn @Core.IntLiteral.as.As.impl.Convert = "int.convert_checked" [from "core.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @AddWith.WithSelf.Op(imports.%Core.import_ref.b3bc94.5: type, imports.%Core.import_ref.25098b.2: @AddWith.%AddWith.type (%AddWith.type.e05)) [from "core.carbon"] { +// CHECK:STDOUT: generic fn @AddWith.WithSelf.Op(imports.%Core.import_ref.b3bc94.5: type, imports.%Core.import_ref.9d89b2.2: @AddWith.%AddWith.type (%AddWith.type.893)) [from "core.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(%T)> [symbolic = %AddWith.type (constants.%AddWith.type.e05)] -// CHECK:STDOUT: %Self: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.e05) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b52)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.266)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.940)] -// CHECK:STDOUT: %.1: Core.Form = init_form %Self.as_type [symbolic = %.1 (constants.%.a8a)] +// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(%T)> [symbolic = %AddWith.type (constants.%AddWith.type.893)] +// CHECK:STDOUT: %Self: @AddWith.WithSelf.Op.%AddWith.type (%AddWith.type.893) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.66b)] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.853)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.119)] +// CHECK:STDOUT: %.1: Core.Form = init_form %Self.as_type [symbolic = %.1 (constants.%.668)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @i32.builtin.as.AddWith.impl.Op = "int.sadd" [from "core.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(imports.%Core.import_ref.b3bc94.8: type, imports.%Core.import_ref.c58470.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b)) [from "core.carbon"] { +// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(imports.%Core.import_ref.b3bc94.8: type, imports.%Core.import_ref.81ed31.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6)) [from "core.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.a6b)] -// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.afea)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.ae5)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.b35)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7e)] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.8c1)] +// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.cbe)] // CHECK:STDOUT: %.1: Core.Form = init_form %T [symbolic = %.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.2: type = pattern_type %T [symbolic = %pattern_type.2 (constants.%pattern_type.51d)] // CHECK:STDOUT: @@ -1095,30 +1095,30 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %int_4.loc4_52: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] // CHECK:STDOUT: %int_3.loc4_56: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc4_61: type = type_literal constants.%i32.builtin [concrete = constants.%i32.builtin] -// CHECK:STDOUT: %impl.elem0.loc4_58: %.57c = impl_witness_access constants.%As.impl_witness, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc4_58: %.900 = impl_witness_access constants.%As.impl_witness, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] // CHECK:STDOUT: %bound_method.loc4_58: = bound_method %int_3.loc4_56, %impl.elem0.loc4_58 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.94b] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc4_58: init %i32.builtin = call %bound_method.loc4_58(%int_3.loc4_56) [concrete = constants.%int_3.a0f] // CHECK:STDOUT: %.loc4_58.1: %i32.builtin = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc4_58 [concrete = constants.%int_3.a0f] // CHECK:STDOUT: %.loc4_58.2: %i32.builtin = converted %int_3.loc4_56, %.loc4_58.1 [concrete = constants.%int_3.a0f] // CHECK:STDOUT: %int_4.loc4_69: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] // CHECK:STDOUT: %.loc4_74: type = type_literal constants.%i32.builtin [concrete = constants.%i32.builtin] -// CHECK:STDOUT: %impl.elem0.loc4_71: %.57c = impl_witness_access constants.%As.impl_witness, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc4_71: %.900 = impl_witness_access constants.%As.impl_witness, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] // CHECK:STDOUT: %bound_method.loc4_71: = bound_method %int_4.loc4_69, %impl.elem0.loc4_71 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.0f9] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc4_71: init %i32.builtin = call %bound_method.loc4_71(%int_4.loc4_69) [concrete = constants.%int_4.4f1] // CHECK:STDOUT: %.loc4_71.1: %i32.builtin = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc4_71 [concrete = constants.%int_4.4f1] // CHECK:STDOUT: %.loc4_71.2: %i32.builtin = converted %int_4.loc4_69, %.loc4_71.1 [concrete = constants.%int_4.4f1] -// CHECK:STDOUT: %impl.elem0.loc4_66: %.c5f = impl_witness_access constants.%AddWith.impl_witness, element0 [concrete = constants.%i32.builtin.as.AddWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc4_66: %.92a = impl_witness_access constants.%AddWith.impl_witness, element0 [concrete = constants.%i32.builtin.as.AddWith.impl.Op] // CHECK:STDOUT: %bound_method.loc4_66: = bound_method %.loc4_58.2, %impl.elem0.loc4_66 [concrete = constants.%i32.builtin.as.AddWith.impl.Op.bound.c75] // CHECK:STDOUT: %i32.builtin.as.AddWith.impl.Op.call: init %i32.builtin = call %bound_method.loc4_66(%.loc4_58.2, %.loc4_71.2) [concrete = constants.%int_7] // CHECK:STDOUT: %.loc4_78.1: %tuple.type = tuple_literal (%int_3.loc4_49, %int_4.loc4_52, %i32.builtin.as.AddWith.impl.Op.call) [concrete = constants.%tuple] -// CHECK:STDOUT: %impl.elem0.loc4_78.1: %.cbd = impl_witness_access constants.%ImplicitAs.impl_witness.53d, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc4_78.1: %.966 = impl_witness_access constants.%ImplicitAs.impl_witness.d67, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc4_78.1: = bound_method %int_3.loc4_49, %impl.elem0.loc4_78.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.94b] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc4_78.1: init %i32.builtin = call %bound_method.loc4_78.1(%int_3.loc4_49) [concrete = constants.%int_3.a0f] // CHECK:STDOUT: %.loc4_78.2: init %i32.builtin = converted %int_3.loc4_49, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc4_78.1 [concrete = constants.%int_3.a0f] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc4_78.3: ref %i32.builtin = array_index file.%arr.var, %int_0 // CHECK:STDOUT: %.loc4_78.4: init %i32.builtin to %.loc4_78.3 = in_place_init %.loc4_78.2 [concrete = constants.%int_3.a0f] -// CHECK:STDOUT: %impl.elem0.loc4_78.2: %.cbd = impl_witness_access constants.%ImplicitAs.impl_witness.53d, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc4_78.2: %.966 = impl_witness_access constants.%ImplicitAs.impl_witness.d67, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc4_78.2: = bound_method %int_4.loc4_52, %impl.elem0.loc4_78.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.0f9] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc4_78.2: init %i32.builtin = call %bound_method.loc4_78.2(%int_4.loc4_52) [concrete = constants.%int_4.4f1] // CHECK:STDOUT: %.loc4_78.5: init %i32.builtin = converted %int_4.loc4_52, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc4_78.2 [concrete = constants.%int_4.4f1] @@ -1138,14 +1138,14 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @As.WithSelf(constants.%T, constants.%Self.c83) {} +// CHECK:STDOUT: specific @As.WithSelf(constants.%T, constants.%Self.26f) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @As.WithSelf.Convert(constants.%T, constants.%Self.c83) { +// CHECK:STDOUT: specific @As.WithSelf.Convert(constants.%T, constants.%Self.26f) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %As.type => constants.%As.type.90e -// CHECK:STDOUT: %Self => constants.%Self.c83 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.ea9 -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.117 +// CHECK:STDOUT: %As.type => constants.%As.type.799 +// CHECK:STDOUT: %Self => constants.%Self.26f +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.eb7 +// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.89d // CHECK:STDOUT: %.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -1154,89 +1154,89 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T => constants.%i32.builtin // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %As.type => constants.%As.type.028 -// CHECK:STDOUT: %Self => constants.%Self.83d +// CHECK:STDOUT: %As.type => constants.%As.type.5d6 +// CHECK:STDOUT: %Self => constants.%Self.4e8 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @As.WithSelf(constants.%i32.builtin, constants.%Self.c83) { +// CHECK:STDOUT: specific @As.WithSelf(constants.%i32.builtin, constants.%Self.26f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %As.type => constants.%As.type.028 -// CHECK:STDOUT: %Self => constants.%Self.c83 -// CHECK:STDOUT: %As.WithSelf.Convert.type => constants.%As.WithSelf.Convert.type.d80 -// CHECK:STDOUT: %As.WithSelf.Convert => constants.%As.WithSelf.Convert.f57 -// CHECK:STDOUT: %As.assoc_type => constants.%As.assoc_type.cf3 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.002 +// CHECK:STDOUT: %As.type => constants.%As.type.5d6 +// CHECK:STDOUT: %Self => constants.%Self.26f +// CHECK:STDOUT: %As.WithSelf.Convert.type => constants.%As.WithSelf.Convert.type.e34 +// CHECK:STDOUT: %As.WithSelf.Convert => constants.%As.WithSelf.Convert.5e6 +// CHECK:STDOUT: %As.assoc_type => constants.%As.assoc_type.b5c +// CHECK:STDOUT: %assoc0 => constants.%assoc0.bff // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @As.WithSelf(constants.%i32.builtin, constants.%As.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %As.type => constants.%As.type.028 +// CHECK:STDOUT: %As.type => constants.%As.type.5d6 // CHECK:STDOUT: %Self => constants.%As.facet -// CHECK:STDOUT: %As.WithSelf.Convert.type => constants.%As.WithSelf.Convert.type.837 -// CHECK:STDOUT: %As.WithSelf.Convert => constants.%As.WithSelf.Convert.a35 -// CHECK:STDOUT: %As.assoc_type => constants.%As.assoc_type.cf3 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.002 +// CHECK:STDOUT: %As.WithSelf.Convert.type => constants.%As.WithSelf.Convert.type.9cc +// CHECK:STDOUT: %As.WithSelf.Convert => constants.%As.WithSelf.Convert.88b +// CHECK:STDOUT: %As.assoc_type => constants.%As.assoc_type.b5c +// CHECK:STDOUT: %assoc0 => constants.%assoc0.bff // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @AddWith(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.WithSelf(constants.%T, constants.%Self.b52) {} +// CHECK:STDOUT: specific @AddWith.WithSelf(constants.%T, constants.%Self.66b) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.WithSelf.Op(constants.%T, constants.%Self.b52) { +// CHECK:STDOUT: specific @AddWith.WithSelf.Op(constants.%T, constants.%Self.66b) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.e05 -// CHECK:STDOUT: %Self => constants.%Self.b52 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.266 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.940 -// CHECK:STDOUT: %.1 => constants.%.a8a +// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.893 +// CHECK:STDOUT: %Self => constants.%Self.66b +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.853 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.119 +// CHECK:STDOUT: %.1 => constants.%.668 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @AddWith(constants.%i32.builtin) { // CHECK:STDOUT: %T => constants.%i32.builtin // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.e6c -// CHECK:STDOUT: %Self => constants.%Self.afe5 +// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.4d9 +// CHECK:STDOUT: %Self => constants.%Self.0aa // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.WithSelf(constants.%i32.builtin, constants.%Self.b52) { +// CHECK:STDOUT: specific @AddWith.WithSelf(constants.%i32.builtin, constants.%Self.66b) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.e6c -// CHECK:STDOUT: %Self => constants.%Self.b52 -// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.7a0 -// CHECK:STDOUT: %AddWith.WithSelf.Op => constants.%AddWith.WithSelf.Op.21e -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.d8b -// CHECK:STDOUT: %assoc0 => constants.%assoc0.f0d +// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.4d9 +// CHECK:STDOUT: %Self => constants.%Self.66b +// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.c7d +// CHECK:STDOUT: %AddWith.WithSelf.Op => constants.%AddWith.WithSelf.Op.644 +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.b31 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.fba // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @AddWith.WithSelf(constants.%i32.builtin, constants.%AddWith.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.e6c +// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.4d9 // CHECK:STDOUT: %Self => constants.%AddWith.facet -// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.177 -// CHECK:STDOUT: %AddWith.WithSelf.Op => constants.%AddWith.WithSelf.Op.f37 -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.d8b -// CHECK:STDOUT: %assoc0 => constants.%assoc0.f0d +// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.9e3 +// CHECK:STDOUT: %AddWith.WithSelf.Op => constants.%AddWith.WithSelf.Op.e6f +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.b31 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.fba // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ImplicitAs(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%T, constants.%Self.afea) {} +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%T, constants.%Self.b7e) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%T, constants.%Self.afea) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%T, constants.%Self.b7e) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.a6b -// CHECK:STDOUT: %Self => constants.%Self.afea -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.ae5 -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.b35 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.6e6 +// CHECK:STDOUT: %Self => constants.%Self.b7e +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.8c1 +// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.cbe // CHECK:STDOUT: %.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -1245,59 +1245,59 @@ var arr: array(i32, (1 as i32) + (2 as i32)) = (3, 4, (3 as i32) + (4 as i32)); // CHECK:STDOUT: %T => Core.IntLiteral // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9ab -// CHECK:STDOUT: %Self => constants.%Self.325 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.ace +// CHECK:STDOUT: %Self => constants.%Self.442 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(Core.IntLiteral, constants.%Self.afea) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(Core.IntLiteral, constants.%Self.b7e) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => Core.IntLiteral -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9ab -// CHECK:STDOUT: %Self => constants.%Self.afea -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.7b9 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.608 -// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.79d -// CHECK:STDOUT: %assoc0 => constants.%assoc0.f12 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.ace +// CHECK:STDOUT: %Self => constants.%Self.b7e +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.f08 +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.ce8 +// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.175 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.bd7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ImplicitAs(constants.%i32.builtin) { // CHECK:STDOUT: %T => constants.%i32.builtin // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9bd -// CHECK:STDOUT: %Self => constants.%Self.118 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.7d9 +// CHECK:STDOUT: %Self => constants.%Self.6fb // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(Core.IntLiteral, constants.%ImplicitAs.facet.082) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(Core.IntLiteral, constants.%ImplicitAs.facet.5b2) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => Core.IntLiteral -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9ab -// CHECK:STDOUT: %Self => constants.%ImplicitAs.facet.082 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.78e -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.5b3 -// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.79d -// CHECK:STDOUT: %assoc0 => constants.%assoc0.f12 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.ace +// CHECK:STDOUT: %Self => constants.%ImplicitAs.facet.5b2 +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.8e3 +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.827 +// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.175 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.bd7 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%i32.builtin, constants.%Self.afea) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%i32.builtin, constants.%Self.b7e) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9bd -// CHECK:STDOUT: %Self => constants.%Self.afea -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.8bb -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.365 -// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.6eb -// CHECK:STDOUT: %assoc0 => constants.%assoc0.dd6 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.7d9 +// CHECK:STDOUT: %Self => constants.%Self.b7e +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.d9c +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.fa0 +// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.317 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.7d8 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%i32.builtin, constants.%ImplicitAs.facet.0b5) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%i32.builtin, constants.%ImplicitAs.facet.1ae) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32.builtin -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.9bd -// CHECK:STDOUT: %Self => constants.%ImplicitAs.facet.0b5 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.3bf -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.64b -// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.6eb -// CHECK:STDOUT: %assoc0 => constants.%assoc0.dd6 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.7d9 +// CHECK:STDOUT: %Self => constants.%ImplicitAs.facet.1ae +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.1ae +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.968 +// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.317 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.7d8 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/builtin/definition.carbon b/toolchain/check/testdata/function/builtin/definition.carbon index 2285fd087d95..811ed85a4254 100644 --- a/toolchain/check/testdata/function/builtin/definition.carbon +++ b/toolchain/check/testdata/function/builtin/definition.carbon @@ -21,8 +21,8 @@ fn Add(a: i32, b: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %Add.type: type = fn_type @Add [concrete] // CHECK:STDOUT: %Add: %Add.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -43,15 +43,15 @@ fn Add(a: i32, b: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Add.decl: %Add.type = fn_decl @Add [concrete = constants.%Add] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15_27 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15_27 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15_27: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15_27 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15_27 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc15_11: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param diff --git a/toolchain/check/testdata/function/builtin/fail_redefined.carbon b/toolchain/check/testdata/function/builtin/fail_redefined.carbon index dfdc84b67465..95cf5a8684f1 100644 --- a/toolchain/check/testdata/function/builtin/fail_redefined.carbon +++ b/toolchain/check/testdata/function/builtin/fail_redefined.carbon @@ -50,30 +50,30 @@ fn C(n: i32, m: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %A.type.a167e8.1: type = fn_type @A.loc15 [concrete] -// CHECK:STDOUT: %A.f944da.1: %A.type.a167e8.1 = struct_value () [concrete] -// CHECK:STDOUT: %A.type.a167e8.2: type = fn_type @A.loc23 [concrete] -// CHECK:STDOUT: %A.f944da.2: %A.type.a167e8.2 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %A.type.f924ba.1: type = fn_type @A.loc15 [concrete] +// CHECK:STDOUT: %A.c9c0ce.1: %A.type.f924ba.1 = struct_value () [concrete] +// CHECK:STDOUT: %A.type.f924ba.2: type = fn_type @A.loc23 [concrete] +// CHECK:STDOUT: %A.c9c0ce.2: %A.type.f924ba.2 = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %B.type.fb7f47.1: type = fn_type @B.loc25 [concrete] -// CHECK:STDOUT: %B.99baca.1: %B.type.fb7f47.1 = struct_value () [concrete] -// CHECK:STDOUT: %B.type.fb7f47.2: type = fn_type @B.loc33 [concrete] -// CHECK:STDOUT: %B.99baca.2: %B.type.fb7f47.2 = struct_value () [concrete] -// CHECK:STDOUT: %C.type.04952c.1: type = fn_type @C.loc35 [concrete] -// CHECK:STDOUT: %C.4dda5b.1: %C.type.04952c.1 = struct_value () [concrete] -// CHECK:STDOUT: %C.type.04952c.2: type = fn_type @C.loc43 [concrete] -// CHECK:STDOUT: %C.4dda5b.2: %C.type.04952c.2 = struct_value () [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %B.type.d41625.1: type = fn_type @B.loc25 [concrete] +// CHECK:STDOUT: %B.a56e7d.1: %B.type.d41625.1 = struct_value () [concrete] +// CHECK:STDOUT: %B.type.d41625.2: type = fn_type @B.loc33 [concrete] +// CHECK:STDOUT: %B.a56e7d.2: %B.type.d41625.2 = struct_value () [concrete] +// CHECK:STDOUT: %C.type.4c7da9.1: type = fn_type @C.loc35 [concrete] +// CHECK:STDOUT: %C.ade839.1: %C.type.4c7da9.1 = struct_value () [concrete] +// CHECK:STDOUT: %C.type.4c7da9.2: type = fn_type @C.loc43 [concrete] +// CHECK:STDOUT: %C.ade839.2: %C.type.4c7da9.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -85,8 +85,8 @@ fn C(n: i32, m: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -97,16 +97,16 @@ fn C(n: i32, m: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: .C = %C.decl.loc35 // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl.loc15: %A.type.a167e8.1 = fn_decl @A.loc15 [concrete = constants.%A.f944da.1] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %m.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %m.patt: %pattern_type.c6b = at_binding_pattern m, %m.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15_25 [concrete] +// CHECK:STDOUT: %A.decl.loc15: %A.type.f924ba.1 = fn_decl @A.loc15 [concrete = constants.%A.c9c0ce.1] { +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %m.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %m.patt: %pattern_type.104 = at_binding_pattern m, %m.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15_25 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15_25: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15_25 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15_25 [concrete = constants.%.7ea] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc15_9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param @@ -116,16 +116,16 @@ fn C(n: i32, m: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param2 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %A.decl.loc23: %A.type.a167e8.2 = fn_decl @A.loc23 [concrete = constants.%A.f944da.2] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %m.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %m.patt: %pattern_type.c6b = at_binding_pattern m, %m.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc23_32 [concrete] +// CHECK:STDOUT: %A.decl.loc23: %A.type.f924ba.2 = fn_decl @A.loc23 [concrete = constants.%A.c9c0ce.2] { +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %m.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %m.patt: %pattern_type.104 = at_binding_pattern m, %m.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc23_32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc23_32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc23: Core.Form = init_form %i32.loc23_32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc23: Core.Form = init_form %i32.loc23_32 [concrete = constants.%.7ea] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc23_9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param @@ -135,16 +135,16 @@ fn C(n: i32, m: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param2 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %B.decl.loc25: %B.type.fb7f47.1 = fn_decl @B.loc25 [concrete = constants.%B.99baca.1] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %m.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %m.patt: %pattern_type.c6b = at_binding_pattern m, %m.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc25_32 [concrete] +// CHECK:STDOUT: %B.decl.loc25: %B.type.d41625.1 = fn_decl @B.loc25 [concrete = constants.%B.a56e7d.1] { +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %m.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %m.patt: %pattern_type.104 = at_binding_pattern m, %m.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc25_32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc25_32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32.loc25_32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32.loc25_32 [concrete = constants.%.7ea] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc25_9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param @@ -154,16 +154,16 @@ fn C(n: i32, m: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param2 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %B.decl.loc33: %B.type.fb7f47.2 = fn_decl @B.loc33 [concrete = constants.%B.99baca.2] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %m.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %m.patt: %pattern_type.c6b = at_binding_pattern m, %m.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc33_25 [concrete] +// CHECK:STDOUT: %B.decl.loc33: %B.type.d41625.2 = fn_decl @B.loc33 [concrete = constants.%B.a56e7d.2] { +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %m.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %m.patt: %pattern_type.104 = at_binding_pattern m, %m.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc33_25 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc33_25: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc33: Core.Form = init_form %i32.loc33_25 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc33: Core.Form = init_form %i32.loc33_25 [concrete = constants.%.7ea] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc33_9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param @@ -173,16 +173,16 @@ fn C(n: i32, m: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param2 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %C.decl.loc35: %C.type.04952c.1 = fn_decl @C.loc35 [concrete = constants.%C.4dda5b.1] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %m.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %m.patt: %pattern_type.c6b = at_binding_pattern m, %m.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc35_25 [concrete] +// CHECK:STDOUT: %C.decl.loc35: %C.type.4c7da9.1 = fn_decl @C.loc35 [concrete = constants.%C.ade839.1] { +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %m.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %m.patt: %pattern_type.104 = at_binding_pattern m, %m.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc35_25 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc35_25: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc35: Core.Form = init_form %i32.loc35_25 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc35: Core.Form = init_form %i32.loc35_25 [concrete = constants.%.7ea] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc35_9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param @@ -192,16 +192,16 @@ fn C(n: i32, m: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param2 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %C.decl.loc43: %C.type.04952c.2 = fn_decl @C.loc43 [concrete = constants.%C.4dda5b.2] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %m.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %m.patt: %pattern_type.c6b = at_binding_pattern m, %m.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc43_25 [concrete] +// CHECK:STDOUT: %C.decl.loc43: %C.type.4c7da9.2 = fn_decl @C.loc43 [concrete = constants.%C.ade839.2] { +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %m.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %m.patt: %pattern_type.104 = at_binding_pattern m, %m.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc43_25 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc43_25: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc43: Core.Form = init_form %i32.loc43_25 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc43: Core.Form = init_form %i32.loc43_25 [concrete = constants.%.7ea] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc43_9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param @@ -218,7 +218,7 @@ fn C(n: i32, m: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: fn @A.loc23(%n.param: %i32, %m.param: %i32) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc23_45.1: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc23_45.2: = bound_method %n.ref, %specific_fn @@ -229,7 +229,7 @@ fn C(n: i32, m: i32) -> i32 = "int.sadd"; // CHECK:STDOUT: fn @B.loc25(%n.param: %i32, %m.param: %i32) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc25_45.1: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc25_45.2: = bound_method %n.ref, %specific_fn diff --git a/toolchain/check/testdata/function/builtin/method.carbon b/toolchain/check/testdata/function/builtin/method.carbon index 746d5c284642..cfc48dc62491 100644 --- a/toolchain/check/testdata/function/builtin/method.carbon +++ b/toolchain/check/testdata/function/builtin/method.carbon @@ -26,87 +26,87 @@ var arr: array(i32, (1 as i32).(I.F)(2)); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.cd6: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.79d: type = facet_access_type %Self.cd6 [symbolic] -// CHECK:STDOUT: %pattern_type.49f: type = pattern_type %Self.as_type.79d [symbolic] -// CHECK:STDOUT: %.5f5: Core.Form = init_form %Self.as_type.79d [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.831: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.cd6) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.ddf: %I.WithSelf.F.type.831 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.ed0: type = facet_access_type %Self.179 [symbolic] +// CHECK:STDOUT: %pattern_type.a3c: type = pattern_type %Self.as_type.ed0 [symbolic] +// CHECK:STDOUT: %.70c: Core.Form = init_form %Self.as_type.ed0 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.d9f: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.179) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.592: %I.WithSelf.F.type.d9f = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.918: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.8fc: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @i32.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %i32.as.I.impl.F.type: type = fn_type @i32.as.I.impl.F [concrete] // CHECK:STDOUT: %i32.as.I.impl.F: %i32.as.I.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %i32, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.336: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.5a7: %I.WithSelf.F.type.336 = struct_value () [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.d9d: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.b03: %I.WithSelf.F.type.d9d = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] // CHECK:STDOUT: %From: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.4cd: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %.47c: type = fn_type_with_self_type %I.WithSelf.F.type.336, %I.facet [concrete] -// CHECK:STDOUT: %i32.as.I.impl.F.bound: = bound_method %int_1.d5e, %i32.as.I.impl.F [concrete] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.38f: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %.1d4: type = fn_type_with_self_type %I.WithSelf.F.type.d9d, %I.facet [concrete] +// CHECK:STDOUT: %i32.as.I.impl.F.bound: = bound_method %int_1.d9c, %i32.as.I.impl.F [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.2f8: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.7c2: %Int.as.ImplicitAs.impl.Convert.type.2f8 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.e78: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.e78) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet.e78 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.d2b: = impl_witness imports.%ImplicitAs.impl_witness_table.07d, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.73a: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.735: %Int.as.ImplicitAs.impl.Convert.type.73a = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.4dd: %ImplicitAs.type.4bd = facet_value %i32, (%ImplicitAs.impl_witness.d2b) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f57: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.4dd) [concrete] -// CHECK:STDOUT: %.516: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f57, %ImplicitAs.facet.4dd [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.49a, %Int.as.ImplicitAs.impl.Convert.735 [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.735, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.9a4: = bound_method %int_3.49a, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.f73: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.34b: %Int.as.ImplicitAs.impl.Convert.type.f73 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.840: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.840) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet.840 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.062: = impl_witness imports.%ImplicitAs.impl_witness_table.eac, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.337: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.64e: %Int.as.ImplicitAs.impl.Convert.type.337 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.89e: %ImplicitAs.type.ace = facet_value %i32, (%ImplicitAs.impl_witness.062) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b68: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.89e) [concrete] +// CHECK:STDOUT: %.7a9: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b68, %ImplicitAs.facet.89e [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.6cc, %Int.as.ImplicitAs.impl.Convert.64e [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.64e, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.6cc, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_3.1ba, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.215: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.bec: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.343: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%array_type) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.26c: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%array_type) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.4a5: %T.as.DefaultOrUnformed.impl.Op.type.26c = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %array_type, (%DefaultOrUnformed.impl_witness.343) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.4a5, @T.as.DefaultOrUnformed.impl.Op(%array_type) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.f71: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%array_type) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.ea5: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%array_type) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.950: %T.as.DefaultOrUnformed.impl.Op.type.ea5 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %array_type, (%DefaultOrUnformed.impl_witness.f71) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.950, @T.as.DefaultOrUnformed.impl.Op(%array_type) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -119,17 +119,17 @@ var arr: array(i32, (1 as i32).(I.F)(2)); // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.dd0: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.2f8) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.7c2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.07d = impl_witness_table (%Core.import_ref.dd0), @Int.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.835: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.f73) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.34b)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eac = impl_witness_table (%Core.import_ref.835), @Int.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -145,40 +145,40 @@ var arr: array(i32, (1 as i32).(I.F)(2)); // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %arr.patt: %pattern_type.215 = ref_binding_pattern arr [concrete] -// CHECK:STDOUT: %arr.var_patt: %pattern_type.215 = var_pattern %arr.patt [concrete] +// CHECK:STDOUT: %arr.patt: %pattern_type.bec = ref_binding_pattern arr [concrete] +// CHECK:STDOUT: %arr.var_patt: %pattern_type.bec = var_pattern %arr.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %arr.var: ref %array_type = var %arr.var_patt [concrete] // CHECK:STDOUT: %.loc23_40: type = splice_block %array_type [concrete = constants.%array_type] { // CHECK:STDOUT: %i32.loc23_16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32.loc23_27: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc23_24: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] +// CHECK:STDOUT: %impl.elem0.loc23_24: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] // CHECK:STDOUT: %bound_method.loc23_24.1: = bound_method %int_1, %impl.elem0.loc23_24 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc23_24: = specific_function %impl.elem0.loc23_24, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc23_24.2: = bound_method %int_1, %specific_fn.loc23_24 [concrete = constants.%bound_method.4cd] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc23_24.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc23_24.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc23_24.2: %i32 = converted %int_1, %.loc23_24.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc23_24.2: = bound_method %int_1, %specific_fn.loc23_24 [concrete = constants.%bound_method.38f] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc23_24.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc23_24.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc23_24.2: %i32 = converted %int_1, %.loc23_24.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %I.ref: type = name_ref I, %I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, @I.WithSelf.%assoc0 [concrete = constants.%assoc0.918] -// CHECK:STDOUT: %impl.elem0.loc23_31: %.47c = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%i32.as.I.impl.F] +// CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, @I.WithSelf.%assoc0 [concrete = constants.%assoc0.8fc] +// CHECK:STDOUT: %impl.elem0.loc23_31: %.1d4 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%i32.as.I.impl.F] // CHECK:STDOUT: %bound_method.loc23_31: = bound_method %.loc23_24.2, %impl.elem0.loc23_31 [concrete = constants.%i32.as.I.impl.F.bound] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc23_38: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc23_38: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc23_38.1: = bound_method %int_2, %impl.elem0.loc23_38 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc23_38: = specific_function %impl.elem0.loc23_38, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc23_38.2: = bound_method %int_2, %specific_fn.loc23_38 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc23_38.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc23_38.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc23_38.2: %i32 = converted %int_2, %.loc23_38.1 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %i32.as.I.impl.F.call: init %i32 = call %bound_method.loc23_31(%.loc23_24.2, %.loc23_38.2) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %impl.elem0.loc23_39: %.516 = impl_witness_access constants.%ImplicitAs.impl_witness.d2b, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.735] +// CHECK:STDOUT: %bound_method.loc23_38.2: = bound_method %int_2, %specific_fn.loc23_38 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc23_38.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc23_38.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc23_38.2: %i32 = converted %int_2, %.loc23_38.1 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %i32.as.I.impl.F.call: init %i32 = call %bound_method.loc23_31(%.loc23_24.2, %.loc23_38.2) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %impl.elem0.loc23_39: %.7a9 = impl_witness_access constants.%ImplicitAs.impl_witness.062, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.64e] // CHECK:STDOUT: %bound_method.loc23_39.1: = bound_method %i32.as.I.impl.F.call, %impl.elem0.loc23_39 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc23_39: = specific_function %impl.elem0.loc23_39, @Int.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Int.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc23_39.2: = bound_method %i32.as.I.impl.F.call, %specific_fn.loc23_39 [concrete = constants.%bound_method.9a4] -// CHECK:STDOUT: %.loc23_39.1: %i32 = value_of_initializer %i32.as.I.impl.F.call [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc23_39.2: %i32 = converted %i32.as.I.impl.F.call, %.loc23_39.1 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc23_39.2: = bound_method %i32.as.I.impl.F.call, %specific_fn.loc23_39 [concrete = constants.%bound_method.353] +// CHECK:STDOUT: %.loc23_39.1: %i32 = value_of_initializer %i32.as.I.impl.F.call [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc23_39.2: %i32 = converted %i32.as.I.impl.F.call, %.loc23_39.1 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.loc23_39.2(%.loc23_39.2) [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc23_39.3: Core.IntLiteral = value_of_initializer %Int.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc23_39.4: Core.IntLiteral = converted %i32.as.I.impl.F.call, %.loc23_39.3 [concrete = constants.%int_3.1ba] @@ -188,40 +188,40 @@ var arr: array(i32, (1 as i32).(I.F)(2)); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.cd6] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.831) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.ddf)] { -// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.49f) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type (%pattern_type.49f) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.49f) = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: @I.WithSelf.F.%pattern_type (%pattern_type.49f) = at_binding_pattern other, %other.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.49f) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @I.WithSelf.F.%pattern_type (%pattern_type.49f) = return_slot_pattern %return.param_patt, %.loc16_36.2 [concrete] +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.d9f) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.592)] { +// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.a3c) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type (%pattern_type.a3c) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.a3c) = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: @I.WithSelf.F.%pattern_type (%pattern_type.a3c) = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.a3c) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @I.WithSelf.F.%pattern_type (%pattern_type.a3c) = return_slot_pattern %return.param_patt, %.loc16_36.2 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %Self.ref.loc16_36: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.cd6)] -// CHECK:STDOUT: %Self.as_type.loc16_36: type = facet_access_type %Self.ref.loc16_36 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.79d)] -// CHECK:STDOUT: %.loc16_36.2: type = converted %Self.ref.loc16_36, %Self.as_type.loc16_36 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.79d)] -// CHECK:STDOUT: %.loc16_36.3: Core.Form = init_form %.loc16_36.2 [symbolic = %.loc16_36.1 (constants.%.5f5)] -// CHECK:STDOUT: %self.param: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.79d) = value_param call_param0 -// CHECK:STDOUT: %.loc16_14.1: type = splice_block %.loc16_14.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.79d)] { -// CHECK:STDOUT: %Self.ref.loc16_14: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.cd6)] -// CHECK:STDOUT: %Self.as_type.loc16_14.2: type = facet_access_type %Self.ref.loc16_14 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.79d)] -// CHECK:STDOUT: %.loc16_14.2: type = converted %Self.ref.loc16_14, %Self.as_type.loc16_14.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.79d)] +// CHECK:STDOUT: %Self.ref.loc16_36: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.179)] +// CHECK:STDOUT: %Self.as_type.loc16_36: type = facet_access_type %Self.ref.loc16_36 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.ed0)] +// CHECK:STDOUT: %.loc16_36.2: type = converted %Self.ref.loc16_36, %Self.as_type.loc16_36 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.ed0)] +// CHECK:STDOUT: %.loc16_36.3: Core.Form = init_form %.loc16_36.2 [symbolic = %.loc16_36.1 (constants.%.70c)] +// CHECK:STDOUT: %self.param: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.ed0) = value_param call_param0 +// CHECK:STDOUT: %.loc16_14.1: type = splice_block %.loc16_14.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.ed0)] { +// CHECK:STDOUT: %Self.ref.loc16_14: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.179)] +// CHECK:STDOUT: %Self.as_type.loc16_14.2: type = facet_access_type %Self.ref.loc16_14 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.ed0)] +// CHECK:STDOUT: %.loc16_14.2: type = converted %Self.ref.loc16_14, %Self.as_type.loc16_14.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.ed0)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.79d) = value_binding self, %self.param -// CHECK:STDOUT: %other.param: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.79d) = value_param call_param1 -// CHECK:STDOUT: %.loc16_27.1: type = splice_block %.loc16_27.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.79d)] { -// CHECK:STDOUT: %Self.ref.loc16_27: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.cd6)] -// CHECK:STDOUT: %Self.as_type.loc16_27: type = facet_access_type %Self.ref.loc16_27 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.79d)] -// CHECK:STDOUT: %.loc16_27.2: type = converted %Self.ref.loc16_27, %Self.as_type.loc16_27 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.79d)] +// CHECK:STDOUT: %self: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.ed0) = value_binding self, %self.param +// CHECK:STDOUT: %other.param: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.ed0) = value_param call_param1 +// CHECK:STDOUT: %.loc16_27.1: type = splice_block %.loc16_27.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.ed0)] { +// CHECK:STDOUT: %Self.ref.loc16_27: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.179)] +// CHECK:STDOUT: %Self.as_type.loc16_27: type = facet_access_type %Self.ref.loc16_27 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.ed0)] +// CHECK:STDOUT: %.loc16_27.2: type = converted %Self.ref.loc16_27, %Self.as_type.loc16_27 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.ed0)] // CHECK:STDOUT: } -// CHECK:STDOUT: %other: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.79d) = value_binding other, %other.param -// CHECK:STDOUT: %return.param: ref @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.79d) = out_param call_param2 -// CHECK:STDOUT: %return: ref @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.79d) = return_slot %return.param +// CHECK:STDOUT: %other: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.ed0) = value_binding other, %other.param +// CHECK:STDOUT: %return.param: ref @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.ed0) = out_param call_param2 +// CHECK:STDOUT: %return: ref @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.ed0) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0.918] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0.8fc] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -233,15 +233,15 @@ var arr: array(i32, (1 as i32).(I.F)(2)); // CHECK:STDOUT: // CHECK:STDOUT: impl @i32.as.I.impl: %i32 as %I.ref { // CHECK:STDOUT: %i32.as.I.impl.F.decl: %i32.as.I.impl.F.type = fn_decl @i32.as.I.impl.F [concrete = constants.%i32.as.I.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.c6b = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.c6b = at_binding_pattern other, %other.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc20_34 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.104 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.104 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc20_34 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc20_34: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc20: Core.Form = init_form %i32.loc20_34 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc20: Core.Form = init_form %i32.loc20_34 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc20_14: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %self: %i32 = value_binding self, %self.param @@ -261,54 +261,54 @@ var arr: array(i32, (1 as i32).(I.F)(2)); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.cd6)] -// CHECK:STDOUT: %Self.as_type.loc16_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.79d)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc16_14.1 [symbolic = %pattern_type (constants.%pattern_type.49f)] -// CHECK:STDOUT: %.loc16_36.1: Core.Form = init_form %Self.as_type.loc16_14.1 [symbolic = %.loc16_36.1 (constants.%.5f5)] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.179)] +// CHECK:STDOUT: %Self.as_type.loc16_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.ed0)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc16_14.1 [symbolic = %pattern_type (constants.%pattern_type.a3c)] +// CHECK:STDOUT: %.loc16_36.1: Core.Form = init_form %Self.as_type.loc16_14.1 [symbolic = %.loc16_36.1 (constants.%.70c)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.79d), %other.param: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.79d)) -> out %return.param: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.79d); +// CHECK:STDOUT: fn(%self.param: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.ed0), %other.param: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.ed0)) -> out %return.param: @I.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.ed0); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @i32.as.I.impl.F(%self.param: %i32, %other.param: %i32) -> out %return.param: %i32 = "int.sadd"; // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%array_type, (constants.%DefaultOrUnformed.impl_witness.343) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%array_type, (constants.%DefaultOrUnformed.impl_witness.f71) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc23_41.1: %DefaultOrUnformed.type = converted constants.%array_type, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc23_41.1 [concrete = constants.%array_type] // CHECK:STDOUT: %.loc23_41.2: type = converted %.loc23_41.1, %as_type [concrete = constants.%array_type] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.4a5, @T.as.DefaultOrUnformed.impl.Op(constants.%array_type) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.950, @T.as.DefaultOrUnformed.impl.Op(constants.%array_type) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %.loc23_1: ref %array_type = splice_block file.%arr.var [concrete = file.%arr.var] {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %array_type to %.loc23_1 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%arr.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.cd6) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.cd6 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.831 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.ddf +// CHECK:STDOUT: %Self => constants.%Self.179 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d9f +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.592 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.cd6) { -// CHECK:STDOUT: %Self => constants.%Self.cd6 -// CHECK:STDOUT: %Self.as_type.loc16_14.1 => constants.%Self.as_type.79d -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.49f -// CHECK:STDOUT: %.loc16_36.1 => constants.%.5f5 +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.179) { +// CHECK:STDOUT: %Self => constants.%Self.179 +// CHECK:STDOUT: %Self.as_type.loc16_14.1 => constants.%Self.as_type.ed0 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a3c +// CHECK:STDOUT: %.loc16_36.1 => constants.%.70c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.336 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.5a7 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d9d +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.b03 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet) { // CHECK:STDOUT: %Self => constants.%I.facet // CHECK:STDOUT: %Self.as_type.loc16_14.1 => constants.%i32 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c6b -// CHECK:STDOUT: %.loc16_36.1 => constants.%.70c +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.104 +// CHECK:STDOUT: %.loc16_36.1 => constants.%.7ea // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/builtin/positional.carbon b/toolchain/check/testdata/function/builtin/positional.carbon index 0071eb768587..06f751b4cdb6 100644 --- a/toolchain/check/testdata/function/builtin/positional.carbon +++ b/toolchain/check/testdata/function/builtin/positional.carbon @@ -41,8 +41,8 @@ fn Mul = "int.smul"; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Add.type: type = fn_type @Add [concrete] // CHECK:STDOUT: %Add: %Add.type = struct_value () [concrete] // CHECK:STDOUT: %Mul.type: type = fn_type @Mul [concrete] @@ -66,11 +66,11 @@ fn Mul = "int.smul"; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Add.decl: %Add.type = fn_decl @Add [concrete = constants.%Add] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc10: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc10: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/call/fail_param_count.carbon b/toolchain/check/testdata/function/call/fail_param_count.carbon index 94e384012ba9..096b41e59721 100644 --- a/toolchain/check/testdata/function/call/fail_param_count.carbon +++ b/toolchain/check/testdata/function/call/fail_param_count.carbon @@ -78,7 +78,7 @@ fn Main() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Run1.type: type = fn_type @Run1 [concrete] // CHECK:STDOUT: %Run1: %Run1.type = struct_value () [concrete] // CHECK:STDOUT: %Run2.type: type = fn_type @Run2 [concrete] @@ -109,18 +109,18 @@ fn Main() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Run0.decl: %Run0.type = fn_decl @Run0 [concrete = constants.%Run0] {} {} // CHECK:STDOUT: %Run1.decl: %Run1.type = fn_decl @Run1 [concrete = constants.%Run1] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: %Run2.decl: %Run2.type = fn_decl @Run2 [concrete = constants.%Run2] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc17_19: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/function/call/fail_param_type.carbon b/toolchain/check/testdata/function/call/fail_param_type.carbon index 166eebe60588..53627c510c71 100644 --- a/toolchain/check/testdata/function/call/fail_param_type.carbon +++ b/toolchain/check/testdata/function/call/fail_param_type.carbon @@ -36,14 +36,14 @@ fn F() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -54,7 +54,7 @@ fn F() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -65,8 +65,8 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/function/call/fail_return_type_mismatch.carbon b/toolchain/check/testdata/function/call/fail_return_type_mismatch.carbon index 85c9050c1739..358be4efe21e 100644 --- a/toolchain/check/testdata/function/call/fail_return_type_mismatch.carbon +++ b/toolchain/check/testdata/function/call/fail_return_type_mismatch.carbon @@ -32,28 +32,28 @@ fn Run() { // CHECK:STDOUT: %Float.type: type = generic_class_type @Float [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Float.generic: %Float.type = struct_value () [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %.48c: Core.Form = init_form %f64.9a0 [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %.cfe: Core.Form = init_form %f64.b55 [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] // CHECK:STDOUT: %Foo.type: type = fn_type @Foo [concrete] // CHECK:STDOUT: %Foo: %Foo.type = struct_value () [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.731: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.9a0)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.857: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.b55)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.26a: = impl_witness imports.%ImplicitAs.impl_witness_table.a6f, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.731 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.26a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ed2: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.9a0, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.2f4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ed2, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.83f: = impl_witness imports.%ImplicitAs.impl_witness_table.234, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.857 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.83f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.096: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.b55, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.119: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.096, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.291: %f64.9a0 = float_value 1 [concrete] +// CHECK:STDOUT: %float.642: %f64.b55 = float_value 1 [concrete] // CHECK:STDOUT: %Run.type: type = fn_type @Run [concrete] // CHECK:STDOUT: %Run: %Run.type = struct_value () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] @@ -61,10 +61,10 @@ fn Run() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc25_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc25_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -77,9 +77,9 @@ fn Run() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Float: %Float.type = import_ref Core//prelude/parts/float, Float, loaded [concrete = constants.%Float.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.9a6: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.a6f = impl_witness_table (%Core.import_ref.9a6), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.234 = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } @@ -92,43 +92,43 @@ fn Run() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Foo.decl: %Foo.type = fn_decl @Foo [concrete = constants.%Foo] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.f4f = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f4f = return_slot_pattern %return.param_patt, %f64 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.f3c = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.f3c = return_slot_pattern %return.param_patt, %f64 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %f64: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc15_13: Core.Form = init_form %f64 [concrete = constants.%.48c] -// CHECK:STDOUT: %return.param: ref %f64.9a0 = out_param call_param0 -// CHECK:STDOUT: %return: ref %f64.9a0 = return_slot %return.param +// CHECK:STDOUT: %f64: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc15_13: Core.Form = init_form %f64 [concrete = constants.%.cfe] +// CHECK:STDOUT: %return.param: ref %f64.b55 = out_param call_param0 +// CHECK:STDOUT: %return: ref %f64.b55 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Run.decl: %Run.type = fn_decl @Run [concrete = constants.%Run] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Foo() -> out %return.param: %f64.9a0 { +// CHECK:STDOUT: fn @Foo() -> out %return.param: %f64.b55 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] -// CHECK:STDOUT: %impl.elem0: %.2f4 = impl_witness_access constants.%ImplicitAs.impl_witness.26a, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b] +// CHECK:STDOUT: %impl.elem0: %.119 = impl_witness_access constants.%ImplicitAs.impl_witness.83f, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.881] // CHECK:STDOUT: %bound_method.loc15_29.1: = bound_method %float, %impl.elem0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_29.2: = bound_method %float, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.9a0 = call %bound_method.loc15_29.2(%float) [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc15_29: init %f64.9a0 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.291] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.b55 = call %bound_method.loc15_29.2(%float) [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc15_29: init %f64.b55 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.642] // CHECK:STDOUT: return %.loc15_29 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.c6b = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.104 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %i32 = var %x.var_patt // CHECK:STDOUT: %Foo.ref: %Foo.type = name_ref Foo, file.%Foo.decl [concrete = constants.%Foo] -// CHECK:STDOUT: %Foo.call: init %f64.9a0 = call %Foo.ref() +// CHECK:STDOUT: %Foo.call: init %f64.b55 = call %Foo.ref() // CHECK:STDOUT: %.loc25: %i32 = converted %Foo.call, [concrete = ] // CHECK:STDOUT: assign %x.var, // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %x: ref %i32 = ref_binding x, %x.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/call/form.carbon b/toolchain/check/testdata/function/call/form.carbon index d1eb988eb990..6258d3ac0a4e 100644 --- a/toolchain/check/testdata/function/call/form.carbon +++ b/toolchain/check/testdata/function/call/form.carbon @@ -212,21 +212,21 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.a8d: Core.Form = ref_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.aa9: Core.Form = ref_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.c6b = ref_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.104 = ref_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %x.param: ref %i32 = ref_param call_param0 -// CHECK:STDOUT: %.loc4_15.1: Core.Form = splice_block %.loc4_15.2 [concrete = constants.%.a8d] { +// CHECK:STDOUT: %.loc4_15.1: Core.Form = splice_block %.loc4_15.2 [concrete = constants.%.aa9] { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_15.2: Core.Form = ref_form %i32 [concrete = constants.%.a8d] +// CHECK:STDOUT: %.loc4_15.2: Core.Form = ref_form %i32 [concrete = constants.%.aa9] // CHECK:STDOUT: } // CHECK:STDOUT: %x: ref %i32 = ref_binding x, %x.param // CHECK:STDOUT: } @@ -250,45 +250,45 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc4_7.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc4_7.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.c6b = ref_param_pattern [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.c6b = var_pattern %x.param_patt [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = at_binding_pattern x, %x.var_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.104 = ref_param_pattern [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.104 = var_pattern %x.param_patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = at_binding_pattern x, %x.var_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %x.param: ref %i32 = ref_param call_param0 -// CHECK:STDOUT: %.loc4_15.1: Core.Form = splice_block %.loc4_15.2 [concrete = constants.%.70c] { +// CHECK:STDOUT: %.loc4_15.1: Core.Form = splice_block %.loc4_15.2 [concrete = constants.%.7ea] { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_15.2: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc4_15.2: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: } // CHECK:STDOUT: %x: ref %i32 = ref_binding x, %x.param // CHECK:STDOUT: } @@ -300,16 +300,16 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc4_7.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc4_7.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_7.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc4: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_7.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc4: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: %x.var: ref %i32 = var @F.%x.var_patt // CHECK:STDOUT: assign %x.var, %.loc4 // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref(%x.var) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -327,41 +327,41 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.688: Core.Form = value_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.ffc: Core.Form = value_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %x.param: %i32 = value_param call_param0 -// CHECK:STDOUT: %.loc4_15.1: Core.Form = splice_block %.loc4_15.2 [concrete = constants.%.688] { +// CHECK:STDOUT: %.loc4_15.1: Core.Form = splice_block %.loc4_15.2 [concrete = constants.%.ffc] { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_15.2: Core.Form = value_form %i32 [concrete = constants.%.688] +// CHECK:STDOUT: %.loc4_15.2: Core.Form = value_form %i32 [concrete = constants.%.ffc] // CHECK:STDOUT: } // CHECK:STDOUT: %x: %i32 = value_binding x, %x.param // CHECK:STDOUT: } @@ -373,13 +373,13 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc9_5.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc9_5.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_5.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc9_5.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc9_5.2: %i32 = converted %int_0, %.loc9_5.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_5.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc9_5.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc9_5.2: %i32 = converted %int_0, %.loc9_5.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref(%.loc9_5.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -417,19 +417,19 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.a8d: Core.Form = ref_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.aa9: Core.Form = ref_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %.loc4_17.1: %pattern_type.c6b = ref_return_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %.loc4_17.1, constants.%i32 [concrete] +// CHECK:STDOUT: %.loc4_17.1: %pattern_type.104 = ref_return_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %.loc4_17.1, constants.%i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_17.2: Core.Form = ref_form %i32 [concrete = constants.%.a8d] +// CHECK:STDOUT: %.loc4_17.2: Core.Form = ref_form %i32 [concrete = constants.%.aa9] // CHECK:STDOUT: %.loc4_17.3: ref %i32 = ref_return // CHECK:STDOUT: %return: ref %i32 = return_slot %.loc4_17.3 // CHECK:STDOUT: } @@ -440,7 +440,7 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %_.patt: %pattern_type.c6b = ref_binding_pattern _ [concrete] +// CHECK:STDOUT: %_.patt: %pattern_type.104 = ref_binding_pattern _ [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %F.call: ref %i32 = call %F.ref() @@ -455,22 +455,22 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_7.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_7.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, constants.%i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, constants.%i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc4: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -481,8 +481,8 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %_.patt: %pattern_type.c6b = ref_binding_pattern _ [concrete] -// CHECK:STDOUT: %_.var_patt: %pattern_type.c6b = var_pattern %_.patt [concrete] +// CHECK:STDOUT: %_.patt: %pattern_type.104 = ref_binding_pattern _ [concrete] +// CHECK:STDOUT: %_.var_patt: %pattern_type.104 = var_pattern %_.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %_.var: ref %i32 = var %_.var_patt // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] @@ -490,7 +490,7 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: assign %_.var, %F.call // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %_: ref %i32 = ref_binding _, %_.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %_.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %_.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%_.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -507,19 +507,19 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.688: Core.Form = value_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.ffc: Core.Form = value_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %.loc4_17.1: %pattern_type.c6b = value_return_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %.loc4_17.1, constants.%i32 [concrete] +// CHECK:STDOUT: %.loc4_17.1: %pattern_type.104 = value_return_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %.loc4_17.1, constants.%i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_17.2: Core.Form = value_form %i32 [concrete = constants.%.688] +// CHECK:STDOUT: %.loc4_17.2: Core.Form = value_form %i32 [concrete = constants.%.ffc] // CHECK:STDOUT: %.loc4_17.3: %i32 = value_return // CHECK:STDOUT: %return: %i32 = return_slot %.loc4_17.3 // CHECK:STDOUT: } @@ -530,7 +530,7 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %_.patt: %pattern_type.c6b = value_binding_pattern _ [concrete] +// CHECK:STDOUT: %_.patt: %pattern_type.104 = value_binding_pattern _ [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %F.call: %i32 = call %F.ref() @@ -545,7 +545,7 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %Form.type: type = fn_type @Form [concrete] -// CHECK:STDOUT: %Form.cd3: %Form.type = struct_value () [concrete] +// CHECK:STDOUT: %Form.263: %Form.type = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.13f: type = pattern_type Core.Form [concrete] // CHECK:STDOUT: %Form.ac3: Core.Form = symbolic_binding Form, 0 [symbolic] // CHECK:STDOUT: %.344: Core.Form = splice_inst @F.%.loc4_30.1 [template] @@ -569,7 +569,7 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.Form: %Form.type = import_ref Core//prelude/parts/form, Form, loaded [concrete = constants.%Form.cd3] +// CHECK:STDOUT: %Core.Form: %Form.type = import_ref Core//prelude/parts/form, Form, loaded [concrete = constants.%Form.263] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -583,7 +583,7 @@ fn F(Form:! Core.Form()) ->? Form; // CHECK:STDOUT: %.loc4_23.1: type = splice_block %.loc4_23.3 [concrete = Core.Form] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %Form.ref.loc4_17: %Form.type = name_ref Form, imports.%Core.Form [concrete = constants.%Form.cd3] +// CHECK:STDOUT: %Form.ref.loc4_17: %Form.type = name_ref Form, imports.%Core.Form [concrete = constants.%Form.263] // CHECK:STDOUT: %Form.call: init type = call %Form.ref.loc4_17() [concrete = Core.Form] // CHECK:STDOUT: %.loc4_23.2: type = value_of_initializer %Form.call [concrete = Core.Form] // CHECK:STDOUT: %.loc4_23.3: type = converted %Form.call, %.loc4_23.2 [concrete = Core.Form] diff --git a/toolchain/check/testdata/function/call/i32.carbon b/toolchain/check/testdata/function/call/i32.carbon index 9250878c29f5..835112b10ffc 100644 --- a/toolchain/check/testdata/function/call/i32.carbon +++ b/toolchain/check/testdata/function/call/i32.carbon @@ -29,43 +29,43 @@ fn Main() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %Echo.type: type = fn_type @Echo [concrete] // CHECK:STDOUT: %Echo: %Echo.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc20_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc20_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -79,11 +79,11 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -95,13 +95,13 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Echo.decl: %Echo.type = fn_decl @Echo [concrete = constants.%Echo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15_20 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15_20 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15_20: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15_20 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15_20 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc15_12: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param @@ -114,7 +114,7 @@ fn Main() { // CHECK:STDOUT: fn @Echo(%a.param: %i32) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %i32 = name_ref a, %a -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc16_10.1: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_10.2: = bound_method %a.ref, %specific_fn @@ -125,24 +125,24 @@ fn Main() { // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt // CHECK:STDOUT: %Echo.ref: %Echo.type = name_ref Echo, file.%Echo.decl [concrete = constants.%Echo] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc20_28.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc20_28.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc20_28.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc20_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc20_28.2: %i32 = converted %int_1, %.loc20_28.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc20_28.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc20_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc20_28.2: %i32 = converted %int_1, %.loc20_28.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %Echo.call: init %i32 = call %Echo.ref(%.loc20_28.2) // CHECK:STDOUT: assign %b.var, %Echo.call // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%b.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/call/more_param_ir.carbon b/toolchain/check/testdata/function/call/more_param_ir.carbon index 5c5944441a7b..18ac83a8f42c 100644 --- a/toolchain/check/testdata/function/call/more_param_ir.carbon +++ b/toolchain/check/testdata/function/call/more_param_ir.carbon @@ -28,44 +28,44 @@ fn Main() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Foo.type: type = fn_type @Foo [concrete] // CHECK:STDOUT: %Foo: %Foo.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] -// CHECK:STDOUT: %tuple.386: %tuple.type.85c = tuple_value (%i32) [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] -// CHECK:STDOUT: %pattern_type.049: type = pattern_type %tuple.type.c87 [concrete] +// CHECK:STDOUT: %tuple.4e6: %tuple.type.85c = tuple_value (%i32) [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %pattern_type.396: type = pattern_type %tuple.type.cb3 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.378: %tuple.type.985 = tuple_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %tuple.86f: %tuple.type.c87 = tuple_value (%int_1.d5e) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %tuple.152: %tuple.type.cb3 = tuple_value (%int_1.d9c) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %int_6.462: Core.IntLiteral = int_value 6 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.790: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.8f1: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_6.7fc: %i32 = int_value 6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.6e4: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.50f: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_6.77d: %i32 = int_value 6 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc18_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc18_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -77,9 +77,9 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -91,10 +91,10 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Foo.decl: %Foo.type = fn_decl @Foo [concrete = constants.%Foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc15_18: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -114,42 +114,42 @@ fn Main() { // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.049 = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.049 = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.396 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.396 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %x.var: ref %tuple.type.c87 = var %x.var_patt +// CHECK:STDOUT: %x.var: ref %tuple.type.cb3 = var %x.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc18_22.1: %tuple.type.985 = tuple_literal (%int_1) [concrete = constants.%tuple.378] -// CHECK:STDOUT: %impl.elem0.loc18: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_22.1: = bound_method %int_1, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc18: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_22.1: = bound_method %int_1, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_22.2: = bound_method %int_1, %specific_fn.loc18 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %i32 = call %bound_method.loc18_22.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_22.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_22.3: init %tuple.type.c87 to %x.var = tuple_init (%.loc18_22.2) [concrete = constants.%tuple.86f] -// CHECK:STDOUT: %.loc18_3: init %tuple.type.c87 = converted %.loc18_22.1, %.loc18_22.3 [concrete = constants.%tuple.86f] +// CHECK:STDOUT: %bound_method.loc18_22.2: = bound_method %int_1, %specific_fn.loc18 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %i32 = call %bound_method.loc18_22.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_22.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_22.3: init %tuple.type.cb3 to %x.var = tuple_init (%.loc18_22.2) [concrete = constants.%tuple.152] +// CHECK:STDOUT: %.loc18_3: init %tuple.type.cb3 = converted %.loc18_22.1, %.loc18_22.3 [concrete = constants.%tuple.152] // CHECK:STDOUT: assign %x.var, %.loc18_3 -// CHECK:STDOUT: %.loc18_15.1: type = splice_block %.loc18_15.3 [concrete = constants.%tuple.type.c87] { +// CHECK:STDOUT: %.loc18_15.1: type = splice_block %.loc18_15.3 [concrete = constants.%tuple.type.cb3] { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc18_15.2: %tuple.type.85c = tuple_literal (%i32) [concrete = constants.%tuple.386] -// CHECK:STDOUT: %.loc18_15.3: type = converted %.loc18_15.2, constants.%tuple.type.c87 [concrete = constants.%tuple.type.c87] +// CHECK:STDOUT: %.loc18_15.2: %tuple.type.85c = tuple_literal (%i32) [concrete = constants.%tuple.4e6] +// CHECK:STDOUT: %.loc18_15.3: type = converted %.loc18_15.2, constants.%tuple.type.cb3 [concrete = constants.%tuple.type.cb3] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: ref %tuple.type.c87 = ref_binding x, %x.var +// CHECK:STDOUT: %x: ref %tuple.type.cb3 = ref_binding x, %x.var // CHECK:STDOUT: %Foo.ref: %Foo.type = name_ref Foo, file.%Foo.decl [concrete = constants.%Foo] -// CHECK:STDOUT: %x.ref: ref %tuple.type.c87 = name_ref x, %x +// CHECK:STDOUT: %x.ref: ref %tuple.type.cb3 = name_ref x, %x // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %x.ref, element0 // CHECK:STDOUT: %int_6: Core.IntLiteral = int_value 6 [concrete = constants.%int_6.462] // CHECK:STDOUT: %.loc20_8: %i32 = acquire_value %tuple.elem0 -// CHECK:STDOUT: %impl.elem0.loc20: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc20_12.1: = bound_method %int_6, %impl.elem0.loc20 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.790] +// CHECK:STDOUT: %impl.elem0.loc20: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc20_12.1: = bound_method %int_6, %impl.elem0.loc20 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.6e4] // CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc20_12.2: = bound_method %int_6, %specific_fn.loc20 [concrete = constants.%bound_method.8f1] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %i32 = call %bound_method.loc20_12.2(%int_6) [concrete = constants.%int_6.7fc] -// CHECK:STDOUT: %.loc20_12.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_6.7fc] -// CHECK:STDOUT: %.loc20_12.2: %i32 = converted %int_6, %.loc20_12.1 [concrete = constants.%int_6.7fc] +// CHECK:STDOUT: %bound_method.loc20_12.2: = bound_method %int_6, %specific_fn.loc20 [concrete = constants.%bound_method.50f] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %i32 = call %bound_method.loc20_12.2(%int_6) [concrete = constants.%int_6.77d] +// CHECK:STDOUT: %.loc20_12.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_6.77d] +// CHECK:STDOUT: %.loc20_12.2: %i32 = converted %int_6, %.loc20_12.1 [concrete = constants.%int_6.77d] // CHECK:STDOUT: %Foo.call: init %empty_tuple.type = call %Foo.ref(%.loc20_8, %.loc20_12.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -161,7 +161,7 @@ fn Main() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc18_3.3(%self.param: ref %tuple.type.c87) { +// CHECK:STDOUT: fn @Destroy.Op.loc18_3.3(%self.param: ref %tuple.type.cb3) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/call/params_one.carbon b/toolchain/check/testdata/function/call/params_one.carbon index e160e1b1e715..0caa9d451d6d 100644 --- a/toolchain/check/testdata/function/call/params_one.carbon +++ b/toolchain/check/testdata/function/call/params_one.carbon @@ -26,28 +26,28 @@ fn Main() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Foo.type: type = fn_type @Foo [concrete] // CHECK:STDOUT: %Foo: %Foo.type = struct_value () [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -58,9 +58,9 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -71,8 +71,8 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Foo.decl: %Foo.type = fn_decl @Foo [concrete = constants.%Foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -90,13 +90,13 @@ fn Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Foo.ref: %Foo.type = name_ref Foo, file.%Foo.decl [concrete = constants.%Foo] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc18_7.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc18_7.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc18_7.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_7.2: %i32 = converted %int_1, %.loc18_7.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc18_7.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_7.2: %i32 = converted %int_1, %.loc18_7.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %Foo.call: init %empty_tuple.type = call %Foo.ref(%.loc18_7.2) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/call/params_one_comma.carbon b/toolchain/check/testdata/function/call/params_one_comma.carbon index a9278e132728..2ee323967481 100644 --- a/toolchain/check/testdata/function/call/params_one_comma.carbon +++ b/toolchain/check/testdata/function/call/params_one_comma.carbon @@ -27,28 +27,28 @@ fn Main() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Foo.type: type = fn_type @Foo [concrete] // CHECK:STDOUT: %Foo: %Foo.type = struct_value () [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -59,9 +59,9 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -72,8 +72,8 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Foo.decl: %Foo.type = fn_decl @Foo [concrete = constants.%Foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -91,23 +91,23 @@ fn Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Foo.ref.loc18: %Foo.type = name_ref Foo, file.%Foo.decl [concrete = constants.%Foo] // CHECK:STDOUT: %int_1.loc18: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc18: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc18: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc18_7.1: = bound_method %int_1.loc18, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc18_7.2: = bound_method %int_1.loc18, %specific_fn.loc18 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %i32 = call %bound_method.loc18_7.2(%int_1.loc18) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_7.2: %i32 = converted %int_1.loc18, %.loc18_7.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %i32 = call %bound_method.loc18_7.2(%int_1.loc18) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_7.2: %i32 = converted %int_1.loc18, %.loc18_7.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %Foo.call.loc18: init %empty_tuple.type = call %Foo.ref.loc18(%.loc18_7.2) // CHECK:STDOUT: %Foo.ref.loc19: %Foo.type = name_ref Foo, file.%Foo.decl [concrete = constants.%Foo] // CHECK:STDOUT: %int_1.loc19: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc19: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc19: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc19_7.1: = bound_method %int_1.loc19, %impl.elem0.loc19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc19_7.2: = bound_method %int_1.loc19, %specific_fn.loc19 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %i32 = call %bound_method.loc19_7.2(%int_1.loc19) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_7.2: %i32 = converted %int_1.loc19, %.loc19_7.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %i32 = call %bound_method.loc19_7.2(%int_1.loc19) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_7.2: %i32 = converted %int_1.loc19, %.loc19_7.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %Foo.call.loc19: init %empty_tuple.type = call %Foo.ref.loc19(%.loc19_7.2) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/call/params_two.carbon b/toolchain/check/testdata/function/call/params_two.carbon index 25a5cb17a284..aed1be03ad6e 100644 --- a/toolchain/check/testdata/function/call/params_two.carbon +++ b/toolchain/check/testdata/function/call/params_two.carbon @@ -26,32 +26,32 @@ fn Main() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Foo.type: type = fn_type @Foo [concrete] // CHECK:STDOUT: %Foo: %Foo.type = struct_value () [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -62,9 +62,9 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -75,10 +75,10 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Foo.decl: %Foo.type = fn_decl @Foo [concrete = constants.%Foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc15_18: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -100,20 +100,20 @@ fn Main() { // CHECK:STDOUT: %Foo.ref: %Foo.type = name_ref Foo, file.%Foo.decl [concrete = constants.%Foo] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc18_7: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_7.1: = bound_method %int_1, %impl.elem0.loc18_7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc18_7: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_7.1: = bound_method %int_1, %impl.elem0.loc18_7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc18_7: = specific_function %impl.elem0.loc18_7, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_7.2: = bound_method %int_1, %specific_fn.loc18_7 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_7: init %i32 = call %bound_method.loc18_7.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_7 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_7.2: %i32 = converted %int_1, %.loc18_7.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc18_10: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_10.1: = bound_method %int_2, %impl.elem0.loc18_10 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc18_7.2: = bound_method %int_1, %specific_fn.loc18_7 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_7: init %i32 = call %bound_method.loc18_7.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_7 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_7.2: %i32 = converted %int_1, %.loc18_7.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc18_10: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_10.1: = bound_method %int_2, %impl.elem0.loc18_10 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc18_10: = specific_function %impl.elem0.loc18_10, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_10.2: = bound_method %int_2, %specific_fn.loc18_10 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_10: init %i32 = call %bound_method.loc18_10.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_10.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_10 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_10.2: %i32 = converted %int_2, %.loc18_10.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc18_10.2: = bound_method %int_2, %specific_fn.loc18_10 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_10: init %i32 = call %bound_method.loc18_10.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_10.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_10 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_10.2: %i32 = converted %int_2, %.loc18_10.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %Foo.call: init %empty_tuple.type = call %Foo.ref(%.loc18_7.2, %.loc18_10.2) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/call/params_two_comma.carbon b/toolchain/check/testdata/function/call/params_two_comma.carbon index 998e77903c20..cd009cc15b77 100644 --- a/toolchain/check/testdata/function/call/params_two_comma.carbon +++ b/toolchain/check/testdata/function/call/params_two_comma.carbon @@ -27,32 +27,32 @@ fn Main() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Foo.type: type = fn_type @Foo [concrete] // CHECK:STDOUT: %Foo: %Foo.type = struct_value () [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -63,9 +63,9 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -76,10 +76,10 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Foo.decl: %Foo.type = fn_decl @Foo [concrete = constants.%Foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc15_18: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -101,38 +101,38 @@ fn Main() { // CHECK:STDOUT: %Foo.ref.loc18: %Foo.type = name_ref Foo, file.%Foo.decl [concrete = constants.%Foo] // CHECK:STDOUT: %int_1.loc18: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc18: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc18_7: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_7.1: = bound_method %int_1.loc18, %impl.elem0.loc18_7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc18_7: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_7.1: = bound_method %int_1.loc18, %impl.elem0.loc18_7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc18_7: = specific_function %impl.elem0.loc18_7, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_7.2: = bound_method %int_1.loc18, %specific_fn.loc18_7 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_7: init %i32 = call %bound_method.loc18_7.2(%int_1.loc18) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_7 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_7.2: %i32 = converted %int_1.loc18, %.loc18_7.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc18_10: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_10.1: = bound_method %int_2.loc18, %impl.elem0.loc18_10 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc18_7.2: = bound_method %int_1.loc18, %specific_fn.loc18_7 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_7: init %i32 = call %bound_method.loc18_7.2(%int_1.loc18) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_7 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_7.2: %i32 = converted %int_1.loc18, %.loc18_7.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc18_10: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_10.1: = bound_method %int_2.loc18, %impl.elem0.loc18_10 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc18_10: = specific_function %impl.elem0.loc18_10, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_10.2: = bound_method %int_2.loc18, %specific_fn.loc18_10 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_10: init %i32 = call %bound_method.loc18_10.2(%int_2.loc18) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_10.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_10 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_10.2: %i32 = converted %int_2.loc18, %.loc18_10.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc18_10.2: = bound_method %int_2.loc18, %specific_fn.loc18_10 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_10: init %i32 = call %bound_method.loc18_10.2(%int_2.loc18) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_10.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_10 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_10.2: %i32 = converted %int_2.loc18, %.loc18_10.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %Foo.call.loc18: init %empty_tuple.type = call %Foo.ref.loc18(%.loc18_7.2, %.loc18_10.2) // CHECK:STDOUT: %Foo.ref.loc19: %Foo.type = name_ref Foo, file.%Foo.decl [concrete = constants.%Foo] // CHECK:STDOUT: %int_1.loc19: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc19: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc19_7: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc19_7.1: = bound_method %int_1.loc19, %impl.elem0.loc19_7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc19_7: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc19_7.1: = bound_method %int_1.loc19, %impl.elem0.loc19_7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc19_7: = specific_function %impl.elem0.loc19_7, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc19_7.2: = bound_method %int_1.loc19, %specific_fn.loc19_7 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_7: init %i32 = call %bound_method.loc19_7.2(%int_1.loc19) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_7 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_7.2: %i32 = converted %int_1.loc19, %.loc19_7.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc19_10: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc19_10.1: = bound_method %int_2.loc19, %impl.elem0.loc19_10 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc19_7.2: = bound_method %int_1.loc19, %specific_fn.loc19_7 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_7: init %i32 = call %bound_method.loc19_7.2(%int_1.loc19) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_7 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_7.2: %i32 = converted %int_1.loc19, %.loc19_7.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc19_10: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc19_10.1: = bound_method %int_2.loc19, %impl.elem0.loc19_10 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc19_10: = specific_function %impl.elem0.loc19_10, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc19_10.2: = bound_method %int_2.loc19, %specific_fn.loc19_10 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_10: init %i32 = call %bound_method.loc19_10.2(%int_2.loc19) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc19_10.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_10 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc19_10.2: %i32 = converted %int_2.loc19, %.loc19_10.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc19_10.2: = bound_method %int_2.loc19, %specific_fn.loc19_10 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_10: init %i32 = call %bound_method.loc19_10.2(%int_2.loc19) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc19_10.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_10 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc19_10.2: %i32 = converted %int_2.loc19, %.loc19_10.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %Foo.call.loc19: init %empty_tuple.type = call %Foo.ref.loc19(%.loc19_7.2, %.loc19_10.2) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/call/prefer_unqualified_lookup.carbon b/toolchain/check/testdata/function/call/prefer_unqualified_lookup.carbon index c9266a79c209..aa250100f0c7 100644 --- a/toolchain/check/testdata/function/call/prefer_unqualified_lookup.carbon +++ b/toolchain/check/testdata/function/call/prefer_unqualified_lookup.carbon @@ -42,8 +42,8 @@ fn Class(F:! type).Inner.G() -> i32 { return F(); } // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Inner.F.type: type = fn_type @Inner.F, @Inner(%F) [symbolic] // CHECK:STDOUT: %Inner.F: %Inner.F.type = struct_value () [symbolic] // CHECK:STDOUT: %Inner.G.type: type = fn_type @Inner.G, @Inner(%F) [symbolic] @@ -51,22 +51,22 @@ fn Class(F:! type).Inner.G() -> i32 { return F(); } // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %Inner.F.specific_fn: = specific_function %Inner.F, @Inner.F(%F) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -78,9 +78,9 @@ fn Class(F:! type).Inner.G() -> i32 { return F(); } // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -99,8 +99,8 @@ fn Class(F:! type).Inner.G() -> i32 { return F(); } // CHECK:STDOUT: %F.loc5_14.2: type = symbolic_binding F, 0 [symbolic = %F.loc5_14.1 (constants.%F)] // CHECK:STDOUT: } // CHECK:STDOUT: %Inner.G.decl: %Inner.G.type = fn_decl @Inner.G [symbolic = constants.%Inner.G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc13 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc13 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc13_14.1: type = splice_block %.loc13_14.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -108,7 +108,7 @@ fn Class(F:! type).Inner.G() -> i32 { return F(); } // CHECK:STDOUT: } // CHECK:STDOUT: %F.loc13_11: type = symbolic_binding F, 0 [symbolic = @Class.%F.loc5_14.1 (constants.%F)] // CHECK:STDOUT: %i32.loc13: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc13_33: Core.Form = init_form %i32.loc13 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc13_33: Core.Form = init_form %i32.loc13 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param.loc13: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return.loc13: ref %i32 = return_slot %return.param.loc13 // CHECK:STDOUT: } @@ -141,20 +141,20 @@ fn Class(F:! type).Inner.G() -> i32 { return F(); } // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: %Inner.F.decl: @Inner.%Inner.F.type (%Inner.F.type) = fn_decl @Inner.F [symbolic = @Inner.%Inner.F (constants.%Inner.F)] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8_15: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc8_15: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Inner.G.decl: @Inner.%Inner.G.type (%Inner.G.type) = fn_decl @Inner.G [symbolic = @Inner.%Inner.G (constants.%Inner.G)] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc13 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc13 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc9: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc9: Core.Form = init_form %i32.loc9 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc9: Core.Form = init_form %i32.loc9 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param.loc9: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return.loc9: ref %i32 = return_slot %return.param.loc9 // CHECK:STDOUT: } @@ -174,12 +174,12 @@ fn Class(F:! type).Inner.G() -> i32 { return F(); } // CHECK:STDOUT: fn() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_29.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_29.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_29.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc8_29: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_29.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc8_29: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: return %.loc8_29 // CHECK:STDOUT: } // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/call/ref.carbon b/toolchain/check/testdata/function/call/ref.carbon index a16e5b4aa201..fc774275b502 100644 --- a/toolchain/check/testdata/function/call/ref.carbon +++ b/toolchain/check/testdata/function/call/ref.carbon @@ -117,40 +117,40 @@ fn G(ref d: D) { F(ref d); } // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.c6b = ref_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.104 = ref_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %x.param: ref %i32 = ref_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -164,17 +164,17 @@ fn G(ref d: D) { F(ref d); } // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.c6b = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.c6b = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.104 = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.104 = var_pattern %y.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %y.var: ref %i32 = var %y.var_patt // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_3.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_3.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_3.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc8: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_3.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc8: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign %y.var, %.loc8 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %y: ref %i32 = ref_binding y, %y.var @@ -182,7 +182,7 @@ fn G(ref d: D) { F(ref d); } // CHECK:STDOUT: %y.ref: ref %i32 = name_ref y, %y // CHECK:STDOUT: %.loc10: %i32 = ref_tag %y.ref // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref(%y.ref) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %y.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %y.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%y.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -198,7 +198,7 @@ fn G(ref d: D) { F(ref d); } // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %pattern_type.8d6: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.F.type: type = fn_type @C.F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %C.F: %C.F.type = struct_value () [concrete] @@ -208,17 +208,17 @@ fn G(ref d: D) { F(ref d); } // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.26a: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%C) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %C, (%DefaultOrUnformed.impl_witness.26a) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc10_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.259: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%C) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %C, (%DefaultOrUnformed.impl_witness.259) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc10_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -228,8 +228,8 @@ fn G(ref d: D) { F(ref d); } // CHECK:STDOUT: // CHECK:STDOUT: class @C { // CHECK:STDOUT: %C.F.decl: %C.F.type = fn_decl @C.F [concrete = constants.%C.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.8d6 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.8d6 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: ref %C = ref_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] @@ -248,11 +248,11 @@ fn G(ref d: D) { F(ref d); } // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.8d6 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.8d6 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%C, (constants.%DefaultOrUnformed.impl_witness.26a) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%C, (constants.%DefaultOrUnformed.impl_witness.259) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc10_11.1: %DefaultOrUnformed.type = converted constants.%C, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc10_11.1 [concrete = constants.%C] // CHECK:STDOUT: %.loc10_11.2: type = converted %.loc10_11.1, %as_type [concrete = constants.%C] @@ -266,7 +266,7 @@ fn G(ref d: D) { F(ref d); } // CHECK:STDOUT: %F.ref: %C.F.type = name_ref F, @C.%C.F.decl [concrete = constants.%C.F] // CHECK:STDOUT: %C.F.bound: = bound_method %c.ref, %F.ref // CHECK:STDOUT: %C.F.call: init %empty_tuple.type = call %C.F.bound(%c.ref) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/declaration/fail_import_incomplete_return.carbon b/toolchain/check/testdata/function/declaration/fail_import_incomplete_return.carbon index c43ccb4311d5..ca1e2098080a 100644 --- a/toolchain/check/testdata/function/declaration/fail_import_incomplete_return.carbon +++ b/toolchain/check/testdata/function/declaration/fail_import_incomplete_return.carbon @@ -93,14 +93,14 @@ fn CallFAndGIncomplete() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] -// CHECK:STDOUT: %.cb0: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.ff6: type = pattern_type %C [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %ReturnCUnused.type: type = fn_type @ReturnCUnused [concrete] // CHECK:STDOUT: %ReturnCUnused: %ReturnCUnused.type = struct_value () [concrete] // CHECK:STDOUT: %ReturnCUsed.type: type = fn_type @ReturnCUsed [concrete] // CHECK:STDOUT: %ReturnCUsed: %ReturnCUsed.type = struct_value () [concrete] -// CHECK:STDOUT: %.2fc: Core.Form = init_form %D [concrete] -// CHECK:STDOUT: %pattern_type.a5d: type = pattern_type %D [concrete] +// CHECK:STDOUT: %.f19: Core.Form = init_form %D [concrete] +// CHECK:STDOUT: %pattern_type.f1a: type = pattern_type %D [concrete] // CHECK:STDOUT: %ReturnDUnused.type: type = fn_type @ReturnDUnused [concrete] // CHECK:STDOUT: %ReturnDUnused: %ReturnDUnused.type = struct_value () [concrete] // CHECK:STDOUT: %ReturnDUsed.type: type = fn_type @ReturnDUsed [concrete] @@ -133,38 +133,38 @@ fn CallFAndGIncomplete() { // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %D.decl.loc5: type = class_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: %ReturnCUnused.decl: %ReturnCUnused.type = fn_decl @ReturnCUnused [concrete = constants.%ReturnCUnused] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.ff6 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.ff6 = return_slot_pattern %return.param_patt, %C.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc7: Core.Form = init_form %C.ref [concrete = constants.%.cb0] +// CHECK:STDOUT: %.loc7: Core.Form = init_form %C.ref [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ReturnCUsed.decl: %ReturnCUsed.type = fn_decl @ReturnCUsed [concrete = constants.%ReturnCUsed] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.ff6 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.ff6 = return_slot_pattern %return.param_patt, %C.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc8: Core.Form = init_form %C.ref [concrete = constants.%.cb0] +// CHECK:STDOUT: %.loc8: Core.Form = init_form %C.ref [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ReturnDUnused.decl: %ReturnDUnused.type = fn_decl @ReturnDUnused [concrete = constants.%ReturnDUnused] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.a5d = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.a5d = return_slot_pattern %return.param_patt, %D.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.f1a = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.f1a = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl.loc5 [concrete = constants.%D] -// CHECK:STDOUT: %.loc9: Core.Form = init_form %D.ref [concrete = constants.%.2fc] +// CHECK:STDOUT: %.loc9: Core.Form = init_form %D.ref [concrete = constants.%.f19] // CHECK:STDOUT: %return.param: ref %D = out_param call_param0 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ReturnDUsed.decl: %ReturnDUsed.type = fn_decl @ReturnDUsed [concrete = constants.%ReturnDUsed] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.a5d = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.a5d = return_slot_pattern %return.param_patt, %D.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.f1a = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.f1a = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl.loc5 [concrete = constants.%D] -// CHECK:STDOUT: %.loc10: Core.Form = init_form %D.ref [concrete = constants.%.2fc] +// CHECK:STDOUT: %.loc10: Core.Form = init_form %D.ref [concrete = constants.%.f19] // CHECK:STDOUT: %return.param: ref %D = out_param call_param0 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } @@ -217,8 +217,8 @@ fn CallFAndGIncomplete() { // CHECK:STDOUT: %ReturnDUsed.type: type = fn_type @ReturnDUsed [concrete] // CHECK:STDOUT: %ReturnDUsed: %ReturnDUsed.type = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc34_15.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc34_15.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -235,7 +235,7 @@ fn CallFAndGIncomplete() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//incomplete_return, loc37_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.f09 = import_ref Main//incomplete_return, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.c42 = import_ref Main//incomplete_return, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -262,7 +262,7 @@ fn CallFAndGIncomplete() { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.f09 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.c42 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallFAndGIncomplete() { @@ -279,9 +279,9 @@ fn CallFAndGIncomplete() { // CHECK:STDOUT: %.loc34_15.1: ref %D = temporary_storage // CHECK:STDOUT: %ReturnDUsed.call: init %D to %.loc34_15.1 = call %ReturnDUsed.ref() // CHECK:STDOUT: %.loc34_15.2: ref %D = temporary %.loc34_15.1, %ReturnDUsed.call -// CHECK:STDOUT: %Destroy.Op.bound.loc34: = bound_method %.loc34_15.2, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc34: = bound_method %.loc34_15.2, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc34: init %empty_tuple.type = call %Destroy.Op.bound.loc34(%.loc34_15.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc33: = bound_method %.loc33_17.2, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc33: = bound_method %.loc33_17.2, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc33: init %empty_tuple.type = call %Destroy.Op.bound.loc33(%.loc33_17.2) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/declaration/fail_param_in_type.carbon b/toolchain/check/testdata/function/declaration/fail_param_in_type.carbon index 98432d2da608..c1101334f64a 100644 --- a/toolchain/check/testdata/function/declaration/fail_param_in_type.carbon +++ b/toolchain/check/testdata/function/declaration/fail_param_in_type.carbon @@ -25,7 +25,7 @@ fn F(n: i32, a: array(i32, n)*); // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -46,8 +46,8 @@ fn F(n: i32, a: array(i32, n)*); // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] // CHECK:STDOUT: %a.param_patt: = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { diff --git a/toolchain/check/testdata/function/declaration/fail_param_redecl.carbon b/toolchain/check/testdata/function/declaration/fail_param_redecl.carbon index 424ffdc0095c..beadce179d45 100644 --- a/toolchain/check/testdata/function/declaration/fail_param_redecl.carbon +++ b/toolchain/check/testdata/function/declaration/fail_param_redecl.carbon @@ -28,7 +28,7 @@ fn F(n: i32, n: i32); // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -49,10 +49,10 @@ fn F(n: i32, n: i32); // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %n.param_patt.loc22_7: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt.loc22_7: %pattern_type.c6b = at_binding_pattern n, %n.param_patt.loc22_7 [concrete] -// CHECK:STDOUT: %n.param_patt.loc22_15: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt.loc22_15: %pattern_type.c6b = at_binding_pattern n, %n.param_patt.loc22_15 [concrete] +// CHECK:STDOUT: %n.param_patt.loc22_7: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt.loc22_7: %pattern_type.104 = at_binding_pattern n, %n.param_patt.loc22_7 [concrete] +// CHECK:STDOUT: %n.param_patt.loc22_15: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt.loc22_15: %pattern_type.104 = at_binding_pattern n, %n.param_patt.loc22_15 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %n.param.loc22_7: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc22_9: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/function/declaration/fail_redecl.carbon b/toolchain/check/testdata/function/declaration/fail_redecl.carbon index 32e83d020682..8b7e5aba50f3 100644 --- a/toolchain/check/testdata/function/declaration/fail_redecl.carbon +++ b/toolchain/check/testdata/function/declaration/fail_redecl.carbon @@ -72,16 +72,16 @@ fn E() {} // CHECK:STDOUT: %pattern_type: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] -// CHECK:STDOUT: %C.type.04952c.1: type = fn_type @C.loc35 [concrete] -// CHECK:STDOUT: %C.4dda5b.1: %C.type.04952c.1 = struct_value () [concrete] -// CHECK:STDOUT: %C.type.04952c.2: type = fn_type @C.loc43 [concrete] -// CHECK:STDOUT: %C.4dda5b.2: %C.type.04952c.2 = struct_value () [concrete] +// CHECK:STDOUT: %C.type.4c7da9.1: type = fn_type @C.loc35 [concrete] +// CHECK:STDOUT: %C.ade839.1: %C.type.4c7da9.1 = struct_value () [concrete] +// CHECK:STDOUT: %C.type.4c7da9.2: type = fn_type @C.loc43 [concrete] +// CHECK:STDOUT: %C.ade839.2: %C.type.4c7da9.2 = struct_value () [concrete] // CHECK:STDOUT: %D.type: type = fn_type @D [concrete] // CHECK:STDOUT: %D: %D.type = struct_value () [concrete] -// CHECK:STDOUT: %E.type.0dc028.1: type = fn_type @E.loc55 [concrete] -// CHECK:STDOUT: %E.fcd06f.1: %E.type.0dc028.1 = struct_value () [concrete] -// CHECK:STDOUT: %E.type.0dc028.2: type = fn_type @E.loc63 [concrete] -// CHECK:STDOUT: %E.fcd06f.2: %E.type.0dc028.2 = struct_value () [concrete] +// CHECK:STDOUT: %E.type.85d2dd.1: type = fn_type @E.loc55 [concrete] +// CHECK:STDOUT: %E.deefb0.1: %E.type.85d2dd.1 = struct_value () [concrete] +// CHECK:STDOUT: %E.type.85d2dd.2: type = fn_type @E.loc63 [concrete] +// CHECK:STDOUT: %E.deefb0.2: %E.type.85d2dd.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -116,8 +116,8 @@ fn E() {} // CHECK:STDOUT: } // CHECK:STDOUT: %x.loc33: %empty_tuple.type = value_binding x, %x.param.loc33 // CHECK:STDOUT: } -// CHECK:STDOUT: %C.decl.loc35: %C.type.04952c.1 = fn_decl @C.loc35 [concrete = constants.%C.4dda5b.1] {} {} -// CHECK:STDOUT: %C.decl.loc43: %C.type.04952c.2 = fn_decl @C.loc43 [concrete = constants.%C.4dda5b.2] { +// CHECK:STDOUT: %C.decl.loc35: %C.type.4c7da9.1 = fn_decl @C.loc35 [concrete = constants.%C.ade839.1] {} {} +// CHECK:STDOUT: %C.decl.loc43: %C.type.4c7da9.2 = fn_decl @C.loc43 [concrete = constants.%C.ade839.2] { // CHECK:STDOUT: %x.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: %pattern_type = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { @@ -130,8 +130,8 @@ fn E() {} // CHECK:STDOUT: } // CHECK:STDOUT: %D.decl.loc45: %D.type = fn_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: %D.decl.loc53: %D.type = fn_decl @D [concrete = constants.%D] {} {} -// CHECK:STDOUT: %E.decl.loc55: %E.type.0dc028.1 = fn_decl @E.loc55 [concrete = constants.%E.fcd06f.1] {} {} -// CHECK:STDOUT: %E.decl.loc63: %E.type.0dc028.2 = fn_decl @E.loc63 [concrete = constants.%E.fcd06f.2] {} {} +// CHECK:STDOUT: %E.decl.loc55: %E.type.85d2dd.1 = fn_decl @E.loc55 [concrete = constants.%E.deefb0.1] {} {} +// CHECK:STDOUT: %E.decl.loc63: %E.type.85d2dd.2 = fn_decl @E.loc63 [concrete = constants.%E.deefb0.2] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @A(); diff --git a/toolchain/check/testdata/function/declaration/import.carbon b/toolchain/check/testdata/function/declaration/import.carbon index e329b96dd40c..c7c67f4308be 100644 --- a/toolchain/check/testdata/function/declaration/import.carbon +++ b/toolchain/check/testdata/function/declaration/import.carbon @@ -269,17 +269,17 @@ import library "extern_api"; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.85c = tuple_value (%i32) [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] -// CHECK:STDOUT: %pattern_type.049: type = pattern_type %tuple.type.c87 [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %pattern_type.396: type = pattern_type %tuple.type.cb3 [concrete] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete] -// CHECK:STDOUT: %.856: Core.Form = init_form %struct_type.c [concrete] -// CHECK:STDOUT: %pattern_type.e30: type = pattern_type %struct_type.c [concrete] +// CHECK:STDOUT: %.90e: Core.Form = init_form %struct_type.c [concrete] +// CHECK:STDOUT: %pattern_type.820: type = pattern_type %struct_type.c [concrete] // CHECK:STDOUT: %C.type: type = fn_type @C [concrete] // CHECK:STDOUT: %C: %C.type = struct_value () [concrete] // CHECK:STDOUT: %D.type: type = fn_type @D [concrete] @@ -309,13 +309,13 @@ import library "extern_api"; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] {} {} // CHECK:STDOUT: %B.decl: %B.type = fn_decl @B [concrete = constants.%B] { -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc5_17 [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc5_17 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc5_17: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc5: Core.Form = init_form %i32.loc5_17 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc5: Core.Form = init_form %i32.loc5_17 [concrete = constants.%.7ea] // CHECK:STDOUT: %b.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc5_9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: %i32 = value_binding b, %b.param @@ -323,21 +323,21 @@ import library "extern_api"; // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: %C.type = fn_decl @C [concrete = constants.%C] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.049 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.049 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.e30 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.e30 = return_slot_pattern %return.param_patt, %struct_type.c [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.396 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.396 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.820 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.820 = return_slot_pattern %return.param_patt, %struct_type.c [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc6_25: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete = constants.%struct_type.c] -// CHECK:STDOUT: %.loc6_28: Core.Form = init_form %struct_type.c [concrete = constants.%.856] -// CHECK:STDOUT: %c.param: %tuple.type.c87 = value_param call_param0 -// CHECK:STDOUT: %.loc6_14.1: type = splice_block %.loc6_14.3 [concrete = constants.%tuple.type.c87] { +// CHECK:STDOUT: %.loc6_28: Core.Form = init_form %struct_type.c [concrete = constants.%.90e] +// CHECK:STDOUT: %c.param: %tuple.type.cb3 = value_param call_param0 +// CHECK:STDOUT: %.loc6_14.1: type = splice_block %.loc6_14.3 [concrete = constants.%tuple.type.cb3] { // CHECK:STDOUT: %i32.loc6_10: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc6_14.2: %tuple.type.85c = tuple_literal (%i32.loc6_10) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc6_14.3: type = converted %.loc6_14.2, constants.%tuple.type.c87 [concrete = constants.%tuple.type.c87] +// CHECK:STDOUT: %.loc6_14.3: type = converted %.loc6_14.2, constants.%tuple.type.cb3 [concrete = constants.%tuple.type.cb3] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %tuple.type.c87 = value_binding c, %c.param +// CHECK:STDOUT: %c: %tuple.type.cb3 = value_binding c, %c.param // CHECK:STDOUT: %return.param: ref %struct_type.c = out_param call_param1 // CHECK:STDOUT: %return: ref %struct_type.c = return_slot %return.param // CHECK:STDOUT: } @@ -352,7 +352,7 @@ import library "extern_api"; // CHECK:STDOUT: // CHECK:STDOUT: fn @B(%b.param: %i32) -> out %return.param: %i32; // CHECK:STDOUT: -// CHECK:STDOUT: fn @C(%c.param: %tuple.type.c87) -> out %return.param: %struct_type.c; +// CHECK:STDOUT: fn @C(%c.param: %tuple.type.cb3) -> out %return.param: %struct_type.c; // CHECK:STDOUT: // CHECK:STDOUT: extern fn @D(); // CHECK:STDOUT: @@ -367,17 +367,17 @@ import library "extern_api"; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.85c = tuple_value (%i32) [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] -// CHECK:STDOUT: %pattern_type.049: type = pattern_type %tuple.type.c87 [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %pattern_type.396: type = pattern_type %tuple.type.cb3 [concrete] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete] -// CHECK:STDOUT: %.856: Core.Form = init_form %struct_type.c [concrete] -// CHECK:STDOUT: %pattern_type.e30: type = pattern_type %struct_type.c [concrete] +// CHECK:STDOUT: %.90e: Core.Form = init_form %struct_type.c [concrete] +// CHECK:STDOUT: %pattern_type.820: type = pattern_type %struct_type.c [concrete] // CHECK:STDOUT: %C.type: type = fn_type @C [concrete] // CHECK:STDOUT: %C: %C.type = struct_value () [concrete] // CHECK:STDOUT: %D.type: type = fn_type @D [concrete] @@ -407,13 +407,13 @@ import library "extern_api"; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] {} {} // CHECK:STDOUT: %B.decl: %B.type = fn_decl @B [concrete = constants.%B] { -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc5_52 [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc5_52 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc5_52: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc5: Core.Form = init_form %i32.loc5_52 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc5: Core.Form = init_form %i32.loc5_52 [concrete = constants.%.7ea] // CHECK:STDOUT: %b.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc5_44: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: %i32 = value_binding b, %b.param @@ -421,21 +421,21 @@ import library "extern_api"; // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: %C.type = fn_decl @C [concrete = constants.%C] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.049 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.049 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.e30 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.e30 = return_slot_pattern %return.param_patt, %struct_type.c [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.396 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.396 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.820 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.820 = return_slot_pattern %return.param_patt, %struct_type.c [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc6_60: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete = constants.%struct_type.c] -// CHECK:STDOUT: %.loc6_63: Core.Form = init_form %struct_type.c [concrete = constants.%.856] -// CHECK:STDOUT: %c.param: %tuple.type.c87 = value_param call_param0 -// CHECK:STDOUT: %.loc6_49.1: type = splice_block %.loc6_49.3 [concrete = constants.%tuple.type.c87] { +// CHECK:STDOUT: %.loc6_63: Core.Form = init_form %struct_type.c [concrete = constants.%.90e] +// CHECK:STDOUT: %c.param: %tuple.type.cb3 = value_param call_param0 +// CHECK:STDOUT: %.loc6_49.1: type = splice_block %.loc6_49.3 [concrete = constants.%tuple.type.cb3] { // CHECK:STDOUT: %i32.loc6_45: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc6_49.2: %tuple.type.85c = tuple_literal (%i32.loc6_45) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc6_49.3: type = converted %.loc6_49.2, constants.%tuple.type.c87 [concrete = constants.%tuple.type.c87] +// CHECK:STDOUT: %.loc6_49.3: type = converted %.loc6_49.2, constants.%tuple.type.cb3 [concrete = constants.%tuple.type.cb3] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %tuple.type.c87 = value_binding c, %c.param +// CHECK:STDOUT: %c: %tuple.type.cb3 = value_binding c, %c.param // CHECK:STDOUT: %return.param: ref %struct_type.c = out_param call_param1 // CHECK:STDOUT: %return: ref %struct_type.c = return_slot %return.param // CHECK:STDOUT: } @@ -450,7 +450,7 @@ import library "extern_api"; // CHECK:STDOUT: // CHECK:STDOUT: extern fn @B(%b.param: %i32) -> out %return.param: %i32; // CHECK:STDOUT: -// CHECK:STDOUT: extern fn @C(%c.param: %tuple.type.c87) -> out %return.param: %struct_type.c; +// CHECK:STDOUT: extern fn @C(%c.param: %tuple.type.cb3) -> out %return.param: %struct_type.c; // CHECK:STDOUT: // CHECK:STDOUT: extern fn @D(); // CHECK:STDOUT: @@ -468,34 +468,34 @@ import library "extern_api"; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.e30: type = pattern_type %struct_type.c [concrete] +// CHECK:STDOUT: %pattern_type.820: type = pattern_type %struct_type.c [concrete] // CHECK:STDOUT: %C.type: type = fn_type @C [concrete] // CHECK:STDOUT: %C: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.378: %tuple.type.985 = tuple_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %tuple.86f: %tuple.type.c87 = tuple_value (%int_1.d5e) [concrete] +// CHECK:STDOUT: %tuple.152: %tuple.type.cb3 = tuple_value (%int_1.d9c) [concrete] // CHECK:STDOUT: %D.type: type = fn_type @D [concrete] // CHECK:STDOUT: %D: %D.type = struct_value () [concrete] // CHECK:STDOUT: %E.type: type = fn_type @E [concrete] @@ -519,9 +519,9 @@ import library "extern_api"; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -551,15 +551,15 @@ import library "extern_api"; // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %empty_tuple.type = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc7: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.e30 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.e30 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.820 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.820 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %struct_type.c = var %c.var_patt [concrete] // CHECK:STDOUT: %.loc8: type = splice_block %struct_type.c [concrete = constants.%struct_type.c] { @@ -606,27 +606,27 @@ import library "extern_api"; // CHECK:STDOUT: assign file.%a.var, %A.call // CHECK:STDOUT: %B.ref: %B.type = name_ref B, imports.%Main.B [concrete = constants.%B] // CHECK:STDOUT: %int_1.loc7: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc7: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc7: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc7_16.1: = bound_method %int_1.loc7, %impl.elem0.loc7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc7_16.2: = bound_method %int_1.loc7, %specific_fn.loc7 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_16.2(%int_1.loc7) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_16.2: %i32 = converted %int_1.loc7, %.loc7_16.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_16.2(%int_1.loc7) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_16.2: %i32 = converted %int_1.loc7, %.loc7_16.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %B.call: init %i32 = call %B.ref(%.loc7_16.2) // CHECK:STDOUT: assign file.%b.var, %B.call // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc8_25.1: %tuple.type.985 = tuple_literal (%int_1.loc8) [concrete = constants.%tuple.378] -// CHECK:STDOUT: %impl.elem0.loc8: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc8: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_25.1: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_25.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_25.2(%int_1.loc8) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_25.3: %i32 = converted %int_1.loc8, %.loc8_25.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %tuple: %tuple.type.c87 = tuple_value (%.loc8_25.3) [concrete = constants.%tuple.86f] -// CHECK:STDOUT: %.loc8_25.4: %tuple.type.c87 = converted %.loc8_25.1, %tuple [concrete = constants.%tuple.86f] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_25.2(%int_1.loc8) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_25.3: %i32 = converted %int_1.loc8, %.loc8_25.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %tuple: %tuple.type.cb3 = tuple_value (%.loc8_25.3) [concrete = constants.%tuple.152] +// CHECK:STDOUT: %.loc8_25.4: %tuple.type.cb3 = converted %.loc8_25.1, %tuple [concrete = constants.%tuple.152] // CHECK:STDOUT: %C.call: init %struct_type.c = call %C.ref(%.loc8_25.4) // CHECK:STDOUT: assign file.%c.var, %C.call // CHECK:STDOUT: %D.ref: %D.type = name_ref D, imports.%Main.D [concrete = constants.%D] @@ -649,16 +649,16 @@ import library "extern_api"; // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] -// CHECK:STDOUT: %tuple.386: %tuple.type.85c = tuple_value (%i32) [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %tuple.4e6: %tuple.type.85c = tuple_value (%i32) [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete] -// CHECK:STDOUT: %.856: Core.Form = init_form %struct_type.c [concrete] -// CHECK:STDOUT: %pattern_type.e30: type = pattern_type %struct_type.c [concrete] +// CHECK:STDOUT: %.90e: Core.Form = init_form %struct_type.c [concrete] +// CHECK:STDOUT: %pattern_type.820: type = pattern_type %struct_type.c [concrete] // CHECK:STDOUT: %C.type: type = fn_type @C [concrete] // CHECK:STDOUT: %C: %C.type = struct_value () [concrete] // CHECK:STDOUT: %D.type: type = fn_type @D [concrete] @@ -668,25 +668,25 @@ import library "extern_api"; // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.378: %tuple.type.985 = tuple_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %tuple.86f: %tuple.type.c87 = tuple_value (%int_1.d5e) [concrete] +// CHECK:STDOUT: %tuple.152: %tuple.type.cb3 = tuple_value (%int_1.d9c) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -701,9 +701,9 @@ import library "extern_api"; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -725,7 +725,7 @@ import library "extern_api"; // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] {} {} // CHECK:STDOUT: %B.decl: %B.type = fn_decl @B [concrete = constants.%B] {} { // CHECK:STDOUT: %i32.loc23_24: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc23: Core.Form = init_form %i32.loc23_24 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc23: Core.Form = init_form %i32.loc23_24 [concrete = constants.%.7ea] // CHECK:STDOUT: %b.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc23_16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: %i32 = value_binding b, %b.param @@ -735,14 +735,14 @@ import library "extern_api"; // CHECK:STDOUT: %C.decl: %C.type = fn_decl @C [concrete = constants.%C] {} { // CHECK:STDOUT: %i32.loc32_32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete = constants.%struct_type.c] -// CHECK:STDOUT: %.loc32_35: Core.Form = init_form %struct_type.c [concrete = constants.%.856] -// CHECK:STDOUT: %c.param: %tuple.type.c87 = value_param call_param0 -// CHECK:STDOUT: %.loc32_21.1: type = splice_block %.loc32_21.3 [concrete = constants.%tuple.type.c87] { +// CHECK:STDOUT: %.loc32_35: Core.Form = init_form %struct_type.c [concrete = constants.%.90e] +// CHECK:STDOUT: %c.param: %tuple.type.cb3 = value_param call_param0 +// CHECK:STDOUT: %.loc32_21.1: type = splice_block %.loc32_21.3 [concrete = constants.%tuple.type.cb3] { // CHECK:STDOUT: %i32.loc32_17: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc32_21.2: %tuple.type.85c = tuple_literal (%i32.loc32_17) [concrete = constants.%tuple.386] -// CHECK:STDOUT: %.loc32_21.3: type = converted %.loc32_21.2, constants.%tuple.type.c87 [concrete = constants.%tuple.type.c87] +// CHECK:STDOUT: %.loc32_21.2: %tuple.type.85c = tuple_literal (%i32.loc32_17) [concrete = constants.%tuple.4e6] +// CHECK:STDOUT: %.loc32_21.3: type = converted %.loc32_21.2, constants.%tuple.type.cb3 [concrete = constants.%tuple.type.cb3] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %tuple.type.c87 = value_binding c, %c.param +// CHECK:STDOUT: %c: %tuple.type.cb3 = value_binding c, %c.param // CHECK:STDOUT: %return.param: ref %struct_type.c = out_param call_param1 // CHECK:STDOUT: %return: ref %struct_type.c = return_slot %return.param // CHECK:STDOUT: } @@ -759,15 +759,15 @@ import library "extern_api"; // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %empty_tuple.type = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc53: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.e30 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.e30 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.820 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.820 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %struct_type.c = var %c.var_patt [concrete] // CHECK:STDOUT: %.loc54: type = splice_block %struct_type.c [concrete = constants.%struct_type.c] { @@ -814,27 +814,27 @@ import library "extern_api"; // CHECK:STDOUT: assign file.%a.var, %A.call // CHECK:STDOUT: %B.ref: %B.type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %int_1.loc53: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc53: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc53: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc53_16.1: = bound_method %int_1.loc53, %impl.elem0.loc53 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc53: = specific_function %impl.elem0.loc53, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc53_16.2: = bound_method %int_1.loc53, %specific_fn.loc53 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53: init %i32 = call %bound_method.loc53_16.2(%int_1.loc53) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc53_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc53_16.2: %i32 = converted %int_1.loc53, %.loc53_16.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53: init %i32 = call %bound_method.loc53_16.2(%int_1.loc53) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc53_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc53_16.2: %i32 = converted %int_1.loc53, %.loc53_16.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %B.call: init %i32 = call %B.ref(%.loc53_16.2) // CHECK:STDOUT: assign file.%b.var, %B.call // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %int_1.loc54: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc54_25.1: %tuple.type.985 = tuple_literal (%int_1.loc54) [concrete = constants.%tuple.378] -// CHECK:STDOUT: %impl.elem0.loc54: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc54: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc54_25.1: = bound_method %int_1.loc54, %impl.elem0.loc54 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc54: = specific_function %impl.elem0.loc54, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc54_25.2: = bound_method %int_1.loc54, %specific_fn.loc54 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc54: init %i32 = call %bound_method.loc54_25.2(%int_1.loc54) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc54_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc54 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc54_25.3: %i32 = converted %int_1.loc54, %.loc54_25.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %tuple: %tuple.type.c87 = tuple_value (%.loc54_25.3) [concrete = constants.%tuple.86f] -// CHECK:STDOUT: %.loc54_25.4: %tuple.type.c87 = converted %.loc54_25.1, %tuple [concrete = constants.%tuple.86f] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc54: init %i32 = call %bound_method.loc54_25.2(%int_1.loc54) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc54_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc54 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc54_25.3: %i32 = converted %int_1.loc54, %.loc54_25.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %tuple: %tuple.type.cb3 = tuple_value (%.loc54_25.3) [concrete = constants.%tuple.152] +// CHECK:STDOUT: %.loc54_25.4: %tuple.type.cb3 = converted %.loc54_25.1, %tuple [concrete = constants.%tuple.152] // CHECK:STDOUT: %C.call: init %struct_type.c = call %C.ref(%.loc54_25.4) // CHECK:STDOUT: assign file.%c.var, %C.call // CHECK:STDOUT: %D.ref: %D.type = name_ref D, file.%D.decl [concrete = constants.%D] @@ -859,42 +859,42 @@ import library "extern_api"; // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.ec3: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.46a: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.c62: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.6c9: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %C.type: type = fn_type @C [concrete] // CHECK:STDOUT: %C: %C.type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.4ea: type = pattern_type %struct_type.c [concrete] -// CHECK:STDOUT: %tuple.type.597: type = tuple_type (%i32) [concrete] -// CHECK:STDOUT: %.50b: Core.Form = init_form %struct_type.c [concrete] +// CHECK:STDOUT: %pattern_type.d39: type = pattern_type %struct_type.c [concrete] +// CHECK:STDOUT: %tuple.type.e3c: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %.b79: Core.Form = init_form %struct_type.c [concrete] // CHECK:STDOUT: %D.type: type = fn_type @D [concrete] // CHECK:STDOUT: %D: %D.type = struct_value () [concrete] // CHECK:STDOUT: %E.type: type = fn_type @E [concrete] // CHECK:STDOUT: %E: %E.type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] -// CHECK:STDOUT: %tuple.b71: %tuple.type.85c = tuple_value (%i32) [concrete] +// CHECK:STDOUT: %tuple.ef7: %tuple.type.85c = tuple_value (%i32) [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.56e: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.cf3: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.768: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.1e6: = impl_witness imports.%ImplicitAs.impl_witness_table.bc3, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.108: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.924: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.108 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.56e = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.1e6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.634: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68b, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.924 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.924, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.cd7: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e84: = impl_witness imports.%ImplicitAs.impl_witness_table.fca, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.104: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.785: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.104 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.cf3 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e84) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b79: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.56d: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b79, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.785 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.785, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.50a: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.6b0: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.378: %tuple.type.985 = tuple_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %tuple.4e5: %tuple.type.597 = tuple_value (%int_1.50a) [concrete] +// CHECK:STDOUT: %tuple.db1: %tuple.type.e3c = tuple_value (%int_1.6b0) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -902,16 +902,16 @@ import library "extern_api"; // CHECK:STDOUT: %NS: = namespace %Main.NS, [concrete] { // CHECK:STDOUT: .E = file.%E.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .Int = %Core.Int // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.7f1: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ca9) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.768)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.bc3 = impl_witness_table (%Core.import_ref.7f1), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.4e5: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a20) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.cd7)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.fca = impl_witness_table (%Core.import_ref.4e5), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -921,7 +921,7 @@ import library "extern_api"; // CHECK:STDOUT: .C = %C.decl // CHECK:STDOUT: .D = %D.decl // CHECK:STDOUT: .NS = imports.%NS -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .a = %a // CHECK:STDOUT: .b = %b // CHECK:STDOUT: .c = %c @@ -933,7 +933,7 @@ import library "extern_api"; // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] {} {} // CHECK:STDOUT: %B.decl: %B.type = fn_decl @B [concrete = constants.%B] {} { // CHECK:STDOUT: %i32.loc7_24: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc7: Core.Form = init_form %i32.loc7_24 [concrete = constants.%.46a] +// CHECK:STDOUT: %.loc7: Core.Form = init_form %i32.loc7_24 [concrete = constants.%.6c9] // CHECK:STDOUT: %b.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc7_16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: %i32 = value_binding b, %b.param @@ -943,14 +943,14 @@ import library "extern_api"; // CHECK:STDOUT: %C.decl: %C.type = fn_decl @C [concrete = constants.%C] {} { // CHECK:STDOUT: %i32.loc8_32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete = constants.%struct_type.c] -// CHECK:STDOUT: %.loc8_35: Core.Form = init_form %struct_type.c [concrete = constants.%.50b] -// CHECK:STDOUT: %c.param: %tuple.type.597 = value_param call_param0 -// CHECK:STDOUT: %.loc8_21.1: type = splice_block %.loc8_21.3 [concrete = constants.%tuple.type.597] { +// CHECK:STDOUT: %.loc8_35: Core.Form = init_form %struct_type.c [concrete = constants.%.b79] +// CHECK:STDOUT: %c.param: %tuple.type.e3c = value_param call_param0 +// CHECK:STDOUT: %.loc8_21.1: type = splice_block %.loc8_21.3 [concrete = constants.%tuple.type.e3c] { // CHECK:STDOUT: %i32.loc8_17: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8_21.2: %tuple.type.85c = tuple_literal (%i32.loc8_17) [concrete = constants.%tuple.b71] -// CHECK:STDOUT: %.loc8_21.3: type = converted %.loc8_21.2, constants.%tuple.type.597 [concrete = constants.%tuple.type.597] +// CHECK:STDOUT: %.loc8_21.2: %tuple.type.85c = tuple_literal (%i32.loc8_17) [concrete = constants.%tuple.ef7] +// CHECK:STDOUT: %.loc8_21.3: type = converted %.loc8_21.2, constants.%tuple.type.e3c [concrete = constants.%tuple.type.e3c] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %tuple.type.597 = value_binding c, %c.param +// CHECK:STDOUT: %c: %tuple.type.e3c = value_binding c, %c.param // CHECK:STDOUT: %return.param: ref %struct_type.c = out_param call_param1 // CHECK:STDOUT: %return: ref %struct_type.c = return_slot %return.param // CHECK:STDOUT: } @@ -967,15 +967,15 @@ import library "extern_api"; // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %empty_tuple.type = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.ec3 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.ec3 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.c62 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.c62 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc13: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.4ea = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.4ea = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.d39 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.d39 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %struct_type.c = var %c.var_patt [concrete] // CHECK:STDOUT: %.loc14: type = splice_block %struct_type.c [concrete = constants.%struct_type.c] { @@ -1022,27 +1022,27 @@ import library "extern_api"; // CHECK:STDOUT: assign file.%a.var, %A.call // CHECK:STDOUT: %B.ref: %B.type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %int_1.loc13: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc13: %.634 = impl_witness_access constants.%ImplicitAs.impl_witness.1e6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.924] +// CHECK:STDOUT: %impl.elem0.loc13: %.56d = impl_witness_access constants.%ImplicitAs.impl_witness.e84, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.785] // CHECK:STDOUT: %bound_method.loc13_16.1: = bound_method %int_1.loc13, %impl.elem0.loc13 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc13_16.2: = bound_method %int_1.loc13, %specific_fn.loc13 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13: init %i32 = call %bound_method.loc13_16.2(%int_1.loc13) [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc13_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc13_16.2: %i32 = converted %int_1.loc13, %.loc13_16.1 [concrete = constants.%int_1.50a] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13: init %i32 = call %bound_method.loc13_16.2(%int_1.loc13) [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc13_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc13_16.2: %i32 = converted %int_1.loc13, %.loc13_16.1 [concrete = constants.%int_1.6b0] // CHECK:STDOUT: %B.call: init %i32 = call %B.ref(%.loc13_16.2) // CHECK:STDOUT: assign file.%b.var, %B.call // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %int_1.loc14: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc14_25.1: %tuple.type.985 = tuple_literal (%int_1.loc14) [concrete = constants.%tuple.378] -// CHECK:STDOUT: %impl.elem0.loc14: %.634 = impl_witness_access constants.%ImplicitAs.impl_witness.1e6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.924] +// CHECK:STDOUT: %impl.elem0.loc14: %.56d = impl_witness_access constants.%ImplicitAs.impl_witness.e84, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.785] // CHECK:STDOUT: %bound_method.loc14_25.1: = bound_method %int_1.loc14, %impl.elem0.loc14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc14_25.2: = bound_method %int_1.loc14, %specific_fn.loc14 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14: init %i32 = call %bound_method.loc14_25.2(%int_1.loc14) [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc14_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc14_25.3: %i32 = converted %int_1.loc14, %.loc14_25.2 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %tuple: %tuple.type.597 = tuple_value (%.loc14_25.3) [concrete = constants.%tuple.4e5] -// CHECK:STDOUT: %.loc14_25.4: %tuple.type.597 = converted %.loc14_25.1, %tuple [concrete = constants.%tuple.4e5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14: init %i32 = call %bound_method.loc14_25.2(%int_1.loc14) [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc14_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc14_25.3: %i32 = converted %int_1.loc14, %.loc14_25.2 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %tuple: %tuple.type.e3c = tuple_value (%.loc14_25.3) [concrete = constants.%tuple.db1] +// CHECK:STDOUT: %.loc14_25.4: %tuple.type.e3c = converted %.loc14_25.1, %tuple [concrete = constants.%tuple.db1] // CHECK:STDOUT: %C.call: init %struct_type.c = call %C.ref(%.loc14_25.4) // CHECK:STDOUT: assign file.%c.var, %C.call // CHECK:STDOUT: %D.ref: %D.type = name_ref D, file.%D.decl [concrete = constants.%D] @@ -1067,34 +1067,34 @@ import library "extern_api"; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.e30: type = pattern_type %struct_type.c [concrete] +// CHECK:STDOUT: %pattern_type.820: type = pattern_type %struct_type.c [concrete] // CHECK:STDOUT: %C.type: type = fn_type @C [concrete] // CHECK:STDOUT: %C: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.378: %tuple.type.985 = tuple_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %tuple.86f: %tuple.type.c87 = tuple_value (%int_1.d5e) [concrete] +// CHECK:STDOUT: %tuple.152: %tuple.type.cb3 = tuple_value (%int_1.d9c) [concrete] // CHECK:STDOUT: %D.type: type = fn_type @D [concrete] // CHECK:STDOUT: %D: %D.type = struct_value () [concrete] // CHECK:STDOUT: %E.type: type = fn_type @E [concrete] @@ -1118,9 +1118,9 @@ import library "extern_api"; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1150,15 +1150,15 @@ import library "extern_api"; // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %empty_tuple.type = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc53: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.e30 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.e30 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.820 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.820 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %struct_type.c = var %c.var_patt [concrete] // CHECK:STDOUT: %.loc54: type = splice_block %struct_type.c [concrete = constants.%struct_type.c] { @@ -1205,27 +1205,27 @@ import library "extern_api"; // CHECK:STDOUT: assign file.%a.var, %A.call // CHECK:STDOUT: %B.ref: %B.type = name_ref B, imports.%Main.B [concrete = constants.%B] // CHECK:STDOUT: %int_1.loc53: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc53: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc53: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc53_16.1: = bound_method %int_1.loc53, %impl.elem0.loc53 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc53: = specific_function %impl.elem0.loc53, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc53_16.2: = bound_method %int_1.loc53, %specific_fn.loc53 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53: init %i32 = call %bound_method.loc53_16.2(%int_1.loc53) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc53_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc53_16.2: %i32 = converted %int_1.loc53, %.loc53_16.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53: init %i32 = call %bound_method.loc53_16.2(%int_1.loc53) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc53_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc53_16.2: %i32 = converted %int_1.loc53, %.loc53_16.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %B.call: init %i32 = call %B.ref(%.loc53_16.2) // CHECK:STDOUT: assign file.%b.var, %B.call // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %int_1.loc54: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc54_25.1: %tuple.type.985 = tuple_literal (%int_1.loc54) [concrete = constants.%tuple.378] -// CHECK:STDOUT: %impl.elem0.loc54: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc54: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc54_25.1: = bound_method %int_1.loc54, %impl.elem0.loc54 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc54: = specific_function %impl.elem0.loc54, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc54_25.2: = bound_method %int_1.loc54, %specific_fn.loc54 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc54: init %i32 = call %bound_method.loc54_25.2(%int_1.loc54) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc54_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc54 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc54_25.3: %i32 = converted %int_1.loc54, %.loc54_25.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %tuple: %tuple.type.c87 = tuple_value (%.loc54_25.3) [concrete = constants.%tuple.86f] -// CHECK:STDOUT: %.loc54_25.4: %tuple.type.c87 = converted %.loc54_25.1, %tuple [concrete = constants.%tuple.86f] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc54: init %i32 = call %bound_method.loc54_25.2(%int_1.loc54) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc54_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc54 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc54_25.3: %i32 = converted %int_1.loc54, %.loc54_25.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %tuple: %tuple.type.cb3 = tuple_value (%.loc54_25.3) [concrete = constants.%tuple.152] +// CHECK:STDOUT: %.loc54_25.4: %tuple.type.cb3 = converted %.loc54_25.1, %tuple [concrete = constants.%tuple.152] // CHECK:STDOUT: %C.call: init %struct_type.c = call %C.ref(%.loc54_25.4) // CHECK:STDOUT: assign file.%c.var, %C.call // CHECK:STDOUT: %D.ref: %D.type = name_ref D, imports.%Main.D [concrete = constants.%D] @@ -1250,34 +1250,34 @@ import library "extern_api"; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.e30: type = pattern_type %struct_type.c [concrete] +// CHECK:STDOUT: %pattern_type.820: type = pattern_type %struct_type.c [concrete] // CHECK:STDOUT: %C.type: type = fn_type @C [concrete] // CHECK:STDOUT: %C: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.378: %tuple.type.985 = tuple_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %tuple.86f: %tuple.type.c87 = tuple_value (%int_1.d5e) [concrete] +// CHECK:STDOUT: %tuple.152: %tuple.type.cb3 = tuple_value (%int_1.d9c) [concrete] // CHECK:STDOUT: %D.type: type = fn_type @D [concrete] // CHECK:STDOUT: %D: %D.type = struct_value () [concrete] // CHECK:STDOUT: %E.type: type = fn_type @E [concrete] @@ -1301,9 +1301,9 @@ import library "extern_api"; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1333,15 +1333,15 @@ import library "extern_api"; // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %empty_tuple.type = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc53: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.e30 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.e30 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.820 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.820 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %struct_type.c = var %c.var_patt [concrete] // CHECK:STDOUT: %.loc54: type = splice_block %struct_type.c [concrete = constants.%struct_type.c] { @@ -1388,27 +1388,27 @@ import library "extern_api"; // CHECK:STDOUT: assign file.%a.var, %A.call // CHECK:STDOUT: %B.ref: %B.type = name_ref B, imports.%Main.B [concrete = constants.%B] // CHECK:STDOUT: %int_1.loc53: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc53: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc53: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc53_16.1: = bound_method %int_1.loc53, %impl.elem0.loc53 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc53: = specific_function %impl.elem0.loc53, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc53_16.2: = bound_method %int_1.loc53, %specific_fn.loc53 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53: init %i32 = call %bound_method.loc53_16.2(%int_1.loc53) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc53_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc53_16.2: %i32 = converted %int_1.loc53, %.loc53_16.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53: init %i32 = call %bound_method.loc53_16.2(%int_1.loc53) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc53_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc53_16.2: %i32 = converted %int_1.loc53, %.loc53_16.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %B.call: init %i32 = call %B.ref(%.loc53_16.2) // CHECK:STDOUT: assign file.%b.var, %B.call // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %int_1.loc54: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc54_25.1: %tuple.type.985 = tuple_literal (%int_1.loc54) [concrete = constants.%tuple.378] -// CHECK:STDOUT: %impl.elem0.loc54: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc54: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc54_25.1: = bound_method %int_1.loc54, %impl.elem0.loc54 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc54: = specific_function %impl.elem0.loc54, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc54_25.2: = bound_method %int_1.loc54, %specific_fn.loc54 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc54: init %i32 = call %bound_method.loc54_25.2(%int_1.loc54) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc54_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc54 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc54_25.3: %i32 = converted %int_1.loc54, %.loc54_25.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %tuple: %tuple.type.c87 = tuple_value (%.loc54_25.3) [concrete = constants.%tuple.86f] -// CHECK:STDOUT: %.loc54_25.4: %tuple.type.c87 = converted %.loc54_25.1, %tuple [concrete = constants.%tuple.86f] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc54: init %i32 = call %bound_method.loc54_25.2(%int_1.loc54) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc54_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc54 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc54_25.3: %i32 = converted %int_1.loc54, %.loc54_25.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %tuple: %tuple.type.cb3 = tuple_value (%.loc54_25.3) [concrete = constants.%tuple.152] +// CHECK:STDOUT: %.loc54_25.4: %tuple.type.cb3 = converted %.loc54_25.1, %tuple [concrete = constants.%tuple.152] // CHECK:STDOUT: %C.call: init %struct_type.c = call %C.ref(%.loc54_25.4) // CHECK:STDOUT: assign file.%c.var, %C.call // CHECK:STDOUT: %D.ref: %D.type = name_ref D, imports.%Main.D [concrete = constants.%D] diff --git a/toolchain/check/testdata/function/declaration/param_same_name.carbon b/toolchain/check/testdata/function/declaration/param_same_name.carbon index dc1895bae338..f0b0849799c3 100644 --- a/toolchain/check/testdata/function/declaration/param_same_name.carbon +++ b/toolchain/check/testdata/function/declaration/param_same_name.carbon @@ -23,7 +23,7 @@ fn G(a: i32); // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] @@ -47,16 +47,16 @@ fn G(a: i32); // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/function/declaration/ref.carbon b/toolchain/check/testdata/function/declaration/ref.carbon index 13e6b59c02fc..1a1094b49d11 100644 --- a/toolchain/check/testdata/function/declaration/ref.carbon +++ b/toolchain/check/testdata/function/declaration/ref.carbon @@ -28,8 +28,8 @@ fn G() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.a8d: Core.Form = ref_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.aa9: Core.Form = ref_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] @@ -53,12 +53,12 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %.loc4_11.1: %pattern_type.c6b = ref_return_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %.loc4_11.1, %i32 [concrete] +// CHECK:STDOUT: %.loc4_11.1: %pattern_type.104 = ref_return_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %.loc4_11.1, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc4_11.2: type = ref_tag %i32 -// CHECK:STDOUT: %.loc4_11.3: Core.Form = ref_form %i32 [concrete = constants.%.a8d] +// CHECK:STDOUT: %.loc4_11.3: Core.Form = ref_form %i32 [concrete = constants.%.aa9] // CHECK:STDOUT: %.loc4_11.4: ref %i32 = ref_return // CHECK:STDOUT: %return: ref %i32 = return_slot %.loc4_11.4 // CHECK:STDOUT: } @@ -70,7 +70,7 @@ fn G() { // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = ref_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %F.call: ref %i32 = call %F.ref() diff --git a/toolchain/check/testdata/function/definition/fail_decl_param_mismatch.carbon b/toolchain/check/testdata/function/definition/fail_decl_param_mismatch.carbon index 2d4ecfde25b9..ad1061c0656c 100644 --- a/toolchain/check/testdata/function/definition/fail_decl_param_mismatch.carbon +++ b/toolchain/check/testdata/function/definition/fail_decl_param_mismatch.carbon @@ -72,38 +72,38 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: --- fail_decl_param_mismatch.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %F.type.4c82f6.1: type = fn_type @F.loc15 [concrete] +// CHECK:STDOUT: %F.type.b8d678.1: type = fn_type @F.loc15 [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %F.93fee5.1: %F.type.4c82f6.1 = struct_value () [concrete] +// CHECK:STDOUT: %F.7360cc.1: %F.type.b8d678.1 = struct_value () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] -// CHECK:STDOUT: %F.type.4c82f6.2: type = fn_type @F.loc23 [concrete] -// CHECK:STDOUT: %F.93fee5.2: %F.type.4c82f6.2 = struct_value () [concrete] -// CHECK:STDOUT: %G.type.b3851f.1: type = fn_type @G.loc25 [concrete] -// CHECK:STDOUT: %G.9ddd11.1: %G.type.b3851f.1 = struct_value () [concrete] -// CHECK:STDOUT: %G.type.b3851f.2: type = fn_type @G.loc33 [concrete] -// CHECK:STDOUT: %G.9ddd11.2: %G.type.b3851f.2 = struct_value () [concrete] -// CHECK:STDOUT: %H.type.fb4d5c.1: type = fn_type @H.loc35 [concrete] -// CHECK:STDOUT: %H.7baae3.1: %H.type.fb4d5c.1 = struct_value () [concrete] -// CHECK:STDOUT: %H.type.fb4d5c.2: type = fn_type @H.loc40 [concrete] -// CHECK:STDOUT: %H.7baae3.2: %H.type.fb4d5c.2 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.5b367d.1: type = fn_type @I.loc42 [concrete] -// CHECK:STDOUT: %I.b42d9d.1: %I.type.5b367d.1 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.b8d678.2: type = fn_type @F.loc23 [concrete] +// CHECK:STDOUT: %F.7360cc.2: %F.type.b8d678.2 = struct_value () [concrete] +// CHECK:STDOUT: %G.type.5a0d8a.1: type = fn_type @G.loc25 [concrete] +// CHECK:STDOUT: %G.0b60fb.1: %G.type.5a0d8a.1 = struct_value () [concrete] +// CHECK:STDOUT: %G.type.5a0d8a.2: type = fn_type @G.loc33 [concrete] +// CHECK:STDOUT: %G.0b60fb.2: %G.type.5a0d8a.2 = struct_value () [concrete] +// CHECK:STDOUT: %H.type.cdd00c.1: type = fn_type @H.loc35 [concrete] +// CHECK:STDOUT: %H.253ff0.1: %H.type.cdd00c.1 = struct_value () [concrete] +// CHECK:STDOUT: %H.type.cdd00c.2: type = fn_type @H.loc40 [concrete] +// CHECK:STDOUT: %H.253ff0.2: %H.type.cdd00c.2 = struct_value () [concrete] +// CHECK:STDOUT: %I.type.664784.1: type = fn_type @I.loc42 [concrete] +// CHECK:STDOUT: %I.044cfb.1: %I.type.664784.1 = struct_value () [concrete] // CHECK:STDOUT: %.262: Core.Form = init_form %empty_tuple.type [concrete] -// CHECK:STDOUT: %I.type.5b367d.2: type = fn_type @I.loc50 [concrete] -// CHECK:STDOUT: %I.b42d9d.2: %I.type.5b367d.2 = struct_value () [concrete] -// CHECK:STDOUT: %J.type.84a7ac.1: type = fn_type @J.loc52 [concrete] -// CHECK:STDOUT: %J.2e8406.1: %J.type.84a7ac.1 = struct_value () [concrete] -// CHECK:STDOUT: %J.type.84a7ac.2: type = fn_type @J.loc60 [concrete] -// CHECK:STDOUT: %J.2e8406.2: %J.type.84a7ac.2 = struct_value () [concrete] -// CHECK:STDOUT: %K.type.682fd0.1: type = fn_type @K.loc62 [concrete] -// CHECK:STDOUT: %K.e2ebae.1: %K.type.682fd0.1 = struct_value () [concrete] +// CHECK:STDOUT: %I.type.664784.2: type = fn_type @I.loc50 [concrete] +// CHECK:STDOUT: %I.044cfb.2: %I.type.664784.2 = struct_value () [concrete] +// CHECK:STDOUT: %J.type.c39a4c.1: type = fn_type @J.loc52 [concrete] +// CHECK:STDOUT: %J.e03599.1: %J.type.c39a4c.1 = struct_value () [concrete] +// CHECK:STDOUT: %J.type.c39a4c.2: type = fn_type @J.loc60 [concrete] +// CHECK:STDOUT: %J.e03599.2: %J.type.c39a4c.2 = struct_value () [concrete] +// CHECK:STDOUT: %K.type.029b5c.1: type = fn_type @K.loc62 [concrete] +// CHECK:STDOUT: %K.5ce087.1: %K.type.029b5c.1 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %.469: Core.Form = init_form %empty_struct_type [concrete] // CHECK:STDOUT: %pattern_type.a96: type = pattern_type %empty_struct_type [concrete] -// CHECK:STDOUT: %K.type.682fd0.2: type = fn_type @K.loc70 [concrete] -// CHECK:STDOUT: %K.e2ebae.2: %K.type.682fd0.2 = struct_value () [concrete] +// CHECK:STDOUT: %K.type.029b5c.2: type = fn_type @K.loc70 [concrete] +// CHECK:STDOUT: %K.5ce087.2: %K.type.029b5c.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -115,8 +115,8 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: .J = %J.decl.loc52 // CHECK:STDOUT: .K = %K.decl.loc62 // CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl.loc15: %F.type.4c82f6.1 = fn_decl @F.loc15 [concrete = constants.%F.93fee5.1] {} {} -// CHECK:STDOUT: %F.decl.loc23: %F.type.4c82f6.2 = fn_decl @F.loc23 [concrete = constants.%F.93fee5.2] { +// CHECK:STDOUT: %F.decl.loc15: %F.type.b8d678.1 = fn_decl @F.loc15 [concrete = constants.%F.7360cc.1] {} {} +// CHECK:STDOUT: %F.decl.loc23: %F.type.b8d678.2 = fn_decl @F.loc23 [concrete = constants.%F.7360cc.2] { // CHECK:STDOUT: %x.param_patt: %pattern_type.cb1 = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: %pattern_type.cb1 = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { @@ -127,7 +127,7 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: } // CHECK:STDOUT: %x: %empty_tuple.type = value_binding x, %x.param // CHECK:STDOUT: } -// CHECK:STDOUT: %G.decl.loc25: %G.type.b3851f.1 = fn_decl @G.loc25 [concrete = constants.%G.9ddd11.1] { +// CHECK:STDOUT: %G.decl.loc25: %G.type.5a0d8a.1 = fn_decl @G.loc25 [concrete = constants.%G.0b60fb.1] { // CHECK:STDOUT: %x.param_patt: %pattern_type.cb1 = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: %pattern_type.cb1 = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { @@ -138,8 +138,8 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: } // CHECK:STDOUT: %x: %empty_tuple.type = value_binding x, %x.param // CHECK:STDOUT: } -// CHECK:STDOUT: %G.decl.loc33: %G.type.b3851f.2 = fn_decl @G.loc33 [concrete = constants.%G.9ddd11.2] {} {} -// CHECK:STDOUT: %H.decl.loc35: %H.type.fb4d5c.1 = fn_decl @H.loc35 [concrete = constants.%H.7baae3.1] { +// CHECK:STDOUT: %G.decl.loc33: %G.type.5a0d8a.2 = fn_decl @G.loc33 [concrete = constants.%G.0b60fb.2] {} {} +// CHECK:STDOUT: %H.decl.loc35: %H.type.cdd00c.1 = fn_decl @H.loc35 [concrete = constants.%H.253ff0.1] { // CHECK:STDOUT: %x.param_patt: %pattern_type.cb1 = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: %pattern_type.cb1 = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { @@ -150,7 +150,7 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: } // CHECK:STDOUT: %x: %empty_tuple.type = value_binding x, %x.param // CHECK:STDOUT: } -// CHECK:STDOUT: %H.decl.loc40: %H.type.fb4d5c.2 = fn_decl @H.loc40 [concrete = constants.%H.7baae3.2] { +// CHECK:STDOUT: %H.decl.loc40: %H.type.cdd00c.2 = fn_decl @H.loc40 [concrete = constants.%H.253ff0.2] { // CHECK:STDOUT: %x.param_patt: = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { @@ -158,8 +158,8 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: %.loc40: type = type_literal [concrete = ] // CHECK:STDOUT: %x: = value_binding x, [concrete = ] // CHECK:STDOUT: } -// CHECK:STDOUT: %I.decl.loc42: %I.type.5b367d.1 = fn_decl @I.loc42 [concrete = constants.%I.b42d9d.1] {} {} -// CHECK:STDOUT: %I.decl.loc50: %I.type.5b367d.2 = fn_decl @I.loc50 [concrete = constants.%I.b42d9d.2] { +// CHECK:STDOUT: %I.decl.loc42: %I.type.664784.1 = fn_decl @I.loc42 [concrete = constants.%I.044cfb.1] {} {} +// CHECK:STDOUT: %I.decl.loc50: %I.type.664784.2 = fn_decl @I.loc50 [concrete = constants.%I.044cfb.2] { // CHECK:STDOUT: %return.param_patt: %pattern_type.cb1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.cb1 = return_slot_pattern %return.param_patt, %.loc50_12.2 [concrete] // CHECK:STDOUT: } { @@ -169,7 +169,7 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: %return.param: ref %empty_tuple.type = out_param call_param0 // CHECK:STDOUT: %return: ref %empty_tuple.type = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %J.decl.loc52: %J.type.84a7ac.1 = fn_decl @J.loc52 [concrete = constants.%J.2e8406.1] { +// CHECK:STDOUT: %J.decl.loc52: %J.type.c39a4c.1 = fn_decl @J.loc52 [concrete = constants.%J.e03599.1] { // CHECK:STDOUT: %return.param_patt: %pattern_type.cb1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.cb1 = return_slot_pattern %return.param_patt, %.loc52_12.2 [concrete] // CHECK:STDOUT: } { @@ -179,8 +179,8 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: %return.param: ref %empty_tuple.type = out_param call_param0 // CHECK:STDOUT: %return: ref %empty_tuple.type = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %J.decl.loc60: %J.type.84a7ac.2 = fn_decl @J.loc60 [concrete = constants.%J.2e8406.2] {} {} -// CHECK:STDOUT: %K.decl.loc62: %K.type.682fd0.1 = fn_decl @K.loc62 [concrete = constants.%K.e2ebae.1] { +// CHECK:STDOUT: %J.decl.loc60: %J.type.c39a4c.2 = fn_decl @J.loc60 [concrete = constants.%J.e03599.2] {} {} +// CHECK:STDOUT: %K.decl.loc62: %K.type.029b5c.1 = fn_decl @K.loc62 [concrete = constants.%K.5ce087.1] { // CHECK:STDOUT: %return.param_patt: %pattern_type.cb1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.cb1 = return_slot_pattern %return.param_patt, %.loc62_12.2 [concrete] // CHECK:STDOUT: } { @@ -190,7 +190,7 @@ fn K() -> {} { return {}; } // CHECK:STDOUT: %return.param: ref %empty_tuple.type = out_param call_param0 // CHECK:STDOUT: %return: ref %empty_tuple.type = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %K.decl.loc70: %K.type.682fd0.2 = fn_decl @K.loc70 [concrete = constants.%K.e2ebae.2] { +// CHECK:STDOUT: %K.decl.loc70: %K.type.029b5c.2 = fn_decl @K.loc70 [concrete = constants.%K.5ce087.2] { // CHECK:STDOUT: %return.param_patt: %pattern_type.a96 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.a96 = return_slot_pattern %return.param_patt, %.loc70_12.2 [concrete] // CHECK:STDOUT: } { diff --git a/toolchain/check/testdata/function/definition/fail_redef.carbon b/toolchain/check/testdata/function/definition/fail_redef.carbon index 284f6b06a106..7c7b79188e22 100644 --- a/toolchain/check/testdata/function/definition/fail_redef.carbon +++ b/toolchain/check/testdata/function/definition/fail_redef.carbon @@ -25,18 +25,18 @@ fn F() {} // CHECK:STDOUT: --- fail_redef.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %F.type.4c82f6.1: type = fn_type @F.loc15 [concrete] -// CHECK:STDOUT: %F.93fee5.1: %F.type.4c82f6.1 = struct_value () [concrete] -// CHECK:STDOUT: %F.type.4c82f6.2: type = fn_type @F.loc23 [concrete] -// CHECK:STDOUT: %F.93fee5.2: %F.type.4c82f6.2 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.b8d678.1: type = fn_type @F.loc15 [concrete] +// CHECK:STDOUT: %F.7360cc.1: %F.type.b8d678.1 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.b8d678.2: type = fn_type @F.loc23 [concrete] +// CHECK:STDOUT: %F.7360cc.2: %F.type.b8d678.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .F = %F.decl.loc15 // CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl.loc15: %F.type.4c82f6.1 = fn_decl @F.loc15 [concrete = constants.%F.93fee5.1] {} {} -// CHECK:STDOUT: %F.decl.loc23: %F.type.4c82f6.2 = fn_decl @F.loc23 [concrete = constants.%F.93fee5.2] {} {} +// CHECK:STDOUT: %F.decl.loc15: %F.type.b8d678.1 = fn_decl @F.loc15 [concrete = constants.%F.7360cc.1] {} {} +// CHECK:STDOUT: %F.decl.loc23: %F.type.b8d678.2 = fn_decl @F.loc23 [concrete = constants.%F.7360cc.2] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F.loc15() { diff --git a/toolchain/check/testdata/function/definition/implicit_import.carbon b/toolchain/check/testdata/function/definition/implicit_import.carbon index f94f9ccf96a9..b9b7fbddc155 100644 --- a/toolchain/check/testdata/function/definition/implicit_import.carbon +++ b/toolchain/check/testdata/function/definition/implicit_import.carbon @@ -295,14 +295,14 @@ fn B() {} // CHECK:STDOUT: --- fail_redef_after_def.impl.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %A.type.056701.1: type = fn_type @A.1 [concrete] -// CHECK:STDOUT: %A.5ca789.1: %A.type.056701.1 = struct_value () [concrete] -// CHECK:STDOUT: %A.type.056701.2: type = fn_type @A.loc12 [concrete] -// CHECK:STDOUT: %A.5ca789.2: %A.type.056701.2 = struct_value () [concrete] +// CHECK:STDOUT: %A.type.f924ba.1: type = fn_type @A.1 [concrete] +// CHECK:STDOUT: %A.c9c0ce.1: %A.type.f924ba.1 = struct_value () [concrete] +// CHECK:STDOUT: %A.type.f924ba.2: type = fn_type @A.loc12 [concrete] +// CHECK:STDOUT: %A.c9c0ce.2: %A.type.f924ba.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.A: %A.type.056701.1 = import_ref Main//redef_after_def, A, loaded [concrete = constants.%A.5ca789.1] +// CHECK:STDOUT: %Main.A: %A.type.f924ba.1 = import_ref Main//redef_after_def, A, loaded [concrete = constants.%A.c9c0ce.1] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -311,7 +311,7 @@ fn B() {} // CHECK:STDOUT: } // CHECK:STDOUT: %default.import.loc2_31.1 = import // CHECK:STDOUT: %default.import.loc2_31.2 = import -// CHECK:STDOUT: %A.decl: %A.type.056701.2 = fn_decl @A.loc12 [concrete = constants.%A.5ca789.2] {} {} +// CHECK:STDOUT: %A.decl: %A.type.f924ba.2 = fn_decl @A.loc12 [concrete = constants.%A.c9c0ce.2] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @A.1 [from "redef_after_def.carbon"]; diff --git a/toolchain/check/testdata/function/definition/import.carbon b/toolchain/check/testdata/function/definition/import.carbon index cab1c50c4664..53713c1a61bf 100644 --- a/toolchain/check/testdata/function/definition/import.carbon +++ b/toolchain/check/testdata/function/definition/import.carbon @@ -124,27 +124,27 @@ fn D() {} // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] -// CHECK:STDOUT: %tuple.386: %tuple.type.85c = tuple_value (%i32) [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] -// CHECK:STDOUT: %pattern_type.049: type = pattern_type %tuple.type.c87 [concrete] +// CHECK:STDOUT: %tuple.4e6: %tuple.type.85c = tuple_value (%i32) [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %pattern_type.396: type = pattern_type %tuple.type.cb3 [concrete] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete] -// CHECK:STDOUT: %.856: Core.Form = init_form %struct_type.c [concrete] -// CHECK:STDOUT: %pattern_type.e30: type = pattern_type %struct_type.c [concrete] +// CHECK:STDOUT: %.90e: Core.Form = init_form %struct_type.c [concrete] +// CHECK:STDOUT: %pattern_type.820: type = pattern_type %struct_type.c [concrete] // CHECK:STDOUT: %C.type: type = fn_type @C [concrete] // CHECK:STDOUT: %C: %C.type = struct_value () [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] @@ -161,8 +161,8 @@ fn D() {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -176,13 +176,13 @@ fn D() {} // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] {} {} // CHECK:STDOUT: %B.decl: %B.type = fn_decl @B [concrete = constants.%B] { -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc5_17 [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc5_17 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc5_17: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc5: Core.Form = init_form %i32.loc5_17 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc5: Core.Form = init_form %i32.loc5_17 [concrete = constants.%.7ea] // CHECK:STDOUT: %b.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc5_9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: %i32 = value_binding b, %b.param @@ -190,21 +190,21 @@ fn D() {} // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: %C.type = fn_decl @C [concrete = constants.%C] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.049 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.049 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.e30 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.e30 = return_slot_pattern %return.param_patt, %struct_type.c [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.396 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.396 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.820 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.820 = return_slot_pattern %return.param_patt, %struct_type.c [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc6_25: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete = constants.%struct_type.c] -// CHECK:STDOUT: %.loc6_28: Core.Form = init_form %struct_type.c [concrete = constants.%.856] -// CHECK:STDOUT: %c.param: %tuple.type.c87 = value_param call_param0 -// CHECK:STDOUT: %.loc6_14.1: type = splice_block %.loc6_14.3 [concrete = constants.%tuple.type.c87] { +// CHECK:STDOUT: %.loc6_28: Core.Form = init_form %struct_type.c [concrete = constants.%.90e] +// CHECK:STDOUT: %c.param: %tuple.type.cb3 = value_param call_param0 +// CHECK:STDOUT: %.loc6_14.1: type = splice_block %.loc6_14.3 [concrete = constants.%tuple.type.cb3] { // CHECK:STDOUT: %i32.loc6_10: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6_14.2: %tuple.type.85c = tuple_literal (%i32.loc6_10) [concrete = constants.%tuple.386] -// CHECK:STDOUT: %.loc6_14.3: type = converted %.loc6_14.2, constants.%tuple.type.c87 [concrete = constants.%tuple.type.c87] +// CHECK:STDOUT: %.loc6_14.2: %tuple.type.85c = tuple_literal (%i32.loc6_10) [concrete = constants.%tuple.4e6] +// CHECK:STDOUT: %.loc6_14.3: type = converted %.loc6_14.2, constants.%tuple.type.cb3 [concrete = constants.%tuple.type.cb3] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %tuple.type.c87 = value_binding c, %c.param +// CHECK:STDOUT: %c: %tuple.type.cb3 = value_binding c, %c.param // CHECK:STDOUT: %return.param: ref %struct_type.c = out_param call_param1 // CHECK:STDOUT: %return: ref %struct_type.c = return_slot %return.param // CHECK:STDOUT: } @@ -219,7 +219,7 @@ fn D() {} // CHECK:STDOUT: fn @B(%b.param: %i32) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc5_30.1: = bound_method %b.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc5_30.2: = bound_method %b.ref, %specific_fn @@ -227,13 +227,13 @@ fn D() {} // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C(%c.param: %tuple.type.c87) -> out %return.param: %struct_type.c { +// CHECK:STDOUT: fn @C(%c.param: %tuple.type.cb3) -> out %return.param: %struct_type.c { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %c.ref: %tuple.type.c87 = name_ref c, %c +// CHECK:STDOUT: %c.ref: %tuple.type.cb3 = name_ref c, %c // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %tuple.elem0: %i32 = tuple_access %c.ref, element0 // CHECK:STDOUT: %.loc6_48.1: %struct_type.c = struct_literal (%tuple.elem0) -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc6_46.1: = bound_method %tuple.elem0, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_46.2: = bound_method %tuple.elem0, %specific_fn @@ -282,34 +282,34 @@ fn D() {} // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.e30: type = pattern_type %struct_type.c [concrete] +// CHECK:STDOUT: %pattern_type.820: type = pattern_type %struct_type.c [concrete] // CHECK:STDOUT: %C.type: type = fn_type @C [concrete] // CHECK:STDOUT: %C: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.378: %tuple.type.985 = tuple_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %tuple.86f: %tuple.type.c87 = tuple_value (%int_1.d5e) [concrete] +// CHECK:STDOUT: %tuple.152: %tuple.type.cb3 = tuple_value (%int_1.d9c) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -324,9 +324,9 @@ fn D() {} // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -353,15 +353,15 @@ fn D() {} // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %empty_tuple.type = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc7: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.e30 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.e30 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.820 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.820 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %struct_type.c = var %c.var_patt [concrete] // CHECK:STDOUT: %.loc8: type = splice_block %struct_type.c [concrete = constants.%struct_type.c] { @@ -384,27 +384,27 @@ fn D() {} // CHECK:STDOUT: assign file.%a.var, %A.call // CHECK:STDOUT: %B.ref: %B.type = name_ref B, imports.%Main.B [concrete = constants.%B] // CHECK:STDOUT: %int_1.loc7: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc7: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc7: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc7_16.1: = bound_method %int_1.loc7, %impl.elem0.loc7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc7_16.2: = bound_method %int_1.loc7, %specific_fn.loc7 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_16.2(%int_1.loc7) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_16.2: %i32 = converted %int_1.loc7, %.loc7_16.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_16.2(%int_1.loc7) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_16.2: %i32 = converted %int_1.loc7, %.loc7_16.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %B.call: init %i32 = call %B.ref(%.loc7_16.2) // CHECK:STDOUT: assign file.%b.var, %B.call // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc8_25.1: %tuple.type.985 = tuple_literal (%int_1.loc8) [concrete = constants.%tuple.378] -// CHECK:STDOUT: %impl.elem0.loc8: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc8: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_25.1: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_25.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_25.2(%int_1.loc8) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_25.3: %i32 = converted %int_1.loc8, %.loc8_25.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %tuple: %tuple.type.c87 = tuple_value (%.loc8_25.3) [concrete = constants.%tuple.86f] -// CHECK:STDOUT: %.loc8_25.4: %tuple.type.c87 = converted %.loc8_25.1, %tuple [concrete = constants.%tuple.86f] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_25.2(%int_1.loc8) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_25.3: %i32 = converted %int_1.loc8, %.loc8_25.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %tuple: %tuple.type.cb3 = tuple_value (%.loc8_25.3) [concrete = constants.%tuple.152] +// CHECK:STDOUT: %.loc8_25.4: %tuple.type.cb3 = converted %.loc8_25.1, %tuple [concrete = constants.%tuple.152] // CHECK:STDOUT: %C.call: init %struct_type.c = call %C.ref(%.loc8_25.4) // CHECK:STDOUT: assign file.%c.var, %C.call // CHECK:STDOUT: return @@ -413,21 +413,21 @@ fn D() {} // CHECK:STDOUT: --- fail_def_ownership.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %A.type.756aca.1: type = fn_type @A.1 [concrete] -// CHECK:STDOUT: %A.a2baf1.1: %A.type.756aca.1 = struct_value () [concrete] -// CHECK:STDOUT: %A.type.756aca.2: type = fn_type @A.loc14 [concrete] -// CHECK:STDOUT: %A.a2baf1.2: %A.type.756aca.2 = struct_value () [concrete] +// CHECK:STDOUT: %A.type.f924ba.1: type = fn_type @A.1 [concrete] +// CHECK:STDOUT: %A.c9c0ce.1: %A.type.f924ba.1 = struct_value () [concrete] +// CHECK:STDOUT: %A.type.f924ba.2: type = fn_type @A.loc14 [concrete] +// CHECK:STDOUT: %A.c9c0ce.2: %A.type.f924ba.2 = struct_value () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.A: %A.type.756aca.1 = import_ref Main//fns, A, loaded [concrete = constants.%A.a2baf1.1] +// CHECK:STDOUT: %Main.A: %A.type.f924ba.1 = import_ref Main//fns, A, loaded [concrete = constants.%A.c9c0ce.1] // CHECK:STDOUT: %Main.C = import_ref Main//fns, C, unloaded // CHECK:STDOUT: %Main.D = import_ref Main//fns, D, unloaded // CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { @@ -448,10 +448,10 @@ fn D() {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import -// CHECK:STDOUT: %A.decl: %A.type.756aca.2 = fn_decl @A.loc14 [concrete = constants.%A.a2baf1.2] {} {} +// CHECK:STDOUT: %A.decl: %A.type.f924ba.2 = fn_decl @A.loc14 [concrete = constants.%A.c9c0ce.2] {} {} // CHECK:STDOUT: %B.decl: %B.type = fn_decl @B [concrete = constants.%B] {} { // CHECK:STDOUT: %i32.loc23_17: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc23: Core.Form = init_form %i32.loc23_17 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc23: Core.Form = init_form %i32.loc23_17 [concrete = constants.%.7ea] // CHECK:STDOUT: %b.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc23_9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: %i32 = value_binding b, %b.param diff --git a/toolchain/check/testdata/function/definition/params_one.carbon b/toolchain/check/testdata/function/definition/params_one.carbon index a7ac12bdc390..cd7ea5aa647c 100644 --- a/toolchain/check/testdata/function/definition/params_one.carbon +++ b/toolchain/check/testdata/function/definition/params_one.carbon @@ -21,7 +21,7 @@ fn Foo(unused a: i32) {} // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Foo.type: type = fn_type @Foo [concrete] // CHECK:STDOUT: %Foo: %Foo.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -42,8 +42,8 @@ fn Foo(unused a: i32) {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Foo.decl: %Foo.type = fn_decl @Foo [concrete = constants.%Foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/function/definition/params_one_comma.carbon b/toolchain/check/testdata/function/definition/params_one_comma.carbon index bcdad9374f65..935e7fbc60f4 100644 --- a/toolchain/check/testdata/function/definition/params_one_comma.carbon +++ b/toolchain/check/testdata/function/definition/params_one_comma.carbon @@ -21,7 +21,7 @@ fn Foo(unused a: i32,) {} // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Foo.type: type = fn_type @Foo [concrete] // CHECK:STDOUT: %Foo: %Foo.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -42,8 +42,8 @@ fn Foo(unused a: i32,) {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Foo.decl: %Foo.type = fn_decl @Foo [concrete = constants.%Foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/function/definition/params_two.carbon b/toolchain/check/testdata/function/definition/params_two.carbon index 2ebe7ad07fcc..51cadc029c56 100644 --- a/toolchain/check/testdata/function/definition/params_two.carbon +++ b/toolchain/check/testdata/function/definition/params_two.carbon @@ -21,7 +21,7 @@ fn Foo(unused a: i32, unused b: i32) {} // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Foo.type: type = fn_type @Foo [concrete] // CHECK:STDOUT: %Foo: %Foo.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -42,10 +42,10 @@ fn Foo(unused a: i32, unused b: i32) {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Foo.decl: %Foo.type = fn_decl @Foo [concrete = constants.%Foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc15_18: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/function/definition/params_two_comma.carbon b/toolchain/check/testdata/function/definition/params_two_comma.carbon index 4a8354fb0ce2..1066b248b65d 100644 --- a/toolchain/check/testdata/function/definition/params_two_comma.carbon +++ b/toolchain/check/testdata/function/definition/params_two_comma.carbon @@ -21,7 +21,7 @@ fn Foo(unused a: i32, unused b: i32,) {} // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Foo.type: type = fn_type @Foo [concrete] // CHECK:STDOUT: %Foo: %Foo.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -42,10 +42,10 @@ fn Foo(unused a: i32, unused b: i32,) {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Foo.decl: %Foo.type = fn_decl @Foo [concrete = constants.%Foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc15_18: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/function/definition/syntactic_merge.carbon b/toolchain/check/testdata/function/definition/syntactic_merge.carbon index 134c403a870a..5b10a97893bf 100644 --- a/toolchain/check/testdata/function/definition/syntactic_merge.carbon +++ b/toolchain/check/testdata/function/definition/syntactic_merge.carbon @@ -335,10 +335,10 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] -// CHECK:STDOUT: %Foo.type.0faf8c.1: type = fn_type @Foo.loc6 [concrete] -// CHECK:STDOUT: %Foo.cf0eb2.1: %Foo.type.0faf8c.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.0faf8c.2: type = fn_type @Foo.loc14 [concrete] -// CHECK:STDOUT: %Foo.cf0eb2.2: %Foo.type.0faf8c.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.e3bedb.1: type = fn_type @Foo.loc6 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.1: %Foo.type.e3bedb.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.e3bedb.2: type = fn_type @Foo.loc14 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.2: %Foo.type.e3bedb.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -347,7 +347,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: .Foo = %Foo.decl.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.0faf8c.1 = fn_decl @Foo.loc6 [concrete = constants.%Foo.cf0eb2.1] { +// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.e3bedb.1 = fn_decl @Foo.loc6 [concrete = constants.%Foo.1ddd68.1] { // CHECK:STDOUT: %a.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: %pattern_type = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { @@ -355,7 +355,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %a: %C = value_binding a, %a.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.0faf8c.2 = fn_decl @Foo.loc14 [concrete = constants.%Foo.cf0eb2.2] { +// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.e3bedb.2 = fn_decl @Foo.loc14 [concrete = constants.%Foo.1ddd68.2] { // CHECK:STDOUT: %a.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: %pattern_type = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { @@ -386,10 +386,10 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %Foo.type.61c7d7.1: type = fn_type @Foo.loc14 [concrete] -// CHECK:STDOUT: %Foo.464a9f.1: %Foo.type.61c7d7.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.61c7d7.2: type = fn_type @Foo.loc23 [concrete] -// CHECK:STDOUT: %Foo.464a9f.2: %Foo.type.61c7d7.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.e3bedb.1: type = fn_type @Foo.loc14 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.1: %Foo.type.e3bedb.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.e3bedb.2: type = fn_type @Foo.loc23 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.2: %Foo.type.e3bedb.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -398,8 +398,8 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: .Foo = %Foo.decl.loc14 // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.61c7d7.1 = fn_decl @Foo.loc14 [concrete = constants.%Foo.464a9f.1] {} {} -// CHECK:STDOUT: %Foo.decl.loc23: %Foo.type.61c7d7.2 = fn_decl @Foo.loc23 [concrete = constants.%Foo.464a9f.2] {} {} +// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.e3bedb.1 = fn_decl @Foo.loc14 [concrete = constants.%Foo.1ddd68.1] {} {} +// CHECK:STDOUT: %Foo.decl.loc23: %Foo.type.e3bedb.2 = fn_decl @Foo.loc23 [concrete = constants.%Foo.1ddd68.2] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C { @@ -424,10 +424,10 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] -// CHECK:STDOUT: %Foo.type.2d3852.1: type = fn_type @Foo.loc6 [concrete] -// CHECK:STDOUT: %Foo.371266.1: %Foo.type.2d3852.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.2d3852.2: type = fn_type @Foo.loc14 [concrete] -// CHECK:STDOUT: %Foo.371266.2: %Foo.type.2d3852.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.e3bedb.1: type = fn_type @Foo.loc6 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.1: %Foo.type.e3bedb.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.e3bedb.2: type = fn_type @Foo.loc14 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.2: %Foo.type.e3bedb.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -436,7 +436,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: .Foo = %Foo.decl.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.2d3852.1 = fn_decl @Foo.loc6 [concrete = constants.%Foo.371266.1] { +// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.e3bedb.1 = fn_decl @Foo.loc6 [concrete = constants.%Foo.1ddd68.1] { // CHECK:STDOUT: %_.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %_.patt: %pattern_type = at_binding_pattern _, %_.param_patt [concrete] // CHECK:STDOUT: } { @@ -444,7 +444,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %_: %C = value_binding _, %_.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.2d3852.2 = fn_decl @Foo.loc14 [concrete = constants.%Foo.371266.2] { +// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.e3bedb.2 = fn_decl @Foo.loc14 [concrete = constants.%Foo.1ddd68.2] { // CHECK:STDOUT: %_.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %_.patt: %pattern_type = at_binding_pattern _, %_.param_patt [concrete] // CHECK:STDOUT: } { @@ -539,7 +539,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %Main.C: type = import_ref Main//two_file, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.D: type = import_ref Main//two_file, D, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//two_file, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.6ef = import_ref Main//two_file, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//two_file, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -573,7 +573,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.6ef +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Foo(%a.param: %C) [from "two_file.carbon"] { @@ -593,10 +593,10 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] -// CHECK:STDOUT: %Foo.type.a2ca49.1: type = fn_type @Foo.loc7 [concrete] -// CHECK:STDOUT: %Foo.de7283.1: %Foo.type.a2ca49.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.a2ca49.2: type = fn_type @Foo.loc15 [concrete] -// CHECK:STDOUT: %Foo.de7283.2: %Foo.type.a2ca49.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.e3bedb.1: type = fn_type @Foo.loc7 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.1: %Foo.type.e3bedb.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.e3bedb.2: type = fn_type @Foo.loc15 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.2: %Foo.type.e3bedb.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -608,7 +608,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %D: type = alias_binding D, %C.ref [concrete = constants.%C] -// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.a2ca49.1 = fn_decl @Foo.loc7 [concrete = constants.%Foo.de7283.1] { +// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.e3bedb.1 = fn_decl @Foo.loc7 [concrete = constants.%Foo.1ddd68.1] { // CHECK:STDOUT: %a.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: %pattern_type = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { @@ -616,7 +616,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %a: %C = value_binding a, %a.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.a2ca49.2 = fn_decl @Foo.loc15 [concrete = constants.%Foo.de7283.2] { +// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.e3bedb.2 = fn_decl @Foo.loc15 [concrete = constants.%Foo.1ddd68.2] { // CHECK:STDOUT: %b.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %b.patt: %pattern_type = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { @@ -648,10 +648,10 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] -// CHECK:STDOUT: %Foo.type.3416cf.1: type = fn_type @Foo.loc7 [concrete] -// CHECK:STDOUT: %Foo.923e15.1: %Foo.type.3416cf.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.3416cf.2: type = fn_type @Foo.loc15 [concrete] -// CHECK:STDOUT: %Foo.923e15.2: %Foo.type.3416cf.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.e3bedb.1: type = fn_type @Foo.loc7 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.1: %Foo.type.e3bedb.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.e3bedb.2: type = fn_type @Foo.loc15 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.2: %Foo.type.e3bedb.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -663,7 +663,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %D: type = alias_binding D, %C.ref [concrete = constants.%C] -// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.3416cf.1 = fn_decl @Foo.loc7 [concrete = constants.%Foo.923e15.1] { +// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.e3bedb.1 = fn_decl @Foo.loc7 [concrete = constants.%Foo.1ddd68.1] { // CHECK:STDOUT: %a.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: %pattern_type = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { @@ -671,7 +671,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %a: %C = value_binding a, %a.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.3416cf.2 = fn_decl @Foo.loc15 [concrete = constants.%Foo.923e15.2] { +// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.e3bedb.2 = fn_decl @Foo.loc15 [concrete = constants.%Foo.1ddd68.2] { // CHECK:STDOUT: %a.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: %pattern_type = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { @@ -705,12 +705,12 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] -// CHECK:STDOUT: %a.0cec54.1: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.f874f2.1: type = fn_type @Foo.loc7 [concrete] -// CHECK:STDOUT: %Foo.7b0505.1: %Foo.type.f874f2.1 = struct_value () [concrete] -// CHECK:STDOUT: %a.0cec54.2: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.f874f2.2: type = fn_type @Foo.loc15 [concrete] -// CHECK:STDOUT: %Foo.7b0505.2: %Foo.type.f874f2.2 = struct_value () [concrete] +// CHECK:STDOUT: %a.b551c9.1: %C = symbolic_binding a, 0 [symbolic] +// CHECK:STDOUT: %Foo.type.e3bedb.1: type = fn_type @Foo.loc7 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.1: %Foo.type.e3bedb.1 = struct_value () [concrete] +// CHECK:STDOUT: %a.b551c9.2: %C = symbolic_binding a, 0 [symbolic] +// CHECK:STDOUT: %Foo.type.e3bedb.2: type = fn_type @Foo.loc15 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.2: %Foo.type.e3bedb.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -722,23 +722,23 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %D: type = alias_binding D, %C.ref [concrete = constants.%C] -// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.f874f2.1 = fn_decl @Foo.loc7 [concrete = constants.%Foo.7b0505.1] { +// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.e3bedb.1 = fn_decl @Foo.loc7 [concrete = constants.%Foo.1ddd68.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7: type = splice_block %C.ref [concrete = constants.%C] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.loc7_9.2: %C = symbolic_binding a, 0 [symbolic = %a.loc7_9.1 (constants.%a.0cec54.1)] +// CHECK:STDOUT: %a.loc7_9.2: %C = symbolic_binding a, 0 [symbolic = %a.loc7_9.1 (constants.%a.b551c9.1)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.f874f2.2 = fn_decl @Foo.loc15 [concrete = constants.%Foo.7b0505.2] { +// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.e3bedb.2 = fn_decl @Foo.loc15 [concrete = constants.%Foo.1ddd68.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15: type = splice_block %D.ref [concrete = constants.%C] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D [concrete = constants.%C] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.loc15_16.3: %C = symbolic_binding a, 0 [symbolic = %a.loc15_16.2 (constants.%a.0cec54.2)] +// CHECK:STDOUT: %a.loc15_16.3: %C = symbolic_binding a, 0 [symbolic = %a.loc15_16.2 (constants.%a.b551c9.2)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -751,14 +751,14 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Foo.loc7(%a.loc7_9.2: %C) { -// CHECK:STDOUT: %a.loc7_9.1: %C = symbolic_binding a, 0 [symbolic = %a.loc7_9.1 (constants.%a.0cec54.1)] +// CHECK:STDOUT: %a.loc7_9.1: %C = symbolic_binding a, 0 [symbolic = %a.loc7_9.1 (constants.%a.b551c9.1)] // CHECK:STDOUT: // CHECK:STDOUT: fn(); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Foo.loc15(%a.loc15_16.3: %C) { -// CHECK:STDOUT: %a.loc15_16.1: %C = symbolic_binding a, 0 [symbolic = %a.loc15_16.1 (constants.%a.0cec54.1)] -// CHECK:STDOUT: %a.loc15_16.2: %C = symbolic_binding a, 0 [symbolic = %a.loc15_16.2 (constants.%a.0cec54.2)] +// CHECK:STDOUT: %a.loc15_16.1: %C = symbolic_binding a, 0 [symbolic = %a.loc15_16.1 (constants.%a.b551c9.1)] +// CHECK:STDOUT: %a.loc15_16.2: %C = symbolic_binding a, 0 [symbolic = %a.loc15_16.2 (constants.%a.b551c9.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -768,13 +768,13 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Foo.loc7(constants.%a.0cec54.1) { -// CHECK:STDOUT: %a.loc7_9.1 => constants.%a.0cec54.1 +// CHECK:STDOUT: specific @Foo.loc7(constants.%a.b551c9.1) { +// CHECK:STDOUT: %a.loc7_9.1 => constants.%a.b551c9.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Foo.loc15(constants.%a.0cec54.2) { -// CHECK:STDOUT: %a.loc15_16.1 => constants.%a.0cec54.2 -// CHECK:STDOUT: %a.loc15_16.2 => constants.%a.0cec54.2 +// CHECK:STDOUT: specific @Foo.loc15(constants.%a.b551c9.2) { +// CHECK:STDOUT: %a.loc15_16.1 => constants.%a.b551c9.2 +// CHECK:STDOUT: %a.loc15_16.2 => constants.%a.b551c9.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- todo_fail_alias_in_return.carbon @@ -783,7 +783,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %.373: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %Foo.type: type = fn_type @Foo [concrete] // CHECK:STDOUT: %Foo: %Foo.type = struct_value () [concrete] @@ -805,7 +805,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %return.patt: %pattern_type = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc7: Core.Form = init_form %C.ref [concrete = constants.%.373] +// CHECK:STDOUT: %.loc7: Core.Form = init_form %C.ref [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param.loc7: ref %C = out_param call_param0 // CHECK:STDOUT: %return.loc7: ref %C = return_slot %return.param.loc7 // CHECK:STDOUT: } @@ -814,7 +814,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %return.patt: %pattern_type = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D [concrete = constants.%C] -// CHECK:STDOUT: %.loc8_13: Core.Form = init_form %D.ref [concrete = constants.%.373] +// CHECK:STDOUT: %.loc8_13: Core.Form = init_form %D.ref [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param.loc8: ref %C = out_param call_param0 // CHECK:STDOUT: %return.loc8: ref %C = return_slot %return.param.loc8 // CHECK:STDOUT: } @@ -887,7 +887,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//alias_two_file, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//alias_two_file, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.3ad = import_ref Main//alias_two_file, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//alias_two_file, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -914,7 +914,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.3ad +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Foo(%a.param: %C) [from "alias_two_file.carbon"] { @@ -930,10 +930,10 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %const: type = const_type %C [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %const [concrete] -// CHECK:STDOUT: %Foo.type.b6714c.1: type = fn_type @Foo.loc6 [concrete] -// CHECK:STDOUT: %Foo.9930df.1: %Foo.type.b6714c.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.b6714c.2: type = fn_type @Foo.loc18 [concrete] -// CHECK:STDOUT: %Foo.9930df.2: %Foo.type.b6714c.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.e3bedb.1: type = fn_type @Foo.loc6 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.1: %Foo.type.e3bedb.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.e3bedb.2: type = fn_type @Foo.loc18 [concrete] +// CHECK:STDOUT: %Foo.1ddd68.2: %Foo.type.e3bedb.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -942,7 +942,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: .Foo = %Foo.decl.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.b6714c.1 = fn_decl @Foo.loc6 [concrete = constants.%Foo.9930df.1] { +// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.e3bedb.1 = fn_decl @Foo.loc6 [concrete = constants.%Foo.1ddd68.1] { // CHECK:STDOUT: %a.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: %pattern_type = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { @@ -953,7 +953,7 @@ fn Foo(unused a: const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a: %const = value_binding a, %a.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc18: %Foo.type.b6714c.2 = fn_decl @Foo.loc18 [concrete = constants.%Foo.9930df.2] { +// CHECK:STDOUT: %Foo.decl.loc18: %Foo.type.e3bedb.2 = fn_decl @Foo.loc18 [concrete = constants.%Foo.1ddd68.2] { // CHECK:STDOUT: %a.param_patt: %pattern_type = value_param_pattern [concrete] // CHECK:STDOUT: %a.patt: %pattern_type = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { diff --git a/toolchain/check/testdata/function/generic/call.carbon b/toolchain/check/testdata/function/generic/call.carbon index dc28ed8e21d6..7c8cd90bfcc7 100644 --- a/toolchain/check/testdata/function/generic/call.carbon +++ b/toolchain/check/testdata/function/generic/call.carbon @@ -76,48 +76,48 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %pattern_type.35b: type = pattern_type %Copy.type [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.228 [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %.9ff809.2: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.b72: type = pattern_type %Copy.type [concrete] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.f49 [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %.dedae6.2: Core.Form = init_form %T.as_type [symbolic] // CHECK:STDOUT: %Function.type: type = fn_type @Function [concrete] // CHECK:STDOUT: %Function: %Function.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.c28: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c49: = lookup_impl_witness %T.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.228) [symbolic] -// CHECK:STDOUT: %.12f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.2, %T.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbd: %.12f = impl_witness_access %Copy.lookup_impl_witness.c49, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f: = specific_impl_function %impl.elem0.cbd, @Copy.WithSelf.Op(%T.228) [symbolic] +// CHECK:STDOUT: %require_complete.77e: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2dd: = lookup_impl_witness %T.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.f49) [symbolic] +// CHECK:STDOUT: %.e16: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.2, %T.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e: %.e16 = impl_witness_access %Copy.lookup_impl_witness.2dd, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ec: = specific_impl_function %impl.elem0.41e, @Copy.WithSelf.Op(%T.f49) [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] // CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %ptr.e8f [symbolic] // CHECK:STDOUT: %.cb6: Core.Form = init_form %ptr.e8f [symbolic] -// CHECK:STDOUT: %Function.specific_fn.558: = specific_function %Function, @Function(%T.228) [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.5be: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] -// CHECK:STDOUT: %.546: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Copy.facet.2a3: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.5be) [symbolic] -// CHECK:STDOUT: %Function.specific_fn.9fe: = specific_function %Function, @Function(%Copy.facet.2a3) [symbolic] +// CHECK:STDOUT: %Function.specific_fn.eab: = specific_function %Function, @Function(%T.f49) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2bf: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] +// CHECK:STDOUT: %.b6a: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Copy.facet.44d: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.2bf) [symbolic] +// CHECK:STDOUT: %Function.specific_fn.6be: = specific_function %Function, @Function(%Copy.facet.44d) [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %ptr.d67: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.a21: type = pattern_type %ptr.d67 [concrete] -// CHECK:STDOUT: %.28b: Core.Form = init_form %ptr.d67 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.8b6: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.796: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.0cd: %ptr.as.Copy.impl.Op.type.796 = struct_value () [concrete] -// CHECK:STDOUT: %complete_type.bc9: = complete_type_witness %ptr.d67 [concrete] -// CHECK:STDOUT: %Copy.facet.3f3: %Copy.type = facet_value %ptr.d67, (%Copy.impl_witness.8b6) [concrete] -// CHECK:STDOUT: %Function.specific_fn.071: = specific_function %Function, @Function(%Copy.facet.3f3) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a8e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.2a3) [symbolic] -// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a8e, %Copy.facet.2a3 [symbolic] -// CHECK:STDOUT: %impl.elem0.480: %.86b = impl_witness_access %Copy.lookup_impl_witness.5be, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d1f: = specific_impl_function %impl.elem0.480, @Copy.WithSelf.Op(%Copy.facet.2a3) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.41a: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.3f3) [concrete] -// CHECK:STDOUT: %.34f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.41a, %Copy.facet.3f3 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.0cd, @ptr.as.Copy.impl.Op(%C) [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %.c56: Core.Form = init_form %ptr.6be [concrete] +// CHECK:STDOUT: %Copy.impl_witness.881: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0ff: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5cf: %ptr.as.Copy.impl.Op.type.0ff = struct_value () [concrete] +// CHECK:STDOUT: %complete_type.739: = complete_type_witness %ptr.6be [concrete] +// CHECK:STDOUT: %Copy.facet.d5e: %Copy.type = facet_value %ptr.6be, (%Copy.impl_witness.881) [concrete] +// CHECK:STDOUT: %Function.specific_fn.3e5: = specific_function %Function, @Function(%Copy.facet.d5e) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.72b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.44d) [symbolic] +// CHECK:STDOUT: %.39b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72b, %Copy.facet.44d [symbolic] +// CHECK:STDOUT: %impl.elem0.8a3: %.39b = impl_witness_access %Copy.lookup_impl_witness.2bf, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a13: = specific_impl_function %impl.elem0.8a3, @Copy.WithSelf.Op(%Copy.facet.44d) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.d3f: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.d5e) [concrete] +// CHECK:STDOUT: %.40e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d3f, %Copy.facet.d5e [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.5cf, @ptr.as.Copy.impl.Op(%C) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -127,31 +127,31 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %Function.decl: %Function.type = fn_decl @Function [concrete = constants.%Function] { -// CHECK:STDOUT: %T.patt: %pattern_type.35b = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @Function.%pattern_type (%pattern_type.4b69d0.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @Function.%pattern_type (%pattern_type.4b69d0.2) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Function.%pattern_type (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Function.%pattern_type (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc5_37.3 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.b72 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @Function.%pattern_type (%pattern_type.c0fdca.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @Function.%pattern_type (%pattern_type.c0fdca.2) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Function.%pattern_type (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Function.%pattern_type (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc5_37.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc5_37: %Copy.type = name_ref T, %T.loc5_14.2 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc5_37: %Copy.type = name_ref T, %T.loc5_14.2 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc5_37: type = facet_access_type %T.ref.loc5_37 [symbolic = %T.as_type.loc5_31.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc5_37.3: type = converted %T.ref.loc5_37, %T.as_type.loc5_37 [symbolic = %T.as_type.loc5_31.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc5_37.4: Core.Form = init_form %.loc5_37.3 [symbolic = %.loc5_37.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %.loc5_37.4: Core.Form = init_form %.loc5_37.3 [symbolic = %.loc5_37.2 (constants.%.dedae6.2)] // CHECK:STDOUT: %.loc5_21: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc5_14.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc5_14.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: %x.param: @Function.%T.as_type.loc5_31.1 (%T.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_31.1: type = splice_block %.loc5_31.2 [symbolic = %T.as_type.loc5_31.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref.loc5_31: %Copy.type = name_ref T, %T.loc5_14.2 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc5_31: %Copy.type = name_ref T, %T.loc5_14.2 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc5_31.2: type = facet_access_type %T.ref.loc5_31 [symbolic = %T.as_type.loc5_31.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc5_31.2: type = converted %T.ref.loc5_31, %T.as_type.loc5_31.2 [symbolic = %T.as_type.loc5_31.1 (constants.%T.as_type)] // CHECK:STDOUT: } @@ -162,25 +162,25 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Function(%T.loc5_14.2: %Copy.type) { -// CHECK:STDOUT: %T.loc5_14.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc5_14.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc5_31.1: type = facet_access_type %T.loc5_14.1 [symbolic = %T.as_type.loc5_31.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc5_31.1 [symbolic = %pattern_type (constants.%pattern_type.4b69d0.2)] -// CHECK:STDOUT: %.loc5_37.2: Core.Form = init_form %T.as_type.loc5_31.1 [symbolic = %.loc5_37.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc5_31.1 [symbolic = %pattern_type (constants.%pattern_type.c0fdca.2)] +// CHECK:STDOUT: %.loc5_37.2: Core.Form = init_form %T.as_type.loc5_31.1 [symbolic = %.loc5_37.2 (constants.%.dedae6.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc5_31.1 [symbolic = %require_complete (constants.%require_complete.c28)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc5_14.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc6: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc5_14.1 [symbolic = %.loc6 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc5_14.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc6_10.2: @Function.%.loc6 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_10.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %specific_impl_fn.loc6_10.2: = specific_impl_function %impl.elem0.loc6_10.2, @Copy.WithSelf.Op(%T.loc5_14.1) [symbolic = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc5_31.1 [symbolic = %require_complete (constants.%require_complete.77e)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc5_14.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc6: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc5_14.1 [symbolic = %.loc6 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc5_14.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc6_10.2: @Function.%.loc6 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_10.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %specific_impl_fn.loc6_10.2: = specific_impl_function %impl.elem0.loc6_10.2, @Copy.WithSelf.Op(%T.loc5_14.1) [symbolic = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @Function.%T.as_type.loc5_31.1 (%T.as_type)) -> out %return.param: @Function.%T.as_type.loc5_31.1 (%T.as_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: @Function.%T.as_type.loc5_31.1 (%T.as_type) = name_ref x, %x -// CHECK:STDOUT: %impl.elem0.loc6_10.1: @Function.%.loc6 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc6_10.2 (constants.%impl.elem0.cbd)] +// CHECK:STDOUT: %impl.elem0.loc6_10.1: @Function.%.loc6 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc6_10.2 (constants.%impl.elem0.41e)] // CHECK:STDOUT: %bound_method.loc6_10.1: = bound_method %x.ref, %impl.elem0.loc6_10.1 -// CHECK:STDOUT: %specific_impl_fn.loc6_10.1: = specific_impl_function %impl.elem0.loc6_10.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %specific_impl_fn.loc6_10.1: = specific_impl_function %impl.elem0.loc6_10.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %x.ref, %specific_impl_fn.loc6_10.1 // CHECK:STDOUT: %.loc5_37.1: ref @Function.%T.as_type.loc5_31.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Function.%T.as_type.loc5_31.1 (%T.as_type) to %.loc5_37.1 = call %bound_method.loc6_10.2(%x.ref) @@ -193,15 +193,15 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %Function.specific_fn.loc12_10.2: = specific_function constants.%Function, @Function(%T.loc10_17.1) [symbolic = %Function.specific_fn.loc12_10.2 (constants.%Function.specific_fn.558)] +// CHECK:STDOUT: %Function.specific_fn.loc12_10.2: = specific_function constants.%Function, @Function(%T.loc10_17.1) [symbolic = %Function.specific_fn.loc12_10.2 (constants.%Function.specific_fn.eab)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @CallGeneric.%T.as_type.loc10_34.1 (%T.as_type)) -> out %return.param: @CallGeneric.%T.as_type.loc10_34.1 (%T.as_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Function.ref: %Function.type = name_ref Function, file.%Function.decl [concrete = constants.%Function] -// CHECK:STDOUT: %T.ref.loc12: %Copy.type = name_ref T, %T.loc10_17.2 [symbolic = %T.loc10_17.1 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc12: %Copy.type = name_ref T, %T.loc10_17.2 [symbolic = %T.loc10_17.1 (constants.%T.f49)] // CHECK:STDOUT: %x.ref: @CallGeneric.%T.as_type.loc10_34.1 (%T.as_type) = name_ref x, %x -// CHECK:STDOUT: %.loc12: %Copy.type = converted constants.%T.as_type, constants.%T.228 [symbolic = %T.loc10_17.1 (constants.%T.228)] -// CHECK:STDOUT: %Function.specific_fn.loc12_10.1: = specific_function %Function.ref, @Function(constants.%T.228) [symbolic = %Function.specific_fn.loc12_10.2 (constants.%Function.specific_fn.558)] +// CHECK:STDOUT: %.loc12: %Copy.type = converted constants.%T.as_type, constants.%T.f49 [symbolic = %T.loc10_17.1 (constants.%T.f49)] +// CHECK:STDOUT: %Function.specific_fn.loc12_10.1: = specific_function %Function.ref, @Function(constants.%T.f49) [symbolic = %Function.specific_fn.loc12_10.2 (constants.%Function.specific_fn.eab)] // CHECK:STDOUT: // CHECK:STDOUT: %Function.call: init @CallGeneric.%T.as_type.loc10_34.1 (%T.as_type) to %.loc10_40.1 = call %Function.specific_fn.loc12_10.1(%x.ref) // CHECK:STDOUT: return %Function.call to %return.param @@ -213,10 +213,10 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %.loc18_24.3: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc16_20.1) [symbolic = %.loc18_24.3 (constants.%.546)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc16_33.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.5be)] -// CHECK:STDOUT: %Copy.facet.loc18_24.3: %Copy.type = facet_value %ptr.loc16_33.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet.loc18_24.3 (constants.%Copy.facet.2a3)] -// CHECK:STDOUT: %Function.specific_fn.loc18_10.2: = specific_function constants.%Function, @Function(%Copy.facet.loc18_24.3) [symbolic = %Function.specific_fn.loc18_10.2 (constants.%Function.specific_fn.9fe)] +// CHECK:STDOUT: %.loc18_24.3: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc16_20.1) [symbolic = %.loc18_24.3 (constants.%.b6a)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc16_33.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2bf)] +// CHECK:STDOUT: %Copy.facet.loc18_24.3: %Copy.type = facet_value %ptr.loc16_33.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet.loc18_24.3 (constants.%Copy.facet.44d)] +// CHECK:STDOUT: %Function.specific_fn.loc18_10.2: = specific_function constants.%Function, @Function(%Copy.facet.loc18_24.3) [symbolic = %Function.specific_fn.loc18_10.2 (constants.%Function.specific_fn.6be)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @CallGenericPtr.%ptr.loc16_33.1 (%ptr.e8f)) -> out %return.param: @CallGenericPtr.%ptr.loc16_33.1 (%ptr.e8f) { // CHECK:STDOUT: !entry: @@ -224,51 +224,51 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: %T.ref.loc18: type = name_ref T, %T.loc16_20.2 [symbolic = %T.loc16_20.1 (constants.%T.67d)] // CHECK:STDOUT: %ptr.loc18: type = ptr_type %T.ref.loc18 [symbolic = %ptr.loc16_33.1 (constants.%ptr.e8f)] // CHECK:STDOUT: %x.ref: @CallGenericPtr.%ptr.loc16_33.1 (%ptr.e8f) = name_ref x, %x -// CHECK:STDOUT: %Copy.facet.loc18_24.1: %Copy.type = facet_value %ptr.loc18, (constants.%Copy.lookup_impl_witness.5be) [symbolic = %Copy.facet.loc18_24.3 (constants.%Copy.facet.2a3)] -// CHECK:STDOUT: %.loc18_24.1: %Copy.type = converted %ptr.loc18, %Copy.facet.loc18_24.1 [symbolic = %Copy.facet.loc18_24.3 (constants.%Copy.facet.2a3)] -// CHECK:STDOUT: %Copy.facet.loc18_24.2: %Copy.type = facet_value constants.%ptr.e8f, (constants.%Copy.lookup_impl_witness.5be) [symbolic = %Copy.facet.loc18_24.3 (constants.%Copy.facet.2a3)] -// CHECK:STDOUT: %.loc18_24.2: %Copy.type = converted constants.%ptr.e8f, %Copy.facet.loc18_24.2 [symbolic = %Copy.facet.loc18_24.3 (constants.%Copy.facet.2a3)] -// CHECK:STDOUT: %Function.specific_fn.loc18_10.1: = specific_function %Function.ref, @Function(constants.%Copy.facet.2a3) [symbolic = %Function.specific_fn.loc18_10.2 (constants.%Function.specific_fn.9fe)] +// CHECK:STDOUT: %Copy.facet.loc18_24.1: %Copy.type = facet_value %ptr.loc18, (constants.%Copy.lookup_impl_witness.2bf) [symbolic = %Copy.facet.loc18_24.3 (constants.%Copy.facet.44d)] +// CHECK:STDOUT: %.loc18_24.1: %Copy.type = converted %ptr.loc18, %Copy.facet.loc18_24.1 [symbolic = %Copy.facet.loc18_24.3 (constants.%Copy.facet.44d)] +// CHECK:STDOUT: %Copy.facet.loc18_24.2: %Copy.type = facet_value constants.%ptr.e8f, (constants.%Copy.lookup_impl_witness.2bf) [symbolic = %Copy.facet.loc18_24.3 (constants.%Copy.facet.44d)] +// CHECK:STDOUT: %.loc18_24.2: %Copy.type = converted constants.%ptr.e8f, %Copy.facet.loc18_24.2 [symbolic = %Copy.facet.loc18_24.3 (constants.%Copy.facet.44d)] +// CHECK:STDOUT: %Function.specific_fn.loc18_10.1: = specific_function %Function.ref, @Function(constants.%Copy.facet.44d) [symbolic = %Function.specific_fn.loc18_10.2 (constants.%Function.specific_fn.6be)] // CHECK:STDOUT: %Function.call: init @CallGenericPtr.%ptr.loc16_33.1 (%ptr.e8f) = call %Function.specific_fn.loc18_10.1(%x.ref) // CHECK:STDOUT: return %Function.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @CallSpecific(%x.param: %ptr.d67) -> out %return.param: %ptr.d67 { +// CHECK:STDOUT: fn @CallSpecific(%x.param: %ptr.6be) -> out %return.param: %ptr.6be { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Function.ref: %Function.type = name_ref Function, file.%Function.decl [concrete = constants.%Function] // CHECK:STDOUT: %C.ref.loc26: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc26: type = ptr_type %C.ref.loc26 [concrete = constants.%ptr.d67] -// CHECK:STDOUT: %x.ref: %ptr.d67 = name_ref x, %x -// CHECK:STDOUT: %Copy.facet.loc26_24.1: %Copy.type = facet_value %ptr.loc26, (constants.%Copy.impl_witness.8b6) [concrete = constants.%Copy.facet.3f3] -// CHECK:STDOUT: %.loc26_24.1: %Copy.type = converted %ptr.loc26, %Copy.facet.loc26_24.1 [concrete = constants.%Copy.facet.3f3] -// CHECK:STDOUT: %Copy.facet.loc26_24.2: %Copy.type = facet_value constants.%ptr.d67, (constants.%Copy.impl_witness.8b6) [concrete = constants.%Copy.facet.3f3] -// CHECK:STDOUT: %.loc26_24.2: %Copy.type = converted constants.%ptr.d67, %Copy.facet.loc26_24.2 [concrete = constants.%Copy.facet.3f3] -// CHECK:STDOUT: %Function.specific_fn: = specific_function %Function.ref, @Function(constants.%Copy.facet.3f3) [concrete = constants.%Function.specific_fn.071] -// CHECK:STDOUT: %Function.call: init %ptr.d67 = call %Function.specific_fn(%x.ref) +// CHECK:STDOUT: %ptr.loc26: type = ptr_type %C.ref.loc26 [concrete = constants.%ptr.6be] +// CHECK:STDOUT: %x.ref: %ptr.6be = name_ref x, %x +// CHECK:STDOUT: %Copy.facet.loc26_24.1: %Copy.type = facet_value %ptr.loc26, (constants.%Copy.impl_witness.881) [concrete = constants.%Copy.facet.d5e] +// CHECK:STDOUT: %.loc26_24.1: %Copy.type = converted %ptr.loc26, %Copy.facet.loc26_24.1 [concrete = constants.%Copy.facet.d5e] +// CHECK:STDOUT: %Copy.facet.loc26_24.2: %Copy.type = facet_value constants.%ptr.6be, (constants.%Copy.impl_witness.881) [concrete = constants.%Copy.facet.d5e] +// CHECK:STDOUT: %.loc26_24.2: %Copy.type = converted constants.%ptr.6be, %Copy.facet.loc26_24.2 [concrete = constants.%Copy.facet.d5e] +// CHECK:STDOUT: %Function.specific_fn: = specific_function %Function.ref, @Function(constants.%Copy.facet.d5e) [concrete = constants.%Function.specific_fn.3e5] +// CHECK:STDOUT: %Function.call: init %ptr.6be = call %Function.specific_fn(%x.ref) // CHECK:STDOUT: return %Function.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Function(constants.%T.228) { -// CHECK:STDOUT: %T.loc5_14.1 => constants.%T.228 +// CHECK:STDOUT: specific @Function(constants.%T.f49) { +// CHECK:STDOUT: %T.loc5_14.1 => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc5_31.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4b69d0.2 -// CHECK:STDOUT: %.loc5_37.2 => constants.%.9ff809.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c0fdca.2 +// CHECK:STDOUT: %.loc5_37.2 => constants.%.dedae6.2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.c28 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.d2ec0c.2 -// CHECK:STDOUT: %.loc6 => constants.%.12f -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.c49 -// CHECK:STDOUT: %impl.elem0.loc6_10.2 => constants.%impl.elem0.cbd -// CHECK:STDOUT: %specific_impl_fn.loc6_10.2 => constants.%specific_impl_fn.c5f +// CHECK:STDOUT: %require_complete => constants.%require_complete.77e +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.e9f10f.2 +// CHECK:STDOUT: %.loc6 => constants.%.e16 +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.2dd +// CHECK:STDOUT: %impl.elem0.loc6_10.2 => constants.%impl.elem0.41e +// CHECK:STDOUT: %specific_impl_fn.loc6_10.2 => constants.%specific_impl_fn.7ec // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @CallGeneric(constants.%T.228) { -// CHECK:STDOUT: %T.loc10_17.1 => constants.%T.228 +// CHECK:STDOUT: specific @CallGeneric(constants.%T.f49) { +// CHECK:STDOUT: %T.loc10_17.1 => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc10_34.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4b69d0.2 -// CHECK:STDOUT: %.loc10_40.2 => constants.%.9ff809.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c0fdca.2 +// CHECK:STDOUT: %.loc10_40.2 => constants.%.dedae6.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CallGenericPtr(constants.%T.67d) { @@ -278,33 +278,33 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: %.loc16_40.1 => constants.%.cb6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Function(constants.%Copy.facet.2a3) { -// CHECK:STDOUT: %T.loc5_14.1 => constants.%Copy.facet.2a3 +// CHECK:STDOUT: specific @Function(constants.%Copy.facet.44d) { +// CHECK:STDOUT: %T.loc5_14.1 => constants.%Copy.facet.44d // CHECK:STDOUT: %T.as_type.loc5_31.1 => constants.%ptr.e8f // CHECK:STDOUT: %pattern_type => constants.%pattern_type.4f4 // CHECK:STDOUT: %.loc5_37.2 => constants.%.cb6 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete.ef1 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.a8e -// CHECK:STDOUT: %.loc6 => constants.%.86b -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.5be -// CHECK:STDOUT: %impl.elem0.loc6_10.2 => constants.%impl.elem0.480 -// CHECK:STDOUT: %specific_impl_fn.loc6_10.2 => constants.%specific_impl_fn.d1f +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.72b +// CHECK:STDOUT: %.loc6 => constants.%.39b +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.2bf +// CHECK:STDOUT: %impl.elem0.loc6_10.2 => constants.%impl.elem0.8a3 +// CHECK:STDOUT: %specific_impl_fn.loc6_10.2 => constants.%specific_impl_fn.a13 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Function(constants.%Copy.facet.3f3) { -// CHECK:STDOUT: %T.loc5_14.1 => constants.%Copy.facet.3f3 -// CHECK:STDOUT: %T.as_type.loc5_31.1 => constants.%ptr.d67 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a21 -// CHECK:STDOUT: %.loc5_37.2 => constants.%.28b +// CHECK:STDOUT: specific @Function(constants.%Copy.facet.d5e) { +// CHECK:STDOUT: %T.loc5_14.1 => constants.%Copy.facet.d5e +// CHECK:STDOUT: %T.as_type.loc5_31.1 => constants.%ptr.6be +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.1c8 +// CHECK:STDOUT: %.loc5_37.2 => constants.%.c56 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.bc9 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.41a -// CHECK:STDOUT: %.loc6 => constants.%.34f -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.8b6 -// CHECK:STDOUT: %impl.elem0.loc6_10.2 => constants.%ptr.as.Copy.impl.Op.0cd +// CHECK:STDOUT: %require_complete => constants.%complete_type.739 +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.d3f +// CHECK:STDOUT: %.loc6 => constants.%.40e +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.881 +// CHECK:STDOUT: %impl.elem0.loc6_10.2 => constants.%ptr.as.Copy.impl.Op.5cf // CHECK:STDOUT: %specific_impl_fn.loc6_10.2 => constants.%ptr.as.Copy.impl.Op.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: @@ -314,48 +314,48 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %pattern_type.35b: type = pattern_type %Copy.type [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.228 [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %.9ff809.2: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.b72: type = pattern_type %Copy.type [concrete] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.f49 [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %.dedae6.2: Core.Form = init_form %T.as_type [symbolic] // CHECK:STDOUT: %Function.type: type = fn_type @Function [concrete] // CHECK:STDOUT: %Function: %Function.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.c28: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c49: = lookup_impl_witness %T.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.228) [symbolic] -// CHECK:STDOUT: %.12f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.2, %T.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbd: %.12f = impl_witness_access %Copy.lookup_impl_witness.c49, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f: = specific_impl_function %impl.elem0.cbd, @Copy.WithSelf.Op(%T.228) [symbolic] +// CHECK:STDOUT: %require_complete.77e: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2dd: = lookup_impl_witness %T.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.f49) [symbolic] +// CHECK:STDOUT: %.e16: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.2, %T.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e: %.e16 = impl_witness_access %Copy.lookup_impl_witness.2dd, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ec: = specific_impl_function %impl.elem0.41e, @Copy.WithSelf.Op(%T.f49) [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] // CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %ptr.e8f [symbolic] // CHECK:STDOUT: %.cb6: Core.Form = init_form %ptr.e8f [symbolic] -// CHECK:STDOUT: %Function.specific_fn.f57: = specific_function %Function, @Function(%T.228) [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.5be: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] -// CHECK:STDOUT: %.546: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Copy.facet.2a3: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.5be) [symbolic] -// CHECK:STDOUT: %Function.specific_fn.cd2: = specific_function %Function, @Function(%Copy.facet.2a3) [symbolic] +// CHECK:STDOUT: %Function.specific_fn.eab: = specific_function %Function, @Function(%T.f49) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2bf: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] +// CHECK:STDOUT: %.b6a: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Copy.facet.44d: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.2bf) [symbolic] +// CHECK:STDOUT: %Function.specific_fn.6be: = specific_function %Function, @Function(%Copy.facet.44d) [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %ptr.ce8: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.e50: type = pattern_type %ptr.ce8 [concrete] -// CHECK:STDOUT: %.e72: Core.Form = init_form %ptr.ce8 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.4fb: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b5c: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.273: %ptr.as.Copy.impl.Op.type.b5c = struct_value () [concrete] -// CHECK:STDOUT: %complete_type.4c6: = complete_type_witness %ptr.ce8 [concrete] -// CHECK:STDOUT: %Copy.facet.c6d: %Copy.type = facet_value %ptr.ce8, (%Copy.impl_witness.4fb) [concrete] -// CHECK:STDOUT: %Function.specific_fn.71c: = specific_function %Function, @Function(%Copy.facet.c6d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a8e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.2a3) [symbolic] -// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a8e, %Copy.facet.2a3 [symbolic] -// CHECK:STDOUT: %impl.elem0.480: %.86b = impl_witness_access %Copy.lookup_impl_witness.5be, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d1f: = specific_impl_function %impl.elem0.480, @Copy.WithSelf.Op(%Copy.facet.2a3) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.210: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.c6d) [concrete] -// CHECK:STDOUT: %.026: type = fn_type_with_self_type %Copy.WithSelf.Op.type.210, %Copy.facet.c6d [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.273, @ptr.as.Copy.impl.Op(%C) [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %.c56: Core.Form = init_form %ptr.6be [concrete] +// CHECK:STDOUT: %Copy.impl_witness.881: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0ff: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5cf: %ptr.as.Copy.impl.Op.type.0ff = struct_value () [concrete] +// CHECK:STDOUT: %complete_type.739: = complete_type_witness %ptr.6be [concrete] +// CHECK:STDOUT: %Copy.facet.d5e: %Copy.type = facet_value %ptr.6be, (%Copy.impl_witness.881) [concrete] +// CHECK:STDOUT: %Function.specific_fn.3e5: = specific_function %Function, @Function(%Copy.facet.d5e) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.72b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.44d) [symbolic] +// CHECK:STDOUT: %.39b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72b, %Copy.facet.44d [symbolic] +// CHECK:STDOUT: %impl.elem0.8a3: %.39b = impl_witness_access %Copy.lookup_impl_witness.2bf, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a13: = specific_impl_function %impl.elem0.8a3, @Copy.WithSelf.Op(%Copy.facet.44d) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.d3f: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.d5e) [concrete] +// CHECK:STDOUT: %.40e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d3f, %Copy.facet.d5e [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.5cf, @ptr.as.Copy.impl.Op(%C) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -365,31 +365,31 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %Function.decl: %Function.type = fn_decl @Function [concrete = constants.%Function] { -// CHECK:STDOUT: %T.patt: %pattern_type.35b = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @Function.%pattern_type (%pattern_type.4b69d0.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @Function.%pattern_type (%pattern_type.4b69d0.2) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Function.%pattern_type (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Function.%pattern_type (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc5_37.3 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.b72 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @Function.%pattern_type (%pattern_type.c0fdca.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @Function.%pattern_type (%pattern_type.c0fdca.2) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Function.%pattern_type (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Function.%pattern_type (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc5_37.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc5_37: %Copy.type = name_ref T, %T.loc5_14.2 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc5_37: %Copy.type = name_ref T, %T.loc5_14.2 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc5_37: type = facet_access_type %T.ref.loc5_37 [symbolic = %T.as_type.loc5_31.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc5_37.3: type = converted %T.ref.loc5_37, %T.as_type.loc5_37 [symbolic = %T.as_type.loc5_31.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc5_37.4: Core.Form = init_form %.loc5_37.3 [symbolic = %.loc5_37.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %.loc5_37.4: Core.Form = init_form %.loc5_37.3 [symbolic = %.loc5_37.2 (constants.%.dedae6.2)] // CHECK:STDOUT: %.loc5_21: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc5_14.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc5_14.2: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: %x.param: @Function.%T.as_type.loc5_31.1 (%T.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_31.1: type = splice_block %.loc5_31.2 [symbolic = %T.as_type.loc5_31.1 (constants.%T.as_type)] { -// CHECK:STDOUT: %T.ref.loc5_31: %Copy.type = name_ref T, %T.loc5_14.2 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.ref.loc5_31: %Copy.type = name_ref T, %T.loc5_14.2 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc5_31.2: type = facet_access_type %T.ref.loc5_31 [symbolic = %T.as_type.loc5_31.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc5_31.2: type = converted %T.ref.loc5_31, %T.as_type.loc5_31.2 [symbolic = %T.as_type.loc5_31.1 (constants.%T.as_type)] // CHECK:STDOUT: } @@ -400,25 +400,25 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Function(%T.loc5_14.2: %Copy.type) { -// CHECK:STDOUT: %T.loc5_14.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.228)] +// CHECK:STDOUT: %T.loc5_14.1: %Copy.type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc5_31.1: type = facet_access_type %T.loc5_14.1 [symbolic = %T.as_type.loc5_31.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc5_31.1 [symbolic = %pattern_type (constants.%pattern_type.4b69d0.2)] -// CHECK:STDOUT: %.loc5_37.2: Core.Form = init_form %T.as_type.loc5_31.1 [symbolic = %.loc5_37.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc5_31.1 [symbolic = %pattern_type (constants.%pattern_type.c0fdca.2)] +// CHECK:STDOUT: %.loc5_37.2: Core.Form = init_form %T.as_type.loc5_31.1 [symbolic = %.loc5_37.2 (constants.%.dedae6.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc5_31.1 [symbolic = %require_complete (constants.%require_complete.c28)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc5_14.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc6: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc5_14.1 [symbolic = %.loc6 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc5_14.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc6_10.2: @Function.%.loc6 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_10.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %specific_impl_fn.loc6_10.2: = specific_impl_function %impl.elem0.loc6_10.2, @Copy.WithSelf.Op(%T.loc5_14.1) [symbolic = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc5_31.1 [symbolic = %require_complete (constants.%require_complete.77e)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.loc5_14.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc6: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T.loc5_14.1 [symbolic = %.loc6 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T.loc5_14.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc6_10.2: @Function.%.loc6 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_10.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %specific_impl_fn.loc6_10.2: = specific_impl_function %impl.elem0.loc6_10.2, @Copy.WithSelf.Op(%T.loc5_14.1) [symbolic = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @Function.%T.as_type.loc5_31.1 (%T.as_type)) -> out %return.param: @Function.%T.as_type.loc5_31.1 (%T.as_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: @Function.%T.as_type.loc5_31.1 (%T.as_type) = name_ref x, %x -// CHECK:STDOUT: %impl.elem0.loc6_10.1: @Function.%.loc6 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc6_10.2 (constants.%impl.elem0.cbd)] +// CHECK:STDOUT: %impl.elem0.loc6_10.1: @Function.%.loc6 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc6_10.2 (constants.%impl.elem0.41e)] // CHECK:STDOUT: %bound_method.loc6_10.1: = bound_method %x.ref, %impl.elem0.loc6_10.1 -// CHECK:STDOUT: %specific_impl_fn.loc6_10.1: = specific_impl_function %impl.elem0.loc6_10.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.c5f)] +// CHECK:STDOUT: %specific_impl_fn.loc6_10.1: = specific_impl_function %impl.elem0.loc6_10.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.7ec)] // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %x.ref, %specific_impl_fn.loc6_10.1 // CHECK:STDOUT: %.loc5_37.1: ref @Function.%T.as_type.loc5_31.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Function.%T.as_type.loc5_31.1 (%T.as_type) to %.loc5_37.1 = call %bound_method.loc6_10.2(%x.ref) @@ -431,14 +431,14 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %Function.specific_fn.loc12_10.2: = specific_function constants.%Function, @Function(%T.loc10_17.1) [symbolic = %Function.specific_fn.loc12_10.2 (constants.%Function.specific_fn.f57)] +// CHECK:STDOUT: %Function.specific_fn.loc12_10.2: = specific_function constants.%Function, @Function(%T.loc10_17.1) [symbolic = %Function.specific_fn.loc12_10.2 (constants.%Function.specific_fn.eab)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @CallGeneric.%T.as_type.loc10_34.1 (%T.as_type)) -> out %return.param: @CallGeneric.%T.as_type.loc10_34.1 (%T.as_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Function.ref: %Function.type = name_ref Function, file.%Function.decl [concrete = constants.%Function] // CHECK:STDOUT: %x.ref: @CallGeneric.%T.as_type.loc10_34.1 (%T.as_type) = name_ref x, %x -// CHECK:STDOUT: %.loc12: %Copy.type = converted constants.%T.as_type, constants.%T.228 [symbolic = %T.loc10_17.1 (constants.%T.228)] -// CHECK:STDOUT: %Function.specific_fn.loc12_10.1: = specific_function %Function.ref, @Function(constants.%T.228) [symbolic = %Function.specific_fn.loc12_10.2 (constants.%Function.specific_fn.f57)] +// CHECK:STDOUT: %.loc12: %Copy.type = converted constants.%T.as_type, constants.%T.f49 [symbolic = %T.loc10_17.1 (constants.%T.f49)] +// CHECK:STDOUT: %Function.specific_fn.loc12_10.1: = specific_function %Function.ref, @Function(constants.%T.f49) [symbolic = %Function.specific_fn.loc12_10.2 (constants.%Function.specific_fn.eab)] // CHECK:STDOUT: // CHECK:STDOUT: %Function.call: init @CallGeneric.%T.as_type.loc10_34.1 (%T.as_type) to %.loc10_40.1 = call %Function.specific_fn.loc12_10.1(%x.ref) // CHECK:STDOUT: return %Function.call to %return.param @@ -450,54 +450,54 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %.loc18_20.2: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc16_20.1) [symbolic = %.loc18_20.2 (constants.%.546)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc16_33.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.5be)] -// CHECK:STDOUT: %Copy.facet.loc18_20.2: %Copy.type = facet_value %ptr.loc16_33.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet.loc18_20.2 (constants.%Copy.facet.2a3)] -// CHECK:STDOUT: %Function.specific_fn.loc18_10.2: = specific_function constants.%Function, @Function(%Copy.facet.loc18_20.2) [symbolic = %Function.specific_fn.loc18_10.2 (constants.%Function.specific_fn.cd2)] +// CHECK:STDOUT: %.loc18_20.2: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc16_20.1) [symbolic = %.loc18_20.2 (constants.%.b6a)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc16_33.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2bf)] +// CHECK:STDOUT: %Copy.facet.loc18_20.2: %Copy.type = facet_value %ptr.loc16_33.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet.loc18_20.2 (constants.%Copy.facet.44d)] +// CHECK:STDOUT: %Function.specific_fn.loc18_10.2: = specific_function constants.%Function, @Function(%Copy.facet.loc18_20.2) [symbolic = %Function.specific_fn.loc18_10.2 (constants.%Function.specific_fn.6be)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @CallGenericPtr.%ptr.loc16_33.1 (%ptr.e8f)) -> out %return.param: @CallGenericPtr.%ptr.loc16_33.1 (%ptr.e8f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Function.ref: %Function.type = name_ref Function, file.%Function.decl [concrete = constants.%Function] // CHECK:STDOUT: %x.ref: @CallGenericPtr.%ptr.loc16_33.1 (%ptr.e8f) = name_ref x, %x -// CHECK:STDOUT: %Copy.facet.loc18_20.1: %Copy.type = facet_value constants.%ptr.e8f, (constants.%Copy.lookup_impl_witness.5be) [symbolic = %Copy.facet.loc18_20.2 (constants.%Copy.facet.2a3)] -// CHECK:STDOUT: %.loc18_20.1: %Copy.type = converted constants.%ptr.e8f, %Copy.facet.loc18_20.1 [symbolic = %Copy.facet.loc18_20.2 (constants.%Copy.facet.2a3)] -// CHECK:STDOUT: %Function.specific_fn.loc18_10.1: = specific_function %Function.ref, @Function(constants.%Copy.facet.2a3) [symbolic = %Function.specific_fn.loc18_10.2 (constants.%Function.specific_fn.cd2)] +// CHECK:STDOUT: %Copy.facet.loc18_20.1: %Copy.type = facet_value constants.%ptr.e8f, (constants.%Copy.lookup_impl_witness.2bf) [symbolic = %Copy.facet.loc18_20.2 (constants.%Copy.facet.44d)] +// CHECK:STDOUT: %.loc18_20.1: %Copy.type = converted constants.%ptr.e8f, %Copy.facet.loc18_20.1 [symbolic = %Copy.facet.loc18_20.2 (constants.%Copy.facet.44d)] +// CHECK:STDOUT: %Function.specific_fn.loc18_10.1: = specific_function %Function.ref, @Function(constants.%Copy.facet.44d) [symbolic = %Function.specific_fn.loc18_10.2 (constants.%Function.specific_fn.6be)] // CHECK:STDOUT: %Function.call: init @CallGenericPtr.%ptr.loc16_33.1 (%ptr.e8f) = call %Function.specific_fn.loc18_10.1(%x.ref) // CHECK:STDOUT: return %Function.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @CallSpecific(%x.param: %ptr.ce8) -> out %return.param: %ptr.ce8 { +// CHECK:STDOUT: fn @CallSpecific(%x.param: %ptr.6be) -> out %return.param: %ptr.6be { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Function.ref: %Function.type = name_ref Function, file.%Function.decl [concrete = constants.%Function] -// CHECK:STDOUT: %x.ref: %ptr.ce8 = name_ref x, %x -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value constants.%ptr.ce8, (constants.%Copy.impl_witness.4fb) [concrete = constants.%Copy.facet.c6d] -// CHECK:STDOUT: %.loc26: %Copy.type = converted constants.%ptr.ce8, %Copy.facet [concrete = constants.%Copy.facet.c6d] -// CHECK:STDOUT: %Function.specific_fn: = specific_function %Function.ref, @Function(constants.%Copy.facet.c6d) [concrete = constants.%Function.specific_fn.71c] -// CHECK:STDOUT: %Function.call: init %ptr.ce8 = call %Function.specific_fn(%x.ref) +// CHECK:STDOUT: %x.ref: %ptr.6be = name_ref x, %x +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value constants.%ptr.6be, (constants.%Copy.impl_witness.881) [concrete = constants.%Copy.facet.d5e] +// CHECK:STDOUT: %.loc26: %Copy.type = converted constants.%ptr.6be, %Copy.facet [concrete = constants.%Copy.facet.d5e] +// CHECK:STDOUT: %Function.specific_fn: = specific_function %Function.ref, @Function(constants.%Copy.facet.d5e) [concrete = constants.%Function.specific_fn.3e5] +// CHECK:STDOUT: %Function.call: init %ptr.6be = call %Function.specific_fn(%x.ref) // CHECK:STDOUT: return %Function.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Function(constants.%T.228) { -// CHECK:STDOUT: %T.loc5_14.1 => constants.%T.228 +// CHECK:STDOUT: specific @Function(constants.%T.f49) { +// CHECK:STDOUT: %T.loc5_14.1 => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc5_31.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4b69d0.2 -// CHECK:STDOUT: %.loc5_37.2 => constants.%.9ff809.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c0fdca.2 +// CHECK:STDOUT: %.loc5_37.2 => constants.%.dedae6.2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.c28 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.d2ec0c.2 -// CHECK:STDOUT: %.loc6 => constants.%.12f -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.c49 -// CHECK:STDOUT: %impl.elem0.loc6_10.2 => constants.%impl.elem0.cbd -// CHECK:STDOUT: %specific_impl_fn.loc6_10.2 => constants.%specific_impl_fn.c5f +// CHECK:STDOUT: %require_complete => constants.%require_complete.77e +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.e9f10f.2 +// CHECK:STDOUT: %.loc6 => constants.%.e16 +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.2dd +// CHECK:STDOUT: %impl.elem0.loc6_10.2 => constants.%impl.elem0.41e +// CHECK:STDOUT: %specific_impl_fn.loc6_10.2 => constants.%specific_impl_fn.7ec // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @CallGeneric(constants.%T.228) { -// CHECK:STDOUT: %T.loc10_17.1 => constants.%T.228 +// CHECK:STDOUT: specific @CallGeneric(constants.%T.f49) { +// CHECK:STDOUT: %T.loc10_17.1 => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc10_34.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4b69d0.2 -// CHECK:STDOUT: %.loc10_40.2 => constants.%.9ff809.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c0fdca.2 +// CHECK:STDOUT: %.loc10_40.2 => constants.%.dedae6.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CallGenericPtr(constants.%T.67d) { @@ -507,33 +507,33 @@ fn CallSpecific(x: C*) -> C* { // CHECK:STDOUT: %.loc16_40.1 => constants.%.cb6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Function(constants.%Copy.facet.2a3) { -// CHECK:STDOUT: %T.loc5_14.1 => constants.%Copy.facet.2a3 +// CHECK:STDOUT: specific @Function(constants.%Copy.facet.44d) { +// CHECK:STDOUT: %T.loc5_14.1 => constants.%Copy.facet.44d // CHECK:STDOUT: %T.as_type.loc5_31.1 => constants.%ptr.e8f // CHECK:STDOUT: %pattern_type => constants.%pattern_type.4f4 // CHECK:STDOUT: %.loc5_37.2 => constants.%.cb6 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete.ef1 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.a8e -// CHECK:STDOUT: %.loc6 => constants.%.86b -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.5be -// CHECK:STDOUT: %impl.elem0.loc6_10.2 => constants.%impl.elem0.480 -// CHECK:STDOUT: %specific_impl_fn.loc6_10.2 => constants.%specific_impl_fn.d1f +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.72b +// CHECK:STDOUT: %.loc6 => constants.%.39b +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.2bf +// CHECK:STDOUT: %impl.elem0.loc6_10.2 => constants.%impl.elem0.8a3 +// CHECK:STDOUT: %specific_impl_fn.loc6_10.2 => constants.%specific_impl_fn.a13 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Function(constants.%Copy.facet.c6d) { -// CHECK:STDOUT: %T.loc5_14.1 => constants.%Copy.facet.c6d -// CHECK:STDOUT: %T.as_type.loc5_31.1 => constants.%ptr.ce8 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e50 -// CHECK:STDOUT: %.loc5_37.2 => constants.%.e72 +// CHECK:STDOUT: specific @Function(constants.%Copy.facet.d5e) { +// CHECK:STDOUT: %T.loc5_14.1 => constants.%Copy.facet.d5e +// CHECK:STDOUT: %T.as_type.loc5_31.1 => constants.%ptr.6be +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.1c8 +// CHECK:STDOUT: %.loc5_37.2 => constants.%.c56 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.4c6 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.210 -// CHECK:STDOUT: %.loc6 => constants.%.026 -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.4fb -// CHECK:STDOUT: %impl.elem0.loc6_10.2 => constants.%ptr.as.Copy.impl.Op.273 +// CHECK:STDOUT: %require_complete => constants.%complete_type.739 +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.d3f +// CHECK:STDOUT: %.loc6 => constants.%.40e +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.881 +// CHECK:STDOUT: %impl.elem0.loc6_10.2 => constants.%ptr.as.Copy.impl.Op.5cf // CHECK:STDOUT: %specific_impl_fn.loc6_10.2 => constants.%ptr.as.Copy.impl.Op.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/generic/call_method_on_generic_facet.carbon b/toolchain/check/testdata/function/generic/call_method_on_generic_facet.carbon index 082e84c8ee77..32f81877c4a7 100644 --- a/toolchain/check/testdata/function/generic/call_method_on_generic_facet.carbon +++ b/toolchain/check/testdata/function/generic/call_method_on_generic_facet.carbon @@ -45,68 +45,68 @@ fn G() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %Scalar: type = symbolic_binding Scalar, 0 [symbolic] -// CHECK:STDOUT: %Generic.type.c0b: type = generic_interface_type @Generic [concrete] +// CHECK:STDOUT: %Generic.type.df8: type = generic_interface_type @Generic [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Generic.generic: %Generic.type.c0b = struct_value () [concrete] -// CHECK:STDOUT: %Generic.type.71e638.1: type = facet_type <@Generic, @Generic(%Scalar)> [symbolic] -// CHECK:STDOUT: %Self.de608e.1: %Generic.type.71e638.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.9e92c4.1: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%Scalar, %Self.de608e.1) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.e863fd.1: %Generic.WithSelf.F.type.9e92c4.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.33c7de.1: type = assoc_entity_type @Generic, @Generic(%Scalar) [symbolic] -// CHECK:STDOUT: %assoc0.2cf3f2.1: %Generic.assoc_type.33c7de.1 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %Generic.generic: %Generic.type.df8 = struct_value () [concrete] +// CHECK:STDOUT: %Generic.type.79a857.1: type = facet_type <@Generic, @Generic(%Scalar)> [symbolic] +// CHECK:STDOUT: %Self.34f480.1: %Generic.type.79a857.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.882349.1: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%Scalar, %Self.34f480.1) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.6a7088.1: %Generic.WithSelf.F.type.882349.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.bf879e.1: type = assoc_entity_type @Generic, @Generic(%Scalar) [symbolic] +// CHECK:STDOUT: %assoc0.0c6b77.1: %Generic.assoc_type.bf879e.1 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %GenericParam: type = class_type @GenericParam [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %ImplsGeneric: type = class_type @ImplsGeneric [concrete] -// CHECK:STDOUT: %Generic.type.e17: type = facet_type <@Generic, @Generic(%GenericParam)> [concrete] +// CHECK:STDOUT: %Generic.type.fa5: type = facet_type <@Generic, @Generic(%GenericParam)> [concrete] // CHECK:STDOUT: %Generic.impl_witness: = impl_witness @ImplsGeneric.as.Generic.impl.%Generic.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.0ab: %Generic.type.e17 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.1fb: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Self.de608e.1) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.239: %Generic.WithSelf.F.type.1fb = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.a5f: type = assoc_entity_type @Generic, @Generic(%GenericParam) [concrete] -// CHECK:STDOUT: %assoc0.c26: %Generic.assoc_type.a5f = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %Self.e96: %Generic.type.fa5 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.d27: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Self.34f480.1) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.87f: %Generic.WithSelf.F.type.d27 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.748: type = assoc_entity_type @Generic, @Generic(%GenericParam) [concrete] +// CHECK:STDOUT: %assoc0.6aa: %Generic.assoc_type.748 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [concrete] // CHECK:STDOUT: %ImplsGeneric.as.Generic.impl.F.type: type = fn_type @ImplsGeneric.as.Generic.impl.F [concrete] // CHECK:STDOUT: %ImplsGeneric.as.Generic.impl.F: %ImplsGeneric.as.Generic.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %Generic.facet: %Generic.type.e17 = facet_value %ImplsGeneric, (%Generic.impl_witness) [concrete] -// CHECK:STDOUT: %Generic.WithSelf.F.type.e70: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Generic.facet) [concrete] -// CHECK:STDOUT: %Generic.WithSelf.F.11f: %Generic.WithSelf.F.type.e70 = struct_value () [concrete] +// CHECK:STDOUT: %Generic.facet: %Generic.type.fa5 = facet_value %ImplsGeneric, (%Generic.impl_witness) [concrete] +// CHECK:STDOUT: %Generic.WithSelf.F.type.52a: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%GenericParam, %Generic.facet) [concrete] +// CHECK:STDOUT: %Generic.WithSelf.F.a3a: %Generic.WithSelf.F.type.52a = struct_value () [concrete] // CHECK:STDOUT: %Other.type: type = facet_type <@Other> [concrete] -// CHECK:STDOUT: %Self.083: %Other.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Other.WithSelf.G.type.45e: type = fn_type @Other.WithSelf.G, @Other.WithSelf(%Self.083) [symbolic] -// CHECK:STDOUT: %Other.WithSelf.G.1f4: %Other.WithSelf.G.type.45e = struct_value () [symbolic] +// CHECK:STDOUT: %Self.b93: %Other.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Other.WithSelf.G.type.674: type = fn_type @Other.WithSelf.G, @Other.WithSelf(%Self.b93) [symbolic] +// CHECK:STDOUT: %Other.WithSelf.G.f9f: %Other.WithSelf.G.type.674 = struct_value () [symbolic] // CHECK:STDOUT: %Other.assoc_type: type = assoc_entity_type @Other [concrete] -// CHECK:STDOUT: %assoc0.1c0: %Other.assoc_type = assoc_entity element0, @Other.WithSelf.%Other.WithSelf.G.decl [concrete] +// CHECK:STDOUT: %assoc0.528: %Other.assoc_type = assoc_entity element0, @Other.WithSelf.%Other.WithSelf.G.decl [concrete] // CHECK:STDOUT: %Other.impl_witness: = impl_witness @ImplsGeneric.as.Other.impl.%Other.impl_witness_table [concrete] // CHECK:STDOUT: %ImplsGeneric.as.Other.impl.G.type: type = fn_type @ImplsGeneric.as.Other.impl.G [concrete] // CHECK:STDOUT: %ImplsGeneric.as.Other.impl.G: %ImplsGeneric.as.Other.impl.G.type = struct_value () [concrete] // CHECK:STDOUT: %Other.facet: %Other.type = facet_value %ImplsGeneric, (%Other.impl_witness) [concrete] -// CHECK:STDOUT: %Other.WithSelf.G.type.4db: type = fn_type @Other.WithSelf.G, @Other.WithSelf(%Other.facet) [concrete] -// CHECK:STDOUT: %Other.WithSelf.G.938: %Other.WithSelf.G.type.4db = struct_value () [concrete] +// CHECK:STDOUT: %Other.WithSelf.G.type.23c: type = fn_type @Other.WithSelf.G, @Other.WithSelf(%Other.facet) [concrete] +// CHECK:STDOUT: %Other.WithSelf.G.69e: %Other.WithSelf.G.type.23c = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Generic.type.71e638.2: type = facet_type <@Generic, @Generic(%T)> [symbolic] -// CHECK:STDOUT: %pattern_type.db6: type = pattern_type %Generic.type.71e638.2 [symbolic] -// CHECK:STDOUT: %U: %Generic.type.71e638.2 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %Generic.type.79a857.2: type = facet_type <@Generic, @Generic(%T)> [symbolic] +// CHECK:STDOUT: %pattern_type.31c: type = pattern_type %Generic.type.79a857.2 [symbolic] +// CHECK:STDOUT: %U: %Generic.type.79a857.2 = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %CallGenericMethod.type: type = fn_type @CallGenericMethod [concrete] // CHECK:STDOUT: %CallGenericMethod: %CallGenericMethod.type = struct_value () [concrete] -// CHECK:STDOUT: %Self.de608e.2: %Generic.type.71e638.2 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.9e92c4.2: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T, %Self.de608e.1) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.e863fd.2: %Generic.WithSelf.F.type.9e92c4.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Generic.assoc_type.33c7de.2: type = assoc_entity_type @Generic, @Generic(%T) [symbolic] -// CHECK:STDOUT: %assoc0.2cf3f2.2: %Generic.assoc_type.33c7de.2 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %Generic.type.71e638.2 [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.type.ba5: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T, %U) [symbolic] -// CHECK:STDOUT: %Generic.WithSelf.F.2de: %Generic.WithSelf.F.type.ba5 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.34f480.2: %Generic.type.79a857.2 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.882349.2: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T, %Self.34f480.1) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.6a7088.2: %Generic.WithSelf.F.type.882349.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Generic.assoc_type.bf879e.2: type = assoc_entity_type @Generic, @Generic(%T) [symbolic] +// CHECK:STDOUT: %assoc0.0c6b77.2: %Generic.assoc_type.bf879e.2 = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %Generic.type.79a857.2 [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.type.9e2: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T, %U) [symbolic] +// CHECK:STDOUT: %Generic.WithSelf.F.9ed: %Generic.WithSelf.F.type.9e2 = struct_value () [symbolic] // CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] // CHECK:STDOUT: %Generic.lookup_impl_witness: = lookup_impl_witness %U, @Generic, @Generic(%T) [symbolic] -// CHECK:STDOUT: %.4af: type = fn_type_with_self_type %Generic.WithSelf.F.type.ba5, %U [symbolic] -// CHECK:STDOUT: %impl.elem0: %.4af = impl_witness_access %Generic.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %.762: type = fn_type_with_self_type %Generic.WithSelf.F.type.9e2, %U [symbolic] +// CHECK:STDOUT: %impl.elem0: %.762 = impl_witness_access %Generic.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Generic.WithSelf.F(%T, %U) [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.d84: type = pattern_type %Generic.type.e17 [concrete] +// CHECK:STDOUT: %pattern_type.9cd: type = pattern_type %Generic.type.fa5 [concrete] // CHECK:STDOUT: %CallGenericMethod.specific_fn: = specific_function %CallGenericMethod, @CallGenericMethod(%GenericParam, %Generic.facet) [concrete] -// CHECK:STDOUT: %complete_type.bf9: = complete_type_witness %Generic.type.e17 [concrete] -// CHECK:STDOUT: %.1c3: type = fn_type_with_self_type %Generic.WithSelf.F.type.e70, %Generic.facet [concrete] +// CHECK:STDOUT: %complete_type.c0e: = complete_type_witness %Generic.type.fa5 [concrete] +// CHECK:STDOUT: %.c5f: type = fn_type_with_self_type %Generic.WithSelf.F.type.52a, %Generic.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -127,7 +127,7 @@ fn G() { // CHECK:STDOUT: .G = %G.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Generic.decl: %Generic.type.c0b = interface_decl @Generic [concrete = constants.%Generic.generic] { +// CHECK:STDOUT: %Generic.decl: %Generic.type.df8 = interface_decl @Generic [concrete = constants.%Generic.generic] { // CHECK:STDOUT: %Scalar.patt: %pattern_type.98f = symbolic_binding_pattern Scalar, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15_28.1: type = splice_block %.loc15_28.2 [concrete = type] { @@ -140,9 +140,9 @@ fn G() { // CHECK:STDOUT: %ImplsGeneric.decl: type = class_decl @ImplsGeneric [concrete = constants.%ImplsGeneric] {} {} // CHECK:STDOUT: impl_decl @ImplsGeneric.as.Generic.impl [concrete] {} { // CHECK:STDOUT: %ImplsGeneric.ref: type = name_ref ImplsGeneric, file.%ImplsGeneric.decl [concrete = constants.%ImplsGeneric] -// CHECK:STDOUT: %Generic.ref: %Generic.type.c0b = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %GenericParam.ref: type = name_ref GenericParam, file.%GenericParam.decl [concrete = constants.%GenericParam] -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%GenericParam)> [concrete = constants.%Generic.type.e17] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%GenericParam)> [concrete = constants.%Generic.type.fa5] // CHECK:STDOUT: } // CHECK:STDOUT: %Other.decl: type = interface_decl @Other [concrete = constants.%Other.type] {} {} // CHECK:STDOUT: impl_decl @ImplsGeneric.as.Other.impl [concrete] {} { @@ -151,20 +151,20 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: %CallGenericMethod.decl: %CallGenericMethod.type = fn_decl @CallGenericMethod [concrete = constants.%CallGenericMethod] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %U.patt: @CallGenericMethod.%pattern_type (%pattern_type.db6) = symbolic_binding_pattern U, 1 [concrete] +// CHECK:STDOUT: %U.patt: @CallGenericMethod.%pattern_type (%pattern_type.31c) = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc33_26.1: type = splice_block %.loc33_26.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc33_23: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc33_26.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc33_23.2: type = symbolic_binding T, 0 [symbolic = %T.loc33_23.1 (constants.%T)] -// CHECK:STDOUT: %.loc33_45: type = splice_block %Generic.type.loc33_45.2 [symbolic = %Generic.type.loc33_45.1 (constants.%Generic.type.71e638.2)] { +// CHECK:STDOUT: %.loc33_45: type = splice_block %Generic.type.loc33_45.2 [symbolic = %Generic.type.loc33_45.1 (constants.%Generic.type.79a857.2)] { // CHECK:STDOUT: %.Self.loc33_33: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Generic.ref: %Generic.type.c0b = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc33_23.2 [symbolic = %T.loc33_23.1 (constants.%T)] -// CHECK:STDOUT: %Generic.type.loc33_45.2: type = facet_type <@Generic, @Generic(constants.%T)> [symbolic = %Generic.type.loc33_45.1 (constants.%Generic.type.71e638.2)] +// CHECK:STDOUT: %Generic.type.loc33_45.2: type = facet_type <@Generic, @Generic(constants.%T)> [symbolic = %Generic.type.loc33_45.1 (constants.%Generic.type.79a857.2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc33_33.2: @CallGenericMethod.%Generic.type.loc33_45.1 (%Generic.type.71e638.2) = symbolic_binding U, 1 [symbolic = %U.loc33_33.1 (constants.%U)] +// CHECK:STDOUT: %U.loc33_33.2: @CallGenericMethod.%Generic.type.loc33_45.1 (%Generic.type.79a857.2) = symbolic_binding U, 1 [symbolic = %U.loc33_33.1 (constants.%U)] // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] {} {} // CHECK:STDOUT: } @@ -173,16 +173,16 @@ fn G() { // CHECK:STDOUT: %Scalar.loc15_25.1: type = symbolic_binding Scalar, 0 [symbolic = %Scalar.loc15_25.1 (constants.%Scalar)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%Scalar.loc15_25.1)> [symbolic = %Generic.type (constants.%Generic.type.71e638.1)] -// CHECK:STDOUT: %Self.loc15_34.2: @Generic.%Generic.type (%Generic.type.71e638.1) = symbolic_binding Self, 1 [symbolic = %Self.loc15_34.2 (constants.%Self.de608e.1)] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%Scalar.loc15_25.1)> [symbolic = %Generic.type (constants.%Generic.type.79a857.1)] +// CHECK:STDOUT: %Self.loc15_34.2: @Generic.%Generic.type (%Generic.type.79a857.1) = symbolic_binding Self, 1 [symbolic = %Self.loc15_34.2 (constants.%Self.34f480.1)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc15_34.1: @Generic.%Generic.type (%Generic.type.71e638.1) = symbolic_binding Self, 1 [symbolic = %Self.loc15_34.2 (constants.%Self.de608e.1)] +// CHECK:STDOUT: %Self.loc15_34.1: @Generic.%Generic.type (%Generic.type.79a857.1) = symbolic_binding Self, 1 [symbolic = %Self.loc15_34.2 (constants.%Self.34f480.1)] // CHECK:STDOUT: %Generic.WithSelf.decl = interface_with_self_decl @Generic [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Generic.WithSelf.F.decl: @Generic.WithSelf.%Generic.WithSelf.F.type (%Generic.WithSelf.F.type.9e92c4.1) = fn_decl @Generic.WithSelf.F [symbolic = @Generic.WithSelf.%Generic.WithSelf.F (constants.%Generic.WithSelf.F.e863fd.1)] {} {} -// CHECK:STDOUT: %assoc0.loc16_9.1: @Generic.WithSelf.%Generic.assoc_type (%Generic.assoc_type.33c7de.1) = assoc_entity element0, %Generic.WithSelf.F.decl [symbolic = %assoc0.loc16_9.2 (constants.%assoc0.2cf3f2.1)] +// CHECK:STDOUT: %Generic.WithSelf.F.decl: @Generic.WithSelf.%Generic.WithSelf.F.type (%Generic.WithSelf.F.type.882349.1) = fn_decl @Generic.WithSelf.F [symbolic = @Generic.WithSelf.%Generic.WithSelf.F (constants.%Generic.WithSelf.F.6a7088.1)] {} {} +// CHECK:STDOUT: %assoc0.loc16_9.1: @Generic.WithSelf.%Generic.assoc_type (%Generic.assoc_type.bf879e.1) = assoc_entity element0, %Generic.WithSelf.F.decl [symbolic = %assoc0.loc16_9.2 (constants.%assoc0.0c6b77.1)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc15_34.1 @@ -194,12 +194,12 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Other { -// CHECK:STDOUT: %Self: %Other.type = symbolic_binding Self, 0 [symbolic = constants.%Self.083] +// CHECK:STDOUT: %Self: %Other.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b93] // CHECK:STDOUT: %Other.WithSelf.decl = interface_with_self_decl @Other [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Other.WithSelf.G.decl: @Other.WithSelf.%Other.WithSelf.G.type (%Other.WithSelf.G.type.45e) = fn_decl @Other.WithSelf.G [symbolic = @Other.WithSelf.%Other.WithSelf.G (constants.%Other.WithSelf.G.1f4)] {} {} -// CHECK:STDOUT: %assoc0: %Other.assoc_type = assoc_entity element0, %Other.WithSelf.G.decl [concrete = constants.%assoc0.1c0] +// CHECK:STDOUT: %Other.WithSelf.G.decl: @Other.WithSelf.%Other.WithSelf.G.type (%Other.WithSelf.G.type.674) = fn_decl @Other.WithSelf.G [symbolic = @Other.WithSelf.%Other.WithSelf.G (constants.%Other.WithSelf.G.f9f)] {} {} +// CHECK:STDOUT: %assoc0: %Other.assoc_type = assoc_entity element0, %Other.WithSelf.G.decl [concrete = constants.%assoc0.528] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -247,7 +247,7 @@ fn G() { // CHECK:STDOUT: .Self = constants.%ImplsGeneric // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Generic.WithSelf.F(@Generic.%Scalar.loc15_25.2: type, @Generic.%Self.loc15_34.1: @Generic.%Generic.type (%Generic.type.71e638.1)) { +// CHECK:STDOUT: generic fn @Generic.WithSelf.F(@Generic.%Scalar.loc15_25.2: type, @Generic.%Self.loc15_34.1: @Generic.%Generic.type (%Generic.type.79a857.1)) { // CHECK:STDOUT: fn(); // CHECK:STDOUT: } // CHECK:STDOUT: @@ -262,31 +262,31 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: fn @ImplsGeneric.as.Other.impl.G(); // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc33_23.2: type, %U.loc33_33.2: @CallGenericMethod.%Generic.type.loc33_45.1 (%Generic.type.71e638.2)) { +// CHECK:STDOUT: generic fn @CallGenericMethod(%T.loc33_23.2: type, %U.loc33_33.2: @CallGenericMethod.%Generic.type.loc33_45.1 (%Generic.type.79a857.2)) { // CHECK:STDOUT: %T.loc33_23.1: type = symbolic_binding T, 0 [symbolic = %T.loc33_23.1 (constants.%T)] -// CHECK:STDOUT: %Generic.type.loc33_45.1: type = facet_type <@Generic, @Generic(%T.loc33_23.1)> [symbolic = %Generic.type.loc33_45.1 (constants.%Generic.type.71e638.2)] -// CHECK:STDOUT: %U.loc33_33.1: @CallGenericMethod.%Generic.type.loc33_45.1 (%Generic.type.71e638.2) = symbolic_binding U, 1 [symbolic = %U.loc33_33.1 (constants.%U)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Generic.type.loc33_45.1 [symbolic = %pattern_type (constants.%pattern_type.db6)] +// CHECK:STDOUT: %Generic.type.loc33_45.1: type = facet_type <@Generic, @Generic(%T.loc33_23.1)> [symbolic = %Generic.type.loc33_45.1 (constants.%Generic.type.79a857.2)] +// CHECK:STDOUT: %U.loc33_33.1: @CallGenericMethod.%Generic.type.loc33_45.1 (%Generic.type.79a857.2) = symbolic_binding U, 1 [symbolic = %U.loc33_33.1 (constants.%U)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Generic.type.loc33_45.1 [symbolic = %pattern_type (constants.%pattern_type.31c)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %Generic.type.loc33_45.1 [symbolic = %require_complete (constants.%require_complete)] // CHECK:STDOUT: %U.as_type.loc34_4.2: type = facet_access_type %U.loc33_33.1 [symbolic = %U.as_type.loc34_4.2 (constants.%U.as_type)] -// CHECK:STDOUT: %Generic.assoc_type: type = assoc_entity_type @Generic, @Generic(%T.loc33_23.1) [symbolic = %Generic.assoc_type (constants.%Generic.assoc_type.33c7de.2)] -// CHECK:STDOUT: %assoc0: @CallGenericMethod.%Generic.assoc_type (%Generic.assoc_type.33c7de.2) = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic = %assoc0 (constants.%assoc0.2cf3f2.2)] -// CHECK:STDOUT: %Generic.WithSelf.F.type: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T.loc33_23.1, %U.loc33_33.1) [symbolic = %Generic.WithSelf.F.type (constants.%Generic.WithSelf.F.type.ba5)] -// CHECK:STDOUT: %.loc34_4.3: type = fn_type_with_self_type %Generic.WithSelf.F.type, %U.loc33_33.1 [symbolic = %.loc34_4.3 (constants.%.4af)] +// CHECK:STDOUT: %Generic.assoc_type: type = assoc_entity_type @Generic, @Generic(%T.loc33_23.1) [symbolic = %Generic.assoc_type (constants.%Generic.assoc_type.bf879e.2)] +// CHECK:STDOUT: %assoc0: @CallGenericMethod.%Generic.assoc_type (%Generic.assoc_type.bf879e.2) = assoc_entity element0, @Generic.WithSelf.%Generic.WithSelf.F.decl [symbolic = %assoc0 (constants.%assoc0.0c6b77.2)] +// CHECK:STDOUT: %Generic.WithSelf.F.type: type = fn_type @Generic.WithSelf.F, @Generic.WithSelf(%T.loc33_23.1, %U.loc33_33.1) [symbolic = %Generic.WithSelf.F.type (constants.%Generic.WithSelf.F.type.9e2)] +// CHECK:STDOUT: %.loc34_4.3: type = fn_type_with_self_type %Generic.WithSelf.F.type, %U.loc33_33.1 [symbolic = %.loc34_4.3 (constants.%.762)] // CHECK:STDOUT: %Generic.lookup_impl_witness: = lookup_impl_witness %U.loc33_33.1, @Generic, @Generic(%T.loc33_23.1) [symbolic = %Generic.lookup_impl_witness (constants.%Generic.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc34_4.2: @CallGenericMethod.%.loc34_4.3 (%.4af) = impl_witness_access %Generic.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc34_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc34_4.2: @CallGenericMethod.%.loc34_4.3 (%.762) = impl_witness_access %Generic.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc34_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc34_4.2: = specific_impl_function %impl.elem0.loc34_4.2, @Generic.WithSelf.F(%T.loc33_23.1, %U.loc33_33.1) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %U.ref: @CallGenericMethod.%Generic.type.loc33_45.1 (%Generic.type.71e638.2) = name_ref U, %U.loc33_33.2 [symbolic = %U.loc33_33.1 (constants.%U)] +// CHECK:STDOUT: %U.ref: @CallGenericMethod.%Generic.type.loc33_45.1 (%Generic.type.79a857.2) = name_ref U, %U.loc33_33.2 [symbolic = %U.loc33_33.1 (constants.%U)] // CHECK:STDOUT: %U.as_type.loc34_4.1: type = facet_access_type %U.ref [symbolic = %U.as_type.loc34_4.2 (constants.%U.as_type)] // CHECK:STDOUT: %.loc34_4.1: type = converted %U.ref, %U.as_type.loc34_4.1 [symbolic = %U.as_type.loc34_4.2 (constants.%U.as_type)] -// CHECK:STDOUT: %.loc34_4.2: @CallGenericMethod.%Generic.assoc_type (%Generic.assoc_type.33c7de.2) = specific_constant @Generic.WithSelf.%assoc0.loc16_9.1, @Generic.WithSelf(constants.%T, constants.%U) [symbolic = %assoc0 (constants.%assoc0.2cf3f2.2)] -// CHECK:STDOUT: %F.ref: @CallGenericMethod.%Generic.assoc_type (%Generic.assoc_type.33c7de.2) = name_ref F, %.loc34_4.2 [symbolic = %assoc0 (constants.%assoc0.2cf3f2.2)] -// CHECK:STDOUT: %impl.elem0.loc34_4.1: @CallGenericMethod.%.loc34_4.3 (%.4af) = impl_witness_access constants.%Generic.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc34_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %.loc34_4.2: @CallGenericMethod.%Generic.assoc_type (%Generic.assoc_type.bf879e.2) = specific_constant @Generic.WithSelf.%assoc0.loc16_9.1, @Generic.WithSelf(constants.%T, constants.%U) [symbolic = %assoc0 (constants.%assoc0.0c6b77.2)] +// CHECK:STDOUT: %F.ref: @CallGenericMethod.%Generic.assoc_type (%Generic.assoc_type.bf879e.2) = name_ref F, %.loc34_4.2 [symbolic = %assoc0 (constants.%assoc0.0c6b77.2)] +// CHECK:STDOUT: %impl.elem0.loc34_4.1: @CallGenericMethod.%.loc34_4.3 (%.762) = impl_witness_access constants.%Generic.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc34_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc34_4.1: = specific_impl_function %impl.elem0.loc34_4.1, @Generic.WithSelf.F(constants.%T, constants.%U) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Generic.WithSelf.F.call: init %empty_tuple.type = call %specific_impl_fn.loc34_4.1() // CHECK:STDOUT: return @@ -298,8 +298,8 @@ fn G() { // CHECK:STDOUT: %CallGenericMethod.ref: %CallGenericMethod.type = name_ref CallGenericMethod, file.%CallGenericMethod.decl [concrete = constants.%CallGenericMethod] // CHECK:STDOUT: %GenericParam.ref: type = name_ref GenericParam, file.%GenericParam.decl [concrete = constants.%GenericParam] // CHECK:STDOUT: %ImplsGeneric.ref: type = name_ref ImplsGeneric, file.%ImplsGeneric.decl [concrete = constants.%ImplsGeneric] -// CHECK:STDOUT: %Generic.facet: %Generic.type.e17 = facet_value constants.%ImplsGeneric, (constants.%Generic.impl_witness) [concrete = constants.%Generic.facet] -// CHECK:STDOUT: %.loc38: %Generic.type.e17 = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet] +// CHECK:STDOUT: %Generic.facet: %Generic.type.fa5 = facet_value constants.%ImplsGeneric, (constants.%Generic.impl_witness) [concrete = constants.%Generic.facet] +// CHECK:STDOUT: %.loc38: %Generic.type.fa5 = converted constants.%ImplsGeneric, %Generic.facet [concrete = constants.%Generic.facet] // CHECK:STDOUT: %CallGenericMethod.specific_fn: = specific_function %CallGenericMethod.ref, @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) [concrete = constants.%CallGenericMethod.specific_fn] // CHECK:STDOUT: %CallGenericMethod.call: init %empty_tuple.type = call %CallGenericMethod.specific_fn() // CHECK:STDOUT: return @@ -309,56 +309,56 @@ fn G() { // CHECK:STDOUT: %Scalar.loc15_25.1 => constants.%Scalar // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%Scalar, constants.%Self.de608e.1) {} +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%Scalar, constants.%Self.34f480.1) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%Scalar, constants.%Self.de608e.1) {} +// CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%Scalar, constants.%Self.34f480.1) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%GenericParam) { // CHECK:STDOUT: %Scalar.loc15_25.1 => constants.%GenericParam // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.e17 -// CHECK:STDOUT: %Self.loc15_34.2 => constants.%Self.0ab +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 +// CHECK:STDOUT: %Self.loc15_34.2 => constants.%Self.e96 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Self.de608e.1) { +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Self.34f480.1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%GenericParam -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.e17 -// CHECK:STDOUT: %Self => constants.%Self.de608e.1 -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.1fb -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.239 -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.a5f -// CHECK:STDOUT: %assoc0.loc16_9.2 => constants.%assoc0.c26 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 +// CHECK:STDOUT: %Self => constants.%Self.34f480.1 +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.d27 +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.87f +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.748 +// CHECK:STDOUT: %assoc0.loc16_9.2 => constants.%assoc0.6aa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf(constants.%GenericParam, constants.%Generic.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%GenericParam -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.e17 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.fa5 // CHECK:STDOUT: %Self => constants.%Generic.facet -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.e70 -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.11f -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.a5f -// CHECK:STDOUT: %assoc0.loc16_9.2 => constants.%assoc0.c26 +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.52a +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.a3a +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.748 +// CHECK:STDOUT: %assoc0.loc16_9.2 => constants.%assoc0.6aa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%GenericParam, constants.%Generic.facet) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Other.WithSelf(constants.%Self.083) { +// CHECK:STDOUT: specific @Other.WithSelf(constants.%Self.b93) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.083 -// CHECK:STDOUT: %Other.WithSelf.G.type => constants.%Other.WithSelf.G.type.45e -// CHECK:STDOUT: %Other.WithSelf.G => constants.%Other.WithSelf.G.1f4 +// CHECK:STDOUT: %Self => constants.%Self.b93 +// CHECK:STDOUT: %Other.WithSelf.G.type => constants.%Other.WithSelf.G.type.674 +// CHECK:STDOUT: %Other.WithSelf.G => constants.%Other.WithSelf.G.f9f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Other.WithSelf.G(constants.%Self.083) {} +// CHECK:STDOUT: specific @Other.WithSelf.G(constants.%Self.b93) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Other.WithSelf(constants.%Other.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Other.facet -// CHECK:STDOUT: %Other.WithSelf.G.type => constants.%Other.WithSelf.G.type.4db -// CHECK:STDOUT: %Other.WithSelf.G => constants.%Other.WithSelf.G.938 +// CHECK:STDOUT: %Other.WithSelf.G.type => constants.%Other.WithSelf.G.type.23c +// CHECK:STDOUT: %Other.WithSelf.G => constants.%Other.WithSelf.G.69e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Other.WithSelf.G(constants.%Other.facet) {} @@ -367,54 +367,54 @@ fn G() { // CHECK:STDOUT: %Scalar.loc15_25.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.71e638.2 -// CHECK:STDOUT: %Self.loc15_34.2 => constants.%Self.de608e.2 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.79a857.2 +// CHECK:STDOUT: %Self.loc15_34.2 => constants.%Self.34f480.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CallGenericMethod(constants.%T, constants.%U) { // CHECK:STDOUT: %T.loc33_23.1 => constants.%T -// CHECK:STDOUT: %Generic.type.loc33_45.1 => constants.%Generic.type.71e638.2 +// CHECK:STDOUT: %Generic.type.loc33_45.1 => constants.%Generic.type.79a857.2 // CHECK:STDOUT: %U.loc33_33.1 => constants.%U -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.db6 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.31c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%T, constants.%Self.de608e.1) { +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%T, constants.%Self.34f480.1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%T -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.71e638.2 -// CHECK:STDOUT: %Self => constants.%Self.de608e.1 -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.9e92c4.2 -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.e863fd.2 -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.33c7de.2 -// CHECK:STDOUT: %assoc0.loc16_9.2 => constants.%assoc0.2cf3f2.2 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.79a857.2 +// CHECK:STDOUT: %Self => constants.%Self.34f480.1 +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.882349.2 +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.6a7088.2 +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.bf879e.2 +// CHECK:STDOUT: %assoc0.loc16_9.2 => constants.%assoc0.0c6b77.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf(constants.%T, constants.%U) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Scalar => constants.%T -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.71e638.2 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.79a857.2 // CHECK:STDOUT: %Self => constants.%U -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.ba5 -// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.2de -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.33c7de.2 -// CHECK:STDOUT: %assoc0.loc16_9.2 => constants.%assoc0.2cf3f2.2 +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.9e2 +// CHECK:STDOUT: %Generic.WithSelf.F => constants.%Generic.WithSelf.F.9ed +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.bf879e.2 +// CHECK:STDOUT: %assoc0.loc16_9.2 => constants.%assoc0.0c6b77.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.WithSelf.F(constants.%T, constants.%U) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @CallGenericMethod(constants.%GenericParam, constants.%Generic.facet) { // CHECK:STDOUT: %T.loc33_23.1 => constants.%GenericParam -// CHECK:STDOUT: %Generic.type.loc33_45.1 => constants.%Generic.type.e17 +// CHECK:STDOUT: %Generic.type.loc33_45.1 => constants.%Generic.type.fa5 // CHECK:STDOUT: %U.loc33_33.1 => constants.%Generic.facet -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d84 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9cd // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.bf9 +// CHECK:STDOUT: %require_complete => constants.%complete_type.c0e // CHECK:STDOUT: %U.as_type.loc34_4.2 => constants.%ImplsGeneric -// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.a5f -// CHECK:STDOUT: %assoc0 => constants.%assoc0.c26 -// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.e70 -// CHECK:STDOUT: %.loc34_4.3 => constants.%.1c3 +// CHECK:STDOUT: %Generic.assoc_type => constants.%Generic.assoc_type.748 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.6aa +// CHECK:STDOUT: %Generic.WithSelf.F.type => constants.%Generic.WithSelf.F.type.52a +// CHECK:STDOUT: %.loc34_4.3 => constants.%.c5f // CHECK:STDOUT: %Generic.lookup_impl_witness => constants.%Generic.impl_witness // CHECK:STDOUT: %impl.elem0.loc34_4.2 => constants.%ImplsGeneric.as.Generic.impl.F // CHECK:STDOUT: %specific_impl_fn.loc34_4.2 => constants.%ImplsGeneric.as.Generic.impl.F diff --git a/toolchain/check/testdata/function/generic/deduce.carbon b/toolchain/check/testdata/function/generic/deduce.carbon index 9efa277f19b9..05a50c525503 100644 --- a/toolchain/check/testdata/function/generic/deduce.carbon +++ b/toolchain/check/testdata/function/generic/deduce.carbon @@ -226,17 +226,17 @@ fn F() { // CHECK:STDOUT: %ExplicitGenericParam.type: type = fn_type @ExplicitGenericParam [concrete] // CHECK:STDOUT: %ExplicitGenericParam: %ExplicitGenericParam.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] -// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.7ed: = specific_function %ExplicitGenericParam, @ExplicitGenericParam(%T) [symbolic] +// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.187: = specific_function %ExplicitGenericParam, @ExplicitGenericParam(%T) [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %.793: Core.Form = init_form %ptr.143 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %.060: Core.Form = init_form %ptr.847 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] // CHECK:STDOUT: %CallExplicitGenericParam.type: type = fn_type @CallExplicitGenericParam [concrete] // CHECK:STDOUT: %CallExplicitGenericParam: %CallExplicitGenericParam.type = struct_value () [concrete] -// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.7ee: = specific_function %ExplicitGenericParam, @ExplicitGenericParam(%i32) [concrete] +// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.61b: = specific_function %ExplicitGenericParam, @ExplicitGenericParam(%i32) [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %T} [symbolic] // CHECK:STDOUT: %ptr.88d: type = ptr_type %struct_type.a [symbolic] // CHECK:STDOUT: %.edd: Core.Form = init_form %ptr.88d [symbolic] @@ -244,8 +244,8 @@ fn F() { // CHECK:STDOUT: %CallExplicitGenericParamWithGenericArg.type: type = fn_type @CallExplicitGenericParamWithGenericArg [concrete] // CHECK:STDOUT: %CallExplicitGenericParamWithGenericArg: %CallExplicitGenericParamWithGenericArg.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.61f: = require_complete_type %ptr.88d [symbolic] -// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.bd9: = specific_function %ExplicitGenericParam, @ExplicitGenericParam(%struct_type.a) [symbolic] -// CHECK:STDOUT: %complete_type.76e: = complete_type_witness %ptr.143 [concrete] +// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.0eb: = specific_function %ExplicitGenericParam, @ExplicitGenericParam(%struct_type.a) [symbolic] +// CHECK:STDOUT: %complete_type.34c: = complete_type_witness %ptr.847 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -282,14 +282,14 @@ fn F() { // CHECK:STDOUT: %return: ref @ExplicitGenericParam.%ptr.loc4_39.1 (%ptr.e8f) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallExplicitGenericParam.decl: %CallExplicitGenericParam.type = fn_decl @CallExplicitGenericParam [concrete = constants.%CallExplicitGenericParam] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.663 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.663 = return_slot_pattern %return.param_patt, %ptr [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7b5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7b5 = return_slot_pattern %return.param_patt, %ptr [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc6: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc6 [concrete = constants.%ptr.143] -// CHECK:STDOUT: %.loc6: Core.Form = init_form %ptr [concrete = constants.%.793] -// CHECK:STDOUT: %return.param: ref %ptr.143 = out_param call_param0 -// CHECK:STDOUT: %return: ref %ptr.143 = return_slot %return.param +// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc6 [concrete = constants.%ptr.847] +// CHECK:STDOUT: %.loc6: Core.Form = init_form %ptr [concrete = constants.%.060] +// CHECK:STDOUT: %return.param: ref %ptr.847 = out_param call_param0 +// CHECK:STDOUT: %return: ref %ptr.847 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallExplicitGenericParamWithGenericArg.decl: %CallExplicitGenericParamWithGenericArg.type = fn_decl @CallExplicitGenericParamWithGenericArg [concrete = constants.%CallExplicitGenericParamWithGenericArg] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] @@ -318,24 +318,24 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %ptr.loc4_39.1 [symbolic = %require_complete (constants.%require_complete.ef1)] -// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc4_50.2: = specific_function constants.%ExplicitGenericParam, @ExplicitGenericParam(%T.loc4_26.1) [symbolic = %ExplicitGenericParam.specific_fn.loc4_50.2 (constants.%ExplicitGenericParam.specific_fn.7ed)] +// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc4_50.2: = specific_function constants.%ExplicitGenericParam, @ExplicitGenericParam(%T.loc4_26.1) [symbolic = %ExplicitGenericParam.specific_fn.loc4_50.2 (constants.%ExplicitGenericParam.specific_fn.187)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @ExplicitGenericParam.%ptr.loc4_39.1 (%ptr.e8f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %ExplicitGenericParam.ref: %ExplicitGenericParam.type = name_ref ExplicitGenericParam, file.%ExplicitGenericParam.decl [concrete = constants.%ExplicitGenericParam] // CHECK:STDOUT: %T.ref.loc4_71: type = name_ref T, %T.loc4_26.2 [symbolic = %T.loc4_26.1 (constants.%T)] -// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc4_50.1: = specific_function %ExplicitGenericParam.ref, @ExplicitGenericParam(constants.%T) [symbolic = %ExplicitGenericParam.specific_fn.loc4_50.2 (constants.%ExplicitGenericParam.specific_fn.7ed)] +// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc4_50.1: = specific_function %ExplicitGenericParam.ref, @ExplicitGenericParam(constants.%T) [symbolic = %ExplicitGenericParam.specific_fn.loc4_50.2 (constants.%ExplicitGenericParam.specific_fn.187)] // CHECK:STDOUT: %ExplicitGenericParam.call: init @ExplicitGenericParam.%ptr.loc4_39.1 (%ptr.e8f) = call %ExplicitGenericParam.specific_fn.loc4_50.1() // CHECK:STDOUT: return %ExplicitGenericParam.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @CallExplicitGenericParam() -> out %return.param: %ptr.143 { +// CHECK:STDOUT: fn @CallExplicitGenericParam() -> out %return.param: %ptr.847 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %ExplicitGenericParam.ref: %ExplicitGenericParam.type = name_ref ExplicitGenericParam, file.%ExplicitGenericParam.decl [concrete = constants.%ExplicitGenericParam] // CHECK:STDOUT: %i32.loc7: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ExplicitGenericParam.specific_fn: = specific_function %ExplicitGenericParam.ref, @ExplicitGenericParam(constants.%i32) [concrete = constants.%ExplicitGenericParam.specific_fn.7ee] -// CHECK:STDOUT: %ExplicitGenericParam.call: init %ptr.143 = call %ExplicitGenericParam.specific_fn() +// CHECK:STDOUT: %ExplicitGenericParam.specific_fn: = specific_function %ExplicitGenericParam.ref, @ExplicitGenericParam(constants.%i32) [concrete = constants.%ExplicitGenericParam.specific_fn.61b] +// CHECK:STDOUT: %ExplicitGenericParam.call: init %ptr.847 = call %ExplicitGenericParam.specific_fn() // CHECK:STDOUT: return %ExplicitGenericParam.call // CHECK:STDOUT: } // CHECK:STDOUT: @@ -348,14 +348,14 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %ptr.loc10_63.1 [symbolic = %require_complete (constants.%require_complete.61f)] -// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc11_10.2: = specific_function constants.%ExplicitGenericParam, @ExplicitGenericParam(%struct_type.a.loc10_62.1) [symbolic = %ExplicitGenericParam.specific_fn.loc11_10.2 (constants.%ExplicitGenericParam.specific_fn.bd9)] +// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc11_10.2: = specific_function constants.%ExplicitGenericParam, @ExplicitGenericParam(%struct_type.a.loc10_62.1) [symbolic = %ExplicitGenericParam.specific_fn.loc11_10.2 (constants.%ExplicitGenericParam.specific_fn.0eb)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @CallExplicitGenericParamWithGenericArg.%ptr.loc10_63.1 (%ptr.88d) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %ExplicitGenericParam.ref: %ExplicitGenericParam.type = name_ref ExplicitGenericParam, file.%ExplicitGenericParam.decl [concrete = constants.%ExplicitGenericParam] // CHECK:STDOUT: %T.ref.loc11: type = name_ref T, %T.loc10_44.2 [symbolic = %T.loc10_44.1 (constants.%T)] // CHECK:STDOUT: %struct_type.a.loc11: type = struct_type {.a: @CallExplicitGenericParamWithGenericArg.%T.loc10_44.1 (%T)} [symbolic = %struct_type.a.loc10_62.1 (constants.%struct_type.a)] -// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc11_10.1: = specific_function %ExplicitGenericParam.ref, @ExplicitGenericParam(constants.%struct_type.a) [symbolic = %ExplicitGenericParam.specific_fn.loc11_10.2 (constants.%ExplicitGenericParam.specific_fn.bd9)] +// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc11_10.1: = specific_function %ExplicitGenericParam.ref, @ExplicitGenericParam(constants.%struct_type.a) [symbolic = %ExplicitGenericParam.specific_fn.loc11_10.2 (constants.%ExplicitGenericParam.specific_fn.0eb)] // CHECK:STDOUT: %ExplicitGenericParam.call: init @CallExplicitGenericParamWithGenericArg.%ptr.loc10_63.1 (%ptr.88d) = call %ExplicitGenericParam.specific_fn.loc11_10.1() // CHECK:STDOUT: return %ExplicitGenericParam.call // CHECK:STDOUT: } @@ -369,18 +369,18 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete.ef1 -// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc4_50.2 => constants.%ExplicitGenericParam.specific_fn.7ed +// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc4_50.2 => constants.%ExplicitGenericParam.specific_fn.187 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ExplicitGenericParam(constants.%i32) { // CHECK:STDOUT: %T.loc4_26.1 => constants.%i32 -// CHECK:STDOUT: %ptr.loc4_39.1 => constants.%ptr.143 -// CHECK:STDOUT: %.loc4_39.1 => constants.%.793 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.663 +// CHECK:STDOUT: %ptr.loc4_39.1 => constants.%ptr.847 +// CHECK:STDOUT: %.loc4_39.1 => constants.%.060 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.7b5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.76e -// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc4_50.2 => constants.%ExplicitGenericParam.specific_fn.7ee +// CHECK:STDOUT: %require_complete => constants.%complete_type.34c +// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc4_50.2 => constants.%ExplicitGenericParam.specific_fn.61b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CallExplicitGenericParamWithGenericArg(constants.%T) { @@ -399,7 +399,7 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete.61f -// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc4_50.2 => constants.%ExplicitGenericParam.specific_fn.bd9 +// CHECK:STDOUT: %ExplicitGenericParam.specific_fn.loc4_50.2 => constants.%ExplicitGenericParam.specific_fn.0eb // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_deduce_explicit_non_constant.carbon @@ -550,22 +550,22 @@ fn F() { // CHECK:STDOUT: %ExplicitAndAlsoDeduced: %ExplicitAndAlsoDeduced.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] -// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.fa2: = specific_function %ExplicitAndAlsoDeduced, @ExplicitAndAlsoDeduced(%T) [symbolic] -// CHECK:STDOUT: %ptr.19d: type = ptr_type %A [concrete] -// CHECK:STDOUT: %.bb7: Core.Form = init_form %ptr.19d [concrete] -// CHECK:STDOUT: %pattern_type.94e: type = pattern_type %ptr.19d [concrete] +// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.954: = specific_function %ExplicitAndAlsoDeduced, @ExplicitAndAlsoDeduced(%T) [symbolic] +// CHECK:STDOUT: %ptr.cca: type = ptr_type %A [concrete] +// CHECK:STDOUT: %.99a: Core.Form = init_form %ptr.cca [concrete] +// CHECK:STDOUT: %pattern_type.b90: type = pattern_type %ptr.cca [concrete] // CHECK:STDOUT: %CallExplicitAndAlsoDeduced.type: type = fn_type @CallExplicitAndAlsoDeduced [concrete] // CHECK:STDOUT: %CallExplicitAndAlsoDeduced: %CallExplicitAndAlsoDeduced.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.c81: type = pattern_type %A [concrete] -// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.d65: = specific_function %ExplicitAndAlsoDeduced, @ExplicitAndAlsoDeduced(%A) [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] +// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.828: = specific_function %ExplicitAndAlsoDeduced, @ExplicitAndAlsoDeduced(%A) [concrete] // CHECK:STDOUT: %A.val: %A = struct_value () [concrete] -// CHECK:STDOUT: %.6f1: ref %A = temporary invalid, %A.val [concrete] +// CHECK:STDOUT: %.e61: ref %A = temporary invalid, %A.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc11_37.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.6f1, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %complete_type.12e: = complete_type_witness %ptr.19d [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc11_37.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e61, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %complete_type.7ae: = complete_type_witness %ptr.cca [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -608,14 +608,14 @@ fn F() { // CHECK:STDOUT: %return: ref @ExplicitAndAlsoDeduced.%ptr.loc6_47.1 (%ptr.e8f) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallExplicitAndAlsoDeduced.decl: %CallExplicitAndAlsoDeduced.type = fn_decl @CallExplicitAndAlsoDeduced [concrete = constants.%CallExplicitAndAlsoDeduced] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.94e = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.94e = return_slot_pattern %return.param_patt, %ptr [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.b90 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.b90 = return_slot_pattern %return.param_patt, %ptr [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %A.ref.loc10: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %ptr: type = ptr_type %A.ref.loc10 [concrete = constants.%ptr.19d] -// CHECK:STDOUT: %.loc10: Core.Form = init_form %ptr [concrete = constants.%.bb7] -// CHECK:STDOUT: %return.param: ref %ptr.19d = out_param call_param0 -// CHECK:STDOUT: %return: ref %ptr.19d = return_slot %return.param +// CHECK:STDOUT: %ptr: type = ptr_type %A.ref.loc10 [concrete = constants.%ptr.cca] +// CHECK:STDOUT: %.loc10: Core.Form = init_form %ptr [concrete = constants.%.99a] +// CHECK:STDOUT: %return.param: ref %ptr.cca = out_param call_param0 +// CHECK:STDOUT: %return: ref %ptr.cca = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -637,32 +637,32 @@ fn F() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc6_38: = require_complete_type %T.loc6_28.1 [symbolic = %require_complete.loc6_38 (constants.%require_complete.944)] // CHECK:STDOUT: %require_complete.loc6_43: = require_complete_type %ptr.loc6_47.1 [symbolic = %require_complete.loc6_43 (constants.%require_complete.ef1)] -// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.loc7_10.2: = specific_function constants.%ExplicitAndAlsoDeduced, @ExplicitAndAlsoDeduced(%T.loc6_28.1) [symbolic = %ExplicitAndAlsoDeduced.specific_fn.loc7_10.2 (constants.%ExplicitAndAlsoDeduced.specific_fn.fa2)] +// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.loc7_10.2: = specific_function constants.%ExplicitAndAlsoDeduced, @ExplicitAndAlsoDeduced(%T.loc6_28.1) [symbolic = %ExplicitAndAlsoDeduced.specific_fn.loc7_10.2 (constants.%ExplicitAndAlsoDeduced.specific_fn.954)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @ExplicitAndAlsoDeduced.%T.loc6_28.1 (%T)) -> out %return.param: @ExplicitAndAlsoDeduced.%ptr.loc6_47.1 (%ptr.e8f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %ExplicitAndAlsoDeduced.ref: %ExplicitAndAlsoDeduced.type = name_ref ExplicitAndAlsoDeduced, file.%ExplicitAndAlsoDeduced.decl [concrete = constants.%ExplicitAndAlsoDeduced] // CHECK:STDOUT: %T.ref.loc7: type = name_ref T, %T.loc6_28.2 [symbolic = %T.loc6_28.1 (constants.%T)] // CHECK:STDOUT: %x.ref: @ExplicitAndAlsoDeduced.%T.loc6_28.1 (%T) = name_ref x, %x -// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.loc7_10.1: = specific_function %ExplicitAndAlsoDeduced.ref, @ExplicitAndAlsoDeduced(constants.%T) [symbolic = %ExplicitAndAlsoDeduced.specific_fn.loc7_10.2 (constants.%ExplicitAndAlsoDeduced.specific_fn.fa2)] +// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.loc7_10.1: = specific_function %ExplicitAndAlsoDeduced.ref, @ExplicitAndAlsoDeduced(constants.%T) [symbolic = %ExplicitAndAlsoDeduced.specific_fn.loc7_10.2 (constants.%ExplicitAndAlsoDeduced.specific_fn.954)] // CHECK:STDOUT: %ExplicitAndAlsoDeduced.call: init @ExplicitAndAlsoDeduced.%ptr.loc6_47.1 (%ptr.e8f) = call %ExplicitAndAlsoDeduced.specific_fn.loc7_10.1(%x.ref) // CHECK:STDOUT: return %ExplicitAndAlsoDeduced.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @CallExplicitAndAlsoDeduced() -> out %return.param: %ptr.19d { +// CHECK:STDOUT: fn @CallExplicitAndAlsoDeduced() -> out %return.param: %ptr.cca { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %ExplicitAndAlsoDeduced.ref: %ExplicitAndAlsoDeduced.type = name_ref ExplicitAndAlsoDeduced, file.%ExplicitAndAlsoDeduced.decl [concrete = constants.%ExplicitAndAlsoDeduced] // CHECK:STDOUT: %A.ref.loc11: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %.loc11_37.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn: = specific_function %ExplicitAndAlsoDeduced.ref, @ExplicitAndAlsoDeduced(constants.%A) [concrete = constants.%ExplicitAndAlsoDeduced.specific_fn.d65] +// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn: = specific_function %ExplicitAndAlsoDeduced.ref, @ExplicitAndAlsoDeduced(constants.%A) [concrete = constants.%ExplicitAndAlsoDeduced.specific_fn.828] // CHECK:STDOUT: %.loc11_37.2: ref %A = temporary_storage // CHECK:STDOUT: %.loc11_37.3: init %A to %.loc11_37.2 = class_init () [concrete = constants.%A.val] // CHECK:STDOUT: %.loc11_37.4: init %A = converted %.loc11_37.1, %.loc11_37.3 [concrete = constants.%A.val] -// CHECK:STDOUT: %.loc11_37.5: ref %A = temporary %.loc11_37.2, %.loc11_37.4 [concrete = constants.%.6f1] +// CHECK:STDOUT: %.loc11_37.5: ref %A = temporary %.loc11_37.2, %.loc11_37.4 [concrete = constants.%.e61] // CHECK:STDOUT: %.loc11_37.6: %A = acquire_value %.loc11_37.5 [concrete = constants.%A.val] -// CHECK:STDOUT: %ExplicitAndAlsoDeduced.call: init %ptr.19d = call %ExplicitAndAlsoDeduced.specific_fn(%.loc11_37.6) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.6f1) +// CHECK:STDOUT: %ExplicitAndAlsoDeduced.call: init %ptr.cca = call %ExplicitAndAlsoDeduced.specific_fn(%.loc11_37.6) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e61) // CHECK:STDOUT: return %ExplicitAndAlsoDeduced.call // CHECK:STDOUT: } // CHECK:STDOUT: @@ -683,20 +683,20 @@ fn F() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc6_38 => constants.%require_complete.944 // CHECK:STDOUT: %require_complete.loc6_43 => constants.%require_complete.ef1 -// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.loc7_10.2 => constants.%ExplicitAndAlsoDeduced.specific_fn.fa2 +// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.loc7_10.2 => constants.%ExplicitAndAlsoDeduced.specific_fn.954 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ExplicitAndAlsoDeduced(constants.%A) { // CHECK:STDOUT: %T.loc6_28.1 => constants.%A -// CHECK:STDOUT: %pattern_type.loc6_38 => constants.%pattern_type.c81 -// CHECK:STDOUT: %ptr.loc6_47.1 => constants.%ptr.19d -// CHECK:STDOUT: %.loc6_47.1 => constants.%.bb7 -// CHECK:STDOUT: %pattern_type.loc6_47 => constants.%pattern_type.94e +// CHECK:STDOUT: %pattern_type.loc6_38 => constants.%pattern_type.ccb +// CHECK:STDOUT: %ptr.loc6_47.1 => constants.%ptr.cca +// CHECK:STDOUT: %.loc6_47.1 => constants.%.99a +// CHECK:STDOUT: %pattern_type.loc6_47 => constants.%pattern_type.b90 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc6_38 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc6_43 => constants.%complete_type.12e -// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.loc7_10.2 => constants.%ExplicitAndAlsoDeduced.specific_fn.d65 +// CHECK:STDOUT: %require_complete.loc6_43 => constants.%complete_type.7ae +// CHECK:STDOUT: %ExplicitAndAlsoDeduced.specific_fn.loc7_10.2 => constants.%ExplicitAndAlsoDeduced.specific_fn.828 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- deduce_implicit.carbon @@ -714,21 +714,21 @@ fn F() { // CHECK:STDOUT: %ImplicitGenericParam: %ImplicitGenericParam.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] -// CHECK:STDOUT: %ImplicitGenericParam.specific_fn.cc8: = specific_function %ImplicitGenericParam, @ImplicitGenericParam(%T) [symbolic] +// CHECK:STDOUT: %ImplicitGenericParam.specific_fn.792: = specific_function %ImplicitGenericParam, @ImplicitGenericParam(%T) [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %.793: Core.Form = init_form %ptr.143 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %.060: Core.Form = init_form %ptr.847 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] // CHECK:STDOUT: %CallImplicitGenericParam.type: type = fn_type @CallImplicitGenericParam [concrete] // CHECK:STDOUT: %CallImplicitGenericParam: %CallImplicitGenericParam.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %ImplicitGenericParam.specific_fn.2fa: = specific_function %ImplicitGenericParam, @ImplicitGenericParam(%i32) [concrete] -// CHECK:STDOUT: %complete_type.76e: = complete_type_witness %ptr.143 [concrete] +// CHECK:STDOUT: %ImplicitGenericParam.specific_fn.58d: = specific_function %ImplicitGenericParam, @ImplicitGenericParam(%i32) [concrete] +// CHECK:STDOUT: %complete_type.34c: = complete_type_witness %ptr.847 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -769,19 +769,19 @@ fn F() { // CHECK:STDOUT: %return: ref @ImplicitGenericParam.%ptr.loc4_45.1 (%ptr.e8f) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallImplicitGenericParam.decl: %CallImplicitGenericParam.type = fn_decl @CallImplicitGenericParam [concrete = constants.%CallImplicitGenericParam] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.663 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.663 = return_slot_pattern %return.param_patt, %ptr [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7b5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7b5 = return_slot_pattern %return.param_patt, %ptr [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc6_40: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc6_40 [concrete = constants.%ptr.143] -// CHECK:STDOUT: %.loc6: Core.Form = init_form %ptr [concrete = constants.%.793] +// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc6_40 [concrete = constants.%ptr.847] +// CHECK:STDOUT: %.loc6: Core.Form = init_form %ptr [concrete = constants.%.060] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc6_32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param -// CHECK:STDOUT: %return.param: ref %ptr.143 = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.143 = return_slot %return.param +// CHECK:STDOUT: %return.param: ref %ptr.847 = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.847 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -795,24 +795,24 @@ fn F() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc4_36: = require_complete_type %T.loc4_26.1 [symbolic = %require_complete.loc4_36 (constants.%require_complete.944)] // CHECK:STDOUT: %require_complete.loc4_41: = require_complete_type %ptr.loc4_45.1 [symbolic = %require_complete.loc4_41 (constants.%require_complete.ef1)] -// CHECK:STDOUT: %ImplicitGenericParam.specific_fn.loc4_56.2: = specific_function constants.%ImplicitGenericParam, @ImplicitGenericParam(%T.loc4_26.1) [symbolic = %ImplicitGenericParam.specific_fn.loc4_56.2 (constants.%ImplicitGenericParam.specific_fn.cc8)] +// CHECK:STDOUT: %ImplicitGenericParam.specific_fn.loc4_56.2: = specific_function constants.%ImplicitGenericParam, @ImplicitGenericParam(%T.loc4_26.1) [symbolic = %ImplicitGenericParam.specific_fn.loc4_56.2 (constants.%ImplicitGenericParam.specific_fn.792)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @ImplicitGenericParam.%T.loc4_26.1 (%T)) -> out %return.param: @ImplicitGenericParam.%ptr.loc4_45.1 (%ptr.e8f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %ImplicitGenericParam.ref: %ImplicitGenericParam.type = name_ref ImplicitGenericParam, file.%ImplicitGenericParam.decl [concrete = constants.%ImplicitGenericParam] // CHECK:STDOUT: %x.ref: @ImplicitGenericParam.%T.loc4_26.1 (%T) = name_ref x, %x -// CHECK:STDOUT: %ImplicitGenericParam.specific_fn.loc4_56.1: = specific_function %ImplicitGenericParam.ref, @ImplicitGenericParam(constants.%T) [symbolic = %ImplicitGenericParam.specific_fn.loc4_56.2 (constants.%ImplicitGenericParam.specific_fn.cc8)] +// CHECK:STDOUT: %ImplicitGenericParam.specific_fn.loc4_56.1: = specific_function %ImplicitGenericParam.ref, @ImplicitGenericParam(constants.%T) [symbolic = %ImplicitGenericParam.specific_fn.loc4_56.2 (constants.%ImplicitGenericParam.specific_fn.792)] // CHECK:STDOUT: %ImplicitGenericParam.call: init @ImplicitGenericParam.%ptr.loc4_45.1 (%ptr.e8f) = call %ImplicitGenericParam.specific_fn.loc4_56.1(%x.ref) // CHECK:STDOUT: return %ImplicitGenericParam.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @CallImplicitGenericParam(%n.param: %i32) -> out %return.param: %ptr.143 { +// CHECK:STDOUT: fn @CallImplicitGenericParam(%n.param: %i32) -> out %return.param: %ptr.847 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %ImplicitGenericParam.ref: %ImplicitGenericParam.type = name_ref ImplicitGenericParam, file.%ImplicitGenericParam.decl [concrete = constants.%ImplicitGenericParam] // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n -// CHECK:STDOUT: %ImplicitGenericParam.specific_fn: = specific_function %ImplicitGenericParam.ref, @ImplicitGenericParam(constants.%i32) [concrete = constants.%ImplicitGenericParam.specific_fn.2fa] -// CHECK:STDOUT: %ImplicitGenericParam.call: init %ptr.143 = call %ImplicitGenericParam.specific_fn(%n.ref) +// CHECK:STDOUT: %ImplicitGenericParam.specific_fn: = specific_function %ImplicitGenericParam.ref, @ImplicitGenericParam(constants.%i32) [concrete = constants.%ImplicitGenericParam.specific_fn.58d] +// CHECK:STDOUT: %ImplicitGenericParam.call: init %ptr.847 = call %ImplicitGenericParam.specific_fn(%n.ref) // CHECK:STDOUT: return %ImplicitGenericParam.call // CHECK:STDOUT: } // CHECK:STDOUT: @@ -826,20 +826,20 @@ fn F() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc4_36 => constants.%require_complete.944 // CHECK:STDOUT: %require_complete.loc4_41 => constants.%require_complete.ef1 -// CHECK:STDOUT: %ImplicitGenericParam.specific_fn.loc4_56.2 => constants.%ImplicitGenericParam.specific_fn.cc8 +// CHECK:STDOUT: %ImplicitGenericParam.specific_fn.loc4_56.2 => constants.%ImplicitGenericParam.specific_fn.792 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ImplicitGenericParam(constants.%i32) { // CHECK:STDOUT: %T.loc4_26.1 => constants.%i32 -// CHECK:STDOUT: %pattern_type.loc4_36 => constants.%pattern_type.c6b -// CHECK:STDOUT: %ptr.loc4_45.1 => constants.%ptr.143 -// CHECK:STDOUT: %.loc4_45.1 => constants.%.793 -// CHECK:STDOUT: %pattern_type.loc4_45 => constants.%pattern_type.663 +// CHECK:STDOUT: %pattern_type.loc4_36 => constants.%pattern_type.104 +// CHECK:STDOUT: %ptr.loc4_45.1 => constants.%ptr.847 +// CHECK:STDOUT: %.loc4_45.1 => constants.%.060 +// CHECK:STDOUT: %pattern_type.loc4_45 => constants.%pattern_type.7b5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc4_36 => constants.%complete_type.f8a -// CHECK:STDOUT: %require_complete.loc4_41 => constants.%complete_type.76e -// CHECK:STDOUT: %ImplicitGenericParam.specific_fn.loc4_56.2 => constants.%ImplicitGenericParam.specific_fn.2fa +// CHECK:STDOUT: %require_complete.loc4_41 => constants.%complete_type.34c +// CHECK:STDOUT: %ImplicitGenericParam.specific_fn.loc4_56.2 => constants.%ImplicitGenericParam.specific_fn.58d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- deduce_nested_tuple.carbon @@ -855,40 +855,40 @@ fn F() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.7e0: %tuple.type.24b = tuple_value (%T, %i32) [symbolic] -// CHECK:STDOUT: %tuple.type.ee8: type = tuple_type (%T, %i32) [symbolic] -// CHECK:STDOUT: %pattern_type.057: type = pattern_type %tuple.type.ee8 [symbolic] +// CHECK:STDOUT: %tuple.4f7: %tuple.type.24b = tuple_value (%T, %i32) [symbolic] +// CHECK:STDOUT: %tuple.type.499: type = tuple_type (%T, %i32) [symbolic] +// CHECK:STDOUT: %pattern_type.e3e: type = pattern_type %tuple.type.499 [symbolic] // CHECK:STDOUT: %TupleParam.type: type = fn_type @TupleParam [concrete] // CHECK:STDOUT: %TupleParam: %TupleParam.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.1ca: = require_complete_type %tuple.type.ee8 [symbolic] +// CHECK:STDOUT: %require_complete.3c2: = require_complete_type %tuple.type.499 [symbolic] // CHECK:STDOUT: %CallTupleParam.type: type = fn_type @CallTupleParam [concrete] // CHECK:STDOUT: %CallTupleParam: %CallTupleParam.type = struct_value () [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %tuple.type.f94: type = tuple_type (Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.ad8: %tuple.type.f94 = tuple_value (%int_1, %int_2.ecc) [concrete] -// CHECK:STDOUT: %tuple.759: %tuple.type.24b = tuple_value (Core.IntLiteral, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.ae7: type = tuple_type (Core.IntLiteral, %i32) [concrete] -// CHECK:STDOUT: %pattern_type.5e8: type = pattern_type %tuple.type.ae7 [concrete] +// CHECK:STDOUT: %tuple.e2d: %tuple.type.24b = tuple_value (Core.IntLiteral, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.35b: type = tuple_type (Core.IntLiteral, %i32) [concrete] +// CHECK:STDOUT: %pattern_type.7e7: type = pattern_type %tuple.type.35b [concrete] // CHECK:STDOUT: %TupleParam.specific_fn: = specific_function %TupleParam, @TupleParam(Core.IntLiteral) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %tuple.878: %tuple.type.ae7 = tuple_value (%int_1, %int_2.4ff) [concrete] -// CHECK:STDOUT: %complete_type.8e7: = complete_type_witness %tuple.type.ae7 [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %tuple.0cc: %tuple.type.35b = tuple_value (%int_1, %int_2.228) [concrete] +// CHECK:STDOUT: %complete_type.fbc: = complete_type_witness %tuple.type.35b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -899,9 +899,9 @@ fn F() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -913,36 +913,36 @@ fn F() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %TupleParam.decl: %TupleParam.type = fn_decl @TupleParam [concrete = constants.%TupleParam] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @TupleParam.%pattern_type (%pattern_type.057) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @TupleParam.%pattern_type (%pattern_type.057) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: @TupleParam.%pattern_type (%pattern_type.e3e) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @TupleParam.%pattern_type (%pattern_type.e3e) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_19.1: type = splice_block %.loc4_19.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc4_19.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc4_16.2: type = symbolic_binding T, 0 [symbolic = %T.loc4_16.1 (constants.%T)] -// CHECK:STDOUT: %x.param: @TupleParam.%tuple.type (%tuple.type.ee8) = value_param call_param0 -// CHECK:STDOUT: %.loc4_42.1: type = splice_block %.loc4_42.3 [symbolic = %tuple.type (constants.%tuple.type.ee8)] { +// CHECK:STDOUT: %x.param: @TupleParam.%tuple.type (%tuple.type.499) = value_param call_param0 +// CHECK:STDOUT: %.loc4_42.1: type = splice_block %.loc4_42.3 [symbolic = %tuple.type (constants.%tuple.type.499)] { // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc4_16.2 [symbolic = %T.loc4_16.1 (constants.%T)] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_42.2: %tuple.type.24b = tuple_literal (%T.ref, %i32) [symbolic = %tuple (constants.%tuple.7e0)] -// CHECK:STDOUT: %.loc4_42.3: type = converted %.loc4_42.2, constants.%tuple.type.ee8 [symbolic = %tuple.type (constants.%tuple.type.ee8)] +// CHECK:STDOUT: %.loc4_42.2: %tuple.type.24b = tuple_literal (%T.ref, %i32) [symbolic = %tuple (constants.%tuple.4f7)] +// CHECK:STDOUT: %.loc4_42.3: type = converted %.loc4_42.2, constants.%tuple.type.499 [symbolic = %tuple.type (constants.%tuple.type.499)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @TupleParam.%tuple.type (%tuple.type.ee8) = value_binding x, %x.param +// CHECK:STDOUT: %x: @TupleParam.%tuple.type (%tuple.type.499) = value_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallTupleParam.decl: %CallTupleParam.type = fn_decl @CallTupleParam [concrete = constants.%CallTupleParam] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @TupleParam(%T.loc4_16.2: type) { // CHECK:STDOUT: %T.loc4_16.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_16.1 (constants.%T)] -// CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%T.loc4_16.1, constants.%i32) [symbolic = %tuple (constants.%tuple.7e0)] -// CHECK:STDOUT: %tuple.type: type = tuple_type (%T.loc4_16.1, constants.%i32) [symbolic = %tuple.type (constants.%tuple.type.ee8)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %tuple.type [symbolic = %pattern_type (constants.%pattern_type.057)] +// CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%T.loc4_16.1, constants.%i32) [symbolic = %tuple (constants.%tuple.4f7)] +// CHECK:STDOUT: %tuple.type: type = tuple_type (%T.loc4_16.1, constants.%i32) [symbolic = %tuple.type (constants.%tuple.type.499)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %tuple.type [symbolic = %pattern_type (constants.%pattern_type.e3e)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %tuple.type [symbolic = %require_complete (constants.%require_complete.1ca)] +// CHECK:STDOUT: %require_complete: = require_complete_type %tuple.type [symbolic = %require_complete (constants.%require_complete.3c2)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @TupleParam.%tuple.type (%tuple.type.ee8)) { +// CHECK:STDOUT: fn(%x.param: @TupleParam.%tuple.type (%tuple.type.499)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -955,34 +955,34 @@ fn F() { // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc7_19.1: %tuple.type.f94 = tuple_literal (%int_1, %int_2) [concrete = constants.%tuple.ad8] // CHECK:STDOUT: %TupleParam.specific_fn: = specific_function %TupleParam.ref, @TupleParam(Core.IntLiteral) [concrete = constants.%TupleParam.specific_fn] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc7_19.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc7_19.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc7_19.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc7_19.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc7_19.3: %i32 = converted %int_2, %.loc7_19.2 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %tuple: %tuple.type.ae7 = tuple_value (%int_1, %.loc7_19.3) [concrete = constants.%tuple.878] -// CHECK:STDOUT: %.loc7_19.4: %tuple.type.ae7 = converted %.loc7_19.1, %tuple [concrete = constants.%tuple.878] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc7_19.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc7_19.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc7_19.3: %i32 = converted %int_2, %.loc7_19.2 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %tuple: %tuple.type.35b = tuple_value (%int_1, %.loc7_19.3) [concrete = constants.%tuple.0cc] +// CHECK:STDOUT: %.loc7_19.4: %tuple.type.35b = converted %.loc7_19.1, %tuple [concrete = constants.%tuple.0cc] // CHECK:STDOUT: %TupleParam.call: init %empty_tuple.type = call %TupleParam.specific_fn(%.loc7_19.4) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TupleParam(constants.%T) { // CHECK:STDOUT: %T.loc4_16.1 => constants.%T -// CHECK:STDOUT: %tuple => constants.%tuple.7e0 -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.ee8 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.057 +// CHECK:STDOUT: %tuple => constants.%tuple.4f7 +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.499 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e3e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TupleParam(Core.IntLiteral) { // CHECK:STDOUT: %T.loc4_16.1 => Core.IntLiteral -// CHECK:STDOUT: %tuple => constants.%tuple.759 -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.ae7 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5e8 +// CHECK:STDOUT: %tuple => constants.%tuple.e2d +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.35b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.7e7 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.8e7 +// CHECK:STDOUT: %require_complete => constants.%complete_type.fbc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- deduce_nested_struct.carbon @@ -997,38 +997,38 @@ fn F() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %struct_type.a.b.d36: type = struct_type {.a: %T, .b: %i32} [symbolic] -// CHECK:STDOUT: %pattern_type.9cb: type = pattern_type %struct_type.a.b.d36 [symbolic] +// CHECK:STDOUT: %struct_type.a.b.4cf: type = struct_type {.a: %T, .b: %i32} [symbolic] +// CHECK:STDOUT: %pattern_type.616: type = pattern_type %struct_type.a.b.4cf [symbolic] // CHECK:STDOUT: %StructParam.type: type = fn_type @StructParam [concrete] // CHECK:STDOUT: %StructParam: %StructParam.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.9f9: = require_complete_type %struct_type.a.b.d36 [symbolic] +// CHECK:STDOUT: %require_complete.481: = require_complete_type %struct_type.a.b.4cf [symbolic] // CHECK:STDOUT: %CallStructParam.type: type = fn_type @CallStructParam [concrete] // CHECK:STDOUT: %CallStructParam: %CallStructParam.type = struct_value () [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.4aa: %struct_type.a.b.cfd = struct_value (%int_1, %int_2.ecc) [concrete] -// CHECK:STDOUT: %struct_type.a.b.ff1: type = struct_type {.a: Core.IntLiteral, .b: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.5c0: type = pattern_type %struct_type.a.b.ff1 [concrete] +// CHECK:STDOUT: %struct_type.a.b.532: type = struct_type {.a: Core.IntLiteral, .b: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.5f9: type = pattern_type %struct_type.a.b.532 [concrete] // CHECK:STDOUT: %StructParam.specific_fn: = specific_function %StructParam, @StructParam(Core.IntLiteral) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %struct.b91: %struct_type.a.b.ff1 = struct_value (%int_1, %int_2.4ff) [concrete] -// CHECK:STDOUT: %complete_type.c02: = complete_type_witness %struct_type.a.b.ff1 [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %struct.1be: %struct_type.a.b.532 = struct_value (%int_1, %int_2.228) [concrete] +// CHECK:STDOUT: %complete_type.1ec: = complete_type_witness %struct_type.a.b.532 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1039,9 +1039,9 @@ fn F() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1053,34 +1053,34 @@ fn F() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %StructParam.decl: %StructParam.type = fn_decl @StructParam [concrete = constants.%StructParam] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @StructParam.%pattern_type (%pattern_type.9cb) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @StructParam.%pattern_type (%pattern_type.9cb) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: @StructParam.%pattern_type (%pattern_type.616) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @StructParam.%pattern_type (%pattern_type.616) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_20.1: type = splice_block %.loc4_20.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc4_20.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc4_17.2: type = symbolic_binding T, 0 [symbolic = %T.loc4_17.1 (constants.%T)] -// CHECK:STDOUT: %x.param: @StructParam.%struct_type.a.b.loc4_51.1 (%struct_type.a.b.d36) = value_param call_param0 -// CHECK:STDOUT: %.loc4_51: type = splice_block %struct_type.a.b.loc4_51.2 [symbolic = %struct_type.a.b.loc4_51.1 (constants.%struct_type.a.b.d36)] { +// CHECK:STDOUT: %x.param: @StructParam.%struct_type.a.b.loc4_51.1 (%struct_type.a.b.4cf) = value_param call_param0 +// CHECK:STDOUT: %.loc4_51: type = splice_block %struct_type.a.b.loc4_51.2 [symbolic = %struct_type.a.b.loc4_51.1 (constants.%struct_type.a.b.4cf)] { // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc4_17.2 [symbolic = %T.loc4_17.1 (constants.%T)] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b.loc4_51.2: type = struct_type {.a: @StructParam.%T.loc4_17.1 (%T), .b: %i32} [symbolic = %struct_type.a.b.loc4_51.1 (constants.%struct_type.a.b.d36)] +// CHECK:STDOUT: %struct_type.a.b.loc4_51.2: type = struct_type {.a: @StructParam.%T.loc4_17.1 (%T), .b: %i32} [symbolic = %struct_type.a.b.loc4_51.1 (constants.%struct_type.a.b.4cf)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @StructParam.%struct_type.a.b.loc4_51.1 (%struct_type.a.b.d36) = value_binding x, %x.param +// CHECK:STDOUT: %x: @StructParam.%struct_type.a.b.loc4_51.1 (%struct_type.a.b.4cf) = value_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: %CallStructParam.decl: %CallStructParam.type = fn_decl @CallStructParam [concrete = constants.%CallStructParam] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @StructParam(%T.loc4_17.2: type) { // CHECK:STDOUT: %T.loc4_17.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_17.1 (constants.%T)] -// CHECK:STDOUT: %struct_type.a.b.loc4_51.1: type = struct_type {.a: @StructParam.%T.loc4_17.1 (%T), .b: %i32} [symbolic = %struct_type.a.b.loc4_51.1 (constants.%struct_type.a.b.d36)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.a.b.loc4_51.1 [symbolic = %pattern_type (constants.%pattern_type.9cb)] +// CHECK:STDOUT: %struct_type.a.b.loc4_51.1: type = struct_type {.a: @StructParam.%T.loc4_17.1 (%T), .b: %i32} [symbolic = %struct_type.a.b.loc4_51.1 (constants.%struct_type.a.b.4cf)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.a.b.loc4_51.1 [symbolic = %pattern_type (constants.%pattern_type.616)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.a.b.loc4_51.1 [symbolic = %require_complete (constants.%require_complete.9f9)] +// CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.a.b.loc4_51.1 [symbolic = %require_complete (constants.%require_complete.481)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @StructParam.%struct_type.a.b.loc4_51.1 (%struct_type.a.b.d36)) { +// CHECK:STDOUT: fn(%x.param: @StructParam.%struct_type.a.b.loc4_51.1 (%struct_type.a.b.4cf)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1093,32 +1093,32 @@ fn F() { // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc7_30.1: %struct_type.a.b.cfd = struct_literal (%int_1, %int_2) [concrete = constants.%struct.4aa] // CHECK:STDOUT: %StructParam.specific_fn: = specific_function %StructParam.ref, @StructParam(Core.IntLiteral) [concrete = constants.%StructParam.specific_fn] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc7_30.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc7_30.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc7_30.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc7_30.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc7_30.3: %i32 = converted %int_2, %.loc7_30.2 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %struct: %struct_type.a.b.ff1 = struct_value (%int_1, %.loc7_30.3) [concrete = constants.%struct.b91] -// CHECK:STDOUT: %.loc7_30.4: %struct_type.a.b.ff1 = converted %.loc7_30.1, %struct [concrete = constants.%struct.b91] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc7_30.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc7_30.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc7_30.3: %i32 = converted %int_2, %.loc7_30.2 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %struct: %struct_type.a.b.532 = struct_value (%int_1, %.loc7_30.3) [concrete = constants.%struct.1be] +// CHECK:STDOUT: %.loc7_30.4: %struct_type.a.b.532 = converted %.loc7_30.1, %struct [concrete = constants.%struct.1be] // CHECK:STDOUT: %StructParam.call: init %empty_tuple.type = call %StructParam.specific_fn(%.loc7_30.4) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @StructParam(constants.%T) { // CHECK:STDOUT: %T.loc4_17.1 => constants.%T -// CHECK:STDOUT: %struct_type.a.b.loc4_51.1 => constants.%struct_type.a.b.d36 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9cb +// CHECK:STDOUT: %struct_type.a.b.loc4_51.1 => constants.%struct_type.a.b.4cf +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.616 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @StructParam(Core.IntLiteral) { // CHECK:STDOUT: %T.loc4_17.1 => Core.IntLiteral -// CHECK:STDOUT: %struct_type.a.b.loc4_51.1 => constants.%struct_type.a.b.ff1 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5c0 +// CHECK:STDOUT: %struct_type.a.b.loc4_51.1 => constants.%struct_type.a.b.532 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5f9 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.c02 +// CHECK:STDOUT: %require_complete => constants.%complete_type.1ec // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_deduce_bigger_struct.carbon @@ -1133,10 +1133,10 @@ fn F() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.c.d.e: type = struct_type {.c: %T, .d: %i32, .e: %i32} [symbolic] -// CHECK:STDOUT: %pattern_type.c80: type = pattern_type %struct_type.c.d.e [symbolic] +// CHECK:STDOUT: %pattern_type.0a7: type = pattern_type %struct_type.c.d.e [symbolic] // CHECK:STDOUT: %BigStructParam.type: type = fn_type @BigStructParam [concrete] // CHECK:STDOUT: %BigStructParam: %BigStructParam.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.707: = require_complete_type %struct_type.c.d.e [symbolic] +// CHECK:STDOUT: %require_complete.ce1: = require_complete_type %struct_type.c.d.e [symbolic] // CHECK:STDOUT: %CallBigStructParam.type: type = fn_type @CallBigStructParam [concrete] // CHECK:STDOUT: %CallBigStructParam: %CallBigStructParam.type = struct_value () [concrete] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete] @@ -1163,8 +1163,8 @@ fn F() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %BigStructParam.decl: %BigStructParam.type = fn_decl @BigStructParam [concrete = constants.%BigStructParam] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @BigStructParam.%pattern_type (%pattern_type.c80) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @BigStructParam.%pattern_type (%pattern_type.c80) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: @BigStructParam.%pattern_type (%pattern_type.0a7) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @BigStructParam.%pattern_type (%pattern_type.0a7) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_23.1: type = splice_block %.loc4_23.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1186,10 +1186,10 @@ fn F() { // CHECK:STDOUT: generic fn @BigStructParam(%T.loc4_20.2: type) { // CHECK:STDOUT: %T.loc4_20.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_20.1 (constants.%T)] // CHECK:STDOUT: %struct_type.c.d.e.loc4_63.1: type = struct_type {.c: @BigStructParam.%T.loc4_20.1 (%T), .d: %i32, .e: %i32} [symbolic = %struct_type.c.d.e.loc4_63.1 (constants.%struct_type.c.d.e)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.c.d.e.loc4_63.1 [symbolic = %pattern_type (constants.%pattern_type.c80)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.c.d.e.loc4_63.1 [symbolic = %pattern_type (constants.%pattern_type.0a7)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.c.d.e.loc4_63.1 [symbolic = %require_complete (constants.%require_complete.707)] +// CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.c.d.e.loc4_63.1 [symbolic = %require_complete (constants.%require_complete.ce1)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @BigStructParam.%struct_type.c.d.e.loc4_63.1 (%struct_type.c.d.e)) { // CHECK:STDOUT: !entry: @@ -1209,7 +1209,7 @@ fn F() { // CHECK:STDOUT: specific @BigStructParam(constants.%T) { // CHECK:STDOUT: %T.loc4_20.1 => constants.%T // CHECK:STDOUT: %struct_type.c.d.e.loc4_63.1 => constants.%struct_type.c.d.e -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c80 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0a7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_deduce_smaller_struct.carbon @@ -1224,10 +1224,10 @@ fn F() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.f.g: type = struct_type {.f: %T, .g: %i32} [symbolic] -// CHECK:STDOUT: %pattern_type.685: type = pattern_type %struct_type.f.g [symbolic] +// CHECK:STDOUT: %pattern_type.6b9: type = pattern_type %struct_type.f.g [symbolic] // CHECK:STDOUT: %SmallStructParam.type: type = fn_type @SmallStructParam [concrete] // CHECK:STDOUT: %SmallStructParam: %SmallStructParam.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.5e9: = require_complete_type %struct_type.f.g [symbolic] +// CHECK:STDOUT: %require_complete.a59: = require_complete_type %struct_type.f.g [symbolic] // CHECK:STDOUT: %CallSmallStructParam.type: type = fn_type @CallSmallStructParam [concrete] // CHECK:STDOUT: %CallSmallStructParam: %CallSmallStructParam.type = struct_value () [concrete] // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete] @@ -1255,8 +1255,8 @@ fn F() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %SmallStructParam.decl: %SmallStructParam.type = fn_decl @SmallStructParam [concrete = constants.%SmallStructParam] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @SmallStructParam.%pattern_type (%pattern_type.685) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @SmallStructParam.%pattern_type (%pattern_type.685) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: @SmallStructParam.%pattern_type (%pattern_type.6b9) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @SmallStructParam.%pattern_type (%pattern_type.6b9) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_25.1: type = splice_block %.loc4_25.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1277,10 +1277,10 @@ fn F() { // CHECK:STDOUT: generic fn @SmallStructParam(%T.loc4_22.2: type) { // CHECK:STDOUT: %T.loc4_22.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_22.1 (constants.%T)] // CHECK:STDOUT: %struct_type.f.g.loc4_56.1: type = struct_type {.f: @SmallStructParam.%T.loc4_22.1 (%T), .g: %i32} [symbolic = %struct_type.f.g.loc4_56.1 (constants.%struct_type.f.g)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.f.g.loc4_56.1 [symbolic = %pattern_type (constants.%pattern_type.685)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.f.g.loc4_56.1 [symbolic = %pattern_type (constants.%pattern_type.6b9)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.f.g.loc4_56.1 [symbolic = %require_complete (constants.%require_complete.5e9)] +// CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.f.g.loc4_56.1 [symbolic = %require_complete (constants.%require_complete.a59)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @SmallStructParam.%struct_type.f.g.loc4_56.1 (%struct_type.f.g)) { // CHECK:STDOUT: !entry: @@ -1301,7 +1301,7 @@ fn F() { // CHECK:STDOUT: specific @SmallStructParam(constants.%T) { // CHECK:STDOUT: %T.loc4_22.1 => constants.%T // CHECK:STDOUT: %struct_type.f.g.loc4_56.1 => constants.%struct_type.f.g -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.685 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.6b9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_deduce_struct_wrong_name.carbon @@ -1316,10 +1316,10 @@ fn F() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.i.different: type = struct_type {.i: %T, .different: %i32} [symbolic] -// CHECK:STDOUT: %pattern_type.68b: type = pattern_type %struct_type.i.different [symbolic] +// CHECK:STDOUT: %pattern_type.573: type = pattern_type %struct_type.i.different [symbolic] // CHECK:STDOUT: %WrongNameStructParam.type: type = fn_type @WrongNameStructParam [concrete] // CHECK:STDOUT: %WrongNameStructParam: %WrongNameStructParam.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.64d: = require_complete_type %struct_type.i.different [symbolic] +// CHECK:STDOUT: %require_complete.8fe: = require_complete_type %struct_type.i.different [symbolic] // CHECK:STDOUT: %CallWrongNameStructParam.type: type = fn_type @CallWrongNameStructParam [concrete] // CHECK:STDOUT: %CallWrongNameStructParam: %CallWrongNameStructParam.type = struct_value () [concrete] // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete] @@ -1346,8 +1346,8 @@ fn F() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %WrongNameStructParam.decl: %WrongNameStructParam.type = fn_decl @WrongNameStructParam [concrete = constants.%WrongNameStructParam] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @WrongNameStructParam.%pattern_type (%pattern_type.68b) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @WrongNameStructParam.%pattern_type (%pattern_type.68b) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: @WrongNameStructParam.%pattern_type (%pattern_type.573) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @WrongNameStructParam.%pattern_type (%pattern_type.573) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_29.1: type = splice_block %.loc4_29.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1368,10 +1368,10 @@ fn F() { // CHECK:STDOUT: generic fn @WrongNameStructParam(%T.loc4_26.2: type) { // CHECK:STDOUT: %T.loc4_26.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_26.1 (constants.%T)] // CHECK:STDOUT: %struct_type.i.different.loc4_68.1: type = struct_type {.i: @WrongNameStructParam.%T.loc4_26.1 (%T), .different: %i32} [symbolic = %struct_type.i.different.loc4_68.1 (constants.%struct_type.i.different)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.i.different.loc4_68.1 [symbolic = %pattern_type (constants.%pattern_type.68b)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.i.different.loc4_68.1 [symbolic = %pattern_type (constants.%pattern_type.573)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.i.different.loc4_68.1 [symbolic = %require_complete (constants.%require_complete.64d)] +// CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.i.different.loc4_68.1 [symbolic = %require_complete (constants.%require_complete.8fe)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @WrongNameStructParam.%struct_type.i.different.loc4_68.1 (%struct_type.i.different)) { // CHECK:STDOUT: !entry: @@ -1391,7 +1391,7 @@ fn F() { // CHECK:STDOUT: specific @WrongNameStructParam(constants.%T) { // CHECK:STDOUT: %T.loc4_26.1 => constants.%T // CHECK:STDOUT: %struct_type.i.different.loc4_68.1 => constants.%struct_type.i.different -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.68b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.573 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_deduce_struct_wrong_order.carbon @@ -1399,17 +1399,17 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] +// CHECK:STDOUT: %pattern_type.98f12: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.first.second: type = struct_type {.first: %T, .second: %i32} [symbolic] -// CHECK:STDOUT: %pattern_type.1a4: type = pattern_type %struct_type.first.second [symbolic] +// CHECK:STDOUT: %pattern_type.98f1f: type = pattern_type %struct_type.first.second [symbolic] // CHECK:STDOUT: %WrongOrderStructParam.type: type = fn_type @WrongOrderStructParam [concrete] // CHECK:STDOUT: %WrongOrderStructParam: %WrongOrderStructParam.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.075: = require_complete_type %struct_type.first.second [symbolic] +// CHECK:STDOUT: %require_complete.18a: = require_complete_type %struct_type.first.second [symbolic] // CHECK:STDOUT: %CallWrongOrderStructParam.type: type = fn_type @CallWrongOrderStructParam [concrete] // CHECK:STDOUT: %CallWrongOrderStructParam: %CallWrongOrderStructParam.type = struct_value () [concrete] // CHECK:STDOUT: %int_11: Core.IntLiteral = int_value 11 [concrete] @@ -1435,9 +1435,9 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %WrongOrderStructParam.decl: %WrongOrderStructParam.type = fn_decl @WrongOrderStructParam [concrete = constants.%WrongOrderStructParam] { -// CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @WrongOrderStructParam.%pattern_type (%pattern_type.1a4) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @WrongOrderStructParam.%pattern_type (%pattern_type.1a4) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.98f12 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @WrongOrderStructParam.%pattern_type (%pattern_type.98f1f) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @WrongOrderStructParam.%pattern_type (%pattern_type.98f1f) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_30.1: type = splice_block %.loc4_30.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1458,10 +1458,10 @@ fn F() { // CHECK:STDOUT: generic fn @WrongOrderStructParam(%T.loc4_27.2: type) { // CHECK:STDOUT: %T.loc4_27.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_27.1 (constants.%T)] // CHECK:STDOUT: %struct_type.first.second.loc4_70.1: type = struct_type {.first: @WrongOrderStructParam.%T.loc4_27.1 (%T), .second: %i32} [symbolic = %struct_type.first.second.loc4_70.1 (constants.%struct_type.first.second)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.first.second.loc4_70.1 [symbolic = %pattern_type (constants.%pattern_type.1a4)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.first.second.loc4_70.1 [symbolic = %pattern_type (constants.%pattern_type.98f1f)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.first.second.loc4_70.1 [symbolic = %require_complete (constants.%require_complete.075)] +// CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.first.second.loc4_70.1 [symbolic = %require_complete (constants.%require_complete.18a)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @WrongOrderStructParam.%struct_type.first.second.loc4_70.1 (%struct_type.first.second)) { // CHECK:STDOUT: !entry: @@ -1481,7 +1481,7 @@ fn F() { // CHECK:STDOUT: specific @WrongOrderStructParam(constants.%T) { // CHECK:STDOUT: %T.loc4_27.1 => constants.%T // CHECK:STDOUT: %struct_type.first.second.loc4_70.1 => constants.%struct_type.first.second -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.1a4 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.98f1f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_deduce_incomplete.carbon @@ -1662,37 +1662,37 @@ fn F() { // CHECK:STDOUT: %EE: type = class_type @EE [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %Z.impl_witness.56b: = impl_witness @EE.as.Z.impl.%Z.impl_witness_table [concrete] -// CHECK:STDOUT: %Z.facet.f8c: %Z.type = facet_value %EE, (%Z.impl_witness.56b) [concrete] +// CHECK:STDOUT: %Z.impl_witness.fa4: = impl_witness @EE.as.Z.impl.%Z.impl_witness_table [concrete] +// CHECK:STDOUT: %Z.facet.6b9: %Z.type = facet_value %EE, (%Z.impl_witness.fa4) [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %E: type = symbolic_binding E, 0 [symbolic] // CHECK:STDOUT: %DD.type: type = generic_class_type @DD [concrete] // CHECK:STDOUT: %DD.generic: %DD.type = struct_value () [concrete] -// CHECK:STDOUT: %DD.176: type = class_type @DD, @DD(%E) [symbolic] -// CHECK:STDOUT: %Z.impl_witness.9fb: = impl_witness @DD.as.Z.impl.%Z.impl_witness_table, @DD.as.Z.impl(%E) [symbolic] -// CHECK:STDOUT: %Z.facet.c85: %Z.type = facet_value %DD.176, (%Z.impl_witness.9fb) [symbolic] -// CHECK:STDOUT: %pattern_type.0af: type = pattern_type %Z.type [concrete] +// CHECK:STDOUT: %DD.225: type = class_type @DD, @DD(%E) [symbolic] +// CHECK:STDOUT: %Z.impl_witness.07e: = impl_witness @DD.as.Z.impl.%Z.impl_witness_table, @DD.as.Z.impl(%E) [symbolic] +// CHECK:STDOUT: %Z.facet.080: %Z.type = facet_value %DD.225, (%Z.impl_witness.07e) [symbolic] +// CHECK:STDOUT: %pattern_type.461: type = pattern_type %Z.type [concrete] // CHECK:STDOUT: %D: %Z.type = symbolic_binding D, 0 [symbolic] // CHECK:STDOUT: %CC.type: type = generic_class_type @CC [concrete] // CHECK:STDOUT: %CC.generic: %CC.type = struct_value () [concrete] -// CHECK:STDOUT: %CC.84a: type = class_type @CC, @CC(%D) [symbolic] -// CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %DD.176, @Z [symbolic] -// CHECK:STDOUT: %.c1e: require_specific_def_type = require_specific_def @DD.as.Z.impl(%E) [symbolic] -// CHECK:STDOUT: %Z.facet.6d8: %Z.type = facet_value %DD.176, (%Z.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %CC.826: type = class_type @CC, @CC(%Z.facet.6d8) [symbolic] -// CHECK:STDOUT: %Z.impl_witness.59c: = impl_witness @CC.as.Z.impl.%Z.impl_witness_table, @CC.as.Z.impl(%E) [symbolic] -// CHECK:STDOUT: %Z.facet.6aa: %Z.type = facet_value %CC.826, (%Z.impl_witness.59c) [symbolic] +// CHECK:STDOUT: %CC.573: type = class_type @CC, @CC(%D) [symbolic] +// CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %DD.225, @Z [symbolic] +// CHECK:STDOUT: %.b77: require_specific_def_type = require_specific_def @DD.as.Z.impl(%E) [symbolic] +// CHECK:STDOUT: %Z.facet.1d7: %Z.type = facet_value %DD.225, (%Z.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %CC.ceb: type = class_type @CC, @CC(%Z.facet.1d7) [symbolic] +// CHECK:STDOUT: %Z.impl_witness.9ea: = impl_witness @CC.as.Z.impl.%Z.impl_witness_table, @CC.as.Z.impl(%E) [symbolic] +// CHECK:STDOUT: %Z.facet.483: %Z.type = facet_value %CC.ceb, (%Z.impl_witness.9ea) [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %DD.e6f: type = class_type @DD, @DD(%EE) [concrete] -// CHECK:STDOUT: %Z.impl_witness.79b: = impl_witness @DD.as.Z.impl.%Z.impl_witness_table, @DD.as.Z.impl(%EE) [concrete] -// CHECK:STDOUT: %.0a1: require_specific_def_type = require_specific_def @DD.as.Z.impl(%EE) [concrete] -// CHECK:STDOUT: %Z.facet.47a: %Z.type = facet_value %DD.e6f, (%Z.impl_witness.79b) [concrete] -// CHECK:STDOUT: %CC.d95: type = class_type @CC, @CC(%Z.facet.47a) [concrete] -// CHECK:STDOUT: %Z.impl_witness.2c6: = impl_witness @CC.as.Z.impl.%Z.impl_witness_table, @CC.as.Z.impl(%EE) [concrete] -// CHECK:STDOUT: %Z.facet.8de: %Z.type = facet_value %CC.d95, (%Z.impl_witness.2c6) [concrete] +// CHECK:STDOUT: %DD.72f: type = class_type @DD, @DD(%EE) [concrete] +// CHECK:STDOUT: %Z.impl_witness.6ce: = impl_witness @DD.as.Z.impl.%Z.impl_witness_table, @DD.as.Z.impl(%EE) [concrete] +// CHECK:STDOUT: %.57f: require_specific_def_type = require_specific_def @DD.as.Z.impl(%EE) [concrete] +// CHECK:STDOUT: %Z.facet.9ec: %Z.type = facet_value %DD.72f, (%Z.impl_witness.6ce) [concrete] +// CHECK:STDOUT: %CC.42c: type = class_type @CC, @CC(%Z.facet.9ec) [concrete] +// CHECK:STDOUT: %Z.impl_witness.4da: = impl_witness @CC.as.Z.impl.%Z.impl_witness_table, @CC.as.Z.impl(%EE) [concrete] +// CHECK:STDOUT: %Z.facet.6a0: %Z.type = facet_value %CC.42c, (%Z.impl_witness.4da) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1732,7 +1732,7 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: %DD.ref: %DD.type = name_ref DD, file.%DD.decl [concrete = constants.%DD.generic] // CHECK:STDOUT: %E.ref: type = name_ref E, %E.loc9_15.1 [symbolic = %E.loc9_15.2 (constants.%E)] -// CHECK:STDOUT: %DD.loc9_28.1: type = class_type @DD, @DD(constants.%E) [symbolic = %DD.loc9_28.2 (constants.%DD.176)] +// CHECK:STDOUT: %DD.loc9_28.1: type = class_type @DD, @DD(constants.%E) [symbolic = %DD.loc9_28.2 (constants.%DD.225)] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] // CHECK:STDOUT: %.loc9_18.1: type = splice_block %.loc9_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1741,7 +1741,7 @@ fn F() { // CHECK:STDOUT: %E.loc9_15.1: type = symbolic_binding E, 0 [symbolic = %E.loc9_15.2 (constants.%E)] // CHECK:STDOUT: } // CHECK:STDOUT: %CC.decl: %CC.type = class_decl @CC [concrete = constants.%CC.generic] { -// CHECK:STDOUT: %D.patt: %pattern_type.0af = symbolic_binding_pattern D, 0 [concrete] +// CHECK:STDOUT: %D.patt: %pattern_type.461 = symbolic_binding_pattern D, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc11: type = splice_block %Z.ref [concrete = constants.%Z.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1755,10 +1755,10 @@ fn F() { // CHECK:STDOUT: %CC.ref: %CC.type = name_ref CC, file.%CC.decl [concrete = constants.%CC.generic] // CHECK:STDOUT: %DD.ref: %DD.type = name_ref DD, file.%DD.decl [concrete = constants.%DD.generic] // CHECK:STDOUT: %E.ref: type = name_ref E, %E.loc12_15.1 [symbolic = %E.loc12_15.2 (constants.%E)] -// CHECK:STDOUT: %DD.loc12_31.1: type = class_type @DD, @DD(constants.%E) [symbolic = %DD.loc12_31.2 (constants.%DD.176)] -// CHECK:STDOUT: %Z.facet.loc12_32.1: %Z.type = facet_value %DD.loc12_31.1, (constants.%Z.lookup_impl_witness) [symbolic = %Z.facet.loc12_32.2 (constants.%Z.facet.6d8)] -// CHECK:STDOUT: %.loc12_32.1: %Z.type = converted %DD.loc12_31.1, %Z.facet.loc12_32.1 [symbolic = %Z.facet.loc12_32.2 (constants.%Z.facet.6d8)] -// CHECK:STDOUT: %CC.loc12_32.1: type = class_type @CC, @CC(constants.%Z.facet.6d8) [symbolic = %CC.loc12_32.2 (constants.%CC.826)] +// CHECK:STDOUT: %DD.loc12_31.1: type = class_type @DD, @DD(constants.%E) [symbolic = %DD.loc12_31.2 (constants.%DD.225)] +// CHECK:STDOUT: %Z.facet.loc12_32.1: %Z.type = facet_value %DD.loc12_31.1, (constants.%Z.lookup_impl_witness) [symbolic = %Z.facet.loc12_32.2 (constants.%Z.facet.1d7)] +// CHECK:STDOUT: %.loc12_32.1: %Z.type = converted %DD.loc12_31.1, %Z.facet.loc12_32.1 [symbolic = %Z.facet.loc12_32.2 (constants.%Z.facet.1d7)] +// CHECK:STDOUT: %CC.loc12_32.1: type = class_type @CC, @CC(constants.%Z.facet.1d7) [symbolic = %CC.loc12_32.2 (constants.%CC.ceb)] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] // CHECK:STDOUT: %.loc12_18.1: type = splice_block %.loc12_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1782,7 +1782,7 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: impl @EE.as.Z.impl: %EE.ref as %Z.ref { // CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (), @EE.as.Z.impl [concrete] -// CHECK:STDOUT: %Z.impl_witness: = impl_witness %Z.impl_witness_table [concrete = constants.%Z.impl_witness.56b] +// CHECK:STDOUT: %Z.impl_witness: = impl_witness %Z.impl_witness_table [concrete = constants.%Z.impl_witness.fa4] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %Z.ref @@ -1791,14 +1791,14 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @DD.as.Z.impl(%E.loc9_15.1: type) { // CHECK:STDOUT: %E.loc9_15.2: type = symbolic_binding E, 0 [symbolic = %E.loc9_15.2 (constants.%E)] -// CHECK:STDOUT: %DD.loc9_28.2: type = class_type @DD, @DD(%E.loc9_15.2) [symbolic = %DD.loc9_28.2 (constants.%DD.176)] -// CHECK:STDOUT: %Z.impl_witness.loc9_35.2: = impl_witness %Z.impl_witness_table, @DD.as.Z.impl(%E.loc9_15.2) [symbolic = %Z.impl_witness.loc9_35.2 (constants.%Z.impl_witness.9fb)] +// CHECK:STDOUT: %DD.loc9_28.2: type = class_type @DD, @DD(%E.loc9_15.2) [symbolic = %DD.loc9_28.2 (constants.%DD.225)] +// CHECK:STDOUT: %Z.impl_witness.loc9_35.2: = impl_witness %Z.impl_witness_table, @DD.as.Z.impl(%E.loc9_15.2) [symbolic = %Z.impl_witness.loc9_35.2 (constants.%Z.impl_witness.07e)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: impl: %DD.loc9_28.1 as %Z.ref { // CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (), @DD.as.Z.impl [concrete] -// CHECK:STDOUT: %Z.impl_witness.loc9_35.1: = impl_witness %Z.impl_witness_table, @DD.as.Z.impl(constants.%E) [symbolic = %Z.impl_witness.loc9_35.2 (constants.%Z.impl_witness.9fb)] +// CHECK:STDOUT: %Z.impl_witness.loc9_35.1: = impl_witness %Z.impl_witness_table, @DD.as.Z.impl(constants.%E) [symbolic = %Z.impl_witness.loc9_35.2 (constants.%Z.impl_witness.07e)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %Z.ref @@ -1808,18 +1808,18 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @CC.as.Z.impl(%E.loc12_15.1: type) { // CHECK:STDOUT: %E.loc12_15.2: type = symbolic_binding E, 0 [symbolic = %E.loc12_15.2 (constants.%E)] -// CHECK:STDOUT: %DD.loc12_31.2: type = class_type @DD, @DD(%E.loc12_15.2) [symbolic = %DD.loc12_31.2 (constants.%DD.176)] -// CHECK:STDOUT: %.loc12_32.2: require_specific_def_type = require_specific_def @DD.as.Z.impl(%E.loc12_15.2) [symbolic = %.loc12_32.2 (constants.%.c1e)] +// CHECK:STDOUT: %DD.loc12_31.2: type = class_type @DD, @DD(%E.loc12_15.2) [symbolic = %DD.loc12_31.2 (constants.%DD.225)] +// CHECK:STDOUT: %.loc12_32.2: require_specific_def_type = require_specific_def @DD.as.Z.impl(%E.loc12_15.2) [symbolic = %.loc12_32.2 (constants.%.b77)] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %DD.loc12_31.2, @Z [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness)] -// CHECK:STDOUT: %Z.facet.loc12_32.2: %Z.type = facet_value %DD.loc12_31.2, (%Z.lookup_impl_witness) [symbolic = %Z.facet.loc12_32.2 (constants.%Z.facet.6d8)] -// CHECK:STDOUT: %CC.loc12_32.2: type = class_type @CC, @CC(%Z.facet.loc12_32.2) [symbolic = %CC.loc12_32.2 (constants.%CC.826)] -// CHECK:STDOUT: %Z.impl_witness.loc12_39.2: = impl_witness %Z.impl_witness_table, @CC.as.Z.impl(%E.loc12_15.2) [symbolic = %Z.impl_witness.loc12_39.2 (constants.%Z.impl_witness.59c)] +// CHECK:STDOUT: %Z.facet.loc12_32.2: %Z.type = facet_value %DD.loc12_31.2, (%Z.lookup_impl_witness) [symbolic = %Z.facet.loc12_32.2 (constants.%Z.facet.1d7)] +// CHECK:STDOUT: %CC.loc12_32.2: type = class_type @CC, @CC(%Z.facet.loc12_32.2) [symbolic = %CC.loc12_32.2 (constants.%CC.ceb)] +// CHECK:STDOUT: %Z.impl_witness.loc12_39.2: = impl_witness %Z.impl_witness_table, @CC.as.Z.impl(%E.loc12_15.2) [symbolic = %Z.impl_witness.loc12_39.2 (constants.%Z.impl_witness.9ea)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: impl: %CC.loc12_32.1 as %Z.ref { // CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (), @CC.as.Z.impl [concrete] -// CHECK:STDOUT: %Z.impl_witness.loc12_39.1: = impl_witness %Z.impl_witness_table, @CC.as.Z.impl(constants.%E) [symbolic = %Z.impl_witness.loc12_39.2 (constants.%Z.impl_witness.59c)] +// CHECK:STDOUT: %Z.impl_witness.loc12_39.1: = impl_witness %Z.impl_witness_table, @CC.as.Z.impl(constants.%E) [symbolic = %Z.impl_witness.loc12_39.2 (constants.%Z.impl_witness.9ea)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %Z.ref @@ -1845,7 +1845,7 @@ fn F() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%DD.176 +// CHECK:STDOUT: .Self = constants.%DD.225 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1859,7 +1859,7 @@ fn F() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%CC.84a +// CHECK:STDOUT: .Self = constants.%CC.573 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1868,13 +1868,13 @@ fn F() { // CHECK:STDOUT: %CC.ref: %CC.type = name_ref CC, file.%CC.decl [concrete = constants.%CC.generic] // CHECK:STDOUT: %DD.ref: %DD.type = name_ref DD, file.%DD.decl [concrete = constants.%DD.generic] // CHECK:STDOUT: %EE.ref: type = name_ref EE, file.%EE.decl [concrete = constants.%EE] -// CHECK:STDOUT: %DD: type = class_type @DD, @DD(constants.%EE) [concrete = constants.%DD.e6f] -// CHECK:STDOUT: %Z.facet.loc15_12: %Z.type = facet_value %DD, (constants.%Z.impl_witness.79b) [concrete = constants.%Z.facet.47a] -// CHECK:STDOUT: %.loc15_12: %Z.type = converted %DD, %Z.facet.loc15_12 [concrete = constants.%Z.facet.47a] -// CHECK:STDOUT: %CC: type = class_type @CC, @CC(constants.%Z.facet.47a) [concrete = constants.%CC.d95] +// CHECK:STDOUT: %DD: type = class_type @DD, @DD(constants.%EE) [concrete = constants.%DD.72f] +// CHECK:STDOUT: %Z.facet.loc15_12: %Z.type = facet_value %DD, (constants.%Z.impl_witness.6ce) [concrete = constants.%Z.facet.9ec] +// CHECK:STDOUT: %.loc15_12: %Z.type = converted %DD, %Z.facet.loc15_12 [concrete = constants.%Z.facet.9ec] +// CHECK:STDOUT: %CC: type = class_type @CC, @CC(constants.%Z.facet.9ec) [concrete = constants.%CC.42c] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] -// CHECK:STDOUT: %Z.facet.loc15_14: %Z.type = facet_value %CC, (constants.%Z.impl_witness.2c6) [concrete = constants.%Z.facet.8de] -// CHECK:STDOUT: %.loc15_14: %Z.type = converted %CC, %Z.facet.loc15_14 [concrete = constants.%Z.facet.8de] +// CHECK:STDOUT: %Z.facet.loc15_14: %Z.type = facet_value %CC, (constants.%Z.impl_witness.4da) [concrete = constants.%Z.facet.6a0] +// CHECK:STDOUT: %.loc15_14: %Z.type = converted %CC, %Z.facet.loc15_14 [concrete = constants.%Z.facet.6a0] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1882,7 +1882,7 @@ fn F() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet.f8c) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet.6b9) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1892,13 +1892,13 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: specific @DD.as.Z.impl(constants.%E) { // CHECK:STDOUT: %E.loc9_15.2 => constants.%E -// CHECK:STDOUT: %DD.loc9_28.2 => constants.%DD.176 -// CHECK:STDOUT: %Z.impl_witness.loc9_35.2 => constants.%Z.impl_witness.9fb +// CHECK:STDOUT: %DD.loc9_28.2 => constants.%DD.225 +// CHECK:STDOUT: %Z.impl_witness.loc9_35.2 => constants.%Z.impl_witness.07e // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet.c85) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet.080) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1906,21 +1906,21 @@ fn F() { // CHECK:STDOUT: %D.loc11_11.1 => constants.%D // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @CC(constants.%Z.facet.6d8) { -// CHECK:STDOUT: %D.loc11_11.1 => constants.%Z.facet.6d8 +// CHECK:STDOUT: specific @CC(constants.%Z.facet.1d7) { +// CHECK:STDOUT: %D.loc11_11.1 => constants.%Z.facet.1d7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CC.as.Z.impl(constants.%E) { // CHECK:STDOUT: %E.loc12_15.2 => constants.%E -// CHECK:STDOUT: %DD.loc12_31.2 => constants.%DD.176 -// CHECK:STDOUT: %.loc12_32.2 => constants.%.c1e +// CHECK:STDOUT: %DD.loc12_31.2 => constants.%DD.225 +// CHECK:STDOUT: %.loc12_32.2 => constants.%.b77 // CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.lookup_impl_witness -// CHECK:STDOUT: %Z.facet.loc12_32.2 => constants.%Z.facet.6d8 -// CHECK:STDOUT: %CC.loc12_32.2 => constants.%CC.826 -// CHECK:STDOUT: %Z.impl_witness.loc12_39.2 => constants.%Z.impl_witness.59c +// CHECK:STDOUT: %Z.facet.loc12_32.2 => constants.%Z.facet.1d7 +// CHECK:STDOUT: %CC.loc12_32.2 => constants.%CC.ceb +// CHECK:STDOUT: %Z.impl_witness.loc12_39.2 => constants.%Z.impl_witness.9ea // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet.6aa) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet.483) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1930,24 +1930,24 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: specific @DD.as.Z.impl(constants.%EE) { // CHECK:STDOUT: %E.loc9_15.2 => constants.%EE -// CHECK:STDOUT: %DD.loc9_28.2 => constants.%DD.e6f -// CHECK:STDOUT: %Z.impl_witness.loc9_35.2 => constants.%Z.impl_witness.79b +// CHECK:STDOUT: %DD.loc9_28.2 => constants.%DD.72f +// CHECK:STDOUT: %Z.impl_witness.loc9_35.2 => constants.%Z.impl_witness.6ce // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @CC(constants.%Z.facet.47a) { -// CHECK:STDOUT: %D.loc11_11.1 => constants.%Z.facet.47a +// CHECK:STDOUT: specific @CC(constants.%Z.facet.9ec) { +// CHECK:STDOUT: %D.loc11_11.1 => constants.%Z.facet.9ec // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CC.as.Z.impl(constants.%EE) { // CHECK:STDOUT: %E.loc12_15.2 => constants.%EE -// CHECK:STDOUT: %DD.loc12_31.2 => constants.%DD.e6f -// CHECK:STDOUT: %.loc12_32.2 => constants.%.0a1 -// CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.impl_witness.79b -// CHECK:STDOUT: %Z.facet.loc12_32.2 => constants.%Z.facet.47a -// CHECK:STDOUT: %CC.loc12_32.2 => constants.%CC.d95 -// CHECK:STDOUT: %Z.impl_witness.loc12_39.2 => constants.%Z.impl_witness.2c6 +// CHECK:STDOUT: %DD.loc12_31.2 => constants.%DD.72f +// CHECK:STDOUT: %.loc12_32.2 => constants.%.57f +// CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.impl_witness.6ce +// CHECK:STDOUT: %Z.facet.loc12_32.2 => constants.%Z.facet.9ec +// CHECK:STDOUT: %CC.loc12_32.2 => constants.%CC.42c +// CHECK:STDOUT: %Z.impl_witness.loc12_39.2 => constants.%Z.impl_witness.4da // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/generic/deduce_nested_facet_value.carbon b/toolchain/check/testdata/function/generic/deduce_nested_facet_value.carbon index 1c78c6da4c56..d2b14ee85eec 100644 --- a/toolchain/check/testdata/function/generic/deduce_nested_facet_value.carbon +++ b/toolchain/check/testdata/function/generic/deduce_nested_facet_value.carbon @@ -41,50 +41,50 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] -// CHECK:STDOUT: %Self.2ea: %Y.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d9e: %Y.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %W.type: type = facet_type <@W> [concrete] -// CHECK:STDOUT: %Self.ae9: %W.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.a78: %W.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %DD: type = class_type @DD [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %Y.impl_witness: = impl_witness @DD.as.Y.impl.%Y.impl_witness_table [concrete] -// CHECK:STDOUT: %Y.facet.c6e: %Y.type = facet_value %DD, (%Y.impl_witness) [concrete] +// CHECK:STDOUT: %Y.facet.a3e: %Y.type = facet_value %DD, (%Y.impl_witness) [concrete] // CHECK:STDOUT: %W.impl_witness: = impl_witness @DD.as.W.impl.%W.impl_witness_table [concrete] // CHECK:STDOUT: %W.facet: %W.type = facet_value %DD, (%W.impl_witness) [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.7b8: type = pattern_type %Y.type [concrete] +// CHECK:STDOUT: %pattern_type.58d: type = pattern_type %Y.type [concrete] // CHECK:STDOUT: %D: %Y.type = symbolic_binding D, 0 [symbolic] // CHECK:STDOUT: %CC.type: type = generic_class_type @CC [concrete] // CHECK:STDOUT: %CC.generic: %CC.type = struct_value () [concrete] -// CHECK:STDOUT: %CC.4b9: type = class_type @CC, @CC(%D) [symbolic] +// CHECK:STDOUT: %CC.58a: type = class_type @CC, @CC(%D) [symbolic] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.410: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %Self.91f: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %Y.type, %type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %facet_type: type = facet_type <@Y & @W> [concrete] -// CHECK:STDOUT: %pattern_type.8b7: type = pattern_type %facet_type [concrete] +// CHECK:STDOUT: %pattern_type.6e5: type = pattern_type %facet_type [concrete] // CHECK:STDOUT: %E: %facet_type = symbolic_binding E, 0 [symbolic] // CHECK:STDOUT: %E.as_type: type = facet_access_type %E [symbolic] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %E, @Y [symbolic] -// CHECK:STDOUT: %Y.facet.dc2: %Y.type = facet_value %E.as_type, (%Y.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %CC.c88: type = class_type @CC, @CC(%Y.facet.dc2) [symbolic] -// CHECK:STDOUT: %Z.impl_witness.2e5: = impl_witness @CC.as.Z.impl.%Z.impl_witness_table, @CC.as.Z.impl(%E) [symbolic] -// CHECK:STDOUT: %Z.facet.40d: %Z.type = facet_value %CC.c88, (%Z.impl_witness.2e5) [symbolic] +// CHECK:STDOUT: %Y.facet.edf: %Y.type = facet_value %E.as_type, (%Y.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %CC.9bc: type = class_type @CC, @CC(%Y.facet.edf) [symbolic] +// CHECK:STDOUT: %Z.impl_witness.327: = impl_witness @CC.as.Z.impl.%Z.impl_witness_table, @CC.as.Z.impl(%E) [symbolic] +// CHECK:STDOUT: %Z.facet.6fc: %Z.type = facet_value %CC.9bc, (%Z.impl_witness.327) [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %CC.665: type = class_type @CC, @CC(%Y.facet.c6e) [concrete] +// CHECK:STDOUT: %CC.379: type = class_type @CC, @CC(%Y.facet.a3e) [concrete] // CHECK:STDOUT: %facet_value: %facet_type = facet_value %DD, (%Y.impl_witness, %W.impl_witness) [concrete] -// CHECK:STDOUT: %Z.impl_witness.c37: = impl_witness @CC.as.Z.impl.%Z.impl_witness_table, @CC.as.Z.impl(%facet_value) [concrete] -// CHECK:STDOUT: %Z.facet.94c: %Z.type = facet_value %CC.665, (%Z.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Z.impl_witness.7d9: = impl_witness @CC.as.Z.impl.%Z.impl_witness_table, @CC.as.Z.impl(%facet_value) [concrete] +// CHECK:STDOUT: %Z.facet.607: %Z.type = facet_value %CC.379, (%Z.impl_witness.7d9) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -93,9 +93,9 @@ fn F() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -121,7 +121,7 @@ fn F() { // CHECK:STDOUT: %W.ref: type = name_ref W, file.%W.decl [concrete = constants.%W.type] // CHECK:STDOUT: } // CHECK:STDOUT: %CC.decl: %CC.type = class_decl @CC [concrete = constants.%CC.generic] { -// CHECK:STDOUT: %D.patt: %pattern_type.7b8 = symbolic_binding_pattern D, 0 [concrete] +// CHECK:STDOUT: %D.patt: %pattern_type.58d = symbolic_binding_pattern D, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc12: type = splice_block %Y.ref [concrete = constants.%Y.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -131,20 +131,20 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %Z.decl: type = interface_decl @Z [concrete = constants.%Z.type] {} {} // CHECK:STDOUT: impl_decl @CC.as.Z.impl [concrete] { -// CHECK:STDOUT: %E.patt: %pattern_type.8b7 = symbolic_binding_pattern E, 0 [concrete] +// CHECK:STDOUT: %E.patt: %pattern_type.6e5 = symbolic_binding_pattern E, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %CC.ref: %CC.type = name_ref CC, file.%CC.decl [concrete = constants.%CC.generic] // CHECK:STDOUT: %E.ref: %facet_type = name_ref E, %E.loc19_15.1 [symbolic = %E.loc19_15.2 (constants.%E)] // CHECK:STDOUT: %E.as_type.loc19_29.1: type = facet_access_type %E.ref [symbolic = %E.as_type.loc19_29.2 (constants.%E.as_type)] -// CHECK:STDOUT: %Y.facet.loc19_29.1: %Y.type = facet_value %E.as_type.loc19_29.1, (constants.%Y.lookup_impl_witness) [symbolic = %Y.facet.loc19_29.2 (constants.%Y.facet.dc2)] -// CHECK:STDOUT: %.loc19_29: %Y.type = converted %E.ref, %Y.facet.loc19_29.1 [symbolic = %Y.facet.loc19_29.2 (constants.%Y.facet.dc2)] -// CHECK:STDOUT: %CC.loc19_29.1: type = class_type @CC, @CC(constants.%Y.facet.dc2) [symbolic = %CC.loc19_29.2 (constants.%CC.c88)] +// CHECK:STDOUT: %Y.facet.loc19_29.1: %Y.type = facet_value %E.as_type.loc19_29.1, (constants.%Y.lookup_impl_witness) [symbolic = %Y.facet.loc19_29.2 (constants.%Y.facet.edf)] +// CHECK:STDOUT: %.loc19_29: %Y.type = converted %E.ref, %Y.facet.loc19_29.1 [symbolic = %Y.facet.loc19_29.2 (constants.%Y.facet.edf)] +// CHECK:STDOUT: %CC.loc19_29.1: type = class_type @CC, @CC(constants.%Y.facet.edf) [symbolic = %CC.loc19_29.2 (constants.%CC.9bc)] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] // CHECK:STDOUT: %.loc19_20.1: type = splice_block %.loc19_20.3 [concrete = constants.%facet_type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y.type] // CHECK:STDOUT: %W.ref: type = name_ref W, file.%W.decl [concrete = constants.%W.type] -// CHECK:STDOUT: %impl.elem0: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %Y.ref, %impl.elem0 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%Y.ref, %W.ref) [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc19_20.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type] @@ -156,7 +156,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Y { -// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = constants.%Self.2ea] +// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d9e] // CHECK:STDOUT: %Y.WithSelf.decl = interface_with_self_decl @Y [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -167,7 +167,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @W { -// CHECK:STDOUT: %Self: %W.type = symbolic_binding Self, 0 [symbolic = constants.%Self.ae9] +// CHECK:STDOUT: %Self: %W.type = symbolic_binding Self, 0 [symbolic = constants.%Self.a78] // CHECK:STDOUT: %W.WithSelf.decl = interface_with_self_decl @W [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -178,7 +178,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.410] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91f] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -210,15 +210,15 @@ fn F() { // CHECK:STDOUT: %E.loc19_15.2: %facet_type = symbolic_binding E, 0 [symbolic = %E.loc19_15.2 (constants.%E)] // CHECK:STDOUT: %E.as_type.loc19_29.2: type = facet_access_type %E.loc19_15.2 [symbolic = %E.as_type.loc19_29.2 (constants.%E.as_type)] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %E.loc19_15.2, @Y [symbolic = %Y.lookup_impl_witness (constants.%Y.lookup_impl_witness)] -// CHECK:STDOUT: %Y.facet.loc19_29.2: %Y.type = facet_value %E.as_type.loc19_29.2, (%Y.lookup_impl_witness) [symbolic = %Y.facet.loc19_29.2 (constants.%Y.facet.dc2)] -// CHECK:STDOUT: %CC.loc19_29.2: type = class_type @CC, @CC(%Y.facet.loc19_29.2) [symbolic = %CC.loc19_29.2 (constants.%CC.c88)] -// CHECK:STDOUT: %Z.impl_witness.loc19_36.2: = impl_witness %Z.impl_witness_table, @CC.as.Z.impl(%E.loc19_15.2) [symbolic = %Z.impl_witness.loc19_36.2 (constants.%Z.impl_witness.2e5)] +// CHECK:STDOUT: %Y.facet.loc19_29.2: %Y.type = facet_value %E.as_type.loc19_29.2, (%Y.lookup_impl_witness) [symbolic = %Y.facet.loc19_29.2 (constants.%Y.facet.edf)] +// CHECK:STDOUT: %CC.loc19_29.2: type = class_type @CC, @CC(%Y.facet.loc19_29.2) [symbolic = %CC.loc19_29.2 (constants.%CC.9bc)] +// CHECK:STDOUT: %Z.impl_witness.loc19_36.2: = impl_witness %Z.impl_witness_table, @CC.as.Z.impl(%E.loc19_15.2) [symbolic = %Z.impl_witness.loc19_36.2 (constants.%Z.impl_witness.327)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: impl: %CC.loc19_29.1 as %Z.ref { // CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (), @CC.as.Z.impl [concrete] -// CHECK:STDOUT: %Z.impl_witness.loc19_36.1: = impl_witness %Z.impl_witness_table, @CC.as.Z.impl(constants.%E) [symbolic = %Z.impl_witness.loc19_36.2 (constants.%Z.impl_witness.2e5)] +// CHECK:STDOUT: %Z.impl_witness.loc19_36.1: = impl_witness %Z.impl_witness_table, @CC.as.Z.impl(constants.%E) [symbolic = %Z.impl_witness.loc19_36.2 (constants.%Z.impl_witness.327)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %Z.ref @@ -244,7 +244,7 @@ fn F() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%CC.4b9 +// CHECK:STDOUT: .Self = constants.%CC.58a // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -252,24 +252,24 @@ fn F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %CC.ref: %CC.type = name_ref CC, file.%CC.decl [concrete = constants.%CC.generic] // CHECK:STDOUT: %DD.ref: type = name_ref DD, file.%DD.decl [concrete = constants.%DD] -// CHECK:STDOUT: %Y.facet: %Y.type = facet_value %DD.ref, (constants.%Y.impl_witness) [concrete = constants.%Y.facet.c6e] -// CHECK:STDOUT: %.loc22_9: %Y.type = converted %DD.ref, %Y.facet [concrete = constants.%Y.facet.c6e] -// CHECK:STDOUT: %CC: type = class_type @CC, @CC(constants.%Y.facet.c6e) [concrete = constants.%CC.665] +// CHECK:STDOUT: %Y.facet: %Y.type = facet_value %DD.ref, (constants.%Y.impl_witness) [concrete = constants.%Y.facet.a3e] +// CHECK:STDOUT: %.loc22_9: %Y.type = converted %DD.ref, %Y.facet [concrete = constants.%Y.facet.a3e] +// CHECK:STDOUT: %CC: type = class_type @CC, @CC(constants.%Y.facet.a3e) [concrete = constants.%CC.379] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] -// CHECK:STDOUT: %Z.facet: %Z.type = facet_value %CC, (constants.%Z.impl_witness.c37) [concrete = constants.%Z.facet.94c] -// CHECK:STDOUT: %.loc22_12: %Z.type = converted %CC, %Z.facet [concrete = constants.%Z.facet.94c] +// CHECK:STDOUT: %Z.facet: %Z.type = facet_value %CC, (constants.%Z.impl_witness.7d9) [concrete = constants.%Z.facet.607] +// CHECK:STDOUT: %.loc22_12: %Z.type = converted %CC, %Z.facet [concrete = constants.%Z.facet.607] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.2ea) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.d9e) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @W.WithSelf(constants.%Self.ae9) { +// CHECK:STDOUT: specific @W.WithSelf(constants.%Self.a78) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Y.facet.c6e) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Y.facet.a3e) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -281,38 +281,38 @@ fn F() { // CHECK:STDOUT: %D.loc12_11.1 => constants.%D // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.410) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.91f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @CC(constants.%Y.facet.dc2) { -// CHECK:STDOUT: %D.loc12_11.1 => constants.%Y.facet.dc2 +// CHECK:STDOUT: specific @CC(constants.%Y.facet.edf) { +// CHECK:STDOUT: %D.loc12_11.1 => constants.%Y.facet.edf // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CC.as.Z.impl(constants.%E) { // CHECK:STDOUT: %E.loc19_15.2 => constants.%E // CHECK:STDOUT: %E.as_type.loc19_29.2 => constants.%E.as_type // CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness -// CHECK:STDOUT: %Y.facet.loc19_29.2 => constants.%Y.facet.dc2 -// CHECK:STDOUT: %CC.loc19_29.2 => constants.%CC.c88 -// CHECK:STDOUT: %Z.impl_witness.loc19_36.2 => constants.%Z.impl_witness.2e5 +// CHECK:STDOUT: %Y.facet.loc19_29.2 => constants.%Y.facet.edf +// CHECK:STDOUT: %CC.loc19_29.2 => constants.%CC.9bc +// CHECK:STDOUT: %Z.impl_witness.loc19_36.2 => constants.%Z.impl_witness.327 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet.40d) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet.6fc) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @CC(constants.%Y.facet.c6e) { -// CHECK:STDOUT: %D.loc12_11.1 => constants.%Y.facet.c6e +// CHECK:STDOUT: specific @CC(constants.%Y.facet.a3e) { +// CHECK:STDOUT: %D.loc12_11.1 => constants.%Y.facet.a3e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CC.as.Z.impl(constants.%facet_value) { // CHECK:STDOUT: %E.loc19_15.2 => constants.%facet_value // CHECK:STDOUT: %E.as_type.loc19_29.2 => constants.%DD // CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.impl_witness -// CHECK:STDOUT: %Y.facet.loc19_29.2 => constants.%Y.facet.c6e -// CHECK:STDOUT: %CC.loc19_29.2 => constants.%CC.665 -// CHECK:STDOUT: %Z.impl_witness.loc19_36.2 => constants.%Z.impl_witness.c37 +// CHECK:STDOUT: %Y.facet.loc19_29.2 => constants.%Y.facet.a3e +// CHECK:STDOUT: %CC.loc19_29.2 => constants.%CC.379 +// CHECK:STDOUT: %Z.impl_witness.loc19_36.2 => constants.%Z.impl_witness.7d9 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/generic/fail_deduce_imported_function.carbon b/toolchain/check/testdata/function/generic/fail_deduce_imported_function.carbon index 434e087f7658..314e6c701f8a 100644 --- a/toolchain/check/testdata/function/generic/fail_deduce_imported_function.carbon +++ b/toolchain/check/testdata/function/generic/fail_deduce_imported_function.carbon @@ -52,11 +52,11 @@ fn B() { // CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.0fc: type = pattern_type %Z.type [concrete] +// CHECK:STDOUT: %pattern_type.9ba: type = pattern_type %Z.type [concrete] // CHECK:STDOUT: %T: %Z.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %T.as_type} [symbolic] -// CHECK:STDOUT: %pattern_type.4c2: type = pattern_type %struct_type.a [symbolic] +// CHECK:STDOUT: %pattern_type.ddc: type = pattern_type %struct_type.a [symbolic] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.a [symbolic] @@ -69,9 +69,9 @@ fn B() { // CHECK:STDOUT: } // CHECK:STDOUT: %Z.decl: type = interface_decl @Z [concrete = constants.%Z.type] {} {} // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] { -// CHECK:STDOUT: %T.patt: %pattern_type.0fc = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @A.%pattern_type (%pattern_type.4c2) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @A.%pattern_type (%pattern_type.4c2) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.9ba = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @A.%pattern_type (%pattern_type.ddc) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @A.%pattern_type (%pattern_type.ddc) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_10: type = splice_block %Z.ref [concrete = constants.%Z.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -104,7 +104,7 @@ fn B() { // CHECK:STDOUT: %T.loc4_7.1: %Z.type = symbolic_binding T, 0 [symbolic = %T.loc4_7.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc4_28.1: type = facet_access_type %T.loc4_7.1 [symbolic = %T.as_type.loc4_28.1 (constants.%T.as_type)] // CHECK:STDOUT: %struct_type.a.loc4_29.1: type = struct_type {.a: @A.%T.as_type.loc4_28.1 (%T.as_type)} [symbolic = %struct_type.a.loc4_29.1 (constants.%struct_type.a)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.a.loc4_29.1 [symbolic = %pattern_type (constants.%pattern_type.4c2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.a.loc4_29.1 [symbolic = %pattern_type (constants.%pattern_type.ddc)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.a.loc4_29.1 [symbolic = %require_complete (constants.%require_complete)] @@ -123,7 +123,7 @@ fn B() { // CHECK:STDOUT: %T.loc4_7.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc4_28.1 => constants.%T.as_type // CHECK:STDOUT: %struct_type.a.loc4_29.1 => constants.%struct_type.a -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4c2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ddc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_deduce_imported_function.carbon @@ -133,13 +133,13 @@ fn B() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] // CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %pattern_type.0fc: type = pattern_type %Z.type [concrete] +// CHECK:STDOUT: %pattern_type.9ba: type = pattern_type %Z.type [concrete] // CHECK:STDOUT: %T: %Z.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %T.as_type} [symbolic] -// CHECK:STDOUT: %pattern_type.4c2: type = pattern_type %struct_type.a [symbolic] -// CHECK:STDOUT: %A.type.a16: type = fn_type @A.loc4 [concrete] -// CHECK:STDOUT: %A.f94: %A.type.a16 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.ddc: type = pattern_type %struct_type.a [symbolic] +// CHECK:STDOUT: %A.type.f92: type = fn_type @A.loc4 [concrete] +// CHECK:STDOUT: %A.c9c: %A.type.f92 = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.a [symbolic] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] @@ -147,8 +147,8 @@ fn B() { // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.b: type = struct_type {.b: %empty_struct_type} [concrete] // CHECK:STDOUT: %struct: %struct_type.b = struct_value (%empty_struct) [concrete] -// CHECK:STDOUT: %A.type.bbc: type = fn_type @A.1 [concrete] -// CHECK:STDOUT: %A.998: %A.type.bbc = struct_value () [concrete] +// CHECK:STDOUT: %A.type.d91: type = fn_type @A.1 [concrete] +// CHECK:STDOUT: %A.718: %A.type.d91 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -158,9 +158,9 @@ fn B() { // CHECK:STDOUT: import Lib//default // CHECK:STDOUT: } // CHECK:STDOUT: %Lib.Z: type = import_ref Lib//default, Z, loaded [concrete = constants.%Z.type] -// CHECK:STDOUT: %Lib.import_ref.b77 = import_ref Lib//default, loc3_13, unloaded -// CHECK:STDOUT: %Lib.A: %A.type.bbc = import_ref Lib//default, A, loaded [concrete = constants.%A.998] -// CHECK:STDOUT: %Lib.import_ref.51f: %Z.type = import_ref Lib//default, loc4_7, loaded [symbolic = @A.1.%T (constants.%T)] +// CHECK:STDOUT: %Lib.import_ref.481 = import_ref Lib//default, loc3_13, unloaded +// CHECK:STDOUT: %Lib.A: %A.type.d91 = import_ref Lib//default, A, loaded [concrete = constants.%A.718] +// CHECK:STDOUT: %Lib.import_ref.07f: %Z.type = import_ref Lib//default, loc4_7, loaded [symbolic = @A.1.%T (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -170,10 +170,10 @@ fn B() { // CHECK:STDOUT: .B = %B.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Lib.import = import Lib -// CHECK:STDOUT: %A.decl: %A.type.a16 = fn_decl @A.loc4 [concrete = constants.%A.f94] { -// CHECK:STDOUT: %T.patt: %pattern_type.0fc = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @A.loc4.%pattern_type (%pattern_type.4c2) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @A.loc4.%pattern_type (%pattern_type.4c2) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %A.decl: %A.type.f92 = fn_decl @A.loc4 [concrete = constants.%A.c9c] { +// CHECK:STDOUT: %T.patt: %pattern_type.9ba = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @A.loc4.%pattern_type (%pattern_type.ddc) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @A.loc4.%pattern_type (%pattern_type.ddc) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_13: type = splice_block %Z.ref [concrete = constants.%Z.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -195,7 +195,7 @@ fn B() { // CHECK:STDOUT: // CHECK:STDOUT: interface @Z [from "lib.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Lib.import_ref.b77 +// CHECK:STDOUT: .Self = imports.%Lib.import_ref.481 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -205,7 +205,7 @@ fn B() { // CHECK:STDOUT: %T.loc4_7.1: %Z.type = symbolic_binding T, 0 [symbolic = %T.loc4_7.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc4_32.1: type = facet_access_type %T.loc4_7.1 [symbolic = %T.as_type.loc4_32.1 (constants.%T.as_type)] // CHECK:STDOUT: %struct_type.a.loc4_33.1: type = struct_type {.a: @A.loc4.%T.as_type.loc4_32.1 (%T.as_type)} [symbolic = %struct_type.a.loc4_33.1 (constants.%struct_type.a)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.a.loc4_33.1 [symbolic = %pattern_type (constants.%pattern_type.4c2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.a.loc4_33.1 [symbolic = %pattern_type (constants.%pattern_type.ddc)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.a.loc4_33.1 [symbolic = %require_complete (constants.%require_complete)] @@ -218,21 +218,21 @@ fn B() { // CHECK:STDOUT: // CHECK:STDOUT: fn @B() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %A.ref.loc14: %A.type.a16 = name_ref A, file.%A.decl [concrete = constants.%A.f94] +// CHECK:STDOUT: %A.ref.loc14: %A.type.f92 = name_ref A, file.%A.decl [concrete = constants.%A.c9c] // CHECK:STDOUT: %.loc14_12: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc14_13: %struct_type.b = struct_literal (%.loc14_12) [concrete = constants.%struct] // CHECK:STDOUT: %Lib.ref: = name_ref Lib, imports.%Lib [concrete = imports.%Lib] -// CHECK:STDOUT: %A.ref.loc24: %A.type.bbc = name_ref A, imports.%Lib.A [concrete = constants.%A.998] +// CHECK:STDOUT: %A.ref.loc24: %A.type.d91 = name_ref A, imports.%Lib.A [concrete = constants.%A.718] // CHECK:STDOUT: %.loc24_16: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc24_17: %struct_type.b = struct_literal (%.loc24_16) [concrete = constants.%struct] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @A.1(imports.%Lib.import_ref.51f: %Z.type) [from "lib.carbon"] { +// CHECK:STDOUT: generic fn @A.1(imports.%Lib.import_ref.07f: %Z.type) [from "lib.carbon"] { // CHECK:STDOUT: %T: %Z.type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic = %T.as_type (constants.%T.as_type)] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: @A.1.%T.as_type (%T.as_type)} [symbolic = %struct_type.a (constants.%struct_type.a)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.a [symbolic = %pattern_type (constants.%pattern_type.4c2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.a [symbolic = %pattern_type (constants.%pattern_type.ddc)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %struct_type.a [symbolic = %require_complete (constants.%require_complete)] @@ -248,13 +248,13 @@ fn B() { // CHECK:STDOUT: %T.loc4_7.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc4_32.1 => constants.%T.as_type // CHECK:STDOUT: %struct_type.a.loc4_33.1 => constants.%struct_type.a -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4c2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ddc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.1(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %T.as_type => constants.%T.as_type // CHECK:STDOUT: %struct_type.a => constants.%struct_type.a -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4c2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ddc // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/generic/import_specific.carbon b/toolchain/check/testdata/function/generic/import_specific.carbon index a9a6d350f8ac..ee1974b17822 100644 --- a/toolchain/check/testdata/function/generic/import_specific.carbon +++ b/toolchain/check/testdata/function/generic/import_specific.carbon @@ -132,11 +132,11 @@ fn H() { // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %T.67db0b.1: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %F.specific_fn.dfd: = specific_function %F, @F(%C) [concrete] +// CHECK:STDOUT: %F.specific_fn.076: = specific_function %F, @F(%C) [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %T.67db0b.2: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %F.specific_fn.979: = specific_function %F, @F(%T.67db0b.2) [symbolic] +// CHECK:STDOUT: %F.specific_fn.d7f: = specific_function %F, @F(%T.67db0b.2) [symbolic] // CHECK:STDOUT: %G.specific_fn: = specific_function %G, @G(%C) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -171,7 +171,7 @@ fn H() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, imports.%Main.F [concrete = constants.%F] // CHECK:STDOUT: %C.ref.loc10: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.dfd] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.076] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn() // CHECK:STDOUT: %G.ref: %G.type = name_ref G, imports.%Main.G [concrete = constants.%G] // CHECK:STDOUT: %C.ref.loc12: type = name_ref C, file.%C.decl [concrete = constants.%C] @@ -192,7 +192,7 @@ fn H() { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T.67db0b.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %F.specific_fn: = specific_function constants.%F, @F(%T) [symbolic = %F.specific_fn (constants.%F.specific_fn.979)] +// CHECK:STDOUT: %F.specific_fn: = specific_function constants.%F, @F(%T) [symbolic = %F.specific_fn (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -221,6 +221,6 @@ fn H() { // CHECK:STDOUT: %T => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %F.specific_fn => constants.%F.specific_fn.dfd +// CHECK:STDOUT: %F.specific_fn => constants.%F.specific_fn.076 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/generic/indirect_generic_type.carbon b/toolchain/check/testdata/function/generic/indirect_generic_type.carbon index ab577fc33a3f..08494a1b53c0 100644 --- a/toolchain/check/testdata/function/generic/indirect_generic_type.carbon +++ b/toolchain/check/testdata/function/generic/indirect_generic_type.carbon @@ -30,13 +30,13 @@ fn F(T:! type, p: T**) -> T* { // CHECK:STDOUT: %.cb6: Core.Form = init_form %ptr.e8f [symbolic] // CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %ptr.e8f [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.lookup_impl_witness.5be: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] -// CHECK:STDOUT: %.546: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.5be) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a8e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] -// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a8e, %Copy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.480: %.86b = impl_witness_access %Copy.lookup_impl_witness.5be, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d1f: = specific_impl_function %impl.elem0.480, @Copy.WithSelf.Op(%Copy.facet) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2bf: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] +// CHECK:STDOUT: %.b6a: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.2bf) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.72b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] +// CHECK:STDOUT: %.39b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72b, %Copy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.8a3: %.39b = impl_witness_access %Copy.lookup_impl_witness.2bf, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a13: = specific_impl_function %impl.elem0.8a3, @Copy.WithSelf.Op(%Copy.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc4_7.2: type) { @@ -44,22 +44,22 @@ fn F(T:! type, p: T**) -> T* { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %.loc6_10.3: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc4_7.1) [symbolic = %.loc6_10.3 (constants.%.546)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc4_20.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.5be)] +// CHECK:STDOUT: %.loc6_10.3: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc4_7.1) [symbolic = %.loc6_10.3 (constants.%.b6a)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc4_20.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2bf)] // CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc4_20.1, (%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.a8e)] -// CHECK:STDOUT: %.loc6_10.4: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc6_10.4 (constants.%.86b)] -// CHECK:STDOUT: %impl.elem0.loc6_10.2: @F.%.loc6_10.4 (%.86b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_10.2 (constants.%impl.elem0.480)] -// CHECK:STDOUT: %specific_impl_fn.loc6_10.2: = specific_impl_function %impl.elem0.loc6_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.d1f)] +// 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.72b)] +// CHECK:STDOUT: %.loc6_10.4: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc6_10.4 (constants.%.39b)] +// CHECK:STDOUT: %impl.elem0.loc6_10.2: @F.%.loc6_10.4 (%.39b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_10.2 (constants.%impl.elem0.8a3)] +// CHECK:STDOUT: %specific_impl_fn.loc6_10.2: = specific_impl_function %impl.elem0.loc6_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%p.param: @F.%ptr.loc4_21.1 (%ptr.125)) -> out %return.param: @F.%ptr.loc4_20.1 (%ptr.e8f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %p.ref: @F.%ptr.loc4_21.1 (%ptr.125) = name_ref p, %p // CHECK:STDOUT: %.loc6_10.1: ref @F.%ptr.loc4_20.1 (%ptr.e8f) = deref %p.ref // CHECK:STDOUT: %.loc6_10.2: @F.%ptr.loc4_20.1 (%ptr.e8f) = acquire_value %.loc6_10.1 -// CHECK:STDOUT: %impl.elem0.loc6_10.1: @F.%.loc6_10.4 (%.86b) = impl_witness_access constants.%Copy.lookup_impl_witness.5be, element0 [symbolic = %impl.elem0.loc6_10.2 (constants.%impl.elem0.480)] +// CHECK:STDOUT: %impl.elem0.loc6_10.1: @F.%.loc6_10.4 (%.39b) = impl_witness_access constants.%Copy.lookup_impl_witness.2bf, element0 [symbolic = %impl.elem0.loc6_10.2 (constants.%impl.elem0.8a3)] // CHECK:STDOUT: %bound_method.loc6_10.1: = bound_method %.loc6_10.2, %impl.elem0.loc6_10.1 -// CHECK:STDOUT: %specific_impl_fn.loc6_10.1: = specific_impl_function %impl.elem0.loc6_10.1, @Copy.WithSelf.Op(constants.%Copy.facet) [symbolic = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.d1f)] +// CHECK:STDOUT: %specific_impl_fn.loc6_10.1: = specific_impl_function %impl.elem0.loc6_10.1, @Copy.WithSelf.Op(constants.%Copy.facet) [symbolic = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %.loc6_10.2, %specific_impl_fn.loc6_10.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr.loc4_20.1 (%ptr.e8f) = call %bound_method.loc6_10.2(%.loc6_10.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call diff --git a/toolchain/check/testdata/function/generic/param_in_type.carbon b/toolchain/check/testdata/function/generic/param_in_type.carbon index a20ccdec2e02..a46041a4226c 100644 --- a/toolchain/check/testdata/function/generic/param_in_type.carbon +++ b/toolchain/check/testdata/function/generic/param_in_type.carbon @@ -23,27 +23,27 @@ fn F(N:! i32, a: array(i32, N)*); // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %N.afc: %i32 = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %N.bbe: %i32 = symbolic_binding N, 0 [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.2f8: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.7c2: %Int.as.ImplicitAs.impl.Convert.type.2f8 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.d2b: = impl_witness imports.%ImplicitAs.impl_witness_table.07d, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.73a: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.735: %Int.as.ImplicitAs.impl.Convert.type.73a = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.4bd = facet_value %i32, (%ImplicitAs.impl_witness.d2b) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f57: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.516: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f57, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.afc, %Int.as.ImplicitAs.impl.Convert.735 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.735, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method: = bound_method %N.afc, %Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method(%N.afc) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.f73: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.34b: %Int.as.ImplicitAs.impl.Convert.type.f73 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.062: = impl_witness imports.%ImplicitAs.impl_witness_table.eac, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.337: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.64e: %Int.as.ImplicitAs.impl.Convert.type.337 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.ace = facet_value %i32, (%ImplicitAs.impl_witness.062) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b68: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.7a9: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b68, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.bbe, %Int.as.ImplicitAs.impl.Convert.64e [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.64e, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method: = bound_method %N.bbe, %Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method(%N.bbe) [symbolic] // CHECK:STDOUT: %array_type: type = array_type %Int.as.ImplicitAs.impl.Convert.call, %i32 [symbolic] // CHECK:STDOUT: %ptr: type = ptr_type %array_type [symbolic] -// CHECK:STDOUT: %pattern_type.5d4: type = pattern_type %ptr [symbolic] +// CHECK:STDOUT: %pattern_type.0c7: type = pattern_type %ptr [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -56,9 +56,9 @@ fn F(N:! i32, a: array(i32, N)*); // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd0: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.2f8) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.7c2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.07d = impl_witness_table (%Core.import_ref.dd0), @Int.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.835: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.f73) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.34b)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eac = impl_witness_table (%Core.import_ref.835), @Int.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -68,20 +68,20 @@ fn F(N:! i32, a: array(i32, N)*); // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %N.patt: %pattern_type.c6b = symbolic_binding_pattern N, 0 [concrete] -// CHECK:STDOUT: %a.param_patt: @F.%pattern_type (%pattern_type.5d4) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.5d4) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.104 = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %a.param_patt: @F.%pattern_type (%pattern_type.0c7) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.0c7) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15_10: type = splice_block %i32.loc15_10 [concrete = constants.%i32] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32.loc15_10: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc15_7.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc15_7.1 (constants.%N.afc)] +// CHECK:STDOUT: %N.loc15_7.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc15_7.1 (constants.%N.bbe)] // CHECK:STDOUT: %a.param: @F.%ptr.loc15_31.1 (%ptr) = value_param call_param0 // CHECK:STDOUT: %.loc15_31: type = splice_block %ptr.loc15_31.2 [symbolic = %ptr.loc15_31.1 (constants.%ptr)] { // CHECK:STDOUT: %i32.loc15_24: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %N.ref: %i32 = name_ref N, %N.loc15_7.2 [symbolic = %N.loc15_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %impl.elem0: %.516 = impl_witness_access constants.%ImplicitAs.impl_witness.d2b, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.735] +// CHECK:STDOUT: %N.ref: %i32 = name_ref N, %N.loc15_7.2 [symbolic = %N.loc15_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %impl.elem0: %.7a9 = impl_witness_access constants.%ImplicitAs.impl_witness.062, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.64e] // CHECK:STDOUT: %bound_method.loc15_29.2: = bound_method %N.ref, %impl.elem0 [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound)] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Int.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_29.3: = bound_method %N.ref, %specific_fn [symbolic = %bound_method.loc15_29.1 (constants.%bound_method)] @@ -96,24 +96,24 @@ fn F(N:! i32, a: array(i32, N)*); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%N.loc15_7.2: %i32) { -// CHECK:STDOUT: %N.loc15_7.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc15_7.1 (constants.%N.afc)] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc15_7.1, constants.%Int.as.ImplicitAs.impl.Convert.735 [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound)] +// CHECK:STDOUT: %N.loc15_7.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc15_7.1 (constants.%N.bbe)] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %N.loc15_7.1, constants.%Int.as.ImplicitAs.impl.Convert.64e [symbolic = %Int.as.ImplicitAs.impl.Convert.bound (constants.%Int.as.ImplicitAs.impl.Convert.bound)] // CHECK:STDOUT: %bound_method.loc15_29.1: = bound_method %N.loc15_7.1, constants.%Int.as.ImplicitAs.impl.Convert.specific_fn [symbolic = %bound_method.loc15_29.1 (constants.%bound_method)] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call.loc15_29.1: init Core.IntLiteral = call %bound_method.loc15_29.1(%N.loc15_7.1) [symbolic = %Int.as.ImplicitAs.impl.Convert.call.loc15_29.1 (constants.%Int.as.ImplicitAs.impl.Convert.call)] // CHECK:STDOUT: %array_type.loc15_30.1: type = array_type %Int.as.ImplicitAs.impl.Convert.call.loc15_29.1, constants.%i32 [symbolic = %array_type.loc15_30.1 (constants.%array_type)] // CHECK:STDOUT: %ptr.loc15_31.1: type = ptr_type %array_type.loc15_30.1 [symbolic = %ptr.loc15_31.1 (constants.%ptr)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %ptr.loc15_31.1 [symbolic = %pattern_type (constants.%pattern_type.5d4)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %ptr.loc15_31.1 [symbolic = %pattern_type (constants.%pattern_type.0c7)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%a.param: @F.%ptr.loc15_31.1 (%ptr)); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%N.afc) { -// CHECK:STDOUT: %N.loc15_7.1 => constants.%N.afc +// CHECK:STDOUT: specific @F(constants.%N.bbe) { +// CHECK:STDOUT: %N.loc15_7.1 => constants.%N.bbe // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound => constants.%Int.as.ImplicitAs.impl.Convert.bound // CHECK:STDOUT: %bound_method.loc15_29.1 => constants.%bound_method // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call.loc15_29.1 => constants.%Int.as.ImplicitAs.impl.Convert.call // CHECK:STDOUT: %array_type.loc15_30.1 => constants.%array_type // CHECK:STDOUT: %ptr.loc15_31.1 => constants.%ptr -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5d4 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0c7 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/generic/redeclare.carbon b/toolchain/check/testdata/function/generic/redeclare.carbon index d3902cef40c8..ca4e21ca4ab4 100644 --- a/toolchain/check/testdata/function/generic/redeclare.carbon +++ b/toolchain/check/testdata/function/generic/redeclare.carbon @@ -199,13 +199,13 @@ fn F(U:! type, T:! type) -> U* { // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T [symbolic] // CHECK:STDOUT: %.cb6: Core.Form = init_form %ptr.e8f [symbolic] // CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %ptr.e8f [symbolic] -// CHECK:STDOUT: %F.type.33e518.1: type = fn_type @F.loc4 [concrete] -// CHECK:STDOUT: %F.8f46c3.1: %F.type.33e518.1 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.b8d678.1: type = fn_type @F.loc4 [concrete] +// CHECK:STDOUT: %F.7360cc.1: %F.type.b8d678.1 = struct_value () [concrete] // CHECK:STDOUT: %ptr.18e: type = ptr_type %U [symbolic] // CHECK:STDOUT: %.6d8: Core.Form = init_form %ptr.18e [symbolic] // CHECK:STDOUT: %pattern_type.423: type = pattern_type %ptr.18e [symbolic] -// CHECK:STDOUT: %F.type.33e518.2: type = fn_type @F.loc13 [concrete] -// CHECK:STDOUT: %F.8f46c3.2: %F.type.33e518.2 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.b8d678.2: type = fn_type @F.loc13 [concrete] +// CHECK:STDOUT: %F.7360cc.2: %F.type.b8d678.2 = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %ptr.18e [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -222,7 +222,7 @@ fn F(U:! type, T:! type) -> U* { // CHECK:STDOUT: .F = %F.decl.loc4 // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %F.decl.loc4: %F.type.33e518.1 = fn_decl @F.loc4 [concrete = constants.%F.8f46c3.1] { +// CHECK:STDOUT: %F.decl.loc4: %F.type.b8d678.1 = fn_decl @F.loc4 [concrete = constants.%F.7360cc.1] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: %return.param_patt: @F.loc4.%pattern_type (%pattern_type.4f4) = out_param_pattern [concrete] @@ -244,7 +244,7 @@ fn F(U:! type, T:! type) -> U* { // CHECK:STDOUT: %return.param: ref @F.loc4.%ptr.loc4_30.1 (%ptr.e8f) = out_param call_param0 // CHECK:STDOUT: %return: ref @F.loc4.%ptr.loc4_30.1 (%ptr.e8f) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl.loc13: %F.type.33e518.2 = fn_decl @F.loc13 [concrete = constants.%F.8f46c3.2] { +// CHECK:STDOUT: %F.decl.loc13: %F.type.b8d678.2 = fn_decl @F.loc13 [concrete = constants.%F.7360cc.2] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: %return.param_patt: @F.loc13.%pattern_type (%pattern_type.423) = out_param_pattern [concrete] @@ -290,7 +290,7 @@ fn F(U:! type, T:! type) -> U* { // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @F.loc13.%ptr.loc13_30.1 (%ptr.18e) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %F.type.33e518.1 = name_ref F, file.%F.decl.loc4 [concrete = constants.%F.8f46c3.1] +// CHECK:STDOUT: %F.ref: %F.type.b8d678.1 = name_ref F, file.%F.decl.loc4 [concrete = constants.%F.7360cc.1] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T)] // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -323,15 +323,15 @@ fn F(U:! type, T:! type) -> U* { // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] // CHECK:STDOUT: %.cb6: Core.Form = init_form %ptr.e8f [symbolic] // CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %ptr.e8f [symbolic] -// CHECK:STDOUT: %F.type.d3cdcf.1: type = fn_type @F.loc4 [concrete] -// CHECK:STDOUT: %F.37506c.1: %F.type.d3cdcf.1 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.b8d678.1: type = fn_type @F.loc4 [concrete] +// CHECK:STDOUT: %F.7360cc.1: %F.type.b8d678.1 = struct_value () [concrete] // CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %T.091: type = symbolic_binding T, 1 [symbolic] // CHECK:STDOUT: %ptr.18e: type = ptr_type %T.091 [symbolic] // CHECK:STDOUT: %.6d8: Core.Form = init_form %ptr.18e [symbolic] // CHECK:STDOUT: %pattern_type.423: type = pattern_type %ptr.18e [symbolic] -// CHECK:STDOUT: %F.type.d3cdcf.2: type = fn_type @F.loc13 [concrete] -// CHECK:STDOUT: %F.37506c.2: %F.type.d3cdcf.2 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.b8d678.2: type = fn_type @F.loc13 [concrete] +// CHECK:STDOUT: %F.7360cc.2: %F.type.b8d678.2 = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %ptr.18e [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -348,7 +348,7 @@ fn F(U:! type, T:! type) -> U* { // CHECK:STDOUT: .F = %F.decl.loc4 // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %F.decl.loc4: %F.type.d3cdcf.1 = fn_decl @F.loc4 [concrete = constants.%F.37506c.1] { +// CHECK:STDOUT: %F.decl.loc4: %F.type.b8d678.1 = fn_decl @F.loc4 [concrete = constants.%F.7360cc.1] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: %return.param_patt: @F.loc4.%pattern_type (%pattern_type.4f4) = out_param_pattern [concrete] @@ -370,7 +370,7 @@ fn F(U:! type, T:! type) -> U* { // CHECK:STDOUT: %return.param: ref @F.loc4.%ptr.loc4_30.1 (%ptr.e8f) = out_param call_param0 // CHECK:STDOUT: %return: ref @F.loc4.%ptr.loc4_30.1 (%ptr.e8f) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl.loc13: %F.type.d3cdcf.2 = fn_decl @F.loc13 [concrete = constants.%F.37506c.2] { +// CHECK:STDOUT: %F.decl.loc13: %F.type.b8d678.2 = fn_decl @F.loc13 [concrete = constants.%F.7360cc.2] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 0 [concrete] // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 1 [concrete] // CHECK:STDOUT: %return.param_patt: @F.loc13.%pattern_type (%pattern_type.423) = out_param_pattern [concrete] @@ -416,7 +416,7 @@ fn F(U:! type, T:! type) -> U* { // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @F.loc13.%ptr.loc13_37.1 (%ptr.18e) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %F.type.d3cdcf.1 = name_ref F, file.%F.decl.loc4 [concrete = constants.%F.37506c.1] +// CHECK:STDOUT: %F.ref: %F.type.b8d678.1 = name_ref F, file.%F.decl.loc4 [concrete = constants.%F.7360cc.1] // CHECK:STDOUT: %T.ref.loc21: type = name_ref T, %T.loc13_24.2 [symbolic = %T.loc13_24.1 (constants.%T.091)] // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -449,15 +449,15 @@ fn F(U:! type, T:! type) -> U* { // CHECK:STDOUT: %ptr.e8f8f9.1: type = ptr_type %T.67d [symbolic] // CHECK:STDOUT: %.cb6cb9.1: Core.Form = init_form %ptr.e8f8f9.1 [symbolic] // CHECK:STDOUT: %pattern_type.4f4b84.1: type = pattern_type %ptr.e8f8f9.1 [symbolic] -// CHECK:STDOUT: %F.type.1b25f1.1: type = fn_type @F.loc4 [concrete] -// CHECK:STDOUT: %F.4db4fb.1: %F.type.1b25f1.1 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.b8d678.1: type = fn_type @F.loc4 [concrete] +// CHECK:STDOUT: %F.7360cc.1: %F.type.b8d678.1 = struct_value () [concrete] // CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %T.091: type = symbolic_binding T, 1 [symbolic] // CHECK:STDOUT: %ptr.e8f8f9.2: type = ptr_type %U.67d [symbolic] // CHECK:STDOUT: %.cb6cb9.2: Core.Form = init_form %ptr.e8f8f9.2 [symbolic] // CHECK:STDOUT: %pattern_type.4f4b84.2: type = pattern_type %ptr.e8f8f9.2 [symbolic] -// CHECK:STDOUT: %F.type.1b25f1.2: type = fn_type @F.loc13 [concrete] -// CHECK:STDOUT: %F.4db4fb.2: %F.type.1b25f1.2 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.b8d678.2: type = fn_type @F.loc13 [concrete] +// CHECK:STDOUT: %F.7360cc.2: %F.type.b8d678.2 = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %ptr.e8f8f9.2 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -474,7 +474,7 @@ fn F(U:! type, T:! type) -> U* { // CHECK:STDOUT: .F = %F.decl.loc4 // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %F.decl.loc4: %F.type.1b25f1.1 = fn_decl @F.loc4 [concrete = constants.%F.4db4fb.1] { +// CHECK:STDOUT: %F.decl.loc4: %F.type.b8d678.1 = fn_decl @F.loc4 [concrete = constants.%F.7360cc.1] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: %return.param_patt: @F.loc4.%pattern_type (%pattern_type.4f4b84.1) = out_param_pattern [concrete] @@ -496,7 +496,7 @@ fn F(U:! type, T:! type) -> U* { // CHECK:STDOUT: %return.param: ref @F.loc4.%ptr.loc4_30.1 (%ptr.e8f8f9.1) = out_param call_param0 // CHECK:STDOUT: %return: ref @F.loc4.%ptr.loc4_30.1 (%ptr.e8f8f9.1) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl.loc13: %F.type.1b25f1.2 = fn_decl @F.loc13 [concrete = constants.%F.4db4fb.2] { +// CHECK:STDOUT: %F.decl.loc13: %F.type.b8d678.2 = fn_decl @F.loc13 [concrete = constants.%F.7360cc.2] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 0 [concrete] // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 1 [concrete] // CHECK:STDOUT: %return.param_patt: @F.loc13.%pattern_type (%pattern_type.4f4b84.2) = out_param_pattern [concrete] @@ -542,7 +542,7 @@ fn F(U:! type, T:! type) -> U* { // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @F.loc13.%ptr.loc13_30.1 (%ptr.e8f8f9.2) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %F.type.1b25f1.1 = name_ref F, file.%F.decl.loc4 [concrete = constants.%F.4db4fb.1] +// CHECK:STDOUT: %F.ref: %F.type.b8d678.1 = name_ref F, file.%F.decl.loc4 [concrete = constants.%F.7360cc.1] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc13_17.2 [symbolic = %T.loc13_17.1 (constants.%T.091)] // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/generic/resolve_used.carbon b/toolchain/check/testdata/function/generic/resolve_used.carbon index 4ac61dfbbd78..d02eabdad532 100644 --- a/toolchain/check/testdata/function/generic/resolve_used.carbon +++ b/toolchain/check/testdata/function/generic/resolve_used.carbon @@ -53,46 +53,46 @@ fn CallNegative() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %Int: type = class_type @Int, @Int(%N) [symbolic] -// CHECK:STDOUT: %require_complete.c70: = require_complete_type %Int [symbolic] -// CHECK:STDOUT: %pattern_type.a7b: type = pattern_type %Int [symbolic] +// CHECK:STDOUT: %require_complete.692: = require_complete_type %Int [symbolic] +// CHECK:STDOUT: %pattern_type.142: type = pattern_type %Int [symbolic] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] // CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness: = lookup_impl_witness %Int, @DefaultOrUnformed [symbolic] -// CHECK:STDOUT: %.a27: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%Int) [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.facet.6cd: %DefaultOrUnformed.type = facet_value %Int, (%DefaultOrUnformed.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.806: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.6cd) [symbolic] -// CHECK:STDOUT: %.17b: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.806, %DefaultOrUnformed.facet.6cd [symbolic] -// CHECK:STDOUT: %impl.elem0.c00: %.17b = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.4bc: = specific_impl_function %impl.elem0.c00, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.6cd) [symbolic] +// CHECK:STDOUT: %.0e6: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%Int) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.facet.69b: %DefaultOrUnformed.type = facet_value %Int, (%DefaultOrUnformed.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.cd6: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.69b) [symbolic] +// CHECK:STDOUT: %.a51: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.cd6, %DefaultOrUnformed.facet.69b [symbolic] +// CHECK:STDOUT: %impl.elem0.64e: %.a51 = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.f45: = specific_impl_function %impl.elem0.64e, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.69b) [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.b3d: = lookup_impl_witness %Int, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.161: %Destroy.type = facet_value %Int, (%Destroy.lookup_impl_witness.b3d) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.4f1: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.161) [symbolic] -// CHECK:STDOUT: %.51e: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.4f1, %Destroy.facet.161 [symbolic] -// CHECK:STDOUT: %impl.elem0.f9f: %.51e = impl_witness_access %Destroy.lookup_impl_witness.b3d, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.097: = specific_impl_function %impl.elem0.f9f, @Destroy.WithSelf.Op(%Destroy.facet.161) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.c2c: = lookup_impl_witness %Int, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.38c: %Destroy.type = facet_value %Int, (%Destroy.lookup_impl_witness.c2c) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.833: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.38c) [symbolic] +// CHECK:STDOUT: %.b6c: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.833, %Destroy.facet.38c [symbolic] +// CHECK:STDOUT: %impl.elem0.913: %.b6c = impl_witness_access %Destroy.lookup_impl_witness.c2c, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c0a: = specific_impl_function %impl.elem0.913, @Destroy.WithSelf.Op(%Destroy.facet.38c) [symbolic] // CHECK:STDOUT: %CallNegative.type: type = fn_type @CallNegative [concrete] // CHECK:STDOUT: %CallNegative: %CallNegative.type = struct_value () [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %ErrorIfNIsZero.specific_fn: = specific_function %ErrorIfNIsZero, @ErrorIfNIsZero(%int_0) [concrete] // CHECK:STDOUT: %i0: type = class_type @Int, @Int(%int_0) [concrete] -// CHECK:STDOUT: %pattern_type.e4a: type = pattern_type %i0 [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.105: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%i0) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.269: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%i0) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.f50: %T.as.DefaultOrUnformed.impl.Op.type.269 = struct_value () [concrete] -// CHECK:STDOUT: %.42c: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%i0) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.9e7: %DefaultOrUnformed.type = facet_value %i0, (%DefaultOrUnformed.impl_witness.105) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.c09: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.9e7) [concrete] -// CHECK:STDOUT: %.b6d: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.c09, %DefaultOrUnformed.facet.9e7 [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.f50, @T.as.DefaultOrUnformed.impl.Op(%i0) [concrete] +// CHECK:STDOUT: %pattern_type.d92: type = pattern_type %i0 [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.635: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%i0) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.7ca: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%i0) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.67b: %T.as.DefaultOrUnformed.impl.Op.type.7ca = struct_value () [concrete] +// CHECK:STDOUT: %.90a: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%i0) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.fb1: %DefaultOrUnformed.type = facet_value %i0, (%DefaultOrUnformed.impl_witness.635) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.fb6: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.fb1) [concrete] +// CHECK:STDOUT: %.e74: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.fb6, %DefaultOrUnformed.facet.fb1 [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.67b, @T.as.DefaultOrUnformed.impl.Op(%i0) [concrete] // CHECK:STDOUT: %Destroy.Op.type: type = fn_type @Destroy.Op [concrete] // CHECK:STDOUT: %Destroy.Op: %Destroy.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340: = custom_witness (%Destroy.Op), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.38c: %Destroy.type = facet_value %i0, (%custom_witness.340) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.e96: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.38c) [concrete] -// CHECK:STDOUT: %.a59: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.e96, %Destroy.facet.38c [concrete] +// CHECK:STDOUT: %custom_witness.e20: = custom_witness (%Destroy.Op), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.81a: %Destroy.type = facet_value %i0, (%custom_witness.e20) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.ee6: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.81a) [concrete] +// CHECK:STDOUT: %.b8c: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.ee6, %Destroy.facet.81a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -107,8 +107,8 @@ fn CallNegative() { // CHECK:STDOUT: %Core.IntLiteral: %IntLiteral.type = import_ref Core//prelude/parts/int_literal, IntLiteral, loaded [concrete = constants.%IntLiteral] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -140,35 +140,35 @@ fn CallNegative() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Int.loc9_27.2: type = class_type @Int, @Int(%N.loc4_20.1) [symbolic = %Int.loc9_27.2 (constants.%Int)] -// CHECK:STDOUT: %require_complete: = require_complete_type %Int.loc9_27.2 [symbolic = %require_complete (constants.%require_complete.c70)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Int.loc9_27.2 [symbolic = %pattern_type (constants.%pattern_type.a7b)] -// CHECK:STDOUT: %.loc9_28.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%Int.loc9_27.2) [symbolic = %.loc9_28.3 (constants.%.a27)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Int.loc9_27.2 [symbolic = %require_complete (constants.%require_complete.692)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Int.loc9_27.2 [symbolic = %pattern_type (constants.%pattern_type.142)] +// CHECK:STDOUT: %.loc9_28.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%Int.loc9_27.2) [symbolic = %.loc9_28.3 (constants.%.0e6)] // CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness: = lookup_impl_witness %Int.loc9_27.2, @DefaultOrUnformed [symbolic = %DefaultOrUnformed.lookup_impl_witness (constants.%DefaultOrUnformed.lookup_impl_witness)] -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc9_28.2: %DefaultOrUnformed.type = facet_value %Int.loc9_27.2, (%DefaultOrUnformed.lookup_impl_witness) [symbolic = %DefaultOrUnformed.facet.loc9_28.2 (constants.%DefaultOrUnformed.facet.6cd)] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc9_28.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type (constants.%DefaultOrUnformed.WithSelf.Op.type.806)] -// CHECK:STDOUT: %.loc9_28.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type, %DefaultOrUnformed.facet.loc9_28.2 [symbolic = %.loc9_28.4 (constants.%.17b)] -// CHECK:STDOUT: %impl.elem0.loc9_28.2: @ErrorIfNIsZero.%.loc9_28.4 (%.17b) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_28.2 (constants.%impl.elem0.c00)] -// CHECK:STDOUT: %specific_impl_fn.loc9_28.2: = specific_impl_function %impl.elem0.loc9_28.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc9_28.2) [symbolic = %specific_impl_fn.loc9_28.2 (constants.%specific_impl_fn.4bc)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Int.loc9_27.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness.b3d)] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %Int.loc9_27.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.161)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.4f1)] -// CHECK:STDOUT: %.loc9_3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc9_3 (constants.%.51e)] -// CHECK:STDOUT: %impl.elem0.loc9_3.2: @ErrorIfNIsZero.%.loc9_3 (%.51e) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_3.2 (constants.%impl.elem0.f9f)] -// CHECK:STDOUT: %specific_impl_fn.loc9_3.2: = specific_impl_function %impl.elem0.loc9_3.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc9_3.2 (constants.%specific_impl_fn.097)] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc9_28.2: %DefaultOrUnformed.type = facet_value %Int.loc9_27.2, (%DefaultOrUnformed.lookup_impl_witness) [symbolic = %DefaultOrUnformed.facet.loc9_28.2 (constants.%DefaultOrUnformed.facet.69b)] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc9_28.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type (constants.%DefaultOrUnformed.WithSelf.Op.type.cd6)] +// CHECK:STDOUT: %.loc9_28.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type, %DefaultOrUnformed.facet.loc9_28.2 [symbolic = %.loc9_28.4 (constants.%.a51)] +// CHECK:STDOUT: %impl.elem0.loc9_28.2: @ErrorIfNIsZero.%.loc9_28.4 (%.a51) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_28.2 (constants.%impl.elem0.64e)] +// CHECK:STDOUT: %specific_impl_fn.loc9_28.2: = specific_impl_function %impl.elem0.loc9_28.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc9_28.2) [symbolic = %specific_impl_fn.loc9_28.2 (constants.%specific_impl_fn.f45)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Int.loc9_27.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness.c2c)] +// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %Int.loc9_27.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.38c)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.833)] +// CHECK:STDOUT: %.loc9_3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc9_3 (constants.%.b6c)] +// CHECK:STDOUT: %impl.elem0.loc9_3.2: @ErrorIfNIsZero.%.loc9_3 (%.b6c) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_3.2 (constants.%impl.elem0.913)] +// CHECK:STDOUT: %specific_impl_fn.loc9_3.2: = specific_impl_function %impl.elem0.loc9_3.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc9_3.2 (constants.%specific_impl_fn.c0a)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: @ErrorIfNIsZero.%pattern_type (%pattern_type.a7b) = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: @ErrorIfNIsZero.%pattern_type (%pattern_type.a7b) = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: @ErrorIfNIsZero.%pattern_type (%pattern_type.142) = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: @ErrorIfNIsZero.%pattern_type (%pattern_type.142) = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref @ErrorIfNIsZero.%Int.loc9_27.2 (%Int) = var %v.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc9_28.1: %DefaultOrUnformed.type = facet_value constants.%Int, (constants.%DefaultOrUnformed.lookup_impl_witness) [symbolic = %DefaultOrUnformed.facet.loc9_28.2 (constants.%DefaultOrUnformed.facet.6cd)] -// CHECK:STDOUT: %.loc9_28.1: %DefaultOrUnformed.type = converted constants.%Int, %DefaultOrUnformed.facet.loc9_28.1 [symbolic = %DefaultOrUnformed.facet.loc9_28.2 (constants.%DefaultOrUnformed.facet.6cd)] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc9_28.1: %DefaultOrUnformed.type = facet_value constants.%Int, (constants.%DefaultOrUnformed.lookup_impl_witness) [symbolic = %DefaultOrUnformed.facet.loc9_28.2 (constants.%DefaultOrUnformed.facet.69b)] +// CHECK:STDOUT: %.loc9_28.1: %DefaultOrUnformed.type = converted constants.%Int, %DefaultOrUnformed.facet.loc9_28.1 [symbolic = %DefaultOrUnformed.facet.loc9_28.2 (constants.%DefaultOrUnformed.facet.69b)] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc9_28.1 [symbolic = %Int.loc9_27.2 (constants.%Int)] // CHECK:STDOUT: %.loc9_28.2: type = converted %.loc9_28.1, %as_type [symbolic = %Int.loc9_27.2 (constants.%Int)] -// CHECK:STDOUT: %impl.elem0.loc9_28.1: @ErrorIfNIsZero.%.loc9_28.4 (%.17b) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_28.2 (constants.%impl.elem0.c00)] -// CHECK:STDOUT: %specific_impl_fn.loc9_28.1: = specific_impl_function %impl.elem0.loc9_28.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet.6cd) [symbolic = %specific_impl_fn.loc9_28.2 (constants.%specific_impl_fn.4bc)] +// CHECK:STDOUT: %impl.elem0.loc9_28.1: @ErrorIfNIsZero.%.loc9_28.4 (%.a51) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_28.2 (constants.%impl.elem0.64e)] +// CHECK:STDOUT: %specific_impl_fn.loc9_28.1: = specific_impl_function %impl.elem0.loc9_28.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet.69b) [symbolic = %specific_impl_fn.loc9_28.2 (constants.%specific_impl_fn.f45)] // CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.call: init @ErrorIfNIsZero.%Int.loc9_27.2 (%Int) = call %specific_impl_fn.loc9_28.1() // CHECK:STDOUT: assign %v.var, %DefaultOrUnformed.WithSelf.Op.call // CHECK:STDOUT: %.loc9_27: type = splice_block %Int.loc9_27.1 [symbolic = %Int.loc9_27.2 (constants.%Int)] { @@ -178,9 +178,9 @@ fn CallNegative() { // CHECK:STDOUT: %Int.loc9_27.1: type = class_type @Int, @Int(constants.%N) [symbolic = %Int.loc9_27.2 (constants.%Int)] // CHECK:STDOUT: } // CHECK:STDOUT: %v: ref @ErrorIfNIsZero.%Int.loc9_27.2 (%Int) = ref_binding v, %v.var -// CHECK:STDOUT: %impl.elem0.loc9_3.1: @ErrorIfNIsZero.%.loc9_3 (%.51e) = impl_witness_access constants.%Destroy.lookup_impl_witness.b3d, element0 [symbolic = %impl.elem0.loc9_3.2 (constants.%impl.elem0.f9f)] +// CHECK:STDOUT: %impl.elem0.loc9_3.1: @ErrorIfNIsZero.%.loc9_3 (%.b6c) = impl_witness_access constants.%Destroy.lookup_impl_witness.c2c, element0 [symbolic = %impl.elem0.loc9_3.2 (constants.%impl.elem0.913)] // CHECK:STDOUT: %bound_method.loc9_3.1: = bound_method %v.var, %impl.elem0.loc9_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc9_3.1: = specific_impl_function %impl.elem0.loc9_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.161) [symbolic = %specific_impl_fn.loc9_3.2 (constants.%specific_impl_fn.097)] +// CHECK:STDOUT: %specific_impl_fn.loc9_3.1: = specific_impl_function %impl.elem0.loc9_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.38c) [symbolic = %specific_impl_fn.loc9_3.2 (constants.%specific_impl_fn.c0a)] // CHECK:STDOUT: %bound_method.loc9_3.2: = bound_method %v.var, %specific_impl_fn.loc9_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc9_3.2(%v.var) // CHECK:STDOUT: return @@ -211,18 +211,18 @@ fn CallNegative() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Int.loc9_27.2 => constants.%i0 // CHECK:STDOUT: %require_complete => -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e4a -// CHECK:STDOUT: %.loc9_28.3 => constants.%.42c -// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness => constants.%DefaultOrUnformed.impl_witness.105 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc9_28.2 => constants.%DefaultOrUnformed.facet.9e7 -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type => constants.%DefaultOrUnformed.WithSelf.Op.type.c09 -// CHECK:STDOUT: %.loc9_28.4 => constants.%.b6d -// CHECK:STDOUT: %impl.elem0.loc9_28.2 => constants.%T.as.DefaultOrUnformed.impl.Op.f50 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d92 +// CHECK:STDOUT: %.loc9_28.3 => constants.%.90a +// CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness => constants.%DefaultOrUnformed.impl_witness.635 +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc9_28.2 => constants.%DefaultOrUnformed.facet.fb1 +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type => constants.%DefaultOrUnformed.WithSelf.Op.type.fb6 +// CHECK:STDOUT: %.loc9_28.4 => constants.%.e74 +// CHECK:STDOUT: %impl.elem0.loc9_28.2 => constants.%T.as.DefaultOrUnformed.impl.Op.67b // CHECK:STDOUT: %specific_impl_fn.loc9_28.2 => constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.340 -// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.38c -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e96 -// CHECK:STDOUT: %.loc9_3 => constants.%.a59 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.e20 +// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.81a +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.ee6 +// CHECK:STDOUT: %.loc9_3 => constants.%.b8c // CHECK:STDOUT: %impl.elem0.loc9_3.2 => constants.%Destroy.Op // CHECK:STDOUT: %specific_impl_fn.loc9_3.2 => constants.%Destroy.Op // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/function/generic/return_slot.carbon b/toolchain/check/testdata/function/generic/return_slot.carbon index 447baf50a0fd..a40b62d00af1 100644 --- a/toolchain/check/testdata/function/generic/return_slot.carbon +++ b/toolchain/check/testdata/function/generic/return_slot.carbon @@ -34,15 +34,15 @@ fn G() { // CHECK:STDOUT: %Wrap.type: type = generic_class_type @Wrap [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Wrap.generic: %Wrap.type = struct_value () [concrete] -// CHECK:STDOUT: %Wrap.44d: type = class_type @Wrap, @Wrap(%T) [symbolic] +// CHECK:STDOUT: %Wrap.0f0: type = class_type @Wrap, @Wrap(%T) [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %T [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %Wrap.Make.type.46e: type = fn_type @Wrap.Make, @Wrap(%T) [symbolic] -// CHECK:STDOUT: %Wrap.Make.fb5: %Wrap.Make.type.46e = struct_value () [symbolic] +// CHECK:STDOUT: %Wrap.Make.type.916: type = fn_type @Wrap.Make, @Wrap(%T) [symbolic] +// CHECK:STDOUT: %Wrap.Make.fbf: %Wrap.Make.type.916 = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %Wrap.Make.specific_fn.ca1: = specific_function %Wrap.Make.fb5, @Wrap.Make(%T) [symbolic] +// CHECK:STDOUT: %Wrap.Make.specific_fn.d60: = specific_function %Wrap.Make.fbf, @Wrap.Make(%T) [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] @@ -53,36 +53,36 @@ fn G() { // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %array_type [concrete] -// CHECK:STDOUT: %struct_type.arr.d8b: type = struct_type {.arr: %array_type} [concrete] -// CHECK:STDOUT: %complete_type.ec6: = complete_type_witness %struct_type.arr.d8b [concrete] +// CHECK:STDOUT: %struct_type.arr.43d: type = struct_type {.arr: %array_type} [concrete] +// CHECK:STDOUT: %complete_type.0c2: = complete_type_witness %struct_type.arr.43d [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Wrap.b28: type = class_type @Wrap, @Wrap(%i32) [concrete] -// CHECK:STDOUT: %Wrap.Make.type.a70: type = fn_type @Wrap.Make, @Wrap(%i32) [concrete] -// CHECK:STDOUT: %Wrap.Make.07c: %Wrap.Make.type.a70 = struct_value () [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %Wrap.Make.specific_fn.4ef: = specific_function %Wrap.Make.07c, @Wrap.Make(%i32) [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Wrap.1cd: type = class_type @Wrap, @Wrap(%i32) [concrete] +// CHECK:STDOUT: %Wrap.Make.type.00b: type = fn_type @Wrap.Make, @Wrap(%i32) [concrete] +// CHECK:STDOUT: %Wrap.Make.8d0: %Wrap.Make.type.00b = struct_value () [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %Wrap.Make.specific_fn.264: = specific_function %Wrap.Make.8d0, @Wrap.Make(%i32) [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] -// CHECK:STDOUT: %Wrap.7af: type = class_type @Wrap, @Wrap(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %Wrap.Make.type.665: type = fn_type @Wrap.Make, @Wrap(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %Wrap.Make.839: %Wrap.Make.type.665 = struct_value () [concrete] +// CHECK:STDOUT: %Wrap.065: type = class_type @Wrap, @Wrap(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %Wrap.Make.type.67f: type = fn_type @Wrap.Make, @Wrap(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %Wrap.Make.7f3: %Wrap.Make.type.67f = struct_value () [concrete] // CHECK:STDOUT: %.262: Core.Form = init_form %empty_tuple.type [concrete] -// CHECK:STDOUT: %Wrap.Make.specific_fn.5cb: = specific_function %Wrap.Make.839, @Wrap.Make(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] -// CHECK:STDOUT: %Wrap.53a: type = class_type @Wrap, @Wrap(%C) [concrete] -// CHECK:STDOUT: %Wrap.Make.type.59e: type = fn_type @Wrap.Make, @Wrap(%C) [concrete] -// CHECK:STDOUT: %Wrap.Make.edd: %Wrap.Make.type.59e = struct_value () [concrete] -// CHECK:STDOUT: %.e64: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %Wrap.Make.specific_fn.96b: = specific_function %Wrap.Make.edd, @Wrap.Make(%C) [concrete] +// CHECK:STDOUT: %Wrap.Make.specific_fn.2bf: = specific_function %Wrap.Make.7f3, @Wrap.Make(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] +// CHECK:STDOUT: %Wrap.52b: type = class_type @Wrap, @Wrap(%C) [concrete] +// CHECK:STDOUT: %Wrap.Make.type.75a: type = fn_type @Wrap.Make, @Wrap(%C) [concrete] +// CHECK:STDOUT: %Wrap.Make.700: %Wrap.Make.type.75a = struct_value () [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %Wrap.Make.specific_fn.baf: = specific_function %Wrap.Make.700, @Wrap.Make(%C) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc24_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc24_3.5 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc23 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc24_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc24_3.5 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc23 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] // CHECK:STDOUT: %complete_type.782: = complete_type_witness %empty_tuple.type [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -122,11 +122,11 @@ fn G() { // CHECK:STDOUT: %T.loc15_13.1: type = symbolic_binding T, 0 [symbolic = %T.loc15_13.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Wrap.Make.type: type = fn_type @Wrap.Make, @Wrap(%T.loc15_13.1) [symbolic = %Wrap.Make.type (constants.%Wrap.Make.type.46e)] -// CHECK:STDOUT: %Wrap.Make: @Wrap.%Wrap.Make.type (%Wrap.Make.type.46e) = struct_value () [symbolic = %Wrap.Make (constants.%Wrap.Make.fb5)] +// CHECK:STDOUT: %Wrap.Make.type: type = fn_type @Wrap.Make, @Wrap(%T.loc15_13.1) [symbolic = %Wrap.Make.type (constants.%Wrap.Make.type.916)] +// CHECK:STDOUT: %Wrap.Make: @Wrap.%Wrap.Make.type (%Wrap.Make.type.916) = struct_value () [symbolic = %Wrap.Make (constants.%Wrap.Make.fbf)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %Wrap.Make.decl: @Wrap.%Wrap.Make.type (%Wrap.Make.type.46e) = fn_decl @Wrap.Make [symbolic = @Wrap.%Wrap.Make (constants.%Wrap.Make.fb5)] { +// CHECK:STDOUT: %Wrap.Make.decl: @Wrap.%Wrap.Make.type (%Wrap.Make.type.916) = fn_decl @Wrap.Make [symbolic = @Wrap.%Wrap.Make (constants.%Wrap.Make.fbf)] { // CHECK:STDOUT: %return.param_patt: @Wrap.Make.%pattern_type (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @Wrap.Make.%pattern_type (%pattern_type.51d) = return_slot_pattern %return.param_patt, %T.ref [concrete] // CHECK:STDOUT: } { @@ -139,7 +139,7 @@ fn G() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Wrap.44d +// CHECK:STDOUT: .Self = constants.%Wrap.0f0 // CHECK:STDOUT: .T = // CHECK:STDOUT: .Make = %Wrap.Make.decl // CHECK:STDOUT: } @@ -147,7 +147,7 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: class @C { // CHECK:STDOUT: %.loc19: %C.elem = field_decl arr, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.arr.d8b [concrete = constants.%complete_type.ec6] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.arr.43d [concrete = constants.%complete_type.0c2] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -162,15 +162,15 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %Wrap.Make.type: type = fn_type @Wrap.Make, @Wrap(%T) [symbolic = %Wrap.Make.type (constants.%Wrap.Make.type.46e)] -// CHECK:STDOUT: %Wrap.Make: @Wrap.Make.%Wrap.Make.type (%Wrap.Make.type.46e) = struct_value () [symbolic = %Wrap.Make (constants.%Wrap.Make.fb5)] -// CHECK:STDOUT: %Wrap.Make.specific_fn.loc16_27.2: = specific_function %Wrap.Make, @Wrap.Make(%T) [symbolic = %Wrap.Make.specific_fn.loc16_27.2 (constants.%Wrap.Make.specific_fn.ca1)] +// CHECK:STDOUT: %Wrap.Make.type: type = fn_type @Wrap.Make, @Wrap(%T) [symbolic = %Wrap.Make.type (constants.%Wrap.Make.type.916)] +// CHECK:STDOUT: %Wrap.Make: @Wrap.Make.%Wrap.Make.type (%Wrap.Make.type.916) = struct_value () [symbolic = %Wrap.Make (constants.%Wrap.Make.fbf)] +// CHECK:STDOUT: %Wrap.Make.specific_fn.loc16_27.2: = specific_function %Wrap.Make, @Wrap.Make(%T) [symbolic = %Wrap.Make.specific_fn.loc16_27.2 (constants.%Wrap.Make.specific_fn.d60)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @Wrap.Make.%T (%T) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %.loc16_27: @Wrap.Make.%Wrap.Make.type (%Wrap.Make.type.46e) = specific_constant @Wrap.%Wrap.Make.decl, @Wrap(constants.%T) [symbolic = %Wrap.Make (constants.%Wrap.Make.fb5)] -// CHECK:STDOUT: %Make.ref: @Wrap.Make.%Wrap.Make.type (%Wrap.Make.type.46e) = name_ref Make, %.loc16_27 [symbolic = %Wrap.Make (constants.%Wrap.Make.fb5)] -// CHECK:STDOUT: %Wrap.Make.specific_fn.loc16_27.1: = specific_function %Make.ref, @Wrap.Make(constants.%T) [symbolic = %Wrap.Make.specific_fn.loc16_27.2 (constants.%Wrap.Make.specific_fn.ca1)] +// CHECK:STDOUT: %.loc16_27: @Wrap.Make.%Wrap.Make.type (%Wrap.Make.type.916) = specific_constant @Wrap.%Wrap.Make.decl, @Wrap(constants.%T) [symbolic = %Wrap.Make (constants.%Wrap.Make.fbf)] +// CHECK:STDOUT: %Make.ref: @Wrap.Make.%Wrap.Make.type (%Wrap.Make.type.916) = name_ref Make, %.loc16_27 [symbolic = %Wrap.Make (constants.%Wrap.Make.fbf)] +// CHECK:STDOUT: %Wrap.Make.specific_fn.loc16_27.1: = specific_function %Make.ref, @Wrap.Make(constants.%T) [symbolic = %Wrap.Make.specific_fn.loc16_27.2 (constants.%Wrap.Make.specific_fn.d60)] // CHECK:STDOUT: %.loc16_16.1: ref @Wrap.Make.%T (%T) = splice_block %return.param {} // CHECK:STDOUT: %Wrap.Make.call: init @Wrap.Make.%T (%T) to %.loc16_16.1 = call %Wrap.Make.specific_fn.loc16_27.1() // CHECK:STDOUT: return %Wrap.Make.call to %return.param @@ -180,16 +180,16 @@ fn G() { // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt // CHECK:STDOUT: %Wrap.ref.loc22: %Wrap.type = name_ref Wrap, file.%Wrap.decl [concrete = constants.%Wrap.generic] // CHECK:STDOUT: %i32.loc22_28: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Wrap.loc22: type = class_type @Wrap, @Wrap(constants.%i32) [concrete = constants.%Wrap.b28] -// CHECK:STDOUT: %.loc22: %Wrap.Make.type.a70 = specific_constant @Wrap.%Wrap.Make.decl, @Wrap(constants.%i32) [concrete = constants.%Wrap.Make.07c] -// CHECK:STDOUT: %Make.ref.loc22: %Wrap.Make.type.a70 = name_ref Make, %.loc22 [concrete = constants.%Wrap.Make.07c] -// CHECK:STDOUT: %Wrap.Make.specific_fn.loc22: = specific_function %Make.ref.loc22, @Wrap.Make(constants.%i32) [concrete = constants.%Wrap.Make.specific_fn.4ef] +// CHECK:STDOUT: %Wrap.loc22: type = class_type @Wrap, @Wrap(constants.%i32) [concrete = constants.%Wrap.1cd] +// CHECK:STDOUT: %.loc22: %Wrap.Make.type.00b = specific_constant @Wrap.%Wrap.Make.decl, @Wrap(constants.%i32) [concrete = constants.%Wrap.Make.8d0] +// CHECK:STDOUT: %Make.ref.loc22: %Wrap.Make.type.00b = name_ref Make, %.loc22 [concrete = constants.%Wrap.Make.8d0] +// CHECK:STDOUT: %Wrap.Make.specific_fn.loc22: = specific_function %Make.ref.loc22, @Wrap.Make(constants.%i32) [concrete = constants.%Wrap.Make.specific_fn.264] // CHECK:STDOUT: %Wrap.Make.call.loc22: init %i32 = call %Wrap.Make.specific_fn.loc22() // CHECK:STDOUT: assign %a.var, %Wrap.Make.call.loc22 // CHECK:STDOUT: %i32.loc22_17: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -202,10 +202,10 @@ fn G() { // CHECK:STDOUT: %Wrap.ref.loc23: %Wrap.type = name_ref Wrap, file.%Wrap.decl [concrete = constants.%Wrap.generic] // CHECK:STDOUT: %.loc23_28: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc23_29: type = converted %.loc23_28, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %Wrap.loc23: type = class_type @Wrap, @Wrap(constants.%empty_tuple.type) [concrete = constants.%Wrap.7af] -// CHECK:STDOUT: %.loc23_30: %Wrap.Make.type.665 = specific_constant @Wrap.%Wrap.Make.decl, @Wrap(constants.%empty_tuple.type) [concrete = constants.%Wrap.Make.839] -// CHECK:STDOUT: %Make.ref.loc23: %Wrap.Make.type.665 = name_ref Make, %.loc23_30 [concrete = constants.%Wrap.Make.839] -// CHECK:STDOUT: %Wrap.Make.specific_fn.loc23: = specific_function %Make.ref.loc23, @Wrap.Make(constants.%empty_tuple.type) [concrete = constants.%Wrap.Make.specific_fn.5cb] +// CHECK:STDOUT: %Wrap.loc23: type = class_type @Wrap, @Wrap(constants.%empty_tuple.type) [concrete = constants.%Wrap.065] +// CHECK:STDOUT: %.loc23_30: %Wrap.Make.type.67f = specific_constant @Wrap.%Wrap.Make.decl, @Wrap(constants.%empty_tuple.type) [concrete = constants.%Wrap.Make.7f3] +// CHECK:STDOUT: %Make.ref.loc23: %Wrap.Make.type.67f = name_ref Make, %.loc23_30 [concrete = constants.%Wrap.Make.7f3] +// CHECK:STDOUT: %Wrap.Make.specific_fn.loc23: = specific_function %Make.ref.loc23, @Wrap.Make(constants.%empty_tuple.type) [concrete = constants.%Wrap.Make.specific_fn.2bf] // CHECK:STDOUT: %Wrap.Make.call.loc23: init %empty_tuple.type = call %Wrap.Make.specific_fn.loc23() // CHECK:STDOUT: assign %b.var, %Wrap.Make.call.loc23 // CHECK:STDOUT: %.loc23_18.1: type = splice_block %.loc23_18.3 [concrete = constants.%empty_tuple.type] { @@ -214,26 +214,26 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: %b: ref %empty_tuple.type = ref_binding b, %b.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.d7b = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.d7b = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt // CHECK:STDOUT: %Wrap.ref.loc24: %Wrap.type = name_ref Wrap, file.%Wrap.decl [concrete = constants.%Wrap.generic] // CHECK:STDOUT: %C.ref.loc24_26: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %Wrap.loc24: type = class_type @Wrap, @Wrap(constants.%C) [concrete = constants.%Wrap.53a] -// CHECK:STDOUT: %.loc24_28: %Wrap.Make.type.59e = specific_constant @Wrap.%Wrap.Make.decl, @Wrap(constants.%C) [concrete = constants.%Wrap.Make.edd] -// CHECK:STDOUT: %Make.ref.loc24: %Wrap.Make.type.59e = name_ref Make, %.loc24_28 [concrete = constants.%Wrap.Make.edd] -// CHECK:STDOUT: %Wrap.Make.specific_fn.loc24: = specific_function %Make.ref.loc24, @Wrap.Make(constants.%C) [concrete = constants.%Wrap.Make.specific_fn.96b] +// CHECK:STDOUT: %Wrap.loc24: type = class_type @Wrap, @Wrap(constants.%C) [concrete = constants.%Wrap.52b] +// CHECK:STDOUT: %.loc24_28: %Wrap.Make.type.75a = specific_constant @Wrap.%Wrap.Make.decl, @Wrap(constants.%C) [concrete = constants.%Wrap.Make.700] +// CHECK:STDOUT: %Make.ref.loc24: %Wrap.Make.type.75a = name_ref Make, %.loc24_28 [concrete = constants.%Wrap.Make.700] +// CHECK:STDOUT: %Wrap.Make.specific_fn.loc24: = specific_function %Make.ref.loc24, @Wrap.Make(constants.%C) [concrete = constants.%Wrap.Make.specific_fn.baf] // CHECK:STDOUT: %.loc24_3: ref %C = splice_block %c.var {} // CHECK:STDOUT: %Wrap.Make.call.loc24: init %C to %.loc24_3 = call %Wrap.Make.specific_fn.loc24() // CHECK:STDOUT: assign %c.var, %Wrap.Make.call.loc24 // CHECK:STDOUT: %C.ref.loc24_17: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var -// CHECK:STDOUT: %Destroy.Op.bound.loc24: = bound_method %c.var, constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %Destroy.Op.bound.loc24: = bound_method %c.var, constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: %Destroy.Op.call.loc24: init %empty_tuple.type = call %Destroy.Op.bound.loc24(%c.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %b.var, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %b.var, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call.loc23: init %empty_tuple.type = call %Destroy.Op.bound.loc23(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc22: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc22: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc22: init %empty_tuple.type = call %Destroy.Op.bound.loc22(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -250,7 +250,7 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc24_3.4(%self.param: ref %struct_type.arr.d8b) { +// CHECK:STDOUT: fn @Destroy.Op.loc24_3.4(%self.param: ref %struct_type.arr.43d) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -266,8 +266,8 @@ fn G() { // CHECK:STDOUT: %T.loc15_13.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.46e -// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.fb5 +// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.916 +// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.fbf // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Wrap.Make(constants.%T) { @@ -277,37 +277,37 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete.944 -// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.46e -// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.fb5 -// CHECK:STDOUT: %Wrap.Make.specific_fn.loc16_27.2 => constants.%Wrap.Make.specific_fn.ca1 +// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.916 +// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.fbf +// CHECK:STDOUT: %Wrap.Make.specific_fn.loc16_27.2 => constants.%Wrap.Make.specific_fn.d60 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Wrap(constants.%i32) { // CHECK:STDOUT: %T.loc15_13.1 => constants.%i32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.a70 -// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.07c +// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.00b +// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.8d0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Wrap.Make(constants.%i32) { // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %.loc16_16.2 => constants.%.70c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c6b +// CHECK:STDOUT: %.loc16_16.2 => constants.%.7ea +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.104 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.a70 -// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.07c -// CHECK:STDOUT: %Wrap.Make.specific_fn.loc16_27.2 => constants.%Wrap.Make.specific_fn.4ef +// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.00b +// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.8d0 +// CHECK:STDOUT: %Wrap.Make.specific_fn.loc16_27.2 => constants.%Wrap.Make.specific_fn.264 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Wrap(constants.%empty_tuple.type) { // CHECK:STDOUT: %T.loc15_13.1 => constants.%empty_tuple.type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.665 -// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.839 +// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.67f +// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.7f3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Wrap.Make(constants.%empty_tuple.type) { @@ -317,28 +317,28 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.782 -// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.665 -// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.839 -// CHECK:STDOUT: %Wrap.Make.specific_fn.loc16_27.2 => constants.%Wrap.Make.specific_fn.5cb +// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.67f +// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.7f3 +// CHECK:STDOUT: %Wrap.Make.specific_fn.loc16_27.2 => constants.%Wrap.Make.specific_fn.2bf // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Wrap(constants.%C) { // CHECK:STDOUT: %T.loc15_13.1 => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.59e -// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.edd +// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.75a +// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.700 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Wrap.Make(constants.%C) { // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %.loc16_16.2 => constants.%.e64 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d7b +// CHECK:STDOUT: %.loc16_16.2 => constants.%.8f0 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.ec6 -// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.59e -// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.edd -// CHECK:STDOUT: %Wrap.Make.specific_fn.loc16_27.2 => constants.%Wrap.Make.specific_fn.96b +// CHECK:STDOUT: %require_complete => constants.%complete_type.0c2 +// CHECK:STDOUT: %Wrap.Make.type => constants.%Wrap.Make.type.75a +// CHECK:STDOUT: %Wrap.Make => constants.%Wrap.Make.700 +// CHECK:STDOUT: %Wrap.Make.specific_fn.loc16_27.2 => constants.%Wrap.Make.specific_fn.baf // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/function/generic/type_param.carbon b/toolchain/check/testdata/function/generic/type_param.carbon index 0b69f00ea5e3..1e6e629680a3 100644 --- a/toolchain/check/testdata/function/generic/type_param.carbon +++ b/toolchain/check/testdata/function/generic/type_param.carbon @@ -34,19 +34,19 @@ fn F(T:! type) { // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67d [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T.67d [symbolic] // CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness: = lookup_impl_witness %ptr, @DefaultOrUnformed [symbolic] -// CHECK:STDOUT: %.0ac: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%ptr) [symbolic] +// CHECK:STDOUT: %.939: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%ptr) [symbolic] // CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr, (%DefaultOrUnformed.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.8f9: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet) [symbolic] -// CHECK:STDOUT: %.839: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.8f9, %DefaultOrUnformed.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.856: %.839 = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.34c: = specific_impl_function %impl.elem0.856, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.08d: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet) [symbolic] +// CHECK:STDOUT: %.ec9: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.08d, %DefaultOrUnformed.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.e5e: %.ec9 = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.78e: = specific_impl_function %impl.elem0.e5e, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet) [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %ptr, @Destroy [symbolic] // CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %ptr, (%Destroy.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.767: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic] -// CHECK:STDOUT: %.007: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.767, %Destroy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.218: %.007 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.4d0: = specific_impl_function %impl.elem0.218, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.12b: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic] +// CHECK:STDOUT: %.2ce: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.12b, %Destroy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.ca4: %.2ce = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.d41: = specific_impl_function %impl.elem0.ca4, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -84,21 +84,21 @@ fn F(T:! type) { // CHECK:STDOUT: %ptr.loc16_11.2: type = ptr_type %T.loc15_7.1 [symbolic = %ptr.loc16_11.2 (constants.%ptr)] // CHECK:STDOUT: %require_complete.loc16: = require_complete_type %ptr.loc16_11.2 [symbolic = %require_complete.loc16 (constants.%require_complete.ef1)] // CHECK:STDOUT: %pattern_type.loc16: type = pattern_type %ptr.loc16_11.2 [symbolic = %pattern_type.loc16 (constants.%pattern_type.4f4)] -// CHECK:STDOUT: %.loc16_12.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%ptr.loc16_11.2) [symbolic = %.loc16_12.3 (constants.%.0ac)] +// CHECK:STDOUT: %.loc16_12.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%ptr.loc16_11.2) [symbolic = %.loc16_12.3 (constants.%.939)] // CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness: = lookup_impl_witness %ptr.loc16_11.2, @DefaultOrUnformed [symbolic = %DefaultOrUnformed.lookup_impl_witness (constants.%DefaultOrUnformed.lookup_impl_witness)] // CHECK:STDOUT: %DefaultOrUnformed.facet.loc16_12.2: %DefaultOrUnformed.type = facet_value %ptr.loc16_11.2, (%DefaultOrUnformed.lookup_impl_witness) [symbolic = %DefaultOrUnformed.facet.loc16_12.2 (constants.%DefaultOrUnformed.facet)] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc16_12.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type (constants.%DefaultOrUnformed.WithSelf.Op.type.8f9)] -// CHECK:STDOUT: %.loc16_12.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type, %DefaultOrUnformed.facet.loc16_12.2 [symbolic = %.loc16_12.4 (constants.%.839)] -// CHECK:STDOUT: %impl.elem0.loc16_12.2: @F.%.loc16_12.4 (%.839) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_12.2 (constants.%impl.elem0.856)] -// CHECK:STDOUT: %specific_impl_fn.loc16_12.2: = specific_impl_function %impl.elem0.loc16_12.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc16_12.2) [symbolic = %specific_impl_fn.loc16_12.2 (constants.%specific_impl_fn.34c)] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc16_12.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type (constants.%DefaultOrUnformed.WithSelf.Op.type.08d)] +// CHECK:STDOUT: %.loc16_12.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type, %DefaultOrUnformed.facet.loc16_12.2 [symbolic = %.loc16_12.4 (constants.%.ec9)] +// CHECK:STDOUT: %impl.elem0.loc16_12.2: @F.%.loc16_12.4 (%.ec9) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_12.2 (constants.%impl.elem0.e5e)] +// CHECK:STDOUT: %specific_impl_fn.loc16_12.2: = specific_impl_function %impl.elem0.loc16_12.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc16_12.2) [symbolic = %specific_impl_fn.loc16_12.2 (constants.%specific_impl_fn.78e)] // CHECK:STDOUT: %require_complete.loc17: = require_complete_type %T.loc15_7.1 [symbolic = %require_complete.loc17 (constants.%require_complete.944)] // CHECK:STDOUT: %pattern_type.loc17: type = pattern_type %T.loc15_7.1 [symbolic = %pattern_type.loc17 (constants.%pattern_type.51d)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %ptr.loc16_11.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] // CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %ptr.loc16_11.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.767)] -// CHECK:STDOUT: %.loc16_3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc16_3 (constants.%.007)] -// CHECK:STDOUT: %impl.elem0.loc16_3.2: @F.%.loc16_3 (%.007) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_3.2 (constants.%impl.elem0.218)] -// CHECK:STDOUT: %specific_impl_fn.loc16_3.2: = specific_impl_function %impl.elem0.loc16_3.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc16_3.2 (constants.%specific_impl_fn.4d0)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.12b)] +// CHECK:STDOUT: %.loc16_3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc16_3 (constants.%.2ce)] +// CHECK:STDOUT: %impl.elem0.loc16_3.2: @F.%.loc16_3 (%.2ce) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_3.2 (constants.%impl.elem0.ca4)] +// CHECK:STDOUT: %specific_impl_fn.loc16_3.2: = specific_impl_function %impl.elem0.loc16_3.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc16_3.2 (constants.%specific_impl_fn.d41)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: @@ -111,8 +111,8 @@ fn F(T:! type) { // CHECK:STDOUT: %.loc16_12.1: %DefaultOrUnformed.type = converted constants.%ptr, %DefaultOrUnformed.facet.loc16_12.1 [symbolic = %DefaultOrUnformed.facet.loc16_12.2 (constants.%DefaultOrUnformed.facet)] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc16_12.1 [symbolic = %ptr.loc16_11.2 (constants.%ptr)] // CHECK:STDOUT: %.loc16_12.2: type = converted %.loc16_12.1, %as_type [symbolic = %ptr.loc16_11.2 (constants.%ptr)] -// CHECK:STDOUT: %impl.elem0.loc16_12.1: @F.%.loc16_12.4 (%.839) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_12.2 (constants.%impl.elem0.856)] -// CHECK:STDOUT: %specific_impl_fn.loc16_12.1: = specific_impl_function %impl.elem0.loc16_12.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet) [symbolic = %specific_impl_fn.loc16_12.2 (constants.%specific_impl_fn.34c)] +// CHECK:STDOUT: %impl.elem0.loc16_12.1: @F.%.loc16_12.4 (%.ec9) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_12.2 (constants.%impl.elem0.e5e)] +// CHECK:STDOUT: %specific_impl_fn.loc16_12.1: = specific_impl_function %impl.elem0.loc16_12.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet) [symbolic = %specific_impl_fn.loc16_12.2 (constants.%specific_impl_fn.78e)] // CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.call: init @F.%ptr.loc16_11.2 (%ptr) = call %specific_impl_fn.loc16_12.1() // CHECK:STDOUT: assign %p.var, %DefaultOrUnformed.WithSelf.Op.call // CHECK:STDOUT: %.loc16_11: type = splice_block %ptr.loc16_11.1 [symbolic = %ptr.loc16_11.2 (constants.%ptr)] { @@ -129,9 +129,9 @@ fn F(T:! type) { // CHECK:STDOUT: %T.ref.loc17: type = name_ref T, %T.loc15_7.2 [symbolic = %T.loc15_7.1 (constants.%T.67d)] // CHECK:STDOUT: %.loc17_21.2: @F.%T.loc15_7.1 (%T.67d) = acquire_value %.loc17_21.1 // CHECK:STDOUT: %n: @F.%T.loc15_7.1 (%T.67d) = value_binding n, %.loc17_21.2 -// CHECK:STDOUT: %impl.elem0.loc16_3.1: @F.%.loc16_3 (%.007) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_3.2 (constants.%impl.elem0.218)] +// CHECK:STDOUT: %impl.elem0.loc16_3.1: @F.%.loc16_3 (%.2ce) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_3.2 (constants.%impl.elem0.ca4)] // CHECK:STDOUT: %bound_method.loc16_3.1: = bound_method %p.var, %impl.elem0.loc16_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc16_3.1: = specific_impl_function %impl.elem0.loc16_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet) [symbolic = %specific_impl_fn.loc16_3.2 (constants.%specific_impl_fn.4d0)] +// CHECK:STDOUT: %specific_impl_fn.loc16_3.1: = specific_impl_function %impl.elem0.loc16_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet) [symbolic = %specific_impl_fn.loc16_3.2 (constants.%specific_impl_fn.d41)] // CHECK:STDOUT: %bound_method.loc16_3.2: = bound_method %p.var, %specific_impl_fn.loc16_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc16_3.2(%p.var) // CHECK:STDOUT: return diff --git a/toolchain/check/testdata/function/generic/type_param_scope.carbon b/toolchain/check/testdata/function/generic/type_param_scope.carbon index 1920b9e7d7c4..7c4b0b6bcf3d 100644 --- a/toolchain/check/testdata/function/generic/type_param_scope.carbon +++ b/toolchain/check/testdata/function/generic/type_param_scope.carbon @@ -29,13 +29,13 @@ fn F(T:! type, n: T*) -> T* { // CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %ptr [symbolic] // CHECK:STDOUT: %.cb6: Core.Form = init_form %ptr [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.lookup_impl_witness.5be: = lookup_impl_witness %ptr, @Copy [symbolic] -// CHECK:STDOUT: %.546: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr, (%Copy.lookup_impl_witness.5be) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a8e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] -// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a8e, %Copy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.480: %.86b = impl_witness_access %Copy.lookup_impl_witness.5be, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d1f: = specific_impl_function %impl.elem0.480, @Copy.WithSelf.Op(%Copy.facet) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2bf: = lookup_impl_witness %ptr, @Copy [symbolic] +// CHECK:STDOUT: %.b6a: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr, (%Copy.lookup_impl_witness.2bf) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.72b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] +// CHECK:STDOUT: %.39b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72b, %Copy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.8a3: %.39b = impl_witness_access %Copy.lookup_impl_witness.2bf, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a13: = specific_impl_function %impl.elem0.8a3, @Copy.WithSelf.Op(%Copy.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc4_7.2: type) { @@ -43,13 +43,13 @@ fn F(T:! type, n: T*) -> T* { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %.loc7_10.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc4_7.1) [symbolic = %.loc7_10.1 (constants.%.546)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc4_20.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.5be)] +// CHECK:STDOUT: %.loc7_10.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc4_7.1) [symbolic = %.loc7_10.1 (constants.%.b6a)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc4_20.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2bf)] // CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc4_20.1, (%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.a8e)] -// CHECK:STDOUT: %.loc7_10.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc7_10.2 (constants.%.86b)] -// CHECK:STDOUT: %impl.elem0.loc7_10.2: @F.%.loc7_10.2 (%.86b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_10.2 (constants.%impl.elem0.480)] -// CHECK:STDOUT: %specific_impl_fn.loc7_10.2: = specific_impl_function %impl.elem0.loc7_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc7_10.2 (constants.%specific_impl_fn.d1f)] +// 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.72b)] +// CHECK:STDOUT: %.loc7_10.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc7_10.2 (constants.%.39b)] +// CHECK:STDOUT: %impl.elem0.loc7_10.2: @F.%.loc7_10.2 (%.39b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_10.2 (constants.%impl.elem0.8a3)] +// CHECK:STDOUT: %specific_impl_fn.loc7_10.2: = specific_impl_function %impl.elem0.loc7_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc7_10.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%n.param: @F.%ptr.loc4_20.1 (%ptr)) -> out %return.param: @F.%ptr.loc4_20.1 (%ptr) { // CHECK:STDOUT: !entry: @@ -63,9 +63,9 @@ fn F(T:! type, n: T*) -> T* { // CHECK:STDOUT: } // CHECK:STDOUT: %m: @F.%ptr.loc4_20.1 (%ptr) = value_binding m, %n.ref // CHECK:STDOUT: %m.ref: @F.%ptr.loc4_20.1 (%ptr) = name_ref m, %m -// CHECK:STDOUT: %impl.elem0.loc7_10.1: @F.%.loc7_10.2 (%.86b) = impl_witness_access constants.%Copy.lookup_impl_witness.5be, element0 [symbolic = %impl.elem0.loc7_10.2 (constants.%impl.elem0.480)] +// CHECK:STDOUT: %impl.elem0.loc7_10.1: @F.%.loc7_10.2 (%.39b) = impl_witness_access constants.%Copy.lookup_impl_witness.2bf, element0 [symbolic = %impl.elem0.loc7_10.2 (constants.%impl.elem0.8a3)] // CHECK:STDOUT: %bound_method.loc7_10.1: = bound_method %m.ref, %impl.elem0.loc7_10.1 -// CHECK:STDOUT: %specific_impl_fn.loc7_10.1: = specific_impl_function %impl.elem0.loc7_10.1, @Copy.WithSelf.Op(constants.%Copy.facet) [symbolic = %specific_impl_fn.loc7_10.2 (constants.%specific_impl_fn.d1f)] +// CHECK:STDOUT: %specific_impl_fn.loc7_10.1: = specific_impl_function %impl.elem0.loc7_10.1, @Copy.WithSelf.Op(constants.%Copy.facet) [symbolic = %specific_impl_fn.loc7_10.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: %bound_method.loc7_10.2: = bound_method %m.ref, %specific_impl_fn.loc7_10.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr.loc4_20.1 (%ptr) = call %bound_method.loc7_10.2(%m.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call diff --git a/toolchain/check/testdata/generic/call_basic_depth.carbon b/toolchain/check/testdata/generic/call_basic_depth.carbon index a4617205978e..8ec787d72210 100644 --- a/toolchain/check/testdata/generic/call_basic_depth.carbon +++ b/toolchain/check/testdata/generic/call_basic_depth.carbon @@ -49,7 +49,7 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] @@ -65,14 +65,14 @@ fn M() { // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %H.type: type = fn_type @H [concrete] // CHECK:STDOUT: %H: %H.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn.e78: = specific_function %F, @F(%T) [symbolic] +// CHECK:STDOUT: %F.specific_fn.d7f: = specific_function %F, @F(%T) [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %H.specific_fn.b05: = specific_function %H, @H(%T) [symbolic] -// CHECK:STDOUT: %F.specific_fn.7f0: = specific_function %F, @F(%C) [concrete] +// CHECK:STDOUT: %H.specific_fn.a19: = specific_function %H, @H(%T) [symbolic] +// CHECK:STDOUT: %F.specific_fn.076: = specific_function %F, @F(%C) [concrete] // CHECK:STDOUT: %G.specific_fn: = specific_function %G, @G(%C) [concrete] -// CHECK:STDOUT: %H.specific_fn.c6e: = specific_function %H, @H(%C) [concrete] -// CHECK:STDOUT: %C.Cfn.specific_fn.24f: = specific_function %C.Cfn, @C.Cfn(%C) [concrete] +// CHECK:STDOUT: %H.specific_fn.c76: = specific_function %H, @H(%C) [concrete] +// CHECK:STDOUT: %C.Cfn.specific_fn.bc7: = specific_function %C.Cfn, @C.Cfn(%C) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -110,13 +110,13 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %F.specific_fn.loc25_3.2: = specific_function constants.%F, @F(%T.loc23_7.1) [symbolic = %F.specific_fn.loc25_3.2 (constants.%F.specific_fn.e78)] +// CHECK:STDOUT: %F.specific_fn.loc25_3.2: = specific_function constants.%F, @F(%T.loc23_7.1) [symbolic = %F.specific_fn.loc25_3.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @H.%T.loc23_7.1 (%T)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %x.ref: @H.%T.loc23_7.1 (%T) = name_ref x, %x -// CHECK:STDOUT: %F.specific_fn.loc25_3.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc25_3.2 (constants.%F.specific_fn.e78)] +// CHECK:STDOUT: %F.specific_fn.loc25_3.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc25_3.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn.loc25_3.1(%x.ref) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -127,19 +127,19 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %H.specific_fn.loc31_3.2: = specific_function constants.%H, @H(%T.loc29_7.1) [symbolic = %H.specific_fn.loc31_3.2 (constants.%H.specific_fn.b05)] -// CHECK:STDOUT: %F.specific_fn.loc32_3.2: = specific_function constants.%F, @F(%T.loc29_7.1) [symbolic = %F.specific_fn.loc32_3.2 (constants.%F.specific_fn.e78)] +// CHECK:STDOUT: %H.specific_fn.loc31_3.2: = specific_function constants.%H, @H(%T.loc29_7.1) [symbolic = %H.specific_fn.loc31_3.2 (constants.%H.specific_fn.a19)] +// CHECK:STDOUT: %F.specific_fn.loc32_3.2: = specific_function constants.%F, @F(%T.loc29_7.1) [symbolic = %F.specific_fn.loc32_3.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @G.%T.loc29_7.1 (%T)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %H.ref: %H.type = name_ref H, file.%H.decl [concrete = constants.%H] // CHECK:STDOUT: %x.ref.loc31: @G.%T.loc29_7.1 (%T) = name_ref x, %x -// CHECK:STDOUT: %H.specific_fn.loc31_3.1: = specific_function %H.ref, @H(constants.%T) [symbolic = %H.specific_fn.loc31_3.2 (constants.%H.specific_fn.b05)] +// CHECK:STDOUT: %H.specific_fn.loc31_3.1: = specific_function %H.ref, @H(constants.%T) [symbolic = %H.specific_fn.loc31_3.2 (constants.%H.specific_fn.a19)] // CHECK:STDOUT: %H.call: init %empty_tuple.type = call %H.specific_fn.loc31_3.1(%x.ref.loc31) // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %x.ref.loc32: @G.%T.loc29_7.1 (%T) = name_ref x, %x -// CHECK:STDOUT: %F.specific_fn.loc32_3.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc32_3.2 (constants.%F.specific_fn.e78)] +// CHECK:STDOUT: %F.specific_fn.loc32_3.1: = specific_function %F.ref, @F(constants.%T) [symbolic = %F.specific_fn.loc32_3.2 (constants.%F.specific_fn.d7f)] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn.loc32_3.1(%x.ref.loc32) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -150,7 +150,7 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %n.ref.loc43: ref %C = name_ref n, %n -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.7f0] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.076] // CHECK:STDOUT: %.loc43: %C = acquire_value %n.ref.loc43 // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%.loc43) // CHECK:STDOUT: %G.ref: %G.type = name_ref G, file.%G.decl [concrete = constants.%G] @@ -175,7 +175,7 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete -// CHECK:STDOUT: %F.specific_fn.loc25_3.2 => constants.%F.specific_fn.e78 +// CHECK:STDOUT: %F.specific_fn.loc25_3.2 => constants.%F.specific_fn.d7f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @G(constants.%T) { @@ -185,7 +185,7 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%C) { // CHECK:STDOUT: %T.loc19_7.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d7b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type @@ -193,21 +193,21 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: specific @G(constants.%C) { // CHECK:STDOUT: %T.loc29_7.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d7b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type -// CHECK:STDOUT: %H.specific_fn.loc31_3.2 => constants.%H.specific_fn.c6e -// CHECK:STDOUT: %F.specific_fn.loc32_3.2 => constants.%F.specific_fn.7f0 -// CHECK:STDOUT: %C.Cfn.specific_fn.loc36_4.2 => constants.%C.Cfn.specific_fn.24f +// CHECK:STDOUT: %H.specific_fn.loc31_3.2 => constants.%H.specific_fn.c76 +// CHECK:STDOUT: %F.specific_fn.loc32_3.2 => constants.%F.specific_fn.076 +// CHECK:STDOUT: %C.Cfn.specific_fn.loc36_4.2 => constants.%C.Cfn.specific_fn.bc7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @H(constants.%C) { // CHECK:STDOUT: %T.loc23_7.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d7b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type -// CHECK:STDOUT: %F.specific_fn.loc25_3.2 => constants.%F.specific_fn.7f0 +// CHECK:STDOUT: %F.specific_fn.loc25_3.2 => constants.%F.specific_fn.076 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/generic/complete_type.carbon b/toolchain/check/testdata/generic/complete_type.carbon index 0e4d45e20a14..9aa72f5eab9f 100644 --- a/toolchain/check/testdata/generic/complete_type.carbon +++ b/toolchain/check/testdata/generic/complete_type.carbon @@ -90,18 +90,18 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %A.type: type = generic_class_type @A [concrete] // CHECK:STDOUT: %A.generic: %A.type = struct_value () [concrete] -// CHECK:STDOUT: %A.2f1: type = class_type @A, @A(%T) [symbolic] +// CHECK:STDOUT: %A.6ed: type = class_type @A, @A(%T) [symbolic] // CHECK:STDOUT: %require_complete: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %A.elem.2f6: type = unbound_element_type %A.2f1, %T [symbolic] +// CHECK:STDOUT: %A.elem.e8e: type = unbound_element_type %A.6ed, %T [symbolic] // CHECK:STDOUT: %struct_type.v.a4d: type = struct_type {.v: %T} [symbolic] // CHECK:STDOUT: %complete_type.136: = complete_type_witness %struct_type.v.a4d [symbolic] -// CHECK:STDOUT: %A.c4c: type = class_type @A, @A(%B) [concrete] -// CHECK:STDOUT: %pattern_type.361: type = pattern_type %A.c4c [concrete] +// CHECK:STDOUT: %A.75e: type = class_type @A, @A(%B) [concrete] +// CHECK:STDOUT: %pattern_type.46b: type = pattern_type %A.75e [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %A.elem.549: type = unbound_element_type %A.c4c, %B [concrete] -// CHECK:STDOUT: %struct_type.v.fcc: type = struct_type {.v: %B} [concrete] -// CHECK:STDOUT: %complete_type.e2f: = complete_type_witness %struct_type.v.fcc [concrete] +// CHECK:STDOUT: %A.elem.9ba: type = unbound_element_type %A.75e, %B [concrete] +// CHECK:STDOUT: %struct_type.v.238: type = struct_type {.v: %B} [concrete] +// CHECK:STDOUT: %complete_type.a1f: = complete_type_witness %struct_type.v.238 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: } @@ -132,16 +132,16 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: %T.loc6_10.2: type = symbolic_binding T, 0 [symbolic = %T.loc6_10.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.361 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.361 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.46b = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.46b = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param: %A.c4c = value_param call_param0 -// CHECK:STDOUT: %.loc27: type = splice_block %A [concrete = constants.%A.c4c] { +// CHECK:STDOUT: %x.param: %A.75e = value_param call_param0 +// CHECK:STDOUT: %.loc27: type = splice_block %A [concrete = constants.%A.75e] { // CHECK:STDOUT: %A.ref: %A.type = name_ref A, file.%A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl.loc4 [concrete = constants.%B] -// CHECK:STDOUT: %A: type = class_type @A, @A(constants.%B) [concrete = constants.%A.c4c] +// CHECK:STDOUT: %A: type = class_type @A, @A(constants.%B) [concrete = constants.%A.75e] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: %A.c4c = value_binding x, %x.param +// CHECK:STDOUT: %x: %A.75e = value_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: %B.decl.loc29: type = class_decl @B [concrete = constants.%B] {} {} // CHECK:STDOUT: } @@ -159,24 +159,24 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.loc6_10.1 [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %A: type = class_type @A, @A(%T.loc6_10.1) [symbolic = %A (constants.%A.2f1)] -// CHECK:STDOUT: %A.elem: type = unbound_element_type %A, %T.loc6_10.1 [symbolic = %A.elem (constants.%A.elem.2f6)] +// CHECK:STDOUT: %A: type = class_type @A, @A(%T.loc6_10.1) [symbolic = %A (constants.%A.6ed)] +// CHECK:STDOUT: %A.elem: type = unbound_element_type %A, %T.loc6_10.1 [symbolic = %A.elem (constants.%A.elem.e8e)] // CHECK:STDOUT: %struct_type.v: type = struct_type {.v: @A.%T.loc6_10.1 (%T)} [symbolic = %struct_type.v (constants.%struct_type.v.a4d)] // CHECK:STDOUT: %complete_type.loc8_1.2: = complete_type_witness %struct_type.v [symbolic = %complete_type.loc8_1.2 (constants.%complete_type.136)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %.loc7: @A.%A.elem (%A.elem.2f6) = field_decl v, element0 [concrete] +// CHECK:STDOUT: %.loc7: @A.%A.elem (%A.elem.e8e) = field_decl v, element0 [concrete] // CHECK:STDOUT: %complete_type.loc8_1.1: = complete_type_witness constants.%struct_type.v.a4d [symbolic = %complete_type.loc8_1.2 (constants.%complete_type.136)] // CHECK:STDOUT: complete_type_witness = %complete_type.loc8_1.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%A.2f1 +// CHECK:STDOUT: .Self = constants.%A.6ed // CHECK:STDOUT: .T = // CHECK:STDOUT: .v = %.loc7 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%x.param: %A.c4c) { +// CHECK:STDOUT: fn @F(%x.param: %A.75e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -190,10 +190,10 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => -// CHECK:STDOUT: %A => constants.%A.c4c -// CHECK:STDOUT: %A.elem => constants.%A.elem.549 -// CHECK:STDOUT: %struct_type.v => constants.%struct_type.v.fcc -// CHECK:STDOUT: %complete_type.loc8_1.2 => constants.%complete_type.e2f +// CHECK:STDOUT: %A => constants.%A.75e +// CHECK:STDOUT: %A.elem => constants.%A.elem.9ba +// CHECK:STDOUT: %struct_type.v => constants.%struct_type.v.238 +// CHECK:STDOUT: %complete_type.loc8_1.2 => constants.%complete_type.a1f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- incomplete_in_function.carbon @@ -210,14 +210,14 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %ptr.e8f [symbolic] -// CHECK:STDOUT: %ptr.787: type = ptr_type %B [concrete] -// CHECK:STDOUT: %pattern_type.e00: type = pattern_type %ptr.787 [concrete] +// CHECK:STDOUT: %ptr.294: type = ptr_type %B [concrete] +// CHECK:STDOUT: %pattern_type.bb8: type = pattern_type %ptr.294 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%B) [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %complete_type.b14: = complete_type_witness %ptr.787 [concrete] +// CHECK:STDOUT: %complete_type.447: = complete_type_witness %ptr.294 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -254,15 +254,15 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: %v: @F.%ptr.loc6_20.1 (%ptr.e8f) = value_binding v, %v.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.e00 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.e00 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.bb8 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.bb8 = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %p.param: %ptr.787 = value_param call_param0 -// CHECK:STDOUT: %.loc11: type = splice_block %ptr [concrete = constants.%ptr.787] { +// CHECK:STDOUT: %p.param: %ptr.294 = value_param call_param0 +// CHECK:STDOUT: %.loc11: type = splice_block %ptr [concrete = constants.%ptr.294] { // CHECK:STDOUT: %B.ref.loc11_9: type = name_ref B, file.%B.decl.loc4 [concrete = constants.%B] -// CHECK:STDOUT: %ptr: type = ptr_type %B.ref.loc11_9 [concrete = constants.%ptr.787] +// CHECK:STDOUT: %ptr: type = ptr_type %B.ref.loc11_9 [concrete = constants.%ptr.294] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.787 = value_binding p, %p.param +// CHECK:STDOUT: %p: %ptr.294 = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: %B.decl.loc13: type = class_decl @B [concrete = constants.%B] {} {} // CHECK:STDOUT: } @@ -291,11 +291,11 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %ptr.787) { +// CHECK:STDOUT: fn @G(%p.param: %ptr.294) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %B.ref.loc11_17: type = name_ref B, file.%B.decl.loc4 [concrete = constants.%B] -// CHECK:STDOUT: %p.ref: %ptr.787 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.294 = name_ref p, %p // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%B) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return @@ -309,11 +309,11 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%B) { // CHECK:STDOUT: %T.loc6_7.1 => constants.%B -// CHECK:STDOUT: %ptr.loc6_20.1 => constants.%ptr.787 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e00 +// CHECK:STDOUT: %ptr.loc6_20.1 => constants.%ptr.294 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bb8 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.b14 +// CHECK:STDOUT: %require_complete => constants.%complete_type.447 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_incomplete_in_function_at_eof.carbon @@ -332,13 +332,13 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %ptr.010: type = ptr_type %B [concrete] -// CHECK:STDOUT: %pattern_type.dfc: type = pattern_type %ptr.010 [concrete] +// CHECK:STDOUT: %ptr.294: type = ptr_type %B [concrete] +// CHECK:STDOUT: %pattern_type.bb8: type = pattern_type %ptr.294 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%B) [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness %ptr.010 [concrete] -// CHECK:STDOUT: %pattern_type.025: type = pattern_type %B [concrete] +// CHECK:STDOUT: %complete_type: = complete_type_witness %ptr.294 [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -375,15 +375,15 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: %p: @F.%ptr.loc6_20.1 (%ptr.e8f) = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.dfc = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.dfc = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.bb8 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.bb8 = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %p.param: %ptr.010 = value_param call_param0 -// CHECK:STDOUT: %.loc20: type = splice_block %ptr [concrete = constants.%ptr.010] { +// CHECK:STDOUT: %p.param: %ptr.294 = value_param call_param0 +// CHECK:STDOUT: %.loc20: type = splice_block %ptr [concrete = constants.%ptr.294] { // CHECK:STDOUT: %B.ref.loc20_9: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %ptr: type = ptr_type %B.ref.loc20_9 [concrete = constants.%ptr.010] +// CHECK:STDOUT: %ptr: type = ptr_type %B.ref.loc20_9 [concrete = constants.%ptr.294] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.010 = value_binding p, %p.param +// CHECK:STDOUT: %p: %ptr.294 = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -413,11 +413,11 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%p.param: %ptr.010) { +// CHECK:STDOUT: fn @G(%p.param: %ptr.294) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %B.ref.loc20_17: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %p.ref: %ptr.010 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.294 = name_ref p, %p // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%B) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%p.ref) // CHECK:STDOUT: return @@ -431,12 +431,12 @@ fn G(p: B*) { F(B, p); } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%B) { // CHECK:STDOUT: %T.loc6_7.1 => constants.%B -// CHECK:STDOUT: %ptr.loc6_20.1 => constants.%ptr.010 -// CHECK:STDOUT: %pattern_type.loc6 => constants.%pattern_type.dfc +// CHECK:STDOUT: %ptr.loc6_20.1 => constants.%ptr.294 +// CHECK:STDOUT: %pattern_type.loc6 => constants.%pattern_type.bb8 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc6 => constants.%complete_type // CHECK:STDOUT: %require_complete.loc7 => -// CHECK:STDOUT: %pattern_type.loc7 => constants.%pattern_type.025 +// CHECK:STDOUT: %pattern_type.loc7 => constants.%pattern_type.787 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/generic/dependent_param.carbon b/toolchain/check/testdata/generic/dependent_param.carbon index 553a82ac327a..e19e2f32874f 100644 --- a/toolchain/check/testdata/generic/dependent_param.carbon +++ b/toolchain/check/testdata/generic/dependent_param.carbon @@ -30,84 +30,84 @@ var n: i32 = Outer(i32).Inner(42).Get(); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Outer.type: type = generic_class_type @Outer [concrete] // CHECK:STDOUT: %Outer.generic: %Outer.type = struct_value () [concrete] -// CHECK:STDOUT: %Outer.cc6: type = class_type @Outer, @Outer(%T.228) [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.228 [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %U.f1c: %T.as_type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %Inner.type.317: type = generic_class_type @Inner, @Outer(%T.228) [symbolic] -// CHECK:STDOUT: %Inner.generic.e67: %Inner.type.317 = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.4c0: type = class_type @Inner, @Inner(%T.228, %U.f1c) [symbolic] -// CHECK:STDOUT: %.9ff809.2: Core.Form = init_form %T.as_type [symbolic] -// CHECK:STDOUT: %Inner.Get.type.a2b: type = fn_type @Inner.Get, @Inner(%T.228, %U.f1c) [symbolic] -// CHECK:STDOUT: %Inner.Get.9a6: %Inner.Get.type.a2b = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.c28: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c49: = lookup_impl_witness %T.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.228) [symbolic] -// CHECK:STDOUT: %.12f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.2, %T.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbd: %.12f = impl_witness_access %Copy.lookup_impl_witness.c49, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f: = specific_impl_function %impl.elem0.cbd, @Copy.WithSelf.Op(%T.228) [symbolic] -// CHECK:STDOUT: %bound_method.0f7: = bound_method %U.f1c, %impl.elem0.cbd [symbolic] -// CHECK:STDOUT: %bound_method.610: = bound_method %U.f1c, %specific_impl_fn.c5f [symbolic] +// CHECK:STDOUT: %Outer.467: type = class_type @Outer, @Outer(%T.f49) [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.f49 [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %U.51d: %T.as_type = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %Inner.type.1f5: type = generic_class_type @Inner, @Outer(%T.f49) [symbolic] +// CHECK:STDOUT: %Inner.generic.ac8: %Inner.type.1f5 = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.a12: type = class_type @Inner, @Inner(%T.f49, %U.51d) [symbolic] +// CHECK:STDOUT: %.dedae6.2: Core.Form = init_form %T.as_type [symbolic] +// CHECK:STDOUT: %Inner.Get.type.5c5: type = fn_type @Inner.Get, @Inner(%T.f49, %U.51d) [symbolic] +// CHECK:STDOUT: %Inner.Get.48d: %Inner.Get.type.5c5 = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete.77e: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2dd: = lookup_impl_witness %T.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T.f49) [symbolic] +// CHECK:STDOUT: %.e16: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.2, %T.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e: %.e16 = impl_witness_access %Copy.lookup_impl_witness.2dd, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ec: = specific_impl_function %impl.elem0.41e, @Copy.WithSelf.Op(%T.f49) [symbolic] +// CHECK:STDOUT: %bound_method.f9a: = bound_method %U.51d, %impl.elem0.41e [symbolic] +// CHECK:STDOUT: %bound_method.acb: = bound_method %U.51d, %specific_impl_fn.7ec [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Outer.41b: type = class_type @Outer, @Outer(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %Inner.type.bb7: type = generic_class_type @Inner, @Outer(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %Inner.generic.804: %Inner.type.bb7 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Outer.0c2: type = class_type @Outer, @Outer(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %Inner.type.535: type = generic_class_type @Inner, @Outer(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %Inner.generic.f35: %Inner.type.535 = struct_value () [concrete] // CHECK:STDOUT: %int_42.20e: Core.IntLiteral = int_value 42 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.470: = impl_witness imports.%Copy.impl_witness_table.73d [concrete] -// CHECK:STDOUT: %Copy.facet.fe3: %Copy.type = facet_value Core.IntLiteral, (%Copy.impl_witness.470) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %Copy.impl_witness.061: = impl_witness imports.%Copy.impl_witness_table.fb5 [concrete] +// CHECK:STDOUT: %Copy.facet.23a: %Copy.type = facet_value Core.IntLiteral, (%Copy.impl_witness.061) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.d81: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_42.bc5: %i32 = int_value 42 [concrete] -// CHECK:STDOUT: %Inner.518: type = class_type @Inner, @Inner(%Copy.facet.66a, %int_42.bc5) [concrete] -// CHECK:STDOUT: %Inner.Get.type.12d: type = fn_type @Inner.Get, @Inner(%Copy.facet.66a, %int_42.bc5) [concrete] -// CHECK:STDOUT: %Inner.Get.4a8: %Inner.Get.type.12d = struct_value () [concrete] -// CHECK:STDOUT: %Inner.Get.specific_fn: = specific_function %Inner.Get.4a8, @Inner.Get(%Copy.facet.66a, %int_42.bc5) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_42.bc5, %Int.as.Copy.impl.Op.c4a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.7f0: = bound_method %int_42.bc5, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.98e: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_42.daa: %i32 = int_value 42 [concrete] +// CHECK:STDOUT: %Inner.ebc: type = class_type @Inner, @Inner(%Copy.facet.14d, %int_42.daa) [concrete] +// CHECK:STDOUT: %Inner.Get.type.fcb: type = fn_type @Inner.Get, @Inner(%Copy.facet.14d, %int_42.daa) [concrete] +// CHECK:STDOUT: %Inner.Get.cd1: %Inner.Get.type.fcb = struct_value () [concrete] +// CHECK:STDOUT: %Inner.Get.specific_fn: = specific_function %Inner.Get.cd1, @Inner.Get(%Copy.facet.14d, %int_42.daa) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_42.daa, %Int.as.Copy.impl.Op.ce7 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.ece: = bound_method %int_42.daa, %Int.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.2da = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Copy.impl_witness_table.73d = impl_witness_table (%Core.import_ref.2da), @Core.IntLiteral.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.83f = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Copy.impl_witness_table.fb5 = impl_witness_table (%Core.import_ref.83f), @Core.IntLiteral.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = ref_binding_pattern n [concrete] -// CHECK:STDOUT: %n.var_patt: %pattern_type.c6b = var_pattern %n.patt [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = ref_binding_pattern n [concrete] +// CHECK:STDOUT: %n.var_patt: %pattern_type.104 = var_pattern %n.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %n.var: ref %i32 = var %n.var_patt [concrete] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -125,7 +125,7 @@ var n: i32 = Outer(i32).Inner(42).Get(); // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Outer.cc6 +// CHECK:STDOUT: .Self = constants.%Outer.467 // CHECK:STDOUT: .T = // CHECK:STDOUT: .Inner = %Inner.decl // CHECK:STDOUT: } @@ -135,18 +135,18 @@ var n: i32 = Outer(i32).Inner(42).Get(); // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.Get.type: type = fn_type @Inner.Get, @Inner(%T, %U.loc5_16.1) [symbolic = %Inner.Get.type (constants.%Inner.Get.type.a2b)] -// CHECK:STDOUT: %Inner.Get: @Inner.%Inner.Get.type (%Inner.Get.type.a2b) = struct_value () [symbolic = %Inner.Get (constants.%Inner.Get.9a6)] +// CHECK:STDOUT: %Inner.Get.type: type = fn_type @Inner.Get, @Inner(%T, %U.loc5_16.1) [symbolic = %Inner.Get.type (constants.%Inner.Get.type.5c5)] +// CHECK:STDOUT: %Inner.Get: @Inner.%Inner.Get.type (%Inner.Get.type.5c5) = struct_value () [symbolic = %Inner.Get (constants.%Inner.Get.48d)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %Inner.Get.decl: @Inner.%Inner.Get.type (%Inner.Get.type.a2b) = fn_decl @Inner.Get [symbolic = @Inner.%Inner.Get (constants.%Inner.Get.9a6)] { -// CHECK:STDOUT: %return.param_patt: @Inner.Get.%pattern_type (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Inner.Get.%pattern_type (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc7_17.3 [concrete] +// CHECK:STDOUT: %Inner.Get.decl: @Inner.%Inner.Get.type (%Inner.Get.type.5c5) = fn_decl @Inner.Get [symbolic = @Inner.%Inner.Get (constants.%Inner.Get.48d)] { +// CHECK:STDOUT: %return.param_patt: @Inner.Get.%pattern_type (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Inner.Get.%pattern_type (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc7_17.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref: %Copy.type = name_ref T, @Outer.%T.loc4_14.2 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T.ref: %Copy.type = name_ref T, @Outer.%T.loc4_14.2 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc7_17.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc7_17.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc7_17.3: type = converted %T.ref, %T.as_type.loc7_17.2 [symbolic = %T.as_type.loc7_17.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc7_17.4: Core.Form = init_form %.loc7_17.3 [symbolic = %.loc7_17.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %.loc7_17.4: Core.Form = init_form %.loc7_17.3 [symbolic = %.loc7_17.2 (constants.%.dedae6.2)] // CHECK:STDOUT: %return.param: ref @Inner.Get.%T.as_type.loc7_17.1 (%T.as_type) = out_param call_param0 // CHECK:STDOUT: %return: ref @Inner.Get.%T.as_type.loc7_17.1 (%T.as_type) = return_slot %return.param // CHECK:STDOUT: } @@ -154,7 +154,7 @@ var n: i32 = Outer(i32).Inner(42).Get(); // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Inner.4c0 +// CHECK:STDOUT: .Self = constants.%Inner.a12 // CHECK:STDOUT: .T = // CHECK:STDOUT: .Get = %Inner.Get.decl // CHECK:STDOUT: .U = @@ -162,29 +162,29 @@ var n: i32 = Outer(i32).Inner(42).Get(); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Inner.Get(@Outer.%T.loc4_14.2: %Copy.type, @Inner.%U.loc5_16.2: @Inner.%T.as_type.loc5_19.1 (%T.as_type)) { -// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.228)] +// CHECK:STDOUT: %T: %Copy.type = symbolic_binding T, 0 [symbolic = %T (constants.%T.f49)] // CHECK:STDOUT: %T.as_type.loc7_17.1: type = facet_access_type %T [symbolic = %T.as_type.loc7_17.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc7_17.2: Core.Form = init_form %T.as_type.loc7_17.1 [symbolic = %.loc7_17.2 (constants.%.9ff809.2)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc7_17.1 [symbolic = %pattern_type (constants.%pattern_type.4b69d0.2)] +// CHECK:STDOUT: %.loc7_17.2: Core.Form = init_form %T.as_type.loc7_17.1 [symbolic = %.loc7_17.2 (constants.%.dedae6.2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc7_17.1 [symbolic = %pattern_type (constants.%pattern_type.c0fdca.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc7_17.1 [symbolic = %require_complete (constants.%require_complete.c28)] -// CHECK:STDOUT: %U: @Inner.Get.%T.as_type.loc7_17.1 (%T.as_type) = symbolic_binding U, 1 [symbolic = %U (constants.%U.f1c)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.2)] -// CHECK:STDOUT: %.loc7_28: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T [symbolic = %.loc7_28 (constants.%.12f)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c49)] -// CHECK:STDOUT: %impl.elem0.loc7_28.2: @Inner.Get.%.loc7_28 (%.12f) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_28.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %bound_method.loc7_28.3: = bound_method %U, %impl.elem0.loc7_28.2 [symbolic = %bound_method.loc7_28.3 (constants.%bound_method.0f7)] -// CHECK:STDOUT: %specific_impl_fn.loc7_28.2: = specific_impl_function %impl.elem0.loc7_28.2, @Copy.WithSelf.Op(%T) [symbolic = %specific_impl_fn.loc7_28.2 (constants.%specific_impl_fn.c5f)] -// CHECK:STDOUT: %bound_method.loc7_28.4: = bound_method %U, %specific_impl_fn.loc7_28.2 [symbolic = %bound_method.loc7_28.4 (constants.%bound_method.610)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc7_17.1 [symbolic = %require_complete (constants.%require_complete.77e)] +// CHECK:STDOUT: %U: @Inner.Get.%T.as_type.loc7_17.1 (%T.as_type) = symbolic_binding U, 1 [symbolic = %U (constants.%U.51d)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%T) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.2)] +// CHECK:STDOUT: %.loc7_28: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %T [symbolic = %.loc7_28 (constants.%.e16)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %T, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2dd)] +// CHECK:STDOUT: %impl.elem0.loc7_28.2: @Inner.Get.%.loc7_28 (%.e16) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc7_28.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %bound_method.loc7_28.3: = bound_method %U, %impl.elem0.loc7_28.2 [symbolic = %bound_method.loc7_28.3 (constants.%bound_method.f9a)] +// CHECK:STDOUT: %specific_impl_fn.loc7_28.2: = specific_impl_function %impl.elem0.loc7_28.2, @Copy.WithSelf.Op(%T) [symbolic = %specific_impl_fn.loc7_28.2 (constants.%specific_impl_fn.7ec)] +// CHECK:STDOUT: %bound_method.loc7_28.4: = bound_method %U, %specific_impl_fn.loc7_28.2 [symbolic = %bound_method.loc7_28.4 (constants.%bound_method.acb)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @Inner.Get.%T.as_type.loc7_17.1 (%T.as_type) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %U.ref: @Inner.Get.%T.as_type.loc7_17.1 (%T.as_type) = name_ref U, @Inner.%U.loc5_16.2 [symbolic = %U (constants.%U.f1c)] -// CHECK:STDOUT: %impl.elem0.loc7_28.1: @Inner.Get.%.loc7_28 (%.12f) = impl_witness_access constants.%Copy.lookup_impl_witness.c49, element0 [symbolic = %impl.elem0.loc7_28.2 (constants.%impl.elem0.cbd)] -// CHECK:STDOUT: %bound_method.loc7_28.1: = bound_method %U.ref, %impl.elem0.loc7_28.1 [symbolic = %bound_method.loc7_28.3 (constants.%bound_method.0f7)] -// CHECK:STDOUT: %specific_impl_fn.loc7_28.1: = specific_impl_function %impl.elem0.loc7_28.1, @Copy.WithSelf.Op(constants.%T.228) [symbolic = %specific_impl_fn.loc7_28.2 (constants.%specific_impl_fn.c5f)] -// CHECK:STDOUT: %bound_method.loc7_28.2: = bound_method %U.ref, %specific_impl_fn.loc7_28.1 [symbolic = %bound_method.loc7_28.4 (constants.%bound_method.610)] +// CHECK:STDOUT: %U.ref: @Inner.Get.%T.as_type.loc7_17.1 (%T.as_type) = name_ref U, @Inner.%U.loc5_16.2 [symbolic = %U (constants.%U.51d)] +// CHECK:STDOUT: %impl.elem0.loc7_28.1: @Inner.Get.%.loc7_28 (%.e16) = impl_witness_access constants.%Copy.lookup_impl_witness.2dd, element0 [symbolic = %impl.elem0.loc7_28.2 (constants.%impl.elem0.41e)] +// CHECK:STDOUT: %bound_method.loc7_28.1: = bound_method %U.ref, %impl.elem0.loc7_28.1 [symbolic = %bound_method.loc7_28.3 (constants.%bound_method.f9a)] +// CHECK:STDOUT: %specific_impl_fn.loc7_28.1: = specific_impl_function %impl.elem0.loc7_28.1, @Copy.WithSelf.Op(constants.%T.f49) [symbolic = %specific_impl_fn.loc7_28.2 (constants.%specific_impl_fn.7ec)] +// CHECK:STDOUT: %bound_method.loc7_28.2: = bound_method %U.ref, %specific_impl_fn.loc7_28.1 [symbolic = %bound_method.loc7_28.4 (constants.%bound_method.acb)] // CHECK:STDOUT: %.loc7_17.1: ref @Inner.Get.%T.as_type.loc7_17.1 (%T.as_type) = splice_block %return.param {} // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Inner.Get.%T.as_type.loc7_17.1 (%T.as_type) to %.loc7_17.1 = call %bound_method.loc7_28.2(%U.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param @@ -195,90 +195,90 @@ var n: i32 = Outer(i32).Inner(42).Get(); // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Outer.ref: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Copy.facet.loc13_23: %Copy.type = facet_value %i32, (constants.%Copy.impl_witness.32d) [concrete = constants.%Copy.facet.66a] -// CHECK:STDOUT: %.loc13_23: %Copy.type = converted %i32, %Copy.facet.loc13_23 [concrete = constants.%Copy.facet.66a] -// CHECK:STDOUT: %Outer: type = class_type @Outer, @Outer(constants.%Copy.facet.66a) [concrete = constants.%Outer.41b] -// CHECK:STDOUT: %.loc13_24: %Inner.type.bb7 = specific_constant @Outer.%Inner.decl, @Outer(constants.%Copy.facet.66a) [concrete = constants.%Inner.generic.804] -// CHECK:STDOUT: %Inner.ref: %Inner.type.bb7 = name_ref Inner, %.loc13_24 [concrete = constants.%Inner.generic.804] +// CHECK:STDOUT: %Copy.facet.loc13_23: %Copy.type = facet_value %i32, (constants.%Copy.impl_witness.1a4) [concrete = constants.%Copy.facet.14d] +// CHECK:STDOUT: %.loc13_23: %Copy.type = converted %i32, %Copy.facet.loc13_23 [concrete = constants.%Copy.facet.14d] +// CHECK:STDOUT: %Outer: type = class_type @Outer, @Outer(constants.%Copy.facet.14d) [concrete = constants.%Outer.0c2] +// CHECK:STDOUT: %.loc13_24: %Inner.type.535 = specific_constant @Outer.%Inner.decl, @Outer(constants.%Copy.facet.14d) [concrete = constants.%Inner.generic.f35] +// CHECK:STDOUT: %Inner.ref: %Inner.type.535 = name_ref Inner, %.loc13_24 [concrete = constants.%Inner.generic.f35] // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete = constants.%int_42.20e] -// CHECK:STDOUT: %Copy.facet.loc13_33: %Copy.type = facet_value Core.IntLiteral, (constants.%Copy.impl_witness.470) [concrete = constants.%Copy.facet.fe3] -// CHECK:STDOUT: %.loc13_33.1: %Copy.type = converted Core.IntLiteral, %Copy.facet.loc13_33 [concrete = constants.%Copy.facet.fe3] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %Copy.facet.loc13_33: %Copy.type = facet_value Core.IntLiteral, (constants.%Copy.impl_witness.061) [concrete = constants.%Copy.facet.23a] +// CHECK:STDOUT: %.loc13_33.1: %Copy.type = converted Core.IntLiteral, %Copy.facet.loc13_33 [concrete = constants.%Copy.facet.23a] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc13_33.1: = bound_method constants.%int_42.20e, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_33.2: = bound_method constants.%int_42.20e, %specific_fn [concrete = constants.%bound_method.d81] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_33.2(constants.%int_42.20e) [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc13_33.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc13_33.3: %i32 = converted constants.%int_42.20e, %.loc13_33.2 [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %Inner: type = class_type @Inner, @Inner(constants.%Copy.facet.66a, constants.%int_42.bc5) [concrete = constants.%Inner.518] -// CHECK:STDOUT: %.loc13_34: %Inner.Get.type.12d = specific_constant @Inner.%Inner.Get.decl, @Inner(constants.%Copy.facet.66a, constants.%int_42.bc5) [concrete = constants.%Inner.Get.4a8] -// CHECK:STDOUT: %Get.ref: %Inner.Get.type.12d = name_ref Get, %.loc13_34 [concrete = constants.%Inner.Get.4a8] -// CHECK:STDOUT: %Inner.Get.specific_fn: = specific_function %Get.ref, @Inner.Get(constants.%Copy.facet.66a, constants.%int_42.bc5) [concrete = constants.%Inner.Get.specific_fn] +// CHECK:STDOUT: %bound_method.loc13_33.2: = bound_method constants.%int_42.20e, %specific_fn [concrete = constants.%bound_method.98e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_33.2(constants.%int_42.20e) [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc13_33.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc13_33.3: %i32 = converted constants.%int_42.20e, %.loc13_33.2 [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %Inner: type = class_type @Inner, @Inner(constants.%Copy.facet.14d, constants.%int_42.daa) [concrete = constants.%Inner.ebc] +// CHECK:STDOUT: %.loc13_34: %Inner.Get.type.fcb = specific_constant @Inner.%Inner.Get.decl, @Inner(constants.%Copy.facet.14d, constants.%int_42.daa) [concrete = constants.%Inner.Get.cd1] +// CHECK:STDOUT: %Get.ref: %Inner.Get.type.fcb = name_ref Get, %.loc13_34 [concrete = constants.%Inner.Get.cd1] +// CHECK:STDOUT: %Inner.Get.specific_fn: = specific_function %Get.ref, @Inner.Get(constants.%Copy.facet.14d, constants.%int_42.daa) [concrete = constants.%Inner.Get.specific_fn] // CHECK:STDOUT: %Inner.Get.call: init %i32 = call %Inner.Get.specific_fn() // CHECK:STDOUT: assign file.%n.var, %Inner.Get.call // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Outer(constants.%T.228) { -// CHECK:STDOUT: %T.loc4_14.1 => constants.%T.228 +// CHECK:STDOUT: specific @Outer(constants.%T.f49) { +// CHECK:STDOUT: %T.loc4_14.1 => constants.%T.f49 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.317 -// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.e67 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.1f5 +// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.ac8 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner(constants.%T.228, constants.%U.f1c) { -// CHECK:STDOUT: %T => constants.%T.228 +// CHECK:STDOUT: specific @Inner(constants.%T.f49, constants.%U.51d) { +// CHECK:STDOUT: %T => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc5_19.1 => constants.%T.as_type -// CHECK:STDOUT: %U.loc5_16.1 => constants.%U.f1c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4b69d0.2 +// CHECK:STDOUT: %U.loc5_16.1 => constants.%U.51d +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c0fdca.2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.Get.type => constants.%Inner.Get.type.a2b -// CHECK:STDOUT: %Inner.Get => constants.%Inner.Get.9a6 +// CHECK:STDOUT: %Inner.Get.type => constants.%Inner.Get.type.5c5 +// CHECK:STDOUT: %Inner.Get => constants.%Inner.Get.48d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.Get(constants.%T.228, constants.%U.f1c) { -// CHECK:STDOUT: %T => constants.%T.228 +// CHECK:STDOUT: specific @Inner.Get(constants.%T.f49, constants.%U.51d) { +// CHECK:STDOUT: %T => constants.%T.f49 // CHECK:STDOUT: %T.as_type.loc7_17.1 => constants.%T.as_type -// CHECK:STDOUT: %.loc7_17.2 => constants.%.9ff809.2 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4b69d0.2 +// CHECK:STDOUT: %.loc7_17.2 => constants.%.dedae6.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c0fdca.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Outer(constants.%Copy.facet.66a) { -// CHECK:STDOUT: %T.loc4_14.1 => constants.%Copy.facet.66a +// CHECK:STDOUT: specific @Outer(constants.%Copy.facet.14d) { +// CHECK:STDOUT: %T.loc4_14.1 => constants.%Copy.facet.14d // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.type => constants.%Inner.type.bb7 -// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.804 +// CHECK:STDOUT: %Inner.type => constants.%Inner.type.535 +// CHECK:STDOUT: %Inner.generic => constants.%Inner.generic.f35 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner(constants.%Copy.facet.66a, constants.%int_42.bc5) { -// CHECK:STDOUT: %T => constants.%Copy.facet.66a +// CHECK:STDOUT: specific @Inner(constants.%Copy.facet.14d, constants.%int_42.daa) { +// CHECK:STDOUT: %T => constants.%Copy.facet.14d // CHECK:STDOUT: %T.as_type.loc5_19.1 => constants.%i32 -// CHECK:STDOUT: %U.loc5_16.1 => constants.%int_42.bc5 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c6b +// CHECK:STDOUT: %U.loc5_16.1 => constants.%int_42.daa +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.104 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Inner.Get.type => constants.%Inner.Get.type.12d -// CHECK:STDOUT: %Inner.Get => constants.%Inner.Get.4a8 +// CHECK:STDOUT: %Inner.Get.type => constants.%Inner.Get.type.fcb +// CHECK:STDOUT: %Inner.Get => constants.%Inner.Get.cd1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.Get(constants.%Copy.facet.66a, constants.%int_42.bc5) { -// CHECK:STDOUT: %T => constants.%Copy.facet.66a +// CHECK:STDOUT: specific @Inner.Get(constants.%Copy.facet.14d, constants.%int_42.daa) { +// CHECK:STDOUT: %T => constants.%Copy.facet.14d // CHECK:STDOUT: %T.as_type.loc7_17.1 => constants.%i32 -// CHECK:STDOUT: %.loc7_17.2 => constants.%.70c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c6b +// CHECK:STDOUT: %.loc7_17.2 => constants.%.7ea +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.104 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %U => constants.%int_42.bc5 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.afe -// CHECK:STDOUT: %.loc7_28 => constants.%.a5f -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.32d -// CHECK:STDOUT: %impl.elem0.loc7_28.2 => constants.%Int.as.Copy.impl.Op.c4a +// CHECK:STDOUT: %U => constants.%int_42.daa +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.7e2 +// CHECK:STDOUT: %.loc7_28 => constants.%.604 +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.1a4 +// CHECK:STDOUT: %impl.elem0.loc7_28.2 => constants.%Int.as.Copy.impl.Op.ce7 // CHECK:STDOUT: %bound_method.loc7_28.3 => constants.%Int.as.Copy.impl.Op.bound // CHECK:STDOUT: %specific_impl_fn.loc7_28.2 => constants.%Int.as.Copy.impl.Op.specific_fn -// CHECK:STDOUT: %bound_method.loc7_28.4 => constants.%bound_method.7f0 +// CHECK:STDOUT: %bound_method.loc7_28.4 => constants.%bound_method.ece // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/generic/dot_self_symbolic_type.carbon b/toolchain/check/testdata/generic/dot_self_symbolic_type.carbon index b5bd6bca66d3..6921cfd7e83e 100644 --- a/toolchain/check/testdata/generic/dot_self_symbolic_type.carbon +++ b/toolchain/check/testdata/generic/dot_self_symbolic_type.carbon @@ -79,80 +79,80 @@ fn H(T:! type) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %A.type.43c: type = generic_interface_type @A [concrete] -// CHECK:STDOUT: %A.generic: %A.type.43c = struct_value () [concrete] +// CHECK:STDOUT: %A.type.0af: type = generic_interface_type @A [concrete] +// CHECK:STDOUT: %A.generic: %A.type.0af = struct_value () [concrete] // CHECK:STDOUT: %CC: type = symbolic_binding CC, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.35463e.1: type = class_type @C, @C(%CC) [symbolic] -// CHECK:STDOUT: %A.type.a1fe13.2: type = facet_type <@A, @A(%CC)> [symbolic] -// CHECK:STDOUT: %.Self.2e1202.1: %A.type.a1fe13.2 = symbolic_binding .Self [symbolic] -// CHECK:STDOUT: %A.assoc_type.43427b.2: type = assoc_entity_type @A, @A(%CC) [symbolic] -// CHECK:STDOUT: %assoc0.aaf52b.2: %A.assoc_type.43427b.2 = assoc_entity element0, @A.WithSelf.%X [symbolic] -// CHECK:STDOUT: %require_complete.339: = require_complete_type %A.type.a1fe13.2 [symbolic] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.2e1202.1 [symbolic] -// CHECK:STDOUT: %A.lookup_impl_witness.f2bd7b.1: = lookup_impl_witness %.Self.2e1202.1, @A, @A(%CC) [symbolic] -// CHECK:STDOUT: %impl.elem0.ef58b4.1: type = impl_witness_access %A.lookup_impl_witness.f2bd7b.1, element0 [symbolic] -// CHECK:STDOUT: %A_where.type.d14cfa.1: type = facet_type <@A, @A(%CC) where %impl.elem0.ef58b4.1 = %CC> [symbolic] -// CHECK:STDOUT: %pattern_type.75b: type = pattern_type %A_where.type.d14cfa.1 [symbolic] -// CHECK:STDOUT: %T.f45: %A_where.type.d14cfa.1 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %C.F.type.c033c6.1: type = fn_type @C.F, @C(%CC) [symbolic] -// CHECK:STDOUT: %C.F.4aaa9f.1: %C.F.type.c033c6.1 = struct_value () [symbolic] +// CHECK:STDOUT: %C.1f98dc.1: type = class_type @C, @C(%CC) [symbolic] +// CHECK:STDOUT: %A.type.5ea944.2: type = facet_type <@A, @A(%CC)> [symbolic] +// CHECK:STDOUT: %.Self.1b7616.1: %A.type.5ea944.2 = symbolic_binding .Self [symbolic] +// CHECK:STDOUT: %A.assoc_type.092091.2: type = assoc_entity_type @A, @A(%CC) [symbolic] +// CHECK:STDOUT: %assoc0.818660.2: %A.assoc_type.092091.2 = assoc_entity element0, @A.WithSelf.%X [symbolic] +// CHECK:STDOUT: %require_complete.88d: = require_complete_type %A.type.5ea944.2 [symbolic] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.1b7616.1 [symbolic] +// CHECK:STDOUT: %A.lookup_impl_witness.15e6be.1: = lookup_impl_witness %.Self.1b7616.1, @A, @A(%CC) [symbolic] +// CHECK:STDOUT: %impl.elem0.b25b5d.1: type = impl_witness_access %A.lookup_impl_witness.15e6be.1, element0 [symbolic] +// CHECK:STDOUT: %A_where.type.f77576.1: type = facet_type <@A, @A(%CC) where %impl.elem0.b25b5d.1 = %CC> [symbolic] +// CHECK:STDOUT: %pattern_type.88a: type = pattern_type %A_where.type.f77576.1 [symbolic] +// CHECK:STDOUT: %T.4f4: %A_where.type.f77576.1 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %C.F.type.ac966c.1: type = fn_type @C.F, @C(%CC) [symbolic] +// CHECK:STDOUT: %C.F.a8a4df.1: %C.F.type.ac966c.1 = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %DD: type = symbolic_binding DD, 0 [symbolic] -// CHECK:STDOUT: %D.58b: type = class_type @D, @D(%DD) [symbolic] +// CHECK:STDOUT: %D.dbf: type = class_type @D, @D(%DD) [symbolic] // CHECK:STDOUT: %T.091: type = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %D.G.type.607: type = fn_type @D.G, @D(%DD) [symbolic] -// CHECK:STDOUT: %D.G.1f9: %D.G.type.607 = struct_value () [symbolic] -// CHECK:STDOUT: %C.35463e.2: type = class_type @C, @C(%DD) [symbolic] -// CHECK:STDOUT: %C.F.type.c033c6.2: type = fn_type @C.F, @C(%DD) [symbolic] -// CHECK:STDOUT: %C.F.4aaa9f.2: %C.F.type.c033c6.2 = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.90c: = require_complete_type %C.35463e.2 [symbolic] +// CHECK:STDOUT: %D.G.type.e6f: type = fn_type @D.G, @D(%DD) [symbolic] +// CHECK:STDOUT: %D.G.6b0: %D.G.type.e6f = struct_value () [symbolic] +// CHECK:STDOUT: %C.1f98dc.2: type = class_type @C, @C(%DD) [symbolic] +// CHECK:STDOUT: %C.F.type.ac966c.2: type = fn_type @C.F, @C(%DD) [symbolic] +// CHECK:STDOUT: %C.F.a8a4df.2: %C.F.type.ac966c.2 = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete.122: = require_complete_type %C.1f98dc.2 [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %D.G.type.8f5: type = fn_type @D.G, @D(%empty_struct_type) [concrete] -// CHECK:STDOUT: %D.G.aa4: %D.G.type.8f5 = struct_value () [concrete] -// CHECK:STDOUT: %C.a22: type = class_type @C, @C(%empty_struct_type) [concrete] -// CHECK:STDOUT: %C.F.type.258: type = fn_type @C.F, @C(%empty_struct_type) [concrete] -// CHECK:STDOUT: %C.F.981: %C.F.type.258 = struct_value () [concrete] +// CHECK:STDOUT: %D.G.type.ffd: type = fn_type @D.G, @D(%empty_struct_type) [concrete] +// CHECK:STDOUT: %D.G.e3b: %D.G.type.ffd = struct_value () [concrete] +// CHECK:STDOUT: %C.ea5: type = class_type @C, @C(%empty_struct_type) [concrete] +// CHECK:STDOUT: %C.F.type.143: type = fn_type @C.F, @C(%empty_struct_type) [concrete] +// CHECK:STDOUT: %C.F.ada: %C.F.type.143 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @C(%CC.loc6_11.2: type) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.F.type: type = fn_type @C.F, @C(%CC.loc6_11.1) [symbolic = %C.F.type (constants.%C.F.type.c033c6.1)] -// CHECK:STDOUT: %C.F: @C.%C.F.type (%C.F.type.c033c6.1) = struct_value () [symbolic = %C.F (constants.%C.F.4aaa9f.1)] +// CHECK:STDOUT: %C.F.type: type = fn_type @C.F, @C(%CC.loc6_11.1) [symbolic = %C.F.type (constants.%C.F.type.ac966c.1)] +// CHECK:STDOUT: %C.F: @C.%C.F.type (%C.F.type.ac966c.1) = struct_value () [symbolic = %C.F (constants.%C.F.a8a4df.1)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %C.F.decl: @C.%C.F.type (%C.F.type.c033c6.1) = fn_decl @C.F [symbolic = @C.%C.F (constants.%C.F.4aaa9f.1)] { -// CHECK:STDOUT: %T.patt: @C.F.%pattern_type (%pattern_type.75b) = symbolic_binding_pattern T, 1 [concrete] +// CHECK:STDOUT: %C.F.decl: @C.%C.F.type (%C.F.type.ac966c.1) = fn_decl @C.F [symbolic = @C.%C.F (constants.%C.F.a8a4df.1)] { +// CHECK:STDOUT: %T.patt: @C.F.%pattern_type (%pattern_type.88a) = symbolic_binding_pattern T, 1 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc11_25.1: type = splice_block %.loc11_25.2 [symbolic = %A_where.type (constants.%A_where.type.d14cfa.1)] { +// CHECK:STDOUT: %.loc11_25.1: type = splice_block %.loc11_25.2 [symbolic = %A_where.type (constants.%A_where.type.f77576.1)] { // CHECK:STDOUT: %.Self.loc11_16: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] -// CHECK:STDOUT: %A.ref: %A.type.43c = name_ref A, file.%A.decl [concrete = constants.%A.generic] +// CHECK:STDOUT: %A.ref: %A.type.0af = name_ref A, file.%A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %CC.ref.loc11_21: type = name_ref CC, @C.%CC.loc6_11.2 [symbolic = %CC (constants.%CC)] -// CHECK:STDOUT: %A.type.loc11_23.2: type = facet_type <@A, @A(constants.%CC)> [symbolic = %A.type.loc11_23.1 (constants.%A.type.a1fe13.2)] -// CHECK:STDOUT: %.Self.loc11_25.2: @C.F.%A.type.loc11_23.1 (%A.type.a1fe13.2) = symbolic_binding .Self [symbolic = %.Self.loc11_25.1 (constants.%.Self.2e1202.1)] -// CHECK:STDOUT: %.Self.ref: @C.F.%A.type.loc11_23.1 (%A.type.a1fe13.2) = name_ref .Self, %.Self.loc11_25.2 [symbolic = %.Self.loc11_25.1 (constants.%.Self.2e1202.1)] +// CHECK:STDOUT: %A.type.loc11_23.2: type = facet_type <@A, @A(constants.%CC)> [symbolic = %A.type.loc11_23.1 (constants.%A.type.5ea944.2)] +// CHECK:STDOUT: %.Self.loc11_25.2: @C.F.%A.type.loc11_23.1 (%A.type.5ea944.2) = symbolic_binding .Self [symbolic = %.Self.loc11_25.1 (constants.%.Self.1b7616.1)] +// CHECK:STDOUT: %.Self.ref: @C.F.%A.type.loc11_23.1 (%A.type.5ea944.2) = name_ref .Self, %.Self.loc11_25.2 [symbolic = %.Self.loc11_25.1 (constants.%.Self.1b7616.1)] // CHECK:STDOUT: %.Self.as_type.loc11_31.2: type = facet_access_type %.Self.ref [symbolic = %.Self.as_type.loc11_31.1 (constants.%.Self.as_type)] // CHECK:STDOUT: %.loc11_31.1: type = converted %.Self.ref, %.Self.as_type.loc11_31.2 [symbolic = %.Self.as_type.loc11_31.1 (constants.%.Self.as_type)] -// CHECK:STDOUT: %.loc11_31.2: @C.F.%A.assoc_type (%A.assoc_type.43427b.2) = specific_constant @X.%assoc0, @A.WithSelf(constants.%CC, constants.%.Self.2e1202.1) [symbolic = %assoc0 (constants.%assoc0.aaf52b.2)] -// CHECK:STDOUT: %X.ref: @C.F.%A.assoc_type (%A.assoc_type.43427b.2) = name_ref X, %.loc11_31.2 [symbolic = %assoc0 (constants.%assoc0.aaf52b.2)] -// CHECK:STDOUT: %impl.elem0.loc11_31.2: type = impl_witness_access constants.%A.lookup_impl_witness.f2bd7b.1, element0 [symbolic = %impl.elem0.loc11_31.1 (constants.%impl.elem0.ef58b4.1)] +// CHECK:STDOUT: %.loc11_31.2: @C.F.%A.assoc_type (%A.assoc_type.092091.2) = specific_constant @X.%assoc0, @A.WithSelf(constants.%CC, constants.%.Self.1b7616.1) [symbolic = %assoc0 (constants.%assoc0.818660.2)] +// CHECK:STDOUT: %X.ref: @C.F.%A.assoc_type (%A.assoc_type.092091.2) = name_ref X, %.loc11_31.2 [symbolic = %assoc0 (constants.%assoc0.818660.2)] +// CHECK:STDOUT: %impl.elem0.loc11_31.2: type = impl_witness_access constants.%A.lookup_impl_witness.15e6be.1, element0 [symbolic = %impl.elem0.loc11_31.1 (constants.%impl.elem0.b25b5d.1)] // CHECK:STDOUT: %CC.ref.loc11_36: type = name_ref CC, @C.%CC.loc6_11.2 [symbolic = %CC (constants.%CC)] -// CHECK:STDOUT: %.loc11_25.2: type = where_expr [symbolic = %A_where.type (constants.%A_where.type.d14cfa.1)] { +// CHECK:STDOUT: %.loc11_25.2: type = where_expr [symbolic = %A_where.type (constants.%A_where.type.f77576.1)] { // CHECK:STDOUT: requirement_base_facet_type %A.type.loc11_23.2 // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc11_31.2, %CC.ref.loc11_36 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc11_16.2: @C.F.%A_where.type (%A_where.type.d14cfa.1) = symbolic_binding T, 1 [symbolic = %T.loc11_16.1 (constants.%T.f45)] +// CHECK:STDOUT: %T.loc11_16.2: @C.F.%A_where.type (%A_where.type.f77576.1) = symbolic_binding T, 1 [symbolic = %T.loc11_16.1 (constants.%T.4f4)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.35463e.1 +// CHECK:STDOUT: .Self = constants.%C.1f98dc.1 // CHECK:STDOUT: .A = // CHECK:STDOUT: .CC = // CHECK:STDOUT: .F = %C.F.decl @@ -170,26 +170,26 @@ fn H(T:! type) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%D.58b +// CHECK:STDOUT: .Self = constants.%D.dbf // CHECK:STDOUT: .G = %D.G.decl // CHECK:STDOUT: .C = // CHECK:STDOUT: .DD = // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @C.F(@C.%CC.loc6_11.2: type, %T.loc11_16.2: @C.F.%A_where.type (%A_where.type.d14cfa.1)) { +// CHECK:STDOUT: generic fn @C.F(@C.%CC.loc6_11.2: type, %T.loc11_16.2: @C.F.%A_where.type (%A_where.type.f77576.1)) { // CHECK:STDOUT: %CC: type = symbolic_binding CC, 0 [symbolic = %CC (constants.%CC)] -// CHECK:STDOUT: %A.type.loc11_23.1: type = facet_type <@A, @A(%CC)> [symbolic = %A.type.loc11_23.1 (constants.%A.type.a1fe13.2)] -// CHECK:STDOUT: %.Self.loc11_25.1: @C.F.%A.type.loc11_23.1 (%A.type.a1fe13.2) = symbolic_binding .Self [symbolic = %.Self.loc11_25.1 (constants.%.Self.2e1202.1)] -// CHECK:STDOUT: %require_complete: = require_complete_type %A.type.loc11_23.1 [symbolic = %require_complete (constants.%require_complete.339)] +// CHECK:STDOUT: %A.type.loc11_23.1: type = facet_type <@A, @A(%CC)> [symbolic = %A.type.loc11_23.1 (constants.%A.type.5ea944.2)] +// CHECK:STDOUT: %.Self.loc11_25.1: @C.F.%A.type.loc11_23.1 (%A.type.5ea944.2) = symbolic_binding .Self [symbolic = %.Self.loc11_25.1 (constants.%.Self.1b7616.1)] +// CHECK:STDOUT: %require_complete: = require_complete_type %A.type.loc11_23.1 [symbolic = %require_complete (constants.%require_complete.88d)] // CHECK:STDOUT: %.Self.as_type.loc11_31.1: type = facet_access_type %.Self.loc11_25.1 [symbolic = %.Self.as_type.loc11_31.1 (constants.%.Self.as_type)] -// CHECK:STDOUT: %A.assoc_type: type = assoc_entity_type @A, @A(%CC) [symbolic = %A.assoc_type (constants.%A.assoc_type.43427b.2)] -// CHECK:STDOUT: %assoc0: @C.F.%A.assoc_type (%A.assoc_type.43427b.2) = assoc_entity element0, @A.WithSelf.%X [symbolic = %assoc0 (constants.%assoc0.aaf52b.2)] -// CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %.Self.loc11_25.1, @A, @A(%CC) [symbolic = %A.lookup_impl_witness (constants.%A.lookup_impl_witness.f2bd7b.1)] -// CHECK:STDOUT: %impl.elem0.loc11_31.1: type = impl_witness_access %A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_31.1 (constants.%impl.elem0.ef58b4.1)] -// CHECK:STDOUT: %A_where.type: type = facet_type <@A, @A(%CC) where %impl.elem0.loc11_31.1 = %CC> [symbolic = %A_where.type (constants.%A_where.type.d14cfa.1)] -// CHECK:STDOUT: %T.loc11_16.1: @C.F.%A_where.type (%A_where.type.d14cfa.1) = symbolic_binding T, 1 [symbolic = %T.loc11_16.1 (constants.%T.f45)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %A_where.type [symbolic = %pattern_type (constants.%pattern_type.75b)] +// CHECK:STDOUT: %A.assoc_type: type = assoc_entity_type @A, @A(%CC) [symbolic = %A.assoc_type (constants.%A.assoc_type.092091.2)] +// CHECK:STDOUT: %assoc0: @C.F.%A.assoc_type (%A.assoc_type.092091.2) = assoc_entity element0, @A.WithSelf.%X [symbolic = %assoc0 (constants.%assoc0.818660.2)] +// CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %.Self.loc11_25.1, @A, @A(%CC) [symbolic = %A.lookup_impl_witness (constants.%A.lookup_impl_witness.15e6be.1)] +// CHECK:STDOUT: %impl.elem0.loc11_31.1: type = impl_witness_access %A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_31.1 (constants.%impl.elem0.b25b5d.1)] +// CHECK:STDOUT: %A_where.type: type = facet_type <@A, @A(%CC) where %impl.elem0.loc11_31.1 = %CC> [symbolic = %A_where.type (constants.%A_where.type.f77576.1)] +// CHECK:STDOUT: %T.loc11_16.1: @C.F.%A_where.type (%A_where.type.f77576.1) = symbolic_binding T, 1 [symbolic = %T.loc11_16.1 (constants.%T.4f4)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %A_where.type [symbolic = %pattern_type (constants.%pattern_type.88a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -204,18 +204,18 @@ fn H(T:! type) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %DD: type = symbolic_binding DD, 0 [symbolic = %DD (constants.%DD)] -// CHECK:STDOUT: %C.loc25_9.2: type = class_type @C, @C(%DD) [symbolic = %C.loc25_9.2 (constants.%C.35463e.2)] -// CHECK:STDOUT: %require_complete: = require_complete_type %C.loc25_9.2 [symbolic = %require_complete (constants.%require_complete.90c)] -// CHECK:STDOUT: %C.F.type: type = fn_type @C.F, @C(%DD) [symbolic = %C.F.type (constants.%C.F.type.c033c6.2)] -// CHECK:STDOUT: %C.F: @D.G.%C.F.type (%C.F.type.c033c6.2) = struct_value () [symbolic = %C.F (constants.%C.F.4aaa9f.2)] +// CHECK:STDOUT: %C.loc25_9.2: type = class_type @C, @C(%DD) [symbolic = %C.loc25_9.2 (constants.%C.1f98dc.2)] +// CHECK:STDOUT: %require_complete: = require_complete_type %C.loc25_9.2 [symbolic = %require_complete (constants.%require_complete.122)] +// CHECK:STDOUT: %C.F.type: type = fn_type @C.F, @C(%DD) [symbolic = %C.F.type (constants.%C.F.type.ac966c.2)] +// CHECK:STDOUT: %C.F: @D.G.%C.F.type (%C.F.type.ac966c.2) = struct_value () [symbolic = %C.F (constants.%C.F.a8a4df.2)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %DD.ref: type = name_ref DD, @D.%DD.loc15_11.2 [symbolic = %DD (constants.%DD)] -// CHECK:STDOUT: %C.loc25_9.1: type = class_type @C, @C(constants.%DD) [symbolic = %C.loc25_9.2 (constants.%C.35463e.2)] -// CHECK:STDOUT: %.loc25: @D.G.%C.F.type (%C.F.type.c033c6.2) = specific_constant @C.%C.F.decl, @C(constants.%DD) [symbolic = %C.F (constants.%C.F.4aaa9f.2)] -// CHECK:STDOUT: %F.ref: @D.G.%C.F.type (%C.F.type.c033c6.2) = name_ref F, %.loc25 [symbolic = %C.F (constants.%C.F.4aaa9f.2)] +// CHECK:STDOUT: %C.loc25_9.1: type = class_type @C, @C(constants.%DD) [symbolic = %C.loc25_9.2 (constants.%C.1f98dc.2)] +// CHECK:STDOUT: %.loc25: @D.G.%C.F.type (%C.F.type.ac966c.2) = specific_constant @C.%C.F.decl, @C(constants.%DD) [symbolic = %C.F (constants.%C.F.a8a4df.2)] +// CHECK:STDOUT: %F.ref: @D.G.%C.F.type (%C.F.type.ac966c.2) = name_ref F, %.loc25 [symbolic = %C.F (constants.%C.F.a8a4df.2)] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc16_9.2 [symbolic = %T.loc16_9.1 (constants.%T.091)] // CHECK:STDOUT: // CHECK:STDOUT: } @@ -225,31 +225,31 @@ fn H(T:! type) { // CHECK:STDOUT: %CC.loc6_11.1 => constants.%CC // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.F.type => constants.%C.F.type.c033c6.1 -// CHECK:STDOUT: %C.F => constants.%C.F.4aaa9f.1 +// CHECK:STDOUT: %C.F.type => constants.%C.F.type.ac966c.1 +// CHECK:STDOUT: %C.F => constants.%C.F.a8a4df.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.F(constants.%CC, constants.%T.f45) { +// CHECK:STDOUT: specific @C.F(constants.%CC, constants.%T.4f4) { // CHECK:STDOUT: %CC => constants.%CC -// CHECK:STDOUT: %A.type.loc11_23.1 => constants.%A.type.a1fe13.2 -// CHECK:STDOUT: %.Self.loc11_25.1 => constants.%.Self.2e1202.1 -// CHECK:STDOUT: %require_complete => constants.%require_complete.339 +// CHECK:STDOUT: %A.type.loc11_23.1 => constants.%A.type.5ea944.2 +// CHECK:STDOUT: %.Self.loc11_25.1 => constants.%.Self.1b7616.1 +// CHECK:STDOUT: %require_complete => constants.%require_complete.88d // CHECK:STDOUT: %.Self.as_type.loc11_31.1 => constants.%.Self.as_type -// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.43427b.2 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.aaf52b.2 -// CHECK:STDOUT: %A.lookup_impl_witness => constants.%A.lookup_impl_witness.f2bd7b.1 -// CHECK:STDOUT: %impl.elem0.loc11_31.1 => constants.%impl.elem0.ef58b4.1 -// CHECK:STDOUT: %A_where.type => constants.%A_where.type.d14cfa.1 -// CHECK:STDOUT: %T.loc11_16.1 => constants.%T.f45 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.75b +// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.092091.2 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.818660.2 +// CHECK:STDOUT: %A.lookup_impl_witness => constants.%A.lookup_impl_witness.15e6be.1 +// CHECK:STDOUT: %impl.elem0.loc11_31.1 => constants.%impl.elem0.b25b5d.1 +// CHECK:STDOUT: %A_where.type => constants.%A_where.type.f77576.1 +// CHECK:STDOUT: %T.loc11_16.1 => constants.%T.4f4 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.88a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @D(constants.%DD) { // CHECK:STDOUT: %DD.loc15_11.1 => constants.%DD // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %D.G.type => constants.%D.G.type.607 -// CHECK:STDOUT: %D.G => constants.%D.G.1f9 +// CHECK:STDOUT: %D.G.type => constants.%D.G.type.e6f +// CHECK:STDOUT: %D.G => constants.%D.G.6b0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @D.G(constants.%DD, constants.%T.091) { @@ -260,16 +260,16 @@ fn H(T:! type) { // CHECK:STDOUT: %CC.loc6_11.1 => constants.%DD // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.F.type => constants.%C.F.type.c033c6.2 -// CHECK:STDOUT: %C.F => constants.%C.F.4aaa9f.2 +// CHECK:STDOUT: %C.F.type => constants.%C.F.type.ac966c.2 +// CHECK:STDOUT: %C.F => constants.%C.F.a8a4df.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @D(constants.%empty_struct_type) { // CHECK:STDOUT: %DD.loc15_11.1 => constants.%empty_struct_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %D.G.type => constants.%D.G.type.8f5 -// CHECK:STDOUT: %D.G => constants.%D.G.aa4 +// CHECK:STDOUT: %D.G.type => constants.%D.G.type.ffd +// CHECK:STDOUT: %D.G => constants.%D.G.e3b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @D.G(constants.%empty_struct_type, constants.%T.67d) { @@ -277,18 +277,18 @@ fn H(T:! type) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %DD => constants.%empty_struct_type -// CHECK:STDOUT: %C.loc25_9.2 => constants.%C.a22 +// CHECK:STDOUT: %C.loc25_9.2 => constants.%C.ea5 // CHECK:STDOUT: %require_complete => constants.%complete_type -// CHECK:STDOUT: %C.F.type => constants.%C.F.type.258 -// CHECK:STDOUT: %C.F => constants.%C.F.981 +// CHECK:STDOUT: %C.F.type => constants.%C.F.type.143 +// CHECK:STDOUT: %C.F => constants.%C.F.ada // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%empty_struct_type) { // CHECK:STDOUT: %CC.loc6_11.1 => constants.%empty_struct_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.F.type => constants.%C.F.type.258 -// CHECK:STDOUT: %C.F => constants.%C.F.981 +// CHECK:STDOUT: %C.F.type => constants.%C.F.type.143 +// CHECK:STDOUT: %C.F => constants.%C.F.ada // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- dot_self_symbolic_in_impl_lookup.carbon @@ -298,113 +298,113 @@ fn H(T:! type) { // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %AA: type = symbolic_binding AA, 0 [symbolic] -// CHECK:STDOUT: %A.type.5c0: type = generic_interface_type @A [concrete] +// CHECK:STDOUT: %A.type.0af: type = generic_interface_type @A [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %A.generic: %A.type.5c0 = struct_value () [concrete] -// CHECK:STDOUT: %A.type.869ac6.1: type = facet_type <@A, @A(%AA)> [symbolic] +// CHECK:STDOUT: %A.generic: %A.type.0af = struct_value () [concrete] +// CHECK:STDOUT: %A.type.5ea944.1: type = facet_type <@A, @A(%AA)> [symbolic] // CHECK:STDOUT: %A.assoc_type: type = assoc_entity_type @A, @A(%AA) [symbolic] // CHECK:STDOUT: %assoc0: %A.assoc_type = assoc_entity element0, @A.WithSelf.%X [symbolic] -// CHECK:STDOUT: %B.type.b67: type = generic_interface_type @B [concrete] -// CHECK:STDOUT: %B.generic: %B.type.b67 = struct_value () [concrete] -// CHECK:STDOUT: %.Self.8b7bb9.1: %A.type.869ac6.1 = symbolic_binding .Self [symbolic] -// CHECK:STDOUT: %require_complete.bb0: = require_complete_type %A.type.869ac6.1 [symbolic] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.8b7bb9.1 [symbolic] -// CHECK:STDOUT: %A.lookup_impl_witness.d232ee.1: = lookup_impl_witness %.Self.8b7bb9.1, @A, @A(%AA) [symbolic] -// CHECK:STDOUT: %impl.elem0.707e7a.1: type = impl_witness_access %A.lookup_impl_witness.d232ee.1, element0 [symbolic] +// CHECK:STDOUT: %B.type.f20: type = generic_interface_type @B [concrete] +// CHECK:STDOUT: %B.generic: %B.type.f20 = struct_value () [concrete] +// CHECK:STDOUT: %.Self.1b7616.1: %A.type.5ea944.1 = symbolic_binding .Self [symbolic] +// CHECK:STDOUT: %require_complete.88d: = require_complete_type %A.type.5ea944.1 [symbolic] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.1b7616.1 [symbolic] +// CHECK:STDOUT: %A.lookup_impl_witness.15e6be.1: = lookup_impl_witness %.Self.1b7616.1, @A, @A(%AA) [symbolic] +// CHECK:STDOUT: %impl.elem0.b25b5d.1: type = impl_witness_access %A.lookup_impl_witness.15e6be.1, element0 [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %A_where.type.c43894.1: type = facet_type <@A, @A(%AA) where %impl.elem0.707e7a.1 = %empty_tuple.type> [symbolic] -// CHECK:STDOUT: %pattern_type.b50: type = pattern_type %A_where.type.c43894.1 [symbolic] -// CHECK:STDOUT: %BB.fab: %A_where.type.c43894.1 = symbolic_binding BB, 1 [symbolic] -// CHECK:STDOUT: %BB.as_type: type = facet_access_type %BB.fab [symbolic] +// CHECK:STDOUT: %A_where.type.3878ef.1: type = facet_type <@A, @A(%AA) where %impl.elem0.b25b5d.1 = %empty_tuple.type> [symbolic] +// CHECK:STDOUT: %pattern_type.25d: type = pattern_type %A_where.type.3878ef.1 [symbolic] +// CHECK:STDOUT: %BB.e97: %A_where.type.3878ef.1 = symbolic_binding BB, 1 [symbolic] +// CHECK:STDOUT: %BB.as_type: type = facet_access_type %BB.e97 [symbolic] // CHECK:STDOUT: %ptr.e8f8f9.1: type = ptr_type %AA [symbolic] -// CHECK:STDOUT: %B.type.f26d3a.1: type = facet_type <@B, @B(%ptr.e8f8f9.1)> [symbolic] -// CHECK:STDOUT: %B.impl_witness.066: = impl_witness @BB.as_type.as.B.impl.%B.impl_witness_table, @BB.as_type.as.B.impl(%AA, %BB.fab) [symbolic] -// CHECK:STDOUT: %require_complete.c63172.1: = require_complete_type %B.type.f26d3a.1 [symbolic] +// CHECK:STDOUT: %B.type.ef01e2.1: type = facet_type <@B, @B(%ptr.e8f8f9.1)> [symbolic] +// CHECK:STDOUT: %B.impl_witness.461: = impl_witness @BB.as_type.as.B.impl.%B.impl_witness_table, @BB.as_type.as.B.impl(%AA, %BB.e97) [symbolic] +// CHECK:STDOUT: %require_complete.a95288.1: = require_complete_type %B.type.ef01e2.1 [symbolic] // CHECK:STDOUT: %DD: type = symbolic_binding DD, 0 [symbolic] -// CHECK:STDOUT: %D.aa2: type = class_type @D, @D(%DD) [symbolic] +// CHECK:STDOUT: %D.dbf: type = class_type @D, @D(%DD) [symbolic] // CHECK:STDOUT: %T.091: type = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %D.G.type.97f: type = fn_type @D.G, @D(%DD) [symbolic] -// CHECK:STDOUT: %D.G.652: %D.G.type.97f = struct_value () [symbolic] +// CHECK:STDOUT: %D.G.type.e6f: type = fn_type @D.G, @D(%DD) [symbolic] +// CHECK:STDOUT: %D.G.6b0: %D.G.type.e6f = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %ptr.e8f8f9.2: type = ptr_type %DD [symbolic] -// CHECK:STDOUT: %B.type.f26d3a.2: type = facet_type <@B, @B(%ptr.e8f8f9.2)> [symbolic] -// CHECK:STDOUT: %B.lookup_impl_witness.141: = lookup_impl_witness %T.091, @B, @B(%ptr.e8f8f9.2) [symbolic] -// CHECK:STDOUT: %.50b: require_specific_def_type = require_specific_def @BB.as.B.impl(%ptr.e8f8f9.2, %T.091) [symbolic] -// CHECK:STDOUT: %B.facet.284: %B.type.f26d3a.2 = facet_value %T.091, (%B.lookup_impl_witness.141) [symbolic] +// CHECK:STDOUT: %B.type.ef01e2.2: type = facet_type <@B, @B(%ptr.e8f8f9.2)> [symbolic] +// CHECK:STDOUT: %B.lookup_impl_witness.332: = lookup_impl_witness %T.091, @B, @B(%ptr.e8f8f9.2) [symbolic] +// CHECK:STDOUT: %.9e8: require_specific_def_type = require_specific_def @BB.as.B.impl(%ptr.e8f8f9.2, %T.091) [symbolic] +// CHECK:STDOUT: %B.facet.dd5: %B.type.ef01e2.2 = facet_value %T.091, (%B.lookup_impl_witness.332) [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %D.G.type.6e7: type = fn_type @D.G, @D(%empty_struct_type) [concrete] -// CHECK:STDOUT: %D.G.58d: %D.G.type.6e7 = struct_value () [concrete] +// CHECK:STDOUT: %D.G.type.ffd: type = fn_type @D.G, @D(%empty_struct_type) [concrete] +// CHECK:STDOUT: %D.G.e3b: %D.G.type.ffd = struct_value () [concrete] // CHECK:STDOUT: %ptr.c28: type = ptr_type %empty_struct_type [concrete] -// CHECK:STDOUT: %B.type.bfb: type = facet_type <@B, @B(%ptr.c28)> [concrete] -// CHECK:STDOUT: %.47a: require_specific_def_type = require_specific_def @BB.as.B.impl(%ptr.c28, %T.67d) [symbolic] -// CHECK:STDOUT: %B.lookup_impl_witness.b8e: = lookup_impl_witness %T.67d, @B, @B(%ptr.c28) [symbolic] -// CHECK:STDOUT: %B.facet.d43: %B.type.bfb = facet_value %T.67d, (%B.lookup_impl_witness.b8e) [symbolic] +// CHECK:STDOUT: %B.type.2b3: type = facet_type <@B, @B(%ptr.c28)> [concrete] +// CHECK:STDOUT: %.878: require_specific_def_type = require_specific_def @BB.as.B.impl(%ptr.c28, %T.67d) [symbolic] +// CHECK:STDOUT: %B.lookup_impl_witness.6d2: = lookup_impl_witness %T.67d, @B, @B(%ptr.c28) [symbolic] +// CHECK:STDOUT: %B.facet.a5c: %B.type.2b3 = facet_value %T.67d, (%B.lookup_impl_witness.6d2) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: impl_decl @BB.as_type.as.B.impl [concrete] { // CHECK:STDOUT: %AA.patt: %pattern_type.98f = symbolic_binding_pattern AA, 0 [concrete] -// CHECK:STDOUT: %BB.patt: @BB.as_type.as.B.impl.%pattern_type (%pattern_type.b50) = symbolic_binding_pattern BB, 1 [concrete] +// CHECK:STDOUT: %BB.patt: @BB.as_type.as.B.impl.%pattern_type (%pattern_type.25d) = symbolic_binding_pattern BB, 1 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %BB.ref: @BB.as_type.as.B.impl.%A_where.type (%A_where.type.c43894.1) = name_ref BB, %BB.loc9_27.1 [symbolic = %BB.loc9_27.2 (constants.%BB.fab)] +// CHECK:STDOUT: %BB.ref: @BB.as_type.as.B.impl.%A_where.type (%A_where.type.3878ef.1) = name_ref BB, %BB.loc9_27.1 [symbolic = %BB.loc9_27.2 (constants.%BB.e97)] // CHECK:STDOUT: %BB.as_type.loc9_51.1: type = facet_access_type %BB.ref [symbolic = %BB.as_type.loc9_51.2 (constants.%BB.as_type)] // CHECK:STDOUT: %.loc9_51: type = converted %BB.ref, %BB.as_type.loc9_51.1 [symbolic = %BB.as_type.loc9_51.2 (constants.%BB.as_type)] -// CHECK:STDOUT: %B.ref: %B.type.b67 = name_ref B, file.%B.decl [concrete = constants.%B.generic] +// CHECK:STDOUT: %B.ref: %B.type.f20 = name_ref B, file.%B.decl [concrete = constants.%B.generic] // CHECK:STDOUT: %AA.ref.loc9_59: type = name_ref AA, %AA.loc9_16.1 [symbolic = %AA.loc9_16.2 (constants.%AA)] // CHECK:STDOUT: %ptr.loc9_61.1: type = ptr_type %AA.ref.loc9_59 [symbolic = %ptr.loc9_61.2 (constants.%ptr.e8f8f9.1)] -// CHECK:STDOUT: %B.type.loc9_62.1: type = facet_type <@B, @B(constants.%ptr.e8f8f9.1)> [symbolic = %B.type.loc9_62.2 (constants.%B.type.f26d3a.1)] +// CHECK:STDOUT: %B.type.loc9_62.1: type = facet_type <@B, @B(constants.%ptr.e8f8f9.1)> [symbolic = %B.type.loc9_62.2 (constants.%B.type.ef01e2.1)] // CHECK:STDOUT: %.loc9_19.1: type = splice_block %.loc9_19.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc9_16: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %.loc9_19.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %AA.loc9_16.1: type = symbolic_binding AA, 0 [symbolic = %AA.loc9_16.2 (constants.%AA)] -// CHECK:STDOUT: %.loc9_36.1: type = splice_block %.loc9_36.2 [symbolic = %A_where.type (constants.%A_where.type.c43894.1)] { +// CHECK:STDOUT: %.loc9_36.1: type = splice_block %.loc9_36.2 [symbolic = %A_where.type (constants.%A_where.type.3878ef.1)] { // CHECK:STDOUT: %.Self.loc9_27: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] -// CHECK:STDOUT: %A.ref: %A.type.5c0 = name_ref A, file.%A.decl [concrete = constants.%A.generic] +// CHECK:STDOUT: %A.ref: %A.type.0af = name_ref A, file.%A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %AA.ref.loc9_32: type = name_ref AA, %AA.loc9_16.1 [symbolic = %AA.loc9_16.2 (constants.%AA)] -// CHECK:STDOUT: %A.type.loc9_34.1: type = facet_type <@A, @A(constants.%AA)> [symbolic = %A.type.loc9_34.2 (constants.%A.type.869ac6.1)] -// CHECK:STDOUT: %.Self.loc9_36.1: @BB.as_type.as.B.impl.%A.type.loc9_34.2 (%A.type.869ac6.1) = symbolic_binding .Self [symbolic = %.Self.loc9_36.2 (constants.%.Self.8b7bb9.1)] -// CHECK:STDOUT: %.Self.ref: @BB.as_type.as.B.impl.%A.type.loc9_34.2 (%A.type.869ac6.1) = name_ref .Self, %.Self.loc9_36.1 [symbolic = %.Self.loc9_36.2 (constants.%.Self.8b7bb9.1)] +// CHECK:STDOUT: %A.type.loc9_34.1: type = facet_type <@A, @A(constants.%AA)> [symbolic = %A.type.loc9_34.2 (constants.%A.type.5ea944.1)] +// CHECK:STDOUT: %.Self.loc9_36.1: @BB.as_type.as.B.impl.%A.type.loc9_34.2 (%A.type.5ea944.1) = symbolic_binding .Self [symbolic = %.Self.loc9_36.2 (constants.%.Self.1b7616.1)] +// CHECK:STDOUT: %.Self.ref: @BB.as_type.as.B.impl.%A.type.loc9_34.2 (%A.type.5ea944.1) = name_ref .Self, %.Self.loc9_36.1 [symbolic = %.Self.loc9_36.2 (constants.%.Self.1b7616.1)] // CHECK:STDOUT: %.Self.as_type.loc9_42.1: type = facet_access_type %.Self.ref [symbolic = %.Self.as_type.loc9_42.2 (constants.%.Self.as_type)] // CHECK:STDOUT: %.loc9_42.1: type = converted %.Self.ref, %.Self.as_type.loc9_42.1 [symbolic = %.Self.as_type.loc9_42.2 (constants.%.Self.as_type)] -// CHECK:STDOUT: %.loc9_42.2: @BB.as_type.as.B.impl.%A.assoc_type (%A.assoc_type) = specific_constant @X.%assoc0, @A.WithSelf(constants.%AA, constants.%.Self.8b7bb9.1) [symbolic = %assoc0 (constants.%assoc0)] +// CHECK:STDOUT: %.loc9_42.2: @BB.as_type.as.B.impl.%A.assoc_type (%A.assoc_type) = specific_constant @X.%assoc0, @A.WithSelf(constants.%AA, constants.%.Self.1b7616.1) [symbolic = %assoc0 (constants.%assoc0)] // CHECK:STDOUT: %X.ref: @BB.as_type.as.B.impl.%A.assoc_type (%A.assoc_type) = name_ref X, %.loc9_42.2 [symbolic = %assoc0 (constants.%assoc0)] -// CHECK:STDOUT: %impl.elem0.loc9_42.1: type = impl_witness_access constants.%A.lookup_impl_witness.d232ee.1, element0 [symbolic = %impl.elem0.loc9_42.2 (constants.%impl.elem0.707e7a.1)] +// CHECK:STDOUT: %impl.elem0.loc9_42.1: type = impl_witness_access constants.%A.lookup_impl_witness.15e6be.1, element0 [symbolic = %impl.elem0.loc9_42.2 (constants.%impl.elem0.b25b5d.1)] // CHECK:STDOUT: %.loc9_48.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc9_48.2: type = converted %.loc9_48.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %.loc9_36.2: type = where_expr [symbolic = %A_where.type (constants.%A_where.type.c43894.1)] { +// CHECK:STDOUT: %.loc9_36.2: type = where_expr [symbolic = %A_where.type (constants.%A_where.type.3878ef.1)] { // CHECK:STDOUT: requirement_base_facet_type %A.type.loc9_34.1 // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc9_42.1, %.loc9_48.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %BB.loc9_27.1: @BB.as_type.as.B.impl.%A_where.type (%A_where.type.c43894.1) = symbolic_binding BB, 1 [symbolic = %BB.loc9_27.2 (constants.%BB.fab)] +// CHECK:STDOUT: %BB.loc9_27.1: @BB.as_type.as.B.impl.%A_where.type (%A_where.type.3878ef.1) = symbolic_binding BB, 1 [symbolic = %BB.loc9_27.2 (constants.%BB.e97)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @BB.as_type.as.B.impl(%AA.loc9_16.1: type, %BB.loc9_27.1: @BB.as_type.as.B.impl.%A_where.type (%A_where.type.c43894.1)) { +// CHECK:STDOUT: generic impl @BB.as_type.as.B.impl(%AA.loc9_16.1: type, %BB.loc9_27.1: @BB.as_type.as.B.impl.%A_where.type (%A_where.type.3878ef.1)) { // CHECK:STDOUT: %AA.loc9_16.2: type = symbolic_binding AA, 0 [symbolic = %AA.loc9_16.2 (constants.%AA)] -// CHECK:STDOUT: %A.type.loc9_34.2: type = facet_type <@A, @A(%AA.loc9_16.2)> [symbolic = %A.type.loc9_34.2 (constants.%A.type.869ac6.1)] -// CHECK:STDOUT: %.Self.loc9_36.2: @BB.as_type.as.B.impl.%A.type.loc9_34.2 (%A.type.869ac6.1) = symbolic_binding .Self [symbolic = %.Self.loc9_36.2 (constants.%.Self.8b7bb9.1)] -// CHECK:STDOUT: %require_complete.loc9_42: = require_complete_type %A.type.loc9_34.2 [symbolic = %require_complete.loc9_42 (constants.%require_complete.bb0)] +// CHECK:STDOUT: %A.type.loc9_34.2: type = facet_type <@A, @A(%AA.loc9_16.2)> [symbolic = %A.type.loc9_34.2 (constants.%A.type.5ea944.1)] +// CHECK:STDOUT: %.Self.loc9_36.2: @BB.as_type.as.B.impl.%A.type.loc9_34.2 (%A.type.5ea944.1) = symbolic_binding .Self [symbolic = %.Self.loc9_36.2 (constants.%.Self.1b7616.1)] +// CHECK:STDOUT: %require_complete.loc9_42: = require_complete_type %A.type.loc9_34.2 [symbolic = %require_complete.loc9_42 (constants.%require_complete.88d)] // CHECK:STDOUT: %.Self.as_type.loc9_42.2: type = facet_access_type %.Self.loc9_36.2 [symbolic = %.Self.as_type.loc9_42.2 (constants.%.Self.as_type)] // CHECK:STDOUT: %A.assoc_type: type = assoc_entity_type @A, @A(%AA.loc9_16.2) [symbolic = %A.assoc_type (constants.%A.assoc_type)] // CHECK:STDOUT: %assoc0: @BB.as_type.as.B.impl.%A.assoc_type (%A.assoc_type) = assoc_entity element0, @A.WithSelf.%X [symbolic = %assoc0 (constants.%assoc0)] -// CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %.Self.loc9_36.2, @A, @A(%AA.loc9_16.2) [symbolic = %A.lookup_impl_witness (constants.%A.lookup_impl_witness.d232ee.1)] -// CHECK:STDOUT: %impl.elem0.loc9_42.2: type = impl_witness_access %A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_42.2 (constants.%impl.elem0.707e7a.1)] -// CHECK:STDOUT: %A_where.type: type = facet_type <@A, @A(%AA.loc9_16.2) where %impl.elem0.loc9_42.2 = constants.%empty_tuple.type> [symbolic = %A_where.type (constants.%A_where.type.c43894.1)] -// CHECK:STDOUT: %BB.loc9_27.2: @BB.as_type.as.B.impl.%A_where.type (%A_where.type.c43894.1) = symbolic_binding BB, 1 [symbolic = %BB.loc9_27.2 (constants.%BB.fab)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %A_where.type [symbolic = %pattern_type (constants.%pattern_type.b50)] +// CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %.Self.loc9_36.2, @A, @A(%AA.loc9_16.2) [symbolic = %A.lookup_impl_witness (constants.%A.lookup_impl_witness.15e6be.1)] +// CHECK:STDOUT: %impl.elem0.loc9_42.2: type = impl_witness_access %A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_42.2 (constants.%impl.elem0.b25b5d.1)] +// CHECK:STDOUT: %A_where.type: type = facet_type <@A, @A(%AA.loc9_16.2) where %impl.elem0.loc9_42.2 = constants.%empty_tuple.type> [symbolic = %A_where.type (constants.%A_where.type.3878ef.1)] +// CHECK:STDOUT: %BB.loc9_27.2: @BB.as_type.as.B.impl.%A_where.type (%A_where.type.3878ef.1) = symbolic_binding BB, 1 [symbolic = %BB.loc9_27.2 (constants.%BB.e97)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %A_where.type [symbolic = %pattern_type (constants.%pattern_type.25d)] // CHECK:STDOUT: %BB.as_type.loc9_51.2: type = facet_access_type %BB.loc9_27.2 [symbolic = %BB.as_type.loc9_51.2 (constants.%BB.as_type)] // CHECK:STDOUT: %ptr.loc9_61.2: type = ptr_type %AA.loc9_16.2 [symbolic = %ptr.loc9_61.2 (constants.%ptr.e8f8f9.1)] -// CHECK:STDOUT: %B.type.loc9_62.2: type = facet_type <@B, @B(%ptr.loc9_61.2)> [symbolic = %B.type.loc9_62.2 (constants.%B.type.f26d3a.1)] -// CHECK:STDOUT: %B.impl_witness.loc9_64.2: = impl_witness %B.impl_witness_table, @BB.as_type.as.B.impl(%AA.loc9_16.2, %BB.loc9_27.2) [symbolic = %B.impl_witness.loc9_64.2 (constants.%B.impl_witness.066)] +// CHECK:STDOUT: %B.type.loc9_62.2: type = facet_type <@B, @B(%ptr.loc9_61.2)> [symbolic = %B.type.loc9_62.2 (constants.%B.type.ef01e2.1)] +// CHECK:STDOUT: %B.impl_witness.loc9_64.2: = impl_witness %B.impl_witness_table, @BB.as_type.as.B.impl(%AA.loc9_16.2, %BB.loc9_27.2) [symbolic = %B.impl_witness.loc9_64.2 (constants.%B.impl_witness.461)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc9_62: = require_complete_type %B.type.loc9_62.2 [symbolic = %require_complete.loc9_62 (constants.%require_complete.c63172.1)] +// CHECK:STDOUT: %require_complete.loc9_62: = require_complete_type %B.type.loc9_62.2 [symbolic = %require_complete.loc9_62 (constants.%require_complete.a95288.1)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %.loc9_51 as %B.type.loc9_62.1 { // CHECK:STDOUT: %B.impl_witness_table = impl_witness_table (), @BB.as_type.as.B.impl [concrete] -// CHECK:STDOUT: %B.impl_witness.loc9_64.1: = impl_witness %B.impl_witness_table, @BB.as_type.as.B.impl(constants.%AA, constants.%BB.fab) [symbolic = %B.impl_witness.loc9_64.2 (constants.%B.impl_witness.066)] +// CHECK:STDOUT: %B.impl_witness.loc9_64.1: = impl_witness %B.impl_witness_table, @BB.as_type.as.B.impl(constants.%AA, constants.%BB.e97) [symbolic = %B.impl_witness.loc9_64.2 (constants.%B.impl_witness.461)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %B.type.loc9_62.1 @@ -423,7 +423,7 @@ fn H(T:! type) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%D.aa2 +// CHECK:STDOUT: .Self = constants.%D.dbf // CHECK:STDOUT: .G = %D.G.decl // CHECK:STDOUT: .B = // CHECK:STDOUT: .DD = @@ -436,49 +436,49 @@ fn H(T:! type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %DD: type = symbolic_binding DD, 0 [symbolic = %DD (constants.%DD)] // CHECK:STDOUT: %ptr.loc21_14.2: type = ptr_type %DD [symbolic = %ptr.loc21_14.2 (constants.%ptr.e8f8f9.2)] -// CHECK:STDOUT: %B.type.loc21_15.2: type = facet_type <@B, @B(%ptr.loc21_14.2)> [symbolic = %B.type.loc21_15.2 (constants.%B.type.f26d3a.2)] -// CHECK:STDOUT: %.loc21_7.2: require_specific_def_type = require_specific_def @BB.as.B.impl(%ptr.loc21_14.2, %T.loc15_9.1) [symbolic = %.loc21_7.2 (constants.%.50b)] -// CHECK:STDOUT: %B.lookup_impl_witness: = lookup_impl_witness %T.loc15_9.1, @B, @B(%ptr.loc21_14.2) [symbolic = %B.lookup_impl_witness (constants.%B.lookup_impl_witness.141)] -// CHECK:STDOUT: %B.facet.loc21_7.2: @D.G.%B.type.loc21_15.2 (%B.type.f26d3a.2) = facet_value %T.loc15_9.1, (%B.lookup_impl_witness) [symbolic = %B.facet.loc21_7.2 (constants.%B.facet.284)] +// CHECK:STDOUT: %B.type.loc21_15.2: type = facet_type <@B, @B(%ptr.loc21_14.2)> [symbolic = %B.type.loc21_15.2 (constants.%B.type.ef01e2.2)] +// CHECK:STDOUT: %.loc21_7.2: require_specific_def_type = require_specific_def @BB.as.B.impl(%ptr.loc21_14.2, %T.loc15_9.1) [symbolic = %.loc21_7.2 (constants.%.9e8)] +// CHECK:STDOUT: %B.lookup_impl_witness: = lookup_impl_witness %T.loc15_9.1, @B, @B(%ptr.loc21_14.2) [symbolic = %B.lookup_impl_witness (constants.%B.lookup_impl_witness.332)] +// CHECK:STDOUT: %B.facet.loc21_7.2: @D.G.%B.type.loc21_15.2 (%B.type.ef01e2.2) = facet_value %T.loc15_9.1, (%B.lookup_impl_witness) [symbolic = %B.facet.loc21_7.2 (constants.%B.facet.dd5)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc15_9.2 [symbolic = %T.loc15_9.1 (constants.%T.091)] -// CHECK:STDOUT: %B.ref: %B.type.b67 = name_ref B, file.%B.decl [concrete = constants.%B.generic] +// CHECK:STDOUT: %B.ref: %B.type.f20 = name_ref B, file.%B.decl [concrete = constants.%B.generic] // CHECK:STDOUT: %DD.ref: type = name_ref DD, @D.%DD.loc14_11.2 [symbolic = %DD (constants.%DD)] // CHECK:STDOUT: %ptr.loc21_14.1: type = ptr_type %DD.ref [symbolic = %ptr.loc21_14.2 (constants.%ptr.e8f8f9.2)] -// CHECK:STDOUT: %B.type.loc21_15.1: type = facet_type <@B, @B(constants.%ptr.e8f8f9.2)> [symbolic = %B.type.loc21_15.2 (constants.%B.type.f26d3a.2)] -// CHECK:STDOUT: %B.facet.loc21_7.1: @D.G.%B.type.loc21_15.2 (%B.type.f26d3a.2) = facet_value %T.ref, (constants.%B.lookup_impl_witness.141) [symbolic = %B.facet.loc21_7.2 (constants.%B.facet.284)] -// CHECK:STDOUT: %.loc21_7.1: @D.G.%B.type.loc21_15.2 (%B.type.f26d3a.2) = converted %T.ref, %B.facet.loc21_7.1 [symbolic = %B.facet.loc21_7.2 (constants.%B.facet.284)] +// CHECK:STDOUT: %B.type.loc21_15.1: type = facet_type <@B, @B(constants.%ptr.e8f8f9.2)> [symbolic = %B.type.loc21_15.2 (constants.%B.type.ef01e2.2)] +// CHECK:STDOUT: %B.facet.loc21_7.1: @D.G.%B.type.loc21_15.2 (%B.type.ef01e2.2) = facet_value %T.ref, (constants.%B.lookup_impl_witness.332) [symbolic = %B.facet.loc21_7.2 (constants.%B.facet.dd5)] +// CHECK:STDOUT: %.loc21_7.1: @D.G.%B.type.loc21_15.2 (%B.type.ef01e2.2) = converted %T.ref, %B.facet.loc21_7.1 [symbolic = %B.facet.loc21_7.2 (constants.%B.facet.dd5)] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @BB.as_type.as.B.impl(constants.%AA, constants.%BB.fab) { +// CHECK:STDOUT: specific @BB.as_type.as.B.impl(constants.%AA, constants.%BB.e97) { // CHECK:STDOUT: %AA.loc9_16.2 => constants.%AA -// CHECK:STDOUT: %A.type.loc9_34.2 => constants.%A.type.869ac6.1 -// CHECK:STDOUT: %.Self.loc9_36.2 => constants.%.Self.8b7bb9.1 -// CHECK:STDOUT: %require_complete.loc9_42 => constants.%require_complete.bb0 +// CHECK:STDOUT: %A.type.loc9_34.2 => constants.%A.type.5ea944.1 +// CHECK:STDOUT: %.Self.loc9_36.2 => constants.%.Self.1b7616.1 +// CHECK:STDOUT: %require_complete.loc9_42 => constants.%require_complete.88d // CHECK:STDOUT: %.Self.as_type.loc9_42.2 => constants.%.Self.as_type // CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type // CHECK:STDOUT: %assoc0 => constants.%assoc0 -// CHECK:STDOUT: %A.lookup_impl_witness => constants.%A.lookup_impl_witness.d232ee.1 -// CHECK:STDOUT: %impl.elem0.loc9_42.2 => constants.%impl.elem0.707e7a.1 -// CHECK:STDOUT: %A_where.type => constants.%A_where.type.c43894.1 -// CHECK:STDOUT: %BB.loc9_27.2 => constants.%BB.fab -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.b50 +// CHECK:STDOUT: %A.lookup_impl_witness => constants.%A.lookup_impl_witness.15e6be.1 +// CHECK:STDOUT: %impl.elem0.loc9_42.2 => constants.%impl.elem0.b25b5d.1 +// CHECK:STDOUT: %A_where.type => constants.%A_where.type.3878ef.1 +// CHECK:STDOUT: %BB.loc9_27.2 => constants.%BB.e97 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.25d // CHECK:STDOUT: %BB.as_type.loc9_51.2 => constants.%BB.as_type // CHECK:STDOUT: %ptr.loc9_61.2 => constants.%ptr.e8f8f9.1 -// CHECK:STDOUT: %B.type.loc9_62.2 => constants.%B.type.f26d3a.1 -// CHECK:STDOUT: %B.impl_witness.loc9_64.2 => constants.%B.impl_witness.066 +// CHECK:STDOUT: %B.type.loc9_62.2 => constants.%B.type.ef01e2.1 +// CHECK:STDOUT: %B.impl_witness.loc9_64.2 => constants.%B.impl_witness.461 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @D(constants.%DD) { // CHECK:STDOUT: %DD.loc14_11.1 => constants.%DD // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %D.G.type => constants.%D.G.type.97f -// CHECK:STDOUT: %D.G => constants.%D.G.652 +// CHECK:STDOUT: %D.G.type => constants.%D.G.type.e6f +// CHECK:STDOUT: %D.G => constants.%D.G.6b0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @D.G(constants.%DD, constants.%T.091) { @@ -489,8 +489,8 @@ fn H(T:! type) { // CHECK:STDOUT: %DD.loc14_11.1 => constants.%empty_struct_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %D.G.type => constants.%D.G.type.6e7 -// CHECK:STDOUT: %D.G => constants.%D.G.58d +// CHECK:STDOUT: %D.G.type => constants.%D.G.type.ffd +// CHECK:STDOUT: %D.G => constants.%D.G.e3b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @D.G(constants.%empty_struct_type, constants.%T.67d) { @@ -499,9 +499,9 @@ fn H(T:! type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %DD => constants.%empty_struct_type // CHECK:STDOUT: %ptr.loc21_14.2 => constants.%ptr.c28 -// CHECK:STDOUT: %B.type.loc21_15.2 => constants.%B.type.bfb -// CHECK:STDOUT: %.loc21_7.2 => constants.%.47a -// CHECK:STDOUT: %B.lookup_impl_witness => constants.%B.lookup_impl_witness.b8e -// CHECK:STDOUT: %B.facet.loc21_7.2 => constants.%B.facet.d43 +// CHECK:STDOUT: %B.type.loc21_15.2 => constants.%B.type.2b3 +// CHECK:STDOUT: %.loc21_7.2 => constants.%.878 +// CHECK:STDOUT: %B.lookup_impl_witness => constants.%B.lookup_impl_witness.6d2 +// CHECK:STDOUT: %B.facet.loc21_7.2 => constants.%B.facet.a5c // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/generic/local.carbon b/toolchain/check/testdata/generic/local.carbon index 07abef8b497b..d9c01664f6da 100644 --- a/toolchain/check/testdata/generic/local.carbon +++ b/toolchain/check/testdata/generic/local.carbon @@ -59,45 +59,45 @@ class C(C:! type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.5d4: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.c79: type = class_type @C, @C(%T) [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %C.elem.d15: type = unbound_element_type %C.5d4, %T [symbolic] +// CHECK:STDOUT: %C.elem.7e2: type = unbound_element_type %C.c79, %T [symbolic] // CHECK:STDOUT: %struct_type.x.0c5: type = struct_type {.x: %T} [symbolic] // CHECK:STDOUT: %complete_type.735: = complete_type_witness %struct_type.x.0c5 [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %C.2a0: type = class_type @C, @C(%i32) [concrete] +// CHECK:STDOUT: %C.f89: type = class_type @C, @C(%i32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %C.elem.f15: type = unbound_element_type %C.2a0, %i32 [concrete] -// CHECK:STDOUT: %struct_type.x.2bb: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fa5: = complete_type_witness %struct_type.x.2bb [concrete] -// CHECK:STDOUT: %pattern_type.5e3: type = pattern_type %C.2a0 [concrete] +// CHECK:STDOUT: %C.elem.427: type = unbound_element_type %C.f89, %i32 [concrete] +// CHECK:STDOUT: %struct_type.x.06a: type = struct_type {.x: %i32} [concrete] +// CHECK:STDOUT: %complete_type.9a8: = complete_type_witness %struct_type.x.06a [concrete] +// CHECK:STDOUT: %pattern_type.e77: type = pattern_type %C.f89 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.x.c96: type = struct_type {.x: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.x.c96 = struct_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %C.val: %C.2a0 = struct_value (%int_1.d5e) [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %C.val: %C.f89 = struct_value (%int_1.d9c) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc8_3.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc8_3.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -109,9 +109,9 @@ class C(C:! type) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -129,18 +129,18 @@ class C(C:! type) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.loc5_12.1 [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T.loc5_12.1) [symbolic = %C (constants.%C.5d4)] -// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %T.loc5_12.1 [symbolic = %C.elem (constants.%C.elem.d15)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T.loc5_12.1) [symbolic = %C (constants.%C.c79)] +// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %T.loc5_12.1 [symbolic = %C.elem (constants.%C.elem.7e2)] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: @C.%T.loc5_12.1 (%T)} [symbolic = %struct_type.x (constants.%struct_type.x.0c5)] // CHECK:STDOUT: %complete_type.loc7_3.2: = complete_type_witness %struct_type.x [symbolic = %complete_type.loc7_3.2 (constants.%complete_type.735)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %.loc6: @C.%C.elem (%C.elem.d15) = field_decl x, element0 [concrete] +// CHECK:STDOUT: %.loc6: @C.%C.elem (%C.elem.7e2) = field_decl x, element0 [concrete] // CHECK:STDOUT: %complete_type.loc7_3.1: = complete_type_witness constants.%struct_type.x.0c5 [symbolic = %complete_type.loc7_3.2 (constants.%complete_type.735)] // CHECK:STDOUT: complete_type_witness = %complete_type.loc7_3.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.5d4 +// CHECK:STDOUT: .Self = constants.%C.c79 // CHECK:STDOUT: .T = // CHECK:STDOUT: .x = %.loc6 // CHECK:STDOUT: } @@ -158,30 +158,30 @@ class C(C:! type) { // CHECK:STDOUT: %T.loc5_12.2: type = symbolic_binding T, 0 [symbolic = %T.loc5_12.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.5e3 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.5e3 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.e77 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.e77 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref %C.2a0 = var %v.var_patt +// CHECK:STDOUT: %v.var: ref %C.f89 = var %v.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc8_33.1: %struct_type.x.c96 = struct_literal (%int_1) [concrete = constants.%struct] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_33.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_33.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_33.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_33.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_33.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_33.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc8_33.3: ref %i32 = class_element_access %v.var, element0 -// CHECK:STDOUT: %.loc8_33.4: init %i32 to %.loc8_33.3 = in_place_init %.loc8_33.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_33.5: init %C.2a0 to %v.var = class_init (%.loc8_33.4) [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc8_3: init %C.2a0 = converted %.loc8_33.1, %.loc8_33.5 [concrete = constants.%C.val] +// CHECK:STDOUT: %.loc8_33.4: init %i32 to %.loc8_33.3 = in_place_init %.loc8_33.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_33.5: init %C.f89 to %v.var = class_init (%.loc8_33.4) [concrete = constants.%C.val] +// CHECK:STDOUT: %.loc8_3: init %C.f89 = converted %.loc8_33.1, %.loc8_33.5 [concrete = constants.%C.val] // CHECK:STDOUT: assign %v.var, %.loc8_3 -// CHECK:STDOUT: %.loc8_22: type = splice_block %C [concrete = constants.%C.2a0] { +// CHECK:STDOUT: %.loc8_22: type = splice_block %C [concrete = constants.%C.f89] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, %C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.2a0] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%i32) [concrete = constants.%C.f89] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref %C.2a0 = ref_binding v, %v.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %v: ref %C.f89 = ref_binding v, %v.var +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -193,12 +193,12 @@ class C(C:! type) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %struct_type.x.2bb) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_3.3(%self.param: ref %struct_type.x.06a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_3.4(%self.param: ref %C.2a0) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_3.4(%self.param: ref %C.f89) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -212,10 +212,10 @@ class C(C:! type) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %C => constants.%C.2a0 -// CHECK:STDOUT: %C.elem => constants.%C.elem.f15 -// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.2bb -// CHECK:STDOUT: %complete_type.loc7_3.2 => constants.%complete_type.fa5 +// CHECK:STDOUT: %C => constants.%C.f89 +// CHECK:STDOUT: %C.elem => constants.%C.elem.427 +// CHECK:STDOUT: %struct_type.x => constants.%struct_type.x.06a +// CHECK:STDOUT: %complete_type.loc7_3.2 => constants.%complete_type.9a8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_param_shadows_class.carbon @@ -229,7 +229,7 @@ class C(C:! type) { // CHECK:STDOUT: %C.67d: type = symbolic_binding C, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.5d4: type = class_type @C, @C(%C.67d) [symbolic] +// CHECK:STDOUT: %C.c79: type = class_type @C, @C(%C.67d) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: } @@ -260,7 +260,7 @@ class C(C:! type) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.5d4 +// CHECK:STDOUT: .Self = constants.%C.c79 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -291,7 +291,7 @@ class C(C:! type) { // CHECK:STDOUT: %C.67d: type = symbolic_binding C, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.8bd: type = class_type @C, @C(%C.67d) [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%C.67d) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: } @@ -330,7 +330,7 @@ class C(C:! type) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.8bd +// CHECK:STDOUT: .Self = constants.%C.1f9 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/generic/template/convert.carbon b/toolchain/check/testdata/generic/template/convert.carbon index fb2f28640cba..a2d2ac510336 100644 --- a/toolchain/check/testdata/generic/template/convert.carbon +++ b/toolchain/check/testdata/generic/template/convert.carbon @@ -74,59 +74,59 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67db0b.1 [template] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Test1.type: type = fn_type @Test1 [concrete] // CHECK:STDOUT: %Test1: %Test1.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn.2f5: = specific_function %F, @F(%i32) [concrete] +// CHECK:STDOUT: %F.specific_fn.231: = specific_function %F, @F(%i32) [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %i32 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.726: = impl_witness @C.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.9fa: type = pattern_type %C [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.0d8: = impl_witness @C.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type: type = fn_type @C.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert: %C.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value %C, (%ImplicitAs.impl_witness.726) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.a40: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value %C, (%ImplicitAs.impl_witness.0d8) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.0ff: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n [concrete] // CHECK:STDOUT: %Test2.type: type = fn_type @Test2 [concrete] // CHECK:STDOUT: %Test2: %Test2.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn.e56: = specific_function %F, @F(%C) [concrete] -// CHECK:STDOUT: %inst.as_compatible.d12: = inst_value [concrete] { -// CHECK:STDOUT: %.5bb: %i32 = as_compatible @F.%x.ref +// CHECK:STDOUT: %F.specific_fn.076: = specific_function %F, @F(%C) [concrete] +// CHECK:STDOUT: %inst.as_compatible.b1e: = inst_value [concrete] { +// CHECK:STDOUT: %.fd8: %i32 = as_compatible @F.%x.ref // CHECK:STDOUT: } -// CHECK:STDOUT: %inst.splice_block.55a: = inst_value [concrete] { -// CHECK:STDOUT: %.9c6: %i32 = splice_block %.5bb {} +// CHECK:STDOUT: %inst.splice_block.c2e: = inst_value [concrete] { +// CHECK:STDOUT: %.837: %i32 = splice_block %.fd8 {} // CHECK:STDOUT: } -// CHECK:STDOUT: %inst.as_compatible.f1c: = inst_value [concrete] { -// CHECK:STDOUT: %.ee8: %C = as_compatible @F.%x.ref +// CHECK:STDOUT: %inst.as_compatible.154: = inst_value [concrete] { +// CHECK:STDOUT: %.719: %C = as_compatible @F.%x.ref // CHECK:STDOUT: } -// CHECK:STDOUT: %.28a: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.a40, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %inst.splice_block.8d3: = inst_value [concrete] { -// CHECK:STDOUT: %.416: %i32 = splice_block %.ea0 { -// CHECK:STDOUT: %impl.elem0.9f7: %.28a = impl_witness_access %ImplicitAs.impl_witness.726, element0 [concrete = %C.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %bound_method: = bound_method %.ee8, %impl.elem0.9f7 -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method(%.ee8) -// CHECK:STDOUT: %.51c: %i32 = value_of_initializer %C.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %.ea0: %i32 = converted %.ee8, %.51c +// CHECK:STDOUT: %.d9f: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.0ff, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %inst.splice_block.adc: = inst_value [concrete] { +// CHECK:STDOUT: %.ee9: %i32 = splice_block %.382 { +// CHECK:STDOUT: %impl.elem0.67d: %.d9f = impl_witness_access %ImplicitAs.impl_witness.0d8, element0 [concrete = %C.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %bound_method: = bound_method %.719, %impl.elem0.67d +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method(%.719) +// CHECK:STDOUT: %.252: %i32 = value_of_initializer %C.as.ImplicitAs.impl.Convert.call +// CHECK:STDOUT: %.382: %i32 = converted %.719, %.252 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -141,9 +141,9 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -159,11 +159,11 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0, template [concrete] // CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.51d1c4.1) = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.51d1c4.1) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc4 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc4 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc4: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_34: Core.Form = init_form %i32.loc4 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc4_34: Core.Form = init_form %i32.loc4 [concrete = constants.%.7ea] // CHECK:STDOUT: %.loc4_19.1: type = splice_block %.loc4_19.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc4_19.2: type = type_literal type [concrete = type] @@ -176,13 +176,13 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Test1.decl: %Test1.type = fn_decl @Test1 [concrete = constants.%Test1] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc9_21 [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc9_21 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc9_21: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc9: Core.Form = init_form %i32.loc9_21 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc9: Core.Form = init_form %i32.loc9_21 [concrete = constants.%.7ea] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc9_13: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param @@ -191,13 +191,13 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %Test2.decl: %Test2.type = fn_decl @Test2 [concrete = constants.%Test2] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.9fa = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.9fa = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc20: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc20: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %c.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %c: %C = value_binding c, %c.param @@ -208,13 +208,13 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.ImplicitAs.impl: %Self.ref as %ImplicitAs.type { // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type = fn_decl @C.as.ImplicitAs.impl.Convert [concrete = constants.%C.as.ImplicitAs.impl.Convert] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.9fa = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.9fa = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16_33: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16_33: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] // CHECK:STDOUT: %self: %C = value_binding self, %self.param @@ -222,7 +222,7 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.726] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.0d8] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Convert = %C.as.ImplicitAs.impl.Convert.decl @@ -235,11 +235,11 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl [concrete] {} { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%i32)> [concrete = constants.%ImplicitAs.type.544] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%i32)> [concrete = constants.%ImplicitAs.type.360] // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.059] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.edf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -259,7 +259,7 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: fn(%x.param: @F.%T.loc4_16.1 (%T.67db0b.1)) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.ref: @F.%T.loc4_16.1 (%T.67db0b.1) = name_ref x, %x // CHECK:STDOUT: %i32.loc5: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -267,7 +267,7 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %.loc5_16.2: %i32 = splice_inst %.loc5_16.4 // CHECK:STDOUT: %n: %i32 = value_binding n, %.loc5_16.2 // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc6_10.1: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %n.ref, %specific_fn @@ -280,7 +280,7 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%i32) [concrete = constants.%F.specific_fn.2f5] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%i32) [concrete = constants.%F.specific_fn.231] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%n.ref) // CHECK:STDOUT: return %F.call // CHECK:STDOUT: } @@ -291,7 +291,7 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %n.ref: %C.elem = name_ref n, @C.%.loc14 [concrete = @C.%.loc14] // CHECK:STDOUT: %.loc16_50.1: ref %i32 = class_element_access %self.ref, element0 // CHECK:STDOUT: %.loc16_50.2: %i32 = acquire_value %.loc16_50.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc16_50.1: = bound_method %.loc16_50.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_50.2: = bound_method %.loc16_50.2, %specific_fn @@ -303,7 +303,7 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %c.ref: %C = name_ref c, %c -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.e56] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.076] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%c.ref) // CHECK:STDOUT: return %F.call // CHECK:STDOUT: } @@ -315,22 +315,22 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%i32) { // CHECK:STDOUT: %T.loc4_16.1 => constants.%i32 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c6b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.104 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %.loc5_16.3 => constants.%inst.as_compatible.d12 -// CHECK:STDOUT: %.loc5_16.4 => constants.%inst.splice_block.55a +// CHECK:STDOUT: %.loc5_16.3 => constants.%inst.as_compatible.b1e +// CHECK:STDOUT: %.loc5_16.4 => constants.%inst.splice_block.c2e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%C) { // CHECK:STDOUT: %T.loc4_16.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9fa +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.059 -// CHECK:STDOUT: %.loc5_16.3 => constants.%inst.as_compatible.f1c -// CHECK:STDOUT: %.loc5_16.4 => constants.%inst.splice_block.8d3 +// CHECK:STDOUT: %require_complete => constants.%complete_type.edf +// CHECK:STDOUT: %.loc5_16.3 => constants.%inst.as_compatible.154 +// CHECK:STDOUT: %.loc5_16.4 => constants.%inst.splice_block.adc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_cannot_convert.carbon @@ -346,36 +346,36 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67db0b.1 [template] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.deb: type = pattern_type %D [concrete] +// CHECK:STDOUT: %pattern_type.f1a: type = pattern_type %D [concrete] // CHECK:STDOUT: %Test.type: type = fn_type @Test [concrete] // CHECK:STDOUT: %Test: %Test.type = struct_value () [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%D) [concrete] // CHECK:STDOUT: %inst.as_compatible: = inst_value [concrete] { -// CHECK:STDOUT: %.0e0: %D = as_compatible @F.%x.ref +// CHECK:STDOUT: %.e9f: %D = as_compatible @F.%x.ref // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %inst.splice_block: = inst_value [concrete] { -// CHECK:STDOUT: %.224: = splice_block [concrete = ] { -// CHECK:STDOUT: %.abe: %i32 = converted %.0e0, [concrete = ] +// CHECK:STDOUT: %.528: = splice_block [concrete = ] { +// CHECK:STDOUT: %.8e6: %i32 = converted %.e9f, [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -390,9 +390,9 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -407,11 +407,11 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0, template [concrete] // CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.51d1c4.1) = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.51d1c4.1) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc4 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc4 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc4: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_34: Core.Form = init_form %i32.loc4 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc4_34: Core.Form = init_form %i32.loc4 [concrete = constants.%.7ea] // CHECK:STDOUT: %.loc4_19.1: type = splice_block %.loc4_19.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc4_19.2: type = type_literal type [concrete = type] @@ -425,13 +425,13 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %D.decl: type = class_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: %Test.decl: %Test.type = fn_decl @Test [concrete = constants.%Test] { -// CHECK:STDOUT: %d.param_patt: %pattern_type.deb = value_param_pattern [concrete] -// CHECK:STDOUT: %d.patt: %pattern_type.deb = at_binding_pattern d, %d.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %d.param_patt: %pattern_type.f1a = value_param_pattern [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.f1a = at_binding_pattern d, %d.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc11: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc11: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %d.param: %D = value_param call_param0 // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] // CHECK:STDOUT: %d: %D = value_binding d, %d.param @@ -460,7 +460,7 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: fn(%x.param: @F.%T.loc4_16.1 (%T.67db0b.1)) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.ref: @F.%T.loc4_16.1 (%T.67db0b.1) = name_ref x, %x // CHECK:STDOUT: %i32.loc5: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -468,7 +468,7 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: %.loc5_16.2: %i32 = splice_inst %.loc5_16.4 // CHECK:STDOUT: %n: %i32 = value_binding n, %.loc5_16.2 // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc6_10.1: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %n.ref, %specific_fn @@ -493,7 +493,7 @@ fn Test(d: D) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%D) { // CHECK:STDOUT: %T.loc4_16.1 => constants.%D -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.deb +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f1a // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.357 diff --git a/toolchain/check/testdata/generic/template/member_access.carbon b/toolchain/check/testdata/generic/template/member_access.carbon index 6f3c92df2bcd..f3ca0a9473ac 100644 --- a/toolchain/check/testdata/generic/template/member_access.carbon +++ b/toolchain/check/testdata/generic/template/member_access.carbon @@ -98,56 +98,56 @@ fn Test(e: E) { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67db0b.1 [template] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %i32 [concrete] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n [concrete] -// CHECK:STDOUT: %pattern_type.602: type = pattern_type %C [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %Test1.type: type = fn_type @Test1 [concrete] // CHECK:STDOUT: %Test1: %Test1.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn.806: = specific_function %F, @F(%C) [concrete] +// CHECK:STDOUT: %F.specific_fn.076: = specific_function %F, @F(%C) [concrete] // CHECK:STDOUT: %struct_type.m.n: type = struct_type {.m: %i32, .n: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.134: type = pattern_type %struct_type.m.n [concrete] +// CHECK:STDOUT: %pattern_type.e32: type = pattern_type %struct_type.m.n [concrete] // CHECK:STDOUT: %Test2.type: type = fn_type @Test2 [concrete] // CHECK:STDOUT: %Test2: %Test2.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn.005: = specific_function %F, @F(%struct_type.m.n) [concrete] -// CHECK:STDOUT: %inst.as_compatible.f9d: = inst_value [concrete] { -// CHECK:STDOUT: %.492: %C = as_compatible @F.%x.ref +// CHECK:STDOUT: %F.specific_fn.c19: = specific_function %F, @F(%struct_type.m.n) [concrete] +// CHECK:STDOUT: %inst.as_compatible.154: = inst_value [concrete] { +// CHECK:STDOUT: %.719: %C = as_compatible @F.%x.ref // CHECK:STDOUT: } -// CHECK:STDOUT: %inst.splice_block.d90: = inst_value [concrete] { -// CHECK:STDOUT: %.1a1: %i32 = splice_block %.62d { +// CHECK:STDOUT: %inst.splice_block.05d: = inst_value [concrete] { +// CHECK:STDOUT: %.a14: %i32 = splice_block %.6f1 { // CHECK:STDOUT: %n.ref: %C.elem = name_ref n, @C.%.loc10 [concrete = @C.%.loc10] -// CHECK:STDOUT: %.bbb: ref %i32 = class_element_access %.492, element0 -// CHECK:STDOUT: %.62d: %i32 = acquire_value %.bbb +// CHECK:STDOUT: %.d41: ref %i32 = class_element_access %.719, element0 +// CHECK:STDOUT: %.6f1: %i32 = acquire_value %.d41 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %inst.splice_block.67f: = inst_value [concrete] { -// CHECK:STDOUT: %.33c: %i32 = splice_block %.1a1 {} +// CHECK:STDOUT: %inst.splice_block.955: = inst_value [concrete] { +// CHECK:STDOUT: %.6e9: %i32 = splice_block %.a14 {} // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type.23a: = complete_type_witness %struct_type.m.n [concrete] -// CHECK:STDOUT: %inst.as_compatible.a0e: = inst_value [concrete] { -// CHECK:STDOUT: %.e17: %struct_type.m.n = as_compatible @F.%x.ref +// CHECK:STDOUT: %complete_type.c44: = complete_type_witness %struct_type.m.n [concrete] +// CHECK:STDOUT: %inst.as_compatible.555: = inst_value [concrete] { +// CHECK:STDOUT: %.ebc: %struct_type.m.n = as_compatible @F.%x.ref // CHECK:STDOUT: } // CHECK:STDOUT: %inst.struct_access: = inst_value [concrete] { -// CHECK:STDOUT: %.5f3: %i32 = struct_access %.e17, element1 +// CHECK:STDOUT: %.fca: %i32 = struct_access %.ebc, element1 // CHECK:STDOUT: } -// CHECK:STDOUT: %inst.splice_block.5b7: = inst_value [concrete] { -// CHECK:STDOUT: %.d8a: %i32 = splice_block %.5f3 {} +// CHECK:STDOUT: %inst.splice_block.a2f: = inst_value [concrete] { +// CHECK:STDOUT: %.c4e: %i32 = splice_block %.fca {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -160,8 +160,8 @@ fn Test(e: E) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -177,11 +177,11 @@ fn Test(e: E) { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0, template [concrete] // CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.51d) = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.51d) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc4 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc4 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc4: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_34: Core.Form = init_form %i32.loc4 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc4_34: Core.Form = init_form %i32.loc4 [concrete = constants.%.7ea] // CHECK:STDOUT: %.loc4_19.1: type = splice_block %.loc4_19.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc4_19.2: type = type_literal type [concrete = type] @@ -195,16 +195,16 @@ fn Test(e: E) { // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %Test1.decl: %Test1.type = fn_decl @Test1 [concrete = constants.%Test1] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.602 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.602 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %c.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %c: %C = value_binding c, %c.param // CHECK:STDOUT: } // CHECK:STDOUT: %Test2.decl: %Test2.type = fn_decl @Test2 [concrete = constants.%Test2] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.134 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.134 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.e32 = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.e32 = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %x.param: %struct_type.m.n = value_param call_param0 // CHECK:STDOUT: %.loc17: type = splice_block %struct_type.m.n [concrete = constants.%struct_type.m.n] { @@ -218,7 +218,7 @@ fn Test(e: E) { // CHECK:STDOUT: // CHECK:STDOUT: class @C { // CHECK:STDOUT: %.loc10: %C.elem = field_decl n, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.059] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.edf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -240,7 +240,7 @@ fn Test(e: E) { // CHECK:STDOUT: fn(%x.param: @F.%T.loc4_16.1 (%T.67db0b.1)) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.ref: @F.%T.loc4_16.1 (%T.67db0b.1) = name_ref x, %x // CHECK:STDOUT: %.loc5_17.1: @F.%T.loc4_16.1 (%T.67db0b.1) = splice_inst %.loc5_17.4 @@ -249,7 +249,7 @@ fn Test(e: E) { // CHECK:STDOUT: %.loc5_17.3: %i32 = splice_inst %.loc5_17.7 // CHECK:STDOUT: %n: %i32 = value_binding n, %.loc5_17.3 // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc6_10.1: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %n.ref, %specific_fn @@ -262,7 +262,7 @@ fn Test(e: E) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %c.ref: %C = name_ref c, %c -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.806] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%C) [concrete = constants.%F.specific_fn.076] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%c.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -271,7 +271,7 @@ fn Test(e: E) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %x.ref: %struct_type.m.n = name_ref x, %x -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%struct_type.m.n) [concrete = constants.%F.specific_fn.005] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%struct_type.m.n) [concrete = constants.%F.specific_fn.c19] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%x.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -283,26 +283,26 @@ fn Test(e: E) { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%C) { // CHECK:STDOUT: %T.loc4_16.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.602 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.059 -// CHECK:STDOUT: %.loc5_17.4 => constants.%inst.as_compatible.f9d -// CHECK:STDOUT: %.loc5_17.5 => constants.%inst.splice_block.d90 +// CHECK:STDOUT: %require_complete => constants.%complete_type.edf +// CHECK:STDOUT: %.loc5_17.4 => constants.%inst.as_compatible.154 +// CHECK:STDOUT: %.loc5_17.5 => constants.%inst.splice_block.05d // CHECK:STDOUT: %.loc5_17.6 => constants.%i32 -// CHECK:STDOUT: %.loc5_17.7 => constants.%inst.splice_block.67f +// CHECK:STDOUT: %.loc5_17.7 => constants.%inst.splice_block.955 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%struct_type.m.n) { // CHECK:STDOUT: %T.loc4_16.1 => constants.%struct_type.m.n -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.134 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.23a -// CHECK:STDOUT: %.loc5_17.4 => constants.%inst.as_compatible.a0e +// CHECK:STDOUT: %require_complete => constants.%complete_type.c44 +// CHECK:STDOUT: %.loc5_17.4 => constants.%inst.as_compatible.555 // CHECK:STDOUT: %.loc5_17.5 => constants.%inst.struct_access // CHECK:STDOUT: %.loc5_17.6 => constants.%i32 -// CHECK:STDOUT: %.loc5_17.7 => constants.%inst.splice_block.5b7 +// CHECK:STDOUT: %.loc5_17.7 => constants.%inst.splice_block.a2f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_no_such_member.carbon @@ -318,31 +318,31 @@ fn Test(e: E) { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67db0b.1 [template] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %D.elem: type = unbound_element_type %D, %i32 [concrete] // CHECK:STDOUT: %struct_type.m: type = struct_type {.m: %i32} [concrete] -// CHECK:STDOUT: %complete_type.31e: = complete_type_witness %struct_type.m [concrete] -// CHECK:STDOUT: %pattern_type.bac: type = pattern_type %D [concrete] +// CHECK:STDOUT: %complete_type.49f: = complete_type_witness %struct_type.m [concrete] +// CHECK:STDOUT: %pattern_type.f1a: type = pattern_type %D [concrete] // CHECK:STDOUT: %Test.type: type = fn_type @Test [concrete] // CHECK:STDOUT: %Test: %Test.type = struct_value () [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%D) [concrete] // CHECK:STDOUT: %inst.as_compatible: = inst_value [concrete] { -// CHECK:STDOUT: %.05e: %D = as_compatible @F.%x.ref +// CHECK:STDOUT: %.e9f: %D = as_compatible @F.%x.ref // CHECK:STDOUT: } // CHECK:STDOUT: %inst.name_ref: = inst_value [concrete] { // CHECK:STDOUT: %n.ref: = name_ref n, [concrete = ] @@ -361,8 +361,8 @@ fn Test(e: E) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -377,11 +377,11 @@ fn Test(e: E) { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0, template [concrete] // CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.51d) = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.51d) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc4 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc4 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc4: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_34: Core.Form = init_form %i32.loc4 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc4_34: Core.Form = init_form %i32.loc4 [concrete = constants.%.7ea] // CHECK:STDOUT: %.loc4_19.1: type = splice_block %.loc4_19.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc4_19.2: type = type_literal type [concrete = type] @@ -395,8 +395,8 @@ fn Test(e: E) { // CHECK:STDOUT: } // CHECK:STDOUT: %D.decl: type = class_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: %Test.decl: %Test.type = fn_decl @Test [concrete = constants.%Test] { -// CHECK:STDOUT: %d.param_patt: %pattern_type.bac = value_param_pattern [concrete] -// CHECK:STDOUT: %d.patt: %pattern_type.bac = at_binding_pattern d, %d.param_patt [concrete] +// CHECK:STDOUT: %d.param_patt: %pattern_type.f1a = value_param_pattern [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.f1a = at_binding_pattern d, %d.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %d.param: %D = value_param call_param0 // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] @@ -406,7 +406,7 @@ fn Test(e: E) { // CHECK:STDOUT: // CHECK:STDOUT: class @D { // CHECK:STDOUT: %.loc10: %D.elem = field_decl m, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.m [concrete = constants.%complete_type.31e] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.m [concrete = constants.%complete_type.49f] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -429,7 +429,7 @@ fn Test(e: E) { // CHECK:STDOUT: fn(%x.param: @F.%T.loc4_16.1 (%T.67db0b.1)) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.ref: @F.%T.loc4_16.1 (%T.67db0b.1) = name_ref x, %x // CHECK:STDOUT: %.loc5_17.1: @F.%T.loc4_16.1 (%T.67db0b.1) = splice_inst %.loc5_17.4 @@ -438,7 +438,7 @@ fn Test(e: E) { // CHECK:STDOUT: %.loc5_17.3: %i32 = splice_inst %.loc5_17.7 // CHECK:STDOUT: %n: %i32 = value_binding n, %.loc5_17.3 // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc6_10.1: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %n.ref, %specific_fn @@ -463,10 +463,10 @@ fn Test(e: E) { // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%D) { // CHECK:STDOUT: %T.loc4_16.1 => constants.%D -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bac +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f1a // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.31e +// CHECK:STDOUT: %require_complete => constants.%complete_type.49f // CHECK:STDOUT: %.loc5_17.4 => constants.%inst.as_compatible // CHECK:STDOUT: %.loc5_17.5 => constants.%inst.name_ref // CHECK:STDOUT: %.loc5_17.6 => @@ -486,47 +486,47 @@ fn Test(e: E) { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F.loc4 [concrete] -// CHECK:STDOUT: %F.644: %F.type = struct_value () [concrete] +// CHECK:STDOUT: %F.736: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67db0b.1 [template] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %E: type = class_type @E [concrete] -// CHECK:STDOUT: %F.77c: type = class_type @F.loc10 [concrete] +// CHECK:STDOUT: %F.35a: type = class_type @F.loc10 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %E.elem: type = unbound_element_type %E, %F.77c [concrete] -// CHECK:STDOUT: %struct_type.n.532: type = struct_type {.n: %F.77c} [concrete] -// CHECK:STDOUT: %complete_type.094: = complete_type_witness %struct_type.n.532 [concrete] -// CHECK:STDOUT: %pattern_type.496: type = pattern_type %E [concrete] +// CHECK:STDOUT: %E.elem: type = unbound_element_type %E, %F.35a [concrete] +// CHECK:STDOUT: %struct_type.n.2b6: type = struct_type {.n: %F.35a} [concrete] +// CHECK:STDOUT: %complete_type.196: = complete_type_witness %struct_type.n.2b6 [concrete] +// CHECK:STDOUT: %pattern_type.ee7: type = pattern_type %E [concrete] // CHECK:STDOUT: %Test.type: type = fn_type @Test [concrete] // CHECK:STDOUT: %Test: %Test.type = struct_value () [concrete] -// CHECK:STDOUT: %F.specific_fn: = specific_function %F.644, @F.loc4(%E) [concrete] +// CHECK:STDOUT: %F.specific_fn: = specific_function %F.736, @F.loc4(%E) [concrete] // CHECK:STDOUT: %inst.as_compatible: = inst_value [concrete] { -// CHECK:STDOUT: %.013: %E = as_compatible @F.loc4.%x.ref +// CHECK:STDOUT: %.2ad: %E = as_compatible @F.loc4.%x.ref // CHECK:STDOUT: } -// CHECK:STDOUT: %inst.splice_block.fb3: = inst_value [concrete] { -// CHECK:STDOUT: %.fbd: %F.77c = splice_block %.d22 { +// CHECK:STDOUT: %inst.splice_block.787: = inst_value [concrete] { +// CHECK:STDOUT: %.9c4: %F.35a = splice_block %.86a { // CHECK:STDOUT: %n.ref: %E.elem = name_ref n, @E.%.loc11 [concrete = @E.%.loc11] -// CHECK:STDOUT: %.3bf: ref %F.77c = class_element_access %.013, element0 -// CHECK:STDOUT: %.d22: %F.77c = acquire_value %.3bf +// CHECK:STDOUT: %.7cc: ref %F.35a = class_element_access %.2ad, element0 +// CHECK:STDOUT: %.86a: %F.35a = acquire_value %.7cc // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %inst.splice_block.67b: = inst_value [concrete] { -// CHECK:STDOUT: %.932: = splice_block [concrete = ] { -// CHECK:STDOUT: %.a92: %i32 = converted %.fbd, [concrete = ] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %inst.splice_block.8dc: = inst_value [concrete] { +// CHECK:STDOUT: %.788: = splice_block [concrete = ] { +// CHECK:STDOUT: %.0d8: %i32 = converted %.9c4, [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -541,9 +541,9 @@ fn Test(e: E) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -554,15 +554,15 @@ fn Test(e: E) { // CHECK:STDOUT: .Test = %Test.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F.loc4 [concrete = constants.%F.644] { +// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F.loc4 [concrete = constants.%F.736] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0, template [concrete] // CHECK:STDOUT: %x.param_patt: @F.loc4.%pattern_type (%pattern_type.51d1c4.1) = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: @F.loc4.%pattern_type (%pattern_type.51d1c4.1) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc4 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc4 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc4: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_34: Core.Form = init_form %i32.loc4 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc4_34: Core.Form = init_form %i32.loc4 [concrete = constants.%.7ea] // CHECK:STDOUT: %.loc4_19.1: type = splice_block %.loc4_19.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc4_19.2: type = type_literal type [concrete = type] @@ -576,8 +576,8 @@ fn Test(e: E) { // CHECK:STDOUT: } // CHECK:STDOUT: %E.decl: type = class_decl @E [concrete = constants.%E] {} {} // CHECK:STDOUT: %Test.decl: %Test.type = fn_decl @Test [concrete = constants.%Test] { -// CHECK:STDOUT: %e.param_patt: %pattern_type.496 = value_param_pattern [concrete] -// CHECK:STDOUT: %e.patt: %pattern_type.496 = at_binding_pattern e, %e.param_patt [concrete] +// CHECK:STDOUT: %e.param_patt: %pattern_type.ee7 = value_param_pattern [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.ee7 = at_binding_pattern e, %e.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %e.param: %E = value_param call_param0 // CHECK:STDOUT: %E.ref: type = name_ref E, file.%E.decl [concrete = constants.%E] @@ -586,9 +586,9 @@ fn Test(e: E) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @E { -// CHECK:STDOUT: %F.decl: type = class_decl @F.loc10 [concrete = constants.%F.77c] {} {} +// CHECK:STDOUT: %F.decl: type = class_decl @F.loc10 [concrete = constants.%F.35a] {} {} // CHECK:STDOUT: %.loc11: %E.elem = field_decl n, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n.532 [concrete = constants.%complete_type.094] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n.2b6 [concrete = constants.%complete_type.196] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -602,7 +602,7 @@ fn Test(e: E) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%F.77c +// CHECK:STDOUT: .Self = constants.%F.35a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F.loc4(%T.loc4_16.2: type) { @@ -619,7 +619,7 @@ fn Test(e: E) { // CHECK:STDOUT: fn(%x.param: @F.loc4.%T.loc4_16.1 (%T.67db0b.1)) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.ref: @F.loc4.%T.loc4_16.1 (%T.67db0b.1) = name_ref x, %x // CHECK:STDOUT: %.loc5_17.1: @F.loc4.%T.loc4_16.1 (%T.67db0b.1) = splice_inst %.loc5_17.4 @@ -628,7 +628,7 @@ fn Test(e: E) { // CHECK:STDOUT: %.loc5_17.3: %i32 = splice_inst %.loc5_17.7 // CHECK:STDOUT: %n: %i32 = value_binding n, %.loc5_17.3 // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc6_10.1: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %n.ref, %specific_fn @@ -639,7 +639,7 @@ fn Test(e: E) { // CHECK:STDOUT: // CHECK:STDOUT: fn @Test(%e.param: %E) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F.644] +// CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F.736] // CHECK:STDOUT: %e.ref: %E = name_ref e, %e // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F.loc4(constants.%E) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %i32 = call %F.specific_fn(%e.ref) @@ -653,13 +653,13 @@ fn Test(e: E) { // CHECK:STDOUT: // CHECK:STDOUT: specific @F.loc4(constants.%E) { // CHECK:STDOUT: %T.loc4_16.1 => constants.%E -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.496 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ee7 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.094 +// CHECK:STDOUT: %require_complete => constants.%complete_type.196 // CHECK:STDOUT: %.loc5_17.4 => constants.%inst.as_compatible -// CHECK:STDOUT: %.loc5_17.5 => constants.%inst.splice_block.fb3 -// CHECK:STDOUT: %.loc5_17.6 => constants.%F.77c -// CHECK:STDOUT: %.loc5_17.7 => constants.%inst.splice_block.67b +// CHECK:STDOUT: %.loc5_17.5 => constants.%inst.splice_block.787 +// CHECK:STDOUT: %.loc5_17.6 => constants.%F.35a +// CHECK:STDOUT: %.loc5_17.7 => constants.%inst.splice_block.8dc // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/generic/template/unimplemented.carbon b/toolchain/check/testdata/generic/template/unimplemented.carbon index f1862be9f841..0838132f4015 100644 --- a/toolchain/check/testdata/generic/template/unimplemented.carbon +++ b/toolchain/check/testdata/generic/template/unimplemented.carbon @@ -82,14 +82,14 @@ fn F[template T:! Core.Destroy](x: T) { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [template] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %MulWith.type.ea7: type = generic_interface_type @MulWith [concrete] -// CHECK:STDOUT: %MulWith.generic: %MulWith.type.ea7 = struct_value () [concrete] +// CHECK:STDOUT: %MulWith.type.407: type = generic_interface_type @MulWith [concrete] +// CHECK:STDOUT: %MulWith.generic: %MulWith.type.407 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -100,7 +100,7 @@ fn F[template T:! Core.Destroy](x: T) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.MulWith: %MulWith.type.ea7 = import_ref Core//prelude/operators/arithmetic, MulWith, loaded [concrete = constants.%MulWith.generic] +// CHECK:STDOUT: %Core.MulWith: %MulWith.type.407 = import_ref Core//prelude/operators/arithmetic, MulWith, loaded [concrete = constants.%MulWith.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -113,11 +113,11 @@ fn F[template T:! Core.Destroy](x: T) { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0, template [concrete] // CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.51d1c4.1) = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.51d1c4.1) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6_34: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc6_34: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %.loc6_19.1: type = splice_block %.loc6_19.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %.loc6_19.2: type = type_literal type [concrete = type] @@ -164,20 +164,20 @@ fn F[template T:! Core.Destroy](x: T) { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %i32 [concrete] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.805: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %c: %C = symbolic_binding c, 0, template [template] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %MulWith.type.ea7: type = generic_interface_type @MulWith [concrete] -// CHECK:STDOUT: %MulWith.generic: %MulWith.type.ea7 = struct_value () [concrete] +// CHECK:STDOUT: %MulWith.type.407: type = generic_interface_type @MulWith [concrete] +// CHECK:STDOUT: %MulWith.generic: %MulWith.type.407 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -188,7 +188,7 @@ fn F[template T:! Core.Destroy](x: T) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.MulWith: %MulWith.type.ea7 = import_ref Core//prelude/operators/arithmetic, MulWith, loaded [concrete = constants.%MulWith.generic] +// CHECK:STDOUT: %Core.MulWith: %MulWith.type.407 = import_ref Core//prelude/operators/arithmetic, MulWith, loaded [concrete = constants.%MulWith.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -200,12 +200,12 @@ fn F[template T:! Core.Destroy](x: T) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %c.patt: %pattern_type.805 = symbolic_binding_pattern c, 0, template [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = symbolic_binding_pattern c, 0, template [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc11_25: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc11_25: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %.loc11_19: type = splice_block %C.ref [concrete = constants.%C] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] @@ -218,7 +218,7 @@ fn F[template T:! Core.Destroy](x: T) { // CHECK:STDOUT: // CHECK:STDOUT: class @C { // CHECK:STDOUT: %.loc5: %C.elem = field_decl n, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.059] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.edf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -252,31 +252,31 @@ fn F[template T:! Core.Destroy](x: T) { // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %pattern_type.785: type = pattern_type %Destroy.type [concrete] -// CHECK:STDOUT: %T.1e6: %Destroy.type = symbolic_binding T, 0, template [template] -// CHECK:STDOUT: %T.as_type.5e0: type = facet_access_type %T.1e6 [template] -// CHECK:STDOUT: %pattern_type.5eec30.2: type = pattern_type %T.as_type.5e0 [template] +// CHECK:STDOUT: %pattern_type.376: type = pattern_type %Destroy.type [concrete] +// CHECK:STDOUT: %T.c66: %Destroy.type = symbolic_binding T, 0, template [template] +// CHECK:STDOUT: %T.as_type.7e7: type = facet_access_type %T.c66 [template] +// CHECK:STDOUT: %pattern_type.227a41.2: type = pattern_type %T.as_type.7e7 [template] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.4d8: = require_complete_type %T.as_type.5e0 [template] +// CHECK:STDOUT: %require_complete.9df: = require_complete_type %T.as_type.7e7 [template] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.905: type = facet_type <@ImplicitAs, @ImplicitAs(%T.as_type.5e0)> [template] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.a07: type = facet_type <@ImplicitAs, @ImplicitAs(%T.as_type.7e7)> [template] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc22_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %T.1e6, @Destroy [template] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.12b49e.2: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%T.1e6) [template] -// CHECK:STDOUT: %.9c3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.12b49e.2, %T.1e6 [template] -// CHECK:STDOUT: %impl.elem0.8bd: %.9c3 = impl_witness_access %Destroy.lookup_impl_witness, element0 [template] -// CHECK:STDOUT: %specific_impl_fn.8dd: = specific_impl_function %impl.elem0.8bd, @Destroy.WithSelf.Op(%T.1e6) [template] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc22_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %T.c66, @Destroy [template] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.6304ea.2: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%T.c66) [template] +// CHECK:STDOUT: %.543: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.6304ea.2, %T.c66 [template] +// CHECK:STDOUT: %impl.elem0.531: %.543 = impl_witness_access %Destroy.lookup_impl_witness, element0 [template] +// CHECK:STDOUT: %specific_impl_fn.010: = specific_impl_function %impl.elem0.531, @Destroy.WithSelf.Op(%T.c66) [template] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -288,7 +288,7 @@ fn F[template T:! Core.Destroy](x: T) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -299,75 +299,75 @@ fn F[template T:! Core.Destroy](x: T) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt: %pattern_type.785 = symbolic_binding_pattern T, 0, template [concrete] -// CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.5eec30.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.5eec30.2) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.376 = symbolic_binding_pattern T, 0, template [concrete] +// CHECK:STDOUT: %x.param_patt: @F.%pattern_type (%pattern_type.227a41.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.227a41.2) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_23: type = splice_block %Destroy.ref [concrete = constants.%Destroy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Destroy.ref: type = name_ref Destroy, imports.%Core.Destroy [concrete = constants.%Destroy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc4_16.2: %Destroy.type = symbolic_binding T, 0, template [template = %T.loc4_16.1 (constants.%T.1e6)] -// CHECK:STDOUT: %x.param: @F.%T.as_type.loc4_36.1 (%T.as_type.5e0) = value_param call_param0 -// CHECK:STDOUT: %.loc4_36.1: type = splice_block %.loc4_36.2 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.5e0)] { -// CHECK:STDOUT: %T.ref.loc4: %Destroy.type = name_ref T, %T.loc4_16.2 [template = %T.loc4_16.1 (constants.%T.1e6)] -// CHECK:STDOUT: %T.as_type.loc4_36.2: type = facet_access_type %T.ref.loc4 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.5e0)] -// CHECK:STDOUT: %.loc4_36.2: type = converted %T.ref.loc4, %T.as_type.loc4_36.2 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.5e0)] +// CHECK:STDOUT: %T.loc4_16.2: %Destroy.type = symbolic_binding T, 0, template [template = %T.loc4_16.1 (constants.%T.c66)] +// CHECK:STDOUT: %x.param: @F.%T.as_type.loc4_36.1 (%T.as_type.7e7) = value_param call_param0 +// CHECK:STDOUT: %.loc4_36.1: type = splice_block %.loc4_36.2 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.7e7)] { +// CHECK:STDOUT: %T.ref.loc4: %Destroy.type = name_ref T, %T.loc4_16.2 [template = %T.loc4_16.1 (constants.%T.c66)] +// CHECK:STDOUT: %T.as_type.loc4_36.2: type = facet_access_type %T.ref.loc4 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.7e7)] +// CHECK:STDOUT: %.loc4_36.2: type = converted %T.ref.loc4, %T.as_type.loc4_36.2 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.7e7)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @F.%T.as_type.loc4_36.1 (%T.as_type.5e0) = value_binding x, %x.param +// CHECK:STDOUT: %x: @F.%T.as_type.loc4_36.1 (%T.as_type.7e7) = value_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc4_16.2: %Destroy.type) { -// CHECK:STDOUT: %T.loc4_16.1: %Destroy.type = symbolic_binding T, 0, template [template = %T.loc4_16.1 (constants.%T.1e6)] -// CHECK:STDOUT: %T.as_type.loc4_36.1: type = facet_access_type %T.loc4_16.1 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.5e0)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc4_36.1 [template = %pattern_type (constants.%pattern_type.5eec30.2)] +// CHECK:STDOUT: %T.loc4_16.1: %Destroy.type = symbolic_binding T, 0, template [template = %T.loc4_16.1 (constants.%T.c66)] +// CHECK:STDOUT: %T.as_type.loc4_36.1: type = facet_access_type %T.loc4_16.1 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.7e7)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc4_36.1 [template = %pattern_type (constants.%pattern_type.227a41.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc4_36.1 [template = %require_complete (constants.%require_complete.4d8)] -// CHECK:STDOUT: %ImplicitAs.type.loc14_3.2: type = facet_type <@ImplicitAs, @ImplicitAs(%T.as_type.loc4_36.1)> [template = %ImplicitAs.type.loc14_3.2 (constants.%ImplicitAs.type.905)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc4_36.1 [template = %require_complete (constants.%require_complete.9df)] +// CHECK:STDOUT: %ImplicitAs.type.loc14_3.2: type = facet_type <@ImplicitAs, @ImplicitAs(%T.as_type.loc4_36.1)> [template = %ImplicitAs.type.loc14_3.2 (constants.%ImplicitAs.type.a07)] // CHECK:STDOUT: %.loc14_3.3: = access_member_action %ImplicitAs.type.loc14_3.1, Convert [template] // CHECK:STDOUT: %.loc14_3.4: type = type_of_inst %.loc14_3.3 [template] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%T.loc4_16.1) [template = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.12b49e.2)] -// CHECK:STDOUT: %.loc14_3.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %T.loc4_16.1 [template = %.loc14_3.5 (constants.%.9c3)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%T.loc4_16.1) [template = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.6304ea.2)] +// CHECK:STDOUT: %.loc14_3.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %T.loc4_16.1 [template = %.loc14_3.5 (constants.%.543)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %T.loc4_16.1, @Destroy [template = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc14_3.2: @F.%.loc14_3.5 (%.9c3) = impl_witness_access %Destroy.lookup_impl_witness, element0 [template = %impl.elem0.loc14_3.2 (constants.%impl.elem0.8bd)] -// CHECK:STDOUT: %specific_impl_fn.loc14_3.2: = specific_impl_function %impl.elem0.loc14_3.2, @Destroy.WithSelf.Op(%T.loc4_16.1) [template = %specific_impl_fn.loc14_3.2 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %impl.elem0.loc14_3.2: @F.%.loc14_3.5 (%.543) = impl_witness_access %Destroy.lookup_impl_witness, element0 [template = %impl.elem0.loc14_3.2 (constants.%impl.elem0.531)] +// CHECK:STDOUT: %specific_impl_fn.loc14_3.2: = specific_impl_function %impl.elem0.loc14_3.2, @Destroy.WithSelf.Op(%T.loc4_16.1) [template = %specific_impl_fn.loc14_3.2 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @F.%T.as_type.loc4_36.1 (%T.as_type.5e0)) { +// CHECK:STDOUT: fn(%x.param: @F.%T.as_type.loc4_36.1 (%T.as_type.7e7)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: @F.%pattern_type (%pattern_type.5eec30.2) = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: @F.%pattern_type (%pattern_type.5eec30.2) = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: @F.%pattern_type (%pattern_type.227a41.2) = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: @F.%pattern_type (%pattern_type.227a41.2) = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref @F.%T.as_type.loc4_36.1 (%T.as_type.5e0) = var %v.var_patt +// CHECK:STDOUT: %v.var: ref @F.%T.as_type.loc4_36.1 (%T.as_type.7e7) = var %v.var_patt // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %ImplicitAs.type.loc14_3.1: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%T.as_type.5e0)> [template = %ImplicitAs.type.loc14_3.2 (constants.%ImplicitAs.type.905)] +// CHECK:STDOUT: %ImplicitAs.type.loc14_3.1: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%T.as_type.7e7)> [template = %ImplicitAs.type.loc14_3.2 (constants.%ImplicitAs.type.a07)] // CHECK:STDOUT: %.loc14_3.1: @F.%.loc14_3.4 (@F.%.loc14_3.4) = splice_inst %.loc14_3.3 -// CHECK:STDOUT: %.loc14_3.2: @F.%T.as_type.loc4_36.1 (%T.as_type.5e0) = converted %int_0, [concrete = ] +// CHECK:STDOUT: %.loc14_3.2: @F.%T.as_type.loc4_36.1 (%T.as_type.7e7) = converted %int_0, [concrete = ] // CHECK:STDOUT: assign %v.var, -// CHECK:STDOUT: %.loc14_17.1: type = splice_block %.loc14_17.2 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.5e0)] { -// CHECK:STDOUT: %T.ref.loc14: %Destroy.type = name_ref T, %T.loc4_16.2 [template = %T.loc4_16.1 (constants.%T.1e6)] -// CHECK:STDOUT: %T.as_type.loc14: type = facet_access_type %T.ref.loc14 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.5e0)] -// CHECK:STDOUT: %.loc14_17.2: type = converted %T.ref.loc14, %T.as_type.loc14 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.5e0)] +// CHECK:STDOUT: %.loc14_17.1: type = splice_block %.loc14_17.2 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.7e7)] { +// CHECK:STDOUT: %T.ref.loc14: %Destroy.type = name_ref T, %T.loc4_16.2 [template = %T.loc4_16.1 (constants.%T.c66)] +// CHECK:STDOUT: %T.as_type.loc14: type = facet_access_type %T.ref.loc14 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.7e7)] +// CHECK:STDOUT: %.loc14_17.2: type = converted %T.ref.loc14, %T.as_type.loc14 [template = %T.as_type.loc4_36.1 (constants.%T.as_type.7e7)] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref @F.%T.as_type.loc4_36.1 (%T.as_type.5e0) = ref_binding v, %v.var +// CHECK:STDOUT: %v: ref @F.%T.as_type.loc4_36.1 (%T.as_type.7e7) = ref_binding v, %v.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: %pattern_type.c6b = ref_binding_pattern w [concrete] -// CHECK:STDOUT: %w.var_patt: %pattern_type.c6b = var_pattern %w.patt [concrete] +// CHECK:STDOUT: %w.patt: %pattern_type.104 = ref_binding_pattern w [concrete] +// CHECK:STDOUT: %w.var_patt: %pattern_type.104 = var_pattern %w.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %w.var: ref %i32 = var %w.var_patt -// CHECK:STDOUT: %x.ref: @F.%T.as_type.loc4_36.1 (%T.as_type.5e0) = name_ref x, %x +// CHECK:STDOUT: %x.ref: @F.%T.as_type.loc4_36.1 (%T.as_type.7e7) = name_ref x, %x // CHECK:STDOUT: %.loc22: %i32 = converted %x.ref, [concrete = ] // CHECK:STDOUT: assign %w.var, // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %w: ref %i32 = ref_binding w, %w.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %w.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %w.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%w.var) -// CHECK:STDOUT: %impl.elem0.loc14_3.1: @F.%.loc14_3.5 (%.9c3) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [template = %impl.elem0.loc14_3.2 (constants.%impl.elem0.8bd)] +// CHECK:STDOUT: %impl.elem0.loc14_3.1: @F.%.loc14_3.5 (%.543) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [template = %impl.elem0.loc14_3.2 (constants.%impl.elem0.531)] // CHECK:STDOUT: %bound_method.loc14_3.1: = bound_method %v.var, %impl.elem0.loc14_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc14_3.1: = specific_impl_function %impl.elem0.loc14_3.1, @Destroy.WithSelf.Op(constants.%T.1e6) [template = %specific_impl_fn.loc14_3.2 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %specific_impl_fn.loc14_3.1: = specific_impl_function %impl.elem0.loc14_3.1, @Destroy.WithSelf.Op(constants.%T.c66) [template = %specific_impl_fn.loc14_3.2 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: %bound_method.loc14_3.2: = bound_method %v.var, %specific_impl_fn.loc14_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc14_3.2(%v.var) // CHECK:STDOUT: return @@ -381,9 +381,9 @@ fn F[template T:! Core.Destroy](x: T) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.1e6) { -// CHECK:STDOUT: %T.loc4_16.1 => constants.%T.1e6 -// CHECK:STDOUT: %T.as_type.loc4_36.1 => constants.%T.as_type.5e0 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5eec30.2 +// CHECK:STDOUT: specific @F(constants.%T.c66) { +// CHECK:STDOUT: %T.loc4_16.1 => constants.%T.c66 +// CHECK:STDOUT: %T.as_type.loc4_36.1 => constants.%T.as_type.7e7 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.227a41.2 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/generic/template_dependence.carbon b/toolchain/check/testdata/generic/template_dependence.carbon index b298f2957d1a..1fd5799f301a 100644 --- a/toolchain/check/testdata/generic/template_dependence.carbon +++ b/toolchain/check/testdata/generic/template_dependence.carbon @@ -47,13 +47,13 @@ fn F(template T:! type, U:! type) -> (T, U) { // CHECK:STDOUT: %require_complete.fbe: = require_complete_type %ptr.125 [template] // CHECK:STDOUT: %require_complete.ef162c.1: = require_complete_type %ptr.e8f8f9.1 [template] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.lookup_impl_witness.5be: = lookup_impl_witness %ptr.e8f8f9.1, @Copy [template] -// CHECK:STDOUT: %.546: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67db0b.1) [template] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e8f8f9.1, (%Copy.lookup_impl_witness.5be) [template] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a8e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [template] -// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a8e, %Copy.facet [template] -// CHECK:STDOUT: %impl.elem0.480: %.86b = impl_witness_access %Copy.lookup_impl_witness.5be, element0 [template] -// CHECK:STDOUT: %specific_impl_fn.d1f: = specific_impl_function %impl.elem0.480, @Copy.WithSelf.Op(%Copy.facet) [template] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2bf: = lookup_impl_witness %ptr.e8f8f9.1, @Copy [template] +// CHECK:STDOUT: %.b6a: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67db0b.1) [template] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e8f8f9.1, (%Copy.lookup_impl_witness.2bf) [template] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.72b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [template] +// CHECK:STDOUT: %.39b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72b, %Copy.facet [template] +// CHECK:STDOUT: %impl.elem0.8a3: %.39b = impl_witness_access %Copy.lookup_impl_witness.2bf, element0 [template] +// CHECK:STDOUT: %specific_impl_fn.a13: = specific_impl_function %impl.elem0.8a3, @Copy.WithSelf.Op(%Copy.facet) [template] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -95,22 +95,22 @@ fn F(template T:! type, U:! type) -> (T, U) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc5_26: = require_complete_type %ptr.loc5_30.1 [template = %require_complete.loc5_26 (constants.%require_complete.fbe)] // CHECK:STDOUT: %require_complete.loc5_33: = require_complete_type %ptr.loc5_29.1 [template = %require_complete.loc5_33 (constants.%require_complete.ef162c.1)] -// CHECK:STDOUT: %.loc6_10.3: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc5_16.1) [template = %.loc6_10.3 (constants.%.546)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc5_29.1, @Copy [template = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.5be)] +// CHECK:STDOUT: %.loc6_10.3: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc5_16.1) [template = %.loc6_10.3 (constants.%.b6a)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc5_29.1, @Copy [template = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2bf)] // CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc5_29.1, (%Copy.lookup_impl_witness) [template = %Copy.facet (constants.%Copy.facet)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [template = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.a8e)] -// CHECK:STDOUT: %.loc6_10.4: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [template = %.loc6_10.4 (constants.%.86b)] -// CHECK:STDOUT: %impl.elem0.loc6_10.2: @F.%.loc6_10.4 (%.86b) = impl_witness_access %Copy.lookup_impl_witness, element0 [template = %impl.elem0.loc6_10.2 (constants.%impl.elem0.480)] -// CHECK:STDOUT: %specific_impl_fn.loc6_10.2: = specific_impl_function %impl.elem0.loc6_10.2, @Copy.WithSelf.Op(%Copy.facet) [template = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.d1f)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [template = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.72b)] +// CHECK:STDOUT: %.loc6_10.4: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [template = %.loc6_10.4 (constants.%.39b)] +// CHECK:STDOUT: %impl.elem0.loc6_10.2: @F.%.loc6_10.4 (%.39b) = impl_witness_access %Copy.lookup_impl_witness, element0 [template = %impl.elem0.loc6_10.2 (constants.%impl.elem0.8a3)] +// CHECK:STDOUT: %specific_impl_fn.loc6_10.2: = specific_impl_function %impl.elem0.loc6_10.2, @Copy.WithSelf.Op(%Copy.facet) [template = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @F.%ptr.loc5_30.1 (%ptr.125)) -> out %return.param: @F.%ptr.loc5_29.1 (%ptr.e8f8f9.1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: @F.%ptr.loc5_30.1 (%ptr.125) = name_ref x, %x // CHECK:STDOUT: %.loc6_10.1: ref @F.%ptr.loc5_29.1 (%ptr.e8f8f9.1) = deref %x.ref // CHECK:STDOUT: %.loc6_10.2: @F.%ptr.loc5_29.1 (%ptr.e8f8f9.1) = acquire_value %.loc6_10.1 -// CHECK:STDOUT: %impl.elem0.loc6_10.1: @F.%.loc6_10.4 (%.86b) = impl_witness_access constants.%Copy.lookup_impl_witness.5be, element0 [template = %impl.elem0.loc6_10.2 (constants.%impl.elem0.480)] +// CHECK:STDOUT: %impl.elem0.loc6_10.1: @F.%.loc6_10.4 (%.39b) = impl_witness_access constants.%Copy.lookup_impl_witness.2bf, element0 [template = %impl.elem0.loc6_10.2 (constants.%impl.elem0.8a3)] // CHECK:STDOUT: %bound_method.loc6_10.1: = bound_method %.loc6_10.2, %impl.elem0.loc6_10.1 -// CHECK:STDOUT: %specific_impl_fn.loc6_10.1: = specific_impl_function %impl.elem0.loc6_10.1, @Copy.WithSelf.Op(constants.%Copy.facet) [template = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.d1f)] +// CHECK:STDOUT: %specific_impl_fn.loc6_10.1: = specific_impl_function %impl.elem0.loc6_10.1, @Copy.WithSelf.Op(constants.%Copy.facet) [template = %specific_impl_fn.loc6_10.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %.loc6_10.2, %specific_impl_fn.loc6_10.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr.loc5_29.1 (%ptr.e8f8f9.1) = call %bound_method.loc6_10.2(%.loc6_10.2) // CHECK:STDOUT: return %Copy.WithSelf.Op.call diff --git a/toolchain/check/testdata/generic/var_param.carbon b/toolchain/check/testdata/generic/var_param.carbon index 3fc27921bce7..dcc9cfcb9f45 100644 --- a/toolchain/check/testdata/generic/var_param.carbon +++ b/toolchain/check/testdata/generic/var_param.carbon @@ -37,69 +37,69 @@ fn Test(x: i32) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @i32.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %i32, (%I.impl_witness) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.b21: type = pattern_type %I.type [concrete] -// CHECK:STDOUT: %T.74b: %I.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.69c: type = facet_access_type %T.74b [symbolic] -// CHECK:STDOUT: %pattern_type.407: type = pattern_type %T.as_type.69c [symbolic] +// CHECK:STDOUT: %pattern_type.998: type = pattern_type %I.type [concrete] +// CHECK:STDOUT: %T.2e1: %I.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.a70: type = facet_access_type %T.2e1 [symbolic] +// CHECK:STDOUT: %pattern_type.3df: type = pattern_type %T.as_type.a70 [symbolic] // CHECK:STDOUT: %TestOp.type: type = fn_type @TestOp [concrete] // CHECK:STDOUT: %TestOp: %TestOp.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.a51: = require_complete_type %T.as_type.69c [symbolic] +// CHECK:STDOUT: %require_complete.0f1: = require_complete_type %T.as_type.a70 [symbolic] // CHECK:STDOUT: %TestOp.specific_fn: = specific_function %TestOp, @TestOp(%I.facet) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc22_25.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc22_25.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %TestOp.decl: %TestOp.type = fn_decl @TestOp [concrete = constants.%TestOp] { -// CHECK:STDOUT: %T.patt: %pattern_type.b21 = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.patt: @TestOp.%pattern_type (%pattern_type.407) = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.param_patt: @TestOp.%pattern_type (%pattern_type.407) = var_param_pattern %x.patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.998 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.patt: @TestOp.%pattern_type (%pattern_type.3df) = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.param_patt: @TestOp.%pattern_type (%pattern_type.3df) = var_param_pattern %x.patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc22_15: type = splice_block %I.ref [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc22_12.2: %I.type = symbolic_binding T, 0 [symbolic = %T.loc22_12.1 (constants.%T.74b)] -// CHECK:STDOUT: %x.param: ref @TestOp.%T.as_type.loc22_32.1 (%T.as_type.69c) = ref_param call_param0 -// CHECK:STDOUT: %.loc22_32.1: type = splice_block %.loc22_32.2 [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.69c)] { -// CHECK:STDOUT: %T.ref: %I.type = name_ref T, %T.loc22_12.2 [symbolic = %T.loc22_12.1 (constants.%T.74b)] -// CHECK:STDOUT: %T.as_type.loc22_32.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.69c)] -// CHECK:STDOUT: %.loc22_32.2: type = converted %T.ref, %T.as_type.loc22_32.2 [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.69c)] +// CHECK:STDOUT: %T.loc22_12.2: %I.type = symbolic_binding T, 0 [symbolic = %T.loc22_12.1 (constants.%T.2e1)] +// CHECK:STDOUT: %x.param: ref @TestOp.%T.as_type.loc22_32.1 (%T.as_type.a70) = ref_param call_param0 +// CHECK:STDOUT: %.loc22_32.1: type = splice_block %.loc22_32.2 [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.a70)] { +// CHECK:STDOUT: %T.ref: %I.type = name_ref T, %T.loc22_12.2 [symbolic = %T.loc22_12.1 (constants.%T.2e1)] +// CHECK:STDOUT: %T.as_type.loc22_32.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.a70)] +// CHECK:STDOUT: %.loc22_32.2: type = converted %T.ref, %T.as_type.loc22_32.2 [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.a70)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: ref @TestOp.%T.as_type.loc22_32.1 (%T.as_type.69c) = ref_binding x, %x.param +// CHECK:STDOUT: %x: ref @TestOp.%T.as_type.loc22_32.1 (%T.as_type.a70) = ref_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @TestOp(%T.loc22_12.2: %I.type) { -// CHECK:STDOUT: %T.loc22_12.1: %I.type = symbolic_binding T, 0 [symbolic = %T.loc22_12.1 (constants.%T.74b)] -// CHECK:STDOUT: %T.as_type.loc22_32.1: type = facet_access_type %T.loc22_12.1 [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.69c)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc22_32.1 [symbolic = %pattern_type (constants.%pattern_type.407)] +// CHECK:STDOUT: %T.loc22_12.1: %I.type = symbolic_binding T, 0 [symbolic = %T.loc22_12.1 (constants.%T.2e1)] +// CHECK:STDOUT: %T.as_type.loc22_32.1: type = facet_access_type %T.loc22_12.1 [symbolic = %T.as_type.loc22_32.1 (constants.%T.as_type.a70)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc22_32.1 [symbolic = %pattern_type (constants.%pattern_type.3df)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc22_32.1 [symbolic = %require_complete (constants.%require_complete.a51)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc22_32.1 [symbolic = %require_complete (constants.%require_complete.0f1)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: ref @TestOp.%T.as_type.loc22_32.1 (%T.as_type.69c)) { +// CHECK:STDOUT: fn(%x.param: ref @TestOp.%T.as_type.loc22_32.1 (%T.as_type.a70)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -112,7 +112,7 @@ fn Test(x: i32) { // CHECK:STDOUT: %I.facet: %I.type = facet_value constants.%i32, (constants.%I.impl_witness) [concrete = constants.%I.facet] // CHECK:STDOUT: %.loc27: %I.type = converted constants.%i32, %I.facet [concrete = constants.%I.facet] // CHECK:STDOUT: %TestOp.specific_fn: = specific_function %TestOp.ref, @TestOp(constants.%I.facet) [concrete = constants.%TestOp.specific_fn] -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc27_10.1: = bound_method %x.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc27_10.2: = bound_method %x.ref, %specific_fn @@ -120,7 +120,7 @@ fn Test(x: i32) { // CHECK:STDOUT: %x.var: ref %i32 = var @TestOp.%x.param_patt // CHECK:STDOUT: assign %x.var, %Int.as.Copy.impl.Op.call // CHECK:STDOUT: %TestOp.call: init %empty_tuple.type = call %TestOp.specific_fn(%x.var) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -132,16 +132,16 @@ fn Test(x: i32) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @TestOp(constants.%T.74b) { -// CHECK:STDOUT: %T.loc22_12.1 => constants.%T.74b -// CHECK:STDOUT: %T.as_type.loc22_32.1 => constants.%T.as_type.69c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.407 +// CHECK:STDOUT: specific @TestOp(constants.%T.2e1) { +// CHECK:STDOUT: %T.loc22_12.1 => constants.%T.2e1 +// CHECK:STDOUT: %T.as_type.loc22_32.1 => constants.%T.as_type.a70 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3df // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @TestOp(constants.%I.facet) { // CHECK:STDOUT: %T.loc22_12.1 => constants.%I.facet // CHECK:STDOUT: %T.as_type.loc22_32.1 => constants.%i32 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c6b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.104 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a diff --git a/toolchain/check/testdata/global/basics.carbon b/toolchain/check/testdata/global/basics.carbon index 6bc2405591bb..49cd251f5719 100644 --- a/toolchain/check/testdata/global/basics.carbon +++ b/toolchain/check/testdata/global/basics.carbon @@ -61,15 +61,15 @@ var a: A = Make(); // CHECK:STDOUT: %pattern_type.a96: type = pattern_type %empty_struct_type [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.461: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %empty_struct_type, (%DefaultOrUnformed.impl_witness.461) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.6ba: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %empty_struct_type, (%DefaultOrUnformed.impl_witness.6ba) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -87,7 +87,7 @@ var a: A = Make(); // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%empty_struct_type, (constants.%DefaultOrUnformed.impl_witness.461) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%empty_struct_type, (constants.%DefaultOrUnformed.impl_witness.6ba) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc4_10.1: %DefaultOrUnformed.type = converted constants.%empty_struct_type, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc4_10.1 [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %.loc4_10.2: type = converted %.loc4_10.1, %as_type [concrete = constants.%empty_struct_type] diff --git a/toolchain/check/testdata/if/basics.carbon b/toolchain/check/testdata/if/basics.carbon index aa924c9a3c7a..7e8be00e53dc 100644 --- a/toolchain/check/testdata/if/basics.carbon +++ b/toolchain/check/testdata/if/basics.carbon @@ -203,10 +203,10 @@ fn VarScope(b: bool) -> bool { // CHECK:STDOUT: %If: %If.type = struct_value () [concrete] // CHECK:STDOUT: %false: bool = bool_literal false [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.bc7: = impl_witness imports.%Copy.impl_witness_table.aef [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.bc7) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.5dd: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.698: type = fn_type_with_self_type %Copy.WithSelf.Op.type.5dd, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.de3: = impl_witness imports.%Copy.impl_witness_table.34b [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.de3) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.079: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.022: type = fn_type_with_self_type %Copy.WithSelf.Op.type.079, %Copy.facet [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.type: type = fn_type @bool.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op: %bool.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.bound.84b: = bound_method %false, %bool.as.Copy.impl.Op [concrete] @@ -215,8 +215,8 @@ fn VarScope(b: bool) -> bool { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.41e: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.aef = impl_witness_table (%Core.import_ref.41e), @bool.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.34b = impl_witness_table (%Core.import_ref.f63), @bool.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -243,14 +243,14 @@ fn VarScope(b: bool) -> bool { // CHECK:STDOUT: // CHECK:STDOUT: !if.then: // CHECK:STDOUT: %false: bool = bool_literal false [concrete = constants.%false] -// CHECK:STDOUT: %impl.elem0.loc6: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc6: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc6: = bound_method %false, %impl.elem0.loc6 [concrete = constants.%bool.as.Copy.impl.Op.bound.84b] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call.loc6: init bool = call %bound_method.loc6(%false) [concrete = constants.%false] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call.loc6 // CHECK:STDOUT: // CHECK:STDOUT: !if.else: // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0.loc8: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc8: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc8: = bound_method %true, %impl.elem0.loc8 [concrete = constants.%bool.as.Copy.impl.Op.bound.1b3] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call.loc8: init bool = call %bound_method.loc8(%true) [concrete = constants.%true] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call.loc8 diff --git a/toolchain/check/testdata/if_expr/basic.carbon b/toolchain/check/testdata/if_expr/basic.carbon index 6ce7d757a0d9..048914b7a25e 100644 --- a/toolchain/check/testdata/if_expr/basic.carbon +++ b/toolchain/check/testdata/if_expr/basic.carbon @@ -29,47 +29,47 @@ fn F(b: bool, n: i32, m: i32) -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_1, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.6f3: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.34b: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.4f2: %tuple.type.985 = tuple_value (%int_0.5c6) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%int_0.155) [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%int_0.62d) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc16_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc16_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -84,12 +84,12 @@ fn F(b: bool, n: i32, m: i32) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/parts/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -102,15 +102,15 @@ fn F(b: bool, n: i32, m: i32) -> i32 { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %b.patt: %pattern_type.831 = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %m.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %m.patt: %pattern_type.c6b = at_binding_pattern m, %m.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15_34 [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %m.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %m.patt: %pattern_type.104 = at_binding_pattern m, %m.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15_34 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15_34: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15_34: Core.Form = init_form %i32.loc15_34 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15_34: Core.Form = init_form %i32.loc15_34 [concrete = constants.%.7ea] // CHECK:STDOUT: %b.param: bool = value_param call_param0 // CHECK:STDOUT: %.loc15_9: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %b: bool = value_binding b, %b.param @@ -128,21 +128,21 @@ fn F(b: bool, n: i32, m: i32) -> i32 { // CHECK:STDOUT: fn @F(%b.param: bool, %n.param: %i32, %m.param: %i32) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.6f3 = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.6f3 = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.34b = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.34b = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %array_type = var %x.var_patt // CHECK:STDOUT: %int_0.loc16_27: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc16_29.1: %tuple.type.985 = tuple_literal (%int_0.loc16_27) [concrete = constants.%tuple.4f2] -// CHECK:STDOUT: %impl.elem0.loc16: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc16: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc16_29.1: = bound_method %int_0.loc16_27, %impl.elem0.loc16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc16_29.2: = bound_method %int_0.loc16_27, %specific_fn.loc16 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_29.2(%int_0.loc16_27) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc16_29.2: init %i32 = converted %int_0.loc16_27, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_29.2(%int_0.loc16_27) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc16_29.2: init %i32 = converted %int_0.loc16_27, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: %int_0.loc16_29: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc16_29.3: ref %i32 = array_index %x.var, %int_0.loc16_29 -// CHECK:STDOUT: %.loc16_29.4: init %i32 to %.loc16_29.3 = in_place_init %.loc16_29.2 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %.loc16_29.4: init %i32 to %.loc16_29.3 = in_place_init %.loc16_29.2 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc16_29.5: init %array_type to %x.var = array_init (%.loc16_29.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc16_3: init %array_type = converted %.loc16_29.1, %.loc16_29.5 [concrete = constants.%array] // CHECK:STDOUT: assign %x.var, %.loc16_3 @@ -171,12 +171,12 @@ fn F(b: bool, n: i32, m: i32) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result: // CHECK:STDOUT: %.loc17_10: %i32 = block_arg !if.expr.result -// CHECK:STDOUT: %impl.elem0.loc17: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc17: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc17_10.1: = bound_method %.loc17_10, %impl.elem0.loc17 // CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc17_10.2: = bound_method %.loc17_10, %specific_fn.loc17 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc17_10.2(%.loc17_10) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %x.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%x.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/if_expr/constant_condition.carbon b/toolchain/check/testdata/if_expr/constant_condition.carbon index 58c8449a6c25..bfb91d9b89ae 100644 --- a/toolchain/check/testdata/if_expr/constant_condition.carbon +++ b/toolchain/check/testdata/if_expr/constant_condition.carbon @@ -44,70 +44,70 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %false: bool = bool_literal false [concrete] // CHECK:STDOUT: %Constant.type: type = fn_type @Constant [concrete] // CHECK:STDOUT: %Constant: %Constant.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.425: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.425) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet.425 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.17a: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.17a) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet.17a [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc28 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc27_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc28 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc27_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: %PartiallyConstant.type: type = fn_type @PartiallyConstant [concrete] // CHECK:STDOUT: %PartiallyConstant: %PartiallyConstant.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -122,14 +122,14 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -145,58 +145,58 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15_11: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15_11: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %B.decl: %B.type = fn_decl @B [concrete = constants.%B] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16_11: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16_11: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc18: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc18: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc22: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc22: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Constant.decl: %Constant.type = fn_decl @Constant [concrete = constants.%Constant] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc26 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc26 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc26: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc26: Core.Form = init_form %i32.loc26 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc26: Core.Form = init_form %i32.loc26 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %PartiallyConstant.decl: %PartiallyConstant.type = fn_decl @PartiallyConstant [concrete = constants.%PartiallyConstant] { // CHECK:STDOUT: %t.param_patt: %pattern_type.98f = value_param_pattern [concrete] // CHECK:STDOUT: %t.patt: %pattern_type.98f = at_binding_pattern t, %t.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc32_34: Core.Form = init_form %i32.loc32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc32_34: Core.Form = init_form %i32.loc32 [concrete = constants.%.7ea] // CHECK:STDOUT: %t.param: type = value_param call_param0 // CHECK:STDOUT: %.loc32_25: type = type_literal type [concrete = type] // CHECK:STDOUT: %t: type = value_binding t, %t.param @@ -208,24 +208,24 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: fn @A() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_25.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_25.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_25.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_25.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_25: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc15_25.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_25.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_25: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] // CHECK:STDOUT: return %.loc15_25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_25.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_25.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_25.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_25.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc16_25: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc16_25.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_25.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc16_25: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.228] // CHECK:STDOUT: return %.loc16_25 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -250,7 +250,7 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result: // CHECK:STDOUT: %.loc19_10: %i32 = block_arg !if.expr.result -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc19_10.1: = bound_method %.loc19_10, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc19_10.2: = bound_method %.loc19_10, %specific_fn @@ -279,7 +279,7 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result: // CHECK:STDOUT: %.loc23_10: %i32 = block_arg !if.expr.result -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc23_10.1: = bound_method %.loc23_10, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc23_10.2: = bound_method %.loc23_10, %specific_fn @@ -290,17 +290,17 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: fn @Constant() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.c6b = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.c6b = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.104 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.104 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %i32 = var %v.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc27: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc27_3.1: = bound_method %int_1, %impl.elem0.loc27 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc27: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc27_3.1: = bound_method %int_1, %impl.elem0.loc27 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc27: = specific_function %impl.elem0.loc27, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc27_3.2: = bound_method %int_1, %specific_fn.loc27 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc27_3.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc27_3: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc27_3.2: = bound_method %int_1, %specific_fn.loc27 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc27_3.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc27_3: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign %v.var, %.loc27_3 // CHECK:STDOUT: br !.loc27_13 // CHECK:STDOUT: @@ -314,7 +314,7 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.else.loc27: // CHECK:STDOUT: %i32.loc27_32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc27: type = ptr_type %i32.loc27_32 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr.loc27: type = ptr_type %i32.loc27_32 [concrete = constants.%ptr.847] // CHECK:STDOUT: br !if.expr.result.loc27(%ptr.loc27) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result.loc27: @@ -324,17 +324,17 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: !.loc27_8: // CHECK:STDOUT: %v: ref %i32 = ref_binding v, %v.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: %pattern_type.663 = ref_binding_pattern w [concrete] -// CHECK:STDOUT: %w.var_patt: %pattern_type.663 = var_pattern %w.patt [concrete] +// CHECK:STDOUT: %w.patt: %pattern_type.7b5 = ref_binding_pattern w [concrete] +// CHECK:STDOUT: %w.var_patt: %pattern_type.7b5 = var_pattern %w.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %w.var: ref %ptr.143 = var %w.var_patt +// CHECK:STDOUT: %w.var: ref %ptr.847 = var %w.var_patt // CHECK:STDOUT: %v.ref: ref %i32 = name_ref v, %v -// CHECK:STDOUT: %addr: %ptr.143 = addr_of %v.ref -// CHECK:STDOUT: %impl.elem0.loc28: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr: %ptr.847 = addr_of %v.ref +// CHECK:STDOUT: %impl.elem0.loc28: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc28_40.1: = bound_method %addr, %impl.elem0.loc28 // CHECK:STDOUT: %specific_fn.loc28: = specific_function %impl.elem0.loc28, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc28_40.2: = bound_method %addr, %specific_fn.loc28 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.143 = call %bound_method.loc28_40.2(%addr) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.847 = call %bound_method.loc28_40.2(%addr) // CHECK:STDOUT: assign %w.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: br !.loc28_13 // CHECK:STDOUT: @@ -348,32 +348,32 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.else.loc28: // CHECK:STDOUT: %i32.loc28_33: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc28: type = ptr_type %i32.loc28_33 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr.loc28: type = ptr_type %i32.loc28_33 [concrete = constants.%ptr.847] // CHECK:STDOUT: br !if.expr.result.loc28(%ptr.loc28) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result.loc28: -// CHECK:STDOUT: %.loc28: type = block_arg !if.expr.result.loc28 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %.loc28: type = block_arg !if.expr.result.loc28 [concrete = constants.%ptr.847] // CHECK:STDOUT: br !.loc28_8 // CHECK:STDOUT: // CHECK:STDOUT: !.loc28_8: -// CHECK:STDOUT: %w: ref %ptr.143 = ref_binding w, %w.var -// CHECK:STDOUT: %w.ref: ref %ptr.143 = name_ref w, %w -// CHECK:STDOUT: %.loc29_11: %ptr.143 = acquire_value %w.ref +// CHECK:STDOUT: %w: ref %ptr.847 = ref_binding w, %w.var +// CHECK:STDOUT: %w.ref: ref %ptr.847 = name_ref w, %w +// CHECK:STDOUT: %.loc29_11: %ptr.847 = acquire_value %w.ref // CHECK:STDOUT: %.loc29_10.1: ref %i32 = deref %.loc29_11 // CHECK:STDOUT: %.loc29_10.2: %i32 = acquire_value %.loc29_10.1 -// CHECK:STDOUT: %impl.elem0.loc29: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc29: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc29_10.1: = bound_method %.loc29_10.2, %impl.elem0.loc29 // CHECK:STDOUT: %specific_fn.loc29: = specific_function %impl.elem0.loc29, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc29_10.2: = bound_method %.loc29_10.2, %specific_fn.loc29 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc29_10.2(%.loc29_10.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc28: = bound_method %w.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc28: = bound_method %w.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc28: init %empty_tuple.type = call %Destroy.Op.bound.loc28(%w.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc27: = bound_method %v.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc27: = bound_method %v.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc27: init %empty_tuple.type = call %Destroy.Op.bound.loc27(%v.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc28(%self.param: ref %ptr.143) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc28(%self.param: ref %ptr.847) = "no_op"; // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc27_3.1(%self.param: ref %i32.builtin) = "no_op"; // CHECK:STDOUT: @@ -385,17 +385,17 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: fn @PartiallyConstant(%t.param: type) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.c6b = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.c6b = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.104 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.104 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %i32 = var %v.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc33: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc33_3.1: = bound_method %int_1, %impl.elem0.loc33 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc33: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc33_3.1: = bound_method %int_1, %impl.elem0.loc33 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc33: = specific_function %impl.elem0.loc33, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc33_3.2: = bound_method %int_1, %specific_fn.loc33 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc33_3.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc33_3: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc33_3.2: = bound_method %int_1, %specific_fn.loc33 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc33_3.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc33_3: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign %v.var, %.loc33_3 // CHECK:STDOUT: br !.loc33_13 // CHECK:STDOUT: @@ -418,17 +418,17 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: !.loc33_8: // CHECK:STDOUT: %v: ref %i32 = ref_binding v, %v.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: %pattern_type.663 = ref_binding_pattern w [concrete] -// CHECK:STDOUT: %w.var_patt: %pattern_type.663 = var_pattern %w.patt [concrete] +// CHECK:STDOUT: %w.patt: %pattern_type.7b5 = ref_binding_pattern w [concrete] +// CHECK:STDOUT: %w.var_patt: %pattern_type.7b5 = var_pattern %w.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %w.var: ref %ptr.143 = var %w.var_patt +// CHECK:STDOUT: %w.var: ref %ptr.847 = var %w.var_patt // CHECK:STDOUT: %v.ref: ref %i32 = name_ref v, %v -// CHECK:STDOUT: %addr: %ptr.143 = addr_of %v.ref -// CHECK:STDOUT: %impl.elem0.loc34: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr: %ptr.847 = addr_of %v.ref +// CHECK:STDOUT: %impl.elem0.loc34: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc34_38.1: = bound_method %addr, %impl.elem0.loc34 // CHECK:STDOUT: %specific_fn.loc34: = specific_function %impl.elem0.loc34, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc34_38.2: = bound_method %addr, %specific_fn.loc34 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.143 = call %bound_method.loc34_38.2(%addr) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.847 = call %bound_method.loc34_38.2(%addr) // CHECK:STDOUT: assign %w.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: br !.loc34_13 // CHECK:STDOUT: @@ -442,27 +442,27 @@ fn PartiallyConstant(t: type) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.else.loc34: // CHECK:STDOUT: %i32.loc34: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc34 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc34 [concrete = constants.%ptr.847] // CHECK:STDOUT: br !if.expr.result.loc34(%ptr) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result.loc34: -// CHECK:STDOUT: %.loc34: type = block_arg !if.expr.result.loc34 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %.loc34: type = block_arg !if.expr.result.loc34 [concrete = constants.%ptr.847] // CHECK:STDOUT: br !.loc34_8 // CHECK:STDOUT: // CHECK:STDOUT: !.loc34_8: -// CHECK:STDOUT: %w: ref %ptr.143 = ref_binding w, %w.var -// CHECK:STDOUT: %w.ref: ref %ptr.143 = name_ref w, %w -// CHECK:STDOUT: %.loc35_11: %ptr.143 = acquire_value %w.ref +// CHECK:STDOUT: %w: ref %ptr.847 = ref_binding w, %w.var +// CHECK:STDOUT: %w.ref: ref %ptr.847 = name_ref w, %w +// CHECK:STDOUT: %.loc35_11: %ptr.847 = acquire_value %w.ref // CHECK:STDOUT: %.loc35_10.1: ref %i32 = deref %.loc35_11 // CHECK:STDOUT: %.loc35_10.2: %i32 = acquire_value %.loc35_10.1 -// CHECK:STDOUT: %impl.elem0.loc35: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc35: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc35_10.1: = bound_method %.loc35_10.2, %impl.elem0.loc35 // CHECK:STDOUT: %specific_fn.loc35: = specific_function %impl.elem0.loc35, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc35_10.2: = bound_method %.loc35_10.2, %specific_fn.loc35 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc35_10.2(%.loc35_10.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc34: = bound_method %w.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc34: = bound_method %w.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc34: init %empty_tuple.type = call %Destroy.Op.bound.loc34(%w.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc33: = bound_method %v.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc33: = bound_method %v.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc33: init %empty_tuple.type = call %Destroy.Op.bound.loc33(%v.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/if_expr/control_flow.carbon b/toolchain/check/testdata/if_expr/control_flow.carbon index 5bf2ceed9ec6..7737942b1993 100644 --- a/toolchain/check/testdata/if_expr/control_flow.carbon +++ b/toolchain/check/testdata/if_expr/control_flow.carbon @@ -27,48 +27,48 @@ fn F(b: bool) -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: %Bool.type: type = fn_type @Bool [concrete] // CHECK:STDOUT: %Bool: %Bool.type = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.831: type = pattern_type bool [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -81,13 +81,13 @@ fn F(b: bool) -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/parts/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -99,31 +99,31 @@ fn F(b: bool) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15_11: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15_11: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %B.decl: %B.type = fn_decl @B [concrete = constants.%B] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16_11: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc16_11: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %b.patt: %pattern_type.831 = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc18_18: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc18_18: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %b.param: bool = value_param call_param0 // CHECK:STDOUT: %.loc18_9: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %b: bool = value_binding b, %b.param @@ -135,24 +135,24 @@ fn F(b: bool) -> i32 { // CHECK:STDOUT: fn @A() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_25.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_25.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_25.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_25.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_25: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc15_25.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_25.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_25: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] // CHECK:STDOUT: return %.loc15_25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @B() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_25.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_25.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_25.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_25.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc16_25: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc16_25.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_25.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc16_25: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.228] // CHECK:STDOUT: return %.loc16_25 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -177,7 +177,7 @@ fn F(b: bool) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result: // CHECK:STDOUT: %.loc19_10: %i32 = block_arg !if.expr.result -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc19_10.1: = bound_method %.loc19_10, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc19_10.2: = bound_method %.loc19_10, %specific_fn diff --git a/toolchain/check/testdata/if_expr/nested.carbon b/toolchain/check/testdata/if_expr/nested.carbon index 3a283cd0d525..228decfbae97 100644 --- a/toolchain/check/testdata/if_expr/nested.carbon +++ b/toolchain/check/testdata/if_expr/nested.carbon @@ -27,49 +27,49 @@ fn F(a: bool, b: bool, c: bool) -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -83,12 +83,12 @@ fn F(a: bool, b: bool, c: bool) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/parts/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -104,11 +104,11 @@ fn F(a: bool, b: bool, c: bool) -> i32 { // CHECK:STDOUT: %b.patt: %pattern_type.831 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %c.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %c.patt: %pattern_type.831 = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15_36: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15_36: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: bool = value_param call_param0 // CHECK:STDOUT: %.loc15_9: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %a: bool = value_binding a, %a.param @@ -134,24 +134,24 @@ fn F(a: bool, b: bool, c: bool) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.then.loc16_20: // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc16_25: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_25.1: = bound_method %int_1, %impl.elem0.loc16_25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc16_25: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_25.1: = bound_method %int_1, %impl.elem0.loc16_25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc16_25: = specific_function %impl.elem0.loc16_25, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_25.2: = bound_method %int_1, %specific_fn.loc16_25 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_25: init %i32 = call %bound_method.loc16_25.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc16_25.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_25 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc16_25.2: %i32 = converted %int_1, %.loc16_25.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc16_25.2: = bound_method %int_1, %specific_fn.loc16_25 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_25: init %i32 = call %bound_method.loc16_25.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc16_25.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_25 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc16_25.2: %i32 = converted %int_1, %.loc16_25.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: br !if.expr.result.loc16_20(%.loc16_25.2) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.else.loc16_20: // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc16_32: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_32.1: = bound_method %int_2, %impl.elem0.loc16_32 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0.loc16_32: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_32.1: = bound_method %int_2, %impl.elem0.loc16_32 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc16_32: = specific_function %impl.elem0.loc16_32, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_32.2: = bound_method %int_2, %specific_fn.loc16_32 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_32: init %i32 = call %bound_method.loc16_32.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc16_32.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_32 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc16_32.2: %i32 = converted %int_2, %.loc16_32.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc16_32.2: = bound_method %int_2, %specific_fn.loc16_32 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_32: init %i32 = call %bound_method.loc16_32.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc16_32.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_32 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc16_32.2: %i32 = converted %int_2, %.loc16_32.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: br !if.expr.result.loc16_20(%.loc16_32.2) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result.loc16_20: @@ -164,24 +164,24 @@ fn F(a: bool, b: bool, c: bool) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.then.loc16_44: // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc16_49: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_49.1: = bound_method %int_3, %impl.elem0.loc16_49 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc16_49: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_49.1: = bound_method %int_3, %impl.elem0.loc16_49 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc16_49: = specific_function %impl.elem0.loc16_49, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_49.2: = bound_method %int_3, %specific_fn.loc16_49 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_49: init %i32 = call %bound_method.loc16_49.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc16_49.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_49 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc16_49.2: %i32 = converted %int_3, %.loc16_49.1 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc16_49.2: = bound_method %int_3, %specific_fn.loc16_49 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_49: init %i32 = call %bound_method.loc16_49.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc16_49.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_49 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc16_49.2: %i32 = converted %int_3, %.loc16_49.1 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: br !if.expr.result.loc16_44(%.loc16_49.2) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.else.loc16_44: // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0.loc16_56: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_56.1: = bound_method %int_4, %impl.elem0.loc16_56 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %impl.elem0.loc16_56: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_56.1: = bound_method %int_4, %impl.elem0.loc16_56 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc16_56: = specific_function %impl.elem0.loc16_56, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_56.2: = bound_method %int_4, %specific_fn.loc16_56 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_56: init %i32 = call %bound_method.loc16_56.2(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc16_56.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_56 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc16_56.2: %i32 = converted %int_4, %.loc16_56.1 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %bound_method.loc16_56.2: = bound_method %int_4, %specific_fn.loc16_56 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_56: init %i32 = call %bound_method.loc16_56.2(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc16_56.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_56 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc16_56.2: %i32 = converted %int_4, %.loc16_56.1 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: br !if.expr.result.loc16_44(%.loc16_56.2) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result.loc16_44: @@ -190,7 +190,7 @@ fn F(a: bool, b: bool, c: bool) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result.loc16_10: // CHECK:STDOUT: %.loc16_10: %i32 = block_arg !if.expr.result.loc16_10 -// CHECK:STDOUT: %impl.elem0.loc16_10: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc16_10: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc16_10.1: = bound_method %.loc16_10, %impl.elem0.loc16_10 // CHECK:STDOUT: %specific_fn.loc16_10: = specific_function %impl.elem0.loc16_10, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_10.2: = bound_method %.loc16_10, %specific_fn.loc16_10 diff --git a/toolchain/check/testdata/if_expr/struct.carbon b/toolchain/check/testdata/if_expr/struct.carbon index 9fd1959bc529..4daa3c25f5dc 100644 --- a/toolchain/check/testdata/if_expr/struct.carbon +++ b/toolchain/check/testdata/if_expr/struct.carbon @@ -27,8 +27,8 @@ fn F(cond: bool) { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %struct_type.a.b.602: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.32c: type = pattern_type %struct_type.a.b.602 [concrete] +// CHECK:STDOUT: %struct_type.a.b.b47: type = struct_type {.a: %i32, .b: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.941: type = pattern_type %struct_type.a.b.b47 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %Bool.type: type = fn_type @Bool [concrete] @@ -41,29 +41,29 @@ fn F(cond: bool) { // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.4aa: %struct_type.a.b.cfd = struct_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %struct.a0d: %struct_type.a.b.602 = struct_value (%int_1.d5e, %int_2.4ff) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %struct.8fc: %struct_type.a.b.b47 = struct_value (%int_1.d9c, %int_2.228) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc18_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc18_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -77,9 +77,9 @@ fn F(cond: bool) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/parts/bool, Bool, loaded [concrete = constants.%Bool] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -91,16 +91,16 @@ fn F(cond: bool) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %s.param_patt: %pattern_type.32c = value_param_pattern [concrete] -// CHECK:STDOUT: %s.patt: %pattern_type.32c = at_binding_pattern s, %s.param_patt [concrete] +// CHECK:STDOUT: %s.param_patt: %pattern_type.941 = value_param_pattern [concrete] +// CHECK:STDOUT: %s.patt: %pattern_type.941 = at_binding_pattern s, %s.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %s.param: %struct_type.a.b.602 = value_param call_param0 -// CHECK:STDOUT: %.loc15: type = splice_block %struct_type.a.b [concrete = constants.%struct_type.a.b.602] { +// CHECK:STDOUT: %s.param: %struct_type.a.b.b47 = value_param call_param0 +// CHECK:STDOUT: %.loc15: type = splice_block %struct_type.a.b [concrete = constants.%struct_type.a.b.b47] { // CHECK:STDOUT: %i32.loc15_14: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc15_23: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.602] +// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.b47] // CHECK:STDOUT: } -// CHECK:STDOUT: %s: %struct_type.a.b.602 = value_binding s, %s.param +// CHECK:STDOUT: %s: %struct_type.a.b.b47 = value_binding s, %s.param // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %cond.param_patt: %pattern_type.831 = value_param_pattern [concrete] @@ -112,71 +112,71 @@ fn F(cond: bool) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%s.param: %struct_type.a.b.602); +// CHECK:STDOUT: fn @G(%s.param: %struct_type.a.b.b47); // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%cond.param: bool) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.32c = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.32c = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.941 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.941 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %struct_type.a.b.602 = var %a.var_patt +// CHECK:STDOUT: %a.var: ref %struct_type.a.b.b47 = var %a.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc18_46.1: %struct_type.a.b.cfd = struct_literal (%int_1, %int_2) [concrete = constants.%struct.4aa] -// CHECK:STDOUT: %impl.elem0.loc18_46.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_46.1: = bound_method %int_1, %impl.elem0.loc18_46.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc18_46.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_46.1: = bound_method %int_1, %impl.elem0.loc18_46.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc18_46.1: = specific_function %impl.elem0.loc18_46.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_46.2: = bound_method %int_1, %specific_fn.loc18_46.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_46.1: init %i32 = call %bound_method.loc18_46.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_46.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_46.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc18_46.2: = bound_method %int_1, %specific_fn.loc18_46.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_46.1: init %i32 = call %bound_method.loc18_46.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_46.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_46.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc18_46.3: ref %i32 = struct_access %a.var, element0 -// CHECK:STDOUT: %.loc18_46.4: init %i32 to %.loc18_46.3 = in_place_init %.loc18_46.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc18_46.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_46.3: = bound_method %int_2, %impl.elem0.loc18_46.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc18_46.4: init %i32 to %.loc18_46.3 = in_place_init %.loc18_46.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc18_46.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_46.3: = bound_method %int_2, %impl.elem0.loc18_46.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc18_46.2: = specific_function %impl.elem0.loc18_46.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_46.4: = bound_method %int_2, %specific_fn.loc18_46.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_46.2: init %i32 = call %bound_method.loc18_46.4(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_46.5: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_46.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc18_46.4: = bound_method %int_2, %specific_fn.loc18_46.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_46.2: init %i32 = call %bound_method.loc18_46.4(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_46.5: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_46.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc18_46.6: ref %i32 = struct_access %a.var, element1 -// CHECK:STDOUT: %.loc18_46.7: init %i32 to %.loc18_46.6 = in_place_init %.loc18_46.5 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_46.8: init %struct_type.a.b.602 to %a.var = struct_init (%.loc18_46.4, %.loc18_46.7) [concrete = constants.%struct.a0d] -// CHECK:STDOUT: %.loc18_3: init %struct_type.a.b.602 = converted %.loc18_46.1, %.loc18_46.8 [concrete = constants.%struct.a0d] +// CHECK:STDOUT: %.loc18_46.7: init %i32 to %.loc18_46.6 = in_place_init %.loc18_46.5 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_46.8: init %struct_type.a.b.b47 to %a.var = struct_init (%.loc18_46.4, %.loc18_46.7) [concrete = constants.%struct.8fc] +// CHECK:STDOUT: %.loc18_3: init %struct_type.a.b.b47 = converted %.loc18_46.1, %.loc18_46.8 [concrete = constants.%struct.8fc] // CHECK:STDOUT: assign %a.var, %.loc18_3 -// CHECK:STDOUT: %.loc18_27: type = splice_block %struct_type.a.b [concrete = constants.%struct_type.a.b.602] { +// CHECK:STDOUT: %.loc18_27: type = splice_block %struct_type.a.b [concrete = constants.%struct_type.a.b.b47] { // CHECK:STDOUT: %i32.loc18_15: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc18_24: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.602] +// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.b47] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %struct_type.a.b.602 = ref_binding a, %a.var +// CHECK:STDOUT: %a: ref %struct_type.a.b.b47 = ref_binding a, %a.var // CHECK:STDOUT: %G.ref: %G.type = name_ref G, file.%G.decl [concrete = constants.%G] // CHECK:STDOUT: %cond.ref: bool = name_ref cond, %cond // CHECK:STDOUT: if %cond.ref br !if.expr.then else br !if.expr.else // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.then: -// CHECK:STDOUT: %a.ref.loc19_18: ref %struct_type.a.b.602 = name_ref a, %a +// CHECK:STDOUT: %a.ref.loc19_18: ref %struct_type.a.b.b47 = name_ref a, %a // CHECK:STDOUT: %.loc19_18.1: ref %i32 = struct_access %a.ref.loc19_18, element0 // CHECK:STDOUT: %.loc19_18.2: %i32 = acquire_value %.loc19_18.1 // CHECK:STDOUT: %.loc19_18.3: ref %i32 = struct_access %a.ref.loc19_18, element1 // CHECK:STDOUT: %.loc19_18.4: %i32 = acquire_value %.loc19_18.3 -// CHECK:STDOUT: %struct.loc19_18: %struct_type.a.b.602 = struct_value (%.loc19_18.2, %.loc19_18.4) -// CHECK:STDOUT: %.loc19_18.5: %struct_type.a.b.602 = converted %a.ref.loc19_18, %struct.loc19_18 +// CHECK:STDOUT: %struct.loc19_18: %struct_type.a.b.b47 = struct_value (%.loc19_18.2, %.loc19_18.4) +// CHECK:STDOUT: %.loc19_18.5: %struct_type.a.b.b47 = converted %a.ref.loc19_18, %struct.loc19_18 // CHECK:STDOUT: br !if.expr.result(%.loc19_18.5) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.else: -// CHECK:STDOUT: %a.ref.loc19_25: ref %struct_type.a.b.602 = name_ref a, %a +// CHECK:STDOUT: %a.ref.loc19_25: ref %struct_type.a.b.b47 = name_ref a, %a // CHECK:STDOUT: %.loc19_25.1: ref %i32 = struct_access %a.ref.loc19_25, element0 // CHECK:STDOUT: %.loc19_25.2: %i32 = acquire_value %.loc19_25.1 // CHECK:STDOUT: %.loc19_25.3: ref %i32 = struct_access %a.ref.loc19_25, element1 // CHECK:STDOUT: %.loc19_25.4: %i32 = acquire_value %.loc19_25.3 -// CHECK:STDOUT: %struct.loc19_25: %struct_type.a.b.602 = struct_value (%.loc19_25.2, %.loc19_25.4) -// CHECK:STDOUT: %.loc19_20: %struct_type.a.b.602 = converted %a.ref.loc19_25, %struct.loc19_25 +// CHECK:STDOUT: %struct.loc19_25: %struct_type.a.b.b47 = struct_value (%.loc19_25.2, %.loc19_25.4) +// CHECK:STDOUT: %.loc19_20: %struct_type.a.b.b47 = converted %a.ref.loc19_25, %struct.loc19_25 // CHECK:STDOUT: br !if.expr.result(%.loc19_20) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result: -// CHECK:STDOUT: %.loc19_5: %struct_type.a.b.602 = block_arg !if.expr.result +// CHECK:STDOUT: %.loc19_5: %struct_type.a.b.b47 = block_arg !if.expr.result // CHECK:STDOUT: %G.call: init %empty_tuple.type = call %G.ref(%.loc19_5) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -188,7 +188,7 @@ fn F(cond: bool) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc18_3.3(%self.param: ref %struct_type.a.b.602) { +// CHECK:STDOUT: fn @Destroy.Op.loc18_3.3(%self.param: ref %struct_type.a.b.b47) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/impl/assoc_const_self.carbon b/toolchain/check/testdata/impl/assoc_const_self.carbon index 445156c467e0..b15f456e771e 100644 --- a/toolchain/check/testdata/impl/assoc_const_self.carbon +++ b/toolchain/check/testdata/impl/assoc_const_self.carbon @@ -104,46 +104,46 @@ fn CallF() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.d5e: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.704: type = facet_access_type %Self.d5e [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.ed0: type = facet_access_type %Self.179 [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.279: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete] +// CHECK:STDOUT: %assoc0.465: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: %.Self.as_type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] -// CHECK:STDOUT: %I_where.type.13c: type = facet_type <@I where %impl.elem0 = %empty_struct> [concrete] -// CHECK:STDOUT: %I.impl_witness.7f4: = impl_witness @empty_struct_type.as.I.impl.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I_where.type.960: type = facet_type <@I where %impl.elem0 = %empty_struct> [concrete] +// CHECK:STDOUT: %I.impl_witness.2a3: = impl_witness @empty_struct_type.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %empty_struct.type.facet: %type = facet_value %empty_struct_type, () [concrete] -// CHECK:STDOUT: %I.facet.43a: %I.type = facet_value %empty_struct_type, (%I.impl_witness.7f4) [concrete] +// CHECK:STDOUT: %I.facet.e02: %I.type = facet_value %empty_struct_type, (%I.impl_witness.2a3) [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %I_where.type.4c3: type = facet_type <@I where %impl.elem0 = %int_0.5c6> [concrete] -// CHECK:STDOUT: %I.impl_witness.312: = impl_witness @i32.as.I.impl.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I_where.type.e8d: type = facet_type <@I where %impl.elem0 = %int_0.5c6> [concrete] +// CHECK:STDOUT: %I.impl_witness.e90: = impl_witness @i32.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %Int.type.facet: %type = facet_value %i32, () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %I.facet.ad2: %I.type = facet_value %i32, (%I.impl_witness.312) [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %I.facet.36d: %I.type = facet_value %i32, (%I.impl_witness.e90) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -154,9 +154,9 @@ fn CallF() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -174,12 +174,12 @@ fn CallF() { // CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc8_20: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %V.ref: %I.assoc_type = name_ref V, @V.%assoc0 [concrete = constants.%assoc0.279] +// CHECK:STDOUT: %V.ref: %I.assoc_type = name_ref V, @V.%assoc0 [concrete = constants.%assoc0.465] // CHECK:STDOUT: %impl.elem0: %.Self.as_type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc8_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc8_26.2: %empty_struct_type = converted %.loc8_26.1, %empty_struct [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc8_14: type = where_expr [concrete = constants.%I_where.type.13c] { +// CHECK:STDOUT: %.loc8_14: type = where_expr [concrete = constants.%I_where.type.960] { // CHECK:STDOUT: requirement_base_facet_type %I.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0, %.loc8_26.2 // CHECK:STDOUT: } @@ -191,10 +191,10 @@ fn CallF() { // CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_21: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %V.ref: %I.assoc_type = name_ref V, @V.%assoc0 [concrete = constants.%assoc0.279] +// CHECK:STDOUT: %V.ref: %I.assoc_type = name_ref V, @V.%assoc0 [concrete = constants.%assoc0.465] // CHECK:STDOUT: %impl.elem0.loc10_21: %.Self.as_type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %.loc10_15.1: type = where_expr [concrete = constants.%I_where.type.4c3] { +// CHECK:STDOUT: %.loc10_15.1: type = where_expr [concrete = constants.%I_where.type.e8d] { // CHECK:STDOUT: requirement_base_facet_type %I.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc10_21, %int_0 // CHECK:STDOUT: } @@ -202,12 +202,12 @@ fn CallF() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d5e] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %V: @I.WithSelf.%Self.as_type (%Self.as_type.704) = assoc_const_decl @V [concrete] { -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete = constants.%assoc0.279] +// CHECK:STDOUT: %V: @I.WithSelf.%Self.as_type (%Self.as_type.ed0) = assoc_const_decl @V [concrete] { +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete = constants.%assoc0.465] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -220,7 +220,7 @@ fn CallF() { // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_struct_type.as.I.impl: %.loc8_7.2 as %.loc8_14 { // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @empty_struct_type.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.7f4] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.2a3] // CHECK:STDOUT: %impl_witness_assoc_constant: %empty_struct_type = impl_witness_assoc_constant constants.%empty_struct [concrete = constants.%empty_struct] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -230,25 +230,25 @@ fn CallF() { // CHECK:STDOUT: // CHECK:STDOUT: impl @i32.as.I.impl: %i32 as %.loc10_15.1 { // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @i32.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.312] -// CHECK:STDOUT: %impl.elem0.loc10_15: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.e90] +// CHECK:STDOUT: %impl.elem0.loc10_15: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc10_15.1: = bound_method constants.%int_0.5c6, %impl.elem0.loc10_15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc10_15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc10_15.2: = bound_method constants.%int_0.5c6, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc10_15.2(constants.%int_0.5c6) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc10_15.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc10_15.3: %i32 = converted constants.%int_0.5c6, %.loc10_15.2 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %impl_witness_assoc_constant: %i32 = impl_witness_assoc_constant constants.%int_0.155 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc10_15.2(constants.%int_0.5c6) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc10_15.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc10_15.3: %i32 = converted constants.%int_0.5c6, %.loc10_15.2 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %impl_witness_assoc_constant: %i32 = impl_witness_assoc_constant constants.%int_0.62d [concrete = constants.%int_0.62d] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %.loc10_15.1 // CHECK:STDOUT: witness = %I.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.d5e) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.d5e -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.704 +// CHECK:STDOUT: %Self => constants.%Self.179 +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.ed0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%.Self) { @@ -263,9 +263,9 @@ fn CallF() { // CHECK:STDOUT: %Self.as_type => constants.%empty_struct_type // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.43a) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.e02) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.43a +// CHECK:STDOUT: %Self => constants.%I.facet.e02 // CHECK:STDOUT: %Self.as_type => constants.%empty_struct_type // CHECK:STDOUT: } // CHECK:STDOUT: @@ -275,9 +275,9 @@ fn CallF() { // CHECK:STDOUT: %Self.as_type => constants.%i32 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.ad2) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.36d) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.ad2 +// CHECK:STDOUT: %Self => constants.%I.facet.36d // CHECK:STDOUT: %Self.as_type => constants.%i32 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -285,10 +285,10 @@ fn CallF() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.a79: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.94d: type = facet_access_type %Self.a79 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.ed0: type = facet_access_type %Self.179 [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.a69: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete] +// CHECK:STDOUT: %assoc0.465: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] @@ -300,8 +300,8 @@ fn CallF() { // CHECK:STDOUT: %I.impl_witness: = impl_witness @empty_struct_type.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %empty_struct.type.facet: %type = facet_value %empty_struct_type, () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %empty_struct_type, (%I.impl_witness) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -311,7 +311,7 @@ fn CallF() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -329,7 +329,7 @@ fn CallF() { // CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc15_20: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %V.ref: %I.assoc_type = name_ref V, @V.%assoc0 [concrete = constants.%assoc0.a69] +// CHECK:STDOUT: %V.ref: %I.assoc_type = name_ref V, @V.%assoc0 [concrete = constants.%assoc0.465] // CHECK:STDOUT: %impl.elem0: %.Self.as_type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc15_14.1: type = where_expr [concrete = constants.%I_where.type] { @@ -340,12 +340,12 @@ fn CallF() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.a79] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %V: @I.WithSelf.%Self.as_type (%Self.as_type.94d) = assoc_const_decl @V [concrete] { -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete = constants.%assoc0.a69] +// CHECK:STDOUT: %V: @I.WithSelf.%Self.as_type (%Self.as_type.ed0) = assoc_const_decl @V [concrete] { +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete = constants.%assoc0.465] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -367,10 +367,10 @@ fn CallF() { // CHECK:STDOUT: witness = %I.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.a79) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.a79 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.94d +// CHECK:STDOUT: %Self => constants.%Self.179 +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.ed0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%.Self) { @@ -395,26 +395,26 @@ fn CallF() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.214: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.38e: type = facet_access_type %Self.214 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.ed0: type = facet_access_type %Self.179 [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.8e6: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete] +// CHECK:STDOUT: %assoc0.465: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.401: type = facet_type <@ImplicitAs, @ImplicitAs(%C)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.7ef: type = facet_type <@ImplicitAs, @ImplicitAs(%C)> [concrete] // CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness @empty_tuple.type.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] -// CHECK:STDOUT: %.f7b: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.bde: type = pattern_type %C [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple.type.as.ImplicitAs.impl.Convert.type: type = fn_type @empty_tuple.type.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %empty_tuple.type.as.ImplicitAs.impl.Convert: %empty_tuple.type.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.401 = facet_value %empty_tuple.type, (%ImplicitAs.impl_witness) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.076: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%C, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.7ef = facet_value %empty_tuple.type, (%ImplicitAs.impl_witness) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.cf0: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%C, %ImplicitAs.facet) [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] @@ -425,7 +425,7 @@ fn CallF() { // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %C.type.facet: %type = facet_value %C, () [concrete] -// CHECK:STDOUT: %.2ef: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.076, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %.d51: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.cf0, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %empty_tuple.type.as.ImplicitAs.impl.Convert.bound: = bound_method %empty_tuple, %empty_tuple.type.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: } @@ -436,7 +436,7 @@ fn CallF() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -452,9 +452,9 @@ fn CallF() { // CHECK:STDOUT: %.loc10_7.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc10_7.2: type = converted %.loc10_7.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%C)> [concrete = constants.%ImplicitAs.type.401] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%C)> [concrete = constants.%ImplicitAs.type.7ef] // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @C.as.I.impl [concrete] {} { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] @@ -463,7 +463,7 @@ fn CallF() { // CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc18_19: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %V.ref: %I.assoc_type = name_ref V, @V.%assoc0 [concrete = constants.%assoc0.8e6] +// CHECK:STDOUT: %V.ref: %I.assoc_type = name_ref V, @V.%assoc0 [concrete = constants.%assoc0.465] // CHECK:STDOUT: %impl.elem0.loc18_19: %.Self.as_type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc18_25.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple] @@ -476,12 +476,12 @@ fn CallF() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.214] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %V: @I.WithSelf.%Self.as_type (%Self.as_type.38e) = assoc_const_decl @V [concrete] { -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete = constants.%assoc0.8e6] +// CHECK:STDOUT: %V: @I.WithSelf.%Self.as_type (%Self.as_type.ed0) = assoc_const_decl @V [concrete] { +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete = constants.%assoc0.465] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -496,11 +496,11 @@ fn CallF() { // CHECK:STDOUT: %empty_tuple.type.as.ImplicitAs.impl.Convert.decl: %empty_tuple.type.as.ImplicitAs.impl.Convert.type = fn_decl @empty_tuple.type.as.ImplicitAs.impl.Convert [concrete = constants.%empty_tuple.type.as.ImplicitAs.impl.Convert] { // CHECK:STDOUT: %self.param_patt: %pattern_type.cb1 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.cb1 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.bde = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.bde = return_slot_pattern %return.param_patt, %C.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc11_36: Core.Form = init_form %C.ref [concrete = constants.%.f7b] +// CHECK:STDOUT: %.loc11_36: Core.Form = init_form %C.ref [concrete = constants.%.8f0] // CHECK:STDOUT: %self.param: %empty_tuple.type = value_param call_param0 // CHECK:STDOUT: %.loc11_28.1: type = splice_block %.loc11_28.3 [concrete = constants.%empty_tuple.type] { // CHECK:STDOUT: %.loc11_28.2: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] @@ -523,7 +523,7 @@ fn CallF() { // CHECK:STDOUT: impl @C.as.I.impl: %C.ref as %.loc18_13.1 { // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @C.as.I.impl [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness] -// CHECK:STDOUT: %impl.elem0.loc18_13: %.2ef = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%empty_tuple.type.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc18_13: %.d51 = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%empty_tuple.type.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method: = bound_method constants.%empty_tuple, %impl.elem0.loc18_13 [concrete = constants.%empty_tuple.type.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %.loc18_13.2: ref %C = temporary_storage // CHECK:STDOUT: %empty_tuple.type.as.ImplicitAs.impl.Convert.call: init %C to %.loc18_13.2 = call %bound_method(constants.%empty_tuple) @@ -553,10 +553,10 @@ fn CallF() { // CHECK:STDOUT: return %.loc11_49 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.214) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.214 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.38e +// CHECK:STDOUT: %Self => constants.%Self.179 +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.ed0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%.Self) { @@ -586,33 +586,33 @@ fn CallF() { // CHECK:STDOUT: %IntLiteral: %IntLiteral.type = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.dc0: type = pattern_type Core.IntLiteral [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %I.type.1e5: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %I.generic: %I.type.1e5 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.432: type = facet_type <@I, @I(%N)> [symbolic] -// CHECK:STDOUT: %Self.560: %I.type.432 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type.48f: type = facet_access_type %Self.560 [symbolic] -// CHECK:STDOUT: %array_type: type = array_type %N, %Self.as_type.48f [symbolic] -// CHECK:STDOUT: %I.assoc_type.0c7: type = assoc_entity_type @I, @I(%N) [symbolic] -// CHECK:STDOUT: %assoc0.f5b: %I.assoc_type.0c7 = assoc_entity element0, @I.WithSelf.%V [symbolic] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.180: type = facet_type <@I, @I(%N)> [symbolic] +// CHECK:STDOUT: %Self.e0a: %I.type.180 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type.2ff: type = facet_access_type %Self.e0a [symbolic] +// CHECK:STDOUT: %array_type: type = array_type %N, %Self.as_type.2ff [symbolic] +// CHECK:STDOUT: %I.assoc_type.a7e: type = assoc_entity_type @I, @I(%N) [symbolic] +// CHECK:STDOUT: %assoc0.11b: %I.assoc_type.a7e = assoc_entity element0, @I.WithSelf.%V [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %Negate.type: type = facet_type <@Negate> [concrete] // CHECK:STDOUT: %Negate.impl_witness: = impl_witness imports.%Negate.impl_witness_table [concrete] // CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value Core.IntLiteral, (%Negate.impl_witness) [concrete] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.40e: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] -// CHECK:STDOUT: %.279: type = fn_type_with_self_type %Negate.WithSelf.Op.type.40e, %Negate.facet [concrete] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.309: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] +// CHECK:STDOUT: %.f38: type = fn_type_with_self_type %Negate.WithSelf.Op.type.309, %Negate.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.type: type = fn_type @Core.IntLiteral.as.Negate.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op: %Core.IntLiteral.as.Negate.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.bound: = bound_method %int_1, %Core.IntLiteral.as.Negate.impl.Op [concrete] // CHECK:STDOUT: %int_-1: Core.IntLiteral = int_value -1 [concrete] -// CHECK:STDOUT: %I.type.33b: type = facet_type <@I, @I(%int_-1)> [concrete] -// CHECK:STDOUT: %.Self.67a: %I.type.33b = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %Self.07a: %I.type.33b = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.assoc_type.4af: type = assoc_entity_type @I, @I(%int_-1) [concrete] -// CHECK:STDOUT: %assoc0.ab1: %I.assoc_type.4af = assoc_entity element0, @I.WithSelf.%V [concrete] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.67a [symbolic_self] +// CHECK:STDOUT: %I.type.057: type = facet_type <@I, @I(%int_-1)> [concrete] +// CHECK:STDOUT: %.Self.d6c: %I.type.057 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Self.9ad: %I.type.057 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.assoc_type.5fd: type = assoc_entity_type @I, @I(%int_-1) [concrete] +// CHECK:STDOUT: %assoc0.bf8: %I.assoc_type.5fd = assoc_entity element0, @I.WithSelf.%V [concrete] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.d6c [symbolic_self] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -626,8 +626,8 @@ fn CallF() { // CHECK:STDOUT: %Core.IntLiteral: %IntLiteral.type = import_ref Core//prelude/parts/int_literal, IntLiteral, loaded [concrete = constants.%IntLiteral] // CHECK:STDOUT: %Core.Negate: type = import_ref Core//prelude/parts/int_literal, Negate, loaded [concrete = constants.%Negate.type] // CHECK:STDOUT: %Core.import_ref.abd = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.968: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] -// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.968), @Core.IntLiteral.as.Negate.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.f63), @Core.IntLiteral.as.Negate.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -636,7 +636,7 @@ fn CallF() { // CHECK:STDOUT: .I = %I.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %I.decl: %I.type.1e5 = interface_decl @I [concrete = constants.%I.generic] { +// CHECK:STDOUT: %I.decl: %I.type.48c = interface_decl @I [concrete = constants.%I.generic] { // CHECK:STDOUT: %N.patt: %pattern_type.dc0 = symbolic_binding_pattern N, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_33.1: type = splice_block %.loc4_33.3 [concrete = Core.IntLiteral] { @@ -652,16 +652,16 @@ fn CallF() { // CHECK:STDOUT: impl_decl @empty_struct_type.as..impl [concrete] {} { // CHECK:STDOUT: %.loc15_7.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc15_7.2: type = converted %.loc15_7.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %I.ref: %I.type.1e5 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] -// CHECK:STDOUT: %impl.elem1: %.279 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.f38 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %int_1, %impl.elem1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op.bound] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.call: init Core.IntLiteral = call %bound_method(%int_1) [concrete = constants.%int_-1] // CHECK:STDOUT: %.loc15_16.1: Core.IntLiteral = value_of_initializer %Core.IntLiteral.as.Negate.impl.Op.call [concrete = constants.%int_-1] // CHECK:STDOUT: %.loc15_16.2: Core.IntLiteral = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc15_16.1 [concrete = constants.%int_-1] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%int_-1)> [concrete = constants.%I.type.33b] -// CHECK:STDOUT: %.Self: %I.type.33b = symbolic_binding .Self [symbolic_self = constants.%.Self.67a] -// CHECK:STDOUT: %.Self.ref: %I.type.33b = name_ref .Self, %.Self [symbolic_self = constants.%.Self.67a] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%int_-1)> [concrete = constants.%I.type.057] +// CHECK:STDOUT: %.Self: %I.type.057 = symbolic_binding .Self [symbolic_self = constants.%.Self.d6c] +// CHECK:STDOUT: %.Self.ref: %I.type.057 = name_ref .Self, %.Self [symbolic_self = constants.%.Self.d6c] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc15_24: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %V.ref: = name_ref V, [concrete = ] @@ -677,16 +677,16 @@ fn CallF() { // CHECK:STDOUT: %N.loc4_14.1: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N.loc4_14.1 (constants.%N)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%N.loc4_14.1)> [symbolic = %I.type (constants.%I.type.432)] -// CHECK:STDOUT: %Self.loc4_36.2: @I.%I.type (%I.type.432) = symbolic_binding Self, 1 [symbolic = %Self.loc4_36.2 (constants.%Self.560)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%N.loc4_14.1)> [symbolic = %I.type (constants.%I.type.180)] +// CHECK:STDOUT: %Self.loc4_36.2: @I.%I.type (%I.type.180) = symbolic_binding Self, 1 [symbolic = %Self.loc4_36.2 (constants.%Self.e0a)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_36.1: @I.%I.type (%I.type.432) = symbolic_binding Self, 1 [symbolic = %Self.loc4_36.2 (constants.%Self.560)] +// CHECK:STDOUT: %Self.loc4_36.1: @I.%I.type (%I.type.180) = symbolic_binding Self, 1 [symbolic = %Self.loc4_36.2 (constants.%Self.e0a)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %V: @I.WithSelf.%array_type (%array_type) = assoc_const_decl @V [concrete] { -// CHECK:STDOUT: %assoc0: @I.WithSelf.%I.assoc_type (%I.assoc_type.0c7) = assoc_entity element0, @I.WithSelf.%V [symbolic = @I.WithSelf.%assoc0 (constants.%assoc0.f5b)] +// CHECK:STDOUT: %assoc0: @I.WithSelf.%I.assoc_type (%I.assoc_type.a7e) = assoc_entity element0, @I.WithSelf.%V [symbolic = @I.WithSelf.%assoc0 (constants.%assoc0.11b)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -710,48 +710,48 @@ fn CallF() { // CHECK:STDOUT: %N.loc4_14.1 => constants.%N // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%N, constants.%Self.560) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%N, constants.%Self.e0a) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%int_-1) { // CHECK:STDOUT: %N.loc4_14.1 => constants.%int_-1 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.33b -// CHECK:STDOUT: %Self.loc4_36.2 => constants.%Self.07a +// CHECK:STDOUT: %I.type => constants.%I.type.057 +// CHECK:STDOUT: %Self.loc4_36.2 => constants.%Self.9ad // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%int_-1, constants.%Self.560) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%int_-1, constants.%Self.e0a) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %N => constants.%int_-1 -// CHECK:STDOUT: %I.type => constants.%I.type.33b -// CHECK:STDOUT: %Self => constants.%Self.560 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.48f +// CHECK:STDOUT: %I.type => constants.%I.type.057 +// CHECK:STDOUT: %Self => constants.%Self.e0a +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.2ff // CHECK:STDOUT: %array_type => -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.4af -// CHECK:STDOUT: %assoc0 => constants.%assoc0.ab1 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.5fd +// CHECK:STDOUT: %assoc0 => constants.%assoc0.bf8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_constrained_fn.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.a1e: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.521: type = facet_access_type %Self.a1e [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.ed0: type = facet_access_type %Self.179 [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.a9a: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete] +// CHECK:STDOUT: %assoc0.465: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.908: %I.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.0a6: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.908 [symbolic_self] -// CHECK:STDOUT: %ImplicitAs.type.7ec: type = facet_type <@ImplicitAs, @ImplicitAs(%.Self.as_type)> [symbolic_self] -// CHECK:STDOUT: %I.lookup_impl_witness.5fc: = lookup_impl_witness %.Self.908, @I [symbolic_self] -// CHECK:STDOUT: %impl.elem0: %.Self.as_type = impl_witness_access %I.lookup_impl_witness.5fc, element0 [symbolic_self] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.0a6 [symbolic_self] +// CHECK:STDOUT: %ImplicitAs.type.47e: type = facet_type <@ImplicitAs, @ImplicitAs(%.Self.as_type)> [symbolic_self] +// CHECK:STDOUT: %I.lookup_impl_witness.f3b: = lookup_impl_witness %.Self.0a6, @I [symbolic_self] +// CHECK:STDOUT: %impl.elem0: %.Self.as_type = impl_witness_access %I.lookup_impl_witness.f3b, element0 [symbolic_self] // CHECK:STDOUT: %I_where.type: type = facet_type <@I where %empty_struct_type impls @ImplicitAs, @ImplicitAs(%.Self.as_type) and %impl.elem0 = %empty_struct> [concrete] -// CHECK:STDOUT: %pattern_type.010: type = pattern_type %I_where.type [concrete] +// CHECK:STDOUT: %pattern_type.307: type = pattern_type %I_where.type [concrete] // CHECK:STDOUT: %T: %I_where.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] @@ -765,7 +765,7 @@ fn CallF() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -778,25 +778,25 @@ fn CallF() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %I.decl: type = interface_decl @I [concrete = constants.%I.type] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt: %pattern_type.010 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.307 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8_12.1: type = splice_block %.loc8_12.2 [concrete = constants.%I_where.type] { // CHECK:STDOUT: %.Self.loc8_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %.Self.loc8_12: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.908] +// CHECK:STDOUT: %.Self.loc8_12: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.0a6] // CHECK:STDOUT: %.loc8_19.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %.Self.ref.loc8_43: %I.type = name_ref .Self, %.Self.loc8_12 [symbolic_self = constants.%.Self.908] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %.Self.ref.loc8_43: %I.type = name_ref .Self, %.Self.loc8_12 [symbolic_self = constants.%.Self.0a6] // CHECK:STDOUT: %.Self.as_type.loc8_48: type = facet_access_type %.Self.ref.loc8_43 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc8_48: type = converted %.Self.ref.loc8_43, %.Self.as_type.loc8_48 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%.Self.as_type)> [symbolic_self = constants.%ImplicitAs.type.7ec] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%.Self.as_type)> [symbolic_self = constants.%ImplicitAs.type.47e] // CHECK:STDOUT: %.loc8_19.2: type = converted %.loc8_19.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %.Self.ref.loc8_54: %I.type = name_ref .Self, %.Self.loc8_12 [symbolic_self = constants.%.Self.908] +// CHECK:STDOUT: %.Self.ref.loc8_54: %I.type = name_ref .Self, %.Self.loc8_12 [symbolic_self = constants.%.Self.0a6] // CHECK:STDOUT: %.Self.as_type.loc8_54: type = facet_access_type %.Self.ref.loc8_54 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc8_54: type = converted %.Self.ref.loc8_54, %.Self.as_type.loc8_54 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %V.ref: %I.assoc_type = name_ref V, @V.%assoc0 [concrete = constants.%assoc0.a9a] -// CHECK:STDOUT: %impl.elem0: %.Self.as_type = impl_witness_access constants.%I.lookup_impl_witness.5fc, element0 [symbolic_self = constants.%impl.elem0] +// CHECK:STDOUT: %V.ref: %I.assoc_type = name_ref V, @V.%assoc0 [concrete = constants.%assoc0.465] +// CHECK:STDOUT: %impl.elem0: %.Self.as_type = impl_witness_access constants.%I.lookup_impl_witness.f3b, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc8_60.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc8_60.2: %empty_struct_type = converted %.loc8_60.1, %empty_struct [concrete = constants.%empty_struct] @@ -812,12 +812,12 @@ fn CallF() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.a1e] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %V: @I.WithSelf.%Self.as_type (%Self.as_type.521) = assoc_const_decl @V [concrete] { -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete = constants.%assoc0.a9a] +// CHECK:STDOUT: %V: @I.WithSelf.%Self.as_type (%Self.as_type.ed0) = assoc_const_decl @V [concrete] { +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%V [concrete = constants.%assoc0.465] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -841,15 +841,15 @@ fn CallF() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.a1e) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.a1e -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.521 +// CHECK:STDOUT: %Self => constants.%Self.179 +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.ed0 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.908) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.0a6) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%.Self.908 +// CHECK:STDOUT: %Self => constants.%.Self.0a6 // CHECK:STDOUT: %Self.as_type => constants.%.Self.as_type // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/compound.carbon b/toolchain/check/testdata/impl/compound.carbon index b2a7043669d1..c78a22bba685 100644 --- a/toolchain/check/testdata/impl/compound.carbon +++ b/toolchain/check/testdata/impl/compound.carbon @@ -127,12 +127,12 @@ fn InstanceCallFail() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.9ed: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.9ed = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.a6b: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] -// CHECK:STDOUT: %Self: %ImplicitAs.type.a6b = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6e6: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] +// CHECK:STDOUT: %Self: %ImplicitAs.type.6e6 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.5a2: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.030: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %Dest [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %Dest [symbolic] // CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self) [symbolic] @@ -145,7 +145,7 @@ fn InstanceCallFail() { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .ImplicitAs = %ImplicitAs.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.decl: %ImplicitAs.type.9ed = interface_decl @ImplicitAs [concrete = constants.%ImplicitAs.generic] { +// CHECK:STDOUT: %ImplicitAs.decl: %ImplicitAs.type.754 = interface_decl @ImplicitAs [concrete = constants.%ImplicitAs.generic] { // CHECK:STDOUT: %Dest.patt: %pattern_type.98f = symbolic_binding_pattern Dest, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc3_29.1: type = splice_block %.loc3_29.2 [concrete = type] { @@ -160,17 +160,17 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Dest.loc3_26.1: type = symbolic_binding Dest, 0 [symbolic = %Dest.loc3_26.1 (constants.%Dest)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest.loc3_26.1)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.a6b)] -// CHECK:STDOUT: %Self.loc3_35.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self.loc3_35.2 (constants.%Self)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest.loc3_26.1)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self.loc3_35.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self.loc3_35.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc3_35.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self.loc3_35.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc3_35.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self.loc3_35.2 (constants.%Self)] // CHECK:STDOUT: %ImplicitAs.WithSelf.decl = interface_with_self_decl @ImplicitAs [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.decl: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type) = fn_decl @ImplicitAs.WithSelf.Convert [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert)] { -// CHECK:STDOUT: %self.param_patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc4_18 (%pattern_type.5a2) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc4_18 (%pattern_type.5a2) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc4_18 (%pattern_type.030) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc4_18 (%pattern_type.030) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc4_31 (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc4_31 (%pattern_type.51d) = return_slot_pattern %return.param_patt, %Dest.ref [concrete] // CHECK:STDOUT: } { @@ -178,8 +178,8 @@ fn InstanceCallFail() { // CHECK:STDOUT: %.loc4_31.2: Core.Form = init_form %Dest.ref [symbolic = %.loc4_31.1 (constants.%.184)] // CHECK:STDOUT: %self.param: @ImplicitAs.WithSelf.Convert.%Self.as_type.loc4_20.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc4_20.1: type = splice_block %.loc4_20.3 [symbolic = %Self.as_type.loc4_20.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %.loc4_20.2: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.a6b) = specific_constant @ImplicitAs.%Self.loc3_35.1, @ImplicitAs(constants.%Dest) [symbolic = %Self (constants.%Self)] -// CHECK:STDOUT: %Self.ref: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.a6b) = name_ref Self, %.loc4_20.2 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %.loc4_20.2: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = specific_constant @ImplicitAs.%Self.loc3_35.1, @ImplicitAs(constants.%Dest) [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %Self.ref: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = name_ref Self, %.loc4_20.2 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc4_20.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc4_20.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc4_20.3: type = converted %Self.ref, %Self.as_type.loc4_20.2 [symbolic = %Self.as_type.loc4_20.1 (constants.%Self.as_type)] // CHECK:STDOUT: } @@ -200,12 +200,12 @@ fn InstanceCallFail() { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(@ImplicitAs.%Dest.loc3_26.2: type, @ImplicitAs.%Self.loc3_35.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b)) { +// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(@ImplicitAs.%Dest.loc3_26.2: type, @ImplicitAs.%Self.loc3_35.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6)) { // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic = %Dest (constants.%Dest)] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.a6b)] -// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc4_20.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc4_20.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type.loc4_18: type = pattern_type %Self.as_type.loc4_20.1 [symbolic = %pattern_type.loc4_18 (constants.%pattern_type.5a2)] +// CHECK:STDOUT: %pattern_type.loc4_18: type = pattern_type %Self.as_type.loc4_20.1 [symbolic = %pattern_type.loc4_18 (constants.%pattern_type.030)] // CHECK:STDOUT: %.loc4_31.1: Core.Form = init_form %Dest [symbolic = %.loc4_31.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.loc4_31: type = pattern_type %Dest [symbolic = %pattern_type.loc4_31 (constants.%pattern_type.51d)] // CHECK:STDOUT: @@ -220,10 +220,10 @@ fn InstanceCallFail() { // CHECK:STDOUT: // CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%Dest, constants.%Self) { // CHECK:STDOUT: %Dest => constants.%Dest -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.a6b +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.6e6 // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc4_20.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type.loc4_18 => constants.%pattern_type.5a2 +// CHECK:STDOUT: %pattern_type.loc4_18 => constants.%pattern_type.030 // CHECK:STDOUT: %.loc4_31.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.loc4_31 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -233,9 +233,9 @@ fn InstanceCallFail() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %NonInstance1.type: type = facet_type <@NonInstance1> [concrete] // CHECK:STDOUT: %Self: %NonInstance1.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %NonInstance1.WithSelf.F1.type.f4c: type = fn_type @NonInstance1.WithSelf.F1, @NonInstance1.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %NonInstance1.WithSelf.F1.type.de7: type = fn_type @NonInstance1.WithSelf.F1, @NonInstance1.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %NonInstance1.WithSelf.F1.5ac: %NonInstance1.WithSelf.F1.type.f4c = struct_value () [symbolic] +// CHECK:STDOUT: %NonInstance1.WithSelf.F1.3ea: %NonInstance1.WithSelf.F1.type.de7 = struct_value () [symbolic] // CHECK:STDOUT: %NonInstance1.assoc_type: type = assoc_entity_type @NonInstance1 [concrete] // CHECK:STDOUT: %assoc0: %NonInstance1.assoc_type = assoc_entity element0, @NonInstance1.WithSelf.%NonInstance1.WithSelf.F1.decl [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] @@ -244,11 +244,11 @@ fn InstanceCallFail() { // CHECK:STDOUT: %struct_type.a.as.NonInstance1.impl.F1.type: type = fn_type @struct_type.a.as.NonInstance1.impl.F1 [concrete] // CHECK:STDOUT: %struct_type.a.as.NonInstance1.impl.F1: %struct_type.a.as.NonInstance1.impl.F1.type = struct_value () [concrete] // CHECK:STDOUT: %NonInstance1.facet: %NonInstance1.type = facet_value %struct_type.a, (%NonInstance1.impl_witness) [concrete] -// CHECK:STDOUT: %NonInstance1.WithSelf.F1.type.48a: type = fn_type @NonInstance1.WithSelf.F1, @NonInstance1.WithSelf(%NonInstance1.facet) [concrete] -// CHECK:STDOUT: %NonInstance1.WithSelf.F1.edc: %NonInstance1.WithSelf.F1.type.48a = struct_value () [concrete] +// CHECK:STDOUT: %NonInstance1.WithSelf.F1.type.b78: type = fn_type @NonInstance1.WithSelf.F1, @NonInstance1.WithSelf(%NonInstance1.facet) [concrete] +// CHECK:STDOUT: %NonInstance1.WithSelf.F1.305: %NonInstance1.WithSelf.F1.type.b78 = struct_value () [concrete] // CHECK:STDOUT: %NonInstanceCall1.type: type = fn_type @NonInstanceCall1 [concrete] // CHECK:STDOUT: %NonInstanceCall1: %NonInstanceCall1.type = struct_value () [concrete] -// CHECK:STDOUT: %.2fe: type = fn_type_with_self_type %NonInstance1.WithSelf.F1.type.48a, %NonInstance1.facet [concrete] +// CHECK:STDOUT: %.e9d: type = fn_type_with_self_type %NonInstance1.WithSelf.F1.type.b78, %NonInstance1.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -271,7 +271,7 @@ fn InstanceCallFail() { // CHECK:STDOUT: %NonInstance1.WithSelf.decl = interface_with_self_decl @NonInstance1 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %NonInstance1.WithSelf.F1.decl: @NonInstance1.WithSelf.%NonInstance1.WithSelf.F1.type (%NonInstance1.WithSelf.F1.type.f4c) = fn_decl @NonInstance1.WithSelf.F1 [symbolic = @NonInstance1.WithSelf.%NonInstance1.WithSelf.F1 (constants.%NonInstance1.WithSelf.F1.5ac)] {} {} +// CHECK:STDOUT: %NonInstance1.WithSelf.F1.decl: @NonInstance1.WithSelf.%NonInstance1.WithSelf.F1.type (%NonInstance1.WithSelf.F1.type.de7) = fn_decl @NonInstance1.WithSelf.F1 [symbolic = @NonInstance1.WithSelf.%NonInstance1.WithSelf.F1 (constants.%NonInstance1.WithSelf.F1.3ea)] {} {} // CHECK:STDOUT: %assoc0: %NonInstance1.assoc_type = assoc_entity element0, %NonInstance1.WithSelf.F1.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -311,7 +311,7 @@ fn InstanceCallFail() { // CHECK:STDOUT: %F1.ref: %NonInstance1.assoc_type = name_ref F1, @NonInstance1.WithSelf.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %NonInstance1.facet: %NonInstance1.type = facet_value %struct_type.a, (constants.%NonInstance1.impl_witness) [concrete = constants.%NonInstance1.facet] // CHECK:STDOUT: %.loc12_11: %NonInstance1.type = converted %struct_type.a, %NonInstance1.facet [concrete = constants.%NonInstance1.facet] -// CHECK:STDOUT: %impl.elem0: %.2fe = impl_witness_access constants.%NonInstance1.impl_witness, element0 [concrete = constants.%struct_type.a.as.NonInstance1.impl.F1] +// CHECK:STDOUT: %impl.elem0: %.e9d = impl_witness_access constants.%NonInstance1.impl_witness, element0 [concrete = constants.%struct_type.a.as.NonInstance1.impl.F1] // CHECK:STDOUT: %struct_type.a.as.NonInstance1.impl.F1.call: init %empty_tuple.type = call %impl.elem0() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -319,8 +319,8 @@ fn InstanceCallFail() { // CHECK:STDOUT: specific @NonInstance1.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %NonInstance1.WithSelf.F1.type => constants.%NonInstance1.WithSelf.F1.type.f4c -// CHECK:STDOUT: %NonInstance1.WithSelf.F1 => constants.%NonInstance1.WithSelf.F1.5ac +// CHECK:STDOUT: %NonInstance1.WithSelf.F1.type => constants.%NonInstance1.WithSelf.F1.type.de7 +// CHECK:STDOUT: %NonInstance1.WithSelf.F1 => constants.%NonInstance1.WithSelf.F1.3ea // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @NonInstance1.WithSelf.F1(constants.%Self) {} @@ -328,8 +328,8 @@ fn InstanceCallFail() { // CHECK:STDOUT: specific @NonInstance1.WithSelf(constants.%NonInstance1.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%NonInstance1.facet -// CHECK:STDOUT: %NonInstance1.WithSelf.F1.type => constants.%NonInstance1.WithSelf.F1.type.48a -// CHECK:STDOUT: %NonInstance1.WithSelf.F1 => constants.%NonInstance1.WithSelf.F1.edc +// CHECK:STDOUT: %NonInstance1.WithSelf.F1.type => constants.%NonInstance1.WithSelf.F1.type.b78 +// CHECK:STDOUT: %NonInstance1.WithSelf.F1 => constants.%NonInstance1.WithSelf.F1.305 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @NonInstance1.WithSelf.F1(constants.%NonInstance1.facet) {} @@ -338,42 +338,42 @@ fn InstanceCallFail() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %NonInstance2.type: type = facet_type <@NonInstance2> [concrete] -// CHECK:STDOUT: %Self.fcf: %NonInstance2.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %NonInstance2.WithSelf.F2.type.687: type = fn_type @NonInstance2.WithSelf.F2, @NonInstance2.WithSelf(%Self.fcf) [symbolic] +// CHECK:STDOUT: %Self.fdf: %NonInstance2.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %NonInstance2.WithSelf.F2.type.14d: type = fn_type @NonInstance2.WithSelf.F2, @NonInstance2.WithSelf(%Self.fdf) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %NonInstance2.WithSelf.F2.89a: %NonInstance2.WithSelf.F2.type.687 = struct_value () [symbolic] +// CHECK:STDOUT: %NonInstance2.WithSelf.F2.a96: %NonInstance2.WithSelf.F2.type.14d = struct_value () [symbolic] // CHECK:STDOUT: %NonInstance2.assoc_type: type = assoc_entity_type @NonInstance2 [concrete] -// CHECK:STDOUT: %assoc0.46e: %NonInstance2.assoc_type = assoc_entity element0, @NonInstance2.WithSelf.%NonInstance2.WithSelf.F2.decl [concrete] +// CHECK:STDOUT: %assoc0.ef1: %NonInstance2.assoc_type = assoc_entity element0, @NonInstance2.WithSelf.%NonInstance2.WithSelf.F2.decl [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct_type.b: type = struct_type {.b: %empty_tuple.type} [concrete] // CHECK:STDOUT: %NonInstance2.impl_witness: = impl_witness @struct_type.b.as.NonInstance2.impl.%NonInstance2.impl_witness_table [concrete] // CHECK:STDOUT: %struct_type.b.as.NonInstance2.impl.F2.type: type = fn_type @struct_type.b.as.NonInstance2.impl.F2 [concrete] // CHECK:STDOUT: %struct_type.b.as.NonInstance2.impl.F2: %struct_type.b.as.NonInstance2.impl.F2.type = struct_value () [concrete] // CHECK:STDOUT: %NonInstance2.facet: %NonInstance2.type = facet_value %struct_type.b, (%NonInstance2.impl_witness) [concrete] -// CHECK:STDOUT: %NonInstance2.WithSelf.F2.type.823: type = fn_type @NonInstance2.WithSelf.F2, @NonInstance2.WithSelf(%NonInstance2.facet) [concrete] -// CHECK:STDOUT: %NonInstance2.WithSelf.F2.da1: %NonInstance2.WithSelf.F2.type.823 = struct_value () [concrete] +// CHECK:STDOUT: %NonInstance2.WithSelf.F2.type.a5d: type = fn_type @NonInstance2.WithSelf.F2, @NonInstance2.WithSelf(%NonInstance2.facet) [concrete] +// CHECK:STDOUT: %NonInstance2.WithSelf.F2.5f6: %NonInstance2.WithSelf.F2.type.a5d = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.d5c: type = pattern_type %struct_type.b [concrete] // CHECK:STDOUT: %NonInstanceCall2.type: type = fn_type @NonInstanceCall2 [concrete] // CHECK:STDOUT: %NonInstanceCall2: %NonInstanceCall2.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.9ed: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.9ed = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.a6b: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] -// CHECK:STDOUT: %Self.afe: %ImplicitAs.type.a6b = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.3cf: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%Dest) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.fff: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self.afe) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.179: %ImplicitAs.WithSelf.Convert.type.fff = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.6e6: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] +// CHECK:STDOUT: %Self.b7e: %ImplicitAs.type.6e6 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.bf1: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%Dest) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c63: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.cba: %ImplicitAs.WithSelf.Convert.type.c63 = struct_value () [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %Dest [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.afe [symbolic] -// CHECK:STDOUT: %pattern_type.b35: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.b7e [symbolic] +// CHECK:STDOUT: %pattern_type.cbe: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %Dest [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.c1d: type = facet_type <@ImplicitAs, @ImplicitAs(%NonInstance2.type)> [concrete] -// CHECK:STDOUT: %Self.a40: %ImplicitAs.type.c1d = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.672: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%NonInstance2.type, %Self.afe) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.c2a: %ImplicitAs.WithSelf.Convert.type.672 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.926: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%NonInstance2.type) [concrete] -// CHECK:STDOUT: %assoc0.866: %ImplicitAs.assoc_type.926 = assoc_entity element0, imports.%Core.import_ref.26e [concrete] -// CHECK:STDOUT: %assoc0.2d5: %ImplicitAs.assoc_type.3cf = assoc_entity element0, imports.%Core.import_ref.8f8 [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.675: type = facet_type <@ImplicitAs, @ImplicitAs(%NonInstance2.type)> [concrete] +// CHECK:STDOUT: %Self.4b7: %ImplicitAs.type.675 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.fcb: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%NonInstance2.type, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.f27: %ImplicitAs.WithSelf.Convert.type.fcb = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.deb: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%NonInstance2.type) [concrete] +// CHECK:STDOUT: %assoc0.524: %ImplicitAs.assoc_type.deb = assoc_entity element0, imports.%Core.import_ref.569 [concrete] +// CHECK:STDOUT: %assoc0.bd2: %ImplicitAs.assoc_type.bf1 = assoc_entity element0, imports.%Core.import_ref.cd5 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -381,15 +381,15 @@ fn InstanceCallFail() { // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: import Core//default // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.9ed = import_ref Core//default, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.de6: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.3cf) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.2d5)] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//default, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.195: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.bf1) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.bd2)] // CHECK:STDOUT: %Core.Convert = import_ref Core//default, Convert, unloaded -// CHECK:STDOUT: %Core.import_ref.26e: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.fff) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.179)] +// CHECK:STDOUT: %Core.import_ref.569: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.c63) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.cba)] // CHECK:STDOUT: %Core.import_ref.b3bc94.2: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%Dest (constants.%Dest)] -// CHECK:STDOUT: %Core.import_ref.c58470.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%Self (constants.%Self.afe)] -// CHECK:STDOUT: %Core.import_ref.450 = import_ref Core//default, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.81ed31.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%Self (constants.%Self.b7e)] +// CHECK:STDOUT: %Core.import_ref.7df = import_ref Core//default, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: %Core.import_ref.b3bc94.3: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%Dest (constants.%Dest)] -// CHECK:STDOUT: %Core.import_ref.8f8 = import_ref Core//default, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.cd5 = import_ref Core//default, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -421,12 +421,12 @@ fn InstanceCallFail() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @NonInstance2 { -// CHECK:STDOUT: %Self: %NonInstance2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.fcf] +// CHECK:STDOUT: %Self: %NonInstance2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.fdf] // CHECK:STDOUT: %NonInstance2.WithSelf.decl = interface_with_self_decl @NonInstance2 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %NonInstance2.WithSelf.F2.decl: @NonInstance2.WithSelf.%NonInstance2.WithSelf.F2.type (%NonInstance2.WithSelf.F2.type.687) = fn_decl @NonInstance2.WithSelf.F2 [symbolic = @NonInstance2.WithSelf.%NonInstance2.WithSelf.F2 (constants.%NonInstance2.WithSelf.F2.89a)] {} {} -// CHECK:STDOUT: %assoc0: %NonInstance2.assoc_type = assoc_entity element0, %NonInstance2.WithSelf.F2.decl [concrete = constants.%assoc0.46e] +// CHECK:STDOUT: %NonInstance2.WithSelf.F2.decl: @NonInstance2.WithSelf.%NonInstance2.WithSelf.F2.type (%NonInstance2.WithSelf.F2.type.14d) = fn_decl @NonInstance2.WithSelf.F2 [symbolic = @NonInstance2.WithSelf.%NonInstance2.WithSelf.F2 (constants.%NonInstance2.WithSelf.F2.a96)] {} {} +// CHECK:STDOUT: %assoc0: %NonInstance2.assoc_type = assoc_entity element0, %NonInstance2.WithSelf.F2.decl [concrete = constants.%assoc0.ef1] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -440,13 +440,13 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic = %Dest (constants.%Dest)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.a6b)] -// CHECK:STDOUT: %Self: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.afe)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7e)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Core.import_ref.450 -// CHECK:STDOUT: .Convert = imports.%Core.import_ref.de6 +// CHECK:STDOUT: .Self = imports.%Core.import_ref.7df +// CHECK:STDOUT: .Convert = imports.%Core.import_ref.195 // CHECK:STDOUT: witness = (imports.%Core.Convert) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -477,37 +477,37 @@ fn InstanceCallFail() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %n.ref: %struct_type.b = name_ref n, %n // CHECK:STDOUT: %NonInstance2.ref: type = name_ref NonInstance2, file.%NonInstance2.decl [concrete = constants.%NonInstance2.type] -// CHECK:STDOUT: %F2.ref: %NonInstance2.assoc_type = name_ref F2, @NonInstance2.WithSelf.%assoc0 [concrete = constants.%assoc0.46e] +// CHECK:STDOUT: %F2.ref: %NonInstance2.assoc_type = name_ref F2, @NonInstance2.WithSelf.%assoc0 [concrete = constants.%assoc0.ef1] // CHECK:STDOUT: %.loc21: %NonInstance2.type = converted %n.ref, [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(imports.%Core.import_ref.b3bc94.2: type, imports.%Core.import_ref.c58470.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b)) [from "core.carbon"] { +// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(imports.%Core.import_ref.b3bc94.2: type, imports.%Core.import_ref.81ed31.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6)) [from "core.carbon"] { // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic = %Dest (constants.%Dest)] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.a6b)] -// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.afe)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7e)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.b35)] +// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.cbe)] // CHECK:STDOUT: %.1: Core.Form = init_form %Dest [symbolic = %.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.2: type = pattern_type %Dest [symbolic = %pattern_type.2 (constants.%pattern_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NonInstance2.WithSelf(constants.%Self.fcf) { +// CHECK:STDOUT: specific @NonInstance2.WithSelf(constants.%Self.fdf) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.fcf -// CHECK:STDOUT: %NonInstance2.WithSelf.F2.type => constants.%NonInstance2.WithSelf.F2.type.687 -// CHECK:STDOUT: %NonInstance2.WithSelf.F2 => constants.%NonInstance2.WithSelf.F2.89a +// CHECK:STDOUT: %Self => constants.%Self.fdf +// CHECK:STDOUT: %NonInstance2.WithSelf.F2.type => constants.%NonInstance2.WithSelf.F2.type.14d +// CHECK:STDOUT: %NonInstance2.WithSelf.F2 => constants.%NonInstance2.WithSelf.F2.a96 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NonInstance2.WithSelf.F2(constants.%Self.fcf) {} +// CHECK:STDOUT: specific @NonInstance2.WithSelf.F2(constants.%Self.fdf) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @NonInstance2.WithSelf(constants.%NonInstance2.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%NonInstance2.facet -// CHECK:STDOUT: %NonInstance2.WithSelf.F2.type => constants.%NonInstance2.WithSelf.F2.type.823 -// CHECK:STDOUT: %NonInstance2.WithSelf.F2 => constants.%NonInstance2.WithSelf.F2.da1 +// CHECK:STDOUT: %NonInstance2.WithSelf.F2.type => constants.%NonInstance2.WithSelf.F2.type.a5d +// CHECK:STDOUT: %NonInstance2.WithSelf.F2 => constants.%NonInstance2.WithSelf.F2.5f6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @NonInstance2.WithSelf.F2(constants.%NonInstance2.facet) {} @@ -516,14 +516,14 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Dest => constants.%Dest // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%Dest, constants.%Self.afe) {} +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%Dest, constants.%Self.b7e) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%Dest, constants.%Self.afe) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%Dest, constants.%Self.b7e) { // CHECK:STDOUT: %Dest => constants.%Dest -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.a6b -// CHECK:STDOUT: %Self => constants.%Self.afe +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.6e6 +// CHECK:STDOUT: %Self => constants.%Self.b7e // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.b35 +// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.cbe // CHECK:STDOUT: %.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -532,62 +532,62 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Dest => constants.%NonInstance2.type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.c1d -// CHECK:STDOUT: %Self => constants.%Self.a40 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.675 +// CHECK:STDOUT: %Self => constants.%Self.4b7 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%NonInstance2.type, constants.%Self.afe) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%NonInstance2.type, constants.%Self.b7e) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Dest => constants.%NonInstance2.type -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.c1d -// CHECK:STDOUT: %Self => constants.%Self.afe -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.672 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.c2a -// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.926 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.866 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.675 +// CHECK:STDOUT: %Self => constants.%Self.b7e +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.fcb +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.f27 +// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.deb +// CHECK:STDOUT: %assoc0 => constants.%assoc0.524 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_non-instance_indirect.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %NonInstance3.type: type = facet_type <@NonInstance3> [concrete] -// CHECK:STDOUT: %Self.690: %NonInstance3.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %NonInstance3.WithSelf.F3.type.28f: type = fn_type @NonInstance3.WithSelf.F3, @NonInstance3.WithSelf(%Self.690) [symbolic] +// CHECK:STDOUT: %Self.4a5: %NonInstance3.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %NonInstance3.WithSelf.F3.type.41c: type = fn_type @NonInstance3.WithSelf.F3, @NonInstance3.WithSelf(%Self.4a5) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %NonInstance3.WithSelf.F3.f3f: %NonInstance3.WithSelf.F3.type.28f = struct_value () [symbolic] +// CHECK:STDOUT: %NonInstance3.WithSelf.F3.cf1: %NonInstance3.WithSelf.F3.type.41c = struct_value () [symbolic] // CHECK:STDOUT: %NonInstance3.assoc_type: type = assoc_entity_type @NonInstance3 [concrete] -// CHECK:STDOUT: %assoc0.9ab: %NonInstance3.assoc_type = assoc_entity element0, @NonInstance3.WithSelf.%NonInstance3.WithSelf.F3.decl [concrete] +// CHECK:STDOUT: %assoc0.70f: %NonInstance3.assoc_type = assoc_entity element0, @NonInstance3.WithSelf.%NonInstance3.WithSelf.F3.decl [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct_type.c: type = struct_type {.c: %empty_tuple.type} [concrete] // CHECK:STDOUT: %NonInstance3.impl_witness: = impl_witness @struct_type.c.as.NonInstance3.impl.%NonInstance3.impl_witness_table [concrete] // CHECK:STDOUT: %struct_type.c.as.NonInstance3.impl.F3.type: type = fn_type @struct_type.c.as.NonInstance3.impl.F3 [concrete] // CHECK:STDOUT: %struct_type.c.as.NonInstance3.impl.F3: %struct_type.c.as.NonInstance3.impl.F3.type = struct_value () [concrete] // CHECK:STDOUT: %NonInstance3.facet: %NonInstance3.type = facet_value %struct_type.c, (%NonInstance3.impl_witness) [concrete] -// CHECK:STDOUT: %NonInstance3.WithSelf.F3.type.ee4: type = fn_type @NonInstance3.WithSelf.F3, @NonInstance3.WithSelf(%NonInstance3.facet) [concrete] -// CHECK:STDOUT: %NonInstance3.WithSelf.F3.f37: %NonInstance3.WithSelf.F3.type.ee4 = struct_value () [concrete] +// CHECK:STDOUT: %NonInstance3.WithSelf.F3.type.c14: type = fn_type @NonInstance3.WithSelf.F3, @NonInstance3.WithSelf(%NonInstance3.facet) [concrete] +// CHECK:STDOUT: %NonInstance3.WithSelf.F3.122: %NonInstance3.WithSelf.F3.type.c14 = struct_value () [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %struct_type.c [concrete] // CHECK:STDOUT: %pattern_type.5f5: type = pattern_type %ptr [concrete] // CHECK:STDOUT: %NonInstanceCallIndirect.type: type = fn_type @NonInstanceCallIndirect [concrete] // CHECK:STDOUT: %NonInstanceCallIndirect: %NonInstanceCallIndirect.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.9ed: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.9ed = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.a6b: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] -// CHECK:STDOUT: %Self.afe: %ImplicitAs.type.a6b = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.3cf: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%Dest) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.fff: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self.afe) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.179: %ImplicitAs.WithSelf.Convert.type.fff = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.6e6: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] +// CHECK:STDOUT: %Self.b7e: %ImplicitAs.type.6e6 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.bf1: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%Dest) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c63: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.cba: %ImplicitAs.WithSelf.Convert.type.c63 = struct_value () [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %Dest [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.afe [symbolic] -// CHECK:STDOUT: %pattern_type.b35: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.b7e [symbolic] +// CHECK:STDOUT: %pattern_type.cbe: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %Dest [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.d9b: type = facet_type <@ImplicitAs, @ImplicitAs(%NonInstance3.type)> [concrete] -// CHECK:STDOUT: %Self.f83: %ImplicitAs.type.d9b = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f0a: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%NonInstance3.type, %Self.afe) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.dfe: %ImplicitAs.WithSelf.Convert.type.f0a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.a36: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%NonInstance3.type) [concrete] -// CHECK:STDOUT: %assoc0.e98: %ImplicitAs.assoc_type.a36 = assoc_entity element0, imports.%Core.import_ref.26e [concrete] -// CHECK:STDOUT: %assoc0.2d5: %ImplicitAs.assoc_type.3cf = assoc_entity element0, imports.%Core.import_ref.8f8 [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.254: type = facet_type <@ImplicitAs, @ImplicitAs(%NonInstance3.type)> [concrete] +// CHECK:STDOUT: %Self.5ba: %ImplicitAs.type.254 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.2d7: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%NonInstance3.type, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.8ed: %ImplicitAs.WithSelf.Convert.type.2d7 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.b3a: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%NonInstance3.type) [concrete] +// CHECK:STDOUT: %assoc0.b49: %ImplicitAs.assoc_type.b3a = assoc_entity element0, imports.%Core.import_ref.569 [concrete] +// CHECK:STDOUT: %assoc0.bd2: %ImplicitAs.assoc_type.bf1 = assoc_entity element0, imports.%Core.import_ref.cd5 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -595,15 +595,15 @@ fn InstanceCallFail() { // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: import Core//default // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.9ed = import_ref Core//default, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.de6: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.3cf) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.2d5)] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//default, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.195: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.bf1) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.bd2)] // CHECK:STDOUT: %Core.Convert = import_ref Core//default, Convert, unloaded -// CHECK:STDOUT: %Core.import_ref.26e: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.fff) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.179)] +// CHECK:STDOUT: %Core.import_ref.569: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.c63) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.cba)] // CHECK:STDOUT: %Core.import_ref.b3bc94.2: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%Dest (constants.%Dest)] -// CHECK:STDOUT: %Core.import_ref.c58470.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%Self (constants.%Self.afe)] -// CHECK:STDOUT: %Core.import_ref.450 = import_ref Core//default, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.81ed31.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%Self (constants.%Self.b7e)] +// CHECK:STDOUT: %Core.import_ref.7df = import_ref Core//default, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: %Core.import_ref.b3bc94.3: type = import_ref Core//default, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%Dest (constants.%Dest)] -// CHECK:STDOUT: %Core.import_ref.8f8 = import_ref Core//default, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.cd5 = import_ref Core//default, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -636,12 +636,12 @@ fn InstanceCallFail() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @NonInstance3 { -// CHECK:STDOUT: %Self: %NonInstance3.type = symbolic_binding Self, 0 [symbolic = constants.%Self.690] +// CHECK:STDOUT: %Self: %NonInstance3.type = symbolic_binding Self, 0 [symbolic = constants.%Self.4a5] // CHECK:STDOUT: %NonInstance3.WithSelf.decl = interface_with_self_decl @NonInstance3 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %NonInstance3.WithSelf.F3.decl: @NonInstance3.WithSelf.%NonInstance3.WithSelf.F3.type (%NonInstance3.WithSelf.F3.type.28f) = fn_decl @NonInstance3.WithSelf.F3 [symbolic = @NonInstance3.WithSelf.%NonInstance3.WithSelf.F3 (constants.%NonInstance3.WithSelf.F3.f3f)] {} {} -// CHECK:STDOUT: %assoc0: %NonInstance3.assoc_type = assoc_entity element0, %NonInstance3.WithSelf.F3.decl [concrete = constants.%assoc0.9ab] +// CHECK:STDOUT: %NonInstance3.WithSelf.F3.decl: @NonInstance3.WithSelf.%NonInstance3.WithSelf.F3.type (%NonInstance3.WithSelf.F3.type.41c) = fn_decl @NonInstance3.WithSelf.F3 [symbolic = @NonInstance3.WithSelf.%NonInstance3.WithSelf.F3 (constants.%NonInstance3.WithSelf.F3.cf1)] {} {} +// CHECK:STDOUT: %assoc0: %NonInstance3.assoc_type = assoc_entity element0, %NonInstance3.WithSelf.F3.decl [concrete = constants.%assoc0.70f] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -655,13 +655,13 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic = %Dest (constants.%Dest)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.a6b)] -// CHECK:STDOUT: %Self: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.afe)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7e)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Core.import_ref.450 -// CHECK:STDOUT: .Convert = imports.%Core.import_ref.de6 +// CHECK:STDOUT: .Self = imports.%Core.import_ref.7df +// CHECK:STDOUT: .Convert = imports.%Core.import_ref.195 // CHECK:STDOUT: witness = (imports.%Core.Convert) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -692,38 +692,38 @@ fn InstanceCallFail() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %p.ref: %ptr = name_ref p, %p // CHECK:STDOUT: %NonInstance3.ref: type = name_ref NonInstance3, file.%NonInstance3.decl [concrete = constants.%NonInstance3.type] -// CHECK:STDOUT: %F3.ref: %NonInstance3.assoc_type = name_ref F3, @NonInstance3.WithSelf.%assoc0 [concrete = constants.%assoc0.9ab] +// CHECK:STDOUT: %F3.ref: %NonInstance3.assoc_type = name_ref F3, @NonInstance3.WithSelf.%assoc0 [concrete = constants.%assoc0.70f] // CHECK:STDOUT: %.loc21_4.1: ref %struct_type.c = deref %p.ref // CHECK:STDOUT: %.loc21_4.2: %NonInstance3.type = converted %.loc21_4.1, [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(imports.%Core.import_ref.b3bc94.2: type, imports.%Core.import_ref.c58470.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b)) [from "core.carbon"] { +// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(imports.%Core.import_ref.b3bc94.2: type, imports.%Core.import_ref.81ed31.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6)) [from "core.carbon"] { // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic = %Dest (constants.%Dest)] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.a6b)] -// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.afe)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7e)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.b35)] +// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.cbe)] // CHECK:STDOUT: %.1: Core.Form = init_form %Dest [symbolic = %.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.2: type = pattern_type %Dest [symbolic = %pattern_type.2 (constants.%pattern_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NonInstance3.WithSelf(constants.%Self.690) { +// CHECK:STDOUT: specific @NonInstance3.WithSelf(constants.%Self.4a5) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.690 -// CHECK:STDOUT: %NonInstance3.WithSelf.F3.type => constants.%NonInstance3.WithSelf.F3.type.28f -// CHECK:STDOUT: %NonInstance3.WithSelf.F3 => constants.%NonInstance3.WithSelf.F3.f3f +// CHECK:STDOUT: %Self => constants.%Self.4a5 +// CHECK:STDOUT: %NonInstance3.WithSelf.F3.type => constants.%NonInstance3.WithSelf.F3.type.41c +// CHECK:STDOUT: %NonInstance3.WithSelf.F3 => constants.%NonInstance3.WithSelf.F3.cf1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NonInstance3.WithSelf.F3(constants.%Self.690) {} +// CHECK:STDOUT: specific @NonInstance3.WithSelf.F3(constants.%Self.4a5) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @NonInstance3.WithSelf(constants.%NonInstance3.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%NonInstance3.facet -// CHECK:STDOUT: %NonInstance3.WithSelf.F3.type => constants.%NonInstance3.WithSelf.F3.type.ee4 -// CHECK:STDOUT: %NonInstance3.WithSelf.F3 => constants.%NonInstance3.WithSelf.F3.f37 +// CHECK:STDOUT: %NonInstance3.WithSelf.F3.type => constants.%NonInstance3.WithSelf.F3.type.c14 +// CHECK:STDOUT: %NonInstance3.WithSelf.F3 => constants.%NonInstance3.WithSelf.F3.122 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @NonInstance3.WithSelf.F3(constants.%NonInstance3.facet) {} @@ -732,14 +732,14 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Dest => constants.%Dest // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%Dest, constants.%Self.afe) {} +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%Dest, constants.%Self.b7e) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%Dest, constants.%Self.afe) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%Dest, constants.%Self.b7e) { // CHECK:STDOUT: %Dest => constants.%Dest -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.a6b -// CHECK:STDOUT: %Self => constants.%Self.afe +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.6e6 +// CHECK:STDOUT: %Self => constants.%Self.b7e // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.b35 +// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.cbe // CHECK:STDOUT: %.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -748,19 +748,19 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Dest => constants.%NonInstance3.type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.d9b -// CHECK:STDOUT: %Self => constants.%Self.f83 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.254 +// CHECK:STDOUT: %Self => constants.%Self.5ba // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%NonInstance3.type, constants.%Self.afe) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%NonInstance3.type, constants.%Self.b7e) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Dest => constants.%NonInstance3.type -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.d9b -// CHECK:STDOUT: %Self => constants.%Self.afe -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.f0a -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.dfe -// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.a36 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.e98 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.254 +// CHECK:STDOUT: %Self => constants.%Self.b7e +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.2d7 +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.8ed +// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.b3a +// CHECK:STDOUT: %assoc0 => constants.%assoc0.b49 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- instance_success.carbon @@ -769,10 +769,10 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Instance1.type: type = facet_type <@Instance1> [concrete] // CHECK:STDOUT: %Self: %Instance1.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.57f: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %Instance1.WithSelf.G1.type.27d: type = fn_type @Instance1.WithSelf.G1, @Instance1.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %pattern_type.927: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Instance1.WithSelf.G1.type.d06: type = fn_type @Instance1.WithSelf.G1, @Instance1.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Instance1.WithSelf.G1.eb8: %Instance1.WithSelf.G1.type.27d = struct_value () [symbolic] +// CHECK:STDOUT: %Instance1.WithSelf.G1.d40: %Instance1.WithSelf.G1.type.d06 = struct_value () [symbolic] // CHECK:STDOUT: %Instance1.assoc_type: type = assoc_entity_type @Instance1 [concrete] // CHECK:STDOUT: %assoc0: %Instance1.assoc_type = assoc_entity element0, @Instance1.WithSelf.%Instance1.WithSelf.G1.decl [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] @@ -782,11 +782,11 @@ fn InstanceCallFail() { // CHECK:STDOUT: %struct_type.d.as.Instance1.impl.G1.type: type = fn_type @struct_type.d.as.Instance1.impl.G1 [concrete] // CHECK:STDOUT: %struct_type.d.as.Instance1.impl.G1: %struct_type.d.as.Instance1.impl.G1.type = struct_value () [concrete] // CHECK:STDOUT: %Instance1.facet: %Instance1.type = facet_value %struct_type.d, (%Instance1.impl_witness) [concrete] -// CHECK:STDOUT: %Instance1.WithSelf.G1.type.742: type = fn_type @Instance1.WithSelf.G1, @Instance1.WithSelf(%Instance1.facet) [concrete] -// CHECK:STDOUT: %Instance1.WithSelf.G1.1b9: %Instance1.WithSelf.G1.type.742 = struct_value () [concrete] +// CHECK:STDOUT: %Instance1.WithSelf.G1.type.971: type = fn_type @Instance1.WithSelf.G1, @Instance1.WithSelf(%Instance1.facet) [concrete] +// CHECK:STDOUT: %Instance1.WithSelf.G1.d83: %Instance1.WithSelf.G1.type.971 = struct_value () [concrete] // CHECK:STDOUT: %InstanceCall.type: type = fn_type @InstanceCall [concrete] // CHECK:STDOUT: %InstanceCall: %InstanceCall.type = struct_value () [concrete] -// CHECK:STDOUT: %.46c: type = fn_type_with_self_type %Instance1.WithSelf.G1.type.742, %Instance1.facet [concrete] +// CHECK:STDOUT: %.4fc: type = fn_type_with_self_type %Instance1.WithSelf.G1.type.971, %Instance1.facet [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %struct_type.d [concrete] // CHECK:STDOUT: %pattern_type.8d6: type = pattern_type %ptr [concrete] // CHECK:STDOUT: %InstanceCallIndirect.type: type = fn_type @InstanceCallIndirect [concrete] @@ -839,9 +839,9 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Instance1.WithSelf.decl = interface_with_self_decl @Instance1 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Instance1.WithSelf.G1.decl: @Instance1.WithSelf.%Instance1.WithSelf.G1.type (%Instance1.WithSelf.G1.type.27d) = fn_decl @Instance1.WithSelf.G1 [symbolic = @Instance1.WithSelf.%Instance1.WithSelf.G1 (constants.%Instance1.WithSelf.G1.eb8)] { -// CHECK:STDOUT: %self.param_patt: @Instance1.WithSelf.G1.%pattern_type (%pattern_type.57f) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Instance1.WithSelf.G1.%pattern_type (%pattern_type.57f) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %Instance1.WithSelf.G1.decl: @Instance1.WithSelf.%Instance1.WithSelf.G1.type (%Instance1.WithSelf.G1.type.d06) = fn_decl @Instance1.WithSelf.G1 [symbolic = @Instance1.WithSelf.%Instance1.WithSelf.G1 (constants.%Instance1.WithSelf.G1.d40)] { +// CHECK:STDOUT: %self.param_patt: @Instance1.WithSelf.G1.%pattern_type (%pattern_type.927) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Instance1.WithSelf.G1.%pattern_type (%pattern_type.927) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @Instance1.WithSelf.G1.%Self.as_type.loc4_15.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc4_15.1: type = splice_block %.loc4_15.2 [symbolic = %Self.as_type.loc4_15.1 (constants.%Self.as_type)] { @@ -882,7 +882,7 @@ fn InstanceCallFail() { // CHECK:STDOUT: generic fn @Instance1.WithSelf.G1(@Instance1.%Self: %Instance1.type) { // CHECK:STDOUT: %Self: %Instance1.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc4_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc4_15.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc4_15.1 [symbolic = %pattern_type (constants.%pattern_type.57f)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc4_15.1 [symbolic = %pattern_type (constants.%pattern_type.927)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @Instance1.WithSelf.G1.%Self.as_type.loc4_15.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -897,7 +897,7 @@ fn InstanceCallFail() { // CHECK:STDOUT: %n.ref: %struct_type.d = name_ref n, %n // CHECK:STDOUT: %Instance1.ref: type = name_ref Instance1, file.%Instance1.decl [concrete = constants.%Instance1.type] // CHECK:STDOUT: %G1.ref: %Instance1.assoc_type = name_ref G1, @Instance1.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.46c = impl_witness_access constants.%Instance1.impl_witness, element0 [concrete = constants.%struct_type.d.as.Instance1.impl.G1] +// CHECK:STDOUT: %impl.elem0: %.4fc = impl_witness_access constants.%Instance1.impl_witness, element0 [concrete = constants.%struct_type.d.as.Instance1.impl.G1] // CHECK:STDOUT: %bound_method: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %struct_type.d.as.Instance1.impl.G1.call: init %empty_tuple.type = call %bound_method(%n.ref) // CHECK:STDOUT: return @@ -909,7 +909,7 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Instance1.ref: type = name_ref Instance1, file.%Instance1.decl [concrete = constants.%Instance1.type] // CHECK:STDOUT: %G1.ref: %Instance1.assoc_type = name_ref G1, @Instance1.WithSelf.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %.loc16_4.1: ref %struct_type.d = deref %p.ref -// CHECK:STDOUT: %impl.elem0: %.46c = impl_witness_access constants.%Instance1.impl_witness, element0 [concrete = constants.%struct_type.d.as.Instance1.impl.G1] +// CHECK:STDOUT: %impl.elem0: %.4fc = impl_witness_access constants.%Instance1.impl_witness, element0 [concrete = constants.%struct_type.d.as.Instance1.impl.G1] // CHECK:STDOUT: %bound_method: = bound_method %.loc16_4.1, %impl.elem0 // CHECK:STDOUT: %.loc16_4.2: ref %empty_tuple.type = struct_access %.loc16_4.1, element0 // CHECK:STDOUT: %tuple: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple] @@ -923,21 +923,21 @@ fn InstanceCallFail() { // CHECK:STDOUT: specific @Instance1.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %Instance1.WithSelf.G1.type => constants.%Instance1.WithSelf.G1.type.27d -// CHECK:STDOUT: %Instance1.WithSelf.G1 => constants.%Instance1.WithSelf.G1.eb8 +// CHECK:STDOUT: %Instance1.WithSelf.G1.type => constants.%Instance1.WithSelf.G1.type.d06 +// CHECK:STDOUT: %Instance1.WithSelf.G1 => constants.%Instance1.WithSelf.G1.d40 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance1.WithSelf.G1(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc4_15.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.57f +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.927 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance1.WithSelf(constants.%Instance1.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Instance1.facet -// CHECK:STDOUT: %Instance1.WithSelf.G1.type => constants.%Instance1.WithSelf.G1.type.742 -// CHECK:STDOUT: %Instance1.WithSelf.G1 => constants.%Instance1.WithSelf.G1.1b9 +// CHECK:STDOUT: %Instance1.WithSelf.G1.type => constants.%Instance1.WithSelf.G1.type.971 +// CHECK:STDOUT: %Instance1.WithSelf.G1 => constants.%Instance1.WithSelf.G1.d83 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance1.WithSelf.G1(constants.%Instance1.facet) { @@ -952,10 +952,10 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Instance2.type: type = facet_type <@Instance2> [concrete] // CHECK:STDOUT: %Self: %Instance2.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.e07: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %Instance2.WithSelf.G2.type.192: type = fn_type @Instance2.WithSelf.G2, @Instance2.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %pattern_type.e39: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Instance2.WithSelf.G2.type.5db: type = fn_type @Instance2.WithSelf.G2, @Instance2.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Instance2.WithSelf.G2.a42: %Instance2.WithSelf.G2.type.192 = struct_value () [symbolic] +// CHECK:STDOUT: %Instance2.WithSelf.G2.7b8: %Instance2.WithSelf.G2.type.5db = struct_value () [symbolic] // CHECK:STDOUT: %Instance2.assoc_type: type = assoc_entity_type @Instance2 [concrete] // CHECK:STDOUT: %assoc0: %Instance2.assoc_type = assoc_entity element0, @Instance2.WithSelf.%Instance2.WithSelf.G2.decl [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] @@ -965,8 +965,8 @@ fn InstanceCallFail() { // CHECK:STDOUT: %struct_type.e.as.Instance2.impl.G2.type: type = fn_type @struct_type.e.as.Instance2.impl.G2 [concrete] // CHECK:STDOUT: %struct_type.e.as.Instance2.impl.G2: %struct_type.e.as.Instance2.impl.G2.type = struct_value () [concrete] // CHECK:STDOUT: %Instance2.facet: %Instance2.type = facet_value %struct_type.e, (%Instance2.impl_witness) [concrete] -// CHECK:STDOUT: %Instance2.WithSelf.G2.type.d46: type = fn_type @Instance2.WithSelf.G2, @Instance2.WithSelf(%Instance2.facet) [concrete] -// CHECK:STDOUT: %Instance2.WithSelf.G2.80e: %Instance2.WithSelf.G2.type.d46 = struct_value () [concrete] +// CHECK:STDOUT: %Instance2.WithSelf.G2.type.55e: type = fn_type @Instance2.WithSelf.G2, @Instance2.WithSelf(%Instance2.facet) [concrete] +// CHECK:STDOUT: %Instance2.WithSelf.G2.d90: %Instance2.WithSelf.G2.type.55e = struct_value () [concrete] // CHECK:STDOUT: %InstanceCallFail.type: type = fn_type @InstanceCallFail [concrete] // CHECK:STDOUT: %InstanceCallFail: %InstanceCallFail.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -991,9 +991,9 @@ fn InstanceCallFail() { // CHECK:STDOUT: %Instance2.WithSelf.decl = interface_with_self_decl @Instance2 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Instance2.WithSelf.G2.decl: @Instance2.WithSelf.%Instance2.WithSelf.G2.type (%Instance2.WithSelf.G2.type.192) = fn_decl @Instance2.WithSelf.G2 [symbolic = @Instance2.WithSelf.%Instance2.WithSelf.G2 (constants.%Instance2.WithSelf.G2.a42)] { -// CHECK:STDOUT: %self.param_patt: @Instance2.WithSelf.G2.%pattern_type (%pattern_type.e07) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Instance2.WithSelf.G2.%pattern_type (%pattern_type.e07) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %Instance2.WithSelf.G2.decl: @Instance2.WithSelf.%Instance2.WithSelf.G2.type (%Instance2.WithSelf.G2.type.5db) = fn_decl @Instance2.WithSelf.G2 [symbolic = @Instance2.WithSelf.%Instance2.WithSelf.G2 (constants.%Instance2.WithSelf.G2.7b8)] { +// CHECK:STDOUT: %self.param_patt: @Instance2.WithSelf.G2.%pattern_type (%pattern_type.e39) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Instance2.WithSelf.G2.%pattern_type (%pattern_type.e39) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @Instance2.WithSelf.G2.%Self.as_type.loc4_15.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc4_15.1: type = splice_block %.loc4_15.2 [symbolic = %Self.as_type.loc4_15.1 (constants.%Self.as_type)] { @@ -1034,7 +1034,7 @@ fn InstanceCallFail() { // CHECK:STDOUT: generic fn @Instance2.WithSelf.G2(@Instance2.%Self: %Instance2.type) { // CHECK:STDOUT: %Self: %Instance2.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc4_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc4_15.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc4_15.1 [symbolic = %pattern_type (constants.%pattern_type.e07)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc4_15.1 [symbolic = %pattern_type (constants.%pattern_type.e39)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @Instance2.WithSelf.G2.%Self.as_type.loc4_15.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -1057,21 +1057,21 @@ fn InstanceCallFail() { // CHECK:STDOUT: specific @Instance2.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %Instance2.WithSelf.G2.type => constants.%Instance2.WithSelf.G2.type.192 -// CHECK:STDOUT: %Instance2.WithSelf.G2 => constants.%Instance2.WithSelf.G2.a42 +// CHECK:STDOUT: %Instance2.WithSelf.G2.type => constants.%Instance2.WithSelf.G2.type.5db +// CHECK:STDOUT: %Instance2.WithSelf.G2 => constants.%Instance2.WithSelf.G2.7b8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance2.WithSelf.G2(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc4_15.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e07 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e39 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance2.WithSelf(constants.%Instance2.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Instance2.facet -// CHECK:STDOUT: %Instance2.WithSelf.G2.type => constants.%Instance2.WithSelf.G2.type.d46 -// CHECK:STDOUT: %Instance2.WithSelf.G2 => constants.%Instance2.WithSelf.G2.80e +// CHECK:STDOUT: %Instance2.WithSelf.G2.type => constants.%Instance2.WithSelf.G2.type.55e +// CHECK:STDOUT: %Instance2.WithSelf.G2 => constants.%Instance2.WithSelf.G2.d90 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance2.WithSelf.G2(constants.%Instance2.facet) { diff --git a/toolchain/check/testdata/impl/error_recovery.carbon b/toolchain/check/testdata/impl/error_recovery.carbon index 22a005f0fca8..ebb24928d2f5 100644 --- a/toolchain/check/testdata/impl/error_recovery.carbon +++ b/toolchain/check/testdata/impl/error_recovery.carbon @@ -172,7 +172,7 @@ impl C as I { // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %T, @Z [symbolic] -// CHECK:STDOUT: %.857: require_specific_def_type = require_specific_def @T.as.Z.impl(%T) [symbolic] +// CHECK:STDOUT: %.e4f: require_specific_def_type = require_specific_def @T.as.Z.impl(%T) [symbolic] // CHECK:STDOUT: %Z.facet: %Z.type = facet_value %T, (%Z.lookup_impl_witness) [symbolic] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%Z.facet) [symbolic] // CHECK:STDOUT: } @@ -193,7 +193,7 @@ impl C as I { // CHECK:STDOUT: %T.loc13_7.1: type = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %.loc19_6.2: require_specific_def_type = require_specific_def @T.as.Z.impl(%T.loc13_7.1) [symbolic = %.loc19_6.2 (constants.%.857)] +// CHECK:STDOUT: %.loc19_6.2: require_specific_def_type = require_specific_def @T.as.Z.impl(%T.loc13_7.1) [symbolic = %.loc19_6.2 (constants.%.e4f)] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %T.loc13_7.1, @Z [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness)] // CHECK:STDOUT: %Z.facet.loc19_6.2: %Z.type = facet_value %T.loc13_7.1, (%Z.lookup_impl_witness) [symbolic = %Z.facet.loc19_6.2 (constants.%Z.facet)] // CHECK:STDOUT: %F.specific_fn.loc19_3.2: = specific_function constants.%F, @F(%Z.facet.loc19_6.2) [symbolic = %F.specific_fn.loc19_3.2 (constants.%F.specific_fn)] @@ -228,10 +228,10 @@ impl C as I { // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %T, @Z [symbolic] -// CHECK:STDOUT: %.dc4: require_specific_def_type = require_specific_def @T.as.Z.impl(%T) [symbolic] +// CHECK:STDOUT: %.e4f: require_specific_def_type = require_specific_def @T.as.Z.impl(%T) [symbolic] // CHECK:STDOUT: %Z.facet: %Z.type = facet_value %T, (%Z.lookup_impl_witness) [symbolic] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%Z.facet) [symbolic] -// CHECK:STDOUT: %.650: require_specific_def_type = require_specific_def @T.as.Z.impl(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %.997: require_specific_def_type = require_specific_def @T.as.Z.impl(%empty_tuple.type) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -250,7 +250,7 @@ impl C as I { // CHECK:STDOUT: %T.loc13_7.1: type = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %.loc19_6.2: require_specific_def_type = require_specific_def @T.as.Z.impl(%T.loc13_7.1) [symbolic = %.loc19_6.2 (constants.%.dc4)] +// CHECK:STDOUT: %.loc19_6.2: require_specific_def_type = require_specific_def @T.as.Z.impl(%T.loc13_7.1) [symbolic = %.loc19_6.2 (constants.%.e4f)] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %T.loc13_7.1, @Z [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness)] // CHECK:STDOUT: %Z.facet.loc19_6.2: %Z.type = facet_value %T.loc13_7.1, (%Z.lookup_impl_witness) [symbolic = %Z.facet.loc19_6.2 (constants.%Z.facet)] // CHECK:STDOUT: %F.specific_fn.loc19_3.2: = specific_function constants.%F, @F(%Z.facet.loc19_6.2) [symbolic = %F.specific_fn.loc19_3.2 (constants.%F.specific_fn)] @@ -275,7 +275,7 @@ impl C as I { // CHECK:STDOUT: %T.loc13_7.1 => constants.%empty_tuple.type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %.loc19_6.2 => constants.%.650 +// CHECK:STDOUT: %.loc19_6.2 => constants.%.997 // CHECK:STDOUT: %Z.lookup_impl_witness => // CHECK:STDOUT: %Z.facet.loc19_6.2 => // CHECK:STDOUT: %F.specific_fn.loc19_3.2 => @@ -289,8 +289,8 @@ impl C as I { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %Z.impl_witness.3af: = impl_witness @T.as.Z.impl.%Z.impl_witness_table, @T.as.Z.impl(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %Z.facet: %Z.type = facet_value %empty_tuple.type, (%Z.impl_witness.3af) [concrete] +// CHECK:STDOUT: %Z.impl_witness.b0a: = impl_witness @T.as.Z.impl.%Z.impl_witness_table, @T.as.Z.impl(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %Z.facet: %Z.type = facet_value %empty_tuple.type, (%Z.impl_witness.b0a) [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%Z.facet) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -298,7 +298,7 @@ impl C as I { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %.loc18_6: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %Z.facet: %Z.type = facet_value constants.%empty_tuple.type, (constants.%Z.impl_witness.3af) [concrete = constants.%Z.facet] +// CHECK:STDOUT: %Z.facet: %Z.type = facet_value constants.%empty_tuple.type, (constants.%Z.impl_witness.b0a) [concrete = constants.%Z.facet] // CHECK:STDOUT: %.loc18_7: %Z.type = converted %.loc18_6, %Z.facet [concrete = constants.%Z.facet] // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%Z.facet) [concrete = constants.%F.specific_fn] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn() diff --git a/toolchain/check/testdata/impl/extend_impl_generic.carbon b/toolchain/check/testdata/impl/extend_impl_generic.carbon index 3e9da6255f09..91afcb2839d8 100644 --- a/toolchain/check/testdata/impl/extend_impl_generic.carbon +++ b/toolchain/check/testdata/impl/extend_impl_generic.carbon @@ -58,17 +58,17 @@ class X(U:! type) { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %HasF.type.a6d: type = generic_interface_type @HasF [concrete] +// CHECK:STDOUT: %HasF.type.040: type = generic_interface_type @HasF [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %HasF.generic: %HasF.type.a6d = struct_value () [concrete] -// CHECK:STDOUT: %HasF.type.81d: type = facet_type <@HasF, @HasF(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.fea: %HasF.type.81d = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %HasF.generic: %HasF.type.040 = struct_value () [concrete] +// CHECK:STDOUT: %HasF.type.91c: type = facet_type <@HasF, @HasF(%T.67d)> [symbolic] +// CHECK:STDOUT: %Self.067: %HasF.type.91c = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %.184347.1: Core.Form = init_form %T.67d [symbolic] // CHECK:STDOUT: %pattern_type.51d1c4.1: type = pattern_type %T.67d [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.cd0: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%T.67d, %Self.fea) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.252: %HasF.WithSelf.F.type.cd0 = struct_value () [symbolic] -// CHECK:STDOUT: %HasF.assoc_type.ea5: type = assoc_entity_type @HasF, @HasF(%T.67d) [symbolic] -// CHECK:STDOUT: %assoc0.702: %HasF.assoc_type.ea5 = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.d19: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%T.67d, %Self.067) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.b0e: %HasF.WithSelf.F.type.d19 = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.assoc_type.93b: type = assoc_entity_type @HasF, @HasF(%T.67d) [symbolic] +// CHECK:STDOUT: %assoc0.95a: %HasF.assoc_type.93b = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %Param: type = class_type @Param [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] @@ -76,69 +76,69 @@ class X(U:! type) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Param.elem: type = unbound_element_type %Param, %i32 [concrete] -// CHECK:STDOUT: %struct_type.x.2bb: type = struct_type {.x: %i32} [concrete] -// CHECK:STDOUT: %complete_type.fa5: = complete_type_witness %struct_type.x.2bb [concrete] +// CHECK:STDOUT: %struct_type.x.06a: type = struct_type {.x: %i32} [concrete] +// CHECK:STDOUT: %complete_type.9a8: = complete_type_witness %struct_type.x.06a [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %HasF.type.264: type = facet_type <@HasF, @HasF(%Param)> [concrete] +// CHECK:STDOUT: %HasF.type.d16: type = facet_type <@HasF, @HasF(%Param)> [concrete] // CHECK:STDOUT: %HasF.impl_witness: = impl_witness @C.as.HasF.impl.%HasF.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.975: %HasF.type.264 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.7ea: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Param, %Self.fea) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.1f9: %HasF.WithSelf.F.type.7ea = struct_value () [symbolic] -// CHECK:STDOUT: %HasF.assoc_type.2be: type = assoc_entity_type @HasF, @HasF(%Param) [concrete] -// CHECK:STDOUT: %assoc0.b2a: %HasF.assoc_type.2be = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] -// CHECK:STDOUT: %.d1b: Core.Form = init_form %Param [concrete] -// CHECK:STDOUT: %pattern_type.8e1: type = pattern_type %Param [concrete] +// CHECK:STDOUT: %Self.c10: %HasF.type.d16 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.f69: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Param, %Self.067) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.cd2: %HasF.WithSelf.F.type.f69 = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.assoc_type.7e2: type = assoc_entity_type @HasF, @HasF(%Param) [concrete] +// CHECK:STDOUT: %assoc0.c4f: %HasF.assoc_type.7e2 = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %.704: Core.Form = init_form %Param [concrete] +// CHECK:STDOUT: %pattern_type.f6f: type = pattern_type %Param [concrete] // CHECK:STDOUT: %C.as.HasF.impl.F.type: type = fn_type @C.as.HasF.impl.F [concrete] // CHECK:STDOUT: %C.as.HasF.impl.F: %C.as.HasF.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %HasF.facet: %HasF.type.264 = facet_value %C, (%HasF.impl_witness) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.fd8: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Param, %HasF.facet) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.870: %HasF.WithSelf.F.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %HasF.facet: %HasF.type.d16 = facet_value %C, (%HasF.impl_witness) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.b91: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Param, %HasF.facet) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.75b: %HasF.WithSelf.F.type.b91 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.x.c96: type = struct_type {.x: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.x.c96 = struct_value (%int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %Param.val: %Param = struct_value (%int_2.4ff) [concrete] -// CHECK:STDOUT: %pattern_type.5a1: type = pattern_type %C [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Param.val: %Param = struct_value (%int_2.228) [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %C.type.facet: %type = facet_value %C, () [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.665: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Param, %C.type.facet) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.625: %HasF.WithSelf.F.type.665 = struct_value () [concrete] -// CHECK:STDOUT: %.6af: type = fn_type_with_self_type %HasF.WithSelf.F.type.fd8, %HasF.facet [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.f9e: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Param, %C.type.facet) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.3b2: %HasF.WithSelf.F.type.f9e = struct_value () [concrete] +// CHECK:STDOUT: %.c03: type = fn_type_with_self_type %HasF.WithSelf.F.type.b91, %HasF.facet [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc22_27.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc22_27.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc22_27.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc22_27.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -151,12 +151,12 @@ class X(U:! type) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -169,7 +169,7 @@ class X(U:! type) { // CHECK:STDOUT: .G = %G.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %HasF.decl: %HasF.type.a6d = interface_decl @HasF [concrete = constants.%HasF.generic] { +// CHECK:STDOUT: %HasF.decl: %HasF.type.040 = interface_decl @HasF [concrete = constants.%HasF.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_20.1: type = splice_block %.loc4_20.2 [concrete = type] { @@ -181,8 +181,8 @@ class X(U:! type) { // CHECK:STDOUT: %Param.decl: type = class_decl @Param [concrete = constants.%Param] {} {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.5a1 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.5a1 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %c.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref.loc20: type = name_ref C, file.%C.decl [concrete = constants.%C] @@ -194,15 +194,15 @@ class X(U:! type) { // CHECK:STDOUT: %T.loc4_17.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_17.1 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(%T.loc4_17.1)> [symbolic = %HasF.type (constants.%HasF.type.81d)] -// CHECK:STDOUT: %Self.loc4_26.2: @HasF.%HasF.type (%HasF.type.81d) = symbolic_binding Self, 1 [symbolic = %Self.loc4_26.2 (constants.%Self.fea)] +// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(%T.loc4_17.1)> [symbolic = %HasF.type (constants.%HasF.type.91c)] +// CHECK:STDOUT: %Self.loc4_26.2: @HasF.%HasF.type (%HasF.type.91c) = symbolic_binding Self, 1 [symbolic = %Self.loc4_26.2 (constants.%Self.067)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_26.1: @HasF.%HasF.type (%HasF.type.81d) = symbolic_binding Self, 1 [symbolic = %Self.loc4_26.2 (constants.%Self.fea)] +// CHECK:STDOUT: %Self.loc4_26.1: @HasF.%HasF.type (%HasF.type.91c) = symbolic_binding Self, 1 [symbolic = %Self.loc4_26.2 (constants.%Self.067)] // CHECK:STDOUT: %HasF.WithSelf.decl = interface_with_self_decl @HasF [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.cd0) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.252)] { +// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.d19) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.b0e)] { // CHECK:STDOUT: %return.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.51d1c4.1) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.51d1c4.1) = return_slot_pattern %return.param_patt, %T.ref [concrete] // CHECK:STDOUT: } { @@ -211,7 +211,7 @@ class X(U:! type) { // CHECK:STDOUT: %return.param: ref @HasF.WithSelf.F.%T (%T.67d) = out_param call_param0 // CHECK:STDOUT: %return: ref @HasF.WithSelf.F.%T (%T.67d) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc5_14.1: @HasF.WithSelf.%HasF.assoc_type (%HasF.assoc_type.ea5) = assoc_entity element0, %HasF.WithSelf.F.decl [symbolic = %assoc0.loc5_14.2 (constants.%assoc0.702)] +// CHECK:STDOUT: %assoc0.loc5_14.1: @HasF.WithSelf.%HasF.assoc_type (%HasF.assoc_type.93b) = assoc_entity element0, %HasF.WithSelf.F.decl [symbolic = %assoc0.loc5_14.2 (constants.%assoc0.95a)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc4_26.1 @@ -227,11 +227,11 @@ class X(U:! type) { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.HasF.impl: %Self.ref as %HasF.type { // CHECK:STDOUT: %C.as.HasF.impl.F.decl: %C.as.HasF.impl.F.type = fn_decl @C.as.HasF.impl.F [concrete = constants.%C.as.HasF.impl.F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.8e1 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.8e1 = return_slot_pattern %return.param_patt, %Param.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.f6f = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.f6f = return_slot_pattern %return.param_patt, %Param.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Param.ref: type = name_ref Param, file.%Param.decl [concrete = constants.%Param] -// CHECK:STDOUT: %.loc14: Core.Form = init_form %Param.ref [concrete = constants.%.d1b] +// CHECK:STDOUT: %.loc14: Core.Form = init_form %Param.ref [concrete = constants.%.704] // CHECK:STDOUT: %return.param: ref %Param = out_param call_param0 // CHECK:STDOUT: %return: ref %Param = return_slot %return.param // CHECK:STDOUT: } @@ -247,7 +247,7 @@ class X(U:! type) { // CHECK:STDOUT: // CHECK:STDOUT: class @Param { // CHECK:STDOUT: %.loc9: %Param.elem = field_decl x, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x.2bb [concrete = constants.%complete_type.fa5] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.x.06a [concrete = constants.%complete_type.9a8] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -258,9 +258,9 @@ class X(U:! type) { // CHECK:STDOUT: class @C { // CHECK:STDOUT: impl_decl @C.as.HasF.impl [concrete] {} { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] -// CHECK:STDOUT: %HasF.ref: %HasF.type.a6d = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.generic] +// CHECK:STDOUT: %HasF.ref: %HasF.type.040 = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.generic] // CHECK:STDOUT: %Param.ref: type = name_ref Param, file.%Param.decl [concrete = constants.%Param] -// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(constants.%Param)> [concrete = constants.%HasF.type.264] +// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(constants.%Param)> [concrete = constants.%HasF.type.d16] // CHECK:STDOUT: } // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type.357] // CHECK:STDOUT: complete_type_witness = %complete_type @@ -273,7 +273,7 @@ class X(U:! type) { // CHECK:STDOUT: extend @C.as.HasF.impl.%HasF.type // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @HasF.WithSelf.F(@HasF.%T.loc4_17.2: type, @HasF.%Self.loc4_26.1: @HasF.%HasF.type (%HasF.type.81d)) { +// CHECK:STDOUT: generic fn @HasF.WithSelf.F(@HasF.%T.loc4_17.2: type, @HasF.%Self.loc4_26.1: @HasF.%HasF.type (%HasF.type.91c)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T.67d)] // CHECK:STDOUT: %.loc5_13.1: Core.Form = init_form %T [symbolic = %.loc5_13.1 (constants.%.184347.1)] // CHECK:STDOUT: %pattern_type: type = pattern_type %T [symbolic = %pattern_type (constants.%pattern_type.51d1c4.1)] @@ -285,14 +285,14 @@ class X(U:! type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc15_21.1: %struct_type.x.c96 = struct_literal (%int_2) [concrete = constants.%struct] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc15_21.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_21.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_21.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc15_21.2: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_21.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc15_21.2: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc15_21.3: ref %i32 = class_element_access %return.param, element0 -// CHECK:STDOUT: %.loc15_21.4: init %i32 to %.loc15_21.3 = in_place_init %.loc15_21.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %.loc15_21.4: init %i32 to %.loc15_21.3 = in_place_init %.loc15_21.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc15_21.5: init %Param to %return.param = class_init (%.loc15_21.4) [concrete = constants.%Param.val] // CHECK:STDOUT: %.loc15_22: init %Param = converted %.loc15_21.1, %.loc15_21.5 [concrete = constants.%Param.val] // CHECK:STDOUT: return %.loc15_22 to %return.param @@ -301,12 +301,12 @@ class X(U:! type) { // CHECK:STDOUT: fn @G(%c.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.ref.loc21: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc21_24: %HasF.assoc_type.2be = specific_constant @HasF.WithSelf.%assoc0.loc5_14.1, @HasF.WithSelf(constants.%Param, constants.%C.type.facet) [concrete = constants.%assoc0.b2a] -// CHECK:STDOUT: %F.ref.loc21: %HasF.assoc_type.2be = name_ref F, %.loc21_24 [concrete = constants.%assoc0.b2a] -// CHECK:STDOUT: %impl.elem0.loc21: %.6af = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] +// CHECK:STDOUT: %.loc21_24: %HasF.assoc_type.7e2 = specific_constant @HasF.WithSelf.%assoc0.loc5_14.1, @HasF.WithSelf(constants.%Param, constants.%C.type.facet) [concrete = constants.%assoc0.c4f] +// CHECK:STDOUT: %F.ref.loc21: %HasF.assoc_type.7e2 = name_ref F, %.loc21_24 [concrete = constants.%assoc0.c4f] +// CHECK:STDOUT: %impl.elem0.loc21: %.c03 = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] // CHECK:STDOUT: %.loc21_27.1: ref %Param = temporary_storage // CHECK:STDOUT: %C.as.HasF.impl.F.call.loc21: init %Param to %.loc21_27.1 = call %impl.elem0.loc21() // CHECK:STDOUT: %.loc21_27.2: ref %Param = temporary %.loc21_27.1, %C.as.HasF.impl.F.call.loc21 @@ -316,21 +316,21 @@ class X(U:! type) { // CHECK:STDOUT: %.loc21_28.2: %i32 = acquire_value %.loc21_28.1 // CHECK:STDOUT: %a: %i32 = value_binding a, %.loc21_28.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt // CHECK:STDOUT: %c.ref: %C = name_ref c, %c -// CHECK:STDOUT: %.loc22_24: %HasF.assoc_type.2be = specific_constant @HasF.WithSelf.%assoc0.loc5_14.1, @HasF.WithSelf(constants.%Param, constants.%C.type.facet) [concrete = constants.%assoc0.b2a] -// CHECK:STDOUT: %F.ref.loc22: %HasF.assoc_type.2be = name_ref F, %.loc22_24 [concrete = constants.%assoc0.b2a] -// CHECK:STDOUT: %impl.elem0.loc22_24: %.6af = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] +// CHECK:STDOUT: %.loc22_24: %HasF.assoc_type.7e2 = specific_constant @HasF.WithSelf.%assoc0.loc5_14.1, @HasF.WithSelf(constants.%Param, constants.%C.type.facet) [concrete = constants.%assoc0.c4f] +// CHECK:STDOUT: %F.ref.loc22: %HasF.assoc_type.7e2 = name_ref F, %.loc22_24 [concrete = constants.%assoc0.c4f] +// CHECK:STDOUT: %impl.elem0.loc22_24: %.c03 = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] // CHECK:STDOUT: %.loc22_27.1: ref %Param = temporary_storage // CHECK:STDOUT: %C.as.HasF.impl.F.call.loc22: init %Param to %.loc22_27.1 = call %impl.elem0.loc22_24() // CHECK:STDOUT: %.loc22_27.2: ref %Param = temporary %.loc22_27.1, %C.as.HasF.impl.F.call.loc22 // CHECK:STDOUT: %x.ref.loc22: %Param.elem = name_ref x, @Param.%.loc9 [concrete = @Param.%.loc9] // CHECK:STDOUT: %.loc22_28.1: ref %i32 = class_element_access %.loc22_27.2, element0 // CHECK:STDOUT: %.loc22_28.2: %i32 = acquire_value %.loc22_28.1 -// CHECK:STDOUT: %impl.elem0.loc22_28: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc22_28: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc22_28.1: = bound_method %.loc22_28.2, %impl.elem0.loc22_28 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc22_28, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc22_28.2: = bound_method %.loc22_28.2, %specific_fn @@ -338,11 +338,11 @@ class X(U:! type) { // CHECK:STDOUT: assign %b.var, %Int.as.Copy.impl.Op.call // CHECK:STDOUT: %i32.loc22: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound.loc22_27: = bound_method %.loc22_27.2, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc22_27: = bound_method %.loc22_27.2, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc22_27: init %empty_tuple.type = call %Destroy.Op.bound.loc22_27(%.loc22_27.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc22_3: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc22_3: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc22_3: init %empty_tuple.type = call %Destroy.Op.bound.loc22_3(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc21: = bound_method %.loc21_27.2, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc21: = bound_method %.loc21_27.2, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc21: init %empty_tuple.type = call %Destroy.Op.bound.loc21(%.loc21_27.2) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -354,7 +354,7 @@ class X(U:! type) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc22_27.3(%self.param: ref %struct_type.x.2bb) { +// CHECK:STDOUT: fn @Destroy.Op.loc22_27.3(%self.param: ref %struct_type.x.06a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -368,9 +368,9 @@ class X(U:! type) { // CHECK:STDOUT: %T.loc4_17.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%T.67d, constants.%Self.fea) {} +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%T.67d, constants.%Self.067) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%T.67d, constants.%Self.fea) { +// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%T.67d, constants.%Self.067) { // CHECK:STDOUT: %T => constants.%T.67d // CHECK:STDOUT: %.loc5_13.1 => constants.%.184347.1 // CHECK:STDOUT: %pattern_type => constants.%pattern_type.51d1c4.1 @@ -380,47 +380,47 @@ class X(U:! type) { // CHECK:STDOUT: %T.loc4_17.1 => constants.%Param // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.264 -// CHECK:STDOUT: %Self.loc4_26.2 => constants.%Self.975 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.d16 +// CHECK:STDOUT: %Self.loc4_26.2 => constants.%Self.c10 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%Param, constants.%Self.fea) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%Param, constants.%Self.067) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%Param -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.264 -// CHECK:STDOUT: %Self => constants.%Self.fea -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.7ea -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.1f9 -// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.2be -// CHECK:STDOUT: %assoc0.loc5_14.2 => constants.%assoc0.b2a +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.d16 +// CHECK:STDOUT: %Self => constants.%Self.067 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.f69 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.cd2 +// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.7e2 +// CHECK:STDOUT: %assoc0.loc5_14.2 => constants.%assoc0.c4f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Param, constants.%HasF.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%Param -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.264 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.d16 // CHECK:STDOUT: %Self => constants.%HasF.facet -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.fd8 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.870 -// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.2be -// CHECK:STDOUT: %assoc0.loc5_14.2 => constants.%assoc0.b2a +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.b91 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.75b +// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.7e2 +// CHECK:STDOUT: %assoc0.loc5_14.2 => constants.%assoc0.c4f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Param, constants.%HasF.facet) { // CHECK:STDOUT: %T => constants.%Param -// CHECK:STDOUT: %.loc5_13.1 => constants.%.d1b -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.8e1 +// CHECK:STDOUT: %.loc5_13.1 => constants.%.704 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f6f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Param, constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%Param -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.264 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.d16 // CHECK:STDOUT: %Self => constants.%C.type.facet -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.665 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.625 -// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.2be -// CHECK:STDOUT: %assoc0.loc5_14.2 => constants.%assoc0.b2a +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.f9e +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.3b2 +// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.7e2 +// CHECK:STDOUT: %assoc0.loc5_14.2 => constants.%assoc0.c4f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- extend_impl_generic_class.carbon @@ -430,39 +430,39 @@ class X(U:! type) { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.1ec: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %I.type.010399.1: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.f995b0.1: %I.type.010399.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.f995b0.1 [symbolic] -// CHECK:STDOUT: %pattern_type.882: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50feb0.1: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.6263de.1: %I.type.50feb0.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.6263de.1 [symbolic] +// CHECK:STDOUT: %pattern_type.eff: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %pattern_type.51d1c4.1: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.34b8b5.1: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self.f995b0.1) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.37d70d.1: %I.WithSelf.F.type.34b8b5.1 = struct_value () [symbolic] -// CHECK:STDOUT: %I.assoc_type.58ccb3.1: type = assoc_entity_type @I, @I(%T) [symbolic] -// CHECK:STDOUT: %assoc0.8eaa79.1: %I.assoc_type.58ccb3.1 = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.101507.1: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self.6263de.1) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.2522e0.1: %I.WithSelf.F.type.101507.1 = struct_value () [symbolic] +// CHECK:STDOUT: %I.assoc_type.bd7023.1: type = assoc_entity_type @I, @I(%T) [symbolic] +// CHECK:STDOUT: %assoc0.631ba7.1: %I.assoc_type.bd7023.1 = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %X.type: type = generic_class_type @X [concrete] // CHECK:STDOUT: %X.generic: %X.type = struct_value () [concrete] // CHECK:STDOUT: %X: type = class_type @X, @X(%U) [symbolic] -// CHECK:STDOUT: %I.type.010399.2: type = facet_type <@I, @I(%U)> [symbolic] +// CHECK:STDOUT: %I.type.50feb0.2: type = facet_type <@I, @I(%U)> [symbolic] // CHECK:STDOUT: %I.impl_witness: = impl_witness @X.as.I.impl.%I.impl_witness_table, @X.as.I.impl(%U) [symbolic] -// CHECK:STDOUT: %Self.f995b0.2: %I.type.010399.2 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.34b8b5.2: type = fn_type @I.WithSelf.F, @I.WithSelf(%U, %Self.f995b0.1) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.37d70d.2: %I.WithSelf.F.type.34b8b5.2 = struct_value () [symbolic] -// CHECK:STDOUT: %I.assoc_type.58ccb3.2: type = assoc_entity_type @I, @I(%U) [symbolic] -// CHECK:STDOUT: %assoc0.8eaa79.2: %I.assoc_type.58ccb3.2 = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [symbolic] -// CHECK:STDOUT: %require_complete.f61: = require_complete_type %I.type.010399.2 [symbolic] -// CHECK:STDOUT: %pattern_type.720: type = pattern_type %X [symbolic] +// CHECK:STDOUT: %Self.6263de.2: %I.type.50feb0.2 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.101507.2: type = fn_type @I.WithSelf.F, @I.WithSelf(%U, %Self.6263de.1) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.2522e0.2: %I.WithSelf.F.type.101507.2 = struct_value () [symbolic] +// CHECK:STDOUT: %I.assoc_type.bd7023.2: type = assoc_entity_type @I, @I(%U) [symbolic] +// CHECK:STDOUT: %assoc0.631ba7.2: %I.assoc_type.bd7023.2 = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %require_complete.df9: = require_complete_type %I.type.50feb0.2 [symbolic] +// CHECK:STDOUT: %pattern_type.702: type = pattern_type %X [symbolic] // CHECK:STDOUT: %pattern_type.51d1c4.2: type = pattern_type %U [symbolic] // CHECK:STDOUT: %X.as.I.impl.F.type: type = fn_type @X.as.I.impl.F, @X.as.I.impl(%U) [symbolic] // CHECK:STDOUT: %X.as.I.impl.F: %X.as.I.impl.F.type = struct_value () [symbolic] -// CHECK:STDOUT: %I.facet: %I.type.010399.2 = facet_value %X, (%I.impl_witness) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.932: type = fn_type @I.WithSelf.F, @I.WithSelf(%U, %I.facet) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.29c: %I.WithSelf.F.type.932 = struct_value () [symbolic] +// CHECK:STDOUT: %I.facet: %I.type.50feb0.2 = facet_value %X, (%I.impl_witness) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.f80: type = fn_type @I.WithSelf.F, @I.WithSelf(%U, %I.facet) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.39b: %I.WithSelf.F.type.f80 = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %require_complete.783: = require_complete_type %X [symbolic] +// CHECK:STDOUT: %require_complete.84d: = require_complete_type %X [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %U [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -480,7 +480,7 @@ class X(U:! type) { // CHECK:STDOUT: .X = %X.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %I.decl: %I.type.1ec = interface_decl @I [concrete = constants.%I.generic] { +// CHECK:STDOUT: %I.decl: %I.type.48c = interface_decl @I [concrete = constants.%I.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_17.1: type = splice_block %.loc4_17.2 [concrete = type] { @@ -504,24 +504,24 @@ class X(U:! type) { // CHECK:STDOUT: %T.loc4_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc4_14.1)> [symbolic = %I.type (constants.%I.type.010399.1)] -// CHECK:STDOUT: %Self.loc4_23.2: @I.%I.type (%I.type.010399.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self.f995b0.1)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc4_14.1)> [symbolic = %I.type (constants.%I.type.50feb0.1)] +// CHECK:STDOUT: %Self.loc4_23.2: @I.%I.type (%I.type.50feb0.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self.6263de.1)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_23.1: @I.%I.type (%I.type.010399.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self.f995b0.1)] +// CHECK:STDOUT: %Self.loc4_23.1: @I.%I.type (%I.type.50feb0.1) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self.6263de.1)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.34b8b5.1) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.37d70d.1)] { -// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type.loc5_12 (%pattern_type.882) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type.loc5_12 (%pattern_type.882) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.101507.1) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.2522e0.1)] { +// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type.loc5_12 (%pattern_type.eff) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type.loc5_12 (%pattern_type.eff) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %t.param_patt: @I.WithSelf.F.%pattern_type.loc5_21 (%pattern_type.51d1c4.1) = value_param_pattern [concrete] // CHECK:STDOUT: %t.patt: @I.WithSelf.F.%pattern_type.loc5_21 (%pattern_type.51d1c4.1) = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @I.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_14.1: type = splice_block %.loc5_14.3 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %.loc5_14.2: @I.WithSelf.F.%I.type (%I.type.010399.1) = specific_constant @I.%Self.loc4_23.1, @I(constants.%T) [symbolic = %Self (constants.%Self.f995b0.1)] -// CHECK:STDOUT: %Self.ref: @I.WithSelf.F.%I.type (%I.type.010399.1) = name_ref Self, %.loc5_14.2 [symbolic = %Self (constants.%Self.f995b0.1)] +// CHECK:STDOUT: %.loc5_14.2: @I.WithSelf.F.%I.type (%I.type.50feb0.1) = specific_constant @I.%Self.loc4_23.1, @I(constants.%T) [symbolic = %Self (constants.%Self.6263de.1)] +// CHECK:STDOUT: %Self.ref: @I.WithSelf.F.%I.type (%I.type.50feb0.1) = name_ref Self, %.loc5_14.2 [symbolic = %Self (constants.%Self.6263de.1)] // CHECK:STDOUT: %Self.as_type.loc5_14.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc5_14.3: type = converted %Self.ref, %Self.as_type.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: } @@ -530,7 +530,7 @@ class X(U:! type) { // CHECK:STDOUT: %T.ref: type = name_ref T, @I.%T.loc4_14.2 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %t: @I.WithSelf.F.%T (%T) = value_binding t, %t.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc5_25.1: @I.WithSelf.%I.assoc_type (%I.assoc_type.58ccb3.1) = assoc_entity element0, %I.WithSelf.F.decl [symbolic = %assoc0.loc5_25.2 (constants.%assoc0.8eaa79.1)] +// CHECK:STDOUT: %assoc0.loc5_25.1: @I.WithSelf.%I.assoc_type (%I.assoc_type.bd7023.1) = assoc_entity element0, %I.WithSelf.F.decl [symbolic = %assoc0.loc5_25.2 (constants.%assoc0.631ba7.1)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc4_23.1 @@ -547,18 +547,18 @@ class X(U:! type) { // CHECK:STDOUT: generic impl @X.as.I.impl(@X.%U.loc8_10.2: type) { // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic = %U (constants.%U)] // CHECK:STDOUT: %X: type = class_type @X, @X(%U) [symbolic = %X (constants.%X)] -// CHECK:STDOUT: %I.type.loc9_21.1: type = facet_type <@I, @I(%U)> [symbolic = %I.type.loc9_21.1 (constants.%I.type.010399.2)] +// CHECK:STDOUT: %I.type.loc9_21.1: type = facet_type <@I, @I(%U)> [symbolic = %I.type.loc9_21.1 (constants.%I.type.50feb0.2)] // CHECK:STDOUT: %I.impl_witness.loc9_23.2: = impl_witness %I.impl_witness_table, @X.as.I.impl(%U) [symbolic = %I.impl_witness.loc9_23.2 (constants.%I.impl_witness)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc9_21.1 [symbolic = %require_complete (constants.%require_complete.f61)] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc9_21.1 [symbolic = %require_complete (constants.%require_complete.df9)] // CHECK:STDOUT: %X.as.I.impl.F.type: type = fn_type @X.as.I.impl.F, @X.as.I.impl(%U) [symbolic = %X.as.I.impl.F.type (constants.%X.as.I.impl.F.type)] // CHECK:STDOUT: %X.as.I.impl.F: @X.as.I.impl.%X.as.I.impl.F.type (%X.as.I.impl.F.type) = struct_value () [symbolic = %X.as.I.impl.F (constants.%X.as.I.impl.F)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %Self.ref as %I.type.loc9_21.2 { // CHECK:STDOUT: %X.as.I.impl.F.decl: @X.as.I.impl.%X.as.I.impl.F.type (%X.as.I.impl.F.type) = fn_decl @X.as.I.impl.F [symbolic = @X.as.I.impl.%X.as.I.impl.F (constants.%X.as.I.impl.F)] { -// CHECK:STDOUT: %self.param_patt: @X.as.I.impl.F.%pattern_type.loc10_21 (%pattern_type.720) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @X.as.I.impl.F.%pattern_type.loc10_21 (%pattern_type.720) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @X.as.I.impl.F.%pattern_type.loc10_21 (%pattern_type.702) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @X.as.I.impl.F.%pattern_type.loc10_21 (%pattern_type.702) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %t.param_patt: @X.as.I.impl.F.%pattern_type.loc10_37 (%pattern_type.51d1c4.2) = value_param_pattern [concrete] // CHECK:STDOUT: %t.patt: @X.as.I.impl.F.%pattern_type.loc10_37 (%pattern_type.51d1c4.2) = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { @@ -587,17 +587,17 @@ class X(U:! type) { // CHECK:STDOUT: %U.loc8_10.1: type = symbolic_binding U, 0 [symbolic = %U.loc8_10.1 (constants.%U)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%U.loc8_10.1)> [symbolic = %I.type (constants.%I.type.010399.2)] -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type [symbolic = %require_complete (constants.%require_complete.f61)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%U.loc8_10.1)> [symbolic = %I.type (constants.%I.type.50feb0.2)] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type [symbolic = %require_complete (constants.%require_complete.df9)] // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: impl_decl @X.as.I.impl [concrete] {} { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%X [symbolic = %X (constants.%X)] -// CHECK:STDOUT: %I.ref: %I.type.1ec = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %U.ref: type = name_ref U, @X.%U.loc8_10.2 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %I.type.loc9_21.2: type = facet_type <@I, @I(constants.%U)> [symbolic = %I.type.loc9_21.1 (constants.%I.type.010399.2)] +// CHECK:STDOUT: %I.type.loc9_21.2: type = facet_type <@I, @I(constants.%U)> [symbolic = %I.type.loc9_21.1 (constants.%I.type.50feb0.2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc9: type = specific_constant @X.as.I.impl.%I.type.loc9_21.2, @X.as.I.impl(constants.%U) [symbolic = %I.type (constants.%I.type.010399.2)] +// CHECK:STDOUT: %.loc9: type = specific_constant @X.as.I.impl.%I.type.loc9_21.2, @X.as.I.impl(constants.%U) [symbolic = %I.type (constants.%I.type.50feb0.2)] // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: @@ -609,12 +609,12 @@ class X(U:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%T.loc4_14.2: type, @I.%Self.loc4_23.1: @I.%I.type (%I.type.010399.1)) { +// CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%T.loc4_14.2: type, @I.%Self.loc4_23.1: @I.%I.type (%I.type.50feb0.1)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.010399.1)] -// CHECK:STDOUT: %Self: @I.WithSelf.F.%I.type (%I.type.010399.1) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.f995b0.1)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50feb0.1)] +// CHECK:STDOUT: %Self: @I.WithSelf.F.%I.type (%I.type.50feb0.1) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.6263de.1)] // CHECK:STDOUT: %Self.as_type.loc5_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type.loc5_12: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type.loc5_12 (constants.%pattern_type.882)] +// CHECK:STDOUT: %pattern_type.loc5_12: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type.loc5_12 (constants.%pattern_type.eff)] // CHECK:STDOUT: %pattern_type.loc5_21: type = pattern_type %T [symbolic = %pattern_type.loc5_21 (constants.%pattern_type.51d1c4.1)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @I.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type), %t.param: @I.WithSelf.F.%T (%T)); @@ -623,11 +623,11 @@ class X(U:! type) { // CHECK:STDOUT: generic fn @X.as.I.impl.F(@X.%U.loc8_10.2: type) { // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic = %U (constants.%U)] // CHECK:STDOUT: %X: type = class_type @X, @X(%U) [symbolic = %X (constants.%X)] -// CHECK:STDOUT: %pattern_type.loc10_21: type = pattern_type %X [symbolic = %pattern_type.loc10_21 (constants.%pattern_type.720)] +// CHECK:STDOUT: %pattern_type.loc10_21: type = pattern_type %X [symbolic = %pattern_type.loc10_21 (constants.%pattern_type.702)] // CHECK:STDOUT: %pattern_type.loc10_37: type = pattern_type %U [symbolic = %pattern_type.loc10_37 (constants.%pattern_type.51d1c4.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc10_21: = require_complete_type %X [symbolic = %require_complete.loc10_21 (constants.%require_complete.783)] +// CHECK:STDOUT: %require_complete.loc10_21: = require_complete_type %X [symbolic = %require_complete.loc10_21 (constants.%require_complete.84d)] // CHECK:STDOUT: %require_complete.loc10_37: = require_complete_type %U [symbolic = %require_complete.loc10_37 (constants.%require_complete.944)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @X.as.I.impl.F.%X (%X), %t.param: @X.as.I.impl.F.%U (%U)) { @@ -640,14 +640,14 @@ class X(U:! type) { // CHECK:STDOUT: %T.loc4_14.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.f995b0.1) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.6263de.1) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self.f995b0.1) { +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self.6263de.1) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %I.type => constants.%I.type.010399.1 -// CHECK:STDOUT: %Self => constants.%Self.f995b0.1 +// CHECK:STDOUT: %I.type => constants.%I.type.50feb0.1 +// CHECK:STDOUT: %Self => constants.%Self.6263de.1 // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type.loc5_12 => constants.%pattern_type.882 +// CHECK:STDOUT: %pattern_type.loc5_12 => constants.%pattern_type.eff // CHECK:STDOUT: %pattern_type.loc5_21 => constants.%pattern_type.51d1c4.1 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -655,65 +655,65 @@ class X(U:! type) { // CHECK:STDOUT: %U.loc8_10.1 => constants.%U // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.010399.2 -// CHECK:STDOUT: %require_complete => constants.%require_complete.f61 +// CHECK:STDOUT: %I.type => constants.%I.type.50feb0.2 +// CHECK:STDOUT: %require_complete => constants.%require_complete.df9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%U) { // CHECK:STDOUT: %T.loc4_14.1 => constants.%U // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.010399.2 -// CHECK:STDOUT: %Self.loc4_23.2 => constants.%Self.f995b0.2 +// CHECK:STDOUT: %I.type => constants.%I.type.50feb0.2 +// CHECK:STDOUT: %Self.loc4_23.2 => constants.%Self.6263de.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X.as.I.impl(constants.%U) { // CHECK:STDOUT: %U => constants.%U // CHECK:STDOUT: %X => constants.%X -// CHECK:STDOUT: %I.type.loc9_21.1 => constants.%I.type.010399.2 +// CHECK:STDOUT: %I.type.loc9_21.1 => constants.%I.type.50feb0.2 // CHECK:STDOUT: %I.impl_witness.loc9_23.2 => constants.%I.impl_witness // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.f61 +// CHECK:STDOUT: %require_complete => constants.%require_complete.df9 // CHECK:STDOUT: %X.as.I.impl.F.type => constants.%X.as.I.impl.F.type // CHECK:STDOUT: %X.as.I.impl.F => constants.%X.as.I.impl.F // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%U, constants.%Self.f995b0.1) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%U, constants.%Self.6263de.1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%U -// CHECK:STDOUT: %I.type => constants.%I.type.010399.2 -// CHECK:STDOUT: %Self => constants.%Self.f995b0.1 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.34b8b5.2 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.37d70d.2 -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.58ccb3.2 -// CHECK:STDOUT: %assoc0.loc5_25.2 => constants.%assoc0.8eaa79.2 +// CHECK:STDOUT: %I.type => constants.%I.type.50feb0.2 +// CHECK:STDOUT: %Self => constants.%Self.6263de.1 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.101507.2 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.2522e0.2 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.bd7023.2 +// CHECK:STDOUT: %assoc0.loc5_25.2 => constants.%assoc0.631ba7.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @X.as.I.impl.F(constants.%U) { // CHECK:STDOUT: %U => constants.%U // CHECK:STDOUT: %X => constants.%X -// CHECK:STDOUT: %pattern_type.loc10_21 => constants.%pattern_type.720 +// CHECK:STDOUT: %pattern_type.loc10_21 => constants.%pattern_type.702 // CHECK:STDOUT: %pattern_type.loc10_37 => constants.%pattern_type.51d1c4.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%U, constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%U -// CHECK:STDOUT: %I.type => constants.%I.type.010399.2 +// CHECK:STDOUT: %I.type => constants.%I.type.50feb0.2 // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.932 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.29c -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.58ccb3.2 -// CHECK:STDOUT: %assoc0.loc5_25.2 => constants.%assoc0.8eaa79.2 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.f80 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.39b +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.bd7023.2 +// CHECK:STDOUT: %assoc0.loc5_25.2 => constants.%assoc0.631ba7.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%U, constants.%I.facet) { // CHECK:STDOUT: %T => constants.%U -// CHECK:STDOUT: %I.type => constants.%I.type.010399.2 +// CHECK:STDOUT: %I.type => constants.%I.type.50feb0.2 // CHECK:STDOUT: %Self => constants.%I.facet // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%X -// CHECK:STDOUT: %pattern_type.loc5_12 => constants.%pattern_type.720 +// CHECK:STDOUT: %pattern_type.loc5_12 => constants.%pattern_type.702 // CHECK:STDOUT: %pattern_type.loc5_21 => constants.%pattern_type.51d1c4.2 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/fail_alias.carbon b/toolchain/check/testdata/impl/fail_alias.carbon index 69c3bed66d81..febc4182d506 100644 --- a/toolchain/check/testdata/impl/fail_alias.carbon +++ b/toolchain/check/testdata/impl/fail_alias.carbon @@ -37,7 +37,7 @@ impl AC as AI {} // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.87eede.1.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.e127ba.1.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -54,11 +54,11 @@ impl AC as AI {} // CHECK:STDOUT: %AI: type = alias_binding AI, %I.ref [concrete = constants.%I.type] // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %AC: type = alias_binding AC, %C.ref [concrete = constants.%C] -// CHECK:STDOUT: impl_decl @C.as.I.impl.87eede.1 [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.I.impl.e127ba.1 [concrete] {} { // CHECK:STDOUT: %AC.ref: type = name_ref AC, file.%AC [concrete = constants.%C] // CHECK:STDOUT: %AI.ref: type = name_ref AI, file.%AI [concrete = constants.%I.type] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.I.impl.87eede.2 [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.I.impl.e127ba.2 [concrete] {} { // CHECK:STDOUT: %AC.ref: type = name_ref AC, file.%AC [concrete = constants.%C] // CHECK:STDOUT: %AI.ref: type = name_ref AI, file.%AI [concrete = constants.%I.type] // CHECK:STDOUT: } @@ -75,8 +75,8 @@ impl AC as AI {} // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.I.impl.87eede.1: %AC.ref as %AI.ref { -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.87eede.1 [concrete] +// CHECK:STDOUT: impl @C.as.I.impl.e127ba.1: %AC.ref as %AI.ref { +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.e127ba.1 [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -84,7 +84,7 @@ impl AC as AI {} // CHECK:STDOUT: witness = %I.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.I.impl.87eede.2: %AC.ref as %AI.ref { +// CHECK:STDOUT: impl @C.as.I.impl.e127ba.2: %AC.ref as %AI.ref { // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %AI.ref // CHECK:STDOUT: witness = diff --git a/toolchain/check/testdata/impl/fail_call_invalid.carbon b/toolchain/check/testdata/impl/fail_call_invalid.carbon index 2a06bdefb9b7..78dea5a2b80b 100644 --- a/toolchain/check/testdata/impl/fail_call_invalid.carbon +++ b/toolchain/check/testdata/impl/fail_call_invalid.carbon @@ -34,10 +34,10 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: %Simple.type: type = facet_type <@Simple> [concrete] // CHECK:STDOUT: %Self: %Simple.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.73c: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %Simple.WithSelf.G.type.cab: type = fn_type @Simple.WithSelf.G, @Simple.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %pattern_type.68d: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Simple.WithSelf.G.type.b3c: type = fn_type @Simple.WithSelf.G, @Simple.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Simple.WithSelf.G.454: %Simple.WithSelf.G.type.cab = struct_value () [symbolic] +// CHECK:STDOUT: %Simple.WithSelf.G.4d0: %Simple.WithSelf.G.type.b3c = struct_value () [symbolic] // CHECK:STDOUT: %Simple.assoc_type: type = assoc_entity_type @Simple [concrete] // CHECK:STDOUT: %assoc0: %Simple.assoc_type = assoc_entity element0, @Simple.WithSelf.%Simple.WithSelf.G.decl [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] @@ -45,17 +45,17 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Simple.impl_witness: = impl_witness @i32.as.Simple.impl.%Simple.impl_witness_table [concrete] -// CHECK:STDOUT: %i32.as.Simple.impl.G.type.72fea3.1: type = fn_type @i32.as.Simple.impl.G.loc24_27.1 [concrete] -// CHECK:STDOUT: %i32.as.Simple.impl.G.ff27ba.1: %i32.as.Simple.impl.G.type.72fea3.1 = struct_value () [concrete] +// CHECK:STDOUT: %i32.as.Simple.impl.G.type.1cea23.1: type = fn_type @i32.as.Simple.impl.G.loc24_27.1 [concrete] +// CHECK:STDOUT: %i32.as.Simple.impl.G.2d4655.1: %i32.as.Simple.impl.G.type.1cea23.1 = struct_value () [concrete] // CHECK:STDOUT: %Simple.facet: %Simple.type = facet_value %i32, (%Simple.impl_witness) [concrete] -// CHECK:STDOUT: %Simple.WithSelf.G.type.e7f: type = fn_type @Simple.WithSelf.G, @Simple.WithSelf(%Simple.facet) [concrete] -// CHECK:STDOUT: %Simple.WithSelf.G.1e0: %Simple.WithSelf.G.type.e7f = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %i32.as.Simple.impl.G.type.72fea3.2: type = fn_type @i32.as.Simple.impl.G.loc24_27.2 [concrete] -// CHECK:STDOUT: %i32.as.Simple.impl.G.ff27ba.2: %i32.as.Simple.impl.G.type.72fea3.2 = struct_value () [concrete] +// CHECK:STDOUT: %Simple.WithSelf.G.type.bfa: type = fn_type @Simple.WithSelf.G, @Simple.WithSelf(%Simple.facet) [concrete] +// CHECK:STDOUT: %Simple.WithSelf.G.5b5: %Simple.WithSelf.G.type.bfa = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %i32.as.Simple.impl.G.type.1cea23.2: type = fn_type @i32.as.Simple.impl.G.loc24_27.2 [concrete] +// CHECK:STDOUT: %i32.as.Simple.impl.G.2d4655.2: %i32.as.Simple.impl.G.type.1cea23.2 = struct_value () [concrete] // CHECK:STDOUT: %InstanceCall.type: type = fn_type @InstanceCall [concrete] // CHECK:STDOUT: %InstanceCall: %InstanceCall.type = struct_value () [concrete] -// CHECK:STDOUT: %.b63: type = fn_type_with_self_type %Simple.WithSelf.G.type.e7f, %Simple.facet [concrete] +// CHECK:STDOUT: %.0af: type = fn_type_with_self_type %Simple.WithSelf.G.type.bfa, %Simple.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -81,8 +81,8 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: %Simple.ref: type = name_ref Simple, file.%Simple.decl [concrete = constants.%Simple.type] // CHECK:STDOUT: } // CHECK:STDOUT: %InstanceCall.decl: %InstanceCall.type = fn_decl @InstanceCall [concrete = constants.%InstanceCall] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -95,9 +95,9 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: %Simple.WithSelf.decl = interface_with_self_decl @Simple [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Simple.WithSelf.G.decl: @Simple.WithSelf.%Simple.WithSelf.G.type (%Simple.WithSelf.G.type.cab) = fn_decl @Simple.WithSelf.G [symbolic = @Simple.WithSelf.%Simple.WithSelf.G (constants.%Simple.WithSelf.G.454)] { -// CHECK:STDOUT: %self.param_patt: @Simple.WithSelf.G.%pattern_type (%pattern_type.73c) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Simple.WithSelf.G.%pattern_type (%pattern_type.73c) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %Simple.WithSelf.G.decl: @Simple.WithSelf.%Simple.WithSelf.G.type (%Simple.WithSelf.G.type.b3c) = fn_decl @Simple.WithSelf.G [symbolic = @Simple.WithSelf.%Simple.WithSelf.G (constants.%Simple.WithSelf.G.4d0)] { +// CHECK:STDOUT: %self.param_patt: @Simple.WithSelf.G.%pattern_type (%pattern_type.68d) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Simple.WithSelf.G.%pattern_type (%pattern_type.68d) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @Simple.WithSelf.G.%Self.as_type.loc16_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc16_14.1: type = splice_block %.loc16_14.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type)] { @@ -119,7 +119,7 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @i32.as.Simple.impl: %i32 as %Simple.ref { -// CHECK:STDOUT: %i32.as.Simple.impl.G.decl.loc24_27.1: %i32.as.Simple.impl.G.type.72fea3.1 = fn_decl @i32.as.Simple.impl.G.loc24_27.1 [concrete = constants.%i32.as.Simple.impl.G.ff27ba.1] { +// CHECK:STDOUT: %i32.as.Simple.impl.G.decl.loc24_27.1: %i32.as.Simple.impl.G.type.1cea23.1 = fn_decl @i32.as.Simple.impl.G.loc24_27.1 [concrete = constants.%i32.as.Simple.impl.G.2d4655.1] { // CHECK:STDOUT: %self.param_patt: = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { @@ -127,9 +127,9 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: %Undeclared.ref: = name_ref Undeclared, [concrete = ] // CHECK:STDOUT: %self: = value_binding self, [concrete = ] // CHECK:STDOUT: } -// CHECK:STDOUT: %i32.as.Simple.impl.G.decl.loc24_27.2: %i32.as.Simple.impl.G.type.72fea3.2 = fn_decl @i32.as.Simple.impl.G.loc24_27.2 [concrete = constants.%i32.as.Simple.impl.G.ff27ba.2] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.c6b = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %i32.as.Simple.impl.G.decl.loc24_27.2: %i32.as.Simple.impl.G.type.1cea23.2 = fn_decl @i32.as.Simple.impl.G.loc24_27.2 [concrete = constants.%i32.as.Simple.impl.G.2d4655.2] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.104 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %i32 = value_param call_param0 // CHECK:STDOUT: %self: %i32 = value_binding self, %self.param @@ -147,7 +147,7 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: generic fn @Simple.WithSelf.G(@Simple.%Self: %Simple.type) { // CHECK:STDOUT: %Self: %Simple.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc16_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc16_14.1 [symbolic = %pattern_type (constants.%pattern_type.73c)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc16_14.1 [symbolic = %pattern_type (constants.%pattern_type.68d)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @Simple.WithSelf.G.%Self.as_type.loc16_14.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -156,7 +156,7 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: // CHECK:STDOUT: fn @i32.as.Simple.impl.G.loc24_27.2(%self.param: %i32) [thunk @i32.as.Simple.impl.%i32.as.Simple.impl.G.decl.loc24_27.1 for @Simple.WithSelf.%Simple.WithSelf.G.decl, @Simple.WithSelf.G(constants.%Simple.facet)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %G.ref: %i32.as.Simple.impl.G.type.72fea3.1 = name_ref G, @i32.as.Simple.impl.%i32.as.Simple.impl.G.decl.loc24_27.1 [concrete = constants.%i32.as.Simple.impl.G.ff27ba.1] +// CHECK:STDOUT: %G.ref: %i32.as.Simple.impl.G.type.1cea23.1 = name_ref G, @i32.as.Simple.impl.%i32.as.Simple.impl.G.decl.loc24_27.1 [concrete = constants.%i32.as.Simple.impl.G.2d4655.1] // CHECK:STDOUT: %i32.as.Simple.impl.G.bound: = bound_method %self.param, %G.ref // CHECK:STDOUT: %i32.as.Simple.impl.G.call: init %empty_tuple.type = call %i32.as.Simple.impl.G.bound() // CHECK:STDOUT: return @@ -167,9 +167,9 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n // CHECK:STDOUT: %Simple.ref: type = name_ref Simple, file.%Simple.decl [concrete = constants.%Simple.type] // CHECK:STDOUT: %G.ref.loc28_12: %Simple.assoc_type = name_ref G, @Simple.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.b63 = impl_witness_access constants.%Simple.impl_witness, element0 [concrete = constants.%i32.as.Simple.impl.G.ff27ba.2] +// CHECK:STDOUT: %impl.elem0: %.0af = impl_witness_access constants.%Simple.impl_witness, element0 [concrete = constants.%i32.as.Simple.impl.G.2d4655.2] // CHECK:STDOUT: %bound_method: = bound_method %n.ref, %impl.elem0 -// CHECK:STDOUT: %G.ref.loc28_16: %i32.as.Simple.impl.G.type.72fea3.1 = name_ref G, @i32.as.Simple.impl.%i32.as.Simple.impl.G.decl.loc24_27.1 [concrete = constants.%i32.as.Simple.impl.G.ff27ba.1] +// CHECK:STDOUT: %G.ref.loc28_16: %i32.as.Simple.impl.G.type.1cea23.1 = name_ref G, @i32.as.Simple.impl.%i32.as.Simple.impl.G.decl.loc24_27.1 [concrete = constants.%i32.as.Simple.impl.G.2d4655.1] // CHECK:STDOUT: %i32.as.Simple.impl.G.bound: = bound_method %n.ref, %G.ref.loc28_16 // CHECK:STDOUT: %i32.as.Simple.impl.G.call: init %empty_tuple.type = call %i32.as.Simple.impl.G.bound() // CHECK:STDOUT: return @@ -178,26 +178,26 @@ fn InstanceCall(n: i32) { // CHECK:STDOUT: specific @Simple.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %Simple.WithSelf.G.type => constants.%Simple.WithSelf.G.type.cab -// CHECK:STDOUT: %Simple.WithSelf.G => constants.%Simple.WithSelf.G.454 +// CHECK:STDOUT: %Simple.WithSelf.G.type => constants.%Simple.WithSelf.G.type.b3c +// CHECK:STDOUT: %Simple.WithSelf.G => constants.%Simple.WithSelf.G.4d0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple.WithSelf.G(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc16_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.73c +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.68d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple.WithSelf(constants.%Simple.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Simple.facet -// CHECK:STDOUT: %Simple.WithSelf.G.type => constants.%Simple.WithSelf.G.type.e7f -// CHECK:STDOUT: %Simple.WithSelf.G => constants.%Simple.WithSelf.G.1e0 +// CHECK:STDOUT: %Simple.WithSelf.G.type => constants.%Simple.WithSelf.G.type.bfa +// CHECK:STDOUT: %Simple.WithSelf.G => constants.%Simple.WithSelf.G.5b5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple.WithSelf.G(constants.%Simple.facet) { // CHECK:STDOUT: %Self => constants.%Simple.facet // CHECK:STDOUT: %Self.as_type.loc16_14.1 => constants.%i32 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c6b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.104 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/fail_extend_impl_forall.carbon b/toolchain/check/testdata/impl/fail_extend_impl_forall.carbon index de1ad72c4733..2c8842b0f3f2 100644 --- a/toolchain/check/testdata/impl/fail_extend_impl_forall.carbon +++ b/toolchain/check/testdata/impl/fail_extend_impl_forall.carbon @@ -33,10 +33,10 @@ class C { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %GenericInterface.type.8ce: type = generic_interface_type @GenericInterface [concrete] -// CHECK:STDOUT: %GenericInterface.generic: %GenericInterface.type.8ce = struct_value () [concrete] -// CHECK:STDOUT: %GenericInterface.type.cc4: type = facet_type <@GenericInterface, @GenericInterface(%T)> [symbolic] -// CHECK:STDOUT: %Self: %GenericInterface.type.cc4 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %GenericInterface.type.f1b: type = generic_interface_type @GenericInterface [concrete] +// CHECK:STDOUT: %GenericInterface.generic: %GenericInterface.type.f1b = struct_value () [concrete] +// CHECK:STDOUT: %GenericInterface.type.a69: type = facet_type <@GenericInterface, @GenericInterface(%T)> [symbolic] +// CHECK:STDOUT: %Self: %GenericInterface.type.a69 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] // CHECK:STDOUT: %GenericInterface.WithSelf.F.type: type = fn_type @GenericInterface.WithSelf.F, @GenericInterface.WithSelf(%T, %Self) [symbolic] // CHECK:STDOUT: %GenericInterface.WithSelf.F: %GenericInterface.WithSelf.F.type = struct_value () [symbolic] @@ -56,7 +56,7 @@ class C { // CHECK:STDOUT: .GenericInterface = %GenericInterface.decl // CHECK:STDOUT: .C = %C.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %GenericInterface.decl: %GenericInterface.type.8ce = interface_decl @GenericInterface [concrete = constants.%GenericInterface.generic] { +// CHECK:STDOUT: %GenericInterface.decl: %GenericInterface.type.f1b = interface_decl @GenericInterface [concrete = constants.%GenericInterface.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15_32.1: type = splice_block %.loc15_32.2 [concrete = type] { @@ -72,11 +72,11 @@ class C { // CHECK:STDOUT: %T.loc15_29.1: type = symbolic_binding T, 0 [symbolic = %T.loc15_29.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %GenericInterface.type: type = facet_type <@GenericInterface, @GenericInterface(%T.loc15_29.1)> [symbolic = %GenericInterface.type (constants.%GenericInterface.type.cc4)] -// CHECK:STDOUT: %Self.loc15_38.2: @GenericInterface.%GenericInterface.type (%GenericInterface.type.cc4) = symbolic_binding Self, 1 [symbolic = %Self.loc15_38.2 (constants.%Self)] +// CHECK:STDOUT: %GenericInterface.type: type = facet_type <@GenericInterface, @GenericInterface(%T.loc15_29.1)> [symbolic = %GenericInterface.type (constants.%GenericInterface.type.a69)] +// CHECK:STDOUT: %Self.loc15_38.2: @GenericInterface.%GenericInterface.type (%GenericInterface.type.a69) = symbolic_binding Self, 1 [symbolic = %Self.loc15_38.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc15_38.1: @GenericInterface.%GenericInterface.type (%GenericInterface.type.cc4) = symbolic_binding Self, 1 [symbolic = %Self.loc15_38.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc15_38.1: @GenericInterface.%GenericInterface.type (%GenericInterface.type.a69) = symbolic_binding Self, 1 [symbolic = %Self.loc15_38.2 (constants.%Self)] // CHECK:STDOUT: %GenericInterface.WithSelf.decl = interface_with_self_decl @GenericInterface [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -103,7 +103,7 @@ class C { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.GenericInterface.impl(%T.loc24_24.2: type) { // CHECK:STDOUT: %T.loc24_24.1: type = symbolic_binding T, 0 [symbolic = %T.loc24_24.1 (constants.%T)] -// CHECK:STDOUT: %GenericInterface.type.loc24_54.1: type = facet_type <@GenericInterface, @GenericInterface(%T.loc24_24.1)> [symbolic = %GenericInterface.type.loc24_54.1 (constants.%GenericInterface.type.cc4)] +// CHECK:STDOUT: %GenericInterface.type.loc24_54.1: type = facet_type <@GenericInterface, @GenericInterface(%T.loc24_24.1)> [symbolic = %GenericInterface.type.loc24_54.1 (constants.%GenericInterface.type.a69)] // CHECK:STDOUT: %GenericInterface.impl_witness.loc24_56.2: = impl_witness %GenericInterface.impl_witness_table, @C.as.GenericInterface.impl(%T.loc24_24.1) [symbolic = %GenericInterface.impl_witness.loc24_56.2 (constants.%GenericInterface.impl_witness)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: @@ -135,9 +135,9 @@ class C { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] -// CHECK:STDOUT: %GenericInterface.ref: %GenericInterface.type.8ce = name_ref GenericInterface, file.%GenericInterface.decl [concrete = constants.%GenericInterface.generic] +// CHECK:STDOUT: %GenericInterface.ref: %GenericInterface.type.f1b = name_ref GenericInterface, file.%GenericInterface.decl [concrete = constants.%GenericInterface.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc24_24.2 [symbolic = %T.loc24_24.1 (constants.%T)] -// CHECK:STDOUT: %GenericInterface.type.loc24_54.2: type = facet_type <@GenericInterface, @GenericInterface(constants.%T)> [symbolic = %GenericInterface.type.loc24_54.1 (constants.%GenericInterface.type.cc4)] +// CHECK:STDOUT: %GenericInterface.type.loc24_54.2: type = facet_type <@GenericInterface, @GenericInterface(constants.%T)> [symbolic = %GenericInterface.type.loc24_54.1 (constants.%GenericInterface.type.a69)] // CHECK:STDOUT: %.loc24_27.1: type = splice_block %.loc24_27.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc24_27.2: type = type_literal type [concrete = type] @@ -153,7 +153,7 @@ class C { // CHECK:STDOUT: has_error // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @GenericInterface.WithSelf.F(@GenericInterface.%T.loc15_29.2: type, @GenericInterface.%Self.loc15_38.1: @GenericInterface.%GenericInterface.type (%GenericInterface.type.cc4)) { +// CHECK:STDOUT: generic fn @GenericInterface.WithSelf.F(@GenericInterface.%T.loc15_29.2: type, @GenericInterface.%Self.loc15_38.1: @GenericInterface.%GenericInterface.type (%GenericInterface.type.a69)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %pattern_type: type = pattern_type %T [symbolic = %pattern_type (constants.%pattern_type.51d)] // CHECK:STDOUT: @@ -180,7 +180,7 @@ class C { // CHECK:STDOUT: specific @GenericInterface.WithSelf(constants.%T, constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %GenericInterface.type => constants.%GenericInterface.type.cc4 +// CHECK:STDOUT: %GenericInterface.type => constants.%GenericInterface.type.a69 // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %GenericInterface.WithSelf.F.type => constants.%GenericInterface.WithSelf.F.type // CHECK:STDOUT: %GenericInterface.WithSelf.F => constants.%GenericInterface.WithSelf.F @@ -195,7 +195,7 @@ class C { // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.GenericInterface.impl(constants.%T) { // CHECK:STDOUT: %T.loc24_24.1 => constants.%T -// CHECK:STDOUT: %GenericInterface.type.loc24_54.1 => constants.%GenericInterface.type.cc4 +// CHECK:STDOUT: %GenericInterface.type.loc24_54.1 => constants.%GenericInterface.type.a69 // CHECK:STDOUT: %GenericInterface.impl_witness.loc24_56.2 => constants.%GenericInterface.impl_witness // CHECK:STDOUT: // CHECK:STDOUT: !definition: diff --git a/toolchain/check/testdata/impl/fail_extend_impl_scope.carbon b/toolchain/check/testdata/impl/fail_extend_impl_scope.carbon index 289c59cd0e28..792d51e53f2a 100644 --- a/toolchain/check/testdata/impl/fail_extend_impl_scope.carbon +++ b/toolchain/check/testdata/impl/fail_extend_impl_scope.carbon @@ -183,37 +183,37 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.e44: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Z.WithSelf.Zero.type.d40: type = fn_type @Z.WithSelf.Zero, @Z.WithSelf(%Self.e44) [symbolic] +// CHECK:STDOUT: %Self.91f: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Z.WithSelf.Zero.type.205: type = fn_type @Z.WithSelf.Zero, @Z.WithSelf(%Self.91f) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Z.WithSelf.Zero.887: %Z.WithSelf.Zero.type.d40 = struct_value () [symbolic] +// CHECK:STDOUT: %Z.WithSelf.Zero.b63: %Z.WithSelf.Zero.type.205 = struct_value () [symbolic] // CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z [concrete] -// CHECK:STDOUT: %assoc0.998: %Z.assoc_type = assoc_entity element0, @Z.WithSelf.%Z.WithSelf.Zero.decl [concrete] -// CHECK:STDOUT: %.as.Z.impl.Zero.type: type = fn_type @.as.Z.impl.Zero, @.as.Z.impl(%Self.e44) [symbolic] +// CHECK:STDOUT: %assoc0.c9a: %Z.assoc_type = assoc_entity element0, @Z.WithSelf.%Z.WithSelf.Zero.decl [concrete] +// CHECK:STDOUT: %.as.Z.impl.Zero.type: type = fn_type @.as.Z.impl.Zero, @.as.Z.impl(%Self.91f) [symbolic] // CHECK:STDOUT: %.as.Z.impl.Zero: %.as.Z.impl.Zero.type = struct_value () [symbolic] // CHECK:STDOUT: %Point: type = class_type @Point [concrete] // CHECK:STDOUT: %Z.impl_witness: = impl_witness @Point.as.Z.impl.%Z.impl_witness_table [concrete] // CHECK:STDOUT: %Point.as.Z.impl.Zero.type: type = fn_type @Point.as.Z.impl.Zero [concrete] // CHECK:STDOUT: %Point.as.Z.impl.Zero: %Point.as.Z.impl.Zero.type = struct_value () [concrete] // CHECK:STDOUT: %Z.facet: %Z.type = facet_value %Point, (%Z.impl_witness) [concrete] -// CHECK:STDOUT: %Z.WithSelf.Zero.type.de2: type = fn_type @Z.WithSelf.Zero, @Z.WithSelf(%Z.facet) [concrete] -// CHECK:STDOUT: %Z.WithSelf.Zero.c7f: %Z.WithSelf.Zero.type.de2 = struct_value () [concrete] +// CHECK:STDOUT: %Z.WithSelf.Zero.type.840: type = fn_type @Z.WithSelf.Zero, @Z.WithSelf(%Z.facet) [concrete] +// CHECK:STDOUT: %Z.WithSelf.Zero.7a6: %Z.WithSelf.Zero.type.840 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %Point.val: %Point = struct_value () [concrete] -// CHECK:STDOUT: %.6fc: ref %Point = temporary invalid, %Point.val [concrete] +// CHECK:STDOUT: %.27c: ref %Point = temporary invalid, %Point.val [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %Point.type.facet: %type = facet_value %Point, () [concrete] -// CHECK:STDOUT: %Z.WithSelf.Zero.type.a64: type = fn_type @Z.WithSelf.Zero, @Z.WithSelf(%Point.type.facet) [concrete] -// CHECK:STDOUT: %Z.WithSelf.Zero.cff: %Z.WithSelf.Zero.type.a64 = struct_value () [concrete] -// CHECK:STDOUT: %.c7c: type = fn_type_with_self_type %Z.WithSelf.Zero.type.de2, %Z.facet [concrete] +// CHECK:STDOUT: %Z.WithSelf.Zero.type.63a: type = fn_type @Z.WithSelf.Zero, @Z.WithSelf(%Point.type.facet) [concrete] +// CHECK:STDOUT: %Z.WithSelf.Zero.777: %Z.WithSelf.Zero.type.63a = struct_value () [concrete] +// CHECK:STDOUT: %.a52: type = fn_type_with_self_type %Z.WithSelf.Zero.type.840, %Z.facet [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc25_7.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.6fc, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc25_7.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.27c, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -239,12 +239,12 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.e44] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91f] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Z.WithSelf.Zero.decl: @Z.WithSelf.%Z.WithSelf.Zero.type (%Z.WithSelf.Zero.type.d40) = fn_decl @Z.WithSelf.Zero [symbolic = @Z.WithSelf.%Z.WithSelf.Zero (constants.%Z.WithSelf.Zero.887)] {} {} -// CHECK:STDOUT: %assoc0: %Z.assoc_type = assoc_entity element0, %Z.WithSelf.Zero.decl [concrete = constants.%assoc0.998] +// CHECK:STDOUT: %Z.WithSelf.Zero.decl: @Z.WithSelf.%Z.WithSelf.Zero.type (%Z.WithSelf.Zero.type.205) = fn_decl @Z.WithSelf.Zero [symbolic = @Z.WithSelf.%Z.WithSelf.Zero (constants.%Z.WithSelf.Zero.b63)] {} {} +// CHECK:STDOUT: %assoc0: %Z.assoc_type = assoc_entity element0, %Z.WithSelf.Zero.decl [concrete = constants.%assoc0.c9a] // CHECK:STDOUT: impl_decl @.as.Z.impl [concrete] {} { // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] // CHECK:STDOUT: } @@ -261,7 +261,7 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @.as.Z.impl(@Z.%Self: %Z.type) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.e44)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %.as.Z.impl.Zero.type: type = fn_type @.as.Z.impl.Zero, @.as.Z.impl(%Self) [symbolic = %.as.Z.impl.Zero.type (constants.%.as.Z.impl.Zero.type)] // CHECK:STDOUT: %.as.Z.impl.Zero: @.as.Z.impl.%.as.Z.impl.Zero.type (%.as.Z.impl.Zero.type) = struct_value () [symbolic = %.as.Z.impl.Zero (constants.%.as.Z.impl.Zero)] // CHECK:STDOUT: @@ -326,11 +326,11 @@ fn F() { // CHECK:STDOUT: %.loc25_5.2: ref %Point = temporary_storage // CHECK:STDOUT: %.loc25_5.3: init %Point to %.loc25_5.2 = class_init () [concrete = constants.%Point.val] // CHECK:STDOUT: %.loc25_7.1: init %Point = converted %.loc25_5.1, %.loc25_5.3 [concrete = constants.%Point.val] -// CHECK:STDOUT: %.loc25_7.2: ref %Point = temporary %.loc25_5.2, %.loc25_7.1 [concrete = constants.%.6fc] -// CHECK:STDOUT: %Zero.ref: %Z.assoc_type = name_ref Zero, @Z.WithSelf.%assoc0 [concrete = constants.%assoc0.998] -// CHECK:STDOUT: %impl.elem0: %.c7c = impl_witness_access constants.%Z.impl_witness, element0 [concrete = constants.%Point.as.Z.impl.Zero] +// CHECK:STDOUT: %.loc25_7.2: ref %Point = temporary %.loc25_5.2, %.loc25_7.1 [concrete = constants.%.27c] +// CHECK:STDOUT: %Zero.ref: %Z.assoc_type = name_ref Zero, @Z.WithSelf.%assoc0 [concrete = constants.%assoc0.c9a] +// CHECK:STDOUT: %impl.elem0: %.a52 = impl_witness_access constants.%Z.impl_witness, element0 [concrete = constants.%Point.as.Z.impl.Zero] // CHECK:STDOUT: %Point.as.Z.impl.Zero.call: init %empty_tuple.type = call %impl.elem0() -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.6fc) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.27c) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -341,29 +341,29 @@ fn F() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.e44) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.91f) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.e44 -// CHECK:STDOUT: %Z.WithSelf.Zero.type => constants.%Z.WithSelf.Zero.type.d40 -// CHECK:STDOUT: %Z.WithSelf.Zero => constants.%Z.WithSelf.Zero.887 +// CHECK:STDOUT: %Self => constants.%Self.91f +// CHECK:STDOUT: %Z.WithSelf.Zero.type => constants.%Z.WithSelf.Zero.type.205 +// CHECK:STDOUT: %Z.WithSelf.Zero => constants.%Z.WithSelf.Zero.b63 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Zero(constants.%Self.e44) {} +// CHECK:STDOUT: specific @Z.WithSelf.Zero(constants.%Self.91f) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @.as.Z.impl(constants.%Self.e44) { +// CHECK:STDOUT: specific @.as.Z.impl(constants.%Self.91f) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.e44 +// CHECK:STDOUT: %Self => constants.%Self.91f // CHECK:STDOUT: %.as.Z.impl.Zero.type => constants.%.as.Z.impl.Zero.type // CHECK:STDOUT: %.as.Z.impl.Zero => constants.%.as.Z.impl.Zero // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @.as.Z.impl.Zero(constants.%Self.e44) {} +// CHECK:STDOUT: specific @.as.Z.impl.Zero(constants.%Self.91f) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Z.facet -// CHECK:STDOUT: %Z.WithSelf.Zero.type => constants.%Z.WithSelf.Zero.type.de2 -// CHECK:STDOUT: %Z.WithSelf.Zero => constants.%Z.WithSelf.Zero.c7f +// CHECK:STDOUT: %Z.WithSelf.Zero.type => constants.%Z.WithSelf.Zero.type.840 +// CHECK:STDOUT: %Z.WithSelf.Zero => constants.%Z.WithSelf.Zero.7a6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf.Zero(constants.%Z.facet) {} @@ -371,7 +371,7 @@ fn F() { // CHECK:STDOUT: specific @Z.WithSelf(constants.%Point.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Point.type.facet -// CHECK:STDOUT: %Z.WithSelf.Zero.type => constants.%Z.WithSelf.Zero.type.a64 -// CHECK:STDOUT: %Z.WithSelf.Zero => constants.%Z.WithSelf.Zero.cff +// CHECK:STDOUT: %Z.WithSelf.Zero.type => constants.%Z.WithSelf.Zero.type.63a +// CHECK:STDOUT: %Z.WithSelf.Zero => constants.%Z.WithSelf.Zero.777 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/fail_extend_impl_type_as.carbon b/toolchain/check/testdata/impl/fail_extend_impl_type_as.carbon index 3771af0981c2..ae2517560b45 100644 --- a/toolchain/check/testdata/impl/fail_extend_impl_type_as.carbon +++ b/toolchain/check/testdata/impl/fail_extend_impl_type_as.carbon @@ -62,8 +62,8 @@ class E { // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %E: type = class_type @E [concrete] -// CHECK:STDOUT: %I.impl_witness.00c: = impl_witness @E.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %I.facet: %I.type = facet_value %E, (%I.impl_witness.00c) [concrete] +// CHECK:STDOUT: %I.impl_witness.74a: = impl_witness @E.as.I.impl.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.facet: %I.type = facet_value %E, (%I.impl_witness.74a) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -111,7 +111,7 @@ class E { // CHECK:STDOUT: // CHECK:STDOUT: impl @E.as.I.impl: %Self.ref as %I.ref { // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @E.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.00c] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.74a] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %I.ref diff --git a/toolchain/check/testdata/impl/fail_impl_as_scope.carbon b/toolchain/check/testdata/impl/fail_impl_as_scope.carbon index 1168ae0d2109..22f605231997 100644 --- a/toolchain/check/testdata/impl/fail_impl_as_scope.carbon +++ b/toolchain/check/testdata/impl/fail_impl_as_scope.carbon @@ -235,48 +235,48 @@ class X { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.09f: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Z.WithSelf.Zero.type.550: type = fn_type @Z.WithSelf.Zero, @Z.WithSelf(%Self.09f) [symbolic] +// CHECK:STDOUT: %Self.91f: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Z.WithSelf.Zero.type.205: type = fn_type @Z.WithSelf.Zero, @Z.WithSelf(%Self.91f) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Z.WithSelf.Zero.a4d: %Z.WithSelf.Zero.type.550 = struct_value () [symbolic] +// CHECK:STDOUT: %Z.WithSelf.Zero.b63: %Z.WithSelf.Zero.type.205 = struct_value () [symbolic] // CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z [concrete] -// CHECK:STDOUT: %assoc0.835: %Z.assoc_type = assoc_entity element0, @Z.WithSelf.%Z.WithSelf.Zero.decl [concrete] -// CHECK:STDOUT: %Self.as_type.85c: type = facet_access_type %Self.09f [symbolic] -// CHECK:STDOUT: %pattern_type.253: type = pattern_type %Self.as_type.85c [symbolic] -// CHECK:STDOUT: %Z.WithSelf.Method.type.b29: type = fn_type @Z.WithSelf.Method, @Z.WithSelf(%Self.09f) [symbolic] -// CHECK:STDOUT: %Z.WithSelf.Method.790: %Z.WithSelf.Method.type.b29 = struct_value () [symbolic] +// CHECK:STDOUT: %assoc0.c9a: %Z.assoc_type = assoc_entity element0, @Z.WithSelf.%Z.WithSelf.Zero.decl [concrete] +// CHECK:STDOUT: %Self.as_type.9c5: type = facet_access_type %Self.91f [symbolic] +// CHECK:STDOUT: %pattern_type.509: type = pattern_type %Self.as_type.9c5 [symbolic] +// CHECK:STDOUT: %Z.WithSelf.Method.type.d78: type = fn_type @Z.WithSelf.Method, @Z.WithSelf(%Self.91f) [symbolic] +// CHECK:STDOUT: %Z.WithSelf.Method.714: %Z.WithSelf.Method.type.d78 = struct_value () [symbolic] // CHECK:STDOUT: %assoc1: %Z.assoc_type = assoc_entity element1, @Z.WithSelf.%Z.WithSelf.Method.decl [concrete] -// CHECK:STDOUT: %.as.Z.impl.Zero.type: type = fn_type @.as.Z.impl.Zero, @.as.Z.impl(%Self.09f) [symbolic] +// CHECK:STDOUT: %.as.Z.impl.Zero.type: type = fn_type @.as.Z.impl.Zero, @.as.Z.impl(%Self.91f) [symbolic] // CHECK:STDOUT: %.as.Z.impl.Zero: %.as.Z.impl.Zero.type = struct_value () [symbolic] -// CHECK:STDOUT: %.as.Z.impl.Method.type: type = fn_type @.as.Z.impl.Method, @.as.Z.impl(%Self.09f) [symbolic] +// CHECK:STDOUT: %.as.Z.impl.Method.type: type = fn_type @.as.Z.impl.Method, @.as.Z.impl(%Self.91f) [symbolic] // CHECK:STDOUT: %.as.Z.impl.Method: %.as.Z.impl.Method.type = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.85c [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.9c5 [symbolic] // CHECK:STDOUT: %Point: type = class_type @Point [concrete] // CHECK:STDOUT: %Z.impl_witness: = impl_witness @Point.as.Z.impl.%Z.impl_witness_table [concrete] // CHECK:STDOUT: %Point.as.Z.impl.Zero.type: type = fn_type @Point.as.Z.impl.Zero [concrete] // CHECK:STDOUT: %Point.as.Z.impl.Zero: %Point.as.Z.impl.Zero.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.883: type = pattern_type %Point [concrete] +// CHECK:STDOUT: %pattern_type.208: type = pattern_type %Point [concrete] // CHECK:STDOUT: %Point.as.Z.impl.Method.type: type = fn_type @Point.as.Z.impl.Method [concrete] // CHECK:STDOUT: %Point.as.Z.impl.Method: %Point.as.Z.impl.Method.type = struct_value () [concrete] // CHECK:STDOUT: %Z.facet: %Z.type = facet_value %Point, (%Z.impl_witness) [concrete] -// CHECK:STDOUT: %Z.WithSelf.Zero.type.63b: type = fn_type @Z.WithSelf.Zero, @Z.WithSelf(%Z.facet) [concrete] -// CHECK:STDOUT: %Z.WithSelf.Zero.7ff: %Z.WithSelf.Zero.type.63b = struct_value () [concrete] -// CHECK:STDOUT: %Z.WithSelf.Method.type.ea4: type = fn_type @Z.WithSelf.Method, @Z.WithSelf(%Z.facet) [concrete] -// CHECK:STDOUT: %Z.WithSelf.Method.644: %Z.WithSelf.Method.type.ea4 = struct_value () [concrete] +// CHECK:STDOUT: %Z.WithSelf.Zero.type.2c0: type = fn_type @Z.WithSelf.Zero, @Z.WithSelf(%Z.facet) [concrete] +// CHECK:STDOUT: %Z.WithSelf.Zero.f72: %Z.WithSelf.Zero.type.2c0 = struct_value () [concrete] +// CHECK:STDOUT: %Z.WithSelf.Method.type.4ba: type = fn_type @Z.WithSelf.Method, @Z.WithSelf(%Z.facet) [concrete] +// CHECK:STDOUT: %Z.WithSelf.Method.bfb: %Z.WithSelf.Method.type.4ba = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %.23c: type = fn_type_with_self_type %Z.WithSelf.Zero.type.63b, %Z.facet [concrete] +// CHECK:STDOUT: %.bc2: type = fn_type_with_self_type %Z.WithSelf.Zero.type.2c0, %Z.facet [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %Point.val: %Point = struct_value () [concrete] -// CHECK:STDOUT: %.915: type = fn_type_with_self_type %Z.WithSelf.Method.type.ea4, %Z.facet [concrete] +// CHECK:STDOUT: %.5cf: type = fn_type_with_self_type %Z.WithSelf.Method.type.4ba, %Z.facet [concrete] // CHECK:STDOUT: %Point.as.Z.impl.Method.bound: = bound_method %Point.val, %Point.as.Z.impl.Method [concrete] -// CHECK:STDOUT: %.0ca: ref %Point = temporary invalid, %Point.val [concrete] +// CHECK:STDOUT: %.27c: ref %Point = temporary invalid, %Point.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc29_7.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.0ca, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc29_7.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.27c, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -302,23 +302,23 @@ class X { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.09f] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91f] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Z.WithSelf.Zero.decl: @Z.WithSelf.%Z.WithSelf.Zero.type (%Z.WithSelf.Zero.type.550) = fn_decl @Z.WithSelf.Zero [symbolic = @Z.WithSelf.%Z.WithSelf.Zero (constants.%Z.WithSelf.Zero.a4d)] {} {} -// CHECK:STDOUT: %assoc0: %Z.assoc_type = assoc_entity element0, %Z.WithSelf.Zero.decl [concrete = constants.%assoc0.835] -// CHECK:STDOUT: %Z.WithSelf.Method.decl: @Z.WithSelf.%Z.WithSelf.Method.type (%Z.WithSelf.Method.type.b29) = fn_decl @Z.WithSelf.Method [symbolic = @Z.WithSelf.%Z.WithSelf.Method (constants.%Z.WithSelf.Method.790)] { -// CHECK:STDOUT: %self.param_patt: @Z.WithSelf.Method.%pattern_type (%pattern_type.253) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Z.WithSelf.Method.%pattern_type (%pattern_type.253) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %Z.WithSelf.Zero.decl: @Z.WithSelf.%Z.WithSelf.Zero.type (%Z.WithSelf.Zero.type.205) = fn_decl @Z.WithSelf.Zero [symbolic = @Z.WithSelf.%Z.WithSelf.Zero (constants.%Z.WithSelf.Zero.b63)] {} {} +// CHECK:STDOUT: %assoc0: %Z.assoc_type = assoc_entity element0, %Z.WithSelf.Zero.decl [concrete = constants.%assoc0.c9a] +// CHECK:STDOUT: %Z.WithSelf.Method.decl: @Z.WithSelf.%Z.WithSelf.Method.type (%Z.WithSelf.Method.type.d78) = fn_decl @Z.WithSelf.Method [symbolic = @Z.WithSelf.%Z.WithSelf.Method (constants.%Z.WithSelf.Method.714)] { +// CHECK:STDOUT: %self.param_patt: @Z.WithSelf.Method.%pattern_type (%pattern_type.509) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Z.WithSelf.Method.%pattern_type (%pattern_type.509) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: @Z.WithSelf.Method.%Self.as_type.loc5_19.1 (%Self.as_type.85c) = value_param call_param0 -// CHECK:STDOUT: %.loc5_19.1: type = splice_block %.loc5_19.2 [symbolic = %Self.as_type.loc5_19.1 (constants.%Self.as_type.85c)] { -// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.09f)] -// CHECK:STDOUT: %Self.as_type.loc5_19.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc5_19.1 (constants.%Self.as_type.85c)] -// CHECK:STDOUT: %.loc5_19.2: type = converted %Self.ref, %Self.as_type.loc5_19.2 [symbolic = %Self.as_type.loc5_19.1 (constants.%Self.as_type.85c)] +// CHECK:STDOUT: %self.param: @Z.WithSelf.Method.%Self.as_type.loc5_19.1 (%Self.as_type.9c5) = value_param call_param0 +// CHECK:STDOUT: %.loc5_19.1: type = splice_block %.loc5_19.2 [symbolic = %Self.as_type.loc5_19.1 (constants.%Self.as_type.9c5)] { +// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.91f)] +// CHECK:STDOUT: %Self.as_type.loc5_19.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc5_19.1 (constants.%Self.as_type.9c5)] +// CHECK:STDOUT: %.loc5_19.2: type = converted %Self.ref, %Self.as_type.loc5_19.2 [symbolic = %Self.as_type.loc5_19.1 (constants.%Self.as_type.9c5)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @Z.WithSelf.Method.%Self.as_type.loc5_19.1 (%Self.as_type.85c) = value_binding self, %self.param +// CHECK:STDOUT: %self: @Z.WithSelf.Method.%Self.as_type.loc5_19.1 (%Self.as_type.9c5) = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %assoc1: %Z.assoc_type = assoc_entity element1, %Z.WithSelf.Method.decl [concrete = constants.%assoc1] // CHECK:STDOUT: impl_decl @.as.Z.impl [concrete] {} { @@ -338,7 +338,7 @@ class X { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @.as.Z.impl(@Z.%Self: %Z.type) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.09f)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %.as.Z.impl.Zero.type: type = fn_type @.as.Z.impl.Zero, @.as.Z.impl(%Self) [symbolic = %.as.Z.impl.Zero.type (constants.%.as.Z.impl.Zero.type)] // CHECK:STDOUT: %.as.Z.impl.Zero: @.as.Z.impl.%.as.Z.impl.Zero.type (%.as.Z.impl.Zero.type) = struct_value () [symbolic = %.as.Z.impl.Zero (constants.%.as.Z.impl.Zero)] // CHECK:STDOUT: %.as.Z.impl.Method.type: type = fn_type @.as.Z.impl.Method, @.as.Z.impl(%Self) [symbolic = %.as.Z.impl.Method.type (constants.%.as.Z.impl.Method.type)] @@ -347,16 +347,16 @@ class X { // CHECK:STDOUT: impl: as %Z.ref { // CHECK:STDOUT: %.as.Z.impl.Zero.decl: @.as.Z.impl.%.as.Z.impl.Zero.type (%.as.Z.impl.Zero.type) = fn_decl @.as.Z.impl.Zero [symbolic = @.as.Z.impl.%.as.Z.impl.Zero (constants.%.as.Z.impl.Zero)] {} {} // CHECK:STDOUT: %.as.Z.impl.Method.decl: @.as.Z.impl.%.as.Z.impl.Method.type (%.as.Z.impl.Method.type) = fn_decl @.as.Z.impl.Method [symbolic = @.as.Z.impl.%.as.Z.impl.Method (constants.%.as.Z.impl.Method)] { -// CHECK:STDOUT: %self.param_patt: @.as.Z.impl.Method.%pattern_type (%pattern_type.253) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @.as.Z.impl.Method.%pattern_type (%pattern_type.253) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @.as.Z.impl.Method.%pattern_type (%pattern_type.509) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @.as.Z.impl.Method.%pattern_type (%pattern_type.509) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: @.as.Z.impl.Method.%Self.as_type.loc13_28.1 (%Self.as_type.85c) = value_param call_param0 -// CHECK:STDOUT: %.loc13_28.1: type = splice_block %.loc13_28.2 [symbolic = %Self.as_type.loc13_28.1 (constants.%Self.as_type.85c)] { -// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.09f)] -// CHECK:STDOUT: %Self.as_type.loc13_28.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc13_28.1 (constants.%Self.as_type.85c)] -// CHECK:STDOUT: %.loc13_28.2: type = converted %Self.ref, %Self.as_type.loc13_28.2 [symbolic = %Self.as_type.loc13_28.1 (constants.%Self.as_type.85c)] +// CHECK:STDOUT: %self.param: @.as.Z.impl.Method.%Self.as_type.loc13_28.1 (%Self.as_type.9c5) = value_param call_param0 +// CHECK:STDOUT: %.loc13_28.1: type = splice_block %.loc13_28.2 [symbolic = %Self.as_type.loc13_28.1 (constants.%Self.as_type.9c5)] { +// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.91f)] +// CHECK:STDOUT: %Self.as_type.loc13_28.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc13_28.1 (constants.%Self.as_type.9c5)] +// CHECK:STDOUT: %.loc13_28.2: type = converted %Self.ref, %Self.as_type.loc13_28.2 [symbolic = %Self.as_type.loc13_28.1 (constants.%Self.as_type.9c5)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @.as.Z.impl.Method.%Self.as_type.loc13_28.1 (%Self.as_type.85c) = value_binding self, %self.param +// CHECK:STDOUT: %self: @.as.Z.impl.Method.%Self.as_type.loc13_28.1 (%Self.as_type.9c5) = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -370,8 +370,8 @@ class X { // CHECK:STDOUT: impl @Point.as.Z.impl: %Self.ref as %Z.ref { // CHECK:STDOUT: %Point.as.Z.impl.Zero.decl: %Point.as.Z.impl.Zero.type = fn_decl @Point.as.Z.impl.Zero [concrete = constants.%Point.as.Z.impl.Zero] {} {} // CHECK:STDOUT: %Point.as.Z.impl.Method.decl: %Point.as.Z.impl.Method.type = fn_decl @Point.as.Z.impl.Method [concrete = constants.%Point.as.Z.impl.Method] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.883 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.883 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.208 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.208 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %Point = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%Point [concrete = constants.%Point] @@ -405,11 +405,11 @@ class X { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Z.WithSelf.Method(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.09f)] -// CHECK:STDOUT: %Self.as_type.loc5_19.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_19.1 (constants.%Self.as_type.85c)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_19.1 [symbolic = %pattern_type (constants.%pattern_type.253)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.91f)] +// CHECK:STDOUT: %Self.as_type.loc5_19.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_19.1 (constants.%Self.as_type.9c5)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_19.1 [symbolic = %pattern_type (constants.%pattern_type.509)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @Z.WithSelf.Method.%Self.as_type.loc5_19.1 (%Self.as_type.85c)); +// CHECK:STDOUT: fn(%self.param: @Z.WithSelf.Method.%Self.as_type.loc5_19.1 (%Self.as_type.9c5)); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @.as.Z.impl.Zero(@Z.%Self: %Z.type) { @@ -422,14 +422,14 @@ class X { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @.as.Z.impl.Method(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.09f)] -// CHECK:STDOUT: %Self.as_type.loc13_28.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc13_28.1 (constants.%Self.as_type.85c)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc13_28.1 [symbolic = %pattern_type (constants.%pattern_type.253)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.91f)] +// CHECK:STDOUT: %Self.as_type.loc13_28.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc13_28.1 (constants.%Self.as_type.9c5)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc13_28.1 [symbolic = %pattern_type (constants.%pattern_type.509)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.loc13_28.1 [symbolic = %require_complete (constants.%require_complete)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @.as.Z.impl.Method.%Self.as_type.loc13_28.1 (%Self.as_type.85c)) { +// CHECK:STDOUT: fn(%self.param: @.as.Z.impl.Method.%Self.as_type.loc13_28.1 (%Self.as_type.9c5)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -449,10 +449,10 @@ class X { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Point.ref.loc28: type = name_ref Point, file.%Point.decl [concrete = constants.%Point] // CHECK:STDOUT: %Z.ref.loc28: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] -// CHECK:STDOUT: %Zero.ref: %Z.assoc_type = name_ref Zero, @Z.WithSelf.%assoc0 [concrete = constants.%assoc0.835] +// CHECK:STDOUT: %Zero.ref: %Z.assoc_type = name_ref Zero, @Z.WithSelf.%assoc0 [concrete = constants.%assoc0.c9a] // CHECK:STDOUT: %Z.facet: %Z.type = facet_value %Point.ref.loc28, (constants.%Z.impl_witness) [concrete = constants.%Z.facet] // CHECK:STDOUT: %.loc28: %Z.type = converted %Point.ref.loc28, %Z.facet [concrete = constants.%Z.facet] -// CHECK:STDOUT: %impl.elem0: %.23c = impl_witness_access constants.%Z.impl_witness, element0 [concrete = constants.%Point.as.Z.impl.Zero] +// CHECK:STDOUT: %impl.elem0: %.bc2 = impl_witness_access constants.%Z.impl_witness, element0 [concrete = constants.%Point.as.Z.impl.Zero] // CHECK:STDOUT: %Point.as.Z.impl.Zero.call: init %empty_tuple.type = call %impl.elem0() // CHECK:STDOUT: %.loc29_5.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %Point.ref.loc29: type = name_ref Point, file.%Point.decl [concrete = constants.%Point] @@ -461,12 +461,12 @@ class X { // CHECK:STDOUT: %.loc29_7.1: init %Point = converted %.loc29_5.1, %.loc29_5.3 [concrete = constants.%Point.val] // CHECK:STDOUT: %Z.ref.loc29: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] // CHECK:STDOUT: %Method.ref: %Z.assoc_type = name_ref Method, @Z.WithSelf.%assoc1 [concrete = constants.%assoc1] -// CHECK:STDOUT: %impl.elem1: %.915 = impl_witness_access constants.%Z.impl_witness, element1 [concrete = constants.%Point.as.Z.impl.Method] +// CHECK:STDOUT: %impl.elem1: %.5cf = impl_witness_access constants.%Z.impl_witness, element1 [concrete = constants.%Point.as.Z.impl.Method] // CHECK:STDOUT: %bound_method: = bound_method %.loc29_7.1, %impl.elem1 [concrete = constants.%Point.as.Z.impl.Method.bound] -// CHECK:STDOUT: %.loc29_7.2: ref %Point = temporary %.loc29_5.2, %.loc29_7.1 [concrete = constants.%.0ca] +// CHECK:STDOUT: %.loc29_7.2: ref %Point = temporary %.loc29_5.2, %.loc29_7.1 [concrete = constants.%.27c] // CHECK:STDOUT: %.loc29_7.3: %Point = acquire_value %.loc29_7.2 [concrete = constants.%Point.val] // CHECK:STDOUT: %Point.as.Z.impl.Method.call: init %empty_tuple.type = call %bound_method(%.loc29_7.3) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.0ca) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.27c) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -477,47 +477,47 @@ class X { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.09f) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.91f) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.09f -// CHECK:STDOUT: %Z.WithSelf.Zero.type => constants.%Z.WithSelf.Zero.type.550 -// CHECK:STDOUT: %Z.WithSelf.Zero => constants.%Z.WithSelf.Zero.a4d -// CHECK:STDOUT: %Z.WithSelf.Method.type => constants.%Z.WithSelf.Method.type.b29 -// CHECK:STDOUT: %Z.WithSelf.Method => constants.%Z.WithSelf.Method.790 +// CHECK:STDOUT: %Self => constants.%Self.91f +// CHECK:STDOUT: %Z.WithSelf.Zero.type => constants.%Z.WithSelf.Zero.type.205 +// CHECK:STDOUT: %Z.WithSelf.Zero => constants.%Z.WithSelf.Zero.b63 +// CHECK:STDOUT: %Z.WithSelf.Method.type => constants.%Z.WithSelf.Method.type.d78 +// CHECK:STDOUT: %Z.WithSelf.Method => constants.%Z.WithSelf.Method.714 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Zero(constants.%Self.09f) {} +// CHECK:STDOUT: specific @Z.WithSelf.Zero(constants.%Self.91f) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Method(constants.%Self.09f) { -// CHECK:STDOUT: %Self => constants.%Self.09f -// CHECK:STDOUT: %Self.as_type.loc5_19.1 => constants.%Self.as_type.85c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.253 +// CHECK:STDOUT: specific @Z.WithSelf.Method(constants.%Self.91f) { +// CHECK:STDOUT: %Self => constants.%Self.91f +// CHECK:STDOUT: %Self.as_type.loc5_19.1 => constants.%Self.as_type.9c5 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.509 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @.as.Z.impl(constants.%Self.09f) { +// CHECK:STDOUT: specific @.as.Z.impl(constants.%Self.91f) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.09f +// CHECK:STDOUT: %Self => constants.%Self.91f // CHECK:STDOUT: %.as.Z.impl.Zero.type => constants.%.as.Z.impl.Zero.type // CHECK:STDOUT: %.as.Z.impl.Zero => constants.%.as.Z.impl.Zero // CHECK:STDOUT: %.as.Z.impl.Method.type => constants.%.as.Z.impl.Method.type // CHECK:STDOUT: %.as.Z.impl.Method => constants.%.as.Z.impl.Method // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @.as.Z.impl.Zero(constants.%Self.09f) {} +// CHECK:STDOUT: specific @.as.Z.impl.Zero(constants.%Self.91f) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @.as.Z.impl.Method(constants.%Self.09f) { -// CHECK:STDOUT: %Self => constants.%Self.09f -// CHECK:STDOUT: %Self.as_type.loc13_28.1 => constants.%Self.as_type.85c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.253 +// CHECK:STDOUT: specific @.as.Z.impl.Method(constants.%Self.91f) { +// CHECK:STDOUT: %Self => constants.%Self.91f +// CHECK:STDOUT: %Self.as_type.loc13_28.1 => constants.%Self.as_type.9c5 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.509 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Z.facet -// CHECK:STDOUT: %Z.WithSelf.Zero.type => constants.%Z.WithSelf.Zero.type.63b -// CHECK:STDOUT: %Z.WithSelf.Zero => constants.%Z.WithSelf.Zero.7ff -// CHECK:STDOUT: %Z.WithSelf.Method.type => constants.%Z.WithSelf.Method.type.ea4 -// CHECK:STDOUT: %Z.WithSelf.Method => constants.%Z.WithSelf.Method.644 +// CHECK:STDOUT: %Z.WithSelf.Zero.type => constants.%Z.WithSelf.Zero.type.2c0 +// CHECK:STDOUT: %Z.WithSelf.Zero => constants.%Z.WithSelf.Zero.f72 +// CHECK:STDOUT: %Z.WithSelf.Method.type => constants.%Z.WithSelf.Method.type.4ba +// CHECK:STDOUT: %Z.WithSelf.Method => constants.%Z.WithSelf.Method.bfb // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf.Zero(constants.%Z.facet) {} @@ -525,21 +525,21 @@ class X { // CHECK:STDOUT: specific @Z.WithSelf.Method(constants.%Z.facet) { // CHECK:STDOUT: %Self => constants.%Z.facet // CHECK:STDOUT: %Self.as_type.loc5_19.1 => constants.%Point -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.883 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.208 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_impl_as_other_interface.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.a98: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %A.WithSelf.B.type.e58: type = fn_type @A.WithSelf.B, @A.WithSelf(%Self.a98) [symbolic] +// CHECK:STDOUT: %Self.2fc: %A.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %A.WithSelf.B.type.fb9: type = fn_type @A.WithSelf.B, @A.WithSelf(%Self.2fc) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %A.WithSelf.B.cde: %A.WithSelf.B.type.e58 = struct_value () [symbolic] +// CHECK:STDOUT: %A.WithSelf.B.4f3: %A.WithSelf.B.type.fb9 = struct_value () [symbolic] // CHECK:STDOUT: %A.assoc_type: type = assoc_entity_type @A [concrete] // CHECK:STDOUT: %assoc0: %A.assoc_type = assoc_entity element0, @A.WithSelf.%A.WithSelf.B.decl [concrete] // CHECK:STDOUT: %C.type: type = facet_type <@C> [concrete] -// CHECK:STDOUT: %Self.08b: %C.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.c55: %C.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %X: type = class_type @X [concrete] @@ -547,8 +547,8 @@ class X { // CHECK:STDOUT: %X.as.A.impl.B.type: type = fn_type @X.as.A.impl.B [concrete] // CHECK:STDOUT: %X.as.A.impl.B: %X.as.A.impl.B.type = struct_value () [concrete] // CHECK:STDOUT: %A.facet: %A.type = facet_value %X, (%A.impl_witness) [concrete] -// CHECK:STDOUT: %A.WithSelf.B.type.3d4: type = fn_type @A.WithSelf.B, @A.WithSelf(%A.facet) [concrete] -// CHECK:STDOUT: %A.WithSelf.B.c22: %A.WithSelf.B.type.3d4 = struct_value () [concrete] +// CHECK:STDOUT: %A.WithSelf.B.type.036: type = fn_type @A.WithSelf.B, @A.WithSelf(%A.facet) [concrete] +// CHECK:STDOUT: %A.WithSelf.B.c6d: %A.WithSelf.B.type.036 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: } @@ -576,11 +576,11 @@ class X { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.a98] +// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.2fc] // CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %A.WithSelf.B.decl: @A.WithSelf.%A.WithSelf.B.type (%A.WithSelf.B.type.e58) = fn_decl @A.WithSelf.B [symbolic = @A.WithSelf.%A.WithSelf.B (constants.%A.WithSelf.B.cde)] {} {} +// CHECK:STDOUT: %A.WithSelf.B.decl: @A.WithSelf.%A.WithSelf.B.type (%A.WithSelf.B.type.fb9) = fn_decl @A.WithSelf.B [symbolic = @A.WithSelf.%A.WithSelf.B (constants.%A.WithSelf.B.4f3)] {} {} // CHECK:STDOUT: %assoc0: %A.assoc_type = assoc_entity element0, %A.WithSelf.B.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -594,7 +594,7 @@ class X { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @C { -// CHECK:STDOUT: %Self: %C.type = symbolic_binding Self, 0 [symbolic = constants.%Self.08b] +// CHECK:STDOUT: %Self: %C.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c55] // CHECK:STDOUT: %C.WithSelf.decl = interface_with_self_decl @C [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -657,22 +657,22 @@ class X { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.a98) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.2fc) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.a98 -// CHECK:STDOUT: %A.WithSelf.B.type => constants.%A.WithSelf.B.type.e58 -// CHECK:STDOUT: %A.WithSelf.B => constants.%A.WithSelf.B.cde +// CHECK:STDOUT: %Self => constants.%Self.2fc +// CHECK:STDOUT: %A.WithSelf.B.type => constants.%A.WithSelf.B.type.fb9 +// CHECK:STDOUT: %A.WithSelf.B => constants.%A.WithSelf.B.4f3 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.B(constants.%Self.a98) {} +// CHECK:STDOUT: specific @A.WithSelf.B(constants.%Self.2fc) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.WithSelf(constants.%Self.08b) {} +// CHECK:STDOUT: specific @C.WithSelf(constants.%Self.c55) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf(constants.%A.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%A.facet -// CHECK:STDOUT: %A.WithSelf.B.type => constants.%A.WithSelf.B.type.3d4 -// CHECK:STDOUT: %A.WithSelf.B => constants.%A.WithSelf.B.c22 +// CHECK:STDOUT: %A.WithSelf.B.type => constants.%A.WithSelf.B.type.036 +// CHECK:STDOUT: %A.WithSelf.B => constants.%A.WithSelf.B.c6d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf.B(constants.%A.facet) {} diff --git a/toolchain/check/testdata/impl/fail_impl_bad_assoc_fn.carbon b/toolchain/check/testdata/impl/fail_impl_bad_assoc_fn.carbon index 18f8e88d1d3f..acf4b2ec4f25 100644 --- a/toolchain/check/testdata/impl/fail_impl_bad_assoc_fn.carbon +++ b/toolchain/check/testdata/impl/fail_impl_bad_assoc_fn.carbon @@ -244,187 +244,187 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.cd6: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.831: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.cd6) [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.d9f: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.179) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %I.WithSelf.F.ddf: %I.WithSelf.F.type.831 = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.592: %I.WithSelf.F.type.d9f = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.918: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.8fc: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: %NoF: type = class_type @NoF [concrete] -// CHECK:STDOUT: %I.impl_witness.89a: = impl_witness @NoF.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %I.facet.469: %I.type = facet_value %NoF, (%I.impl_witness.89a) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.9ea: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.469) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.528: %I.WithSelf.F.type.9ea = struct_value () [concrete] +// CHECK:STDOUT: %I.impl_witness.57b: = impl_witness @NoF.as.I.impl.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.facet.a48: %I.type = facet_value %NoF, (%I.impl_witness.57b) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.296: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.a48) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.754: %I.WithSelf.F.type.296 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %FNotFunction: type = class_type @FNotFunction [concrete] -// CHECK:STDOUT: %I.impl_witness.377: = impl_witness @FNotFunction.as.I.impl.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.impl_witness.8c4: = impl_witness @FNotFunction.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %F: type = class_type @F [concrete] -// CHECK:STDOUT: %I.facet.1ce: %I.type = facet_value %FNotFunction, (%I.impl_witness.377) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.a4c: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.1ce) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.2f2: %I.WithSelf.F.type.a4c = struct_value () [concrete] +// CHECK:STDOUT: %I.facet.716: %I.type = facet_value %FNotFunction, (%I.impl_witness.8c4) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.694: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.716) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.ab7: %I.WithSelf.F.type.694 = struct_value () [concrete] // CHECK:STDOUT: %PossiblyF.type: type = fn_type @PossiblyF [concrete] // CHECK:STDOUT: %PossiblyF: %PossiblyF.type = struct_value () [concrete] // CHECK:STDOUT: %FAlias: type = class_type @FAlias [concrete] -// CHECK:STDOUT: %I.impl_witness.1ac: = impl_witness @FAlias.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %I.facet.0a8: %I.type = facet_value %FAlias, (%I.impl_witness.1ac) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.c54: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.0a8) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.c60: %I.WithSelf.F.type.c54 = struct_value () [concrete] +// CHECK:STDOUT: %I.impl_witness.414: = impl_witness @FAlias.as.I.impl.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.facet.afb: %I.type = facet_value %FAlias, (%I.impl_witness.414) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.b03: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.afb) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.6ef: %I.WithSelf.F.type.b03 = struct_value () [concrete] // CHECK:STDOUT: %FExtraParam: type = class_type @FExtraParam [concrete] -// CHECK:STDOUT: %I.impl_witness.efa: = impl_witness @FExtraParam.as.I.impl.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.impl_witness.c88: = impl_witness @FExtraParam.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %Bool.type: type = fn_type @Bool [concrete] // CHECK:STDOUT: %Bool: %Bool.type = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.831: type = pattern_type bool [concrete] -// CHECK:STDOUT: %FExtraParam.as.I.impl.F.type.cb12e5.1: type = fn_type @FExtraParam.as.I.impl.F.loc69_18.1 [concrete] -// CHECK:STDOUT: %FExtraParam.as.I.impl.F.989bc3.1: %FExtraParam.as.I.impl.F.type.cb12e5.1 = struct_value () [concrete] -// CHECK:STDOUT: %I.facet.50c: %I.type = facet_value %FExtraParam, (%I.impl_witness.efa) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.e8f: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.50c) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.df3: %I.WithSelf.F.type.e8f = struct_value () [concrete] -// CHECK:STDOUT: %FExtraParam.as.I.impl.F.type.cb12e5.2: type = fn_type @FExtraParam.as.I.impl.F.loc69_18.2 [concrete] -// CHECK:STDOUT: %FExtraParam.as.I.impl.F.989bc3.2: %FExtraParam.as.I.impl.F.type.cb12e5.2 = struct_value () [concrete] +// CHECK:STDOUT: %FExtraParam.as.I.impl.F.type.e67c7d.1: type = fn_type @FExtraParam.as.I.impl.F.loc69_18.1 [concrete] +// CHECK:STDOUT: %FExtraParam.as.I.impl.F.9ec29e.1: %FExtraParam.as.I.impl.F.type.e67c7d.1 = struct_value () [concrete] +// CHECK:STDOUT: %I.facet.c30: %I.type = facet_value %FExtraParam, (%I.impl_witness.c88) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.5de: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.c30) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.9a8: %I.WithSelf.F.type.5de = struct_value () [concrete] +// CHECK:STDOUT: %FExtraParam.as.I.impl.F.type.e67c7d.2: type = fn_type @FExtraParam.as.I.impl.F.loc69_18.2 [concrete] +// CHECK:STDOUT: %FExtraParam.as.I.impl.F.9ec29e.2: %FExtraParam.as.I.impl.F.type.e67c7d.2 = struct_value () [concrete] // CHECK:STDOUT: %FExtraImplicitParam: type = class_type @FExtraImplicitParam [concrete] -// CHECK:STDOUT: %I.impl_witness.303: = impl_witness @FExtraImplicitParam.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.7ee: type = pattern_type %FExtraImplicitParam [concrete] -// CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.type.f5adc6.1: type = fn_type @FExtraImplicitParam.as.I.impl.F.loc85_23.1 [concrete] -// CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.8df3a7.1: %FExtraImplicitParam.as.I.impl.F.type.f5adc6.1 = struct_value () [concrete] -// CHECK:STDOUT: %I.facet.f28: %I.type = facet_value %FExtraImplicitParam, (%I.impl_witness.303) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.ff9: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.f28) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.e60: %I.WithSelf.F.type.ff9 = struct_value () [concrete] -// CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.type.f5adc6.2: type = fn_type @FExtraImplicitParam.as.I.impl.F.loc85_23.2 [concrete] -// CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.8df3a7.2: %FExtraImplicitParam.as.I.impl.F.type.f5adc6.2 = struct_value () [concrete] +// CHECK:STDOUT: %I.impl_witness.67e: = impl_witness @FExtraImplicitParam.as.I.impl.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.4f8: type = pattern_type %FExtraImplicitParam [concrete] +// CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.type.182ef7.1: type = fn_type @FExtraImplicitParam.as.I.impl.F.loc85_23.1 [concrete] +// CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.db022d.1: %FExtraImplicitParam.as.I.impl.F.type.182ef7.1 = struct_value () [concrete] +// CHECK:STDOUT: %I.facet.0d6: %I.type = facet_value %FExtraImplicitParam, (%I.impl_witness.67e) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.fe1: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.0d6) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.fc9: %I.WithSelf.F.type.fe1 = struct_value () [concrete] +// CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.type.182ef7.2: type = fn_type @FExtraImplicitParam.as.I.impl.F.loc85_23.2 [concrete] +// CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.db022d.2: %FExtraImplicitParam.as.I.impl.F.type.182ef7.2 = struct_value () [concrete] // CHECK:STDOUT: %FExtraReturnType: type = class_type @FExtraReturnType [concrete] -// CHECK:STDOUT: %I.impl_witness.0f7: = impl_witness @FExtraReturnType.as.I.impl.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.impl_witness.45f: = impl_witness @FExtraReturnType.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %.f34: Core.Form = init_form bool [concrete] // CHECK:STDOUT: %FExtraReturnType.as.I.impl.F.type: type = fn_type @FExtraReturnType.as.I.impl.F [concrete] // CHECK:STDOUT: %FExtraReturnType.as.I.impl.F: %FExtraReturnType.as.I.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %I.facet.d6e: %I.type = facet_value %FExtraReturnType, (%I.impl_witness.0f7) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.37b: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.d6e) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.3ab: %I.WithSelf.F.type.37b = struct_value () [concrete] +// CHECK:STDOUT: %I.facet.436: %I.type = facet_value %FExtraReturnType, (%I.impl_witness.45f) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.ce0: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.436) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.037: %I.WithSelf.F.type.ce0 = struct_value () [concrete] // CHECK:STDOUT: %J.type: type = facet_type <@J> [concrete] -// CHECK:STDOUT: %Self.c93: %J.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %J.WithSelf.F.type.66e: type = fn_type @J.WithSelf.F, @J.WithSelf(%Self.c93) [symbolic] -// CHECK:STDOUT: %J.WithSelf.F.876: %J.WithSelf.F.type.66e = struct_value () [symbolic] +// CHECK:STDOUT: %Self.fd8: %J.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %J.WithSelf.F.type.37c: type = fn_type @J.WithSelf.F, @J.WithSelf(%Self.fd8) [symbolic] +// CHECK:STDOUT: %J.WithSelf.F.acf: %J.WithSelf.F.type.37c = struct_value () [symbolic] // CHECK:STDOUT: %J.assoc_type: type = assoc_entity_type @J [concrete] -// CHECK:STDOUT: %assoc0.7d2: %J.assoc_type = assoc_entity element0, @J.WithSelf.%J.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.ba5: %J.assoc_type = assoc_entity element0, @J.WithSelf.%J.WithSelf.F.decl [concrete] // CHECK:STDOUT: %FMissingParam: type = class_type @FMissingParam [concrete] -// CHECK:STDOUT: %J.impl_witness.e6f: = impl_witness @FMissingParam.as.J.impl.%J.impl_witness_table [concrete] -// CHECK:STDOUT: %FMissingParam.as.J.impl.F.type.5ef2ac.1: type = fn_type @FMissingParam.as.J.impl.F.loc117_31.1 [concrete] -// CHECK:STDOUT: %FMissingParam.as.J.impl.F.d8edee.1: %FMissingParam.as.J.impl.F.type.5ef2ac.1 = struct_value () [concrete] -// CHECK:STDOUT: %J.facet.4dc: %J.type = facet_value %FMissingParam, (%J.impl_witness.e6f) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.type.0f0: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.4dc) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.200: %J.WithSelf.F.type.0f0 = struct_value () [concrete] -// CHECK:STDOUT: %FMissingParam.as.J.impl.F.type.5ef2ac.2: type = fn_type @FMissingParam.as.J.impl.F.loc117_31.2 [concrete] -// CHECK:STDOUT: %FMissingParam.as.J.impl.F.d8edee.2: %FMissingParam.as.J.impl.F.type.5ef2ac.2 = struct_value () [concrete] +// CHECK:STDOUT: %J.impl_witness.fb1: = impl_witness @FMissingParam.as.J.impl.%J.impl_witness_table [concrete] +// CHECK:STDOUT: %FMissingParam.as.J.impl.F.type.bba3a3.1: type = fn_type @FMissingParam.as.J.impl.F.loc117_31.1 [concrete] +// CHECK:STDOUT: %FMissingParam.as.J.impl.F.c0814c.1: %FMissingParam.as.J.impl.F.type.bba3a3.1 = struct_value () [concrete] +// CHECK:STDOUT: %J.facet.55f: %J.type = facet_value %FMissingParam, (%J.impl_witness.fb1) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.type.fca: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.55f) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.021: %J.WithSelf.F.type.fca = struct_value () [concrete] +// CHECK:STDOUT: %FMissingParam.as.J.impl.F.type.bba3a3.2: type = fn_type @FMissingParam.as.J.impl.F.loc117_31.2 [concrete] +// CHECK:STDOUT: %FMissingParam.as.J.impl.F.c0814c.2: %FMissingParam.as.J.impl.F.type.bba3a3.2 = struct_value () [concrete] // CHECK:STDOUT: %FMissingImplicitParam: type = class_type @FMissingImplicitParam [concrete] -// CHECK:STDOUT: %J.impl_witness.e96: = impl_witness @FMissingImplicitParam.as.J.impl.%J.impl_witness_table [concrete] -// CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.type.f8427f.1: type = fn_type @FMissingImplicitParam.as.J.impl.F.loc130_26.1 [concrete] -// CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.b398ca.1: %FMissingImplicitParam.as.J.impl.F.type.f8427f.1 = struct_value () [concrete] -// CHECK:STDOUT: %J.facet.158: %J.type = facet_value %FMissingImplicitParam, (%J.impl_witness.e96) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.type.72a: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.158) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.5e6: %J.WithSelf.F.type.72a = struct_value () [concrete] -// CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.type.f8427f.2: type = fn_type @FMissingImplicitParam.as.J.impl.F.loc130_26.2 [concrete] -// CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.b398ca.2: %FMissingImplicitParam.as.J.impl.F.type.f8427f.2 = struct_value () [concrete] +// CHECK:STDOUT: %J.impl_witness.22f: = impl_witness @FMissingImplicitParam.as.J.impl.%J.impl_witness_table [concrete] +// CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.type.201eb4.1: type = fn_type @FMissingImplicitParam.as.J.impl.F.loc130_26.1 [concrete] +// CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.8b207a.1: %FMissingImplicitParam.as.J.impl.F.type.201eb4.1 = struct_value () [concrete] +// CHECK:STDOUT: %J.facet.a37: %J.type = facet_value %FMissingImplicitParam, (%J.impl_witness.22f) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.type.2c3: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.a37) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.0cf: %J.WithSelf.F.type.2c3 = struct_value () [concrete] +// CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.type.201eb4.2: type = fn_type @FMissingImplicitParam.as.J.impl.F.loc130_26.2 [concrete] +// CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.8b207a.2: %FMissingImplicitParam.as.J.impl.F.type.201eb4.2 = struct_value () [concrete] // CHECK:STDOUT: %FMissingReturnType: type = class_type @FMissingReturnType [concrete] -// CHECK:STDOUT: %J.impl_witness.3a9: = impl_witness @FMissingReturnType.as.J.impl.%J.impl_witness_table [concrete] -// CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.type.78fab6.1: type = fn_type @FMissingReturnType.as.J.impl.F.loc152_30.1 [concrete] -// CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.55cda9.1: %FMissingReturnType.as.J.impl.F.type.78fab6.1 = struct_value () [concrete] -// CHECK:STDOUT: %J.facet.2d3: %J.type = facet_value %FMissingReturnType, (%J.impl_witness.3a9) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.type.d1d: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.2d3) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.eba: %J.WithSelf.F.type.d1d = struct_value () [concrete] -// CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.type.78fab6.2: type = fn_type @FMissingReturnType.as.J.impl.F.loc152_30.2 [concrete] -// CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.55cda9.2: %FMissingReturnType.as.J.impl.F.type.78fab6.2 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %J.impl_witness.d68: = impl_witness @FMissingReturnType.as.J.impl.%J.impl_witness_table [concrete] +// CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.type.c14535.1: type = fn_type @FMissingReturnType.as.J.impl.F.loc152_30.1 [concrete] +// CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.fcb664.1: %FMissingReturnType.as.J.impl.F.type.c14535.1 = struct_value () [concrete] +// CHECK:STDOUT: %J.facet.d54: %J.type = facet_value %FMissingReturnType, (%J.impl_witness.d68) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.type.197: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.d54) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.c12: %J.WithSelf.F.type.197 = struct_value () [concrete] +// CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.type.c14535.2: type = fn_type @FMissingReturnType.as.J.impl.F.loc152_30.2 [concrete] +// CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.fcb664.2: %FMissingReturnType.as.J.impl.F.type.c14535.2 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %FDifferentParamType: type = class_type @FDifferentParamType [concrete] -// CHECK:STDOUT: %J.impl_witness.eeb: = impl_witness @FDifferentParamType.as.J.impl.%J.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.789: type = pattern_type %FDifferentParamType [concrete] -// CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.type.a9aa82.1: type = fn_type @FDifferentParamType.as.J.impl.F.loc171_38.1 [concrete] -// CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.9d056e.1: %FDifferentParamType.as.J.impl.F.type.a9aa82.1 = struct_value () [concrete] -// CHECK:STDOUT: %J.facet.e11: %J.type = facet_value %FDifferentParamType, (%J.impl_witness.eeb) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.type.0de: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.e11) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.d73: %J.WithSelf.F.type.0de = struct_value () [concrete] -// CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.type.a9aa82.2: type = fn_type @FDifferentParamType.as.J.impl.F.loc171_38.2 [concrete] -// CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.9d056e.2: %FDifferentParamType.as.J.impl.F.type.a9aa82.2 = struct_value () [concrete] +// CHECK:STDOUT: %J.impl_witness.dc7: = impl_witness @FDifferentParamType.as.J.impl.%J.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.5e2: type = pattern_type %FDifferentParamType [concrete] +// CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.type.1f32b7.1: type = fn_type @FDifferentParamType.as.J.impl.F.loc171_38.1 [concrete] +// CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.15c1f8.1: %FDifferentParamType.as.J.impl.F.type.1f32b7.1 = struct_value () [concrete] +// CHECK:STDOUT: %J.facet.d89: %J.type = facet_value %FDifferentParamType, (%J.impl_witness.dc7) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.type.1d3: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.d89) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.e8d: %J.WithSelf.F.type.1d3 = struct_value () [concrete] +// CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.type.1f32b7.2: type = fn_type @FDifferentParamType.as.J.impl.F.loc171_38.2 [concrete] +// CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.15c1f8.2: %FDifferentParamType.as.J.impl.F.type.1f32b7.2 = struct_value () [concrete] // CHECK:STDOUT: %FDifferentImplicitParamType: type = class_type @FDifferentImplicitParamType [concrete] -// CHECK:STDOUT: %J.impl_witness.a56: = impl_witness @FDifferentImplicitParamType.as.J.impl.%J.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.5a0: type = pattern_type %FDifferentImplicitParamType [concrete] -// CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.type.2a4475.1: type = fn_type @FDifferentImplicitParamType.as.J.impl.F.loc184_38.1 [concrete] -// CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.8c141a.1: %FDifferentImplicitParamType.as.J.impl.F.type.2a4475.1 = struct_value () [concrete] -// CHECK:STDOUT: %J.facet.649: %J.type = facet_value %FDifferentImplicitParamType, (%J.impl_witness.a56) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.type.053: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.649) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.f0d: %J.WithSelf.F.type.053 = struct_value () [concrete] -// CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.type.2a4475.2: type = fn_type @FDifferentImplicitParamType.as.J.impl.F.loc184_38.2 [concrete] -// CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.8c141a.2: %FDifferentImplicitParamType.as.J.impl.F.type.2a4475.2 = struct_value () [concrete] +// CHECK:STDOUT: %J.impl_witness.932: = impl_witness @FDifferentImplicitParamType.as.J.impl.%J.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.551: type = pattern_type %FDifferentImplicitParamType [concrete] +// CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.type.e3c3b1.1: type = fn_type @FDifferentImplicitParamType.as.J.impl.F.loc184_38.1 [concrete] +// CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.16071f.1: %FDifferentImplicitParamType.as.J.impl.F.type.e3c3b1.1 = struct_value () [concrete] +// CHECK:STDOUT: %J.facet.5ec: %J.type = facet_value %FDifferentImplicitParamType, (%J.impl_witness.932) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.type.40d: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.5ec) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.41b: %J.WithSelf.F.type.40d = struct_value () [concrete] +// CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.type.e3c3b1.2: type = fn_type @FDifferentImplicitParamType.as.J.impl.F.loc184_38.2 [concrete] +// CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.16071f.2: %FDifferentImplicitParamType.as.J.impl.F.type.e3c3b1.2 = struct_value () [concrete] // CHECK:STDOUT: %FDifferentReturnType: type = class_type @FDifferentReturnType [concrete] -// CHECK:STDOUT: %J.impl_witness.c5b: = impl_witness @FDifferentReturnType.as.J.impl.%J.impl_witness_table [concrete] -// CHECK:STDOUT: %.cf5: Core.Form = init_form %FDifferentReturnType [concrete] -// CHECK:STDOUT: %pattern_type.c2a: type = pattern_type %FDifferentReturnType [concrete] -// CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.type.f060c0.1: type = fn_type @FDifferentReturnType.as.J.impl.F.loc200_38.1 [concrete] -// CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.30100a.1: %FDifferentReturnType.as.J.impl.F.type.f060c0.1 = struct_value () [concrete] -// CHECK:STDOUT: %J.facet.37d: %J.type = facet_value %FDifferentReturnType, (%J.impl_witness.c5b) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.type.efc: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.37d) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.e15: %J.WithSelf.F.type.efc = struct_value () [concrete] -// CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.type.f060c0.2: type = fn_type @FDifferentReturnType.as.J.impl.F.loc200_38.2 [concrete] -// CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.30100a.2: %FDifferentReturnType.as.J.impl.F.type.f060c0.2 = struct_value () [concrete] +// CHECK:STDOUT: %J.impl_witness.5d9: = impl_witness @FDifferentReturnType.as.J.impl.%J.impl_witness_table [concrete] +// CHECK:STDOUT: %.56e: Core.Form = init_form %FDifferentReturnType [concrete] +// CHECK:STDOUT: %pattern_type.164: type = pattern_type %FDifferentReturnType [concrete] +// CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.type.b5ee6d.1: type = fn_type @FDifferentReturnType.as.J.impl.F.loc200_38.1 [concrete] +// CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.9e2e6b.1: %FDifferentReturnType.as.J.impl.F.type.b5ee6d.1 = struct_value () [concrete] +// CHECK:STDOUT: %J.facet.813: %J.type = facet_value %FDifferentReturnType, (%J.impl_witness.5d9) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.type.08e: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.813) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.737: %J.WithSelf.F.type.08e = struct_value () [concrete] +// CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.type.b5ee6d.2: type = fn_type @FDifferentReturnType.as.J.impl.F.loc200_38.2 [concrete] +// CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.9e2e6b.2: %FDifferentReturnType.as.J.impl.F.type.b5ee6d.2 = struct_value () [concrete] // CHECK:STDOUT: %SelfNested.type: type = facet_type <@SelfNested> [concrete] -// CHECK:STDOUT: %Self.f72: %SelfNested.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.b0a: type = facet_access_type %Self.f72 [symbolic] -// CHECK:STDOUT: %ptr.9b4: type = ptr_type %Self.as_type.b0a [symbolic] +// CHECK:STDOUT: %Self.d32: %SelfNested.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.fd2: type = facet_access_type %Self.d32 [symbolic] +// CHECK:STDOUT: %ptr.99d: type = ptr_type %Self.as_type.fd2 [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %struct_type.x.y.1c2: type = struct_type {.x: %Self.as_type.b0a, .y: %i32} [symbolic] +// CHECK:STDOUT: %struct_type.x.y.462: type = struct_type {.x: %Self.as_type.fd2, .y: %i32} [symbolic] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.f8b: %tuple.type.24b = tuple_value (%ptr.9b4, %struct_type.x.y.1c2) [symbolic] -// CHECK:STDOUT: %tuple.type.73c: type = tuple_type (%ptr.9b4, %struct_type.x.y.1c2) [symbolic] -// CHECK:STDOUT: %pattern_type.695: type = pattern_type %tuple.type.73c [symbolic] +// CHECK:STDOUT: %tuple.246: %tuple.type.24b = tuple_value (%ptr.99d, %struct_type.x.y.462) [symbolic] +// CHECK:STDOUT: %tuple.type.cc5: type = tuple_type (%ptr.99d, %struct_type.x.y.462) [symbolic] +// CHECK:STDOUT: %pattern_type.02e: type = pattern_type %tuple.type.cc5 [symbolic] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete] -// CHECK:STDOUT: %array_type.a3c: type = array_type %int_4, %Self.as_type.b0a [symbolic] -// CHECK:STDOUT: %.21e: Core.Form = init_form %array_type.a3c [symbolic] -// CHECK:STDOUT: %pattern_type.f41: type = pattern_type %array_type.a3c [symbolic] -// CHECK:STDOUT: %SelfNested.WithSelf.F.type.a41: type = fn_type @SelfNested.WithSelf.F, @SelfNested.WithSelf(%Self.f72) [symbolic] -// CHECK:STDOUT: %SelfNested.WithSelf.F.004: %SelfNested.WithSelf.F.type.a41 = struct_value () [symbolic] +// CHECK:STDOUT: %array_type.a6f: type = array_type %int_4, %Self.as_type.fd2 [symbolic] +// CHECK:STDOUT: %.5ec: Core.Form = init_form %array_type.a6f [symbolic] +// CHECK:STDOUT: %pattern_type.996: type = pattern_type %array_type.a6f [symbolic] +// CHECK:STDOUT: %SelfNested.WithSelf.F.type.9b9: type = fn_type @SelfNested.WithSelf.F, @SelfNested.WithSelf(%Self.d32) [symbolic] +// CHECK:STDOUT: %SelfNested.WithSelf.F.d66: %SelfNested.WithSelf.F.type.9b9 = struct_value () [symbolic] // CHECK:STDOUT: %SelfNested.assoc_type: type = assoc_entity_type @SelfNested [concrete] -// CHECK:STDOUT: %assoc0.45a: %SelfNested.assoc_type = assoc_entity element0, @SelfNested.WithSelf.%SelfNested.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.338: %SelfNested.assoc_type = assoc_entity element0, @SelfNested.WithSelf.%SelfNested.WithSelf.F.decl [concrete] // CHECK:STDOUT: %SelfNestedBadParam: type = class_type @SelfNestedBadParam [concrete] -// CHECK:STDOUT: %SelfNested.impl_witness.026: = impl_witness @SelfNestedBadParam.as.SelfNested.impl.%SelfNested.impl_witness_table [concrete] -// CHECK:STDOUT: %ptr.bda: type = ptr_type %SelfNestedBadParam [concrete] -// CHECK:STDOUT: %struct_type.x.y.88a: type = struct_type {.x: %i32, .y: %i32} [concrete] -// CHECK:STDOUT: %tuple.78d: %tuple.type.24b = tuple_value (%ptr.bda, %struct_type.x.y.88a) [concrete] -// CHECK:STDOUT: %tuple.type.a2b: type = tuple_type (%ptr.bda, %struct_type.x.y.88a) [concrete] -// CHECK:STDOUT: %pattern_type.a53: type = pattern_type %tuple.type.a2b [concrete] -// CHECK:STDOUT: %array_type.3ee: type = array_type %int_4, %SelfNestedBadParam [concrete] -// CHECK:STDOUT: %.de3: Core.Form = init_form %array_type.3ee [concrete] -// CHECK:STDOUT: %pattern_type.072: type = pattern_type %array_type.3ee [concrete] -// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.type.c055d7.1: type = fn_type @SelfNestedBadParam.as.SelfNested.impl.F.loc223_87.1 [concrete] -// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.c20797.1: %SelfNestedBadParam.as.SelfNested.impl.F.type.c055d7.1 = struct_value () [concrete] -// CHECK:STDOUT: %SelfNested.facet.693: %SelfNested.type = facet_value %SelfNestedBadParam, (%SelfNested.impl_witness.026) [concrete] -// CHECK:STDOUT: %SelfNested.WithSelf.F.type.4d2: type = fn_type @SelfNested.WithSelf.F, @SelfNested.WithSelf(%SelfNested.facet.693) [concrete] -// CHECK:STDOUT: %SelfNested.WithSelf.F.b03: %SelfNested.WithSelf.F.type.4d2 = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.x.y.ed7: type = struct_type {.x: %SelfNestedBadParam, .y: %i32} [concrete] -// CHECK:STDOUT: %tuple.be1: %tuple.type.24b = tuple_value (%ptr.bda, %struct_type.x.y.ed7) [concrete] -// CHECK:STDOUT: %tuple.type.94e: type = tuple_type (%ptr.bda, %struct_type.x.y.ed7) [concrete] -// CHECK:STDOUT: %pattern_type.a38: type = pattern_type %tuple.type.94e [concrete] -// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.type.c055d7.2: type = fn_type @SelfNestedBadParam.as.SelfNested.impl.F.loc223_87.2 [concrete] -// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.c20797.2: %SelfNestedBadParam.as.SelfNested.impl.F.type.c055d7.2 = struct_value () [concrete] +// CHECK:STDOUT: %SelfNested.impl_witness.06b: = impl_witness @SelfNestedBadParam.as.SelfNested.impl.%SelfNested.impl_witness_table [concrete] +// CHECK:STDOUT: %ptr.a16: type = ptr_type %SelfNestedBadParam [concrete] +// CHECK:STDOUT: %struct_type.x.y.b70: type = struct_type {.x: %i32, .y: %i32} [concrete] +// CHECK:STDOUT: %tuple.b12: %tuple.type.24b = tuple_value (%ptr.a16, %struct_type.x.y.b70) [concrete] +// CHECK:STDOUT: %tuple.type.8b4: type = tuple_type (%ptr.a16, %struct_type.x.y.b70) [concrete] +// CHECK:STDOUT: %pattern_type.ac8: type = pattern_type %tuple.type.8b4 [concrete] +// CHECK:STDOUT: %array_type.cda: type = array_type %int_4, %SelfNestedBadParam [concrete] +// CHECK:STDOUT: %.c11: Core.Form = init_form %array_type.cda [concrete] +// CHECK:STDOUT: %pattern_type.cd4: type = pattern_type %array_type.cda [concrete] +// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.type.0f9dff.1: type = fn_type @SelfNestedBadParam.as.SelfNested.impl.F.loc223_87.1 [concrete] +// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.e44dfb.1: %SelfNestedBadParam.as.SelfNested.impl.F.type.0f9dff.1 = struct_value () [concrete] +// CHECK:STDOUT: %SelfNested.facet.428: %SelfNested.type = facet_value %SelfNestedBadParam, (%SelfNested.impl_witness.06b) [concrete] +// CHECK:STDOUT: %SelfNested.WithSelf.F.type.b06: type = fn_type @SelfNested.WithSelf.F, @SelfNested.WithSelf(%SelfNested.facet.428) [concrete] +// CHECK:STDOUT: %SelfNested.WithSelf.F.7a2: %SelfNested.WithSelf.F.type.b06 = struct_value () [concrete] +// CHECK:STDOUT: %struct_type.x.y.dda: type = struct_type {.x: %SelfNestedBadParam, .y: %i32} [concrete] +// CHECK:STDOUT: %tuple.f36: %tuple.type.24b = tuple_value (%ptr.a16, %struct_type.x.y.dda) [concrete] +// CHECK:STDOUT: %tuple.type.d3e: type = tuple_type (%ptr.a16, %struct_type.x.y.dda) [concrete] +// CHECK:STDOUT: %pattern_type.a6b: type = pattern_type %tuple.type.d3e [concrete] +// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.type.0f9dff.2: type = fn_type @SelfNestedBadParam.as.SelfNested.impl.F.loc223_87.2 [concrete] +// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.e44dfb.2: %SelfNestedBadParam.as.SelfNested.impl.F.type.0f9dff.2 = struct_value () [concrete] // CHECK:STDOUT: %SelfNestedBadReturnType: type = class_type @SelfNestedBadReturnType [concrete] -// CHECK:STDOUT: %SelfNested.impl_witness.e62: = impl_witness @SelfNestedBadReturnType.as.SelfNested.impl.%SelfNested.impl_witness_table [concrete] -// CHECK:STDOUT: %ptr.538: type = ptr_type %SelfNestedBadReturnType [concrete] -// CHECK:STDOUT: %struct_type.x.y.e7e: type = struct_type {.x: %SelfNestedBadReturnType, .y: %i32} [concrete] -// CHECK:STDOUT: %tuple.a5a: %tuple.type.24b = tuple_value (%ptr.538, %struct_type.x.y.e7e) [concrete] -// CHECK:STDOUT: %tuple.type.4db: type = tuple_type (%ptr.538, %struct_type.x.y.e7e) [concrete] -// CHECK:STDOUT: %pattern_type.5f7: type = pattern_type %tuple.type.4db [concrete] -// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.6a241d.1: type = fn_type @SelfNestedBadReturnType.as.SelfNested.impl.F.loc239_112.1 [concrete] -// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.18a3b3.1: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.6a241d.1 = struct_value () [concrete] -// CHECK:STDOUT: %SelfNested.facet.a9c: %SelfNested.type = facet_value %SelfNestedBadReturnType, (%SelfNested.impl_witness.e62) [concrete] -// CHECK:STDOUT: %SelfNested.WithSelf.F.type.7c7: type = fn_type @SelfNested.WithSelf.F, @SelfNested.WithSelf(%SelfNested.facet.a9c) [concrete] -// CHECK:STDOUT: %SelfNested.WithSelf.F.5d2: %SelfNested.WithSelf.F.type.7c7 = struct_value () [concrete] -// CHECK:STDOUT: %array_type.db9: type = array_type %int_4, %SelfNestedBadReturnType [concrete] -// CHECK:STDOUT: %.0a9: Core.Form = init_form %array_type.db9 [concrete] -// CHECK:STDOUT: %pattern_type.083: type = pattern_type %array_type.db9 [concrete] -// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.6a241d.2: type = fn_type @SelfNestedBadReturnType.as.SelfNested.impl.F.loc239_112.2 [concrete] -// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.18a3b3.2: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.6a241d.2 = struct_value () [concrete] +// CHECK:STDOUT: %SelfNested.impl_witness.81c: = impl_witness @SelfNestedBadReturnType.as.SelfNested.impl.%SelfNested.impl_witness_table [concrete] +// CHECK:STDOUT: %ptr.fb5: type = ptr_type %SelfNestedBadReturnType [concrete] +// CHECK:STDOUT: %struct_type.x.y.6eb: type = struct_type {.x: %SelfNestedBadReturnType, .y: %i32} [concrete] +// CHECK:STDOUT: %tuple.309: %tuple.type.24b = tuple_value (%ptr.fb5, %struct_type.x.y.6eb) [concrete] +// CHECK:STDOUT: %tuple.type.b5c: type = tuple_type (%ptr.fb5, %struct_type.x.y.6eb) [concrete] +// CHECK:STDOUT: %pattern_type.4a8: type = pattern_type %tuple.type.b5c [concrete] +// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.c80844.1: type = fn_type @SelfNestedBadReturnType.as.SelfNested.impl.F.loc239_112.1 [concrete] +// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.035a7e.1: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.c80844.1 = struct_value () [concrete] +// CHECK:STDOUT: %SelfNested.facet.490: %SelfNested.type = facet_value %SelfNestedBadReturnType, (%SelfNested.impl_witness.81c) [concrete] +// CHECK:STDOUT: %SelfNested.WithSelf.F.type.24b: type = fn_type @SelfNested.WithSelf.F, @SelfNested.WithSelf(%SelfNested.facet.490) [concrete] +// CHECK:STDOUT: %SelfNested.WithSelf.F.bb5: %SelfNested.WithSelf.F.type.24b = struct_value () [concrete] +// CHECK:STDOUT: %array_type.e52: type = array_type %int_4, %SelfNestedBadReturnType [concrete] +// CHECK:STDOUT: %.b1f: Core.Form = init_form %array_type.e52 [concrete] +// CHECK:STDOUT: %pattern_type.db0: type = pattern_type %array_type.e52 [concrete] +// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.c80844.2: type = fn_type @SelfNestedBadReturnType.as.SelfNested.impl.F.loc239_112.2 [concrete] +// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.035a7e.2: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.c80844.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -436,7 +436,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/parts/bool, Bool, loaded [concrete = constants.%Bool] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -484,12 +484,12 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.cd6] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.831) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.ddf)] {} {} -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0.918] +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.d9f) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.592)] {} {} +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0.8fc] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -501,11 +501,11 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { -// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c93] +// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = constants.%Self.fd8] // CHECK:STDOUT: %J.WithSelf.decl = interface_with_self_decl @J [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %J.WithSelf.F.decl: @J.WithSelf.%J.WithSelf.F.type (%J.WithSelf.F.type.66e) = fn_decl @J.WithSelf.F [symbolic = @J.WithSelf.%J.WithSelf.F (constants.%J.WithSelf.F.876)] { +// CHECK:STDOUT: %J.WithSelf.F.decl: @J.WithSelf.%J.WithSelf.F.type (%J.WithSelf.F.type.37c) = fn_decl @J.WithSelf.F [symbolic = @J.WithSelf.%J.WithSelf.F (constants.%J.WithSelf.F.acf)] { // CHECK:STDOUT: %self.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.831 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] @@ -524,7 +524,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return.param: ref bool = out_param call_param2 // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %J.assoc_type = assoc_entity element0, %J.WithSelf.F.decl [concrete = constants.%assoc0.7d2] +// CHECK:STDOUT: %assoc0: %J.assoc_type = assoc_entity element0, %J.WithSelf.F.decl [concrete = constants.%assoc0.ba5] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -535,41 +535,41 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @SelfNested { -// CHECK:STDOUT: %Self: %SelfNested.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f72] +// CHECK:STDOUT: %Self: %SelfNested.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d32] // CHECK:STDOUT: %SelfNested.WithSelf.decl = interface_with_self_decl @SelfNested [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %SelfNested.WithSelf.F.decl: @SelfNested.WithSelf.%SelfNested.WithSelf.F.type (%SelfNested.WithSelf.F.type.a41) = fn_decl @SelfNested.WithSelf.F [symbolic = @SelfNested.WithSelf.%SelfNested.WithSelf.F (constants.%SelfNested.WithSelf.F.004)] { -// CHECK:STDOUT: %x.param_patt: @SelfNested.WithSelf.F.%pattern_type.loc211_9 (%pattern_type.695) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @SelfNested.WithSelf.F.%pattern_type.loc211_9 (%pattern_type.695) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @SelfNested.WithSelf.F.%pattern_type.loc211_57 (%pattern_type.f41) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @SelfNested.WithSelf.F.%pattern_type.loc211_57 (%pattern_type.f41) = return_slot_pattern %return.param_patt, %array_type.loc211_57.2 [concrete] +// CHECK:STDOUT: %SelfNested.WithSelf.F.decl: @SelfNested.WithSelf.%SelfNested.WithSelf.F.type (%SelfNested.WithSelf.F.type.9b9) = fn_decl @SelfNested.WithSelf.F [symbolic = @SelfNested.WithSelf.%SelfNested.WithSelf.F (constants.%SelfNested.WithSelf.F.d66)] { +// CHECK:STDOUT: %x.param_patt: @SelfNested.WithSelf.F.%pattern_type.loc211_9 (%pattern_type.02e) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @SelfNested.WithSelf.F.%pattern_type.loc211_9 (%pattern_type.02e) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @SelfNested.WithSelf.F.%pattern_type.loc211_57 (%pattern_type.996) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @SelfNested.WithSelf.F.%pattern_type.loc211_57 (%pattern_type.996) = return_slot_pattern %return.param_patt, %array_type.loc211_57.2 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %Self.ref.loc211_50: %SelfNested.type = name_ref Self, @SelfNested.%Self [symbolic = %Self (constants.%Self.f72)] +// CHECK:STDOUT: %Self.ref.loc211_50: %SelfNested.type = name_ref Self, @SelfNested.%Self [symbolic = %Self (constants.%Self.d32)] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4] -// CHECK:STDOUT: %Self.as_type.loc211_50: type = facet_access_type %Self.ref.loc211_50 [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.b0a)] -// CHECK:STDOUT: %.loc211_50: type = converted %Self.ref.loc211_50, %Self.as_type.loc211_50 [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.b0a)] -// CHECK:STDOUT: %array_type.loc211_57.2: type = array_type %int_4, %.loc211_50 [symbolic = %array_type.loc211_57.1 (constants.%array_type.a3c)] -// CHECK:STDOUT: %.loc211_57.2: Core.Form = init_form %array_type.loc211_57.2 [symbolic = %.loc211_57.1 (constants.%.21e)] -// CHECK:STDOUT: %x.param: @SelfNested.WithSelf.F.%tuple.type (%tuple.type.73c) = value_param call_param0 -// CHECK:STDOUT: %.loc211_38.1: type = splice_block %.loc211_38.3 [symbolic = %tuple.type (constants.%tuple.type.73c)] { -// CHECK:STDOUT: %Self.ref.loc211_12: %SelfNested.type = name_ref Self, @SelfNested.%Self [symbolic = %Self (constants.%Self.f72)] -// CHECK:STDOUT: %Self.as_type.loc211_16.2: type = facet_access_type %Self.ref.loc211_12 [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.b0a)] -// CHECK:STDOUT: %.loc211_16: type = converted %Self.ref.loc211_12, %Self.as_type.loc211_16.2 [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.b0a)] -// CHECK:STDOUT: %ptr.loc211_16.2: type = ptr_type %.loc211_16 [symbolic = %ptr.loc211_16.1 (constants.%ptr.9b4)] -// CHECK:STDOUT: %Self.ref.loc211_24: %SelfNested.type = name_ref Self, @SelfNested.%Self [symbolic = %Self (constants.%Self.f72)] -// CHECK:STDOUT: %Self.as_type.loc211_24: type = facet_access_type %Self.ref.loc211_24 [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.b0a)] -// CHECK:STDOUT: %.loc211_24: type = converted %Self.ref.loc211_24, %Self.as_type.loc211_24 [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.b0a)] +// CHECK:STDOUT: %Self.as_type.loc211_50: type = facet_access_type %Self.ref.loc211_50 [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.fd2)] +// CHECK:STDOUT: %.loc211_50: type = converted %Self.ref.loc211_50, %Self.as_type.loc211_50 [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.fd2)] +// CHECK:STDOUT: %array_type.loc211_57.2: type = array_type %int_4, %.loc211_50 [symbolic = %array_type.loc211_57.1 (constants.%array_type.a6f)] +// CHECK:STDOUT: %.loc211_57.2: Core.Form = init_form %array_type.loc211_57.2 [symbolic = %.loc211_57.1 (constants.%.5ec)] +// CHECK:STDOUT: %x.param: @SelfNested.WithSelf.F.%tuple.type (%tuple.type.cc5) = value_param call_param0 +// CHECK:STDOUT: %.loc211_38.1: type = splice_block %.loc211_38.3 [symbolic = %tuple.type (constants.%tuple.type.cc5)] { +// CHECK:STDOUT: %Self.ref.loc211_12: %SelfNested.type = name_ref Self, @SelfNested.%Self [symbolic = %Self (constants.%Self.d32)] +// CHECK:STDOUT: %Self.as_type.loc211_16.2: type = facet_access_type %Self.ref.loc211_12 [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.fd2)] +// CHECK:STDOUT: %.loc211_16: type = converted %Self.ref.loc211_12, %Self.as_type.loc211_16.2 [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.fd2)] +// CHECK:STDOUT: %ptr.loc211_16.2: type = ptr_type %.loc211_16 [symbolic = %ptr.loc211_16.1 (constants.%ptr.99d)] +// CHECK:STDOUT: %Self.ref.loc211_24: %SelfNested.type = name_ref Self, @SelfNested.%Self [symbolic = %Self (constants.%Self.d32)] +// CHECK:STDOUT: %Self.as_type.loc211_24: type = facet_access_type %Self.ref.loc211_24 [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.fd2)] +// CHECK:STDOUT: %.loc211_24: type = converted %Self.ref.loc211_24, %Self.as_type.loc211_24 [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.fd2)] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.x.y.loc211_37.2: type = struct_type {.x: @SelfNested.WithSelf.F.%Self.as_type.loc211_16.1 (%Self.as_type.b0a), .y: %i32} [symbolic = %struct_type.x.y.loc211_37.1 (constants.%struct_type.x.y.1c2)] -// CHECK:STDOUT: %.loc211_38.2: %tuple.type.24b = tuple_literal (%ptr.loc211_16.2, %struct_type.x.y.loc211_37.2) [symbolic = %tuple (constants.%tuple.f8b)] -// CHECK:STDOUT: %.loc211_38.3: type = converted %.loc211_38.2, constants.%tuple.type.73c [symbolic = %tuple.type (constants.%tuple.type.73c)] +// CHECK:STDOUT: %struct_type.x.y.loc211_37.2: type = struct_type {.x: @SelfNested.WithSelf.F.%Self.as_type.loc211_16.1 (%Self.as_type.fd2), .y: %i32} [symbolic = %struct_type.x.y.loc211_37.1 (constants.%struct_type.x.y.462)] +// CHECK:STDOUT: %.loc211_38.2: %tuple.type.24b = tuple_literal (%ptr.loc211_16.2, %struct_type.x.y.loc211_37.2) [symbolic = %tuple (constants.%tuple.246)] +// CHECK:STDOUT: %.loc211_38.3: type = converted %.loc211_38.2, constants.%tuple.type.cc5 [symbolic = %tuple.type (constants.%tuple.type.cc5)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @SelfNested.WithSelf.F.%tuple.type (%tuple.type.73c) = value_binding x, %x.param -// CHECK:STDOUT: %return.param: ref @SelfNested.WithSelf.F.%array_type.loc211_57.1 (%array_type.a3c) = out_param call_param1 -// CHECK:STDOUT: %return: ref @SelfNested.WithSelf.F.%array_type.loc211_57.1 (%array_type.a3c) = return_slot %return.param +// CHECK:STDOUT: %x: @SelfNested.WithSelf.F.%tuple.type (%tuple.type.cc5) = value_binding x, %x.param +// CHECK:STDOUT: %return.param: ref @SelfNested.WithSelf.F.%array_type.loc211_57.1 (%array_type.a6f) = out_param call_param1 +// CHECK:STDOUT: %return: ref @SelfNested.WithSelf.F.%array_type.loc211_57.1 (%array_type.a6f) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %SelfNested.assoc_type = assoc_entity element0, %SelfNested.WithSelf.F.decl [concrete = constants.%assoc0.45a] +// CHECK:STDOUT: %assoc0: %SelfNested.assoc_type = assoc_entity element0, %SelfNested.WithSelf.F.decl [concrete = constants.%assoc0.338] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -583,7 +583,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: // CHECK:STDOUT: impl @NoF.as.I.impl: %Self.ref as %I.ref { // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @NoF.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.89a] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.57b] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = @@ -594,7 +594,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: impl @FNotFunction.as.I.impl: %Self.ref as %I.ref { // CHECK:STDOUT: %F.decl: type = class_decl @F [concrete = constants.%F] {} {} // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @FNotFunction.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.377] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.8c4] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %F.decl @@ -606,7 +606,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %PossiblyF.ref: %PossiblyF.type = name_ref PossiblyF, file.%PossiblyF.decl [concrete = constants.%PossiblyF] // CHECK:STDOUT: %F: %PossiblyF.type = alias_binding F, %PossiblyF.ref [concrete = constants.%PossiblyF] // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @FAlias.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.1ac] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.414] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .PossiblyF = @@ -616,7 +616,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @FExtraParam.as.I.impl: %Self.ref as %I.ref { -// CHECK:STDOUT: %FExtraParam.as.I.impl.F.decl.loc69_18.1: %FExtraParam.as.I.impl.F.type.cb12e5.1 = fn_decl @FExtraParam.as.I.impl.F.loc69_18.1 [concrete = constants.%FExtraParam.as.I.impl.F.989bc3.1] { +// CHECK:STDOUT: %FExtraParam.as.I.impl.F.decl.loc69_18.1: %FExtraParam.as.I.impl.F.type.e67c7d.1 = fn_decl @FExtraParam.as.I.impl.F.loc69_18.1 [concrete = constants.%FExtraParam.as.I.impl.F.9ec29e.1] { // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %b.patt: %pattern_type.831 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { @@ -624,9 +624,9 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %.loc69: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %b: bool = value_binding b, %b.param // CHECK:STDOUT: } -// CHECK:STDOUT: %FExtraParam.as.I.impl.F.decl.loc69_18.2: %FExtraParam.as.I.impl.F.type.cb12e5.2 = fn_decl @FExtraParam.as.I.impl.F.loc69_18.2 [concrete = constants.%FExtraParam.as.I.impl.F.989bc3.2] {} {} +// CHECK:STDOUT: %FExtraParam.as.I.impl.F.decl.loc69_18.2: %FExtraParam.as.I.impl.F.type.e67c7d.2 = fn_decl @FExtraParam.as.I.impl.F.loc69_18.2 [concrete = constants.%FExtraParam.as.I.impl.F.9ec29e.2] {} {} // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%FExtraParam.as.I.impl.F.decl.loc69_18.2), @FExtraParam.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.efa] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.c88] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %FExtraParam.as.I.impl.F.decl.loc69_18.1 @@ -635,17 +635,17 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @FExtraImplicitParam.as.I.impl: %Self.ref as %I.ref { -// CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.decl.loc85_23.1: %FExtraImplicitParam.as.I.impl.F.type.f5adc6.1 = fn_decl @FExtraImplicitParam.as.I.impl.F.loc85_23.1 [concrete = constants.%FExtraImplicitParam.as.I.impl.F.8df3a7.1] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.7ee = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.7ee = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.decl.loc85_23.1: %FExtraImplicitParam.as.I.impl.F.type.182ef7.1 = fn_decl @FExtraImplicitParam.as.I.impl.F.loc85_23.1 [concrete = constants.%FExtraImplicitParam.as.I.impl.F.db022d.1] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.4f8 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.4f8 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %FExtraImplicitParam = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%FExtraImplicitParam [concrete = constants.%FExtraImplicitParam] // CHECK:STDOUT: %self: %FExtraImplicitParam = value_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.decl.loc85_23.2: %FExtraImplicitParam.as.I.impl.F.type.f5adc6.2 = fn_decl @FExtraImplicitParam.as.I.impl.F.loc85_23.2 [concrete = constants.%FExtraImplicitParam.as.I.impl.F.8df3a7.2] {} {} +// CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.decl.loc85_23.2: %FExtraImplicitParam.as.I.impl.F.type.182ef7.2 = fn_decl @FExtraImplicitParam.as.I.impl.F.loc85_23.2 [concrete = constants.%FExtraImplicitParam.as.I.impl.F.db022d.2] {} {} // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%FExtraImplicitParam.as.I.impl.F.decl.loc85_23.2), @FExtraImplicitParam.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.303] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.67e] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %FExtraImplicitParam.as.I.impl.F.decl.loc85_23.1 @@ -664,7 +664,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @FExtraReturnType.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.0f7] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.45f] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %FExtraReturnType.as.I.impl.F.decl @@ -673,7 +673,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @FMissingParam.as.J.impl: %Self.ref as %J.ref { -// CHECK:STDOUT: %FMissingParam.as.J.impl.F.decl.loc117_31.1: %FMissingParam.as.J.impl.F.type.5ef2ac.1 = fn_decl @FMissingParam.as.J.impl.F.loc117_31.1 [concrete = constants.%FMissingParam.as.J.impl.F.d8edee.1] { +// CHECK:STDOUT: %FMissingParam.as.J.impl.F.decl.loc117_31.1: %FMissingParam.as.J.impl.F.type.bba3a3.1 = fn_decl @FMissingParam.as.J.impl.F.loc117_31.1 [concrete = constants.%FMissingParam.as.J.impl.F.c0814c.1] { // CHECK:STDOUT: %self.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.831 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] @@ -687,9 +687,9 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return.param: ref bool = out_param call_param1 // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc103_44.1: type = specific_constant @J.WithSelf.F.%.loc103_44.1, @J.WithSelf.F(constants.%J.facet.4dc) [concrete = bool] -// CHECK:STDOUT: %.loc103_44.2: type = specific_constant @J.WithSelf.F.%.loc103_44.2, @J.WithSelf.F(constants.%J.facet.4dc) [concrete = constants.%.f34] -// CHECK:STDOUT: %FMissingParam.as.J.impl.F.decl.loc117_31.2: %FMissingParam.as.J.impl.F.type.5ef2ac.2 = fn_decl @FMissingParam.as.J.impl.F.loc117_31.2 [concrete = constants.%FMissingParam.as.J.impl.F.d8edee.2] { +// CHECK:STDOUT: %.loc103_44.1: type = specific_constant @J.WithSelf.F.%.loc103_44.1, @J.WithSelf.F(constants.%J.facet.55f) [concrete = bool] +// CHECK:STDOUT: %.loc103_44.2: type = specific_constant @J.WithSelf.F.%.loc103_44.2, @J.WithSelf.F(constants.%J.facet.55f) [concrete = constants.%.f34] +// CHECK:STDOUT: %FMissingParam.as.J.impl.F.decl.loc117_31.2: %FMissingParam.as.J.impl.F.type.bba3a3.2 = fn_decl @FMissingParam.as.J.impl.F.loc117_31.2 [concrete = constants.%FMissingParam.as.J.impl.F.c0814c.2] { // CHECK:STDOUT: %self.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.831 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] @@ -705,7 +705,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %J.impl_witness_table = impl_witness_table (%FMissingParam.as.J.impl.F.decl.loc117_31.2), @FMissingParam.as.J.impl [concrete] -// CHECK:STDOUT: %J.impl_witness: = impl_witness %J.impl_witness_table [concrete = constants.%J.impl_witness.e6f] +// CHECK:STDOUT: %J.impl_witness: = impl_witness %J.impl_witness_table [concrete = constants.%J.impl_witness.fb1] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %FMissingParam.as.J.impl.F.decl.loc117_31.1 @@ -714,7 +714,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @FMissingImplicitParam.as.J.impl: %Self.ref as %J.ref { -// CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.decl.loc130_26.1: %FMissingImplicitParam.as.J.impl.F.type.f8427f.1 = fn_decl @FMissingImplicitParam.as.J.impl.F.loc130_26.1 [concrete = constants.%FMissingImplicitParam.as.J.impl.F.b398ca.1] { +// CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.decl.loc130_26.1: %FMissingImplicitParam.as.J.impl.F.type.201eb4.1 = fn_decl @FMissingImplicitParam.as.J.impl.F.loc130_26.1 [concrete = constants.%FMissingImplicitParam.as.J.impl.F.8b207a.1] { // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %b.patt: %pattern_type.831 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] @@ -728,9 +728,9 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return.param: ref bool = out_param call_param1 // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc103_44.1: type = specific_constant @J.WithSelf.F.%.loc103_44.1, @J.WithSelf.F(constants.%J.facet.158) [concrete = bool] -// CHECK:STDOUT: %.loc103_44.2: type = specific_constant @J.WithSelf.F.%.loc103_44.2, @J.WithSelf.F(constants.%J.facet.158) [concrete = constants.%.f34] -// CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.decl.loc130_26.2: %FMissingImplicitParam.as.J.impl.F.type.f8427f.2 = fn_decl @FMissingImplicitParam.as.J.impl.F.loc130_26.2 [concrete = constants.%FMissingImplicitParam.as.J.impl.F.b398ca.2] { +// CHECK:STDOUT: %.loc103_44.1: type = specific_constant @J.WithSelf.F.%.loc103_44.1, @J.WithSelf.F(constants.%J.facet.a37) [concrete = bool] +// CHECK:STDOUT: %.loc103_44.2: type = specific_constant @J.WithSelf.F.%.loc103_44.2, @J.WithSelf.F(constants.%J.facet.a37) [concrete = constants.%.f34] +// CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.decl.loc130_26.2: %FMissingImplicitParam.as.J.impl.F.type.201eb4.2 = fn_decl @FMissingImplicitParam.as.J.impl.F.loc130_26.2 [concrete = constants.%FMissingImplicitParam.as.J.impl.F.8b207a.2] { // CHECK:STDOUT: %self.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.831 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] @@ -746,7 +746,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %J.impl_witness_table = impl_witness_table (%FMissingImplicitParam.as.J.impl.F.decl.loc130_26.2), @FMissingImplicitParam.as.J.impl [concrete] -// CHECK:STDOUT: %J.impl_witness: = impl_witness %J.impl_witness_table [concrete = constants.%J.impl_witness.e96] +// CHECK:STDOUT: %J.impl_witness: = impl_witness %J.impl_witness_table [concrete = constants.%J.impl_witness.22f] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %FMissingImplicitParam.as.J.impl.F.decl.loc130_26.1 @@ -755,7 +755,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @FMissingReturnType.as.J.impl: %Self.ref as %J.ref { -// CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.decl.loc152_30.1: %FMissingReturnType.as.J.impl.F.type.78fab6.1 = fn_decl @FMissingReturnType.as.J.impl.F.loc152_30.1 [concrete = constants.%FMissingReturnType.as.J.impl.F.55cda9.1] { +// CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.decl.loc152_30.1: %FMissingReturnType.as.J.impl.F.type.c14535.1 = fn_decl @FMissingReturnType.as.J.impl.F.loc152_30.1 [concrete = constants.%FMissingReturnType.as.J.impl.F.fcb664.1] { // CHECK:STDOUT: %self.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.831 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] @@ -768,9 +768,9 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %.loc152_25: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %b: bool = value_binding b, %b.param // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc103_44.1: type = specific_constant @J.WithSelf.F.%.loc103_44.1, @J.WithSelf.F(constants.%J.facet.2d3) [concrete = bool] -// CHECK:STDOUT: %.loc103_44.2: type = specific_constant @J.WithSelf.F.%.loc103_44.2, @J.WithSelf.F(constants.%J.facet.2d3) [concrete = constants.%.f34] -// CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.decl.loc152_30.2: %FMissingReturnType.as.J.impl.F.type.78fab6.2 = fn_decl @FMissingReturnType.as.J.impl.F.loc152_30.2 [concrete = constants.%FMissingReturnType.as.J.impl.F.55cda9.2] { +// CHECK:STDOUT: %.loc103_44.1: type = specific_constant @J.WithSelf.F.%.loc103_44.1, @J.WithSelf.F(constants.%J.facet.d54) [concrete = bool] +// CHECK:STDOUT: %.loc103_44.2: type = specific_constant @J.WithSelf.F.%.loc103_44.2, @J.WithSelf.F(constants.%J.facet.d54) [concrete = constants.%.f34] +// CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.decl.loc152_30.2: %FMissingReturnType.as.J.impl.F.type.c14535.2 = fn_decl @FMissingReturnType.as.J.impl.F.loc152_30.2 [concrete = constants.%FMissingReturnType.as.J.impl.F.fcb664.2] { // CHECK:STDOUT: %self.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.831 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] @@ -786,7 +786,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %J.impl_witness_table = impl_witness_table (%FMissingReturnType.as.J.impl.F.decl.loc152_30.2), @FMissingReturnType.as.J.impl [concrete] -// CHECK:STDOUT: %J.impl_witness: = impl_witness %J.impl_witness_table [concrete = constants.%J.impl_witness.3a9] +// CHECK:STDOUT: %J.impl_witness: = impl_witness %J.impl_witness_table [concrete = constants.%J.impl_witness.d68] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %FMissingReturnType.as.J.impl.F.decl.loc152_30.1 @@ -795,11 +795,11 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @FDifferentParamType.as.J.impl: %Self.ref as %J.ref { -// CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.decl.loc171_38.1: %FDifferentParamType.as.J.impl.F.type.a9aa82.1 = fn_decl @FDifferentParamType.as.J.impl.F.loc171_38.1 [concrete = constants.%FDifferentParamType.as.J.impl.F.9d056e.1] { +// CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.decl.loc171_38.1: %FDifferentParamType.as.J.impl.F.type.1f32b7.1 = fn_decl @FDifferentParamType.as.J.impl.F.loc171_38.1 [concrete = constants.%FDifferentParamType.as.J.impl.F.15c1f8.1] { // CHECK:STDOUT: %self.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.831 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.789 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.789 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.5e2 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.5e2 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc171_34.1 [concrete] // CHECK:STDOUT: } { @@ -814,9 +814,9 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return.param: ref bool = out_param call_param2 // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc103_44.1: type = specific_constant @J.WithSelf.F.%.loc103_44.1, @J.WithSelf.F(constants.%J.facet.e11) [concrete = bool] -// CHECK:STDOUT: %.loc103_44.2: type = specific_constant @J.WithSelf.F.%.loc103_44.2, @J.WithSelf.F(constants.%J.facet.e11) [concrete = constants.%.f34] -// CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.decl.loc171_38.2: %FDifferentParamType.as.J.impl.F.type.a9aa82.2 = fn_decl @FDifferentParamType.as.J.impl.F.loc171_38.2 [concrete = constants.%FDifferentParamType.as.J.impl.F.9d056e.2] { +// CHECK:STDOUT: %.loc103_44.1: type = specific_constant @J.WithSelf.F.%.loc103_44.1, @J.WithSelf.F(constants.%J.facet.d89) [concrete = bool] +// CHECK:STDOUT: %.loc103_44.2: type = specific_constant @J.WithSelf.F.%.loc103_44.2, @J.WithSelf.F(constants.%J.facet.d89) [concrete = constants.%.f34] +// CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.decl.loc171_38.2: %FDifferentParamType.as.J.impl.F.type.1f32b7.2 = fn_decl @FDifferentParamType.as.J.impl.F.loc171_38.2 [concrete = constants.%FDifferentParamType.as.J.impl.F.15c1f8.2] { // CHECK:STDOUT: %self.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.831 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] @@ -832,7 +832,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %J.impl_witness_table = impl_witness_table (%FDifferentParamType.as.J.impl.F.decl.loc171_38.2), @FDifferentParamType.as.J.impl [concrete] -// CHECK:STDOUT: %J.impl_witness: = impl_witness %J.impl_witness_table [concrete = constants.%J.impl_witness.eeb] +// CHECK:STDOUT: %J.impl_witness: = impl_witness %J.impl_witness_table [concrete = constants.%J.impl_witness.dc7] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %FDifferentParamType.as.J.impl.F.decl.loc171_38.1 @@ -841,9 +841,9 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @FDifferentImplicitParamType.as.J.impl: %Self.ref as %J.ref { -// CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.decl.loc184_38.1: %FDifferentImplicitParamType.as.J.impl.F.type.2a4475.1 = fn_decl @FDifferentImplicitParamType.as.J.impl.F.loc184_38.1 [concrete = constants.%FDifferentImplicitParamType.as.J.impl.F.8c141a.1] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.5a0 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.5a0 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.decl.loc184_38.1: %FDifferentImplicitParamType.as.J.impl.F.type.e3c3b1.1 = fn_decl @FDifferentImplicitParamType.as.J.impl.F.loc184_38.1 [concrete = constants.%FDifferentImplicitParamType.as.J.impl.F.16071f.1] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.551 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.551 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %b.patt: %pattern_type.831 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] @@ -860,9 +860,9 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return.param: ref bool = out_param call_param2 // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc103_44.1: type = specific_constant @J.WithSelf.F.%.loc103_44.1, @J.WithSelf.F(constants.%J.facet.649) [concrete = bool] -// CHECK:STDOUT: %.loc103_44.2: type = specific_constant @J.WithSelf.F.%.loc103_44.2, @J.WithSelf.F(constants.%J.facet.649) [concrete = constants.%.f34] -// CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.decl.loc184_38.2: %FDifferentImplicitParamType.as.J.impl.F.type.2a4475.2 = fn_decl @FDifferentImplicitParamType.as.J.impl.F.loc184_38.2 [concrete = constants.%FDifferentImplicitParamType.as.J.impl.F.8c141a.2] { +// CHECK:STDOUT: %.loc103_44.1: type = specific_constant @J.WithSelf.F.%.loc103_44.1, @J.WithSelf.F(constants.%J.facet.5ec) [concrete = bool] +// CHECK:STDOUT: %.loc103_44.2: type = specific_constant @J.WithSelf.F.%.loc103_44.2, @J.WithSelf.F(constants.%J.facet.5ec) [concrete = constants.%.f34] +// CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.decl.loc184_38.2: %FDifferentImplicitParamType.as.J.impl.F.type.e3c3b1.2 = fn_decl @FDifferentImplicitParamType.as.J.impl.F.loc184_38.2 [concrete = constants.%FDifferentImplicitParamType.as.J.impl.F.16071f.2] { // CHECK:STDOUT: %self.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.831 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] @@ -878,7 +878,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %J.impl_witness_table = impl_witness_table (%FDifferentImplicitParamType.as.J.impl.F.decl.loc184_38.2), @FDifferentImplicitParamType.as.J.impl [concrete] -// CHECK:STDOUT: %J.impl_witness: = impl_witness %J.impl_witness_table [concrete = constants.%J.impl_witness.a56] +// CHECK:STDOUT: %J.impl_witness: = impl_witness %J.impl_witness_table [concrete = constants.%J.impl_witness.932] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %FDifferentImplicitParamType.as.J.impl.F.decl.loc184_38.1 @@ -887,16 +887,16 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @FDifferentReturnType.as.J.impl: %Self.ref as %J.ref { -// CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.decl.loc200_38.1: %FDifferentReturnType.as.J.impl.F.type.f060c0.1 = fn_decl @FDifferentReturnType.as.J.impl.F.loc200_38.1 [concrete = constants.%FDifferentReturnType.as.J.impl.F.30100a.1] { +// CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.decl.loc200_38.1: %FDifferentReturnType.as.J.impl.F.type.b5ee6d.1 = fn_decl @FDifferentReturnType.as.J.impl.F.loc200_38.1 [concrete = constants.%FDifferentReturnType.as.J.impl.F.9e2e6b.1] { // CHECK:STDOUT: %self.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.831 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %b.patt: %pattern_type.831 = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c2a = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c2a = return_slot_pattern %return.param_patt, %Self.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.164 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.164 = return_slot_pattern %return.param_patt, %Self.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%FDifferentReturnType [concrete = constants.%FDifferentReturnType] -// CHECK:STDOUT: %.loc200_34: Core.Form = init_form %Self.ref [concrete = constants.%.cf5] +// CHECK:STDOUT: %.loc200_34: Core.Form = init_form %Self.ref [concrete = constants.%.56e] // CHECK:STDOUT: %self.param: bool = value_param call_param0 // CHECK:STDOUT: %.loc200_16: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %self: bool = value_binding self, %self.param @@ -906,9 +906,9 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return.param: ref %FDifferentReturnType = out_param call_param2 // CHECK:STDOUT: %return: ref %FDifferentReturnType = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc103_44.1: type = specific_constant @J.WithSelf.F.%.loc103_44.1, @J.WithSelf.F(constants.%J.facet.37d) [concrete = bool] -// CHECK:STDOUT: %.loc103_44.2: type = specific_constant @J.WithSelf.F.%.loc103_44.2, @J.WithSelf.F(constants.%J.facet.37d) [concrete = constants.%.f34] -// CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.decl.loc200_38.2: %FDifferentReturnType.as.J.impl.F.type.f060c0.2 = fn_decl @FDifferentReturnType.as.J.impl.F.loc200_38.2 [concrete = constants.%FDifferentReturnType.as.J.impl.F.30100a.2] { +// CHECK:STDOUT: %.loc103_44.1: type = specific_constant @J.WithSelf.F.%.loc103_44.1, @J.WithSelf.F(constants.%J.facet.813) [concrete = bool] +// CHECK:STDOUT: %.loc103_44.2: type = specific_constant @J.WithSelf.F.%.loc103_44.2, @J.WithSelf.F(constants.%J.facet.813) [concrete = constants.%.f34] +// CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.decl.loc200_38.2: %FDifferentReturnType.as.J.impl.F.type.b5ee6d.2 = fn_decl @FDifferentReturnType.as.J.impl.F.loc200_38.2 [concrete = constants.%FDifferentReturnType.as.J.impl.F.9e2e6b.2] { // CHECK:STDOUT: %self.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.831 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] @@ -924,7 +924,7 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %J.impl_witness_table = impl_witness_table (%FDifferentReturnType.as.J.impl.F.decl.loc200_38.2), @FDifferentReturnType.as.J.impl [concrete] -// CHECK:STDOUT: %J.impl_witness: = impl_witness %J.impl_witness_table [concrete = constants.%J.impl_witness.c5b] +// CHECK:STDOUT: %J.impl_witness: = impl_witness %J.impl_witness_table [concrete = constants.%J.impl_witness.5d9] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %FDifferentReturnType.as.J.impl.F.decl.loc200_38.1 @@ -933,45 +933,45 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @SelfNestedBadParam.as.SelfNested.impl: %Self.ref as %SelfNested.ref { -// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.decl.loc223_87.1: %SelfNestedBadParam.as.SelfNested.impl.F.type.c055d7.1 = fn_decl @SelfNestedBadParam.as.SelfNested.impl.F.loc223_87.1 [concrete = constants.%SelfNestedBadParam.as.SelfNested.impl.F.c20797.1] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.a53 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.a53 = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.072 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.072 = return_slot_pattern %return.param_patt, %array_type [concrete] +// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.decl.loc223_87.1: %SelfNestedBadParam.as.SelfNested.impl.F.type.0f9dff.1 = fn_decl @SelfNestedBadParam.as.SelfNested.impl.F.loc223_87.1 [concrete = constants.%SelfNestedBadParam.as.SelfNested.impl.F.e44dfb.1] { +// CHECK:STDOUT: %x.param_patt: %pattern_type.ac8 = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.ac8 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.cd4 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.cd4 = return_slot_pattern %return.param_patt, %array_type [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %SelfNestedBadParam.ref.loc223_65: type = name_ref SelfNestedBadParam, file.%SelfNestedBadParam.decl [concrete = constants.%SelfNestedBadParam] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4] -// CHECK:STDOUT: %array_type: type = array_type %int_4, %SelfNestedBadParam.ref.loc223_65 [concrete = constants.%array_type.3ee] -// CHECK:STDOUT: %.loc223_86: Core.Form = init_form %array_type [concrete = constants.%.de3] -// CHECK:STDOUT: %x.param: %tuple.type.a2b = value_param call_param0 -// CHECK:STDOUT: %.loc223_53.1: type = splice_block %.loc223_53.3 [concrete = constants.%tuple.type.a2b] { +// CHECK:STDOUT: %array_type: type = array_type %int_4, %SelfNestedBadParam.ref.loc223_65 [concrete = constants.%array_type.cda] +// CHECK:STDOUT: %.loc223_86: Core.Form = init_form %array_type [concrete = constants.%.c11] +// CHECK:STDOUT: %x.param: %tuple.type.8b4 = value_param call_param0 +// CHECK:STDOUT: %.loc223_53.1: type = splice_block %.loc223_53.3 [concrete = constants.%tuple.type.8b4] { // CHECK:STDOUT: %SelfNestedBadParam.ref.loc223_14: type = name_ref SelfNestedBadParam, file.%SelfNestedBadParam.decl [concrete = constants.%SelfNestedBadParam] -// CHECK:STDOUT: %ptr: type = ptr_type %SelfNestedBadParam.ref.loc223_14 [concrete = constants.%ptr.bda] +// CHECK:STDOUT: %ptr: type = ptr_type %SelfNestedBadParam.ref.loc223_14 [concrete = constants.%ptr.a16] // CHECK:STDOUT: %i32.loc223_40: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc223_49: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.x.y: type = struct_type {.x: %i32, .y: %i32} [concrete = constants.%struct_type.x.y.88a] -// CHECK:STDOUT: %.loc223_53.2: %tuple.type.24b = tuple_literal (%ptr, %struct_type.x.y) [concrete = constants.%tuple.78d] -// CHECK:STDOUT: %.loc223_53.3: type = converted %.loc223_53.2, constants.%tuple.type.a2b [concrete = constants.%tuple.type.a2b] +// CHECK:STDOUT: %struct_type.x.y: type = struct_type {.x: %i32, .y: %i32} [concrete = constants.%struct_type.x.y.b70] +// CHECK:STDOUT: %.loc223_53.2: %tuple.type.24b = tuple_literal (%ptr, %struct_type.x.y) [concrete = constants.%tuple.b12] +// CHECK:STDOUT: %.loc223_53.3: type = converted %.loc223_53.2, constants.%tuple.type.8b4 [concrete = constants.%tuple.type.8b4] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: %tuple.type.a2b = value_binding x, %x.param -// CHECK:STDOUT: %return.param: ref %array_type.3ee = out_param call_param1 -// CHECK:STDOUT: %return: ref %array_type.3ee = return_slot %return.param +// CHECK:STDOUT: %x: %tuple.type.8b4 = value_binding x, %x.param +// CHECK:STDOUT: %return.param: ref %array_type.cda = out_param call_param1 +// CHECK:STDOUT: %return: ref %array_type.cda = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc211_57.1: type = specific_constant @SelfNested.WithSelf.F.%array_type.loc211_57.2, @SelfNested.WithSelf.F(constants.%SelfNested.facet.693) [concrete = constants.%array_type.3ee] -// CHECK:STDOUT: %.loc211_57.2: type = specific_constant @SelfNested.WithSelf.F.%.loc211_57.2, @SelfNested.WithSelf.F(constants.%SelfNested.facet.693) [concrete = constants.%.de3] -// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.decl.loc223_87.2: %SelfNestedBadParam.as.SelfNested.impl.F.type.c055d7.2 = fn_decl @SelfNestedBadParam.as.SelfNested.impl.F.loc223_87.2 [concrete = constants.%SelfNestedBadParam.as.SelfNested.impl.F.c20797.2] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.a38 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.a38 = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.072 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.072 = return_slot_pattern %return.param_patt, invalid [concrete] +// CHECK:STDOUT: %.loc211_57.1: type = specific_constant @SelfNested.WithSelf.F.%array_type.loc211_57.2, @SelfNested.WithSelf.F(constants.%SelfNested.facet.428) [concrete = constants.%array_type.cda] +// CHECK:STDOUT: %.loc211_57.2: type = specific_constant @SelfNested.WithSelf.F.%.loc211_57.2, @SelfNested.WithSelf.F(constants.%SelfNested.facet.428) [concrete = constants.%.c11] +// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.decl.loc223_87.2: %SelfNestedBadParam.as.SelfNested.impl.F.type.0f9dff.2 = fn_decl @SelfNestedBadParam.as.SelfNested.impl.F.loc223_87.2 [concrete = constants.%SelfNestedBadParam.as.SelfNested.impl.F.e44dfb.2] { +// CHECK:STDOUT: %x.param_patt: %pattern_type.a6b = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.a6b = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.cd4 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.cd4 = return_slot_pattern %return.param_patt, invalid [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param: %tuple.type.94e = value_param call_param0 -// CHECK:STDOUT: %x: %tuple.type.94e = value_binding x, %x.param -// CHECK:STDOUT: %return.param: ref %array_type.3ee = out_param call_param1 -// CHECK:STDOUT: %return: ref %array_type.3ee = return_slot %return.param +// CHECK:STDOUT: %x.param: %tuple.type.d3e = value_param call_param0 +// CHECK:STDOUT: %x: %tuple.type.d3e = value_binding x, %x.param +// CHECK:STDOUT: %return.param: ref %array_type.cda = out_param call_param1 +// CHECK:STDOUT: %return: ref %array_type.cda = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %SelfNested.impl_witness_table = impl_witness_table (%SelfNestedBadParam.as.SelfNested.impl.F.decl.loc223_87.2), @SelfNestedBadParam.as.SelfNested.impl [concrete] -// CHECK:STDOUT: %SelfNested.impl_witness: = impl_witness %SelfNested.impl_witness_table [concrete = constants.%SelfNested.impl_witness.026] +// CHECK:STDOUT: %SelfNested.impl_witness: = impl_witness %SelfNested.impl_witness_table [concrete = constants.%SelfNested.impl_witness.06b] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .SelfNestedBadParam = @@ -981,45 +981,45 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @SelfNestedBadReturnType.as.SelfNested.impl: %Self.ref as %SelfNested.ref { -// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.decl.loc239_112.1: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.6a241d.1 = fn_decl @SelfNestedBadReturnType.as.SelfNested.impl.F.loc239_112.1 [concrete = constants.%SelfNestedBadReturnType.as.SelfNested.impl.F.18a3b3.1] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.5f7 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.5f7 = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.072 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.072 = return_slot_pattern %return.param_patt, %array_type [concrete] +// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.decl.loc239_112.1: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.c80844.1 = fn_decl @SelfNestedBadReturnType.as.SelfNested.impl.F.loc239_112.1 [concrete = constants.%SelfNestedBadReturnType.as.SelfNested.impl.F.035a7e.1] { +// CHECK:STDOUT: %x.param_patt: %pattern_type.4a8 = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.4a8 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.cd4 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.cd4 = return_slot_pattern %return.param_patt, %array_type [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %SelfNestedBadParam.ref: type = name_ref SelfNestedBadParam, file.%SelfNestedBadParam.decl [concrete = constants.%SelfNestedBadParam] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4] -// CHECK:STDOUT: %array_type: type = array_type %int_4, %SelfNestedBadParam.ref [concrete = constants.%array_type.3ee] -// CHECK:STDOUT: %.loc239_111: Core.Form = init_form %array_type [concrete = constants.%.de3] -// CHECK:STDOUT: %x.param: %tuple.type.4db = value_param call_param0 -// CHECK:STDOUT: %.loc239_78.1: type = splice_block %.loc239_78.3 [concrete = constants.%tuple.type.4db] { +// CHECK:STDOUT: %array_type: type = array_type %int_4, %SelfNestedBadParam.ref [concrete = constants.%array_type.cda] +// CHECK:STDOUT: %.loc239_111: Core.Form = init_form %array_type [concrete = constants.%.c11] +// CHECK:STDOUT: %x.param: %tuple.type.b5c = value_param call_param0 +// CHECK:STDOUT: %.loc239_78.1: type = splice_block %.loc239_78.3 [concrete = constants.%tuple.type.b5c] { // CHECK:STDOUT: %SelfNestedBadReturnType.ref.loc239_14: type = name_ref SelfNestedBadReturnType, file.%SelfNestedBadReturnType.decl [concrete = constants.%SelfNestedBadReturnType] -// CHECK:STDOUT: %ptr: type = ptr_type %SelfNestedBadReturnType.ref.loc239_14 [concrete = constants.%ptr.538] +// CHECK:STDOUT: %ptr: type = ptr_type %SelfNestedBadReturnType.ref.loc239_14 [concrete = constants.%ptr.fb5] // CHECK:STDOUT: %SelfNestedBadReturnType.ref.loc239_45: type = name_ref SelfNestedBadReturnType, file.%SelfNestedBadReturnType.decl [concrete = constants.%SelfNestedBadReturnType] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.x.y: type = struct_type {.x: %SelfNestedBadReturnType, .y: %i32} [concrete = constants.%struct_type.x.y.e7e] -// CHECK:STDOUT: %.loc239_78.2: %tuple.type.24b = tuple_literal (%ptr, %struct_type.x.y) [concrete = constants.%tuple.a5a] -// CHECK:STDOUT: %.loc239_78.3: type = converted %.loc239_78.2, constants.%tuple.type.4db [concrete = constants.%tuple.type.4db] +// CHECK:STDOUT: %struct_type.x.y: type = struct_type {.x: %SelfNestedBadReturnType, .y: %i32} [concrete = constants.%struct_type.x.y.6eb] +// CHECK:STDOUT: %.loc239_78.2: %tuple.type.24b = tuple_literal (%ptr, %struct_type.x.y) [concrete = constants.%tuple.309] +// CHECK:STDOUT: %.loc239_78.3: type = converted %.loc239_78.2, constants.%tuple.type.b5c [concrete = constants.%tuple.type.b5c] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: %tuple.type.4db = value_binding x, %x.param -// CHECK:STDOUT: %return.param: ref %array_type.3ee = out_param call_param1 -// CHECK:STDOUT: %return: ref %array_type.3ee = return_slot %return.param +// CHECK:STDOUT: %x: %tuple.type.b5c = value_binding x, %x.param +// CHECK:STDOUT: %return.param: ref %array_type.cda = out_param call_param1 +// CHECK:STDOUT: %return: ref %array_type.cda = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc211_57.1: type = specific_constant @SelfNested.WithSelf.F.%array_type.loc211_57.2, @SelfNested.WithSelf.F(constants.%SelfNested.facet.a9c) [concrete = constants.%array_type.db9] -// CHECK:STDOUT: %.loc211_57.2: type = specific_constant @SelfNested.WithSelf.F.%.loc211_57.2, @SelfNested.WithSelf.F(constants.%SelfNested.facet.a9c) [concrete = constants.%.0a9] -// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.decl.loc239_112.2: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.6a241d.2 = fn_decl @SelfNestedBadReturnType.as.SelfNested.impl.F.loc239_112.2 [concrete = constants.%SelfNestedBadReturnType.as.SelfNested.impl.F.18a3b3.2] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.5f7 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.5f7 = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.083 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.083 = return_slot_pattern %return.param_patt, invalid [concrete] +// CHECK:STDOUT: %.loc211_57.1: type = specific_constant @SelfNested.WithSelf.F.%array_type.loc211_57.2, @SelfNested.WithSelf.F(constants.%SelfNested.facet.490) [concrete = constants.%array_type.e52] +// CHECK:STDOUT: %.loc211_57.2: type = specific_constant @SelfNested.WithSelf.F.%.loc211_57.2, @SelfNested.WithSelf.F(constants.%SelfNested.facet.490) [concrete = constants.%.b1f] +// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.decl.loc239_112.2: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.c80844.2 = fn_decl @SelfNestedBadReturnType.as.SelfNested.impl.F.loc239_112.2 [concrete = constants.%SelfNestedBadReturnType.as.SelfNested.impl.F.035a7e.2] { +// CHECK:STDOUT: %x.param_patt: %pattern_type.4a8 = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.4a8 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.db0 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.db0 = return_slot_pattern %return.param_patt, invalid [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param: %tuple.type.4db = value_param call_param0 -// CHECK:STDOUT: %x: %tuple.type.4db = value_binding x, %x.param -// CHECK:STDOUT: %return.param: ref %array_type.db9 = out_param call_param1 -// CHECK:STDOUT: %return: ref %array_type.db9 = return_slot %return.param +// CHECK:STDOUT: %x.param: %tuple.type.b5c = value_param call_param0 +// CHECK:STDOUT: %x: %tuple.type.b5c = value_binding x, %x.param +// CHECK:STDOUT: %return.param: ref %array_type.e52 = out_param call_param1 +// CHECK:STDOUT: %return: ref %array_type.e52 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %SelfNested.impl_witness_table = impl_witness_table (%SelfNestedBadReturnType.as.SelfNested.impl.F.decl.loc239_112.2), @SelfNestedBadReturnType.as.SelfNested.impl [concrete] -// CHECK:STDOUT: %SelfNested.impl_witness: = impl_witness %SelfNested.impl_witness_table [concrete = constants.%SelfNested.impl_witness.e62] +// CHECK:STDOUT: %SelfNested.impl_witness: = impl_witness %SelfNested.impl_witness_table [concrete = constants.%SelfNested.impl_witness.81c] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .SelfNestedBadReturnType = @@ -1225,17 +1225,17 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: // CHECK:STDOUT: fn @FExtraParam.as.I.impl.F.loc69_18.1(%b.param: bool); // CHECK:STDOUT: -// CHECK:STDOUT: fn @FExtraParam.as.I.impl.F.loc69_18.2() [thunk @FExtraParam.as.I.impl.%FExtraParam.as.I.impl.F.decl.loc69_18.1 for @I.WithSelf.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%I.facet.50c)] { +// CHECK:STDOUT: fn @FExtraParam.as.I.impl.F.loc69_18.2() [thunk @FExtraParam.as.I.impl.%FExtraParam.as.I.impl.F.decl.loc69_18.1 for @I.WithSelf.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%I.facet.c30)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %FExtraParam.as.I.impl.F.type.cb12e5.1 = name_ref F, @FExtraParam.as.I.impl.%FExtraParam.as.I.impl.F.decl.loc69_18.1 [concrete = constants.%FExtraParam.as.I.impl.F.989bc3.1] +// CHECK:STDOUT: %F.ref: %FExtraParam.as.I.impl.F.type.e67c7d.1 = name_ref F, @FExtraParam.as.I.impl.%FExtraParam.as.I.impl.F.decl.loc69_18.1 [concrete = constants.%FExtraParam.as.I.impl.F.9ec29e.1] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @FExtraImplicitParam.as.I.impl.F.loc85_23.1(%self.param: %FExtraImplicitParam); // CHECK:STDOUT: -// CHECK:STDOUT: fn @FExtraImplicitParam.as.I.impl.F.loc85_23.2() [thunk @FExtraImplicitParam.as.I.impl.%FExtraImplicitParam.as.I.impl.F.decl.loc85_23.1 for @I.WithSelf.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%I.facet.f28)] { +// CHECK:STDOUT: fn @FExtraImplicitParam.as.I.impl.F.loc85_23.2() [thunk @FExtraImplicitParam.as.I.impl.%FExtraImplicitParam.as.I.impl.F.decl.loc85_23.1 for @I.WithSelf.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%I.facet.0d6)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %FExtraImplicitParam.as.I.impl.F.type.f5adc6.1 = name_ref F, @FExtraImplicitParam.as.I.impl.%FExtraImplicitParam.as.I.impl.F.decl.loc85_23.1 [concrete = constants.%FExtraImplicitParam.as.I.impl.F.8df3a7.1] +// CHECK:STDOUT: %F.ref: %FExtraImplicitParam.as.I.impl.F.type.182ef7.1 = name_ref F, @FExtraImplicitParam.as.I.impl.%FExtraImplicitParam.as.I.impl.F.decl.loc85_23.1 [concrete = constants.%FExtraImplicitParam.as.I.impl.F.db022d.1] // CHECK:STDOUT: %FExtraImplicitParam.as.I.impl.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1248,27 +1248,27 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: // CHECK:STDOUT: fn @FMissingParam.as.J.impl.F.loc117_31.1(%self.param: bool) -> out %return.param: bool; // CHECK:STDOUT: -// CHECK:STDOUT: fn @FMissingParam.as.J.impl.F.loc117_31.2(%self.param: bool, %b.param: bool) -> out %return.param: bool [thunk @FMissingParam.as.J.impl.%FMissingParam.as.J.impl.F.decl.loc117_31.1 for @J.WithSelf.%J.WithSelf.F.decl, @J.WithSelf.F(constants.%J.facet.4dc)] { +// CHECK:STDOUT: fn @FMissingParam.as.J.impl.F.loc117_31.2(%self.param: bool, %b.param: bool) -> out %return.param: bool [thunk @FMissingParam.as.J.impl.%FMissingParam.as.J.impl.F.decl.loc117_31.1 for @J.WithSelf.%J.WithSelf.F.decl, @J.WithSelf.F(constants.%J.facet.55f)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %FMissingParam.as.J.impl.F.type.5ef2ac.1 = name_ref F, @FMissingParam.as.J.impl.%FMissingParam.as.J.impl.F.decl.loc117_31.1 [concrete = constants.%FMissingParam.as.J.impl.F.d8edee.1] +// CHECK:STDOUT: %F.ref: %FMissingParam.as.J.impl.F.type.bba3a3.1 = name_ref F, @FMissingParam.as.J.impl.%FMissingParam.as.J.impl.F.decl.loc117_31.1 [concrete = constants.%FMissingParam.as.J.impl.F.c0814c.1] // CHECK:STDOUT: %FMissingParam.as.J.impl.F.bound: = bound_method %self.param, %F.ref // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @FMissingImplicitParam.as.J.impl.F.loc130_26.1(%b.param: bool) -> out %return.param: bool; // CHECK:STDOUT: -// CHECK:STDOUT: fn @FMissingImplicitParam.as.J.impl.F.loc130_26.2(%self.param: bool, %b.param: bool) -> out %return.param: bool [thunk @FMissingImplicitParam.as.J.impl.%FMissingImplicitParam.as.J.impl.F.decl.loc130_26.1 for @J.WithSelf.%J.WithSelf.F.decl, @J.WithSelf.F(constants.%J.facet.158)] { +// CHECK:STDOUT: fn @FMissingImplicitParam.as.J.impl.F.loc130_26.2(%self.param: bool, %b.param: bool) -> out %return.param: bool [thunk @FMissingImplicitParam.as.J.impl.%FMissingImplicitParam.as.J.impl.F.decl.loc130_26.1 for @J.WithSelf.%J.WithSelf.F.decl, @J.WithSelf.F(constants.%J.facet.a37)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %FMissingImplicitParam.as.J.impl.F.type.f8427f.1 = name_ref F, @FMissingImplicitParam.as.J.impl.%FMissingImplicitParam.as.J.impl.F.decl.loc130_26.1 [concrete = constants.%FMissingImplicitParam.as.J.impl.F.b398ca.1] +// CHECK:STDOUT: %F.ref: %FMissingImplicitParam.as.J.impl.F.type.201eb4.1 = name_ref F, @FMissingImplicitParam.as.J.impl.%FMissingImplicitParam.as.J.impl.F.decl.loc130_26.1 [concrete = constants.%FMissingImplicitParam.as.J.impl.F.8b207a.1] // CHECK:STDOUT: %FMissingImplicitParam.as.J.impl.F.call: init bool = call %F.ref(%b.param) // CHECK:STDOUT: return %FMissingImplicitParam.as.J.impl.F.call // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @FMissingReturnType.as.J.impl.F.loc152_30.1(%self.param: bool, %b.param: bool); // CHECK:STDOUT: -// CHECK:STDOUT: fn @FMissingReturnType.as.J.impl.F.loc152_30.2(%self.param: bool, %b.param: bool) -> out %return.param: bool [thunk @FMissingReturnType.as.J.impl.%FMissingReturnType.as.J.impl.F.decl.loc152_30.1 for @J.WithSelf.%J.WithSelf.F.decl, @J.WithSelf.F(constants.%J.facet.2d3)] { +// CHECK:STDOUT: fn @FMissingReturnType.as.J.impl.F.loc152_30.2(%self.param: bool, %b.param: bool) -> out %return.param: bool [thunk @FMissingReturnType.as.J.impl.%FMissingReturnType.as.J.impl.F.decl.loc152_30.1 for @J.WithSelf.%J.WithSelf.F.decl, @J.WithSelf.F(constants.%J.facet.d54)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %FMissingReturnType.as.J.impl.F.type.78fab6.1 = name_ref F, @FMissingReturnType.as.J.impl.%FMissingReturnType.as.J.impl.F.decl.loc152_30.1 [concrete = constants.%FMissingReturnType.as.J.impl.F.55cda9.1] +// CHECK:STDOUT: %F.ref: %FMissingReturnType.as.J.impl.F.type.c14535.1 = name_ref F, @FMissingReturnType.as.J.impl.%FMissingReturnType.as.J.impl.F.decl.loc152_30.1 [concrete = constants.%FMissingReturnType.as.J.impl.F.fcb664.1] // CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.bound: = bound_method %self.param, %F.ref // CHECK:STDOUT: %FMissingReturnType.as.J.impl.F.call: init %empty_tuple.type = call %FMissingReturnType.as.J.impl.F.bound(%self.param, %b.param) // CHECK:STDOUT: %.loc152: bool = converted %FMissingReturnType.as.J.impl.F.call, [concrete = ] @@ -1277,9 +1277,9 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: // CHECK:STDOUT: fn @FDifferentParamType.as.J.impl.F.loc171_38.1(%self.param: bool, %b.param: %FDifferentParamType) -> out %return.param: bool; // CHECK:STDOUT: -// CHECK:STDOUT: fn @FDifferentParamType.as.J.impl.F.loc171_38.2(%self.param: bool, %b.param: bool) -> out %return.param: bool [thunk @FDifferentParamType.as.J.impl.%FDifferentParamType.as.J.impl.F.decl.loc171_38.1 for @J.WithSelf.%J.WithSelf.F.decl, @J.WithSelf.F(constants.%J.facet.e11)] { +// CHECK:STDOUT: fn @FDifferentParamType.as.J.impl.F.loc171_38.2(%self.param: bool, %b.param: bool) -> out %return.param: bool [thunk @FDifferentParamType.as.J.impl.%FDifferentParamType.as.J.impl.F.decl.loc171_38.1 for @J.WithSelf.%J.WithSelf.F.decl, @J.WithSelf.F(constants.%J.facet.d89)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %FDifferentParamType.as.J.impl.F.type.a9aa82.1 = name_ref F, @FDifferentParamType.as.J.impl.%FDifferentParamType.as.J.impl.F.decl.loc171_38.1 [concrete = constants.%FDifferentParamType.as.J.impl.F.9d056e.1] +// CHECK:STDOUT: %F.ref: %FDifferentParamType.as.J.impl.F.type.1f32b7.1 = name_ref F, @FDifferentParamType.as.J.impl.%FDifferentParamType.as.J.impl.F.decl.loc171_38.1 [concrete = constants.%FDifferentParamType.as.J.impl.F.15c1f8.1] // CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.bound: = bound_method %self.param, %F.ref // CHECK:STDOUT: %.loc103: %FDifferentParamType = converted %b.param, [concrete = ] // CHECK:STDOUT: %FDifferentParamType.as.J.impl.F.call: init bool = call %FDifferentParamType.as.J.impl.F.bound(%self.param, ) @@ -1288,9 +1288,9 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: // CHECK:STDOUT: fn @FDifferentImplicitParamType.as.J.impl.F.loc184_38.1(%self.param: %FDifferentImplicitParamType, %b.param: bool) -> out %return.param: bool; // CHECK:STDOUT: -// CHECK:STDOUT: fn @FDifferentImplicitParamType.as.J.impl.F.loc184_38.2(%self.param: bool, %b.param: bool) -> out %return.param: bool [thunk @FDifferentImplicitParamType.as.J.impl.%FDifferentImplicitParamType.as.J.impl.F.decl.loc184_38.1 for @J.WithSelf.%J.WithSelf.F.decl, @J.WithSelf.F(constants.%J.facet.649)] { +// CHECK:STDOUT: fn @FDifferentImplicitParamType.as.J.impl.F.loc184_38.2(%self.param: bool, %b.param: bool) -> out %return.param: bool [thunk @FDifferentImplicitParamType.as.J.impl.%FDifferentImplicitParamType.as.J.impl.F.decl.loc184_38.1 for @J.WithSelf.%J.WithSelf.F.decl, @J.WithSelf.F(constants.%J.facet.5ec)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %FDifferentImplicitParamType.as.J.impl.F.type.2a4475.1 = name_ref F, @FDifferentImplicitParamType.as.J.impl.%FDifferentImplicitParamType.as.J.impl.F.decl.loc184_38.1 [concrete = constants.%FDifferentImplicitParamType.as.J.impl.F.8c141a.1] +// CHECK:STDOUT: %F.ref: %FDifferentImplicitParamType.as.J.impl.F.type.e3c3b1.1 = name_ref F, @FDifferentImplicitParamType.as.J.impl.%FDifferentImplicitParamType.as.J.impl.F.decl.loc184_38.1 [concrete = constants.%FDifferentImplicitParamType.as.J.impl.F.16071f.1] // CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.bound: = bound_method %self.param, %F.ref // CHECK:STDOUT: %.loc103: %FDifferentImplicitParamType = converted %self.param, [concrete = ] // CHECK:STDOUT: %FDifferentImplicitParamType.as.J.impl.F.call: init bool = call %FDifferentImplicitParamType.as.J.impl.F.bound(, %b.param) @@ -1299,9 +1299,9 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: // CHECK:STDOUT: fn @FDifferentReturnType.as.J.impl.F.loc200_38.1(%self.param: bool, %b.param: bool) -> out %return.param: %FDifferentReturnType; // CHECK:STDOUT: -// CHECK:STDOUT: fn @FDifferentReturnType.as.J.impl.F.loc200_38.2(%self.param: bool, %b.param: bool) -> out %return.param: bool [thunk @FDifferentReturnType.as.J.impl.%FDifferentReturnType.as.J.impl.F.decl.loc200_38.1 for @J.WithSelf.%J.WithSelf.F.decl, @J.WithSelf.F(constants.%J.facet.37d)] { +// CHECK:STDOUT: fn @FDifferentReturnType.as.J.impl.F.loc200_38.2(%self.param: bool, %b.param: bool) -> out %return.param: bool [thunk @FDifferentReturnType.as.J.impl.%FDifferentReturnType.as.J.impl.F.decl.loc200_38.1 for @J.WithSelf.%J.WithSelf.F.decl, @J.WithSelf.F(constants.%J.facet.813)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %FDifferentReturnType.as.J.impl.F.type.f060c0.1 = name_ref F, @FDifferentReturnType.as.J.impl.%FDifferentReturnType.as.J.impl.F.decl.loc200_38.1 [concrete = constants.%FDifferentReturnType.as.J.impl.F.30100a.1] +// CHECK:STDOUT: %F.ref: %FDifferentReturnType.as.J.impl.F.type.b5ee6d.1 = name_ref F, @FDifferentReturnType.as.J.impl.%FDifferentReturnType.as.J.impl.F.decl.loc200_38.1 [concrete = constants.%FDifferentReturnType.as.J.impl.F.9e2e6b.1] // CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.bound: = bound_method %self.param, %F.ref // CHECK:STDOUT: %.loc200_38.1: ref %FDifferentReturnType = temporary_storage // CHECK:STDOUT: %FDifferentReturnType.as.J.impl.F.call: init %FDifferentReturnType to %.loc200_38.1 = call %FDifferentReturnType.as.J.impl.F.bound(%self.param, %b.param) @@ -1310,222 +1310,222 @@ class SelfNestedBadReturnType { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @SelfNested.WithSelf.F(@SelfNested.%Self: %SelfNested.type) { -// CHECK:STDOUT: %Self: %SelfNested.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f72)] -// CHECK:STDOUT: %Self.as_type.loc211_16.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.b0a)] -// CHECK:STDOUT: %ptr.loc211_16.1: type = ptr_type %Self.as_type.loc211_16.1 [symbolic = %ptr.loc211_16.1 (constants.%ptr.9b4)] -// CHECK:STDOUT: %struct_type.x.y.loc211_37.1: type = struct_type {.x: @SelfNested.WithSelf.F.%Self.as_type.loc211_16.1 (%Self.as_type.b0a), .y: %i32} [symbolic = %struct_type.x.y.loc211_37.1 (constants.%struct_type.x.y.1c2)] -// CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%ptr.loc211_16.1, %struct_type.x.y.loc211_37.1) [symbolic = %tuple (constants.%tuple.f8b)] -// CHECK:STDOUT: %tuple.type: type = tuple_type (%ptr.loc211_16.1, %struct_type.x.y.loc211_37.1) [symbolic = %tuple.type (constants.%tuple.type.73c)] -// CHECK:STDOUT: %pattern_type.loc211_9: type = pattern_type %tuple.type [symbolic = %pattern_type.loc211_9 (constants.%pattern_type.695)] -// CHECK:STDOUT: %array_type.loc211_57.1: type = array_type constants.%int_4, %Self.as_type.loc211_16.1 [symbolic = %array_type.loc211_57.1 (constants.%array_type.a3c)] -// CHECK:STDOUT: %.loc211_57.1: Core.Form = init_form %array_type.loc211_57.1 [symbolic = %.loc211_57.1 (constants.%.21e)] -// CHECK:STDOUT: %pattern_type.loc211_57: type = pattern_type %array_type.loc211_57.1 [symbolic = %pattern_type.loc211_57 (constants.%pattern_type.f41)] +// CHECK:STDOUT: %Self: %SelfNested.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.d32)] +// CHECK:STDOUT: %Self.as_type.loc211_16.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc211_16.1 (constants.%Self.as_type.fd2)] +// CHECK:STDOUT: %ptr.loc211_16.1: type = ptr_type %Self.as_type.loc211_16.1 [symbolic = %ptr.loc211_16.1 (constants.%ptr.99d)] +// CHECK:STDOUT: %struct_type.x.y.loc211_37.1: type = struct_type {.x: @SelfNested.WithSelf.F.%Self.as_type.loc211_16.1 (%Self.as_type.fd2), .y: %i32} [symbolic = %struct_type.x.y.loc211_37.1 (constants.%struct_type.x.y.462)] +// CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%ptr.loc211_16.1, %struct_type.x.y.loc211_37.1) [symbolic = %tuple (constants.%tuple.246)] +// CHECK:STDOUT: %tuple.type: type = tuple_type (%ptr.loc211_16.1, %struct_type.x.y.loc211_37.1) [symbolic = %tuple.type (constants.%tuple.type.cc5)] +// CHECK:STDOUT: %pattern_type.loc211_9: type = pattern_type %tuple.type [symbolic = %pattern_type.loc211_9 (constants.%pattern_type.02e)] +// CHECK:STDOUT: %array_type.loc211_57.1: type = array_type constants.%int_4, %Self.as_type.loc211_16.1 [symbolic = %array_type.loc211_57.1 (constants.%array_type.a6f)] +// CHECK:STDOUT: %.loc211_57.1: Core.Form = init_form %array_type.loc211_57.1 [symbolic = %.loc211_57.1 (constants.%.5ec)] +// CHECK:STDOUT: %pattern_type.loc211_57: type = pattern_type %array_type.loc211_57.1 [symbolic = %pattern_type.loc211_57 (constants.%pattern_type.996)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @SelfNested.WithSelf.F.%tuple.type (%tuple.type.73c)) -> out %return.param: @SelfNested.WithSelf.F.%array_type.loc211_57.1 (%array_type.a3c); +// CHECK:STDOUT: fn(%x.param: @SelfNested.WithSelf.F.%tuple.type (%tuple.type.cc5)) -> out %return.param: @SelfNested.WithSelf.F.%array_type.loc211_57.1 (%array_type.a6f); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @SelfNestedBadParam.as.SelfNested.impl.F.loc223_87.1(%x.param: %tuple.type.a2b) -> out %return.param: %array_type.3ee; +// CHECK:STDOUT: fn @SelfNestedBadParam.as.SelfNested.impl.F.loc223_87.1(%x.param: %tuple.type.8b4) -> out %return.param: %array_type.cda; // CHECK:STDOUT: -// CHECK:STDOUT: fn @SelfNestedBadParam.as.SelfNested.impl.F.loc223_87.2(%x.param: %tuple.type.94e) -> out %return.param: %array_type.3ee [thunk @SelfNestedBadParam.as.SelfNested.impl.%SelfNestedBadParam.as.SelfNested.impl.F.decl.loc223_87.1 for @SelfNested.WithSelf.%SelfNested.WithSelf.F.decl, @SelfNested.WithSelf.F(constants.%SelfNested.facet.693)] { +// CHECK:STDOUT: fn @SelfNestedBadParam.as.SelfNested.impl.F.loc223_87.2(%x.param: %tuple.type.d3e) -> out %return.param: %array_type.cda [thunk @SelfNestedBadParam.as.SelfNested.impl.%SelfNestedBadParam.as.SelfNested.impl.F.decl.loc223_87.1 for @SelfNested.WithSelf.%SelfNested.WithSelf.F.decl, @SelfNested.WithSelf.F(constants.%SelfNested.facet.428)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %SelfNestedBadParam.as.SelfNested.impl.F.type.c055d7.1 = name_ref F, @SelfNestedBadParam.as.SelfNested.impl.%SelfNestedBadParam.as.SelfNested.impl.F.decl.loc223_87.1 [concrete = constants.%SelfNestedBadParam.as.SelfNested.impl.F.c20797.1] -// CHECK:STDOUT: %.loc211_57: ref %array_type.3ee = splice_block %return.param {} -// CHECK:STDOUT: %tuple.elem0: %ptr.bda = tuple_access %x.param, element0 -// CHECK:STDOUT: %tuple.elem1: %struct_type.x.y.ed7 = tuple_access %x.param, element1 +// CHECK:STDOUT: %F.ref: %SelfNestedBadParam.as.SelfNested.impl.F.type.0f9dff.1 = name_ref F, @SelfNestedBadParam.as.SelfNested.impl.%SelfNestedBadParam.as.SelfNested.impl.F.decl.loc223_87.1 [concrete = constants.%SelfNestedBadParam.as.SelfNested.impl.F.e44dfb.1] +// CHECK:STDOUT: %.loc211_57: ref %array_type.cda = splice_block %return.param {} +// CHECK:STDOUT: %tuple.elem0: %ptr.a16 = tuple_access %x.param, element0 +// CHECK:STDOUT: %tuple.elem1: %struct_type.x.y.dda = tuple_access %x.param, element1 // CHECK:STDOUT: %.loc211_9.1: %SelfNestedBadParam = struct_access %tuple.elem1, element0 // CHECK:STDOUT: %.loc211_9.2: %i32 = converted %.loc211_9.1, [concrete = ] -// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.call: init %array_type.3ee to %.loc211_57 = call %F.ref() +// CHECK:STDOUT: %SelfNestedBadParam.as.SelfNested.impl.F.call: init %array_type.cda to %.loc211_57 = call %F.ref() // CHECK:STDOUT: return %SelfNestedBadParam.as.SelfNested.impl.F.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @SelfNestedBadReturnType.as.SelfNested.impl.F.loc239_112.1(%x.param: %tuple.type.4db) -> out %return.param: %array_type.3ee; +// CHECK:STDOUT: fn @SelfNestedBadReturnType.as.SelfNested.impl.F.loc239_112.1(%x.param: %tuple.type.b5c) -> out %return.param: %array_type.cda; // CHECK:STDOUT: -// CHECK:STDOUT: fn @SelfNestedBadReturnType.as.SelfNested.impl.F.loc239_112.2(%x.param: %tuple.type.4db) -> out %return.param: %array_type.db9 [thunk @SelfNestedBadReturnType.as.SelfNested.impl.%SelfNestedBadReturnType.as.SelfNested.impl.F.decl.loc239_112.1 for @SelfNested.WithSelf.%SelfNested.WithSelf.F.decl, @SelfNested.WithSelf.F(constants.%SelfNested.facet.a9c)] { +// CHECK:STDOUT: fn @SelfNestedBadReturnType.as.SelfNested.impl.F.loc239_112.2(%x.param: %tuple.type.b5c) -> out %return.param: %array_type.e52 [thunk @SelfNestedBadReturnType.as.SelfNested.impl.%SelfNestedBadReturnType.as.SelfNested.impl.F.decl.loc239_112.1 for @SelfNested.WithSelf.%SelfNested.WithSelf.F.decl, @SelfNested.WithSelf.F(constants.%SelfNested.facet.490)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.6a241d.1 = name_ref F, @SelfNestedBadReturnType.as.SelfNested.impl.%SelfNestedBadReturnType.as.SelfNested.impl.F.decl.loc239_112.1 [concrete = constants.%SelfNestedBadReturnType.as.SelfNested.impl.F.18a3b3.1] -// CHECK:STDOUT: %.loc239_112.1: ref %array_type.3ee = temporary_storage -// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.call: init %array_type.3ee to %.loc239_112.1 = call %F.ref(%x.param) -// CHECK:STDOUT: %.loc239_112.2: %array_type.db9 = converted %SelfNestedBadReturnType.as.SelfNested.impl.F.call, [concrete = ] +// CHECK:STDOUT: %F.ref: %SelfNestedBadReturnType.as.SelfNested.impl.F.type.c80844.1 = name_ref F, @SelfNestedBadReturnType.as.SelfNested.impl.%SelfNestedBadReturnType.as.SelfNested.impl.F.decl.loc239_112.1 [concrete = constants.%SelfNestedBadReturnType.as.SelfNested.impl.F.035a7e.1] +// CHECK:STDOUT: %.loc239_112.1: ref %array_type.cda = temporary_storage +// CHECK:STDOUT: %SelfNestedBadReturnType.as.SelfNested.impl.F.call: init %array_type.cda to %.loc239_112.1 = call %F.ref(%x.param) +// CHECK:STDOUT: %.loc239_112.2: %array_type.e52 = converted %SelfNestedBadReturnType.as.SelfNested.impl.F.call, [concrete = ] // CHECK:STDOUT: return to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.cd6) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.cd6 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.831 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.ddf +// CHECK:STDOUT: %Self => constants.%Self.179 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d9f +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.592 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.cd6) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.179) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.469) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.a48) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.469 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.9ea -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.528 +// CHECK:STDOUT: %Self => constants.%I.facet.a48 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.296 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.754 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.1ce) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.716) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.1ce -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a4c -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.2f2 +// CHECK:STDOUT: %Self => constants.%I.facet.716 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.694 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.ab7 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.0a8) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.afb) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.0a8 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.c54 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.c60 +// CHECK:STDOUT: %Self => constants.%I.facet.afb +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.b03 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.6ef // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.50c) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.c30) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.50c -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.e8f -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.df3 +// CHECK:STDOUT: %Self => constants.%I.facet.c30 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.5de +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.9a8 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.50c) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.c30) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.f28) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.0d6) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.f28 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.ff9 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.e60 +// CHECK:STDOUT: %Self => constants.%I.facet.0d6 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.fe1 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.fc9 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.f28) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.0d6) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.d6e) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.436) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.d6e -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.37b -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.3ab +// CHECK:STDOUT: %Self => constants.%I.facet.436 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.ce0 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.037 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.d6e) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.436) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.c93) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.fd8) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.c93 -// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.66e -// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.876 +// CHECK:STDOUT: %Self => constants.%Self.fd8 +// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.37c +// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.acf // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.F(constants.%Self.c93) {} +// CHECK:STDOUT: specific @J.WithSelf.F(constants.%Self.fd8) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.4dc) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.55f) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%J.facet.4dc -// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.0f0 -// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.200 +// CHECK:STDOUT: %Self => constants.%J.facet.55f +// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.fca +// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.021 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.4dc) {} +// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.55f) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.158) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.a37) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%J.facet.158 -// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.72a -// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.5e6 +// CHECK:STDOUT: %Self => constants.%J.facet.a37 +// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.2c3 +// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.0cf // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.158) {} +// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.a37) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.2d3) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.d54) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%J.facet.2d3 -// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.d1d -// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.eba +// CHECK:STDOUT: %Self => constants.%J.facet.d54 +// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.197 +// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.c12 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.2d3) {} +// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.d54) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.e11) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.d89) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%J.facet.e11 -// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.0de -// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.d73 +// CHECK:STDOUT: %Self => constants.%J.facet.d89 +// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.1d3 +// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.e8d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.e11) {} +// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.d89) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.649) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.5ec) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%J.facet.649 -// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.053 -// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.f0d +// CHECK:STDOUT: %Self => constants.%J.facet.5ec +// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.40d +// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.41b // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.649) {} +// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.5ec) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.37d) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.813) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%J.facet.37d -// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.efc -// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.e15 +// CHECK:STDOUT: %Self => constants.%J.facet.813 +// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.08e +// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.737 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.37d) {} +// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.813) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @SelfNested.WithSelf(constants.%Self.f72) { +// CHECK:STDOUT: specific @SelfNested.WithSelf(constants.%Self.d32) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.f72 -// CHECK:STDOUT: %SelfNested.WithSelf.F.type => constants.%SelfNested.WithSelf.F.type.a41 -// CHECK:STDOUT: %SelfNested.WithSelf.F => constants.%SelfNested.WithSelf.F.004 +// CHECK:STDOUT: %Self => constants.%Self.d32 +// CHECK:STDOUT: %SelfNested.WithSelf.F.type => constants.%SelfNested.WithSelf.F.type.9b9 +// CHECK:STDOUT: %SelfNested.WithSelf.F => constants.%SelfNested.WithSelf.F.d66 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SelfNested.WithSelf.F(constants.%Self.f72) { -// CHECK:STDOUT: %Self => constants.%Self.f72 -// CHECK:STDOUT: %Self.as_type.loc211_16.1 => constants.%Self.as_type.b0a -// CHECK:STDOUT: %ptr.loc211_16.1 => constants.%ptr.9b4 -// CHECK:STDOUT: %struct_type.x.y.loc211_37.1 => constants.%struct_type.x.y.1c2 -// CHECK:STDOUT: %tuple => constants.%tuple.f8b -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.73c -// CHECK:STDOUT: %pattern_type.loc211_9 => constants.%pattern_type.695 -// CHECK:STDOUT: %array_type.loc211_57.1 => constants.%array_type.a3c -// CHECK:STDOUT: %.loc211_57.1 => constants.%.21e -// CHECK:STDOUT: %pattern_type.loc211_57 => constants.%pattern_type.f41 +// CHECK:STDOUT: specific @SelfNested.WithSelf.F(constants.%Self.d32) { +// CHECK:STDOUT: %Self => constants.%Self.d32 +// CHECK:STDOUT: %Self.as_type.loc211_16.1 => constants.%Self.as_type.fd2 +// CHECK:STDOUT: %ptr.loc211_16.1 => constants.%ptr.99d +// CHECK:STDOUT: %struct_type.x.y.loc211_37.1 => constants.%struct_type.x.y.462 +// CHECK:STDOUT: %tuple => constants.%tuple.246 +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.cc5 +// CHECK:STDOUT: %pattern_type.loc211_9 => constants.%pattern_type.02e +// CHECK:STDOUT: %array_type.loc211_57.1 => constants.%array_type.a6f +// CHECK:STDOUT: %.loc211_57.1 => constants.%.5ec +// CHECK:STDOUT: %pattern_type.loc211_57 => constants.%pattern_type.996 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SelfNested.WithSelf(constants.%SelfNested.facet.693) { +// CHECK:STDOUT: specific @SelfNested.WithSelf(constants.%SelfNested.facet.428) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%SelfNested.facet.693 -// CHECK:STDOUT: %SelfNested.WithSelf.F.type => constants.%SelfNested.WithSelf.F.type.4d2 -// CHECK:STDOUT: %SelfNested.WithSelf.F => constants.%SelfNested.WithSelf.F.b03 +// CHECK:STDOUT: %Self => constants.%SelfNested.facet.428 +// CHECK:STDOUT: %SelfNested.WithSelf.F.type => constants.%SelfNested.WithSelf.F.type.b06 +// CHECK:STDOUT: %SelfNested.WithSelf.F => constants.%SelfNested.WithSelf.F.7a2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SelfNested.WithSelf.F(constants.%SelfNested.facet.693) { -// CHECK:STDOUT: %Self => constants.%SelfNested.facet.693 +// CHECK:STDOUT: specific @SelfNested.WithSelf.F(constants.%SelfNested.facet.428) { +// CHECK:STDOUT: %Self => constants.%SelfNested.facet.428 // CHECK:STDOUT: %Self.as_type.loc211_16.1 => constants.%SelfNestedBadParam -// CHECK:STDOUT: %ptr.loc211_16.1 => constants.%ptr.bda -// CHECK:STDOUT: %struct_type.x.y.loc211_37.1 => constants.%struct_type.x.y.ed7 -// CHECK:STDOUT: %tuple => constants.%tuple.be1 -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.94e -// CHECK:STDOUT: %pattern_type.loc211_9 => constants.%pattern_type.a38 -// CHECK:STDOUT: %array_type.loc211_57.1 => constants.%array_type.3ee -// CHECK:STDOUT: %.loc211_57.1 => constants.%.de3 -// CHECK:STDOUT: %pattern_type.loc211_57 => constants.%pattern_type.072 +// CHECK:STDOUT: %ptr.loc211_16.1 => constants.%ptr.a16 +// CHECK:STDOUT: %struct_type.x.y.loc211_37.1 => constants.%struct_type.x.y.dda +// CHECK:STDOUT: %tuple => constants.%tuple.f36 +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.d3e +// CHECK:STDOUT: %pattern_type.loc211_9 => constants.%pattern_type.a6b +// CHECK:STDOUT: %array_type.loc211_57.1 => constants.%array_type.cda +// CHECK:STDOUT: %.loc211_57.1 => constants.%.c11 +// CHECK:STDOUT: %pattern_type.loc211_57 => constants.%pattern_type.cd4 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SelfNested.WithSelf(constants.%SelfNested.facet.a9c) { +// CHECK:STDOUT: specific @SelfNested.WithSelf(constants.%SelfNested.facet.490) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%SelfNested.facet.a9c -// CHECK:STDOUT: %SelfNested.WithSelf.F.type => constants.%SelfNested.WithSelf.F.type.7c7 -// CHECK:STDOUT: %SelfNested.WithSelf.F => constants.%SelfNested.WithSelf.F.5d2 +// CHECK:STDOUT: %Self => constants.%SelfNested.facet.490 +// CHECK:STDOUT: %SelfNested.WithSelf.F.type => constants.%SelfNested.WithSelf.F.type.24b +// CHECK:STDOUT: %SelfNested.WithSelf.F => constants.%SelfNested.WithSelf.F.bb5 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SelfNested.WithSelf.F(constants.%SelfNested.facet.a9c) { -// CHECK:STDOUT: %Self => constants.%SelfNested.facet.a9c +// CHECK:STDOUT: specific @SelfNested.WithSelf.F(constants.%SelfNested.facet.490) { +// CHECK:STDOUT: %Self => constants.%SelfNested.facet.490 // CHECK:STDOUT: %Self.as_type.loc211_16.1 => constants.%SelfNestedBadReturnType -// CHECK:STDOUT: %ptr.loc211_16.1 => constants.%ptr.538 -// CHECK:STDOUT: %struct_type.x.y.loc211_37.1 => constants.%struct_type.x.y.e7e -// CHECK:STDOUT: %tuple => constants.%tuple.a5a -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.4db -// CHECK:STDOUT: %pattern_type.loc211_9 => constants.%pattern_type.5f7 -// CHECK:STDOUT: %array_type.loc211_57.1 => constants.%array_type.db9 -// CHECK:STDOUT: %.loc211_57.1 => constants.%.0a9 -// CHECK:STDOUT: %pattern_type.loc211_57 => constants.%pattern_type.083 +// CHECK:STDOUT: %ptr.loc211_16.1 => constants.%ptr.fb5 +// CHECK:STDOUT: %struct_type.x.y.loc211_37.1 => constants.%struct_type.x.y.6eb +// CHECK:STDOUT: %tuple => constants.%tuple.309 +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.b5c +// CHECK:STDOUT: %pattern_type.loc211_9 => constants.%pattern_type.4a8 +// CHECK:STDOUT: %array_type.loc211_57.1 => constants.%array_type.e52 +// CHECK:STDOUT: %.loc211_57.1 => constants.%.b1f +// CHECK:STDOUT: %pattern_type.loc211_57 => constants.%pattern_type.db0 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/fail_impl_bad_interface.carbon b/toolchain/check/testdata/impl/fail_impl_bad_interface.carbon index bb0f740fa14b..54523887f004 100644 --- a/toolchain/check/testdata/impl/fail_impl_bad_interface.carbon +++ b/toolchain/check/testdata/impl/fail_impl_bad_interface.carbon @@ -65,8 +65,8 @@ impl {.a: bool} as type where .Self impls I {} // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %false: bool = bool_literal false [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -77,7 +77,7 @@ impl {.a: bool} as type where .Self impls I {} // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { diff --git a/toolchain/check/testdata/impl/fail_impl_bad_type.carbon b/toolchain/check/testdata/impl/fail_impl_bad_type.carbon index 78d92118565e..31a35ba2def3 100644 --- a/toolchain/check/testdata/impl/fail_impl_bad_type.carbon +++ b/toolchain/check/testdata/impl/fail_impl_bad_type.carbon @@ -27,10 +27,10 @@ impl true as I {} // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.cd6: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -39,7 +39,7 @@ impl true as I {} // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -57,7 +57,7 @@ impl true as I {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.cd6] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -73,5 +73,5 @@ impl true as I {} // CHECK:STDOUT: witness = // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.cd6) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) {} // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/fail_redefinition.carbon b/toolchain/check/testdata/impl/fail_redefinition.carbon index 342425f81cc4..b11e3beafe42 100644 --- a/toolchain/check/testdata/impl/fail_redefinition.carbon +++ b/toolchain/check/testdata/impl/fail_redefinition.carbon @@ -34,7 +34,7 @@ impl i32 as I {} // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness @i32.as.I.impl.3a381f.1.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.impl_witness: = impl_witness @i32.as.I.impl.eb29e8.1.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %i32, (%I.impl_witness) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -54,11 +54,11 @@ impl i32 as I {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %I.decl: type = interface_decl @I [concrete = constants.%I.type] {} {} -// CHECK:STDOUT: impl_decl @i32.as.I.impl.3a381f.1 [concrete] {} { +// CHECK:STDOUT: impl_decl @i32.as.I.impl.eb29e8.1 [concrete] {} { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @i32.as.I.impl.3a381f.2 [concrete] {} { +// CHECK:STDOUT: impl_decl @i32.as.I.impl.eb29e8.2 [concrete] {} { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: } @@ -75,8 +75,8 @@ impl i32 as I {} // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @i32.as.I.impl.3a381f.1: %i32 as %I.ref { -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @i32.as.I.impl.3a381f.1 [concrete] +// CHECK:STDOUT: impl @i32.as.I.impl.eb29e8.1: %i32 as %I.ref { +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @i32.as.I.impl.eb29e8.1 [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -84,7 +84,7 @@ impl i32 as I {} // CHECK:STDOUT: witness = %I.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @i32.as.I.impl.3a381f.2: %i32 as %I.ref { +// CHECK:STDOUT: impl @i32.as.I.impl.eb29e8.2: %i32 as %I.ref { // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %I.ref // CHECK:STDOUT: witness = diff --git a/toolchain/check/testdata/impl/fail_self_type_mismatch.carbon b/toolchain/check/testdata/impl/fail_self_type_mismatch.carbon index a87b18c4099d..620cdbeecd23 100644 --- a/toolchain/check/testdata/impl/fail_self_type_mismatch.carbon +++ b/toolchain/check/testdata/impl/fail_self_type_mismatch.carbon @@ -55,46 +55,46 @@ impl i32 as I { // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.71b: type = class_type @C, @C(%T, %X) [symbolic] +// CHECK:STDOUT: %C.80a: type = class_type @C, @C(%T, %X) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.cd6: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %pattern_type.b21: type = pattern_type %I.type [concrete] -// CHECK:STDOUT: %C.35c: type = class_type @C, @C(%I.type, %Self.cd6) [symbolic] -// CHECK:STDOUT: %pattern_type.f36: type = pattern_type %C.35c [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.831: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.cd6) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.ddf: %I.WithSelf.F.type.831 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.998: type = pattern_type %I.type [concrete] +// CHECK:STDOUT: %C.1b7: type = class_type @C, @C(%I.type, %Self.179) [symbolic] +// CHECK:STDOUT: %pattern_type.48a: type = pattern_type %C.1b7 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.d9f: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.179) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.592: %I.WithSelf.F.type.d9f = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.918: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.8fc: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: %Bool.type: type = fn_type @Bool [concrete] // CHECK:STDOUT: %Bool: %Bool.type = struct_value () [concrete] -// CHECK:STDOUT: %I.impl_witness.a58: = impl_witness @bool.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %I.facet.b93: %I.type = facet_value bool, (%I.impl_witness.a58) [concrete] -// CHECK:STDOUT: %C.ed5: type = class_type @C, @C(%I.type, %I.facet.b93) [concrete] -// CHECK:STDOUT: %pattern_type.cf8: type = pattern_type %C.ed5 [concrete] +// CHECK:STDOUT: %I.impl_witness.08d: = impl_witness @bool.as.I.impl.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.facet.0a8: %I.type = facet_value bool, (%I.impl_witness.08d) [concrete] +// CHECK:STDOUT: %C.56f: type = class_type @C, @C(%I.type, %I.facet.0a8) [concrete] +// CHECK:STDOUT: %pattern_type.7f1: type = pattern_type %C.56f [concrete] // CHECK:STDOUT: %bool.as.I.impl.F.type: type = fn_type @bool.as.I.impl.F [concrete] // CHECK:STDOUT: %bool.as.I.impl.F: %bool.as.I.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.b91: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.b93) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.553: %I.WithSelf.F.type.b91 = struct_value () [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.981: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.0a8) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.ef4: %I.WithSelf.F.type.981 = struct_value () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %I.impl_witness.de6: = impl_witness @i32.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %C.109: type = class_type @C, @C(type, %i32) [concrete] -// CHECK:STDOUT: %pattern_type.c16: type = pattern_type %C.109 [concrete] -// CHECK:STDOUT: %i32.as.I.impl.F.type.2b4adf.1: type = fn_type @i32.as.I.impl.F.loc43_18.1 [concrete] -// CHECK:STDOUT: %i32.as.I.impl.F.dc063f.1: %i32.as.I.impl.F.type.2b4adf.1 = struct_value () [concrete] -// CHECK:STDOUT: %I.facet.042: %I.type = facet_value %i32, (%I.impl_witness.de6) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.336: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.042) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.5a7: %I.WithSelf.F.type.336 = struct_value () [concrete] -// CHECK:STDOUT: %C.3de: type = class_type @C, @C(%I.type, %I.facet.042) [concrete] -// CHECK:STDOUT: %pattern_type.474: type = pattern_type %C.3de [concrete] -// CHECK:STDOUT: %i32.as.I.impl.F.type.2b4adf.2: type = fn_type @i32.as.I.impl.F.loc43_18.2 [concrete] -// CHECK:STDOUT: %i32.as.I.impl.F.dc063f.2: %i32.as.I.impl.F.type.2b4adf.2 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %I.impl_witness.4c4: = impl_witness @i32.as.I.impl.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %C.5a5: type = class_type @C, @C(type, %i32) [concrete] +// CHECK:STDOUT: %pattern_type.b2c: type = pattern_type %C.5a5 [concrete] +// CHECK:STDOUT: %i32.as.I.impl.F.type.9e994f.1: type = fn_type @i32.as.I.impl.F.loc43_18.1 [concrete] +// CHECK:STDOUT: %i32.as.I.impl.F.c7843c.1: %i32.as.I.impl.F.type.9e994f.1 = struct_value () [concrete] +// CHECK:STDOUT: %I.facet.8fb: %I.type = facet_value %i32, (%I.impl_witness.4c4) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.d9d: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.8fb) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.b03: %I.WithSelf.F.type.d9d = struct_value () [concrete] +// CHECK:STDOUT: %C.f96: type = class_type @C, @C(%I.type, %I.facet.8fb) [concrete] +// CHECK:STDOUT: %pattern_type.560: type = pattern_type %C.f96 [concrete] +// CHECK:STDOUT: %i32.as.I.impl.F.type.9e994f.2: type = fn_type @i32.as.I.impl.F.loc43_18.2 [concrete] +// CHECK:STDOUT: %i32.as.I.impl.F.c7843c.2: %i32.as.I.impl.F.type.9e994f.2 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -107,7 +107,7 @@ impl i32 as I { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/parts/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -144,23 +144,23 @@ impl i32 as I { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.cd6] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.831) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.ddf)] { -// CHECK:STDOUT: %c.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.f36) = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: @I.WithSelf.F.%pattern_type (%pattern_type.f36) = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.d9f) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.592)] { +// CHECK:STDOUT: %c.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.48a) = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: @I.WithSelf.F.%pattern_type (%pattern_type.48a) = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %c.param: @I.WithSelf.F.%C.loc25_17.1 (%C.35c) = value_param call_param0 -// CHECK:STDOUT: %.loc25: type = splice_block %C.loc25_17.2 [symbolic = %C.loc25_17.1 (constants.%C.35c)] { +// CHECK:STDOUT: %c.param: @I.WithSelf.F.%C.loc25_17.1 (%C.1b7) = value_param call_param0 +// CHECK:STDOUT: %.loc25: type = splice_block %C.loc25_17.2 [symbolic = %C.loc25_17.1 (constants.%C.1b7)] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] -// CHECK:STDOUT: %Self.ref: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.cd6)] -// CHECK:STDOUT: %C.loc25_17.2: type = class_type @C, @C(constants.%I.type, constants.%Self.cd6) [symbolic = %C.loc25_17.1 (constants.%C.35c)] +// CHECK:STDOUT: %Self.ref: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.179)] +// CHECK:STDOUT: %C.loc25_17.2: type = class_type @C, @C(constants.%I.type, constants.%Self.179) [symbolic = %C.loc25_17.1 (constants.%C.1b7)] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: @I.WithSelf.F.%C.loc25_17.1 (%C.35c) = value_binding c, %c.param +// CHECK:STDOUT: %c: @I.WithSelf.F.%C.loc25_17.1 (%C.1b7) = value_binding c, %c.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0.918] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0.8fc] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -175,22 +175,22 @@ impl i32 as I { // CHECK:STDOUT: // CHECK:STDOUT: impl @bool.as.I.impl: %.loc28 as %I.ref { // CHECK:STDOUT: %bool.as.I.impl.F.decl: %bool.as.I.impl.F.type = fn_decl @bool.as.I.impl.F [concrete = constants.%bool.as.I.impl.F] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.cf8 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.cf8 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.7f1 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.7f1 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %c.param: %C.ed5 = value_param call_param0 -// CHECK:STDOUT: %.loc32_22: type = splice_block %C [concrete = constants.%C.ed5] { +// CHECK:STDOUT: %c.param: %C.56f = value_param call_param0 +// CHECK:STDOUT: %.loc32_22: type = splice_block %C [concrete = constants.%C.56f] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %.loc32_13: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %I.facet: %I.type = facet_value %.loc32_13, (constants.%I.impl_witness.a58) [concrete = constants.%I.facet.b93] -// CHECK:STDOUT: %.loc32_18: %I.type = converted %.loc32_13, %I.facet [concrete = constants.%I.facet.b93] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%I.type, constants.%I.facet.b93) [concrete = constants.%C.ed5] +// CHECK:STDOUT: %I.facet: %I.type = facet_value %.loc32_13, (constants.%I.impl_witness.08d) [concrete = constants.%I.facet.0a8] +// CHECK:STDOUT: %.loc32_18: %I.type = converted %.loc32_13, %I.facet [concrete = constants.%I.facet.0a8] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%I.type, constants.%I.facet.0a8) [concrete = constants.%C.56f] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %C.ed5 = value_binding c, %c.param +// CHECK:STDOUT: %c: %C.56f = value_binding c, %c.param // CHECK:STDOUT: } // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%bool.as.I.impl.F.decl), @bool.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.a58] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.08d] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .C = @@ -201,27 +201,27 @@ impl i32 as I { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @i32.as.I.impl: %i32 as %I.ref { -// CHECK:STDOUT: %i32.as.I.impl.F.decl.loc43_18.1: %i32.as.I.impl.F.type.2b4adf.1 = fn_decl @i32.as.I.impl.F.loc43_18.1 [concrete = constants.%i32.as.I.impl.F.dc063f.1] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.c16 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.c16 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %i32.as.I.impl.F.decl.loc43_18.1: %i32.as.I.impl.F.type.9e994f.1 = fn_decl @i32.as.I.impl.F.loc43_18.1 [concrete = constants.%i32.as.I.impl.F.c7843c.1] { +// CHECK:STDOUT: %c.param_patt: %pattern_type.b2c = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.b2c = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %c.param: %C.109 = value_param call_param0 -// CHECK:STDOUT: %.loc43: type = splice_block %C [concrete = constants.%C.109] { +// CHECK:STDOUT: %c.param: %C.5a5 = value_param call_param0 +// CHECK:STDOUT: %.loc43: type = splice_block %C [concrete = constants.%C.5a5] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %C: type = class_type @C, @C(type, constants.%i32) [concrete = constants.%C.109] +// CHECK:STDOUT: %C: type = class_type @C, @C(type, constants.%i32) [concrete = constants.%C.5a5] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %C.109 = value_binding c, %c.param +// CHECK:STDOUT: %c: %C.5a5 = value_binding c, %c.param // CHECK:STDOUT: } -// CHECK:STDOUT: %i32.as.I.impl.F.decl.loc43_18.2: %i32.as.I.impl.F.type.2b4adf.2 = fn_decl @i32.as.I.impl.F.loc43_18.2 [concrete = constants.%i32.as.I.impl.F.dc063f.2] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.474 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.474 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %i32.as.I.impl.F.decl.loc43_18.2: %i32.as.I.impl.F.type.9e994f.2 = fn_decl @i32.as.I.impl.F.loc43_18.2 [concrete = constants.%i32.as.I.impl.F.c7843c.2] { +// CHECK:STDOUT: %c.param_patt: %pattern_type.560 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.560 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %c.param: %C.3de = value_param call_param0 -// CHECK:STDOUT: %c: %C.3de = value_binding c, %c.param +// CHECK:STDOUT: %c.param: %C.f96 = value_param call_param0 +// CHECK:STDOUT: %c: %C.f96 = value_binding c, %c.param // CHECK:STDOUT: } // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%i32.as.I.impl.F.decl.loc43_18.2), @i32.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.de6] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.4c4] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .C = @@ -242,26 +242,26 @@ impl i32 as I { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.71b +// CHECK:STDOUT: .Self = constants.%C.80a // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.cd6)] -// CHECK:STDOUT: %C.loc25_17.1: type = class_type @C, @C(constants.%I.type, %Self) [symbolic = %C.loc25_17.1 (constants.%C.35c)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %C.loc25_17.1 [symbolic = %pattern_type (constants.%pattern_type.f36)] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.179)] +// CHECK:STDOUT: %C.loc25_17.1: type = class_type @C, @C(constants.%I.type, %Self) [symbolic = %C.loc25_17.1 (constants.%C.1b7)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %C.loc25_17.1 [symbolic = %pattern_type (constants.%pattern_type.48a)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%c.param: @I.WithSelf.F.%C.loc25_17.1 (%C.35c)); +// CHECK:STDOUT: fn(%c.param: @I.WithSelf.F.%C.loc25_17.1 (%C.1b7)); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @bool.as.I.impl.F(%c.param: %C.ed5); +// CHECK:STDOUT: fn @bool.as.I.impl.F(%c.param: %C.56f); // CHECK:STDOUT: -// CHECK:STDOUT: fn @i32.as.I.impl.F.loc43_18.1(%c.param: %C.109); +// CHECK:STDOUT: fn @i32.as.I.impl.F.loc43_18.1(%c.param: %C.5a5); // CHECK:STDOUT: -// CHECK:STDOUT: fn @i32.as.I.impl.F.loc43_18.2(%c.param: %C.3de) [thunk @i32.as.I.impl.%i32.as.I.impl.F.decl.loc43_18.1 for @I.WithSelf.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%I.facet.042)] { +// CHECK:STDOUT: fn @i32.as.I.impl.F.loc43_18.2(%c.param: %C.f96) [thunk @i32.as.I.impl.%i32.as.I.impl.F.decl.loc43_18.1 for @I.WithSelf.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%I.facet.8fb)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %i32.as.I.impl.F.type.2b4adf.1 = name_ref F, @i32.as.I.impl.%i32.as.I.impl.F.decl.loc43_18.1 [concrete = constants.%i32.as.I.impl.F.dc063f.1] -// CHECK:STDOUT: %.loc25: %C.109 = converted %c.param, [concrete = ] +// CHECK:STDOUT: %F.ref: %i32.as.I.impl.F.type.9e994f.1 = name_ref F, @i32.as.I.impl.%i32.as.I.impl.F.decl.loc43_18.1 [concrete = constants.%i32.as.I.impl.F.c7843c.1] +// CHECK:STDOUT: %.loc25: %C.5a5 = converted %c.param, [concrete = ] // CHECK:STDOUT: %i32.as.I.impl.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -272,42 +272,42 @@ impl i32 as I { // CHECK:STDOUT: %pattern_type => constants.%pattern_type.51d1c4.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.cd6) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.cd6 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.831 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.ddf +// CHECK:STDOUT: %Self => constants.%Self.179 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d9f +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.592 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%I.type, constants.%Self.cd6) { +// CHECK:STDOUT: specific @C(constants.%I.type, constants.%Self.179) { // CHECK:STDOUT: %T.loc15_10.1 => constants.%I.type -// CHECK:STDOUT: %X.loc15_20.1 => constants.%Self.cd6 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.b21 +// CHECK:STDOUT: %X.loc15_20.1 => constants.%Self.179 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.998 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.cd6) { -// CHECK:STDOUT: %Self => constants.%Self.cd6 -// CHECK:STDOUT: %C.loc25_17.1 => constants.%C.35c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f36 +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.179) { +// CHECK:STDOUT: %Self => constants.%Self.179 +// CHECK:STDOUT: %C.loc25_17.1 => constants.%C.1b7 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.48a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%I.type, constants.%I.facet.b93) { +// CHECK:STDOUT: specific @C(constants.%I.type, constants.%I.facet.0a8) { // CHECK:STDOUT: %T.loc15_10.1 => constants.%I.type -// CHECK:STDOUT: %X.loc15_20.1 => constants.%I.facet.b93 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.b21 +// CHECK:STDOUT: %X.loc15_20.1 => constants.%I.facet.0a8 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.998 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.b93) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.0a8) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.b93 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.b91 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.553 +// CHECK:STDOUT: %Self => constants.%I.facet.0a8 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.981 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.ef4 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.b93) { -// CHECK:STDOUT: %Self => constants.%I.facet.b93 -// CHECK:STDOUT: %C.loc25_17.1 => constants.%C.ed5 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.cf8 +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.0a8) { +// CHECK:STDOUT: %Self => constants.%I.facet.0a8 +// CHECK:STDOUT: %C.loc25_17.1 => constants.%C.56f +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.7f1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(type, constants.%i32) { @@ -318,23 +318,23 @@ impl i32 as I { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.042) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.8fb) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.042 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.336 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.5a7 +// CHECK:STDOUT: %Self => constants.%I.facet.8fb +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d9d +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.b03 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.042) { -// CHECK:STDOUT: %Self => constants.%I.facet.042 -// CHECK:STDOUT: %C.loc25_17.1 => constants.%C.3de -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.474 +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.8fb) { +// CHECK:STDOUT: %Self => constants.%I.facet.8fb +// CHECK:STDOUT: %C.loc25_17.1 => constants.%C.f96 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.560 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%I.type, constants.%I.facet.042) { +// CHECK:STDOUT: specific @C(constants.%I.type, constants.%I.facet.8fb) { // CHECK:STDOUT: %T.loc15_10.1 => constants.%I.type -// CHECK:STDOUT: %X.loc15_20.1 => constants.%I.facet.042 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.b21 +// CHECK:STDOUT: %X.loc15_20.1 => constants.%I.facet.8fb +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.998 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/impl/forward_decls.carbon b/toolchain/check/testdata/impl/forward_decls.carbon index 81f0d0d75215..5aba1dbb5f21 100644 --- a/toolchain/check/testdata/impl/forward_decls.carbon +++ b/toolchain/check/testdata/impl/forward_decls.carbon @@ -304,15 +304,15 @@ impl C as Y {} // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @empty_struct_type.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.G.type.a45: type = fn_type @I.WithSelf.G, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.G.4d2: %I.WithSelf.G.type.a45 = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.G.type.cf7: type = fn_type @I.WithSelf.G, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.G.788: %I.WithSelf.G.type.cf7 = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.G.decl [concrete] // CHECK:STDOUT: %empty_struct_type.as.I.impl.G.type: type = fn_type @empty_struct_type.as.I.impl.G [concrete] // CHECK:STDOUT: %empty_struct_type.as.I.impl.G: %empty_struct_type.as.I.impl.G.type = struct_value () [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %empty_struct_type, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.G.type.0f5: type = fn_type @I.WithSelf.G, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.G.e03: %I.WithSelf.G.type.0f5 = struct_value () [concrete] +// CHECK:STDOUT: %I.WithSelf.G.type.eac: type = fn_type @I.WithSelf.G, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.G.e5d: %I.WithSelf.G.type.eac = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -347,7 +347,7 @@ impl C as Y {} // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.G.decl: @I.WithSelf.%I.WithSelf.G.type (%I.WithSelf.G.type.a45) = fn_decl @I.WithSelf.G [symbolic = @I.WithSelf.%I.WithSelf.G (constants.%I.WithSelf.G.4d2)] {} {} +// CHECK:STDOUT: %I.WithSelf.G.decl: @I.WithSelf.%I.WithSelf.G.type (%I.WithSelf.G.type.cf7) = fn_decl @I.WithSelf.G [symbolic = @I.WithSelf.%I.WithSelf.G (constants.%I.WithSelf.G.788)] {} {} // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.G.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -381,8 +381,8 @@ impl C as Y {} // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.WithSelf.G.type => constants.%I.WithSelf.G.type.a45 -// CHECK:STDOUT: %I.WithSelf.G => constants.%I.WithSelf.G.4d2 +// CHECK:STDOUT: %I.WithSelf.G.type => constants.%I.WithSelf.G.type.cf7 +// CHECK:STDOUT: %I.WithSelf.G => constants.%I.WithSelf.G.788 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.G(constants.%Self) {} @@ -390,8 +390,8 @@ impl C as Y {} // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.G.type => constants.%I.WithSelf.G.type.0f5 -// CHECK:STDOUT: %I.WithSelf.G => constants.%I.WithSelf.G.e03 +// CHECK:STDOUT: %I.WithSelf.G.type => constants.%I.WithSelf.G.type.eac +// CHECK:STDOUT: %I.WithSelf.G => constants.%I.WithSelf.G.e5d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.G(constants.%I.facet) {} @@ -402,18 +402,18 @@ impl C as Y {} // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %I.type, %type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @empty_struct_type.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.af9: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %I.facet: %I.type = facet_value %empty_struct_type, (%I.impl_witness) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -423,9 +423,9 @@ impl C as Y {} // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -442,7 +442,7 @@ impl C as Y {} // CHECK:STDOUT: %.loc4_7.2: type = converted %.loc4_7.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %I.ref.loc4_12: type = name_ref I, file.%I.decl.loc3 [concrete = constants.%I.type] // CHECK:STDOUT: %I.ref.loc4_16: type = name_ref I, file.%I.decl.loc3 [concrete = constants.%I.type] -// CHECK:STDOUT: %impl.elem0.loc4: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc4: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc4: = bound_method %I.ref.loc4_12, %impl.elem0.loc4 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc4: init type = call %bound_method.loc4(%I.ref.loc4_12, %I.ref.loc4_16) [concrete = constants.%I.type] // CHECK:STDOUT: } @@ -454,14 +454,14 @@ impl C as Y {} // CHECK:STDOUT: %.loc7_7.2: type = converted %.loc7_7.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %I.ref.loc7_12: type = name_ref I, file.%I.decl.loc3 [concrete = constants.%I.type] // CHECK:STDOUT: %I.ref.loc7_16: type = name_ref I, file.%I.decl.loc3 [concrete = constants.%I.type] -// CHECK:STDOUT: %impl.elem0.loc7: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc7: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc7: = bound_method %I.ref.loc7_12, %impl.elem0.loc7 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc7: init type = call %bound_method.loc7(%I.ref.loc7_12, %I.ref.loc7_16) [concrete = constants.%I.type] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.af9] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -480,7 +480,7 @@ impl C as Y {} // CHECK:STDOUT: witness = %I.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.af9) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1096,27 +1096,27 @@ impl C as Y {} // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %I.type.786: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.786 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.cf7: type = facet_type <@I, @I(%U)> [symbolic] -// CHECK:STDOUT: %Self.450: %I.type.cf7 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.assoc_type.1d6: type = assoc_entity_type @I, @I(%U) [symbolic] -// CHECK:STDOUT: %assoc0.8a0: %I.assoc_type.1d6 = assoc_entity element0, @I.WithSelf.%T [symbolic] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%U)> [symbolic] +// CHECK:STDOUT: %Self.626: %I.type.50f = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.assoc_type.bd7: type = assoc_entity_type @I, @I(%U) [symbolic] +// CHECK:STDOUT: %assoc0.832: %I.assoc_type.bd7 = assoc_entity element0, @I.WithSelf.%T [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %I.type.f01: type = facet_type <@I, @I(%C)> [concrete] -// CHECK:STDOUT: %.Self.c85: %I.type.f01 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %Self.504: %I.type.f01 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.assoc_type.504: type = assoc_entity_type @I, @I(%C) [concrete] -// CHECK:STDOUT: %assoc0.61b: %I.assoc_type.504 = assoc_entity element0, @I.WithSelf.%T [concrete] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.c85 [symbolic_self] -// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self.c85, @I, @I(%C) [symbolic_self] +// CHECK:STDOUT: %I.type.37e: type = facet_type <@I, @I(%C)> [concrete] +// CHECK:STDOUT: %.Self.d20: %I.type.37e = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Self.f35: %I.type.37e = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.assoc_type.69b: type = assoc_entity_type @I, @I(%C) [concrete] +// CHECK:STDOUT: %assoc0.cf2: %I.assoc_type.69b = assoc_entity element0, @I.WithSelf.%T [concrete] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.d20 [symbolic_self] +// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self.d20, @I, @I(%C) [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %I_where.type: type = facet_type <@I, @I(%C) where %impl.elem0 = %C> [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @D.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %I.facet: %I.type.f01 = facet_value %D, (%I.impl_witness) [concrete] +// CHECK:STDOUT: %I.facet: %I.type.37e = facet_value %D, (%I.impl_witness) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1134,7 +1134,7 @@ impl C as Y {} // CHECK:STDOUT: .D = %D.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %I.decl: %I.type.786 = interface_decl @I [concrete = constants.%I.generic] { +// CHECK:STDOUT: %I.decl: %I.type.48c = interface_decl @I [concrete = constants.%I.generic] { // CHECK:STDOUT: %U.patt: %pattern_type = symbolic_binding_pattern U, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc3_17.1: type = splice_block %.loc3_17.2 [concrete = type] { @@ -1147,15 +1147,15 @@ impl C as Y {} // CHECK:STDOUT: %D.decl: type = class_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: impl_decl @D.as.I.impl [concrete] {} { // CHECK:STDOUT: %D.ref.loc8: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %I.ref.loc8: %I.type.786 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref.loc8: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %C.ref.loc8_13: type = name_ref C, file.%C.decl.loc6 [concrete = constants.%C] -// CHECK:STDOUT: %I.type.loc8: type = facet_type <@I, @I(constants.%C)> [concrete = constants.%I.type.f01] -// CHECK:STDOUT: %.Self.loc8: %I.type.f01 = symbolic_binding .Self [symbolic_self = constants.%.Self.c85] -// CHECK:STDOUT: %.Self.ref.loc8: %I.type.f01 = name_ref .Self, %.Self.loc8 [symbolic_self = constants.%.Self.c85] +// CHECK:STDOUT: %I.type.loc8: type = facet_type <@I, @I(constants.%C)> [concrete = constants.%I.type.37e] +// CHECK:STDOUT: %.Self.loc8: %I.type.37e = symbolic_binding .Self [symbolic_self = constants.%.Self.d20] +// CHECK:STDOUT: %.Self.ref.loc8: %I.type.37e = name_ref .Self, %.Self.loc8 [symbolic_self = constants.%.Self.d20] // CHECK:STDOUT: %.Self.as_type.loc8: type = facet_access_type %.Self.ref.loc8 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc8_22.1: type = converted %.Self.ref.loc8, %.Self.as_type.loc8 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %.loc8_22.2: %I.assoc_type.504 = specific_constant @T.%assoc0, @I.WithSelf(constants.%C, constants.%.Self.c85) [concrete = constants.%assoc0.61b] -// CHECK:STDOUT: %T.ref.loc8: %I.assoc_type.504 = name_ref T, %.loc8_22.2 [concrete = constants.%assoc0.61b] +// CHECK:STDOUT: %.loc8_22.2: %I.assoc_type.69b = specific_constant @T.%assoc0, @I.WithSelf(constants.%C, constants.%.Self.d20) [concrete = constants.%assoc0.cf2] +// CHECK:STDOUT: %T.ref.loc8: %I.assoc_type.69b = name_ref T, %.loc8_22.2 [concrete = constants.%assoc0.cf2] // CHECK:STDOUT: %impl.elem0.loc8: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %C.ref.loc8_27: type = name_ref C, file.%C.decl.loc6 [concrete = constants.%C] // CHECK:STDOUT: %.loc8_16: type = where_expr [concrete = constants.%I_where.type] { @@ -1166,15 +1166,15 @@ impl C as Y {} // CHECK:STDOUT: %C.decl.loc10: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: impl_decl @D.as.I.impl [concrete] {} { // CHECK:STDOUT: %D.ref.loc11: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %I.ref.loc11: %I.type.786 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref.loc11: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %C.ref.loc11_13: type = name_ref C, file.%C.decl.loc6 [concrete = constants.%C] -// CHECK:STDOUT: %I.type.loc11: type = facet_type <@I, @I(constants.%C)> [concrete = constants.%I.type.f01] -// CHECK:STDOUT: %.Self.loc11: %I.type.f01 = symbolic_binding .Self [symbolic_self = constants.%.Self.c85] -// CHECK:STDOUT: %.Self.ref.loc11: %I.type.f01 = name_ref .Self, %.Self.loc11 [symbolic_self = constants.%.Self.c85] +// CHECK:STDOUT: %I.type.loc11: type = facet_type <@I, @I(constants.%C)> [concrete = constants.%I.type.37e] +// CHECK:STDOUT: %.Self.loc11: %I.type.37e = symbolic_binding .Self [symbolic_self = constants.%.Self.d20] +// CHECK:STDOUT: %.Self.ref.loc11: %I.type.37e = name_ref .Self, %.Self.loc11 [symbolic_self = constants.%.Self.d20] // CHECK:STDOUT: %.Self.as_type.loc11: type = facet_access_type %.Self.ref.loc11 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc11_22.1: type = converted %.Self.ref.loc11, %.Self.as_type.loc11 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %.loc11_22.2: %I.assoc_type.504 = specific_constant @T.%assoc0, @I.WithSelf(constants.%C, constants.%.Self.c85) [concrete = constants.%assoc0.61b] -// CHECK:STDOUT: %T.ref.loc11: %I.assoc_type.504 = name_ref T, %.loc11_22.2 [concrete = constants.%assoc0.61b] +// CHECK:STDOUT: %.loc11_22.2: %I.assoc_type.69b = specific_constant @T.%assoc0, @I.WithSelf(constants.%C, constants.%.Self.d20) [concrete = constants.%assoc0.cf2] +// CHECK:STDOUT: %T.ref.loc11: %I.assoc_type.69b = name_ref T, %.loc11_22.2 [concrete = constants.%assoc0.cf2] // CHECK:STDOUT: %impl.elem0.loc11: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %C.ref.loc11_27: type = name_ref C, file.%C.decl.loc6 [concrete = constants.%C] // CHECK:STDOUT: %.loc11_16: type = where_expr [concrete = constants.%I_where.type] { @@ -1188,16 +1188,16 @@ impl C as Y {} // CHECK:STDOUT: %U.loc3_14.1: type = symbolic_binding U, 0 [symbolic = %U.loc3_14.1 (constants.%U)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%U.loc3_14.1)> [symbolic = %I.type (constants.%I.type.cf7)] -// CHECK:STDOUT: %Self.loc3_23.2: @I.%I.type (%I.type.cf7) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.450)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%U.loc3_14.1)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self.loc3_23.2: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.626)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc3_23.1: @I.%I.type (%I.type.cf7) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.450)] +// CHECK:STDOUT: %Self.loc3_23.1: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.626)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] { -// CHECK:STDOUT: %assoc0: @I.WithSelf.%I.assoc_type (%I.assoc_type.1d6) = assoc_entity element0, @I.WithSelf.%T [symbolic = @I.WithSelf.%assoc0 (constants.%assoc0.8a0)] +// CHECK:STDOUT: %assoc0: @I.WithSelf.%I.assoc_type (%I.assoc_type.bd7) = assoc_entity element0, @I.WithSelf.%T [symbolic = @I.WithSelf.%assoc0 (constants.%assoc0.832)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1239,35 +1239,35 @@ impl C as Y {} // CHECK:STDOUT: %U.loc3_14.1 => constants.%U // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%U, constants.%Self.450) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%U, constants.%Self.626) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%C) { // CHECK:STDOUT: %U.loc3_14.1 => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.f01 -// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.504 +// CHECK:STDOUT: %I.type => constants.%I.type.37e +// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.f35 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%C, constants.%Self.450) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%C, constants.%Self.626) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %U => constants.%C -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.504 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.61b +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.69b +// CHECK:STDOUT: %assoc0 => constants.%assoc0.cf2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%C, constants.%.Self.c85) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%C, constants.%.Self.d20) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %U => constants.%C -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.504 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.61b +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.69b +// CHECK:STDOUT: %assoc0 => constants.%assoc0.cf2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%C, constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %U => constants.%C -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.504 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.61b +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.69b +// CHECK:STDOUT: %assoc0 => constants.%assoc0.cf2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- find_incomplete_impl.carbon @@ -1280,14 +1280,14 @@ impl C as Y {} // CHECK:STDOUT: %I.impl_witness: = impl_witness @D.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.128: type = pattern_type %I.type [concrete] +// CHECK:STDOUT: %pattern_type.998: type = pattern_type %I.type [concrete] // CHECK:STDOUT: %T: %I.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.d9b: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.c65: type = class_type @C, @C(%T) [symbolic] // CHECK:STDOUT: %I.facet: %I.type = facet_value %D, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %C.5a4: type = class_type @C, @C(%I.facet) [concrete] -// CHECK:STDOUT: %pattern_type.b50: type = pattern_type %C.5a4 [concrete] +// CHECK:STDOUT: %C.484: type = class_type @C, @C(%I.facet) [concrete] +// CHECK:STDOUT: %pattern_type.e0f: type = pattern_type %C.484 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] @@ -1316,7 +1316,7 @@ impl C as Y {} // CHECK:STDOUT: %I.ref.loc5: type = name_ref I, file.%I.decl.loc3 [concrete = constants.%I.type] // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl.loc6: %C.type = class_decl @C [concrete = constants.%C.generic] { -// CHECK:STDOUT: %T.patt: %pattern_type.128 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.998 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6: type = splice_block %I.ref.loc6 [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self.loc6: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1325,18 +1325,18 @@ impl C as Y {} // CHECK:STDOUT: %T.loc6_10.2: %I.type = symbolic_binding T, 0 [symbolic = %T.loc6_10.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl.loc8: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.b50 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.b50 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.e0f = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.e0f = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param.loc8: %C.5a4 = value_param call_param0 -// CHECK:STDOUT: %.loc8_12.1: type = splice_block %C.loc8 [concrete = constants.%C.5a4] { +// CHECK:STDOUT: %x.param.loc8: %C.484 = value_param call_param0 +// CHECK:STDOUT: %.loc8_12.1: type = splice_block %C.loc8 [concrete = constants.%C.484] { // CHECK:STDOUT: %C.ref.loc8: %C.type = name_ref C, file.%C.decl.loc6 [concrete = constants.%C.generic] // CHECK:STDOUT: %D.ref.loc8: type = name_ref D, file.%D.decl [concrete = constants.%D] // CHECK:STDOUT: %I.facet.loc8: %I.type = facet_value %D.ref.loc8, (constants.%I.impl_witness) [concrete = constants.%I.facet] // CHECK:STDOUT: %.loc8_12.2: %I.type = converted %D.ref.loc8, %I.facet.loc8 [concrete = constants.%I.facet] -// CHECK:STDOUT: %C.loc8: type = class_type @C, @C(constants.%I.facet) [concrete = constants.%C.5a4] +// CHECK:STDOUT: %C.loc8: type = class_type @C, @C(constants.%I.facet) [concrete = constants.%C.484] // CHECK:STDOUT: } -// CHECK:STDOUT: %x.loc8: %C.5a4 = value_binding x, %x.param.loc8 +// CHECK:STDOUT: %x.loc8: %C.484 = value_binding x, %x.param.loc8 // CHECK:STDOUT: } // CHECK:STDOUT: %I.decl.loc10: type = interface_decl @I [concrete = constants.%I.type] {} {} // CHECK:STDOUT: impl_decl @D.as.I.impl [concrete] {} { @@ -1344,7 +1344,7 @@ impl C as Y {} // CHECK:STDOUT: %I.ref.loc11: type = name_ref I, file.%I.decl.loc3 [concrete = constants.%I.type] // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl.loc12: %C.type = class_decl @C [concrete = constants.%C.generic] { -// CHECK:STDOUT: %T.patt: %pattern_type.128 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.998 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc12: type = splice_block %I.ref.loc12 [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self.loc12: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1353,18 +1353,18 @@ impl C as Y {} // CHECK:STDOUT: %T.loc12: %I.type = symbolic_binding T, 0 [symbolic = %T.loc6_10.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl.loc14: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.b50 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.b50 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.e0f = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.e0f = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param.loc14: %C.5a4 = value_param call_param0 -// CHECK:STDOUT: %.loc14_19.1: type = splice_block %C.loc14 [concrete = constants.%C.5a4] { +// CHECK:STDOUT: %x.param.loc14: %C.484 = value_param call_param0 +// CHECK:STDOUT: %.loc14_19.1: type = splice_block %C.loc14 [concrete = constants.%C.484] { // CHECK:STDOUT: %C.ref.loc14: %C.type = name_ref C, file.%C.decl.loc6 [concrete = constants.%C.generic] // CHECK:STDOUT: %D.ref.loc14: type = name_ref D, file.%D.decl [concrete = constants.%D] // CHECK:STDOUT: %I.facet.loc14: %I.type = facet_value %D.ref.loc14, (constants.%I.impl_witness) [concrete = constants.%I.facet] // CHECK:STDOUT: %.loc14_19.2: %I.type = converted %D.ref.loc14, %I.facet.loc14 [concrete = constants.%I.facet] -// CHECK:STDOUT: %C.loc14: type = class_type @C, @C(constants.%I.facet) [concrete = constants.%C.5a4] +// CHECK:STDOUT: %C.loc14: type = class_type @C, @C(constants.%I.facet) [concrete = constants.%C.484] // CHECK:STDOUT: } -// CHECK:STDOUT: %x.loc14: %C.5a4 = value_binding x, %x.param.loc14 +// CHECK:STDOUT: %x.loc14: %C.484 = value_binding x, %x.param.loc14 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1406,11 +1406,11 @@ impl C as Y {} // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.d9b +// CHECK:STDOUT: .Self = constants.%C.c65 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%x.param.loc14: %C.5a4) { +// CHECK:STDOUT: fn @F(%x.param.loc14: %C.484) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1440,19 +1440,19 @@ impl C as Y {} // CHECK:STDOUT: %J.type: type = facet_type <@J> [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %I.type, %type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %facet_type: type = facet_type <@I & @J> [concrete] -// CHECK:STDOUT: %Self.1d4: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.8f7: %J.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.fd8: %J.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1461,9 +1461,9 @@ impl C as Y {} // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1482,7 +1482,7 @@ impl C as Y {} // CHECK:STDOUT: %.loc10_7.2: type = converted %.loc10_7.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl.loc3 [concrete = constants.%I.type] // CHECK:STDOUT: %J.ref: type = name_ref J, file.%J.decl.loc4 [concrete = constants.%J.type] -// CHECK:STDOUT: %impl.elem0: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %I.ref, %impl.elem0 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%I.ref, %J.ref) [concrete = constants.%facet_type] // CHECK:STDOUT: } @@ -1491,7 +1491,7 @@ impl C as Y {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.1d4] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1502,7 +1502,7 @@ impl C as Y {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { -// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = constants.%Self.8f7] +// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = constants.%Self.fd8] // CHECK:STDOUT: %J.WithSelf.decl = interface_with_self_decl @J [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1514,9 +1514,9 @@ impl C as Y {} // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_struct_type.as..impl: %.loc10_7.2 as ; // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.1d4) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.8f7) {} +// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.fd8) {} // CHECK:STDOUT: // CHECK:STDOUT: --- fail_never_assigned_associated_const.carbon // CHECK:STDOUT: @@ -1647,29 +1647,29 @@ impl C as Y {} // CHECK:STDOUT: %X.type: type = facet_type <@X> [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.dc5: type = pattern_type %X.type [concrete] +// CHECK:STDOUT: %pattern_type.4e6: type = pattern_type %X.type [concrete] // CHECK:STDOUT: %_: %X.type = symbolic_binding _, 0 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %U: %X.type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %pattern_type.937: type = pattern_type %U.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.669: type = pattern_type %U.as_type [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %X.impl_witness: = impl_witness @C.as.X.impl.%X.impl_witness_table [concrete] // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] -// CHECK:STDOUT: %Self.b8e: %X.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.8bd: %X.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.0d6: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %H.type: type = fn_type @H [concrete] // CHECK:STDOUT: %H: %H.type = struct_value () [concrete] // CHECK:STDOUT: %X.facet: %X.type = facet_value %C, (%X.impl_witness) [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%X.facet) [concrete] // CHECK:STDOUT: %G.specific_fn: = specific_function %G, @G(%X.facet) [concrete] -// CHECK:STDOUT: %Self.015: %Y.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d9e: %Y.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type [symbolic] // CHECK:STDOUT: %Y.impl_witness: = impl_witness @C.as.Y.impl.%Y.impl_witness_table [concrete] // CHECK:STDOUT: %Y.facet: %Y.type = facet_value %C, (%Y.impl_witness) [concrete] @@ -1695,7 +1695,7 @@ impl C as Y {} // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %X.decl.loc3: type = interface_decl @X [concrete = constants.%X.type] {} {} // CHECK:STDOUT: %F.decl.loc6: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %_.patt: %pattern_type.dc5 = symbolic_binding_pattern _, 0 [concrete] +// CHECK:STDOUT: %_.patt: %pattern_type.4e6 = symbolic_binding_pattern _, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6: type = splice_block %X.ref.loc6 [concrete = constants.%X.type] { // CHECK:STDOUT: %.Self.loc6: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1704,9 +1704,9 @@ impl C as Y {} // CHECK:STDOUT: %_.loc6_7.2: %X.type = symbolic_binding _, 0 [symbolic = %_.loc6_7.1 (constants.%_)] // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl.loc7: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %U.patt: %pattern_type.dc5 = symbolic_binding_pattern U, 0 [concrete] -// CHECK:STDOUT: %u.param_patt: @G.%pattern_type (%pattern_type.937) = value_param_pattern [concrete] -// CHECK:STDOUT: %u.patt: @G.%pattern_type (%pattern_type.937) = at_binding_pattern u, %u.param_patt [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.4e6 = symbolic_binding_pattern U, 0 [concrete] +// CHECK:STDOUT: %u.param_patt: @G.%pattern_type (%pattern_type.669) = value_param_pattern [concrete] +// CHECK:STDOUT: %u.patt: @G.%pattern_type (%pattern_type.669) = at_binding_pattern u, %u.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7_10: type = splice_block %X.ref.loc7 [concrete = constants.%X.type] { // CHECK:STDOUT: %.Self.loc7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1730,8 +1730,8 @@ impl C as Y {} // CHECK:STDOUT: %X.decl.loc16: type = interface_decl @X [concrete = constants.%X.type] {} {} // CHECK:STDOUT: %C.decl.loc23: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %H.decl: %H.type = fn_decl @H [concrete = constants.%H] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.0d6 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.0d6 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %c.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref.loc25: type = name_ref C, file.%C.decl.loc9 [concrete = constants.%C] @@ -1739,7 +1739,7 @@ impl C as Y {} // CHECK:STDOUT: } // CHECK:STDOUT: %Y.decl.loc33: type = interface_decl @Y [concrete = constants.%Y.type] {} {} // CHECK:STDOUT: %F.decl.loc34: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %_.patt: %pattern_type.dc5 = symbolic_binding_pattern _, 0 [concrete] +// CHECK:STDOUT: %_.patt: %pattern_type.4e6 = symbolic_binding_pattern _, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc34: type = splice_block %X.ref.loc34 [concrete = constants.%X.type] { // CHECK:STDOUT: %.Self.loc34: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1748,9 +1748,9 @@ impl C as Y {} // CHECK:STDOUT: %_.loc34: %X.type = symbolic_binding _, 0 [symbolic = %_.loc6_7.1 (constants.%_)] // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl.loc35: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %U.patt: %pattern_type.dc5 = symbolic_binding_pattern U, 0 [concrete] -// CHECK:STDOUT: %u.param_patt: @G.%pattern_type (%pattern_type.937) = value_param_pattern [concrete] -// CHECK:STDOUT: %u.patt: @G.%pattern_type (%pattern_type.937) = at_binding_pattern u, %u.param_patt [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.4e6 = symbolic_binding_pattern U, 0 [concrete] +// CHECK:STDOUT: %u.param_patt: @G.%pattern_type (%pattern_type.669) = value_param_pattern [concrete] +// CHECK:STDOUT: %u.patt: @G.%pattern_type (%pattern_type.669) = at_binding_pattern u, %u.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc35_10: type = splice_block %X.ref.loc35 [concrete = constants.%X.type] { // CHECK:STDOUT: %.Self.loc35: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1780,7 +1780,7 @@ impl C as Y {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @X { -// CHECK:STDOUT: %Self: %X.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b8e] +// CHECK:STDOUT: %Self: %X.type = symbolic_binding Self, 0 [symbolic = constants.%Self.8bd] // CHECK:STDOUT: %X.WithSelf.decl = interface_with_self_decl @X [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1791,7 +1791,7 @@ impl C as Y {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Y { -// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = constants.%Self.015] +// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d9e] // CHECK:STDOUT: %Y.WithSelf.decl = interface_with_self_decl @Y [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1841,7 +1841,7 @@ impl C as Y {} // CHECK:STDOUT: generic fn @G(%U.loc7_7.2: %X.type) { // CHECK:STDOUT: %U.loc7_7.1: %X.type = symbolic_binding U, 0 [symbolic = %U.loc7_7.1 (constants.%U)] // CHECK:STDOUT: %U.as_type.loc7_16.1: type = facet_access_type %U.loc7_7.1 [symbolic = %U.as_type.loc7_16.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc7_16.1 [symbolic = %pattern_type (constants.%pattern_type.937)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc7_16.1 [symbolic = %pattern_type (constants.%pattern_type.669)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc7_16.1 [symbolic = %require_complete (constants.%require_complete)] @@ -1876,10 +1876,10 @@ impl C as Y {} // CHECK:STDOUT: specific @G(constants.%U) { // CHECK:STDOUT: %U.loc7_7.1 => constants.%U // CHECK:STDOUT: %U.as_type.loc7_16.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.937 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.669 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @X.WithSelf(constants.%Self.b8e) { +// CHECK:STDOUT: specific @X.WithSelf(constants.%Self.8bd) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1892,13 +1892,13 @@ impl C as Y {} // CHECK:STDOUT: specific @G(constants.%X.facet) { // CHECK:STDOUT: %U.loc7_7.1 => constants.%X.facet // CHECK:STDOUT: %U.as_type.loc7_16.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d6 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.015) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.d9e) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/generic_redeclaration.carbon b/toolchain/check/testdata/impl/generic_redeclaration.carbon index 493ee1658138..7ef4c4b289b3 100644 --- a/toolchain/check/testdata/impl/generic_redeclaration.carbon +++ b/toolchain/check/testdata/impl/generic_redeclaration.carbon @@ -122,37 +122,37 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Interface.type: type = facet_type <@Interface> [concrete] -// CHECK:STDOUT: %Self.707: %Interface.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.b54: %Interface.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.778: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %J.type: type = facet_type <@J> [concrete] -// CHECK:STDOUT: %Self.28e: %J.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.fd8: %J.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %K.type: type = facet_type <@K> [concrete] -// CHECK:STDOUT: %Self.2e2: %K.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.563: %K.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %L.type: type = facet_type <@L> [concrete] -// CHECK:STDOUT: %Self.e4f: %L.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.8bb: %L.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.b58: type = pattern_type %I.type [concrete] -// CHECK:STDOUT: %T.a0f: %I.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.264: type = facet_access_type %T.a0f [symbolic] -// CHECK:STDOUT: %Interface.impl_witness.68d: = impl_witness @T.as_type.as.Interface.impl.28f.%Interface.impl_witness_table, @T.as_type.as.Interface.impl.28f(%T.a0f) [symbolic] -// CHECK:STDOUT: %pattern_type.a9f: type = pattern_type %J.type [concrete] -// CHECK:STDOUT: %T.7c6: %J.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.afd: type = facet_access_type %T.7c6 [symbolic] -// CHECK:STDOUT: %Interface.impl_witness.c62: = impl_witness @T.as_type.as.Interface.impl.97f.%Interface.impl_witness_table, @T.as_type.as.Interface.impl.97f(%T.7c6) [symbolic] -// CHECK:STDOUT: %pattern_type.67e: type = pattern_type %K.type [concrete] -// CHECK:STDOUT: %T.17f: %K.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.2f9: type = facet_access_type %T.17f [symbolic] -// CHECK:STDOUT: %Interface.impl_witness.757: = impl_witness @T.as_type.as.Interface.impl.f4d.%Interface.impl_witness_table, @T.as_type.as.Interface.impl.f4d(%T.17f) [symbolic] -// CHECK:STDOUT: %pattern_type.0d4: type = pattern_type %L.type [concrete] -// CHECK:STDOUT: %T.6bb: %L.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.33d: type = facet_access_type %T.6bb [symbolic] -// CHECK:STDOUT: %Interface.impl_witness.f17: = impl_witness @T.as_type.as.Interface.impl.5df.%Interface.impl_witness_table, @T.as_type.as.Interface.impl.5df(%T.6bb) [symbolic] -// CHECK:STDOUT: %Interface.facet.4bc: %Interface.type = facet_value %T.as_type.264, (%Interface.impl_witness.68d) [symbolic] -// CHECK:STDOUT: %Interface.facet.76d: %Interface.type = facet_value %T.as_type.afd, (%Interface.impl_witness.c62) [symbolic] -// CHECK:STDOUT: %Interface.facet.cd3: %Interface.type = facet_value %T.as_type.2f9, (%Interface.impl_witness.757) [symbolic] -// CHECK:STDOUT: %Interface.facet.7d7: %Interface.type = facet_value %T.as_type.33d, (%Interface.impl_witness.f17) [symbolic] +// CHECK:STDOUT: %pattern_type.998: type = pattern_type %I.type [concrete] +// CHECK:STDOUT: %T.2e1: %I.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.a70: type = facet_access_type %T.2e1 [symbolic] +// CHECK:STDOUT: %Interface.impl_witness.56d: = impl_witness @T.as_type.as.Interface.impl.baa.%Interface.impl_witness_table, @T.as_type.as.Interface.impl.baa(%T.2e1) [symbolic] +// CHECK:STDOUT: %pattern_type.1b4: type = pattern_type %J.type [concrete] +// CHECK:STDOUT: %T.1f3: %J.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.771: type = facet_access_type %T.1f3 [symbolic] +// CHECK:STDOUT: %Interface.impl_witness.bf9: = impl_witness @T.as_type.as.Interface.impl.497.%Interface.impl_witness_table, @T.as_type.as.Interface.impl.497(%T.1f3) [symbolic] +// CHECK:STDOUT: %pattern_type.53b: type = pattern_type %K.type [concrete] +// CHECK:STDOUT: %T.529: %K.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.f53: type = facet_access_type %T.529 [symbolic] +// CHECK:STDOUT: %Interface.impl_witness.e0b: = impl_witness @T.as_type.as.Interface.impl.d87.%Interface.impl_witness_table, @T.as_type.as.Interface.impl.d87(%T.529) [symbolic] +// CHECK:STDOUT: %pattern_type.80e: type = pattern_type %L.type [concrete] +// CHECK:STDOUT: %T.3c8: %L.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.830: type = facet_access_type %T.3c8 [symbolic] +// CHECK:STDOUT: %Interface.impl_witness.a2c: = impl_witness @T.as_type.as.Interface.impl.b79.%Interface.impl_witness_table, @T.as_type.as.Interface.impl.b79(%T.3c8) [symbolic] +// CHECK:STDOUT: %Interface.facet.eb5: %Interface.type = facet_value %T.as_type.a70, (%Interface.impl_witness.56d) [symbolic] +// CHECK:STDOUT: %Interface.facet.0b3: %Interface.type = facet_value %T.as_type.771, (%Interface.impl_witness.bf9) [symbolic] +// CHECK:STDOUT: %Interface.facet.bbf: %Interface.type = facet_value %T.as_type.f53, (%Interface.impl_witness.e0b) [symbolic] +// CHECK:STDOUT: %Interface.facet.b18: %Interface.type = facet_value %T.as_type.830, (%Interface.impl_witness.a2c) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -177,114 +177,114 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: %J.decl: type = interface_decl @J [concrete = constants.%J.type] {} {} // CHECK:STDOUT: %K.decl: type = interface_decl @K [concrete = constants.%K.type] {} {} // CHECK:STDOUT: %L.decl: type = interface_decl @L [concrete = constants.%L.type] {} {} -// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.28f [concrete] { -// CHECK:STDOUT: %T.patt: %pattern_type.b58 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.baa [concrete] { +// CHECK:STDOUT: %T.patt: %pattern_type.998 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc12: %I.type = name_ref T, %T.loc12_15.1 [symbolic = %T.loc12_15.2 (constants.%T.a0f)] -// CHECK:STDOUT: %T.as_type.loc12_21.1: type = facet_access_type %T.ref.loc12 [symbolic = %T.as_type.loc12_21.2 (constants.%T.as_type.264)] -// CHECK:STDOUT: %.loc12_21: type = converted %T.ref.loc12, %T.as_type.loc12_21.1 [symbolic = %T.as_type.loc12_21.2 (constants.%T.as_type.264)] +// CHECK:STDOUT: %T.ref.loc12: %I.type = name_ref T, %T.loc12_15.1 [symbolic = %T.loc12_15.2 (constants.%T.2e1)] +// CHECK:STDOUT: %T.as_type.loc12_21.1: type = facet_access_type %T.ref.loc12 [symbolic = %T.as_type.loc12_21.2 (constants.%T.as_type.a70)] +// CHECK:STDOUT: %.loc12_21: type = converted %T.ref.loc12, %T.as_type.loc12_21.1 [symbolic = %T.as_type.loc12_21.2 (constants.%T.as_type.a70)] // CHECK:STDOUT: %Interface.ref.loc12: type = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.type] // CHECK:STDOUT: %.loc12_18: type = splice_block %I.ref.loc12 [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self.loc12: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %I.ref.loc12: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc12_15.1: %I.type = symbolic_binding T, 0 [symbolic = %T.loc12_15.2 (constants.%T.a0f)] +// CHECK:STDOUT: %T.loc12_15.1: %I.type = symbolic_binding T, 0 [symbolic = %T.loc12_15.2 (constants.%T.2e1)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.97f [concrete] { -// CHECK:STDOUT: %T.patt: %pattern_type.a9f = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.497 [concrete] { +// CHECK:STDOUT: %T.patt: %pattern_type.1b4 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc13: %J.type = name_ref T, %T.loc13_15.1 [symbolic = %T.loc13_15.2 (constants.%T.7c6)] -// CHECK:STDOUT: %T.as_type.loc13_21.1: type = facet_access_type %T.ref.loc13 [symbolic = %T.as_type.loc13_21.2 (constants.%T.as_type.afd)] -// CHECK:STDOUT: %.loc13_21: type = converted %T.ref.loc13, %T.as_type.loc13_21.1 [symbolic = %T.as_type.loc13_21.2 (constants.%T.as_type.afd)] +// CHECK:STDOUT: %T.ref.loc13: %J.type = name_ref T, %T.loc13_15.1 [symbolic = %T.loc13_15.2 (constants.%T.1f3)] +// CHECK:STDOUT: %T.as_type.loc13_21.1: type = facet_access_type %T.ref.loc13 [symbolic = %T.as_type.loc13_21.2 (constants.%T.as_type.771)] +// CHECK:STDOUT: %.loc13_21: type = converted %T.ref.loc13, %T.as_type.loc13_21.1 [symbolic = %T.as_type.loc13_21.2 (constants.%T.as_type.771)] // CHECK:STDOUT: %Interface.ref.loc13: type = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.type] // CHECK:STDOUT: %.loc13_18: type = splice_block %J.ref.loc13 [concrete = constants.%J.type] { // CHECK:STDOUT: %.Self.loc13: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %J.ref.loc13: type = name_ref J, file.%J.decl [concrete = constants.%J.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc13_15.1: %J.type = symbolic_binding T, 0 [symbolic = %T.loc13_15.2 (constants.%T.7c6)] +// CHECK:STDOUT: %T.loc13_15.1: %J.type = symbolic_binding T, 0 [symbolic = %T.loc13_15.2 (constants.%T.1f3)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.f4d [concrete] { -// CHECK:STDOUT: %T.patt: %pattern_type.67e = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.d87 [concrete] { +// CHECK:STDOUT: %T.patt: %pattern_type.53b = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc14: %K.type = name_ref T, %T.loc14_15.1 [symbolic = %T.loc14_15.2 (constants.%T.17f)] -// CHECK:STDOUT: %T.as_type.loc14_21.1: type = facet_access_type %T.ref.loc14 [symbolic = %T.as_type.loc14_21.2 (constants.%T.as_type.2f9)] -// CHECK:STDOUT: %.loc14_21: type = converted %T.ref.loc14, %T.as_type.loc14_21.1 [symbolic = %T.as_type.loc14_21.2 (constants.%T.as_type.2f9)] +// CHECK:STDOUT: %T.ref.loc14: %K.type = name_ref T, %T.loc14_15.1 [symbolic = %T.loc14_15.2 (constants.%T.529)] +// CHECK:STDOUT: %T.as_type.loc14_21.1: type = facet_access_type %T.ref.loc14 [symbolic = %T.as_type.loc14_21.2 (constants.%T.as_type.f53)] +// CHECK:STDOUT: %.loc14_21: type = converted %T.ref.loc14, %T.as_type.loc14_21.1 [symbolic = %T.as_type.loc14_21.2 (constants.%T.as_type.f53)] // CHECK:STDOUT: %Interface.ref.loc14: type = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.type] // CHECK:STDOUT: %.loc14_18: type = splice_block %K.ref.loc14 [concrete = constants.%K.type] { // CHECK:STDOUT: %.Self.loc14: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %K.ref.loc14: type = name_ref K, file.%K.decl [concrete = constants.%K.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc14_15.1: %K.type = symbolic_binding T, 0 [symbolic = %T.loc14_15.2 (constants.%T.17f)] +// CHECK:STDOUT: %T.loc14_15.1: %K.type = symbolic_binding T, 0 [symbolic = %T.loc14_15.2 (constants.%T.529)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.5df [concrete] { -// CHECK:STDOUT: %T.patt: %pattern_type.0d4 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.b79 [concrete] { +// CHECK:STDOUT: %T.patt: %pattern_type.80e = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc15: %L.type = name_ref T, %T.loc15_15.1 [symbolic = %T.loc15_15.2 (constants.%T.6bb)] -// CHECK:STDOUT: %T.as_type.loc15_21.1: type = facet_access_type %T.ref.loc15 [symbolic = %T.as_type.loc15_21.2 (constants.%T.as_type.33d)] -// CHECK:STDOUT: %.loc15_21: type = converted %T.ref.loc15, %T.as_type.loc15_21.1 [symbolic = %T.as_type.loc15_21.2 (constants.%T.as_type.33d)] +// CHECK:STDOUT: %T.ref.loc15: %L.type = name_ref T, %T.loc15_15.1 [symbolic = %T.loc15_15.2 (constants.%T.3c8)] +// CHECK:STDOUT: %T.as_type.loc15_21.1: type = facet_access_type %T.ref.loc15 [symbolic = %T.as_type.loc15_21.2 (constants.%T.as_type.830)] +// CHECK:STDOUT: %.loc15_21: type = converted %T.ref.loc15, %T.as_type.loc15_21.1 [symbolic = %T.as_type.loc15_21.2 (constants.%T.as_type.830)] // CHECK:STDOUT: %Interface.ref.loc15: type = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.type] // CHECK:STDOUT: %.loc15_18: type = splice_block %L.ref.loc15 [concrete = constants.%L.type] { // CHECK:STDOUT: %.Self.loc15: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %L.ref.loc15: type = name_ref L, file.%L.decl [concrete = constants.%L.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc15_15.1: %L.type = symbolic_binding T, 0 [symbolic = %T.loc15_15.2 (constants.%T.6bb)] +// CHECK:STDOUT: %T.loc15_15.1: %L.type = symbolic_binding T, 0 [symbolic = %T.loc15_15.2 (constants.%T.3c8)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.28f [concrete] { -// CHECK:STDOUT: %T.patt: %pattern_type.b58 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.baa [concrete] { +// CHECK:STDOUT: %T.patt: %pattern_type.998 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc19: %I.type = name_ref T, %T.loc19 [symbolic = %T.loc12_15.2 (constants.%T.a0f)] -// CHECK:STDOUT: %T.as_type.loc19: type = facet_access_type %T.ref.loc19 [symbolic = %T.as_type.loc12_21.2 (constants.%T.as_type.264)] -// CHECK:STDOUT: %.loc19_21: type = converted %T.ref.loc19, %T.as_type.loc19 [symbolic = %T.as_type.loc12_21.2 (constants.%T.as_type.264)] +// CHECK:STDOUT: %T.ref.loc19: %I.type = name_ref T, %T.loc19 [symbolic = %T.loc12_15.2 (constants.%T.2e1)] +// CHECK:STDOUT: %T.as_type.loc19: type = facet_access_type %T.ref.loc19 [symbolic = %T.as_type.loc12_21.2 (constants.%T.as_type.a70)] +// CHECK:STDOUT: %.loc19_21: type = converted %T.ref.loc19, %T.as_type.loc19 [symbolic = %T.as_type.loc12_21.2 (constants.%T.as_type.a70)] // CHECK:STDOUT: %Interface.ref.loc19: type = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.type] // CHECK:STDOUT: %.loc19_18: type = splice_block %I.ref.loc19 [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self.loc19: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %I.ref.loc19: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc19: %I.type = symbolic_binding T, 0 [symbolic = %T.loc12_15.2 (constants.%T.a0f)] +// CHECK:STDOUT: %T.loc19: %I.type = symbolic_binding T, 0 [symbolic = %T.loc12_15.2 (constants.%T.2e1)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.97f [concrete] { -// CHECK:STDOUT: %T.patt: %pattern_type.a9f = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.497 [concrete] { +// CHECK:STDOUT: %T.patt: %pattern_type.1b4 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc27: %J.type = name_ref T, %T.loc27 [symbolic = %T.loc13_15.2 (constants.%T.7c6)] -// CHECK:STDOUT: %T.as_type.loc27: type = facet_access_type %T.ref.loc27 [symbolic = %T.as_type.loc13_21.2 (constants.%T.as_type.afd)] -// CHECK:STDOUT: %.loc27_21: type = converted %T.ref.loc27, %T.as_type.loc27 [symbolic = %T.as_type.loc13_21.2 (constants.%T.as_type.afd)] +// CHECK:STDOUT: %T.ref.loc27: %J.type = name_ref T, %T.loc27 [symbolic = %T.loc13_15.2 (constants.%T.1f3)] +// CHECK:STDOUT: %T.as_type.loc27: type = facet_access_type %T.ref.loc27 [symbolic = %T.as_type.loc13_21.2 (constants.%T.as_type.771)] +// CHECK:STDOUT: %.loc27_21: type = converted %T.ref.loc27, %T.as_type.loc27 [symbolic = %T.as_type.loc13_21.2 (constants.%T.as_type.771)] // CHECK:STDOUT: %Interface.ref.loc27: type = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.type] // CHECK:STDOUT: %.loc27_18: type = splice_block %J.ref.loc27 [concrete = constants.%J.type] { // CHECK:STDOUT: %.Self.loc27: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %J.ref.loc27: type = name_ref J, file.%J.decl [concrete = constants.%J.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc27: %J.type = symbolic_binding T, 0 [symbolic = %T.loc13_15.2 (constants.%T.7c6)] +// CHECK:STDOUT: %T.loc27: %J.type = symbolic_binding T, 0 [symbolic = %T.loc13_15.2 (constants.%T.1f3)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.f4d [concrete] { -// CHECK:STDOUT: %T.patt: %pattern_type.67e = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.d87 [concrete] { +// CHECK:STDOUT: %T.patt: %pattern_type.53b = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc35: %K.type = name_ref T, %T.loc35 [symbolic = %T.loc14_15.2 (constants.%T.17f)] -// CHECK:STDOUT: %T.as_type.loc35: type = facet_access_type %T.ref.loc35 [symbolic = %T.as_type.loc14_21.2 (constants.%T.as_type.2f9)] -// CHECK:STDOUT: %.loc35_21: type = converted %T.ref.loc35, %T.as_type.loc35 [symbolic = %T.as_type.loc14_21.2 (constants.%T.as_type.2f9)] +// CHECK:STDOUT: %T.ref.loc35: %K.type = name_ref T, %T.loc35 [symbolic = %T.loc14_15.2 (constants.%T.529)] +// CHECK:STDOUT: %T.as_type.loc35: type = facet_access_type %T.ref.loc35 [symbolic = %T.as_type.loc14_21.2 (constants.%T.as_type.f53)] +// CHECK:STDOUT: %.loc35_21: type = converted %T.ref.loc35, %T.as_type.loc35 [symbolic = %T.as_type.loc14_21.2 (constants.%T.as_type.f53)] // CHECK:STDOUT: %Interface.ref.loc35: type = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.type] // CHECK:STDOUT: %.loc35_18: type = splice_block %K.ref.loc35 [concrete = constants.%K.type] { // CHECK:STDOUT: %.Self.loc35: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %K.ref.loc35: type = name_ref K, file.%K.decl [concrete = constants.%K.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc35: %K.type = symbolic_binding T, 0 [symbolic = %T.loc14_15.2 (constants.%T.17f)] +// CHECK:STDOUT: %T.loc35: %K.type = symbolic_binding T, 0 [symbolic = %T.loc14_15.2 (constants.%T.529)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.5df [concrete] { -// CHECK:STDOUT: %T.patt: %pattern_type.0d4 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: impl_decl @T.as_type.as.Interface.impl.b79 [concrete] { +// CHECK:STDOUT: %T.patt: %pattern_type.80e = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref.loc43: %L.type = name_ref T, %T.loc43 [symbolic = %T.loc15_15.2 (constants.%T.6bb)] -// CHECK:STDOUT: %T.as_type.loc43: type = facet_access_type %T.ref.loc43 [symbolic = %T.as_type.loc15_21.2 (constants.%T.as_type.33d)] -// CHECK:STDOUT: %.loc43_21: type = converted %T.ref.loc43, %T.as_type.loc43 [symbolic = %T.as_type.loc15_21.2 (constants.%T.as_type.33d)] +// CHECK:STDOUT: %T.ref.loc43: %L.type = name_ref T, %T.loc43 [symbolic = %T.loc15_15.2 (constants.%T.3c8)] +// CHECK:STDOUT: %T.as_type.loc43: type = facet_access_type %T.ref.loc43 [symbolic = %T.as_type.loc15_21.2 (constants.%T.as_type.830)] +// CHECK:STDOUT: %.loc43_21: type = converted %T.ref.loc43, %T.as_type.loc43 [symbolic = %T.as_type.loc15_21.2 (constants.%T.as_type.830)] // CHECK:STDOUT: %Interface.ref.loc43: type = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.type] // CHECK:STDOUT: %.loc43_18: type = splice_block %L.ref.loc43 [concrete = constants.%L.type] { // CHECK:STDOUT: %.Self.loc43: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %L.ref.loc43: type = name_ref L, file.%L.decl [concrete = constants.%L.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc43: %L.type = symbolic_binding T, 0 [symbolic = %T.loc15_15.2 (constants.%T.6bb)] +// CHECK:STDOUT: %T.loc43: %L.type = symbolic_binding T, 0 [symbolic = %T.loc15_15.2 (constants.%T.3c8)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Interface { -// CHECK:STDOUT: %Self: %Interface.type = symbolic_binding Self, 0 [symbolic = constants.%Self.707] +// CHECK:STDOUT: %Self: %Interface.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b54] // CHECK:STDOUT: %Interface.WithSelf.decl = interface_with_self_decl @Interface [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -295,7 +295,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.778] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -306,7 +306,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { -// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = constants.%Self.28e] +// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = constants.%Self.fd8] // CHECK:STDOUT: %J.WithSelf.decl = interface_with_self_decl @J [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -317,7 +317,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @K { -// CHECK:STDOUT: %Self: %K.type = symbolic_binding Self, 0 [symbolic = constants.%Self.2e2] +// CHECK:STDOUT: %Self: %K.type = symbolic_binding Self, 0 [symbolic = constants.%Self.563] // CHECK:STDOUT: %K.WithSelf.decl = interface_with_self_decl @K [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -328,7 +328,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @L { -// CHECK:STDOUT: %Self: %L.type = symbolic_binding Self, 0 [symbolic = constants.%Self.e4f] +// CHECK:STDOUT: %Self: %L.type = symbolic_binding Self, 0 [symbolic = constants.%Self.8bb] // CHECK:STDOUT: %L.WithSelf.decl = interface_with_self_decl @L [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -338,16 +338,16 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as_type.as.Interface.impl.28f(%T.loc12_15.1: %I.type) { -// CHECK:STDOUT: %T.loc12_15.2: %I.type = symbolic_binding T, 0 [symbolic = %T.loc12_15.2 (constants.%T.a0f)] -// CHECK:STDOUT: %T.as_type.loc12_21.2: type = facet_access_type %T.loc12_15.2 [symbolic = %T.as_type.loc12_21.2 (constants.%T.as_type.264)] -// CHECK:STDOUT: %Interface.impl_witness.loc12_35.2: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.28f(%T.loc12_15.2) [symbolic = %Interface.impl_witness.loc12_35.2 (constants.%Interface.impl_witness.68d)] +// CHECK:STDOUT: generic impl @T.as_type.as.Interface.impl.baa(%T.loc12_15.1: %I.type) { +// CHECK:STDOUT: %T.loc12_15.2: %I.type = symbolic_binding T, 0 [symbolic = %T.loc12_15.2 (constants.%T.2e1)] +// CHECK:STDOUT: %T.as_type.loc12_21.2: type = facet_access_type %T.loc12_15.2 [symbolic = %T.as_type.loc12_21.2 (constants.%T.as_type.a70)] +// CHECK:STDOUT: %Interface.impl_witness.loc12_35.2: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.baa(%T.loc12_15.2) [symbolic = %Interface.impl_witness.loc12_35.2 (constants.%Interface.impl_witness.56d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: impl: %.loc12_21 as %Interface.ref.loc12 { -// CHECK:STDOUT: %Interface.impl_witness_table = impl_witness_table (), @T.as_type.as.Interface.impl.28f [concrete] -// CHECK:STDOUT: %Interface.impl_witness.loc12_35.1: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.28f(constants.%T.a0f) [symbolic = %Interface.impl_witness.loc12_35.2 (constants.%Interface.impl_witness.68d)] +// CHECK:STDOUT: %Interface.impl_witness_table = impl_witness_table (), @T.as_type.as.Interface.impl.baa [concrete] +// CHECK:STDOUT: %Interface.impl_witness.loc12_35.1: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.baa(constants.%T.2e1) [symbolic = %Interface.impl_witness.loc12_35.2 (constants.%Interface.impl_witness.56d)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %Interface.ref.loc12 @@ -355,16 +355,16 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as_type.as.Interface.impl.97f(%T.loc13_15.1: %J.type) { -// CHECK:STDOUT: %T.loc13_15.2: %J.type = symbolic_binding T, 0 [symbolic = %T.loc13_15.2 (constants.%T.7c6)] -// CHECK:STDOUT: %T.as_type.loc13_21.2: type = facet_access_type %T.loc13_15.2 [symbolic = %T.as_type.loc13_21.2 (constants.%T.as_type.afd)] -// CHECK:STDOUT: %Interface.impl_witness.loc13_35.2: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.97f(%T.loc13_15.2) [symbolic = %Interface.impl_witness.loc13_35.2 (constants.%Interface.impl_witness.c62)] +// CHECK:STDOUT: generic impl @T.as_type.as.Interface.impl.497(%T.loc13_15.1: %J.type) { +// CHECK:STDOUT: %T.loc13_15.2: %J.type = symbolic_binding T, 0 [symbolic = %T.loc13_15.2 (constants.%T.1f3)] +// CHECK:STDOUT: %T.as_type.loc13_21.2: type = facet_access_type %T.loc13_15.2 [symbolic = %T.as_type.loc13_21.2 (constants.%T.as_type.771)] +// CHECK:STDOUT: %Interface.impl_witness.loc13_35.2: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.497(%T.loc13_15.2) [symbolic = %Interface.impl_witness.loc13_35.2 (constants.%Interface.impl_witness.bf9)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: impl: %.loc13_21 as %Interface.ref.loc13 { -// CHECK:STDOUT: %Interface.impl_witness_table = impl_witness_table (), @T.as_type.as.Interface.impl.97f [concrete] -// CHECK:STDOUT: %Interface.impl_witness.loc13_35.1: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.97f(constants.%T.7c6) [symbolic = %Interface.impl_witness.loc13_35.2 (constants.%Interface.impl_witness.c62)] +// CHECK:STDOUT: %Interface.impl_witness_table = impl_witness_table (), @T.as_type.as.Interface.impl.497 [concrete] +// CHECK:STDOUT: %Interface.impl_witness.loc13_35.1: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.497(constants.%T.1f3) [symbolic = %Interface.impl_witness.loc13_35.2 (constants.%Interface.impl_witness.bf9)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %Interface.ref.loc13 @@ -372,16 +372,16 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as_type.as.Interface.impl.f4d(%T.loc14_15.1: %K.type) { -// CHECK:STDOUT: %T.loc14_15.2: %K.type = symbolic_binding T, 0 [symbolic = %T.loc14_15.2 (constants.%T.17f)] -// CHECK:STDOUT: %T.as_type.loc14_21.2: type = facet_access_type %T.loc14_15.2 [symbolic = %T.as_type.loc14_21.2 (constants.%T.as_type.2f9)] -// CHECK:STDOUT: %Interface.impl_witness.loc14_35.2: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.f4d(%T.loc14_15.2) [symbolic = %Interface.impl_witness.loc14_35.2 (constants.%Interface.impl_witness.757)] +// CHECK:STDOUT: generic impl @T.as_type.as.Interface.impl.d87(%T.loc14_15.1: %K.type) { +// CHECK:STDOUT: %T.loc14_15.2: %K.type = symbolic_binding T, 0 [symbolic = %T.loc14_15.2 (constants.%T.529)] +// CHECK:STDOUT: %T.as_type.loc14_21.2: type = facet_access_type %T.loc14_15.2 [symbolic = %T.as_type.loc14_21.2 (constants.%T.as_type.f53)] +// CHECK:STDOUT: %Interface.impl_witness.loc14_35.2: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.d87(%T.loc14_15.2) [symbolic = %Interface.impl_witness.loc14_35.2 (constants.%Interface.impl_witness.e0b)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: impl: %.loc14_21 as %Interface.ref.loc14 { -// CHECK:STDOUT: %Interface.impl_witness_table = impl_witness_table (), @T.as_type.as.Interface.impl.f4d [concrete] -// CHECK:STDOUT: %Interface.impl_witness.loc14_35.1: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.f4d(constants.%T.17f) [symbolic = %Interface.impl_witness.loc14_35.2 (constants.%Interface.impl_witness.757)] +// CHECK:STDOUT: %Interface.impl_witness_table = impl_witness_table (), @T.as_type.as.Interface.impl.d87 [concrete] +// CHECK:STDOUT: %Interface.impl_witness.loc14_35.1: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.d87(constants.%T.529) [symbolic = %Interface.impl_witness.loc14_35.2 (constants.%Interface.impl_witness.e0b)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %Interface.ref.loc14 @@ -389,16 +389,16 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as_type.as.Interface.impl.5df(%T.loc15_15.1: %L.type) { -// CHECK:STDOUT: %T.loc15_15.2: %L.type = symbolic_binding T, 0 [symbolic = %T.loc15_15.2 (constants.%T.6bb)] -// CHECK:STDOUT: %T.as_type.loc15_21.2: type = facet_access_type %T.loc15_15.2 [symbolic = %T.as_type.loc15_21.2 (constants.%T.as_type.33d)] -// CHECK:STDOUT: %Interface.impl_witness.loc15_35.2: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.5df(%T.loc15_15.2) [symbolic = %Interface.impl_witness.loc15_35.2 (constants.%Interface.impl_witness.f17)] +// CHECK:STDOUT: generic impl @T.as_type.as.Interface.impl.b79(%T.loc15_15.1: %L.type) { +// CHECK:STDOUT: %T.loc15_15.2: %L.type = symbolic_binding T, 0 [symbolic = %T.loc15_15.2 (constants.%T.3c8)] +// CHECK:STDOUT: %T.as_type.loc15_21.2: type = facet_access_type %T.loc15_15.2 [symbolic = %T.as_type.loc15_21.2 (constants.%T.as_type.830)] +// CHECK:STDOUT: %Interface.impl_witness.loc15_35.2: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.b79(%T.loc15_15.2) [symbolic = %Interface.impl_witness.loc15_35.2 (constants.%Interface.impl_witness.a2c)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: impl: %.loc15_21 as %Interface.ref.loc15 { -// CHECK:STDOUT: %Interface.impl_witness_table = impl_witness_table (), @T.as_type.as.Interface.impl.5df [concrete] -// CHECK:STDOUT: %Interface.impl_witness.loc15_35.1: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.5df(constants.%T.6bb) [symbolic = %Interface.impl_witness.loc15_35.2 (constants.%Interface.impl_witness.f17)] +// CHECK:STDOUT: %Interface.impl_witness_table = impl_witness_table (), @T.as_type.as.Interface.impl.b79 [concrete] +// CHECK:STDOUT: %Interface.impl_witness.loc15_35.1: = impl_witness %Interface.impl_witness_table, @T.as_type.as.Interface.impl.b79(constants.%T.3c8) [symbolic = %Interface.impl_witness.loc15_35.2 (constants.%Interface.impl_witness.a2c)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %Interface.ref.loc15 @@ -406,63 +406,63 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Self.707) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Self.b54) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.778) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.28e) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.fd8) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @K.WithSelf(constants.%Self.2e2) { +// CHECK:STDOUT: specific @K.WithSelf(constants.%Self.563) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @L.WithSelf(constants.%Self.e4f) { +// CHECK:STDOUT: specific @L.WithSelf(constants.%Self.8bb) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.Interface.impl.28f(constants.%T.a0f) { -// CHECK:STDOUT: %T.loc12_15.2 => constants.%T.a0f -// CHECK:STDOUT: %T.as_type.loc12_21.2 => constants.%T.as_type.264 -// CHECK:STDOUT: %Interface.impl_witness.loc12_35.2 => constants.%Interface.impl_witness.68d +// CHECK:STDOUT: specific @T.as_type.as.Interface.impl.baa(constants.%T.2e1) { +// CHECK:STDOUT: %T.loc12_15.2 => constants.%T.2e1 +// CHECK:STDOUT: %T.as_type.loc12_21.2 => constants.%T.as_type.a70 +// CHECK:STDOUT: %Interface.impl_witness.loc12_35.2 => constants.%Interface.impl_witness.56d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.Interface.impl.97f(constants.%T.7c6) { -// CHECK:STDOUT: %T.loc13_15.2 => constants.%T.7c6 -// CHECK:STDOUT: %T.as_type.loc13_21.2 => constants.%T.as_type.afd -// CHECK:STDOUT: %Interface.impl_witness.loc13_35.2 => constants.%Interface.impl_witness.c62 +// CHECK:STDOUT: specific @T.as_type.as.Interface.impl.497(constants.%T.1f3) { +// CHECK:STDOUT: %T.loc13_15.2 => constants.%T.1f3 +// CHECK:STDOUT: %T.as_type.loc13_21.2 => constants.%T.as_type.771 +// CHECK:STDOUT: %Interface.impl_witness.loc13_35.2 => constants.%Interface.impl_witness.bf9 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.Interface.impl.f4d(constants.%T.17f) { -// CHECK:STDOUT: %T.loc14_15.2 => constants.%T.17f -// CHECK:STDOUT: %T.as_type.loc14_21.2 => constants.%T.as_type.2f9 -// CHECK:STDOUT: %Interface.impl_witness.loc14_35.2 => constants.%Interface.impl_witness.757 +// CHECK:STDOUT: specific @T.as_type.as.Interface.impl.d87(constants.%T.529) { +// CHECK:STDOUT: %T.loc14_15.2 => constants.%T.529 +// CHECK:STDOUT: %T.as_type.loc14_21.2 => constants.%T.as_type.f53 +// CHECK:STDOUT: %Interface.impl_witness.loc14_35.2 => constants.%Interface.impl_witness.e0b // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.Interface.impl.5df(constants.%T.6bb) { -// CHECK:STDOUT: %T.loc15_15.2 => constants.%T.6bb -// CHECK:STDOUT: %T.as_type.loc15_21.2 => constants.%T.as_type.33d -// CHECK:STDOUT: %Interface.impl_witness.loc15_35.2 => constants.%Interface.impl_witness.f17 +// CHECK:STDOUT: specific @T.as_type.as.Interface.impl.b79(constants.%T.3c8) { +// CHECK:STDOUT: %T.loc15_15.2 => constants.%T.3c8 +// CHECK:STDOUT: %T.as_type.loc15_21.2 => constants.%T.as_type.830 +// CHECK:STDOUT: %Interface.impl_witness.loc15_35.2 => constants.%Interface.impl_witness.a2c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Interface.facet.4bc) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Interface.facet.eb5) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Interface.facet.76d) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Interface.facet.0b3) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Interface.facet.cd3) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Interface.facet.bbf) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Interface.facet.7d7) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Interface.facet.b18) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -470,15 +470,15 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.fcf: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %J.type: type = facet_type <@J> [concrete] -// CHECK:STDOUT: %Self.91c: %J.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.fd8: %J.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %I.type [concrete] // CHECK:STDOUT: %T: %I.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %J.impl_witness: = impl_witness @T.as_type.as.J.impl.437944.1.%J.impl_witness_table, @T.as_type.as.J.impl.437944.1(%T) [symbolic] +// CHECK:STDOUT: %J.impl_witness: = impl_witness @T.as_type.as.J.impl.ffcb87.1.%J.impl_witness_table, @T.as_type.as.J.impl.ffcb87.1(%T) [symbolic] // CHECK:STDOUT: %J.facet: %J.type = facet_value %T.as_type, (%J.impl_witness) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -498,7 +498,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %I.decl: type = interface_decl @I [concrete = constants.%I.type] {} {} // CHECK:STDOUT: %J.decl: type = interface_decl @J [concrete = constants.%J.type] {} {} -// CHECK:STDOUT: impl_decl @T.as_type.as.J.impl.437944.1 [concrete] { +// CHECK:STDOUT: impl_decl @T.as_type.as.J.impl.ffcb87.1 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: %I.type = name_ref T, %T.loc7_15.1 [symbolic = %T.loc7_15.2 (constants.%T)] @@ -511,7 +511,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc7_15.1: %I.type = symbolic_binding T, 0 [symbolic = %T.loc7_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as_type.as.J.impl.437944.2 [concrete] { +// CHECK:STDOUT: impl_decl @T.as_type.as.J.impl.ffcb87.2 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: %I.type = name_ref T, %T.loc15_15.1 [symbolic = %T.loc15_15.2 (constants.%T)] @@ -527,7 +527,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.fcf] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -538,7 +538,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { -// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91c] +// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = constants.%Self.fd8] // CHECK:STDOUT: %J.WithSelf.decl = interface_with_self_decl @J [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -548,16 +548,16 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as_type.as.J.impl.437944.1(%T.loc7_15.1: %I.type) { +// CHECK:STDOUT: generic impl @T.as_type.as.J.impl.ffcb87.1(%T.loc7_15.1: %I.type) { // CHECK:STDOUT: %T.loc7_15.2: %I.type = symbolic_binding T, 0 [symbolic = %T.loc7_15.2 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc7_21.2: type = facet_access_type %T.loc7_15.2 [symbolic = %T.as_type.loc7_21.2 (constants.%T.as_type)] -// CHECK:STDOUT: %J.impl_witness.loc7_28.2: = impl_witness %J.impl_witness_table, @T.as_type.as.J.impl.437944.1(%T.loc7_15.2) [symbolic = %J.impl_witness.loc7_28.2 (constants.%J.impl_witness)] +// CHECK:STDOUT: %J.impl_witness.loc7_28.2: = impl_witness %J.impl_witness_table, @T.as_type.as.J.impl.ffcb87.1(%T.loc7_15.2) [symbolic = %J.impl_witness.loc7_28.2 (constants.%J.impl_witness)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: impl: %.loc7_21 as %J.ref { -// CHECK:STDOUT: %J.impl_witness_table = impl_witness_table (), @T.as_type.as.J.impl.437944.1 [concrete] -// CHECK:STDOUT: %J.impl_witness.loc7_28.1: = impl_witness %J.impl_witness_table, @T.as_type.as.J.impl.437944.1(constants.%T) [symbolic = %J.impl_witness.loc7_28.2 (constants.%J.impl_witness)] +// CHECK:STDOUT: %J.impl_witness_table = impl_witness_table (), @T.as_type.as.J.impl.ffcb87.1 [concrete] +// CHECK:STDOUT: %J.impl_witness.loc7_28.1: = impl_witness %J.impl_witness_table, @T.as_type.as.J.impl.ffcb87.1(constants.%T) [symbolic = %J.impl_witness.loc7_28.2 (constants.%J.impl_witness)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %J.ref @@ -565,7 +565,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as_type.as.J.impl.437944.2(%T.loc15_15.1: %I.type) { +// CHECK:STDOUT: generic impl @T.as_type.as.J.impl.ffcb87.2(%T.loc15_15.1: %I.type) { // CHECK:STDOUT: %T.loc15_15.2: %I.type = symbolic_binding T, 0 [symbolic = %T.loc15_15.2 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc15_21.2: type = facet_access_type %T.loc15_15.2 [symbolic = %T.as_type.loc15_21.2 (constants.%T.as_type)] // CHECK:STDOUT: @@ -578,15 +578,15 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.fcf) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.91c) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.fd8) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.J.impl.437944.1(constants.%T) { +// CHECK:STDOUT: specific @T.as_type.as.J.impl.ffcb87.1(constants.%T) { // CHECK:STDOUT: %T.loc7_15.2 => constants.%T // CHECK:STDOUT: %T.as_type.loc7_21.2 => constants.%T.as_type // CHECK:STDOUT: %J.impl_witness.loc7_28.2 => constants.%J.impl_witness @@ -596,7 +596,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.J.impl.437944.2(constants.%T) { +// CHECK:STDOUT: specific @T.as_type.as.J.impl.ffcb87.2(constants.%T) { // CHECK:STDOUT: %T.loc15_15.2 => constants.%T // CHECK:STDOUT: %T.as_type.loc15_21.2 => constants.%T.as_type // CHECK:STDOUT: } @@ -607,13 +607,13 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.impl_witness.d1137e.1: = impl_witness @C.as.I.impl.515158.1.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %I.facet.ad2cfe.1: %I.type = facet_value %C, (%I.impl_witness.d1137e.1) [concrete] +// CHECK:STDOUT: %I.impl_witness.efa2fb.1: = impl_witness @C.as.I.impl.e127ba.1.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.facet.28dc3d.1: %I.type = facet_value %C, (%I.impl_witness.efa2fb.1) [concrete] // CHECK:STDOUT: %tuple.type: type = tuple_type (type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%C, %C) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %I.impl_witness.d1137e.2: = impl_witness @C.as.I.impl.515158.2.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %I.facet.ad2cfe.2: %I.type = facet_value %C, (%I.impl_witness.d1137e.2) [concrete] +// CHECK:STDOUT: %I.impl_witness.efa2fb.2: = impl_witness @C.as.I.impl.e127ba.2.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.facet.28dc3d.2: %I.type = facet_value %C, (%I.impl_witness.efa2fb.2) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -632,11 +632,11 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %I.decl: type = interface_decl @I [concrete = constants.%I.type] {} {} -// CHECK:STDOUT: impl_decl @C.as.I.impl.515158.1 [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.I.impl.e127ba.1 [concrete] {} { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.I.impl.515158.2 [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.I.impl.e127ba.2 [concrete] {} { // CHECK:STDOUT: %C.ref.loc17_7: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %C.ref.loc17_10: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc17_11.1: %tuple.type = tuple_literal (%C.ref.loc17_7, %C.ref.loc17_10) [concrete = constants.%tuple] @@ -659,18 +659,18 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.I.impl.515158.1: %C.ref as %I.ref { -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.515158.1 [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.d1137e.1] +// CHECK:STDOUT: impl @C.as.I.impl.e127ba.1: %C.ref as %I.ref { +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.e127ba.1 [concrete] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.efa2fb.1] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %I.ref // CHECK:STDOUT: witness = %I.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.I.impl.515158.2: %tuple.elem0 as %I.ref { -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.515158.2 [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.d1137e.2] +// CHECK:STDOUT: impl @C.as.I.impl.e127ba.2: %tuple.elem0 as %I.ref { +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.e127ba.2 [concrete] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.efa2fb.2] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %I.ref @@ -683,11 +683,11 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.ad2cfe.1) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.28dc3d.1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.ad2cfe.2) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.28dc3d.2) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -700,19 +700,19 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.impl_witness: = impl_witness @T.as.I.impl.d7ae7e.1.%I.impl_witness_table, @T.as.I.impl.d7ae7e.1(%T) [symbolic] -// CHECK:STDOUT: %T.as.I.impl.A.type: type = fn_type @T.as.I.impl.A, @T.as.I.impl.d7ae7e.1(%T) [symbolic] +// CHECK:STDOUT: %I.impl_witness: = impl_witness @T.as.I.impl.aab3b5.1.%I.impl_witness_table, @T.as.I.impl.aab3b5.1(%T) [symbolic] +// CHECK:STDOUT: %T.as.I.impl.A.type: type = fn_type @T.as.I.impl.A, @T.as.I.impl.aab3b5.1(%T) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %T.as.I.impl.A: %T.as.I.impl.A.type = struct_value () [symbolic] // CHECK:STDOUT: %I.facet: %I.type = facet_value %T, (%I.impl_witness) [symbolic] -// CHECK:STDOUT: %T.as.I.impl.B.type: type = fn_type @T.as.I.impl.B, @T.as.I.impl.d7ae7e.2(%T) [symbolic] +// CHECK:STDOUT: %T.as.I.impl.B.type: type = fn_type @T.as.I.impl.B, @T.as.I.impl.aab3b5.2(%T) [symbolic] // CHECK:STDOUT: %T.as.I.impl.B: %T.as.I.impl.B.type = struct_value () [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %.262: Core.Form = init_form %empty_tuple.type [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] -// CHECK:STDOUT: %T.as.I.impl.C.type: type = fn_type @T.as.I.impl.C, @T.as.I.impl.d7ae7e.2(%T) [symbolic] +// CHECK:STDOUT: %T.as.I.impl.C.type: type = fn_type @T.as.I.impl.C, @T.as.I.impl.aab3b5.2(%T) [symbolic] // CHECK:STDOUT: %T.as.I.impl.C: %T.as.I.impl.C.type = struct_value () [symbolic] -// CHECK:STDOUT: %T.as.I.impl.D.type: type = fn_type @T.as.I.impl.D, @T.as.I.impl.d7ae7e.2(%T) [symbolic] +// CHECK:STDOUT: %T.as.I.impl.D.type: type = fn_type @T.as.I.impl.D, @T.as.I.impl.aab3b5.2(%T) [symbolic] // CHECK:STDOUT: %T.as.I.impl.D: %T.as.I.impl.D.type = struct_value () [symbolic] // CHECK:STDOUT: %T.as.I.impl.C.specific_fn: = specific_function %T.as.I.impl.C, @T.as.I.impl.C(%T) [symbolic] // CHECK:STDOUT: } @@ -731,7 +731,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %I.decl: type = interface_decl @I [concrete = constants.%I.type] {} {} -// CHECK:STDOUT: impl_decl @T.as.I.impl.d7ae7e.1 [concrete] { +// CHECK:STDOUT: impl_decl @T.as.I.impl.aab3b5.1 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc4_15.2 [symbolic = %T.loc4_15.1 (constants.%T)] @@ -742,7 +742,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc4_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc4_15.1 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as.I.impl.d7ae7e.2 [concrete] { +// CHECK:STDOUT: impl_decl @T.as.I.impl.aab3b5.2 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc15_15.2 [symbolic = %T.loc15_15.1 (constants.%T)] @@ -766,18 +766,18 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as.I.impl.d7ae7e.1(%T.loc4_15.2: type) { +// CHECK:STDOUT: generic impl @T.as.I.impl.aab3b5.1(%T.loc4_15.2: type) { // CHECK:STDOUT: %T.loc4_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_15.1 (constants.%T)] -// CHECK:STDOUT: %I.impl_witness.loc4_31.2: = impl_witness %I.impl_witness_table, @T.as.I.impl.d7ae7e.1(%T.loc4_15.1) [symbolic = %I.impl_witness.loc4_31.2 (constants.%I.impl_witness)] +// CHECK:STDOUT: %I.impl_witness.loc4_31.2: = impl_witness %I.impl_witness_table, @T.as.I.impl.aab3b5.1(%T.loc4_15.1) [symbolic = %I.impl_witness.loc4_31.2 (constants.%I.impl_witness)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as.I.impl.A.type: type = fn_type @T.as.I.impl.A, @T.as.I.impl.d7ae7e.1(%T.loc4_15.1) [symbolic = %T.as.I.impl.A.type (constants.%T.as.I.impl.A.type)] -// CHECK:STDOUT: %T.as.I.impl.A: @T.as.I.impl.d7ae7e.1.%T.as.I.impl.A.type (%T.as.I.impl.A.type) = struct_value () [symbolic = %T.as.I.impl.A (constants.%T.as.I.impl.A)] +// CHECK:STDOUT: %T.as.I.impl.A.type: type = fn_type @T.as.I.impl.A, @T.as.I.impl.aab3b5.1(%T.loc4_15.1) [symbolic = %T.as.I.impl.A.type (constants.%T.as.I.impl.A.type)] +// CHECK:STDOUT: %T.as.I.impl.A: @T.as.I.impl.aab3b5.1.%T.as.I.impl.A.type (%T.as.I.impl.A.type) = struct_value () [symbolic = %T.as.I.impl.A (constants.%T.as.I.impl.A)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %T.ref as %I.ref { -// CHECK:STDOUT: %T.as.I.impl.A.decl: @T.as.I.impl.d7ae7e.1.%T.as.I.impl.A.type (%T.as.I.impl.A.type) = fn_decl @T.as.I.impl.A [symbolic = @T.as.I.impl.d7ae7e.1.%T.as.I.impl.A (constants.%T.as.I.impl.A)] {} {} -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @T.as.I.impl.d7ae7e.1 [concrete] -// CHECK:STDOUT: %I.impl_witness.loc4_31.1: = impl_witness %I.impl_witness_table, @T.as.I.impl.d7ae7e.1(constants.%T) [symbolic = %I.impl_witness.loc4_31.2 (constants.%I.impl_witness)] +// CHECK:STDOUT: %T.as.I.impl.A.decl: @T.as.I.impl.aab3b5.1.%T.as.I.impl.A.type (%T.as.I.impl.A.type) = fn_decl @T.as.I.impl.A [symbolic = @T.as.I.impl.aab3b5.1.%T.as.I.impl.A (constants.%T.as.I.impl.A)] {} {} +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @T.as.I.impl.aab3b5.1 [concrete] +// CHECK:STDOUT: %I.impl_witness.loc4_31.1: = impl_witness %I.impl_witness_table, @T.as.I.impl.aab3b5.1(constants.%T) [symbolic = %I.impl_witness.loc4_31.2 (constants.%I.impl_witness)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .A = %T.as.I.impl.A.decl @@ -786,20 +786,20 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as.I.impl.d7ae7e.2(%T.loc15_15.2: type) { +// CHECK:STDOUT: generic impl @T.as.I.impl.aab3b5.2(%T.loc15_15.2: type) { // CHECK:STDOUT: %T.loc15_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc15_15.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as.I.impl.B.type: type = fn_type @T.as.I.impl.B, @T.as.I.impl.d7ae7e.2(%T.loc15_15.1) [symbolic = %T.as.I.impl.B.type (constants.%T.as.I.impl.B.type)] -// CHECK:STDOUT: %T.as.I.impl.B: @T.as.I.impl.d7ae7e.2.%T.as.I.impl.B.type (%T.as.I.impl.B.type) = struct_value () [symbolic = %T.as.I.impl.B (constants.%T.as.I.impl.B)] -// CHECK:STDOUT: %T.as.I.impl.C.type: type = fn_type @T.as.I.impl.C, @T.as.I.impl.d7ae7e.2(%T.loc15_15.1) [symbolic = %T.as.I.impl.C.type (constants.%T.as.I.impl.C.type)] -// CHECK:STDOUT: %T.as.I.impl.C: @T.as.I.impl.d7ae7e.2.%T.as.I.impl.C.type (%T.as.I.impl.C.type) = struct_value () [symbolic = %T.as.I.impl.C (constants.%T.as.I.impl.C)] -// CHECK:STDOUT: %T.as.I.impl.D.type: type = fn_type @T.as.I.impl.D, @T.as.I.impl.d7ae7e.2(%T.loc15_15.1) [symbolic = %T.as.I.impl.D.type (constants.%T.as.I.impl.D.type)] -// CHECK:STDOUT: %T.as.I.impl.D: @T.as.I.impl.d7ae7e.2.%T.as.I.impl.D.type (%T.as.I.impl.D.type) = struct_value () [symbolic = %T.as.I.impl.D (constants.%T.as.I.impl.D)] +// CHECK:STDOUT: %T.as.I.impl.B.type: type = fn_type @T.as.I.impl.B, @T.as.I.impl.aab3b5.2(%T.loc15_15.1) [symbolic = %T.as.I.impl.B.type (constants.%T.as.I.impl.B.type)] +// CHECK:STDOUT: %T.as.I.impl.B: @T.as.I.impl.aab3b5.2.%T.as.I.impl.B.type (%T.as.I.impl.B.type) = struct_value () [symbolic = %T.as.I.impl.B (constants.%T.as.I.impl.B)] +// CHECK:STDOUT: %T.as.I.impl.C.type: type = fn_type @T.as.I.impl.C, @T.as.I.impl.aab3b5.2(%T.loc15_15.1) [symbolic = %T.as.I.impl.C.type (constants.%T.as.I.impl.C.type)] +// CHECK:STDOUT: %T.as.I.impl.C: @T.as.I.impl.aab3b5.2.%T.as.I.impl.C.type (%T.as.I.impl.C.type) = struct_value () [symbolic = %T.as.I.impl.C (constants.%T.as.I.impl.C)] +// CHECK:STDOUT: %T.as.I.impl.D.type: type = fn_type @T.as.I.impl.D, @T.as.I.impl.aab3b5.2(%T.loc15_15.1) [symbolic = %T.as.I.impl.D.type (constants.%T.as.I.impl.D.type)] +// CHECK:STDOUT: %T.as.I.impl.D: @T.as.I.impl.aab3b5.2.%T.as.I.impl.D.type (%T.as.I.impl.D.type) = struct_value () [symbolic = %T.as.I.impl.D (constants.%T.as.I.impl.D)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %T.ref as %I.ref { -// CHECK:STDOUT: %T.as.I.impl.B.decl: @T.as.I.impl.d7ae7e.2.%T.as.I.impl.B.type (%T.as.I.impl.B.type) = fn_decl @T.as.I.impl.B [symbolic = @T.as.I.impl.d7ae7e.2.%T.as.I.impl.B (constants.%T.as.I.impl.B)] {} {} -// CHECK:STDOUT: %T.as.I.impl.C.decl: @T.as.I.impl.d7ae7e.2.%T.as.I.impl.C.type (%T.as.I.impl.C.type) = fn_decl @T.as.I.impl.C [symbolic = @T.as.I.impl.d7ae7e.2.%T.as.I.impl.C (constants.%T.as.I.impl.C)] { +// CHECK:STDOUT: %T.as.I.impl.B.decl: @T.as.I.impl.aab3b5.2.%T.as.I.impl.B.type (%T.as.I.impl.B.type) = fn_decl @T.as.I.impl.B [symbolic = @T.as.I.impl.aab3b5.2.%T.as.I.impl.B (constants.%T.as.I.impl.B)] {} {} +// CHECK:STDOUT: %T.as.I.impl.C.decl: @T.as.I.impl.aab3b5.2.%T.as.I.impl.C.type (%T.as.I.impl.C.type) = fn_decl @T.as.I.impl.C [symbolic = @T.as.I.impl.aab3b5.2.%T.as.I.impl.C (constants.%T.as.I.impl.C)] { // CHECK:STDOUT: %return.param_patt: %pattern_type.cb1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.cb1 = return_slot_pattern %return.param_patt, %.loc19_14.2 [concrete] // CHECK:STDOUT: } { @@ -809,7 +809,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: %return.param: ref %empty_tuple.type = out_param call_param0 // CHECK:STDOUT: %return: ref %empty_tuple.type = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %T.as.I.impl.D.decl: @T.as.I.impl.d7ae7e.2.%T.as.I.impl.D.type (%T.as.I.impl.D.type) = fn_decl @T.as.I.impl.D [symbolic = @T.as.I.impl.d7ae7e.2.%T.as.I.impl.D (constants.%T.as.I.impl.D)] { +// CHECK:STDOUT: %T.as.I.impl.D.decl: @T.as.I.impl.aab3b5.2.%T.as.I.impl.D.type (%T.as.I.impl.D.type) = fn_decl @T.as.I.impl.D [symbolic = @T.as.I.impl.aab3b5.2.%T.as.I.impl.D (constants.%T.as.I.impl.D)] { // CHECK:STDOUT: %return.param_patt: %pattern_type.cb1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.cb1 = return_slot_pattern %return.param_patt, %.loc20_14.2 [concrete] // CHECK:STDOUT: } { @@ -829,7 +829,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @T.as.I.impl.A(@T.as.I.impl.d7ae7e.1.%T.loc4_15.2: type) { +// CHECK:STDOUT: generic fn @T.as.I.impl.A(@T.as.I.impl.aab3b5.1.%T.loc4_15.2: type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: fn() { @@ -838,7 +838,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @T.as.I.impl.B(@T.as.I.impl.d7ae7e.2.%T.loc15_15.2: type) { +// CHECK:STDOUT: generic fn @T.as.I.impl.B(@T.as.I.impl.aab3b5.2.%T.loc15_15.2: type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: fn() { @@ -847,7 +847,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @T.as.I.impl.C(@T.as.I.impl.d7ae7e.2.%T.loc15_15.2: type) { +// CHECK:STDOUT: generic fn @T.as.I.impl.C(@T.as.I.impl.aab3b5.2.%T.loc15_15.2: type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: %empty_tuple.type { @@ -859,16 +859,16 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @T.as.I.impl.D(@T.as.I.impl.d7ae7e.2.%T.loc15_15.2: type) { +// CHECK:STDOUT: generic fn @T.as.I.impl.D(@T.as.I.impl.aab3b5.2.%T.loc15_15.2: type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %T.as.I.impl.C.type: type = fn_type @T.as.I.impl.C, @T.as.I.impl.d7ae7e.2(%T) [symbolic = %T.as.I.impl.C.type (constants.%T.as.I.impl.C.type)] +// CHECK:STDOUT: %T.as.I.impl.C.type: type = fn_type @T.as.I.impl.C, @T.as.I.impl.aab3b5.2(%T) [symbolic = %T.as.I.impl.C.type (constants.%T.as.I.impl.C.type)] // CHECK:STDOUT: %T.as.I.impl.C: @T.as.I.impl.D.%T.as.I.impl.C.type (%T.as.I.impl.C.type) = struct_value () [symbolic = %T.as.I.impl.C (constants.%T.as.I.impl.C)] // CHECK:STDOUT: %T.as.I.impl.C.specific_fn.loc21_12.2: = specific_function %T.as.I.impl.C, @T.as.I.impl.C(%T) [symbolic = %T.as.I.impl.C.specific_fn.loc21_12.2 (constants.%T.as.I.impl.C.specific_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: %empty_tuple.type { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %.loc21: @T.as.I.impl.D.%T.as.I.impl.C.type (%T.as.I.impl.C.type) = specific_constant @T.as.I.impl.d7ae7e.2.%T.as.I.impl.C.decl, @T.as.I.impl.d7ae7e.2(constants.%T) [symbolic = %T.as.I.impl.C (constants.%T.as.I.impl.C)] +// CHECK:STDOUT: %.loc21: @T.as.I.impl.D.%T.as.I.impl.C.type (%T.as.I.impl.C.type) = specific_constant @T.as.I.impl.aab3b5.2.%T.as.I.impl.C.decl, @T.as.I.impl.aab3b5.2(constants.%T) [symbolic = %T.as.I.impl.C (constants.%T.as.I.impl.C)] // CHECK:STDOUT: %C.ref: @T.as.I.impl.D.%T.as.I.impl.C.type (%T.as.I.impl.C.type) = name_ref C, %.loc21 [symbolic = %T.as.I.impl.C (constants.%T.as.I.impl.C)] // CHECK:STDOUT: %T.as.I.impl.C.specific_fn.loc21_12.1: = specific_function %C.ref, @T.as.I.impl.C(constants.%T) [symbolic = %T.as.I.impl.C.specific_fn.loc21_12.2 (constants.%T.as.I.impl.C.specific_fn)] // CHECK:STDOUT: %T.as.I.impl.C.call: init %empty_tuple.type = call %T.as.I.impl.C.specific_fn.loc21_12.1() @@ -880,7 +880,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as.I.impl.d7ae7e.1(constants.%T) { +// CHECK:STDOUT: specific @T.as.I.impl.aab3b5.1(constants.%T) { // CHECK:STDOUT: %T.loc4_15.1 => constants.%T // CHECK:STDOUT: %I.impl_witness.loc4_31.2 => constants.%I.impl_witness // CHECK:STDOUT: @@ -895,7 +895,7 @@ impl forall [T:! type] T as I { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as.I.impl.d7ae7e.2(constants.%T) { +// CHECK:STDOUT: specific @T.as.I.impl.aab3b5.2(constants.%T) { // CHECK:STDOUT: %T.loc15_15.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: diff --git a/toolchain/check/testdata/impl/impl_as.carbon b/toolchain/check/testdata/impl/impl_as.carbon index 5d95a2b894cf..b931f7238753 100644 --- a/toolchain/check/testdata/impl/impl_as.carbon +++ b/toolchain/check/testdata/impl/impl_as.carbon @@ -29,27 +29,27 @@ class C { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Simple.type: type = facet_type <@Simple> [concrete] -// CHECK:STDOUT: %Self.09f: %Simple.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Simple.WithSelf.F.type.e70: type = fn_type @Simple.WithSelf.F, @Simple.WithSelf(%Self.09f) [symbolic] +// CHECK:STDOUT: %Self.f68: %Simple.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Simple.WithSelf.F.type.b39: type = fn_type @Simple.WithSelf.F, @Simple.WithSelf(%Self.f68) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Simple.WithSelf.F.302: %Simple.WithSelf.F.type.e70 = struct_value () [symbolic] +// CHECK:STDOUT: %Simple.WithSelf.F.2fc: %Simple.WithSelf.F.type.b39 = struct_value () [symbolic] // CHECK:STDOUT: %Simple.assoc_type: type = assoc_entity_type @Simple [concrete] -// CHECK:STDOUT: %assoc0.7c7: %Simple.assoc_type = assoc_entity element0, @Simple.WithSelf.%Simple.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.985: %Simple.assoc_type = assoc_entity element0, @Simple.WithSelf.%Simple.WithSelf.F.decl [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %Simple.impl_witness: = impl_witness @C.as.Simple.impl.%Simple.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.Simple.impl.F.type: type = fn_type @C.as.Simple.impl.F [concrete] // CHECK:STDOUT: %C.as.Simple.impl.F: %C.as.Simple.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %Simple.facet: %Simple.type = facet_value %C, (%Simple.impl_witness) [concrete] -// CHECK:STDOUT: %Simple.WithSelf.F.type.3f0: type = fn_type @Simple.WithSelf.F, @Simple.WithSelf(%Simple.facet) [concrete] -// CHECK:STDOUT: %Simple.WithSelf.F.bbd: %Simple.WithSelf.F.type.3f0 = struct_value () [concrete] +// CHECK:STDOUT: %Simple.WithSelf.F.type.d59: type = fn_type @Simple.WithSelf.F, @Simple.WithSelf(%Simple.facet) [concrete] +// CHECK:STDOUT: %Simple.WithSelf.F.fa1: %Simple.WithSelf.F.type.d59 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc23_7.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc23_7.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -73,12 +73,12 @@ class C { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Simple { -// CHECK:STDOUT: %Self: %Simple.type = symbolic_binding Self, 0 [symbolic = constants.%Self.09f] +// CHECK:STDOUT: %Self: %Simple.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f68] // CHECK:STDOUT: %Simple.WithSelf.decl = interface_with_self_decl @Simple [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Simple.WithSelf.F.decl: @Simple.WithSelf.%Simple.WithSelf.F.type (%Simple.WithSelf.F.type.e70) = fn_decl @Simple.WithSelf.F [symbolic = @Simple.WithSelf.%Simple.WithSelf.F (constants.%Simple.WithSelf.F.302)] {} {} -// CHECK:STDOUT: %assoc0: %Simple.assoc_type = assoc_entity element0, %Simple.WithSelf.F.decl [concrete = constants.%assoc0.7c7] +// CHECK:STDOUT: %Simple.WithSelf.F.decl: @Simple.WithSelf.%Simple.WithSelf.F.type (%Simple.WithSelf.F.type.b39) = fn_decl @Simple.WithSelf.F [symbolic = @Simple.WithSelf.%Simple.WithSelf.F (constants.%Simple.WithSelf.F.2fc)] {} {} +// CHECK:STDOUT: %assoc0: %Simple.assoc_type = assoc_entity element0, %Simple.WithSelf.F.decl [concrete = constants.%assoc0.985] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -122,8 +122,8 @@ class C { // CHECK:STDOUT: fn @C.as.Simple.impl.F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.d7b = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.d7b = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt // CHECK:STDOUT: %.loc23_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -132,7 +132,7 @@ class C { // CHECK:STDOUT: assign %c.var, %.loc23_7 // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -144,20 +144,20 @@ class C { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Simple.WithSelf(constants.%Self.09f) { +// CHECK:STDOUT: specific @Simple.WithSelf(constants.%Self.f68) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.09f -// CHECK:STDOUT: %Simple.WithSelf.F.type => constants.%Simple.WithSelf.F.type.e70 -// CHECK:STDOUT: %Simple.WithSelf.F => constants.%Simple.WithSelf.F.302 +// CHECK:STDOUT: %Self => constants.%Self.f68 +// CHECK:STDOUT: %Simple.WithSelf.F.type => constants.%Simple.WithSelf.F.type.b39 +// CHECK:STDOUT: %Simple.WithSelf.F => constants.%Simple.WithSelf.F.2fc // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Simple.WithSelf.F(constants.%Self.09f) {} +// CHECK:STDOUT: specific @Simple.WithSelf.F(constants.%Self.f68) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple.WithSelf(constants.%Simple.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Simple.facet -// CHECK:STDOUT: %Simple.WithSelf.F.type => constants.%Simple.WithSelf.F.type.3f0 -// CHECK:STDOUT: %Simple.WithSelf.F => constants.%Simple.WithSelf.F.bbd +// CHECK:STDOUT: %Simple.WithSelf.F.type => constants.%Simple.WithSelf.F.type.d59 +// CHECK:STDOUT: %Simple.WithSelf.F => constants.%Simple.WithSelf.F.fa1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple.WithSelf.F(constants.%Simple.facet) {} diff --git a/toolchain/check/testdata/impl/impl_assoc_const_with_prelude.carbon b/toolchain/check/testdata/impl/impl_assoc_const_with_prelude.carbon index 3ebb14a9944e..57f04bb49d45 100644 --- a/toolchain/check/testdata/impl/impl_assoc_const_with_prelude.carbon +++ b/toolchain/check/testdata/impl/impl_assoc_const_with_prelude.carbon @@ -36,7 +36,7 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.769: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Bool.type: type = fn_type @Bool [concrete] // CHECK:STDOUT: %Bool: %Bool.type = struct_value () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] @@ -44,15 +44,15 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %struct_type.a.b.f50: type = struct_type {.a: bool, .b: %tuple.type.87c} [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %struct_type.a.b.666: type = struct_type {.a: bool, .b: %tuple.type.e5a} [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.d84: %I.assoc_type = assoc_entity element0, @I.WithSelf.%X [concrete] +// CHECK:STDOUT: %assoc0.2c7: %I.assoc_type = assoc_entity element0, @I.WithSelf.%X [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %.Self.c34: %I.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.c34 [symbolic_self] -// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self.c34, @I [symbolic_self] -// CHECK:STDOUT: %impl.elem0.ef4: %struct_type.a.b.f50 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] +// CHECK:STDOUT: %.Self.0a6: %I.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.0a6 [symbolic_self] +// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self.0a6, @I [symbolic_self] +// CHECK:STDOUT: %impl.elem0.17f: %struct_type.a.b.666 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] @@ -60,51 +60,51 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: %tuple.ad8: %tuple.type.f94 = tuple_value (%int_1.5b8, %int_2.ecc) [concrete] // CHECK:STDOUT: %struct_type.a.b.aa4: type = struct_type {.a: bool, .b: %tuple.type.f94} [concrete] // CHECK:STDOUT: %struct.e57: %struct_type.a.b.aa4 = struct_value (%true, %tuple.ad8) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ddb: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ddb) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.724: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.fa3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.724, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %tuple.03f: %tuple.type.87c = tuple_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %struct.e73: %struct_type.a.b.f50 = struct_value (%true, %tuple.03f) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %tuple.cd5: %tuple.type.e5a = tuple_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %struct.18a: %struct_type.a.b.666 = struct_value (%true, %tuple.cd5) [concrete] // CHECK:STDOUT: %false: bool = bool_literal false [concrete] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %SubWith.type.f67: type = generic_interface_type @SubWith [concrete] -// CHECK:STDOUT: %SubWith.generic: %SubWith.type.f67 = struct_value () [concrete] -// CHECK:STDOUT: %SubWith.type.b37: type = facet_type <@SubWith, @SubWith(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %SubWith.type.9de: type = generic_interface_type @SubWith [concrete] +// CHECK:STDOUT: %SubWith.generic: %SubWith.type.9de = struct_value () [concrete] +// CHECK:STDOUT: %SubWith.type.77f: type = facet_type <@SubWith, @SubWith(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %SubWith.impl_witness: = impl_witness imports.%SubWith.impl_witness_table [concrete] -// CHECK:STDOUT: %SubWith.facet: %SubWith.type.b37 = facet_value Core.IntLiteral, (%SubWith.impl_witness) [concrete] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type.306: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(Core.IntLiteral, %SubWith.facet) [concrete] -// CHECK:STDOUT: %.df3: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.306, %SubWith.facet [concrete] +// CHECK:STDOUT: %SubWith.facet: %SubWith.type.77f = facet_value Core.IntLiteral, (%SubWith.impl_witness) [concrete] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type.d73: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(Core.IntLiteral, %SubWith.facet) [concrete] +// CHECK:STDOUT: %.a8e: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.d73, %SubWith.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.SubWith.impl.Op.type: type = fn_type @Core.IntLiteral.as.SubWith.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.SubWith.impl.Op: %Core.IntLiteral.as.SubWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.SubWith.impl.Op.bound: = bound_method %int_3, %Core.IntLiteral.as.SubWith.impl.Op [concrete] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete] -// CHECK:STDOUT: %DivWith.type.1f0: type = generic_interface_type @DivWith [concrete] -// CHECK:STDOUT: %DivWith.generic: %DivWith.type.1f0 = struct_value () [concrete] -// CHECK:STDOUT: %DivWith.type.fba: type = facet_type <@DivWith, @DivWith(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %DivWith.type.2ae: type = generic_interface_type @DivWith [concrete] +// CHECK:STDOUT: %DivWith.generic: %DivWith.type.2ae = struct_value () [concrete] +// CHECK:STDOUT: %DivWith.type.ec9: type = facet_type <@DivWith, @DivWith(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %DivWith.impl_witness: = impl_witness imports.%DivWith.impl_witness_table [concrete] -// CHECK:STDOUT: %DivWith.facet: %DivWith.type.fba = facet_value Core.IntLiteral, (%DivWith.impl_witness) [concrete] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type.4d2: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(Core.IntLiteral, %DivWith.facet) [concrete] -// CHECK:STDOUT: %.2d2: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.4d2, %DivWith.facet [concrete] +// CHECK:STDOUT: %DivWith.facet: %DivWith.type.ec9 = facet_value Core.IntLiteral, (%DivWith.impl_witness) [concrete] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type.206: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(Core.IntLiteral, %DivWith.facet) [concrete] +// CHECK:STDOUT: %.701: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.206, %DivWith.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.DivWith.impl.Op.type: type = fn_type @Core.IntLiteral.as.DivWith.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.DivWith.impl.Op: %Core.IntLiteral.as.DivWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.DivWith.impl.Op.bound: = bound_method %int_4, %Core.IntLiteral.as.DivWith.impl.Op [concrete] -// CHECK:STDOUT: %I_where.type: type = facet_type <@I where %impl.elem0.ef4 = %struct.e73> [concrete] +// CHECK:STDOUT: %I_where.type: type = facet_type <@I where %impl.elem0.17f = %struct.18a> [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @empty_tuple.type.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %empty_tuple.type, (%I.impl_witness) [concrete] // CHECK:STDOUT: } @@ -121,17 +121,17 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/types/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.SubWith: %SubWith.type.f67 = import_ref Core//prelude/operators/arithmetic, SubWith, loaded [concrete = constants.%SubWith.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.SubWith: %SubWith.type.9de = import_ref Core//prelude/operators/arithmetic, SubWith, loaded [concrete = constants.%SubWith.generic] // CHECK:STDOUT: %Core.import_ref.abd97d.1 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.f45700.1: %Core.IntLiteral.as.SubWith.impl.Op.type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.SubWith.impl.Op] -// CHECK:STDOUT: %SubWith.impl_witness_table = impl_witness_table (%Core.import_ref.abd97d.1, %Core.import_ref.f45700.1), @Core.IntLiteral.as.SubWith.impl [concrete] -// CHECK:STDOUT: %Core.DivWith: %DivWith.type.1f0 = import_ref Core//prelude/operators/arithmetic, DivWith, loaded [concrete = constants.%DivWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63b02.1: %Core.IntLiteral.as.SubWith.impl.Op.type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.SubWith.impl.Op] +// CHECK:STDOUT: %SubWith.impl_witness_table = impl_witness_table (%Core.import_ref.abd97d.1, %Core.import_ref.f63b02.1), @Core.IntLiteral.as.SubWith.impl [concrete] +// CHECK:STDOUT: %Core.DivWith: %DivWith.type.2ae = import_ref Core//prelude/operators/arithmetic, DivWith, loaded [concrete = constants.%DivWith.generic] // CHECK:STDOUT: %Core.import_ref.abd97d.2 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.f45700.2: %Core.IntLiteral.as.DivWith.impl.Op.type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.DivWith.impl.Op] -// CHECK:STDOUT: %DivWith.impl_witness_table = impl_witness_table (%Core.import_ref.abd97d.2, %Core.import_ref.f45700.2), @Core.IntLiteral.as.DivWith.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63b02.2: %Core.IntLiteral.as.DivWith.impl.Op.type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.DivWith.impl.Op] +// CHECK:STDOUT: %DivWith.impl_witness_table = impl_witness_table (%Core.import_ref.abd97d.2, %Core.import_ref.f63b02.2), @Core.IntLiteral.as.DivWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -145,77 +145,77 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: %.loc6_7.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_7.2: type = converted %.loc6_7.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.c34] -// CHECK:STDOUT: %.Self.ref.loc6_20: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.c34] +// CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.0a6] +// CHECK:STDOUT: %.Self.ref.loc6_20: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.0a6] // CHECK:STDOUT: %.Self.as_type.loc6_20: type = facet_access_type %.Self.ref.loc6_20 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc6_20: type = converted %.Self.ref.loc6_20, %.Self.as_type.loc6_20 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %X.ref.loc6_20: %I.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.d84] -// CHECK:STDOUT: %impl.elem0.loc6_20: %struct_type.a.b.f50 = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.ef4] +// CHECK:STDOUT: %X.ref.loc6_20: %I.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.2c7] +// CHECK:STDOUT: %impl.elem0.loc6_20: %struct_type.a.b.666 = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.17f] // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc6_46: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc6_47.1: %tuple.type.f94 = tuple_literal (%int_1, %int_2.loc6_46) [concrete = constants.%tuple.ad8] // CHECK:STDOUT: %.loc6_48.1: %struct_type.a.b.aa4 = struct_literal (%true, %.loc6_47.1) [concrete = constants.%struct.e57] -// CHECK:STDOUT: %impl.elem0.loc6_47.1: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_47.1: = bound_method %int_1, %impl.elem0.loc6_47.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc6_47.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_47.1: = bound_method %int_1, %impl.elem0.loc6_47.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc6_47.1: = specific_function %impl.elem0.loc6_47.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_47.2: = bound_method %int_1, %specific_fn.loc6_47.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_47.1: init %i32 = call %bound_method.loc6_47.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc6_47.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_47.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc6_47.3: %i32 = converted %int_1, %.loc6_47.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc6_47.2: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_47.3: = bound_method %int_2.loc6_46, %impl.elem0.loc6_47.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc6_47.2: = bound_method %int_1, %specific_fn.loc6_47.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_47.1: init %i32 = call %bound_method.loc6_47.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc6_47.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_47.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc6_47.3: %i32 = converted %int_1, %.loc6_47.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc6_47.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_47.3: = bound_method %int_2.loc6_46, %impl.elem0.loc6_47.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc6_47.2: = specific_function %impl.elem0.loc6_47.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_47.4: = bound_method %int_2.loc6_46, %specific_fn.loc6_47.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_47.2: init %i32 = call %bound_method.loc6_47.4(%int_2.loc6_46) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc6_47.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_47.2 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc6_47.5: %i32 = converted %int_2.loc6_46, %.loc6_47.4 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %tuple.loc6_47: %tuple.type.87c = tuple_value (%.loc6_47.3, %.loc6_47.5) [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %.loc6_48.2: %tuple.type.87c = converted %.loc6_47.1, %tuple.loc6_47 [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %struct.loc6_48: %struct_type.a.b.f50 = struct_value (%true, %.loc6_48.2) [concrete = constants.%struct.e73] -// CHECK:STDOUT: %.loc6_48.3: %struct_type.a.b.f50 = converted %.loc6_48.1, %struct.loc6_48 [concrete = constants.%struct.e73] -// CHECK:STDOUT: %.Self.ref.loc6_54: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.c34] +// CHECK:STDOUT: %bound_method.loc6_47.4: = bound_method %int_2.loc6_46, %specific_fn.loc6_47.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_47.2: init %i32 = call %bound_method.loc6_47.4(%int_2.loc6_46) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc6_47.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_47.2 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc6_47.5: %i32 = converted %int_2.loc6_46, %.loc6_47.4 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %tuple.loc6_47: %tuple.type.e5a = tuple_value (%.loc6_47.3, %.loc6_47.5) [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %.loc6_48.2: %tuple.type.e5a = converted %.loc6_47.1, %tuple.loc6_47 [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %struct.loc6_48: %struct_type.a.b.666 = struct_value (%true, %.loc6_48.2) [concrete = constants.%struct.18a] +// CHECK:STDOUT: %.loc6_48.3: %struct_type.a.b.666 = converted %.loc6_48.1, %struct.loc6_48 [concrete = constants.%struct.18a] +// CHECK:STDOUT: %.Self.ref.loc6_54: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.0a6] // CHECK:STDOUT: %.Self.as_type.loc6_54: type = facet_access_type %.Self.ref.loc6_54 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc6_54: type = converted %.Self.ref.loc6_54, %.Self.as_type.loc6_54 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %X.ref.loc6_54: %I.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.d84] -// CHECK:STDOUT: %impl.elem0.loc6_54: %struct_type.a.b.f50 = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.ef4] -// CHECK:STDOUT: %impl.elem0.subst: %struct_type.a.b.f50 = impl_witness_access_substituted %impl.elem0.loc6_54, %.loc6_48.3 [concrete = constants.%struct.e73] +// CHECK:STDOUT: %X.ref.loc6_54: %I.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.2c7] +// CHECK:STDOUT: %impl.elem0.loc6_54: %struct_type.a.b.666 = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.17f] +// CHECK:STDOUT: %impl.elem0.subst: %struct_type.a.b.666 = impl_witness_access_substituted %impl.elem0.loc6_54, %.loc6_48.3 [concrete = constants.%struct.18a] // CHECK:STDOUT: %false: bool = bool_literal false [concrete = constants.%false] // CHECK:STDOUT: %.loc6_65: bool = not %false [concrete = constants.%true] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] // CHECK:STDOUT: %int_2.loc6_86: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem1.loc6_84: %.df3 = impl_witness_access constants.%SubWith.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.SubWith.impl.Op] +// CHECK:STDOUT: %impl.elem1.loc6_84: %.a8e = impl_witness_access constants.%SubWith.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.SubWith.impl.Op] // CHECK:STDOUT: %bound_method.loc6_84: = bound_method %int_3, %impl.elem1.loc6_84 [concrete = constants.%Core.IntLiteral.as.SubWith.impl.Op.bound] // CHECK:STDOUT: %Core.IntLiteral.as.SubWith.impl.Op.call: init Core.IntLiteral = call %bound_method.loc6_84(%int_3, %int_2.loc6_86) [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4] // CHECK:STDOUT: %int_2.loc6_93: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem1.loc6_91: %.2d2 = impl_witness_access constants.%DivWith.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.DivWith.impl.Op] +// CHECK:STDOUT: %impl.elem1.loc6_91: %.701 = impl_witness_access constants.%DivWith.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.DivWith.impl.Op] // CHECK:STDOUT: %bound_method.loc6_91: = bound_method %int_4, %impl.elem1.loc6_91 [concrete = constants.%Core.IntLiteral.as.DivWith.impl.Op.bound] // CHECK:STDOUT: %Core.IntLiteral.as.DivWith.impl.Op.call: init Core.IntLiteral = call %bound_method.loc6_91(%int_4, %int_2.loc6_93) [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc6_94.1: %tuple.type.f94 = tuple_literal (%Core.IntLiteral.as.SubWith.impl.Op.call, %Core.IntLiteral.as.DivWith.impl.Op.call) [concrete = constants.%tuple.ad8] // CHECK:STDOUT: %.loc6_95.1: %struct_type.a.b.aa4 = struct_literal (%.loc6_65, %.loc6_94.1) [concrete = constants.%struct.e57] -// CHECK:STDOUT: %impl.elem0.loc6_94.1: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_94.1: = bound_method %Core.IntLiteral.as.SubWith.impl.Op.call, %impl.elem0.loc6_94.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc6_94.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_94.1: = bound_method %Core.IntLiteral.as.SubWith.impl.Op.call, %impl.elem0.loc6_94.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc6_94.1: = specific_function %impl.elem0.loc6_94.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_94.2: = bound_method %Core.IntLiteral.as.SubWith.impl.Op.call, %specific_fn.loc6_94.1 [concrete = constants.%bound_method.33d] +// CHECK:STDOUT: %bound_method.loc6_94.2: = bound_method %Core.IntLiteral.as.SubWith.impl.Op.call, %specific_fn.loc6_94.1 [concrete = constants.%bound_method.e5b] // CHECK:STDOUT: %.loc6_84.1: Core.IntLiteral = value_of_initializer %Core.IntLiteral.as.SubWith.impl.Op.call [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc6_84.2: Core.IntLiteral = converted %Core.IntLiteral.as.SubWith.impl.Op.call, %.loc6_84.1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_94.1: init %i32 = call %bound_method.loc6_94.2(%.loc6_84.2) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc6_94.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_94.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc6_94.3: %i32 = converted %Core.IntLiteral.as.SubWith.impl.Op.call, %.loc6_94.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc6_94.2: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_94.3: = bound_method %Core.IntLiteral.as.DivWith.impl.Op.call, %impl.elem0.loc6_94.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_94.1: init %i32 = call %bound_method.loc6_94.2(%.loc6_84.2) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc6_94.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_94.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc6_94.3: %i32 = converted %Core.IntLiteral.as.SubWith.impl.Op.call, %.loc6_94.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc6_94.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_94.3: = bound_method %Core.IntLiteral.as.DivWith.impl.Op.call, %impl.elem0.loc6_94.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc6_94.2: = specific_function %impl.elem0.loc6_94.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_94.4: = bound_method %Core.IntLiteral.as.DivWith.impl.Op.call, %specific_fn.loc6_94.2 [concrete = constants.%bound_method.cc3] +// CHECK:STDOUT: %bound_method.loc6_94.4: = bound_method %Core.IntLiteral.as.DivWith.impl.Op.call, %specific_fn.loc6_94.2 [concrete = constants.%bound_method.7d5] // CHECK:STDOUT: %.loc6_91.1: Core.IntLiteral = value_of_initializer %Core.IntLiteral.as.DivWith.impl.Op.call [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc6_91.2: Core.IntLiteral = converted %Core.IntLiteral.as.DivWith.impl.Op.call, %.loc6_91.1 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_94.2: init %i32 = call %bound_method.loc6_94.4(%.loc6_91.2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc6_94.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_94.2 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc6_94.5: %i32 = converted %Core.IntLiteral.as.DivWith.impl.Op.call, %.loc6_94.4 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %tuple.loc6_94: %tuple.type.87c = tuple_value (%.loc6_94.3, %.loc6_94.5) [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %.loc6_95.2: %tuple.type.87c = converted %.loc6_94.1, %tuple.loc6_94 [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %struct.loc6_95: %struct_type.a.b.f50 = struct_value (%.loc6_65, %.loc6_95.2) [concrete = constants.%struct.e73] -// CHECK:STDOUT: %.loc6_95.3: %struct_type.a.b.f50 = converted %.loc6_95.1, %struct.loc6_95 [concrete = constants.%struct.e73] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_94.2: init %i32 = call %bound_method.loc6_94.4(%.loc6_91.2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc6_94.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_94.2 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc6_94.5: %i32 = converted %Core.IntLiteral.as.DivWith.impl.Op.call, %.loc6_94.4 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %tuple.loc6_94: %tuple.type.e5a = tuple_value (%.loc6_94.3, %.loc6_94.5) [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %.loc6_95.2: %tuple.type.e5a = converted %.loc6_94.1, %tuple.loc6_94 [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %struct.loc6_95: %struct_type.a.b.666 = struct_value (%.loc6_65, %.loc6_95.2) [concrete = constants.%struct.18a] +// CHECK:STDOUT: %.loc6_95.3: %struct_type.a.b.666 = converted %.loc6_95.1, %struct.loc6_95 [concrete = constants.%struct.18a] // CHECK:STDOUT: %.loc6_14: type = where_expr [concrete = constants.%I_where.type] { // CHECK:STDOUT: requirement_base_facet_type %I.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc6_20, %.loc6_48.3 @@ -225,12 +225,12 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.769] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %X: %struct_type.a.b.f50 = assoc_const_decl @X [concrete] { -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%X [concrete = constants.%assoc0.d84] +// CHECK:STDOUT: %X: %struct_type.a.b.666 = assoc_const_decl @X [concrete] { +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%X [concrete = constants.%assoc0.2c7] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -244,18 +244,18 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: impl @empty_tuple.type.as.I.impl: %.loc6_7.2 as %.loc6_14 { // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @empty_tuple.type.as.I.impl [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness] -// CHECK:STDOUT: %impl_witness_assoc_constant: %struct_type.a.b.f50 = impl_witness_assoc_constant constants.%struct.e73 [concrete = constants.%struct.e73] +// CHECK:STDOUT: %impl_witness_assoc_constant: %struct_type.a.b.666 = impl_witness_assoc_constant constants.%struct.18a [concrete = constants.%struct.18a] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %.loc6_14 // CHECK:STDOUT: witness = %I.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.769) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.c34) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.0a6) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -267,7 +267,7 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.9de: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Bool.type: type = fn_type @Bool [concrete] // CHECK:STDOUT: %Bool: %Bool.type = struct_value () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] @@ -275,15 +275,15 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %struct_type.a.b.f50: type = struct_type {.a: bool, .b: %tuple.type.87c} [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %struct_type.a.b.666: type = struct_type {.a: bool, .b: %tuple.type.e5a} [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.6cd: %I.assoc_type = assoc_entity element0, @I.WithSelf.%X [concrete] +// CHECK:STDOUT: %assoc0.2c7: %I.assoc_type = assoc_entity element0, @I.WithSelf.%X [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self, @I [symbolic_self] -// CHECK:STDOUT: %impl.elem0.61a: %struct_type.a.b.f50 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] +// CHECK:STDOUT: %impl.elem0.17f: %struct_type.a.b.666 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] @@ -291,40 +291,40 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: %tuple.ad8: %tuple.type.f94 = tuple_value (%int_1.5b8, %int_2.ecc) [concrete] // CHECK:STDOUT: %struct_type.a.b.aa4: type = struct_type {.a: bool, .b: %tuple.type.f94} [concrete] // CHECK:STDOUT: %struct.e57: %struct_type.a.b.aa4 = struct_value (%true, %tuple.ad8) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ddb: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ddb) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.724: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.fa3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.724, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %tuple.03f: %tuple.type.87c = tuple_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %struct.e73: %struct_type.a.b.f50 = struct_value (%true, %tuple.03f) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %tuple.cd5: %tuple.type.e5a = tuple_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %struct.18a: %struct_type.a.b.666 = struct_value (%true, %tuple.cd5) [concrete] // CHECK:STDOUT: %false: bool = bool_literal false [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] // CHECK:STDOUT: %tuple.302: %tuple.type.f94 = tuple_value (%int_3.1ba, %int_4.0c1) [concrete] // CHECK:STDOUT: %struct.1ec: %struct_type.a.b.aa4 = struct_value (%false, %tuple.302) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] -// CHECK:STDOUT: %tuple.c59: %tuple.type.87c = tuple_value (%int_3.49a, %int_4.a7d) [concrete] -// CHECK:STDOUT: %struct.6c7: %struct_type.a.b.f50 = struct_value (%false, %tuple.c59) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %tuple.30d: %tuple.type.e5a = tuple_value (%int_3.6cc, %int_4.a4d) [concrete] +// CHECK:STDOUT: %struct.1a7: %struct_type.a.b.666 = struct_value (%false, %tuple.30d) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -337,9 +337,9 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/types/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -357,60 +357,60 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: %.Self.ref.loc10_20: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc10_20: type = facet_access_type %.Self.ref.loc10_20 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_20: type = converted %.Self.ref.loc10_20, %.Self.as_type.loc10_20 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %X.ref.loc10_20: %I.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.6cd] -// CHECK:STDOUT: %impl.elem0.loc10_20: %struct_type.a.b.f50 = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.61a] +// CHECK:STDOUT: %X.ref.loc10_20: %I.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.2c7] +// CHECK:STDOUT: %impl.elem0.loc10_20: %struct_type.a.b.666 = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.17f] // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc10_47.1: %tuple.type.f94 = tuple_literal (%int_1, %int_2) [concrete = constants.%tuple.ad8] // CHECK:STDOUT: %.loc10_48.1: %struct_type.a.b.aa4 = struct_literal (%true, %.loc10_47.1) [concrete = constants.%struct.e57] -// CHECK:STDOUT: %impl.elem0.loc10_47.1: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_47.1: = bound_method %int_1, %impl.elem0.loc10_47.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc10_47.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_47.1: = bound_method %int_1, %impl.elem0.loc10_47.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc10_47.1: = specific_function %impl.elem0.loc10_47.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_47.2: = bound_method %int_1, %specific_fn.loc10_47.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_47.1: init %i32 = call %bound_method.loc10_47.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_47.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_47.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_47.3: %i32 = converted %int_1, %.loc10_47.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc10_47.2: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_47.3: = bound_method %int_2, %impl.elem0.loc10_47.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc10_47.2: = bound_method %int_1, %specific_fn.loc10_47.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_47.1: init %i32 = call %bound_method.loc10_47.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_47.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_47.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_47.3: %i32 = converted %int_1, %.loc10_47.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc10_47.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_47.3: = bound_method %int_2, %impl.elem0.loc10_47.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc10_47.2: = specific_function %impl.elem0.loc10_47.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_47.4: = bound_method %int_2, %specific_fn.loc10_47.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_47.2: init %i32 = call %bound_method.loc10_47.4(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_47.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_47.2 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_47.5: %i32 = converted %int_2, %.loc10_47.4 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %tuple.loc10_47: %tuple.type.87c = tuple_value (%.loc10_47.3, %.loc10_47.5) [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %.loc10_48.2: %tuple.type.87c = converted %.loc10_47.1, %tuple.loc10_47 [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %struct.loc10_48: %struct_type.a.b.f50 = struct_value (%true, %.loc10_48.2) [concrete = constants.%struct.e73] -// CHECK:STDOUT: %.loc10_48.3: %struct_type.a.b.f50 = converted %.loc10_48.1, %struct.loc10_48 [concrete = constants.%struct.e73] +// CHECK:STDOUT: %bound_method.loc10_47.4: = bound_method %int_2, %specific_fn.loc10_47.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_47.2: init %i32 = call %bound_method.loc10_47.4(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_47.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_47.2 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_47.5: %i32 = converted %int_2, %.loc10_47.4 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %tuple.loc10_47: %tuple.type.e5a = tuple_value (%.loc10_47.3, %.loc10_47.5) [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %.loc10_48.2: %tuple.type.e5a = converted %.loc10_47.1, %tuple.loc10_47 [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %struct.loc10_48: %struct_type.a.b.666 = struct_value (%true, %.loc10_48.2) [concrete = constants.%struct.18a] +// CHECK:STDOUT: %.loc10_48.3: %struct_type.a.b.666 = converted %.loc10_48.1, %struct.loc10_48 [concrete = constants.%struct.18a] // CHECK:STDOUT: %.Self.ref.loc10_54: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc10_54: type = facet_access_type %.Self.ref.loc10_54 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_54: type = converted %.Self.ref.loc10_54, %.Self.as_type.loc10_54 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %X.ref.loc10_54: %I.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.6cd] -// CHECK:STDOUT: %impl.elem0.loc10_54: %struct_type.a.b.f50 = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.61a] -// CHECK:STDOUT: %impl.elem0.subst: %struct_type.a.b.f50 = impl_witness_access_substituted %impl.elem0.loc10_54, %.loc10_48.3 [concrete = constants.%struct.e73] +// CHECK:STDOUT: %X.ref.loc10_54: %I.assoc_type = name_ref X, @X.%assoc0 [concrete = constants.%assoc0.2c7] +// CHECK:STDOUT: %impl.elem0.loc10_54: %struct_type.a.b.666 = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.17f] +// CHECK:STDOUT: %impl.elem0.subst: %struct_type.a.b.666 = impl_witness_access_substituted %impl.elem0.loc10_54, %.loc10_48.3 [concrete = constants.%struct.18a] // CHECK:STDOUT: %false: bool = bool_literal false [concrete = constants.%false] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] // CHECK:STDOUT: %.loc10_82.1: %tuple.type.f94 = tuple_literal (%int_3, %int_4) [concrete = constants.%tuple.302] // CHECK:STDOUT: %.loc10_83.1: %struct_type.a.b.aa4 = struct_literal (%false, %.loc10_82.1) [concrete = constants.%struct.1ec] -// CHECK:STDOUT: %impl.elem0.loc10_82.1: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_82.1: = bound_method %int_3, %impl.elem0.loc10_82.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc10_82.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_82.1: = bound_method %int_3, %impl.elem0.loc10_82.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc10_82.1: = specific_function %impl.elem0.loc10_82.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_82.2: = bound_method %int_3, %specific_fn.loc10_82.1 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_82.1: init %i32 = call %bound_method.loc10_82.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc10_82.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_82.1 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc10_82.3: %i32 = converted %int_3, %.loc10_82.2 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %impl.elem0.loc10_82.2: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_82.3: = bound_method %int_4, %impl.elem0.loc10_82.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %bound_method.loc10_82.2: = bound_method %int_3, %specific_fn.loc10_82.1 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_82.1: init %i32 = call %bound_method.loc10_82.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc10_82.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_82.1 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc10_82.3: %i32 = converted %int_3, %.loc10_82.2 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %impl.elem0.loc10_82.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_82.3: = bound_method %int_4, %impl.elem0.loc10_82.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc10_82.2: = specific_function %impl.elem0.loc10_82.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_82.4: = bound_method %int_4, %specific_fn.loc10_82.2 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_82.2: init %i32 = call %bound_method.loc10_82.4(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc10_82.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_82.2 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc10_82.5: %i32 = converted %int_4, %.loc10_82.4 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %tuple.loc10_82: %tuple.type.87c = tuple_value (%.loc10_82.3, %.loc10_82.5) [concrete = constants.%tuple.c59] -// CHECK:STDOUT: %.loc10_83.2: %tuple.type.87c = converted %.loc10_82.1, %tuple.loc10_82 [concrete = constants.%tuple.c59] -// CHECK:STDOUT: %struct.loc10_83: %struct_type.a.b.f50 = struct_value (%false, %.loc10_83.2) [concrete = constants.%struct.6c7] -// CHECK:STDOUT: %.loc10_83.3: %struct_type.a.b.f50 = converted %.loc10_83.1, %struct.loc10_83 [concrete = constants.%struct.6c7] +// CHECK:STDOUT: %bound_method.loc10_82.4: = bound_method %int_4, %specific_fn.loc10_82.2 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_82.2: init %i32 = call %bound_method.loc10_82.4(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc10_82.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_82.2 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc10_82.5: %i32 = converted %int_4, %.loc10_82.4 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %tuple.loc10_82: %tuple.type.e5a = tuple_value (%.loc10_82.3, %.loc10_82.5) [concrete = constants.%tuple.30d] +// CHECK:STDOUT: %.loc10_83.2: %tuple.type.e5a = converted %.loc10_82.1, %tuple.loc10_82 [concrete = constants.%tuple.30d] +// CHECK:STDOUT: %struct.loc10_83: %struct_type.a.b.666 = struct_value (%false, %.loc10_83.2) [concrete = constants.%struct.1a7] +// CHECK:STDOUT: %.loc10_83.3: %struct_type.a.b.666 = converted %.loc10_83.1, %struct.loc10_83 [concrete = constants.%struct.1a7] // CHECK:STDOUT: %.loc10_14: type = where_expr [concrete = ] { // CHECK:STDOUT: requirement_base_facet_type %I.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc10_20, %.loc10_48.3 @@ -420,12 +420,12 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.9de] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %X: %struct_type.a.b.f50 = assoc_const_decl @X [concrete] { -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%X [concrete = constants.%assoc0.6cd] +// CHECK:STDOUT: %X: %struct_type.a.b.666 = assoc_const_decl @X [concrete] { +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%X [concrete = constants.%assoc0.2c7] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -442,7 +442,7 @@ impl () as I where .X = {.a = true, .b = (1, 2)} and .X = {.a = false, .b = (3, // CHECK:STDOUT: witness = // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.9de) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/impl_forall.carbon b/toolchain/check/testdata/impl/impl_forall.carbon index 86d6891a375e..176b831b04b2 100644 --- a/toolchain/check/testdata/impl/impl_forall.carbon +++ b/toolchain/check/testdata/impl/impl_forall.carbon @@ -25,8 +25,8 @@ impl forall [T:! type] T as Simple { // CHECK:STDOUT: constants { // CHECK:STDOUT: %Simple.type: type = facet_type <@Simple> [concrete] // CHECK:STDOUT: %Self: %Simple.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Simple.WithSelf.F.type.e70: type = fn_type @Simple.WithSelf.F, @Simple.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %Simple.WithSelf.F.302: %Simple.WithSelf.F.type.e70 = struct_value () [symbolic] +// CHECK:STDOUT: %Simple.WithSelf.F.type.b39: type = fn_type @Simple.WithSelf.F, @Simple.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %Simple.WithSelf.F.2fc: %Simple.WithSelf.F.type.b39 = struct_value () [symbolic] // CHECK:STDOUT: %Simple.assoc_type: type = assoc_entity_type @Simple [concrete] // CHECK:STDOUT: %assoc0: %Simple.assoc_type = assoc_entity element0, @Simple.WithSelf.%Simple.WithSelf.F.decl [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] @@ -37,8 +37,8 @@ impl forall [T:! type] T as Simple { // CHECK:STDOUT: %T.as.Simple.impl.F.type: type = fn_type @T.as.Simple.impl.F, @T.as.Simple.impl(%T) [symbolic] // CHECK:STDOUT: %T.as.Simple.impl.F: %T.as.Simple.impl.F.type = struct_value () [symbolic] // CHECK:STDOUT: %Simple.facet: %Simple.type = facet_value %T, (%Simple.impl_witness) [symbolic] -// CHECK:STDOUT: %Simple.WithSelf.F.type.54e: type = fn_type @Simple.WithSelf.F, @Simple.WithSelf(%Simple.facet) [symbolic] -// CHECK:STDOUT: %Simple.WithSelf.F.0a3: %Simple.WithSelf.F.type.54e = struct_value () [symbolic] +// CHECK:STDOUT: %Simple.WithSelf.F.type.d1b: type = fn_type @Simple.WithSelf.F, @Simple.WithSelf(%Simple.facet) [symbolic] +// CHECK:STDOUT: %Simple.WithSelf.F.633: %Simple.WithSelf.F.type.d1b = struct_value () [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -64,7 +64,7 @@ impl forall [T:! type] T as Simple { // CHECK:STDOUT: %Simple.WithSelf.decl = interface_with_self_decl @Simple [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Simple.WithSelf.F.decl: @Simple.WithSelf.%Simple.WithSelf.F.type (%Simple.WithSelf.F.type.e70) = fn_decl @Simple.WithSelf.F [symbolic = @Simple.WithSelf.%Simple.WithSelf.F (constants.%Simple.WithSelf.F.302)] {} {} +// CHECK:STDOUT: %Simple.WithSelf.F.decl: @Simple.WithSelf.%Simple.WithSelf.F.type (%Simple.WithSelf.F.type.b39) = fn_decl @Simple.WithSelf.F [symbolic = @Simple.WithSelf.%Simple.WithSelf.F (constants.%Simple.WithSelf.F.2fc)] {} {} // CHECK:STDOUT: %assoc0: %Simple.assoc_type = assoc_entity element0, %Simple.WithSelf.F.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -111,8 +111,8 @@ impl forall [T:! type] T as Simple { // CHECK:STDOUT: specific @Simple.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %Simple.WithSelf.F.type => constants.%Simple.WithSelf.F.type.e70 -// CHECK:STDOUT: %Simple.WithSelf.F => constants.%Simple.WithSelf.F.302 +// CHECK:STDOUT: %Simple.WithSelf.F.type => constants.%Simple.WithSelf.F.type.b39 +// CHECK:STDOUT: %Simple.WithSelf.F => constants.%Simple.WithSelf.F.2fc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple.WithSelf.F(constants.%Self) {} @@ -131,8 +131,8 @@ impl forall [T:! type] T as Simple { // CHECK:STDOUT: specific @Simple.WithSelf(constants.%Simple.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Simple.facet -// CHECK:STDOUT: %Simple.WithSelf.F.type => constants.%Simple.WithSelf.F.type.54e -// CHECK:STDOUT: %Simple.WithSelf.F => constants.%Simple.WithSelf.F.0a3 +// CHECK:STDOUT: %Simple.WithSelf.F.type => constants.%Simple.WithSelf.F.type.d1b +// CHECK:STDOUT: %Simple.WithSelf.F => constants.%Simple.WithSelf.F.633 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple.WithSelf.F(constants.%Simple.facet) {} diff --git a/toolchain/check/testdata/impl/impl_thunk.carbon b/toolchain/check/testdata/impl/impl_thunk.carbon index 23765d8c55e8..b0e10855f33e 100644 --- a/toolchain/check/testdata/impl/impl_thunk.carbon +++ b/toolchain/check/testdata/impl/impl_thunk.carbon @@ -356,18 +356,18 @@ impl () as I({}) { // CHECK:STDOUT: %struct_type.d.c.b36: type = struct_type {.d: %empty_struct_type, .c: %empty_tuple.type} [concrete] // CHECK:STDOUT: %.4b1: Core.Form = init_form %struct_type.d.c.b36 [concrete] // CHECK:STDOUT: %pattern_type.844: type = pattern_type %struct_type.d.c.b36 [concrete] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.b35c8e.1: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_48.1 [concrete] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.341248.1: %empty_tuple.type.as.I.impl.F.type.b35c8e.1 = struct_value () [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.9e994f.1: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_48.1 [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.c7843c.1: %empty_tuple.type.as.I.impl.F.type.9e994f.1 = struct_value () [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %empty_tuple.type, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.b35c8e.2: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_48.2 [concrete] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.341248.2: %empty_tuple.type.as.I.impl.F.type.b35c8e.2 = struct_value () [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.9e994f.2: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_48.2 [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.c7843c.2: %empty_tuple.type.as.I.impl.F.type.9e994f.2 = struct_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.c.d.15a = struct_value (%empty_tuple, %empty_struct) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc10_48.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc10_48.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.I.impl: %.loc8_7.2 as %I.ref { -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_48.1: %empty_tuple.type.as.I.impl.F.type.b35c8e.1 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_48.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.341248.1] { +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_48.1: %empty_tuple.type.as.I.impl.F.type.9e994f.1 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_48.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.c7843c.1] { // CHECK:STDOUT: %y.param_patt: %pattern_type.231 = value_param_pattern [concrete] // CHECK:STDOUT: %y.patt: %pattern_type.231 = at_binding_pattern y, %y.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.844 = out_param_pattern [concrete] @@ -392,7 +392,7 @@ impl () as I({}) { // CHECK:STDOUT: %return: ref %struct_type.d.c.b36 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_48.2: %empty_tuple.type.as.I.impl.F.type.b35c8e.2 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_48.2 [concrete = constants.%empty_tuple.type.as.I.impl.F.341248.2] { +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_48.2: %empty_tuple.type.as.I.impl.F.type.9e994f.2 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_48.2 [concrete = constants.%empty_tuple.type.as.I.impl.F.c7843c.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: @@ -409,7 +409,7 @@ impl () as I({}) { // CHECK:STDOUT: // CHECK:STDOUT: fn @empty_tuple.type.as.I.impl.F.loc10_48.2(%x.param: %struct_type.a.b.391) -> out %return.param: %struct_type.c.d.15a [thunk @empty_tuple.type.as.I.impl.%empty_tuple.type.as.I.impl.F.decl.loc10_48.1 for @I.WithSelf.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%I.facet)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %empty_tuple.type.as.I.impl.F.type.b35c8e.1 = name_ref F, @empty_tuple.type.as.I.impl.%empty_tuple.type.as.I.impl.F.decl.loc10_48.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.341248.1] +// CHECK:STDOUT: %F.ref: %empty_tuple.type.as.I.impl.F.type.9e994f.1 = name_ref F, @empty_tuple.type.as.I.impl.%empty_tuple.type.as.I.impl.F.decl.loc10_48.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.c7843c.1] // CHECK:STDOUT: %.loc10_48.1: ref %struct_type.d.c.b36 = temporary_storage // CHECK:STDOUT: // CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.call: init %struct_type.d.c.b36 to %.loc10_48.1 = call %F.ref(%.loc5_9.3) @@ -426,7 +426,7 @@ impl () as I({}) { // CHECK:STDOUT: %.loc10_48.12: init %empty_struct_type to %.loc10_48.9 = in_place_init %.loc10_48.11 [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc10_48.13: init %struct_type.c.d.15a to %return.param = struct_init (%.loc10_48.7, %.loc10_48.12) [concrete = constants.%struct] // CHECK:STDOUT: %.loc10_48.14: init %struct_type.c.d.15a = converted %empty_tuple.type.as.I.impl.F.call, %.loc10_48.13 [concrete = constants.%struct] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_48.2, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_48.2, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc10_48.2) // CHECK:STDOUT: return %.loc10_48.14 to %return.param // CHECK:STDOUT: } @@ -448,62 +448,62 @@ impl () as I({}) { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %X.type: type = facet_type <@X> [concrete] // CHECK:STDOUT: %X.impl_witness: = impl_witness @B.as.X.impl.%X.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.a1f: type = pattern_type %A [concrete] -// CHECK:STDOUT: %ptr.30f: type = ptr_type %A [concrete] -// CHECK:STDOUT: %pattern_type.ad6: type = pattern_type %ptr.30f [concrete] -// CHECK:STDOUT: %ptr.e79: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.abc: Core.Form = init_form %ptr.e79 [concrete] -// CHECK:STDOUT: %pattern_type.19a: type = pattern_type %ptr.e79 [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.type.50fd2e.1: type = fn_type @B.as.X.impl.F.loc14_37.1 [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.3ce37e.1: %B.as.X.impl.F.type.50fd2e.1 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] +// CHECK:STDOUT: %ptr.cca: type = ptr_type %A [concrete] +// CHECK:STDOUT: %pattern_type.b90: type = pattern_type %ptr.cca [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.c56: Core.Form = init_form %ptr.6be [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.type.9e994f.1: type = fn_type @B.as.X.impl.F.loc14_37.1 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.c7843c.1: %B.as.X.impl.F.type.9e994f.1 = struct_value () [concrete] // CHECK:STDOUT: %X.facet: %X.type = facet_value %B, (%X.impl_witness) [concrete] -// CHECK:STDOUT: %ptr.420: type = ptr_type %B [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.type.50fd2e.2: type = fn_type @B.as.X.impl.F.loc14_37.2 [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.3ce37e.2: %B.as.X.impl.F.type.50fd2e.2 = struct_value () [concrete] +// CHECK:STDOUT: %ptr.294: type = ptr_type %B [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.type.9e994f.2: type = fn_type @B.as.X.impl.F.loc14_37.2 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.c7843c.2: %B.as.X.impl.F.type.9e994f.2 = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.d18: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%B) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.722: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%B) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.633: %ptr.as.Copy.impl.Op.type.722 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.420, (%Copy.impl_witness.d18) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.632: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.d7a: type = fn_type_with_self_type %Copy.WithSelf.Op.type.632, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.633, @ptr.as.Copy.impl.Op(%B) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.a18: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%B) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0f0: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%B) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.b00: %ptr.as.Copy.impl.Op.type.0f0 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.294, (%Copy.impl_witness.a18) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.f1d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.bf6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.f1d, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.b00, @ptr.as.Copy.impl.Op(%B) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @B.as.X.impl: %B.ref as %X.ref { -// CHECK:STDOUT: %B.as.X.impl.F.decl.loc14_37.1: %B.as.X.impl.F.type.50fd2e.1 = fn_decl @B.as.X.impl.F.loc14_37.1 [concrete = constants.%B.as.X.impl.F.3ce37e.1] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.a1f = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.a1f = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.ad6 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.ad6 = at_binding_pattern other, %other.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.19a = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.19a = return_slot_pattern %return.param_patt, %ptr.loc14_36 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.decl.loc14_37.1: %B.as.X.impl.F.type.9e994f.1 = fn_decl @B.as.X.impl.F.loc14_37.1 [concrete = constants.%B.as.X.impl.F.c7843c.1] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.ccb = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.ccb = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.b90 = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.b90 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.1c8 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.1c8 = return_slot_pattern %return.param_patt, %ptr.loc14_36 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc14_36: type = ptr_type %C.ref [concrete = constants.%ptr.e79] -// CHECK:STDOUT: %.loc14_36: Core.Form = init_form %ptr.loc14_36 [concrete = constants.%.abc] +// CHECK:STDOUT: %ptr.loc14_36: type = ptr_type %C.ref [concrete = constants.%ptr.6be] +// CHECK:STDOUT: %.loc14_36: Core.Form = init_form %ptr.loc14_36 [concrete = constants.%.c56] // CHECK:STDOUT: %self.param: ref %A = ref_param call_param0 // CHECK:STDOUT: %A.ref.loc14_18: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %self: ref %A = ref_binding self, %self.param -// CHECK:STDOUT: %other.param: %ptr.30f = value_param call_param1 -// CHECK:STDOUT: %.loc14_29: type = splice_block %ptr.loc14_29 [concrete = constants.%ptr.30f] { +// CHECK:STDOUT: %other.param: %ptr.cca = value_param call_param1 +// CHECK:STDOUT: %.loc14_29: type = splice_block %ptr.loc14_29 [concrete = constants.%ptr.cca] { // CHECK:STDOUT: %A.ref.loc14_28: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %ptr.loc14_29: type = ptr_type %A.ref.loc14_28 [concrete = constants.%ptr.30f] +// CHECK:STDOUT: %ptr.loc14_29: type = ptr_type %A.ref.loc14_28 [concrete = constants.%ptr.cca] // CHECK:STDOUT: } -// CHECK:STDOUT: %other: %ptr.30f = value_binding other, %other.param -// CHECK:STDOUT: %return.param: ref %ptr.e79 = out_param call_param2 -// CHECK:STDOUT: %return: ref %ptr.e79 = return_slot %return.param +// CHECK:STDOUT: %other: %ptr.cca = value_binding other, %other.param +// CHECK:STDOUT: %return.param: ref %ptr.6be = out_param call_param2 +// CHECK:STDOUT: %return: ref %ptr.6be = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: %B.as.X.impl.F.decl.loc14_37.2: %B.as.X.impl.F.type.50fd2e.2 = fn_decl @B.as.X.impl.F.loc14_37.2 [concrete = constants.%B.as.X.impl.F.3ce37e.2] { +// CHECK:STDOUT: %B.as.X.impl.F.decl.loc14_37.2: %B.as.X.impl.F.type.9e994f.2 = fn_decl @B.as.X.impl.F.loc14_37.2 [concrete = constants.%B.as.X.impl.F.c7843c.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: @@ -518,25 +518,25 @@ impl () as I({}) { // CHECK:STDOUT: witness = %X.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @B.as.X.impl.F.loc14_37.1(%self.param: ref %A, %other.param: %ptr.30f) -> out %return.param: %ptr.e79; +// CHECK:STDOUT: fn @B.as.X.impl.F.loc14_37.1(%self.param: ref %A, %other.param: %ptr.cca) -> out %return.param: %ptr.6be; // CHECK:STDOUT: -// CHECK:STDOUT: fn @B.as.X.impl.F.loc14_37.2(%self.param: ref %B, %other.param: %ptr.420) -> out %return.param: %ptr.420 [thunk @B.as.X.impl.%B.as.X.impl.F.decl.loc14_37.1 for @X.WithSelf.%X.WithSelf.F.decl, @X.WithSelf.F(constants.%X.facet)] { +// CHECK:STDOUT: fn @B.as.X.impl.F.loc14_37.2(%self.param: ref %B, %other.param: %ptr.294) -> out %return.param: %ptr.294 [thunk @B.as.X.impl.%B.as.X.impl.F.decl.loc14_37.1 for @X.WithSelf.%X.WithSelf.F.decl, @X.WithSelf.F(constants.%X.facet)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %B.as.X.impl.F.type.50fd2e.1 = name_ref F, @B.as.X.impl.%B.as.X.impl.F.decl.loc14_37.1 [concrete = constants.%B.as.X.impl.F.3ce37e.1] +// CHECK:STDOUT: %F.ref: %B.as.X.impl.F.type.9e994f.1 = name_ref F, @B.as.X.impl.%B.as.X.impl.F.decl.loc14_37.1 [concrete = constants.%B.as.X.impl.F.c7843c.1] // CHECK:STDOUT: %B.as.X.impl.F.bound: = bound_method %self.param, %F.ref // CHECK:STDOUT: -// CHECK:STDOUT: %B.as.X.impl.F.call: init %ptr.e79 = call %B.as.X.impl.F.bound(%.loc9_16.2, %.loc9_29.3) -// CHECK:STDOUT: %.loc14_37.1: %ptr.e79 = value_of_initializer %B.as.X.impl.F.call -// CHECK:STDOUT: %.loc14_37.2: %ptr.e79 = converted %B.as.X.impl.F.call, %.loc14_37.1 +// CHECK:STDOUT: %B.as.X.impl.F.call: init %ptr.6be = call %B.as.X.impl.F.bound(%.loc9_16.2, %.loc9_29.3) +// CHECK:STDOUT: %.loc14_37.1: %ptr.6be = value_of_initializer %B.as.X.impl.F.call +// CHECK:STDOUT: %.loc14_37.2: %ptr.6be = converted %B.as.X.impl.F.call, %.loc14_37.1 // CHECK:STDOUT: %.loc14_37.3: ref %C = deref %.loc14_37.2 // CHECK:STDOUT: %.loc14_37.4: ref %B = class_element_access %.loc14_37.3, element0 -// CHECK:STDOUT: %addr.loc14: %ptr.420 = addr_of %.loc14_37.4 -// CHECK:STDOUT: %.loc14_37.5: %ptr.420 = converted %B.as.X.impl.F.call, %addr.loc14 -// CHECK:STDOUT: %impl.elem0: %.d7a = impl_witness_access constants.%Copy.impl_witness.d18, element0 [concrete = constants.%ptr.as.Copy.impl.Op.633] +// CHECK:STDOUT: %addr.loc14: %ptr.294 = addr_of %.loc14_37.4 +// CHECK:STDOUT: %.loc14_37.5: %ptr.294 = converted %B.as.X.impl.F.call, %addr.loc14 +// CHECK:STDOUT: %impl.elem0: %.bf6 = impl_witness_access constants.%Copy.impl_witness.a18, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b00] // CHECK:STDOUT: %bound_method.loc14_37.1: = bound_method %.loc14_37.5, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%B) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_37.2: = bound_method %.loc14_37.5, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.420 = call %bound_method.loc14_37.2(%.loc14_37.5) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.294 = call %bound_method.loc14_37.2(%.loc14_37.5) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: @@ -548,20 +548,20 @@ impl () as I({}) { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %X.type: type = facet_type <@X> [concrete] // CHECK:STDOUT: %X.impl_witness: = impl_witness @B.as.X.impl.%X.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.e93: type = pattern_type %A [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.type.dfeae9.1: type = fn_type @B.as.X.impl.F.loc13_26.1 [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.d81dcf.1: %B.as.X.impl.F.type.dfeae9.1 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.type.9e994f.1: type = fn_type @B.as.X.impl.F.loc13_26.1 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.c7843c.1: %B.as.X.impl.F.type.9e994f.1 = struct_value () [concrete] // CHECK:STDOUT: %X.facet: %X.type = facet_value %B, (%X.impl_witness) [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.type.dfeae9.2: type = fn_type @B.as.X.impl.F.loc13_26.2 [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.d81dcf.2: %B.as.X.impl.F.type.dfeae9.2 = struct_value () [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.type.9e994f.2: type = fn_type @B.as.X.impl.F.loc13_26.2 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.c7843c.2: %B.as.X.impl.F.type.9e994f.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @B.as.X.impl: %B.ref as %X.ref { -// CHECK:STDOUT: %B.as.X.impl.F.decl.loc13_26.1: %B.as.X.impl.F.type.dfeae9.1 = fn_decl @B.as.X.impl.F.loc13_26.1 [concrete = constants.%B.as.X.impl.F.d81dcf.1] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.e93 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.e93 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.e93 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.e93 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.decl.loc13_26.1: %B.as.X.impl.F.type.9e994f.1 = fn_decl @B.as.X.impl.F.loc13_26.1 [concrete = constants.%B.as.X.impl.F.c7843c.1] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.ccb = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.ccb = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.ccb = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.ccb = at_binding_pattern other, %other.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %A = value_param call_param0 // CHECK:STDOUT: %A.ref.loc13_14: type = name_ref A, file.%A.decl [concrete = constants.%A] @@ -570,7 +570,7 @@ impl () as I({}) { // CHECK:STDOUT: %A.ref.loc13_24: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %other: %A = value_binding other, %other.param // CHECK:STDOUT: } -// CHECK:STDOUT: %B.as.X.impl.F.decl.loc13_26.2: %B.as.X.impl.F.type.dfeae9.2 = fn_decl @B.as.X.impl.F.loc13_26.2 [concrete = constants.%B.as.X.impl.F.d81dcf.2] { +// CHECK:STDOUT: %B.as.X.impl.F.decl.loc13_26.2: %B.as.X.impl.F.type.9e994f.2 = fn_decl @B.as.X.impl.F.loc13_26.2 [concrete = constants.%B.as.X.impl.F.c7843c.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: @@ -588,7 +588,7 @@ impl () as I({}) { // CHECK:STDOUT: // CHECK:STDOUT: fn @B.as.X.impl.F.loc13_26.2(%self.param: %B, %other.param: %B) [thunk @B.as.X.impl.%B.as.X.impl.F.decl.loc13_26.1 for @X.WithSelf.%X.WithSelf.F.decl, @X.WithSelf.F(constants.%X.facet)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %B.as.X.impl.F.type.dfeae9.1 = name_ref F, @B.as.X.impl.%B.as.X.impl.F.decl.loc13_26.1 [concrete = constants.%B.as.X.impl.F.d81dcf.1] +// CHECK:STDOUT: %F.ref: %B.as.X.impl.F.type.9e994f.1 = name_ref F, @B.as.X.impl.%B.as.X.impl.F.decl.loc13_26.1 [concrete = constants.%B.as.X.impl.F.c7843c.1] // CHECK:STDOUT: %B.as.X.impl.F.bound: = bound_method %self.param, %F.ref // CHECK:STDOUT: // CHECK:STDOUT: %B.as.X.impl.F.call: init %empty_tuple.type = call %B.as.X.impl.F.bound(%.loc8_12.3, %.loc8_25.3) @@ -603,62 +603,62 @@ impl () as I({}) { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %X.type: type = facet_type <@X> [concrete] // CHECK:STDOUT: %X.impl_witness: = impl_witness @B.as.X.impl.%X.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.e70: type = pattern_type %A [concrete] -// CHECK:STDOUT: %ptr.9f3: type = ptr_type %A [concrete] -// CHECK:STDOUT: %pattern_type.787: type = pattern_type %ptr.9f3 [concrete] -// CHECK:STDOUT: %ptr.923: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.64b: Core.Form = init_form %ptr.923 [concrete] -// CHECK:STDOUT: %pattern_type.4e1: type = pattern_type %ptr.923 [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.type.331475.1: type = fn_type @B.as.X.impl.F.loc14_37.1 [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.8a90d2.1: %B.as.X.impl.F.type.331475.1 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] +// CHECK:STDOUT: %ptr.cca: type = ptr_type %A [concrete] +// CHECK:STDOUT: %pattern_type.b90: type = pattern_type %ptr.cca [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.c56: Core.Form = init_form %ptr.6be [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.type.9e994f.1: type = fn_type @B.as.X.impl.F.loc14_37.1 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.c7843c.1: %B.as.X.impl.F.type.9e994f.1 = struct_value () [concrete] // CHECK:STDOUT: %X.facet: %X.type = facet_value %B, (%X.impl_witness) [concrete] -// CHECK:STDOUT: %ptr.dbf: type = ptr_type %B [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.type.331475.2: type = fn_type @B.as.X.impl.F.loc14_37.2 [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.8a90d2.2: %B.as.X.impl.F.type.331475.2 = struct_value () [concrete] +// CHECK:STDOUT: %ptr.294: type = ptr_type %B [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.type.9e994f.2: type = fn_type @B.as.X.impl.F.loc14_37.2 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.c7843c.2: %B.as.X.impl.F.type.9e994f.2 = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.e1a: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%B) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.79e: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%B) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.d8b: %ptr.as.Copy.impl.Op.type.79e = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.dbf, (%Copy.impl_witness.e1a) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.243: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a39: type = fn_type_with_self_type %Copy.WithSelf.Op.type.243, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.d8b, @ptr.as.Copy.impl.Op(%B) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.a18: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%B) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0f0: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%B) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.b00: %ptr.as.Copy.impl.Op.type.0f0 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.294, (%Copy.impl_witness.a18) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.f1d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.bf6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.f1d, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.b00, @ptr.as.Copy.impl.Op(%B) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @B.as.X.impl: %B.ref as %X.ref { -// CHECK:STDOUT: %B.as.X.impl.F.decl.loc14_37.1: %B.as.X.impl.F.type.331475.1 = fn_decl @B.as.X.impl.F.loc14_37.1 [concrete = constants.%B.as.X.impl.F.8a90d2.1] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.e70 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.e70 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.787 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.787 = at_binding_pattern other, %other.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.4e1 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.4e1 = return_slot_pattern %return.param_patt, %ptr.loc14_36 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.decl.loc14_37.1: %B.as.X.impl.F.type.9e994f.1 = fn_decl @B.as.X.impl.F.loc14_37.1 [concrete = constants.%B.as.X.impl.F.c7843c.1] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.ccb = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.ccb = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.b90 = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.b90 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.1c8 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.1c8 = return_slot_pattern %return.param_patt, %ptr.loc14_36 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc14_36: type = ptr_type %C.ref [concrete = constants.%ptr.923] -// CHECK:STDOUT: %.loc14_36: Core.Form = init_form %ptr.loc14_36 [concrete = constants.%.64b] +// CHECK:STDOUT: %ptr.loc14_36: type = ptr_type %C.ref [concrete = constants.%ptr.6be] +// CHECK:STDOUT: %.loc14_36: Core.Form = init_form %ptr.loc14_36 [concrete = constants.%.c56] // CHECK:STDOUT: %self.param: ref %A = ref_param call_param0 // CHECK:STDOUT: %A.ref.loc14_18: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %self: ref %A = ref_binding self, %self.param -// CHECK:STDOUT: %other.param: %ptr.9f3 = value_param call_param1 -// CHECK:STDOUT: %.loc14_29: type = splice_block %ptr.loc14_29 [concrete = constants.%ptr.9f3] { +// CHECK:STDOUT: %other.param: %ptr.cca = value_param call_param1 +// CHECK:STDOUT: %.loc14_29: type = splice_block %ptr.loc14_29 [concrete = constants.%ptr.cca] { // CHECK:STDOUT: %A.ref.loc14_28: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %ptr.loc14_29: type = ptr_type %A.ref.loc14_28 [concrete = constants.%ptr.9f3] +// CHECK:STDOUT: %ptr.loc14_29: type = ptr_type %A.ref.loc14_28 [concrete = constants.%ptr.cca] // CHECK:STDOUT: } -// CHECK:STDOUT: %other: %ptr.9f3 = value_binding other, %other.param -// CHECK:STDOUT: %return.param: ref %ptr.923 = out_param call_param2 -// CHECK:STDOUT: %return: ref %ptr.923 = return_slot %return.param +// CHECK:STDOUT: %other: %ptr.cca = value_binding other, %other.param +// CHECK:STDOUT: %return.param: ref %ptr.6be = out_param call_param2 +// CHECK:STDOUT: %return: ref %ptr.6be = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: %B.as.X.impl.F.decl.loc14_37.2: %B.as.X.impl.F.type.331475.2 = fn_decl @B.as.X.impl.F.loc14_37.2 [concrete = constants.%B.as.X.impl.F.8a90d2.2] { +// CHECK:STDOUT: %B.as.X.impl.F.decl.loc14_37.2: %B.as.X.impl.F.type.9e994f.2 = fn_decl @B.as.X.impl.F.loc14_37.2 [concrete = constants.%B.as.X.impl.F.c7843c.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: @@ -673,25 +673,25 @@ impl () as I({}) { // CHECK:STDOUT: witness = %X.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @B.as.X.impl.F.loc14_37.1(%self.param: ref %A, %other.param: %ptr.9f3) -> out %return.param: %ptr.923; +// CHECK:STDOUT: fn @B.as.X.impl.F.loc14_37.1(%self.param: ref %A, %other.param: %ptr.cca) -> out %return.param: %ptr.6be; // CHECK:STDOUT: -// CHECK:STDOUT: fn @B.as.X.impl.F.loc14_37.2(%self.param: ref %B, %other.param: %ptr.dbf) -> out %return.param: %ptr.dbf [thunk @B.as.X.impl.%B.as.X.impl.F.decl.loc14_37.1 for @X.WithSelf.%X.WithSelf.F.decl, @X.WithSelf.F(constants.%X.facet)] { +// CHECK:STDOUT: fn @B.as.X.impl.F.loc14_37.2(%self.param: ref %B, %other.param: %ptr.294) -> out %return.param: %ptr.294 [thunk @B.as.X.impl.%B.as.X.impl.F.decl.loc14_37.1 for @X.WithSelf.%X.WithSelf.F.decl, @X.WithSelf.F(constants.%X.facet)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %B.as.X.impl.F.type.331475.1 = name_ref F, @B.as.X.impl.%B.as.X.impl.F.decl.loc14_37.1 [concrete = constants.%B.as.X.impl.F.8a90d2.1] +// CHECK:STDOUT: %F.ref: %B.as.X.impl.F.type.9e994f.1 = name_ref F, @B.as.X.impl.%B.as.X.impl.F.decl.loc14_37.1 [concrete = constants.%B.as.X.impl.F.c7843c.1] // CHECK:STDOUT: %B.as.X.impl.F.bound: = bound_method %self.param, %F.ref // CHECK:STDOUT: -// CHECK:STDOUT: %B.as.X.impl.F.call: init %ptr.923 = call %B.as.X.impl.F.bound(%.loc9_16.2, %.loc9_29.3) -// CHECK:STDOUT: %.loc14_37.1: %ptr.923 = value_of_initializer %B.as.X.impl.F.call -// CHECK:STDOUT: %.loc14_37.2: %ptr.923 = converted %B.as.X.impl.F.call, %.loc14_37.1 +// CHECK:STDOUT: %B.as.X.impl.F.call: init %ptr.6be = call %B.as.X.impl.F.bound(%.loc9_16.2, %.loc9_29.3) +// CHECK:STDOUT: %.loc14_37.1: %ptr.6be = value_of_initializer %B.as.X.impl.F.call +// CHECK:STDOUT: %.loc14_37.2: %ptr.6be = converted %B.as.X.impl.F.call, %.loc14_37.1 // CHECK:STDOUT: %.loc14_37.3: ref %C = deref %.loc14_37.2 // CHECK:STDOUT: %.loc14_37.4: ref %B = class_element_access %.loc14_37.3, element0 -// CHECK:STDOUT: %addr.loc14: %ptr.dbf = addr_of %.loc14_37.4 -// CHECK:STDOUT: %.loc14_37.5: %ptr.dbf = converted %B.as.X.impl.F.call, %addr.loc14 -// CHECK:STDOUT: %impl.elem0: %.a39 = impl_witness_access constants.%Copy.impl_witness.e1a, element0 [concrete = constants.%ptr.as.Copy.impl.Op.d8b] +// CHECK:STDOUT: %addr.loc14: %ptr.294 = addr_of %.loc14_37.4 +// CHECK:STDOUT: %.loc14_37.5: %ptr.294 = converted %B.as.X.impl.F.call, %addr.loc14 +// CHECK:STDOUT: %impl.elem0: %.bf6 = impl_witness_access constants.%Copy.impl_witness.a18, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b00] // CHECK:STDOUT: %bound_method.loc14_37.1: = bound_method %.loc14_37.5, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%B) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_37.2: = bound_method %.loc14_37.5, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.dbf = call %bound_method.loc14_37.2(%.loc14_37.5) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.294 = call %bound_method.loc14_37.2(%.loc14_37.5) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: @@ -703,62 +703,62 @@ impl () as I({}) { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %X.type: type = facet_type <@X> [concrete] // CHECK:STDOUT: %X.impl_witness: = impl_witness @B.as.X.impl.%X.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.cf6: type = pattern_type %A [concrete] -// CHECK:STDOUT: %ptr.bd5: type = ptr_type %A [concrete] -// CHECK:STDOUT: %pattern_type.53c: type = pattern_type %ptr.bd5 [concrete] -// CHECK:STDOUT: %ptr.c0e: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.9e6: Core.Form = init_form %ptr.c0e [concrete] -// CHECK:STDOUT: %pattern_type.faa: type = pattern_type %ptr.c0e [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.type.49186a.1: type = fn_type @B.as.X.impl.F.loc14_37.1 [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.b1a16a.1: %B.as.X.impl.F.type.49186a.1 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] +// CHECK:STDOUT: %ptr.cca: type = ptr_type %A [concrete] +// CHECK:STDOUT: %pattern_type.b90: type = pattern_type %ptr.cca [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.c56: Core.Form = init_form %ptr.6be [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.type.9e994f.1: type = fn_type @B.as.X.impl.F.loc14_37.1 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.c7843c.1: %B.as.X.impl.F.type.9e994f.1 = struct_value () [concrete] // CHECK:STDOUT: %X.facet: %X.type = facet_value %B, (%X.impl_witness) [concrete] -// CHECK:STDOUT: %ptr.34e: type = ptr_type %B [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.type.49186a.2: type = fn_type @B.as.X.impl.F.loc14_37.2 [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.b1a16a.2: %B.as.X.impl.F.type.49186a.2 = struct_value () [concrete] +// CHECK:STDOUT: %ptr.294: type = ptr_type %B [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.type.9e994f.2: type = fn_type @B.as.X.impl.F.loc14_37.2 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.c7843c.2: %B.as.X.impl.F.type.9e994f.2 = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.a1a: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%B) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.903: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%B) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.b8c: %ptr.as.Copy.impl.Op.type.903 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.34e, (%Copy.impl_witness.a1a) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.e0d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.ae8: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e0d, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.b8c, @ptr.as.Copy.impl.Op(%B) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.a18: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%B) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.0f0: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%B) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.b00: %ptr.as.Copy.impl.Op.type.0f0 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.294, (%Copy.impl_witness.a18) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.f1d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.bf6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.f1d, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.b00, @ptr.as.Copy.impl.Op(%B) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @B.as.X.impl: %B.ref as %X.ref { -// CHECK:STDOUT: %B.as.X.impl.F.decl.loc14_37.1: %B.as.X.impl.F.type.49186a.1 = fn_decl @B.as.X.impl.F.loc14_37.1 [concrete = constants.%B.as.X.impl.F.b1a16a.1] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.cf6 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.cf6 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.53c = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.53c = at_binding_pattern other, %other.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.faa = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.faa = return_slot_pattern %return.param_patt, %ptr.loc14_36 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.decl.loc14_37.1: %B.as.X.impl.F.type.9e994f.1 = fn_decl @B.as.X.impl.F.loc14_37.1 [concrete = constants.%B.as.X.impl.F.c7843c.1] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.ccb = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.ccb = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.b90 = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.b90 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.1c8 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.1c8 = return_slot_pattern %return.param_patt, %ptr.loc14_36 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc14_36: type = ptr_type %C.ref [concrete = constants.%ptr.c0e] -// CHECK:STDOUT: %.loc14_36: Core.Form = init_form %ptr.loc14_36 [concrete = constants.%.9e6] +// CHECK:STDOUT: %ptr.loc14_36: type = ptr_type %C.ref [concrete = constants.%ptr.6be] +// CHECK:STDOUT: %.loc14_36: Core.Form = init_form %ptr.loc14_36 [concrete = constants.%.c56] // CHECK:STDOUT: %self.param: ref %A = ref_param call_param0 // CHECK:STDOUT: %A.ref.loc14_18: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %self: ref %A = ref_binding self, %self.param -// CHECK:STDOUT: %other.param: %ptr.bd5 = value_param call_param1 -// CHECK:STDOUT: %.loc14_29: type = splice_block %ptr.loc14_29 [concrete = constants.%ptr.bd5] { +// CHECK:STDOUT: %other.param: %ptr.cca = value_param call_param1 +// CHECK:STDOUT: %.loc14_29: type = splice_block %ptr.loc14_29 [concrete = constants.%ptr.cca] { // CHECK:STDOUT: %A.ref.loc14_28: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %ptr.loc14_29: type = ptr_type %A.ref.loc14_28 [concrete = constants.%ptr.bd5] +// CHECK:STDOUT: %ptr.loc14_29: type = ptr_type %A.ref.loc14_28 [concrete = constants.%ptr.cca] // CHECK:STDOUT: } -// CHECK:STDOUT: %other: %ptr.bd5 = value_binding other, %other.param -// CHECK:STDOUT: %return.param: ref %ptr.c0e = out_param call_param2 -// CHECK:STDOUT: %return: ref %ptr.c0e = return_slot %return.param +// CHECK:STDOUT: %other: %ptr.cca = value_binding other, %other.param +// CHECK:STDOUT: %return.param: ref %ptr.6be = out_param call_param2 +// CHECK:STDOUT: %return: ref %ptr.6be = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: %B.as.X.impl.F.decl.loc14_37.2: %B.as.X.impl.F.type.49186a.2 = fn_decl @B.as.X.impl.F.loc14_37.2 [concrete = constants.%B.as.X.impl.F.b1a16a.2] { +// CHECK:STDOUT: %B.as.X.impl.F.decl.loc14_37.2: %B.as.X.impl.F.type.9e994f.2 = fn_decl @B.as.X.impl.F.loc14_37.2 [concrete = constants.%B.as.X.impl.F.c7843c.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: @@ -773,25 +773,25 @@ impl () as I({}) { // CHECK:STDOUT: witness = %X.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @B.as.X.impl.F.loc14_37.1(%self.param: ref %A, %other.param: %ptr.bd5) -> out %return.param: %ptr.c0e; +// CHECK:STDOUT: fn @B.as.X.impl.F.loc14_37.1(%self.param: ref %A, %other.param: %ptr.cca) -> out %return.param: %ptr.6be; // CHECK:STDOUT: -// CHECK:STDOUT: fn @B.as.X.impl.F.loc14_37.2(%self.param: ref %B, %other.param: %ptr.34e) -> out %return.param: %ptr.34e [thunk @B.as.X.impl.%B.as.X.impl.F.decl.loc14_37.1 for @X.WithSelf.%X.WithSelf.F.decl, @X.WithSelf.F(constants.%X.facet)] { +// CHECK:STDOUT: fn @B.as.X.impl.F.loc14_37.2(%self.param: ref %B, %other.param: %ptr.294) -> out %return.param: %ptr.294 [thunk @B.as.X.impl.%B.as.X.impl.F.decl.loc14_37.1 for @X.WithSelf.%X.WithSelf.F.decl, @X.WithSelf.F(constants.%X.facet)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %B.as.X.impl.F.type.49186a.1 = name_ref F, @B.as.X.impl.%B.as.X.impl.F.decl.loc14_37.1 [concrete = constants.%B.as.X.impl.F.b1a16a.1] +// CHECK:STDOUT: %F.ref: %B.as.X.impl.F.type.9e994f.1 = name_ref F, @B.as.X.impl.%B.as.X.impl.F.decl.loc14_37.1 [concrete = constants.%B.as.X.impl.F.c7843c.1] // CHECK:STDOUT: %B.as.X.impl.F.bound: = bound_method %self.param, %F.ref // CHECK:STDOUT: -// CHECK:STDOUT: %B.as.X.impl.F.call: init %ptr.c0e = call %B.as.X.impl.F.bound(%.loc9_16.2, %.loc9_29.3) -// CHECK:STDOUT: %.loc14_37.1: %ptr.c0e = value_of_initializer %B.as.X.impl.F.call -// CHECK:STDOUT: %.loc14_37.2: %ptr.c0e = converted %B.as.X.impl.F.call, %.loc14_37.1 +// CHECK:STDOUT: %B.as.X.impl.F.call: init %ptr.6be = call %B.as.X.impl.F.bound(%.loc9_16.2, %.loc9_29.3) +// CHECK:STDOUT: %.loc14_37.1: %ptr.6be = value_of_initializer %B.as.X.impl.F.call +// CHECK:STDOUT: %.loc14_37.2: %ptr.6be = converted %B.as.X.impl.F.call, %.loc14_37.1 // CHECK:STDOUT: %.loc14_37.3: ref %C = deref %.loc14_37.2 // CHECK:STDOUT: %.loc14_37.4: ref %B = class_element_access %.loc14_37.3, element0 -// CHECK:STDOUT: %addr.loc14: %ptr.34e = addr_of %.loc14_37.4 -// CHECK:STDOUT: %.loc14_37.5: %ptr.34e = converted %B.as.X.impl.F.call, %addr.loc14 -// CHECK:STDOUT: %impl.elem0: %.ae8 = impl_witness_access constants.%Copy.impl_witness.a1a, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b8c] +// CHECK:STDOUT: %addr.loc14: %ptr.294 = addr_of %.loc14_37.4 +// CHECK:STDOUT: %.loc14_37.5: %ptr.294 = converted %B.as.X.impl.F.call, %addr.loc14 +// CHECK:STDOUT: %impl.elem0: %.bf6 = impl_witness_access constants.%Copy.impl_witness.a18, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b00] // CHECK:STDOUT: %bound_method.loc14_37.1: = bound_method %.loc14_37.5, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%B) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_37.2: = bound_method %.loc14_37.5, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.34e = call %bound_method.loc14_37.2(%.loc14_37.5) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.294 = call %bound_method.loc14_37.2(%.loc14_37.5) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: @@ -803,20 +803,20 @@ impl () as I({}) { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %X.type: type = facet_type <@X> [concrete] // CHECK:STDOUT: %X.impl_witness: = impl_witness @B.as.X.impl.%X.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.eb8: type = pattern_type %A [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.type.785349.1: type = fn_type @B.as.X.impl.F.loc13_30.1 [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.4f4dfe.1: %B.as.X.impl.F.type.785349.1 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.type.9e994f.1: type = fn_type @B.as.X.impl.F.loc13_30.1 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.c7843c.1: %B.as.X.impl.F.type.9e994f.1 = struct_value () [concrete] // CHECK:STDOUT: %X.facet: %X.type = facet_value %B, (%X.impl_witness) [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.type.785349.2: type = fn_type @B.as.X.impl.F.loc13_30.2 [concrete] -// CHECK:STDOUT: %B.as.X.impl.F.4f4dfe.2: %B.as.X.impl.F.type.785349.2 = struct_value () [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.type.9e994f.2: type = fn_type @B.as.X.impl.F.loc13_30.2 [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.c7843c.2: %B.as.X.impl.F.type.9e994f.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @B.as.X.impl: %B.ref as %X.ref { -// CHECK:STDOUT: %B.as.X.impl.F.decl.loc13_30.1: %B.as.X.impl.F.type.785349.1 = fn_decl @B.as.X.impl.F.loc13_30.1 [concrete = constants.%B.as.X.impl.F.4f4dfe.1] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.eb8 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.eb8 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.eb8 = ref_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.eb8 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %B.as.X.impl.F.decl.loc13_30.1: %B.as.X.impl.F.type.9e994f.1 = fn_decl @B.as.X.impl.F.loc13_30.1 [concrete = constants.%B.as.X.impl.F.c7843c.1] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.ccb = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.ccb = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.ccb = ref_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.ccb = at_binding_pattern other, %other.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %A = value_param call_param0 // CHECK:STDOUT: %A.ref.loc13_14: type = name_ref A, file.%A.decl [concrete = constants.%A] @@ -825,7 +825,7 @@ impl () as I({}) { // CHECK:STDOUT: %A.ref.loc13_28: type = name_ref A, file.%A.decl [concrete = constants.%A] // CHECK:STDOUT: %other: ref %A = ref_binding other, %other.param // CHECK:STDOUT: } -// CHECK:STDOUT: %B.as.X.impl.F.decl.loc13_30.2: %B.as.X.impl.F.type.785349.2 = fn_decl @B.as.X.impl.F.loc13_30.2 [concrete = constants.%B.as.X.impl.F.4f4dfe.2] { +// CHECK:STDOUT: %B.as.X.impl.F.decl.loc13_30.2: %B.as.X.impl.F.type.9e994f.2 = fn_decl @B.as.X.impl.F.loc13_30.2 [concrete = constants.%B.as.X.impl.F.c7843c.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: @@ -843,7 +843,7 @@ impl () as I({}) { // CHECK:STDOUT: // CHECK:STDOUT: fn @B.as.X.impl.F.loc13_30.2(%self.param: %B, %other.param: ref %B) [thunk @B.as.X.impl.%B.as.X.impl.F.decl.loc13_30.1 for @X.WithSelf.%X.WithSelf.F.decl, @X.WithSelf.F(constants.%X.facet)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %B.as.X.impl.F.type.785349.1 = name_ref F, @B.as.X.impl.%B.as.X.impl.F.decl.loc13_30.1 [concrete = constants.%B.as.X.impl.F.4f4dfe.1] +// CHECK:STDOUT: %F.ref: %B.as.X.impl.F.type.9e994f.1 = name_ref F, @B.as.X.impl.%B.as.X.impl.F.decl.loc13_30.1 [concrete = constants.%B.as.X.impl.F.c7843c.1] // CHECK:STDOUT: %B.as.X.impl.F.bound: = bound_method %self.param, %F.ref // CHECK:STDOUT: // CHECK:STDOUT: %B.as.X.impl.F.call: init %empty_tuple.type = call %B.as.X.impl.F.bound(%.loc8_12.3, %.loc8_29.2) @@ -857,24 +857,24 @@ impl () as I({}) { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %struct_type.base.1b9: type = struct_type {.base: %A} [concrete] +// CHECK:STDOUT: %struct_type.base.722: type = struct_type {.base: %A} [concrete] // CHECK:STDOUT: %X.type: type = facet_type <@X> [concrete] // CHECK:STDOUT: %X.impl_witness: = impl_witness @A.as.X.impl.%X.impl_witness_table [concrete] // CHECK:STDOUT: %.25e: Core.Form = init_form %B [concrete] -// CHECK:STDOUT: %pattern_type.497: type = pattern_type %B [concrete] -// CHECK:STDOUT: %A.as.X.impl.F.type.258e31.1: type = fn_type @A.as.X.impl.F.loc23_14.1 [concrete] -// CHECK:STDOUT: %A.as.X.impl.F.919643.1: %A.as.X.impl.F.type.258e31.1 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] +// CHECK:STDOUT: %A.as.X.impl.F.type.9e994f.1: type = fn_type @A.as.X.impl.F.loc23_14.1 [concrete] +// CHECK:STDOUT: %A.as.X.impl.F.c7843c.1: %A.as.X.impl.F.type.9e994f.1 = struct_value () [concrete] // CHECK:STDOUT: %X.facet: %X.type = facet_value %A, (%X.impl_witness) [concrete] -// CHECK:STDOUT: %A.as.X.impl.F.type.258e31.2: type = fn_type @A.as.X.impl.F.loc23_14.2 [concrete] -// CHECK:STDOUT: %A.as.X.impl.F.919643.2: %A.as.X.impl.F.type.258e31.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc23_14.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %A.as.X.impl.F.type.9e994f.2: type = fn_type @A.as.X.impl.F.loc23_14.2 [concrete] +// CHECK:STDOUT: %A.as.X.impl.F.c7843c.2: %A.as.X.impl.F.type.9e994f.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc23_14.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @A.as.X.impl: %A.ref as %X.ref { -// CHECK:STDOUT: %A.as.X.impl.F.decl.loc23_14.1: %A.as.X.impl.F.type.258e31.1 = fn_decl @A.as.X.impl.F.loc23_14.1 [concrete = constants.%A.as.X.impl.F.919643.1] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.497 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.497 = return_slot_pattern %return.param_patt, %B.ref [concrete] +// CHECK:STDOUT: %A.as.X.impl.F.decl.loc23_14.1: %A.as.X.impl.F.type.9e994f.1 = fn_decl @A.as.X.impl.F.loc23_14.1 [concrete = constants.%A.as.X.impl.F.c7843c.1] { +// CHECK:STDOUT: %return.param_patt: %pattern_type.787 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.787 = return_slot_pattern %return.param_patt, %B.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] // CHECK:STDOUT: %.loc23: Core.Form = init_form %B.ref [concrete = constants.%.25e] @@ -882,7 +882,7 @@ impl () as I({}) { // CHECK:STDOUT: %return: ref %B = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: %A.as.X.impl.F.decl.loc23_14.2: %A.as.X.impl.F.type.258e31.2 = fn_decl @A.as.X.impl.F.loc23_14.2 [concrete = constants.%A.as.X.impl.F.919643.2] { +// CHECK:STDOUT: %A.as.X.impl.F.decl.loc23_14.2: %A.as.X.impl.F.type.9e994f.2 = fn_decl @A.as.X.impl.F.loc23_14.2 [concrete = constants.%A.as.X.impl.F.c7843c.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: @@ -900,14 +900,14 @@ impl () as I({}) { // CHECK:STDOUT: // CHECK:STDOUT: fn @A.as.X.impl.F.loc23_14.2() -> out %return.param: %A [thunk @A.as.X.impl.%A.as.X.impl.F.decl.loc23_14.1 for @X.WithSelf.%X.WithSelf.F.decl, @X.WithSelf.F(constants.%X.facet)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %A.as.X.impl.F.type.258e31.1 = name_ref F, @A.as.X.impl.%A.as.X.impl.F.decl.loc23_14.1 [concrete = constants.%A.as.X.impl.F.919643.1] +// CHECK:STDOUT: %F.ref: %A.as.X.impl.F.type.9e994f.1 = name_ref F, @A.as.X.impl.%A.as.X.impl.F.decl.loc23_14.1 [concrete = constants.%A.as.X.impl.F.c7843c.1] // CHECK:STDOUT: %.loc23_14.1: ref %B = temporary_storage // CHECK:STDOUT: %A.as.X.impl.F.call: init %B to %.loc23_14.1 = call %F.ref() // CHECK:STDOUT: %.loc23_14.2: ref %B = temporary %.loc23_14.1, %A.as.X.impl.F.call // CHECK:STDOUT: %.loc23_14.3: ref %A = class_element_access %.loc23_14.2, element0 // CHECK:STDOUT: %.loc23_14.4: ref %A = converted %A.as.X.impl.F.call, %.loc23_14.3 // CHECK:STDOUT: %.loc23_14.5: %A = acquire_value %.loc23_14.4 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc23_14.2, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc23_14.2, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc23_14.2) // CHECK:STDOUT: return to %return.param // CHECK:STDOUT: } @@ -919,7 +919,7 @@ impl () as I({}) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc23_14.3(%self.param: ref %struct_type.base.1b9) { +// CHECK:STDOUT: fn @Destroy.Op.loc23_14.3(%self.param: ref %struct_type.base.722) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -938,35 +938,35 @@ impl () as I({}) { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @empty_tuple.type.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %pattern_type.35b: type = pattern_type %Copy.type [concrete] -// CHECK:STDOUT: %U.228: %Copy.type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %U.as_type.91a: type = facet_access_type %U.228 [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %U.as_type.91a [symbolic] -// CHECK:STDOUT: %.9ff809.2: Core.Form = init_form %U.as_type.91a [symbolic] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.6d06b7.1: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_34.1 [concrete] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.90a955.1: %empty_tuple.type.as.I.impl.F.type.6d06b7.1 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.b72: type = pattern_type %Copy.type [concrete] +// CHECK:STDOUT: %U.f49: %Copy.type = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %U.as_type.09c: type = facet_access_type %U.f49 [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %U.as_type.09c [symbolic] +// CHECK:STDOUT: %.dedae6.2: Core.Form = init_form %U.as_type.09c [symbolic] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.9e994f.1: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_34.1 [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.c7843c.1: %empty_tuple.type.as.I.impl.F.type.9e994f.1 = struct_value () [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %empty_tuple.type, (%I.impl_witness) [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] // CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %ptr.e8f [symbolic] // CHECK:STDOUT: %.cb6: Core.Form = init_form %ptr.e8f [symbolic] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.6d06b7.2: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_34.2 [concrete] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.90a955.2: %empty_tuple.type.as.I.impl.F.type.6d06b7.2 = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.c28bd3.1: = require_complete_type %U.as_type.91a [symbolic] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.9e994f.2: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_34.2 [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.c7843c.2: %empty_tuple.type.as.I.impl.F.type.9e994f.2 = struct_value () [concrete] +// CHECK:STDOUT: %require_complete.77e193.1: = require_complete_type %U.as_type.09c [symbolic] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c494ff.2: = lookup_impl_witness %U.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.3: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%U.228) [symbolic] -// CHECK:STDOUT: %.12f564.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.3, %U.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbdbfc.2: %.12f564.2 = impl_witness_access %Copy.lookup_impl_witness.c494ff.2, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f227.2: = specific_impl_function %impl.elem0.cbdbfc.2, @Copy.WithSelf.Op(%U.228) [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.5be: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] -// CHECK:STDOUT: %.546: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.5be) [symbolic] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.specific_fn: = specific_function %empty_tuple.type.as.I.impl.F.90a955.1, @empty_tuple.type.as.I.impl.F.loc10_34.1(%Copy.facet) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a8e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] -// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a8e, %Copy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.480: %.86b = impl_witness_access %Copy.lookup_impl_witness.5be, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d1f: = specific_impl_function %impl.elem0.480, @Copy.WithSelf.Op(%Copy.facet) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2ddaf7.2: = lookup_impl_witness %U.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.3: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%U.f49) [symbolic] +// CHECK:STDOUT: %.e16121.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.3, %U.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e7eb.2: %.e16121.2 = impl_witness_access %Copy.lookup_impl_witness.2ddaf7.2, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ecd07.2: = specific_impl_function %impl.elem0.41e7eb.2, @Copy.WithSelf.Op(%U.f49) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2bf: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] +// CHECK:STDOUT: %.b6a: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.2bf) [symbolic] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.specific_fn: = specific_function %empty_tuple.type.as.I.impl.F.c7843c.1, @empty_tuple.type.as.I.impl.F.loc10_34.1(%Copy.facet) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.72b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] +// CHECK:STDOUT: %.39b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72b, %Copy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.8a3: %.39b = impl_witness_access %Copy.lookup_impl_witness.2bf, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a13: = specific_impl_function %impl.elem0.8a3, @Copy.WithSelf.Op(%Copy.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -979,35 +979,35 @@ impl () as I({}) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.I.impl: %.loc8_7.2 as %I.ref { -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_34.1: %empty_tuple.type.as.I.impl.F.type.6d06b7.1 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_34.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.90a955.1] { -// CHECK:STDOUT: %U.patt: %pattern_type.35b = symbolic_binding_pattern U, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @empty_tuple.type.as.I.impl.F.loc10_34.1.%pattern_type (%pattern_type.4b69d0.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @empty_tuple.type.as.I.impl.F.loc10_34.1.%pattern_type (%pattern_type.4b69d0.2) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @empty_tuple.type.as.I.impl.F.loc10_34.1.%pattern_type (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @empty_tuple.type.as.I.impl.F.loc10_34.1.%pattern_type (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc10_32.3 [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_34.1: %empty_tuple.type.as.I.impl.F.type.9e994f.1 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_34.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.c7843c.1] { +// CHECK:STDOUT: %U.patt: %pattern_type.b72 = symbolic_binding_pattern U, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @empty_tuple.type.as.I.impl.F.loc10_34.1.%pattern_type (%pattern_type.c0fdca.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @empty_tuple.type.as.I.impl.F.loc10_34.1.%pattern_type (%pattern_type.c0fdca.2) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @empty_tuple.type.as.I.impl.F.loc10_34.1.%pattern_type (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @empty_tuple.type.as.I.impl.F.loc10_34.1.%pattern_type (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc10_32.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %U.ref.loc10_32: %Copy.type = name_ref U, %U.loc10_9.2 [symbolic = %U.loc10_9.1 (constants.%U.228)] -// CHECK:STDOUT: %U.as_type.loc10_32: type = facet_access_type %U.ref.loc10_32 [symbolic = %U.as_type.loc10_26.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %.loc10_32.3: type = converted %U.ref.loc10_32, %U.as_type.loc10_32 [symbolic = %U.as_type.loc10_26.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %.loc10_32.4: Core.Form = init_form %.loc10_32.3 [symbolic = %.loc10_32.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %U.ref.loc10_32: %Copy.type = name_ref U, %U.loc10_9.2 [symbolic = %U.loc10_9.1 (constants.%U.f49)] +// CHECK:STDOUT: %U.as_type.loc10_32: type = facet_access_type %U.ref.loc10_32 [symbolic = %U.as_type.loc10_26.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %.loc10_32.3: type = converted %U.ref.loc10_32, %U.as_type.loc10_32 [symbolic = %U.as_type.loc10_26.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %.loc10_32.4: Core.Form = init_form %.loc10_32.3 [symbolic = %.loc10_32.2 (constants.%.dedae6.2)] // CHECK:STDOUT: %.loc10_16: type = splice_block %Copy.ref [concrete = constants.%Copy.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc10_9.2: %Copy.type = symbolic_binding U, 0 [symbolic = %U.loc10_9.1 (constants.%U.228)] -// CHECK:STDOUT: %x.param: @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.91a) = value_param call_param0 -// CHECK:STDOUT: %.loc10_26.1: type = splice_block %.loc10_26.2 [symbolic = %U.as_type.loc10_26.1 (constants.%U.as_type.91a)] { -// CHECK:STDOUT: %U.ref.loc10_26: %Copy.type = name_ref U, %U.loc10_9.2 [symbolic = %U.loc10_9.1 (constants.%U.228)] -// CHECK:STDOUT: %U.as_type.loc10_26.2: type = facet_access_type %U.ref.loc10_26 [symbolic = %U.as_type.loc10_26.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %.loc10_26.2: type = converted %U.ref.loc10_26, %U.as_type.loc10_26.2 [symbolic = %U.as_type.loc10_26.1 (constants.%U.as_type.91a)] +// CHECK:STDOUT: %U.loc10_9.2: %Copy.type = symbolic_binding U, 0 [symbolic = %U.loc10_9.1 (constants.%U.f49)] +// CHECK:STDOUT: %x.param: @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.09c) = value_param call_param0 +// CHECK:STDOUT: %.loc10_26.1: type = splice_block %.loc10_26.2 [symbolic = %U.as_type.loc10_26.1 (constants.%U.as_type.09c)] { +// CHECK:STDOUT: %U.ref.loc10_26: %Copy.type = name_ref U, %U.loc10_9.2 [symbolic = %U.loc10_9.1 (constants.%U.f49)] +// CHECK:STDOUT: %U.as_type.loc10_26.2: type = facet_access_type %U.ref.loc10_26 [symbolic = %U.as_type.loc10_26.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %.loc10_26.2: type = converted %U.ref.loc10_26, %U.as_type.loc10_26.2 [symbolic = %U.as_type.loc10_26.1 (constants.%U.as_type.09c)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.91a) = value_binding x, %x.param -// CHECK:STDOUT: %return.param: ref @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.91a) = out_param call_param1 -// CHECK:STDOUT: %return: ref @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.91a) = return_slot %return.param +// CHECK:STDOUT: %x: @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.09c) = value_binding x, %x.param +// CHECK:STDOUT: %return.param: ref @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.09c) = out_param call_param1 +// CHECK:STDOUT: %return: ref @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.09c) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_34.2: %empty_tuple.type.as.I.impl.F.type.6d06b7.2 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_34.2 [concrete = constants.%empty_tuple.type.as.I.impl.F.90a955.2] { +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_34.2: %empty_tuple.type.as.I.impl.F.type.9e994f.2 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_34.2 [concrete = constants.%empty_tuple.type.as.I.impl.F.c7843c.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: @@ -1021,28 +1021,28 @@ impl () as I({}) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @empty_tuple.type.as.I.impl.F.loc10_34.1(%U.loc10_9.2: %Copy.type) { -// CHECK:STDOUT: %U.loc10_9.1: %Copy.type = symbolic_binding U, 0 [symbolic = %U.loc10_9.1 (constants.%U.228)] -// CHECK:STDOUT: %U.as_type.loc10_26.1: type = facet_access_type %U.loc10_9.1 [symbolic = %U.as_type.loc10_26.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc10_26.1 [symbolic = %pattern_type (constants.%pattern_type.4b69d0.2)] -// CHECK:STDOUT: %.loc10_32.2: Core.Form = init_form %U.as_type.loc10_26.1 [symbolic = %.loc10_32.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %U.loc10_9.1: %Copy.type = symbolic_binding U, 0 [symbolic = %U.loc10_9.1 (constants.%U.f49)] +// CHECK:STDOUT: %U.as_type.loc10_26.1: type = facet_access_type %U.loc10_9.1 [symbolic = %U.as_type.loc10_26.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc10_26.1 [symbolic = %pattern_type (constants.%pattern_type.c0fdca.2)] +// CHECK:STDOUT: %.loc10_32.2: Core.Form = init_form %U.as_type.loc10_26.1 [symbolic = %.loc10_32.2 (constants.%.dedae6.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc10_26.1 [symbolic = %require_complete (constants.%require_complete.c28bd3.1)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%U.loc10_9.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.3)] -// CHECK:STDOUT: %.loc10_43: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %U.loc10_9.1 [symbolic = %.loc10_43 (constants.%.12f564.2)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %U.loc10_9.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c494ff.2)] -// CHECK:STDOUT: %impl.elem0.loc10_43.2: @empty_tuple.type.as.I.impl.F.loc10_34.1.%.loc10_43 (%.12f564.2) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_43.2 (constants.%impl.elem0.cbdbfc.2)] -// CHECK:STDOUT: %specific_impl_fn.loc10_43.2: = specific_impl_function %impl.elem0.loc10_43.2, @Copy.WithSelf.Op(%U.loc10_9.1) [symbolic = %specific_impl_fn.loc10_43.2 (constants.%specific_impl_fn.c5f227.2)] +// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc10_26.1 [symbolic = %require_complete (constants.%require_complete.77e193.1)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%U.loc10_9.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.3)] +// CHECK:STDOUT: %.loc10_43: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %U.loc10_9.1 [symbolic = %.loc10_43 (constants.%.e16121.2)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %U.loc10_9.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2ddaf7.2)] +// CHECK:STDOUT: %impl.elem0.loc10_43.2: @empty_tuple.type.as.I.impl.F.loc10_34.1.%.loc10_43 (%.e16121.2) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_43.2 (constants.%impl.elem0.41e7eb.2)] +// CHECK:STDOUT: %specific_impl_fn.loc10_43.2: = specific_impl_function %impl.elem0.loc10_43.2, @Copy.WithSelf.Op(%U.loc10_9.1) [symbolic = %specific_impl_fn.loc10_43.2 (constants.%specific_impl_fn.7ecd07.2)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.91a)) -> out %return.param: @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.91a) { +// CHECK:STDOUT: fn(%x.param: @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.09c)) -> out %return.param: @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.09c) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.91a) = name_ref x, %x -// CHECK:STDOUT: %impl.elem0.loc10_43.1: @empty_tuple.type.as.I.impl.F.loc10_34.1.%.loc10_43 (%.12f564.2) = impl_witness_access constants.%Copy.lookup_impl_witness.c494ff.2, element0 [symbolic = %impl.elem0.loc10_43.2 (constants.%impl.elem0.cbdbfc.2)] +// CHECK:STDOUT: %x.ref: @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.09c) = name_ref x, %x +// CHECK:STDOUT: %impl.elem0.loc10_43.1: @empty_tuple.type.as.I.impl.F.loc10_34.1.%.loc10_43 (%.e16121.2) = impl_witness_access constants.%Copy.lookup_impl_witness.2ddaf7.2, element0 [symbolic = %impl.elem0.loc10_43.2 (constants.%impl.elem0.41e7eb.2)] // CHECK:STDOUT: %bound_method.loc10_43.1: = bound_method %x.ref, %impl.elem0.loc10_43.1 -// CHECK:STDOUT: %specific_impl_fn.loc10_43.1: = specific_impl_function %impl.elem0.loc10_43.1, @Copy.WithSelf.Op(constants.%U.228) [symbolic = %specific_impl_fn.loc10_43.2 (constants.%specific_impl_fn.c5f227.2)] +// CHECK:STDOUT: %specific_impl_fn.loc10_43.1: = specific_impl_function %impl.elem0.loc10_43.1, @Copy.WithSelf.Op(constants.%U.f49) [symbolic = %specific_impl_fn.loc10_43.2 (constants.%specific_impl_fn.7ecd07.2)] // CHECK:STDOUT: %bound_method.loc10_43.2: = bound_method %x.ref, %specific_impl_fn.loc10_43.1 -// CHECK:STDOUT: %.loc10_32.1: ref @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.91a) = splice_block %return.param {} -// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.91a) to %.loc10_32.1 = call %bound_method.loc10_43.2(%x.ref) +// CHECK:STDOUT: %.loc10_32.1: ref @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.09c) = splice_block %return.param {} +// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @empty_tuple.type.as.I.impl.F.loc10_34.1.%U.as_type.loc10_26.1 (%U.as_type.09c) to %.loc10_32.1 = call %bound_method.loc10_43.2(%x.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -1052,15 +1052,15 @@ impl () as I({}) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %.loc10_34.2: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc5_9.1) [symbolic = %.loc10_34.2 (constants.%.546)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.5be)] +// CHECK:STDOUT: %.loc10_34.2: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc5_9.1) [symbolic = %.loc10_34.2 (constants.%.b6a)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2bf)] // CHECK:STDOUT: %Copy.facet.loc10_34.2: %Copy.type = facet_value %ptr, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet.loc10_34.2 (constants.%Copy.facet)] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.specific_fn.loc10_34.2: = specific_function constants.%empty_tuple.type.as.I.impl.F.90a955.1, @empty_tuple.type.as.I.impl.F.loc10_34.1(%Copy.facet.loc10_34.2) [symbolic = %empty_tuple.type.as.I.impl.F.specific_fn.loc10_34.2 (constants.%empty_tuple.type.as.I.impl.F.specific_fn)] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.specific_fn.loc10_34.2: = specific_function constants.%empty_tuple.type.as.I.impl.F.c7843c.1, @empty_tuple.type.as.I.impl.F.loc10_34.1(%Copy.facet.loc10_34.2) [symbolic = %empty_tuple.type.as.I.impl.F.specific_fn.loc10_34.2 (constants.%empty_tuple.type.as.I.impl.F.specific_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @empty_tuple.type.as.I.impl.F.loc10_34.2.%ptr (%ptr.e8f)) -> out %return.param: @empty_tuple.type.as.I.impl.F.loc10_34.2.%ptr (%ptr.e8f) [thunk @empty_tuple.type.as.I.impl.%empty_tuple.type.as.I.impl.F.decl.loc10_34.1 for @I.WithSelf.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%I.facet, constants.%T.67d)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %empty_tuple.type.as.I.impl.F.type.6d06b7.1 = name_ref F, @empty_tuple.type.as.I.impl.%empty_tuple.type.as.I.impl.F.decl.loc10_34.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.90a955.1] -// CHECK:STDOUT: %Copy.facet.loc10_34.1: %Copy.type = facet_value constants.%ptr.e8f, (constants.%Copy.lookup_impl_witness.5be) [symbolic = %Copy.facet.loc10_34.2 (constants.%Copy.facet)] +// CHECK:STDOUT: %F.ref: %empty_tuple.type.as.I.impl.F.type.9e994f.1 = name_ref F, @empty_tuple.type.as.I.impl.%empty_tuple.type.as.I.impl.F.decl.loc10_34.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.c7843c.1] +// CHECK:STDOUT: %Copy.facet.loc10_34.1: %Copy.type = facet_value constants.%ptr.e8f, (constants.%Copy.lookup_impl_witness.2bf) [symbolic = %Copy.facet.loc10_34.2 (constants.%Copy.facet)] // CHECK:STDOUT: %.loc10_34.1: %Copy.type = converted constants.%ptr.e8f, %Copy.facet.loc10_34.1 [symbolic = %Copy.facet.loc10_34.2 (constants.%Copy.facet)] // CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.specific_fn.loc10_34.1: = specific_function %F.ref, @empty_tuple.type.as.I.impl.F.loc10_34.1(constants.%Copy.facet) [symbolic = %empty_tuple.type.as.I.impl.F.specific_fn.loc10_34.2 (constants.%empty_tuple.type.as.I.impl.F.specific_fn)] // CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.call: init @empty_tuple.type.as.I.impl.F.loc10_34.2.%ptr (%ptr.e8f) = call %empty_tuple.type.as.I.impl.F.specific_fn.loc10_34.1(%x.param) @@ -1068,11 +1068,11 @@ impl () as I({}) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @empty_tuple.type.as.I.impl.F.loc10_34.1(constants.%U.228) { -// CHECK:STDOUT: %U.loc10_9.1 => constants.%U.228 -// CHECK:STDOUT: %U.as_type.loc10_26.1 => constants.%U.as_type.91a -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4b69d0.2 -// CHECK:STDOUT: %.loc10_32.2 => constants.%.9ff809.2 +// CHECK:STDOUT: specific @empty_tuple.type.as.I.impl.F.loc10_34.1(constants.%U.f49) { +// CHECK:STDOUT: %U.loc10_9.1 => constants.%U.f49 +// CHECK:STDOUT: %U.as_type.loc10_26.1 => constants.%U.as_type.09c +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c0fdca.2 +// CHECK:STDOUT: %.loc10_32.2 => constants.%.dedae6.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @empty_tuple.type.as.I.impl.F.loc10_34.2(constants.%T.67d) { @@ -1090,11 +1090,11 @@ impl () as I({}) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete.ef1 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.a8e -// CHECK:STDOUT: %.loc10_43 => constants.%.86b -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.5be -// CHECK:STDOUT: %impl.elem0.loc10_43.2 => constants.%impl.elem0.480 -// CHECK:STDOUT: %specific_impl_fn.loc10_43.2 => constants.%specific_impl_fn.d1f +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.72b +// CHECK:STDOUT: %.loc10_43 => constants.%.39b +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.2bf +// CHECK:STDOUT: %impl.elem0.loc10_43.2 => constants.%impl.elem0.8a3 +// CHECK:STDOUT: %specific_impl_fn.loc10_43.2 => constants.%specific_impl_fn.a13 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- generic_method.carbon @@ -1108,35 +1108,35 @@ impl () as I({}) { // CHECK:STDOUT: %I.impl_witness: = impl_witness @empty_tuple.type.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %pattern_type.35b: type = pattern_type %Copy.type [concrete] -// CHECK:STDOUT: %U.228: %Copy.type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %U.as_type.91a: type = facet_access_type %U.228 [symbolic] -// CHECK:STDOUT: %pattern_type.4b69d0.2: type = pattern_type %U.as_type.91a [symbolic] -// CHECK:STDOUT: %.9ff809.2: Core.Form = init_form %U.as_type.91a [symbolic] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.96fef5.1: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_51.1 [concrete] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.737dce.1: %empty_tuple.type.as.I.impl.F.type.96fef5.1 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.b72: type = pattern_type %Copy.type [concrete] +// CHECK:STDOUT: %U.f49: %Copy.type = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %U.as_type.09c: type = facet_access_type %U.f49 [symbolic] +// CHECK:STDOUT: %pattern_type.c0fdca.2: type = pattern_type %U.as_type.09c [symbolic] +// CHECK:STDOUT: %.dedae6.2: Core.Form = init_form %U.as_type.09c [symbolic] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.9e994f.1: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_51.1 [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.c7843c.1: %empty_tuple.type.as.I.impl.F.type.9e994f.1 = struct_value () [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %empty_tuple.type, (%I.impl_witness) [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] // CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %ptr.e8f [symbolic] // CHECK:STDOUT: %.cb6: Core.Form = init_form %ptr.e8f [symbolic] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.96fef5.2: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_51.2 [concrete] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.737dce.2: %empty_tuple.type.as.I.impl.F.type.96fef5.2 = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.c28bd3.1: = require_complete_type %U.as_type.91a [symbolic] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.9e994f.2: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_51.2 [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.c7843c.2: %empty_tuple.type.as.I.impl.F.type.9e994f.2 = struct_value () [concrete] +// CHECK:STDOUT: %require_complete.77e193.1: = require_complete_type %U.as_type.09c [symbolic] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.c494ff.2: = lookup_impl_witness %U.228, @Copy [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d2ec0c.3: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%U.228) [symbolic] -// CHECK:STDOUT: %.12f564.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d2ec0c.3, %U.228 [symbolic] -// CHECK:STDOUT: %impl.elem0.cbdbfc.2: %.12f564.2 = impl_witness_access %Copy.lookup_impl_witness.c494ff.2, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.c5f227.2: = specific_impl_function %impl.elem0.cbdbfc.2, @Copy.WithSelf.Op(%U.228) [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.5be: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] -// CHECK:STDOUT: %.546: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.5be) [symbolic] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.specific_fn: = specific_function %empty_tuple.type.as.I.impl.F.737dce.1, @empty_tuple.type.as.I.impl.F.loc10_51.1(%Copy.facet) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a8e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] -// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a8e, %Copy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.480: %.86b = impl_witness_access %Copy.lookup_impl_witness.5be, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d1f: = specific_impl_function %impl.elem0.480, @Copy.WithSelf.Op(%Copy.facet) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2ddaf7.2: = lookup_impl_witness %U.f49, @Copy [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9f10f.3: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%U.f49) [symbolic] +// CHECK:STDOUT: %.e16121.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9f10f.3, %U.f49 [symbolic] +// CHECK:STDOUT: %impl.elem0.41e7eb.2: %.e16121.2 = impl_witness_access %Copy.lookup_impl_witness.2ddaf7.2, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.7ecd07.2: = specific_impl_function %impl.elem0.41e7eb.2, @Copy.WithSelf.Op(%U.f49) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2bf: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] +// CHECK:STDOUT: %.b6a: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.2bf) [symbolic] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.specific_fn: = specific_function %empty_tuple.type.as.I.impl.F.c7843c.1, @empty_tuple.type.as.I.impl.F.loc10_51.1(%Copy.facet) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.72b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] +// CHECK:STDOUT: %.39b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72b, %Copy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.8a3: %.39b = impl_witness_access %Copy.lookup_impl_witness.2bf, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a13: = specific_impl_function %impl.elem0.8a3, @Copy.WithSelf.Op(%Copy.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1149,19 +1149,19 @@ impl () as I({}) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.I.impl: %.loc8_7.2 as %I.ref { -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_51.1: %empty_tuple.type.as.I.impl.F.type.96fef5.1 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_51.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.737dce.1] { +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_51.1: %empty_tuple.type.as.I.impl.F.type.9e994f.1 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_51.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.c7843c.1] { // CHECK:STDOUT: %self.param_patt: %pattern_type.cb1 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.cb1 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %U.patt: %pattern_type.35b = symbolic_binding_pattern U, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @empty_tuple.type.as.I.impl.F.loc10_51.1.%pattern_type (%pattern_type.4b69d0.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @empty_tuple.type.as.I.impl.F.loc10_51.1.%pattern_type (%pattern_type.4b69d0.2) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @empty_tuple.type.as.I.impl.F.loc10_51.1.%pattern_type (%pattern_type.4b69d0.2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @empty_tuple.type.as.I.impl.F.loc10_51.1.%pattern_type (%pattern_type.4b69d0.2) = return_slot_pattern %return.param_patt, %.loc10_49.3 [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.b72 = symbolic_binding_pattern U, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @empty_tuple.type.as.I.impl.F.loc10_51.1.%pattern_type (%pattern_type.c0fdca.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @empty_tuple.type.as.I.impl.F.loc10_51.1.%pattern_type (%pattern_type.c0fdca.2) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @empty_tuple.type.as.I.impl.F.loc10_51.1.%pattern_type (%pattern_type.c0fdca.2) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @empty_tuple.type.as.I.impl.F.loc10_51.1.%pattern_type (%pattern_type.c0fdca.2) = return_slot_pattern %return.param_patt, %.loc10_49.3 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %U.ref.loc10_49: %Copy.type = name_ref U, %U.loc10_26.2 [symbolic = %U.loc10_26.1 (constants.%U.228)] -// CHECK:STDOUT: %U.as_type.loc10_49: type = facet_access_type %U.ref.loc10_49 [symbolic = %U.as_type.loc10_43.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %.loc10_49.3: type = converted %U.ref.loc10_49, %U.as_type.loc10_49 [symbolic = %U.as_type.loc10_43.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %.loc10_49.4: Core.Form = init_form %.loc10_49.3 [symbolic = %.loc10_49.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %U.ref.loc10_49: %Copy.type = name_ref U, %U.loc10_26.2 [symbolic = %U.loc10_26.1 (constants.%U.f49)] +// CHECK:STDOUT: %U.as_type.loc10_49: type = facet_access_type %U.ref.loc10_49 [symbolic = %U.as_type.loc10_43.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %.loc10_49.3: type = converted %U.ref.loc10_49, %U.as_type.loc10_49 [symbolic = %U.as_type.loc10_43.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %.loc10_49.4: Core.Form = init_form %.loc10_49.3 [symbolic = %.loc10_49.2 (constants.%.dedae6.2)] // CHECK:STDOUT: %self.param: %empty_tuple.type = value_param call_param0 // CHECK:STDOUT: %.loc10_22.1: type = splice_block %.loc10_22.3 [concrete = constants.%empty_tuple.type] { // CHECK:STDOUT: %.loc10_22.2: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] @@ -1173,19 +1173,19 @@ impl () as I({}) { // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Copy.ref: type = name_ref Copy, imports.%Core.Copy [concrete = constants.%Copy.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc10_26.2: %Copy.type = symbolic_binding U, 0 [symbolic = %U.loc10_26.1 (constants.%U.228)] -// CHECK:STDOUT: %x.param: @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.91a) = value_param call_param1 -// CHECK:STDOUT: %.loc10_43.1: type = splice_block %.loc10_43.2 [symbolic = %U.as_type.loc10_43.1 (constants.%U.as_type.91a)] { -// CHECK:STDOUT: %U.ref.loc10_43: %Copy.type = name_ref U, %U.loc10_26.2 [symbolic = %U.loc10_26.1 (constants.%U.228)] -// CHECK:STDOUT: %U.as_type.loc10_43.2: type = facet_access_type %U.ref.loc10_43 [symbolic = %U.as_type.loc10_43.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %.loc10_43.2: type = converted %U.ref.loc10_43, %U.as_type.loc10_43.2 [symbolic = %U.as_type.loc10_43.1 (constants.%U.as_type.91a)] +// CHECK:STDOUT: %U.loc10_26.2: %Copy.type = symbolic_binding U, 0 [symbolic = %U.loc10_26.1 (constants.%U.f49)] +// CHECK:STDOUT: %x.param: @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.09c) = value_param call_param1 +// CHECK:STDOUT: %.loc10_43.1: type = splice_block %.loc10_43.2 [symbolic = %U.as_type.loc10_43.1 (constants.%U.as_type.09c)] { +// CHECK:STDOUT: %U.ref.loc10_43: %Copy.type = name_ref U, %U.loc10_26.2 [symbolic = %U.loc10_26.1 (constants.%U.f49)] +// CHECK:STDOUT: %U.as_type.loc10_43.2: type = facet_access_type %U.ref.loc10_43 [symbolic = %U.as_type.loc10_43.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %.loc10_43.2: type = converted %U.ref.loc10_43, %U.as_type.loc10_43.2 [symbolic = %U.as_type.loc10_43.1 (constants.%U.as_type.09c)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.91a) = value_binding x, %x.param -// CHECK:STDOUT: %return.param: ref @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.91a) = out_param call_param2 -// CHECK:STDOUT: %return: ref @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.91a) = return_slot %return.param +// CHECK:STDOUT: %x: @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.09c) = value_binding x, %x.param +// CHECK:STDOUT: %return.param: ref @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.09c) = out_param call_param2 +// CHECK:STDOUT: %return: ref @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.09c) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_51.2: %empty_tuple.type.as.I.impl.F.type.96fef5.2 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_51.2 [concrete = constants.%empty_tuple.type.as.I.impl.F.737dce.2] { +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_51.2: %empty_tuple.type.as.I.impl.F.type.9e994f.2 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_51.2 [concrete = constants.%empty_tuple.type.as.I.impl.F.c7843c.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: @@ -1199,28 +1199,28 @@ impl () as I({}) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @empty_tuple.type.as.I.impl.F.loc10_51.1(%U.loc10_26.2: %Copy.type) { -// CHECK:STDOUT: %U.loc10_26.1: %Copy.type = symbolic_binding U, 0 [symbolic = %U.loc10_26.1 (constants.%U.228)] -// CHECK:STDOUT: %U.as_type.loc10_43.1: type = facet_access_type %U.loc10_26.1 [symbolic = %U.as_type.loc10_43.1 (constants.%U.as_type.91a)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc10_43.1 [symbolic = %pattern_type (constants.%pattern_type.4b69d0.2)] -// CHECK:STDOUT: %.loc10_49.2: Core.Form = init_form %U.as_type.loc10_43.1 [symbolic = %.loc10_49.2 (constants.%.9ff809.2)] +// CHECK:STDOUT: %U.loc10_26.1: %Copy.type = symbolic_binding U, 0 [symbolic = %U.loc10_26.1 (constants.%U.f49)] +// CHECK:STDOUT: %U.as_type.loc10_43.1: type = facet_access_type %U.loc10_26.1 [symbolic = %U.as_type.loc10_43.1 (constants.%U.as_type.09c)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc10_43.1 [symbolic = %pattern_type (constants.%pattern_type.c0fdca.2)] +// CHECK:STDOUT: %.loc10_49.2: Core.Form = init_form %U.as_type.loc10_43.1 [symbolic = %.loc10_49.2 (constants.%.dedae6.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc10_43.1 [symbolic = %require_complete (constants.%require_complete.c28bd3.1)] -// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%U.loc10_26.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.d2ec0c.3)] -// CHECK:STDOUT: %.loc10_60: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %U.loc10_26.1 [symbolic = %.loc10_60 (constants.%.12f564.2)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %U.loc10_26.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.c494ff.2)] -// CHECK:STDOUT: %impl.elem0.loc10_60.2: @empty_tuple.type.as.I.impl.F.loc10_51.1.%.loc10_60 (%.12f564.2) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_60.2 (constants.%impl.elem0.cbdbfc.2)] -// CHECK:STDOUT: %specific_impl_fn.loc10_60.2: = specific_impl_function %impl.elem0.loc10_60.2, @Copy.WithSelf.Op(%U.loc10_26.1) [symbolic = %specific_impl_fn.loc10_60.2 (constants.%specific_impl_fn.c5f227.2)] +// CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc10_43.1 [symbolic = %require_complete (constants.%require_complete.77e193.1)] +// CHECK:STDOUT: %Copy.WithSelf.Op.type: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%U.loc10_26.1) [symbolic = %Copy.WithSelf.Op.type (constants.%Copy.WithSelf.Op.type.e9f10f.3)] +// CHECK:STDOUT: %.loc10_60: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %U.loc10_26.1 [symbolic = %.loc10_60 (constants.%.e16121.2)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %U.loc10_26.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2ddaf7.2)] +// CHECK:STDOUT: %impl.elem0.loc10_60.2: @empty_tuple.type.as.I.impl.F.loc10_51.1.%.loc10_60 (%.e16121.2) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_60.2 (constants.%impl.elem0.41e7eb.2)] +// CHECK:STDOUT: %specific_impl_fn.loc10_60.2: = specific_impl_function %impl.elem0.loc10_60.2, @Copy.WithSelf.Op(%U.loc10_26.1) [symbolic = %specific_impl_fn.loc10_60.2 (constants.%specific_impl_fn.7ecd07.2)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: %empty_tuple.type, %x.param: @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.91a)) -> out %return.param: @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.91a) { +// CHECK:STDOUT: fn(%self.param: %empty_tuple.type, %x.param: @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.09c)) -> out %return.param: @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.09c) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.91a) = name_ref x, %x -// CHECK:STDOUT: %impl.elem0.loc10_60.1: @empty_tuple.type.as.I.impl.F.loc10_51.1.%.loc10_60 (%.12f564.2) = impl_witness_access constants.%Copy.lookup_impl_witness.c494ff.2, element0 [symbolic = %impl.elem0.loc10_60.2 (constants.%impl.elem0.cbdbfc.2)] +// CHECK:STDOUT: %x.ref: @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.09c) = name_ref x, %x +// CHECK:STDOUT: %impl.elem0.loc10_60.1: @empty_tuple.type.as.I.impl.F.loc10_51.1.%.loc10_60 (%.e16121.2) = impl_witness_access constants.%Copy.lookup_impl_witness.2ddaf7.2, element0 [symbolic = %impl.elem0.loc10_60.2 (constants.%impl.elem0.41e7eb.2)] // CHECK:STDOUT: %bound_method.loc10_60.1: = bound_method %x.ref, %impl.elem0.loc10_60.1 -// CHECK:STDOUT: %specific_impl_fn.loc10_60.1: = specific_impl_function %impl.elem0.loc10_60.1, @Copy.WithSelf.Op(constants.%U.228) [symbolic = %specific_impl_fn.loc10_60.2 (constants.%specific_impl_fn.c5f227.2)] +// CHECK:STDOUT: %specific_impl_fn.loc10_60.1: = specific_impl_function %impl.elem0.loc10_60.1, @Copy.WithSelf.Op(constants.%U.f49) [symbolic = %specific_impl_fn.loc10_60.2 (constants.%specific_impl_fn.7ecd07.2)] // CHECK:STDOUT: %bound_method.loc10_60.2: = bound_method %x.ref, %specific_impl_fn.loc10_60.1 -// CHECK:STDOUT: %.loc10_49.1: ref @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.91a) = splice_block %return.param {} -// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.91a) to %.loc10_49.1 = call %bound_method.loc10_60.2(%x.ref) +// CHECK:STDOUT: %.loc10_49.1: ref @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.09c) = splice_block %return.param {} +// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @empty_tuple.type.as.I.impl.F.loc10_51.1.%U.as_type.loc10_43.1 (%U.as_type.09c) to %.loc10_49.1 = call %bound_method.loc10_60.2(%x.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -1230,16 +1230,16 @@ impl () as I({}) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %.loc10_51.2: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc5_21.1) [symbolic = %.loc10_51.2 (constants.%.546)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.5be)] +// CHECK:STDOUT: %.loc10_51.2: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc5_21.1) [symbolic = %.loc10_51.2 (constants.%.b6a)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2bf)] // CHECK:STDOUT: %Copy.facet.loc10_51.2: %Copy.type = facet_value %ptr, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet.loc10_51.2 (constants.%Copy.facet)] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.specific_fn.loc10_51.2: = specific_function constants.%empty_tuple.type.as.I.impl.F.737dce.1, @empty_tuple.type.as.I.impl.F.loc10_51.1(%Copy.facet.loc10_51.2) [symbolic = %empty_tuple.type.as.I.impl.F.specific_fn.loc10_51.2 (constants.%empty_tuple.type.as.I.impl.F.specific_fn)] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.specific_fn.loc10_51.2: = specific_function constants.%empty_tuple.type.as.I.impl.F.c7843c.1, @empty_tuple.type.as.I.impl.F.loc10_51.1(%Copy.facet.loc10_51.2) [symbolic = %empty_tuple.type.as.I.impl.F.specific_fn.loc10_51.2 (constants.%empty_tuple.type.as.I.impl.F.specific_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: %empty_tuple.type, %x.param: @empty_tuple.type.as.I.impl.F.loc10_51.2.%ptr (%ptr.e8f)) -> out %return.param: @empty_tuple.type.as.I.impl.F.loc10_51.2.%ptr (%ptr.e8f) [thunk @empty_tuple.type.as.I.impl.%empty_tuple.type.as.I.impl.F.decl.loc10_51.1 for @I.WithSelf.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%I.facet, constants.%T.67d)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %empty_tuple.type.as.I.impl.F.type.96fef5.1 = name_ref F, @empty_tuple.type.as.I.impl.%empty_tuple.type.as.I.impl.F.decl.loc10_51.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.737dce.1] +// CHECK:STDOUT: %F.ref: %empty_tuple.type.as.I.impl.F.type.9e994f.1 = name_ref F, @empty_tuple.type.as.I.impl.%empty_tuple.type.as.I.impl.F.decl.loc10_51.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.c7843c.1] // CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.bound: = bound_method %self.param, %F.ref -// CHECK:STDOUT: %Copy.facet.loc10_51.1: %Copy.type = facet_value constants.%ptr.e8f, (constants.%Copy.lookup_impl_witness.5be) [symbolic = %Copy.facet.loc10_51.2 (constants.%Copy.facet)] +// CHECK:STDOUT: %Copy.facet.loc10_51.1: %Copy.type = facet_value constants.%ptr.e8f, (constants.%Copy.lookup_impl_witness.2bf) [symbolic = %Copy.facet.loc10_51.2 (constants.%Copy.facet)] // CHECK:STDOUT: %.loc10_51.1: %Copy.type = converted constants.%ptr.e8f, %Copy.facet.loc10_51.1 [symbolic = %Copy.facet.loc10_51.2 (constants.%Copy.facet)] // CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.specific_fn.loc10_51.1: = specific_function %F.ref, @empty_tuple.type.as.I.impl.F.loc10_51.1(constants.%Copy.facet) [symbolic = %empty_tuple.type.as.I.impl.F.specific_fn.loc10_51.2 (constants.%empty_tuple.type.as.I.impl.F.specific_fn)] // CHECK:STDOUT: %bound_method: = bound_method %self.param, %empty_tuple.type.as.I.impl.F.specific_fn.loc10_51.1 @@ -1248,11 +1248,11 @@ impl () as I({}) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @empty_tuple.type.as.I.impl.F.loc10_51.1(constants.%U.228) { -// CHECK:STDOUT: %U.loc10_26.1 => constants.%U.228 -// CHECK:STDOUT: %U.as_type.loc10_43.1 => constants.%U.as_type.91a -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4b69d0.2 -// CHECK:STDOUT: %.loc10_49.2 => constants.%.9ff809.2 +// CHECK:STDOUT: specific @empty_tuple.type.as.I.impl.F.loc10_51.1(constants.%U.f49) { +// CHECK:STDOUT: %U.loc10_26.1 => constants.%U.f49 +// CHECK:STDOUT: %U.as_type.loc10_43.1 => constants.%U.as_type.09c +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c0fdca.2 +// CHECK:STDOUT: %.loc10_49.2 => constants.%.dedae6.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @empty_tuple.type.as.I.impl.F.loc10_51.2(constants.%T.67d) { @@ -1270,11 +1270,11 @@ impl () as I({}) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete.ef1 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.a8e -// CHECK:STDOUT: %.loc10_60 => constants.%.86b -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.5be -// CHECK:STDOUT: %impl.elem0.loc10_60.2 => constants.%impl.elem0.480 -// CHECK:STDOUT: %specific_impl_fn.loc10_60.2 => constants.%specific_impl_fn.d1f +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.72b +// CHECK:STDOUT: %.loc10_60 => constants.%.39b +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.lookup_impl_witness.2bf +// CHECK:STDOUT: %impl.elem0.loc10_60.2 => constants.%impl.elem0.8a3 +// CHECK:STDOUT: %specific_impl_fn.loc10_60.2 => constants.%specific_impl_fn.a13 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- generic_interface.carbon @@ -1283,24 +1283,24 @@ impl () as I({}) { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %I.type.9a1: type = facet_type <@I, @I(%empty_struct_type)> [concrete] +// CHECK:STDOUT: %I.type.317: type = facet_type <@I, @I(%empty_struct_type)> [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @empty_tuple.type.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %struct_type.b.a.1b0: type = struct_type {.b: %empty_struct_type, .a: %empty_struct_type} [concrete] // CHECK:STDOUT: %.3fc: Core.Form = init_form %struct_type.b.a.1b0 [concrete] // CHECK:STDOUT: %pattern_type.914: type = pattern_type %struct_type.b.a.1b0 [concrete] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.03bcf8.1: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_29.1 [concrete] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.90e7ba.1: %empty_tuple.type.as.I.impl.F.type.03bcf8.1 = struct_value () [concrete] -// CHECK:STDOUT: %I.facet: %I.type.9a1 = facet_value %empty_tuple.type, (%I.impl_witness) [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.9e994f.1: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_29.1 [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.c7843c.1: %empty_tuple.type.as.I.impl.F.type.9e994f.1 = struct_value () [concrete] +// CHECK:STDOUT: %I.facet: %I.type.317 = facet_value %empty_tuple.type, (%I.impl_witness) [concrete] // CHECK:STDOUT: %struct_type.a.b.f95: type = struct_type {.a: %empty_struct_type, .b: %empty_struct_type} [concrete] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.03bcf8.2: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_29.2 [concrete] -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.90e7ba.2: %empty_tuple.type.as.I.impl.F.type.03bcf8.2 = struct_value () [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.type.9e994f.2: type = fn_type @empty_tuple.type.as.I.impl.F.loc10_29.2 [concrete] +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.c7843c.2: %empty_tuple.type.as.I.impl.F.type.9e994f.2 = struct_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.a.b.f95 = struct_value (%empty_struct, %empty_struct) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc10_29.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc10_29.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @empty_tuple.type.as.I.impl: %.loc8_7.2 as %I.type { -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_29.1: %empty_tuple.type.as.I.impl.F.type.03bcf8.1 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_29.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.90e7ba.1] { +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_29.1: %empty_tuple.type.as.I.impl.F.type.9e994f.1 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_29.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.c7843c.1] { // CHECK:STDOUT: %return.param_patt: %pattern_type.914 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.914 = return_slot_pattern %return.param_patt, %struct_type.b.a [concrete] // CHECK:STDOUT: } { @@ -1314,7 +1314,7 @@ impl () as I({}) { // CHECK:STDOUT: %return: ref %struct_type.b.a.1b0 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_29.2: %empty_tuple.type.as.I.impl.F.type.03bcf8.2 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_29.2 [concrete = constants.%empty_tuple.type.as.I.impl.F.90e7ba.2] { +// CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.decl.loc10_29.2: %empty_tuple.type.as.I.impl.F.type.9e994f.2 = fn_decl @empty_tuple.type.as.I.impl.F.loc10_29.2 [concrete = constants.%empty_tuple.type.as.I.impl.F.c7843c.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: @@ -1331,7 +1331,7 @@ impl () as I({}) { // CHECK:STDOUT: // CHECK:STDOUT: fn @empty_tuple.type.as.I.impl.F.loc10_29.2() -> out %return.param: %struct_type.a.b.f95 [thunk @empty_tuple.type.as.I.impl.%empty_tuple.type.as.I.impl.F.decl.loc10_29.1 for @I.WithSelf.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%empty_struct_type, constants.%I.facet)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %F.ref: %empty_tuple.type.as.I.impl.F.type.03bcf8.1 = name_ref F, @empty_tuple.type.as.I.impl.%empty_tuple.type.as.I.impl.F.decl.loc10_29.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.90e7ba.1] +// CHECK:STDOUT: %F.ref: %empty_tuple.type.as.I.impl.F.type.9e994f.1 = name_ref F, @empty_tuple.type.as.I.impl.%empty_tuple.type.as.I.impl.F.decl.loc10_29.1 [concrete = constants.%empty_tuple.type.as.I.impl.F.c7843c.1] // CHECK:STDOUT: %.loc10_29.1: ref %struct_type.b.a.1b0 = temporary_storage // CHECK:STDOUT: %empty_tuple.type.as.I.impl.F.call: init %struct_type.b.a.1b0 to %.loc10_29.1 = call %F.ref() // CHECK:STDOUT: %.loc10_29.2: ref %struct_type.b.a.1b0 = temporary %.loc10_29.1, %empty_tuple.type.as.I.impl.F.call @@ -1347,7 +1347,7 @@ impl () as I({}) { // CHECK:STDOUT: %.loc10_29.12: init %empty_struct_type to %.loc10_29.9 = in_place_init %.loc10_29.11 [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc10_29.13: init %struct_type.a.b.f95 to %return.param = struct_init (%.loc10_29.7, %.loc10_29.12) [concrete = constants.%struct] // CHECK:STDOUT: %.loc10_29.14: init %struct_type.a.b.f95 = converted %empty_tuple.type.as.I.impl.F.call, %.loc10_29.13 [concrete = constants.%struct] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_29.2, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_29.2, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc10_29.2) // CHECK:STDOUT: return %.loc10_29.14 to %return.param // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/impl/impl_thunk_min_prelude.carbon b/toolchain/check/testdata/impl/impl_thunk_min_prelude.carbon index 4aff841df73e..f5fc389ed509 100644 --- a/toolchain/check/testdata/impl/impl_thunk_min_prelude.carbon +++ b/toolchain/check/testdata/impl/impl_thunk_min_prelude.carbon @@ -107,29 +107,29 @@ fn Call() -> i32 { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %i32.as.Add.impl.Op.type.0bdcf7.1: type = fn_type @i32.as.Add.impl.Op.loc8_35.1, @i32.as.Add.impl(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %i32.as.Add.impl.Op.6fe9b3.1: %i32.as.Add.impl.Op.type.0bdcf7.1 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %i32.as.Add.impl.Op.type.3766d3.1: type = fn_type @i32.as.Add.impl.Op.loc8_35.1, @i32.as.Add.impl(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %i32.as.Add.impl.Op.5047bd.1: %i32.as.Add.impl.Op.type.3766d3.1 = struct_value () [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %i32.as.Add.impl.Op.specific_fn.cae55e.2: = specific_function %i32.as.Add.impl.Op.6fe9b3.1, @i32.as.Add.impl.Op.loc8_35.1(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %i32.as.Add.impl.Op.specific_fn.d9fb83.2: = specific_function %i32.as.Add.impl.Op.5047bd.1, @i32.as.Add.impl.Op.loc8_35.1(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Call() -> out %return.param: %i32 { @@ -137,19 +137,19 @@ fn Call() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: %a.ref: %i32 = name_ref a, %a // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.fb6) [concrete = constants.%ImplicitAs.facet] -// CHECK:STDOUT: %.loc18_14.1: %ImplicitAs.type.544 = converted Core.IntLiteral, %ImplicitAs.facet [concrete = constants.%ImplicitAs.facet] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.3d6) [concrete = constants.%ImplicitAs.facet] +// CHECK:STDOUT: %.loc18_14.1: %ImplicitAs.type.360 = converted Core.IntLiteral, %ImplicitAs.facet [concrete = constants.%ImplicitAs.facet] // CHECK:STDOUT: -// CHECK:STDOUT: %.loc18_14.2: %i32.as.Add.impl.Op.type.0bdcf7.1 = specific_constant @i32.as.Add.impl.%i32.as.Add.impl.Op.decl.loc8_35.1, @i32.as.Add.impl(constants.%ImplicitAs.facet) [concrete = constants.%i32.as.Add.impl.Op.6fe9b3.1] -// CHECK:STDOUT: %Op.ref.loc18: %i32.as.Add.impl.Op.type.0bdcf7.1 = name_ref Op, %.loc18_14.2 [concrete = constants.%i32.as.Add.impl.Op.6fe9b3.1] -// CHECK:STDOUT: %i32.as.Add.impl.Op.specific_fn: = specific_function %Op.ref.loc18, @i32.as.Add.impl.Op.loc8_35.1(constants.%ImplicitAs.facet) [concrete = constants.%i32.as.Add.impl.Op.specific_fn.cae55e.2] -// CHECK:STDOUT: %impl.elem0.loc18: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_13.1: = bound_method %int_2, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc18_14.2: %i32.as.Add.impl.Op.type.3766d3.1 = specific_constant @i32.as.Add.impl.%i32.as.Add.impl.Op.decl.loc8_35.1, @i32.as.Add.impl(constants.%ImplicitAs.facet) [concrete = constants.%i32.as.Add.impl.Op.5047bd.1] +// CHECK:STDOUT: %Op.ref.loc18: %i32.as.Add.impl.Op.type.3766d3.1 = name_ref Op, %.loc18_14.2 [concrete = constants.%i32.as.Add.impl.Op.5047bd.1] +// CHECK:STDOUT: %i32.as.Add.impl.Op.specific_fn: = specific_function %Op.ref.loc18, @i32.as.Add.impl.Op.loc8_35.1(constants.%ImplicitAs.facet) [concrete = constants.%i32.as.Add.impl.Op.specific_fn.d9fb83.2] +// CHECK:STDOUT: %impl.elem0.loc18: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_13.1: = bound_method %int_2, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_13.2: = bound_method %int_2, %specific_fn.loc18 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %i32 = call %bound_method.loc18_13.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_13.2: %i32 = converted %int_2, %.loc18_13.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc18_13.2: = bound_method %int_2, %specific_fn.loc18 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %i32 = call %bound_method.loc18_13.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_13.2: %i32 = converted %int_2, %.loc18_13.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %i32.as.Add.impl.Op.call: init %i32 = call %i32.as.Add.impl.Op.specific_fn(%a.ref, %.loc18_13.2) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/impl/import_builtin_call.carbon b/toolchain/check/testdata/impl/import_builtin_call.carbon index 781aed745b52..4623b659250f 100644 --- a/toolchain/check/testdata/impl/import_builtin_call.carbon +++ b/toolchain/check/testdata/impl/import_builtin_call.carbon @@ -80,10 +80,10 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %Add.type: type = facet_type <@Add> [concrete] // CHECK:STDOUT: %Self: %Add.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.c53: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %.f10: Core.Form = init_form %Self.as_type [symbolic] -// CHECK:STDOUT: %Add.WithSelf.Op.type.366: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %Add.WithSelf.Op.b28: %Add.WithSelf.Op.type.366 = struct_value () [symbolic] +// CHECK:STDOUT: %pattern_type.d5f: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %.c20: Core.Form = init_form %Self.as_type [symbolic] +// CHECK:STDOUT: %Add.WithSelf.Op.type.16e: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %Add.WithSelf.Op.157: %Add.WithSelf.Op.type.16e = struct_value () [symbolic] // CHECK:STDOUT: %Add.assoc_type: type = assoc_entity_type @Add [concrete] // CHECK:STDOUT: %assoc0: %Add.assoc_type = assoc_entity element0, @Add.WithSelf.%Add.WithSelf.Op.decl [concrete] // CHECK:STDOUT: %.805: Core.Form = init_form type [concrete] @@ -103,24 +103,24 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %require_complete.269: = require_complete_type %iN.builtin [symbolic] // CHECK:STDOUT: %complete_type: = complete_type_witness %iN.builtin [symbolic] // CHECK:STDOUT: %Add.impl_witness: = impl_witness @MyInt.as.Add.impl.%Add.impl_witness_table, @MyInt.as.Add.impl(%N) [symbolic] -// CHECK:STDOUT: %pattern_type.d90: type = pattern_type %MyInt [symbolic] -// CHECK:STDOUT: %.ecf: Core.Form = init_form %MyInt [symbolic] +// CHECK:STDOUT: %pattern_type.111: type = pattern_type %MyInt [symbolic] +// CHECK:STDOUT: %.9c6: Core.Form = init_form %MyInt [symbolic] // CHECK:STDOUT: %MyInt.as.Add.impl.Op.type: type = fn_type @MyInt.as.Add.impl.Op, @MyInt.as.Add.impl(%N) [symbolic] // CHECK:STDOUT: %MyInt.as.Add.impl.Op: %MyInt.as.Add.impl.Op.type = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete.f40: = require_complete_type %MyInt [symbolic] -// CHECK:STDOUT: %Add.facet.028: %Add.type = facet_value %MyInt, (%Add.impl_witness) [symbolic] -// CHECK:STDOUT: %Add.WithSelf.Op.type.5c0: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet.028) [symbolic] -// CHECK:STDOUT: %Add.WithSelf.Op.777: %Add.WithSelf.Op.type.5c0 = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete.1a0: = require_complete_type %MyInt [symbolic] +// CHECK:STDOUT: %Add.facet.2b6: %Add.type = facet_value %MyInt, (%Add.impl_witness) [symbolic] +// CHECK:STDOUT: %Add.WithSelf.Op.type.f3e: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet.2b6) [symbolic] +// CHECK:STDOUT: %Add.WithSelf.Op.812: %Add.WithSelf.Op.type.f3e = struct_value () [symbolic] // CHECK:STDOUT: %Double.type: type = fn_type @Double [concrete] // CHECK:STDOUT: %Double: %Double.type = struct_value () [concrete] // CHECK:STDOUT: %Add.lookup_impl_witness: = lookup_impl_witness %MyInt, @Add [symbolic] -// CHECK:STDOUT: %.a93: require_specific_def_type = require_specific_def @MyInt.as.Add.impl(%N) [symbolic] -// CHECK:STDOUT: %Add.facet.958: %Add.type = facet_value %MyInt, (%Add.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Add.WithSelf.Op.type.32f: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet.958) [symbolic] -// CHECK:STDOUT: %Add.WithSelf.Op.321: %Add.WithSelf.Op.type.32f = struct_value () [symbolic] -// CHECK:STDOUT: %.f88: type = fn_type_with_self_type %Add.WithSelf.Op.type.32f, %Add.facet.958 [symbolic] -// CHECK:STDOUT: %impl.elem0: %.f88 = impl_witness_access %Add.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Add.WithSelf.Op(%Add.facet.958) [symbolic] +// CHECK:STDOUT: %.ecc: require_specific_def_type = require_specific_def @MyInt.as.Add.impl(%N) [symbolic] +// CHECK:STDOUT: %Add.facet.3f8: %Add.type = facet_value %MyInt, (%Add.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Add.WithSelf.Op.type.9d7: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet.3f8) [symbolic] +// CHECK:STDOUT: %Add.WithSelf.Op.f8f: %Add.WithSelf.Op.type.9d7 = struct_value () [symbolic] +// CHECK:STDOUT: %.19c: type = fn_type_with_self_type %Add.WithSelf.Op.type.9d7, %Add.facet.3f8 [symbolic] +// CHECK:STDOUT: %impl.elem0: %.19c = impl_witness_access %Add.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Add.WithSelf.Op(%Add.facet.3f8) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -190,15 +190,15 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: } // CHECK:STDOUT: %Double.decl: %Double.type = fn_decl @Double [concrete = constants.%Double] { // CHECK:STDOUT: %N.patt: %pattern_type.dc0 = symbolic_binding_pattern N, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @Double.%pattern_type (%pattern_type.d90) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @Double.%pattern_type (%pattern_type.d90) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Double.%pattern_type (%pattern_type.d90) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Double.%pattern_type (%pattern_type.d90) = return_slot_pattern %return.param_patt, %MyInt.loc19_52 [concrete] +// CHECK:STDOUT: %x.param_patt: @Double.%pattern_type (%pattern_type.111) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @Double.%pattern_type (%pattern_type.111) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Double.%pattern_type (%pattern_type.111) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Double.%pattern_type (%pattern_type.111) = return_slot_pattern %return.param_patt, %MyInt.loc19_52 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %MyInt.ref.loc19_45: %MyInt.type = name_ref MyInt, file.%MyInt.decl [concrete = constants.%MyInt.generic] // CHECK:STDOUT: %N.ref.loc19_51: Core.IntLiteral = name_ref N, %N.loc19_12.2 [symbolic = %N.loc19_12.1 (constants.%N)] // CHECK:STDOUT: %MyInt.loc19_52: type = class_type @MyInt, @MyInt(constants.%N) [symbolic = %MyInt.loc19_39.1 (constants.%MyInt)] -// CHECK:STDOUT: %.loc19_52.2: Core.Form = init_form %MyInt.loc19_52 [symbolic = %.loc19_52.1 (constants.%.ecf)] +// CHECK:STDOUT: %.loc19_52.2: Core.Form = init_form %MyInt.loc19_52 [symbolic = %.loc19_52.1 (constants.%.9c6)] // CHECK:STDOUT: %.loc19_26.1: type = splice_block %.loc19_26.3 [concrete = Core.IntLiteral] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %IntLiteral.ref: %IntLiteral.type = name_ref IntLiteral, file.%IntLiteral.decl [concrete = constants.%IntLiteral] @@ -224,18 +224,18 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %Add.WithSelf.decl = interface_with_self_decl @Add [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Add.WithSelf.Op.decl: @Add.WithSelf.%Add.WithSelf.Op.type (%Add.WithSelf.Op.type.366) = fn_decl @Add.WithSelf.Op [symbolic = @Add.WithSelf.%Add.WithSelf.Op (constants.%Add.WithSelf.Op.b28)] { -// CHECK:STDOUT: %self.param_patt: @Add.WithSelf.Op.%pattern_type (%pattern_type.c53) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Add.WithSelf.Op.%pattern_type (%pattern_type.c53) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: @Add.WithSelf.Op.%pattern_type (%pattern_type.c53) = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: @Add.WithSelf.Op.%pattern_type (%pattern_type.c53) = at_binding_pattern other, %other.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Add.WithSelf.Op.%pattern_type (%pattern_type.c53) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Add.WithSelf.Op.%pattern_type (%pattern_type.c53) = return_slot_pattern %return.param_patt, %.loc5_37.2 [concrete] +// CHECK:STDOUT: %Add.WithSelf.Op.decl: @Add.WithSelf.%Add.WithSelf.Op.type (%Add.WithSelf.Op.type.16e) = fn_decl @Add.WithSelf.Op [symbolic = @Add.WithSelf.%Add.WithSelf.Op (constants.%Add.WithSelf.Op.157)] { +// CHECK:STDOUT: %self.param_patt: @Add.WithSelf.Op.%pattern_type (%pattern_type.d5f) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Add.WithSelf.Op.%pattern_type (%pattern_type.d5f) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: @Add.WithSelf.Op.%pattern_type (%pattern_type.d5f) = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: @Add.WithSelf.Op.%pattern_type (%pattern_type.d5f) = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @Add.WithSelf.Op.%pattern_type (%pattern_type.d5f) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Add.WithSelf.Op.%pattern_type (%pattern_type.d5f) = return_slot_pattern %return.param_patt, %.loc5_37.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.ref.loc5_37: %Add.type = name_ref Self, @Add.%Self [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_37: type = facet_access_type %Self.ref.loc5_37 [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc5_37.2: type = converted %Self.ref.loc5_37, %Self.as_type.loc5_37 [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %.loc5_37.3: Core.Form = init_form %.loc5_37.2 [symbolic = %.loc5_37.1 (constants.%.f10)] +// CHECK:STDOUT: %.loc5_37.3: Core.Form = init_form %.loc5_37.2 [symbolic = %.loc5_37.1 (constants.%.c20)] // CHECK:STDOUT: %self.param: @Add.WithSelf.Op.%Self.as_type.loc5_15.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_15.1: type = splice_block %.loc5_15.2 [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] { // CHECK:STDOUT: %Self.ref.loc5_15: %Add.type = name_ref Self, @Add.%Self [symbolic = %Self (constants.%Self)] @@ -271,19 +271,19 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: !definition: // CHECK:STDOUT: %MyInt.as.Add.impl.Op.type: type = fn_type @MyInt.as.Add.impl.Op, @MyInt.as.Add.impl(%N.loc15_15.1) [symbolic = %MyInt.as.Add.impl.Op.type (constants.%MyInt.as.Add.impl.Op.type)] // CHECK:STDOUT: %MyInt.as.Add.impl.Op: @MyInt.as.Add.impl.%MyInt.as.Add.impl.Op.type (%MyInt.as.Add.impl.Op.type) = struct_value () [symbolic = %MyInt.as.Add.impl.Op (constants.%MyInt.as.Add.impl.Op)] -// CHECK:STDOUT: %require_complete: = require_complete_type %MyInt.loc15_39.1 [symbolic = %require_complete (constants.%require_complete.f40)] +// CHECK:STDOUT: %require_complete: = require_complete_type %MyInt.loc15_39.1 [symbolic = %require_complete (constants.%require_complete.1a0)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %MyInt.loc15_39.2 as %Add.ref { // CHECK:STDOUT: %MyInt.as.Add.impl.Op.decl: @MyInt.as.Add.impl.%MyInt.as.Add.impl.Op.type (%MyInt.as.Add.impl.Op.type) = fn_decl @MyInt.as.Add.impl.Op [symbolic = @MyInt.as.Add.impl.%MyInt.as.Add.impl.Op (constants.%MyInt.as.Add.impl.Op)] { -// CHECK:STDOUT: %self.param_patt: @MyInt.as.Add.impl.Op.%pattern_type (%pattern_type.d90) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @MyInt.as.Add.impl.Op.%pattern_type (%pattern_type.d90) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: @MyInt.as.Add.impl.Op.%pattern_type (%pattern_type.d90) = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: @MyInt.as.Add.impl.Op.%pattern_type (%pattern_type.d90) = at_binding_pattern other, %other.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @MyInt.as.Add.impl.Op.%pattern_type (%pattern_type.d90) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @MyInt.as.Add.impl.Op.%pattern_type (%pattern_type.d90) = return_slot_pattern %return.param_patt, %Self.ref.loc16_37 [concrete] +// CHECK:STDOUT: %self.param_patt: @MyInt.as.Add.impl.Op.%pattern_type (%pattern_type.111) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @MyInt.as.Add.impl.Op.%pattern_type (%pattern_type.111) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: @MyInt.as.Add.impl.Op.%pattern_type (%pattern_type.111) = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: @MyInt.as.Add.impl.Op.%pattern_type (%pattern_type.111) = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @MyInt.as.Add.impl.Op.%pattern_type (%pattern_type.111) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @MyInt.as.Add.impl.Op.%pattern_type (%pattern_type.111) = return_slot_pattern %return.param_patt, %Self.ref.loc16_37 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.ref.loc16_37: type = name_ref Self, @MyInt.as.Add.impl.%MyInt.loc15_39.2 [symbolic = %MyInt (constants.%MyInt)] -// CHECK:STDOUT: %.loc16_37.2: Core.Form = init_form %Self.ref.loc16_37 [symbolic = %.loc16_37.1 (constants.%.ecf)] +// CHECK:STDOUT: %.loc16_37.2: Core.Form = init_form %Self.ref.loc16_37 [symbolic = %.loc16_37.1 (constants.%.9c6)] // CHECK:STDOUT: %self.param: @MyInt.as.Add.impl.Op.%MyInt (%MyInt) = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc16_15: type = name_ref Self, @MyInt.as.Add.impl.%MyInt.loc15_39.2 [symbolic = %MyInt (constants.%MyInt)] // CHECK:STDOUT: %self: @MyInt.as.Add.impl.Op.%MyInt (%MyInt) = value_binding self, %self.param @@ -331,8 +331,8 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: generic fn @Add.WithSelf.Op(@Add.%Self: %Add.type) { // CHECK:STDOUT: %Self: %Add.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_15.1 [symbolic = %pattern_type (constants.%pattern_type.c53)] -// CHECK:STDOUT: %.loc5_37.1: Core.Form = init_form %Self.as_type.loc5_15.1 [symbolic = %.loc5_37.1 (constants.%.f10)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_15.1 [symbolic = %pattern_type (constants.%pattern_type.d5f)] +// CHECK:STDOUT: %.loc5_37.1: Core.Form = init_form %Self.as_type.loc5_15.1 [symbolic = %.loc5_37.1 (constants.%.c20)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @Add.WithSelf.Op.%Self.as_type.loc5_15.1 (%Self.as_type), %other.param: @Add.WithSelf.Op.%Self.as_type.loc5_15.1 (%Self.as_type)) -> out %return.param: @Add.WithSelf.Op.%Self.as_type.loc5_15.1 (%Self.as_type); // CHECK:STDOUT: } @@ -344,8 +344,8 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: generic fn @MyInt.as.Add.impl.Op(@MyInt.as.Add.impl.%N.loc15_15.2: Core.IntLiteral) { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N (constants.%N)] // CHECK:STDOUT: %MyInt: type = class_type @MyInt, @MyInt(%N) [symbolic = %MyInt (constants.%MyInt)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %MyInt [symbolic = %pattern_type (constants.%pattern_type.d90)] -// CHECK:STDOUT: %.loc16_37.1: Core.Form = init_form %MyInt [symbolic = %.loc16_37.1 (constants.%.ecf)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %MyInt [symbolic = %pattern_type (constants.%pattern_type.111)] +// CHECK:STDOUT: %.loc16_37.1: Core.Form = init_form %MyInt [symbolic = %.loc16_37.1 (constants.%.9c6)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -355,17 +355,17 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: generic fn @Double(%N.loc19_12.2: Core.IntLiteral) { // CHECK:STDOUT: %N.loc19_12.1: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N.loc19_12.1 (constants.%N)] // CHECK:STDOUT: %MyInt.loc19_39.1: type = class_type @MyInt, @MyInt(%N.loc19_12.1) [symbolic = %MyInt.loc19_39.1 (constants.%MyInt)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %MyInt.loc19_39.1 [symbolic = %pattern_type (constants.%pattern_type.d90)] -// CHECK:STDOUT: %.loc19_52.1: Core.Form = init_form %MyInt.loc19_39.1 [symbolic = %.loc19_52.1 (constants.%.ecf)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %MyInt.loc19_39.1 [symbolic = %pattern_type (constants.%pattern_type.111)] +// CHECK:STDOUT: %.loc19_52.1: Core.Form = init_form %MyInt.loc19_39.1 [symbolic = %.loc19_52.1 (constants.%.9c6)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %MyInt.loc19_39.1 [symbolic = %require_complete (constants.%require_complete.f40)] -// CHECK:STDOUT: %.loc20_11.1: require_specific_def_type = require_specific_def @MyInt.as.Add.impl(%N.loc19_12.1) [symbolic = %.loc20_11.1 (constants.%.a93)] +// CHECK:STDOUT: %require_complete: = require_complete_type %MyInt.loc19_39.1 [symbolic = %require_complete (constants.%require_complete.1a0)] +// CHECK:STDOUT: %.loc20_11.1: require_specific_def_type = require_specific_def @MyInt.as.Add.impl(%N.loc19_12.1) [symbolic = %.loc20_11.1 (constants.%.ecc)] // CHECK:STDOUT: %Add.lookup_impl_witness: = lookup_impl_witness %MyInt.loc19_39.1, @Add [symbolic = %Add.lookup_impl_witness (constants.%Add.lookup_impl_witness)] -// CHECK:STDOUT: %Add.facet.loc20_11: %Add.type = facet_value %MyInt.loc19_39.1, (%Add.lookup_impl_witness) [symbolic = %Add.facet.loc20_11 (constants.%Add.facet.958)] -// CHECK:STDOUT: %Add.WithSelf.Op.type: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet.loc20_11) [symbolic = %Add.WithSelf.Op.type (constants.%Add.WithSelf.Op.type.32f)] -// CHECK:STDOUT: %.loc20_11.2: type = fn_type_with_self_type %Add.WithSelf.Op.type, %Add.facet.loc20_11 [symbolic = %.loc20_11.2 (constants.%.f88)] -// CHECK:STDOUT: %impl.elem0.loc20_11.2: @Double.%.loc20_11.2 (%.f88) = impl_witness_access %Add.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc20_11.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %Add.facet.loc20_11: %Add.type = facet_value %MyInt.loc19_39.1, (%Add.lookup_impl_witness) [symbolic = %Add.facet.loc20_11 (constants.%Add.facet.3f8)] +// CHECK:STDOUT: %Add.WithSelf.Op.type: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet.loc20_11) [symbolic = %Add.WithSelf.Op.type (constants.%Add.WithSelf.Op.type.9d7)] +// CHECK:STDOUT: %.loc20_11.2: type = fn_type_with_self_type %Add.WithSelf.Op.type, %Add.facet.loc20_11 [symbolic = %.loc20_11.2 (constants.%.19c)] +// CHECK:STDOUT: %impl.elem0.loc20_11.2: @Double.%.loc20_11.2 (%.19c) = impl_witness_access %Add.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc20_11.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc20_11.2: = specific_impl_function %impl.elem0.loc20_11.2, @Add.WithSelf.Op(%Add.facet.loc20_11) [symbolic = %specific_impl_fn.loc20_11.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @Double.%MyInt.loc19_39.1 (%MyInt)) -> out %return.param: @Double.%MyInt.loc19_39.1 (%MyInt) { @@ -373,12 +373,12 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %x.ref.loc20_10: @Double.%MyInt.loc19_39.1 (%MyInt) = name_ref x, %x // CHECK:STDOUT: %Add.ref: type = name_ref Add, file.%Add.decl [concrete = constants.%Add.type] // CHECK:STDOUT: %Op.ref: %Add.assoc_type = name_ref Op, @Add.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc20_11.1: @Double.%.loc20_11.2 (%.f88) = impl_witness_access constants.%Add.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc20_11.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc20_11.1: @Double.%.loc20_11.2 (%.19c) = impl_witness_access constants.%Add.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc20_11.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc20_11: = bound_method %x.ref.loc20_10, %impl.elem0.loc20_11.1 // CHECK:STDOUT: %x.ref.loc20_21: @Double.%MyInt.loc19_39.1 (%MyInt) = name_ref x, %x -// CHECK:STDOUT: %Add.facet.loc20_22: %Add.type = facet_value constants.%MyInt, (constants.%Add.lookup_impl_witness) [symbolic = %Add.facet.loc20_11 (constants.%Add.facet.958)] -// CHECK:STDOUT: %.loc20_22: %Add.type = converted constants.%MyInt, %Add.facet.loc20_22 [symbolic = %Add.facet.loc20_11 (constants.%Add.facet.958)] -// CHECK:STDOUT: %specific_impl_fn.loc20_11.1: = specific_impl_function %impl.elem0.loc20_11.1, @Add.WithSelf.Op(constants.%Add.facet.958) [symbolic = %specific_impl_fn.loc20_11.2 (constants.%specific_impl_fn)] +// CHECK:STDOUT: %Add.facet.loc20_22: %Add.type = facet_value constants.%MyInt, (constants.%Add.lookup_impl_witness) [symbolic = %Add.facet.loc20_11 (constants.%Add.facet.3f8)] +// CHECK:STDOUT: %.loc20_22: %Add.type = converted constants.%MyInt, %Add.facet.loc20_22 [symbolic = %Add.facet.loc20_11 (constants.%Add.facet.3f8)] +// CHECK:STDOUT: %specific_impl_fn.loc20_11.1: = specific_impl_function %impl.elem0.loc20_11.1, @Add.WithSelf.Op(constants.%Add.facet.3f8) [symbolic = %specific_impl_fn.loc20_11.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %bound_method.loc20_22: = bound_method %x.ref.loc20_10, %specific_impl_fn.loc20_11.1 // CHECK:STDOUT: %Add.WithSelf.Op.call: init @Double.%MyInt.loc19_39.1 (%MyInt) = call %bound_method.loc20_22(%x.ref.loc20_10, %x.ref.loc20_21) // CHECK:STDOUT: return %Add.WithSelf.Op.call @@ -388,15 +388,15 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: specific @Add.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.366 -// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.b28 +// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.16e +// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.157 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Add.WithSelf.Op(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc5_15.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c53 -// CHECK:STDOUT: %.loc5_37.1 => constants.%.f10 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d5f +// CHECK:STDOUT: %.loc5_37.1 => constants.%.c20 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @MyInt(constants.%N) { @@ -416,49 +416,49 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: !definition: // CHECK:STDOUT: %MyInt.as.Add.impl.Op.type => constants.%MyInt.as.Add.impl.Op.type // CHECK:STDOUT: %MyInt.as.Add.impl.Op => constants.%MyInt.as.Add.impl.Op -// CHECK:STDOUT: %require_complete => constants.%require_complete.f40 +// CHECK:STDOUT: %require_complete => constants.%require_complete.1a0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @MyInt.as.Add.impl.Op(constants.%N) { // CHECK:STDOUT: %N => constants.%N // CHECK:STDOUT: %MyInt => constants.%MyInt -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d90 -// CHECK:STDOUT: %.loc16_37.1 => constants.%.ecf +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.111 +// CHECK:STDOUT: %.loc16_37.1 => constants.%.9c6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Add.WithSelf(constants.%Add.facet.028) { +// CHECK:STDOUT: specific @Add.WithSelf(constants.%Add.facet.2b6) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Add.facet.028 -// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.5c0 -// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.777 +// CHECK:STDOUT: %Self => constants.%Add.facet.2b6 +// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.f3e +// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.812 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Add.WithSelf.Op(constants.%Add.facet.028) { -// CHECK:STDOUT: %Self => constants.%Add.facet.028 +// CHECK:STDOUT: specific @Add.WithSelf.Op(constants.%Add.facet.2b6) { +// CHECK:STDOUT: %Self => constants.%Add.facet.2b6 // CHECK:STDOUT: %Self.as_type.loc5_15.1 => constants.%MyInt -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d90 -// CHECK:STDOUT: %.loc5_37.1 => constants.%.ecf +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.111 +// CHECK:STDOUT: %.loc5_37.1 => constants.%.9c6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Double(constants.%N) { // CHECK:STDOUT: %N.loc19_12.1 => constants.%N // CHECK:STDOUT: %MyInt.loc19_39.1 => constants.%MyInt -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d90 -// CHECK:STDOUT: %.loc19_52.1 => constants.%.ecf +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.111 +// CHECK:STDOUT: %.loc19_52.1 => constants.%.9c6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Add.WithSelf(constants.%Add.facet.958) { +// CHECK:STDOUT: specific @Add.WithSelf(constants.%Add.facet.3f8) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Add.facet.958 -// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.32f -// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.321 +// CHECK:STDOUT: %Self => constants.%Add.facet.3f8 +// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.9d7 +// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.f8f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Add.WithSelf.Op(constants.%Add.facet.958) { -// CHECK:STDOUT: %Self => constants.%Add.facet.958 +// CHECK:STDOUT: specific @Add.WithSelf.Op(constants.%Add.facet.3f8) { +// CHECK:STDOUT: %Self => constants.%Add.facet.3f8 // CHECK:STDOUT: %Self.as_type.loc5_15.1 => constants.%MyInt -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d90 -// CHECK:STDOUT: %.loc5_37.1 => constants.%.ecf +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.111 +// CHECK:STDOUT: %.loc5_37.1 => constants.%.9c6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_generic_impl.carbon @@ -469,48 +469,48 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %iN.builtin: type = int_type signed, %N [symbolic] // CHECK:STDOUT: %complete_type.d26: = complete_type_witness %iN.builtin [symbolic] -// CHECK:STDOUT: %MyInt.ace: type = class_type @MyInt, @MyInt(%N) [symbolic] +// CHECK:STDOUT: %MyInt.c94: type = class_type @MyInt, @MyInt(%N) [symbolic] // CHECK:STDOUT: %require_complete.269: = require_complete_type %iN.builtin [symbolic] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %MyInt.237: type = class_type @MyInt, @MyInt(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.e32: type = pattern_type %MyInt.237 [concrete] -// CHECK:STDOUT: %.2e3: Core.Form = init_form %MyInt.237 [concrete] +// CHECK:STDOUT: %MyInt.dca: type = class_type @MyInt, @MyInt(%int_64) [concrete] +// CHECK:STDOUT: %pattern_type.bcd: type = pattern_type %MyInt.dca [concrete] +// CHECK:STDOUT: %.c14: Core.Form = init_form %MyInt.dca [concrete] // CHECK:STDOUT: %CallImportedDouble.type: type = fn_type @CallImportedDouble [concrete] // CHECK:STDOUT: %CallImportedDouble: %CallImportedDouble.type = struct_value () [concrete] // CHECK:STDOUT: %i64.builtin: type = int_type signed, %int_64 [concrete] // CHECK:STDOUT: %complete_type.4a1: = complete_type_witness %i64.builtin [concrete] // CHECK:STDOUT: %Double.type: type = fn_type @Double [concrete] // CHECK:STDOUT: %Double: %Double.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.a71: type = pattern_type %MyInt.ace [symbolic] -// CHECK:STDOUT: %.137: Core.Form = init_form %MyInt.ace [symbolic] +// CHECK:STDOUT: %pattern_type.111: type = pattern_type %MyInt.c94 [symbolic] +// CHECK:STDOUT: %.9c6: Core.Form = init_form %MyInt.c94 [symbolic] // CHECK:STDOUT: %Add.type: type = facet_type <@Add> [concrete] // CHECK:STDOUT: %Self: %Add.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Add.WithSelf.Op.type.041: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %Add.WithSelf.Op.c38: %Add.WithSelf.Op.type.041 = struct_value () [symbolic] +// CHECK:STDOUT: %Add.WithSelf.Op.type.fb2: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %Add.WithSelf.Op.ebe: %Add.WithSelf.Op.type.fb2 = struct_value () [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.342: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %.f66: Core.Form = init_form %Self.as_type [symbolic] -// CHECK:STDOUT: %Add.lookup_impl_witness: = lookup_impl_witness %MyInt.ace, @Add [symbolic] -// CHECK:STDOUT: %Add.facet.716: %Add.type = facet_value %MyInt.ace, (%Add.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Add.WithSelf.Op.type.977: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet.716) [symbolic] -// CHECK:STDOUT: %Add.WithSelf.Op.7ef: %Add.WithSelf.Op.type.977 = struct_value () [symbolic] -// CHECK:STDOUT: %.699: type = fn_type_with_self_type %Add.WithSelf.Op.type.977, %Add.facet.716 [symbolic] -// CHECK:STDOUT: %impl.elem0: %.699 = impl_witness_access %Add.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Add.WithSelf.Op(%Add.facet.716) [symbolic] -// CHECK:STDOUT: %Add.impl_witness.037: = impl_witness imports.%Add.impl_witness_table, @MyInt.as.Add.impl(%N) [symbolic] -// CHECK:STDOUT: %require_complete.b5d: = require_complete_type %MyInt.ace [symbolic] -// CHECK:STDOUT: %MyInt.as.Add.impl.Op.type.aa2: type = fn_type @MyInt.as.Add.impl.Op, @MyInt.as.Add.impl(%N) [symbolic] -// CHECK:STDOUT: %MyInt.as.Add.impl.Op.fa4: %MyInt.as.Add.impl.Op.type.aa2 = struct_value () [symbolic] -// CHECK:STDOUT: %.5d0: require_specific_def_type = require_specific_def @MyInt.as.Add.impl(%N) [symbolic] +// CHECK:STDOUT: %pattern_type.dfd: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %.1b3: Core.Form = init_form %Self.as_type [symbolic] +// CHECK:STDOUT: %Add.lookup_impl_witness: = lookup_impl_witness %MyInt.c94, @Add [symbolic] +// CHECK:STDOUT: %Add.facet.3f8: %Add.type = facet_value %MyInt.c94, (%Add.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Add.WithSelf.Op.type.9d7: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet.3f8) [symbolic] +// CHECK:STDOUT: %Add.WithSelf.Op.f8f: %Add.WithSelf.Op.type.9d7 = struct_value () [symbolic] +// CHECK:STDOUT: %.19c: type = fn_type_with_self_type %Add.WithSelf.Op.type.9d7, %Add.facet.3f8 [symbolic] +// CHECK:STDOUT: %impl.elem0: %.19c = impl_witness_access %Add.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Add.WithSelf.Op(%Add.facet.3f8) [symbolic] +// CHECK:STDOUT: %Add.impl_witness.4b0: = impl_witness imports.%Add.impl_witness_table, @MyInt.as.Add.impl(%N) [symbolic] +// CHECK:STDOUT: %require_complete.1a0: = require_complete_type %MyInt.c94 [symbolic] +// CHECK:STDOUT: %MyInt.as.Add.impl.Op.type.ebf: type = fn_type @MyInt.as.Add.impl.Op, @MyInt.as.Add.impl(%N) [symbolic] +// CHECK:STDOUT: %MyInt.as.Add.impl.Op.39d: %MyInt.as.Add.impl.Op.type.ebf = struct_value () [symbolic] +// CHECK:STDOUT: %.72b: require_specific_def_type = require_specific_def @MyInt.as.Add.impl(%N) [symbolic] // CHECK:STDOUT: %Double.specific_fn: = specific_function %Double, @Double(%int_64) [concrete] -// CHECK:STDOUT: %Add.impl_witness.837: = impl_witness imports.%Add.impl_witness_table, @MyInt.as.Add.impl(%int_64) [concrete] -// CHECK:STDOUT: %MyInt.as.Add.impl.Op.type.e64: type = fn_type @MyInt.as.Add.impl.Op, @MyInt.as.Add.impl(%int_64) [concrete] -// CHECK:STDOUT: %MyInt.as.Add.impl.Op.8aa: %MyInt.as.Add.impl.Op.type.e64 = struct_value () [concrete] -// CHECK:STDOUT: %.040: require_specific_def_type = require_specific_def @MyInt.as.Add.impl(%int_64) [concrete] -// CHECK:STDOUT: %Add.facet.85a: %Add.type = facet_value %MyInt.237, (%Add.impl_witness.837) [concrete] -// CHECK:STDOUT: %Add.WithSelf.Op.type.c81: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet.85a) [concrete] -// CHECK:STDOUT: %.e95: type = fn_type_with_self_type %Add.WithSelf.Op.type.c81, %Add.facet.85a [concrete] -// CHECK:STDOUT: %MyInt.as.Add.impl.Op.specific_fn: = specific_function %MyInt.as.Add.impl.Op.8aa, @MyInt.as.Add.impl.Op(%int_64) [concrete] +// CHECK:STDOUT: %Add.impl_witness.e88: = impl_witness imports.%Add.impl_witness_table, @MyInt.as.Add.impl(%int_64) [concrete] +// CHECK:STDOUT: %MyInt.as.Add.impl.Op.type.11a: type = fn_type @MyInt.as.Add.impl.Op, @MyInt.as.Add.impl(%int_64) [concrete] +// CHECK:STDOUT: %MyInt.as.Add.impl.Op.46f: %MyInt.as.Add.impl.Op.type.11a = struct_value () [concrete] +// CHECK:STDOUT: %.bed: require_specific_def_type = require_specific_def @MyInt.as.Add.impl(%int_64) [concrete] +// CHECK:STDOUT: %Add.facet.e98: %Add.type = facet_value %MyInt.dca, (%Add.impl_witness.e88) [concrete] +// CHECK:STDOUT: %Add.WithSelf.Op.type.e20: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet.e98) [concrete] +// CHECK:STDOUT: %.ff6: type = fn_type_with_self_type %Add.WithSelf.Op.type.e20, %Add.facet.e98 [concrete] +// CHECK:STDOUT: %MyInt.as.Add.impl.Op.specific_fn: = specific_function %MyInt.as.Add.impl.Op.46f, @MyInt.as.Add.impl.Op(%int_64) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -520,19 +520,19 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %Main.MyInt: %MyInt.type = import_ref Main//generic_impl, MyInt, loaded [concrete = constants.%MyInt.generic] // CHECK:STDOUT: %Main.Double: %Double.type = import_ref Main//generic_impl, Double, loaded [concrete = constants.%Double] // CHECK:STDOUT: %Main.import_ref.f9e: = import_ref Main//generic_impl, loc13_1, loaded [symbolic = @MyInt.%complete_type (constants.%complete_type.d26)] -// CHECK:STDOUT: %Main.import_ref.6a0 = import_ref Main//generic_impl, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.421 = import_ref Main//generic_impl, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Main.import_ref.6b552a.1: Core.IntLiteral = import_ref Main//generic_impl, loc11_14, loaded [symbolic = @MyInt.%N (constants.%N)] // CHECK:STDOUT: %Main.import_ref.6b552a.2: Core.IntLiteral = import_ref Main//generic_impl, loc19_12, loaded [symbolic = @Double.%N (constants.%N)] -// CHECK:STDOUT: %Main.import_ref.d62 = import_ref Main//generic_impl, loc5_41, unloaded +// CHECK:STDOUT: %Main.import_ref.1fc = import_ref Main//generic_impl, loc5_41, unloaded // CHECK:STDOUT: %Main.Op = import_ref Main//generic_impl, Op, unloaded -// CHECK:STDOUT: %Main.import_ref.1d7038.2: %Add.type = import_ref Main//generic_impl, loc4_15, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %Main.import_ref.8d5 = import_ref Main//generic_impl, loc4_15, unloaded -// CHECK:STDOUT: %Main.import_ref.bda: = import_ref Main//generic_impl, loc15_48, loaded [symbolic = @MyInt.as.Add.impl.%Add.impl_witness (constants.%Add.impl_witness.037)] -// CHECK:STDOUT: %Main.import_ref.a23: @MyInt.as.Add.impl.%MyInt.as.Add.impl.Op.type (%MyInt.as.Add.impl.Op.type.aa2) = import_ref Main//generic_impl, loc16_42, loaded [symbolic = @MyInt.as.Add.impl.%MyInt.as.Add.impl.Op (constants.%MyInt.as.Add.impl.Op.fa4)] -// CHECK:STDOUT: %Add.impl_witness_table = impl_witness_table (%Main.import_ref.a23), @MyInt.as.Add.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.9104f8.2: %Add.type = import_ref Main//generic_impl, loc4_15, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %Main.import_ref.b81 = import_ref Main//generic_impl, loc4_15, unloaded +// CHECK:STDOUT: %Main.import_ref.72c: = import_ref Main//generic_impl, loc15_48, loaded [symbolic = @MyInt.as.Add.impl.%Add.impl_witness (constants.%Add.impl_witness.4b0)] +// CHECK:STDOUT: %Main.import_ref.9c7: @MyInt.as.Add.impl.%MyInt.as.Add.impl.Op.type (%MyInt.as.Add.impl.Op.type.ebf) = import_ref Main//generic_impl, loc16_42, loaded [symbolic = @MyInt.as.Add.impl.%MyInt.as.Add.impl.Op (constants.%MyInt.as.Add.impl.Op.39d)] +// CHECK:STDOUT: %Add.impl_witness_table = impl_witness_table (%Main.import_ref.9c7), @MyInt.as.Add.impl [concrete] // CHECK:STDOUT: %Main.import_ref.6b552a.3: Core.IntLiteral = import_ref Main//generic_impl, loc15_15, loaded [symbolic = @MyInt.as.Add.impl.%N (constants.%N)] -// CHECK:STDOUT: %Main.import_ref.9e99dc.2: type = import_ref Main//generic_impl, loc15_39, loaded [symbolic = @MyInt.as.Add.impl.%MyInt (constants.%MyInt.ace)] -// CHECK:STDOUT: %Main.import_ref.d8c: type = import_ref Main//generic_impl, loc15_44, loaded [concrete = constants.%Add.type] +// CHECK:STDOUT: %Main.import_ref.4e9ce8.2: type = import_ref Main//generic_impl, loc15_39, loaded [symbolic = @MyInt.as.Add.impl.%MyInt (constants.%MyInt.c94)] +// CHECK:STDOUT: %Main.import_ref.83c: type = import_ref Main//generic_impl, loc15_44, loaded [concrete = constants.%Add.type] // CHECK:STDOUT: %Main.import_ref.6b552a.4: Core.IntLiteral = import_ref Main//generic_impl, loc15_15, loaded [symbolic = @MyInt.as.Add.impl.%N (constants.%N)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -547,31 +547,31 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %CallImportedDouble.decl: %CallImportedDouble.type = fn_decl @CallImportedDouble [concrete = constants.%CallImportedDouble] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.e32 = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.e32 = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.e32 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.e32 = return_slot_pattern %return.param_patt, %MyInt.loc6_48 [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.bcd = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.bcd = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.bcd = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.bcd = return_slot_pattern %return.param_patt, %MyInt.loc6_48 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %MyInt.ref.loc6_40: %MyInt.type = name_ref MyInt, imports.%Main.MyInt [concrete = constants.%MyInt.generic] // CHECK:STDOUT: %int_64.loc6_46: Core.IntLiteral = int_value 64 [concrete = constants.%int_64] -// CHECK:STDOUT: %MyInt.loc6_48: type = class_type @MyInt, @MyInt(constants.%int_64) [concrete = constants.%MyInt.237] -// CHECK:STDOUT: %.loc6_48: Core.Form = init_form %MyInt.loc6_48 [concrete = constants.%.2e3] -// CHECK:STDOUT: %n.param: %MyInt.237 = value_param call_param0 -// CHECK:STDOUT: %.loc6_34: type = splice_block %MyInt.loc6_34 [concrete = constants.%MyInt.237] { +// CHECK:STDOUT: %MyInt.loc6_48: type = class_type @MyInt, @MyInt(constants.%int_64) [concrete = constants.%MyInt.dca] +// CHECK:STDOUT: %.loc6_48: Core.Form = init_form %MyInt.loc6_48 [concrete = constants.%.c14] +// CHECK:STDOUT: %n.param: %MyInt.dca = value_param call_param0 +// CHECK:STDOUT: %.loc6_34: type = splice_block %MyInt.loc6_34 [concrete = constants.%MyInt.dca] { // CHECK:STDOUT: %MyInt.ref.loc6_26: %MyInt.type = name_ref MyInt, imports.%Main.MyInt [concrete = constants.%MyInt.generic] // CHECK:STDOUT: %int_64.loc6_32: Core.IntLiteral = int_value 64 [concrete = constants.%int_64] -// CHECK:STDOUT: %MyInt.loc6_34: type = class_type @MyInt, @MyInt(constants.%int_64) [concrete = constants.%MyInt.237] +// CHECK:STDOUT: %MyInt.loc6_34: type = class_type @MyInt, @MyInt(constants.%int_64) [concrete = constants.%MyInt.dca] // CHECK:STDOUT: } -// CHECK:STDOUT: %n: %MyInt.237 = value_binding n, %n.param -// CHECK:STDOUT: %return.param: ref %MyInt.237 = out_param call_param1 -// CHECK:STDOUT: %return: ref %MyInt.237 = return_slot %return.param +// CHECK:STDOUT: %n: %MyInt.dca = value_binding n, %n.param +// CHECK:STDOUT: %return.param: ref %MyInt.dca = out_param call_param1 +// CHECK:STDOUT: %return: ref %MyInt.dca = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Add [from "generic_impl.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.8d5 -// CHECK:STDOUT: .Op = imports.%Main.import_ref.d62 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.b81 +// CHECK:STDOUT: .Op = imports.%Main.import_ref.1fc // CHECK:STDOUT: witness = (imports.%Main.Op) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -579,17 +579,17 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: // CHECK:STDOUT: generic impl @MyInt.as.Add.impl(imports.%Main.import_ref.6b552a.4: Core.IntLiteral) [from "generic_impl.carbon"] { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %MyInt: type = class_type @MyInt, @MyInt(%N) [symbolic = %MyInt (constants.%MyInt.ace)] -// CHECK:STDOUT: %Add.impl_witness: = impl_witness imports.%Add.impl_witness_table, @MyInt.as.Add.impl(%N) [symbolic = %Add.impl_witness (constants.%Add.impl_witness.037)] +// CHECK:STDOUT: %MyInt: type = class_type @MyInt, @MyInt(%N) [symbolic = %MyInt (constants.%MyInt.c94)] +// CHECK:STDOUT: %Add.impl_witness: = impl_witness imports.%Add.impl_witness_table, @MyInt.as.Add.impl(%N) [symbolic = %Add.impl_witness (constants.%Add.impl_witness.4b0)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %MyInt.as.Add.impl.Op.type: type = fn_type @MyInt.as.Add.impl.Op, @MyInt.as.Add.impl(%N) [symbolic = %MyInt.as.Add.impl.Op.type (constants.%MyInt.as.Add.impl.Op.type.aa2)] -// CHECK:STDOUT: %MyInt.as.Add.impl.Op: @MyInt.as.Add.impl.%MyInt.as.Add.impl.Op.type (%MyInt.as.Add.impl.Op.type.aa2) = struct_value () [symbolic = %MyInt.as.Add.impl.Op (constants.%MyInt.as.Add.impl.Op.fa4)] -// CHECK:STDOUT: %require_complete: = require_complete_type %MyInt [symbolic = %require_complete (constants.%require_complete.b5d)] +// CHECK:STDOUT: %MyInt.as.Add.impl.Op.type: type = fn_type @MyInt.as.Add.impl.Op, @MyInt.as.Add.impl(%N) [symbolic = %MyInt.as.Add.impl.Op.type (constants.%MyInt.as.Add.impl.Op.type.ebf)] +// CHECK:STDOUT: %MyInt.as.Add.impl.Op: @MyInt.as.Add.impl.%MyInt.as.Add.impl.Op.type (%MyInt.as.Add.impl.Op.type.ebf) = struct_value () [symbolic = %MyInt.as.Add.impl.Op (constants.%MyInt.as.Add.impl.Op.39d)] +// CHECK:STDOUT: %require_complete: = require_complete_type %MyInt [symbolic = %require_complete (constants.%require_complete.1a0)] // CHECK:STDOUT: -// CHECK:STDOUT: impl: imports.%Main.import_ref.9e99dc.2 as imports.%Main.import_ref.d8c { +// CHECK:STDOUT: impl: imports.%Main.import_ref.4e9ce8.2 as imports.%Main.import_ref.83c { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.bda +// CHECK:STDOUT: witness = imports.%Main.import_ref.72c // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -605,52 +605,52 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.f9e // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.6a0 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.421 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @CallImportedDouble(%n.param: %MyInt.237) -> out %return.param: %MyInt.237 { +// CHECK:STDOUT: fn @CallImportedDouble(%n.param: %MyInt.dca) -> out %return.param: %MyInt.dca { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Double.ref: %Double.type = name_ref Double, imports.%Main.Double [concrete = constants.%Double] -// CHECK:STDOUT: %n.ref: %MyInt.237 = name_ref n, %n +// CHECK:STDOUT: %n.ref: %MyInt.dca = name_ref n, %n // CHECK:STDOUT: %Double.specific_fn: = specific_function %Double.ref, @Double(constants.%int_64) [concrete = constants.%Double.specific_fn] -// CHECK:STDOUT: %Double.call: init %MyInt.237 = call %Double.specific_fn(%n.ref) +// CHECK:STDOUT: %Double.call: init %MyInt.dca = call %Double.specific_fn(%n.ref) // CHECK:STDOUT: return %Double.call // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Double(imports.%Main.import_ref.6b552a.2: Core.IntLiteral) [from "generic_impl.carbon"] { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %MyInt: type = class_type @MyInt, @MyInt(%N) [symbolic = %MyInt (constants.%MyInt.ace)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %MyInt [symbolic = %pattern_type (constants.%pattern_type.a71)] -// CHECK:STDOUT: %.1: Core.Form = init_form %MyInt [symbolic = %.1 (constants.%.137)] +// CHECK:STDOUT: %MyInt: type = class_type @MyInt, @MyInt(%N) [symbolic = %MyInt (constants.%MyInt.c94)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %MyInt [symbolic = %pattern_type (constants.%pattern_type.111)] +// CHECK:STDOUT: %.1: Core.Form = init_form %MyInt [symbolic = %.1 (constants.%.9c6)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %MyInt [symbolic = %require_complete (constants.%require_complete.b5d)] -// CHECK:STDOUT: %.2: require_specific_def_type = require_specific_def @MyInt.as.Add.impl(%N) [symbolic = %.2 (constants.%.5d0)] +// CHECK:STDOUT: %require_complete: = require_complete_type %MyInt [symbolic = %require_complete (constants.%require_complete.1a0)] +// CHECK:STDOUT: %.2: require_specific_def_type = require_specific_def @MyInt.as.Add.impl(%N) [symbolic = %.2 (constants.%.72b)] // CHECK:STDOUT: %Add.lookup_impl_witness: = lookup_impl_witness %MyInt, @Add [symbolic = %Add.lookup_impl_witness (constants.%Add.lookup_impl_witness)] -// CHECK:STDOUT: %Add.facet: %Add.type = facet_value %MyInt, (%Add.lookup_impl_witness) [symbolic = %Add.facet (constants.%Add.facet.716)] -// CHECK:STDOUT: %Add.WithSelf.Op.type: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet) [symbolic = %Add.WithSelf.Op.type (constants.%Add.WithSelf.Op.type.977)] -// CHECK:STDOUT: %.3: type = fn_type_with_self_type %Add.WithSelf.Op.type, %Add.facet [symbolic = %.3 (constants.%.699)] -// CHECK:STDOUT: %impl.elem0: @Double.%.3 (%.699) = impl_witness_access %Add.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0)] +// CHECK:STDOUT: %Add.facet: %Add.type = facet_value %MyInt, (%Add.lookup_impl_witness) [symbolic = %Add.facet (constants.%Add.facet.3f8)] +// CHECK:STDOUT: %Add.WithSelf.Op.type: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet) [symbolic = %Add.WithSelf.Op.type (constants.%Add.WithSelf.Op.type.9d7)] +// CHECK:STDOUT: %.3: type = fn_type_with_self_type %Add.WithSelf.Op.type, %Add.facet [symbolic = %.3 (constants.%.19c)] +// CHECK:STDOUT: %impl.elem0: @Double.%.3 (%.19c) = impl_witness_access %Add.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Add.WithSelf.Op(%Add.facet) [symbolic = %specific_impl_fn (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Add.WithSelf.Op(imports.%Main.import_ref.1d7038.2: %Add.type) [from "generic_impl.carbon"] { +// CHECK:STDOUT: generic fn @Add.WithSelf.Op(imports.%Main.import_ref.9104f8.2: %Add.type) [from "generic_impl.carbon"] { // CHECK:STDOUT: %Self: %Add.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.342)] -// CHECK:STDOUT: %.1: Core.Form = init_form %Self.as_type [symbolic = %.1 (constants.%.f66)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.dfd)] +// CHECK:STDOUT: %.1: Core.Form = init_form %Self.as_type [symbolic = %.1 (constants.%.1b3)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @MyInt.as.Add.impl.Op(imports.%Main.import_ref.6b552a.3: Core.IntLiteral) [from "generic_impl.carbon"] { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic = %N (constants.%N)] -// CHECK:STDOUT: %MyInt: type = class_type @MyInt, @MyInt(%N) [symbolic = %MyInt (constants.%MyInt.ace)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %MyInt [symbolic = %pattern_type (constants.%pattern_type.a71)] -// CHECK:STDOUT: %.1: Core.Form = init_form %MyInt [symbolic = %.1 (constants.%.137)] +// CHECK:STDOUT: %MyInt: type = class_type @MyInt, @MyInt(%N) [symbolic = %MyInt (constants.%MyInt.c94)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %MyInt [symbolic = %pattern_type (constants.%pattern_type.111)] +// CHECK:STDOUT: %.1: Core.Form = init_form %MyInt [symbolic = %.1 (constants.%.9c6)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -678,98 +678,98 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: specific @Add.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.041 -// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.c38 +// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.fb2 +// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.ebe // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Add.WithSelf.Op(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.342 -// CHECK:STDOUT: %.1 => constants.%.f66 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.dfd +// CHECK:STDOUT: %.1 => constants.%.1b3 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Add.WithSelf(constants.%Add.facet.716) { +// CHECK:STDOUT: specific @Add.WithSelf(constants.%Add.facet.3f8) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Add.facet.716 -// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.977 -// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.7ef +// CHECK:STDOUT: %Self => constants.%Add.facet.3f8 +// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.9d7 +// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.f8f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Add.WithSelf.Op(constants.%Add.facet.716) { -// CHECK:STDOUT: %Self => constants.%Add.facet.716 -// CHECK:STDOUT: %Self.as_type => constants.%MyInt.ace -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a71 -// CHECK:STDOUT: %.1 => constants.%.137 +// CHECK:STDOUT: specific @Add.WithSelf.Op(constants.%Add.facet.3f8) { +// CHECK:STDOUT: %Self => constants.%Add.facet.3f8 +// CHECK:STDOUT: %Self.as_type => constants.%MyInt.c94 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.111 +// CHECK:STDOUT: %.1 => constants.%.9c6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @MyInt.as.Add.impl(constants.%N) { // CHECK:STDOUT: %N => constants.%N -// CHECK:STDOUT: %MyInt => constants.%MyInt.ace -// CHECK:STDOUT: %Add.impl_witness => constants.%Add.impl_witness.037 +// CHECK:STDOUT: %MyInt => constants.%MyInt.c94 +// CHECK:STDOUT: %Add.impl_witness => constants.%Add.impl_witness.4b0 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %MyInt.as.Add.impl.Op.type => constants.%MyInt.as.Add.impl.Op.type.aa2 -// CHECK:STDOUT: %MyInt.as.Add.impl.Op => constants.%MyInt.as.Add.impl.Op.fa4 -// CHECK:STDOUT: %require_complete => constants.%require_complete.b5d +// CHECK:STDOUT: %MyInt.as.Add.impl.Op.type => constants.%MyInt.as.Add.impl.Op.type.ebf +// CHECK:STDOUT: %MyInt.as.Add.impl.Op => constants.%MyInt.as.Add.impl.Op.39d +// CHECK:STDOUT: %require_complete => constants.%require_complete.1a0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @MyInt.as.Add.impl.Op(constants.%N) { // CHECK:STDOUT: %N => constants.%N -// CHECK:STDOUT: %MyInt => constants.%MyInt.ace -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a71 -// CHECK:STDOUT: %.1 => constants.%.137 +// CHECK:STDOUT: %MyInt => constants.%MyInt.c94 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.111 +// CHECK:STDOUT: %.1 => constants.%.9c6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Double(constants.%N) { // CHECK:STDOUT: %N => constants.%N -// CHECK:STDOUT: %MyInt => constants.%MyInt.ace -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a71 -// CHECK:STDOUT: %.1 => constants.%.137 +// CHECK:STDOUT: %MyInt => constants.%MyInt.c94 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.111 +// CHECK:STDOUT: %.1 => constants.%.9c6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Double(constants.%int_64) { // CHECK:STDOUT: %N => constants.%int_64 -// CHECK:STDOUT: %MyInt => constants.%MyInt.237 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e32 -// CHECK:STDOUT: %.1 => constants.%.2e3 +// CHECK:STDOUT: %MyInt => constants.%MyInt.dca +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bcd +// CHECK:STDOUT: %.1 => constants.%.c14 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.4a1 -// CHECK:STDOUT: %.2 => constants.%.040 -// CHECK:STDOUT: %Add.lookup_impl_witness => constants.%Add.impl_witness.837 -// CHECK:STDOUT: %Add.facet => constants.%Add.facet.85a -// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.c81 -// CHECK:STDOUT: %.3 => constants.%.e95 -// CHECK:STDOUT: %impl.elem0 => constants.%MyInt.as.Add.impl.Op.8aa +// CHECK:STDOUT: %.2 => constants.%.bed +// CHECK:STDOUT: %Add.lookup_impl_witness => constants.%Add.impl_witness.e88 +// CHECK:STDOUT: %Add.facet => constants.%Add.facet.e98 +// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.e20 +// CHECK:STDOUT: %.3 => constants.%.ff6 +// CHECK:STDOUT: %impl.elem0 => constants.%MyInt.as.Add.impl.Op.46f // CHECK:STDOUT: %specific_impl_fn => constants.%MyInt.as.Add.impl.Op.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @MyInt.as.Add.impl(constants.%int_64) { // CHECK:STDOUT: %N => constants.%int_64 -// CHECK:STDOUT: %MyInt => constants.%MyInt.237 -// CHECK:STDOUT: %Add.impl_witness => constants.%Add.impl_witness.837 +// CHECK:STDOUT: %MyInt => constants.%MyInt.dca +// CHECK:STDOUT: %Add.impl_witness => constants.%Add.impl_witness.e88 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %MyInt.as.Add.impl.Op.type => constants.%MyInt.as.Add.impl.Op.type.e64 -// CHECK:STDOUT: %MyInt.as.Add.impl.Op => constants.%MyInt.as.Add.impl.Op.8aa +// CHECK:STDOUT: %MyInt.as.Add.impl.Op.type => constants.%MyInt.as.Add.impl.Op.type.11a +// CHECK:STDOUT: %MyInt.as.Add.impl.Op => constants.%MyInt.as.Add.impl.Op.46f // CHECK:STDOUT: %require_complete => constants.%complete_type.4a1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Add.WithSelf(constants.%Add.facet.85a) {} +// CHECK:STDOUT: specific @Add.WithSelf(constants.%Add.facet.e98) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Add.WithSelf.Op(constants.%Add.facet.85a) { -// CHECK:STDOUT: %Self => constants.%Add.facet.85a -// CHECK:STDOUT: %Self.as_type => constants.%MyInt.237 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e32 -// CHECK:STDOUT: %.1 => constants.%.2e3 +// CHECK:STDOUT: specific @Add.WithSelf.Op(constants.%Add.facet.e98) { +// CHECK:STDOUT: %Self => constants.%Add.facet.e98 +// CHECK:STDOUT: %Self.as_type => constants.%MyInt.dca +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bcd +// CHECK:STDOUT: %.1 => constants.%.c14 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @MyInt.as.Add.impl.Op(constants.%int_64) { // CHECK:STDOUT: %N => constants.%int_64 -// CHECK:STDOUT: %MyInt => constants.%MyInt.237 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e32 -// CHECK:STDOUT: %.1 => constants.%.2e3 +// CHECK:STDOUT: %MyInt => constants.%MyInt.dca +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.bcd +// CHECK:STDOUT: %.1 => constants.%.c14 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -797,28 +797,28 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %N.7e8: %i32.builtin = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %ToLiteral.call: init Core.IntLiteral = call %ToLiteral(%N.7e8) [symbolic] -// CHECK:STDOUT: %iN.builtin.f6f: type = int_type signed, %ToLiteral.call [symbolic] -// CHECK:STDOUT: %.b95: Core.Form = init_form %iN.builtin.f6f [symbolic] -// CHECK:STDOUT: %pattern_type.acd: type = pattern_type %iN.builtin.f6f [symbolic] +// CHECK:STDOUT: %iN.builtin.0a7: type = int_type signed, %ToLiteral.call [symbolic] +// CHECK:STDOUT: %.519: Core.Form = init_form %iN.builtin.0a7 [symbolic] +// CHECK:STDOUT: %pattern_type.355: type = pattern_type %iN.builtin.0a7 [symbolic] // CHECK:STDOUT: %Make.type: type = fn_type @Make [concrete] // CHECK:STDOUT: %Make: %Make.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.1d3: = require_complete_type %iN.builtin.f6f [symbolic] +// CHECK:STDOUT: %require_complete.2c1: = require_complete_type %iN.builtin.0a7 [symbolic] // CHECK:STDOUT: %Make.specific_fn: = specific_function %Make, @Make(%N.7e8) [symbolic] // CHECK:STDOUT: %OtherInt: type = class_type @OtherInt [concrete] -// CHECK:STDOUT: %pattern_type.90f: type = pattern_type %OtherInt [concrete] +// CHECK:STDOUT: %pattern_type.3cc: type = pattern_type %OtherInt [concrete] // CHECK:STDOUT: %OtherInt.ToLiteral.type: type = fn_type @OtherInt.ToLiteral [concrete] // CHECK:STDOUT: %OtherInt.ToLiteral: %OtherInt.ToLiteral.type = struct_value () [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %N.683: %OtherInt = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %OtherInt.ToLiteral.bound: = bound_method %N.683, %OtherInt.ToLiteral [symbolic] -// CHECK:STDOUT: %OtherInt.ToLiteral.call: init Core.IntLiteral = call %OtherInt.ToLiteral.bound(%N.683) [symbolic] -// CHECK:STDOUT: %iN.builtin.886: type = int_type signed, %OtherInt.ToLiteral.call [symbolic] -// CHECK:STDOUT: %.f59: Core.Form = init_form %iN.builtin.886 [symbolic] -// CHECK:STDOUT: %pattern_type.f41: type = pattern_type %iN.builtin.886 [symbolic] +// CHECK:STDOUT: %N.b1a: %OtherInt = symbolic_binding N, 0 [symbolic] +// CHECK:STDOUT: %OtherInt.ToLiteral.bound: = bound_method %N.b1a, %OtherInt.ToLiteral [symbolic] +// CHECK:STDOUT: %OtherInt.ToLiteral.call: init Core.IntLiteral = call %OtherInt.ToLiteral.bound(%N.b1a) [symbolic] +// CHECK:STDOUT: %iN.builtin.42f: type = int_type signed, %OtherInt.ToLiteral.call [symbolic] +// CHECK:STDOUT: %.32d: Core.Form = init_form %iN.builtin.42f [symbolic] +// CHECK:STDOUT: %pattern_type.344: type = pattern_type %iN.builtin.42f [symbolic] // CHECK:STDOUT: %MakeFromClass.type: type = fn_type @MakeFromClass [concrete] // CHECK:STDOUT: %MakeFromClass: %MakeFromClass.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.1f5: = require_complete_type %iN.builtin.886 [symbolic] -// CHECK:STDOUT: %MakeFromClass.specific_fn: = specific_function %MakeFromClass, @MakeFromClass(%N.683) [symbolic] +// CHECK:STDOUT: %require_complete.725: = require_complete_type %iN.builtin.42f [symbolic] +// CHECK:STDOUT: %MakeFromClass.specific_fn: = specific_function %MakeFromClass, @MakeFromClass(%N.b1a) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -907,8 +907,8 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: } // CHECK:STDOUT: %Make.decl: %Make.type = fn_decl @Make [concrete = constants.%Make] { // CHECK:STDOUT: %N.patt: %pattern_type.956 = symbolic_binding_pattern N, 0 [concrete] -// CHECK:STDOUT: %return.param_patt: @Make.%pattern_type (%pattern_type.acd) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Make.%pattern_type (%pattern_type.acd) = return_slot_pattern %return.param_patt, %.loc9_41.3 [concrete] +// CHECK:STDOUT: %return.param_patt: @Make.%pattern_type (%pattern_type.355) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Make.%pattern_type (%pattern_type.355) = return_slot_pattern %return.param_patt, %.loc9_41.3 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Int.ref.loc9_25: %Int.type = name_ref Int, file.%Int.decl [concrete = constants.%Int] // CHECK:STDOUT: %ToLiteral.ref: %ToLiteral.type = name_ref ToLiteral, file.%ToLiteral.decl [concrete = constants.%ToLiteral] @@ -916,10 +916,10 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %ToLiteral.call.loc9_40.2: init Core.IntLiteral = call %ToLiteral.ref(%N.ref.loc9_39) [symbolic = %ToLiteral.call.loc9_40.1 (constants.%ToLiteral.call)] // CHECK:STDOUT: %.loc9_40.1: Core.IntLiteral = value_of_initializer %ToLiteral.call.loc9_40.2 [symbolic = %ToLiteral.call.loc9_40.1 (constants.%ToLiteral.call)] // CHECK:STDOUT: %.loc9_40.2: Core.IntLiteral = converted %ToLiteral.call.loc9_40.2, %.loc9_40.1 [symbolic = %ToLiteral.call.loc9_40.1 (constants.%ToLiteral.call)] -// CHECK:STDOUT: %Int.call.loc9_41: init type = call %Int.ref.loc9_25(%.loc9_40.2) [symbolic = %iN.builtin (constants.%iN.builtin.f6f)] -// CHECK:STDOUT: %.loc9_41.2: type = value_of_initializer %Int.call.loc9_41 [symbolic = %iN.builtin (constants.%iN.builtin.f6f)] -// CHECK:STDOUT: %.loc9_41.3: type = converted %Int.call.loc9_41, %.loc9_41.2 [symbolic = %iN.builtin (constants.%iN.builtin.f6f)] -// CHECK:STDOUT: %.loc9_41.4: Core.Form = init_form %.loc9_41.3 [symbolic = %.loc9_41.1 (constants.%.b95)] +// CHECK:STDOUT: %Int.call.loc9_41: init type = call %Int.ref.loc9_25(%.loc9_40.2) [symbolic = %iN.builtin (constants.%iN.builtin.0a7)] +// CHECK:STDOUT: %.loc9_41.2: type = value_of_initializer %Int.call.loc9_41 [symbolic = %iN.builtin (constants.%iN.builtin.0a7)] +// CHECK:STDOUT: %.loc9_41.3: type = converted %Int.call.loc9_41, %.loc9_41.2 [symbolic = %iN.builtin (constants.%iN.builtin.0a7)] +// CHECK:STDOUT: %.loc9_41.4: Core.Form = init_form %.loc9_41.3 [symbolic = %.loc9_41.1 (constants.%.519)] // CHECK:STDOUT: %.loc9_19.1: type = splice_block %.loc9_19.3 [concrete = constants.%i32.builtin] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Int.ref.loc9_13: %Int.type = name_ref Int, file.%Int.decl [concrete = constants.%Int] @@ -929,13 +929,13 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %.loc9_19.3: type = converted %Int.call.loc9_19, %.loc9_19.2 [concrete = constants.%i32.builtin] // CHECK:STDOUT: } // CHECK:STDOUT: %N.loc9_10.2: %i32.builtin = symbolic_binding N, 0 [symbolic = %N.loc9_10.1 (constants.%N.7e8)] -// CHECK:STDOUT: %return.param: ref @Make.%iN.builtin (%iN.builtin.f6f) = out_param call_param0 -// CHECK:STDOUT: %return: ref @Make.%iN.builtin (%iN.builtin.f6f) = return_slot %return.param +// CHECK:STDOUT: %return.param: ref @Make.%iN.builtin (%iN.builtin.0a7) = out_param call_param0 +// CHECK:STDOUT: %return: ref @Make.%iN.builtin (%iN.builtin.0a7) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %OtherInt.decl: type = class_decl @OtherInt [concrete = constants.%OtherInt] {} {} // CHECK:STDOUT: %OtherInt.ToLiteral.decl: %OtherInt.ToLiteral.type = fn_decl @OtherInt.ToLiteral [concrete = constants.%OtherInt.ToLiteral] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.90f = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.90f = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.3cc = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.3cc = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.dc0 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.dc0 = return_slot_pattern %return.param_patt, %.loc16_51.2 [concrete] // CHECK:STDOUT: } { @@ -951,28 +951,28 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %return.loc16: ref Core.IntLiteral = return_slot %return.param.loc16 // CHECK:STDOUT: } // CHECK:STDOUT: %MakeFromClass.decl: %MakeFromClass.type = fn_decl @MakeFromClass [concrete = constants.%MakeFromClass] { -// CHECK:STDOUT: %N.patt: %pattern_type.90f = symbolic_binding_pattern N, 0 [concrete] -// CHECK:STDOUT: %return.param_patt: @MakeFromClass.%pattern_type (%pattern_type.f41) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @MakeFromClass.%pattern_type (%pattern_type.f41) = return_slot_pattern %return.param_patt, %.loc18_52.3 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.3cc = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %return.param_patt: @MakeFromClass.%pattern_type (%pattern_type.344) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @MakeFromClass.%pattern_type (%pattern_type.344) = return_slot_pattern %return.param_patt, %.loc18_52.3 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Int.ref: %Int.type = name_ref Int, file.%Int.decl [concrete = constants.%Int] -// CHECK:STDOUT: %N.ref.loc18_39: %OtherInt = name_ref N, %N.loc18_19.2 [symbolic = %N.loc18_19.1 (constants.%N.683)] +// CHECK:STDOUT: %N.ref.loc18_39: %OtherInt = name_ref N, %N.loc18_19.2 [symbolic = %N.loc18_19.1 (constants.%N.b1a)] // CHECK:STDOUT: %ToLiteral.ref: %OtherInt.ToLiteral.type = name_ref ToLiteral, @OtherInt.%OtherInt.ToLiteral.decl [concrete = constants.%OtherInt.ToLiteral] // CHECK:STDOUT: %OtherInt.ToLiteral.bound.loc18_40.2: = bound_method %N.ref.loc18_39, %ToLiteral.ref [symbolic = %OtherInt.ToLiteral.bound.loc18_40.1 (constants.%OtherInt.ToLiteral.bound)] // CHECK:STDOUT: %OtherInt.ToLiteral.call.loc18_51.2: init Core.IntLiteral = call %OtherInt.ToLiteral.bound.loc18_40.2(%N.ref.loc18_39) [symbolic = %OtherInt.ToLiteral.call.loc18_51.1 (constants.%OtherInt.ToLiteral.call)] // CHECK:STDOUT: %.loc18_51.1: Core.IntLiteral = value_of_initializer %OtherInt.ToLiteral.call.loc18_51.2 [symbolic = %OtherInt.ToLiteral.call.loc18_51.1 (constants.%OtherInt.ToLiteral.call)] // CHECK:STDOUT: %.loc18_51.2: Core.IntLiteral = converted %OtherInt.ToLiteral.call.loc18_51.2, %.loc18_51.1 [symbolic = %OtherInt.ToLiteral.call.loc18_51.1 (constants.%OtherInt.ToLiteral.call)] -// CHECK:STDOUT: %Int.call: init type = call %Int.ref(%.loc18_51.2) [symbolic = %iN.builtin (constants.%iN.builtin.886)] -// CHECK:STDOUT: %.loc18_52.2: type = value_of_initializer %Int.call [symbolic = %iN.builtin (constants.%iN.builtin.886)] -// CHECK:STDOUT: %.loc18_52.3: type = converted %Int.call, %.loc18_52.2 [symbolic = %iN.builtin (constants.%iN.builtin.886)] -// CHECK:STDOUT: %.loc18_52.4: Core.Form = init_form %.loc18_52.3 [symbolic = %.loc18_52.1 (constants.%.f59)] +// CHECK:STDOUT: %Int.call: init type = call %Int.ref(%.loc18_51.2) [symbolic = %iN.builtin (constants.%iN.builtin.42f)] +// CHECK:STDOUT: %.loc18_52.2: type = value_of_initializer %Int.call [symbolic = %iN.builtin (constants.%iN.builtin.42f)] +// CHECK:STDOUT: %.loc18_52.3: type = converted %Int.call, %.loc18_52.2 [symbolic = %iN.builtin (constants.%iN.builtin.42f)] +// CHECK:STDOUT: %.loc18_52.4: Core.Form = init_form %.loc18_52.3 [symbolic = %.loc18_52.1 (constants.%.32d)] // CHECK:STDOUT: %.loc18_22: type = splice_block %OtherInt.ref [concrete = constants.%OtherInt] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %OtherInt.ref: type = name_ref OtherInt, file.%OtherInt.decl [concrete = constants.%OtherInt] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc18_19.2: %OtherInt = symbolic_binding N, 0 [symbolic = %N.loc18_19.1 (constants.%N.683)] -// CHECK:STDOUT: %return.param: ref @MakeFromClass.%iN.builtin (%iN.builtin.886) = out_param call_param0 -// CHECK:STDOUT: %return: ref @MakeFromClass.%iN.builtin (%iN.builtin.886) = return_slot %return.param +// CHECK:STDOUT: %N.loc18_19.2: %OtherInt = symbolic_binding N, 0 [symbolic = %N.loc18_19.1 (constants.%N.b1a)] +// CHECK:STDOUT: %return.param: ref @MakeFromClass.%iN.builtin (%iN.builtin.42f) = out_param call_param0 +// CHECK:STDOUT: %return: ref @MakeFromClass.%iN.builtin (%iN.builtin.42f) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -984,8 +984,8 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %.loc12_16.2: type = converted %Int.call, %.loc12_16.1 [concrete = constants.%i32.builtin] // CHECK:STDOUT: adapt_decl %.loc12_16.2 [concrete] // CHECK:STDOUT: %OtherInt.ToLiteral.decl: %OtherInt.ToLiteral.type = fn_decl @OtherInt.ToLiteral [concrete = constants.%OtherInt.ToLiteral] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.90f = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.90f = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.3cc = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.3cc = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.dc0 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.dc0 = return_slot_pattern %return.param_patt, %.loc16_51.2 [concrete] // CHECK:STDOUT: } { @@ -1021,20 +1021,20 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: generic fn @Make(%N.loc9_10.2: %i32.builtin) { // CHECK:STDOUT: %N.loc9_10.1: %i32.builtin = symbolic_binding N, 0 [symbolic = %N.loc9_10.1 (constants.%N.7e8)] // CHECK:STDOUT: %ToLiteral.call.loc9_40.1: init Core.IntLiteral = call constants.%ToLiteral(%N.loc9_10.1) [symbolic = %ToLiteral.call.loc9_40.1 (constants.%ToLiteral.call)] -// CHECK:STDOUT: %iN.builtin: type = int_type signed, %ToLiteral.call.loc9_40.1 [symbolic = %iN.builtin (constants.%iN.builtin.f6f)] -// CHECK:STDOUT: %.loc9_41.1: Core.Form = init_form %iN.builtin [symbolic = %.loc9_41.1 (constants.%.b95)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %iN.builtin [symbolic = %pattern_type (constants.%pattern_type.acd)] +// CHECK:STDOUT: %iN.builtin: type = int_type signed, %ToLiteral.call.loc9_40.1 [symbolic = %iN.builtin (constants.%iN.builtin.0a7)] +// CHECK:STDOUT: %.loc9_41.1: Core.Form = init_form %iN.builtin [symbolic = %.loc9_41.1 (constants.%.519)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %iN.builtin [symbolic = %pattern_type (constants.%pattern_type.355)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %iN.builtin [symbolic = %require_complete (constants.%require_complete.1d3)] +// CHECK:STDOUT: %require_complete: = require_complete_type %iN.builtin [symbolic = %require_complete (constants.%require_complete.2c1)] // CHECK:STDOUT: %Make.specific_fn.loc9_52.2: = specific_function constants.%Make, @Make(%N.loc9_10.1) [symbolic = %Make.specific_fn.loc9_52.2 (constants.%Make.specific_fn)] // CHECK:STDOUT: -// CHECK:STDOUT: fn() -> out %return.param: @Make.%iN.builtin (%iN.builtin.f6f) { +// CHECK:STDOUT: fn() -> out %return.param: @Make.%iN.builtin (%iN.builtin.0a7) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Make.ref: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %N.ref.loc9_57: %i32.builtin = name_ref N, %N.loc9_10.2 [symbolic = %N.loc9_10.1 (constants.%N.7e8)] // CHECK:STDOUT: %Make.specific_fn.loc9_52.1: = specific_function %Make.ref, @Make(constants.%N.7e8) [symbolic = %Make.specific_fn.loc9_52.2 (constants.%Make.specific_fn)] -// CHECK:STDOUT: %Make.call: init @Make.%iN.builtin (%iN.builtin.f6f) = call %Make.specific_fn.loc9_52.1() +// CHECK:STDOUT: %Make.call: init @Make.%iN.builtin (%iN.builtin.0a7) = call %Make.specific_fn.loc9_52.1() // CHECK:STDOUT: return %Make.call // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -1042,23 +1042,23 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: fn @OtherInt.ToLiteral(%self.param.loc16: %OtherInt) -> out %return.param.loc16: Core.IntLiteral = "int.convert_checked"; // CHECK:STDOUT: // CHECK:STDOUT: generic fn @MakeFromClass(%N.loc18_19.2: %OtherInt) { -// CHECK:STDOUT: %N.loc18_19.1: %OtherInt = symbolic_binding N, 0 [symbolic = %N.loc18_19.1 (constants.%N.683)] +// CHECK:STDOUT: %N.loc18_19.1: %OtherInt = symbolic_binding N, 0 [symbolic = %N.loc18_19.1 (constants.%N.b1a)] // CHECK:STDOUT: %OtherInt.ToLiteral.bound.loc18_40.1: = bound_method %N.loc18_19.1, constants.%OtherInt.ToLiteral [symbolic = %OtherInt.ToLiteral.bound.loc18_40.1 (constants.%OtherInt.ToLiteral.bound)] // CHECK:STDOUT: %OtherInt.ToLiteral.call.loc18_51.1: init Core.IntLiteral = call %OtherInt.ToLiteral.bound.loc18_40.1(%N.loc18_19.1) [symbolic = %OtherInt.ToLiteral.call.loc18_51.1 (constants.%OtherInt.ToLiteral.call)] -// CHECK:STDOUT: %iN.builtin: type = int_type signed, %OtherInt.ToLiteral.call.loc18_51.1 [symbolic = %iN.builtin (constants.%iN.builtin.886)] -// CHECK:STDOUT: %.loc18_52.1: Core.Form = init_form %iN.builtin [symbolic = %.loc18_52.1 (constants.%.f59)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %iN.builtin [symbolic = %pattern_type (constants.%pattern_type.f41)] +// CHECK:STDOUT: %iN.builtin: type = int_type signed, %OtherInt.ToLiteral.call.loc18_51.1 [symbolic = %iN.builtin (constants.%iN.builtin.42f)] +// CHECK:STDOUT: %.loc18_52.1: Core.Form = init_form %iN.builtin [symbolic = %.loc18_52.1 (constants.%.32d)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %iN.builtin [symbolic = %pattern_type (constants.%pattern_type.344)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %iN.builtin [symbolic = %require_complete (constants.%require_complete.1f5)] +// CHECK:STDOUT: %require_complete: = require_complete_type %iN.builtin [symbolic = %require_complete (constants.%require_complete.725)] // CHECK:STDOUT: %MakeFromClass.specific_fn.loc18_63.2: = specific_function constants.%MakeFromClass, @MakeFromClass(%N.loc18_19.1) [symbolic = %MakeFromClass.specific_fn.loc18_63.2 (constants.%MakeFromClass.specific_fn)] // CHECK:STDOUT: -// CHECK:STDOUT: fn() -> out %return.param: @MakeFromClass.%iN.builtin (%iN.builtin.886) { +// CHECK:STDOUT: fn() -> out %return.param: @MakeFromClass.%iN.builtin (%iN.builtin.42f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %MakeFromClass.ref: %MakeFromClass.type = name_ref MakeFromClass, file.%MakeFromClass.decl [concrete = constants.%MakeFromClass] -// CHECK:STDOUT: %N.ref.loc18_77: %OtherInt = name_ref N, %N.loc18_19.2 [symbolic = %N.loc18_19.1 (constants.%N.683)] -// CHECK:STDOUT: %MakeFromClass.specific_fn.loc18_63.1: = specific_function %MakeFromClass.ref, @MakeFromClass(constants.%N.683) [symbolic = %MakeFromClass.specific_fn.loc18_63.2 (constants.%MakeFromClass.specific_fn)] -// CHECK:STDOUT: %MakeFromClass.call: init @MakeFromClass.%iN.builtin (%iN.builtin.886) = call %MakeFromClass.specific_fn.loc18_63.1() +// CHECK:STDOUT: %N.ref.loc18_77: %OtherInt = name_ref N, %N.loc18_19.2 [symbolic = %N.loc18_19.1 (constants.%N.b1a)] +// CHECK:STDOUT: %MakeFromClass.specific_fn.loc18_63.1: = specific_function %MakeFromClass.ref, @MakeFromClass(constants.%N.b1a) [symbolic = %MakeFromClass.specific_fn.loc18_63.2 (constants.%MakeFromClass.specific_fn)] +// CHECK:STDOUT: %MakeFromClass.call: init @MakeFromClass.%iN.builtin (%iN.builtin.42f) = call %MakeFromClass.specific_fn.loc18_63.1() // CHECK:STDOUT: return %MakeFromClass.call // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -1066,25 +1066,25 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: specific @Make(constants.%N.7e8) { // CHECK:STDOUT: %N.loc9_10.1 => constants.%N.7e8 // CHECK:STDOUT: %ToLiteral.call.loc9_40.1 => constants.%ToLiteral.call -// CHECK:STDOUT: %iN.builtin => constants.%iN.builtin.f6f -// CHECK:STDOUT: %.loc9_41.1 => constants.%.b95 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.acd +// CHECK:STDOUT: %iN.builtin => constants.%iN.builtin.0a7 +// CHECK:STDOUT: %.loc9_41.1 => constants.%.519 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.355 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.1d3 +// CHECK:STDOUT: %require_complete => constants.%require_complete.2c1 // CHECK:STDOUT: %Make.specific_fn.loc9_52.2 => constants.%Make.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MakeFromClass(constants.%N.683) { -// CHECK:STDOUT: %N.loc18_19.1 => constants.%N.683 +// CHECK:STDOUT: specific @MakeFromClass(constants.%N.b1a) { +// CHECK:STDOUT: %N.loc18_19.1 => constants.%N.b1a // CHECK:STDOUT: %OtherInt.ToLiteral.bound.loc18_40.1 => constants.%OtherInt.ToLiteral.bound // CHECK:STDOUT: %OtherInt.ToLiteral.call.loc18_51.1 => constants.%OtherInt.ToLiteral.call -// CHECK:STDOUT: %iN.builtin => constants.%iN.builtin.886 -// CHECK:STDOUT: %.loc18_52.1 => constants.%.f59 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f41 +// CHECK:STDOUT: %iN.builtin => constants.%iN.builtin.42f +// CHECK:STDOUT: %.loc18_52.1 => constants.%.32d +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.344 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.1f5 +// CHECK:STDOUT: %require_complete => constants.%require_complete.725 // CHECK:STDOUT: %MakeFromClass.specific_fn.loc18_63.2 => constants.%MakeFromClass.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1104,33 +1104,33 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %ToLiteral.type: type = fn_type @ToLiteral [concrete] // CHECK:STDOUT: %ToLiteral: %ToLiteral.type = struct_value () [concrete] // CHECK:STDOUT: %ToLiteral.call: init Core.IntLiteral = call %ToLiteral(%N.7e8) [symbolic] -// CHECK:STDOUT: %iN.builtin.bb6: type = int_type signed, %ToLiteral.call [symbolic] -// CHECK:STDOUT: %pattern_type.87b: type = pattern_type %iN.builtin.bb6 [symbolic] -// CHECK:STDOUT: %.fe5: Core.Form = init_form %iN.builtin.bb6 [symbolic] -// CHECK:STDOUT: %Make.specific_fn.121: = specific_function %Make, @Make(%N.7e8) [symbolic] -// CHECK:STDOUT: %require_complete.2a4: = require_complete_type %iN.builtin.bb6 [symbolic] +// CHECK:STDOUT: %iN.builtin.0a7: type = int_type signed, %ToLiteral.call [symbolic] +// CHECK:STDOUT: %pattern_type.355: type = pattern_type %iN.builtin.0a7 [symbolic] +// CHECK:STDOUT: %.519: Core.Form = init_form %iN.builtin.0a7 [symbolic] +// CHECK:STDOUT: %Make.specific_fn.779: = specific_function %Make, @Make(%N.7e8) [symbolic] +// CHECK:STDOUT: %require_complete.2c1: = require_complete_type %iN.builtin.0a7 [symbolic] // CHECK:STDOUT: %FromLiteral.type: type = fn_type @FromLiteral [concrete] // CHECK:STDOUT: %FromLiteral: %FromLiteral.type = struct_value () [concrete] // CHECK:STDOUT: %int_64.f82: %i32.builtin = int_value 64 [concrete] // CHECK:STDOUT: %.df2: Core.Form = init_form %i64.builtin [concrete] -// CHECK:STDOUT: %Make.specific_fn.7de: = specific_function %Make, @Make(%int_64.f82) [concrete] +// CHECK:STDOUT: %Make.specific_fn.df9: = specific_function %Make, @Make(%int_64.f82) [concrete] // CHECK:STDOUT: %MakeFromClass.type: type = fn_type @MakeFromClass [concrete] // CHECK:STDOUT: %MakeFromClass: %MakeFromClass.type = struct_value () [concrete] // CHECK:STDOUT: %OtherInt: type = class_type @OtherInt [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %N.1fd: %OtherInt = symbolic_binding N, 0 [symbolic] +// CHECK:STDOUT: %N.b1a: %OtherInt = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %OtherInt.ToLiteral.type: type = fn_type @OtherInt.ToLiteral [concrete] // CHECK:STDOUT: %OtherInt.ToLiteral: %OtherInt.ToLiteral.type = struct_value () [concrete] -// CHECK:STDOUT: %OtherInt.ToLiteral.bound.59b: = bound_method %N.1fd, %OtherInt.ToLiteral [symbolic] -// CHECK:STDOUT: %OtherInt.ToLiteral.call: init Core.IntLiteral = call %OtherInt.ToLiteral.bound.59b(%N.1fd) [symbolic] -// CHECK:STDOUT: %iN.builtin.7b8: type = int_type signed, %OtherInt.ToLiteral.call [symbolic] -// CHECK:STDOUT: %pattern_type.b42: type = pattern_type %iN.builtin.7b8 [symbolic] -// CHECK:STDOUT: %.de0: Core.Form = init_form %iN.builtin.7b8 [symbolic] -// CHECK:STDOUT: %MakeFromClass.specific_fn.f05: = specific_function %MakeFromClass, @MakeFromClass(%N.1fd) [symbolic] -// CHECK:STDOUT: %require_complete.a33: = require_complete_type %iN.builtin.7b8 [symbolic] -// CHECK:STDOUT: %int_64.6ae: %OtherInt = int_value 64 [concrete] -// CHECK:STDOUT: %OtherInt.ToLiteral.bound.397: = bound_method %int_64.6ae, %OtherInt.ToLiteral [concrete] -// CHECK:STDOUT: %MakeFromClass.specific_fn.b8d: = specific_function %MakeFromClass, @MakeFromClass(%int_64.6ae) [concrete] +// CHECK:STDOUT: %OtherInt.ToLiteral.bound.702: = bound_method %N.b1a, %OtherInt.ToLiteral [symbolic] +// CHECK:STDOUT: %OtherInt.ToLiteral.call: init Core.IntLiteral = call %OtherInt.ToLiteral.bound.702(%N.b1a) [symbolic] +// CHECK:STDOUT: %iN.builtin.42f: type = int_type signed, %OtherInt.ToLiteral.call [symbolic] +// CHECK:STDOUT: %pattern_type.344: type = pattern_type %iN.builtin.42f [symbolic] +// CHECK:STDOUT: %.32d: Core.Form = init_form %iN.builtin.42f [symbolic] +// CHECK:STDOUT: %MakeFromClass.specific_fn.e87: = specific_function %MakeFromClass, @MakeFromClass(%N.b1a) [symbolic] +// CHECK:STDOUT: %require_complete.725: = require_complete_type %iN.builtin.42f [symbolic] +// CHECK:STDOUT: %int_64.ba2: %OtherInt = int_value 64 [concrete] +// CHECK:STDOUT: %OtherInt.ToLiteral.bound.e38: = bound_method %int_64.ba2, %OtherInt.ToLiteral [concrete] +// CHECK:STDOUT: %MakeFromClass.specific_fn.cdc: = specific_function %MakeFromClass, @MakeFromClass(%int_64.ba2) [concrete] // CHECK:STDOUT: %complete_type.4a1: = complete_type_witness %i64.builtin [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1144,9 +1144,9 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %Main.MakeFromClass: %MakeFromClass.type = import_ref Main//convert_symbolic, MakeFromClass, loaded [concrete = constants.%MakeFromClass] // CHECK:STDOUT: %Main.import_ref.87d: %i32.builtin = import_ref Main//convert_symbolic, loc9_10, loaded [symbolic = @Make.%N (constants.%N.7e8)] // CHECK:STDOUT: %Main.import_ref.b03: = import_ref Main//convert_symbolic, loc14_1, loaded [concrete = constants.%complete_type.f8a] -// CHECK:STDOUT: %Main.import_ref.47a = import_ref Main//convert_symbolic, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.5cf = import_ref Main//convert_symbolic, loc13_45, unloaded -// CHECK:STDOUT: %Main.import_ref.db9: %OtherInt = import_ref Main//convert_symbolic, loc18_19, loaded [symbolic = @MakeFromClass.%N (constants.%N.1fd)] +// CHECK:STDOUT: %Main.import_ref.41f = import_ref Main//convert_symbolic, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.78c = import_ref Main//convert_symbolic, loc13_45, unloaded +// CHECK:STDOUT: %Main.import_ref.6e8: %OtherInt = import_ref Main//convert_symbolic, loc18_19, loaded [symbolic = @MakeFromClass.%N (constants.%N.b1a)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1194,8 +1194,8 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.b03 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.47a -// CHECK:STDOUT: .ToLiteral = imports.%Main.import_ref.5cf +// CHECK:STDOUT: .Self = imports.%Main.import_ref.41f +// CHECK:STDOUT: .ToLiteral = imports.%Main.import_ref.78c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Int = "int.make_type_signed" [from "convert_symbolic.carbon"]; @@ -1203,13 +1203,13 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: generic fn @Make(imports.%Main.import_ref.87d: %i32.builtin) [from "convert_symbolic.carbon"] { // CHECK:STDOUT: %N: %i32.builtin = symbolic_binding N, 0 [symbolic = %N (constants.%N.7e8)] // CHECK:STDOUT: %ToLiteral.call: init Core.IntLiteral = call constants.%ToLiteral(%N) [symbolic = %ToLiteral.call (constants.%ToLiteral.call)] -// CHECK:STDOUT: %iN.builtin: type = int_type signed, %ToLiteral.call [symbolic = %iN.builtin (constants.%iN.builtin.bb6)] -// CHECK:STDOUT: %.1: Core.Form = init_form %iN.builtin [symbolic = %.1 (constants.%.fe5)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %iN.builtin [symbolic = %pattern_type (constants.%pattern_type.87b)] +// CHECK:STDOUT: %iN.builtin: type = int_type signed, %ToLiteral.call [symbolic = %iN.builtin (constants.%iN.builtin.0a7)] +// CHECK:STDOUT: %.1: Core.Form = init_form %iN.builtin [symbolic = %.1 (constants.%.519)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %iN.builtin [symbolic = %pattern_type (constants.%pattern_type.355)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %iN.builtin [symbolic = %require_complete (constants.%require_complete.2a4)] -// CHECK:STDOUT: %Make.specific_fn: = specific_function constants.%Make, @Make(%N) [symbolic = %Make.specific_fn (constants.%Make.specific_fn.121)] +// CHECK:STDOUT: %require_complete: = require_complete_type %iN.builtin [symbolic = %require_complete (constants.%require_complete.2c1)] +// CHECK:STDOUT: %Make.specific_fn: = specific_function constants.%Make, @Make(%N) [symbolic = %Make.specific_fn (constants.%Make.specific_fn.779)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -1218,17 +1218,17 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: // CHECK:STDOUT: fn @FromLiteral = "int.convert_checked" [from "convert_symbolic.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @MakeFromClass(imports.%Main.import_ref.db9: %OtherInt) [from "convert_symbolic.carbon"] { -// CHECK:STDOUT: %N: %OtherInt = symbolic_binding N, 0 [symbolic = %N (constants.%N.1fd)] -// CHECK:STDOUT: %OtherInt.ToLiteral.bound: = bound_method %N, constants.%OtherInt.ToLiteral [symbolic = %OtherInt.ToLiteral.bound (constants.%OtherInt.ToLiteral.bound.59b)] +// CHECK:STDOUT: generic fn @MakeFromClass(imports.%Main.import_ref.6e8: %OtherInt) [from "convert_symbolic.carbon"] { +// CHECK:STDOUT: %N: %OtherInt = symbolic_binding N, 0 [symbolic = %N (constants.%N.b1a)] +// CHECK:STDOUT: %OtherInt.ToLiteral.bound: = bound_method %N, constants.%OtherInt.ToLiteral [symbolic = %OtherInt.ToLiteral.bound (constants.%OtherInt.ToLiteral.bound.702)] // CHECK:STDOUT: %OtherInt.ToLiteral.call: init Core.IntLiteral = call %OtherInt.ToLiteral.bound(%N) [symbolic = %OtherInt.ToLiteral.call (constants.%OtherInt.ToLiteral.call)] -// CHECK:STDOUT: %iN.builtin: type = int_type signed, %OtherInt.ToLiteral.call [symbolic = %iN.builtin (constants.%iN.builtin.7b8)] -// CHECK:STDOUT: %.1: Core.Form = init_form %iN.builtin [symbolic = %.1 (constants.%.de0)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %iN.builtin [symbolic = %pattern_type (constants.%pattern_type.b42)] +// CHECK:STDOUT: %iN.builtin: type = int_type signed, %OtherInt.ToLiteral.call [symbolic = %iN.builtin (constants.%iN.builtin.42f)] +// CHECK:STDOUT: %.1: Core.Form = init_form %iN.builtin [symbolic = %.1 (constants.%.32d)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %iN.builtin [symbolic = %pattern_type (constants.%pattern_type.344)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %iN.builtin [symbolic = %require_complete (constants.%require_complete.a33)] -// CHECK:STDOUT: %MakeFromClass.specific_fn: = specific_function constants.%MakeFromClass, @MakeFromClass(%N) [symbolic = %MakeFromClass.specific_fn (constants.%MakeFromClass.specific_fn.f05)] +// CHECK:STDOUT: %require_complete: = require_complete_type %iN.builtin [symbolic = %require_complete (constants.%require_complete.725)] +// CHECK:STDOUT: %MakeFromClass.specific_fn: = specific_function constants.%MakeFromClass, @MakeFromClass(%N) [symbolic = %MakeFromClass.specific_fn (constants.%MakeFromClass.specific_fn.e87)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -1243,7 +1243,7 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %FromLiteral.call.loc6: init %i32.builtin = call %FromLiteral.ref.loc6(%int_64.loc6) [concrete = constants.%int_64.f82] // CHECK:STDOUT: %.loc6_38.1: %i32.builtin = value_of_initializer %FromLiteral.call.loc6 [concrete = constants.%int_64.f82] // CHECK:STDOUT: %.loc6_38.2: %i32.builtin = converted %FromLiteral.call.loc6, %.loc6_38.1 [concrete = constants.%int_64.f82] -// CHECK:STDOUT: %Make.specific_fn: = specific_function %Make.ref, @Make(constants.%int_64.f82) [concrete = constants.%Make.specific_fn.7de] +// CHECK:STDOUT: %Make.specific_fn: = specific_function %Make.ref, @Make(constants.%int_64.f82) [concrete = constants.%Make.specific_fn.df9] // CHECK:STDOUT: %Make.call: init %i64.builtin = call %Make.specific_fn() // CHECK:STDOUT: assign file.%m.var, %Make.call // CHECK:STDOUT: %MakeFromClass.ref: %MakeFromClass.type = name_ref MakeFromClass, imports.%Main.MakeFromClass [concrete = constants.%MakeFromClass] @@ -1251,11 +1251,11 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: %int_64.loc7: Core.IntLiteral = int_value 64 [concrete = constants.%int_64.fab] // CHECK:STDOUT: %FromLiteral.call.loc7: init %i32.builtin = call %FromLiteral.ref.loc7(%int_64.loc7) [concrete = constants.%int_64.f82] // CHECK:STDOUT: %OtherInt.ref: type = name_ref OtherInt, imports.%Main.OtherInt [concrete = constants.%OtherInt] -// CHECK:STDOUT: %.loc7_48.1: init %OtherInt = as_compatible %FromLiteral.call.loc7 [concrete = constants.%int_64.6ae] -// CHECK:STDOUT: %.loc7_48.2: init %OtherInt = converted %FromLiteral.call.loc7, %.loc7_48.1 [concrete = constants.%int_64.6ae] -// CHECK:STDOUT: %.loc7_59.1: %OtherInt = value_of_initializer %.loc7_48.2 [concrete = constants.%int_64.6ae] -// CHECK:STDOUT: %.loc7_59.2: %OtherInt = converted %.loc7_48.2, %.loc7_59.1 [concrete = constants.%int_64.6ae] -// CHECK:STDOUT: %MakeFromClass.specific_fn: = specific_function %MakeFromClass.ref, @MakeFromClass(constants.%int_64.6ae) [concrete = constants.%MakeFromClass.specific_fn.b8d] +// CHECK:STDOUT: %.loc7_48.1: init %OtherInt = as_compatible %FromLiteral.call.loc7 [concrete = constants.%int_64.ba2] +// CHECK:STDOUT: %.loc7_48.2: init %OtherInt = converted %FromLiteral.call.loc7, %.loc7_48.1 [concrete = constants.%int_64.ba2] +// CHECK:STDOUT: %.loc7_59.1: %OtherInt = value_of_initializer %.loc7_48.2 [concrete = constants.%int_64.ba2] +// CHECK:STDOUT: %.loc7_59.2: %OtherInt = converted %.loc7_48.2, %.loc7_59.1 [concrete = constants.%int_64.ba2] +// CHECK:STDOUT: %MakeFromClass.specific_fn: = specific_function %MakeFromClass.ref, @MakeFromClass(constants.%int_64.ba2) [concrete = constants.%MakeFromClass.specific_fn.cdc] // CHECK:STDOUT: %MakeFromClass.call: init %i64.builtin = call %MakeFromClass.specific_fn() // CHECK:STDOUT: assign file.%n.var, %MakeFromClass.call // CHECK:STDOUT: return @@ -1264,13 +1264,13 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: specific @Make(constants.%N.7e8) { // CHECK:STDOUT: %N => constants.%N.7e8 // CHECK:STDOUT: %ToLiteral.call => constants.%ToLiteral.call -// CHECK:STDOUT: %iN.builtin => constants.%iN.builtin.bb6 -// CHECK:STDOUT: %.1 => constants.%.fe5 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.87b +// CHECK:STDOUT: %iN.builtin => constants.%iN.builtin.0a7 +// CHECK:STDOUT: %.1 => constants.%.519 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.355 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.2a4 -// CHECK:STDOUT: %Make.specific_fn => constants.%Make.specific_fn.121 +// CHECK:STDOUT: %require_complete => constants.%require_complete.2c1 +// CHECK:STDOUT: %Make.specific_fn => constants.%Make.specific_fn.779 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Make(constants.%int_64.f82) { @@ -1282,25 +1282,25 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.4a1 -// CHECK:STDOUT: %Make.specific_fn => constants.%Make.specific_fn.7de +// CHECK:STDOUT: %Make.specific_fn => constants.%Make.specific_fn.df9 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MakeFromClass(constants.%N.1fd) { -// CHECK:STDOUT: %N => constants.%N.1fd -// CHECK:STDOUT: %OtherInt.ToLiteral.bound => constants.%OtherInt.ToLiteral.bound.59b +// CHECK:STDOUT: specific @MakeFromClass(constants.%N.b1a) { +// CHECK:STDOUT: %N => constants.%N.b1a +// CHECK:STDOUT: %OtherInt.ToLiteral.bound => constants.%OtherInt.ToLiteral.bound.702 // CHECK:STDOUT: %OtherInt.ToLiteral.call => constants.%OtherInt.ToLiteral.call -// CHECK:STDOUT: %iN.builtin => constants.%iN.builtin.7b8 -// CHECK:STDOUT: %.1 => constants.%.de0 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.b42 +// CHECK:STDOUT: %iN.builtin => constants.%iN.builtin.42f +// CHECK:STDOUT: %.1 => constants.%.32d +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.344 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.a33 -// CHECK:STDOUT: %MakeFromClass.specific_fn => constants.%MakeFromClass.specific_fn.f05 +// CHECK:STDOUT: %require_complete => constants.%require_complete.725 +// CHECK:STDOUT: %MakeFromClass.specific_fn => constants.%MakeFromClass.specific_fn.e87 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MakeFromClass(constants.%int_64.6ae) { -// CHECK:STDOUT: %N => constants.%int_64.6ae -// CHECK:STDOUT: %OtherInt.ToLiteral.bound => constants.%OtherInt.ToLiteral.bound.397 +// CHECK:STDOUT: specific @MakeFromClass(constants.%int_64.ba2) { +// CHECK:STDOUT: %N => constants.%int_64.ba2 +// CHECK:STDOUT: %OtherInt.ToLiteral.bound => constants.%OtherInt.ToLiteral.bound.e38 // CHECK:STDOUT: %OtherInt.ToLiteral.call => constants.%int_64.fab // CHECK:STDOUT: %iN.builtin => constants.%i64.builtin // CHECK:STDOUT: %.1 => constants.%.df2 @@ -1308,6 +1308,6 @@ var n: Int(64) = MakeFromClass(FromLiteral(64) as OtherInt); // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.4a1 -// CHECK:STDOUT: %MakeFromClass.specific_fn => constants.%MakeFromClass.specific_fn.b8d +// CHECK:STDOUT: %MakeFromClass.specific_fn => constants.%MakeFromClass.specific_fn.cdc // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/import_compound.carbon b/toolchain/check/testdata/impl/import_compound.carbon index 232129f1fb14..98ae2090e06e 100644 --- a/toolchain/check/testdata/impl/import_compound.carbon +++ b/toolchain/check/testdata/impl/import_compound.carbon @@ -102,35 +102,35 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %NonInstance.type: type = facet_type <@NonInstance> [concrete] -// CHECK:STDOUT: %Self.24a: %NonInstance.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %NonInstance.WithSelf.F.type.123: type = fn_type @NonInstance.WithSelf.F, @NonInstance.WithSelf(%Self.24a) [symbolic] +// CHECK:STDOUT: %Self.3a2: %NonInstance.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %NonInstance.WithSelf.F.type.c82: type = fn_type @NonInstance.WithSelf.F, @NonInstance.WithSelf(%Self.3a2) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %NonInstance.WithSelf.F.60a: %NonInstance.WithSelf.F.type.123 = struct_value () [symbolic] +// CHECK:STDOUT: %NonInstance.WithSelf.F.785: %NonInstance.WithSelf.F.type.c82 = struct_value () [symbolic] // CHECK:STDOUT: %NonInstance.assoc_type: type = assoc_entity_type @NonInstance [concrete] -// CHECK:STDOUT: %assoc0.0b6: %NonInstance.assoc_type = assoc_entity element0, @NonInstance.WithSelf.%NonInstance.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.c6b: %NonInstance.assoc_type = assoc_entity element0, @NonInstance.WithSelf.%NonInstance.WithSelf.F.decl [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct_type.i: type = struct_type {.i: %empty_tuple.type} [concrete] // CHECK:STDOUT: %NonInstance.impl_witness: = impl_witness @struct_type.i.as.NonInstance.impl.%NonInstance.impl_witness_table [concrete] // CHECK:STDOUT: %struct_type.i.as.NonInstance.impl.F.type: type = fn_type @struct_type.i.as.NonInstance.impl.F [concrete] // CHECK:STDOUT: %struct_type.i.as.NonInstance.impl.F: %struct_type.i.as.NonInstance.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %NonInstance.facet: %NonInstance.type = facet_value %struct_type.i, (%NonInstance.impl_witness) [concrete] -// CHECK:STDOUT: %NonInstance.WithSelf.F.type.dba: type = fn_type @NonInstance.WithSelf.F, @NonInstance.WithSelf(%NonInstance.facet) [concrete] -// CHECK:STDOUT: %NonInstance.WithSelf.F.876: %NonInstance.WithSelf.F.type.dba = struct_value () [concrete] +// CHECK:STDOUT: %NonInstance.WithSelf.F.type.574: type = fn_type @NonInstance.WithSelf.F, @NonInstance.WithSelf(%NonInstance.facet) [concrete] +// CHECK:STDOUT: %NonInstance.WithSelf.F.f02: %NonInstance.WithSelf.F.type.574 = struct_value () [concrete] // CHECK:STDOUT: %Instance.type: type = facet_type <@Instance> [concrete] -// CHECK:STDOUT: %Self.6f2: %Instance.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.6f2 [symbolic] -// CHECK:STDOUT: %pattern_type.ac0: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %Instance.WithSelf.G.type.110: type = fn_type @Instance.WithSelf.G, @Instance.WithSelf(%Self.6f2) [symbolic] -// CHECK:STDOUT: %Instance.WithSelf.G.6a6: %Instance.WithSelf.G.type.110 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.a48: %Instance.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.a48 [symbolic] +// CHECK:STDOUT: %pattern_type.c6c: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Instance.WithSelf.G.type.5b0: type = fn_type @Instance.WithSelf.G, @Instance.WithSelf(%Self.a48) [symbolic] +// CHECK:STDOUT: %Instance.WithSelf.G.5bd: %Instance.WithSelf.G.type.5b0 = struct_value () [symbolic] // CHECK:STDOUT: %Instance.assoc_type: type = assoc_entity_type @Instance [concrete] -// CHECK:STDOUT: %assoc0.e71: %Instance.assoc_type = assoc_entity element0, @Instance.WithSelf.%Instance.WithSelf.G.decl [concrete] +// CHECK:STDOUT: %assoc0.f17: %Instance.assoc_type = assoc_entity element0, @Instance.WithSelf.%Instance.WithSelf.G.decl [concrete] // CHECK:STDOUT: %Instance.impl_witness: = impl_witness @struct_type.i.as.Instance.impl.%Instance.impl_witness_table [concrete] // CHECK:STDOUT: %pattern_type.9b2: type = pattern_type %struct_type.i [concrete] // CHECK:STDOUT: %struct_type.i.as.Instance.impl.G.type: type = fn_type @struct_type.i.as.Instance.impl.G [concrete] // CHECK:STDOUT: %struct_type.i.as.Instance.impl.G: %struct_type.i.as.Instance.impl.G.type = struct_value () [concrete] // CHECK:STDOUT: %Instance.facet: %Instance.type = facet_value %struct_type.i, (%Instance.impl_witness) [concrete] -// CHECK:STDOUT: %Instance.WithSelf.G.type.7d7: type = fn_type @Instance.WithSelf.G, @Instance.WithSelf(%Instance.facet) [concrete] -// CHECK:STDOUT: %Instance.WithSelf.G.26b: %Instance.WithSelf.G.type.7d7 = struct_value () [concrete] +// CHECK:STDOUT: %Instance.WithSelf.G.type.d34: type = fn_type @Instance.WithSelf.G, @Instance.WithSelf(%Instance.facet) [concrete] +// CHECK:STDOUT: %Instance.WithSelf.G.5d3: %Instance.WithSelf.G.type.d34 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -164,12 +164,12 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @NonInstance { -// CHECK:STDOUT: %Self: %NonInstance.type = symbolic_binding Self, 0 [symbolic = constants.%Self.24a] +// CHECK:STDOUT: %Self: %NonInstance.type = symbolic_binding Self, 0 [symbolic = constants.%Self.3a2] // CHECK:STDOUT: %NonInstance.WithSelf.decl = interface_with_self_decl @NonInstance [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %NonInstance.WithSelf.F.decl: @NonInstance.WithSelf.%NonInstance.WithSelf.F.type (%NonInstance.WithSelf.F.type.123) = fn_decl @NonInstance.WithSelf.F [symbolic = @NonInstance.WithSelf.%NonInstance.WithSelf.F (constants.%NonInstance.WithSelf.F.60a)] {} {} -// CHECK:STDOUT: %assoc0: %NonInstance.assoc_type = assoc_entity element0, %NonInstance.WithSelf.F.decl [concrete = constants.%assoc0.0b6] +// CHECK:STDOUT: %NonInstance.WithSelf.F.decl: @NonInstance.WithSelf.%NonInstance.WithSelf.F.type (%NonInstance.WithSelf.F.type.c82) = fn_decl @NonInstance.WithSelf.F [symbolic = @NonInstance.WithSelf.%NonInstance.WithSelf.F (constants.%NonInstance.WithSelf.F.785)] {} {} +// CHECK:STDOUT: %assoc0: %NonInstance.assoc_type = assoc_entity element0, %NonInstance.WithSelf.F.decl [concrete = constants.%assoc0.c6b] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -180,23 +180,23 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Instance { -// CHECK:STDOUT: %Self: %Instance.type = symbolic_binding Self, 0 [symbolic = constants.%Self.6f2] +// CHECK:STDOUT: %Self: %Instance.type = symbolic_binding Self, 0 [symbolic = constants.%Self.a48] // CHECK:STDOUT: %Instance.WithSelf.decl = interface_with_self_decl @Instance [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Instance.WithSelf.G.decl: @Instance.WithSelf.%Instance.WithSelf.G.type (%Instance.WithSelf.G.type.110) = fn_decl @Instance.WithSelf.G [symbolic = @Instance.WithSelf.%Instance.WithSelf.G (constants.%Instance.WithSelf.G.6a6)] { -// CHECK:STDOUT: %self.param_patt: @Instance.WithSelf.G.%pattern_type (%pattern_type.ac0) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Instance.WithSelf.G.%pattern_type (%pattern_type.ac0) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %Instance.WithSelf.G.decl: @Instance.WithSelf.%Instance.WithSelf.G.type (%Instance.WithSelf.G.type.5b0) = fn_decl @Instance.WithSelf.G [symbolic = @Instance.WithSelf.%Instance.WithSelf.G (constants.%Instance.WithSelf.G.5bd)] { +// CHECK:STDOUT: %self.param_patt: @Instance.WithSelf.G.%pattern_type (%pattern_type.c6c) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Instance.WithSelf.G.%pattern_type (%pattern_type.c6c) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @Instance.WithSelf.G.%Self.as_type.loc12_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc12_14.1: type = splice_block %.loc12_14.2 [symbolic = %Self.as_type.loc12_14.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %Self.ref: %Instance.type = name_ref Self, @Instance.%Self [symbolic = %Self (constants.%Self.6f2)] +// CHECK:STDOUT: %Self.ref: %Instance.type = name_ref Self, @Instance.%Self [symbolic = %Self (constants.%Self.a48)] // CHECK:STDOUT: %Self.as_type.loc12_14.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc12_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc12_14.2: type = converted %Self.ref, %Self.as_type.loc12_14.2 [symbolic = %Self.as_type.loc12_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: %self: @Instance.WithSelf.G.%Self.as_type.loc12_14.1 (%Self.as_type) = value_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %Instance.assoc_type = assoc_entity element0, %Instance.WithSelf.G.decl [concrete = constants.%assoc0.e71] +// CHECK:STDOUT: %assoc0: %Instance.assoc_type = assoc_entity element0, %Instance.WithSelf.G.decl [concrete = constants.%assoc0.f17] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -245,9 +245,9 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Instance.WithSelf.G(@Instance.%Self: %Instance.type) { -// CHECK:STDOUT: %Self: %Instance.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.6f2)] +// CHECK:STDOUT: %Self: %Instance.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.a48)] // CHECK:STDOUT: %Self.as_type.loc12_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc12_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc12_14.1 [symbolic = %pattern_type (constants.%pattern_type.ac0)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc12_14.1 [symbolic = %pattern_type (constants.%pattern_type.c6c)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @Instance.WithSelf.G.%Self.as_type.loc12_14.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -257,42 +257,42 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NonInstance.WithSelf(constants.%Self.24a) { +// CHECK:STDOUT: specific @NonInstance.WithSelf(constants.%Self.3a2) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.24a -// CHECK:STDOUT: %NonInstance.WithSelf.F.type => constants.%NonInstance.WithSelf.F.type.123 -// CHECK:STDOUT: %NonInstance.WithSelf.F => constants.%NonInstance.WithSelf.F.60a +// CHECK:STDOUT: %Self => constants.%Self.3a2 +// CHECK:STDOUT: %NonInstance.WithSelf.F.type => constants.%NonInstance.WithSelf.F.type.c82 +// CHECK:STDOUT: %NonInstance.WithSelf.F => constants.%NonInstance.WithSelf.F.785 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NonInstance.WithSelf.F(constants.%Self.24a) {} +// CHECK:STDOUT: specific @NonInstance.WithSelf.F(constants.%Self.3a2) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @NonInstance.WithSelf(constants.%NonInstance.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%NonInstance.facet -// CHECK:STDOUT: %NonInstance.WithSelf.F.type => constants.%NonInstance.WithSelf.F.type.dba -// CHECK:STDOUT: %NonInstance.WithSelf.F => constants.%NonInstance.WithSelf.F.876 +// CHECK:STDOUT: %NonInstance.WithSelf.F.type => constants.%NonInstance.WithSelf.F.type.574 +// CHECK:STDOUT: %NonInstance.WithSelf.F => constants.%NonInstance.WithSelf.F.f02 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @NonInstance.WithSelf.F(constants.%NonInstance.facet) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Instance.WithSelf(constants.%Self.6f2) { +// CHECK:STDOUT: specific @Instance.WithSelf(constants.%Self.a48) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.6f2 -// CHECK:STDOUT: %Instance.WithSelf.G.type => constants.%Instance.WithSelf.G.type.110 -// CHECK:STDOUT: %Instance.WithSelf.G => constants.%Instance.WithSelf.G.6a6 +// CHECK:STDOUT: %Self => constants.%Self.a48 +// CHECK:STDOUT: %Instance.WithSelf.G.type => constants.%Instance.WithSelf.G.type.5b0 +// CHECK:STDOUT: %Instance.WithSelf.G => constants.%Instance.WithSelf.G.5bd // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Instance.WithSelf.G(constants.%Self.6f2) { -// CHECK:STDOUT: %Self => constants.%Self.6f2 +// CHECK:STDOUT: specific @Instance.WithSelf.G(constants.%Self.a48) { +// CHECK:STDOUT: %Self => constants.%Self.a48 // CHECK:STDOUT: %Self.as_type.loc12_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ac0 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c6c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance.WithSelf(constants.%Instance.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Instance.facet -// CHECK:STDOUT: %Instance.WithSelf.G.type => constants.%Instance.WithSelf.G.type.7d7 -// CHECK:STDOUT: %Instance.WithSelf.G => constants.%Instance.WithSelf.G.26b +// CHECK:STDOUT: %Instance.WithSelf.G.type => constants.%Instance.WithSelf.G.type.d34 +// CHECK:STDOUT: %Instance.WithSelf.G => constants.%Instance.WithSelf.G.5d3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance.WithSelf.G(constants.%Instance.facet) { @@ -311,15 +311,15 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %struct_type.i: type = struct_type {.i: %empty_tuple.type} [concrete] // CHECK:STDOUT: %NonInstance.type: type = facet_type <@NonInstance> [concrete] // CHECK:STDOUT: %Self: %NonInstance.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %NonInstance.WithSelf.F.type.112: type = fn_type @NonInstance.WithSelf.F, @NonInstance.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %NonInstance.WithSelf.F.fd1: %NonInstance.WithSelf.F.type.112 = struct_value () [symbolic] +// CHECK:STDOUT: %NonInstance.WithSelf.F.type.c5d: type = fn_type @NonInstance.WithSelf.F, @NonInstance.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %NonInstance.WithSelf.F.7e4: %NonInstance.WithSelf.F.type.c5d = struct_value () [symbolic] // CHECK:STDOUT: %NonInstance.assoc_type: type = assoc_entity_type @NonInstance [concrete] -// CHECK:STDOUT: %assoc0: %NonInstance.assoc_type = assoc_entity element0, imports.%Main.import_ref.d76 [concrete] +// CHECK:STDOUT: %assoc0: %NonInstance.assoc_type = assoc_entity element0, imports.%Main.import_ref.a1d [concrete] // CHECK:STDOUT: %NonInstance.impl_witness: = impl_witness imports.%NonInstance.impl_witness_table [concrete] // CHECK:STDOUT: %NonInstance.facet: %NonInstance.type = facet_value %struct_type.i, (%NonInstance.impl_witness) [concrete] -// CHECK:STDOUT: %NonInstance.WithSelf.F.type.fa4: type = fn_type @NonInstance.WithSelf.F, @NonInstance.WithSelf(%NonInstance.facet) [concrete] -// CHECK:STDOUT: %NonInstance.WithSelf.F.fd2: %NonInstance.WithSelf.F.type.fa4 = struct_value () [concrete] -// CHECK:STDOUT: %.eb6: type = fn_type_with_self_type %NonInstance.WithSelf.F.type.fa4, %NonInstance.facet [concrete] +// CHECK:STDOUT: %NonInstance.WithSelf.F.type.1b0: type = fn_type @NonInstance.WithSelf.F, @NonInstance.WithSelf(%NonInstance.facet) [concrete] +// CHECK:STDOUT: %NonInstance.WithSelf.F.25c: %NonInstance.WithSelf.F.type.1b0 = struct_value () [concrete] +// CHECK:STDOUT: %.fb3: type = fn_type_with_self_type %NonInstance.WithSelf.F.type.1b0, %NonInstance.facet [concrete] // CHECK:STDOUT: %struct_type.i.as.NonInstance.impl.F.type: type = fn_type @struct_type.i.as.NonInstance.impl.F [concrete] // CHECK:STDOUT: %struct_type.i.as.NonInstance.impl.F: %struct_type.i.as.NonInstance.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -331,16 +331,16 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.264: %NonInstance.assoc_type = import_ref Main//lib, loc4_9, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.500: %NonInstance.assoc_type = import_ref Main//lib, loc4_9, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.F = import_ref Main//lib, F, unloaded -// CHECK:STDOUT: %Main.import_ref.304239.2: %NonInstance.type = import_ref Main//lib, loc3_23, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %Main.import_ref.212 = import_ref Main//lib, loc3_23, unloaded -// CHECK:STDOUT: %Main.import_ref.d76: @NonInstance.WithSelf.%NonInstance.WithSelf.F.type (%NonInstance.WithSelf.F.type.112) = import_ref Main//lib, loc4_9, loaded [symbolic = @NonInstance.WithSelf.%NonInstance.WithSelf.F (constants.%NonInstance.WithSelf.F.fd1)] -// CHECK:STDOUT: %Main.import_ref.361: = import_ref Main//lib, loc7_30, loaded [concrete = constants.%NonInstance.impl_witness] +// CHECK:STDOUT: %Main.import_ref.8de868.2: %NonInstance.type = import_ref Main//lib, loc3_23, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %Main.import_ref.21f = import_ref Main//lib, loc3_23, unloaded +// CHECK:STDOUT: %Main.import_ref.a1d: @NonInstance.WithSelf.%NonInstance.WithSelf.F.type (%NonInstance.WithSelf.F.type.c5d) = import_ref Main//lib, loc4_9, loaded [symbolic = @NonInstance.WithSelf.%NonInstance.WithSelf.F (constants.%NonInstance.WithSelf.F.7e4)] +// CHECK:STDOUT: %Main.import_ref.a38: = import_ref Main//lib, loc7_30, loaded [concrete = constants.%NonInstance.impl_witness] // CHECK:STDOUT: %Main.import_ref.c9a: type = import_ref Main//lib, loc7_13, loaded [concrete = constants.%struct_type.i] -// CHECK:STDOUT: %Main.import_ref.e81: type = import_ref Main//lib, loc7_18, loaded [concrete = constants.%NonInstance.type] -// CHECK:STDOUT: %Main.import_ref.76c: %struct_type.i.as.NonInstance.impl.F.type = import_ref Main//lib, loc8_10, loaded [concrete = constants.%struct_type.i.as.NonInstance.impl.F] -// CHECK:STDOUT: %NonInstance.impl_witness_table = impl_witness_table (%Main.import_ref.76c), @struct_type.i.as.NonInstance.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.06e: type = import_ref Main//lib, loc7_18, loaded [concrete = constants.%NonInstance.type] +// CHECK:STDOUT: %Main.import_ref.628: %struct_type.i.as.NonInstance.impl.F.type = import_ref Main//lib, loc8_10, loaded [concrete = constants.%struct_type.i.as.NonInstance.impl.F] +// CHECK:STDOUT: %NonInstance.impl_witness_table = impl_witness_table (%Main.import_ref.628), @struct_type.i.as.NonInstance.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -357,16 +357,16 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: // CHECK:STDOUT: interface @NonInstance [from "lib.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.212 -// CHECK:STDOUT: .F = imports.%Main.import_ref.264 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.21f +// CHECK:STDOUT: .F = imports.%Main.import_ref.500 // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @struct_type.i.as.NonInstance.impl: imports.%Main.import_ref.c9a as imports.%Main.import_ref.e81 [from "lib.carbon"] { +// CHECK:STDOUT: impl @struct_type.i.as.NonInstance.impl: imports.%Main.import_ref.c9a as imports.%Main.import_ref.06e [from "lib.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.361 +// CHECK:STDOUT: witness = imports.%Main.import_ref.a38 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @NonInstanceCallImport() { @@ -375,15 +375,15 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %.loc6_9.2: type = converted %.loc6_9.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %struct_type.i: type = struct_type {.i: %empty_tuple.type} [concrete = constants.%struct_type.i] // CHECK:STDOUT: %NonInstance.ref: type = name_ref NonInstance, imports.%Main.NonInstance [concrete = constants.%NonInstance.type] -// CHECK:STDOUT: %F.ref: %NonInstance.assoc_type = name_ref F, imports.%Main.import_ref.264 [concrete = constants.%assoc0] +// CHECK:STDOUT: %F.ref: %NonInstance.assoc_type = name_ref F, imports.%Main.import_ref.500 [concrete = constants.%assoc0] // CHECK:STDOUT: %NonInstance.facet: %NonInstance.type = facet_value %struct_type.i, (constants.%NonInstance.impl_witness) [concrete = constants.%NonInstance.facet] // CHECK:STDOUT: %.loc6_11: %NonInstance.type = converted %struct_type.i, %NonInstance.facet [concrete = constants.%NonInstance.facet] -// CHECK:STDOUT: %impl.elem0: %.eb6 = impl_witness_access constants.%NonInstance.impl_witness, element0 [concrete = constants.%struct_type.i.as.NonInstance.impl.F] +// CHECK:STDOUT: %impl.elem0: %.fb3 = impl_witness_access constants.%NonInstance.impl_witness, element0 [concrete = constants.%struct_type.i.as.NonInstance.impl.F] // CHECK:STDOUT: %struct_type.i.as.NonInstance.impl.F.call: init %empty_tuple.type = call %impl.elem0() // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @NonInstance.WithSelf.F(imports.%Main.import_ref.304239.2: %NonInstance.type) [from "lib.carbon"] { +// CHECK:STDOUT: generic fn @NonInstance.WithSelf.F(imports.%Main.import_ref.8de868.2: %NonInstance.type) [from "lib.carbon"] { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: @@ -392,8 +392,8 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: specific @NonInstance.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %NonInstance.WithSelf.F.type => constants.%NonInstance.WithSelf.F.type.112 -// CHECK:STDOUT: %NonInstance.WithSelf.F => constants.%NonInstance.WithSelf.F.fd1 +// CHECK:STDOUT: %NonInstance.WithSelf.F.type => constants.%NonInstance.WithSelf.F.type.c5d +// CHECK:STDOUT: %NonInstance.WithSelf.F => constants.%NonInstance.WithSelf.F.7e4 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @NonInstance.WithSelf.F(constants.%Self) {} @@ -401,8 +401,8 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: specific @NonInstance.WithSelf(constants.%NonInstance.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%NonInstance.facet -// CHECK:STDOUT: %NonInstance.WithSelf.F.type => constants.%NonInstance.WithSelf.F.type.fa4 -// CHECK:STDOUT: %NonInstance.WithSelf.F => constants.%NonInstance.WithSelf.F.fd2 +// CHECK:STDOUT: %NonInstance.WithSelf.F.type => constants.%NonInstance.WithSelf.F.type.1b0 +// CHECK:STDOUT: %NonInstance.WithSelf.F => constants.%NonInstance.WithSelf.F.25c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_import_non-instance.carbon @@ -415,13 +415,13 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %NonInstanceCallImportFail.type: type = fn_type @NonInstanceCallImportFail [concrete] // CHECK:STDOUT: %NonInstanceCallImportFail: %NonInstanceCallImportFail.type = struct_value () [concrete] // CHECK:STDOUT: %NonInstance.type: type = facet_type <@NonInstance> [concrete] -// CHECK:STDOUT: %Self.212: %NonInstance.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %NonInstance.WithSelf.F.type: type = fn_type @NonInstance.WithSelf.F, @NonInstance.WithSelf(%Self.212) [symbolic] +// CHECK:STDOUT: %Self.a43: %NonInstance.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %NonInstance.WithSelf.F.type: type = fn_type @NonInstance.WithSelf.F, @NonInstance.WithSelf(%Self.a43) [symbolic] // CHECK:STDOUT: %NonInstance.WithSelf.F: %NonInstance.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %NonInstance.assoc_type: type = assoc_entity_type @NonInstance [concrete] -// CHECK:STDOUT: %assoc0.90d: %NonInstance.assoc_type = assoc_entity element0, imports.%Main.import_ref.a5b [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %assoc0.081: %NonInstance.assoc_type = assoc_entity element0, imports.%Main.import_ref.a1d [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -432,12 +432,12 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.45d: %NonInstance.assoc_type = import_ref Main//lib, loc4_9, loaded [concrete = constants.%assoc0.90d] +// CHECK:STDOUT: %Main.import_ref.500: %NonInstance.assoc_type = import_ref Main//lib, loc4_9, loaded [concrete = constants.%assoc0.081] // CHECK:STDOUT: %Main.F = import_ref Main//lib, F, unloaded -// CHECK:STDOUT: %Main.import_ref.a234b3.2: %NonInstance.type = import_ref Main//lib, loc3_23, loaded [symbolic = constants.%Self.212] -// CHECK:STDOUT: %Main.import_ref.212 = import_ref Main//lib, loc3_23, unloaded -// CHECK:STDOUT: %Main.import_ref.a5b: @NonInstance.WithSelf.%NonInstance.WithSelf.F.type (%NonInstance.WithSelf.F.type) = import_ref Main//lib, loc4_9, loaded [symbolic = @NonInstance.WithSelf.%NonInstance.WithSelf.F (constants.%NonInstance.WithSelf.F)] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Main.import_ref.8de868.2: %NonInstance.type = import_ref Main//lib, loc3_23, loaded [symbolic = constants.%Self.a43] +// CHECK:STDOUT: %Main.import_ref.21f = import_ref Main//lib, loc3_23, unloaded +// CHECK:STDOUT: %Main.import_ref.a1d: @NonInstance.WithSelf.%NonInstance.WithSelf.F.type (%NonInstance.WithSelf.F.type) = import_ref Main//lib, loc4_9, loaded [symbolic = @NonInstance.WithSelf.%NonInstance.WithSelf.F (constants.%NonInstance.WithSelf.F)] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -465,8 +465,8 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: // CHECK:STDOUT: interface @NonInstance [from "lib.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.212 -// CHECK:STDOUT: .F = imports.%Main.import_ref.45d +// CHECK:STDOUT: .Self = imports.%Main.import_ref.21f +// CHECK:STDOUT: .F = imports.%Main.import_ref.500 // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -476,23 +476,23 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %n.ref: %struct_type.i = name_ref n, %n // CHECK:STDOUT: %NonInstance.ref: type = name_ref NonInstance, imports.%Main.NonInstance [concrete = constants.%NonInstance.type] -// CHECK:STDOUT: %F.ref: %NonInstance.assoc_type = name_ref F, imports.%Main.import_ref.45d [concrete = constants.%assoc0.90d] +// CHECK:STDOUT: %F.ref: %NonInstance.assoc_type = name_ref F, imports.%Main.import_ref.500 [concrete = constants.%assoc0.081] // CHECK:STDOUT: %.loc13: %NonInstance.type = converted %n.ref, [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @NonInstance.WithSelf.F(imports.%Main.import_ref.a234b3.2: %NonInstance.type) [from "lib.carbon"] { +// CHECK:STDOUT: generic fn @NonInstance.WithSelf.F(imports.%Main.import_ref.8de868.2: %NonInstance.type) [from "lib.carbon"] { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NonInstance.WithSelf(constants.%Self.212) { +// CHECK:STDOUT: specific @NonInstance.WithSelf(constants.%Self.a43) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.212 +// CHECK:STDOUT: %Self => constants.%Self.a43 // CHECK:STDOUT: %NonInstance.WithSelf.F.type => constants.%NonInstance.WithSelf.F.type // CHECK:STDOUT: %NonInstance.WithSelf.F => constants.%NonInstance.WithSelf.F // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NonInstance.WithSelf.F(constants.%Self.212) {} +// CHECK:STDOUT: specific @NonInstance.WithSelf.F(constants.%Self.a43) {} // CHECK:STDOUT: // CHECK:STDOUT: --- fail_import_non-instance_indirect.carbon // CHECK:STDOUT: @@ -505,13 +505,13 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %NonInstanceCallIndirectImport.type: type = fn_type @NonInstanceCallIndirectImport [concrete] // CHECK:STDOUT: %NonInstanceCallIndirectImport: %NonInstanceCallIndirectImport.type = struct_value () [concrete] // CHECK:STDOUT: %NonInstance.type: type = facet_type <@NonInstance> [concrete] -// CHECK:STDOUT: %Self.b3a: %NonInstance.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %NonInstance.WithSelf.F.type: type = fn_type @NonInstance.WithSelf.F, @NonInstance.WithSelf(%Self.b3a) [symbolic] +// CHECK:STDOUT: %Self.a43: %NonInstance.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %NonInstance.WithSelf.F.type: type = fn_type @NonInstance.WithSelf.F, @NonInstance.WithSelf(%Self.a43) [symbolic] // CHECK:STDOUT: %NonInstance.WithSelf.F: %NonInstance.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %NonInstance.assoc_type: type = assoc_entity_type @NonInstance [concrete] -// CHECK:STDOUT: %assoc0.b3b: %NonInstance.assoc_type = assoc_entity element0, imports.%Main.import_ref.bbb [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %assoc0.081: %NonInstance.assoc_type = assoc_entity element0, imports.%Main.import_ref.a1d [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -522,12 +522,12 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.b7c: %NonInstance.assoc_type = import_ref Main//lib, loc4_9, loaded [concrete = constants.%assoc0.b3b] +// CHECK:STDOUT: %Main.import_ref.500: %NonInstance.assoc_type = import_ref Main//lib, loc4_9, loaded [concrete = constants.%assoc0.081] // CHECK:STDOUT: %Main.F = import_ref Main//lib, F, unloaded -// CHECK:STDOUT: %Main.import_ref.8ad5a6.2: %NonInstance.type = import_ref Main//lib, loc3_23, loaded [symbolic = constants.%Self.b3a] -// CHECK:STDOUT: %Main.import_ref.212 = import_ref Main//lib, loc3_23, unloaded -// CHECK:STDOUT: %Main.import_ref.bbb: @NonInstance.WithSelf.%NonInstance.WithSelf.F.type (%NonInstance.WithSelf.F.type) = import_ref Main//lib, loc4_9, loaded [symbolic = @NonInstance.WithSelf.%NonInstance.WithSelf.F (constants.%NonInstance.WithSelf.F)] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Main.import_ref.8de868.2: %NonInstance.type = import_ref Main//lib, loc3_23, loaded [symbolic = constants.%Self.a43] +// CHECK:STDOUT: %Main.import_ref.21f = import_ref Main//lib, loc3_23, unloaded +// CHECK:STDOUT: %Main.import_ref.a1d: @NonInstance.WithSelf.%NonInstance.WithSelf.F.type (%NonInstance.WithSelf.F.type) = import_ref Main//lib, loc4_9, loaded [symbolic = @NonInstance.WithSelf.%NonInstance.WithSelf.F (constants.%NonInstance.WithSelf.F)] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -556,8 +556,8 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: // CHECK:STDOUT: interface @NonInstance [from "lib.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.212 -// CHECK:STDOUT: .F = imports.%Main.import_ref.b7c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.21f +// CHECK:STDOUT: .F = imports.%Main.import_ref.500 // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -567,24 +567,24 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %p.ref: %ptr = name_ref p, %p // CHECK:STDOUT: %NonInstance.ref: type = name_ref NonInstance, imports.%Main.NonInstance [concrete = constants.%NonInstance.type] -// CHECK:STDOUT: %F.ref: %NonInstance.assoc_type = name_ref F, imports.%Main.import_ref.b7c [concrete = constants.%assoc0.b3b] +// CHECK:STDOUT: %F.ref: %NonInstance.assoc_type = name_ref F, imports.%Main.import_ref.500 [concrete = constants.%assoc0.081] // CHECK:STDOUT: %.loc13_4.1: ref %struct_type.i = deref %p.ref // CHECK:STDOUT: %.loc13_4.2: %NonInstance.type = converted %.loc13_4.1, [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @NonInstance.WithSelf.F(imports.%Main.import_ref.8ad5a6.2: %NonInstance.type) [from "lib.carbon"] { +// CHECK:STDOUT: generic fn @NonInstance.WithSelf.F(imports.%Main.import_ref.8de868.2: %NonInstance.type) [from "lib.carbon"] { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NonInstance.WithSelf(constants.%Self.b3a) { +// CHECK:STDOUT: specific @NonInstance.WithSelf(constants.%Self.a43) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.b3a +// CHECK:STDOUT: %Self => constants.%Self.a43 // CHECK:STDOUT: %NonInstance.WithSelf.F.type => constants.%NonInstance.WithSelf.F.type // CHECK:STDOUT: %NonInstance.WithSelf.F => constants.%NonInstance.WithSelf.F // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NonInstance.WithSelf.F(constants.%Self.b3a) {} +// CHECK:STDOUT: specific @NonInstance.WithSelf.F(constants.%Self.a43) {} // CHECK:STDOUT: // CHECK:STDOUT: --- import_instance_success.carbon // CHECK:STDOUT: @@ -597,17 +597,17 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %InstanceCallImport: %InstanceCallImport.type = struct_value () [concrete] // CHECK:STDOUT: %Instance.type: type = facet_type <@Instance> [concrete] // CHECK:STDOUT: %Self: %Instance.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Instance.WithSelf.G.type.c1f: type = fn_type @Instance.WithSelf.G, @Instance.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %Instance.WithSelf.G.7ef: %Instance.WithSelf.G.type.c1f = struct_value () [symbolic] +// CHECK:STDOUT: %Instance.WithSelf.G.type.f3b: type = fn_type @Instance.WithSelf.G, @Instance.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %Instance.WithSelf.G.718: %Instance.WithSelf.G.type.f3b = struct_value () [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.472: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.319: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %Instance.assoc_type: type = assoc_entity_type @Instance [concrete] -// CHECK:STDOUT: %assoc0: %Instance.assoc_type = assoc_entity element0, imports.%Main.import_ref.5f2 [concrete] +// CHECK:STDOUT: %assoc0: %Instance.assoc_type = assoc_entity element0, imports.%Main.import_ref.bb5 [concrete] // CHECK:STDOUT: %Instance.impl_witness: = impl_witness imports.%Instance.impl_witness_table [concrete] // CHECK:STDOUT: %Instance.facet: %Instance.type = facet_value %struct_type.i, (%Instance.impl_witness) [concrete] -// CHECK:STDOUT: %Instance.WithSelf.G.type.5f0: type = fn_type @Instance.WithSelf.G, @Instance.WithSelf(%Instance.facet) [concrete] -// CHECK:STDOUT: %Instance.WithSelf.G.214: %Instance.WithSelf.G.type.5f0 = struct_value () [concrete] -// CHECK:STDOUT: %.052: type = fn_type_with_self_type %Instance.WithSelf.G.type.5f0, %Instance.facet [concrete] +// CHECK:STDOUT: %Instance.WithSelf.G.type.533: type = fn_type @Instance.WithSelf.G, @Instance.WithSelf(%Instance.facet) [concrete] +// CHECK:STDOUT: %Instance.WithSelf.G.2b5: %Instance.WithSelf.G.type.533 = struct_value () [concrete] +// CHECK:STDOUT: %.d88: type = fn_type_with_self_type %Instance.WithSelf.G.type.533, %Instance.facet [concrete] // CHECK:STDOUT: %struct_type.i.as.Instance.impl.G.type: type = fn_type @struct_type.i.as.Instance.impl.G [concrete] // CHECK:STDOUT: %struct_type.i.as.Instance.impl.G: %struct_type.i.as.Instance.impl.G.type = struct_value () [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %struct_type.i [concrete] @@ -624,16 +624,16 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.792: %Instance.assoc_type = import_ref Main//lib, loc12_21, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.f48: %Instance.assoc_type = import_ref Main//lib, loc12_21, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.G = import_ref Main//lib, G, unloaded -// CHECK:STDOUT: %Main.import_ref.67b59b.2: %Instance.type = import_ref Main//lib, loc11_20, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %Main.import_ref.71e = import_ref Main//lib, loc11_20, unloaded -// CHECK:STDOUT: %Main.import_ref.5f2: @Instance.WithSelf.%Instance.WithSelf.G.type (%Instance.WithSelf.G.type.c1f) = import_ref Main//lib, loc12_21, loaded [symbolic = @Instance.WithSelf.%Instance.WithSelf.G (constants.%Instance.WithSelf.G.7ef)] -// CHECK:STDOUT: %Main.import_ref.383: = import_ref Main//lib, loc15_27, loaded [concrete = constants.%Instance.impl_witness] +// CHECK:STDOUT: %Main.import_ref.af6a87.2: %Instance.type = import_ref Main//lib, loc11_20, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %Main.import_ref.58a = import_ref Main//lib, loc11_20, unloaded +// CHECK:STDOUT: %Main.import_ref.bb5: @Instance.WithSelf.%Instance.WithSelf.G.type (%Instance.WithSelf.G.type.f3b) = import_ref Main//lib, loc12_21, loaded [symbolic = @Instance.WithSelf.%Instance.WithSelf.G (constants.%Instance.WithSelf.G.718)] +// CHECK:STDOUT: %Main.import_ref.b6f: = import_ref Main//lib, loc15_27, loaded [concrete = constants.%Instance.impl_witness] // CHECK:STDOUT: %Main.import_ref.c9a: type = import_ref Main//lib, loc15_13, loaded [concrete = constants.%struct_type.i] -// CHECK:STDOUT: %Main.import_ref.251: type = import_ref Main//lib, loc15_18, loaded [concrete = constants.%Instance.type] -// CHECK:STDOUT: %Main.import_ref.0fe: %struct_type.i.as.Instance.impl.G.type = import_ref Main//lib, loc16_29, loaded [concrete = constants.%struct_type.i.as.Instance.impl.G] -// CHECK:STDOUT: %Instance.impl_witness_table = impl_witness_table (%Main.import_ref.0fe), @struct_type.i.as.Instance.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.f33: type = import_ref Main//lib, loc15_18, loaded [concrete = constants.%Instance.type] +// CHECK:STDOUT: %Main.import_ref.19a: %struct_type.i.as.Instance.impl.G.type = import_ref Main//lib, loc16_29, loaded [concrete = constants.%struct_type.i.as.Instance.impl.G] +// CHECK:STDOUT: %Instance.impl_witness_table = impl_witness_table (%Main.import_ref.19a), @struct_type.i.as.Instance.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -675,33 +675,33 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: // CHECK:STDOUT: interface @Instance [from "lib.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.71e -// CHECK:STDOUT: .G = imports.%Main.import_ref.792 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.58a +// CHECK:STDOUT: .G = imports.%Main.import_ref.f48 // CHECK:STDOUT: witness = (imports.%Main.G) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @struct_type.i.as.Instance.impl: imports.%Main.import_ref.c9a as imports.%Main.import_ref.251 [from "lib.carbon"] { +// CHECK:STDOUT: impl @struct_type.i.as.Instance.impl: imports.%Main.import_ref.c9a as imports.%Main.import_ref.f33 [from "lib.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.383 +// CHECK:STDOUT: witness = imports.%Main.import_ref.b6f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InstanceCallImport(%n.param: %struct_type.i) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %n.ref: %struct_type.i = name_ref n, %n // CHECK:STDOUT: %Instance.ref: type = name_ref Instance, imports.%Main.Instance [concrete = constants.%Instance.type] -// CHECK:STDOUT: %G.ref: %Instance.assoc_type = name_ref G, imports.%Main.import_ref.792 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.052 = impl_witness_access constants.%Instance.impl_witness, element0 [concrete = constants.%struct_type.i.as.Instance.impl.G] +// CHECK:STDOUT: %G.ref: %Instance.assoc_type = name_ref G, imports.%Main.import_ref.f48 [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0: %.d88 = impl_witness_access constants.%Instance.impl_witness, element0 [concrete = constants.%struct_type.i.as.Instance.impl.G] // CHECK:STDOUT: %bound_method: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %struct_type.i.as.Instance.impl.G.call: init %empty_tuple.type = call %bound_method(%n.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Instance.WithSelf.G(imports.%Main.import_ref.67b59b.2: %Instance.type) [from "lib.carbon"] { +// CHECK:STDOUT: generic fn @Instance.WithSelf.G(imports.%Main.import_ref.af6a87.2: %Instance.type) [from "lib.carbon"] { // CHECK:STDOUT: %Self: %Instance.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.472)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.319)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -712,9 +712,9 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %p.ref: %ptr = name_ref p, %p // CHECK:STDOUT: %Instance.ref: type = name_ref Instance, imports.%Main.Instance [concrete = constants.%Instance.type] -// CHECK:STDOUT: %G.ref: %Instance.assoc_type = name_ref G, imports.%Main.import_ref.792 [concrete = constants.%assoc0] +// CHECK:STDOUT: %G.ref: %Instance.assoc_type = name_ref G, imports.%Main.import_ref.f48 [concrete = constants.%assoc0] // CHECK:STDOUT: %.loc10_4.1: ref %struct_type.i = deref %p.ref -// CHECK:STDOUT: %impl.elem0: %.052 = impl_witness_access constants.%Instance.impl_witness, element0 [concrete = constants.%struct_type.i.as.Instance.impl.G] +// CHECK:STDOUT: %impl.elem0: %.d88 = impl_witness_access constants.%Instance.impl_witness, element0 [concrete = constants.%struct_type.i.as.Instance.impl.G] // CHECK:STDOUT: %bound_method: = bound_method %.loc10_4.1, %impl.elem0 // CHECK:STDOUT: %.loc10_4.2: ref %empty_tuple.type = struct_access %.loc10_4.1, element0 // CHECK:STDOUT: %tuple: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple] @@ -728,21 +728,21 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: specific @Instance.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %Instance.WithSelf.G.type => constants.%Instance.WithSelf.G.type.c1f -// CHECK:STDOUT: %Instance.WithSelf.G => constants.%Instance.WithSelf.G.7ef +// CHECK:STDOUT: %Instance.WithSelf.G.type => constants.%Instance.WithSelf.G.type.f3b +// CHECK:STDOUT: %Instance.WithSelf.G => constants.%Instance.WithSelf.G.718 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance.WithSelf.G(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.472 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.319 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Instance.WithSelf(constants.%Instance.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Instance.facet -// CHECK:STDOUT: %Instance.WithSelf.G.type => constants.%Instance.WithSelf.G.type.5f0 -// CHECK:STDOUT: %Instance.WithSelf.G => constants.%Instance.WithSelf.G.214 +// CHECK:STDOUT: %Instance.WithSelf.G.type => constants.%Instance.WithSelf.G.type.533 +// CHECK:STDOUT: %Instance.WithSelf.G => constants.%Instance.WithSelf.G.2b5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_import_instance.carbon @@ -760,7 +760,7 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] // CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %Instance.assoc_type: type = assoc_entity_type @Instance [concrete] -// CHECK:STDOUT: %assoc0: %Instance.assoc_type = assoc_entity element0, imports.%Main.import_ref.35f [concrete] +// CHECK:STDOUT: %assoc0: %Instance.assoc_type = assoc_entity element0, imports.%Main.import_ref.bb5 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -770,14 +770,14 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.557: %Instance.assoc_type = import_ref Main//lib, loc12_21, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.f48: %Instance.assoc_type = import_ref Main//lib, loc12_21, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.G = import_ref Main//lib, G, unloaded -// CHECK:STDOUT: %Main.import_ref.9284ea.2: %Instance.type = import_ref Main//lib, loc11_20, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %Main.import_ref.71e = import_ref Main//lib, loc11_20, unloaded -// CHECK:STDOUT: %Main.import_ref.35f: @Instance.WithSelf.%Instance.WithSelf.G.type (%Instance.WithSelf.G.type) = import_ref Main//lib, loc12_21, loaded [symbolic = @Instance.WithSelf.%Instance.WithSelf.G (constants.%Instance.WithSelf.G)] -// CHECK:STDOUT: %Main.import_ref.7d7 = import_ref Main//lib, loc15_27, unloaded +// CHECK:STDOUT: %Main.import_ref.af6a87.2: %Instance.type = import_ref Main//lib, loc11_20, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %Main.import_ref.58a = import_ref Main//lib, loc11_20, unloaded +// CHECK:STDOUT: %Main.import_ref.bb5: @Instance.WithSelf.%Instance.WithSelf.G.type (%Instance.WithSelf.G.type) = import_ref Main//lib, loc12_21, loaded [symbolic = @Instance.WithSelf.%Instance.WithSelf.G (constants.%Instance.WithSelf.G)] +// CHECK:STDOUT: %Main.import_ref.76f = import_ref Main//lib, loc15_27, unloaded // CHECK:STDOUT: %Main.import_ref.c9a: type = import_ref Main//lib, loc15_13, loaded [concrete = constants.%struct_type.i] -// CHECK:STDOUT: %Main.import_ref.251: type = import_ref Main//lib, loc15_18, loaded [concrete = constants.%Instance.type] +// CHECK:STDOUT: %Main.import_ref.f33: type = import_ref Main//lib, loc15_18, loaded [concrete = constants.%Instance.type] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -794,16 +794,16 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: // CHECK:STDOUT: interface @Instance [from "lib.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.71e -// CHECK:STDOUT: .G = imports.%Main.import_ref.557 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.58a +// CHECK:STDOUT: .G = imports.%Main.import_ref.f48 // CHECK:STDOUT: witness = (imports.%Main.G) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @struct_type.i.as.Instance.impl: imports.%Main.import_ref.c9a as imports.%Main.import_ref.251 [from "lib.carbon"] { +// CHECK:STDOUT: impl @struct_type.i.as.Instance.impl: imports.%Main.import_ref.c9a as imports.%Main.import_ref.f33 [from "lib.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.7d7 +// CHECK:STDOUT: witness = imports.%Main.import_ref.76f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InstanceCallImportFail() { @@ -812,11 +812,11 @@ fn InstanceCallImportFail() { // CHECK:STDOUT: %.loc10_9.2: type = converted %.loc10_9.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %struct_type.i: type = struct_type {.i: %empty_tuple.type} [concrete = constants.%struct_type.i] // CHECK:STDOUT: %Instance.ref: type = name_ref Instance, imports.%Main.Instance [concrete = constants.%Instance.type] -// CHECK:STDOUT: %G.ref: %Instance.assoc_type = name_ref G, imports.%Main.import_ref.557 [concrete = constants.%assoc0] +// CHECK:STDOUT: %G.ref: %Instance.assoc_type = name_ref G, imports.%Main.import_ref.f48 [concrete = constants.%assoc0] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Instance.WithSelf.G(imports.%Main.import_ref.9284ea.2: %Instance.type) [from "lib.carbon"] { +// CHECK:STDOUT: generic fn @Instance.WithSelf.G(imports.%Main.import_ref.af6a87.2: %Instance.type) [from "lib.carbon"] { // CHECK:STDOUT: %Self: %Instance.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] // CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type)] diff --git a/toolchain/check/testdata/impl/import_extend_impl.carbon b/toolchain/check/testdata/impl/import_extend_impl.carbon index 644d69bfb353..569e15d313f8 100644 --- a/toolchain/check/testdata/impl/import_extend_impl.carbon +++ b/toolchain/check/testdata/impl/import_extend_impl.carbon @@ -42,8 +42,8 @@ fn G(c: C) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.6dd: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.3de: %I.WithSelf.F.type.6dd = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.d9f: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.592: %I.WithSelf.F.type.d9f = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] @@ -51,8 +51,8 @@ fn G(c: C) { // CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F [concrete] // CHECK:STDOUT: %C.as.I.impl.F: %C.as.I.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.d7b: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.0c3: %I.WithSelf.F.type.d7b = struct_value () [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.3a2: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.138: %I.WithSelf.F.type.3a2 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: } @@ -71,7 +71,7 @@ fn G(c: C) { // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.6dd) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.3de)] {} {} +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.d9f) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.592)] {} {} // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -119,8 +119,8 @@ fn G(c: C) { // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.6dd -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.3de +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d9f +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.592 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self) {} @@ -128,8 +128,8 @@ fn G(c: C) { // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d7b -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.0c3 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.3a2 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.138 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet) {} @@ -146,19 +146,19 @@ fn G(c: C) { // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.2ad: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.71e: %I.WithSelf.F.type.2ad = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.a52: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.08d: %I.WithSelf.F.type.a52 = struct_value () [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %C.type.facet: %type = facet_value %C, () [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.a02: type = fn_type @I.WithSelf.F, @I.WithSelf(%C.type.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.209: %I.WithSelf.F.type.a02 = struct_value () [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.eef: type = fn_type @I.WithSelf.F, @I.WithSelf(%C.type.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.b58: %I.WithSelf.F.type.eef = struct_value () [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.67e [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.50e [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.4f3: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.a79: %I.WithSelf.F.type.4f3 = struct_value () [concrete] -// CHECK:STDOUT: %.44c: type = fn_type_with_self_type %I.WithSelf.F.type.4f3, %I.facet [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.c0f: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.46a: %I.WithSelf.F.type.c0f = struct_value () [concrete] +// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %I.WithSelf.F.type.c0f, %I.facet [concrete] // CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F [concrete] // CHECK:STDOUT: %C.as.I.impl.F: %C.as.I.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -167,18 +167,18 @@ fn G(c: C) { // CHECK:STDOUT: %Main.I = import_ref Main//extend_impl_library, I, unloaded // CHECK:STDOUT: %Main.C: type = import_ref Main//extend_impl_library, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//extend_impl_library, loc12_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.833 = import_ref Main//extend_impl_library, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.1e60de.1: type = import_ref Main//extend_impl_library, loc9_18, loaded [concrete = constants.%I.type] -// CHECK:STDOUT: %Main.import_ref.1f7: %I.assoc_type = import_ref Main//extend_impl_library, loc5_9, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//extend_impl_library, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.98c224.1: type = import_ref Main//extend_impl_library, loc9_18, loaded [concrete = constants.%I.type] +// CHECK:STDOUT: %Main.import_ref.a47: %I.assoc_type = import_ref Main//extend_impl_library, loc5_9, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.F = import_ref Main//extend_impl_library, F, unloaded -// CHECK:STDOUT: %Main.import_ref.d40428.2: %I.type = import_ref Main//extend_impl_library, loc4_13, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %Main.import_ref.0af = import_ref Main//extend_impl_library, loc4_13, unloaded -// CHECK:STDOUT: %Main.import_ref.67e: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.2ad) = import_ref Main//extend_impl_library, loc5_9, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.71e)] -// CHECK:STDOUT: %Main.import_ref.b9e: = import_ref Main//extend_impl_library, loc9_20, loaded [concrete = constants.%I.impl_witness] -// CHECK:STDOUT: %Main.import_ref.d13: type = import_ref Main//extend_impl_library, loc9_15, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.1e60de.2: type = import_ref Main//extend_impl_library, loc9_18, loaded [concrete = constants.%I.type] -// CHECK:STDOUT: %Main.import_ref.94e: %C.as.I.impl.F.type = import_ref Main//extend_impl_library, loc10_12, loaded [concrete = constants.%C.as.I.impl.F] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.94e), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.c42703.2: %I.type = import_ref Main//extend_impl_library, loc4_13, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//extend_impl_library, loc4_13, unloaded +// CHECK:STDOUT: %Main.import_ref.50e: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.a52) = import_ref Main//extend_impl_library, loc5_9, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.08d)] +// CHECK:STDOUT: %Main.import_ref.5c4: = import_ref Main//extend_impl_library, loc9_20, loaded [concrete = constants.%I.impl_witness] +// CHECK:STDOUT: %Main.import_ref.b34: type = import_ref Main//extend_impl_library, loc9_15, loaded [concrete = constants.%C] +// CHECK:STDOUT: %Main.import_ref.98c224.2: type = import_ref Main//extend_impl_library, loc9_18, loaded [concrete = constants.%I.type] +// CHECK:STDOUT: %Main.import_ref.d9e: %C.as.I.impl.F.type = import_ref Main//extend_impl_library, loc10_12, loaded [concrete = constants.%C.as.I.impl.F] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.d9e), @C.as.I.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -200,41 +200,41 @@ fn G(c: C) { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "extend_impl_library.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.0af -// CHECK:STDOUT: .F = imports.%Main.import_ref.1f7 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .F = imports.%Main.import_ref.a47 // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.I.impl: imports.%Main.import_ref.d13 as imports.%Main.import_ref.1e60de.2 [from "extend_impl_library.carbon"] { +// CHECK:STDOUT: impl @C.as.I.impl: imports.%Main.import_ref.b34 as imports.%Main.import_ref.98c224.2 [from "extend_impl_library.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.b9e +// CHECK:STDOUT: witness = imports.%Main.import_ref.5c4 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "extend_impl_library.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.833 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: .F = -// CHECK:STDOUT: extend imports.%Main.import_ref.1e60de.1 +// CHECK:STDOUT: extend imports.%Main.import_ref.98c224.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%c.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref.loc7: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %F.ref.loc7: %I.assoc_type = name_ref F, imports.%Main.import_ref.1f7 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc7: %.44c = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] +// CHECK:STDOUT: %F.ref.loc7: %I.assoc_type = name_ref F, imports.%Main.import_ref.a47 [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0.loc7: %.86b = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] // CHECK:STDOUT: %C.as.I.impl.F.call.loc7: init %empty_tuple.type = call %impl.elem0.loc7() // CHECK:STDOUT: %c.ref: %C = name_ref c, %c -// CHECK:STDOUT: %F.ref.loc8: %I.assoc_type = name_ref F, imports.%Main.import_ref.1f7 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc8: %.44c = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] +// CHECK:STDOUT: %F.ref.loc8: %I.assoc_type = name_ref F, imports.%Main.import_ref.a47 [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0.loc8: %.86b = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] // CHECK:STDOUT: %C.as.I.impl.F.call.loc8: init %empty_tuple.type = call %impl.elem0.loc8() // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.d40428.2: %I.type) [from "extend_impl_library.carbon"] { +// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.c42703.2: %I.type) [from "extend_impl_library.carbon"] { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: @@ -243,8 +243,8 @@ fn G(c: C) { // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.2ad -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.71e +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a52 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.08d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self) {} @@ -252,14 +252,14 @@ fn G(c: C) { // CHECK:STDOUT: specific @I.WithSelf(constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%C.type.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a02 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.209 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.eef +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.b58 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.4f3 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.a79 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.c0f +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.46a // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/import_generic.carbon b/toolchain/check/testdata/impl/import_generic.carbon index 13e5a6d33bfd..354db72c249a 100644 --- a/toolchain/check/testdata/impl/import_generic.carbon +++ b/toolchain/check/testdata/impl/import_generic.carbon @@ -192,15 +192,15 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.374: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.374 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.fec: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.69e: %I.type.fec = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %J.type.3c3: type = generic_interface_type @J [concrete] -// CHECK:STDOUT: %J.generic: %J.type.3c3 = struct_value () [concrete] -// CHECK:STDOUT: %J.type.361: type = facet_type <@J, @J(%T)> [symbolic] -// CHECK:STDOUT: %Self.e92: %J.type.361 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.e92 [symbolic] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.626: %I.type.50f = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %J.type.f45: type = generic_interface_type @J [concrete] +// CHECK:STDOUT: %J.generic: %J.type.f45 = struct_value () [concrete] +// CHECK:STDOUT: %J.type.9a7: type = facet_type <@J, @J(%T)> [symbolic] +// CHECK:STDOUT: %Self.b78: %J.type.9a7 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.b78 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -208,7 +208,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: .I = %I.decl // CHECK:STDOUT: .J = %J.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %I.decl: %I.type.374 = interface_decl @I [concrete = constants.%I.generic] { +// CHECK:STDOUT: %I.decl: %I.type.48c = interface_decl @I [concrete = constants.%I.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc3_17.1: type = splice_block %.loc3_17.2 [concrete = type] { @@ -217,7 +217,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc3_14.2: type = symbolic_binding T, 0 [symbolic = %T.loc3_14.1 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: %J.decl: %J.type.3c3 = interface_decl @J [concrete = constants.%J.generic] { +// CHECK:STDOUT: %J.decl: %J.type.f45 = interface_decl @J [concrete = constants.%J.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_17.1: type = splice_block %.loc4_17.2 [concrete = type] { @@ -232,11 +232,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc3_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc3_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc3_14.1)> [symbolic = %I.type (constants.%I.type.fec)] -// CHECK:STDOUT: %Self.loc3_23.2: @I.%I.type (%I.type.fec) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.69e)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc3_14.1)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self.loc3_23.2: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.626)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc3_23.1: @I.%I.type (%I.type.fec) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.69e)] +// CHECK:STDOUT: %Self.loc3_23.1: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.626)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -251,11 +251,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc4_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T.loc4_14.1)> [symbolic = %J.type (constants.%J.type.361)] -// CHECK:STDOUT: %Self.loc4_23.2: @J.%J.type (%J.type.361) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self.e92)] +// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T.loc4_14.1)> [symbolic = %J.type (constants.%J.type.9a7)] +// CHECK:STDOUT: %Self.loc4_23.2: @J.%J.type (%J.type.9a7) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self.b78)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_23.1: @J.%J.type (%J.type.361) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self.e92)] +// CHECK:STDOUT: %Self.loc4_23.1: @J.%J.type (%J.type.9a7) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self.b78)] // CHECK:STDOUT: %J.WithSelf.decl = interface_with_self_decl @J [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -263,11 +263,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: require %Self.as_type.loc5_18.1 impls %I.type.loc5_27.1 // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.as_type.loc5_18.1: type = facet_access_type @J.%Self.loc4_23.1 [symbolic = %Self.as_type.loc5_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %I.ref: %I.type.374 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, @J.%T.loc4_14.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %I.type.loc5_27.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc5_27.2 (constants.%I.type.fec)] +// CHECK:STDOUT: %I.type.loc5_27.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc5_27.2 (constants.%I.type.50f)] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc5: type = specific_constant @J.WithSelf.Self.as_type.impls.I.type.require.%I.type.loc5_27.1, @J.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.e92) [symbolic = %I.type (constants.%I.type.fec)] +// CHECK:STDOUT: %.loc5: type = specific_constant @J.WithSelf.Self.as_type.impls.I.type.require.%I.type.loc5_27.1, @J.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.b78) [symbolic = %I.type (constants.%I.type.50f)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc4_23.1 @@ -285,23 +285,23 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic require @J.WithSelf.Self.as_type.impls.I.type.require(@J.%T.loc4_14.2: type, @J.%Self.loc4_23.1: @J.%J.type (%J.type.361)) { +// CHECK:STDOUT: generic require @J.WithSelf.Self.as_type.impls.I.type.require(@J.%T.loc4_14.2: type, @J.%Self.loc4_23.1: @J.%J.type (%J.type.9a7)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.361)] -// CHECK:STDOUT: %Self: @J.WithSelf.Self.as_type.impls.I.type.require.%J.type (%J.type.361) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.e92)] +// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.9a7)] +// CHECK:STDOUT: %Self: @J.WithSelf.Self.as_type.impls.I.type.require.%J.type (%J.type.9a7) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b78)] // CHECK:STDOUT: %Self.as_type.loc5_18.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %I.type.loc5_27.2: type = facet_type <@I, @I(%T)> [symbolic = %I.type.loc5_27.2 (constants.%I.type.fec)] +// CHECK:STDOUT: %I.type.loc5_27.2: type = facet_type <@I, @I(%T)> [symbolic = %I.type.loc5_27.2 (constants.%I.type.50f)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%T) { // CHECK:STDOUT: %T.loc3_14.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.fec -// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.69e +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.626 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.69e) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.626) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -309,14 +309,14 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc4_14.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%T, constants.%Self.e92) {} +// CHECK:STDOUT: specific @J.WithSelf(constants.%T, constants.%Self.b78) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.e92) { +// CHECK:STDOUT: specific @J.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.b78) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %J.type => constants.%J.type.361 -// CHECK:STDOUT: %Self => constants.%Self.e92 +// CHECK:STDOUT: %J.type => constants.%J.type.9a7 +// CHECK:STDOUT: %Self => constants.%Self.b78 // CHECK:STDOUT: %Self.as_type.loc5_18.2 => constants.%Self.as_type -// CHECK:STDOUT: %I.type.loc5_27.2 => constants.%I.type.fec +// CHECK:STDOUT: %I.type.loc5_27.2 => constants.%I.type.50f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- basic_import_generic_interface.impl.carbon @@ -325,41 +325,41 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %I.type.374: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.374 = struct_value () [concrete] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.fec: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.df1: %I.type.fec = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.501: %I.type.50f = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %I.type.c97: type = facet_type <@I, @I(%empty_struct_type)> [concrete] +// CHECK:STDOUT: %I.type.317: type = facet_type <@I, @I(%empty_struct_type)> [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.e07: %I.type.c97 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.facet: %I.type.c97 = facet_value %C, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %J.type.3c3: type = generic_interface_type @J [concrete] -// CHECK:STDOUT: %J.generic: %J.type.3c3 = struct_value () [concrete] -// CHECK:STDOUT: %J.type.361: type = facet_type <@J, @J(%T)> [symbolic] -// CHECK:STDOUT: %Self.848: %J.type.361 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.848 [symbolic] -// CHECK:STDOUT: %J.type.76b: type = facet_type <@J, @J(%empty_struct_type)> [concrete] +// CHECK:STDOUT: %Self.e86: %I.type.317 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.facet: %I.type.317 = facet_value %C, (%I.impl_witness) [concrete] +// CHECK:STDOUT: %J.type.f45: type = generic_interface_type @J [concrete] +// CHECK:STDOUT: %J.generic: %J.type.f45 = struct_value () [concrete] +// CHECK:STDOUT: %J.type.9a7: type = facet_type <@J, @J(%T)> [symbolic] +// CHECK:STDOUT: %Self.3f4: %J.type.9a7 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.3f4 [symbolic] +// CHECK:STDOUT: %J.type.f52: type = facet_type <@J, @J(%empty_struct_type)> [concrete] // CHECK:STDOUT: %J.impl_witness: = impl_witness @C.as.J.impl.%J.impl_witness_table [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %C.type.facet: %type = facet_value %C, () [concrete] -// CHECK:STDOUT: %complete_type.ba3: = complete_type_witness %I.type.c97 [concrete] -// CHECK:STDOUT: %Self.0a2: %J.type.76b = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %J.facet: %J.type.76b = facet_value %C, (%J.impl_witness) [concrete] +// CHECK:STDOUT: %complete_type.d9a: = complete_type_witness %I.type.317 [concrete] +// CHECK:STDOUT: %Self.4e3: %J.type.f52 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %J.facet: %J.type.f52 = facet_value %C, (%J.impl_witness) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.I: %I.type.374 = import_ref Main//basic_import_generic_interface, I, loaded [concrete = constants.%I.generic] -// CHECK:STDOUT: %Main.J: %J.type.3c3 = import_ref Main//basic_import_generic_interface, J, loaded [concrete = constants.%J.generic] -// CHECK:STDOUT: %Main.import_ref.665 = import_ref Main//basic_import_generic_interface, loc3_23, unloaded +// CHECK:STDOUT: %Main.I: %I.type.48c = import_ref Main//basic_import_generic_interface, I, loaded [concrete = constants.%I.generic] +// CHECK:STDOUT: %Main.J: %J.type.f45 = import_ref Main//basic_import_generic_interface, J, loaded [concrete = constants.%J.generic] +// CHECK:STDOUT: %Main.import_ref.157 = import_ref Main//basic_import_generic_interface, loc3_23, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//basic_import_generic_interface, loc3_14, loaded [symbolic = @I.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.823 = import_ref Main//basic_import_generic_interface, loc5_28, unloaded -// CHECK:STDOUT: %Main.import_ref.870: type = import_ref Main//basic_import_generic_interface, loc5_18, loaded [symbolic = @J.WithSelf.Self.as_type.impls.I.type.require.%Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %Main.import_ref.59c: type = import_ref Main//basic_import_generic_interface, loc5_27, loaded [symbolic = @J.WithSelf.Self.as_type.impls.I.type.require.%I.type (constants.%I.type.fec)] +// CHECK:STDOUT: %Main.import_ref.03e = import_ref Main//basic_import_generic_interface, loc5_28, unloaded +// CHECK:STDOUT: %Main.import_ref.d14: type = import_ref Main//basic_import_generic_interface, loc5_18, loaded [symbolic = @J.WithSelf.Self.as_type.impls.I.type.require.%Self.as_type (constants.%Self.as_type)] +// CHECK:STDOUT: %Main.import_ref.808: type = import_ref Main//basic_import_generic_interface, loc5_27, loaded [symbolic = @J.WithSelf.Self.as_type.impls.I.type.require.%I.type (constants.%I.type.50f)] // CHECK:STDOUT: %Main.import_ref.b3bc94.4: type = import_ref Main//basic_import_generic_interface, loc4_14, loaded [symbolic = @J.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.d447a5.2: @J.%J.type (%J.type.361) = import_ref Main//basic_import_generic_interface, loc4_23, loaded [symbolic = @J.%Self (constants.%Self.848)] -// CHECK:STDOUT: %Main.import_ref.4e3 = import_ref Main//basic_import_generic_interface, loc4_23, unloaded +// CHECK:STDOUT: %Main.import_ref.6234b7.2: @J.%J.type (%J.type.9a7) = import_ref Main//basic_import_generic_interface, loc4_23, loaded [symbolic = @J.%Self (constants.%Self.3f4)] +// CHECK:STDOUT: %Main.import_ref.8fe = import_ref Main//basic_import_generic_interface, loc4_23, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.5: type = import_ref Main//basic_import_generic_interface, loc4_14, loaded [symbolic = @J.%T (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -374,17 +374,17 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: impl_decl @C.as.I.impl [concrete] {} { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %I.ref: %I.type.374 = name_ref I, imports.%Main.I [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, imports.%Main.I [concrete = constants.%I.generic] // CHECK:STDOUT: %.loc5_14: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc5_15: type = converted %.loc5_14, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%empty_struct_type)> [concrete = constants.%I.type.c97] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%empty_struct_type)> [concrete = constants.%I.type.317] // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @C.as.J.impl [concrete] {} { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %J.ref: %J.type.3c3 = name_ref J, imports.%Main.J [concrete = constants.%J.generic] +// CHECK:STDOUT: %J.ref: %J.type.f45 = name_ref J, imports.%Main.J [concrete = constants.%J.generic] // CHECK:STDOUT: %.loc7_14: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc7_15: type = converted %.loc7_14, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(constants.%empty_struct_type)> [concrete = constants.%J.type.76b] +// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(constants.%empty_struct_type)> [concrete = constants.%J.type.f52] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -392,12 +392,12 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.fec)] -// CHECK:STDOUT: %Self: @I.%I.type (%I.type.fec) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.df1)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.501)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.665 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.157 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -408,28 +408,28 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.361)] -// CHECK:STDOUT: %Self: @J.%J.type (%J.type.361) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.848)] +// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.9a7)] +// CHECK:STDOUT: %Self: @J.%J.type (%J.type.9a7) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.3f4)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.4e3 -// CHECK:STDOUT: extend imports.%Main.import_ref.823 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.8fe +// CHECK:STDOUT: extend imports.%Main.import_ref.03e // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: @J.WithSelf.Self.as_type.impls.I.type.require { -// CHECK:STDOUT: require imports.%Main.import_ref.870 impls imports.%Main.import_ref.59c +// CHECK:STDOUT: require imports.%Main.import_ref.d14 impls imports.%Main.import_ref.808 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic require @J.WithSelf.Self.as_type.impls.I.type.require(imports.%Main.import_ref.b3bc94.4: type, imports.%Main.import_ref.d447a5.2: @J.%J.type (%J.type.361)) [from "basic_import_generic_interface.carbon"] { +// CHECK:STDOUT: generic require @J.WithSelf.Self.as_type.impls.I.type.require(imports.%Main.import_ref.b3bc94.4: type, imports.%Main.import_ref.6234b7.2: @J.%J.type (%J.type.9a7)) [from "basic_import_generic_interface.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.361)] -// CHECK:STDOUT: %Self: @J.WithSelf.Self.as_type.impls.I.type.require.%J.type (%J.type.361) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.848)] +// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.9a7)] +// CHECK:STDOUT: %Self: @J.WithSelf.Self.as_type.impls.I.type.require.%J.type (%J.type.9a7) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.3f4)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.fec)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C.ref as %I.type { @@ -462,11 +462,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.fec -// CHECK:STDOUT: %Self => constants.%Self.df1 +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self => constants.%Self.501 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.df1) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.501) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -474,11 +474,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T => constants.%empty_struct_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.c97 -// CHECK:STDOUT: %Self => constants.%Self.e07 +// CHECK:STDOUT: %I.type => constants.%I.type.317 +// CHECK:STDOUT: %Self => constants.%Self.e86 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%empty_struct_type, constants.%Self.df1) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%empty_struct_type, constants.%Self.501) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -490,51 +490,51 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%T, constants.%Self.848) {} +// CHECK:STDOUT: specific @J.WithSelf(constants.%T, constants.%Self.3f4) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.848) { +// CHECK:STDOUT: specific @J.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.3f4) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %J.type => constants.%J.type.361 -// CHECK:STDOUT: %Self => constants.%Self.848 +// CHECK:STDOUT: %J.type => constants.%J.type.9a7 +// CHECK:STDOUT: %Self => constants.%Self.3f4 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %I.type => constants.%I.type.fec +// CHECK:STDOUT: %I.type => constants.%I.type.50f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J(constants.%empty_struct_type) { // CHECK:STDOUT: %T => constants.%empty_struct_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %J.type => constants.%J.type.76b -// CHECK:STDOUT: %Self => constants.%Self.0a2 +// CHECK:STDOUT: %J.type => constants.%J.type.f52 +// CHECK:STDOUT: %Self => constants.%Self.4e3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J.WithSelf(constants.%empty_struct_type, constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%empty_struct_type -// CHECK:STDOUT: %I.type => constants.%I.type.c97 -// CHECK:STDOUT: %require_complete => constants.%complete_type.ba3 +// CHECK:STDOUT: %I.type => constants.%I.type.317 +// CHECK:STDOUT: %require_complete => constants.%complete_type.d9a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J.WithSelf.Self.as_type.impls.I.type.require(constants.%empty_struct_type, constants.%C.type.facet) { // CHECK:STDOUT: %T => constants.%empty_struct_type -// CHECK:STDOUT: %J.type => constants.%J.type.76b +// CHECK:STDOUT: %J.type => constants.%J.type.f52 // CHECK:STDOUT: %Self => constants.%C.type.facet // CHECK:STDOUT: %Self.as_type => constants.%C -// CHECK:STDOUT: %I.type => constants.%I.type.c97 +// CHECK:STDOUT: %I.type => constants.%I.type.317 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%empty_struct_type, constants.%Self.848) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%empty_struct_type, constants.%Self.3f4) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%empty_struct_type -// CHECK:STDOUT: %I.type => constants.%I.type.c97 -// CHECK:STDOUT: %require_complete => constants.%complete_type.ba3 +// CHECK:STDOUT: %I.type => constants.%I.type.317 +// CHECK:STDOUT: %require_complete => constants.%complete_type.d9a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J.WithSelf(constants.%empty_struct_type, constants.%J.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%empty_struct_type -// CHECK:STDOUT: %I.type => constants.%I.type.c97 -// CHECK:STDOUT: %require_complete => constants.%complete_type.ba3 +// CHECK:STDOUT: %I.type => constants.%I.type.317 +// CHECK:STDOUT: %require_complete => constants.%complete_type.d9a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- basic_import_generic_constraint.carbon @@ -544,15 +544,15 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.ff8: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.ff8 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.24b: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.3f6: %I.type.24b = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %J.type.bd5: type = generic_named_constaint_type @J [concrete] -// CHECK:STDOUT: %empty_struct: %J.type.bd5 = struct_value () [concrete] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.626: %I.type.50f = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %J.type.4db: type = generic_named_constaint_type @J [concrete] +// CHECK:STDOUT: %empty_struct: %J.type.4db = struct_value () [concrete] // CHECK:STDOUT: %J.type.d68: type = facet_type <@J, @J(%T)> [symbolic] -// CHECK:STDOUT: %Self.b4a: %J.type.d68 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.b4a [symbolic] +// CHECK:STDOUT: %Self.7f4: %J.type.d68 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.7f4 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -560,7 +560,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: .I = %I.decl // CHECK:STDOUT: .J = %J.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %I.decl: %I.type.ff8 = interface_decl @I [concrete = constants.%I.generic] { +// CHECK:STDOUT: %I.decl: %I.type.48c = interface_decl @I [concrete = constants.%I.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc3_17.1: type = splice_block %.loc3_17.2 [concrete = type] { @@ -569,7 +569,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc3_14.2: type = symbolic_binding T, 0 [symbolic = %T.loc3_14.1 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: %J.decl: %J.type.bd5 = constraint_decl @J [concrete = constants.%empty_struct] { +// CHECK:STDOUT: %J.decl: %J.type.4db = constraint_decl @J [concrete = constants.%empty_struct] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_18.1: type = splice_block %.loc4_18.2 [concrete = type] { @@ -584,11 +584,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc3_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc3_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc3_14.1)> [symbolic = %I.type (constants.%I.type.24b)] -// CHECK:STDOUT: %Self.loc3_23.2: @I.%I.type (%I.type.24b) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.3f6)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc3_14.1)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self.loc3_23.2: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.626)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc3_23.1: @I.%I.type (%I.type.24b) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.3f6)] +// CHECK:STDOUT: %Self.loc3_23.1: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.626)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -604,10 +604,10 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T.loc4_15.1)> [symbolic = %J.type (constants.%J.type.d68)] -// CHECK:STDOUT: %Self.loc4_24.2: @J.%J.type (%J.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc4_24.2 (constants.%Self.b4a)] +// CHECK:STDOUT: %Self.loc4_24.2: @J.%J.type (%J.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc4_24.2 (constants.%Self.7f4)] // CHECK:STDOUT: // CHECK:STDOUT: constraint { -// CHECK:STDOUT: %Self.loc4_24.1: @J.%J.type (%J.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc4_24.2 (constants.%Self.b4a)] +// CHECK:STDOUT: %Self.loc4_24.1: @J.%J.type (%J.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc4_24.2 (constants.%Self.7f4)] // CHECK:STDOUT: %J.WithSelf.decl = constraint_with_self_decl @J [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -615,11 +615,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: require %Self.as_type.loc5_18.1 impls %I.type.loc5_27.1 // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.as_type.loc5_18.1: type = facet_access_type @J.%Self.loc4_24.1 [symbolic = %Self.as_type.loc5_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %I.ref: %I.type.ff8 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, @J.%T.loc4_15.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %I.type.loc5_27.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc5_27.2 (constants.%I.type.24b)] +// CHECK:STDOUT: %I.type.loc5_27.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc5_27.2 (constants.%I.type.50f)] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc5: type = specific_constant @J.WithSelf.Self.as_type.impls.I.type.require.%I.type.loc5_27.1, @J.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.b4a) [symbolic = %I.type (constants.%I.type.24b)] +// CHECK:STDOUT: %.loc5: type = specific_constant @J.WithSelf.Self.as_type.impls.I.type.require.%I.type.loc5_27.1, @J.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.7f4) [symbolic = %I.type (constants.%I.type.50f)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc4_24.1 @@ -639,20 +639,20 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: generic require @J.WithSelf.Self.as_type.impls.I.type.require(@J.%T.loc4_15.2: type, @J.%Self.loc4_24.1: @J.%J.type (%J.type.d68)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.d68)] -// CHECK:STDOUT: %Self: @J.WithSelf.Self.as_type.impls.I.type.require.%J.type (%J.type.d68) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b4a)] +// CHECK:STDOUT: %Self: @J.WithSelf.Self.as_type.impls.I.type.require.%J.type (%J.type.d68) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.7f4)] // CHECK:STDOUT: %Self.as_type.loc5_18.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %I.type.loc5_27.2: type = facet_type <@I, @I(%T)> [symbolic = %I.type.loc5_27.2 (constants.%I.type.24b)] +// CHECK:STDOUT: %I.type.loc5_27.2: type = facet_type <@I, @I(%T)> [symbolic = %I.type.loc5_27.2 (constants.%I.type.50f)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%T) { // CHECK:STDOUT: %T.loc3_14.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.24b -// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.3f6 +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.626 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.3f6) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.626) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -660,14 +660,14 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc4_15.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%T, constants.%Self.b4a) {} +// CHECK:STDOUT: specific @J.WithSelf(constants.%T, constants.%Self.7f4) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.b4a) { +// CHECK:STDOUT: specific @J.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.7f4) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %J.type => constants.%J.type.d68 -// CHECK:STDOUT: %Self => constants.%Self.b4a +// CHECK:STDOUT: %Self => constants.%Self.7f4 // CHECK:STDOUT: %Self.as_type.loc5_18.2 => constants.%Self.as_type -// CHECK:STDOUT: %I.type.loc5_27.2 => constants.%I.type.24b +// CHECK:STDOUT: %I.type.loc5_27.2 => constants.%I.type.50f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- basic_import_generic_constraint.impl.carbon @@ -676,37 +676,37 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %J.type.bd5: type = generic_named_constaint_type @J [concrete] -// CHECK:STDOUT: %empty_struct.c0e: %J.type.bd5 = struct_value () [concrete] +// CHECK:STDOUT: %J.type.4db: type = generic_named_constaint_type @J [concrete] +// CHECK:STDOUT: %empty_struct.c21: %J.type.4db = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %J.type.d682d6.1: type = facet_type <@J, @J(%T)> [symbolic] // CHECK:STDOUT: %Self.e1f642.1: %J.type.d682d6.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.type.24b: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.c10: %I.type.24b = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.501: %I.type.50f = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.e1f642.1 [symbolic] // CHECK:STDOUT: %empty_struct.a40: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %J.type.d682d6.2: type = facet_type <@J, @J(%empty_struct_type)> [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %C.type.facet: %type = facet_value %C, () [concrete] -// CHECK:STDOUT: %I.type.2fd: type = facet_type <@I, @I(%empty_struct_type)> [concrete] -// CHECK:STDOUT: %Self.85b: %I.type.2fd = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %complete_type.5ab: = complete_type_witness %I.type.2fd [concrete] +// CHECK:STDOUT: %I.type.317: type = facet_type <@I, @I(%empty_struct_type)> [concrete] +// CHECK:STDOUT: %Self.e86: %I.type.317 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %complete_type.d9a: = complete_type_witness %I.type.317 [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table [concrete] // CHECK:STDOUT: %Self.e1f642.2: %J.type.d682d6.2 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.facet: %I.type.2fd = facet_value %C, (%I.impl_witness) [concrete] +// CHECK:STDOUT: %I.facet: %I.type.317 = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I = import_ref Main//basic_import_generic_constraint, I, unloaded -// CHECK:STDOUT: %Main.J: %J.type.bd5 = import_ref Main//basic_import_generic_constraint, J, loaded [concrete = constants.%empty_struct.c0e] -// CHECK:STDOUT: %Main.import_ref.78d = import_ref Main//basic_import_generic_constraint, loc5_28, unloaded -// CHECK:STDOUT: %Main.import_ref.f0f = import_ref Main//basic_import_generic_constraint, loc3_23, unloaded +// CHECK:STDOUT: %Main.J: %J.type.4db = import_ref Main//basic_import_generic_constraint, J, loaded [concrete = constants.%empty_struct.c21] +// CHECK:STDOUT: %Main.import_ref.765 = import_ref Main//basic_import_generic_constraint, loc5_28, unloaded +// CHECK:STDOUT: %Main.import_ref.157 = import_ref Main//basic_import_generic_constraint, loc3_23, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//basic_import_generic_constraint, loc3_14, loaded [symbolic = @I.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.5f6: type = import_ref Main//basic_import_generic_constraint, loc5_18, loaded [symbolic = @J.WithSelf.Self.as_type.impls.I.type.require.%Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %Main.import_ref.36f: type = import_ref Main//basic_import_generic_constraint, loc5_27, loaded [symbolic = @J.WithSelf.Self.as_type.impls.I.type.require.%I.type (constants.%I.type.24b)] +// CHECK:STDOUT: %Main.import_ref.9e3: type = import_ref Main//basic_import_generic_constraint, loc5_18, loaded [symbolic = @J.WithSelf.Self.as_type.impls.I.type.require.%Self.as_type (constants.%Self.as_type)] +// CHECK:STDOUT: %Main.import_ref.808: type = import_ref Main//basic_import_generic_constraint, loc5_27, loaded [symbolic = @J.WithSelf.Self.as_type.impls.I.type.require.%I.type (constants.%I.type.50f)] // CHECK:STDOUT: %Main.import_ref.b3bc94.4: type = import_ref Main//basic_import_generic_constraint, loc4_15, loaded [symbolic = @J.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.102059.2: @J.%J.type (%J.type.d682d6.1) = import_ref Main//basic_import_generic_constraint, loc4_24, loaded [symbolic = @J.%Self (constants.%Self.e1f642.1)] -// CHECK:STDOUT: %Main.import_ref.c4d = import_ref Main//basic_import_generic_constraint, loc4_24, unloaded +// CHECK:STDOUT: %Main.import_ref.f7be13.2: @J.%J.type (%J.type.d682d6.1) = import_ref Main//basic_import_generic_constraint, loc4_24, loaded [symbolic = @J.%Self (constants.%Self.e1f642.1)] +// CHECK:STDOUT: %Main.import_ref.7ea = import_ref Main//basic_import_generic_constraint, loc4_24, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.5: type = import_ref Main//basic_import_generic_constraint, loc4_15, loaded [symbolic = @J.%T (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -721,7 +721,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: impl_decl @C.as.I.impl [concrete] {} { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %J.ref: %J.type.bd5 = name_ref J, imports.%Main.J [concrete = constants.%empty_struct.c0e] +// CHECK:STDOUT: %J.ref: %J.type.4db = name_ref J, imports.%Main.J [concrete = constants.%empty_struct.c21] // CHECK:STDOUT: %.loc5_14: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct.a40] // CHECK:STDOUT: %.loc5_15: type = converted %.loc5_14, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %J.type: type = facet_type <@J, @J(constants.%empty_struct_type)> [concrete = constants.%J.type.d682d6.2] @@ -732,12 +732,12 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.24b)] -// CHECK:STDOUT: %Self: @I.%I.type (%I.type.24b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.c10)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.501)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.f0f +// CHECK:STDOUT: .Self = imports.%Main.import_ref.157 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -753,22 +753,22 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: // CHECK:STDOUT: constraint { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.c4d -// CHECK:STDOUT: extend imports.%Main.import_ref.78d +// CHECK:STDOUT: .Self = imports.%Main.import_ref.7ea +// CHECK:STDOUT: extend imports.%Main.import_ref.765 // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: @J.WithSelf.Self.as_type.impls.I.type.require { -// CHECK:STDOUT: require imports.%Main.import_ref.5f6 impls imports.%Main.import_ref.36f +// CHECK:STDOUT: require imports.%Main.import_ref.9e3 impls imports.%Main.import_ref.808 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic require @J.WithSelf.Self.as_type.impls.I.type.require(imports.%Main.import_ref.b3bc94.4: type, imports.%Main.import_ref.102059.2: @J.%J.type (%J.type.d682d6.1)) [from "basic_import_generic_constraint.carbon"] { +// CHECK:STDOUT: generic require @J.WithSelf.Self.as_type.impls.I.type.require(imports.%Main.import_ref.b3bc94.4: type, imports.%Main.import_ref.f7be13.2: @J.%J.type (%J.type.d682d6.1)) [from "basic_import_generic_constraint.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.d682d6.1)] // CHECK:STDOUT: %Self: @J.WithSelf.Self.as_type.impls.I.type.require.%J.type (%J.type.d682d6.1) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.e1f642.1)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.24b)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C.ref as %J.type { @@ -796,11 +796,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.24b -// CHECK:STDOUT: %Self => constants.%Self.c10 +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self => constants.%Self.501 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.c10) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.501) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -811,7 +811,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %J.type => constants.%J.type.d682d6.1 // CHECK:STDOUT: %Self => constants.%Self.e1f642.1 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %I.type => constants.%I.type.24b +// CHECK:STDOUT: %I.type => constants.%I.type.50f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J(constants.%empty_struct_type) { @@ -825,19 +825,19 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: specific @J.WithSelf(constants.%empty_struct_type, constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%empty_struct_type -// CHECK:STDOUT: %I.type => constants.%I.type.2fd -// CHECK:STDOUT: %require_complete => constants.%complete_type.5ab +// CHECK:STDOUT: %I.type => constants.%I.type.317 +// CHECK:STDOUT: %require_complete => constants.%complete_type.d9a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%empty_struct_type) { // CHECK:STDOUT: %T => constants.%empty_struct_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.2fd -// CHECK:STDOUT: %Self => constants.%Self.85b +// CHECK:STDOUT: %I.type => constants.%I.type.317 +// CHECK:STDOUT: %Self => constants.%Self.e86 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%empty_struct_type, constants.%Self.c10) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%empty_struct_type, constants.%Self.501) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -846,14 +846,14 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %J.type => constants.%J.type.d682d6.2 // CHECK:STDOUT: %Self => constants.%C.type.facet // CHECK:STDOUT: %Self.as_type => constants.%C -// CHECK:STDOUT: %I.type => constants.%I.type.2fd +// CHECK:STDOUT: %I.type => constants.%I.type.317 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J.WithSelf(constants.%empty_struct_type, constants.%Self.e1f642.1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%empty_struct_type -// CHECK:STDOUT: %I.type => constants.%I.type.2fd -// CHECK:STDOUT: %require_complete => constants.%complete_type.5ab +// CHECK:STDOUT: %I.type => constants.%I.type.317 +// CHECK:STDOUT: %require_complete => constants.%complete_type.d9a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%empty_struct_type, constants.%I.facet) { @@ -870,24 +870,24 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.c11: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.c11 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.e8e: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.dfe: %I.type.e8e = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.impl_witness.68b: = impl_witness @C.as.I.impl.2c7.%I.impl_witness_table, @C.as.I.impl.2c7(%T) [symbolic] -// CHECK:STDOUT: %require_complete.aba: = require_complete_type %I.type.e8e [symbolic] -// CHECK:STDOUT: %I.facet.b24: %I.type.e8e = facet_value %C, (%I.impl_witness.68b) [symbolic] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.626: %I.type.50f = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.impl_witness.68a: = impl_witness @C.as.I.impl.940.%I.impl_witness_table, @C.as.I.impl.940(%T) [symbolic] +// CHECK:STDOUT: %require_complete.df9: = require_complete_type %I.type.50f [symbolic] +// CHECK:STDOUT: %I.facet.81e: %I.type.50f = facet_value %C, (%I.impl_witness.68a) [symbolic] // CHECK:STDOUT: %ptr: type = ptr_type %T [symbolic] -// CHECK:STDOUT: %I.type.0aa: type = facet_type <@I, @I(%ptr)> [symbolic] -// CHECK:STDOUT: %I.impl_witness.b31: = impl_witness @C.as.I.impl.1ae.%I.impl_witness_table, @C.as.I.impl.1ae(%T) [symbolic] -// CHECK:STDOUT: %Self.7ec: %I.type.0aa = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %require_complete.8d5: = require_complete_type %I.type.0aa [symbolic] -// CHECK:STDOUT: %I.facet.902: %I.type.0aa = facet_value %C, (%I.impl_witness.b31) [symbolic] -// CHECK:STDOUT: %N.type.e9f: type = generic_named_constaint_type @N [concrete] -// CHECK:STDOUT: %empty_struct: %N.type.e9f = struct_value () [concrete] +// CHECK:STDOUT: %I.type.e30: type = facet_type <@I, @I(%ptr)> [symbolic] +// CHECK:STDOUT: %I.impl_witness.9c2: = impl_witness @C.as.I.impl.a85.%I.impl_witness_table, @C.as.I.impl.a85(%T) [symbolic] +// CHECK:STDOUT: %Self.c76: %I.type.e30 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %require_complete.c44: = require_complete_type %I.type.e30 [symbolic] +// CHECK:STDOUT: %I.facet.11a: %I.type.e30 = facet_value %C, (%I.impl_witness.9c2) [symbolic] +// CHECK:STDOUT: %N.type.cef: type = generic_named_constaint_type @N [concrete] +// CHECK:STDOUT: %empty_struct: %N.type.cef = struct_value () [concrete] // CHECK:STDOUT: %N.type.d68: type = facet_type <@N, @N(%T)> [symbolic] -// CHECK:STDOUT: %Self.b06: %N.type.d68 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.b06 [symbolic] +// CHECK:STDOUT: %Self.7f4: %N.type.d68 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.7f4 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -897,7 +897,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: .N = %N.decl // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %I.decl: %I.type.c11 = interface_decl @I [concrete = constants.%I.generic] { +// CHECK:STDOUT: %I.decl: %I.type.48c = interface_decl @I [concrete = constants.%I.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc5_17.1: type = splice_block %.loc5_17.2 [concrete = type] { @@ -906,47 +906,47 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc5_14.2: type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.I.impl.2c7 [concrete] { +// CHECK:STDOUT: impl_decl @C.as.I.impl.940 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc8: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %I.ref.loc8: %I.type.c11 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref.loc8: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref.loc8: type = name_ref T, %T.loc8_15.1 [symbolic = %T.loc8_15.2 (constants.%T)] -// CHECK:STDOUT: %I.type.loc8_32.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc8_32.2 (constants.%I.type.e8e)] +// CHECK:STDOUT: %I.type.loc8_32.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc8_32.2 (constants.%I.type.50f)] // CHECK:STDOUT: %.loc8_18.1: type = splice_block %.loc8_18.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc8: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc8_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc8_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.I.impl.2c7 [concrete] { +// CHECK:STDOUT: impl_decl @C.as.I.impl.940 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc9: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %I.ref.loc9: %I.type.c11 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref.loc9: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref.loc9: type = name_ref T, %T.loc9 [symbolic = %T.loc8_15.2 (constants.%T)] -// CHECK:STDOUT: %I.type.loc9: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc8_32.2 (constants.%I.type.e8e)] +// CHECK:STDOUT: %I.type.loc9: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc8_32.2 (constants.%I.type.50f)] // CHECK:STDOUT: %.loc9_18.1: type = splice_block %.loc9_18.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc9: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc9_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc9: type = symbolic_binding T, 0 [symbolic = %T.loc8_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.I.impl.1ae [concrete] { +// CHECK:STDOUT: impl_decl @C.as.I.impl.a85 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %I.ref: %I.type.c11 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc12_15.1 [symbolic = %T.loc12_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc12_32.1: type = ptr_type %T.ref [symbolic = %ptr.loc12_32.2 (constants.%ptr)] -// CHECK:STDOUT: %I.type.loc12_33.1: type = facet_type <@I, @I(constants.%ptr)> [symbolic = %I.type.loc12_33.2 (constants.%I.type.0aa)] +// CHECK:STDOUT: %I.type.loc12_33.1: type = facet_type <@I, @I(constants.%ptr)> [symbolic = %I.type.loc12_33.2 (constants.%I.type.e30)] // CHECK:STDOUT: %.loc12_18.1: type = splice_block %.loc12_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc12_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc12_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc12_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.decl: %N.type.e9f = constraint_decl @N [concrete = constants.%empty_struct] { +// CHECK:STDOUT: %N.decl: %N.type.cef = constraint_decl @N [concrete = constants.%empty_struct] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc14_18.1: type = splice_block %.loc14_18.2 [concrete = type] { @@ -961,11 +961,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc5_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc5_14.1)> [symbolic = %I.type (constants.%I.type.e8e)] -// CHECK:STDOUT: %Self.loc5_23.2: @I.%I.type (%I.type.e8e) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.dfe)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc5_14.1)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self.loc5_23.2: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.626)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc5_23.1: @I.%I.type (%I.type.e8e) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.dfe)] +// CHECK:STDOUT: %Self.loc5_23.1: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.626)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -981,10 +981,10 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %N.type: type = facet_type <@N, @N(%T.loc14_15.1)> [symbolic = %N.type (constants.%N.type.d68)] -// CHECK:STDOUT: %Self.loc14_24.2: @N.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc14_24.2 (constants.%Self.b06)] +// CHECK:STDOUT: %Self.loc14_24.2: @N.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc14_24.2 (constants.%Self.7f4)] // CHECK:STDOUT: // CHECK:STDOUT: constraint { -// CHECK:STDOUT: %Self.loc14_24.1: @N.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc14_24.2 (constants.%Self.b06)] +// CHECK:STDOUT: %Self.loc14_24.1: @N.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc14_24.2 (constants.%Self.7f4)] // CHECK:STDOUT: %N.WithSelf.decl = constraint_with_self_decl @N [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -992,11 +992,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: require %Self.as_type.loc15_18.1 impls %I.type.loc15_27.1 // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.as_type.loc15_18.1: type = facet_access_type @N.%Self.loc14_24.1 [symbolic = %Self.as_type.loc15_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %I.ref: %I.type.c11 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, @N.%T.loc14_15.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %I.type.loc15_27.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc15_27.2 (constants.%I.type.e8e)] +// CHECK:STDOUT: %I.type.loc15_27.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc15_27.2 (constants.%I.type.50f)] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc15: type = specific_constant @N.WithSelf.Self.as_type.impls.I.type.require.%I.type.loc15_27.1, @N.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.b06) [symbolic = %I.type (constants.%I.type.e8e)] +// CHECK:STDOUT: %.loc15: type = specific_constant @N.WithSelf.Self.as_type.impls.I.type.require.%I.type.loc15_27.1, @N.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.7f4) [symbolic = %I.type (constants.%I.type.50f)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc14_24.1 @@ -1016,22 +1016,22 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: generic require @N.WithSelf.Self.as_type.impls.I.type.require(@N.%T.loc14_15.2: type, @N.%Self.loc14_24.1: @N.%N.type (%N.type.d68)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %N.type: type = facet_type <@N, @N(%T)> [symbolic = %N.type (constants.%N.type.d68)] -// CHECK:STDOUT: %Self: @N.WithSelf.Self.as_type.impls.I.type.require.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b06)] +// CHECK:STDOUT: %Self: @N.WithSelf.Self.as_type.impls.I.type.require.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.7f4)] // CHECK:STDOUT: %Self.as_type.loc15_18.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc15_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %I.type.loc15_27.2: type = facet_type <@I, @I(%T)> [symbolic = %I.type.loc15_27.2 (constants.%I.type.e8e)] +// CHECK:STDOUT: %I.type.loc15_27.2: type = facet_type <@I, @I(%T)> [symbolic = %I.type.loc15_27.2 (constants.%I.type.50f)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.2c7(%T.loc8_15.1: type) { +// CHECK:STDOUT: generic impl @C.as.I.impl.940(%T.loc8_15.1: type) { // CHECK:STDOUT: %T.loc8_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc8_15.2 (constants.%T)] -// CHECK:STDOUT: %I.type.loc8_32.2: type = facet_type <@I, @I(%T.loc8_15.2)> [symbolic = %I.type.loc8_32.2 (constants.%I.type.e8e)] -// CHECK:STDOUT: %I.impl_witness.loc8_33.2: = impl_witness %I.impl_witness_table, @C.as.I.impl.2c7(%T.loc8_15.2) [symbolic = %I.impl_witness.loc8_33.2 (constants.%I.impl_witness.68b)] +// CHECK:STDOUT: %I.type.loc8_32.2: type = facet_type <@I, @I(%T.loc8_15.2)> [symbolic = %I.type.loc8_32.2 (constants.%I.type.50f)] +// CHECK:STDOUT: %I.impl_witness.loc8_33.2: = impl_witness %I.impl_witness_table, @C.as.I.impl.940(%T.loc8_15.2) [symbolic = %I.impl_witness.loc8_33.2 (constants.%I.impl_witness.68a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc8_32.2 [symbolic = %require_complete (constants.%require_complete.aba)] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc8_32.2 [symbolic = %require_complete (constants.%require_complete.df9)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %C.ref.loc8 as %I.type.loc8_32.1 { -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.2c7 [concrete] -// CHECK:STDOUT: %I.impl_witness.loc8_33.1: = impl_witness %I.impl_witness_table, @C.as.I.impl.2c7(constants.%T) [symbolic = %I.impl_witness.loc8_33.2 (constants.%I.impl_witness.68b)] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.940 [concrete] +// CHECK:STDOUT: %I.impl_witness.loc8_33.1: = impl_witness %I.impl_witness_table, @C.as.I.impl.940(constants.%T) [symbolic = %I.impl_witness.loc8_33.2 (constants.%I.impl_witness.68a)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %I.type.loc8_32.1 @@ -1039,18 +1039,18 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.1ae(%T.loc12_15.1: type) { +// CHECK:STDOUT: generic impl @C.as.I.impl.a85(%T.loc12_15.1: type) { // CHECK:STDOUT: %T.loc12_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc12_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc12_32.2: type = ptr_type %T.loc12_15.2 [symbolic = %ptr.loc12_32.2 (constants.%ptr)] -// CHECK:STDOUT: %I.type.loc12_33.2: type = facet_type <@I, @I(%ptr.loc12_32.2)> [symbolic = %I.type.loc12_33.2 (constants.%I.type.0aa)] -// CHECK:STDOUT: %I.impl_witness.loc12_35.2: = impl_witness %I.impl_witness_table, @C.as.I.impl.1ae(%T.loc12_15.2) [symbolic = %I.impl_witness.loc12_35.2 (constants.%I.impl_witness.b31)] +// CHECK:STDOUT: %I.type.loc12_33.2: type = facet_type <@I, @I(%ptr.loc12_32.2)> [symbolic = %I.type.loc12_33.2 (constants.%I.type.e30)] +// CHECK:STDOUT: %I.impl_witness.loc12_35.2: = impl_witness %I.impl_witness_table, @C.as.I.impl.a85(%T.loc12_15.2) [symbolic = %I.impl_witness.loc12_35.2 (constants.%I.impl_witness.9c2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc12_33.2 [symbolic = %require_complete (constants.%require_complete.8d5)] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc12_33.2 [symbolic = %require_complete (constants.%require_complete.c44)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %C.ref as %I.type.loc12_33.1 { -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.1ae [concrete] -// CHECK:STDOUT: %I.impl_witness.loc12_35.1: = impl_witness %I.impl_witness_table, @C.as.I.impl.1ae(constants.%T) [symbolic = %I.impl_witness.loc12_35.2 (constants.%I.impl_witness.b31)] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.a85 [concrete] +// CHECK:STDOUT: %I.impl_witness.loc12_35.1: = impl_witness %I.impl_witness_table, @C.as.I.impl.a85(constants.%T) [symbolic = %I.impl_witness.loc12_35.2 (constants.%I.impl_witness.9c2)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %I.type.loc12_33.1 @@ -1070,21 +1070,21 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc5_14.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.e8e -// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.dfe +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.626 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.dfe) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.626) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.2c7(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.940(constants.%T) { // CHECK:STDOUT: %T.loc8_15.2 => constants.%T -// CHECK:STDOUT: %I.type.loc8_32.2 => constants.%I.type.e8e -// CHECK:STDOUT: %I.impl_witness.loc8_33.2 => constants.%I.impl_witness.68b +// CHECK:STDOUT: %I.type.loc8_32.2 => constants.%I.type.50f +// CHECK:STDOUT: %I.impl_witness.loc8_33.2 => constants.%I.impl_witness.68a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%I.facet.b24) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%I.facet.81e) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1092,22 +1092,22 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc5_14.1 => constants.%ptr // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.0aa -// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.7ec +// CHECK:STDOUT: %I.type => constants.%I.type.e30 +// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.c76 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.1ae(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.a85(constants.%T) { // CHECK:STDOUT: %T.loc12_15.2 => constants.%T // CHECK:STDOUT: %ptr.loc12_32.2 => constants.%ptr -// CHECK:STDOUT: %I.type.loc12_33.2 => constants.%I.type.0aa -// CHECK:STDOUT: %I.impl_witness.loc12_35.2 => constants.%I.impl_witness.b31 +// CHECK:STDOUT: %I.type.loc12_33.2 => constants.%I.type.e30 +// CHECK:STDOUT: %I.impl_witness.loc12_35.2 => constants.%I.impl_witness.9c2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%ptr, constants.%Self.dfe) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%ptr, constants.%Self.626) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%ptr, constants.%I.facet.902) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%ptr, constants.%I.facet.11a) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1115,39 +1115,39 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc14_15.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf(constants.%T, constants.%Self.b06) {} +// CHECK:STDOUT: specific @N.WithSelf(constants.%T, constants.%Self.7f4) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.b06) { +// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.7f4) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %N.type => constants.%N.type.d68 -// CHECK:STDOUT: %Self => constants.%Self.b06 +// CHECK:STDOUT: %Self => constants.%Self.7f4 // CHECK:STDOUT: %Self.as_type.loc15_18.2 => constants.%Self.as_type -// CHECK:STDOUT: %I.type.loc15_27.2 => constants.%I.type.e8e +// CHECK:STDOUT: %I.type.loc15_27.2 => constants.%I.type.50f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_import_generic.impl.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.c11: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.c11 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.e8e: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.13d: %I.type.e8e = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.501: %I.type.50f = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %I.impl_witness.b96: = impl_witness imports.%I.impl_witness_table.304, @C.as.I.impl.3cb(%T) [symbolic] -// CHECK:STDOUT: %require_complete.aba: = require_complete_type %I.type.e8e [symbolic] +// CHECK:STDOUT: %I.impl_witness.fbf: = impl_witness imports.%I.impl_witness_table.85e, @C.as.I.impl.39c(%T) [symbolic] +// CHECK:STDOUT: %require_complete.df9: = require_complete_type %I.type.50f [symbolic] // CHECK:STDOUT: %ptr: type = ptr_type %T [symbolic] -// CHECK:STDOUT: %I.type.0aa: type = facet_type <@I, @I(%ptr)> [symbolic] -// CHECK:STDOUT: %Self.df0: %I.type.0aa = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.impl_witness.76d: = impl_witness imports.%I.impl_witness_table.47f, @C.as.I.impl.4e1(%T) [symbolic] -// CHECK:STDOUT: %require_complete.8d5: = require_complete_type %I.type.0aa [symbolic] +// CHECK:STDOUT: %I.type.e30: type = facet_type <@I, @I(%ptr)> [symbolic] +// CHECK:STDOUT: %Self.baa: %I.type.e30 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.impl_witness.fbe: = impl_witness imports.%I.impl_witness_table.82a, @C.as.I.impl.2f1(%T) [symbolic] +// CHECK:STDOUT: %require_complete.c44: = require_complete_type %I.type.e30 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %N.type.e9f: type = generic_named_constaint_type @N [concrete] -// CHECK:STDOUT: %empty_struct: %N.type.e9f = struct_value () [concrete] +// CHECK:STDOUT: %N.type.cef: type = generic_named_constaint_type @N [concrete] +// CHECK:STDOUT: %empty_struct: %N.type.cef = struct_value () [concrete] // CHECK:STDOUT: %N.type.d682d6.1: type = facet_type <@N, @N(%T)> [symbolic] // CHECK:STDOUT: %Self.e1f: %N.type.d682d6.1 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.e1f [symbolic] @@ -1157,30 +1157,30 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//import_generic, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.I: %I.type.c11 = import_ref Main//import_generic, I, loaded [concrete = constants.%I.generic] -// CHECK:STDOUT: %Main.N: %N.type.e9f = import_ref Main//import_generic, N, loaded [concrete = constants.%empty_struct] -// CHECK:STDOUT: %Main.import_ref.5a9 = import_ref Main//import_generic, loc5_23, unloaded +// CHECK:STDOUT: %Main.I: %I.type.48c = import_ref Main//import_generic, I, loaded [concrete = constants.%I.generic] +// CHECK:STDOUT: %Main.N: %N.type.cef = import_ref Main//import_generic, N, loaded [concrete = constants.%empty_struct] +// CHECK:STDOUT: %Main.import_ref.157 = import_ref Main//import_generic, loc5_23, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//import_generic, loc5_14, loaded [symbolic = @I.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.963 = import_ref Main//import_generic, loc8_33, unloaded +// CHECK:STDOUT: %Main.import_ref.65d = import_ref Main//import_generic, loc8_33, unloaded // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//import_generic, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.95c = import_ref Main//import_generic, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %I.impl_witness_table.304 = impl_witness_table (), @C.as.I.impl.3cb [concrete] -// CHECK:STDOUT: %Main.import_ref.c2ed2c.1: type = import_ref Main//import_generic, loc8_24, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.3fe015.1: type = import_ref Main//import_generic, loc8_32, loaded [symbolic = @C.as.I.impl.3cb.%I.type (constants.%I.type.e8e)] -// CHECK:STDOUT: %Main.import_ref.dd5 = import_ref Main//import_generic, loc8_32, unloaded -// CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//import_generic, loc8_15, loaded [symbolic = @C.as.I.impl.3cb.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.f00 = import_ref Main//import_generic, loc12_35, unloaded -// CHECK:STDOUT: %I.impl_witness_table.47f = impl_witness_table (), @C.as.I.impl.4e1 [concrete] -// CHECK:STDOUT: %Main.import_ref.c2ed2c.2: type = import_ref Main//import_generic, loc12_24, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.bdd: type = import_ref Main//import_generic, loc12_33, loaded [symbolic = @C.as.I.impl.4e1.%I.type (constants.%I.type.0aa)] -// CHECK:STDOUT: %Main.import_ref.a3e = import_ref Main//import_generic, loc12_33, unloaded -// CHECK:STDOUT: %Main.import_ref.b3bc94.4: type = import_ref Main//import_generic, loc12_15, loaded [symbolic = @C.as.I.impl.4e1.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.a39 = import_ref Main//import_generic, loc15_28, unloaded -// CHECK:STDOUT: %Main.import_ref.c53: type = import_ref Main//import_generic, loc15_18, loaded [symbolic = @N.WithSelf.Self.as_type.impls.I.type.require.%Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %Main.import_ref.3fe015.2: type = import_ref Main//import_generic, loc15_27, loaded [symbolic = @N.WithSelf.Self.as_type.impls.I.type.require.%I.type (constants.%I.type.e8e)] +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//import_generic, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %I.impl_witness_table.85e = impl_witness_table (), @C.as.I.impl.39c [concrete] +// CHECK:STDOUT: %Main.import_ref.f5a097.1: type = import_ref Main//import_generic, loc8_24, loaded [concrete = constants.%C] +// CHECK:STDOUT: %Main.import_ref.80834b.1: type = import_ref Main//import_generic, loc8_32, loaded [symbolic = @C.as.I.impl.39c.%I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Main.import_ref.891 = import_ref Main//import_generic, loc8_32, unloaded +// CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//import_generic, loc8_15, loaded [symbolic = @C.as.I.impl.39c.%T (constants.%T)] +// CHECK:STDOUT: %Main.import_ref.72a = import_ref Main//import_generic, loc12_35, unloaded +// CHECK:STDOUT: %I.impl_witness_table.82a = impl_witness_table (), @C.as.I.impl.2f1 [concrete] +// CHECK:STDOUT: %Main.import_ref.f5a097.2: type = import_ref Main//import_generic, loc12_24, loaded [concrete = constants.%C] +// CHECK:STDOUT: %Main.import_ref.123: type = import_ref Main//import_generic, loc12_33, loaded [symbolic = @C.as.I.impl.2f1.%I.type (constants.%I.type.e30)] +// CHECK:STDOUT: %Main.import_ref.431 = import_ref Main//import_generic, loc12_33, unloaded +// CHECK:STDOUT: %Main.import_ref.b3bc94.4: type = import_ref Main//import_generic, loc12_15, loaded [symbolic = @C.as.I.impl.2f1.%T (constants.%T)] +// CHECK:STDOUT: %Main.import_ref.db9 = import_ref Main//import_generic, loc15_28, unloaded +// CHECK:STDOUT: %Main.import_ref.9e3: type = import_ref Main//import_generic, loc15_18, loaded [symbolic = @N.WithSelf.Self.as_type.impls.I.type.require.%Self.as_type (constants.%Self.as_type)] +// CHECK:STDOUT: %Main.import_ref.80834b.2: type = import_ref Main//import_generic, loc15_27, loaded [symbolic = @N.WithSelf.Self.as_type.impls.I.type.require.%I.type (constants.%I.type.50f)] // CHECK:STDOUT: %Main.import_ref.b3bc94.6: type = import_ref Main//import_generic, loc14_15, loaded [symbolic = @N.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.0301fb.2: @N.%N.type (%N.type.d682d6.1) = import_ref Main//import_generic, loc14_24, loaded [symbolic = @N.%Self (constants.%Self.e1f)] -// CHECK:STDOUT: %Main.import_ref.362 = import_ref Main//import_generic, loc14_24, unloaded +// CHECK:STDOUT: %Main.import_ref.f7be13.2: @N.%N.type (%N.type.d682d6.1) = import_ref Main//import_generic, loc14_24, loaded [symbolic = @N.%Self (constants.%Self.e1f)] +// CHECK:STDOUT: %Main.import_ref.7ea = import_ref Main//import_generic, loc14_24, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.7: type = import_ref Main//import_generic, loc14_15, loaded [symbolic = @N.%T (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1192,65 +1192,65 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: %default.import.loc2_30.1 = import // CHECK:STDOUT: %default.import.loc2_30.2 = import -// CHECK:STDOUT: impl_decl @C.as.I.impl.2c761b.1 [concrete] { +// CHECK:STDOUT: impl_decl @C.as.I.impl.940604.1 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %I.ref: %I.type.c11 = name_ref I, imports.%Main.I [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, imports.%Main.I [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc8_15.1 [symbolic = %T.loc8_15.2 (constants.%T)] -// CHECK:STDOUT: %I.type.loc8_32.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc8_32.2 (constants.%I.type.e8e)] +// CHECK:STDOUT: %I.type.loc8_32.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc8_32.2 (constants.%I.type.50f)] // CHECK:STDOUT: %.loc8_18.1: type = splice_block %.loc8_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc8_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc8_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.I.impl.2c761b.2 [concrete] { +// CHECK:STDOUT: impl_decl @C.as.I.impl.940604.2 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %I.ref: %I.type.c11 = name_ref I, imports.%Main.I [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, imports.%Main.I [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc14_15.1 [symbolic = %T.loc14_15.2 (constants.%T)] -// CHECK:STDOUT: %I.type.loc14_32.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc14_32.2 (constants.%I.type.e8e)] +// CHECK:STDOUT: %I.type.loc14_32.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc14_32.2 (constants.%I.type.50f)] // CHECK:STDOUT: %.loc14_18.1: type = splice_block %.loc14_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc14_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc14_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc14_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.I.impl.1ae2ca.1 [concrete] { +// CHECK:STDOUT: impl_decl @C.as.I.impl.a854de.1 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %I.ref: %I.type.c11 = name_ref I, imports.%Main.I [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, imports.%Main.I [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc20_15.1 [symbolic = %T.loc20_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc20_32.1: type = ptr_type %T.ref [symbolic = %ptr.loc20_32.2 (constants.%ptr)] -// CHECK:STDOUT: %I.type.loc20_33.1: type = facet_type <@I, @I(constants.%ptr)> [symbolic = %I.type.loc20_33.2 (constants.%I.type.0aa)] +// CHECK:STDOUT: %I.type.loc20_33.1: type = facet_type <@I, @I(constants.%ptr)> [symbolic = %I.type.loc20_33.2 (constants.%I.type.e30)] // CHECK:STDOUT: %.loc20_18.1: type = splice_block %.loc20_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc20_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc20_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc20_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.I.impl.1ae2ca.2 [concrete] { +// CHECK:STDOUT: impl_decl @C.as.I.impl.a854de.2 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %I.ref: %I.type.c11 = name_ref I, imports.%Main.I [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, imports.%Main.I [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc26_15.1 [symbolic = %T.loc26_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc26_32.1: type = ptr_type %T.ref [symbolic = %ptr.loc26_32.2 (constants.%ptr)] -// CHECK:STDOUT: %I.type.loc26_33.1: type = facet_type <@I, @I(constants.%ptr)> [symbolic = %I.type.loc26_33.2 (constants.%I.type.0aa)] +// CHECK:STDOUT: %I.type.loc26_33.1: type = facet_type <@I, @I(constants.%ptr)> [symbolic = %I.type.loc26_33.2 (constants.%I.type.e30)] // CHECK:STDOUT: %.loc26_18.1: type = splice_block %.loc26_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc26_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc26_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc26_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.I.impl.460cc1.1 [concrete] { +// CHECK:STDOUT: impl_decl @C.as.I.impl.29284f.1 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %N.ref: %N.type.e9f = name_ref N, imports.%Main.N [concrete = constants.%empty_struct] +// CHECK:STDOUT: %N.ref: %N.type.cef = name_ref N, imports.%Main.N [concrete = constants.%empty_struct] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc32_15.1 [symbolic = %T.loc32_15.2 (constants.%T)] // CHECK:STDOUT: %N.type.loc32_32.1: type = facet_type <@N, @N(constants.%T)> [symbolic = %N.type.loc32_32.2 (constants.%N.type.d682d6.1)] // CHECK:STDOUT: %.loc32_18.1: type = splice_block %.loc32_18.2 [concrete = type] { @@ -1259,11 +1259,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc32_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc32_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.I.impl.460cc1.2 [concrete] { +// CHECK:STDOUT: impl_decl @C.as.I.impl.29284f.2 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %N.ref: %N.type.e9f = name_ref N, imports.%Main.N [concrete = constants.%empty_struct] +// CHECK:STDOUT: %N.ref: %N.type.cef = name_ref N, imports.%Main.N [concrete = constants.%empty_struct] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc37_15.1 [symbolic = %T.loc37_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc37_32.1: type = ptr_type %T.ref [symbolic = %ptr.loc37_32.2 (constants.%ptr)] // CHECK:STDOUT: %N.type.loc37_33.1: type = facet_type <@N, @N(constants.%ptr)> [symbolic = %N.type.loc37_33.2 (constants.%N.type.d682d6.2)] @@ -1279,12 +1279,12 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.e8e)] -// CHECK:STDOUT: %Self: @I.%I.type (%I.type.e8e) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.13d)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.501)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.5a9 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.157 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -1300,65 +1300,65 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: // CHECK:STDOUT: constraint { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.362 -// CHECK:STDOUT: extend imports.%Main.import_ref.a39 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.7ea +// CHECK:STDOUT: extend imports.%Main.import_ref.db9 // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: @N.WithSelf.Self.as_type.impls.I.type.require { -// CHECK:STDOUT: require imports.%Main.import_ref.c53 impls imports.%Main.import_ref.3fe015.2 +// CHECK:STDOUT: require imports.%Main.import_ref.9e3 impls imports.%Main.import_ref.80834b.2 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic require @N.WithSelf.Self.as_type.impls.I.type.require(imports.%Main.import_ref.b3bc94.6: type, imports.%Main.import_ref.0301fb.2: @N.%N.type (%N.type.d682d6.1)) [from "import_generic.carbon"] { +// CHECK:STDOUT: generic require @N.WithSelf.Self.as_type.impls.I.type.require(imports.%Main.import_ref.b3bc94.6: type, imports.%Main.import_ref.f7be13.2: @N.%N.type (%N.type.d682d6.1)) [from "import_generic.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %N.type: type = facet_type <@N, @N(%T)> [symbolic = %N.type (constants.%N.type.d682d6.1)] // CHECK:STDOUT: %Self: @N.WithSelf.Self.as_type.impls.I.type.require.%N.type (%N.type.d682d6.1) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.e1f)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.e8e)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.3cb(imports.%Main.import_ref.b3bc94.3: type) [from "import_generic.carbon"] { +// CHECK:STDOUT: generic impl @C.as.I.impl.39c(imports.%Main.import_ref.b3bc94.3: type) [from "import_generic.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.e8e)] -// CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table.304, @C.as.I.impl.3cb(%T) [symbolic = %I.impl_witness (constants.%I.impl_witness.b96)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table.85e, @C.as.I.impl.39c(%T) [symbolic = %I.impl_witness (constants.%I.impl_witness.fbf)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type [symbolic = %require_complete (constants.%require_complete.aba)] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type [symbolic = %require_complete (constants.%require_complete.df9)] // CHECK:STDOUT: -// CHECK:STDOUT: impl: imports.%Main.import_ref.c2ed2c.1 as imports.%Main.import_ref.3fe015.1 { +// CHECK:STDOUT: impl: imports.%Main.import_ref.f5a097.1 as imports.%Main.import_ref.80834b.1 { // CHECK:STDOUT: !members: -// CHECK:STDOUT: extend imports.%Main.import_ref.dd5 -// CHECK:STDOUT: witness = imports.%Main.import_ref.963 +// CHECK:STDOUT: extend imports.%Main.import_ref.891 +// CHECK:STDOUT: witness = imports.%Main.import_ref.65d // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.4e1(imports.%Main.import_ref.b3bc94.4: type) [from "import_generic.carbon"] { +// CHECK:STDOUT: generic impl @C.as.I.impl.2f1(imports.%Main.import_ref.b3bc94.4: type) [from "import_generic.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %ptr: type = ptr_type %T [symbolic = %ptr (constants.%ptr)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%ptr)> [symbolic = %I.type (constants.%I.type.0aa)] -// CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table.47f, @C.as.I.impl.4e1(%T) [symbolic = %I.impl_witness (constants.%I.impl_witness.76d)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%ptr)> [symbolic = %I.type (constants.%I.type.e30)] +// CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table.82a, @C.as.I.impl.2f1(%T) [symbolic = %I.impl_witness (constants.%I.impl_witness.fbe)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type [symbolic = %require_complete (constants.%require_complete.8d5)] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type [symbolic = %require_complete (constants.%require_complete.c44)] // CHECK:STDOUT: -// CHECK:STDOUT: impl: imports.%Main.import_ref.c2ed2c.2 as imports.%Main.import_ref.bdd { +// CHECK:STDOUT: impl: imports.%Main.import_ref.f5a097.2 as imports.%Main.import_ref.123 { // CHECK:STDOUT: !members: -// CHECK:STDOUT: extend imports.%Main.import_ref.a3e -// CHECK:STDOUT: witness = imports.%Main.import_ref.f00 +// CHECK:STDOUT: extend imports.%Main.import_ref.431 +// CHECK:STDOUT: witness = imports.%Main.import_ref.72a // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.2c761b.1(%T.loc8_15.1: type) { +// CHECK:STDOUT: generic impl @C.as.I.impl.940604.1(%T.loc8_15.1: type) { // CHECK:STDOUT: %T.loc8_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc8_15.2 (constants.%T)] -// CHECK:STDOUT: %I.type.loc8_32.2: type = facet_type <@I, @I(%T.loc8_15.2)> [symbolic = %I.type.loc8_32.2 (constants.%I.type.e8e)] +// CHECK:STDOUT: %I.type.loc8_32.2: type = facet_type <@I, @I(%T.loc8_15.2)> [symbolic = %I.type.loc8_32.2 (constants.%I.type.50f)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %C.ref as %I.type.loc8_32.1; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.2c761b.2(%T.loc14_15.1: type) { +// CHECK:STDOUT: generic impl @C.as.I.impl.940604.2(%T.loc14_15.1: type) { // CHECK:STDOUT: %T.loc14_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc14_15.2 (constants.%T)] -// CHECK:STDOUT: %I.type.loc14_32.2: type = facet_type <@I, @I(%T.loc14_15.2)> [symbolic = %I.type.loc14_32.2 (constants.%I.type.e8e)] +// CHECK:STDOUT: %I.type.loc14_32.2: type = facet_type <@I, @I(%T.loc14_15.2)> [symbolic = %I.type.loc14_32.2 (constants.%I.type.50f)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -1369,18 +1369,18 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.1ae2ca.1(%T.loc20_15.1: type) { +// CHECK:STDOUT: generic impl @C.as.I.impl.a854de.1(%T.loc20_15.1: type) { // CHECK:STDOUT: %T.loc20_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc20_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc20_32.2: type = ptr_type %T.loc20_15.2 [symbolic = %ptr.loc20_32.2 (constants.%ptr)] -// CHECK:STDOUT: %I.type.loc20_33.2: type = facet_type <@I, @I(%ptr.loc20_32.2)> [symbolic = %I.type.loc20_33.2 (constants.%I.type.0aa)] +// CHECK:STDOUT: %I.type.loc20_33.2: type = facet_type <@I, @I(%ptr.loc20_32.2)> [symbolic = %I.type.loc20_33.2 (constants.%I.type.e30)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %C.ref as %I.type.loc20_33.1; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.1ae2ca.2(%T.loc26_15.1: type) { +// CHECK:STDOUT: generic impl @C.as.I.impl.a854de.2(%T.loc26_15.1: type) { // CHECK:STDOUT: %T.loc26_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc26_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc26_32.2: type = ptr_type %T.loc26_15.2 [symbolic = %ptr.loc26_32.2 (constants.%ptr)] -// CHECK:STDOUT: %I.type.loc26_33.2: type = facet_type <@I, @I(%ptr.loc26_32.2)> [symbolic = %I.type.loc26_33.2 (constants.%I.type.0aa)] +// CHECK:STDOUT: %I.type.loc26_33.2: type = facet_type <@I, @I(%ptr.loc26_32.2)> [symbolic = %I.type.loc26_33.2 (constants.%I.type.e30)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -1391,14 +1391,14 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.460cc1.1(%T.loc32_15.1: type) { +// CHECK:STDOUT: generic impl @C.as.I.impl.29284f.1(%T.loc32_15.1: type) { // CHECK:STDOUT: %T.loc32_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc32_15.2 (constants.%T)] // CHECK:STDOUT: %N.type.loc32_32.2: type = facet_type <@N, @N(%T.loc32_15.2)> [symbolic = %N.type.loc32_32.2 (constants.%N.type.d682d6.1)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %C.ref as %N.type.loc32_32.1; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.460cc1.2(%T.loc37_15.1: type) { +// CHECK:STDOUT: generic impl @C.as.I.impl.29284f.2(%T.loc37_15.1: type) { // CHECK:STDOUT: %T.loc37_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc37_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc37_32.2: type = ptr_type %T.loc37_15.2 [symbolic = %ptr.loc37_32.2 (constants.%ptr)] // CHECK:STDOUT: %N.type.loc37_33.2: type = facet_type <@N, @N(%ptr.loc37_32.2)> [symbolic = %N.type.loc37_33.2 (constants.%N.type.d682d6.2)] @@ -1410,62 +1410,62 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.95c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.e8e -// CHECK:STDOUT: %Self => constants.%Self.13d +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self => constants.%Self.501 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.13d) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.501) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.3cb(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.39c(constants.%T) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %I.type => constants.%I.type.e8e -// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.b96 +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.fbf // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%ptr) { // CHECK:STDOUT: %T => constants.%ptr // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.0aa -// CHECK:STDOUT: %Self => constants.%Self.df0 +// CHECK:STDOUT: %I.type => constants.%I.type.e30 +// CHECK:STDOUT: %Self => constants.%Self.baa // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.4e1(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.2f1(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %ptr => constants.%ptr -// CHECK:STDOUT: %I.type => constants.%I.type.0aa -// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.76d +// CHECK:STDOUT: %I.type => constants.%I.type.e30 +// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.fbe // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.2c761b.1(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.940604.1(constants.%T) { // CHECK:STDOUT: %T.loc8_15.2 => constants.%T -// CHECK:STDOUT: %I.type.loc8_32.2 => constants.%I.type.e8e +// CHECK:STDOUT: %I.type.loc8_32.2 => constants.%I.type.50f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.2c761b.2(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.940604.2(constants.%T) { // CHECK:STDOUT: %T.loc14_15.2 => constants.%T -// CHECK:STDOUT: %I.type.loc14_32.2 => constants.%I.type.e8e +// CHECK:STDOUT: %I.type.loc14_32.2 => constants.%I.type.50f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.1ae2ca.1(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.a854de.1(constants.%T) { // CHECK:STDOUT: %T.loc20_15.2 => constants.%T // CHECK:STDOUT: %ptr.loc20_32.2 => constants.%ptr -// CHECK:STDOUT: %I.type.loc20_33.2 => constants.%I.type.0aa +// CHECK:STDOUT: %I.type.loc20_33.2 => constants.%I.type.e30 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.1ae2ca.2(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.a854de.2(constants.%T) { // CHECK:STDOUT: %T.loc26_15.2 => constants.%T // CHECK:STDOUT: %ptr.loc26_32.2 => constants.%ptr -// CHECK:STDOUT: %I.type.loc26_33.2 => constants.%I.type.0aa +// CHECK:STDOUT: %I.type.loc26_33.2 => constants.%I.type.e30 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @N(constants.%T) { @@ -1479,14 +1479,14 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %N.type => constants.%N.type.d682d6.1 // CHECK:STDOUT: %Self => constants.%Self.e1f // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %I.type => constants.%I.type.e8e +// CHECK:STDOUT: %I.type => constants.%I.type.50f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @N.WithSelf(constants.%T, constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %I.type => constants.%I.type.e8e -// CHECK:STDOUT: %require_complete => constants.%require_complete.aba +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %require_complete => constants.%require_complete.df9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%C.type.facet) { @@ -1494,10 +1494,10 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %N.type => constants.%N.type.d682d6.1 // CHECK:STDOUT: %Self => constants.%C.type.facet // CHECK:STDOUT: %Self.as_type => constants.%C -// CHECK:STDOUT: %I.type => constants.%I.type.e8e +// CHECK:STDOUT: %I.type => constants.%I.type.50f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.460cc1.1(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.29284f.1(constants.%T) { // CHECK:STDOUT: %T.loc32_15.2 => constants.%T // CHECK:STDOUT: %N.type.loc32_32.2 => constants.%N.type.d682d6.1 // CHECK:STDOUT: } @@ -1509,8 +1509,8 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: specific @N.WithSelf(constants.%ptr, constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%ptr -// CHECK:STDOUT: %I.type => constants.%I.type.0aa -// CHECK:STDOUT: %require_complete => constants.%require_complete.8d5 +// CHECK:STDOUT: %I.type => constants.%I.type.e30 +// CHECK:STDOUT: %require_complete => constants.%require_complete.c44 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.I.type.require(constants.%ptr, constants.%C.type.facet) { @@ -1518,10 +1518,10 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %N.type => constants.%N.type.d682d6.2 // CHECK:STDOUT: %Self => constants.%C.type.facet // CHECK:STDOUT: %Self.as_type => constants.%C -// CHECK:STDOUT: %I.type => constants.%I.type.0aa +// CHECK:STDOUT: %I.type => constants.%I.type.e30 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.460cc1.2(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.29284f.2(constants.%T) { // CHECK:STDOUT: %T.loc37_15.2 => constants.%T // CHECK:STDOUT: %ptr.loc37_32.2 => constants.%ptr // CHECK:STDOUT: %N.type.loc37_33.2 => constants.%N.type.d682d6.2 @@ -1537,18 +1537,18 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.1f7: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.1f7 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.075: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.651: %I.type.075 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.626: %I.type.50f = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table, @C.as.I.impl(%T) [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.075 [symbolic] -// CHECK:STDOUT: %I.facet: %I.type.075 = facet_value %C, (%I.impl_witness) [symbolic] -// CHECK:STDOUT: %N.type.2ce: type = generic_named_constaint_type @N [concrete] -// CHECK:STDOUT: %empty_struct: %N.type.2ce = struct_value () [concrete] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.50f [symbolic] +// CHECK:STDOUT: %I.facet: %I.type.50f = facet_value %C, (%I.impl_witness) [symbolic] +// CHECK:STDOUT: %N.type.cef: type = generic_named_constaint_type @N [concrete] +// CHECK:STDOUT: %empty_struct: %N.type.cef = struct_value () [concrete] // CHECK:STDOUT: %N.type.d68: type = facet_type <@N, @N(%T)> [symbolic] -// CHECK:STDOUT: %Self.a0c: %N.type.d68 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.a0c [symbolic] +// CHECK:STDOUT: %Self.7f4: %N.type.d68 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.7f4 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1558,7 +1558,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: .N = %N.decl // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %I.decl: %I.type.1f7 = interface_decl @I [concrete = constants.%I.generic] { +// CHECK:STDOUT: %I.decl: %I.type.48c = interface_decl @I [concrete = constants.%I.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc5_17.1: type = splice_block %.loc5_17.2 [concrete = type] { @@ -1571,16 +1571,16 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %I.ref: %I.type.1f7 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc7_15.1 [symbolic = %T.loc7_15.2 (constants.%T)] -// CHECK:STDOUT: %I.type.loc7_32.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc7_32.2 (constants.%I.type.075)] +// CHECK:STDOUT: %I.type.loc7_32.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc7_32.2 (constants.%I.type.50f)] // CHECK:STDOUT: %.loc7_18.1: type = splice_block %.loc7_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc7_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc7_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc7_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.decl: %N.type.2ce = constraint_decl @N [concrete = constants.%empty_struct] { +// CHECK:STDOUT: %N.decl: %N.type.cef = constraint_decl @N [concrete = constants.%empty_struct] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc9_18.1: type = splice_block %.loc9_18.2 [concrete = type] { @@ -1595,11 +1595,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc5_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc5_14.1)> [symbolic = %I.type (constants.%I.type.075)] -// CHECK:STDOUT: %Self.loc5_23.2: @I.%I.type (%I.type.075) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.651)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc5_14.1)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self.loc5_23.2: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.626)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc5_23.1: @I.%I.type (%I.type.075) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.651)] +// CHECK:STDOUT: %Self.loc5_23.1: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.626)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1615,10 +1615,10 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %N.type: type = facet_type <@N, @N(%T.loc9_15.1)> [symbolic = %N.type (constants.%N.type.d68)] -// CHECK:STDOUT: %Self.loc9_24.2: @N.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc9_24.2 (constants.%Self.a0c)] +// CHECK:STDOUT: %Self.loc9_24.2: @N.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc9_24.2 (constants.%Self.7f4)] // CHECK:STDOUT: // CHECK:STDOUT: constraint { -// CHECK:STDOUT: %Self.loc9_24.1: @N.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc9_24.2 (constants.%Self.a0c)] +// CHECK:STDOUT: %Self.loc9_24.1: @N.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc9_24.2 (constants.%Self.7f4)] // CHECK:STDOUT: %N.WithSelf.decl = constraint_with_self_decl @N [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -1626,11 +1626,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: require %Self.as_type.loc10_18.1 impls %I.type.loc10_27.1 // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.as_type.loc10_18.1: type = facet_access_type @N.%Self.loc9_24.1 [symbolic = %Self.as_type.loc10_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %I.ref: %I.type.1f7 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, @N.%T.loc9_15.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %I.type.loc10_27.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc10_27.2 (constants.%I.type.075)] +// CHECK:STDOUT: %I.type.loc10_27.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc10_27.2 (constants.%I.type.50f)] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc10: type = specific_constant @N.WithSelf.Self.as_type.impls.I.type.require.%I.type.loc10_27.1, @N.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.a0c) [symbolic = %I.type (constants.%I.type.075)] +// CHECK:STDOUT: %.loc10: type = specific_constant @N.WithSelf.Self.as_type.impls.I.type.require.%I.type.loc10_27.1, @N.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.7f4) [symbolic = %I.type (constants.%I.type.50f)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc9_24.1 @@ -1650,14 +1650,14 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: generic require @N.WithSelf.Self.as_type.impls.I.type.require(@N.%T.loc9_15.2: type, @N.%Self.loc9_24.1: @N.%N.type (%N.type.d68)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %N.type: type = facet_type <@N, @N(%T)> [symbolic = %N.type (constants.%N.type.d68)] -// CHECK:STDOUT: %Self: @N.WithSelf.Self.as_type.impls.I.type.require.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.a0c)] +// CHECK:STDOUT: %Self: @N.WithSelf.Self.as_type.impls.I.type.require.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.7f4)] // CHECK:STDOUT: %Self.as_type.loc10_18.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc10_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %I.type.loc10_27.2: type = facet_type <@I, @I(%T)> [symbolic = %I.type.loc10_27.2 (constants.%I.type.075)] +// CHECK:STDOUT: %I.type.loc10_27.2: type = facet_type <@I, @I(%T)> [symbolic = %I.type.loc10_27.2 (constants.%I.type.50f)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(%T.loc7_15.1: type) { // CHECK:STDOUT: %T.loc7_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc7_15.2 (constants.%T)] -// CHECK:STDOUT: %I.type.loc7_32.2: type = facet_type <@I, @I(%T.loc7_15.2)> [symbolic = %I.type.loc7_32.2 (constants.%I.type.075)] +// CHECK:STDOUT: %I.type.loc7_32.2: type = facet_type <@I, @I(%T.loc7_15.2)> [symbolic = %I.type.loc7_32.2 (constants.%I.type.50f)] // CHECK:STDOUT: %I.impl_witness.loc7_34.2: = impl_witness %I.impl_witness_table, @C.as.I.impl(%T.loc7_15.2) [symbolic = %I.impl_witness.loc7_34.2 (constants.%I.impl_witness)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: @@ -1685,17 +1685,17 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc5_14.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.075 -// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.651 +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.626 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.651) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.626) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl(constants.%T) { // CHECK:STDOUT: %T.loc7_15.2 => constants.%T -// CHECK:STDOUT: %I.type.loc7_32.2 => constants.%I.type.075 +// CHECK:STDOUT: %I.type.loc7_32.2 => constants.%I.type.50f // CHECK:STDOUT: %I.impl_witness.loc7_34.2 => constants.%I.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1707,74 +1707,74 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc9_15.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf(constants.%T, constants.%Self.a0c) {} +// CHECK:STDOUT: specific @N.WithSelf(constants.%T, constants.%Self.7f4) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.a0c) { +// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.I.type.require(constants.%T, constants.%Self.7f4) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %N.type => constants.%N.type.d68 -// CHECK:STDOUT: %Self => constants.%Self.a0c +// CHECK:STDOUT: %Self => constants.%Self.7f4 // CHECK:STDOUT: %Self.as_type.loc10_18.2 => constants.%Self.as_type -// CHECK:STDOUT: %I.type.loc10_27.2 => constants.%I.type.075 +// CHECK:STDOUT: %I.type.loc10_27.2 => constants.%I.type.50f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_generic_with_different_specific.impl.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.1f7: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.1f7 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.075: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.698: %I.type.075 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.501: %I.type.50f = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %I.impl_witness.899: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl.707(%T) [symbolic] -// CHECK:STDOUT: %require_complete.02c: = require_complete_type %I.type.075 [symbolic] +// CHECK:STDOUT: %I.impl_witness.fbf: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl.39c(%T) [symbolic] +// CHECK:STDOUT: %require_complete.df9: = require_complete_type %I.type.50f [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T [symbolic] -// CHECK:STDOUT: %I.type.dab: type = facet_type <@I, @I(%ptr.e8f)> [symbolic] -// CHECK:STDOUT: %I.impl_witness.599: = impl_witness @C.as.I.impl.0b5.%I.impl_witness_table, @C.as.I.impl.0b5(%T) [symbolic] -// CHECK:STDOUT: %Self.30a: %I.type.dab = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %require_complete.780: = require_complete_type %I.type.dab [symbolic] -// CHECK:STDOUT: %I.facet.a81: %I.type.dab = facet_value %C, (%I.impl_witness.599) [symbolic] -// CHECK:STDOUT: %N.type.2ce: type = generic_named_constaint_type @N [concrete] -// CHECK:STDOUT: %empty_struct: %N.type.2ce = struct_value () [concrete] +// CHECK:STDOUT: %I.type.e30: type = facet_type <@I, @I(%ptr.e8f)> [symbolic] +// CHECK:STDOUT: %I.impl_witness.9c2: = impl_witness @C.as.I.impl.a85.%I.impl_witness_table, @C.as.I.impl.a85(%T) [symbolic] +// CHECK:STDOUT: %Self.baa: %I.type.e30 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %require_complete.c44: = require_complete_type %I.type.e30 [symbolic] +// CHECK:STDOUT: %I.facet.11a: %I.type.e30 = facet_value %C, (%I.impl_witness.9c2) [symbolic] +// CHECK:STDOUT: %N.type.cef: type = generic_named_constaint_type @N [concrete] +// CHECK:STDOUT: %empty_struct: %N.type.cef = struct_value () [concrete] // CHECK:STDOUT: %N.type.d682d6.1: type = facet_type <@N, @N(%T)> [symbolic] // CHECK:STDOUT: %Self.e1f642.1: %N.type.d682d6.1 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.e1f642.1 [symbolic] // CHECK:STDOUT: %ptr.125: type = ptr_type %ptr.e8f [symbolic] // CHECK:STDOUT: %N.type.d682d6.2: type = facet_type <@N, @N(%ptr.125)> [symbolic] // CHECK:STDOUT: %C.type.facet: %type = facet_value %C, () [concrete] -// CHECK:STDOUT: %I.type.5b4: type = facet_type <@I, @I(%ptr.125)> [symbolic] -// CHECK:STDOUT: %require_complete.217: = require_complete_type %I.type.5b4 [symbolic] -// CHECK:STDOUT: %I.impl_witness.823: = impl_witness @C.as.I.impl.a4e.%I.impl_witness_table, @C.as.I.impl.a4e(%T) [symbolic] +// CHECK:STDOUT: %I.type.695: type = facet_type <@I, @I(%ptr.125)> [symbolic] +// CHECK:STDOUT: %require_complete.65f: = require_complete_type %I.type.695 [symbolic] +// CHECK:STDOUT: %I.impl_witness.1e2: = impl_witness @C.as.I.impl.292.%I.impl_witness_table, @C.as.I.impl.292(%T) [symbolic] // CHECK:STDOUT: %Self.e1f642.2: %N.type.d682d6.2 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %require_complete.533: = require_complete_type %N.type.d682d6.2 [symbolic] -// CHECK:STDOUT: %I.facet.7b5: %I.type.5b4 = facet_value %C, (%I.impl_witness.823) [symbolic] +// CHECK:STDOUT: %I.facet.75b: %I.type.695 = facet_value %C, (%I.impl_witness.1e2) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//import_generic_with_different_specific, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.I: %I.type.1f7 = import_ref Main//import_generic_with_different_specific, I, loaded [concrete = constants.%I.generic] -// CHECK:STDOUT: %Main.N: %N.type.2ce = import_ref Main//import_generic_with_different_specific, N, loaded [concrete = constants.%empty_struct] -// CHECK:STDOUT: %Main.import_ref.03d = import_ref Main//import_generic_with_different_specific, loc5_23, unloaded +// CHECK:STDOUT: %Main.I: %I.type.48c = import_ref Main//import_generic_with_different_specific, I, loaded [concrete = constants.%I.generic] +// CHECK:STDOUT: %Main.N: %N.type.cef = import_ref Main//import_generic_with_different_specific, N, loaded [concrete = constants.%empty_struct] +// CHECK:STDOUT: %Main.import_ref.157 = import_ref Main//import_generic_with_different_specific, loc5_23, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//import_generic_with_different_specific, loc5_14, loaded [symbolic = @I.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.db3 = import_ref Main//import_generic_with_different_specific, loc7_34, unloaded +// CHECK:STDOUT: %Main.import_ref.65d = import_ref Main//import_generic_with_different_specific, loc7_34, unloaded // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//import_generic_with_different_specific, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.8e6 = import_ref Main//import_generic_with_different_specific, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.707 [concrete] -// CHECK:STDOUT: %Main.import_ref.f56: type = import_ref Main//import_generic_with_different_specific, loc7_24, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.61e0a9.1: type = import_ref Main//import_generic_with_different_specific, loc7_32, loaded [symbolic = @C.as.I.impl.707.%I.type (constants.%I.type.075)] -// CHECK:STDOUT: %Main.import_ref.905 = import_ref Main//import_generic_with_different_specific, loc7_32, unloaded -// CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//import_generic_with_different_specific, loc7_15, loaded [symbolic = @C.as.I.impl.707.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.6fd = import_ref Main//import_generic_with_different_specific, loc10_28, unloaded -// CHECK:STDOUT: %Main.import_ref.a33: type = import_ref Main//import_generic_with_different_specific, loc10_18, loaded [symbolic = @N.WithSelf.Self.as_type.impls.I.type.require.%Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %Main.import_ref.61e0a9.2: type = import_ref Main//import_generic_with_different_specific, loc10_27, loaded [symbolic = @N.WithSelf.Self.as_type.impls.I.type.require.%I.type (constants.%I.type.075)] +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//import_generic_with_different_specific, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.39c [concrete] +// CHECK:STDOUT: %Main.import_ref.f5a: type = import_ref Main//import_generic_with_different_specific, loc7_24, loaded [concrete = constants.%C] +// CHECK:STDOUT: %Main.import_ref.80834b.1: type = import_ref Main//import_generic_with_different_specific, loc7_32, loaded [symbolic = @C.as.I.impl.39c.%I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Main.import_ref.891 = import_ref Main//import_generic_with_different_specific, loc7_32, unloaded +// CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//import_generic_with_different_specific, loc7_15, loaded [symbolic = @C.as.I.impl.39c.%T (constants.%T)] +// CHECK:STDOUT: %Main.import_ref.db9 = import_ref Main//import_generic_with_different_specific, loc10_28, unloaded +// CHECK:STDOUT: %Main.import_ref.9e3: type = import_ref Main//import_generic_with_different_specific, loc10_18, loaded [symbolic = @N.WithSelf.Self.as_type.impls.I.type.require.%Self.as_type (constants.%Self.as_type)] +// CHECK:STDOUT: %Main.import_ref.80834b.2: type = import_ref Main//import_generic_with_different_specific, loc10_27, loaded [symbolic = @N.WithSelf.Self.as_type.impls.I.type.require.%I.type (constants.%I.type.50f)] // CHECK:STDOUT: %Main.import_ref.b3bc94.5: type = import_ref Main//import_generic_with_different_specific, loc9_15, loaded [symbolic = @N.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.e03ff5.2: @N.%N.type (%N.type.d682d6.1) = import_ref Main//import_generic_with_different_specific, loc9_24, loaded [symbolic = @N.%Self (constants.%Self.e1f642.1)] -// CHECK:STDOUT: %Main.import_ref.d17 = import_ref Main//import_generic_with_different_specific, loc9_24, unloaded +// CHECK:STDOUT: %Main.import_ref.f7be13.2: @N.%N.type (%N.type.d682d6.1) = import_ref Main//import_generic_with_different_specific, loc9_24, loaded [symbolic = @N.%Self (constants.%Self.e1f642.1)] +// CHECK:STDOUT: %Main.import_ref.7ea = import_ref Main//import_generic_with_different_specific, loc9_24, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.6: type = import_ref Main//import_generic_with_different_specific, loc9_15, loaded [symbolic = @N.%T (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1786,25 +1786,25 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: %default.import.loc1_54.1 = import // CHECK:STDOUT: %default.import.loc1_54.2 = import -// CHECK:STDOUT: impl_decl @C.as.I.impl.0b5 [concrete] { +// CHECK:STDOUT: impl_decl @C.as.I.impl.a85 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %I.ref: %I.type.1f7 = name_ref I, imports.%Main.I [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, imports.%Main.I [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc5_15.1 [symbolic = %T.loc5_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc5_32.1: type = ptr_type %T.ref [symbolic = %ptr.loc5_32.2 (constants.%ptr.e8f)] -// CHECK:STDOUT: %I.type.loc5_33.1: type = facet_type <@I, @I(constants.%ptr.e8f)> [symbolic = %I.type.loc5_33.2 (constants.%I.type.dab)] +// CHECK:STDOUT: %I.type.loc5_33.1: type = facet_type <@I, @I(constants.%ptr.e8f)> [symbolic = %I.type.loc5_33.2 (constants.%I.type.e30)] // CHECK:STDOUT: %.loc5_18.1: type = splice_block %.loc5_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc5_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc5_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc5_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.I.impl.a4e [concrete] { +// CHECK:STDOUT: impl_decl @C.as.I.impl.292 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %N.ref: %N.type.2ce = name_ref N, imports.%Main.N [concrete = constants.%empty_struct] +// CHECK:STDOUT: %N.ref: %N.type.cef = name_ref N, imports.%Main.N [concrete = constants.%empty_struct] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc6_15.1 [symbolic = %T.loc6_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc6_32.1: type = ptr_type %T.ref [symbolic = %ptr.loc6_32.2 (constants.%ptr.e8f)] // CHECK:STDOUT: %ptr.loc6_33.1: type = ptr_type %ptr.loc6_32.1 [symbolic = %ptr.loc6_33.2 (constants.%ptr.125)] @@ -1821,12 +1821,12 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.075)] -// CHECK:STDOUT: %Self: @I.%I.type (%I.type.075) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.698)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.501)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.03d +// CHECK:STDOUT: .Self = imports.%Main.import_ref.157 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -1842,51 +1842,51 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: // CHECK:STDOUT: constraint { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.d17 -// CHECK:STDOUT: extend imports.%Main.import_ref.6fd +// CHECK:STDOUT: .Self = imports.%Main.import_ref.7ea +// CHECK:STDOUT: extend imports.%Main.import_ref.db9 // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: @N.WithSelf.Self.as_type.impls.I.type.require { -// CHECK:STDOUT: require imports.%Main.import_ref.a33 impls imports.%Main.import_ref.61e0a9.2 +// CHECK:STDOUT: require imports.%Main.import_ref.9e3 impls imports.%Main.import_ref.80834b.2 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic require @N.WithSelf.Self.as_type.impls.I.type.require(imports.%Main.import_ref.b3bc94.5: type, imports.%Main.import_ref.e03ff5.2: @N.%N.type (%N.type.d682d6.1)) [from "import_generic_with_different_specific.carbon"] { +// CHECK:STDOUT: generic require @N.WithSelf.Self.as_type.impls.I.type.require(imports.%Main.import_ref.b3bc94.5: type, imports.%Main.import_ref.f7be13.2: @N.%N.type (%N.type.d682d6.1)) [from "import_generic_with_different_specific.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %N.type: type = facet_type <@N, @N(%T)> [symbolic = %N.type (constants.%N.type.d682d6.1)] // CHECK:STDOUT: %Self: @N.WithSelf.Self.as_type.impls.I.type.require.%N.type (%N.type.d682d6.1) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.e1f642.1)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.075)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.707(imports.%Main.import_ref.b3bc94.3: type) [from "import_generic_with_different_specific.carbon"] { +// CHECK:STDOUT: generic impl @C.as.I.impl.39c(imports.%Main.import_ref.b3bc94.3: type) [from "import_generic_with_different_specific.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.075)] -// CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl.707(%T) [symbolic = %I.impl_witness (constants.%I.impl_witness.899)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl.39c(%T) [symbolic = %I.impl_witness (constants.%I.impl_witness.fbf)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type [symbolic = %require_complete (constants.%require_complete.02c)] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type [symbolic = %require_complete (constants.%require_complete.df9)] // CHECK:STDOUT: -// CHECK:STDOUT: impl: imports.%Main.import_ref.f56 as imports.%Main.import_ref.61e0a9.1 { +// CHECK:STDOUT: impl: imports.%Main.import_ref.f5a as imports.%Main.import_ref.80834b.1 { // CHECK:STDOUT: !members: -// CHECK:STDOUT: extend imports.%Main.import_ref.905 -// CHECK:STDOUT: witness = imports.%Main.import_ref.db3 +// CHECK:STDOUT: extend imports.%Main.import_ref.891 +// CHECK:STDOUT: witness = imports.%Main.import_ref.65d // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.0b5(%T.loc5_15.1: type) { +// CHECK:STDOUT: generic impl @C.as.I.impl.a85(%T.loc5_15.1: type) { // CHECK:STDOUT: %T.loc5_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc5_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc5_32.2: type = ptr_type %T.loc5_15.2 [symbolic = %ptr.loc5_32.2 (constants.%ptr.e8f)] -// CHECK:STDOUT: %I.type.loc5_33.2: type = facet_type <@I, @I(%ptr.loc5_32.2)> [symbolic = %I.type.loc5_33.2 (constants.%I.type.dab)] -// CHECK:STDOUT: %I.impl_witness.loc5_35.2: = impl_witness %I.impl_witness_table, @C.as.I.impl.0b5(%T.loc5_15.2) [symbolic = %I.impl_witness.loc5_35.2 (constants.%I.impl_witness.599)] +// CHECK:STDOUT: %I.type.loc5_33.2: type = facet_type <@I, @I(%ptr.loc5_32.2)> [symbolic = %I.type.loc5_33.2 (constants.%I.type.e30)] +// CHECK:STDOUT: %I.impl_witness.loc5_35.2: = impl_witness %I.impl_witness_table, @C.as.I.impl.a85(%T.loc5_15.2) [symbolic = %I.impl_witness.loc5_35.2 (constants.%I.impl_witness.9c2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc5_33.2 [symbolic = %require_complete (constants.%require_complete.780)] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc5_33.2 [symbolic = %require_complete (constants.%require_complete.c44)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %C.ref as %I.type.loc5_33.1 { -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.0b5 [concrete] -// CHECK:STDOUT: %I.impl_witness.loc5_35.1: = impl_witness %I.impl_witness_table, @C.as.I.impl.0b5(constants.%T) [symbolic = %I.impl_witness.loc5_35.2 (constants.%I.impl_witness.599)] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.a85 [concrete] +// CHECK:STDOUT: %I.impl_witness.loc5_35.1: = impl_witness %I.impl_witness_table, @C.as.I.impl.a85(constants.%T) [symbolic = %I.impl_witness.loc5_35.2 (constants.%I.impl_witness.9c2)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %I.type.loc5_33.1 @@ -1894,19 +1894,19 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @C.as.I.impl.a4e(%T.loc6_15.1: type) { +// CHECK:STDOUT: generic impl @C.as.I.impl.292(%T.loc6_15.1: type) { // CHECK:STDOUT: %T.loc6_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc6_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc6_32.2: type = ptr_type %T.loc6_15.2 [symbolic = %ptr.loc6_32.2 (constants.%ptr.e8f)] // CHECK:STDOUT: %ptr.loc6_33.2: type = ptr_type %ptr.loc6_32.2 [symbolic = %ptr.loc6_33.2 (constants.%ptr.125)] // CHECK:STDOUT: %N.type.loc6_34.2: type = facet_type <@N, @N(%ptr.loc6_33.2)> [symbolic = %N.type.loc6_34.2 (constants.%N.type.d682d6.2)] -// CHECK:STDOUT: %I.impl_witness.loc6_36.2: = impl_witness %I.impl_witness_table, @C.as.I.impl.a4e(%T.loc6_15.2) [symbolic = %I.impl_witness.loc6_36.2 (constants.%I.impl_witness.823)] +// CHECK:STDOUT: %I.impl_witness.loc6_36.2: = impl_witness %I.impl_witness_table, @C.as.I.impl.292(%T.loc6_15.2) [symbolic = %I.impl_witness.loc6_36.2 (constants.%I.impl_witness.1e2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %N.type.loc6_34.2 [symbolic = %require_complete (constants.%require_complete.533)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %C.ref as %N.type.loc6_34.1 { -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.a4e [concrete] -// CHECK:STDOUT: %I.impl_witness.loc6_36.1: = impl_witness %I.impl_witness_table, @C.as.I.impl.a4e(constants.%T) [symbolic = %I.impl_witness.loc6_36.2 (constants.%I.impl_witness.823)] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C.as.I.impl.292 [concrete] +// CHECK:STDOUT: %I.impl_witness.loc6_36.1: = impl_witness %I.impl_witness_table, @C.as.I.impl.292(constants.%T) [symbolic = %I.impl_witness.loc6_36.2 (constants.%I.impl_witness.1e2)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %N.type.loc6_34.1 @@ -1918,47 +1918,47 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.8e6 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.075 -// CHECK:STDOUT: %Self => constants.%Self.698 +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self => constants.%Self.501 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.698) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.501) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.707(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.39c(constants.%T) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %I.type => constants.%I.type.075 -// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.899 +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.fbf // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%ptr.e8f) { // CHECK:STDOUT: %T => constants.%ptr.e8f // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.dab -// CHECK:STDOUT: %Self => constants.%Self.30a +// CHECK:STDOUT: %I.type => constants.%I.type.e30 +// CHECK:STDOUT: %Self => constants.%Self.baa // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.0b5(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.a85(constants.%T) { // CHECK:STDOUT: %T.loc5_15.2 => constants.%T // CHECK:STDOUT: %ptr.loc5_32.2 => constants.%ptr.e8f -// CHECK:STDOUT: %I.type.loc5_33.2 => constants.%I.type.dab -// CHECK:STDOUT: %I.impl_witness.loc5_35.2 => constants.%I.impl_witness.599 +// CHECK:STDOUT: %I.type.loc5_33.2 => constants.%I.type.e30 +// CHECK:STDOUT: %I.impl_witness.loc5_35.2 => constants.%I.impl_witness.9c2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%ptr.e8f, constants.%Self.698) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%ptr.e8f, constants.%Self.501) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%ptr.e8f, constants.%I.facet.a81) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%ptr.e8f, constants.%I.facet.11a) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1973,7 +1973,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %N.type => constants.%N.type.d682d6.1 // CHECK:STDOUT: %Self => constants.%Self.e1f642.1 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %I.type => constants.%I.type.075 +// CHECK:STDOUT: %I.type => constants.%I.type.50f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @N(constants.%ptr.125) { @@ -1987,8 +1987,8 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: specific @N.WithSelf(constants.%ptr.125, constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%ptr.125 -// CHECK:STDOUT: %I.type => constants.%I.type.5b4 -// CHECK:STDOUT: %require_complete => constants.%require_complete.217 +// CHECK:STDOUT: %I.type => constants.%I.type.695 +// CHECK:STDOUT: %require_complete => constants.%require_complete.65f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%ptr.125) { @@ -2000,25 +2000,25 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %N.type => constants.%N.type.d682d6.2 // CHECK:STDOUT: %Self => constants.%C.type.facet // CHECK:STDOUT: %Self.as_type => constants.%C -// CHECK:STDOUT: %I.type => constants.%I.type.5b4 +// CHECK:STDOUT: %I.type => constants.%I.type.695 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.as.I.impl.a4e(constants.%T) { +// CHECK:STDOUT: specific @C.as.I.impl.292(constants.%T) { // CHECK:STDOUT: %T.loc6_15.2 => constants.%T // CHECK:STDOUT: %ptr.loc6_32.2 => constants.%ptr.e8f // CHECK:STDOUT: %ptr.loc6_33.2 => constants.%ptr.125 // CHECK:STDOUT: %N.type.loc6_34.2 => constants.%N.type.d682d6.2 -// CHECK:STDOUT: %I.impl_witness.loc6_36.2 => constants.%I.impl_witness.823 +// CHECK:STDOUT: %I.impl_witness.loc6_36.2 => constants.%I.impl_witness.1e2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @N.WithSelf(constants.%ptr.125, constants.%Self.e1f642.1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%ptr.125 -// CHECK:STDOUT: %I.type => constants.%I.type.5b4 -// CHECK:STDOUT: %require_complete => constants.%require_complete.217 +// CHECK:STDOUT: %I.type => constants.%I.type.695 +// CHECK:STDOUT: %require_complete => constants.%require_complete.65f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%ptr.125, constants.%I.facet.7b5) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%ptr.125, constants.%I.facet.75b) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2032,19 +2032,19 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %J.type.c74: type = generic_interface_type @J [concrete] -// CHECK:STDOUT: %J.generic: %J.type.c74 = struct_value () [concrete] -// CHECK:STDOUT: %J.type.639: type = facet_type <@J, @J(%T)> [symbolic] -// CHECK:STDOUT: %Self.976: %J.type.639 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %N.type.3f4: type = generic_named_constaint_type @N [concrete] -// CHECK:STDOUT: %empty_struct: %N.type.3f4 = struct_value () [concrete] +// CHECK:STDOUT: %J.type.f45: type = generic_interface_type @J [concrete] +// CHECK:STDOUT: %J.generic: %J.type.f45 = struct_value () [concrete] +// CHECK:STDOUT: %J.type.9a7: type = facet_type <@J, @J(%T)> [symbolic] +// CHECK:STDOUT: %Self.b78: %J.type.9a7 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %N.type.cef: type = generic_named_constaint_type @N [concrete] +// CHECK:STDOUT: %empty_struct: %N.type.cef = struct_value () [concrete] // CHECK:STDOUT: %N.type.d68: type = facet_type <@N, @N(%T)> [symbolic] -// CHECK:STDOUT: %Self.7f5: %N.type.d68 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.7f5 [symbolic] -// CHECK:STDOUT: %J.impl_witness.dc4: = impl_witness @D.as.J.impl.e31.%J.impl_witness_table, @D.as.J.impl.e31(%T) [symbolic] +// CHECK:STDOUT: %Self.7f4: %N.type.d68 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.7f4 [symbolic] +// CHECK:STDOUT: %J.impl_witness.acc: = impl_witness @D.as.J.impl.e40.%J.impl_witness_table, @D.as.J.impl.e40(%T) [symbolic] // CHECK:STDOUT: %ptr: type = ptr_type %T [symbolic] -// CHECK:STDOUT: %J.type.81a: type = facet_type <@J, @J(%ptr)> [symbolic] -// CHECK:STDOUT: %J.impl_witness.bd0: = impl_witness @D.as.J.impl.271.%J.impl_witness_table, @D.as.J.impl.271(%T) [symbolic] +// CHECK:STDOUT: %J.type.a40: type = facet_type <@J, @J(%ptr)> [symbolic] +// CHECK:STDOUT: %J.impl_witness.aaa: = impl_witness @D.as.J.impl.165.%J.impl_witness_table, @D.as.J.impl.165(%T) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -2054,7 +2054,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: .N = %N.decl // CHECK:STDOUT: } // CHECK:STDOUT: %D.decl: type = class_decl @D [concrete = constants.%D] {} {} -// CHECK:STDOUT: %J.decl: %J.type.c74 = interface_decl @J [concrete = constants.%J.generic] { +// CHECK:STDOUT: %J.decl: %J.type.f45 = interface_decl @J [concrete = constants.%J.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc5_17.1: type = splice_block %.loc5_17.2 [concrete = type] { @@ -2063,7 +2063,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc5_14.2: type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.decl: %N.type.3f4 = constraint_decl @N [concrete = constants.%empty_struct] { +// CHECK:STDOUT: %N.decl: %N.type.cef = constraint_decl @N [concrete = constants.%empty_struct] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7_18.1: type = splice_block %.loc7_18.2 [concrete = type] { @@ -2072,27 +2072,27 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc7_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc7_15.1 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @D.as.J.impl.e31 [concrete] { +// CHECK:STDOUT: impl_decl @D.as.J.impl.e40 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %J.ref: %J.type.c74 = name_ref J, file.%J.decl [concrete = constants.%J.generic] +// CHECK:STDOUT: %J.ref: %J.type.f45 = name_ref J, file.%J.decl [concrete = constants.%J.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc15_15.1 [symbolic = %T.loc15_15.2 (constants.%T)] -// CHECK:STDOUT: %J.type.loc15_32.1: type = facet_type <@J, @J(constants.%T)> [symbolic = %J.type.loc15_32.2 (constants.%J.type.639)] +// CHECK:STDOUT: %J.type.loc15_32.1: type = facet_type <@J, @J(constants.%T)> [symbolic = %J.type.loc15_32.2 (constants.%J.type.9a7)] // CHECK:STDOUT: %.loc15_18.1: type = splice_block %.loc15_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc15_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc15_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc15_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @D.as.J.impl.271 [concrete] { +// CHECK:STDOUT: impl_decl @D.as.J.impl.165 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %J.ref: %J.type.c74 = name_ref J, file.%J.decl [concrete = constants.%J.generic] +// CHECK:STDOUT: %J.ref: %J.type.f45 = name_ref J, file.%J.decl [concrete = constants.%J.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc21_15.1 [symbolic = %T.loc21_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc21_32.1: type = ptr_type %T.ref [symbolic = %ptr.loc21_32.2 (constants.%ptr)] -// CHECK:STDOUT: %J.type.loc21_33.1: type = facet_type <@J, @J(constants.%ptr)> [symbolic = %J.type.loc21_33.2 (constants.%J.type.81a)] +// CHECK:STDOUT: %J.type.loc21_33.1: type = facet_type <@J, @J(constants.%ptr)> [symbolic = %J.type.loc21_33.2 (constants.%J.type.a40)] // CHECK:STDOUT: %.loc21_18.1: type = splice_block %.loc21_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc21_18.2: type = type_literal type [concrete = type] @@ -2105,11 +2105,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc5_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T.loc5_14.1)> [symbolic = %J.type (constants.%J.type.639)] -// CHECK:STDOUT: %Self.loc5_23.2: @J.%J.type (%J.type.639) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.976)] +// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T.loc5_14.1)> [symbolic = %J.type (constants.%J.type.9a7)] +// CHECK:STDOUT: %Self.loc5_23.2: @J.%J.type (%J.type.9a7) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.b78)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc5_23.1: @J.%J.type (%J.type.639) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.976)] +// CHECK:STDOUT: %Self.loc5_23.1: @J.%J.type (%J.type.9a7) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.b78)] // CHECK:STDOUT: %J.WithSelf.decl = interface_with_self_decl @J [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -2125,10 +2125,10 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %N.type: type = facet_type <@N, @N(%T.loc7_15.1)> [symbolic = %N.type (constants.%N.type.d68)] -// CHECK:STDOUT: %Self.loc7_24.2: @N.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc7_24.2 (constants.%Self.7f5)] +// CHECK:STDOUT: %Self.loc7_24.2: @N.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc7_24.2 (constants.%Self.7f4)] // CHECK:STDOUT: // CHECK:STDOUT: constraint { -// CHECK:STDOUT: %Self.loc7_24.1: @N.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc7_24.2 (constants.%Self.7f5)] +// CHECK:STDOUT: %Self.loc7_24.1: @N.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc7_24.2 (constants.%Self.7f4)] // CHECK:STDOUT: %N.WithSelf.decl = constraint_with_self_decl @N [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -2136,11 +2136,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: require %Self.as_type.loc8_18.1 impls %J.type.loc8_27.1 // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.as_type.loc8_18.1: type = facet_access_type @N.%Self.loc7_24.1 [symbolic = %Self.as_type.loc8_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %J.ref: %J.type.c74 = name_ref J, file.%J.decl [concrete = constants.%J.generic] +// CHECK:STDOUT: %J.ref: %J.type.f45 = name_ref J, file.%J.decl [concrete = constants.%J.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, @N.%T.loc7_15.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %J.type.loc8_27.1: type = facet_type <@J, @J(constants.%T)> [symbolic = %J.type.loc8_27.2 (constants.%J.type.639)] +// CHECK:STDOUT: %J.type.loc8_27.1: type = facet_type <@J, @J(constants.%T)> [symbolic = %J.type.loc8_27.2 (constants.%J.type.9a7)] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc8: type = specific_constant @N.WithSelf.Self.as_type.impls.J.type.require.%J.type.loc8_27.1, @N.WithSelf.Self.as_type.impls.J.type.require(constants.%T, constants.%Self.7f5) [symbolic = %J.type (constants.%J.type.639)] +// CHECK:STDOUT: %.loc8: type = specific_constant @N.WithSelf.Self.as_type.impls.J.type.require.%J.type.loc8_27.1, @N.WithSelf.Self.as_type.impls.J.type.require(constants.%T, constants.%Self.7f4) [symbolic = %J.type (constants.%J.type.9a7)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc7_24.1 @@ -2160,24 +2160,24 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: generic require @N.WithSelf.Self.as_type.impls.J.type.require(@N.%T.loc7_15.2: type, @N.%Self.loc7_24.1: @N.%N.type (%N.type.d68)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %N.type: type = facet_type <@N, @N(%T)> [symbolic = %N.type (constants.%N.type.d68)] -// CHECK:STDOUT: %Self: @N.WithSelf.Self.as_type.impls.J.type.require.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.7f5)] +// CHECK:STDOUT: %Self: @N.WithSelf.Self.as_type.impls.J.type.require.%N.type (%N.type.d68) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.7f4)] // CHECK:STDOUT: %Self.as_type.loc8_18.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc8_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %J.type.loc8_27.2: type = facet_type <@J, @J(%T)> [symbolic = %J.type.loc8_27.2 (constants.%J.type.639)] +// CHECK:STDOUT: %J.type.loc8_27.2: type = facet_type <@J, @J(%T)> [symbolic = %J.type.loc8_27.2 (constants.%J.type.9a7)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @D.as.J.impl.e31(%T.loc15_15.1: type) { +// CHECK:STDOUT: generic impl @D.as.J.impl.e40(%T.loc15_15.1: type) { // CHECK:STDOUT: %T.loc15_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc15_15.2 (constants.%T)] -// CHECK:STDOUT: %J.type.loc15_32.2: type = facet_type <@J, @J(%T.loc15_15.2)> [symbolic = %J.type.loc15_32.2 (constants.%J.type.639)] -// CHECK:STDOUT: %J.impl_witness.loc15_33.2: = impl_witness %J.impl_witness_table, @D.as.J.impl.e31(%T.loc15_15.2) [symbolic = %J.impl_witness.loc15_33.2 (constants.%J.impl_witness.dc4)] +// CHECK:STDOUT: %J.type.loc15_32.2: type = facet_type <@J, @J(%T.loc15_15.2)> [symbolic = %J.type.loc15_32.2 (constants.%J.type.9a7)] +// CHECK:STDOUT: %J.impl_witness.loc15_33.2: = impl_witness %J.impl_witness_table, @D.as.J.impl.e40(%T.loc15_15.2) [symbolic = %J.impl_witness.loc15_33.2 (constants.%J.impl_witness.acc)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %D.ref as %J.type.loc15_32.1; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @D.as.J.impl.271(%T.loc21_15.1: type) { +// CHECK:STDOUT: generic impl @D.as.J.impl.165(%T.loc21_15.1: type) { // CHECK:STDOUT: %T.loc21_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc21_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc21_32.2: type = ptr_type %T.loc21_15.2 [symbolic = %ptr.loc21_32.2 (constants.%ptr)] -// CHECK:STDOUT: %J.type.loc21_33.2: type = facet_type <@J, @J(%ptr.loc21_32.2)> [symbolic = %J.type.loc21_33.2 (constants.%J.type.81a)] -// CHECK:STDOUT: %J.impl_witness.loc21_34.2: = impl_witness %J.impl_witness_table, @D.as.J.impl.271(%T.loc21_15.2) [symbolic = %J.impl_witness.loc21_34.2 (constants.%J.impl_witness.bd0)] +// CHECK:STDOUT: %J.type.loc21_33.2: type = facet_type <@J, @J(%ptr.loc21_32.2)> [symbolic = %J.type.loc21_33.2 (constants.%J.type.a40)] +// CHECK:STDOUT: %J.impl_witness.loc21_34.2: = impl_witness %J.impl_witness_table, @D.as.J.impl.165(%T.loc21_15.2) [symbolic = %J.impl_witness.loc21_34.2 (constants.%J.impl_witness.aaa)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %D.ref as %J.type.loc21_33.1; // CHECK:STDOUT: } @@ -2194,11 +2194,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc5_14.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %J.type => constants.%J.type.639 -// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.976 +// CHECK:STDOUT: %J.type => constants.%J.type.9a7 +// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.b78 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%T, constants.%Self.976) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%T, constants.%Self.b78) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2206,84 +2206,84 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T.loc7_15.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf(constants.%T, constants.%Self.7f5) {} +// CHECK:STDOUT: specific @N.WithSelf(constants.%T, constants.%Self.7f4) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.J.type.require(constants.%T, constants.%Self.7f5) { +// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.J.type.require(constants.%T, constants.%Self.7f4) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %N.type => constants.%N.type.d68 -// CHECK:STDOUT: %Self => constants.%Self.7f5 +// CHECK:STDOUT: %Self => constants.%Self.7f4 // CHECK:STDOUT: %Self.as_type.loc8_18.2 => constants.%Self.as_type -// CHECK:STDOUT: %J.type.loc8_27.2 => constants.%J.type.639 +// CHECK:STDOUT: %J.type.loc8_27.2 => constants.%J.type.9a7 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @D.as.J.impl.e31(constants.%T) { +// CHECK:STDOUT: specific @D.as.J.impl.e40(constants.%T) { // CHECK:STDOUT: %T.loc15_15.2 => constants.%T -// CHECK:STDOUT: %J.type.loc15_32.2 => constants.%J.type.639 -// CHECK:STDOUT: %J.impl_witness.loc15_33.2 => constants.%J.impl_witness.dc4 +// CHECK:STDOUT: %J.type.loc15_32.2 => constants.%J.type.9a7 +// CHECK:STDOUT: %J.impl_witness.loc15_33.2 => constants.%J.impl_witness.acc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J(constants.%ptr) { // CHECK:STDOUT: %T.loc5_14.1 => constants.%ptr // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @D.as.J.impl.271(constants.%T) { +// CHECK:STDOUT: specific @D.as.J.impl.165(constants.%T) { // CHECK:STDOUT: %T.loc21_15.2 => constants.%T // CHECK:STDOUT: %ptr.loc21_32.2 => constants.%ptr -// CHECK:STDOUT: %J.type.loc21_33.2 => constants.%J.type.81a -// CHECK:STDOUT: %J.impl_witness.loc21_34.2 => constants.%J.impl_witness.bd0 +// CHECK:STDOUT: %J.type.loc21_33.2 => constants.%J.type.a40 +// CHECK:STDOUT: %J.impl_witness.loc21_34.2 => constants.%J.impl_witness.aaa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_import_generic_decl.impl.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %J.type.c74: type = generic_interface_type @J [concrete] -// CHECK:STDOUT: %J.generic: %J.type.c74 = struct_value () [concrete] -// CHECK:STDOUT: %J.type.639: type = facet_type <@J, @J(%T)> [symbolic] -// CHECK:STDOUT: %Self.ea1: %J.type.639 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %J.type.f45: type = generic_interface_type @J [concrete] +// CHECK:STDOUT: %J.generic: %J.type.f45 = struct_value () [concrete] +// CHECK:STDOUT: %J.type.9a7: type = facet_type <@J, @J(%T)> [symbolic] +// CHECK:STDOUT: %Self.3f4: %J.type.9a7 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %J.impl_witness.b0f: = impl_witness imports.%J.impl_witness_table.d0e, @D.as.J.impl.709(%T) [symbolic] +// CHECK:STDOUT: %J.impl_witness.52d: = impl_witness imports.%J.impl_witness_table.f0e, @D.as.J.impl.a9a(%T) [symbolic] // CHECK:STDOUT: %ptr: type = ptr_type %T [symbolic] -// CHECK:STDOUT: %J.type.81a: type = facet_type <@J, @J(%ptr)> [symbolic] -// CHECK:STDOUT: %J.impl_witness.85e: = impl_witness imports.%J.impl_witness_table.ec5, @D.as.J.impl.ff2(%T) [symbolic] +// CHECK:STDOUT: %J.type.a40: type = facet_type <@J, @J(%ptr)> [symbolic] +// CHECK:STDOUT: %J.impl_witness.a9a: = impl_witness imports.%J.impl_witness_table.985, @D.as.J.impl.741(%T) [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %N.type.3f4: type = generic_named_constaint_type @N [concrete] -// CHECK:STDOUT: %empty_struct: %N.type.3f4 = struct_value () [concrete] +// CHECK:STDOUT: %N.type.cef: type = generic_named_constaint_type @N [concrete] +// CHECK:STDOUT: %empty_struct: %N.type.cef = struct_value () [concrete] // CHECK:STDOUT: %N.type.d682d6.1: type = facet_type <@N, @N(%T)> [symbolic] // CHECK:STDOUT: %Self.e1f: %N.type.d682d6.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %require_complete.455: = require_complete_type %J.type.639 [symbolic] +// CHECK:STDOUT: %require_complete.230: = require_complete_type %J.type.9a7 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.e1f [symbolic] // CHECK:STDOUT: %D.type.facet: %type = facet_value %D, () [concrete] // CHECK:STDOUT: %N.type.d682d6.2: type = facet_type <@N, @N(%ptr)> [symbolic] -// CHECK:STDOUT: %require_complete.c82: = require_complete_type %J.type.81a [symbolic] +// CHECK:STDOUT: %require_complete.5bf: = require_complete_type %J.type.a40 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.D: type = import_ref Main//import_generic_decl, D, loaded [concrete = constants.%D] -// CHECK:STDOUT: %Main.J: %J.type.c74 = import_ref Main//import_generic_decl, J, loaded [concrete = constants.%J.generic] -// CHECK:STDOUT: %Main.N: %N.type.3f4 = import_ref Main//import_generic_decl, N, loaded [concrete = constants.%empty_struct] -// CHECK:STDOUT: %Main.import_ref.c4b = import_ref Main//import_generic_decl, loc5_23, unloaded +// CHECK:STDOUT: %Main.J: %J.type.f45 = import_ref Main//import_generic_decl, J, loaded [concrete = constants.%J.generic] +// CHECK:STDOUT: %Main.N: %N.type.cef = import_ref Main//import_generic_decl, N, loaded [concrete = constants.%empty_struct] +// CHECK:STDOUT: %Main.import_ref.8fe = import_ref Main//import_generic_decl, loc5_23, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//import_generic_decl, loc5_14, loaded [symbolic = @J.%T (constants.%T)] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//import_generic_decl, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.840 = import_ref Main//import_generic_decl, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %J.impl_witness_table.d0e = impl_witness_table (), @D.as.J.impl.709 [concrete] -// CHECK:STDOUT: %Main.import_ref.20ce22.1: type = import_ref Main//import_generic_decl, loc15_24, loaded [concrete = constants.%D] -// CHECK:STDOUT: %Main.import_ref.4aaeeb.1: type = import_ref Main//import_generic_decl, loc15_32, loaded [symbolic = @D.as.J.impl.709.%J.type (constants.%J.type.639)] -// CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//import_generic_decl, loc15_15, loaded [symbolic = @D.as.J.impl.709.%T (constants.%T)] -// CHECK:STDOUT: %J.impl_witness_table.ec5 = impl_witness_table (), @D.as.J.impl.ff2 [concrete] -// CHECK:STDOUT: %Main.import_ref.20ce22.2: type = import_ref Main//import_generic_decl, loc21_24, loaded [concrete = constants.%D] -// CHECK:STDOUT: %Main.import_ref.66d: type = import_ref Main//import_generic_decl, loc21_33, loaded [symbolic = @D.as.J.impl.ff2.%J.type (constants.%J.type.81a)] -// CHECK:STDOUT: %Main.import_ref.b3bc94.4: type = import_ref Main//import_generic_decl, loc21_15, loaded [symbolic = @D.as.J.impl.ff2.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.e34 = import_ref Main//import_generic_decl, loc8_28, unloaded -// CHECK:STDOUT: %Main.import_ref.2ee: type = import_ref Main//import_generic_decl, loc8_18, loaded [symbolic = @N.WithSelf.Self.as_type.impls.J.type.require.%Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %Main.import_ref.4aaeeb.2: type = import_ref Main//import_generic_decl, loc8_27, loaded [symbolic = @N.WithSelf.Self.as_type.impls.J.type.require.%J.type (constants.%J.type.639)] +// CHECK:STDOUT: %Main.import_ref.c42 = import_ref Main//import_generic_decl, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %J.impl_witness_table.f0e = impl_witness_table (), @D.as.J.impl.a9a [concrete] +// CHECK:STDOUT: %Main.import_ref.a45035.1: type = import_ref Main//import_generic_decl, loc15_24, loaded [concrete = constants.%D] +// CHECK:STDOUT: %Main.import_ref.28f418.1: type = import_ref Main//import_generic_decl, loc15_32, loaded [symbolic = @D.as.J.impl.a9a.%J.type (constants.%J.type.9a7)] +// CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//import_generic_decl, loc15_15, loaded [symbolic = @D.as.J.impl.a9a.%T (constants.%T)] +// CHECK:STDOUT: %J.impl_witness_table.985 = impl_witness_table (), @D.as.J.impl.741 [concrete] +// CHECK:STDOUT: %Main.import_ref.a45035.2: type = import_ref Main//import_generic_decl, loc21_24, loaded [concrete = constants.%D] +// CHECK:STDOUT: %Main.import_ref.f32: type = import_ref Main//import_generic_decl, loc21_33, loaded [symbolic = @D.as.J.impl.741.%J.type (constants.%J.type.a40)] +// CHECK:STDOUT: %Main.import_ref.b3bc94.4: type = import_ref Main//import_generic_decl, loc21_15, loaded [symbolic = @D.as.J.impl.741.%T (constants.%T)] +// CHECK:STDOUT: %Main.import_ref.289 = import_ref Main//import_generic_decl, loc8_28, unloaded +// CHECK:STDOUT: %Main.import_ref.9e3: type = import_ref Main//import_generic_decl, loc8_18, loaded [symbolic = @N.WithSelf.Self.as_type.impls.J.type.require.%Self.as_type (constants.%Self.as_type)] +// CHECK:STDOUT: %Main.import_ref.28f418.2: type = import_ref Main//import_generic_decl, loc8_27, loaded [symbolic = @N.WithSelf.Self.as_type.impls.J.type.require.%J.type (constants.%J.type.9a7)] // CHECK:STDOUT: %Main.import_ref.b3bc94.6: type = import_ref Main//import_generic_decl, loc7_15, loaded [symbolic = @N.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.e27d0f.2: @N.%N.type (%N.type.d682d6.1) = import_ref Main//import_generic_decl, loc7_24, loaded [symbolic = @N.%Self (constants.%Self.e1f)] -// CHECK:STDOUT: %Main.import_ref.186 = import_ref Main//import_generic_decl, loc7_24, unloaded +// CHECK:STDOUT: %Main.import_ref.f7be13.2: @N.%N.type (%N.type.d682d6.1) = import_ref Main//import_generic_decl, loc7_24, loaded [symbolic = @N.%Self (constants.%Self.e1f)] +// CHECK:STDOUT: %Main.import_ref.7ea = import_ref Main//import_generic_decl, loc7_24, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.7: type = import_ref Main//import_generic_decl, loc7_15, loaded [symbolic = @N.%T (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2295,65 +2295,65 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: %default.import.loc2_35.1 = import // CHECK:STDOUT: %default.import.loc2_35.2 = import -// CHECK:STDOUT: impl_decl @D.as.J.impl.e3141a.1 [concrete] { +// CHECK:STDOUT: impl_decl @D.as.J.impl.e4062e.1 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%D] -// CHECK:STDOUT: %J.ref: %J.type.c74 = name_ref J, imports.%Main.J [concrete = constants.%J.generic] +// CHECK:STDOUT: %J.ref: %J.type.f45 = name_ref J, imports.%Main.J [concrete = constants.%J.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc8_15.1 [symbolic = %T.loc8_15.2 (constants.%T)] -// CHECK:STDOUT: %J.type.loc8_32.1: type = facet_type <@J, @J(constants.%T)> [symbolic = %J.type.loc8_32.2 (constants.%J.type.639)] +// CHECK:STDOUT: %J.type.loc8_32.1: type = facet_type <@J, @J(constants.%T)> [symbolic = %J.type.loc8_32.2 (constants.%J.type.9a7)] // CHECK:STDOUT: %.loc8_18.1: type = splice_block %.loc8_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc8_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc8_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @D.as.J.impl.e3141a.2 [concrete] { +// CHECK:STDOUT: impl_decl @D.as.J.impl.e4062e.2 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%D] -// CHECK:STDOUT: %J.ref: %J.type.c74 = name_ref J, imports.%Main.J [concrete = constants.%J.generic] +// CHECK:STDOUT: %J.ref: %J.type.f45 = name_ref J, imports.%Main.J [concrete = constants.%J.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc14_15.1 [symbolic = %T.loc14_15.2 (constants.%T)] -// CHECK:STDOUT: %J.type.loc14_32.1: type = facet_type <@J, @J(constants.%T)> [symbolic = %J.type.loc14_32.2 (constants.%J.type.639)] +// CHECK:STDOUT: %J.type.loc14_32.1: type = facet_type <@J, @J(constants.%T)> [symbolic = %J.type.loc14_32.2 (constants.%J.type.9a7)] // CHECK:STDOUT: %.loc14_18.1: type = splice_block %.loc14_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc14_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc14_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc14_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @D.as.J.impl.271c5b.1 [concrete] { +// CHECK:STDOUT: impl_decl @D.as.J.impl.165339.1 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%D] -// CHECK:STDOUT: %J.ref: %J.type.c74 = name_ref J, imports.%Main.J [concrete = constants.%J.generic] +// CHECK:STDOUT: %J.ref: %J.type.f45 = name_ref J, imports.%Main.J [concrete = constants.%J.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc20_15.1 [symbolic = %T.loc20_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc20_32.1: type = ptr_type %T.ref [symbolic = %ptr.loc20_32.2 (constants.%ptr)] -// CHECK:STDOUT: %J.type.loc20_33.1: type = facet_type <@J, @J(constants.%ptr)> [symbolic = %J.type.loc20_33.2 (constants.%J.type.81a)] +// CHECK:STDOUT: %J.type.loc20_33.1: type = facet_type <@J, @J(constants.%ptr)> [symbolic = %J.type.loc20_33.2 (constants.%J.type.a40)] // CHECK:STDOUT: %.loc20_18.1: type = splice_block %.loc20_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc20_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc20_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc20_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @D.as.J.impl.271c5b.2 [concrete] { +// CHECK:STDOUT: impl_decl @D.as.J.impl.165339.2 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%D] -// CHECK:STDOUT: %J.ref: %J.type.c74 = name_ref J, imports.%Main.J [concrete = constants.%J.generic] +// CHECK:STDOUT: %J.ref: %J.type.f45 = name_ref J, imports.%Main.J [concrete = constants.%J.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc26_15.1 [symbolic = %T.loc26_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc26_32.1: type = ptr_type %T.ref [symbolic = %ptr.loc26_32.2 (constants.%ptr)] -// CHECK:STDOUT: %J.type.loc26_33.1: type = facet_type <@J, @J(constants.%ptr)> [symbolic = %J.type.loc26_33.2 (constants.%J.type.81a)] +// CHECK:STDOUT: %J.type.loc26_33.1: type = facet_type <@J, @J(constants.%ptr)> [symbolic = %J.type.loc26_33.2 (constants.%J.type.a40)] // CHECK:STDOUT: %.loc26_18.1: type = splice_block %.loc26_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc26_18.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc26_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc26_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @D.as.J.impl.c85ff1.1 [concrete] { +// CHECK:STDOUT: impl_decl @D.as.J.impl.df021b.1 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%D] -// CHECK:STDOUT: %N.ref: %N.type.3f4 = name_ref N, imports.%Main.N [concrete = constants.%empty_struct] +// CHECK:STDOUT: %N.ref: %N.type.cef = name_ref N, imports.%Main.N [concrete = constants.%empty_struct] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc32_15.1 [symbolic = %T.loc32_15.2 (constants.%T)] // CHECK:STDOUT: %N.type.loc32_32.1: type = facet_type <@N, @N(constants.%T)> [symbolic = %N.type.loc32_32.2 (constants.%N.type.d682d6.1)] // CHECK:STDOUT: %.loc32_18.1: type = splice_block %.loc32_18.2 [concrete = type] { @@ -2362,11 +2362,11 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc32_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc32_15.2 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @D.as.J.impl.c85ff1.2 [concrete] { +// CHECK:STDOUT: impl_decl @D.as.J.impl.df021b.2 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%D] -// CHECK:STDOUT: %N.ref: %N.type.3f4 = name_ref N, imports.%Main.N [concrete = constants.%empty_struct] +// CHECK:STDOUT: %N.ref: %N.type.cef = name_ref N, imports.%Main.N [concrete = constants.%empty_struct] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc38_15.1 [symbolic = %T.loc38_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc38_32.1: type = ptr_type %T.ref [symbolic = %ptr.loc38_32.2 (constants.%ptr)] // CHECK:STDOUT: %N.type.loc38_33.1: type = facet_type <@N, @N(constants.%ptr)> [symbolic = %N.type.loc38_33.2 (constants.%N.type.d682d6.2)] @@ -2382,12 +2382,12 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.639)] -// CHECK:STDOUT: %Self: @J.%J.type (%J.type.639) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.ea1)] +// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.9a7)] +// CHECK:STDOUT: %Self: @J.%J.type (%J.type.9a7) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.3f4)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.c4b +// CHECK:STDOUT: .Self = imports.%Main.import_ref.8fe // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -2403,51 +2403,51 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: // CHECK:STDOUT: constraint { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.186 -// CHECK:STDOUT: extend imports.%Main.import_ref.e34 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.7ea +// CHECK:STDOUT: extend imports.%Main.import_ref.289 // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: @N.WithSelf.Self.as_type.impls.J.type.require { -// CHECK:STDOUT: require imports.%Main.import_ref.2ee impls imports.%Main.import_ref.4aaeeb.2 +// CHECK:STDOUT: require imports.%Main.import_ref.9e3 impls imports.%Main.import_ref.28f418.2 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic require @N.WithSelf.Self.as_type.impls.J.type.require(imports.%Main.import_ref.b3bc94.6: type, imports.%Main.import_ref.e27d0f.2: @N.%N.type (%N.type.d682d6.1)) [from "fail_import_generic_decl.carbon"] { +// CHECK:STDOUT: generic require @N.WithSelf.Self.as_type.impls.J.type.require(imports.%Main.import_ref.b3bc94.6: type, imports.%Main.import_ref.f7be13.2: @N.%N.type (%N.type.d682d6.1)) [from "fail_import_generic_decl.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %N.type: type = facet_type <@N, @N(%T)> [symbolic = %N.type (constants.%N.type.d682d6.1)] // CHECK:STDOUT: %Self: @N.WithSelf.Self.as_type.impls.J.type.require.%N.type (%N.type.d682d6.1) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.e1f)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.639)] +// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.9a7)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @D.as.J.impl.709(imports.%Main.import_ref.b3bc94.3: type) [from "fail_import_generic_decl.carbon"] { +// CHECK:STDOUT: generic impl @D.as.J.impl.a9a(imports.%Main.import_ref.b3bc94.3: type) [from "fail_import_generic_decl.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.639)] -// CHECK:STDOUT: %J.impl_witness: = impl_witness imports.%J.impl_witness_table.d0e, @D.as.J.impl.709(%T) [symbolic = %J.impl_witness (constants.%J.impl_witness.b0f)] +// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%T)> [symbolic = %J.type (constants.%J.type.9a7)] +// CHECK:STDOUT: %J.impl_witness: = impl_witness imports.%J.impl_witness_table.f0e, @D.as.J.impl.a9a(%T) [symbolic = %J.impl_witness (constants.%J.impl_witness.52d)] // CHECK:STDOUT: -// CHECK:STDOUT: impl: imports.%Main.import_ref.20ce22.1 as imports.%Main.import_ref.4aaeeb.1; +// CHECK:STDOUT: impl: imports.%Main.import_ref.a45035.1 as imports.%Main.import_ref.28f418.1; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @D.as.J.impl.ff2(imports.%Main.import_ref.b3bc94.4: type) [from "fail_import_generic_decl.carbon"] { +// CHECK:STDOUT: generic impl @D.as.J.impl.741(imports.%Main.import_ref.b3bc94.4: type) [from "fail_import_generic_decl.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %ptr: type = ptr_type %T [symbolic = %ptr (constants.%ptr)] -// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%ptr)> [symbolic = %J.type (constants.%J.type.81a)] -// CHECK:STDOUT: %J.impl_witness: = impl_witness imports.%J.impl_witness_table.ec5, @D.as.J.impl.ff2(%T) [symbolic = %J.impl_witness (constants.%J.impl_witness.85e)] +// CHECK:STDOUT: %J.type: type = facet_type <@J, @J(%ptr)> [symbolic = %J.type (constants.%J.type.a40)] +// CHECK:STDOUT: %J.impl_witness: = impl_witness imports.%J.impl_witness_table.985, @D.as.J.impl.741(%T) [symbolic = %J.impl_witness (constants.%J.impl_witness.a9a)] // CHECK:STDOUT: -// CHECK:STDOUT: impl: imports.%Main.import_ref.20ce22.2 as imports.%Main.import_ref.66d; +// CHECK:STDOUT: impl: imports.%Main.import_ref.a45035.2 as imports.%Main.import_ref.f32; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @D.as.J.impl.e3141a.1(%T.loc8_15.1: type) { +// CHECK:STDOUT: generic impl @D.as.J.impl.e4062e.1(%T.loc8_15.1: type) { // CHECK:STDOUT: %T.loc8_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc8_15.2 (constants.%T)] -// CHECK:STDOUT: %J.type.loc8_32.2: type = facet_type <@J, @J(%T.loc8_15.2)> [symbolic = %J.type.loc8_32.2 (constants.%J.type.639)] +// CHECK:STDOUT: %J.type.loc8_32.2: type = facet_type <@J, @J(%T.loc8_15.2)> [symbolic = %J.type.loc8_32.2 (constants.%J.type.9a7)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %D.ref as %J.type.loc8_32.1; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @D.as.J.impl.e3141a.2(%T.loc14_15.1: type) { +// CHECK:STDOUT: generic impl @D.as.J.impl.e4062e.2(%T.loc14_15.1: type) { // CHECK:STDOUT: %T.loc14_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc14_15.2 (constants.%T)] -// CHECK:STDOUT: %J.type.loc14_32.2: type = facet_type <@J, @J(%T.loc14_15.2)> [symbolic = %J.type.loc14_32.2 (constants.%J.type.639)] +// CHECK:STDOUT: %J.type.loc14_32.2: type = facet_type <@J, @J(%T.loc14_15.2)> [symbolic = %J.type.loc14_32.2 (constants.%J.type.9a7)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -2458,18 +2458,18 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @D.as.J.impl.271c5b.1(%T.loc20_15.1: type) { +// CHECK:STDOUT: generic impl @D.as.J.impl.165339.1(%T.loc20_15.1: type) { // CHECK:STDOUT: %T.loc20_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc20_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc20_32.2: type = ptr_type %T.loc20_15.2 [symbolic = %ptr.loc20_32.2 (constants.%ptr)] -// CHECK:STDOUT: %J.type.loc20_33.2: type = facet_type <@J, @J(%ptr.loc20_32.2)> [symbolic = %J.type.loc20_33.2 (constants.%J.type.81a)] +// CHECK:STDOUT: %J.type.loc20_33.2: type = facet_type <@J, @J(%ptr.loc20_32.2)> [symbolic = %J.type.loc20_33.2 (constants.%J.type.a40)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %D.ref as %J.type.loc20_33.1; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @D.as.J.impl.271c5b.2(%T.loc26_15.1: type) { +// CHECK:STDOUT: generic impl @D.as.J.impl.165339.2(%T.loc26_15.1: type) { // CHECK:STDOUT: %T.loc26_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc26_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc26_32.2: type = ptr_type %T.loc26_15.2 [symbolic = %ptr.loc26_32.2 (constants.%ptr)] -// CHECK:STDOUT: %J.type.loc26_33.2: type = facet_type <@J, @J(%ptr.loc26_32.2)> [symbolic = %J.type.loc26_33.2 (constants.%J.type.81a)] +// CHECK:STDOUT: %J.type.loc26_33.2: type = facet_type <@J, @J(%ptr.loc26_32.2)> [symbolic = %J.type.loc26_33.2 (constants.%J.type.a40)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -2480,7 +2480,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @D.as.J.impl.c85ff1.1(%T.loc32_15.1: type) { +// CHECK:STDOUT: generic impl @D.as.J.impl.df021b.1(%T.loc32_15.1: type) { // CHECK:STDOUT: %T.loc32_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc32_15.2 (constants.%T)] // CHECK:STDOUT: %N.type.loc32_32.2: type = facet_type <@N, @N(%T.loc32_15.2)> [symbolic = %N.type.loc32_32.2 (constants.%N.type.d682d6.1)] // CHECK:STDOUT: @@ -2493,7 +2493,7 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @D.as.J.impl.c85ff1.2(%T.loc38_15.1: type) { +// CHECK:STDOUT: generic impl @D.as.J.impl.df021b.2(%T.loc38_15.1: type) { // CHECK:STDOUT: %T.loc38_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc38_15.2 (constants.%T)] // CHECK:STDOUT: %ptr.loc38_32.2: type = ptr_type %T.loc38_15.2 [symbolic = %ptr.loc38_32.2 (constants.%ptr)] // CHECK:STDOUT: %N.type.loc38_33.2: type = facet_type <@N, @N(%ptr.loc38_32.2)> [symbolic = %N.type.loc38_33.2 (constants.%N.type.d682d6.2)] @@ -2511,58 +2511,58 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.840 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.c42 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %J.type => constants.%J.type.639 -// CHECK:STDOUT: %Self => constants.%Self.ea1 +// CHECK:STDOUT: %J.type => constants.%J.type.9a7 +// CHECK:STDOUT: %Self => constants.%Self.3f4 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%T, constants.%Self.ea1) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%T, constants.%Self.3f4) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @D.as.J.impl.709(constants.%T) { +// CHECK:STDOUT: specific @D.as.J.impl.a9a(constants.%T) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %J.type => constants.%J.type.639 -// CHECK:STDOUT: %J.impl_witness => constants.%J.impl_witness.b0f +// CHECK:STDOUT: %J.type => constants.%J.type.9a7 +// CHECK:STDOUT: %J.impl_witness => constants.%J.impl_witness.52d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J(constants.%ptr) { // CHECK:STDOUT: %T => constants.%ptr // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @D.as.J.impl.ff2(constants.%T) { +// CHECK:STDOUT: specific @D.as.J.impl.741(constants.%T) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %ptr => constants.%ptr -// CHECK:STDOUT: %J.type => constants.%J.type.81a -// CHECK:STDOUT: %J.impl_witness => constants.%J.impl_witness.85e +// CHECK:STDOUT: %J.type => constants.%J.type.a40 +// CHECK:STDOUT: %J.impl_witness => constants.%J.impl_witness.a9a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @D.as.J.impl.e3141a.1(constants.%T) { +// CHECK:STDOUT: specific @D.as.J.impl.e4062e.1(constants.%T) { // CHECK:STDOUT: %T.loc8_15.2 => constants.%T -// CHECK:STDOUT: %J.type.loc8_32.2 => constants.%J.type.639 +// CHECK:STDOUT: %J.type.loc8_32.2 => constants.%J.type.9a7 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @D.as.J.impl.e3141a.2(constants.%T) { +// CHECK:STDOUT: specific @D.as.J.impl.e4062e.2(constants.%T) { // CHECK:STDOUT: %T.loc14_15.2 => constants.%T -// CHECK:STDOUT: %J.type.loc14_32.2 => constants.%J.type.639 +// CHECK:STDOUT: %J.type.loc14_32.2 => constants.%J.type.9a7 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @D.as.J.impl.271c5b.1(constants.%T) { +// CHECK:STDOUT: specific @D.as.J.impl.165339.1(constants.%T) { // CHECK:STDOUT: %T.loc20_15.2 => constants.%T // CHECK:STDOUT: %ptr.loc20_32.2 => constants.%ptr -// CHECK:STDOUT: %J.type.loc20_33.2 => constants.%J.type.81a +// CHECK:STDOUT: %J.type.loc20_33.2 => constants.%J.type.a40 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @D.as.J.impl.271c5b.2(constants.%T) { +// CHECK:STDOUT: specific @D.as.J.impl.165339.2(constants.%T) { // CHECK:STDOUT: %T.loc26_15.2 => constants.%T // CHECK:STDOUT: %ptr.loc26_32.2 => constants.%ptr -// CHECK:STDOUT: %J.type.loc26_33.2 => constants.%J.type.81a +// CHECK:STDOUT: %J.type.loc26_33.2 => constants.%J.type.a40 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @N(constants.%T) { @@ -2576,14 +2576,14 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %N.type => constants.%N.type.d682d6.1 // CHECK:STDOUT: %Self => constants.%Self.e1f // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %J.type => constants.%J.type.639 +// CHECK:STDOUT: %J.type => constants.%J.type.9a7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @N.WithSelf(constants.%T, constants.%D.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %J.type => constants.%J.type.639 -// CHECK:STDOUT: %require_complete => constants.%require_complete.455 +// CHECK:STDOUT: %J.type => constants.%J.type.9a7 +// CHECK:STDOUT: %require_complete => constants.%require_complete.230 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.J.type.require(constants.%T, constants.%D.type.facet) { @@ -2591,10 +2591,10 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %N.type => constants.%N.type.d682d6.1 // CHECK:STDOUT: %Self => constants.%D.type.facet // CHECK:STDOUT: %Self.as_type => constants.%D -// CHECK:STDOUT: %J.type => constants.%J.type.639 +// CHECK:STDOUT: %J.type => constants.%J.type.9a7 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @D.as.J.impl.c85ff1.1(constants.%T) { +// CHECK:STDOUT: specific @D.as.J.impl.df021b.1(constants.%T) { // CHECK:STDOUT: %T.loc32_15.2 => constants.%T // CHECK:STDOUT: %N.type.loc32_32.2 => constants.%N.type.d682d6.1 // CHECK:STDOUT: } @@ -2606,8 +2606,8 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: specific @N.WithSelf(constants.%ptr, constants.%D.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%ptr -// CHECK:STDOUT: %J.type => constants.%J.type.81a -// CHECK:STDOUT: %require_complete => constants.%require_complete.c82 +// CHECK:STDOUT: %J.type => constants.%J.type.a40 +// CHECK:STDOUT: %require_complete => constants.%require_complete.5bf // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.J.type.require(constants.%ptr, constants.%D.type.facet) { @@ -2615,10 +2615,10 @@ impl forall [T:! type] D as N(T*) {} // CHECK:STDOUT: %N.type => constants.%N.type.d682d6.2 // CHECK:STDOUT: %Self => constants.%D.type.facet // CHECK:STDOUT: %Self.as_type => constants.%D -// CHECK:STDOUT: %J.type => constants.%J.type.81a +// CHECK:STDOUT: %J.type => constants.%J.type.a40 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @D.as.J.impl.c85ff1.2(constants.%T) { +// CHECK:STDOUT: specific @D.as.J.impl.df021b.2(constants.%T) { // CHECK:STDOUT: %T.loc38_15.2 => constants.%T // CHECK:STDOUT: %ptr.loc38_32.2 => constants.%ptr // CHECK:STDOUT: %N.type.loc38_33.2 => constants.%N.type.d682d6.2 diff --git a/toolchain/check/testdata/impl/import_interface_assoc_const.carbon b/toolchain/check/testdata/impl/import_interface_assoc_const.carbon index 6db3d0a3eac8..621780995aab 100644 --- a/toolchain/check/testdata/impl/import_interface_assoc_const.carbon +++ b/toolchain/check/testdata/impl/import_interface_assoc_const.carbon @@ -206,21 +206,21 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.dbf: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.8a7: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete] +// CHECK:STDOUT: %assoc0.ab7: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete] // CHECK:STDOUT: %I3.type: type = facet_type <@I3> [concrete] -// CHECK:STDOUT: %Self.187: %I3.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d58: %I3.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %I3.assoc_type: type = assoc_entity_type @I3 [concrete] -// CHECK:STDOUT: %assoc0.9e5: %I3.assoc_type = assoc_entity element0, @I3.WithSelf.%T1 [concrete] +// CHECK:STDOUT: %assoc0.a6e: %I3.assoc_type = assoc_entity element0, @I3.WithSelf.%T1 [concrete] // CHECK:STDOUT: %assoc1: %I3.assoc_type = assoc_entity element1, @I3.WithSelf.%T2 [concrete] // CHECK:STDOUT: %assoc2: %I3.assoc_type = assoc_entity element2, @I3.WithSelf.%T3 [concrete] // CHECK:STDOUT: %NonType.type: type = facet_type <@NonType> [concrete] -// CHECK:STDOUT: %Self.a53: %NonType.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.b8b: %NonType.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %empty_struct_type} [concrete] // CHECK:STDOUT: %NonType.assoc_type: type = assoc_entity_type @NonType [concrete] -// CHECK:STDOUT: %assoc0.411: %NonType.assoc_type = assoc_entity element0, @NonType.WithSelf.%Y [concrete] +// CHECK:STDOUT: %assoc0.680: %NonType.assoc_type = assoc_entity element0, @NonType.WithSelf.%Y [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -235,12 +235,12 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.dbf] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] { -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete = constants.%assoc0.8a7] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete = constants.%assoc0.ab7] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -252,12 +252,12 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I3 { -// CHECK:STDOUT: %Self: %I3.type = symbolic_binding Self, 0 [symbolic = constants.%Self.187] +// CHECK:STDOUT: %Self: %I3.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d58] // CHECK:STDOUT: %I3.WithSelf.decl = interface_with_self_decl @I3 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %T1: type = assoc_const_decl @T1 [concrete] { -// CHECK:STDOUT: %assoc0: %I3.assoc_type = assoc_entity element0, @I3.WithSelf.%T1 [concrete = constants.%assoc0.9e5] +// CHECK:STDOUT: %assoc0: %I3.assoc_type = assoc_entity element0, @I3.WithSelf.%T1 [concrete = constants.%assoc0.a6e] // CHECK:STDOUT: } // CHECK:STDOUT: %T2: type = assoc_const_decl @T2 [concrete] { // CHECK:STDOUT: %assoc1: %I3.assoc_type = assoc_entity element1, @I3.WithSelf.%T2 [concrete = constants.%assoc1] @@ -277,12 +277,12 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @NonType { -// CHECK:STDOUT: %Self: %NonType.type = symbolic_binding Self, 0 [symbolic = constants.%Self.a53] +// CHECK:STDOUT: %Self: %NonType.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b8b] // CHECK:STDOUT: %NonType.WithSelf.decl = interface_with_self_decl @NonType [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %Y: %struct_type.a = assoc_const_decl @Y [concrete] { -// CHECK:STDOUT: %assoc0: %NonType.assoc_type = assoc_entity element0, @NonType.WithSelf.%Y [concrete = constants.%assoc0.411] +// CHECK:STDOUT: %assoc0: %NonType.assoc_type = assoc_entity element0, @NonType.WithSelf.%Y [concrete = constants.%assoc0.680] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -293,11 +293,11 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.dbf) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @I3.WithSelf(constants.%Self.187) {} +// CHECK:STDOUT: specific @I3.WithSelf(constants.%Self.d58) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @NonType.WithSelf(constants.%Self.a53) {} +// CHECK:STDOUT: specific @NonType.WithSelf(constants.%Self.b8b) {} // CHECK:STDOUT: // CHECK:STDOUT: --- basic.carbon // CHECK:STDOUT: @@ -310,7 +310,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.7a1 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.4ca [concrete] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] @@ -323,10 +323,10 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %Main.I: type = import_ref Main//interface, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.I3 = import_ref Main//interface, I3, unloaded // CHECK:STDOUT: %Main.NonType = import_ref Main//interface, NonType, unloaded -// CHECK:STDOUT: %Main.import_ref.76e: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.7c6: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.T: type = import_ref Main//interface, T, loaded [concrete = %T] -// CHECK:STDOUT: %Main.import_ref.50a = import_ref Main//interface, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.7a1: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//interface, loc3_13, unloaded +// CHECK:STDOUT: %Main.import_ref.4ca: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -346,7 +346,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc5_20: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref: %I.assoc_type = name_ref T, imports.%Main.import_ref.76e [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc5_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc5_26.2: type = converted %.loc5_26.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] @@ -359,8 +359,8 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.50a -// CHECK:STDOUT: .T = imports.%Main.import_ref.76e +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .T = imports.%Main.import_ref.7c6 // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -407,7 +407,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.7a1 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.4ca [concrete] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] @@ -420,10 +420,10 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %Main.I: type = import_ref Main//interface, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.I3 = import_ref Main//interface, I3, unloaded // CHECK:STDOUT: %Main.NonType = import_ref Main//interface, NonType, unloaded -// CHECK:STDOUT: %Main.import_ref.8b7: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.7c6: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.T: type = import_ref Main//interface, T, loaded [concrete = %T] -// CHECK:STDOUT: %Main.import_ref.50a = import_ref Main//interface, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.7a1: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//interface, loc3_13, unloaded +// CHECK:STDOUT: %Main.import_ref.4ca: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -443,7 +443,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self.ref.loc5: %I.type = name_ref .Self, %.Self.loc5 [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc5: type = facet_access_type %.Self.ref.loc5 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc5_20: type = converted %.Self.ref.loc5, %.Self.as_type.loc5 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref.loc5: %I.assoc_type = name_ref T, imports.%Main.import_ref.8b7 [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref.loc5: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc5: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc5_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc5_26.2: type = converted %.loc5_26.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] @@ -459,7 +459,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self.ref.loc6: %I.type = name_ref .Self, %.Self.loc6 [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc6: type = facet_access_type %.Self.ref.loc6 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc6_20: type = converted %.Self.ref.loc6, %.Self.as_type.loc6 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref.loc6: %I.assoc_type = name_ref T, imports.%Main.import_ref.8b7 [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref.loc6: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc6: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc6_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc6_26.2: type = converted %.loc6_26.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] @@ -472,8 +472,8 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.50a -// CHECK:STDOUT: .T = imports.%Main.import_ref.8b7 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .T = imports.%Main.import_ref.7c6 // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -520,23 +520,23 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.7a1 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.4ca [concrete] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %I_where.type: type = facet_type <@I where %impl.elem0 = %empty_struct_type> [concrete] -// CHECK:STDOUT: %I.impl_witness.1f6: = impl_witness @C3.as.I.impl.d69.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %I.facet: %I.type = facet_value %C3, (%I.impl_witness.1f6) [concrete] +// CHECK:STDOUT: %I.impl_witness.f52: = impl_witness @C3.as.I.impl.fee.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.facet: %I.type = facet_value %C3, (%I.impl_witness.f52) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//interface, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.I3 = import_ref Main//interface, I3, unloaded // CHECK:STDOUT: %Main.NonType = import_ref Main//interface, NonType, unloaded -// CHECK:STDOUT: %Main.import_ref.50f: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.7c6: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.T: type = import_ref Main//interface, T, loaded [concrete = %T] -// CHECK:STDOUT: %Main.import_ref.50a = import_ref Main//interface, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.7a1: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//interface, loc3_13, unloaded +// CHECK:STDOUT: %Main.import_ref.4ca: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -549,18 +549,18 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %C3.decl: type = class_decl @C3 [concrete = constants.%C3] {} {} -// CHECK:STDOUT: impl_decl @C3.as.I.impl.740 [concrete] {} { +// CHECK:STDOUT: impl_decl @C3.as.I.impl.cae [concrete] {} { // CHECK:STDOUT: %C3.ref: type = name_ref C3, file.%C3.decl [concrete = constants.%C3] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C3.as.I.impl.d69 [concrete] {} { +// CHECK:STDOUT: impl_decl @C3.as.I.impl.fee [concrete] {} { // CHECK:STDOUT: %C3.ref: type = name_ref C3, file.%C3.decl [concrete = constants.%C3] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_20: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref: %I.assoc_type = name_ref T, imports.%Main.import_ref.50f [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc10_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc10_26.2: type = converted %.loc10_26.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] @@ -573,18 +573,18 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.50a -// CHECK:STDOUT: .T = imports.%Main.import_ref.50f +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .T = imports.%Main.import_ref.7c6 // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C3.as.I.impl.740: %C3.ref as %I.ref; +// CHECK:STDOUT: impl @C3.as.I.impl.cae: %C3.ref as %I.ref; // CHECK:STDOUT: -// CHECK:STDOUT: impl @C3.as.I.impl.d69: %C3.ref as %.loc10_14 { -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @C3.as.I.impl.d69 [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.1f6] +// CHECK:STDOUT: impl @C3.as.I.impl.fee: %C3.ref as %.loc10_14 { +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @C3.as.I.impl.fee [concrete] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.f52] // CHECK:STDOUT: %impl_witness_assoc_constant: type = impl_witness_assoc_constant constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -623,26 +623,26 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.7a1 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.4ca [concrete] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %I_where.type.cf0: type = facet_type <@I where %impl.elem0 = %empty_struct_type> [concrete] +// CHECK:STDOUT: %I_where.type.2d0: type = facet_type <@I where %impl.elem0 = %empty_struct_type> [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %I_where.type.71b: type = facet_type <@I where %impl.elem0 = %empty_tuple.type> [concrete] -// CHECK:STDOUT: %I.impl_witness.eb2: = impl_witness @C4.as.I.impl.874.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %I.facet: %I.type = facet_value %C4, (%I.impl_witness.eb2) [concrete] +// CHECK:STDOUT: %I_where.type.79e: type = facet_type <@I where %impl.elem0 = %empty_tuple.type> [concrete] +// CHECK:STDOUT: %I.impl_witness.afb: = impl_witness @C4.as.I.impl.247.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.facet: %I.type = facet_value %C4, (%I.impl_witness.afb) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//interface, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.I3 = import_ref Main//interface, I3, unloaded // CHECK:STDOUT: %Main.NonType = import_ref Main//interface, NonType, unloaded -// CHECK:STDOUT: %Main.import_ref.caf: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.7c6: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.T: type = import_ref Main//interface, T, loaded [concrete = %T] -// CHECK:STDOUT: %Main.import_ref.50a = import_ref Main//interface, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.7a1: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//interface, loc3_13, unloaded +// CHECK:STDOUT: %Main.import_ref.4ca: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -655,34 +655,34 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %C4.decl: type = class_decl @C4 [concrete = constants.%C4] {} {} -// CHECK:STDOUT: impl_decl @C4.as.I.impl.2d5 [concrete] {} { +// CHECK:STDOUT: impl_decl @C4.as.I.impl.dcc [concrete] {} { // CHECK:STDOUT: %C4.ref: type = name_ref C4, file.%C4.decl [concrete = constants.%C4] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc9_20: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref: %I.assoc_type = name_ref T, imports.%Main.import_ref.caf [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc9_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc9_26.2: type = converted %.loc9_26.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %.loc9_14: type = where_expr [concrete = constants.%I_where.type.cf0] { +// CHECK:STDOUT: %.loc9_14: type = where_expr [concrete = constants.%I_where.type.2d0] { // CHECK:STDOUT: requirement_base_facet_type %I.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0, %.loc9_26.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C4.as.I.impl.874 [concrete] {} { +// CHECK:STDOUT: impl_decl @C4.as.I.impl.247 [concrete] {} { // CHECK:STDOUT: %C4.ref: type = name_ref C4, file.%C4.decl [concrete = constants.%C4] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_20: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref: %I.assoc_type = name_ref T, imports.%Main.import_ref.caf [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc10_26.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc10_26.2: type = converted %.loc10_26.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %.loc10_14: type = where_expr [concrete = constants.%I_where.type.71b] { +// CHECK:STDOUT: %.loc10_14: type = where_expr [concrete = constants.%I_where.type.79e] { // CHECK:STDOUT: requirement_base_facet_type %I.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0, %.loc10_26.2 // CHECK:STDOUT: } @@ -691,18 +691,18 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.50a -// CHECK:STDOUT: .T = imports.%Main.import_ref.caf +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .T = imports.%Main.import_ref.7c6 // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C4.as.I.impl.2d5: %C4.ref as %.loc9_14; +// CHECK:STDOUT: impl @C4.as.I.impl.dcc: %C4.ref as %.loc9_14; // CHECK:STDOUT: -// CHECK:STDOUT: impl @C4.as.I.impl.874: %C4.ref as %.loc10_14 { -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @C4.as.I.impl.874 [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.eb2] +// CHECK:STDOUT: impl @C4.as.I.impl.247: %C4.ref as %.loc10_14 { +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @C4.as.I.impl.247 [concrete] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.afb] // CHECK:STDOUT: %impl_witness_assoc_constant: type = impl_witness_assoc_constant constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -741,14 +741,14 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self: %I3.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I3.assoc_type: type = assoc_entity_type @I3 [concrete] -// CHECK:STDOUT: %assoc0: %I3.assoc_type = assoc_entity element0, imports.%Main.import_ref.249 [concrete] +// CHECK:STDOUT: %assoc0: %I3.assoc_type = assoc_entity element0, imports.%Main.import_ref.faf [concrete] // CHECK:STDOUT: %I3.lookup_impl_witness: = lookup_impl_witness %.Self, @I3 [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I3.lookup_impl_witness, element0 [symbolic_self] -// CHECK:STDOUT: %assoc1: %I3.assoc_type = assoc_entity element1, imports.%Main.import_ref.b2b [concrete] +// CHECK:STDOUT: %assoc1: %I3.assoc_type = assoc_entity element1, imports.%Main.import_ref.761 [concrete] // CHECK:STDOUT: %impl.elem1: type = impl_witness_access %I3.lookup_impl_witness, element1 [symbolic_self] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %empty_struct_type} [concrete] -// CHECK:STDOUT: %assoc2: %I3.assoc_type = assoc_entity element2, imports.%Main.import_ref.252 [concrete] +// CHECK:STDOUT: %assoc2: %I3.assoc_type = assoc_entity element2, imports.%Main.import_ref.8e2 [concrete] // CHECK:STDOUT: %impl.elem2: type = impl_witness_access %I3.lookup_impl_witness, element2 [symbolic_self] // CHECK:STDOUT: %struct_type.b: type = struct_type {.b: %empty_struct_type} [concrete] // CHECK:STDOUT: } @@ -757,18 +757,18 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %Main.I = import_ref Main//interface, I, unloaded // CHECK:STDOUT: %Main.I3: type = import_ref Main//interface, I3, loaded [concrete = constants.%I3.type] // CHECK:STDOUT: %Main.NonType = import_ref Main//interface, NonType, unloaded -// CHECK:STDOUT: %Main.import_ref.b8c: %I3.assoc_type = import_ref Main//interface, loc6_9, loaded [concrete = constants.%assoc0] -// CHECK:STDOUT: %Main.import_ref.44e: %I3.assoc_type = import_ref Main//interface, loc7_9, loaded [concrete = constants.%assoc1] -// CHECK:STDOUT: %Main.import_ref.c24: %I3.assoc_type = import_ref Main//interface, loc8_9, loaded [concrete = constants.%assoc2] +// CHECK:STDOUT: %Main.import_ref.9f6: %I3.assoc_type = import_ref Main//interface, loc6_9, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.6a0: %I3.assoc_type = import_ref Main//interface, loc7_9, loaded [concrete = constants.%assoc1] +// CHECK:STDOUT: %Main.import_ref.d34: %I3.assoc_type = import_ref Main//interface, loc8_9, loaded [concrete = constants.%assoc2] // CHECK:STDOUT: %Main.T1 = import_ref Main//interface, T1, unloaded // CHECK:STDOUT: %Main.T2 = import_ref Main//interface, T2, unloaded // CHECK:STDOUT: %Main.T3 = import_ref Main//interface, T3, unloaded -// CHECK:STDOUT: %Main.import_ref.2a6 = import_ref Main//interface, loc5_14, unloaded -// CHECK:STDOUT: %Main.import_ref.249: type = import_ref Main//interface, loc6_9, loaded [concrete = %T1] +// CHECK:STDOUT: %Main.import_ref.693 = import_ref Main//interface, loc5_14, unloaded +// CHECK:STDOUT: %Main.import_ref.faf: type = import_ref Main//interface, loc6_9, loaded [concrete = %T1] // CHECK:STDOUT: %T1: type = assoc_const_decl @T1 [concrete] {} -// CHECK:STDOUT: %Main.import_ref.b2b: type = import_ref Main//interface, loc7_9, loaded [concrete = %T2] +// CHECK:STDOUT: %Main.import_ref.761: type = import_ref Main//interface, loc7_9, loaded [concrete = %T2] // CHECK:STDOUT: %T2: type = assoc_const_decl @T2 [concrete] {} -// CHECK:STDOUT: %Main.import_ref.252: type = import_ref Main//interface, loc8_9, loaded [concrete = %T3] +// CHECK:STDOUT: %Main.import_ref.8e2: type = import_ref Main//interface, loc8_9, loaded [concrete = %T3] // CHECK:STDOUT: %T3: type = assoc_const_decl @T3 [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -785,20 +785,20 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %C5.decl: type = class_decl @C5 [concrete = constants.%C5] {} {} -// CHECK:STDOUT: impl_decl @C5.as..impl.6428f0.1 [concrete] {} { +// CHECK:STDOUT: impl_decl @C5.as..impl.a0ad28.1 [concrete] {} { // CHECK:STDOUT: %C5.ref: type = name_ref C5, file.%C5.decl [concrete = constants.%C5] // CHECK:STDOUT: %I3.ref: type = name_ref I3, imports.%Main.I3 [concrete = constants.%I3.type] // CHECK:STDOUT: %.Self: %I3.type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.ref.loc17_21: %I3.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc17_21: type = facet_access_type %.Self.ref.loc17_21 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc17_21: type = converted %.Self.ref.loc17_21, %.Self.as_type.loc17_21 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T1.ref: %I3.assoc_type = name_ref T1, imports.%Main.import_ref.b8c [concrete = constants.%assoc0] +// CHECK:STDOUT: %T1.ref: %I3.assoc_type = name_ref T1, imports.%Main.import_ref.9f6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%I3.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %BAD1.ref: = name_ref BAD1, [concrete = ] // CHECK:STDOUT: %.Self.ref.loc17_36: %I3.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc17_36: type = facet_access_type %.Self.ref.loc17_36 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc17_36: type = converted %.Self.ref.loc17_36, %.Self.as_type.loc17_36 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T2.ref: %I3.assoc_type = name_ref T2, imports.%Main.import_ref.44e [concrete = constants.%assoc1] +// CHECK:STDOUT: %T2.ref: %I3.assoc_type = name_ref T2, imports.%Main.import_ref.6a0 [concrete = constants.%assoc1] // CHECK:STDOUT: %impl.elem1: type = impl_witness_access constants.%I3.lookup_impl_witness, element1 [symbolic_self = constants.%impl.elem1] // CHECK:STDOUT: %.loc17_48.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc17_48.2: type = converted %.loc17_48.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] @@ -806,7 +806,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self.ref.loc17_55: %I3.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc17_55: type = facet_access_type %.Self.ref.loc17_55 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc17_55: type = converted %.Self.ref.loc17_55, %.Self.as_type.loc17_55 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T3.ref: %I3.assoc_type = name_ref T3, imports.%Main.import_ref.c24 [concrete = constants.%assoc2] +// CHECK:STDOUT: %T3.ref: %I3.assoc_type = name_ref T3, imports.%Main.import_ref.d34 [concrete = constants.%assoc2] // CHECK:STDOUT: %impl.elem2: type = impl_witness_access constants.%I3.lookup_impl_witness, element2 [symbolic_self = constants.%impl.elem2] // CHECK:STDOUT: %BAD2.ref: = name_ref BAD2, [concrete = ] // CHECK:STDOUT: %.loc17_15: type = where_expr [concrete = ] { @@ -816,14 +816,14 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: requirement_rewrite %impl.elem2, // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C5.as..impl.6428f0.2 [concrete] {} { +// CHECK:STDOUT: impl_decl @C5.as..impl.a0ad28.2 [concrete] {} { // CHECK:STDOUT: %C5.ref: type = name_ref C5, file.%C5.decl [concrete = constants.%C5] // CHECK:STDOUT: %I3.ref: type = name_ref I3, imports.%Main.I3 [concrete = constants.%I3.type] // CHECK:STDOUT: %.Self: %I3.type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.ref.loc27_21: %I3.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc27_21: type = facet_access_type %.Self.ref.loc27_21 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc27_21: type = converted %.Self.ref.loc27_21, %.Self.as_type.loc27_21 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T1.ref: %I3.assoc_type = name_ref T1, imports.%Main.import_ref.b8c [concrete = constants.%assoc0] +// CHECK:STDOUT: %T1.ref: %I3.assoc_type = name_ref T1, imports.%Main.import_ref.9f6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%I3.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc27_33.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc27_33.2: type = converted %.loc27_33.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] @@ -831,13 +831,13 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self.ref.loc27_40: %I3.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc27_40: type = facet_access_type %.Self.ref.loc27_40 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc27_40: type = converted %.Self.ref.loc27_40, %.Self.as_type.loc27_40 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T2.ref: %I3.assoc_type = name_ref T2, imports.%Main.import_ref.44e [concrete = constants.%assoc1] +// CHECK:STDOUT: %T2.ref: %I3.assoc_type = name_ref T2, imports.%Main.import_ref.6a0 [concrete = constants.%assoc1] // CHECK:STDOUT: %impl.elem1: type = impl_witness_access constants.%I3.lookup_impl_witness, element1 [symbolic_self = constants.%impl.elem1] // CHECK:STDOUT: %BAD3.ref: = name_ref BAD3, [concrete = ] // CHECK:STDOUT: %.Self.ref.loc27_55: %I3.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc27_55: type = facet_access_type %.Self.ref.loc27_55 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc27_55: type = converted %.Self.ref.loc27_55, %.Self.as_type.loc27_55 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T3.ref: %I3.assoc_type = name_ref T3, imports.%Main.import_ref.c24 [concrete = constants.%assoc2] +// CHECK:STDOUT: %T3.ref: %I3.assoc_type = name_ref T3, imports.%Main.import_ref.d34 [concrete = constants.%assoc2] // CHECK:STDOUT: %impl.elem2: type = impl_witness_access constants.%I3.lookup_impl_witness, element2 [symbolic_self = constants.%impl.elem2] // CHECK:STDOUT: %BAD4.ref: = name_ref BAD4, [concrete = ] // CHECK:STDOUT: %.loc27_15: type = where_expr [concrete = ] { @@ -851,18 +851,18 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @I3 [from "interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.2a6 -// CHECK:STDOUT: .T1 = imports.%Main.import_ref.b8c -// CHECK:STDOUT: .T2 = imports.%Main.import_ref.44e -// CHECK:STDOUT: .T3 = imports.%Main.import_ref.c24 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.693 +// CHECK:STDOUT: .T1 = imports.%Main.import_ref.9f6 +// CHECK:STDOUT: .T2 = imports.%Main.import_ref.6a0 +// CHECK:STDOUT: .T3 = imports.%Main.import_ref.d34 // CHECK:STDOUT: witness = (imports.%Main.T1, imports.%Main.T2, imports.%Main.T3) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C5.as..impl.6428f0.1: %C5.ref as ; +// CHECK:STDOUT: impl @C5.as..impl.a0ad28.1: %C5.ref as ; // CHECK:STDOUT: -// CHECK:STDOUT: impl @C5.as..impl.6428f0.2: %C5.ref as { +// CHECK:STDOUT: impl @C5.as..impl.a0ad28.2: %C5.ref as { // CHECK:STDOUT: !members: // CHECK:STDOUT: extend // CHECK:STDOUT: witness = @@ -895,23 +895,23 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.7a1 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.4ca [concrete] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %I_where.type: type = facet_type <@I where %impl.elem0 = %empty_struct_type> [concrete] -// CHECK:STDOUT: %I.impl_witness.94c: = impl_witness @C6.as.I.impl.b69.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %I.facet: %I.type = facet_value %C6, (%I.impl_witness.94c) [concrete] +// CHECK:STDOUT: %I.impl_witness.a87: = impl_witness @C6.as.I.impl.1f8.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.facet: %I.type = facet_value %C6, (%I.impl_witness.a87) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//interface, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.I3 = import_ref Main//interface, I3, unloaded // CHECK:STDOUT: %Main.NonType = import_ref Main//interface, NonType, unloaded -// CHECK:STDOUT: %Main.import_ref.840: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.7c6: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.T: type = import_ref Main//interface, T, loaded [concrete = %T] -// CHECK:STDOUT: %Main.import_ref.50a = import_ref Main//interface, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.7a1: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//interface, loc3_13, unloaded +// CHECK:STDOUT: %Main.import_ref.4ca: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -924,14 +924,14 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %C6.decl: type = class_decl @C6 [concrete = constants.%C6] {} {} -// CHECK:STDOUT: impl_decl @C6.as.I.impl.e51 [concrete] {} { +// CHECK:STDOUT: impl_decl @C6.as.I.impl.1ee [concrete] {} { // CHECK:STDOUT: %C6.ref: type = name_ref C6, file.%C6.decl [concrete = constants.%C6] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc5_20: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref: %I.assoc_type = name_ref T, imports.%Main.import_ref.840 [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc5_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc5_26.2: type = converted %.loc5_26.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] @@ -940,7 +940,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: requirement_rewrite %impl.elem0, %.loc5_26.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C6.as.I.impl.b69 [concrete] {} { +// CHECK:STDOUT: impl_decl @C6.as.I.impl.1f8 [concrete] {} { // CHECK:STDOUT: %C6.ref: type = name_ref C6, file.%C6.decl [concrete = constants.%C6] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] // CHECK:STDOUT: } @@ -948,18 +948,18 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.50a -// CHECK:STDOUT: .T = imports.%Main.import_ref.840 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .T = imports.%Main.import_ref.7c6 // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C6.as.I.impl.e51: %C6.ref as %.loc5_14; +// CHECK:STDOUT: impl @C6.as.I.impl.1ee: %C6.ref as %.loc5_14; // CHECK:STDOUT: -// CHECK:STDOUT: impl @C6.as.I.impl.b69: %C6.ref as %I.ref { -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C6.as.I.impl.b69 [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.94c] +// CHECK:STDOUT: impl @C6.as.I.impl.1f8: %C6.ref as %I.ref { +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (), @C6.as.I.impl.1f8 [concrete] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.a87] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %I.ref @@ -997,7 +997,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.7a1 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.4ca [concrete] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] @@ -1009,10 +1009,10 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %Main.I: type = import_ref Main//interface, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.I3 = import_ref Main//interface, I3, unloaded // CHECK:STDOUT: %Main.NonType = import_ref Main//interface, NonType, unloaded -// CHECK:STDOUT: %Main.import_ref.9cb: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.7c6: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.T = import_ref Main//interface, T, unloaded -// CHECK:STDOUT: %Main.import_ref.50a = import_ref Main//interface, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.7a1: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//interface, loc3_13, unloaded +// CHECK:STDOUT: %Main.import_ref.4ca: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1032,14 +1032,14 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self.ref.loc10_20: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc10_20: type = facet_access_type %.Self.ref.loc10_20 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_20: type = converted %.Self.ref.loc10_20, %.Self.as_type.loc10_20 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref.loc10_20: %I.assoc_type = name_ref T, imports.%Main.import_ref.9cb [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref.loc10_20: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc10_20: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc10_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc10_26.2: type = converted %.loc10_26.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %.Self.ref.loc10_32: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc10_32: type = facet_access_type %.Self.ref.loc10_32 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_32: type = converted %.Self.ref.loc10_32, %.Self.as_type.loc10_32 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref.loc10_32: %I.assoc_type = name_ref T, imports.%Main.import_ref.9cb [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref.loc10_32: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc10_32: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %impl.elem0.subst: type = impl_witness_access_substituted %impl.elem0.loc10_32, %.loc10_26.2 [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %.loc10_38.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] @@ -1054,8 +1054,8 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.50a -// CHECK:STDOUT: .T = imports.%Main.import_ref.9cb +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .T = imports.%Main.import_ref.7c6 // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -1094,7 +1094,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.7a1 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.4ca [concrete] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] @@ -1105,10 +1105,10 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %Main.I: type = import_ref Main//interface, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.I3 = import_ref Main//interface, I3, unloaded // CHECK:STDOUT: %Main.NonType = import_ref Main//interface, NonType, unloaded -// CHECK:STDOUT: %Main.import_ref.c62: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.7c6: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.T = import_ref Main//interface, T, unloaded -// CHECK:STDOUT: %Main.import_ref.50a = import_ref Main//interface, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.7a1: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//interface, loc3_13, unloaded +// CHECK:STDOUT: %Main.import_ref.4ca: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1129,13 +1129,13 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self.ref.loc10_20: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc10_20: type = facet_access_type %.Self.ref.loc10_20 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_20: type = converted %.Self.ref.loc10_20, %.Self.as_type.loc10_20 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref.loc10_20: %I.assoc_type = name_ref T, imports.%Main.import_ref.c62 [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref.loc10_20: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc10_20: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %BAD5.ref: = name_ref BAD5, [concrete = ] // CHECK:STDOUT: %.Self.ref.loc10_34: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc10_34: type = facet_access_type %.Self.ref.loc10_34 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_34: type = converted %.Self.ref.loc10_34, %.Self.as_type.loc10_34 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref.loc10_34: %I.assoc_type = name_ref T, imports.%Main.import_ref.c62 [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref.loc10_34: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc10_34: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %impl.elem0.subst: type = impl_witness_access_substituted %impl.elem0.loc10_34, [concrete = ] // CHECK:STDOUT: %.loc10_40.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] @@ -1150,8 +1150,8 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.50a -// CHECK:STDOUT: .T = imports.%Main.import_ref.c62 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .T = imports.%Main.import_ref.7c6 // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -1190,7 +1190,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.7a1 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.4ca [concrete] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] @@ -1200,10 +1200,10 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %Main.I: type = import_ref Main//interface, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.I3 = import_ref Main//interface, I3, unloaded // CHECK:STDOUT: %Main.NonType = import_ref Main//interface, NonType, unloaded -// CHECK:STDOUT: %Main.import_ref.c00: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.7c6: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.T = import_ref Main//interface, T, unloaded -// CHECK:STDOUT: %Main.import_ref.50a = import_ref Main//interface, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.7a1: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//interface, loc3_13, unloaded +// CHECK:STDOUT: %Main.import_ref.4ca: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1224,14 +1224,14 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self.ref.loc10_20: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc10_20: type = facet_access_type %.Self.ref.loc10_20 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_20: type = converted %.Self.ref.loc10_20, %.Self.as_type.loc10_20 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref.loc10_20: %I.assoc_type = name_ref T, imports.%Main.import_ref.c00 [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref.loc10_20: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc10_20: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc10_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc10_26.2: type = converted %.loc10_26.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %.Self.ref.loc10_32: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc10_32: type = facet_access_type %.Self.ref.loc10_32 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_32: type = converted %.Self.ref.loc10_32, %.Self.as_type.loc10_32 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref.loc10_32: %I.assoc_type = name_ref T, imports.%Main.import_ref.c00 [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref.loc10_32: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc10_32: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %impl.elem0.subst: type = impl_witness_access_substituted %impl.elem0.loc10_32, %.loc10_26.2 [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %BAD6.ref: = name_ref BAD6, [concrete = ] @@ -1245,8 +1245,8 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.50a -// CHECK:STDOUT: .T = imports.%Main.import_ref.c00 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .T = imports.%Main.import_ref.7c6 // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -1285,7 +1285,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.7a1 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.4ca [concrete] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: } @@ -1294,10 +1294,10 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %Main.I: type = import_ref Main//interface, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.I3 = import_ref Main//interface, I3, unloaded // CHECK:STDOUT: %Main.NonType = import_ref Main//interface, NonType, unloaded -// CHECK:STDOUT: %Main.import_ref.a17: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.7c6: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.T = import_ref Main//interface, T, unloaded -// CHECK:STDOUT: %Main.import_ref.50a = import_ref Main//interface, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.7a1: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//interface, loc3_13, unloaded +// CHECK:STDOUT: %Main.import_ref.4ca: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1319,13 +1319,13 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self.ref.loc14_20: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc14_20: type = facet_access_type %.Self.ref.loc14_20 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc14_20: type = converted %.Self.ref.loc14_20, %.Self.as_type.loc14_20 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref.loc14_20: %I.assoc_type = name_ref T, imports.%Main.import_ref.a17 [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref.loc14_20: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc14_20: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %BAD7.ref: = name_ref BAD7, [concrete = ] // CHECK:STDOUT: %.Self.ref.loc14_34: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc14_34: type = facet_access_type %.Self.ref.loc14_34 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc14_34: type = converted %.Self.ref.loc14_34, %.Self.as_type.loc14_34 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref.loc14_34: %I.assoc_type = name_ref T, imports.%Main.import_ref.a17 [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref.loc14_34: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc14_34: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %impl.elem0.subst: type = impl_witness_access_substituted %impl.elem0.loc14_34, [concrete = ] // CHECK:STDOUT: %BAD8.ref: = name_ref BAD8, [concrete = ] @@ -1339,8 +1339,8 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.50a -// CHECK:STDOUT: .T = imports.%Main.import_ref.a17 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .T = imports.%Main.import_ref.7c6 // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -1379,7 +1379,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.7a1 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.4ca [concrete] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] @@ -1392,10 +1392,10 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %Main.I: type = import_ref Main//interface, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.I3 = import_ref Main//interface, I3, unloaded // CHECK:STDOUT: %Main.NonType = import_ref Main//interface, NonType, unloaded -// CHECK:STDOUT: %Main.import_ref.569: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.7c6: %I.assoc_type = import_ref Main//interface, loc3_20, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.T: type = import_ref Main//interface, T, loaded [concrete = %T] -// CHECK:STDOUT: %Main.import_ref.50a = import_ref Main//interface, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.7a1: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//interface, loc3_13, unloaded +// CHECK:STDOUT: %Main.import_ref.4ca: type = import_ref Main//interface, loc3_20, loaded [concrete = %T] // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1415,14 +1415,14 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self.ref.loc6_20: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc6_20: type = facet_access_type %.Self.ref.loc6_20 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc6_20: type = converted %.Self.ref.loc6_20, %.Self.as_type.loc6_20 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref.loc6_20: %I.assoc_type = name_ref T, imports.%Main.import_ref.569 [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref.loc6_20: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc6_20: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc6_26.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc6_26.2: type = converted %.loc6_26.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %.Self.ref.loc6_32: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type.loc6_32: type = facet_access_type %.Self.ref.loc6_32 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc6_32: type = converted %.Self.ref.loc6_32, %.Self.as_type.loc6_32 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %T.ref.loc6_32: %I.assoc_type = name_ref T, imports.%Main.import_ref.569 [concrete = constants.%assoc0] +// CHECK:STDOUT: %T.ref.loc6_32: %I.assoc_type = name_ref T, imports.%Main.import_ref.7c6 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc6_32: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %impl.elem0.subst: type = impl_witness_access_substituted %impl.elem0.loc6_32, %.loc6_26.2 [concrete = constants.%empty_struct_type] // CHECK:STDOUT: %.loc6_38.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -1437,8 +1437,8 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.50a -// CHECK:STDOUT: .T = imports.%Main.import_ref.569 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .T = imports.%Main.import_ref.7c6 // CHECK:STDOUT: witness = (imports.%Main.T) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -1485,7 +1485,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self: %NonType.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %NonType.assoc_type: type = assoc_entity_type @NonType [concrete] -// CHECK:STDOUT: %assoc0: %NonType.assoc_type = assoc_entity element0, imports.%Main.import_ref.d8e [concrete] +// CHECK:STDOUT: %assoc0: %NonType.assoc_type = assoc_entity element0, imports.%Main.import_ref.c4d [concrete] // CHECK:STDOUT: %NonType.lookup_impl_witness: = lookup_impl_witness %.Self, @NonType [symbolic_self] // CHECK:STDOUT: %struct_type.a.225: type = struct_type {.a: %empty_struct_type} [concrete] // CHECK:STDOUT: %impl.elem0: %struct_type.a.225 = impl_witness_access %NonType.lookup_impl_witness, element0 [symbolic_self] @@ -1500,10 +1500,10 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %Main.I = import_ref Main//interface, I, unloaded // CHECK:STDOUT: %Main.I3 = import_ref Main//interface, I3, unloaded // CHECK:STDOUT: %Main.NonType: type = import_ref Main//interface, NonType, loaded [concrete = constants.%NonType.type] -// CHECK:STDOUT: %Main.import_ref.d69: %NonType.assoc_type = import_ref Main//interface, loc12_8, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.690: %NonType.assoc_type = import_ref Main//interface, loc12_8, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.Y: %struct_type.a.225 = import_ref Main//interface, Y, loaded [concrete = %Y] -// CHECK:STDOUT: %Main.import_ref.264 = import_ref Main//interface, loc11_19, unloaded -// CHECK:STDOUT: %Main.import_ref.d8e: %struct_type.a.225 = import_ref Main//interface, loc12_8, loaded [concrete = %Y] +// CHECK:STDOUT: %Main.import_ref.f5c = import_ref Main//interface, loc11_19, unloaded +// CHECK:STDOUT: %Main.import_ref.c4d: %struct_type.a.225 = import_ref Main//interface, loc12_8, loaded [concrete = %Y] // CHECK:STDOUT: %Y: %struct_type.a.225 = assoc_const_decl @Y [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1523,7 +1523,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self.ref: %NonType.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc6_26: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %Y.ref: %NonType.assoc_type = name_ref Y, imports.%Main.import_ref.d69 [concrete = constants.%assoc0] +// CHECK:STDOUT: %Y.ref: %NonType.assoc_type = name_ref Y, imports.%Main.import_ref.690 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: %struct_type.a.225 = impl_witness_access constants.%NonType.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc6_38: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc6_39.1: %struct_type.a.225 = struct_literal (%.loc6_38) [concrete = constants.%struct] @@ -1540,8 +1540,8 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @NonType [from "interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.264 -// CHECK:STDOUT: .Y = imports.%Main.import_ref.d69 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.f5c +// CHECK:STDOUT: .Y = imports.%Main.import_ref.690 // CHECK:STDOUT: witness = (imports.%Main.Y) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -1627,34 +1627,34 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %IF.type: type = facet_type <@IF> [concrete] // CHECK:STDOUT: %Self: %IF.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %IF.WithSelf.F.type.0c8: type = fn_type @IF.WithSelf.F, @IF.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %IF.WithSelf.F.3c3: %IF.WithSelf.F.type.0c8 = struct_value () [symbolic] +// CHECK:STDOUT: %IF.WithSelf.F.type.a22: type = fn_type @IF.WithSelf.F, @IF.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %IF.WithSelf.F.0d8: %IF.WithSelf.F.type.a22 = struct_value () [symbolic] // CHECK:STDOUT: %.Self: %IF.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %IF.WithSelf.F.type.315: type = fn_type @IF.WithSelf.F, @IF.WithSelf(%.Self) [symbolic_self] -// CHECK:STDOUT: %IF.WithSelf.F.62f: %IF.WithSelf.F.type.315 = struct_value () [symbolic_self] +// CHECK:STDOUT: %IF.WithSelf.F.type.c32: type = fn_type @IF.WithSelf.F, @IF.WithSelf(%.Self) [symbolic_self] +// CHECK:STDOUT: %IF.WithSelf.F.84f: %IF.WithSelf.F.type.c32 = struct_value () [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %IF.assoc_type: type = assoc_entity_type @IF [concrete] -// CHECK:STDOUT: %assoc0: %IF.assoc_type = assoc_entity element0, imports.%Main.import_ref.2ab [concrete] +// CHECK:STDOUT: %assoc0: %IF.assoc_type = assoc_entity element0, imports.%Main.import_ref.132 [concrete] // CHECK:STDOUT: %IF.lookup_impl_witness: = lookup_impl_witness %.Self, @IF [symbolic_self] -// CHECK:STDOUT: %.e8b: type = fn_type_with_self_type %IF.WithSelf.F.type.315, %.Self [symbolic_self] -// CHECK:STDOUT: %impl.elem0: %.e8b = impl_witness_access %IF.lookup_impl_witness, element0 [symbolic_self] +// CHECK:STDOUT: %.577: type = fn_type_with_self_type %IF.WithSelf.F.type.c32, %.Self [symbolic_self] +// CHECK:STDOUT: %impl.elem0: %.577 = impl_witness_access %IF.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %IF_where.type: type = facet_type <@IF where %impl.elem0 = %int_0> [concrete] // CHECK:STDOUT: %IF.impl_witness: = impl_witness @CD.as.IF.impl.%IF.impl_witness_table [concrete] // CHECK:STDOUT: %CD.as.IF.impl.F.type: type = fn_type @CD.as.IF.impl.F [concrete] // CHECK:STDOUT: %CD.as.IF.impl.F: %CD.as.IF.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %IF.facet: %IF.type = facet_value %CD, (%IF.impl_witness) [concrete] -// CHECK:STDOUT: %IF.WithSelf.F.type.9bc: type = fn_type @IF.WithSelf.F, @IF.WithSelf(%IF.facet) [concrete] -// CHECK:STDOUT: %IF.WithSelf.F.bfe: %IF.WithSelf.F.type.9bc = struct_value () [concrete] +// CHECK:STDOUT: %IF.WithSelf.F.type.483: type = fn_type @IF.WithSelf.F, @IF.WithSelf(%IF.facet) [concrete] +// CHECK:STDOUT: %IF.WithSelf.F.6e2: %IF.WithSelf.F.type.483 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.IF: type = import_ref Main//interface_with_function, IF, loaded [concrete = constants.%IF.type] -// CHECK:STDOUT: %Main.import_ref.f61: %IF.assoc_type = import_ref Main//interface_with_function, loc3_22, loaded [concrete = constants.%assoc0] -// CHECK:STDOUT: %Main.F: @IF.WithSelf.%IF.WithSelf.F.type (%IF.WithSelf.F.type.0c8) = import_ref Main//interface_with_function, F, loaded [symbolic = @IF.WithSelf.%IF.WithSelf.F (constants.%IF.WithSelf.F.3c3)] -// CHECK:STDOUT: %Main.import_ref.0a8819.2: %IF.type = import_ref Main//interface_with_function, loc3_14, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %Main.import_ref.94d = import_ref Main//interface_with_function, loc3_14, unloaded -// CHECK:STDOUT: %Main.import_ref.2ab: @IF.WithSelf.%IF.WithSelf.F.type (%IF.WithSelf.F.type.0c8) = import_ref Main//interface_with_function, loc3_22, loaded [symbolic = @IF.WithSelf.%IF.WithSelf.F (constants.%IF.WithSelf.F.3c3)] +// CHECK:STDOUT: %Main.import_ref.0f6: %IF.assoc_type = import_ref Main//interface_with_function, loc3_22, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.F: @IF.WithSelf.%IF.WithSelf.F.type (%IF.WithSelf.F.type.a22) = import_ref Main//interface_with_function, F, loaded [symbolic = @IF.WithSelf.%IF.WithSelf.F (constants.%IF.WithSelf.F.0d8)] +// CHECK:STDOUT: %Main.import_ref.17d96b.2: %IF.type = import_ref Main//interface_with_function, loc3_14, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %Main.import_ref.579 = import_ref Main//interface_with_function, loc3_14, unloaded +// CHECK:STDOUT: %Main.import_ref.132: @IF.WithSelf.%IF.WithSelf.F.type (%IF.WithSelf.F.type.a22) = import_ref Main//interface_with_function, loc3_22, loaded [symbolic = @IF.WithSelf.%IF.WithSelf.F (constants.%IF.WithSelf.F.0d8)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1671,8 +1671,8 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: %.Self.ref: %IF.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_21: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %F.ref: %IF.assoc_type = name_ref F, imports.%Main.import_ref.f61 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.e8b = impl_witness_access constants.%IF.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] +// CHECK:STDOUT: %F.ref: %IF.assoc_type = name_ref F, imports.%Main.import_ref.0f6 [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0: %.577 = impl_witness_access constants.%IF.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc10_15: type = where_expr [concrete = constants.%IF_where.type] { // CHECK:STDOUT: requirement_base_facet_type %IF.ref @@ -1683,8 +1683,8 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: // CHECK:STDOUT: interface @IF [from "interface_with_function.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.94d -// CHECK:STDOUT: .F = imports.%Main.import_ref.f61 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.579 +// CHECK:STDOUT: .F = imports.%Main.import_ref.0f6 // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -1709,7 +1709,7 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: .Self = constants.%CD // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @IF.WithSelf.F(imports.%Main.import_ref.0a8819.2: %IF.type) [from "interface_with_function.carbon"] { +// CHECK:STDOUT: generic fn @IF.WithSelf.F(imports.%Main.import_ref.17d96b.2: %IF.type) [from "interface_with_function.carbon"] { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1721,8 +1721,8 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: specific @IF.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %IF.WithSelf.F.type => constants.%IF.WithSelf.F.type.0c8 -// CHECK:STDOUT: %IF.WithSelf.F => constants.%IF.WithSelf.F.3c3 +// CHECK:STDOUT: %IF.WithSelf.F.type => constants.%IF.WithSelf.F.type.a22 +// CHECK:STDOUT: %IF.WithSelf.F => constants.%IF.WithSelf.F.0d8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IF.WithSelf.F(constants.%Self) {} @@ -1730,15 +1730,15 @@ impl CD as IF where .F = 0 { // CHECK:STDOUT: specific @IF.WithSelf(constants.%.Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%.Self -// CHECK:STDOUT: %IF.WithSelf.F.type => constants.%IF.WithSelf.F.type.315 -// CHECK:STDOUT: %IF.WithSelf.F => constants.%IF.WithSelf.F.62f +// CHECK:STDOUT: %IF.WithSelf.F.type => constants.%IF.WithSelf.F.type.c32 +// CHECK:STDOUT: %IF.WithSelf.F => constants.%IF.WithSelf.F.84f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IF.WithSelf(constants.%IF.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%IF.facet -// CHECK:STDOUT: %IF.WithSelf.F.type => constants.%IF.WithSelf.F.type.9bc -// CHECK:STDOUT: %IF.WithSelf.F => constants.%IF.WithSelf.F.bfe +// CHECK:STDOUT: %IF.WithSelf.F.type => constants.%IF.WithSelf.F.type.483 +// CHECK:STDOUT: %IF.WithSelf.F => constants.%IF.WithSelf.F.6e2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IF.WithSelf.F(constants.%IF.facet) {} diff --git a/toolchain/check/testdata/impl/import_self.carbon b/toolchain/check/testdata/impl/import_self.carbon index 0824b42a3100..93b59967d157 100644 --- a/toolchain/check/testdata/impl/import_self.carbon +++ b/toolchain/check/testdata/impl/import_self.carbon @@ -43,7 +43,7 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: %Self: %Add.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] // CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %.013: Core.Form = init_form %Self.as_type [symbolic] +// CHECK:STDOUT: %.c20: Core.Form = init_form %Self.as_type [symbolic] // CHECK:STDOUT: %Add.WithSelf.Op.type: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %Add.WithSelf.Op: %Add.WithSelf.Op.type = struct_value () [symbolic] // CHECK:STDOUT: %Add.assoc_type: type = assoc_entity_type @Add [concrete] @@ -82,7 +82,7 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: %Self.ref.loc5_37: %Add.type = name_ref Self, @Add.%Self [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_37: type = facet_access_type %Self.ref.loc5_37 [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc5_37.2: type = converted %Self.ref.loc5_37, %Self.as_type.loc5_37 [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %.loc5_37.3: Core.Form = init_form %.loc5_37.2 [symbolic = %.loc5_37.1 (constants.%.013)] +// CHECK:STDOUT: %.loc5_37.3: Core.Form = init_form %.loc5_37.2 [symbolic = %.loc5_37.1 (constants.%.c20)] // CHECK:STDOUT: %self.param: @Add.WithSelf.Op.%Self.as_type.loc5_15.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_15.1: type = splice_block %.loc5_15.2 [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] { // CHECK:STDOUT: %Self.ref.loc5_15: %Add.type = name_ref Self, @Add.%Self [symbolic = %Self (constants.%Self)] @@ -114,7 +114,7 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: %Self: %Add.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] // CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_15.1 [symbolic = %pattern_type (constants.%pattern_type)] -// CHECK:STDOUT: %.loc5_37.1: Core.Form = init_form %Self.as_type.loc5_15.1 [symbolic = %.loc5_37.1 (constants.%.013)] +// CHECK:STDOUT: %.loc5_37.1: Core.Form = init_form %Self.as_type.loc5_15.1 [symbolic = %.loc5_37.1 (constants.%.c20)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @Add.WithSelf.Op.%Self.as_type.loc5_15.1 (%Self.as_type), %other.param: @Add.WithSelf.Op.%Self.as_type.loc5_15.1 (%Self.as_type)) -> out %return.param: @Add.WithSelf.Op.%Self.as_type.loc5_15.1 (%Self.as_type); // CHECK:STDOUT: } @@ -125,7 +125,7 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc5_15.1 => constants.%Self.as_type // CHECK:STDOUT: %pattern_type => constants.%pattern_type -// CHECK:STDOUT: %.loc5_37.1 => constants.%.013 +// CHECK:STDOUT: %.loc5_37.1 => constants.%.c20 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- b.carbon @@ -137,25 +137,25 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_tuple.type [concrete] // CHECK:STDOUT: %Add.type: type = facet_type <@Add> [concrete] // CHECK:STDOUT: %Self: %Add.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Add.WithSelf.Op.type.1d4: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %Add.WithSelf.Op.287: %Add.WithSelf.Op.type.1d4 = struct_value () [symbolic] +// CHECK:STDOUT: %Add.WithSelf.Op.type.fb2: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %Add.WithSelf.Op.ebe: %Add.WithSelf.Op.type.fb2 = struct_value () [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.65f: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %.89c: Core.Form = init_form %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.dfd: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %.1b3: Core.Form = init_form %Self.as_type [symbolic] // CHECK:STDOUT: %Add.impl_witness: = impl_witness @C.as.Add.impl.%Add.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.d58: type = pattern_type %C [concrete] -// CHECK:STDOUT: %.9ef: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] // CHECK:STDOUT: %C.as.Add.impl.Op.type: type = fn_type @C.as.Add.impl.Op [concrete] // CHECK:STDOUT: %C.as.Add.impl.Op: %C.as.Add.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Add.facet: %Add.type = facet_value %C, (%Add.impl_witness) [concrete] -// CHECK:STDOUT: %Add.WithSelf.Op.type.5d5: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet) [concrete] -// CHECK:STDOUT: %Add.WithSelf.Op.61f: %Add.WithSelf.Op.type.5d5 = struct_value () [concrete] -// CHECK:STDOUT: %empty_tuple.6aa: %C = tuple_value () [concrete] +// CHECK:STDOUT: %Add.WithSelf.Op.type.dd0: type = fn_type @Add.WithSelf.Op, @Add.WithSelf(%Add.facet) [concrete] +// CHECK:STDOUT: %Add.WithSelf.Op.7e4: %Add.WithSelf.Op.type.dd0 = struct_value () [concrete] +// CHECK:STDOUT: %empty_tuple.a46: %C = tuple_value () [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Add.assoc_type: type = assoc_entity_type @Add [concrete] -// CHECK:STDOUT: %assoc0: %Add.assoc_type = assoc_entity element0, imports.%Main.import_ref.1f6 [concrete] -// CHECK:STDOUT: %.e97: type = fn_type_with_self_type %Add.WithSelf.Op.type.5d5, %Add.facet [concrete] +// CHECK:STDOUT: %assoc0: %Add.assoc_type = assoc_entity element0, imports.%Main.import_ref.92a [concrete] +// CHECK:STDOUT: %.0d2: type = fn_type_with_self_type %Add.WithSelf.Op.type.dd0, %Add.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -164,11 +164,11 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.403: %Add.assoc_type = import_ref Main//a, loc5_41, loaded [concrete = constants.%assoc0] -// CHECK:STDOUT: %Main.Op: @Add.WithSelf.%Add.WithSelf.Op.type (%Add.WithSelf.Op.type.1d4) = import_ref Main//a, Op, loaded [symbolic = @Add.WithSelf.%Add.WithSelf.Op (constants.%Add.WithSelf.Op.287)] -// CHECK:STDOUT: %Main.import_ref.db9733.2: %Add.type = import_ref Main//a, loc4_15, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %Main.import_ref.02d = import_ref Main//a, loc4_15, unloaded -// CHECK:STDOUT: %Main.import_ref.1f6: @Add.WithSelf.%Add.WithSelf.Op.type (%Add.WithSelf.Op.type.1d4) = import_ref Main//a, loc5_41, loaded [symbolic = @Add.WithSelf.%Add.WithSelf.Op (constants.%Add.WithSelf.Op.287)] +// CHECK:STDOUT: %Main.import_ref.a99: %Add.assoc_type = import_ref Main//a, loc5_41, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.Op: @Add.WithSelf.%Add.WithSelf.Op.type (%Add.WithSelf.Op.type.fb2) = import_ref Main//a, Op, loaded [symbolic = @Add.WithSelf.%Add.WithSelf.Op (constants.%Add.WithSelf.Op.ebe)] +// CHECK:STDOUT: %Main.import_ref.9104f8.2: %Add.type = import_ref Main//a, loc4_15, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %Main.import_ref.b81 = import_ref Main//a, loc4_15, unloaded +// CHECK:STDOUT: %Main.import_ref.92a: @Add.WithSelf.%Add.WithSelf.Op.type (%Add.WithSelf.Op.type.fb2) = import_ref Main//a, loc5_41, loaded [symbolic = @Add.WithSelf.%Add.WithSelf.Op (constants.%Add.WithSelf.Op.ebe)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -186,15 +186,15 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: %Add.ref: type = name_ref Add, imports.%Main.Add [concrete = constants.%Add.type] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.d58 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.d58 = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %y.param_patt: %pattern_type.d58 = value_param_pattern [concrete] -// CHECK:STDOUT: %y.patt: %pattern_type.d58 = at_binding_pattern y, %y.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.d58 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.d58 = return_slot_pattern %return.param_patt, %C.ref.loc12_21 [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.0d5 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %y.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.0d5 = at_binding_pattern y, %y.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref.loc12_21 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc12_21: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc12: Core.Form = init_form %C.ref.loc12_21 [concrete = constants.%.9ef] +// CHECK:STDOUT: %.loc12: Core.Form = init_form %C.ref.loc12_21 [concrete = constants.%.8f0] // CHECK:STDOUT: %x.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref.loc12_9: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %x: %C = value_binding x, %x.param @@ -208,8 +208,8 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: // CHECK:STDOUT: interface @Add [from "a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.02d -// CHECK:STDOUT: .Op = imports.%Main.import_ref.403 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.b81 +// CHECK:STDOUT: .Op = imports.%Main.import_ref.a99 // CHECK:STDOUT: .C = // CHECK:STDOUT: witness = (imports.%Main.Op) // CHECK:STDOUT: @@ -218,15 +218,15 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.Add.impl: %C.ref as %Add.ref { // CHECK:STDOUT: %C.as.Add.impl.Op.decl: %C.as.Add.impl.Op.type = fn_decl @C.as.Add.impl.Op [concrete = constants.%C.as.Add.impl.Op] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.d58 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.d58 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.d58 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.d58 = at_binding_pattern other, %other.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.d58 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.d58 = return_slot_pattern %return.param_patt, %Self.ref.loc9_51 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.0d5 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %Self.ref.loc9_51 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.ref.loc9_51: type = name_ref Self, @C.as.Add.impl.%C.ref [concrete = constants.%C] -// CHECK:STDOUT: %.loc9_51: Core.Form = init_form %Self.ref.loc9_51 [concrete = constants.%.9ef] +// CHECK:STDOUT: %.loc9_51: Core.Form = init_form %Self.ref.loc9_51 [concrete = constants.%.8f0] // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc9_22: type = name_ref Self, @C.as.Add.impl.%C.ref [concrete = constants.%C] // CHECK:STDOUT: %self: %C = value_binding self, %self.param @@ -257,11 +257,11 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: .Self = constants.%C // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Add.WithSelf.Op(imports.%Main.import_ref.db9733.2: %Add.type) [from "a.carbon"] { +// CHECK:STDOUT: generic fn @Add.WithSelf.Op(imports.%Main.import_ref.9104f8.2: %Add.type) [from "a.carbon"] { // CHECK:STDOUT: %Self: %Add.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.65f)] -// CHECK:STDOUT: %.1: Core.Form = init_form %Self.as_type [symbolic = %.1 (constants.%.89c)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.dfd)] +// CHECK:STDOUT: %.1: Core.Form = init_form %Self.as_type [symbolic = %.1 (constants.%.1b3)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -271,12 +271,12 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: %.loc9_66: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple.af4] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple.af4] -// CHECK:STDOUT: %.loc9_68.1: %C = as_compatible %empty_tuple [concrete = constants.%empty_tuple.6aa] -// CHECK:STDOUT: %.loc9_68.2: %C = converted %.loc9_66, %.loc9_68.1 [concrete = constants.%empty_tuple.6aa] +// CHECK:STDOUT: %.loc9_68.1: %C = as_compatible %empty_tuple [concrete = constants.%empty_tuple.a46] +// CHECK:STDOUT: %.loc9_68.2: %C = converted %.loc9_66, %.loc9_68.1 [concrete = constants.%empty_tuple.a46] // CHECK:STDOUT: %.loc9_72.1: %empty_tuple.type = as_compatible %.loc9_68.2 [concrete = constants.%empty_tuple.af4] // CHECK:STDOUT: %.loc9_72.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple.af4] -// CHECK:STDOUT: %.loc9_72.3: init %C = as_compatible %.loc9_72.2 [concrete = constants.%empty_tuple.6aa] -// CHECK:STDOUT: %.loc9_72.4: init %C = converted %.loc9_68.2, %.loc9_72.3 [concrete = constants.%empty_tuple.6aa] +// CHECK:STDOUT: %.loc9_72.3: init %C = as_compatible %.loc9_72.2 [concrete = constants.%empty_tuple.a46] +// CHECK:STDOUT: %.loc9_72.4: init %C = converted %.loc9_68.2, %.loc9_72.3 [concrete = constants.%empty_tuple.a46] // CHECK:STDOUT: return %.loc9_72.4 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -284,8 +284,8 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: %C = name_ref x, %x // CHECK:STDOUT: %Add.ref: type = name_ref Add, imports.%Main.Add [concrete = constants.%Add.type] -// CHECK:STDOUT: %Op.ref: %Add.assoc_type = name_ref Op, imports.%Main.import_ref.403 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.e97 = impl_witness_access constants.%Add.impl_witness, element0 [concrete = constants.%C.as.Add.impl.Op] +// CHECK:STDOUT: %Op.ref: %Add.assoc_type = name_ref Op, imports.%Main.import_ref.a99 [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0: %.0d2 = impl_witness_access constants.%Add.impl_witness, element0 [concrete = constants.%C.as.Add.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %x.ref, %impl.elem0 // CHECK:STDOUT: %y.ref: %C = name_ref y, %y // CHECK:STDOUT: %C.as.Add.impl.Op.call: init %C = call %bound_method(%x.ref, %y.ref) @@ -295,28 +295,28 @@ fn F(x: C, y: C) -> C { // CHECK:STDOUT: specific @Add.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.1d4 -// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.287 +// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.fb2 +// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.ebe // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Add.WithSelf.Op(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.65f -// CHECK:STDOUT: %.1 => constants.%.89c +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.dfd +// CHECK:STDOUT: %.1 => constants.%.1b3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Add.WithSelf(constants.%Add.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Add.facet -// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.5d5 -// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.61f +// CHECK:STDOUT: %Add.WithSelf.Op.type => constants.%Add.WithSelf.Op.type.dd0 +// CHECK:STDOUT: %Add.WithSelf.Op => constants.%Add.WithSelf.Op.7e4 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Add.WithSelf.Op(constants.%Add.facet) { // CHECK:STDOUT: %Self => constants.%Add.facet // CHECK:STDOUT: %Self.as_type => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d58 -// CHECK:STDOUT: %.1 => constants.%.9ef +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 +// CHECK:STDOUT: %.1 => constants.%.8f0 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/import_self_specific.carbon b/toolchain/check/testdata/impl/import_self_specific.carbon index 1db9b6b64425..aa8d70a8dafb 100644 --- a/toolchain/check/testdata/impl/import_self_specific.carbon +++ b/toolchain/check/testdata/impl/import_self_specific.carbon @@ -66,7 +66,7 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] -// CHECK:STDOUT: %Self.c94: %Y.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d9e: %Y.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] @@ -74,32 +74,32 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: %Y.impl_witness: = impl_witness @T.as.Y.impl.%Y.impl_witness_table, @T.as.Y.impl(%T) [symbolic] // CHECK:STDOUT: %Y.facet: %Y.type = facet_value %T, (%Y.impl_witness) [symbolic] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.86a: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.91f: %Z.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %Z.impl_witness.24e: = impl_witness @U.as.Z.impl.%Z.impl_witness_table, @U.as.Z.impl(%U) [symbolic] -// CHECK:STDOUT: %Z.facet.970: %Z.type = facet_value %U, (%Z.impl_witness.24e) [symbolic] -// CHECK:STDOUT: %pattern_type.ee0: type = pattern_type %Z.type [concrete] +// CHECK:STDOUT: %Z.impl_witness.7bb: = impl_witness @U.as.Z.impl.%Z.impl_witness_table, @U.as.Z.impl(%U) [symbolic] +// CHECK:STDOUT: %Z.facet.6ad: %Z.type = facet_value %U, (%Z.impl_witness.7bb) [symbolic] +// CHECK:STDOUT: %pattern_type.461: type = pattern_type %Z.type [concrete] // CHECK:STDOUT: %V: %Z.type = symbolic_binding V, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.d0f: type = class_type @C, @C(%V) [symbolic] +// CHECK:STDOUT: %C.5be: type = class_type @C, @C(%V) [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_tuple.type [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.f87: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%Assoc [concrete] -// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %Self.f87, @I [symbolic] +// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %Self.179, @I [symbolic] // CHECK:STDOUT: %impl.elem0: %Y.type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0 [symbolic] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %impl.elem0, @Z [symbolic] -// CHECK:STDOUT: %Z.impl_witness.624: = impl_witness @U.as.Z.impl.%Z.impl_witness_table, @U.as.Z.impl(%as_type) [symbolic] -// CHECK:STDOUT: %.6db: require_specific_def_type = require_specific_def @U.as.Z.impl(%as_type) [symbolic] -// CHECK:STDOUT: %Z.facet.84c: %Z.type = facet_value %as_type, (%Z.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %C.e36: type = class_type @C, @C(%Z.facet.84c) [symbolic] -// CHECK:STDOUT: %pattern_type.080: type = pattern_type %C.e36 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.f87) [symbolic] +// CHECK:STDOUT: %Z.impl_witness.294: = impl_witness @U.as.Z.impl.%Z.impl_witness_table, @U.as.Z.impl(%as_type) [symbolic] +// CHECK:STDOUT: %.84d: require_specific_def_type = require_specific_def @U.as.Z.impl(%as_type) [symbolic] +// CHECK:STDOUT: %Z.facet.664: %Z.type = facet_value %as_type, (%Z.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %C.d90: type = class_type @C, @C(%Z.facet.664) [symbolic] +// CHECK:STDOUT: %pattern_type.c4e: type = pattern_type %C.d90 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.179) [symbolic] // CHECK:STDOUT: %I.WithSelf.F: %I.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %assoc1: %I.assoc_type = assoc_entity element1, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: } @@ -136,7 +136,7 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: %U.loc9_15.1: type = symbolic_binding U, 0 [symbolic = %U.loc9_15.2 (constants.%U)] // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: %C.type = class_decl @C [concrete = constants.%C.generic] { -// CHECK:STDOUT: %V.patt: %pattern_type.ee0 = symbolic_binding_pattern V, 0 [concrete] +// CHECK:STDOUT: %V.patt: %pattern_type.461 = symbolic_binding_pattern V, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc11: type = splice_block %Z.ref [concrete = constants.%Z.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -148,7 +148,7 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Y { -// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c94] +// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d9e] // CHECK:STDOUT: %Y.WithSelf.decl = interface_with_self_decl @Y [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -159,7 +159,7 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.86a] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91f] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -170,7 +170,7 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f87] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -178,20 +178,20 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%Assoc [concrete = constants.%assoc0] // CHECK:STDOUT: } // CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F)] { -// CHECK:STDOUT: %c.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.080) = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: @I.WithSelf.F.%pattern_type (%pattern_type.080) = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.c4e) = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: @I.WithSelf.F.%pattern_type (%pattern_type.c4e) = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %c.param: @I.WithSelf.F.%C.loc24_18.1 (%C.e36) = value_param call_param0 -// CHECK:STDOUT: %.loc24_18.2: type = splice_block %C.loc24_18.2 [symbolic = %C.loc24_18.1 (constants.%C.e36)] { +// CHECK:STDOUT: %c.param: @I.WithSelf.F.%C.loc24_18.1 (%C.d90) = value_param call_param0 +// CHECK:STDOUT: %.loc24_18.2: type = splice_block %C.loc24_18.2 [symbolic = %C.loc24_18.1 (constants.%C.d90)] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %impl.elem0.loc24_13.2: %Y.type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc24_13.1 (constants.%impl.elem0)] // CHECK:STDOUT: %Assoc.ref: %Y.type = name_ref Assoc, %impl.elem0.loc24_13.2 [symbolic = %impl.elem0.loc24_13.1 (constants.%impl.elem0)] // CHECK:STDOUT: %Assoc.as_type: type = facet_access_type %Assoc.ref [symbolic = %as_type (constants.%as_type)] -// CHECK:STDOUT: %Z.facet.loc24_18.2: %Z.type = facet_value %Assoc.as_type, (constants.%Z.lookup_impl_witness) [symbolic = %Z.facet.loc24_18.1 (constants.%Z.facet.84c)] -// CHECK:STDOUT: %.loc24_18.3: %Z.type = converted %Assoc.ref, %Z.facet.loc24_18.2 [symbolic = %Z.facet.loc24_18.1 (constants.%Z.facet.84c)] -// CHECK:STDOUT: %C.loc24_18.2: type = class_type @C, @C(constants.%Z.facet.84c) [symbolic = %C.loc24_18.1 (constants.%C.e36)] +// CHECK:STDOUT: %Z.facet.loc24_18.2: %Z.type = facet_value %Assoc.as_type, (constants.%Z.lookup_impl_witness) [symbolic = %Z.facet.loc24_18.1 (constants.%Z.facet.664)] +// CHECK:STDOUT: %.loc24_18.3: %Z.type = converted %Assoc.ref, %Z.facet.loc24_18.2 [symbolic = %Z.facet.loc24_18.1 (constants.%Z.facet.664)] +// CHECK:STDOUT: %C.loc24_18.2: type = class_type @C, @C(constants.%Z.facet.664) [symbolic = %C.loc24_18.1 (constants.%C.d90)] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: @I.WithSelf.F.%C.loc24_18.1 (%C.e36) = value_binding c, %c.param +// CHECK:STDOUT: %c: @I.WithSelf.F.%C.loc24_18.1 (%C.d90) = value_binding c, %c.param // CHECK:STDOUT: } // CHECK:STDOUT: %assoc1: %I.assoc_type = assoc_entity element1, %I.WithSelf.F.decl [concrete = constants.%assoc1] // CHECK:STDOUT: @@ -226,13 +226,13 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @U.as.Z.impl(%U.loc9_15.1: type) { // CHECK:STDOUT: %U.loc9_15.2: type = symbolic_binding U, 0 [symbolic = %U.loc9_15.2 (constants.%U)] -// CHECK:STDOUT: %Z.impl_witness.loc9_31.2: = impl_witness %Z.impl_witness_table, @U.as.Z.impl(%U.loc9_15.2) [symbolic = %Z.impl_witness.loc9_31.2 (constants.%Z.impl_witness.24e)] +// CHECK:STDOUT: %Z.impl_witness.loc9_31.2: = impl_witness %Z.impl_witness_table, @U.as.Z.impl(%U.loc9_15.2) [symbolic = %Z.impl_witness.loc9_31.2 (constants.%Z.impl_witness.7bb)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: impl: %U.ref as %Z.ref { // CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (), @U.as.Z.impl [concrete] -// CHECK:STDOUT: %Z.impl_witness.loc9_31.1: = impl_witness %Z.impl_witness_table, @U.as.Z.impl(constants.%U) [symbolic = %Z.impl_witness.loc9_31.2 (constants.%Z.impl_witness.24e)] +// CHECK:STDOUT: %Z.impl_witness.loc9_31.1: = impl_witness %Z.impl_witness_table, @U.as.Z.impl(constants.%U) [symbolic = %Z.impl_witness.loc9_31.2 (constants.%Z.impl_witness.7bb)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %Z.ref @@ -253,25 +253,25 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.d0f +// CHECK:STDOUT: .Self = constants.%C.5be // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f87)] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.179)] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %Self, @I [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness)] // CHECK:STDOUT: %impl.elem0.loc24_13.1: %Y.type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc24_13.1 (constants.%impl.elem0)] // CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0.loc24_13.1 [symbolic = %as_type (constants.%as_type)] -// CHECK:STDOUT: %.loc24_18.1: require_specific_def_type = require_specific_def @U.as.Z.impl(%as_type) [symbolic = %.loc24_18.1 (constants.%.6db)] +// CHECK:STDOUT: %.loc24_18.1: require_specific_def_type = require_specific_def @U.as.Z.impl(%as_type) [symbolic = %.loc24_18.1 (constants.%.84d)] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %impl.elem0.loc24_13.1, @Z [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness)] -// CHECK:STDOUT: %Z.facet.loc24_18.1: %Z.type = facet_value %as_type, (%Z.lookup_impl_witness) [symbolic = %Z.facet.loc24_18.1 (constants.%Z.facet.84c)] -// CHECK:STDOUT: %C.loc24_18.1: type = class_type @C, @C(%Z.facet.loc24_18.1) [symbolic = %C.loc24_18.1 (constants.%C.e36)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %C.loc24_18.1 [symbolic = %pattern_type (constants.%pattern_type.080)] +// CHECK:STDOUT: %Z.facet.loc24_18.1: %Z.type = facet_value %as_type, (%Z.lookup_impl_witness) [symbolic = %Z.facet.loc24_18.1 (constants.%Z.facet.664)] +// CHECK:STDOUT: %C.loc24_18.1: type = class_type @C, @C(%Z.facet.loc24_18.1) [symbolic = %C.loc24_18.1 (constants.%C.d90)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %C.loc24_18.1 [symbolic = %pattern_type (constants.%pattern_type.c4e)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%c.param: @I.WithSelf.F.%C.loc24_18.1 (%C.e36)); +// CHECK:STDOUT: fn(%c.param: @I.WithSelf.F.%C.loc24_18.1 (%C.d90)); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.c94) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.d9e) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -284,16 +284,16 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.86a) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.91f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @U.as.Z.impl(constants.%U) { // CHECK:STDOUT: %U.loc9_15.2 => constants.%U -// CHECK:STDOUT: %Z.impl_witness.loc9_31.2 => constants.%Z.impl_witness.24e +// CHECK:STDOUT: %Z.impl_witness.loc9_31.2 => constants.%Z.impl_witness.7bb // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet.970) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet.6ad) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -301,29 +301,29 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: %V.loc11_10.1 => constants.%V // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.f87) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @U.as.Z.impl(constants.%as_type) { // CHECK:STDOUT: %U.loc9_15.2 => constants.%as_type -// CHECK:STDOUT: %Z.impl_witness.loc9_31.2 => constants.%Z.impl_witness.624 +// CHECK:STDOUT: %Z.impl_witness.loc9_31.2 => constants.%Z.impl_witness.294 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%Z.facet.84c) { -// CHECK:STDOUT: %V.loc11_10.1 => constants.%Z.facet.84c +// CHECK:STDOUT: specific @C(constants.%Z.facet.664) { +// CHECK:STDOUT: %V.loc11_10.1 => constants.%Z.facet.664 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.f87) { -// CHECK:STDOUT: %Self => constants.%Self.f87 +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.179) { +// CHECK:STDOUT: %Self => constants.%Self.179 // CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.lookup_impl_witness // CHECK:STDOUT: %impl.elem0.loc24_13.1 => constants.%impl.elem0 // CHECK:STDOUT: %as_type => constants.%as_type -// CHECK:STDOUT: %.loc24_18.1 => constants.%.6db +// CHECK:STDOUT: %.loc24_18.1 => constants.%.84d // CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.lookup_impl_witness -// CHECK:STDOUT: %Z.facet.loc24_18.1 => constants.%Z.facet.84c -// CHECK:STDOUT: %C.loc24_18.1 => constants.%C.e36 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.080 +// CHECK:STDOUT: %Z.facet.loc24_18.1 => constants.%Z.facet.664 +// CHECK:STDOUT: %C.loc24_18.1 => constants.%C.d90 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c4e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- impl_use.carbon @@ -334,60 +334,60 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.9a9: type = pattern_type %E [concrete] +// CHECK:STDOUT: %pattern_type.ee7: type = pattern_type %E [concrete] // CHECK:STDOUT: %N: %E = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %D.type: type = generic_class_type @D [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %D.generic: %D.type = struct_value () [concrete] // CHECK:STDOUT: %D: type = class_type @D, @D(%N) [symbolic] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.4dd: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.fec: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.4dd) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.8d9: %I.WithSelf.F.type.fec = struct_value () [symbolic] +// CHECK:STDOUT: %Self.2e1: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.a52: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.2e1) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.08d: %I.WithSelf.F.type.a52 = struct_value () [symbolic] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.959: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.lookup_impl_witness.411: = lookup_impl_witness %Self.4dd, @I [symbolic] +// CHECK:STDOUT: %Self.aa0: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %I.lookup_impl_witness.312: = lookup_impl_witness %Self.2e1, @I [symbolic] // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] -// CHECK:STDOUT: %Self.aea: %Y.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %impl.elem0.53a: %Y.type = impl_witness_access %I.lookup_impl_witness.411, element0 [symbolic] -// CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %impl.elem0.53a, @Z [symbolic] -// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0.53a [symbolic] -// CHECK:STDOUT: %Z.facet.faf: %Z.type = facet_value %as_type, (%Z.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Self.a20: %Y.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %impl.elem0.fbb: %Y.type = impl_witness_access %I.lookup_impl_witness.312, element0 [symbolic] +// CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %impl.elem0.fbb, @Z [symbolic] +// CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0.fbb [symbolic] +// CHECK:STDOUT: %Z.facet.f5b: %Z.type = facet_value %as_type, (%Z.lookup_impl_witness) [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] // CHECK:STDOUT: %complete_type.782: = complete_type_witness %empty_tuple.type [concrete] // CHECK:STDOUT: %V: %Z.type = symbolic_binding V, 0 [symbolic] -// CHECK:STDOUT: %C.73d: type = class_type @C, @C(%Z.facet.faf) [symbolic] -// CHECK:STDOUT: %pattern_type.ae5: type = pattern_type %C.73d [symbolic] +// CHECK:STDOUT: %C.83f: type = class_type @C, @C(%Z.facet.f5b) [symbolic] +// CHECK:STDOUT: %pattern_type.5ae: type = pattern_type %C.83f [symbolic] // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %Z.impl_witness.23a: = impl_witness imports.%Z.impl_witness_table, @U.as.Z.impl(%U) [symbolic] -// CHECK:STDOUT: %.0cb: require_specific_def_type = require_specific_def @U.as.Z.impl(%as_type) [symbolic] -// CHECK:STDOUT: %Z.impl_witness.274: = impl_witness imports.%Z.impl_witness_table, @U.as.Z.impl(%as_type) [symbolic] -// CHECK:STDOUT: %.Self.1aa: %I.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %I.WithSelf.F.type.f16: type = fn_type @I.WithSelf.F, @I.WithSelf(%.Self.1aa) [symbolic_self] -// CHECK:STDOUT: %I.WithSelf.F.fff: %I.WithSelf.F.type.f16 = struct_value () [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.1aa [symbolic_self] +// CHECK:STDOUT: %Z.impl_witness.804: = impl_witness imports.%Z.impl_witness_table, @U.as.Z.impl(%U) [symbolic] +// CHECK:STDOUT: %.004: require_specific_def_type = require_specific_def @U.as.Z.impl(%as_type) [symbolic] +// CHECK:STDOUT: %Z.impl_witness.dcf: = impl_witness imports.%Z.impl_witness_table, @U.as.Z.impl(%as_type) [symbolic] +// CHECK:STDOUT: %.Self.0a6: %I.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %I.WithSelf.F.type.285: type = fn_type @I.WithSelf.F, @I.WithSelf(%.Self.0a6) [symbolic_self] +// CHECK:STDOUT: %I.WithSelf.F.95c: %I.WithSelf.F.type.285 = struct_value () [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.0a6 [symbolic_self] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.055 [concrete] -// CHECK:STDOUT: %I.lookup_impl_witness.051: = lookup_impl_witness %.Self.1aa, @I [symbolic_self] -// CHECK:STDOUT: %impl.elem0.0cf: %Y.type = impl_witness_access %I.lookup_impl_witness.051, element0 [symbolic_self] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.3a7 [concrete] +// CHECK:STDOUT: %I.lookup_impl_witness.f3b: = lookup_impl_witness %.Self.0a6, @I [symbolic_self] +// CHECK:STDOUT: %impl.elem0.a7b: %Y.type = impl_witness_access %I.lookup_impl_witness.f3b, element0 [symbolic_self] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Y.impl_witness.702: = impl_witness imports.%Y.impl_witness_table, @T.as.Y.impl(%T) [symbolic] -// CHECK:STDOUT: %Y.impl_witness.01c: = impl_witness imports.%Y.impl_witness_table, @T.as.Y.impl(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %Y.facet: %Y.type = facet_value %empty_tuple.type, (%Y.impl_witness.01c) [concrete] -// CHECK:STDOUT: %I_where.type: type = facet_type <@I where %impl.elem0.0cf = %Y.facet> [concrete] +// CHECK:STDOUT: %Y.impl_witness.7c5: = impl_witness imports.%Y.impl_witness_table, @T.as.Y.impl(%T) [symbolic] +// CHECK:STDOUT: %Y.impl_witness.e02: = impl_witness imports.%Y.impl_witness_table, @T.as.Y.impl(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %Y.facet: %Y.type = facet_value %empty_tuple.type, (%Y.impl_witness.e02) [concrete] +// CHECK:STDOUT: %I_where.type: type = facet_type <@I where %impl.elem0.a7b = %Y.facet> [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @D.as.I.impl.%I.impl_witness_table, @D.as.I.impl(%N) [symbolic] -// CHECK:STDOUT: %Z.impl_witness.688: = impl_witness imports.%Z.impl_witness_table, @U.as.Z.impl(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %.ac4: require_specific_def_type = require_specific_def @U.as.Z.impl(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %Z.facet.655: %Z.type = facet_value %empty_tuple.type, (%Z.impl_witness.688) [concrete] -// CHECK:STDOUT: %C.844: type = class_type @C, @C(%Z.facet.655) [concrete] -// CHECK:STDOUT: %pattern_type.1cb: type = pattern_type %C.844 [concrete] +// CHECK:STDOUT: %Z.impl_witness.dd2: = impl_witness imports.%Z.impl_witness_table, @U.as.Z.impl(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %.9ad: require_specific_def_type = require_specific_def @U.as.Z.impl(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %Z.facet.de9: %Z.type = facet_value %empty_tuple.type, (%Z.impl_witness.dd2) [concrete] +// CHECK:STDOUT: %C.ad5: type = class_type @C, @C(%Z.facet.de9) [concrete] +// CHECK:STDOUT: %pattern_type.819: type = pattern_type %C.ad5 [concrete] // CHECK:STDOUT: %D.as.I.impl.F.type: type = fn_type @D.as.I.impl.F, @D.as.I.impl(%N) [symbolic] // CHECK:STDOUT: %D.as.I.impl.F: %D.as.I.impl.F.type = struct_value () [symbolic] // CHECK:STDOUT: %I.facet: %I.type = facet_value %D, (%I.impl_witness) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.d21: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.2bd: %I.WithSelf.F.type.d21 = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.94b: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.b62: %I.WithSelf.F.type.94b = struct_value () [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -395,28 +395,28 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: %Main.Z = import_ref Main//impl_def, Z, unloaded // CHECK:STDOUT: %Main.C: %C.type = import_ref Main//impl_def, C, loaded [concrete = constants.%C.generic] // CHECK:STDOUT: %Main.I: type = import_ref Main//impl_def, I, loaded [concrete = constants.%I.type] -// CHECK:STDOUT: %Main.import_ref.cc6: %I.assoc_type = import_ref Main//impl_def, loc16_12, loaded [concrete = constants.%assoc0] -// CHECK:STDOUT: %Main.import_ref.ecd = import_ref Main//impl_def, loc24_20, unloaded +// CHECK:STDOUT: %Main.import_ref.56d: %I.assoc_type = import_ref Main//impl_def, loc16_12, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.26c = import_ref Main//impl_def, loc24_20, unloaded // CHECK:STDOUT: %Main.Assoc: %Y.type = import_ref Main//impl_def, Assoc, loaded [concrete = %Assoc] -// CHECK:STDOUT: %Main.F: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.fec) = import_ref Main//impl_def, F, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.8d9)] -// CHECK:STDOUT: %Main.import_ref.7f3 = import_ref Main//impl_def, loc8_13, unloaded -// CHECK:STDOUT: %Main.import_ref.174 = import_ref Main//impl_def, loc4_13, unloaded +// CHECK:STDOUT: %Main.F: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.a52) = import_ref Main//impl_def, F, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.08d)] +// CHECK:STDOUT: %Main.import_ref.4e5 = import_ref Main//impl_def, loc8_13, unloaded +// CHECK:STDOUT: %Main.import_ref.31b = import_ref Main//impl_def, loc4_13, unloaded // CHECK:STDOUT: %Main.import_ref.3fc: = import_ref Main//impl_def, loc13_1, loaded [concrete = constants.%complete_type.782] -// CHECK:STDOUT: %Main.import_ref.f91 = import_ref Main//impl_def, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.a40: %Z.type = import_ref Main//impl_def, loc11_10, loaded [symbolic = @C.%V (constants.%V)] -// CHECK:STDOUT: %Main.import_ref.f28: = import_ref Main//impl_def, loc9_31, loaded [symbolic = @U.as.Z.impl.%Z.impl_witness (constants.%Z.impl_witness.23a)] +// CHECK:STDOUT: %Main.import_ref.052 = import_ref Main//impl_def, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.353: %Z.type = import_ref Main//impl_def, loc11_10, loaded [symbolic = @C.%V (constants.%V)] +// CHECK:STDOUT: %Main.import_ref.50f: = import_ref Main//impl_def, loc9_31, loaded [symbolic = @U.as.Z.impl.%Z.impl_witness (constants.%Z.impl_witness.804)] // CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (), @U.as.Z.impl [concrete] // CHECK:STDOUT: %Main.import_ref.b7a: type = import_ref Main//impl_def, loc9_24, loaded [symbolic = @U.as.Z.impl.%U (constants.%U)] -// CHECK:STDOUT: %Main.import_ref.e01: type = import_ref Main//impl_def, loc9_29, loaded [concrete = constants.%Z.type] +// CHECK:STDOUT: %Main.import_ref.fa9: type = import_ref Main//impl_def, loc9_29, loaded [concrete = constants.%Z.type] // CHECK:STDOUT: %Main.import_ref.b3bc94.1: type = import_ref Main//impl_def, loc9_15, loaded [symbolic = @U.as.Z.impl.%U (constants.%U)] -// CHECK:STDOUT: %Main.import_ref.9bc086.2: %I.type = import_ref Main//impl_def, loc15_13, loaded [symbolic = constants.%Self.4dd] -// CHECK:STDOUT: %Main.import_ref.d78 = import_ref Main//impl_def, loc15_13, unloaded -// CHECK:STDOUT: %Main.import_ref.055: %Y.type = import_ref Main//impl_def, loc16_12, loaded [concrete = %Assoc] +// CHECK:STDOUT: %Main.import_ref.c42703.2: %I.type = import_ref Main//impl_def, loc15_13, loaded [symbolic = constants.%Self.2e1] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//impl_def, loc15_13, unloaded +// CHECK:STDOUT: %Main.import_ref.3a7: %Y.type = import_ref Main//impl_def, loc16_12, loaded [concrete = %Assoc] // CHECK:STDOUT: %Assoc: %Y.type = assoc_const_decl @Assoc [concrete] {} -// CHECK:STDOUT: %Main.import_ref.21f: = import_ref Main//impl_def, loc5_31, loaded [symbolic = @T.as.Y.impl.%Y.impl_witness (constants.%Y.impl_witness.702)] +// CHECK:STDOUT: %Main.import_ref.097: = import_ref Main//impl_def, loc5_31, loaded [symbolic = @T.as.Y.impl.%Y.impl_witness (constants.%Y.impl_witness.7c5)] // CHECK:STDOUT: %Y.impl_witness_table = impl_witness_table (), @T.as.Y.impl [concrete] // CHECK:STDOUT: %Main.import_ref.68d: type = import_ref Main//impl_def, loc5_24, loaded [symbolic = @T.as.Y.impl.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.fec: type = import_ref Main//impl_def, loc5_29, loaded [concrete = constants.%Y.type] +// CHECK:STDOUT: %Main.import_ref.fb7: type = import_ref Main//impl_def, loc5_29, loaded [concrete = constants.%Y.type] // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//impl_def, loc5_15, loaded [symbolic = @T.as.Y.impl.%T (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -432,7 +432,7 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %E.decl: type = class_decl @E [concrete = constants.%E] {} {} // CHECK:STDOUT: %D.decl: %D.type = class_decl @D [concrete = constants.%D.generic] { -// CHECK:STDOUT: %N.patt: %pattern_type.9a9 = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.ee7 = symbolic_binding_pattern N, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7: type = splice_block %E.ref [concrete = constants.%E] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] @@ -441,20 +441,20 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: %N.loc7_10.2: %E = symbolic_binding N, 0 [symbolic = %N.loc7_10.1 (constants.%N)] // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @D.as.I.impl [concrete] { -// CHECK:STDOUT: %N.patt: %pattern_type.9a9 = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.ee7 = symbolic_binding_pattern N, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: %D.type = name_ref D, file.%D.decl [concrete = constants.%D.generic] // CHECK:STDOUT: %N.ref: %E = name_ref N, %N.loc20_15.2 [symbolic = %N.loc20_15.1 (constants.%N)] // CHECK:STDOUT: %D.loc20_24.2: type = class_type @D, @D(constants.%N) [symbolic = %D.loc20_24.1 (constants.%D)] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] -// CHECK:STDOUT: %.Self.loc20_31: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.1aa] -// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc20_31 [symbolic_self = constants.%.Self.1aa] +// CHECK:STDOUT: %.Self.loc20_31: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.0a6] +// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc20_31 [symbolic_self = constants.%.Self.0a6] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc20_37: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %Assoc.ref: %I.assoc_type = name_ref Assoc, imports.%Main.import_ref.cc6 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %Y.type = impl_witness_access constants.%I.lookup_impl_witness.051, element0 [symbolic_self = constants.%impl.elem0.0cf] +// CHECK:STDOUT: %Assoc.ref: %I.assoc_type = name_ref Assoc, imports.%Main.import_ref.56d [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0: %Y.type = impl_witness_access constants.%I.lookup_impl_witness.f3b, element0 [symbolic_self = constants.%impl.elem0.a7b] // CHECK:STDOUT: %.loc20_47.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %Y.facet: %Y.type = facet_value constants.%empty_tuple.type, (constants.%Y.impl_witness.01c) [concrete = constants.%Y.facet] +// CHECK:STDOUT: %Y.facet: %Y.type = facet_value constants.%empty_tuple.type, (constants.%Y.impl_witness.e02) [concrete = constants.%Y.facet] // CHECK:STDOUT: %.loc20_47.2: %Y.type = converted %.loc20_47.1, %Y.facet [concrete = constants.%Y.facet] // CHECK:STDOUT: %.loc20_31: type = where_expr [concrete = constants.%I_where.type] { // CHECK:STDOUT: requirement_base_facet_type %I.ref @@ -470,9 +470,9 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "impl_def.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.d78 -// CHECK:STDOUT: .Assoc = imports.%Main.import_ref.cc6 -// CHECK:STDOUT: .F = imports.%Main.import_ref.ecd +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .Assoc = imports.%Main.import_ref.56d +// CHECK:STDOUT: .F = imports.%Main.import_ref.26c // CHECK:STDOUT: .C = // CHECK:STDOUT: witness = (imports.%Main.Assoc, imports.%Main.F) // CHECK:STDOUT: @@ -481,7 +481,7 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: // CHECK:STDOUT: interface @Z [from "impl_def.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.7f3 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.4e5 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -489,7 +489,7 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: // CHECK:STDOUT: interface @Y [from "impl_def.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.174 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.31b // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -497,25 +497,25 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @U.as.Z.impl(imports.%Main.import_ref.b3bc94.1: type) [from "impl_def.carbon"] { // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic = %U (constants.%U)] -// CHECK:STDOUT: %Z.impl_witness: = impl_witness imports.%Z.impl_witness_table, @U.as.Z.impl(%U) [symbolic = %Z.impl_witness (constants.%Z.impl_witness.23a)] +// CHECK:STDOUT: %Z.impl_witness: = impl_witness imports.%Z.impl_witness_table, @U.as.Z.impl(%U) [symbolic = %Z.impl_witness (constants.%Z.impl_witness.804)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: impl: imports.%Main.import_ref.b7a as imports.%Main.import_ref.e01 { +// CHECK:STDOUT: impl: imports.%Main.import_ref.b7a as imports.%Main.import_ref.fa9 { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.f28 +// CHECK:STDOUT: witness = imports.%Main.import_ref.50f // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as.Y.impl(imports.%Main.import_ref.b3bc94.2: type) [from "impl_def.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Y.impl_witness: = impl_witness imports.%Y.impl_witness_table, @T.as.Y.impl(%T) [symbolic = %Y.impl_witness (constants.%Y.impl_witness.702)] +// CHECK:STDOUT: %Y.impl_witness: = impl_witness imports.%Y.impl_witness_table, @T.as.Y.impl(%T) [symbolic = %Y.impl_witness (constants.%Y.impl_witness.7c5)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: impl: imports.%Main.import_ref.68d as imports.%Main.import_ref.fec { +// CHECK:STDOUT: impl: imports.%Main.import_ref.68d as imports.%Main.import_ref.fb7 { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.21f +// CHECK:STDOUT: witness = imports.%Main.import_ref.097 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -530,18 +530,18 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: // CHECK:STDOUT: impl: %D.loc20_24.2 as %.loc20_31 { // CHECK:STDOUT: %D.as.I.impl.F.decl: @D.as.I.impl.%D.as.I.impl.F.type (%D.as.I.impl.F.type) = fn_decl @D.as.I.impl.F [symbolic = @D.as.I.impl.%D.as.I.impl.F (constants.%D.as.I.impl.F)] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.1cb = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.1cb = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.819 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.819 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %c.param: %C.844 = value_param call_param0 -// CHECK:STDOUT: %.loc21_22.1: type = splice_block %C [concrete = constants.%C.844] { +// CHECK:STDOUT: %c.param: %C.ad5 = value_param call_param0 +// CHECK:STDOUT: %.loc21_22.1: type = splice_block %C [concrete = constants.%C.ad5] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Main.C [concrete = constants.%C.generic] // CHECK:STDOUT: %.loc21_21: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %Z.facet: %Z.type = facet_value constants.%empty_tuple.type, (constants.%Z.impl_witness.688) [concrete = constants.%Z.facet.655] -// CHECK:STDOUT: %.loc21_22.2: %Z.type = converted %.loc21_21, %Z.facet [concrete = constants.%Z.facet.655] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%Z.facet.655) [concrete = constants.%C.844] +// CHECK:STDOUT: %Z.facet: %Z.type = facet_value constants.%empty_tuple.type, (constants.%Z.impl_witness.dd2) [concrete = constants.%Z.facet.de9] +// CHECK:STDOUT: %.loc21_22.2: %Z.type = converted %.loc21_21, %Z.facet [concrete = constants.%Z.facet.de9] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%Z.facet.de9) [concrete = constants.%C.ad5] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %C.844 = value_binding c, %c.param +// CHECK:STDOUT: %c: %C.ad5 = value_binding c, %c.param // CHECK:STDOUT: } // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant, %D.as.I.impl.F.decl), @D.as.I.impl [concrete] // CHECK:STDOUT: %I.impl_witness.loc20_49.1: = impl_witness %I.impl_witness_table, @D.as.I.impl(constants.%N) [symbolic = %I.impl_witness.loc20_49.2 (constants.%I.impl_witness)] @@ -577,7 +577,7 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic class @C(imports.%Main.import_ref.a40: %Z.type) [from "impl_def.carbon"] { +// CHECK:STDOUT: generic class @C(imports.%Main.import_ref.353: %Z.type) [from "impl_def.carbon"] { // CHECK:STDOUT: %V: %Z.type = symbolic_binding V, 0 [symbolic = %V (constants.%V)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: @@ -586,20 +586,20 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.3fc // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.f91 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.052 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.9bc086.2: %I.type) [from "impl_def.carbon"] { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.4dd)] -// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %Self, @I [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness.411)] -// CHECK:STDOUT: %impl.elem0: %Y.type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0.53a)] +// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.c42703.2: %I.type) [from "impl_def.carbon"] { +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.2e1)] +// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %Self, @I [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness.312)] +// CHECK:STDOUT: %impl.elem0: %Y.type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0.fbb)] // CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0 [symbolic = %as_type (constants.%as_type)] -// CHECK:STDOUT: %.1: require_specific_def_type = require_specific_def @U.as.Z.impl(%as_type) [symbolic = %.1 (constants.%.0cb)] +// CHECK:STDOUT: %.1: require_specific_def_type = require_specific_def @U.as.Z.impl(%as_type) [symbolic = %.1 (constants.%.004)] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %impl.elem0, @Z [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness)] -// CHECK:STDOUT: %Z.facet: %Z.type = facet_value %as_type, (%Z.lookup_impl_witness) [symbolic = %Z.facet (constants.%Z.facet.faf)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%Z.facet) [symbolic = %C (constants.%C.73d)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %C [symbolic = %pattern_type (constants.%pattern_type.ae5)] +// CHECK:STDOUT: %Z.facet: %Z.type = facet_value %as_type, (%Z.lookup_impl_witness) [symbolic = %Z.facet (constants.%Z.facet.f5b)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%Z.facet) [symbolic = %C (constants.%C.83f)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %C [symbolic = %pattern_type (constants.%pattern_type.5ae)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -607,7 +607,7 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: generic fn @D.as.I.impl.F(@D.as.I.impl.%N.loc20_15.2: %E) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: fn(%c.param: %C.844) { +// CHECK:STDOUT: fn(%c.param: %C.ad5) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -617,18 +617,18 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: %N.loc7_10.1 => constants.%N // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.4dd) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.2e1) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.4dd -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.fec -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.8d9 +// CHECK:STDOUT: %Self => constants.%Self.2e1 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a52 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.08d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.959) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.aa0) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.aea) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.a20) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -636,49 +636,49 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: %V => constants.%V // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%Z.facet.faf) { -// CHECK:STDOUT: %V => constants.%Z.facet.faf +// CHECK:STDOUT: specific @C(constants.%Z.facet.f5b) { +// CHECK:STDOUT: %V => constants.%Z.facet.f5b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @U.as.Z.impl(constants.%U) { // CHECK:STDOUT: %U => constants.%U -// CHECK:STDOUT: %Z.impl_witness => constants.%Z.impl_witness.23a +// CHECK:STDOUT: %Z.impl_witness => constants.%Z.impl_witness.804 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @U.as.Z.impl(constants.%as_type) { // CHECK:STDOUT: %U => constants.%as_type -// CHECK:STDOUT: %Z.impl_witness => constants.%Z.impl_witness.274 +// CHECK:STDOUT: %Z.impl_witness => constants.%Z.impl_witness.dcf // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.4dd) { -// CHECK:STDOUT: %Self => constants.%Self.4dd -// CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.lookup_impl_witness.411 -// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.53a +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.2e1) { +// CHECK:STDOUT: %Self => constants.%Self.2e1 +// CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.lookup_impl_witness.312 +// CHECK:STDOUT: %impl.elem0 => constants.%impl.elem0.fbb // CHECK:STDOUT: %as_type => constants.%as_type -// CHECK:STDOUT: %.1 => constants.%.0cb +// CHECK:STDOUT: %.1 => constants.%.004 // CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.lookup_impl_witness -// CHECK:STDOUT: %Z.facet => constants.%Z.facet.faf -// CHECK:STDOUT: %C => constants.%C.73d -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ae5 +// CHECK:STDOUT: %Z.facet => constants.%Z.facet.f5b +// CHECK:STDOUT: %C => constants.%C.83f +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5ae // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.1aa) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%.Self.0a6) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%.Self.1aa -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.f16 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.fff +// CHECK:STDOUT: %Self => constants.%.Self.0a6 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.285 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.95c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @T.as.Y.impl(constants.%T) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Y.impl_witness => constants.%Y.impl_witness.702 +// CHECK:STDOUT: %Y.impl_witness => constants.%Y.impl_witness.7c5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @T.as.Y.impl(constants.%empty_tuple.type) { // CHECK:STDOUT: %T => constants.%empty_tuple.type -// CHECK:STDOUT: %Y.impl_witness => constants.%Y.impl_witness.01c +// CHECK:STDOUT: %Y.impl_witness => constants.%Y.impl_witness.e02 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -695,13 +695,13 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: // CHECK:STDOUT: specific @U.as.Z.impl(constants.%empty_tuple.type) { // CHECK:STDOUT: %U => constants.%empty_tuple.type -// CHECK:STDOUT: %Z.impl_witness => constants.%Z.impl_witness.688 +// CHECK:STDOUT: %Z.impl_witness => constants.%Z.impl_witness.dd2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%Z.facet.655) { -// CHECK:STDOUT: %V => constants.%Z.facet.655 +// CHECK:STDOUT: specific @C(constants.%Z.facet.de9) { +// CHECK:STDOUT: %V => constants.%Z.facet.de9 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -711,8 +711,8 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d21 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.2bd +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.94b +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.b62 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet) { @@ -720,10 +720,10 @@ impl forall [N:! E] D(N) as I where .Assoc = () { // CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.impl_witness // CHECK:STDOUT: %impl.elem0 => constants.%Y.facet // CHECK:STDOUT: %as_type => constants.%empty_tuple.type -// CHECK:STDOUT: %.1 => constants.%.ac4 -// CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.impl_witness.688 -// CHECK:STDOUT: %Z.facet => constants.%Z.facet.655 -// CHECK:STDOUT: %C => constants.%C.844 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.1cb +// CHECK:STDOUT: %.1 => constants.%.9ad +// CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.impl_witness.dd2 +// CHECK:STDOUT: %Z.facet => constants.%Z.facet.de9 +// CHECK:STDOUT: %C => constants.%C.ad5 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.819 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/import_thunk.carbon b/toolchain/check/testdata/impl/import_thunk.carbon index 65688ccdf44a..026836a2b9df 100644 --- a/toolchain/check/testdata/impl/import_thunk.carbon +++ b/toolchain/check/testdata/impl/import_thunk.carbon @@ -116,43 +116,43 @@ fn G() { // CHECK:STDOUT: %X: %empty_tuple.type = symbolic_binding X, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.3bcfc5.1: type = class_type @C, @C(%X) [symbolic] +// CHECK:STDOUT: %C.bc4daf.1: type = class_type @C, @C(%X) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %Y: %empty_tuple.type = symbolic_binding Y, 0 [symbolic] -// CHECK:STDOUT: %C.3bcfc5.2: type = class_type @C, @C(%Y) [symbolic] +// CHECK:STDOUT: %C.bc4daf.2: type = class_type @C, @C(%Y) [symbolic] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.149: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.987: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.149) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.e0c: %I.WithSelf.F.type.987 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.2e1: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.a52: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.2e1) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.08d: %I.WithSelf.F.type.a52 = struct_value () [symbolic] // CHECK:STDOUT: %pattern_type.a96: type = pattern_type %empty_struct_type [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table, @C.as.I.impl(%Y) [symbolic] -// CHECK:STDOUT: %pattern_type.72b: type = pattern_type %C.3bcfc5.2 [symbolic] -// CHECK:STDOUT: %C.as.I.impl.F.type.d9ee69.1: type = fn_type @C.as.I.impl.F.loc8_24.1, @C.as.I.impl(%Y) [symbolic] -// CHECK:STDOUT: %C.as.I.impl.F.d51b7c.1: %C.as.I.impl.F.type.d9ee69.1 = struct_value () [symbolic] -// CHECK:STDOUT: %I.facet: %I.type = facet_value %C.3bcfc5.2, (%I.impl_witness) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.35d: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.080: %I.WithSelf.F.type.35d = struct_value () [symbolic] -// CHECK:STDOUT: %C.as.I.impl.F.type.d9ee69.2: type = fn_type @C.as.I.impl.F.loc8_24.2, @C.as.I.impl(%Y) [symbolic] -// CHECK:STDOUT: %C.as.I.impl.F.d51b7c.2: %C.as.I.impl.F.type.d9ee69.2 = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %C.3bcfc5.2 [symbolic] -// CHECK:STDOUT: %C.as.I.impl.F.specific_fn: = specific_function %C.as.I.impl.F.d51b7c.1, @C.as.I.impl.F.loc8_24.1(%Y) [symbolic] -// CHECK:STDOUT: %C.val: %C.3bcfc5.2 = struct_value () [symbolic] -// CHECK:STDOUT: %.099: ref %C.3bcfc5.2 = temporary invalid, %C.val [symbolic] +// CHECK:STDOUT: %pattern_type.cf7: type = pattern_type %C.bc4daf.2 [symbolic] +// CHECK:STDOUT: %C.as.I.impl.F.type.6ced3c.1: type = fn_type @C.as.I.impl.F.loc8_24.1, @C.as.I.impl(%Y) [symbolic] +// CHECK:STDOUT: %C.as.I.impl.F.e9dd9d.1: %C.as.I.impl.F.type.6ced3c.1 = struct_value () [symbolic] +// CHECK:STDOUT: %I.facet: %I.type = facet_value %C.bc4daf.2, (%I.impl_witness) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.372: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.c78: %I.WithSelf.F.type.372 = struct_value () [symbolic] +// CHECK:STDOUT: %C.as.I.impl.F.type.6ced3c.2: type = fn_type @C.as.I.impl.F.loc8_24.2, @C.as.I.impl(%Y) [symbolic] +// CHECK:STDOUT: %C.as.I.impl.F.e9dd9d.2: %C.as.I.impl.F.type.6ced3c.2 = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %C.bc4daf.2 [symbolic] +// CHECK:STDOUT: %C.as.I.impl.F.specific_fn: = specific_function %C.as.I.impl.F.e9dd9d.1, @C.as.I.impl.F.loc8_24.1(%Y) [symbolic] +// CHECK:STDOUT: %C.val: %C.bc4daf.2 = struct_value () [symbolic] +// CHECK:STDOUT: %.2ab: ref %C.bc4daf.2 = temporary invalid, %C.val [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Self.1e6: %Destroy.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.12b: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Self.1e6) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.73c: %Destroy.WithSelf.Op.type.12b = struct_value () [symbolic] +// CHECK:STDOUT: %Self.c66: %Destroy.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.630: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Self.c66) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.821: %Destroy.WithSelf.Op.type.630 = struct_value () [symbolic] // CHECK:STDOUT: %Destroy.assoc_type: type = assoc_entity_type @Destroy [concrete] -// CHECK:STDOUT: %assoc0: %Destroy.assoc_type = assoc_entity element0, imports.%Core.import_ref.1fb [concrete] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %C.3bcfc5.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.ebb: %Destroy.type = facet_value %C.3bcfc5.2, (%Destroy.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.cd5: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.ebb) [symbolic] -// CHECK:STDOUT: %.c5b: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.cd5, %Destroy.facet.ebb [symbolic] -// CHECK:STDOUT: %impl.elem0: %.c5b = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %bound_method.c01: = bound_method %.099, %impl.elem0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Destroy.WithSelf.Op(%Destroy.facet.ebb) [symbolic] -// CHECK:STDOUT: %bound_method.8f3: = bound_method %.099, %specific_impl_fn [symbolic] +// CHECK:STDOUT: %assoc0: %Destroy.assoc_type = assoc_entity element0, imports.%Core.import_ref.818 [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %C.bc4daf.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.526: %Destroy.type = facet_value %C.bc4daf.2, (%Destroy.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.d44: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.526) [symbolic] +// CHECK:STDOUT: %.5d8: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.d44, %Destroy.facet.526 [symbolic] +// CHECK:STDOUT: %impl.elem0: %.5d8 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %bound_method.c9f: = bound_method %.2ab, %impl.elem0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Destroy.WithSelf.Op(%Destroy.facet.526) [symbolic] +// CHECK:STDOUT: %bound_method.f94: = bound_method %.2ab, %specific_impl_fn [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -162,14 +162,14 @@ fn G() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.c30 = import_ref Main//a, loc5_14, unloaded -// CHECK:STDOUT: %Main.F: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.987) = import_ref Main//a, F, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.e0c)] -// CHECK:STDOUT: %I.WithSelf.F.decl: %I.WithSelf.F.type.987 = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.e0c)] {} {} -// CHECK:STDOUT: %Main.import_ref.cb2307.2: %I.type = import_ref Main//a, loc4_13, loaded [symbolic = constants.%Self.149] -// CHECK:STDOUT: %Main.import_ref.728 = import_ref Main//a, loc4_13, unloaded +// CHECK:STDOUT: %Main.import_ref.8a2 = import_ref Main//a, loc5_14, unloaded +// CHECK:STDOUT: %Main.F: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.a52) = import_ref Main//a, F, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.08d)] +// CHECK:STDOUT: %I.WithSelf.F.decl: %I.WithSelf.F.type.a52 = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.08d)] {} {} +// CHECK:STDOUT: %Main.import_ref.c42703.2: %I.type = import_ref Main//a, loc4_13, loaded [symbolic = constants.%Self.2e1] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//a, loc4_13, unloaded // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %Core.import_ref.d15: %Destroy.assoc_type = import_ref Core//prelude/parts/destroy, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc0] -// CHECK:STDOUT: %Core.import_ref.1fb: @Destroy.WithSelf.%Destroy.WithSelf.Op.type (%Destroy.WithSelf.Op.type.12b) = import_ref Core//prelude/parts/destroy, loc{{\d+_\d+}}, loaded [symbolic = @Destroy.WithSelf.%Destroy.WithSelf.Op (constants.%Destroy.WithSelf.Op.73c)] +// CHECK:STDOUT: %Core.import_ref.8fe: %Destroy.assoc_type = import_ref Core//prelude/parts/destroy, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Core.import_ref.818: @Destroy.WithSelf.%Destroy.WithSelf.Op.type (%Destroy.WithSelf.Op.type.630) = import_ref Core//prelude/parts/destroy, loc{{\d+_\d+}}, loaded [symbolic = @Destroy.WithSelf.%Destroy.WithSelf.Op (constants.%Destroy.WithSelf.Op.821)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -195,7 +195,7 @@ fn G() { // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %Y.ref: %empty_tuple.type = name_ref Y, %Y.loc7_15.2 [symbolic = %Y.loc7_15.1 (constants.%Y)] -// CHECK:STDOUT: %C.loc7_25.2: type = class_type @C, @C(constants.%Y) [symbolic = %C.loc7_25.1 (constants.%C.3bcfc5.2)] +// CHECK:STDOUT: %C.loc7_25.2: type = class_type @C, @C(constants.%Y) [symbolic = %C.loc7_25.1 (constants.%C.bc4daf.2)] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] // CHECK:STDOUT: %.loc7_19.1: type = splice_block %.loc7_19.3 [concrete = constants.%empty_tuple.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -208,8 +208,8 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.728 -// CHECK:STDOUT: .F = imports.%Main.import_ref.c30 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .F = imports.%Main.import_ref.8a2 // CHECK:STDOUT: .C = // CHECK:STDOUT: .Y = // CHECK:STDOUT: witness = (imports.%Main.F) @@ -219,29 +219,29 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(%Y.loc7_15.2: %empty_tuple.type) { // CHECK:STDOUT: %Y.loc7_15.1: %empty_tuple.type = symbolic_binding Y, 0 [symbolic = %Y.loc7_15.1 (constants.%Y)] -// CHECK:STDOUT: %C.loc7_25.1: type = class_type @C, @C(%Y.loc7_15.1) [symbolic = %C.loc7_25.1 (constants.%C.3bcfc5.2)] +// CHECK:STDOUT: %C.loc7_25.1: type = class_type @C, @C(%Y.loc7_15.1) [symbolic = %C.loc7_25.1 (constants.%C.bc4daf.2)] // CHECK:STDOUT: %I.impl_witness.loc7_32.2: = impl_witness %I.impl_witness_table, @C.as.I.impl(%Y.loc7_15.1) [symbolic = %I.impl_witness.loc7_32.2 (constants.%I.impl_witness)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.as.I.impl.F.type.loc8_24.1: type = fn_type @C.as.I.impl.F.loc8_24.1, @C.as.I.impl(%Y.loc7_15.1) [symbolic = %C.as.I.impl.F.type.loc8_24.1 (constants.%C.as.I.impl.F.type.d9ee69.1)] -// CHECK:STDOUT: %C.as.I.impl.F.loc8_24.1: @C.as.I.impl.%C.as.I.impl.F.type.loc8_24.1 (%C.as.I.impl.F.type.d9ee69.1) = struct_value () [symbolic = %C.as.I.impl.F.loc8_24.1 (constants.%C.as.I.impl.F.d51b7c.1)] -// CHECK:STDOUT: %C.as.I.impl.F.type.loc8_24.2: type = fn_type @C.as.I.impl.F.loc8_24.2, @C.as.I.impl(%Y.loc7_15.1) [symbolic = %C.as.I.impl.F.type.loc8_24.2 (constants.%C.as.I.impl.F.type.d9ee69.2)] -// CHECK:STDOUT: %C.as.I.impl.F.loc8_24.2: @C.as.I.impl.%C.as.I.impl.F.type.loc8_24.2 (%C.as.I.impl.F.type.d9ee69.2) = struct_value () [symbolic = %C.as.I.impl.F.loc8_24.2 (constants.%C.as.I.impl.F.d51b7c.2)] +// CHECK:STDOUT: %C.as.I.impl.F.type.loc8_24.1: type = fn_type @C.as.I.impl.F.loc8_24.1, @C.as.I.impl(%Y.loc7_15.1) [symbolic = %C.as.I.impl.F.type.loc8_24.1 (constants.%C.as.I.impl.F.type.6ced3c.1)] +// CHECK:STDOUT: %C.as.I.impl.F.loc8_24.1: @C.as.I.impl.%C.as.I.impl.F.type.loc8_24.1 (%C.as.I.impl.F.type.6ced3c.1) = struct_value () [symbolic = %C.as.I.impl.F.loc8_24.1 (constants.%C.as.I.impl.F.e9dd9d.1)] +// CHECK:STDOUT: %C.as.I.impl.F.type.loc8_24.2: type = fn_type @C.as.I.impl.F.loc8_24.2, @C.as.I.impl(%Y.loc7_15.1) [symbolic = %C.as.I.impl.F.type.loc8_24.2 (constants.%C.as.I.impl.F.type.6ced3c.2)] +// CHECK:STDOUT: %C.as.I.impl.F.loc8_24.2: @C.as.I.impl.%C.as.I.impl.F.type.loc8_24.2 (%C.as.I.impl.F.type.6ced3c.2) = struct_value () [symbolic = %C.as.I.impl.F.loc8_24.2 (constants.%C.as.I.impl.F.e9dd9d.2)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %C.loc7_25.2 as %I.ref { -// CHECK:STDOUT: %C.as.I.impl.F.decl.loc8_24.1: @C.as.I.impl.%C.as.I.impl.F.type.loc8_24.1 (%C.as.I.impl.F.type.d9ee69.1) = fn_decl @C.as.I.impl.F.loc8_24.1 [symbolic = @C.as.I.impl.%C.as.I.impl.F.loc8_24.1 (constants.%C.as.I.impl.F.d51b7c.1)] { -// CHECK:STDOUT: %x.param_patt: @C.as.I.impl.F.loc8_24.1.%pattern_type (%pattern_type.72b) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @C.as.I.impl.F.loc8_24.1.%pattern_type (%pattern_type.72b) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %C.as.I.impl.F.decl.loc8_24.1: @C.as.I.impl.%C.as.I.impl.F.type.loc8_24.1 (%C.as.I.impl.F.type.6ced3c.1) = fn_decl @C.as.I.impl.F.loc8_24.1 [symbolic = @C.as.I.impl.%C.as.I.impl.F.loc8_24.1 (constants.%C.as.I.impl.F.e9dd9d.1)] { +// CHECK:STDOUT: %x.param_patt: @C.as.I.impl.F.loc8_24.1.%pattern_type (%pattern_type.cf7) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @C.as.I.impl.F.loc8_24.1.%pattern_type (%pattern_type.cf7) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param: @C.as.I.impl.F.loc8_24.1.%C.loc8_21.1 (%C.3bcfc5.2) = value_param call_param0 -// CHECK:STDOUT: %.loc8: type = splice_block %C.loc8_21.2 [symbolic = %C.loc8_21.1 (constants.%C.3bcfc5.2)] { +// CHECK:STDOUT: %x.param: @C.as.I.impl.F.loc8_24.1.%C.loc8_21.1 (%C.bc4daf.2) = value_param call_param0 +// CHECK:STDOUT: %.loc8: type = splice_block %C.loc8_21.2 [symbolic = %C.loc8_21.1 (constants.%C.bc4daf.2)] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %Y.ref: %empty_tuple.type = name_ref Y, @C.as.I.impl.%Y.loc7_15.2 [symbolic = %Y (constants.%Y)] -// CHECK:STDOUT: %C.loc8_21.2: type = class_type @C, @C(constants.%Y) [symbolic = %C.loc8_21.1 (constants.%C.3bcfc5.2)] +// CHECK:STDOUT: %C.loc8_21.2: type = class_type @C, @C(constants.%Y) [symbolic = %C.loc8_21.1 (constants.%C.bc4daf.2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @C.as.I.impl.F.loc8_24.1.%C.loc8_21.1 (%C.3bcfc5.2) = value_binding x, %x.param +// CHECK:STDOUT: %x: @C.as.I.impl.F.loc8_24.1.%C.loc8_21.1 (%C.bc4daf.2) = value_binding x, %x.param // CHECK:STDOUT: } -// CHECK:STDOUT: %C.as.I.impl.F.decl.loc8_24.2: @C.as.I.impl.%C.as.I.impl.F.type.loc8_24.2 (%C.as.I.impl.F.type.d9ee69.2) = fn_decl @C.as.I.impl.F.loc8_24.2 [symbolic = @C.as.I.impl.%C.as.I.impl.F.loc8_24.2 (constants.%C.as.I.impl.F.d51b7c.2)] { +// CHECK:STDOUT: %C.as.I.impl.F.decl.loc8_24.2: @C.as.I.impl.%C.as.I.impl.F.type.loc8_24.2 (%C.as.I.impl.F.type.6ced3c.2) = fn_decl @C.as.I.impl.F.loc8_24.2 [symbolic = @C.as.I.impl.%C.as.I.impl.F.loc8_24.2 (constants.%C.as.I.impl.F.e9dd9d.2)] { // CHECK:STDOUT: %x.param_patt: %pattern_type.a96 = value_param_pattern [concrete] // CHECK:STDOUT: %x.patt: %pattern_type.a96 = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { @@ -270,23 +270,23 @@ fn G() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.3bcfc5.1 +// CHECK:STDOUT: .Self = constants.%C.bc4daf.1 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.cb2307.2: %I.type) [from "a.carbon"] { +// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.c42703.2: %I.type) [from "a.carbon"] { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @C.as.I.impl.F.loc8_24.1(@C.as.I.impl.%Y.loc7_15.2: %empty_tuple.type) { // CHECK:STDOUT: %Y: %empty_tuple.type = symbolic_binding Y, 0 [symbolic = %Y (constants.%Y)] -// CHECK:STDOUT: %C.loc8_21.1: type = class_type @C, @C(%Y) [symbolic = %C.loc8_21.1 (constants.%C.3bcfc5.2)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %C.loc8_21.1 [symbolic = %pattern_type (constants.%pattern_type.72b)] +// CHECK:STDOUT: %C.loc8_21.1: type = class_type @C, @C(%Y) [symbolic = %C.loc8_21.1 (constants.%C.bc4daf.2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %C.loc8_21.1 [symbolic = %pattern_type (constants.%pattern_type.cf7)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %C.loc8_21.1 [symbolic = %require_complete (constants.%require_complete)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @C.as.I.impl.F.loc8_24.1.%C.loc8_21.1 (%C.3bcfc5.2)) { +// CHECK:STDOUT: fn(%x.param: @C.as.I.impl.F.loc8_24.1.%C.loc8_21.1 (%C.bc4daf.2)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -295,38 +295,38 @@ fn G() { // CHECK:STDOUT: generic fn @C.as.I.impl.F.loc8_24.2(@C.as.I.impl.%Y.loc7_15.2: %empty_tuple.type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Y: %empty_tuple.type = symbolic_binding Y, 0 [symbolic = %Y (constants.%Y)] -// CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F.loc8_24.1, @C.as.I.impl(%Y) [symbolic = %C.as.I.impl.F.type (constants.%C.as.I.impl.F.type.d9ee69.1)] -// CHECK:STDOUT: %C.as.I.impl.F: @C.as.I.impl.F.loc8_24.2.%C.as.I.impl.F.type (%C.as.I.impl.F.type.d9ee69.1) = struct_value () [symbolic = %C.as.I.impl.F (constants.%C.as.I.impl.F.d51b7c.1)] +// CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F.loc8_24.1, @C.as.I.impl(%Y) [symbolic = %C.as.I.impl.F.type (constants.%C.as.I.impl.F.type.6ced3c.1)] +// CHECK:STDOUT: %C.as.I.impl.F: @C.as.I.impl.F.loc8_24.2.%C.as.I.impl.F.type (%C.as.I.impl.F.type.6ced3c.1) = struct_value () [symbolic = %C.as.I.impl.F (constants.%C.as.I.impl.F.e9dd9d.1)] // CHECK:STDOUT: %C.as.I.impl.F.specific_fn.loc8_24.2: = specific_function %C.as.I.impl.F, @C.as.I.impl.F.loc8_24.1(%Y) [symbolic = %C.as.I.impl.F.specific_fn.loc8_24.2 (constants.%C.as.I.impl.F.specific_fn)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%Y) [symbolic = %C (constants.%C.3bcfc5.2)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%Y) [symbolic = %C (constants.%C.bc4daf.2)] // CHECK:STDOUT: %require_complete: = require_complete_type %C [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %C.val: @C.as.I.impl.F.loc8_24.2.%C (%C.3bcfc5.2) = struct_value () [symbolic = %C.val (constants.%C.val)] -// CHECK:STDOUT: %.6: ref @C.as.I.impl.F.loc8_24.2.%C (%C.3bcfc5.2) = temporary invalid, %C.val [symbolic = %.6 (constants.%.099)] +// CHECK:STDOUT: %C.val: @C.as.I.impl.F.loc8_24.2.%C (%C.bc4daf.2) = struct_value () [symbolic = %C.val (constants.%C.val)] +// CHECK:STDOUT: %.6: ref @C.as.I.impl.F.loc8_24.2.%C (%C.bc4daf.2) = temporary invalid, %C.val [symbolic = %.6 (constants.%.2ab)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %C, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %C, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.ebb)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.cd5)] -// CHECK:STDOUT: %.7: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.7 (constants.%.c5b)] -// CHECK:STDOUT: %impl.elem0.2: @C.as.I.impl.F.loc8_24.2.%.7 (%.c5b) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.2 (constants.%impl.elem0)] -// CHECK:STDOUT: %bound_method.3: = bound_method %.6, %impl.elem0.2 [symbolic = %bound_method.3 (constants.%bound_method.c01)] +// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %C, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.526)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.d44)] +// CHECK:STDOUT: %.7: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.7 (constants.%.5d8)] +// CHECK:STDOUT: %impl.elem0.2: @C.as.I.impl.F.loc8_24.2.%.7 (%.5d8) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %bound_method.3: = bound_method %.6, %impl.elem0.2 [symbolic = %bound_method.3 (constants.%bound_method.c9f)] // CHECK:STDOUT: %specific_impl_fn.2: = specific_impl_function %impl.elem0.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.2 (constants.%specific_impl_fn)] -// CHECK:STDOUT: %bound_method.4: = bound_method %.6, %specific_impl_fn.2 [symbolic = %bound_method.4 (constants.%bound_method.8f3)] +// CHECK:STDOUT: %bound_method.4: = bound_method %.6, %specific_impl_fn.2 [symbolic = %bound_method.4 (constants.%bound_method.f94)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: %empty_struct_type) [thunk @C.as.I.impl.%C.as.I.impl.F.decl.loc8_24.1 for imports.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%I.facet)] { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %.loc8: @C.as.I.impl.F.loc8_24.2.%C.as.I.impl.F.type (%C.as.I.impl.F.type.d9ee69.1) = specific_constant @C.as.I.impl.%C.as.I.impl.F.decl.loc8_24.1, @C.as.I.impl(constants.%Y) [symbolic = %C.as.I.impl.F (constants.%C.as.I.impl.F.d51b7c.1)] -// CHECK:STDOUT: %F.ref: @C.as.I.impl.F.loc8_24.2.%C.as.I.impl.F.type (%C.as.I.impl.F.type.d9ee69.1) = name_ref F, %.loc8 [symbolic = %C.as.I.impl.F (constants.%C.as.I.impl.F.d51b7c.1)] +// CHECK:STDOUT: %.loc8: @C.as.I.impl.F.loc8_24.2.%C.as.I.impl.F.type (%C.as.I.impl.F.type.6ced3c.1) = specific_constant @C.as.I.impl.%C.as.I.impl.F.decl.loc8_24.1, @C.as.I.impl(constants.%Y) [symbolic = %C.as.I.impl.F (constants.%C.as.I.impl.F.e9dd9d.1)] +// CHECK:STDOUT: %F.ref: @C.as.I.impl.F.loc8_24.2.%C.as.I.impl.F.type (%C.as.I.impl.F.type.6ced3c.1) = name_ref F, %.loc8 [symbolic = %C.as.I.impl.F (constants.%C.as.I.impl.F.e9dd9d.1)] // CHECK:STDOUT: %C.as.I.impl.F.specific_fn.loc8_24.1: = specific_function %F.ref, @C.as.I.impl.F.loc8_24.1(constants.%Y) [symbolic = %C.as.I.impl.F.specific_fn.loc8_24.2 (constants.%C.as.I.impl.F.specific_fn)] -// CHECK:STDOUT: %.1: ref @C.as.I.impl.F.loc8_24.2.%C (%C.3bcfc5.2) = temporary_storage -// CHECK:STDOUT: %.2: init @C.as.I.impl.F.loc8_24.2.%C (%C.3bcfc5.2) to %.1 = class_init () [symbolic = %C.val (constants.%C.val)] -// CHECK:STDOUT: %.3: init @C.as.I.impl.F.loc8_24.2.%C (%C.3bcfc5.2) = converted %x.param, %.2 [symbolic = %C.val (constants.%C.val)] -// CHECK:STDOUT: %.4: ref @C.as.I.impl.F.loc8_24.2.%C (%C.3bcfc5.2) = temporary %.1, %.3 [symbolic = %.6 (constants.%.099)] -// CHECK:STDOUT: %.5: @C.as.I.impl.F.loc8_24.2.%C (%C.3bcfc5.2) = acquire_value %.4 [symbolic = %C.val (constants.%C.val)] +// CHECK:STDOUT: %.1: ref @C.as.I.impl.F.loc8_24.2.%C (%C.bc4daf.2) = temporary_storage +// CHECK:STDOUT: %.2: init @C.as.I.impl.F.loc8_24.2.%C (%C.bc4daf.2) to %.1 = class_init () [symbolic = %C.val (constants.%C.val)] +// CHECK:STDOUT: %.3: init @C.as.I.impl.F.loc8_24.2.%C (%C.bc4daf.2) = converted %x.param, %.2 [symbolic = %C.val (constants.%C.val)] +// CHECK:STDOUT: %.4: ref @C.as.I.impl.F.loc8_24.2.%C (%C.bc4daf.2) = temporary %.1, %.3 [symbolic = %.6 (constants.%.2ab)] +// CHECK:STDOUT: %.5: @C.as.I.impl.F.loc8_24.2.%C (%C.bc4daf.2) = acquire_value %.4 [symbolic = %C.val (constants.%C.val)] // CHECK:STDOUT: %C.as.I.impl.F.call: init %empty_tuple.type = call %C.as.I.impl.F.specific_fn.loc8_24.1(%.5) -// CHECK:STDOUT: %Op.ref: %Destroy.assoc_type = name_ref Op, imports.%Core.import_ref.d15 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.1: @C.as.I.impl.F.loc8_24.2.%.7 (%.c5b) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.2 (constants.%impl.elem0)] -// CHECK:STDOUT: %bound_method.1: = bound_method %.4, %impl.elem0.1 [symbolic = %bound_method.3 (constants.%bound_method.c01)] -// CHECK:STDOUT: %specific_impl_fn.1: = specific_impl_function %impl.elem0.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.ebb) [symbolic = %specific_impl_fn.2 (constants.%specific_impl_fn)] -// CHECK:STDOUT: %bound_method.2: = bound_method %.4, %specific_impl_fn.1 [symbolic = %bound_method.4 (constants.%bound_method.8f3)] +// CHECK:STDOUT: %Op.ref: %Destroy.assoc_type = name_ref Op, imports.%Core.import_ref.8fe [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0.1: @C.as.I.impl.F.loc8_24.2.%.7 (%.5d8) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %bound_method.1: = bound_method %.4, %impl.elem0.1 [symbolic = %bound_method.3 (constants.%bound_method.c9f)] +// CHECK:STDOUT: %specific_impl_fn.1: = specific_impl_function %impl.elem0.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.526) [symbolic = %specific_impl_fn.2 (constants.%specific_impl_fn)] +// CHECK:STDOUT: %bound_method.2: = bound_method %.4, %specific_impl_fn.1 [symbolic = %bound_method.4 (constants.%bound_method.f94)] // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.2(%.4) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -344,31 +344,31 @@ fn G() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.149) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.2e1) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.149 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.987 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.e0c +// CHECK:STDOUT: %Self => constants.%Self.2e1 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a52 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.08d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.149) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.2e1) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl(constants.%Y) { // CHECK:STDOUT: %Y.loc7_15.1 => constants.%Y -// CHECK:STDOUT: %C.loc7_25.1 => constants.%C.3bcfc5.2 +// CHECK:STDOUT: %C.loc7_25.1 => constants.%C.bc4daf.2 // CHECK:STDOUT: %I.impl_witness.loc7_32.2 => constants.%I.impl_witness // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.as.I.impl.F.type.loc8_24.1 => constants.%C.as.I.impl.F.type.d9ee69.1 -// CHECK:STDOUT: %C.as.I.impl.F.loc8_24.1 => constants.%C.as.I.impl.F.d51b7c.1 -// CHECK:STDOUT: %C.as.I.impl.F.type.loc8_24.2 => constants.%C.as.I.impl.F.type.d9ee69.2 -// CHECK:STDOUT: %C.as.I.impl.F.loc8_24.2 => constants.%C.as.I.impl.F.d51b7c.2 +// CHECK:STDOUT: %C.as.I.impl.F.type.loc8_24.1 => constants.%C.as.I.impl.F.type.6ced3c.1 +// CHECK:STDOUT: %C.as.I.impl.F.loc8_24.1 => constants.%C.as.I.impl.F.e9dd9d.1 +// CHECK:STDOUT: %C.as.I.impl.F.type.loc8_24.2 => constants.%C.as.I.impl.F.type.6ced3c.2 +// CHECK:STDOUT: %C.as.I.impl.F.loc8_24.2 => constants.%C.as.I.impl.F.e9dd9d.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl.F.loc8_24.1(constants.%Y) { // CHECK:STDOUT: %Y => constants.%Y -// CHECK:STDOUT: %C.loc8_21.1 => constants.%C.3bcfc5.2 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.72b +// CHECK:STDOUT: %C.loc8_21.1 => constants.%C.bc4daf.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.cf7 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete @@ -377,8 +377,8 @@ fn G() { // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.35d -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.080 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.372 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.c78 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet) {} @@ -397,84 +397,84 @@ fn G() { // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %X: %empty_tuple.type = symbolic_binding X, 0 [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %C.552: type = class_type @C, @C(%empty_tuple) [concrete] +// CHECK:STDOUT: %C.1f1: type = class_type @C, @C(%empty_tuple) [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.f09: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.2a6: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.f09) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.7ee: %I.WithSelf.F.type.2a6 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.2e1: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.a52: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.2e1) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.08d: %I.WithSelf.F.type.a52 = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.0ee: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.fec [concrete] +// CHECK:STDOUT: %assoc0.210: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.50e [concrete] // CHECK:STDOUT: %Y: %empty_tuple.type = symbolic_binding Y, 0 [symbolic] -// CHECK:STDOUT: %C.fc90b4.2: type = class_type @C, @C(%Y) [symbolic] -// CHECK:STDOUT: %I.impl_witness.245: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl(%Y) [symbolic] -// CHECK:STDOUT: %C.as.I.impl.F.type.f47c5a.1: type = fn_type @C.as.I.impl.F.1, @C.as.I.impl(%Y) [symbolic] -// CHECK:STDOUT: %C.as.I.impl.F.740c07.1: %C.as.I.impl.F.type.f47c5a.1 = struct_value () [symbolic] -// CHECK:STDOUT: %C.as.I.impl.F.type.f47c5a.2: type = fn_type @C.as.I.impl.F.2, @C.as.I.impl(%Y) [symbolic] -// CHECK:STDOUT: %C.as.I.impl.F.740c07.2: %C.as.I.impl.F.type.f47c5a.2 = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.d1a: type = pattern_type %C.fc90b4.2 [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %C.fc90b4.2 [symbolic] -// CHECK:STDOUT: %I.facet.5ba: %I.type = facet_value %C.fc90b4.2, (%I.impl_witness.245) [symbolic] +// CHECK:STDOUT: %C.bc4daf.2: type = class_type @C, @C(%Y) [symbolic] +// CHECK:STDOUT: %I.impl_witness.a67: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl(%Y) [symbolic] +// CHECK:STDOUT: %C.as.I.impl.F.type.34ddf1.1: type = fn_type @C.as.I.impl.F.1, @C.as.I.impl(%Y) [symbolic] +// CHECK:STDOUT: %C.as.I.impl.F.045a88.1: %C.as.I.impl.F.type.34ddf1.1 = struct_value () [symbolic] +// CHECK:STDOUT: %C.as.I.impl.F.type.34ddf1.2: type = fn_type @C.as.I.impl.F.2, @C.as.I.impl(%Y) [symbolic] +// CHECK:STDOUT: %C.as.I.impl.F.045a88.2: %C.as.I.impl.F.type.34ddf1.2 = struct_value () [symbolic] +// CHECK:STDOUT: %pattern_type.cf7: type = pattern_type %C.bc4daf.2 [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %C.bc4daf.2 [symbolic] +// CHECK:STDOUT: %I.facet.ffb: %I.type = facet_value %C.bc4daf.2, (%I.impl_witness.a67) [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %C.fc90b4.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.a9e: %Destroy.type = facet_value %C.fc90b4.2, (%Destroy.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.580: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.a9e) [symbolic] -// CHECK:STDOUT: %.99d: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.580, %Destroy.facet.a9e [symbolic] -// CHECK:STDOUT: %impl.elem0: %.99d = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Destroy.WithSelf.Op(%Destroy.facet.a9e) [symbolic] -// CHECK:STDOUT: %C.val.7c3: %C.fc90b4.2 = struct_value () [symbolic] -// CHECK:STDOUT: %.1a7: ref %C.fc90b4.2 = temporary invalid, %C.val.7c3 [symbolic] -// CHECK:STDOUT: %bound_method.8b5: = bound_method %.1a7, %specific_impl_fn [symbolic] -// CHECK:STDOUT: %bound_method.33a: = bound_method %.1a7, %impl.elem0 [symbolic] -// CHECK:STDOUT: %C.as.I.impl.F.specific_fn.edf: = specific_function %C.as.I.impl.F.740c07.2, @C.as.I.impl.F.2(%Y) [symbolic] -// CHECK:STDOUT: %I.impl_witness.96a: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl(%empty_tuple) [concrete] -// CHECK:STDOUT: %C.as.I.impl.F.type.ab6958.1: type = fn_type @C.as.I.impl.F.2, @C.as.I.impl(%empty_tuple) [concrete] -// CHECK:STDOUT: %C.as.I.impl.F.e7ba19.1: %C.as.I.impl.F.type.ab6958.1 = struct_value () [concrete] -// CHECK:STDOUT: %C.as.I.impl.F.type.ab6958.2: type = fn_type @C.as.I.impl.F.1, @C.as.I.impl(%empty_tuple) [concrete] -// CHECK:STDOUT: %C.as.I.impl.F.e7ba19.2: %C.as.I.impl.F.type.ab6958.2 = struct_value () [concrete] -// CHECK:STDOUT: %I.facet.1a2: %I.type = facet_value %C.552, (%I.impl_witness.96a) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.a8f: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.1a2) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.0a6: %I.WithSelf.F.type.a8f = struct_value () [concrete] -// CHECK:STDOUT: %.353: type = fn_type_with_self_type %I.WithSelf.F.type.a8f, %I.facet.1a2 [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %C.bc4daf.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.ead: %Destroy.type = facet_value %C.bc4daf.2, (%Destroy.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.d15: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.ead) [symbolic] +// CHECK:STDOUT: %.bce: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.d15, %Destroy.facet.ead [symbolic] +// CHECK:STDOUT: %impl.elem0: %.bce = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Destroy.WithSelf.Op(%Destroy.facet.ead) [symbolic] +// CHECK:STDOUT: %C.val.8c7: %C.bc4daf.2 = struct_value () [symbolic] +// CHECK:STDOUT: %.2ab: ref %C.bc4daf.2 = temporary invalid, %C.val.8c7 [symbolic] +// CHECK:STDOUT: %bound_method.f29: = bound_method %.2ab, %specific_impl_fn [symbolic] +// CHECK:STDOUT: %bound_method.c63: = bound_method %.2ab, %impl.elem0 [symbolic] +// CHECK:STDOUT: %C.as.I.impl.F.specific_fn.02a: = specific_function %C.as.I.impl.F.045a88.2, @C.as.I.impl.F.2(%Y) [symbolic] +// CHECK:STDOUT: %I.impl_witness.248: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl(%empty_tuple) [concrete] +// CHECK:STDOUT: %C.as.I.impl.F.type.8c866e.1: type = fn_type @C.as.I.impl.F.2, @C.as.I.impl(%empty_tuple) [concrete] +// CHECK:STDOUT: %C.as.I.impl.F.ce07f5.1: %C.as.I.impl.F.type.8c866e.1 = struct_value () [concrete] +// CHECK:STDOUT: %C.as.I.impl.F.type.8c866e.2: type = fn_type @C.as.I.impl.F.1, @C.as.I.impl(%empty_tuple) [concrete] +// CHECK:STDOUT: %C.as.I.impl.F.ce07f5.2: %C.as.I.impl.F.type.8c866e.2 = struct_value () [concrete] +// CHECK:STDOUT: %I.facet.7ed: %I.type = facet_value %C.1f1, (%I.impl_witness.248) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.300: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.7ed) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.41d: %I.WithSelf.F.type.300 = struct_value () [concrete] +// CHECK:STDOUT: %.c4b: type = fn_type_with_self_type %I.WithSelf.F.type.300, %I.facet.7ed [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %C.as.I.impl.F.specific_fn.c89202.1: = specific_function %C.as.I.impl.F.e7ba19.2, @C.as.I.impl.F.1(%empty_tuple) [concrete] -// CHECK:STDOUT: %pattern_type.003: type = pattern_type %C.552 [concrete] -// CHECK:STDOUT: %C.as.I.impl.F.specific_fn.c89202.2: = specific_function %C.as.I.impl.F.e7ba19.1, @C.as.I.impl.F.2(%empty_tuple) [concrete] -// CHECK:STDOUT: %C.val.f31: %C.552 = struct_value () [concrete] -// CHECK:STDOUT: %.33d: ref %C.552 = temporary invalid, %C.val.f31 [concrete] +// CHECK:STDOUT: %C.as.I.impl.F.specific_fn.5c992b.1: = specific_function %C.as.I.impl.F.ce07f5.2, @C.as.I.impl.F.1(%empty_tuple) [concrete] +// CHECK:STDOUT: %pattern_type.1e7: type = pattern_type %C.1f1 [concrete] +// CHECK:STDOUT: %C.as.I.impl.F.specific_fn.5c992b.2: = specific_function %C.as.I.impl.F.ce07f5.1, @C.as.I.impl.F.2(%empty_tuple) [concrete] +// CHECK:STDOUT: %C.val.8c8: %C.1f1 = struct_value () [concrete] +// CHECK:STDOUT: %.269: ref %C.1f1 = temporary invalid, %C.val.8c8 [concrete] // CHECK:STDOUT: %Destroy.Op.type.43d658.2: type = fn_type @Destroy.Op.loc7_16.2 [concrete] // CHECK:STDOUT: %Destroy.Op.cc70d5.2: %Destroy.Op.type.43d658.2 = struct_value () [concrete] // CHECK:STDOUT: %custom_witness.bf6668.2: = custom_witness (%Destroy.Op.cc70d5.2), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.731: %Destroy.type = facet_value %C.552, (%custom_witness.bf6668.2) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.d96: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.731) [concrete] -// CHECK:STDOUT: %.bd9: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.d96, %Destroy.facet.731 [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.33d, %Destroy.Op.cc70d5.2 [concrete] +// CHECK:STDOUT: %Destroy.facet.a59: %Destroy.type = facet_value %C.1f1, (%custom_witness.bf6668.2) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.768: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.a59) [concrete] +// CHECK:STDOUT: %.ddd: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.768, %Destroy.facet.a59 [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.269, %Destroy.Op.cc70d5.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//a, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.C: %C.type = import_ref Main//b, C, loaded [concrete = constants.%C.generic] -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .Destroy = %Core.Destroy // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//b, loc5_18, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.455 = import_ref Main//b, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.1cc = import_ref Main//b, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Main.import_ref.c90e1a.1: %empty_tuple.type = import_ref Main//b, loc5_10, loaded [symbolic = @C.%X (constants.%X)] -// CHECK:STDOUT: %Main.import_ref.aaf: %I.assoc_type = import_ref Main//a, loc5_14, loaded [concrete = constants.%assoc0.0ee] -// CHECK:STDOUT: %Main.F.f2d = import_ref Main//a, F, unloaded -// CHECK:STDOUT: %I.WithSelf.F.decl: %I.WithSelf.F.type.2a6 = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.7ee)] {} {} -// CHECK:STDOUT: %Main.import_ref.ad5f87.2: %I.type = import_ref Main//a, loc4_13, loaded [symbolic = constants.%Self.f09] -// CHECK:STDOUT: %Main.import_ref.728 = import_ref Main//a, loc4_13, unloaded -// CHECK:STDOUT: %Main.import_ref.fec: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.2a6) = import_ref Main//a, loc5_14, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.7ee)] -// CHECK:STDOUT: %Main.import_ref.14b: = import_ref Main//b, loc7_32, loaded [symbolic = @C.as.I.impl.%I.impl_witness (constants.%I.impl_witness.245)] -// CHECK:STDOUT: %Main.import_ref.e67: @C.as.I.impl.%C.as.I.impl.F.type.2 (%C.as.I.impl.F.type.f47c5a.1) = import_ref Main//b, loc8_24, loaded [symbolic = @C.as.I.impl.%C.as.I.impl.F.2 (constants.%C.as.I.impl.F.740c07.1)] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.e67), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.a47: %I.assoc_type = import_ref Main//a, loc5_14, loaded [concrete = constants.%assoc0.210] +// CHECK:STDOUT: %Main.F.e43 = import_ref Main//a, F, unloaded +// CHECK:STDOUT: %I.WithSelf.F.decl: %I.WithSelf.F.type.a52 = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.08d)] {} {} +// CHECK:STDOUT: %Main.import_ref.c42703.2: %I.type = import_ref Main//a, loc4_13, loaded [symbolic = constants.%Self.2e1] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//a, loc4_13, unloaded +// CHECK:STDOUT: %Main.import_ref.50e: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.a52) = import_ref Main//a, loc5_14, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.08d)] +// CHECK:STDOUT: %Main.import_ref.bb4: = import_ref Main//b, loc7_32, loaded [symbolic = @C.as.I.impl.%I.impl_witness (constants.%I.impl_witness.a67)] +// CHECK:STDOUT: %Main.import_ref.a8e: @C.as.I.impl.%C.as.I.impl.F.type.2 (%C.as.I.impl.F.type.34ddf1.1) = import_ref Main//b, loc8_24, loaded [symbolic = @C.as.I.impl.%C.as.I.impl.F.2 (constants.%C.as.I.impl.F.045a88.1)] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.a8e), @C.as.I.impl [concrete] // CHECK:STDOUT: %Main.import_ref.c90e1a.2: %empty_tuple.type = import_ref Main//b, loc7_15, loaded [symbolic = @C.as.I.impl.%Y (constants.%Y)] -// CHECK:STDOUT: %Main.F.1a8: @C.as.I.impl.%C.as.I.impl.F.type.1 (%C.as.I.impl.F.type.f47c5a.2) = import_ref Main//b, F, loaded [symbolic = @C.as.I.impl.%C.as.I.impl.F.1 (constants.%C.as.I.impl.F.740c07.2)] +// CHECK:STDOUT: %Main.F.6d6: @C.as.I.impl.%C.as.I.impl.F.type.1 (%C.as.I.impl.F.type.34ddf1.2) = import_ref Main//b, F, loaded [symbolic = @C.as.I.impl.%C.as.I.impl.F.1 (constants.%C.as.I.impl.F.045a88.2)] // CHECK:STDOUT: %Main.import_ref.c90e1a.3: %empty_tuple.type = import_ref Main//b, loc7_15, loaded [symbolic = @C.as.I.impl.%Y (constants.%Y)] -// CHECK:STDOUT: %Main.import_ref.6ba: type = import_ref Main//b, loc7_25, loaded [symbolic = @C.as.I.impl.%C (constants.%C.fc90b4.2)] -// CHECK:STDOUT: %Main.import_ref.222: type = import_ref Main//b, loc7_30, loaded [concrete = constants.%I.type] +// CHECK:STDOUT: %Main.import_ref.9fe: type = import_ref Main//b, loc7_25, loaded [symbolic = @C.as.I.impl.%C (constants.%C.bc4daf.2)] +// CHECK:STDOUT: %Main.import_ref.0e9: type = import_ref Main//b, loc7_30, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.import_ref.c90e1a.4: %empty_tuple.type = import_ref Main//b, loc7_15, loaded [symbolic = @C.as.I.impl.%Y (constants.%Y)] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } @@ -483,7 +483,7 @@ fn G() { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .I = imports.%Main.I // CHECK:STDOUT: .C = imports.%Main.C -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .G = %G.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core @@ -493,27 +493,27 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.728 -// CHECK:STDOUT: .F = imports.%Main.import_ref.aaf -// CHECK:STDOUT: witness = (imports.%Main.F.f2d) +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .F = imports.%Main.import_ref.a47 +// CHECK:STDOUT: witness = (imports.%Main.F.e43) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(imports.%Main.import_ref.c90e1a.4: %empty_tuple.type) [from "b.carbon"] { // CHECK:STDOUT: %Y: %empty_tuple.type = symbolic_binding Y, 0 [symbolic = %Y (constants.%Y)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%Y) [symbolic = %C (constants.%C.fc90b4.2)] -// CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl(%Y) [symbolic = %I.impl_witness (constants.%I.impl_witness.245)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%Y) [symbolic = %C (constants.%C.bc4daf.2)] +// CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl(%Y) [symbolic = %I.impl_witness (constants.%I.impl_witness.a67)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.as.I.impl.F.type.1: type = fn_type @C.as.I.impl.F.2, @C.as.I.impl(%Y) [symbolic = %C.as.I.impl.F.type.1 (constants.%C.as.I.impl.F.type.f47c5a.2)] -// CHECK:STDOUT: %C.as.I.impl.F.1: @C.as.I.impl.%C.as.I.impl.F.type.1 (%C.as.I.impl.F.type.f47c5a.2) = struct_value () [symbolic = %C.as.I.impl.F.1 (constants.%C.as.I.impl.F.740c07.2)] -// CHECK:STDOUT: %C.as.I.impl.F.type.2: type = fn_type @C.as.I.impl.F.1, @C.as.I.impl(%Y) [symbolic = %C.as.I.impl.F.type.2 (constants.%C.as.I.impl.F.type.f47c5a.1)] -// CHECK:STDOUT: %C.as.I.impl.F.2: @C.as.I.impl.%C.as.I.impl.F.type.2 (%C.as.I.impl.F.type.f47c5a.1) = struct_value () [symbolic = %C.as.I.impl.F.2 (constants.%C.as.I.impl.F.740c07.1)] +// CHECK:STDOUT: %C.as.I.impl.F.type.1: type = fn_type @C.as.I.impl.F.2, @C.as.I.impl(%Y) [symbolic = %C.as.I.impl.F.type.1 (constants.%C.as.I.impl.F.type.34ddf1.2)] +// CHECK:STDOUT: %C.as.I.impl.F.1: @C.as.I.impl.%C.as.I.impl.F.type.1 (%C.as.I.impl.F.type.34ddf1.2) = struct_value () [symbolic = %C.as.I.impl.F.1 (constants.%C.as.I.impl.F.045a88.2)] +// CHECK:STDOUT: %C.as.I.impl.F.type.2: type = fn_type @C.as.I.impl.F.1, @C.as.I.impl(%Y) [symbolic = %C.as.I.impl.F.type.2 (constants.%C.as.I.impl.F.type.34ddf1.1)] +// CHECK:STDOUT: %C.as.I.impl.F.2: @C.as.I.impl.%C.as.I.impl.F.type.2 (%C.as.I.impl.F.type.34ddf1.1) = struct_value () [symbolic = %C.as.I.impl.F.2 (constants.%C.as.I.impl.F.045a88.1)] // CHECK:STDOUT: -// CHECK:STDOUT: impl: imports.%Main.import_ref.6ba as imports.%Main.import_ref.222 { +// CHECK:STDOUT: impl: imports.%Main.import_ref.9fe as imports.%Main.import_ref.0e9 { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.14b +// CHECK:STDOUT: witness = imports.%Main.import_ref.bb4 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -526,7 +526,7 @@ fn G() { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.455 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.1cc // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -536,59 +536,59 @@ fn G() { // CHECK:STDOUT: %.loc7_6: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_7: %empty_tuple.type = converted %.loc7_6, %empty_tuple [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%empty_tuple) [concrete = constants.%C.552] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%empty_tuple) [concrete = constants.%C.1f1] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] -// CHECK:STDOUT: %F.ref.loc7_11: %I.assoc_type = name_ref F, imports.%Main.import_ref.aaf [concrete = constants.%assoc0.0ee] -// CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (constants.%I.impl_witness.96a) [concrete = constants.%I.facet.1a2] -// CHECK:STDOUT: %.loc7_8: %I.type = converted %C, %I.facet [concrete = constants.%I.facet.1a2] -// CHECK:STDOUT: %impl.elem0: %.353 = impl_witness_access constants.%I.impl_witness.96a, element0 [concrete = constants.%C.as.I.impl.F.e7ba19.2] +// CHECK:STDOUT: %F.ref.loc7_11: %I.assoc_type = name_ref F, imports.%Main.import_ref.a47 [concrete = constants.%assoc0.210] +// CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (constants.%I.impl_witness.248) [concrete = constants.%I.facet.7ed] +// CHECK:STDOUT: %.loc7_8: %I.type = converted %C, %I.facet [concrete = constants.%I.facet.7ed] +// CHECK:STDOUT: %impl.elem0: %.c4b = impl_witness_access constants.%I.impl_witness.248, element0 [concrete = constants.%C.as.I.impl.F.ce07f5.2] // CHECK:STDOUT: %.loc7_16.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @C.as.I.impl.F.1(constants.%empty_tuple) [concrete = constants.%C.as.I.impl.F.specific_fn.c89202.1] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @C.as.I.impl.F.1(constants.%empty_tuple) [concrete = constants.%C.as.I.impl.F.specific_fn.5c992b.1] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc7_16.2: %empty_struct_type = converted %.loc7_16.1, %empty_struct [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc7_17: %C.as.I.impl.F.type.ab6958.1 = specific_constant imports.%Main.F.1a8, @C.as.I.impl(constants.%empty_tuple) [concrete = constants.%C.as.I.impl.F.e7ba19.1] -// CHECK:STDOUT: %F.ref.loc7_17: %C.as.I.impl.F.type.ab6958.1 = name_ref F, %.loc7_17 [concrete = constants.%C.as.I.impl.F.e7ba19.1] -// CHECK:STDOUT: %C.as.I.impl.F.specific_fn: = specific_function %F.ref.loc7_17, @C.as.I.impl.F.2(constants.%empty_tuple) [concrete = constants.%C.as.I.impl.F.specific_fn.c89202.2] -// CHECK:STDOUT: %.loc7_16.3: ref %C.552 = temporary_storage -// CHECK:STDOUT: %.loc7_16.4: init %C.552 to %.loc7_16.3 = class_init () [concrete = constants.%C.val.f31] -// CHECK:STDOUT: %.loc7_16.5: init %C.552 = converted %.loc7_16.2, %.loc7_16.4 [concrete = constants.%C.val.f31] -// CHECK:STDOUT: %.loc7_16.6: ref %C.552 = temporary %.loc7_16.3, %.loc7_16.5 [concrete = constants.%.33d] -// CHECK:STDOUT: %.loc7_16.7: %C.552 = acquire_value %.loc7_16.6 [concrete = constants.%C.val.f31] +// CHECK:STDOUT: %.loc7_17: %C.as.I.impl.F.type.8c866e.1 = specific_constant imports.%Main.F.6d6, @C.as.I.impl(constants.%empty_tuple) [concrete = constants.%C.as.I.impl.F.ce07f5.1] +// CHECK:STDOUT: %F.ref.loc7_17: %C.as.I.impl.F.type.8c866e.1 = name_ref F, %.loc7_17 [concrete = constants.%C.as.I.impl.F.ce07f5.1] +// CHECK:STDOUT: %C.as.I.impl.F.specific_fn: = specific_function %F.ref.loc7_17, @C.as.I.impl.F.2(constants.%empty_tuple) [concrete = constants.%C.as.I.impl.F.specific_fn.5c992b.2] +// CHECK:STDOUT: %.loc7_16.3: ref %C.1f1 = temporary_storage +// CHECK:STDOUT: %.loc7_16.4: init %C.1f1 to %.loc7_16.3 = class_init () [concrete = constants.%C.val.8c8] +// CHECK:STDOUT: %.loc7_16.5: init %C.1f1 = converted %.loc7_16.2, %.loc7_16.4 [concrete = constants.%C.val.8c8] +// CHECK:STDOUT: %.loc7_16.6: ref %C.1f1 = temporary %.loc7_16.3, %.loc7_16.5 [concrete = constants.%.269] +// CHECK:STDOUT: %.loc7_16.7: %C.1f1 = acquire_value %.loc7_16.6 [concrete = constants.%C.val.8c8] // CHECK:STDOUT: %C.as.I.impl.F.call: init %empty_tuple.type = call %C.as.I.impl.F.specific_fn(%.loc7_16.7) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.33d) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.269) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.ad5f87.2: %I.type) [from "a.carbon"] { +// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.c42703.2: %I.type) [from "a.carbon"] { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @C.as.I.impl.F.1(imports.%Main.import_ref.c90e1a.3: %empty_tuple.type) [from "b.carbon"] { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Y: %empty_tuple.type = symbolic_binding Y, 0 [symbolic = %Y (constants.%Y)] -// CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F.2, @C.as.I.impl(%Y) [symbolic = %C.as.I.impl.F.type (constants.%C.as.I.impl.F.type.f47c5a.2)] -// CHECK:STDOUT: %C.as.I.impl.F: @C.as.I.impl.F.1.%C.as.I.impl.F.type (%C.as.I.impl.F.type.f47c5a.2) = struct_value () [symbolic = %C.as.I.impl.F (constants.%C.as.I.impl.F.740c07.2)] -// CHECK:STDOUT: %C.as.I.impl.F.specific_fn: = specific_function %C.as.I.impl.F, @C.as.I.impl.F.2(%Y) [symbolic = %C.as.I.impl.F.specific_fn (constants.%C.as.I.impl.F.specific_fn.edf)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%Y) [symbolic = %C (constants.%C.fc90b4.2)] +// CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F.2, @C.as.I.impl(%Y) [symbolic = %C.as.I.impl.F.type (constants.%C.as.I.impl.F.type.34ddf1.2)] +// CHECK:STDOUT: %C.as.I.impl.F: @C.as.I.impl.F.1.%C.as.I.impl.F.type (%C.as.I.impl.F.type.34ddf1.2) = struct_value () [symbolic = %C.as.I.impl.F (constants.%C.as.I.impl.F.045a88.2)] +// CHECK:STDOUT: %C.as.I.impl.F.specific_fn: = specific_function %C.as.I.impl.F, @C.as.I.impl.F.2(%Y) [symbolic = %C.as.I.impl.F.specific_fn (constants.%C.as.I.impl.F.specific_fn.02a)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%Y) [symbolic = %C (constants.%C.bc4daf.2)] // CHECK:STDOUT: %require_complete: = require_complete_type %C [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %C.val: @C.as.I.impl.F.1.%C (%C.fc90b4.2) = struct_value () [symbolic = %C.val (constants.%C.val.7c3)] -// CHECK:STDOUT: %.1: ref @C.as.I.impl.F.1.%C (%C.fc90b4.2) = temporary invalid, %C.val [symbolic = %.1 (constants.%.1a7)] +// CHECK:STDOUT: %C.val: @C.as.I.impl.F.1.%C (%C.bc4daf.2) = struct_value () [symbolic = %C.val (constants.%C.val.8c7)] +// CHECK:STDOUT: %.1: ref @C.as.I.impl.F.1.%C (%C.bc4daf.2) = temporary invalid, %C.val [symbolic = %.1 (constants.%.2ab)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %C, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %C, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.a9e)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.580)] -// CHECK:STDOUT: %.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.2 (constants.%.99d)] -// CHECK:STDOUT: %impl.elem0: @C.as.I.impl.F.1.%.2 (%.99d) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0)] -// CHECK:STDOUT: %bound_method.1: = bound_method %.1, %impl.elem0 [symbolic = %bound_method.1 (constants.%bound_method.33a)] +// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %C, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.ead)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.d15)] +// CHECK:STDOUT: %.2: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.2 (constants.%.bce)] +// CHECK:STDOUT: %impl.elem0: @C.as.I.impl.F.1.%.2 (%.bce) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0 (constants.%impl.elem0)] +// CHECK:STDOUT: %bound_method.1: = bound_method %.1, %impl.elem0 [symbolic = %bound_method.1 (constants.%bound_method.c63)] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn (constants.%specific_impl_fn)] -// CHECK:STDOUT: %bound_method.2: = bound_method %.1, %specific_impl_fn [symbolic = %bound_method.2 (constants.%bound_method.8b5)] +// CHECK:STDOUT: %bound_method.2: = bound_method %.1, %specific_impl_fn [symbolic = %bound_method.2 (constants.%bound_method.f29)] // CHECK:STDOUT: -// CHECK:STDOUT: fn [thunk imports.%Main.F.1a8 for imports.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%I.facet.5ba)]; +// CHECK:STDOUT: fn [thunk imports.%Main.F.6d6 for imports.%I.WithSelf.F.decl, @I.WithSelf.F(constants.%I.facet.ffb)]; // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @C.as.I.impl.F.2(imports.%Main.import_ref.c90e1a.2: %empty_tuple.type) [from "b.carbon"] { // CHECK:STDOUT: %Y: %empty_tuple.type = symbolic_binding Y, 0 [symbolic = %Y (constants.%Y)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%Y) [symbolic = %C (constants.%C.fc90b4.2)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %C [symbolic = %pattern_type (constants.%pattern_type.d1a)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%Y) [symbolic = %C (constants.%C.bc4daf.2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %C [symbolic = %pattern_type (constants.%pattern_type.cf7)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %C [symbolic = %require_complete (constants.%require_complete)] @@ -598,7 +598,7 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_16.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc7_16.2(%self.param: ref %C.552) { +// CHECK:STDOUT: fn @Destroy.Op.loc7_16.2(%self.param: ref %C.1f1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -613,14 +613,14 @@ fn G() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.f09) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.2e1) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.f09 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.2a6 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.7ee +// CHECK:STDOUT: %Self => constants.%Self.2e1 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a52 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.08d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.f09) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.2e1) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%Y) { // CHECK:STDOUT: %X => constants.%Y @@ -630,62 +630,62 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl(constants.%Y) { // CHECK:STDOUT: %Y => constants.%Y -// CHECK:STDOUT: %C => constants.%C.fc90b4.2 -// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.245 +// CHECK:STDOUT: %C => constants.%C.bc4daf.2 +// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.a67 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.as.I.impl.F.type.1 => constants.%C.as.I.impl.F.type.f47c5a.2 -// CHECK:STDOUT: %C.as.I.impl.F.1 => constants.%C.as.I.impl.F.740c07.2 -// CHECK:STDOUT: %C.as.I.impl.F.type.2 => constants.%C.as.I.impl.F.type.f47c5a.1 -// CHECK:STDOUT: %C.as.I.impl.F.2 => constants.%C.as.I.impl.F.740c07.1 +// CHECK:STDOUT: %C.as.I.impl.F.type.1 => constants.%C.as.I.impl.F.type.34ddf1.2 +// CHECK:STDOUT: %C.as.I.impl.F.1 => constants.%C.as.I.impl.F.045a88.2 +// CHECK:STDOUT: %C.as.I.impl.F.type.2 => constants.%C.as.I.impl.F.type.34ddf1.1 +// CHECK:STDOUT: %C.as.I.impl.F.2 => constants.%C.as.I.impl.F.045a88.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl.F.2(constants.%Y) { // CHECK:STDOUT: %Y => constants.%Y -// CHECK:STDOUT: %C => constants.%C.fc90b4.2 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d1a +// CHECK:STDOUT: %C => constants.%C.bc4daf.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.cf7 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.5ba) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.ffb) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl.F.1(constants.%Y) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl(constants.%empty_tuple) { // CHECK:STDOUT: %Y => constants.%empty_tuple -// CHECK:STDOUT: %C => constants.%C.552 -// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.96a +// CHECK:STDOUT: %C => constants.%C.1f1 +// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.248 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.as.I.impl.F.type.1 => constants.%C.as.I.impl.F.type.ab6958.1 -// CHECK:STDOUT: %C.as.I.impl.F.1 => constants.%C.as.I.impl.F.e7ba19.1 -// CHECK:STDOUT: %C.as.I.impl.F.type.2 => constants.%C.as.I.impl.F.type.ab6958.2 -// CHECK:STDOUT: %C.as.I.impl.F.2 => constants.%C.as.I.impl.F.e7ba19.2 +// CHECK:STDOUT: %C.as.I.impl.F.type.1 => constants.%C.as.I.impl.F.type.8c866e.1 +// CHECK:STDOUT: %C.as.I.impl.F.1 => constants.%C.as.I.impl.F.ce07f5.1 +// CHECK:STDOUT: %C.as.I.impl.F.type.2 => constants.%C.as.I.impl.F.type.8c866e.2 +// CHECK:STDOUT: %C.as.I.impl.F.2 => constants.%C.as.I.impl.F.ce07f5.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.1a2) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.7ed) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.1a2 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a8f -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.0a6 +// CHECK:STDOUT: %Self => constants.%I.facet.7ed +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.300 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.41d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl.F.1(constants.%empty_tuple) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Y => constants.%empty_tuple -// CHECK:STDOUT: %C.as.I.impl.F.type => constants.%C.as.I.impl.F.type.ab6958.1 -// CHECK:STDOUT: %C.as.I.impl.F => constants.%C.as.I.impl.F.e7ba19.1 -// CHECK:STDOUT: %C.as.I.impl.F.specific_fn => constants.%C.as.I.impl.F.specific_fn.c89202.2 -// CHECK:STDOUT: %C => constants.%C.552 +// CHECK:STDOUT: %C.as.I.impl.F.type => constants.%C.as.I.impl.F.type.8c866e.1 +// CHECK:STDOUT: %C.as.I.impl.F => constants.%C.as.I.impl.F.ce07f5.1 +// CHECK:STDOUT: %C.as.I.impl.F.specific_fn => constants.%C.as.I.impl.F.specific_fn.5c992b.2 +// CHECK:STDOUT: %C => constants.%C.1f1 // CHECK:STDOUT: %require_complete => constants.%complete_type -// CHECK:STDOUT: %C.val => constants.%C.val.f31 -// CHECK:STDOUT: %.1 => constants.%.33d +// CHECK:STDOUT: %C.val => constants.%C.val.8c8 +// CHECK:STDOUT: %.1 => constants.%.269 // CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.bf6668.2 -// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.731 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.d96 -// CHECK:STDOUT: %.2 => constants.%.bd9 +// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.a59 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.768 +// CHECK:STDOUT: %.2 => constants.%.ddd // CHECK:STDOUT: %impl.elem0 => constants.%Destroy.Op.cc70d5.2 // CHECK:STDOUT: %bound_method.1 => constants.%Destroy.Op.bound // CHECK:STDOUT: %specific_impl_fn => constants.%Destroy.Op.cc70d5.2 @@ -694,8 +694,8 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl.F.2(constants.%empty_tuple) { // CHECK:STDOUT: %Y => constants.%empty_tuple -// CHECK:STDOUT: %C => constants.%C.552 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.003 +// CHECK:STDOUT: %C => constants.%C.1f1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.1e7 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type diff --git a/toolchain/check/testdata/impl/import_use_generic.carbon b/toolchain/check/testdata/impl/import_use_generic.carbon index 168f54c72755..d2d91ae8eea7 100644 --- a/toolchain/check/testdata/impl/import_use_generic.carbon +++ b/toolchain/check/testdata/impl/import_use_generic.carbon @@ -67,16 +67,16 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.2cf: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.b4d: %I.WithSelf.F.type.2cf = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.d9f: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.592: %I.WithSelf.F.type.d9f = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table, @C.as.I.impl(%T) [symbolic] // CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F, @C.as.I.impl(%T) [symbolic] // CHECK:STDOUT: %C.as.I.impl.F: %C.as.I.impl.F.type = struct_value () [symbolic] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.0be: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.db7: %I.WithSelf.F.type.0be = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.25f: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.ca8: %I.WithSelf.F.type.25f = struct_value () [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -114,7 +114,7 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.2cf) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.b4d)] {} {} +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.d9f) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.592)] {} {} // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -180,8 +180,8 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.2cf -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.b4d +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d9f +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.592 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self) {} @@ -201,8 +201,8 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.0be -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.db7 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.25f +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.ca8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet) {} @@ -216,30 +216,30 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %C.315: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %C.870: type = class_type @C, @C(%empty_struct_type) [concrete] -// CHECK:STDOUT: %pattern_type.3dc: type = pattern_type %C.870 [concrete] -// CHECK:STDOUT: %C.val: %C.870 = struct_value () [concrete] +// CHECK:STDOUT: %C.ea5: type = class_type @C, @C(%empty_struct_type) [concrete] +// CHECK:STDOUT: %pattern_type.4ac: type = pattern_type %C.ea5 [concrete] +// CHECK:STDOUT: %C.val: %C.ea5 = struct_value () [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.aac: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.3c7: %I.WithSelf.F.type.aac = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.a52: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.08d: %I.WithSelf.F.type.a52 = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.d77 [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.50e [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %I.impl_witness.8ab: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl(%T) [symbolic] -// CHECK:STDOUT: %C.as.I.impl.F.type.218: type = fn_type @C.as.I.impl.F, @C.as.I.impl(%T) [symbolic] -// CHECK:STDOUT: %C.as.I.impl.F.2bf: %C.as.I.impl.F.type.218 = struct_value () [symbolic] -// CHECK:STDOUT: %I.impl_witness.5d8: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %C.as.I.impl.F.type.8ae: type = fn_type @C.as.I.impl.F, @C.as.I.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %C.as.I.impl.F.edf: %C.as.I.impl.F.type.8ae = struct_value () [concrete] -// CHECK:STDOUT: %I.facet: %I.type = facet_value %C.870, (%I.impl_witness.5d8) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.d96: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.974: %I.WithSelf.F.type.d96 = struct_value () [concrete] -// CHECK:STDOUT: %.75a: type = fn_type_with_self_type %I.WithSelf.F.type.d96, %I.facet [concrete] -// CHECK:STDOUT: %C.as.I.impl.F.specific_fn: = specific_function %C.as.I.impl.F.edf, @C.as.I.impl.F(%empty_struct_type) [concrete] +// CHECK:STDOUT: %I.impl_witness.517: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl(%T) [symbolic] +// CHECK:STDOUT: %C.as.I.impl.F.type.421: type = fn_type @C.as.I.impl.F, @C.as.I.impl(%T) [symbolic] +// CHECK:STDOUT: %C.as.I.impl.F.6f7: %C.as.I.impl.F.type.421 = struct_value () [symbolic] +// CHECK:STDOUT: %I.impl_witness.8b8: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %C.as.I.impl.F.type.a9b: type = fn_type @C.as.I.impl.F, @C.as.I.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %C.as.I.impl.F.54a: %C.as.I.impl.F.type.a9b = struct_value () [concrete] +// CHECK:STDOUT: %I.facet: %I.type = facet_value %C.ea5, (%I.impl_witness.8b8) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.cc7: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.dae: %I.WithSelf.F.type.cc7 = struct_value () [concrete] +// CHECK:STDOUT: %.454: type = fn_type_with_self_type %I.WithSelf.F.type.cc7, %I.facet [concrete] +// CHECK:STDOUT: %C.as.I.impl.F.specific_fn: = specific_function %C.as.I.impl.F.54a, @C.as.I.impl.F(%empty_struct_type) [concrete] // CHECK:STDOUT: %H.type: type = fn_type @H [concrete] // CHECK:STDOUT: %H: %H.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -248,19 +248,19 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: %Main.C: %C.type = import_ref Main//import_generic, C, loaded [concrete = constants.%C.generic] // CHECK:STDOUT: %Main.I: type = import_ref Main//import_generic, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//import_generic, loc4_20, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.2eb = import_ref Main//import_generic, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.6a5 = import_ref Main//import_generic, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.1: type = import_ref Main//import_generic, loc4_10, loaded [symbolic = @C.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.c21: %I.assoc_type = import_ref Main//import_generic, loc7_9, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Main.import_ref.a47: %I.assoc_type = import_ref Main//import_generic, loc7_9, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %Main.F = import_ref Main//import_generic, F, unloaded -// CHECK:STDOUT: %Main.import_ref.85115b.2: %I.type = import_ref Main//import_generic, loc6_13, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %Main.import_ref.c51 = import_ref Main//import_generic, loc6_13, unloaded -// CHECK:STDOUT: %Main.import_ref.d77: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.aac) = import_ref Main//import_generic, loc7_9, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.3c7)] -// CHECK:STDOUT: %Main.import_ref.771: = import_ref Main//import_generic, loc10_34, loaded [symbolic = @C.as.I.impl.%I.impl_witness (constants.%I.impl_witness.8ab)] -// CHECK:STDOUT: %Main.import_ref.ed8: @C.as.I.impl.%C.as.I.impl.F.type (%C.as.I.impl.F.type.218) = import_ref Main//import_generic, loc11_10, loaded [symbolic = @C.as.I.impl.%C.as.I.impl.F (constants.%C.as.I.impl.F.2bf)] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.ed8), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.c42703.2: %I.type = import_ref Main//import_generic, loc6_13, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//import_generic, loc6_13, unloaded +// CHECK:STDOUT: %Main.import_ref.50e: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.a52) = import_ref Main//import_generic, loc7_9, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.08d)] +// CHECK:STDOUT: %Main.import_ref.91e: = import_ref Main//import_generic, loc10_34, loaded [symbolic = @C.as.I.impl.%I.impl_witness (constants.%I.impl_witness.517)] +// CHECK:STDOUT: %Main.import_ref.b6a: @C.as.I.impl.%C.as.I.impl.F.type (%C.as.I.impl.F.type.421) = import_ref Main//import_generic, loc11_10, loaded [symbolic = @C.as.I.impl.%C.as.I.impl.F (constants.%C.as.I.impl.F.6f7)] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.b6a), @C.as.I.impl [concrete] // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//import_generic, loc10_15, loaded [symbolic = @C.as.I.impl.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.b36: type = import_ref Main//import_generic, loc10_27, loaded [symbolic = @C.as.I.impl.%C (constants.%C.315)] -// CHECK:STDOUT: %Main.import_ref.27a: type = import_ref Main//import_generic, loc10_32, loaded [concrete = constants.%I.type] +// CHECK:STDOUT: %Main.import_ref.2fb: type = import_ref Main//import_generic, loc10_27, loaded [symbolic = @C.as.I.impl.%C (constants.%C.1f9)] +// CHECK:STDOUT: %Main.import_ref.98c: type = import_ref Main//import_generic, loc10_32, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//import_generic, loc10_15, loaded [symbolic = @C.as.I.impl.%T (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -274,23 +274,23 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.3dc = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.3dc = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.4ac = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.4ac = var_pattern %c.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %c.var: ref %C.870 = var %c.var_patt [concrete] -// CHECK:STDOUT: %.loc6_12.1: type = splice_block %C [concrete = constants.%C.870] { +// CHECK:STDOUT: %c.var: ref %C.ea5 = var %c.var_patt [concrete] +// CHECK:STDOUT: %.loc6_12.1: type = splice_block %C [concrete = constants.%C.ea5] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Main.C [concrete = constants.%C.generic] // CHECK:STDOUT: %.loc6_11: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc6_12.2: type = converted %.loc6_11, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%empty_struct_type) [concrete = constants.%C.870] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%empty_struct_type) [concrete = constants.%C.ea5] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: ref %C.870 = ref_binding c, %c.var [concrete = %c.var] +// CHECK:STDOUT: %c: ref %C.ea5 = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { // CHECK:STDOUT: %return.patt: = return_slot_pattern , [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %c.ref: ref %C.870 = name_ref c, file.%c [concrete = file.%c.var] +// CHECK:STDOUT: %c.ref: ref %C.ea5 = name_ref c, file.%c [concrete = file.%c.var] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] -// CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, imports.%Main.import_ref.c21 [concrete = constants.%assoc0] +// CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, imports.%Main.import_ref.a47 [concrete = constants.%assoc0] // CHECK:STDOUT: %.loc16: %I.type = converted %c.ref, [concrete = ] // CHECK:STDOUT: %return: = return_slot // CHECK:STDOUT: } @@ -300,12 +300,12 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Main.C [concrete = constants.%C.generic] // CHECK:STDOUT: %.loc25_14: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc25_15: type = converted %.loc25_14, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%empty_struct_type) [concrete = constants.%C.870] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%empty_struct_type) [concrete = constants.%C.ea5] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] -// CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, imports.%Main.import_ref.c21 [concrete = constants.%assoc0] -// CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (constants.%I.impl_witness.5d8) [concrete = constants.%I.facet] +// CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, imports.%Main.import_ref.a47 [concrete = constants.%assoc0] +// CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (constants.%I.impl_witness.8b8) [concrete = constants.%I.facet] // CHECK:STDOUT: %.loc25_16: %I.type = converted %C, %I.facet [concrete = constants.%I.facet] -// CHECK:STDOUT: %impl.elem0: %.75a = impl_witness_access constants.%I.impl_witness.5d8, element0 [concrete = constants.%C.as.I.impl.F.edf] +// CHECK:STDOUT: %impl.elem0: %.454 = impl_witness_access constants.%I.impl_witness.8b8, element0 [concrete = constants.%C.as.I.impl.F.54a] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @C.as.I.impl.F(constants.%empty_struct_type) [concrete = constants.%C.as.I.impl.F.specific_fn] // CHECK:STDOUT: %C.as.I.impl.F.call: init %empty_tuple.type = call %specific_fn() // CHECK:STDOUT: %.loc25_23: type = converted %C.as.I.impl.F.call, [concrete = ] @@ -315,8 +315,8 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "import_generic.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.c51 -// CHECK:STDOUT: .F = imports.%Main.import_ref.c21 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .F = imports.%Main.import_ref.a47 // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -324,16 +324,16 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.I.impl(imports.%Main.import_ref.b3bc94.3: type) [from "import_generic.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.315)] -// CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl(%T) [symbolic = %I.impl_witness (constants.%I.impl_witness.8ab)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.1f9)] +// CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table, @C.as.I.impl(%T) [symbolic = %I.impl_witness (constants.%I.impl_witness.517)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F, @C.as.I.impl(%T) [symbolic = %C.as.I.impl.F.type (constants.%C.as.I.impl.F.type.218)] -// CHECK:STDOUT: %C.as.I.impl.F: @C.as.I.impl.%C.as.I.impl.F.type (%C.as.I.impl.F.type.218) = struct_value () [symbolic = %C.as.I.impl.F (constants.%C.as.I.impl.F.2bf)] +// CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F, @C.as.I.impl(%T) [symbolic = %C.as.I.impl.F.type (constants.%C.as.I.impl.F.type.421)] +// CHECK:STDOUT: %C.as.I.impl.F: @C.as.I.impl.%C.as.I.impl.F.type (%C.as.I.impl.F.type.421) = struct_value () [symbolic = %C.as.I.impl.F (constants.%C.as.I.impl.F.6f7)] // CHECK:STDOUT: -// CHECK:STDOUT: impl: imports.%Main.import_ref.b36 as imports.%Main.import_ref.27a { +// CHECK:STDOUT: impl: imports.%Main.import_ref.2fb as imports.%Main.import_ref.98c { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.771 +// CHECK:STDOUT: witness = imports.%Main.import_ref.91e // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -346,11 +346,11 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.2eb +// CHECK:STDOUT: .Self = imports.%Main.import_ref.6a5 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.85115b.2: %I.type) [from "import_generic.carbon"] { +// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.c42703.2: %I.type) [from "import_generic.carbon"] { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: @@ -371,8 +371,8 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_17.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc6_17.2: init %C.870 to file.%c.var = class_init () [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc6_1: init %C.870 = converted %.loc6_17.1, %.loc6_17.2 [concrete = constants.%C.val] +// CHECK:STDOUT: %.loc6_17.2: init %C.ea5 to file.%c.var = class_init () [concrete = constants.%C.val] +// CHECK:STDOUT: %.loc6_1: init %C.ea5 = converted %.loc6_17.1, %.loc6_17.2 [concrete = constants.%C.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -390,39 +390,39 @@ fn H() -> C({}).(I.F)() {} // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.aac -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.3c7 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a52 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.08d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl(constants.%T) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %C => constants.%C.315 -// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.8ab +// CHECK:STDOUT: %C => constants.%C.1f9 +// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.517 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.as.I.impl.F.type => constants.%C.as.I.impl.F.type.218 -// CHECK:STDOUT: %C.as.I.impl.F => constants.%C.as.I.impl.F.2bf +// CHECK:STDOUT: %C.as.I.impl.F.type => constants.%C.as.I.impl.F.type.421 +// CHECK:STDOUT: %C.as.I.impl.F => constants.%C.as.I.impl.F.6f7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl.F(constants.%T) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl(constants.%empty_struct_type) { // CHECK:STDOUT: %T => constants.%empty_struct_type -// CHECK:STDOUT: %C => constants.%C.870 -// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.5d8 +// CHECK:STDOUT: %C => constants.%C.ea5 +// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.8b8 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.as.I.impl.F.type => constants.%C.as.I.impl.F.type.8ae -// CHECK:STDOUT: %C.as.I.impl.F => constants.%C.as.I.impl.F.edf +// CHECK:STDOUT: %C.as.I.impl.F.type => constants.%C.as.I.impl.F.type.a9b +// CHECK:STDOUT: %C.as.I.impl.F => constants.%C.as.I.impl.F.54a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d96 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.974 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.cc7 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.dae // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.I.impl.F(constants.%empty_struct_type) { diff --git a/toolchain/check/testdata/impl/incomplete.carbon b/toolchain/check/testdata/impl/incomplete.carbon index 1d653198278e..853dd15c3723 100644 --- a/toolchain/check/testdata/impl/incomplete.carbon +++ b/toolchain/check/testdata/impl/incomplete.carbon @@ -779,18 +779,18 @@ interface B { // CHECK:STDOUT: constants { // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] -// CHECK:STDOUT: %Self.354: %Y.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.64f: type = facet_access_type %Self.354 [symbolic] +// CHECK:STDOUT: %Self.f49: %Y.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.d1f: type = facet_access_type %Self.f49 [symbolic] // CHECK:STDOUT: %X.type: type = facet_type <@X> [concrete] -// CHECK:STDOUT: %Self.9ad: %X.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.8bd: %X.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %X.assoc_type: type = assoc_entity_type @X [concrete] // CHECK:STDOUT: %assoc0: %X.assoc_type = assoc_entity element0, @X.WithSelf.%X1 [concrete] -// CHECK:STDOUT: %Self.as_type.865: type = facet_access_type %Self.9ad [symbolic] +// CHECK:STDOUT: %Self.as_type.4dd: type = facet_access_type %Self.8bd [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.ecd: %X.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ecd [symbolic_self] -// CHECK:STDOUT: %X.lookup_impl_witness: = lookup_impl_witness %.Self.ecd, @X [symbolic_self] +// CHECK:STDOUT: %.Self.6e2: %X.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.6e2 [symbolic_self] +// CHECK:STDOUT: %X.lookup_impl_witness: = lookup_impl_witness %.Self.6e2, @X [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %X.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] @@ -817,8 +817,8 @@ interface B { // CHECK:STDOUT: %.loc16_19.1: type = splice_block %.loc16_19.2 [concrete = constants.%X_where.type] { // CHECK:STDOUT: %.Self.loc16_14: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X.type] -// CHECK:STDOUT: %.Self.loc16_19: %X.type = symbolic_binding .Self [symbolic_self = constants.%.Self.ecd] -// CHECK:STDOUT: %.Self.ref: %X.type = name_ref .Self, %.Self.loc16_19 [symbolic_self = constants.%.Self.ecd] +// CHECK:STDOUT: %.Self.loc16_19: %X.type = symbolic_binding .Self [symbolic_self = constants.%.Self.6e2] +// CHECK:STDOUT: %.Self.ref: %X.type = name_ref .Self, %.Self.loc16_19 [symbolic_self = constants.%.Self.6e2] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc16_25: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %X1.ref: %X.assoc_type = name_ref X1, @X1.%assoc0 [concrete = constants.%assoc0] @@ -837,7 +837,7 @@ interface B { // CHECK:STDOUT: interface @Z; // CHECK:STDOUT: // CHECK:STDOUT: interface @X { -// CHECK:STDOUT: %Self: %X.type = symbolic_binding Self, 0 [symbolic = constants.%Self.9ad] +// CHECK:STDOUT: %Self: %X.type = symbolic_binding Self, 0 [symbolic = constants.%Self.8bd] // CHECK:STDOUT: %X.WithSelf.decl = interface_with_self_decl @X [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -847,7 +847,7 @@ interface B { // CHECK:STDOUT: %X.WithSelf.Self.as_type.impls.Y.type.require.decl = require_decl @X.WithSelf.Self.as_type.impls.Y.type.require [concrete] { // CHECK:STDOUT: require %Self.as_type.loc12_11.1 impls %Y.ref // CHECK:STDOUT: } { -// CHECK:STDOUT: %Self.as_type.loc12_11.1: type = facet_access_type @X.%Self [symbolic = %Self.as_type.loc12_11.2 (constants.%Self.as_type.865)] +// CHECK:STDOUT: %Self.as_type.loc12_11.1: type = facet_access_type @X.%Self [symbolic = %Self.as_type.loc12_11.2 (constants.%Self.as_type.4dd)] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -865,14 +865,14 @@ interface B { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @Y { -// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = constants.%Self.354] +// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f49] // CHECK:STDOUT: %Y.WithSelf.decl = constraint_with_self_decl @Y [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %Y.WithSelf.Self.as_type.impls.Z.type.require.decl = require_decl @Y.WithSelf.Self.as_type.impls.Z.type.require [concrete] { // CHECK:STDOUT: require %Self.as_type.loc6_11.1 impls %Z.ref // CHECK:STDOUT: } { -// CHECK:STDOUT: %Self.as_type.loc6_11.1: type = facet_access_type @Y.%Self [symbolic = %Self.as_type.loc6_11.2 (constants.%Self.as_type.64f)] +// CHECK:STDOUT: %Self.as_type.loc6_11.1: type = facet_access_type @Y.%Self [symbolic = %Self.as_type.loc6_11.2 (constants.%Self.as_type.d1f)] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -888,13 +888,13 @@ interface B { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Y.WithSelf.Self.as_type.impls.Z.type.require(@Y.%Self: %Y.type) { -// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.354)] -// CHECK:STDOUT: %Self.as_type.loc6_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc6_11.2 (constants.%Self.as_type.64f)] +// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f49)] +// CHECK:STDOUT: %Self.as_type.loc6_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc6_11.2 (constants.%Self.as_type.d1f)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @X.WithSelf.Self.as_type.impls.Y.type.require(@X.%Self: %X.type) { -// CHECK:STDOUT: %Self: %X.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.9ad)] -// CHECK:STDOUT: %Self.as_type.loc12_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc12_11.2 (constants.%Self.as_type.865)] +// CHECK:STDOUT: %Self: %X.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.8bd)] +// CHECK:STDOUT: %Self.as_type.loc12_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc12_11.2 (constants.%Self.as_type.4dd)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc16_14.2: %X_where.type) { @@ -908,32 +908,32 @@ interface B { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.354) {} +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.f49) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf.Self.as_type.impls.Z.type.require(constants.%Self.354) { -// CHECK:STDOUT: %Self => constants.%Self.354 -// CHECK:STDOUT: %Self.as_type.loc6_11.2 => constants.%Self.as_type.64f +// CHECK:STDOUT: specific @Y.WithSelf.Self.as_type.impls.Z.type.require(constants.%Self.f49) { +// CHECK:STDOUT: %Self => constants.%Self.f49 +// CHECK:STDOUT: %Self.as_type.loc6_11.2 => constants.%Self.as_type.d1f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @X.WithSelf(constants.%Self.9ad) { +// CHECK:STDOUT: specific @X.WithSelf(constants.%Self.8bd) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.9ad) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.8bd) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf.Self.as_type.impls.Z.type.require(constants.%Self.9ad) { -// CHECK:STDOUT: %Self => constants.%Self.9ad -// CHECK:STDOUT: %Self.as_type.loc6_11.2 => constants.%Self.as_type.865 +// CHECK:STDOUT: specific @Y.WithSelf.Self.as_type.impls.Z.type.require(constants.%Self.8bd) { +// CHECK:STDOUT: %Self => constants.%Self.8bd +// CHECK:STDOUT: %Self.as_type.loc6_11.2 => constants.%Self.as_type.4dd // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @X.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.9ad) { -// CHECK:STDOUT: %Self => constants.%Self.9ad -// CHECK:STDOUT: %Self.as_type.loc12_11.2 => constants.%Self.as_type.865 +// CHECK:STDOUT: specific @X.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.8bd) { +// CHECK:STDOUT: %Self => constants.%Self.8bd +// CHECK:STDOUT: %Self.as_type.loc12_11.2 => constants.%Self.as_type.4dd // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @X.WithSelf(constants.%.Self.ecd) { +// CHECK:STDOUT: specific @X.WithSelf(constants.%.Self.6e2) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/interface_args.carbon b/toolchain/check/testdata/impl/interface_args.carbon index b022cc6e1250..8292e87b7775 100644 --- a/toolchain/check/testdata/impl/interface_args.carbon +++ b/toolchain/check/testdata/impl/interface_args.carbon @@ -114,12 +114,12 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.9ed: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.9ed = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.a6b: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] -// CHECK:STDOUT: %Self: %ImplicitAs.type.a6b = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6e6: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] +// CHECK:STDOUT: %Self: %ImplicitAs.type.6e6 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.5a2: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.030: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %Dest [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %Dest [symbolic] // CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self) [symbolic] @@ -132,7 +132,7 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .ImplicitAs = %ImplicitAs.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.decl: %ImplicitAs.type.9ed = interface_decl @ImplicitAs [concrete = constants.%ImplicitAs.generic] { +// CHECK:STDOUT: %ImplicitAs.decl: %ImplicitAs.type.754 = interface_decl @ImplicitAs [concrete = constants.%ImplicitAs.generic] { // CHECK:STDOUT: %Dest.patt: %pattern_type.98f = symbolic_binding_pattern Dest, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc3_29.1: type = splice_block %.loc3_29.2 [concrete = type] { @@ -147,17 +147,17 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %Dest.loc3_26.1: type = symbolic_binding Dest, 0 [symbolic = %Dest.loc3_26.1 (constants.%Dest)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest.loc3_26.1)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.a6b)] -// CHECK:STDOUT: %Self.loc3_35.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self.loc3_35.2 (constants.%Self)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest.loc3_26.1)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self.loc3_35.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self.loc3_35.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc3_35.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self.loc3_35.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc3_35.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self.loc3_35.2 (constants.%Self)] // CHECK:STDOUT: %ImplicitAs.WithSelf.decl = interface_with_self_decl @ImplicitAs [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.decl: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type) = fn_decl @ImplicitAs.WithSelf.Convert [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert)] { -// CHECK:STDOUT: %self.param_patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc4_18 (%pattern_type.5a2) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc4_18 (%pattern_type.5a2) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc4_18 (%pattern_type.030) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc4_18 (%pattern_type.030) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc4_31 (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc4_31 (%pattern_type.51d) = return_slot_pattern %return.param_patt, %Dest.ref [concrete] // CHECK:STDOUT: } { @@ -165,8 +165,8 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %.loc4_31.2: Core.Form = init_form %Dest.ref [symbolic = %.loc4_31.1 (constants.%.184)] // CHECK:STDOUT: %self.param: @ImplicitAs.WithSelf.Convert.%Self.as_type.loc4_20.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc4_20.1: type = splice_block %.loc4_20.3 [symbolic = %Self.as_type.loc4_20.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %.loc4_20.2: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.a6b) = specific_constant @ImplicitAs.%Self.loc3_35.1, @ImplicitAs(constants.%Dest) [symbolic = %Self (constants.%Self)] -// CHECK:STDOUT: %Self.ref: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.a6b) = name_ref Self, %.loc4_20.2 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %.loc4_20.2: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = specific_constant @ImplicitAs.%Self.loc3_35.1, @ImplicitAs(constants.%Dest) [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %Self.ref: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = name_ref Self, %.loc4_20.2 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc4_20.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc4_20.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc4_20.3: type = converted %Self.ref, %Self.as_type.loc4_20.2 [symbolic = %Self.as_type.loc4_20.1 (constants.%Self.as_type)] // CHECK:STDOUT: } @@ -187,12 +187,12 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(@ImplicitAs.%Dest.loc3_26.2: type, @ImplicitAs.%Self.loc3_35.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.a6b)) { +// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(@ImplicitAs.%Dest.loc3_26.2: type, @ImplicitAs.%Self.loc3_35.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6)) { // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic = %Dest (constants.%Dest)] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.a6b)] -// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.a6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc4_20.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc4_20.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type.loc4_18: type = pattern_type %Self.as_type.loc4_20.1 [symbolic = %pattern_type.loc4_18 (constants.%pattern_type.5a2)] +// CHECK:STDOUT: %pattern_type.loc4_18: type = pattern_type %Self.as_type.loc4_20.1 [symbolic = %pattern_type.loc4_18 (constants.%pattern_type.030)] // CHECK:STDOUT: %.loc4_31.1: Core.Form = init_form %Dest [symbolic = %.loc4_31.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.loc4_31: type = pattern_type %Dest [symbolic = %pattern_type.loc4_31 (constants.%pattern_type.51d)] // CHECK:STDOUT: @@ -207,10 +207,10 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: // CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%Dest, constants.%Self) { // CHECK:STDOUT: %Dest => constants.%Dest -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.a6b +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.6e6 // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc4_20.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type.loc4_18 => constants.%pattern_type.5a2 +// CHECK:STDOUT: %pattern_type.loc4_18 => constants.%pattern_type.030 // CHECK:STDOUT: %.loc4_31.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.loc4_31 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -222,38 +222,38 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Action.type.0b2: type = generic_interface_type @Action [concrete] +// CHECK:STDOUT: %Action.type.45e: type = generic_interface_type @Action [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Action.generic: %Action.type.0b2 = struct_value () [concrete] -// CHECK:STDOUT: %Action.type.93d: type = facet_type <@Action, @Action(%T)> [symbolic] -// CHECK:STDOUT: %Self.0a5: %Action.type.93d = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.0a5 [symbolic] -// CHECK:STDOUT: %pattern_type.09c: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %Action.WithSelf.Op.type.7da: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%T, %Self.0a5) [symbolic] -// CHECK:STDOUT: %Action.WithSelf.Op.27a: %Action.WithSelf.Op.type.7da = struct_value () [symbolic] -// CHECK:STDOUT: %Action.assoc_type.9fd: type = assoc_entity_type @Action, @Action(%T) [symbolic] -// CHECK:STDOUT: %assoc0.14e: %Action.assoc_type.9fd = assoc_entity element0, @Action.WithSelf.%Action.WithSelf.Op.decl [symbolic] +// CHECK:STDOUT: %Action.generic: %Action.type.45e = struct_value () [concrete] +// CHECK:STDOUT: %Action.type.7f9: type = facet_type <@Action, @Action(%T)> [symbolic] +// CHECK:STDOUT: %Self.c7d: %Action.type.7f9 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.c7d [symbolic] +// CHECK:STDOUT: %pattern_type.de5: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Action.WithSelf.Op.type.d2f: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%T, %Self.c7d) [symbolic] +// CHECK:STDOUT: %Action.WithSelf.Op.464: %Action.WithSelf.Op.type.d2f = struct_value () [symbolic] +// CHECK:STDOUT: %Action.assoc_type.03a: type = assoc_entity_type @Action, @Action(%T) [symbolic] +// CHECK:STDOUT: %assoc0.a13: %Action.assoc_type.03a = assoc_entity element0, @Action.WithSelf.%Action.WithSelf.Op.decl [symbolic] // CHECK:STDOUT: %A: type = class_type @A [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %Action.type.317: type = facet_type <@Action, @Action(%B)> [concrete] +// CHECK:STDOUT: %Action.type.8f3: type = facet_type <@Action, @Action(%B)> [concrete] // CHECK:STDOUT: %Action.impl_witness: = impl_witness @A.as.Action.impl.%Action.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.cc4: %Action.type.317 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Action.WithSelf.Op.type.a31: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%B, %Self.0a5) [symbolic] -// CHECK:STDOUT: %Action.WithSelf.Op.eda: %Action.WithSelf.Op.type.a31 = struct_value () [symbolic] -// CHECK:STDOUT: %Action.assoc_type.447: type = assoc_entity_type @Action, @Action(%B) [concrete] -// CHECK:STDOUT: %assoc0.347: %Action.assoc_type.447 = assoc_entity element0, @Action.WithSelf.%Action.WithSelf.Op.decl [concrete] -// CHECK:STDOUT: %pattern_type.4d7: type = pattern_type %A [concrete] +// CHECK:STDOUT: %Self.7ed: %Action.type.8f3 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Action.WithSelf.Op.type.5be: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%B, %Self.c7d) [symbolic] +// CHECK:STDOUT: %Action.WithSelf.Op.8d6: %Action.WithSelf.Op.type.5be = struct_value () [symbolic] +// CHECK:STDOUT: %Action.assoc_type.e91: type = assoc_entity_type @Action, @Action(%B) [concrete] +// CHECK:STDOUT: %assoc0.d9e: %Action.assoc_type.e91 = assoc_entity element0, @Action.WithSelf.%Action.WithSelf.Op.decl [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %A.as.Action.impl.Op.type: type = fn_type @A.as.Action.impl.Op [concrete] // CHECK:STDOUT: %A.as.Action.impl.Op: %A.as.Action.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %Action.facet: %Action.type.317 = facet_value %A, (%Action.impl_witness) [concrete] -// CHECK:STDOUT: %Action.WithSelf.Op.type.6c9: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%B, %Action.facet) [concrete] -// CHECK:STDOUT: %Action.WithSelf.Op.3cd: %Action.WithSelf.Op.type.6c9 = struct_value () [concrete] +// CHECK:STDOUT: %Action.facet: %Action.type.8f3 = facet_value %A, (%Action.impl_witness) [concrete] +// CHECK:STDOUT: %Action.WithSelf.Op.type.b85: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%B, %Action.facet) [concrete] +// CHECK:STDOUT: %Action.WithSelf.Op.7d0: %Action.WithSelf.Op.type.b85 = struct_value () [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %.e62: type = fn_type_with_self_type %Action.WithSelf.Op.type.6c9, %Action.facet [concrete] +// CHECK:STDOUT: %.f63: type = fn_type_with_self_type %Action.WithSelf.Op.type.b85, %Action.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -273,7 +273,7 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: .F = %F.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Action.decl: %Action.type.0b2 = interface_decl @Action [concrete = constants.%Action.generic] { +// CHECK:STDOUT: %Action.decl: %Action.type.45e = interface_decl @Action [concrete = constants.%Action.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_22.1: type = splice_block %.loc4_22.2 [concrete = type] { @@ -287,13 +287,13 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: impl_decl @A.as.Action.impl [concrete] {} { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %Action.ref: %Action.type.0b2 = name_ref Action, file.%Action.decl [concrete = constants.%Action.generic] +// CHECK:STDOUT: %Action.ref: %Action.type.45e = name_ref Action, file.%Action.decl [concrete = constants.%Action.generic] // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(constants.%B)> [concrete = constants.%Action.type.317] +// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(constants.%B)> [concrete = constants.%Action.type.8f3] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.4d7 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.4d7 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.ccb = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %A = value_param call_param0 // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] @@ -305,28 +305,28 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T.loc4_19.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_19.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(%T.loc4_19.1)> [symbolic = %Action.type (constants.%Action.type.93d)] -// CHECK:STDOUT: %Self.loc4_28.2: @Action.%Action.type (%Action.type.93d) = symbolic_binding Self, 1 [symbolic = %Self.loc4_28.2 (constants.%Self.0a5)] +// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(%T.loc4_19.1)> [symbolic = %Action.type (constants.%Action.type.7f9)] +// CHECK:STDOUT: %Self.loc4_28.2: @Action.%Action.type (%Action.type.7f9) = symbolic_binding Self, 1 [symbolic = %Self.loc4_28.2 (constants.%Self.c7d)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_28.1: @Action.%Action.type (%Action.type.93d) = symbolic_binding Self, 1 [symbolic = %Self.loc4_28.2 (constants.%Self.0a5)] +// CHECK:STDOUT: %Self.loc4_28.1: @Action.%Action.type (%Action.type.7f9) = symbolic_binding Self, 1 [symbolic = %Self.loc4_28.2 (constants.%Self.c7d)] // CHECK:STDOUT: %Action.WithSelf.decl = interface_with_self_decl @Action [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Action.WithSelf.Op.decl: @Action.WithSelf.%Action.WithSelf.Op.type (%Action.WithSelf.Op.type.7da) = fn_decl @Action.WithSelf.Op [symbolic = @Action.WithSelf.%Action.WithSelf.Op (constants.%Action.WithSelf.Op.27a)] { -// CHECK:STDOUT: %self.param_patt: @Action.WithSelf.Op.%pattern_type (%pattern_type.09c) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Action.WithSelf.Op.%pattern_type (%pattern_type.09c) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %Action.WithSelf.Op.decl: @Action.WithSelf.%Action.WithSelf.Op.type (%Action.WithSelf.Op.type.d2f) = fn_decl @Action.WithSelf.Op [symbolic = @Action.WithSelf.%Action.WithSelf.Op (constants.%Action.WithSelf.Op.464)] { +// CHECK:STDOUT: %self.param_patt: @Action.WithSelf.Op.%pattern_type (%pattern_type.de5) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Action.WithSelf.Op.%pattern_type (%pattern_type.de5) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @Action.WithSelf.Op.%Self.as_type.loc5_15.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_15.1: type = splice_block %.loc5_15.3 [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %.loc5_15.2: @Action.WithSelf.Op.%Action.type (%Action.type.93d) = specific_constant @Action.%Self.loc4_28.1, @Action(constants.%T) [symbolic = %Self (constants.%Self.0a5)] -// CHECK:STDOUT: %Self.ref: @Action.WithSelf.Op.%Action.type (%Action.type.93d) = name_ref Self, %.loc5_15.2 [symbolic = %Self (constants.%Self.0a5)] +// CHECK:STDOUT: %.loc5_15.2: @Action.WithSelf.Op.%Action.type (%Action.type.7f9) = specific_constant @Action.%Self.loc4_28.1, @Action(constants.%T) [symbolic = %Self (constants.%Self.c7d)] +// CHECK:STDOUT: %Self.ref: @Action.WithSelf.Op.%Action.type (%Action.type.7f9) = name_ref Self, %.loc5_15.2 [symbolic = %Self (constants.%Self.c7d)] // CHECK:STDOUT: %Self.as_type.loc5_15.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc5_15.3: type = converted %Self.ref, %Self.as_type.loc5_15.2 [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: %self: @Action.WithSelf.Op.%Self.as_type.loc5_15.1 (%Self.as_type) = value_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc5_22.1: @Action.WithSelf.%Action.assoc_type (%Action.assoc_type.9fd) = assoc_entity element0, %Action.WithSelf.Op.decl [symbolic = %assoc0.loc5_22.2 (constants.%assoc0.14e)] +// CHECK:STDOUT: %assoc0.loc5_22.1: @Action.WithSelf.%Action.assoc_type (%Action.assoc_type.03a) = assoc_entity element0, %Action.WithSelf.Op.decl [symbolic = %assoc0.loc5_22.2 (constants.%assoc0.a13)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc4_28.1 @@ -339,8 +339,8 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: // CHECK:STDOUT: impl @A.as.Action.impl: %A.ref as %Action.type { // CHECK:STDOUT: %A.as.Action.impl.Op.decl: %A.as.Action.impl.Op.type = fn_decl @A.as.Action.impl.Op [concrete = constants.%A.as.Action.impl.Op] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.4d7 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.4d7 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.ccb = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.ccb = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %A = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @A.as.Action.impl.%A.ref [concrete = constants.%A] @@ -379,12 +379,12 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: .Self = constants.%C // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Action.WithSelf.Op(@Action.%T.loc4_19.2: type, @Action.%Self.loc4_28.1: @Action.%Action.type (%Action.type.93d)) { +// CHECK:STDOUT: generic fn @Action.WithSelf.Op(@Action.%T.loc4_19.2: type, @Action.%Self.loc4_28.1: @Action.%Action.type (%Action.type.7f9)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(%T)> [symbolic = %Action.type (constants.%Action.type.93d)] -// CHECK:STDOUT: %Self: @Action.WithSelf.Op.%Action.type (%Action.type.93d) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.0a5)] +// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(%T)> [symbolic = %Action.type (constants.%Action.type.7f9)] +// CHECK:STDOUT: %Self: @Action.WithSelf.Op.%Action.type (%Action.type.7f9) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.c7d)] // CHECK:STDOUT: %Self.as_type.loc5_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_15.1 [symbolic = %pattern_type (constants.%pattern_type.09c)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_15.1 [symbolic = %pattern_type (constants.%pattern_type.de5)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @Action.WithSelf.Op.%Self.as_type.loc5_15.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -397,12 +397,12 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: fn @F(%a.param: %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %A = name_ref a, %a -// CHECK:STDOUT: %Action.ref: %Action.type.0b2 = name_ref Action, file.%Action.decl [concrete = constants.%Action.generic] +// CHECK:STDOUT: %Action.ref: %Action.type.45e = name_ref Action, file.%Action.decl [concrete = constants.%Action.generic] // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(constants.%B)> [concrete = constants.%Action.type.317] -// CHECK:STDOUT: %.loc16: %Action.assoc_type.447 = specific_constant @Action.WithSelf.%assoc0.loc5_22.1, @Action.WithSelf(constants.%B, constants.%Self.0a5) [concrete = constants.%assoc0.347] -// CHECK:STDOUT: %Op.ref: %Action.assoc_type.447 = name_ref Op, %.loc16 [concrete = constants.%assoc0.347] -// CHECK:STDOUT: %impl.elem0: %.e62 = impl_witness_access constants.%Action.impl_witness, element0 [concrete = constants.%A.as.Action.impl.Op] +// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(constants.%B)> [concrete = constants.%Action.type.8f3] +// CHECK:STDOUT: %.loc16: %Action.assoc_type.e91 = specific_constant @Action.WithSelf.%assoc0.loc5_22.1, @Action.WithSelf(constants.%B, constants.%Self.c7d) [concrete = constants.%assoc0.d9e] +// CHECK:STDOUT: %Op.ref: %Action.assoc_type.e91 = name_ref Op, %.loc16 [concrete = constants.%assoc0.d9e] +// CHECK:STDOUT: %impl.elem0: %.f63 = impl_witness_access constants.%Action.impl_witness, element0 [concrete = constants.%A.as.Action.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %A.as.Action.impl.Op.call: init %empty_tuple.type = call %bound_method(%a.ref) // CHECK:STDOUT: return @@ -412,52 +412,52 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T.loc4_19.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Action.WithSelf(constants.%T, constants.%Self.0a5) {} +// CHECK:STDOUT: specific @Action.WithSelf(constants.%T, constants.%Self.c7d) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Action.WithSelf.Op(constants.%T, constants.%Self.0a5) { +// CHECK:STDOUT: specific @Action.WithSelf.Op(constants.%T, constants.%Self.c7d) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Action.type => constants.%Action.type.93d -// CHECK:STDOUT: %Self => constants.%Self.0a5 +// CHECK:STDOUT: %Action.type => constants.%Action.type.7f9 +// CHECK:STDOUT: %Self => constants.%Self.c7d // CHECK:STDOUT: %Self.as_type.loc5_15.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.09c +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.de5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Action(constants.%B) { // CHECK:STDOUT: %T.loc4_19.1 => constants.%B // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Action.type => constants.%Action.type.317 -// CHECK:STDOUT: %Self.loc4_28.2 => constants.%Self.cc4 +// CHECK:STDOUT: %Action.type => constants.%Action.type.8f3 +// CHECK:STDOUT: %Self.loc4_28.2 => constants.%Self.7ed // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Action.WithSelf(constants.%B, constants.%Self.0a5) { +// CHECK:STDOUT: specific @Action.WithSelf(constants.%B, constants.%Self.c7d) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%B -// CHECK:STDOUT: %Action.type => constants.%Action.type.317 -// CHECK:STDOUT: %Self => constants.%Self.0a5 -// CHECK:STDOUT: %Action.WithSelf.Op.type => constants.%Action.WithSelf.Op.type.a31 -// CHECK:STDOUT: %Action.WithSelf.Op => constants.%Action.WithSelf.Op.eda -// CHECK:STDOUT: %Action.assoc_type => constants.%Action.assoc_type.447 -// CHECK:STDOUT: %assoc0.loc5_22.2 => constants.%assoc0.347 +// CHECK:STDOUT: %Action.type => constants.%Action.type.8f3 +// CHECK:STDOUT: %Self => constants.%Self.c7d +// CHECK:STDOUT: %Action.WithSelf.Op.type => constants.%Action.WithSelf.Op.type.5be +// CHECK:STDOUT: %Action.WithSelf.Op => constants.%Action.WithSelf.Op.8d6 +// CHECK:STDOUT: %Action.assoc_type => constants.%Action.assoc_type.e91 +// CHECK:STDOUT: %assoc0.loc5_22.2 => constants.%assoc0.d9e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Action.WithSelf(constants.%B, constants.%Action.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%B -// CHECK:STDOUT: %Action.type => constants.%Action.type.317 +// CHECK:STDOUT: %Action.type => constants.%Action.type.8f3 // CHECK:STDOUT: %Self => constants.%Action.facet -// CHECK:STDOUT: %Action.WithSelf.Op.type => constants.%Action.WithSelf.Op.type.6c9 -// CHECK:STDOUT: %Action.WithSelf.Op => constants.%Action.WithSelf.Op.3cd -// CHECK:STDOUT: %Action.assoc_type => constants.%Action.assoc_type.447 -// CHECK:STDOUT: %assoc0.loc5_22.2 => constants.%assoc0.347 +// CHECK:STDOUT: %Action.WithSelf.Op.type => constants.%Action.WithSelf.Op.type.b85 +// CHECK:STDOUT: %Action.WithSelf.Op => constants.%Action.WithSelf.Op.7d0 +// CHECK:STDOUT: %Action.assoc_type => constants.%Action.assoc_type.e91 +// CHECK:STDOUT: %assoc0.loc5_22.2 => constants.%assoc0.d9e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Action.WithSelf.Op(constants.%B, constants.%Action.facet) { // CHECK:STDOUT: %T => constants.%B -// CHECK:STDOUT: %Action.type => constants.%Action.type.317 +// CHECK:STDOUT: %Action.type => constants.%Action.type.8f3 // CHECK:STDOUT: %Self => constants.%Action.facet // CHECK:STDOUT: %Self.as_type.loc5_15.1 => constants.%A -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4d7 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ccb // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- action.impl.carbon @@ -466,39 +466,39 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %Action.type.0b2: type = generic_interface_type @Action [concrete] +// CHECK:STDOUT: %Action.type.45e: type = generic_interface_type @Action [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Action.generic: %Action.type.0b2 = struct_value () [concrete] +// CHECK:STDOUT: %Action.generic: %Action.type.45e = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Action.type.93d: type = facet_type <@Action, @Action(%T)> [symbolic] -// CHECK:STDOUT: %Self.cee: %Action.type.93d = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Action.assoc_type.9fd: type = assoc_entity_type @Action, @Action(%T) [symbolic] -// CHECK:STDOUT: %Action.WithSelf.Op.type.655: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%T, %Self.cee) [symbolic] -// CHECK:STDOUT: %Action.WithSelf.Op.d9f: %Action.WithSelf.Op.type.655 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.cee [symbolic] -// CHECK:STDOUT: %pattern_type.3fa: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %Action.type.317: type = facet_type <@Action, @Action(%B)> [concrete] -// CHECK:STDOUT: %Self.266: %Action.type.317 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Action.type.7f9: type = facet_type <@Action, @Action(%T)> [symbolic] +// CHECK:STDOUT: %Self.df6: %Action.type.7f9 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Action.assoc_type.03a: type = assoc_entity_type @Action, @Action(%T) [symbolic] +// CHECK:STDOUT: %Action.WithSelf.Op.type.355: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%T, %Self.df6) [symbolic] +// CHECK:STDOUT: %Action.WithSelf.Op.ce2: %Action.WithSelf.Op.type.355 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.df6 [symbolic] +// CHECK:STDOUT: %pattern_type.895: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Action.type.8f3: type = facet_type <@Action, @Action(%B)> [concrete] +// CHECK:STDOUT: %Self.8fe: %Action.type.8f3 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %A: type = class_type @A [concrete] -// CHECK:STDOUT: %pattern_type.4d7: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %Action.WithSelf.Op.type.9e4: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%B, %Self.cee) [symbolic] -// CHECK:STDOUT: %Action.WithSelf.Op.990: %Action.WithSelf.Op.type.9e4 = struct_value () [symbolic] -// CHECK:STDOUT: %Action.assoc_type.447: type = assoc_entity_type @Action, @Action(%B) [concrete] -// CHECK:STDOUT: %assoc0.e81: %Action.assoc_type.447 = assoc_entity element0, imports.%Main.import_ref.638 [concrete] -// CHECK:STDOUT: %assoc0.f28: %Action.assoc_type.9fd = assoc_entity element0, imports.%Main.import_ref.5a1 [symbolic] +// CHECK:STDOUT: %Action.WithSelf.Op.type.04a: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%B, %Self.df6) [symbolic] +// CHECK:STDOUT: %Action.WithSelf.Op.2d7: %Action.WithSelf.Op.type.04a = struct_value () [symbolic] +// CHECK:STDOUT: %Action.assoc_type.e91: type = assoc_entity_type @Action, @Action(%B) [concrete] +// CHECK:STDOUT: %assoc0.b1d: %Action.assoc_type.e91 = assoc_entity element0, imports.%Main.import_ref.018 [concrete] +// CHECK:STDOUT: %assoc0.78d: %Action.assoc_type.03a = assoc_entity element0, imports.%Main.import_ref.118 [symbolic] // CHECK:STDOUT: %Action.impl_witness: = impl_witness imports.%Action.impl_witness_table [concrete] -// CHECK:STDOUT: %Action.facet: %Action.type.317 = facet_value %A, (%Action.impl_witness) [concrete] -// CHECK:STDOUT: %Action.WithSelf.Op.type.612: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%B, %Action.facet) [concrete] -// CHECK:STDOUT: %Action.WithSelf.Op.bf2: %Action.WithSelf.Op.type.612 = struct_value () [concrete] -// CHECK:STDOUT: %.50f: type = fn_type_with_self_type %Action.WithSelf.Op.type.612, %Action.facet [concrete] +// CHECK:STDOUT: %Action.facet: %Action.type.8f3 = facet_value %A, (%Action.impl_witness) [concrete] +// CHECK:STDOUT: %Action.WithSelf.Op.type.e5b: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%B, %Action.facet) [concrete] +// CHECK:STDOUT: %Action.WithSelf.Op.cf2: %Action.WithSelf.Op.type.e5b = struct_value () [concrete] +// CHECK:STDOUT: %.427: type = fn_type_with_self_type %Action.WithSelf.Op.type.e5b, %Action.facet [concrete] // CHECK:STDOUT: %A.as.Action.impl.Op.type: type = fn_type @A.as.Action.impl.Op [concrete] // CHECK:STDOUT: %A.as.Action.impl.Op: %A.as.Action.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.Action: %Action.type.0b2 = import_ref Main//action, Action, loaded [concrete = constants.%Action.generic] +// CHECK:STDOUT: %Main.Action: %Action.type.45e = import_ref Main//action, Action, loaded [concrete = constants.%Action.generic] // CHECK:STDOUT: %Main.A: type = import_ref Main//action, A, loaded [concrete = constants.%A] // CHECK:STDOUT: %Main.B: type = import_ref Main//action, B, loaded [concrete = constants.%B] // CHECK:STDOUT: %Main.C = import_ref Main//action, C, unloaded @@ -508,24 +508,24 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f24d3.1: = import_ref Main//action, loc9_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.69d = import_ref Main//action, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.a2f: @Action.WithSelf.%Action.assoc_type (%Action.assoc_type.9fd) = import_ref Main//action, loc5_22, loaded [symbolic = @Action.WithSelf.%assoc0 (constants.%assoc0.f28)] +// CHECK:STDOUT: %Main.import_ref.671 = import_ref Main//action, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.867: @Action.WithSelf.%Action.assoc_type (%Action.assoc_type.03a) = import_ref Main//action, loc5_22, loaded [symbolic = @Action.WithSelf.%assoc0 (constants.%assoc0.78d)] // CHECK:STDOUT: %Main.Op = import_ref Main//action, Op, unloaded -// CHECK:STDOUT: %Main.import_ref.638: @Action.WithSelf.%Action.WithSelf.Op.type (%Action.WithSelf.Op.type.655) = import_ref Main//action, loc5_22, loaded [symbolic = @Action.WithSelf.%Action.WithSelf.Op (constants.%Action.WithSelf.Op.d9f)] +// CHECK:STDOUT: %Main.import_ref.018: @Action.WithSelf.%Action.WithSelf.Op.type (%Action.WithSelf.Op.type.355) = import_ref Main//action, loc5_22, loaded [symbolic = @Action.WithSelf.%Action.WithSelf.Op (constants.%Action.WithSelf.Op.ce2)] // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//action, loc4_19, loaded [symbolic = @Action.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.a3d630.2: @Action.%Action.type (%Action.type.93d) = import_ref Main//action, loc4_28, loaded [symbolic = @Action.%Self (constants.%Self.cee)] -// CHECK:STDOUT: %Main.import_ref.512 = import_ref Main//action, loc4_28, unloaded +// CHECK:STDOUT: %Main.import_ref.51072d.2: @Action.%Action.type (%Action.type.7f9) = import_ref Main//action, loc4_28, loaded [symbolic = @Action.%Self (constants.%Self.df6)] +// CHECK:STDOUT: %Main.import_ref.384 = import_ref Main//action, loc4_28, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//action, loc4_19, loaded [symbolic = @Action.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.608: = import_ref Main//action, loc12_21, loaded [concrete = constants.%Action.impl_witness] +// CHECK:STDOUT: %Main.import_ref.e12: = import_ref Main//action, loc12_21, loaded [concrete = constants.%Action.impl_witness] // CHECK:STDOUT: %Main.import_ref.8f24d3.2: = import_ref Main//action, loc8_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.d53 = import_ref Main//action, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.21b: type = import_ref Main//action, loc12_6, loaded [concrete = constants.%A] -// CHECK:STDOUT: %Main.import_ref.ab1: type = import_ref Main//action, loc12_19, loaded [concrete = constants.%Action.type.317] -// CHECK:STDOUT: %Main.import_ref.575 = import_ref Main//action, loc13_30, unloaded -// CHECK:STDOUT: %Main.import_ref.854 = import_ref Main//action, loc12_19, unloaded -// CHECK:STDOUT: %Main.import_ref.5a1 = import_ref Main//action, loc5_22, unloaded -// CHECK:STDOUT: %Main.import_ref.ae6: %A.as.Action.impl.Op.type = import_ref Main//action, loc13_30, loaded [concrete = constants.%A.as.Action.impl.Op] -// CHECK:STDOUT: %Action.impl_witness_table = impl_witness_table (%Main.import_ref.ae6), @A.as.Action.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.5d6 = import_ref Main//action, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.abd: type = import_ref Main//action, loc12_6, loaded [concrete = constants.%A] +// CHECK:STDOUT: %Main.import_ref.17b: type = import_ref Main//action, loc12_19, loaded [concrete = constants.%Action.type.8f3] +// CHECK:STDOUT: %Main.import_ref.092 = import_ref Main//action, loc13_30, unloaded +// CHECK:STDOUT: %Main.import_ref.956 = import_ref Main//action, loc12_19, unloaded +// CHECK:STDOUT: %Main.import_ref.118 = import_ref Main//action, loc5_22, unloaded +// CHECK:STDOUT: %Main.import_ref.1ff: %A.as.Action.impl.Op.type = import_ref Main//action, loc13_30, loaded [concrete = constants.%A.as.Action.impl.Op] +// CHECK:STDOUT: %Action.impl_witness_table = impl_witness_table (%Main.import_ref.1ff), @A.as.Action.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -542,8 +542,8 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %default.import.loc2_22.2 = import // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.4d7 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.4d7 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.ccb = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %A = value_param call_param0 // CHECK:STDOUT: %A.ref: type = name_ref A, imports.%Main.A [concrete = constants.%A] @@ -555,46 +555,46 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(%T)> [symbolic = %Action.type (constants.%Action.type.93d)] -// CHECK:STDOUT: %Self: @Action.%Action.type (%Action.type.93d) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.cee)] +// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(%T)> [symbolic = %Action.type (constants.%Action.type.7f9)] +// CHECK:STDOUT: %Self: @Action.%Action.type (%Action.type.7f9) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.df6)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.512 -// CHECK:STDOUT: .Op = imports.%Main.import_ref.a2f +// CHECK:STDOUT: .Self = imports.%Main.import_ref.384 +// CHECK:STDOUT: .Op = imports.%Main.import_ref.867 // CHECK:STDOUT: witness = (imports.%Main.Op) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @A.as.Action.impl: imports.%Main.import_ref.21b as imports.%Main.import_ref.ab1 [from "action.carbon"] { +// CHECK:STDOUT: impl @A.as.Action.impl: imports.%Main.import_ref.abd as imports.%Main.import_ref.17b [from "action.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Op = imports.%Main.import_ref.575 -// CHECK:STDOUT: extend imports.%Main.import_ref.854 -// CHECK:STDOUT: witness = imports.%Main.import_ref.608 +// CHECK:STDOUT: .Op = imports.%Main.import_ref.092 +// CHECK:STDOUT: extend imports.%Main.import_ref.956 +// CHECK:STDOUT: witness = imports.%Main.import_ref.e12 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @B [from "action.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.69d +// CHECK:STDOUT: .Self = imports.%Main.import_ref.671 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @A [from "action.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.d53 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.5d6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Action.WithSelf.Op(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.a3d630.2: @Action.%Action.type (%Action.type.93d)) [from "action.carbon"] { +// CHECK:STDOUT: generic fn @Action.WithSelf.Op(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.51072d.2: @Action.%Action.type (%Action.type.7f9)) [from "action.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(%T)> [symbolic = %Action.type (constants.%Action.type.93d)] -// CHECK:STDOUT: %Self: @Action.WithSelf.Op.%Action.type (%Action.type.93d) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.cee)] +// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(%T)> [symbolic = %Action.type (constants.%Action.type.7f9)] +// CHECK:STDOUT: %Self: @Action.WithSelf.Op.%Action.type (%Action.type.7f9) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.df6)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.3fa)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.895)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -602,12 +602,12 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: fn @G(%a.param: %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %A = name_ref a, %a -// CHECK:STDOUT: %Action.ref: %Action.type.0b2 = name_ref Action, imports.%Main.Action [concrete = constants.%Action.generic] +// CHECK:STDOUT: %Action.ref: %Action.type.45e = name_ref Action, imports.%Main.Action [concrete = constants.%Action.generic] // CHECK:STDOUT: %B.ref: type = name_ref B, imports.%Main.B [concrete = constants.%B] -// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(constants.%B)> [concrete = constants.%Action.type.317] -// CHECK:STDOUT: %.loc4: %Action.assoc_type.447 = specific_constant imports.%Main.import_ref.a2f, @Action.WithSelf(constants.%B, constants.%Self.cee) [concrete = constants.%assoc0.e81] -// CHECK:STDOUT: %Op.ref: %Action.assoc_type.447 = name_ref Op, %.loc4 [concrete = constants.%assoc0.e81] -// CHECK:STDOUT: %impl.elem0: %.50f = impl_witness_access constants.%Action.impl_witness, element0 [concrete = constants.%A.as.Action.impl.Op] +// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(constants.%B)> [concrete = constants.%Action.type.8f3] +// CHECK:STDOUT: %.loc4: %Action.assoc_type.e91 = specific_constant imports.%Main.import_ref.867, @Action.WithSelf(constants.%B, constants.%Self.df6) [concrete = constants.%assoc0.b1d] +// CHECK:STDOUT: %Op.ref: %Action.assoc_type.e91 = name_ref Op, %.loc4 [concrete = constants.%assoc0.b1d] +// CHECK:STDOUT: %impl.elem0: %.427 = impl_witness_access constants.%Action.impl_witness, element0 [concrete = constants.%A.as.Action.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %A.as.Action.impl.Op.call: init %empty_tuple.type = call %bound_method(%a.ref) // CHECK:STDOUT: return @@ -619,44 +619,44 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Action.WithSelf(constants.%T, constants.%Self.cee) {} +// CHECK:STDOUT: specific @Action.WithSelf(constants.%T, constants.%Self.df6) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Action.WithSelf.Op(constants.%T, constants.%Self.cee) { +// CHECK:STDOUT: specific @Action.WithSelf.Op(constants.%T, constants.%Self.df6) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Action.type => constants.%Action.type.93d -// CHECK:STDOUT: %Self => constants.%Self.cee +// CHECK:STDOUT: %Action.type => constants.%Action.type.7f9 +// CHECK:STDOUT: %Self => constants.%Self.df6 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3fa +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.895 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Action(constants.%B) { // CHECK:STDOUT: %T => constants.%B // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Action.type => constants.%Action.type.317 -// CHECK:STDOUT: %Self => constants.%Self.266 +// CHECK:STDOUT: %Action.type => constants.%Action.type.8f3 +// CHECK:STDOUT: %Self => constants.%Self.8fe // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Action.WithSelf(constants.%B, constants.%Self.cee) { +// CHECK:STDOUT: specific @Action.WithSelf(constants.%B, constants.%Self.df6) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%B -// CHECK:STDOUT: %Action.type => constants.%Action.type.317 -// CHECK:STDOUT: %Self => constants.%Self.cee -// CHECK:STDOUT: %Action.WithSelf.Op.type => constants.%Action.WithSelf.Op.type.9e4 -// CHECK:STDOUT: %Action.WithSelf.Op => constants.%Action.WithSelf.Op.990 -// CHECK:STDOUT: %Action.assoc_type => constants.%Action.assoc_type.447 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.e81 +// CHECK:STDOUT: %Action.type => constants.%Action.type.8f3 +// CHECK:STDOUT: %Self => constants.%Self.df6 +// CHECK:STDOUT: %Action.WithSelf.Op.type => constants.%Action.WithSelf.Op.type.04a +// CHECK:STDOUT: %Action.WithSelf.Op => constants.%Action.WithSelf.Op.2d7 +// CHECK:STDOUT: %Action.assoc_type => constants.%Action.assoc_type.e91 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.b1d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Action.WithSelf(constants.%B, constants.%Action.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%B -// CHECK:STDOUT: %Action.type => constants.%Action.type.317 +// CHECK:STDOUT: %Action.type => constants.%Action.type.8f3 // CHECK:STDOUT: %Self => constants.%Action.facet -// CHECK:STDOUT: %Action.WithSelf.Op.type => constants.%Action.WithSelf.Op.type.612 -// CHECK:STDOUT: %Action.WithSelf.Op => constants.%Action.WithSelf.Op.bf2 -// CHECK:STDOUT: %Action.assoc_type => constants.%Action.assoc_type.447 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.e81 +// CHECK:STDOUT: %Action.WithSelf.Op.type => constants.%Action.WithSelf.Op.type.e5b +// CHECK:STDOUT: %Action.WithSelf.Op => constants.%Action.WithSelf.Op.cf2 +// CHECK:STDOUT: %Action.assoc_type => constants.%Action.assoc_type.e91 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.b1d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_action.impl.carbon @@ -665,34 +665,34 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %Action.type.0b2: type = generic_interface_type @Action [concrete] -// CHECK:STDOUT: %Action.generic: %Action.type.0b2 = struct_value () [concrete] +// CHECK:STDOUT: %Action.type.45e: type = generic_interface_type @Action [concrete] +// CHECK:STDOUT: %Action.generic: %Action.type.45e = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Action.type.93d: type = facet_type <@Action, @Action(%T)> [symbolic] -// CHECK:STDOUT: %Self.cee: %Action.type.93d = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Action.assoc_type.9fd: type = assoc_entity_type @Action, @Action(%T) [symbolic] -// CHECK:STDOUT: %Action.WithSelf.Op.type.655: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%T, %Self.cee) [symbolic] -// CHECK:STDOUT: %Action.WithSelf.Op.d9f: %Action.WithSelf.Op.type.655 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.cee [symbolic] -// CHECK:STDOUT: %pattern_type.3fa: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %Action.type.317: type = facet_type <@Action, @Action(%B)> [concrete] -// CHECK:STDOUT: %Self.266: %Action.type.317 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Action.type.7f9: type = facet_type <@Action, @Action(%T)> [symbolic] +// CHECK:STDOUT: %Self.df6: %Action.type.7f9 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Action.assoc_type.03a: type = assoc_entity_type @Action, @Action(%T) [symbolic] +// CHECK:STDOUT: %Action.WithSelf.Op.type.355: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%T, %Self.df6) [symbolic] +// CHECK:STDOUT: %Action.WithSelf.Op.ce2: %Action.WithSelf.Op.type.355 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.df6 [symbolic] +// CHECK:STDOUT: %pattern_type.895: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Action.type.8f3: type = facet_type <@Action, @Action(%B)> [concrete] +// CHECK:STDOUT: %Self.8fe: %Action.type.8f3 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %A: type = class_type @A [concrete] -// CHECK:STDOUT: %pattern_type.4d7: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %Action.type.5cc: type = facet_type <@Action, @Action(%C)> [concrete] -// CHECK:STDOUT: %Self.7ab: %Action.type.5cc = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Action.WithSelf.Op.type.c98: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%C, %Self.cee) [symbolic] -// CHECK:STDOUT: %Action.WithSelf.Op.4ec: %Action.WithSelf.Op.type.c98 = struct_value () [symbolic] -// CHECK:STDOUT: %Action.assoc_type.62f: type = assoc_entity_type @Action, @Action(%C) [concrete] -// CHECK:STDOUT: %assoc0.20d: %Action.assoc_type.62f = assoc_entity element0, imports.%Main.import_ref.638 [concrete] -// CHECK:STDOUT: %assoc0.f28: %Action.assoc_type.9fd = assoc_entity element0, imports.%Main.import_ref.5a1 [symbolic] +// CHECK:STDOUT: %Action.type.3dd: type = facet_type <@Action, @Action(%C)> [concrete] +// CHECK:STDOUT: %Self.3a2: %Action.type.3dd = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Action.WithSelf.Op.type.598: type = fn_type @Action.WithSelf.Op, @Action.WithSelf(%C, %Self.df6) [symbolic] +// CHECK:STDOUT: %Action.WithSelf.Op.e2e: %Action.WithSelf.Op.type.598 = struct_value () [symbolic] +// CHECK:STDOUT: %Action.assoc_type.7a5: type = assoc_entity_type @Action, @Action(%C) [concrete] +// CHECK:STDOUT: %assoc0.284: %Action.assoc_type.7a5 = assoc_entity element0, imports.%Main.import_ref.018 [concrete] +// CHECK:STDOUT: %assoc0.78d: %Action.assoc_type.03a = assoc_entity element0, imports.%Main.import_ref.118 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.Action: %Action.type.0b2 = import_ref Main//action, Action, loaded [concrete = constants.%Action.generic] +// CHECK:STDOUT: %Main.Action: %Action.type.45e = import_ref Main//action, Action, loaded [concrete = constants.%Action.generic] // CHECK:STDOUT: %Main.A: type = import_ref Main//action, A, loaded [concrete = constants.%A] // CHECK:STDOUT: %Main.B = import_ref Main//action, B, unloaded // CHECK:STDOUT: %Main.C: type = import_ref Main//action, C, loaded [concrete = constants.%C] @@ -702,24 +702,24 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f24d3.1: = import_ref Main//action, loc9_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.69d = import_ref Main//action, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.a2f: @Action.WithSelf.%Action.assoc_type (%Action.assoc_type.9fd) = import_ref Main//action, loc5_22, loaded [symbolic = @Action.WithSelf.%assoc0 (constants.%assoc0.f28)] +// CHECK:STDOUT: %Main.import_ref.671 = import_ref Main//action, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.867: @Action.WithSelf.%Action.assoc_type (%Action.assoc_type.03a) = import_ref Main//action, loc5_22, loaded [symbolic = @Action.WithSelf.%assoc0 (constants.%assoc0.78d)] // CHECK:STDOUT: %Main.Op = import_ref Main//action, Op, unloaded -// CHECK:STDOUT: %Main.import_ref.638: @Action.WithSelf.%Action.WithSelf.Op.type (%Action.WithSelf.Op.type.655) = import_ref Main//action, loc5_22, loaded [symbolic = @Action.WithSelf.%Action.WithSelf.Op (constants.%Action.WithSelf.Op.d9f)] +// CHECK:STDOUT: %Main.import_ref.018: @Action.WithSelf.%Action.WithSelf.Op.type (%Action.WithSelf.Op.type.355) = import_ref Main//action, loc5_22, loaded [symbolic = @Action.WithSelf.%Action.WithSelf.Op (constants.%Action.WithSelf.Op.ce2)] // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//action, loc4_19, loaded [symbolic = @Action.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.a3d630.2: @Action.%Action.type (%Action.type.93d) = import_ref Main//action, loc4_28, loaded [symbolic = @Action.%Self (constants.%Self.cee)] -// CHECK:STDOUT: %Main.import_ref.512 = import_ref Main//action, loc4_28, unloaded +// CHECK:STDOUT: %Main.import_ref.51072d.2: @Action.%Action.type (%Action.type.7f9) = import_ref Main//action, loc4_28, loaded [symbolic = @Action.%Self (constants.%Self.df6)] +// CHECK:STDOUT: %Main.import_ref.384 = import_ref Main//action, loc4_28, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//action, loc4_19, loaded [symbolic = @Action.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.505 = import_ref Main//action, loc12_21, unloaded +// CHECK:STDOUT: %Main.import_ref.177 = import_ref Main//action, loc12_21, unloaded // CHECK:STDOUT: %Main.import_ref.8f24d3.2: = import_ref Main//action, loc8_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.d53 = import_ref Main//action, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.21b: type = import_ref Main//action, loc12_6, loaded [concrete = constants.%A] -// CHECK:STDOUT: %Main.import_ref.ab1: type = import_ref Main//action, loc12_19, loaded [concrete = constants.%Action.type.317] -// CHECK:STDOUT: %Main.import_ref.575 = import_ref Main//action, loc13_30, unloaded -// CHECK:STDOUT: %Main.import_ref.854 = import_ref Main//action, loc12_19, unloaded +// CHECK:STDOUT: %Main.import_ref.5d6 = import_ref Main//action, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.abd: type = import_ref Main//action, loc12_6, loaded [concrete = constants.%A] +// CHECK:STDOUT: %Main.import_ref.17b: type = import_ref Main//action, loc12_19, loaded [concrete = constants.%Action.type.8f3] +// CHECK:STDOUT: %Main.import_ref.092 = import_ref Main//action, loc13_30, unloaded +// CHECK:STDOUT: %Main.import_ref.956 = import_ref Main//action, loc12_19, unloaded // CHECK:STDOUT: %Main.import_ref.8f24d3.3: = import_ref Main//action, loc10_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.28f = import_ref Main//action, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.5a1 = import_ref Main//action, loc5_22, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//action, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.118 = import_ref Main//action, loc5_22, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -736,8 +736,8 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %default.import.loc2_22.2 = import // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.4d7 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.4d7 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.ccb = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %A = value_param call_param0 // CHECK:STDOUT: %A.ref: type = name_ref A, imports.%Main.A [concrete = constants.%A] @@ -749,53 +749,53 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(%T)> [symbolic = %Action.type (constants.%Action.type.93d)] -// CHECK:STDOUT: %Self: @Action.%Action.type (%Action.type.93d) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.cee)] +// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(%T)> [symbolic = %Action.type (constants.%Action.type.7f9)] +// CHECK:STDOUT: %Self: @Action.%Action.type (%Action.type.7f9) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.df6)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.512 -// CHECK:STDOUT: .Op = imports.%Main.import_ref.a2f +// CHECK:STDOUT: .Self = imports.%Main.import_ref.384 +// CHECK:STDOUT: .Op = imports.%Main.import_ref.867 // CHECK:STDOUT: witness = (imports.%Main.Op) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @A.as.Action.impl: imports.%Main.import_ref.21b as imports.%Main.import_ref.ab1 [from "action.carbon"] { +// CHECK:STDOUT: impl @A.as.Action.impl: imports.%Main.import_ref.abd as imports.%Main.import_ref.17b [from "action.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Op = imports.%Main.import_ref.575 -// CHECK:STDOUT: extend imports.%Main.import_ref.854 -// CHECK:STDOUT: witness = imports.%Main.import_ref.505 +// CHECK:STDOUT: .Op = imports.%Main.import_ref.092 +// CHECK:STDOUT: extend imports.%Main.import_ref.956 +// CHECK:STDOUT: witness = imports.%Main.import_ref.177 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @B [from "action.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.69d +// CHECK:STDOUT: .Self = imports.%Main.import_ref.671 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @A [from "action.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.d53 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.5d6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "action.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.28f +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Action.WithSelf.Op(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.a3d630.2: @Action.%Action.type (%Action.type.93d)) [from "action.carbon"] { +// CHECK:STDOUT: generic fn @Action.WithSelf.Op(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.51072d.2: @Action.%Action.type (%Action.type.7f9)) [from "action.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(%T)> [symbolic = %Action.type (constants.%Action.type.93d)] -// CHECK:STDOUT: %Self: @Action.WithSelf.Op.%Action.type (%Action.type.93d) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.cee)] +// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(%T)> [symbolic = %Action.type (constants.%Action.type.7f9)] +// CHECK:STDOUT: %Self: @Action.WithSelf.Op.%Action.type (%Action.type.7f9) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.df6)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.3fa)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.895)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -803,11 +803,11 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: fn @G(%a.param: %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %A = name_ref a, %a -// CHECK:STDOUT: %Action.ref: %Action.type.0b2 = name_ref Action, imports.%Main.Action [concrete = constants.%Action.generic] +// CHECK:STDOUT: %Action.ref: %Action.type.45e = name_ref Action, imports.%Main.Action [concrete = constants.%Action.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(constants.%C)> [concrete = constants.%Action.type.5cc] -// CHECK:STDOUT: %.loc8: %Action.assoc_type.62f = specific_constant imports.%Main.import_ref.a2f, @Action.WithSelf(constants.%C, constants.%Self.cee) [concrete = constants.%assoc0.20d] -// CHECK:STDOUT: %Op.ref: %Action.assoc_type.62f = name_ref Op, %.loc8 [concrete = constants.%assoc0.20d] +// CHECK:STDOUT: %Action.type: type = facet_type <@Action, @Action(constants.%C)> [concrete = constants.%Action.type.3dd] +// CHECK:STDOUT: %.loc8: %Action.assoc_type.7a5 = specific_constant imports.%Main.import_ref.867, @Action.WithSelf(constants.%C, constants.%Self.df6) [concrete = constants.%assoc0.284] +// CHECK:STDOUT: %Op.ref: %Action.assoc_type.7a5 = name_ref Op, %.loc8 [concrete = constants.%assoc0.284] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -815,41 +815,41 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Action.WithSelf(constants.%T, constants.%Self.cee) {} +// CHECK:STDOUT: specific @Action.WithSelf(constants.%T, constants.%Self.df6) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Action.WithSelf.Op(constants.%T, constants.%Self.cee) { +// CHECK:STDOUT: specific @Action.WithSelf.Op(constants.%T, constants.%Self.df6) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Action.type => constants.%Action.type.93d -// CHECK:STDOUT: %Self => constants.%Self.cee +// CHECK:STDOUT: %Action.type => constants.%Action.type.7f9 +// CHECK:STDOUT: %Self => constants.%Self.df6 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3fa +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.895 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Action(constants.%B) { // CHECK:STDOUT: %T => constants.%B // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Action.type => constants.%Action.type.317 -// CHECK:STDOUT: %Self => constants.%Self.266 +// CHECK:STDOUT: %Action.type => constants.%Action.type.8f3 +// CHECK:STDOUT: %Self => constants.%Self.8fe // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Action(constants.%C) { // CHECK:STDOUT: %T => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Action.type => constants.%Action.type.5cc -// CHECK:STDOUT: %Self => constants.%Self.7ab +// CHECK:STDOUT: %Action.type => constants.%Action.type.3dd +// CHECK:STDOUT: %Self => constants.%Self.3a2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Action.WithSelf(constants.%C, constants.%Self.cee) { +// CHECK:STDOUT: specific @Action.WithSelf(constants.%C, constants.%Self.df6) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %Action.type => constants.%Action.type.5cc -// CHECK:STDOUT: %Self => constants.%Self.cee -// CHECK:STDOUT: %Action.WithSelf.Op.type => constants.%Action.WithSelf.Op.type.c98 -// CHECK:STDOUT: %Action.WithSelf.Op => constants.%Action.WithSelf.Op.4ec -// CHECK:STDOUT: %Action.assoc_type => constants.%Action.assoc_type.62f -// CHECK:STDOUT: %assoc0 => constants.%assoc0.20d +// CHECK:STDOUT: %Action.type => constants.%Action.type.3dd +// CHECK:STDOUT: %Self => constants.%Self.df6 +// CHECK:STDOUT: %Action.WithSelf.Op.type => constants.%Action.WithSelf.Op.type.598 +// CHECK:STDOUT: %Action.WithSelf.Op => constants.%Action.WithSelf.Op.e2e +// CHECK:STDOUT: %Action.assoc_type => constants.%Action.assoc_type.7a5 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.284 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- factory.carbon @@ -859,47 +859,47 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Factory.type.f5e: type = generic_interface_type @Factory [concrete] -// CHECK:STDOUT: %Factory.generic: %Factory.type.f5e = struct_value () [concrete] -// CHECK:STDOUT: %Factory.type.c6b: type = facet_type <@Factory, @Factory(%T)> [symbolic] -// CHECK:STDOUT: %Self.c33: %Factory.type.c6b = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Factory.type.db1: type = generic_interface_type @Factory [concrete] +// CHECK:STDOUT: %Factory.generic: %Factory.type.db1 = struct_value () [concrete] +// CHECK:STDOUT: %Factory.type.300: type = facet_type <@Factory, @Factory(%T)> [symbolic] +// CHECK:STDOUT: %Self.832: %Factory.type.300 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %T [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Make.type.ad2: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%T, %Self.c33) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Make.8b4: %Factory.WithSelf.Make.type.ad2 = struct_value () [symbolic] -// CHECK:STDOUT: %Factory.assoc_type.3d9: type = assoc_entity_type @Factory, @Factory(%T) [symbolic] -// CHECK:STDOUT: %assoc0.72e: %Factory.assoc_type.3d9 = assoc_entity element0, @Factory.WithSelf.%Factory.WithSelf.Make.decl [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.c33 [symbolic] -// CHECK:STDOUT: %pattern_type.641: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Method.type.8c3: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%T, %Self.c33) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Method.6fa: %Factory.WithSelf.Method.type.8c3 = struct_value () [symbolic] -// CHECK:STDOUT: %assoc1.519: %Factory.assoc_type.3d9 = assoc_entity element1, @Factory.WithSelf.%Factory.WithSelf.Method.decl [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Make.type.072: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%T, %Self.832) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Make.b6d: %Factory.WithSelf.Make.type.072 = struct_value () [symbolic] +// CHECK:STDOUT: %Factory.assoc_type.802: type = assoc_entity_type @Factory, @Factory(%T) [symbolic] +// CHECK:STDOUT: %assoc0.4a3: %Factory.assoc_type.802 = assoc_entity element0, @Factory.WithSelf.%Factory.WithSelf.Make.decl [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.832 [symbolic] +// CHECK:STDOUT: %pattern_type.a9a: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Method.type.e0a: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%T, %Self.832) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Method.64d: %Factory.WithSelf.Method.type.e0a = struct_value () [symbolic] +// CHECK:STDOUT: %assoc1.599: %Factory.assoc_type.802 = assoc_entity element1, @Factory.WithSelf.%Factory.WithSelf.Method.decl [symbolic] // CHECK:STDOUT: %A: type = class_type @A [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] -// CHECK:STDOUT: %Factory.type.8da: type = facet_type <@Factory, @Factory(%B)> [concrete] +// CHECK:STDOUT: %Factory.type.bcb: type = facet_type <@Factory, @Factory(%B)> [concrete] // CHECK:STDOUT: %Factory.impl_witness: = impl_witness @A.as.Factory.impl.%Factory.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.491: %Factory.type.8da = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Make.type.080: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%B, %Self.c33) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Make.905: %Factory.WithSelf.Make.type.080 = struct_value () [symbolic] -// CHECK:STDOUT: %Factory.assoc_type.52f: type = assoc_entity_type @Factory, @Factory(%B) [concrete] -// CHECK:STDOUT: %assoc0.856: %Factory.assoc_type.52f = assoc_entity element0, @Factory.WithSelf.%Factory.WithSelf.Make.decl [concrete] -// CHECK:STDOUT: %Factory.WithSelf.Method.type.90b: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%B, %Self.c33) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Method.0ef: %Factory.WithSelf.Method.type.90b = struct_value () [symbolic] -// CHECK:STDOUT: %assoc1.2db: %Factory.assoc_type.52f = assoc_entity element1, @Factory.WithSelf.%Factory.WithSelf.Method.decl [concrete] -// CHECK:STDOUT: %.3de: Core.Form = init_form %B [concrete] -// CHECK:STDOUT: %pattern_type.5c3: type = pattern_type %B [concrete] +// CHECK:STDOUT: %Self.e7a: %Factory.type.bcb = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Make.type.b7f: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%B, %Self.832) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Make.8d3: %Factory.WithSelf.Make.type.b7f = struct_value () [symbolic] +// CHECK:STDOUT: %Factory.assoc_type.f46: type = assoc_entity_type @Factory, @Factory(%B) [concrete] +// CHECK:STDOUT: %assoc0.ddc: %Factory.assoc_type.f46 = assoc_entity element0, @Factory.WithSelf.%Factory.WithSelf.Make.decl [concrete] +// CHECK:STDOUT: %Factory.WithSelf.Method.type.469: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%B, %Self.832) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Method.1e3: %Factory.WithSelf.Method.type.469 = struct_value () [symbolic] +// CHECK:STDOUT: %assoc1.d81: %Factory.assoc_type.f46 = assoc_entity element1, @Factory.WithSelf.%Factory.WithSelf.Method.decl [concrete] +// CHECK:STDOUT: %.25e: Core.Form = init_form %B [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] // CHECK:STDOUT: %A.as.Factory.impl.Make.type: type = fn_type @A.as.Factory.impl.Make [concrete] // CHECK:STDOUT: %A.as.Factory.impl.Make: %A.as.Factory.impl.Make.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.22c: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %A.as.Factory.impl.Method.type: type = fn_type @A.as.Factory.impl.Method [concrete] // CHECK:STDOUT: %A.as.Factory.impl.Method: %A.as.Factory.impl.Method.type = struct_value () [concrete] -// CHECK:STDOUT: %Factory.facet: %Factory.type.8da = facet_value %A, (%Factory.impl_witness) [concrete] -// CHECK:STDOUT: %Factory.WithSelf.Make.type.0c6: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%B, %Factory.facet) [concrete] -// CHECK:STDOUT: %Factory.WithSelf.Make.113: %Factory.WithSelf.Make.type.0c6 = struct_value () [concrete] -// CHECK:STDOUT: %Factory.WithSelf.Method.type.200: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%B, %Factory.facet) [concrete] -// CHECK:STDOUT: %Factory.WithSelf.Method.648: %Factory.WithSelf.Method.type.200 = struct_value () [concrete] +// CHECK:STDOUT: %Factory.facet: %Factory.type.bcb = facet_value %A, (%Factory.impl_witness) [concrete] +// CHECK:STDOUT: %Factory.WithSelf.Make.type.85f: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%B, %Factory.facet) [concrete] +// CHECK:STDOUT: %Factory.WithSelf.Make.65a: %Factory.WithSelf.Make.type.85f = struct_value () [concrete] +// CHECK:STDOUT: %Factory.WithSelf.Method.type.ff2: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%B, %Factory.facet) [concrete] +// CHECK:STDOUT: %Factory.WithSelf.Method.349: %Factory.WithSelf.Method.type.ff2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -917,7 +917,7 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: .B = %B.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Factory.decl: %Factory.type.f5e = interface_decl @Factory [concrete = constants.%Factory.generic] { +// CHECK:STDOUT: %Factory.decl: %Factory.type.db1 = interface_decl @Factory [concrete = constants.%Factory.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_23.1: type = splice_block %.loc4_23.2 [concrete = type] { @@ -930,9 +930,9 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %B.decl: type = class_decl @B [concrete = constants.%B] {} {} // CHECK:STDOUT: impl_decl @A.as.Factory.impl [concrete] {} { // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %Factory.ref: %Factory.type.f5e = name_ref Factory, file.%Factory.decl [concrete = constants.%Factory.generic] +// CHECK:STDOUT: %Factory.ref: %Factory.type.db1 = name_ref Factory, file.%Factory.decl [concrete = constants.%Factory.generic] // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(constants.%B)> [concrete = constants.%Factory.type.8da] +// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(constants.%B)> [concrete = constants.%Factory.type.bcb] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -940,15 +940,15 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T.loc4_20.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_20.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(%T.loc4_20.1)> [symbolic = %Factory.type (constants.%Factory.type.c6b)] -// CHECK:STDOUT: %Self.loc4_29.2: @Factory.%Factory.type (%Factory.type.c6b) = symbolic_binding Self, 1 [symbolic = %Self.loc4_29.2 (constants.%Self.c33)] +// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(%T.loc4_20.1)> [symbolic = %Factory.type (constants.%Factory.type.300)] +// CHECK:STDOUT: %Self.loc4_29.2: @Factory.%Factory.type (%Factory.type.300) = symbolic_binding Self, 1 [symbolic = %Self.loc4_29.2 (constants.%Self.832)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_29.1: @Factory.%Factory.type (%Factory.type.c6b) = symbolic_binding Self, 1 [symbolic = %Self.loc4_29.2 (constants.%Self.c33)] +// CHECK:STDOUT: %Self.loc4_29.1: @Factory.%Factory.type (%Factory.type.300) = symbolic_binding Self, 1 [symbolic = %Self.loc4_29.2 (constants.%Self.832)] // CHECK:STDOUT: %Factory.WithSelf.decl = interface_with_self_decl @Factory [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Factory.WithSelf.Make.decl: @Factory.WithSelf.%Factory.WithSelf.Make.type (%Factory.WithSelf.Make.type.ad2) = fn_decl @Factory.WithSelf.Make [symbolic = @Factory.WithSelf.%Factory.WithSelf.Make (constants.%Factory.WithSelf.Make.8b4)] { +// CHECK:STDOUT: %Factory.WithSelf.Make.decl: @Factory.WithSelf.%Factory.WithSelf.Make.type (%Factory.WithSelf.Make.type.072) = fn_decl @Factory.WithSelf.Make [symbolic = @Factory.WithSelf.%Factory.WithSelf.Make (constants.%Factory.WithSelf.Make.b6d)] { // CHECK:STDOUT: %return.param_patt: @Factory.WithSelf.Make.%pattern_type (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @Factory.WithSelf.Make.%pattern_type (%pattern_type.51d) = return_slot_pattern %return.param_patt, %T.ref [concrete] // CHECK:STDOUT: } { @@ -957,10 +957,10 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %return.param: ref @Factory.WithSelf.Make.%T (%T) = out_param call_param0 // CHECK:STDOUT: %return: ref @Factory.WithSelf.Make.%T (%T) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc6_17.1: @Factory.WithSelf.%Factory.assoc_type (%Factory.assoc_type.3d9) = assoc_entity element0, %Factory.WithSelf.Make.decl [symbolic = %assoc0.loc6_17.2 (constants.%assoc0.72e)] -// CHECK:STDOUT: %Factory.WithSelf.Method.decl: @Factory.WithSelf.%Factory.WithSelf.Method.type (%Factory.WithSelf.Method.type.8c3) = fn_decl @Factory.WithSelf.Method [symbolic = @Factory.WithSelf.%Factory.WithSelf.Method (constants.%Factory.WithSelf.Method.6fa)] { -// CHECK:STDOUT: %self.param_patt: @Factory.WithSelf.Method.%pattern_type.loc8_17 (%pattern_type.641) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Factory.WithSelf.Method.%pattern_type.loc8_17 (%pattern_type.641) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %assoc0.loc6_17.1: @Factory.WithSelf.%Factory.assoc_type (%Factory.assoc_type.802) = assoc_entity element0, %Factory.WithSelf.Make.decl [symbolic = %assoc0.loc6_17.2 (constants.%assoc0.4a3)] +// CHECK:STDOUT: %Factory.WithSelf.Method.decl: @Factory.WithSelf.%Factory.WithSelf.Method.type (%Factory.WithSelf.Method.type.e0a) = fn_decl @Factory.WithSelf.Method [symbolic = @Factory.WithSelf.%Factory.WithSelf.Method (constants.%Factory.WithSelf.Method.64d)] { +// CHECK:STDOUT: %self.param_patt: @Factory.WithSelf.Method.%pattern_type.loc8_17 (%pattern_type.a9a) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Factory.WithSelf.Method.%pattern_type.loc8_17 (%pattern_type.a9a) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @Factory.WithSelf.Method.%pattern_type.loc8_30 (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @Factory.WithSelf.Method.%pattern_type.loc8_30 (%pattern_type.51d) = return_slot_pattern %return.param_patt, %T.ref [concrete] // CHECK:STDOUT: } { @@ -968,8 +968,8 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %.loc8_30.2: Core.Form = init_form %T.ref [symbolic = %.loc8_30.1 (constants.%.184)] // CHECK:STDOUT: %self.param: @Factory.WithSelf.Method.%Self.as_type.loc8_19.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc8_19.1: type = splice_block %.loc8_19.3 [symbolic = %Self.as_type.loc8_19.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %.loc8_19.2: @Factory.WithSelf.Method.%Factory.type (%Factory.type.c6b) = specific_constant @Factory.%Self.loc4_29.1, @Factory(constants.%T) [symbolic = %Self (constants.%Self.c33)] -// CHECK:STDOUT: %Self.ref: @Factory.WithSelf.Method.%Factory.type (%Factory.type.c6b) = name_ref Self, %.loc8_19.2 [symbolic = %Self (constants.%Self.c33)] +// CHECK:STDOUT: %.loc8_19.2: @Factory.WithSelf.Method.%Factory.type (%Factory.type.300) = specific_constant @Factory.%Self.loc4_29.1, @Factory(constants.%T) [symbolic = %Self (constants.%Self.832)] +// CHECK:STDOUT: %Self.ref: @Factory.WithSelf.Method.%Factory.type (%Factory.type.300) = name_ref Self, %.loc8_19.2 [symbolic = %Self (constants.%Self.832)] // CHECK:STDOUT: %Self.as_type.loc8_19.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc8_19.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc8_19.3: type = converted %Self.ref, %Self.as_type.loc8_19.2 [symbolic = %Self.as_type.loc8_19.1 (constants.%Self.as_type)] // CHECK:STDOUT: } @@ -977,7 +977,7 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %return.param: ref @Factory.WithSelf.Method.%T (%T) = out_param call_param1 // CHECK:STDOUT: %return: ref @Factory.WithSelf.Method.%T (%T) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc1.loc8_31.1: @Factory.WithSelf.%Factory.assoc_type (%Factory.assoc_type.3d9) = assoc_entity element1, %Factory.WithSelf.Method.decl [symbolic = %assoc1.loc8_31.2 (constants.%assoc1.519)] +// CHECK:STDOUT: %assoc1.loc8_31.1: @Factory.WithSelf.%Factory.assoc_type (%Factory.assoc_type.802) = assoc_entity element1, %Factory.WithSelf.Method.decl [symbolic = %assoc1.loc8_31.2 (constants.%assoc1.599)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc4_29.1 @@ -994,22 +994,22 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: // CHECK:STDOUT: impl @A.as.Factory.impl: %A.ref as %Factory.type { // CHECK:STDOUT: %A.as.Factory.impl.Make.decl: %A.as.Factory.impl.Make.type = fn_decl @A.as.Factory.impl.Make [concrete = constants.%A.as.Factory.impl.Make] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.5c3 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.5c3 = return_slot_pattern %return.param_patt, %B.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.787 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.787 = return_slot_pattern %return.param_patt, %B.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %B.ref [concrete = constants.%.3de] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %B.ref [concrete = constants.%.25e] // CHECK:STDOUT: %return.param: ref %B = out_param call_param0 // CHECK:STDOUT: %return: ref %B = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %A.as.Factory.impl.Method.decl: %A.as.Factory.impl.Method.type = fn_decl @A.as.Factory.impl.Method [concrete = constants.%A.as.Factory.impl.Method] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.22c = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.22c = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.5c3 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.5c3 = return_slot_pattern %return.param_patt, %B.ref [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.ccb = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.ccb = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.787 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.787 = return_slot_pattern %return.param_patt, %B.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %B.ref [concrete = constants.%.3de] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %B.ref [concrete = constants.%.25e] // CHECK:STDOUT: %self.param: %A = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @A.as.Factory.impl.%A.ref [concrete = constants.%A] // CHECK:STDOUT: %self: %A = value_binding self, %self.param @@ -1043,7 +1043,7 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: .Self = constants.%B // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Factory.WithSelf.Make(@Factory.%T.loc4_20.2: type, @Factory.%Self.loc4_29.1: @Factory.%Factory.type (%Factory.type.c6b)) { +// CHECK:STDOUT: generic fn @Factory.WithSelf.Make(@Factory.%T.loc4_20.2: type, @Factory.%Self.loc4_29.1: @Factory.%Factory.type (%Factory.type.300)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %.loc6_16.1: Core.Form = init_form %T [symbolic = %.loc6_16.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type: type = pattern_type %T [symbolic = %pattern_type (constants.%pattern_type.51d)] @@ -1051,12 +1051,12 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: fn() -> out %return.param: @Factory.WithSelf.Make.%T (%T); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Factory.WithSelf.Method(@Factory.%T.loc4_20.2: type, @Factory.%Self.loc4_29.1: @Factory.%Factory.type (%Factory.type.c6b)) { +// CHECK:STDOUT: generic fn @Factory.WithSelf.Method(@Factory.%T.loc4_20.2: type, @Factory.%Self.loc4_29.1: @Factory.%Factory.type (%Factory.type.300)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(%T)> [symbolic = %Factory.type (constants.%Factory.type.c6b)] -// CHECK:STDOUT: %Self: @Factory.WithSelf.Method.%Factory.type (%Factory.type.c6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.c33)] +// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(%T)> [symbolic = %Factory.type (constants.%Factory.type.300)] +// CHECK:STDOUT: %Self: @Factory.WithSelf.Method.%Factory.type (%Factory.type.300) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.832)] // CHECK:STDOUT: %Self.as_type.loc8_19.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc8_19.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type.loc8_17: type = pattern_type %Self.as_type.loc8_19.1 [symbolic = %pattern_type.loc8_17 (constants.%pattern_type.641)] +// CHECK:STDOUT: %pattern_type.loc8_17: type = pattern_type %Self.as_type.loc8_19.1 [symbolic = %pattern_type.loc8_17 (constants.%pattern_type.a9a)] // CHECK:STDOUT: %.loc8_30.1: Core.Form = init_form %T [symbolic = %.loc8_30.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.loc8_30: type = pattern_type %T [symbolic = %pattern_type.loc8_30 (constants.%pattern_type.51d)] // CHECK:STDOUT: @@ -1071,20 +1071,20 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T.loc4_20.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Factory.WithSelf(constants.%T, constants.%Self.c33) {} +// CHECK:STDOUT: specific @Factory.WithSelf(constants.%T, constants.%Self.832) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Factory.WithSelf.Make(constants.%T, constants.%Self.c33) { +// CHECK:STDOUT: specific @Factory.WithSelf.Make(constants.%T, constants.%Self.832) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %.loc6_16.1 => constants.%.184 // CHECK:STDOUT: %pattern_type => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Factory.WithSelf.Method(constants.%T, constants.%Self.c33) { +// CHECK:STDOUT: specific @Factory.WithSelf.Method(constants.%T, constants.%Self.832) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.c6b -// CHECK:STDOUT: %Self => constants.%Self.c33 +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.300 +// CHECK:STDOUT: %Self => constants.%Self.832 // CHECK:STDOUT: %Self.as_type.loc8_19.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type.loc8_17 => constants.%pattern_type.641 +// CHECK:STDOUT: %pattern_type.loc8_17 => constants.%pattern_type.a9a // CHECK:STDOUT: %.loc8_30.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.loc8_30 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -1093,52 +1093,52 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T.loc4_20.1 => constants.%B // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.8da -// CHECK:STDOUT: %Self.loc4_29.2 => constants.%Self.491 +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.bcb +// CHECK:STDOUT: %Self.loc4_29.2 => constants.%Self.e7a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Factory.WithSelf(constants.%B, constants.%Self.c33) { +// CHECK:STDOUT: specific @Factory.WithSelf(constants.%B, constants.%Self.832) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%B -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.8da -// CHECK:STDOUT: %Self => constants.%Self.c33 -// CHECK:STDOUT: %Factory.WithSelf.Make.type => constants.%Factory.WithSelf.Make.type.080 -// CHECK:STDOUT: %Factory.WithSelf.Make => constants.%Factory.WithSelf.Make.905 -// CHECK:STDOUT: %Factory.assoc_type => constants.%Factory.assoc_type.52f -// CHECK:STDOUT: %assoc0.loc6_17.2 => constants.%assoc0.856 -// CHECK:STDOUT: %Factory.WithSelf.Method.type => constants.%Factory.WithSelf.Method.type.90b -// CHECK:STDOUT: %Factory.WithSelf.Method => constants.%Factory.WithSelf.Method.0ef -// CHECK:STDOUT: %assoc1.loc8_31.2 => constants.%assoc1.2db +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.bcb +// CHECK:STDOUT: %Self => constants.%Self.832 +// CHECK:STDOUT: %Factory.WithSelf.Make.type => constants.%Factory.WithSelf.Make.type.b7f +// CHECK:STDOUT: %Factory.WithSelf.Make => constants.%Factory.WithSelf.Make.8d3 +// CHECK:STDOUT: %Factory.assoc_type => constants.%Factory.assoc_type.f46 +// CHECK:STDOUT: %assoc0.loc6_17.2 => constants.%assoc0.ddc +// CHECK:STDOUT: %Factory.WithSelf.Method.type => constants.%Factory.WithSelf.Method.type.469 +// CHECK:STDOUT: %Factory.WithSelf.Method => constants.%Factory.WithSelf.Method.1e3 +// CHECK:STDOUT: %assoc1.loc8_31.2 => constants.%assoc1.d81 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Factory.WithSelf(constants.%B, constants.%Factory.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%B -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.8da +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.bcb // CHECK:STDOUT: %Self => constants.%Factory.facet -// CHECK:STDOUT: %Factory.WithSelf.Make.type => constants.%Factory.WithSelf.Make.type.0c6 -// CHECK:STDOUT: %Factory.WithSelf.Make => constants.%Factory.WithSelf.Make.113 -// CHECK:STDOUT: %Factory.assoc_type => constants.%Factory.assoc_type.52f -// CHECK:STDOUT: %assoc0.loc6_17.2 => constants.%assoc0.856 -// CHECK:STDOUT: %Factory.WithSelf.Method.type => constants.%Factory.WithSelf.Method.type.200 -// CHECK:STDOUT: %Factory.WithSelf.Method => constants.%Factory.WithSelf.Method.648 -// CHECK:STDOUT: %assoc1.loc8_31.2 => constants.%assoc1.2db +// CHECK:STDOUT: %Factory.WithSelf.Make.type => constants.%Factory.WithSelf.Make.type.85f +// CHECK:STDOUT: %Factory.WithSelf.Make => constants.%Factory.WithSelf.Make.65a +// CHECK:STDOUT: %Factory.assoc_type => constants.%Factory.assoc_type.f46 +// CHECK:STDOUT: %assoc0.loc6_17.2 => constants.%assoc0.ddc +// CHECK:STDOUT: %Factory.WithSelf.Method.type => constants.%Factory.WithSelf.Method.type.ff2 +// CHECK:STDOUT: %Factory.WithSelf.Method => constants.%Factory.WithSelf.Method.349 +// CHECK:STDOUT: %assoc1.loc8_31.2 => constants.%assoc1.d81 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Factory.WithSelf.Make(constants.%B, constants.%Factory.facet) { // CHECK:STDOUT: %T => constants.%B -// CHECK:STDOUT: %.loc6_16.1 => constants.%.3de -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5c3 +// CHECK:STDOUT: %.loc6_16.1 => constants.%.25e +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.787 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Factory.WithSelf.Method(constants.%B, constants.%Factory.facet) { // CHECK:STDOUT: %T => constants.%B -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.8da +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.bcb // CHECK:STDOUT: %Self => constants.%Factory.facet // CHECK:STDOUT: %Self.as_type.loc8_19.1 => constants.%A -// CHECK:STDOUT: %pattern_type.loc8_17 => constants.%pattern_type.22c -// CHECK:STDOUT: %.loc8_30.1 => constants.%.3de -// CHECK:STDOUT: %pattern_type.loc8_30 => constants.%pattern_type.5c3 +// CHECK:STDOUT: %pattern_type.loc8_17 => constants.%pattern_type.ccb +// CHECK:STDOUT: %.loc8_30.1 => constants.%.25e +// CHECK:STDOUT: %pattern_type.loc8_30 => constants.%pattern_type.787 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- factory.impl.carbon @@ -1147,55 +1147,55 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %Factory.type.f5e: type = generic_interface_type @Factory [concrete] -// CHECK:STDOUT: %Factory.generic: %Factory.type.f5e = struct_value () [concrete] +// CHECK:STDOUT: %Factory.type.db1: type = generic_interface_type @Factory [concrete] +// CHECK:STDOUT: %Factory.generic: %Factory.type.db1 = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Factory.type.c6b: type = facet_type <@Factory, @Factory(%T)> [symbolic] -// CHECK:STDOUT: %Self.b7d: %Factory.type.c6b = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Factory.assoc_type.3d9: type = assoc_entity_type @Factory, @Factory(%T) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Method.type.35d: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%T, %Self.b7d) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Method.838: %Factory.WithSelf.Method.type.35d = struct_value () [symbolic] +// CHECK:STDOUT: %Factory.type.300: type = facet_type <@Factory, @Factory(%T)> [symbolic] +// CHECK:STDOUT: %Self.399: %Factory.type.300 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Factory.assoc_type.802: type = assoc_entity_type @Factory, @Factory(%T) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Method.type.5f0: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%T, %Self.399) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Method.2bf: %Factory.WithSelf.Method.type.5f0 = struct_value () [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.b7d [symbolic] -// CHECK:STDOUT: %pattern_type.e10: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.399 [symbolic] +// CHECK:STDOUT: %pattern_type.6c7: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %T [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Make.type.da7: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%T, %Self.b7d) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Make.d2c: %Factory.WithSelf.Make.type.da7 = struct_value () [symbolic] -// CHECK:STDOUT: %Factory.type.8da: type = facet_type <@Factory, @Factory(%B)> [concrete] -// CHECK:STDOUT: %Self.449: %Factory.type.8da = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Make.type.2f7: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%T, %Self.399) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Make.f06: %Factory.WithSelf.Make.type.2f7 = struct_value () [symbolic] +// CHECK:STDOUT: %Factory.type.bcb: type = facet_type <@Factory, @Factory(%B)> [concrete] +// CHECK:STDOUT: %Self.d48: %Factory.type.bcb = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %A: type = class_type @A [concrete] -// CHECK:STDOUT: %.3de: Core.Form = init_form %B [concrete] -// CHECK:STDOUT: %pattern_type.5c3: type = pattern_type %B [concrete] +// CHECK:STDOUT: %.25e: Core.Form = init_form %B [concrete] +// CHECK:STDOUT: %pattern_type.787: type = pattern_type %B [concrete] // CHECK:STDOUT: %MakeB.type: type = fn_type @MakeB [concrete] // CHECK:STDOUT: %MakeB: %MakeB.type = struct_value () [concrete] -// CHECK:STDOUT: %Factory.WithSelf.Make.type.cca: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%B, %Self.b7d) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Make.532: %Factory.WithSelf.Make.type.cca = struct_value () [symbolic] -// CHECK:STDOUT: %Factory.assoc_type.52f: type = assoc_entity_type @Factory, @Factory(%B) [concrete] -// CHECK:STDOUT: %assoc0.810: %Factory.assoc_type.52f = assoc_entity element0, imports.%Main.import_ref.7d1 [concrete] -// CHECK:STDOUT: %Factory.WithSelf.Method.type.ea0: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%B, %Self.b7d) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Method.6c7: %Factory.WithSelf.Method.type.ea0 = struct_value () [symbolic] -// CHECK:STDOUT: %assoc1.daf: %Factory.assoc_type.52f = assoc_entity element1, imports.%Main.import_ref.b4a [concrete] -// CHECK:STDOUT: %assoc0.e2a: %Factory.assoc_type.3d9 = assoc_entity element0, imports.%Main.import_ref.b9d [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Make.type.6b1: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%B, %Self.399) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Make.07e: %Factory.WithSelf.Make.type.6b1 = struct_value () [symbolic] +// CHECK:STDOUT: %Factory.assoc_type.f46: type = assoc_entity_type @Factory, @Factory(%B) [concrete] +// CHECK:STDOUT: %assoc0.1db: %Factory.assoc_type.f46 = assoc_entity element0, imports.%Main.import_ref.0e8 [concrete] +// CHECK:STDOUT: %Factory.WithSelf.Method.type.cef: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%B, %Self.399) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Method.35a: %Factory.WithSelf.Method.type.cef = struct_value () [symbolic] +// CHECK:STDOUT: %assoc1.a97: %Factory.assoc_type.f46 = assoc_entity element1, imports.%Main.import_ref.7e5 [concrete] +// CHECK:STDOUT: %assoc0.584: %Factory.assoc_type.802 = assoc_entity element0, imports.%Main.import_ref.867 [symbolic] // CHECK:STDOUT: %Factory.impl_witness: = impl_witness imports.%Factory.impl_witness_table [concrete] -// CHECK:STDOUT: %Factory.facet: %Factory.type.8da = facet_value %A, (%Factory.impl_witness) [concrete] -// CHECK:STDOUT: %Factory.WithSelf.Make.type.ad7: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%B, %Factory.facet) [concrete] -// CHECK:STDOUT: %Factory.WithSelf.Make.f02: %Factory.WithSelf.Make.type.ad7 = struct_value () [concrete] -// CHECK:STDOUT: %Factory.WithSelf.Method.type.c99: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%B, %Factory.facet) [concrete] -// CHECK:STDOUT: %Factory.WithSelf.Method.996: %Factory.WithSelf.Method.type.c99 = struct_value () [concrete] -// CHECK:STDOUT: %.5c8: type = fn_type_with_self_type %Factory.WithSelf.Make.type.ad7, %Factory.facet [concrete] +// CHECK:STDOUT: %Factory.facet: %Factory.type.bcb = facet_value %A, (%Factory.impl_witness) [concrete] +// CHECK:STDOUT: %Factory.WithSelf.Make.type.0d4: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%B, %Factory.facet) [concrete] +// CHECK:STDOUT: %Factory.WithSelf.Make.292: %Factory.WithSelf.Make.type.0d4 = struct_value () [concrete] +// CHECK:STDOUT: %Factory.WithSelf.Method.type.05d: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%B, %Factory.facet) [concrete] +// CHECK:STDOUT: %Factory.WithSelf.Method.579: %Factory.WithSelf.Method.type.05d = struct_value () [concrete] +// CHECK:STDOUT: %.508: type = fn_type_with_self_type %Factory.WithSelf.Make.type.0d4, %Factory.facet [concrete] // CHECK:STDOUT: %A.as.Factory.impl.Make.type: type = fn_type @A.as.Factory.impl.Make [concrete] // CHECK:STDOUT: %A.as.Factory.impl.Make: %A.as.Factory.impl.Make.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.22c: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %InstanceB.type: type = fn_type @InstanceB [concrete] // CHECK:STDOUT: %InstanceB: %InstanceB.type = struct_value () [concrete] -// CHECK:STDOUT: %assoc1.ecb: %Factory.assoc_type.3d9 = assoc_entity element1, imports.%Main.import_ref.797 [symbolic] -// CHECK:STDOUT: %.4b5: type = fn_type_with_self_type %Factory.WithSelf.Method.type.c99, %Factory.facet [concrete] +// CHECK:STDOUT: %assoc1.9ce: %Factory.assoc_type.802 = assoc_entity element1, imports.%Main.import_ref.755 [symbolic] +// CHECK:STDOUT: %.d3d: type = fn_type_with_self_type %Factory.WithSelf.Method.type.05d, %Factory.facet [concrete] // CHECK:STDOUT: %A.as.Factory.impl.Method.type: type = fn_type @A.as.Factory.impl.Method [concrete] // CHECK:STDOUT: %A.as.Factory.impl.Method: %A.as.Factory.impl.Method.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.Factory: %Factory.type.f5e = import_ref Main//factory, Factory, loaded [concrete = constants.%Factory.generic] +// CHECK:STDOUT: %Main.Factory: %Factory.type.db1 = import_ref Main//factory, Factory, loaded [concrete = constants.%Factory.generic] // CHECK:STDOUT: %Main.A: type = import_ref Main//factory, A, loaded [concrete = constants.%A] // CHECK:STDOUT: %Main.B: type = import_ref Main//factory, B, loaded [concrete = constants.%B] // CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { @@ -1203,32 +1203,32 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f24d3.1: = import_ref Main//factory, loc12_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.80c = import_ref Main//factory, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.af1: @Factory.WithSelf.%Factory.assoc_type (%Factory.assoc_type.3d9) = import_ref Main//factory, loc6_17, loaded [symbolic = @Factory.WithSelf.%assoc0 (constants.%assoc0.e2a)] -// CHECK:STDOUT: %Main.import_ref.b7d: @Factory.WithSelf.%Factory.assoc_type (%Factory.assoc_type.3d9) = import_ref Main//factory, loc8_31, loaded [symbolic = @Factory.WithSelf.%assoc1 (constants.%assoc1.ecb)] +// CHECK:STDOUT: %Main.import_ref.671 = import_ref Main//factory, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.295: @Factory.WithSelf.%Factory.assoc_type (%Factory.assoc_type.802) = import_ref Main//factory, loc6_17, loaded [symbolic = @Factory.WithSelf.%assoc0 (constants.%assoc0.584)] +// CHECK:STDOUT: %Main.import_ref.1dd: @Factory.WithSelf.%Factory.assoc_type (%Factory.assoc_type.802) = import_ref Main//factory, loc8_31, loaded [symbolic = @Factory.WithSelf.%assoc1 (constants.%assoc1.9ce)] // CHECK:STDOUT: %Main.Make = import_ref Main//factory, Make, unloaded // CHECK:STDOUT: %Main.Method = import_ref Main//factory, Method, unloaded -// CHECK:STDOUT: %Main.import_ref.b4a: @Factory.WithSelf.%Factory.WithSelf.Method.type (%Factory.WithSelf.Method.type.35d) = import_ref Main//factory, loc8_31, loaded [symbolic = @Factory.WithSelf.%Factory.WithSelf.Method (constants.%Factory.WithSelf.Method.838)] +// CHECK:STDOUT: %Main.import_ref.7e5: @Factory.WithSelf.%Factory.WithSelf.Method.type (%Factory.WithSelf.Method.type.5f0) = import_ref Main//factory, loc8_31, loaded [symbolic = @Factory.WithSelf.%Factory.WithSelf.Method (constants.%Factory.WithSelf.Method.2bf)] // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//factory, loc4_20, loaded [symbolic = @Factory.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.d52075.2: @Factory.%Factory.type (%Factory.type.c6b) = import_ref Main//factory, loc4_29, loaded [symbolic = @Factory.%Self (constants.%Self.b7d)] -// CHECK:STDOUT: %Main.import_ref.7d1: @Factory.WithSelf.%Factory.WithSelf.Make.type (%Factory.WithSelf.Make.type.da7) = import_ref Main//factory, loc6_17, loaded [symbolic = @Factory.WithSelf.%Factory.WithSelf.Make (constants.%Factory.WithSelf.Make.d2c)] +// CHECK:STDOUT: %Main.import_ref.301bf0.2: @Factory.%Factory.type (%Factory.type.300) = import_ref Main//factory, loc4_29, loaded [symbolic = @Factory.%Self (constants.%Self.399)] +// CHECK:STDOUT: %Main.import_ref.0e8: @Factory.WithSelf.%Factory.WithSelf.Make.type (%Factory.WithSelf.Make.type.2f7) = import_ref Main//factory, loc6_17, loaded [symbolic = @Factory.WithSelf.%Factory.WithSelf.Make (constants.%Factory.WithSelf.Make.f06)] // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//factory, loc4_20, loaded [symbolic = @Factory.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.d52075.3: @Factory.%Factory.type (%Factory.type.c6b) = import_ref Main//factory, loc4_29, loaded [symbolic = @Factory.%Self (constants.%Self.b7d)] -// CHECK:STDOUT: %Main.import_ref.bbf = import_ref Main//factory, loc4_29, unloaded +// CHECK:STDOUT: %Main.import_ref.301bf0.3: @Factory.%Factory.type (%Factory.type.300) = import_ref Main//factory, loc4_29, loaded [symbolic = @Factory.%Self (constants.%Self.399)] +// CHECK:STDOUT: %Main.import_ref.159 = import_ref Main//factory, loc4_29, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.4: type = import_ref Main//factory, loc4_20, loaded [symbolic = @Factory.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.816: = import_ref Main//factory, loc14_22, loaded [concrete = constants.%Factory.impl_witness] +// CHECK:STDOUT: %Main.import_ref.f9f: = import_ref Main//factory, loc14_22, loaded [concrete = constants.%Factory.impl_witness] // CHECK:STDOUT: %Main.import_ref.8f24d3.2: = import_ref Main//factory, loc11_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.67d = import_ref Main//factory, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.094: type = import_ref Main//factory, loc14_6, loaded [concrete = constants.%A] -// CHECK:STDOUT: %Main.import_ref.4b8: type = import_ref Main//factory, loc14_20, loaded [concrete = constants.%Factory.type.8da] -// CHECK:STDOUT: %Main.import_ref.782 = import_ref Main//factory, loc15_17, unloaded -// CHECK:STDOUT: %Main.import_ref.b9c = import_ref Main//factory, loc16_31, unloaded -// CHECK:STDOUT: %Main.import_ref.168 = import_ref Main//factory, loc14_20, unloaded -// CHECK:STDOUT: %Main.import_ref.b9d = import_ref Main//factory, loc6_17, unloaded -// CHECK:STDOUT: %Main.import_ref.abc: %A.as.Factory.impl.Make.type = import_ref Main//factory, loc15_17, loaded [concrete = constants.%A.as.Factory.impl.Make] -// CHECK:STDOUT: %Main.import_ref.cbb: %A.as.Factory.impl.Method.type = import_ref Main//factory, loc16_31, loaded [concrete = constants.%A.as.Factory.impl.Method] -// CHECK:STDOUT: %Factory.impl_witness_table = impl_witness_table (%Main.import_ref.abc, %Main.import_ref.cbb), @A.as.Factory.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.797 = import_ref Main//factory, loc8_31, unloaded +// CHECK:STDOUT: %Main.import_ref.5d6 = import_ref Main//factory, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.abd: type = import_ref Main//factory, loc14_6, loaded [concrete = constants.%A] +// CHECK:STDOUT: %Main.import_ref.96d: type = import_ref Main//factory, loc14_20, loaded [concrete = constants.%Factory.type.bcb] +// CHECK:STDOUT: %Main.import_ref.32b = import_ref Main//factory, loc15_17, unloaded +// CHECK:STDOUT: %Main.import_ref.41a = import_ref Main//factory, loc16_31, unloaded +// CHECK:STDOUT: %Main.import_ref.59e = import_ref Main//factory, loc14_20, unloaded +// CHECK:STDOUT: %Main.import_ref.867 = import_ref Main//factory, loc6_17, unloaded +// CHECK:STDOUT: %Main.import_ref.af8: %A.as.Factory.impl.Make.type = import_ref Main//factory, loc15_17, loaded [concrete = constants.%A.as.Factory.impl.Make] +// CHECK:STDOUT: %Main.import_ref.ede: %A.as.Factory.impl.Method.type = import_ref Main//factory, loc16_31, loaded [concrete = constants.%A.as.Factory.impl.Method] +// CHECK:STDOUT: %Factory.impl_witness_table = impl_witness_table (%Main.import_ref.af8, %Main.import_ref.ede), @A.as.Factory.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.755 = import_ref Main//factory, loc8_31, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1244,22 +1244,22 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %default.import.loc2_23.2 = import // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %MakeB.decl: %MakeB.type = fn_decl @MakeB [concrete = constants.%MakeB] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.5c3 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.5c3 = return_slot_pattern %return.param_patt, %B.ref.loc4 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.787 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.787 = return_slot_pattern %return.param_patt, %B.ref.loc4 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %B.ref.loc4: type = name_ref B, imports.%Main.B [concrete = constants.%B] -// CHECK:STDOUT: %.loc4_15.2: Core.Form = init_form %B.ref.loc4 [concrete = constants.%.3de] +// CHECK:STDOUT: %.loc4_15.2: Core.Form = init_form %B.ref.loc4 [concrete = constants.%.25e] // CHECK:STDOUT: %return.param: ref %B = out_param call_param0 // CHECK:STDOUT: %return: ref %B = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %InstanceB.decl: %InstanceB.type = fn_decl @InstanceB [concrete = constants.%InstanceB] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.22c = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.22c = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.5c3 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.5c3 = return_slot_pattern %return.param_patt, %B.ref.loc7 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.ccb = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.787 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.787 = return_slot_pattern %return.param_patt, %B.ref.loc7 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %B.ref.loc7: type = name_ref B, imports.%Main.B [concrete = constants.%B] -// CHECK:STDOUT: %.loc7_23.2: Core.Form = init_form %B.ref.loc7 [concrete = constants.%.3de] +// CHECK:STDOUT: %.loc7_23.2: Core.Form = init_form %B.ref.loc7 [concrete = constants.%.25e] // CHECK:STDOUT: %a.param: %A = value_param call_param0 // CHECK:STDOUT: %A.ref: type = name_ref A, imports.%Main.A [concrete = constants.%A] // CHECK:STDOUT: %a: %A = value_binding a, %a.param @@ -1272,55 +1272,55 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(%T)> [symbolic = %Factory.type (constants.%Factory.type.c6b)] -// CHECK:STDOUT: %Self: @Factory.%Factory.type (%Factory.type.c6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7d)] +// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(%T)> [symbolic = %Factory.type (constants.%Factory.type.300)] +// CHECK:STDOUT: %Self: @Factory.%Factory.type (%Factory.type.300) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.399)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.bbf -// CHECK:STDOUT: .Make = imports.%Main.import_ref.af1 -// CHECK:STDOUT: .Method = imports.%Main.import_ref.b7d +// CHECK:STDOUT: .Self = imports.%Main.import_ref.159 +// CHECK:STDOUT: .Make = imports.%Main.import_ref.295 +// CHECK:STDOUT: .Method = imports.%Main.import_ref.1dd // CHECK:STDOUT: witness = (imports.%Main.Make, imports.%Main.Method) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @A.as.Factory.impl: imports.%Main.import_ref.094 as imports.%Main.import_ref.4b8 [from "factory.carbon"] { +// CHECK:STDOUT: impl @A.as.Factory.impl: imports.%Main.import_ref.abd as imports.%Main.import_ref.96d [from "factory.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Make = imports.%Main.import_ref.782 -// CHECK:STDOUT: .Method = imports.%Main.import_ref.b9c -// CHECK:STDOUT: extend imports.%Main.import_ref.168 -// CHECK:STDOUT: witness = imports.%Main.import_ref.816 +// CHECK:STDOUT: .Make = imports.%Main.import_ref.32b +// CHECK:STDOUT: .Method = imports.%Main.import_ref.41a +// CHECK:STDOUT: extend imports.%Main.import_ref.59e +// CHECK:STDOUT: witness = imports.%Main.import_ref.f9f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @B [from "factory.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.80c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.671 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @A [from "factory.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.67d +// CHECK:STDOUT: .Self = imports.%Main.import_ref.5d6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Factory.WithSelf.Method(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.d52075.2: @Factory.%Factory.type (%Factory.type.c6b)) [from "factory.carbon"] { +// CHECK:STDOUT: generic fn @Factory.WithSelf.Method(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.301bf0.2: @Factory.%Factory.type (%Factory.type.300)) [from "factory.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(%T)> [symbolic = %Factory.type (constants.%Factory.type.c6b)] -// CHECK:STDOUT: %Self: @Factory.WithSelf.Method.%Factory.type (%Factory.type.c6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7d)] +// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(%T)> [symbolic = %Factory.type (constants.%Factory.type.300)] +// CHECK:STDOUT: %Self: @Factory.WithSelf.Method.%Factory.type (%Factory.type.300) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.399)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.e10)] +// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.6c7)] // CHECK:STDOUT: %.1: Core.Form = init_form %T [symbolic = %.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.2: type = pattern_type %T [symbolic = %pattern_type.2 (constants.%pattern_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Factory.WithSelf.Make(imports.%Main.import_ref.b3bc94.3: type, imports.%Main.import_ref.d52075.3: @Factory.%Factory.type (%Factory.type.c6b)) [from "factory.carbon"] { +// CHECK:STDOUT: generic fn @Factory.WithSelf.Make(imports.%Main.import_ref.b3bc94.3: type, imports.%Main.import_ref.301bf0.3: @Factory.%Factory.type (%Factory.type.300)) [from "factory.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %.1: Core.Form = init_form %T [symbolic = %.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type: type = pattern_type %T [symbolic = %pattern_type (constants.%pattern_type.51d)] @@ -1331,14 +1331,14 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: fn @MakeB() -> out %return.param: %B { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %A.ref: type = name_ref A, imports.%Main.A [concrete = constants.%A] -// CHECK:STDOUT: %Factory.ref: %Factory.type.f5e = name_ref Factory, imports.%Main.Factory [concrete = constants.%Factory.generic] +// CHECK:STDOUT: %Factory.ref: %Factory.type.db1 = name_ref Factory, imports.%Main.Factory [concrete = constants.%Factory.generic] // CHECK:STDOUT: %B.ref.loc5: type = name_ref B, imports.%Main.B [concrete = constants.%B] -// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(constants.%B)> [concrete = constants.%Factory.type.8da] -// CHECK:STDOUT: %.loc5_23: %Factory.assoc_type.52f = specific_constant imports.%Main.import_ref.af1, @Factory.WithSelf(constants.%B, constants.%Self.b7d) [concrete = constants.%assoc0.810] -// CHECK:STDOUT: %Make.ref: %Factory.assoc_type.52f = name_ref Make, %.loc5_23 [concrete = constants.%assoc0.810] -// CHECK:STDOUT: %Factory.facet: %Factory.type.8da = facet_value %A.ref, (constants.%Factory.impl_witness) [concrete = constants.%Factory.facet] -// CHECK:STDOUT: %.loc5_11: %Factory.type.8da = converted %A.ref, %Factory.facet [concrete = constants.%Factory.facet] -// CHECK:STDOUT: %impl.elem0: %.5c8 = impl_witness_access constants.%Factory.impl_witness, element0 [concrete = constants.%A.as.Factory.impl.Make] +// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(constants.%B)> [concrete = constants.%Factory.type.bcb] +// CHECK:STDOUT: %.loc5_23: %Factory.assoc_type.f46 = specific_constant imports.%Main.import_ref.295, @Factory.WithSelf(constants.%B, constants.%Self.399) [concrete = constants.%assoc0.1db] +// CHECK:STDOUT: %Make.ref: %Factory.assoc_type.f46 = name_ref Make, %.loc5_23 [concrete = constants.%assoc0.1db] +// CHECK:STDOUT: %Factory.facet: %Factory.type.bcb = facet_value %A.ref, (constants.%Factory.impl_witness) [concrete = constants.%Factory.facet] +// CHECK:STDOUT: %.loc5_11: %Factory.type.bcb = converted %A.ref, %Factory.facet [concrete = constants.%Factory.facet] +// CHECK:STDOUT: %impl.elem0: %.508 = impl_witness_access constants.%Factory.impl_witness, element0 [concrete = constants.%A.as.Factory.impl.Make] // CHECK:STDOUT: %.loc4_15.1: ref %B = splice_block %return.param {} // CHECK:STDOUT: %A.as.Factory.impl.Make.call: init %B to %.loc4_15.1 = call %impl.elem0() // CHECK:STDOUT: return %A.as.Factory.impl.Make.call to %return.param @@ -1349,12 +1349,12 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: fn @InstanceB(%a.param: %A) -> out %return.param: %B { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %A = name_ref a, %a -// CHECK:STDOUT: %Factory.ref: %Factory.type.f5e = name_ref Factory, imports.%Main.Factory [concrete = constants.%Factory.generic] +// CHECK:STDOUT: %Factory.ref: %Factory.type.db1 = name_ref Factory, imports.%Main.Factory [concrete = constants.%Factory.generic] // CHECK:STDOUT: %B.ref.loc8: type = name_ref B, imports.%Main.B [concrete = constants.%B] -// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(constants.%B)> [concrete = constants.%Factory.type.8da] -// CHECK:STDOUT: %.loc8: %Factory.assoc_type.52f = specific_constant imports.%Main.import_ref.b7d, @Factory.WithSelf(constants.%B, constants.%Self.b7d) [concrete = constants.%assoc1.daf] -// CHECK:STDOUT: %Method.ref: %Factory.assoc_type.52f = name_ref Method, %.loc8 [concrete = constants.%assoc1.daf] -// CHECK:STDOUT: %impl.elem1: %.4b5 = impl_witness_access constants.%Factory.impl_witness, element1 [concrete = constants.%A.as.Factory.impl.Method] +// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(constants.%B)> [concrete = constants.%Factory.type.bcb] +// CHECK:STDOUT: %.loc8: %Factory.assoc_type.f46 = specific_constant imports.%Main.import_ref.1dd, @Factory.WithSelf(constants.%B, constants.%Self.399) [concrete = constants.%assoc1.a97] +// CHECK:STDOUT: %Method.ref: %Factory.assoc_type.f46 = name_ref Method, %.loc8 [concrete = constants.%assoc1.a97] +// CHECK:STDOUT: %impl.elem1: %.d3d = impl_witness_access constants.%Factory.impl_witness, element1 [concrete = constants.%A.as.Factory.impl.Method] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: %.loc7_23.1: ref %B = splice_block %return.param {} // CHECK:STDOUT: %A.as.Factory.impl.Method.call: init %B to %.loc7_23.1 = call %bound_method(%a.ref) @@ -1367,19 +1367,19 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Factory.WithSelf(constants.%T, constants.%Self.b7d) {} +// CHECK:STDOUT: specific @Factory.WithSelf(constants.%T, constants.%Self.399) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Factory.WithSelf.Method(constants.%T, constants.%Self.b7d) { +// CHECK:STDOUT: specific @Factory.WithSelf.Method(constants.%T, constants.%Self.399) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.c6b -// CHECK:STDOUT: %Self => constants.%Self.b7d +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.300 +// CHECK:STDOUT: %Self => constants.%Self.399 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.e10 +// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.6c7 // CHECK:STDOUT: %.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Factory.WithSelf.Make(constants.%T, constants.%Self.b7d) { +// CHECK:STDOUT: specific @Factory.WithSelf.Make(constants.%T, constants.%Self.399) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %.1 => constants.%.184 // CHECK:STDOUT: %pattern_type => constants.%pattern_type.51d @@ -1389,36 +1389,36 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T => constants.%B // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.8da -// CHECK:STDOUT: %Self => constants.%Self.449 +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.bcb +// CHECK:STDOUT: %Self => constants.%Self.d48 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Factory.WithSelf(constants.%B, constants.%Self.b7d) { +// CHECK:STDOUT: specific @Factory.WithSelf(constants.%B, constants.%Self.399) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%B -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.8da -// CHECK:STDOUT: %Self => constants.%Self.b7d -// CHECK:STDOUT: %Factory.WithSelf.Make.type => constants.%Factory.WithSelf.Make.type.cca -// CHECK:STDOUT: %Factory.WithSelf.Make => constants.%Factory.WithSelf.Make.532 -// CHECK:STDOUT: %Factory.assoc_type => constants.%Factory.assoc_type.52f -// CHECK:STDOUT: %assoc0 => constants.%assoc0.810 -// CHECK:STDOUT: %Factory.WithSelf.Method.type => constants.%Factory.WithSelf.Method.type.ea0 -// CHECK:STDOUT: %Factory.WithSelf.Method => constants.%Factory.WithSelf.Method.6c7 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.daf +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.bcb +// CHECK:STDOUT: %Self => constants.%Self.399 +// CHECK:STDOUT: %Factory.WithSelf.Make.type => constants.%Factory.WithSelf.Make.type.6b1 +// CHECK:STDOUT: %Factory.WithSelf.Make => constants.%Factory.WithSelf.Make.07e +// CHECK:STDOUT: %Factory.assoc_type => constants.%Factory.assoc_type.f46 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.1db +// CHECK:STDOUT: %Factory.WithSelf.Method.type => constants.%Factory.WithSelf.Method.type.cef +// CHECK:STDOUT: %Factory.WithSelf.Method => constants.%Factory.WithSelf.Method.35a +// CHECK:STDOUT: %assoc1 => constants.%assoc1.a97 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Factory.WithSelf(constants.%B, constants.%Factory.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%B -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.8da +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.bcb // CHECK:STDOUT: %Self => constants.%Factory.facet -// CHECK:STDOUT: %Factory.WithSelf.Make.type => constants.%Factory.WithSelf.Make.type.ad7 -// CHECK:STDOUT: %Factory.WithSelf.Make => constants.%Factory.WithSelf.Make.f02 -// CHECK:STDOUT: %Factory.assoc_type => constants.%Factory.assoc_type.52f -// CHECK:STDOUT: %assoc0 => constants.%assoc0.810 -// CHECK:STDOUT: %Factory.WithSelf.Method.type => constants.%Factory.WithSelf.Method.type.c99 -// CHECK:STDOUT: %Factory.WithSelf.Method => constants.%Factory.WithSelf.Method.996 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.daf +// CHECK:STDOUT: %Factory.WithSelf.Make.type => constants.%Factory.WithSelf.Make.type.0d4 +// CHECK:STDOUT: %Factory.WithSelf.Make => constants.%Factory.WithSelf.Make.292 +// CHECK:STDOUT: %Factory.assoc_type => constants.%Factory.assoc_type.f46 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.1db +// CHECK:STDOUT: %Factory.WithSelf.Method.type => constants.%Factory.WithSelf.Method.type.05d +// CHECK:STDOUT: %Factory.WithSelf.Method => constants.%Factory.WithSelf.Method.579 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.a97 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_factory.impl.carbon @@ -1427,46 +1427,46 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %B: type = class_type @B [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %Factory.type.f5e: type = generic_interface_type @Factory [concrete] -// CHECK:STDOUT: %Factory.generic: %Factory.type.f5e = struct_value () [concrete] +// CHECK:STDOUT: %Factory.type.db1: type = generic_interface_type @Factory [concrete] +// CHECK:STDOUT: %Factory.generic: %Factory.type.db1 = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Factory.type.c6b: type = facet_type <@Factory, @Factory(%T)> [symbolic] -// CHECK:STDOUT: %Self.b7d: %Factory.type.c6b = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Factory.assoc_type.3d9: type = assoc_entity_type @Factory, @Factory(%T) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Method.type.35d: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%T, %Self.b7d) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Method.838: %Factory.WithSelf.Method.type.35d = struct_value () [symbolic] +// CHECK:STDOUT: %Factory.type.300: type = facet_type <@Factory, @Factory(%T)> [symbolic] +// CHECK:STDOUT: %Self.399: %Factory.type.300 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Factory.assoc_type.802: type = assoc_entity_type @Factory, @Factory(%T) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Method.type.5f0: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%T, %Self.399) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Method.2bf: %Factory.WithSelf.Method.type.5f0 = struct_value () [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.b7d [symbolic] -// CHECK:STDOUT: %pattern_type.e10: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.399 [symbolic] +// CHECK:STDOUT: %pattern_type.6c7: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %T [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Make.type.da7: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%T, %Self.b7d) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Make.d2c: %Factory.WithSelf.Make.type.da7 = struct_value () [symbolic] -// CHECK:STDOUT: %Factory.type.8da: type = facet_type <@Factory, @Factory(%B)> [concrete] -// CHECK:STDOUT: %Self.449: %Factory.type.8da = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Make.type.2f7: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%T, %Self.399) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Make.f06: %Factory.WithSelf.Make.type.2f7 = struct_value () [symbolic] +// CHECK:STDOUT: %Factory.type.bcb: type = facet_type <@Factory, @Factory(%B)> [concrete] +// CHECK:STDOUT: %Self.d48: %Factory.type.bcb = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %A: type = class_type @A [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %.1bc: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.e83: type = pattern_type %C [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %MakeC.type: type = fn_type @MakeC [concrete] // CHECK:STDOUT: %MakeC: %MakeC.type = struct_value () [concrete] -// CHECK:STDOUT: %Factory.type.c5b: type = facet_type <@Factory, @Factory(%C)> [concrete] -// CHECK:STDOUT: %Self.bba: %Factory.type.c5b = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Make.type.ca1: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%C, %Self.b7d) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Make.bea: %Factory.WithSelf.Make.type.ca1 = struct_value () [symbolic] -// CHECK:STDOUT: %Factory.assoc_type.01c: type = assoc_entity_type @Factory, @Factory(%C) [concrete] -// CHECK:STDOUT: %assoc0.8ed: %Factory.assoc_type.01c = assoc_entity element0, imports.%Main.import_ref.7d1 [concrete] -// CHECK:STDOUT: %Factory.WithSelf.Method.type.9e2: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%C, %Self.b7d) [symbolic] -// CHECK:STDOUT: %Factory.WithSelf.Method.a0d: %Factory.WithSelf.Method.type.9e2 = struct_value () [symbolic] -// CHECK:STDOUT: %assoc1.f7f: %Factory.assoc_type.01c = assoc_entity element1, imports.%Main.import_ref.b4a [concrete] -// CHECK:STDOUT: %assoc0.e2a: %Factory.assoc_type.3d9 = assoc_entity element0, imports.%Main.import_ref.b9d [symbolic] -// CHECK:STDOUT: %pattern_type.22c: type = pattern_type %A [concrete] +// CHECK:STDOUT: %Factory.type.100: type = facet_type <@Factory, @Factory(%C)> [concrete] +// CHECK:STDOUT: %Self.cfc: %Factory.type.100 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Make.type.320: type = fn_type @Factory.WithSelf.Make, @Factory.WithSelf(%C, %Self.399) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Make.aa1: %Factory.WithSelf.Make.type.320 = struct_value () [symbolic] +// CHECK:STDOUT: %Factory.assoc_type.223: type = assoc_entity_type @Factory, @Factory(%C) [concrete] +// CHECK:STDOUT: %assoc0.738: %Factory.assoc_type.223 = assoc_entity element0, imports.%Main.import_ref.0e8 [concrete] +// CHECK:STDOUT: %Factory.WithSelf.Method.type.7a2: type = fn_type @Factory.WithSelf.Method, @Factory.WithSelf(%C, %Self.399) [symbolic] +// CHECK:STDOUT: %Factory.WithSelf.Method.b11: %Factory.WithSelf.Method.type.7a2 = struct_value () [symbolic] +// CHECK:STDOUT: %assoc1.7c2: %Factory.assoc_type.223 = assoc_entity element1, imports.%Main.import_ref.7e5 [concrete] +// CHECK:STDOUT: %assoc0.584: %Factory.assoc_type.802 = assoc_entity element0, imports.%Main.import_ref.867 [symbolic] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %InstanceC.type: type = fn_type @InstanceC [concrete] // CHECK:STDOUT: %InstanceC: %InstanceC.type = struct_value () [concrete] -// CHECK:STDOUT: %assoc1.ecb: %Factory.assoc_type.3d9 = assoc_entity element1, imports.%Main.import_ref.797 [symbolic] +// CHECK:STDOUT: %assoc1.9ce: %Factory.assoc_type.802 = assoc_entity element1, imports.%Main.import_ref.755 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.Factory: %Factory.type.f5e = import_ref Main//factory, Factory, loaded [concrete = constants.%Factory.generic] +// CHECK:STDOUT: %Main.Factory: %Factory.type.db1 = import_ref Main//factory, Factory, loaded [concrete = constants.%Factory.generic] // CHECK:STDOUT: %Main.A: type = import_ref Main//factory, A, loaded [concrete = constants.%A] // CHECK:STDOUT: %Main.B = import_ref Main//factory, B, unloaded // CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { @@ -1475,29 +1475,29 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f24d3.1: = import_ref Main//factory, loc12_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.80c = import_ref Main//factory, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.af1: @Factory.WithSelf.%Factory.assoc_type (%Factory.assoc_type.3d9) = import_ref Main//factory, loc6_17, loaded [symbolic = @Factory.WithSelf.%assoc0 (constants.%assoc0.e2a)] -// CHECK:STDOUT: %Main.import_ref.b7d: @Factory.WithSelf.%Factory.assoc_type (%Factory.assoc_type.3d9) = import_ref Main//factory, loc8_31, loaded [symbolic = @Factory.WithSelf.%assoc1 (constants.%assoc1.ecb)] +// CHECK:STDOUT: %Main.import_ref.671 = import_ref Main//factory, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.295: @Factory.WithSelf.%Factory.assoc_type (%Factory.assoc_type.802) = import_ref Main//factory, loc6_17, loaded [symbolic = @Factory.WithSelf.%assoc0 (constants.%assoc0.584)] +// CHECK:STDOUT: %Main.import_ref.1dd: @Factory.WithSelf.%Factory.assoc_type (%Factory.assoc_type.802) = import_ref Main//factory, loc8_31, loaded [symbolic = @Factory.WithSelf.%assoc1 (constants.%assoc1.9ce)] // CHECK:STDOUT: %Main.Make = import_ref Main//factory, Make, unloaded // CHECK:STDOUT: %Main.Method = import_ref Main//factory, Method, unloaded -// CHECK:STDOUT: %Main.import_ref.b4a: @Factory.WithSelf.%Factory.WithSelf.Method.type (%Factory.WithSelf.Method.type.35d) = import_ref Main//factory, loc8_31, loaded [symbolic = @Factory.WithSelf.%Factory.WithSelf.Method (constants.%Factory.WithSelf.Method.838)] +// CHECK:STDOUT: %Main.import_ref.7e5: @Factory.WithSelf.%Factory.WithSelf.Method.type (%Factory.WithSelf.Method.type.5f0) = import_ref Main//factory, loc8_31, loaded [symbolic = @Factory.WithSelf.%Factory.WithSelf.Method (constants.%Factory.WithSelf.Method.2bf)] // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//factory, loc4_20, loaded [symbolic = @Factory.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.d52075.2: @Factory.%Factory.type (%Factory.type.c6b) = import_ref Main//factory, loc4_29, loaded [symbolic = @Factory.%Self (constants.%Self.b7d)] -// CHECK:STDOUT: %Main.import_ref.7d1: @Factory.WithSelf.%Factory.WithSelf.Make.type (%Factory.WithSelf.Make.type.da7) = import_ref Main//factory, loc6_17, loaded [symbolic = @Factory.WithSelf.%Factory.WithSelf.Make (constants.%Factory.WithSelf.Make.d2c)] +// CHECK:STDOUT: %Main.import_ref.301bf0.2: @Factory.%Factory.type (%Factory.type.300) = import_ref Main//factory, loc4_29, loaded [symbolic = @Factory.%Self (constants.%Self.399)] +// CHECK:STDOUT: %Main.import_ref.0e8: @Factory.WithSelf.%Factory.WithSelf.Make.type (%Factory.WithSelf.Make.type.2f7) = import_ref Main//factory, loc6_17, loaded [symbolic = @Factory.WithSelf.%Factory.WithSelf.Make (constants.%Factory.WithSelf.Make.f06)] // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//factory, loc4_20, loaded [symbolic = @Factory.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.d52075.3: @Factory.%Factory.type (%Factory.type.c6b) = import_ref Main//factory, loc4_29, loaded [symbolic = @Factory.%Self (constants.%Self.b7d)] -// CHECK:STDOUT: %Main.import_ref.bbf = import_ref Main//factory, loc4_29, unloaded +// CHECK:STDOUT: %Main.import_ref.301bf0.3: @Factory.%Factory.type (%Factory.type.300) = import_ref Main//factory, loc4_29, loaded [symbolic = @Factory.%Self (constants.%Self.399)] +// CHECK:STDOUT: %Main.import_ref.159 = import_ref Main//factory, loc4_29, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.4: type = import_ref Main//factory, loc4_20, loaded [symbolic = @Factory.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.cea = import_ref Main//factory, loc14_22, unloaded +// CHECK:STDOUT: %Main.import_ref.9d3 = import_ref Main//factory, loc14_22, unloaded // CHECK:STDOUT: %Main.import_ref.8f24d3.2: = import_ref Main//factory, loc11_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.67d = import_ref Main//factory, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.094: type = import_ref Main//factory, loc14_6, loaded [concrete = constants.%A] -// CHECK:STDOUT: %Main.import_ref.4b8: type = import_ref Main//factory, loc14_20, loaded [concrete = constants.%Factory.type.8da] -// CHECK:STDOUT: %Main.import_ref.782 = import_ref Main//factory, loc15_17, unloaded -// CHECK:STDOUT: %Main.import_ref.b9c = import_ref Main//factory, loc16_31, unloaded -// CHECK:STDOUT: %Main.import_ref.168 = import_ref Main//factory, loc14_20, unloaded -// CHECK:STDOUT: %Main.import_ref.b9d = import_ref Main//factory, loc6_17, unloaded -// CHECK:STDOUT: %Main.import_ref.797 = import_ref Main//factory, loc8_31, unloaded +// CHECK:STDOUT: %Main.import_ref.5d6 = import_ref Main//factory, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.abd: type = import_ref Main//factory, loc14_6, loaded [concrete = constants.%A] +// CHECK:STDOUT: %Main.import_ref.96d: type = import_ref Main//factory, loc14_20, loaded [concrete = constants.%Factory.type.bcb] +// CHECK:STDOUT: %Main.import_ref.32b = import_ref Main//factory, loc15_17, unloaded +// CHECK:STDOUT: %Main.import_ref.41a = import_ref Main//factory, loc16_31, unloaded +// CHECK:STDOUT: %Main.import_ref.59e = import_ref Main//factory, loc14_20, unloaded +// CHECK:STDOUT: %Main.import_ref.867 = import_ref Main//factory, loc6_17, unloaded +// CHECK:STDOUT: %Main.import_ref.755 = import_ref Main//factory, loc8_31, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1515,22 +1515,22 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %MakeC.decl: %MakeC.type = fn_decl @MakeC [concrete = constants.%MakeC] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.e83 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.e83 = return_slot_pattern %return.param_patt, %C.ref.loc8 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref.loc8 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc8: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc8: Core.Form = init_form %C.ref.loc8 [concrete = constants.%.1bc] +// CHECK:STDOUT: %.loc8: Core.Form = init_form %C.ref.loc8 [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %InstanceC.decl: %InstanceC.type = fn_decl @InstanceC [concrete = constants.%InstanceC] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.22c = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.22c = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.e83 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.e83 = return_slot_pattern %return.param_patt, %C.ref.loc16 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.ccb = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.ccb = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref.loc16 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc16: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %C.ref.loc16 [concrete = constants.%.1bc] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %C.ref.loc16 [concrete = constants.%.8f0] // CHECK:STDOUT: %a.param: %A = value_param call_param0 // CHECK:STDOUT: %A.ref: type = name_ref A, imports.%Main.A [concrete = constants.%A] // CHECK:STDOUT: %a: %A = value_binding a, %a.param @@ -1543,40 +1543,40 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(%T)> [symbolic = %Factory.type (constants.%Factory.type.c6b)] -// CHECK:STDOUT: %Self: @Factory.%Factory.type (%Factory.type.c6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7d)] +// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(%T)> [symbolic = %Factory.type (constants.%Factory.type.300)] +// CHECK:STDOUT: %Self: @Factory.%Factory.type (%Factory.type.300) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.399)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.bbf -// CHECK:STDOUT: .Make = imports.%Main.import_ref.af1 -// CHECK:STDOUT: .Method = imports.%Main.import_ref.b7d +// CHECK:STDOUT: .Self = imports.%Main.import_ref.159 +// CHECK:STDOUT: .Make = imports.%Main.import_ref.295 +// CHECK:STDOUT: .Method = imports.%Main.import_ref.1dd // CHECK:STDOUT: witness = (imports.%Main.Make, imports.%Main.Method) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @A.as.Factory.impl: imports.%Main.import_ref.094 as imports.%Main.import_ref.4b8 [from "factory.carbon"] { +// CHECK:STDOUT: impl @A.as.Factory.impl: imports.%Main.import_ref.abd as imports.%Main.import_ref.96d [from "factory.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Make = imports.%Main.import_ref.782 -// CHECK:STDOUT: .Method = imports.%Main.import_ref.b9c -// CHECK:STDOUT: extend imports.%Main.import_ref.168 -// CHECK:STDOUT: witness = imports.%Main.import_ref.cea +// CHECK:STDOUT: .Make = imports.%Main.import_ref.32b +// CHECK:STDOUT: .Method = imports.%Main.import_ref.41a +// CHECK:STDOUT: extend imports.%Main.import_ref.59e +// CHECK:STDOUT: witness = imports.%Main.import_ref.9d3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @B [from "factory.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.80c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.671 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @A [from "factory.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.67d +// CHECK:STDOUT: .Self = imports.%Main.import_ref.5d6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C { @@ -1587,19 +1587,19 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: .Self = constants.%C // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Factory.WithSelf.Method(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.d52075.2: @Factory.%Factory.type (%Factory.type.c6b)) [from "factory.carbon"] { +// CHECK:STDOUT: generic fn @Factory.WithSelf.Method(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.301bf0.2: @Factory.%Factory.type (%Factory.type.300)) [from "factory.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(%T)> [symbolic = %Factory.type (constants.%Factory.type.c6b)] -// CHECK:STDOUT: %Self: @Factory.WithSelf.Method.%Factory.type (%Factory.type.c6b) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7d)] +// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(%T)> [symbolic = %Factory.type (constants.%Factory.type.300)] +// CHECK:STDOUT: %Self: @Factory.WithSelf.Method.%Factory.type (%Factory.type.300) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.399)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.e10)] +// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.6c7)] // CHECK:STDOUT: %.1: Core.Form = init_form %T [symbolic = %.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.2: type = pattern_type %T [symbolic = %pattern_type.2 (constants.%pattern_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Factory.WithSelf.Make(imports.%Main.import_ref.b3bc94.3: type, imports.%Main.import_ref.d52075.3: @Factory.%Factory.type (%Factory.type.c6b)) [from "factory.carbon"] { +// CHECK:STDOUT: generic fn @Factory.WithSelf.Make(imports.%Main.import_ref.b3bc94.3: type, imports.%Main.import_ref.301bf0.3: @Factory.%Factory.type (%Factory.type.300)) [from "factory.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: %.1: Core.Form = init_form %T [symbolic = %.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type: type = pattern_type %T [symbolic = %pattern_type (constants.%pattern_type.51d)] @@ -1610,22 +1610,22 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: fn @MakeC() -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %A.ref: type = name_ref A, imports.%Main.A [concrete = constants.%A] -// CHECK:STDOUT: %Factory.ref: %Factory.type.f5e = name_ref Factory, imports.%Main.Factory [concrete = constants.%Factory.generic] +// CHECK:STDOUT: %Factory.ref: %Factory.type.db1 = name_ref Factory, imports.%Main.Factory [concrete = constants.%Factory.generic] // CHECK:STDOUT: %C.ref.loc13: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(constants.%C)> [concrete = constants.%Factory.type.c5b] -// CHECK:STDOUT: %.loc13: %Factory.assoc_type.01c = specific_constant imports.%Main.import_ref.af1, @Factory.WithSelf(constants.%C, constants.%Self.b7d) [concrete = constants.%assoc0.8ed] -// CHECK:STDOUT: %Make.ref: %Factory.assoc_type.01c = name_ref Make, %.loc13 [concrete = constants.%assoc0.8ed] +// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(constants.%C)> [concrete = constants.%Factory.type.100] +// CHECK:STDOUT: %.loc13: %Factory.assoc_type.223 = specific_constant imports.%Main.import_ref.295, @Factory.WithSelf(constants.%C, constants.%Self.399) [concrete = constants.%assoc0.738] +// CHECK:STDOUT: %Make.ref: %Factory.assoc_type.223 = name_ref Make, %.loc13 [concrete = constants.%assoc0.738] // CHECK:STDOUT: return to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @InstanceC(%a.param: %A) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %A = name_ref a, %a -// CHECK:STDOUT: %Factory.ref: %Factory.type.f5e = name_ref Factory, imports.%Main.Factory [concrete = constants.%Factory.generic] +// CHECK:STDOUT: %Factory.ref: %Factory.type.db1 = name_ref Factory, imports.%Main.Factory [concrete = constants.%Factory.generic] // CHECK:STDOUT: %C.ref.loc21: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(constants.%C)> [concrete = constants.%Factory.type.c5b] -// CHECK:STDOUT: %.loc21: %Factory.assoc_type.01c = specific_constant imports.%Main.import_ref.b7d, @Factory.WithSelf(constants.%C, constants.%Self.b7d) [concrete = constants.%assoc1.f7f] -// CHECK:STDOUT: %Method.ref: %Factory.assoc_type.01c = name_ref Method, %.loc21 [concrete = constants.%assoc1.f7f] +// CHECK:STDOUT: %Factory.type: type = facet_type <@Factory, @Factory(constants.%C)> [concrete = constants.%Factory.type.100] +// CHECK:STDOUT: %.loc21: %Factory.assoc_type.223 = specific_constant imports.%Main.import_ref.1dd, @Factory.WithSelf(constants.%C, constants.%Self.399) [concrete = constants.%assoc1.7c2] +// CHECK:STDOUT: %Method.ref: %Factory.assoc_type.223 = name_ref Method, %.loc21 [concrete = constants.%assoc1.7c2] // CHECK:STDOUT: return to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1633,19 +1633,19 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Factory.WithSelf(constants.%T, constants.%Self.b7d) {} +// CHECK:STDOUT: specific @Factory.WithSelf(constants.%T, constants.%Self.399) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Factory.WithSelf.Method(constants.%T, constants.%Self.b7d) { +// CHECK:STDOUT: specific @Factory.WithSelf.Method(constants.%T, constants.%Self.399) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.c6b -// CHECK:STDOUT: %Self => constants.%Self.b7d +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.300 +// CHECK:STDOUT: %Self => constants.%Self.399 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.e10 +// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.6c7 // CHECK:STDOUT: %.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Factory.WithSelf.Make(constants.%T, constants.%Self.b7d) { +// CHECK:STDOUT: specific @Factory.WithSelf.Make(constants.%T, constants.%Self.399) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %.1 => constants.%.184 // CHECK:STDOUT: %pattern_type => constants.%pattern_type.51d @@ -1655,29 +1655,29 @@ fn InstanceC(a: A) -> C { // CHECK:STDOUT: %T => constants.%B // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.8da -// CHECK:STDOUT: %Self => constants.%Self.449 +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.bcb +// CHECK:STDOUT: %Self => constants.%Self.d48 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Factory(constants.%C) { // CHECK:STDOUT: %T => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.c5b -// CHECK:STDOUT: %Self => constants.%Self.bba +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.100 +// CHECK:STDOUT: %Self => constants.%Self.cfc // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Factory.WithSelf(constants.%C, constants.%Self.b7d) { +// CHECK:STDOUT: specific @Factory.WithSelf(constants.%C, constants.%Self.399) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %Factory.type => constants.%Factory.type.c5b -// CHECK:STDOUT: %Self => constants.%Self.b7d -// CHECK:STDOUT: %Factory.WithSelf.Make.type => constants.%Factory.WithSelf.Make.type.ca1 -// CHECK:STDOUT: %Factory.WithSelf.Make => constants.%Factory.WithSelf.Make.bea -// CHECK:STDOUT: %Factory.assoc_type => constants.%Factory.assoc_type.01c -// CHECK:STDOUT: %assoc0 => constants.%assoc0.8ed -// CHECK:STDOUT: %Factory.WithSelf.Method.type => constants.%Factory.WithSelf.Method.type.9e2 -// CHECK:STDOUT: %Factory.WithSelf.Method => constants.%Factory.WithSelf.Method.a0d -// CHECK:STDOUT: %assoc1 => constants.%assoc1.f7f +// CHECK:STDOUT: %Factory.type => constants.%Factory.type.100 +// CHECK:STDOUT: %Self => constants.%Self.399 +// CHECK:STDOUT: %Factory.WithSelf.Make.type => constants.%Factory.WithSelf.Make.type.320 +// CHECK:STDOUT: %Factory.WithSelf.Make => constants.%Factory.WithSelf.Make.aa1 +// CHECK:STDOUT: %Factory.assoc_type => constants.%Factory.assoc_type.223 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.738 +// CHECK:STDOUT: %Factory.WithSelf.Method.type => constants.%Factory.WithSelf.Method.type.7a2 +// CHECK:STDOUT: %Factory.WithSelf.Method => constants.%Factory.WithSelf.Method.b11 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.7c2 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/lookup/alias.carbon b/toolchain/check/testdata/impl/lookup/alias.carbon index bd15e210b56b..abd3aff40ce5 100644 --- a/toolchain/check/testdata/impl/lookup/alias.carbon +++ b/toolchain/check/testdata/impl/lookup/alias.carbon @@ -34,9 +34,9 @@ fn G(c: C) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %HasF.type: type = facet_type <@HasF> [concrete] // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.38d: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.4d3: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.3d1: %HasF.WithSelf.F.type.38d = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.8d9: %HasF.WithSelf.F.type.4d3 = struct_value () [symbolic] // CHECK:STDOUT: %HasF.assoc_type: type = assoc_entity_type @HasF [concrete] // CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] @@ -46,12 +46,12 @@ fn G(c: C) { // CHECK:STDOUT: %C.as.HasF.impl.F.type: type = fn_type @C.as.HasF.impl.F [concrete] // CHECK:STDOUT: %C.as.HasF.impl.F: %C.as.HasF.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %HasF.facet: %HasF.type = facet_value %C, (%HasF.impl_witness) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.3ae: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.e6b: %HasF.WithSelf.F.type.3ae = struct_value () [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.af2: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.88c: %HasF.WithSelf.F.type.af2 = struct_value () [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %.4c1: type = fn_type_with_self_type %HasF.WithSelf.F.type.3ae, %HasF.facet [concrete] +// CHECK:STDOUT: %.ebd: type = fn_type_with_self_type %HasF.WithSelf.F.type.af2, %HasF.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -81,7 +81,7 @@ fn G(c: C) { // CHECK:STDOUT: %HasF.WithSelf.decl = interface_with_self_decl @HasF [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.38d) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.3d1)] {} {} +// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.4d3) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.8d9)] {} {} // CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, %HasF.WithSelf.F.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -129,11 +129,11 @@ fn G(c: C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref.loc28: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %G.ref.loc28: %HasF.assoc_type = name_ref G, @C.%G [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc28: %.4c1 = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] +// CHECK:STDOUT: %impl.elem0.loc28: %.ebd = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] // CHECK:STDOUT: %C.as.HasF.impl.F.call.loc28: init %empty_tuple.type = call %impl.elem0.loc28() // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %G.ref.loc29: %HasF.assoc_type = name_ref G, @C.%G [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc29: %.4c1 = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] +// CHECK:STDOUT: %impl.elem0.loc29: %.ebd = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] // CHECK:STDOUT: %C.as.HasF.impl.F.call.loc29: init %empty_tuple.type = call %impl.elem0.loc29() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -141,8 +141,8 @@ fn G(c: C) { // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.38d -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.3d1 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.4d3 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.8d9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self) {} @@ -150,8 +150,8 @@ fn G(c: C) { // CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasF.facet -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.3ae -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.e6b +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.af2 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.88c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%HasF.facet) {} diff --git a/toolchain/check/testdata/impl/lookup/canonical_query_self.carbon b/toolchain/check/testdata/impl/lookup/canonical_query_self.carbon index 8cd54445e16a..dfea8b368a64 100644 --- a/toolchain/check/testdata/impl/lookup/canonical_query_self.carbon +++ b/toolchain/check/testdata/impl/lookup/canonical_query_self.carbon @@ -50,89 +50,89 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.cd6: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.79d: type = facet_access_type %Self.cd6 [symbolic] -// CHECK:STDOUT: %pattern_type.49f: type = pattern_type %Self.as_type.79d [symbolic] -// CHECK:STDOUT: %I.WithSelf.II.type.62e: type = fn_type @I.WithSelf.II, @I.WithSelf(%Self.cd6) [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.ed0: type = facet_access_type %Self.179 [symbolic] +// CHECK:STDOUT: %pattern_type.a3c: type = pattern_type %Self.as_type.ed0 [symbolic] +// CHECK:STDOUT: %I.WithSelf.II.type.d8e: type = fn_type @I.WithSelf.II, @I.WithSelf(%Self.179) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %I.WithSelf.II.201: %I.WithSelf.II.type.62e = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.II.e73: %I.WithSelf.II.type.d8e = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.10a: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.II.decl [concrete] +// CHECK:STDOUT: %assoc0.fc2: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.II.decl [concrete] // CHECK:STDOUT: %J.type: type = facet_type <@J> [concrete] -// CHECK:STDOUT: %Self.c93: %J.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.540: type = facet_access_type %Self.c93 [symbolic] -// CHECK:STDOUT: %pattern_type.76c: type = pattern_type %Self.as_type.540 [symbolic] -// CHECK:STDOUT: %J.WithSelf.JJ.type.f0b: type = fn_type @J.WithSelf.JJ, @J.WithSelf(%Self.c93) [symbolic] -// CHECK:STDOUT: %J.WithSelf.JJ.b89: %J.WithSelf.JJ.type.f0b = struct_value () [symbolic] +// CHECK:STDOUT: %Self.fd8: %J.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.e52: type = facet_access_type %Self.fd8 [symbolic] +// CHECK:STDOUT: %pattern_type.9d0: type = pattern_type %Self.as_type.e52 [symbolic] +// CHECK:STDOUT: %J.WithSelf.JJ.type.c06: type = fn_type @J.WithSelf.JJ, @J.WithSelf(%Self.fd8) [symbolic] +// CHECK:STDOUT: %J.WithSelf.JJ.1a7: %J.WithSelf.JJ.type.c06 = struct_value () [symbolic] // CHECK:STDOUT: %J.assoc_type: type = assoc_entity_type @J [concrete] -// CHECK:STDOUT: %assoc0.cdf: %J.assoc_type = assoc_entity element0, @J.WithSelf.%J.WithSelf.JJ.decl [concrete] +// CHECK:STDOUT: %assoc0.95e: %J.assoc_type = assoc_entity element0, @J.WithSelf.%J.WithSelf.JJ.decl [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %I.type, %type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %facet_type: type = facet_type <@I & @J> [concrete] -// CHECK:STDOUT: %pattern_type.965: type = pattern_type %facet_type [concrete] +// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %facet_type [concrete] // CHECK:STDOUT: %T: %facet_type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.722: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.2f3: 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: = require_complete_type %T.as_type [symbolic] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T, @I [symbolic] -// CHECK:STDOUT: %I.facet.d43: %I.type = facet_value %T.as_type, (%I.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %I.facet.88b: %I.type = facet_value %T.as_type, (%I.lookup_impl_witness) [symbolic] // CHECK:STDOUT: %J.lookup_impl_witness: = lookup_impl_witness %T, @J [symbolic] -// CHECK:STDOUT: %J.facet.a14: %J.type = facet_value %T.as_type, (%J.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %I.WithSelf.II.type.f5c: type = fn_type @I.WithSelf.II, @I.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %I.WithSelf.II.943: %I.WithSelf.II.type.f5c = struct_value () [symbolic] -// CHECK:STDOUT: %J.WithSelf.JJ.type.e9c: type = fn_type @J.WithSelf.JJ, @J.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %J.WithSelf.JJ.8ab: %J.WithSelf.JJ.type.e9c = struct_value () [symbolic] -// CHECK:STDOUT: %J.WithSelf.JJ.type.08e: type = fn_type @J.WithSelf.JJ, @J.WithSelf(%J.facet.a14) [symbolic] -// CHECK:STDOUT: %J.WithSelf.JJ.eeb: %J.WithSelf.JJ.type.08e = struct_value () [symbolic] -// CHECK:STDOUT: %.1b8: type = fn_type_with_self_type %J.WithSelf.JJ.type.08e, %J.facet.a14 [symbolic] -// CHECK:STDOUT: %impl.elem0: %.1b8 = impl_witness_access %J.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @J.WithSelf.JJ(%J.facet.a14) [symbolic] +// CHECK:STDOUT: %J.facet.ce2: %J.type = facet_value %T.as_type, (%J.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %I.WithSelf.II.type.a44: type = fn_type @I.WithSelf.II, @I.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %I.WithSelf.II.162: %I.WithSelf.II.type.a44 = struct_value () [symbolic] +// CHECK:STDOUT: %J.WithSelf.JJ.type.b00: type = fn_type @J.WithSelf.JJ, @J.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %J.WithSelf.JJ.9fb: %J.WithSelf.JJ.type.b00 = struct_value () [symbolic] +// CHECK:STDOUT: %J.WithSelf.JJ.type.35b: type = fn_type @J.WithSelf.JJ, @J.WithSelf(%J.facet.ce2) [symbolic] +// CHECK:STDOUT: %J.WithSelf.JJ.046: %J.WithSelf.JJ.type.35b = struct_value () [symbolic] +// CHECK:STDOUT: %.289: type = fn_type_with_self_type %J.WithSelf.JJ.type.35b, %J.facet.ce2 [symbolic] +// CHECK:STDOUT: %impl.elem0: %.289 = impl_witness_access %J.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @J.WithSelf.JJ(%J.facet.ce2) [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.893: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.f79: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.as.I.impl.II.type: type = fn_type @C.as.I.impl.II [concrete] // CHECK:STDOUT: %C.as.I.impl.II: %C.as.I.impl.II.type = struct_value () [concrete] -// CHECK:STDOUT: %I.facet.7bb: %I.type = facet_value %C, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.II.type.3fe: type = fn_type @I.WithSelf.II, @I.WithSelf(%I.facet.7bb) [concrete] -// CHECK:STDOUT: %I.WithSelf.II.4b1: %I.WithSelf.II.type.3fe = struct_value () [concrete] +// CHECK:STDOUT: %I.facet.7e4: %I.type = facet_value %C, (%I.impl_witness) [concrete] +// CHECK:STDOUT: %I.WithSelf.II.type.f50: type = fn_type @I.WithSelf.II, @I.WithSelf(%I.facet.7e4) [concrete] +// CHECK:STDOUT: %I.WithSelf.II.063: %I.WithSelf.II.type.f50 = struct_value () [concrete] // CHECK:STDOUT: %J.impl_witness: = impl_witness @C.as.J.impl.%J.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.J.impl.JJ.type: type = fn_type @C.as.J.impl.JJ [concrete] // CHECK:STDOUT: %C.as.J.impl.JJ: %C.as.J.impl.JJ.type = struct_value () [concrete] -// CHECK:STDOUT: %J.facet.e24: %J.type = facet_value %C, (%J.impl_witness) [concrete] -// CHECK:STDOUT: %J.WithSelf.JJ.type.8db: type = fn_type @J.WithSelf.JJ, @J.WithSelf(%J.facet.e24) [concrete] -// CHECK:STDOUT: %J.WithSelf.JJ.a5f: %J.WithSelf.JJ.type.8db = struct_value () [concrete] +// CHECK:STDOUT: %J.facet.08d: %J.type = facet_value %C, (%J.impl_witness) [concrete] +// CHECK:STDOUT: %J.WithSelf.JJ.type.629: type = fn_type @J.WithSelf.JJ, @J.WithSelf(%J.facet.08d) [concrete] +// CHECK:STDOUT: %J.WithSelf.JJ.2fb: %J.WithSelf.JJ.type.629 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %.b19: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %.5d3: ref %C = temporary invalid, %C.val [concrete] // CHECK:STDOUT: %C.type.facet: %type = facet_value %C, () [concrete] -// CHECK:STDOUT: %J.WithSelf.JJ.type.5c0: type = fn_type @J.WithSelf.JJ, @J.WithSelf(%C.type.facet) [concrete] -// CHECK:STDOUT: %J.WithSelf.JJ.22d: %J.WithSelf.JJ.type.5c0 = struct_value () [concrete] -// CHECK:STDOUT: %I.WithSelf.II.type.674: type = fn_type @I.WithSelf.II, @I.WithSelf(%C.type.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.II.928: %I.WithSelf.II.type.674 = struct_value () [concrete] -// CHECK:STDOUT: %.0bd: type = fn_type_with_self_type %J.WithSelf.JJ.type.8db, %J.facet.e24 [concrete] -// CHECK:STDOUT: %C.as.J.impl.JJ.bound: = bound_method %.b19, %C.as.J.impl.JJ [concrete] +// CHECK:STDOUT: %J.WithSelf.JJ.type.6fd: type = fn_type @J.WithSelf.JJ, @J.WithSelf(%C.type.facet) [concrete] +// CHECK:STDOUT: %J.WithSelf.JJ.600: %J.WithSelf.JJ.type.6fd = struct_value () [concrete] +// CHECK:STDOUT: %I.WithSelf.II.type.3e3: type = fn_type @I.WithSelf.II, @I.WithSelf(%C.type.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.II.6fc: %I.WithSelf.II.type.3e3 = struct_value () [concrete] +// CHECK:STDOUT: %.c92: type = fn_type_with_self_type %J.WithSelf.JJ.type.629, %J.facet.08d [concrete] +// CHECK:STDOUT: %C.as.J.impl.JJ.bound: = bound_method %.5d3, %C.as.J.impl.JJ [concrete] // CHECK:STDOUT: %facet_value: %facet_type = facet_value %C, (%I.impl_witness, %J.impl_witness) [concrete] // CHECK:STDOUT: %F.specific_fn: = specific_function %F, @F(%facet_value) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc46_11.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.b19, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc46_11.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.5d3, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -142,9 +142,9 @@ fn G() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -160,15 +160,15 @@ fn G() { // CHECK:STDOUT: %I.decl: type = interface_decl @I [concrete = constants.%I.type] {} {} // CHECK:STDOUT: %J.decl: type = interface_decl @J [concrete = constants.%J.type] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt: %pattern_type.965 = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %t.param_patt: @F.%pattern_type (%pattern_type.722) = value_param_pattern [concrete] -// CHECK:STDOUT: %t.patt: @F.%pattern_type (%pattern_type.722) = at_binding_pattern t, %t.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.c6b = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %t.param_patt: @F.%pattern_type (%pattern_type.2f3) = value_param_pattern [concrete] +// CHECK:STDOUT: %t.patt: @F.%pattern_type (%pattern_type.2f3) = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc22_12.1: type = splice_block %.loc22_12.3 [concrete = constants.%facet_type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %I.ref.loc22: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: %J.ref.loc22: type = name_ref J, file.%J.decl [concrete = constants.%J.type] -// CHECK:STDOUT: %impl.elem0.loc22: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc22: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc22: = bound_method %I.ref.loc22, %impl.elem0.loc22 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method.loc22(%I.ref.loc22, %J.ref.loc22) [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc22_12.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type] @@ -187,23 +187,23 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.cd6] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.II.decl: @I.WithSelf.%I.WithSelf.II.type (%I.WithSelf.II.type.62e) = fn_decl @I.WithSelf.II [symbolic = @I.WithSelf.%I.WithSelf.II (constants.%I.WithSelf.II.201)] { -// CHECK:STDOUT: %self.param_patt: @I.WithSelf.II.%pattern_type (%pattern_type.49f) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @I.WithSelf.II.%pattern_type (%pattern_type.49f) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %I.WithSelf.II.decl: @I.WithSelf.%I.WithSelf.II.type (%I.WithSelf.II.type.d8e) = fn_decl @I.WithSelf.II [symbolic = @I.WithSelf.%I.WithSelf.II (constants.%I.WithSelf.II.e73)] { +// CHECK:STDOUT: %self.param_patt: @I.WithSelf.II.%pattern_type (%pattern_type.a3c) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @I.WithSelf.II.%pattern_type (%pattern_type.a3c) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: @I.WithSelf.II.%Self.as_type.loc16_15.1 (%Self.as_type.79d) = value_param call_param0 -// CHECK:STDOUT: %.loc16_15.1: type = splice_block %.loc16_15.2 [symbolic = %Self.as_type.loc16_15.1 (constants.%Self.as_type.79d)] { -// CHECK:STDOUT: %Self.ref: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.cd6)] -// CHECK:STDOUT: %Self.as_type.loc16_15.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc16_15.1 (constants.%Self.as_type.79d)] -// CHECK:STDOUT: %.loc16_15.2: type = converted %Self.ref, %Self.as_type.loc16_15.2 [symbolic = %Self.as_type.loc16_15.1 (constants.%Self.as_type.79d)] +// CHECK:STDOUT: %self.param: @I.WithSelf.II.%Self.as_type.loc16_15.1 (%Self.as_type.ed0) = value_param call_param0 +// CHECK:STDOUT: %.loc16_15.1: type = splice_block %.loc16_15.2 [symbolic = %Self.as_type.loc16_15.1 (constants.%Self.as_type.ed0)] { +// CHECK:STDOUT: %Self.ref: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.179)] +// CHECK:STDOUT: %Self.as_type.loc16_15.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc16_15.1 (constants.%Self.as_type.ed0)] +// CHECK:STDOUT: %.loc16_15.2: type = converted %Self.ref, %Self.as_type.loc16_15.2 [symbolic = %Self.as_type.loc16_15.1 (constants.%Self.as_type.ed0)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @I.WithSelf.II.%Self.as_type.loc16_15.1 (%Self.as_type.79d) = value_binding self, %self.param +// CHECK:STDOUT: %self: @I.WithSelf.II.%Self.as_type.loc16_15.1 (%Self.as_type.ed0) = value_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.II.decl [concrete = constants.%assoc0.10a] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.II.decl [concrete = constants.%assoc0.fc2] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -216,23 +216,23 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { -// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c93] +// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = constants.%Self.fd8] // CHECK:STDOUT: %J.WithSelf.decl = interface_with_self_decl @J [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %J.WithSelf.JJ.decl: @J.WithSelf.%J.WithSelf.JJ.type (%J.WithSelf.JJ.type.f0b) = fn_decl @J.WithSelf.JJ [symbolic = @J.WithSelf.%J.WithSelf.JJ (constants.%J.WithSelf.JJ.b89)] { -// CHECK:STDOUT: %self.param_patt: @J.WithSelf.JJ.%pattern_type (%pattern_type.76c) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @J.WithSelf.JJ.%pattern_type (%pattern_type.76c) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %J.WithSelf.JJ.decl: @J.WithSelf.%J.WithSelf.JJ.type (%J.WithSelf.JJ.type.c06) = fn_decl @J.WithSelf.JJ [symbolic = @J.WithSelf.%J.WithSelf.JJ (constants.%J.WithSelf.JJ.1a7)] { +// CHECK:STDOUT: %self.param_patt: @J.WithSelf.JJ.%pattern_type (%pattern_type.9d0) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @J.WithSelf.JJ.%pattern_type (%pattern_type.9d0) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: @J.WithSelf.JJ.%Self.as_type.loc19_15.1 (%Self.as_type.540) = value_param call_param0 -// CHECK:STDOUT: %.loc19_15.1: type = splice_block %.loc19_15.2 [symbolic = %Self.as_type.loc19_15.1 (constants.%Self.as_type.540)] { -// CHECK:STDOUT: %Self.ref: %J.type = name_ref Self, @J.%Self [symbolic = %Self (constants.%Self.c93)] -// CHECK:STDOUT: %Self.as_type.loc19_15.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc19_15.1 (constants.%Self.as_type.540)] -// CHECK:STDOUT: %.loc19_15.2: type = converted %Self.ref, %Self.as_type.loc19_15.2 [symbolic = %Self.as_type.loc19_15.1 (constants.%Self.as_type.540)] +// CHECK:STDOUT: %self.param: @J.WithSelf.JJ.%Self.as_type.loc19_15.1 (%Self.as_type.e52) = value_param call_param0 +// CHECK:STDOUT: %.loc19_15.1: type = splice_block %.loc19_15.2 [symbolic = %Self.as_type.loc19_15.1 (constants.%Self.as_type.e52)] { +// CHECK:STDOUT: %Self.ref: %J.type = name_ref Self, @J.%Self [symbolic = %Self (constants.%Self.fd8)] +// CHECK:STDOUT: %Self.as_type.loc19_15.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc19_15.1 (constants.%Self.as_type.e52)] +// CHECK:STDOUT: %.loc19_15.2: type = converted %Self.ref, %Self.as_type.loc19_15.2 [symbolic = %Self.as_type.loc19_15.1 (constants.%Self.as_type.e52)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @J.WithSelf.JJ.%Self.as_type.loc19_15.1 (%Self.as_type.540) = value_binding self, %self.param +// CHECK:STDOUT: %self: @J.WithSelf.JJ.%Self.as_type.loc19_15.1 (%Self.as_type.e52) = value_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %J.assoc_type = assoc_entity element0, %J.WithSelf.JJ.decl [concrete = constants.%assoc0.cdf] +// CHECK:STDOUT: %assoc0: %J.assoc_type = assoc_entity element0, %J.WithSelf.JJ.decl [concrete = constants.%assoc0.95e] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -244,8 +244,8 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %Self.ref as %I.ref { // CHECK:STDOUT: %C.as.I.impl.II.decl: %C.as.I.impl.II.type = fn_decl @C.as.I.impl.II [concrete = constants.%C.as.I.impl.II] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.893 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.893 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.f79 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.f79 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] @@ -262,8 +262,8 @@ fn G() { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.J.impl: %Self.ref as %J.ref { // CHECK:STDOUT: %C.as.J.impl.JJ.decl: %C.as.J.impl.JJ.type = fn_decl @C.as.J.impl.JJ [concrete = constants.%C.as.J.impl.JJ] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.893 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.893 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.f79 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.f79 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] @@ -300,35 +300,35 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.II(@I.%Self: %I.type) { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.cd6)] -// CHECK:STDOUT: %Self.as_type.loc16_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc16_15.1 (constants.%Self.as_type.79d)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc16_15.1 [symbolic = %pattern_type (constants.%pattern_type.49f)] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.179)] +// CHECK:STDOUT: %Self.as_type.loc16_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc16_15.1 (constants.%Self.as_type.ed0)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc16_15.1 [symbolic = %pattern_type (constants.%pattern_type.a3c)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @I.WithSelf.II.%Self.as_type.loc16_15.1 (%Self.as_type.79d)); +// CHECK:STDOUT: fn(%self.param: @I.WithSelf.II.%Self.as_type.loc16_15.1 (%Self.as_type.ed0)); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @J.WithSelf.JJ(@J.%Self: %J.type) { -// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.c93)] -// CHECK:STDOUT: %Self.as_type.loc19_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc19_15.1 (constants.%Self.as_type.540)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc19_15.1 [symbolic = %pattern_type (constants.%pattern_type.76c)] +// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.fd8)] +// CHECK:STDOUT: %Self.as_type.loc19_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc19_15.1 (constants.%Self.as_type.e52)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc19_15.1 [symbolic = %pattern_type (constants.%pattern_type.9d0)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @J.WithSelf.JJ.%Self.as_type.loc19_15.1 (%Self.as_type.540)); +// CHECK:STDOUT: fn(%self.param: @J.WithSelf.JJ.%Self.as_type.loc19_15.1 (%Self.as_type.e52)); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc22_7.2: %facet_type) { // CHECK:STDOUT: %T.loc22_7.1: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc22_7.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc22_20.1: type = facet_access_type %T.loc22_7.1 [symbolic = %T.as_type.loc22_20.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc22_20.1 [symbolic = %pattern_type (constants.%pattern_type.722)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc22_20.1 [symbolic = %pattern_type (constants.%pattern_type.2f3)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc22_20.1 [symbolic = %require_complete (constants.%require_complete)] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T.loc22_7.1, @I [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness)] -// CHECK:STDOUT: %I.facet.loc26_18.2: %I.type = facet_value %T.as_type.loc22_20.1, (%I.lookup_impl_witness) [symbolic = %I.facet.loc26_18.2 (constants.%I.facet.d43)] +// CHECK:STDOUT: %I.facet.loc26_18.2: %I.type = facet_value %T.as_type.loc22_20.1, (%I.lookup_impl_witness) [symbolic = %I.facet.loc26_18.2 (constants.%I.facet.88b)] // CHECK:STDOUT: %J.lookup_impl_witness: = lookup_impl_witness %T.loc22_7.1, @J [symbolic = %J.lookup_impl_witness (constants.%J.lookup_impl_witness)] -// CHECK:STDOUT: %J.facet.loc26_33.2: %J.type = facet_value %T.as_type.loc22_20.1, (%J.lookup_impl_witness) [symbolic = %J.facet.loc26_33.2 (constants.%J.facet.a14)] -// CHECK:STDOUT: %J.WithSelf.JJ.type: type = fn_type @J.WithSelf.JJ, @J.WithSelf(%J.facet.loc26_33.2) [symbolic = %J.WithSelf.JJ.type (constants.%J.WithSelf.JJ.type.08e)] -// CHECK:STDOUT: %.loc26_69: type = fn_type_with_self_type %J.WithSelf.JJ.type, %J.facet.loc26_33.2 [symbolic = %.loc26_69 (constants.%.1b8)] -// CHECK:STDOUT: %impl.elem0.loc26_69.2: @F.%.loc26_69 (%.1b8) = impl_witness_access %J.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc26_69.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %J.facet.loc26_33.2: %J.type = facet_value %T.as_type.loc22_20.1, (%J.lookup_impl_witness) [symbolic = %J.facet.loc26_33.2 (constants.%J.facet.ce2)] +// CHECK:STDOUT: %J.WithSelf.JJ.type: type = fn_type @J.WithSelf.JJ, @J.WithSelf(%J.facet.loc26_33.2) [symbolic = %J.WithSelf.JJ.type (constants.%J.WithSelf.JJ.type.35b)] +// CHECK:STDOUT: %.loc26_69: type = fn_type_with_self_type %J.WithSelf.JJ.type, %J.facet.loc26_33.2 [symbolic = %.loc26_69 (constants.%.289)] +// CHECK:STDOUT: %impl.elem0.loc26_69.2: @F.%.loc26_69 (%.289) = impl_witness_access %J.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc26_69.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc26_69.2: = specific_impl_function %impl.elem0.loc26_69.2, @J.WithSelf.JJ(%J.facet.loc26_33.2) [symbolic = %specific_impl_fn.loc26_69.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%t.param: @F.%T.as_type.loc22_20.1 (%T.as_type)) { @@ -337,32 +337,32 @@ fn G() { // CHECK:STDOUT: %T.ref.loc26: %facet_type = name_ref T, %T.loc22_7.2 [symbolic = %T.loc22_7.1 (constants.%T)] // CHECK:STDOUT: %I.ref.loc26_21: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: %T.as_type.loc26: type = facet_access_type %T.ref.loc26 [symbolic = %T.as_type.loc22_20.1 (constants.%T.as_type)] -// CHECK:STDOUT: %I.facet.loc26_18.1: %I.type = facet_value %T.as_type.loc26, (constants.%I.lookup_impl_witness) [symbolic = %I.facet.loc26_18.2 (constants.%I.facet.d43)] -// CHECK:STDOUT: %.loc26_18: %I.type = converted %T.ref.loc26, %I.facet.loc26_18.1 [symbolic = %I.facet.loc26_18.2 (constants.%I.facet.d43)] +// CHECK:STDOUT: %I.facet.loc26_18.1: %I.type = facet_value %T.as_type.loc26, (constants.%I.lookup_impl_witness) [symbolic = %I.facet.loc26_18.2 (constants.%I.facet.88b)] +// CHECK:STDOUT: %.loc26_18: %I.type = converted %T.ref.loc26, %I.facet.loc26_18.1 [symbolic = %I.facet.loc26_18.2 (constants.%I.facet.88b)] // CHECK:STDOUT: %.loc26_27: type = type_literal type [concrete = type] // CHECK:STDOUT: %as_type.loc26_24: type = facet_access_type %.loc26_18 [symbolic = %T.as_type.loc22_20.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc26_24: type = converted %.loc26_18, %as_type.loc26_24 [symbolic = %T.as_type.loc22_20.1 (constants.%T.as_type)] // CHECK:STDOUT: %J.ref.loc26_36: type = name_ref J, file.%J.decl [concrete = constants.%J.type] -// CHECK:STDOUT: %J.facet.loc26_33.1: %J.type = facet_value %.loc26_24, (constants.%J.lookup_impl_witness) [symbolic = %J.facet.loc26_33.2 (constants.%J.facet.a14)] -// CHECK:STDOUT: %.loc26_33: %J.type = converted %.loc26_24, %J.facet.loc26_33.1 [symbolic = %J.facet.loc26_33.2 (constants.%J.facet.a14)] +// CHECK:STDOUT: %J.facet.loc26_33.1: %J.type = facet_value %.loc26_24, (constants.%J.lookup_impl_witness) [symbolic = %J.facet.loc26_33.2 (constants.%J.facet.ce2)] +// CHECK:STDOUT: %.loc26_33: %J.type = converted %.loc26_24, %J.facet.loc26_33.1 [symbolic = %J.facet.loc26_33.2 (constants.%J.facet.ce2)] // CHECK:STDOUT: %.loc26_42: type = type_literal type [concrete = type] // CHECK:STDOUT: %as_type.loc26_39: type = facet_access_type %.loc26_33 [symbolic = %T.as_type.loc22_20.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc26_39: type = converted %.loc26_33, %as_type.loc26_39 [symbolic = %T.as_type.loc22_20.1 (constants.%T.as_type)] // CHECK:STDOUT: %I.ref.loc26_51: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %I.facet.loc26_48: %I.type = facet_value %.loc26_39, (constants.%I.lookup_impl_witness) [symbolic = %I.facet.loc26_18.2 (constants.%I.facet.d43)] -// CHECK:STDOUT: %.loc26_48: %I.type = converted %.loc26_39, %I.facet.loc26_48 [symbolic = %I.facet.loc26_18.2 (constants.%I.facet.d43)] +// CHECK:STDOUT: %I.facet.loc26_48: %I.type = facet_value %.loc26_39, (constants.%I.lookup_impl_witness) [symbolic = %I.facet.loc26_18.2 (constants.%I.facet.88b)] +// CHECK:STDOUT: %.loc26_48: %I.type = converted %.loc26_39, %I.facet.loc26_48 [symbolic = %I.facet.loc26_18.2 (constants.%I.facet.88b)] // CHECK:STDOUT: %.loc26_57: type = type_literal type [concrete = type] // CHECK:STDOUT: %as_type.loc26_54: type = facet_access_type %.loc26_48 [symbolic = %T.as_type.loc22_20.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc26_54: type = converted %.loc26_48, %as_type.loc26_54 [symbolic = %T.as_type.loc22_20.1 (constants.%T.as_type)] // CHECK:STDOUT: %J.ref.loc26_66: type = name_ref J, file.%J.decl [concrete = constants.%J.type] -// CHECK:STDOUT: %J.facet.loc26_63: %J.type = facet_value %.loc26_54, (constants.%J.lookup_impl_witness) [symbolic = %J.facet.loc26_33.2 (constants.%J.facet.a14)] -// CHECK:STDOUT: %.loc26_63: %J.type = converted %.loc26_54, %J.facet.loc26_63 [symbolic = %J.facet.loc26_33.2 (constants.%J.facet.a14)] +// CHECK:STDOUT: %J.facet.loc26_63: %J.type = facet_value %.loc26_54, (constants.%J.lookup_impl_witness) [symbolic = %J.facet.loc26_33.2 (constants.%J.facet.ce2)] +// CHECK:STDOUT: %.loc26_63: %J.type = converted %.loc26_54, %J.facet.loc26_63 [symbolic = %J.facet.loc26_33.2 (constants.%J.facet.ce2)] // CHECK:STDOUT: %as_type.loc26_67: type = facet_access_type %.loc26_63 [symbolic = %T.as_type.loc22_20.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc26_67: type = converted %.loc26_63, %as_type.loc26_67 [symbolic = %T.as_type.loc22_20.1 (constants.%T.as_type)] -// CHECK:STDOUT: %JJ.ref: %J.assoc_type = name_ref JJ, @J.WithSelf.%assoc0 [concrete = constants.%assoc0.cdf] -// CHECK:STDOUT: %impl.elem0.loc26_69.1: @F.%.loc26_69 (%.1b8) = impl_witness_access constants.%J.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc26_69.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %JJ.ref: %J.assoc_type = name_ref JJ, @J.WithSelf.%assoc0 [concrete = constants.%assoc0.95e] +// CHECK:STDOUT: %impl.elem0.loc26_69.1: @F.%.loc26_69 (%.289) = impl_witness_access constants.%J.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc26_69.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc26_69: = bound_method %t.ref, %impl.elem0.loc26_69.1 -// CHECK:STDOUT: %specific_impl_fn.loc26_69.1: = specific_impl_function %impl.elem0.loc26_69.1, @J.WithSelf.JJ(constants.%J.facet.a14) [symbolic = %specific_impl_fn.loc26_69.2 (constants.%specific_impl_fn)] +// CHECK:STDOUT: %specific_impl_fn.loc26_69.1: = specific_impl_function %impl.elem0.loc26_69.1, @J.WithSelf.JJ(constants.%J.facet.ce2) [symbolic = %specific_impl_fn.loc26_69.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %bound_method.loc26_73: = bound_method %t.ref, %specific_impl_fn.loc26_69.1 // CHECK:STDOUT: %J.WithSelf.JJ.call: init %empty_tuple.type = call %bound_method.loc26_73(%t.ref) // CHECK:STDOUT: return @@ -379,31 +379,31 @@ fn G() { // CHECK:STDOUT: %.loc40_8.1: init %C = converted %.loc40_6.1, %.loc40_6.3 [concrete = constants.%C.val] // CHECK:STDOUT: %C.ref.loc40_24: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %I.ref.loc40_29: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %I.facet.loc40_26: %I.type = facet_value %C.ref.loc40_24, (constants.%I.impl_witness) [concrete = constants.%I.facet.7bb] -// CHECK:STDOUT: %.loc40_26: %I.type = converted %C.ref.loc40_24, %I.facet.loc40_26 [concrete = constants.%I.facet.7bb] +// CHECK:STDOUT: %I.facet.loc40_26: %I.type = facet_value %C.ref.loc40_24, (constants.%I.impl_witness) [concrete = constants.%I.facet.7e4] +// CHECK:STDOUT: %.loc40_26: %I.type = converted %C.ref.loc40_24, %I.facet.loc40_26 [concrete = constants.%I.facet.7e4] // CHECK:STDOUT: %.loc40_35: type = type_literal type [concrete = type] // CHECK:STDOUT: %as_type.loc40_32: type = facet_access_type %.loc40_26 [concrete = constants.%C] // CHECK:STDOUT: %.loc40_32: type = converted %.loc40_26, %as_type.loc40_32 [concrete = constants.%C] // CHECK:STDOUT: %J.ref.loc40_44: type = name_ref J, file.%J.decl [concrete = constants.%J.type] -// CHECK:STDOUT: %J.facet.loc40_41: %J.type = facet_value %.loc40_32, (constants.%J.impl_witness) [concrete = constants.%J.facet.e24] -// CHECK:STDOUT: %.loc40_41: %J.type = converted %.loc40_32, %J.facet.loc40_41 [concrete = constants.%J.facet.e24] +// CHECK:STDOUT: %J.facet.loc40_41: %J.type = facet_value %.loc40_32, (constants.%J.impl_witness) [concrete = constants.%J.facet.08d] +// CHECK:STDOUT: %.loc40_41: %J.type = converted %.loc40_32, %J.facet.loc40_41 [concrete = constants.%J.facet.08d] // CHECK:STDOUT: %.loc40_50: type = type_literal type [concrete = type] // CHECK:STDOUT: %as_type.loc40_47: type = facet_access_type %.loc40_41 [concrete = constants.%C] // CHECK:STDOUT: %.loc40_47: type = converted %.loc40_41, %as_type.loc40_47 [concrete = constants.%C] // CHECK:STDOUT: %I.ref.loc40_59: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %I.facet.loc40_56: %I.type = facet_value %.loc40_47, (constants.%I.impl_witness) [concrete = constants.%I.facet.7bb] -// CHECK:STDOUT: %.loc40_56: %I.type = converted %.loc40_47, %I.facet.loc40_56 [concrete = constants.%I.facet.7bb] +// CHECK:STDOUT: %I.facet.loc40_56: %I.type = facet_value %.loc40_47, (constants.%I.impl_witness) [concrete = constants.%I.facet.7e4] +// CHECK:STDOUT: %.loc40_56: %I.type = converted %.loc40_47, %I.facet.loc40_56 [concrete = constants.%I.facet.7e4] // CHECK:STDOUT: %.loc40_65: type = type_literal type [concrete = type] // CHECK:STDOUT: %as_type.loc40_62: type = facet_access_type %.loc40_56 [concrete = constants.%C] // CHECK:STDOUT: %.loc40_62: type = converted %.loc40_56, %as_type.loc40_62 [concrete = constants.%C] // CHECK:STDOUT: %J.ref.loc40_74: type = name_ref J, file.%J.decl [concrete = constants.%J.type] -// CHECK:STDOUT: %J.facet.loc40_71: %J.type = facet_value %.loc40_62, (constants.%J.impl_witness) [concrete = constants.%J.facet.e24] -// CHECK:STDOUT: %.loc40_71: %J.type = converted %.loc40_62, %J.facet.loc40_71 [concrete = constants.%J.facet.e24] +// CHECK:STDOUT: %J.facet.loc40_71: %J.type = facet_value %.loc40_62, (constants.%J.impl_witness) [concrete = constants.%J.facet.08d] +// CHECK:STDOUT: %.loc40_71: %J.type = converted %.loc40_62, %J.facet.loc40_71 [concrete = constants.%J.facet.08d] // CHECK:STDOUT: %as_type.loc40_75: type = facet_access_type %.loc40_71 [concrete = constants.%C] // CHECK:STDOUT: %.loc40_75: type = converted %.loc40_71, %as_type.loc40_75 [concrete = constants.%C] -// CHECK:STDOUT: %.loc40_8.2: ref %C = temporary %.loc40_6.2, %.loc40_8.1 [concrete = constants.%.b19] -// CHECK:STDOUT: %JJ.ref: %J.assoc_type = name_ref JJ, @J.WithSelf.%assoc0 [concrete = constants.%assoc0.cdf] -// CHECK:STDOUT: %impl.elem0: %.0bd = impl_witness_access constants.%J.impl_witness, element0 [concrete = constants.%C.as.J.impl.JJ] +// CHECK:STDOUT: %.loc40_8.2: ref %C = temporary %.loc40_6.2, %.loc40_8.1 [concrete = constants.%.5d3] +// CHECK:STDOUT: %JJ.ref: %J.assoc_type = name_ref JJ, @J.WithSelf.%assoc0 [concrete = constants.%assoc0.95e] +// CHECK:STDOUT: %impl.elem0: %.c92 = impl_witness_access constants.%J.impl_witness, element0 [concrete = constants.%C.as.J.impl.JJ] // CHECK:STDOUT: %bound_method: = bound_method %.loc40_8.2, %impl.elem0 [concrete = constants.%C.as.J.impl.JJ.bound] // CHECK:STDOUT: %.loc40_8.3: %C = acquire_value %.loc40_8.2 [concrete = constants.%C.val] // CHECK:STDOUT: %C.as.J.impl.JJ.call: init %empty_tuple.type = call %bound_method(%.loc40_8.3) @@ -419,11 +419,11 @@ fn G() { // CHECK:STDOUT: %facet_value.loc46_15.2: %facet_type = facet_value constants.%C, (constants.%I.impl_witness, constants.%J.impl_witness) [concrete = constants.%facet_value] // CHECK:STDOUT: %.loc46_15.2: %facet_type = converted constants.%C, %facet_value.loc46_15.2 [concrete = constants.%facet_value] // CHECK:STDOUT: %F.specific_fn: = specific_function %F.ref, @F(constants.%facet_value) [concrete = constants.%F.specific_fn] -// CHECK:STDOUT: %.loc46_11.2: ref %C = temporary %.loc46_9.2, %.loc46_11.1 [concrete = constants.%.b19] +// CHECK:STDOUT: %.loc46_11.2: ref %C = temporary %.loc46_9.2, %.loc46_11.1 [concrete = constants.%.5d3] // CHECK:STDOUT: %.loc46_11.3: %C = acquire_value %.loc46_11.2 [concrete = constants.%C.val] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.specific_fn(%.loc46_11.3) -// CHECK:STDOUT: %Destroy.Op.call.loc46: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.b19) -// CHECK:STDOUT: %Destroy.Op.call.loc40: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.b19) +// CHECK:STDOUT: %Destroy.Op.call.loc46: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.5d3) +// CHECK:STDOUT: %Destroy.Op.call.loc40: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.5d3) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -444,118 +444,118 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.cd6) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.cd6 -// CHECK:STDOUT: %I.WithSelf.II.type => constants.%I.WithSelf.II.type.62e -// CHECK:STDOUT: %I.WithSelf.II => constants.%I.WithSelf.II.201 +// CHECK:STDOUT: %Self => constants.%Self.179 +// CHECK:STDOUT: %I.WithSelf.II.type => constants.%I.WithSelf.II.type.d8e +// CHECK:STDOUT: %I.WithSelf.II => constants.%I.WithSelf.II.e73 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.II(constants.%Self.cd6) { -// CHECK:STDOUT: %Self => constants.%Self.cd6 -// CHECK:STDOUT: %Self.as_type.loc16_15.1 => constants.%Self.as_type.79d -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.49f +// CHECK:STDOUT: specific @I.WithSelf.II(constants.%Self.179) { +// CHECK:STDOUT: %Self => constants.%Self.179 +// CHECK:STDOUT: %Self.as_type.loc16_15.1 => constants.%Self.as_type.ed0 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a3c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.c93) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.fd8) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.c93 -// CHECK:STDOUT: %J.WithSelf.JJ.type => constants.%J.WithSelf.JJ.type.f0b -// CHECK:STDOUT: %J.WithSelf.JJ => constants.%J.WithSelf.JJ.b89 +// CHECK:STDOUT: %Self => constants.%Self.fd8 +// CHECK:STDOUT: %J.WithSelf.JJ.type => constants.%J.WithSelf.JJ.type.c06 +// CHECK:STDOUT: %J.WithSelf.JJ => constants.%J.WithSelf.JJ.1a7 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.JJ(constants.%Self.c93) { -// CHECK:STDOUT: %Self => constants.%Self.c93 -// CHECK:STDOUT: %Self.as_type.loc19_15.1 => constants.%Self.as_type.540 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.76c +// CHECK:STDOUT: specific @J.WithSelf.JJ(constants.%Self.fd8) { +// CHECK:STDOUT: %Self => constants.%Self.fd8 +// CHECK:STDOUT: %Self.as_type.loc19_15.1 => constants.%Self.as_type.e52 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9d0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T) { // CHECK:STDOUT: %T.loc22_7.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc22_20.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.722 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2f3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%T) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %I.WithSelf.II.type => constants.%I.WithSelf.II.type.f5c -// CHECK:STDOUT: %I.WithSelf.II => constants.%I.WithSelf.II.943 +// CHECK:STDOUT: %I.WithSelf.II.type => constants.%I.WithSelf.II.type.a44 +// CHECK:STDOUT: %I.WithSelf.II => constants.%I.WithSelf.II.162 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J.WithSelf(constants.%T) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %J.WithSelf.JJ.type => constants.%J.WithSelf.JJ.type.e9c -// CHECK:STDOUT: %J.WithSelf.JJ => constants.%J.WithSelf.JJ.8ab +// CHECK:STDOUT: %J.WithSelf.JJ.type => constants.%J.WithSelf.JJ.type.b00 +// CHECK:STDOUT: %J.WithSelf.JJ => constants.%J.WithSelf.JJ.9fb // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.a14) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.ce2) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%J.facet.a14 -// CHECK:STDOUT: %J.WithSelf.JJ.type => constants.%J.WithSelf.JJ.type.08e -// CHECK:STDOUT: %J.WithSelf.JJ => constants.%J.WithSelf.JJ.eeb +// CHECK:STDOUT: %Self => constants.%J.facet.ce2 +// CHECK:STDOUT: %J.WithSelf.JJ.type => constants.%J.WithSelf.JJ.type.35b +// CHECK:STDOUT: %J.WithSelf.JJ => constants.%J.WithSelf.JJ.046 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.JJ(constants.%J.facet.a14) { -// CHECK:STDOUT: %Self => constants.%J.facet.a14 +// CHECK:STDOUT: specific @J.WithSelf.JJ(constants.%J.facet.ce2) { +// CHECK:STDOUT: %Self => constants.%J.facet.ce2 // CHECK:STDOUT: %Self.as_type.loc19_15.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.722 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2f3 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.7bb) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.7e4) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.7bb -// CHECK:STDOUT: %I.WithSelf.II.type => constants.%I.WithSelf.II.type.3fe -// CHECK:STDOUT: %I.WithSelf.II => constants.%I.WithSelf.II.4b1 +// CHECK:STDOUT: %Self => constants.%I.facet.7e4 +// CHECK:STDOUT: %I.WithSelf.II.type => constants.%I.WithSelf.II.type.f50 +// CHECK:STDOUT: %I.WithSelf.II => constants.%I.WithSelf.II.063 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.II(constants.%I.facet.7bb) { -// CHECK:STDOUT: %Self => constants.%I.facet.7bb +// CHECK:STDOUT: specific @I.WithSelf.II(constants.%I.facet.7e4) { +// CHECK:STDOUT: %Self => constants.%I.facet.7e4 // CHECK:STDOUT: %Self.as_type.loc16_15.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.893 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f79 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.e24) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.08d) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%J.facet.e24 -// CHECK:STDOUT: %J.WithSelf.JJ.type => constants.%J.WithSelf.JJ.type.8db -// CHECK:STDOUT: %J.WithSelf.JJ => constants.%J.WithSelf.JJ.a5f +// CHECK:STDOUT: %Self => constants.%J.facet.08d +// CHECK:STDOUT: %J.WithSelf.JJ.type => constants.%J.WithSelf.JJ.type.629 +// CHECK:STDOUT: %J.WithSelf.JJ => constants.%J.WithSelf.JJ.2fb // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.JJ(constants.%J.facet.e24) { -// CHECK:STDOUT: %Self => constants.%J.facet.e24 +// CHECK:STDOUT: specific @J.WithSelf.JJ(constants.%J.facet.08d) { +// CHECK:STDOUT: %Self => constants.%J.facet.08d // CHECK:STDOUT: %Self.as_type.loc19_15.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.893 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f79 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J.WithSelf(constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%C.type.facet -// CHECK:STDOUT: %J.WithSelf.JJ.type => constants.%J.WithSelf.JJ.type.5c0 -// CHECK:STDOUT: %J.WithSelf.JJ => constants.%J.WithSelf.JJ.22d +// CHECK:STDOUT: %J.WithSelf.JJ.type => constants.%J.WithSelf.JJ.type.6fd +// CHECK:STDOUT: %J.WithSelf.JJ => constants.%J.WithSelf.JJ.600 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%C.type.facet -// CHECK:STDOUT: %I.WithSelf.II.type => constants.%I.WithSelf.II.type.674 -// CHECK:STDOUT: %I.WithSelf.II => constants.%I.WithSelf.II.928 +// CHECK:STDOUT: %I.WithSelf.II.type => constants.%I.WithSelf.II.type.3e3 +// CHECK:STDOUT: %I.WithSelf.II => constants.%I.WithSelf.II.6fc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%facet_value) { // CHECK:STDOUT: %T.loc22_7.1 => constants.%facet_value // CHECK:STDOUT: %T.as_type.loc22_20.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.893 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f79 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type // CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.impl_witness -// CHECK:STDOUT: %I.facet.loc26_18.2 => constants.%I.facet.7bb +// CHECK:STDOUT: %I.facet.loc26_18.2 => constants.%I.facet.7e4 // CHECK:STDOUT: %J.lookup_impl_witness => constants.%J.impl_witness -// CHECK:STDOUT: %J.facet.loc26_33.2 => constants.%J.facet.e24 -// CHECK:STDOUT: %J.WithSelf.JJ.type => constants.%J.WithSelf.JJ.type.8db -// CHECK:STDOUT: %.loc26_69 => constants.%.0bd +// CHECK:STDOUT: %J.facet.loc26_33.2 => constants.%J.facet.08d +// CHECK:STDOUT: %J.WithSelf.JJ.type => constants.%J.WithSelf.JJ.type.629 +// CHECK:STDOUT: %.loc26_69 => constants.%.c92 // CHECK:STDOUT: %impl.elem0.loc26_69.2 => constants.%C.as.J.impl.JJ // CHECK:STDOUT: %specific_impl_fn.loc26_69.2 => constants.%C.as.J.impl.JJ // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/impl/lookup/fail_todo_undefined_impl.carbon b/toolchain/check/testdata/impl/lookup/fail_todo_undefined_impl.carbon index 98b4743f7854..2ea391d847e7 100644 --- a/toolchain/check/testdata/impl/lookup/fail_todo_undefined_impl.carbon +++ b/toolchain/check/testdata/impl/lookup/fail_todo_undefined_impl.carbon @@ -53,30 +53,30 @@ fn G() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.831: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.ddf: %I.WithSelf.F.type.831 = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.d9f: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.592: %I.WithSelf.F.type.d9f = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %I.impl_witness.398: = impl_witness @C.as.I.impl.677.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.impl_witness.82c: = impl_witness @C.as.I.impl.9d0.%I.impl_witness_table [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %C.type.facet: %type = facet_value %C, () [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.124: type = fn_type @I.WithSelf.F, @I.WithSelf(%C.type.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.886: %I.WithSelf.F.type.124 = struct_value () [concrete] -// CHECK:STDOUT: %I.facet.634: %I.type = facet_value %C, (%I.impl_witness.398) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.f65: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.634) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.cea: %I.WithSelf.F.type.f65 = struct_value () [concrete] -// CHECK:STDOUT: %.a8d: type = fn_type_with_self_type %I.WithSelf.F.type.f65, %I.facet.634 [concrete] -// CHECK:STDOUT: %I.impl_witness.ce4: = impl_witness @C.as.I.impl.87e.%I.impl_witness_table [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.eef: type = fn_type @I.WithSelf.F, @I.WithSelf(%C.type.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.b58: %I.WithSelf.F.type.eef = struct_value () [concrete] +// CHECK:STDOUT: %I.facet.7a2: %I.type = facet_value %C, (%I.impl_witness.82c) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.c85: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.7a2) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.ba4: %I.WithSelf.F.type.c85 = struct_value () [concrete] +// CHECK:STDOUT: %.605: type = fn_type_with_self_type %I.WithSelf.F.type.c85, %I.facet.7a2 [concrete] +// CHECK:STDOUT: %I.impl_witness.44c: = impl_witness @C.as.I.impl.e12.%I.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F [concrete] // CHECK:STDOUT: %C.as.I.impl.F: %C.as.I.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %I.facet.706: %I.type = facet_value %C, (%I.impl_witness.ce4) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.f6c: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.706) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.2c6: %I.WithSelf.F.type.f6c = struct_value () [concrete] +// CHECK:STDOUT: %I.facet.98f: %I.type = facet_value %C, (%I.impl_witness.44c) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.9a6: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.98f) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.a2c: %I.WithSelf.F.type.9a6 = struct_value () [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -91,7 +91,7 @@ fn G() { // CHECK:STDOUT: %I.decl: type = interface_decl @I [concrete = constants.%I.type] {} {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {} {} -// CHECK:STDOUT: impl_decl @C.as.I.impl.87e [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.I.impl.e12 [concrete] {} { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: } @@ -103,7 +103,7 @@ fn G() { // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.831) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.ddf)] {} {} +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.d9f) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.592)] {} {} // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -114,12 +114,12 @@ fn G() { // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.I.impl.677: %Self.ref as %I.ref; +// CHECK:STDOUT: impl @C.as.I.impl.9d0: %Self.ref as %I.ref; // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.I.impl.87e: %C.ref as %I.ref { +// CHECK:STDOUT: impl @C.as.I.impl.e12: %C.ref as %I.ref { // CHECK:STDOUT: %C.as.I.impl.F.decl: %C.as.I.impl.F.type = fn_decl @C.as.I.impl.F [concrete = constants.%C.as.I.impl.F] {} {} -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%C.as.I.impl.F.decl), @C.as.I.impl.87e [concrete] -// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.ce4] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%C.as.I.impl.F.decl), @C.as.I.impl.e12 [concrete] +// CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness.44c] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %C.as.I.impl.F.decl @@ -128,7 +128,7 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C { -// CHECK:STDOUT: impl_decl @C.as.I.impl.677 [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.I.impl.9d0 [concrete] {} { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: } @@ -139,7 +139,7 @@ fn G() { // CHECK:STDOUT: .Self = constants.%C // CHECK:STDOUT: .I = // CHECK:STDOUT: .F = -// CHECK:STDOUT: extend @C.as.I.impl.677.%I.ref +// CHECK:STDOUT: extend @C.as.I.impl.9d0.%I.ref // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { @@ -150,7 +150,7 @@ fn G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.a8d = impl_witness_access constants.%I.impl_witness.398, element0 [concrete = ] +// CHECK:STDOUT: %impl.elem0: %.605 = impl_witness_access constants.%I.impl_witness.82c, element0 [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -163,15 +163,15 @@ fn G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.a8d = impl_witness_access constants.%I.impl_witness.398, element0 [concrete = ] +// CHECK:STDOUT: %impl.elem0: %.605 = impl_witness_access constants.%I.impl_witness.82c, element0 [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.831 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.ddf +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d9f +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.592 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self) {} @@ -179,23 +179,23 @@ fn G() { // CHECK:STDOUT: specific @I.WithSelf(constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%C.type.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.124 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.886 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.eef +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.b58 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.634) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.7a2) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.634 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.f65 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.cea +// CHECK:STDOUT: %Self => constants.%I.facet.7a2 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.c85 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.ba4 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.706) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.98f) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.706 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.f6c -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.2c6 +// CHECK:STDOUT: %Self => constants.%I.facet.98f +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.9a6 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.a2c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.706) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.98f) {} // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/lookup/generic.carbon b/toolchain/check/testdata/impl/lookup/generic.carbon index 9c4ee0af25e3..e1dc6068efa9 100644 --- a/toolchain/check/testdata/impl/lookup/generic.carbon +++ b/toolchain/check/testdata/impl/lookup/generic.carbon @@ -133,37 +133,37 @@ fn G(x: A) { // CHECK:STDOUT: %HasF.type: type = facet_type <@HasF> [concrete] // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.180: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.ae7: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %pattern_type.2da: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.4d3: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.923: %HasF.WithSelf.F.type.ae7 = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.8d9: %HasF.WithSelf.F.type.4d3 = struct_value () [symbolic] // CHECK:STDOUT: %HasF.assoc_type: type = assoc_entity_type @HasF [concrete] // CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %HasF.impl_witness.760: = impl_witness @T.as.HasF.impl.%HasF.impl_witness_table, @T.as.HasF.impl(%T) [symbolic] +// CHECK:STDOUT: %HasF.impl_witness.55f: = impl_witness @T.as.HasF.impl.%HasF.impl_witness_table, @T.as.HasF.impl(%T) [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %T.as.HasF.impl.F.type.644: type = fn_type @T.as.HasF.impl.F, @T.as.HasF.impl(%T) [symbolic] -// CHECK:STDOUT: %T.as.HasF.impl.F.641: %T.as.HasF.impl.F.type.644 = struct_value () [symbolic] -// CHECK:STDOUT: %HasF.facet.230: %HasF.type = facet_value %T, (%HasF.impl_witness.760) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.8e6: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet.230) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.d73: %HasF.WithSelf.F.type.8e6 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as.HasF.impl.F.type.4df: type = fn_type @T.as.HasF.impl.F, @T.as.HasF.impl(%T) [symbolic] +// CHECK:STDOUT: %T.as.HasF.impl.F.796: %T.as.HasF.impl.F.type.4df = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.facet.e89: %HasF.type = facet_value %T, (%HasF.impl_witness.55f) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.dff: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet.e89) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.f04: %HasF.WithSelf.F.type.dff = struct_value () [symbolic] // CHECK:STDOUT: %require_complete: = require_complete_type %T [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.a96: type = pattern_type %empty_struct_type [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %HasF.impl_witness.94f: = impl_witness @T.as.HasF.impl.%HasF.impl_witness_table, @T.as.HasF.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %T.as.HasF.impl.F.type.3e7: type = fn_type @T.as.HasF.impl.F, @T.as.HasF.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %T.as.HasF.impl.F.d35: %T.as.HasF.impl.F.type.3e7 = struct_value () [concrete] -// CHECK:STDOUT: %HasF.facet.9a7: %HasF.type = facet_value %empty_struct_type, (%HasF.impl_witness.94f) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.140: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet.9a7) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.db5: %HasF.WithSelf.F.type.140 = struct_value () [concrete] -// CHECK:STDOUT: %.af1: type = fn_type_with_self_type %HasF.WithSelf.F.type.140, %HasF.facet.9a7 [concrete] -// CHECK:STDOUT: %T.as.HasF.impl.F.specific_fn: = specific_function %T.as.HasF.impl.F.d35, @T.as.HasF.impl.F(%empty_struct_type) [concrete] +// CHECK:STDOUT: %HasF.impl_witness.c1a: = impl_witness @T.as.HasF.impl.%HasF.impl_witness_table, @T.as.HasF.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %T.as.HasF.impl.F.type.a34: type = fn_type @T.as.HasF.impl.F, @T.as.HasF.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %T.as.HasF.impl.F.8b8: %T.as.HasF.impl.F.type.a34 = struct_value () [concrete] +// CHECK:STDOUT: %HasF.facet.340: %HasF.type = facet_value %empty_struct_type, (%HasF.impl_witness.c1a) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.16a: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet.340) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.cb4: %HasF.WithSelf.F.type.16a = struct_value () [concrete] +// CHECK:STDOUT: %.275: type = fn_type_with_self_type %HasF.WithSelf.F.type.16a, %HasF.facet.340 [concrete] +// CHECK:STDOUT: %T.as.HasF.impl.F.specific_fn: = specific_function %T.as.HasF.impl.F.8b8, @T.as.HasF.impl.F(%empty_struct_type) [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -211,9 +211,9 @@ fn G(x: A) { // CHECK:STDOUT: %HasF.WithSelf.decl = interface_with_self_decl @HasF [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.ae7) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.923)] { -// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.180) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.180) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.4d3) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.8d9)] { +// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.2da) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.2da) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_14.1: type = splice_block %.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] { @@ -235,14 +235,14 @@ fn G(x: A) { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as.HasF.impl(%T.loc8_15.2: type) { // CHECK:STDOUT: %T.loc8_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_15.1 (constants.%T)] -// CHECK:STDOUT: %HasF.impl_witness.loc8_34.2: = impl_witness %HasF.impl_witness_table, @T.as.HasF.impl(%T.loc8_15.1) [symbolic = %HasF.impl_witness.loc8_34.2 (constants.%HasF.impl_witness.760)] +// CHECK:STDOUT: %HasF.impl_witness.loc8_34.2: = impl_witness %HasF.impl_witness_table, @T.as.HasF.impl(%T.loc8_15.1) [symbolic = %HasF.impl_witness.loc8_34.2 (constants.%HasF.impl_witness.55f)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as.HasF.impl.F.type: type = fn_type @T.as.HasF.impl.F, @T.as.HasF.impl(%T.loc8_15.1) [symbolic = %T.as.HasF.impl.F.type (constants.%T.as.HasF.impl.F.type.644)] -// CHECK:STDOUT: %T.as.HasF.impl.F: @T.as.HasF.impl.%T.as.HasF.impl.F.type (%T.as.HasF.impl.F.type.644) = struct_value () [symbolic = %T.as.HasF.impl.F (constants.%T.as.HasF.impl.F.641)] +// CHECK:STDOUT: %T.as.HasF.impl.F.type: type = fn_type @T.as.HasF.impl.F, @T.as.HasF.impl(%T.loc8_15.1) [symbolic = %T.as.HasF.impl.F.type (constants.%T.as.HasF.impl.F.type.4df)] +// CHECK:STDOUT: %T.as.HasF.impl.F: @T.as.HasF.impl.%T.as.HasF.impl.F.type (%T.as.HasF.impl.F.type.4df) = struct_value () [symbolic = %T.as.HasF.impl.F (constants.%T.as.HasF.impl.F.796)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %T.ref as %HasF.ref { -// CHECK:STDOUT: %T.as.HasF.impl.F.decl: @T.as.HasF.impl.%T.as.HasF.impl.F.type (%T.as.HasF.impl.F.type.644) = fn_decl @T.as.HasF.impl.F [symbolic = @T.as.HasF.impl.%T.as.HasF.impl.F (constants.%T.as.HasF.impl.F.641)] { +// CHECK:STDOUT: %T.as.HasF.impl.F.decl: @T.as.HasF.impl.%T.as.HasF.impl.F.type (%T.as.HasF.impl.F.type.4df) = fn_decl @T.as.HasF.impl.F [symbolic = @T.as.HasF.impl.%T.as.HasF.impl.F (constants.%T.as.HasF.impl.F.796)] { // CHECK:STDOUT: %self.param_patt: @T.as.HasF.impl.F.%pattern_type (%pattern_type.51d) = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: @T.as.HasF.impl.F.%pattern_type (%pattern_type.51d) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { @@ -251,7 +251,7 @@ fn G(x: A) { // CHECK:STDOUT: %self: @T.as.HasF.impl.F.%T (%T) = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %HasF.impl_witness_table = impl_witness_table (%T.as.HasF.impl.F.decl), @T.as.HasF.impl [concrete] -// CHECK:STDOUT: %HasF.impl_witness.loc8_34.1: = impl_witness %HasF.impl_witness_table, @T.as.HasF.impl(constants.%T) [symbolic = %HasF.impl_witness.loc8_34.2 (constants.%HasF.impl_witness.760)] +// CHECK:STDOUT: %HasF.impl_witness.loc8_34.1: = impl_witness %HasF.impl_witness_table, @T.as.HasF.impl(constants.%T) [symbolic = %HasF.impl_witness.loc8_34.2 (constants.%HasF.impl_witness.55f)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %T.as.HasF.impl.F.decl @@ -263,7 +263,7 @@ fn G(x: A) { // CHECK:STDOUT: generic fn @HasF.WithSelf.F(@HasF.%Self: %HasF.type) { // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.180)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.2da)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -286,7 +286,7 @@ fn G(x: A) { // CHECK:STDOUT: %x.ref: %empty_struct_type = name_ref x, %x // CHECK:STDOUT: %HasF.ref: type = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.type] // CHECK:STDOUT: %F.ref: %HasF.assoc_type = name_ref F, @HasF.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.af1 = impl_witness_access constants.%HasF.impl_witness.94f, element0 [concrete = constants.%T.as.HasF.impl.F.d35] +// CHECK:STDOUT: %impl.elem0: %.275 = impl_witness_access constants.%HasF.impl_witness.c1a, element0 [concrete = constants.%T.as.HasF.impl.F.8b8] // CHECK:STDOUT: %bound_method.loc13_4: = bound_method %x.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @T.as.HasF.impl.F(constants.%empty_struct_type) [concrete = constants.%T.as.HasF.impl.F.specific_fn] // CHECK:STDOUT: %bound_method.loc13_14: = bound_method %x.ref, %specific_fn @@ -297,23 +297,23 @@ fn G(x: A) { // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.ae7 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.923 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.4d3 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.8d9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.180 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2da // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @T.as.HasF.impl(constants.%T) { // CHECK:STDOUT: %T.loc8_15.1 => constants.%T -// CHECK:STDOUT: %HasF.impl_witness.loc8_34.2 => constants.%HasF.impl_witness.760 +// CHECK:STDOUT: %HasF.impl_witness.loc8_34.2 => constants.%HasF.impl_witness.55f // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as.HasF.impl.F.type => constants.%T.as.HasF.impl.F.type.644 -// CHECK:STDOUT: %T.as.HasF.impl.F => constants.%T.as.HasF.impl.F.641 +// CHECK:STDOUT: %T.as.HasF.impl.F.type => constants.%T.as.HasF.impl.F.type.4df +// CHECK:STDOUT: %T.as.HasF.impl.F => constants.%T.as.HasF.impl.F.796 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @T.as.HasF.impl.F(constants.%T) { @@ -321,33 +321,33 @@ fn G(x: A) { // CHECK:STDOUT: %pattern_type => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet.230) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet.e89) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%HasF.facet.230 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.8e6 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.d73 +// CHECK:STDOUT: %Self => constants.%HasF.facet.e89 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.dff +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.f04 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%HasF.facet.230) { -// CHECK:STDOUT: %Self => constants.%HasF.facet.230 +// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%HasF.facet.e89) { +// CHECK:STDOUT: %Self => constants.%HasF.facet.e89 // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%T // CHECK:STDOUT: %pattern_type => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @T.as.HasF.impl(constants.%empty_struct_type) { // CHECK:STDOUT: %T.loc8_15.1 => constants.%empty_struct_type -// CHECK:STDOUT: %HasF.impl_witness.loc8_34.2 => constants.%HasF.impl_witness.94f +// CHECK:STDOUT: %HasF.impl_witness.loc8_34.2 => constants.%HasF.impl_witness.c1a // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as.HasF.impl.F.type => constants.%T.as.HasF.impl.F.type.3e7 -// CHECK:STDOUT: %T.as.HasF.impl.F => constants.%T.as.HasF.impl.F.d35 +// CHECK:STDOUT: %T.as.HasF.impl.F.type => constants.%T.as.HasF.impl.F.type.a34 +// CHECK:STDOUT: %T.as.HasF.impl.F => constants.%T.as.HasF.impl.F.8b8 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet.9a7) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet.340) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%HasF.facet.9a7 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.140 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.db5 +// CHECK:STDOUT: %Self => constants.%HasF.facet.340 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.16a +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.cb4 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @T.as.HasF.impl.F(constants.%empty_struct_type) { @@ -362,38 +362,38 @@ fn G(x: A) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %HasF.type: type = facet_type <@HasF> [concrete] -// CHECK:STDOUT: %Self.2b1: %HasF.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.38c: type = facet_access_type %Self.2b1 [symbolic] -// CHECK:STDOUT: %pattern_type.17f: type = pattern_type %Self.as_type.38c [symbolic] -// CHECK:STDOUT: %.2c7: Core.Form = init_form %Self.as_type.38c [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.5da: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self.2b1) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.b3a: %HasF.WithSelf.F.type.5da = struct_value () [symbolic] +// CHECK:STDOUT: %Self.62e: %HasF.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.9df: type = facet_access_type %Self.62e [symbolic] +// CHECK:STDOUT: %pattern_type.2da: type = pattern_type %Self.as_type.9df [symbolic] +// CHECK:STDOUT: %.87b: Core.Form = init_form %Self.as_type.9df [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.4d3: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self.62e) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.8d9: %HasF.WithSelf.F.type.4d3 = struct_value () [symbolic] // CHECK:STDOUT: %HasF.assoc_type: type = assoc_entity_type @HasF [concrete] -// CHECK:STDOUT: %assoc0.a20: %HasF.assoc_type = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.3b4: %HasF.assoc_type = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %HasF.impl_witness.75e: = impl_witness @ptr.as.HasF.impl.%HasF.impl_witness_table, @ptr.as.HasF.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %HasF.impl_witness.6f2: = impl_witness @ptr.as.HasF.impl.%HasF.impl_witness_table, @ptr.as.HasF.impl(%T.67d) [symbolic] // CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %ptr.e8f [symbolic] // CHECK:STDOUT: %.cb6: Core.Form = init_form %ptr.e8f [symbolic] -// CHECK:STDOUT: %ptr.as.HasF.impl.F.type.c09: type = fn_type @ptr.as.HasF.impl.F, @ptr.as.HasF.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.HasF.impl.F.c05: %ptr.as.HasF.impl.F.type.c09 = struct_value () [symbolic] -// CHECK:STDOUT: %HasF.facet.376: %HasF.type = facet_value %ptr.e8f, (%HasF.impl_witness.75e) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.d51: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet.376) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.518: %HasF.WithSelf.F.type.d51 = struct_value () [symbolic] +// CHECK:STDOUT: %ptr.as.HasF.impl.F.type.19a: type = fn_type @ptr.as.HasF.impl.F, @ptr.as.HasF.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.HasF.impl.F.8af: %ptr.as.HasF.impl.F.type.19a = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.facet.6f4: %HasF.type = facet_value %ptr.e8f, (%HasF.impl_witness.6f2) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.f1b: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet.6f4) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.db9: %HasF.WithSelf.F.type.f1b = struct_value () [symbolic] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.5be: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] -// CHECK:STDOUT: %.546: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Copy.facet.2a3: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.5be) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a8e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.2a3) [symbolic] -// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a8e, %Copy.facet.2a3 [symbolic] -// CHECK:STDOUT: %impl.elem0.480: %.86b = impl_witness_access %Copy.lookup_impl_witness.5be, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d1f: = specific_impl_function %impl.elem0.480, @Copy.WithSelf.Op(%Copy.facet.2a3) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2bf: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] +// CHECK:STDOUT: %.b6a: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Copy.facet.44d: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.2bf) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.72b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.44d) [symbolic] +// CHECK:STDOUT: %.39b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72b, %Copy.facet.44d [symbolic] +// CHECK:STDOUT: %impl.elem0.8a3: %.39b = impl_witness_access %Copy.lookup_impl_witness.2bf, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a13: = specific_impl_function %impl.elem0.8a3, @Copy.WithSelf.Op(%Copy.facet.44d) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %ptr.c28: type = ptr_type %empty_struct_type [concrete] @@ -401,23 +401,23 @@ fn G(x: A) { // CHECK:STDOUT: %.9ba: Core.Form = init_form %ptr.c28 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %HasF.impl_witness.3f2: = impl_witness @ptr.as.HasF.impl.%HasF.impl_witness_table, @ptr.as.HasF.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %ptr.as.HasF.impl.F.type.5ae: type = fn_type @ptr.as.HasF.impl.F, @ptr.as.HasF.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %ptr.as.HasF.impl.F.a15: %ptr.as.HasF.impl.F.type.5ae = struct_value () [concrete] -// CHECK:STDOUT: %HasF.facet.0d1: %HasF.type = facet_value %ptr.c28, (%HasF.impl_witness.3f2) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.362: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet.0d1) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.b2b: %HasF.WithSelf.F.type.362 = struct_value () [concrete] -// CHECK:STDOUT: %.0b0: type = fn_type_with_self_type %HasF.WithSelf.F.type.362, %HasF.facet.0d1 [concrete] -// CHECK:STDOUT: %ptr.as.HasF.impl.F.specific_fn: = specific_function %ptr.as.HasF.impl.F.a15, @ptr.as.HasF.impl.F(%empty_struct_type) [concrete] +// CHECK:STDOUT: %HasF.impl_witness.639: = impl_witness @ptr.as.HasF.impl.%HasF.impl_witness_table, @ptr.as.HasF.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %ptr.as.HasF.impl.F.type.eca: type = fn_type @ptr.as.HasF.impl.F, @ptr.as.HasF.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %ptr.as.HasF.impl.F.70c: %ptr.as.HasF.impl.F.type.eca = struct_value () [concrete] +// CHECK:STDOUT: %HasF.facet.3ef: %HasF.type = facet_value %ptr.c28, (%HasF.impl_witness.639) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.a75: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet.3ef) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.847: %HasF.WithSelf.F.type.a75 = struct_value () [concrete] +// CHECK:STDOUT: %.353: type = fn_type_with_self_type %HasF.WithSelf.F.type.a75, %HasF.facet.3ef [concrete] +// CHECK:STDOUT: %ptr.as.HasF.impl.F.specific_fn: = specific_function %ptr.as.HasF.impl.F.70c, @ptr.as.HasF.impl.F(%empty_struct_type) [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %ptr.c28 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.561: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.1db: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.503: %ptr.as.Copy.impl.Op.type.1db = struct_value () [concrete] -// CHECK:STDOUT: %.74f: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %Copy.facet.695: %Copy.type = facet_value %ptr.c28, (%Copy.impl_witness.561) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.1fd: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.695) [concrete] -// CHECK:STDOUT: %.18e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.1fd, %Copy.facet.695 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.503, @ptr.as.Copy.impl.Op(%empty_struct_type) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.1c0: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.91f: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.d7b: %ptr.as.Copy.impl.Op.type.91f = struct_value () [concrete] +// CHECK:STDOUT: %.41e: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %Copy.facet.e29: %Copy.type = facet_value %ptr.c28, (%Copy.impl_witness.1c0) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.980: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.e29) [concrete] +// CHECK:STDOUT: %.f8c: type = fn_type_with_self_type %Copy.WithSelf.Op.type.980, %Copy.facet.e29 [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.d7b, @ptr.as.Copy.impl.Op(%empty_struct_type) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -427,8 +427,8 @@ fn G(x: A) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -474,31 +474,31 @@ fn G(x: A) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @HasF { -// CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = constants.%Self.2b1] +// CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = constants.%Self.62e] // CHECK:STDOUT: %HasF.WithSelf.decl = interface_with_self_decl @HasF [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.5da) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.b3a)] { -// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.17f) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.17f) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.17f) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.17f) = return_slot_pattern %return.param_patt, %.loc5_25.2 [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.4d3) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.8d9)] { +// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.2da) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.2da) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.2da) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.2da) = return_slot_pattern %return.param_patt, %.loc5_25.2 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %Self.ref.loc5_25: %HasF.type = name_ref Self, @HasF.%Self [symbolic = %Self (constants.%Self.2b1)] -// CHECK:STDOUT: %Self.as_type.loc5_25: type = facet_access_type %Self.ref.loc5_25 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type.38c)] -// CHECK:STDOUT: %.loc5_25.2: type = converted %Self.ref.loc5_25, %Self.as_type.loc5_25 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type.38c)] -// CHECK:STDOUT: %.loc5_25.3: Core.Form = init_form %.loc5_25.2 [symbolic = %.loc5_25.1 (constants.%.2c7)] -// CHECK:STDOUT: %self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type.38c) = value_param call_param0 -// CHECK:STDOUT: %.loc5_14.1: type = splice_block %.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type.38c)] { -// CHECK:STDOUT: %Self.ref.loc5_14: %HasF.type = name_ref Self, @HasF.%Self [symbolic = %Self (constants.%Self.2b1)] -// CHECK:STDOUT: %Self.as_type.loc5_14.2: type = facet_access_type %Self.ref.loc5_14 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type.38c)] -// CHECK:STDOUT: %.loc5_14.2: type = converted %Self.ref.loc5_14, %Self.as_type.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type.38c)] +// CHECK:STDOUT: %Self.ref.loc5_25: %HasF.type = name_ref Self, @HasF.%Self [symbolic = %Self (constants.%Self.62e)] +// CHECK:STDOUT: %Self.as_type.loc5_25: type = facet_access_type %Self.ref.loc5_25 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type.9df)] +// CHECK:STDOUT: %.loc5_25.2: type = converted %Self.ref.loc5_25, %Self.as_type.loc5_25 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type.9df)] +// CHECK:STDOUT: %.loc5_25.3: Core.Form = init_form %.loc5_25.2 [symbolic = %.loc5_25.1 (constants.%.87b)] +// CHECK:STDOUT: %self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type.9df) = value_param call_param0 +// CHECK:STDOUT: %.loc5_14.1: type = splice_block %.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type.9df)] { +// CHECK:STDOUT: %Self.ref.loc5_14: %HasF.type = name_ref Self, @HasF.%Self [symbolic = %Self (constants.%Self.62e)] +// CHECK:STDOUT: %Self.as_type.loc5_14.2: type = facet_access_type %Self.ref.loc5_14 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type.9df)] +// CHECK:STDOUT: %.loc5_14.2: type = converted %Self.ref.loc5_14, %Self.as_type.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type.9df)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type.38c) = value_binding self, %self.param -// CHECK:STDOUT: %return.param: ref @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type.38c) = out_param call_param1 -// CHECK:STDOUT: %return: ref @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type.38c) = return_slot %return.param +// CHECK:STDOUT: %self: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type.9df) = value_binding self, %self.param +// CHECK:STDOUT: %return.param: ref @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type.9df) = out_param call_param1 +// CHECK:STDOUT: %return: ref @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type.9df) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, %HasF.WithSelf.F.decl [concrete = constants.%assoc0.a20] +// CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, %HasF.WithSelf.F.decl [concrete = constants.%assoc0.3b4] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -512,14 +512,14 @@ fn G(x: A) { // CHECK:STDOUT: generic impl @ptr.as.HasF.impl(%T.loc8_15.2: type) { // CHECK:STDOUT: %T.loc8_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_15.1 (constants.%T.67d)] // CHECK:STDOUT: %ptr.loc8_25.1: type = ptr_type %T.loc8_15.1 [symbolic = %ptr.loc8_25.1 (constants.%ptr.e8f)] -// CHECK:STDOUT: %HasF.impl_witness.loc8_35.2: = impl_witness %HasF.impl_witness_table, @ptr.as.HasF.impl(%T.loc8_15.1) [symbolic = %HasF.impl_witness.loc8_35.2 (constants.%HasF.impl_witness.75e)] +// CHECK:STDOUT: %HasF.impl_witness.loc8_35.2: = impl_witness %HasF.impl_witness_table, @ptr.as.HasF.impl(%T.loc8_15.1) [symbolic = %HasF.impl_witness.loc8_35.2 (constants.%HasF.impl_witness.6f2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ptr.as.HasF.impl.F.type: type = fn_type @ptr.as.HasF.impl.F, @ptr.as.HasF.impl(%T.loc8_15.1) [symbolic = %ptr.as.HasF.impl.F.type (constants.%ptr.as.HasF.impl.F.type.c09)] -// CHECK:STDOUT: %ptr.as.HasF.impl.F: @ptr.as.HasF.impl.%ptr.as.HasF.impl.F.type (%ptr.as.HasF.impl.F.type.c09) = struct_value () [symbolic = %ptr.as.HasF.impl.F (constants.%ptr.as.HasF.impl.F.c05)] +// CHECK:STDOUT: %ptr.as.HasF.impl.F.type: type = fn_type @ptr.as.HasF.impl.F, @ptr.as.HasF.impl(%T.loc8_15.1) [symbolic = %ptr.as.HasF.impl.F.type (constants.%ptr.as.HasF.impl.F.type.19a)] +// CHECK:STDOUT: %ptr.as.HasF.impl.F: @ptr.as.HasF.impl.%ptr.as.HasF.impl.F.type (%ptr.as.HasF.impl.F.type.19a) = struct_value () [symbolic = %ptr.as.HasF.impl.F (constants.%ptr.as.HasF.impl.F.8af)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %ptr.loc8_25.2 as %HasF.ref { -// CHECK:STDOUT: %ptr.as.HasF.impl.F.decl: @ptr.as.HasF.impl.%ptr.as.HasF.impl.F.type (%ptr.as.HasF.impl.F.type.c09) = fn_decl @ptr.as.HasF.impl.F [symbolic = @ptr.as.HasF.impl.%ptr.as.HasF.impl.F (constants.%ptr.as.HasF.impl.F.c05)] { +// CHECK:STDOUT: %ptr.as.HasF.impl.F.decl: @ptr.as.HasF.impl.%ptr.as.HasF.impl.F.type (%ptr.as.HasF.impl.F.type.19a) = fn_decl @ptr.as.HasF.impl.F [symbolic = @ptr.as.HasF.impl.%ptr.as.HasF.impl.F (constants.%ptr.as.HasF.impl.F.8af)] { // CHECK:STDOUT: %self.param_patt: @ptr.as.HasF.impl.F.%pattern_type (%pattern_type.4f4) = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: @ptr.as.HasF.impl.F.%pattern_type (%pattern_type.4f4) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @ptr.as.HasF.impl.F.%pattern_type (%pattern_type.4f4) = out_param_pattern [concrete] @@ -535,7 +535,7 @@ fn G(x: A) { // CHECK:STDOUT: %return: ref @ptr.as.HasF.impl.F.%ptr.loc9_14 (%ptr.e8f) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %HasF.impl_witness_table = impl_witness_table (%ptr.as.HasF.impl.F.decl), @ptr.as.HasF.impl [concrete] -// CHECK:STDOUT: %HasF.impl_witness.loc8_35.1: = impl_witness %HasF.impl_witness_table, @ptr.as.HasF.impl(constants.%T.67d) [symbolic = %HasF.impl_witness.loc8_35.2 (constants.%HasF.impl_witness.75e)] +// CHECK:STDOUT: %HasF.impl_witness.loc8_35.1: = impl_witness %HasF.impl_witness_table, @ptr.as.HasF.impl(constants.%T.67d) [symbolic = %HasF.impl_witness.loc8_35.2 (constants.%HasF.impl_witness.6f2)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .T = @@ -546,12 +546,12 @@ fn G(x: A) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HasF.WithSelf.F(@HasF.%Self: %HasF.type) { -// CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.2b1)] -// CHECK:STDOUT: %Self.as_type.loc5_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type.38c)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.17f)] -// CHECK:STDOUT: %.loc5_25.1: Core.Form = init_form %Self.as_type.loc5_14.1 [symbolic = %.loc5_25.1 (constants.%.2c7)] +// CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.62e)] +// CHECK:STDOUT: %Self.as_type.loc5_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type.9df)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.2da)] +// CHECK:STDOUT: %.loc5_25.1: Core.Form = init_form %Self.as_type.loc5_14.1 [symbolic = %.loc5_25.1 (constants.%.87b)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type.38c)) -> out %return.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type.38c); +// CHECK:STDOUT: fn(%self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type.9df)) -> out %return.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type.9df); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @ptr.as.HasF.impl.F(@ptr.as.HasF.impl.%T.loc8_15.2: type) { @@ -562,20 +562,20 @@ fn G(x: A) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %ptr.loc9_14 [symbolic = %require_complete (constants.%require_complete.ef1)] -// CHECK:STDOUT: %.loc9_37.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T) [symbolic = %.loc9_37.1 (constants.%.546)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc9_14, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.5be)] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc9_14, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.2a3)] -// 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.a8e)] -// CHECK:STDOUT: %.loc9_37.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc9_37.2 (constants.%.86b)] -// CHECK:STDOUT: %impl.elem0.loc9_37.2: @ptr.as.HasF.impl.F.%.loc9_37.2 (%.86b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_37.2 (constants.%impl.elem0.480)] -// CHECK:STDOUT: %specific_impl_fn.loc9_37.2: = specific_impl_function %impl.elem0.loc9_37.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc9_37.2 (constants.%specific_impl_fn.d1f)] +// CHECK:STDOUT: %.loc9_37.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T) [symbolic = %.loc9_37.1 (constants.%.b6a)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc9_14, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2bf)] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc9_14, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.44d)] +// 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.72b)] +// CHECK:STDOUT: %.loc9_37.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc9_37.2 (constants.%.39b)] +// CHECK:STDOUT: %impl.elem0.loc9_37.2: @ptr.as.HasF.impl.F.%.loc9_37.2 (%.39b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_37.2 (constants.%impl.elem0.8a3)] +// CHECK:STDOUT: %specific_impl_fn.loc9_37.2: = specific_impl_function %impl.elem0.loc9_37.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc9_37.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @ptr.as.HasF.impl.F.%ptr.loc9_14 (%ptr.e8f)) -> out %return.param: @ptr.as.HasF.impl.F.%ptr.loc9_14 (%ptr.e8f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %self.ref: @ptr.as.HasF.impl.F.%ptr.loc9_14 (%ptr.e8f) = name_ref self, %self -// CHECK:STDOUT: %impl.elem0.loc9_37.1: @ptr.as.HasF.impl.F.%.loc9_37.2 (%.86b) = impl_witness_access constants.%Copy.lookup_impl_witness.5be, element0 [symbolic = %impl.elem0.loc9_37.2 (constants.%impl.elem0.480)] +// CHECK:STDOUT: %impl.elem0.loc9_37.1: @ptr.as.HasF.impl.F.%.loc9_37.2 (%.39b) = impl_witness_access constants.%Copy.lookup_impl_witness.2bf, element0 [symbolic = %impl.elem0.loc9_37.2 (constants.%impl.elem0.8a3)] // CHECK:STDOUT: %bound_method.loc9_37.1: = bound_method %self.ref, %impl.elem0.loc9_37.1 -// CHECK:STDOUT: %specific_impl_fn.loc9_37.1: = specific_impl_function %impl.elem0.loc9_37.1, @Copy.WithSelf.Op(constants.%Copy.facet.2a3) [symbolic = %specific_impl_fn.loc9_37.2 (constants.%specific_impl_fn.d1f)] +// CHECK:STDOUT: %specific_impl_fn.loc9_37.1: = specific_impl_function %impl.elem0.loc9_37.1, @Copy.WithSelf.Op(constants.%Copy.facet.44d) [symbolic = %specific_impl_fn.loc9_37.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: %bound_method.loc9_37.2: = bound_method %self.ref, %specific_impl_fn.loc9_37.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @ptr.as.HasF.impl.F.%ptr.loc9_14 (%ptr.e8f) = call %bound_method.loc9_37.2(%self.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call @@ -586,8 +586,8 @@ fn G(x: A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: %ptr.c28 = name_ref x, %x // CHECK:STDOUT: %HasF.ref: type = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.type] -// CHECK:STDOUT: %F.ref: %HasF.assoc_type = name_ref F, @HasF.WithSelf.%assoc0 [concrete = constants.%assoc0.a20] -// CHECK:STDOUT: %impl.elem0: %.0b0 = impl_witness_access constants.%HasF.impl_witness.3f2, element0 [concrete = constants.%ptr.as.HasF.impl.F.a15] +// CHECK:STDOUT: %F.ref: %HasF.assoc_type = name_ref F, @HasF.WithSelf.%assoc0 [concrete = constants.%assoc0.3b4] +// CHECK:STDOUT: %impl.elem0: %.353 = impl_witness_access constants.%HasF.impl_witness.639, element0 [concrete = constants.%ptr.as.HasF.impl.F.70c] // CHECK:STDOUT: %bound_method.loc13_11: = bound_method %x.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.HasF.impl.F(constants.%empty_struct_type) [concrete = constants.%ptr.as.HasF.impl.F.specific_fn] // CHECK:STDOUT: %bound_method.loc13_21: = bound_method %x.ref, %specific_fn @@ -595,28 +595,28 @@ fn G(x: A) { // CHECK:STDOUT: return %ptr.as.HasF.impl.F.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self.2b1) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self.62e) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.2b1 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.5da -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.b3a +// CHECK:STDOUT: %Self => constants.%Self.62e +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.4d3 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.8d9 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self.2b1) { -// CHECK:STDOUT: %Self => constants.%Self.2b1 -// CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%Self.as_type.38c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.17f -// CHECK:STDOUT: %.loc5_25.1 => constants.%.2c7 +// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self.62e) { +// CHECK:STDOUT: %Self => constants.%Self.62e +// CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%Self.as_type.9df +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2da +// CHECK:STDOUT: %.loc5_25.1 => constants.%.87b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ptr.as.HasF.impl(constants.%T.67d) { // CHECK:STDOUT: %T.loc8_15.1 => constants.%T.67d // CHECK:STDOUT: %ptr.loc8_25.1 => constants.%ptr.e8f -// CHECK:STDOUT: %HasF.impl_witness.loc8_35.2 => constants.%HasF.impl_witness.75e +// CHECK:STDOUT: %HasF.impl_witness.loc8_35.2 => constants.%HasF.impl_witness.6f2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ptr.as.HasF.impl.F.type => constants.%ptr.as.HasF.impl.F.type.c09 -// CHECK:STDOUT: %ptr.as.HasF.impl.F => constants.%ptr.as.HasF.impl.F.c05 +// CHECK:STDOUT: %ptr.as.HasF.impl.F.type => constants.%ptr.as.HasF.impl.F.type.19a +// CHECK:STDOUT: %ptr.as.HasF.impl.F => constants.%ptr.as.HasF.impl.F.8af // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ptr.as.HasF.impl.F(constants.%T.67d) { @@ -626,15 +626,15 @@ fn G(x: A) { // CHECK:STDOUT: %.loc9_26.1 => constants.%.cb6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet.376) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet.6f4) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%HasF.facet.376 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.d51 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.518 +// CHECK:STDOUT: %Self => constants.%HasF.facet.6f4 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.f1b +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.db9 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%HasF.facet.376) { -// CHECK:STDOUT: %Self => constants.%HasF.facet.376 +// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%HasF.facet.6f4) { +// CHECK:STDOUT: %Self => constants.%HasF.facet.6f4 // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%ptr.e8f // CHECK:STDOUT: %pattern_type => constants.%pattern_type.4f4 // CHECK:STDOUT: %.loc5_25.1 => constants.%.cb6 @@ -643,18 +643,18 @@ fn G(x: A) { // CHECK:STDOUT: specific @ptr.as.HasF.impl(constants.%empty_struct_type) { // CHECK:STDOUT: %T.loc8_15.1 => constants.%empty_struct_type // CHECK:STDOUT: %ptr.loc8_25.1 => constants.%ptr.c28 -// CHECK:STDOUT: %HasF.impl_witness.loc8_35.2 => constants.%HasF.impl_witness.3f2 +// CHECK:STDOUT: %HasF.impl_witness.loc8_35.2 => constants.%HasF.impl_witness.639 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ptr.as.HasF.impl.F.type => constants.%ptr.as.HasF.impl.F.type.5ae -// CHECK:STDOUT: %ptr.as.HasF.impl.F => constants.%ptr.as.HasF.impl.F.a15 +// CHECK:STDOUT: %ptr.as.HasF.impl.F.type => constants.%ptr.as.HasF.impl.F.type.eca +// CHECK:STDOUT: %ptr.as.HasF.impl.F => constants.%ptr.as.HasF.impl.F.70c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet.0d1) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet.3ef) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%HasF.facet.0d1 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.362 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.b2b +// CHECK:STDOUT: %Self => constants.%HasF.facet.3ef +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.a75 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.847 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ptr.as.HasF.impl.F(constants.%empty_struct_type) { @@ -665,12 +665,12 @@ fn G(x: A) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type -// CHECK:STDOUT: %.loc9_37.1 => constants.%.74f -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.561 -// CHECK:STDOUT: %Copy.facet => constants.%Copy.facet.695 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.1fd -// CHECK:STDOUT: %.loc9_37.2 => constants.%.18e -// CHECK:STDOUT: %impl.elem0.loc9_37.2 => constants.%ptr.as.Copy.impl.Op.503 +// CHECK:STDOUT: %.loc9_37.1 => constants.%.41e +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.1c0 +// CHECK:STDOUT: %Copy.facet => constants.%Copy.facet.e29 +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.980 +// CHECK:STDOUT: %.loc9_37.2 => constants.%.f8c +// CHECK:STDOUT: %impl.elem0.loc9_37.2 => constants.%ptr.as.Copy.impl.Op.d7b // CHECK:STDOUT: %specific_impl_fn.loc9_37.2 => constants.%ptr.as.Copy.impl.Op.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: @@ -680,10 +680,10 @@ fn G(x: A) { // CHECK:STDOUT: %HasF.type: type = facet_type <@HasF> [concrete] // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.b27: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.ebe: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %pattern_type.2da: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.4d3: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.5fe: %HasF.WithSelf.F.type.ebe = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.8d9: %HasF.WithSelf.F.type.4d3 = struct_value () [symbolic] // CHECK:STDOUT: %HasF.assoc_type: type = assoc_entity_type @HasF [concrete] // CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] @@ -692,30 +692,30 @@ fn G(x: A) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.14d: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %HasF.impl_witness.62c: = impl_witness @C.as.HasF.impl.%HasF.impl_witness_table, @C.as.HasF.impl(%T) [symbolic] -// CHECK:STDOUT: %pattern_type.a4d: type = pattern_type %C.14d [symbolic] -// CHECK:STDOUT: %C.as.HasF.impl.F.type.9c6: type = fn_type @C.as.HasF.impl.F, @C.as.HasF.impl(%T) [symbolic] -// CHECK:STDOUT: %C.as.HasF.impl.F.0a6: %C.as.HasF.impl.F.type.9c6 = struct_value () [symbolic] -// CHECK:STDOUT: %HasF.facet.81b: %HasF.type = facet_value %C.14d, (%HasF.impl_witness.62c) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.bd3: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet.81b) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.8cd: %HasF.WithSelf.F.type.bd3 = struct_value () [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %C.14d [symbolic] +// CHECK:STDOUT: %HasF.impl_witness.02d: = impl_witness @C.as.HasF.impl.%HasF.impl_witness_table, @C.as.HasF.impl(%T) [symbolic] +// CHECK:STDOUT: %pattern_type.69e: type = pattern_type %C.1f9 [symbolic] +// CHECK:STDOUT: %C.as.HasF.impl.F.type.d51: type = fn_type @C.as.HasF.impl.F, @C.as.HasF.impl(%T) [symbolic] +// CHECK:STDOUT: %C.as.HasF.impl.F.4fd: %C.as.HasF.impl.F.type.d51 = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.facet.081: %HasF.type = facet_value %C.1f9, (%HasF.impl_witness.02d) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.a83: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet.081) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.917: %HasF.WithSelf.F.type.a83 = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %C.1f9 [symbolic] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %C.d02: type = class_type @C, @C(%empty_struct_type) [concrete] -// CHECK:STDOUT: %pattern_type.e33: type = pattern_type %C.d02 [concrete] +// CHECK:STDOUT: %C.ea5: type = class_type @C, @C(%empty_struct_type) [concrete] +// CHECK:STDOUT: %pattern_type.4ac: type = pattern_type %C.ea5 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %HasF.impl_witness.f4c: = impl_witness @C.as.HasF.impl.%HasF.impl_witness_table, @C.as.HasF.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %C.as.HasF.impl.F.type.e82: type = fn_type @C.as.HasF.impl.F, @C.as.HasF.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %C.as.HasF.impl.F.788: %C.as.HasF.impl.F.type.e82 = struct_value () [concrete] -// CHECK:STDOUT: %HasF.facet.7ab: %HasF.type = facet_value %C.d02, (%HasF.impl_witness.f4c) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.ba5: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet.7ab) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.ad9: %HasF.WithSelf.F.type.ba5 = struct_value () [concrete] -// CHECK:STDOUT: %.927: type = fn_type_with_self_type %HasF.WithSelf.F.type.ba5, %HasF.facet.7ab [concrete] -// CHECK:STDOUT: %C.as.HasF.impl.F.specific_fn: = specific_function %C.as.HasF.impl.F.788, @C.as.HasF.impl.F(%empty_struct_type) [concrete] +// CHECK:STDOUT: %HasF.impl_witness.994: = impl_witness @C.as.HasF.impl.%HasF.impl_witness_table, @C.as.HasF.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %C.as.HasF.impl.F.type.613: type = fn_type @C.as.HasF.impl.F, @C.as.HasF.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %C.as.HasF.impl.F.880: %C.as.HasF.impl.F.type.613 = struct_value () [concrete] +// CHECK:STDOUT: %HasF.facet.5ef: %HasF.type = facet_value %C.ea5, (%HasF.impl_witness.994) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.1c2: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet.5ef) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.7ab: %HasF.WithSelf.F.type.1c2 = struct_value () [concrete] +// CHECK:STDOUT: %.fc0: type = fn_type_with_self_type %HasF.WithSelf.F.type.1c2, %HasF.facet.5ef [concrete] +// CHECK:STDOUT: %C.as.HasF.impl.F.specific_fn: = specific_function %C.as.HasF.impl.F.880, @C.as.HasF.impl.F(%empty_struct_type) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -748,7 +748,7 @@ fn G(x: A) { // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc10_15.2 [symbolic = %T.loc10_15.1 (constants.%T)] -// CHECK:STDOUT: %C.loc10_27.2: type = class_type @C, @C(constants.%T) [symbolic = %C.loc10_27.1 (constants.%C.14d)] +// CHECK:STDOUT: %C.loc10_27.2: type = class_type @C, @C(constants.%T) [symbolic = %C.loc10_27.1 (constants.%C.1f9)] // CHECK:STDOUT: %HasF.ref: type = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.type] // CHECK:STDOUT: %.loc10_18.1: type = splice_block %.loc10_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -757,17 +757,17 @@ fn G(x: A) { // CHECK:STDOUT: %T.loc10_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc10_15.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.e33 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.e33 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.4ac = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.4ac = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param: %C.d02 = value_param call_param0 -// CHECK:STDOUT: %.loc14_13.1: type = splice_block %C [concrete = constants.%C.d02] { +// CHECK:STDOUT: %x.param: %C.ea5 = value_param call_param0 +// CHECK:STDOUT: %.loc14_13.1: type = splice_block %C [concrete = constants.%C.ea5] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %.loc14_12: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc14_13.2: type = converted %.loc14_12, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%empty_struct_type) [concrete = constants.%C.d02] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%empty_struct_type) [concrete = constants.%C.ea5] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: %C.d02 = value_binding x, %x.param +// CHECK:STDOUT: %x: %C.ea5 = value_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -776,9 +776,9 @@ fn G(x: A) { // CHECK:STDOUT: %HasF.WithSelf.decl = interface_with_self_decl @HasF [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.ebe) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.5fe)] { -// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.b27) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.b27) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.4d3) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.8d9)] { +// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.2da) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.2da) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_14.1: type = splice_block %.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] { @@ -800,24 +800,24 @@ fn G(x: A) { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.HasF.impl(%T.loc10_15.2: type) { // CHECK:STDOUT: %T.loc10_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc10_15.1 (constants.%T)] -// CHECK:STDOUT: %C.loc10_27.1: type = class_type @C, @C(%T.loc10_15.1) [symbolic = %C.loc10_27.1 (constants.%C.14d)] -// CHECK:STDOUT: %HasF.impl_witness.loc10_37.2: = impl_witness %HasF.impl_witness_table, @C.as.HasF.impl(%T.loc10_15.1) [symbolic = %HasF.impl_witness.loc10_37.2 (constants.%HasF.impl_witness.62c)] +// CHECK:STDOUT: %C.loc10_27.1: type = class_type @C, @C(%T.loc10_15.1) [symbolic = %C.loc10_27.1 (constants.%C.1f9)] +// CHECK:STDOUT: %HasF.impl_witness.loc10_37.2: = impl_witness %HasF.impl_witness_table, @C.as.HasF.impl(%T.loc10_15.1) [symbolic = %HasF.impl_witness.loc10_37.2 (constants.%HasF.impl_witness.02d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.as.HasF.impl.F.type: type = fn_type @C.as.HasF.impl.F, @C.as.HasF.impl(%T.loc10_15.1) [symbolic = %C.as.HasF.impl.F.type (constants.%C.as.HasF.impl.F.type.9c6)] -// CHECK:STDOUT: %C.as.HasF.impl.F: @C.as.HasF.impl.%C.as.HasF.impl.F.type (%C.as.HasF.impl.F.type.9c6) = struct_value () [symbolic = %C.as.HasF.impl.F (constants.%C.as.HasF.impl.F.0a6)] +// CHECK:STDOUT: %C.as.HasF.impl.F.type: type = fn_type @C.as.HasF.impl.F, @C.as.HasF.impl(%T.loc10_15.1) [symbolic = %C.as.HasF.impl.F.type (constants.%C.as.HasF.impl.F.type.d51)] +// CHECK:STDOUT: %C.as.HasF.impl.F: @C.as.HasF.impl.%C.as.HasF.impl.F.type (%C.as.HasF.impl.F.type.d51) = struct_value () [symbolic = %C.as.HasF.impl.F (constants.%C.as.HasF.impl.F.4fd)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %C.loc10_27.2 as %HasF.ref { -// CHECK:STDOUT: %C.as.HasF.impl.F.decl: @C.as.HasF.impl.%C.as.HasF.impl.F.type (%C.as.HasF.impl.F.type.9c6) = fn_decl @C.as.HasF.impl.F [symbolic = @C.as.HasF.impl.%C.as.HasF.impl.F (constants.%C.as.HasF.impl.F.0a6)] { -// CHECK:STDOUT: %self.param_patt: @C.as.HasF.impl.F.%pattern_type (%pattern_type.a4d) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @C.as.HasF.impl.F.%pattern_type (%pattern_type.a4d) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %C.as.HasF.impl.F.decl: @C.as.HasF.impl.%C.as.HasF.impl.F.type (%C.as.HasF.impl.F.type.d51) = fn_decl @C.as.HasF.impl.F [symbolic = @C.as.HasF.impl.%C.as.HasF.impl.F (constants.%C.as.HasF.impl.F.4fd)] { +// CHECK:STDOUT: %self.param_patt: @C.as.HasF.impl.F.%pattern_type (%pattern_type.69e) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @C.as.HasF.impl.F.%pattern_type (%pattern_type.69e) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: @C.as.HasF.impl.F.%C (%C.14d) = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.HasF.impl.%C.loc10_27.2 [symbolic = %C (constants.%C.14d)] -// CHECK:STDOUT: %self: @C.as.HasF.impl.F.%C (%C.14d) = value_binding self, %self.param +// CHECK:STDOUT: %self.param: @C.as.HasF.impl.F.%C (%C.1f9) = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.HasF.impl.%C.loc10_27.2 [symbolic = %C (constants.%C.1f9)] +// CHECK:STDOUT: %self: @C.as.HasF.impl.F.%C (%C.1f9) = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %HasF.impl_witness_table = impl_witness_table (%C.as.HasF.impl.F.decl), @C.as.HasF.impl [concrete] -// CHECK:STDOUT: %HasF.impl_witness.loc10_37.1: = impl_witness %HasF.impl_witness_table, @C.as.HasF.impl(constants.%T) [symbolic = %HasF.impl_witness.loc10_37.2 (constants.%HasF.impl_witness.62c)] +// CHECK:STDOUT: %HasF.impl_witness.loc10_37.1: = impl_witness %HasF.impl_witness_table, @C.as.HasF.impl(constants.%T) [symbolic = %HasF.impl_witness.loc10_37.2 (constants.%HasF.impl_witness.02d)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %C.as.HasF.impl.F.decl @@ -836,38 +836,38 @@ fn G(x: A) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.14d +// CHECK:STDOUT: .Self = constants.%C.1f9 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HasF.WithSelf.F(@HasF.%Self: %HasF.type) { // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.b27)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.2da)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type)); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @C.as.HasF.impl.F(@C.as.HasF.impl.%T.loc10_15.2: type) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.14d)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %C [symbolic = %pattern_type (constants.%pattern_type.a4d)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%T) [symbolic = %C (constants.%C.1f9)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %C [symbolic = %pattern_type (constants.%pattern_type.69e)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %C [symbolic = %require_complete (constants.%require_complete)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @C.as.HasF.impl.F.%C (%C.14d)) { +// CHECK:STDOUT: fn(%self.param: @C.as.HasF.impl.F.%C (%C.1f9)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G(%x.param: %C.d02) { +// CHECK:STDOUT: fn @G(%x.param: %C.ea5) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: %C.d02 = name_ref x, %x +// CHECK:STDOUT: %x.ref: %C.ea5 = name_ref x, %x // CHECK:STDOUT: %HasF.ref: type = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.type] // CHECK:STDOUT: %F.ref: %HasF.assoc_type = name_ref F, @HasF.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.927 = impl_witness_access constants.%HasF.impl_witness.f4c, element0 [concrete = constants.%C.as.HasF.impl.F.788] +// CHECK:STDOUT: %impl.elem0: %.fc0 = impl_witness_access constants.%HasF.impl_witness.994, element0 [concrete = constants.%C.as.HasF.impl.F.880] // CHECK:STDOUT: %bound_method.loc15_4: = bound_method %x.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @C.as.HasF.impl.F(constants.%empty_struct_type) [concrete = constants.%C.as.HasF.impl.F.specific_fn] // CHECK:STDOUT: %bound_method.loc15_14: = bound_method %x.ref, %specific_fn @@ -878,14 +878,14 @@ fn G(x: A) { // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.ebe -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.5fe +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.4d3 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.8d9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.b27 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2da // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { @@ -896,31 +896,31 @@ fn G(x: A) { // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.HasF.impl(constants.%T) { // CHECK:STDOUT: %T.loc10_15.1 => constants.%T -// CHECK:STDOUT: %C.loc10_27.1 => constants.%C.14d -// CHECK:STDOUT: %HasF.impl_witness.loc10_37.2 => constants.%HasF.impl_witness.62c +// CHECK:STDOUT: %C.loc10_27.1 => constants.%C.1f9 +// CHECK:STDOUT: %HasF.impl_witness.loc10_37.2 => constants.%HasF.impl_witness.02d // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.as.HasF.impl.F.type => constants.%C.as.HasF.impl.F.type.9c6 -// CHECK:STDOUT: %C.as.HasF.impl.F => constants.%C.as.HasF.impl.F.0a6 +// CHECK:STDOUT: %C.as.HasF.impl.F.type => constants.%C.as.HasF.impl.F.type.d51 +// CHECK:STDOUT: %C.as.HasF.impl.F => constants.%C.as.HasF.impl.F.4fd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.HasF.impl.F(constants.%T) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %C => constants.%C.14d -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a4d +// CHECK:STDOUT: %C => constants.%C.1f9 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.69e // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet.81b) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet.081) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%HasF.facet.81b -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.bd3 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.8cd +// CHECK:STDOUT: %Self => constants.%HasF.facet.081 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.a83 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.917 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%HasF.facet.81b) { -// CHECK:STDOUT: %Self => constants.%HasF.facet.81b -// CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%C.14d -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a4d +// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%HasF.facet.081) { +// CHECK:STDOUT: %Self => constants.%HasF.facet.081 +// CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%C.1f9 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.69e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%empty_struct_type) { @@ -931,25 +931,25 @@ fn G(x: A) { // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.HasF.impl(constants.%empty_struct_type) { // CHECK:STDOUT: %T.loc10_15.1 => constants.%empty_struct_type -// CHECK:STDOUT: %C.loc10_27.1 => constants.%C.d02 -// CHECK:STDOUT: %HasF.impl_witness.loc10_37.2 => constants.%HasF.impl_witness.f4c +// CHECK:STDOUT: %C.loc10_27.1 => constants.%C.ea5 +// CHECK:STDOUT: %HasF.impl_witness.loc10_37.2 => constants.%HasF.impl_witness.994 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %C.as.HasF.impl.F.type => constants.%C.as.HasF.impl.F.type.e82 -// CHECK:STDOUT: %C.as.HasF.impl.F => constants.%C.as.HasF.impl.F.788 +// CHECK:STDOUT: %C.as.HasF.impl.F.type => constants.%C.as.HasF.impl.F.type.613 +// CHECK:STDOUT: %C.as.HasF.impl.F => constants.%C.as.HasF.impl.F.880 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet.7ab) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet.5ef) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%HasF.facet.7ab -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.ba5 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.ad9 +// CHECK:STDOUT: %Self => constants.%HasF.facet.5ef +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.1c2 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.7ab // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.HasF.impl.F(constants.%empty_struct_type) { // CHECK:STDOUT: %T => constants.%empty_struct_type -// CHECK:STDOUT: %C => constants.%C.d02 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e33 +// CHECK:STDOUT: %C => constants.%C.ea5 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4ac // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type @@ -962,44 +962,44 @@ fn G(x: A) { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %HasF.type.38c: type = generic_interface_type @HasF [concrete] +// CHECK:STDOUT: %HasF.type.040: type = generic_interface_type @HasF [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %HasF.generic: %HasF.type.38c = struct_value () [concrete] -// CHECK:STDOUT: %HasF.type.e32: type = facet_type <@HasF, @HasF(%T)> [symbolic] -// CHECK:STDOUT: %Self.965: %HasF.type.e32 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.965 [symbolic] -// CHECK:STDOUT: %pattern_type.1c6: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.d3a: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%T, %Self.965) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.53d: %HasF.WithSelf.F.type.d3a = struct_value () [symbolic] -// CHECK:STDOUT: %HasF.assoc_type.a6e: type = assoc_entity_type @HasF, @HasF(%T) [symbolic] -// CHECK:STDOUT: %assoc0.b35: %HasF.assoc_type.a6e = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %HasF.generic: %HasF.type.040 = struct_value () [concrete] +// CHECK:STDOUT: %HasF.type.91c: type = facet_type <@HasF, @HasF(%T)> [symbolic] +// CHECK:STDOUT: %Self.067: %HasF.type.91c = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.067 [symbolic] +// CHECK:STDOUT: %pattern_type.c8d: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.d19: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%T, %Self.067) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.b0e: %HasF.WithSelf.F.type.d19 = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.assoc_type.93b: type = assoc_entity_type @HasF, @HasF(%T) [symbolic] +// CHECK:STDOUT: %assoc0.95a: %HasF.assoc_type.93b = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %HasF.impl_witness.fe5: = impl_witness @empty_struct_type.as.HasF.impl.%HasF.impl_witness_table, @empty_struct_type.as.HasF.impl(%T) [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %HasF.type.e32 [symbolic] +// CHECK:STDOUT: %HasF.impl_witness.b64: = impl_witness @empty_struct_type.as.HasF.impl.%HasF.impl_witness_table, @empty_struct_type.as.HasF.impl(%T) [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %HasF.type.91c [symbolic] // CHECK:STDOUT: %pattern_type.a96: type = pattern_type %empty_struct_type [concrete] -// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.type.012: type = fn_type @empty_struct_type.as.HasF.impl.F, @empty_struct_type.as.HasF.impl(%T) [symbolic] -// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.80e: %empty_struct_type.as.HasF.impl.F.type.012 = struct_value () [symbolic] -// CHECK:STDOUT: %HasF.facet.059: %HasF.type.e32 = facet_value %empty_struct_type, (%HasF.impl_witness.fe5) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.577: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%T, %HasF.facet.059) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.fbd: %HasF.WithSelf.F.type.577 = struct_value () [symbolic] +// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.type.35a: type = fn_type @empty_struct_type.as.HasF.impl.F, @empty_struct_type.as.HasF.impl(%T) [symbolic] +// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.827: %empty_struct_type.as.HasF.impl.F.type.35a = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.facet.6fb: %HasF.type.91c = facet_value %empty_struct_type, (%HasF.impl_witness.b64) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.265: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%T, %HasF.facet.6fb) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.991: %HasF.WithSelf.F.type.265 = struct_value () [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %HasF.type.60f: type = facet_type <@HasF, @HasF(%empty_struct_type)> [concrete] -// CHECK:STDOUT: %Self.510: %HasF.type.60f = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.666: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%empty_struct_type, %Self.965) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.14a: %HasF.WithSelf.F.type.666 = struct_value () [symbolic] -// CHECK:STDOUT: %HasF.assoc_type.824: type = assoc_entity_type @HasF, @HasF(%empty_struct_type) [concrete] -// CHECK:STDOUT: %assoc0.101: %HasF.assoc_type.824 = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] -// CHECK:STDOUT: %HasF.impl_witness.7f7: = impl_witness @empty_struct_type.as.HasF.impl.%HasF.impl_witness_table, @empty_struct_type.as.HasF.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness %HasF.type.60f [concrete] -// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.type.31f: type = fn_type @empty_struct_type.as.HasF.impl.F, @empty_struct_type.as.HasF.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.0c2: %empty_struct_type.as.HasF.impl.F.type.31f = struct_value () [concrete] -// CHECK:STDOUT: %HasF.facet.c55: %HasF.type.60f = facet_value %empty_struct_type, (%HasF.impl_witness.7f7) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.bc9: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%empty_struct_type, %HasF.facet.c55) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.03b: %HasF.WithSelf.F.type.bc9 = struct_value () [concrete] -// CHECK:STDOUT: %.dd1: type = fn_type_with_self_type %HasF.WithSelf.F.type.bc9, %HasF.facet.c55 [concrete] -// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.specific_fn: = specific_function %empty_struct_type.as.HasF.impl.F.0c2, @empty_struct_type.as.HasF.impl.F(%empty_struct_type) [concrete] +// CHECK:STDOUT: %HasF.type.a43: type = facet_type <@HasF, @HasF(%empty_struct_type)> [concrete] +// CHECK:STDOUT: %Self.f8a: %HasF.type.a43 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.f80: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%empty_struct_type, %Self.067) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.df2: %HasF.WithSelf.F.type.f80 = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.assoc_type.5bf: type = assoc_entity_type @HasF, @HasF(%empty_struct_type) [concrete] +// CHECK:STDOUT: %assoc0.d84: %HasF.assoc_type.5bf = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %HasF.impl_witness.caa: = impl_witness @empty_struct_type.as.HasF.impl.%HasF.impl_witness_table, @empty_struct_type.as.HasF.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %complete_type: = complete_type_witness %HasF.type.a43 [concrete] +// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.type.873: type = fn_type @empty_struct_type.as.HasF.impl.F, @empty_struct_type.as.HasF.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.6be: %empty_struct_type.as.HasF.impl.F.type.873 = struct_value () [concrete] +// CHECK:STDOUT: %HasF.facet.891: %HasF.type.a43 = facet_value %empty_struct_type, (%HasF.impl_witness.caa) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.0a1: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%empty_struct_type, %HasF.facet.891) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.765: %HasF.WithSelf.F.type.0a1 = struct_value () [concrete] +// CHECK:STDOUT: %.c1c: type = fn_type_with_self_type %HasF.WithSelf.F.type.0a1, %HasF.facet.891 [concrete] +// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.specific_fn: = specific_function %empty_struct_type.as.HasF.impl.F.6be, @empty_struct_type.as.HasF.impl.F(%empty_struct_type) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1016,7 +1016,7 @@ fn G(x: A) { // CHECK:STDOUT: .G = %G.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %HasF.decl: %HasF.type.38c = interface_decl @HasF [concrete = constants.%HasF.generic] { +// CHECK:STDOUT: %HasF.decl: %HasF.type.040 = interface_decl @HasF [concrete = constants.%HasF.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_20.1: type = splice_block %.loc4_20.2 [concrete = type] { @@ -1030,9 +1030,9 @@ fn G(x: A) { // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8_25.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc8_25.2: type = converted %.loc8_25.1, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %HasF.ref: %HasF.type.38c = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.generic] +// CHECK:STDOUT: %HasF.ref: %HasF.type.040 = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc8_15.2 [symbolic = %T.loc8_15.1 (constants.%T)] -// CHECK:STDOUT: %HasF.type.loc8_36.2: type = facet_type <@HasF, @HasF(constants.%T)> [symbolic = %HasF.type.loc8_36.1 (constants.%HasF.type.e32)] +// CHECK:STDOUT: %HasF.type.loc8_36.2: type = facet_type <@HasF, @HasF(constants.%T)> [symbolic = %HasF.type.loc8_36.1 (constants.%HasF.type.91c)] // CHECK:STDOUT: %.loc8_18.1: type = splice_block %.loc8_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc8_18.2: type = type_literal type [concrete = type] @@ -1056,28 +1056,28 @@ fn G(x: A) { // CHECK:STDOUT: %T.loc4_17.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_17.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(%T.loc4_17.1)> [symbolic = %HasF.type (constants.%HasF.type.e32)] -// CHECK:STDOUT: %Self.loc4_26.2: @HasF.%HasF.type (%HasF.type.e32) = symbolic_binding Self, 1 [symbolic = %Self.loc4_26.2 (constants.%Self.965)] +// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(%T.loc4_17.1)> [symbolic = %HasF.type (constants.%HasF.type.91c)] +// CHECK:STDOUT: %Self.loc4_26.2: @HasF.%HasF.type (%HasF.type.91c) = symbolic_binding Self, 1 [symbolic = %Self.loc4_26.2 (constants.%Self.067)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_26.1: @HasF.%HasF.type (%HasF.type.e32) = symbolic_binding Self, 1 [symbolic = %Self.loc4_26.2 (constants.%Self.965)] +// CHECK:STDOUT: %Self.loc4_26.1: @HasF.%HasF.type (%HasF.type.91c) = symbolic_binding Self, 1 [symbolic = %Self.loc4_26.2 (constants.%Self.067)] // CHECK:STDOUT: %HasF.WithSelf.decl = interface_with_self_decl @HasF [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.d3a) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.53d)] { -// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.1c6) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.1c6) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.d19) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.b0e)] { +// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.c8d) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.c8d) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_14.1: type = splice_block %.loc5_14.3 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %.loc5_14.2: @HasF.WithSelf.F.%HasF.type (%HasF.type.e32) = specific_constant @HasF.%Self.loc4_26.1, @HasF(constants.%T) [symbolic = %Self (constants.%Self.965)] -// CHECK:STDOUT: %Self.ref: @HasF.WithSelf.F.%HasF.type (%HasF.type.e32) = name_ref Self, %.loc5_14.2 [symbolic = %Self (constants.%Self.965)] +// CHECK:STDOUT: %.loc5_14.2: @HasF.WithSelf.F.%HasF.type (%HasF.type.91c) = specific_constant @HasF.%Self.loc4_26.1, @HasF(constants.%T) [symbolic = %Self (constants.%Self.067)] +// CHECK:STDOUT: %Self.ref: @HasF.WithSelf.F.%HasF.type (%HasF.type.91c) = name_ref Self, %.loc5_14.2 [symbolic = %Self (constants.%Self.067)] // CHECK:STDOUT: %Self.as_type.loc5_14.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc5_14.3: type = converted %Self.ref, %Self.as_type.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: %self: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type) = value_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc5_21.1: @HasF.WithSelf.%HasF.assoc_type (%HasF.assoc_type.a6e) = assoc_entity element0, %HasF.WithSelf.F.decl [symbolic = %assoc0.loc5_21.2 (constants.%assoc0.b35)] +// CHECK:STDOUT: %assoc0.loc5_21.1: @HasF.WithSelf.%HasF.assoc_type (%HasF.assoc_type.93b) = assoc_entity element0, %HasF.WithSelf.F.decl [symbolic = %assoc0.loc5_21.2 (constants.%assoc0.95a)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc4_26.1 @@ -1090,16 +1090,16 @@ fn G(x: A) { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @empty_struct_type.as.HasF.impl(%T.loc8_15.2: type) { // CHECK:STDOUT: %T.loc8_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_15.1 (constants.%T)] -// CHECK:STDOUT: %HasF.type.loc8_36.1: type = facet_type <@HasF, @HasF(%T.loc8_15.1)> [symbolic = %HasF.type.loc8_36.1 (constants.%HasF.type.e32)] -// CHECK:STDOUT: %HasF.impl_witness.loc8_38.2: = impl_witness %HasF.impl_witness_table, @empty_struct_type.as.HasF.impl(%T.loc8_15.1) [symbolic = %HasF.impl_witness.loc8_38.2 (constants.%HasF.impl_witness.fe5)] +// CHECK:STDOUT: %HasF.type.loc8_36.1: type = facet_type <@HasF, @HasF(%T.loc8_15.1)> [symbolic = %HasF.type.loc8_36.1 (constants.%HasF.type.91c)] +// CHECK:STDOUT: %HasF.impl_witness.loc8_38.2: = impl_witness %HasF.impl_witness_table, @empty_struct_type.as.HasF.impl(%T.loc8_15.1) [symbolic = %HasF.impl_witness.loc8_38.2 (constants.%HasF.impl_witness.b64)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %HasF.type.loc8_36.1 [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.type: type = fn_type @empty_struct_type.as.HasF.impl.F, @empty_struct_type.as.HasF.impl(%T.loc8_15.1) [symbolic = %empty_struct_type.as.HasF.impl.F.type (constants.%empty_struct_type.as.HasF.impl.F.type.012)] -// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F: @empty_struct_type.as.HasF.impl.%empty_struct_type.as.HasF.impl.F.type (%empty_struct_type.as.HasF.impl.F.type.012) = struct_value () [symbolic = %empty_struct_type.as.HasF.impl.F (constants.%empty_struct_type.as.HasF.impl.F.80e)] +// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.type: type = fn_type @empty_struct_type.as.HasF.impl.F, @empty_struct_type.as.HasF.impl(%T.loc8_15.1) [symbolic = %empty_struct_type.as.HasF.impl.F.type (constants.%empty_struct_type.as.HasF.impl.F.type.35a)] +// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F: @empty_struct_type.as.HasF.impl.%empty_struct_type.as.HasF.impl.F.type (%empty_struct_type.as.HasF.impl.F.type.35a) = struct_value () [symbolic = %empty_struct_type.as.HasF.impl.F (constants.%empty_struct_type.as.HasF.impl.F.827)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %.loc8_25.2 as %HasF.type.loc8_36.2 { -// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.decl: @empty_struct_type.as.HasF.impl.%empty_struct_type.as.HasF.impl.F.type (%empty_struct_type.as.HasF.impl.F.type.012) = fn_decl @empty_struct_type.as.HasF.impl.F [symbolic = @empty_struct_type.as.HasF.impl.%empty_struct_type.as.HasF.impl.F (constants.%empty_struct_type.as.HasF.impl.F.80e)] { +// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.decl: @empty_struct_type.as.HasF.impl.%empty_struct_type.as.HasF.impl.F.type (%empty_struct_type.as.HasF.impl.F.type.35a) = fn_decl @empty_struct_type.as.HasF.impl.F [symbolic = @empty_struct_type.as.HasF.impl.%empty_struct_type.as.HasF.impl.F (constants.%empty_struct_type.as.HasF.impl.F.827)] { // CHECK:STDOUT: %self.param_patt: %pattern_type.a96 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.a96 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { @@ -1108,7 +1108,7 @@ fn G(x: A) { // CHECK:STDOUT: %self: %empty_struct_type = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %HasF.impl_witness_table = impl_witness_table (%empty_struct_type.as.HasF.impl.F.decl), @empty_struct_type.as.HasF.impl [concrete] -// CHECK:STDOUT: %HasF.impl_witness.loc8_38.1: = impl_witness %HasF.impl_witness_table, @empty_struct_type.as.HasF.impl(constants.%T) [symbolic = %HasF.impl_witness.loc8_38.2 (constants.%HasF.impl_witness.fe5)] +// CHECK:STDOUT: %HasF.impl_witness.loc8_38.1: = impl_witness %HasF.impl_witness_table, @empty_struct_type.as.HasF.impl(constants.%T) [symbolic = %HasF.impl_witness.loc8_38.2 (constants.%HasF.impl_witness.b64)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %empty_struct_type.as.HasF.impl.F.decl @@ -1117,12 +1117,12 @@ fn G(x: A) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @HasF.WithSelf.F(@HasF.%T.loc4_17.2: type, @HasF.%Self.loc4_26.1: @HasF.%HasF.type (%HasF.type.e32)) { +// CHECK:STDOUT: generic fn @HasF.WithSelf.F(@HasF.%T.loc4_17.2: type, @HasF.%Self.loc4_26.1: @HasF.%HasF.type (%HasF.type.91c)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(%T)> [symbolic = %HasF.type (constants.%HasF.type.e32)] -// CHECK:STDOUT: %Self: @HasF.WithSelf.F.%HasF.type (%HasF.type.e32) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.965)] +// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(%T)> [symbolic = %HasF.type (constants.%HasF.type.91c)] +// CHECK:STDOUT: %Self: @HasF.WithSelf.F.%HasF.type (%HasF.type.91c) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.067)] // CHECK:STDOUT: %Self.as_type.loc5_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.1c6)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.c8d)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -1139,13 +1139,13 @@ fn G(x: A) { // CHECK:STDOUT: fn @G(%x.param: %empty_struct_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: %empty_struct_type = name_ref x, %x -// CHECK:STDOUT: %HasF.ref: %HasF.type.38c = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.generic] +// CHECK:STDOUT: %HasF.ref: %HasF.type.040 = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.generic] // CHECK:STDOUT: %.loc13_12: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc13_13: type = converted %.loc13_12, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(constants.%empty_struct_type)> [concrete = constants.%HasF.type.60f] -// CHECK:STDOUT: %.loc13_14: %HasF.assoc_type.824 = specific_constant @HasF.WithSelf.%assoc0.loc5_21.1, @HasF.WithSelf(constants.%empty_struct_type, constants.%Self.965) [concrete = constants.%assoc0.101] -// CHECK:STDOUT: %F.ref: %HasF.assoc_type.824 = name_ref F, %.loc13_14 [concrete = constants.%assoc0.101] -// CHECK:STDOUT: %impl.elem0: %.dd1 = impl_witness_access constants.%HasF.impl_witness.7f7, element0 [concrete = constants.%empty_struct_type.as.HasF.impl.F.0c2] +// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(constants.%empty_struct_type)> [concrete = constants.%HasF.type.a43] +// CHECK:STDOUT: %.loc13_14: %HasF.assoc_type.5bf = specific_constant @HasF.WithSelf.%assoc0.loc5_21.1, @HasF.WithSelf(constants.%empty_struct_type, constants.%Self.067) [concrete = constants.%assoc0.d84] +// CHECK:STDOUT: %F.ref: %HasF.assoc_type.5bf = name_ref F, %.loc13_14 [concrete = constants.%assoc0.d84] +// CHECK:STDOUT: %impl.elem0: %.c1c = impl_witness_access constants.%HasF.impl_witness.caa, element0 [concrete = constants.%empty_struct_type.as.HasF.impl.F.6be] // CHECK:STDOUT: %bound_method.loc13_4: = bound_method %x.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @empty_struct_type.as.HasF.impl.F(constants.%empty_struct_type) [concrete = constants.%empty_struct_type.as.HasF.impl.F.specific_fn] // CHECK:STDOUT: %bound_method.loc13_18: = bound_method %x.ref, %specific_fn @@ -1157,57 +1157,57 @@ fn G(x: A) { // CHECK:STDOUT: %T.loc4_17.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.e32 -// CHECK:STDOUT: %Self.loc4_26.2 => constants.%Self.965 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.91c +// CHECK:STDOUT: %Self.loc4_26.2 => constants.%Self.067 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%T, constants.%Self.965) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%T, constants.%Self.067) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.e32 -// CHECK:STDOUT: %Self => constants.%Self.965 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.d3a -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.53d -// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.a6e -// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.b35 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.91c +// CHECK:STDOUT: %Self => constants.%Self.067 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.d19 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.b0e +// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.93b +// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.95a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%T, constants.%Self.965) { +// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%T, constants.%Self.067) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.e32 -// CHECK:STDOUT: %Self => constants.%Self.965 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.91c +// CHECK:STDOUT: %Self => constants.%Self.067 // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.1c6 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c8d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @empty_struct_type.as.HasF.impl(constants.%T) { // CHECK:STDOUT: %T.loc8_15.1 => constants.%T -// CHECK:STDOUT: %HasF.type.loc8_36.1 => constants.%HasF.type.e32 -// CHECK:STDOUT: %HasF.impl_witness.loc8_38.2 => constants.%HasF.impl_witness.fe5 +// CHECK:STDOUT: %HasF.type.loc8_36.1 => constants.%HasF.type.91c +// CHECK:STDOUT: %HasF.impl_witness.loc8_38.2 => constants.%HasF.impl_witness.b64 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete -// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.type => constants.%empty_struct_type.as.HasF.impl.F.type.012 -// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F => constants.%empty_struct_type.as.HasF.impl.F.80e +// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.type => constants.%empty_struct_type.as.HasF.impl.F.type.35a +// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F => constants.%empty_struct_type.as.HasF.impl.F.827 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @empty_struct_type.as.HasF.impl.F(constants.%T) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%T, constants.%HasF.facet.059) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%T, constants.%HasF.facet.6fb) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.e32 -// CHECK:STDOUT: %Self => constants.%HasF.facet.059 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.577 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.fbd -// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.a6e -// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.b35 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.91c +// CHECK:STDOUT: %Self => constants.%HasF.facet.6fb +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.265 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.991 +// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.93b +// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.95a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%T, constants.%HasF.facet.059) { +// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%T, constants.%HasF.facet.6fb) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.e32 -// CHECK:STDOUT: %Self => constants.%HasF.facet.059 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.91c +// CHECK:STDOUT: %Self => constants.%HasF.facet.6fb // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%empty_struct_type // CHECK:STDOUT: %pattern_type => constants.%pattern_type.a96 // CHECK:STDOUT: } @@ -1216,41 +1216,41 @@ fn G(x: A) { // CHECK:STDOUT: %T.loc4_17.1 => constants.%empty_struct_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.60f -// CHECK:STDOUT: %Self.loc4_26.2 => constants.%Self.510 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.a43 +// CHECK:STDOUT: %Self.loc4_26.2 => constants.%Self.f8a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%empty_struct_type, constants.%Self.965) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%empty_struct_type, constants.%Self.067) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%empty_struct_type -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.60f -// CHECK:STDOUT: %Self => constants.%Self.965 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.666 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.14a -// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.824 -// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.101 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.a43 +// CHECK:STDOUT: %Self => constants.%Self.067 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.f80 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.df2 +// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.5bf +// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.d84 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @empty_struct_type.as.HasF.impl(constants.%empty_struct_type) { // CHECK:STDOUT: %T.loc8_15.1 => constants.%empty_struct_type -// CHECK:STDOUT: %HasF.type.loc8_36.1 => constants.%HasF.type.60f -// CHECK:STDOUT: %HasF.impl_witness.loc8_38.2 => constants.%HasF.impl_witness.7f7 +// CHECK:STDOUT: %HasF.type.loc8_36.1 => constants.%HasF.type.a43 +// CHECK:STDOUT: %HasF.impl_witness.loc8_38.2 => constants.%HasF.impl_witness.caa // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type -// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.type => constants.%empty_struct_type.as.HasF.impl.F.type.31f -// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F => constants.%empty_struct_type.as.HasF.impl.F.0c2 +// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F.type => constants.%empty_struct_type.as.HasF.impl.F.type.873 +// CHECK:STDOUT: %empty_struct_type.as.HasF.impl.F => constants.%empty_struct_type.as.HasF.impl.F.6be // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%empty_struct_type, constants.%HasF.facet.c55) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%empty_struct_type, constants.%HasF.facet.891) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%empty_struct_type -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.60f -// CHECK:STDOUT: %Self => constants.%HasF.facet.c55 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.bc9 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.03b -// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.824 -// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.101 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.a43 +// CHECK:STDOUT: %Self => constants.%HasF.facet.891 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.0a1 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.765 +// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.5bf +// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.d84 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @empty_struct_type.as.HasF.impl.F(constants.%empty_struct_type) { @@ -1263,7 +1263,7 @@ fn G(x: A) { // CHECK:STDOUT: %HasF.type: type = facet_type <@HasF> [concrete] // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.171: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.2da: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %HasF.WithSelf.F.type: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %HasF.WithSelf.F: %HasF.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %HasF.assoc_type: type = assoc_entity_type @HasF [concrete] @@ -1336,8 +1336,8 @@ fn G(x: A) { // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F)] { -// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.171) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.171) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.2da) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.2da) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_14.1: type = splice_block %.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] { @@ -1388,7 +1388,7 @@ fn G(x: A) { // CHECK:STDOUT: generic fn @HasF.WithSelf.F(@HasF.%Self: %HasF.type) { // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.171)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.2da)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -1424,7 +1424,7 @@ fn G(x: A) { // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.171 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2da // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @T.as.HasF.impl(constants.%T, constants.%U) { @@ -1449,38 +1449,38 @@ fn G(x: A) { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %HasF.type.993: type = generic_interface_type @HasF [concrete] -// CHECK:STDOUT: %HasF.generic: %HasF.type.993 = struct_value () [concrete] -// CHECK:STDOUT: %HasF.type.250: type = facet_type <@HasF, @HasF(%T)> [symbolic] -// CHECK:STDOUT: %Self.548: %HasF.type.250 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.548 [symbolic] -// CHECK:STDOUT: %pattern_type.338: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.645: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%T, %Self.548) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.b30: %HasF.WithSelf.F.type.645 = struct_value () [symbolic] -// CHECK:STDOUT: %HasF.assoc_type.e56: type = assoc_entity_type @HasF, @HasF(%T) [symbolic] -// CHECK:STDOUT: %assoc0.3cd: %HasF.assoc_type.e56 = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %HasF.type.040: type = generic_interface_type @HasF [concrete] +// CHECK:STDOUT: %HasF.generic: %HasF.type.040 = struct_value () [concrete] +// CHECK:STDOUT: %HasF.type.91c: type = facet_type <@HasF, @HasF(%T)> [symbolic] +// CHECK:STDOUT: %Self.067: %HasF.type.91c = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.067 [symbolic] +// CHECK:STDOUT: %pattern_type.c8d: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.d19: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%T, %Self.067) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.b0e: %HasF.WithSelf.F.type.d19 = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.assoc_type.93b: type = assoc_entity_type @HasF, @HasF(%T) [symbolic] +// CHECK:STDOUT: %assoc0.95a: %HasF.assoc_type.93b = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %HasF.impl_witness: = impl_witness @T.as.HasF.impl.%HasF.impl_witness_table, @T.as.HasF.impl(%T) [symbolic] -// CHECK:STDOUT: %require_complete.54c: = require_complete_type %HasF.type.250 [symbolic] +// CHECK:STDOUT: %require_complete.b6b: = require_complete_type %HasF.type.91c [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] // CHECK:STDOUT: %T.as.HasF.impl.F.type: type = fn_type @T.as.HasF.impl.F, @T.as.HasF.impl(%T) [symbolic] // CHECK:STDOUT: %T.as.HasF.impl.F: %T.as.HasF.impl.F.type = struct_value () [symbolic] -// CHECK:STDOUT: %HasF.facet: %HasF.type.250 = facet_value %T, (%HasF.impl_witness) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.d4a: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%T, %HasF.facet) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.78b: %HasF.WithSelf.F.type.d4a = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.facet: %HasF.type.91c = facet_value %T, (%HasF.impl_witness) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.b46: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%T, %HasF.facet) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.56a: %HasF.WithSelf.F.type.b46 = struct_value () [symbolic] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] // CHECK:STDOUT: %A: type = class_type @A [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] -// CHECK:STDOUT: %pattern_type.e0a: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.ccb: type = pattern_type %A [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %HasF.type.b83: type = facet_type <@HasF, @HasF(%B)> [concrete] -// CHECK:STDOUT: %Self.fc2: %HasF.type.b83 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.3c1: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%B, %Self.548) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.b80: %HasF.WithSelf.F.type.3c1 = struct_value () [symbolic] -// CHECK:STDOUT: %HasF.assoc_type.a81: type = assoc_entity_type @HasF, @HasF(%B) [concrete] -// CHECK:STDOUT: %assoc0.314: %HasF.assoc_type.a81 = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %HasF.type.90e: type = facet_type <@HasF, @HasF(%B)> [concrete] +// CHECK:STDOUT: %Self.baa: %HasF.type.90e = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.534: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%B, %Self.067) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.f7e: %HasF.WithSelf.F.type.534 = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.assoc_type.e5f: type = assoc_entity_type @HasF, @HasF(%B) [concrete] +// CHECK:STDOUT: %assoc0.4f9: %HasF.assoc_type.e5f = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1499,7 +1499,7 @@ fn G(x: A) { // CHECK:STDOUT: .G = %G.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %HasF.decl: %HasF.type.993 = interface_decl @HasF [concrete = constants.%HasF.generic] { +// CHECK:STDOUT: %HasF.decl: %HasF.type.040 = interface_decl @HasF [concrete = constants.%HasF.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_20.1: type = splice_block %.loc4_20.2 [concrete = type] { @@ -1512,9 +1512,9 @@ fn G(x: A) { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref.loc8_24: type = name_ref T, %T.loc8_15.2 [symbolic = %T.loc8_15.1 (constants.%T)] -// CHECK:STDOUT: %HasF.ref: %HasF.type.993 = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.generic] +// CHECK:STDOUT: %HasF.ref: %HasF.type.040 = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.generic] // CHECK:STDOUT: %T.ref.loc8_34: type = name_ref T, %T.loc8_15.2 [symbolic = %T.loc8_15.1 (constants.%T)] -// CHECK:STDOUT: %HasF.type.loc8_35.2: type = facet_type <@HasF, @HasF(constants.%T)> [symbolic = %HasF.type.loc8_35.1 (constants.%HasF.type.250)] +// CHECK:STDOUT: %HasF.type.loc8_35.2: type = facet_type <@HasF, @HasF(constants.%T)> [symbolic = %HasF.type.loc8_35.1 (constants.%HasF.type.91c)] // CHECK:STDOUT: %.loc8_18.1: type = splice_block %.loc8_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc8_18.2: type = type_literal type [concrete = type] @@ -1524,8 +1524,8 @@ fn G(x: A) { // CHECK:STDOUT: %A.decl: type = class_decl @A [concrete = constants.%A] {} {} // CHECK:STDOUT: %B.decl: type = class_decl @B [concrete = constants.%B] {} {} // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.e0a = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.e0a = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.ccb = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.ccb = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %x.param: %A = value_param call_param0 // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] @@ -1537,28 +1537,28 @@ fn G(x: A) { // CHECK:STDOUT: %T.loc4_17.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_17.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(%T.loc4_17.1)> [symbolic = %HasF.type (constants.%HasF.type.250)] -// CHECK:STDOUT: %Self.loc4_26.2: @HasF.%HasF.type (%HasF.type.250) = symbolic_binding Self, 1 [symbolic = %Self.loc4_26.2 (constants.%Self.548)] +// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(%T.loc4_17.1)> [symbolic = %HasF.type (constants.%HasF.type.91c)] +// CHECK:STDOUT: %Self.loc4_26.2: @HasF.%HasF.type (%HasF.type.91c) = symbolic_binding Self, 1 [symbolic = %Self.loc4_26.2 (constants.%Self.067)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_26.1: @HasF.%HasF.type (%HasF.type.250) = symbolic_binding Self, 1 [symbolic = %Self.loc4_26.2 (constants.%Self.548)] +// CHECK:STDOUT: %Self.loc4_26.1: @HasF.%HasF.type (%HasF.type.91c) = symbolic_binding Self, 1 [symbolic = %Self.loc4_26.2 (constants.%Self.067)] // CHECK:STDOUT: %HasF.WithSelf.decl = interface_with_self_decl @HasF [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.645) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.b30)] { -// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.338) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.338) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.d19) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.b0e)] { +// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.c8d) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.c8d) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_14.1: type = splice_block %.loc5_14.3 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %.loc5_14.2: @HasF.WithSelf.F.%HasF.type (%HasF.type.250) = specific_constant @HasF.%Self.loc4_26.1, @HasF(constants.%T) [symbolic = %Self (constants.%Self.548)] -// CHECK:STDOUT: %Self.ref: @HasF.WithSelf.F.%HasF.type (%HasF.type.250) = name_ref Self, %.loc5_14.2 [symbolic = %Self (constants.%Self.548)] +// CHECK:STDOUT: %.loc5_14.2: @HasF.WithSelf.F.%HasF.type (%HasF.type.91c) = specific_constant @HasF.%Self.loc4_26.1, @HasF(constants.%T) [symbolic = %Self (constants.%Self.067)] +// CHECK:STDOUT: %Self.ref: @HasF.WithSelf.F.%HasF.type (%HasF.type.91c) = name_ref Self, %.loc5_14.2 [symbolic = %Self (constants.%Self.067)] // CHECK:STDOUT: %Self.as_type.loc5_14.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc5_14.3: type = converted %Self.ref, %Self.as_type.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: %self: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type) = value_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc5_21.1: @HasF.WithSelf.%HasF.assoc_type (%HasF.assoc_type.e56) = assoc_entity element0, %HasF.WithSelf.F.decl [symbolic = %assoc0.loc5_21.2 (constants.%assoc0.3cd)] +// CHECK:STDOUT: %assoc0.loc5_21.1: @HasF.WithSelf.%HasF.assoc_type (%HasF.assoc_type.93b) = assoc_entity element0, %HasF.WithSelf.F.decl [symbolic = %assoc0.loc5_21.2 (constants.%assoc0.95a)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc4_26.1 @@ -1571,11 +1571,11 @@ fn G(x: A) { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as.HasF.impl(%T.loc8_15.2: type) { // CHECK:STDOUT: %T.loc8_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_15.1 (constants.%T)] -// CHECK:STDOUT: %HasF.type.loc8_35.1: type = facet_type <@HasF, @HasF(%T.loc8_15.1)> [symbolic = %HasF.type.loc8_35.1 (constants.%HasF.type.250)] +// CHECK:STDOUT: %HasF.type.loc8_35.1: type = facet_type <@HasF, @HasF(%T.loc8_15.1)> [symbolic = %HasF.type.loc8_35.1 (constants.%HasF.type.91c)] // CHECK:STDOUT: %HasF.impl_witness.loc8_37.2: = impl_witness %HasF.impl_witness_table, @T.as.HasF.impl(%T.loc8_15.1) [symbolic = %HasF.impl_witness.loc8_37.2 (constants.%HasF.impl_witness)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %HasF.type.loc8_35.1 [symbolic = %require_complete (constants.%require_complete.54c)] +// CHECK:STDOUT: %require_complete: = require_complete_type %HasF.type.loc8_35.1 [symbolic = %require_complete (constants.%require_complete.b6b)] // CHECK:STDOUT: %T.as.HasF.impl.F.type: type = fn_type @T.as.HasF.impl.F, @T.as.HasF.impl(%T.loc8_15.1) [symbolic = %T.as.HasF.impl.F.type (constants.%T.as.HasF.impl.F.type)] // CHECK:STDOUT: %T.as.HasF.impl.F: @T.as.HasF.impl.%T.as.HasF.impl.F.type (%T.as.HasF.impl.F.type) = struct_value () [symbolic = %T.as.HasF.impl.F (constants.%T.as.HasF.impl.F)] // CHECK:STDOUT: @@ -1614,12 +1614,12 @@ fn G(x: A) { // CHECK:STDOUT: .Self = constants.%B // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @HasF.WithSelf.F(@HasF.%T.loc4_17.2: type, @HasF.%Self.loc4_26.1: @HasF.%HasF.type (%HasF.type.250)) { +// CHECK:STDOUT: generic fn @HasF.WithSelf.F(@HasF.%T.loc4_17.2: type, @HasF.%Self.loc4_26.1: @HasF.%HasF.type (%HasF.type.91c)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(%T)> [symbolic = %HasF.type (constants.%HasF.type.250)] -// CHECK:STDOUT: %Self: @HasF.WithSelf.F.%HasF.type (%HasF.type.250) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.548)] +// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(%T)> [symbolic = %HasF.type (constants.%HasF.type.91c)] +// CHECK:STDOUT: %Self: @HasF.WithSelf.F.%HasF.type (%HasF.type.91c) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.067)] // CHECK:STDOUT: %Self.as_type.loc5_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.338)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.c8d)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -1640,11 +1640,11 @@ fn G(x: A) { // CHECK:STDOUT: fn @G(%x.param: %A) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: %A = name_ref x, %x -// CHECK:STDOUT: %HasF.ref: %HasF.type.993 = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.generic] +// CHECK:STDOUT: %HasF.ref: %HasF.type.040 = name_ref HasF, file.%HasF.decl [concrete = constants.%HasF.generic] // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(constants.%B)> [concrete = constants.%HasF.type.b83] -// CHECK:STDOUT: %.loc22: %HasF.assoc_type.a81 = specific_constant @HasF.WithSelf.%assoc0.loc5_21.1, @HasF.WithSelf(constants.%B, constants.%Self.548) [concrete = constants.%assoc0.314] -// CHECK:STDOUT: %F.ref: %HasF.assoc_type.a81 = name_ref F, %.loc22 [concrete = constants.%assoc0.314] +// CHECK:STDOUT: %HasF.type: type = facet_type <@HasF, @HasF(constants.%B)> [concrete = constants.%HasF.type.90e] +// CHECK:STDOUT: %.loc22: %HasF.assoc_type.e5f = specific_constant @HasF.WithSelf.%assoc0.loc5_21.1, @HasF.WithSelf(constants.%B, constants.%Self.067) [concrete = constants.%assoc0.4f9] +// CHECK:STDOUT: %F.ref: %HasF.assoc_type.e5f = name_ref F, %.loc22 [concrete = constants.%assoc0.4f9] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1652,36 +1652,36 @@ fn G(x: A) { // CHECK:STDOUT: %T.loc4_17.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.250 -// CHECK:STDOUT: %Self.loc4_26.2 => constants.%Self.548 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.91c +// CHECK:STDOUT: %Self.loc4_26.2 => constants.%Self.067 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%T, constants.%Self.548) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%T, constants.%Self.067) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.250 -// CHECK:STDOUT: %Self => constants.%Self.548 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.645 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.b30 -// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.e56 -// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.3cd +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.91c +// CHECK:STDOUT: %Self => constants.%Self.067 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.d19 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.b0e +// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.93b +// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.95a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%T, constants.%Self.548) { +// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%T, constants.%Self.067) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.250 -// CHECK:STDOUT: %Self => constants.%Self.548 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.91c +// CHECK:STDOUT: %Self => constants.%Self.067 // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.338 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c8d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @T.as.HasF.impl(constants.%T) { // CHECK:STDOUT: %T.loc8_15.1 => constants.%T -// CHECK:STDOUT: %HasF.type.loc8_35.1 => constants.%HasF.type.250 +// CHECK:STDOUT: %HasF.type.loc8_35.1 => constants.%HasF.type.91c // CHECK:STDOUT: %HasF.impl_witness.loc8_37.2 => constants.%HasF.impl_witness // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.54c +// CHECK:STDOUT: %require_complete => constants.%require_complete.b6b // CHECK:STDOUT: %T.as.HasF.impl.F.type => constants.%T.as.HasF.impl.F.type // CHECK:STDOUT: %T.as.HasF.impl.F => constants.%T.as.HasF.impl.F // CHECK:STDOUT: } @@ -1694,17 +1694,17 @@ fn G(x: A) { // CHECK:STDOUT: specific @HasF.WithSelf(constants.%T, constants.%HasF.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.250 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.91c // CHECK:STDOUT: %Self => constants.%HasF.facet -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.d4a -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.78b -// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.e56 -// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.3cd +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.b46 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.56a +// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.93b +// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.95a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%T, constants.%HasF.facet) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.250 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.91c // CHECK:STDOUT: %Self => constants.%HasF.facet // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%T // CHECK:STDOUT: %pattern_type => constants.%pattern_type.51d @@ -1714,18 +1714,18 @@ fn G(x: A) { // CHECK:STDOUT: %T.loc4_17.1 => constants.%B // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.b83 -// CHECK:STDOUT: %Self.loc4_26.2 => constants.%Self.fc2 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.90e +// CHECK:STDOUT: %Self.loc4_26.2 => constants.%Self.baa // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%B, constants.%Self.548) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%B, constants.%Self.067) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%B -// CHECK:STDOUT: %HasF.type => constants.%HasF.type.b83 -// CHECK:STDOUT: %Self => constants.%Self.548 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.3c1 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.b80 -// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.a81 -// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.314 +// CHECK:STDOUT: %HasF.type => constants.%HasF.type.90e +// CHECK:STDOUT: %Self => constants.%Self.067 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.534 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.f7e +// CHECK:STDOUT: %HasF.assoc_type => constants.%HasF.assoc_type.e5f +// CHECK:STDOUT: %assoc0.loc5_21.2 => constants.%assoc0.4f9 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/lookup/impl_forall.carbon b/toolchain/check/testdata/impl/lookup/impl_forall.carbon index ea3b8c038599..6c02c6aeb2e8 100644 --- a/toolchain/check/testdata/impl/lookup/impl_forall.carbon +++ b/toolchain/check/testdata/impl/lookup/impl_forall.carbon @@ -51,91 +51,91 @@ fn TestSpecific(a: A({})*) -> {}* { // CHECK:STDOUT: %A.type: type = generic_class_type @A [concrete] // CHECK:STDOUT: %A.generic: %A.type = struct_value () [concrete] // CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %I.type.83e: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.83e = struct_value () [concrete] -// CHECK:STDOUT: %I.type.a295b1.1: type = facet_type <@I, @I(%U.67d)> [symbolic] -// CHECK:STDOUT: %Self.7b716a.1: %I.type.a295b1.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50feb0.1: type = facet_type <@I, @I(%U.67d)> [symbolic] +// CHECK:STDOUT: %Self.6263de.1: %I.type.50feb0.1 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %V.67d: type = symbolic_binding V, 0 [symbolic] -// CHECK:STDOUT: %A.5b9572.2: type = class_type @A, @A(%V.67d) [symbolic] -// CHECK:STDOUT: %I.type.a295b1.2: type = facet_type <@I, @I(%V.67d)> [symbolic] -// CHECK:STDOUT: %I.impl_witness.ec266c.1: = impl_witness @A.as.I.impl.%I.impl_witness_table, @A.as.I.impl(%V.67d) [symbolic] -// CHECK:STDOUT: %require_complete.dd8881.1: = require_complete_type %I.type.a295b1.2 [symbolic] -// CHECK:STDOUT: %pattern_type.9ba03a.1: type = pattern_type %A.5b9572.2 [symbolic] +// CHECK:STDOUT: %A.6eda0e.2: type = class_type @A, @A(%V.67d) [symbolic] +// CHECK:STDOUT: %I.type.50feb0.2: type = facet_type <@I, @I(%V.67d)> [symbolic] +// CHECK:STDOUT: %I.impl_witness.580224.1: = impl_witness @A.as.I.impl.%I.impl_witness_table, @A.as.I.impl(%V.67d) [symbolic] +// CHECK:STDOUT: %require_complete.df9dcc.1: = require_complete_type %I.type.50feb0.2 [symbolic] +// CHECK:STDOUT: %pattern_type.2e18a7.1: type = pattern_type %A.6eda0e.2 [symbolic] // CHECK:STDOUT: %ptr.e8f8f9.2: type = ptr_type %V.67d [symbolic] // CHECK:STDOUT: %.cb6cb9.2: Core.Form = init_form %ptr.e8f8f9.2 [symbolic] // CHECK:STDOUT: %pattern_type.4f4b84.2: type = pattern_type %ptr.e8f8f9.2 [symbolic] -// CHECK:STDOUT: %A.as.I.impl.F.type.70d16a.1: type = fn_type @A.as.I.impl.F, @A.as.I.impl(%V.67d) [symbolic] -// CHECK:STDOUT: %A.as.I.impl.F.e9c339.1: %A.as.I.impl.F.type.70d16a.1 = struct_value () [symbolic] -// CHECK:STDOUT: %A.elem.fa4e28.2: type = unbound_element_type %A.5b9572.2, %V.67d [symbolic] -// CHECK:STDOUT: %require_complete.1db: = require_complete_type %A.5b9572.2 [symbolic] +// CHECK:STDOUT: %A.as.I.impl.F.type.f4acbf.1: type = fn_type @A.as.I.impl.F, @A.as.I.impl(%V.67d) [symbolic] +// CHECK:STDOUT: %A.as.I.impl.F.91160c.1: %A.as.I.impl.F.type.f4acbf.1 = struct_value () [symbolic] +// CHECK:STDOUT: %A.elem.e8eca3.2: type = unbound_element_type %A.6eda0e.2, %V.67d [symbolic] +// CHECK:STDOUT: %require_complete.4ad: = require_complete_type %A.6eda0e.2 [symbolic] // CHECK:STDOUT: %require_complete.ef162c.1: = require_complete_type %ptr.e8f8f9.2 [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03c11.1: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed28d.1: %ptr.as.Copy.impl.Op.type.b03c11.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.5be: = lookup_impl_witness %ptr.e8f8f9.2, @Copy [symbolic] -// CHECK:STDOUT: %.546: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%V.67d) [symbolic] -// CHECK:STDOUT: %Copy.facet.2a3: %Copy.type = facet_value %ptr.e8f8f9.2, (%Copy.lookup_impl_witness.5be) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a8e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.2a3) [symbolic] -// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a8e, %Copy.facet.2a3 [symbolic] -// CHECK:STDOUT: %impl.elem0.480: %.86b = impl_witness_access %Copy.lookup_impl_witness.5be, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d1f: = specific_impl_function %impl.elem0.480, @Copy.WithSelf.Op(%Copy.facet.2a3) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa424f.1: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1c66.1: %ptr.as.Copy.impl.Op.type.aa424f.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2bf: = lookup_impl_witness %ptr.e8f8f9.2, @Copy [symbolic] +// CHECK:STDOUT: %.b6a: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%V.67d) [symbolic] +// CHECK:STDOUT: %Copy.facet.44d: %Copy.type = facet_value %ptr.e8f8f9.2, (%Copy.lookup_impl_witness.2bf) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.72b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.44d) [symbolic] +// CHECK:STDOUT: %.39b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72b, %Copy.facet.44d [symbolic] +// CHECK:STDOUT: %impl.elem0.8a3: %.39b = impl_witness_access %Copy.lookup_impl_witness.2bf, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a13: = specific_impl_function %impl.elem0.8a3, @Copy.WithSelf.Op(%Copy.facet.44d) [symbolic] // CHECK:STDOUT: %W: type = symbolic_binding W, 0 [symbolic] -// CHECK:STDOUT: %A.5b9572.3: type = class_type @A, @A(%W) [symbolic] -// CHECK:STDOUT: %ptr.292: type = ptr_type %A.5b9572.3 [symbolic] -// CHECK:STDOUT: %pattern_type.84f: type = pattern_type %ptr.292 [symbolic] +// CHECK:STDOUT: %A.6eda0e.3: type = class_type @A, @A(%W) [symbolic] +// CHECK:STDOUT: %ptr.670: type = ptr_type %A.6eda0e.3 [symbolic] +// CHECK:STDOUT: %pattern_type.aa5: type = pattern_type %ptr.670 [symbolic] // CHECK:STDOUT: %ptr.e8f8f9.4: type = ptr_type %W [symbolic] // CHECK:STDOUT: %.cb6cb9.4: Core.Form = init_form %ptr.e8f8f9.4 [symbolic] // CHECK:STDOUT: %pattern_type.4f4b84.4: type = pattern_type %ptr.e8f8f9.4 [symbolic] -// CHECK:STDOUT: %I.type.a295b1.3: type = facet_type <@I, @I(%W)> [symbolic] -// CHECK:STDOUT: %I.assoc_type.297ef0.3: type = assoc_entity_type @I, @I(%W) [symbolic] -// CHECK:STDOUT: %assoc0.045191.3: %I.assoc_type.297ef0.3 = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [symbolic] -// CHECK:STDOUT: %require_complete.dd8881.2: = require_complete_type %I.type.a295b1.3 [symbolic] -// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %A.5b9572.3, @I, @I(%W) [symbolic] -// CHECK:STDOUT: %I.impl_witness.ec266c.2: = impl_witness @A.as.I.impl.%I.impl_witness_table, @A.as.I.impl(%W) [symbolic] -// CHECK:STDOUT: %A.as.I.impl.F.type.70d16a.2: type = fn_type @A.as.I.impl.F, @A.as.I.impl(%W) [symbolic] -// CHECK:STDOUT: %A.as.I.impl.F.e9c339.2: %A.as.I.impl.F.type.70d16a.2 = struct_value () [symbolic] -// CHECK:STDOUT: %.e42: require_specific_def_type = require_specific_def @A.as.I.impl(%W) [symbolic] -// CHECK:STDOUT: %I.facet.c3d: %I.type.a295b1.3 = facet_value %A.5b9572.3, (%I.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.805: type = fn_type @I.WithSelf.F, @I.WithSelf(%W, %I.facet.c3d) [symbolic] -// CHECK:STDOUT: %.53e: type = fn_type_with_self_type %I.WithSelf.F.type.805, %I.facet.c3d [symbolic] -// CHECK:STDOUT: %impl.elem0.332: %.53e = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.067: = specific_impl_function %impl.elem0.332, @I.WithSelf.F(%W, %I.facet.c3d) [symbolic] +// CHECK:STDOUT: %I.type.50feb0.3: type = facet_type <@I, @I(%W)> [symbolic] +// CHECK:STDOUT: %I.assoc_type.bd7023.3: type = assoc_entity_type @I, @I(%W) [symbolic] +// CHECK:STDOUT: %assoc0.631ba7.3: %I.assoc_type.bd7023.3 = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %require_complete.df9dcc.2: = require_complete_type %I.type.50feb0.3 [symbolic] +// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %A.6eda0e.3, @I, @I(%W) [symbolic] +// CHECK:STDOUT: %I.impl_witness.580224.2: = impl_witness @A.as.I.impl.%I.impl_witness_table, @A.as.I.impl(%W) [symbolic] +// CHECK:STDOUT: %A.as.I.impl.F.type.f4acbf.2: type = fn_type @A.as.I.impl.F, @A.as.I.impl(%W) [symbolic] +// CHECK:STDOUT: %A.as.I.impl.F.91160c.2: %A.as.I.impl.F.type.f4acbf.2 = struct_value () [symbolic] +// CHECK:STDOUT: %.f9e: require_specific_def_type = require_specific_def @A.as.I.impl(%W) [symbolic] +// CHECK:STDOUT: %I.facet.42f: %I.type.50feb0.3 = facet_value %A.6eda0e.3, (%I.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.125: type = fn_type @I.WithSelf.F, @I.WithSelf(%W, %I.facet.42f) [symbolic] +// CHECK:STDOUT: %.00e: type = fn_type_with_self_type %I.WithSelf.F.type.125, %I.facet.42f [symbolic] +// CHECK:STDOUT: %impl.elem0.ac1: %.00e = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.4e2: = specific_impl_function %impl.elem0.ac1, @I.WithSelf.F(%W, %I.facet.42f) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %A.96e: type = class_type @A, @A(%empty_struct_type) [concrete] -// CHECK:STDOUT: %ptr.43a: type = ptr_type %A.96e [concrete] +// CHECK:STDOUT: %A.966: type = class_type @A, @A(%empty_struct_type) [concrete] +// CHECK:STDOUT: %ptr.f6a: type = ptr_type %A.966 [concrete] // CHECK:STDOUT: %ptr.c28: type = ptr_type %empty_struct_type [concrete] // CHECK:STDOUT: %.9ba: Core.Form = init_form %ptr.c28 [concrete] // CHECK:STDOUT: %pattern_type.1cc: type = pattern_type %ptr.c28 [concrete] -// CHECK:STDOUT: %I.type.927: type = facet_type <@I, @I(%empty_struct_type)> [concrete] -// CHECK:STDOUT: %I.assoc_type.db8: type = assoc_entity_type @I, @I(%empty_struct_type) [concrete] -// CHECK:STDOUT: %assoc0.901: %I.assoc_type.db8 = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] -// CHECK:STDOUT: %I.impl_witness.b02: = impl_witness @A.as.I.impl.%I.impl_witness_table, @A.as.I.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %complete_type.df8: = complete_type_witness %I.type.927 [concrete] -// CHECK:STDOUT: %A.as.I.impl.F.type.3d4: type = fn_type @A.as.I.impl.F, @A.as.I.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %A.as.I.impl.F.a9a: %A.as.I.impl.F.type.3d4 = struct_value () [concrete] -// CHECK:STDOUT: %I.facet.be3: %I.type.927 = facet_value %A.96e, (%I.impl_witness.b02) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.311: type = fn_type @I.WithSelf.F, @I.WithSelf(%empty_struct_type, %I.facet.be3) [concrete] -// CHECK:STDOUT: %.75d: type = fn_type_with_self_type %I.WithSelf.F.type.311, %I.facet.be3 [concrete] -// CHECK:STDOUT: %pattern_type.886: type = pattern_type %A.96e [concrete] -// CHECK:STDOUT: %A.as.I.impl.F.specific_fn: = specific_function %A.as.I.impl.F.a9a, @A.as.I.impl.F(%empty_struct_type) [concrete] -// CHECK:STDOUT: %A.elem.f0d: type = unbound_element_type %A.96e, %empty_struct_type [concrete] +// CHECK:STDOUT: %I.type.317: type = facet_type <@I, @I(%empty_struct_type)> [concrete] +// CHECK:STDOUT: %I.assoc_type.4a0: type = assoc_entity_type @I, @I(%empty_struct_type) [concrete] +// CHECK:STDOUT: %assoc0.379: %I.assoc_type.4a0 = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %I.impl_witness.865: = impl_witness @A.as.I.impl.%I.impl_witness_table, @A.as.I.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %complete_type.d9a: = complete_type_witness %I.type.317 [concrete] +// CHECK:STDOUT: %A.as.I.impl.F.type.0a1: type = fn_type @A.as.I.impl.F, @A.as.I.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %A.as.I.impl.F.36b: %A.as.I.impl.F.type.0a1 = struct_value () [concrete] +// CHECK:STDOUT: %I.facet.7fa: %I.type.317 = facet_value %A.966, (%I.impl_witness.865) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.69a: type = fn_type @I.WithSelf.F, @I.WithSelf(%empty_struct_type, %I.facet.7fa) [concrete] +// CHECK:STDOUT: %.329: type = fn_type_with_self_type %I.WithSelf.F.type.69a, %I.facet.7fa [concrete] +// CHECK:STDOUT: %pattern_type.53f: type = pattern_type %A.966 [concrete] +// CHECK:STDOUT: %A.as.I.impl.F.specific_fn: = specific_function %A.as.I.impl.F.36b, @A.as.I.impl.F(%empty_struct_type) [concrete] +// CHECK:STDOUT: %A.elem.71e: type = unbound_element_type %A.966, %empty_struct_type [concrete] // CHECK:STDOUT: %struct_type.n.91c: type = struct_type {.n: %empty_struct_type} [concrete] // CHECK:STDOUT: %complete_type.0a6: = complete_type_witness %struct_type.n.91c [concrete] // CHECK:STDOUT: %complete_type.38e: = complete_type_witness %ptr.c28 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.561: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.1db: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.503: %ptr.as.Copy.impl.Op.type.1db = struct_value () [concrete] -// CHECK:STDOUT: %.74f: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%empty_struct_type) [concrete] -// CHECK:STDOUT: %Copy.facet.695: %Copy.type = facet_value %ptr.c28, (%Copy.impl_witness.561) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.1fd: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.695) [concrete] -// CHECK:STDOUT: %.18e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.1fd, %Copy.facet.695 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.503, @ptr.as.Copy.impl.Op(%empty_struct_type) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.1c0: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.91f: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.d7b: %ptr.as.Copy.impl.Op.type.91f = struct_value () [concrete] +// CHECK:STDOUT: %.41e: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%empty_struct_type) [concrete] +// CHECK:STDOUT: %Copy.facet.e29: %Copy.type = facet_value %ptr.c28, (%Copy.impl_witness.1c0) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.980: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.e29) [concrete] +// CHECK:STDOUT: %.f8c: type = fn_type_with_self_type %Copy.WithSelf.Op.type.980, %Copy.facet.e29 [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.d7b, @ptr.as.Copy.impl.Op(%empty_struct_type) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03c11.1) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed28d.1)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa424f.1) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1c66.1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -144,10 +144,10 @@ fn TestSpecific(a: A({})*) -> {}* { // CHECK:STDOUT: } { // CHECK:STDOUT: %A.ref: %A.type = name_ref A, file.%A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %V.ref.loc12_26: type = name_ref V, %V.loc12_15.2 [symbolic = %V.loc12_15.1 (constants.%V.67d)] -// CHECK:STDOUT: %A.loc12_27.2: type = class_type @A, @A(constants.%V.67d) [symbolic = %A.loc12_27.1 (constants.%A.5b9572.2)] -// CHECK:STDOUT: %I.ref: %I.type.83e = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %A.loc12_27.2: type = class_type @A, @A(constants.%V.67d) [symbolic = %A.loc12_27.1 (constants.%A.6eda0e.2)] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %V.ref.loc12_34: type = name_ref V, %V.loc12_15.2 [symbolic = %V.loc12_15.1 (constants.%V.67d)] -// CHECK:STDOUT: %I.type.loc12_35.2: type = facet_type <@I, @I(constants.%V.67d)> [symbolic = %I.type.loc12_35.1 (constants.%I.type.a295b1.2)] +// CHECK:STDOUT: %I.type.loc12_35.2: type = facet_type <@I, @I(constants.%V.67d)> [symbolic = %I.type.loc12_35.1 (constants.%I.type.50feb0.2)] // CHECK:STDOUT: %.loc12_18.1: type = splice_block %.loc12_18.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc12_18.2: type = type_literal type [concrete = type] @@ -158,33 +158,33 @@ fn TestSpecific(a: A({})*) -> {}* { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @A.as.I.impl(%V.loc12_15.2: type) { // CHECK:STDOUT: %V.loc12_15.1: type = symbolic_binding V, 0 [symbolic = %V.loc12_15.1 (constants.%V.67d)] -// CHECK:STDOUT: %A.loc12_27.1: type = class_type @A, @A(%V.loc12_15.1) [symbolic = %A.loc12_27.1 (constants.%A.5b9572.2)] -// CHECK:STDOUT: %I.type.loc12_35.1: type = facet_type <@I, @I(%V.loc12_15.1)> [symbolic = %I.type.loc12_35.1 (constants.%I.type.a295b1.2)] -// CHECK:STDOUT: %I.impl_witness.loc12_37.2: = impl_witness %I.impl_witness_table, @A.as.I.impl(%V.loc12_15.1) [symbolic = %I.impl_witness.loc12_37.2 (constants.%I.impl_witness.ec266c.1)] +// CHECK:STDOUT: %A.loc12_27.1: type = class_type @A, @A(%V.loc12_15.1) [symbolic = %A.loc12_27.1 (constants.%A.6eda0e.2)] +// CHECK:STDOUT: %I.type.loc12_35.1: type = facet_type <@I, @I(%V.loc12_15.1)> [symbolic = %I.type.loc12_35.1 (constants.%I.type.50feb0.2)] +// CHECK:STDOUT: %I.impl_witness.loc12_37.2: = impl_witness %I.impl_witness_table, @A.as.I.impl(%V.loc12_15.1) [symbolic = %I.impl_witness.loc12_37.2 (constants.%I.impl_witness.580224.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc12_35.1 [symbolic = %require_complete (constants.%require_complete.dd8881.1)] -// CHECK:STDOUT: %A.as.I.impl.F.type: type = fn_type @A.as.I.impl.F, @A.as.I.impl(%V.loc12_15.1) [symbolic = %A.as.I.impl.F.type (constants.%A.as.I.impl.F.type.70d16a.1)] -// CHECK:STDOUT: %A.as.I.impl.F: @A.as.I.impl.%A.as.I.impl.F.type (%A.as.I.impl.F.type.70d16a.1) = struct_value () [symbolic = %A.as.I.impl.F (constants.%A.as.I.impl.F.e9c339.1)] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc12_35.1 [symbolic = %require_complete (constants.%require_complete.df9dcc.1)] +// CHECK:STDOUT: %A.as.I.impl.F.type: type = fn_type @A.as.I.impl.F, @A.as.I.impl(%V.loc12_15.1) [symbolic = %A.as.I.impl.F.type (constants.%A.as.I.impl.F.type.f4acbf.1)] +// CHECK:STDOUT: %A.as.I.impl.F: @A.as.I.impl.%A.as.I.impl.F.type (%A.as.I.impl.F.type.f4acbf.1) = struct_value () [symbolic = %A.as.I.impl.F (constants.%A.as.I.impl.F.91160c.1)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %A.loc12_27.2 as %I.type.loc12_35.2 { -// CHECK:STDOUT: %A.as.I.impl.F.decl: @A.as.I.impl.%A.as.I.impl.F.type (%A.as.I.impl.F.type.70d16a.1) = fn_decl @A.as.I.impl.F [symbolic = @A.as.I.impl.%A.as.I.impl.F (constants.%A.as.I.impl.F.e9c339.1)] { -// CHECK:STDOUT: %self.param_patt: @A.as.I.impl.F.%pattern_type.loc13_16 (%pattern_type.9ba03a.1) = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @A.as.I.impl.F.%pattern_type.loc13_16 (%pattern_type.9ba03a.1) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %A.as.I.impl.F.decl: @A.as.I.impl.%A.as.I.impl.F.type (%A.as.I.impl.F.type.f4acbf.1) = fn_decl @A.as.I.impl.F [symbolic = @A.as.I.impl.%A.as.I.impl.F (constants.%A.as.I.impl.F.91160c.1)] { +// CHECK:STDOUT: %self.param_patt: @A.as.I.impl.F.%pattern_type.loc13_16 (%pattern_type.2e18a7.1) = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @A.as.I.impl.F.%pattern_type.loc13_16 (%pattern_type.2e18a7.1) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @A.as.I.impl.F.%pattern_type.loc13_30 (%pattern_type.4f4b84.2) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @A.as.I.impl.F.%pattern_type.loc13_30 (%pattern_type.4f4b84.2) = return_slot_pattern %return.param_patt, %ptr.loc13_30.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %V.ref: type = name_ref V, @A.as.I.impl.%V.loc12_15.2 [symbolic = %V (constants.%V.67d)] // CHECK:STDOUT: %ptr.loc13_30.2: type = ptr_type %V.ref [symbolic = %ptr.loc13_30.1 (constants.%ptr.e8f8f9.2)] // CHECK:STDOUT: %.loc13_30.2: Core.Form = init_form %ptr.loc13_30.2 [symbolic = %.loc13_30.1 (constants.%.cb6cb9.2)] -// CHECK:STDOUT: %self.param: ref @A.as.I.impl.F.%A (%A.5b9572.2) = ref_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @A.as.I.impl.%A.loc12_27.2 [symbolic = %A (constants.%A.5b9572.2)] -// CHECK:STDOUT: %self: ref @A.as.I.impl.F.%A (%A.5b9572.2) = ref_binding self, %self.param +// CHECK:STDOUT: %self.param: ref @A.as.I.impl.F.%A (%A.6eda0e.2) = ref_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @A.as.I.impl.%A.loc12_27.2 [symbolic = %A (constants.%A.6eda0e.2)] +// CHECK:STDOUT: %self: ref @A.as.I.impl.F.%A (%A.6eda0e.2) = ref_binding self, %self.param // CHECK:STDOUT: %return.param: ref @A.as.I.impl.F.%ptr.loc13_30.1 (%ptr.e8f8f9.2) = out_param call_param1 // CHECK:STDOUT: %return: ref @A.as.I.impl.F.%ptr.loc13_30.1 (%ptr.e8f8f9.2) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%A.as.I.impl.F.decl), @A.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness.loc12_37.1: = impl_witness %I.impl_witness_table, @A.as.I.impl(constants.%V.67d) [symbolic = %I.impl_witness.loc12_37.2 (constants.%I.impl_witness.ec266c.1)] +// CHECK:STDOUT: %I.impl_witness.loc12_37.1: = impl_witness %I.impl_witness_table, @A.as.I.impl(constants.%V.67d) [symbolic = %I.impl_witness.loc12_37.2 (constants.%I.impl_witness.580224.1)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .V = @@ -196,33 +196,33 @@ fn TestSpecific(a: A({})*) -> {}* { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @A.as.I.impl.F(@A.as.I.impl.%V.loc12_15.2: type) { // CHECK:STDOUT: %V: type = symbolic_binding V, 0 [symbolic = %V (constants.%V.67d)] -// CHECK:STDOUT: %A: type = class_type @A, @A(%V) [symbolic = %A (constants.%A.5b9572.2)] -// CHECK:STDOUT: %pattern_type.loc13_16: type = pattern_type %A [symbolic = %pattern_type.loc13_16 (constants.%pattern_type.9ba03a.1)] +// CHECK:STDOUT: %A: type = class_type @A, @A(%V) [symbolic = %A (constants.%A.6eda0e.2)] +// CHECK:STDOUT: %pattern_type.loc13_16: type = pattern_type %A [symbolic = %pattern_type.loc13_16 (constants.%pattern_type.2e18a7.1)] // CHECK:STDOUT: %ptr.loc13_30.1: type = ptr_type %V [symbolic = %ptr.loc13_30.1 (constants.%ptr.e8f8f9.2)] // CHECK:STDOUT: %.loc13_30.1: Core.Form = init_form %ptr.loc13_30.1 [symbolic = %.loc13_30.1 (constants.%.cb6cb9.2)] // CHECK:STDOUT: %pattern_type.loc13_30: type = pattern_type %ptr.loc13_30.1 [symbolic = %pattern_type.loc13_30 (constants.%pattern_type.4f4b84.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc13_16: = require_complete_type %A [symbolic = %require_complete.loc13_16 (constants.%require_complete.1db)] +// CHECK:STDOUT: %require_complete.loc13_16: = require_complete_type %A [symbolic = %require_complete.loc13_16 (constants.%require_complete.4ad)] // CHECK:STDOUT: %require_complete.loc13_26: = require_complete_type %ptr.loc13_30.1 [symbolic = %require_complete.loc13_26 (constants.%require_complete.ef162c.1)] -// CHECK:STDOUT: %A.elem: type = unbound_element_type %A, %V [symbolic = %A.elem (constants.%A.elem.fa4e28.2)] -// CHECK:STDOUT: %.loc14_12.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%V) [symbolic = %.loc14_12.1 (constants.%.546)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc13_30.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.5be)] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc13_30.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.2a3)] -// 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.a8e)] -// CHECK:STDOUT: %.loc14_12.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc14_12.2 (constants.%.86b)] -// CHECK:STDOUT: %impl.elem0.loc14_12.2: @A.as.I.impl.F.%.loc14_12.2 (%.86b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_12.2 (constants.%impl.elem0.480)] -// CHECK:STDOUT: %specific_impl_fn.loc14_12.2: = specific_impl_function %impl.elem0.loc14_12.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc14_12.2 (constants.%specific_impl_fn.d1f)] +// CHECK:STDOUT: %A.elem: type = unbound_element_type %A, %V [symbolic = %A.elem (constants.%A.elem.e8eca3.2)] +// CHECK:STDOUT: %.loc14_12.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%V) [symbolic = %.loc14_12.1 (constants.%.b6a)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc13_30.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2bf)] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc13_30.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.44d)] +// 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.72b)] +// CHECK:STDOUT: %.loc14_12.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc14_12.2 (constants.%.39b)] +// CHECK:STDOUT: %impl.elem0.loc14_12.2: @A.as.I.impl.F.%.loc14_12.2 (%.39b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_12.2 (constants.%impl.elem0.8a3)] +// CHECK:STDOUT: %specific_impl_fn.loc14_12.2: = specific_impl_function %impl.elem0.loc14_12.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc14_12.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: ref @A.as.I.impl.F.%A (%A.5b9572.2)) -> out %return.param: @A.as.I.impl.F.%ptr.loc13_30.1 (%ptr.e8f8f9.2) { +// CHECK:STDOUT: fn(%self.param: ref @A.as.I.impl.F.%A (%A.6eda0e.2)) -> out %return.param: @A.as.I.impl.F.%ptr.loc13_30.1 (%ptr.e8f8f9.2) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %self.ref: ref @A.as.I.impl.F.%A (%A.5b9572.2) = name_ref self, %self -// CHECK:STDOUT: %n.ref: @A.as.I.impl.F.%A.elem (%A.elem.fa4e28.2) = name_ref n, @A.%.loc4 [concrete = @A.%.loc4] +// CHECK:STDOUT: %self.ref: ref @A.as.I.impl.F.%A (%A.6eda0e.2) = name_ref self, %self +// CHECK:STDOUT: %n.ref: @A.as.I.impl.F.%A.elem (%A.elem.e8eca3.2) = name_ref n, @A.%.loc4 [concrete = @A.%.loc4] // CHECK:STDOUT: %.loc14_17: ref @A.as.I.impl.F.%V (%V.67d) = class_element_access %self.ref, element0 // CHECK:STDOUT: %addr: @A.as.I.impl.F.%ptr.loc13_30.1 (%ptr.e8f8f9.2) = addr_of %.loc14_17 -// CHECK:STDOUT: %impl.elem0.loc14_12.1: @A.as.I.impl.F.%.loc14_12.2 (%.86b) = impl_witness_access constants.%Copy.lookup_impl_witness.5be, element0 [symbolic = %impl.elem0.loc14_12.2 (constants.%impl.elem0.480)] +// CHECK:STDOUT: %impl.elem0.loc14_12.1: @A.as.I.impl.F.%.loc14_12.2 (%.39b) = impl_witness_access constants.%Copy.lookup_impl_witness.2bf, element0 [symbolic = %impl.elem0.loc14_12.2 (constants.%impl.elem0.8a3)] // CHECK:STDOUT: %bound_method.loc14_12.1: = bound_method %addr, %impl.elem0.loc14_12.1 -// CHECK:STDOUT: %specific_impl_fn.loc14_12.1: = specific_impl_function %impl.elem0.loc14_12.1, @Copy.WithSelf.Op(constants.%Copy.facet.2a3) [symbolic = %specific_impl_fn.loc14_12.2 (constants.%specific_impl_fn.d1f)] +// CHECK:STDOUT: %specific_impl_fn.loc14_12.1: = specific_impl_function %impl.elem0.loc14_12.1, @Copy.WithSelf.Op(constants.%Copy.facet.44d) [symbolic = %specific_impl_fn.loc14_12.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: %bound_method.loc14_12.2: = bound_method %addr, %specific_impl_fn.loc14_12.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @A.as.I.impl.F.%ptr.loc13_30.1 (%ptr.e8f8f9.2) = call %bound_method.loc14_12.2(%addr) // CHECK:STDOUT: return %Copy.WithSelf.Op.call @@ -234,47 +234,47 @@ fn TestSpecific(a: A({})*) -> {}* { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %I.type.loc21_17.2: type = facet_type <@I, @I(%W.loc19_17.1)> [symbolic = %I.type.loc21_17.2 (constants.%I.type.a295b1.3)] -// CHECK:STDOUT: %require_complete.loc21: = require_complete_type %I.type.loc21_17.2 [symbolic = %require_complete.loc21 (constants.%require_complete.dd8881.2)] -// CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I, @I(%W.loc19_17.1) [symbolic = %I.assoc_type (constants.%I.assoc_type.297ef0.3)] -// CHECK:STDOUT: %assoc0: @TestGeneric.%I.assoc_type (%I.assoc_type.297ef0.3) = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [symbolic = %assoc0 (constants.%assoc0.045191.3)] -// CHECK:STDOUT: %.loc21_11.2: require_specific_def_type = require_specific_def @A.as.I.impl(%W.loc19_17.1) [symbolic = %.loc21_11.2 (constants.%.e42)] +// CHECK:STDOUT: %I.type.loc21_17.2: type = facet_type <@I, @I(%W.loc19_17.1)> [symbolic = %I.type.loc21_17.2 (constants.%I.type.50feb0.3)] +// CHECK:STDOUT: %require_complete.loc21: = require_complete_type %I.type.loc21_17.2 [symbolic = %require_complete.loc21 (constants.%require_complete.df9dcc.2)] +// CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I, @I(%W.loc19_17.1) [symbolic = %I.assoc_type (constants.%I.assoc_type.bd7023.3)] +// CHECK:STDOUT: %assoc0: @TestGeneric.%I.assoc_type (%I.assoc_type.bd7023.3) = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [symbolic = %assoc0 (constants.%assoc0.631ba7.3)] +// CHECK:STDOUT: %.loc21_11.2: require_specific_def_type = require_specific_def @A.as.I.impl(%W.loc19_17.1) [symbolic = %.loc21_11.2 (constants.%.f9e)] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %A.loc19_32.1, @I, @I(%W.loc19_17.1) [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness)] -// CHECK:STDOUT: %I.facet: @TestGeneric.%I.type.loc21_17.2 (%I.type.a295b1.3) = facet_value %A.loc19_32.1, (%I.lookup_impl_witness) [symbolic = %I.facet (constants.%I.facet.c3d)] -// CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%W.loc19_17.1, %I.facet) [symbolic = %I.WithSelf.F.type (constants.%I.WithSelf.F.type.805)] -// CHECK:STDOUT: %.loc21_11.3: type = fn_type_with_self_type %I.WithSelf.F.type, %I.facet [symbolic = %.loc21_11.3 (constants.%.53e)] -// CHECK:STDOUT: %impl.elem0.loc21_11.2: @TestGeneric.%.loc21_11.3 (%.53e) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc21_11.2 (constants.%impl.elem0.332)] -// CHECK:STDOUT: %specific_impl_fn.loc21_11.2: = specific_impl_function %impl.elem0.loc21_11.2, @I.WithSelf.F(%W.loc19_17.1, %I.facet) [symbolic = %specific_impl_fn.loc21_11.2 (constants.%specific_impl_fn.067)] +// CHECK:STDOUT: %I.facet: @TestGeneric.%I.type.loc21_17.2 (%I.type.50feb0.3) = facet_value %A.loc19_32.1, (%I.lookup_impl_witness) [symbolic = %I.facet (constants.%I.facet.42f)] +// CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%W.loc19_17.1, %I.facet) [symbolic = %I.WithSelf.F.type (constants.%I.WithSelf.F.type.125)] +// CHECK:STDOUT: %.loc21_11.3: type = fn_type_with_self_type %I.WithSelf.F.type, %I.facet [symbolic = %.loc21_11.3 (constants.%.00e)] +// CHECK:STDOUT: %impl.elem0.loc21_11.2: @TestGeneric.%.loc21_11.3 (%.00e) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc21_11.2 (constants.%impl.elem0.ac1)] +// CHECK:STDOUT: %specific_impl_fn.loc21_11.2: = specific_impl_function %impl.elem0.loc21_11.2, @I.WithSelf.F(%W.loc19_17.1, %I.facet) [symbolic = %specific_impl_fn.loc21_11.2 (constants.%specific_impl_fn.4e2)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%a.param: @TestGeneric.%ptr.loc19_33.1 (%ptr.292)) -> out %return.param: @TestGeneric.%ptr.loc19_40.1 (%ptr.e8f8f9.4) { +// CHECK:STDOUT: fn(%a.param: @TestGeneric.%ptr.loc19_33.1 (%ptr.670)) -> out %return.param: @TestGeneric.%ptr.loc19_40.1 (%ptr.e8f8f9.4) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: @TestGeneric.%ptr.loc19_33.1 (%ptr.292) = name_ref a, %a -// CHECK:STDOUT: %I.ref: %I.type.83e = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %a.ref: @TestGeneric.%ptr.loc19_33.1 (%ptr.670) = name_ref a, %a +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %W.ref.loc21: type = name_ref W, %W.loc19_17.2 [symbolic = %W.loc19_17.1 (constants.%W)] -// CHECK:STDOUT: %I.type.loc21_17.1: type = facet_type <@I, @I(constants.%W)> [symbolic = %I.type.loc21_17.2 (constants.%I.type.a295b1.3)] -// CHECK:STDOUT: %.loc21_18: @TestGeneric.%I.assoc_type (%I.assoc_type.297ef0.3) = specific_constant @I.WithSelf.%assoc0.loc8_31.1, @I.WithSelf(constants.%W, constants.%Self.7b716a.1) [symbolic = %assoc0 (constants.%assoc0.045191.3)] -// CHECK:STDOUT: %F.ref: @TestGeneric.%I.assoc_type (%I.assoc_type.297ef0.3) = name_ref F, %.loc21_18 [symbolic = %assoc0 (constants.%assoc0.045191.3)] -// CHECK:STDOUT: %.loc21_11.1: ref @TestGeneric.%A.loc19_32.1 (%A.5b9572.3) = deref %a.ref -// CHECK:STDOUT: %impl.elem0.loc21_11.1: @TestGeneric.%.loc21_11.3 (%.53e) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc21_11.2 (constants.%impl.elem0.332)] +// CHECK:STDOUT: %I.type.loc21_17.1: type = facet_type <@I, @I(constants.%W)> [symbolic = %I.type.loc21_17.2 (constants.%I.type.50feb0.3)] +// CHECK:STDOUT: %.loc21_18: @TestGeneric.%I.assoc_type (%I.assoc_type.bd7023.3) = specific_constant @I.WithSelf.%assoc0.loc8_31.1, @I.WithSelf(constants.%W, constants.%Self.6263de.1) [symbolic = %assoc0 (constants.%assoc0.631ba7.3)] +// CHECK:STDOUT: %F.ref: @TestGeneric.%I.assoc_type (%I.assoc_type.bd7023.3) = name_ref F, %.loc21_18 [symbolic = %assoc0 (constants.%assoc0.631ba7.3)] +// CHECK:STDOUT: %.loc21_11.1: ref @TestGeneric.%A.loc19_32.1 (%A.6eda0e.3) = deref %a.ref +// CHECK:STDOUT: %impl.elem0.loc21_11.1: @TestGeneric.%.loc21_11.3 (%.00e) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc21_11.2 (constants.%impl.elem0.ac1)] // CHECK:STDOUT: %bound_method.loc21_11: = bound_method %.loc21_11.1, %impl.elem0.loc21_11.1 -// CHECK:STDOUT: %specific_impl_fn.loc21_11.1: = specific_impl_function %impl.elem0.loc21_11.1, @I.WithSelf.F(constants.%W, constants.%I.facet.c3d) [symbolic = %specific_impl_fn.loc21_11.2 (constants.%specific_impl_fn.067)] +// CHECK:STDOUT: %specific_impl_fn.loc21_11.1: = specific_impl_function %impl.elem0.loc21_11.1, @I.WithSelf.F(constants.%W, constants.%I.facet.42f) [symbolic = %specific_impl_fn.loc21_11.2 (constants.%specific_impl_fn.4e2)] // CHECK:STDOUT: %bound_method.loc21_22: = bound_method %.loc21_11.1, %specific_impl_fn.loc21_11.1 // CHECK:STDOUT: %I.WithSelf.F.call: init @TestGeneric.%ptr.loc19_40.1 (%ptr.e8f8f9.4) = call %bound_method.loc21_22(%.loc21_11.1) // CHECK:STDOUT: return %I.WithSelf.F.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestSpecific(%a.param: %ptr.43a) -> out %return.param: %ptr.c28 { +// CHECK:STDOUT: fn @TestSpecific(%a.param: %ptr.f6a) -> out %return.param: %ptr.c28 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %ptr.43a = name_ref a, %a -// CHECK:STDOUT: %I.ref: %I.type.83e = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %a.ref: %ptr.f6a = name_ref a, %a +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %.loc27_17: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc27_18: type = converted %.loc27_17, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%empty_struct_type)> [concrete = constants.%I.type.927] -// CHECK:STDOUT: %.loc27_19: %I.assoc_type.db8 = specific_constant @I.WithSelf.%assoc0.loc8_31.1, @I.WithSelf(constants.%empty_struct_type, constants.%Self.7b716a.1) [concrete = constants.%assoc0.901] -// CHECK:STDOUT: %F.ref: %I.assoc_type.db8 = name_ref F, %.loc27_19 [concrete = constants.%assoc0.901] -// CHECK:STDOUT: %.loc27_11: ref %A.96e = deref %a.ref -// CHECK:STDOUT: %impl.elem0: %.75d = impl_witness_access constants.%I.impl_witness.b02, element0 [concrete = constants.%A.as.I.impl.F.a9a] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%empty_struct_type)> [concrete = constants.%I.type.317] +// CHECK:STDOUT: %.loc27_19: %I.assoc_type.4a0 = specific_constant @I.WithSelf.%assoc0.loc8_31.1, @I.WithSelf(constants.%empty_struct_type, constants.%Self.6263de.1) [concrete = constants.%assoc0.379] +// CHECK:STDOUT: %F.ref: %I.assoc_type.4a0 = name_ref F, %.loc27_19 [concrete = constants.%assoc0.379] +// CHECK:STDOUT: %.loc27_11: ref %A.966 = deref %a.ref +// CHECK:STDOUT: %impl.elem0: %.329 = impl_witness_access constants.%I.impl_witness.865, element0 [concrete = constants.%A.as.I.impl.F.36b] // CHECK:STDOUT: %bound_method.loc27_11: = bound_method %.loc27_11, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @A.as.I.impl.F(constants.%empty_struct_type) [concrete = constants.%A.as.I.impl.F.specific_fn] // CHECK:STDOUT: %bound_method.loc27_23: = bound_method %.loc27_11, %specific_fn @@ -284,20 +284,20 @@ fn TestSpecific(a: A({})*) -> {}* { // CHECK:STDOUT: // CHECK:STDOUT: specific @A.as.I.impl(constants.%V.67d) { // CHECK:STDOUT: %V.loc12_15.1 => constants.%V.67d -// CHECK:STDOUT: %A.loc12_27.1 => constants.%A.5b9572.2 -// CHECK:STDOUT: %I.type.loc12_35.1 => constants.%I.type.a295b1.2 -// CHECK:STDOUT: %I.impl_witness.loc12_37.2 => constants.%I.impl_witness.ec266c.1 +// CHECK:STDOUT: %A.loc12_27.1 => constants.%A.6eda0e.2 +// CHECK:STDOUT: %I.type.loc12_35.1 => constants.%I.type.50feb0.2 +// CHECK:STDOUT: %I.impl_witness.loc12_37.2 => constants.%I.impl_witness.580224.1 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.dd8881.1 -// CHECK:STDOUT: %A.as.I.impl.F.type => constants.%A.as.I.impl.F.type.70d16a.1 -// CHECK:STDOUT: %A.as.I.impl.F => constants.%A.as.I.impl.F.e9c339.1 +// CHECK:STDOUT: %require_complete => constants.%require_complete.df9dcc.1 +// CHECK:STDOUT: %A.as.I.impl.F.type => constants.%A.as.I.impl.F.type.f4acbf.1 +// CHECK:STDOUT: %A.as.I.impl.F => constants.%A.as.I.impl.F.91160c.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.as.I.impl.F(constants.%V.67d) { // CHECK:STDOUT: %V => constants.%V.67d -// CHECK:STDOUT: %A => constants.%A.5b9572.2 -// CHECK:STDOUT: %pattern_type.loc13_16 => constants.%pattern_type.9ba03a.1 +// CHECK:STDOUT: %A => constants.%A.6eda0e.2 +// CHECK:STDOUT: %pattern_type.loc13_16 => constants.%pattern_type.2e18a7.1 // CHECK:STDOUT: %ptr.loc13_30.1 => constants.%ptr.e8f8f9.2 // CHECK:STDOUT: %.loc13_30.1 => constants.%.cb6cb9.2 // CHECK:STDOUT: %pattern_type.loc13_30 => constants.%pattern_type.4f4b84.2 @@ -305,9 +305,9 @@ fn TestSpecific(a: A({})*) -> {}* { // CHECK:STDOUT: // CHECK:STDOUT: specific @TestGeneric(constants.%W) { // CHECK:STDOUT: %W.loc19_17.1 => constants.%W -// CHECK:STDOUT: %A.loc19_32.1 => constants.%A.5b9572.3 -// CHECK:STDOUT: %ptr.loc19_33.1 => constants.%ptr.292 -// CHECK:STDOUT: %pattern_type.loc19_27 => constants.%pattern_type.84f +// CHECK:STDOUT: %A.loc19_32.1 => constants.%A.6eda0e.3 +// CHECK:STDOUT: %ptr.loc19_33.1 => constants.%ptr.670 +// CHECK:STDOUT: %pattern_type.loc19_27 => constants.%pattern_type.aa5 // CHECK:STDOUT: %ptr.loc19_40.1 => constants.%ptr.e8f8f9.4 // CHECK:STDOUT: %.loc19_40.1 => constants.%.cb6cb9.4 // CHECK:STDOUT: %pattern_type.loc19_40 => constants.%pattern_type.4f4b84.4 @@ -315,32 +315,32 @@ fn TestSpecific(a: A({})*) -> {}* { // CHECK:STDOUT: // CHECK:STDOUT: specific @A.as.I.impl(constants.%W) { // CHECK:STDOUT: %V.loc12_15.1 => constants.%W -// CHECK:STDOUT: %A.loc12_27.1 => constants.%A.5b9572.3 -// CHECK:STDOUT: %I.type.loc12_35.1 => constants.%I.type.a295b1.3 -// CHECK:STDOUT: %I.impl_witness.loc12_37.2 => constants.%I.impl_witness.ec266c.2 +// CHECK:STDOUT: %A.loc12_27.1 => constants.%A.6eda0e.3 +// CHECK:STDOUT: %I.type.loc12_35.1 => constants.%I.type.50feb0.3 +// CHECK:STDOUT: %I.impl_witness.loc12_37.2 => constants.%I.impl_witness.580224.2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.dd8881.2 -// CHECK:STDOUT: %A.as.I.impl.F.type => constants.%A.as.I.impl.F.type.70d16a.2 -// CHECK:STDOUT: %A.as.I.impl.F => constants.%A.as.I.impl.F.e9c339.2 +// CHECK:STDOUT: %require_complete => constants.%require_complete.df9dcc.2 +// CHECK:STDOUT: %A.as.I.impl.F.type => constants.%A.as.I.impl.F.type.f4acbf.2 +// CHECK:STDOUT: %A.as.I.impl.F => constants.%A.as.I.impl.F.91160c.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.as.I.impl(constants.%empty_struct_type) { // CHECK:STDOUT: %V.loc12_15.1 => constants.%empty_struct_type -// CHECK:STDOUT: %A.loc12_27.1 => constants.%A.96e -// CHECK:STDOUT: %I.type.loc12_35.1 => constants.%I.type.927 -// CHECK:STDOUT: %I.impl_witness.loc12_37.2 => constants.%I.impl_witness.b02 +// CHECK:STDOUT: %A.loc12_27.1 => constants.%A.966 +// CHECK:STDOUT: %I.type.loc12_35.1 => constants.%I.type.317 +// CHECK:STDOUT: %I.impl_witness.loc12_37.2 => constants.%I.impl_witness.865 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.df8 -// CHECK:STDOUT: %A.as.I.impl.F.type => constants.%A.as.I.impl.F.type.3d4 -// CHECK:STDOUT: %A.as.I.impl.F => constants.%A.as.I.impl.F.a9a +// CHECK:STDOUT: %require_complete => constants.%complete_type.d9a +// CHECK:STDOUT: %A.as.I.impl.F.type => constants.%A.as.I.impl.F.type.0a1 +// CHECK:STDOUT: %A.as.I.impl.F => constants.%A.as.I.impl.F.36b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.as.I.impl.F(constants.%empty_struct_type) { // CHECK:STDOUT: %V => constants.%empty_struct_type -// CHECK:STDOUT: %A => constants.%A.96e -// CHECK:STDOUT: %pattern_type.loc13_16 => constants.%pattern_type.886 +// CHECK:STDOUT: %A => constants.%A.966 +// CHECK:STDOUT: %pattern_type.loc13_16 => constants.%pattern_type.53f // CHECK:STDOUT: %ptr.loc13_30.1 => constants.%ptr.c28 // CHECK:STDOUT: %.loc13_30.1 => constants.%.9ba // CHECK:STDOUT: %pattern_type.loc13_30 => constants.%pattern_type.1cc @@ -348,13 +348,13 @@ fn TestSpecific(a: A({})*) -> {}* { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc13_16 => constants.%complete_type.0a6 // CHECK:STDOUT: %require_complete.loc13_26 => constants.%complete_type.38e -// CHECK:STDOUT: %A.elem => constants.%A.elem.f0d -// CHECK:STDOUT: %.loc14_12.1 => constants.%.74f -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.561 -// CHECK:STDOUT: %Copy.facet => constants.%Copy.facet.695 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.1fd -// CHECK:STDOUT: %.loc14_12.2 => constants.%.18e -// CHECK:STDOUT: %impl.elem0.loc14_12.2 => constants.%ptr.as.Copy.impl.Op.503 +// CHECK:STDOUT: %A.elem => constants.%A.elem.71e +// CHECK:STDOUT: %.loc14_12.1 => constants.%.41e +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.1c0 +// CHECK:STDOUT: %Copy.facet => constants.%Copy.facet.e29 +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.980 +// CHECK:STDOUT: %.loc14_12.2 => constants.%.f8c +// CHECK:STDOUT: %impl.elem0.loc14_12.2 => constants.%ptr.as.Copy.impl.Op.d7b // CHECK:STDOUT: %specific_impl_fn.loc14_12.2 => constants.%ptr.as.Copy.impl.Op.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/lookup/import.carbon b/toolchain/check/testdata/impl/lookup/import.carbon index 709533f095b8..c709449514ae 100644 --- a/toolchain/check/testdata/impl/lookup/import.carbon +++ b/toolchain/check/testdata/impl/lookup/import.carbon @@ -229,21 +229,21 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %HasF.type: type = facet_type <@HasF> [concrete] // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.c3c: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.646: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.077: %HasF.WithSelf.F.type.646 = struct_value () [symbolic] +// CHECK:STDOUT: %pattern_type.847: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.3b0: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.12e: %HasF.WithSelf.F.type.3b0 = struct_value () [symbolic] // CHECK:STDOUT: %HasF.assoc_type: type = assoc_entity_type @HasF [concrete] // CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %HasF.impl_witness: = impl_witness @C.as.HasF.impl.%HasF.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.9dc: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.e62: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.as.HasF.impl.F.type: type = fn_type @C.as.HasF.impl.F [concrete] // CHECK:STDOUT: %C.as.HasF.impl.F: %C.as.HasF.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %HasF.facet: %HasF.type = facet_value %C, (%HasF.impl_witness) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.a12: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.a4f: %HasF.WithSelf.F.type.a12 = struct_value () [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.69a: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.5fd: %HasF.WithSelf.F.type.69a = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -273,9 +273,9 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %HasF.WithSelf.decl = interface_with_self_decl @HasF [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.646) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.077)] { -// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.c3c) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.c3c) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.3b0) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.12e)] { +// CHECK:STDOUT: %self.param_patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.847) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @HasF.WithSelf.F.%pattern_type (%pattern_type.847) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_14.1: type = splice_block %.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] { @@ -297,8 +297,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.HasF.impl: %C.ref as %HasF.ref { // CHECK:STDOUT: %C.as.HasF.impl.F.decl: %C.as.HasF.impl.F.type = fn_decl @C.as.HasF.impl.F [concrete = constants.%C.as.HasF.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.9dc = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.9dc = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.e62 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.e62 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.HasF.impl.%C.ref [concrete = constants.%C] @@ -324,7 +324,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: generic fn @HasF.WithSelf.F(@HasF.%Self: %HasF.type) { // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.c3c)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.847)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @HasF.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -337,70 +337,70 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.646 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.077 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.3b0 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.12e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c3c +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.847 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasF.facet -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.a12 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.a4f +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.69a +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.5fd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%HasF.facet) { // CHECK:STDOUT: %Self => constants.%HasF.facet // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9dc +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e62 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- package_b.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %HasG.type: type = facet_type <@HasG> [concrete] -// CHECK:STDOUT: %Self.c9d: %HasG.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.1f0: type = facet_access_type %Self.c9d [symbolic] -// CHECK:STDOUT: %pattern_type.ad3: type = pattern_type %Self.as_type.1f0 [symbolic] -// CHECK:STDOUT: %HasG.WithSelf.G.type.8d5: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%Self.c9d) [symbolic] -// CHECK:STDOUT: %HasG.WithSelf.G.2dd: %HasG.WithSelf.G.type.8d5 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.ea6: %HasG.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.491: type = facet_access_type %Self.ea6 [symbolic] +// CHECK:STDOUT: %pattern_type.3bb: type = pattern_type %Self.as_type.491 [symbolic] +// CHECK:STDOUT: %HasG.WithSelf.G.type.9c0: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%Self.ea6) [symbolic] +// CHECK:STDOUT: %HasG.WithSelf.G.81d: %HasG.WithSelf.G.type.9c0 = struct_value () [symbolic] // CHECK:STDOUT: %HasG.assoc_type: type = assoc_entity_type @HasG [concrete] // CHECK:STDOUT: %assoc0: %HasG.assoc_type = assoc_entity element0, @HasG.WithSelf.%HasG.WithSelf.G.decl [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %HasG.impl_witness.079: = impl_witness @C.as.HasG.impl.%HasG.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.9dc: type = pattern_type %C [concrete] +// CHECK:STDOUT: %HasG.impl_witness.2af: = impl_witness @C.as.HasG.impl.%HasG.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.e62: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.as.HasG.impl.G.type: type = fn_type @C.as.HasG.impl.G [concrete] // CHECK:STDOUT: %C.as.HasG.impl.G: %C.as.HasG.impl.G.type = struct_value () [concrete] -// CHECK:STDOUT: %HasG.facet.e87: %HasG.type = facet_value %C, (%HasG.impl_witness.079) [concrete] -// CHECK:STDOUT: %HasG.WithSelf.G.type.1a6: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%HasG.facet.e87) [concrete] -// CHECK:STDOUT: %HasG.WithSelf.G.435: %HasG.WithSelf.G.type.1a6 = struct_value () [concrete] +// CHECK:STDOUT: %HasG.facet.3b8: %HasG.type = facet_value %C, (%HasG.impl_witness.2af) [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.type.499: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%HasG.facet.3b8) [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.11b: %HasG.WithSelf.G.type.499 = struct_value () [concrete] // CHECK:STDOUT: %HasF.type: type = facet_type <@HasF> [concrete] -// CHECK:STDOUT: %Self.697: %HasF.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.7fc: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self.697) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.d79: %HasF.WithSelf.F.type.7fc = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.db1: type = facet_access_type %Self.697 [symbolic] -// CHECK:STDOUT: %pattern_type.72e: type = pattern_type %Self.as_type.db1 [symbolic] +// CHECK:STDOUT: %Self.518: %HasF.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.699: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self.518) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.c81: %HasF.WithSelf.F.type.699 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type.6c4: type = facet_access_type %Self.518 [symbolic] +// CHECK:STDOUT: %pattern_type.d62: type = pattern_type %Self.as_type.6c4 [symbolic] // CHECK:STDOUT: %HasF.impl_witness: = impl_witness @D.as.HasF.impl.%HasF.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.9e6: type = pattern_type %D [concrete] +// CHECK:STDOUT: %pattern_type.d93: type = pattern_type %D [concrete] // CHECK:STDOUT: %D.as.HasF.impl.F.type: type = fn_type @D.as.HasF.impl.F [concrete] // CHECK:STDOUT: %D.as.HasF.impl.F: %D.as.HasF.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %HasF.facet: %HasF.type = facet_value %D, (%HasF.impl_witness) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.dde: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.198: %HasF.WithSelf.F.type.dde = struct_value () [concrete] -// CHECK:STDOUT: %HasG.impl_witness.016: = impl_witness @D.as.HasG.impl.%HasG.impl_witness_table [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.4f1: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.7d3: %HasF.WithSelf.F.type.4f1 = struct_value () [concrete] +// CHECK:STDOUT: %HasG.impl_witness.d8a: = impl_witness @D.as.HasG.impl.%HasG.impl_witness_table [concrete] // CHECK:STDOUT: %D.as.HasG.impl.G.type: type = fn_type @D.as.HasG.impl.G [concrete] // CHECK:STDOUT: %D.as.HasG.impl.G: %D.as.HasG.impl.G.type = struct_value () [concrete] -// CHECK:STDOUT: %HasG.facet.aa0: %HasG.type = facet_value %D, (%HasG.impl_witness.016) [concrete] -// CHECK:STDOUT: %HasG.WithSelf.G.type.301: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%HasG.facet.aa0) [concrete] -// CHECK:STDOUT: %HasG.WithSelf.G.9a3: %HasG.WithSelf.G.type.301 = struct_value () [concrete] +// CHECK:STDOUT: %HasG.facet.e65: %HasG.type = facet_value %D, (%HasG.impl_witness.d8a) [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.type.f9f: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%HasG.facet.e65) [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.a44: %HasG.WithSelf.G.type.f9f = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -415,12 +415,12 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: %PackageA.C: type = import_ref PackageA//default, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %PackageA.import_ref.8f2: = import_ref PackageA//default, loc8_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageA.import_ref.43a = import_ref PackageA//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %PackageA.import_ref.927 = import_ref PackageA//default, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %PackageA.HasF: type = import_ref PackageA//default, HasF, loaded [concrete = constants.%HasF.type] -// CHECK:STDOUT: %PackageA.import_ref.13a = import_ref PackageA//default, loc5_21, unloaded -// CHECK:STDOUT: %PackageA.F: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.7fc) = import_ref PackageA//default, F, loaded [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.d79)] -// CHECK:STDOUT: %PackageA.import_ref.cee6a9.2: %HasF.type = import_ref PackageA//default, loc4_16, loaded [symbolic = constants.%Self.697] -// CHECK:STDOUT: %PackageA.import_ref.126 = import_ref PackageA//default, loc4_16, unloaded +// CHECK:STDOUT: %PackageA.import_ref.0b1 = import_ref PackageA//default, loc5_21, unloaded +// CHECK:STDOUT: %PackageA.F: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.699) = import_ref PackageA//default, F, loaded [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.c81)] +// CHECK:STDOUT: %PackageA.import_ref.7de6df.2: %HasF.type = import_ref PackageA//default, loc4_16, loaded [symbolic = constants.%Self.518] +// CHECK:STDOUT: %PackageA.import_ref.066 = import_ref PackageA//default, loc4_16, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -451,21 +451,21 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @HasG { -// CHECK:STDOUT: %Self: %HasG.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c9d] +// CHECK:STDOUT: %Self: %HasG.type = symbolic_binding Self, 0 [symbolic = constants.%Self.ea6] // CHECK:STDOUT: %HasG.WithSelf.decl = interface_with_self_decl @HasG [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasG.WithSelf.G.decl: @HasG.WithSelf.%HasG.WithSelf.G.type (%HasG.WithSelf.G.type.8d5) = fn_decl @HasG.WithSelf.G [symbolic = @HasG.WithSelf.%HasG.WithSelf.G (constants.%HasG.WithSelf.G.2dd)] { -// CHECK:STDOUT: %self.param_patt: @HasG.WithSelf.G.%pattern_type (%pattern_type.ad3) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @HasG.WithSelf.G.%pattern_type (%pattern_type.ad3) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.decl: @HasG.WithSelf.%HasG.WithSelf.G.type (%HasG.WithSelf.G.type.9c0) = fn_decl @HasG.WithSelf.G [symbolic = @HasG.WithSelf.%HasG.WithSelf.G (constants.%HasG.WithSelf.G.81d)] { +// CHECK:STDOUT: %self.param_patt: @HasG.WithSelf.G.%pattern_type (%pattern_type.3bb) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @HasG.WithSelf.G.%pattern_type (%pattern_type.3bb) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: @HasG.WithSelf.G.%Self.as_type.loc7_14.1 (%Self.as_type.1f0) = value_param call_param0 -// CHECK:STDOUT: %.loc7_14.1: type = splice_block %.loc7_14.2 [symbolic = %Self.as_type.loc7_14.1 (constants.%Self.as_type.1f0)] { -// CHECK:STDOUT: %Self.ref: %HasG.type = name_ref Self, @HasG.%Self [symbolic = %Self (constants.%Self.c9d)] -// CHECK:STDOUT: %Self.as_type.loc7_14.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc7_14.1 (constants.%Self.as_type.1f0)] -// CHECK:STDOUT: %.loc7_14.2: type = converted %Self.ref, %Self.as_type.loc7_14.2 [symbolic = %Self.as_type.loc7_14.1 (constants.%Self.as_type.1f0)] +// CHECK:STDOUT: %self.param: @HasG.WithSelf.G.%Self.as_type.loc7_14.1 (%Self.as_type.491) = value_param call_param0 +// CHECK:STDOUT: %.loc7_14.1: type = splice_block %.loc7_14.2 [symbolic = %Self.as_type.loc7_14.1 (constants.%Self.as_type.491)] { +// CHECK:STDOUT: %Self.ref: %HasG.type = name_ref Self, @HasG.%Self [symbolic = %Self (constants.%Self.ea6)] +// CHECK:STDOUT: %Self.as_type.loc7_14.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc7_14.1 (constants.%Self.as_type.491)] +// CHECK:STDOUT: %.loc7_14.2: type = converted %Self.ref, %Self.as_type.loc7_14.2 [symbolic = %Self.as_type.loc7_14.1 (constants.%Self.as_type.491)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @HasG.WithSelf.G.%Self.as_type.loc7_14.1 (%Self.as_type.1f0) = value_binding self, %self.param +// CHECK:STDOUT: %self: @HasG.WithSelf.G.%Self.as_type.loc7_14.1 (%Self.as_type.491) = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %assoc0: %HasG.assoc_type = assoc_entity element0, %HasG.WithSelf.G.decl [concrete = constants.%assoc0] // CHECK:STDOUT: @@ -479,8 +479,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @HasF [from "package_a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.126 -// CHECK:STDOUT: .F = imports.%PackageA.import_ref.13a +// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.066 +// CHECK:STDOUT: .F = imports.%PackageA.import_ref.0b1 // CHECK:STDOUT: witness = (imports.%PackageA.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -488,15 +488,15 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.HasG.impl: %C.ref as %HasG.ref { // CHECK:STDOUT: %C.as.HasG.impl.G.decl: %C.as.HasG.impl.G.type = fn_decl @C.as.HasG.impl.G [concrete = constants.%C.as.HasG.impl.G] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.9dc = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.9dc = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.e62 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.e62 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.HasG.impl.%C.ref [concrete = constants.%C] // CHECK:STDOUT: %self: %C = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %HasG.impl_witness_table = impl_witness_table (%C.as.HasG.impl.G.decl), @C.as.HasG.impl [concrete] -// CHECK:STDOUT: %HasG.impl_witness: = impl_witness %HasG.impl_witness_table [concrete = constants.%HasG.impl_witness.079] +// CHECK:STDOUT: %HasG.impl_witness: = impl_witness %HasG.impl_witness_table [concrete = constants.%HasG.impl_witness.2af] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .G = %C.as.HasG.impl.G.decl @@ -506,8 +506,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: impl @D.as.HasF.impl: %D.ref as %HasF.ref { // CHECK:STDOUT: %D.as.HasF.impl.F.decl: %D.as.HasF.impl.F.type = fn_decl @D.as.HasF.impl.F [concrete = constants.%D.as.HasF.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.9e6 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.9e6 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.d93 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.d93 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %D = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @D.as.HasF.impl.%D.ref [concrete = constants.%D] @@ -524,15 +524,15 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: impl @D.as.HasG.impl: %D.ref as %HasG.ref { // CHECK:STDOUT: %D.as.HasG.impl.G.decl: %D.as.HasG.impl.G.type = fn_decl @D.as.HasG.impl.G [concrete = constants.%D.as.HasG.impl.G] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.9e6 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.9e6 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.d93 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.d93 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %D = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @D.as.HasG.impl.%D.ref [concrete = constants.%D] // CHECK:STDOUT: %self: %D = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %HasG.impl_witness_table = impl_witness_table (%D.as.HasG.impl.G.decl), @D.as.HasG.impl [concrete] -// CHECK:STDOUT: %HasG.impl_witness: = impl_witness %HasG.impl_witness_table [concrete = constants.%HasG.impl_witness.016] +// CHECK:STDOUT: %HasG.impl_witness: = impl_witness %HasG.impl_witness_table [concrete = constants.%HasG.impl_witness.d8a] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .G = %D.as.HasG.impl.G.decl @@ -552,15 +552,15 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: complete_type_witness = imports.%PackageA.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.43a +// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.927 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @HasG.WithSelf.G(@HasG.%Self: %HasG.type) { -// CHECK:STDOUT: %Self: %HasG.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.c9d)] -// CHECK:STDOUT: %Self.as_type.loc7_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc7_14.1 (constants.%Self.as_type.1f0)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc7_14.1 [symbolic = %pattern_type (constants.%pattern_type.ad3)] +// CHECK:STDOUT: %Self: %HasG.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.ea6)] +// CHECK:STDOUT: %Self.as_type.loc7_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc7_14.1 (constants.%Self.as_type.491)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc7_14.1 [symbolic = %pattern_type (constants.%pattern_type.3bb)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @HasG.WithSelf.G.%Self.as_type.loc7_14.1 (%Self.as_type.1f0)); +// CHECK:STDOUT: fn(%self.param: @HasG.WithSelf.G.%Self.as_type.loc7_14.1 (%Self.as_type.491)); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.HasG.impl.G(%self.param: %C) { @@ -568,10 +568,10 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @HasF.WithSelf.F(imports.%PackageA.import_ref.cee6a9.2: %HasF.type) [from "package_a.carbon"] { -// CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.697)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.db1)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.72e)] +// CHECK:STDOUT: generic fn @HasF.WithSelf.F(imports.%PackageA.import_ref.7de6df.2: %HasF.type) [from "package_a.carbon"] { +// CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.518)] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.6c4)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.d62)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -586,69 +586,69 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasG.WithSelf(constants.%Self.c9d) { +// CHECK:STDOUT: specific @HasG.WithSelf(constants.%Self.ea6) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.c9d -// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.8d5 -// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.2dd +// CHECK:STDOUT: %Self => constants.%Self.ea6 +// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.9c0 +// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.81d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasG.WithSelf.G(constants.%Self.c9d) { -// CHECK:STDOUT: %Self => constants.%Self.c9d -// CHECK:STDOUT: %Self.as_type.loc7_14.1 => constants.%Self.as_type.1f0 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ad3 +// CHECK:STDOUT: specific @HasG.WithSelf.G(constants.%Self.ea6) { +// CHECK:STDOUT: %Self => constants.%Self.ea6 +// CHECK:STDOUT: %Self.as_type.loc7_14.1 => constants.%Self.as_type.491 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3bb // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasG.WithSelf(constants.%HasG.facet.e87) { +// CHECK:STDOUT: specific @HasG.WithSelf(constants.%HasG.facet.3b8) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%HasG.facet.e87 -// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.1a6 -// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.435 +// CHECK:STDOUT: %Self => constants.%HasG.facet.3b8 +// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.499 +// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.11b // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasG.WithSelf.G(constants.%HasG.facet.e87) { -// CHECK:STDOUT: %Self => constants.%HasG.facet.e87 +// CHECK:STDOUT: specific @HasG.WithSelf.G(constants.%HasG.facet.3b8) { +// CHECK:STDOUT: %Self => constants.%HasG.facet.3b8 // CHECK:STDOUT: %Self.as_type.loc7_14.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9dc +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e62 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self.697) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self.518) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.697 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.7fc -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.d79 +// CHECK:STDOUT: %Self => constants.%Self.518 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.699 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.c81 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self.697) { -// CHECK:STDOUT: %Self => constants.%Self.697 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.db1 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.72e +// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self.518) { +// CHECK:STDOUT: %Self => constants.%Self.518 +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.6c4 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d62 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasF.facet -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.dde -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.198 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.4f1 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.7d3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%HasF.facet) { // CHECK:STDOUT: %Self => constants.%HasF.facet // CHECK:STDOUT: %Self.as_type => constants.%D -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9e6 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d93 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasG.WithSelf(constants.%HasG.facet.aa0) { +// CHECK:STDOUT: specific @HasG.WithSelf(constants.%HasG.facet.e65) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%HasG.facet.aa0 -// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.301 -// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.9a3 +// CHECK:STDOUT: %Self => constants.%HasG.facet.e65 +// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.f9f +// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.a44 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasG.WithSelf.G(constants.%HasG.facet.aa0) { -// CHECK:STDOUT: %Self => constants.%HasG.facet.aa0 +// CHECK:STDOUT: specific @HasG.WithSelf.G(constants.%HasG.facet.e65) { +// CHECK:STDOUT: %Self => constants.%HasG.facet.e65 // CHECK:STDOUT: %Self.as_type.loc7_14.1 => constants.%D -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9e6 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d93 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_cf.carbon @@ -657,23 +657,23 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.9dc: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.e62: type = pattern_type %C [concrete] // CHECK:STDOUT: %TestCF.type: type = fn_type @TestCF [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %TestCF: %TestCF.type = struct_value () [concrete] // CHECK:STDOUT: %HasF.type: type = facet_type <@HasF> [concrete] // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.7fc: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.d79: %HasF.WithSelf.F.type.7fc = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.699: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.c81: %HasF.WithSelf.F.type.699 = struct_value () [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.72e: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.d62: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %HasF.assoc_type: type = assoc_entity_type @HasF [concrete] -// CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, imports.%PackageA.import_ref.839 [concrete] +// CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, imports.%PackageA.import_ref.34d [concrete] // CHECK:STDOUT: %HasF.impl_witness: = impl_witness imports.%HasF.impl_witness_table [concrete] // CHECK:STDOUT: %HasF.facet: %HasF.type = facet_value %C, (%HasF.impl_witness) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.62d: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.c71: %HasF.WithSelf.F.type.62d = struct_value () [concrete] -// CHECK:STDOUT: %.0b3: type = fn_type_with_self_type %HasF.WithSelf.F.type.62d, %HasF.facet [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.87a: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.f2f: %HasF.WithSelf.F.type.87a = struct_value () [concrete] +// CHECK:STDOUT: %.11d: type = fn_type_with_self_type %HasF.WithSelf.F.type.87a, %HasF.facet [concrete] // CHECK:STDOUT: %C.as.HasF.impl.F.type: type = fn_type @C.as.HasF.impl.F [concrete] // CHECK:STDOUT: %C.as.HasF.impl.F: %C.as.HasF.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -690,18 +690,18 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: %PackageA.C: type = import_ref PackageA//default, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %PackageA.import_ref.8f2: = import_ref PackageA//default, loc8_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageA.import_ref.43a = import_ref PackageA//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %PackageA.import_ref.927 = import_ref PackageA//default, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %PackageA.HasF: type = import_ref PackageA//default, HasF, loaded [concrete = constants.%HasF.type] -// CHECK:STDOUT: %PackageA.import_ref.d76: %HasF.assoc_type = import_ref PackageA//default, loc5_21, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %PackageA.import_ref.067: %HasF.assoc_type = import_ref PackageA//default, loc5_21, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %PackageA.F = import_ref PackageA//default, F, unloaded -// CHECK:STDOUT: %PackageA.import_ref.cee6a9.2: %HasF.type = import_ref PackageA//default, loc4_16, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %PackageA.import_ref.126 = import_ref PackageA//default, loc4_16, unloaded -// CHECK:STDOUT: %PackageA.import_ref.839: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.7fc) = import_ref PackageA//default, loc5_21, loaded [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.d79)] -// CHECK:STDOUT: %PackageA.import_ref.102: = import_ref PackageA//default, loc11_16, loaded [concrete = constants.%HasF.impl_witness] -// CHECK:STDOUT: %PackageA.import_ref.fb5: type = import_ref PackageA//default, loc11_6, loaded [concrete = constants.%C] -// CHECK:STDOUT: %PackageA.import_ref.cec: type = import_ref PackageA//default, loc11_11, loaded [concrete = constants.%HasF.type] -// CHECK:STDOUT: %PackageA.import_ref.eab: %C.as.HasF.impl.F.type = import_ref PackageA//default, loc12_29, loaded [concrete = constants.%C.as.HasF.impl.F] -// CHECK:STDOUT: %HasF.impl_witness_table = impl_witness_table (%PackageA.import_ref.eab), @C.as.HasF.impl [concrete] +// CHECK:STDOUT: %PackageA.import_ref.7de6df.2: %HasF.type = import_ref PackageA//default, loc4_16, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %PackageA.import_ref.066 = import_ref PackageA//default, loc4_16, unloaded +// CHECK:STDOUT: %PackageA.import_ref.34d: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.699) = import_ref PackageA//default, loc5_21, loaded [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.c81)] +// CHECK:STDOUT: %PackageA.import_ref.6e8: = import_ref PackageA//default, loc11_16, loaded [concrete = constants.%HasF.impl_witness] +// CHECK:STDOUT: %PackageA.import_ref.7c2: type = import_ref PackageA//default, loc11_6, loaded [concrete = constants.%C] +// CHECK:STDOUT: %PackageA.import_ref.1c7: type = import_ref PackageA//default, loc11_11, loaded [concrete = constants.%HasF.type] +// CHECK:STDOUT: %PackageA.import_ref.f6f: %C.as.HasF.impl.F.type = import_ref PackageA//default, loc12_29, loaded [concrete = constants.%C.as.HasF.impl.F] +// CHECK:STDOUT: %HasF.impl_witness_table = impl_witness_table (%PackageA.import_ref.f6f), @C.as.HasF.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -713,8 +713,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %PackageA.import = import PackageA // CHECK:STDOUT: %TestCF.decl: %TestCF.type = fn_decl @TestCF [concrete = constants.%TestCF] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.9dc = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.9dc = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.e62 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.e62 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %c.param: %C = value_param call_param0 // CHECK:STDOUT: %.loc6: type = splice_block %C.ref [concrete = constants.%C] { @@ -727,23 +727,23 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @HasF [from "package_a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.126 -// CHECK:STDOUT: .F = imports.%PackageA.import_ref.d76 +// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.066 +// CHECK:STDOUT: .F = imports.%PackageA.import_ref.067 // CHECK:STDOUT: witness = (imports.%PackageA.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.HasF.impl: imports.%PackageA.import_ref.fb5 as imports.%PackageA.import_ref.cec [from "package_a.carbon"] { +// CHECK:STDOUT: impl @C.as.HasF.impl: imports.%PackageA.import_ref.7c2 as imports.%PackageA.import_ref.1c7 [from "package_a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%PackageA.import_ref.102 +// CHECK:STDOUT: witness = imports.%PackageA.import_ref.6e8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "package_a.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%PackageA.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.43a +// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.927 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestCF(%c.param: %C) { @@ -751,17 +751,17 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %PackageA.ref.loc7: = name_ref PackageA, imports.%PackageA [concrete = imports.%PackageA] // CHECK:STDOUT: %HasF.ref: type = name_ref HasF, imports.%PackageA.HasF [concrete = constants.%HasF.type] -// CHECK:STDOUT: %F.ref: %HasF.assoc_type = name_ref F, imports.%PackageA.import_ref.d76 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.0b3 = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] +// CHECK:STDOUT: %F.ref: %HasF.assoc_type = name_ref F, imports.%PackageA.import_ref.067 [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0: %.11d = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.HasF.impl.F.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @HasF.WithSelf.F(imports.%PackageA.import_ref.cee6a9.2: %HasF.type) [from "package_a.carbon"] { +// CHECK:STDOUT: generic fn @HasF.WithSelf.F(imports.%PackageA.import_ref.7de6df.2: %HasF.type) [from "package_a.carbon"] { // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.72e)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.d62)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -771,21 +771,21 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.7fc -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.d79 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.699 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.c81 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.72e +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d62 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasF.facet -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.62d -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.c71 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.87a +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.f2f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_df.carbon @@ -794,24 +794,24 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.9e6: type = pattern_type %D [concrete] +// CHECK:STDOUT: %pattern_type.d93: type = pattern_type %D [concrete] // CHECK:STDOUT: %TestDF.type: type = fn_type @TestDF [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %TestDF: %TestDF.type = struct_value () [concrete] // CHECK:STDOUT: %HasF.type: type = facet_type <@HasF> [concrete] // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.7fc: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.d79: %HasF.WithSelf.F.type.7fc = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.699: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.c81: %HasF.WithSelf.F.type.699 = struct_value () [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.72e: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.d62: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %HasF.assoc_type: type = assoc_entity_type @HasF [concrete] -// CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, imports.%PackageA.import_ref.839 [concrete] +// CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, imports.%PackageA.import_ref.34d [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %HasF.impl_witness: = impl_witness imports.%HasF.impl_witness_table [concrete] // CHECK:STDOUT: %HasF.facet: %HasF.type = facet_value %D, (%HasF.impl_witness) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.63e: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.924: %HasF.WithSelf.F.type.63e = struct_value () [concrete] -// CHECK:STDOUT: %.9d5: type = fn_type_with_self_type %HasF.WithSelf.F.type.63e, %HasF.facet [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.f9f: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.ea5: %HasF.WithSelf.F.type.f9f = struct_value () [concrete] +// CHECK:STDOUT: %.708: type = fn_type_with_self_type %HasF.WithSelf.F.type.f9f, %HasF.facet [concrete] // CHECK:STDOUT: %D.as.HasF.impl.F.type: type = fn_type @D.as.HasF.impl.F [concrete] // CHECK:STDOUT: %D.as.HasF.impl.F: %D.as.HasF.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -831,23 +831,23 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: %PackageB.D: type = import_ref PackageB//default, D, loaded [concrete = constants.%D] // CHECK:STDOUT: %PackageB.import_ref.8f2: = import_ref PackageB//default, loc10_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageB.import_ref.ddb = import_ref PackageB//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %PackageB.import_ref.4a4 = import_ref PackageB//default, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %PackageA.HasF: type = import_ref PackageA//default, HasF, loaded [concrete = constants.%HasF.type] -// CHECK:STDOUT: %PackageA.import_ref.d76: %HasF.assoc_type = import_ref PackageA//default, loc5_21, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %PackageA.import_ref.067: %HasF.assoc_type = import_ref PackageA//default, loc5_21, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %PackageA.F = import_ref PackageA//default, F, unloaded -// CHECK:STDOUT: %PackageA.import_ref.cee6a9.2: %HasF.type = import_ref PackageA//default, loc4_16, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %PackageA.import_ref.126 = import_ref PackageA//default, loc4_16, unloaded -// CHECK:STDOUT: %PackageA.import_ref.839: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.7fc) = import_ref PackageA//default, loc5_21, loaded [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.d79)] -// CHECK:STDOUT: %PackageA.import_ref.7fe = import_ref PackageA//default, loc11_16, unloaded +// CHECK:STDOUT: %PackageA.import_ref.7de6df.2: %HasF.type = import_ref PackageA//default, loc4_16, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %PackageA.import_ref.066 = import_ref PackageA//default, loc4_16, unloaded +// CHECK:STDOUT: %PackageA.import_ref.34d: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.699) = import_ref PackageA//default, loc5_21, loaded [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.c81)] +// CHECK:STDOUT: %PackageA.import_ref.b19 = import_ref PackageA//default, loc11_16, unloaded // CHECK:STDOUT: %PackageA.import_ref.8f2: = import_ref PackageA//default, loc8_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageA.import_ref.43a = import_ref PackageA//default, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %PackageA.import_ref.fb5: type = import_ref PackageA//default, loc11_6, loaded [concrete = constants.%C] -// CHECK:STDOUT: %PackageA.import_ref.cec: type = import_ref PackageA//default, loc11_11, loaded [concrete = constants.%HasF.type] -// CHECK:STDOUT: %PackageB.import_ref.638: = import_ref PackageB//default, loc18_25, loaded [concrete = constants.%HasF.impl_witness] -// CHECK:STDOUT: %PackageB.import_ref.577: type = import_ref PackageB//default, loc18_6, loaded [concrete = constants.%D] -// CHECK:STDOUT: %PackageB.import_ref.102: type = import_ref PackageB//default, loc18_19, loaded [concrete = constants.%HasF.type] -// CHECK:STDOUT: %PackageB.import_ref.6c0: %D.as.HasF.impl.F.type = import_ref PackageB//default, loc19_29, loaded [concrete = constants.%D.as.HasF.impl.F] -// CHECK:STDOUT: %HasF.impl_witness_table = impl_witness_table (%PackageB.import_ref.6c0), @D.as.HasF.impl [concrete] +// CHECK:STDOUT: %PackageA.import_ref.927 = import_ref PackageA//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %PackageA.import_ref.7c2: type = import_ref PackageA//default, loc11_6, loaded [concrete = constants.%C] +// CHECK:STDOUT: %PackageA.import_ref.1c7: type = import_ref PackageA//default, loc11_11, loaded [concrete = constants.%HasF.type] +// CHECK:STDOUT: %PackageB.import_ref.0c4: = import_ref PackageB//default, loc18_25, loaded [concrete = constants.%HasF.impl_witness] +// CHECK:STDOUT: %PackageB.import_ref.109: type = import_ref PackageB//default, loc18_6, loaded [concrete = constants.%D] +// CHECK:STDOUT: %PackageB.import_ref.ee7: type = import_ref PackageB//default, loc18_19, loaded [concrete = constants.%HasF.type] +// CHECK:STDOUT: %PackageB.import_ref.9ae: %D.as.HasF.impl.F.type = import_ref PackageB//default, loc19_29, loaded [concrete = constants.%D.as.HasF.impl.F] +// CHECK:STDOUT: %HasF.impl_witness_table = impl_witness_table (%PackageB.import_ref.9ae), @D.as.HasF.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -861,8 +861,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %PackageA.import = import PackageA // CHECK:STDOUT: %PackageB.import = import PackageB // CHECK:STDOUT: %TestDF.decl: %TestDF.type = fn_decl @TestDF [concrete = constants.%TestDF] { -// CHECK:STDOUT: %d.param_patt: %pattern_type.9e6 = value_param_pattern [concrete] -// CHECK:STDOUT: %d.patt: %pattern_type.9e6 = at_binding_pattern d, %d.param_patt [concrete] +// CHECK:STDOUT: %d.param_patt: %pattern_type.d93 = value_param_pattern [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.d93 = at_binding_pattern d, %d.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %d.param: %D = value_param call_param0 // CHECK:STDOUT: %.loc7: type = splice_block %D.ref [concrete = constants.%D] { @@ -875,35 +875,35 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @HasF [from "package_a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.126 -// CHECK:STDOUT: .F = imports.%PackageA.import_ref.d76 +// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.066 +// CHECK:STDOUT: .F = imports.%PackageA.import_ref.067 // CHECK:STDOUT: witness = (imports.%PackageA.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.HasF.impl: imports.%PackageA.import_ref.fb5 as imports.%PackageA.import_ref.cec [from "package_a.carbon"] { +// CHECK:STDOUT: impl @C.as.HasF.impl: imports.%PackageA.import_ref.7c2 as imports.%PackageA.import_ref.1c7 [from "package_a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%PackageA.import_ref.7fe +// CHECK:STDOUT: witness = imports.%PackageA.import_ref.b19 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @D.as.HasF.impl: imports.%PackageB.import_ref.577 as imports.%PackageB.import_ref.102 [from "package_b.carbon"] { +// CHECK:STDOUT: impl @D.as.HasF.impl: imports.%PackageB.import_ref.109 as imports.%PackageB.import_ref.ee7 [from "package_b.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%PackageB.import_ref.638 +// CHECK:STDOUT: witness = imports.%PackageB.import_ref.0c4 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @D [from "package_b.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%PackageB.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageB.import_ref.ddb +// CHECK:STDOUT: .Self = imports.%PackageB.import_ref.4a4 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "package_a.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%PackageA.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.43a +// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.927 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestDF(%d.param: %D) { @@ -911,17 +911,17 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %d.ref: %D = name_ref d, %d // CHECK:STDOUT: %PackageA.ref: = name_ref PackageA, imports.%PackageA [concrete = imports.%PackageA] // CHECK:STDOUT: %HasF.ref: type = name_ref HasF, imports.%PackageA.HasF [concrete = constants.%HasF.type] -// CHECK:STDOUT: %F.ref: %HasF.assoc_type = name_ref F, imports.%PackageA.import_ref.d76 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.9d5 = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%D.as.HasF.impl.F] +// CHECK:STDOUT: %F.ref: %HasF.assoc_type = name_ref F, imports.%PackageA.import_ref.067 [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0: %.708 = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%D.as.HasF.impl.F] // CHECK:STDOUT: %bound_method: = bound_method %d.ref, %impl.elem0 // CHECK:STDOUT: %D.as.HasF.impl.F.call: init %empty_tuple.type = call %bound_method(%d.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @HasF.WithSelf.F(imports.%PackageA.import_ref.cee6a9.2: %HasF.type) [from "package_a.carbon"] { +// CHECK:STDOUT: generic fn @HasF.WithSelf.F(imports.%PackageA.import_ref.7de6df.2: %HasF.type) [from "package_a.carbon"] { // CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.72e)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.d62)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -931,21 +931,21 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.7fc -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.d79 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.699 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.c81 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.72e +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d62 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasF.facet -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.63e -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.924 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.f9f +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.ea5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_cg.carbon @@ -954,24 +954,24 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.9dc: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.e62: type = pattern_type %C [concrete] // CHECK:STDOUT: %TestCG.type: type = fn_type @TestCG [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %TestCG: %TestCG.type = struct_value () [concrete] // CHECK:STDOUT: %HasG.type: type = facet_type <@HasG> [concrete] // CHECK:STDOUT: %Self: %HasG.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasG.WithSelf.G.type.09e: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %HasG.WithSelf.G.f6b: %HasG.WithSelf.G.type.09e = struct_value () [symbolic] +// CHECK:STDOUT: %HasG.WithSelf.G.type.353: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %HasG.WithSelf.G.0b9: %HasG.WithSelf.G.type.353 = struct_value () [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.2dd: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.96e: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %HasG.assoc_type: type = assoc_entity_type @HasG [concrete] -// CHECK:STDOUT: %assoc0: %HasG.assoc_type = assoc_entity element0, imports.%PackageB.import_ref.146 [concrete] +// CHECK:STDOUT: %assoc0: %HasG.assoc_type = assoc_entity element0, imports.%PackageB.import_ref.658 [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %HasG.impl_witness: = impl_witness imports.%HasG.impl_witness_table [concrete] // CHECK:STDOUT: %HasG.facet: %HasG.type = facet_value %C, (%HasG.impl_witness) [concrete] -// CHECK:STDOUT: %HasG.WithSelf.G.type.a56: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%HasG.facet) [concrete] -// CHECK:STDOUT: %HasG.WithSelf.G.a55: %HasG.WithSelf.G.type.a56 = struct_value () [concrete] -// CHECK:STDOUT: %.2ba: type = fn_type_with_self_type %HasG.WithSelf.G.type.a56, %HasG.facet [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.type.e39: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%HasG.facet) [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.207: %HasG.WithSelf.G.type.e39 = struct_value () [concrete] +// CHECK:STDOUT: %.50e: type = fn_type_with_self_type %HasG.WithSelf.G.type.e39, %HasG.facet [concrete] // CHECK:STDOUT: %C.as.HasG.impl.G.type: type = fn_type @C.as.HasG.impl.G [concrete] // CHECK:STDOUT: %C.as.HasG.impl.G: %C.as.HasG.impl.G.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -991,23 +991,23 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: %PackageA.C: type = import_ref PackageA//default, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %PackageA.import_ref.8f2: = import_ref PackageA//default, loc8_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageA.import_ref.43a = import_ref PackageA//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %PackageA.import_ref.927 = import_ref PackageA//default, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %PackageB.HasG: type = import_ref PackageB//default, HasG, loaded [concrete = constants.%HasG.type] -// CHECK:STDOUT: %PackageB.import_ref.711: %HasG.assoc_type = import_ref PackageB//default, loc7_21, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %PackageB.import_ref.8c0: %HasG.assoc_type = import_ref PackageB//default, loc7_21, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %PackageB.G = import_ref PackageB//default, G, unloaded -// CHECK:STDOUT: %PackageB.import_ref.ba962a.2: %HasG.type = import_ref PackageB//default, loc6_16, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %PackageB.import_ref.41d = import_ref PackageB//default, loc6_16, unloaded -// CHECK:STDOUT: %PackageB.import_ref.146: @HasG.WithSelf.%HasG.WithSelf.G.type (%HasG.WithSelf.G.type.09e) = import_ref PackageB//default, loc7_21, loaded [symbolic = @HasG.WithSelf.%HasG.WithSelf.G (constants.%HasG.WithSelf.G.f6b)] -// CHECK:STDOUT: %PackageB.import_ref.21d: = import_ref PackageB//default, loc13_25, loaded [concrete = constants.%HasG.impl_witness] -// CHECK:STDOUT: %PackageB.import_ref.895: type = import_ref PackageB//default, loc13_14, loaded [concrete = constants.%C] -// CHECK:STDOUT: %PackageB.import_ref.23efdf.1: type = import_ref PackageB//default, loc13_20, loaded [concrete = constants.%HasG.type] -// CHECK:STDOUT: %PackageB.import_ref.83d = import_ref PackageB//default, loc23_16, unloaded +// CHECK:STDOUT: %PackageB.import_ref.1d7a42.2: %HasG.type = import_ref PackageB//default, loc6_16, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %PackageB.import_ref.067 = import_ref PackageB//default, loc6_16, unloaded +// CHECK:STDOUT: %PackageB.import_ref.658: @HasG.WithSelf.%HasG.WithSelf.G.type (%HasG.WithSelf.G.type.353) = import_ref PackageB//default, loc7_21, loaded [symbolic = @HasG.WithSelf.%HasG.WithSelf.G (constants.%HasG.WithSelf.G.0b9)] +// CHECK:STDOUT: %PackageB.import_ref.d7f: = import_ref PackageB//default, loc13_25, loaded [concrete = constants.%HasG.impl_witness] +// CHECK:STDOUT: %PackageB.import_ref.4ab: type = import_ref PackageB//default, loc13_14, loaded [concrete = constants.%C] +// CHECK:STDOUT: %PackageB.import_ref.68e266.1: type = import_ref PackageB//default, loc13_20, loaded [concrete = constants.%HasG.type] +// CHECK:STDOUT: %PackageB.import_ref.f75 = import_ref PackageB//default, loc23_16, unloaded // CHECK:STDOUT: %PackageB.import_ref.8f2: = import_ref PackageB//default, loc10_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageB.import_ref.ddb = import_ref PackageB//default, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %PackageB.import_ref.577: type = import_ref PackageB//default, loc23_6, loaded [concrete = constants.%D] -// CHECK:STDOUT: %PackageB.import_ref.23efdf.2: type = import_ref PackageB//default, loc23_11, loaded [concrete = constants.%HasG.type] -// CHECK:STDOUT: %PackageB.import_ref.698: %C.as.HasG.impl.G.type = import_ref PackageB//default, loc14_29, loaded [concrete = constants.%C.as.HasG.impl.G] -// CHECK:STDOUT: %HasG.impl_witness_table = impl_witness_table (%PackageB.import_ref.698), @C.as.HasG.impl [concrete] +// CHECK:STDOUT: %PackageB.import_ref.4a4 = import_ref PackageB//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %PackageB.import_ref.109: type = import_ref PackageB//default, loc23_6, loaded [concrete = constants.%D] +// CHECK:STDOUT: %PackageB.import_ref.68e266.2: type = import_ref PackageB//default, loc23_11, loaded [concrete = constants.%HasG.type] +// CHECK:STDOUT: %PackageB.import_ref.b28: %C.as.HasG.impl.G.type = import_ref PackageB//default, loc14_29, loaded [concrete = constants.%C.as.HasG.impl.G] +// CHECK:STDOUT: %HasG.impl_witness_table = impl_witness_table (%PackageB.import_ref.b28), @C.as.HasG.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1021,8 +1021,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %PackageA.import = import PackageA // CHECK:STDOUT: %PackageB.import = import PackageB // CHECK:STDOUT: %TestCG.decl: %TestCG.type = fn_decl @TestCG [concrete = constants.%TestCG] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.9dc = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.9dc = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.e62 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.e62 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %c.param: %C = value_param call_param0 // CHECK:STDOUT: %.loc7: type = splice_block %C.ref [concrete = constants.%C] { @@ -1035,35 +1035,35 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @HasG [from "package_b.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageB.import_ref.41d -// CHECK:STDOUT: .G = imports.%PackageB.import_ref.711 +// CHECK:STDOUT: .Self = imports.%PackageB.import_ref.067 +// CHECK:STDOUT: .G = imports.%PackageB.import_ref.8c0 // CHECK:STDOUT: witness = (imports.%PackageB.G) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.HasG.impl: imports.%PackageB.import_ref.895 as imports.%PackageB.import_ref.23efdf.1 [from "package_b.carbon"] { +// CHECK:STDOUT: impl @C.as.HasG.impl: imports.%PackageB.import_ref.4ab as imports.%PackageB.import_ref.68e266.1 [from "package_b.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%PackageB.import_ref.21d +// CHECK:STDOUT: witness = imports.%PackageB.import_ref.d7f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @D.as.HasG.impl: imports.%PackageB.import_ref.577 as imports.%PackageB.import_ref.23efdf.2 [from "package_b.carbon"] { +// CHECK:STDOUT: impl @D.as.HasG.impl: imports.%PackageB.import_ref.109 as imports.%PackageB.import_ref.68e266.2 [from "package_b.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%PackageB.import_ref.83d +// CHECK:STDOUT: witness = imports.%PackageB.import_ref.f75 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "package_a.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%PackageA.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.43a +// CHECK:STDOUT: .Self = imports.%PackageA.import_ref.927 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @D [from "package_b.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%PackageB.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageB.import_ref.ddb +// CHECK:STDOUT: .Self = imports.%PackageB.import_ref.4a4 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestCG(%c.param: %C) { @@ -1071,17 +1071,17 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %PackageB.ref: = name_ref PackageB, imports.%PackageB [concrete = imports.%PackageB] // CHECK:STDOUT: %HasG.ref: type = name_ref HasG, imports.%PackageB.HasG [concrete = constants.%HasG.type] -// CHECK:STDOUT: %G.ref: %HasG.assoc_type = name_ref G, imports.%PackageB.import_ref.711 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.2ba = impl_witness_access constants.%HasG.impl_witness, element0 [concrete = constants.%C.as.HasG.impl.G] +// CHECK:STDOUT: %G.ref: %HasG.assoc_type = name_ref G, imports.%PackageB.import_ref.8c0 [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0: %.50e = impl_witness_access constants.%HasG.impl_witness, element0 [concrete = constants.%C.as.HasG.impl.G] // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.HasG.impl.G.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @HasG.WithSelf.G(imports.%PackageB.import_ref.ba962a.2: %HasG.type) [from "package_b.carbon"] { +// CHECK:STDOUT: generic fn @HasG.WithSelf.G(imports.%PackageB.import_ref.1d7a42.2: %HasG.type) [from "package_b.carbon"] { // CHECK:STDOUT: %Self: %HasG.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.2dd)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.96e)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -1091,21 +1091,21 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: specific @HasG.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.09e -// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.f6b +// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.353 +// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.0b9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasG.WithSelf.G(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2dd +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.96e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasG.WithSelf(constants.%HasG.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasG.facet -// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.a56 -// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.a55 +// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.e39 +// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.207 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_dg.carbon @@ -1114,24 +1114,24 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.9e6: type = pattern_type %D [concrete] +// CHECK:STDOUT: %pattern_type.d93: type = pattern_type %D [concrete] // CHECK:STDOUT: %TestDG.type: type = fn_type @TestDG [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %TestDG: %TestDG.type = struct_value () [concrete] // CHECK:STDOUT: %HasG.type: type = facet_type <@HasG> [concrete] // CHECK:STDOUT: %Self: %HasG.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasG.WithSelf.G.type.09e: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %HasG.WithSelf.G.f6b: %HasG.WithSelf.G.type.09e = struct_value () [symbolic] +// CHECK:STDOUT: %HasG.WithSelf.G.type.353: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %HasG.WithSelf.G.0b9: %HasG.WithSelf.G.type.353 = struct_value () [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.2dd: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.96e: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %HasG.assoc_type: type = assoc_entity_type @HasG [concrete] -// CHECK:STDOUT: %assoc0: %HasG.assoc_type = assoc_entity element0, imports.%PackageB.import_ref.146 [concrete] +// CHECK:STDOUT: %assoc0: %HasG.assoc_type = assoc_entity element0, imports.%PackageB.import_ref.658 [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %HasG.impl_witness: = impl_witness imports.%HasG.impl_witness_table [concrete] // CHECK:STDOUT: %HasG.facet: %HasG.type = facet_value %D, (%HasG.impl_witness) [concrete] -// CHECK:STDOUT: %HasG.WithSelf.G.type.66d: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%HasG.facet) [concrete] -// CHECK:STDOUT: %HasG.WithSelf.G.3c4: %HasG.WithSelf.G.type.66d = struct_value () [concrete] -// CHECK:STDOUT: %.779: type = fn_type_with_self_type %HasG.WithSelf.G.type.66d, %HasG.facet [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.type.c3d: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%HasG.facet) [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.7c3: %HasG.WithSelf.G.type.c3d = struct_value () [concrete] +// CHECK:STDOUT: %.cc9: type = fn_type_with_self_type %HasG.WithSelf.G.type.c3d, %HasG.facet [concrete] // CHECK:STDOUT: %D.as.HasG.impl.G.type: type = fn_type @D.as.HasG.impl.G [concrete] // CHECK:STDOUT: %D.as.HasG.impl.G: %D.as.HasG.impl.G.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -1148,23 +1148,23 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: %PackageB.D: type = import_ref PackageB//default, D, loaded [concrete = constants.%D] // CHECK:STDOUT: %PackageB.import_ref.8f2: = import_ref PackageB//default, loc10_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageB.import_ref.ddb = import_ref PackageB//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %PackageB.import_ref.4a4 = import_ref PackageB//default, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %PackageB.HasG: type = import_ref PackageB//default, HasG, loaded [concrete = constants.%HasG.type] -// CHECK:STDOUT: %PackageB.import_ref.711: %HasG.assoc_type = import_ref PackageB//default, loc7_21, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %PackageB.import_ref.8c0: %HasG.assoc_type = import_ref PackageB//default, loc7_21, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %PackageB.G = import_ref PackageB//default, G, unloaded -// CHECK:STDOUT: %PackageB.import_ref.ba962a.2: %HasG.type = import_ref PackageB//default, loc6_16, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %PackageB.import_ref.41d = import_ref PackageB//default, loc6_16, unloaded -// CHECK:STDOUT: %PackageB.import_ref.146: @HasG.WithSelf.%HasG.WithSelf.G.type (%HasG.WithSelf.G.type.09e) = import_ref PackageB//default, loc7_21, loaded [symbolic = @HasG.WithSelf.%HasG.WithSelf.G (constants.%HasG.WithSelf.G.f6b)] -// CHECK:STDOUT: %PackageB.import_ref.01b = import_ref PackageB//default, loc13_25, unloaded +// CHECK:STDOUT: %PackageB.import_ref.1d7a42.2: %HasG.type = import_ref PackageB//default, loc6_16, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %PackageB.import_ref.067 = import_ref PackageB//default, loc6_16, unloaded +// CHECK:STDOUT: %PackageB.import_ref.658: @HasG.WithSelf.%HasG.WithSelf.G.type (%HasG.WithSelf.G.type.353) = import_ref PackageB//default, loc7_21, loaded [symbolic = @HasG.WithSelf.%HasG.WithSelf.G (constants.%HasG.WithSelf.G.0b9)] +// CHECK:STDOUT: %PackageB.import_ref.199 = import_ref PackageB//default, loc13_25, unloaded // CHECK:STDOUT: %PackageB.import_ref.8db: = import_ref PackageB//default, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageB.import_ref.024 = import_ref PackageB//default, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %PackageB.import_ref.895: type = import_ref PackageB//default, loc13_14, loaded [concrete = constants.%C] -// CHECK:STDOUT: %PackageB.import_ref.23efdf.1: type = import_ref PackageB//default, loc13_20, loaded [concrete = constants.%HasG.type] -// CHECK:STDOUT: %PackageB.import_ref.aa8: = import_ref PackageB//default, loc23_16, loaded [concrete = constants.%HasG.impl_witness] -// CHECK:STDOUT: %PackageB.import_ref.577: type = import_ref PackageB//default, loc23_6, loaded [concrete = constants.%D] -// CHECK:STDOUT: %PackageB.import_ref.23efdf.2: type = import_ref PackageB//default, loc23_11, loaded [concrete = constants.%HasG.type] -// CHECK:STDOUT: %PackageB.import_ref.698: %D.as.HasG.impl.G.type = import_ref PackageB//default, loc24_29, loaded [concrete = constants.%D.as.HasG.impl.G] -// CHECK:STDOUT: %HasG.impl_witness_table = impl_witness_table (%PackageB.import_ref.698), @D.as.HasG.impl [concrete] +// CHECK:STDOUT: %PackageB.import_ref.288 = import_ref PackageB//default, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %PackageB.import_ref.4ab: type = import_ref PackageB//default, loc13_14, loaded [concrete = constants.%C] +// CHECK:STDOUT: %PackageB.import_ref.68e266.1: type = import_ref PackageB//default, loc13_20, loaded [concrete = constants.%HasG.type] +// CHECK:STDOUT: %PackageB.import_ref.3cb: = import_ref PackageB//default, loc23_16, loaded [concrete = constants.%HasG.impl_witness] +// CHECK:STDOUT: %PackageB.import_ref.109: type = import_ref PackageB//default, loc23_6, loaded [concrete = constants.%D] +// CHECK:STDOUT: %PackageB.import_ref.68e266.2: type = import_ref PackageB//default, loc23_11, loaded [concrete = constants.%HasG.type] +// CHECK:STDOUT: %PackageB.import_ref.b28: %D.as.HasG.impl.G.type = import_ref PackageB//default, loc24_29, loaded [concrete = constants.%D.as.HasG.impl.G] +// CHECK:STDOUT: %HasG.impl_witness_table = impl_witness_table (%PackageB.import_ref.b28), @D.as.HasG.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1176,8 +1176,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %PackageB.import = import PackageB // CHECK:STDOUT: %TestDG.decl: %TestDG.type = fn_decl @TestDG [concrete = constants.%TestDG] { -// CHECK:STDOUT: %d.param_patt: %pattern_type.9e6 = value_param_pattern [concrete] -// CHECK:STDOUT: %d.patt: %pattern_type.9e6 = at_binding_pattern d, %d.param_patt [concrete] +// CHECK:STDOUT: %d.param_patt: %pattern_type.d93 = value_param_pattern [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.d93 = at_binding_pattern d, %d.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %d.param: %D = value_param call_param0 // CHECK:STDOUT: %.loc6: type = splice_block %D.ref [concrete = constants.%D] { @@ -1190,35 +1190,35 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @HasG [from "package_b.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageB.import_ref.41d -// CHECK:STDOUT: .G = imports.%PackageB.import_ref.711 +// CHECK:STDOUT: .Self = imports.%PackageB.import_ref.067 +// CHECK:STDOUT: .G = imports.%PackageB.import_ref.8c0 // CHECK:STDOUT: witness = (imports.%PackageB.G) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.HasG.impl: imports.%PackageB.import_ref.895 as imports.%PackageB.import_ref.23efdf.1 [from "package_b.carbon"] { +// CHECK:STDOUT: impl @C.as.HasG.impl: imports.%PackageB.import_ref.4ab as imports.%PackageB.import_ref.68e266.1 [from "package_b.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%PackageB.import_ref.01b +// CHECK:STDOUT: witness = imports.%PackageB.import_ref.199 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @D.as.HasG.impl: imports.%PackageB.import_ref.577 as imports.%PackageB.import_ref.23efdf.2 [from "package_b.carbon"] { +// CHECK:STDOUT: impl @D.as.HasG.impl: imports.%PackageB.import_ref.109 as imports.%PackageB.import_ref.68e266.2 [from "package_b.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%PackageB.import_ref.aa8 +// CHECK:STDOUT: witness = imports.%PackageB.import_ref.3cb // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @D [from "package_b.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%PackageB.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageB.import_ref.ddb +// CHECK:STDOUT: .Self = imports.%PackageB.import_ref.4a4 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "package_b.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%PackageB.import_ref.8db // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageB.import_ref.024 +// CHECK:STDOUT: .Self = imports.%PackageB.import_ref.288 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestDG(%d.param: %D) { @@ -1226,17 +1226,17 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %d.ref: %D = name_ref d, %d // CHECK:STDOUT: %PackageB.ref.loc7: = name_ref PackageB, imports.%PackageB [concrete = imports.%PackageB] // CHECK:STDOUT: %HasG.ref: type = name_ref HasG, imports.%PackageB.HasG [concrete = constants.%HasG.type] -// CHECK:STDOUT: %G.ref: %HasG.assoc_type = name_ref G, imports.%PackageB.import_ref.711 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.779 = impl_witness_access constants.%HasG.impl_witness, element0 [concrete = constants.%D.as.HasG.impl.G] +// CHECK:STDOUT: %G.ref: %HasG.assoc_type = name_ref G, imports.%PackageB.import_ref.8c0 [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0: %.cc9 = impl_witness_access constants.%HasG.impl_witness, element0 [concrete = constants.%D.as.HasG.impl.G] // CHECK:STDOUT: %bound_method: = bound_method %d.ref, %impl.elem0 // CHECK:STDOUT: %D.as.HasG.impl.G.call: init %empty_tuple.type = call %bound_method(%d.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @HasG.WithSelf.G(imports.%PackageB.import_ref.ba962a.2: %HasG.type) [from "package_b.carbon"] { +// CHECK:STDOUT: generic fn @HasG.WithSelf.G(imports.%PackageB.import_ref.1d7a42.2: %HasG.type) [from "package_b.carbon"] { // CHECK:STDOUT: %Self: %HasG.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.2dd)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.96e)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -1246,21 +1246,21 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: specific @HasG.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.09e -// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.f6b +// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.353 +// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.0b9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasG.WithSelf.G(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2dd +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.96e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasG.WithSelf(constants.%HasG.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasG.facet -// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.66d -// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.3c4 +// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.c3d +// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.7c3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- associated_interface.carbon @@ -1269,10 +1269,10 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] // CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.fd3: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %Z.WithSelf.H.type.800: type = fn_type @Z.WithSelf.H, @Z.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %pattern_type.fb1: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Z.WithSelf.H.type.f29: type = fn_type @Z.WithSelf.H, @Z.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Z.WithSelf.H.a46: %Z.WithSelf.H.type.800 = struct_value () [symbolic] +// CHECK:STDOUT: %Z.WithSelf.H.014: %Z.WithSelf.H.type.f29 = struct_value () [symbolic] // CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z [concrete] // CHECK:STDOUT: %assoc0: %Z.assoc_type = assoc_entity element0, @Z.WithSelf.%Z.WithSelf.H.decl [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] @@ -1281,8 +1281,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %empty_tuple.type.as.Z.impl.H.type: type = fn_type @empty_tuple.type.as.Z.impl.H [concrete] // CHECK:STDOUT: %empty_tuple.type.as.Z.impl.H: %empty_tuple.type.as.Z.impl.H.type = struct_value () [concrete] // CHECK:STDOUT: %Z.facet: %Z.type = facet_value %empty_tuple.type, (%Z.impl_witness) [concrete] -// CHECK:STDOUT: %Z.WithSelf.H.type.13e: type = fn_type @Z.WithSelf.H, @Z.WithSelf(%Z.facet) [concrete] -// CHECK:STDOUT: %Z.WithSelf.H.df4: %Z.WithSelf.H.type.13e = struct_value () [concrete] +// CHECK:STDOUT: %Z.WithSelf.H.type.7ab: type = fn_type @Z.WithSelf.H, @Z.WithSelf(%Z.facet) [concrete] +// CHECK:STDOUT: %Z.WithSelf.H.6a1: %Z.WithSelf.H.type.7ab = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1311,9 +1311,9 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Z.WithSelf.H.decl: @Z.WithSelf.%Z.WithSelf.H.type (%Z.WithSelf.H.type.800) = fn_decl @Z.WithSelf.H [symbolic = @Z.WithSelf.%Z.WithSelf.H (constants.%Z.WithSelf.H.a46)] { -// CHECK:STDOUT: %self.param_patt: @Z.WithSelf.H.%pattern_type (%pattern_type.fd3) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Z.WithSelf.H.%pattern_type (%pattern_type.fd3) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %Z.WithSelf.H.decl: @Z.WithSelf.%Z.WithSelf.H.type (%Z.WithSelf.H.type.f29) = fn_decl @Z.WithSelf.H [symbolic = @Z.WithSelf.%Z.WithSelf.H (constants.%Z.WithSelf.H.014)] { +// CHECK:STDOUT: %self.param_patt: @Z.WithSelf.H.%pattern_type (%pattern_type.fb1) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Z.WithSelf.H.%pattern_type (%pattern_type.fb1) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @Z.WithSelf.H.%Self.as_type.loc5_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_14.1: type = splice_block %.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] { @@ -1354,7 +1354,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: generic fn @Z.WithSelf.H(@Z.%Self: %Z.type) { // CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.fd3)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.fb1)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @Z.WithSelf.H.%Self.as_type.loc5_14.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -1367,21 +1367,21 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: specific @Z.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %Z.WithSelf.H.type => constants.%Z.WithSelf.H.type.800 -// CHECK:STDOUT: %Z.WithSelf.H => constants.%Z.WithSelf.H.a46 +// CHECK:STDOUT: %Z.WithSelf.H.type => constants.%Z.WithSelf.H.type.f29 +// CHECK:STDOUT: %Z.WithSelf.H => constants.%Z.WithSelf.H.014 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf.H(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.fd3 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.fb1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Z.facet -// CHECK:STDOUT: %Z.WithSelf.H.type => constants.%Z.WithSelf.H.type.13e -// CHECK:STDOUT: %Z.WithSelf.H => constants.%Z.WithSelf.H.df4 +// CHECK:STDOUT: %Z.WithSelf.H.type => constants.%Z.WithSelf.H.type.7ab +// CHECK:STDOUT: %Z.WithSelf.H => constants.%Z.WithSelf.H.6a1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf.H(constants.%Z.facet) { @@ -1399,17 +1399,17 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] // CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Z.WithSelf.H.type.0bb: type = fn_type @Z.WithSelf.H, @Z.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %Z.WithSelf.H.c08: %Z.WithSelf.H.type.0bb = struct_value () [symbolic] +// CHECK:STDOUT: %Z.WithSelf.H.type.8f2: type = fn_type @Z.WithSelf.H, @Z.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %Z.WithSelf.H.ba9: %Z.WithSelf.H.type.8f2 = struct_value () [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.829: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.069: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z [concrete] -// CHECK:STDOUT: %assoc0: %Z.assoc_type = assoc_entity element0, imports.%PackageAssociatedInterface.import_ref.74a [concrete] +// CHECK:STDOUT: %assoc0: %Z.assoc_type = assoc_entity element0, imports.%PackageAssociatedInterface.import_ref.817 [concrete] // CHECK:STDOUT: %Z.impl_witness: = impl_witness imports.%Z.impl_witness_table [concrete] // CHECK:STDOUT: %Z.facet: %Z.type = facet_value %empty_tuple.type, (%Z.impl_witness) [concrete] -// CHECK:STDOUT: %Z.WithSelf.H.type.c5e: type = fn_type @Z.WithSelf.H, @Z.WithSelf(%Z.facet) [concrete] -// CHECK:STDOUT: %Z.WithSelf.H.d77: %Z.WithSelf.H.type.c5e = struct_value () [concrete] -// CHECK:STDOUT: %.660: type = fn_type_with_self_type %Z.WithSelf.H.type.c5e, %Z.facet [concrete] +// CHECK:STDOUT: %Z.WithSelf.H.type.bf1: type = fn_type @Z.WithSelf.H, @Z.WithSelf(%Z.facet) [concrete] +// CHECK:STDOUT: %Z.WithSelf.H.59d: %Z.WithSelf.H.type.bf1 = struct_value () [concrete] +// CHECK:STDOUT: %.0e9: type = fn_type_with_self_type %Z.WithSelf.H.type.bf1, %Z.facet [concrete] // CHECK:STDOUT: %empty_tuple.type.as.Z.impl.H.type: type = fn_type @empty_tuple.type.as.Z.impl.H [concrete] // CHECK:STDOUT: %empty_tuple.type.as.Z.impl.H: %empty_tuple.type.as.Z.impl.H.type = struct_value () [concrete] // CHECK:STDOUT: %empty_tuple.type.as.Z.impl.H.bound: = bound_method %empty_tuple, %empty_tuple.type.as.Z.impl.H [concrete] @@ -1425,16 +1425,16 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: import PackageAssociatedInterface//default // CHECK:STDOUT: } // CHECK:STDOUT: %PackageAssociatedInterface.Z: type = import_ref PackageAssociatedInterface//default, Z, loaded [concrete = constants.%Z.type] -// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.b3f: %Z.assoc_type = import_ref PackageAssociatedInterface//default, loc5_21, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.ce6: %Z.assoc_type = import_ref PackageAssociatedInterface//default, loc5_21, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %PackageAssociatedInterface.H = import_ref PackageAssociatedInterface//default, H, unloaded -// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.8f3fc1.2: %Z.type = import_ref PackageAssociatedInterface//default, loc4_13, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.6fc = import_ref PackageAssociatedInterface//default, loc4_13, unloaded -// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.74a: @Z.WithSelf.%Z.WithSelf.H.type (%Z.WithSelf.H.type.0bb) = import_ref PackageAssociatedInterface//default, loc5_21, loaded [symbolic = @Z.WithSelf.%Z.WithSelf.H (constants.%Z.WithSelf.H.c08)] -// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.f0f: = import_ref PackageAssociatedInterface//default, loc8_14, loaded [concrete = constants.%Z.impl_witness] +// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.04735e.2: %Z.type = import_ref PackageAssociatedInterface//default, loc4_13, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.70e = import_ref PackageAssociatedInterface//default, loc4_13, unloaded +// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.817: @Z.WithSelf.%Z.WithSelf.H.type (%Z.WithSelf.H.type.8f2) = import_ref PackageAssociatedInterface//default, loc5_21, loaded [symbolic = @Z.WithSelf.%Z.WithSelf.H (constants.%Z.WithSelf.H.ba9)] +// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.7cc: = import_ref PackageAssociatedInterface//default, loc8_14, loaded [concrete = constants.%Z.impl_witness] // CHECK:STDOUT: %PackageAssociatedInterface.import_ref.e5c: type = import_ref PackageAssociatedInterface//default, loc8_7, loaded [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.c4d: type = import_ref PackageAssociatedInterface//default, loc8_12, loaded [concrete = constants.%Z.type] -// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.a0b: %empty_tuple.type.as.Z.impl.H.type = import_ref PackageAssociatedInterface//default, loc9_29, loaded [concrete = constants.%empty_tuple.type.as.Z.impl.H] -// CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (%PackageAssociatedInterface.import_ref.a0b), @empty_tuple.type.as.Z.impl [concrete] +// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.f2b: type = import_ref PackageAssociatedInterface//default, loc8_12, loaded [concrete = constants.%Z.type] +// CHECK:STDOUT: %PackageAssociatedInterface.import_ref.1ac: %empty_tuple.type.as.Z.impl.H.type = import_ref PackageAssociatedInterface//default, loc9_29, loaded [concrete = constants.%empty_tuple.type.as.Z.impl.H] +// CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (%PackageAssociatedInterface.import_ref.1ac), @empty_tuple.type.as.Z.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1450,16 +1450,16 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Z [from "associated_interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageAssociatedInterface.import_ref.6fc -// CHECK:STDOUT: .H = imports.%PackageAssociatedInterface.import_ref.b3f +// CHECK:STDOUT: .Self = imports.%PackageAssociatedInterface.import_ref.70e +// CHECK:STDOUT: .H = imports.%PackageAssociatedInterface.import_ref.ce6 // CHECK:STDOUT: witness = (imports.%PackageAssociatedInterface.H) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @empty_tuple.type.as.Z.impl: imports.%PackageAssociatedInterface.import_ref.e5c as imports.%PackageAssociatedInterface.import_ref.c4d [from "associated_interface.carbon"] { +// CHECK:STDOUT: impl @empty_tuple.type.as.Z.impl: imports.%PackageAssociatedInterface.import_ref.e5c as imports.%PackageAssociatedInterface.import_ref.f2b [from "associated_interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%PackageAssociatedInterface.import_ref.f0f +// CHECK:STDOUT: witness = imports.%PackageAssociatedInterface.import_ref.7cc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @J() { @@ -1467,8 +1467,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %.loc7_4.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %PackageAssociatedInterface.ref: = name_ref PackageAssociatedInterface, imports.%PackageAssociatedInterface [concrete = imports.%PackageAssociatedInterface] // CHECK:STDOUT: %Z.ref: type = name_ref Z, imports.%PackageAssociatedInterface.Z [concrete = constants.%Z.type] -// CHECK:STDOUT: %H.ref: %Z.assoc_type = name_ref H, imports.%PackageAssociatedInterface.import_ref.b3f [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.660 = impl_witness_access constants.%Z.impl_witness, element0 [concrete = constants.%empty_tuple.type.as.Z.impl.H] +// CHECK:STDOUT: %H.ref: %Z.assoc_type = name_ref H, imports.%PackageAssociatedInterface.import_ref.ce6 [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0: %.0e9 = impl_witness_access constants.%Z.impl_witness, element0 [concrete = constants.%empty_tuple.type.as.Z.impl.H] // CHECK:STDOUT: %bound_method: = bound_method %.loc7_4.1, %impl.elem0 [concrete = constants.%empty_tuple.type.as.Z.impl.H.bound] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_4.2: %empty_tuple.type = converted %.loc7_4.1, %empty_tuple [concrete = constants.%empty_tuple] @@ -1476,10 +1476,10 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Z.WithSelf.H(imports.%PackageAssociatedInterface.import_ref.8f3fc1.2: %Z.type) [from "associated_interface.carbon"] { +// CHECK:STDOUT: generic fn @Z.WithSelf.H(imports.%PackageAssociatedInterface.import_ref.04735e.2: %Z.type) [from "associated_interface.carbon"] { // CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.829)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.069)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -1489,21 +1489,21 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: specific @Z.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %Z.WithSelf.H.type => constants.%Z.WithSelf.H.type.0bb -// CHECK:STDOUT: %Z.WithSelf.H => constants.%Z.WithSelf.H.c08 +// CHECK:STDOUT: %Z.WithSelf.H.type => constants.%Z.WithSelf.H.type.8f2 +// CHECK:STDOUT: %Z.WithSelf.H => constants.%Z.WithSelf.H.ba9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf.H(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.829 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.069 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf(constants.%Z.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Z.facet -// CHECK:STDOUT: %Z.WithSelf.H.type => constants.%Z.WithSelf.H.type.c5e -// CHECK:STDOUT: %Z.WithSelf.H => constants.%Z.WithSelf.H.d77 +// CHECK:STDOUT: %Z.WithSelf.H.type => constants.%Z.WithSelf.H.type.bf1 +// CHECK:STDOUT: %Z.WithSelf.H => constants.%Z.WithSelf.H.59d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- has_param.carbon @@ -1523,7 +1523,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] // CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.6cb: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.2b8: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %Y.WithSelf.K.type: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %Y.WithSelf.K: %Y.WithSelf.K.type = struct_value () [symbolic] // CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y [concrete] @@ -1569,8 +1569,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %Y.WithSelf.K.decl: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type) = fn_decl @Y.WithSelf.K [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K)] { -// CHECK:STDOUT: %self.param_patt: @Y.WithSelf.K.%pattern_type (%pattern_type.6cb) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @Y.WithSelf.K.%pattern_type (%pattern_type.6cb) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @Y.WithSelf.K.%pattern_type (%pattern_type.2b8) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @Y.WithSelf.K.%pattern_type (%pattern_type.2b8) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @Y.WithSelf.K.%Self.as_type.loc7_21.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc7_21.1: type = splice_block %.loc7_21.2 [symbolic = %Self.as_type.loc7_21.1 (constants.%Self.as_type)] { @@ -1609,7 +1609,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: generic fn @Y.WithSelf.K(@Y.%Self: %Y.type) { // CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc7_21.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc7_21.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc7_21.1 [symbolic = %pattern_type (constants.%pattern_type.6cb)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc7_21.1 [symbolic = %pattern_type (constants.%pattern_type.2b8)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.loc7_21.1 [symbolic = %require_complete (constants.%require_complete)] @@ -1636,7 +1636,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: specific @Y.WithSelf.K(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc7_21.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.6cb +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2b8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- has_generic_interface.carbon @@ -1646,11 +1646,11 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %GenericInterface.type.c0f: type = generic_interface_type @GenericInterface [concrete] +// CHECK:STDOUT: %GenericInterface.type.974: type = generic_interface_type @GenericInterface [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %GenericInterface.generic: %GenericInterface.type.c0f = struct_value () [concrete] -// CHECK:STDOUT: %GenericInterface.type.faf: type = facet_type <@GenericInterface, @GenericInterface(%U)> [symbolic] -// CHECK:STDOUT: %Self.305: %GenericInterface.type.faf = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %GenericInterface.generic: %GenericInterface.type.974 = struct_value () [concrete] +// CHECK:STDOUT: %GenericInterface.type.1d5: type = facet_type <@GenericInterface, @GenericInterface(%U)> [symbolic] +// CHECK:STDOUT: %Self.425: %GenericInterface.type.1d5 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %AnyParam.type: type = generic_class_type @AnyParam [concrete] // CHECK:STDOUT: %AnyParam.generic: %AnyParam.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] @@ -1658,32 +1658,32 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %X: %T = symbolic_binding X, 1 [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.ab1: type = pattern_type %GenericInterface.type.c0f [concrete] -// CHECK:STDOUT: %AnyParam.f01: type = class_type @AnyParam, @AnyParam(%GenericInterface.type.c0f, %GenericInterface.generic) [concrete] +// CHECK:STDOUT: %pattern_type.831: type = pattern_type %GenericInterface.type.974 [concrete] +// CHECK:STDOUT: %AnyParam.1d7: type = class_type @AnyParam, @AnyParam(%GenericInterface.type.974, %GenericInterface.generic) [concrete] // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] -// CHECK:STDOUT: %Self.e4e: %Y.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Y.WithSelf.K.type.9e5: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Self.e4e) [symbolic] -// CHECK:STDOUT: %Y.WithSelf.K.c45: %Y.WithSelf.K.type.9e5 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.cd5: type = facet_access_type %Self.e4e [symbolic] -// CHECK:STDOUT: %pattern_type.2bc: type = pattern_type %Self.as_type.cd5 [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.cd5 [symbolic] +// CHECK:STDOUT: %Self.746: %Y.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Y.WithSelf.K.type.1a2: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Self.746) [symbolic] +// CHECK:STDOUT: %Y.WithSelf.K.c42: %Y.WithSelf.K.type.1a2 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type.5d0: type = facet_access_type %Self.746 [symbolic] +// CHECK:STDOUT: %pattern_type.29b: type = pattern_type %Self.as_type.5d0 [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.5d0 [symbolic] // CHECK:STDOUT: %Y.impl_witness: = impl_witness @AnyParam.as.Y.impl.%Y.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.559: type = pattern_type %AnyParam.f01 [concrete] +// CHECK:STDOUT: %pattern_type.2f8: type = pattern_type %AnyParam.1d7 [concrete] // CHECK:STDOUT: %AnyParam.as.Y.impl.K.type: type = fn_type @AnyParam.as.Y.impl.K [concrete] // CHECK:STDOUT: %AnyParam.as.Y.impl.K: %AnyParam.as.Y.impl.K.type = struct_value () [concrete] -// CHECK:STDOUT: %Y.facet: %Y.type = facet_value %AnyParam.f01, (%Y.impl_witness) [concrete] -// CHECK:STDOUT: %Y.WithSelf.K.type.6fc: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Y.facet) [concrete] -// CHECK:STDOUT: %Y.WithSelf.K.821: %Y.WithSelf.K.type.6fc = struct_value () [concrete] +// CHECK:STDOUT: %Y.facet: %Y.type = facet_value %AnyParam.1d7, (%Y.impl_witness) [concrete] +// CHECK:STDOUT: %Y.WithSelf.K.type.576: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Y.facet) [concrete] +// CHECK:STDOUT: %Y.WithSelf.K.70f: %Y.WithSelf.K.type.576 = struct_value () [concrete] // CHECK:STDOUT: %L.type: type = fn_type @L [concrete] // CHECK:STDOUT: %L: %L.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %AnyParam.val: %AnyParam.f01 = struct_value () [concrete] +// CHECK:STDOUT: %AnyParam.val: %AnyParam.1d7 = struct_value () [concrete] // CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y [concrete] -// CHECK:STDOUT: %assoc0.7aa: %Y.assoc_type = assoc_entity element0, imports.%PackageHasParam.import_ref.8c9 [concrete] -// CHECK:STDOUT: %.fe5: type = fn_type_with_self_type %Y.WithSelf.K.type.6fc, %Y.facet [concrete] +// CHECK:STDOUT: %assoc0.78d: %Y.assoc_type = assoc_entity element0, imports.%PackageHasParam.import_ref.84c [concrete] +// CHECK:STDOUT: %.bbd: type = fn_type_with_self_type %Y.WithSelf.K.type.576, %Y.facet [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc13_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc13_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1699,15 +1699,15 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: %PackageHasParam.AnyParam: %AnyParam.type = import_ref PackageHasParam//default, AnyParam, loaded [concrete = constants.%AnyParam.generic] // CHECK:STDOUT: %PackageHasParam.import_ref.8f2: = import_ref PackageHasParam//default, loc4_34, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageHasParam.import_ref.c07 = import_ref PackageHasParam//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %PackageHasParam.import_ref.20c = import_ref PackageHasParam//default, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %PackageHasParam.import_ref.b3b: type = import_ref PackageHasParam//default, loc4_17, loaded [symbolic = @AnyParam.%T (constants.%T)] // CHECK:STDOUT: %PackageHasParam.import_ref.b42: @AnyParam.%T (%T) = import_ref PackageHasParam//default, loc4_27, loaded [symbolic = @AnyParam.%X (constants.%X)] // CHECK:STDOUT: %PackageHasParam.Y: type = import_ref PackageHasParam//default, Y, loaded [concrete = constants.%Y.type] -// CHECK:STDOUT: %PackageHasParam.import_ref.987: %Y.assoc_type = import_ref PackageHasParam//default, loc7_29, loaded [concrete = constants.%assoc0.7aa] -// CHECK:STDOUT: %PackageHasParam.K: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type.9e5) = import_ref PackageHasParam//default, K, loaded [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K.c45)] -// CHECK:STDOUT: %PackageHasParam.import_ref.9690c6.2: %Y.type = import_ref PackageHasParam//default, loc6_13, loaded [symbolic = constants.%Self.e4e] -// CHECK:STDOUT: %PackageHasParam.import_ref.d77 = import_ref PackageHasParam//default, loc6_13, unloaded -// CHECK:STDOUT: %PackageHasParam.import_ref.8c9: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type.9e5) = import_ref PackageHasParam//default, loc7_29, loaded [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K.c45)] +// CHECK:STDOUT: %PackageHasParam.import_ref.07e: %Y.assoc_type = import_ref PackageHasParam//default, loc7_29, loaded [concrete = constants.%assoc0.78d] +// CHECK:STDOUT: %PackageHasParam.K: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type.1a2) = import_ref PackageHasParam//default, K, loaded [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K.c42)] +// CHECK:STDOUT: %PackageHasParam.import_ref.3d0ead.2: %Y.type = import_ref PackageHasParam//default, loc6_13, loaded [symbolic = constants.%Self.746] +// CHECK:STDOUT: %PackageHasParam.import_ref.cf8 = import_ref PackageHasParam//default, loc6_13, unloaded +// CHECK:STDOUT: %PackageHasParam.import_ref.84c: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type.1a2) = import_ref PackageHasParam//default, loc7_29, loaded [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K.c42)] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1720,7 +1720,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %PackageHasParam.import = import PackageHasParam -// CHECK:STDOUT: %GenericInterface.decl: %GenericInterface.type.c0f = interface_decl @GenericInterface [concrete = constants.%GenericInterface.generic] { +// CHECK:STDOUT: %GenericInterface.decl: %GenericInterface.type.974 = interface_decl @GenericInterface [concrete = constants.%GenericInterface.generic] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6_32.1: type = splice_block %.loc6_32.2 [concrete = type] { @@ -1732,8 +1732,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: impl_decl @AnyParam.as.Y.impl [concrete] {} { // CHECK:STDOUT: %PackageHasParam.ref.loc8_6: = name_ref PackageHasParam, imports.%PackageHasParam [concrete = imports.%PackageHasParam] // CHECK:STDOUT: %AnyParam.ref: %AnyParam.type = name_ref AnyParam, imports.%PackageHasParam.AnyParam [concrete = constants.%AnyParam.generic] -// CHECK:STDOUT: %GenericInterface.ref: %GenericInterface.type.c0f = name_ref GenericInterface, file.%GenericInterface.decl [concrete = constants.%GenericInterface.generic] -// CHECK:STDOUT: %AnyParam: type = class_type @AnyParam, @AnyParam(constants.%GenericInterface.type.c0f, constants.%GenericInterface.generic) [concrete = constants.%AnyParam.f01] +// CHECK:STDOUT: %GenericInterface.ref: %GenericInterface.type.974 = name_ref GenericInterface, file.%GenericInterface.decl [concrete = constants.%GenericInterface.generic] +// CHECK:STDOUT: %AnyParam: type = class_type @AnyParam, @AnyParam(constants.%GenericInterface.type.974, constants.%GenericInterface.generic) [concrete = constants.%AnyParam.1d7] // CHECK:STDOUT: %PackageHasParam.ref.loc8_52: = name_ref PackageHasParam, imports.%PackageHasParam [concrete = imports.%PackageHasParam] // CHECK:STDOUT: %Y.ref: type = name_ref Y, imports.%PackageHasParam.Y [concrete = constants.%Y.type] // CHECK:STDOUT: } @@ -1744,11 +1744,11 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %U.loc6_29.1: type = symbolic_binding U, 0 [symbolic = %U.loc6_29.1 (constants.%U)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %GenericInterface.type: type = facet_type <@GenericInterface, @GenericInterface(%U.loc6_29.1)> [symbolic = %GenericInterface.type (constants.%GenericInterface.type.faf)] -// CHECK:STDOUT: %Self.loc6_38.2: @GenericInterface.%GenericInterface.type (%GenericInterface.type.faf) = symbolic_binding Self, 1 [symbolic = %Self.loc6_38.2 (constants.%Self.305)] +// CHECK:STDOUT: %GenericInterface.type: type = facet_type <@GenericInterface, @GenericInterface(%U.loc6_29.1)> [symbolic = %GenericInterface.type (constants.%GenericInterface.type.1d5)] +// CHECK:STDOUT: %Self.loc6_38.2: @GenericInterface.%GenericInterface.type (%GenericInterface.type.1d5) = symbolic_binding Self, 1 [symbolic = %Self.loc6_38.2 (constants.%Self.425)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc6_38.1: @GenericInterface.%GenericInterface.type (%GenericInterface.type.faf) = symbolic_binding Self, 1 [symbolic = %Self.loc6_38.2 (constants.%Self.305)] +// CHECK:STDOUT: %Self.loc6_38.1: @GenericInterface.%GenericInterface.type (%GenericInterface.type.1d5) = symbolic_binding Self, 1 [symbolic = %Self.loc6_38.2 (constants.%Self.425)] // CHECK:STDOUT: %GenericInterface.WithSelf.decl = interface_with_self_decl @GenericInterface [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1761,8 +1761,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Y [from "has_param.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.d77 -// CHECK:STDOUT: .K = imports.%PackageHasParam.import_ref.987 +// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.cf8 +// CHECK:STDOUT: .K = imports.%PackageHasParam.import_ref.07e // CHECK:STDOUT: witness = (imports.%PackageHasParam.K) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -1770,12 +1770,12 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: impl @AnyParam.as.Y.impl: %AnyParam as %Y.ref { // CHECK:STDOUT: %AnyParam.as.Y.impl.K.decl: %AnyParam.as.Y.impl.K.type = fn_decl @AnyParam.as.Y.impl.K [concrete = constants.%AnyParam.as.Y.impl.K] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.559 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.559 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.2f8 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.2f8 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: %AnyParam.f01 = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @AnyParam.as.Y.impl.%AnyParam [concrete = constants.%AnyParam.f01] -// CHECK:STDOUT: %self: %AnyParam.f01 = value_binding self, %self.param +// CHECK:STDOUT: %self.param: %AnyParam.1d7 = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @AnyParam.as.Y.impl.%AnyParam [concrete = constants.%AnyParam.1d7] +// CHECK:STDOUT: %self: %AnyParam.1d7 = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %Y.impl_witness_table = impl_witness_table (%AnyParam.as.Y.impl.K.decl), @AnyParam.as.Y.impl [concrete] // CHECK:STDOUT: %Y.impl_witness: = impl_witness %Y.impl_witness_table [concrete = constants.%Y.impl_witness] @@ -1797,14 +1797,14 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: complete_type_witness = imports.%PackageHasParam.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.c07 +// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.20c // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Y.WithSelf.K(imports.%PackageHasParam.import_ref.9690c6.2: %Y.type) [from "has_param.carbon"] { -// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.e4e)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.cd5)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.2bc)] +// CHECK:STDOUT: generic fn @Y.WithSelf.K(imports.%PackageHasParam.import_ref.3d0ead.2: %Y.type) [from "has_param.carbon"] { +// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.746)] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.5d0)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.29b)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type [symbolic = %require_complete (constants.%require_complete)] @@ -1812,7 +1812,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @AnyParam.as.Y.impl.K(%self.param: %AnyParam.f01) { +// CHECK:STDOUT: fn @AnyParam.as.Y.impl.K(%self.param: %AnyParam.1d7) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1820,37 +1820,37 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @L() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %obj.patt: %pattern_type.559 = ref_binding_pattern obj [concrete] -// CHECK:STDOUT: %obj.var_patt: %pattern_type.559 = var_pattern %obj.patt [concrete] +// CHECK:STDOUT: %obj.patt: %pattern_type.2f8 = ref_binding_pattern obj [concrete] +// CHECK:STDOUT: %obj.var_patt: %pattern_type.2f8 = var_pattern %obj.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %obj.var: ref %AnyParam.f01 = var %obj.var_patt +// CHECK:STDOUT: %obj.var: ref %AnyParam.1d7 = var %obj.var_patt // CHECK:STDOUT: %.loc13_58.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc13_58.2: init %AnyParam.f01 to %obj.var = class_init () [concrete = constants.%AnyParam.val] -// CHECK:STDOUT: %.loc13_3: init %AnyParam.f01 = converted %.loc13_58.1, %.loc13_58.2 [concrete = constants.%AnyParam.val] +// CHECK:STDOUT: %.loc13_58.2: init %AnyParam.1d7 to %obj.var = class_init () [concrete = constants.%AnyParam.val] +// CHECK:STDOUT: %.loc13_3: init %AnyParam.1d7 = converted %.loc13_58.1, %.loc13_58.2 [concrete = constants.%AnyParam.val] // CHECK:STDOUT: assign %obj.var, %.loc13_3 -// CHECK:STDOUT: %.loc13_53: type = splice_block %AnyParam [concrete = constants.%AnyParam.f01] { +// CHECK:STDOUT: %.loc13_53: type = splice_block %AnyParam [concrete = constants.%AnyParam.1d7] { // CHECK:STDOUT: %PackageHasParam.ref.loc13: = name_ref PackageHasParam, imports.%PackageHasParam [concrete = imports.%PackageHasParam] // CHECK:STDOUT: %AnyParam.ref: %AnyParam.type = name_ref AnyParam, imports.%PackageHasParam.AnyParam [concrete = constants.%AnyParam.generic] -// CHECK:STDOUT: %GenericInterface.ref: %GenericInterface.type.c0f = name_ref GenericInterface, file.%GenericInterface.decl [concrete = constants.%GenericInterface.generic] -// CHECK:STDOUT: %AnyParam: type = class_type @AnyParam, @AnyParam(constants.%GenericInterface.type.c0f, constants.%GenericInterface.generic) [concrete = constants.%AnyParam.f01] +// CHECK:STDOUT: %GenericInterface.ref: %GenericInterface.type.974 = name_ref GenericInterface, file.%GenericInterface.decl [concrete = constants.%GenericInterface.generic] +// CHECK:STDOUT: %AnyParam: type = class_type @AnyParam, @AnyParam(constants.%GenericInterface.type.974, constants.%GenericInterface.generic) [concrete = constants.%AnyParam.1d7] // CHECK:STDOUT: } -// CHECK:STDOUT: %obj: ref %AnyParam.f01 = ref_binding obj, %obj.var -// CHECK:STDOUT: %obj.ref: ref %AnyParam.f01 = name_ref obj, %obj +// CHECK:STDOUT: %obj: ref %AnyParam.1d7 = ref_binding obj, %obj.var +// CHECK:STDOUT: %obj.ref: ref %AnyParam.1d7 = name_ref obj, %obj // CHECK:STDOUT: %PackageHasParam.ref.loc14: = name_ref PackageHasParam, imports.%PackageHasParam [concrete = imports.%PackageHasParam] // CHECK:STDOUT: %Y.ref: type = name_ref Y, imports.%PackageHasParam.Y [concrete = constants.%Y.type] -// CHECK:STDOUT: %K.ref: %Y.assoc_type = name_ref K, imports.%PackageHasParam.import_ref.987 [concrete = constants.%assoc0.7aa] -// CHECK:STDOUT: %impl.elem0: %.fe5 = impl_witness_access constants.%Y.impl_witness, element0 [concrete = constants.%AnyParam.as.Y.impl.K] +// CHECK:STDOUT: %K.ref: %Y.assoc_type = name_ref K, imports.%PackageHasParam.import_ref.07e [concrete = constants.%assoc0.78d] +// CHECK:STDOUT: %impl.elem0: %.bbd = impl_witness_access constants.%Y.impl_witness, element0 [concrete = constants.%AnyParam.as.Y.impl.K] // CHECK:STDOUT: %bound_method: = bound_method %obj.ref, %impl.elem0 -// CHECK:STDOUT: %.loc14: %AnyParam.f01 = acquire_value %obj.ref +// CHECK:STDOUT: %.loc14: %AnyParam.1d7 = acquire_value %obj.ref // CHECK:STDOUT: %AnyParam.as.Y.impl.K.call: init %empty_tuple.type = call %bound_method(%.loc14) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %obj.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %obj.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%obj.var) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_3.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13_3.2(%self.param: ref %AnyParam.f01) { +// CHECK:STDOUT: fn @Destroy.Op.loc13_3.2(%self.param: ref %AnyParam.1d7) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1859,7 +1859,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %U.loc6_29.1 => constants.%U // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @GenericInterface.WithSelf(constants.%U, constants.%Self.305) {} +// CHECK:STDOUT: specific @GenericInterface.WithSelf(constants.%U, constants.%Self.425) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @AnyParam(constants.%T, constants.%X) { // CHECK:STDOUT: %T => constants.%T @@ -1867,38 +1867,38 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %pattern_type => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AnyParam(constants.%GenericInterface.type.c0f, constants.%GenericInterface.generic) { -// CHECK:STDOUT: %T => constants.%GenericInterface.type.c0f +// CHECK:STDOUT: specific @AnyParam(constants.%GenericInterface.type.974, constants.%GenericInterface.generic) { +// CHECK:STDOUT: %T => constants.%GenericInterface.type.974 // CHECK:STDOUT: %X => constants.%GenericInterface.generic -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ab1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.831 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.e4e) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.746) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.e4e -// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.9e5 -// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.c45 +// CHECK:STDOUT: %Self => constants.%Self.746 +// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.1a2 +// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.c42 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf.K(constants.%Self.e4e) { -// CHECK:STDOUT: %Self => constants.%Self.e4e -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.cd5 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2bc +// CHECK:STDOUT: specific @Y.WithSelf.K(constants.%Self.746) { +// CHECK:STDOUT: %Self => constants.%Self.746 +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.5d0 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.29b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y.WithSelf(constants.%Y.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Y.facet -// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.6fc -// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.821 +// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.576 +// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.70f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y.WithSelf.K(constants.%Y.facet) { // CHECK:STDOUT: %Self => constants.%Y.facet -// CHECK:STDOUT: %Self.as_type => constants.%AnyParam.f01 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.559 +// CHECK:STDOUT: %Self.as_type => constants.%AnyParam.1d7 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2f8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_generic_interface_as_param.carbon @@ -1914,35 +1914,35 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %X: %T = symbolic_binding X, 1 [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %GenericInterface.type.c0f: type = generic_interface_type @GenericInterface [concrete] -// CHECK:STDOUT: %GenericInterface.generic: %GenericInterface.type.c0f = struct_value () [concrete] +// CHECK:STDOUT: %GenericInterface.type.974: type = generic_interface_type @GenericInterface [concrete] +// CHECK:STDOUT: %GenericInterface.generic: %GenericInterface.type.974 = struct_value () [concrete] // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %GenericInterface.type.faf: type = facet_type <@GenericInterface, @GenericInterface(%U)> [symbolic] -// CHECK:STDOUT: %Self.5af: %GenericInterface.type.faf = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %pattern_type.ab1: type = pattern_type %GenericInterface.type.c0f [concrete] -// CHECK:STDOUT: %AnyParam.f01: type = class_type @AnyParam, @AnyParam(%GenericInterface.type.c0f, %GenericInterface.generic) [concrete] -// CHECK:STDOUT: %pattern_type.559: type = pattern_type %AnyParam.f01 [concrete] +// CHECK:STDOUT: %GenericInterface.type.1d5: type = facet_type <@GenericInterface, @GenericInterface(%U)> [symbolic] +// CHECK:STDOUT: %Self.4c1: %GenericInterface.type.1d5 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %pattern_type.831: type = pattern_type %GenericInterface.type.974 [concrete] +// CHECK:STDOUT: %AnyParam.1d7: type = class_type @AnyParam, @AnyParam(%GenericInterface.type.974, %GenericInterface.generic) [concrete] +// CHECK:STDOUT: %pattern_type.2f8: type = pattern_type %AnyParam.1d7 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %AnyParam.val: %AnyParam.f01 = struct_value () [concrete] +// CHECK:STDOUT: %AnyParam.val: %AnyParam.1d7 = struct_value () [concrete] // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] -// CHECK:STDOUT: %Self.e4e: %Y.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Y.WithSelf.K.type.9e5: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Self.e4e) [symbolic] -// CHECK:STDOUT: %Y.WithSelf.K.c45: %Y.WithSelf.K.type.9e5 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.cd5: type = facet_access_type %Self.e4e [symbolic] -// CHECK:STDOUT: %pattern_type.2bc: type = pattern_type %Self.as_type.cd5 [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.cd5 [symbolic] +// CHECK:STDOUT: %Self.746: %Y.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Y.WithSelf.K.type.1a2: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Self.746) [symbolic] +// CHECK:STDOUT: %Y.WithSelf.K.c42: %Y.WithSelf.K.type.1a2 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type.5d0: type = facet_access_type %Self.746 [symbolic] +// CHECK:STDOUT: %pattern_type.29b: type = pattern_type %Self.as_type.5d0 [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.5d0 [symbolic] // CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y [concrete] -// CHECK:STDOUT: %assoc0.7aa: %Y.assoc_type = assoc_entity element0, imports.%PackageHasParam.import_ref.8c9 [concrete] +// CHECK:STDOUT: %assoc0.78d: %Y.assoc_type = assoc_entity element0, imports.%PackageHasParam.import_ref.84c [concrete] // CHECK:STDOUT: %Y.impl_witness: = impl_witness imports.%Y.impl_witness_table [concrete] -// CHECK:STDOUT: %Y.facet: %Y.type = facet_value %AnyParam.f01, (%Y.impl_witness) [concrete] -// CHECK:STDOUT: %Y.WithSelf.K.type.71e: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Y.facet) [concrete] -// CHECK:STDOUT: %Y.WithSelf.K.286: %Y.WithSelf.K.type.71e = struct_value () [concrete] -// CHECK:STDOUT: %.708: type = fn_type_with_self_type %Y.WithSelf.K.type.71e, %Y.facet [concrete] +// CHECK:STDOUT: %Y.facet: %Y.type = facet_value %AnyParam.1d7, (%Y.impl_witness) [concrete] +// CHECK:STDOUT: %Y.WithSelf.K.type.d6d: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Y.facet) [concrete] +// CHECK:STDOUT: %Y.WithSelf.K.14e: %Y.WithSelf.K.type.d6d = struct_value () [concrete] +// CHECK:STDOUT: %.918: type = fn_type_with_self_type %Y.WithSelf.K.type.d6d, %Y.facet [concrete] // CHECK:STDOUT: %AnyParam.as.Y.impl.K.type: type = fn_type @AnyParam.as.Y.impl.K [concrete] // CHECK:STDOUT: %AnyParam.as.Y.impl.K: %AnyParam.as.Y.impl.K.type = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1962,23 +1962,23 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: %PackageHasParam.AnyParam: %AnyParam.type = import_ref PackageHasParam//default, AnyParam, loaded [concrete = constants.%AnyParam.generic] // CHECK:STDOUT: %PackageHasParam.import_ref.8f2: = import_ref PackageHasParam//default, loc4_34, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageHasParam.import_ref.c07 = import_ref PackageHasParam//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %PackageHasParam.import_ref.20c = import_ref PackageHasParam//default, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %PackageHasParam.import_ref.b3b: type = import_ref PackageHasParam//default, loc4_17, loaded [symbolic = @AnyParam.%T (constants.%T)] // CHECK:STDOUT: %PackageHasParam.import_ref.b42: @AnyParam.%T (%T) = import_ref PackageHasParam//default, loc4_27, loaded [symbolic = @AnyParam.%X (constants.%X)] -// CHECK:STDOUT: %PackageGenericInterface.GenericInterface: %GenericInterface.type.c0f = import_ref PackageGenericInterface//default, GenericInterface, loaded [concrete = constants.%GenericInterface.generic] -// CHECK:STDOUT: %PackageGenericInterface.import_ref.b9c = import_ref PackageGenericInterface//default, loc6_38, unloaded +// CHECK:STDOUT: %PackageGenericInterface.GenericInterface: %GenericInterface.type.974 = import_ref PackageGenericInterface//default, GenericInterface, loaded [concrete = constants.%GenericInterface.generic] +// CHECK:STDOUT: %PackageGenericInterface.import_ref.822 = import_ref PackageGenericInterface//default, loc6_38, unloaded // CHECK:STDOUT: %PackageGenericInterface.import_ref.b3bc94.2: type = import_ref PackageGenericInterface//default, loc6_29, loaded [symbolic = @GenericInterface.%U (constants.%U)] // CHECK:STDOUT: %PackageHasParam.Y: type = import_ref PackageHasParam//default, Y, loaded [concrete = constants.%Y.type] -// CHECK:STDOUT: %PackageHasParam.import_ref.987: %Y.assoc_type = import_ref PackageHasParam//default, loc7_29, loaded [concrete = constants.%assoc0.7aa] +// CHECK:STDOUT: %PackageHasParam.import_ref.07e: %Y.assoc_type = import_ref PackageHasParam//default, loc7_29, loaded [concrete = constants.%assoc0.78d] // CHECK:STDOUT: %PackageHasParam.K = import_ref PackageHasParam//default, K, unloaded -// CHECK:STDOUT: %PackageHasParam.import_ref.9690c6.2: %Y.type = import_ref PackageHasParam//default, loc6_13, loaded [symbolic = constants.%Self.e4e] -// CHECK:STDOUT: %PackageHasParam.import_ref.d77 = import_ref PackageHasParam//default, loc6_13, unloaded -// CHECK:STDOUT: %PackageHasParam.import_ref.8c9: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type.9e5) = import_ref PackageHasParam//default, loc7_29, loaded [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K.c45)] -// CHECK:STDOUT: %PackageGenericInterface.import_ref.0d9: = import_ref PackageGenericInterface//default, loc8_70, loaded [concrete = constants.%Y.impl_witness] -// CHECK:STDOUT: %PackageGenericInterface.import_ref.d14: type = import_ref PackageGenericInterface//default, loc8_47, loaded [concrete = constants.%AnyParam.f01] -// CHECK:STDOUT: %PackageGenericInterface.import_ref.974: type = import_ref PackageGenericInterface//default, loc8_67, loaded [concrete = constants.%Y.type] -// CHECK:STDOUT: %PackageGenericInterface.import_ref.f35: %AnyParam.as.Y.impl.K.type = import_ref PackageGenericInterface//default, loc9_29, loaded [concrete = constants.%AnyParam.as.Y.impl.K] -// CHECK:STDOUT: %Y.impl_witness_table = impl_witness_table (%PackageGenericInterface.import_ref.f35), @AnyParam.as.Y.impl [concrete] +// CHECK:STDOUT: %PackageHasParam.import_ref.3d0ead.2: %Y.type = import_ref PackageHasParam//default, loc6_13, loaded [symbolic = constants.%Self.746] +// CHECK:STDOUT: %PackageHasParam.import_ref.cf8 = import_ref PackageHasParam//default, loc6_13, unloaded +// CHECK:STDOUT: %PackageHasParam.import_ref.84c: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type.1a2) = import_ref PackageHasParam//default, loc7_29, loaded [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K.c42)] +// CHECK:STDOUT: %PackageGenericInterface.import_ref.545: = import_ref PackageGenericInterface//default, loc8_70, loaded [concrete = constants.%Y.impl_witness] +// CHECK:STDOUT: %PackageGenericInterface.import_ref.74b: type = import_ref PackageGenericInterface//default, loc8_47, loaded [concrete = constants.%AnyParam.1d7] +// CHECK:STDOUT: %PackageGenericInterface.import_ref.38d: type = import_ref PackageGenericInterface//default, loc8_67, loaded [concrete = constants.%Y.type] +// CHECK:STDOUT: %PackageGenericInterface.import_ref.325: %AnyParam.as.Y.impl.K.type = import_ref PackageGenericInterface//default, loc9_29, loaded [concrete = constants.%AnyParam.as.Y.impl.K] +// CHECK:STDOUT: %Y.impl_witness_table = impl_witness_table (%PackageGenericInterface.import_ref.325), @AnyParam.as.Y.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1999,12 +1999,12 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic = %U (constants.%U)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %GenericInterface.type: type = facet_type <@GenericInterface, @GenericInterface(%U)> [symbolic = %GenericInterface.type (constants.%GenericInterface.type.faf)] -// CHECK:STDOUT: %Self: @GenericInterface.%GenericInterface.type (%GenericInterface.type.faf) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.5af)] +// CHECK:STDOUT: %GenericInterface.type: type = facet_type <@GenericInterface, @GenericInterface(%U)> [symbolic = %GenericInterface.type (constants.%GenericInterface.type.1d5)] +// CHECK:STDOUT: %Self: @GenericInterface.%GenericInterface.type (%GenericInterface.type.1d5) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.4c1)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageGenericInterface.import_ref.b9c +// CHECK:STDOUT: .Self = imports.%PackageGenericInterface.import_ref.822 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -2013,16 +2013,16 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Y [from "has_param.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.d77 -// CHECK:STDOUT: .K = imports.%PackageHasParam.import_ref.987 +// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.cf8 +// CHECK:STDOUT: .K = imports.%PackageHasParam.import_ref.07e // CHECK:STDOUT: witness = (imports.%PackageHasParam.K) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @AnyParam.as.Y.impl: imports.%PackageGenericInterface.import_ref.d14 as imports.%PackageGenericInterface.import_ref.974 [from "has_generic_interface.carbon"] { +// CHECK:STDOUT: impl @AnyParam.as.Y.impl: imports.%PackageGenericInterface.import_ref.74b as imports.%PackageGenericInterface.import_ref.38d [from "has_generic_interface.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%PackageGenericInterface.import_ref.0d9 +// CHECK:STDOUT: witness = imports.%PackageGenericInterface.import_ref.545 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @AnyParam(imports.%PackageHasParam.import_ref.b3b: type, imports.%PackageHasParam.import_ref.b42: @AnyParam.%T (%T)) [from "has_param.carbon"] { @@ -2036,46 +2036,46 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: complete_type_witness = imports.%PackageHasParam.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.c07 +// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.20c // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @M() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %obj.patt: %pattern_type.559 = ref_binding_pattern obj [concrete] -// CHECK:STDOUT: %obj.var_patt: %pattern_type.559 = var_pattern %obj.patt [concrete] +// CHECK:STDOUT: %obj.patt: %pattern_type.2f8 = ref_binding_pattern obj [concrete] +// CHECK:STDOUT: %obj.var_patt: %pattern_type.2f8 = var_pattern %obj.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %obj.var: ref %AnyParam.f01 = var %obj.var_patt +// CHECK:STDOUT: %obj.var: ref %AnyParam.1d7 = var %obj.var_patt // CHECK:STDOUT: %.loc9_50.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc9_50.2: init %AnyParam.f01 to %obj.var = class_init () [concrete = constants.%AnyParam.val] -// CHECK:STDOUT: %.loc8: init %AnyParam.f01 = converted %.loc9_50.1, %.loc9_50.2 [concrete = constants.%AnyParam.val] +// CHECK:STDOUT: %.loc9_50.2: init %AnyParam.1d7 to %obj.var = class_init () [concrete = constants.%AnyParam.val] +// CHECK:STDOUT: %.loc8: init %AnyParam.1d7 = converted %.loc9_50.1, %.loc9_50.2 [concrete = constants.%AnyParam.val] // CHECK:STDOUT: assign %obj.var, %.loc8 -// CHECK:STDOUT: %.loc9_45: type = splice_block %AnyParam [concrete = constants.%AnyParam.f01] { +// CHECK:STDOUT: %.loc9_45: type = splice_block %AnyParam [concrete = constants.%AnyParam.1d7] { // CHECK:STDOUT: %PackageHasParam.ref.loc8: = name_ref PackageHasParam, imports.%PackageHasParam [concrete = imports.%PackageHasParam] // CHECK:STDOUT: %AnyParam.ref: %AnyParam.type = name_ref AnyParam, imports.%PackageHasParam.AnyParam [concrete = constants.%AnyParam.generic] // CHECK:STDOUT: %PackageGenericInterface.ref: = name_ref PackageGenericInterface, imports.%PackageGenericInterface [concrete = imports.%PackageGenericInterface] -// CHECK:STDOUT: %GenericInterface.ref: %GenericInterface.type.c0f = name_ref GenericInterface, imports.%PackageGenericInterface.GenericInterface [concrete = constants.%GenericInterface.generic] -// CHECK:STDOUT: %AnyParam: type = class_type @AnyParam, @AnyParam(constants.%GenericInterface.type.c0f, constants.%GenericInterface.generic) [concrete = constants.%AnyParam.f01] +// CHECK:STDOUT: %GenericInterface.ref: %GenericInterface.type.974 = name_ref GenericInterface, imports.%PackageGenericInterface.GenericInterface [concrete = constants.%GenericInterface.generic] +// CHECK:STDOUT: %AnyParam: type = class_type @AnyParam, @AnyParam(constants.%GenericInterface.type.974, constants.%GenericInterface.generic) [concrete = constants.%AnyParam.1d7] // CHECK:STDOUT: } -// CHECK:STDOUT: %obj: ref %AnyParam.f01 = ref_binding obj, %obj.var -// CHECK:STDOUT: %obj.ref: ref %AnyParam.f01 = name_ref obj, %obj +// CHECK:STDOUT: %obj: ref %AnyParam.1d7 = ref_binding obj, %obj.var +// CHECK:STDOUT: %obj.ref: ref %AnyParam.1d7 = name_ref obj, %obj // CHECK:STDOUT: %PackageHasParam.ref.loc10: = name_ref PackageHasParam, imports.%PackageHasParam [concrete = imports.%PackageHasParam] // CHECK:STDOUT: %Y.ref: type = name_ref Y, imports.%PackageHasParam.Y [concrete = constants.%Y.type] -// CHECK:STDOUT: %K.ref: %Y.assoc_type = name_ref K, imports.%PackageHasParam.import_ref.987 [concrete = constants.%assoc0.7aa] -// CHECK:STDOUT: %impl.elem0: %.708 = impl_witness_access constants.%Y.impl_witness, element0 [concrete = constants.%AnyParam.as.Y.impl.K] +// CHECK:STDOUT: %K.ref: %Y.assoc_type = name_ref K, imports.%PackageHasParam.import_ref.07e [concrete = constants.%assoc0.78d] +// CHECK:STDOUT: %impl.elem0: %.918 = impl_witness_access constants.%Y.impl_witness, element0 [concrete = constants.%AnyParam.as.Y.impl.K] // CHECK:STDOUT: %bound_method: = bound_method %obj.ref, %impl.elem0 -// CHECK:STDOUT: %.loc10: %AnyParam.f01 = acquire_value %obj.ref +// CHECK:STDOUT: %.loc10: %AnyParam.1d7 = acquire_value %obj.ref // CHECK:STDOUT: %AnyParam.as.Y.impl.K.call: init %empty_tuple.type = call %bound_method(%.loc10) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %obj.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %obj.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%obj.var) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Y.WithSelf.K(imports.%PackageHasParam.import_ref.9690c6.2: %Y.type) [from "has_param.carbon"] { -// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.e4e)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.cd5)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.2bc)] +// CHECK:STDOUT: generic fn @Y.WithSelf.K(imports.%PackageHasParam.import_ref.3d0ead.2: %Y.type) [from "has_param.carbon"] { +// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.746)] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.5d0)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.29b)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type [symbolic = %require_complete (constants.%require_complete)] @@ -2087,7 +2087,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %AnyParam.f01) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %AnyParam.1d7) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -2102,34 +2102,34 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %U => constants.%U // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @GenericInterface.WithSelf(constants.%U, constants.%Self.5af) {} +// CHECK:STDOUT: specific @GenericInterface.WithSelf(constants.%U, constants.%Self.4c1) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @AnyParam(constants.%GenericInterface.type.c0f, constants.%GenericInterface.generic) { -// CHECK:STDOUT: %T => constants.%GenericInterface.type.c0f +// CHECK:STDOUT: specific @AnyParam(constants.%GenericInterface.type.974, constants.%GenericInterface.generic) { +// CHECK:STDOUT: %T => constants.%GenericInterface.type.974 // CHECK:STDOUT: %X => constants.%GenericInterface.generic -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ab1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.831 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.e4e) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.746) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.e4e -// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.9e5 -// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.c45 +// CHECK:STDOUT: %Self => constants.%Self.746 +// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.1a2 +// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.c42 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf.K(constants.%Self.e4e) { -// CHECK:STDOUT: %Self => constants.%Self.e4e -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.cd5 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2bc +// CHECK:STDOUT: specific @Y.WithSelf.K(constants.%Self.746) { +// CHECK:STDOUT: %Self => constants.%Self.746 +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.5d0 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.29b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y.WithSelf(constants.%Y.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Y.facet -// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.71e -// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.286 +// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.d6d +// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.14e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- has_generic_class.carbon @@ -2150,32 +2150,32 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %X: %T = symbolic_binding X, 1 [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.da1: type = pattern_type %GenericClass.type [concrete] -// CHECK:STDOUT: %AnyParam.8ee: type = class_type @AnyParam, @AnyParam(%GenericClass.type, %GenericClass.generic) [concrete] +// CHECK:STDOUT: %pattern_type.874: type = pattern_type %GenericClass.type [concrete] +// CHECK:STDOUT: %AnyParam.eda: type = class_type @AnyParam, @AnyParam(%GenericClass.type, %GenericClass.generic) [concrete] // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] -// CHECK:STDOUT: %Self.e4e: %Y.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Y.WithSelf.K.type.9e5: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Self.e4e) [symbolic] -// CHECK:STDOUT: %Y.WithSelf.K.c45: %Y.WithSelf.K.type.9e5 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.cd5: type = facet_access_type %Self.e4e [symbolic] -// CHECK:STDOUT: %pattern_type.2bc: type = pattern_type %Self.as_type.cd5 [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.cd5 [symbolic] +// CHECK:STDOUT: %Self.746: %Y.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Y.WithSelf.K.type.1a2: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Self.746) [symbolic] +// CHECK:STDOUT: %Y.WithSelf.K.c42: %Y.WithSelf.K.type.1a2 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type.5d0: type = facet_access_type %Self.746 [symbolic] +// CHECK:STDOUT: %pattern_type.29b: type = pattern_type %Self.as_type.5d0 [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.5d0 [symbolic] // CHECK:STDOUT: %Y.impl_witness: = impl_witness @AnyParam.as.Y.impl.%Y.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.67d: type = pattern_type %AnyParam.8ee [concrete] +// CHECK:STDOUT: %pattern_type.466: type = pattern_type %AnyParam.eda [concrete] // CHECK:STDOUT: %AnyParam.as.Y.impl.K.type: type = fn_type @AnyParam.as.Y.impl.K [concrete] // CHECK:STDOUT: %AnyParam.as.Y.impl.K: %AnyParam.as.Y.impl.K.type = struct_value () [concrete] -// CHECK:STDOUT: %Y.facet: %Y.type = facet_value %AnyParam.8ee, (%Y.impl_witness) [concrete] -// CHECK:STDOUT: %Y.WithSelf.K.type.685: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Y.facet) [concrete] -// CHECK:STDOUT: %Y.WithSelf.K.078: %Y.WithSelf.K.type.685 = struct_value () [concrete] +// CHECK:STDOUT: %Y.facet: %Y.type = facet_value %AnyParam.eda, (%Y.impl_witness) [concrete] +// CHECK:STDOUT: %Y.WithSelf.K.type.26c: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Y.facet) [concrete] +// CHECK:STDOUT: %Y.WithSelf.K.e3f: %Y.WithSelf.K.type.26c = struct_value () [concrete] // CHECK:STDOUT: %L.type: type = fn_type @L [concrete] // CHECK:STDOUT: %L: %L.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %AnyParam.val: %AnyParam.8ee = struct_value () [concrete] +// CHECK:STDOUT: %AnyParam.val: %AnyParam.eda = struct_value () [concrete] // CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y [concrete] -// CHECK:STDOUT: %assoc0.7aa: %Y.assoc_type = assoc_entity element0, imports.%PackageHasParam.import_ref.8c9 [concrete] -// CHECK:STDOUT: %.537: type = fn_type_with_self_type %Y.WithSelf.K.type.685, %Y.facet [concrete] +// CHECK:STDOUT: %assoc0.78d: %Y.assoc_type = assoc_entity element0, imports.%PackageHasParam.import_ref.84c [concrete] +// CHECK:STDOUT: %.97d: type = fn_type_with_self_type %Y.WithSelf.K.type.26c, %Y.facet [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc13_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc13_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2191,15 +2191,15 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: %PackageHasParam.AnyParam: %AnyParam.type = import_ref PackageHasParam//default, AnyParam, loaded [concrete = constants.%AnyParam.generic] // CHECK:STDOUT: %PackageHasParam.import_ref.8f2: = import_ref PackageHasParam//default, loc4_34, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageHasParam.import_ref.c07 = import_ref PackageHasParam//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %PackageHasParam.import_ref.20c = import_ref PackageHasParam//default, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %PackageHasParam.import_ref.b3b: type = import_ref PackageHasParam//default, loc4_17, loaded [symbolic = @AnyParam.%T (constants.%T)] // CHECK:STDOUT: %PackageHasParam.import_ref.b42: @AnyParam.%T (%T) = import_ref PackageHasParam//default, loc4_27, loaded [symbolic = @AnyParam.%X (constants.%X)] // CHECK:STDOUT: %PackageHasParam.Y: type = import_ref PackageHasParam//default, Y, loaded [concrete = constants.%Y.type] -// CHECK:STDOUT: %PackageHasParam.import_ref.987: %Y.assoc_type = import_ref PackageHasParam//default, loc7_29, loaded [concrete = constants.%assoc0.7aa] -// CHECK:STDOUT: %PackageHasParam.K: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type.9e5) = import_ref PackageHasParam//default, K, loaded [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K.c45)] -// CHECK:STDOUT: %PackageHasParam.import_ref.9690c6.2: %Y.type = import_ref PackageHasParam//default, loc6_13, loaded [symbolic = constants.%Self.e4e] -// CHECK:STDOUT: %PackageHasParam.import_ref.d77 = import_ref PackageHasParam//default, loc6_13, unloaded -// CHECK:STDOUT: %PackageHasParam.import_ref.8c9: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type.9e5) = import_ref PackageHasParam//default, loc7_29, loaded [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K.c45)] +// CHECK:STDOUT: %PackageHasParam.import_ref.07e: %Y.assoc_type = import_ref PackageHasParam//default, loc7_29, loaded [concrete = constants.%assoc0.78d] +// CHECK:STDOUT: %PackageHasParam.K: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type.1a2) = import_ref PackageHasParam//default, K, loaded [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K.c42)] +// CHECK:STDOUT: %PackageHasParam.import_ref.3d0ead.2: %Y.type = import_ref PackageHasParam//default, loc6_13, loaded [symbolic = constants.%Self.746] +// CHECK:STDOUT: %PackageHasParam.import_ref.cf8 = import_ref PackageHasParam//default, loc6_13, unloaded +// CHECK:STDOUT: %PackageHasParam.import_ref.84c: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type.1a2) = import_ref PackageHasParam//default, loc7_29, loaded [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K.c42)] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2225,7 +2225,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %PackageHasParam.ref.loc8_6: = name_ref PackageHasParam, imports.%PackageHasParam [concrete = imports.%PackageHasParam] // CHECK:STDOUT: %AnyParam.ref: %AnyParam.type = name_ref AnyParam, imports.%PackageHasParam.AnyParam [concrete = constants.%AnyParam.generic] // CHECK:STDOUT: %GenericClass.ref: %GenericClass.type = name_ref GenericClass, file.%GenericClass.decl [concrete = constants.%GenericClass.generic] -// CHECK:STDOUT: %AnyParam: type = class_type @AnyParam, @AnyParam(constants.%GenericClass.type, constants.%GenericClass.generic) [concrete = constants.%AnyParam.8ee] +// CHECK:STDOUT: %AnyParam: type = class_type @AnyParam, @AnyParam(constants.%GenericClass.type, constants.%GenericClass.generic) [concrete = constants.%AnyParam.eda] // CHECK:STDOUT: %PackageHasParam.ref.loc8_48: = name_ref PackageHasParam, imports.%PackageHasParam [concrete = imports.%PackageHasParam] // CHECK:STDOUT: %Y.ref: type = name_ref Y, imports.%PackageHasParam.Y [concrete = constants.%Y.type] // CHECK:STDOUT: } @@ -2234,8 +2234,8 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Y [from "has_param.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.d77 -// CHECK:STDOUT: .K = imports.%PackageHasParam.import_ref.987 +// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.cf8 +// CHECK:STDOUT: .K = imports.%PackageHasParam.import_ref.07e // CHECK:STDOUT: witness = (imports.%PackageHasParam.K) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -2243,12 +2243,12 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: impl @AnyParam.as.Y.impl: %AnyParam as %Y.ref { // CHECK:STDOUT: %AnyParam.as.Y.impl.K.decl: %AnyParam.as.Y.impl.K.type = fn_decl @AnyParam.as.Y.impl.K [concrete = constants.%AnyParam.as.Y.impl.K] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.67d = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.67d = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.466 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.466 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: %AnyParam.8ee = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @AnyParam.as.Y.impl.%AnyParam [concrete = constants.%AnyParam.8ee] -// CHECK:STDOUT: %self: %AnyParam.8ee = value_binding self, %self.param +// CHECK:STDOUT: %self.param: %AnyParam.eda = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @AnyParam.as.Y.impl.%AnyParam [concrete = constants.%AnyParam.eda] +// CHECK:STDOUT: %self: %AnyParam.eda = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %Y.impl_witness_table = impl_witness_table (%AnyParam.as.Y.impl.K.decl), @AnyParam.as.Y.impl [concrete] // CHECK:STDOUT: %Y.impl_witness: = impl_witness %Y.impl_witness_table [concrete = constants.%Y.impl_witness] @@ -2284,14 +2284,14 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: complete_type_witness = imports.%PackageHasParam.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.c07 +// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.20c // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Y.WithSelf.K(imports.%PackageHasParam.import_ref.9690c6.2: %Y.type) [from "has_param.carbon"] { -// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.e4e)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.cd5)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.2bc)] +// CHECK:STDOUT: generic fn @Y.WithSelf.K(imports.%PackageHasParam.import_ref.3d0ead.2: %Y.type) [from "has_param.carbon"] { +// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.746)] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.5d0)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.29b)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type [symbolic = %require_complete (constants.%require_complete)] @@ -2299,7 +2299,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @AnyParam.as.Y.impl.K(%self.param: %AnyParam.8ee) { +// CHECK:STDOUT: fn @AnyParam.as.Y.impl.K(%self.param: %AnyParam.eda) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -2307,37 +2307,37 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: fn @L() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %obj.patt: %pattern_type.67d = ref_binding_pattern obj [concrete] -// CHECK:STDOUT: %obj.var_patt: %pattern_type.67d = var_pattern %obj.patt [concrete] +// CHECK:STDOUT: %obj.patt: %pattern_type.466 = ref_binding_pattern obj [concrete] +// CHECK:STDOUT: %obj.var_patt: %pattern_type.466 = var_pattern %obj.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %obj.var: ref %AnyParam.8ee = var %obj.var_patt +// CHECK:STDOUT: %obj.var: ref %AnyParam.eda = var %obj.var_patt // CHECK:STDOUT: %.loc13_54.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc13_54.2: init %AnyParam.8ee to %obj.var = class_init () [concrete = constants.%AnyParam.val] -// CHECK:STDOUT: %.loc13_3: init %AnyParam.8ee = converted %.loc13_54.1, %.loc13_54.2 [concrete = constants.%AnyParam.val] +// CHECK:STDOUT: %.loc13_54.2: init %AnyParam.eda to %obj.var = class_init () [concrete = constants.%AnyParam.val] +// CHECK:STDOUT: %.loc13_3: init %AnyParam.eda = converted %.loc13_54.1, %.loc13_54.2 [concrete = constants.%AnyParam.val] // CHECK:STDOUT: assign %obj.var, %.loc13_3 -// CHECK:STDOUT: %.loc13_49: type = splice_block %AnyParam [concrete = constants.%AnyParam.8ee] { +// CHECK:STDOUT: %.loc13_49: type = splice_block %AnyParam [concrete = constants.%AnyParam.eda] { // CHECK:STDOUT: %PackageHasParam.ref.loc13: = name_ref PackageHasParam, imports.%PackageHasParam [concrete = imports.%PackageHasParam] // CHECK:STDOUT: %AnyParam.ref: %AnyParam.type = name_ref AnyParam, imports.%PackageHasParam.AnyParam [concrete = constants.%AnyParam.generic] // CHECK:STDOUT: %GenericClass.ref: %GenericClass.type = name_ref GenericClass, file.%GenericClass.decl [concrete = constants.%GenericClass.generic] -// CHECK:STDOUT: %AnyParam: type = class_type @AnyParam, @AnyParam(constants.%GenericClass.type, constants.%GenericClass.generic) [concrete = constants.%AnyParam.8ee] +// CHECK:STDOUT: %AnyParam: type = class_type @AnyParam, @AnyParam(constants.%GenericClass.type, constants.%GenericClass.generic) [concrete = constants.%AnyParam.eda] // CHECK:STDOUT: } -// CHECK:STDOUT: %obj: ref %AnyParam.8ee = ref_binding obj, %obj.var -// CHECK:STDOUT: %obj.ref: ref %AnyParam.8ee = name_ref obj, %obj +// CHECK:STDOUT: %obj: ref %AnyParam.eda = ref_binding obj, %obj.var +// CHECK:STDOUT: %obj.ref: ref %AnyParam.eda = name_ref obj, %obj // CHECK:STDOUT: %PackageHasParam.ref.loc14: = name_ref PackageHasParam, imports.%PackageHasParam [concrete = imports.%PackageHasParam] // CHECK:STDOUT: %Y.ref: type = name_ref Y, imports.%PackageHasParam.Y [concrete = constants.%Y.type] -// CHECK:STDOUT: %K.ref: %Y.assoc_type = name_ref K, imports.%PackageHasParam.import_ref.987 [concrete = constants.%assoc0.7aa] -// CHECK:STDOUT: %impl.elem0: %.537 = impl_witness_access constants.%Y.impl_witness, element0 [concrete = constants.%AnyParam.as.Y.impl.K] +// CHECK:STDOUT: %K.ref: %Y.assoc_type = name_ref K, imports.%PackageHasParam.import_ref.07e [concrete = constants.%assoc0.78d] +// CHECK:STDOUT: %impl.elem0: %.97d = impl_witness_access constants.%Y.impl_witness, element0 [concrete = constants.%AnyParam.as.Y.impl.K] // CHECK:STDOUT: %bound_method: = bound_method %obj.ref, %impl.elem0 -// CHECK:STDOUT: %.loc14: %AnyParam.8ee = acquire_value %obj.ref +// CHECK:STDOUT: %.loc14: %AnyParam.eda = acquire_value %obj.ref // CHECK:STDOUT: %AnyParam.as.Y.impl.K.call: init %empty_tuple.type = call %bound_method(%.loc14) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %obj.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %obj.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%obj.var) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc13_3.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13_3.2(%self.param: ref %AnyParam.8ee) { +// CHECK:STDOUT: fn @Destroy.Op.loc13_3.2(%self.param: ref %AnyParam.eda) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -2355,35 +2355,35 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: specific @AnyParam(constants.%GenericClass.type, constants.%GenericClass.generic) { // CHECK:STDOUT: %T => constants.%GenericClass.type // CHECK:STDOUT: %X => constants.%GenericClass.generic -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.da1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.874 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.e4e) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.746) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.e4e -// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.9e5 -// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.c45 +// CHECK:STDOUT: %Self => constants.%Self.746 +// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.1a2 +// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.c42 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf.K(constants.%Self.e4e) { -// CHECK:STDOUT: %Self => constants.%Self.e4e -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.cd5 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2bc +// CHECK:STDOUT: specific @Y.WithSelf.K(constants.%Self.746) { +// CHECK:STDOUT: %Self => constants.%Self.746 +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.5d0 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.29b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y.WithSelf(constants.%Y.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Y.facet -// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.685 -// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.078 +// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.26c +// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.e3f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y.WithSelf.K(constants.%Y.facet) { // CHECK:STDOUT: %Self => constants.%Y.facet -// CHECK:STDOUT: %Self.as_type => constants.%AnyParam.8ee -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.67d +// CHECK:STDOUT: %Self.as_type => constants.%AnyParam.eda +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.466 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_generic_class_as_param.carbon @@ -2402,30 +2402,30 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %GenericClass.type: type = generic_class_type @GenericClass [concrete] // CHECK:STDOUT: %GenericClass.generic: %GenericClass.type = struct_value () [concrete] // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %pattern_type.da1: type = pattern_type %GenericClass.type [concrete] -// CHECK:STDOUT: %AnyParam.8ee: type = class_type @AnyParam, @AnyParam(%GenericClass.type, %GenericClass.generic) [concrete] -// CHECK:STDOUT: %pattern_type.67d: type = pattern_type %AnyParam.8ee [concrete] +// CHECK:STDOUT: %pattern_type.874: type = pattern_type %GenericClass.type [concrete] +// CHECK:STDOUT: %AnyParam.eda: type = class_type @AnyParam, @AnyParam(%GenericClass.type, %GenericClass.generic) [concrete] +// CHECK:STDOUT: %pattern_type.466: type = pattern_type %AnyParam.eda [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %AnyParam.val: %AnyParam.8ee = struct_value () [concrete] +// CHECK:STDOUT: %AnyParam.val: %AnyParam.eda = struct_value () [concrete] // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] -// CHECK:STDOUT: %Self.e4e: %Y.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Y.WithSelf.K.type.9e5: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Self.e4e) [symbolic] -// CHECK:STDOUT: %Y.WithSelf.K.c45: %Y.WithSelf.K.type.9e5 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.cd5: type = facet_access_type %Self.e4e [symbolic] -// CHECK:STDOUT: %pattern_type.2bc: type = pattern_type %Self.as_type.cd5 [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.cd5 [symbolic] +// CHECK:STDOUT: %Self.746: %Y.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Y.WithSelf.K.type.1a2: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Self.746) [symbolic] +// CHECK:STDOUT: %Y.WithSelf.K.c42: %Y.WithSelf.K.type.1a2 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type.5d0: type = facet_access_type %Self.746 [symbolic] +// CHECK:STDOUT: %pattern_type.29b: type = pattern_type %Self.as_type.5d0 [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.5d0 [symbolic] // CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y [concrete] -// CHECK:STDOUT: %assoc0.7aa: %Y.assoc_type = assoc_entity element0, imports.%PackageHasParam.import_ref.8c9 [concrete] +// CHECK:STDOUT: %assoc0.78d: %Y.assoc_type = assoc_entity element0, imports.%PackageHasParam.import_ref.84c [concrete] // CHECK:STDOUT: %Y.impl_witness: = impl_witness imports.%Y.impl_witness_table [concrete] -// CHECK:STDOUT: %Y.facet: %Y.type = facet_value %AnyParam.8ee, (%Y.impl_witness) [concrete] -// CHECK:STDOUT: %Y.WithSelf.K.type.d20: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Y.facet) [concrete] -// CHECK:STDOUT: %Y.WithSelf.K.91e: %Y.WithSelf.K.type.d20 = struct_value () [concrete] -// CHECK:STDOUT: %.622: type = fn_type_with_self_type %Y.WithSelf.K.type.d20, %Y.facet [concrete] +// CHECK:STDOUT: %Y.facet: %Y.type = facet_value %AnyParam.eda, (%Y.impl_witness) [concrete] +// CHECK:STDOUT: %Y.WithSelf.K.type.124: type = fn_type @Y.WithSelf.K, @Y.WithSelf(%Y.facet) [concrete] +// CHECK:STDOUT: %Y.WithSelf.K.ccd: %Y.WithSelf.K.type.124 = struct_value () [concrete] +// CHECK:STDOUT: %.0e8: type = fn_type_with_self_type %Y.WithSelf.K.type.124, %Y.facet [concrete] // CHECK:STDOUT: %AnyParam.as.Y.impl.K.type: type = fn_type @AnyParam.as.Y.impl.K [concrete] // CHECK:STDOUT: %AnyParam.as.Y.impl.K: %AnyParam.as.Y.impl.K.type = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2445,24 +2445,24 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: %PackageHasParam.AnyParam: %AnyParam.type = import_ref PackageHasParam//default, AnyParam, loaded [concrete = constants.%AnyParam.generic] // CHECK:STDOUT: %PackageHasParam.import_ref.8f2: = import_ref PackageHasParam//default, loc4_34, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageHasParam.import_ref.c07 = import_ref PackageHasParam//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %PackageHasParam.import_ref.20c = import_ref PackageHasParam//default, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %PackageHasParam.import_ref.b3b: type = import_ref PackageHasParam//default, loc4_17, loaded [symbolic = @AnyParam.%T (constants.%T)] // CHECK:STDOUT: %PackageHasParam.import_ref.b42: @AnyParam.%T (%T) = import_ref PackageHasParam//default, loc4_27, loaded [symbolic = @AnyParam.%X (constants.%X)] // CHECK:STDOUT: %PackageGenericClass.GenericClass: %GenericClass.type = import_ref PackageGenericClass//default, GenericClass, loaded [concrete = constants.%GenericClass.generic] // CHECK:STDOUT: %PackageGenericClass.import_ref.8f2: = import_ref PackageGenericClass//default, loc6_31, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %PackageGenericClass.import_ref.996 = import_ref PackageGenericClass//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %PackageGenericClass.import_ref.6b8 = import_ref PackageGenericClass//default, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %PackageGenericClass.import_ref.b3b: type = import_ref PackageGenericClass//default, loc6_21, loaded [symbolic = @GenericClass.%U (constants.%U)] // CHECK:STDOUT: %PackageHasParam.Y: type = import_ref PackageHasParam//default, Y, loaded [concrete = constants.%Y.type] -// CHECK:STDOUT: %PackageHasParam.import_ref.987: %Y.assoc_type = import_ref PackageHasParam//default, loc7_29, loaded [concrete = constants.%assoc0.7aa] +// CHECK:STDOUT: %PackageHasParam.import_ref.07e: %Y.assoc_type = import_ref PackageHasParam//default, loc7_29, loaded [concrete = constants.%assoc0.78d] // CHECK:STDOUT: %PackageHasParam.K = import_ref PackageHasParam//default, K, unloaded -// CHECK:STDOUT: %PackageHasParam.import_ref.9690c6.2: %Y.type = import_ref PackageHasParam//default, loc6_13, loaded [symbolic = constants.%Self.e4e] -// CHECK:STDOUT: %PackageHasParam.import_ref.d77 = import_ref PackageHasParam//default, loc6_13, unloaded -// CHECK:STDOUT: %PackageHasParam.import_ref.8c9: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type.9e5) = import_ref PackageHasParam//default, loc7_29, loaded [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K.c45)] -// CHECK:STDOUT: %PackageGenericClass.import_ref.79f: = import_ref PackageGenericClass//default, loc8_66, loaded [concrete = constants.%Y.impl_witness] -// CHECK:STDOUT: %PackageGenericClass.import_ref.1d3: type = import_ref PackageGenericClass//default, loc8_43, loaded [concrete = constants.%AnyParam.8ee] -// CHECK:STDOUT: %PackageGenericClass.import_ref.974: type = import_ref PackageGenericClass//default, loc8_63, loaded [concrete = constants.%Y.type] -// CHECK:STDOUT: %PackageGenericClass.import_ref.c10: %AnyParam.as.Y.impl.K.type = import_ref PackageGenericClass//default, loc9_29, loaded [concrete = constants.%AnyParam.as.Y.impl.K] -// CHECK:STDOUT: %Y.impl_witness_table = impl_witness_table (%PackageGenericClass.import_ref.c10), @AnyParam.as.Y.impl [concrete] +// CHECK:STDOUT: %PackageHasParam.import_ref.3d0ead.2: %Y.type = import_ref PackageHasParam//default, loc6_13, loaded [symbolic = constants.%Self.746] +// CHECK:STDOUT: %PackageHasParam.import_ref.cf8 = import_ref PackageHasParam//default, loc6_13, unloaded +// CHECK:STDOUT: %PackageHasParam.import_ref.84c: @Y.WithSelf.%Y.WithSelf.K.type (%Y.WithSelf.K.type.1a2) = import_ref PackageHasParam//default, loc7_29, loaded [symbolic = @Y.WithSelf.%Y.WithSelf.K (constants.%Y.WithSelf.K.c42)] +// CHECK:STDOUT: %PackageGenericClass.import_ref.744: = import_ref PackageGenericClass//default, loc8_66, loaded [concrete = constants.%Y.impl_witness] +// CHECK:STDOUT: %PackageGenericClass.import_ref.f50: type = import_ref PackageGenericClass//default, loc8_43, loaded [concrete = constants.%AnyParam.eda] +// CHECK:STDOUT: %PackageGenericClass.import_ref.38d: type = import_ref PackageGenericClass//default, loc8_63, loaded [concrete = constants.%Y.type] +// CHECK:STDOUT: %PackageGenericClass.import_ref.869: %AnyParam.as.Y.impl.K.type = import_ref PackageGenericClass//default, loc9_29, loaded [concrete = constants.%AnyParam.as.Y.impl.K] +// CHECK:STDOUT: %Y.impl_witness_table = impl_witness_table (%PackageGenericClass.import_ref.869), @AnyParam.as.Y.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2481,16 +2481,16 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Y [from "has_param.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.d77 -// CHECK:STDOUT: .K = imports.%PackageHasParam.import_ref.987 +// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.cf8 +// CHECK:STDOUT: .K = imports.%PackageHasParam.import_ref.07e // CHECK:STDOUT: witness = (imports.%PackageHasParam.K) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @AnyParam.as.Y.impl: imports.%PackageGenericClass.import_ref.1d3 as imports.%PackageGenericClass.import_ref.974 [from "has_generic_class.carbon"] { +// CHECK:STDOUT: impl @AnyParam.as.Y.impl: imports.%PackageGenericClass.import_ref.f50 as imports.%PackageGenericClass.import_ref.38d [from "has_generic_class.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%PackageGenericClass.import_ref.79f +// CHECK:STDOUT: witness = imports.%PackageGenericClass.import_ref.744 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @AnyParam(imports.%PackageHasParam.import_ref.b3b: type, imports.%PackageHasParam.import_ref.b42: @AnyParam.%T (%T)) [from "has_param.carbon"] { @@ -2504,7 +2504,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: complete_type_witness = imports.%PackageHasParam.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.c07 +// CHECK:STDOUT: .Self = imports.%PackageHasParam.import_ref.20c // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2517,46 +2517,46 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: complete_type_witness = imports.%PackageGenericClass.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%PackageGenericClass.import_ref.996 +// CHECK:STDOUT: .Self = imports.%PackageGenericClass.import_ref.6b8 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @M() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %obj.patt: %pattern_type.67d = ref_binding_pattern obj [concrete] -// CHECK:STDOUT: %obj.var_patt: %pattern_type.67d = var_pattern %obj.patt [concrete] +// CHECK:STDOUT: %obj.patt: %pattern_type.466 = ref_binding_pattern obj [concrete] +// CHECK:STDOUT: %obj.var_patt: %pattern_type.466 = var_pattern %obj.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %obj.var: ref %AnyParam.8ee = var %obj.var_patt +// CHECK:STDOUT: %obj.var: ref %AnyParam.eda = var %obj.var_patt // CHECK:STDOUT: %.loc8_74.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %.loc8_74.2: init %AnyParam.8ee to %obj.var = class_init () [concrete = constants.%AnyParam.val] -// CHECK:STDOUT: %.loc8_3: init %AnyParam.8ee = converted %.loc8_74.1, %.loc8_74.2 [concrete = constants.%AnyParam.val] +// CHECK:STDOUT: %.loc8_74.2: init %AnyParam.eda to %obj.var = class_init () [concrete = constants.%AnyParam.val] +// CHECK:STDOUT: %.loc8_3: init %AnyParam.eda = converted %.loc8_74.1, %.loc8_74.2 [concrete = constants.%AnyParam.val] // CHECK:STDOUT: assign %obj.var, %.loc8_3 -// CHECK:STDOUT: %.loc8_69: type = splice_block %AnyParam [concrete = constants.%AnyParam.8ee] { +// CHECK:STDOUT: %.loc8_69: type = splice_block %AnyParam [concrete = constants.%AnyParam.eda] { // CHECK:STDOUT: %PackageHasParam.ref.loc8: = name_ref PackageHasParam, imports.%PackageHasParam [concrete = imports.%PackageHasParam] // CHECK:STDOUT: %AnyParam.ref: %AnyParam.type = name_ref AnyParam, imports.%PackageHasParam.AnyParam [concrete = constants.%AnyParam.generic] // CHECK:STDOUT: %PackageGenericClass.ref: = name_ref PackageGenericClass, imports.%PackageGenericClass [concrete = imports.%PackageGenericClass] // CHECK:STDOUT: %GenericClass.ref: %GenericClass.type = name_ref GenericClass, imports.%PackageGenericClass.GenericClass [concrete = constants.%GenericClass.generic] -// CHECK:STDOUT: %AnyParam: type = class_type @AnyParam, @AnyParam(constants.%GenericClass.type, constants.%GenericClass.generic) [concrete = constants.%AnyParam.8ee] +// CHECK:STDOUT: %AnyParam: type = class_type @AnyParam, @AnyParam(constants.%GenericClass.type, constants.%GenericClass.generic) [concrete = constants.%AnyParam.eda] // CHECK:STDOUT: } -// CHECK:STDOUT: %obj: ref %AnyParam.8ee = ref_binding obj, %obj.var -// CHECK:STDOUT: %obj.ref: ref %AnyParam.8ee = name_ref obj, %obj +// CHECK:STDOUT: %obj: ref %AnyParam.eda = ref_binding obj, %obj.var +// CHECK:STDOUT: %obj.ref: ref %AnyParam.eda = name_ref obj, %obj // CHECK:STDOUT: %PackageHasParam.ref.loc9: = name_ref PackageHasParam, imports.%PackageHasParam [concrete = imports.%PackageHasParam] // CHECK:STDOUT: %Y.ref: type = name_ref Y, imports.%PackageHasParam.Y [concrete = constants.%Y.type] -// CHECK:STDOUT: %K.ref: %Y.assoc_type = name_ref K, imports.%PackageHasParam.import_ref.987 [concrete = constants.%assoc0.7aa] -// CHECK:STDOUT: %impl.elem0: %.622 = impl_witness_access constants.%Y.impl_witness, element0 [concrete = constants.%AnyParam.as.Y.impl.K] +// CHECK:STDOUT: %K.ref: %Y.assoc_type = name_ref K, imports.%PackageHasParam.import_ref.07e [concrete = constants.%assoc0.78d] +// CHECK:STDOUT: %impl.elem0: %.0e8 = impl_witness_access constants.%Y.impl_witness, element0 [concrete = constants.%AnyParam.as.Y.impl.K] // CHECK:STDOUT: %bound_method: = bound_method %obj.ref, %impl.elem0 -// CHECK:STDOUT: %.loc9: %AnyParam.8ee = acquire_value %obj.ref +// CHECK:STDOUT: %.loc9: %AnyParam.eda = acquire_value %obj.ref // CHECK:STDOUT: %AnyParam.as.Y.impl.K.call: init %empty_tuple.type = call %bound_method(%.loc9) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %obj.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %obj.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%obj.var) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Y.WithSelf.K(imports.%PackageHasParam.import_ref.9690c6.2: %Y.type) [from "has_param.carbon"] { -// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.e4e)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.cd5)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.2bc)] +// CHECK:STDOUT: generic fn @Y.WithSelf.K(imports.%PackageHasParam.import_ref.3d0ead.2: %Y.type) [from "has_param.carbon"] { +// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.746)] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.5d0)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.29b)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type [symbolic = %require_complete (constants.%require_complete)] @@ -2568,7 +2568,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %AnyParam.8ee) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_3.2(%self.param: ref %AnyParam.eda) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -2586,78 +2586,78 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: specific @AnyParam(constants.%GenericClass.type, constants.%GenericClass.generic) { // CHECK:STDOUT: %T => constants.%GenericClass.type // CHECK:STDOUT: %X => constants.%GenericClass.generic -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.da1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.874 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.e4e) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.746) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.e4e -// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.9e5 -// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.c45 +// CHECK:STDOUT: %Self => constants.%Self.746 +// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.1a2 +// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.c42 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf.K(constants.%Self.e4e) { -// CHECK:STDOUT: %Self => constants.%Self.e4e -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.cd5 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2bc +// CHECK:STDOUT: specific @Y.WithSelf.K(constants.%Self.746) { +// CHECK:STDOUT: %Self => constants.%Self.746 +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.5d0 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.29b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y.WithSelf(constants.%Y.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Y.facet -// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.d20 -// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.91e +// CHECK:STDOUT: %Y.WithSelf.K.type => constants.%Y.WithSelf.K.type.124 +// CHECK:STDOUT: %Y.WithSelf.K => constants.%Y.WithSelf.K.ccd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- has_extra_interfaces.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Extra1.type: type = facet_type <@Extra1> [concrete] -// CHECK:STDOUT: %Self.cce: %Extra1.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.e83: %Extra1.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra2.type: type = facet_type <@Extra2> [concrete] -// CHECK:STDOUT: %Self.ab8: %Extra2.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.a27: %Extra2.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra3.type: type = facet_type <@Extra3> [concrete] -// CHECK:STDOUT: %Self.397: %Extra3.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d87: %Extra3.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra4.type: type = facet_type <@Extra4> [concrete] -// CHECK:STDOUT: %Self.33b: %Extra4.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.7bc: %Extra4.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra5.type: type = facet_type <@Extra5> [concrete] -// CHECK:STDOUT: %Self.03f: %Extra5.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.647: %Extra5.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra6.type: type = facet_type <@Extra6> [concrete] -// CHECK:STDOUT: %Self.b20: %Extra6.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.658: %Extra6.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra7.type: type = facet_type <@Extra7> [concrete] -// CHECK:STDOUT: %Self.6ac: %Extra7.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.c87: %Extra7.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra8.type: type = facet_type <@Extra8> [concrete] -// CHECK:STDOUT: %Self.340: %Extra8.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.5af: %Extra8.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.19a: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %C.206: type = class_type @C, @C(%T) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.ee3: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.ee3 [symbolic] -// CHECK:STDOUT: %pattern_type.8c7: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.f4a: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.ee3) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.0d1: %I.WithSelf.F.type.f4a = struct_value () [symbolic] +// CHECK:STDOUT: %Self.418: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.418 [symbolic] +// CHECK:STDOUT: %pattern_type.2b8: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.8ee: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.418) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.9a6: %I.WithSelf.F.type.8ee = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: %tuple.type.c53: type = tuple_type (type, type, type, type, type, type, type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.c53 = tuple_value (%Extra1.type, %Extra2.type, %Extra3.type, %Extra4.type, %Extra5.type, %Extra6.type, %Extra7.type, %Extra8.type) [concrete] -// CHECK:STDOUT: %tuple.type.401: type = tuple_type (%Extra1.type, %Extra2.type, %Extra3.type, %Extra4.type, %Extra5.type, %Extra6.type, %Extra7.type, %Extra8.type) [concrete] -// CHECK:STDOUT: %C.2b1: type = class_type @C, @C(%tuple.type.401) [concrete] +// CHECK:STDOUT: %tuple.type.4f5: type = tuple_type (%Extra1.type, %Extra2.type, %Extra3.type, %Extra4.type, %Extra5.type, %Extra6.type, %Extra7.type, %Extra8.type) [concrete] +// CHECK:STDOUT: %C.a17: type = class_type @C, @C(%tuple.type.4f5) [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.18b: type = pattern_type %C.2b1 [concrete] +// CHECK:STDOUT: %pattern_type.a06: type = pattern_type %C.a17 [concrete] // CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F [concrete] // CHECK:STDOUT: %C.as.I.impl.F: %C.as.I.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %I.facet: %I.type = facet_value %C.2b1, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.de3: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.2c8: %I.WithSelf.F.type.de3 = struct_value () [concrete] +// CHECK:STDOUT: %I.facet: %I.type = facet_value %C.a17, (%I.impl_witness) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.d1d: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.659: %I.WithSelf.F.type.d1d = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2711,14 +2711,14 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %Extra7.ref: type = name_ref Extra7, file.%Extra7.decl [concrete = constants.%Extra7.type] // CHECK:STDOUT: %Extra8.ref: type = name_ref Extra8, file.%Extra8.decl [concrete = constants.%Extra8.type] // CHECK:STDOUT: %.loc16_71: %tuple.type.c53 = tuple_literal (%Extra1.ref, %Extra2.ref, %Extra3.ref, %Extra4.ref, %Extra5.ref, %Extra6.ref, %Extra7.ref, %Extra8.ref) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc16_72: type = converted %.loc16_71, constants.%tuple.type.401 [concrete = constants.%tuple.type.401] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%tuple.type.401) [concrete = constants.%C.2b1] +// CHECK:STDOUT: %.loc16_72: type = converted %.loc16_71, constants.%tuple.type.4f5 [concrete = constants.%tuple.type.4f5] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%tuple.type.4f5) [concrete = constants.%C.a17] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra1 { -// CHECK:STDOUT: %Self: %Extra1.type = symbolic_binding Self, 0 [symbolic = constants.%Self.cce] +// CHECK:STDOUT: %Self: %Extra1.type = symbolic_binding Self, 0 [symbolic = constants.%Self.e83] // CHECK:STDOUT: %Extra1.WithSelf.decl = interface_with_self_decl @Extra1 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -2729,7 +2729,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra2 { -// CHECK:STDOUT: %Self: %Extra2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.ab8] +// CHECK:STDOUT: %Self: %Extra2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.a27] // CHECK:STDOUT: %Extra2.WithSelf.decl = interface_with_self_decl @Extra2 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -2740,7 +2740,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra3 { -// CHECK:STDOUT: %Self: %Extra3.type = symbolic_binding Self, 0 [symbolic = constants.%Self.397] +// CHECK:STDOUT: %Self: %Extra3.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d87] // CHECK:STDOUT: %Extra3.WithSelf.decl = interface_with_self_decl @Extra3 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -2751,7 +2751,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra4 { -// CHECK:STDOUT: %Self: %Extra4.type = symbolic_binding Self, 0 [symbolic = constants.%Self.33b] +// CHECK:STDOUT: %Self: %Extra4.type = symbolic_binding Self, 0 [symbolic = constants.%Self.7bc] // CHECK:STDOUT: %Extra4.WithSelf.decl = interface_with_self_decl @Extra4 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -2762,7 +2762,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra5 { -// CHECK:STDOUT: %Self: %Extra5.type = symbolic_binding Self, 0 [symbolic = constants.%Self.03f] +// CHECK:STDOUT: %Self: %Extra5.type = symbolic_binding Self, 0 [symbolic = constants.%Self.647] // CHECK:STDOUT: %Extra5.WithSelf.decl = interface_with_self_decl @Extra5 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -2773,7 +2773,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra6 { -// CHECK:STDOUT: %Self: %Extra6.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b20] +// CHECK:STDOUT: %Self: %Extra6.type = symbolic_binding Self, 0 [symbolic = constants.%Self.658] // CHECK:STDOUT: %Extra6.WithSelf.decl = interface_with_self_decl @Extra6 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -2784,7 +2784,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra7 { -// CHECK:STDOUT: %Self: %Extra7.type = symbolic_binding Self, 0 [symbolic = constants.%Self.6ac] +// CHECK:STDOUT: %Self: %Extra7.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c87] // CHECK:STDOUT: %Extra7.WithSelf.decl = interface_with_self_decl @Extra7 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -2795,7 +2795,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra8 { -// CHECK:STDOUT: %Self: %Extra8.type = symbolic_binding Self, 0 [symbolic = constants.%Self.340] +// CHECK:STDOUT: %Self: %Extra8.type = symbolic_binding Self, 0 [symbolic = constants.%Self.5af] // CHECK:STDOUT: %Extra8.WithSelf.decl = interface_with_self_decl @Extra8 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -2806,17 +2806,17 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.ee3] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.418] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.f4a) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.0d1)] { -// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.8c7) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type (%pattern_type.8c7) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.8ee) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.9a6)] { +// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.2b8) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type (%pattern_type.2b8) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @I.WithSelf.F.%Self.as_type.loc14_26.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc14_26.1: type = splice_block %.loc14_26.2 [symbolic = %Self.as_type.loc14_26.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %Self.ref: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.ee3)] +// CHECK:STDOUT: %Self.ref: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.418)] // CHECK:STDOUT: %Self.as_type.loc14_26.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc14_26.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc14_26.2: type = converted %Self.ref, %Self.as_type.loc14_26.2 [symbolic = %Self.as_type.loc14_26.1 (constants.%Self.as_type)] // CHECK:STDOUT: } @@ -2834,12 +2834,12 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C as %I.ref { // CHECK:STDOUT: %C.as.I.impl.F.decl: %C.as.I.impl.F.type = fn_decl @C.as.I.impl.F [concrete = constants.%C.as.I.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.18b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.18b = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.a06 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.a06 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: %C.2b1 = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.I.impl.%C [concrete = constants.%C.2b1] -// CHECK:STDOUT: %self: %C.2b1 = value_binding self, %self.param +// CHECK:STDOUT: %self.param: %C.a17 = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.I.impl.%C [concrete = constants.%C.a17] +// CHECK:STDOUT: %self: %C.a17 = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%C.as.I.impl.F.decl), @C.as.I.impl [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness] @@ -2860,58 +2860,58 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.19a +// CHECK:STDOUT: .Self = constants.%C.206 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.ee3)] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.418)] // CHECK:STDOUT: %Self.as_type.loc14_26.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc14_26.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc14_26.1 [symbolic = %pattern_type (constants.%pattern_type.8c7)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc14_26.1 [symbolic = %pattern_type (constants.%pattern_type.2b8)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @I.WithSelf.F.%Self.as_type.loc14_26.1 (%Self.as_type)); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.I.impl.F(%self.param: %C.2b1) { +// CHECK:STDOUT: fn @C.as.I.impl.F(%self.param: %C.a17) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra1.WithSelf(constants.%Self.cce) {} +// CHECK:STDOUT: specific @Extra1.WithSelf(constants.%Self.e83) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra2.WithSelf(constants.%Self.ab8) {} +// CHECK:STDOUT: specific @Extra2.WithSelf(constants.%Self.a27) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra3.WithSelf(constants.%Self.397) {} +// CHECK:STDOUT: specific @Extra3.WithSelf(constants.%Self.d87) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra4.WithSelf(constants.%Self.33b) {} +// CHECK:STDOUT: specific @Extra4.WithSelf(constants.%Self.7bc) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra5.WithSelf(constants.%Self.03f) {} +// CHECK:STDOUT: specific @Extra5.WithSelf(constants.%Self.647) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra6.WithSelf(constants.%Self.b20) {} +// CHECK:STDOUT: specific @Extra6.WithSelf(constants.%Self.658) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra7.WithSelf(constants.%Self.6ac) {} +// CHECK:STDOUT: specific @Extra7.WithSelf(constants.%Self.c87) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra8.WithSelf(constants.%Self.340) {} +// CHECK:STDOUT: specific @Extra8.WithSelf(constants.%Self.5af) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { // CHECK:STDOUT: %T.loc13_10.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.ee3) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.418) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.ee3 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.f4a -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.0d1 +// CHECK:STDOUT: %Self => constants.%Self.418 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.8ee +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.9a6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.ee3) { -// CHECK:STDOUT: %Self => constants.%Self.ee3 +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.418) { +// CHECK:STDOUT: %Self => constants.%Self.418 // CHECK:STDOUT: %Self.as_type.loc14_26.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.8c7 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2b8 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%tuple.type.401) { -// CHECK:STDOUT: %T.loc13_10.1 => constants.%tuple.type.401 +// CHECK:STDOUT: specific @C(constants.%tuple.type.4f5) { +// CHECK:STDOUT: %T.loc13_10.1 => constants.%tuple.type.4f5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -2919,14 +2919,14 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.de3 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.2c8 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d1d +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.659 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet) { // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %Self.as_type.loc14_26.1 => constants.%C.2b1 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.18b +// CHECK:STDOUT: %Self.as_type.loc14_26.1 => constants.%C.a17 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a06 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_use_has_extra_interfaces.carbon @@ -2937,36 +2937,36 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %C.179: type = class_type @C, @C(type) [concrete] -// CHECK:STDOUT: %pattern_type.b54: type = pattern_type %C.179 [concrete] +// CHECK:STDOUT: %C.29d: type = class_type @C, @C(type) [concrete] +// CHECK:STDOUT: %pattern_type.f28: type = pattern_type %C.29d [concrete] // CHECK:STDOUT: %Test.type: type = fn_type @Test [concrete] // CHECK:STDOUT: %Test: %Test.type = struct_value () [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.631: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.631) [symbolic] +// CHECK:STDOUT: %Self.59b: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.59b) [symbolic] // CHECK:STDOUT: %I.WithSelf.F: %I.WithSelf.F.type = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.631 [symbolic] -// CHECK:STDOUT: %pattern_type.86e: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.59b [symbolic] +// CHECK:STDOUT: %pattern_type.2e0: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%HasExtraInterfaces.import_ref.d4b [concrete] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, imports.%HasExtraInterfaces.import_ref.deb [concrete] // CHECK:STDOUT: %Extra8.type: type = facet_type <@Extra8> [concrete] -// CHECK:STDOUT: %Self.9d5: %Extra8.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.3b0: %Extra8.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra7.type: type = facet_type <@Extra7> [concrete] -// CHECK:STDOUT: %Self.ed8: %Extra7.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.9eb: %Extra7.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra6.type: type = facet_type <@Extra6> [concrete] -// CHECK:STDOUT: %Self.4d3: %Extra6.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.28d: %Extra6.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra5.type: type = facet_type <@Extra5> [concrete] -// CHECK:STDOUT: %Self.9b3: %Extra5.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.841: %Extra5.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra4.type: type = facet_type <@Extra4> [concrete] -// CHECK:STDOUT: %Self.5fb: %Extra4.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.b05: %Extra4.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra3.type: type = facet_type <@Extra3> [concrete] -// CHECK:STDOUT: %Self.5dc: %Extra3.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.591: %Extra3.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra2.type: type = facet_type <@Extra2> [concrete] -// CHECK:STDOUT: %Self.9c8: %Extra2.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.c52: %Extra2.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Extra1.type: type = facet_type <@Extra1> [concrete] -// CHECK:STDOUT: %Self.e0d: %Extra1.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.de5: %Extra1.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %tuple.type: type = tuple_type (%Extra1.type, %Extra2.type, %Extra3.type, %Extra4.type, %Extra5.type, %Extra6.type, %Extra7.type, %Extra8.type) [concrete] -// CHECK:STDOUT: %C.2b1: type = class_type @C, @C(%tuple.type) [concrete] +// CHECK:STDOUT: %C.a17: type = class_type @C, @C(%tuple.type) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2981,25 +2981,25 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: } // CHECK:STDOUT: %HasExtraInterfaces.C: %C.type = import_ref HasExtraInterfaces//default, C, loaded [concrete = constants.%C.generic] // CHECK:STDOUT: %HasExtraInterfaces.import_ref.8f2: = import_ref HasExtraInterfaces//default, loc13_20, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.21b = import_ref HasExtraInterfaces//default, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.755 = import_ref HasExtraInterfaces//default, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %HasExtraInterfaces.import_ref.b3b: type = import_ref HasExtraInterfaces//default, loc13_10, loaded [symbolic = @C.%T (constants.%T)] // CHECK:STDOUT: %HasExtraInterfaces.I: type = import_ref HasExtraInterfaces//default, I, loaded [concrete = constants.%I.type] -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.6ab: %I.assoc_type = import_ref HasExtraInterfaces//default, loc14_33, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.f08: %I.assoc_type = import_ref HasExtraInterfaces//default, loc14_33, loaded [concrete = constants.%assoc0] // CHECK:STDOUT: %HasExtraInterfaces.F = import_ref HasExtraInterfaces//default, F, unloaded -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.5eb559.2: %I.type = import_ref HasExtraInterfaces//default, loc14_13, loaded [symbolic = constants.%Self.631] -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.dd7 = import_ref HasExtraInterfaces//default, loc14_13, unloaded -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.d4b: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type) = import_ref HasExtraInterfaces//default, loc14_33, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F)] -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.783 = import_ref HasExtraInterfaces//default, loc16_79, unloaded -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.c33 = import_ref HasExtraInterfaces//default, loc11_18, unloaded -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.bbf = import_ref HasExtraInterfaces//default, loc10_18, unloaded -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.ff3 = import_ref HasExtraInterfaces//default, loc9_18, unloaded -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.21f = import_ref HasExtraInterfaces//default, loc8_18, unloaded -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.8d3 = import_ref HasExtraInterfaces//default, loc7_18, unloaded -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.6d4 = import_ref HasExtraInterfaces//default, loc6_18, unloaded -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.426 = import_ref HasExtraInterfaces//default, loc5_18, unloaded -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.4cd = import_ref HasExtraInterfaces//default, loc4_18, unloaded -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.d30: type = import_ref HasExtraInterfaces//default, loc16_72, loaded [concrete = constants.%C.2b1] -// CHECK:STDOUT: %HasExtraInterfaces.import_ref.daf: type = import_ref HasExtraInterfaces//default, loc16_77, loaded [concrete = constants.%I.type] +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.4f100f.2: %I.type = import_ref HasExtraInterfaces//default, loc14_13, loaded [symbolic = constants.%Self.59b] +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.2c3 = import_ref HasExtraInterfaces//default, loc14_13, unloaded +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.deb: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type) = import_ref HasExtraInterfaces//default, loc14_33, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F)] +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.c87 = import_ref HasExtraInterfaces//default, loc16_79, unloaded +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.ee5 = import_ref HasExtraInterfaces//default, loc11_18, unloaded +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.d53 = import_ref HasExtraInterfaces//default, loc10_18, unloaded +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.409 = import_ref HasExtraInterfaces//default, loc9_18, unloaded +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.941 = import_ref HasExtraInterfaces//default, loc8_18, unloaded +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.3f1 = import_ref HasExtraInterfaces//default, loc7_18, unloaded +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.651 = import_ref HasExtraInterfaces//default, loc6_18, unloaded +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.188 = import_ref HasExtraInterfaces//default, loc5_18, unloaded +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.f77 = import_ref HasExtraInterfaces//default, loc4_18, unloaded +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.3ce: type = import_ref HasExtraInterfaces//default, loc16_72, loaded [concrete = constants.%C.a17] +// CHECK:STDOUT: %HasExtraInterfaces.import_ref.25b: type = import_ref HasExtraInterfaces//default, loc16_77, loaded [concrete = constants.%I.type] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -3011,24 +3011,24 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %HasExtraInterfaces.import = import HasExtraInterfaces // CHECK:STDOUT: %Test.decl: %Test.type = fn_decl @Test [concrete = constants.%Test] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.b54 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.b54 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.f28 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.f28 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %c.param: %C.179 = value_param call_param0 -// CHECK:STDOUT: %.loc5_37: type = splice_block %C [concrete = constants.%C.179] { +// CHECK:STDOUT: %c.param: %C.29d = value_param call_param0 +// CHECK:STDOUT: %.loc5_37: type = splice_block %C [concrete = constants.%C.29d] { // CHECK:STDOUT: %HasExtraInterfaces.ref.loc5: = name_ref HasExtraInterfaces, imports.%HasExtraInterfaces [concrete = imports.%HasExtraInterfaces] // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%HasExtraInterfaces.C [concrete = constants.%C.generic] // CHECK:STDOUT: %.loc5_33: type = type_literal type [concrete = type] -// CHECK:STDOUT: %C: type = class_type @C, @C(type) [concrete = constants.%C.179] +// CHECK:STDOUT: %C: type = class_type @C, @C(type) [concrete = constants.%C.29d] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %C.179 = value_binding c, %c.param +// CHECK:STDOUT: %c: %C.29d = value_binding c, %c.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "has_extra_interfaces.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.dd7 -// CHECK:STDOUT: .F = imports.%HasExtraInterfaces.import_ref.6ab +// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.2c3 +// CHECK:STDOUT: .F = imports.%HasExtraInterfaces.import_ref.f08 // CHECK:STDOUT: witness = (imports.%HasExtraInterfaces.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -3036,7 +3036,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra8 [from "has_extra_interfaces.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.c33 +// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.ee5 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -3044,7 +3044,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra7 [from "has_extra_interfaces.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.bbf +// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.d53 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -3052,7 +3052,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra6 [from "has_extra_interfaces.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.ff3 +// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.409 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -3060,7 +3060,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra5 [from "has_extra_interfaces.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.21f +// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.941 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -3068,7 +3068,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra4 [from "has_extra_interfaces.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.8d3 +// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.3f1 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -3076,7 +3076,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra3 [from "has_extra_interfaces.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.6d4 +// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.651 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -3084,7 +3084,7 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra2 [from "has_extra_interfaces.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.426 +// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.188 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -3092,15 +3092,15 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: // CHECK:STDOUT: interface @Extra1 [from "has_extra_interfaces.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.4cd +// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.f77 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.I.impl: imports.%HasExtraInterfaces.import_ref.d30 as imports.%HasExtraInterfaces.import_ref.daf [from "has_extra_interfaces.carbon"] { +// CHECK:STDOUT: impl @C.as.I.impl: imports.%HasExtraInterfaces.import_ref.3ce as imports.%HasExtraInterfaces.import_ref.25b [from "has_extra_interfaces.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%HasExtraInterfaces.import_ref.783 +// CHECK:STDOUT: witness = imports.%HasExtraInterfaces.import_ref.c87 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @C(imports.%HasExtraInterfaces.import_ref.b3b: type) [from "has_extra_interfaces.carbon"] { @@ -3112,23 +3112,23 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: complete_type_witness = imports.%HasExtraInterfaces.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.21b +// CHECK:STDOUT: .Self = imports.%HasExtraInterfaces.import_ref.755 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Test(%c.param: %C.179) { +// CHECK:STDOUT: fn @Test(%c.param: %C.29d) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %c.ref: %C.179 = name_ref c, %c +// CHECK:STDOUT: %c.ref: %C.29d = name_ref c, %c // CHECK:STDOUT: %HasExtraInterfaces.ref.loc12: = name_ref HasExtraInterfaces, imports.%HasExtraInterfaces [concrete = imports.%HasExtraInterfaces] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%HasExtraInterfaces.I [concrete = constants.%I.type] -// CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, imports.%HasExtraInterfaces.import_ref.6ab [concrete = constants.%assoc0] +// CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, imports.%HasExtraInterfaces.import_ref.f08 [concrete = constants.%assoc0] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%HasExtraInterfaces.import_ref.5eb559.2: %I.type) [from "has_extra_interfaces.carbon"] { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.631)] +// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%HasExtraInterfaces.import_ref.4f100f.2: %I.type) [from "has_extra_interfaces.carbon"] { +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.59b)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.86e)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.2e0)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -3143,34 +3143,34 @@ fn Test(c: HasExtraInterfaces.C(type)) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.631) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.59b) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.631 +// CHECK:STDOUT: %Self => constants.%Self.59b // CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type // CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.631) { -// CHECK:STDOUT: %Self => constants.%Self.631 +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.59b) { +// CHECK:STDOUT: %Self => constants.%Self.59b // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.86e +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.2e0 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra8.WithSelf(constants.%Self.9d5) {} +// CHECK:STDOUT: specific @Extra8.WithSelf(constants.%Self.3b0) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra7.WithSelf(constants.%Self.ed8) {} +// CHECK:STDOUT: specific @Extra7.WithSelf(constants.%Self.9eb) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra6.WithSelf(constants.%Self.4d3) {} +// CHECK:STDOUT: specific @Extra6.WithSelf(constants.%Self.28d) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra5.WithSelf(constants.%Self.9b3) {} +// CHECK:STDOUT: specific @Extra5.WithSelf(constants.%Self.841) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra4.WithSelf(constants.%Self.5fb) {} +// CHECK:STDOUT: specific @Extra4.WithSelf(constants.%Self.b05) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra3.WithSelf(constants.%Self.5dc) {} +// CHECK:STDOUT: specific @Extra3.WithSelf(constants.%Self.591) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra2.WithSelf(constants.%Self.9c8) {} +// CHECK:STDOUT: specific @Extra2.WithSelf(constants.%Self.c52) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Extra1.WithSelf(constants.%Self.e0d) {} +// CHECK:STDOUT: specific @Extra1.WithSelf(constants.%Self.de5) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%tuple.type) { // CHECK:STDOUT: %T => constants.%tuple.type diff --git a/toolchain/check/testdata/impl/lookup/instance_method.carbon b/toolchain/check/testdata/impl/lookup/instance_method.carbon index c489ff19e747..ba3f116f5d43 100644 --- a/toolchain/check/testdata/impl/lookup/instance_method.carbon +++ b/toolchain/check/testdata/impl/lookup/instance_method.carbon @@ -35,33 +35,33 @@ fn F(c: C) -> i32 { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.49f: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.a3c: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.831: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.ddf: %I.WithSelf.F.type.831 = struct_value () [symbolic] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.d9f: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.592: %I.WithSelf.F.type.d9f = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F [concrete] // CHECK:STDOUT: %C.as.I.impl.F: %C.as.I.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.faa: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.537: %I.WithSelf.F.type.faa = struct_value () [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.3a2: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.138: %I.WithSelf.F.type.3a2 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %C.type.facet: %type = facet_value %C, () [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.124: type = fn_type @I.WithSelf.F, @I.WithSelf(%C.type.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.886: %I.WithSelf.F.type.124 = struct_value () [concrete] -// CHECK:STDOUT: %.7c6: type = fn_type_with_self_type %I.WithSelf.F.type.faa, %I.facet [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.eef: type = fn_type @I.WithSelf.F, @I.WithSelf(%C.type.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.b58: %I.WithSelf.F.type.eef = struct_value () [concrete] +// CHECK:STDOUT: %.f38: type = fn_type_with_self_type %I.WithSelf.F.type.3a2, %I.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -85,13 +85,13 @@ fn F(c: C) -> i32 { // CHECK:STDOUT: %I.decl: type = interface_decl @I [concrete = constants.%I.type] {} {} // CHECK:STDOUT: %C.decl.loc21: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.d7b = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.d7b = at_binding_pattern c, %c.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc27: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc27: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %c.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl.loc15 [concrete = constants.%C] // CHECK:STDOUT: %c: %C = value_binding c, %c.param @@ -105,14 +105,14 @@ fn F(c: C) -> i32 { // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.831) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.ddf)] { -// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.49f) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type (%pattern_type.49f) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.d9f) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.592)] { +// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.a3c) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type (%pattern_type.a3c) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc18_25: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc18_25: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: @I.WithSelf.F.%Self.as_type.loc18_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc18_14.1: type = splice_block %.loc18_14.2 [symbolic = %Self.as_type.loc18_14.1 (constants.%Self.as_type)] { // CHECK:STDOUT: %Self.ref: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self)] @@ -135,13 +135,13 @@ fn F(c: C) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %Self.ref as %I.ref { // CHECK:STDOUT: %C.as.I.impl.F.decl: %C.as.I.impl.F.type = fn_decl @C.as.I.impl.F [concrete = constants.%C.as.I.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.d7b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.d7b = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc23: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc23: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] // CHECK:STDOUT: %self: %C = value_binding self, %self.param @@ -175,7 +175,7 @@ fn F(c: C) -> i32 { // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc18_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc18_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc18_14.1 [symbolic = %pattern_type (constants.%pattern_type.49f)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc18_14.1 [symbolic = %pattern_type (constants.%pattern_type.a3c)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @I.WithSelf.F.%Self.as_type.loc18_14.1 (%Self.as_type)) -> out %return.param: %i32; // CHECK:STDOUT: } @@ -186,7 +186,7 @@ fn F(c: C) -> i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.7c6 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] +// CHECK:STDOUT: %impl.elem0: %.f38 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.I.impl.F.call: init %i32 = call %bound_method(%c.ref) // CHECK:STDOUT: return %C.as.I.impl.F.call @@ -195,33 +195,33 @@ fn F(c: C) -> i32 { // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.831 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.ddf +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d9f +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.592 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc18_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.49f +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a3c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.faa -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.537 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.3a2 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.138 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet) { // CHECK:STDOUT: %Self => constants.%I.facet // CHECK:STDOUT: %Self.as_type.loc18_14.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d7b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%C.type.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.124 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.886 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.eef +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.b58 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/lookup/lookup_interface_with_enclosing_generic_inside_rewrite_constraint.carbon b/toolchain/check/testdata/impl/lookup/lookup_interface_with_enclosing_generic_inside_rewrite_constraint.carbon index a261bca308bf..576e5a9ebcd2 100644 --- a/toolchain/check/testdata/impl/lookup/lookup_interface_with_enclosing_generic_inside_rewrite_constraint.carbon +++ b/toolchain/check/testdata/impl/lookup/lookup_interface_with_enclosing_generic_inside_rewrite_constraint.carbon @@ -110,45 +110,45 @@ fn F() { // CHECK:STDOUT: %Outer.type: type = generic_class_type @Outer [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Outer.generic: %Outer.type = struct_value () [concrete] -// CHECK:STDOUT: %Outer.1fc: type = class_type @Outer, @Outer(%OuterParam) [symbolic] -// CHECK:STDOUT: %Y.type.dec: type = facet_type <@Y, @Y(%OuterParam)> [symbolic] -// CHECK:STDOUT: %Self.650: %Y.type.dec = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Y.assoc_type.928: type = assoc_entity_type @Y, @Y(%OuterParam) [symbolic] -// CHECK:STDOUT: %assoc0.aa6: %Y.assoc_type.928 = assoc_entity element0, @Y.WithSelf.%T [symbolic] -// CHECK:STDOUT: %.Self.b75: %Y.type.dec = symbolic_binding .Self [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %Y.type.dec [symbolic] -// CHECK:STDOUT: %.Self.as_type.f5b: type = facet_access_type %.Self.b75 [symbolic] -// CHECK:STDOUT: %Y.lookup_impl_witness.764: = lookup_impl_witness %.Self.b75, @Y, @Y(%OuterParam) [symbolic] -// CHECK:STDOUT: %impl.elem0.531: type = impl_witness_access %Y.lookup_impl_witness.764, element0 [symbolic] +// CHECK:STDOUT: %Outer.3b5: type = class_type @Outer, @Outer(%OuterParam) [symbolic] +// CHECK:STDOUT: %Y.type.2c1: type = facet_type <@Y, @Y(%OuterParam)> [symbolic] +// CHECK:STDOUT: %Self.356: %Y.type.2c1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Y.assoc_type.812: type = assoc_entity_type @Y, @Y(%OuterParam) [symbolic] +// CHECK:STDOUT: %assoc0.43a: %Y.assoc_type.812 = assoc_entity element0, @Y.WithSelf.%T [symbolic] +// CHECK:STDOUT: %.Self.375: %Y.type.2c1 = symbolic_binding .Self [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %Y.type.2c1 [symbolic] +// CHECK:STDOUT: %.Self.as_type.975: type = facet_access_type %.Self.375 [symbolic] +// CHECK:STDOUT: %Y.lookup_impl_witness.a01: = lookup_impl_witness %.Self.375, @Y, @Y(%OuterParam) [symbolic] +// CHECK:STDOUT: %impl.elem0.b7e: type = impl_witness_access %Y.lookup_impl_witness.a01, element0 [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %Y_where.type.cba: type = facet_type <@Y, @Y(%OuterParam) where %impl.elem0.531 = %empty_tuple.type> [symbolic] -// CHECK:STDOUT: %pattern_type.c6c: type = pattern_type %Y_where.type.cba [symbolic] -// CHECK:STDOUT: %H: %Y_where.type.cba = symbolic_binding H, 1 [symbolic] -// CHECK:STDOUT: %Outer.G.type.39d: type = fn_type @Outer.G, @Outer(%OuterParam) [symbolic] -// CHECK:STDOUT: %Outer.G.902: %Outer.G.type.39d = struct_value () [symbolic] +// CHECK:STDOUT: %Y_where.type.bfa: type = facet_type <@Y, @Y(%OuterParam) where %impl.elem0.b7e = %empty_tuple.type> [symbolic] +// CHECK:STDOUT: %pattern_type.f13: type = pattern_type %Y_where.type.bfa [symbolic] +// CHECK:STDOUT: %H: %Y_where.type.bfa = symbolic_binding H, 1 [symbolic] +// CHECK:STDOUT: %Outer.G.type.dad: type = fn_type @Outer.G, @Outer(%OuterParam) [symbolic] +// CHECK:STDOUT: %Outer.G.dfb: %Outer.G.type.dad = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %Outer.c3b: type = class_type @Outer, @Outer(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %Y.type.b87: type = facet_type <@Y, @Y(%empty_tuple.type)> [concrete] -// CHECK:STDOUT: %Outer.G.type.025: type = fn_type @Outer.G, @Outer(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %Outer.G.66d: %Outer.G.type.025 = struct_value () [concrete] -// CHECK:STDOUT: %.Self.ba1: %Y.type.b87 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %Self.d1c: %Y.type.b87 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Y.assoc_type.7eb: type = assoc_entity_type @Y, @Y(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %assoc0.5b5: %Y.assoc_type.7eb = assoc_entity element0, @Y.WithSelf.%T [concrete] -// CHECK:STDOUT: %.Self.as_type.27b: type = facet_access_type %.Self.ba1 [symbolic_self] -// CHECK:STDOUT: %Y.lookup_impl_witness.9af: = lookup_impl_witness %.Self.ba1, @Y, @Y(%empty_tuple.type) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.73b: type = impl_witness_access %Y.lookup_impl_witness.9af, element0 [symbolic_self] -// CHECK:STDOUT: %Y_where.type.f3b: type = facet_type <@Y, @Y(%empty_tuple.type) where %impl.elem0.73b = %empty_tuple.type> [concrete] +// CHECK:STDOUT: %Outer.922: type = class_type @Outer, @Outer(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %Y.type.de7: type = facet_type <@Y, @Y(%empty_tuple.type)> [concrete] +// CHECK:STDOUT: %Outer.G.type.c60: type = fn_type @Outer.G, @Outer(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %Outer.G.949: %Outer.G.type.c60 = struct_value () [concrete] +// CHECK:STDOUT: %.Self.c71: %Y.type.de7 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Self.45a: %Y.type.de7 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Y.assoc_type.ab2: type = assoc_entity_type @Y, @Y(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %assoc0.ef6: %Y.assoc_type.ab2 = assoc_entity element0, @Y.WithSelf.%T [concrete] +// CHECK:STDOUT: %.Self.as_type.e93: type = facet_access_type %.Self.c71 [symbolic_self] +// CHECK:STDOUT: %Y.lookup_impl_witness.ca3: = lookup_impl_witness %.Self.c71, @Y, @Y(%empty_tuple.type) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.16f: type = impl_witness_access %Y.lookup_impl_witness.ca3, element0 [symbolic_self] +// CHECK:STDOUT: %Y_where.type.c1d: type = facet_type <@Y, @Y(%empty_tuple.type) where %impl.elem0.16f = %empty_tuple.type> [concrete] // CHECK:STDOUT: %Y.impl_witness: = impl_witness @C.as.Y.impl.%Y.impl_witness_table [concrete] -// CHECK:STDOUT: %Y.facet: %Y.type.b87 = facet_value %C, (%Y.impl_witness) [concrete] +// CHECK:STDOUT: %Y.facet: %Y.type.de7 = facet_value %C, (%Y.impl_witness) [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %facet_value: %Y_where.type.f3b = facet_value %C, (%Y.impl_witness) [concrete] -// CHECK:STDOUT: %complete_type.4ab: = complete_type_witness %Y.type.b87 [concrete] -// CHECK:STDOUT: %pattern_type.c98: type = pattern_type %Y_where.type.f3b [concrete] -// CHECK:STDOUT: %Outer.G.specific_fn: = specific_function %Outer.G.66d, @Outer.G(%empty_tuple.type, %facet_value) [concrete] +// CHECK:STDOUT: %facet_value: %Y_where.type.c1d = facet_value %C, (%Y.impl_witness) [concrete] +// CHECK:STDOUT: %complete_type.c62: = complete_type_witness %Y.type.de7 [concrete] +// CHECK:STDOUT: %pattern_type.c64: type = pattern_type %Y_where.type.c1d [concrete] +// CHECK:STDOUT: %Outer.G.specific_fn: = specific_function %Outer.G.949, @Outer.G(%empty_tuple.type, %facet_value) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -181,19 +181,19 @@ fn F() { // CHECK:STDOUT: %Outer.ref: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %.loc58_18: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc58_19: type = converted %.loc58_18, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %Outer: type = class_type @Outer, @Outer(constants.%empty_tuple.type) [concrete = constants.%Outer.c3b] -// CHECK:STDOUT: %.loc58_20: type = specific_constant @Outer.%Y.decl, @Outer(constants.%empty_tuple.type) [concrete = constants.%Y.type.b87] -// CHECK:STDOUT: %Y.ref: type = name_ref Y, %.loc58_20 [concrete = constants.%Y.type.b87] -// CHECK:STDOUT: %.Self: %Y.type.b87 = symbolic_binding .Self [symbolic_self = constants.%.Self.ba1] -// CHECK:STDOUT: %.Self.ref: %Y.type.b87 = name_ref .Self, %.Self [symbolic_self = constants.%.Self.ba1] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type.27b] -// CHECK:STDOUT: %.loc58_29.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type.27b] -// CHECK:STDOUT: %.loc58_29.2: %Y.assoc_type.7eb = specific_constant @T.%assoc0, @Y.WithSelf(constants.%empty_tuple.type, constants.%.Self.ba1) [concrete = constants.%assoc0.5b5] -// CHECK:STDOUT: %T.ref: %Y.assoc_type.7eb = name_ref T, %.loc58_29.2 [concrete = constants.%assoc0.5b5] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Y.lookup_impl_witness.9af, element0 [symbolic_self = constants.%impl.elem0.73b] +// CHECK:STDOUT: %Outer: type = class_type @Outer, @Outer(constants.%empty_tuple.type) [concrete = constants.%Outer.922] +// CHECK:STDOUT: %.loc58_20: type = specific_constant @Outer.%Y.decl, @Outer(constants.%empty_tuple.type) [concrete = constants.%Y.type.de7] +// CHECK:STDOUT: %Y.ref: type = name_ref Y, %.loc58_20 [concrete = constants.%Y.type.de7] +// CHECK:STDOUT: %.Self: %Y.type.de7 = symbolic_binding .Self [symbolic_self = constants.%.Self.c71] +// CHECK:STDOUT: %.Self.ref: %Y.type.de7 = name_ref .Self, %.Self [symbolic_self = constants.%.Self.c71] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type.e93] +// CHECK:STDOUT: %.loc58_29.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type.e93] +// CHECK:STDOUT: %.loc58_29.2: %Y.assoc_type.ab2 = specific_constant @T.%assoc0, @Y.WithSelf(constants.%empty_tuple.type, constants.%.Self.c71) [concrete = constants.%assoc0.ef6] +// CHECK:STDOUT: %T.ref: %Y.assoc_type.ab2 = name_ref T, %.loc58_29.2 [concrete = constants.%assoc0.ef6] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Y.lookup_impl_witness.ca3, element0 [symbolic_self = constants.%impl.elem0.16f] // CHECK:STDOUT: %.loc58_35.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc58_35.2: type = converted %.loc58_35.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %.loc58_23: type = where_expr [concrete = constants.%Y_where.type.f3b] { +// CHECK:STDOUT: %.loc58_23: type = where_expr [concrete = constants.%Y_where.type.c1d] { // CHECK:STDOUT: requirement_base_facet_type %Y.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0, %.loc58_35.2 // CHECK:STDOUT: } @@ -204,16 +204,16 @@ fn F() { // CHECK:STDOUT: generic interface @Y(@Outer.%OuterParam.loc49_23.2: type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam: type = symbolic_binding OuterParam, 0 [symbolic = %OuterParam (constants.%OuterParam)] -// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam)> [symbolic = %Y.type (constants.%Y.type.dec)] -// CHECK:STDOUT: %Self.loc50_15.2: @Y.%Y.type (%Y.type.dec) = symbolic_binding Self, 1 [symbolic = %Self.loc50_15.2 (constants.%Self.650)] +// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam)> [symbolic = %Y.type (constants.%Y.type.2c1)] +// CHECK:STDOUT: %Self.loc50_15.2: @Y.%Y.type (%Y.type.2c1) = symbolic_binding Self, 1 [symbolic = %Self.loc50_15.2 (constants.%Self.356)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc50_15.1: @Y.%Y.type (%Y.type.dec) = symbolic_binding Self, 1 [symbolic = %Self.loc50_15.2 (constants.%Self.650)] +// CHECK:STDOUT: %Self.loc50_15.1: @Y.%Y.type (%Y.type.2c1) = symbolic_binding Self, 1 [symbolic = %Self.loc50_15.2 (constants.%Self.356)] // CHECK:STDOUT: %Y.WithSelf.decl = interface_with_self_decl @Y [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] { -// CHECK:STDOUT: %assoc0: @Y.WithSelf.%Y.assoc_type (%Y.assoc_type.928) = assoc_entity element0, @Y.WithSelf.%T [symbolic = @Y.WithSelf.%assoc0 (constants.%assoc0.aa6)] +// CHECK:STDOUT: %assoc0: @Y.WithSelf.%Y.assoc_type (%Y.assoc_type.812) = assoc_entity element0, @Y.WithSelf.%T [symbolic = @Y.WithSelf.%assoc0 (constants.%assoc0.43a)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -239,40 +239,40 @@ fn F() { // CHECK:STDOUT: %OuterParam.loc49_23.1: type = symbolic_binding OuterParam, 0 [symbolic = %OuterParam.loc49_23.1 (constants.%OuterParam)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam.loc49_23.1)> [symbolic = %Y.type (constants.%Y.type.dec)] -// CHECK:STDOUT: %Outer.G.type: type = fn_type @Outer.G, @Outer(%OuterParam.loc49_23.1) [symbolic = %Outer.G.type (constants.%Outer.G.type.39d)] -// CHECK:STDOUT: %Outer.G: @Outer.%Outer.G.type (%Outer.G.type.39d) = struct_value () [symbolic = %Outer.G (constants.%Outer.G.902)] +// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam.loc49_23.1)> [symbolic = %Y.type (constants.%Y.type.2c1)] +// CHECK:STDOUT: %Outer.G.type: type = fn_type @Outer.G, @Outer(%OuterParam.loc49_23.1) [symbolic = %Outer.G.type (constants.%Outer.G.type.dad)] +// CHECK:STDOUT: %Outer.G: @Outer.%Outer.G.type (%Outer.G.type.dad) = struct_value () [symbolic = %Outer.G (constants.%Outer.G.dfb)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %Y.decl: type = interface_decl @Y [symbolic = @Outer.%Y.type (constants.%Y.type.dec)] {} {} -// CHECK:STDOUT: %Outer.G.decl: @Outer.%Outer.G.type (%Outer.G.type.39d) = fn_decl @Outer.G [symbolic = @Outer.%Outer.G (constants.%Outer.G.902)] { -// CHECK:STDOUT: %H.patt: @Outer.G.%pattern_type (%pattern_type.c6c) = symbolic_binding_pattern H, 1 [concrete] +// CHECK:STDOUT: %Y.decl: type = interface_decl @Y [symbolic = @Outer.%Y.type (constants.%Y.type.2c1)] {} {} +// CHECK:STDOUT: %Outer.G.decl: @Outer.%Outer.G.type (%Outer.G.type.dad) = fn_decl @Outer.G [symbolic = @Outer.%Outer.G (constants.%Outer.G.dfb)] { +// CHECK:STDOUT: %H.patt: @Outer.G.%pattern_type (%pattern_type.f13) = symbolic_binding_pattern H, 1 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc54_21.1: type = splice_block %.loc54_21.2 [symbolic = %Y_where.type (constants.%Y_where.type.cba)] { +// CHECK:STDOUT: %.loc54_21.1: type = splice_block %.loc54_21.2 [symbolic = %Y_where.type (constants.%Y_where.type.bfa)] { // CHECK:STDOUT: %.Self.loc54_16: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] -// CHECK:STDOUT: %.loc54_19: type = specific_constant @Outer.%Y.decl, @Outer(constants.%OuterParam) [symbolic = %Y.type (constants.%Y.type.dec)] -// CHECK:STDOUT: %Y.ref: type = name_ref Y, %.loc54_19 [symbolic = %Y.type (constants.%Y.type.dec)] -// CHECK:STDOUT: %.Self.loc54_21.2: @Outer.G.%Y.type (%Y.type.dec) = symbolic_binding .Self [symbolic = %.Self.loc54_21.1 (constants.%.Self.b75)] -// CHECK:STDOUT: %.Self.ref: @Outer.G.%Y.type (%Y.type.dec) = name_ref .Self, %.Self.loc54_21.2 [symbolic = %.Self.loc54_21.1 (constants.%.Self.b75)] -// CHECK:STDOUT: %.Self.as_type.loc54_27.2: type = facet_access_type %.Self.ref [symbolic = %.Self.as_type.loc54_27.1 (constants.%.Self.as_type.f5b)] -// CHECK:STDOUT: %.loc54_27.1: type = converted %.Self.ref, %.Self.as_type.loc54_27.2 [symbolic = %.Self.as_type.loc54_27.1 (constants.%.Self.as_type.f5b)] -// CHECK:STDOUT: %.loc54_27.2: @Outer.G.%Y.assoc_type (%Y.assoc_type.928) = specific_constant @T.%assoc0, @Y.WithSelf(constants.%OuterParam, constants.%.Self.b75) [symbolic = %assoc0 (constants.%assoc0.aa6)] -// CHECK:STDOUT: %T.ref: @Outer.G.%Y.assoc_type (%Y.assoc_type.928) = name_ref T, %.loc54_27.2 [symbolic = %assoc0 (constants.%assoc0.aa6)] -// CHECK:STDOUT: %impl.elem0.loc54_27.2: type = impl_witness_access constants.%Y.lookup_impl_witness.764, element0 [symbolic = %impl.elem0.loc54_27.1 (constants.%impl.elem0.531)] +// CHECK:STDOUT: %.loc54_19: type = specific_constant @Outer.%Y.decl, @Outer(constants.%OuterParam) [symbolic = %Y.type (constants.%Y.type.2c1)] +// CHECK:STDOUT: %Y.ref: type = name_ref Y, %.loc54_19 [symbolic = %Y.type (constants.%Y.type.2c1)] +// CHECK:STDOUT: %.Self.loc54_21.2: @Outer.G.%Y.type (%Y.type.2c1) = symbolic_binding .Self [symbolic = %.Self.loc54_21.1 (constants.%.Self.375)] +// CHECK:STDOUT: %.Self.ref: @Outer.G.%Y.type (%Y.type.2c1) = name_ref .Self, %.Self.loc54_21.2 [symbolic = %.Self.loc54_21.1 (constants.%.Self.375)] +// CHECK:STDOUT: %.Self.as_type.loc54_27.2: type = facet_access_type %.Self.ref [symbolic = %.Self.as_type.loc54_27.1 (constants.%.Self.as_type.975)] +// CHECK:STDOUT: %.loc54_27.1: type = converted %.Self.ref, %.Self.as_type.loc54_27.2 [symbolic = %.Self.as_type.loc54_27.1 (constants.%.Self.as_type.975)] +// CHECK:STDOUT: %.loc54_27.2: @Outer.G.%Y.assoc_type (%Y.assoc_type.812) = specific_constant @T.%assoc0, @Y.WithSelf(constants.%OuterParam, constants.%.Self.375) [symbolic = %assoc0 (constants.%assoc0.43a)] +// CHECK:STDOUT: %T.ref: @Outer.G.%Y.assoc_type (%Y.assoc_type.812) = name_ref T, %.loc54_27.2 [symbolic = %assoc0 (constants.%assoc0.43a)] +// CHECK:STDOUT: %impl.elem0.loc54_27.2: type = impl_witness_access constants.%Y.lookup_impl_witness.a01, element0 [symbolic = %impl.elem0.loc54_27.1 (constants.%impl.elem0.b7e)] // CHECK:STDOUT: %.loc54_33.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc54_33.2: type = converted %.loc54_33.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %.loc54_21.2: type = where_expr [symbolic = %Y_where.type (constants.%Y_where.type.cba)] { +// CHECK:STDOUT: %.loc54_21.2: type = where_expr [symbolic = %Y_where.type (constants.%Y_where.type.bfa)] { // CHECK:STDOUT: requirement_base_facet_type %Y.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc54_27.2, %.loc54_33.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %H.loc54_16.2: @Outer.G.%Y_where.type (%Y_where.type.cba) = symbolic_binding H, 1 [symbolic = %H.loc54_16.1 (constants.%H)] +// CHECK:STDOUT: %H.loc54_16.2: @Outer.G.%Y_where.type (%Y_where.type.bfa) = symbolic_binding H, 1 [symbolic = %H.loc54_16.1 (constants.%H)] // CHECK:STDOUT: } // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type.357] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Outer.1fc +// CHECK:STDOUT: .Self = constants.%Outer.3b5 // CHECK:STDOUT: .Y = %Y.decl // CHECK:STDOUT: .G = %Outer.G.decl // CHECK:STDOUT: } @@ -280,19 +280,19 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: class @C; // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Outer.G(@Outer.%OuterParam.loc49_23.2: type, %H.loc54_16.2: @Outer.G.%Y_where.type (%Y_where.type.cba)) { +// CHECK:STDOUT: generic fn @Outer.G(@Outer.%OuterParam.loc49_23.2: type, %H.loc54_16.2: @Outer.G.%Y_where.type (%Y_where.type.bfa)) { // CHECK:STDOUT: %OuterParam: type = symbolic_binding OuterParam, 0 [symbolic = %OuterParam (constants.%OuterParam)] -// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam)> [symbolic = %Y.type (constants.%Y.type.dec)] -// CHECK:STDOUT: %.Self.loc54_21.1: @Outer.G.%Y.type (%Y.type.dec) = symbolic_binding .Self [symbolic = %.Self.loc54_21.1 (constants.%.Self.b75)] +// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam)> [symbolic = %Y.type (constants.%Y.type.2c1)] +// CHECK:STDOUT: %.Self.loc54_21.1: @Outer.G.%Y.type (%Y.type.2c1) = symbolic_binding .Self [symbolic = %.Self.loc54_21.1 (constants.%.Self.375)] // CHECK:STDOUT: %require_complete: = require_complete_type %Y.type [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %.Self.as_type.loc54_27.1: type = facet_access_type %.Self.loc54_21.1 [symbolic = %.Self.as_type.loc54_27.1 (constants.%.Self.as_type.f5b)] -// CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y, @Y(%OuterParam) [symbolic = %Y.assoc_type (constants.%Y.assoc_type.928)] -// CHECK:STDOUT: %assoc0: @Outer.G.%Y.assoc_type (%Y.assoc_type.928) = assoc_entity element0, @Y.WithSelf.%T [symbolic = %assoc0 (constants.%assoc0.aa6)] -// CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %.Self.loc54_21.1, @Y, @Y(%OuterParam) [symbolic = %Y.lookup_impl_witness (constants.%Y.lookup_impl_witness.764)] -// CHECK:STDOUT: %impl.elem0.loc54_27.1: type = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc54_27.1 (constants.%impl.elem0.531)] -// CHECK:STDOUT: %Y_where.type: type = facet_type <@Y, @Y(%OuterParam) where %impl.elem0.loc54_27.1 = constants.%empty_tuple.type> [symbolic = %Y_where.type (constants.%Y_where.type.cba)] -// CHECK:STDOUT: %H.loc54_16.1: @Outer.G.%Y_where.type (%Y_where.type.cba) = symbolic_binding H, 1 [symbolic = %H.loc54_16.1 (constants.%H)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Y_where.type [symbolic = %pattern_type (constants.%pattern_type.c6c)] +// CHECK:STDOUT: %.Self.as_type.loc54_27.1: type = facet_access_type %.Self.loc54_21.1 [symbolic = %.Self.as_type.loc54_27.1 (constants.%.Self.as_type.975)] +// CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y, @Y(%OuterParam) [symbolic = %Y.assoc_type (constants.%Y.assoc_type.812)] +// CHECK:STDOUT: %assoc0: @Outer.G.%Y.assoc_type (%Y.assoc_type.812) = assoc_entity element0, @Y.WithSelf.%T [symbolic = %assoc0 (constants.%assoc0.43a)] +// CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %.Self.loc54_21.1, @Y, @Y(%OuterParam) [symbolic = %Y.lookup_impl_witness (constants.%Y.lookup_impl_witness.a01)] +// CHECK:STDOUT: %impl.elem0.loc54_27.1: type = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc54_27.1 (constants.%impl.elem0.b7e)] +// CHECK:STDOUT: %Y_where.type: type = facet_type <@Y, @Y(%OuterParam) where %impl.elem0.loc54_27.1 = constants.%empty_tuple.type> [symbolic = %Y_where.type (constants.%Y_where.type.bfa)] +// CHECK:STDOUT: %H.loc54_16.1: @Outer.G.%Y_where.type (%Y_where.type.bfa) = symbolic_binding H, 1 [symbolic = %H.loc54_16.1 (constants.%H)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Y_where.type [symbolic = %pattern_type (constants.%pattern_type.f13)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -307,12 +307,12 @@ fn F() { // CHECK:STDOUT: %Outer.ref: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %.loc61_10: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc61_11: type = converted %.loc61_10, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %Outer: type = class_type @Outer, @Outer(constants.%empty_tuple.type) [concrete = constants.%Outer.c3b] -// CHECK:STDOUT: %.loc61_12: %Outer.G.type.025 = specific_constant @Outer.%Outer.G.decl, @Outer(constants.%empty_tuple.type) [concrete = constants.%Outer.G.66d] -// CHECK:STDOUT: %G.ref: %Outer.G.type.025 = name_ref G, %.loc61_12 [concrete = constants.%Outer.G.66d] +// CHECK:STDOUT: %Outer: type = class_type @Outer, @Outer(constants.%empty_tuple.type) [concrete = constants.%Outer.922] +// CHECK:STDOUT: %.loc61_12: %Outer.G.type.c60 = specific_constant @Outer.%Outer.G.decl, @Outer(constants.%empty_tuple.type) [concrete = constants.%Outer.G.949] +// CHECK:STDOUT: %G.ref: %Outer.G.type.c60 = name_ref G, %.loc61_12 [concrete = constants.%Outer.G.949] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %facet_value: %Y_where.type.f3b = facet_value constants.%C, (constants.%Y.impl_witness) [concrete = constants.%facet_value] -// CHECK:STDOUT: %.loc61_16: %Y_where.type.f3b = converted constants.%C, %facet_value [concrete = constants.%facet_value] +// CHECK:STDOUT: %facet_value: %Y_where.type.c1d = facet_value constants.%C, (constants.%Y.impl_witness) [concrete = constants.%facet_value] +// CHECK:STDOUT: %.loc61_16: %Y_where.type.c1d = converted constants.%C, %facet_value [concrete = constants.%facet_value] // CHECK:STDOUT: %Outer.G.specific_fn: = specific_function %G.ref, @Outer.G(constants.%empty_tuple.type, constants.%facet_value) [concrete = constants.%Outer.G.specific_fn] // CHECK:STDOUT: %Outer.G.call: init %empty_tuple.type = call %Outer.G.specific_fn() // CHECK:STDOUT: return @@ -322,97 +322,97 @@ fn F() { // CHECK:STDOUT: %OuterParam.loc49_23.1 => constants.%OuterParam // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Y.type => constants.%Y.type.dec -// CHECK:STDOUT: %Outer.G.type => constants.%Outer.G.type.39d -// CHECK:STDOUT: %Outer.G => constants.%Outer.G.902 +// CHECK:STDOUT: %Y.type => constants.%Y.type.2c1 +// CHECK:STDOUT: %Outer.G.type => constants.%Outer.G.type.dad +// CHECK:STDOUT: %Outer.G => constants.%Outer.G.dfb // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y(constants.%OuterParam) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%OuterParam -// CHECK:STDOUT: %Y.type => constants.%Y.type.dec -// CHECK:STDOUT: %Self.loc50_15.2 => constants.%Self.650 +// CHECK:STDOUT: %Y.type => constants.%Y.type.2c1 +// CHECK:STDOUT: %Self.loc50_15.2 => constants.%Self.356 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%OuterParam, constants.%Self.650) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%OuterParam, constants.%Self.356) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%OuterParam -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.928 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.aa6 +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.812 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.43a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%OuterParam, constants.%.Self.b75) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%OuterParam, constants.%.Self.375) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%OuterParam -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.928 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.aa6 +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.812 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.43a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Outer.G(constants.%OuterParam, constants.%H) { // CHECK:STDOUT: %OuterParam => constants.%OuterParam -// CHECK:STDOUT: %Y.type => constants.%Y.type.dec -// CHECK:STDOUT: %.Self.loc54_21.1 => constants.%.Self.b75 +// CHECK:STDOUT: %Y.type => constants.%Y.type.2c1 +// CHECK:STDOUT: %.Self.loc54_21.1 => constants.%.Self.375 // CHECK:STDOUT: %require_complete => constants.%require_complete -// CHECK:STDOUT: %.Self.as_type.loc54_27.1 => constants.%.Self.as_type.f5b -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.928 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.aa6 -// CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness.764 -// CHECK:STDOUT: %impl.elem0.loc54_27.1 => constants.%impl.elem0.531 -// CHECK:STDOUT: %Y_where.type => constants.%Y_where.type.cba +// CHECK:STDOUT: %.Self.as_type.loc54_27.1 => constants.%.Self.as_type.975 +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.812 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.43a +// CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness.a01 +// CHECK:STDOUT: %impl.elem0.loc54_27.1 => constants.%impl.elem0.b7e +// CHECK:STDOUT: %Y_where.type => constants.%Y_where.type.bfa // CHECK:STDOUT: %H.loc54_16.1 => constants.%H -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c6c +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f13 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Outer(constants.%empty_tuple.type) { // CHECK:STDOUT: %OuterParam.loc49_23.1 => constants.%empty_tuple.type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Y.type => constants.%Y.type.b87 -// CHECK:STDOUT: %Outer.G.type => constants.%Outer.G.type.025 -// CHECK:STDOUT: %Outer.G => constants.%Outer.G.66d +// CHECK:STDOUT: %Y.type => constants.%Y.type.de7 +// CHECK:STDOUT: %Outer.G.type => constants.%Outer.G.type.c60 +// CHECK:STDOUT: %Outer.G => constants.%Outer.G.949 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y(constants.%empty_tuple.type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%empty_tuple.type -// CHECK:STDOUT: %Y.type => constants.%Y.type.b87 -// CHECK:STDOUT: %Self.loc50_15.2 => constants.%Self.d1c +// CHECK:STDOUT: %Y.type => constants.%Y.type.de7 +// CHECK:STDOUT: %Self.loc50_15.2 => constants.%Self.45a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%empty_tuple.type, constants.%Self.650) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%empty_tuple.type, constants.%Self.356) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%empty_tuple.type -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.7eb -// CHECK:STDOUT: %assoc0 => constants.%assoc0.5b5 +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.ab2 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.ef6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%empty_tuple.type, constants.%.Self.ba1) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%empty_tuple.type, constants.%.Self.c71) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%empty_tuple.type -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.7eb -// CHECK:STDOUT: %assoc0 => constants.%assoc0.5b5 +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.ab2 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.ef6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y.WithSelf(constants.%empty_tuple.type, constants.%Y.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%empty_tuple.type -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.7eb -// CHECK:STDOUT: %assoc0 => constants.%assoc0.5b5 +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.ab2 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.ef6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Outer.G(constants.%empty_tuple.type, constants.%facet_value) { // CHECK:STDOUT: %OuterParam => constants.%empty_tuple.type -// CHECK:STDOUT: %Y.type => constants.%Y.type.b87 -// CHECK:STDOUT: %.Self.loc54_21.1 => constants.%.Self.ba1 -// CHECK:STDOUT: %require_complete => constants.%complete_type.4ab -// CHECK:STDOUT: %.Self.as_type.loc54_27.1 => constants.%.Self.as_type.27b -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.7eb -// CHECK:STDOUT: %assoc0 => constants.%assoc0.5b5 -// CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness.9af -// CHECK:STDOUT: %impl.elem0.loc54_27.1 => constants.%impl.elem0.73b -// CHECK:STDOUT: %Y_where.type => constants.%Y_where.type.f3b +// CHECK:STDOUT: %Y.type => constants.%Y.type.de7 +// CHECK:STDOUT: %.Self.loc54_21.1 => constants.%.Self.c71 +// CHECK:STDOUT: %require_complete => constants.%complete_type.c62 +// CHECK:STDOUT: %.Self.as_type.loc54_27.1 => constants.%.Self.as_type.e93 +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.ab2 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.ef6 +// CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness.ca3 +// CHECK:STDOUT: %impl.elem0.loc54_27.1 => constants.%impl.elem0.16f +// CHECK:STDOUT: %Y_where.type => constants.%Y_where.type.c1d // CHECK:STDOUT: %H.loc54_16.1 => constants.%facet_value -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c98 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c64 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -421,36 +421,36 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Z1.type: type = facet_type <@Z1> [concrete] -// CHECK:STDOUT: %Self.22f: %Z1.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.9d0: %Z1.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Z2.type: type = facet_type <@Z2> [concrete] -// CHECK:STDOUT: %Self.e4b: %Z2.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.67a: %Z2.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.323: type = pattern_type %Z1.type [concrete] +// CHECK:STDOUT: %pattern_type.3a9: type = pattern_type %Z1.type [concrete] // CHECK:STDOUT: %OuterParam: %Z1.type = symbolic_binding OuterParam, 0 [symbolic] // CHECK:STDOUT: %Outer.type: type = generic_class_type @Outer [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Outer.generic: %Outer.type = struct_value () [concrete] -// CHECK:STDOUT: %Outer.ade: type = class_type @Outer, @Outer(%OuterParam) [symbolic] -// CHECK:STDOUT: %Y.type.824: type = facet_type <@Y, @Y(%OuterParam)> [symbolic] -// CHECK:STDOUT: %Self.c82: %Y.type.824 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Y.assoc_type.86c: type = assoc_entity_type @Y, @Y(%OuterParam) [symbolic] -// CHECK:STDOUT: %assoc0.b1a: %Y.assoc_type.86c = assoc_entity element0, @Y.WithSelf.%T [symbolic] -// CHECK:STDOUT: %.Self.edf: %Y.type.824 = symbolic_binding .Self [symbolic] -// CHECK:STDOUT: %require_complete.64e: = require_complete_type %Y.type.824 [symbolic] -// CHECK:STDOUT: %.Self.as_type.5ec: type = facet_access_type %.Self.edf [symbolic] -// CHECK:STDOUT: %Y.lookup_impl_witness.419: = lookup_impl_witness %.Self.edf, @Y, @Y(%OuterParam) [symbolic] -// CHECK:STDOUT: %impl.elem0.fe1: type = impl_witness_access %Y.lookup_impl_witness.419, element0 [symbolic] +// CHECK:STDOUT: %Outer.71d: type = class_type @Outer, @Outer(%OuterParam) [symbolic] +// CHECK:STDOUT: %Y.type.244: type = facet_type <@Y, @Y(%OuterParam)> [symbolic] +// CHECK:STDOUT: %Self.5ed: %Y.type.244 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Y.assoc_type.fd4: type = assoc_entity_type @Y, @Y(%OuterParam) [symbolic] +// CHECK:STDOUT: %assoc0.076: %Y.assoc_type.fd4 = assoc_entity element0, @Y.WithSelf.%T [symbolic] +// CHECK:STDOUT: %.Self.5f7: %Y.type.244 = symbolic_binding .Self [symbolic] +// CHECK:STDOUT: %require_complete.9b4: = require_complete_type %Y.type.244 [symbolic] +// CHECK:STDOUT: %.Self.as_type.da8: type = facet_access_type %.Self.5f7 [symbolic] +// CHECK:STDOUT: %Y.lookup_impl_witness.412: = lookup_impl_witness %.Self.5f7, @Y, @Y(%OuterParam) [symbolic] +// CHECK:STDOUT: %impl.elem0.b6c: type = impl_witness_access %Y.lookup_impl_witness.412, element0 [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %Y_where.type.135: type = facet_type <@Y, @Y(%OuterParam) where %impl.elem0.fe1 = %empty_tuple.type> [symbolic] -// CHECK:STDOUT: %pattern_type.0bd: type = pattern_type %Y_where.type.135 [symbolic] -// CHECK:STDOUT: %H: %Y_where.type.135 = symbolic_binding H, 1 [symbolic] -// CHECK:STDOUT: %Outer.G.type.b30: type = fn_type @Outer.G, @Outer(%OuterParam) [symbolic] -// CHECK:STDOUT: %Outer.G.08f: %Outer.G.type.b30 = struct_value () [symbolic] -// CHECK:STDOUT: %C.531: type = class_type @C, @C(%OuterParam) [symbolic] -// CHECK:STDOUT: %Y.impl_witness.e17: = impl_witness @C.as.Y.impl.%Y.impl_witness_table, @C.as.Y.impl(%OuterParam) [symbolic] -// CHECK:STDOUT: %require_complete.f5b: = require_complete_type %Y_where.type.135 [symbolic] -// CHECK:STDOUT: %Y.facet.ca2: %Y.type.824 = facet_value %C.531, (%Y.impl_witness.e17) [symbolic] +// CHECK:STDOUT: %Y_where.type.1cf: type = facet_type <@Y, @Y(%OuterParam) where %impl.elem0.b6c = %empty_tuple.type> [symbolic] +// CHECK:STDOUT: %pattern_type.3e8: type = pattern_type %Y_where.type.1cf [symbolic] +// CHECK:STDOUT: %H: %Y_where.type.1cf = symbolic_binding H, 1 [symbolic] +// CHECK:STDOUT: %Outer.G.type.359: type = fn_type @Outer.G, @Outer(%OuterParam) [symbolic] +// CHECK:STDOUT: %Outer.G.f26: %Outer.G.type.359 = struct_value () [symbolic] +// CHECK:STDOUT: %C.b80: type = class_type @C, @C(%OuterParam) [symbolic] +// CHECK:STDOUT: %Y.impl_witness.499: = impl_witness @C.as.Y.impl.%Y.impl_witness_table, @C.as.Y.impl(%OuterParam) [symbolic] +// CHECK:STDOUT: %require_complete.806: = require_complete_type %Y_where.type.1cf [symbolic] +// CHECK:STDOUT: %Y.facet.00a: %Y.type.244 = facet_value %C.b80, (%Y.impl_witness.499) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %Z1.impl_witness: = impl_witness @empty_tuple.type.as.Z1.impl.%Z1.impl_witness_table [concrete] @@ -459,37 +459,37 @@ fn F() { // CHECK:STDOUT: %Z2.facet: %Z2.type = facet_value %empty_tuple.type, (%Z2.impl_witness) [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %Z1.type, %type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %facet_type: type = facet_type <@Z1 & @Z2> [concrete] -// CHECK:STDOUT: %facet_value.7f6: %facet_type = facet_value %empty_tuple.type, (%Z1.impl_witness, %Z2.impl_witness) [concrete] -// CHECK:STDOUT: %Outer.a0d: type = class_type @Outer, @Outer(%Z1.facet) [concrete] -// CHECK:STDOUT: %Y.type.0a9: type = facet_type <@Y, @Y(%Z1.facet)> [concrete] -// CHECK:STDOUT: %Outer.G.type.5d9: type = fn_type @Outer.G, @Outer(%Z1.facet) [concrete] -// CHECK:STDOUT: %Outer.G.4f4: %Outer.G.type.5d9 = struct_value () [concrete] -// CHECK:STDOUT: %C.60f: type = class_type @C, @C(%Z1.facet) [concrete] -// CHECK:STDOUT: %.Self.a9e: %Y.type.0a9 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %Y.lookup_impl_witness.891: = lookup_impl_witness %.Self.a9e, @Y, @Y(%Z1.facet) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.633: type = impl_witness_access %Y.lookup_impl_witness.891, element0 [symbolic_self] -// CHECK:STDOUT: %Y_where.type.4d1: type = facet_type <@Y, @Y(%Z1.facet) where %impl.elem0.633 = %empty_tuple.type> [concrete] -// CHECK:STDOUT: %Self.393: %Y.type.0a9 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Y.assoc_type.b06: type = assoc_entity_type @Y, @Y(%Z1.facet) [concrete] -// CHECK:STDOUT: %assoc0.8ad: %Y.assoc_type.b06 = assoc_entity element0, @Y.WithSelf.%T [concrete] -// CHECK:STDOUT: %complete_type.f9b: = complete_type_witness %Y.type.0a9 [concrete] -// CHECK:STDOUT: %.Self.as_type.691: type = facet_access_type %.Self.a9e [symbolic_self] -// CHECK:STDOUT: %Y.impl_witness.daf: = impl_witness @C.as.Y.impl.%Y.impl_witness_table, @C.as.Y.impl(%Z1.facet) [concrete] -// CHECK:STDOUT: %complete_type.e82: = complete_type_witness %Y_where.type.4d1 [concrete] -// CHECK:STDOUT: %facet_value.ca6: %Y_where.type.4d1 = facet_value %C.60f, (%Y.impl_witness.daf) [concrete] -// CHECK:STDOUT: %pattern_type.298: type = pattern_type %Y_where.type.4d1 [concrete] -// CHECK:STDOUT: %Outer.G.specific_fn: = specific_function %Outer.G.4f4, @Outer.G(%Z1.facet, %facet_value.ca6) [concrete] +// CHECK:STDOUT: %facet_value.1c9: %facet_type = facet_value %empty_tuple.type, (%Z1.impl_witness, %Z2.impl_witness) [concrete] +// CHECK:STDOUT: %Outer.d69: type = class_type @Outer, @Outer(%Z1.facet) [concrete] +// CHECK:STDOUT: %Y.type.52f: type = facet_type <@Y, @Y(%Z1.facet)> [concrete] +// CHECK:STDOUT: %Outer.G.type.9fe: type = fn_type @Outer.G, @Outer(%Z1.facet) [concrete] +// CHECK:STDOUT: %Outer.G.f31: %Outer.G.type.9fe = struct_value () [concrete] +// CHECK:STDOUT: %C.4a0: type = class_type @C, @C(%Z1.facet) [concrete] +// CHECK:STDOUT: %.Self.b03: %Y.type.52f = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Y.lookup_impl_witness.0c6: = lookup_impl_witness %.Self.b03, @Y, @Y(%Z1.facet) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.a26: type = impl_witness_access %Y.lookup_impl_witness.0c6, element0 [symbolic_self] +// CHECK:STDOUT: %Y_where.type.48f: type = facet_type <@Y, @Y(%Z1.facet) where %impl.elem0.a26 = %empty_tuple.type> [concrete] +// CHECK:STDOUT: %Self.623: %Y.type.52f = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Y.assoc_type.c4e: type = assoc_entity_type @Y, @Y(%Z1.facet) [concrete] +// CHECK:STDOUT: %assoc0.654: %Y.assoc_type.c4e = assoc_entity element0, @Y.WithSelf.%T [concrete] +// CHECK:STDOUT: %complete_type.a1f: = complete_type_witness %Y.type.52f [concrete] +// CHECK:STDOUT: %.Self.as_type.bfc: type = facet_access_type %.Self.b03 [symbolic_self] +// CHECK:STDOUT: %Y.impl_witness.6ba: = impl_witness @C.as.Y.impl.%Y.impl_witness_table, @C.as.Y.impl(%Z1.facet) [concrete] +// CHECK:STDOUT: %complete_type.fe0: = complete_type_witness %Y_where.type.48f [concrete] +// CHECK:STDOUT: %facet_value.4ef: %Y_where.type.48f = facet_value %C.4a0, (%Y.impl_witness.6ba) [concrete] +// CHECK:STDOUT: %pattern_type.279: type = pattern_type %Y_where.type.48f [concrete] +// CHECK:STDOUT: %Outer.G.specific_fn: = specific_function %Outer.G.f31, @Outer.G(%Z1.facet, %facet_value.4ef) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -498,9 +498,9 @@ fn F() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -515,7 +515,7 @@ fn F() { // CHECK:STDOUT: %Z1.decl: type = interface_decl @Z1 [concrete = constants.%Z1.type] {} {} // CHECK:STDOUT: %Z2.decl: type = interface_decl @Z2 [concrete = constants.%Z2.type] {} {} // CHECK:STDOUT: %Outer.decl: %Outer.type = class_decl @Outer [concrete = constants.%Outer.generic] { -// CHECK:STDOUT: %OuterParam.patt: %pattern_type.323 = symbolic_binding_pattern OuterParam, 0 [concrete] +// CHECK:STDOUT: %OuterParam.patt: %pattern_type.3a9 = symbolic_binding_pattern OuterParam, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6: type = splice_block %Z1.ref [concrete = constants.%Z1.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] @@ -537,7 +537,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z1 { -// CHECK:STDOUT: %Self: %Z1.type = symbolic_binding Self, 0 [symbolic = constants.%Self.22f] +// CHECK:STDOUT: %Self: %Z1.type = symbolic_binding Self, 0 [symbolic = constants.%Self.9d0] // CHECK:STDOUT: %Z1.WithSelf.decl = interface_with_self_decl @Z1 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -548,7 +548,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z2 { -// CHECK:STDOUT: %Self: %Z2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.e4b] +// CHECK:STDOUT: %Self: %Z2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.67a] // CHECK:STDOUT: %Z2.WithSelf.decl = interface_with_self_decl @Z2 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -561,16 +561,16 @@ fn F() { // CHECK:STDOUT: generic interface @Y(@Outer.%OuterParam.loc6_23.2: %Z1.type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam: %Z1.type = symbolic_binding OuterParam, 0 [symbolic = %OuterParam (constants.%OuterParam)] -// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam)> [symbolic = %Y.type (constants.%Y.type.824)] -// CHECK:STDOUT: %Self.loc7_15.2: @Y.%Y.type (%Y.type.824) = symbolic_binding Self, 1 [symbolic = %Self.loc7_15.2 (constants.%Self.c82)] +// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam)> [symbolic = %Y.type (constants.%Y.type.244)] +// CHECK:STDOUT: %Self.loc7_15.2: @Y.%Y.type (%Y.type.244) = symbolic_binding Self, 1 [symbolic = %Self.loc7_15.2 (constants.%Self.5ed)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc7_15.1: @Y.%Y.type (%Y.type.824) = symbolic_binding Self, 1 [symbolic = %Self.loc7_15.2 (constants.%Self.c82)] +// CHECK:STDOUT: %Self.loc7_15.1: @Y.%Y.type (%Y.type.244) = symbolic_binding Self, 1 [symbolic = %Self.loc7_15.2 (constants.%Self.5ed)] // CHECK:STDOUT: %Y.WithSelf.decl = interface_with_self_decl @Y [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] { -// CHECK:STDOUT: %assoc0: @Y.WithSelf.%Y.assoc_type (%Y.assoc_type.86c) = assoc_entity element0, @Y.WithSelf.%T [symbolic = @Y.WithSelf.%assoc0 (constants.%assoc0.b1a)] +// CHECK:STDOUT: %assoc0: @Y.WithSelf.%Y.assoc_type (%Y.assoc_type.fd4) = assoc_entity element0, @Y.WithSelf.%T [symbolic = @Y.WithSelf.%assoc0 (constants.%assoc0.076)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -584,24 +584,24 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: generic impl @C.as.Y.impl(@Outer.%OuterParam.loc6_23.2: %Z1.type) { // CHECK:STDOUT: %OuterParam: %Z1.type = symbolic_binding OuterParam, 0 [symbolic = %OuterParam (constants.%OuterParam)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%OuterParam) [symbolic = %C (constants.%C.531)] -// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam)> [symbolic = %Y.type (constants.%Y.type.824)] -// CHECK:STDOUT: %.Self.loc14_15.2: @C.as.Y.impl.%Y.type (%Y.type.824) = symbolic_binding .Self [symbolic = %.Self.loc14_15.2 (constants.%.Self.edf)] -// CHECK:STDOUT: %require_complete.loc14_21: = require_complete_type %Y.type [symbolic = %require_complete.loc14_21 (constants.%require_complete.64e)] -// CHECK:STDOUT: %.Self.as_type.loc14_21.2: type = facet_access_type %.Self.loc14_15.2 [symbolic = %.Self.as_type.loc14_21.2 (constants.%.Self.as_type.5ec)] -// CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y, @Y(%OuterParam) [symbolic = %Y.assoc_type (constants.%Y.assoc_type.86c)] -// CHECK:STDOUT: %assoc0: @C.as.Y.impl.%Y.assoc_type (%Y.assoc_type.86c) = assoc_entity element0, @Y.WithSelf.%T [symbolic = %assoc0 (constants.%assoc0.b1a)] -// CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %.Self.loc14_15.2, @Y, @Y(%OuterParam) [symbolic = %Y.lookup_impl_witness (constants.%Y.lookup_impl_witness.419)] -// CHECK:STDOUT: %impl.elem0.loc14_21.2: type = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_21.2 (constants.%impl.elem0.fe1)] -// CHECK:STDOUT: %Y_where.type: type = facet_type <@Y, @Y(%OuterParam) where %impl.elem0.loc14_21.2 = constants.%empty_tuple.type> [symbolic = %Y_where.type (constants.%Y_where.type.135)] -// CHECK:STDOUT: %Y.impl_witness.loc14_29.2: = impl_witness %Y.impl_witness_table, @C.as.Y.impl(%OuterParam) [symbolic = %Y.impl_witness.loc14_29.2 (constants.%Y.impl_witness.e17)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%OuterParam) [symbolic = %C (constants.%C.b80)] +// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam)> [symbolic = %Y.type (constants.%Y.type.244)] +// CHECK:STDOUT: %.Self.loc14_15.2: @C.as.Y.impl.%Y.type (%Y.type.244) = symbolic_binding .Self [symbolic = %.Self.loc14_15.2 (constants.%.Self.5f7)] +// CHECK:STDOUT: %require_complete.loc14_21: = require_complete_type %Y.type [symbolic = %require_complete.loc14_21 (constants.%require_complete.9b4)] +// CHECK:STDOUT: %.Self.as_type.loc14_21.2: type = facet_access_type %.Self.loc14_15.2 [symbolic = %.Self.as_type.loc14_21.2 (constants.%.Self.as_type.da8)] +// CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y, @Y(%OuterParam) [symbolic = %Y.assoc_type (constants.%Y.assoc_type.fd4)] +// CHECK:STDOUT: %assoc0: @C.as.Y.impl.%Y.assoc_type (%Y.assoc_type.fd4) = assoc_entity element0, @Y.WithSelf.%T [symbolic = %assoc0 (constants.%assoc0.076)] +// CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %.Self.loc14_15.2, @Y, @Y(%OuterParam) [symbolic = %Y.lookup_impl_witness (constants.%Y.lookup_impl_witness.412)] +// CHECK:STDOUT: %impl.elem0.loc14_21.2: type = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_21.2 (constants.%impl.elem0.b6c)] +// CHECK:STDOUT: %Y_where.type: type = facet_type <@Y, @Y(%OuterParam) where %impl.elem0.loc14_21.2 = constants.%empty_tuple.type> [symbolic = %Y_where.type (constants.%Y_where.type.1cf)] +// CHECK:STDOUT: %Y.impl_witness.loc14_29.2: = impl_witness %Y.impl_witness_table, @C.as.Y.impl(%OuterParam) [symbolic = %Y.impl_witness.loc14_29.2 (constants.%Y.impl_witness.499)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc14_15: = require_complete_type %Y_where.type [symbolic = %require_complete.loc14_15 (constants.%require_complete.f5b)] +// CHECK:STDOUT: %require_complete.loc14_15: = require_complete_type %Y_where.type [symbolic = %require_complete.loc14_15 (constants.%require_complete.806)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %C.ref as %.loc14_15 { // CHECK:STDOUT: %Y.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @C.as.Y.impl [concrete] -// CHECK:STDOUT: %Y.impl_witness.loc14_29.1: = impl_witness %Y.impl_witness_table, @C.as.Y.impl(constants.%OuterParam) [symbolic = %Y.impl_witness.loc14_29.2 (constants.%Y.impl_witness.e17)] +// CHECK:STDOUT: %Y.impl_witness.loc14_29.1: = impl_witness %Y.impl_witness_table, @C.as.Y.impl(constants.%OuterParam) [symbolic = %Y.impl_witness.loc14_29.2 (constants.%Y.impl_witness.499)] // CHECK:STDOUT: %impl_witness_assoc_constant: type = impl_witness_assoc_constant constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -632,52 +632,52 @@ fn F() { // CHECK:STDOUT: %OuterParam.loc6_23.1: %Z1.type = symbolic_binding OuterParam, 0 [symbolic = %OuterParam.loc6_23.1 (constants.%OuterParam)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam.loc6_23.1)> [symbolic = %Y.type (constants.%Y.type.824)] -// CHECK:STDOUT: %Outer.G.type: type = fn_type @Outer.G, @Outer(%OuterParam.loc6_23.1) [symbolic = %Outer.G.type (constants.%Outer.G.type.b30)] -// CHECK:STDOUT: %Outer.G: @Outer.%Outer.G.type (%Outer.G.type.b30) = struct_value () [symbolic = %Outer.G (constants.%Outer.G.08f)] -// CHECK:STDOUT: %C: type = class_type @C, @C(%OuterParam.loc6_23.1) [symbolic = %C (constants.%C.531)] +// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam.loc6_23.1)> [symbolic = %Y.type (constants.%Y.type.244)] +// CHECK:STDOUT: %Outer.G.type: type = fn_type @Outer.G, @Outer(%OuterParam.loc6_23.1) [symbolic = %Outer.G.type (constants.%Outer.G.type.359)] +// CHECK:STDOUT: %Outer.G: @Outer.%Outer.G.type (%Outer.G.type.359) = struct_value () [symbolic = %Outer.G (constants.%Outer.G.f26)] +// CHECK:STDOUT: %C: type = class_type @C, @C(%OuterParam.loc6_23.1) [symbolic = %C (constants.%C.b80)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %Y.decl: type = interface_decl @Y [symbolic = @Outer.%Y.type (constants.%Y.type.824)] {} {} -// CHECK:STDOUT: %Outer.G.decl: @Outer.%Outer.G.type (%Outer.G.type.b30) = fn_decl @Outer.G [symbolic = @Outer.%Outer.G (constants.%Outer.G.08f)] { -// CHECK:STDOUT: %H.patt: @Outer.G.%pattern_type (%pattern_type.0bd) = symbolic_binding_pattern H, 1 [concrete] +// CHECK:STDOUT: %Y.decl: type = interface_decl @Y [symbolic = @Outer.%Y.type (constants.%Y.type.244)] {} {} +// CHECK:STDOUT: %Outer.G.decl: @Outer.%Outer.G.type (%Outer.G.type.359) = fn_decl @Outer.G [symbolic = @Outer.%Outer.G (constants.%Outer.G.f26)] { +// CHECK:STDOUT: %H.patt: @Outer.G.%pattern_type (%pattern_type.3e8) = symbolic_binding_pattern H, 1 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc11_21.1: type = splice_block %.loc11_21.2 [symbolic = %Y_where.type (constants.%Y_where.type.135)] { +// CHECK:STDOUT: %.loc11_21.1: type = splice_block %.loc11_21.2 [symbolic = %Y_where.type (constants.%Y_where.type.1cf)] { // CHECK:STDOUT: %.Self.loc11_16: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] -// CHECK:STDOUT: %.loc11_19: type = specific_constant @Outer.%Y.decl, @Outer(constants.%OuterParam) [symbolic = %Y.type (constants.%Y.type.824)] -// CHECK:STDOUT: %Y.ref: type = name_ref Y, %.loc11_19 [symbolic = %Y.type (constants.%Y.type.824)] -// CHECK:STDOUT: %.Self.loc11_21.2: @Outer.G.%Y.type (%Y.type.824) = symbolic_binding .Self [symbolic = %.Self.loc11_21.1 (constants.%.Self.edf)] -// CHECK:STDOUT: %.Self.ref: @Outer.G.%Y.type (%Y.type.824) = name_ref .Self, %.Self.loc11_21.2 [symbolic = %.Self.loc11_21.1 (constants.%.Self.edf)] -// CHECK:STDOUT: %.Self.as_type.loc11_27.2: type = facet_access_type %.Self.ref [symbolic = %.Self.as_type.loc11_27.1 (constants.%.Self.as_type.5ec)] -// CHECK:STDOUT: %.loc11_27.1: type = converted %.Self.ref, %.Self.as_type.loc11_27.2 [symbolic = %.Self.as_type.loc11_27.1 (constants.%.Self.as_type.5ec)] -// CHECK:STDOUT: %.loc11_27.2: @Outer.G.%Y.assoc_type (%Y.assoc_type.86c) = specific_constant @T.%assoc0, @Y.WithSelf(constants.%OuterParam, constants.%.Self.edf) [symbolic = %assoc0 (constants.%assoc0.b1a)] -// CHECK:STDOUT: %T.ref: @Outer.G.%Y.assoc_type (%Y.assoc_type.86c) = name_ref T, %.loc11_27.2 [symbolic = %assoc0 (constants.%assoc0.b1a)] -// CHECK:STDOUT: %impl.elem0.loc11_27.2: type = impl_witness_access constants.%Y.lookup_impl_witness.419, element0 [symbolic = %impl.elem0.loc11_27.1 (constants.%impl.elem0.fe1)] +// CHECK:STDOUT: %.loc11_19: type = specific_constant @Outer.%Y.decl, @Outer(constants.%OuterParam) [symbolic = %Y.type (constants.%Y.type.244)] +// CHECK:STDOUT: %Y.ref: type = name_ref Y, %.loc11_19 [symbolic = %Y.type (constants.%Y.type.244)] +// CHECK:STDOUT: %.Self.loc11_21.2: @Outer.G.%Y.type (%Y.type.244) = symbolic_binding .Self [symbolic = %.Self.loc11_21.1 (constants.%.Self.5f7)] +// CHECK:STDOUT: %.Self.ref: @Outer.G.%Y.type (%Y.type.244) = name_ref .Self, %.Self.loc11_21.2 [symbolic = %.Self.loc11_21.1 (constants.%.Self.5f7)] +// CHECK:STDOUT: %.Self.as_type.loc11_27.2: type = facet_access_type %.Self.ref [symbolic = %.Self.as_type.loc11_27.1 (constants.%.Self.as_type.da8)] +// CHECK:STDOUT: %.loc11_27.1: type = converted %.Self.ref, %.Self.as_type.loc11_27.2 [symbolic = %.Self.as_type.loc11_27.1 (constants.%.Self.as_type.da8)] +// CHECK:STDOUT: %.loc11_27.2: @Outer.G.%Y.assoc_type (%Y.assoc_type.fd4) = specific_constant @T.%assoc0, @Y.WithSelf(constants.%OuterParam, constants.%.Self.5f7) [symbolic = %assoc0 (constants.%assoc0.076)] +// CHECK:STDOUT: %T.ref: @Outer.G.%Y.assoc_type (%Y.assoc_type.fd4) = name_ref T, %.loc11_27.2 [symbolic = %assoc0 (constants.%assoc0.076)] +// CHECK:STDOUT: %impl.elem0.loc11_27.2: type = impl_witness_access constants.%Y.lookup_impl_witness.412, element0 [symbolic = %impl.elem0.loc11_27.1 (constants.%impl.elem0.b6c)] // CHECK:STDOUT: %.loc11_33.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc11_33.2: type = converted %.loc11_33.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %.loc11_21.2: type = where_expr [symbolic = %Y_where.type (constants.%Y_where.type.135)] { +// CHECK:STDOUT: %.loc11_21.2: type = where_expr [symbolic = %Y_where.type (constants.%Y_where.type.1cf)] { // CHECK:STDOUT: requirement_base_facet_type %Y.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc11_27.2, %.loc11_33.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %H.loc11_16.2: @Outer.G.%Y_where.type (%Y_where.type.135) = symbolic_binding H, 1 [symbolic = %H.loc11_16.1 (constants.%H)] +// CHECK:STDOUT: %H.loc11_16.2: @Outer.G.%Y_where.type (%Y_where.type.1cf) = symbolic_binding H, 1 [symbolic = %H.loc11_16.1 (constants.%H)] // CHECK:STDOUT: } -// CHECK:STDOUT: %C.decl: type = class_decl @C [symbolic = @Outer.%C (constants.%C.531)] {} {} +// CHECK:STDOUT: %C.decl: type = class_decl @C [symbolic = @Outer.%C (constants.%C.b80)] {} {} // CHECK:STDOUT: impl_decl @C.as.Y.impl [concrete] {} { -// CHECK:STDOUT: %.loc14_8: type = specific_constant @Outer.%C.decl, @Outer(constants.%OuterParam) [symbolic = %C (constants.%C.531)] -// CHECK:STDOUT: %C.ref: type = name_ref C, %.loc14_8 [symbolic = %C (constants.%C.531)] -// CHECK:STDOUT: %.loc14_13: type = specific_constant @Outer.%Y.decl, @Outer(constants.%OuterParam) [symbolic = %Y.type (constants.%Y.type.824)] -// CHECK:STDOUT: %Y.ref: type = name_ref Y, %.loc14_13 [symbolic = %Y.type (constants.%Y.type.824)] -// CHECK:STDOUT: %.Self.loc14_15.1: @C.as.Y.impl.%Y.type (%Y.type.824) = symbolic_binding .Self [symbolic = %.Self.loc14_15.2 (constants.%.Self.edf)] -// CHECK:STDOUT: %.Self.ref: @C.as.Y.impl.%Y.type (%Y.type.824) = name_ref .Self, %.Self.loc14_15.1 [symbolic = %.Self.loc14_15.2 (constants.%.Self.edf)] -// CHECK:STDOUT: %.Self.as_type.loc14_21.1: type = facet_access_type %.Self.ref [symbolic = %.Self.as_type.loc14_21.2 (constants.%.Self.as_type.5ec)] -// CHECK:STDOUT: %.loc14_21.1: type = converted %.Self.ref, %.Self.as_type.loc14_21.1 [symbolic = %.Self.as_type.loc14_21.2 (constants.%.Self.as_type.5ec)] -// CHECK:STDOUT: %.loc14_21.2: @C.as.Y.impl.%Y.assoc_type (%Y.assoc_type.86c) = specific_constant @T.%assoc0, @Y.WithSelf(constants.%OuterParam, constants.%.Self.edf) [symbolic = %assoc0 (constants.%assoc0.b1a)] -// CHECK:STDOUT: %T.ref: @C.as.Y.impl.%Y.assoc_type (%Y.assoc_type.86c) = name_ref T, %.loc14_21.2 [symbolic = %assoc0 (constants.%assoc0.b1a)] -// CHECK:STDOUT: %impl.elem0.loc14_21.1: type = impl_witness_access constants.%Y.lookup_impl_witness.419, element0 [symbolic = %impl.elem0.loc14_21.2 (constants.%impl.elem0.fe1)] +// CHECK:STDOUT: %.loc14_8: type = specific_constant @Outer.%C.decl, @Outer(constants.%OuterParam) [symbolic = %C (constants.%C.b80)] +// CHECK:STDOUT: %C.ref: type = name_ref C, %.loc14_8 [symbolic = %C (constants.%C.b80)] +// CHECK:STDOUT: %.loc14_13: type = specific_constant @Outer.%Y.decl, @Outer(constants.%OuterParam) [symbolic = %Y.type (constants.%Y.type.244)] +// CHECK:STDOUT: %Y.ref: type = name_ref Y, %.loc14_13 [symbolic = %Y.type (constants.%Y.type.244)] +// CHECK:STDOUT: %.Self.loc14_15.1: @C.as.Y.impl.%Y.type (%Y.type.244) = symbolic_binding .Self [symbolic = %.Self.loc14_15.2 (constants.%.Self.5f7)] +// CHECK:STDOUT: %.Self.ref: @C.as.Y.impl.%Y.type (%Y.type.244) = name_ref .Self, %.Self.loc14_15.1 [symbolic = %.Self.loc14_15.2 (constants.%.Self.5f7)] +// CHECK:STDOUT: %.Self.as_type.loc14_21.1: type = facet_access_type %.Self.ref [symbolic = %.Self.as_type.loc14_21.2 (constants.%.Self.as_type.da8)] +// CHECK:STDOUT: %.loc14_21.1: type = converted %.Self.ref, %.Self.as_type.loc14_21.1 [symbolic = %.Self.as_type.loc14_21.2 (constants.%.Self.as_type.da8)] +// CHECK:STDOUT: %.loc14_21.2: @C.as.Y.impl.%Y.assoc_type (%Y.assoc_type.fd4) = specific_constant @T.%assoc0, @Y.WithSelf(constants.%OuterParam, constants.%.Self.5f7) [symbolic = %assoc0 (constants.%assoc0.076)] +// CHECK:STDOUT: %T.ref: @C.as.Y.impl.%Y.assoc_type (%Y.assoc_type.fd4) = name_ref T, %.loc14_21.2 [symbolic = %assoc0 (constants.%assoc0.076)] +// CHECK:STDOUT: %impl.elem0.loc14_21.1: type = impl_witness_access constants.%Y.lookup_impl_witness.412, element0 [symbolic = %impl.elem0.loc14_21.2 (constants.%impl.elem0.b6c)] // CHECK:STDOUT: %.loc14_27.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc14_27.2: type = converted %.loc14_27.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %.loc14_15: type = where_expr [symbolic = %Y_where.type (constants.%Y_where.type.135)] { +// CHECK:STDOUT: %.loc14_15: type = where_expr [symbolic = %Y_where.type (constants.%Y_where.type.1cf)] { // CHECK:STDOUT: requirement_base_facet_type %Y.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc14_21.1, %.loc14_27.2 // CHECK:STDOUT: } @@ -686,7 +686,7 @@ fn F() { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Outer.ade +// CHECK:STDOUT: .Self = constants.%Outer.71d // CHECK:STDOUT: .Y = %Y.decl // CHECK:STDOUT: .G = %Outer.G.decl // CHECK:STDOUT: .C = %C.decl @@ -697,19 +697,19 @@ fn F() { // CHECK:STDOUT: class; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Outer.G(@Outer.%OuterParam.loc6_23.2: %Z1.type, %H.loc11_16.2: @Outer.G.%Y_where.type (%Y_where.type.135)) { +// CHECK:STDOUT: generic fn @Outer.G(@Outer.%OuterParam.loc6_23.2: %Z1.type, %H.loc11_16.2: @Outer.G.%Y_where.type (%Y_where.type.1cf)) { // CHECK:STDOUT: %OuterParam: %Z1.type = symbolic_binding OuterParam, 0 [symbolic = %OuterParam (constants.%OuterParam)] -// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam)> [symbolic = %Y.type (constants.%Y.type.824)] -// CHECK:STDOUT: %.Self.loc11_21.1: @Outer.G.%Y.type (%Y.type.824) = symbolic_binding .Self [symbolic = %.Self.loc11_21.1 (constants.%.Self.edf)] -// CHECK:STDOUT: %require_complete: = require_complete_type %Y.type [symbolic = %require_complete (constants.%require_complete.64e)] -// CHECK:STDOUT: %.Self.as_type.loc11_27.1: type = facet_access_type %.Self.loc11_21.1 [symbolic = %.Self.as_type.loc11_27.1 (constants.%.Self.as_type.5ec)] -// CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y, @Y(%OuterParam) [symbolic = %Y.assoc_type (constants.%Y.assoc_type.86c)] -// CHECK:STDOUT: %assoc0: @Outer.G.%Y.assoc_type (%Y.assoc_type.86c) = assoc_entity element0, @Y.WithSelf.%T [symbolic = %assoc0 (constants.%assoc0.b1a)] -// CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %.Self.loc11_21.1, @Y, @Y(%OuterParam) [symbolic = %Y.lookup_impl_witness (constants.%Y.lookup_impl_witness.419)] -// CHECK:STDOUT: %impl.elem0.loc11_27.1: type = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_27.1 (constants.%impl.elem0.fe1)] -// CHECK:STDOUT: %Y_where.type: type = facet_type <@Y, @Y(%OuterParam) where %impl.elem0.loc11_27.1 = constants.%empty_tuple.type> [symbolic = %Y_where.type (constants.%Y_where.type.135)] -// CHECK:STDOUT: %H.loc11_16.1: @Outer.G.%Y_where.type (%Y_where.type.135) = symbolic_binding H, 1 [symbolic = %H.loc11_16.1 (constants.%H)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Y_where.type [symbolic = %pattern_type (constants.%pattern_type.0bd)] +// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(%OuterParam)> [symbolic = %Y.type (constants.%Y.type.244)] +// CHECK:STDOUT: %.Self.loc11_21.1: @Outer.G.%Y.type (%Y.type.244) = symbolic_binding .Self [symbolic = %.Self.loc11_21.1 (constants.%.Self.5f7)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Y.type [symbolic = %require_complete (constants.%require_complete.9b4)] +// CHECK:STDOUT: %.Self.as_type.loc11_27.1: type = facet_access_type %.Self.loc11_21.1 [symbolic = %.Self.as_type.loc11_27.1 (constants.%.Self.as_type.da8)] +// CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y, @Y(%OuterParam) [symbolic = %Y.assoc_type (constants.%Y.assoc_type.fd4)] +// CHECK:STDOUT: %assoc0: @Outer.G.%Y.assoc_type (%Y.assoc_type.fd4) = assoc_entity element0, @Y.WithSelf.%T [symbolic = %assoc0 (constants.%assoc0.076)] +// CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %.Self.loc11_21.1, @Y, @Y(%OuterParam) [symbolic = %Y.lookup_impl_witness (constants.%Y.lookup_impl_witness.412)] +// CHECK:STDOUT: %impl.elem0.loc11_27.1: type = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_27.1 (constants.%impl.elem0.b6c)] +// CHECK:STDOUT: %Y_where.type: type = facet_type <@Y, @Y(%OuterParam) where %impl.elem0.loc11_27.1 = constants.%empty_tuple.type> [symbolic = %Y_where.type (constants.%Y_where.type.1cf)] +// CHECK:STDOUT: %H.loc11_16.1: @Outer.G.%Y_where.type (%Y_where.type.1cf) = symbolic_binding H, 1 [symbolic = %H.loc11_16.1 (constants.%H)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Y_where.type [symbolic = %pattern_type (constants.%pattern_type.3e8)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -725,48 +725,48 @@ fn F() { // CHECK:STDOUT: %.loc21_10: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %Z1.ref.loc21_16: type = name_ref Z1, file.%Z1.decl [concrete = constants.%Z1.type] // CHECK:STDOUT: %Z2.ref.loc21_21: type = name_ref Z2, file.%Z2.decl [concrete = constants.%Z2.type] -// CHECK:STDOUT: %impl.elem0.loc21_19: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc21_19: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc21_19: = bound_method %Z1.ref.loc21_16, %impl.elem0.loc21_19 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc21_19: init type = call %bound_method.loc21_19(%Z1.ref.loc21_16, %Z2.ref.loc21_21) [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc21_23.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc21_19 [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc21_23.2: type = converted %type.as.BitAndWith.impl.Op.call.loc21_19, %.loc21_23.1 [concrete = constants.%facet_type] -// CHECK:STDOUT: %facet_value.loc21_12: %facet_type = facet_value constants.%empty_tuple.type, (constants.%Z1.impl_witness, constants.%Z2.impl_witness) [concrete = constants.%facet_value.7f6] -// CHECK:STDOUT: %.loc21_12: %facet_type = converted %.loc21_10, %facet_value.loc21_12 [concrete = constants.%facet_value.7f6] +// CHECK:STDOUT: %facet_value.loc21_12: %facet_type = facet_value constants.%empty_tuple.type, (constants.%Z1.impl_witness, constants.%Z2.impl_witness) [concrete = constants.%facet_value.1c9] +// CHECK:STDOUT: %.loc21_12: %facet_type = converted %.loc21_10, %facet_value.loc21_12 [concrete = constants.%facet_value.1c9] // CHECK:STDOUT: %as_type.loc21_24: type = facet_access_type %.loc21_12 [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %Z1.facet.loc21_24: %Z1.type = facet_value %as_type.loc21_24, (constants.%Z1.impl_witness) [concrete = constants.%Z1.facet] // CHECK:STDOUT: %.loc21_24: %Z1.type = converted %.loc21_12, %Z1.facet.loc21_24 [concrete = constants.%Z1.facet] -// CHECK:STDOUT: %Outer.loc21_24: type = class_type @Outer, @Outer(constants.%Z1.facet) [concrete = constants.%Outer.a0d] -// CHECK:STDOUT: %.loc21_25: %Outer.G.type.5d9 = specific_constant @Outer.%Outer.G.decl, @Outer(constants.%Z1.facet) [concrete = constants.%Outer.G.4f4] -// CHECK:STDOUT: %G.ref: %Outer.G.type.5d9 = name_ref G, %.loc21_25 [concrete = constants.%Outer.G.4f4] +// CHECK:STDOUT: %Outer.loc21_24: type = class_type @Outer, @Outer(constants.%Z1.facet) [concrete = constants.%Outer.d69] +// CHECK:STDOUT: %.loc21_25: %Outer.G.type.9fe = specific_constant @Outer.%Outer.G.decl, @Outer(constants.%Z1.facet) [concrete = constants.%Outer.G.f31] +// CHECK:STDOUT: %G.ref: %Outer.G.type.9fe = name_ref G, %.loc21_25 [concrete = constants.%Outer.G.f31] // CHECK:STDOUT: %Outer.ref.loc21_28: %Outer.type = name_ref Outer, file.%Outer.decl [concrete = constants.%Outer.generic] // CHECK:STDOUT: %.loc21_35: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %Z1.ref.loc21_41: type = name_ref Z1, file.%Z1.decl [concrete = constants.%Z1.type] // CHECK:STDOUT: %Z2.ref.loc21_46: type = name_ref Z2, file.%Z2.decl [concrete = constants.%Z2.type] -// CHECK:STDOUT: %impl.elem0.loc21_44: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc21_44: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc21_44: = bound_method %Z1.ref.loc21_41, %impl.elem0.loc21_44 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc21_44: init type = call %bound_method.loc21_44(%Z1.ref.loc21_41, %Z2.ref.loc21_46) [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc21_48.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc21_44 [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc21_48.2: type = converted %type.as.BitAndWith.impl.Op.call.loc21_44, %.loc21_48.1 [concrete = constants.%facet_type] -// CHECK:STDOUT: %facet_value.loc21_37: %facet_type = facet_value constants.%empty_tuple.type, (constants.%Z1.impl_witness, constants.%Z2.impl_witness) [concrete = constants.%facet_value.7f6] -// CHECK:STDOUT: %.loc21_37: %facet_type = converted %.loc21_35, %facet_value.loc21_37 [concrete = constants.%facet_value.7f6] +// CHECK:STDOUT: %facet_value.loc21_37: %facet_type = facet_value constants.%empty_tuple.type, (constants.%Z1.impl_witness, constants.%Z2.impl_witness) [concrete = constants.%facet_value.1c9] +// CHECK:STDOUT: %.loc21_37: %facet_type = converted %.loc21_35, %facet_value.loc21_37 [concrete = constants.%facet_value.1c9] // CHECK:STDOUT: %as_type.loc21_49: type = facet_access_type %.loc21_37 [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %Z1.facet.loc21_49: %Z1.type = facet_value %as_type.loc21_49, (constants.%Z1.impl_witness) [concrete = constants.%Z1.facet] // CHECK:STDOUT: %.loc21_49: %Z1.type = converted %.loc21_37, %Z1.facet.loc21_49 [concrete = constants.%Z1.facet] -// CHECK:STDOUT: %Outer.loc21_49: type = class_type @Outer, @Outer(constants.%Z1.facet) [concrete = constants.%Outer.a0d] -// CHECK:STDOUT: %.loc21_50: type = specific_constant @Outer.%C.decl, @Outer(constants.%Z1.facet) [concrete = constants.%C.60f] -// CHECK:STDOUT: %C.ref: type = name_ref C, %.loc21_50 [concrete = constants.%C.60f] -// CHECK:STDOUT: %facet_value.loc21_52: %Y_where.type.4d1 = facet_value constants.%C.60f, (constants.%Y.impl_witness.daf) [concrete = constants.%facet_value.ca6] -// CHECK:STDOUT: %.loc21_52: %Y_where.type.4d1 = converted constants.%C.60f, %facet_value.loc21_52 [concrete = constants.%facet_value.ca6] -// CHECK:STDOUT: %Outer.G.specific_fn: = specific_function %G.ref, @Outer.G(constants.%Z1.facet, constants.%facet_value.ca6) [concrete = constants.%Outer.G.specific_fn] +// CHECK:STDOUT: %Outer.loc21_49: type = class_type @Outer, @Outer(constants.%Z1.facet) [concrete = constants.%Outer.d69] +// CHECK:STDOUT: %.loc21_50: type = specific_constant @Outer.%C.decl, @Outer(constants.%Z1.facet) [concrete = constants.%C.4a0] +// CHECK:STDOUT: %C.ref: type = name_ref C, %.loc21_50 [concrete = constants.%C.4a0] +// CHECK:STDOUT: %facet_value.loc21_52: %Y_where.type.48f = facet_value constants.%C.4a0, (constants.%Y.impl_witness.6ba) [concrete = constants.%facet_value.4ef] +// CHECK:STDOUT: %.loc21_52: %Y_where.type.48f = converted constants.%C.4a0, %facet_value.loc21_52 [concrete = constants.%facet_value.4ef] +// CHECK:STDOUT: %Outer.G.specific_fn: = specific_function %G.ref, @Outer.G(constants.%Z1.facet, constants.%facet_value.4ef) [concrete = constants.%Outer.G.specific_fn] // CHECK:STDOUT: %Outer.G.call: init %empty_tuple.type = call %Outer.G.specific_fn() // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z1.WithSelf(constants.%Self.22f) { +// CHECK:STDOUT: specific @Z1.WithSelf(constants.%Self.9d0) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z2.WithSelf(constants.%Self.e4b) { +// CHECK:STDOUT: specific @Z2.WithSelf(constants.%Self.67a) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -774,70 +774,70 @@ fn F() { // CHECK:STDOUT: %OuterParam.loc6_23.1 => constants.%OuterParam // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Y.type => constants.%Y.type.824 -// CHECK:STDOUT: %Outer.G.type => constants.%Outer.G.type.b30 -// CHECK:STDOUT: %Outer.G => constants.%Outer.G.08f -// CHECK:STDOUT: %C => constants.%C.531 +// CHECK:STDOUT: %Y.type => constants.%Y.type.244 +// CHECK:STDOUT: %Outer.G.type => constants.%Outer.G.type.359 +// CHECK:STDOUT: %Outer.G => constants.%Outer.G.f26 +// CHECK:STDOUT: %C => constants.%C.b80 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y(constants.%OuterParam) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%OuterParam -// CHECK:STDOUT: %Y.type => constants.%Y.type.824 -// CHECK:STDOUT: %Self.loc7_15.2 => constants.%Self.c82 +// CHECK:STDOUT: %Y.type => constants.%Y.type.244 +// CHECK:STDOUT: %Self.loc7_15.2 => constants.%Self.5ed // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%OuterParam, constants.%Self.c82) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%OuterParam, constants.%Self.5ed) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%OuterParam -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.86c -// CHECK:STDOUT: %assoc0 => constants.%assoc0.b1a +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.fd4 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.076 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%OuterParam, constants.%.Self.edf) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%OuterParam, constants.%.Self.5f7) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%OuterParam -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.86c -// CHECK:STDOUT: %assoc0 => constants.%assoc0.b1a +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.fd4 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.076 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Outer.G(constants.%OuterParam, constants.%H) { // CHECK:STDOUT: %OuterParam => constants.%OuterParam -// CHECK:STDOUT: %Y.type => constants.%Y.type.824 -// CHECK:STDOUT: %.Self.loc11_21.1 => constants.%.Self.edf -// CHECK:STDOUT: %require_complete => constants.%require_complete.64e -// CHECK:STDOUT: %.Self.as_type.loc11_27.1 => constants.%.Self.as_type.5ec -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.86c -// CHECK:STDOUT: %assoc0 => constants.%assoc0.b1a -// CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness.419 -// CHECK:STDOUT: %impl.elem0.loc11_27.1 => constants.%impl.elem0.fe1 -// CHECK:STDOUT: %Y_where.type => constants.%Y_where.type.135 +// CHECK:STDOUT: %Y.type => constants.%Y.type.244 +// CHECK:STDOUT: %.Self.loc11_21.1 => constants.%.Self.5f7 +// CHECK:STDOUT: %require_complete => constants.%require_complete.9b4 +// CHECK:STDOUT: %.Self.as_type.loc11_27.1 => constants.%.Self.as_type.da8 +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.fd4 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.076 +// CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness.412 +// CHECK:STDOUT: %impl.elem0.loc11_27.1 => constants.%impl.elem0.b6c +// CHECK:STDOUT: %Y_where.type => constants.%Y_where.type.1cf // CHECK:STDOUT: %H.loc11_16.1 => constants.%H -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0bd +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3e8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%OuterParam) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.Y.impl(constants.%OuterParam) { // CHECK:STDOUT: %OuterParam => constants.%OuterParam -// CHECK:STDOUT: %C => constants.%C.531 -// CHECK:STDOUT: %Y.type => constants.%Y.type.824 -// CHECK:STDOUT: %.Self.loc14_15.2 => constants.%.Self.edf -// CHECK:STDOUT: %require_complete.loc14_21 => constants.%require_complete.64e -// CHECK:STDOUT: %.Self.as_type.loc14_21.2 => constants.%.Self.as_type.5ec -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.86c -// CHECK:STDOUT: %assoc0 => constants.%assoc0.b1a -// CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness.419 -// CHECK:STDOUT: %impl.elem0.loc14_21.2 => constants.%impl.elem0.fe1 -// CHECK:STDOUT: %Y_where.type => constants.%Y_where.type.135 -// CHECK:STDOUT: %Y.impl_witness.loc14_29.2 => constants.%Y.impl_witness.e17 +// CHECK:STDOUT: %C => constants.%C.b80 +// CHECK:STDOUT: %Y.type => constants.%Y.type.244 +// CHECK:STDOUT: %.Self.loc14_15.2 => constants.%.Self.5f7 +// CHECK:STDOUT: %require_complete.loc14_21 => constants.%require_complete.9b4 +// CHECK:STDOUT: %.Self.as_type.loc14_21.2 => constants.%.Self.as_type.da8 +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.fd4 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.076 +// CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness.412 +// CHECK:STDOUT: %impl.elem0.loc14_21.2 => constants.%impl.elem0.b6c +// CHECK:STDOUT: %Y_where.type => constants.%Y_where.type.1cf +// CHECK:STDOUT: %Y.impl_witness.loc14_29.2 => constants.%Y.impl_witness.499 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%OuterParam, constants.%Y.facet.ca2) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%OuterParam, constants.%Y.facet.00a) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%OuterParam -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.86c -// CHECK:STDOUT: %assoc0 => constants.%assoc0.b1a +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.fd4 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.076 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z1.WithSelf(constants.%Z1.facet) { @@ -852,59 +852,59 @@ fn F() { // CHECK:STDOUT: %OuterParam.loc6_23.1 => constants.%Z1.facet // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Y.type => constants.%Y.type.0a9 -// CHECK:STDOUT: %Outer.G.type => constants.%Outer.G.type.5d9 -// CHECK:STDOUT: %Outer.G => constants.%Outer.G.4f4 -// CHECK:STDOUT: %C => constants.%C.60f +// CHECK:STDOUT: %Y.type => constants.%Y.type.52f +// CHECK:STDOUT: %Outer.G.type => constants.%Outer.G.type.9fe +// CHECK:STDOUT: %Outer.G => constants.%Outer.G.f31 +// CHECK:STDOUT: %C => constants.%C.4a0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y(constants.%Z1.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%Z1.facet -// CHECK:STDOUT: %Y.type => constants.%Y.type.0a9 -// CHECK:STDOUT: %Self.loc7_15.2 => constants.%Self.393 +// CHECK:STDOUT: %Y.type => constants.%Y.type.52f +// CHECK:STDOUT: %Self.loc7_15.2 => constants.%Self.623 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%Z1.facet) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @C.as.Y.impl(constants.%Z1.facet) { // CHECK:STDOUT: %OuterParam => constants.%Z1.facet -// CHECK:STDOUT: %C => constants.%C.60f -// CHECK:STDOUT: %Y.type => constants.%Y.type.0a9 -// CHECK:STDOUT: %.Self.loc14_15.2 => constants.%.Self.a9e -// CHECK:STDOUT: %require_complete.loc14_21 => constants.%complete_type.f9b -// CHECK:STDOUT: %.Self.as_type.loc14_21.2 => constants.%.Self.as_type.691 -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.b06 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.8ad -// CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness.891 -// CHECK:STDOUT: %impl.elem0.loc14_21.2 => constants.%impl.elem0.633 -// CHECK:STDOUT: %Y_where.type => constants.%Y_where.type.4d1 -// CHECK:STDOUT: %Y.impl_witness.loc14_29.2 => constants.%Y.impl_witness.daf +// CHECK:STDOUT: %C => constants.%C.4a0 +// CHECK:STDOUT: %Y.type => constants.%Y.type.52f +// CHECK:STDOUT: %.Self.loc14_15.2 => constants.%.Self.b03 +// CHECK:STDOUT: %require_complete.loc14_21 => constants.%complete_type.a1f +// CHECK:STDOUT: %.Self.as_type.loc14_21.2 => constants.%.Self.as_type.bfc +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.c4e +// CHECK:STDOUT: %assoc0 => constants.%assoc0.654 +// CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness.0c6 +// CHECK:STDOUT: %impl.elem0.loc14_21.2 => constants.%impl.elem0.a26 +// CHECK:STDOUT: %Y_where.type => constants.%Y_where.type.48f +// CHECK:STDOUT: %Y.impl_witness.loc14_29.2 => constants.%Y.impl_witness.6ba // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc14_15 => constants.%complete_type.e82 +// CHECK:STDOUT: %require_complete.loc14_15 => constants.%complete_type.fe0 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Z1.facet, constants.%Self.c82) { +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Z1.facet, constants.%Self.5ed) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %OuterParam => constants.%Z1.facet -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.b06 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.8ad +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.c4e +// CHECK:STDOUT: %assoc0 => constants.%assoc0.654 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Outer.G(constants.%Z1.facet, constants.%facet_value.ca6) { +// CHECK:STDOUT: specific @Outer.G(constants.%Z1.facet, constants.%facet_value.4ef) { // CHECK:STDOUT: %OuterParam => constants.%Z1.facet -// CHECK:STDOUT: %Y.type => constants.%Y.type.0a9 -// CHECK:STDOUT: %.Self.loc11_21.1 => constants.%.Self.a9e -// CHECK:STDOUT: %require_complete => constants.%complete_type.f9b -// CHECK:STDOUT: %.Self.as_type.loc11_27.1 => constants.%.Self.as_type.691 -// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.b06 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.8ad -// CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness.891 -// CHECK:STDOUT: %impl.elem0.loc11_27.1 => constants.%impl.elem0.633 -// CHECK:STDOUT: %Y_where.type => constants.%Y_where.type.4d1 -// CHECK:STDOUT: %H.loc11_16.1 => constants.%facet_value.ca6 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.298 +// CHECK:STDOUT: %Y.type => constants.%Y.type.52f +// CHECK:STDOUT: %.Self.loc11_21.1 => constants.%.Self.b03 +// CHECK:STDOUT: %require_complete => constants.%complete_type.a1f +// CHECK:STDOUT: %.Self.as_type.loc11_27.1 => constants.%.Self.as_type.bfc +// CHECK:STDOUT: %Y.assoc_type => constants.%Y.assoc_type.c4e +// CHECK:STDOUT: %assoc0 => constants.%assoc0.654 +// CHECK:STDOUT: %Y.lookup_impl_witness => constants.%Y.lookup_impl_witness.0c6 +// CHECK:STDOUT: %impl.elem0.loc11_27.1 => constants.%impl.elem0.a26 +// CHECK:STDOUT: %Y_where.type => constants.%Y_where.type.48f +// CHECK:STDOUT: %H.loc11_16.1 => constants.%facet_value.4ef +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.279 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/impl/lookup/specialization_with_symbolic_rewrite.carbon b/toolchain/check/testdata/impl/lookup/specialization_with_symbolic_rewrite.carbon index f144074be368..916a131af3cf 100644 --- a/toolchain/check/testdata/impl/lookup/specialization_with_symbolic_rewrite.carbon +++ b/toolchain/check/testdata/impl/lookup/specialization_with_symbolic_rewrite.carbon @@ -101,54 +101,54 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Z.type.ec1: type = generic_interface_type @Z [concrete] +// CHECK:STDOUT: %Z.type.8a6: type = generic_interface_type @Z [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Z.generic: %Z.type.ec1 = struct_value () [concrete] -// CHECK:STDOUT: %Z.type.34f: type = facet_type <@Z, @Z(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.584: %Z.type.34f = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Z.assoc_type.e05: type = assoc_entity_type @Z, @Z(%T.67d) [symbolic] -// CHECK:STDOUT: %assoc0.76f: %Z.assoc_type.e05 = assoc_entity element0, @Z.WithSelf.%X [symbolic] +// CHECK:STDOUT: %Z.generic: %Z.type.8a6 = struct_value () [concrete] +// CHECK:STDOUT: %Z.type.284: type = facet_type <@Z, @Z(%T.67d)> [symbolic] +// CHECK:STDOUT: %Self.f76: %Z.type.284 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Z.assoc_type.e20: type = assoc_entity_type @Z, @Z(%T.67d) [symbolic] +// CHECK:STDOUT: %assoc0.5be: %Z.assoc_type.e20 = assoc_entity element0, @Z.WithSelf.%X [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %S: type = symbolic_binding S, 1 [symbolic] -// CHECK:STDOUT: %Z.type.69d: type = facet_type <@Z, @Z(%S)> [symbolic] -// CHECK:STDOUT: %.Self.f81: %Z.type.69d = symbolic_binding .Self [symbolic] -// CHECK:STDOUT: %Self.fe1: %Z.type.69d = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Z.assoc_type.11f: type = assoc_entity_type @Z, @Z(%S) [symbolic] -// CHECK:STDOUT: %assoc0.bac: %Z.assoc_type.11f = assoc_entity element0, @Z.WithSelf.%X [symbolic] -// CHECK:STDOUT: %require_complete.1ba: = require_complete_type %Z.type.69d [symbolic] -// CHECK:STDOUT: %.Self.as_type.8f7: type = facet_access_type %.Self.f81 [symbolic] -// CHECK:STDOUT: %Z.lookup_impl_witness.b96: = lookup_impl_witness %.Self.f81, @Z, @Z(%S) [symbolic] -// CHECK:STDOUT: %impl.elem0.5df: type = impl_witness_access %Z.lookup_impl_witness.b96, element0 [symbolic] +// CHECK:STDOUT: %Z.type.6ef: type = facet_type <@Z, @Z(%S)> [symbolic] +// CHECK:STDOUT: %.Self.d86: %Z.type.6ef = symbolic_binding .Self [symbolic] +// CHECK:STDOUT: %Self.d23: %Z.type.6ef = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Z.assoc_type.795: type = assoc_entity_type @Z, @Z(%S) [symbolic] +// CHECK:STDOUT: %assoc0.281: %Z.assoc_type.795 = assoc_entity element0, @Z.WithSelf.%X [symbolic] +// CHECK:STDOUT: %require_complete.c80: = require_complete_type %Z.type.6ef [symbolic] +// CHECK:STDOUT: %.Self.as_type.1a7: type = facet_access_type %.Self.d86 [symbolic] +// CHECK:STDOUT: %Z.lookup_impl_witness.18f: = lookup_impl_witness %.Self.d86, @Z, @Z(%S) [symbolic] +// CHECK:STDOUT: %impl.elem0.6c0: type = impl_witness_access %Z.lookup_impl_witness.18f, element0 [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %Z_where.type.c97: type = facet_type <@Z, @Z(%S) where %impl.elem0.5df = %empty_tuple.type> [symbolic] -// CHECK:STDOUT: %Z.impl_witness.a70: = impl_witness @T.as.Z.impl.e52.%Z.impl_witness_table, @T.as.Z.impl.e52(%T.67d, %S) [symbolic] -// CHECK:STDOUT: %require_complete.16a: = require_complete_type %Z_where.type.c97 [symbolic] -// CHECK:STDOUT: %Z.facet.29c: %Z.type.69d = facet_value %T.67d, (%Z.impl_witness.a70) [symbolic] -// CHECK:STDOUT: %Z.type.9a5: type = facet_type <@Z, @Z(%C)> [concrete] -// CHECK:STDOUT: %.Self.626: %Z.type.9a5 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %Self.48a: %Z.type.9a5 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Z.assoc_type.82e: type = assoc_entity_type @Z, @Z(%C) [concrete] -// CHECK:STDOUT: %assoc0.4a3: %Z.assoc_type.82e = assoc_entity element0, @Z.WithSelf.%X [concrete] -// CHECK:STDOUT: %.Self.as_type.b5d: type = facet_access_type %.Self.626 [symbolic_self] -// CHECK:STDOUT: %Z.lookup_impl_witness.64c: = lookup_impl_witness %.Self.626, @Z, @Z(%C) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.d46: type = impl_witness_access %Z.lookup_impl_witness.64c, element0 [symbolic_self] -// CHECK:STDOUT: %Z_where.type.932: type = facet_type <@Z, @Z(%C) where %impl.elem0.d46 = %T.67d> [symbolic] -// CHECK:STDOUT: %Z.impl_witness.3bf: = impl_witness @T.as.Z.impl.854.%Z.impl_witness_table, @T.as.Z.impl.854(%T.67d) [symbolic] -// CHECK:STDOUT: %require_complete.886: = require_complete_type %Z_where.type.932 [symbolic] -// CHECK:STDOUT: %Z.facet.b23: %Z.type.9a5 = facet_value %T.67d, (%Z.impl_witness.3bf) [symbolic] -// CHECK:STDOUT: %pattern_type.93b: type = pattern_type %Z.type.9a5 [concrete] -// CHECK:STDOUT: %T.0ac: %Z.type.9a5 = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.0ac [symbolic] -// CHECK:STDOUT: %pattern_type.d44: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %Z_where.type.d8a: type = facet_type <@Z, @Z(%S) where %impl.elem0.6c0 = %empty_tuple.type> [symbolic] +// CHECK:STDOUT: %Z.impl_witness.62a: = impl_witness @T.as.Z.impl.e64.%Z.impl_witness_table, @T.as.Z.impl.e64(%T.67d, %S) [symbolic] +// CHECK:STDOUT: %require_complete.310: = require_complete_type %Z_where.type.d8a [symbolic] +// CHECK:STDOUT: %Z.facet.59a: %Z.type.6ef = facet_value %T.67d, (%Z.impl_witness.62a) [symbolic] +// CHECK:STDOUT: %Z.type.2d0: type = facet_type <@Z, @Z(%C)> [concrete] +// CHECK:STDOUT: %.Self.e6c: %Z.type.2d0 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Self.f16: %Z.type.2d0 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Z.assoc_type.8db: type = assoc_entity_type @Z, @Z(%C) [concrete] +// CHECK:STDOUT: %assoc0.f02: %Z.assoc_type.8db = assoc_entity element0, @Z.WithSelf.%X [concrete] +// CHECK:STDOUT: %.Self.as_type.e4e: type = facet_access_type %.Self.e6c [symbolic_self] +// CHECK:STDOUT: %Z.lookup_impl_witness.c21: = lookup_impl_witness %.Self.e6c, @Z, @Z(%C) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.fe4: type = impl_witness_access %Z.lookup_impl_witness.c21, element0 [symbolic_self] +// CHECK:STDOUT: %Z_where.type.346: type = facet_type <@Z, @Z(%C) where %impl.elem0.fe4 = %T.67d> [symbolic] +// CHECK:STDOUT: %Z.impl_witness.61a: = impl_witness @T.as.Z.impl.b90.%Z.impl_witness_table, @T.as.Z.impl.b90(%T.67d) [symbolic] +// CHECK:STDOUT: %require_complete.3d6: = require_complete_type %Z_where.type.346 [symbolic] +// CHECK:STDOUT: %Z.facet.587: %Z.type.2d0 = facet_value %T.67d, (%Z.impl_witness.61a) [symbolic] +// CHECK:STDOUT: %pattern_type.59a: type = pattern_type %Z.type.2d0 [concrete] +// CHECK:STDOUT: %T.196: %Z.type.2d0 = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.196 [symbolic] +// CHECK:STDOUT: %pattern_type.56b: 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.5ad: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %Z_where.type.dfb: type = facet_type <@Z, @Z(%C) where %impl.elem0.d46 = %T.as_type> [symbolic] -// CHECK:STDOUT: %Z.impl_witness.53d: = impl_witness @T.as.Z.impl.854.%Z.impl_witness_table, @T.as.Z.impl.854(%T.as_type) [symbolic] -// CHECK:STDOUT: %require_complete.a74: = require_complete_type %Z_where.type.dfb [symbolic] -// CHECK:STDOUT: %.5f3: require_specific_def_type = require_specific_def @T.as.Z.impl.854(%T.as_type) [symbolic] +// CHECK:STDOUT: %require_complete.c09: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %Z_where.type.c40: type = facet_type <@Z, @Z(%C) where %impl.elem0.fe4 = %T.as_type> [symbolic] +// CHECK:STDOUT: %Z.impl_witness.f75: = impl_witness @T.as.Z.impl.b90.%Z.impl_witness_table, @T.as.Z.impl.b90(%T.as_type) [symbolic] +// CHECK:STDOUT: %require_complete.386: = require_complete_type %Z_where.type.c40 [symbolic] +// CHECK:STDOUT: %.639: require_specific_def_type = require_specific_def @T.as.Z.impl.b90(%T.as_type) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -166,7 +166,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: .F = %F.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Z.decl: %Z.type.ec1 = interface_decl @Z [concrete = constants.%Z.generic] { +// CHECK:STDOUT: %Z.decl: %Z.type.8a6 = interface_decl @Z [concrete = constants.%Z.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc3_17.1: type = splice_block %.loc3_17.2 [concrete = type] { @@ -176,24 +176,24 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %T.loc3_14.2: type = symbolic_binding T, 0 [symbolic = %T.loc3_14.1 (constants.%T.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: impl_decl @T.as.Z.impl.e52 [concrete] { +// CHECK:STDOUT: impl_decl @T.as.Z.impl.e64 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %S.patt: %pattern_type.98f = symbolic_binding_pattern S, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc9_15.1 [symbolic = %T.loc9_15.2 (constants.%T.67d)] -// CHECK:STDOUT: %Z.ref: %Z.type.ec1 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] +// CHECK:STDOUT: %Z.ref: %Z.type.8a6 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] // CHECK:STDOUT: %S.ref: type = name_ref S, %S.loc9_25.1 [symbolic = %S.loc9_25.2 (constants.%S)] -// CHECK:STDOUT: %Z.type.loc9_42.1: type = facet_type <@Z, @Z(constants.%S)> [symbolic = %Z.type.loc9_42.2 (constants.%Z.type.69d)] -// CHECK:STDOUT: %.Self.loc9_44.1: @T.as.Z.impl.e52.%Z.type.loc9_42.2 (%Z.type.69d) = symbolic_binding .Self [symbolic = %.Self.loc9_44.2 (constants.%.Self.f81)] -// CHECK:STDOUT: %.Self.ref: @T.as.Z.impl.e52.%Z.type.loc9_42.2 (%Z.type.69d) = name_ref .Self, %.Self.loc9_44.1 [symbolic = %.Self.loc9_44.2 (constants.%.Self.f81)] -// 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.8f7)] -// 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.8f7)] -// CHECK:STDOUT: %.loc9_50.2: @T.as.Z.impl.e52.%Z.assoc_type (%Z.assoc_type.11f) = specific_constant @X.%assoc0, @Z.WithSelf(constants.%S, constants.%.Self.f81) [symbolic = %assoc0 (constants.%assoc0.bac)] -// CHECK:STDOUT: %X.ref: @T.as.Z.impl.e52.%Z.assoc_type (%Z.assoc_type.11f) = name_ref X, %.loc9_50.2 [symbolic = %assoc0 (constants.%assoc0.bac)] -// CHECK:STDOUT: %impl.elem0.loc9_50.1: type = impl_witness_access constants.%Z.lookup_impl_witness.b96, element0 [symbolic = %impl.elem0.loc9_50.2 (constants.%impl.elem0.5df)] +// CHECK:STDOUT: %Z.type.loc9_42.1: type = facet_type <@Z, @Z(constants.%S)> [symbolic = %Z.type.loc9_42.2 (constants.%Z.type.6ef)] +// CHECK:STDOUT: %.Self.loc9_44.1: @T.as.Z.impl.e64.%Z.type.loc9_42.2 (%Z.type.6ef) = symbolic_binding .Self [symbolic = %.Self.loc9_44.2 (constants.%.Self.d86)] +// CHECK:STDOUT: %.Self.ref: @T.as.Z.impl.e64.%Z.type.loc9_42.2 (%Z.type.6ef) = name_ref .Self, %.Self.loc9_44.1 [symbolic = %.Self.loc9_44.2 (constants.%.Self.d86)] +// 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.1a7)] +// 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.1a7)] +// CHECK:STDOUT: %.loc9_50.2: @T.as.Z.impl.e64.%Z.assoc_type (%Z.assoc_type.795) = specific_constant @X.%assoc0, @Z.WithSelf(constants.%S, constants.%.Self.d86) [symbolic = %assoc0 (constants.%assoc0.281)] +// CHECK:STDOUT: %X.ref: @T.as.Z.impl.e64.%Z.assoc_type (%Z.assoc_type.795) = name_ref X, %.loc9_50.2 [symbolic = %assoc0 (constants.%assoc0.281)] +// CHECK:STDOUT: %impl.elem0.loc9_50.1: type = impl_witness_access constants.%Z.lookup_impl_witness.18f, element0 [symbolic = %impl.elem0.loc9_50.2 (constants.%impl.elem0.6c0)] // CHECK:STDOUT: %.loc9_56.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc9_56.2: type = converted %.loc9_56.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %.loc9_44: type = where_expr [symbolic = %Z_where.type (constants.%Z_where.type.c97)] { +// CHECK:STDOUT: %.loc9_44: type = where_expr [symbolic = %Z_where.type (constants.%Z_where.type.d8a)] { // CHECK:STDOUT: requirement_base_facet_type %Z.type.loc9_42.1 // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc9_50.1, %.loc9_56.2 // CHECK:STDOUT: } @@ -208,22 +208,22 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } // CHECK:STDOUT: %S.loc9_25.1: type = symbolic_binding S, 1 [symbolic = %S.loc9_25.2 (constants.%S)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as.Z.impl.854 [concrete] { +// CHECK:STDOUT: impl_decl @T.as.Z.impl.b90 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref.loc11_30: type = name_ref T, %T.loc11_21.1 [symbolic = %T.loc11_21.2 (constants.%T.67d)] -// CHECK:STDOUT: %Z.ref: %Z.type.ec1 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] +// CHECK:STDOUT: %Z.ref: %Z.type.8a6 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(constants.%C)> [concrete = constants.%Z.type.9a5] -// CHECK:STDOUT: %.Self.loc11_40: %Z.type.9a5 = symbolic_binding .Self [symbolic_self = constants.%.Self.626] -// CHECK:STDOUT: %.Self.ref: %Z.type.9a5 = name_ref .Self, %.Self.loc11_40 [symbolic_self = constants.%.Self.626] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type.b5d] -// CHECK:STDOUT: %.loc11_46.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type.b5d] -// CHECK:STDOUT: %.loc11_46.2: %Z.assoc_type.82e = specific_constant @X.%assoc0, @Z.WithSelf(constants.%C, constants.%.Self.626) [concrete = constants.%assoc0.4a3] -// CHECK:STDOUT: %X.ref: %Z.assoc_type.82e = name_ref X, %.loc11_46.2 [concrete = constants.%assoc0.4a3] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Z.lookup_impl_witness.64c, element0 [symbolic_self = constants.%impl.elem0.d46] +// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(constants.%C)> [concrete = constants.%Z.type.2d0] +// CHECK:STDOUT: %.Self.loc11_40: %Z.type.2d0 = symbolic_binding .Self [symbolic_self = constants.%.Self.e6c] +// CHECK:STDOUT: %.Self.ref: %Z.type.2d0 = name_ref .Self, %.Self.loc11_40 [symbolic_self = constants.%.Self.e6c] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type.e4e] +// CHECK:STDOUT: %.loc11_46.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type.e4e] +// CHECK:STDOUT: %.loc11_46.2: %Z.assoc_type.8db = specific_constant @X.%assoc0, @Z.WithSelf(constants.%C, constants.%.Self.e6c) [concrete = constants.%assoc0.f02] +// CHECK:STDOUT: %X.ref: %Z.assoc_type.8db = name_ref X, %.loc11_46.2 [concrete = constants.%assoc0.f02] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Z.lookup_impl_witness.c21, element0 [symbolic_self = constants.%impl.elem0.fe4] // CHECK:STDOUT: %T.ref.loc11_51: type = name_ref T, %T.loc11_21.1 [symbolic = %T.loc11_21.2 (constants.%T.67d)] -// CHECK:STDOUT: %.loc11_40: type = where_expr [symbolic = %Z_where.type (constants.%Z_where.type.932)] { +// CHECK:STDOUT: %.loc11_40: type = where_expr [symbolic = %Z_where.type (constants.%Z_where.type.346)] { // CHECK:STDOUT: requirement_base_facet_type %Z.type // CHECK:STDOUT: requirement_rewrite %impl.elem0, %T.ref.loc11_51 // CHECK:STDOUT: } @@ -234,20 +234,20 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %T.loc11_21.1: type = symbolic_binding T, 0 [symbolic = %T.loc11_21.2 (constants.%T.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt: %pattern_type.93b = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %t.param_patt: @F.%pattern_type (%pattern_type.d44) = value_param_pattern [concrete] -// CHECK:STDOUT: %t.patt: @F.%pattern_type (%pattern_type.d44) = at_binding_pattern t, %t.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.59a = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %t.param_patt: @F.%pattern_type (%pattern_type.56b) = value_param_pattern [concrete] +// CHECK:STDOUT: %t.patt: @F.%pattern_type (%pattern_type.56b) = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc13_13: type = splice_block %Z.type [concrete = constants.%Z.type.9a5] { +// CHECK:STDOUT: %.loc13_13: type = splice_block %Z.type [concrete = constants.%Z.type.2d0] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] -// CHECK:STDOUT: %Z.ref: %Z.type.ec1 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] +// CHECK:STDOUT: %Z.ref: %Z.type.8a6 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(constants.%C)> [concrete = constants.%Z.type.9a5] +// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(constants.%C)> [concrete = constants.%Z.type.2d0] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc13_7.2: %Z.type.9a5 = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T.0ac)] +// CHECK:STDOUT: %T.loc13_7.2: %Z.type.2d0 = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T.196)] // 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.9a5 = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.0ac)] +// CHECK:STDOUT: %T.ref.loc13: %Z.type.2d0 = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.196)] // 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: } @@ -259,16 +259,16 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %T.loc3_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc3_14.1 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%T.loc3_14.1)> [symbolic = %Z.type (constants.%Z.type.34f)] -// CHECK:STDOUT: %Self.loc3_23.2: @Z.%Z.type (%Z.type.34f) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.584)] +// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%T.loc3_14.1)> [symbolic = %Z.type (constants.%Z.type.284)] +// CHECK:STDOUT: %Self.loc3_23.2: @Z.%Z.type (%Z.type.284) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.f76)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc3_23.1: @Z.%Z.type (%Z.type.34f) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.584)] +// CHECK:STDOUT: %Self.loc3_23.1: @Z.%Z.type (%Z.type.284) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.f76)] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %X: type = assoc_const_decl @X [concrete] { -// CHECK:STDOUT: %assoc0: @Z.WithSelf.%Z.assoc_type (%Z.assoc_type.e05) = assoc_entity element0, @Z.WithSelf.%X [symbolic = @Z.WithSelf.%assoc0 (constants.%assoc0.76f)] +// CHECK:STDOUT: %assoc0: @Z.WithSelf.%Z.assoc_type (%Z.assoc_type.e20) = assoc_entity element0, @Z.WithSelf.%X [symbolic = @Z.WithSelf.%assoc0 (constants.%assoc0.5be)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -280,26 +280,26 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as.Z.impl.e52(%T.loc9_15.1: type, %S.loc9_25.1: type) { +// CHECK:STDOUT: generic impl @T.as.Z.impl.e64(%T.loc9_15.1: type, %S.loc9_25.1: type) { // CHECK:STDOUT: %T.loc9_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc9_15.2 (constants.%T.67d)] // CHECK:STDOUT: %S.loc9_25.2: type = symbolic_binding S, 1 [symbolic = %S.loc9_25.2 (constants.%S)] -// 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.69d)] -// CHECK:STDOUT: %.Self.loc9_44.2: @T.as.Z.impl.e52.%Z.type.loc9_42.2 (%Z.type.69d) = symbolic_binding .Self [symbolic = %.Self.loc9_44.2 (constants.%.Self.f81)] -// CHECK:STDOUT: %require_complete.loc9_50: = require_complete_type %Z.type.loc9_42.2 [symbolic = %require_complete.loc9_50 (constants.%require_complete.1ba)] -// CHECK:STDOUT: %.Self.as_type.loc9_50.2: type = facet_access_type %.Self.loc9_44.2 [symbolic = %.Self.as_type.loc9_50.2 (constants.%.Self.as_type.8f7)] -// CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z, @Z(%S.loc9_25.2) [symbolic = %Z.assoc_type (constants.%Z.assoc_type.11f)] -// CHECK:STDOUT: %assoc0: @T.as.Z.impl.e52.%Z.assoc_type (%Z.assoc_type.11f) = assoc_entity element0, @Z.WithSelf.%X [symbolic = %assoc0 (constants.%assoc0.bac)] -// CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %.Self.loc9_44.2, @Z, @Z(%S.loc9_25.2) [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness.b96)] -// CHECK:STDOUT: %impl.elem0.loc9_50.2: type = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_50.2 (constants.%impl.elem0.5df)] -// CHECK:STDOUT: %Z_where.type: type = facet_type <@Z, @Z(%S.loc9_25.2) where %impl.elem0.loc9_50.2 = constants.%empty_tuple.type> [symbolic = %Z_where.type (constants.%Z_where.type.c97)] -// CHECK:STDOUT: %Z.impl_witness.loc9_58.2: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.e52(%T.loc9_15.2, %S.loc9_25.2) [symbolic = %Z.impl_witness.loc9_58.2 (constants.%Z.impl_witness.a70)] +// 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.6ef)] +// CHECK:STDOUT: %.Self.loc9_44.2: @T.as.Z.impl.e64.%Z.type.loc9_42.2 (%Z.type.6ef) = symbolic_binding .Self [symbolic = %.Self.loc9_44.2 (constants.%.Self.d86)] +// CHECK:STDOUT: %require_complete.loc9_50: = require_complete_type %Z.type.loc9_42.2 [symbolic = %require_complete.loc9_50 (constants.%require_complete.c80)] +// CHECK:STDOUT: %.Self.as_type.loc9_50.2: type = facet_access_type %.Self.loc9_44.2 [symbolic = %.Self.as_type.loc9_50.2 (constants.%.Self.as_type.1a7)] +// CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z, @Z(%S.loc9_25.2) [symbolic = %Z.assoc_type (constants.%Z.assoc_type.795)] +// CHECK:STDOUT: %assoc0: @T.as.Z.impl.e64.%Z.assoc_type (%Z.assoc_type.795) = assoc_entity element0, @Z.WithSelf.%X [symbolic = %assoc0 (constants.%assoc0.281)] +// CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %.Self.loc9_44.2, @Z, @Z(%S.loc9_25.2) [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness.18f)] +// CHECK:STDOUT: %impl.elem0.loc9_50.2: type = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_50.2 (constants.%impl.elem0.6c0)] +// CHECK:STDOUT: %Z_where.type: type = facet_type <@Z, @Z(%S.loc9_25.2) where %impl.elem0.loc9_50.2 = constants.%empty_tuple.type> [symbolic = %Z_where.type (constants.%Z_where.type.d8a)] +// CHECK:STDOUT: %Z.impl_witness.loc9_58.2: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.e64(%T.loc9_15.2, %S.loc9_25.2) [symbolic = %Z.impl_witness.loc9_58.2 (constants.%Z.impl_witness.62a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc9_44: = require_complete_type %Z_where.type [symbolic = %require_complete.loc9_44 (constants.%require_complete.16a)] +// CHECK:STDOUT: %require_complete.loc9_44: = require_complete_type %Z_where.type [symbolic = %require_complete.loc9_44 (constants.%require_complete.310)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %T.ref as %.loc9_44 { -// CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @T.as.Z.impl.e52 [concrete] -// CHECK:STDOUT: %Z.impl_witness.loc9_58.1: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.e52(constants.%T.67d, constants.%S) [symbolic = %Z.impl_witness.loc9_58.2 (constants.%Z.impl_witness.a70)] +// CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @T.as.Z.impl.e64 [concrete] +// CHECK:STDOUT: %Z.impl_witness.loc9_58.1: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.e64(constants.%T.67d, constants.%S) [symbolic = %Z.impl_witness.loc9_58.2 (constants.%Z.impl_witness.62a)] // CHECK:STDOUT: %impl_witness_assoc_constant: type = impl_witness_assoc_constant constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -308,17 +308,17 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as.Z.impl.854(%T.loc11_21.1: type) { +// CHECK:STDOUT: generic impl @T.as.Z.impl.b90(%T.loc11_21.1: type) { // CHECK:STDOUT: %T.loc11_21.2: type = symbolic_binding T, 0 [symbolic = %T.loc11_21.2 (constants.%T.67d)] -// CHECK:STDOUT: %Z_where.type: type = facet_type <@Z, @Z(constants.%C) where constants.%impl.elem0.d46 = %T.loc11_21.2> [symbolic = %Z_where.type (constants.%Z_where.type.932)] -// CHECK:STDOUT: %Z.impl_witness.loc11_53.2: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.854(%T.loc11_21.2) [symbolic = %Z.impl_witness.loc11_53.2 (constants.%Z.impl_witness.3bf)] +// CHECK:STDOUT: %Z_where.type: type = facet_type <@Z, @Z(constants.%C) where constants.%impl.elem0.fe4 = %T.loc11_21.2> [symbolic = %Z_where.type (constants.%Z_where.type.346)] +// CHECK:STDOUT: %Z.impl_witness.loc11_53.2: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.b90(%T.loc11_21.2) [symbolic = %Z.impl_witness.loc11_53.2 (constants.%Z.impl_witness.61a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Z_where.type [symbolic = %require_complete (constants.%require_complete.886)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Z_where.type [symbolic = %require_complete (constants.%require_complete.3d6)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %T.ref.loc11_30 as %.loc11_40 { -// CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @T.as.Z.impl.854 [concrete] -// CHECK:STDOUT: %Z.impl_witness.loc11_53.1: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.854(constants.%T.67d) [symbolic = %Z.impl_witness.loc11_53.2 (constants.%Z.impl_witness.3bf)] +// CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @T.as.Z.impl.b90 [concrete] +// CHECK:STDOUT: %Z.impl_witness.loc11_53.1: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.b90(constants.%T.67d) [symbolic = %Z.impl_witness.loc11_53.2 (constants.%Z.impl_witness.61a)] // CHECK:STDOUT: %impl_witness_assoc_constant: type = impl_witness_assoc_constant constants.%T.67d [symbolic = %T.loc11_21.2 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -335,28 +335,28 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: .Self = constants.%C // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc13_7.2: %Z.type.9a5) { -// CHECK:STDOUT: %T.loc13_7.1: %Z.type.9a5 = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T.0ac)] +// CHECK:STDOUT: generic fn @F(%T.loc13_7.2: %Z.type.2d0) { +// CHECK:STDOUT: %T.loc13_7.1: %Z.type.2d0 = symbolic_binding T, 0 [symbolic = %T.loc13_7.1 (constants.%T.196)] // 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.d44)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc13_19.1 [symbolic = %pattern_type (constants.%pattern_type.56b)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc13_19.1 [symbolic = %require_complete (constants.%require_complete.5ad)] -// CHECK:STDOUT: %.loc15_18.4: require_specific_def_type = require_specific_def @T.as.Z.impl.854(%T.as_type.loc13_19.1) [symbolic = %.loc15_18.4 (constants.%.5f3)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc13_19.1 [symbolic = %require_complete (constants.%require_complete.c09)] +// CHECK:STDOUT: %.loc15_18.4: require_specific_def_type = require_specific_def @T.as.Z.impl.b90(%T.as_type.loc13_19.1) [symbolic = %.loc15_18.4 (constants.%.639)] // CHECK:STDOUT: // 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.d44) = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.56b) = value_binding_pattern a [concrete] // CHECK:STDOUT: } // 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.9a5 = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.0ac)] +// CHECK:STDOUT: %T.ref.loc15: %Z.type.2d0 = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.196)] // 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.82e = specific_constant @X.%assoc0, @Z.WithSelf(constants.%C, constants.%T.0ac) [concrete = constants.%assoc0.4a3] -// CHECK:STDOUT: %X.ref: %Z.assoc_type.82e = name_ref X, %.loc15_18.3 [concrete = constants.%assoc0.4a3] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Z.impl_witness.53d, element0 [symbolic = %T.as_type.loc13_19.1 (constants.%T.as_type)] +// CHECK:STDOUT: %.loc15_18.3: %Z.assoc_type.8db = specific_constant @X.%assoc0, @Z.WithSelf(constants.%C, constants.%T.196) [concrete = constants.%assoc0.f02] +// CHECK:STDOUT: %X.ref: %Z.assoc_type.8db = name_ref X, %.loc15_18.3 [concrete = constants.%assoc0.f02] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Z.impl_witness.f75, element0 [symbolic = %T.as_type.loc13_19.1 (constants.%T.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: %a: @F.%T.as_type.loc13_19.1 (%T.as_type) = value_binding a, %t.ref // CHECK:STDOUT: return @@ -367,107 +367,107 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %T.loc3_14.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%T.67d, constants.%Self.584) {} +// CHECK:STDOUT: specific @Z.WithSelf(constants.%T.67d, constants.%Self.f76) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Z(constants.%S) { // CHECK:STDOUT: %T.loc3_14.1 => constants.%S // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Z.type => constants.%Z.type.69d -// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.fe1 +// CHECK:STDOUT: %Z.type => constants.%Z.type.6ef +// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.d23 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%S, constants.%Self.584) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%S, constants.%Self.f76) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%S -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.11f -// CHECK:STDOUT: %assoc0 => constants.%assoc0.bac +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.795 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.281 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%S, constants.%.Self.f81) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%S, constants.%.Self.d86) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%S -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.11f -// CHECK:STDOUT: %assoc0 => constants.%assoc0.bac +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.795 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.281 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as.Z.impl.e52(constants.%T.67d, constants.%S) { +// CHECK:STDOUT: specific @T.as.Z.impl.e64(constants.%T.67d, constants.%S) { // CHECK:STDOUT: %T.loc9_15.2 => constants.%T.67d // CHECK:STDOUT: %S.loc9_25.2 => constants.%S -// CHECK:STDOUT: %Z.type.loc9_42.2 => constants.%Z.type.69d -// CHECK:STDOUT: %.Self.loc9_44.2 => constants.%.Self.f81 -// CHECK:STDOUT: %require_complete.loc9_50 => constants.%require_complete.1ba -// CHECK:STDOUT: %.Self.as_type.loc9_50.2 => constants.%.Self.as_type.8f7 -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.11f -// CHECK:STDOUT: %assoc0 => constants.%assoc0.bac -// CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.lookup_impl_witness.b96 -// CHECK:STDOUT: %impl.elem0.loc9_50.2 => constants.%impl.elem0.5df -// CHECK:STDOUT: %Z_where.type => constants.%Z_where.type.c97 -// CHECK:STDOUT: %Z.impl_witness.loc9_58.2 => constants.%Z.impl_witness.a70 +// CHECK:STDOUT: %Z.type.loc9_42.2 => constants.%Z.type.6ef +// CHECK:STDOUT: %.Self.loc9_44.2 => constants.%.Self.d86 +// CHECK:STDOUT: %require_complete.loc9_50 => constants.%require_complete.c80 +// CHECK:STDOUT: %.Self.as_type.loc9_50.2 => constants.%.Self.as_type.1a7 +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.795 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.281 +// CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.lookup_impl_witness.18f +// CHECK:STDOUT: %impl.elem0.loc9_50.2 => constants.%impl.elem0.6c0 +// CHECK:STDOUT: %Z_where.type => constants.%Z_where.type.d8a +// CHECK:STDOUT: %Z.impl_witness.loc9_58.2 => constants.%Z.impl_witness.62a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%S, constants.%Z.facet.29c) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%S, constants.%Z.facet.59a) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%S -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.11f -// CHECK:STDOUT: %assoc0 => constants.%assoc0.bac +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.795 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.281 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z(constants.%C) { // CHECK:STDOUT: %T.loc3_14.1 => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Z.type => constants.%Z.type.9a5 -// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.48a +// CHECK:STDOUT: %Z.type => constants.%Z.type.2d0 +// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.f16 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%Self.584) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%Self.f76) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.82e -// CHECK:STDOUT: %assoc0 => constants.%assoc0.4a3 +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.8db +// CHECK:STDOUT: %assoc0 => constants.%assoc0.f02 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%.Self.626) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%.Self.e6c) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.82e -// CHECK:STDOUT: %assoc0 => constants.%assoc0.4a3 +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.8db +// CHECK:STDOUT: %assoc0 => constants.%assoc0.f02 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as.Z.impl.854(constants.%T.67d) { +// CHECK:STDOUT: specific @T.as.Z.impl.b90(constants.%T.67d) { // CHECK:STDOUT: %T.loc11_21.2 => constants.%T.67d -// CHECK:STDOUT: %Z_where.type => constants.%Z_where.type.932 -// CHECK:STDOUT: %Z.impl_witness.loc11_53.2 => constants.%Z.impl_witness.3bf +// CHECK:STDOUT: %Z_where.type => constants.%Z_where.type.346 +// CHECK:STDOUT: %Z.impl_witness.loc11_53.2 => constants.%Z.impl_witness.61a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%Z.facet.b23) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%Z.facet.587) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.82e -// CHECK:STDOUT: %assoc0 => constants.%assoc0.4a3 +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.8db +// CHECK:STDOUT: %assoc0 => constants.%assoc0.f02 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.0ac) { -// CHECK:STDOUT: %T.loc13_7.1 => constants.%T.0ac +// CHECK:STDOUT: specific @F(constants.%T.196) { +// CHECK:STDOUT: %T.loc13_7.1 => constants.%T.196 // CHECK:STDOUT: %T.as_type.loc13_19.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d44 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.56b // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%T.0ac) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%T.196) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.82e -// CHECK:STDOUT: %assoc0 => constants.%assoc0.4a3 +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.8db +// CHECK:STDOUT: %assoc0 => constants.%assoc0.f02 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as.Z.impl.854(constants.%T.as_type) { +// CHECK:STDOUT: specific @T.as.Z.impl.b90(constants.%T.as_type) { // CHECK:STDOUT: %T.loc11_21.2 => constants.%T.as_type -// CHECK:STDOUT: %Z_where.type => constants.%Z_where.type.dfb -// CHECK:STDOUT: %Z.impl_witness.loc11_53.2 => constants.%Z.impl_witness.53d +// CHECK:STDOUT: %Z_where.type => constants.%Z_where.type.c40 +// CHECK:STDOUT: %Z.impl_witness.loc11_53.2 => constants.%Z.impl_witness.f75 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.a74 +// CHECK:STDOUT: %require_complete => constants.%require_complete.386 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_nonfinal_specialized_symbolic_rewrite.carbon @@ -477,69 +477,69 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Z.type.63e: type = generic_interface_type @Z [concrete] +// CHECK:STDOUT: %Z.type.8a6: type = generic_interface_type @Z [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Z.generic: %Z.type.63e = struct_value () [concrete] -// CHECK:STDOUT: %Z.type.7c2: type = facet_type <@Z, @Z(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.75f: %Z.type.7c2 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Z.assoc_type.d04: type = assoc_entity_type @Z, @Z(%T.67d) [symbolic] -// CHECK:STDOUT: %assoc0.a3c: %Z.assoc_type.d04 = assoc_entity element0, @Z.WithSelf.%X [symbolic] +// CHECK:STDOUT: %Z.generic: %Z.type.8a6 = struct_value () [concrete] +// CHECK:STDOUT: %Z.type.284: type = facet_type <@Z, @Z(%T.67d)> [symbolic] +// CHECK:STDOUT: %Self.f76: %Z.type.284 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Z.assoc_type.e20: type = assoc_entity_type @Z, @Z(%T.67d) [symbolic] +// CHECK:STDOUT: %assoc0.5be: %Z.assoc_type.e20 = assoc_entity element0, @Z.WithSelf.%X [symbolic] // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] -// CHECK:STDOUT: %Self.963: %Y.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d9e: %Y.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %S: type = symbolic_binding S, 1 [symbolic] -// CHECK:STDOUT: %Z.type.26c: type = facet_type <@Z, @Z(%S)> [symbolic] -// CHECK:STDOUT: %.Self.097: %Z.type.26c = symbolic_binding .Self [symbolic] -// CHECK:STDOUT: %Self.166: %Z.type.26c = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Z.assoc_type.652: type = assoc_entity_type @Z, @Z(%S) [symbolic] -// CHECK:STDOUT: %assoc0.b2d: %Z.assoc_type.652 = assoc_entity element0, @Z.WithSelf.%X [symbolic] -// CHECK:STDOUT: %require_complete.51f: = require_complete_type %Z.type.26c [symbolic] -// CHECK:STDOUT: %.Self.as_type.da4: type = facet_access_type %.Self.097 [symbolic] -// CHECK:STDOUT: %Z.lookup_impl_witness.cc5: = lookup_impl_witness %.Self.097, @Z, @Z(%S) [symbolic] -// CHECK:STDOUT: %impl.elem0.28a: type = impl_witness_access %Z.lookup_impl_witness.cc5, element0 [symbolic] +// CHECK:STDOUT: %Z.type.6ef: type = facet_type <@Z, @Z(%S)> [symbolic] +// CHECK:STDOUT: %.Self.d86: %Z.type.6ef = symbolic_binding .Self [symbolic] +// CHECK:STDOUT: %Self.d23: %Z.type.6ef = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Z.assoc_type.795: type = assoc_entity_type @Z, @Z(%S) [symbolic] +// CHECK:STDOUT: %assoc0.281: %Z.assoc_type.795 = assoc_entity element0, @Z.WithSelf.%X [symbolic] +// CHECK:STDOUT: %require_complete.c80: = require_complete_type %Z.type.6ef [symbolic] +// CHECK:STDOUT: %.Self.as_type.1a7: type = facet_access_type %.Self.d86 [symbolic] +// CHECK:STDOUT: %Z.lookup_impl_witness.18f: = lookup_impl_witness %.Self.d86, @Z, @Z(%S) [symbolic] +// CHECK:STDOUT: %impl.elem0.6c0: type = impl_witness_access %Z.lookup_impl_witness.18f, element0 [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %Z_where.type.d85: type = facet_type <@Z, @Z(%S) where %impl.elem0.28a = %empty_tuple.type> [symbolic] -// CHECK:STDOUT: %Z.impl_witness.474: = impl_witness @T.as.Z.impl.5b5.%Z.impl_witness_table, @T.as.Z.impl.5b5(%T.67d, %S) [symbolic] -// CHECK:STDOUT: %require_complete.25e: = require_complete_type %Z_where.type.d85 [symbolic] -// CHECK:STDOUT: %Z.facet.25f: %Z.type.26c = facet_value %T.67d, (%Z.impl_witness.474) [symbolic] -// CHECK:STDOUT: %Z.type.552: type = facet_type <@Z, @Z(%C)> [concrete] -// CHECK:STDOUT: %.Self.c9d: %Z.type.552 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %Self.fe3: %Z.type.552 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Z.assoc_type.c43: type = assoc_entity_type @Z, @Z(%C) [concrete] -// CHECK:STDOUT: %assoc0.7b6: %Z.assoc_type.c43 = assoc_entity element0, @Z.WithSelf.%X [concrete] -// CHECK:STDOUT: %.Self.as_type.074: type = facet_access_type %.Self.c9d [symbolic_self] -// CHECK:STDOUT: %Z.lookup_impl_witness.59d: = lookup_impl_witness %.Self.c9d, @Z, @Z(%C) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.8e5: type = impl_witness_access %Z.lookup_impl_witness.59d, element0 [symbolic_self] -// CHECK:STDOUT: %Z_where.type.891: type = facet_type <@Z, @Z(%C) where %impl.elem0.8e5 = %T.67d> [symbolic] -// CHECK:STDOUT: %Z.impl_witness.456: = impl_witness @T.as.Z.impl.cf9.%Z.impl_witness_table, @T.as.Z.impl.cf9(%T.67d) [symbolic] -// CHECK:STDOUT: %require_complete.6ee: = require_complete_type %Z_where.type.891 [symbolic] -// CHECK:STDOUT: %Z.facet.f33: %Z.type.552 = facet_value %T.67d, (%Z.impl_witness.456) [symbolic] -// CHECK:STDOUT: %pattern_type.8ad: type = pattern_type %Z.type.552 [concrete] -// CHECK:STDOUT: %T.3b9: %Z.type.552 = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.3b9 [symbolic] -// CHECK:STDOUT: %pattern_type.b4a: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %Z_where.type.d8a: type = facet_type <@Z, @Z(%S) where %impl.elem0.6c0 = %empty_tuple.type> [symbolic] +// CHECK:STDOUT: %Z.impl_witness.62a: = impl_witness @T.as.Z.impl.e64.%Z.impl_witness_table, @T.as.Z.impl.e64(%T.67d, %S) [symbolic] +// CHECK:STDOUT: %require_complete.310: = require_complete_type %Z_where.type.d8a [symbolic] +// CHECK:STDOUT: %Z.facet.59a: %Z.type.6ef = facet_value %T.67d, (%Z.impl_witness.62a) [symbolic] +// CHECK:STDOUT: %Z.type.2d0: type = facet_type <@Z, @Z(%C)> [concrete] +// CHECK:STDOUT: %.Self.e6c: %Z.type.2d0 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Self.f16: %Z.type.2d0 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Z.assoc_type.8db: type = assoc_entity_type @Z, @Z(%C) [concrete] +// CHECK:STDOUT: %assoc0.f02: %Z.assoc_type.8db = assoc_entity element0, @Z.WithSelf.%X [concrete] +// CHECK:STDOUT: %.Self.as_type.e4e: type = facet_access_type %.Self.e6c [symbolic_self] +// CHECK:STDOUT: %Z.lookup_impl_witness.c21: = lookup_impl_witness %.Self.e6c, @Z, @Z(%C) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.fe4: type = impl_witness_access %Z.lookup_impl_witness.c21, element0 [symbolic_self] +// CHECK:STDOUT: %Z_where.type.346: type = facet_type <@Z, @Z(%C) where %impl.elem0.fe4 = %T.67d> [symbolic] +// CHECK:STDOUT: %Z.impl_witness.61a: = impl_witness @T.as.Z.impl.b90.%Z.impl_witness_table, @T.as.Z.impl.b90(%T.67d) [symbolic] +// CHECK:STDOUT: %require_complete.3d6: = require_complete_type %Z_where.type.346 [symbolic] +// CHECK:STDOUT: %Z.facet.587: %Z.type.2d0 = facet_value %T.67d, (%Z.impl_witness.61a) [symbolic] +// CHECK:STDOUT: %pattern_type.59a: type = pattern_type %Z.type.2d0 [concrete] +// CHECK:STDOUT: %T.196: %Z.type.2d0 = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.196 [symbolic] +// CHECK:STDOUT: %pattern_type.56b: 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.371: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %Z.lookup_impl_witness.64a: = lookup_impl_witness %T.3b9, @Z, @Z(%C) [symbolic] -// CHECK:STDOUT: %impl.elem0.dda: type = impl_witness_access %Z.lookup_impl_witness.64a, element0 [symbolic] -// CHECK:STDOUT: %require_complete.d5f: = require_complete_type %impl.elem0.dda [symbolic] -// CHECK:STDOUT: %pattern_type.657: type = pattern_type %impl.elem0.dda [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %require_complete.c09: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %Z.lookup_impl_witness.34b: = lookup_impl_witness %T.196, @Z, @Z(%C) [symbolic] +// CHECK:STDOUT: %impl.elem0.aaf: type = impl_witness_access %Z.lookup_impl_witness.34b, element0 [symbolic] +// CHECK:STDOUT: %require_complete.11b: = require_complete_type %impl.elem0.aaf [symbolic] +// CHECK:STDOUT: %pattern_type.87f: type = pattern_type %impl.elem0.aaf [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %Dest: type = symbolic_binding Dest, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.0b4: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] -// CHECK:STDOUT: %Self.2dd: %ImplicitAs.type.0b4 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.636: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%Dest) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.7c0: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self.2dd) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.751: %ImplicitAs.WithSelf.Convert.type.7c0 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.857: type = facet_type <@ImplicitAs, @ImplicitAs(%impl.elem0.dda)> [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.fff: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%impl.elem0.dda) [symbolic] -// CHECK:STDOUT: %assoc0.75c: %ImplicitAs.assoc_type.fff = assoc_entity element0, imports.%Core.import_ref.126 [symbolic] -// CHECK:STDOUT: %require_complete.f1f: = require_complete_type %ImplicitAs.type.857 [symbolic] -// CHECK:STDOUT: %assoc0.2bb: %ImplicitAs.assoc_type.636 = assoc_entity element0, imports.%Core.import_ref.c7e [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.6e6: type = facet_type <@ImplicitAs, @ImplicitAs(%Dest)> [symbolic] +// CHECK:STDOUT: %Self.b7e: %ImplicitAs.type.6e6 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.bf1: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%Dest) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c63: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Dest, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.cba: %ImplicitAs.WithSelf.Convert.type.c63 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.ad3: type = facet_type <@ImplicitAs, @ImplicitAs(%impl.elem0.aaf)> [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.09c: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%impl.elem0.aaf) [symbolic] +// CHECK:STDOUT: %assoc0.59a: %ImplicitAs.assoc_type.09c = assoc_entity element0, imports.%Core.import_ref.569 [symbolic] +// CHECK:STDOUT: %require_complete.d79: = require_complete_type %ImplicitAs.type.ad3 [symbolic] +// CHECK:STDOUT: %assoc0.bd2: %ImplicitAs.assoc_type.bf1 = assoc_entity element0, imports.%Core.import_ref.cd5 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -548,10 +548,10 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.afe: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.636) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.2bb)] -// CHECK:STDOUT: %Core.import_ref.126: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.7c0) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.751)] -// CHECK:STDOUT: %Core.import_ref.c7e = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.195: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.bf1) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.bd2)] +// CHECK:STDOUT: %Core.import_ref.569: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.c63) = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.cba)] +// CHECK:STDOUT: %Core.import_ref.cd5 = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -563,7 +563,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: .F = %F.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Z.decl: %Z.type.63e = interface_decl @Z [concrete = constants.%Z.generic] { +// CHECK:STDOUT: %Z.decl: %Z.type.8a6 = interface_decl @Z [concrete = constants.%Z.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc3_17.1: type = splice_block %.loc3_17.2 [concrete = type] { @@ -574,24 +574,24 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } // CHECK:STDOUT: %Y.decl: type = interface_decl @Y [concrete = constants.%Y.type] {} {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: impl_decl @T.as.Z.impl.5b5 [concrete] { +// CHECK:STDOUT: impl_decl @T.as.Z.impl.e64 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %S.patt: %pattern_type.98f = symbolic_binding_pattern S, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc10_15.1 [symbolic = %T.loc10_15.2 (constants.%T.67d)] -// CHECK:STDOUT: %Z.ref: %Z.type.63e = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] +// CHECK:STDOUT: %Z.ref: %Z.type.8a6 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] // CHECK:STDOUT: %S.ref: type = name_ref S, %S.loc10_25.1 [symbolic = %S.loc10_25.2 (constants.%S)] -// CHECK:STDOUT: %Z.type.loc10_42.1: type = facet_type <@Z, @Z(constants.%S)> [symbolic = %Z.type.loc10_42.2 (constants.%Z.type.26c)] -// CHECK:STDOUT: %.Self.loc10_44.1: @T.as.Z.impl.5b5.%Z.type.loc10_42.2 (%Z.type.26c) = symbolic_binding .Self [symbolic = %.Self.loc10_44.2 (constants.%.Self.097)] -// CHECK:STDOUT: %.Self.ref: @T.as.Z.impl.5b5.%Z.type.loc10_42.2 (%Z.type.26c) = name_ref .Self, %.Self.loc10_44.1 [symbolic = %.Self.loc10_44.2 (constants.%.Self.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.da4)] -// 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.da4)] -// CHECK:STDOUT: %.loc10_50.2: @T.as.Z.impl.5b5.%Z.assoc_type (%Z.assoc_type.652) = specific_constant @X.%assoc0, @Z.WithSelf(constants.%S, constants.%.Self.097) [symbolic = %assoc0 (constants.%assoc0.b2d)] -// CHECK:STDOUT: %X.ref: @T.as.Z.impl.5b5.%Z.assoc_type (%Z.assoc_type.652) = name_ref X, %.loc10_50.2 [symbolic = %assoc0 (constants.%assoc0.b2d)] -// CHECK:STDOUT: %impl.elem0.loc10_50.1: type = impl_witness_access constants.%Z.lookup_impl_witness.cc5, element0 [symbolic = %impl.elem0.loc10_50.2 (constants.%impl.elem0.28a)] +// CHECK:STDOUT: %Z.type.loc10_42.1: type = facet_type <@Z, @Z(constants.%S)> [symbolic = %Z.type.loc10_42.2 (constants.%Z.type.6ef)] +// CHECK:STDOUT: %.Self.loc10_44.1: @T.as.Z.impl.e64.%Z.type.loc10_42.2 (%Z.type.6ef) = symbolic_binding .Self [symbolic = %.Self.loc10_44.2 (constants.%.Self.d86)] +// CHECK:STDOUT: %.Self.ref: @T.as.Z.impl.e64.%Z.type.loc10_42.2 (%Z.type.6ef) = name_ref .Self, %.Self.loc10_44.1 [symbolic = %.Self.loc10_44.2 (constants.%.Self.d86)] +// 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.1a7)] +// 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.1a7)] +// CHECK:STDOUT: %.loc10_50.2: @T.as.Z.impl.e64.%Z.assoc_type (%Z.assoc_type.795) = specific_constant @X.%assoc0, @Z.WithSelf(constants.%S, constants.%.Self.d86) [symbolic = %assoc0 (constants.%assoc0.281)] +// CHECK:STDOUT: %X.ref: @T.as.Z.impl.e64.%Z.assoc_type (%Z.assoc_type.795) = name_ref X, %.loc10_50.2 [symbolic = %assoc0 (constants.%assoc0.281)] +// CHECK:STDOUT: %impl.elem0.loc10_50.1: type = impl_witness_access constants.%Z.lookup_impl_witness.18f, element0 [symbolic = %impl.elem0.loc10_50.2 (constants.%impl.elem0.6c0)] // CHECK:STDOUT: %.loc10_56.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc10_56.2: type = converted %.loc10_56.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %.loc10_44: type = where_expr [symbolic = %Z_where.type (constants.%Z_where.type.d85)] { +// CHECK:STDOUT: %.loc10_44: type = where_expr [symbolic = %Z_where.type (constants.%Z_where.type.d8a)] { // CHECK:STDOUT: requirement_base_facet_type %Z.type.loc10_42.1 // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc10_50.1, %.loc10_56.2 // CHECK:STDOUT: } @@ -606,22 +606,22 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } // CHECK:STDOUT: %S.loc10_25.1: type = symbolic_binding S, 1 [symbolic = %S.loc10_25.2 (constants.%S)] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @T.as.Z.impl.cf9 [concrete] { +// CHECK:STDOUT: impl_decl @T.as.Z.impl.b90 [concrete] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref.loc12_24: type = name_ref T, %T.loc12_15.1 [symbolic = %T.loc12_15.2 (constants.%T.67d)] -// CHECK:STDOUT: %Z.ref: %Z.type.63e = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] +// CHECK:STDOUT: %Z.ref: %Z.type.8a6 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(constants.%C)> [concrete = constants.%Z.type.552] -// CHECK:STDOUT: %.Self.loc12_34: %Z.type.552 = symbolic_binding .Self [symbolic_self = constants.%.Self.c9d] -// CHECK:STDOUT: %.Self.ref: %Z.type.552 = name_ref .Self, %.Self.loc12_34 [symbolic_self = constants.%.Self.c9d] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type.074] -// CHECK:STDOUT: %.loc12_40.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type.074] -// CHECK:STDOUT: %.loc12_40.2: %Z.assoc_type.c43 = specific_constant @X.%assoc0, @Z.WithSelf(constants.%C, constants.%.Self.c9d) [concrete = constants.%assoc0.7b6] -// CHECK:STDOUT: %X.ref: %Z.assoc_type.c43 = name_ref X, %.loc12_40.2 [concrete = constants.%assoc0.7b6] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Z.lookup_impl_witness.59d, element0 [symbolic_self = constants.%impl.elem0.8e5] +// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(constants.%C)> [concrete = constants.%Z.type.2d0] +// CHECK:STDOUT: %.Self.loc12_34: %Z.type.2d0 = symbolic_binding .Self [symbolic_self = constants.%.Self.e6c] +// CHECK:STDOUT: %.Self.ref: %Z.type.2d0 = name_ref .Self, %.Self.loc12_34 [symbolic_self = constants.%.Self.e6c] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type.e4e] +// CHECK:STDOUT: %.loc12_40.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type.e4e] +// CHECK:STDOUT: %.loc12_40.2: %Z.assoc_type.8db = specific_constant @X.%assoc0, @Z.WithSelf(constants.%C, constants.%.Self.e6c) [concrete = constants.%assoc0.f02] +// CHECK:STDOUT: %X.ref: %Z.assoc_type.8db = name_ref X, %.loc12_40.2 [concrete = constants.%assoc0.f02] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Z.lookup_impl_witness.c21, element0 [symbolic_self = constants.%impl.elem0.fe4] // CHECK:STDOUT: %T.ref.loc12_45: type = name_ref T, %T.loc12_15.1 [symbolic = %T.loc12_15.2 (constants.%T.67d)] -// CHECK:STDOUT: %.loc12_34: type = where_expr [symbolic = %Z_where.type (constants.%Z_where.type.891)] { +// CHECK:STDOUT: %.loc12_34: type = where_expr [symbolic = %Z_where.type (constants.%Z_where.type.346)] { // CHECK:STDOUT: requirement_base_facet_type %Z.type // CHECK:STDOUT: requirement_rewrite %impl.elem0, %T.ref.loc12_45 // CHECK:STDOUT: } @@ -632,20 +632,20 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %T.loc12_15.1: type = symbolic_binding T, 0 [symbolic = %T.loc12_15.2 (constants.%T.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt: %pattern_type.8ad = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %t.param_patt: @F.%pattern_type.loc14 (%pattern_type.b4a) = value_param_pattern [concrete] -// CHECK:STDOUT: %t.patt: @F.%pattern_type.loc14 (%pattern_type.b4a) = at_binding_pattern t, %t.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.59a = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %t.param_patt: @F.%pattern_type.loc14 (%pattern_type.56b) = value_param_pattern [concrete] +// CHECK:STDOUT: %t.patt: @F.%pattern_type.loc14 (%pattern_type.56b) = at_binding_pattern t, %t.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc14_13: type = splice_block %Z.type [concrete = constants.%Z.type.552] { +// CHECK:STDOUT: %.loc14_13: type = splice_block %Z.type [concrete = constants.%Z.type.2d0] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] -// CHECK:STDOUT: %Z.ref: %Z.type.63e = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] +// CHECK:STDOUT: %Z.ref: %Z.type.8a6 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(constants.%C)> [concrete = constants.%Z.type.552] +// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(constants.%C)> [concrete = constants.%Z.type.2d0] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc14_7.2: %Z.type.552 = symbolic_binding T, 0 [symbolic = %T.loc14_7.1 (constants.%T.3b9)] +// CHECK:STDOUT: %T.loc14_7.2: %Z.type.2d0 = symbolic_binding T, 0 [symbolic = %T.loc14_7.1 (constants.%T.196)] // 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.552 = name_ref T, %T.loc14_7.2 [symbolic = %T.loc14_7.1 (constants.%T.3b9)] +// CHECK:STDOUT: %T.ref.loc14: %Z.type.2d0 = name_ref T, %T.loc14_7.2 [symbolic = %T.loc14_7.1 (constants.%T.196)] // 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: } @@ -657,16 +657,16 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %T.loc3_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc3_14.1 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%T.loc3_14.1)> [symbolic = %Z.type (constants.%Z.type.7c2)] -// CHECK:STDOUT: %Self.loc3_23.2: @Z.%Z.type (%Z.type.7c2) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.75f)] +// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%T.loc3_14.1)> [symbolic = %Z.type (constants.%Z.type.284)] +// CHECK:STDOUT: %Self.loc3_23.2: @Z.%Z.type (%Z.type.284) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.f76)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc3_23.1: @Z.%Z.type (%Z.type.7c2) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.75f)] +// CHECK:STDOUT: %Self.loc3_23.1: @Z.%Z.type (%Z.type.284) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self.f76)] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %X: type = assoc_const_decl @X [concrete] { -// CHECK:STDOUT: %assoc0: @Z.WithSelf.%Z.assoc_type (%Z.assoc_type.d04) = assoc_entity element0, @Z.WithSelf.%X [symbolic = @Z.WithSelf.%assoc0 (constants.%assoc0.a3c)] +// CHECK:STDOUT: %assoc0: @Z.WithSelf.%Z.assoc_type (%Z.assoc_type.e20) = assoc_entity element0, @Z.WithSelf.%X [symbolic = @Z.WithSelf.%assoc0 (constants.%assoc0.5be)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -679,7 +679,7 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Y { -// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = constants.%Self.963] +// CHECK:STDOUT: %Self: %Y.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d9e] // CHECK:STDOUT: %Y.WithSelf.decl = interface_with_self_decl @Y [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -689,26 +689,26 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as.Z.impl.5b5(%T.loc10_15.1: type, %S.loc10_25.1: type) { +// CHECK:STDOUT: generic impl @T.as.Z.impl.e64(%T.loc10_15.1: type, %S.loc10_25.1: type) { // CHECK:STDOUT: %T.loc10_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc10_15.2 (constants.%T.67d)] // CHECK:STDOUT: %S.loc10_25.2: type = symbolic_binding S, 1 [symbolic = %S.loc10_25.2 (constants.%S)] -// 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.26c)] -// CHECK:STDOUT: %.Self.loc10_44.2: @T.as.Z.impl.5b5.%Z.type.loc10_42.2 (%Z.type.26c) = symbolic_binding .Self [symbolic = %.Self.loc10_44.2 (constants.%.Self.097)] -// CHECK:STDOUT: %require_complete.loc10_50: = require_complete_type %Z.type.loc10_42.2 [symbolic = %require_complete.loc10_50 (constants.%require_complete.51f)] -// CHECK:STDOUT: %.Self.as_type.loc10_50.2: type = facet_access_type %.Self.loc10_44.2 [symbolic = %.Self.as_type.loc10_50.2 (constants.%.Self.as_type.da4)] -// CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z, @Z(%S.loc10_25.2) [symbolic = %Z.assoc_type (constants.%Z.assoc_type.652)] -// CHECK:STDOUT: %assoc0: @T.as.Z.impl.5b5.%Z.assoc_type (%Z.assoc_type.652) = assoc_entity element0, @Z.WithSelf.%X [symbolic = %assoc0 (constants.%assoc0.b2d)] -// CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %.Self.loc10_44.2, @Z, @Z(%S.loc10_25.2) [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness.cc5)] -// CHECK:STDOUT: %impl.elem0.loc10_50.2: type = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_50.2 (constants.%impl.elem0.28a)] -// CHECK:STDOUT: %Z_where.type: type = facet_type <@Z, @Z(%S.loc10_25.2) where %impl.elem0.loc10_50.2 = constants.%empty_tuple.type> [symbolic = %Z_where.type (constants.%Z_where.type.d85)] -// CHECK:STDOUT: %Z.impl_witness.loc10_58.2: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.5b5(%T.loc10_15.2, %S.loc10_25.2) [symbolic = %Z.impl_witness.loc10_58.2 (constants.%Z.impl_witness.474)] +// 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.6ef)] +// CHECK:STDOUT: %.Self.loc10_44.2: @T.as.Z.impl.e64.%Z.type.loc10_42.2 (%Z.type.6ef) = symbolic_binding .Self [symbolic = %.Self.loc10_44.2 (constants.%.Self.d86)] +// CHECK:STDOUT: %require_complete.loc10_50: = require_complete_type %Z.type.loc10_42.2 [symbolic = %require_complete.loc10_50 (constants.%require_complete.c80)] +// CHECK:STDOUT: %.Self.as_type.loc10_50.2: type = facet_access_type %.Self.loc10_44.2 [symbolic = %.Self.as_type.loc10_50.2 (constants.%.Self.as_type.1a7)] +// CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z, @Z(%S.loc10_25.2) [symbolic = %Z.assoc_type (constants.%Z.assoc_type.795)] +// CHECK:STDOUT: %assoc0: @T.as.Z.impl.e64.%Z.assoc_type (%Z.assoc_type.795) = assoc_entity element0, @Z.WithSelf.%X [symbolic = %assoc0 (constants.%assoc0.281)] +// CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %.Self.loc10_44.2, @Z, @Z(%S.loc10_25.2) [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness.18f)] +// CHECK:STDOUT: %impl.elem0.loc10_50.2: type = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_50.2 (constants.%impl.elem0.6c0)] +// CHECK:STDOUT: %Z_where.type: type = facet_type <@Z, @Z(%S.loc10_25.2) where %impl.elem0.loc10_50.2 = constants.%empty_tuple.type> [symbolic = %Z_where.type (constants.%Z_where.type.d8a)] +// CHECK:STDOUT: %Z.impl_witness.loc10_58.2: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.e64(%T.loc10_15.2, %S.loc10_25.2) [symbolic = %Z.impl_witness.loc10_58.2 (constants.%Z.impl_witness.62a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc10_44: = require_complete_type %Z_where.type [symbolic = %require_complete.loc10_44 (constants.%require_complete.25e)] +// CHECK:STDOUT: %require_complete.loc10_44: = require_complete_type %Z_where.type [symbolic = %require_complete.loc10_44 (constants.%require_complete.310)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %T.ref as %.loc10_44 { -// CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @T.as.Z.impl.5b5 [concrete] -// CHECK:STDOUT: %Z.impl_witness.loc10_58.1: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.5b5(constants.%T.67d, constants.%S) [symbolic = %Z.impl_witness.loc10_58.2 (constants.%Z.impl_witness.474)] +// CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @T.as.Z.impl.e64 [concrete] +// CHECK:STDOUT: %Z.impl_witness.loc10_58.1: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.e64(constants.%T.67d, constants.%S) [symbolic = %Z.impl_witness.loc10_58.2 (constants.%Z.impl_witness.62a)] // CHECK:STDOUT: %impl_witness_assoc_constant: type = impl_witness_assoc_constant constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -717,17 +717,17 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic impl @T.as.Z.impl.cf9(%T.loc12_15.1: type) { +// CHECK:STDOUT: generic impl @T.as.Z.impl.b90(%T.loc12_15.1: type) { // CHECK:STDOUT: %T.loc12_15.2: type = symbolic_binding T, 0 [symbolic = %T.loc12_15.2 (constants.%T.67d)] -// CHECK:STDOUT: %Z_where.type: type = facet_type <@Z, @Z(constants.%C) where constants.%impl.elem0.8e5 = %T.loc12_15.2> [symbolic = %Z_where.type (constants.%Z_where.type.891)] -// CHECK:STDOUT: %Z.impl_witness.loc12_47.2: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.cf9(%T.loc12_15.2) [symbolic = %Z.impl_witness.loc12_47.2 (constants.%Z.impl_witness.456)] +// CHECK:STDOUT: %Z_where.type: type = facet_type <@Z, @Z(constants.%C) where constants.%impl.elem0.fe4 = %T.loc12_15.2> [symbolic = %Z_where.type (constants.%Z_where.type.346)] +// CHECK:STDOUT: %Z.impl_witness.loc12_47.2: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.b90(%T.loc12_15.2) [symbolic = %Z.impl_witness.loc12_47.2 (constants.%Z.impl_witness.61a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Z_where.type [symbolic = %require_complete (constants.%require_complete.6ee)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Z_where.type [symbolic = %require_complete (constants.%require_complete.3d6)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %T.ref.loc12_24 as %.loc12_34 { -// CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @T.as.Z.impl.cf9 [concrete] -// CHECK:STDOUT: %Z.impl_witness.loc12_47.1: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.cf9(constants.%T.67d) [symbolic = %Z.impl_witness.loc12_47.2 (constants.%Z.impl_witness.456)] +// CHECK:STDOUT: %Z.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @T.as.Z.impl.b90 [concrete] +// CHECK:STDOUT: %Z.impl_witness.loc12_47.1: = impl_witness %Z.impl_witness_table, @T.as.Z.impl.b90(constants.%T.67d) [symbolic = %Z.impl_witness.loc12_47.2 (constants.%Z.impl_witness.61a)] // CHECK:STDOUT: %impl_witness_assoc_constant: type = impl_witness_assoc_constant constants.%T.67d [symbolic = %T.loc12_15.2 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -744,41 +744,41 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: .Self = constants.%C // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc14_7.2: %Z.type.552) { -// CHECK:STDOUT: %T.loc14_7.1: %Z.type.552 = symbolic_binding T, 0 [symbolic = %T.loc14_7.1 (constants.%T.3b9)] +// CHECK:STDOUT: generic fn @F(%T.loc14_7.2: %Z.type.2d0) { +// CHECK:STDOUT: %T.loc14_7.1: %Z.type.2d0 = symbolic_binding T, 0 [symbolic = %T.loc14_7.1 (constants.%T.196)] // 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.b4a)] +// CHECK:STDOUT: %pattern_type.loc14: type = pattern_type %T.as_type.loc14_19.1 [symbolic = %pattern_type.loc14 (constants.%pattern_type.56b)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc14: = require_complete_type %T.as_type.loc14_19.1 [symbolic = %require_complete.loc14 (constants.%require_complete.371)] -// CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %T.loc14_7.1, @Z, @Z(constants.%C) [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness.64a)] -// 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.dda)] -// CHECK:STDOUT: %require_complete.loc22_18: = require_complete_type %impl.elem0.loc22_18.2 [symbolic = %require_complete.loc22_18 (constants.%require_complete.d5f)] -// CHECK:STDOUT: %pattern_type.loc22: type = pattern_type %impl.elem0.loc22_18.2 [symbolic = %pattern_type.loc22 (constants.%pattern_type.657)] -// CHECK:STDOUT: %ImplicitAs.type.loc22_23.2: type = facet_type <@ImplicitAs, @ImplicitAs(%impl.elem0.loc22_18.2)> [symbolic = %ImplicitAs.type.loc22_23.2 (constants.%ImplicitAs.type.857)] -// CHECK:STDOUT: %require_complete.loc22_23: = require_complete_type %ImplicitAs.type.loc22_23.2 [symbolic = %require_complete.loc22_23 (constants.%require_complete.f1f)] -// CHECK:STDOUT: %ImplicitAs.assoc_type: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%impl.elem0.loc22_18.2) [symbolic = %ImplicitAs.assoc_type (constants.%ImplicitAs.assoc_type.fff)] -// CHECK:STDOUT: %assoc0: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.fff) = assoc_entity element0, imports.%Core.import_ref.126 [symbolic = %assoc0 (constants.%assoc0.75c)] +// CHECK:STDOUT: %require_complete.loc14: = require_complete_type %T.as_type.loc14_19.1 [symbolic = %require_complete.loc14 (constants.%require_complete.c09)] +// CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %T.loc14_7.1, @Z, @Z(constants.%C) [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness.34b)] +// 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.aaf)] +// CHECK:STDOUT: %require_complete.loc22_18: = require_complete_type %impl.elem0.loc22_18.2 [symbolic = %require_complete.loc22_18 (constants.%require_complete.11b)] +// CHECK:STDOUT: %pattern_type.loc22: type = pattern_type %impl.elem0.loc22_18.2 [symbolic = %pattern_type.loc22 (constants.%pattern_type.87f)] +// CHECK:STDOUT: %ImplicitAs.type.loc22_23.2: type = facet_type <@ImplicitAs, @ImplicitAs(%impl.elem0.loc22_18.2)> [symbolic = %ImplicitAs.type.loc22_23.2 (constants.%ImplicitAs.type.ad3)] +// CHECK:STDOUT: %require_complete.loc22_23: = require_complete_type %ImplicitAs.type.loc22_23.2 [symbolic = %require_complete.loc22_23 (constants.%require_complete.d79)] +// CHECK:STDOUT: %ImplicitAs.assoc_type: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%impl.elem0.loc22_18.2) [symbolic = %ImplicitAs.assoc_type (constants.%ImplicitAs.assoc_type.09c)] +// CHECK:STDOUT: %assoc0: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.09c) = assoc_entity element0, imports.%Core.import_ref.569 [symbolic = %assoc0 (constants.%assoc0.59a)] // CHECK:STDOUT: // 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.657) = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: @F.%pattern_type.loc22 (%pattern_type.87f) = value_binding_pattern a [concrete] // CHECK:STDOUT: } // 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.dda)] { -// CHECK:STDOUT: %T.ref.loc22: %Z.type.552 = name_ref T, %T.loc14_7.2 [symbolic = %T.loc14_7.1 (constants.%T.3b9)] +// CHECK:STDOUT: %.loc22_18.1: type = splice_block %impl.elem0.loc22_18.1 [symbolic = %impl.elem0.loc22_18.2 (constants.%impl.elem0.aaf)] { +// CHECK:STDOUT: %T.ref.loc22: %Z.type.2d0 = name_ref T, %T.loc14_7.2 [symbolic = %T.loc14_7.1 (constants.%T.196)] // 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.c43 = specific_constant @X.%assoc0, @Z.WithSelf(constants.%C, constants.%T.3b9) [concrete = constants.%assoc0.7b6] -// CHECK:STDOUT: %X.ref: %Z.assoc_type.c43 = name_ref X, %.loc22_18.3 [concrete = constants.%assoc0.7b6] -// CHECK:STDOUT: %impl.elem0.loc22_18.1: type = impl_witness_access constants.%Z.lookup_impl_witness.64a, element0 [symbolic = %impl.elem0.loc22_18.2 (constants.%impl.elem0.dda)] +// CHECK:STDOUT: %.loc22_18.3: %Z.assoc_type.8db = specific_constant @X.%assoc0, @Z.WithSelf(constants.%C, constants.%T.196) [concrete = constants.%assoc0.f02] +// CHECK:STDOUT: %X.ref: %Z.assoc_type.8db = name_ref X, %.loc22_18.3 [concrete = constants.%assoc0.f02] +// CHECK:STDOUT: %impl.elem0.loc22_18.1: type = impl_witness_access constants.%Z.lookup_impl_witness.34b, element0 [symbolic = %impl.elem0.loc22_18.2 (constants.%impl.elem0.aaf)] // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.type.loc22_23.1: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%impl.elem0.dda)> [symbolic = %ImplicitAs.type.loc22_23.2 (constants.%ImplicitAs.type.857)] -// CHECK:STDOUT: %.loc22_23.1: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.fff) = specific_constant imports.%Core.import_ref.afe, @ImplicitAs.WithSelf(constants.%impl.elem0.dda, constants.%Self.2dd) [symbolic = %assoc0 (constants.%assoc0.75c)] -// CHECK:STDOUT: %Convert.ref: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.fff) = name_ref Convert, %.loc22_23.1 [symbolic = %assoc0 (constants.%assoc0.75c)] -// CHECK:STDOUT: %.loc22_23.2: @F.%impl.elem0.loc22_18.2 (%impl.elem0.dda) = converted %t.ref, [concrete = ] -// CHECK:STDOUT: %a: @F.%impl.elem0.loc22_18.2 (%impl.elem0.dda) = value_binding a, [concrete = ] +// CHECK:STDOUT: %ImplicitAs.type.loc22_23.1: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%impl.elem0.aaf)> [symbolic = %ImplicitAs.type.loc22_23.2 (constants.%ImplicitAs.type.ad3)] +// CHECK:STDOUT: %.loc22_23.1: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.09c) = specific_constant imports.%Core.import_ref.195, @ImplicitAs.WithSelf(constants.%impl.elem0.aaf, constants.%Self.b7e) [symbolic = %assoc0 (constants.%assoc0.59a)] +// CHECK:STDOUT: %Convert.ref: @F.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.09c) = name_ref Convert, %.loc22_23.1 [symbolic = %assoc0 (constants.%assoc0.59a)] +// CHECK:STDOUT: %.loc22_23.2: @F.%impl.elem0.loc22_18.2 (%impl.elem0.aaf) = converted %t.ref, [concrete = ] +// CHECK:STDOUT: %a: @F.%impl.elem0.loc22_18.2 (%impl.elem0.aaf) = value_binding a, [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -787,130 +787,130 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %T.loc3_14.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%T.67d, constants.%Self.75f) {} +// CHECK:STDOUT: specific @Z.WithSelf(constants.%T.67d, constants.%Self.f76) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.963) {} +// CHECK:STDOUT: specific @Y.WithSelf(constants.%Self.d9e) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Z(constants.%S) { // CHECK:STDOUT: %T.loc3_14.1 => constants.%S // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Z.type => constants.%Z.type.26c -// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.166 +// CHECK:STDOUT: %Z.type => constants.%Z.type.6ef +// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.d23 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%S, constants.%Self.75f) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%S, constants.%Self.f76) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%S -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.652 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.b2d +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.795 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.281 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%S, constants.%.Self.097) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%S, constants.%.Self.d86) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%S -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.652 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.b2d +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.795 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.281 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as.Z.impl.5b5(constants.%T.67d, constants.%S) { +// CHECK:STDOUT: specific @T.as.Z.impl.e64(constants.%T.67d, constants.%S) { // CHECK:STDOUT: %T.loc10_15.2 => constants.%T.67d // CHECK:STDOUT: %S.loc10_25.2 => constants.%S -// CHECK:STDOUT: %Z.type.loc10_42.2 => constants.%Z.type.26c -// CHECK:STDOUT: %.Self.loc10_44.2 => constants.%.Self.097 -// CHECK:STDOUT: %require_complete.loc10_50 => constants.%require_complete.51f -// CHECK:STDOUT: %.Self.as_type.loc10_50.2 => constants.%.Self.as_type.da4 -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.652 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.b2d -// CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.lookup_impl_witness.cc5 -// CHECK:STDOUT: %impl.elem0.loc10_50.2 => constants.%impl.elem0.28a -// CHECK:STDOUT: %Z_where.type => constants.%Z_where.type.d85 -// CHECK:STDOUT: %Z.impl_witness.loc10_58.2 => constants.%Z.impl_witness.474 +// CHECK:STDOUT: %Z.type.loc10_42.2 => constants.%Z.type.6ef +// CHECK:STDOUT: %.Self.loc10_44.2 => constants.%.Self.d86 +// CHECK:STDOUT: %require_complete.loc10_50 => constants.%require_complete.c80 +// CHECK:STDOUT: %.Self.as_type.loc10_50.2 => constants.%.Self.as_type.1a7 +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.795 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.281 +// CHECK:STDOUT: %Z.lookup_impl_witness => constants.%Z.lookup_impl_witness.18f +// CHECK:STDOUT: %impl.elem0.loc10_50.2 => constants.%impl.elem0.6c0 +// CHECK:STDOUT: %Z_where.type => constants.%Z_where.type.d8a +// CHECK:STDOUT: %Z.impl_witness.loc10_58.2 => constants.%Z.impl_witness.62a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%S, constants.%Z.facet.25f) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%S, constants.%Z.facet.59a) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%S -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.652 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.b2d +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.795 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.281 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z(constants.%C) { // CHECK:STDOUT: %T.loc3_14.1 => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Z.type => constants.%Z.type.552 -// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.fe3 +// CHECK:STDOUT: %Z.type => constants.%Z.type.2d0 +// CHECK:STDOUT: %Self.loc3_23.2 => constants.%Self.f16 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%Self.75f) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%Self.f76) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.c43 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.7b6 +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.8db +// CHECK:STDOUT: %assoc0 => constants.%assoc0.f02 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%.Self.c9d) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%.Self.e6c) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.c43 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.7b6 +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.8db +// CHECK:STDOUT: %assoc0 => constants.%assoc0.f02 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as.Z.impl.cf9(constants.%T.67d) { +// CHECK:STDOUT: specific @T.as.Z.impl.b90(constants.%T.67d) { // CHECK:STDOUT: %T.loc12_15.2 => constants.%T.67d -// CHECK:STDOUT: %Z_where.type => constants.%Z_where.type.891 -// CHECK:STDOUT: %Z.impl_witness.loc12_47.2 => constants.%Z.impl_witness.456 +// CHECK:STDOUT: %Z_where.type => constants.%Z_where.type.346 +// CHECK:STDOUT: %Z.impl_witness.loc12_47.2 => constants.%Z.impl_witness.61a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%Z.facet.f33) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%Z.facet.587) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.c43 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.7b6 +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.8db +// CHECK:STDOUT: %assoc0 => constants.%assoc0.f02 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.3b9) { -// CHECK:STDOUT: %T.loc14_7.1 => constants.%T.3b9 +// CHECK:STDOUT: specific @F(constants.%T.196) { +// CHECK:STDOUT: %T.loc14_7.1 => constants.%T.196 // CHECK:STDOUT: %T.as_type.loc14_19.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.loc14 => constants.%pattern_type.b4a +// CHECK:STDOUT: %pattern_type.loc14 => constants.%pattern_type.56b // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%T.3b9) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%C, constants.%T.196) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.c43 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.7b6 +// CHECK:STDOUT: %Z.assoc_type => constants.%Z.assoc_type.8db +// CHECK:STDOUT: %assoc0 => constants.%assoc0.f02 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- final_impl_rewrite_of_symbolic_through_impl_lookup.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Ptr.type: type = facet_type <@Ptr> [concrete] -// CHECK:STDOUT: %Self.af9: %Ptr.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.ca4: %Ptr.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Ptr.assoc_type: type = assoc_entity_type @Ptr [concrete] -// CHECK:STDOUT: %assoc0.bae: %Ptr.assoc_type = assoc_entity element0, @Ptr.WithSelf.%Type [concrete] +// CHECK:STDOUT: %assoc0.a3d: %Ptr.assoc_type = assoc_entity element0, @Ptr.WithSelf.%Type [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %.Self.27a: %Ptr.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.27a [symbolic_self] -// CHECK:STDOUT: %Ptr.lookup_impl_witness: = lookup_impl_witness %.Self.27a, @Ptr [symbolic_self] -// CHECK:STDOUT: %impl.elem0.bec: type = impl_witness_access %Ptr.lookup_impl_witness, element0 [symbolic_self] +// CHECK:STDOUT: %.Self.332: %Ptr.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.332 [symbolic_self] +// CHECK:STDOUT: %Ptr.lookup_impl_witness: = lookup_impl_witness %.Self.332, @Ptr [symbolic_self] +// CHECK:STDOUT: %impl.elem0.bd8: type = impl_witness_access %Ptr.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %ptr.e8f8f9.1: type = ptr_type %U.67d [symbolic] -// CHECK:STDOUT: %Ptr_where.type.db858b.1: type = facet_type <@Ptr where %impl.elem0.bec = %ptr.e8f8f9.1> [symbolic] -// CHECK:STDOUT: %Ptr.impl_witness.1ce7d1.1: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%U.67d) [symbolic] -// CHECK:STDOUT: %require_complete.6ed583.1: = require_complete_type %Ptr_where.type.db858b.1 [symbolic] -// CHECK:STDOUT: %Ptr.facet.5b883e.1: %Ptr.type = facet_value %U.67d, (%Ptr.impl_witness.1ce7d1.1) [symbolic] +// CHECK:STDOUT: %Ptr_where.type.bb99f8.1: type = facet_type <@Ptr where %impl.elem0.bd8 = %ptr.e8f8f9.1> [symbolic] +// CHECK:STDOUT: %Ptr.impl_witness.1f9b1e.1: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%U.67d) [symbolic] +// CHECK:STDOUT: %require_complete.425ff2.1: = require_complete_type %Ptr_where.type.bb99f8.1 [symbolic] +// CHECK:STDOUT: %Ptr.facet.d63c8c.1: %Ptr.type = facet_value %U.67d, (%Ptr.impl_witness.1f9b1e.1) [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T.67d [symbolic] // CHECK:STDOUT: %ptr.e8f8f9.2: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Ptr_where.type.db858b.2: type = facet_type <@Ptr where %impl.elem0.bec = %ptr.e8f8f9.2> [symbolic] -// CHECK:STDOUT: %Ptr.impl_witness.1ce7d1.2: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %require_complete.6ed583.2: = require_complete_type %Ptr_where.type.db858b.2 [symbolic] -// CHECK:STDOUT: %.964: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Ptr.facet.5b883e.2: %Ptr.type = facet_value %T.67d, (%Ptr.impl_witness.1ce7d1.2) [symbolic] +// CHECK:STDOUT: %Ptr_where.type.bb99f8.2: type = facet_type <@Ptr where %impl.elem0.bd8 = %ptr.e8f8f9.2> [symbolic] +// CHECK:STDOUT: %Ptr.impl_witness.1f9b1e.2: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %require_complete.425ff2.2: = require_complete_type %Ptr_where.type.bb99f8.2 [symbolic] +// CHECK:STDOUT: %.aed: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Ptr.facet.d63c8c.2: %Ptr.type = facet_value %T.67d, (%Ptr.impl_witness.1f9b1e.2) [symbolic] // CHECK:STDOUT: %.cb6: Core.Form = init_form %ptr.e8f8f9.2 [symbolic] // CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %ptr.e8f8f9.2 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] @@ -918,13 +918,13 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67d [symbolic] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f8f9.2 [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.lookup_impl_witness.5be: = lookup_impl_witness %ptr.e8f8f9.2, @Copy [symbolic] -// CHECK:STDOUT: %.546: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e8f8f9.2, (%Copy.lookup_impl_witness.5be) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a8e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] -// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a8e, %Copy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.480: %.86b = impl_witness_access %Copy.lookup_impl_witness.5be, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d1f: = specific_impl_function %impl.elem0.480, @Copy.WithSelf.Op(%Copy.facet) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2bf: = lookup_impl_witness %ptr.e8f8f9.2, @Copy [symbolic] +// CHECK:STDOUT: %.b6a: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.e8f8f9.2, (%Copy.lookup_impl_witness.2bf) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.72b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] +// CHECK:STDOUT: %.39b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72b, %Copy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.8a3: %.39b = impl_witness_access %Copy.lookup_impl_witness.2bf, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a13: = specific_impl_function %impl.elem0.8a3, @Copy.WithSelf.Op(%Copy.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -949,15 +949,15 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } { // CHECK:STDOUT: %U.ref.loc7_30: type = name_ref U, %U.loc7_21.1 [symbolic = %U.loc7_21.2 (constants.%U.67d)] // CHECK:STDOUT: %Ptr.ref: type = name_ref Ptr, file.%Ptr.decl [concrete = constants.%Ptr.type] -// CHECK:STDOUT: %.Self.loc7_39: %Ptr.type = symbolic_binding .Self [symbolic_self = constants.%.Self.27a] -// CHECK:STDOUT: %.Self.ref: %Ptr.type = name_ref .Self, %.Self.loc7_39 [symbolic_self = constants.%.Self.27a] +// CHECK:STDOUT: %.Self.loc7_39: %Ptr.type = symbolic_binding .Self [symbolic_self = constants.%.Self.332] +// CHECK:STDOUT: %.Self.ref: %Ptr.type = name_ref .Self, %.Self.loc7_39 [symbolic_self = constants.%.Self.332] // 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.bae] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Ptr.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.bec] +// CHECK:STDOUT: %Type.ref: %Ptr.assoc_type = name_ref Type, @Type.%assoc0 [concrete = constants.%assoc0.a3d] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Ptr.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.bd8] // CHECK:STDOUT: %U.ref.loc7_53: type = name_ref U, %U.loc7_21.1 [symbolic = %U.loc7_21.2 (constants.%U.67d)] // CHECK:STDOUT: %ptr.loc7_54.1: type = ptr_type %U.ref.loc7_53 [symbolic = %ptr.loc7_54.2 (constants.%ptr.e8f8f9.1)] -// CHECK:STDOUT: %.loc7_39: type = where_expr [symbolic = %Ptr_where.type (constants.%Ptr_where.type.db858b.1)] { +// CHECK:STDOUT: %.loc7_39: type = where_expr [symbolic = %Ptr_where.type (constants.%Ptr_where.type.bb99f8.1)] { // CHECK:STDOUT: requirement_base_facet_type %Ptr.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0, %ptr.loc7_54.1 // CHECK:STDOUT: } @@ -976,10 +976,10 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref.loc9_29: type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.67d)] // CHECK:STDOUT: %Ptr.ref: 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.bae] -// CHECK:STDOUT: %Ptr.facet.loc9_30.2: %Ptr.type = facet_value %T.ref.loc9_29, (constants.%Ptr.impl_witness.1ce7d1.2) [symbolic = %Ptr.facet.loc9_30.1 (constants.%Ptr.facet.5b883e.2)] -// CHECK:STDOUT: %.loc9_30.3: %Ptr.type = converted %T.ref.loc9_29, %Ptr.facet.loc9_30.2 [symbolic = %Ptr.facet.loc9_30.1 (constants.%Ptr.facet.5b883e.2)] -// CHECK:STDOUT: %impl.elem0.loc9: type = impl_witness_access constants.%Ptr.impl_witness.1ce7d1.2, element0 [symbolic = %ptr (constants.%ptr.e8f8f9.2)] +// CHECK:STDOUT: %Type.ref: %Ptr.assoc_type = name_ref Type, @Type.%assoc0 [concrete = constants.%assoc0.a3d] +// CHECK:STDOUT: %Ptr.facet.loc9_30.2: %Ptr.type = facet_value %T.ref.loc9_29, (constants.%Ptr.impl_witness.1f9b1e.2) [symbolic = %Ptr.facet.loc9_30.1 (constants.%Ptr.facet.d63c8c.2)] +// CHECK:STDOUT: %.loc9_30.3: %Ptr.type = converted %T.ref.loc9_29, %Ptr.facet.loc9_30.2 [symbolic = %Ptr.facet.loc9_30.1 (constants.%Ptr.facet.d63c8c.2)] +// CHECK:STDOUT: %impl.elem0.loc9: type = impl_witness_access constants.%Ptr.impl_witness.1f9b1e.2, element0 [symbolic = %ptr (constants.%ptr.e8f8f9.2)] // CHECK:STDOUT: %.loc9_30.4: Core.Form = init_form %impl.elem0.loc9 [symbolic = %.loc9_30.2 (constants.%.cb6)] // CHECK:STDOUT: %.loc9_10.1: type = splice_block %.loc9_10.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] @@ -995,12 +995,12 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Ptr { -// CHECK:STDOUT: %Self: %Ptr.type = symbolic_binding Self, 0 [symbolic = constants.%Self.af9] +// CHECK:STDOUT: %Self: %Ptr.type = symbolic_binding Self, 0 [symbolic = constants.%Self.ca4] // CHECK:STDOUT: %Ptr.WithSelf.decl = interface_with_self_decl @Ptr [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %Type: type = assoc_const_decl @Type [concrete] { -// CHECK:STDOUT: %assoc0: %Ptr.assoc_type = assoc_entity element0, @Ptr.WithSelf.%Type [concrete = constants.%assoc0.bae] +// CHECK:STDOUT: %assoc0: %Ptr.assoc_type = assoc_entity element0, @Ptr.WithSelf.%Type [concrete = constants.%assoc0.a3d] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1014,15 +1014,15 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: generic impl @U.as.Ptr.impl(%U.loc7_21.1: type) { // CHECK:STDOUT: %U.loc7_21.2: type = symbolic_binding U, 0 [symbolic = %U.loc7_21.2 (constants.%U.67d)] // CHECK:STDOUT: %ptr.loc7_54.2: type = ptr_type %U.loc7_21.2 [symbolic = %ptr.loc7_54.2 (constants.%ptr.e8f8f9.1)] -// CHECK:STDOUT: %Ptr_where.type: type = facet_type <@Ptr where constants.%impl.elem0.bec = %ptr.loc7_54.2> [symbolic = %Ptr_where.type (constants.%Ptr_where.type.db858b.1)] -// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2: = impl_witness %Ptr.impl_witness_table, @U.as.Ptr.impl(%U.loc7_21.2) [symbolic = %Ptr.impl_witness.loc7_56.2 (constants.%Ptr.impl_witness.1ce7d1.1)] +// CHECK:STDOUT: %Ptr_where.type: type = facet_type <@Ptr where constants.%impl.elem0.bd8 = %ptr.loc7_54.2> [symbolic = %Ptr_where.type (constants.%Ptr_where.type.bb99f8.1)] +// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2: = impl_witness %Ptr.impl_witness_table, @U.as.Ptr.impl(%U.loc7_21.2) [symbolic = %Ptr.impl_witness.loc7_56.2 (constants.%Ptr.impl_witness.1f9b1e.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Ptr_where.type [symbolic = %require_complete (constants.%require_complete.6ed583.1)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Ptr_where.type [symbolic = %require_complete (constants.%require_complete.425ff2.1)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %U.ref.loc7_30 as %.loc7_39 { // CHECK:STDOUT: %Ptr.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @U.as.Ptr.impl [concrete] -// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.1: = impl_witness %Ptr.impl_witness_table, @U.as.Ptr.impl(constants.%U.67d) [symbolic = %Ptr.impl_witness.loc7_56.2 (constants.%Ptr.impl_witness.1ce7d1.1)] +// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.1: = impl_witness %Ptr.impl_witness_table, @U.as.Ptr.impl(constants.%U.67d) [symbolic = %Ptr.impl_witness.loc7_56.2 (constants.%Ptr.impl_witness.1f9b1e.1)] // CHECK:STDOUT: %impl_witness_assoc_constant: type = impl_witness_assoc_constant constants.%ptr.e8f8f9.1 [symbolic = %ptr.loc7_54.2 (constants.%ptr.e8f8f9.1)] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1034,9 +1034,9 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: generic fn @F(%T.loc9_7.2: type) { // CHECK:STDOUT: %T.loc9_7.1: type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.67d)] // CHECK:STDOUT: %pattern_type.loc9_21: type = pattern_type %T.loc9_7.1 [symbolic = %pattern_type.loc9_21 (constants.%pattern_type.51d)] -// CHECK:STDOUT: %.loc9_30.1: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.loc9_7.1) [symbolic = %.loc9_30.1 (constants.%.964)] -// CHECK:STDOUT: %Ptr.impl_witness: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%T.loc9_7.1) [symbolic = %Ptr.impl_witness (constants.%Ptr.impl_witness.1ce7d1.2)] -// CHECK:STDOUT: %Ptr.facet.loc9_30.1: %Ptr.type = facet_value %T.loc9_7.1, (%Ptr.impl_witness) [symbolic = %Ptr.facet.loc9_30.1 (constants.%Ptr.facet.5b883e.2)] +// CHECK:STDOUT: %.loc9_30.1: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.loc9_7.1) [symbolic = %.loc9_30.1 (constants.%.aed)] +// CHECK:STDOUT: %Ptr.impl_witness: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%T.loc9_7.1) [symbolic = %Ptr.impl_witness (constants.%Ptr.impl_witness.1f9b1e.2)] +// CHECK:STDOUT: %Ptr.facet.loc9_30.1: %Ptr.type = facet_value %T.loc9_7.1, (%Ptr.impl_witness) [symbolic = %Ptr.facet.loc9_30.1 (constants.%Ptr.facet.d63c8c.2)] // CHECK:STDOUT: %ptr: type = ptr_type %T.loc9_7.1 [symbolic = %ptr (constants.%ptr.e8f8f9.2)] // CHECK:STDOUT: %.loc9_30.2: Core.Form = init_form %ptr [symbolic = %.loc9_30.2 (constants.%.cb6)] // CHECK:STDOUT: %pattern_type.loc9_30: type = pattern_type %ptr [symbolic = %pattern_type.loc9_30 (constants.%pattern_type.4f4)] @@ -1044,66 +1044,66 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc9_16: = require_complete_type %T.loc9_7.1 [symbolic = %require_complete.loc9_16 (constants.%require_complete.944)] // CHECK:STDOUT: %require_complete.loc9_26: = require_complete_type %ptr [symbolic = %require_complete.loc9_26 (constants.%require_complete.ef1)] -// CHECK:STDOUT: %.loc10_10.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc9_7.1) [symbolic = %.loc10_10.1 (constants.%.546)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.5be)] +// CHECK:STDOUT: %.loc10_10.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc9_7.1) [symbolic = %.loc10_10.1 (constants.%.b6a)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2bf)] // 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.a8e)] -// CHECK:STDOUT: %.loc10_10.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_10.2 (constants.%.86b)] -// CHECK:STDOUT: %impl.elem0.loc10_10.2: @F.%.loc10_10.2 (%.86b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.480)] -// CHECK:STDOUT: %specific_impl_fn.loc10_10.2: = specific_impl_function %impl.elem0.loc10_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.d1f)] +// 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.72b)] +// CHECK:STDOUT: %.loc10_10.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_10.2 (constants.%.39b)] +// CHECK:STDOUT: %impl.elem0.loc10_10.2: @F.%.loc10_10.2 (%.39b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.8a3)] +// CHECK:STDOUT: %specific_impl_fn.loc10_10.2: = specific_impl_function %impl.elem0.loc10_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%t.param: ref @F.%T.loc9_7.1 (%T.67d)) -> out %return.param: @F.%ptr (%ptr.e8f8f9.2) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %t.ref: ref @F.%T.loc9_7.1 (%T.67d) = name_ref t, %t // CHECK:STDOUT: %addr: @F.%ptr (%ptr.e8f8f9.2) = addr_of %t.ref -// CHECK:STDOUT: %impl.elem0.loc10_10.1: @F.%.loc10_10.2 (%.86b) = impl_witness_access constants.%Copy.lookup_impl_witness.5be, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.480)] +// CHECK:STDOUT: %impl.elem0.loc10_10.1: @F.%.loc10_10.2 (%.39b) = impl_witness_access constants.%Copy.lookup_impl_witness.2bf, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.8a3)] // CHECK:STDOUT: %bound_method.loc10_10.1: = bound_method %addr, %impl.elem0.loc10_10.1 -// CHECK:STDOUT: %specific_impl_fn.loc10_10.1: = 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.d1f)] +// CHECK:STDOUT: %specific_impl_fn.loc10_10.1: = 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.a13)] // CHECK:STDOUT: %bound_method.loc10_10.2: = bound_method %addr, %specific_impl_fn.loc10_10.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr (%ptr.e8f8f9.2) = call %bound_method.loc10_10.2(%addr) // CHECK:STDOUT: return %Copy.WithSelf.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%Self.af9) { +// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%Self.ca4) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%.Self.27a) { +// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%.Self.332) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @U.as.Ptr.impl(constants.%U.67d) { // CHECK:STDOUT: %U.loc7_21.2 => constants.%U.67d // CHECK:STDOUT: %ptr.loc7_54.2 => constants.%ptr.e8f8f9.1 -// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.db858b.1 -// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.1ce7d1.1 +// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.bb99f8.1 +// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.1f9b1e.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%Ptr.facet.5b883e.1) { +// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%Ptr.facet.d63c8c.1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @U.as.Ptr.impl(constants.%T.67d) { // CHECK:STDOUT: %U.loc7_21.2 => constants.%T.67d // CHECK:STDOUT: %ptr.loc7_54.2 => constants.%ptr.e8f8f9.2 -// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.db858b.2 -// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.1ce7d1.2 +// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.bb99f8.2 +// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.1f9b1e.2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.6ed583.2 +// CHECK:STDOUT: %require_complete => constants.%require_complete.425ff2.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%Ptr.facet.5b883e.2) { +// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%Ptr.facet.d63c8c.2) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T.67d) { // CHECK:STDOUT: %T.loc9_7.1 => constants.%T.67d // CHECK:STDOUT: %pattern_type.loc9_21 => constants.%pattern_type.51d -// CHECK:STDOUT: %.loc9_30.1 => constants.%.964 -// CHECK:STDOUT: %Ptr.impl_witness => constants.%Ptr.impl_witness.1ce7d1.2 -// CHECK:STDOUT: %Ptr.facet.loc9_30.1 => constants.%Ptr.facet.5b883e.2 +// CHECK:STDOUT: %.loc9_30.1 => constants.%.aed +// CHECK:STDOUT: %Ptr.impl_witness => constants.%Ptr.impl_witness.1f9b1e.2 +// CHECK:STDOUT: %Ptr.facet.loc9_30.1 => constants.%Ptr.facet.d63c8c.2 // CHECK:STDOUT: %ptr => constants.%ptr.e8f8f9.2 // CHECK:STDOUT: %.loc9_30.2 => constants.%.cb6 // CHECK:STDOUT: %pattern_type.loc9_30 => constants.%pattern_type.4f4 @@ -1113,45 +1113,45 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Ptr.type: type = facet_type <@Ptr> [concrete] -// CHECK:STDOUT: %Self.ff4: %Ptr.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.ca4: %Ptr.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Ptr.assoc_type: type = assoc_entity_type @Ptr [concrete] -// CHECK:STDOUT: %assoc0.6fc: %Ptr.assoc_type = assoc_entity element0, @Ptr.WithSelf.%Type [concrete] +// CHECK:STDOUT: %assoc0.a3d: %Ptr.assoc_type = assoc_entity element0, @Ptr.WithSelf.%Type [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %.Self.705: %Ptr.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.705 [symbolic_self] -// CHECK:STDOUT: %Ptr.lookup_impl_witness: = lookup_impl_witness %.Self.705, @Ptr [symbolic_self] -// CHECK:STDOUT: %impl.elem0.5e0: type = impl_witness_access %Ptr.lookup_impl_witness, element0 [symbolic_self] +// CHECK:STDOUT: %.Self.332: %Ptr.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.332 [symbolic_self] +// CHECK:STDOUT: %Ptr.lookup_impl_witness: = lookup_impl_witness %.Self.332, @Ptr [symbolic_self] +// CHECK:STDOUT: %impl.elem0.bd8: type = impl_witness_access %Ptr.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %ptr.e8f8f9.1: type = ptr_type %U.67d [symbolic] -// CHECK:STDOUT: %Ptr_where.type.4c5: type = facet_type <@Ptr where %impl.elem0.5e0 = %ptr.e8f8f9.1> [symbolic] -// CHECK:STDOUT: %Ptr.impl_witness.072: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%U.67d) [symbolic] -// CHECK:STDOUT: %require_complete.eb4: = require_complete_type %Ptr_where.type.4c5 [symbolic] -// CHECK:STDOUT: %Ptr.facet: %Ptr.type = facet_value %U.67d, (%Ptr.impl_witness.072) [symbolic] -// CHECK:STDOUT: %pattern_type.b89: type = pattern_type %Ptr.type [concrete] -// CHECK:STDOUT: %T.cdf: %Ptr.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.a2c: type = facet_access_type %T.cdf [symbolic] -// CHECK:STDOUT: %pattern_type.e94: type = pattern_type %T.as_type.a2c [symbolic] -// CHECK:STDOUT: %ptr.024: type = ptr_type %T.as_type.a2c [symbolic] -// CHECK:STDOUT: %Ptr_where.type.7cc: type = facet_type <@Ptr where %impl.elem0.5e0 = %ptr.024> [symbolic] -// CHECK:STDOUT: %Ptr.impl_witness.ad4: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%T.as_type.a2c) [symbolic] -// CHECK:STDOUT: %require_complete.300: = require_complete_type %Ptr_where.type.7cc [symbolic] -// CHECK:STDOUT: %.042: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.as_type.a2c) [symbolic] -// CHECK:STDOUT: %.b46: Core.Form = init_form %ptr.024 [symbolic] -// CHECK:STDOUT: %pattern_type.859: type = pattern_type %ptr.024 [symbolic] +// CHECK:STDOUT: %Ptr_where.type.bb9: type = facet_type <@Ptr where %impl.elem0.bd8 = %ptr.e8f8f9.1> [symbolic] +// CHECK:STDOUT: %Ptr.impl_witness.1f9: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%U.67d) [symbolic] +// CHECK:STDOUT: %require_complete.425: = require_complete_type %Ptr_where.type.bb9 [symbolic] +// CHECK:STDOUT: %Ptr.facet: %Ptr.type = facet_value %U.67d, (%Ptr.impl_witness.1f9) [symbolic] +// CHECK:STDOUT: %pattern_type.51e: type = pattern_type %Ptr.type [concrete] +// CHECK:STDOUT: %T.7bc: %Ptr.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.6c8: type = facet_access_type %T.7bc [symbolic] +// CHECK:STDOUT: %pattern_type.256: type = pattern_type %T.as_type.6c8 [symbolic] +// CHECK:STDOUT: %ptr.3c2: type = ptr_type %T.as_type.6c8 [symbolic] +// CHECK:STDOUT: %Ptr_where.type.b07: type = facet_type <@Ptr where %impl.elem0.bd8 = %ptr.3c2> [symbolic] +// CHECK:STDOUT: %Ptr.impl_witness.140: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%T.as_type.6c8) [symbolic] +// CHECK:STDOUT: %require_complete.76a: = require_complete_type %Ptr_where.type.b07 [symbolic] +// CHECK:STDOUT: %.dab: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.as_type.6c8) [symbolic] +// CHECK:STDOUT: %.ed7: Core.Form = init_form %ptr.3c2 [symbolic] +// CHECK:STDOUT: %pattern_type.438: type = pattern_type %ptr.3c2 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.132: = require_complete_type %T.as_type.a2c [symbolic] -// CHECK:STDOUT: %require_complete.4ba: = require_complete_type %ptr.024 [symbolic] +// CHECK:STDOUT: %require_complete.233: = require_complete_type %T.as_type.6c8 [symbolic] +// CHECK:STDOUT: %require_complete.b3d: = require_complete_type %ptr.3c2 [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.lookup_impl_witness.bf9: = lookup_impl_witness %ptr.024, @Copy [symbolic] -// CHECK:STDOUT: %.a88: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type.a2c) [symbolic] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.024, (%Copy.lookup_impl_witness.bf9) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.15c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] -// CHECK:STDOUT: %.c37: type = fn_type_with_self_type %Copy.WithSelf.Op.type.15c, %Copy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.ab0: %.c37 = impl_witness_access %Copy.lookup_impl_witness.bf9, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.1a9: = specific_impl_function %impl.elem0.ab0, @Copy.WithSelf.Op(%Copy.facet) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.3b7: = lookup_impl_witness %ptr.3c2, @Copy [symbolic] +// CHECK:STDOUT: %.4fe: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type.6c8) [symbolic] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.3c2, (%Copy.lookup_impl_witness.3b7) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.666: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] +// CHECK:STDOUT: %.1ab: type = fn_type_with_self_type %Copy.WithSelf.Op.type.666, %Copy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.077: %.1ab = impl_witness_access %Copy.lookup_impl_witness.3b7, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.9fb: = specific_impl_function %impl.elem0.077, @Copy.WithSelf.Op(%Copy.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1176,15 +1176,15 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } { // CHECK:STDOUT: %U.ref.loc7_30: type = name_ref U, %U.loc7_21.1 [symbolic = %U.loc7_21.2 (constants.%U.67d)] // CHECK:STDOUT: %Ptr.ref: type = name_ref Ptr, file.%Ptr.decl [concrete = constants.%Ptr.type] -// CHECK:STDOUT: %.Self.loc7_39: %Ptr.type = symbolic_binding .Self [symbolic_self = constants.%.Self.705] -// CHECK:STDOUT: %.Self.ref: %Ptr.type = name_ref .Self, %.Self.loc7_39 [symbolic_self = constants.%.Self.705] +// CHECK:STDOUT: %.Self.loc7_39: %Ptr.type = symbolic_binding .Self [symbolic_self = constants.%.Self.332] +// CHECK:STDOUT: %.Self.ref: %Ptr.type = name_ref .Self, %.Self.loc7_39 [symbolic_self = constants.%.Self.332] // 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.6fc] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Ptr.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.5e0] +// CHECK:STDOUT: %Type.ref: %Ptr.assoc_type = name_ref Type, @Type.%assoc0 [concrete = constants.%assoc0.a3d] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Ptr.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.bd8] // CHECK:STDOUT: %U.ref.loc7_53: type = name_ref U, %U.loc7_21.1 [symbolic = %U.loc7_21.2 (constants.%U.67d)] // CHECK:STDOUT: %ptr.loc7_54.1: type = ptr_type %U.ref.loc7_53 [symbolic = %ptr.loc7_54.2 (constants.%ptr.e8f8f9.1)] -// CHECK:STDOUT: %.loc7_39: type = where_expr [symbolic = %Ptr_where.type (constants.%Ptr_where.type.4c5)] { +// CHECK:STDOUT: %.loc7_39: type = where_expr [symbolic = %Ptr_where.type (constants.%Ptr_where.type.bb9)] { // CHECK:STDOUT: requirement_base_facet_type %Ptr.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0, %ptr.loc7_54.1 // CHECK:STDOUT: } @@ -1195,42 +1195,42 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %U.loc7_21.1: type = symbolic_binding U, 0 [symbolic = %U.loc7_21.2 (constants.%U.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt: %pattern_type.b89 = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %t.patt: @F.%pattern_type.loc9_20 (%pattern_type.e94) = ref_binding_pattern t [concrete] -// CHECK:STDOUT: %t.param_patt: @F.%pattern_type.loc9_20 (%pattern_type.e94) = var_param_pattern %t.patt [concrete] -// CHECK:STDOUT: %return.param_patt: @F.%pattern_type.loc9_29 (%pattern_type.859) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @F.%pattern_type.loc9_29 (%pattern_type.859) = return_slot_pattern %return.param_patt, %impl.elem0.loc9 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.51e = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %t.patt: @F.%pattern_type.loc9_20 (%pattern_type.256) = ref_binding_pattern t [concrete] +// CHECK:STDOUT: %t.param_patt: @F.%pattern_type.loc9_20 (%pattern_type.256) = var_param_pattern %t.patt [concrete] +// CHECK:STDOUT: %return.param_patt: @F.%pattern_type.loc9_29 (%pattern_type.438) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @F.%pattern_type.loc9_29 (%pattern_type.438) = 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.cdf)] -// 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.a2c)] -// 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.a2c)] -// CHECK:STDOUT: %Type.ref: %Ptr.assoc_type = name_ref Type, @Type.%assoc0 [concrete = constants.%assoc0.6fc] -// CHECK:STDOUT: %impl.elem0.loc9: type = impl_witness_access constants.%Ptr.impl_witness.ad4, element0 [symbolic = %ptr (constants.%ptr.024)] -// CHECK:STDOUT: %.loc9_29.4: Core.Form = init_form %impl.elem0.loc9 [symbolic = %.loc9_29.2 (constants.%.b46)] +// CHECK:STDOUT: %T.ref.loc9_28: %Ptr.type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.7bc)] +// 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.6c8)] +// 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.6c8)] +// CHECK:STDOUT: %Type.ref: %Ptr.assoc_type = name_ref Type, @Type.%assoc0 [concrete = constants.%assoc0.a3d] +// CHECK:STDOUT: %impl.elem0.loc9: type = impl_witness_access constants.%Ptr.impl_witness.140, element0 [symbolic = %ptr (constants.%ptr.3c2)] +// CHECK:STDOUT: %.loc9_29.4: Core.Form = init_form %impl.elem0.loc9 [symbolic = %.loc9_29.2 (constants.%.ed7)] // 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.cdf)] -// CHECK:STDOUT: %t.param: ref @F.%T.as_type.loc9_22.1 (%T.as_type.a2c) = 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.a2c)] { -// CHECK:STDOUT: %T.ref.loc9_22: %Ptr.type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.cdf)] -// 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.a2c)] -// 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.a2c)] +// CHECK:STDOUT: %T.loc9_7.2: %Ptr.type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.7bc)] +// CHECK:STDOUT: %t.param: ref @F.%T.as_type.loc9_22.1 (%T.as_type.6c8) = 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.6c8)] { +// CHECK:STDOUT: %T.ref.loc9_22: %Ptr.type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.7bc)] +// 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.6c8)] +// 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.6c8)] // CHECK:STDOUT: } -// CHECK:STDOUT: %t: ref @F.%T.as_type.loc9_22.1 (%T.as_type.a2c) = ref_binding t, %t.param -// CHECK:STDOUT: %return.param: ref @F.%ptr (%ptr.024) = out_param call_param1 -// CHECK:STDOUT: %return: ref @F.%ptr (%ptr.024) = return_slot %return.param +// CHECK:STDOUT: %t: ref @F.%T.as_type.loc9_22.1 (%T.as_type.6c8) = ref_binding t, %t.param +// CHECK:STDOUT: %return.param: ref @F.%ptr (%ptr.3c2) = out_param call_param1 +// CHECK:STDOUT: %return: ref @F.%ptr (%ptr.3c2) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Ptr { -// CHECK:STDOUT: %Self: %Ptr.type = symbolic_binding Self, 0 [symbolic = constants.%Self.ff4] +// CHECK:STDOUT: %Self: %Ptr.type = symbolic_binding Self, 0 [symbolic = constants.%Self.ca4] // CHECK:STDOUT: %Ptr.WithSelf.decl = interface_with_self_decl @Ptr [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %Type: type = assoc_const_decl @Type [concrete] { -// CHECK:STDOUT: %assoc0: %Ptr.assoc_type = assoc_entity element0, @Ptr.WithSelf.%Type [concrete = constants.%assoc0.6fc] +// CHECK:STDOUT: %assoc0: %Ptr.assoc_type = assoc_entity element0, @Ptr.WithSelf.%Type [concrete = constants.%assoc0.a3d] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1244,15 +1244,15 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: generic impl @U.as.Ptr.impl(%U.loc7_21.1: type) { // CHECK:STDOUT: %U.loc7_21.2: type = symbolic_binding U, 0 [symbolic = %U.loc7_21.2 (constants.%U.67d)] // CHECK:STDOUT: %ptr.loc7_54.2: type = ptr_type %U.loc7_21.2 [symbolic = %ptr.loc7_54.2 (constants.%ptr.e8f8f9.1)] -// CHECK:STDOUT: %Ptr_where.type: type = facet_type <@Ptr where constants.%impl.elem0.5e0 = %ptr.loc7_54.2> [symbolic = %Ptr_where.type (constants.%Ptr_where.type.4c5)] -// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2: = impl_witness %Ptr.impl_witness_table, @U.as.Ptr.impl(%U.loc7_21.2) [symbolic = %Ptr.impl_witness.loc7_56.2 (constants.%Ptr.impl_witness.072)] +// CHECK:STDOUT: %Ptr_where.type: type = facet_type <@Ptr where constants.%impl.elem0.bd8 = %ptr.loc7_54.2> [symbolic = %Ptr_where.type (constants.%Ptr_where.type.bb9)] +// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2: = impl_witness %Ptr.impl_witness_table, @U.as.Ptr.impl(%U.loc7_21.2) [symbolic = %Ptr.impl_witness.loc7_56.2 (constants.%Ptr.impl_witness.1f9)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Ptr_where.type [symbolic = %require_complete (constants.%require_complete.eb4)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Ptr_where.type [symbolic = %require_complete (constants.%require_complete.425)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %U.ref.loc7_30 as %.loc7_39 { // CHECK:STDOUT: %Ptr.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @U.as.Ptr.impl [concrete] -// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.1: = impl_witness %Ptr.impl_witness_table, @U.as.Ptr.impl(constants.%U.67d) [symbolic = %Ptr.impl_witness.loc7_56.2 (constants.%Ptr.impl_witness.072)] +// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.1: = impl_witness %Ptr.impl_witness_table, @U.as.Ptr.impl(constants.%U.67d) [symbolic = %Ptr.impl_witness.loc7_56.2 (constants.%Ptr.impl_witness.1f9)] // CHECK:STDOUT: %impl_witness_assoc_constant: type = impl_witness_assoc_constant constants.%ptr.e8f8f9.1 [symbolic = %ptr.loc7_54.2 (constants.%ptr.e8f8f9.1)] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1262,124 +1262,124 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } // 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.cdf)] -// 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.a2c)] -// CHECK:STDOUT: %pattern_type.loc9_20: type = pattern_type %T.as_type.loc9_22.1 [symbolic = %pattern_type.loc9_20 (constants.%pattern_type.e94)] -// 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.%.042)] -// CHECK:STDOUT: %ptr: type = ptr_type %T.as_type.loc9_22.1 [symbolic = %ptr (constants.%ptr.024)] -// CHECK:STDOUT: %.loc9_29.2: Core.Form = init_form %ptr [symbolic = %.loc9_29.2 (constants.%.b46)] -// CHECK:STDOUT: %pattern_type.loc9_29: type = pattern_type %ptr [symbolic = %pattern_type.loc9_29 (constants.%pattern_type.859)] +// CHECK:STDOUT: %T.loc9_7.1: %Ptr.type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.7bc)] +// 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.6c8)] +// CHECK:STDOUT: %pattern_type.loc9_20: type = pattern_type %T.as_type.loc9_22.1 [symbolic = %pattern_type.loc9_20 (constants.%pattern_type.256)] +// 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.%.dab)] +// CHECK:STDOUT: %ptr: type = ptr_type %T.as_type.loc9_22.1 [symbolic = %ptr (constants.%ptr.3c2)] +// CHECK:STDOUT: %.loc9_29.2: Core.Form = init_form %ptr [symbolic = %.loc9_29.2 (constants.%.ed7)] +// CHECK:STDOUT: %pattern_type.loc9_29: type = pattern_type %ptr [symbolic = %pattern_type.loc9_29 (constants.%pattern_type.438)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc9_15: = require_complete_type %T.as_type.loc9_22.1 [symbolic = %require_complete.loc9_15 (constants.%require_complete.132)] -// CHECK:STDOUT: %require_complete.loc9_25: = require_complete_type %ptr [symbolic = %require_complete.loc9_25 (constants.%require_complete.4ba)] -// 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.%.a88)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.bf9)] +// CHECK:STDOUT: %require_complete.loc9_15: = require_complete_type %T.as_type.loc9_22.1 [symbolic = %require_complete.loc9_15 (constants.%require_complete.233)] +// CHECK:STDOUT: %require_complete.loc9_25: = require_complete_type %ptr [symbolic = %require_complete.loc9_25 (constants.%require_complete.b3d)] +// 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.%.4fe)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.3b7)] // 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.15c)] -// CHECK:STDOUT: %.loc10_10.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_10.2 (constants.%.c37)] -// CHECK:STDOUT: %impl.elem0.loc10_10.2: @F.%.loc10_10.2 (%.c37) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.ab0)] -// CHECK:STDOUT: %specific_impl_fn.loc10_10.2: = specific_impl_function %impl.elem0.loc10_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.1a9)] +// 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.666)] +// CHECK:STDOUT: %.loc10_10.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_10.2 (constants.%.1ab)] +// CHECK:STDOUT: %impl.elem0.loc10_10.2: @F.%.loc10_10.2 (%.1ab) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.077)] +// CHECK:STDOUT: %specific_impl_fn.loc10_10.2: = specific_impl_function %impl.elem0.loc10_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.9fb)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%t.param: ref @F.%T.as_type.loc9_22.1 (%T.as_type.a2c)) -> out %return.param: @F.%ptr (%ptr.024) { +// CHECK:STDOUT: fn(%t.param: ref @F.%T.as_type.loc9_22.1 (%T.as_type.6c8)) -> out %return.param: @F.%ptr (%ptr.3c2) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %t.ref: ref @F.%T.as_type.loc9_22.1 (%T.as_type.a2c) = name_ref t, %t -// CHECK:STDOUT: %addr: @F.%ptr (%ptr.024) = addr_of %t.ref -// CHECK:STDOUT: %impl.elem0.loc10_10.1: @F.%.loc10_10.2 (%.c37) = impl_witness_access constants.%Copy.lookup_impl_witness.bf9, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.ab0)] +// CHECK:STDOUT: %t.ref: ref @F.%T.as_type.loc9_22.1 (%T.as_type.6c8) = name_ref t, %t +// CHECK:STDOUT: %addr: @F.%ptr (%ptr.3c2) = addr_of %t.ref +// CHECK:STDOUT: %impl.elem0.loc10_10.1: @F.%.loc10_10.2 (%.1ab) = impl_witness_access constants.%Copy.lookup_impl_witness.3b7, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.077)] // CHECK:STDOUT: %bound_method.loc10_10.1: = bound_method %addr, %impl.elem0.loc10_10.1 -// CHECK:STDOUT: %specific_impl_fn.loc10_10.1: = 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.1a9)] +// CHECK:STDOUT: %specific_impl_fn.loc10_10.1: = 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.9fb)] // CHECK:STDOUT: %bound_method.loc10_10.2: = bound_method %addr, %specific_impl_fn.loc10_10.1 -// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr (%ptr.024) = call %bound_method.loc10_10.2(%addr) +// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr (%ptr.3c2) = call %bound_method.loc10_10.2(%addr) // CHECK:STDOUT: return %Copy.WithSelf.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%Self.ff4) { +// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%Self.ca4) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%.Self.705) { +// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%.Self.332) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @U.as.Ptr.impl(constants.%U.67d) { // CHECK:STDOUT: %U.loc7_21.2 => constants.%U.67d // CHECK:STDOUT: %ptr.loc7_54.2 => constants.%ptr.e8f8f9.1 -// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.4c5 -// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.072 +// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.bb9 +// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.1f9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Ptr.WithSelf(constants.%Ptr.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%T.cdf) { +// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%T.7bc) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @U.as.Ptr.impl(constants.%T.as_type.a2c) { -// CHECK:STDOUT: %U.loc7_21.2 => constants.%T.as_type.a2c -// CHECK:STDOUT: %ptr.loc7_54.2 => constants.%ptr.024 -// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.7cc -// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.ad4 +// CHECK:STDOUT: specific @U.as.Ptr.impl(constants.%T.as_type.6c8) { +// CHECK:STDOUT: %U.loc7_21.2 => constants.%T.as_type.6c8 +// CHECK:STDOUT: %ptr.loc7_54.2 => constants.%ptr.3c2 +// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.b07 +// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.140 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.300 +// CHECK:STDOUT: %require_complete => constants.%require_complete.76a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.cdf) { -// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.cdf -// CHECK:STDOUT: %T.as_type.loc9_22.1 => constants.%T.as_type.a2c -// CHECK:STDOUT: %pattern_type.loc9_20 => constants.%pattern_type.e94 -// CHECK:STDOUT: %.loc9_29.1 => constants.%.042 -// CHECK:STDOUT: %ptr => constants.%ptr.024 -// CHECK:STDOUT: %.loc9_29.2 => constants.%.b46 -// CHECK:STDOUT: %pattern_type.loc9_29 => constants.%pattern_type.859 +// CHECK:STDOUT: specific @F(constants.%T.7bc) { +// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.7bc +// CHECK:STDOUT: %T.as_type.loc9_22.1 => constants.%T.as_type.6c8 +// CHECK:STDOUT: %pattern_type.loc9_20 => constants.%pattern_type.256 +// CHECK:STDOUT: %.loc9_29.1 => constants.%.dab +// CHECK:STDOUT: %ptr => constants.%ptr.3c2 +// CHECK:STDOUT: %.loc9_29.2 => constants.%.ed7 +// CHECK:STDOUT: %pattern_type.loc9_29 => constants.%pattern_type.438 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- final_impl_rewrite_of_symbolic_through_facet_value.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Ptr.type: type = facet_type <@Ptr> [concrete] -// CHECK:STDOUT: %Self.e67: %Ptr.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.ca4: %Ptr.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Ptr.assoc_type: type = assoc_entity_type @Ptr [concrete] -// CHECK:STDOUT: %assoc0.e23: %Ptr.assoc_type = assoc_entity element0, @Ptr.WithSelf.%Type [concrete] +// CHECK:STDOUT: %assoc0.a3d: %Ptr.assoc_type = assoc_entity element0, @Ptr.WithSelf.%Type [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %.Self.d6e: %Ptr.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.d6e [symbolic_self] -// CHECK:STDOUT: %Ptr.lookup_impl_witness: = lookup_impl_witness %.Self.d6e, @Ptr [symbolic_self] -// CHECK:STDOUT: %impl.elem0.a6a: type = impl_witness_access %Ptr.lookup_impl_witness, element0 [symbolic_self] +// CHECK:STDOUT: %.Self.332: %Ptr.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.332 [symbolic_self] +// CHECK:STDOUT: %Ptr.lookup_impl_witness: = lookup_impl_witness %.Self.332, @Ptr [symbolic_self] +// CHECK:STDOUT: %impl.elem0.bd8: type = impl_witness_access %Ptr.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %ptr.e8f8f9.1: type = ptr_type %U.67d [symbolic] -// CHECK:STDOUT: %Ptr_where.type.9b6: type = facet_type <@Ptr where %impl.elem0.a6a = %ptr.e8f8f9.1> [symbolic] -// CHECK:STDOUT: %Ptr.impl_witness.6a9: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%U.67d) [symbolic] -// CHECK:STDOUT: %require_complete.9d7: = require_complete_type %Ptr_where.type.9b6 [symbolic] -// CHECK:STDOUT: %Ptr.facet: %Ptr.type = facet_value %U.67d, (%Ptr.impl_witness.6a9) [symbolic] -// CHECK:STDOUT: %pattern_type.a5d: type = pattern_type %Ptr.type [concrete] -// CHECK:STDOUT: %T.3ea: %Ptr.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.661: type = facet_access_type %T.3ea [symbolic] -// CHECK:STDOUT: %pattern_type.d16: type = pattern_type %T.as_type.661 [symbolic] -// CHECK:STDOUT: %ptr.7b2: type = ptr_type %T.as_type.661 [symbolic] -// CHECK:STDOUT: %Ptr_where.type.8ec: type = facet_type <@Ptr where %impl.elem0.a6a = %ptr.7b2> [symbolic] -// CHECK:STDOUT: %Ptr.impl_witness.7dc: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%T.as_type.661) [symbolic] -// CHECK:STDOUT: %require_complete.34c: = require_complete_type %Ptr_where.type.8ec [symbolic] -// CHECK:STDOUT: %.633: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.as_type.661) [symbolic] -// CHECK:STDOUT: %.4ba: Core.Form = init_form %ptr.7b2 [symbolic] -// CHECK:STDOUT: %pattern_type.17a: type = pattern_type %ptr.7b2 [symbolic] +// CHECK:STDOUT: %Ptr_where.type.bb9: type = facet_type <@Ptr where %impl.elem0.bd8 = %ptr.e8f8f9.1> [symbolic] +// CHECK:STDOUT: %Ptr.impl_witness.1f9: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%U.67d) [symbolic] +// CHECK:STDOUT: %require_complete.425: = require_complete_type %Ptr_where.type.bb9 [symbolic] +// CHECK:STDOUT: %Ptr.facet: %Ptr.type = facet_value %U.67d, (%Ptr.impl_witness.1f9) [symbolic] +// CHECK:STDOUT: %pattern_type.51e: type = pattern_type %Ptr.type [concrete] +// CHECK:STDOUT: %T.7bc: %Ptr.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.6c8: type = facet_access_type %T.7bc [symbolic] +// CHECK:STDOUT: %pattern_type.256: type = pattern_type %T.as_type.6c8 [symbolic] +// CHECK:STDOUT: %ptr.3c2: type = ptr_type %T.as_type.6c8 [symbolic] +// CHECK:STDOUT: %Ptr_where.type.b07: type = facet_type <@Ptr where %impl.elem0.bd8 = %ptr.3c2> [symbolic] +// CHECK:STDOUT: %Ptr.impl_witness.140: = impl_witness @U.as.Ptr.impl.%Ptr.impl_witness_table, @U.as.Ptr.impl(%T.as_type.6c8) [symbolic] +// CHECK:STDOUT: %require_complete.76a: = require_complete_type %Ptr_where.type.b07 [symbolic] +// CHECK:STDOUT: %.dab: require_specific_def_type = require_specific_def @U.as.Ptr.impl(%T.as_type.6c8) [symbolic] +// CHECK:STDOUT: %.ed7: Core.Form = init_form %ptr.3c2 [symbolic] +// CHECK:STDOUT: %pattern_type.438: type = pattern_type %ptr.3c2 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.140: = require_complete_type %T.as_type.661 [symbolic] -// CHECK:STDOUT: %require_complete.00d: = require_complete_type %ptr.7b2 [symbolic] +// CHECK:STDOUT: %require_complete.233: = require_complete_type %T.as_type.6c8 [symbolic] +// CHECK:STDOUT: %require_complete.b3d: = require_complete_type %ptr.3c2 [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.lookup_impl_witness.be5: = lookup_impl_witness %ptr.7b2, @Copy [symbolic] -// CHECK:STDOUT: %.137: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type.661) [symbolic] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.7b2, (%Copy.lookup_impl_witness.be5) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.363: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] -// CHECK:STDOUT: %.c2e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.363, %Copy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.f51: %.c2e = impl_witness_access %Copy.lookup_impl_witness.be5, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.4e9: = specific_impl_function %impl.elem0.f51, @Copy.WithSelf.Op(%Copy.facet) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.3b7: = lookup_impl_witness %ptr.3c2, @Copy [symbolic] +// CHECK:STDOUT: %.4fe: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.as_type.6c8) [symbolic] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.3c2, (%Copy.lookup_impl_witness.3b7) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.666: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] +// CHECK:STDOUT: %.1ab: type = fn_type_with_self_type %Copy.WithSelf.Op.type.666, %Copy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.077: %.1ab = impl_witness_access %Copy.lookup_impl_witness.3b7, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.9fb: = specific_impl_function %impl.elem0.077, @Copy.WithSelf.Op(%Copy.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1404,15 +1404,15 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } { // CHECK:STDOUT: %U.ref.loc7_30: type = name_ref U, %U.loc7_21.1 [symbolic = %U.loc7_21.2 (constants.%U.67d)] // CHECK:STDOUT: %Ptr.ref: type = name_ref Ptr, file.%Ptr.decl [concrete = constants.%Ptr.type] -// CHECK:STDOUT: %.Self.loc7_39: %Ptr.type = symbolic_binding .Self [symbolic_self = constants.%.Self.d6e] -// CHECK:STDOUT: %.Self.ref: %Ptr.type = name_ref .Self, %.Self.loc7_39 [symbolic_self = constants.%.Self.d6e] +// CHECK:STDOUT: %.Self.loc7_39: %Ptr.type = symbolic_binding .Self [symbolic_self = constants.%.Self.332] +// CHECK:STDOUT: %.Self.ref: %Ptr.type = name_ref .Self, %.Self.loc7_39 [symbolic_self = constants.%.Self.332] // 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.e23] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Ptr.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.a6a] +// CHECK:STDOUT: %Type.ref: %Ptr.assoc_type = name_ref Type, @Type.%assoc0 [concrete = constants.%assoc0.a3d] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Ptr.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0.bd8] // CHECK:STDOUT: %U.ref.loc7_53: type = name_ref U, %U.loc7_21.1 [symbolic = %U.loc7_21.2 (constants.%U.67d)] // CHECK:STDOUT: %ptr.loc7_54.1: type = ptr_type %U.ref.loc7_53 [symbolic = %ptr.loc7_54.2 (constants.%ptr.e8f8f9.1)] -// CHECK:STDOUT: %.loc7_39: type = where_expr [symbolic = %Ptr_where.type (constants.%Ptr_where.type.9b6)] { +// CHECK:STDOUT: %.loc7_39: type = where_expr [symbolic = %Ptr_where.type (constants.%Ptr_where.type.bb9)] { // CHECK:STDOUT: requirement_base_facet_type %Ptr.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0, %ptr.loc7_54.1 // CHECK:STDOUT: } @@ -1423,41 +1423,41 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: %U.loc7_21.1: type = symbolic_binding U, 0 [symbolic = %U.loc7_21.2 (constants.%U.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt: %pattern_type.a5d = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %t.patt: @F.%pattern_type.loc9_20 (%pattern_type.d16) = ref_binding_pattern t [concrete] -// CHECK:STDOUT: %t.param_patt: @F.%pattern_type.loc9_20 (%pattern_type.d16) = var_param_pattern %t.patt [concrete] -// CHECK:STDOUT: %return.param_patt: @F.%pattern_type.loc9_29 (%pattern_type.17a) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @F.%pattern_type.loc9_29 (%pattern_type.17a) = return_slot_pattern %return.param_patt, %impl.elem0.loc9 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.51e = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %t.patt: @F.%pattern_type.loc9_20 (%pattern_type.256) = ref_binding_pattern t [concrete] +// CHECK:STDOUT: %t.param_patt: @F.%pattern_type.loc9_20 (%pattern_type.256) = var_param_pattern %t.patt [concrete] +// CHECK:STDOUT: %return.param_patt: @F.%pattern_type.loc9_29 (%pattern_type.438) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @F.%pattern_type.loc9_29 (%pattern_type.438) = 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.3ea)] +// CHECK:STDOUT: %T.ref.loc9_28: %Ptr.type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.7bc)] // 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.e23] -// CHECK:STDOUT: %impl.elem0.loc9: type = impl_witness_access constants.%Ptr.impl_witness.7dc, element0 [symbolic = %ptr (constants.%ptr.7b2)] -// CHECK:STDOUT: %.loc9_29.3: Core.Form = init_form %impl.elem0.loc9 [symbolic = %.loc9_29.2 (constants.%.4ba)] +// CHECK:STDOUT: %Type.ref: %Ptr.assoc_type = name_ref Type, @Type.%assoc0 [concrete = constants.%assoc0.a3d] +// CHECK:STDOUT: %impl.elem0.loc9: type = impl_witness_access constants.%Ptr.impl_witness.140, element0 [symbolic = %ptr (constants.%ptr.3c2)] +// CHECK:STDOUT: %.loc9_29.3: Core.Form = init_form %impl.elem0.loc9 [symbolic = %.loc9_29.2 (constants.%.ed7)] // 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.3ea)] -// CHECK:STDOUT: %t.param: ref @F.%T.as_type.loc9_22.1 (%T.as_type.661) = 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.661)] { -// CHECK:STDOUT: %T.ref.loc9_22: %Ptr.type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.3ea)] -// 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.661)] -// 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.661)] +// CHECK:STDOUT: %T.loc9_7.2: %Ptr.type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.7bc)] +// CHECK:STDOUT: %t.param: ref @F.%T.as_type.loc9_22.1 (%T.as_type.6c8) = 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.6c8)] { +// CHECK:STDOUT: %T.ref.loc9_22: %Ptr.type = name_ref T, %T.loc9_7.2 [symbolic = %T.loc9_7.1 (constants.%T.7bc)] +// 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.6c8)] +// 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.6c8)] // CHECK:STDOUT: } -// CHECK:STDOUT: %t: ref @F.%T.as_type.loc9_22.1 (%T.as_type.661) = ref_binding t, %t.param -// CHECK:STDOUT: %return.param: ref @F.%ptr (%ptr.7b2) = out_param call_param1 -// CHECK:STDOUT: %return: ref @F.%ptr (%ptr.7b2) = return_slot %return.param +// CHECK:STDOUT: %t: ref @F.%T.as_type.loc9_22.1 (%T.as_type.6c8) = ref_binding t, %t.param +// CHECK:STDOUT: %return.param: ref @F.%ptr (%ptr.3c2) = out_param call_param1 +// CHECK:STDOUT: %return: ref @F.%ptr (%ptr.3c2) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Ptr { -// CHECK:STDOUT: %Self: %Ptr.type = symbolic_binding Self, 0 [symbolic = constants.%Self.e67] +// CHECK:STDOUT: %Self: %Ptr.type = symbolic_binding Self, 0 [symbolic = constants.%Self.ca4] // CHECK:STDOUT: %Ptr.WithSelf.decl = interface_with_self_decl @Ptr [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %Type: type = assoc_const_decl @Type [concrete] { -// CHECK:STDOUT: %assoc0: %Ptr.assoc_type = assoc_entity element0, @Ptr.WithSelf.%Type [concrete = constants.%assoc0.e23] +// CHECK:STDOUT: %assoc0: %Ptr.assoc_type = assoc_entity element0, @Ptr.WithSelf.%Type [concrete = constants.%assoc0.a3d] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1471,15 +1471,15 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: generic impl @U.as.Ptr.impl(%U.loc7_21.1: type) { // CHECK:STDOUT: %U.loc7_21.2: type = symbolic_binding U, 0 [symbolic = %U.loc7_21.2 (constants.%U.67d)] // CHECK:STDOUT: %ptr.loc7_54.2: type = ptr_type %U.loc7_21.2 [symbolic = %ptr.loc7_54.2 (constants.%ptr.e8f8f9.1)] -// CHECK:STDOUT: %Ptr_where.type: type = facet_type <@Ptr where constants.%impl.elem0.a6a = %ptr.loc7_54.2> [symbolic = %Ptr_where.type (constants.%Ptr_where.type.9b6)] -// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2: = impl_witness %Ptr.impl_witness_table, @U.as.Ptr.impl(%U.loc7_21.2) [symbolic = %Ptr.impl_witness.loc7_56.2 (constants.%Ptr.impl_witness.6a9)] +// CHECK:STDOUT: %Ptr_where.type: type = facet_type <@Ptr where constants.%impl.elem0.bd8 = %ptr.loc7_54.2> [symbolic = %Ptr_where.type (constants.%Ptr_where.type.bb9)] +// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2: = impl_witness %Ptr.impl_witness_table, @U.as.Ptr.impl(%U.loc7_21.2) [symbolic = %Ptr.impl_witness.loc7_56.2 (constants.%Ptr.impl_witness.1f9)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %Ptr_where.type [symbolic = %require_complete (constants.%require_complete.9d7)] +// CHECK:STDOUT: %require_complete: = require_complete_type %Ptr_where.type [symbolic = %require_complete (constants.%require_complete.425)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %U.ref.loc7_30 as %.loc7_39 { // CHECK:STDOUT: %Ptr.impl_witness_table = impl_witness_table (%impl_witness_assoc_constant), @U.as.Ptr.impl [concrete] -// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.1: = impl_witness %Ptr.impl_witness_table, @U.as.Ptr.impl(constants.%U.67d) [symbolic = %Ptr.impl_witness.loc7_56.2 (constants.%Ptr.impl_witness.6a9)] +// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.1: = impl_witness %Ptr.impl_witness_table, @U.as.Ptr.impl(constants.%U.67d) [symbolic = %Ptr.impl_witness.loc7_56.2 (constants.%Ptr.impl_witness.1f9)] // CHECK:STDOUT: %impl_witness_assoc_constant: type = impl_witness_assoc_constant constants.%ptr.e8f8f9.1 [symbolic = %ptr.loc7_54.2 (constants.%ptr.e8f8f9.1)] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1489,78 +1489,78 @@ fn F[T:! Ptr](var t: T) -> T.(Ptr.Type) { // CHECK:STDOUT: } // 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.3ea)] -// 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.661)] -// CHECK:STDOUT: %pattern_type.loc9_20: type = pattern_type %T.as_type.loc9_22.1 [symbolic = %pattern_type.loc9_20 (constants.%pattern_type.d16)] -// 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.%.633)] -// CHECK:STDOUT: %ptr: type = ptr_type %T.as_type.loc9_22.1 [symbolic = %ptr (constants.%ptr.7b2)] -// CHECK:STDOUT: %.loc9_29.2: Core.Form = init_form %ptr [symbolic = %.loc9_29.2 (constants.%.4ba)] -// CHECK:STDOUT: %pattern_type.loc9_29: type = pattern_type %ptr [symbolic = %pattern_type.loc9_29 (constants.%pattern_type.17a)] +// CHECK:STDOUT: %T.loc9_7.1: %Ptr.type = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.7bc)] +// 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.6c8)] +// CHECK:STDOUT: %pattern_type.loc9_20: type = pattern_type %T.as_type.loc9_22.1 [symbolic = %pattern_type.loc9_20 (constants.%pattern_type.256)] +// 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.%.dab)] +// CHECK:STDOUT: %ptr: type = ptr_type %T.as_type.loc9_22.1 [symbolic = %ptr (constants.%ptr.3c2)] +// CHECK:STDOUT: %.loc9_29.2: Core.Form = init_form %ptr [symbolic = %.loc9_29.2 (constants.%.ed7)] +// CHECK:STDOUT: %pattern_type.loc9_29: type = pattern_type %ptr [symbolic = %pattern_type.loc9_29 (constants.%pattern_type.438)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc9_15: = require_complete_type %T.as_type.loc9_22.1 [symbolic = %require_complete.loc9_15 (constants.%require_complete.140)] -// CHECK:STDOUT: %require_complete.loc9_25: = require_complete_type %ptr [symbolic = %require_complete.loc9_25 (constants.%require_complete.00d)] -// 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.%.137)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.be5)] +// CHECK:STDOUT: %require_complete.loc9_15: = require_complete_type %T.as_type.loc9_22.1 [symbolic = %require_complete.loc9_15 (constants.%require_complete.233)] +// CHECK:STDOUT: %require_complete.loc9_25: = require_complete_type %ptr [symbolic = %require_complete.loc9_25 (constants.%require_complete.b3d)] +// 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.%.4fe)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.3b7)] // 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.363)] -// CHECK:STDOUT: %.loc10_10.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_10.2 (constants.%.c2e)] -// CHECK:STDOUT: %impl.elem0.loc10_10.2: @F.%.loc10_10.2 (%.c2e) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.f51)] -// CHECK:STDOUT: %specific_impl_fn.loc10_10.2: = specific_impl_function %impl.elem0.loc10_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.4e9)] +// 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.666)] +// CHECK:STDOUT: %.loc10_10.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc10_10.2 (constants.%.1ab)] +// CHECK:STDOUT: %impl.elem0.loc10_10.2: @F.%.loc10_10.2 (%.1ab) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.077)] +// CHECK:STDOUT: %specific_impl_fn.loc10_10.2: = specific_impl_function %impl.elem0.loc10_10.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc10_10.2 (constants.%specific_impl_fn.9fb)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%t.param: ref @F.%T.as_type.loc9_22.1 (%T.as_type.661)) -> out %return.param: @F.%ptr (%ptr.7b2) { +// CHECK:STDOUT: fn(%t.param: ref @F.%T.as_type.loc9_22.1 (%T.as_type.6c8)) -> out %return.param: @F.%ptr (%ptr.3c2) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %t.ref: ref @F.%T.as_type.loc9_22.1 (%T.as_type.661) = name_ref t, %t -// CHECK:STDOUT: %addr: @F.%ptr (%ptr.7b2) = addr_of %t.ref -// CHECK:STDOUT: %impl.elem0.loc10_10.1: @F.%.loc10_10.2 (%.c2e) = impl_witness_access constants.%Copy.lookup_impl_witness.be5, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.f51)] +// CHECK:STDOUT: %t.ref: ref @F.%T.as_type.loc9_22.1 (%T.as_type.6c8) = name_ref t, %t +// CHECK:STDOUT: %addr: @F.%ptr (%ptr.3c2) = addr_of %t.ref +// CHECK:STDOUT: %impl.elem0.loc10_10.1: @F.%.loc10_10.2 (%.1ab) = impl_witness_access constants.%Copy.lookup_impl_witness.3b7, element0 [symbolic = %impl.elem0.loc10_10.2 (constants.%impl.elem0.077)] // CHECK:STDOUT: %bound_method.loc10_10.1: = bound_method %addr, %impl.elem0.loc10_10.1 -// CHECK:STDOUT: %specific_impl_fn.loc10_10.1: = 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.4e9)] +// CHECK:STDOUT: %specific_impl_fn.loc10_10.1: = 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.9fb)] // CHECK:STDOUT: %bound_method.loc10_10.2: = bound_method %addr, %specific_impl_fn.loc10_10.1 -// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr (%ptr.7b2) = call %bound_method.loc10_10.2(%addr) +// CHECK:STDOUT: %Copy.WithSelf.Op.call: init @F.%ptr (%ptr.3c2) = call %bound_method.loc10_10.2(%addr) // CHECK:STDOUT: return %Copy.WithSelf.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%Self.e67) { +// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%Self.ca4) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%.Self.d6e) { +// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%.Self.332) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @U.as.Ptr.impl(constants.%U.67d) { // CHECK:STDOUT: %U.loc7_21.2 => constants.%U.67d // CHECK:STDOUT: %ptr.loc7_54.2 => constants.%ptr.e8f8f9.1 -// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.9b6 -// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.6a9 +// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.bb9 +// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.1f9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Ptr.WithSelf(constants.%Ptr.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @U.as.Ptr.impl(constants.%T.as_type.661) { -// CHECK:STDOUT: %U.loc7_21.2 => constants.%T.as_type.661 -// CHECK:STDOUT: %ptr.loc7_54.2 => constants.%ptr.7b2 -// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.8ec -// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.7dc +// CHECK:STDOUT: specific @U.as.Ptr.impl(constants.%T.as_type.6c8) { +// CHECK:STDOUT: %U.loc7_21.2 => constants.%T.as_type.6c8 +// CHECK:STDOUT: %ptr.loc7_54.2 => constants.%ptr.3c2 +// CHECK:STDOUT: %Ptr_where.type => constants.%Ptr_where.type.b07 +// CHECK:STDOUT: %Ptr.impl_witness.loc7_56.2 => constants.%Ptr.impl_witness.140 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.34c +// CHECK:STDOUT: %require_complete => constants.%require_complete.76a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%T.3ea) { +// CHECK:STDOUT: specific @Ptr.WithSelf(constants.%T.7bc) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.3ea) { -// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.3ea -// CHECK:STDOUT: %T.as_type.loc9_22.1 => constants.%T.as_type.661 -// CHECK:STDOUT: %pattern_type.loc9_20 => constants.%pattern_type.d16 -// CHECK:STDOUT: %.loc9_29.1 => constants.%.633 -// CHECK:STDOUT: %ptr => constants.%ptr.7b2 -// CHECK:STDOUT: %.loc9_29.2 => constants.%.4ba -// CHECK:STDOUT: %pattern_type.loc9_29 => constants.%pattern_type.17a +// CHECK:STDOUT: specific @F(constants.%T.7bc) { +// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.7bc +// CHECK:STDOUT: %T.as_type.loc9_22.1 => constants.%T.as_type.6c8 +// CHECK:STDOUT: %pattern_type.loc9_20 => constants.%pattern_type.256 +// CHECK:STDOUT: %.loc9_29.1 => constants.%.dab +// CHECK:STDOUT: %ptr => constants.%ptr.3c2 +// CHECK:STDOUT: %.loc9_29.2 => constants.%.ed7 +// CHECK:STDOUT: %pattern_type.loc9_29 => constants.%pattern_type.438 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/lookup/specific_args.carbon b/toolchain/check/testdata/impl/lookup/specific_args.carbon index ceb969be82f5..ffd4cc5910ce 100644 --- a/toolchain/check/testdata/impl/lookup/specific_args.carbon +++ b/toolchain/check/testdata/impl/lookup/specific_args.carbon @@ -62,12 +62,12 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.751: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.751 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.834: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self: %I.type.834 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self: %I.type.50f = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.67b: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.eff: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self) [symbolic] // CHECK:STDOUT: %I.WithSelf.F: %I.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I, @I(%T) [symbolic] @@ -86,7 +86,7 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: .C = %C.decl // CHECK:STDOUT: .X = %X.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %I.decl: %I.type.751 = interface_decl @I [concrete = constants.%I.generic] { +// CHECK:STDOUT: %I.decl: %I.type.48c = interface_decl @I [concrete = constants.%I.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_17.1: type = splice_block %.loc4_17.2 [concrete = type] { @@ -111,22 +111,22 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %T.loc4_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc4_14.1)> [symbolic = %I.type (constants.%I.type.834)] -// CHECK:STDOUT: %Self.loc4_23.2: @I.%I.type (%I.type.834) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc4_14.1)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self.loc4_23.2: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_23.1: @I.%I.type (%I.type.834) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc4_23.1: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F)] { -// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.67b) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type (%pattern_type.67b) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.eff) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type (%pattern_type.eff) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @I.WithSelf.F.%Self.as_type.loc4_36.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc4_36.1: type = splice_block %.loc4_36.3 [symbolic = %Self.as_type.loc4_36.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %.loc4_36.2: @I.WithSelf.F.%I.type (%I.type.834) = specific_constant @I.%Self.loc4_23.1, @I(constants.%T) [symbolic = %Self (constants.%Self)] -// CHECK:STDOUT: %Self.ref: @I.WithSelf.F.%I.type (%I.type.834) = name_ref Self, %.loc4_36.2 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %.loc4_36.2: @I.WithSelf.F.%I.type (%I.type.50f) = specific_constant @I.%Self.loc4_23.1, @I(constants.%T) [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %Self.ref: @I.WithSelf.F.%I.type (%I.type.50f) = name_ref Self, %.loc4_36.2 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc4_36.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc4_36.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc4_36.3: type = converted %Self.ref, %Self.as_type.loc4_36.2 [symbolic = %Self.as_type.loc4_36.1 (constants.%Self.as_type)] // CHECK:STDOUT: } @@ -165,12 +165,12 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: .Self = constants.%X // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%T.loc4_14.2: type, @I.%Self.loc4_23.1: @I.%I.type (%I.type.834)) { +// CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%T.loc4_14.2: type, @I.%Self.loc4_23.1: @I.%I.type (%I.type.50f)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.834)] -// CHECK:STDOUT: %Self: @I.WithSelf.F.%I.type (%I.type.834) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.WithSelf.F.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc4_36.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc4_36.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc4_36.1 [symbolic = %pattern_type (constants.%pattern_type.67b)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc4_36.1 [symbolic = %pattern_type (constants.%pattern_type.eff)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @I.WithSelf.F.%Self.as_type.loc4_36.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -183,10 +183,10 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %I.type => constants.%I.type.834 +// CHECK:STDOUT: %I.type => constants.%I.type.50f // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc4_36.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.67b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.eff // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { @@ -200,42 +200,42 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %X: type = class_type @X [concrete] -// CHECK:STDOUT: %I.type.cc2: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.cc2 = struct_value () [concrete] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.658: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.8ab: %I.type.658 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.20e: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self.8ab) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.f1b: %I.WithSelf.F.type.20e = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.8ab [symbolic] -// CHECK:STDOUT: %pattern_type.1b9: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %I.type.9ce: type = facet_type <@I, @I(%InInterfaceArgs)> [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.501: %I.type.50f = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.908: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self.501) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.3ed: %I.WithSelf.F.type.908 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.501 [symbolic] +// CHECK:STDOUT: %pattern_type.dfa: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %I.type.592: type = facet_type <@I, @I(%InInterfaceArgs)> [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @X.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.723: %I.type.9ce = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.399: type = fn_type @I.WithSelf.F, @I.WithSelf(%InInterfaceArgs, %Self.8ab) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.6e5: %I.WithSelf.F.type.399 = struct_value () [symbolic] -// CHECK:STDOUT: %I.assoc_type.26e: type = assoc_entity_type @I, @I(%InInterfaceArgs) [concrete] -// CHECK:STDOUT: %assoc0.102: %I.assoc_type.26e = assoc_entity element0, imports.%Main.import_ref.a02 [concrete] -// CHECK:STDOUT: %pattern_type.4d0: type = pattern_type %X [concrete] +// CHECK:STDOUT: %Self.19f: %I.type.592 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.7e0: type = fn_type @I.WithSelf.F, @I.WithSelf(%InInterfaceArgs, %Self.501) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.3e2: %I.WithSelf.F.type.7e0 = struct_value () [symbolic] +// CHECK:STDOUT: %I.assoc_type.90b: type = assoc_entity_type @I, @I(%InInterfaceArgs) [concrete] +// CHECK:STDOUT: %assoc0.12e: %I.assoc_type.90b = assoc_entity element0, imports.%Main.import_ref.bc7 [concrete] +// CHECK:STDOUT: %pattern_type.7b3: type = pattern_type %X [concrete] // CHECK:STDOUT: %X.as.I.impl.F.type: type = fn_type @X.as.I.impl.F [concrete] // CHECK:STDOUT: %X.as.I.impl.F: %X.as.I.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %I.facet: %I.type.9ce = facet_value %X, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.df8: type = fn_type @I.WithSelf.F, @I.WithSelf(%InInterfaceArgs, %I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.7f3: %I.WithSelf.F.type.df8 = struct_value () [concrete] +// CHECK:STDOUT: %I.facet: %I.type.592 = facet_value %X, (%I.impl_witness) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.d8a: type = fn_type @I.WithSelf.F, @I.WithSelf(%InInterfaceArgs, %I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.413: %I.WithSelf.F.type.d8a = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.I: %I.type.cc2 = import_ref Main//types, I, loaded [concrete = constants.%I.generic] +// CHECK:STDOUT: %Main.I: %I.type.48c = import_ref Main//types, I, loaded [concrete = constants.%I.generic] // CHECK:STDOUT: %Main.C = import_ref Main//types, C, unloaded // CHECK:STDOUT: %Main.X: type = import_ref Main//types, X, loaded [concrete = constants.%X] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//types, loc7_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.bd9 = import_ref Main//types, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.c2c = import_ref Main//types, loc4_43, unloaded -// CHECK:STDOUT: %Main.F: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.20e) = import_ref Main//types, F, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.f1b)] -// CHECK:STDOUT: %Main.import_ref.a02 = import_ref Main//types, loc4_43, unloaded +// CHECK:STDOUT: %Main.import_ref.49e = import_ref Main//types, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.61d = import_ref Main//types, loc4_43, unloaded +// CHECK:STDOUT: %Main.F: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.908) = import_ref Main//types, F, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.3ed)] +// CHECK:STDOUT: %Main.import_ref.bc7 = import_ref Main//types, loc4_43, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//types, loc4_14, loaded [symbolic = @I.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.cd6899.2: @I.%I.type (%I.type.658) = import_ref Main//types, loc4_23, loaded [symbolic = @I.%Self (constants.%Self.8ab)] -// CHECK:STDOUT: %Main.import_ref.fbf = import_ref Main//types, loc4_23, unloaded +// CHECK:STDOUT: %Main.import_ref.8e3e51.2: @I.%I.type (%I.type.50f) = import_ref Main//types, loc4_23, loaded [symbolic = @I.%Self (constants.%Self.501)] +// CHECK:STDOUT: %Main.import_ref.157 = import_ref Main//types, loc4_23, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//types, loc4_14, loaded [symbolic = @I.%T (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -250,9 +250,9 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %InInterfaceArgs.decl: type = class_decl @InInterfaceArgs [concrete = constants.%InInterfaceArgs] {} {} // CHECK:STDOUT: impl_decl @X.as.I.impl [concrete] {} { // CHECK:STDOUT: %X.ref: type = name_ref X, imports.%Main.X [concrete = constants.%X] -// CHECK:STDOUT: %I.ref: %I.type.cc2 = name_ref I, imports.%Main.I [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, imports.%Main.I [concrete = constants.%I.generic] // CHECK:STDOUT: %InInterfaceArgs.ref: type = name_ref InInterfaceArgs, file.%InInterfaceArgs.decl [concrete = constants.%InInterfaceArgs] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%InInterfaceArgs)> [concrete = constants.%I.type.9ce] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%InInterfaceArgs)> [concrete = constants.%I.type.592] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -260,13 +260,13 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.658)] -// CHECK:STDOUT: %Self: @I.%I.type (%I.type.658) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.8ab)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.501)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.fbf -// CHECK:STDOUT: .F = imports.%Main.import_ref.c2c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.157 +// CHECK:STDOUT: .F = imports.%Main.import_ref.61d // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -275,8 +275,8 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: // CHECK:STDOUT: impl @X.as.I.impl: %X.ref as %I.type { // CHECK:STDOUT: %X.as.I.impl.F.decl: %X.as.I.impl.F.type = fn_decl @X.as.I.impl.F [concrete = constants.%X.as.I.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.4d0 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.4d0 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.7b3 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.7b3 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %X = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @X.as.I.impl.%X.ref [concrete = constants.%X] @@ -303,15 +303,15 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.bd9 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.49e // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.cd6899.2: @I.%I.type (%I.type.658)) [from "types.carbon"] { +// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.8e3e51.2: @I.%I.type (%I.type.50f)) [from "types.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.658)] -// CHECK:STDOUT: %Self: @I.WithSelf.F.%I.type (%I.type.658) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.8ab)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.WithSelf.F.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.501)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.1b9)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.dfa)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -325,52 +325,52 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.8ab) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.501) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self.8ab) { +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self.501) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %I.type => constants.%I.type.658 -// CHECK:STDOUT: %Self => constants.%Self.8ab +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self => constants.%Self.501 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.1b9 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.dfa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%InInterfaceArgs) { // CHECK:STDOUT: %T => constants.%InInterfaceArgs // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.9ce -// CHECK:STDOUT: %Self => constants.%Self.723 +// CHECK:STDOUT: %I.type => constants.%I.type.592 +// CHECK:STDOUT: %Self => constants.%Self.19f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%InInterfaceArgs, constants.%Self.8ab) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%InInterfaceArgs, constants.%Self.501) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%InInterfaceArgs -// CHECK:STDOUT: %I.type => constants.%I.type.9ce -// CHECK:STDOUT: %Self => constants.%Self.8ab -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.399 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.6e5 -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.26e -// CHECK:STDOUT: %assoc0 => constants.%assoc0.102 +// CHECK:STDOUT: %I.type => constants.%I.type.592 +// CHECK:STDOUT: %Self => constants.%Self.501 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.7e0 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.3e2 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.90b +// CHECK:STDOUT: %assoc0 => constants.%assoc0.12e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%InInterfaceArgs, constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%InInterfaceArgs -// CHECK:STDOUT: %I.type => constants.%I.type.9ce +// CHECK:STDOUT: %I.type => constants.%I.type.592 // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.df8 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.7f3 -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.26e -// CHECK:STDOUT: %assoc0 => constants.%assoc0.102 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d8a +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.413 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.90b +// CHECK:STDOUT: %assoc0 => constants.%assoc0.12e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%InInterfaceArgs, constants.%I.facet) { // CHECK:STDOUT: %T => constants.%InInterfaceArgs -// CHECK:STDOUT: %I.type => constants.%I.type.9ce +// CHECK:STDOUT: %I.type => constants.%I.type.592 // CHECK:STDOUT: %Self => constants.%I.facet // CHECK:STDOUT: %Self.as_type => constants.%X -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4d0 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.7b3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_impl_in_interface_args.carbon @@ -379,59 +379,59 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.7a4: type = pattern_type %X [concrete] +// CHECK:STDOUT: %pattern_type.7b3: type = pattern_type %X [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %I.type.074: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.074 = struct_value () [concrete] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.718: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.3fc: %I.type.718 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.assoc_type.ba7: type = assoc_entity_type @I, @I(%T) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.ed9: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self.3fc) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.329: %I.WithSelf.F.type.ed9 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.3fc [symbolic] -// CHECK:STDOUT: %pattern_type.6a5: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.501: %I.type.50f = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.assoc_type.bd7: type = assoc_entity_type @I, @I(%T) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.908: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self.501) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.3ed: %I.WithSelf.F.type.908 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.501 [symbolic] +// CHECK:STDOUT: %pattern_type.dfa: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %InInterfaceArgs: type = class_type @InInterfaceArgs [concrete] -// CHECK:STDOUT: %I.type.c68: type = facet_type <@I, @I(%InInterfaceArgs)> [concrete] -// CHECK:STDOUT: %Self.efe: %I.type.c68 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.a8d: type = fn_type @I.WithSelf.F, @I.WithSelf(%InInterfaceArgs, %Self.3fc) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.284: %I.WithSelf.F.type.a8d = struct_value () [symbolic] -// CHECK:STDOUT: %I.assoc_type.0d9: type = assoc_entity_type @I, @I(%InInterfaceArgs) [concrete] -// CHECK:STDOUT: %assoc0.e7a: %I.assoc_type.0d9 = assoc_entity element0, imports.%Main.import_ref.143 [concrete] -// CHECK:STDOUT: %assoc0.b1f: %I.assoc_type.ba7 = assoc_entity element0, imports.%Main.import_ref.a02 [symbolic] +// CHECK:STDOUT: %I.type.592: type = facet_type <@I, @I(%InInterfaceArgs)> [concrete] +// CHECK:STDOUT: %Self.19f: %I.type.592 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.7e0: type = fn_type @I.WithSelf.F, @I.WithSelf(%InInterfaceArgs, %Self.501) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.3e2: %I.WithSelf.F.type.7e0 = struct_value () [symbolic] +// CHECK:STDOUT: %I.assoc_type.90b: type = assoc_entity_type @I, @I(%InInterfaceArgs) [concrete] +// CHECK:STDOUT: %assoc0.845: %I.assoc_type.90b = assoc_entity element0, imports.%Main.import_ref.bb0 [concrete] +// CHECK:STDOUT: %assoc0.80c: %I.assoc_type.bd7 = assoc_entity element0, imports.%Main.import_ref.bc7 [symbolic] // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %I.facet: %I.type.c68 = facet_value %X, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.577: type = fn_type @I.WithSelf.F, @I.WithSelf(%InInterfaceArgs, %I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.3d1: %I.WithSelf.F.type.577 = struct_value () [concrete] -// CHECK:STDOUT: %.bf3: type = fn_type_with_self_type %I.WithSelf.F.type.577, %I.facet [concrete] +// CHECK:STDOUT: %I.facet: %I.type.592 = facet_value %X, (%I.impl_witness) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.586: type = fn_type @I.WithSelf.F, @I.WithSelf(%InInterfaceArgs, %I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.b3d: %I.WithSelf.F.type.586 = struct_value () [concrete] +// CHECK:STDOUT: %.e4a: type = fn_type_with_self_type %I.WithSelf.F.type.586, %I.facet [concrete] // CHECK:STDOUT: %X.as.I.impl.F.type: type = fn_type @X.as.I.impl.F [concrete] // CHECK:STDOUT: %X.as.I.impl.F: %X.as.I.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.I: %I.type.074 = import_ref Main//types, I, loaded [concrete = constants.%I.generic] +// CHECK:STDOUT: %Main.I: %I.type.48c = import_ref Main//types, I, loaded [concrete = constants.%I.generic] // CHECK:STDOUT: %Main.C = import_ref Main//types, C, unloaded // CHECK:STDOUT: %Main.X: type = import_ref Main//types, X, loaded [concrete = constants.%X] // CHECK:STDOUT: %Main.InInterfaceArgs: type = import_ref Main//impl_in_interface_args, InInterfaceArgs, loaded [concrete = constants.%InInterfaceArgs] // CHECK:STDOUT: %Main.import_ref.8f24d3.1: = import_ref Main//types, loc7_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.bd9 = import_ref Main//types, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.e4b: @I.WithSelf.%I.assoc_type (%I.assoc_type.ba7) = import_ref Main//types, loc4_43, loaded [symbolic = @I.WithSelf.%assoc0 (constants.%assoc0.b1f)] +// CHECK:STDOUT: %Main.import_ref.49e = import_ref Main//types, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.28c: @I.WithSelf.%I.assoc_type (%I.assoc_type.bd7) = import_ref Main//types, loc4_43, loaded [symbolic = @I.WithSelf.%assoc0 (constants.%assoc0.80c)] // CHECK:STDOUT: %Main.F = import_ref Main//types, F, unloaded -// CHECK:STDOUT: %Main.import_ref.143: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.ed9) = import_ref Main//types, loc4_43, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.329)] +// CHECK:STDOUT: %Main.import_ref.bb0: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.908) = import_ref Main//types, loc4_43, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.3ed)] // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//types, loc4_14, loaded [symbolic = @I.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.6c3b78.2: @I.%I.type (%I.type.718) = import_ref Main//types, loc4_23, loaded [symbolic = @I.%Self (constants.%Self.3fc)] -// CHECK:STDOUT: %Main.import_ref.fbf = import_ref Main//types, loc4_23, unloaded +// CHECK:STDOUT: %Main.import_ref.8e3e51.2: @I.%I.type (%I.type.50f) = import_ref Main//types, loc4_23, loaded [symbolic = @I.%Self (constants.%Self.501)] +// CHECK:STDOUT: %Main.import_ref.157 = import_ref Main//types, loc4_23, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//types, loc4_14, loaded [symbolic = @I.%T (constants.%T)] // CHECK:STDOUT: %Main.import_ref.8f24d3.2: = import_ref Main//impl_in_interface_args, loc5_24, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.377 = import_ref Main//impl_in_interface_args, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.a02 = import_ref Main//types, loc4_43, unloaded -// CHECK:STDOUT: %Main.import_ref.05a: = import_ref Main//impl_in_interface_args, loc7_30, loaded [concrete = constants.%I.impl_witness] -// CHECK:STDOUT: %Main.import_ref.720: type = import_ref Main//impl_in_interface_args, loc7_6, loaded [concrete = constants.%X] -// CHECK:STDOUT: %Main.import_ref.fe5: type = import_ref Main//impl_in_interface_args, loc7_28, loaded [concrete = constants.%I.type.c68] -// CHECK:STDOUT: %Main.import_ref.80b: %X.as.I.impl.F.type = import_ref Main//impl_in_interface_args, loc7_58, loaded [concrete = constants.%X.as.I.impl.F] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.80b), @X.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.261 = import_ref Main//impl_in_interface_args, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.bc7 = import_ref Main//types, loc4_43, unloaded +// CHECK:STDOUT: %Main.import_ref.908: = import_ref Main//impl_in_interface_args, loc7_30, loaded [concrete = constants.%I.impl_witness] +// CHECK:STDOUT: %Main.import_ref.178: type = import_ref Main//impl_in_interface_args, loc7_6, loaded [concrete = constants.%X] +// CHECK:STDOUT: %Main.import_ref.f0c: type = import_ref Main//impl_in_interface_args, loc7_28, loaded [concrete = constants.%I.type.592] +// CHECK:STDOUT: %Main.import_ref.628: %X.as.I.impl.F.type = import_ref Main//impl_in_interface_args, loc7_58, loaded [concrete = constants.%X.as.I.impl.F] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.628), @X.as.I.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -444,8 +444,8 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.7a4 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.7a4 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.7b3 = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.7b3 = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %x.param: %X = value_param call_param0 // CHECK:STDOUT: %X.ref: type = name_ref X, imports.%Main.X [concrete = constants.%X] @@ -457,58 +457,58 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.718)] -// CHECK:STDOUT: %Self: @I.%I.type (%I.type.718) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.3fc)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.501)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.fbf -// CHECK:STDOUT: .F = imports.%Main.import_ref.e4b +// CHECK:STDOUT: .Self = imports.%Main.import_ref.157 +// CHECK:STDOUT: .F = imports.%Main.import_ref.28c // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @X.as.I.impl: imports.%Main.import_ref.720 as imports.%Main.import_ref.fe5 [from "impl_in_interface_args.carbon"] { +// CHECK:STDOUT: impl @X.as.I.impl: imports.%Main.import_ref.178 as imports.%Main.import_ref.f0c [from "impl_in_interface_args.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.05a +// CHECK:STDOUT: witness = imports.%Main.import_ref.908 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @X [from "types.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.bd9 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.49e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @InInterfaceArgs [from "impl_in_interface_args.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.377 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.261 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G(%x.param: %X) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: %X = name_ref x, %x -// CHECK:STDOUT: %I.ref: %I.type.074 = name_ref I, imports.%Main.I [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, imports.%Main.I [concrete = constants.%I.generic] // CHECK:STDOUT: %InInterfaceArgs.ref: type = name_ref InInterfaceArgs, imports.%Main.InInterfaceArgs [concrete = constants.%InInterfaceArgs] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%InInterfaceArgs)> [concrete = constants.%I.type.c68] -// CHECK:STDOUT: %.loc6: %I.assoc_type.0d9 = specific_constant imports.%Main.import_ref.e4b, @I.WithSelf(constants.%InInterfaceArgs, constants.%Self.3fc) [concrete = constants.%assoc0.e7a] -// CHECK:STDOUT: %F.ref: %I.assoc_type.0d9 = name_ref F, %.loc6 [concrete = constants.%assoc0.e7a] -// CHECK:STDOUT: %impl.elem0: %.bf3 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%X.as.I.impl.F] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%InInterfaceArgs)> [concrete = constants.%I.type.592] +// CHECK:STDOUT: %.loc6: %I.assoc_type.90b = specific_constant imports.%Main.import_ref.28c, @I.WithSelf(constants.%InInterfaceArgs, constants.%Self.501) [concrete = constants.%assoc0.845] +// CHECK:STDOUT: %F.ref: %I.assoc_type.90b = name_ref F, %.loc6 [concrete = constants.%assoc0.845] +// CHECK:STDOUT: %impl.elem0: %.e4a = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%X.as.I.impl.F] // CHECK:STDOUT: %bound_method: = bound_method %x.ref, %impl.elem0 // CHECK:STDOUT: %X.as.I.impl.F.call: init %empty_tuple.type = call %bound_method(%x.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.6c3b78.2: @I.%I.type (%I.type.718)) [from "types.carbon"] { +// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.8e3e51.2: @I.%I.type (%I.type.50f)) [from "types.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.718)] -// CHECK:STDOUT: %Self: @I.WithSelf.F.%I.type (%I.type.718) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.3fc)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.WithSelf.F.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.501)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.6a5)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.dfa)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -519,44 +519,44 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.3fc) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.501) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self.3fc) { +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self.501) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %I.type => constants.%I.type.718 -// CHECK:STDOUT: %Self => constants.%Self.3fc +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self => constants.%Self.501 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.6a5 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.dfa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%InInterfaceArgs) { // CHECK:STDOUT: %T => constants.%InInterfaceArgs // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.c68 -// CHECK:STDOUT: %Self => constants.%Self.efe +// CHECK:STDOUT: %I.type => constants.%I.type.592 +// CHECK:STDOUT: %Self => constants.%Self.19f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%InInterfaceArgs, constants.%Self.3fc) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%InInterfaceArgs, constants.%Self.501) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%InInterfaceArgs -// CHECK:STDOUT: %I.type => constants.%I.type.c68 -// CHECK:STDOUT: %Self => constants.%Self.3fc -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a8d -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.284 -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.0d9 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.e7a +// CHECK:STDOUT: %I.type => constants.%I.type.592 +// CHECK:STDOUT: %Self => constants.%Self.501 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.7e0 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.3e2 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.90b +// CHECK:STDOUT: %assoc0 => constants.%assoc0.845 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%InInterfaceArgs, constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%InInterfaceArgs -// CHECK:STDOUT: %I.type => constants.%I.type.c68 +// CHECK:STDOUT: %I.type => constants.%I.type.592 // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.577 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.3d1 -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.0d9 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.e7a +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.586 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.b3d +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.90b +// CHECK:STDOUT: %assoc0 => constants.%assoc0.845 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- impl_in_class_args.carbon @@ -568,47 +568,47 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %C.1c7: type = class_type @C, @C(%InClassArgs) [concrete] -// CHECK:STDOUT: %I.type.55c: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.55c = struct_value () [concrete] -// CHECK:STDOUT: %I.type.5e0: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.d99: %I.type.5e0 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.415: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self.d99) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.346: %I.WithSelf.F.type.415 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.d99 [symbolic] -// CHECK:STDOUT: %pattern_type.497: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %C.a67: type = class_type @C, @C(%InClassArgs) [concrete] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.501: %I.type.50f = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.908: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self.501) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.3ed: %I.WithSelf.F.type.908 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.501 [symbolic] +// CHECK:STDOUT: %pattern_type.dfa: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %X: type = class_type @X [concrete] -// CHECK:STDOUT: %I.type.9ef: type = facet_type <@I, @I(%X)> [concrete] +// CHECK:STDOUT: %I.type.4fc: type = facet_type <@I, @I(%X)> [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.a4e: %I.type.9ef = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.739: type = fn_type @I.WithSelf.F, @I.WithSelf(%X, %Self.d99) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.427: %I.WithSelf.F.type.739 = struct_value () [symbolic] -// CHECK:STDOUT: %I.assoc_type.24d: type = assoc_entity_type @I, @I(%X) [concrete] -// CHECK:STDOUT: %assoc0.4f0: %I.assoc_type.24d = assoc_entity element0, imports.%Main.import_ref.a02 [concrete] -// CHECK:STDOUT: %pattern_type.7bf: type = pattern_type %C.1c7 [concrete] +// CHECK:STDOUT: %Self.882: %I.type.4fc = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.cd7: type = fn_type @I.WithSelf.F, @I.WithSelf(%X, %Self.501) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.239: %I.WithSelf.F.type.cd7 = struct_value () [symbolic] +// CHECK:STDOUT: %I.assoc_type.304: type = assoc_entity_type @I, @I(%X) [concrete] +// CHECK:STDOUT: %assoc0.86d: %I.assoc_type.304 = assoc_entity element0, imports.%Main.import_ref.bc7 [concrete] +// CHECK:STDOUT: %pattern_type.f7b: type = pattern_type %C.a67 [concrete] // CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F [concrete] // CHECK:STDOUT: %C.as.I.impl.F: %C.as.I.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %I.facet: %I.type.9ef = facet_value %C.1c7, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.95f: type = fn_type @I.WithSelf.F, @I.WithSelf(%X, %I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.468: %I.WithSelf.F.type.95f = struct_value () [concrete] +// CHECK:STDOUT: %I.facet: %I.type.4fc = facet_value %C.a67, (%I.impl_witness) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.f64: type = fn_type @I.WithSelf.F, @I.WithSelf(%X, %I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.807: %I.WithSelf.F.type.f64 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.I: %I.type.55c = import_ref Main//types, I, loaded [concrete = constants.%I.generic] +// CHECK:STDOUT: %Main.I: %I.type.48c = import_ref Main//types, I, loaded [concrete = constants.%I.generic] // CHECK:STDOUT: %Main.C: %C.type = import_ref Main//types, C, loaded [concrete = constants.%C.generic] // CHECK:STDOUT: %Main.X: type = import_ref Main//types, X, loaded [concrete = constants.%X] // CHECK:STDOUT: %Main.import_ref.8f24d3.1: = import_ref Main//types, loc5_20, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.998 = import_ref Main//types, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.6a5 = import_ref Main//types, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.1: type = import_ref Main//types, loc5_10, loaded [symbolic = @C.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.c2c = import_ref Main//types, loc4_43, unloaded -// CHECK:STDOUT: %Main.F: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.415) = import_ref Main//types, F, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.346)] -// CHECK:STDOUT: %Main.import_ref.a02 = import_ref Main//types, loc4_43, unloaded +// CHECK:STDOUT: %Main.import_ref.61d = import_ref Main//types, loc4_43, unloaded +// CHECK:STDOUT: %Main.F: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.908) = import_ref Main//types, F, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.3ed)] +// CHECK:STDOUT: %Main.import_ref.bc7 = import_ref Main//types, loc4_43, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//types, loc4_14, loaded [symbolic = @I.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.878b50.2: @I.%I.type (%I.type.5e0) = import_ref Main//types, loc4_23, loaded [symbolic = @I.%Self (constants.%Self.d99)] -// CHECK:STDOUT: %Main.import_ref.fbf = import_ref Main//types, loc4_23, unloaded +// CHECK:STDOUT: %Main.import_ref.8e3e51.2: @I.%I.type (%I.type.50f) = import_ref Main//types, loc4_23, loaded [symbolic = @I.%Self (constants.%Self.501)] +// CHECK:STDOUT: %Main.import_ref.157 = import_ref Main//types, loc4_23, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.4: type = import_ref Main//types, loc4_14, loaded [symbolic = @I.%T (constants.%T)] // CHECK:STDOUT: %Main.import_ref.8f24d3.2: = import_ref Main//types, loc7_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.bd9 = import_ref Main//types, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.49e = import_ref Main//types, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -623,10 +623,10 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: impl_decl @C.as.I.impl [concrete] {} { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Main.C [concrete = constants.%C.generic] // CHECK:STDOUT: %InClassArgs.ref: type = name_ref InClassArgs, file.%InClassArgs.decl [concrete = constants.%InClassArgs] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%InClassArgs) [concrete = constants.%C.1c7] -// CHECK:STDOUT: %I.ref: %I.type.55c = name_ref I, imports.%Main.I [concrete = constants.%I.generic] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%InClassArgs) [concrete = constants.%C.a67] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, imports.%Main.I [concrete = constants.%I.generic] // CHECK:STDOUT: %X.ref: type = name_ref X, imports.%Main.X [concrete = constants.%X] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%X)> [concrete = constants.%I.type.9ef] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%X)> [concrete = constants.%I.type.4fc] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -634,13 +634,13 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.5e0)] -// CHECK:STDOUT: %Self: @I.%I.type (%I.type.5e0) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.d99)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.501)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.fbf -// CHECK:STDOUT: .F = imports.%Main.import_ref.c2c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.157 +// CHECK:STDOUT: .F = imports.%Main.import_ref.61d // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -649,12 +649,12 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C as %I.type { // CHECK:STDOUT: %C.as.I.impl.F.decl: %C.as.I.impl.F.type = fn_decl @C.as.I.impl.F [concrete = constants.%C.as.I.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.7bf = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.7bf = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.f7b = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.f7b = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: %C.1c7 = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.I.impl.%C [concrete = constants.%C.1c7] -// CHECK:STDOUT: %self: %C.1c7 = value_binding self, %self.param +// CHECK:STDOUT: %self.param: %C.a67 = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.I.impl.%C [concrete = constants.%C.a67] +// CHECK:STDOUT: %self: %C.a67 = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%C.as.I.impl.F.decl), @C.as.I.impl [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness %I.impl_witness_table [concrete = constants.%I.impl_witness] @@ -682,7 +682,7 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.998 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.6a5 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -690,20 +690,20 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.bd9 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.49e // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.b3bc94.3: type, imports.%Main.import_ref.878b50.2: @I.%I.type (%I.type.5e0)) [from "types.carbon"] { +// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.b3bc94.3: type, imports.%Main.import_ref.8e3e51.2: @I.%I.type (%I.type.50f)) [from "types.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.5e0)] -// CHECK:STDOUT: %Self: @I.WithSelf.F.%I.type (%I.type.5e0) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.d99)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.WithSelf.F.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.501)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.497)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.dfa)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.I.impl.F(%self.param: %C.1c7) { +// CHECK:STDOUT: fn @C.as.I.impl.F(%self.param: %C.a67) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -722,52 +722,52 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.d99) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.501) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self.d99) { +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self.501) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %I.type => constants.%I.type.5e0 -// CHECK:STDOUT: %Self => constants.%Self.d99 +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self => constants.%Self.501 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.497 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.dfa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%X) { // CHECK:STDOUT: %T => constants.%X // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.9ef -// CHECK:STDOUT: %Self => constants.%Self.a4e +// CHECK:STDOUT: %I.type => constants.%I.type.4fc +// CHECK:STDOUT: %Self => constants.%Self.882 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%X, constants.%Self.d99) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%X, constants.%Self.501) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %I.type => constants.%I.type.9ef -// CHECK:STDOUT: %Self => constants.%Self.d99 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.739 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.427 -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.24d -// CHECK:STDOUT: %assoc0 => constants.%assoc0.4f0 +// CHECK:STDOUT: %I.type => constants.%I.type.4fc +// CHECK:STDOUT: %Self => constants.%Self.501 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.cd7 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.239 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.304 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.86d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%X, constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %I.type => constants.%I.type.9ef +// CHECK:STDOUT: %I.type => constants.%I.type.4fc // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.95f -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.468 -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.24d -// CHECK:STDOUT: %assoc0 => constants.%assoc0.4f0 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.f64 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.807 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.304 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.86d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%X, constants.%I.facet) { // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %I.type => constants.%I.type.9ef +// CHECK:STDOUT: %I.type => constants.%I.type.4fc // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %Self.as_type => constants.%C.1c7 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.7bf +// CHECK:STDOUT: %Self.as_type => constants.%C.a67 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f7b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_impl_in_class_args.carbon @@ -780,61 +780,61 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %InClassArgs: type = class_type @InClassArgs [concrete] -// CHECK:STDOUT: %C.6d9: type = class_type @C, @C(%InClassArgs) [concrete] -// CHECK:STDOUT: %pattern_type.207: type = pattern_type %C.6d9 [concrete] +// CHECK:STDOUT: %C.a67: type = class_type @C, @C(%InClassArgs) [concrete] +// CHECK:STDOUT: %pattern_type.f7b: type = pattern_type %C.a67 [concrete] // CHECK:STDOUT: %H.type: type = fn_type @H [concrete] // CHECK:STDOUT: %H: %H.type = struct_value () [concrete] -// CHECK:STDOUT: %I.type.571: type = generic_interface_type @I [concrete] -// CHECK:STDOUT: %I.generic: %I.type.571 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.2f8: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.c54: %I.type.2f8 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.assoc_type.da6: type = assoc_entity_type @I, @I(%T) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.cba: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self.c54) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.c14: %I.WithSelf.F.type.cba = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.c54 [symbolic] -// CHECK:STDOUT: %pattern_type.77d: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.501: %I.type.50f = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.assoc_type.bd7: type = assoc_entity_type @I, @I(%T) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.908: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self.501) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.3ed: %I.WithSelf.F.type.908 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.501 [symbolic] +// CHECK:STDOUT: %pattern_type.dfa: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %X: type = class_type @X [concrete] -// CHECK:STDOUT: %I.type.117: type = facet_type <@I, @I(%X)> [concrete] -// CHECK:STDOUT: %Self.da3: %I.type.117 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.d5e: type = fn_type @I.WithSelf.F, @I.WithSelf(%X, %Self.c54) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.49f: %I.WithSelf.F.type.d5e = struct_value () [symbolic] -// CHECK:STDOUT: %I.assoc_type.1e2: type = assoc_entity_type @I, @I(%X) [concrete] -// CHECK:STDOUT: %assoc0.81d: %I.assoc_type.1e2 = assoc_entity element0, imports.%Main.import_ref.479 [concrete] -// CHECK:STDOUT: %assoc0.085: %I.assoc_type.da6 = assoc_entity element0, imports.%Main.import_ref.a02 [symbolic] +// CHECK:STDOUT: %I.type.4fc: type = facet_type <@I, @I(%X)> [concrete] +// CHECK:STDOUT: %Self.882: %I.type.4fc = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.cd7: type = fn_type @I.WithSelf.F, @I.WithSelf(%X, %Self.501) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.239: %I.WithSelf.F.type.cd7 = struct_value () [symbolic] +// CHECK:STDOUT: %I.assoc_type.304: type = assoc_entity_type @I, @I(%X) [concrete] +// CHECK:STDOUT: %assoc0.629: %I.assoc_type.304 = assoc_entity element0, imports.%Main.import_ref.bb0 [concrete] +// CHECK:STDOUT: %assoc0.80c: %I.assoc_type.bd7 = assoc_entity element0, imports.%Main.import_ref.bc7 [symbolic] // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %I.facet: %I.type.117 = facet_value %C.6d9, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.35f: type = fn_type @I.WithSelf.F, @I.WithSelf(%X, %I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.933: %I.WithSelf.F.type.35f = struct_value () [concrete] -// CHECK:STDOUT: %.5cf: type = fn_type_with_self_type %I.WithSelf.F.type.35f, %I.facet [concrete] +// CHECK:STDOUT: %I.facet: %I.type.4fc = facet_value %C.a67, (%I.impl_witness) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.8dd: type = fn_type @I.WithSelf.F, @I.WithSelf(%X, %I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.b11: %I.WithSelf.F.type.8dd = struct_value () [concrete] +// CHECK:STDOUT: %.3f0: type = fn_type_with_self_type %I.WithSelf.F.type.8dd, %I.facet [concrete] // CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F [concrete] // CHECK:STDOUT: %C.as.I.impl.F: %C.as.I.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.I: %I.type.571 = import_ref Main//types, I, loaded [concrete = constants.%I.generic] +// CHECK:STDOUT: %Main.I: %I.type.48c = import_ref Main//types, I, loaded [concrete = constants.%I.generic] // CHECK:STDOUT: %Main.C: %C.type = import_ref Main//types, C, loaded [concrete = constants.%C.generic] // CHECK:STDOUT: %Main.X: type = import_ref Main//types, X, loaded [concrete = constants.%X] // CHECK:STDOUT: %Main.InClassArgs: type = import_ref Main//impl_in_class_args, InClassArgs, loaded [concrete = constants.%InClassArgs] // CHECK:STDOUT: %Main.import_ref.8f24d3.1: = import_ref Main//types, loc5_20, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.998 = import_ref Main//types, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.6a5 = import_ref Main//types, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.1: type = import_ref Main//types, loc5_10, loaded [symbolic = @C.%T (constants.%T)] // CHECK:STDOUT: %Main.import_ref.8f24d3.2: = import_ref Main//impl_in_class_args, loc5_20, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.a93 = import_ref Main//impl_in_class_args, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.c19: @I.WithSelf.%I.assoc_type (%I.assoc_type.da6) = import_ref Main//types, loc4_43, loaded [symbolic = @I.WithSelf.%assoc0 (constants.%assoc0.085)] +// CHECK:STDOUT: %Main.import_ref.ad3 = import_ref Main//impl_in_class_args, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.28c: @I.WithSelf.%I.assoc_type (%I.assoc_type.bd7) = import_ref Main//types, loc4_43, loaded [symbolic = @I.WithSelf.%assoc0 (constants.%assoc0.80c)] // CHECK:STDOUT: %Main.F = import_ref Main//types, F, unloaded -// CHECK:STDOUT: %Main.import_ref.479: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.cba) = import_ref Main//types, loc4_43, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.c14)] +// CHECK:STDOUT: %Main.import_ref.bb0: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.908) = import_ref Main//types, loc4_43, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.3ed)] // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//types, loc4_14, loaded [symbolic = @I.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.63baa8.2: @I.%I.type (%I.type.2f8) = import_ref Main//types, loc4_23, loaded [symbolic = @I.%Self (constants.%Self.c54)] -// CHECK:STDOUT: %Main.import_ref.fbf = import_ref Main//types, loc4_23, unloaded +// CHECK:STDOUT: %Main.import_ref.8e3e51.2: @I.%I.type (%I.type.50f) = import_ref Main//types, loc4_23, loaded [symbolic = @I.%Self (constants.%Self.501)] +// CHECK:STDOUT: %Main.import_ref.157 = import_ref Main//types, loc4_23, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.4: type = import_ref Main//types, loc4_14, loaded [symbolic = @I.%T (constants.%T)] // CHECK:STDOUT: %Main.import_ref.8f24d3.3: = import_ref Main//types, loc7_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.bd9 = import_ref Main//types, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.a02 = import_ref Main//types, loc4_43, unloaded -// CHECK:STDOUT: %Main.import_ref.411: = import_ref Main//impl_in_class_args, loc7_29, loaded [concrete = constants.%I.impl_witness] -// CHECK:STDOUT: %Main.import_ref.eb5: type = import_ref Main//impl_in_class_args, loc7_19, loaded [concrete = constants.%C.6d9] -// CHECK:STDOUT: %Main.import_ref.864: type = import_ref Main//impl_in_class_args, loc7_27, loaded [concrete = constants.%I.type.117] -// CHECK:STDOUT: %Main.import_ref.27a: %C.as.I.impl.F.type = import_ref Main//impl_in_class_args, loc7_57, loaded [concrete = constants.%C.as.I.impl.F] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.27a), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.49e = import_ref Main//types, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.bc7 = import_ref Main//types, loc4_43, unloaded +// CHECK:STDOUT: %Main.import_ref.730: = import_ref Main//impl_in_class_args, loc7_29, loaded [concrete = constants.%I.impl_witness] +// CHECK:STDOUT: %Main.import_ref.8ee: type = import_ref Main//impl_in_class_args, loc7_19, loaded [concrete = constants.%C.a67] +// CHECK:STDOUT: %Main.import_ref.2da: type = import_ref Main//impl_in_class_args, loc7_27, loaded [concrete = constants.%I.type.4fc] +// CHECK:STDOUT: %Main.import_ref.628: %C.as.I.impl.F.type = import_ref Main//impl_in_class_args, loc7_57, loaded [concrete = constants.%C.as.I.impl.F] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.628), @C.as.I.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -847,16 +847,16 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %H.decl: %H.type = fn_decl @H [concrete = constants.%H] { -// CHECK:STDOUT: %c.param_patt: %pattern_type.207 = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.207 = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.f7b = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.f7b = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %c.param: %C.6d9 = value_param call_param0 -// CHECK:STDOUT: %.loc6_22: type = splice_block %C [concrete = constants.%C.6d9] { +// CHECK:STDOUT: %c.param: %C.a67 = value_param call_param0 +// CHECK:STDOUT: %.loc6_22: type = splice_block %C [concrete = constants.%C.a67] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Main.C [concrete = constants.%C.generic] // CHECK:STDOUT: %InClassArgs.ref: type = name_ref InClassArgs, imports.%Main.InClassArgs [concrete = constants.%InClassArgs] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%InClassArgs) [concrete = constants.%C.6d9] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%InClassArgs) [concrete = constants.%C.a67] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: %C.6d9 = value_binding c, %c.param +// CHECK:STDOUT: %c: %C.a67 = value_binding c, %c.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -864,22 +864,22 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.2f8)] -// CHECK:STDOUT: %Self: @I.%I.type (%I.type.2f8) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.c54)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.501)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.fbf -// CHECK:STDOUT: .F = imports.%Main.import_ref.c19 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.157 +// CHECK:STDOUT: .F = imports.%Main.import_ref.28c // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.I.impl: imports.%Main.import_ref.eb5 as imports.%Main.import_ref.864 [from "impl_in_class_args.carbon"] { +// CHECK:STDOUT: impl @C.as.I.impl: imports.%Main.import_ref.8ee as imports.%Main.import_ref.2da [from "impl_in_class_args.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.411 +// CHECK:STDOUT: witness = imports.%Main.import_ref.730 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @C(imports.%Main.import_ref.b3bc94.1: type) [from "types.carbon"] { @@ -891,7 +891,7 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.998 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.6a5 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -899,36 +899,36 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a93 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.ad3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @X [from "types.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.bd9 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.49e // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @H(%c.param: %C.6d9) { +// CHECK:STDOUT: fn @H(%c.param: %C.a67) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %c.ref: %C.6d9 = name_ref c, %c -// CHECK:STDOUT: %I.ref: %I.type.571 = name_ref I, imports.%Main.I [concrete = constants.%I.generic] +// CHECK:STDOUT: %c.ref: %C.a67 = name_ref c, %c +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, imports.%Main.I [concrete = constants.%I.generic] // CHECK:STDOUT: %X.ref: type = name_ref X, imports.%Main.X [concrete = constants.%X] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%X)> [concrete = constants.%I.type.117] -// CHECK:STDOUT: %.loc6_34: %I.assoc_type.1e2 = specific_constant imports.%Main.import_ref.c19, @I.WithSelf(constants.%X, constants.%Self.c54) [concrete = constants.%assoc0.81d] -// CHECK:STDOUT: %F.ref: %I.assoc_type.1e2 = name_ref F, %.loc6_34 [concrete = constants.%assoc0.81d] -// CHECK:STDOUT: %impl.elem0: %.5cf = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(constants.%X)> [concrete = constants.%I.type.4fc] +// CHECK:STDOUT: %.loc6_34: %I.assoc_type.304 = specific_constant imports.%Main.import_ref.28c, @I.WithSelf(constants.%X, constants.%Self.501) [concrete = constants.%assoc0.629] +// CHECK:STDOUT: %F.ref: %I.assoc_type.304 = name_ref F, %.loc6_34 [concrete = constants.%assoc0.629] +// CHECK:STDOUT: %impl.elem0: %.3f0 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.I.impl.F.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.b3bc94.3: type, imports.%Main.import_ref.63baa8.2: @I.%I.type (%I.type.2f8)) [from "types.carbon"] { +// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.b3bc94.3: type, imports.%Main.import_ref.8e3e51.2: @I.%I.type (%I.type.50f)) [from "types.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.2f8)] -// CHECK:STDOUT: %Self: @I.WithSelf.F.%I.type (%I.type.2f8) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.c54)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self: @I.WithSelf.F.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.501)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.77d)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.dfa)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -949,43 +949,43 @@ fn H(c: C(InClassArgs)) { c.(I(X).F)(); } // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.c54) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.501) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self.c54) { +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self.501) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %I.type => constants.%I.type.2f8 -// CHECK:STDOUT: %Self => constants.%Self.c54 +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self => constants.%Self.501 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.77d +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.dfa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%X) { // CHECK:STDOUT: %T => constants.%X // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.117 -// CHECK:STDOUT: %Self => constants.%Self.da3 +// CHECK:STDOUT: %I.type => constants.%I.type.4fc +// CHECK:STDOUT: %Self => constants.%Self.882 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%X, constants.%Self.c54) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%X, constants.%Self.501) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %I.type => constants.%I.type.117 -// CHECK:STDOUT: %Self => constants.%Self.c54 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d5e -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.49f -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.1e2 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.81d +// CHECK:STDOUT: %I.type => constants.%I.type.4fc +// CHECK:STDOUT: %Self => constants.%Self.501 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.cd7 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.239 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.304 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.629 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%X, constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %I.type => constants.%I.type.117 +// CHECK:STDOUT: %I.type => constants.%I.type.4fc // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.35f -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.933 -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.1e2 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.81d +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.8dd +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.b11 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.304 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.629 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/lookup/transitive.carbon b/toolchain/check/testdata/impl/lookup/transitive.carbon index f8498b850626..1dc8c7d3eef9 100644 --- a/toolchain/check/testdata/impl/lookup/transitive.carbon +++ b/toolchain/check/testdata/impl/lookup/transitive.carbon @@ -127,17 +127,17 @@ fn Call() { // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.2a6: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.7ee: %I.WithSelf.F.type.2a6 = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.a52: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.08d: %I.WithSelf.F.type.a52 = struct_value () [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.395: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.3df: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.29f: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F [concrete] // CHECK:STDOUT: %C.as.I.impl.F: %C.as.I.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.321: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.e42: %I.WithSelf.F.type.321 = struct_value () [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.9a6: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.a2c: %I.WithSelf.F.type.9a6 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -146,10 +146,10 @@ fn Call() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.a5b = import_ref Main//i, loc4_33, unloaded -// CHECK:STDOUT: %Main.F: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.2a6) = import_ref Main//i, F, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.7ee)] -// CHECK:STDOUT: %Main.import_ref.c1999d.2: %I.type = import_ref Main//i, loc4_13, loaded [symbolic = constants.%Self] -// CHECK:STDOUT: %Main.import_ref.9e2 = import_ref Main//i, loc4_13, unloaded +// CHECK:STDOUT: %Main.import_ref.8a2 = import_ref Main//i, loc4_33, unloaded +// CHECK:STDOUT: %Main.F: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.a52) = import_ref Main//i, F, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.08d)] +// CHECK:STDOUT: %Main.import_ref.c42703.2: %I.type = import_ref Main//i, loc4_13, loaded [symbolic = constants.%Self] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//i, loc4_13, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -169,8 +169,8 @@ fn Call() { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "i.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.9e2 -// CHECK:STDOUT: .F = imports.%Main.import_ref.a5b +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .F = imports.%Main.import_ref.8a2 // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -178,8 +178,8 @@ fn Call() { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C.ref as %I.ref { // CHECK:STDOUT: %C.as.I.impl.F.decl: %C.as.I.impl.F.type = fn_decl @C.as.I.impl.F [concrete = constants.%C.as.I.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.29f = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.29f = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.I.impl.%C.ref [concrete = constants.%C] @@ -202,10 +202,10 @@ fn Call() { // CHECK:STDOUT: .Self = constants.%C // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.c1999d.2: %I.type) [from "i.carbon"] { +// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.c42703.2: %I.type) [from "i.carbon"] { // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.395)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.3df)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -218,27 +218,27 @@ fn Call() { // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.2a6 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.7ee +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a52 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.08d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.395 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3df // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.321 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.e42 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.9a6 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.a2c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet) { // CHECK:STDOUT: %Self => constants.%I.facet // CHECK:STDOUT: %Self.as_type => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.29f +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- get.carbon @@ -247,7 +247,7 @@ fn Call() { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %.980: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %Get.type: type = fn_type @Get [concrete] // CHECK:STDOUT: %Get: %Get.type = struct_value () [concrete] @@ -260,7 +260,7 @@ fn Call() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//c, loc6_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.a1f = import_ref Main//c, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//c, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -276,7 +276,7 @@ fn Call() { // CHECK:STDOUT: %return.patt: %pattern_type = return_slot_pattern %return.param_patt, %C.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] -// CHECK:STDOUT: %.loc6: Core.Form = init_form %C.ref [concrete = constants.%.980] +// CHECK:STDOUT: %.loc6: Core.Form = init_form %C.ref [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } @@ -286,7 +286,7 @@ fn Call() { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a1f +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Get() -> out %return.param: %C; @@ -303,23 +303,23 @@ fn Call() { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.cdc: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.15f: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.cdc) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.325: %I.WithSelf.F.type.15f = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type.d41: type = facet_access_type %Self.cdc [symbolic] -// CHECK:STDOUT: %pattern_type.b66: type = pattern_type %Self.as_type.d41 [symbolic] +// CHECK:STDOUT: %Self.2e1: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.a52: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.2e1) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.08d: %I.WithSelf.F.type.a52 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type.a70: type = facet_access_type %Self.2e1 [symbolic] +// CHECK:STDOUT: %pattern_type.3df: type = pattern_type %Self.as_type.a70 [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.f4a: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.42b [concrete] +// CHECK:STDOUT: %assoc0.210: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.50e [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.e83: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.9ea: %I.WithSelf.F.type.e83 = struct_value () [concrete] -// CHECK:STDOUT: %.09c: type = fn_type_with_self_type %I.WithSelf.F.type.e83, %I.facet [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.897: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.702: %I.WithSelf.F.type.897 = struct_value () [concrete] +// CHECK:STDOUT: %.f80: type = fn_type_with_self_type %I.WithSelf.F.type.897, %I.facet [concrete] // CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F [concrete] // CHECK:STDOUT: %C.as.I.impl.F: %C.as.I.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_7.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_7.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -331,17 +331,17 @@ fn Call() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Main.import_ref.8db: = import_ref Main//get, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.bbe = import_ref Main//get, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.5cf: %I.assoc_type = import_ref Main//i, loc4_33, loaded [concrete = constants.%assoc0.f4a] +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//get, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.a47: %I.assoc_type = import_ref Main//i, loc4_33, loaded [concrete = constants.%assoc0.210] // CHECK:STDOUT: %Main.F = import_ref Main//i, F, unloaded -// CHECK:STDOUT: %Main.import_ref.9de39c.2: %I.type = import_ref Main//i, loc4_13, loaded [symbolic = constants.%Self.cdc] -// CHECK:STDOUT: %Main.import_ref.9e2 = import_ref Main//i, loc4_13, unloaded -// CHECK:STDOUT: %Main.import_ref.42b: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.15f) = import_ref Main//i, loc4_33, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.325)] -// CHECK:STDOUT: %Main.import_ref.087: = import_ref Main//c, loc7_13, loaded [concrete = constants.%I.impl_witness] -// CHECK:STDOUT: %Main.import_ref.cce: type = import_ref Main//c, loc7_6, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.32f: type = import_ref Main//c, loc7_11, loaded [concrete = constants.%I.type] -// CHECK:STDOUT: %Main.import_ref.5a6: %C.as.I.impl.F.type = import_ref Main//c, loc7_41, loaded [concrete = constants.%C.as.I.impl.F] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.5a6), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.c42703.2: %I.type = import_ref Main//i, loc4_13, loaded [symbolic = constants.%Self.2e1] +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//i, loc4_13, unloaded +// CHECK:STDOUT: %Main.import_ref.50e: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.a52) = import_ref Main//i, loc4_33, loaded [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.08d)] +// CHECK:STDOUT: %Main.import_ref.1bc: = import_ref Main//c, loc7_13, loaded [concrete = constants.%I.impl_witness] +// CHECK:STDOUT: %Main.import_ref.f5a: type = import_ref Main//c, loc7_6, loaded [concrete = constants.%C] +// CHECK:STDOUT: %Main.import_ref.0e9: type = import_ref Main//c, loc7_11, loaded [concrete = constants.%I.type] +// CHECK:STDOUT: %Main.import_ref.628: %C.as.I.impl.F.type = import_ref Main//c, loc7_41, loaded [concrete = constants.%C.as.I.impl.F] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.628), @C.as.I.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -359,23 +359,23 @@ fn Call() { // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "i.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.9e2 -// CHECK:STDOUT: .F = imports.%Main.import_ref.5cf +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 +// CHECK:STDOUT: .F = imports.%Main.import_ref.a47 // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.I.impl: imports.%Main.import_ref.cce as imports.%Main.import_ref.32f [from "c.carbon"] { +// CHECK:STDOUT: impl @C.as.I.impl: imports.%Main.import_ref.f5a as imports.%Main.import_ref.0e9 [from "c.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%Main.import_ref.087 +// CHECK:STDOUT: witness = imports.%Main.import_ref.1bc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C [from "get.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8db // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.bbe +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Call() { @@ -384,23 +384,23 @@ fn Call() { // CHECK:STDOUT: %.loc9_7.1: ref %C = temporary_storage // CHECK:STDOUT: %Get.call: init %C to %.loc9_7.1 = call %Get.ref() // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] -// CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, imports.%Main.import_ref.5cf [concrete = constants.%assoc0.f4a] -// CHECK:STDOUT: %impl.elem0: %.09c = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] +// CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, imports.%Main.import_ref.a47 [concrete = constants.%assoc0.210] +// CHECK:STDOUT: %impl.elem0: %.f80 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] // CHECK:STDOUT: %bound_method: = bound_method %Get.call, %impl.elem0 // CHECK:STDOUT: %.loc9_7.2: ref %C = temporary %.loc9_7.1, %Get.call // CHECK:STDOUT: %.loc9_7.3: %C = acquire_value %.loc9_7.2 // CHECK:STDOUT: %C.as.I.impl.F.call: init %empty_tuple.type = call %bound_method(%.loc9_7.3) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc9_7.2, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc9_7.2, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc9_7.2) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Get [from "get.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.9de39c.2: %I.type) [from "i.carbon"] { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.cdc)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.d41)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.b66)] +// CHECK:STDOUT: generic fn @I.WithSelf.F(imports.%Main.import_ref.c42703.2: %I.type) [from "i.carbon"] { +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.2e1)] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.a70)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic = %pattern_type (constants.%pattern_type.3df)] // CHECK:STDOUT: // CHECK:STDOUT: fn; // CHECK:STDOUT: } @@ -414,23 +414,23 @@ fn Call() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.cdc) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.2e1) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.cdc -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.15f -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.325 +// CHECK:STDOUT: %Self => constants.%Self.2e1 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a52 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.08d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.cdc) { -// CHECK:STDOUT: %Self => constants.%Self.cdc -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.d41 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.b66 +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.2e1) { +// CHECK:STDOUT: %Self => constants.%Self.2e1 +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.a70 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3df // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.e83 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.9ea +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.897 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.702 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/multiple_extend.carbon b/toolchain/check/testdata/impl/multiple_extend.carbon index 870b5f2708ba..1a2843c24507 100644 --- a/toolchain/check/testdata/impl/multiple_extend.carbon +++ b/toolchain/check/testdata/impl/multiple_extend.carbon @@ -168,31 +168,31 @@ fn P(o: O) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %HasF.type: type = facet_type <@HasF> [concrete] -// CHECK:STDOUT: %Self.f38: %HasF.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasF.WithSelf.F.type.3bd: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self.f38) [symbolic] +// CHECK:STDOUT: %Self.62e: %HasF.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.type.4d3: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%Self.62e) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.84d: %HasF.WithSelf.F.type.3bd = struct_value () [symbolic] +// CHECK:STDOUT: %HasF.WithSelf.F.8d9: %HasF.WithSelf.F.type.4d3 = struct_value () [symbolic] // CHECK:STDOUT: %HasF.assoc_type: type = assoc_entity_type @HasF [concrete] -// CHECK:STDOUT: %assoc0.063: %HasF.assoc_type = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.3b4: %HasF.assoc_type = assoc_entity element0, @HasF.WithSelf.%HasF.WithSelf.F.decl [concrete] // CHECK:STDOUT: %HasG.type: type = facet_type <@HasG> [concrete] -// CHECK:STDOUT: %Self.515: %HasG.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasG.WithSelf.G.type.371: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%Self.515) [symbolic] -// CHECK:STDOUT: %HasG.WithSelf.G.4ef: %HasG.WithSelf.G.type.371 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.d61: %HasG.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %HasG.WithSelf.G.type.ebd: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%Self.d61) [symbolic] +// CHECK:STDOUT: %HasG.WithSelf.G.0eb: %HasG.WithSelf.G.type.ebd = struct_value () [symbolic] // CHECK:STDOUT: %HasG.assoc_type: type = assoc_entity_type @HasG [concrete] -// CHECK:STDOUT: %assoc0.079: %HasG.assoc_type = assoc_entity element0, @HasG.WithSelf.%HasG.WithSelf.G.decl [concrete] +// CHECK:STDOUT: %assoc0.eaf: %HasG.assoc_type = assoc_entity element0, @HasG.WithSelf.%HasG.WithSelf.G.decl [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %HasF.impl_witness: = impl_witness @C.as.HasF.impl.%HasF.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.HasF.impl.F.type: type = fn_type @C.as.HasF.impl.F [concrete] // CHECK:STDOUT: %C.as.HasF.impl.F: %C.as.HasF.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %HasF.facet: %HasF.type = facet_value %C, (%HasF.impl_witness) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.474: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.2fa: %HasF.WithSelf.F.type.474 = struct_value () [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.189: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%HasF.facet) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.916: %HasF.WithSelf.F.type.189 = struct_value () [concrete] // CHECK:STDOUT: %HasG.impl_witness: = impl_witness @C.as.HasG.impl.%HasG.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.HasG.impl.G.type: type = fn_type @C.as.HasG.impl.G [concrete] // CHECK:STDOUT: %C.as.HasG.impl.G: %C.as.HasG.impl.G.type = struct_value () [concrete] // CHECK:STDOUT: %HasG.facet: %HasG.type = facet_value %C, (%HasG.impl_witness) [concrete] -// CHECK:STDOUT: %HasG.WithSelf.G.type.1c0: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%HasG.facet) [concrete] -// CHECK:STDOUT: %HasG.WithSelf.G.d77: %HasG.WithSelf.G.type.1c0 = struct_value () [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.type.b0e: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%HasG.facet) [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.f70: %HasG.WithSelf.G.type.b0e = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] @@ -200,12 +200,12 @@ fn P(o: O) { // CHECK:STDOUT: %H: %H.type = struct_value () [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %C.type.facet: %type = facet_value %C, () [concrete] -// CHECK:STDOUT: %HasG.WithSelf.G.type.4c0: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%C.type.facet) [concrete] -// CHECK:STDOUT: %HasG.WithSelf.G.254: %HasG.WithSelf.G.type.4c0 = struct_value () [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.type.59c: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%C.type.facet) [concrete] -// CHECK:STDOUT: %HasF.WithSelf.F.4e2: %HasF.WithSelf.F.type.59c = struct_value () [concrete] -// CHECK:STDOUT: %.eaa: type = fn_type_with_self_type %HasF.WithSelf.F.type.474, %HasF.facet [concrete] -// CHECK:STDOUT: %.f71: type = fn_type_with_self_type %HasG.WithSelf.G.type.1c0, %HasG.facet [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.type.e60: type = fn_type @HasG.WithSelf.G, @HasG.WithSelf(%C.type.facet) [concrete] +// CHECK:STDOUT: %HasG.WithSelf.G.530: %HasG.WithSelf.G.type.e60 = struct_value () [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.type.29f: type = fn_type @HasF.WithSelf.F, @HasF.WithSelf(%C.type.facet) [concrete] +// CHECK:STDOUT: %HasF.WithSelf.F.469: %HasF.WithSelf.F.type.29f = struct_value () [concrete] +// CHECK:STDOUT: %.93d: type = fn_type_with_self_type %HasF.WithSelf.F.type.189, %HasF.facet [concrete] +// CHECK:STDOUT: %.c35: type = fn_type_with_self_type %HasG.WithSelf.G.type.b0e, %HasG.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -229,12 +229,12 @@ fn P(o: O) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @HasF { -// CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f38] +// CHECK:STDOUT: %Self: %HasF.type = symbolic_binding Self, 0 [symbolic = constants.%Self.62e] // CHECK:STDOUT: %HasF.WithSelf.decl = interface_with_self_decl @HasF [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.3bd) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.84d)] {} {} -// CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, %HasF.WithSelf.F.decl [concrete = constants.%assoc0.063] +// CHECK:STDOUT: %HasF.WithSelf.F.decl: @HasF.WithSelf.%HasF.WithSelf.F.type (%HasF.WithSelf.F.type.4d3) = fn_decl @HasF.WithSelf.F [symbolic = @HasF.WithSelf.%HasF.WithSelf.F (constants.%HasF.WithSelf.F.8d9)] {} {} +// CHECK:STDOUT: %assoc0: %HasF.assoc_type = assoc_entity element0, %HasF.WithSelf.F.decl [concrete = constants.%assoc0.3b4] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -247,12 +247,12 @@ fn P(o: O) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @HasG { -// CHECK:STDOUT: %Self: %HasG.type = symbolic_binding Self, 0 [symbolic = constants.%Self.515] +// CHECK:STDOUT: %Self: %HasG.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d61] // CHECK:STDOUT: %HasG.WithSelf.decl = interface_with_self_decl @HasG [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasG.WithSelf.G.decl: @HasG.WithSelf.%HasG.WithSelf.G.type (%HasG.WithSelf.G.type.371) = fn_decl @HasG.WithSelf.G [symbolic = @HasG.WithSelf.%HasG.WithSelf.G (constants.%HasG.WithSelf.G.4ef)] {} {} -// CHECK:STDOUT: %assoc0: %HasG.assoc_type = assoc_entity element0, %HasG.WithSelf.G.decl [concrete = constants.%assoc0.079] +// CHECK:STDOUT: %HasG.WithSelf.G.decl: @HasG.WithSelf.%HasG.WithSelf.G.type (%HasG.WithSelf.G.type.ebd) = fn_decl @HasG.WithSelf.G [symbolic = @HasG.WithSelf.%HasG.WithSelf.G (constants.%HasG.WithSelf.G.0eb)] {} {} +// CHECK:STDOUT: %assoc0: %HasG.assoc_type = assoc_entity element0, %HasG.WithSelf.G.decl [concrete = constants.%assoc0.eaf] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -328,47 +328,47 @@ fn P(o: O) { // CHECK:STDOUT: fn @H(%c.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref.loc22: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %F.ref.loc22: %HasF.assoc_type = name_ref F, @HasF.WithSelf.%assoc0 [concrete = constants.%assoc0.063] -// CHECK:STDOUT: %impl.elem0.loc22: %.eaa = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] +// CHECK:STDOUT: %F.ref.loc22: %HasF.assoc_type = name_ref F, @HasF.WithSelf.%assoc0 [concrete = constants.%assoc0.3b4] +// CHECK:STDOUT: %impl.elem0.loc22: %.93d = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] // CHECK:STDOUT: %C.as.HasF.impl.F.call.loc22: init %empty_tuple.type = call %impl.elem0.loc22() // CHECK:STDOUT: %c.ref.loc23: %C = name_ref c, %c -// CHECK:STDOUT: %F.ref.loc23: %HasF.assoc_type = name_ref F, @HasF.WithSelf.%assoc0 [concrete = constants.%assoc0.063] -// CHECK:STDOUT: %impl.elem0.loc23: %.eaa = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] +// CHECK:STDOUT: %F.ref.loc23: %HasF.assoc_type = name_ref F, @HasF.WithSelf.%assoc0 [concrete = constants.%assoc0.3b4] +// CHECK:STDOUT: %impl.elem0.loc23: %.93d = impl_witness_access constants.%HasF.impl_witness, element0 [concrete = constants.%C.as.HasF.impl.F] // CHECK:STDOUT: %C.as.HasF.impl.F.call.loc23: init %empty_tuple.type = call %impl.elem0.loc23() // CHECK:STDOUT: %C.ref.loc24: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %G.ref.loc24: %HasG.assoc_type = name_ref G, @HasG.WithSelf.%assoc0 [concrete = constants.%assoc0.079] -// CHECK:STDOUT: %impl.elem0.loc24: %.f71 = impl_witness_access constants.%HasG.impl_witness, element0 [concrete = constants.%C.as.HasG.impl.G] +// CHECK:STDOUT: %G.ref.loc24: %HasG.assoc_type = name_ref G, @HasG.WithSelf.%assoc0 [concrete = constants.%assoc0.eaf] +// CHECK:STDOUT: %impl.elem0.loc24: %.c35 = impl_witness_access constants.%HasG.impl_witness, element0 [concrete = constants.%C.as.HasG.impl.G] // CHECK:STDOUT: %C.as.HasG.impl.G.call.loc24: init %empty_tuple.type = call %impl.elem0.loc24() // CHECK:STDOUT: %c.ref.loc25: %C = name_ref c, %c -// CHECK:STDOUT: %G.ref.loc25: %HasG.assoc_type = name_ref G, @HasG.WithSelf.%assoc0 [concrete = constants.%assoc0.079] -// CHECK:STDOUT: %impl.elem0.loc25: %.f71 = impl_witness_access constants.%HasG.impl_witness, element0 [concrete = constants.%C.as.HasG.impl.G] +// CHECK:STDOUT: %G.ref.loc25: %HasG.assoc_type = name_ref G, @HasG.WithSelf.%assoc0 [concrete = constants.%assoc0.eaf] +// CHECK:STDOUT: %impl.elem0.loc25: %.c35 = impl_witness_access constants.%HasG.impl_witness, element0 [concrete = constants.%C.as.HasG.impl.G] // CHECK:STDOUT: %C.as.HasG.impl.G.call.loc25: init %empty_tuple.type = call %impl.elem0.loc25() // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self.f38) { +// CHECK:STDOUT: specific @HasF.WithSelf(constants.%Self.62e) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.f38 -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.3bd -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.84d +// CHECK:STDOUT: %Self => constants.%Self.62e +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.4d3 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.8d9 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self.f38) {} +// CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%Self.62e) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasG.WithSelf(constants.%Self.515) { +// CHECK:STDOUT: specific @HasG.WithSelf(constants.%Self.d61) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.515 -// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.371 -// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.4ef +// CHECK:STDOUT: %Self => constants.%Self.d61 +// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.ebd +// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.0eb // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasG.WithSelf.G(constants.%Self.515) {} +// CHECK:STDOUT: specific @HasG.WithSelf.G(constants.%Self.d61) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%HasF.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasF.facet -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.474 -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.2fa +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.189 +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.916 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf.F(constants.%HasF.facet) {} @@ -376,8 +376,8 @@ fn P(o: O) { // CHECK:STDOUT: specific @HasG.WithSelf(constants.%HasG.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasG.facet -// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.1c0 -// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.d77 +// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.b0e +// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.f70 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasG.WithSelf.G(constants.%HasG.facet) {} @@ -385,45 +385,45 @@ fn P(o: O) { // CHECK:STDOUT: specific @HasG.WithSelf(constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%C.type.facet -// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.4c0 -// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.254 +// CHECK:STDOUT: %HasG.WithSelf.G.type => constants.%HasG.WithSelf.G.type.e60 +// CHECK:STDOUT: %HasG.WithSelf.G => constants.%HasG.WithSelf.G.530 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasF.WithSelf(constants.%C.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%C.type.facet -// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.59c -// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.4e2 +// CHECK:STDOUT: %HasF.WithSelf.F.type => constants.%HasF.WithSelf.F.type.29f +// CHECK:STDOUT: %HasF.WithSelf.F => constants.%HasF.WithSelf.F.469 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_ambiguous_impls.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %HasA1.type: type = facet_type <@HasA1> [concrete] -// CHECK:STDOUT: %Self.86b: %HasA1.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasA1.WithSelf.A.type.799: type = fn_type @HasA1.WithSelf.A, @HasA1.WithSelf(%Self.86b) [symbolic] -// CHECK:STDOUT: %HasA1.WithSelf.A.602: %HasA1.WithSelf.A.type.799 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.32c: %HasA1.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %HasA1.WithSelf.A.type.a6d: type = fn_type @HasA1.WithSelf.A, @HasA1.WithSelf(%Self.32c) [symbolic] +// CHECK:STDOUT: %HasA1.WithSelf.A.70a: %HasA1.WithSelf.A.type.a6d = struct_value () [symbolic] // CHECK:STDOUT: %HasA1.assoc_type: type = assoc_entity_type @HasA1 [concrete] -// CHECK:STDOUT: %assoc0.726: %HasA1.assoc_type = assoc_entity element0, @HasA1.WithSelf.%HasA1.WithSelf.A.decl [concrete] +// CHECK:STDOUT: %assoc0.ddc: %HasA1.assoc_type = assoc_entity element0, @HasA1.WithSelf.%HasA1.WithSelf.A.decl [concrete] // CHECK:STDOUT: %HasA2.type: type = facet_type <@HasA2> [concrete] -// CHECK:STDOUT: %Self.e52: %HasA2.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasA2.WithSelf.A.type.9f1: type = fn_type @HasA2.WithSelf.A, @HasA2.WithSelf(%Self.e52) [symbolic] -// CHECK:STDOUT: %HasA2.WithSelf.A.9f2: %HasA2.WithSelf.A.type.9f1 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.208: %HasA2.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %HasA2.WithSelf.A.type.402: type = fn_type @HasA2.WithSelf.A, @HasA2.WithSelf(%Self.208) [symbolic] +// CHECK:STDOUT: %HasA2.WithSelf.A.8d2: %HasA2.WithSelf.A.type.402 = struct_value () [symbolic] // CHECK:STDOUT: %HasA2.assoc_type: type = assoc_entity_type @HasA2 [concrete] -// CHECK:STDOUT: %assoc0.75b: %HasA2.assoc_type = assoc_entity element0, @HasA2.WithSelf.%HasA2.WithSelf.A.decl [concrete] +// CHECK:STDOUT: %assoc0.97f: %HasA2.assoc_type = assoc_entity element0, @HasA2.WithSelf.%HasA2.WithSelf.A.decl [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %HasA1.impl_witness: = impl_witness @D.as.HasA1.impl.%HasA1.impl_witness_table [concrete] // CHECK:STDOUT: %D.as.HasA1.impl.A.type: type = fn_type @D.as.HasA1.impl.A [concrete] // CHECK:STDOUT: %D.as.HasA1.impl.A: %D.as.HasA1.impl.A.type = struct_value () [concrete] // CHECK:STDOUT: %HasA1.facet: %HasA1.type = facet_value %D, (%HasA1.impl_witness) [concrete] -// CHECK:STDOUT: %HasA1.WithSelf.A.type.9ac: type = fn_type @HasA1.WithSelf.A, @HasA1.WithSelf(%HasA1.facet) [concrete] -// CHECK:STDOUT: %HasA1.WithSelf.A.3f6: %HasA1.WithSelf.A.type.9ac = struct_value () [concrete] +// CHECK:STDOUT: %HasA1.WithSelf.A.type.dc1: type = fn_type @HasA1.WithSelf.A, @HasA1.WithSelf(%HasA1.facet) [concrete] +// CHECK:STDOUT: %HasA1.WithSelf.A.2ce: %HasA1.WithSelf.A.type.dc1 = struct_value () [concrete] // CHECK:STDOUT: %HasA2.impl_witness: = impl_witness @D.as.HasA2.impl.%HasA2.impl_witness_table [concrete] // CHECK:STDOUT: %D.as.HasA2.impl.A.type: type = fn_type @D.as.HasA2.impl.A [concrete] // CHECK:STDOUT: %D.as.HasA2.impl.A: %D.as.HasA2.impl.A.type = struct_value () [concrete] // CHECK:STDOUT: %HasA2.facet: %HasA2.type = facet_value %D, (%HasA2.impl_witness) [concrete] -// CHECK:STDOUT: %HasA2.WithSelf.A.type.2f3: type = fn_type @HasA2.WithSelf.A, @HasA2.WithSelf(%HasA2.facet) [concrete] -// CHECK:STDOUT: %HasA2.WithSelf.A.870: %HasA2.WithSelf.A.type.2f3 = struct_value () [concrete] +// CHECK:STDOUT: %HasA2.WithSelf.A.type.ace: type = fn_type @HasA2.WithSelf.A, @HasA2.WithSelf(%HasA2.facet) [concrete] +// CHECK:STDOUT: %HasA2.WithSelf.A.d9f: %HasA2.WithSelf.A.type.ace = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %D [concrete] @@ -431,10 +431,10 @@ fn P(o: O) { // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %D.type.facet: %type = facet_value %D, () [concrete] -// CHECK:STDOUT: %HasA2.WithSelf.A.type.6e7: type = fn_type @HasA2.WithSelf.A, @HasA2.WithSelf(%D.type.facet) [concrete] -// CHECK:STDOUT: %HasA2.WithSelf.A.3a4: %HasA2.WithSelf.A.type.6e7 = struct_value () [concrete] -// CHECK:STDOUT: %HasA1.WithSelf.A.type.979: type = fn_type @HasA1.WithSelf.A, @HasA1.WithSelf(%D.type.facet) [concrete] -// CHECK:STDOUT: %HasA1.WithSelf.A.7d9: %HasA1.WithSelf.A.type.979 = struct_value () [concrete] +// CHECK:STDOUT: %HasA2.WithSelf.A.type.596: type = fn_type @HasA2.WithSelf.A, @HasA2.WithSelf(%D.type.facet) [concrete] +// CHECK:STDOUT: %HasA2.WithSelf.A.68e: %HasA2.WithSelf.A.type.596 = struct_value () [concrete] +// CHECK:STDOUT: %HasA1.WithSelf.A.type.3c5: type = fn_type @HasA1.WithSelf.A, @HasA1.WithSelf(%D.type.facet) [concrete] +// CHECK:STDOUT: %HasA1.WithSelf.A.51c: %HasA1.WithSelf.A.type.3c5 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -458,12 +458,12 @@ fn P(o: O) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @HasA1 { -// CHECK:STDOUT: %Self: %HasA1.type = symbolic_binding Self, 0 [symbolic = constants.%Self.86b] +// CHECK:STDOUT: %Self: %HasA1.type = symbolic_binding Self, 0 [symbolic = constants.%Self.32c] // CHECK:STDOUT: %HasA1.WithSelf.decl = interface_with_self_decl @HasA1 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasA1.WithSelf.A.decl: @HasA1.WithSelf.%HasA1.WithSelf.A.type (%HasA1.WithSelf.A.type.799) = fn_decl @HasA1.WithSelf.A [symbolic = @HasA1.WithSelf.%HasA1.WithSelf.A (constants.%HasA1.WithSelf.A.602)] {} {} -// CHECK:STDOUT: %assoc0: %HasA1.assoc_type = assoc_entity element0, %HasA1.WithSelf.A.decl [concrete = constants.%assoc0.726] +// CHECK:STDOUT: %HasA1.WithSelf.A.decl: @HasA1.WithSelf.%HasA1.WithSelf.A.type (%HasA1.WithSelf.A.type.a6d) = fn_decl @HasA1.WithSelf.A [symbolic = @HasA1.WithSelf.%HasA1.WithSelf.A (constants.%HasA1.WithSelf.A.70a)] {} {} +// CHECK:STDOUT: %assoc0: %HasA1.assoc_type = assoc_entity element0, %HasA1.WithSelf.A.decl [concrete = constants.%assoc0.ddc] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -475,12 +475,12 @@ fn P(o: O) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @HasA2 { -// CHECK:STDOUT: %Self: %HasA2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.e52] +// CHECK:STDOUT: %Self: %HasA2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.208] // CHECK:STDOUT: %HasA2.WithSelf.decl = interface_with_self_decl @HasA2 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasA2.WithSelf.A.decl: @HasA2.WithSelf.%HasA2.WithSelf.A.type (%HasA2.WithSelf.A.type.9f1) = fn_decl @HasA2.WithSelf.A [symbolic = @HasA2.WithSelf.%HasA2.WithSelf.A (constants.%HasA2.WithSelf.A.9f2)] {} {} -// CHECK:STDOUT: %assoc0: %HasA2.assoc_type = assoc_entity element0, %HasA2.WithSelf.A.decl [concrete = constants.%assoc0.75b] +// CHECK:STDOUT: %HasA2.WithSelf.A.decl: @HasA2.WithSelf.%HasA2.WithSelf.A.type (%HasA2.WithSelf.A.type.402) = fn_decl @HasA2.WithSelf.A [symbolic = @HasA2.WithSelf.%HasA2.WithSelf.A (constants.%HasA2.WithSelf.A.8d2)] {} {} +// CHECK:STDOUT: %assoc0: %HasA2.assoc_type = assoc_entity element0, %HasA2.WithSelf.A.decl [concrete = constants.%assoc0.97f] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -560,29 +560,29 @@ fn P(o: O) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasA1.WithSelf(constants.%Self.86b) { +// CHECK:STDOUT: specific @HasA1.WithSelf(constants.%Self.32c) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.86b -// CHECK:STDOUT: %HasA1.WithSelf.A.type => constants.%HasA1.WithSelf.A.type.799 -// CHECK:STDOUT: %HasA1.WithSelf.A => constants.%HasA1.WithSelf.A.602 +// CHECK:STDOUT: %Self => constants.%Self.32c +// CHECK:STDOUT: %HasA1.WithSelf.A.type => constants.%HasA1.WithSelf.A.type.a6d +// CHECK:STDOUT: %HasA1.WithSelf.A => constants.%HasA1.WithSelf.A.70a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasA1.WithSelf.A(constants.%Self.86b) {} +// CHECK:STDOUT: specific @HasA1.WithSelf.A(constants.%Self.32c) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasA2.WithSelf(constants.%Self.e52) { +// CHECK:STDOUT: specific @HasA2.WithSelf(constants.%Self.208) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.e52 -// CHECK:STDOUT: %HasA2.WithSelf.A.type => constants.%HasA2.WithSelf.A.type.9f1 -// CHECK:STDOUT: %HasA2.WithSelf.A => constants.%HasA2.WithSelf.A.9f2 +// CHECK:STDOUT: %Self => constants.%Self.208 +// CHECK:STDOUT: %HasA2.WithSelf.A.type => constants.%HasA2.WithSelf.A.type.402 +// CHECK:STDOUT: %HasA2.WithSelf.A => constants.%HasA2.WithSelf.A.8d2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasA2.WithSelf.A(constants.%Self.e52) {} +// CHECK:STDOUT: specific @HasA2.WithSelf.A(constants.%Self.208) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @HasA1.WithSelf(constants.%HasA1.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasA1.facet -// CHECK:STDOUT: %HasA1.WithSelf.A.type => constants.%HasA1.WithSelf.A.type.9ac -// CHECK:STDOUT: %HasA1.WithSelf.A => constants.%HasA1.WithSelf.A.3f6 +// CHECK:STDOUT: %HasA1.WithSelf.A.type => constants.%HasA1.WithSelf.A.type.dc1 +// CHECK:STDOUT: %HasA1.WithSelf.A => constants.%HasA1.WithSelf.A.2ce // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasA1.WithSelf.A(constants.%HasA1.facet) {} @@ -590,8 +590,8 @@ fn P(o: O) { // CHECK:STDOUT: specific @HasA2.WithSelf(constants.%HasA2.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasA2.facet -// CHECK:STDOUT: %HasA2.WithSelf.A.type => constants.%HasA2.WithSelf.A.type.2f3 -// CHECK:STDOUT: %HasA2.WithSelf.A => constants.%HasA2.WithSelf.A.870 +// CHECK:STDOUT: %HasA2.WithSelf.A.type => constants.%HasA2.WithSelf.A.type.ace +// CHECK:STDOUT: %HasA2.WithSelf.A => constants.%HasA2.WithSelf.A.d9f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasA2.WithSelf.A(constants.%HasA2.facet) {} @@ -599,15 +599,15 @@ fn P(o: O) { // CHECK:STDOUT: specific @HasA2.WithSelf(constants.%D.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%D.type.facet -// CHECK:STDOUT: %HasA2.WithSelf.A.type => constants.%HasA2.WithSelf.A.type.6e7 -// CHECK:STDOUT: %HasA2.WithSelf.A => constants.%HasA2.WithSelf.A.3a4 +// CHECK:STDOUT: %HasA2.WithSelf.A.type => constants.%HasA2.WithSelf.A.type.596 +// CHECK:STDOUT: %HasA2.WithSelf.A => constants.%HasA2.WithSelf.A.68e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasA1.WithSelf(constants.%D.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%D.type.facet -// CHECK:STDOUT: %HasA1.WithSelf.A.type => constants.%HasA1.WithSelf.A.type.979 -// CHECK:STDOUT: %HasA1.WithSelf.A => constants.%HasA1.WithSelf.A.7d9 +// CHECK:STDOUT: %HasA1.WithSelf.A.type => constants.%HasA1.WithSelf.A.type.3c5 +// CHECK:STDOUT: %HasA1.WithSelf.A => constants.%HasA1.WithSelf.A.51c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- different_impl_and_base.carbon @@ -615,9 +615,9 @@ fn P(o: O) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %HasI.type: type = facet_type <@HasI> [concrete] // CHECK:STDOUT: %Self: %HasI.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasI.WithSelf.I.type.62e: type = fn_type @HasI.WithSelf.I, @HasI.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %HasI.WithSelf.I.type.795: type = fn_type @HasI.WithSelf.I, @HasI.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %HasI.WithSelf.I.1f3: %HasI.WithSelf.I.type.62e = struct_value () [symbolic] +// CHECK:STDOUT: %HasI.WithSelf.I.f21: %HasI.WithSelf.I.type.795 = struct_value () [symbolic] // CHECK:STDOUT: %HasI.assoc_type: type = assoc_entity_type @HasI [concrete] // CHECK:STDOUT: %assoc0: %HasI.assoc_type = assoc_entity element0, @HasI.WithSelf.%HasI.WithSelf.I.decl [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] @@ -631,18 +631,18 @@ fn P(o: O) { // CHECK:STDOUT: %E.as.HasI.impl.I.type: type = fn_type @E.as.HasI.impl.I [concrete] // CHECK:STDOUT: %E.as.HasI.impl.I: %E.as.HasI.impl.I.type = struct_value () [concrete] // CHECK:STDOUT: %HasI.facet: %HasI.type = facet_value %E, (%HasI.impl_witness) [concrete] -// CHECK:STDOUT: %HasI.WithSelf.I.type.1f6: type = fn_type @HasI.WithSelf.I, @HasI.WithSelf(%HasI.facet) [concrete] -// CHECK:STDOUT: %HasI.WithSelf.I.095: %HasI.WithSelf.I.type.1f6 = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.cf5: type = struct_type {.base: %B} [concrete] -// CHECK:STDOUT: %complete_type.a24: = complete_type_witness %struct_type.base.cf5 [concrete] +// CHECK:STDOUT: %HasI.WithSelf.I.type.9e6: type = fn_type @HasI.WithSelf.I, @HasI.WithSelf(%HasI.facet) [concrete] +// CHECK:STDOUT: %HasI.WithSelf.I.6d9: %HasI.WithSelf.I.type.9e6 = struct_value () [concrete] +// CHECK:STDOUT: %struct_type.base.cef: type = struct_type {.base: %B} [concrete] +// CHECK:STDOUT: %complete_type.3f7: = complete_type_witness %struct_type.base.cef [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %E [concrete] // CHECK:STDOUT: %H.type: type = fn_type @H [concrete] // CHECK:STDOUT: %H: %H.type = struct_value () [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %E.type.facet: %type = facet_value %E, () [concrete] -// CHECK:STDOUT: %HasI.WithSelf.I.type.213: type = fn_type @HasI.WithSelf.I, @HasI.WithSelf(%E.type.facet) [concrete] -// CHECK:STDOUT: %HasI.WithSelf.I.093: %HasI.WithSelf.I.type.213 = struct_value () [concrete] -// CHECK:STDOUT: %.5cc: type = fn_type_with_self_type %HasI.WithSelf.I.type.1f6, %HasI.facet [concrete] +// CHECK:STDOUT: %HasI.WithSelf.I.type.fb8: type = fn_type @HasI.WithSelf.I, @HasI.WithSelf(%E.type.facet) [concrete] +// CHECK:STDOUT: %HasI.WithSelf.I.c31: %HasI.WithSelf.I.type.fb8 = struct_value () [concrete] +// CHECK:STDOUT: %.277: type = fn_type_with_self_type %HasI.WithSelf.I.type.9e6, %HasI.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -670,7 +670,7 @@ fn P(o: O) { // CHECK:STDOUT: %HasI.WithSelf.decl = interface_with_self_decl @HasI [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasI.WithSelf.I.decl: @HasI.WithSelf.%HasI.WithSelf.I.type (%HasI.WithSelf.I.type.62e) = fn_decl @HasI.WithSelf.I [symbolic = @HasI.WithSelf.%HasI.WithSelf.I (constants.%HasI.WithSelf.I.1f3)] {} {} +// CHECK:STDOUT: %HasI.WithSelf.I.decl: @HasI.WithSelf.%HasI.WithSelf.I.type (%HasI.WithSelf.I.type.795) = fn_decl @HasI.WithSelf.I [symbolic = @HasI.WithSelf.%HasI.WithSelf.I (constants.%HasI.WithSelf.I.f21)] {} {} // CHECK:STDOUT: %assoc0: %HasI.assoc_type = assoc_entity element0, %HasI.WithSelf.I.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -712,7 +712,7 @@ fn P(o: O) { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%E [concrete = constants.%E] // CHECK:STDOUT: %HasI.ref: type = name_ref HasI, file.%HasI.decl [concrete = constants.%HasI.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.cf5 [concrete = constants.%complete_type.a24] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.cef [concrete = constants.%complete_type.3f7] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -744,11 +744,11 @@ fn P(o: O) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %E.ref.loc20: type = name_ref E, file.%E.decl [concrete = constants.%E] // CHECK:STDOUT: %I.ref.loc20: %HasI.assoc_type = name_ref I, @HasI.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc20: %.5cc = impl_witness_access constants.%HasI.impl_witness, element0 [concrete = constants.%E.as.HasI.impl.I] +// CHECK:STDOUT: %impl.elem0.loc20: %.277 = impl_witness_access constants.%HasI.impl_witness, element0 [concrete = constants.%E.as.HasI.impl.I] // CHECK:STDOUT: %E.as.HasI.impl.I.call.loc20: init %empty_tuple.type = call %impl.elem0.loc20() // CHECK:STDOUT: %e.ref.loc21: %E = name_ref e, %e // CHECK:STDOUT: %I.ref.loc21: %HasI.assoc_type = name_ref I, @HasI.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc21: %.5cc = impl_witness_access constants.%HasI.impl_witness, element0 [concrete = constants.%E.as.HasI.impl.I] +// CHECK:STDOUT: %impl.elem0.loc21: %.277 = impl_witness_access constants.%HasI.impl_witness, element0 [concrete = constants.%E.as.HasI.impl.I] // CHECK:STDOUT: %E.as.HasI.impl.I.call.loc21: init %empty_tuple.type = call %impl.elem0.loc21() // CHECK:STDOUT: %E.ref.loc22: type = name_ref E, file.%E.decl [concrete = constants.%E] // CHECK:STDOUT: %J.ref.loc22: %B.J.type = name_ref J, @B.%B.J.decl [concrete = constants.%B.J] @@ -762,8 +762,8 @@ fn P(o: O) { // CHECK:STDOUT: specific @HasI.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %HasI.WithSelf.I.type => constants.%HasI.WithSelf.I.type.62e -// CHECK:STDOUT: %HasI.WithSelf.I => constants.%HasI.WithSelf.I.1f3 +// CHECK:STDOUT: %HasI.WithSelf.I.type => constants.%HasI.WithSelf.I.type.795 +// CHECK:STDOUT: %HasI.WithSelf.I => constants.%HasI.WithSelf.I.f21 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasI.WithSelf.I(constants.%Self) {} @@ -771,8 +771,8 @@ fn P(o: O) { // CHECK:STDOUT: specific @HasI.WithSelf(constants.%HasI.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasI.facet -// CHECK:STDOUT: %HasI.WithSelf.I.type => constants.%HasI.WithSelf.I.type.1f6 -// CHECK:STDOUT: %HasI.WithSelf.I => constants.%HasI.WithSelf.I.095 +// CHECK:STDOUT: %HasI.WithSelf.I.type => constants.%HasI.WithSelf.I.type.9e6 +// CHECK:STDOUT: %HasI.WithSelf.I => constants.%HasI.WithSelf.I.6d9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasI.WithSelf.I(constants.%HasI.facet) {} @@ -780,8 +780,8 @@ fn P(o: O) { // CHECK:STDOUT: specific @HasI.WithSelf(constants.%E.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%E.type.facet -// CHECK:STDOUT: %HasI.WithSelf.I.type => constants.%HasI.WithSelf.I.type.213 -// CHECK:STDOUT: %HasI.WithSelf.I => constants.%HasI.WithSelf.I.093 +// CHECK:STDOUT: %HasI.WithSelf.I.type => constants.%HasI.WithSelf.I.type.fb8 +// CHECK:STDOUT: %HasI.WithSelf.I => constants.%HasI.WithSelf.I.c31 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_ambiguous_impl_and_base.carbon @@ -794,8 +794,8 @@ fn P(o: O) { // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %HasK.type: type = facet_type <@HasK> [concrete] // CHECK:STDOUT: %Self: %HasK.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasK.WithSelf.K.type.736: type = fn_type @HasK.WithSelf.K, @HasK.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %HasK.WithSelf.K.c20: %HasK.WithSelf.K.type.736 = struct_value () [symbolic] +// CHECK:STDOUT: %HasK.WithSelf.K.type.adb: type = fn_type @HasK.WithSelf.K, @HasK.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %HasK.WithSelf.K.c0f: %HasK.WithSelf.K.type.adb = struct_value () [symbolic] // CHECK:STDOUT: %HasK.assoc_type: type = assoc_entity_type @HasK [concrete] // CHECK:STDOUT: %assoc0: %HasK.assoc_type = assoc_entity element0, @HasK.WithSelf.%HasK.WithSelf.K.decl [concrete] // CHECK:STDOUT: %L: type = class_type @L [concrete] @@ -804,17 +804,17 @@ fn P(o: O) { // CHECK:STDOUT: %L.as.HasK.impl.K.type: type = fn_type @L.as.HasK.impl.K [concrete] // CHECK:STDOUT: %L.as.HasK.impl.K: %L.as.HasK.impl.K.type = struct_value () [concrete] // CHECK:STDOUT: %HasK.facet: %HasK.type = facet_value %L, (%HasK.impl_witness) [concrete] -// CHECK:STDOUT: %HasK.WithSelf.K.type.a2f: type = fn_type @HasK.WithSelf.K, @HasK.WithSelf(%HasK.facet) [concrete] -// CHECK:STDOUT: %HasK.WithSelf.K.67e: %HasK.WithSelf.K.type.a2f = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.a00: type = struct_type {.base: %Base} [concrete] -// CHECK:STDOUT: %complete_type.0fa: = complete_type_witness %struct_type.base.a00 [concrete] +// CHECK:STDOUT: %HasK.WithSelf.K.type.211: type = fn_type @HasK.WithSelf.K, @HasK.WithSelf(%HasK.facet) [concrete] +// CHECK:STDOUT: %HasK.WithSelf.K.52a: %HasK.WithSelf.K.type.211 = struct_value () [concrete] +// CHECK:STDOUT: %struct_type.base.d37: type = struct_type {.base: %Base} [concrete] +// CHECK:STDOUT: %complete_type.736: = complete_type_witness %struct_type.base.d37 [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %L [concrete] // CHECK:STDOUT: %M.type: type = fn_type @M [concrete] // CHECK:STDOUT: %M: %M.type = struct_value () [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %L.type.facet: %type = facet_value %L, () [concrete] -// CHECK:STDOUT: %HasK.WithSelf.K.type.65f: type = fn_type @HasK.WithSelf.K, @HasK.WithSelf(%L.type.facet) [concrete] -// CHECK:STDOUT: %HasK.WithSelf.K.70d: %HasK.WithSelf.K.type.65f = struct_value () [concrete] +// CHECK:STDOUT: %HasK.WithSelf.K.type.023: type = fn_type @HasK.WithSelf.K, @HasK.WithSelf(%L.type.facet) [concrete] +// CHECK:STDOUT: %HasK.WithSelf.K.84b: %HasK.WithSelf.K.type.023 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -842,7 +842,7 @@ fn P(o: O) { // CHECK:STDOUT: %HasK.WithSelf.decl = interface_with_self_decl @HasK [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasK.WithSelf.K.decl: @HasK.WithSelf.%HasK.WithSelf.K.type (%HasK.WithSelf.K.type.736) = fn_decl @HasK.WithSelf.K [symbolic = @HasK.WithSelf.%HasK.WithSelf.K (constants.%HasK.WithSelf.K.c20)] {} {} +// CHECK:STDOUT: %HasK.WithSelf.K.decl: @HasK.WithSelf.%HasK.WithSelf.K.type (%HasK.WithSelf.K.type.adb) = fn_decl @HasK.WithSelf.K [symbolic = @HasK.WithSelf.%HasK.WithSelf.K (constants.%HasK.WithSelf.K.c0f)] {} {} // CHECK:STDOUT: %assoc0: %HasK.assoc_type = assoc_entity element0, %HasK.WithSelf.K.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -882,7 +882,7 @@ fn P(o: O) { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%L [concrete = constants.%L] // CHECK:STDOUT: %HasK.ref: type = name_ref HasK, file.%HasK.decl [concrete = constants.%HasK.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.a00 [concrete = constants.%complete_type.0fa] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.d37 [concrete = constants.%complete_type.736] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -921,8 +921,8 @@ fn P(o: O) { // CHECK:STDOUT: specific @HasK.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %HasK.WithSelf.K.type => constants.%HasK.WithSelf.K.type.736 -// CHECK:STDOUT: %HasK.WithSelf.K => constants.%HasK.WithSelf.K.c20 +// CHECK:STDOUT: %HasK.WithSelf.K.type => constants.%HasK.WithSelf.K.type.adb +// CHECK:STDOUT: %HasK.WithSelf.K => constants.%HasK.WithSelf.K.c0f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasK.WithSelf.K(constants.%Self) {} @@ -930,8 +930,8 @@ fn P(o: O) { // CHECK:STDOUT: specific @HasK.WithSelf(constants.%HasK.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasK.facet -// CHECK:STDOUT: %HasK.WithSelf.K.type => constants.%HasK.WithSelf.K.type.a2f -// CHECK:STDOUT: %HasK.WithSelf.K => constants.%HasK.WithSelf.K.67e +// CHECK:STDOUT: %HasK.WithSelf.K.type => constants.%HasK.WithSelf.K.type.211 +// CHECK:STDOUT: %HasK.WithSelf.K => constants.%HasK.WithSelf.K.52a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasK.WithSelf.K(constants.%HasK.facet) {} @@ -939,8 +939,8 @@ fn P(o: O) { // CHECK:STDOUT: specific @HasK.WithSelf(constants.%L.type.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%L.type.facet -// CHECK:STDOUT: %HasK.WithSelf.K.type => constants.%HasK.WithSelf.K.type.65f -// CHECK:STDOUT: %HasK.WithSelf.K => constants.%HasK.WithSelf.K.70d +// CHECK:STDOUT: %HasK.WithSelf.K.type => constants.%HasK.WithSelf.K.type.023 +// CHECK:STDOUT: %HasK.WithSelf.K => constants.%HasK.WithSelf.K.84b // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- ambiguity_hidden.carbon @@ -953,35 +953,35 @@ fn P(o: O) { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %HasN1.type: type = facet_type <@HasN1> [concrete] -// CHECK:STDOUT: %Self.deb: %HasN1.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasN1.WithSelf.N.type.2c1: type = fn_type @HasN1.WithSelf.N, @HasN1.WithSelf(%Self.deb) [symbolic] -// CHECK:STDOUT: %HasN1.WithSelf.N.860: %HasN1.WithSelf.N.type.2c1 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.23c: %HasN1.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %HasN1.WithSelf.N.type.bec: type = fn_type @HasN1.WithSelf.N, @HasN1.WithSelf(%Self.23c) [symbolic] +// CHECK:STDOUT: %HasN1.WithSelf.N.91b: %HasN1.WithSelf.N.type.bec = struct_value () [symbolic] // CHECK:STDOUT: %HasN1.assoc_type: type = assoc_entity_type @HasN1 [concrete] -// CHECK:STDOUT: %assoc0.d6f: %HasN1.assoc_type = assoc_entity element0, @HasN1.WithSelf.%HasN1.WithSelf.N.decl [concrete] +// CHECK:STDOUT: %assoc0.a42: %HasN1.assoc_type = assoc_entity element0, @HasN1.WithSelf.%HasN1.WithSelf.N.decl [concrete] // CHECK:STDOUT: %HasN2.type: type = facet_type <@HasN2> [concrete] -// CHECK:STDOUT: %Self.fb5: %HasN2.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %HasN2.WithSelf.N.type.81f: type = fn_type @HasN2.WithSelf.N, @HasN2.WithSelf(%Self.fb5) [symbolic] -// CHECK:STDOUT: %HasN2.WithSelf.N.9af: %HasN2.WithSelf.N.type.81f = struct_value () [symbolic] +// CHECK:STDOUT: %Self.c9f: %HasN2.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %HasN2.WithSelf.N.type.d79: type = fn_type @HasN2.WithSelf.N, @HasN2.WithSelf(%Self.c9f) [symbolic] +// CHECK:STDOUT: %HasN2.WithSelf.N.e63: %HasN2.WithSelf.N.type.d79 = struct_value () [symbolic] // CHECK:STDOUT: %HasN2.assoc_type: type = assoc_entity_type @HasN2 [concrete] -// CHECK:STDOUT: %assoc0.afd: %HasN2.assoc_type = assoc_entity element0, @HasN2.WithSelf.%HasN2.WithSelf.N.decl [concrete] +// CHECK:STDOUT: %assoc0.d15: %HasN2.assoc_type = assoc_entity element0, @HasN2.WithSelf.%HasN2.WithSelf.N.decl [concrete] // CHECK:STDOUT: %O: type = class_type @O [concrete] // CHECK:STDOUT: %O.elem: type = unbound_element_type %O, %NBase [concrete] // CHECK:STDOUT: %HasN1.impl_witness: = impl_witness @O.as.HasN1.impl.%HasN1.impl_witness_table [concrete] // CHECK:STDOUT: %O.as.HasN1.impl.N.type: type = fn_type @O.as.HasN1.impl.N [concrete] // CHECK:STDOUT: %O.as.HasN1.impl.N: %O.as.HasN1.impl.N.type = struct_value () [concrete] // CHECK:STDOUT: %HasN1.facet: %HasN1.type = facet_value %O, (%HasN1.impl_witness) [concrete] -// CHECK:STDOUT: %HasN1.WithSelf.N.type.09a: type = fn_type @HasN1.WithSelf.N, @HasN1.WithSelf(%HasN1.facet) [concrete] -// CHECK:STDOUT: %HasN1.WithSelf.N.fa5: %HasN1.WithSelf.N.type.09a = struct_value () [concrete] +// CHECK:STDOUT: %HasN1.WithSelf.N.type.aa9: type = fn_type @HasN1.WithSelf.N, @HasN1.WithSelf(%HasN1.facet) [concrete] +// CHECK:STDOUT: %HasN1.WithSelf.N.6b9: %HasN1.WithSelf.N.type.aa9 = struct_value () [concrete] // CHECK:STDOUT: %HasN2.impl_witness: = impl_witness @O.as.HasN2.impl.%HasN2.impl_witness_table [concrete] // CHECK:STDOUT: %O.as.HasN2.impl.N.type: type = fn_type @O.as.HasN2.impl.N [concrete] // CHECK:STDOUT: %O.as.HasN2.impl.N: %O.as.HasN2.impl.N.type = struct_value () [concrete] // CHECK:STDOUT: %HasN2.facet: %HasN2.type = facet_value %O, (%HasN2.impl_witness) [concrete] -// CHECK:STDOUT: %HasN2.WithSelf.N.type.1f0: type = fn_type @HasN2.WithSelf.N, @HasN2.WithSelf(%HasN2.facet) [concrete] -// CHECK:STDOUT: %HasN2.WithSelf.N.05d: %HasN2.WithSelf.N.type.1f0 = struct_value () [concrete] +// CHECK:STDOUT: %HasN2.WithSelf.N.type.3a2: type = fn_type @HasN2.WithSelf.N, @HasN2.WithSelf(%HasN2.facet) [concrete] +// CHECK:STDOUT: %HasN2.WithSelf.N.129: %HasN2.WithSelf.N.type.3a2 = struct_value () [concrete] // CHECK:STDOUT: %O.N.type: type = fn_type @O.N [concrete] // CHECK:STDOUT: %O.N: %O.N.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.base.015: type = struct_type {.base: %NBase} [concrete] -// CHECK:STDOUT: %complete_type.ff4: = complete_type_witness %struct_type.base.015 [concrete] +// CHECK:STDOUT: %struct_type.base.9ec: type = struct_type {.base: %NBase} [concrete] +// CHECK:STDOUT: %complete_type.299: = complete_type_witness %struct_type.base.9ec [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %O [concrete] // CHECK:STDOUT: %P.type: type = fn_type @P [concrete] // CHECK:STDOUT: %P: %P.type = struct_value () [concrete] @@ -1010,12 +1010,12 @@ fn P(o: O) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @HasN1 { -// CHECK:STDOUT: %Self: %HasN1.type = symbolic_binding Self, 0 [symbolic = constants.%Self.deb] +// CHECK:STDOUT: %Self: %HasN1.type = symbolic_binding Self, 0 [symbolic = constants.%Self.23c] // CHECK:STDOUT: %HasN1.WithSelf.decl = interface_with_self_decl @HasN1 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasN1.WithSelf.N.decl: @HasN1.WithSelf.%HasN1.WithSelf.N.type (%HasN1.WithSelf.N.type.2c1) = fn_decl @HasN1.WithSelf.N [symbolic = @HasN1.WithSelf.%HasN1.WithSelf.N (constants.%HasN1.WithSelf.N.860)] {} {} -// CHECK:STDOUT: %assoc0: %HasN1.assoc_type = assoc_entity element0, %HasN1.WithSelf.N.decl [concrete = constants.%assoc0.d6f] +// CHECK:STDOUT: %HasN1.WithSelf.N.decl: @HasN1.WithSelf.%HasN1.WithSelf.N.type (%HasN1.WithSelf.N.type.bec) = fn_decl @HasN1.WithSelf.N [symbolic = @HasN1.WithSelf.%HasN1.WithSelf.N (constants.%HasN1.WithSelf.N.91b)] {} {} +// CHECK:STDOUT: %assoc0: %HasN1.assoc_type = assoc_entity element0, %HasN1.WithSelf.N.decl [concrete = constants.%assoc0.a42] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -1027,12 +1027,12 @@ fn P(o: O) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @HasN2 { -// CHECK:STDOUT: %Self: %HasN2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.fb5] +// CHECK:STDOUT: %Self: %HasN2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c9f] // CHECK:STDOUT: %HasN2.WithSelf.decl = interface_with_self_decl @HasN2 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %HasN2.WithSelf.N.decl: @HasN2.WithSelf.%HasN2.WithSelf.N.type (%HasN2.WithSelf.N.type.81f) = fn_decl @HasN2.WithSelf.N [symbolic = @HasN2.WithSelf.%HasN2.WithSelf.N (constants.%HasN2.WithSelf.N.9af)] {} {} -// CHECK:STDOUT: %assoc0: %HasN2.assoc_type = assoc_entity element0, %HasN2.WithSelf.N.decl [concrete = constants.%assoc0.afd] +// CHECK:STDOUT: %HasN2.WithSelf.N.decl: @HasN2.WithSelf.%HasN2.WithSelf.N.type (%HasN2.WithSelf.N.type.d79) = fn_decl @HasN2.WithSelf.N [symbolic = @HasN2.WithSelf.%HasN2.WithSelf.N (constants.%HasN2.WithSelf.N.e63)] {} {} +// CHECK:STDOUT: %assoc0: %HasN2.assoc_type = assoc_entity element0, %HasN2.WithSelf.N.decl [concrete = constants.%assoc0.d15] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -1088,7 +1088,7 @@ fn P(o: O) { // CHECK:STDOUT: %HasN2.ref: type = name_ref HasN2, file.%HasN2.decl [concrete = constants.%HasN2.type] // CHECK:STDOUT: } // CHECK:STDOUT: %O.N.decl: %O.N.type = fn_decl @O.N [concrete = constants.%O.N] {} {} -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.015 [concrete = constants.%complete_type.ff4] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.base.9ec [concrete = constants.%complete_type.299] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1139,29 +1139,29 @@ fn P(o: O) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasN1.WithSelf(constants.%Self.deb) { +// CHECK:STDOUT: specific @HasN1.WithSelf(constants.%Self.23c) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.deb -// CHECK:STDOUT: %HasN1.WithSelf.N.type => constants.%HasN1.WithSelf.N.type.2c1 -// CHECK:STDOUT: %HasN1.WithSelf.N => constants.%HasN1.WithSelf.N.860 +// CHECK:STDOUT: %Self => constants.%Self.23c +// CHECK:STDOUT: %HasN1.WithSelf.N.type => constants.%HasN1.WithSelf.N.type.bec +// CHECK:STDOUT: %HasN1.WithSelf.N => constants.%HasN1.WithSelf.N.91b // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasN1.WithSelf.N(constants.%Self.deb) {} +// CHECK:STDOUT: specific @HasN1.WithSelf.N(constants.%Self.23c) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasN2.WithSelf(constants.%Self.fb5) { +// CHECK:STDOUT: specific @HasN2.WithSelf(constants.%Self.c9f) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.fb5 -// CHECK:STDOUT: %HasN2.WithSelf.N.type => constants.%HasN2.WithSelf.N.type.81f -// CHECK:STDOUT: %HasN2.WithSelf.N => constants.%HasN2.WithSelf.N.9af +// CHECK:STDOUT: %Self => constants.%Self.c9f +// CHECK:STDOUT: %HasN2.WithSelf.N.type => constants.%HasN2.WithSelf.N.type.d79 +// CHECK:STDOUT: %HasN2.WithSelf.N => constants.%HasN2.WithSelf.N.e63 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @HasN2.WithSelf.N(constants.%Self.fb5) {} +// CHECK:STDOUT: specific @HasN2.WithSelf.N(constants.%Self.c9f) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @HasN1.WithSelf(constants.%HasN1.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasN1.facet -// CHECK:STDOUT: %HasN1.WithSelf.N.type => constants.%HasN1.WithSelf.N.type.09a -// CHECK:STDOUT: %HasN1.WithSelf.N => constants.%HasN1.WithSelf.N.fa5 +// CHECK:STDOUT: %HasN1.WithSelf.N.type => constants.%HasN1.WithSelf.N.type.aa9 +// CHECK:STDOUT: %HasN1.WithSelf.N => constants.%HasN1.WithSelf.N.6b9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasN1.WithSelf.N(constants.%HasN1.facet) {} @@ -1169,8 +1169,8 @@ fn P(o: O) { // CHECK:STDOUT: specific @HasN2.WithSelf(constants.%HasN2.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%HasN2.facet -// CHECK:STDOUT: %HasN2.WithSelf.N.type => constants.%HasN2.WithSelf.N.type.1f0 -// CHECK:STDOUT: %HasN2.WithSelf.N => constants.%HasN2.WithSelf.N.05d +// CHECK:STDOUT: %HasN2.WithSelf.N.type => constants.%HasN2.WithSelf.N.type.3a2 +// CHECK:STDOUT: %HasN2.WithSelf.N => constants.%HasN2.WithSelf.N.129 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @HasN2.WithSelf.N(constants.%HasN2.facet) {} diff --git a/toolchain/check/testdata/impl/name_lookup_in_impl_definition.carbon b/toolchain/check/testdata/impl/name_lookup_in_impl_definition.carbon index c5e50c7a6979..63aca758505c 100644 --- a/toolchain/check/testdata/impl/name_lookup_in_impl_definition.carbon +++ b/toolchain/check/testdata/impl/name_lookup_in_impl_definition.carbon @@ -37,8 +37,8 @@ impl forall [T:! type] T as I where .U = C { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %I.impl_witness: = impl_witness @T.as.I.impl.%I.impl_witness_table, @T.as.I.impl(%T) [symbolic] // CHECK:STDOUT: %I.facet: %I.type = facet_value %T, (%I.impl_witness) [symbolic] -// CHECK:STDOUT: %.878: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.77c: type = pattern_type %C [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %T.as.I.impl.F.type: type = fn_type @T.as.I.impl.F, @T.as.I.impl(%T) [symbolic] // CHECK:STDOUT: %T.as.I.impl.F: %T.as.I.impl.F.type = struct_value () [symbolic] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] @@ -53,14 +53,14 @@ impl forall [T:! type] T as I where .U = C { // CHECK:STDOUT: // CHECK:STDOUT: impl: %T.ref as %.loc10_31 { // CHECK:STDOUT: %T.as.I.impl.F.decl: @T.as.I.impl.%T.as.I.impl.F.type (%T.as.I.impl.F.type) = fn_decl @T.as.I.impl.F [symbolic = @T.as.I.impl.%T.as.I.impl.F (constants.%T.as.I.impl.F)] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.77c = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.77c = return_slot_pattern %return.param_patt, %U.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %U.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %I.facet.loc13_13.2: %I.type = facet_value @T.as.I.impl.%T.ref, (constants.%I.impl_witness) [symbolic = %I.facet.loc13_13.1 (constants.%I.facet)] // CHECK:STDOUT: %.loc13_13.1: %I.type = converted @T.as.I.impl.%T.ref, %I.facet.loc13_13.2 [symbolic = %I.facet.loc13_13.1 (constants.%I.facet)] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C] // CHECK:STDOUT: %U.ref: type = name_ref U, %impl.elem0 [concrete = constants.%C] -// CHECK:STDOUT: %.loc13_13.2: Core.Form = init_form %U.ref [concrete = constants.%.878] +// CHECK:STDOUT: %.loc13_13.2: Core.Form = init_form %U.ref [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/impl/no_definition_in_impl_file.carbon b/toolchain/check/testdata/impl/no_definition_in_impl_file.carbon index 7882f2618986..58f4b554bf87 100644 --- a/toolchain/check/testdata/impl/no_definition_in_impl_file.carbon +++ b/toolchain/check/testdata/impl/no_definition_in_impl_file.carbon @@ -151,9 +151,9 @@ impl () as D; // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.A: type = import_ref Main//decl_in_api_definition_in_impl, A, loaded [concrete = constants.%A.type] -// CHECK:STDOUT: %Main.import_ref.460 = import_ref Main//decl_in_api_definition_in_impl, loc4_13, unloaded +// CHECK:STDOUT: %Main.import_ref.687 = import_ref Main//decl_in_api_definition_in_impl, loc4_13, unloaded // CHECK:STDOUT: %Main.import_ref.e5c: type = import_ref Main//decl_in_api_definition_in_impl, loc10_7, loaded [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %Main.import_ref.960: type = import_ref Main//decl_in_api_definition_in_impl, loc10_12, loaded [concrete = constants.%A.type] +// CHECK:STDOUT: %Main.import_ref.7f7: type = import_ref Main//decl_in_api_definition_in_impl, loc10_12, loaded [concrete = constants.%A.type] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -162,12 +162,12 @@ impl () as D; // CHECK:STDOUT: } // CHECK:STDOUT: %default.import.loc2_46.1 = import // CHECK:STDOUT: %default.import.loc2_46.2 = import -// CHECK:STDOUT: impl_decl @empty_tuple.type.as.A.impl.aeb428.1 [concrete] {} { +// CHECK:STDOUT: impl_decl @empty_tuple.type.as.A.impl.5f5e2c.1 [concrete] {} { // CHECK:STDOUT: %.loc8_7.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_7.2: type = converted %.loc8_7.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %A.ref: type = name_ref A, imports.%Main.A [concrete = constants.%A.type] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @empty_tuple.type.as.A.impl.aeb428.2 [concrete] {} { +// CHECK:STDOUT: impl_decl @empty_tuple.type.as.A.impl.5f5e2c.2 [concrete] {} { // CHECK:STDOUT: %.loc14_7.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc14_7.2: type = converted %.loc14_7.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %A.ref: type = name_ref A, imports.%Main.A [concrete = constants.%A.type] @@ -176,17 +176,17 @@ impl () as D; // CHECK:STDOUT: // CHECK:STDOUT: interface @A [from "fail_decl_in_api_definition_in_impl.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.460 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.687 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @empty_tuple.type.as.A.impl.3f6: imports.%Main.import_ref.e5c as imports.%Main.import_ref.960 [from "fail_decl_in_api_definition_in_impl.carbon"]; +// CHECK:STDOUT: impl @empty_tuple.type.as.A.impl.87a: imports.%Main.import_ref.e5c as imports.%Main.import_ref.7f7 [from "fail_decl_in_api_definition_in_impl.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: impl @empty_tuple.type.as.A.impl.aeb428.1: %.loc8_7.2 as %A.ref; +// CHECK:STDOUT: impl @empty_tuple.type.as.A.impl.5f5e2c.1: %.loc8_7.2 as %A.ref; // CHECK:STDOUT: -// CHECK:STDOUT: impl @empty_tuple.type.as.A.impl.aeb428.2: %.loc14_7.2 as %A.ref { +// CHECK:STDOUT: impl @empty_tuple.type.as.A.impl.5f5e2c.2: %.loc14_7.2 as %A.ref { // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %A.ref // CHECK:STDOUT: witness = @@ -260,9 +260,9 @@ impl () as D; // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.B = import_ref Main//decl_only_in_api, B, unloaded -// CHECK:STDOUT: %Main.import_ref.922 = import_ref Main//decl_only_in_api, loc4_13, unloaded +// CHECK:STDOUT: %Main.import_ref.f95 = import_ref Main//decl_only_in_api, loc4_13, unloaded // CHECK:STDOUT: %Main.import_ref.e5c: type = import_ref Main//decl_only_in_api, loc10_7, loaded [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %Main.import_ref.eaf: type = import_ref Main//decl_only_in_api, loc10_12, loaded [concrete = constants.%B.type] +// CHECK:STDOUT: %Main.import_ref.7eb: type = import_ref Main//decl_only_in_api, loc10_12, loaded [concrete = constants.%B.type] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -275,13 +275,13 @@ impl () as D; // CHECK:STDOUT: // CHECK:STDOUT: interface @B [from "fail_decl_only_in_api.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.922 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.f95 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @empty_tuple.type.as.B.impl: imports.%Main.import_ref.e5c as imports.%Main.import_ref.eaf [from "fail_decl_only_in_api.carbon"]; +// CHECK:STDOUT: impl @empty_tuple.type.as.B.impl: imports.%Main.import_ref.e5c as imports.%Main.import_ref.7eb [from "fail_decl_only_in_api.carbon"]; // CHECK:STDOUT: // CHECK:STDOUT: specific @B.WithSelf(constants.%Self) {} // CHECK:STDOUT: @@ -332,9 +332,9 @@ impl () as D; // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//decl_in_api_decl_in_impl, C, loaded [concrete = constants.%C.type] -// CHECK:STDOUT: %Main.import_ref.0f9 = import_ref Main//decl_in_api_decl_in_impl, loc4_13, unloaded +// CHECK:STDOUT: %Main.import_ref.007 = import_ref Main//decl_in_api_decl_in_impl, loc4_13, unloaded // CHECK:STDOUT: %Main.import_ref.e5c: type = import_ref Main//decl_in_api_decl_in_impl, loc10_7, loaded [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %Main.import_ref.5fe: type = import_ref Main//decl_in_api_decl_in_impl, loc10_12, loaded [concrete = constants.%C.type] +// CHECK:STDOUT: %Main.import_ref.dd5: type = import_ref Main//decl_in_api_decl_in_impl, loc10_12, loaded [concrete = constants.%C.type] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -343,7 +343,7 @@ impl () as D; // CHECK:STDOUT: } // CHECK:STDOUT: %default.import.loc2_40.1 = import // CHECK:STDOUT: %default.import.loc2_40.2 = import -// CHECK:STDOUT: impl_decl @empty_tuple.type.as.C.impl.3a7 [concrete] {} { +// CHECK:STDOUT: impl_decl @empty_tuple.type.as.C.impl.ac7 [concrete] {} { // CHECK:STDOUT: %.loc8_7.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_7.2: type = converted %.loc8_7.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C.type] @@ -352,15 +352,15 @@ impl () as D; // CHECK:STDOUT: // CHECK:STDOUT: interface @C [from "fail_decl_in_api_decl_in_impl.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.0f9 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.007 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @empty_tuple.type.as.C.impl.61e: imports.%Main.import_ref.e5c as imports.%Main.import_ref.5fe [from "fail_decl_in_api_decl_in_impl.carbon"]; +// CHECK:STDOUT: impl @empty_tuple.type.as.C.impl.4c7: imports.%Main.import_ref.e5c as imports.%Main.import_ref.dd5 [from "fail_decl_in_api_decl_in_impl.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: impl @empty_tuple.type.as.C.impl.3a7: %.loc8_7.2 as %C.ref; +// CHECK:STDOUT: impl @empty_tuple.type.as.C.impl.ac7: %.loc8_7.2 as %C.ref; // CHECK:STDOUT: // CHECK:STDOUT: specific @C.WithSelf(constants.%Self) {} // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/self_in_class.carbon b/toolchain/check/testdata/impl/self_in_class.carbon index ff076b6aae0f..846ed658bd20 100644 --- a/toolchain/check/testdata/impl/self_in_class.carbon +++ b/toolchain/check/testdata/impl/self_in_class.carbon @@ -32,10 +32,10 @@ class A { // CHECK:STDOUT: %DefaultConstructible.type: type = facet_type <@DefaultConstructible> [concrete] // CHECK:STDOUT: %Self: %DefaultConstructible.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %.2e3: Core.Form = init_form %Self.as_type [symbolic] -// CHECK:STDOUT: %pattern_type.c82: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.type.df4: type = fn_type @DefaultConstructible.WithSelf.Make, @DefaultConstructible.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.975: %DefaultConstructible.WithSelf.Make.type.df4 = struct_value () [symbolic] +// CHECK:STDOUT: %.8c2: Core.Form = init_form %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.ad8: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.type.e02: type = fn_type @DefaultConstructible.WithSelf.Make, @DefaultConstructible.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.20d: %DefaultConstructible.WithSelf.Make.type.e02 = struct_value () [symbolic] // CHECK:STDOUT: %DefaultConstructible.assoc_type: type = assoc_entity_type @DefaultConstructible [concrete] // CHECK:STDOUT: %assoc0: %DefaultConstructible.assoc_type = assoc_entity element0, @DefaultConstructible.WithSelf.%DefaultConstructible.WithSelf.Make.decl [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] @@ -43,13 +43,13 @@ class A { // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %A: type = class_type @A [concrete] // CHECK:STDOUT: %DefaultConstructible.impl_witness: = impl_witness @C.as.DefaultConstructible.impl.%DefaultConstructible.impl_witness_table [concrete] -// CHECK:STDOUT: %.e64: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.as.DefaultConstructible.impl.Make.type: type = fn_type @C.as.DefaultConstructible.impl.Make [concrete] // CHECK:STDOUT: %C.as.DefaultConstructible.impl.Make: %C.as.DefaultConstructible.impl.Make.type = struct_value () [concrete] // CHECK:STDOUT: %DefaultConstructible.facet: %DefaultConstructible.type = facet_value %C, (%DefaultConstructible.impl_witness) [concrete] -// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.type.2d4: type = fn_type @DefaultConstructible.WithSelf.Make, @DefaultConstructible.WithSelf(%DefaultConstructible.facet) [concrete] -// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.037: %DefaultConstructible.WithSelf.Make.type.2d4 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.type.093: type = fn_type @DefaultConstructible.WithSelf.Make, @DefaultConstructible.WithSelf(%DefaultConstructible.facet) [concrete] +// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.36d: %DefaultConstructible.WithSelf.Make.type.093 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] // CHECK:STDOUT: } @@ -70,14 +70,14 @@ class A { // CHECK:STDOUT: %DefaultConstructible.WithSelf.decl = interface_with_self_decl @DefaultConstructible [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.decl: @DefaultConstructible.WithSelf.%DefaultConstructible.WithSelf.Make.type (%DefaultConstructible.WithSelf.Make.type.df4) = fn_decl @DefaultConstructible.WithSelf.Make [symbolic = @DefaultConstructible.WithSelf.%DefaultConstructible.WithSelf.Make (constants.%DefaultConstructible.WithSelf.Make.975)] { -// CHECK:STDOUT: %return.param_patt: @DefaultConstructible.WithSelf.Make.%pattern_type (%pattern_type.c82) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @DefaultConstructible.WithSelf.Make.%pattern_type (%pattern_type.c82) = return_slot_pattern %return.param_patt, %.loc16_16.2 [concrete] +// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.decl: @DefaultConstructible.WithSelf.%DefaultConstructible.WithSelf.Make.type (%DefaultConstructible.WithSelf.Make.type.e02) = fn_decl @DefaultConstructible.WithSelf.Make [symbolic = @DefaultConstructible.WithSelf.%DefaultConstructible.WithSelf.Make (constants.%DefaultConstructible.WithSelf.Make.20d)] { +// CHECK:STDOUT: %return.param_patt: @DefaultConstructible.WithSelf.Make.%pattern_type (%pattern_type.ad8) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @DefaultConstructible.WithSelf.Make.%pattern_type (%pattern_type.ad8) = return_slot_pattern %return.param_patt, %.loc16_16.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.ref: %DefaultConstructible.type = name_ref Self, @DefaultConstructible.%Self [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc16_16.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc16_16.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc16_16.2: type = converted %Self.ref, %Self.as_type.loc16_16.2 [symbolic = %Self.as_type.loc16_16.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %.loc16_16.3: Core.Form = init_form %.loc16_16.2 [symbolic = %.loc16_16.1 (constants.%.2e3)] +// CHECK:STDOUT: %.loc16_16.3: Core.Form = init_form %.loc16_16.2 [symbolic = %.loc16_16.1 (constants.%.8c2)] // CHECK:STDOUT: %return.param: ref @DefaultConstructible.WithSelf.Make.%Self.as_type.loc16_16.1 (%Self.as_type) = out_param call_param0 // CHECK:STDOUT: %return: ref @DefaultConstructible.WithSelf.Make.%Self.as_type.loc16_16.1 (%Self.as_type) = return_slot %return.param // CHECK:STDOUT: } @@ -93,11 +93,11 @@ class A { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.DefaultConstructible.impl: %C.ref as %DefaultConstructible.ref { // CHECK:STDOUT: %C.as.DefaultConstructible.impl.Make.decl: %C.as.DefaultConstructible.impl.Make.type = fn_decl @C.as.DefaultConstructible.impl.Make [concrete = constants.%C.as.DefaultConstructible.impl.Make] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.d7b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.d7b = return_slot_pattern %return.param_patt, %Self.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %Self.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.DefaultConstructible.impl.%C.ref [concrete = constants.%C] -// CHECK:STDOUT: %.loc25_18: Core.Form = init_form %Self.ref [concrete = constants.%.e64] +// CHECK:STDOUT: %.loc25_18: Core.Form = init_form %Self.ref [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } @@ -135,8 +135,8 @@ class A { // CHECK:STDOUT: generic fn @DefaultConstructible.WithSelf.Make(@DefaultConstructible.%Self: %DefaultConstructible.type) { // CHECK:STDOUT: %Self: %DefaultConstructible.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc16_16.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc16_16.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %.loc16_16.1: Core.Form = init_form %Self.as_type.loc16_16.1 [symbolic = %.loc16_16.1 (constants.%.2e3)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc16_16.1 [symbolic = %pattern_type (constants.%pattern_type.c82)] +// CHECK:STDOUT: %.loc16_16.1: Core.Form = init_form %Self.as_type.loc16_16.1 [symbolic = %.loc16_16.1 (constants.%.8c2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc16_16.1 [symbolic = %pattern_type (constants.%pattern_type.ad8)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @DefaultConstructible.WithSelf.Make.%Self.as_type.loc16_16.1 (%Self.as_type); // CHECK:STDOUT: } @@ -152,28 +152,28 @@ class A { // CHECK:STDOUT: specific @DefaultConstructible.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.type => constants.%DefaultConstructible.WithSelf.Make.type.df4 -// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make => constants.%DefaultConstructible.WithSelf.Make.975 +// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.type => constants.%DefaultConstructible.WithSelf.Make.type.e02 +// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make => constants.%DefaultConstructible.WithSelf.Make.20d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @DefaultConstructible.WithSelf.Make(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc16_16.1 => constants.%Self.as_type -// CHECK:STDOUT: %.loc16_16.1 => constants.%.2e3 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c82 +// CHECK:STDOUT: %.loc16_16.1 => constants.%.8c2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ad8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @DefaultConstructible.WithSelf(constants.%DefaultConstructible.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%DefaultConstructible.facet -// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.type => constants.%DefaultConstructible.WithSelf.Make.type.2d4 -// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make => constants.%DefaultConstructible.WithSelf.Make.037 +// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make.type => constants.%DefaultConstructible.WithSelf.Make.type.093 +// CHECK:STDOUT: %DefaultConstructible.WithSelf.Make => constants.%DefaultConstructible.WithSelf.Make.36d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @DefaultConstructible.WithSelf.Make(constants.%DefaultConstructible.facet) { // CHECK:STDOUT: %Self => constants.%DefaultConstructible.facet // CHECK:STDOUT: %Self.as_type.loc16_16.1 => constants.%C -// CHECK:STDOUT: %.loc16_16.1 => constants.%.e64 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d7b +// CHECK:STDOUT: %.loc16_16.1 => constants.%.8f0 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/self_in_signature.carbon b/toolchain/check/testdata/impl/self_in_signature.carbon index 707f62a4d568..1b662ce250d2 100644 --- a/toolchain/check/testdata/impl/self_in_signature.carbon +++ b/toolchain/check/testdata/impl/self_in_signature.carbon @@ -44,74 +44,74 @@ impl D as SelfNested { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %UseSelf.type: type = facet_type <@UseSelf> [concrete] -// CHECK:STDOUT: %Self.c92: %UseSelf.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.0de: type = facet_access_type %Self.c92 [symbolic] -// CHECK:STDOUT: %pattern_type.465: type = pattern_type %Self.as_type.0de [symbolic] -// CHECK:STDOUT: %.8d7: Core.Form = init_form %Self.as_type.0de [symbolic] -// CHECK:STDOUT: %UseSelf.WithSelf.F.type.b86: type = fn_type @UseSelf.WithSelf.F, @UseSelf.WithSelf(%Self.c92) [symbolic] +// CHECK:STDOUT: %Self.aea: %UseSelf.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.b41: type = facet_access_type %Self.aea [symbolic] +// CHECK:STDOUT: %pattern_type.949: type = pattern_type %Self.as_type.b41 [symbolic] +// CHECK:STDOUT: %.edf: Core.Form = init_form %Self.as_type.b41 [symbolic] +// CHECK:STDOUT: %UseSelf.WithSelf.F.type.162: type = fn_type @UseSelf.WithSelf.F, @UseSelf.WithSelf(%Self.aea) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %UseSelf.WithSelf.F.b14: %UseSelf.WithSelf.F.type.b86 = struct_value () [symbolic] +// CHECK:STDOUT: %UseSelf.WithSelf.F.91b: %UseSelf.WithSelf.F.type.162 = struct_value () [symbolic] // CHECK:STDOUT: %UseSelf.assoc_type: type = assoc_entity_type @UseSelf [concrete] -// CHECK:STDOUT: %assoc0.018: %UseSelf.assoc_type = assoc_entity element0, @UseSelf.WithSelf.%UseSelf.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.d6a: %UseSelf.assoc_type = assoc_entity element0, @UseSelf.WithSelf.%UseSelf.WithSelf.F.decl [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] -// CHECK:STDOUT: %UseSelf.impl_witness.30d: = impl_witness @C.as.UseSelf.impl.%UseSelf.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] -// CHECK:STDOUT: %.e64: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %UseSelf.impl_witness.8ec: = impl_witness @C.as.UseSelf.impl.%UseSelf.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] // CHECK:STDOUT: %C.as.UseSelf.impl.F.type: type = fn_type @C.as.UseSelf.impl.F [concrete] // CHECK:STDOUT: %C.as.UseSelf.impl.F: %C.as.UseSelf.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %UseSelf.facet.615: %UseSelf.type = facet_value %C, (%UseSelf.impl_witness.30d) [concrete] -// CHECK:STDOUT: %UseSelf.WithSelf.F.type.01d: type = fn_type @UseSelf.WithSelf.F, @UseSelf.WithSelf(%UseSelf.facet.615) [concrete] -// CHECK:STDOUT: %UseSelf.WithSelf.F.89f: %UseSelf.WithSelf.F.type.01d = struct_value () [concrete] +// CHECK:STDOUT: %UseSelf.facet.b77: %UseSelf.type = facet_value %C, (%UseSelf.impl_witness.8ec) [concrete] +// CHECK:STDOUT: %UseSelf.WithSelf.F.type.acc: type = fn_type @UseSelf.WithSelf.F, @UseSelf.WithSelf(%UseSelf.facet.b77) [concrete] +// CHECK:STDOUT: %UseSelf.WithSelf.F.209: %UseSelf.WithSelf.F.type.acc = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %UseSelf.impl_witness.346: = impl_witness @D.as.UseSelf.impl.%UseSelf.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.636: type = pattern_type %D [concrete] -// CHECK:STDOUT: %.54f: Core.Form = init_form %D [concrete] +// CHECK:STDOUT: %UseSelf.impl_witness.6ee: = impl_witness @D.as.UseSelf.impl.%UseSelf.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.f1a: type = pattern_type %D [concrete] +// CHECK:STDOUT: %.f19: Core.Form = init_form %D [concrete] // CHECK:STDOUT: %D.as.UseSelf.impl.F.type: type = fn_type @D.as.UseSelf.impl.F [concrete] // CHECK:STDOUT: %D.as.UseSelf.impl.F: %D.as.UseSelf.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %UseSelf.facet.44d: %UseSelf.type = facet_value %D, (%UseSelf.impl_witness.346) [concrete] -// CHECK:STDOUT: %UseSelf.WithSelf.F.type.135: type = fn_type @UseSelf.WithSelf.F, @UseSelf.WithSelf(%UseSelf.facet.44d) [concrete] -// CHECK:STDOUT: %UseSelf.WithSelf.F.612: %UseSelf.WithSelf.F.type.135 = struct_value () [concrete] +// CHECK:STDOUT: %UseSelf.facet.16a: %UseSelf.type = facet_value %D, (%UseSelf.impl_witness.6ee) [concrete] +// CHECK:STDOUT: %UseSelf.WithSelf.F.type.f22: type = fn_type @UseSelf.WithSelf.F, @UseSelf.WithSelf(%UseSelf.facet.16a) [concrete] +// CHECK:STDOUT: %UseSelf.WithSelf.F.7e1: %UseSelf.WithSelf.F.type.f22 = struct_value () [concrete] // CHECK:STDOUT: %D.val: %D = struct_value () [concrete] // CHECK:STDOUT: %SelfNested.type: type = facet_type <@SelfNested> [concrete] -// CHECK:STDOUT: %Self.f72: %SelfNested.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.b0a: type = facet_access_type %Self.f72 [symbolic] -// CHECK:STDOUT: %ptr.9b4: type = ptr_type %Self.as_type.b0a [symbolic] +// CHECK:STDOUT: %Self.d32: %SelfNested.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.fd2: type = facet_access_type %Self.d32 [symbolic] +// CHECK:STDOUT: %ptr.99d: type = ptr_type %Self.as_type.fd2 [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %struct_type.x.y.eb5: type = struct_type {.x: %Self.as_type.b0a, .y: %empty_tuple.type} [symbolic] +// CHECK:STDOUT: %struct_type.x.y.a76: type = struct_type {.x: %Self.as_type.fd2, .y: %empty_tuple.type} [symbolic] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.27b: %tuple.type.24b = tuple_value (%ptr.9b4, %struct_type.x.y.eb5) [symbolic] -// CHECK:STDOUT: %tuple.type.bc0: type = tuple_type (%ptr.9b4, %struct_type.x.y.eb5) [symbolic] -// CHECK:STDOUT: %pattern_type.254: type = pattern_type %tuple.type.bc0 [symbolic] -// CHECK:STDOUT: %SelfNested.WithSelf.F.type.a41: type = fn_type @SelfNested.WithSelf.F, @SelfNested.WithSelf(%Self.f72) [symbolic] -// CHECK:STDOUT: %SelfNested.WithSelf.F.004: %SelfNested.WithSelf.F.type.a41 = struct_value () [symbolic] +// CHECK:STDOUT: %tuple.f48: %tuple.type.24b = tuple_value (%ptr.99d, %struct_type.x.y.a76) [symbolic] +// CHECK:STDOUT: %tuple.type.b72: type = tuple_type (%ptr.99d, %struct_type.x.y.a76) [symbolic] +// CHECK:STDOUT: %pattern_type.21c: type = pattern_type %tuple.type.b72 [symbolic] +// CHECK:STDOUT: %SelfNested.WithSelf.F.type.9b9: type = fn_type @SelfNested.WithSelf.F, @SelfNested.WithSelf(%Self.d32) [symbolic] +// CHECK:STDOUT: %SelfNested.WithSelf.F.d66: %SelfNested.WithSelf.F.type.9b9 = struct_value () [symbolic] // CHECK:STDOUT: %SelfNested.assoc_type: type = assoc_entity_type @SelfNested [concrete] -// CHECK:STDOUT: %assoc0.45a: %SelfNested.assoc_type = assoc_entity element0, @SelfNested.WithSelf.%SelfNested.WithSelf.F.decl [concrete] -// CHECK:STDOUT: %SelfNested.impl_witness.b56: = impl_witness @C.as.SelfNested.impl.%SelfNested.impl_witness_table [concrete] -// CHECK:STDOUT: %ptr.e38: type = ptr_type %C [concrete] -// CHECK:STDOUT: %struct_type.x.y.2b2: type = struct_type {.x: %C, .y: %empty_tuple.type} [concrete] -// CHECK:STDOUT: %tuple.a80: %tuple.type.24b = tuple_value (%ptr.e38, %struct_type.x.y.2b2) [concrete] -// CHECK:STDOUT: %tuple.type.4c8: type = tuple_type (%ptr.e38, %struct_type.x.y.2b2) [concrete] -// CHECK:STDOUT: %pattern_type.59a: type = pattern_type %tuple.type.4c8 [concrete] +// CHECK:STDOUT: %assoc0.338: %SelfNested.assoc_type = assoc_entity element0, @SelfNested.WithSelf.%SelfNested.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %SelfNested.impl_witness.97c: = impl_witness @C.as.SelfNested.impl.%SelfNested.impl_witness_table [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %struct_type.x.y.f6d: type = struct_type {.x: %C, .y: %empty_tuple.type} [concrete] +// CHECK:STDOUT: %tuple.0dc: %tuple.type.24b = tuple_value (%ptr.6be, %struct_type.x.y.f6d) [concrete] +// CHECK:STDOUT: %tuple.type.0ff: type = tuple_type (%ptr.6be, %struct_type.x.y.f6d) [concrete] +// CHECK:STDOUT: %pattern_type.05a: type = pattern_type %tuple.type.0ff [concrete] // CHECK:STDOUT: %C.as.SelfNested.impl.F.type: type = fn_type @C.as.SelfNested.impl.F [concrete] // CHECK:STDOUT: %C.as.SelfNested.impl.F: %C.as.SelfNested.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %SelfNested.facet.066: %SelfNested.type = facet_value %C, (%SelfNested.impl_witness.b56) [concrete] -// CHECK:STDOUT: %SelfNested.WithSelf.F.type.cac: type = fn_type @SelfNested.WithSelf.F, @SelfNested.WithSelf(%SelfNested.facet.066) [concrete] -// CHECK:STDOUT: %SelfNested.WithSelf.F.7d8: %SelfNested.WithSelf.F.type.cac = struct_value () [concrete] -// CHECK:STDOUT: %SelfNested.impl_witness.bf8: = impl_witness @D.as.SelfNested.impl.%SelfNested.impl_witness_table [concrete] -// CHECK:STDOUT: %ptr.30b: type = ptr_type %D [concrete] -// CHECK:STDOUT: %struct_type.x.y.7d8: type = struct_type {.x: %D, .y: %empty_tuple.type} [concrete] -// CHECK:STDOUT: %tuple.9dc: %tuple.type.24b = tuple_value (%ptr.30b, %struct_type.x.y.7d8) [concrete] -// CHECK:STDOUT: %tuple.type.9f6: type = tuple_type (%ptr.30b, %struct_type.x.y.7d8) [concrete] -// CHECK:STDOUT: %pattern_type.feb: type = pattern_type %tuple.type.9f6 [concrete] +// CHECK:STDOUT: %SelfNested.facet.593: %SelfNested.type = facet_value %C, (%SelfNested.impl_witness.97c) [concrete] +// CHECK:STDOUT: %SelfNested.WithSelf.F.type.c4b: type = fn_type @SelfNested.WithSelf.F, @SelfNested.WithSelf(%SelfNested.facet.593) [concrete] +// CHECK:STDOUT: %SelfNested.WithSelf.F.899: %SelfNested.WithSelf.F.type.c4b = struct_value () [concrete] +// CHECK:STDOUT: %SelfNested.impl_witness.0f1: = impl_witness @D.as.SelfNested.impl.%SelfNested.impl_witness_table [concrete] +// CHECK:STDOUT: %ptr.c12: type = ptr_type %D [concrete] +// CHECK:STDOUT: %struct_type.x.y.e65: type = struct_type {.x: %D, .y: %empty_tuple.type} [concrete] +// CHECK:STDOUT: %tuple.9ca: %tuple.type.24b = tuple_value (%ptr.c12, %struct_type.x.y.e65) [concrete] +// CHECK:STDOUT: %tuple.type.1a8: type = tuple_type (%ptr.c12, %struct_type.x.y.e65) [concrete] +// CHECK:STDOUT: %pattern_type.3e5: type = pattern_type %tuple.type.1a8 [concrete] // CHECK:STDOUT: %D.as.SelfNested.impl.F.type: type = fn_type @D.as.SelfNested.impl.F [concrete] // CHECK:STDOUT: %D.as.SelfNested.impl.F: %D.as.SelfNested.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %SelfNested.facet.ece: %SelfNested.type = facet_value %D, (%SelfNested.impl_witness.bf8) [concrete] -// CHECK:STDOUT: %SelfNested.WithSelf.F.type.321: type = fn_type @SelfNested.WithSelf.F, @SelfNested.WithSelf(%SelfNested.facet.ece) [concrete] -// CHECK:STDOUT: %SelfNested.WithSelf.F.c36: %SelfNested.WithSelf.F.type.321 = struct_value () [concrete] +// CHECK:STDOUT: %SelfNested.facet.93e: %SelfNested.type = facet_value %D, (%SelfNested.impl_witness.0f1) [concrete] +// CHECK:STDOUT: %SelfNested.WithSelf.F.type.4ca: type = fn_type @SelfNested.WithSelf.F, @SelfNested.WithSelf(%SelfNested.facet.93e) [concrete] +// CHECK:STDOUT: %SelfNested.WithSelf.F.3a5: %SelfNested.WithSelf.F.type.4ca = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -144,40 +144,40 @@ impl D as SelfNested { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @UseSelf { -// CHECK:STDOUT: %Self: %UseSelf.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c92] +// CHECK:STDOUT: %Self: %UseSelf.type = symbolic_binding Self, 0 [symbolic = constants.%Self.aea] // CHECK:STDOUT: %UseSelf.WithSelf.decl = interface_with_self_decl @UseSelf [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %UseSelf.WithSelf.F.decl: @UseSelf.WithSelf.%UseSelf.WithSelf.F.type (%UseSelf.WithSelf.F.type.b86) = fn_decl @UseSelf.WithSelf.F [symbolic = @UseSelf.WithSelf.%UseSelf.WithSelf.F (constants.%UseSelf.WithSelf.F.b14)] { -// CHECK:STDOUT: %self.param_patt: @UseSelf.WithSelf.F.%pattern_type (%pattern_type.465) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @UseSelf.WithSelf.F.%pattern_type (%pattern_type.465) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %x.param_patt: @UseSelf.WithSelf.F.%pattern_type (%pattern_type.465) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @UseSelf.WithSelf.F.%pattern_type (%pattern_type.465) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @UseSelf.WithSelf.F.%pattern_type (%pattern_type.465) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @UseSelf.WithSelf.F.%pattern_type (%pattern_type.465) = return_slot_pattern %return.param_patt, %.loc16_32.2 [concrete] +// CHECK:STDOUT: %UseSelf.WithSelf.F.decl: @UseSelf.WithSelf.%UseSelf.WithSelf.F.type (%UseSelf.WithSelf.F.type.162) = fn_decl @UseSelf.WithSelf.F [symbolic = @UseSelf.WithSelf.%UseSelf.WithSelf.F (constants.%UseSelf.WithSelf.F.91b)] { +// CHECK:STDOUT: %self.param_patt: @UseSelf.WithSelf.F.%pattern_type (%pattern_type.949) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @UseSelf.WithSelf.F.%pattern_type (%pattern_type.949) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: @UseSelf.WithSelf.F.%pattern_type (%pattern_type.949) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @UseSelf.WithSelf.F.%pattern_type (%pattern_type.949) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @UseSelf.WithSelf.F.%pattern_type (%pattern_type.949) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @UseSelf.WithSelf.F.%pattern_type (%pattern_type.949) = return_slot_pattern %return.param_patt, %.loc16_32.2 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %Self.ref.loc16_32: %UseSelf.type = name_ref Self, @UseSelf.%Self [symbolic = %Self (constants.%Self.c92)] -// CHECK:STDOUT: %Self.as_type.loc16_32: type = facet_access_type %Self.ref.loc16_32 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.0de)] -// CHECK:STDOUT: %.loc16_32.2: type = converted %Self.ref.loc16_32, %Self.as_type.loc16_32 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.0de)] -// CHECK:STDOUT: %.loc16_32.3: Core.Form = init_form %.loc16_32.2 [symbolic = %.loc16_32.1 (constants.%.8d7)] -// CHECK:STDOUT: %self.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.0de) = value_param call_param0 -// CHECK:STDOUT: %.loc16_14.1: type = splice_block %.loc16_14.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.0de)] { -// CHECK:STDOUT: %Self.ref.loc16_14: %UseSelf.type = name_ref Self, @UseSelf.%Self [symbolic = %Self (constants.%Self.c92)] -// CHECK:STDOUT: %Self.as_type.loc16_14.2: type = facet_access_type %Self.ref.loc16_14 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.0de)] -// CHECK:STDOUT: %.loc16_14.2: type = converted %Self.ref.loc16_14, %Self.as_type.loc16_14.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.0de)] +// CHECK:STDOUT: %Self.ref.loc16_32: %UseSelf.type = name_ref Self, @UseSelf.%Self [symbolic = %Self (constants.%Self.aea)] +// CHECK:STDOUT: %Self.as_type.loc16_32: type = facet_access_type %Self.ref.loc16_32 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.b41)] +// CHECK:STDOUT: %.loc16_32.2: type = converted %Self.ref.loc16_32, %Self.as_type.loc16_32 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.b41)] +// CHECK:STDOUT: %.loc16_32.3: Core.Form = init_form %.loc16_32.2 [symbolic = %.loc16_32.1 (constants.%.edf)] +// CHECK:STDOUT: %self.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.b41) = value_param call_param0 +// CHECK:STDOUT: %.loc16_14.1: type = splice_block %.loc16_14.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.b41)] { +// CHECK:STDOUT: %Self.ref.loc16_14: %UseSelf.type = name_ref Self, @UseSelf.%Self [symbolic = %Self (constants.%Self.aea)] +// CHECK:STDOUT: %Self.as_type.loc16_14.2: type = facet_access_type %Self.ref.loc16_14 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.b41)] +// CHECK:STDOUT: %.loc16_14.2: type = converted %Self.ref.loc16_14, %Self.as_type.loc16_14.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.b41)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.0de) = value_binding self, %self.param -// CHECK:STDOUT: %x.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.0de) = value_param call_param1 -// CHECK:STDOUT: %.loc16_23.1: type = splice_block %.loc16_23.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.0de)] { -// CHECK:STDOUT: %Self.ref.loc16_23: %UseSelf.type = name_ref Self, @UseSelf.%Self [symbolic = %Self (constants.%Self.c92)] -// CHECK:STDOUT: %Self.as_type.loc16_23: type = facet_access_type %Self.ref.loc16_23 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.0de)] -// CHECK:STDOUT: %.loc16_23.2: type = converted %Self.ref.loc16_23, %Self.as_type.loc16_23 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.0de)] +// CHECK:STDOUT: %self: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.b41) = value_binding self, %self.param +// CHECK:STDOUT: %x.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.b41) = value_param call_param1 +// CHECK:STDOUT: %.loc16_23.1: type = splice_block %.loc16_23.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.b41)] { +// CHECK:STDOUT: %Self.ref.loc16_23: %UseSelf.type = name_ref Self, @UseSelf.%Self [symbolic = %Self (constants.%Self.aea)] +// CHECK:STDOUT: %Self.as_type.loc16_23: type = facet_access_type %Self.ref.loc16_23 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.b41)] +// CHECK:STDOUT: %.loc16_23.2: type = converted %Self.ref.loc16_23, %Self.as_type.loc16_23 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.b41)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.0de) = value_binding x, %x.param -// CHECK:STDOUT: %return.param: ref @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.0de) = out_param call_param2 -// CHECK:STDOUT: %return: ref @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.0de) = return_slot %return.param +// CHECK:STDOUT: %x: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.b41) = value_binding x, %x.param +// CHECK:STDOUT: %return.param: ref @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.b41) = out_param call_param2 +// CHECK:STDOUT: %return: ref @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.b41) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %UseSelf.assoc_type = assoc_entity element0, %UseSelf.WithSelf.F.decl [concrete = constants.%assoc0.018] +// CHECK:STDOUT: %assoc0: %UseSelf.assoc_type = assoc_entity element0, %UseSelf.WithSelf.F.decl [concrete = constants.%assoc0.d6a] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -189,32 +189,32 @@ impl D as SelfNested { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @SelfNested { -// CHECK:STDOUT: %Self: %SelfNested.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f72] +// CHECK:STDOUT: %Self: %SelfNested.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d32] // CHECK:STDOUT: %SelfNested.WithSelf.decl = interface_with_self_decl @SelfNested [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %SelfNested.WithSelf.F.decl: @SelfNested.WithSelf.%SelfNested.WithSelf.F.type (%SelfNested.WithSelf.F.type.a41) = fn_decl @SelfNested.WithSelf.F [symbolic = @SelfNested.WithSelf.%SelfNested.WithSelf.F (constants.%SelfNested.WithSelf.F.004)] { -// CHECK:STDOUT: %x.param_patt: @SelfNested.WithSelf.F.%pattern_type (%pattern_type.254) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @SelfNested.WithSelf.F.%pattern_type (%pattern_type.254) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %SelfNested.WithSelf.F.decl: @SelfNested.WithSelf.%SelfNested.WithSelf.F.type (%SelfNested.WithSelf.F.type.9b9) = fn_decl @SelfNested.WithSelf.F [symbolic = @SelfNested.WithSelf.%SelfNested.WithSelf.F (constants.%SelfNested.WithSelf.F.d66)] { +// CHECK:STDOUT: %x.param_patt: @SelfNested.WithSelf.F.%pattern_type (%pattern_type.21c) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @SelfNested.WithSelf.F.%pattern_type (%pattern_type.21c) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param: @SelfNested.WithSelf.F.%tuple.type (%tuple.type.bc0) = value_param call_param0 -// CHECK:STDOUT: %.loc32_37.1: type = splice_block %.loc32_37.3 [symbolic = %tuple.type (constants.%tuple.type.bc0)] { -// CHECK:STDOUT: %Self.ref.loc32_12: %SelfNested.type = name_ref Self, @SelfNested.%Self [symbolic = %Self (constants.%Self.f72)] -// CHECK:STDOUT: %Self.as_type.loc32_16.2: type = facet_access_type %Self.ref.loc32_12 [symbolic = %Self.as_type.loc32_16.1 (constants.%Self.as_type.b0a)] -// CHECK:STDOUT: %.loc32_16: type = converted %Self.ref.loc32_12, %Self.as_type.loc32_16.2 [symbolic = %Self.as_type.loc32_16.1 (constants.%Self.as_type.b0a)] -// CHECK:STDOUT: %ptr.loc32_16.2: type = ptr_type %.loc32_16 [symbolic = %ptr.loc32_16.1 (constants.%ptr.9b4)] -// CHECK:STDOUT: %Self.ref.loc32_24: %SelfNested.type = name_ref Self, @SelfNested.%Self [symbolic = %Self (constants.%Self.f72)] -// CHECK:STDOUT: %Self.as_type.loc32_24: type = facet_access_type %Self.ref.loc32_24 [symbolic = %Self.as_type.loc32_16.1 (constants.%Self.as_type.b0a)] -// CHECK:STDOUT: %.loc32_24: type = converted %Self.ref.loc32_24, %Self.as_type.loc32_24 [symbolic = %Self.as_type.loc32_16.1 (constants.%Self.as_type.b0a)] +// CHECK:STDOUT: %x.param: @SelfNested.WithSelf.F.%tuple.type (%tuple.type.b72) = value_param call_param0 +// CHECK:STDOUT: %.loc32_37.1: type = splice_block %.loc32_37.3 [symbolic = %tuple.type (constants.%tuple.type.b72)] { +// CHECK:STDOUT: %Self.ref.loc32_12: %SelfNested.type = name_ref Self, @SelfNested.%Self [symbolic = %Self (constants.%Self.d32)] +// CHECK:STDOUT: %Self.as_type.loc32_16.2: type = facet_access_type %Self.ref.loc32_12 [symbolic = %Self.as_type.loc32_16.1 (constants.%Self.as_type.fd2)] +// CHECK:STDOUT: %.loc32_16: type = converted %Self.ref.loc32_12, %Self.as_type.loc32_16.2 [symbolic = %Self.as_type.loc32_16.1 (constants.%Self.as_type.fd2)] +// CHECK:STDOUT: %ptr.loc32_16.2: type = ptr_type %.loc32_16 [symbolic = %ptr.loc32_16.1 (constants.%ptr.99d)] +// CHECK:STDOUT: %Self.ref.loc32_24: %SelfNested.type = name_ref Self, @SelfNested.%Self [symbolic = %Self (constants.%Self.d32)] +// CHECK:STDOUT: %Self.as_type.loc32_24: type = facet_access_type %Self.ref.loc32_24 [symbolic = %Self.as_type.loc32_16.1 (constants.%Self.as_type.fd2)] +// CHECK:STDOUT: %.loc32_24: type = converted %Self.ref.loc32_24, %Self.as_type.loc32_24 [symbolic = %Self.as_type.loc32_16.1 (constants.%Self.as_type.fd2)] // CHECK:STDOUT: %.loc32_35.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc32_35.2: type = converted %.loc32_35.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %struct_type.x.y.loc32_36.2: type = struct_type {.x: @SelfNested.WithSelf.F.%Self.as_type.loc32_16.1 (%Self.as_type.b0a), .y: %empty_tuple.type} [symbolic = %struct_type.x.y.loc32_36.1 (constants.%struct_type.x.y.eb5)] -// CHECK:STDOUT: %.loc32_37.2: %tuple.type.24b = tuple_literal (%ptr.loc32_16.2, %struct_type.x.y.loc32_36.2) [symbolic = %tuple (constants.%tuple.27b)] -// CHECK:STDOUT: %.loc32_37.3: type = converted %.loc32_37.2, constants.%tuple.type.bc0 [symbolic = %tuple.type (constants.%tuple.type.bc0)] +// CHECK:STDOUT: %struct_type.x.y.loc32_36.2: type = struct_type {.x: @SelfNested.WithSelf.F.%Self.as_type.loc32_16.1 (%Self.as_type.fd2), .y: %empty_tuple.type} [symbolic = %struct_type.x.y.loc32_36.1 (constants.%struct_type.x.y.a76)] +// CHECK:STDOUT: %.loc32_37.2: %tuple.type.24b = tuple_literal (%ptr.loc32_16.2, %struct_type.x.y.loc32_36.2) [symbolic = %tuple (constants.%tuple.f48)] +// CHECK:STDOUT: %.loc32_37.3: type = converted %.loc32_37.2, constants.%tuple.type.b72 [symbolic = %tuple.type (constants.%tuple.type.b72)] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: @SelfNested.WithSelf.F.%tuple.type (%tuple.type.bc0) = value_binding x, %x.param +// CHECK:STDOUT: %x: @SelfNested.WithSelf.F.%tuple.type (%tuple.type.b72) = value_binding x, %x.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %SelfNested.assoc_type = assoc_entity element0, %SelfNested.WithSelf.F.decl [concrete = constants.%assoc0.45a] +// CHECK:STDOUT: %assoc0: %SelfNested.assoc_type = assoc_entity element0, %SelfNested.WithSelf.F.decl [concrete = constants.%assoc0.338] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -227,15 +227,15 @@ impl D as SelfNested { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.UseSelf.impl: %C.ref as %UseSelf.ref { // CHECK:STDOUT: %C.as.UseSelf.impl.F.decl: %C.as.UseSelf.impl.F.type = fn_decl @C.as.UseSelf.impl.F [concrete = constants.%C.as.UseSelf.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.d7b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.d7b = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %x.param_patt: %pattern_type.d7b = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.d7b = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.d7b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.d7b = return_slot_pattern %return.param_patt, %C.ref.loc24_40 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.0d5 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref.loc24_40 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc24_40: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc24_40: Core.Form = init_form %C.ref.loc24_40 [concrete = constants.%.e64] +// CHECK:STDOUT: %.loc24_40: Core.Form = init_form %C.ref.loc24_40 [concrete = constants.%.8f0] // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref.loc24_21: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %self: %C = value_binding self, %self.param @@ -246,7 +246,7 @@ impl D as SelfNested { // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %UseSelf.impl_witness_table = impl_witness_table (%C.as.UseSelf.impl.F.decl), @C.as.UseSelf.impl [concrete] -// CHECK:STDOUT: %UseSelf.impl_witness: = impl_witness %UseSelf.impl_witness_table [concrete = constants.%UseSelf.impl_witness.30d] +// CHECK:STDOUT: %UseSelf.impl_witness: = impl_witness %UseSelf.impl_witness_table [concrete = constants.%UseSelf.impl_witness.8ec] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .C = @@ -257,15 +257,15 @@ impl D as SelfNested { // CHECK:STDOUT: // CHECK:STDOUT: impl @D.as.UseSelf.impl: %D.ref as %UseSelf.ref { // CHECK:STDOUT: %D.as.UseSelf.impl.F.decl: %D.as.UseSelf.impl.F.type = fn_decl @D.as.UseSelf.impl.F [concrete = constants.%D.as.UseSelf.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.636 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.636 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %x.param_patt: %pattern_type.636 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.636 = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.636 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.636 = return_slot_pattern %return.param_patt, %Self.ref.loc28_46 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.f1a = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.f1a = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.f1a = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.f1a = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.f1a = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.f1a = return_slot_pattern %return.param_patt, %Self.ref.loc28_46 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.ref.loc28_46: type = name_ref Self, @D.as.UseSelf.impl.%D.ref [concrete = constants.%D] -// CHECK:STDOUT: %.loc28_46: Core.Form = init_form %Self.ref.loc28_46 [concrete = constants.%.54f] +// CHECK:STDOUT: %.loc28_46: Core.Form = init_form %Self.ref.loc28_46 [concrete = constants.%.f19] // CHECK:STDOUT: %self.param: %D = value_param call_param0 // CHECK:STDOUT: %Self.ref.loc28_21: type = name_ref Self, @D.as.UseSelf.impl.%D.ref [concrete = constants.%D] // CHECK:STDOUT: %self: %D = value_binding self, %self.param @@ -276,7 +276,7 @@ impl D as SelfNested { // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %UseSelf.impl_witness_table = impl_witness_table (%D.as.UseSelf.impl.F.decl), @D.as.UseSelf.impl [concrete] -// CHECK:STDOUT: %UseSelf.impl_witness: = impl_witness %UseSelf.impl_witness_table [concrete = constants.%UseSelf.impl_witness.346] +// CHECK:STDOUT: %UseSelf.impl_witness: = impl_witness %UseSelf.impl_witness_table [concrete = constants.%UseSelf.impl_witness.6ee] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %D.as.UseSelf.impl.F.decl @@ -286,24 +286,24 @@ impl D as SelfNested { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.SelfNested.impl: %C.ref as %SelfNested.ref { // CHECK:STDOUT: %C.as.SelfNested.impl.F.decl: %C.as.SelfNested.impl.F.type = fn_decl @C.as.SelfNested.impl.F [concrete = constants.%C.as.SelfNested.impl.F] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.59a = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.59a = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.05a = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.05a = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param: %tuple.type.4c8 = value_param call_param0 -// CHECK:STDOUT: %.loc36_31.1: type = splice_block %.loc36_31.3 [concrete = constants.%tuple.type.4c8] { +// CHECK:STDOUT: %x.param: %tuple.type.0ff = value_param call_param0 +// CHECK:STDOUT: %.loc36_31.1: type = splice_block %.loc36_31.3 [concrete = constants.%tuple.type.0ff] { // CHECK:STDOUT: %C.ref.loc36_12: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr: type = ptr_type %C.ref.loc36_12 [concrete = constants.%ptr.e38] +// CHECK:STDOUT: %ptr: type = ptr_type %C.ref.loc36_12 [concrete = constants.%ptr.6be] // CHECK:STDOUT: %C.ref.loc36_21: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc36_29.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc36_29.2: type = converted %.loc36_29.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %struct_type.x.y: type = struct_type {.x: %C, .y: %empty_tuple.type} [concrete = constants.%struct_type.x.y.2b2] -// CHECK:STDOUT: %.loc36_31.2: %tuple.type.24b = tuple_literal (%ptr, %struct_type.x.y) [concrete = constants.%tuple.a80] -// CHECK:STDOUT: %.loc36_31.3: type = converted %.loc36_31.2, constants.%tuple.type.4c8 [concrete = constants.%tuple.type.4c8] +// CHECK:STDOUT: %struct_type.x.y: type = struct_type {.x: %C, .y: %empty_tuple.type} [concrete = constants.%struct_type.x.y.f6d] +// CHECK:STDOUT: %.loc36_31.2: %tuple.type.24b = tuple_literal (%ptr, %struct_type.x.y) [concrete = constants.%tuple.0dc] +// CHECK:STDOUT: %.loc36_31.3: type = converted %.loc36_31.2, constants.%tuple.type.0ff [concrete = constants.%tuple.type.0ff] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: %tuple.type.4c8 = value_binding x, %x.param +// CHECK:STDOUT: %x: %tuple.type.0ff = value_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: %SelfNested.impl_witness_table = impl_witness_table (%C.as.SelfNested.impl.F.decl), @C.as.SelfNested.impl [concrete] -// CHECK:STDOUT: %SelfNested.impl_witness: = impl_witness %SelfNested.impl_witness_table [concrete = constants.%SelfNested.impl_witness.b56] +// CHECK:STDOUT: %SelfNested.impl_witness: = impl_witness %SelfNested.impl_witness_table [concrete = constants.%SelfNested.impl_witness.97c] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .C = @@ -314,24 +314,24 @@ impl D as SelfNested { // CHECK:STDOUT: // CHECK:STDOUT: impl @D.as.SelfNested.impl: %D.ref as %SelfNested.ref { // CHECK:STDOUT: %D.as.SelfNested.impl.F.decl: %D.as.SelfNested.impl.F.type = fn_decl @D.as.SelfNested.impl.F [concrete = constants.%D.as.SelfNested.impl.F] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.feb = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.feb = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.3e5 = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.3e5 = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %x.param: %tuple.type.9f6 = value_param call_param0 -// CHECK:STDOUT: %.loc40_37.1: type = splice_block %.loc40_37.3 [concrete = constants.%tuple.type.9f6] { +// CHECK:STDOUT: %x.param: %tuple.type.1a8 = value_param call_param0 +// CHECK:STDOUT: %.loc40_37.1: type = splice_block %.loc40_37.3 [concrete = constants.%tuple.type.1a8] { // CHECK:STDOUT: %Self.ref.loc40_12: type = name_ref Self, @D.as.SelfNested.impl.%D.ref [concrete = constants.%D] -// CHECK:STDOUT: %ptr: type = ptr_type %Self.ref.loc40_12 [concrete = constants.%ptr.30b] +// CHECK:STDOUT: %ptr: type = ptr_type %Self.ref.loc40_12 [concrete = constants.%ptr.c12] // CHECK:STDOUT: %Self.ref.loc40_24: type = name_ref Self, @D.as.SelfNested.impl.%D.ref [concrete = constants.%D] // CHECK:STDOUT: %.loc40_35.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc40_35.2: type = converted %.loc40_35.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %struct_type.x.y: type = struct_type {.x: %D, .y: %empty_tuple.type} [concrete = constants.%struct_type.x.y.7d8] -// CHECK:STDOUT: %.loc40_37.2: %tuple.type.24b = tuple_literal (%ptr, %struct_type.x.y) [concrete = constants.%tuple.9dc] -// CHECK:STDOUT: %.loc40_37.3: type = converted %.loc40_37.2, constants.%tuple.type.9f6 [concrete = constants.%tuple.type.9f6] +// CHECK:STDOUT: %struct_type.x.y: type = struct_type {.x: %D, .y: %empty_tuple.type} [concrete = constants.%struct_type.x.y.e65] +// CHECK:STDOUT: %.loc40_37.2: %tuple.type.24b = tuple_literal (%ptr, %struct_type.x.y) [concrete = constants.%tuple.9ca] +// CHECK:STDOUT: %.loc40_37.3: type = converted %.loc40_37.2, constants.%tuple.type.1a8 [concrete = constants.%tuple.type.1a8] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: %tuple.type.9f6 = value_binding x, %x.param +// CHECK:STDOUT: %x: %tuple.type.1a8 = value_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: %SelfNested.impl_witness_table = impl_witness_table (%D.as.SelfNested.impl.F.decl), @D.as.SelfNested.impl [concrete] -// CHECK:STDOUT: %SelfNested.impl_witness: = impl_witness %SelfNested.impl_witness_table [concrete = constants.%SelfNested.impl_witness.bf8] +// CHECK:STDOUT: %SelfNested.impl_witness: = impl_witness %SelfNested.impl_witness_table [concrete = constants.%SelfNested.impl_witness.0f1] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %D.as.SelfNested.impl.F.decl @@ -356,12 +356,12 @@ impl D as SelfNested { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @UseSelf.WithSelf.F(@UseSelf.%Self: %UseSelf.type) { -// CHECK:STDOUT: %Self: %UseSelf.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.c92)] -// CHECK:STDOUT: %Self.as_type.loc16_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.0de)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc16_14.1 [symbolic = %pattern_type (constants.%pattern_type.465)] -// CHECK:STDOUT: %.loc16_32.1: Core.Form = init_form %Self.as_type.loc16_14.1 [symbolic = %.loc16_32.1 (constants.%.8d7)] +// CHECK:STDOUT: %Self: %UseSelf.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.aea)] +// CHECK:STDOUT: %Self.as_type.loc16_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type.b41)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc16_14.1 [symbolic = %pattern_type (constants.%pattern_type.949)] +// CHECK:STDOUT: %.loc16_32.1: Core.Form = init_form %Self.as_type.loc16_14.1 [symbolic = %.loc16_32.1 (constants.%.edf)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.0de), %x.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.0de)) -> out %return.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.0de); +// CHECK:STDOUT: fn(%self.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.b41), %x.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.b41)) -> out %return.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type.b41); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.UseSelf.impl.F(%self.param: %C, %x.param: %C) -> out %return.param: %C { @@ -381,111 +381,111 @@ impl D as SelfNested { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @SelfNested.WithSelf.F(@SelfNested.%Self: %SelfNested.type) { -// CHECK:STDOUT: %Self: %SelfNested.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f72)] -// CHECK:STDOUT: %Self.as_type.loc32_16.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc32_16.1 (constants.%Self.as_type.b0a)] -// CHECK:STDOUT: %ptr.loc32_16.1: type = ptr_type %Self.as_type.loc32_16.1 [symbolic = %ptr.loc32_16.1 (constants.%ptr.9b4)] -// CHECK:STDOUT: %struct_type.x.y.loc32_36.1: type = struct_type {.x: @SelfNested.WithSelf.F.%Self.as_type.loc32_16.1 (%Self.as_type.b0a), .y: %empty_tuple.type} [symbolic = %struct_type.x.y.loc32_36.1 (constants.%struct_type.x.y.eb5)] -// CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%ptr.loc32_16.1, %struct_type.x.y.loc32_36.1) [symbolic = %tuple (constants.%tuple.27b)] -// CHECK:STDOUT: %tuple.type: type = tuple_type (%ptr.loc32_16.1, %struct_type.x.y.loc32_36.1) [symbolic = %tuple.type (constants.%tuple.type.bc0)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %tuple.type [symbolic = %pattern_type (constants.%pattern_type.254)] +// CHECK:STDOUT: %Self: %SelfNested.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.d32)] +// CHECK:STDOUT: %Self.as_type.loc32_16.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc32_16.1 (constants.%Self.as_type.fd2)] +// CHECK:STDOUT: %ptr.loc32_16.1: type = ptr_type %Self.as_type.loc32_16.1 [symbolic = %ptr.loc32_16.1 (constants.%ptr.99d)] +// CHECK:STDOUT: %struct_type.x.y.loc32_36.1: type = struct_type {.x: @SelfNested.WithSelf.F.%Self.as_type.loc32_16.1 (%Self.as_type.fd2), .y: %empty_tuple.type} [symbolic = %struct_type.x.y.loc32_36.1 (constants.%struct_type.x.y.a76)] +// CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%ptr.loc32_16.1, %struct_type.x.y.loc32_36.1) [symbolic = %tuple (constants.%tuple.f48)] +// CHECK:STDOUT: %tuple.type: type = tuple_type (%ptr.loc32_16.1, %struct_type.x.y.loc32_36.1) [symbolic = %tuple.type (constants.%tuple.type.b72)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %tuple.type [symbolic = %pattern_type (constants.%pattern_type.21c)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @SelfNested.WithSelf.F.%tuple.type (%tuple.type.bc0)); +// CHECK:STDOUT: fn(%x.param: @SelfNested.WithSelf.F.%tuple.type (%tuple.type.b72)); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.SelfNested.impl.F(%x.param: %tuple.type.4c8); +// CHECK:STDOUT: fn @C.as.SelfNested.impl.F(%x.param: %tuple.type.0ff); // CHECK:STDOUT: -// CHECK:STDOUT: fn @D.as.SelfNested.impl.F(%x.param: %tuple.type.9f6); +// CHECK:STDOUT: fn @D.as.SelfNested.impl.F(%x.param: %tuple.type.1a8); // CHECK:STDOUT: -// CHECK:STDOUT: specific @UseSelf.WithSelf(constants.%Self.c92) { +// CHECK:STDOUT: specific @UseSelf.WithSelf(constants.%Self.aea) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.c92 -// CHECK:STDOUT: %UseSelf.WithSelf.F.type => constants.%UseSelf.WithSelf.F.type.b86 -// CHECK:STDOUT: %UseSelf.WithSelf.F => constants.%UseSelf.WithSelf.F.b14 +// CHECK:STDOUT: %Self => constants.%Self.aea +// CHECK:STDOUT: %UseSelf.WithSelf.F.type => constants.%UseSelf.WithSelf.F.type.162 +// CHECK:STDOUT: %UseSelf.WithSelf.F => constants.%UseSelf.WithSelf.F.91b // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @UseSelf.WithSelf.F(constants.%Self.c92) { -// CHECK:STDOUT: %Self => constants.%Self.c92 -// CHECK:STDOUT: %Self.as_type.loc16_14.1 => constants.%Self.as_type.0de -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.465 -// CHECK:STDOUT: %.loc16_32.1 => constants.%.8d7 +// CHECK:STDOUT: specific @UseSelf.WithSelf.F(constants.%Self.aea) { +// CHECK:STDOUT: %Self => constants.%Self.aea +// CHECK:STDOUT: %Self.as_type.loc16_14.1 => constants.%Self.as_type.b41 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.949 +// CHECK:STDOUT: %.loc16_32.1 => constants.%.edf // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @UseSelf.WithSelf(constants.%UseSelf.facet.615) { +// CHECK:STDOUT: specific @UseSelf.WithSelf(constants.%UseSelf.facet.b77) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%UseSelf.facet.615 -// CHECK:STDOUT: %UseSelf.WithSelf.F.type => constants.%UseSelf.WithSelf.F.type.01d -// CHECK:STDOUT: %UseSelf.WithSelf.F => constants.%UseSelf.WithSelf.F.89f +// CHECK:STDOUT: %Self => constants.%UseSelf.facet.b77 +// CHECK:STDOUT: %UseSelf.WithSelf.F.type => constants.%UseSelf.WithSelf.F.type.acc +// CHECK:STDOUT: %UseSelf.WithSelf.F => constants.%UseSelf.WithSelf.F.209 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @UseSelf.WithSelf.F(constants.%UseSelf.facet.615) { -// CHECK:STDOUT: %Self => constants.%UseSelf.facet.615 +// CHECK:STDOUT: specific @UseSelf.WithSelf.F(constants.%UseSelf.facet.b77) { +// CHECK:STDOUT: %Self => constants.%UseSelf.facet.b77 // CHECK:STDOUT: %Self.as_type.loc16_14.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d7b -// CHECK:STDOUT: %.loc16_32.1 => constants.%.e64 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 +// CHECK:STDOUT: %.loc16_32.1 => constants.%.8f0 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @UseSelf.WithSelf(constants.%UseSelf.facet.44d) { +// CHECK:STDOUT: specific @UseSelf.WithSelf(constants.%UseSelf.facet.16a) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%UseSelf.facet.44d -// CHECK:STDOUT: %UseSelf.WithSelf.F.type => constants.%UseSelf.WithSelf.F.type.135 -// CHECK:STDOUT: %UseSelf.WithSelf.F => constants.%UseSelf.WithSelf.F.612 +// CHECK:STDOUT: %Self => constants.%UseSelf.facet.16a +// CHECK:STDOUT: %UseSelf.WithSelf.F.type => constants.%UseSelf.WithSelf.F.type.f22 +// CHECK:STDOUT: %UseSelf.WithSelf.F => constants.%UseSelf.WithSelf.F.7e1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @UseSelf.WithSelf.F(constants.%UseSelf.facet.44d) { -// CHECK:STDOUT: %Self => constants.%UseSelf.facet.44d +// CHECK:STDOUT: specific @UseSelf.WithSelf.F(constants.%UseSelf.facet.16a) { +// CHECK:STDOUT: %Self => constants.%UseSelf.facet.16a // CHECK:STDOUT: %Self.as_type.loc16_14.1 => constants.%D -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.636 -// CHECK:STDOUT: %.loc16_32.1 => constants.%.54f +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.f1a +// CHECK:STDOUT: %.loc16_32.1 => constants.%.f19 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SelfNested.WithSelf(constants.%Self.f72) { +// CHECK:STDOUT: specific @SelfNested.WithSelf(constants.%Self.d32) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.f72 -// CHECK:STDOUT: %SelfNested.WithSelf.F.type => constants.%SelfNested.WithSelf.F.type.a41 -// CHECK:STDOUT: %SelfNested.WithSelf.F => constants.%SelfNested.WithSelf.F.004 +// CHECK:STDOUT: %Self => constants.%Self.d32 +// CHECK:STDOUT: %SelfNested.WithSelf.F.type => constants.%SelfNested.WithSelf.F.type.9b9 +// CHECK:STDOUT: %SelfNested.WithSelf.F => constants.%SelfNested.WithSelf.F.d66 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SelfNested.WithSelf.F(constants.%Self.f72) { -// CHECK:STDOUT: %Self => constants.%Self.f72 -// CHECK:STDOUT: %Self.as_type.loc32_16.1 => constants.%Self.as_type.b0a -// CHECK:STDOUT: %ptr.loc32_16.1 => constants.%ptr.9b4 -// CHECK:STDOUT: %struct_type.x.y.loc32_36.1 => constants.%struct_type.x.y.eb5 -// CHECK:STDOUT: %tuple => constants.%tuple.27b -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.bc0 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.254 +// CHECK:STDOUT: specific @SelfNested.WithSelf.F(constants.%Self.d32) { +// CHECK:STDOUT: %Self => constants.%Self.d32 +// CHECK:STDOUT: %Self.as_type.loc32_16.1 => constants.%Self.as_type.fd2 +// CHECK:STDOUT: %ptr.loc32_16.1 => constants.%ptr.99d +// CHECK:STDOUT: %struct_type.x.y.loc32_36.1 => constants.%struct_type.x.y.a76 +// CHECK:STDOUT: %tuple => constants.%tuple.f48 +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.b72 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.21c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SelfNested.WithSelf(constants.%SelfNested.facet.066) { +// CHECK:STDOUT: specific @SelfNested.WithSelf(constants.%SelfNested.facet.593) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%SelfNested.facet.066 -// CHECK:STDOUT: %SelfNested.WithSelf.F.type => constants.%SelfNested.WithSelf.F.type.cac -// CHECK:STDOUT: %SelfNested.WithSelf.F => constants.%SelfNested.WithSelf.F.7d8 +// CHECK:STDOUT: %Self => constants.%SelfNested.facet.593 +// CHECK:STDOUT: %SelfNested.WithSelf.F.type => constants.%SelfNested.WithSelf.F.type.c4b +// CHECK:STDOUT: %SelfNested.WithSelf.F => constants.%SelfNested.WithSelf.F.899 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SelfNested.WithSelf.F(constants.%SelfNested.facet.066) { -// CHECK:STDOUT: %Self => constants.%SelfNested.facet.066 +// CHECK:STDOUT: specific @SelfNested.WithSelf.F(constants.%SelfNested.facet.593) { +// CHECK:STDOUT: %Self => constants.%SelfNested.facet.593 // CHECK:STDOUT: %Self.as_type.loc32_16.1 => constants.%C -// CHECK:STDOUT: %ptr.loc32_16.1 => constants.%ptr.e38 -// CHECK:STDOUT: %struct_type.x.y.loc32_36.1 => constants.%struct_type.x.y.2b2 -// CHECK:STDOUT: %tuple => constants.%tuple.a80 -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.4c8 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.59a +// CHECK:STDOUT: %ptr.loc32_16.1 => constants.%ptr.6be +// CHECK:STDOUT: %struct_type.x.y.loc32_36.1 => constants.%struct_type.x.y.f6d +// CHECK:STDOUT: %tuple => constants.%tuple.0dc +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.0ff +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.05a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SelfNested.WithSelf(constants.%SelfNested.facet.ece) { +// CHECK:STDOUT: specific @SelfNested.WithSelf(constants.%SelfNested.facet.93e) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%SelfNested.facet.ece -// CHECK:STDOUT: %SelfNested.WithSelf.F.type => constants.%SelfNested.WithSelf.F.type.321 -// CHECK:STDOUT: %SelfNested.WithSelf.F => constants.%SelfNested.WithSelf.F.c36 +// CHECK:STDOUT: %Self => constants.%SelfNested.facet.93e +// CHECK:STDOUT: %SelfNested.WithSelf.F.type => constants.%SelfNested.WithSelf.F.type.4ca +// CHECK:STDOUT: %SelfNested.WithSelf.F => constants.%SelfNested.WithSelf.F.3a5 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SelfNested.WithSelf.F(constants.%SelfNested.facet.ece) { -// CHECK:STDOUT: %Self => constants.%SelfNested.facet.ece +// CHECK:STDOUT: specific @SelfNested.WithSelf.F(constants.%SelfNested.facet.93e) { +// CHECK:STDOUT: %Self => constants.%SelfNested.facet.93e // CHECK:STDOUT: %Self.as_type.loc32_16.1 => constants.%D -// CHECK:STDOUT: %ptr.loc32_16.1 => constants.%ptr.30b -// CHECK:STDOUT: %struct_type.x.y.loc32_36.1 => constants.%struct_type.x.y.7d8 -// CHECK:STDOUT: %tuple => constants.%tuple.9dc -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.9f6 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.feb +// CHECK:STDOUT: %ptr.loc32_16.1 => constants.%ptr.c12 +// CHECK:STDOUT: %struct_type.x.y.loc32_36.1 => constants.%struct_type.x.y.e65 +// CHECK:STDOUT: %tuple => constants.%tuple.9ca +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.1a8 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3e5 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/impl/todo_impl_with_unrelated_fn.carbon b/toolchain/check/testdata/impl/todo_impl_with_unrelated_fn.carbon index fe057a98a989..bfd9260e8446 100644 --- a/toolchain/check/testdata/impl/todo_impl_with_unrelated_fn.carbon +++ b/toolchain/check/testdata/impl/todo_impl_with_unrelated_fn.carbon @@ -30,8 +30,8 @@ class X { // CHECK:STDOUT: constants { // CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] // CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %A.WithSelf.B.type.a45: type = fn_type @A.WithSelf.B, @A.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %A.WithSelf.B.5a8: %A.WithSelf.B.type.a45 = struct_value () [symbolic] +// CHECK:STDOUT: %A.WithSelf.B.type.fb9: type = fn_type @A.WithSelf.B, @A.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %A.WithSelf.B.4f3: %A.WithSelf.B.type.fb9 = struct_value () [symbolic] // CHECK:STDOUT: %A.assoc_type: type = assoc_entity_type @A [concrete] // CHECK:STDOUT: %assoc0: %A.assoc_type = assoc_entity element0, @A.WithSelf.%A.WithSelf.B.decl [concrete] // CHECK:STDOUT: %X: type = class_type @X [concrete] @@ -41,8 +41,8 @@ class X { // CHECK:STDOUT: %X.as.A.impl.F.type: type = fn_type @X.as.A.impl.F [concrete] // CHECK:STDOUT: %X.as.A.impl.F: %X.as.A.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %A.facet: %A.type = facet_value %X, (%A.impl_witness) [concrete] -// CHECK:STDOUT: %A.WithSelf.B.type.61f: type = fn_type @A.WithSelf.B, @A.WithSelf(%A.facet) [concrete] -// CHECK:STDOUT: %A.WithSelf.B.440: %A.WithSelf.B.type.61f = struct_value () [concrete] +// CHECK:STDOUT: %A.WithSelf.B.type.036: type = fn_type @A.WithSelf.B, @A.WithSelf(%A.facet) [concrete] +// CHECK:STDOUT: %A.WithSelf.B.c6d: %A.WithSelf.B.type.036 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: } @@ -61,7 +61,7 @@ class X { // CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %A.WithSelf.B.decl: @A.WithSelf.%A.WithSelf.B.type (%A.WithSelf.B.type.a45) = fn_decl @A.WithSelf.B [symbolic = @A.WithSelf.%A.WithSelf.B (constants.%A.WithSelf.B.5a8)] {} {} +// CHECK:STDOUT: %A.WithSelf.B.decl: @A.WithSelf.%A.WithSelf.B.type (%A.WithSelf.B.type.fb9) = fn_decl @A.WithSelf.B [symbolic = @A.WithSelf.%A.WithSelf.B (constants.%A.WithSelf.B.4f3)] {} {} // CHECK:STDOUT: %assoc0: %A.assoc_type = assoc_entity element0, %A.WithSelf.B.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -115,8 +115,8 @@ class X { // CHECK:STDOUT: specific @A.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %A.WithSelf.B.type => constants.%A.WithSelf.B.type.a45 -// CHECK:STDOUT: %A.WithSelf.B => constants.%A.WithSelf.B.5a8 +// CHECK:STDOUT: %A.WithSelf.B.type => constants.%A.WithSelf.B.type.fb9 +// CHECK:STDOUT: %A.WithSelf.B => constants.%A.WithSelf.B.4f3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf.B(constants.%Self) {} @@ -124,8 +124,8 @@ class X { // CHECK:STDOUT: specific @A.WithSelf(constants.%A.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%A.facet -// CHECK:STDOUT: %A.WithSelf.B.type => constants.%A.WithSelf.B.type.61f -// CHECK:STDOUT: %A.WithSelf.B => constants.%A.WithSelf.B.440 +// CHECK:STDOUT: %A.WithSelf.B.type => constants.%A.WithSelf.B.type.036 +// CHECK:STDOUT: %A.WithSelf.B => constants.%A.WithSelf.B.c6d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf.B(constants.%A.facet) {} diff --git a/toolchain/check/testdata/impl/use_assoc_entity.carbon b/toolchain/check/testdata/impl/use_assoc_entity.carbon index 02b25b893d2e..b3cdacb4adf2 100644 --- a/toolchain/check/testdata/impl/use_assoc_entity.carbon +++ b/toolchain/check/testdata/impl/use_assoc_entity.carbon @@ -492,79 +492,79 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %J.type: type = facet_type <@J> [concrete] -// CHECK:STDOUT: %Self.975: %J.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.fd8: %J.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %J.assoc_type: type = assoc_entity_type @J [concrete] -// CHECK:STDOUT: %Self.as_type.cfa: type = facet_access_type %Self.975 [symbolic] -// CHECK:STDOUT: %pattern_type.592: type = pattern_type %Self.as_type.cfa [symbolic] -// CHECK:STDOUT: %J.lookup_impl_witness.48d: = lookup_impl_witness %Self.975, @J [symbolic] -// CHECK:STDOUT: %impl.elem0.424: type = impl_witness_access %J.lookup_impl_witness.48d, element0 [symbolic] -// CHECK:STDOUT: %pattern_type.7e4: type = pattern_type %impl.elem0.424 [symbolic] -// CHECK:STDOUT: %.641: Core.Form = init_form %impl.elem0.424 [symbolic] -// CHECK:STDOUT: %J.WithSelf.F.type.a10: type = fn_type @J.WithSelf.F, @J.WithSelf(%Self.975) [symbolic] +// CHECK:STDOUT: %Self.as_type.e52: type = facet_access_type %Self.fd8 [symbolic] +// CHECK:STDOUT: %pattern_type.9d0: type = pattern_type %Self.as_type.e52 [symbolic] +// CHECK:STDOUT: %J.lookup_impl_witness.89d: = lookup_impl_witness %Self.fd8, @J [symbolic] +// CHECK:STDOUT: %impl.elem0.fbe: type = impl_witness_access %J.lookup_impl_witness.89d, element0 [symbolic] +// CHECK:STDOUT: %pattern_type.d8a: type = pattern_type %impl.elem0.fbe [symbolic] +// CHECK:STDOUT: %.f0e: Core.Form = init_form %impl.elem0.fbe [symbolic] +// CHECK:STDOUT: %J.WithSelf.F.type.37c: type = fn_type @J.WithSelf.F, @J.WithSelf(%Self.fd8) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %J.WithSelf.F.550: %J.WithSelf.F.type.a10 = struct_value () [symbolic] -// CHECK:STDOUT: %assoc1.3ce: %J.assoc_type = assoc_entity element1, @J.WithSelf.%J.WithSelf.F.decl [concrete] -// CHECK:STDOUT: %.Self.9fe: %J.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %J.WithSelf.F.type.000: type = fn_type @J.WithSelf.F, @J.WithSelf(%.Self.9fe) [symbolic_self] -// CHECK:STDOUT: %J.WithSelf.F.f58: %J.WithSelf.F.type.000 = struct_value () [symbolic_self] +// CHECK:STDOUT: %J.WithSelf.F.acf: %J.WithSelf.F.type.37c = struct_value () [symbolic] +// CHECK:STDOUT: %assoc1.24c: %J.assoc_type = assoc_entity element1, @J.WithSelf.%J.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %.Self.944: %J.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %J.WithSelf.F.type.131: type = fn_type @J.WithSelf.F, @J.WithSelf(%.Self.944) [symbolic_self] +// CHECK:STDOUT: %J.WithSelf.F.51c: %J.WithSelf.F.type.131 = struct_value () [symbolic_self] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %J.impl_witness.811: = impl_witness @empty_tuple.type.as.J.impl.%J.impl_witness_table [concrete] +// CHECK:STDOUT: %J.impl_witness.133: = impl_witness @empty_tuple.type.as.J.impl.%J.impl_witness_table [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %empty_tuple.type.as.J.impl.F.type: type = fn_type @empty_tuple.type.as.J.impl.F [concrete] // CHECK:STDOUT: %empty_tuple.type.as.J.impl.F: %empty_tuple.type.as.J.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %J.facet.706: %J.type = facet_value %empty_tuple.type, (%J.impl_witness.811) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.type.f07: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.706) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.c60: %J.WithSelf.F.type.f07 = struct_value () [concrete] +// CHECK:STDOUT: %J.facet.180: %J.type = facet_value %empty_tuple.type, (%J.impl_witness.133) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.type.096: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.180) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.cd8: %J.WithSelf.F.type.096 = struct_value () [concrete] // CHECK:STDOUT: %Negate.type: type = facet_type <@Negate> [concrete] -// CHECK:STDOUT: %Int.as.Negate.impl.Op.type.dfe: type = fn_type @Int.as.Negate.impl.Op, @Int.as.Negate.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Negate.impl.Op.6c1: %Int.as.Negate.impl.Op.type.dfe = struct_value () [symbolic] -// CHECK:STDOUT: %Negate.impl_witness.2c8: = impl_witness imports.%Negate.impl_witness_table, @Int.as.Negate.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Negate.impl.Op.type.f5d: type = fn_type @Int.as.Negate.impl.Op, @Int.as.Negate.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Negate.impl.Op.bd4: %Int.as.Negate.impl.Op.type.f5d = struct_value () [concrete] -// CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value %i32, (%Negate.impl_witness.2c8) [concrete] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.9e2: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] -// CHECK:STDOUT: %.66c: type = fn_type_with_self_type %Negate.WithSelf.Op.type.9e2, %Negate.facet [concrete] -// CHECK:STDOUT: %Int.as.Negate.impl.Op.specific_fn: = specific_function %Int.as.Negate.impl.Op.bd4, @Int.as.Negate.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %.c7a: type = fn_type_with_self_type %J.WithSelf.F.type.f07, %J.facet.706 [concrete] +// CHECK:STDOUT: %Int.as.Negate.impl.Op.type.8c1: type = fn_type @Int.as.Negate.impl.Op, @Int.as.Negate.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Negate.impl.Op.f1a: %Int.as.Negate.impl.Op.type.8c1 = struct_value () [symbolic] +// CHECK:STDOUT: %Negate.impl_witness.a16: = impl_witness imports.%Negate.impl_witness_table, @Int.as.Negate.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Negate.impl.Op.type.c30: type = fn_type @Int.as.Negate.impl.Op, @Int.as.Negate.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Negate.impl.Op.aa9: %Int.as.Negate.impl.Op.type.c30 = struct_value () [concrete] +// CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value %i32, (%Negate.impl_witness.a16) [concrete] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.b32: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] +// CHECK:STDOUT: %.7fb: type = fn_type_with_self_type %Negate.WithSelf.Op.type.b32, %Negate.facet [concrete] +// CHECK:STDOUT: %Int.as.Negate.impl.Op.specific_fn: = specific_function %Int.as.Negate.impl.Op.aa9, @Int.as.Negate.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %.205: type = fn_type_with_self_type %J.WithSelf.F.type.096, %J.facet.180 [concrete] // CHECK:STDOUT: %int_40.f80: Core.IntLiteral = int_value 40 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_40.f80, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_40.f80, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_40.f80, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_40.d9c: %i32 = int_value 40 [concrete] +// CHECK:STDOUT: %int_40.c3d: %i32 = int_value 40 [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %J.impl_witness.994: = impl_witness @C.as.J.impl.%J.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.29c: type = pattern_type %C [concrete] -// CHECK:STDOUT: %.efd: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %J.impl_witness.62f: = impl_witness @C.as.J.impl.%J.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] // CHECK:STDOUT: %C.as.J.impl.F.type: type = fn_type @C.as.J.impl.F [concrete] // CHECK:STDOUT: %C.as.J.impl.F: %C.as.J.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %J.facet.c68: %J.type = facet_value %C, (%J.impl_witness.994) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.type.929: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.c68) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.f83: %J.WithSelf.F.type.929 = struct_value () [concrete] +// CHECK:STDOUT: %J.facet.bf8: %J.type = facet_value %C, (%J.impl_witness.62f) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.type.78a: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet.bf8) [concrete] +// CHECK:STDOUT: %J.WithSelf.F.a5c: %J.WithSelf.F.type.78a = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.f26 = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.67c: @Int.as.Negate.impl.%Int.as.Negate.impl.Op.type (%Int.as.Negate.impl.Op.type.dfe) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Negate.impl.%Int.as.Negate.impl.Op (constants.%Int.as.Negate.impl.Op.6c1)] -// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.f26, %Core.import_ref.67c), @Int.as.Negate.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.d77 = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.b1a: @Int.as.Negate.impl.%Int.as.Negate.impl.Op.type (%Int.as.Negate.impl.Op.type.8c1) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Negate.impl.%Int.as.Negate.impl.Op (constants.%Int.as.Negate.impl.Op.f1a)] +// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.d77, %Core.import_ref.b1a), @Int.as.Negate.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { @@ -572,34 +572,34 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: -// CHECK:STDOUT: %J.WithSelf.F.decl: @J.WithSelf.%J.WithSelf.F.type (%J.WithSelf.F.type.a10) = fn_decl @J.WithSelf.F [symbolic = @J.WithSelf.%J.WithSelf.F (constants.%J.WithSelf.F.550)] { -// CHECK:STDOUT: %self.param_patt: @J.WithSelf.F.%pattern_type.loc6_12 (%pattern_type.592) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @J.WithSelf.F.%pattern_type.loc6_12 (%pattern_type.592) = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %u.param_patt: @J.WithSelf.F.%pattern_type.loc6_21 (%pattern_type.7e4) = value_param_pattern [concrete] -// CHECK:STDOUT: %u.patt: @J.WithSelf.F.%pattern_type.loc6_21 (%pattern_type.7e4) = at_binding_pattern u, %u.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @J.WithSelf.F.%pattern_type.loc6_21 (%pattern_type.7e4) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @J.WithSelf.F.%pattern_type.loc6_21 (%pattern_type.7e4) = return_slot_pattern %return.param_patt, %U.ref.loc6_29 [concrete] +// CHECK:STDOUT: %J.WithSelf.F.decl: @J.WithSelf.%J.WithSelf.F.type (%J.WithSelf.F.type.37c) = fn_decl @J.WithSelf.F [symbolic = @J.WithSelf.%J.WithSelf.F (constants.%J.WithSelf.F.acf)] { +// CHECK:STDOUT: %self.param_patt: @J.WithSelf.F.%pattern_type.loc6_12 (%pattern_type.9d0) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @J.WithSelf.F.%pattern_type.loc6_12 (%pattern_type.9d0) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %u.param_patt: @J.WithSelf.F.%pattern_type.loc6_21 (%pattern_type.d8a) = value_param_pattern [concrete] +// CHECK:STDOUT: %u.patt: @J.WithSelf.F.%pattern_type.loc6_21 (%pattern_type.d8a) = at_binding_pattern u, %u.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: @J.WithSelf.F.%pattern_type.loc6_21 (%pattern_type.d8a) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @J.WithSelf.F.%pattern_type.loc6_21 (%pattern_type.d8a) = return_slot_pattern %return.param_patt, %U.ref.loc6_29 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %impl.elem0.loc6_29: type = impl_witness_access constants.%J.lookup_impl_witness.48d, element0 [symbolic = %impl.elem0.loc6_23.1 (constants.%impl.elem0.424)] -// CHECK:STDOUT: %U.ref.loc6_29: type = name_ref U, %impl.elem0.loc6_29 [symbolic = %impl.elem0.loc6_23.1 (constants.%impl.elem0.424)] -// CHECK:STDOUT: %.loc6_29.2: Core.Form = init_form %U.ref.loc6_29 [symbolic = %.loc6_29.1 (constants.%.641)] -// CHECK:STDOUT: %self.param: @J.WithSelf.F.%Self.as_type.loc6_14.1 (%Self.as_type.cfa) = value_param call_param0 -// CHECK:STDOUT: %.loc6_14.1: type = splice_block %.loc6_14.2 [symbolic = %Self.as_type.loc6_14.1 (constants.%Self.as_type.cfa)] { -// CHECK:STDOUT: %Self.ref: %J.type = name_ref Self, @J.%Self [symbolic = %Self (constants.%Self.975)] -// CHECK:STDOUT: %Self.as_type.loc6_14.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc6_14.1 (constants.%Self.as_type.cfa)] -// CHECK:STDOUT: %.loc6_14.2: type = converted %Self.ref, %Self.as_type.loc6_14.2 [symbolic = %Self.as_type.loc6_14.1 (constants.%Self.as_type.cfa)] +// CHECK:STDOUT: %impl.elem0.loc6_29: type = impl_witness_access constants.%J.lookup_impl_witness.89d, element0 [symbolic = %impl.elem0.loc6_23.1 (constants.%impl.elem0.fbe)] +// CHECK:STDOUT: %U.ref.loc6_29: type = name_ref U, %impl.elem0.loc6_29 [symbolic = %impl.elem0.loc6_23.1 (constants.%impl.elem0.fbe)] +// CHECK:STDOUT: %.loc6_29.2: Core.Form = init_form %U.ref.loc6_29 [symbolic = %.loc6_29.1 (constants.%.f0e)] +// CHECK:STDOUT: %self.param: @J.WithSelf.F.%Self.as_type.loc6_14.1 (%Self.as_type.e52) = value_param call_param0 +// CHECK:STDOUT: %.loc6_14.1: type = splice_block %.loc6_14.2 [symbolic = %Self.as_type.loc6_14.1 (constants.%Self.as_type.e52)] { +// CHECK:STDOUT: %Self.ref: %J.type = name_ref Self, @J.%Self [symbolic = %Self (constants.%Self.fd8)] +// CHECK:STDOUT: %Self.as_type.loc6_14.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc6_14.1 (constants.%Self.as_type.e52)] +// CHECK:STDOUT: %.loc6_14.2: type = converted %Self.ref, %Self.as_type.loc6_14.2 [symbolic = %Self.as_type.loc6_14.1 (constants.%Self.as_type.e52)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @J.WithSelf.F.%Self.as_type.loc6_14.1 (%Self.as_type.cfa) = value_binding self, %self.param -// CHECK:STDOUT: %u.param: @J.WithSelf.F.%impl.elem0.loc6_23.1 (%impl.elem0.424) = value_param call_param1 -// CHECK:STDOUT: %.loc6_23: type = splice_block %U.ref.loc6_23 [symbolic = %impl.elem0.loc6_23.1 (constants.%impl.elem0.424)] { -// CHECK:STDOUT: %impl.elem0.loc6_23.2: type = impl_witness_access constants.%J.lookup_impl_witness.48d, element0 [symbolic = %impl.elem0.loc6_23.1 (constants.%impl.elem0.424)] -// CHECK:STDOUT: %U.ref.loc6_23: type = name_ref U, %impl.elem0.loc6_23.2 [symbolic = %impl.elem0.loc6_23.1 (constants.%impl.elem0.424)] +// CHECK:STDOUT: %self: @J.WithSelf.F.%Self.as_type.loc6_14.1 (%Self.as_type.e52) = value_binding self, %self.param +// CHECK:STDOUT: %u.param: @J.WithSelf.F.%impl.elem0.loc6_23.1 (%impl.elem0.fbe) = value_param call_param1 +// CHECK:STDOUT: %.loc6_23: type = splice_block %U.ref.loc6_23 [symbolic = %impl.elem0.loc6_23.1 (constants.%impl.elem0.fbe)] { +// CHECK:STDOUT: %impl.elem0.loc6_23.2: type = impl_witness_access constants.%J.lookup_impl_witness.89d, element0 [symbolic = %impl.elem0.loc6_23.1 (constants.%impl.elem0.fbe)] +// CHECK:STDOUT: %U.ref.loc6_23: type = name_ref U, %impl.elem0.loc6_23.2 [symbolic = %impl.elem0.loc6_23.1 (constants.%impl.elem0.fbe)] // CHECK:STDOUT: } -// CHECK:STDOUT: %u: @J.WithSelf.F.%impl.elem0.loc6_23.1 (%impl.elem0.424) = value_binding u, %u.param -// CHECK:STDOUT: %return.param: ref @J.WithSelf.F.%impl.elem0.loc6_23.1 (%impl.elem0.424) = out_param call_param2 -// CHECK:STDOUT: %return: ref @J.WithSelf.F.%impl.elem0.loc6_23.1 (%impl.elem0.424) = return_slot %return.param +// CHECK:STDOUT: %u: @J.WithSelf.F.%impl.elem0.loc6_23.1 (%impl.elem0.fbe) = value_binding u, %u.param +// CHECK:STDOUT: %return.param: ref @J.WithSelf.F.%impl.elem0.loc6_23.1 (%impl.elem0.fbe) = out_param call_param2 +// CHECK:STDOUT: %return: ref @J.WithSelf.F.%impl.elem0.loc6_23.1 (%impl.elem0.fbe) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc1: %J.assoc_type = assoc_entity element1, %J.WithSelf.F.decl [concrete = constants.%assoc1.3ce] +// CHECK:STDOUT: %assoc1: %J.assoc_type = assoc_entity element1, %J.WithSelf.F.decl [concrete = constants.%assoc1.24c] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -615,13 +615,13 @@ fn F() { // CHECK:STDOUT: %empty_tuple.type.as.J.impl.F.decl: %empty_tuple.type.as.J.impl.F.type = fn_decl @empty_tuple.type.as.J.impl.F [concrete = constants.%empty_tuple.type.as.J.impl.F] { // CHECK:STDOUT: %self.param_patt: %pattern_type.cb1 = value_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.cb1 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %u.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %u.patt: %pattern_type.c6b = at_binding_pattern u, %u.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc12_38 [concrete] +// CHECK:STDOUT: %u.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %u.patt: %pattern_type.104 = at_binding_pattern u, %u.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc12_38 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc12_38: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc12: Core.Form = init_form %i32.loc12_38 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc12: Core.Form = init_form %i32.loc12_38 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: %empty_tuple.type = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @empty_tuple.type.as.J.impl.%.loc10_7.2 [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %self: %empty_tuple.type = value_binding self, %self.param @@ -641,15 +641,15 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.J.impl: %C.ref.loc27_6 as %.loc27_13 { // CHECK:STDOUT: %C.as.J.impl.F.decl: %C.as.J.impl.F.type = fn_decl @C.as.J.impl.F [concrete = constants.%C.as.J.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.29c = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.29c = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %u.param_patt: %pattern_type.29c = value_param_pattern [concrete] -// CHECK:STDOUT: %u.patt: %pattern_type.29c = at_binding_pattern u, %u.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.29c = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.29c = return_slot_pattern %return.param_patt, %C.ref.loc29_36 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %u.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %u.patt: %pattern_type.0d5 = at_binding_pattern u, %u.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref.loc29_36 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc29_36: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc29_36: Core.Form = init_form %C.ref.loc29_36 [concrete = constants.%.efd] +// CHECK:STDOUT: %.loc29_36: Core.Form = init_form %C.ref.loc29_36 [concrete = constants.%.8f0] // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.J.impl.%C.ref.loc27_6 [concrete = constants.%C] // CHECK:STDOUT: %self: %C = value_binding self, %self.param @@ -669,21 +669,21 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @J.WithSelf.F(@J.%Self: %J.type) { -// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.975)] -// CHECK:STDOUT: %Self.as_type.loc6_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc6_14.1 (constants.%Self.as_type.cfa)] -// CHECK:STDOUT: %pattern_type.loc6_12: type = pattern_type %Self.as_type.loc6_14.1 [symbolic = %pattern_type.loc6_12 (constants.%pattern_type.592)] -// CHECK:STDOUT: %J.lookup_impl_witness: = lookup_impl_witness %Self, @J [symbolic = %J.lookup_impl_witness (constants.%J.lookup_impl_witness.48d)] -// CHECK:STDOUT: %impl.elem0.loc6_23.1: type = impl_witness_access %J.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_23.1 (constants.%impl.elem0.424)] -// CHECK:STDOUT: %pattern_type.loc6_21: type = pattern_type %impl.elem0.loc6_23.1 [symbolic = %pattern_type.loc6_21 (constants.%pattern_type.7e4)] -// CHECK:STDOUT: %.loc6_29.1: Core.Form = init_form %impl.elem0.loc6_23.1 [symbolic = %.loc6_29.1 (constants.%.641)] +// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.fd8)] +// CHECK:STDOUT: %Self.as_type.loc6_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc6_14.1 (constants.%Self.as_type.e52)] +// CHECK:STDOUT: %pattern_type.loc6_12: type = pattern_type %Self.as_type.loc6_14.1 [symbolic = %pattern_type.loc6_12 (constants.%pattern_type.9d0)] +// CHECK:STDOUT: %J.lookup_impl_witness: = lookup_impl_witness %Self, @J [symbolic = %J.lookup_impl_witness (constants.%J.lookup_impl_witness.89d)] +// CHECK:STDOUT: %impl.elem0.loc6_23.1: type = impl_witness_access %J.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_23.1 (constants.%impl.elem0.fbe)] +// CHECK:STDOUT: %pattern_type.loc6_21: type = pattern_type %impl.elem0.loc6_23.1 [symbolic = %pattern_type.loc6_21 (constants.%pattern_type.d8a)] +// CHECK:STDOUT: %.loc6_29.1: Core.Form = init_form %impl.elem0.loc6_23.1 [symbolic = %.loc6_29.1 (constants.%.f0e)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @J.WithSelf.F.%Self.as_type.loc6_14.1 (%Self.as_type.cfa), %u.param: @J.WithSelf.F.%impl.elem0.loc6_23.1 (%impl.elem0.424)) -> out %return.param: @J.WithSelf.F.%impl.elem0.loc6_23.1 (%impl.elem0.424); +// CHECK:STDOUT: fn(%self.param: @J.WithSelf.F.%Self.as_type.loc6_14.1 (%Self.as_type.e52), %u.param: @J.WithSelf.F.%impl.elem0.loc6_23.1 (%impl.elem0.fbe)) -> out %return.param: @J.WithSelf.F.%impl.elem0.loc6_23.1 (%impl.elem0.fbe); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @empty_tuple.type.as.J.impl.F(%self.param: %empty_tuple.type, %u.param: %i32) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %u.ref: %i32 = name_ref u, %u -// CHECK:STDOUT: %impl.elem1: %.66c = impl_witness_access constants.%Negate.impl_witness.2c8, element1 [concrete = constants.%Int.as.Negate.impl.Op.bd4] +// CHECK:STDOUT: %impl.elem1: %.7fb = impl_witness_access constants.%Negate.impl_witness.a16, element1 [concrete = constants.%Int.as.Negate.impl.Op.aa9] // CHECK:STDOUT: %bound_method.loc12_51.1: = bound_method %u.ref, %impl.elem1 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem1, @Int.as.Negate.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Negate.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc12_51.2: = bound_method %u.ref, %specific_fn @@ -695,17 +695,17 @@ fn F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: %empty_tuple.type = name_ref x, %x // CHECK:STDOUT: %J.ref: type = name_ref J, file.%J.decl [concrete = constants.%J.type] -// CHECK:STDOUT: %F.ref: %J.assoc_type = name_ref F, @J.WithSelf.%assoc1 [concrete = constants.%assoc1.3ce] -// CHECK:STDOUT: %impl.elem1: %.c7a = impl_witness_access constants.%J.impl_witness.811, element1 [concrete = constants.%empty_tuple.type.as.J.impl.F] +// CHECK:STDOUT: %F.ref: %J.assoc_type = name_ref F, @J.WithSelf.%assoc1 [concrete = constants.%assoc1.24c] +// CHECK:STDOUT: %impl.elem1: %.205 = impl_witness_access constants.%J.impl_witness.133, element1 [concrete = constants.%empty_tuple.type.as.J.impl.F] // CHECK:STDOUT: %bound_method.loc18_11: = bound_method %x.ref, %impl.elem1 // CHECK:STDOUT: %int_40: Core.IntLiteral = int_value 40 [concrete = constants.%int_40.f80] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc18_18.1: = bound_method %int_40, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc18_18.2: = bound_method %int_40, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc18_18.2(%int_40) [concrete = constants.%int_40.d9c] -// CHECK:STDOUT: %.loc18_18.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_40.d9c] -// CHECK:STDOUT: %.loc18_18.2: %i32 = converted %int_40, %.loc18_18.1 [concrete = constants.%int_40.d9c] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc18_18.2(%int_40) [concrete = constants.%int_40.c3d] +// CHECK:STDOUT: %.loc18_18.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_40.c3d] +// CHECK:STDOUT: %.loc18_18.2: %i32 = converted %int_40, %.loc18_18.1 [concrete = constants.%int_40.c3d] // CHECK:STDOUT: %empty_tuple.type.as.J.impl.F.call: init %i32 = call %bound_method.loc18_11(%x.ref, %.loc18_18.2) // CHECK:STDOUT: return %empty_tuple.type.as.J.impl.F.call // CHECK:STDOUT: } @@ -720,62 +720,62 @@ fn F() { // CHECK:STDOUT: return %.loc29_51.4 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.975) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.fd8) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.975 -// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.a10 -// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.550 +// CHECK:STDOUT: %Self => constants.%Self.fd8 +// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.37c +// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.acf // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.F(constants.%Self.975) { -// CHECK:STDOUT: %Self => constants.%Self.975 -// CHECK:STDOUT: %Self.as_type.loc6_14.1 => constants.%Self.as_type.cfa -// CHECK:STDOUT: %pattern_type.loc6_12 => constants.%pattern_type.592 -// CHECK:STDOUT: %J.lookup_impl_witness => constants.%J.lookup_impl_witness.48d -// CHECK:STDOUT: %impl.elem0.loc6_23.1 => constants.%impl.elem0.424 -// CHECK:STDOUT: %pattern_type.loc6_21 => constants.%pattern_type.7e4 -// CHECK:STDOUT: %.loc6_29.1 => constants.%.641 +// CHECK:STDOUT: specific @J.WithSelf.F(constants.%Self.fd8) { +// CHECK:STDOUT: %Self => constants.%Self.fd8 +// CHECK:STDOUT: %Self.as_type.loc6_14.1 => constants.%Self.as_type.e52 +// CHECK:STDOUT: %pattern_type.loc6_12 => constants.%pattern_type.9d0 +// CHECK:STDOUT: %J.lookup_impl_witness => constants.%J.lookup_impl_witness.89d +// CHECK:STDOUT: %impl.elem0.loc6_23.1 => constants.%impl.elem0.fbe +// CHECK:STDOUT: %pattern_type.loc6_21 => constants.%pattern_type.d8a +// CHECK:STDOUT: %.loc6_29.1 => constants.%.f0e // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%.Self.9fe) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%.Self.944) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%.Self.9fe -// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.000 -// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.f58 +// CHECK:STDOUT: %Self => constants.%.Self.944 +// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.131 +// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.51c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.706) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.180) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%J.facet.706 -// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.f07 -// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.c60 +// CHECK:STDOUT: %Self => constants.%J.facet.180 +// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.096 +// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.cd8 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.706) { -// CHECK:STDOUT: %Self => constants.%J.facet.706 +// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.180) { +// CHECK:STDOUT: %Self => constants.%J.facet.180 // CHECK:STDOUT: %Self.as_type.loc6_14.1 => constants.%empty_tuple.type // CHECK:STDOUT: %pattern_type.loc6_12 => constants.%pattern_type.cb1 -// CHECK:STDOUT: %J.lookup_impl_witness => constants.%J.impl_witness.811 +// CHECK:STDOUT: %J.lookup_impl_witness => constants.%J.impl_witness.133 // CHECK:STDOUT: %impl.elem0.loc6_23.1 => constants.%i32 -// CHECK:STDOUT: %pattern_type.loc6_21 => constants.%pattern_type.c6b -// CHECK:STDOUT: %.loc6_29.1 => constants.%.70c +// CHECK:STDOUT: %pattern_type.loc6_21 => constants.%pattern_type.104 +// CHECK:STDOUT: %.loc6_29.1 => constants.%.7ea // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.c68) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet.bf8) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%J.facet.c68 -// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.929 -// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.f83 +// CHECK:STDOUT: %Self => constants.%J.facet.bf8 +// CHECK:STDOUT: %J.WithSelf.F.type => constants.%J.WithSelf.F.type.78a +// CHECK:STDOUT: %J.WithSelf.F => constants.%J.WithSelf.F.a5c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.c68) { -// CHECK:STDOUT: %Self => constants.%J.facet.c68 +// CHECK:STDOUT: specific @J.WithSelf.F(constants.%J.facet.bf8) { +// CHECK:STDOUT: %Self => constants.%J.facet.bf8 // CHECK:STDOUT: %Self.as_type.loc6_14.1 => constants.%C -// CHECK:STDOUT: %pattern_type.loc6_12 => constants.%pattern_type.29c -// CHECK:STDOUT: %J.lookup_impl_witness => constants.%J.impl_witness.994 +// CHECK:STDOUT: %pattern_type.loc6_12 => constants.%pattern_type.0d5 +// CHECK:STDOUT: %J.lookup_impl_witness => constants.%J.impl_witness.62f // CHECK:STDOUT: %impl.elem0.loc6_23.1 => constants.%C -// CHECK:STDOUT: %pattern_type.loc6_21 => constants.%pattern_type.29c -// CHECK:STDOUT: %.loc6_29.1 => constants.%.efd +// CHECK:STDOUT: %pattern_type.loc6_21 => constants.%pattern_type.0d5 +// CHECK:STDOUT: %.loc6_29.1 => constants.%.8f0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- extend_impl_with_associated_type_in_signature.carbon @@ -783,157 +783,157 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %J.type: type = facet_type <@J> [concrete] // CHECK:STDOUT: %J.assoc_type: type = assoc_entity_type @J [concrete] -// CHECK:STDOUT: %assoc1.9af: %J.assoc_type = assoc_entity element1, @J.WithSelf.%J.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc1.24c: %J.assoc_type = assoc_entity element1, @J.WithSelf.%J.WithSelf.F.decl [concrete] // CHECK:STDOUT: %assoc2: %J.assoc_type = assoc_entity element2, @J.WithSelf.%J.WithSelf.G.decl [concrete] // CHECK:STDOUT: %E: type = class_type @E [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %J.impl_witness: = impl_witness @E.as.J.impl.%J.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %E.as.J.impl.F.type: type = fn_type @E.as.J.impl.F [concrete] // CHECK:STDOUT: %E.as.J.impl.F: %E.as.J.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %E.as.J.impl.G.type: type = fn_type @E.as.J.impl.G [concrete] // CHECK:STDOUT: %E.as.J.impl.G: %E.as.J.impl.G.type = struct_value () [concrete] // CHECK:STDOUT: %J.facet: %J.type = facet_value %E, (%J.impl_witness) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.type.02a: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet) [concrete] -// CHECK:STDOUT: %J.WithSelf.G.type.19f: type = fn_type @J.WithSelf.G, @J.WithSelf(%J.facet) [concrete] -// CHECK:STDOUT: %.b4e: type = fn_type_with_self_type %J.WithSelf.F.type.02a, %J.facet [concrete] +// CHECK:STDOUT: %J.WithSelf.F.type.399: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet) [concrete] +// CHECK:STDOUT: %J.WithSelf.G.type.73c: type = fn_type @J.WithSelf.G, @J.WithSelf(%J.facet) [concrete] +// CHECK:STDOUT: %.e20: type = fn_type_with_self_type %J.WithSelf.F.type.399, %J.facet [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %.ad2: type = fn_type_with_self_type %J.WithSelf.G.type.19f, %J.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %.4b1: type = fn_type_with_self_type %J.WithSelf.G.type.73c, %J.facet [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] // CHECK:STDOUT: %int_5.64b: Core.IntLiteral = int_value 5 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.10b: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e3e: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] // CHECK:STDOUT: %int_6.462: Core.IntLiteral = int_value 6 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.790: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.8f1: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_6.7fc: %i32 = int_value 6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.6e4: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.50f: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_6.77d: %i32 = int_value 6 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CallBoth(%e.param: %E) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e1.patt: %pattern_type.c6b = value_binding_pattern e1 [concrete] +// CHECK:STDOUT: %e1.patt: %pattern_type.104 = value_binding_pattern e1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %e.ref.loc22: %E = name_ref e, %e -// CHECK:STDOUT: %F.ref.loc22: %J.assoc_type = name_ref F, @J.WithSelf.%assoc1 [concrete = constants.%assoc1.9af] -// CHECK:STDOUT: %impl.elem1.loc22: %.b4e = impl_witness_access constants.%J.impl_witness, element1 [concrete = constants.%E.as.J.impl.F] +// CHECK:STDOUT: %F.ref.loc22: %J.assoc_type = name_ref F, @J.WithSelf.%assoc1 [concrete = constants.%assoc1.24c] +// CHECK:STDOUT: %impl.elem1.loc22: %.e20 = impl_witness_access constants.%J.impl_witness, element1 [concrete = constants.%E.as.J.impl.F] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc22: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc22_28.1: = bound_method %int_2, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0.loc22: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc22_28.1: = bound_method %int_2, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem0.loc22, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc22_28.2: = bound_method %int_2, %specific_fn.loc22 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %i32 = call %bound_method.loc22_28.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc22_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc22_28.2: %i32 = converted %int_2, %.loc22_28.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc22_28.2: = bound_method %int_2, %specific_fn.loc22 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %i32 = call %bound_method.loc22_28.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc22_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc22_28.2: %i32 = converted %int_2, %.loc22_28.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %E.as.J.impl.F.call.loc22: init %i32 = call %impl.elem1.loc22(%.loc22_28.2) // CHECK:STDOUT: %i32.loc22: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc22_29.1: %i32 = value_of_initializer %E.as.J.impl.F.call.loc22 // CHECK:STDOUT: %.loc22_29.2: %i32 = converted %E.as.J.impl.F.call.loc22, %.loc22_29.1 // CHECK:STDOUT: %e1: %i32 = value_binding e1, %.loc22_29.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e2.patt: %pattern_type.c6b = value_binding_pattern e2 [concrete] +// CHECK:STDOUT: %e2.patt: %pattern_type.104 = value_binding_pattern e2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %e.ref.loc23: %E = name_ref e, %e // CHECK:STDOUT: %G.ref.loc23: %J.assoc_type = name_ref G, @J.WithSelf.%assoc2 [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc23: %.ad2 = impl_witness_access constants.%J.impl_witness, element2 [concrete = constants.%E.as.J.impl.G] +// CHECK:STDOUT: %impl.elem2.loc23: %.4b1 = impl_witness_access constants.%J.impl_witness, element2 [concrete = constants.%E.as.J.impl.G] // CHECK:STDOUT: %bound_method.loc23_25: = bound_method %e.ref.loc23, %impl.elem2.loc23 // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc23: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc23_28.1: = bound_method %int_3, %impl.elem0.loc23 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc23: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc23_28.1: = bound_method %int_3, %impl.elem0.loc23 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc23: = specific_function %impl.elem0.loc23, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc23_28.2: = bound_method %int_3, %specific_fn.loc23 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23: init %i32 = call %bound_method.loc23_28.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc23_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc23_28.2: %i32 = converted %int_3, %.loc23_28.1 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc23_28.2: = bound_method %int_3, %specific_fn.loc23 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23: init %i32 = call %bound_method.loc23_28.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc23_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc23_28.2: %i32 = converted %int_3, %.loc23_28.1 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %E.as.J.impl.G.call.loc23: init %i32 = call %bound_method.loc23_25(%e.ref.loc23, %.loc23_28.2) // CHECK:STDOUT: %i32.loc23: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc23_29.1: %i32 = value_of_initializer %E.as.J.impl.G.call.loc23 // CHECK:STDOUT: %.loc23_29.2: %i32 = converted %E.as.J.impl.G.call.loc23, %.loc23_29.1 // CHECK:STDOUT: %e2: %i32 = value_binding e2, %.loc23_29.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e3.patt: %pattern_type.c6b = value_binding_pattern e3 [concrete] +// CHECK:STDOUT: %e3.patt: %pattern_type.104 = value_binding_pattern e3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %E.ref.loc24: type = name_ref E, file.%E.decl [concrete = constants.%E] -// CHECK:STDOUT: %F.ref.loc24: %J.assoc_type = name_ref F, @J.WithSelf.%assoc1 [concrete = constants.%assoc1.9af] -// CHECK:STDOUT: %impl.elem1.loc24: %.b4e = impl_witness_access constants.%J.impl_witness, element1 [concrete = constants.%E.as.J.impl.F] +// CHECK:STDOUT: %F.ref.loc24: %J.assoc_type = name_ref F, @J.WithSelf.%assoc1 [concrete = constants.%assoc1.24c] +// CHECK:STDOUT: %impl.elem1.loc24: %.e20 = impl_witness_access constants.%J.impl_witness, element1 [concrete = constants.%E.as.J.impl.F] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0.loc24: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc24_28.1: = bound_method %int_4, %impl.elem0.loc24 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %impl.elem0.loc24: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc24_28.1: = bound_method %int_4, %impl.elem0.loc24 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc24: = specific_function %impl.elem0.loc24, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc24_28.2: = bound_method %int_4, %specific_fn.loc24 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc24: init %i32 = call %bound_method.loc24_28.2(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc24_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc24 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc24_28.2: %i32 = converted %int_4, %.loc24_28.1 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %bound_method.loc24_28.2: = bound_method %int_4, %specific_fn.loc24 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc24: init %i32 = call %bound_method.loc24_28.2(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc24_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc24 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc24_28.2: %i32 = converted %int_4, %.loc24_28.1 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: %E.as.J.impl.F.call.loc24: init %i32 = call %impl.elem1.loc24(%.loc24_28.2) // CHECK:STDOUT: %i32.loc24: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc24_29.1: %i32 = value_of_initializer %E.as.J.impl.F.call.loc24 // CHECK:STDOUT: %.loc24_29.2: %i32 = converted %E.as.J.impl.F.call.loc24, %.loc24_29.1 // CHECK:STDOUT: %e3: %i32 = value_binding e3, %.loc24_29.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e4.patt: %pattern_type.c6b = value_binding_pattern e4 [concrete] +// CHECK:STDOUT: %e4.patt: %pattern_type.104 = value_binding_pattern e4 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %e.ref.loc25: %E = name_ref e, %e // CHECK:STDOUT: %E.ref.loc25: type = name_ref E, file.%E.decl [concrete = constants.%E] // CHECK:STDOUT: %G.ref.loc25: %J.assoc_type = name_ref G, @J.WithSelf.%assoc2 [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc25: %.ad2 = impl_witness_access constants.%J.impl_witness, element2 [concrete = constants.%E.as.J.impl.G] +// CHECK:STDOUT: %impl.elem2.loc25: %.4b1 = impl_witness_access constants.%J.impl_witness, element2 [concrete = constants.%E.as.J.impl.G] // CHECK:STDOUT: %bound_method.loc25_25: = bound_method %e.ref.loc25, %impl.elem2.loc25 // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] -// CHECK:STDOUT: %impl.elem0.loc25: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc25_32.1: = bound_method %int_5, %impl.elem0.loc25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52] +// CHECK:STDOUT: %impl.elem0.loc25: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc25_32.1: = bound_method %int_5, %impl.elem0.loc25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c] // CHECK:STDOUT: %specific_fn.loc25: = specific_function %impl.elem0.loc25, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc25_32.2: = bound_method %int_5, %specific_fn.loc25 [concrete = constants.%bound_method.10b] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25: init %i32 = call %bound_method.loc25_32.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc25_32.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc25_32.2: %i32 = converted %int_5, %.loc25_32.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %bound_method.loc25_32.2: = bound_method %int_5, %specific_fn.loc25 [concrete = constants.%bound_method.e3e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25: init %i32 = call %bound_method.loc25_32.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc25_32.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc25_32.2: %i32 = converted %int_5, %.loc25_32.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %E.as.J.impl.G.call.loc25: init %i32 = call %bound_method.loc25_25(%e.ref.loc25, %.loc25_32.2) // CHECK:STDOUT: %i32.loc25: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc25_33.1: %i32 = value_of_initializer %E.as.J.impl.G.call.loc25 // CHECK:STDOUT: %.loc25_33.2: %i32 = converted %E.as.J.impl.G.call.loc25, %.loc25_33.1 // CHECK:STDOUT: %e4: %i32 = value_binding e4, %.loc25_33.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e5.patt: %pattern_type.c6b = value_binding_pattern e5 [concrete] +// CHECK:STDOUT: %e5.patt: %pattern_type.104 = value_binding_pattern e5 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %e.ref.loc26: %E = name_ref e, %e // CHECK:STDOUT: %J.ref: type = name_ref J, file.%J.decl [concrete = constants.%J.type] // CHECK:STDOUT: %G.ref.loc26: %J.assoc_type = name_ref G, @J.WithSelf.%assoc2 [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc26: %.ad2 = impl_witness_access constants.%J.impl_witness, element2 [concrete = constants.%E.as.J.impl.G] +// CHECK:STDOUT: %impl.elem2.loc26: %.4b1 = impl_witness_access constants.%J.impl_witness, element2 [concrete = constants.%E.as.J.impl.G] // CHECK:STDOUT: %bound_method.loc26_25: = bound_method %e.ref.loc26, %impl.elem2.loc26 // CHECK:STDOUT: %int_6: Core.IntLiteral = int_value 6 [concrete = constants.%int_6.462] -// CHECK:STDOUT: %impl.elem0.loc26: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc26_32.1: = bound_method %int_6, %impl.elem0.loc26 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.790] +// CHECK:STDOUT: %impl.elem0.loc26: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc26_32.1: = bound_method %int_6, %impl.elem0.loc26 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.6e4] // CHECK:STDOUT: %specific_fn.loc26: = specific_function %impl.elem0.loc26, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc26_32.2: = bound_method %int_6, %specific_fn.loc26 [concrete = constants.%bound_method.8f1] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26: init %i32 = call %bound_method.loc26_32.2(%int_6) [concrete = constants.%int_6.7fc] -// CHECK:STDOUT: %.loc26_32.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26 [concrete = constants.%int_6.7fc] -// CHECK:STDOUT: %.loc26_32.2: %i32 = converted %int_6, %.loc26_32.1 [concrete = constants.%int_6.7fc] +// CHECK:STDOUT: %bound_method.loc26_32.2: = bound_method %int_6, %specific_fn.loc26 [concrete = constants.%bound_method.50f] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26: init %i32 = call %bound_method.loc26_32.2(%int_6) [concrete = constants.%int_6.77d] +// CHECK:STDOUT: %.loc26_32.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26 [concrete = constants.%int_6.77d] +// CHECK:STDOUT: %.loc26_32.2: %i32 = converted %int_6, %.loc26_32.1 [concrete = constants.%int_6.77d] // CHECK:STDOUT: %E.as.J.impl.G.call.loc26: init %i32 = call %bound_method.loc26_25(%e.ref.loc26, %.loc26_32.2) // CHECK:STDOUT: %i32.loc26: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc26_33.1: %i32 = value_of_initializer %E.as.J.impl.G.call.loc26 @@ -981,39 +981,39 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %J.impl_witness: = impl_witness @E.as.J.impl.%J.impl_witness_table [concrete] // CHECK:STDOUT: %J.facet: %J.type = facet_value %E, (%J.impl_witness) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %E.as.J.impl.F.type: type = fn_type @E.as.J.impl.F [concrete] // CHECK:STDOUT: %E.as.J.impl.F: %E.as.J.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @E.as.J.impl: %Self.ref as %.loc9_20 { // CHECK:STDOUT: %E.as.J.impl.F.decl: %E.as.J.impl.F.type = fn_decl @E.as.J.impl.F [concrete = constants.%E.as.J.impl.F] { -// CHECK:STDOUT: %u.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %u.patt: %pattern_type.c6b = at_binding_pattern u, %u.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %U.ref.loc11_19 [concrete] +// CHECK:STDOUT: %u.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %u.patt: %pattern_type.104 = at_binding_pattern u, %u.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %U.ref.loc11_19 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %J.facet.loc11_19: %J.type = facet_value @E.as.J.impl.%Self.ref, (constants.%J.impl_witness) [concrete = constants.%J.facet] // CHECK:STDOUT: %.loc11_19.1: %J.type = converted @E.as.J.impl.%Self.ref, %J.facet.loc11_19 [concrete = constants.%J.facet] // CHECK:STDOUT: %impl.elem0.loc11_19: type = impl_witness_access constants.%J.impl_witness, element0 [concrete = constants.%i32] // CHECK:STDOUT: %U.ref.loc11_19: type = name_ref U, %impl.elem0.loc11_19 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc11_19.2: Core.Form = init_form %U.ref.loc11_19 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc11_19.2: Core.Form = init_form %U.ref.loc11_19 [concrete = constants.%.7ea] // CHECK:STDOUT: %u.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.loc11_13.1: type = splice_block %U.ref.loc11_13 [concrete = constants.%i32] { // CHECK:STDOUT: %J.facet.loc11_13: %J.type = facet_value @E.as.J.impl.%Self.ref, (constants.%J.impl_witness) [concrete = constants.%J.facet] @@ -1047,7 +1047,7 @@ fn F() { // CHECK:STDOUT: fn @E.as.J.impl.F(%u.param: %i32) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %u.ref: %i32 = name_ref u, %u -// CHECK:STDOUT: %impl.elem0.loc12: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc12: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc12_14.1: = bound_method %u.ref, %impl.elem0.loc12 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc12, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc12_14.2: = bound_method %u.ref, %specific_fn @@ -1065,8 +1065,8 @@ fn F() { // CHECK:STDOUT: %E.as.J.impl.F.type: type = fn_type @E.as.J.impl.F [concrete] // CHECK:STDOUT: %E.as.J.impl.F: %E.as.J.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %J.facet: %J.type = facet_value %E, (%J.impl_witness) [concrete] -// CHECK:STDOUT: %J.WithSelf.F.type.3ce: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet) [concrete] -// CHECK:STDOUT: %.e23: type = fn_type_with_self_type %J.WithSelf.F.type.3ce, %J.facet [concrete] +// CHECK:STDOUT: %J.WithSelf.F.type.903: type = fn_type @J.WithSelf.F, @J.WithSelf(%J.facet) [concrete] +// CHECK:STDOUT: %.451: type = fn_type_with_self_type %J.WithSelf.F.type.903, %J.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @E { @@ -1085,8 +1085,8 @@ fn F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %J.facet: %J.type = facet_value constants.%E, (constants.%J.impl_witness) [concrete = constants.%J.facet] // CHECK:STDOUT: %.loc14: %J.type = converted constants.%E, %J.facet [concrete = constants.%J.facet] -// CHECK:STDOUT: %impl.elem0: %.e23 = impl_witness_access constants.%J.impl_witness, element0 [concrete = constants.%E.as.J.impl.F] -// CHECK:STDOUT: %F.ref: %.e23 = name_ref F, %impl.elem0 [concrete = constants.%E.as.J.impl.F] +// CHECK:STDOUT: %impl.elem0: %.451 = impl_witness_access constants.%J.impl_witness, element0 [concrete = constants.%E.as.J.impl.F] +// CHECK:STDOUT: %F.ref: %.451 = name_ref F, %impl.elem0 [concrete = constants.%E.as.J.impl.F] // CHECK:STDOUT: %E.as.J.impl.F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/index/array_element_access.carbon b/toolchain/check/testdata/index/array_element_access.carbon index 3017ad2fe7d6..af5d514cbd8b 100644 --- a/toolchain/check/testdata/index/array_element_access.carbon +++ b/toolchain/check/testdata/index/array_element_access.carbon @@ -27,50 +27,50 @@ var d: i32 = a[b]; // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_2, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.6bb: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.f35: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %int_12.6a3: Core.IntLiteral = int_value 12 [concrete] // CHECK:STDOUT: %int_24.e3c: Core.IntLiteral = int_value 24 [concrete] // CHECK:STDOUT: %tuple.type.f94: type = tuple_type (Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.dac: %tuple.type.f94 = tuple_value (%int_12.6a3, %int_24.e3c) [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.3a1: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.839: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_12.f43: %i32 = int_value 12 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bc9: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.739: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_12.aa5: %i32 = int_value 12 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.058: = bound_method %int_24.e3c, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.5ce: = bound_method %int_24.e3c, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_24.443: %i32 = int_value 24 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%int_12.f43, %int_24.443) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.7c5: = bound_method %int_24.e3c, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.1db: = bound_method %int_24.e3c, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_24.a1b: %i32 = int_value 24 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%int_12.aa5, %int_24.a1b) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -82,12 +82,12 @@ var d: i32 = a[b]; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -100,8 +100,8 @@ var d: i32 = a[b]; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.6bb = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.6bb = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f35 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.f35 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt [concrete] // CHECK:STDOUT: %.loc15: type = splice_block %array_type [concrete = constants.%array_type] { @@ -111,22 +111,22 @@ var d: i32 = a[b]; // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.c6b = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.c6b = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.104 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.104 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %i32 = var %c.var_patt [concrete] // CHECK:STDOUT: %i32.loc17: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %c: ref %i32 = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.c6b = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.c6b = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.104 = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.104 = var_pattern %d.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.var: ref %i32 = var %d.var_patt [concrete] // CHECK:STDOUT: %i32.loc18: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -138,47 +138,47 @@ var d: i32 = a[b]; // CHECK:STDOUT: %int_12: Core.IntLiteral = int_value 12 [concrete = constants.%int_12.6a3] // CHECK:STDOUT: %int_24: Core.IntLiteral = int_value 24 [concrete = constants.%int_24.e3c] // CHECK:STDOUT: %.loc15_31.1: %tuple.type.f94 = tuple_literal (%int_12, %int_24) [concrete = constants.%tuple.dac] -// CHECK:STDOUT: %impl.elem0.loc15_31.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_31.1: = bound_method %int_12, %impl.elem0.loc15_31.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.3a1] +// CHECK:STDOUT: %impl.elem0.loc15_31.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_31.1: = bound_method %int_12, %impl.elem0.loc15_31.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bc9] // CHECK:STDOUT: %specific_fn.loc15_31.1: = specific_function %impl.elem0.loc15_31.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_31.2: = bound_method %int_12, %specific_fn.loc15_31.1 [concrete = constants.%bound_method.839] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.1: init %i32 = call %bound_method.loc15_31.2(%int_12) [concrete = constants.%int_12.f43] -// CHECK:STDOUT: %.loc15_31.2: init %i32 = converted %int_12, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.1 [concrete = constants.%int_12.f43] +// CHECK:STDOUT: %bound_method.loc15_31.2: = bound_method %int_12, %specific_fn.loc15_31.1 [concrete = constants.%bound_method.739] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.1: init %i32 = call %bound_method.loc15_31.2(%int_12) [concrete = constants.%int_12.aa5] +// CHECK:STDOUT: %.loc15_31.2: init %i32 = converted %int_12, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.1 [concrete = constants.%int_12.aa5] // CHECK:STDOUT: %int_0.loc15: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc15_31.3: ref %i32 = array_index file.%a.var, %int_0.loc15 -// CHECK:STDOUT: %.loc15_31.4: init %i32 to %.loc15_31.3 = in_place_init %.loc15_31.2 [concrete = constants.%int_12.f43] -// CHECK:STDOUT: %impl.elem0.loc15_31.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_31.3: = bound_method %int_24, %impl.elem0.loc15_31.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.058] +// CHECK:STDOUT: %.loc15_31.4: init %i32 to %.loc15_31.3 = in_place_init %.loc15_31.2 [concrete = constants.%int_12.aa5] +// CHECK:STDOUT: %impl.elem0.loc15_31.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_31.3: = bound_method %int_24, %impl.elem0.loc15_31.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.7c5] // CHECK:STDOUT: %specific_fn.loc15_31.2: = specific_function %impl.elem0.loc15_31.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_31.4: = bound_method %int_24, %specific_fn.loc15_31.2 [concrete = constants.%bound_method.5ce] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.2: init %i32 = call %bound_method.loc15_31.4(%int_24) [concrete = constants.%int_24.443] -// CHECK:STDOUT: %.loc15_31.5: init %i32 = converted %int_24, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.2 [concrete = constants.%int_24.443] +// CHECK:STDOUT: %bound_method.loc15_31.4: = bound_method %int_24, %specific_fn.loc15_31.2 [concrete = constants.%bound_method.1db] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.2: init %i32 = call %bound_method.loc15_31.4(%int_24) [concrete = constants.%int_24.a1b] +// CHECK:STDOUT: %.loc15_31.5: init %i32 = converted %int_24, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.2 [concrete = constants.%int_24.a1b] // CHECK:STDOUT: %int_1.loc15: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc15_31.6: ref %i32 = array_index file.%a.var, %int_1.loc15 -// CHECK:STDOUT: %.loc15_31.7: init %i32 to %.loc15_31.6 = in_place_init %.loc15_31.5 [concrete = constants.%int_24.443] +// CHECK:STDOUT: %.loc15_31.7: init %i32 to %.loc15_31.6 = in_place_init %.loc15_31.5 [concrete = constants.%int_24.a1b] // CHECK:STDOUT: %.loc15_31.8: init %array_type to file.%a.var = array_init (%.loc15_31.4, %.loc15_31.7) [concrete = constants.%array] // CHECK:STDOUT: %.loc15_1: init %array_type = converted %.loc15_31.1, %.loc15_31.8 [concrete = constants.%array] // CHECK:STDOUT: assign file.%a.var, %.loc15_1 // CHECK:STDOUT: %int_1.loc16: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc16: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_1.1: = bound_method %int_1.loc16, %impl.elem0.loc16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc16: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_1.1: = bound_method %int_1.loc16, %impl.elem0.loc16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_1.2: = bound_method %int_1.loc16, %specific_fn.loc16 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16: init %i32 = call %bound_method.loc16_1.2(%int_1.loc16) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc16: init %i32 = converted %int_1.loc16, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc16_1.2: = bound_method %int_1.loc16, %specific_fn.loc16 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16: init %i32 = call %bound_method.loc16_1.2(%int_1.loc16) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc16: init %i32 = converted %int_1.loc16, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign file.%b.var, %.loc16 // CHECK:STDOUT: %a.ref.loc17: ref %array_type = name_ref a, file.%a [concrete = file.%a.var] // CHECK:STDOUT: %int_0.loc17: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc17_16: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc17_16.1: = bound_method %int_0.loc17, %impl.elem0.loc17_16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc17_16: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc17_16.1: = bound_method %int_0.loc17, %impl.elem0.loc17_16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc17_16: = specific_function %impl.elem0.loc17_16, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc17_16.2: = bound_method %int_0.loc17, %specific_fn.loc17_16 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %i32 = call %bound_method.loc17_16.2(%int_0.loc17) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc17_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc17_16.2: %i32 = converted %int_0.loc17, %.loc17_16.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc17_16.2: = bound_method %int_0.loc17, %specific_fn.loc17_16 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %i32 = call %bound_method.loc17_16.2(%int_0.loc17) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc17_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc17_16.2: %i32 = converted %int_0.loc17, %.loc17_16.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc17_17.1: ref %i32 = array_index %a.ref.loc17, %.loc17_16.2 // CHECK:STDOUT: %.loc17_17.2: %i32 = acquire_value %.loc17_17.1 -// CHECK:STDOUT: %impl.elem0.loc17_17: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc17_17: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc17_17.1: = bound_method %.loc17_17.2, %impl.elem0.loc17_17 // CHECK:STDOUT: %specific_fn.loc17_17: = specific_function %impl.elem0.loc17_17, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc17_17.2: = bound_method %.loc17_17.2, %specific_fn.loc17_17 @@ -189,7 +189,7 @@ var d: i32 = a[b]; // CHECK:STDOUT: %.loc18_16: %i32 = acquire_value %b.ref // CHECK:STDOUT: %.loc18_17.1: ref %i32 = array_index %a.ref.loc18, %.loc18_16 // CHECK:STDOUT: %.loc18_17.2: %i32 = acquire_value %.loc18_17.1 -// CHECK:STDOUT: %impl.elem0.loc18: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc18: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc18_17.1: = bound_method %.loc18_17.2, %impl.elem0.loc18 // CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc18_17.2: = bound_method %.loc18_17.2, %specific_fn.loc18 diff --git a/toolchain/check/testdata/index/expr_category.carbon b/toolchain/check/testdata/index/expr_category.carbon index a369551ab10b..815171210653 100644 --- a/toolchain/check/testdata/index/expr_category.carbon +++ b/toolchain/check/testdata/index/expr_category.carbon @@ -42,8 +42,8 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_3.1ba, %i32 [concrete] -// CHECK:STDOUT: %.2dc: Core.Form = init_form %array_type [concrete] -// CHECK:STDOUT: %pattern_type.215: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %.761: Core.Form = init_form %array_type [concrete] +// CHECK:STDOUT: %pattern_type.bec: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] @@ -54,54 +54,54 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: %tuple.type.37f: type = tuple_type (Core.IntLiteral, Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.2d5: %tuple.type.37f = tuple_value (%int_1.5b8, %int_2.ecc, %int_3.1ba) [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%int_1.d5e, %int_2.4ff, %int_3.49a) [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%int_1.d9c, %int_2.228, %int_3.6cc) [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc21 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc18_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc21 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc18_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: %ValueBinding.type: type = fn_type @ValueBinding [concrete] // CHECK:STDOUT: %ValueBinding: %ValueBinding.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -116,12 +116,12 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -134,19 +134,19 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.215 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.215 = return_slot_pattern %return.param_patt, %array_type [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.bec = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.bec = return_slot_pattern %return.param_patt, %array_type [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %array_type: type = array_type %int_3, %i32 [concrete = constants.%array_type] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %array_type [concrete = constants.%.2dc] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %array_type [concrete = constants.%.761] // CHECK:STDOUT: %return.param: ref %array_type = out_param call_param0 // CHECK:STDOUT: %return: ref %array_type = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %b.param_patt: %pattern_type.215 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.215 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.bec = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.bec = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %b.param: %array_type = value_param call_param0 // CHECK:STDOUT: %.loc17: type = splice_block %array_type.loc17 [concrete = constants.%array_type] { @@ -157,8 +157,8 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: %b: %array_type = value_binding b, %b.param // CHECK:STDOUT: } // CHECK:STDOUT: %ValueBinding.decl: %ValueBinding.type = fn_decl @ValueBinding [concrete = constants.%ValueBinding] { -// CHECK:STDOUT: %b.param_patt: %pattern_type.215 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.215 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.bec = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.bec = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %b.param: %array_type = value_param call_param0 // CHECK:STDOUT: %.loc25: type = splice_block %array_type.loc25 [concrete = constants.%array_type] { @@ -175,41 +175,41 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: fn @G(%b.param: %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.215 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.215 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.bec = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.bec = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt // CHECK:STDOUT: %int_1.loc18_27: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc18_30: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %int_3.loc18_33: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc18_34.1: %tuple.type.37f = tuple_literal (%int_1.loc18_27, %int_2.loc18_30, %int_3.loc18_33) [concrete = constants.%tuple.2d5] -// CHECK:STDOUT: %impl.elem0.loc18_34.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_34.1: = bound_method %int_1.loc18_27, %impl.elem0.loc18_34.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc18_34.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_34.1: = bound_method %int_1.loc18_27, %impl.elem0.loc18_34.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc18_34.1: = specific_function %impl.elem0.loc18_34.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_34.2: = bound_method %int_1.loc18_27, %specific_fn.loc18_34.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_34.1: init %i32 = call %bound_method.loc18_34.2(%int_1.loc18_27) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_34.2: init %i32 = converted %int_1.loc18_27, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_34.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc18_34.2: = bound_method %int_1.loc18_27, %specific_fn.loc18_34.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_34.1: init %i32 = call %bound_method.loc18_34.2(%int_1.loc18_27) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_34.2: init %i32 = converted %int_1.loc18_27, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_34.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %int_0.loc18: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc18_34.3: ref %i32 = array_index %a.var, %int_0.loc18 -// CHECK:STDOUT: %.loc18_34.4: init %i32 to %.loc18_34.3 = in_place_init %.loc18_34.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc18_34.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_34.3: = bound_method %int_2.loc18_30, %impl.elem0.loc18_34.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc18_34.4: init %i32 to %.loc18_34.3 = in_place_init %.loc18_34.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc18_34.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_34.3: = bound_method %int_2.loc18_30, %impl.elem0.loc18_34.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc18_34.2: = specific_function %impl.elem0.loc18_34.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_34.4: = bound_method %int_2.loc18_30, %specific_fn.loc18_34.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_34.2: init %i32 = call %bound_method.loc18_34.4(%int_2.loc18_30) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_34.5: init %i32 = converted %int_2.loc18_30, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_34.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc18_34.4: = bound_method %int_2.loc18_30, %specific_fn.loc18_34.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_34.2: init %i32 = call %bound_method.loc18_34.4(%int_2.loc18_30) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_34.5: init %i32 = converted %int_2.loc18_30, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_34.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %int_1.loc18_34: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc18_34.6: ref %i32 = array_index %a.var, %int_1.loc18_34 -// CHECK:STDOUT: %.loc18_34.7: init %i32 to %.loc18_34.6 = in_place_init %.loc18_34.5 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc18_34.3: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_34.5: = bound_method %int_3.loc18_33, %impl.elem0.loc18_34.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %.loc18_34.7: init %i32 to %.loc18_34.6 = in_place_init %.loc18_34.5 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc18_34.3: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_34.5: = bound_method %int_3.loc18_33, %impl.elem0.loc18_34.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc18_34.3: = specific_function %impl.elem0.loc18_34.3, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_34.6: = bound_method %int_3.loc18_33, %specific_fn.loc18_34.3 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_34.3: init %i32 = call %bound_method.loc18_34.6(%int_3.loc18_33) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc18_34.8: init %i32 = converted %int_3.loc18_33, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_34.3 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc18_34.6: = bound_method %int_3.loc18_33, %specific_fn.loc18_34.3 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_34.3: init %i32 = call %bound_method.loc18_34.6(%int_3.loc18_33) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc18_34.8: init %i32 = converted %int_3.loc18_33, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_34.3 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %int_2.loc18_34: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc18_34.9: ref %i32 = array_index %a.var, %int_2.loc18_34 -// CHECK:STDOUT: %.loc18_34.10: init %i32 to %.loc18_34.9 = in_place_init %.loc18_34.8 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %.loc18_34.10: init %i32 to %.loc18_34.9 = in_place_init %.loc18_34.8 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc18_34.11: init %array_type to %a.var = array_init (%.loc18_34.4, %.loc18_34.7, %.loc18_34.10) [concrete = constants.%array] // CHECK:STDOUT: %.loc18_3: init %array_type = converted %.loc18_34.1, %.loc18_34.11 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc18_3 @@ -220,58 +220,58 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %pa.patt: %pattern_type.663 = ref_binding_pattern pa [concrete] -// CHECK:STDOUT: %pa.var_patt: %pattern_type.663 = var_pattern %pa.patt [concrete] +// CHECK:STDOUT: %pa.patt: %pattern_type.7b5 = ref_binding_pattern pa [concrete] +// CHECK:STDOUT: %pa.var_patt: %pattern_type.7b5 = var_pattern %pa.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %pa.var: ref %ptr.143 = var %pa.var_patt +// CHECK:STDOUT: %pa.var: ref %ptr.847 = var %pa.var_patt // CHECK:STDOUT: %a.ref.loc21: ref %array_type = name_ref a, %a // CHECK:STDOUT: %int_0.loc21: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc21_28: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc21_28.1: = bound_method %int_0.loc21, %impl.elem0.loc21_28 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc21_28: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc21_28.1: = bound_method %int_0.loc21, %impl.elem0.loc21_28 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc21_28: = specific_function %impl.elem0.loc21_28, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc21_28.2: = bound_method %int_0.loc21, %specific_fn.loc21_28 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %i32 = call %bound_method.loc21_28.2(%int_0.loc21) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc21_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc21_28.2: %i32 = converted %int_0.loc21, %.loc21_28.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc21_28.2: = bound_method %int_0.loc21, %specific_fn.loc21_28 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %i32 = call %bound_method.loc21_28.2(%int_0.loc21) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc21_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc21_28.2: %i32 = converted %int_0.loc21, %.loc21_28.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc21_29: ref %i32 = array_index %a.ref.loc21, %.loc21_28.2 -// CHECK:STDOUT: %addr: %ptr.143 = addr_of %.loc21_29 -// CHECK:STDOUT: %impl.elem0.loc21_25: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr: %ptr.847 = addr_of %.loc21_29 +// CHECK:STDOUT: %impl.elem0.loc21_25: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc21_25.1: = bound_method %addr, %impl.elem0.loc21_25 // CHECK:STDOUT: %specific_fn.loc21_25: = specific_function %impl.elem0.loc21_25, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc21_25.2: = bound_method %addr, %specific_fn.loc21_25 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.143 = call %bound_method.loc21_25.2(%addr) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.847 = call %bound_method.loc21_25.2(%addr) // CHECK:STDOUT: assign %pa.var, %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: %.loc21_21: type = splice_block %ptr [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %.loc21_21: type = splice_block %ptr [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc21: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc21 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc21 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %pa: ref %ptr.143 = ref_binding pa, %pa.var +// CHECK:STDOUT: %pa: ref %ptr.847 = ref_binding pa, %pa.var // CHECK:STDOUT: %a.ref.loc22: ref %array_type = name_ref a, %a // CHECK:STDOUT: %int_0.loc22: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc22_5: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc22_5.1: = bound_method %int_0.loc22, %impl.elem0.loc22_5 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc22_5: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc22_5.1: = bound_method %int_0.loc22, %impl.elem0.loc22_5 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc22_5: = specific_function %impl.elem0.loc22_5, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc22_5.2: = bound_method %int_0.loc22, %specific_fn.loc22_5 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_5: init %i32 = call %bound_method.loc22_5.2(%int_0.loc22) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc22_5.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_5 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc22_5.2: %i32 = converted %int_0.loc22, %.loc22_5.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc22_5.2: = bound_method %int_0.loc22, %specific_fn.loc22_5 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_5: init %i32 = call %bound_method.loc22_5.2(%int_0.loc22) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc22_5.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_5 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc22_5.2: %i32 = converted %int_0.loc22, %.loc22_5.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc22_6: ref %i32 = array_index %a.ref.loc22, %.loc22_5.2 // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0.loc22_8: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc22_8.1: = bound_method %int_4, %impl.elem0.loc22_8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %impl.elem0.loc22_8: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc22_8.1: = bound_method %int_4, %impl.elem0.loc22_8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc22_8: = specific_function %impl.elem0.loc22_8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc22_8.2: = bound_method %int_4, %specific_fn.loc22_8 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_8: init %i32 = call %bound_method.loc22_8.2(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc22_8: init %i32 = converted %int_4, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_8 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %bound_method.loc22_8.2: = bound_method %int_4, %specific_fn.loc22_8 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_8: init %i32 = call %bound_method.loc22_8.2(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc22_8: init %i32 = converted %int_4, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_8 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: assign %.loc22_6, %.loc22_8 -// CHECK:STDOUT: %Destroy.Op.bound.loc21: = bound_method %pa.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc21: = bound_method %pa.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc21: init %empty_tuple.type = call %Destroy.Op.bound.loc21(%pa.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc18: = bound_method %a.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc18: = bound_method %a.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc18: init %empty_tuple.type = call %Destroy.Op.bound.loc18(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc21(%self.param: ref %ptr.143) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc21(%self.param: ref %ptr.847) = "no_op"; // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc18_3.1(%self.param: ref %i32.builtin) = "no_op"; // CHECK:STDOUT: @@ -288,41 +288,41 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: fn @ValueBinding(%b.param: %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.215 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.215 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.bec = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.bec = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt // CHECK:STDOUT: %int_1.loc26_27: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc26_30: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %int_3.loc26_33: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc26_34.1: %tuple.type.37f = tuple_literal (%int_1.loc26_27, %int_2.loc26_30, %int_3.loc26_33) [concrete = constants.%tuple.2d5] -// CHECK:STDOUT: %impl.elem0.loc26_34.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc26_34.1: = bound_method %int_1.loc26_27, %impl.elem0.loc26_34.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc26_34.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc26_34.1: = bound_method %int_1.loc26_27, %impl.elem0.loc26_34.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc26_34.1: = specific_function %impl.elem0.loc26_34.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc26_34.2: = bound_method %int_1.loc26_27, %specific_fn.loc26_34.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_34.1: init %i32 = call %bound_method.loc26_34.2(%int_1.loc26_27) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc26_34.2: init %i32 = converted %int_1.loc26_27, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_34.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc26_34.2: = bound_method %int_1.loc26_27, %specific_fn.loc26_34.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_34.1: init %i32 = call %bound_method.loc26_34.2(%int_1.loc26_27) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc26_34.2: init %i32 = converted %int_1.loc26_27, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_34.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %int_0.loc26: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc26_34.3: ref %i32 = array_index %a.var, %int_0.loc26 -// CHECK:STDOUT: %.loc26_34.4: init %i32 to %.loc26_34.3 = in_place_init %.loc26_34.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc26_34.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc26_34.3: = bound_method %int_2.loc26_30, %impl.elem0.loc26_34.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc26_34.4: init %i32 to %.loc26_34.3 = in_place_init %.loc26_34.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc26_34.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc26_34.3: = bound_method %int_2.loc26_30, %impl.elem0.loc26_34.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc26_34.2: = specific_function %impl.elem0.loc26_34.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc26_34.4: = bound_method %int_2.loc26_30, %specific_fn.loc26_34.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_34.2: init %i32 = call %bound_method.loc26_34.4(%int_2.loc26_30) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc26_34.5: init %i32 = converted %int_2.loc26_30, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_34.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc26_34.4: = bound_method %int_2.loc26_30, %specific_fn.loc26_34.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_34.2: init %i32 = call %bound_method.loc26_34.4(%int_2.loc26_30) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc26_34.5: init %i32 = converted %int_2.loc26_30, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_34.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %int_1.loc26_34: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc26_34.6: ref %i32 = array_index %a.var, %int_1.loc26_34 -// CHECK:STDOUT: %.loc26_34.7: init %i32 to %.loc26_34.6 = in_place_init %.loc26_34.5 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc26_34.3: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc26_34.5: = bound_method %int_3.loc26_33, %impl.elem0.loc26_34.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %.loc26_34.7: init %i32 to %.loc26_34.6 = in_place_init %.loc26_34.5 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc26_34.3: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc26_34.5: = bound_method %int_3.loc26_33, %impl.elem0.loc26_34.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc26_34.3: = specific_function %impl.elem0.loc26_34.3, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc26_34.6: = bound_method %int_3.loc26_33, %specific_fn.loc26_34.3 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_34.3: init %i32 = call %bound_method.loc26_34.6(%int_3.loc26_33) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc26_34.8: init %i32 = converted %int_3.loc26_33, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_34.3 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc26_34.6: = bound_method %int_3.loc26_33, %specific_fn.loc26_34.3 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_34.3: init %i32 = call %bound_method.loc26_34.6(%int_3.loc26_33) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc26_34.8: init %i32 = converted %int_3.loc26_33, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26_34.3 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %int_2.loc26_34: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc26_34.9: ref %i32 = array_index %a.var, %int_2.loc26_34 -// CHECK:STDOUT: %.loc26_34.10: init %i32 to %.loc26_34.9 = in_place_init %.loc26_34.8 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %.loc26_34.10: init %i32 to %.loc26_34.9 = in_place_init %.loc26_34.8 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc26_34.11: init %array_type to %a.var = array_init (%.loc26_34.4, %.loc26_34.7, %.loc26_34.10) [concrete = constants.%array] // CHECK:STDOUT: %.loc26_3: init %array_type = converted %.loc26_34.1, %.loc26_34.11 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc26_3 @@ -334,23 +334,23 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var // CHECK:STDOUT: %a.ref: ref %array_type = name_ref a, %a // CHECK:STDOUT: %int_0.loc30: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc30: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc30_5.1: = bound_method %int_0.loc30, %impl.elem0.loc30 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc30: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc30_5.1: = bound_method %int_0.loc30, %impl.elem0.loc30 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc30: = specific_function %impl.elem0.loc30, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc30_5.2: = bound_method %int_0.loc30, %specific_fn.loc30 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc30: init %i32 = call %bound_method.loc30_5.2(%int_0.loc30) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc30_5.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc30 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc30_5.2: %i32 = converted %int_0.loc30, %.loc30_5.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc30_5.2: = bound_method %int_0.loc30, %specific_fn.loc30 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc30: init %i32 = call %bound_method.loc30_5.2(%int_0.loc30) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc30_5.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc30 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc30_5.2: %i32 = converted %int_0.loc30, %.loc30_5.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc30_6: ref %i32 = array_index %a.ref, %.loc30_5.2 // CHECK:STDOUT: %b.ref: %array_type = name_ref b, %b // CHECK:STDOUT: %int_0.loc31: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc31: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc31_5.1: = bound_method %int_0.loc31, %impl.elem0.loc31 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc31: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc31_5.1: = bound_method %int_0.loc31, %impl.elem0.loc31 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc31: = specific_function %impl.elem0.loc31, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc31_5.2: = bound_method %int_0.loc31, %specific_fn.loc31 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31: init %i32 = call %bound_method.loc31_5.2(%int_0.loc31) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc31_5.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc31_5.2: %i32 = converted %int_0.loc31, %.loc31_5.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc31_5.2: = bound_method %int_0.loc31, %specific_fn.loc31 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31: init %i32 = call %bound_method.loc31_5.2(%int_0.loc31) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc31_5.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc31_5.2: %i32 = converted %int_0.loc31, %.loc31_5.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc31_6.1: ref %array_type = value_as_ref %b.ref // CHECK:STDOUT: %.loc31_6.2: ref %i32 = array_index %.loc31_6.1, %.loc31_5.2 // CHECK:STDOUT: %.loc31_6.3: %i32 = acquire_value %.loc31_6.2 @@ -359,18 +359,18 @@ fn ValueBinding(b: array(i32, 3)) { // CHECK:STDOUT: %F.call: init %array_type to %.loc32_5.1 = call %F.ref() // CHECK:STDOUT: %int_0.loc32: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc32_5.2: ref %array_type = temporary %.loc32_5.1, %F.call -// CHECK:STDOUT: %impl.elem0.loc32: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc32_7.1: = bound_method %int_0.loc32, %impl.elem0.loc32 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc32: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc32_7.1: = bound_method %int_0.loc32, %impl.elem0.loc32 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc32: = specific_function %impl.elem0.loc32, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc32_7.2: = bound_method %int_0.loc32, %specific_fn.loc32 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32: init %i32 = call %bound_method.loc32_7.2(%int_0.loc32) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc32_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc32_7.2: %i32 = converted %int_0.loc32, %.loc32_7.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc32_7.2: = bound_method %int_0.loc32, %specific_fn.loc32 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32: init %i32 = call %bound_method.loc32_7.2(%int_0.loc32) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc32_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc32_7.2: %i32 = converted %int_0.loc32, %.loc32_7.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc32_8.1: ref %i32 = array_index %.loc32_5.2, %.loc32_7.2 // CHECK:STDOUT: %.loc32_8.2: %i32 = acquire_value %.loc32_8.1 -// CHECK:STDOUT: %Destroy.Op.bound.loc32: = bound_method %.loc32_5.2, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc32: = bound_method %.loc32_5.2, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc32: init %empty_tuple.type = call %Destroy.Op.bound.loc32(%.loc32_5.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc26: = bound_method %a.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc26: = bound_method %a.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc26: init %empty_tuple.type = call %Destroy.Op.bound.loc26(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/index/fail_array_large_index.carbon b/toolchain/check/testdata/index/fail_array_large_index.carbon index eab75883a8df..3587f30cec6e 100644 --- a/toolchain/check/testdata/index/fail_array_large_index.carbon +++ b/toolchain/check/testdata/index/fail_array_large_index.carbon @@ -36,46 +36,46 @@ var c: i32 = a[0x7FFF_FFFF]; // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.6f3: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.34b: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %int_12.6a3: Core.IntLiteral = int_value 12 [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.3bc: %tuple.type.985 = tuple_value (%int_12.6a3) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.3a1: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.839: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_12.f43: %i32 = int_value 12 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%int_12.f43) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bc9: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.739: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_12.aa5: %i32 = int_value 12 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%int_12.aa5) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %int_2147483647.d89: Core.IntLiteral = int_value 2147483647 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.565: = bound_method %int_2147483647.d89, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.0b4: = bound_method %int_2147483647.d89, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2147483647.cb2: %i32 = int_value 2147483647 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.374: = bound_method %int_2147483647.d89, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.2a8: = bound_method %int_2147483647.d89, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2147483647.9ca: %i32 = int_value 2147483647 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -87,12 +87,12 @@ var c: i32 = a[0x7FFF_FFFF]; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -104,8 +104,8 @@ var c: i32 = a[0x7FFF_FFFF]; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.6f3 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.6f3 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.34b = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.34b = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt [concrete] // CHECK:STDOUT: %.loc15: type = splice_block %array_type [concrete = constants.%array_type] { @@ -115,15 +115,15 @@ var c: i32 = a[0x7FFF_FFFF]; // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc21: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.c6b = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.c6b = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.104 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.104 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %i32 = var %c.var_patt [concrete] // CHECK:STDOUT: %i32.loc27: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -134,30 +134,30 @@ var c: i32 = a[0x7FFF_FFFF]; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_12: Core.IntLiteral = int_value 12 [concrete = constants.%int_12.6a3] // CHECK:STDOUT: %.loc15_28.1: %tuple.type.985 = tuple_literal (%int_12) [concrete = constants.%tuple.3bc] -// CHECK:STDOUT: %impl.elem0.loc15: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_28.1: = bound_method %int_12, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.3a1] +// CHECK:STDOUT: %impl.elem0.loc15: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_28.1: = bound_method %int_12, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bc9] // CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_28.2: = bound_method %int_12, %specific_fn.loc15 [concrete = constants.%bound_method.839] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %i32 = call %bound_method.loc15_28.2(%int_12) [concrete = constants.%int_12.f43] -// CHECK:STDOUT: %.loc15_28.2: init %i32 = converted %int_12, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_12.f43] +// CHECK:STDOUT: %bound_method.loc15_28.2: = bound_method %int_12, %specific_fn.loc15 [concrete = constants.%bound_method.739] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %i32 = call %bound_method.loc15_28.2(%int_12) [concrete = constants.%int_12.aa5] +// CHECK:STDOUT: %.loc15_28.2: init %i32 = converted %int_12, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_12.aa5] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc15_28.3: ref %i32 = array_index file.%a.var, %int_0 -// CHECK:STDOUT: %.loc15_28.4: init %i32 to %.loc15_28.3 = in_place_init %.loc15_28.2 [concrete = constants.%int_12.f43] +// CHECK:STDOUT: %.loc15_28.4: init %i32 to %.loc15_28.3 = in_place_init %.loc15_28.2 [concrete = constants.%int_12.aa5] // CHECK:STDOUT: %.loc15_28.5: init %array_type to file.%a.var = array_init (%.loc15_28.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc15_1: init %array_type = converted %.loc15_28.1, %.loc15_28.5 [concrete = constants.%array] // CHECK:STDOUT: assign file.%a.var, %.loc15_1 // CHECK:STDOUT: %a.ref.loc21: ref %array_type = name_ref a, file.%a [concrete = file.%a.var] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc21_16: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc21_16.1: = bound_method %int_1, %impl.elem0.loc21_16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc21_16: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc21_16.1: = bound_method %int_1, %impl.elem0.loc21_16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc21_16: = specific_function %impl.elem0.loc21_16, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc21_16.2: = bound_method %int_1, %specific_fn.loc21_16 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %i32 = call %bound_method.loc21_16.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc21_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc21_16.2: %i32 = converted %int_1, %.loc21_16.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc21_16.2: = bound_method %int_1, %specific_fn.loc21_16 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %i32 = call %bound_method.loc21_16.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc21_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc21_16.2: %i32 = converted %int_1, %.loc21_16.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc21_17.1: ref %i32 = array_index %a.ref.loc21, %.loc21_16.2 [concrete = ] // CHECK:STDOUT: %.loc21_17.2: %i32 = acquire_value %.loc21_17.1 [concrete = ] -// CHECK:STDOUT: %impl.elem0.loc21_17: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc21_17: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc21_17.1: = bound_method %.loc21_17.2, %impl.elem0.loc21_17 [concrete = ] // CHECK:STDOUT: %specific_fn.loc21_17: = specific_function %impl.elem0.loc21_17, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc21_17.2: = bound_method %.loc21_17.2, %specific_fn.loc21_17 [concrete = ] @@ -165,16 +165,16 @@ var c: i32 = a[0x7FFF_FFFF]; // CHECK:STDOUT: assign file.%b.var, %Int.as.Copy.impl.Op.call.loc21 // CHECK:STDOUT: %a.ref.loc27: ref %array_type = name_ref a, file.%a [concrete = file.%a.var] // CHECK:STDOUT: %int_2147483647: Core.IntLiteral = int_value 2147483647 [concrete = constants.%int_2147483647.d89] -// CHECK:STDOUT: %impl.elem0.loc27_16: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc27_16.1: = bound_method %int_2147483647, %impl.elem0.loc27_16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.565] +// CHECK:STDOUT: %impl.elem0.loc27_16: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc27_16.1: = bound_method %int_2147483647, %impl.elem0.loc27_16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.374] // CHECK:STDOUT: %specific_fn.loc27_16: = specific_function %impl.elem0.loc27_16, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc27_16.2: = bound_method %int_2147483647, %specific_fn.loc27_16 [concrete = constants.%bound_method.0b4] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27: init %i32 = call %bound_method.loc27_16.2(%int_2147483647) [concrete = constants.%int_2147483647.cb2] -// CHECK:STDOUT: %.loc27_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27 [concrete = constants.%int_2147483647.cb2] -// CHECK:STDOUT: %.loc27_16.2: %i32 = converted %int_2147483647, %.loc27_16.1 [concrete = constants.%int_2147483647.cb2] +// CHECK:STDOUT: %bound_method.loc27_16.2: = bound_method %int_2147483647, %specific_fn.loc27_16 [concrete = constants.%bound_method.2a8] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27: init %i32 = call %bound_method.loc27_16.2(%int_2147483647) [concrete = constants.%int_2147483647.9ca] +// CHECK:STDOUT: %.loc27_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27 [concrete = constants.%int_2147483647.9ca] +// CHECK:STDOUT: %.loc27_16.2: %i32 = converted %int_2147483647, %.loc27_16.1 [concrete = constants.%int_2147483647.9ca] // CHECK:STDOUT: %.loc27_27.1: ref %i32 = array_index %a.ref.loc27, %.loc27_16.2 [concrete = ] // CHECK:STDOUT: %.loc27_27.2: %i32 = acquire_value %.loc27_27.1 [concrete = ] -// CHECK:STDOUT: %impl.elem0.loc27_27: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc27_27: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc27_27.1: = bound_method %.loc27_27.2, %impl.elem0.loc27_27 [concrete = ] // CHECK:STDOUT: %specific_fn.loc27_27: = specific_function %impl.elem0.loc27_27, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc27_27.2: = bound_method %.loc27_27.2, %specific_fn.loc27_27 [concrete = ] diff --git a/toolchain/check/testdata/index/fail_array_non_int_indexing.carbon b/toolchain/check/testdata/index/fail_array_non_int_indexing.carbon index 905a45114627..78f451911f8e 100644 --- a/toolchain/check/testdata/index/fail_array_non_int_indexing.carbon +++ b/toolchain/check/testdata/index/fail_array_non_int_indexing.carbon @@ -32,40 +32,40 @@ var b: i32 = a[2.6]; // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_1, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.6f3: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.34b: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %int_12.6a3: Core.IntLiteral = int_value 12 [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.3bc: %tuple.type.985 = tuple_value (%int_12.6a3) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_12.f43: %i32 = int_value 12 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%int_12.f43) [concrete] +// CHECK:STDOUT: %int_12.aa5: %i32 = int_value 12 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%int_12.aa5) [concrete] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 26e-1 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -77,12 +77,12 @@ var b: i32 = a[2.6]; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -93,8 +93,8 @@ var b: i32 = a[2.6]; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.6f3 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.6f3 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.34b = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.34b = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt [concrete] // CHECK:STDOUT: %.loc15: type = splice_block %array_type [concrete = constants.%array_type] { @@ -104,8 +104,8 @@ var b: i32 = a[2.6]; // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc23: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -116,15 +116,15 @@ var b: i32 = a[2.6]; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_12: Core.IntLiteral = int_value 12 [concrete = constants.%int_12.6a3] // CHECK:STDOUT: %.loc15_28.1: %tuple.type.985 = tuple_literal (%int_12) [concrete = constants.%tuple.3bc] -// CHECK:STDOUT: %impl.elem0.loc15: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc15: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc15_28.1: = bound_method %int_12, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_28.2: = bound_method %int_12, %specific_fn.loc15 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_28.2(%int_12) [concrete = constants.%int_12.f43] -// CHECK:STDOUT: %.loc15_28.2: init %i32 = converted %int_12, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_12.f43] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_28.2(%int_12) [concrete = constants.%int_12.aa5] +// CHECK:STDOUT: %.loc15_28.2: init %i32 = converted %int_12, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_12.aa5] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc15_28.3: ref %i32 = array_index file.%a.var, %int_0 -// CHECK:STDOUT: %.loc15_28.4: init %i32 to %.loc15_28.3 = in_place_init %.loc15_28.2 [concrete = constants.%int_12.f43] +// CHECK:STDOUT: %.loc15_28.4: init %i32 to %.loc15_28.3 = in_place_init %.loc15_28.2 [concrete = constants.%int_12.aa5] // CHECK:STDOUT: %.loc15_28.5: init %array_type to file.%a.var = array_init (%.loc15_28.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc15_1: init %array_type = converted %.loc15_28.1, %.loc15_28.5 [concrete = constants.%array] // CHECK:STDOUT: assign file.%a.var, %.loc15_1 @@ -133,7 +133,7 @@ var b: i32 = a[2.6]; // CHECK:STDOUT: %.loc23_16: %i32 = converted %float, [concrete = ] // CHECK:STDOUT: %.loc23_19.1: ref %i32 = array_index %a.ref, [concrete = ] // CHECK:STDOUT: %.loc23_19.2: %i32 = acquire_value %.loc23_19.1 [concrete = ] -// CHECK:STDOUT: %impl.elem0.loc23: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc23: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc23_19.1: = bound_method %.loc23_19.2, %impl.elem0.loc23 [concrete = ] // CHECK:STDOUT: %specific_fn.loc23: = specific_function %impl.elem0.loc23, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc23_19.2: = bound_method %.loc23_19.2, %specific_fn.loc23 [concrete = ] diff --git a/toolchain/check/testdata/index/fail_array_out_of_bound_access.carbon b/toolchain/check/testdata/index/fail_array_out_of_bound_access.carbon index 4761fcbf2fdd..9ccd8d87b60a 100644 --- a/toolchain/check/testdata/index/fail_array_out_of_bound_access.carbon +++ b/toolchain/check/testdata/index/fail_array_out_of_bound_access.carbon @@ -29,42 +29,42 @@ var b: i32 = a[1]; // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.6f3: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.34b: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %int_12.6a3: Core.IntLiteral = int_value 12 [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.3bc: %tuple.type.985 = tuple_value (%int_12.6a3) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.3a1: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.839: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_12.f43: %i32 = int_value 12 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%int_12.f43) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bc9: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.739: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_12.aa5: %i32 = int_value 12 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%int_12.aa5) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -76,12 +76,12 @@ var b: i32 = a[1]; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -92,8 +92,8 @@ var b: i32 = a[1]; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.6f3 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.6f3 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.34b = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.34b = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt [concrete] // CHECK:STDOUT: %.loc15: type = splice_block %array_type [concrete = constants.%array_type] { @@ -103,8 +103,8 @@ var b: i32 = a[1]; // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc20: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -115,30 +115,30 @@ var b: i32 = a[1]; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_12: Core.IntLiteral = int_value 12 [concrete = constants.%int_12.6a3] // CHECK:STDOUT: %.loc15_28.1: %tuple.type.985 = tuple_literal (%int_12) [concrete = constants.%tuple.3bc] -// CHECK:STDOUT: %impl.elem0.loc15: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_28.1: = bound_method %int_12, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.3a1] +// CHECK:STDOUT: %impl.elem0.loc15: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_28.1: = bound_method %int_12, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bc9] // CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_28.2: = bound_method %int_12, %specific_fn.loc15 [concrete = constants.%bound_method.839] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %i32 = call %bound_method.loc15_28.2(%int_12) [concrete = constants.%int_12.f43] -// CHECK:STDOUT: %.loc15_28.2: init %i32 = converted %int_12, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_12.f43] +// CHECK:STDOUT: %bound_method.loc15_28.2: = bound_method %int_12, %specific_fn.loc15 [concrete = constants.%bound_method.739] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %i32 = call %bound_method.loc15_28.2(%int_12) [concrete = constants.%int_12.aa5] +// CHECK:STDOUT: %.loc15_28.2: init %i32 = converted %int_12, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_12.aa5] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc15_28.3: ref %i32 = array_index file.%a.var, %int_0 -// CHECK:STDOUT: %.loc15_28.4: init %i32 to %.loc15_28.3 = in_place_init %.loc15_28.2 [concrete = constants.%int_12.f43] +// CHECK:STDOUT: %.loc15_28.4: init %i32 to %.loc15_28.3 = in_place_init %.loc15_28.2 [concrete = constants.%int_12.aa5] // CHECK:STDOUT: %.loc15_28.5: init %array_type to file.%a.var = array_init (%.loc15_28.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc15_1: init %array_type = converted %.loc15_28.1, %.loc15_28.5 [concrete = constants.%array] // CHECK:STDOUT: assign file.%a.var, %.loc15_1 // CHECK:STDOUT: %a.ref: ref %array_type = name_ref a, file.%a [concrete = file.%a.var] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc20_16: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc20_16.1: = bound_method %int_1, %impl.elem0.loc20_16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc20_16: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc20_16.1: = bound_method %int_1, %impl.elem0.loc20_16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc20_16: = specific_function %impl.elem0.loc20_16, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc20_16.2: = bound_method %int_1, %specific_fn.loc20_16 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %i32 = call %bound_method.loc20_16.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc20_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc20_16.2: %i32 = converted %int_1, %.loc20_16.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc20_16.2: = bound_method %int_1, %specific_fn.loc20_16 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %i32 = call %bound_method.loc20_16.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc20_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc20_16.2: %i32 = converted %int_1, %.loc20_16.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc20_17.1: ref %i32 = array_index %a.ref, %.loc20_16.2 [concrete = ] // CHECK:STDOUT: %.loc20_17.2: %i32 = acquire_value %.loc20_17.1 [concrete = ] -// CHECK:STDOUT: %impl.elem0.loc20_17: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc20_17: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc20_17.1: = bound_method %.loc20_17.2, %impl.elem0.loc20_17 [concrete = ] // CHECK:STDOUT: %specific_fn.loc20_17: = specific_function %impl.elem0.loc20_17, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc20_17.2: = bound_method %.loc20_17.2, %specific_fn.loc20_17 [concrete = ] diff --git a/toolchain/check/testdata/index/fail_expr_category.carbon b/toolchain/check/testdata/index/fail_expr_category.carbon index 799673a2cff6..1a782bad2734 100644 --- a/toolchain/check/testdata/index/fail_expr_category.carbon +++ b/toolchain/check/testdata/index/fail_expr_category.carbon @@ -51,52 +51,52 @@ fn G(b: array(i32, 3)) { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_3, %i32 [concrete] -// CHECK:STDOUT: %.2dc: Core.Form = init_form %array_type [concrete] -// CHECK:STDOUT: %pattern_type.215: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %.761: Core.Form = init_form %array_type [concrete] +// CHECK:STDOUT: %pattern_type.bec: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc41_5.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc36 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc41_5.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc36 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -109,12 +109,12 @@ fn G(b: array(i32, 3)) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -126,19 +126,19 @@ fn G(b: array(i32, 3)) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.215 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.215 = return_slot_pattern %return.param_patt, %array_type [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.bec = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.bec = return_slot_pattern %return.param_patt, %array_type [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] // CHECK:STDOUT: %array_type: type = array_type %int_3, %i32 [concrete = constants.%array_type] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %array_type [concrete = constants.%.2dc] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %array_type [concrete = constants.%.761] // CHECK:STDOUT: %return.param: ref %array_type = out_param call_param0 // CHECK:STDOUT: %return: ref %array_type = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %b.param_patt: %pattern_type.215 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.215 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.bec = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.bec = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %b.param: %array_type = value_param call_param0 // CHECK:STDOUT: %.loc17: type = splice_block %array_type [concrete = constants.%array_type] { @@ -155,114 +155,114 @@ fn G(b: array(i32, 3)) { // CHECK:STDOUT: fn @G(%b.param: %array_type) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %pb.patt: %pattern_type.663 = ref_binding_pattern pb [concrete] -// CHECK:STDOUT: %pb.var_patt: %pattern_type.663 = var_pattern %pb.patt [concrete] +// CHECK:STDOUT: %pb.patt: %pattern_type.7b5 = ref_binding_pattern pb [concrete] +// CHECK:STDOUT: %pb.var_patt: %pattern_type.7b5 = var_pattern %pb.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %pb.var: ref %ptr.143 = var %pb.var_patt +// CHECK:STDOUT: %pb.var: ref %ptr.847 = var %pb.var_patt // CHECK:STDOUT: %b.ref.loc23: %array_type = name_ref b, %b // CHECK:STDOUT: %int_0.loc23: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc23_28: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc23_28.1: = bound_method %int_0.loc23, %impl.elem0.loc23_28 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc23_28: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc23_28.1: = bound_method %int_0.loc23, %impl.elem0.loc23_28 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc23_28: = specific_function %impl.elem0.loc23_28, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc23_28.2: = bound_method %int_0.loc23, %specific_fn.loc23_28 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23: init %i32 = call %bound_method.loc23_28.2(%int_0.loc23) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc23_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc23_28.2: %i32 = converted %int_0.loc23, %.loc23_28.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc23_28.2: = bound_method %int_0.loc23, %specific_fn.loc23_28 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23: init %i32 = call %bound_method.loc23_28.2(%int_0.loc23) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc23_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc23_28.2: %i32 = converted %int_0.loc23, %.loc23_28.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc23_29.1: ref %array_type = value_as_ref %b.ref.loc23 // CHECK:STDOUT: %.loc23_29.2: ref %i32 = array_index %.loc23_29.1, %.loc23_28.2 // CHECK:STDOUT: %.loc23_29.3: %i32 = acquire_value %.loc23_29.2 -// CHECK:STDOUT: %addr.loc23: %ptr.143 = addr_of [concrete = ] -// CHECK:STDOUT: %impl.elem0.loc23_25: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr.loc23: %ptr.847 = addr_of [concrete = ] +// CHECK:STDOUT: %impl.elem0.loc23_25: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc23_25.1: = bound_method %addr.loc23, %impl.elem0.loc23_25 [concrete = ] // CHECK:STDOUT: %specific_fn.loc23_25: = specific_function %impl.elem0.loc23_25, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc23_25.2: = bound_method %addr.loc23, %specific_fn.loc23_25 [concrete = ] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc23: init %ptr.143 = call %bound_method.loc23_25.2(%addr.loc23) [concrete = ] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc23: init %ptr.847 = call %bound_method.loc23_25.2(%addr.loc23) [concrete = ] // CHECK:STDOUT: assign %pb.var, %ptr.as.Copy.impl.Op.call.loc23 -// CHECK:STDOUT: %.loc23_21: type = splice_block %ptr.loc23 [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %.loc23_21: type = splice_block %ptr.loc23 [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc23: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc23: type = ptr_type %i32.loc23 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr.loc23: type = ptr_type %i32.loc23 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %pb: ref %ptr.143 = ref_binding pb, %pb.var +// CHECK:STDOUT: %pb: ref %ptr.847 = ref_binding pb, %pb.var // CHECK:STDOUT: %b.ref.loc28: %array_type = name_ref b, %b // CHECK:STDOUT: %int_0.loc28: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc28_5: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc28_5.1: = bound_method %int_0.loc28, %impl.elem0.loc28_5 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc28_5: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc28_5.1: = bound_method %int_0.loc28, %impl.elem0.loc28_5 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc28_5: = specific_function %impl.elem0.loc28_5, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc28_5.2: = bound_method %int_0.loc28, %specific_fn.loc28_5 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28_5: init %i32 = call %bound_method.loc28_5.2(%int_0.loc28) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc28_5.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28_5 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc28_5.2: %i32 = converted %int_0.loc28, %.loc28_5.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc28_5.2: = bound_method %int_0.loc28, %specific_fn.loc28_5 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28_5: init %i32 = call %bound_method.loc28_5.2(%int_0.loc28) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc28_5.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28_5 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc28_5.2: %i32 = converted %int_0.loc28, %.loc28_5.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc28_6.1: ref %array_type = value_as_ref %b.ref.loc28 // CHECK:STDOUT: %.loc28_6.2: ref %i32 = array_index %.loc28_6.1, %.loc28_5.2 // CHECK:STDOUT: %.loc28_6.3: %i32 = acquire_value %.loc28_6.2 // CHECK:STDOUT: %int_4.loc28: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0.loc28_8: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc28_8.1: = bound_method %int_4.loc28, %impl.elem0.loc28_8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %impl.elem0.loc28_8: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc28_8.1: = bound_method %int_4.loc28, %impl.elem0.loc28_8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc28_8: = specific_function %impl.elem0.loc28_8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc28_8.2: = bound_method %int_4.loc28, %specific_fn.loc28_8 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28_8: init %i32 = call %bound_method.loc28_8.2(%int_4.loc28) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc28_8: init %i32 = converted %int_4.loc28, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28_8 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %bound_method.loc28_8.2: = bound_method %int_4.loc28, %specific_fn.loc28_8 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28_8: init %i32 = call %bound_method.loc28_8.2(%int_4.loc28) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc28_8: init %i32 = converted %int_4.loc28, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28_8 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: assign %.loc28_6.3, %.loc28_8 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %pf.patt: %pattern_type.663 = ref_binding_pattern pf [concrete] -// CHECK:STDOUT: %pf.var_patt: %pattern_type.663 = var_pattern %pf.patt [concrete] +// CHECK:STDOUT: %pf.patt: %pattern_type.7b5 = ref_binding_pattern pf [concrete] +// CHECK:STDOUT: %pf.var_patt: %pattern_type.7b5 = var_pattern %pf.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %pf.var: ref %ptr.143 = var %pf.var_patt +// CHECK:STDOUT: %pf.var: ref %ptr.847 = var %pf.var_patt // CHECK:STDOUT: %F.ref.loc36: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %.loc36_28.1: ref %array_type = temporary_storage // CHECK:STDOUT: %F.call.loc36: init %array_type to %.loc36_28.1 = call %F.ref.loc36() // CHECK:STDOUT: %int_0.loc36: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc36_28.2: ref %array_type = temporary %.loc36_28.1, %F.call.loc36 -// CHECK:STDOUT: %impl.elem0.loc36_30: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc36_30.1: = bound_method %int_0.loc36, %impl.elem0.loc36_30 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc36_30: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc36_30.1: = bound_method %int_0.loc36, %impl.elem0.loc36_30 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc36_30: = specific_function %impl.elem0.loc36_30, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc36_30.2: = bound_method %int_0.loc36, %specific_fn.loc36_30 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc36: init %i32 = call %bound_method.loc36_30.2(%int_0.loc36) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc36_30.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc36 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc36_30.2: %i32 = converted %int_0.loc36, %.loc36_30.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc36_30.2: = bound_method %int_0.loc36, %specific_fn.loc36_30 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc36: init %i32 = call %bound_method.loc36_30.2(%int_0.loc36) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc36_30.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc36 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc36_30.2: %i32 = converted %int_0.loc36, %.loc36_30.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc36_31.1: ref %i32 = array_index %.loc36_28.2, %.loc36_30.2 // CHECK:STDOUT: %.loc36_31.2: %i32 = acquire_value %.loc36_31.1 -// CHECK:STDOUT: %addr.loc36: %ptr.143 = addr_of [concrete = ] -// CHECK:STDOUT: %impl.elem0.loc36_25: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr.loc36: %ptr.847 = addr_of [concrete = ] +// CHECK:STDOUT: %impl.elem0.loc36_25: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc36_25.1: = bound_method %addr.loc36, %impl.elem0.loc36_25 [concrete = ] // CHECK:STDOUT: %specific_fn.loc36_25: = specific_function %impl.elem0.loc36_25, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc36_25.2: = bound_method %addr.loc36, %specific_fn.loc36_25 [concrete = ] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc36: init %ptr.143 = call %bound_method.loc36_25.2(%addr.loc36) [concrete = ] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc36: init %ptr.847 = call %bound_method.loc36_25.2(%addr.loc36) [concrete = ] // CHECK:STDOUT: assign %pf.var, %ptr.as.Copy.impl.Op.call.loc36 -// CHECK:STDOUT: %.loc36_21: type = splice_block %ptr.loc36 [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %.loc36_21: type = splice_block %ptr.loc36 [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc36: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc36: type = ptr_type %i32.loc36 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr.loc36: type = ptr_type %i32.loc36 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %pf: ref %ptr.143 = ref_binding pf, %pf.var +// CHECK:STDOUT: %pf: ref %ptr.847 = ref_binding pf, %pf.var // CHECK:STDOUT: %F.ref.loc41: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %.loc41_5.1: ref %array_type = temporary_storage // CHECK:STDOUT: %F.call.loc41: init %array_type to %.loc41_5.1 = call %F.ref.loc41() // CHECK:STDOUT: %int_0.loc41: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc41_5.2: ref %array_type = temporary %.loc41_5.1, %F.call.loc41 -// CHECK:STDOUT: %impl.elem0.loc41_7: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc41_7.1: = bound_method %int_0.loc41, %impl.elem0.loc41_7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc41_7: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc41_7.1: = bound_method %int_0.loc41, %impl.elem0.loc41_7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc41_7: = specific_function %impl.elem0.loc41_7, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc41_7.2: = bound_method %int_0.loc41, %specific_fn.loc41_7 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc41_7: init %i32 = call %bound_method.loc41_7.2(%int_0.loc41) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc41_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc41_7 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc41_7.2: %i32 = converted %int_0.loc41, %.loc41_7.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc41_7.2: = bound_method %int_0.loc41, %specific_fn.loc41_7 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc41_7: init %i32 = call %bound_method.loc41_7.2(%int_0.loc41) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc41_7.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc41_7 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc41_7.2: %i32 = converted %int_0.loc41, %.loc41_7.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc41_8.1: ref %i32 = array_index %.loc41_5.2, %.loc41_7.2 // CHECK:STDOUT: %.loc41_8.2: %i32 = acquire_value %.loc41_8.1 // CHECK:STDOUT: %int_4.loc41: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0.loc41_10: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc41_10.1: = bound_method %int_4.loc41, %impl.elem0.loc41_10 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %impl.elem0.loc41_10: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc41_10.1: = bound_method %int_4.loc41, %impl.elem0.loc41_10 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc41_10: = specific_function %impl.elem0.loc41_10, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc41_10.2: = bound_method %int_4.loc41, %specific_fn.loc41_10 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc41_10: init %i32 = call %bound_method.loc41_10.2(%int_4.loc41) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc41_10: init %i32 = converted %int_4.loc41, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc41_10 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %bound_method.loc41_10.2: = bound_method %int_4.loc41, %specific_fn.loc41_10 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc41_10: init %i32 = call %bound_method.loc41_10.2(%int_4.loc41) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc41_10: init %i32 = converted %int_4.loc41, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc41_10 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: assign %.loc41_8.2, %.loc41_10 -// CHECK:STDOUT: %Destroy.Op.bound.loc41: = bound_method %.loc41_5.2, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc41: = bound_method %.loc41_5.2, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc41: init %empty_tuple.type = call %Destroy.Op.bound.loc41(%.loc41_5.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc36_28: = bound_method %.loc36_28.2, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc36_28: = bound_method %.loc36_28.2, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc36_28: init %empty_tuple.type = call %Destroy.Op.bound.loc36_28(%.loc36_28.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc36_3: = bound_method %pf.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc36_3: = bound_method %pf.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc36_3: init %empty_tuple.type = call %Destroy.Op.bound.loc36_3(%pf.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %pb.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %pb.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc23: init %empty_tuple.type = call %Destroy.Op.bound.loc23(%pb.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -279,5 +279,5 @@ fn G(b: array(i32, 3)) { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc36(%self.param: ref %ptr.143) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc36(%self.param: ref %ptr.847) = "no_op"; // CHECK:STDOUT: diff --git a/toolchain/check/testdata/index/fail_invalid_base.carbon b/toolchain/check/testdata/index/fail_invalid_base.carbon index b74fa392fc06..d756f59d9ff7 100644 --- a/toolchain/check/testdata/index/fail_invalid_base.carbon +++ b/toolchain/check/testdata/index/fail_invalid_base.carbon @@ -46,7 +46,7 @@ var d: i32 = {.a: i32, .b: i32}[0]; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] @@ -54,9 +54,9 @@ var d: i32 = {.a: i32, .b: i32}[0]; // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.a.b.cfd = struct_value (%int_1, %int_2) [concrete] -// CHECK:STDOUT: %IndexWith.type.3d7: type = generic_interface_type @IndexWith [concrete] -// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.3d7 = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.a.b.602: type = struct_type {.a: %i32, .b: %i32} [concrete] +// CHECK:STDOUT: %IndexWith.type.579: type = generic_interface_type @IndexWith [concrete] +// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.579 = struct_value () [concrete] +// CHECK:STDOUT: %struct_type.a.b.b47: type = struct_type {.a: %i32, .b: %i32} [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -67,7 +67,7 @@ var d: i32 = {.a: i32, .b: i32}[0]; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.3d7 = import_ref Core//prelude/operators/index, IndexWith, loaded [concrete = constants.%IndexWith.generic] +// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.579 = import_ref Core//prelude/operators/index, IndexWith, loaded [concrete = constants.%IndexWith.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -83,30 +83,30 @@ var d: i32 = {.a: i32, .b: i32}[0]; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %N: = namespace [concrete] {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt [concrete] // CHECK:STDOUT: %i32.loc21: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: ref %i32 = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc28: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.c6b = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.c6b = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.104 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.104 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %i32 = var %c.var_patt [concrete] // CHECK:STDOUT: %i32.loc34: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %c: ref %i32 = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.c6b = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.c6b = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.104 = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.104 = var_pattern %d.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.var: ref %i32 = var %d.var_patt [concrete] // CHECK:STDOUT: %i32.loc40: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -132,7 +132,7 @@ var d: i32 = {.a: i32, .b: i32}[0]; // CHECK:STDOUT: assign file.%c.var, // CHECK:STDOUT: %i32.loc40_19: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc40_28: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.602] +// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.b47] // CHECK:STDOUT: %int_0.loc40: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: assign file.%d.var, // CHECK:STDOUT: return diff --git a/toolchain/check/testdata/index/fail_name_not_found.carbon b/toolchain/check/testdata/index/fail_name_not_found.carbon index e7cb1a52a395..0aacbf53ded7 100644 --- a/toolchain/check/testdata/index/fail_name_not_found.carbon +++ b/toolchain/check/testdata/index/fail_name_not_found.carbon @@ -31,11 +31,11 @@ fn Main() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc20_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc20_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -62,8 +62,8 @@ fn Main() { // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt // CHECK:STDOUT: %a.ref: = name_ref a, [concrete = ] @@ -71,7 +71,7 @@ fn Main() { // CHECK:STDOUT: assign %b.var, // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%b.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/index/fail_negative_indexing.carbon b/toolchain/check/testdata/index/fail_negative_indexing.carbon index 68c12350001f..d2921073e586 100644 --- a/toolchain/check/testdata/index/fail_negative_indexing.carbon +++ b/toolchain/check/testdata/index/fail_negative_indexing.carbon @@ -30,53 +30,53 @@ var d: i32 = c[-10]; // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_2, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.6bb: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.f35: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %int_42.20e: Core.IntLiteral = int_value 42 [concrete] // CHECK:STDOUT: %tuple.type.f94: type = tuple_type (Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.df5: %tuple.type.f94 = tuple_value (%int_42.20e, %int_42.20e) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0e: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.d81: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_42.bc5: %i32 = int_value 42 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.21e: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.98e: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_42.daa: %i32 = int_value 42 [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%int_42.bc5, %int_42.bc5) [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%int_42.daa, %int_42.daa) [concrete] // CHECK:STDOUT: %int_10: Core.IntLiteral = int_value 10 [concrete] // CHECK:STDOUT: %Negate.type: type = facet_type <@Negate> [concrete] // CHECK:STDOUT: %Negate.impl_witness: = impl_witness imports.%Negate.impl_witness_table [concrete] // CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value Core.IntLiteral, (%Negate.impl_witness) [concrete] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.40e: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] -// CHECK:STDOUT: %.279: type = fn_type_with_self_type %Negate.WithSelf.Op.type.40e, %Negate.facet [concrete] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.309: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] +// CHECK:STDOUT: %.f38: type = fn_type_with_self_type %Negate.WithSelf.Op.type.309, %Negate.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.type: type = fn_type @Core.IntLiteral.as.Negate.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op: %Core.IntLiteral.as.Negate.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.bound: = bound_method %int_10, %Core.IntLiteral.as.Negate.impl.Op [concrete] // CHECK:STDOUT: %int_-10.06d: Core.IntLiteral = int_value -10 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_-10.06d, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.87e: = bound_method %int_-10.06d, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_-10.f35: %i32 = int_value -10 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b1b: = bound_method %int_-10.06d, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.682: = bound_method %int_-10.06d, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_-10.0d4: %i32 = int_value -10 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -89,16 +89,16 @@ var d: i32 = c[-10]; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Negate: type = import_ref Core//prelude/parts/int_literal, Negate, loaded [concrete = constants.%Negate.type] // CHECK:STDOUT: %Core.import_ref.abd = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.968: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] -// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.968), @Core.IntLiteral.as.Negate.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.f63), @Core.IntLiteral.as.Negate.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -109,8 +109,8 @@ var d: i32 = c[-10]; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.6bb = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.6bb = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.f35 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.f35 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %array_type = var %c.var_patt [concrete] // CHECK:STDOUT: %.loc15: type = splice_block %array_type [concrete = constants.%array_type] { @@ -120,8 +120,8 @@ var d: i32 = c[-10]; // CHECK:STDOUT: } // CHECK:STDOUT: %c: ref %array_type = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.c6b = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.c6b = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.104 = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.104 = var_pattern %d.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.var: ref %i32 = var %d.var_patt [concrete] // CHECK:STDOUT: %i32.loc20: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -133,44 +133,44 @@ var d: i32 = c[-10]; // CHECK:STDOUT: %int_42.loc15_25: Core.IntLiteral = int_value 42 [concrete = constants.%int_42.20e] // CHECK:STDOUT: %int_42.loc15_29: Core.IntLiteral = int_value 42 [concrete = constants.%int_42.20e] // CHECK:STDOUT: %.loc15_31.1: %tuple.type.f94 = tuple_literal (%int_42.loc15_25, %int_42.loc15_29) [concrete = constants.%tuple.df5] -// CHECK:STDOUT: %impl.elem0.loc15_31.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_31.1: = bound_method %int_42.loc15_25, %impl.elem0.loc15_31.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0e] +// CHECK:STDOUT: %impl.elem0.loc15_31.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_31.1: = bound_method %int_42.loc15_25, %impl.elem0.loc15_31.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.21e] // CHECK:STDOUT: %specific_fn.loc15_31.1: = specific_function %impl.elem0.loc15_31.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_31.2: = bound_method %int_42.loc15_25, %specific_fn.loc15_31.1 [concrete = constants.%bound_method.d81] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.1: init %i32 = call %bound_method.loc15_31.2(%int_42.loc15_25) [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc15_31.2: init %i32 = converted %int_42.loc15_25, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.1 [concrete = constants.%int_42.bc5] +// CHECK:STDOUT: %bound_method.loc15_31.2: = bound_method %int_42.loc15_25, %specific_fn.loc15_31.1 [concrete = constants.%bound_method.98e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.1: init %i32 = call %bound_method.loc15_31.2(%int_42.loc15_25) [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc15_31.2: init %i32 = converted %int_42.loc15_25, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.1 [concrete = constants.%int_42.daa] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc15_31.3: ref %i32 = array_index file.%c.var, %int_0 -// CHECK:STDOUT: %.loc15_31.4: init %i32 to %.loc15_31.3 = in_place_init %.loc15_31.2 [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %impl.elem0.loc15_31.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_31.3: = bound_method %int_42.loc15_29, %impl.elem0.loc15_31.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0e] +// CHECK:STDOUT: %.loc15_31.4: init %i32 to %.loc15_31.3 = in_place_init %.loc15_31.2 [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %impl.elem0.loc15_31.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_31.3: = bound_method %int_42.loc15_29, %impl.elem0.loc15_31.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.21e] // CHECK:STDOUT: %specific_fn.loc15_31.2: = specific_function %impl.elem0.loc15_31.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_31.4: = bound_method %int_42.loc15_29, %specific_fn.loc15_31.2 [concrete = constants.%bound_method.d81] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.2: init %i32 = call %bound_method.loc15_31.4(%int_42.loc15_29) [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc15_31.5: init %i32 = converted %int_42.loc15_29, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.2 [concrete = constants.%int_42.bc5] +// CHECK:STDOUT: %bound_method.loc15_31.4: = bound_method %int_42.loc15_29, %specific_fn.loc15_31.2 [concrete = constants.%bound_method.98e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.2: init %i32 = call %bound_method.loc15_31.4(%int_42.loc15_29) [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc15_31.5: init %i32 = converted %int_42.loc15_29, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_31.2 [concrete = constants.%int_42.daa] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] // CHECK:STDOUT: %.loc15_31.6: ref %i32 = array_index file.%c.var, %int_1 -// CHECK:STDOUT: %.loc15_31.7: init %i32 to %.loc15_31.6 = in_place_init %.loc15_31.5 [concrete = constants.%int_42.bc5] +// CHECK:STDOUT: %.loc15_31.7: init %i32 to %.loc15_31.6 = in_place_init %.loc15_31.5 [concrete = constants.%int_42.daa] // CHECK:STDOUT: %.loc15_31.8: init %array_type to file.%c.var = array_init (%.loc15_31.4, %.loc15_31.7) [concrete = constants.%array] // CHECK:STDOUT: %.loc15_1: init %array_type = converted %.loc15_31.1, %.loc15_31.8 [concrete = constants.%array] // CHECK:STDOUT: assign file.%c.var, %.loc15_1 // CHECK:STDOUT: %c.ref: ref %array_type = name_ref c, file.%c [concrete = file.%c.var] // CHECK:STDOUT: %int_10: Core.IntLiteral = int_value 10 [concrete = constants.%int_10] -// CHECK:STDOUT: %impl.elem1: %.279 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.f38 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] // CHECK:STDOUT: %bound_method.loc20_16.1: = bound_method %int_10, %impl.elem1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op.bound] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.call: init Core.IntLiteral = call %bound_method.loc20_16.1(%int_10) [concrete = constants.%int_-10.06d] -// CHECK:STDOUT: %impl.elem0.loc20_16: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc20_16.2: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %impl.elem0.loc20_16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] +// CHECK:STDOUT: %impl.elem0.loc20_16: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc20_16.2: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %impl.elem0.loc20_16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b1b] // CHECK:STDOUT: %specific_fn.loc20_16: = specific_function %impl.elem0.loc20_16, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc20_16.3: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %specific_fn.loc20_16 [concrete = constants.%bound_method.87e] +// CHECK:STDOUT: %bound_method.loc20_16.3: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %specific_fn.loc20_16 [concrete = constants.%bound_method.682] // CHECK:STDOUT: %.loc20_16.1: Core.IntLiteral = value_of_initializer %Core.IntLiteral.as.Negate.impl.Op.call [concrete = constants.%int_-10.06d] // CHECK:STDOUT: %.loc20_16.2: Core.IntLiteral = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc20_16.1 [concrete = constants.%int_-10.06d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %i32 = call %bound_method.loc20_16.3(%.loc20_16.2) [concrete = constants.%int_-10.f35] -// CHECK:STDOUT: %.loc20_16.3: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_-10.f35] -// CHECK:STDOUT: %.loc20_16.4: %i32 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc20_16.3 [concrete = constants.%int_-10.f35] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %i32 = call %bound_method.loc20_16.3(%.loc20_16.2) [concrete = constants.%int_-10.0d4] +// CHECK:STDOUT: %.loc20_16.3: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_-10.0d4] +// CHECK:STDOUT: %.loc20_16.4: %i32 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc20_16.3 [concrete = constants.%int_-10.0d4] // CHECK:STDOUT: %.loc20_19.1: ref %i32 = array_index %c.ref, %.loc20_16.4 [concrete = ] // CHECK:STDOUT: %.loc20_19.2: %i32 = acquire_value %.loc20_19.1 [concrete = ] -// CHECK:STDOUT: %impl.elem0.loc20_19: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc20_19: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc20_19.1: = bound_method %.loc20_19.2, %impl.elem0.loc20_19 [concrete = ] // CHECK:STDOUT: %specific_fn.loc20_19: = specific_function %impl.elem0.loc20_19, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc20_19.2: = bound_method %.loc20_19.2, %specific_fn.loc20_19 [concrete = ] diff --git a/toolchain/check/testdata/index/fail_non_tuple_access.carbon b/toolchain/check/testdata/index/fail_non_tuple_access.carbon index 5902bdb044ea..09ee37cd5c8c 100644 --- a/toolchain/check/testdata/index/fail_non_tuple_access.carbon +++ b/toolchain/check/testdata/index/fail_non_tuple_access.carbon @@ -27,8 +27,8 @@ fn Main() { // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %IndexWith.type.3d7: type = generic_interface_type @IndexWith [concrete] -// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.3d7 = struct_value () [concrete] +// CHECK:STDOUT: %IndexWith.type.579: type = generic_interface_type @IndexWith [concrete] +// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.579 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -37,7 +37,7 @@ fn Main() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.3d7 = import_ref Core//prelude/operators/index, IndexWith, loaded [concrete = constants.%IndexWith.generic] +// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.579 = import_ref Core//prelude/operators/index, IndexWith, loaded [concrete = constants.%IndexWith.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { diff --git a/toolchain/check/testdata/interface/as_type_of_type.carbon b/toolchain/check/testdata/interface/as_type_of_type.carbon index 426814954d39..c0e54c1d007c 100644 --- a/toolchain/check/testdata/interface/as_type_of_type.carbon +++ b/toolchain/check/testdata/interface/as_type_of_type.carbon @@ -26,7 +26,7 @@ fn F(T:! Empty) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Empty.type: type = facet_type <@Empty> [concrete] -// CHECK:STDOUT: %Self.63a: %Empty.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.2f3: %Empty.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] @@ -34,30 +34,30 @@ fn F(T:! Empty) { // CHECK:STDOUT: %Empty.facet: %Empty.type = facet_value %C, (%Empty.impl_witness) [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.e3c: type = pattern_type %Empty.type [concrete] -// CHECK:STDOUT: %T.6f4: %Empty.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.e97: type = pattern_type %Empty.type [concrete] +// CHECK:STDOUT: %T.1f1: %Empty.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.dac: type = facet_access_type %T.6f4 [symbolic] -// CHECK:STDOUT: %ptr: type = ptr_type %T.as_type.dac [symbolic] -// CHECK:STDOUT: %require_complete.61a: = require_complete_type %ptr [symbolic] -// CHECK:STDOUT: %pattern_type.a98: type = pattern_type %ptr [symbolic] +// CHECK:STDOUT: %T.as_type.52d: type = facet_access_type %T.1f1 [symbolic] +// CHECK:STDOUT: %ptr: type = ptr_type %T.as_type.52d [symbolic] +// CHECK:STDOUT: %require_complete.cfc: = require_complete_type %ptr [symbolic] +// CHECK:STDOUT: %pattern_type.eff: type = pattern_type %ptr [symbolic] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness: = lookup_impl_witness %ptr, @DefaultOrUnformed [symbolic] -// CHECK:STDOUT: %.ff5: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%ptr) [symbolic] +// CHECK:STDOUT: %.64f: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%ptr) [symbolic] // CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %ptr, (%DefaultOrUnformed.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.fc0: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet) [symbolic] -// CHECK:STDOUT: %.8c6: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.fc0, %DefaultOrUnformed.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.1db: %.8c6 = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.5f4: = specific_impl_function %impl.elem0.1db, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet) [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type.b71: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet) [symbolic] +// CHECK:STDOUT: %.de2: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type.b71, %DefaultOrUnformed.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.301: %.de2 = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.10b: = specific_impl_function %impl.elem0.301, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet) [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %ptr, @Destroy [symbolic] // CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %ptr, (%Destroy.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.d00: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic] -// CHECK:STDOUT: %.65d: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.d00, %Destroy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.4d1: %.65d = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.366: = specific_impl_function %impl.elem0.4d1, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.2e3: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic] +// CHECK:STDOUT: %.018: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.2e3, %Destroy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.3f6: %.018 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.4d6: = specific_impl_function %impl.elem0.3f6, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -86,18 +86,18 @@ fn F(T:! Empty) { // CHECK:STDOUT: %Empty.ref: type = name_ref Empty, file.%Empty.decl [concrete = constants.%Empty.type] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt: %pattern_type.e3c = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.e97 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc21: type = splice_block %Empty.ref [concrete = constants.%Empty.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Empty.ref: type = name_ref Empty, file.%Empty.decl [concrete = constants.%Empty.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc21_7.2: %Empty.type = symbolic_binding T, 0 [symbolic = %T.loc21_7.1 (constants.%T.6f4)] +// CHECK:STDOUT: %T.loc21_7.2: %Empty.type = symbolic_binding T, 0 [symbolic = %T.loc21_7.1 (constants.%T.1f1)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Empty { -// CHECK:STDOUT: %Self: %Empty.type = symbolic_binding Self, 0 [symbolic = constants.%Self.63a] +// CHECK:STDOUT: %Self: %Empty.type = symbolic_binding Self, 0 [symbolic = constants.%Self.2f3] // CHECK:STDOUT: %Empty.WithSelf.decl = interface_with_self_decl @Empty [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -125,59 +125,59 @@ fn F(T:! Empty) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc21_7.2: %Empty.type) { -// CHECK:STDOUT: %T.loc21_7.1: %Empty.type = symbolic_binding T, 0 [symbolic = %T.loc21_7.1 (constants.%T.6f4)] +// CHECK:STDOUT: %T.loc21_7.1: %Empty.type = symbolic_binding T, 0 [symbolic = %T.loc21_7.1 (constants.%T.1f1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as_type.loc22_18.2: type = facet_access_type %T.loc21_7.1 [symbolic = %T.as_type.loc22_18.2 (constants.%T.as_type.dac)] +// CHECK:STDOUT: %T.as_type.loc22_18.2: type = facet_access_type %T.loc21_7.1 [symbolic = %T.as_type.loc22_18.2 (constants.%T.as_type.52d)] // CHECK:STDOUT: %ptr.loc22_18.2: type = ptr_type %T.as_type.loc22_18.2 [symbolic = %ptr.loc22_18.2 (constants.%ptr)] -// CHECK:STDOUT: %require_complete: = require_complete_type %ptr.loc22_18.2 [symbolic = %require_complete (constants.%require_complete.61a)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %ptr.loc22_18.2 [symbolic = %pattern_type (constants.%pattern_type.a98)] -// CHECK:STDOUT: %.loc22_19.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%ptr.loc22_18.2) [symbolic = %.loc22_19.3 (constants.%.ff5)] +// CHECK:STDOUT: %require_complete: = require_complete_type %ptr.loc22_18.2 [symbolic = %require_complete (constants.%require_complete.cfc)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %ptr.loc22_18.2 [symbolic = %pattern_type (constants.%pattern_type.eff)] +// CHECK:STDOUT: %.loc22_19.3: require_specific_def_type = require_specific_def @T.as.DefaultOrUnformed.impl(%ptr.loc22_18.2) [symbolic = %.loc22_19.3 (constants.%.64f)] // CHECK:STDOUT: %DefaultOrUnformed.lookup_impl_witness: = lookup_impl_witness %ptr.loc22_18.2, @DefaultOrUnformed [symbolic = %DefaultOrUnformed.lookup_impl_witness (constants.%DefaultOrUnformed.lookup_impl_witness)] // CHECK:STDOUT: %DefaultOrUnformed.facet.loc22_19.2: %DefaultOrUnformed.type = facet_value %ptr.loc22_18.2, (%DefaultOrUnformed.lookup_impl_witness) [symbolic = %DefaultOrUnformed.facet.loc22_19.2 (constants.%DefaultOrUnformed.facet)] -// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc22_19.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type (constants.%DefaultOrUnformed.WithSelf.Op.type.fc0)] -// CHECK:STDOUT: %.loc22_19.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type, %DefaultOrUnformed.facet.loc22_19.2 [symbolic = %.loc22_19.4 (constants.%.8c6)] -// CHECK:STDOUT: %impl.elem0.loc22_19.2: @F.%.loc22_19.4 (%.8c6) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_19.2 (constants.%impl.elem0.1db)] -// CHECK:STDOUT: %specific_impl_fn.loc22_19.2: = specific_impl_function %impl.elem0.loc22_19.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc22_19.2) [symbolic = %specific_impl_fn.loc22_19.2 (constants.%specific_impl_fn.5f4)] +// CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.type: type = fn_type @DefaultOrUnformed.WithSelf.Op, @DefaultOrUnformed.WithSelf(%DefaultOrUnformed.facet.loc22_19.2) [symbolic = %DefaultOrUnformed.WithSelf.Op.type (constants.%DefaultOrUnformed.WithSelf.Op.type.b71)] +// CHECK:STDOUT: %.loc22_19.4: type = fn_type_with_self_type %DefaultOrUnformed.WithSelf.Op.type, %DefaultOrUnformed.facet.loc22_19.2 [symbolic = %.loc22_19.4 (constants.%.de2)] +// CHECK:STDOUT: %impl.elem0.loc22_19.2: @F.%.loc22_19.4 (%.de2) = impl_witness_access %DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_19.2 (constants.%impl.elem0.301)] +// CHECK:STDOUT: %specific_impl_fn.loc22_19.2: = specific_impl_function %impl.elem0.loc22_19.2, @DefaultOrUnformed.WithSelf.Op(%DefaultOrUnformed.facet.loc22_19.2) [symbolic = %specific_impl_fn.loc22_19.2 (constants.%specific_impl_fn.10b)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %ptr.loc22_18.2, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] // CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %ptr.loc22_18.2, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.d00)] -// CHECK:STDOUT: %.loc22_3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc22_3 (constants.%.65d)] -// CHECK:STDOUT: %impl.elem0.loc22_3.2: @F.%.loc22_3 (%.65d) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_3.2 (constants.%impl.elem0.4d1)] -// CHECK:STDOUT: %specific_impl_fn.loc22_3.2: = specific_impl_function %impl.elem0.loc22_3.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc22_3.2 (constants.%specific_impl_fn.366)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.2e3)] +// CHECK:STDOUT: %.loc22_3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc22_3 (constants.%.018)] +// CHECK:STDOUT: %impl.elem0.loc22_3.2: @F.%.loc22_3 (%.018) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_3.2 (constants.%impl.elem0.3f6)] +// CHECK:STDOUT: %specific_impl_fn.loc22_3.2: = specific_impl_function %impl.elem0.loc22_3.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc22_3.2 (constants.%specific_impl_fn.4d6)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.a98) = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: @F.%pattern_type (%pattern_type.a98) = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: @F.%pattern_type (%pattern_type.eff) = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: @F.%pattern_type (%pattern_type.eff) = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref @F.%ptr.loc22_18.2 (%ptr) = var %x.var_patt // CHECK:STDOUT: %DefaultOrUnformed.facet.loc22_19.1: %DefaultOrUnformed.type = facet_value constants.%ptr, (constants.%DefaultOrUnformed.lookup_impl_witness) [symbolic = %DefaultOrUnformed.facet.loc22_19.2 (constants.%DefaultOrUnformed.facet)] // CHECK:STDOUT: %.loc22_19.1: %DefaultOrUnformed.type = converted constants.%ptr, %DefaultOrUnformed.facet.loc22_19.1 [symbolic = %DefaultOrUnformed.facet.loc22_19.2 (constants.%DefaultOrUnformed.facet)] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc22_19.1 [symbolic = %ptr.loc22_18.2 (constants.%ptr)] // CHECK:STDOUT: %.loc22_19.2: type = converted %.loc22_19.1, %as_type [symbolic = %ptr.loc22_18.2 (constants.%ptr)] -// CHECK:STDOUT: %impl.elem0.loc22_19.1: @F.%.loc22_19.4 (%.8c6) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_19.2 (constants.%impl.elem0.1db)] -// CHECK:STDOUT: %specific_impl_fn.loc22_19.1: = specific_impl_function %impl.elem0.loc22_19.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet) [symbolic = %specific_impl_fn.loc22_19.2 (constants.%specific_impl_fn.5f4)] +// CHECK:STDOUT: %impl.elem0.loc22_19.1: @F.%.loc22_19.4 (%.de2) = impl_witness_access constants.%DefaultOrUnformed.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_19.2 (constants.%impl.elem0.301)] +// CHECK:STDOUT: %specific_impl_fn.loc22_19.1: = specific_impl_function %impl.elem0.loc22_19.1, @DefaultOrUnformed.WithSelf.Op(constants.%DefaultOrUnformed.facet) [symbolic = %specific_impl_fn.loc22_19.2 (constants.%specific_impl_fn.10b)] // CHECK:STDOUT: %DefaultOrUnformed.WithSelf.Op.call: init @F.%ptr.loc22_18.2 (%ptr) = call %specific_impl_fn.loc22_19.1() // CHECK:STDOUT: assign %x.var, %DefaultOrUnformed.WithSelf.Op.call // CHECK:STDOUT: %.loc22_18.1: type = splice_block %ptr.loc22_18.1 [symbolic = %ptr.loc22_18.2 (constants.%ptr)] { -// CHECK:STDOUT: %T.ref: %Empty.type = name_ref T, %T.loc21_7.2 [symbolic = %T.loc21_7.1 (constants.%T.6f4)] -// CHECK:STDOUT: %T.as_type.loc22_18.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc22_18.2 (constants.%T.as_type.dac)] -// CHECK:STDOUT: %.loc22_18.2: type = converted %T.ref, %T.as_type.loc22_18.1 [symbolic = %T.as_type.loc22_18.2 (constants.%T.as_type.dac)] +// CHECK:STDOUT: %T.ref: %Empty.type = name_ref T, %T.loc21_7.2 [symbolic = %T.loc21_7.1 (constants.%T.1f1)] +// CHECK:STDOUT: %T.as_type.loc22_18.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc22_18.2 (constants.%T.as_type.52d)] +// CHECK:STDOUT: %.loc22_18.2: type = converted %T.ref, %T.as_type.loc22_18.1 [symbolic = %T.as_type.loc22_18.2 (constants.%T.as_type.52d)] // CHECK:STDOUT: %ptr.loc22_18.1: type = ptr_type %.loc22_18.2 [symbolic = %ptr.loc22_18.2 (constants.%ptr)] // CHECK:STDOUT: } // CHECK:STDOUT: %x: ref @F.%ptr.loc22_18.2 (%ptr) = ref_binding x, %x.var -// CHECK:STDOUT: %impl.elem0.loc22_3.1: @F.%.loc22_3 (%.65d) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_3.2 (constants.%impl.elem0.4d1)] +// CHECK:STDOUT: %impl.elem0.loc22_3.1: @F.%.loc22_3 (%.018) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc22_3.2 (constants.%impl.elem0.3f6)] // CHECK:STDOUT: %bound_method.loc22_3.1: = bound_method %x.var, %impl.elem0.loc22_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc22_3.1: = specific_impl_function %impl.elem0.loc22_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet) [symbolic = %specific_impl_fn.loc22_3.2 (constants.%specific_impl_fn.366)] +// CHECK:STDOUT: %specific_impl_fn.loc22_3.1: = specific_impl_function %impl.elem0.loc22_3.1, @Destroy.WithSelf.Op(constants.%Destroy.facet) [symbolic = %specific_impl_fn.loc22_3.2 (constants.%specific_impl_fn.4d6)] // CHECK:STDOUT: %bound_method.loc22_3.2: = bound_method %x.var, %specific_impl_fn.loc22_3.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc22_3.2(%x.var) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.63a) { +// CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.2f3) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -185,7 +185,7 @@ fn F(T:! Empty) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.6f4) { -// CHECK:STDOUT: %T.loc21_7.1 => constants.%T.6f4 +// CHECK:STDOUT: specific @F(constants.%T.1f1) { +// CHECK:STDOUT: %T.loc21_7.1 => constants.%T.1f1 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/assoc_const_in_generic.carbon b/toolchain/check/testdata/interface/assoc_const_in_generic.carbon index 32dce398db41..6778c9d08b47 100644 --- a/toolchain/check/testdata/interface/assoc_const_in_generic.carbon +++ b/toolchain/check/testdata/interface/assoc_const_in_generic.carbon @@ -34,33 +34,33 @@ fn H() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %I.type.a64: type = generic_interface_type @I [concrete] +// CHECK:STDOUT: %I.type.48c: type = generic_interface_type @I [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %I.generic: %I.type.a64 = struct_value () [concrete] -// CHECK:STDOUT: %I.type.e27: type = facet_type <@I, @I(%T)> [symbolic] -// CHECK:STDOUT: %Self.2f0: %I.type.e27 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.generic: %I.type.48c = struct_value () [concrete] +// CHECK:STDOUT: %I.type.50f: type = facet_type <@I, @I(%T)> [symbolic] +// CHECK:STDOUT: %Self.626: %I.type.50f = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %U: type = symbolic_binding U, 2 [symbolic] // CHECK:STDOUT: %.a6b: Core.Form = init_form %U [symbolic] // CHECK:STDOUT: %pattern_type.62e: type = pattern_type %U [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.416: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self.2f0) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.80f: %I.WithSelf.F.type.416 = struct_value () [symbolic] -// CHECK:STDOUT: %I.assoc_type.157: type = assoc_entity_type @I, @I(%T) [symbolic] -// CHECK:STDOUT: %assoc0.619: %I.assoc_type.157 = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.101: type = fn_type @I.WithSelf.F, @I.WithSelf(%T, %Self.626) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.252: %I.WithSelf.F.type.101 = struct_value () [symbolic] +// CHECK:STDOUT: %I.assoc_type.bd7: type = assoc_entity_type @I, @I(%T) [symbolic] +// CHECK:STDOUT: %assoc0.631: %I.assoc_type.bd7 = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.e27 [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %I.type.50f [symbolic] // CHECK:STDOUT: %H.type: type = fn_type @H [concrete] // CHECK:STDOUT: %H: %H.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %G.specific_fn: = specific_function %G, @G(%empty_struct_type) [concrete] -// CHECK:STDOUT: %I.type.eeb: type = facet_type <@I, @I(%empty_struct_type)> [concrete] -// CHECK:STDOUT: %Self.756: %I.type.eeb = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.c9d: type = fn_type @I.WithSelf.F, @I.WithSelf(%empty_struct_type, %Self.2f0) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.d7d: %I.WithSelf.F.type.c9d = struct_value () [symbolic] -// CHECK:STDOUT: %I.assoc_type.408: type = assoc_entity_type @I, @I(%empty_struct_type) [concrete] -// CHECK:STDOUT: %assoc0.8ce: %I.assoc_type.408 = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness %I.type.eeb [concrete] +// CHECK:STDOUT: %I.type.317: type = facet_type <@I, @I(%empty_struct_type)> [concrete] +// CHECK:STDOUT: %Self.170: %I.type.317 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.dc9: type = fn_type @I.WithSelf.F, @I.WithSelf(%empty_struct_type, %Self.626) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.0fc: %I.WithSelf.F.type.dc9 = struct_value () [symbolic] +// CHECK:STDOUT: %I.assoc_type.4a0: type = assoc_entity_type @I, @I(%empty_struct_type) [concrete] +// CHECK:STDOUT: %assoc0.379: %I.assoc_type.4a0 = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %complete_type: = complete_type_witness %I.type.317 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -69,7 +69,7 @@ fn H() { // CHECK:STDOUT: .G = %G.decl // CHECK:STDOUT: .H = %H.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %I.decl: %I.type.a64 = interface_decl @I [concrete = constants.%I.generic] { +// CHECK:STDOUT: %I.decl: %I.type.48c = interface_decl @I [concrete = constants.%I.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15_17.1: type = splice_block %.loc15_17.2 [concrete = type] { @@ -94,15 +94,15 @@ fn H() { // CHECK:STDOUT: %T.loc15_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc15_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc15_14.1)> [symbolic = %I.type (constants.%I.type.e27)] -// CHECK:STDOUT: %Self.loc15_23.2: @I.%I.type (%I.type.e27) = symbolic_binding Self, 1 [symbolic = %Self.loc15_23.2 (constants.%Self.2f0)] +// CHECK:STDOUT: %I.type: type = facet_type <@I, @I(%T.loc15_14.1)> [symbolic = %I.type (constants.%I.type.50f)] +// CHECK:STDOUT: %Self.loc15_23.2: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc15_23.2 (constants.%Self.626)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc15_23.1: @I.%I.type (%I.type.e27) = symbolic_binding Self, 1 [symbolic = %Self.loc15_23.2 (constants.%Self.2f0)] +// CHECK:STDOUT: %Self.loc15_23.1: @I.%I.type (%I.type.50f) = symbolic_binding Self, 1 [symbolic = %Self.loc15_23.2 (constants.%Self.626)] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.416) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.80f)] { +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.101) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.252)] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 2 [concrete] // CHECK:STDOUT: %return.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.62e) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @I.WithSelf.F.%pattern_type (%pattern_type.62e) = return_slot_pattern %return.param_patt, %U.ref [concrete] @@ -117,7 +117,7 @@ fn H() { // CHECK:STDOUT: %return.param: ref @I.WithSelf.F.%U.loc16_9.1 (%U) = out_param call_param0 // CHECK:STDOUT: %return: ref @I.WithSelf.F.%U.loc16_9.1 (%U) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc16_22.1: @I.WithSelf.%I.assoc_type (%I.assoc_type.157) = assoc_entity element0, %I.WithSelf.F.decl [symbolic = %assoc0.loc16_22.2 (constants.%assoc0.619)] +// CHECK:STDOUT: %assoc0.loc16_22.1: @I.WithSelf.%I.assoc_type (%I.assoc_type.bd7) = assoc_entity element0, %I.WithSelf.F.decl [symbolic = %assoc0.loc16_22.2 (constants.%assoc0.631)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc15_23.1 @@ -128,7 +128,7 @@ fn H() { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%T.loc15_14.2: type, @I.%Self.loc15_23.1: @I.%I.type (%I.type.e27), %U.loc16_9.2: type) { +// CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%T.loc15_14.2: type, @I.%Self.loc15_23.1: @I.%I.type (%I.type.50f), %U.loc16_9.2: type) { // CHECK:STDOUT: %U.loc16_9.1: type = symbolic_binding U, 2 [symbolic = %U.loc16_9.1 (constants.%U)] // CHECK:STDOUT: %.loc16_21.1: Core.Form = init_form %U.loc16_9.1 [symbolic = %.loc16_21.1 (constants.%.a6b)] // CHECK:STDOUT: %pattern_type: type = pattern_type %U.loc16_9.1 [symbolic = %pattern_type (constants.%pattern_type.62e)] @@ -140,18 +140,18 @@ fn H() { // CHECK:STDOUT: %T.loc19_7.1: type = symbolic_binding T, 0 [symbolic = %T.loc19_7.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type.loc23_6.2: type = facet_type <@I, @I(%T.loc19_7.1)> [symbolic = %I.type.loc23_6.2 (constants.%I.type.e27)] +// CHECK:STDOUT: %I.type.loc23_6.2: type = facet_type <@I, @I(%T.loc19_7.1)> [symbolic = %I.type.loc23_6.2 (constants.%I.type.50f)] // CHECK:STDOUT: %require_complete: = require_complete_type %I.type.loc23_6.2 [symbolic = %require_complete (constants.%require_complete)] -// CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I, @I(%T.loc19_7.1) [symbolic = %I.assoc_type (constants.%I.assoc_type.157)] -// CHECK:STDOUT: %assoc0: @G.%I.assoc_type (%I.assoc_type.157) = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [symbolic = %assoc0 (constants.%assoc0.619)] +// CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I, @I(%T.loc19_7.1) [symbolic = %I.assoc_type (constants.%I.assoc_type.bd7)] +// CHECK:STDOUT: %assoc0: @G.%I.assoc_type (%I.assoc_type.bd7) = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [symbolic = %assoc0 (constants.%assoc0.631)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %I.ref: %I.type.a64 = name_ref I, file.%I.decl [concrete = constants.%I.generic] +// CHECK:STDOUT: %I.ref: %I.type.48c = name_ref I, file.%I.decl [concrete = constants.%I.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc19_7.2 [symbolic = %T.loc19_7.1 (constants.%T)] -// CHECK:STDOUT: %I.type.loc23_6.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc23_6.2 (constants.%I.type.e27)] -// CHECK:STDOUT: %.loc23: @G.%I.assoc_type (%I.assoc_type.157) = specific_constant @I.WithSelf.%assoc0.loc16_22.1, @I.WithSelf(constants.%T, constants.%Self.2f0) [symbolic = %assoc0 (constants.%assoc0.619)] -// CHECK:STDOUT: %F.ref: @G.%I.assoc_type (%I.assoc_type.157) = name_ref F, %.loc23 [symbolic = %assoc0 (constants.%assoc0.619)] +// CHECK:STDOUT: %I.type.loc23_6.1: type = facet_type <@I, @I(constants.%T)> [symbolic = %I.type.loc23_6.2 (constants.%I.type.50f)] +// CHECK:STDOUT: %.loc23: @G.%I.assoc_type (%I.assoc_type.bd7) = specific_constant @I.WithSelf.%assoc0.loc16_22.1, @I.WithSelf(constants.%T, constants.%Self.626) [symbolic = %assoc0 (constants.%assoc0.631)] +// CHECK:STDOUT: %F.ref: @G.%I.assoc_type (%I.assoc_type.bd7) = name_ref F, %.loc23 [symbolic = %assoc0 (constants.%assoc0.631)] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -170,22 +170,22 @@ fn H() { // CHECK:STDOUT: %T.loc15_14.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.e27 -// CHECK:STDOUT: %Self.loc15_23.2 => constants.%Self.2f0 +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self.loc15_23.2 => constants.%Self.626 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.2f0) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T, constants.%Self.626) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %I.type => constants.%I.type.e27 -// CHECK:STDOUT: %Self => constants.%Self.2f0 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.416 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.80f -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.157 -// CHECK:STDOUT: %assoc0.loc16_22.2 => constants.%assoc0.619 +// CHECK:STDOUT: %I.type => constants.%I.type.50f +// CHECK:STDOUT: %Self => constants.%Self.626 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.101 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.252 +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.bd7 +// CHECK:STDOUT: %assoc0.loc16_22.2 => constants.%assoc0.631 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self.2f0, constants.%U) { +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T, constants.%Self.626, constants.%U) { // CHECK:STDOUT: %U.loc16_9.1 => constants.%U // CHECK:STDOUT: %.loc16_21.1 => constants.%.a6b // CHECK:STDOUT: %pattern_type => constants.%pattern_type.62e @@ -199,28 +199,28 @@ fn H() { // CHECK:STDOUT: %T.loc19_7.1 => constants.%empty_struct_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type.loc23_6.2 => constants.%I.type.eeb +// CHECK:STDOUT: %I.type.loc23_6.2 => constants.%I.type.317 // CHECK:STDOUT: %require_complete => constants.%complete_type -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.408 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.8ce +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.4a0 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.379 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I(constants.%empty_struct_type) { // CHECK:STDOUT: %T.loc15_14.1 => constants.%empty_struct_type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.type => constants.%I.type.eeb -// CHECK:STDOUT: %Self.loc15_23.2 => constants.%Self.756 +// CHECK:STDOUT: %I.type => constants.%I.type.317 +// CHECK:STDOUT: %Self.loc15_23.2 => constants.%Self.170 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%empty_struct_type, constants.%Self.2f0) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%empty_struct_type, constants.%Self.626) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%empty_struct_type -// CHECK:STDOUT: %I.type => constants.%I.type.eeb -// CHECK:STDOUT: %Self => constants.%Self.2f0 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.c9d -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.d7d -// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.408 -// CHECK:STDOUT: %assoc0.loc16_22.2 => constants.%assoc0.8ce +// CHECK:STDOUT: %I.type => constants.%I.type.317 +// CHECK:STDOUT: %Self => constants.%Self.626 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.dc9 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.0fc +// CHECK:STDOUT: %I.assoc_type => constants.%I.assoc_type.4a0 +// CHECK:STDOUT: %assoc0.loc16_22.2 => constants.%assoc0.379 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/basic.carbon b/toolchain/check/testdata/interface/basic.carbon index 907b49845c96..d9de6e9189b2 100644 --- a/toolchain/check/testdata/interface/basic.carbon +++ b/toolchain/check/testdata/interface/basic.carbon @@ -25,10 +25,10 @@ interface ForwardDeclared { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Empty.type: type = facet_type <@Empty> [concrete] -// CHECK:STDOUT: %Self.63a: %Empty.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.2f3: %Empty.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %ForwardDeclared.type: type = facet_type <@ForwardDeclared> [concrete] -// CHECK:STDOUT: %Self.b75: %ForwardDeclared.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %ForwardDeclared.WithSelf.F.type: type = fn_type @ForwardDeclared.WithSelf.F, @ForwardDeclared.WithSelf(%Self.b75) [symbolic] +// CHECK:STDOUT: %Self.c9a: %ForwardDeclared.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %ForwardDeclared.WithSelf.F.type: type = fn_type @ForwardDeclared.WithSelf.F, @ForwardDeclared.WithSelf(%Self.c9a) [symbolic] // CHECK:STDOUT: %ForwardDeclared.WithSelf.F: %ForwardDeclared.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %ForwardDeclared.assoc_type: type = assoc_entity_type @ForwardDeclared [concrete] // CHECK:STDOUT: %assoc0: %ForwardDeclared.assoc_type = assoc_entity element0, @ForwardDeclared.WithSelf.%ForwardDeclared.WithSelf.F.decl [concrete] @@ -45,7 +45,7 @@ interface ForwardDeclared { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Empty { -// CHECK:STDOUT: %Self: %Empty.type = symbolic_binding Self, 0 [symbolic = constants.%Self.63a] +// CHECK:STDOUT: %Self: %Empty.type = symbolic_binding Self, 0 [symbolic = constants.%Self.2f3] // CHECK:STDOUT: %Empty.WithSelf.decl = interface_with_self_decl @Empty [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -56,7 +56,7 @@ interface ForwardDeclared { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @ForwardDeclared { -// CHECK:STDOUT: %Self: %ForwardDeclared.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b75] +// CHECK:STDOUT: %Self: %ForwardDeclared.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c9a] // CHECK:STDOUT: %ForwardDeclared.WithSelf.decl = interface_with_self_decl @ForwardDeclared [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -75,9 +75,9 @@ interface ForwardDeclared { // CHECK:STDOUT: fn(); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.63a) {} +// CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.2f3) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @ForwardDeclared.WithSelf(constants.%Self.b75) {} +// CHECK:STDOUT: specific @ForwardDeclared.WithSelf(constants.%Self.c9a) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @ForwardDeclared.WithSelf.F(constants.%Self.b75) {} +// CHECK:STDOUT: specific @ForwardDeclared.WithSelf.F(constants.%Self.c9a) {} // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/compound_member_access.carbon b/toolchain/check/testdata/interface/compound_member_access.carbon index 12fdcd3897fa..6d70a5876977 100644 --- a/toolchain/check/testdata/interface/compound_member_access.carbon +++ b/toolchain/check/testdata/interface/compound_member_access.carbon @@ -198,20 +198,20 @@ fn Works() { // CHECK:STDOUT: %assoc0: %J.assoc_type = assoc_entity element0, @J.WithSelf.%U [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.5fd: type = pattern_type %J.type [concrete] +// CHECK:STDOUT: %pattern_type.1b4: type = pattern_type %J.type [concrete] // CHECK:STDOUT: %T: %J.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %J.lookup_impl_witness.9de311.1: = lookup_impl_witness %T, @J [symbolic] -// CHECK:STDOUT: %impl.elem0.d999e0.1: type = impl_witness_access %J.lookup_impl_witness.9de311.1, element0 [symbolic] -// CHECK:STDOUT: %pattern_type.0b4244.1: type = pattern_type %impl.elem0.d999e0.1 [symbolic] -// CHECK:STDOUT: %S: %impl.elem0.d999e0.1 = symbolic_binding S, 1 [symbolic] +// CHECK:STDOUT: %J.lookup_impl_witness.7245fa.1: = lookup_impl_witness %T, @J [symbolic] +// CHECK:STDOUT: %impl.elem0.a030c0.1: type = impl_witness_access %J.lookup_impl_witness.7245fa.1, element0 [symbolic] +// CHECK:STDOUT: %pattern_type.9d79a7.1: type = pattern_type %impl.elem0.a030c0.1 [symbolic] +// CHECK:STDOUT: %S: %impl.elem0.a030c0.1 = symbolic_binding S, 1 [symbolic] // CHECK:STDOUT: %Simple1.type: type = fn_type @Simple1 [concrete] // CHECK:STDOUT: %Simple1: %Simple1.type = struct_value () [concrete] // CHECK:STDOUT: %V: %J.type = symbolic_binding V, 0 [symbolic] -// CHECK:STDOUT: %J.lookup_impl_witness.9de311.2: = lookup_impl_witness %V, @J [symbolic] -// CHECK:STDOUT: %impl.elem0.d999e0.2: type = impl_witness_access %J.lookup_impl_witness.9de311.2, element0 [symbolic] -// CHECK:STDOUT: %pattern_type.0b4244.2: type = pattern_type %impl.elem0.d999e0.2 [symbolic] -// CHECK:STDOUT: %W: %impl.elem0.d999e0.2 = symbolic_binding W, 1 [symbolic] +// CHECK:STDOUT: %J.lookup_impl_witness.7245fa.2: = lookup_impl_witness %V, @J [symbolic] +// CHECK:STDOUT: %impl.elem0.a030c0.2: type = impl_witness_access %J.lookup_impl_witness.7245fa.2, element0 [symbolic] +// CHECK:STDOUT: %pattern_type.9d79a7.2: type = pattern_type %impl.elem0.a030c0.2 [symbolic] +// CHECK:STDOUT: %W: %impl.elem0.a030c0.2 = symbolic_binding W, 1 [symbolic] // CHECK:STDOUT: %Compound1.type: type = fn_type @Compound1 [concrete] // CHECK:STDOUT: %Compound1: %Compound1.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -233,41 +233,41 @@ fn Works() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %J.decl: type = interface_decl @J [concrete = constants.%J.type] {} {} // CHECK:STDOUT: %Simple1.decl: %Simple1.type = fn_decl @Simple1 [concrete = constants.%Simple1] { -// CHECK:STDOUT: %T.patt: %pattern_type.5fd = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %S.patt: @Simple1.%pattern_type (%pattern_type.0b4244.1) = symbolic_binding_pattern S, 1 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.1b4 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %S.patt: @Simple1.%pattern_type (%pattern_type.9d79a7.1) = symbolic_binding_pattern S, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8_16: type = splice_block %J.ref [concrete = constants.%J.type] { // CHECK:STDOUT: %.Self.loc8_13: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %J.ref: type = name_ref J, file.%J.decl [concrete = constants.%J.type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc8_13.2: %J.type = symbolic_binding T, 0 [symbolic = %T.loc8_13.1 (constants.%T)] -// CHECK:STDOUT: %.loc8_31.1: type = splice_block %impl.elem0.loc8_31.2 [symbolic = %impl.elem0.loc8_31.1 (constants.%impl.elem0.d999e0.1)] { +// CHECK:STDOUT: %.loc8_31.1: type = splice_block %impl.elem0.loc8_31.2 [symbolic = %impl.elem0.loc8_31.1 (constants.%impl.elem0.a030c0.1)] { // CHECK:STDOUT: %.Self.loc8_27: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %T.ref: %J.type = name_ref T, %T.loc8_13.2 [symbolic = %T.loc8_13.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc8_31.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc8_31.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc8_31.2: type = converted %T.ref, %T.as_type.loc8_31.2 [symbolic = %T.as_type.loc8_31.1 (constants.%T.as_type)] // CHECK:STDOUT: %U.ref: %J.assoc_type = name_ref U, @U.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc8_31.2: type = impl_witness_access constants.%J.lookup_impl_witness.9de311.1, element0 [symbolic = %impl.elem0.loc8_31.1 (constants.%impl.elem0.d999e0.1)] +// CHECK:STDOUT: %impl.elem0.loc8_31.2: type = impl_witness_access constants.%J.lookup_impl_witness.7245fa.1, element0 [symbolic = %impl.elem0.loc8_31.1 (constants.%impl.elem0.a030c0.1)] // CHECK:STDOUT: } -// CHECK:STDOUT: %S.loc8_27.2: @Simple1.%impl.elem0.loc8_31.1 (%impl.elem0.d999e0.1) = symbolic_binding S, 1 [symbolic = %S.loc8_27.1 (constants.%S)] +// CHECK:STDOUT: %S.loc8_27.2: @Simple1.%impl.elem0.loc8_31.1 (%impl.elem0.a030c0.1) = symbolic_binding S, 1 [symbolic = %S.loc8_27.1 (constants.%S)] // CHECK:STDOUT: } // CHECK:STDOUT: %Compound1.decl: %Compound1.type = fn_decl @Compound1 [concrete = constants.%Compound1] { -// CHECK:STDOUT: %V.patt: %pattern_type.5fd = symbolic_binding_pattern V, 0 [concrete] -// CHECK:STDOUT: %W.patt: @Compound1.%pattern_type (%pattern_type.0b4244.2) = symbolic_binding_pattern W, 1 [concrete] +// CHECK:STDOUT: %V.patt: %pattern_type.1b4 = symbolic_binding_pattern V, 0 [concrete] +// CHECK:STDOUT: %W.patt: @Compound1.%pattern_type (%pattern_type.9d79a7.2) = symbolic_binding_pattern W, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc11_18: type = splice_block %J.ref.loc11_18 [concrete = constants.%J.type] { // CHECK:STDOUT: %.Self.loc11_15: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %J.ref.loc11_18: type = name_ref J, file.%J.decl [concrete = constants.%J.type] // CHECK:STDOUT: } // CHECK:STDOUT: %V.loc11_15.2: %J.type = symbolic_binding V, 0 [symbolic = %V.loc11_15.1 (constants.%V)] -// CHECK:STDOUT: %.loc11_33: type = splice_block %impl.elem0.loc11_33.2 [symbolic = %impl.elem0.loc11_33.1 (constants.%impl.elem0.d999e0.2)] { +// CHECK:STDOUT: %.loc11_33: type = splice_block %impl.elem0.loc11_33.2 [symbolic = %impl.elem0.loc11_33.1 (constants.%impl.elem0.a030c0.2)] { // CHECK:STDOUT: %.Self.loc11_29: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %V.ref: %J.type = name_ref V, %V.loc11_15.2 [symbolic = %V.loc11_15.1 (constants.%V)] // CHECK:STDOUT: %J.ref.loc11_35: type = name_ref J, file.%J.decl [concrete = constants.%J.type] // CHECK:STDOUT: %U.ref: %J.assoc_type = name_ref U, @U.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc11_33.2: type = impl_witness_access constants.%J.lookup_impl_witness.9de311.2, element0 [symbolic = %impl.elem0.loc11_33.1 (constants.%impl.elem0.d999e0.2)] +// CHECK:STDOUT: %impl.elem0.loc11_33.2: type = impl_witness_access constants.%J.lookup_impl_witness.7245fa.2, element0 [symbolic = %impl.elem0.loc11_33.1 (constants.%impl.elem0.a030c0.2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %W.loc11_29.2: @Compound1.%impl.elem0.loc11_33.1 (%impl.elem0.d999e0.2) = symbolic_binding W, 1 [symbolic = %W.loc11_29.1 (constants.%W)] +// CHECK:STDOUT: %W.loc11_29.2: @Compound1.%impl.elem0.loc11_33.1 (%impl.elem0.a030c0.2) = symbolic_binding W, 1 [symbolic = %W.loc11_29.1 (constants.%W)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -288,13 +288,13 @@ fn Works() { // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Simple1(%T.loc8_13.2: %J.type, %S.loc8_27.2: @Simple1.%impl.elem0.loc8_31.1 (%impl.elem0.d999e0.1)) { +// CHECK:STDOUT: generic fn @Simple1(%T.loc8_13.2: %J.type, %S.loc8_27.2: @Simple1.%impl.elem0.loc8_31.1 (%impl.elem0.a030c0.1)) { // CHECK:STDOUT: %T.loc8_13.1: %J.type = symbolic_binding T, 0 [symbolic = %T.loc8_13.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc8_31.1: type = facet_access_type %T.loc8_13.1 [symbolic = %T.as_type.loc8_31.1 (constants.%T.as_type)] -// CHECK:STDOUT: %J.lookup_impl_witness: = lookup_impl_witness %T.loc8_13.1, @J [symbolic = %J.lookup_impl_witness (constants.%J.lookup_impl_witness.9de311.1)] -// CHECK:STDOUT: %impl.elem0.loc8_31.1: type = impl_witness_access %J.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc8_31.1 (constants.%impl.elem0.d999e0.1)] -// CHECK:STDOUT: %S.loc8_27.1: @Simple1.%impl.elem0.loc8_31.1 (%impl.elem0.d999e0.1) = symbolic_binding S, 1 [symbolic = %S.loc8_27.1 (constants.%S)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %impl.elem0.loc8_31.1 [symbolic = %pattern_type (constants.%pattern_type.0b4244.1)] +// CHECK:STDOUT: %J.lookup_impl_witness: = lookup_impl_witness %T.loc8_13.1, @J [symbolic = %J.lookup_impl_witness (constants.%J.lookup_impl_witness.7245fa.1)] +// CHECK:STDOUT: %impl.elem0.loc8_31.1: type = impl_witness_access %J.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc8_31.1 (constants.%impl.elem0.a030c0.1)] +// CHECK:STDOUT: %S.loc8_27.1: @Simple1.%impl.elem0.loc8_31.1 (%impl.elem0.a030c0.1) = symbolic_binding S, 1 [symbolic = %S.loc8_27.1 (constants.%S)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %impl.elem0.loc8_31.1 [symbolic = %pattern_type (constants.%pattern_type.9d79a7.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -304,12 +304,12 @@ fn Works() { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Compound1(%V.loc11_15.2: %J.type, %W.loc11_29.2: @Compound1.%impl.elem0.loc11_33.1 (%impl.elem0.d999e0.2)) { +// CHECK:STDOUT: generic fn @Compound1(%V.loc11_15.2: %J.type, %W.loc11_29.2: @Compound1.%impl.elem0.loc11_33.1 (%impl.elem0.a030c0.2)) { // CHECK:STDOUT: %V.loc11_15.1: %J.type = symbolic_binding V, 0 [symbolic = %V.loc11_15.1 (constants.%V)] -// CHECK:STDOUT: %J.lookup_impl_witness: = lookup_impl_witness %V.loc11_15.1, @J [symbolic = %J.lookup_impl_witness (constants.%J.lookup_impl_witness.9de311.2)] -// CHECK:STDOUT: %impl.elem0.loc11_33.1: type = impl_witness_access %J.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_33.1 (constants.%impl.elem0.d999e0.2)] -// CHECK:STDOUT: %W.loc11_29.1: @Compound1.%impl.elem0.loc11_33.1 (%impl.elem0.d999e0.2) = symbolic_binding W, 1 [symbolic = %W.loc11_29.1 (constants.%W)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %impl.elem0.loc11_33.1 [symbolic = %pattern_type (constants.%pattern_type.0b4244.2)] +// CHECK:STDOUT: %J.lookup_impl_witness: = lookup_impl_witness %V.loc11_15.1, @J [symbolic = %J.lookup_impl_witness (constants.%J.lookup_impl_witness.7245fa.2)] +// CHECK:STDOUT: %impl.elem0.loc11_33.1: type = impl_witness_access %J.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_33.1 (constants.%impl.elem0.a030c0.2)] +// CHECK:STDOUT: %W.loc11_29.1: @Compound1.%impl.elem0.loc11_33.1 (%impl.elem0.a030c0.2) = symbolic_binding W, 1 [symbolic = %W.loc11_29.1 (constants.%W)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %impl.elem0.loc11_33.1 [symbolic = %pattern_type (constants.%pattern_type.9d79a7.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -330,10 +330,10 @@ fn Works() { // CHECK:STDOUT: specific @Simple1(constants.%T, constants.%S) { // CHECK:STDOUT: %T.loc8_13.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc8_31.1 => constants.%T.as_type -// CHECK:STDOUT: %J.lookup_impl_witness => constants.%J.lookup_impl_witness.9de311.1 -// CHECK:STDOUT: %impl.elem0.loc8_31.1 => constants.%impl.elem0.d999e0.1 +// CHECK:STDOUT: %J.lookup_impl_witness => constants.%J.lookup_impl_witness.7245fa.1 +// CHECK:STDOUT: %impl.elem0.loc8_31.1 => constants.%impl.elem0.a030c0.1 // CHECK:STDOUT: %S.loc8_27.1 => constants.%S -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0b4244.1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9d79a7.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J.WithSelf(constants.%V) { @@ -342,10 +342,10 @@ fn Works() { // CHECK:STDOUT: // CHECK:STDOUT: specific @Compound1(constants.%V, constants.%W) { // CHECK:STDOUT: %V.loc11_15.1 => constants.%V -// CHECK:STDOUT: %J.lookup_impl_witness => constants.%J.lookup_impl_witness.9de311.2 -// CHECK:STDOUT: %impl.elem0.loc11_33.1 => constants.%impl.elem0.d999e0.2 +// CHECK:STDOUT: %J.lookup_impl_witness => constants.%J.lookup_impl_witness.7245fa.2 +// CHECK:STDOUT: %impl.elem0.loc11_33.1 => constants.%impl.elem0.a030c0.2 // CHECK:STDOUT: %W.loc11_29.1 => constants.%W -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0b4244.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.9d79a7.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- non_instance.carbon @@ -353,9 +353,9 @@ fn Works() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %K1.type: type = facet_type <@K1> [concrete] // CHECK:STDOUT: %Self: %K1.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %K1.WithSelf.Q1.type.171: type = fn_type @K1.WithSelf.Q1, @K1.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %K1.WithSelf.Q1.type.cd0: type = fn_type @K1.WithSelf.Q1, @K1.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %K1.WithSelf.Q1.cb8: %K1.WithSelf.Q1.type.171 = struct_value () [symbolic] +// CHECK:STDOUT: %K1.WithSelf.Q1.39f: %K1.WithSelf.Q1.type.cd0 = struct_value () [symbolic] // CHECK:STDOUT: %K1.assoc_type: type = assoc_entity_type @K1 [concrete] // CHECK:STDOUT: %assoc0: %K1.assoc_type = assoc_entity element0, @K1.WithSelf.%K1.WithSelf.Q1.decl [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] @@ -364,22 +364,22 @@ fn Works() { // CHECK:STDOUT: %T: %K1.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Simple2.type: type = fn_type @Simple2 [concrete] // CHECK:STDOUT: %Simple2: %Simple2.type = struct_value () [concrete] -// CHECK:STDOUT: %K1.WithSelf.Q1.type.9145eb.1: type = fn_type @K1.WithSelf.Q1, @K1.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %K1.WithSelf.Q1.b0f60b.1: %K1.WithSelf.Q1.type.9145eb.1 = struct_value () [symbolic] +// CHECK:STDOUT: %K1.WithSelf.Q1.type.59aca2.1: type = fn_type @K1.WithSelf.Q1, @K1.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %K1.WithSelf.Q1.4abf2a.1: %K1.WithSelf.Q1.type.59aca2.1 = struct_value () [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %K1.lookup_impl_witness.b664f8.1: = lookup_impl_witness %T, @K1 [symbolic] -// CHECK:STDOUT: %.c07521.1: type = fn_type_with_self_type %K1.WithSelf.Q1.type.9145eb.1, %T [symbolic] -// CHECK:STDOUT: %impl.elem0.cb5237.1: %.c07521.1 = impl_witness_access %K1.lookup_impl_witness.b664f8.1, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.46bbfc.1: = specific_impl_function %impl.elem0.cb5237.1, @K1.WithSelf.Q1(%T) [symbolic] +// CHECK:STDOUT: %K1.lookup_impl_witness.2f959e.1: = lookup_impl_witness %T, @K1 [symbolic] +// CHECK:STDOUT: %.b70b64.1: type = fn_type_with_self_type %K1.WithSelf.Q1.type.59aca2.1, %T [symbolic] +// CHECK:STDOUT: %impl.elem0.de46be.1: %.b70b64.1 = impl_witness_access %K1.lookup_impl_witness.2f959e.1, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c74519.1: = specific_impl_function %impl.elem0.de46be.1, @K1.WithSelf.Q1(%T) [symbolic] // CHECK:STDOUT: %V: %K1.type = symbolic_binding V, 0 [symbolic] // CHECK:STDOUT: %Compound2.type: type = fn_type @Compound2 [concrete] // CHECK:STDOUT: %Compound2: %Compound2.type = struct_value () [concrete] -// CHECK:STDOUT: %K1.lookup_impl_witness.b664f8.2: = lookup_impl_witness %V, @K1 [symbolic] -// CHECK:STDOUT: %K1.WithSelf.Q1.type.9145eb.2: type = fn_type @K1.WithSelf.Q1, @K1.WithSelf(%V) [symbolic] -// CHECK:STDOUT: %K1.WithSelf.Q1.b0f60b.2: %K1.WithSelf.Q1.type.9145eb.2 = struct_value () [symbolic] -// CHECK:STDOUT: %.c07521.2: type = fn_type_with_self_type %K1.WithSelf.Q1.type.9145eb.2, %V [symbolic] -// CHECK:STDOUT: %impl.elem0.cb5237.2: %.c07521.2 = impl_witness_access %K1.lookup_impl_witness.b664f8.2, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.46bbfc.2: = specific_impl_function %impl.elem0.cb5237.2, @K1.WithSelf.Q1(%V) [symbolic] +// CHECK:STDOUT: %K1.lookup_impl_witness.2f959e.2: = lookup_impl_witness %V, @K1 [symbolic] +// CHECK:STDOUT: %K1.WithSelf.Q1.type.59aca2.2: type = fn_type @K1.WithSelf.Q1, @K1.WithSelf(%V) [symbolic] +// CHECK:STDOUT: %K1.WithSelf.Q1.4abf2a.2: %K1.WithSelf.Q1.type.59aca2.2 = struct_value () [symbolic] +// CHECK:STDOUT: %.b70b64.2: type = fn_type_with_self_type %K1.WithSelf.Q1.type.59aca2.2, %V [symbolic] +// CHECK:STDOUT: %impl.elem0.de46be.2: %.b70b64.2 = impl_witness_access %K1.lookup_impl_witness.2f959e.2, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c74519.2: = specific_impl_function %impl.elem0.de46be.2, @K1.WithSelf.Q1(%V) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -423,7 +423,7 @@ fn Works() { // CHECK:STDOUT: %K1.WithSelf.decl = interface_with_self_decl @K1 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %K1.WithSelf.Q1.decl: @K1.WithSelf.%K1.WithSelf.Q1.type (%K1.WithSelf.Q1.type.171) = fn_decl @K1.WithSelf.Q1 [symbolic = @K1.WithSelf.%K1.WithSelf.Q1 (constants.%K1.WithSelf.Q1.cb8)] {} {} +// CHECK:STDOUT: %K1.WithSelf.Q1.decl: @K1.WithSelf.%K1.WithSelf.Q1.type (%K1.WithSelf.Q1.type.cd0) = fn_decl @K1.WithSelf.Q1 [symbolic = @K1.WithSelf.%K1.WithSelf.Q1 (constants.%K1.WithSelf.Q1.39f)] {} {} // CHECK:STDOUT: %assoc0: %K1.assoc_type = assoc_entity element0, %K1.WithSelf.Q1.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -443,11 +443,11 @@ fn Works() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T.as_type.loc9_4.2: type = facet_access_type %T.loc8_13.1 [symbolic = %T.as_type.loc9_4.2 (constants.%T.as_type)] -// CHECK:STDOUT: %K1.WithSelf.Q1.type: type = fn_type @K1.WithSelf.Q1, @K1.WithSelf(%T.loc8_13.1) [symbolic = %K1.WithSelf.Q1.type (constants.%K1.WithSelf.Q1.type.9145eb.1)] -// CHECK:STDOUT: %.loc9_4.2: type = fn_type_with_self_type %K1.WithSelf.Q1.type, %T.loc8_13.1 [symbolic = %.loc9_4.2 (constants.%.c07521.1)] -// CHECK:STDOUT: %K1.lookup_impl_witness: = lookup_impl_witness %T.loc8_13.1, @K1 [symbolic = %K1.lookup_impl_witness (constants.%K1.lookup_impl_witness.b664f8.1)] -// CHECK:STDOUT: %impl.elem0.loc9_4.2: @Simple2.%.loc9_4.2 (%.c07521.1) = impl_witness_access %K1.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_4.2 (constants.%impl.elem0.cb5237.1)] -// CHECK:STDOUT: %specific_impl_fn.loc9_4.2: = specific_impl_function %impl.elem0.loc9_4.2, @K1.WithSelf.Q1(%T.loc8_13.1) [symbolic = %specific_impl_fn.loc9_4.2 (constants.%specific_impl_fn.46bbfc.1)] +// CHECK:STDOUT: %K1.WithSelf.Q1.type: type = fn_type @K1.WithSelf.Q1, @K1.WithSelf(%T.loc8_13.1) [symbolic = %K1.WithSelf.Q1.type (constants.%K1.WithSelf.Q1.type.59aca2.1)] +// CHECK:STDOUT: %.loc9_4.2: type = fn_type_with_self_type %K1.WithSelf.Q1.type, %T.loc8_13.1 [symbolic = %.loc9_4.2 (constants.%.b70b64.1)] +// CHECK:STDOUT: %K1.lookup_impl_witness: = lookup_impl_witness %T.loc8_13.1, @K1 [symbolic = %K1.lookup_impl_witness (constants.%K1.lookup_impl_witness.2f959e.1)] +// CHECK:STDOUT: %impl.elem0.loc9_4.2: @Simple2.%.loc9_4.2 (%.b70b64.1) = impl_witness_access %K1.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_4.2 (constants.%impl.elem0.de46be.1)] +// CHECK:STDOUT: %specific_impl_fn.loc9_4.2: = specific_impl_function %impl.elem0.loc9_4.2, @K1.WithSelf.Q1(%T.loc8_13.1) [symbolic = %specific_impl_fn.loc9_4.2 (constants.%specific_impl_fn.c74519.1)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: @@ -455,8 +455,8 @@ fn Works() { // CHECK:STDOUT: %T.as_type.loc9_4.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc9_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %.loc9_4.1: type = converted %T.ref, %T.as_type.loc9_4.1 [symbolic = %T.as_type.loc9_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %Q1.ref: %K1.assoc_type = name_ref Q1, @K1.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc9_4.1: @Simple2.%.loc9_4.2 (%.c07521.1) = impl_witness_access constants.%K1.lookup_impl_witness.b664f8.1, element0 [symbolic = %impl.elem0.loc9_4.2 (constants.%impl.elem0.cb5237.1)] -// CHECK:STDOUT: %specific_impl_fn.loc9_4.1: = specific_impl_function %impl.elem0.loc9_4.1, @K1.WithSelf.Q1(constants.%T) [symbolic = %specific_impl_fn.loc9_4.2 (constants.%specific_impl_fn.46bbfc.1)] +// CHECK:STDOUT: %impl.elem0.loc9_4.1: @Simple2.%.loc9_4.2 (%.b70b64.1) = impl_witness_access constants.%K1.lookup_impl_witness.2f959e.1, element0 [symbolic = %impl.elem0.loc9_4.2 (constants.%impl.elem0.de46be.1)] +// CHECK:STDOUT: %specific_impl_fn.loc9_4.1: = specific_impl_function %impl.elem0.loc9_4.1, @K1.WithSelf.Q1(constants.%T) [symbolic = %specific_impl_fn.loc9_4.2 (constants.%specific_impl_fn.c74519.1)] // CHECK:STDOUT: %K1.WithSelf.Q1.call: init %empty_tuple.type = call %specific_impl_fn.loc9_4.1() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -466,19 +466,19 @@ fn Works() { // CHECK:STDOUT: %V.loc13_15.1: %K1.type = symbolic_binding V, 0 [symbolic = %V.loc13_15.1 (constants.%V)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %K1.WithSelf.Q1.type: type = fn_type @K1.WithSelf.Q1, @K1.WithSelf(%V.loc13_15.1) [symbolic = %K1.WithSelf.Q1.type (constants.%K1.WithSelf.Q1.type.9145eb.2)] -// CHECK:STDOUT: %.loc14: type = fn_type_with_self_type %K1.WithSelf.Q1.type, %V.loc13_15.1 [symbolic = %.loc14 (constants.%.c07521.2)] -// CHECK:STDOUT: %K1.lookup_impl_witness: = lookup_impl_witness %V.loc13_15.1, @K1 [symbolic = %K1.lookup_impl_witness (constants.%K1.lookup_impl_witness.b664f8.2)] -// CHECK:STDOUT: %impl.elem0.loc14_4.2: @Compound2.%.loc14 (%.c07521.2) = impl_witness_access %K1.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_4.2 (constants.%impl.elem0.cb5237.2)] -// CHECK:STDOUT: %specific_impl_fn.loc14_4.2: = specific_impl_function %impl.elem0.loc14_4.2, @K1.WithSelf.Q1(%V.loc13_15.1) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.46bbfc.2)] +// CHECK:STDOUT: %K1.WithSelf.Q1.type: type = fn_type @K1.WithSelf.Q1, @K1.WithSelf(%V.loc13_15.1) [symbolic = %K1.WithSelf.Q1.type (constants.%K1.WithSelf.Q1.type.59aca2.2)] +// CHECK:STDOUT: %.loc14: type = fn_type_with_self_type %K1.WithSelf.Q1.type, %V.loc13_15.1 [symbolic = %.loc14 (constants.%.b70b64.2)] +// CHECK:STDOUT: %K1.lookup_impl_witness: = lookup_impl_witness %V.loc13_15.1, @K1 [symbolic = %K1.lookup_impl_witness (constants.%K1.lookup_impl_witness.2f959e.2)] +// CHECK:STDOUT: %impl.elem0.loc14_4.2: @Compound2.%.loc14 (%.b70b64.2) = impl_witness_access %K1.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_4.2 (constants.%impl.elem0.de46be.2)] +// CHECK:STDOUT: %specific_impl_fn.loc14_4.2: = specific_impl_function %impl.elem0.loc14_4.2, @K1.WithSelf.Q1(%V.loc13_15.1) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.c74519.2)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %V.ref: %K1.type = name_ref V, %V.loc13_15.2 [symbolic = %V.loc13_15.1 (constants.%V)] // CHECK:STDOUT: %K1.ref.loc14: type = name_ref K1, file.%K1.decl [concrete = constants.%K1.type] // CHECK:STDOUT: %Q1.ref: %K1.assoc_type = name_ref Q1, @K1.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc14_4.1: @Compound2.%.loc14 (%.c07521.2) = impl_witness_access constants.%K1.lookup_impl_witness.b664f8.2, element0 [symbolic = %impl.elem0.loc14_4.2 (constants.%impl.elem0.cb5237.2)] -// CHECK:STDOUT: %specific_impl_fn.loc14_4.1: = specific_impl_function %impl.elem0.loc14_4.1, @K1.WithSelf.Q1(constants.%V) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.46bbfc.2)] +// CHECK:STDOUT: %impl.elem0.loc14_4.1: @Compound2.%.loc14 (%.b70b64.2) = impl_witness_access constants.%K1.lookup_impl_witness.2f959e.2, element0 [symbolic = %impl.elem0.loc14_4.2 (constants.%impl.elem0.de46be.2)] +// CHECK:STDOUT: %specific_impl_fn.loc14_4.1: = specific_impl_function %impl.elem0.loc14_4.1, @K1.WithSelf.Q1(constants.%V) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.c74519.2)] // CHECK:STDOUT: %K1.WithSelf.Q1.call: init %empty_tuple.type = call %specific_impl_fn.loc14_4.1() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -487,8 +487,8 @@ fn Works() { // CHECK:STDOUT: specific @K1.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %K1.WithSelf.Q1.type => constants.%K1.WithSelf.Q1.type.171 -// CHECK:STDOUT: %K1.WithSelf.Q1 => constants.%K1.WithSelf.Q1.cb8 +// CHECK:STDOUT: %K1.WithSelf.Q1.type => constants.%K1.WithSelf.Q1.type.cd0 +// CHECK:STDOUT: %K1.WithSelf.Q1 => constants.%K1.WithSelf.Q1.39f // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @K1.WithSelf.Q1(constants.%Self) {} @@ -500,8 +500,8 @@ fn Works() { // CHECK:STDOUT: specific @K1.WithSelf(constants.%T) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %K1.WithSelf.Q1.type => constants.%K1.WithSelf.Q1.type.9145eb.1 -// CHECK:STDOUT: %K1.WithSelf.Q1 => constants.%K1.WithSelf.Q1.b0f60b.1 +// CHECK:STDOUT: %K1.WithSelf.Q1.type => constants.%K1.WithSelf.Q1.type.59aca2.1 +// CHECK:STDOUT: %K1.WithSelf.Q1 => constants.%K1.WithSelf.Q1.4abf2a.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @K1.WithSelf.Q1(constants.%T) {} @@ -513,8 +513,8 @@ fn Works() { // CHECK:STDOUT: specific @K1.WithSelf(constants.%V) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%V -// CHECK:STDOUT: %K1.WithSelf.Q1.type => constants.%K1.WithSelf.Q1.type.9145eb.2 -// CHECK:STDOUT: %K1.WithSelf.Q1 => constants.%K1.WithSelf.Q1.b0f60b.2 +// CHECK:STDOUT: %K1.WithSelf.Q1.type => constants.%K1.WithSelf.Q1.type.59aca2.2 +// CHECK:STDOUT: %K1.WithSelf.Q1 => constants.%K1.WithSelf.Q1.4abf2a.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @K1.WithSelf.Q1(constants.%V) {} @@ -523,35 +523,35 @@ fn Works() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %K2.type: type = facet_type <@K2> [concrete] -// CHECK:STDOUT: %Self.d5c: %K2.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %K2.WithSelf.Q2.type.a77: type = fn_type @K2.WithSelf.Q2, @K2.WithSelf(%Self.d5c) [symbolic] +// CHECK:STDOUT: %Self.8fe: %K2.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %K2.WithSelf.Q2.type.051: type = fn_type @K2.WithSelf.Q2, @K2.WithSelf(%Self.8fe) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %K2.WithSelf.Q2.a3a: %K2.WithSelf.Q2.type.a77 = struct_value () [symbolic] +// CHECK:STDOUT: %K2.WithSelf.Q2.d58: %K2.WithSelf.Q2.type.051 = struct_value () [symbolic] // CHECK:STDOUT: %K2.assoc_type: type = assoc_entity_type @K2 [concrete] -// CHECK:STDOUT: %assoc0.935: %K2.assoc_type = assoc_entity element0, @K2.WithSelf.%K2.WithSelf.Q2.decl [concrete] +// CHECK:STDOUT: %assoc0.aa9: %K2.assoc_type = assoc_entity element0, @K2.WithSelf.%K2.WithSelf.Q2.decl [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.ce8: type = pattern_type %K2.type [concrete] +// CHECK:STDOUT: %pattern_type.6b1: type = pattern_type %K2.type [concrete] // CHECK:STDOUT: %T: %K2.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.b330f0.1: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.df6b60.1: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %Simple3.type: type = fn_type @Simple3 [concrete] // CHECK:STDOUT: %Simple3: %Simple3.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.af9b70.1: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %K2.WithSelf.Q2.type.c05: type = fn_type @K2.WithSelf.Q2, @K2.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %K2.WithSelf.Q2.fc8: %K2.WithSelf.Q2.type.c05 = struct_value () [symbolic] +// CHECK:STDOUT: %require_complete.d7d81f.1: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %K2.WithSelf.Q2.type.040: type = fn_type @K2.WithSelf.Q2, @K2.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %K2.WithSelf.Q2.3c0: %K2.WithSelf.Q2.type.040 = struct_value () [symbolic] // CHECK:STDOUT: %K2.lookup_impl_witness: = lookup_impl_witness %T, @K2 [symbolic] -// CHECK:STDOUT: %.c3e: type = fn_type_with_self_type %K2.WithSelf.Q2.type.c05, %T [symbolic] -// CHECK:STDOUT: %impl.elem0: %.c3e = impl_witness_access %K2.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %.cf2: type = fn_type_with_self_type %K2.WithSelf.Q2.type.040, %T [symbolic] +// CHECK:STDOUT: %impl.elem0: %.cf2 = impl_witness_access %K2.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @K2.WithSelf.Q2(%T) [symbolic] // CHECK:STDOUT: %V: %K2.type = symbolic_binding V, 0 [symbolic] // CHECK:STDOUT: %V.as_type: type = facet_access_type %V [symbolic] -// CHECK:STDOUT: %pattern_type.b330f0.2: type = pattern_type %V.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.df6b60.2: type = pattern_type %V.as_type [symbolic] // CHECK:STDOUT: %Compound3.type: type = fn_type @Compound3 [concrete] // CHECK:STDOUT: %Compound3: %Compound3.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.af9b70.2: = require_complete_type %V.as_type [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %require_complete.d7d81f.2: = require_complete_type %V.as_type [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -560,7 +560,7 @@ fn Works() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -573,9 +573,9 @@ fn Works() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %K2.decl: type = interface_decl @K2 [concrete = constants.%K2.type] {} {} // CHECK:STDOUT: %Simple3.decl: %Simple3.type = fn_decl @Simple3 [concrete = constants.%Simple3] { -// CHECK:STDOUT: %T.patt: %pattern_type.ce8 = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @Simple3.%pattern_type (%pattern_type.b330f0.1) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @Simple3.%pattern_type (%pattern_type.b330f0.1) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.6b1 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @Simple3.%pattern_type (%pattern_type.df6b60.1) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @Simple3.%pattern_type (%pattern_type.df6b60.1) = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8_16: type = splice_block %K2.ref [concrete = constants.%K2.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -591,9 +591,9 @@ fn Works() { // CHECK:STDOUT: %x: @Simple3.%T.as_type.loc8_23.1 (%T.as_type) = value_binding x, %x.param // CHECK:STDOUT: } // CHECK:STDOUT: %Compound3.decl: %Compound3.type = fn_decl @Compound3 [concrete = constants.%Compound3] { -// CHECK:STDOUT: %V.patt: %pattern_type.ce8 = symbolic_binding_pattern V, 0 [concrete] -// CHECK:STDOUT: %y.param_patt: @Compound3.%pattern_type (%pattern_type.b330f0.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %y.patt: @Compound3.%pattern_type (%pattern_type.b330f0.2) = at_binding_pattern y, %y.param_patt [concrete] +// CHECK:STDOUT: %V.patt: %pattern_type.6b1 = symbolic_binding_pattern V, 0 [concrete] +// CHECK:STDOUT: %y.param_patt: @Compound3.%pattern_type (%pattern_type.df6b60.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %y.patt: @Compound3.%pattern_type (%pattern_type.df6b60.2) = at_binding_pattern y, %y.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc14_18: type = splice_block %K2.ref.loc14 [concrete = constants.%K2.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -611,12 +611,12 @@ fn Works() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @K2 { -// CHECK:STDOUT: %Self: %K2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d5c] +// CHECK:STDOUT: %Self: %K2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.8fe] // CHECK:STDOUT: %K2.WithSelf.decl = interface_with_self_decl @K2 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %K2.WithSelf.Q2.decl: @K2.WithSelf.%K2.WithSelf.Q2.type (%K2.WithSelf.Q2.type.a77) = fn_decl @K2.WithSelf.Q2 [symbolic = @K2.WithSelf.%K2.WithSelf.Q2 (constants.%K2.WithSelf.Q2.a3a)] {} {} -// CHECK:STDOUT: %assoc0: %K2.assoc_type = assoc_entity element0, %K2.WithSelf.Q2.decl [concrete = constants.%assoc0.935] +// CHECK:STDOUT: %K2.WithSelf.Q2.decl: @K2.WithSelf.%K2.WithSelf.Q2.type (%K2.WithSelf.Q2.type.051) = fn_decl @K2.WithSelf.Q2 [symbolic = @K2.WithSelf.%K2.WithSelf.Q2 (constants.%K2.WithSelf.Q2.d58)] {} {} +// CHECK:STDOUT: %assoc0: %K2.assoc_type = assoc_entity element0, %K2.WithSelf.Q2.decl [concrete = constants.%assoc0.aa9] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -633,21 +633,21 @@ fn Works() { // CHECK:STDOUT: generic fn @Simple3(%T.loc8_13.2: %K2.type) { // CHECK:STDOUT: %T.loc8_13.1: %K2.type = symbolic_binding T, 0 [symbolic = %T.loc8_13.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc8_23.1: type = facet_access_type %T.loc8_13.1 [symbolic = %T.as_type.loc8_23.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc8_23.1 [symbolic = %pattern_type (constants.%pattern_type.b330f0.1)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %T.as_type.loc8_23.1 [symbolic = %pattern_type (constants.%pattern_type.df6b60.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc8_23.1 [symbolic = %require_complete (constants.%require_complete.af9b70.1)] -// CHECK:STDOUT: %K2.WithSelf.Q2.type: type = fn_type @K2.WithSelf.Q2, @K2.WithSelf(%T.loc8_13.1) [symbolic = %K2.WithSelf.Q2.type (constants.%K2.WithSelf.Q2.type.c05)] -// CHECK:STDOUT: %.loc9: type = fn_type_with_self_type %K2.WithSelf.Q2.type, %T.loc8_13.1 [symbolic = %.loc9 (constants.%.c3e)] +// CHECK:STDOUT: %require_complete: = require_complete_type %T.as_type.loc8_23.1 [symbolic = %require_complete (constants.%require_complete.d7d81f.1)] +// CHECK:STDOUT: %K2.WithSelf.Q2.type: type = fn_type @K2.WithSelf.Q2, @K2.WithSelf(%T.loc8_13.1) [symbolic = %K2.WithSelf.Q2.type (constants.%K2.WithSelf.Q2.type.040)] +// CHECK:STDOUT: %.loc9: type = fn_type_with_self_type %K2.WithSelf.Q2.type, %T.loc8_13.1 [symbolic = %.loc9 (constants.%.cf2)] // CHECK:STDOUT: %K2.lookup_impl_witness: = lookup_impl_witness %T.loc8_13.1, @K2 [symbolic = %K2.lookup_impl_witness (constants.%K2.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc9_4.2: @Simple3.%.loc9 (%.c3e) = impl_witness_access %K2.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc9_4.2: @Simple3.%.loc9 (%.cf2) = impl_witness_access %K2.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc9_4.2: = specific_impl_function %impl.elem0.loc9_4.2, @K2.WithSelf.Q2(%T.loc8_13.1) [symbolic = %specific_impl_fn.loc9_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @Simple3.%T.as_type.loc8_23.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: @Simple3.%T.as_type.loc8_23.1 (%T.as_type) = name_ref x, %x -// CHECK:STDOUT: %Q2.ref: %K2.assoc_type = name_ref Q2, @K2.WithSelf.%assoc0 [concrete = constants.%assoc0.935] -// CHECK:STDOUT: %impl.elem0.loc9_4.1: @Simple3.%.loc9 (%.c3e) = impl_witness_access constants.%K2.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %Q2.ref: %K2.assoc_type = name_ref Q2, @K2.WithSelf.%assoc0 [concrete = constants.%assoc0.aa9] +// CHECK:STDOUT: %impl.elem0.loc9_4.1: @Simple3.%.loc9 (%.cf2) = impl_witness_access constants.%K2.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc9_4.1: = specific_impl_function %impl.elem0.loc9_4.1, @K2.WithSelf.Q2(constants.%T) [symbolic = %specific_impl_fn.loc9_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %K2.WithSelf.Q2.call: init %empty_tuple.type = call %specific_impl_fn.loc9_4.1() // CHECK:STDOUT: return @@ -657,41 +657,41 @@ fn Works() { // CHECK:STDOUT: generic fn @Compound3(%V.loc14_15.2: %K2.type) { // CHECK:STDOUT: %V.loc14_15.1: %K2.type = symbolic_binding V, 0 [symbolic = %V.loc14_15.1 (constants.%V)] // CHECK:STDOUT: %V.as_type.loc14_25.1: type = facet_access_type %V.loc14_15.1 [symbolic = %V.as_type.loc14_25.1 (constants.%V.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %V.as_type.loc14_25.1 [symbolic = %pattern_type (constants.%pattern_type.b330f0.2)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %V.as_type.loc14_25.1 [symbolic = %pattern_type (constants.%pattern_type.df6b60.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %V.as_type.loc14_25.1 [symbolic = %require_complete (constants.%require_complete.af9b70.2)] +// CHECK:STDOUT: %require_complete: = require_complete_type %V.as_type.loc14_25.1 [symbolic = %require_complete (constants.%require_complete.d7d81f.2)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%y.param: @Compound3.%V.as_type.loc14_25.1 (%V.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %y.ref: @Compound3.%V.as_type.loc14_25.1 (%V.as_type) = name_ref y, %y // CHECK:STDOUT: %K2.ref.loc22: type = name_ref K2, file.%K2.decl [concrete = constants.%K2.type] -// CHECK:STDOUT: %Q2.ref: %K2.assoc_type = name_ref Q2, @K2.WithSelf.%assoc0 [concrete = constants.%assoc0.935] +// CHECK:STDOUT: %Q2.ref: %K2.assoc_type = name_ref Q2, @K2.WithSelf.%assoc0 [concrete = constants.%assoc0.aa9] // CHECK:STDOUT: %.loc22: %K2.type = converted %y.ref, [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @K2.WithSelf(constants.%Self.d5c) { +// CHECK:STDOUT: specific @K2.WithSelf(constants.%Self.8fe) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.d5c -// CHECK:STDOUT: %K2.WithSelf.Q2.type => constants.%K2.WithSelf.Q2.type.a77 -// CHECK:STDOUT: %K2.WithSelf.Q2 => constants.%K2.WithSelf.Q2.a3a +// CHECK:STDOUT: %Self => constants.%Self.8fe +// CHECK:STDOUT: %K2.WithSelf.Q2.type => constants.%K2.WithSelf.Q2.type.051 +// CHECK:STDOUT: %K2.WithSelf.Q2 => constants.%K2.WithSelf.Q2.d58 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @K2.WithSelf.Q2(constants.%Self.d5c) {} +// CHECK:STDOUT: specific @K2.WithSelf.Q2(constants.%Self.8fe) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple3(constants.%T) { // CHECK:STDOUT: %T.loc8_13.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc8_23.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.b330f0.1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.df6b60.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @K2.WithSelf(constants.%T) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %K2.WithSelf.Q2.type => constants.%K2.WithSelf.Q2.type.c05 -// CHECK:STDOUT: %K2.WithSelf.Q2 => constants.%K2.WithSelf.Q2.fc8 +// CHECK:STDOUT: %K2.WithSelf.Q2.type => constants.%K2.WithSelf.Q2.type.040 +// CHECK:STDOUT: %K2.WithSelf.Q2 => constants.%K2.WithSelf.Q2.3c0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @K2.WithSelf.Q2(constants.%T) {} @@ -699,7 +699,7 @@ fn Works() { // CHECK:STDOUT: specific @Compound3(constants.%V) { // CHECK:STDOUT: %V.loc14_15.1 => constants.%V // CHECK:STDOUT: %V.as_type.loc14_25.1 => constants.%V.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.b330f0.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.df6b60.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- instance.carbon @@ -708,58 +708,58 @@ fn Works() { // CHECK:STDOUT: %L1.type: type = facet_type <@L1> [concrete] // CHECK:STDOUT: %Self: %L1.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.987: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %L1.WithSelf.R1.type.d64: type = fn_type @L1.WithSelf.R1, @L1.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %pattern_type.02d: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %L1.WithSelf.R1.type.5a7: type = fn_type @L1.WithSelf.R1, @L1.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %L1.WithSelf.R1.471: %L1.WithSelf.R1.type.d64 = struct_value () [symbolic] +// CHECK:STDOUT: %L1.WithSelf.R1.ef2: %L1.WithSelf.R1.type.5a7 = struct_value () [symbolic] // CHECK:STDOUT: %L1.assoc_type: type = assoc_entity_type @L1 [concrete] // CHECK:STDOUT: %assoc0: %L1.assoc_type = assoc_entity element0, @L1.WithSelf.%L1.WithSelf.R1.decl [concrete] -// CHECK:STDOUT: %L1.WithSelf.S1.type.032: type = fn_type @L1.WithSelf.S1, @L1.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %L1.WithSelf.S1.28d: %L1.WithSelf.S1.type.032 = struct_value () [symbolic] +// CHECK:STDOUT: %L1.WithSelf.S1.type.d7d: type = fn_type @L1.WithSelf.S1, @L1.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %L1.WithSelf.S1.a7e: %L1.WithSelf.S1.type.d7d = struct_value () [symbolic] // CHECK:STDOUT: %assoc1: %L1.assoc_type = assoc_entity element1, @L1.WithSelf.%L1.WithSelf.S1.decl [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.7f5: type = pattern_type %L1.type [concrete] +// CHECK:STDOUT: %pattern_type.144: type = pattern_type %L1.type [concrete] // CHECK:STDOUT: %T: %L1.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.fe0efb.1: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %ptr.1d0230.1: type = ptr_type %T.as_type [symbolic] -// CHECK:STDOUT: %pattern_type.357d4f.1: type = pattern_type %ptr.1d0230.1 [symbolic] +// CHECK:STDOUT: %pattern_type.34d8e7.1: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %ptr.5d0360.1: type = ptr_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.77123f.1: type = pattern_type %ptr.5d0360.1 [symbolic] // CHECK:STDOUT: %Simple4.type: type = fn_type @Simple4 [concrete] // CHECK:STDOUT: %Simple4: %Simple4.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.68d708.1: = require_complete_type %T.as_type [symbolic] -// CHECK:STDOUT: %require_complete.4e49c7.1: = require_complete_type %ptr.1d0230.1 [symbolic] -// CHECK:STDOUT: %L1.WithSelf.R1.type.4eb2d4.1: type = fn_type @L1.WithSelf.R1, @L1.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %L1.WithSelf.R1.576f6f.1: %L1.WithSelf.R1.type.4eb2d4.1 = struct_value () [symbolic] -// CHECK:STDOUT: %L1.WithSelf.S1.type.ed6aab.1: type = fn_type @L1.WithSelf.S1, @L1.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %L1.WithSelf.S1.59fa62.1: %L1.WithSelf.S1.type.ed6aab.1 = struct_value () [symbolic] -// CHECK:STDOUT: %L1.lookup_impl_witness.2ed6bb.1: = lookup_impl_witness %T, @L1 [symbolic] -// CHECK:STDOUT: %.102085.1: type = fn_type_with_self_type %L1.WithSelf.R1.type.4eb2d4.1, %T [symbolic] -// CHECK:STDOUT: %impl.elem0.c1aec0.1: %.102085.1 = impl_witness_access %L1.lookup_impl_witness.2ed6bb.1, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.f504fe.1: = specific_impl_function %impl.elem0.c1aec0.1, @L1.WithSelf.R1(%T) [symbolic] -// CHECK:STDOUT: %.8d1ef4.1: type = fn_type_with_self_type %L1.WithSelf.S1.type.ed6aab.1, %T [symbolic] -// CHECK:STDOUT: %impl.elem1.abc984.1: %.8d1ef4.1 = impl_witness_access %L1.lookup_impl_witness.2ed6bb.1, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.234f54.1: = specific_impl_function %impl.elem1.abc984.1, @L1.WithSelf.S1(%T) [symbolic] +// CHECK:STDOUT: %require_complete.66b562.1: = require_complete_type %T.as_type [symbolic] +// CHECK:STDOUT: %require_complete.0473f9.1: = require_complete_type %ptr.5d0360.1 [symbolic] +// CHECK:STDOUT: %L1.WithSelf.R1.type.c49ec5.1: type = fn_type @L1.WithSelf.R1, @L1.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %L1.WithSelf.R1.15cca7.1: %L1.WithSelf.R1.type.c49ec5.1 = struct_value () [symbolic] +// CHECK:STDOUT: %L1.WithSelf.S1.type.cdb9c6.1: type = fn_type @L1.WithSelf.S1, @L1.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %L1.WithSelf.S1.25e76e.1: %L1.WithSelf.S1.type.cdb9c6.1 = struct_value () [symbolic] +// CHECK:STDOUT: %L1.lookup_impl_witness.53b4ff.1: = lookup_impl_witness %T, @L1 [symbolic] +// CHECK:STDOUT: %.17ad0e.1: type = fn_type_with_self_type %L1.WithSelf.R1.type.c49ec5.1, %T [symbolic] +// CHECK:STDOUT: %impl.elem0.769162.1: %.17ad0e.1 = impl_witness_access %L1.lookup_impl_witness.53b4ff.1, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.3b2324.1: = specific_impl_function %impl.elem0.769162.1, @L1.WithSelf.R1(%T) [symbolic] +// CHECK:STDOUT: %.9361f0.1: type = fn_type_with_self_type %L1.WithSelf.S1.type.cdb9c6.1, %T [symbolic] +// CHECK:STDOUT: %impl.elem1.8b6b4a.1: %.9361f0.1 = impl_witness_access %L1.lookup_impl_witness.53b4ff.1, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.f35db6.1: = specific_impl_function %impl.elem1.8b6b4a.1, @L1.WithSelf.S1(%T) [symbolic] // CHECK:STDOUT: %V: %L1.type = symbolic_binding V, 0 [symbolic] // CHECK:STDOUT: %V.as_type: type = facet_access_type %V [symbolic] -// CHECK:STDOUT: %pattern_type.fe0efb.2: type = pattern_type %V.as_type [symbolic] -// CHECK:STDOUT: %ptr.1d0230.2: type = ptr_type %V.as_type [symbolic] -// CHECK:STDOUT: %pattern_type.357d4f.2: type = pattern_type %ptr.1d0230.2 [symbolic] +// CHECK:STDOUT: %pattern_type.34d8e7.2: type = pattern_type %V.as_type [symbolic] +// CHECK:STDOUT: %ptr.5d0360.2: type = ptr_type %V.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.77123f.2: type = pattern_type %ptr.5d0360.2 [symbolic] // CHECK:STDOUT: %Compound4.type: type = fn_type @Compound4 [concrete] // CHECK:STDOUT: %Compound4: %Compound4.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.68d708.2: = require_complete_type %V.as_type [symbolic] -// CHECK:STDOUT: %require_complete.4e49c7.2: = require_complete_type %ptr.1d0230.2 [symbolic] -// CHECK:STDOUT: %L1.lookup_impl_witness.2ed6bb.2: = lookup_impl_witness %V, @L1 [symbolic] -// CHECK:STDOUT: %L1.WithSelf.R1.type.4eb2d4.2: type = fn_type @L1.WithSelf.R1, @L1.WithSelf(%V) [symbolic] -// CHECK:STDOUT: %L1.WithSelf.R1.576f6f.2: %L1.WithSelf.R1.type.4eb2d4.2 = struct_value () [symbolic] -// CHECK:STDOUT: %L1.WithSelf.S1.type.ed6aab.2: type = fn_type @L1.WithSelf.S1, @L1.WithSelf(%V) [symbolic] -// CHECK:STDOUT: %L1.WithSelf.S1.59fa62.2: %L1.WithSelf.S1.type.ed6aab.2 = struct_value () [symbolic] -// CHECK:STDOUT: %.102085.2: type = fn_type_with_self_type %L1.WithSelf.R1.type.4eb2d4.2, %V [symbolic] -// CHECK:STDOUT: %impl.elem0.c1aec0.2: %.102085.2 = impl_witness_access %L1.lookup_impl_witness.2ed6bb.2, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.f504fe.2: = specific_impl_function %impl.elem0.c1aec0.2, @L1.WithSelf.R1(%V) [symbolic] -// CHECK:STDOUT: %.8d1ef4.2: type = fn_type_with_self_type %L1.WithSelf.S1.type.ed6aab.2, %V [symbolic] -// CHECK:STDOUT: %impl.elem1.abc984.2: %.8d1ef4.2 = impl_witness_access %L1.lookup_impl_witness.2ed6bb.2, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.234f54.2: = specific_impl_function %impl.elem1.abc984.2, @L1.WithSelf.S1(%V) [symbolic] +// CHECK:STDOUT: %require_complete.66b562.2: = require_complete_type %V.as_type [symbolic] +// CHECK:STDOUT: %require_complete.0473f9.2: = require_complete_type %ptr.5d0360.2 [symbolic] +// CHECK:STDOUT: %L1.lookup_impl_witness.53b4ff.2: = lookup_impl_witness %V, @L1 [symbolic] +// CHECK:STDOUT: %L1.WithSelf.R1.type.c49ec5.2: type = fn_type @L1.WithSelf.R1, @L1.WithSelf(%V) [symbolic] +// CHECK:STDOUT: %L1.WithSelf.R1.15cca7.2: %L1.WithSelf.R1.type.c49ec5.2 = struct_value () [symbolic] +// CHECK:STDOUT: %L1.WithSelf.S1.type.cdb9c6.2: type = fn_type @L1.WithSelf.S1, @L1.WithSelf(%V) [symbolic] +// CHECK:STDOUT: %L1.WithSelf.S1.25e76e.2: %L1.WithSelf.S1.type.cdb9c6.2 = struct_value () [symbolic] +// CHECK:STDOUT: %.17ad0e.2: type = fn_type_with_self_type %L1.WithSelf.R1.type.c49ec5.2, %V [symbolic] +// CHECK:STDOUT: %impl.elem0.769162.2: %.17ad0e.2 = impl_witness_access %L1.lookup_impl_witness.53b4ff.2, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.3b2324.2: = specific_impl_function %impl.elem0.769162.2, @L1.WithSelf.R1(%V) [symbolic] +// CHECK:STDOUT: %.9361f0.2: type = fn_type_with_self_type %L1.WithSelf.S1.type.cdb9c6.2, %V [symbolic] +// CHECK:STDOUT: %impl.elem1.8b6b4a.2: %.9361f0.2 = impl_witness_access %L1.lookup_impl_witness.53b4ff.2, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.f35db6.2: = specific_impl_function %impl.elem1.8b6b4a.2, @L1.WithSelf.S1(%V) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -779,11 +779,11 @@ fn Works() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %L1.decl: type = interface_decl @L1 [concrete = constants.%L1.type] {} {} // CHECK:STDOUT: %Simple4.decl: %Simple4.type = fn_decl @Simple4 [concrete = constants.%Simple4] { -// CHECK:STDOUT: %T.patt: %pattern_type.7f5 = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %x.param_patt: @Simple4.%pattern_type.loc9_21 (%pattern_type.fe0efb.1) = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: @Simple4.%pattern_type.loc9_21 (%pattern_type.fe0efb.1) = at_binding_pattern x, %x.param_patt [concrete] -// CHECK:STDOUT: %p.param_patt: @Simple4.%pattern_type.loc9_27 (%pattern_type.357d4f.1) = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: @Simple4.%pattern_type.loc9_27 (%pattern_type.357d4f.1) = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.144 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %x.param_patt: @Simple4.%pattern_type.loc9_21 (%pattern_type.34d8e7.1) = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: @Simple4.%pattern_type.loc9_21 (%pattern_type.34d8e7.1) = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %p.param_patt: @Simple4.%pattern_type.loc9_27 (%pattern_type.77123f.1) = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: @Simple4.%pattern_type.loc9_27 (%pattern_type.77123f.1) = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc9_16: type = splice_block %L1.ref [concrete = constants.%L1.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -797,21 +797,21 @@ fn Works() { // CHECK:STDOUT: %.loc9_23.2: type = converted %T.ref.loc9_23, %T.as_type.loc9_23.2 [symbolic = %T.as_type.loc9_23.1 (constants.%T.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: %x: @Simple4.%T.as_type.loc9_23.1 (%T.as_type) = value_binding x, %x.param -// CHECK:STDOUT: %p.param: @Simple4.%ptr.loc9_30.1 (%ptr.1d0230.1) = value_param call_param1 -// CHECK:STDOUT: %.loc9_30.1: type = splice_block %ptr.loc9_30.2 [symbolic = %ptr.loc9_30.1 (constants.%ptr.1d0230.1)] { +// CHECK:STDOUT: %p.param: @Simple4.%ptr.loc9_30.1 (%ptr.5d0360.1) = value_param call_param1 +// CHECK:STDOUT: %.loc9_30.1: type = splice_block %ptr.loc9_30.2 [symbolic = %ptr.loc9_30.1 (constants.%ptr.5d0360.1)] { // CHECK:STDOUT: %T.ref.loc9_29: %L1.type = name_ref T, %T.loc9_13.2 [symbolic = %T.loc9_13.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc9_30: type = facet_access_type %T.ref.loc9_29 [symbolic = %T.as_type.loc9_23.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc9_30.2: type = converted %T.ref.loc9_29, %T.as_type.loc9_30 [symbolic = %T.as_type.loc9_23.1 (constants.%T.as_type)] -// CHECK:STDOUT: %ptr.loc9_30.2: type = ptr_type %.loc9_30.2 [symbolic = %ptr.loc9_30.1 (constants.%ptr.1d0230.1)] +// CHECK:STDOUT: %ptr.loc9_30.2: type = ptr_type %.loc9_30.2 [symbolic = %ptr.loc9_30.1 (constants.%ptr.5d0360.1)] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: @Simple4.%ptr.loc9_30.1 (%ptr.1d0230.1) = value_binding p, %p.param +// CHECK:STDOUT: %p: @Simple4.%ptr.loc9_30.1 (%ptr.5d0360.1) = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: %Compound4.decl: %Compound4.type = fn_decl @Compound4 [concrete = constants.%Compound4] { -// CHECK:STDOUT: %V.patt: %pattern_type.7f5 = symbolic_binding_pattern V, 0 [concrete] -// CHECK:STDOUT: %y.param_patt: @Compound4.%pattern_type.loc15_23 (%pattern_type.fe0efb.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %y.patt: @Compound4.%pattern_type.loc15_23 (%pattern_type.fe0efb.2) = at_binding_pattern y, %y.param_patt [concrete] -// CHECK:STDOUT: %p.param_patt: @Compound4.%pattern_type.loc15_29 (%pattern_type.357d4f.2) = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: @Compound4.%pattern_type.loc15_29 (%pattern_type.357d4f.2) = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %V.patt: %pattern_type.144 = symbolic_binding_pattern V, 0 [concrete] +// CHECK:STDOUT: %y.param_patt: @Compound4.%pattern_type.loc15_23 (%pattern_type.34d8e7.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %y.patt: @Compound4.%pattern_type.loc15_23 (%pattern_type.34d8e7.2) = at_binding_pattern y, %y.param_patt [concrete] +// CHECK:STDOUT: %p.param_patt: @Compound4.%pattern_type.loc15_29 (%pattern_type.77123f.2) = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: @Compound4.%pattern_type.loc15_29 (%pattern_type.77123f.2) = at_binding_pattern p, %p.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15_18: type = splice_block %L1.ref.loc15 [concrete = constants.%L1.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -825,14 +825,14 @@ fn Works() { // CHECK:STDOUT: %.loc15_25.2: type = converted %V.ref.loc15_25, %V.as_type.loc15_25.2 [symbolic = %V.as_type.loc15_25.1 (constants.%V.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: %y: @Compound4.%V.as_type.loc15_25.1 (%V.as_type) = value_binding y, %y.param -// CHECK:STDOUT: %p.param: @Compound4.%ptr.loc15_32.1 (%ptr.1d0230.2) = value_param call_param1 -// CHECK:STDOUT: %.loc15_32.1: type = splice_block %ptr.loc15_32.2 [symbolic = %ptr.loc15_32.1 (constants.%ptr.1d0230.2)] { +// CHECK:STDOUT: %p.param: @Compound4.%ptr.loc15_32.1 (%ptr.5d0360.2) = value_param call_param1 +// CHECK:STDOUT: %.loc15_32.1: type = splice_block %ptr.loc15_32.2 [symbolic = %ptr.loc15_32.1 (constants.%ptr.5d0360.2)] { // CHECK:STDOUT: %V.ref.loc15_31: %L1.type = name_ref V, %V.loc15_15.2 [symbolic = %V.loc15_15.1 (constants.%V)] // CHECK:STDOUT: %V.as_type.loc15_32: type = facet_access_type %V.ref.loc15_31 [symbolic = %V.as_type.loc15_25.1 (constants.%V.as_type)] // CHECK:STDOUT: %.loc15_32.2: type = converted %V.ref.loc15_31, %V.as_type.loc15_32 [symbolic = %V.as_type.loc15_25.1 (constants.%V.as_type)] -// CHECK:STDOUT: %ptr.loc15_32.2: type = ptr_type %.loc15_32.2 [symbolic = %ptr.loc15_32.1 (constants.%ptr.1d0230.2)] +// CHECK:STDOUT: %ptr.loc15_32.2: type = ptr_type %.loc15_32.2 [symbolic = %ptr.loc15_32.1 (constants.%ptr.5d0360.2)] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: @Compound4.%ptr.loc15_32.1 (%ptr.1d0230.2) = value_binding p, %p.param +// CHECK:STDOUT: %p: @Compound4.%ptr.loc15_32.1 (%ptr.5d0360.2) = value_binding p, %p.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -841,9 +841,9 @@ fn Works() { // CHECK:STDOUT: %L1.WithSelf.decl = interface_with_self_decl @L1 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %L1.WithSelf.R1.decl: @L1.WithSelf.%L1.WithSelf.R1.type (%L1.WithSelf.R1.type.d64) = fn_decl @L1.WithSelf.R1 [symbolic = @L1.WithSelf.%L1.WithSelf.R1 (constants.%L1.WithSelf.R1.471)] { -// CHECK:STDOUT: %self.param_patt: @L1.WithSelf.R1.%pattern_type (%pattern_type.987) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @L1.WithSelf.R1.%pattern_type (%pattern_type.987) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %L1.WithSelf.R1.decl: @L1.WithSelf.%L1.WithSelf.R1.type (%L1.WithSelf.R1.type.5a7) = fn_decl @L1.WithSelf.R1 [symbolic = @L1.WithSelf.%L1.WithSelf.R1 (constants.%L1.WithSelf.R1.ef2)] { +// CHECK:STDOUT: %self.param_patt: @L1.WithSelf.R1.%pattern_type (%pattern_type.02d) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @L1.WithSelf.R1.%pattern_type (%pattern_type.02d) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @L1.WithSelf.R1.%Self.as_type.loc4_15.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc4_15.1: type = splice_block %.loc4_15.2 [symbolic = %Self.as_type.loc4_15.1 (constants.%Self.as_type)] { @@ -854,9 +854,9 @@ fn Works() { // CHECK:STDOUT: %self: @L1.WithSelf.R1.%Self.as_type.loc4_15.1 (%Self.as_type) = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %assoc0: %L1.assoc_type = assoc_entity element0, %L1.WithSelf.R1.decl [concrete = constants.%assoc0] -// CHECK:STDOUT: %L1.WithSelf.S1.decl: @L1.WithSelf.%L1.WithSelf.S1.type (%L1.WithSelf.S1.type.032) = fn_decl @L1.WithSelf.S1 [symbolic = @L1.WithSelf.%L1.WithSelf.S1 (constants.%L1.WithSelf.S1.28d)] { -// CHECK:STDOUT: %self.param_patt: @L1.WithSelf.S1.%pattern_type (%pattern_type.987) = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @L1.WithSelf.S1.%pattern_type (%pattern_type.987) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %L1.WithSelf.S1.decl: @L1.WithSelf.%L1.WithSelf.S1.type (%L1.WithSelf.S1.type.d7d) = fn_decl @L1.WithSelf.S1 [symbolic = @L1.WithSelf.%L1.WithSelf.S1 (constants.%L1.WithSelf.S1.a7e)] { +// CHECK:STDOUT: %self.param_patt: @L1.WithSelf.S1.%pattern_type (%pattern_type.02d) = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @L1.WithSelf.S1.%pattern_type (%pattern_type.02d) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: ref @L1.WithSelf.S1.%Self.as_type.loc5_19.1 (%Self.as_type) = ref_param call_param0 // CHECK:STDOUT: %.loc5_19.1: type = splice_block %.loc5_19.2 [symbolic = %Self.as_type.loc5_19.1 (constants.%Self.as_type)] { @@ -880,7 +880,7 @@ fn Works() { // CHECK:STDOUT: generic fn @L1.WithSelf.R1(@L1.%Self: %L1.type) { // CHECK:STDOUT: %Self: %L1.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc4_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc4_15.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc4_15.1 [symbolic = %pattern_type (constants.%pattern_type.987)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc4_15.1 [symbolic = %pattern_type (constants.%pattern_type.02d)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @L1.WithSelf.R1.%Self.as_type.loc4_15.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -888,7 +888,7 @@ fn Works() { // CHECK:STDOUT: generic fn @L1.WithSelf.S1(@L1.%Self: %L1.type) { // CHECK:STDOUT: %Self: %L1.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_19.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_19.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_19.1 [symbolic = %pattern_type (constants.%pattern_type.987)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_19.1 [symbolic = %pattern_type (constants.%pattern_type.02d)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: ref @L1.WithSelf.S1.%Self.as_type.loc5_19.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -896,38 +896,38 @@ fn Works() { // CHECK:STDOUT: generic fn @Simple4(%T.loc9_13.2: %L1.type) { // CHECK:STDOUT: %T.loc9_13.1: %L1.type = symbolic_binding T, 0 [symbolic = %T.loc9_13.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc9_23.1: type = facet_access_type %T.loc9_13.1 [symbolic = %T.as_type.loc9_23.1 (constants.%T.as_type)] -// CHECK:STDOUT: %pattern_type.loc9_21: type = pattern_type %T.as_type.loc9_23.1 [symbolic = %pattern_type.loc9_21 (constants.%pattern_type.fe0efb.1)] -// CHECK:STDOUT: %ptr.loc9_30.1: type = ptr_type %T.as_type.loc9_23.1 [symbolic = %ptr.loc9_30.1 (constants.%ptr.1d0230.1)] -// CHECK:STDOUT: %pattern_type.loc9_27: type = pattern_type %ptr.loc9_30.1 [symbolic = %pattern_type.loc9_27 (constants.%pattern_type.357d4f.1)] +// CHECK:STDOUT: %pattern_type.loc9_21: type = pattern_type %T.as_type.loc9_23.1 [symbolic = %pattern_type.loc9_21 (constants.%pattern_type.34d8e7.1)] +// CHECK:STDOUT: %ptr.loc9_30.1: type = ptr_type %T.as_type.loc9_23.1 [symbolic = %ptr.loc9_30.1 (constants.%ptr.5d0360.1)] +// CHECK:STDOUT: %pattern_type.loc9_27: type = pattern_type %ptr.loc9_30.1 [symbolic = %pattern_type.loc9_27 (constants.%pattern_type.77123f.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc9_21: = require_complete_type %T.as_type.loc9_23.1 [symbolic = %require_complete.loc9_21 (constants.%require_complete.68d708.1)] -// CHECK:STDOUT: %require_complete.loc9_27: = require_complete_type %ptr.loc9_30.1 [symbolic = %require_complete.loc9_27 (constants.%require_complete.4e49c7.1)] -// CHECK:STDOUT: %L1.WithSelf.R1.type: type = fn_type @L1.WithSelf.R1, @L1.WithSelf(%T.loc9_13.1) [symbolic = %L1.WithSelf.R1.type (constants.%L1.WithSelf.R1.type.4eb2d4.1)] -// CHECK:STDOUT: %.loc10: type = fn_type_with_self_type %L1.WithSelf.R1.type, %T.loc9_13.1 [symbolic = %.loc10 (constants.%.102085.1)] -// CHECK:STDOUT: %L1.lookup_impl_witness: = lookup_impl_witness %T.loc9_13.1, @L1 [symbolic = %L1.lookup_impl_witness (constants.%L1.lookup_impl_witness.2ed6bb.1)] -// CHECK:STDOUT: %impl.elem0.loc10_4.2: @Simple4.%.loc10 (%.102085.1) = impl_witness_access %L1.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_4.2 (constants.%impl.elem0.c1aec0.1)] -// CHECK:STDOUT: %specific_impl_fn.loc10_4.2: = specific_impl_function %impl.elem0.loc10_4.2, @L1.WithSelf.R1(%T.loc9_13.1) [symbolic = %specific_impl_fn.loc10_4.2 (constants.%specific_impl_fn.f504fe.1)] -// CHECK:STDOUT: %L1.WithSelf.S1.type: type = fn_type @L1.WithSelf.S1, @L1.WithSelf(%T.loc9_13.1) [symbolic = %L1.WithSelf.S1.type (constants.%L1.WithSelf.S1.type.ed6aab.1)] -// CHECK:STDOUT: %.loc11_4.2: type = fn_type_with_self_type %L1.WithSelf.S1.type, %T.loc9_13.1 [symbolic = %.loc11_4.2 (constants.%.8d1ef4.1)] -// CHECK:STDOUT: %impl.elem1.loc11_4.2: @Simple4.%.loc11_4.2 (%.8d1ef4.1) = impl_witness_access %L1.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc11_4.2 (constants.%impl.elem1.abc984.1)] -// CHECK:STDOUT: %specific_impl_fn.loc11_4.2: = specific_impl_function %impl.elem1.loc11_4.2, @L1.WithSelf.S1(%T.loc9_13.1) [symbolic = %specific_impl_fn.loc11_4.2 (constants.%specific_impl_fn.234f54.1)] +// CHECK:STDOUT: %require_complete.loc9_21: = require_complete_type %T.as_type.loc9_23.1 [symbolic = %require_complete.loc9_21 (constants.%require_complete.66b562.1)] +// CHECK:STDOUT: %require_complete.loc9_27: = require_complete_type %ptr.loc9_30.1 [symbolic = %require_complete.loc9_27 (constants.%require_complete.0473f9.1)] +// CHECK:STDOUT: %L1.WithSelf.R1.type: type = fn_type @L1.WithSelf.R1, @L1.WithSelf(%T.loc9_13.1) [symbolic = %L1.WithSelf.R1.type (constants.%L1.WithSelf.R1.type.c49ec5.1)] +// CHECK:STDOUT: %.loc10: type = fn_type_with_self_type %L1.WithSelf.R1.type, %T.loc9_13.1 [symbolic = %.loc10 (constants.%.17ad0e.1)] +// CHECK:STDOUT: %L1.lookup_impl_witness: = lookup_impl_witness %T.loc9_13.1, @L1 [symbolic = %L1.lookup_impl_witness (constants.%L1.lookup_impl_witness.53b4ff.1)] +// CHECK:STDOUT: %impl.elem0.loc10_4.2: @Simple4.%.loc10 (%.17ad0e.1) = impl_witness_access %L1.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc10_4.2 (constants.%impl.elem0.769162.1)] +// CHECK:STDOUT: %specific_impl_fn.loc10_4.2: = specific_impl_function %impl.elem0.loc10_4.2, @L1.WithSelf.R1(%T.loc9_13.1) [symbolic = %specific_impl_fn.loc10_4.2 (constants.%specific_impl_fn.3b2324.1)] +// CHECK:STDOUT: %L1.WithSelf.S1.type: type = fn_type @L1.WithSelf.S1, @L1.WithSelf(%T.loc9_13.1) [symbolic = %L1.WithSelf.S1.type (constants.%L1.WithSelf.S1.type.cdb9c6.1)] +// CHECK:STDOUT: %.loc11_4.2: type = fn_type_with_self_type %L1.WithSelf.S1.type, %T.loc9_13.1 [symbolic = %.loc11_4.2 (constants.%.9361f0.1)] +// CHECK:STDOUT: %impl.elem1.loc11_4.2: @Simple4.%.loc11_4.2 (%.9361f0.1) = impl_witness_access %L1.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc11_4.2 (constants.%impl.elem1.8b6b4a.1)] +// CHECK:STDOUT: %specific_impl_fn.loc11_4.2: = specific_impl_function %impl.elem1.loc11_4.2, @L1.WithSelf.S1(%T.loc9_13.1) [symbolic = %specific_impl_fn.loc11_4.2 (constants.%specific_impl_fn.f35db6.1)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @Simple4.%T.as_type.loc9_23.1 (%T.as_type), %p.param: @Simple4.%ptr.loc9_30.1 (%ptr.1d0230.1)) { +// CHECK:STDOUT: fn(%x.param: @Simple4.%T.as_type.loc9_23.1 (%T.as_type), %p.param: @Simple4.%ptr.loc9_30.1 (%ptr.5d0360.1)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: @Simple4.%T.as_type.loc9_23.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %R1.ref: %L1.assoc_type = name_ref R1, @L1.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc10_4.1: @Simple4.%.loc10 (%.102085.1) = impl_witness_access constants.%L1.lookup_impl_witness.2ed6bb.1, element0 [symbolic = %impl.elem0.loc10_4.2 (constants.%impl.elem0.c1aec0.1)] +// CHECK:STDOUT: %impl.elem0.loc10_4.1: @Simple4.%.loc10 (%.17ad0e.1) = impl_witness_access constants.%L1.lookup_impl_witness.53b4ff.1, element0 [symbolic = %impl.elem0.loc10_4.2 (constants.%impl.elem0.769162.1)] // CHECK:STDOUT: %bound_method.loc10_4: = bound_method %x.ref, %impl.elem0.loc10_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc10_4.1: = specific_impl_function %impl.elem0.loc10_4.1, @L1.WithSelf.R1(constants.%T) [symbolic = %specific_impl_fn.loc10_4.2 (constants.%specific_impl_fn.f504fe.1)] +// CHECK:STDOUT: %specific_impl_fn.loc10_4.1: = specific_impl_function %impl.elem0.loc10_4.1, @L1.WithSelf.R1(constants.%T) [symbolic = %specific_impl_fn.loc10_4.2 (constants.%specific_impl_fn.3b2324.1)] // CHECK:STDOUT: %bound_method.loc10_8: = bound_method %x.ref, %specific_impl_fn.loc10_4.1 // CHECK:STDOUT: %L1.WithSelf.R1.call: init %empty_tuple.type = call %bound_method.loc10_8(%x.ref) -// CHECK:STDOUT: %p.ref: @Simple4.%ptr.loc9_30.1 (%ptr.1d0230.1) = name_ref p, %p +// CHECK:STDOUT: %p.ref: @Simple4.%ptr.loc9_30.1 (%ptr.5d0360.1) = name_ref p, %p // CHECK:STDOUT: %.loc11_4.1: ref @Simple4.%T.as_type.loc9_23.1 (%T.as_type) = deref %p.ref // CHECK:STDOUT: %S1.ref: %L1.assoc_type = name_ref S1, @L1.WithSelf.%assoc1 [concrete = constants.%assoc1] -// CHECK:STDOUT: %impl.elem1.loc11_4.1: @Simple4.%.loc11_4.2 (%.8d1ef4.1) = impl_witness_access constants.%L1.lookup_impl_witness.2ed6bb.1, element1 [symbolic = %impl.elem1.loc11_4.2 (constants.%impl.elem1.abc984.1)] +// CHECK:STDOUT: %impl.elem1.loc11_4.1: @Simple4.%.loc11_4.2 (%.9361f0.1) = impl_witness_access constants.%L1.lookup_impl_witness.53b4ff.1, element1 [symbolic = %impl.elem1.loc11_4.2 (constants.%impl.elem1.8b6b4a.1)] // CHECK:STDOUT: %bound_method.loc11_4: = bound_method %.loc11_4.1, %impl.elem1.loc11_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc11_4.1: = specific_impl_function %impl.elem1.loc11_4.1, @L1.WithSelf.S1(constants.%T) [symbolic = %specific_impl_fn.loc11_4.2 (constants.%specific_impl_fn.234f54.1)] +// CHECK:STDOUT: %specific_impl_fn.loc11_4.1: = specific_impl_function %impl.elem1.loc11_4.1, @L1.WithSelf.S1(constants.%T) [symbolic = %specific_impl_fn.loc11_4.2 (constants.%specific_impl_fn.f35db6.1)] // CHECK:STDOUT: %bound_method.loc11_9: = bound_method %.loc11_4.1, %specific_impl_fn.loc11_4.1 // CHECK:STDOUT: %L1.WithSelf.S1.call: init %empty_tuple.type = call %bound_method.loc11_9(%.loc11_4.1) // CHECK:STDOUT: return @@ -937,40 +937,40 @@ fn Works() { // CHECK:STDOUT: generic fn @Compound4(%V.loc15_15.2: %L1.type) { // CHECK:STDOUT: %V.loc15_15.1: %L1.type = symbolic_binding V, 0 [symbolic = %V.loc15_15.1 (constants.%V)] // CHECK:STDOUT: %V.as_type.loc15_25.1: type = facet_access_type %V.loc15_15.1 [symbolic = %V.as_type.loc15_25.1 (constants.%V.as_type)] -// CHECK:STDOUT: %pattern_type.loc15_23: type = pattern_type %V.as_type.loc15_25.1 [symbolic = %pattern_type.loc15_23 (constants.%pattern_type.fe0efb.2)] -// CHECK:STDOUT: %ptr.loc15_32.1: type = ptr_type %V.as_type.loc15_25.1 [symbolic = %ptr.loc15_32.1 (constants.%ptr.1d0230.2)] -// CHECK:STDOUT: %pattern_type.loc15_29: type = pattern_type %ptr.loc15_32.1 [symbolic = %pattern_type.loc15_29 (constants.%pattern_type.357d4f.2)] +// CHECK:STDOUT: %pattern_type.loc15_23: type = pattern_type %V.as_type.loc15_25.1 [symbolic = %pattern_type.loc15_23 (constants.%pattern_type.34d8e7.2)] +// CHECK:STDOUT: %ptr.loc15_32.1: type = ptr_type %V.as_type.loc15_25.1 [symbolic = %ptr.loc15_32.1 (constants.%ptr.5d0360.2)] +// CHECK:STDOUT: %pattern_type.loc15_29: type = pattern_type %ptr.loc15_32.1 [symbolic = %pattern_type.loc15_29 (constants.%pattern_type.77123f.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc15_23: = require_complete_type %V.as_type.loc15_25.1 [symbolic = %require_complete.loc15_23 (constants.%require_complete.68d708.2)] -// CHECK:STDOUT: %require_complete.loc15_29: = require_complete_type %ptr.loc15_32.1 [symbolic = %require_complete.loc15_29 (constants.%require_complete.4e49c7.2)] -// CHECK:STDOUT: %L1.WithSelf.R1.type: type = fn_type @L1.WithSelf.R1, @L1.WithSelf(%V.loc15_15.1) [symbolic = %L1.WithSelf.R1.type (constants.%L1.WithSelf.R1.type.4eb2d4.2)] -// CHECK:STDOUT: %.loc16: type = fn_type_with_self_type %L1.WithSelf.R1.type, %V.loc15_15.1 [symbolic = %.loc16 (constants.%.102085.2)] -// CHECK:STDOUT: %L1.lookup_impl_witness: = lookup_impl_witness %V.loc15_15.1, @L1 [symbolic = %L1.lookup_impl_witness (constants.%L1.lookup_impl_witness.2ed6bb.2)] -// CHECK:STDOUT: %impl.elem0.loc16_4.2: @Compound4.%.loc16 (%.102085.2) = impl_witness_access %L1.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.c1aec0.2)] -// CHECK:STDOUT: %specific_impl_fn.loc16_4.2: = specific_impl_function %impl.elem0.loc16_4.2, @L1.WithSelf.R1(%V.loc15_15.1) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.f504fe.2)] -// CHECK:STDOUT: %L1.WithSelf.S1.type: type = fn_type @L1.WithSelf.S1, @L1.WithSelf(%V.loc15_15.1) [symbolic = %L1.WithSelf.S1.type (constants.%L1.WithSelf.S1.type.ed6aab.2)] -// CHECK:STDOUT: %.loc17_4.2: type = fn_type_with_self_type %L1.WithSelf.S1.type, %V.loc15_15.1 [symbolic = %.loc17_4.2 (constants.%.8d1ef4.2)] -// CHECK:STDOUT: %impl.elem1.loc17_4.2: @Compound4.%.loc17_4.2 (%.8d1ef4.2) = impl_witness_access %L1.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc17_4.2 (constants.%impl.elem1.abc984.2)] -// CHECK:STDOUT: %specific_impl_fn.loc17_4.2: = specific_impl_function %impl.elem1.loc17_4.2, @L1.WithSelf.S1(%V.loc15_15.1) [symbolic = %specific_impl_fn.loc17_4.2 (constants.%specific_impl_fn.234f54.2)] +// CHECK:STDOUT: %require_complete.loc15_23: = require_complete_type %V.as_type.loc15_25.1 [symbolic = %require_complete.loc15_23 (constants.%require_complete.66b562.2)] +// CHECK:STDOUT: %require_complete.loc15_29: = require_complete_type %ptr.loc15_32.1 [symbolic = %require_complete.loc15_29 (constants.%require_complete.0473f9.2)] +// CHECK:STDOUT: %L1.WithSelf.R1.type: type = fn_type @L1.WithSelf.R1, @L1.WithSelf(%V.loc15_15.1) [symbolic = %L1.WithSelf.R1.type (constants.%L1.WithSelf.R1.type.c49ec5.2)] +// CHECK:STDOUT: %.loc16: type = fn_type_with_self_type %L1.WithSelf.R1.type, %V.loc15_15.1 [symbolic = %.loc16 (constants.%.17ad0e.2)] +// CHECK:STDOUT: %L1.lookup_impl_witness: = lookup_impl_witness %V.loc15_15.1, @L1 [symbolic = %L1.lookup_impl_witness (constants.%L1.lookup_impl_witness.53b4ff.2)] +// CHECK:STDOUT: %impl.elem0.loc16_4.2: @Compound4.%.loc16 (%.17ad0e.2) = impl_witness_access %L1.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.769162.2)] +// CHECK:STDOUT: %specific_impl_fn.loc16_4.2: = specific_impl_function %impl.elem0.loc16_4.2, @L1.WithSelf.R1(%V.loc15_15.1) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.3b2324.2)] +// CHECK:STDOUT: %L1.WithSelf.S1.type: type = fn_type @L1.WithSelf.S1, @L1.WithSelf(%V.loc15_15.1) [symbolic = %L1.WithSelf.S1.type (constants.%L1.WithSelf.S1.type.cdb9c6.2)] +// CHECK:STDOUT: %.loc17_4.2: type = fn_type_with_self_type %L1.WithSelf.S1.type, %V.loc15_15.1 [symbolic = %.loc17_4.2 (constants.%.9361f0.2)] +// CHECK:STDOUT: %impl.elem1.loc17_4.2: @Compound4.%.loc17_4.2 (%.9361f0.2) = impl_witness_access %L1.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc17_4.2 (constants.%impl.elem1.8b6b4a.2)] +// CHECK:STDOUT: %specific_impl_fn.loc17_4.2: = specific_impl_function %impl.elem1.loc17_4.2, @L1.WithSelf.S1(%V.loc15_15.1) [symbolic = %specific_impl_fn.loc17_4.2 (constants.%specific_impl_fn.f35db6.2)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%y.param: @Compound4.%V.as_type.loc15_25.1 (%V.as_type), %p.param: @Compound4.%ptr.loc15_32.1 (%ptr.1d0230.2)) { +// CHECK:STDOUT: fn(%y.param: @Compound4.%V.as_type.loc15_25.1 (%V.as_type), %p.param: @Compound4.%ptr.loc15_32.1 (%ptr.5d0360.2)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %y.ref: @Compound4.%V.as_type.loc15_25.1 (%V.as_type) = name_ref y, %y // CHECK:STDOUT: %L1.ref.loc16: type = name_ref L1, file.%L1.decl [concrete = constants.%L1.type] // CHECK:STDOUT: %R1.ref: %L1.assoc_type = name_ref R1, @L1.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc16_4.1: @Compound4.%.loc16 (%.102085.2) = impl_witness_access constants.%L1.lookup_impl_witness.2ed6bb.2, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.c1aec0.2)] +// CHECK:STDOUT: %impl.elem0.loc16_4.1: @Compound4.%.loc16 (%.17ad0e.2) = impl_witness_access constants.%L1.lookup_impl_witness.53b4ff.2, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.769162.2)] // CHECK:STDOUT: %bound_method.loc16_4: = bound_method %y.ref, %impl.elem0.loc16_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc16_4.1: = specific_impl_function %impl.elem0.loc16_4.1, @L1.WithSelf.R1(constants.%V) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.f504fe.2)] +// CHECK:STDOUT: %specific_impl_fn.loc16_4.1: = specific_impl_function %impl.elem0.loc16_4.1, @L1.WithSelf.R1(constants.%V) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.3b2324.2)] // CHECK:STDOUT: %bound_method.loc16_13: = bound_method %y.ref, %specific_impl_fn.loc16_4.1 // CHECK:STDOUT: %L1.WithSelf.R1.call: init %empty_tuple.type = call %bound_method.loc16_13(%y.ref) -// CHECK:STDOUT: %p.ref: @Compound4.%ptr.loc15_32.1 (%ptr.1d0230.2) = name_ref p, %p +// CHECK:STDOUT: %p.ref: @Compound4.%ptr.loc15_32.1 (%ptr.5d0360.2) = name_ref p, %p // CHECK:STDOUT: %L1.ref.loc17: type = name_ref L1, file.%L1.decl [concrete = constants.%L1.type] // CHECK:STDOUT: %S1.ref: %L1.assoc_type = name_ref S1, @L1.WithSelf.%assoc1 [concrete = constants.%assoc1] // CHECK:STDOUT: %.loc17_4.1: ref @Compound4.%V.as_type.loc15_25.1 (%V.as_type) = deref %p.ref -// CHECK:STDOUT: %impl.elem1.loc17_4.1: @Compound4.%.loc17_4.2 (%.8d1ef4.2) = impl_witness_access constants.%L1.lookup_impl_witness.2ed6bb.2, element1 [symbolic = %impl.elem1.loc17_4.2 (constants.%impl.elem1.abc984.2)] +// CHECK:STDOUT: %impl.elem1.loc17_4.1: @Compound4.%.loc17_4.2 (%.9361f0.2) = impl_witness_access constants.%L1.lookup_impl_witness.53b4ff.2, element1 [symbolic = %impl.elem1.loc17_4.2 (constants.%impl.elem1.8b6b4a.2)] // CHECK:STDOUT: %bound_method.loc17_4: = bound_method %.loc17_4.1, %impl.elem1.loc17_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc17_4.1: = specific_impl_function %impl.elem1.loc17_4.1, @L1.WithSelf.S1(constants.%V) [symbolic = %specific_impl_fn.loc17_4.2 (constants.%specific_impl_fn.234f54.2)] +// CHECK:STDOUT: %specific_impl_fn.loc17_4.1: = specific_impl_function %impl.elem1.loc17_4.1, @L1.WithSelf.S1(constants.%V) [symbolic = %specific_impl_fn.loc17_4.2 (constants.%specific_impl_fn.f35db6.2)] // CHECK:STDOUT: %bound_method.loc17_14: = bound_method %.loc17_4.1, %specific_impl_fn.loc17_4.1 // CHECK:STDOUT: %L1.WithSelf.S1.call: init %empty_tuple.type = call %bound_method.loc17_14(%.loc17_4.1) // CHECK:STDOUT: return @@ -980,80 +980,80 @@ fn Works() { // CHECK:STDOUT: specific @L1.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %L1.WithSelf.R1.type => constants.%L1.WithSelf.R1.type.d64 -// CHECK:STDOUT: %L1.WithSelf.R1 => constants.%L1.WithSelf.R1.471 -// CHECK:STDOUT: %L1.WithSelf.S1.type => constants.%L1.WithSelf.S1.type.032 -// CHECK:STDOUT: %L1.WithSelf.S1 => constants.%L1.WithSelf.S1.28d +// CHECK:STDOUT: %L1.WithSelf.R1.type => constants.%L1.WithSelf.R1.type.5a7 +// CHECK:STDOUT: %L1.WithSelf.R1 => constants.%L1.WithSelf.R1.ef2 +// CHECK:STDOUT: %L1.WithSelf.S1.type => constants.%L1.WithSelf.S1.type.d7d +// CHECK:STDOUT: %L1.WithSelf.S1 => constants.%L1.WithSelf.S1.a7e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @L1.WithSelf.R1(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc4_15.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.987 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.02d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @L1.WithSelf.S1(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc5_19.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.987 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.02d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple4(constants.%T) { // CHECK:STDOUT: %T.loc9_13.1 => constants.%T // CHECK:STDOUT: %T.as_type.loc9_23.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.loc9_21 => constants.%pattern_type.fe0efb.1 -// CHECK:STDOUT: %ptr.loc9_30.1 => constants.%ptr.1d0230.1 -// CHECK:STDOUT: %pattern_type.loc9_27 => constants.%pattern_type.357d4f.1 +// CHECK:STDOUT: %pattern_type.loc9_21 => constants.%pattern_type.34d8e7.1 +// CHECK:STDOUT: %ptr.loc9_30.1 => constants.%ptr.5d0360.1 +// CHECK:STDOUT: %pattern_type.loc9_27 => constants.%pattern_type.77123f.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @L1.WithSelf(constants.%T) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %L1.WithSelf.R1.type => constants.%L1.WithSelf.R1.type.4eb2d4.1 -// CHECK:STDOUT: %L1.WithSelf.R1 => constants.%L1.WithSelf.R1.576f6f.1 -// CHECK:STDOUT: %L1.WithSelf.S1.type => constants.%L1.WithSelf.S1.type.ed6aab.1 -// CHECK:STDOUT: %L1.WithSelf.S1 => constants.%L1.WithSelf.S1.59fa62.1 +// CHECK:STDOUT: %L1.WithSelf.R1.type => constants.%L1.WithSelf.R1.type.c49ec5.1 +// CHECK:STDOUT: %L1.WithSelf.R1 => constants.%L1.WithSelf.R1.15cca7.1 +// CHECK:STDOUT: %L1.WithSelf.S1.type => constants.%L1.WithSelf.S1.type.cdb9c6.1 +// CHECK:STDOUT: %L1.WithSelf.S1 => constants.%L1.WithSelf.S1.25e76e.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @L1.WithSelf.R1(constants.%T) { // CHECK:STDOUT: %Self => constants.%T // CHECK:STDOUT: %Self.as_type.loc4_15.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.fe0efb.1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.34d8e7.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @L1.WithSelf.S1(constants.%T) { // CHECK:STDOUT: %Self => constants.%T // CHECK:STDOUT: %Self.as_type.loc5_19.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.fe0efb.1 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.34d8e7.1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Compound4(constants.%V) { // CHECK:STDOUT: %V.loc15_15.1 => constants.%V // CHECK:STDOUT: %V.as_type.loc15_25.1 => constants.%V.as_type -// CHECK:STDOUT: %pattern_type.loc15_23 => constants.%pattern_type.fe0efb.2 -// CHECK:STDOUT: %ptr.loc15_32.1 => constants.%ptr.1d0230.2 -// CHECK:STDOUT: %pattern_type.loc15_29 => constants.%pattern_type.357d4f.2 +// CHECK:STDOUT: %pattern_type.loc15_23 => constants.%pattern_type.34d8e7.2 +// CHECK:STDOUT: %ptr.loc15_32.1 => constants.%ptr.5d0360.2 +// CHECK:STDOUT: %pattern_type.loc15_29 => constants.%pattern_type.77123f.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @L1.WithSelf(constants.%V) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%V -// CHECK:STDOUT: %L1.WithSelf.R1.type => constants.%L1.WithSelf.R1.type.4eb2d4.2 -// CHECK:STDOUT: %L1.WithSelf.R1 => constants.%L1.WithSelf.R1.576f6f.2 -// CHECK:STDOUT: %L1.WithSelf.S1.type => constants.%L1.WithSelf.S1.type.ed6aab.2 -// CHECK:STDOUT: %L1.WithSelf.S1 => constants.%L1.WithSelf.S1.59fa62.2 +// CHECK:STDOUT: %L1.WithSelf.R1.type => constants.%L1.WithSelf.R1.type.c49ec5.2 +// CHECK:STDOUT: %L1.WithSelf.R1 => constants.%L1.WithSelf.R1.15cca7.2 +// CHECK:STDOUT: %L1.WithSelf.S1.type => constants.%L1.WithSelf.S1.type.cdb9c6.2 +// CHECK:STDOUT: %L1.WithSelf.S1 => constants.%L1.WithSelf.S1.25e76e.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @L1.WithSelf.R1(constants.%V) { // CHECK:STDOUT: %Self => constants.%V // CHECK:STDOUT: %Self.as_type.loc4_15.1 => constants.%V.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.fe0efb.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.34d8e7.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @L1.WithSelf.S1(constants.%V) { // CHECK:STDOUT: %Self => constants.%V // CHECK:STDOUT: %Self.as_type.loc5_19.1 => constants.%V.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.fe0efb.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.34d8e7.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_interface_instance_caller_not.carbon @@ -1062,34 +1062,34 @@ fn Works() { // CHECK:STDOUT: %L2.type: type = facet_type <@L2> [concrete] // CHECK:STDOUT: %Self: %L2.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.e01: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %L2.WithSelf.R2.type.230: type = fn_type @L2.WithSelf.R2, @L2.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %pattern_type.5c1: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %L2.WithSelf.R2.type.aa1: type = fn_type @L2.WithSelf.R2, @L2.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %L2.WithSelf.R2.6f0: %L2.WithSelf.R2.type.230 = struct_value () [symbolic] +// CHECK:STDOUT: %L2.WithSelf.R2.594: %L2.WithSelf.R2.type.aa1 = struct_value () [symbolic] // CHECK:STDOUT: %L2.assoc_type: type = assoc_entity_type @L2 [concrete] // CHECK:STDOUT: %assoc0: %L2.assoc_type = assoc_entity element0, @L2.WithSelf.%L2.WithSelf.R2.decl [concrete] -// CHECK:STDOUT: %L2.WithSelf.S2.type.8ad: type = fn_type @L2.WithSelf.S2, @L2.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %L2.WithSelf.S2.aba: %L2.WithSelf.S2.type.8ad = struct_value () [symbolic] +// CHECK:STDOUT: %L2.WithSelf.S2.type.eda: type = fn_type @L2.WithSelf.S2, @L2.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %L2.WithSelf.S2.4d0: %L2.WithSelf.S2.type.eda = struct_value () [symbolic] // CHECK:STDOUT: %assoc1: %L2.assoc_type = assoc_entity element1, @L2.WithSelf.%L2.WithSelf.S2.decl [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.573: type = pattern_type %L2.type [concrete] +// CHECK:STDOUT: %pattern_type.6c1: type = pattern_type %L2.type [concrete] // CHECK:STDOUT: %T: %L2.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Simple5.type: type = fn_type @Simple5 [concrete] // CHECK:STDOUT: %Simple5: %Simple5.type = struct_value () [concrete] -// CHECK:STDOUT: %L2.WithSelf.R2.type.32f: type = fn_type @L2.WithSelf.R2, @L2.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %L2.WithSelf.R2.f17: %L2.WithSelf.R2.type.32f = struct_value () [symbolic] -// CHECK:STDOUT: %L2.WithSelf.S2.type.ef1: type = fn_type @L2.WithSelf.S2, @L2.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %L2.WithSelf.S2.f05: %L2.WithSelf.S2.type.ef1 = struct_value () [symbolic] +// CHECK:STDOUT: %L2.WithSelf.R2.type.cd3: type = fn_type @L2.WithSelf.R2, @L2.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %L2.WithSelf.R2.a6d: %L2.WithSelf.R2.type.cd3 = struct_value () [symbolic] +// CHECK:STDOUT: %L2.WithSelf.S2.type.e93: type = fn_type @L2.WithSelf.S2, @L2.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %L2.WithSelf.S2.8b3: %L2.WithSelf.S2.type.e93 = struct_value () [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %L2.lookup_impl_witness.e34: = lookup_impl_witness %T, @L2 [symbolic] -// CHECK:STDOUT: %.823: type = fn_type_with_self_type %L2.WithSelf.R2.type.32f, %T [symbolic] -// CHECK:STDOUT: %impl.elem0: %.823 = impl_witness_access %L2.lookup_impl_witness.e34, element0 [symbolic] -// CHECK:STDOUT: %pattern_type.004: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %specific_impl_fn.676: = specific_impl_function %impl.elem0, @L2.WithSelf.R2(%T) [symbolic] -// CHECK:STDOUT: %.739: type = fn_type_with_self_type %L2.WithSelf.S2.type.ef1, %T [symbolic] -// CHECK:STDOUT: %impl.elem1: %.739 = impl_witness_access %L2.lookup_impl_witness.e34, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.5f4: = specific_impl_function %impl.elem1, @L2.WithSelf.S2(%T) [symbolic] +// CHECK:STDOUT: %L2.lookup_impl_witness.7a9: = lookup_impl_witness %T, @L2 [symbolic] +// CHECK:STDOUT: %.c1a: type = fn_type_with_self_type %L2.WithSelf.R2.type.cd3, %T [symbolic] +// CHECK:STDOUT: %impl.elem0: %.c1a = impl_witness_access %L2.lookup_impl_witness.7a9, element0 [symbolic] +// CHECK:STDOUT: %pattern_type.cd1: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %specific_impl_fn.dcc: = specific_impl_function %impl.elem0, @L2.WithSelf.R2(%T) [symbolic] +// CHECK:STDOUT: %.120: type = fn_type_with_self_type %L2.WithSelf.S2.type.e93, %T [symbolic] +// CHECK:STDOUT: %impl.elem1: %.120 = impl_witness_access %L2.lookup_impl_witness.7a9, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.843: = specific_impl_function %impl.elem1, @L2.WithSelf.S2(%T) [symbolic] // CHECK:STDOUT: %V: %L2.type = symbolic_binding V, 0 [symbolic] // CHECK:STDOUT: %Compound5.type: type = fn_type @Compound5 [concrete] // CHECK:STDOUT: %Compound5: %Compound5.type = struct_value () [concrete] @@ -1112,7 +1112,7 @@ fn Works() { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %L2.decl: type = interface_decl @L2 [concrete = constants.%L2.type] {} {} // CHECK:STDOUT: %Simple5.decl: %Simple5.type = fn_decl @Simple5 [concrete = constants.%Simple5] { -// CHECK:STDOUT: %T.patt: %pattern_type.573 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.6c1 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc10: type = splice_block %L2.ref [concrete = constants.%L2.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1121,7 +1121,7 @@ fn Works() { // CHECK:STDOUT: %T.loc10_13.2: %L2.type = symbolic_binding T, 0 [symbolic = %T.loc10_13.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: %Compound5.decl: %Compound5.type = fn_decl @Compound5 [concrete = constants.%Compound5] { -// CHECK:STDOUT: %V.patt: %pattern_type.573 = symbolic_binding_pattern V, 0 [concrete] +// CHECK:STDOUT: %V.patt: %pattern_type.6c1 = symbolic_binding_pattern V, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc30: type = splice_block %L2.ref.loc30 [concrete = constants.%L2.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -1136,9 +1136,9 @@ fn Works() { // CHECK:STDOUT: %L2.WithSelf.decl = interface_with_self_decl @L2 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %L2.WithSelf.R2.decl: @L2.WithSelf.%L2.WithSelf.R2.type (%L2.WithSelf.R2.type.230) = fn_decl @L2.WithSelf.R2 [symbolic = @L2.WithSelf.%L2.WithSelf.R2 (constants.%L2.WithSelf.R2.6f0)] { -// CHECK:STDOUT: %self.param_patt: @L2.WithSelf.R2.%pattern_type (%pattern_type.e01) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @L2.WithSelf.R2.%pattern_type (%pattern_type.e01) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %L2.WithSelf.R2.decl: @L2.WithSelf.%L2.WithSelf.R2.type (%L2.WithSelf.R2.type.aa1) = fn_decl @L2.WithSelf.R2 [symbolic = @L2.WithSelf.%L2.WithSelf.R2 (constants.%L2.WithSelf.R2.594)] { +// CHECK:STDOUT: %self.param_patt: @L2.WithSelf.R2.%pattern_type (%pattern_type.5c1) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @L2.WithSelf.R2.%pattern_type (%pattern_type.5c1) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @L2.WithSelf.R2.%Self.as_type.loc5_15.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_15.1: type = splice_block %.loc5_15.2 [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] { @@ -1149,9 +1149,9 @@ fn Works() { // CHECK:STDOUT: %self: @L2.WithSelf.R2.%Self.as_type.loc5_15.1 (%Self.as_type) = value_binding self, %self.param // CHECK:STDOUT: } // CHECK:STDOUT: %assoc0: %L2.assoc_type = assoc_entity element0, %L2.WithSelf.R2.decl [concrete = constants.%assoc0] -// CHECK:STDOUT: %L2.WithSelf.S2.decl: @L2.WithSelf.%L2.WithSelf.S2.type (%L2.WithSelf.S2.type.8ad) = fn_decl @L2.WithSelf.S2 [symbolic = @L2.WithSelf.%L2.WithSelf.S2 (constants.%L2.WithSelf.S2.aba)] { -// CHECK:STDOUT: %self.param_patt: @L2.WithSelf.S2.%pattern_type (%pattern_type.e01) = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @L2.WithSelf.S2.%pattern_type (%pattern_type.e01) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %L2.WithSelf.S2.decl: @L2.WithSelf.%L2.WithSelf.S2.type (%L2.WithSelf.S2.type.eda) = fn_decl @L2.WithSelf.S2 [symbolic = @L2.WithSelf.%L2.WithSelf.S2 (constants.%L2.WithSelf.S2.4d0)] { +// CHECK:STDOUT: %self.param_patt: @L2.WithSelf.S2.%pattern_type (%pattern_type.5c1) = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @L2.WithSelf.S2.%pattern_type (%pattern_type.5c1) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: ref @L2.WithSelf.S2.%Self.as_type.loc6_19.1 (%Self.as_type) = ref_param call_param0 // CHECK:STDOUT: %.loc6_19.1: type = splice_block %.loc6_19.2 [symbolic = %Self.as_type.loc6_19.1 (constants.%Self.as_type)] { @@ -1175,7 +1175,7 @@ fn Works() { // CHECK:STDOUT: generic fn @L2.WithSelf.R2(@L2.%Self: %L2.type) { // CHECK:STDOUT: %Self: %L2.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_15.1 [symbolic = %pattern_type (constants.%pattern_type.e01)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_15.1 [symbolic = %pattern_type (constants.%pattern_type.5c1)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @L2.WithSelf.R2.%Self.as_type.loc5_15.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -1183,7 +1183,7 @@ fn Works() { // CHECK:STDOUT: generic fn @L2.WithSelf.S2(@L2.%Self: %L2.type) { // CHECK:STDOUT: %Self: %L2.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc6_19.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc6_19.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc6_19.1 [symbolic = %pattern_type (constants.%pattern_type.e01)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc6_19.1 [symbolic = %pattern_type (constants.%pattern_type.5c1)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: ref @L2.WithSelf.S2.%Self.as_type.loc6_19.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -1193,15 +1193,15 @@ fn Works() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T.as_type.loc18_4.2: type = facet_access_type %T.loc10_13.1 [symbolic = %T.as_type.loc18_4.2 (constants.%T.as_type)] -// CHECK:STDOUT: %L2.WithSelf.R2.type: type = fn_type @L2.WithSelf.R2, @L2.WithSelf(%T.loc10_13.1) [symbolic = %L2.WithSelf.R2.type (constants.%L2.WithSelf.R2.type.32f)] -// CHECK:STDOUT: %.loc18_4.2: type = fn_type_with_self_type %L2.WithSelf.R2.type, %T.loc10_13.1 [symbolic = %.loc18_4.2 (constants.%.823)] -// CHECK:STDOUT: %L2.lookup_impl_witness: = lookup_impl_witness %T.loc10_13.1, @L2 [symbolic = %L2.lookup_impl_witness (constants.%L2.lookup_impl_witness.e34)] -// CHECK:STDOUT: %impl.elem0.loc18_4.2: @Simple5.%.loc18_4.2 (%.823) = impl_witness_access %L2.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc18_4.2 (constants.%impl.elem0)] -// CHECK:STDOUT: %specific_impl_fn.loc18_4.2: = specific_impl_function %impl.elem0.loc18_4.2, @L2.WithSelf.R2(%T.loc10_13.1) [symbolic = %specific_impl_fn.loc18_4.2 (constants.%specific_impl_fn.676)] -// CHECK:STDOUT: %L2.WithSelf.S2.type: type = fn_type @L2.WithSelf.S2, @L2.WithSelf(%T.loc10_13.1) [symbolic = %L2.WithSelf.S2.type (constants.%L2.WithSelf.S2.type.ef1)] -// CHECK:STDOUT: %.loc26_4.2: type = fn_type_with_self_type %L2.WithSelf.S2.type, %T.loc10_13.1 [symbolic = %.loc26_4.2 (constants.%.739)] -// CHECK:STDOUT: %impl.elem1.loc26_4.2: @Simple5.%.loc26_4.2 (%.739) = impl_witness_access %L2.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc26_4.2 (constants.%impl.elem1)] -// CHECK:STDOUT: %specific_impl_fn.loc26_4.2: = specific_impl_function %impl.elem1.loc26_4.2, @L2.WithSelf.S2(%T.loc10_13.1) [symbolic = %specific_impl_fn.loc26_4.2 (constants.%specific_impl_fn.5f4)] +// CHECK:STDOUT: %L2.WithSelf.R2.type: type = fn_type @L2.WithSelf.R2, @L2.WithSelf(%T.loc10_13.1) [symbolic = %L2.WithSelf.R2.type (constants.%L2.WithSelf.R2.type.cd3)] +// CHECK:STDOUT: %.loc18_4.2: type = fn_type_with_self_type %L2.WithSelf.R2.type, %T.loc10_13.1 [symbolic = %.loc18_4.2 (constants.%.c1a)] +// CHECK:STDOUT: %L2.lookup_impl_witness: = lookup_impl_witness %T.loc10_13.1, @L2 [symbolic = %L2.lookup_impl_witness (constants.%L2.lookup_impl_witness.7a9)] +// CHECK:STDOUT: %impl.elem0.loc18_4.2: @Simple5.%.loc18_4.2 (%.c1a) = impl_witness_access %L2.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc18_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %specific_impl_fn.loc18_4.2: = specific_impl_function %impl.elem0.loc18_4.2, @L2.WithSelf.R2(%T.loc10_13.1) [symbolic = %specific_impl_fn.loc18_4.2 (constants.%specific_impl_fn.dcc)] +// CHECK:STDOUT: %L2.WithSelf.S2.type: type = fn_type @L2.WithSelf.S2, @L2.WithSelf(%T.loc10_13.1) [symbolic = %L2.WithSelf.S2.type (constants.%L2.WithSelf.S2.type.e93)] +// CHECK:STDOUT: %.loc26_4.2: type = fn_type_with_self_type %L2.WithSelf.S2.type, %T.loc10_13.1 [symbolic = %.loc26_4.2 (constants.%.120)] +// CHECK:STDOUT: %impl.elem1.loc26_4.2: @Simple5.%.loc26_4.2 (%.120) = impl_witness_access %L2.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc26_4.2 (constants.%impl.elem1)] +// CHECK:STDOUT: %specific_impl_fn.loc26_4.2: = specific_impl_function %impl.elem1.loc26_4.2, @L2.WithSelf.S2(%T.loc10_13.1) [symbolic = %specific_impl_fn.loc26_4.2 (constants.%specific_impl_fn.843)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: @@ -1209,15 +1209,15 @@ fn Works() { // CHECK:STDOUT: %T.as_type.loc18_4.1: type = facet_access_type %T.ref.loc18 [symbolic = %T.as_type.loc18_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %.loc18_4.1: type = converted %T.ref.loc18, %T.as_type.loc18_4.1 [symbolic = %T.as_type.loc18_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %R2.ref: %L2.assoc_type = name_ref R2, @L2.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc18_4.1: @Simple5.%.loc18_4.2 (%.823) = impl_witness_access constants.%L2.lookup_impl_witness.e34, element0 [symbolic = %impl.elem0.loc18_4.2 (constants.%impl.elem0)] -// CHECK:STDOUT: %specific_impl_fn.loc18_4.1: = specific_impl_function %impl.elem0.loc18_4.1, @L2.WithSelf.R2(constants.%T) [symbolic = %specific_impl_fn.loc18_4.2 (constants.%specific_impl_fn.676)] +// CHECK:STDOUT: %impl.elem0.loc18_4.1: @Simple5.%.loc18_4.2 (%.c1a) = impl_witness_access constants.%L2.lookup_impl_witness.7a9, element0 [symbolic = %impl.elem0.loc18_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %specific_impl_fn.loc18_4.1: = specific_impl_function %impl.elem0.loc18_4.1, @L2.WithSelf.R2(constants.%T) [symbolic = %specific_impl_fn.loc18_4.2 (constants.%specific_impl_fn.dcc)] // CHECK:STDOUT: %L2.WithSelf.R2.call: init %empty_tuple.type = call %specific_impl_fn.loc18_4.1() // CHECK:STDOUT: %T.ref.loc26: %L2.type = name_ref T, %T.loc10_13.2 [symbolic = %T.loc10_13.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc26: type = facet_access_type %T.ref.loc26 [symbolic = %T.as_type.loc18_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %.loc26_4.1: type = converted %T.ref.loc26, %T.as_type.loc26 [symbolic = %T.as_type.loc18_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %S2.ref: %L2.assoc_type = name_ref S2, @L2.WithSelf.%assoc1 [concrete = constants.%assoc1] -// CHECK:STDOUT: %impl.elem1.loc26_4.1: @Simple5.%.loc26_4.2 (%.739) = impl_witness_access constants.%L2.lookup_impl_witness.e34, element1 [symbolic = %impl.elem1.loc26_4.2 (constants.%impl.elem1)] -// CHECK:STDOUT: %specific_impl_fn.loc26_4.1: = specific_impl_function %impl.elem1.loc26_4.1, @L2.WithSelf.S2(constants.%T) [symbolic = %specific_impl_fn.loc26_4.2 (constants.%specific_impl_fn.5f4)] +// CHECK:STDOUT: %impl.elem1.loc26_4.1: @Simple5.%.loc26_4.2 (%.120) = impl_witness_access constants.%L2.lookup_impl_witness.7a9, element1 [symbolic = %impl.elem1.loc26_4.2 (constants.%impl.elem1)] +// CHECK:STDOUT: %specific_impl_fn.loc26_4.1: = specific_impl_function %impl.elem1.loc26_4.1, @L2.WithSelf.S2(constants.%T) [symbolic = %specific_impl_fn.loc26_4.2 (constants.%specific_impl_fn.843)] // CHECK:STDOUT: %L2.WithSelf.S2.call: init %empty_tuple.type = call %specific_impl_fn.loc26_4.1() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1243,22 +1243,22 @@ fn Works() { // CHECK:STDOUT: specific @L2.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %L2.WithSelf.R2.type => constants.%L2.WithSelf.R2.type.230 -// CHECK:STDOUT: %L2.WithSelf.R2 => constants.%L2.WithSelf.R2.6f0 -// CHECK:STDOUT: %L2.WithSelf.S2.type => constants.%L2.WithSelf.S2.type.8ad -// CHECK:STDOUT: %L2.WithSelf.S2 => constants.%L2.WithSelf.S2.aba +// CHECK:STDOUT: %L2.WithSelf.R2.type => constants.%L2.WithSelf.R2.type.aa1 +// CHECK:STDOUT: %L2.WithSelf.R2 => constants.%L2.WithSelf.R2.594 +// CHECK:STDOUT: %L2.WithSelf.S2.type => constants.%L2.WithSelf.S2.type.eda +// CHECK:STDOUT: %L2.WithSelf.S2 => constants.%L2.WithSelf.S2.4d0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @L2.WithSelf.R2(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc5_15.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e01 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5c1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @L2.WithSelf.S2(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc6_19.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e01 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.5c1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple5(constants.%T) { @@ -1268,22 +1268,22 @@ fn Works() { // CHECK:STDOUT: specific @L2.WithSelf(constants.%T) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %L2.WithSelf.R2.type => constants.%L2.WithSelf.R2.type.32f -// CHECK:STDOUT: %L2.WithSelf.R2 => constants.%L2.WithSelf.R2.f17 -// CHECK:STDOUT: %L2.WithSelf.S2.type => constants.%L2.WithSelf.S2.type.ef1 -// CHECK:STDOUT: %L2.WithSelf.S2 => constants.%L2.WithSelf.S2.f05 +// CHECK:STDOUT: %L2.WithSelf.R2.type => constants.%L2.WithSelf.R2.type.cd3 +// CHECK:STDOUT: %L2.WithSelf.R2 => constants.%L2.WithSelf.R2.a6d +// CHECK:STDOUT: %L2.WithSelf.S2.type => constants.%L2.WithSelf.S2.type.e93 +// CHECK:STDOUT: %L2.WithSelf.S2 => constants.%L2.WithSelf.S2.8b3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @L2.WithSelf.R2(constants.%T) { // CHECK:STDOUT: %Self => constants.%T // CHECK:STDOUT: %Self.as_type.loc5_15.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.004 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.cd1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @L2.WithSelf.S2(constants.%T) { // CHECK:STDOUT: %Self => constants.%T // CHECK:STDOUT: %Self.as_type.loc6_19.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.004 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.cd1 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Compound5(constants.%V) { @@ -1294,11 +1294,11 @@ fn Works() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.9de: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %A.WithSelf.G.type.776: type = fn_type @A.WithSelf.G, @A.WithSelf(%Self.9de) [symbolic] -// CHECK:STDOUT: %A.WithSelf.G.af0: %A.WithSelf.G.type.776 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.2fc: %A.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %A.WithSelf.G.type.c82: type = fn_type @A.WithSelf.G, @A.WithSelf(%Self.2fc) [symbolic] +// CHECK:STDOUT: %A.WithSelf.G.7bf: %A.WithSelf.G.type.c82 = struct_value () [symbolic] // CHECK:STDOUT: %A.assoc_type: type = assoc_entity_type @A [concrete] -// CHECK:STDOUT: %assoc0.309: %A.assoc_type = assoc_entity element0, @A.WithSelf.%A.WithSelf.G.decl [concrete] +// CHECK:STDOUT: %assoc0.52c: %A.assoc_type = assoc_entity element0, @A.WithSelf.%A.WithSelf.G.decl [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] @@ -1306,24 +1306,24 @@ fn Works() { // CHECK:STDOUT: %C.as.A.impl.G.type: type = fn_type @C.as.A.impl.G [concrete] // CHECK:STDOUT: %C.as.A.impl.G: %C.as.A.impl.G.type = struct_value () [concrete] // CHECK:STDOUT: %A.facet: %A.type = facet_value %C, (%A.impl_witness) [concrete] -// CHECK:STDOUT: %A.WithSelf.G.type.ed1: type = fn_type @A.WithSelf.G, @A.WithSelf(%A.facet) [concrete] -// CHECK:STDOUT: %A.WithSelf.G.852: %A.WithSelf.G.type.ed1 = struct_value () [concrete] +// CHECK:STDOUT: %A.WithSelf.G.type.0c1: type = fn_type @A.WithSelf.G, @A.WithSelf(%A.facet) [concrete] +// CHECK:STDOUT: %A.WithSelf.G.621: %A.WithSelf.G.type.0c1 = struct_value () [concrete] // CHECK:STDOUT: %Fails.type: type = fn_type @Fails [concrete] // CHECK:STDOUT: %Fails: %Fails.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %A.type, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1333,10 +1333,10 @@ fn Works() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1357,12 +1357,12 @@ fn Works() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.9de] +// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.2fc] // CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %A.WithSelf.G.decl: @A.WithSelf.%A.WithSelf.G.type (%A.WithSelf.G.type.776) = fn_decl @A.WithSelf.G [symbolic = @A.WithSelf.%A.WithSelf.G (constants.%A.WithSelf.G.af0)] {} {} -// CHECK:STDOUT: %assoc0: %A.assoc_type = assoc_entity element0, %A.WithSelf.G.decl [concrete = constants.%assoc0.309] +// CHECK:STDOUT: %A.WithSelf.G.decl: @A.WithSelf.%A.WithSelf.G.type (%A.WithSelf.G.type.c82) = fn_decl @A.WithSelf.G [symbolic = @A.WithSelf.%A.WithSelf.G (constants.%A.WithSelf.G.7bf)] {} {} +// CHECK:STDOUT: %assoc0: %A.assoc_type = assoc_entity element0, %A.WithSelf.G.decl [concrete = constants.%assoc0.52c] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -1409,10 +1409,10 @@ fn Works() { // CHECK:STDOUT: %.loc22_7: init %C = converted %.loc22_5.1, %.loc22_5.3 [concrete = constants.%C.val] // CHECK:STDOUT: %A.ref.loc22_15: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: %A.ref.loc22_19: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %impl.elem0.loc22: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc22: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc22: = bound_method %A.ref.loc22_15, %impl.elem0.loc22 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc22: init type = call %bound_method.loc22(%A.ref.loc22_15, %A.ref.loc22_19) [concrete = constants.%A.type] -// CHECK:STDOUT: %G.ref.loc22: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.309] +// CHECK:STDOUT: %G.ref.loc22: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.52c] // CHECK:STDOUT: %.loc22_12: %A.type = converted %.loc22_7, [concrete = ] // CHECK:STDOUT: %.loc30_6.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %C.ref.loc30_11: type = name_ref C, file.%C.decl [concrete = constants.%C] @@ -1422,7 +1422,7 @@ fn Works() { // CHECK:STDOUT: %C.ref.loc30_18: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %A.ref.loc30_24: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: %A.ref.loc30_28: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %impl.elem0.loc30_26: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc30_26: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc30_26: = bound_method %A.ref.loc30_24, %impl.elem0.loc30_26 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc30_26: init type = call %bound_method.loc30_26(%A.ref.loc30_24, %A.ref.loc30_28) [concrete = constants.%A.type] // CHECK:STDOUT: %.loc30_29.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc30_26 [concrete = constants.%A.type] @@ -1433,10 +1433,10 @@ fn Works() { // CHECK:STDOUT: %.loc30_30: type = converted %.loc30_20, %as_type.loc30 [concrete = constants.%C] // CHECK:STDOUT: %A.ref.loc30_35: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: %A.ref.loc30_39: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %impl.elem0.loc30_37: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc30_37: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc30_37: = bound_method %A.ref.loc30_35, %impl.elem0.loc30_37 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc30_37: init type = call %bound_method.loc30_37(%A.ref.loc30_35, %A.ref.loc30_39) [concrete = constants.%A.type] -// CHECK:STDOUT: %G.ref.loc30: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.309] +// CHECK:STDOUT: %G.ref.loc30: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.52c] // CHECK:STDOUT: %.loc30_32: %A.type = converted %.loc30_8, [concrete = ] // CHECK:STDOUT: %.loc38_6.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %C.ref.loc38_11: type = name_ref C, file.%C.decl [concrete = constants.%C] @@ -1446,7 +1446,7 @@ fn Works() { // CHECK:STDOUT: %C.ref.loc38_18: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %A.ref.loc38_24: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: %A.ref.loc38_28: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %impl.elem0.loc38: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc38: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc38: = bound_method %A.ref.loc38_24, %impl.elem0.loc38 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc38: init type = call %bound_method.loc38(%A.ref.loc38_24, %A.ref.loc38_28) [concrete = constants.%A.type] // CHECK:STDOUT: %.loc38_29.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc38 [concrete = constants.%A.type] @@ -1456,25 +1456,25 @@ fn Works() { // CHECK:STDOUT: %as_type.loc38: type = facet_access_type %.loc38_20 [concrete = constants.%C] // CHECK:STDOUT: %.loc38_30: type = converted %.loc38_20, %as_type.loc38 [concrete = constants.%C] // CHECK:STDOUT: %A.ref.loc38_34: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %G.ref.loc38: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.309] +// CHECK:STDOUT: %G.ref.loc38: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.52c] // CHECK:STDOUT: %.loc38_32: %A.type = converted %.loc38_8, [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.9de) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.2fc) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.9de -// CHECK:STDOUT: %A.WithSelf.G.type => constants.%A.WithSelf.G.type.776 -// CHECK:STDOUT: %A.WithSelf.G => constants.%A.WithSelf.G.af0 +// CHECK:STDOUT: %Self => constants.%Self.2fc +// CHECK:STDOUT: %A.WithSelf.G.type => constants.%A.WithSelf.G.type.c82 +// CHECK:STDOUT: %A.WithSelf.G => constants.%A.WithSelf.G.7bf // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.G(constants.%Self.9de) {} +// CHECK:STDOUT: specific @A.WithSelf.G(constants.%Self.2fc) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf(constants.%A.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%A.facet -// CHECK:STDOUT: %A.WithSelf.G.type => constants.%A.WithSelf.G.type.ed1 -// CHECK:STDOUT: %A.WithSelf.G => constants.%A.WithSelf.G.852 +// CHECK:STDOUT: %A.WithSelf.G.type => constants.%A.WithSelf.G.type.0c1 +// CHECK:STDOUT: %A.WithSelf.G => constants.%A.WithSelf.G.621 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf.G(constants.%A.facet) {} @@ -1483,12 +1483,12 @@ fn Works() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %A.type: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self.58b: %A.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %A.WithSelf.G.type.b44: type = fn_type @A.WithSelf.G, @A.WithSelf(%Self.58b) [symbolic] +// CHECK:STDOUT: %Self.2fc: %A.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %A.WithSelf.G.type.c82: type = fn_type @A.WithSelf.G, @A.WithSelf(%Self.2fc) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %A.WithSelf.G.f73: %A.WithSelf.G.type.b44 = struct_value () [symbolic] +// CHECK:STDOUT: %A.WithSelf.G.7bf: %A.WithSelf.G.type.c82 = struct_value () [symbolic] // CHECK:STDOUT: %A.assoc_type: type = assoc_entity_type @A [concrete] -// CHECK:STDOUT: %assoc0.7df: %A.assoc_type = assoc_entity element0, @A.WithSelf.%A.WithSelf.G.decl [concrete] +// CHECK:STDOUT: %assoc0.52c: %A.assoc_type = assoc_entity element0, @A.WithSelf.%A.WithSelf.G.decl [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] @@ -1496,21 +1496,21 @@ fn Works() { // CHECK:STDOUT: %C.as.A.impl.G.type: type = fn_type @C.as.A.impl.G [concrete] // CHECK:STDOUT: %C.as.A.impl.G: %C.as.A.impl.G.type = struct_value () [concrete] // CHECK:STDOUT: %A.facet: %A.type = facet_value %C, (%A.impl_witness) [concrete] -// CHECK:STDOUT: %A.WithSelf.G.type.bb3: type = fn_type @A.WithSelf.G, @A.WithSelf(%A.facet) [concrete] -// CHECK:STDOUT: %A.WithSelf.G.4d3: %A.WithSelf.G.type.bb3 = struct_value () [concrete] +// CHECK:STDOUT: %A.WithSelf.G.type.0c1: type = fn_type @A.WithSelf.G, @A.WithSelf(%A.facet) [concrete] +// CHECK:STDOUT: %A.WithSelf.G.621: %A.WithSelf.G.type.0c1 = struct_value () [concrete] // CHECK:STDOUT: %Works.type: type = fn_type @Works [concrete] // CHECK:STDOUT: %Works: %Works.type = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %A.type, %type.as.BitAndWith.impl.Op [concrete] -// CHECK:STDOUT: %.973: type = fn_type_with_self_type %A.WithSelf.G.type.bb3, %A.facet [concrete] +// CHECK:STDOUT: %.35a: type = fn_type_with_self_type %A.WithSelf.G.type.0c1, %A.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1519,9 +1519,9 @@ fn Works() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1542,12 +1542,12 @@ fn Works() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.58b] +// CHECK:STDOUT: %Self: %A.type = symbolic_binding Self, 0 [symbolic = constants.%Self.2fc] // CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %A.WithSelf.G.decl: @A.WithSelf.%A.WithSelf.G.type (%A.WithSelf.G.type.b44) = fn_decl @A.WithSelf.G [symbolic = @A.WithSelf.%A.WithSelf.G (constants.%A.WithSelf.G.f73)] {} {} -// CHECK:STDOUT: %assoc0: %A.assoc_type = assoc_entity element0, %A.WithSelf.G.decl [concrete = constants.%assoc0.7df] +// CHECK:STDOUT: %A.WithSelf.G.decl: @A.WithSelf.%A.WithSelf.G.type (%A.WithSelf.G.type.c82) = fn_decl @A.WithSelf.G [symbolic = @A.WithSelf.%A.WithSelf.G (constants.%A.WithSelf.G.7bf)] {} {} +// CHECK:STDOUT: %assoc0: %A.assoc_type = assoc_entity element0, %A.WithSelf.G.decl [concrete = constants.%assoc0.52c] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -1590,18 +1590,18 @@ fn Works() { // CHECK:STDOUT: %C.ref.loc13: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %A.ref.loc13_7: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: %A.ref.loc13_11: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %impl.elem0.loc13_9: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc13_9: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc13: = bound_method %A.ref.loc13_7, %impl.elem0.loc13_9 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc13: init type = call %bound_method.loc13(%A.ref.loc13_7, %A.ref.loc13_11) [concrete = constants.%A.type] -// CHECK:STDOUT: %G.ref.loc13: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.7df] +// CHECK:STDOUT: %G.ref.loc13: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.52c] // CHECK:STDOUT: %A.facet.loc13: %A.type = facet_value %C.ref.loc13, (constants.%A.impl_witness) [concrete = constants.%A.facet] // CHECK:STDOUT: %.loc13: %A.type = converted %C.ref.loc13, %A.facet.loc13 [concrete = constants.%A.facet] -// CHECK:STDOUT: %impl.elem0.loc13_4: %.973 = impl_witness_access constants.%A.impl_witness, element0 [concrete = constants.%C.as.A.impl.G] +// CHECK:STDOUT: %impl.elem0.loc13_4: %.35a = impl_witness_access constants.%A.impl_witness, element0 [concrete = constants.%C.as.A.impl.G] // CHECK:STDOUT: %C.as.A.impl.G.call.loc13: init %empty_tuple.type = call %impl.elem0.loc13_4() // CHECK:STDOUT: %C.ref.loc14: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %A.ref.loc14_10: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: %A.ref.loc14_14: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %impl.elem0.loc14_12: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc14_12: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc14_12: = bound_method %A.ref.loc14_10, %impl.elem0.loc14_12 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc14_12: init type = call %bound_method.loc14_12(%A.ref.loc14_10, %A.ref.loc14_14) [concrete = constants.%A.type] // CHECK:STDOUT: %.loc14_15.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc14_12 [concrete = constants.%A.type] @@ -1610,16 +1610,16 @@ fn Works() { // CHECK:STDOUT: %.loc14_6: %A.type = converted %C.ref.loc14, %A.facet.loc14 [concrete = constants.%A.facet] // CHECK:STDOUT: %A.ref.loc14_20: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: %A.ref.loc14_24: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %impl.elem0.loc14_22: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc14_22: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc14_22: = bound_method %A.ref.loc14_20, %impl.elem0.loc14_22 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc14_22: init type = call %bound_method.loc14_22(%A.ref.loc14_20, %A.ref.loc14_24) [concrete = constants.%A.type] -// CHECK:STDOUT: %G.ref.loc14: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.7df] -// CHECK:STDOUT: %impl.elem0.loc14_17: %.973 = impl_witness_access constants.%A.impl_witness, element0 [concrete = constants.%C.as.A.impl.G] +// CHECK:STDOUT: %G.ref.loc14: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.52c] +// CHECK:STDOUT: %impl.elem0.loc14_17: %.35a = impl_witness_access constants.%A.impl_witness, element0 [concrete = constants.%C.as.A.impl.G] // CHECK:STDOUT: %C.as.A.impl.G.call.loc14: init %empty_tuple.type = call %impl.elem0.loc14_17() // CHECK:STDOUT: %C.ref.loc15: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %A.ref.loc15_10: type = name_ref A, file.%A.decl [concrete = constants.%A.type] // CHECK:STDOUT: %A.ref.loc15_14: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %impl.elem0.loc15_12: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc15_12: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc15: = bound_method %A.ref.loc15_10, %impl.elem0.loc15_12 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call.loc15: init type = call %bound_method.loc15(%A.ref.loc15_10, %A.ref.loc15_14) [concrete = constants.%A.type] // CHECK:STDOUT: %.loc15_15.1: type = value_of_initializer %type.as.BitAndWith.impl.Op.call.loc15 [concrete = constants.%A.type] @@ -1627,26 +1627,26 @@ fn Works() { // CHECK:STDOUT: %A.facet.loc15: %A.type = facet_value %C.ref.loc15, (constants.%A.impl_witness) [concrete = constants.%A.facet] // CHECK:STDOUT: %.loc15_6: %A.type = converted %C.ref.loc15, %A.facet.loc15 [concrete = constants.%A.facet] // CHECK:STDOUT: %A.ref.loc15_19: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %G.ref.loc15: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.7df] -// CHECK:STDOUT: %impl.elem0.loc15_17: %.973 = impl_witness_access constants.%A.impl_witness, element0 [concrete = constants.%C.as.A.impl.G] +// CHECK:STDOUT: %G.ref.loc15: %A.assoc_type = name_ref G, @A.WithSelf.%assoc0 [concrete = constants.%assoc0.52c] +// CHECK:STDOUT: %impl.elem0.loc15_17: %.35a = impl_witness_access constants.%A.impl_witness, element0 [concrete = constants.%C.as.A.impl.G] // CHECK:STDOUT: %C.as.A.impl.G.call.loc15: init %empty_tuple.type = call %impl.elem0.loc15_17() // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.58b) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%Self.2fc) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.58b -// CHECK:STDOUT: %A.WithSelf.G.type => constants.%A.WithSelf.G.type.b44 -// CHECK:STDOUT: %A.WithSelf.G => constants.%A.WithSelf.G.f73 +// CHECK:STDOUT: %Self => constants.%Self.2fc +// CHECK:STDOUT: %A.WithSelf.G.type => constants.%A.WithSelf.G.type.c82 +// CHECK:STDOUT: %A.WithSelf.G => constants.%A.WithSelf.G.7bf // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.G(constants.%Self.58b) {} +// CHECK:STDOUT: specific @A.WithSelf.G(constants.%Self.2fc) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf(constants.%A.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%A.facet -// CHECK:STDOUT: %A.WithSelf.G.type => constants.%A.WithSelf.G.type.bb3 -// CHECK:STDOUT: %A.WithSelf.G => constants.%A.WithSelf.G.4d3 +// CHECK:STDOUT: %A.WithSelf.G.type => constants.%A.WithSelf.G.type.0c1 +// CHECK:STDOUT: %A.WithSelf.G => constants.%A.WithSelf.G.621 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf.G(constants.%A.facet) {} diff --git a/toolchain/check/testdata/interface/default_fn.carbon b/toolchain/check/testdata/interface/default_fn.carbon index 5727eeac3d90..4eeb2820d2fb 100644 --- a/toolchain/check/testdata/interface/default_fn.carbon +++ b/toolchain/check/testdata/interface/default_fn.carbon @@ -32,30 +32,30 @@ class C { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.741: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.ca8: type = facet_access_type %Self.741 [symbolic] -// CHECK:STDOUT: %pattern_type.c67: type = pattern_type %Self.as_type.ca8 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.ce1: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.741) [symbolic] +// CHECK:STDOUT: %Self.3ec: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.de7: type = facet_access_type %Self.3ec [symbolic] +// CHECK:STDOUT: %pattern_type.b56: type = pattern_type %Self.as_type.de7 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.bcf: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.3ec) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %I.WithSelf.F.eeb: %I.WithSelf.F.type.ce1 = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.e2f: %I.WithSelf.F.type.bcf = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.682: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.84b: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness @C.as.I.impl.%I.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.as.I.impl.F.type: type = fn_type @C.as.I.impl.F [concrete] // CHECK:STDOUT: %C.as.I.impl.F: %C.as.I.impl.F.type = struct_value () [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.4c8: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.ad9: %I.WithSelf.F.type.4c8 = struct_value () [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.67a: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.2ad: %I.WithSelf.F.type.67a = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.ca8 [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.de7 [symbolic] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %.780: type = fn_type_with_self_type %I.WithSelf.F.type.4c8, %I.facet [concrete] +// CHECK:STDOUT: %.deb: type = fn_type_with_self_type %I.WithSelf.F.type.67a, %I.facet [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc20_7.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc20_7.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -77,23 +77,23 @@ class C { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.741] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.3ec] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.ce1) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.eeb)] { -// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.c67) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type (%pattern_type.c67) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.bcf) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.e2f)] { +// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.b56) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type (%pattern_type.b56) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %self.param: @I.WithSelf.F.%Self.as_type.loc18_23.1 (%Self.as_type.ca8) = value_param call_param0 -// CHECK:STDOUT: %.loc18_23.1: type = splice_block %.loc18_23.2 [symbolic = %Self.as_type.loc18_23.1 (constants.%Self.as_type.ca8)] { -// CHECK:STDOUT: %Self.ref: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.741)] -// CHECK:STDOUT: %Self.as_type.loc18_23.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc18_23.1 (constants.%Self.as_type.ca8)] -// CHECK:STDOUT: %.loc18_23.2: type = converted %Self.ref, %Self.as_type.loc18_23.2 [symbolic = %Self.as_type.loc18_23.1 (constants.%Self.as_type.ca8)] +// CHECK:STDOUT: %self.param: @I.WithSelf.F.%Self.as_type.loc18_23.1 (%Self.as_type.de7) = value_param call_param0 +// CHECK:STDOUT: %.loc18_23.1: type = splice_block %.loc18_23.2 [symbolic = %Self.as_type.loc18_23.1 (constants.%Self.as_type.de7)] { +// CHECK:STDOUT: %Self.ref: %I.type = name_ref Self, @I.%Self [symbolic = %Self (constants.%Self.3ec)] +// CHECK:STDOUT: %Self.as_type.loc18_23.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc18_23.1 (constants.%Self.as_type.de7)] +// CHECK:STDOUT: %.loc18_23.2: type = converted %Self.ref, %Self.as_type.loc18_23.2 [symbolic = %Self.as_type.loc18_23.1 (constants.%Self.as_type.de7)] // CHECK:STDOUT: } -// CHECK:STDOUT: %self: @I.WithSelf.F.%Self.as_type.loc18_23.1 (%Self.as_type.ca8) = value_binding self, %self.param +// CHECK:STDOUT: %self: @I.WithSelf.F.%Self.as_type.loc18_23.1 (%Self.as_type.de7) = value_binding self, %self.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0.682] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0.84b] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -109,8 +109,8 @@ class C { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.I.impl: %C.ref as %I.ref { // CHECK:STDOUT: %C.as.I.impl.F.decl: %C.as.I.impl.F.type = fn_decl @C.as.I.impl.F [concrete = constants.%C.as.I.impl.F] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.d7b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.d7b = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.I.impl.%C.ref [concrete = constants.%C] @@ -141,18 +141,18 @@ class C { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.741)] -// CHECK:STDOUT: %Self.as_type.loc18_23.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc18_23.1 (constants.%Self.as_type.ca8)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc18_23.1 [symbolic = %pattern_type (constants.%pattern_type.c67)] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.3ec)] +// CHECK:STDOUT: %Self.as_type.loc18_23.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc18_23.1 (constants.%Self.as_type.de7)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc18_23.1 [symbolic = %pattern_type (constants.%pattern_type.b56)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %Self.as_type.loc18_23.1 [symbolic = %require_complete (constants.%require_complete)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%self.param: @I.WithSelf.F.%Self.as_type.loc18_23.1 (%Self.as_type.ca8)) { +// CHECK:STDOUT: fn(%self.param: @I.WithSelf.F.%Self.as_type.loc18_23.1 (%Self.as_type.de7)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.d7b = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.d7b = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt // CHECK:STDOUT: %.loc20_19.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -163,12 +163,12 @@ class C { // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var // CHECK:STDOUT: %c.ref: ref %C = name_ref c, %c // CHECK:STDOUT: %I.ref: type = name_ref I, @C.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, @I.WithSelf.%assoc0 [concrete = constants.%assoc0.682] -// CHECK:STDOUT: %impl.elem0: %.780 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] +// CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, @I.WithSelf.%assoc0 [concrete = constants.%assoc0.84b] +// CHECK:STDOUT: %impl.elem0: %.deb = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%C.as.I.impl.F] // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %.loc21: %C = acquire_value %c.ref // CHECK:STDOUT: %C.as.I.impl.F.call: init %empty_tuple.type = call %bound_method(%.loc21) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -186,29 +186,29 @@ class C { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.741) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.3ec) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.741 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.ce1 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.eeb +// CHECK:STDOUT: %Self => constants.%Self.3ec +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.bcf +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.e2f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.741) { -// CHECK:STDOUT: %Self => constants.%Self.741 -// CHECK:STDOUT: %Self.as_type.loc18_23.1 => constants.%Self.as_type.ca8 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c67 +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.3ec) { +// CHECK:STDOUT: %Self => constants.%Self.3ec +// CHECK:STDOUT: %Self.as_type.loc18_23.1 => constants.%Self.as_type.de7 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.b56 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.4c8 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.ad9 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.67a +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.2ad // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet) { // CHECK:STDOUT: %Self => constants.%I.facet // CHECK:STDOUT: %Self.as_type.loc18_23.1 => constants.%C -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.d7b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/export_name.carbon b/toolchain/check/testdata/interface/export_name.carbon index 7b4e7ad565f9..1725ce271bd5 100644 --- a/toolchain/check/testdata/interface/export_name.carbon +++ b/toolchain/check/testdata/interface/export_name.carbon @@ -78,7 +78,7 @@ fn UseEmpty(unused i: I) {} // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//base, I, loaded [concrete = constants.%I.type] -// CHECK:STDOUT: %Main.import_ref.809 = import_ref Main//base, loc4_13, unloaded +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//base, loc4_13, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -91,7 +91,7 @@ fn UseEmpty(unused i: I) {} // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "base.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.809 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -111,7 +111,7 @@ fn UseEmpty(unused i: I) {} // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//export, I, loaded [concrete = constants.%I.type] -// CHECK:STDOUT: %Main.import_ref.dcb = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.37f = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -132,7 +132,7 @@ fn UseEmpty(unused i: I) {} // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "export.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.dcb +// CHECK:STDOUT: .Self = imports.%Main.import_ref.37f // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: diff --git a/toolchain/check/testdata/interface/fail_add_member_outside_definition.carbon b/toolchain/check/testdata/interface/fail_add_member_outside_definition.carbon index bd6cea14f84e..d7562ba8a875 100644 --- a/toolchain/check/testdata/interface/fail_add_member_outside_definition.carbon +++ b/toolchain/check/testdata/interface/fail_add_member_outside_definition.carbon @@ -40,17 +40,17 @@ interface Outer { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Interface.type: type = facet_type <@Interface> [concrete] -// CHECK:STDOUT: %Self.7a0: %Interface.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Interface.WithSelf.F.type: type = fn_type @Interface.WithSelf.F, @Interface.WithSelf(%Self.7a0) [symbolic] +// CHECK:STDOUT: %Self.b54: %Interface.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Interface.WithSelf.F.type: type = fn_type @Interface.WithSelf.F, @Interface.WithSelf(%Self.b54) [symbolic] // CHECK:STDOUT: %Interface.WithSelf.F: %Interface.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %Outer.type: type = facet_type <@Outer> [concrete] -// CHECK:STDOUT: %Self.807: %Outer.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%Self.807)> [symbolic] -// CHECK:STDOUT: %Self.f28: %Inner.type = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Inner.WithSelf.F.type.b8907a.1: type = fn_type @Inner.WithSelf.F.loc30, @Inner.WithSelf(%Self.807, %Self.f28) [symbolic] -// CHECK:STDOUT: %Inner.WithSelf.F.6fb3c6.1: %Inner.WithSelf.F.type.b8907a.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Inner.WithSelf.F.type.b8907a.2: type = fn_type @Inner.WithSelf.F.loc36, @Inner.WithSelf(%Self.807, %Self.f28) [symbolic] -// CHECK:STDOUT: %Inner.WithSelf.F.6fb3c6.2: %Inner.WithSelf.F.type.b8907a.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.7fb: %Outer.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%Self.7fb)> [symbolic] +// CHECK:STDOUT: %Self.2d6: %Inner.type = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Inner.WithSelf.F.type.b217f1.1: type = fn_type @Inner.WithSelf.F.loc30, @Inner.WithSelf(%Self.7fb, %Self.2d6) [symbolic] +// CHECK:STDOUT: %Inner.WithSelf.F.915cdb.1: %Inner.WithSelf.F.type.b217f1.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Inner.WithSelf.F.type.b217f1.2: type = fn_type @Inner.WithSelf.F.loc36, @Inner.WithSelf(%Self.7fb, %Self.2d6) [symbolic] +// CHECK:STDOUT: %Inner.WithSelf.F.915cdb.2: %Inner.WithSelf.F.type.b217f1.2 = struct_value () [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -64,7 +64,7 @@ interface Outer { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Interface { -// CHECK:STDOUT: %Self: %Interface.type = symbolic_binding Self, 0 [symbolic = constants.%Self.7a0] +// CHECK:STDOUT: %Self: %Interface.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b54] // CHECK:STDOUT: %Interface.WithSelf.decl = interface_with_self_decl @Interface [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -76,12 +76,12 @@ interface Outer { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Outer { -// CHECK:STDOUT: %Self: %Outer.type = symbolic_binding Self, 0 [symbolic = constants.%Self.807] +// CHECK:STDOUT: %Self: %Outer.type = symbolic_binding Self, 0 [symbolic = constants.%Self.7fb] // CHECK:STDOUT: %Outer.WithSelf.decl = interface_with_self_decl @Outer [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %Inner.decl: type = interface_decl @Inner [symbolic = @Outer.WithSelf.%Inner.type (constants.%Inner.type)] {} {} -// CHECK:STDOUT: %Inner.WithSelf.F.decl: @Outer.WithSelf.%Inner.WithSelf.F.type (%Inner.WithSelf.F.type.b8907a.2) = fn_decl @Inner.WithSelf.F.loc36 [symbolic = @Outer.WithSelf.%Inner.WithSelf.F (constants.%Inner.WithSelf.F.6fb3c6.2)] {} {} +// CHECK:STDOUT: %Inner.WithSelf.F.decl: @Outer.WithSelf.%Inner.WithSelf.F.type (%Inner.WithSelf.F.type.b217f1.2) = fn_decl @Inner.WithSelf.F.loc36 [symbolic = @Outer.WithSelf.%Inner.WithSelf.F (constants.%Inner.WithSelf.F.915cdb.2)] {} {} // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -93,16 +93,16 @@ interface Outer { // CHECK:STDOUT: // CHECK:STDOUT: generic interface @Inner(@Outer.%Self: %Outer.type) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self.loc25_19.2: %Outer.type = symbolic_binding Self, 0 [symbolic = %Self.loc25_19.2 (constants.%Self.807)] +// CHECK:STDOUT: %Self.loc25_19.2: %Outer.type = symbolic_binding Self, 0 [symbolic = %Self.loc25_19.2 (constants.%Self.7fb)] // CHECK:STDOUT: %Inner.type: type = facet_type <@Inner, @Inner(%Self.loc25_19.2)> [symbolic = %Inner.type (constants.%Inner.type)] -// CHECK:STDOUT: %Self.loc25_19.3: @Inner.%Inner.type (%Inner.type) = symbolic_binding Self, 1 [symbolic = %Self.loc25_19.3 (constants.%Self.f28)] +// CHECK:STDOUT: %Self.loc25_19.3: @Inner.%Inner.type (%Inner.type) = symbolic_binding Self, 1 [symbolic = %Self.loc25_19.3 (constants.%Self.2d6)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc25_19.1: @Inner.%Inner.type (%Inner.type) = symbolic_binding Self, 1 [symbolic = %Self.loc25_19.3 (constants.%Self.f28)] +// CHECK:STDOUT: %Self.loc25_19.1: @Inner.%Inner.type (%Inner.type) = symbolic_binding Self, 1 [symbolic = %Self.loc25_19.3 (constants.%Self.2d6)] // CHECK:STDOUT: %Inner.WithSelf.decl = interface_with_self_decl @Inner [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %Inner.WithSelf.F.decl: @Inner.WithSelf.%Inner.WithSelf.F.type (%Inner.WithSelf.F.type.b8907a.1) = fn_decl @Inner.WithSelf.F.loc30 [symbolic = @Inner.WithSelf.%Inner.WithSelf.F (constants.%Inner.WithSelf.F.6fb3c6.1)] {} {} +// CHECK:STDOUT: %Inner.WithSelf.F.decl: @Inner.WithSelf.%Inner.WithSelf.F.type (%Inner.WithSelf.F.type.b217f1.1) = fn_decl @Inner.WithSelf.F.loc30 [symbolic = @Inner.WithSelf.%Inner.WithSelf.F (constants.%Inner.WithSelf.F.915cdb.1)] {} {} // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc25_19.1 @@ -130,22 +130,22 @@ interface Outer { // CHECK:STDOUT: fn(); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Self.7a0) {} +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Self.b54) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf.F(constants.%Self.7a0) {} +// CHECK:STDOUT: specific @Interface.WithSelf.F(constants.%Self.b54) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Outer.WithSelf(constants.%Self.807) {} +// CHECK:STDOUT: specific @Outer.WithSelf(constants.%Self.7fb) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner(constants.%Self.807) { +// CHECK:STDOUT: specific @Inner(constants.%Self.7fb) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self.loc25_19.2 => constants.%Self.807 +// CHECK:STDOUT: %Self.loc25_19.2 => constants.%Self.7fb // CHECK:STDOUT: %Inner.type => constants.%Inner.type -// CHECK:STDOUT: %Self.loc25_19.3 => constants.%Self.f28 +// CHECK:STDOUT: %Self.loc25_19.3 => constants.%Self.2d6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf(constants.%Self.807, constants.%Self.f28) {} +// CHECK:STDOUT: specific @Inner.WithSelf(constants.%Self.7fb, constants.%Self.2d6) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf.F.loc30(constants.%Self.807, constants.%Self.f28) {} +// CHECK:STDOUT: specific @Inner.WithSelf.F.loc30(constants.%Self.7fb, constants.%Self.2d6) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Inner.WithSelf.F.loc36(constants.%Self.807, constants.%Self.f28) {} +// CHECK:STDOUT: specific @Inner.WithSelf.F.loc36(constants.%Self.7fb, constants.%Self.2d6) {} // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_assoc_const_alias.carbon b/toolchain/check/testdata/interface/fail_assoc_const_alias.carbon index ce50530e9155..443497ba0e7c 100644 --- a/toolchain/check/testdata/interface/fail_assoc_const_alias.carbon +++ b/toolchain/check/testdata/interface/fail_assoc_const_alias.carbon @@ -78,20 +78,20 @@ interface C { // CHECK:STDOUT: constants { // CHECK:STDOUT: %I2.type: type = facet_type <@I2> [concrete] // CHECK:STDOUT: %I2.assoc_type: type = assoc_entity_type @I2 [concrete] -// CHECK:STDOUT: %assoc0.8a3: %I2.assoc_type = assoc_entity element0, @I2.WithSelf.%T2 [concrete] +// CHECK:STDOUT: %assoc0.071: %I2.assoc_type = assoc_entity element0, @I2.WithSelf.%T2 [concrete] // CHECK:STDOUT: %J2.type: type = facet_type <@J2> [concrete] -// CHECK:STDOUT: %Self.075: %J2.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.075 [symbolic] -// CHECK:STDOUT: %I2.lookup_impl_witness.d11: = lookup_impl_witness %Self.075, @I2 [symbolic] -// CHECK:STDOUT: %.6be: require_specific_def_type = require_specific_def @V.as_type.as.I2.impl(%Self.075) [symbolic] -// CHECK:STDOUT: %I2.facet.975: %I2.type = facet_value %Self.as_type, (%I2.lookup_impl_witness.d11) [symbolic] -// CHECK:STDOUT: %impl.elem0.e40: type = impl_witness_access %I2.lookup_impl_witness.d11, element0 [symbolic] -// CHECK:STDOUT: %.1d9: Core.Form = init_form %impl.elem0.e40 [symbolic] -// CHECK:STDOUT: %pattern_type.160: type = pattern_type %impl.elem0.e40 [symbolic] -// CHECK:STDOUT: %J2.WithSelf.F2.type: type = fn_type @J2.WithSelf.F2, @J2.WithSelf(%Self.075) [symbolic] +// CHECK:STDOUT: %Self.4da: %J2.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.4da [symbolic] +// CHECK:STDOUT: %I2.lookup_impl_witness.62a: = lookup_impl_witness %Self.4da, @I2 [symbolic] +// CHECK:STDOUT: %.049: require_specific_def_type = require_specific_def @V.as_type.as.I2.impl(%Self.4da) [symbolic] +// CHECK:STDOUT: %I2.facet.6d7: %I2.type = facet_value %Self.as_type, (%I2.lookup_impl_witness.62a) [symbolic] +// CHECK:STDOUT: %impl.elem0.8df: type = impl_witness_access %I2.lookup_impl_witness.62a, element0 [symbolic] +// CHECK:STDOUT: %.72e: Core.Form = init_form %impl.elem0.8df [symbolic] +// CHECK:STDOUT: %pattern_type.089: type = pattern_type %impl.elem0.8df [symbolic] +// CHECK:STDOUT: %J2.WithSelf.F2.type: type = fn_type @J2.WithSelf.F2, @J2.WithSelf(%Self.4da) [symbolic] // CHECK:STDOUT: %J2.WithSelf.F2: %J2.WithSelf.F2.type = struct_value () [symbolic] // CHECK:STDOUT: %J2.assoc_type: type = assoc_entity_type @J2 [concrete] -// CHECK:STDOUT: %assoc0.de3: %J2.assoc_type = assoc_entity element0, @J2.WithSelf.%J2.WithSelf.F2.decl [concrete] +// CHECK:STDOUT: %assoc0.660: %J2.assoc_type = assoc_entity element0, @J2.WithSelf.%J2.WithSelf.F2.decl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -99,27 +99,27 @@ interface C { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J2 { -// CHECK:STDOUT: %Self: %J2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.075] +// CHECK:STDOUT: %Self: %J2.type = symbolic_binding Self, 0 [symbolic = constants.%Self.4da] // CHECK:STDOUT: %J2.WithSelf.decl = interface_with_self_decl @J2 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %I2.ref: type = name_ref I2, file.%I2.decl [concrete = constants.%I2.type] -// CHECK:STDOUT: %T2.ref: %I2.assoc_type = name_ref T2, @T2.%assoc0 [concrete = constants.%assoc0.8a3] -// CHECK:STDOUT: %U2: %I2.assoc_type = alias_binding U2, %T2.ref [concrete = constants.%assoc0.8a3] +// CHECK:STDOUT: %T2.ref: %I2.assoc_type = name_ref T2, @T2.%assoc0 [concrete = constants.%assoc0.071] +// CHECK:STDOUT: %U2: %I2.assoc_type = alias_binding U2, %T2.ref [concrete = constants.%assoc0.071] // CHECK:STDOUT: %J2.WithSelf.F2.decl: @J2.WithSelf.%J2.WithSelf.F2.type (%J2.WithSelf.F2.type) = fn_decl @J2.WithSelf.F2 [symbolic = @J2.WithSelf.%J2.WithSelf.F2 (constants.%J2.WithSelf.F2)] { -// CHECK:STDOUT: %return.param_patt: @J2.WithSelf.F2.%pattern_type (%pattern_type.160) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @J2.WithSelf.F2.%pattern_type (%pattern_type.160) = return_slot_pattern %return.param_patt, %U2.ref [concrete] +// CHECK:STDOUT: %return.param_patt: @J2.WithSelf.F2.%pattern_type (%pattern_type.089) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @J2.WithSelf.F2.%pattern_type (%pattern_type.089) = return_slot_pattern %return.param_patt, %U2.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.as_type.loc14_14.2: type = facet_access_type @J2.%Self [symbolic = %Self.as_type.loc14_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %I2.facet.loc14_14.2: %I2.type = facet_value %Self.as_type.loc14_14.2, (constants.%I2.lookup_impl_witness.d11) [symbolic = %I2.facet.loc14_14.1 (constants.%I2.facet.975)] -// CHECK:STDOUT: %.loc14_14.3: %I2.type = converted @J2.%Self, %I2.facet.loc14_14.2 [symbolic = %I2.facet.loc14_14.1 (constants.%I2.facet.975)] -// CHECK:STDOUT: %impl.elem0.loc14_14.2: type = impl_witness_access constants.%I2.lookup_impl_witness.d11, element0 [symbolic = %impl.elem0.loc14_14.1 (constants.%impl.elem0.e40)] -// CHECK:STDOUT: %U2.ref: type = name_ref U2, %impl.elem0.loc14_14.2 [symbolic = %impl.elem0.loc14_14.1 (constants.%impl.elem0.e40)] -// CHECK:STDOUT: %.loc14_14.4: Core.Form = init_form %U2.ref [symbolic = %.loc14_14.2 (constants.%.1d9)] -// CHECK:STDOUT: %return.param: ref @J2.WithSelf.F2.%impl.elem0.loc14_14.1 (%impl.elem0.e40) = out_param call_param0 -// CHECK:STDOUT: %return: ref @J2.WithSelf.F2.%impl.elem0.loc14_14.1 (%impl.elem0.e40) = return_slot %return.param +// CHECK:STDOUT: %I2.facet.loc14_14.2: %I2.type = facet_value %Self.as_type.loc14_14.2, (constants.%I2.lookup_impl_witness.62a) [symbolic = %I2.facet.loc14_14.1 (constants.%I2.facet.6d7)] +// CHECK:STDOUT: %.loc14_14.3: %I2.type = converted @J2.%Self, %I2.facet.loc14_14.2 [symbolic = %I2.facet.loc14_14.1 (constants.%I2.facet.6d7)] +// CHECK:STDOUT: %impl.elem0.loc14_14.2: type = impl_witness_access constants.%I2.lookup_impl_witness.62a, element0 [symbolic = %impl.elem0.loc14_14.1 (constants.%impl.elem0.8df)] +// CHECK:STDOUT: %U2.ref: type = name_ref U2, %impl.elem0.loc14_14.2 [symbolic = %impl.elem0.loc14_14.1 (constants.%impl.elem0.8df)] +// CHECK:STDOUT: %.loc14_14.4: Core.Form = init_form %U2.ref [symbolic = %.loc14_14.2 (constants.%.72e)] +// CHECK:STDOUT: %return.param: ref @J2.WithSelf.F2.%impl.elem0.loc14_14.1 (%impl.elem0.8df) = out_param call_param0 +// CHECK:STDOUT: %return: ref @J2.WithSelf.F2.%impl.elem0.loc14_14.1 (%impl.elem0.8df) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0: %J2.assoc_type = assoc_entity element0, %J2.WithSelf.F2.decl [concrete = constants.%assoc0.de3] +// CHECK:STDOUT: %assoc0: %J2.assoc_type = assoc_entity element0, %J2.WithSelf.F2.decl [concrete = constants.%assoc0.660] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -133,29 +133,29 @@ interface C { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @J2.WithSelf.F2(@J2.%Self: %J2.type) { -// CHECK:STDOUT: %Self: %J2.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.075)] +// CHECK:STDOUT: %Self: %J2.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.4da)] // CHECK:STDOUT: %Self.as_type.loc14_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc14_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %.loc14_14.1: require_specific_def_type = require_specific_def @V.as_type.as.I2.impl(%Self) [symbolic = %.loc14_14.1 (constants.%.6be)] -// CHECK:STDOUT: %I2.lookup_impl_witness: = lookup_impl_witness %Self, @I2 [symbolic = %I2.lookup_impl_witness (constants.%I2.lookup_impl_witness.d11)] -// CHECK:STDOUT: %I2.facet.loc14_14.1: %I2.type = facet_value %Self.as_type.loc14_14.1, (%I2.lookup_impl_witness) [symbolic = %I2.facet.loc14_14.1 (constants.%I2.facet.975)] -// CHECK:STDOUT: %impl.elem0.loc14_14.1: type = impl_witness_access %I2.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_14.1 (constants.%impl.elem0.e40)] -// CHECK:STDOUT: %.loc14_14.2: Core.Form = init_form %impl.elem0.loc14_14.1 [symbolic = %.loc14_14.2 (constants.%.1d9)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %impl.elem0.loc14_14.1 [symbolic = %pattern_type (constants.%pattern_type.160)] +// CHECK:STDOUT: %.loc14_14.1: require_specific_def_type = require_specific_def @V.as_type.as.I2.impl(%Self) [symbolic = %.loc14_14.1 (constants.%.049)] +// CHECK:STDOUT: %I2.lookup_impl_witness: = lookup_impl_witness %Self, @I2 [symbolic = %I2.lookup_impl_witness (constants.%I2.lookup_impl_witness.62a)] +// CHECK:STDOUT: %I2.facet.loc14_14.1: %I2.type = facet_value %Self.as_type.loc14_14.1, (%I2.lookup_impl_witness) [symbolic = %I2.facet.loc14_14.1 (constants.%I2.facet.6d7)] +// CHECK:STDOUT: %impl.elem0.loc14_14.1: type = impl_witness_access %I2.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_14.1 (constants.%impl.elem0.8df)] +// CHECK:STDOUT: %.loc14_14.2: Core.Form = init_form %impl.elem0.loc14_14.1 [symbolic = %.loc14_14.2 (constants.%.72e)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %impl.elem0.loc14_14.1 [symbolic = %pattern_type (constants.%pattern_type.089)] // CHECK:STDOUT: -// CHECK:STDOUT: fn() -> out %return.param: @J2.WithSelf.F2.%impl.elem0.loc14_14.1 (%impl.elem0.e40); +// CHECK:STDOUT: fn() -> out %return.param: @J2.WithSelf.F2.%impl.elem0.loc14_14.1 (%impl.elem0.8df); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @J2.WithSelf(constants.%Self.075) {} +// CHECK:STDOUT: specific @J2.WithSelf(constants.%Self.4da) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J2.WithSelf.F2(constants.%Self.075) { -// CHECK:STDOUT: %Self => constants.%Self.075 +// CHECK:STDOUT: specific @J2.WithSelf.F2(constants.%Self.4da) { +// CHECK:STDOUT: %Self => constants.%Self.4da // CHECK:STDOUT: %Self.as_type.loc14_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %.loc14_14.1 => constants.%.6be -// CHECK:STDOUT: %I2.lookup_impl_witness => constants.%I2.lookup_impl_witness.d11 -// CHECK:STDOUT: %I2.facet.loc14_14.1 => constants.%I2.facet.975 -// CHECK:STDOUT: %impl.elem0.loc14_14.1 => constants.%impl.elem0.e40 -// CHECK:STDOUT: %.loc14_14.2 => constants.%.1d9 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.160 +// CHECK:STDOUT: %.loc14_14.1 => constants.%.049 +// CHECK:STDOUT: %I2.lookup_impl_witness => constants.%I2.lookup_impl_witness.62a +// CHECK:STDOUT: %I2.facet.loc14_14.1 => constants.%I2.facet.6d7 +// CHECK:STDOUT: %impl.elem0.loc14_14.1 => constants.%impl.elem0.8df +// CHECK:STDOUT: %.loc14_14.2 => constants.%.72e +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.089 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- call_with_compound_member_access.carbon @@ -173,8 +173,8 @@ interface C { // CHECK:STDOUT: %C.WithSelf.G.type: type = fn_type @C.WithSelf.G, @C.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %C.WithSelf.G: %C.WithSelf.G.type = struct_value () [symbolic] // CHECK:STDOUT: %C.lookup_impl_witness: = lookup_impl_witness %Self, @C [symbolic] -// CHECK:STDOUT: %.356: type = fn_type_with_self_type %C.WithSelf.F.type, %Self [symbolic] -// CHECK:STDOUT: %impl.elem0: %.356 = impl_witness_access %C.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %.c95: type = fn_type_with_self_type %C.WithSelf.F.type, %Self [symbolic] +// CHECK:STDOUT: %impl.elem0: %.c95 = impl_witness_access %C.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @C.WithSelf.F(%Self) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -199,23 +199,23 @@ interface C { // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: %C.WithSelf.F.type: type = fn_type @C.WithSelf.F, @C.WithSelf(%Self) [symbolic = %C.WithSelf.F.type (constants.%C.WithSelf.F.type)] -// CHECK:STDOUT: %.loc8: type = fn_type_with_self_type %C.WithSelf.F.type, %Self [symbolic = %.loc8 (constants.%.356)] +// CHECK:STDOUT: %.loc8: type = fn_type_with_self_type %C.WithSelf.F.type, %Self [symbolic = %.loc8 (constants.%.c95)] // CHECK:STDOUT: %C.lookup_impl_witness: = lookup_impl_witness %Self, @C [symbolic = %C.lookup_impl_witness (constants.%C.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc8_9.2: @C.WithSelf.G.%.loc8 (%.356) = impl_witness_access %C.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc8_9.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc8_9.2: @C.WithSelf.G.%.loc8 (%.c95) = impl_witness_access %C.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc8_9.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc8_9.2: = specific_impl_function %impl.elem0.loc8_9.2, @C.WithSelf.F(%Self) [symbolic = %specific_impl_fn.loc8_9.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @C.WithSelf.G.%Self.as_type.loc6_14.1 (%Self.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %self.ref.loc8: @C.WithSelf.G.%Self.as_type.loc6_14.1 (%Self.as_type) = name_ref self, %self // CHECK:STDOUT: %F.ref.loc8: %C.assoc_type = name_ref F, @C.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc8_9.1: @C.WithSelf.G.%.loc8 (%.356) = impl_witness_access constants.%C.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc8_9.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc8_9.1: @C.WithSelf.G.%.loc8 (%.c95) = impl_witness_access constants.%C.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc8_9.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc8_9: = bound_method %self.ref.loc8, %impl.elem0.loc8_9.1 // CHECK:STDOUT: %specific_impl_fn.loc8_9.1: = specific_impl_function %impl.elem0.loc8_9.1, @C.WithSelf.F(constants.%Self) [symbolic = %specific_impl_fn.loc8_9.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %bound_method.loc8_12: = bound_method %self.ref.loc8, %specific_impl_fn.loc8_9.1 // CHECK:STDOUT: %C.WithSelf.F.call.loc8: init %empty_tuple.type = call %bound_method.loc8_12(%self.ref.loc8) // CHECK:STDOUT: %self.ref.loc9: @C.WithSelf.G.%Self.as_type.loc6_14.1 (%Self.as_type) = name_ref self, %self -// CHECK:STDOUT: %impl.elem0.loc9: @C.WithSelf.G.%.loc8 (%.356) = impl_witness_access constants.%C.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc8_9.2 (constants.%impl.elem0)] -// CHECK:STDOUT: %F.ref.loc9: @C.WithSelf.G.%.loc8 (%.356) = name_ref F, %impl.elem0.loc9 [symbolic = %impl.elem0.loc8_9.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc9: @C.WithSelf.G.%.loc8 (%.c95) = impl_witness_access constants.%C.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc8_9.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %F.ref.loc9: @C.WithSelf.G.%.loc8 (%.c95) = name_ref F, %impl.elem0.loc9 [symbolic = %impl.elem0.loc8_9.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc9_9: = bound_method %self.ref.loc9, %F.ref.loc9 // CHECK:STDOUT: %specific_impl_fn.loc9: = specific_impl_function %F.ref.loc9, @C.WithSelf.F(constants.%Self) [symbolic = %specific_impl_fn.loc8_9.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %bound_method.loc9_14: = bound_method %self.ref.loc9, %specific_impl_fn.loc9 diff --git a/toolchain/check/testdata/interface/fail_assoc_const_bad_default.carbon b/toolchain/check/testdata/interface/fail_assoc_const_bad_default.carbon index d8f50ec5d4bc..8a8a71b35d52 100644 --- a/toolchain/check/testdata/interface/fail_assoc_const_bad_default.carbon +++ b/toolchain/check/testdata/interface/fail_assoc_const_bad_default.carbon @@ -27,12 +27,12 @@ interface I { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.cd6: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.780: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete] +// CHECK:STDOUT: %assoc0.ab7: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete] // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -41,7 +41,7 @@ interface I { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -54,12 +54,12 @@ interface I { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.cd6] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] { -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete = constants.%assoc0.780] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete = constants.%assoc0.ab7] // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete = constants.%int_42] // CHECK:STDOUT: %.loc23: type = converted %int_42, [concrete = ] // CHECK:STDOUT: } @@ -72,5 +72,5 @@ interface I { // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.cd6) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) {} // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_assoc_fn_invalid_use.carbon b/toolchain/check/testdata/interface/fail_assoc_fn_invalid_use.carbon index 73a46f27051c..a2952eff33a0 100644 --- a/toolchain/check/testdata/interface/fail_assoc_fn_invalid_use.carbon +++ b/toolchain/check/testdata/interface/fail_assoc_fn_invalid_use.carbon @@ -34,24 +34,24 @@ fn Use(T:! I) { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.90a: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.bea: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.79e: %I.WithSelf.F.type.bea = struct_value () [symbolic] +// CHECK:STDOUT: %pattern_type.a3c: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.d9f: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.592: %I.WithSelf.F.type.d9f = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.1e1: type = pattern_type %I.type [concrete] +// CHECK:STDOUT: %pattern_type.998: type = pattern_type %I.type [concrete] // CHECK:STDOUT: %T: %I.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Use.type: type = fn_type @Use [concrete] // CHECK:STDOUT: %Use: %Use.type = struct_value () [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.1d2: type = fn_type @I.WithSelf.F, @I.WithSelf(%T) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.805: %I.WithSelf.F.type.1d2 = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.a52: type = fn_type @I.WithSelf.F, @I.WithSelf(%T) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.08d: %I.WithSelf.F.type.a52 = struct_value () [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T, @I [symbolic] -// CHECK:STDOUT: %.a37: type = fn_type_with_self_type %I.WithSelf.F.type.1d2, %T [symbolic] -// CHECK:STDOUT: %impl.elem0: %.a37 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %require_complete: = require_complete_type %.a37 [symbolic] +// CHECK:STDOUT: %.b7f: type = fn_type_with_self_type %I.WithSelf.F.type.a52, %T [symbolic] +// CHECK:STDOUT: %impl.elem0: %.b7f = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %require_complete: = require_complete_type %.b7f [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -61,7 +61,7 @@ fn Use(T:! I) { // CHECK:STDOUT: } // CHECK:STDOUT: %I.decl: type = interface_decl @I [concrete = constants.%I.type] {} {} // CHECK:STDOUT: %Use.decl: %Use.type = fn_decl @Use [concrete = constants.%Use] { -// CHECK:STDOUT: %T.patt: %pattern_type.1e1 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.998 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8: type = splice_block %I.ref [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -76,9 +76,9 @@ fn Use(T:! I) { // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.bea) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.79e)] { -// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.90a) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type (%pattern_type.90a) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.d9f) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.592)] { +// CHECK:STDOUT: %self.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.a3c) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @I.WithSelf.F.%pattern_type (%pattern_type.a3c) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @I.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_14.1: type = splice_block %.loc5_14.2 [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] { @@ -101,7 +101,7 @@ fn Use(T:! I) { // CHECK:STDOUT: generic fn @I.WithSelf.F(@I.%Self: %I.type) { // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.90a)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc5_14.1 [symbolic = %pattern_type (constants.%pattern_type.a3c)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @I.WithSelf.F.%Self.as_type.loc5_14.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -111,10 +111,10 @@ fn Use(T:! I) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T.as_type.loc13_4.2: type = facet_access_type %T.loc8_9.1 [symbolic = %T.as_type.loc13_4.2 (constants.%T.as_type)] -// CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%T.loc8_9.1) [symbolic = %I.WithSelf.F.type (constants.%I.WithSelf.F.type.1d2)] -// CHECK:STDOUT: %.loc13_4.2: type = fn_type_with_self_type %I.WithSelf.F.type, %T.loc8_9.1 [symbolic = %.loc13_4.2 (constants.%.a37)] +// CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%T.loc8_9.1) [symbolic = %I.WithSelf.F.type (constants.%I.WithSelf.F.type.a52)] +// CHECK:STDOUT: %.loc13_4.2: type = fn_type_with_self_type %I.WithSelf.F.type, %T.loc8_9.1 [symbolic = %.loc13_4.2 (constants.%.b7f)] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T.loc8_9.1, @I [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc13_4.2: @Use.%.loc13_4.2 (%.a37) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc13_4.2: @Use.%.loc13_4.2 (%.b7f) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %require_complete: = require_complete_type %.loc13_4.2 [symbolic = %require_complete (constants.%require_complete)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { @@ -123,7 +123,7 @@ fn Use(T:! I) { // CHECK:STDOUT: %T.as_type.loc13_4.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc13_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %.loc13_4.1: type = converted %T.ref, %T.as_type.loc13_4.1 [symbolic = %T.as_type.loc13_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc13_4.1: @Use.%.loc13_4.2 (%.a37) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc13_4.1: @Use.%.loc13_4.2 (%.b7f) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -131,14 +131,14 @@ fn Use(T:! I) { // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.bea -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.79e +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d9f +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.592 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc5_14.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.90a +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a3c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Use(constants.%T) { @@ -148,7 +148,7 @@ fn Use(T:! I) { // CHECK:STDOUT: specific @I.WithSelf(constants.%T) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%T -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.1d2 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.805 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a52 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.08d // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_definition_imported.carbon b/toolchain/check/testdata/interface/fail_definition_imported.carbon index ded13e108523..4aca4920c0c7 100644 --- a/toolchain/check/testdata/interface/fail_definition_imported.carbon +++ b/toolchain/check/testdata/interface/fail_definition_imported.carbon @@ -51,13 +51,13 @@ interface I {} // CHECK:STDOUT: --- fail_b.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %I.type.df32a6.1: type = facet_type <@I.1> [concrete] -// CHECK:STDOUT: %I.type.df32a6.2: type = facet_type <@I.loc13> [concrete] -// CHECK:STDOUT: %Self: %I.type.df32a6.2 = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %I.type.4048ab.1: type = facet_type <@I.1> [concrete] +// CHECK:STDOUT: %I.type.4048ab.2: type = facet_type <@I.loc13> [concrete] +// CHECK:STDOUT: %Self: %I.type.4048ab.2 = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.I: type = import_ref Main//a, I, loaded [concrete = constants.%I.type.df32a6.1] +// CHECK:STDOUT: %Main.I: type = import_ref Main//a, I, loaded [concrete = constants.%I.type.4048ab.1] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -65,13 +65,13 @@ interface I {} // CHECK:STDOUT: .I = imports.%Main.I // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import -// CHECK:STDOUT: %I.decl: type = interface_decl @I.loc13 [concrete = constants.%I.type.df32a6.2] {} {} +// CHECK:STDOUT: %I.decl: type = interface_decl @I.loc13 [concrete = constants.%I.type.4048ab.2] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I.1 [from "a.carbon"]; // CHECK:STDOUT: // CHECK:STDOUT: interface @I.loc13 { -// CHECK:STDOUT: %Self: %I.type.df32a6.2 = symbolic_binding Self, 0 [symbolic = constants.%Self] +// CHECK:STDOUT: %Self: %I.type.4048ab.2 = symbolic_binding Self, 0 [symbolic = constants.%Self] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I.loc13 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: diff --git a/toolchain/check/testdata/interface/fail_duplicate.carbon b/toolchain/check/testdata/interface/fail_duplicate.carbon index 061d2818ea4d..4b2184c81b9d 100644 --- a/toolchain/check/testdata/interface/fail_duplicate.carbon +++ b/toolchain/check/testdata/interface/fail_duplicate.carbon @@ -77,11 +77,11 @@ interface Class { } // CHECK:STDOUT: --- fail_redefine_without_dependents.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %Interface.type.16dba4.1: type = facet_type <@Interface.loc4> [concrete] -// CHECK:STDOUT: %Self.7b6fd4.1: %Interface.type.16dba4.1 = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Interface.type.16dba4.2: type = facet_type <@Interface.loc13> [concrete] -// CHECK:STDOUT: %Self.7b6fd4.2: %Interface.type.16dba4.2 = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Interface.WithSelf.F.type: type = fn_type @Interface.WithSelf.F, @Interface.WithSelf.loc13(%Self.7b6fd4.2) [symbolic] +// CHECK:STDOUT: %Interface.type.e7878b.1: type = facet_type <@Interface.loc4> [concrete] +// CHECK:STDOUT: %Self.b546a4.1: %Interface.type.e7878b.1 = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Interface.type.e7878b.2: type = facet_type <@Interface.loc13> [concrete] +// CHECK:STDOUT: %Self.b546a4.2: %Interface.type.e7878b.2 = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Interface.WithSelf.F.type: type = fn_type @Interface.WithSelf.F, @Interface.WithSelf.loc13(%Self.b546a4.2) [symbolic] // CHECK:STDOUT: %Interface.WithSelf.F: %Interface.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %Interface.assoc_type: type = assoc_entity_type @Interface.loc13 [concrete] // CHECK:STDOUT: %assoc0: %Interface.assoc_type = assoc_entity element0, @Interface.WithSelf.loc13.%Interface.WithSelf.F.decl [concrete] @@ -91,12 +91,12 @@ interface Class { } // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .Interface = %Interface.decl.loc4 // CHECK:STDOUT: } -// CHECK:STDOUT: %Interface.decl.loc4: type = interface_decl @Interface.loc4 [concrete = constants.%Interface.type.16dba4.1] {} {} -// CHECK:STDOUT: %Interface.decl.loc13: type = interface_decl @Interface.loc13 [concrete = constants.%Interface.type.16dba4.2] {} {} +// CHECK:STDOUT: %Interface.decl.loc4: type = interface_decl @Interface.loc4 [concrete = constants.%Interface.type.e7878b.1] {} {} +// CHECK:STDOUT: %Interface.decl.loc13: type = interface_decl @Interface.loc13 [concrete = constants.%Interface.type.e7878b.2] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Interface.loc4 { -// CHECK:STDOUT: %Self: %Interface.type.16dba4.1 = symbolic_binding Self, 0 [symbolic = constants.%Self.7b6fd4.1] +// CHECK:STDOUT: %Self: %Interface.type.e7878b.1 = symbolic_binding Self, 0 [symbolic = constants.%Self.b546a4.1] // CHECK:STDOUT: %Interface.WithSelf.decl = interface_with_self_decl @Interface.loc4 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -107,7 +107,7 @@ interface Class { } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Interface.loc13 { -// CHECK:STDOUT: %Self: %Interface.type.16dba4.2 = symbolic_binding Self, 0 [symbolic = constants.%Self.7b6fd4.2] +// CHECK:STDOUT: %Self: %Interface.type.e7878b.2 = symbolic_binding Self, 0 [symbolic = constants.%Self.b546a4.2] // CHECK:STDOUT: %Interface.WithSelf.decl = interface_with_self_decl @Interface.loc13 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -122,26 +122,26 @@ interface Class { } // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Interface.WithSelf.F(@Interface.loc13.%Self: %Interface.type.16dba4.2) { +// CHECK:STDOUT: generic fn @Interface.WithSelf.F(@Interface.loc13.%Self: %Interface.type.e7878b.2) { // CHECK:STDOUT: fn(); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf.loc4(constants.%Self.7b6fd4.1) {} +// CHECK:STDOUT: specific @Interface.WithSelf.loc4(constants.%Self.b546a4.1) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf.loc13(constants.%Self.7b6fd4.2) {} +// CHECK:STDOUT: specific @Interface.WithSelf.loc13(constants.%Self.b546a4.2) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf.F(constants.%Self.7b6fd4.2) {} +// CHECK:STDOUT: specific @Interface.WithSelf.F(constants.%Self.b546a4.2) {} // CHECK:STDOUT: // CHECK:STDOUT: --- fail_redefine_with_dependents.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %Interface.type.369601.1: type = facet_type <@Interface.loc4> [concrete] -// CHECK:STDOUT: %Self.93b2a4.1: %Interface.type.369601.1 = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Interface.type.369601.2: type = facet_type <@Interface.loc13> [concrete] -// CHECK:STDOUT: %Self.93b2a4.2: %Interface.type.369601.2 = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.93b2a4.2 [symbolic] +// CHECK:STDOUT: %Interface.type.e7878b.1: type = facet_type <@Interface.loc4> [concrete] +// CHECK:STDOUT: %Self.b546a4.1: %Interface.type.e7878b.1 = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Interface.type.e7878b.2: type = facet_type <@Interface.loc13> [concrete] +// CHECK:STDOUT: %Self.b546a4.2: %Interface.type.e7878b.2 = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.b546a4.2 [symbolic] // CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %Interface.WithSelf.F.type: type = fn_type @Interface.WithSelf.F, @Interface.WithSelf.loc13(%Self.93b2a4.2) [symbolic] +// CHECK:STDOUT: %Interface.WithSelf.F.type: type = fn_type @Interface.WithSelf.F, @Interface.WithSelf.loc13(%Self.b546a4.2) [symbolic] // CHECK:STDOUT: %Interface.WithSelf.F: %Interface.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %Interface.assoc_type: type = assoc_entity_type @Interface.loc13 [concrete] // CHECK:STDOUT: %assoc0: %Interface.assoc_type = assoc_entity element0, @Interface.WithSelf.loc13.%Interface.WithSelf.F.decl [concrete] @@ -151,12 +151,12 @@ interface Class { } // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .Interface = %Interface.decl.loc4 // CHECK:STDOUT: } -// CHECK:STDOUT: %Interface.decl.loc4: type = interface_decl @Interface.loc4 [concrete = constants.%Interface.type.369601.1] {} {} -// CHECK:STDOUT: %Interface.decl.loc13: type = interface_decl @Interface.loc13 [concrete = constants.%Interface.type.369601.2] {} {} +// CHECK:STDOUT: %Interface.decl.loc4: type = interface_decl @Interface.loc4 [concrete = constants.%Interface.type.e7878b.1] {} {} +// CHECK:STDOUT: %Interface.decl.loc13: type = interface_decl @Interface.loc13 [concrete = constants.%Interface.type.e7878b.2] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Interface.loc4 { -// CHECK:STDOUT: %Self: %Interface.type.369601.1 = symbolic_binding Self, 0 [symbolic = constants.%Self.93b2a4.1] +// CHECK:STDOUT: %Self: %Interface.type.e7878b.1 = symbolic_binding Self, 0 [symbolic = constants.%Self.b546a4.1] // CHECK:STDOUT: %Interface.WithSelf.decl = interface_with_self_decl @Interface.loc4 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -167,7 +167,7 @@ interface Class { } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Interface.loc13 { -// CHECK:STDOUT: %Self: %Interface.type.369601.2 = symbolic_binding Self, 0 [symbolic = constants.%Self.93b2a4.2] +// CHECK:STDOUT: %Self: %Interface.type.e7878b.2 = symbolic_binding Self, 0 [symbolic = constants.%Self.b546a4.2] // CHECK:STDOUT: %Interface.WithSelf.decl = interface_with_self_decl @Interface.loc13 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -177,7 +177,7 @@ interface Class { } // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @Interface.WithSelf.F.%Self.as_type.loc14_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc14_14.1: type = splice_block %.loc14_14.2 [symbolic = %Self.as_type.loc14_14.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %Self.ref: %Interface.type.369601.2 = name_ref Self, @Interface.loc13.%Self [symbolic = %Self (constants.%Self.93b2a4.2)] +// CHECK:STDOUT: %Self.ref: %Interface.type.e7878b.2 = name_ref Self, @Interface.loc13.%Self [symbolic = %Self (constants.%Self.b546a4.2)] // CHECK:STDOUT: %Self.as_type.loc14_14.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc14_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc14_14.2: type = converted %Self.ref, %Self.as_type.loc14_14.2 [symbolic = %Self.as_type.loc14_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: } @@ -193,20 +193,20 @@ interface Class { } // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Interface.WithSelf.F(@Interface.loc13.%Self: %Interface.type.369601.2) { -// CHECK:STDOUT: %Self: %Interface.type.369601.2 = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.93b2a4.2)] +// CHECK:STDOUT: generic fn @Interface.WithSelf.F(@Interface.loc13.%Self: %Interface.type.e7878b.2) { +// CHECK:STDOUT: %Self: %Interface.type.e7878b.2 = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.b546a4.2)] // CHECK:STDOUT: %Self.as_type.loc14_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc14_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc14_14.1 [symbolic = %pattern_type (constants.%pattern_type)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @Interface.WithSelf.F.%Self.as_type.loc14_14.1 (%Self.as_type)); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf.loc4(constants.%Self.93b2a4.1) {} +// CHECK:STDOUT: specific @Interface.WithSelf.loc4(constants.%Self.b546a4.1) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf.loc13(constants.%Self.93b2a4.2) {} +// CHECK:STDOUT: specific @Interface.WithSelf.loc13(constants.%Self.b546a4.2) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf.F(constants.%Self.93b2a4.2) { -// CHECK:STDOUT: %Self => constants.%Self.93b2a4.2 +// CHECK:STDOUT: specific @Interface.WithSelf.F(constants.%Self.b546a4.2) { +// CHECK:STDOUT: %Self => constants.%Self.b546a4.2 // CHECK:STDOUT: %Self.as_type.loc14_14.1 => constants.%Self.as_type // CHECK:STDOUT: %pattern_type => constants.%pattern_type // CHECK:STDOUT: } @@ -214,17 +214,17 @@ interface Class { } // CHECK:STDOUT: --- fail_name_conflict_with_fn.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %Function.type.153: type = fn_type @Function.loc4 [concrete] -// CHECK:STDOUT: %Function: %Function.type.153 = struct_value () [concrete] -// CHECK:STDOUT: %Function.type.ed4: type = facet_type <@Function.loc13> [concrete] +// CHECK:STDOUT: %Function.type.fe9: type = fn_type @Function.loc4 [concrete] +// CHECK:STDOUT: %Function: %Function.type.fe9 = struct_value () [concrete] +// CHECK:STDOUT: %Function.type.7ff: type = facet_type <@Function.loc13> [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .Function = %Function.decl.loc4 // CHECK:STDOUT: } -// CHECK:STDOUT: %Function.decl.loc4: %Function.type.153 = fn_decl @Function.loc4 [concrete = constants.%Function] {} {} -// CHECK:STDOUT: %Function.decl.loc13: type = interface_decl @Function.loc13 [concrete = constants.%Function.type.ed4] {} {} +// CHECK:STDOUT: %Function.decl.loc4: %Function.type.fe9 = fn_decl @Function.loc4 [concrete = constants.%Function] {} {} +// CHECK:STDOUT: %Function.decl.loc13: type = interface_decl @Function.loc13 [concrete = constants.%Function.type.7ff] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Function.loc13; diff --git a/toolchain/check/testdata/interface/fail_generic_redeclaration.carbon b/toolchain/check/testdata/interface/fail_generic_redeclaration.carbon index 91bf5b2efb45..53c78946ef65 100644 --- a/toolchain/check/testdata/interface/fail_generic_redeclaration.carbon +++ b/toolchain/check/testdata/interface/fail_generic_redeclaration.carbon @@ -45,29 +45,29 @@ interface DifferentParams(T:! ()) {} // CHECK:STDOUT: --- fail_generic_redeclaration.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %NotGeneric.type.d1b: type = facet_type <@NotGeneric.loc15> [concrete] +// CHECK:STDOUT: %NotGeneric.type.826: type = facet_type <@NotGeneric.loc15> [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %NotGeneric.type.92a: type = generic_interface_type @NotGeneric.loc23 [concrete] +// CHECK:STDOUT: %NotGeneric.type.5b7: type = generic_interface_type @NotGeneric.loc23 [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %NotGeneric.generic: %NotGeneric.type.92a = struct_value () [concrete] -// CHECK:STDOUT: %NotGeneric.type.3f5: type = facet_type <@NotGeneric.loc23, @NotGeneric.loc23(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.c60: %NotGeneric.type.3f5 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Generic.type.c0b: type = generic_interface_type @Generic.loc25 [concrete] -// CHECK:STDOUT: %Generic.generic: %Generic.type.c0b = struct_value () [concrete] -// CHECK:STDOUT: %Generic.type.f69: type = facet_type <@Generic.loc33> [concrete] -// CHECK:STDOUT: %Self.560: %Generic.type.f69 = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %DifferentParams.type.74015f.1: type = generic_interface_type @DifferentParams.loc35 [concrete] -// CHECK:STDOUT: %DifferentParams.generic.6c8256.1: %DifferentParams.type.74015f.1 = struct_value () [concrete] +// CHECK:STDOUT: %NotGeneric.generic: %NotGeneric.type.5b7 = struct_value () [concrete] +// CHECK:STDOUT: %NotGeneric.type.319: type = facet_type <@NotGeneric.loc23, @NotGeneric.loc23(%T.67d)> [symbolic] +// CHECK:STDOUT: %Self.370: %NotGeneric.type.319 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.type.df8: type = generic_interface_type @Generic.loc25 [concrete] +// CHECK:STDOUT: %Generic.generic: %Generic.type.df8 = struct_value () [concrete] +// CHECK:STDOUT: %Generic.type.d70: type = facet_type <@Generic.loc33> [concrete] +// CHECK:STDOUT: %Self.5b2: %Generic.type.d70 = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %DifferentParams.type.577ff4.1: type = generic_interface_type @DifferentParams.loc35 [concrete] +// CHECK:STDOUT: %DifferentParams.generic.be45ef.1: %DifferentParams.type.577ff4.1 = struct_value () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %T.d5f: %empty_tuple.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %DifferentParams.type.74015f.2: type = generic_interface_type @DifferentParams.loc43 [concrete] -// CHECK:STDOUT: %DifferentParams.generic.6c8256.2: %DifferentParams.type.74015f.2 = struct_value () [concrete] -// CHECK:STDOUT: %DifferentParams.type.ca0: type = facet_type <@DifferentParams.loc43, @DifferentParams.loc43(%T.d5f)> [symbolic] -// CHECK:STDOUT: %Self.250: %DifferentParams.type.ca0 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %DifferentParams.type.577ff4.2: type = generic_interface_type @DifferentParams.loc43 [concrete] +// CHECK:STDOUT: %DifferentParams.generic.be45ef.2: %DifferentParams.type.577ff4.2 = struct_value () [concrete] +// CHECK:STDOUT: %DifferentParams.type.2cc: type = facet_type <@DifferentParams.loc43, @DifferentParams.loc43(%T.d5f)> [symbolic] +// CHECK:STDOUT: %Self.341: %DifferentParams.type.2cc = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -76,8 +76,8 @@ interface DifferentParams(T:! ()) {} // CHECK:STDOUT: .Generic = %Generic.decl.loc25 // CHECK:STDOUT: .DifferentParams = %DifferentParams.decl.loc35 // CHECK:STDOUT: } -// CHECK:STDOUT: %NotGeneric.decl.loc15: type = interface_decl @NotGeneric.loc15 [concrete = constants.%NotGeneric.type.d1b] {} {} -// CHECK:STDOUT: %NotGeneric.decl.loc23: %NotGeneric.type.92a = interface_decl @NotGeneric.loc23 [concrete = constants.%NotGeneric.generic] { +// CHECK:STDOUT: %NotGeneric.decl.loc15: type = interface_decl @NotGeneric.loc15 [concrete = constants.%NotGeneric.type.826] {} {} +// CHECK:STDOUT: %NotGeneric.decl.loc23: %NotGeneric.type.5b7 = interface_decl @NotGeneric.loc23 [concrete = constants.%NotGeneric.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc23_26.1: type = splice_block %.loc23_26.2 [concrete = type] { @@ -86,7 +86,7 @@ interface DifferentParams(T:! ()) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc23_23.2: type = symbolic_binding T, 0 [symbolic = %T.loc23_23.1 (constants.%T.67d)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Generic.decl.loc25: %Generic.type.c0b = interface_decl @Generic.loc25 [concrete = constants.%Generic.generic] { +// CHECK:STDOUT: %Generic.decl.loc25: %Generic.type.df8 = interface_decl @Generic.loc25 [concrete = constants.%Generic.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc25_23.1: type = splice_block %.loc25_23.2 [concrete = type] { @@ -95,8 +95,8 @@ interface DifferentParams(T:! ()) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc25_20.2: type = symbolic_binding T, 0 [symbolic = %T.loc25_20.1 (constants.%T.67d)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Generic.decl.loc33: type = interface_decl @Generic.loc33 [concrete = constants.%Generic.type.f69] {} {} -// CHECK:STDOUT: %DifferentParams.decl.loc35: %DifferentParams.type.74015f.1 = interface_decl @DifferentParams.loc35 [concrete = constants.%DifferentParams.generic.6c8256.1] { +// CHECK:STDOUT: %Generic.decl.loc33: type = interface_decl @Generic.loc33 [concrete = constants.%Generic.type.d70] {} {} +// CHECK:STDOUT: %DifferentParams.decl.loc35: %DifferentParams.type.577ff4.1 = interface_decl @DifferentParams.loc35 [concrete = constants.%DifferentParams.generic.be45ef.1] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc35_31.1: type = splice_block %.loc35_31.2 [concrete = type] { @@ -105,7 +105,7 @@ interface DifferentParams(T:! ()) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc35_28.2: type = symbolic_binding T, 0 [symbolic = %T.loc35_28.1 (constants.%T.67d)] // CHECK:STDOUT: } -// CHECK:STDOUT: %DifferentParams.decl.loc43: %DifferentParams.type.74015f.2 = interface_decl @DifferentParams.loc43 [concrete = constants.%DifferentParams.generic.6c8256.2] { +// CHECK:STDOUT: %DifferentParams.decl.loc43: %DifferentParams.type.577ff4.2 = interface_decl @DifferentParams.loc43 [concrete = constants.%DifferentParams.generic.be45ef.2] { // CHECK:STDOUT: %T.patt: %pattern_type.cb1 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc43_32.1: type = splice_block %.loc43_32.3 [concrete = constants.%empty_tuple.type] { @@ -123,11 +123,11 @@ interface DifferentParams(T:! ()) {} // CHECK:STDOUT: %T.loc23_23.1: type = symbolic_binding T, 0 [symbolic = %T.loc23_23.1 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %NotGeneric.type: type = facet_type <@NotGeneric.loc23, @NotGeneric.loc23(%T.loc23_23.1)> [symbolic = %NotGeneric.type (constants.%NotGeneric.type.3f5)] -// CHECK:STDOUT: %Self.loc23_32.2: @NotGeneric.loc23.%NotGeneric.type (%NotGeneric.type.3f5) = symbolic_binding Self, 1 [symbolic = %Self.loc23_32.2 (constants.%Self.c60)] +// CHECK:STDOUT: %NotGeneric.type: type = facet_type <@NotGeneric.loc23, @NotGeneric.loc23(%T.loc23_23.1)> [symbolic = %NotGeneric.type (constants.%NotGeneric.type.319)] +// CHECK:STDOUT: %Self.loc23_32.2: @NotGeneric.loc23.%NotGeneric.type (%NotGeneric.type.319) = symbolic_binding Self, 1 [symbolic = %Self.loc23_32.2 (constants.%Self.370)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc23_32.1: @NotGeneric.loc23.%NotGeneric.type (%NotGeneric.type.3f5) = symbolic_binding Self, 1 [symbolic = %Self.loc23_32.2 (constants.%Self.c60)] +// CHECK:STDOUT: %Self.loc23_32.1: @NotGeneric.loc23.%NotGeneric.type (%NotGeneric.type.319) = symbolic_binding Self, 1 [symbolic = %Self.loc23_32.2 (constants.%Self.370)] // CHECK:STDOUT: %NotGeneric.WithSelf.decl = interface_with_self_decl @NotGeneric.loc23 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -145,7 +145,7 @@ interface DifferentParams(T:! ()) {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Generic.loc33 { -// CHECK:STDOUT: %Self: %Generic.type.f69 = symbolic_binding Self, 0 [symbolic = constants.%Self.560] +// CHECK:STDOUT: %Self: %Generic.type.d70 = symbolic_binding Self, 0 [symbolic = constants.%Self.5b2] // CHECK:STDOUT: %Generic.WithSelf.decl = interface_with_self_decl @Generic.loc33 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -165,11 +165,11 @@ interface DifferentParams(T:! ()) {} // CHECK:STDOUT: %T.loc43_28.1: %empty_tuple.type = symbolic_binding T, 0 [symbolic = %T.loc43_28.1 (constants.%T.d5f)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %DifferentParams.type: type = facet_type <@DifferentParams.loc43, @DifferentParams.loc43(%T.loc43_28.1)> [symbolic = %DifferentParams.type (constants.%DifferentParams.type.ca0)] -// CHECK:STDOUT: %Self.loc43_35.2: @DifferentParams.loc43.%DifferentParams.type (%DifferentParams.type.ca0) = symbolic_binding Self, 1 [symbolic = %Self.loc43_35.2 (constants.%Self.250)] +// CHECK:STDOUT: %DifferentParams.type: type = facet_type <@DifferentParams.loc43, @DifferentParams.loc43(%T.loc43_28.1)> [symbolic = %DifferentParams.type (constants.%DifferentParams.type.2cc)] +// CHECK:STDOUT: %Self.loc43_35.2: @DifferentParams.loc43.%DifferentParams.type (%DifferentParams.type.2cc) = symbolic_binding Self, 1 [symbolic = %Self.loc43_35.2 (constants.%Self.341)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc43_35.1: @DifferentParams.loc43.%DifferentParams.type (%DifferentParams.type.ca0) = symbolic_binding Self, 1 [symbolic = %Self.loc43_35.2 (constants.%Self.250)] +// CHECK:STDOUT: %Self.loc43_35.1: @DifferentParams.loc43.%DifferentParams.type (%DifferentParams.type.2cc) = symbolic_binding Self, 1 [symbolic = %Self.loc43_35.2 (constants.%Self.341)] // CHECK:STDOUT: %DifferentParams.WithSelf.decl = interface_with_self_decl @DifferentParams.loc43 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -184,13 +184,13 @@ interface DifferentParams(T:! ()) {} // CHECK:STDOUT: %T.loc23_23.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NotGeneric.WithSelf(constants.%T.67d, constants.%Self.c60) {} +// CHECK:STDOUT: specific @NotGeneric.WithSelf(constants.%T.67d, constants.%Self.370) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic.loc25(constants.%T.67d) { // CHECK:STDOUT: %T.loc25_20.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%Self.560) {} +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%Self.5b2) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @DifferentParams.loc35(constants.%T.67d) { // CHECK:STDOUT: %T.loc35_28.1 => constants.%T.67d @@ -200,5 +200,5 @@ interface DifferentParams(T:! ()) {} // CHECK:STDOUT: %T.loc43_28.1 => constants.%T.d5f // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DifferentParams.WithSelf(constants.%T.d5f, constants.%Self.250) {} +// CHECK:STDOUT: specific @DifferentParams.WithSelf(constants.%T.d5f, constants.%Self.341) {} // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_member_lookup.carbon b/toolchain/check/testdata/interface/fail_member_lookup.carbon index ccf8d1fbd376..616e975973ec 100644 --- a/toolchain/check/testdata/interface/fail_member_lookup.carbon +++ b/toolchain/check/testdata/interface/fail_member_lookup.carbon @@ -50,22 +50,22 @@ fn G(U:! Different) -> U.(Interface.T); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Interface.type: type = facet_type <@Interface> [concrete] -// CHECK:STDOUT: %Self.51c: %Interface.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Interface.WithSelf.F.type: type = fn_type @Interface.WithSelf.F, @Interface.WithSelf(%Self.51c) [symbolic] +// CHECK:STDOUT: %Self.b54: %Interface.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Interface.WithSelf.F.type: type = fn_type @Interface.WithSelf.F, @Interface.WithSelf(%Self.b54) [symbolic] // CHECK:STDOUT: %Interface.WithSelf.F: %Interface.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %Interface.assoc_type: type = assoc_entity_type @Interface [concrete] -// CHECK:STDOUT: %assoc0.063: %Interface.assoc_type = assoc_entity element0, @Interface.WithSelf.%Interface.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.7a1: %Interface.assoc_type = assoc_entity element0, @Interface.WithSelf.%Interface.WithSelf.F.decl [concrete] // CHECK:STDOUT: %assoc1: %Interface.assoc_type = assoc_entity element1, @Interface.WithSelf.%T [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Different.type: type = facet_type <@Different> [concrete] -// CHECK:STDOUT: %Self.87f: %Different.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.d5e: %Different.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.c3a: type = pattern_type %Different.type [concrete] +// CHECK:STDOUT: %pattern_type.d18: type = pattern_type %Different.type [concrete] // CHECK:STDOUT: %U: %Different.type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] @@ -79,7 +79,7 @@ fn G(U:! Different) -> U.(Interface.T); // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -96,7 +96,7 @@ fn G(U:! Different) -> U.(Interface.T); // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {} {} // CHECK:STDOUT: %Different.decl: type = interface_decl @Different [concrete = constants.%Different.type] {} {} // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %U.patt: %pattern_type.c3a = symbolic_binding_pattern U, 0 [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.d18 = symbolic_binding_pattern U, 0 [concrete] // CHECK:STDOUT: %return.patt: = return_slot_pattern , [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %U.ref: %Different.type = name_ref U, %U.loc32_7.2 [symbolic = %U.loc32_7.1 (constants.%U)] @@ -113,12 +113,12 @@ fn G(U:! Different) -> U.(Interface.T); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Interface { -// CHECK:STDOUT: %Self: %Interface.type = symbolic_binding Self, 0 [symbolic = constants.%Self.51c] +// CHECK:STDOUT: %Self: %Interface.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b54] // CHECK:STDOUT: %Interface.WithSelf.decl = interface_with_self_decl @Interface [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %Interface.WithSelf.F.decl: @Interface.WithSelf.%Interface.WithSelf.F.type (%Interface.WithSelf.F.type) = fn_decl @Interface.WithSelf.F [symbolic = @Interface.WithSelf.%Interface.WithSelf.F (constants.%Interface.WithSelf.F)] {} {} -// CHECK:STDOUT: %assoc0: %Interface.assoc_type = assoc_entity element0, %Interface.WithSelf.F.decl [concrete = constants.%assoc0.063] +// CHECK:STDOUT: %assoc0: %Interface.assoc_type = assoc_entity element0, %Interface.WithSelf.F.decl [concrete = constants.%assoc0.7a1] // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] { // CHECK:STDOUT: %assoc1: %Interface.assoc_type = assoc_entity element1, @Interface.WithSelf.%T [concrete = constants.%assoc1] // CHECK:STDOUT: } @@ -133,7 +133,7 @@ fn G(U:! Different) -> U.(Interface.T); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Different { -// CHECK:STDOUT: %Self: %Different.type = symbolic_binding Self, 0 [symbolic = constants.%Self.87f] +// CHECK:STDOUT: %Self: %Different.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d5e] // CHECK:STDOUT: %Different.WithSelf.decl = interface_with_self_decl @Different [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -150,7 +150,7 @@ fn G(U:! Different) -> U.(Interface.T); // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Interface.ref.loc14: type = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.type] -// CHECK:STDOUT: %F.ref: %Interface.assoc_type = name_ref F, @Interface.WithSelf.%assoc0 [concrete = constants.%assoc0.063] +// CHECK:STDOUT: %F.ref: %Interface.assoc_type = name_ref F, @Interface.WithSelf.%assoc0 [concrete = constants.%assoc0.7a1] // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %v.patt: = ref_binding_pattern v [concrete] // CHECK:STDOUT: %v.var_patt: = var_pattern %v.patt [concrete] @@ -173,16 +173,16 @@ fn G(U:! Different) -> U.(Interface.T); // CHECK:STDOUT: fn() -> ; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Self.51c) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Self.b54) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.51c +// CHECK:STDOUT: %Self => constants.%Self.b54 // CHECK:STDOUT: %Interface.WithSelf.F.type => constants.%Interface.WithSelf.F.type // CHECK:STDOUT: %Interface.WithSelf.F => constants.%Interface.WithSelf.F // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf.F(constants.%Self.51c) {} +// CHECK:STDOUT: specific @Interface.WithSelf.F(constants.%Self.b54) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Different.WithSelf(constants.%Self.87f) { +// CHECK:STDOUT: specific @Different.WithSelf(constants.%Self.d5e) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_todo_assoc_const_default.carbon b/toolchain/check/testdata/interface/fail_todo_assoc_const_default.carbon index d17cb33aec8d..ecd649d7e33e 100644 --- a/toolchain/check/testdata/interface/fail_todo_assoc_const_default.carbon +++ b/toolchain/check/testdata/interface/fail_todo_assoc_const_default.carbon @@ -29,34 +29,34 @@ interface I { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.cd6: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.780: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete] +// CHECK:STDOUT: %assoc0.ab7: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] // CHECK:STDOUT: %assoc1: %I.assoc_type = assoc_entity element1, @I.WithSelf.%N [concrete] // CHECK:STDOUT: %int_42.20e: Core.IntLiteral = int_value 42 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_42.bc5: %i32 = int_value 42 [concrete] +// CHECK:STDOUT: %int_42.daa: %i32 = int_value 42 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -67,9 +67,9 @@ interface I { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -82,27 +82,27 @@ interface I { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.cd6] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %T: type = assoc_const_decl @T [concrete] { -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete = constants.%assoc0.780] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete = constants.%assoc0.ab7] // CHECK:STDOUT: %i32.loc20_27: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc20_32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc20_35: %tuple.type.24b = tuple_literal (%i32.loc20_27, %i32.loc20_32) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc20_36: type = converted %.loc20_35, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] +// CHECK:STDOUT: %.loc20_36: type = converted %.loc20_35, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] // CHECK:STDOUT: } // CHECK:STDOUT: %N: %i32 = assoc_const_decl @N [concrete] { // CHECK:STDOUT: %assoc1: %I.assoc_type = assoc_entity element1, @I.WithSelf.%N [concrete = constants.%assoc1] // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete = constants.%int_42.20e] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc25_27.1: = bound_method %int_42, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc25_27.2: = bound_method %int_42, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc25_27.2(%int_42) [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc25_27.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc25_27.2: %i32 = converted %int_42, %.loc25_27.1 [concrete = constants.%int_42.bc5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc25_27.2(%int_42) [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc25_27.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc25_27.2: %i32 = converted %int_42, %.loc25_27.1 [concrete = constants.%int_42.daa] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -114,5 +114,5 @@ interface I { // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.cd6) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) {} // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/fail_todo_define_default_fn_inline.carbon b/toolchain/check/testdata/interface/fail_todo_define_default_fn_inline.carbon index 8ff915b81d6b..3880bd3b7029 100644 --- a/toolchain/check/testdata/interface/fail_todo_define_default_fn_inline.carbon +++ b/toolchain/check/testdata/interface/fail_todo_define_default_fn_inline.carbon @@ -39,8 +39,8 @@ interface Interface { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %Interface.WithSelf.G.type: type = fn_type @Interface.WithSelf.G, @Interface.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %Interface.WithSelf.G: %Interface.WithSelf.G.type = struct_value () [symbolic] // CHECK:STDOUT: %assoc1: %Interface.assoc_type = assoc_entity element1, @Interface.WithSelf.%Interface.WithSelf.G.decl [concrete] @@ -72,15 +72,15 @@ interface Interface { // CHECK:STDOUT: %Interface.WithSelf.F.decl: @Interface.WithSelf.%Interface.WithSelf.F.type (%Interface.WithSelf.F.type) = fn_decl @Interface.WithSelf.F [symbolic = @Interface.WithSelf.%Interface.WithSelf.F (constants.%Interface.WithSelf.F)] {} {} // CHECK:STDOUT: %assoc0: %Interface.assoc_type = assoc_entity element0, %Interface.WithSelf.F.decl [concrete = constants.%assoc0] // CHECK:STDOUT: %Interface.WithSelf.G.decl: @Interface.WithSelf.%Interface.WithSelf.G.type (%Interface.WithSelf.G.type) = fn_decl @Interface.WithSelf.G [symbolic = @Interface.WithSelf.%Interface.WithSelf.G (constants.%Interface.WithSelf.G)] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc26_35 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc26_35 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc26_35: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc26: Core.Form = init_form %i32.loc26_35 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc26: Core.Form = init_form %i32.loc26_35 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc26_19: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param diff --git a/toolchain/check/testdata/interface/fail_todo_define_default_fn_out_of_line.carbon b/toolchain/check/testdata/interface/fail_todo_define_default_fn_out_of_line.carbon index a69f402fefe3..382911ca7c03 100644 --- a/toolchain/check/testdata/interface/fail_todo_define_default_fn_out_of_line.carbon +++ b/toolchain/check/testdata/interface/fail_todo_define_default_fn_out_of_line.carbon @@ -67,8 +67,8 @@ fn Interface.C.F[unused self: Self](U:! type, u: U*) -> U* { return u; } // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %Interface.WithSelf.G.type: type = fn_type @Interface.WithSelf.G, @Interface.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %Interface.WithSelf.G: %Interface.WithSelf.G.type = struct_value () [symbolic] // CHECK:STDOUT: %assoc1: %Interface.assoc_type = assoc_entity element1, @Interface.WithSelf.%Interface.WithSelf.G.decl [concrete] @@ -92,15 +92,15 @@ fn Interface.C.F[unused self: Self](U:! type, u: U*) -> U* { return u; } // CHECK:STDOUT: %Interface.decl: type = interface_decl @Interface [concrete = constants.%Interface.type] {} {} // CHECK:STDOUT: %Interface.WithSelf.F.decl: %Interface.WithSelf.F.type = fn_decl @Interface.WithSelf.F [symbolic = constants.%Interface.WithSelf.F] {} {} // CHECK:STDOUT: %Interface.WithSelf.G.decl: %Interface.WithSelf.G.type = fn_decl @Interface.WithSelf.G [symbolic = constants.%Interface.WithSelf.G] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc18_35 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc18_35 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc18_35: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc18: Core.Form = init_form %i32.loc18_35 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc18: Core.Form = init_form %i32.loc18_35 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param.loc18: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc18_19: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a.loc18: %i32 = value_binding a, %a.param.loc18 @@ -120,15 +120,15 @@ fn Interface.C.F[unused self: Self](U:! type, u: U*) -> U* { return u; } // CHECK:STDOUT: %Interface.WithSelf.F.decl: @Interface.WithSelf.%Interface.WithSelf.F.type (%Interface.WithSelf.F.type) = fn_decl @Interface.WithSelf.F [symbolic = @Interface.WithSelf.%Interface.WithSelf.F (constants.%Interface.WithSelf.F)] {} {} // CHECK:STDOUT: %assoc0: %Interface.assoc_type = assoc_entity element0, %Interface.WithSelf.F.decl [concrete = constants.%assoc0] // CHECK:STDOUT: %Interface.WithSelf.G.decl: @Interface.WithSelf.%Interface.WithSelf.G.type (%Interface.WithSelf.G.type) = fn_decl @Interface.WithSelf.G [symbolic = @Interface.WithSelf.%Interface.WithSelf.G (constants.%Interface.WithSelf.G)] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc18_35 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc18_35 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc13_35: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc13: Core.Form = init_form %i32.loc13_35 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc13: Core.Form = init_form %i32.loc13_35 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param.loc13: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc13_19: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a.loc13: %i32 = value_binding a, %a.param.loc13 @@ -174,9 +174,9 @@ fn Interface.C.F[unused self: Self](U:! type, u: U*) -> U* { return u; } // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Interface.type: type = facet_type <@Interface> [concrete] -// CHECK:STDOUT: %Self.d93: %Interface.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %C: type = class_type @C, @C(%Self.d93) [symbolic] -// CHECK:STDOUT: %pattern_type.128: type = pattern_type %C [symbolic] +// CHECK:STDOUT: %Self.b54: %Interface.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %C: type = class_type @C, @C(%Self.b54) [symbolic] +// CHECK:STDOUT: %pattern_type.528: type = pattern_type %C [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] @@ -184,20 +184,20 @@ fn Interface.C.F[unused self: Self](U:! type, u: U*) -> U* { return u; } // CHECK:STDOUT: %ptr.18e: type = ptr_type %U.091 [symbolic] // CHECK:STDOUT: %pattern_type.423: type = pattern_type %ptr.18e [symbolic] // CHECK:STDOUT: %.6d8: Core.Form = init_form %ptr.18e [symbolic] -// CHECK:STDOUT: %C.F.type: type = fn_type @C.F, @C(%Self.d93) [symbolic] +// CHECK:STDOUT: %C.F.type: type = fn_type @C.F, @C(%Self.b54) [symbolic] // CHECK:STDOUT: %C.F: %C.F.type = struct_value () [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %require_complete.c81: = require_complete_type %C [symbolic] +// CHECK:STDOUT: %require_complete.b28: = require_complete_type %C [symbolic] // CHECK:STDOUT: %require_complete.56d: = require_complete_type %ptr.18e [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.lookup_impl_witness.dd7: = lookup_impl_witness %ptr.18e, @Copy [symbolic] -// CHECK:STDOUT: %.e8e: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%U.091) [symbolic] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.18e, (%Copy.lookup_impl_witness.dd7) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.ec2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] -// CHECK:STDOUT: %.b39: type = fn_type_with_self_type %Copy.WithSelf.Op.type.ec2, %Copy.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.232: %.b39 = impl_witness_access %Copy.lookup_impl_witness.dd7, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d85: = specific_impl_function %impl.elem0.232, @Copy.WithSelf.Op(%Copy.facet) [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.6a3: = lookup_impl_witness %ptr.18e, @Copy [symbolic] +// CHECK:STDOUT: %.2f1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%U.091) [symbolic] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.18e, (%Copy.lookup_impl_witness.6a3) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.c9b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [symbolic] +// CHECK:STDOUT: %.f38: type = fn_type_with_self_type %Copy.WithSelf.Op.type.c9b, %Copy.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.601: %.f38 = impl_witness_access %Copy.lookup_impl_witness.6a3, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.6bf: = specific_impl_function %impl.elem0.601, @Copy.WithSelf.Op(%Copy.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -217,8 +217,8 @@ fn Interface.C.F[unused self: Self](U:! type, u: U*) -> U* { return u; } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Interface.decl: type = interface_decl @Interface [concrete = constants.%Interface.type] {} {} // CHECK:STDOUT: %C.F.decl: %C.F.type = fn_decl @C.F [symbolic = constants.%C.F] { -// CHECK:STDOUT: %self.param_patt: @C.F.%pattern_type.loc14_14 (%pattern_type.128) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @C.F.%pattern_type.loc14_14 (%pattern_type.128) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @C.F.%pattern_type.loc14_14 (%pattern_type.528) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @C.F.%pattern_type.loc14_14 (%pattern_type.528) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: %u.param_patt: @C.F.%pattern_type.loc14_33 (%pattern_type.423) = value_param_pattern [concrete] // CHECK:STDOUT: %u.patt: @C.F.%pattern_type.loc14_33 (%pattern_type.423) = at_binding_pattern u, %u.param_patt [concrete] @@ -230,7 +230,7 @@ fn Interface.C.F[unused self: Self](U:! type, u: U*) -> U* { return u; } // CHECK:STDOUT: %.loc20_58: Core.Form = init_form %ptr.loc20_58 [symbolic = %.loc14_43.1 (constants.%.6d8)] // CHECK:STDOUT: %self.param.loc20: @C.F.%C (%C) = value_param call_param0 // CHECK:STDOUT: %.loc20_31.1: type = splice_block %Self.ref.loc20 [symbolic = %C (constants.%C)] { -// CHECK:STDOUT: %.loc20_31.2: type = specific_constant constants.%C, @C(constants.%Self.d93) [symbolic = %C (constants.%C)] +// CHECK:STDOUT: %.loc20_31.2: type = specific_constant constants.%C, @C(constants.%Self.b54) [symbolic = %C (constants.%C)] // CHECK:STDOUT: %Self.ref.loc20: type = name_ref Self, %.loc20_31.2 [symbolic = %C (constants.%C)] // CHECK:STDOUT: } // CHECK:STDOUT: %self.loc20: @C.F.%C (%C) = value_binding self, %self.param.loc20 @@ -251,7 +251,7 @@ fn Interface.C.F[unused self: Self](U:! type, u: U*) -> U* { return u; } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Interface { -// CHECK:STDOUT: %Self: %Interface.type = symbolic_binding Self, 0 [symbolic = constants.%Self.d93] +// CHECK:STDOUT: %Self: %Interface.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b54] // CHECK:STDOUT: %Interface.WithSelf.decl = interface_with_self_decl @Interface [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -267,14 +267,14 @@ fn Interface.C.F[unused self: Self](U:! type, u: U*) -> U* { return u; } // CHECK:STDOUT: // CHECK:STDOUT: generic class @C(@Interface.%Self: %Interface.type) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self: %Interface.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.d93)] +// CHECK:STDOUT: %Self: %Interface.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.b54)] // CHECK:STDOUT: %C.F.type: type = fn_type @C.F, @C(%Self) [symbolic = %C.F.type (constants.%C.F.type)] // CHECK:STDOUT: %C.F: @C.%C.F.type (%C.F.type) = struct_value () [symbolic = %C.F (constants.%C.F)] // CHECK:STDOUT: // CHECK:STDOUT: class { // CHECK:STDOUT: %C.F.decl: @C.%C.F.type (%C.F.type) = fn_decl @C.F [symbolic = @C.%C.F (constants.%C.F)] { -// CHECK:STDOUT: %self.param_patt: @C.F.%pattern_type.loc14_14 (%pattern_type.128) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @C.F.%pattern_type.loc14_14 (%pattern_type.128) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @C.F.%pattern_type.loc14_14 (%pattern_type.528) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @C.F.%pattern_type.loc14_14 (%pattern_type.528) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: %u.param_patt: @C.F.%pattern_type.loc14_33 (%pattern_type.423) = value_param_pattern [concrete] // CHECK:STDOUT: %u.patt: @C.F.%pattern_type.loc14_33 (%pattern_type.423) = at_binding_pattern u, %u.param_patt [concrete] @@ -286,7 +286,7 @@ fn Interface.C.F[unused self: Self](U:! type, u: U*) -> U* { return u; } // CHECK:STDOUT: %.loc14_43.2: Core.Form = init_form %ptr.loc14_43 [symbolic = %.loc14_43.1 (constants.%.6d8)] // CHECK:STDOUT: %self.param.loc14: @C.F.%C (%C) = value_param call_param0 // CHECK:STDOUT: %.loc14_16.1: type = splice_block %Self.ref.loc14 [symbolic = %C (constants.%C)] { -// CHECK:STDOUT: %.loc14_16.2: type = specific_constant constants.%C, @C(constants.%Self.d93) [symbolic = %C (constants.%C)] +// CHECK:STDOUT: %.loc14_16.2: type = specific_constant constants.%C, @C(constants.%Self.b54) [symbolic = %C (constants.%C)] // CHECK:STDOUT: %Self.ref.loc14: type = name_ref Self, %.loc14_16.2 [symbolic = %C (constants.%C)] // CHECK:STDOUT: } // CHECK:STDOUT: %self.loc14: @C.F.%C (%C) = value_binding self, %self.param.loc14 @@ -314,50 +314,50 @@ fn Interface.C.F[unused self: Self](U:! type, u: U*) -> U* { return u; } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @C.F(@Interface.%Self: %Interface.type, %U.loc14_23.2: type) { -// CHECK:STDOUT: %Self: %Interface.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.d93)] +// CHECK:STDOUT: %Self: %Interface.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.b54)] // CHECK:STDOUT: %C: type = class_type @C, @C(%Self) [symbolic = %C (constants.%C)] -// CHECK:STDOUT: %pattern_type.loc14_14: type = pattern_type %C [symbolic = %pattern_type.loc14_14 (constants.%pattern_type.128)] +// CHECK:STDOUT: %pattern_type.loc14_14: type = pattern_type %C [symbolic = %pattern_type.loc14_14 (constants.%pattern_type.528)] // CHECK:STDOUT: %U.loc14_23.1: type = symbolic_binding U, 1 [symbolic = %U.loc14_23.1 (constants.%U.091)] // CHECK:STDOUT: %ptr.loc14_36.1: type = ptr_type %U.loc14_23.1 [symbolic = %ptr.loc14_36.1 (constants.%ptr.18e)] // CHECK:STDOUT: %pattern_type.loc14_33: type = pattern_type %ptr.loc14_36.1 [symbolic = %pattern_type.loc14_33 (constants.%pattern_type.423)] // CHECK:STDOUT: %.loc14_43.1: Core.Form = init_form %ptr.loc14_36.1 [symbolic = %.loc14_43.1 (constants.%.6d8)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc20_29: = require_complete_type %C [symbolic = %require_complete.loc20_29 (constants.%require_complete.c81)] +// CHECK:STDOUT: %require_complete.loc20_29: = require_complete_type %C [symbolic = %require_complete.loc20_29 (constants.%require_complete.b28)] // CHECK:STDOUT: %require_complete.loc20_48: = require_complete_type %ptr.loc14_36.1 [symbolic = %require_complete.loc20_48 (constants.%require_complete.56d)] -// CHECK:STDOUT: %.loc20_69.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%U.loc14_23.1) [symbolic = %.loc20_69.1 (constants.%.e8e)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc14_36.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.dd7)] +// CHECK:STDOUT: %.loc20_69.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%U.loc14_23.1) [symbolic = %.loc20_69.1 (constants.%.2f1)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc14_36.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.6a3)] // CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc14_36.1, (%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.ec2)] -// CHECK:STDOUT: %.loc20_69.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc20_69.2 (constants.%.b39)] -// CHECK:STDOUT: %impl.elem0.loc20_69.2: @C.F.%.loc20_69.2 (%.b39) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc20_69.2 (constants.%impl.elem0.232)] -// CHECK:STDOUT: %specific_impl_fn.loc20_69.2: = specific_impl_function %impl.elem0.loc20_69.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc20_69.2 (constants.%specific_impl_fn.d85)] +// 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.c9b)] +// CHECK:STDOUT: %.loc20_69.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc20_69.2 (constants.%.f38)] +// CHECK:STDOUT: %impl.elem0.loc20_69.2: @C.F.%.loc20_69.2 (%.f38) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc20_69.2 (constants.%impl.elem0.601)] +// CHECK:STDOUT: %specific_impl_fn.loc20_69.2: = specific_impl_function %impl.elem0.loc20_69.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc20_69.2 (constants.%specific_impl_fn.6bf)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param.loc20: @C.F.%C (%C), %u.param.loc20: @C.F.%ptr.loc14_36.1 (%ptr.18e)) -> out %return.param.loc20: @C.F.%ptr.loc14_36.1 (%ptr.18e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %u.ref: @C.F.%ptr.loc14_36.1 (%ptr.18e) = name_ref u, %u.loc20 -// CHECK:STDOUT: %impl.elem0.loc20_69.1: @C.F.%.loc20_69.2 (%.b39) = impl_witness_access constants.%Copy.lookup_impl_witness.dd7, element0 [symbolic = %impl.elem0.loc20_69.2 (constants.%impl.elem0.232)] +// CHECK:STDOUT: %impl.elem0.loc20_69.1: @C.F.%.loc20_69.2 (%.f38) = impl_witness_access constants.%Copy.lookup_impl_witness.6a3, element0 [symbolic = %impl.elem0.loc20_69.2 (constants.%impl.elem0.601)] // CHECK:STDOUT: %bound_method.loc20_69.1: = bound_method %u.ref, %impl.elem0.loc20_69.1 -// CHECK:STDOUT: %specific_impl_fn.loc20_69.1: = specific_impl_function %impl.elem0.loc20_69.1, @Copy.WithSelf.Op(constants.%Copy.facet) [symbolic = %specific_impl_fn.loc20_69.2 (constants.%specific_impl_fn.d85)] +// CHECK:STDOUT: %specific_impl_fn.loc20_69.1: = specific_impl_function %impl.elem0.loc20_69.1, @Copy.WithSelf.Op(constants.%Copy.facet) [symbolic = %specific_impl_fn.loc20_69.2 (constants.%specific_impl_fn.6bf)] // CHECK:STDOUT: %bound_method.loc20_69.2: = bound_method %u.ref, %specific_impl_fn.loc20_69.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @C.F.%ptr.loc14_36.1 (%ptr.18e) = call %bound_method.loc20_69.2(%u.ref) // CHECK:STDOUT: return %Copy.WithSelf.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Self.d93) {} +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%Self.b54) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%Self.d93) { +// CHECK:STDOUT: specific @C(constants.%Self.b54) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.d93 +// CHECK:STDOUT: %Self => constants.%Self.b54 // CHECK:STDOUT: %C.F.type => constants.%C.F.type // CHECK:STDOUT: %C.F => constants.%C.F // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C.F(constants.%Self.d93, constants.%U.091) { -// CHECK:STDOUT: %Self => constants.%Self.d93 +// CHECK:STDOUT: specific @C.F(constants.%Self.b54, constants.%U.091) { +// CHECK:STDOUT: %Self => constants.%Self.b54 // CHECK:STDOUT: %C => constants.%C -// CHECK:STDOUT: %pattern_type.loc14_14 => constants.%pattern_type.128 +// CHECK:STDOUT: %pattern_type.loc14_14 => constants.%pattern_type.528 // CHECK:STDOUT: %U.loc14_23.1 => constants.%U.091 // CHECK:STDOUT: %ptr.loc14_36.1 => constants.%ptr.18e // CHECK:STDOUT: %pattern_type.loc14_33 => constants.%pattern_type.423 diff --git a/toolchain/check/testdata/interface/final.carbon b/toolchain/check/testdata/interface/final.carbon index e1af143a0c14..593cbe8a645e 100644 --- a/toolchain/check/testdata/interface/final.carbon +++ b/toolchain/check/testdata/interface/final.carbon @@ -32,40 +32,40 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.906: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.5ef: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.906) [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.d9f: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.179) [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %I.WithSelf.F.1e9: %I.WithSelf.F.type.5ef = struct_value () [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.592: %I.WithSelf.F.type.d9f = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: %J.type: type = facet_type <@J> [concrete] -// CHECK:STDOUT: %Self.997: %J.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.fd8: %J.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.1f7: type = pattern_type %J.type [concrete] -// CHECK:STDOUT: %T.bdd: %J.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.8b2: type = facet_access_type %T.bdd [symbolic] -// CHECK:STDOUT: %I.impl_witness.d2e: = impl_witness @T.as_type.as.I.impl.%I.impl_witness_table, @T.as_type.as.I.impl(%T.bdd) [symbolic] -// CHECK:STDOUT: %T.as_type.as.I.impl.F.type.db4: type = fn_type @T.as_type.as.I.impl.F, @T.as_type.as.I.impl(%T.bdd) [symbolic] -// CHECK:STDOUT: %T.as_type.as.I.impl.F.aad: %T.as_type.as.I.impl.F.type.db4 = struct_value () [symbolic] -// CHECK:STDOUT: %I.facet.b4c: %I.type = facet_value %T.as_type.8b2, (%I.impl_witness.d2e) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type.1d0: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.b4c) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.096: %I.WithSelf.F.type.1d0 = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.c23: type = pattern_type %I.type [concrete] -// CHECK:STDOUT: %T.90e: %I.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.1b4: type = pattern_type %J.type [concrete] +// CHECK:STDOUT: %T.1f3: %J.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.771: type = facet_access_type %T.1f3 [symbolic] +// CHECK:STDOUT: %I.impl_witness.f6a: = impl_witness @T.as_type.as.I.impl.%I.impl_witness_table, @T.as_type.as.I.impl(%T.1f3) [symbolic] +// CHECK:STDOUT: %T.as_type.as.I.impl.F.type.1ee: type = fn_type @T.as_type.as.I.impl.F, @T.as_type.as.I.impl(%T.1f3) [symbolic] +// CHECK:STDOUT: %T.as_type.as.I.impl.F.da0: %T.as_type.as.I.impl.F.type.1ee = struct_value () [symbolic] +// CHECK:STDOUT: %I.facet.e7f: %I.type = facet_value %T.as_type.771, (%I.impl_witness.f6a) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.9d4: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.e7f) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.4d1: %I.WithSelf.F.type.9d4 = struct_value () [symbolic] +// CHECK:STDOUT: %pattern_type.998: type = pattern_type %I.type [concrete] +// CHECK:STDOUT: %T.2e1: %I.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %UseI.type: type = fn_type @UseI [concrete] // CHECK:STDOUT: %UseI: %UseI.type = struct_value () [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.834: type = fn_type @I.WithSelf.F, @I.WithSelf(%T.90e) [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.a0f: %I.WithSelf.F.type.834 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.386: type = facet_access_type %T.90e [symbolic] -// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T.90e, @I [symbolic] -// CHECK:STDOUT: %.c86: type = fn_type_with_self_type %I.WithSelf.F.type.834, %T.90e [symbolic] -// CHECK:STDOUT: %impl.elem0: %.c86 = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @I.WithSelf.F(%T.90e) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type.a52: type = fn_type @I.WithSelf.F, @I.WithSelf(%T.2e1) [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.08d: %I.WithSelf.F.type.a52 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.a70: type = facet_access_type %T.2e1 [symbolic] +// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T.2e1, @I [symbolic] +// CHECK:STDOUT: %.b7f: type = fn_type_with_self_type %I.WithSelf.F.type.a52, %T.2e1 [symbolic] +// CHECK:STDOUT: %impl.elem0: %.b7f = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @I.WithSelf.F(%T.2e1) [symbolic] // CHECK:STDOUT: %UseJ.type: type = fn_type @UseJ [concrete] // CHECK:STDOUT: %UseJ: %UseJ.type = struct_value () [concrete] -// CHECK:STDOUT: %.d8f: require_specific_def_type = require_specific_def @T.as_type.as.I.impl(%T.bdd) [symbolic] -// CHECK:STDOUT: %UseI.specific_fn.c91: = specific_function %UseI, @UseI(%I.facet.b4c) [symbolic] +// CHECK:STDOUT: %.af5: require_specific_def_type = require_specific_def @T.as_type.as.I.impl(%T.1f3) [symbolic] +// CHECK:STDOUT: %UseI.specific_fn.722: = specific_function %UseI, @UseI(%I.facet.e7f) [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] @@ -74,17 +74,17 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: %Use.type: type = fn_type @Use [concrete] // CHECK:STDOUT: %Use: %Use.type = struct_value () [concrete] // CHECK:STDOUT: %UseJ.specific_fn: = specific_function %UseJ, @UseJ(%J.facet) [concrete] -// CHECK:STDOUT: %.928: type = fn_type_with_self_type %I.WithSelf.F.type.1d0, %I.facet.b4c [symbolic] -// CHECK:STDOUT: %T.as_type.as.I.impl.F.specific_fn.909: = specific_function %T.as_type.as.I.impl.F.aad, @T.as_type.as.I.impl.F(%T.bdd) [symbolic] -// CHECK:STDOUT: %I.impl_witness.de3: = impl_witness @T.as_type.as.I.impl.%I.impl_witness_table, @T.as_type.as.I.impl(%J.facet) [concrete] -// CHECK:STDOUT: %T.as_type.as.I.impl.F.type.7d4: type = fn_type @T.as_type.as.I.impl.F, @T.as_type.as.I.impl(%J.facet) [concrete] -// CHECK:STDOUT: %T.as_type.as.I.impl.F.047: %T.as_type.as.I.impl.F.type.7d4 = struct_value () [concrete] -// CHECK:STDOUT: %.ad0: require_specific_def_type = require_specific_def @T.as_type.as.I.impl(%J.facet) [concrete] -// CHECK:STDOUT: %I.facet.df6: %I.type = facet_value %C, (%I.impl_witness.de3) [concrete] -// CHECK:STDOUT: %UseI.specific_fn.83a: = specific_function %UseI, @UseI(%I.facet.df6) [concrete] -// CHECK:STDOUT: %I.WithSelf.F.type.f0c: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.df6) [concrete] -// CHECK:STDOUT: %.f65: type = fn_type_with_self_type %I.WithSelf.F.type.f0c, %I.facet.df6 [concrete] -// CHECK:STDOUT: %T.as_type.as.I.impl.F.specific_fn.b10: = specific_function %T.as_type.as.I.impl.F.047, @T.as_type.as.I.impl.F(%J.facet) [concrete] +// CHECK:STDOUT: %.9f6: type = fn_type_with_self_type %I.WithSelf.F.type.9d4, %I.facet.e7f [symbolic] +// CHECK:STDOUT: %T.as_type.as.I.impl.F.specific_fn.04c: = specific_function %T.as_type.as.I.impl.F.da0, @T.as_type.as.I.impl.F(%T.1f3) [symbolic] +// CHECK:STDOUT: %I.impl_witness.e9c: = impl_witness @T.as_type.as.I.impl.%I.impl_witness_table, @T.as_type.as.I.impl(%J.facet) [concrete] +// CHECK:STDOUT: %T.as_type.as.I.impl.F.type.2ec: type = fn_type @T.as_type.as.I.impl.F, @T.as_type.as.I.impl(%J.facet) [concrete] +// CHECK:STDOUT: %T.as_type.as.I.impl.F.5b3: %T.as_type.as.I.impl.F.type.2ec = struct_value () [concrete] +// CHECK:STDOUT: %.86c: require_specific_def_type = require_specific_def @T.as_type.as.I.impl(%J.facet) [concrete] +// CHECK:STDOUT: %I.facet.9c3: %I.type = facet_value %C, (%I.impl_witness.e9c) [concrete] +// CHECK:STDOUT: %UseI.specific_fn.6ad: = specific_function %UseI, @UseI(%I.facet.9c3) [concrete] +// CHECK:STDOUT: %I.WithSelf.F.type.425: type = fn_type @I.WithSelf.F, @I.WithSelf(%I.facet.9c3) [concrete] +// CHECK:STDOUT: %.59d: type = fn_type_with_self_type %I.WithSelf.F.type.425, %I.facet.9c3 [concrete] +// CHECK:STDOUT: %T.as_type.as.I.impl.F.specific_fn.675: = specific_function %T.as_type.as.I.impl.F.5b3, @T.as_type.as.I.impl.F(%J.facet) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -108,35 +108,35 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: %I.decl: type = interface_decl @I [concrete = constants.%I.type] {} {} // CHECK:STDOUT: %J.decl: type = interface_decl @J [concrete = constants.%J.type] {} {} // CHECK:STDOUT: impl_decl @T.as_type.as.I.impl [concrete] { -// CHECK:STDOUT: %T.patt: %pattern_type.1f7 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.1b4 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %T.ref: %J.type = name_ref T, %T.loc7_21.2 [symbolic = %T.loc7_21.1 (constants.%T.bdd)] -// CHECK:STDOUT: %T.as_type.loc7_27.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc7_27.1 (constants.%T.as_type.8b2)] -// CHECK:STDOUT: %.loc7_27: type = converted %T.ref, %T.as_type.loc7_27.2 [symbolic = %T.as_type.loc7_27.1 (constants.%T.as_type.8b2)] +// CHECK:STDOUT: %T.ref: %J.type = name_ref T, %T.loc7_21.2 [symbolic = %T.loc7_21.1 (constants.%T.1f3)] +// CHECK:STDOUT: %T.as_type.loc7_27.2: type = facet_access_type %T.ref [symbolic = %T.as_type.loc7_27.1 (constants.%T.as_type.771)] +// CHECK:STDOUT: %.loc7_27: type = converted %T.ref, %T.as_type.loc7_27.2 [symbolic = %T.as_type.loc7_27.1 (constants.%T.as_type.771)] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: %.loc7_24: type = splice_block %J.ref [concrete = constants.%J.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %J.ref: type = name_ref J, file.%J.decl [concrete = constants.%J.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc7_21.2: %J.type = symbolic_binding T, 0 [symbolic = %T.loc7_21.1 (constants.%T.bdd)] +// CHECK:STDOUT: %T.loc7_21.2: %J.type = symbolic_binding T, 0 [symbolic = %T.loc7_21.1 (constants.%T.1f3)] // CHECK:STDOUT: } // CHECK:STDOUT: %UseI.decl: %UseI.type = fn_decl @UseI [concrete = constants.%UseI] { -// CHECK:STDOUT: %T.patt: %pattern_type.c23 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.998 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc11_13: type = splice_block %I.ref [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc11_10.2: %I.type = symbolic_binding T, 0 [symbolic = %T.loc11_10.1 (constants.%T.90e)] +// CHECK:STDOUT: %T.loc11_10.2: %I.type = symbolic_binding T, 0 [symbolic = %T.loc11_10.1 (constants.%T.2e1)] // CHECK:STDOUT: } // CHECK:STDOUT: %UseJ.decl: %UseJ.type = fn_decl @UseJ [concrete = constants.%UseJ] { -// CHECK:STDOUT: %T.patt: %pattern_type.1f7 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.1b4 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc12_13: type = splice_block %J.ref [concrete = constants.%J.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %J.ref: type = name_ref J, file.%J.decl [concrete = constants.%J.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc12_10.2: %J.type = symbolic_binding T, 0 [symbolic = %T.loc12_10.1 (constants.%T.bdd)] +// CHECK:STDOUT: %T.loc12_10.2: %J.type = symbolic_binding T, 0 [symbolic = %T.loc12_10.1 (constants.%T.1f3)] // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: impl_decl @C.as.J.impl [concrete] {} { @@ -147,11 +147,11 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.906] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.5ef) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.1e9)] {} {} +// CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type.d9f) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F.592)] {} {} // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -163,7 +163,7 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @J { -// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = constants.%Self.997] +// CHECK:STDOUT: %Self: %J.type = symbolic_binding Self, 0 [symbolic = constants.%Self.fd8] // CHECK:STDOUT: %J.WithSelf.decl = interface_with_self_decl @J [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -174,18 +174,18 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic impl @T.as_type.as.I.impl(%T.loc7_21.2: %J.type) { -// CHECK:STDOUT: %T.loc7_21.1: %J.type = symbolic_binding T, 0 [symbolic = %T.loc7_21.1 (constants.%T.bdd)] -// CHECK:STDOUT: %T.as_type.loc7_27.1: type = facet_access_type %T.loc7_21.1 [symbolic = %T.as_type.loc7_27.1 (constants.%T.as_type.8b2)] -// CHECK:STDOUT: %I.impl_witness.loc7_34.2: = impl_witness %I.impl_witness_table, @T.as_type.as.I.impl(%T.loc7_21.1) [symbolic = %I.impl_witness.loc7_34.2 (constants.%I.impl_witness.d2e)] +// CHECK:STDOUT: %T.loc7_21.1: %J.type = symbolic_binding T, 0 [symbolic = %T.loc7_21.1 (constants.%T.1f3)] +// CHECK:STDOUT: %T.as_type.loc7_27.1: type = facet_access_type %T.loc7_21.1 [symbolic = %T.as_type.loc7_27.1 (constants.%T.as_type.771)] +// CHECK:STDOUT: %I.impl_witness.loc7_34.2: = impl_witness %I.impl_witness_table, @T.as_type.as.I.impl(%T.loc7_21.1) [symbolic = %I.impl_witness.loc7_34.2 (constants.%I.impl_witness.f6a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as_type.as.I.impl.F.type: type = fn_type @T.as_type.as.I.impl.F, @T.as_type.as.I.impl(%T.loc7_21.1) [symbolic = %T.as_type.as.I.impl.F.type (constants.%T.as_type.as.I.impl.F.type.db4)] -// CHECK:STDOUT: %T.as_type.as.I.impl.F: @T.as_type.as.I.impl.%T.as_type.as.I.impl.F.type (%T.as_type.as.I.impl.F.type.db4) = struct_value () [symbolic = %T.as_type.as.I.impl.F (constants.%T.as_type.as.I.impl.F.aad)] +// CHECK:STDOUT: %T.as_type.as.I.impl.F.type: type = fn_type @T.as_type.as.I.impl.F, @T.as_type.as.I.impl(%T.loc7_21.1) [symbolic = %T.as_type.as.I.impl.F.type (constants.%T.as_type.as.I.impl.F.type.1ee)] +// CHECK:STDOUT: %T.as_type.as.I.impl.F: @T.as_type.as.I.impl.%T.as_type.as.I.impl.F.type (%T.as_type.as.I.impl.F.type.1ee) = struct_value () [symbolic = %T.as_type.as.I.impl.F (constants.%T.as_type.as.I.impl.F.da0)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %.loc7_27 as %I.ref { -// CHECK:STDOUT: %T.as_type.as.I.impl.F.decl: @T.as_type.as.I.impl.%T.as_type.as.I.impl.F.type (%T.as_type.as.I.impl.F.type.db4) = fn_decl @T.as_type.as.I.impl.F [symbolic = @T.as_type.as.I.impl.%T.as_type.as.I.impl.F (constants.%T.as_type.as.I.impl.F.aad)] {} {} +// CHECK:STDOUT: %T.as_type.as.I.impl.F.decl: @T.as_type.as.I.impl.%T.as_type.as.I.impl.F.type (%T.as_type.as.I.impl.F.type.1ee) = fn_decl @T.as_type.as.I.impl.F [symbolic = @T.as_type.as.I.impl.%T.as_type.as.I.impl.F (constants.%T.as_type.as.I.impl.F.da0)] {} {} // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%T.as_type.as.I.impl.F.decl), @T.as_type.as.I.impl [concrete] -// CHECK:STDOUT: %I.impl_witness.loc7_34.1: = impl_witness %I.impl_witness_table, @T.as_type.as.I.impl(constants.%T.bdd) [symbolic = %I.impl_witness.loc7_34.2 (constants.%I.impl_witness.d2e)] +// CHECK:STDOUT: %I.impl_witness.loc7_34.1: = impl_witness %I.impl_witness_table, @T.as_type.as.I.impl(constants.%T.1f3) [symbolic = %I.impl_witness.loc7_34.2 (constants.%I.impl_witness.f6a)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .F = %T.as_type.as.I.impl.F.decl @@ -225,47 +225,47 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @UseI(%T.loc11_10.2: %I.type) { -// CHECK:STDOUT: %T.loc11_10.1: %I.type = symbolic_binding T, 0 [symbolic = %T.loc11_10.1 (constants.%T.90e)] +// CHECK:STDOUT: %T.loc11_10.1: %I.type = symbolic_binding T, 0 [symbolic = %T.loc11_10.1 (constants.%T.2e1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as_type.loc11_19.2: type = facet_access_type %T.loc11_10.1 [symbolic = %T.as_type.loc11_19.2 (constants.%T.as_type.386)] -// CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%T.loc11_10.1) [symbolic = %I.WithSelf.F.type (constants.%I.WithSelf.F.type.834)] -// CHECK:STDOUT: %.loc11_19.2: type = fn_type_with_self_type %I.WithSelf.F.type, %T.loc11_10.1 [symbolic = %.loc11_19.2 (constants.%.c86)] +// CHECK:STDOUT: %T.as_type.loc11_19.2: type = facet_access_type %T.loc11_10.1 [symbolic = %T.as_type.loc11_19.2 (constants.%T.as_type.a70)] +// CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%T.loc11_10.1) [symbolic = %I.WithSelf.F.type (constants.%I.WithSelf.F.type.a52)] +// CHECK:STDOUT: %.loc11_19.2: type = fn_type_with_self_type %I.WithSelf.F.type, %T.loc11_10.1 [symbolic = %.loc11_19.2 (constants.%.b7f)] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %T.loc11_10.1, @I [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc11_19.2: @UseI.%.loc11_19.2 (%.c86) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_19.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc11_19.2: @UseI.%.loc11_19.2 (%.b7f) = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_19.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc11_19.2: = specific_impl_function %impl.elem0.loc11_19.2, @I.WithSelf.F(%T.loc11_10.1) [symbolic = %specific_impl_fn.loc11_19.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %T.ref: %I.type = name_ref T, %T.loc11_10.2 [symbolic = %T.loc11_10.1 (constants.%T.90e)] -// CHECK:STDOUT: %T.as_type.loc11_19.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc11_19.2 (constants.%T.as_type.386)] -// CHECK:STDOUT: %.loc11_19.1: type = converted %T.ref, %T.as_type.loc11_19.1 [symbolic = %T.as_type.loc11_19.2 (constants.%T.as_type.386)] +// CHECK:STDOUT: %T.ref: %I.type = name_ref T, %T.loc11_10.2 [symbolic = %T.loc11_10.1 (constants.%T.2e1)] +// CHECK:STDOUT: %T.as_type.loc11_19.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc11_19.2 (constants.%T.as_type.a70)] +// CHECK:STDOUT: %.loc11_19.1: type = converted %T.ref, %T.as_type.loc11_19.1 [symbolic = %T.as_type.loc11_19.2 (constants.%T.as_type.a70)] // CHECK:STDOUT: %F.ref: %I.assoc_type = name_ref F, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc11_19.1: @UseI.%.loc11_19.2 (%.c86) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_19.2 (constants.%impl.elem0)] -// CHECK:STDOUT: %specific_impl_fn.loc11_19.1: = specific_impl_function %impl.elem0.loc11_19.1, @I.WithSelf.F(constants.%T.90e) [symbolic = %specific_impl_fn.loc11_19.2 (constants.%specific_impl_fn)] +// CHECK:STDOUT: %impl.elem0.loc11_19.1: @UseI.%.loc11_19.2 (%.b7f) = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc11_19.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %specific_impl_fn.loc11_19.1: = specific_impl_function %impl.elem0.loc11_19.1, @I.WithSelf.F(constants.%T.2e1) [symbolic = %specific_impl_fn.loc11_19.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %I.WithSelf.F.call: init %empty_tuple.type = call %specific_impl_fn.loc11_19.1() // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @UseJ(%T.loc12_10.2: %J.type) { -// CHECK:STDOUT: %T.loc12_10.1: %J.type = symbolic_binding T, 0 [symbolic = %T.loc12_10.1 (constants.%T.bdd)] +// CHECK:STDOUT: %T.loc12_10.1: %J.type = symbolic_binding T, 0 [symbolic = %T.loc12_10.1 (constants.%T.1f3)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as_type.loc12_24.2: type = facet_access_type %T.loc12_10.1 [symbolic = %T.as_type.loc12_24.2 (constants.%T.as_type.8b2)] -// CHECK:STDOUT: %.loc12_24.2: require_specific_def_type = require_specific_def @T.as_type.as.I.impl(%T.loc12_10.1) [symbolic = %.loc12_24.2 (constants.%.d8f)] -// CHECK:STDOUT: %I.impl_witness: = impl_witness @T.as_type.as.I.impl.%I.impl_witness_table, @T.as_type.as.I.impl(%T.loc12_10.1) [symbolic = %I.impl_witness (constants.%I.impl_witness.d2e)] -// CHECK:STDOUT: %I.facet.loc12_24.2: %I.type = facet_value %T.as_type.loc12_24.2, (%I.impl_witness) [symbolic = %I.facet.loc12_24.2 (constants.%I.facet.b4c)] -// CHECK:STDOUT: %UseI.specific_fn.loc12_18.2: = specific_function constants.%UseI, @UseI(%I.facet.loc12_24.2) [symbolic = %UseI.specific_fn.loc12_18.2 (constants.%UseI.specific_fn.c91)] +// CHECK:STDOUT: %T.as_type.loc12_24.2: type = facet_access_type %T.loc12_10.1 [symbolic = %T.as_type.loc12_24.2 (constants.%T.as_type.771)] +// CHECK:STDOUT: %.loc12_24.2: require_specific_def_type = require_specific_def @T.as_type.as.I.impl(%T.loc12_10.1) [symbolic = %.loc12_24.2 (constants.%.af5)] +// CHECK:STDOUT: %I.impl_witness: = impl_witness @T.as_type.as.I.impl.%I.impl_witness_table, @T.as_type.as.I.impl(%T.loc12_10.1) [symbolic = %I.impl_witness (constants.%I.impl_witness.f6a)] +// CHECK:STDOUT: %I.facet.loc12_24.2: %I.type = facet_value %T.as_type.loc12_24.2, (%I.impl_witness) [symbolic = %I.facet.loc12_24.2 (constants.%I.facet.e7f)] +// CHECK:STDOUT: %UseI.specific_fn.loc12_18.2: = specific_function constants.%UseI, @UseI(%I.facet.loc12_24.2) [symbolic = %UseI.specific_fn.loc12_18.2 (constants.%UseI.specific_fn.722)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %UseI.ref: %UseI.type = name_ref UseI, file.%UseI.decl [concrete = constants.%UseI] -// CHECK:STDOUT: %T.ref: %J.type = name_ref T, %T.loc12_10.2 [symbolic = %T.loc12_10.1 (constants.%T.bdd)] -// CHECK:STDOUT: %T.as_type.loc12_24.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc12_24.2 (constants.%T.as_type.8b2)] -// CHECK:STDOUT: %I.facet.loc12_24.1: %I.type = facet_value %T.as_type.loc12_24.1, (constants.%I.impl_witness.d2e) [symbolic = %I.facet.loc12_24.2 (constants.%I.facet.b4c)] -// CHECK:STDOUT: %.loc12_24.1: %I.type = converted %T.ref, %I.facet.loc12_24.1 [symbolic = %I.facet.loc12_24.2 (constants.%I.facet.b4c)] -// CHECK:STDOUT: %UseI.specific_fn.loc12_18.1: = specific_function %UseI.ref, @UseI(constants.%I.facet.b4c) [symbolic = %UseI.specific_fn.loc12_18.2 (constants.%UseI.specific_fn.c91)] +// CHECK:STDOUT: %T.ref: %J.type = name_ref T, %T.loc12_10.2 [symbolic = %T.loc12_10.1 (constants.%T.1f3)] +// CHECK:STDOUT: %T.as_type.loc12_24.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc12_24.2 (constants.%T.as_type.771)] +// CHECK:STDOUT: %I.facet.loc12_24.1: %I.type = facet_value %T.as_type.loc12_24.1, (constants.%I.impl_witness.f6a) [symbolic = %I.facet.loc12_24.2 (constants.%I.facet.e7f)] +// CHECK:STDOUT: %.loc12_24.1: %I.type = converted %T.ref, %I.facet.loc12_24.1 [symbolic = %I.facet.loc12_24.2 (constants.%I.facet.e7f)] +// CHECK:STDOUT: %UseI.specific_fn.loc12_18.1: = specific_function %UseI.ref, @UseI(constants.%I.facet.e7f) [symbolic = %UseI.specific_fn.loc12_18.2 (constants.%UseI.specific_fn.722)] // CHECK:STDOUT: %UseI.call: init %empty_tuple.type = call %UseI.specific_fn.loc12_18.1() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -282,69 +282,69 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.906) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.906 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.5ef -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.1e9 +// CHECK:STDOUT: %Self => constants.%Self.179 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.d9f +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.592 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.906) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.179) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.997) { +// CHECK:STDOUT: specific @J.WithSelf(constants.%Self.fd8) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.I.impl(constants.%T.bdd) { -// CHECK:STDOUT: %T.loc7_21.1 => constants.%T.bdd -// CHECK:STDOUT: %T.as_type.loc7_27.1 => constants.%T.as_type.8b2 -// CHECK:STDOUT: %I.impl_witness.loc7_34.2 => constants.%I.impl_witness.d2e +// CHECK:STDOUT: specific @T.as_type.as.I.impl(constants.%T.1f3) { +// CHECK:STDOUT: %T.loc7_21.1 => constants.%T.1f3 +// CHECK:STDOUT: %T.as_type.loc7_27.1 => constants.%T.as_type.771 +// CHECK:STDOUT: %I.impl_witness.loc7_34.2 => constants.%I.impl_witness.f6a // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as_type.as.I.impl.F.type => constants.%T.as_type.as.I.impl.F.type.db4 -// CHECK:STDOUT: %T.as_type.as.I.impl.F => constants.%T.as_type.as.I.impl.F.aad +// CHECK:STDOUT: %T.as_type.as.I.impl.F.type => constants.%T.as_type.as.I.impl.F.type.1ee +// CHECK:STDOUT: %T.as_type.as.I.impl.F => constants.%T.as_type.as.I.impl.F.da0 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @T.as_type.as.I.impl.F(constants.%T.bdd) { +// CHECK:STDOUT: specific @T.as_type.as.I.impl.F(constants.%T.1f3) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.b4c) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.e7f) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%I.facet.b4c -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.1d0 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.096 +// CHECK:STDOUT: %Self => constants.%I.facet.e7f +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.9d4 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.4d1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.b4c) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.e7f) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @UseI(constants.%T.90e) { -// CHECK:STDOUT: %T.loc11_10.1 => constants.%T.90e +// CHECK:STDOUT: specific @UseI(constants.%T.2e1) { +// CHECK:STDOUT: %T.loc11_10.1 => constants.%T.2e1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%T.90e) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%T.2e1) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%T.90e -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.834 -// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.a0f +// CHECK:STDOUT: %Self => constants.%T.2e1 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.a52 +// CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F.08d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T.90e) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%T.2e1) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @UseJ(constants.%T.bdd) { -// CHECK:STDOUT: %T.loc12_10.1 => constants.%T.bdd +// CHECK:STDOUT: specific @UseJ(constants.%T.1f3) { +// CHECK:STDOUT: %T.loc12_10.1 => constants.%T.1f3 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @UseI(constants.%I.facet.b4c) { -// CHECK:STDOUT: %T.loc11_10.1 => constants.%I.facet.b4c +// CHECK:STDOUT: specific @UseI(constants.%I.facet.e7f) { +// CHECK:STDOUT: %T.loc11_10.1 => constants.%I.facet.e7f // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as_type.loc11_19.2 => constants.%T.as_type.8b2 -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.1d0 -// CHECK:STDOUT: %.loc11_19.2 => constants.%.928 -// CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.impl_witness.d2e -// CHECK:STDOUT: %impl.elem0.loc11_19.2 => constants.%T.as_type.as.I.impl.F.aad -// CHECK:STDOUT: %specific_impl_fn.loc11_19.2 => constants.%T.as_type.as.I.impl.F.specific_fn.909 +// CHECK:STDOUT: %T.as_type.loc11_19.2 => constants.%T.as_type.771 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.9d4 +// CHECK:STDOUT: %.loc11_19.2 => constants.%.9f6 +// CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.impl_witness.f6a +// CHECK:STDOUT: %impl.elem0.loc11_19.2 => constants.%T.as_type.as.I.impl.F.da0 +// CHECK:STDOUT: %specific_impl_fn.loc11_19.2 => constants.%T.as_type.as.I.impl.F.specific_fn.04c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @J.WithSelf(constants.%J.facet) { @@ -356,37 +356,37 @@ fn Use() { UseJ(C); } // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T.as_type.loc12_24.2 => constants.%C -// CHECK:STDOUT: %.loc12_24.2 => constants.%.ad0 -// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.de3 -// CHECK:STDOUT: %I.facet.loc12_24.2 => constants.%I.facet.df6 -// CHECK:STDOUT: %UseI.specific_fn.loc12_18.2 => constants.%UseI.specific_fn.83a +// CHECK:STDOUT: %.loc12_24.2 => constants.%.86c +// CHECK:STDOUT: %I.impl_witness => constants.%I.impl_witness.e9c +// CHECK:STDOUT: %I.facet.loc12_24.2 => constants.%I.facet.9c3 +// CHECK:STDOUT: %UseI.specific_fn.loc12_18.2 => constants.%UseI.specific_fn.6ad // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @T.as_type.as.I.impl(constants.%J.facet) { // CHECK:STDOUT: %T.loc7_21.1 => constants.%J.facet // CHECK:STDOUT: %T.as_type.loc7_27.1 => constants.%C -// CHECK:STDOUT: %I.impl_witness.loc7_34.2 => constants.%I.impl_witness.de3 +// CHECK:STDOUT: %I.impl_witness.loc7_34.2 => constants.%I.impl_witness.e9c // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as_type.as.I.impl.F.type => constants.%T.as_type.as.I.impl.F.type.7d4 -// CHECK:STDOUT: %T.as_type.as.I.impl.F => constants.%T.as_type.as.I.impl.F.047 +// CHECK:STDOUT: %T.as_type.as.I.impl.F.type => constants.%T.as_type.as.I.impl.F.type.2ec +// CHECK:STDOUT: %T.as_type.as.I.impl.F => constants.%T.as_type.as.I.impl.F.5b3 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @UseI(constants.%I.facet.df6) { -// CHECK:STDOUT: %T.loc11_10.1 => constants.%I.facet.df6 +// CHECK:STDOUT: specific @UseI(constants.%I.facet.9c3) { +// CHECK:STDOUT: %T.loc11_10.1 => constants.%I.facet.9c3 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T.as_type.loc11_19.2 => constants.%C -// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.f0c -// CHECK:STDOUT: %.loc11_19.2 => constants.%.f65 -// CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.impl_witness.de3 -// CHECK:STDOUT: %impl.elem0.loc11_19.2 => constants.%T.as_type.as.I.impl.F.047 -// CHECK:STDOUT: %specific_impl_fn.loc11_19.2 => constants.%T.as_type.as.I.impl.F.specific_fn.b10 +// CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type.425 +// CHECK:STDOUT: %.loc11_19.2 => constants.%.59d +// CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.impl_witness.e9c +// CHECK:STDOUT: %impl.elem0.loc11_19.2 => constants.%T.as_type.as.I.impl.F.5b3 +// CHECK:STDOUT: %specific_impl_fn.loc11_19.2 => constants.%T.as_type.as.I.impl.F.specific_fn.675 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.df6) {} +// CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet.9c3) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.df6) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%I.facet.9c3) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @T.as_type.as.I.impl.F(constants.%J.facet) { // CHECK:STDOUT: !definition: diff --git a/toolchain/check/testdata/interface/generic.carbon b/toolchain/check/testdata/interface/generic.carbon index a50ea50aeaef..0c89cb3aac35 100644 --- a/toolchain/check/testdata/interface/generic.carbon +++ b/toolchain/check/testdata/interface/generic.carbon @@ -83,55 +83,55 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Simple.type.4e3: type = generic_interface_type @Simple [concrete] +// CHECK:STDOUT: %Simple.type.7b1: type = generic_interface_type @Simple [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Simple.generic: %Simple.type.4e3 = struct_value () [concrete] -// CHECK:STDOUT: %Simple.type.2a0: type = facet_type <@Simple, @Simple(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.d2f: %Simple.type.2a0 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Simple.generic: %Simple.type.7b1 = struct_value () [concrete] +// CHECK:STDOUT: %Simple.type.260: type = facet_type <@Simple, @Simple(%T.67d)> [symbolic] +// CHECK:STDOUT: %Self.2a5: %Simple.type.260 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %WithAssocFn.type.ac8: type = generic_interface_type @WithAssocFn [concrete] -// CHECK:STDOUT: %WithAssocFn.generic: %WithAssocFn.type.ac8 = struct_value () [concrete] -// CHECK:STDOUT: %WithAssocFn.type.093: type = facet_type <@WithAssocFn, @WithAssocFn(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.8e2: %WithAssocFn.type.093 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %.8a7: Core.Form = init_form %X [concrete] -// CHECK:STDOUT: %pattern_type.16b: type = pattern_type %X [concrete] -// CHECK:STDOUT: %WithAssocFn.WithSelf.F.type.71b: type = fn_type @WithAssocFn.WithSelf.F, @WithAssocFn.WithSelf(%T.67d, %Self.8e2) [symbolic] -// CHECK:STDOUT: %WithAssocFn.WithSelf.F.1b2: %WithAssocFn.WithSelf.F.type.71b = struct_value () [symbolic] -// CHECK:STDOUT: %WithAssocFn.assoc_type.9b4: type = assoc_entity_type @WithAssocFn, @WithAssocFn(%T.67d) [symbolic] -// CHECK:STDOUT: %assoc0.aa6: %WithAssocFn.assoc_type.9b4 = assoc_entity element0, @WithAssocFn.WithSelf.%WithAssocFn.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %WithAssocFn.type.e82: type = generic_interface_type @WithAssocFn [concrete] +// CHECK:STDOUT: %WithAssocFn.generic: %WithAssocFn.type.e82 = struct_value () [concrete] +// CHECK:STDOUT: %WithAssocFn.type.38e: type = facet_type <@WithAssocFn, @WithAssocFn(%T.67d)> [symbolic] +// CHECK:STDOUT: %Self.82f: %WithAssocFn.type.38e = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %.15f: Core.Form = init_form %X [concrete] +// CHECK:STDOUT: %pattern_type.7b3: type = pattern_type %X [concrete] +// CHECK:STDOUT: %WithAssocFn.WithSelf.F.type.15c: type = fn_type @WithAssocFn.WithSelf.F, @WithAssocFn.WithSelf(%T.67d, %Self.82f) [symbolic] +// CHECK:STDOUT: %WithAssocFn.WithSelf.F.ee3: %WithAssocFn.WithSelf.F.type.15c = struct_value () [symbolic] +// CHECK:STDOUT: %WithAssocFn.assoc_type.242: type = assoc_entity_type @WithAssocFn, @WithAssocFn(%T.67d) [symbolic] +// CHECK:STDOUT: %assoc0.463: %WithAssocFn.assoc_type.242 = assoc_entity element0, @WithAssocFn.WithSelf.%WithAssocFn.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %Simple.type.31c: type = facet_type <@Simple, @Simple(%C)> [concrete] +// CHECK:STDOUT: %Simple.type.060: type = facet_type <@Simple, @Simple(%C)> [concrete] // CHECK:STDOUT: %Simple.impl_witness: = impl_witness @C.as.Simple.impl.%Simple.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.e37: %Simple.type.31c = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Simple.facet: %Simple.type.31c = facet_value %C, (%Simple.impl_witness) [concrete] -// CHECK:STDOUT: %WithAssocFn.type.90a: type = facet_type <@WithAssocFn, @WithAssocFn(%C)> [concrete] +// CHECK:STDOUT: %Self.b42: %Simple.type.060 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Simple.facet: %Simple.type.060 = facet_value %C, (%Simple.impl_witness) [concrete] +// CHECK:STDOUT: %WithAssocFn.type.dfe: type = facet_type <@WithAssocFn, @WithAssocFn(%C)> [concrete] // CHECK:STDOUT: %WithAssocFn.impl_witness: = impl_witness @C.as.WithAssocFn.impl.%WithAssocFn.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.8bc: %WithAssocFn.type.90a = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %WithAssocFn.WithSelf.F.type.f23: type = fn_type @WithAssocFn.WithSelf.F, @WithAssocFn.WithSelf(%C, %Self.8e2) [symbolic] -// CHECK:STDOUT: %WithAssocFn.WithSelf.F.ff6: %WithAssocFn.WithSelf.F.type.f23 = struct_value () [symbolic] -// CHECK:STDOUT: %WithAssocFn.assoc_type.3f2: type = assoc_entity_type @WithAssocFn, @WithAssocFn(%C) [concrete] -// CHECK:STDOUT: %assoc0.0e0: %WithAssocFn.assoc_type.3f2 = assoc_entity element0, @WithAssocFn.WithSelf.%WithAssocFn.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %Self.3e0: %WithAssocFn.type.dfe = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %WithAssocFn.WithSelf.F.type.0d1: type = fn_type @WithAssocFn.WithSelf.F, @WithAssocFn.WithSelf(%C, %Self.82f) [symbolic] +// CHECK:STDOUT: %WithAssocFn.WithSelf.F.d9a: %WithAssocFn.WithSelf.F.type.0d1 = struct_value () [symbolic] +// CHECK:STDOUT: %WithAssocFn.assoc_type.e2f: type = assoc_entity_type @WithAssocFn, @WithAssocFn(%C) [concrete] +// CHECK:STDOUT: %assoc0.c70: %WithAssocFn.assoc_type.e2f = assoc_entity element0, @WithAssocFn.WithSelf.%WithAssocFn.WithSelf.F.decl [concrete] // CHECK:STDOUT: %C.as.WithAssocFn.impl.F.type: type = fn_type @C.as.WithAssocFn.impl.F [concrete] // CHECK:STDOUT: %C.as.WithAssocFn.impl.F: %C.as.WithAssocFn.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %WithAssocFn.facet: %WithAssocFn.type.90a = facet_value %C, (%WithAssocFn.impl_witness) [concrete] -// CHECK:STDOUT: %WithAssocFn.WithSelf.F.type.e96: type = fn_type @WithAssocFn.WithSelf.F, @WithAssocFn.WithSelf(%C, %WithAssocFn.facet) [concrete] -// CHECK:STDOUT: %WithAssocFn.WithSelf.F.eb0: %WithAssocFn.WithSelf.F.type.e96 = struct_value () [concrete] +// CHECK:STDOUT: %WithAssocFn.facet: %WithAssocFn.type.dfe = facet_value %C, (%WithAssocFn.impl_witness) [concrete] +// CHECK:STDOUT: %WithAssocFn.WithSelf.F.type.e8e: type = fn_type @WithAssocFn.WithSelf.F, @WithAssocFn.WithSelf(%C, %WithAssocFn.facet) [concrete] +// CHECK:STDOUT: %WithAssocFn.WithSelf.F.1d8: %WithAssocFn.WithSelf.F.type.e8e = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %X.val: %X = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T.67d [symbolic] // CHECK:STDOUT: %N: %T.67d = symbolic_binding N, 1 [symbolic] // CHECK:STDOUT: %WithImplicitArgs.type: type = generic_interface_type @WithImplicitArgs [concrete] // CHECK:STDOUT: %WithImplicitArgs.generic: %WithImplicitArgs.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.65a: type = pattern_type %Simple.type.31c [concrete] -// CHECK:STDOUT: %T.00a0e3.1: %Simple.type.31c = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.00a0e3.2: %Simple.type.31c = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.346: type = pattern_type %Simple.type.060 [concrete] +// CHECK:STDOUT: %T.f56aca.1: %Simple.type.060 = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.f56aca.2: %Simple.type.060 = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Receive.type: type = fn_type @Receive [concrete] // CHECK:STDOUT: %Receive: %Receive.type = struct_value () [concrete] // CHECK:STDOUT: %Pass.type: type = fn_type @Pass [concrete] // CHECK:STDOUT: %Pass: %Pass.type = struct_value () [concrete] -// CHECK:STDOUT: %Receive.specific_fn: = specific_function %Receive, @Receive(%T.00a0e3.1) [symbolic] +// CHECK:STDOUT: %Receive.specific_fn: = specific_function %Receive, @Receive(%T.f56aca.1) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -144,7 +144,7 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: .Receive = %Receive.decl // CHECK:STDOUT: .Pass = %Pass.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %Simple.decl: %Simple.type.4e3 = interface_decl @Simple [concrete = constants.%Simple.generic] { +// CHECK:STDOUT: %Simple.decl: %Simple.type.7b1 = interface_decl @Simple [concrete = constants.%Simple.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_22.1: type = splice_block %.loc4_22.2 [concrete = type] { @@ -154,7 +154,7 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %T.loc4_19.2: type = symbolic_binding T, 0 [symbolic = %T.loc4_19.1 (constants.%T.67d)] // CHECK:STDOUT: } // CHECK:STDOUT: %X.decl: type = class_decl @X [concrete = constants.%X] {} {} -// CHECK:STDOUT: %WithAssocFn.decl: %WithAssocFn.type.ac8 = interface_decl @WithAssocFn [concrete = constants.%WithAssocFn.generic] { +// CHECK:STDOUT: %WithAssocFn.decl: %WithAssocFn.type.e82 = interface_decl @WithAssocFn [concrete = constants.%WithAssocFn.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8_27.1: type = splice_block %.loc8_27.2 [concrete = type] { @@ -180,26 +180,26 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %N.loc22_39.2: @WithImplicitArgs.%T.loc22_29.1 (%T.67d) = symbolic_binding N, 1 [symbolic = %N.loc22_39.1 (constants.%N)] // CHECK:STDOUT: } // CHECK:STDOUT: %Receive.decl: %Receive.type = fn_decl @Receive [concrete = constants.%Receive] { -// CHECK:STDOUT: %T.patt: %pattern_type.65a = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.346 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc24: type = splice_block %Simple.type [concrete = constants.%Simple.type.31c] { +// CHECK:STDOUT: %.loc24: type = splice_block %Simple.type [concrete = constants.%Simple.type.060] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Simple.ref: %Simple.type.4e3 = name_ref Simple, file.%Simple.decl [concrete = constants.%Simple.generic] +// CHECK:STDOUT: %Simple.ref: %Simple.type.7b1 = name_ref Simple, file.%Simple.decl [concrete = constants.%Simple.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %Simple.type: type = facet_type <@Simple, @Simple(constants.%C)> [concrete = constants.%Simple.type.31c] +// CHECK:STDOUT: %Simple.type: type = facet_type <@Simple, @Simple(constants.%C)> [concrete = constants.%Simple.type.060] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc24_20.3: %Simple.type.31c = symbolic_binding T, 0 [symbolic = %T.loc24_20.2 (constants.%T.00a0e3.2)] +// CHECK:STDOUT: %T.loc24_20.3: %Simple.type.060 = symbolic_binding T, 0 [symbolic = %T.loc24_20.2 (constants.%T.f56aca.2)] // CHECK:STDOUT: } // CHECK:STDOUT: %Pass.decl: %Pass.type = fn_decl @Pass [concrete = constants.%Pass] { -// CHECK:STDOUT: %T.patt: %pattern_type.65a = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.346 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc25: type = splice_block %Simple.type [concrete = constants.%Simple.type.31c] { +// CHECK:STDOUT: %.loc25: type = splice_block %Simple.type [concrete = constants.%Simple.type.060] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Simple.ref: %Simple.type.4e3 = name_ref Simple, file.%Simple.decl [concrete = constants.%Simple.generic] +// CHECK:STDOUT: %Simple.ref: %Simple.type.7b1 = name_ref Simple, file.%Simple.decl [concrete = constants.%Simple.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %Simple.type: type = facet_type <@Simple, @Simple(constants.%C)> [concrete = constants.%Simple.type.31c] +// CHECK:STDOUT: %Simple.type: type = facet_type <@Simple, @Simple(constants.%C)> [concrete = constants.%Simple.type.060] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc25_10.2: %Simple.type.31c = symbolic_binding T, 0 [symbolic = %T.loc25_10.1 (constants.%T.00a0e3.1)] +// CHECK:STDOUT: %T.loc25_10.2: %Simple.type.060 = symbolic_binding T, 0 [symbolic = %T.loc25_10.1 (constants.%T.f56aca.1)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -207,11 +207,11 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %T.loc4_19.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_19.1 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Simple.type: type = facet_type <@Simple, @Simple(%T.loc4_19.1)> [symbolic = %Simple.type (constants.%Simple.type.2a0)] -// CHECK:STDOUT: %Self.loc4_28.2: @Simple.%Simple.type (%Simple.type.2a0) = symbolic_binding Self, 1 [symbolic = %Self.loc4_28.2 (constants.%Self.d2f)] +// CHECK:STDOUT: %Simple.type: type = facet_type <@Simple, @Simple(%T.loc4_19.1)> [symbolic = %Simple.type (constants.%Simple.type.260)] +// CHECK:STDOUT: %Self.loc4_28.2: @Simple.%Simple.type (%Simple.type.260) = symbolic_binding Self, 1 [symbolic = %Self.loc4_28.2 (constants.%Self.2a5)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_28.1: @Simple.%Simple.type (%Simple.type.2a0) = symbolic_binding Self, 1 [symbolic = %Self.loc4_28.2 (constants.%Self.d2f)] +// CHECK:STDOUT: %Self.loc4_28.1: @Simple.%Simple.type (%Simple.type.260) = symbolic_binding Self, 1 [symbolic = %Self.loc4_28.2 (constants.%Self.2a5)] // CHECK:STDOUT: %Simple.WithSelf.decl = interface_with_self_decl @Simple [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -226,24 +226,24 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %T.loc8_24.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_24.1 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %WithAssocFn.type: type = facet_type <@WithAssocFn, @WithAssocFn(%T.loc8_24.1)> [symbolic = %WithAssocFn.type (constants.%WithAssocFn.type.093)] -// CHECK:STDOUT: %Self.loc8_33.2: @WithAssocFn.%WithAssocFn.type (%WithAssocFn.type.093) = symbolic_binding Self, 1 [symbolic = %Self.loc8_33.2 (constants.%Self.8e2)] +// CHECK:STDOUT: %WithAssocFn.type: type = facet_type <@WithAssocFn, @WithAssocFn(%T.loc8_24.1)> [symbolic = %WithAssocFn.type (constants.%WithAssocFn.type.38e)] +// CHECK:STDOUT: %Self.loc8_33.2: @WithAssocFn.%WithAssocFn.type (%WithAssocFn.type.38e) = symbolic_binding Self, 1 [symbolic = %Self.loc8_33.2 (constants.%Self.82f)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc8_33.1: @WithAssocFn.%WithAssocFn.type (%WithAssocFn.type.093) = symbolic_binding Self, 1 [symbolic = %Self.loc8_33.2 (constants.%Self.8e2)] +// CHECK:STDOUT: %Self.loc8_33.1: @WithAssocFn.%WithAssocFn.type (%WithAssocFn.type.38e) = symbolic_binding Self, 1 [symbolic = %Self.loc8_33.2 (constants.%Self.82f)] // CHECK:STDOUT: %WithAssocFn.WithSelf.decl = interface_with_self_decl @WithAssocFn [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %WithAssocFn.WithSelf.F.decl: @WithAssocFn.WithSelf.%WithAssocFn.WithSelf.F.type (%WithAssocFn.WithSelf.F.type.71b) = fn_decl @WithAssocFn.WithSelf.F [symbolic = @WithAssocFn.WithSelf.%WithAssocFn.WithSelf.F (constants.%WithAssocFn.WithSelf.F.1b2)] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.16b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.16b = return_slot_pattern %return.param_patt, %X.ref [concrete] +// CHECK:STDOUT: %WithAssocFn.WithSelf.F.decl: @WithAssocFn.WithSelf.%WithAssocFn.WithSelf.F.type (%WithAssocFn.WithSelf.F.type.15c) = fn_decl @WithAssocFn.WithSelf.F [symbolic = @WithAssocFn.WithSelf.%WithAssocFn.WithSelf.F (constants.%WithAssocFn.WithSelf.F.ee3)] { +// CHECK:STDOUT: %return.param_patt: %pattern_type.7b3 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7b3 = return_slot_pattern %return.param_patt, %X.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %.loc10: Core.Form = init_form %X.ref [concrete = constants.%.8a7] +// CHECK:STDOUT: %.loc10: Core.Form = init_form %X.ref [concrete = constants.%.15f] // CHECK:STDOUT: %return.param: ref %X = out_param call_param0 // CHECK:STDOUT: %return: ref %X = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc10_14.1: @WithAssocFn.WithSelf.%WithAssocFn.assoc_type (%WithAssocFn.assoc_type.9b4) = assoc_entity element0, %WithAssocFn.WithSelf.F.decl [symbolic = %assoc0.loc10_14.2 (constants.%assoc0.aa6)] +// CHECK:STDOUT: %assoc0.loc10_14.1: @WithAssocFn.WithSelf.%WithAssocFn.assoc_type (%WithAssocFn.assoc_type.242) = assoc_entity element0, %WithAssocFn.WithSelf.F.decl [symbolic = %assoc0.loc10_14.2 (constants.%assoc0.463)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc8_33.1 @@ -275,11 +275,11 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.WithAssocFn.impl: %Self.ref as %WithAssocFn.type { // CHECK:STDOUT: %C.as.WithAssocFn.impl.F.decl: %C.as.WithAssocFn.impl.F.type = fn_decl @C.as.WithAssocFn.impl.F [concrete = constants.%C.as.WithAssocFn.impl.F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.16b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.16b = return_slot_pattern %return.param_patt, %X.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7b3 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7b3 = return_slot_pattern %return.param_patt, %X.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %X.ref [concrete = constants.%.8a7] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %X.ref [concrete = constants.%.15f] // CHECK:STDOUT: %return.param: ref %X = out_param call_param0 // CHECK:STDOUT: %return: ref %X = return_slot %return.param // CHECK:STDOUT: } @@ -304,15 +304,15 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: class @C { // CHECK:STDOUT: impl_decl @C.as.Simple.impl [concrete] {} { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] -// CHECK:STDOUT: %Simple.ref: %Simple.type.4e3 = name_ref Simple, file.%Simple.decl [concrete = constants.%Simple.generic] +// CHECK:STDOUT: %Simple.ref: %Simple.type.7b1 = name_ref Simple, file.%Simple.decl [concrete = constants.%Simple.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %Simple.type: type = facet_type <@Simple, @Simple(constants.%C)> [concrete = constants.%Simple.type.31c] +// CHECK:STDOUT: %Simple.type: type = facet_type <@Simple, @Simple(constants.%C)> [concrete = constants.%Simple.type.060] // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @C.as.WithAssocFn.impl [concrete] {} { // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] -// CHECK:STDOUT: %WithAssocFn.ref: %WithAssocFn.type.ac8 = name_ref WithAssocFn, file.%WithAssocFn.decl [concrete = constants.%WithAssocFn.generic] +// CHECK:STDOUT: %WithAssocFn.ref: %WithAssocFn.type.e82 = name_ref WithAssocFn, file.%WithAssocFn.decl [concrete = constants.%WithAssocFn.generic] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %WithAssocFn.type: type = facet_type <@WithAssocFn, @WithAssocFn(constants.%C)> [concrete = constants.%WithAssocFn.type.90a] +// CHECK:STDOUT: %WithAssocFn.type: type = facet_type <@WithAssocFn, @WithAssocFn(constants.%C)> [concrete = constants.%WithAssocFn.type.dfe] // CHECK:STDOUT: } // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type] // CHECK:STDOUT: complete_type_witness = %complete_type @@ -325,7 +325,7 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: .X = // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @WithAssocFn.WithSelf.F(@WithAssocFn.%T.loc8_24.2: type, @WithAssocFn.%Self.loc8_33.1: @WithAssocFn.%WithAssocFn.type (%WithAssocFn.type.093)) { +// CHECK:STDOUT: generic fn @WithAssocFn.WithSelf.F(@WithAssocFn.%T.loc8_24.2: type, @WithAssocFn.%Self.loc8_33.1: @WithAssocFn.%WithAssocFn.type (%WithAssocFn.type.38e)) { // CHECK:STDOUT: fn() -> out %return.param: %X; // CHECK:STDOUT: } // CHECK:STDOUT: @@ -337,9 +337,9 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: return %.loc17_16 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Receive(%T.loc24_20.3: %Simple.type.31c) { -// CHECK:STDOUT: %T.loc24_20.1: %Simple.type.31c = symbolic_binding T, 0 [symbolic = %T.loc24_20.1 (constants.%T.00a0e3.1)] -// CHECK:STDOUT: %T.loc24_20.2: %Simple.type.31c = symbolic_binding T, 0 [symbolic = %T.loc24_20.2 (constants.%T.00a0e3.2)] +// CHECK:STDOUT: generic fn @Receive(%T.loc24_20.3: %Simple.type.060) { +// CHECK:STDOUT: %T.loc24_20.1: %Simple.type.060 = symbolic_binding T, 0 [symbolic = %T.loc24_20.1 (constants.%T.f56aca.1)] +// CHECK:STDOUT: %T.loc24_20.2: %Simple.type.060 = symbolic_binding T, 0 [symbolic = %T.loc24_20.2 (constants.%T.f56aca.2)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -349,8 +349,8 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Pass(%T.loc25_10.2: %Simple.type.31c) { -// CHECK:STDOUT: %T.loc25_10.1: %Simple.type.31c = symbolic_binding T, 0 [symbolic = %T.loc25_10.1 (constants.%T.00a0e3.1)] +// CHECK:STDOUT: generic fn @Pass(%T.loc25_10.2: %Simple.type.060) { +// CHECK:STDOUT: %T.loc25_10.1: %Simple.type.060 = symbolic_binding T, 0 [symbolic = %T.loc25_10.1 (constants.%T.f56aca.1)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Receive.specific_fn.loc26_3.2: = specific_function constants.%Receive, @Receive(%T.loc25_10.1) [symbolic = %Receive.specific_fn.loc26_3.2 (constants.%Receive.specific_fn)] @@ -358,8 +358,8 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Receive.ref: %Receive.type = name_ref Receive, file.%Receive.decl [concrete = constants.%Receive] -// CHECK:STDOUT: %T.ref: %Simple.type.31c = name_ref T, %T.loc25_10.2 [symbolic = %T.loc25_10.1 (constants.%T.00a0e3.1)] -// CHECK:STDOUT: %Receive.specific_fn.loc26_3.1: = specific_function %Receive.ref, @Receive(constants.%T.00a0e3.1) [symbolic = %Receive.specific_fn.loc26_3.2 (constants.%Receive.specific_fn)] +// CHECK:STDOUT: %T.ref: %Simple.type.060 = name_ref T, %T.loc25_10.2 [symbolic = %T.loc25_10.1 (constants.%T.f56aca.1)] +// CHECK:STDOUT: %Receive.specific_fn.loc26_3.1: = specific_function %Receive.ref, @Receive(constants.%T.f56aca.1) [symbolic = %Receive.specific_fn.loc26_3.2 (constants.%Receive.specific_fn)] // CHECK:STDOUT: %Receive.call: init %empty_tuple.type = call %Receive.specific_fn.loc26_3.1() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -369,25 +369,25 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %T.loc4_19.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Simple.WithSelf(constants.%T.67d, constants.%Self.d2f) {} +// CHECK:STDOUT: specific @Simple.WithSelf(constants.%T.67d, constants.%Self.2a5) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @WithAssocFn(constants.%T.67d) { // CHECK:STDOUT: %T.loc8_24.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @WithAssocFn.WithSelf(constants.%T.67d, constants.%Self.8e2) {} +// CHECK:STDOUT: specific @WithAssocFn.WithSelf(constants.%T.67d, constants.%Self.82f) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @WithAssocFn.WithSelf.F(constants.%T.67d, constants.%Self.8e2) {} +// CHECK:STDOUT: specific @WithAssocFn.WithSelf.F(constants.%T.67d, constants.%Self.82f) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Simple(constants.%C) { // CHECK:STDOUT: %T.loc4_19.1 => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Simple.type => constants.%Simple.type.31c -// CHECK:STDOUT: %Self.loc4_28.2 => constants.%Self.e37 +// CHECK:STDOUT: %Simple.type => constants.%Simple.type.060 +// CHECK:STDOUT: %Self.loc4_28.2 => constants.%Self.b42 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Simple.WithSelf(constants.%C, constants.%Self.d2f) { +// CHECK:STDOUT: specific @Simple.WithSelf(constants.%C, constants.%Self.2a5) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -399,30 +399,30 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %T.loc8_24.1 => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %WithAssocFn.type => constants.%WithAssocFn.type.90a -// CHECK:STDOUT: %Self.loc8_33.2 => constants.%Self.8bc +// CHECK:STDOUT: %WithAssocFn.type => constants.%WithAssocFn.type.dfe +// CHECK:STDOUT: %Self.loc8_33.2 => constants.%Self.3e0 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @WithAssocFn.WithSelf(constants.%C, constants.%Self.8e2) { +// CHECK:STDOUT: specific @WithAssocFn.WithSelf(constants.%C, constants.%Self.82f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %WithAssocFn.type => constants.%WithAssocFn.type.90a -// CHECK:STDOUT: %Self => constants.%Self.8e2 -// CHECK:STDOUT: %WithAssocFn.WithSelf.F.type => constants.%WithAssocFn.WithSelf.F.type.f23 -// CHECK:STDOUT: %WithAssocFn.WithSelf.F => constants.%WithAssocFn.WithSelf.F.ff6 -// CHECK:STDOUT: %WithAssocFn.assoc_type => constants.%WithAssocFn.assoc_type.3f2 -// CHECK:STDOUT: %assoc0.loc10_14.2 => constants.%assoc0.0e0 +// CHECK:STDOUT: %WithAssocFn.type => constants.%WithAssocFn.type.dfe +// CHECK:STDOUT: %Self => constants.%Self.82f +// CHECK:STDOUT: %WithAssocFn.WithSelf.F.type => constants.%WithAssocFn.WithSelf.F.type.0d1 +// CHECK:STDOUT: %WithAssocFn.WithSelf.F => constants.%WithAssocFn.WithSelf.F.d9a +// CHECK:STDOUT: %WithAssocFn.assoc_type => constants.%WithAssocFn.assoc_type.e2f +// CHECK:STDOUT: %assoc0.loc10_14.2 => constants.%assoc0.c70 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @WithAssocFn.WithSelf(constants.%C, constants.%WithAssocFn.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %WithAssocFn.type => constants.%WithAssocFn.type.90a +// CHECK:STDOUT: %WithAssocFn.type => constants.%WithAssocFn.type.dfe // CHECK:STDOUT: %Self => constants.%WithAssocFn.facet -// CHECK:STDOUT: %WithAssocFn.WithSelf.F.type => constants.%WithAssocFn.WithSelf.F.type.e96 -// CHECK:STDOUT: %WithAssocFn.WithSelf.F => constants.%WithAssocFn.WithSelf.F.eb0 -// CHECK:STDOUT: %WithAssocFn.assoc_type => constants.%WithAssocFn.assoc_type.3f2 -// CHECK:STDOUT: %assoc0.loc10_14.2 => constants.%assoc0.0e0 +// CHECK:STDOUT: %WithAssocFn.WithSelf.F.type => constants.%WithAssocFn.WithSelf.F.type.e8e +// CHECK:STDOUT: %WithAssocFn.WithSelf.F => constants.%WithAssocFn.WithSelf.F.1d8 +// CHECK:STDOUT: %WithAssocFn.assoc_type => constants.%WithAssocFn.assoc_type.e2f +// CHECK:STDOUT: %assoc0.loc10_14.2 => constants.%assoc0.c70 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @WithAssocFn.WithSelf.F(constants.%C, constants.%WithAssocFn.facet) {} @@ -433,18 +433,18 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %pattern_type => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Receive(constants.%T.00a0e3.2) { -// CHECK:STDOUT: %T.loc24_20.1 => constants.%T.00a0e3.2 -// CHECK:STDOUT: %T.loc24_20.2 => constants.%T.00a0e3.2 +// CHECK:STDOUT: specific @Receive(constants.%T.f56aca.2) { +// CHECK:STDOUT: %T.loc24_20.1 => constants.%T.f56aca.2 +// CHECK:STDOUT: %T.loc24_20.2 => constants.%T.f56aca.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Pass(constants.%T.00a0e3.1) { -// CHECK:STDOUT: %T.loc25_10.1 => constants.%T.00a0e3.1 +// CHECK:STDOUT: specific @Pass(constants.%T.f56aca.1) { +// CHECK:STDOUT: %T.loc25_10.1 => constants.%T.f56aca.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Receive(constants.%T.00a0e3.1) { -// CHECK:STDOUT: %T.loc24_20.1 => constants.%T.00a0e3.1 -// CHECK:STDOUT: %T.loc24_20.2 => constants.%T.00a0e3.1 +// CHECK:STDOUT: specific @Receive(constants.%T.f56aca.1) { +// CHECK:STDOUT: %T.loc24_20.1 => constants.%T.f56aca.1 +// CHECK:STDOUT: %T.loc24_20.2 => constants.%T.f56aca.1 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -456,26 +456,26 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Generic.type.153: type = generic_interface_type @Generic [concrete] -// CHECK:STDOUT: %Generic.generic: %Generic.type.153 = struct_value () [concrete] -// CHECK:STDOUT: %Generic.type.b89: type = facet_type <@Generic, @Generic(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.fb2: %Generic.type.b89 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.type.df8: type = generic_interface_type @Generic [concrete] +// CHECK:STDOUT: %Generic.generic: %Generic.type.df8 = struct_value () [concrete] +// CHECK:STDOUT: %Generic.type.79a: type = facet_type <@Generic, @Generic(%T.67d)> [symbolic] +// CHECK:STDOUT: %Self.34f: %Generic.type.79a = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %A: type = class_type @A [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %B: type = class_type @B [concrete] -// CHECK:STDOUT: %Generic.type.03f: type = facet_type <@Generic, @Generic(%A)> [concrete] -// CHECK:STDOUT: %pattern_type.319: type = pattern_type %Generic.type.03f [concrete] -// CHECK:STDOUT: %T.2eb: %Generic.type.03f = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Generic.type.a8c: type = facet_type <@Generic, @Generic(%A)> [concrete] +// CHECK:STDOUT: %pattern_type.a3e: type = pattern_type %Generic.type.a8c [concrete] +// CHECK:STDOUT: %T.faa: %Generic.type.a8c = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %Generic.type.a8f: type = facet_type <@Generic, @Generic(%B)> [concrete] -// CHECK:STDOUT: %pattern_type.e6f: type = pattern_type %Generic.type.a8f [concrete] -// CHECK:STDOUT: %T.491: %Generic.type.a8f = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Generic.type.141: type = facet_type <@Generic, @Generic(%B)> [concrete] +// CHECK:STDOUT: %pattern_type.523: type = pattern_type %Generic.type.141 [concrete] +// CHECK:STDOUT: %T.eff: %Generic.type.141 = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %Self.b05: %Generic.type.a8f = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.491 [symbolic] +// CHECK:STDOUT: %Self.8ba: %Generic.type.141 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.eff [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -486,7 +486,7 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: .F = %F.decl // CHECK:STDOUT: .G = %G.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %Generic.decl: %Generic.type.153 = interface_decl @Generic [concrete = constants.%Generic.generic] { +// CHECK:STDOUT: %Generic.decl: %Generic.type.df8 = interface_decl @Generic [concrete = constants.%Generic.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_23.1: type = splice_block %.loc4_23.2 [concrete = type] { @@ -498,26 +498,26 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %A.decl: type = class_decl @A [concrete = constants.%A] {} {} // CHECK:STDOUT: %B.decl: type = class_decl @B [concrete = constants.%B] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %T.patt: %pattern_type.319 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.a3e = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc9: type = splice_block %Generic.type [concrete = constants.%Generic.type.03f] { +// CHECK:STDOUT: %.loc9: type = splice_block %Generic.type [concrete = constants.%Generic.type.a8c] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Generic.ref: %Generic.type.153 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A] -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%A)> [concrete = constants.%Generic.type.03f] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%A)> [concrete = constants.%Generic.type.a8c] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc9_7.2: %Generic.type.03f = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.2eb)] +// CHECK:STDOUT: %T.loc9_7.2: %Generic.type.a8c = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.faa)] // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %T.patt: %pattern_type.e6f = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.523 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc10: type = splice_block %Generic.type [concrete = constants.%Generic.type.a8f] { +// CHECK:STDOUT: %.loc10: type = splice_block %Generic.type [concrete = constants.%Generic.type.141] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Generic.ref: %Generic.type.153 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %B.ref: type = name_ref B, file.%B.decl [concrete = constants.%B] -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%B)> [concrete = constants.%Generic.type.a8f] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(constants.%B)> [concrete = constants.%Generic.type.141] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc10_7.2: %Generic.type.a8f = symbolic_binding T, 0 [symbolic = %T.loc10_7.1 (constants.%T.491)] +// CHECK:STDOUT: %T.loc10_7.2: %Generic.type.141 = symbolic_binding T, 0 [symbolic = %T.loc10_7.1 (constants.%T.eff)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -525,11 +525,11 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %T.loc4_20.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_20.1 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%T.loc4_20.1)> [symbolic = %Generic.type (constants.%Generic.type.b89)] -// CHECK:STDOUT: %Self.loc4_29.2: @Generic.%Generic.type (%Generic.type.b89) = symbolic_binding Self, 1 [symbolic = %Self.loc4_29.2 (constants.%Self.fb2)] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%T.loc4_20.1)> [symbolic = %Generic.type (constants.%Generic.type.79a)] +// CHECK:STDOUT: %Self.loc4_29.2: @Generic.%Generic.type (%Generic.type.79a) = symbolic_binding Self, 1 [symbolic = %Self.loc4_29.2 (constants.%Self.34f)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_29.1: @Generic.%Generic.type (%Generic.type.b89) = symbolic_binding Self, 1 [symbolic = %Self.loc4_29.2 (constants.%Self.fb2)] +// CHECK:STDOUT: %Self.loc4_29.1: @Generic.%Generic.type (%Generic.type.79a) = symbolic_binding Self, 1 [symbolic = %Self.loc4_29.2 (constants.%Self.34f)] // CHECK:STDOUT: %Generic.WithSelf.decl = interface_with_self_decl @Generic [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -556,14 +556,14 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: .Self = constants.%B // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @F(%T.loc9_7.2: %Generic.type.03f) { -// CHECK:STDOUT: %T.loc9_7.1: %Generic.type.03f = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.2eb)] +// CHECK:STDOUT: generic fn @F(%T.loc9_7.2: %Generic.type.a8c) { +// CHECK:STDOUT: %T.loc9_7.1: %Generic.type.a8c = symbolic_binding T, 0 [symbolic = %T.loc9_7.1 (constants.%T.faa)] // CHECK:STDOUT: // CHECK:STDOUT: fn(); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @G(%T.loc10_7.2: %Generic.type.a8f) { -// CHECK:STDOUT: %T.loc10_7.1: %Generic.type.a8f = symbolic_binding T, 0 [symbolic = %T.loc10_7.1 (constants.%T.491)] +// CHECK:STDOUT: generic fn @G(%T.loc10_7.2: %Generic.type.141) { +// CHECK:STDOUT: %T.loc10_7.1: %Generic.type.141 = symbolic_binding T, 0 [symbolic = %T.loc10_7.1 (constants.%T.eff)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T.as_type.loc18_6.2: type = facet_access_type %T.loc10_7.1 [symbolic = %T.as_type.loc18_6.2 (constants.%T.as_type)] @@ -571,7 +571,7 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %T.ref: %Generic.type.a8f = name_ref T, %T.loc10_7.2 [symbolic = %T.loc10_7.1 (constants.%T.491)] +// CHECK:STDOUT: %T.ref: %Generic.type.141 = name_ref T, %T.loc10_7.2 [symbolic = %T.loc10_7.1 (constants.%T.eff)] // CHECK:STDOUT: %T.as_type.loc18_6.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc18_6.2 (constants.%T.as_type)] // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -581,29 +581,29 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %T.loc4_20.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%T.67d, constants.%Self.fb2) {} +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%T.67d, constants.%Self.34f) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%A) { // CHECK:STDOUT: %T.loc4_20.1 => constants.%A // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.2eb) { -// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.2eb +// CHECK:STDOUT: specific @F(constants.%T.faa) { +// CHECK:STDOUT: %T.loc9_7.1 => constants.%T.faa // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Generic(constants.%B) { // CHECK:STDOUT: %T.loc4_20.1 => constants.%B // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type => constants.%Generic.type.a8f -// CHECK:STDOUT: %Self.loc4_29.2 => constants.%Self.b05 +// CHECK:STDOUT: %Generic.type => constants.%Generic.type.141 +// CHECK:STDOUT: %Self.loc4_29.2 => constants.%Self.8ba // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @G(constants.%T.491) { -// CHECK:STDOUT: %T.loc10_7.1 => constants.%T.491 +// CHECK:STDOUT: specific @G(constants.%T.eff) { +// CHECK:STDOUT: %T.loc10_7.1 => constants.%T.eff // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Generic.WithSelf(constants.%B, constants.%Self.fb2) { +// CHECK:STDOUT: specific @Generic.WithSelf(constants.%B, constants.%Self.34f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -614,11 +614,11 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Generic.type.0c1: type = generic_interface_type @Generic [concrete] +// CHECK:STDOUT: %Generic.type.df8: type = generic_interface_type @Generic [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Generic.generic: %Generic.type.0c1 = struct_value () [concrete] -// CHECK:STDOUT: %Generic.type.24e: type = facet_type <@Generic, @Generic(%T)> [symbolic] -// CHECK:STDOUT: %Self: %Generic.type.24e = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Generic.generic: %Generic.type.df8 = struct_value () [concrete] +// CHECK:STDOUT: %Generic.type.79a: type = facet_type <@Generic, @Generic(%T)> [symbolic] +// CHECK:STDOUT: %Self: %Generic.type.79a = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] @@ -629,7 +629,7 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: .Generic = %Generic.decl // CHECK:STDOUT: .F = %F.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %Generic.decl: %Generic.type.0c1 = interface_decl @Generic [concrete = constants.%Generic.generic] { +// CHECK:STDOUT: %Generic.decl: %Generic.type.df8 = interface_decl @Generic [concrete = constants.%Generic.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc3_23.1: type = splice_block %.loc3_23.2 [concrete = type] { @@ -643,7 +643,7 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: } { // CHECK:STDOUT: %.1: = splice_block [concrete = ] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Generic.ref: %Generic.type.0c1 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] +// CHECK:STDOUT: %Generic.ref: %Generic.type.df8 = name_ref Generic, file.%Generic.decl [concrete = constants.%Generic.generic] // CHECK:STDOUT: %.loc12_26: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc12_30: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: } @@ -655,11 +655,11 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %T.loc3_20.1: type = symbolic_binding T, 0 [symbolic = %T.loc3_20.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%T.loc3_20.1)> [symbolic = %Generic.type (constants.%Generic.type.24e)] -// CHECK:STDOUT: %Self.loc3_29.2: @Generic.%Generic.type (%Generic.type.24e) = symbolic_binding Self, 1 [symbolic = %Self.loc3_29.2 (constants.%Self)] +// CHECK:STDOUT: %Generic.type: type = facet_type <@Generic, @Generic(%T.loc3_20.1)> [symbolic = %Generic.type (constants.%Generic.type.79a)] +// CHECK:STDOUT: %Self.loc3_29.2: @Generic.%Generic.type (%Generic.type.79a) = symbolic_binding Self, 1 [symbolic = %Self.loc3_29.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc3_29.1: @Generic.%Generic.type (%Generic.type.24e) = symbolic_binding Self, 1 [symbolic = %Self.loc3_29.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc3_29.1: @Generic.%Generic.type (%Generic.type.79a) = symbolic_binding Self, 1 [symbolic = %Self.loc3_29.2 (constants.%Self)] // CHECK:STDOUT: %Generic.WithSelf.decl = interface_with_self_decl @Generic [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: diff --git a/toolchain/check/testdata/interface/generic_import.carbon b/toolchain/check/testdata/interface/generic_import.carbon index 517211abeb8d..71448c595bd7 100644 --- a/toolchain/check/testdata/interface/generic_import.carbon +++ b/toolchain/check/testdata/interface/generic_import.carbon @@ -38,10 +38,10 @@ impl C as AddWith(C) { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %AddWith.type.393: type = generic_interface_type @AddWith [concrete] -// CHECK:STDOUT: %AddWith.generic: %AddWith.type.393 = struct_value () [concrete] -// CHECK:STDOUT: %AddWith.type.647: type = facet_type <@AddWith, @AddWith(%T)> [symbolic] -// CHECK:STDOUT: %Self: %AddWith.type.647 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %AddWith.type.093: type = generic_interface_type @AddWith [concrete] +// CHECK:STDOUT: %AddWith.generic: %AddWith.type.093 = struct_value () [concrete] +// CHECK:STDOUT: %AddWith.type.059: type = facet_type <@AddWith, @AddWith(%T)> [symbolic] +// CHECK:STDOUT: %Self: %AddWith.type.059 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %AddWith.WithSelf.F.type: type = fn_type @AddWith.WithSelf.F, @AddWith.WithSelf(%T, %Self) [symbolic] // CHECK:STDOUT: %AddWith.WithSelf.F: %AddWith.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %AddWith.assoc_type: type = assoc_entity_type @AddWith, @AddWith(%T) [symbolic] @@ -52,7 +52,7 @@ impl C as AddWith(C) { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .AddWith = %AddWith.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %AddWith.decl: %AddWith.type.393 = interface_decl @AddWith [concrete = constants.%AddWith.generic] { +// CHECK:STDOUT: %AddWith.decl: %AddWith.type.093 = interface_decl @AddWith [concrete = constants.%AddWith.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_23.1: type = splice_block %.loc4_23.2 [concrete = type] { @@ -67,11 +67,11 @@ impl C as AddWith(C) { // CHECK:STDOUT: %T.loc4_20.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_20.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(%T.loc4_20.1)> [symbolic = %AddWith.type (constants.%AddWith.type.647)] -// CHECK:STDOUT: %Self.loc4_29.2: @AddWith.%AddWith.type (%AddWith.type.647) = symbolic_binding Self, 1 [symbolic = %Self.loc4_29.2 (constants.%Self)] +// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(%T.loc4_20.1)> [symbolic = %AddWith.type (constants.%AddWith.type.059)] +// CHECK:STDOUT: %Self.loc4_29.2: @AddWith.%AddWith.type (%AddWith.type.059) = symbolic_binding Self, 1 [symbolic = %Self.loc4_29.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_29.1: @AddWith.%AddWith.type (%AddWith.type.647) = symbolic_binding Self, 1 [symbolic = %Self.loc4_29.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc4_29.1: @AddWith.%AddWith.type (%AddWith.type.059) = symbolic_binding Self, 1 [symbolic = %Self.loc4_29.2 (constants.%Self)] // CHECK:STDOUT: %AddWith.WithSelf.decl = interface_with_self_decl @AddWith [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -87,7 +87,7 @@ impl C as AddWith(C) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @AddWith.WithSelf.F(@AddWith.%T.loc4_20.2: type, @AddWith.%Self.loc4_29.1: @AddWith.%AddWith.type (%AddWith.type.647)) { +// CHECK:STDOUT: generic fn @AddWith.WithSelf.F(@AddWith.%T.loc4_20.2: type, @AddWith.%Self.loc4_29.1: @AddWith.%AddWith.type (%AddWith.type.059)) { // CHECK:STDOUT: fn(); // CHECK:STDOUT: } // CHECK:STDOUT: @@ -105,35 +105,35 @@ impl C as AddWith(C) { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %AddWith.type.753: type = generic_interface_type @AddWith [concrete] -// CHECK:STDOUT: %AddWith.generic: %AddWith.type.753 = struct_value () [concrete] +// CHECK:STDOUT: %AddWith.type.093: type = generic_interface_type @AddWith [concrete] +// CHECK:STDOUT: %AddWith.generic: %AddWith.type.093 = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %AddWith.type.2f3: type = facet_type <@AddWith, @AddWith(%T)> [symbolic] -// CHECK:STDOUT: %Self.197: %AddWith.type.2f3 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.F.type.b66: type = fn_type @AddWith.WithSelf.F, @AddWith.WithSelf(%T, %Self.197) [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.F.c4c: %AddWith.WithSelf.F.type.b66 = struct_value () [symbolic] -// CHECK:STDOUT: %AddWith.type.dd3: type = facet_type <@AddWith, @AddWith(%C)> [concrete] +// CHECK:STDOUT: %AddWith.type.059: type = facet_type <@AddWith, @AddWith(%T)> [symbolic] +// CHECK:STDOUT: %Self.842: %AddWith.type.059 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.F.type.19b: type = fn_type @AddWith.WithSelf.F, @AddWith.WithSelf(%T, %Self.842) [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.F.588: %AddWith.WithSelf.F.type.19b = struct_value () [symbolic] +// CHECK:STDOUT: %AddWith.type.36c: type = facet_type <@AddWith, @AddWith(%C)> [concrete] // CHECK:STDOUT: %AddWith.impl_witness: = impl_witness @C.as.AddWith.impl.%AddWith.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.b2f: %AddWith.type.dd3 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.F.type.d53: type = fn_type @AddWith.WithSelf.F, @AddWith.WithSelf(%C, %Self.197) [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.F.545: %AddWith.WithSelf.F.type.d53 = struct_value () [symbolic] -// CHECK:STDOUT: %AddWith.assoc_type.801: type = assoc_entity_type @AddWith, @AddWith(%C) [concrete] -// CHECK:STDOUT: %assoc0.2b1: %AddWith.assoc_type.801 = assoc_entity element0, imports.%Main.import_ref.51d [concrete] +// CHECK:STDOUT: %Self.c39: %AddWith.type.36c = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.F.type.0d3: type = fn_type @AddWith.WithSelf.F, @AddWith.WithSelf(%C, %Self.842) [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.F.a81: %AddWith.WithSelf.F.type.0d3 = struct_value () [symbolic] +// CHECK:STDOUT: %AddWith.assoc_type.933: type = assoc_entity_type @AddWith, @AddWith(%C) [concrete] +// CHECK:STDOUT: %assoc0.e24: %AddWith.assoc_type.933 = assoc_entity element0, imports.%Main.import_ref.2ba [concrete] // CHECK:STDOUT: %C.as.AddWith.impl.F.type: type = fn_type @C.as.AddWith.impl.F [concrete] // CHECK:STDOUT: %C.as.AddWith.impl.F: %C.as.AddWith.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %AddWith.facet: %AddWith.type.dd3 = facet_value %C, (%AddWith.impl_witness) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.F.type.c46: type = fn_type @AddWith.WithSelf.F, @AddWith.WithSelf(%C, %AddWith.facet) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.F.81e: %AddWith.WithSelf.F.type.c46 = struct_value () [concrete] +// CHECK:STDOUT: %AddWith.facet: %AddWith.type.36c = facet_value %C, (%AddWith.impl_witness) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.F.type.c71: type = fn_type @AddWith.WithSelf.F, @AddWith.WithSelf(%C, %AddWith.facet) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.F.4f7: %AddWith.WithSelf.F.type.c71 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Main.AddWith: %AddWith.type.753 = import_ref Main//a, AddWith, loaded [concrete = constants.%AddWith.generic] -// CHECK:STDOUT: %Main.import_ref.990 = import_ref Main//a, loc5_9, unloaded -// CHECK:STDOUT: %Main.F: @AddWith.WithSelf.%AddWith.WithSelf.F.type (%AddWith.WithSelf.F.type.b66) = import_ref Main//a, F, loaded [symbolic = @AddWith.WithSelf.%AddWith.WithSelf.F (constants.%AddWith.WithSelf.F.c4c)] -// CHECK:STDOUT: %Main.import_ref.51d = import_ref Main//a, loc5_9, unloaded +// CHECK:STDOUT: %Main.AddWith: %AddWith.type.093 = import_ref Main//a, AddWith, loaded [concrete = constants.%AddWith.generic] +// CHECK:STDOUT: %Main.import_ref.891 = import_ref Main//a, loc5_9, unloaded +// CHECK:STDOUT: %Main.F: @AddWith.WithSelf.%AddWith.WithSelf.F.type (%AddWith.WithSelf.F.type.19b) = import_ref Main//a, F, loaded [symbolic = @AddWith.WithSelf.%AddWith.WithSelf.F (constants.%AddWith.WithSelf.F.588)] +// CHECK:STDOUT: %Main.import_ref.2ba = import_ref Main//a, loc5_9, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.2: type = import_ref Main//a, loc4_20, loaded [symbolic = @AddWith.%T (constants.%T)] -// CHECK:STDOUT: %Main.import_ref.cfb67d.2: @AddWith.%AddWith.type (%AddWith.type.2f3) = import_ref Main//a, loc4_29, loaded [symbolic = @AddWith.%Self (constants.%Self.197)] -// CHECK:STDOUT: %Main.import_ref.8ef = import_ref Main//a, loc4_29, unloaded +// CHECK:STDOUT: %Main.import_ref.18e244.2: @AddWith.%AddWith.type (%AddWith.type.059) = import_ref Main//a, loc4_29, loaded [symbolic = @AddWith.%Self (constants.%Self.842)] +// CHECK:STDOUT: %Main.import_ref.12e = import_ref Main//a, loc4_29, unloaded // CHECK:STDOUT: %Main.import_ref.b3bc94.3: type = import_ref Main//a, loc4_20, loaded [symbolic = @AddWith.%T (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -146,9 +146,9 @@ impl C as AddWith(C) { // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: impl_decl @C.as.AddWith.impl [concrete] {} { // CHECK:STDOUT: %C.ref.loc7_6: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %AddWith.ref: %AddWith.type.753 = name_ref AddWith, imports.%Main.AddWith [concrete = constants.%AddWith.generic] +// CHECK:STDOUT: %AddWith.ref: %AddWith.type.093 = name_ref AddWith, imports.%Main.AddWith [concrete = constants.%AddWith.generic] // CHECK:STDOUT: %C.ref.loc7_19: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(constants.%C)> [concrete = constants.%AddWith.type.dd3] +// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(constants.%C)> [concrete = constants.%AddWith.type.36c] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -156,13 +156,13 @@ impl C as AddWith(C) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(%T)> [symbolic = %AddWith.type (constants.%AddWith.type.2f3)] -// CHECK:STDOUT: %Self: @AddWith.%AddWith.type (%AddWith.type.2f3) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.197)] +// CHECK:STDOUT: %AddWith.type: type = facet_type <@AddWith, @AddWith(%T)> [symbolic = %AddWith.type (constants.%AddWith.type.059)] +// CHECK:STDOUT: %Self: @AddWith.%AddWith.type (%AddWith.type.059) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.842)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.8ef -// CHECK:STDOUT: .F = imports.%Main.import_ref.990 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.12e +// CHECK:STDOUT: .F = imports.%Main.import_ref.891 // CHECK:STDOUT: witness = (imports.%Main.F) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -188,7 +188,7 @@ impl C as AddWith(C) { // CHECK:STDOUT: .Self = constants.%C // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @AddWith.WithSelf.F(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.cfb67d.2: @AddWith.%AddWith.type (%AddWith.type.2f3)) [from "a.carbon"] { +// CHECK:STDOUT: generic fn @AddWith.WithSelf.F(imports.%Main.import_ref.b3bc94.2: type, imports.%Main.import_ref.18e244.2: @AddWith.%AddWith.type (%AddWith.type.059)) [from "a.carbon"] { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: @@ -201,38 +201,38 @@ impl C as AddWith(C) { // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.WithSelf(constants.%T, constants.%Self.197) {} +// CHECK:STDOUT: specific @AddWith.WithSelf(constants.%T, constants.%Self.842) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.WithSelf.F(constants.%T, constants.%Self.197) {} +// CHECK:STDOUT: specific @AddWith.WithSelf.F(constants.%T, constants.%Self.842) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @AddWith(constants.%C) { // CHECK:STDOUT: %T => constants.%C // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.dd3 -// CHECK:STDOUT: %Self => constants.%Self.b2f +// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.36c +// CHECK:STDOUT: %Self => constants.%Self.c39 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.WithSelf(constants.%C, constants.%Self.197) { +// CHECK:STDOUT: specific @AddWith.WithSelf(constants.%C, constants.%Self.842) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.dd3 -// CHECK:STDOUT: %Self => constants.%Self.197 -// CHECK:STDOUT: %AddWith.WithSelf.F.type => constants.%AddWith.WithSelf.F.type.d53 -// CHECK:STDOUT: %AddWith.WithSelf.F => constants.%AddWith.WithSelf.F.545 -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.801 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.2b1 +// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.36c +// CHECK:STDOUT: %Self => constants.%Self.842 +// CHECK:STDOUT: %AddWith.WithSelf.F.type => constants.%AddWith.WithSelf.F.type.0d3 +// CHECK:STDOUT: %AddWith.WithSelf.F => constants.%AddWith.WithSelf.F.a81 +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.933 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.e24 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @AddWith.WithSelf(constants.%C, constants.%AddWith.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%C -// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.dd3 +// CHECK:STDOUT: %AddWith.type => constants.%AddWith.type.36c // CHECK:STDOUT: %Self => constants.%AddWith.facet -// CHECK:STDOUT: %AddWith.WithSelf.F.type => constants.%AddWith.WithSelf.F.type.c46 -// CHECK:STDOUT: %AddWith.WithSelf.F => constants.%AddWith.WithSelf.F.81e -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.801 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.2b1 +// CHECK:STDOUT: %AddWith.WithSelf.F.type => constants.%AddWith.WithSelf.F.type.c71 +// CHECK:STDOUT: %AddWith.WithSelf.F => constants.%AddWith.WithSelf.F.4f7 +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.933 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.e24 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @AddWith.WithSelf.F(constants.%C, constants.%AddWith.facet) {} diff --git a/toolchain/check/testdata/interface/generic_method.carbon b/toolchain/check/testdata/interface/generic_method.carbon index 12b35b260d5f..b2c1bcb55c12 100644 --- a/toolchain/check/testdata/interface/generic_method.carbon +++ b/toolchain/check/testdata/interface/generic_method.carbon @@ -90,150 +90,150 @@ fn CallIndirect() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %A.type.08f: type = generic_interface_type @A [concrete] +// CHECK:STDOUT: %A.type.0af: type = generic_interface_type @A [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %A.generic: %A.type.08f = struct_value () [concrete] -// CHECK:STDOUT: %A.type.434: type = facet_type <@A, @A(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.4b2: %A.type.434 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %A.generic: %A.type.0af = struct_value () [concrete] +// CHECK:STDOUT: %A.type.5ea: type = facet_type <@A, @A(%T.67d)> [symbolic] +// CHECK:STDOUT: %Self.a33: %A.type.5ea = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %U.4e7: type = symbolic_binding U, 2 [symbolic] // CHECK:STDOUT: %ptr.8f6: type = ptr_type %U.4e7 [symbolic] // CHECK:STDOUT: %pattern_type.986: type = pattern_type %ptr.8f6 [symbolic] -// CHECK:STDOUT: %tuple.type.916: type = tuple_type (type, %A.type.434, type) [symbolic] -// CHECK:STDOUT: %tuple.ad3: %tuple.type.916 = tuple_value (%T.67d, %Self.4b2, %ptr.8f6) [symbolic] -// CHECK:STDOUT: %Self.as_type.eff: type = facet_access_type %Self.4b2 [symbolic] -// CHECK:STDOUT: %tuple.type.65f: type = tuple_type (%T.67d, %Self.as_type.eff, %ptr.8f6) [symbolic] -// CHECK:STDOUT: %.bab: Core.Form = init_form %tuple.type.65f [symbolic] -// CHECK:STDOUT: %pattern_type.6a6: type = pattern_type %tuple.type.65f [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.type.220: type = fn_type @A.WithSelf.F, @A.WithSelf(%T.67d, %Self.4b2) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.0e1: %A.WithSelf.F.type.220 = struct_value () [symbolic] -// CHECK:STDOUT: %A.assoc_type.e92: type = assoc_entity_type @A, @A(%T.67d) [symbolic] -// CHECK:STDOUT: %assoc0.3ff: %A.assoc_type.e92 = assoc_entity element0, @A.WithSelf.%A.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %tuple.type.54d: type = tuple_type (type, %A.type.5ea, type) [symbolic] +// CHECK:STDOUT: %tuple.44b: %tuple.type.54d = tuple_value (%T.67d, %Self.a33, %ptr.8f6) [symbolic] +// CHECK:STDOUT: %Self.as_type.0a5: type = facet_access_type %Self.a33 [symbolic] +// CHECK:STDOUT: %tuple.type.67c: type = tuple_type (%T.67d, %Self.as_type.0a5, %ptr.8f6) [symbolic] +// CHECK:STDOUT: %.f77: Core.Form = init_form %tuple.type.67c [symbolic] +// CHECK:STDOUT: %pattern_type.050: type = pattern_type %tuple.type.67c [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.type.f0d: type = fn_type @A.WithSelf.F, @A.WithSelf(%T.67d, %Self.a33) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.628: %A.WithSelf.F.type.f0d = struct_value () [symbolic] +// CHECK:STDOUT: %A.assoc_type.092: type = assoc_entity_type @A, @A(%T.67d) [symbolic] +// CHECK:STDOUT: %assoc0.7bb: %A.assoc_type.092 = assoc_entity element0, @A.WithSelf.%A.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %Y: type = class_type @Y [concrete] // CHECK:STDOUT: %Z: type = class_type @Z [concrete] -// CHECK:STDOUT: %A.type.7cb: type = facet_type <@A, @A(%X)> [concrete] +// CHECK:STDOUT: %A.type.ef5: type = facet_type <@A, @A(%X)> [concrete] // CHECK:STDOUT: %A.impl_witness: = impl_witness @Y.as.A.impl.%A.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.f54: %A.type.7cb = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.type.dbb: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %Self.4b2) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.99c: %A.WithSelf.F.type.dbb = struct_value () [symbolic] -// CHECK:STDOUT: %A.assoc_type.5e9: type = assoc_entity_type @A, @A(%X) [concrete] -// CHECK:STDOUT: %assoc0.c62: %A.assoc_type.5e9 = assoc_entity element0, @A.WithSelf.%A.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %Self.0c0: %A.type.ef5 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.type.c12: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %Self.a33) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.612: %A.WithSelf.F.type.c12 = struct_value () [symbolic] +// CHECK:STDOUT: %A.assoc_type.3ce: type = assoc_entity_type @A, @A(%X) [concrete] +// CHECK:STDOUT: %assoc0.2c2: %A.assoc_type.3ce = assoc_entity element0, @A.WithSelf.%A.WithSelf.F.decl [concrete] // CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f8f9.1: type = ptr_type %U.67d [symbolic] // CHECK:STDOUT: %pattern_type.4f4b84.1: type = pattern_type %ptr.e8f8f9.1 [symbolic] // CHECK:STDOUT: %tuple.type.ff9: type = tuple_type (type, type, type) [concrete] -// CHECK:STDOUT: %tuple.bfc: %tuple.type.ff9 = tuple_value (%X, %Y, %ptr.e8f8f9.1) [symbolic] -// CHECK:STDOUT: %tuple.type.d6f: type = tuple_type (%X, %Y, %ptr.e8f8f9.1) [symbolic] -// CHECK:STDOUT: %.776: Core.Form = init_form %tuple.type.d6f [symbolic] -// CHECK:STDOUT: %pattern_type.9b3: type = pattern_type %tuple.type.d6f [symbolic] +// CHECK:STDOUT: %tuple.fdd: %tuple.type.ff9 = tuple_value (%X, %Y, %ptr.e8f8f9.1) [symbolic] +// CHECK:STDOUT: %tuple.type.4b0: type = tuple_type (%X, %Y, %ptr.e8f8f9.1) [symbolic] +// CHECK:STDOUT: %.de3: Core.Form = init_form %tuple.type.4b0 [symbolic] +// CHECK:STDOUT: %pattern_type.145: type = pattern_type %tuple.type.4b0 [symbolic] // CHECK:STDOUT: %Y.as.A.impl.F.type: type = fn_type @Y.as.A.impl.F [concrete] // CHECK:STDOUT: %Y.as.A.impl.F: %Y.as.A.impl.F.type = struct_value () [concrete] -// CHECK:STDOUT: %A.facet.659: %A.type.7cb = facet_value %Y, (%A.impl_witness) [concrete] -// CHECK:STDOUT: %A.WithSelf.F.type.afa: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %A.facet.659) [concrete] -// CHECK:STDOUT: %A.WithSelf.F.f0c: %A.WithSelf.F.type.afa = struct_value () [concrete] -// CHECK:STDOUT: %tuple.type.0d0: type = tuple_type (type, %A.type.7cb, type) [concrete] -// CHECK:STDOUT: %tuple.605: %tuple.type.0d0 = tuple_value (%X, %A.facet.659, %ptr.e8f8f9.1) [symbolic] +// CHECK:STDOUT: %A.facet.027: %A.type.ef5 = facet_value %Y, (%A.impl_witness) [concrete] +// CHECK:STDOUT: %A.WithSelf.F.type.d17: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %A.facet.027) [concrete] +// CHECK:STDOUT: %A.WithSelf.F.a05: %A.WithSelf.F.type.d17 = struct_value () [concrete] +// CHECK:STDOUT: %tuple.type.d63: type = tuple_type (type, %A.type.ef5, type) [concrete] +// CHECK:STDOUT: %tuple.6cb: %tuple.type.d63 = tuple_value (%X, %A.facet.027, %ptr.e8f8f9.1) [symbolic] // CHECK:STDOUT: %require_complete.ef162c.1: = require_complete_type %ptr.e8f8f9.1 [symbolic] -// CHECK:STDOUT: %require_complete.ef0: = require_complete_type %tuple.type.d6f [symbolic] +// CHECK:STDOUT: %require_complete.4f8: = require_complete_type %tuple.type.4b0 [symbolic] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.dd2: type = tuple_type (%empty_struct_type, %empty_struct_type, %ptr.e8f8f9.1) [symbolic] // CHECK:STDOUT: %X.val: %X = struct_value () [concrete] // CHECK:STDOUT: %Y.val: %Y = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03c11.1: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed28d.1: %ptr.as.Copy.impl.Op.type.b03c11.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.5be: = lookup_impl_witness %ptr.e8f8f9.1, @Copy [symbolic] -// CHECK:STDOUT: %.546: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%U.67d) [symbolic] -// CHECK:STDOUT: %Copy.facet.2a3: %Copy.type = facet_value %ptr.e8f8f9.1, (%Copy.lookup_impl_witness.5be) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a8e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.2a3) [symbolic] -// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a8e, %Copy.facet.2a3 [symbolic] -// CHECK:STDOUT: %impl.elem0.480: %.86b = impl_witness_access %Copy.lookup_impl_witness.5be, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d1f: = specific_impl_function %impl.elem0.480, @Copy.WithSelf.Op(%Copy.facet.2a3) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa424f.1: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1c66.1: %ptr.as.Copy.impl.Op.type.aa424f.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2bf: = lookup_impl_witness %ptr.e8f8f9.1, @Copy [symbolic] +// CHECK:STDOUT: %.b6a: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%U.67d) [symbolic] +// CHECK:STDOUT: %Copy.facet.44d: %Copy.type = facet_value %ptr.e8f8f9.1, (%Copy.lookup_impl_witness.2bf) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.72b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.44d) [symbolic] +// CHECK:STDOUT: %.39b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72b, %Copy.facet.44d [symbolic] +// CHECK:STDOUT: %impl.elem0.8a3: %.39b = impl_witness_access %Copy.lookup_impl_witness.2bf, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a13: = specific_impl_function %impl.elem0.8a3, @Copy.WithSelf.Op(%Copy.facet.44d) [symbolic] // CHECK:STDOUT: %Call.type: type = fn_type @Call [concrete] // CHECK:STDOUT: %Call: %Call.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.843: type = pattern_type %Z [concrete] +// CHECK:STDOUT: %pattern_type.f0a: type = pattern_type %Z [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.9eb: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%Z) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d8d: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Z) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9ad: %T.as.DefaultOrUnformed.impl.Op.type.d8d = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Z, (%DefaultOrUnformed.impl_witness.9eb) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.9ad, @T.as.DefaultOrUnformed.impl.Op(%Z) [concrete] -// CHECK:STDOUT: %.401: type = fn_type_with_self_type %A.WithSelf.F.type.afa, %A.facet.659 [concrete] -// CHECK:STDOUT: %ptr.9a2: type = ptr_type %Z [concrete] -// CHECK:STDOUT: %pattern_type.bea: type = pattern_type %ptr.9a2 [concrete] -// CHECK:STDOUT: %tuple.eea: %tuple.type.ff9 = tuple_value (%X, %Y, %ptr.9a2) [concrete] -// CHECK:STDOUT: %tuple.type.aa4: type = tuple_type (%X, %Y, %ptr.9a2) [concrete] -// CHECK:STDOUT: %.b42: Core.Form = init_form %tuple.type.aa4 [concrete] -// CHECK:STDOUT: %pattern_type.b06: type = pattern_type %tuple.type.aa4 [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.868: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%Z) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.121: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%Z) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.b4b: %T.as.DefaultOrUnformed.impl.Op.type.121 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %Z, (%DefaultOrUnformed.impl_witness.868) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.b4b, @T.as.DefaultOrUnformed.impl.Op(%Z) [concrete] +// CHECK:STDOUT: %.7ae: type = fn_type_with_self_type %A.WithSelf.F.type.d17, %A.facet.027 [concrete] +// CHECK:STDOUT: %ptr.1c4: type = ptr_type %Z [concrete] +// CHECK:STDOUT: %pattern_type.8b9: type = pattern_type %ptr.1c4 [concrete] +// CHECK:STDOUT: %tuple.61d: %tuple.type.ff9 = tuple_value (%X, %Y, %ptr.1c4) [concrete] +// CHECK:STDOUT: %tuple.type.cf4: type = tuple_type (%X, %Y, %ptr.1c4) [concrete] +// CHECK:STDOUT: %.d9d: Core.Form = init_form %tuple.type.cf4 [concrete] +// CHECK:STDOUT: %pattern_type.213: type = pattern_type %tuple.type.cf4 [concrete] // CHECK:STDOUT: %Y.as.A.impl.F.specific_fn: = specific_function %Y.as.A.impl.F, @Y.as.A.impl.F(%Z) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc23_22.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.3: = custom_witness (%Destroy.Op.1dc86d.3), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc23_22.5 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.5: = custom_witness (%Destroy.Op.1dc86d.5), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.050: %Destroy.type = facet_value %tuple.type.aa4, (%custom_witness.340963.5) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.a9e: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.050) [concrete] -// CHECK:STDOUT: %.98b: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.a9e, %Destroy.facet.050 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc22 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc23_22.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.3: = custom_witness (%Destroy.Op.2dd605.3), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc23_22.5 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.5: = custom_witness (%Destroy.Op.2dd605.5), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.062: %Destroy.type = facet_value %tuple.type.cf4, (%custom_witness.e20f1f.5) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.d44: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.062) [concrete] +// CHECK:STDOUT: %.95e: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.d44, %Destroy.facet.062 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc22 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %A.type.7cb, %type.as.BitAndWith.impl.Op [concrete] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %A.type.ef5, %type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %facet_type: type = facet_type <@A, @A(%X) & @Destroy> [concrete] -// CHECK:STDOUT: %pattern_type.628: type = pattern_type %facet_type [concrete] -// CHECK:STDOUT: %T.0ff: %facet_type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.e1b: type = pattern_type %facet_type [concrete] +// CHECK:STDOUT: %T.0c6: %facet_type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %CallGeneric.type: type = fn_type @CallGeneric [concrete] // CHECK:STDOUT: %CallGeneric: %CallGeneric.type = struct_value () [concrete] -// CHECK:STDOUT: %A.WithSelf.F.type.184: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %T.0ff) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.49e: %A.WithSelf.F.type.184 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.089: type = facet_access_type %T.0ff [symbolic] -// CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %T.0ff, @A, @A(%X) [symbolic] -// CHECK:STDOUT: %A.facet.8c3: %A.type.7cb = facet_value %T.as_type.089, (%A.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.type.83f: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %A.facet.8c3) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.79c: %A.WithSelf.F.type.83f = struct_value () [symbolic] -// CHECK:STDOUT: %.75d: type = fn_type_with_self_type %A.WithSelf.F.type.83f, %A.facet.8c3 [symbolic] -// CHECK:STDOUT: %impl.elem0.43f: %.75d = impl_witness_access %A.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %tuple.76f: %tuple.type.0d0 = tuple_value (%X, %A.facet.8c3, %ptr.9a2) [symbolic] -// CHECK:STDOUT: %tuple.type.37b: type = tuple_type (%X, %T.as_type.089, %ptr.9a2) [symbolic] -// CHECK:STDOUT: %.657: Core.Form = init_form %tuple.type.37b [symbolic] -// CHECK:STDOUT: %pattern_type.d91: type = pattern_type %tuple.type.37b [symbolic] -// CHECK:STDOUT: %specific_impl_fn.eb8: = specific_impl_function %impl.elem0.43f, @A.WithSelf.F(%X, %A.facet.8c3, %Z) [symbolic] -// CHECK:STDOUT: %require_complete.49e: = require_complete_type %tuple.type.37b [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.041: = lookup_impl_witness %tuple.type.37b, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.12b: %Destroy.type = facet_value %tuple.type.37b, (%Destroy.lookup_impl_witness.041) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.fb8: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.12b) [symbolic] -// CHECK:STDOUT: %.3fe: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.fb8, %Destroy.facet.12b [symbolic] -// CHECK:STDOUT: %impl.elem0.abf: %.3fe = impl_witness_access %Destroy.lookup_impl_witness.041, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.ed1: = specific_impl_function %impl.elem0.abf, @Destroy.WithSelf.Op(%Destroy.facet.12b) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.type.5f2: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %T.0c6) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.923: %A.WithSelf.F.type.5f2 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.586: type = facet_access_type %T.0c6 [symbolic] +// CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %T.0c6, @A, @A(%X) [symbolic] +// CHECK:STDOUT: %A.facet.210: %A.type.ef5 = facet_value %T.as_type.586, (%A.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.type.b88: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %A.facet.210) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.702: %A.WithSelf.F.type.b88 = struct_value () [symbolic] +// CHECK:STDOUT: %.b59: type = fn_type_with_self_type %A.WithSelf.F.type.b88, %A.facet.210 [symbolic] +// CHECK:STDOUT: %impl.elem0.65b: %.b59 = impl_witness_access %A.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %tuple.e0a: %tuple.type.d63 = tuple_value (%X, %A.facet.210, %ptr.1c4) [symbolic] +// CHECK:STDOUT: %tuple.type.0d8: type = tuple_type (%X, %T.as_type.586, %ptr.1c4) [symbolic] +// CHECK:STDOUT: %.cfc: Core.Form = init_form %tuple.type.0d8 [symbolic] +// CHECK:STDOUT: %pattern_type.b37: type = pattern_type %tuple.type.0d8 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.846: = specific_impl_function %impl.elem0.65b, @A.WithSelf.F(%X, %A.facet.210, %Z) [symbolic] +// CHECK:STDOUT: %require_complete.04f: = require_complete_type %tuple.type.0d8 [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.57c: = lookup_impl_witness %tuple.type.0d8, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.096: %Destroy.type = facet_value %tuple.type.0d8, (%Destroy.lookup_impl_witness.57c) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.9ca: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.096) [symbolic] +// CHECK:STDOUT: %.83e: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.9ca, %Destroy.facet.096 [symbolic] +// CHECK:STDOUT: %impl.elem0.c24: %.83e = impl_witness_access %Destroy.lookup_impl_witness.57c, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.da7: = specific_impl_function %impl.elem0.c24, @Destroy.WithSelf.Op(%Destroy.facet.096) [symbolic] // CHECK:STDOUT: %CallIndirect.type: type = fn_type @CallIndirect [concrete] // CHECK:STDOUT: %CallIndirect: %CallIndirect.type = struct_value () [concrete] -// CHECK:STDOUT: %facet_value: %facet_type = facet_value %Y, (%A.impl_witness, %custom_witness.340963.3) [concrete] +// CHECK:STDOUT: %facet_value: %facet_type = facet_value %Y, (%A.impl_witness, %custom_witness.e20f1f.3) [concrete] // CHECK:STDOUT: %CallGeneric.specific_fn: = specific_function %CallGeneric, @CallGeneric(%facet_value) [concrete] -// CHECK:STDOUT: %complete_type.674: = complete_type_witness %ptr.9a2 [concrete] -// CHECK:STDOUT: %complete_type.a06: = complete_type_witness %tuple.type.aa4 [concrete] -// CHECK:STDOUT: %tuple.type.665: type = tuple_type (%empty_struct_type, %empty_struct_type, %ptr.9a2) [concrete] -// CHECK:STDOUT: %Copy.impl_witness.78a: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%Z) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.bb0: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Z) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.cef: %ptr.as.Copy.impl.Op.type.bb0 = struct_value () [concrete] -// CHECK:STDOUT: %.63b: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%Z) [concrete] -// CHECK:STDOUT: %Copy.facet.bf6: %Copy.type = facet_value %ptr.9a2, (%Copy.impl_witness.78a) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.3ae: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.bf6) [concrete] -// CHECK:STDOUT: %.dfb: type = fn_type_with_self_type %Copy.WithSelf.Op.type.3ae, %Copy.facet.bf6 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.cef, @ptr.as.Copy.impl.Op(%Z) [concrete] -// CHECK:STDOUT: %tuple.704: %tuple.type.0d0 = tuple_value (%X, %A.facet.659, %ptr.9a2) [concrete] +// CHECK:STDOUT: %complete_type.6c5: = complete_type_witness %ptr.1c4 [concrete] +// CHECK:STDOUT: %complete_type.2ad: = complete_type_witness %tuple.type.cf4 [concrete] +// CHECK:STDOUT: %tuple.type.738: type = tuple_type (%empty_struct_type, %empty_struct_type, %ptr.1c4) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.803: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%Z) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.6ee: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Z) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.f43: %ptr.as.Copy.impl.Op.type.6ee = struct_value () [concrete] +// CHECK:STDOUT: %.d55: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%Z) [concrete] +// CHECK:STDOUT: %Copy.facet.777: %Copy.type = facet_value %ptr.1c4, (%Copy.impl_witness.803) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.c51: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.777) [concrete] +// CHECK:STDOUT: %.8ee: type = fn_type_with_self_type %Copy.WithSelf.Op.type.c51, %Copy.facet.777 [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.f43, @ptr.as.Copy.impl.Op(%Z) [concrete] +// CHECK:STDOUT: %tuple.6ea: %tuple.type.d63 = tuple_value (%X, %A.facet.027, %ptr.1c4) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -246,15 +246,15 @@ fn CallIndirect() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03c11.1) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed28d.1)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa424f.1) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1c66.1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -269,7 +269,7 @@ fn CallIndirect() { // CHECK:STDOUT: .CallIndirect = %CallIndirect.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl: %A.type.08f = interface_decl @A [concrete = constants.%A.generic] { +// CHECK:STDOUT: %A.decl: %A.type.0af = interface_decl @A [concrete = constants.%A.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc5_17.1: type = splice_block %.loc5_17.2 [concrete = type] { @@ -283,28 +283,28 @@ fn CallIndirect() { // CHECK:STDOUT: %Z.decl: type = class_decl @Z [concrete = constants.%Z] {} {} // CHECK:STDOUT: impl_decl @Y.as.A.impl [concrete] {} { // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y] -// CHECK:STDOUT: %A.ref: %A.type.08f = name_ref A, file.%A.decl [concrete = constants.%A.generic] +// CHECK:STDOUT: %A.ref: %A.type.0af = name_ref A, file.%A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(constants.%X)> [concrete = constants.%A.type.7cb] +// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(constants.%X)> [concrete = constants.%A.type.ef5] // CHECK:STDOUT: } // CHECK:STDOUT: %Call.decl: %Call.type = fn_decl @Call [concrete = constants.%Call] {} {} // CHECK:STDOUT: %CallGeneric.decl: %CallGeneric.type = fn_decl @CallGeneric [concrete = constants.%CallGeneric] { -// CHECK:STDOUT: %T.patt: %pattern_type.628 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.e1b = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc26_25.1: type = splice_block %.loc26_25.3 [concrete = constants.%facet_type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %A.ref: %A.type.08f = name_ref A, file.%A.decl [concrete = constants.%A.generic] +// CHECK:STDOUT: %A.ref: %A.type.0af = name_ref A, file.%A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(constants.%X)> [concrete = constants.%A.type.7cb] +// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(constants.%X)> [concrete = constants.%A.type.ef5] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Destroy.ref: type = name_ref Destroy, imports.%Core.Destroy [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %impl.elem0.loc26: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc26: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc26: = bound_method %A.type, %impl.elem0.loc26 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method.loc26(%A.type, %Destroy.ref) [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc26_25.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc26_25.3: type = converted %type.as.BitAndWith.impl.Op.call, %.loc26_25.2 [concrete = constants.%facet_type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc26_17.2: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc26_17.1 (constants.%T.0ff)] +// CHECK:STDOUT: %T.loc26_17.2: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc26_17.1 (constants.%T.0c6)] // CHECK:STDOUT: } // CHECK:STDOUT: %CallIndirect.decl: %CallIndirect.type = fn_decl @CallIndirect [concrete = constants.%CallIndirect] {} {} // CHECK:STDOUT: } @@ -313,31 +313,31 @@ fn CallIndirect() { // CHECK:STDOUT: %T.loc5_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(%T.loc5_14.1)> [symbolic = %A.type (constants.%A.type.434)] -// CHECK:STDOUT: %Self.loc5_23.2: @A.%A.type (%A.type.434) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.4b2)] +// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(%T.loc5_14.1)> [symbolic = %A.type (constants.%A.type.5ea)] +// CHECK:STDOUT: %Self.loc5_23.2: @A.%A.type (%A.type.5ea) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.a33)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc5_23.1: @A.%A.type (%A.type.434) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.4b2)] +// CHECK:STDOUT: %Self.loc5_23.1: @A.%A.type (%A.type.5ea) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.a33)] // CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %A.WithSelf.F.decl: @A.WithSelf.%A.WithSelf.F.type (%A.WithSelf.F.type.220) = fn_decl @A.WithSelf.F [symbolic = @A.WithSelf.%A.WithSelf.F (constants.%A.WithSelf.F.0e1)] { +// CHECK:STDOUT: %A.WithSelf.F.decl: @A.WithSelf.%A.WithSelf.F.type (%A.WithSelf.F.type.f0d) = fn_decl @A.WithSelf.F [symbolic = @A.WithSelf.%A.WithSelf.F (constants.%A.WithSelf.F.628)] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 2 [concrete] // CHECK:STDOUT: %u.param_patt: @A.WithSelf.F.%pattern_type.loc6_19 (%pattern_type.986) = value_param_pattern [concrete] // CHECK:STDOUT: %u.patt: @A.WithSelf.F.%pattern_type.loc6_19 (%pattern_type.986) = at_binding_pattern u, %u.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @A.WithSelf.F.%pattern_type.loc6_40 (%pattern_type.6a6) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @A.WithSelf.F.%pattern_type.loc6_40 (%pattern_type.6a6) = return_slot_pattern %return.param_patt, %.loc6_40.4 [concrete] +// CHECK:STDOUT: %return.param_patt: @A.WithSelf.F.%pattern_type.loc6_40 (%pattern_type.050) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @A.WithSelf.F.%pattern_type.loc6_40 (%pattern_type.050) = return_slot_pattern %return.param_patt, %.loc6_40.4 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: type = name_ref T, @A.%T.loc5_14.2 [symbolic = %T (constants.%T.67d)] -// CHECK:STDOUT: %.loc6_32: @A.WithSelf.F.%A.type (%A.type.434) = specific_constant @A.%Self.loc5_23.1, @A(constants.%T.67d) [symbolic = %Self (constants.%Self.4b2)] -// CHECK:STDOUT: %Self.ref: @A.WithSelf.F.%A.type (%A.type.434) = name_ref Self, %.loc6_32 [symbolic = %Self (constants.%Self.4b2)] +// CHECK:STDOUT: %.loc6_32: @A.WithSelf.F.%A.type (%A.type.5ea) = specific_constant @A.%Self.loc5_23.1, @A(constants.%T.67d) [symbolic = %Self (constants.%Self.a33)] +// CHECK:STDOUT: %Self.ref: @A.WithSelf.F.%A.type (%A.type.5ea) = name_ref Self, %.loc6_32 [symbolic = %Self (constants.%Self.a33)] // CHECK:STDOUT: %U.ref.loc6_38: type = name_ref U, %U.loc6_9.2 [symbolic = %U.loc6_9.1 (constants.%U.4e7)] // CHECK:STDOUT: %ptr.loc6_39: type = ptr_type %U.ref.loc6_38 [symbolic = %ptr.loc6_22.1 (constants.%ptr.8f6)] -// CHECK:STDOUT: %.loc6_40.2: @A.WithSelf.F.%tuple.type.loc6_40.1 (%tuple.type.916) = tuple_literal (%T.ref, %Self.ref, %ptr.loc6_39) [symbolic = %tuple (constants.%tuple.ad3)] -// CHECK:STDOUT: %Self.as_type.loc6_40.2: type = facet_access_type constants.%Self.4b2 [symbolic = %Self.as_type.loc6_40.1 (constants.%Self.as_type.eff)] -// CHECK:STDOUT: %.loc6_40.3: type = converted constants.%Self.4b2, %Self.as_type.loc6_40.2 [symbolic = %Self.as_type.loc6_40.1 (constants.%Self.as_type.eff)] -// CHECK:STDOUT: %.loc6_40.4: type = converted %.loc6_40.2, constants.%tuple.type.65f [symbolic = %tuple.type.loc6_40.2 (constants.%tuple.type.65f)] -// CHECK:STDOUT: %.loc6_40.5: Core.Form = init_form %.loc6_40.4 [symbolic = %.loc6_40.1 (constants.%.bab)] +// CHECK:STDOUT: %.loc6_40.2: @A.WithSelf.F.%tuple.type.loc6_40.1 (%tuple.type.54d) = tuple_literal (%T.ref, %Self.ref, %ptr.loc6_39) [symbolic = %tuple (constants.%tuple.44b)] +// CHECK:STDOUT: %Self.as_type.loc6_40.2: type = facet_access_type constants.%Self.a33 [symbolic = %Self.as_type.loc6_40.1 (constants.%Self.as_type.0a5)] +// CHECK:STDOUT: %.loc6_40.3: type = converted constants.%Self.a33, %Self.as_type.loc6_40.2 [symbolic = %Self.as_type.loc6_40.1 (constants.%Self.as_type.0a5)] +// CHECK:STDOUT: %.loc6_40.4: type = converted %.loc6_40.2, constants.%tuple.type.67c [symbolic = %tuple.type.loc6_40.2 (constants.%tuple.type.67c)] +// CHECK:STDOUT: %.loc6_40.5: Core.Form = init_form %.loc6_40.4 [symbolic = %.loc6_40.1 (constants.%.f77)] // CHECK:STDOUT: %.loc6_12.1: type = splice_block %.loc6_12.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc6_12.2: type = type_literal type [concrete = type] @@ -349,10 +349,10 @@ fn CallIndirect() { // CHECK:STDOUT: %ptr.loc6_22.2: type = ptr_type %U.ref.loc6_21 [symbolic = %ptr.loc6_22.1 (constants.%ptr.8f6)] // CHECK:STDOUT: } // CHECK:STDOUT: %u: @A.WithSelf.F.%ptr.loc6_22.1 (%ptr.8f6) = value_binding u, %u.param -// CHECK:STDOUT: %return.param: ref @A.WithSelf.F.%tuple.type.loc6_40.2 (%tuple.type.65f) = out_param call_param1 -// CHECK:STDOUT: %return: ref @A.WithSelf.F.%tuple.type.loc6_40.2 (%tuple.type.65f) = return_slot %return.param +// CHECK:STDOUT: %return.param: ref @A.WithSelf.F.%tuple.type.loc6_40.2 (%tuple.type.67c) = out_param call_param1 +// CHECK:STDOUT: %return: ref @A.WithSelf.F.%tuple.type.loc6_40.2 (%tuple.type.67c) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc6_41.1: @A.WithSelf.%A.assoc_type (%A.assoc_type.e92) = assoc_entity element0, %A.WithSelf.F.decl [symbolic = %assoc0.loc6_41.2 (constants.%assoc0.3ff)] +// CHECK:STDOUT: %assoc0.loc6_41.1: @A.WithSelf.%A.assoc_type (%A.assoc_type.092) = assoc_entity element0, %A.WithSelf.F.decl [symbolic = %assoc0.loc6_41.2 (constants.%assoc0.7bb)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc5_23.1 @@ -372,16 +372,16 @@ fn CallIndirect() { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 0 [concrete] // CHECK:STDOUT: %u.param_patt: @Y.as.A.impl.F.%pattern_type.loc16_19 (%pattern_type.4f4b84.1) = value_param_pattern [concrete] // CHECK:STDOUT: %u.patt: @Y.as.A.impl.F.%pattern_type.loc16_19 (%pattern_type.4f4b84.1) = at_binding_pattern u, %u.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @Y.as.A.impl.F.%pattern_type.loc16_37 (%pattern_type.9b3) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @Y.as.A.impl.F.%pattern_type.loc16_37 (%pattern_type.9b3) = return_slot_pattern %return.param_patt, %.loc16_37.3 [concrete] +// CHECK:STDOUT: %return.param_patt: @Y.as.A.impl.F.%pattern_type.loc16_37 (%pattern_type.145) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @Y.as.A.impl.F.%pattern_type.loc16_37 (%pattern_type.145) = return_slot_pattern %return.param_patt, %.loc16_37.3 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y] // CHECK:STDOUT: %U.ref.loc16_35: type = name_ref U, %U.loc16_9.2 [symbolic = %U.loc16_9.1 (constants.%U.67d)] // CHECK:STDOUT: %ptr.loc16_36: type = ptr_type %U.ref.loc16_35 [symbolic = %ptr.loc16_22.1 (constants.%ptr.e8f8f9.1)] -// CHECK:STDOUT: %.loc16_37.2: %tuple.type.ff9 = tuple_literal (%X.ref, %Y.ref, %ptr.loc16_36) [symbolic = %tuple (constants.%tuple.bfc)] -// CHECK:STDOUT: %.loc16_37.3: type = converted %.loc16_37.2, constants.%tuple.type.d6f [symbolic = %tuple.type.loc16 (constants.%tuple.type.d6f)] -// CHECK:STDOUT: %.loc16_37.4: Core.Form = init_form %.loc16_37.3 [symbolic = %.loc16_37.1 (constants.%.776)] +// CHECK:STDOUT: %.loc16_37.2: %tuple.type.ff9 = tuple_literal (%X.ref, %Y.ref, %ptr.loc16_36) [symbolic = %tuple (constants.%tuple.fdd)] +// CHECK:STDOUT: %.loc16_37.3: type = converted %.loc16_37.2, constants.%tuple.type.4b0 [symbolic = %tuple.type.loc16 (constants.%tuple.type.4b0)] +// CHECK:STDOUT: %.loc16_37.4: Core.Form = init_form %.loc16_37.3 [symbolic = %.loc16_37.1 (constants.%.de3)] // CHECK:STDOUT: %.loc16_12.1: type = splice_block %.loc16_12.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc16_12.2: type = type_literal type [concrete = type] @@ -393,8 +393,8 @@ fn CallIndirect() { // CHECK:STDOUT: %ptr.loc16_22.2: type = ptr_type %U.ref.loc16_21 [symbolic = %ptr.loc16_22.1 (constants.%ptr.e8f8f9.1)] // CHECK:STDOUT: } // CHECK:STDOUT: %u: @Y.as.A.impl.F.%ptr.loc16_22.1 (%ptr.e8f8f9.1) = value_binding u, %u.param -// CHECK:STDOUT: %return.param: ref @Y.as.A.impl.F.%tuple.type.loc16 (%tuple.type.d6f) = out_param call_param1 -// CHECK:STDOUT: %return: ref @Y.as.A.impl.F.%tuple.type.loc16 (%tuple.type.d6f) = return_slot %return.param +// CHECK:STDOUT: %return.param: ref @Y.as.A.impl.F.%tuple.type.loc16 (%tuple.type.4b0) = out_param call_param1 +// CHECK:STDOUT: %return: ref @Y.as.A.impl.F.%tuple.type.loc16 (%tuple.type.4b0) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %A.impl_witness_table = impl_witness_table (%Y.as.A.impl.F.decl), @Y.as.A.impl [concrete] // CHECK:STDOUT: %A.impl_witness: = impl_witness %A.impl_witness_table [concrete = constants.%A.impl_witness] @@ -431,45 +431,45 @@ fn CallIndirect() { // CHECK:STDOUT: .Self = constants.%Z // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @A.WithSelf.F(@A.%T.loc5_14.2: type, @A.%Self.loc5_23.1: @A.%A.type (%A.type.434), %U.loc6_9.2: type) { +// CHECK:STDOUT: generic fn @A.WithSelf.F(@A.%T.loc5_14.2: type, @A.%Self.loc5_23.1: @A.%A.type (%A.type.5ea), %U.loc6_9.2: type) { // CHECK:STDOUT: %U.loc6_9.1: type = symbolic_binding U, 2 [symbolic = %U.loc6_9.1 (constants.%U.4e7)] // CHECK:STDOUT: %ptr.loc6_22.1: type = ptr_type %U.loc6_9.1 [symbolic = %ptr.loc6_22.1 (constants.%ptr.8f6)] // CHECK:STDOUT: %pattern_type.loc6_19: type = pattern_type %ptr.loc6_22.1 [symbolic = %pattern_type.loc6_19 (constants.%pattern_type.986)] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T.67d)] -// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(%T)> [symbolic = %A.type (constants.%A.type.434)] -// CHECK:STDOUT: %Self: @A.WithSelf.F.%A.type (%A.type.434) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.4b2)] -// CHECK:STDOUT: %tuple.type.loc6_40.1: type = tuple_type (type, %A.type, type) [symbolic = %tuple.type.loc6_40.1 (constants.%tuple.type.916)] -// CHECK:STDOUT: %tuple: @A.WithSelf.F.%tuple.type.loc6_40.1 (%tuple.type.916) = tuple_value (%T, %Self, %ptr.loc6_22.1) [symbolic = %tuple (constants.%tuple.ad3)] -// CHECK:STDOUT: %Self.as_type.loc6_40.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc6_40.1 (constants.%Self.as_type.eff)] -// CHECK:STDOUT: %tuple.type.loc6_40.2: type = tuple_type (%T, %Self.as_type.loc6_40.1, %ptr.loc6_22.1) [symbolic = %tuple.type.loc6_40.2 (constants.%tuple.type.65f)] -// CHECK:STDOUT: %.loc6_40.1: Core.Form = init_form %tuple.type.loc6_40.2 [symbolic = %.loc6_40.1 (constants.%.bab)] -// CHECK:STDOUT: %pattern_type.loc6_40: type = pattern_type %tuple.type.loc6_40.2 [symbolic = %pattern_type.loc6_40 (constants.%pattern_type.6a6)] +// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(%T)> [symbolic = %A.type (constants.%A.type.5ea)] +// CHECK:STDOUT: %Self: @A.WithSelf.F.%A.type (%A.type.5ea) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.a33)] +// CHECK:STDOUT: %tuple.type.loc6_40.1: type = tuple_type (type, %A.type, type) [symbolic = %tuple.type.loc6_40.1 (constants.%tuple.type.54d)] +// CHECK:STDOUT: %tuple: @A.WithSelf.F.%tuple.type.loc6_40.1 (%tuple.type.54d) = tuple_value (%T, %Self, %ptr.loc6_22.1) [symbolic = %tuple (constants.%tuple.44b)] +// CHECK:STDOUT: %Self.as_type.loc6_40.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc6_40.1 (constants.%Self.as_type.0a5)] +// CHECK:STDOUT: %tuple.type.loc6_40.2: type = tuple_type (%T, %Self.as_type.loc6_40.1, %ptr.loc6_22.1) [symbolic = %tuple.type.loc6_40.2 (constants.%tuple.type.67c)] +// CHECK:STDOUT: %.loc6_40.1: Core.Form = init_form %tuple.type.loc6_40.2 [symbolic = %.loc6_40.1 (constants.%.f77)] +// CHECK:STDOUT: %pattern_type.loc6_40: type = pattern_type %tuple.type.loc6_40.2 [symbolic = %pattern_type.loc6_40 (constants.%pattern_type.050)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%u.param: @A.WithSelf.F.%ptr.loc6_22.1 (%ptr.8f6)) -> out %return.param: @A.WithSelf.F.%tuple.type.loc6_40.2 (%tuple.type.65f); +// CHECK:STDOUT: fn(%u.param: @A.WithSelf.F.%ptr.loc6_22.1 (%ptr.8f6)) -> out %return.param: @A.WithSelf.F.%tuple.type.loc6_40.2 (%tuple.type.67c); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Y.as.A.impl.F(%U.loc16_9.2: type) { // CHECK:STDOUT: %U.loc16_9.1: type = symbolic_binding U, 0 [symbolic = %U.loc16_9.1 (constants.%U.67d)] // CHECK:STDOUT: %ptr.loc16_22.1: type = ptr_type %U.loc16_9.1 [symbolic = %ptr.loc16_22.1 (constants.%ptr.e8f8f9.1)] // CHECK:STDOUT: %pattern_type.loc16_19: type = pattern_type %ptr.loc16_22.1 [symbolic = %pattern_type.loc16_19 (constants.%pattern_type.4f4b84.1)] -// CHECK:STDOUT: %tuple: %tuple.type.ff9 = tuple_value (constants.%X, constants.%Y, %ptr.loc16_22.1) [symbolic = %tuple (constants.%tuple.bfc)] -// CHECK:STDOUT: %tuple.type.loc16: type = tuple_type (constants.%X, constants.%Y, %ptr.loc16_22.1) [symbolic = %tuple.type.loc16 (constants.%tuple.type.d6f)] -// CHECK:STDOUT: %.loc16_37.1: Core.Form = init_form %tuple.type.loc16 [symbolic = %.loc16_37.1 (constants.%.776)] -// CHECK:STDOUT: %pattern_type.loc16_37: type = pattern_type %tuple.type.loc16 [symbolic = %pattern_type.loc16_37 (constants.%pattern_type.9b3)] +// CHECK:STDOUT: %tuple: %tuple.type.ff9 = tuple_value (constants.%X, constants.%Y, %ptr.loc16_22.1) [symbolic = %tuple (constants.%tuple.fdd)] +// CHECK:STDOUT: %tuple.type.loc16: type = tuple_type (constants.%X, constants.%Y, %ptr.loc16_22.1) [symbolic = %tuple.type.loc16 (constants.%tuple.type.4b0)] +// CHECK:STDOUT: %.loc16_37.1: Core.Form = init_form %tuple.type.loc16 [symbolic = %.loc16_37.1 (constants.%.de3)] +// CHECK:STDOUT: %pattern_type.loc16_37: type = pattern_type %tuple.type.loc16 [symbolic = %pattern_type.loc16_37 (constants.%pattern_type.145)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc16_19: = require_complete_type %ptr.loc16_22.1 [symbolic = %require_complete.loc16_19 (constants.%require_complete.ef162c.1)] -// CHECK:STDOUT: %require_complete.loc16_25: = require_complete_type %tuple.type.loc16 [symbolic = %require_complete.loc16_25 (constants.%require_complete.ef0)] +// CHECK:STDOUT: %require_complete.loc16_25: = require_complete_type %tuple.type.loc16 [symbolic = %require_complete.loc16_25 (constants.%require_complete.4f8)] // CHECK:STDOUT: %tuple.type.loc17: type = tuple_type (constants.%empty_struct_type, constants.%empty_struct_type, %ptr.loc16_22.1) [symbolic = %tuple.type.loc17 (constants.%tuple.type.dd2)] -// CHECK:STDOUT: %.loc17_21.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%U.loc16_9.1) [symbolic = %.loc17_21.1 (constants.%.546)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc16_22.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.5be)] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc16_22.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.2a3)] -// 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.a8e)] -// CHECK:STDOUT: %.loc17_21.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc17_21.2 (constants.%.86b)] -// CHECK:STDOUT: %impl.elem0.loc17_21.2: @Y.as.A.impl.F.%.loc17_21.2 (%.86b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc17_21.2 (constants.%impl.elem0.480)] -// CHECK:STDOUT: %specific_impl_fn.loc17_21.2: = specific_impl_function %impl.elem0.loc17_21.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc17_21.2 (constants.%specific_impl_fn.d1f)] +// CHECK:STDOUT: %.loc17_21.1: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%U.loc16_9.1) [symbolic = %.loc17_21.1 (constants.%.b6a)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc16_22.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2bf)] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc16_22.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.44d)] +// 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.72b)] +// CHECK:STDOUT: %.loc17_21.2: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc17_21.2 (constants.%.39b)] +// CHECK:STDOUT: %impl.elem0.loc17_21.2: @Y.as.A.impl.F.%.loc17_21.2 (%.39b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc17_21.2 (constants.%impl.elem0.8a3)] +// CHECK:STDOUT: %specific_impl_fn.loc17_21.2: = specific_impl_function %impl.elem0.loc17_21.2, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc17_21.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%u.param: @Y.as.A.impl.F.%ptr.loc16_22.1 (%ptr.e8f8f9.1)) -> out %return.param: @Y.as.A.impl.F.%tuple.type.loc16 (%tuple.type.d6f) { +// CHECK:STDOUT: fn(%u.param: @Y.as.A.impl.F.%ptr.loc16_22.1 (%ptr.e8f8f9.1)) -> out %return.param: @Y.as.A.impl.F.%tuple.type.loc16 (%tuple.type.4b0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc17_14.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc17_18.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -481,15 +481,15 @@ fn CallIndirect() { // CHECK:STDOUT: %tuple.elem1: ref %Y = tuple_access %return.param, element1 // CHECK:STDOUT: %.loc17_18.2: init %Y to %tuple.elem1 = class_init () [concrete = constants.%Y.val] // CHECK:STDOUT: %.loc17_22.3: init %Y = converted %.loc17_18.1, %.loc17_18.2 [concrete = constants.%Y.val] -// CHECK:STDOUT: %impl.elem0.loc17_21.1: @Y.as.A.impl.F.%.loc17_21.2 (%.86b) = impl_witness_access constants.%Copy.lookup_impl_witness.5be, element0 [symbolic = %impl.elem0.loc17_21.2 (constants.%impl.elem0.480)] +// CHECK:STDOUT: %impl.elem0.loc17_21.1: @Y.as.A.impl.F.%.loc17_21.2 (%.39b) = impl_witness_access constants.%Copy.lookup_impl_witness.2bf, element0 [symbolic = %impl.elem0.loc17_21.2 (constants.%impl.elem0.8a3)] // CHECK:STDOUT: %bound_method.loc17_21.1: = bound_method %u.ref, %impl.elem0.loc17_21.1 -// CHECK:STDOUT: %specific_impl_fn.loc17_21.1: = specific_impl_function %impl.elem0.loc17_21.1, @Copy.WithSelf.Op(constants.%Copy.facet.2a3) [symbolic = %specific_impl_fn.loc17_21.2 (constants.%specific_impl_fn.d1f)] +// CHECK:STDOUT: %specific_impl_fn.loc17_21.1: = specific_impl_function %impl.elem0.loc17_21.1, @Copy.WithSelf.Op(constants.%Copy.facet.44d) [symbolic = %specific_impl_fn.loc17_21.2 (constants.%specific_impl_fn.a13)] // CHECK:STDOUT: %bound_method.loc17_21.2: = bound_method %u.ref, %specific_impl_fn.loc17_21.1 // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @Y.as.A.impl.F.%ptr.loc16_22.1 (%ptr.e8f8f9.1) = call %bound_method.loc17_21.2(%u.ref) // CHECK:STDOUT: %tuple.elem2: ref @Y.as.A.impl.F.%ptr.loc16_22.1 (%ptr.e8f8f9.1) = tuple_access %return.param, element2 // CHECK:STDOUT: %.loc17_22.4: init @Y.as.A.impl.F.%ptr.loc16_22.1 (%ptr.e8f8f9.1) to %tuple.elem2 = in_place_init %Copy.WithSelf.Op.call -// CHECK:STDOUT: %.loc17_22.5: init @Y.as.A.impl.F.%tuple.type.loc16 (%tuple.type.d6f) to %return.param = tuple_init (%.loc17_22.2, %.loc17_22.3, %.loc17_22.4) -// CHECK:STDOUT: %.loc17_23: init @Y.as.A.impl.F.%tuple.type.loc16 (%tuple.type.d6f) = converted %.loc17_22.1, %.loc17_22.5 +// CHECK:STDOUT: %.loc17_22.5: init @Y.as.A.impl.F.%tuple.type.loc16 (%tuple.type.4b0) to %return.param = tuple_init (%.loc17_22.2, %.loc17_22.3, %.loc17_22.4) +// CHECK:STDOUT: %.loc17_23: init @Y.as.A.impl.F.%tuple.type.loc16 (%tuple.type.4b0) = converted %.loc17_22.1, %.loc17_22.5 // CHECK:STDOUT: return %.loc17_23 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -497,41 +497,41 @@ fn CallIndirect() { // CHECK:STDOUT: fn @Call() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %u.patt: %pattern_type.843 = ref_binding_pattern u [concrete] -// CHECK:STDOUT: %u.var_patt: %pattern_type.843 = var_pattern %u.patt [concrete] +// CHECK:STDOUT: %u.patt: %pattern_type.f0a = ref_binding_pattern u [concrete] +// CHECK:STDOUT: %u.var_patt: %pattern_type.f0a = var_pattern %u.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %u.var: ref %Z = var %u.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Z, (constants.%DefaultOrUnformed.impl_witness.9eb) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Z, (constants.%DefaultOrUnformed.impl_witness.868) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc22_11.1: %DefaultOrUnformed.type = converted constants.%Z, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type.loc22: type = facet_access_type %.loc22_11.1 [concrete = constants.%Z] // CHECK:STDOUT: %.loc22_11.2: type = converted %.loc22_11.1, %as_type.loc22 [concrete = constants.%Z] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.9ad, @T.as.DefaultOrUnformed.impl.Op(constants.%Z) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.b4b, @T.as.DefaultOrUnformed.impl.Op(constants.%Z) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %.loc22_3: ref %Z = splice_block %u.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %Z to %.loc22_3 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %u.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: %Z.ref.loc22: type = name_ref Z, file.%Z.decl [concrete = constants.%Z] // CHECK:STDOUT: %u: ref %Z = ref_binding u, %u.var // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y] -// CHECK:STDOUT: %A.ref: %A.type.08f = name_ref A, file.%A.decl [concrete = constants.%A.generic] +// CHECK:STDOUT: %A.ref: %A.type.0af = name_ref A, file.%A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(constants.%X)> [concrete = constants.%A.type.7cb] -// CHECK:STDOUT: %A.facet: %A.type.7cb = facet_value %Y.ref, (constants.%A.impl_witness) [concrete = constants.%A.facet.659] -// CHECK:STDOUT: %.loc23_6: %A.type.7cb = converted %Y.ref, %A.facet [concrete = constants.%A.facet.659] +// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(constants.%X)> [concrete = constants.%A.type.ef5] +// CHECK:STDOUT: %A.facet: %A.type.ef5 = facet_value %Y.ref, (constants.%A.impl_witness) [concrete = constants.%A.facet.027] +// CHECK:STDOUT: %.loc23_6: %A.type.ef5 = converted %Y.ref, %A.facet [concrete = constants.%A.facet.027] // CHECK:STDOUT: %as_type.loc23: type = facet_access_type %.loc23_6 [concrete = constants.%Y] // CHECK:STDOUT: %.loc23_14.1: type = converted %.loc23_6, %as_type.loc23 [concrete = constants.%Y] -// CHECK:STDOUT: %.loc23_14.2: %A.assoc_type.5e9 = specific_constant @A.WithSelf.%assoc0.loc6_41.1, @A.WithSelf(constants.%X, constants.%A.facet.659) [concrete = constants.%assoc0.c62] -// CHECK:STDOUT: %F.ref: %A.assoc_type.5e9 = name_ref F, %.loc23_14.2 [concrete = constants.%assoc0.c62] -// CHECK:STDOUT: %impl.elem0: %.401 = impl_witness_access constants.%A.impl_witness, element0 [concrete = constants.%Y.as.A.impl.F] +// CHECK:STDOUT: %.loc23_14.2: %A.assoc_type.3ce = specific_constant @A.WithSelf.%assoc0.loc6_41.1, @A.WithSelf(constants.%X, constants.%A.facet.027) [concrete = constants.%assoc0.2c2] +// CHECK:STDOUT: %F.ref: %A.assoc_type.3ce = name_ref F, %.loc23_14.2 [concrete = constants.%assoc0.2c2] +// CHECK:STDOUT: %impl.elem0: %.7ae = impl_witness_access constants.%A.impl_witness, element0 [concrete = constants.%Y.as.A.impl.F] // CHECK:STDOUT: %Z.ref.loc23: type = name_ref Z, file.%Z.decl [concrete = constants.%Z] // CHECK:STDOUT: %u.ref: ref %Z = name_ref u, %u -// CHECK:STDOUT: %addr: %ptr.9a2 = addr_of %u.ref +// CHECK:STDOUT: %addr: %ptr.1c4 = addr_of %u.ref // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Y.as.A.impl.F(constants.%Z) [concrete = constants.%Y.as.A.impl.F.specific_fn] -// CHECK:STDOUT: %.loc23_22.1: ref %tuple.type.aa4 = temporary_storage -// CHECK:STDOUT: %Y.as.A.impl.F.call: init %tuple.type.aa4 to %.loc23_22.1 = call %specific_fn(%addr) -// CHECK:STDOUT: %.loc23_22.2: ref %tuple.type.aa4 = temporary %.loc23_22.1, %Y.as.A.impl.F.call -// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %.loc23_22.2, constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %.loc23_22.1: ref %tuple.type.cf4 = temporary_storage +// CHECK:STDOUT: %Y.as.A.impl.F.call: init %tuple.type.cf4 to %.loc23_22.1 = call %specific_fn(%addr) +// CHECK:STDOUT: %.loc23_22.2: ref %tuple.type.cf4 = temporary %.loc23_22.1, %Y.as.A.impl.F.call +// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %.loc23_22.2, constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: %Destroy.Op.call.loc23: init %empty_tuple.type = call %Destroy.Op.bound.loc23(%.loc23_22.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc22: = bound_method %u.var, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound.loc22: = bound_method %u.var, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call.loc22: init %empty_tuple.type = call %Destroy.Op.bound.loc22(%u.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -548,9 +548,9 @@ fn CallIndirect() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc23_22.4(%self.param: ref %ptr.9a2) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc23_22.4(%self.param: ref %ptr.1c4) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc23_22.5(%self.param: ref %tuple.type.aa4) { +// CHECK:STDOUT: fn @Destroy.Op.loc23_22.5(%self.param: ref %tuple.type.cf4) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -561,61 +561,61 @@ fn CallIndirect() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @CallGeneric(%T.loc26_17.2: %facet_type) { -// CHECK:STDOUT: %T.loc26_17.1: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc26_17.1 (constants.%T.0ff)] +// CHECK:STDOUT: %T.loc26_17.1: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc26_17.1 (constants.%T.0c6)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as_type.loc28_4.2: type = facet_access_type %T.loc26_17.1 [symbolic = %T.as_type.loc28_4.2 (constants.%T.as_type.089)] +// CHECK:STDOUT: %T.as_type.loc28_4.2: type = facet_access_type %T.loc26_17.1 [symbolic = %T.as_type.loc28_4.2 (constants.%T.as_type.586)] // CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %T.loc26_17.1, @A, @A(constants.%X) [symbolic = %A.lookup_impl_witness (constants.%A.lookup_impl_witness)] -// CHECK:STDOUT: %A.facet: %A.type.7cb = facet_value %T.as_type.loc28_4.2, (%A.lookup_impl_witness) [symbolic = %A.facet (constants.%A.facet.8c3)] -// CHECK:STDOUT: %A.WithSelf.F.type: type = fn_type @A.WithSelf.F, @A.WithSelf(constants.%X, %A.facet) [symbolic = %A.WithSelf.F.type (constants.%A.WithSelf.F.type.83f)] -// CHECK:STDOUT: %.loc28_4.3: type = fn_type_with_self_type %A.WithSelf.F.type, %A.facet [symbolic = %.loc28_4.3 (constants.%.75d)] -// CHECK:STDOUT: %impl.elem0.loc28_4.2: @CallGeneric.%.loc28_4.3 (%.75d) = impl_witness_access %A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc28_4.2 (constants.%impl.elem0.43f)] -// CHECK:STDOUT: %specific_impl_fn.loc28_4.2: = specific_impl_function %impl.elem0.loc28_4.2, @A.WithSelf.F(constants.%X, %A.facet, constants.%Z) [symbolic = %specific_impl_fn.loc28_4.2 (constants.%specific_impl_fn.eb8)] -// CHECK:STDOUT: %tuple.type: type = tuple_type (constants.%X, %T.as_type.loc28_4.2, constants.%ptr.9a2) [symbolic = %tuple.type (constants.%tuple.type.37b)] -// CHECK:STDOUT: %require_complete: = require_complete_type %tuple.type [symbolic = %require_complete (constants.%require_complete.49e)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %tuple.type, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness.041)] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %tuple.type, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.12b)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.fb8)] -// CHECK:STDOUT: %.loc28_12.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc28_12.3 (constants.%.3fe)] -// CHECK:STDOUT: %impl.elem0.loc28_12.2: @CallGeneric.%.loc28_12.3 (%.3fe) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc28_12.2 (constants.%impl.elem0.abf)] -// CHECK:STDOUT: %specific_impl_fn.loc28_12.2: = specific_impl_function %impl.elem0.loc28_12.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc28_12.2 (constants.%specific_impl_fn.ed1)] +// CHECK:STDOUT: %A.facet: %A.type.ef5 = facet_value %T.as_type.loc28_4.2, (%A.lookup_impl_witness) [symbolic = %A.facet (constants.%A.facet.210)] +// CHECK:STDOUT: %A.WithSelf.F.type: type = fn_type @A.WithSelf.F, @A.WithSelf(constants.%X, %A.facet) [symbolic = %A.WithSelf.F.type (constants.%A.WithSelf.F.type.b88)] +// CHECK:STDOUT: %.loc28_4.3: type = fn_type_with_self_type %A.WithSelf.F.type, %A.facet [symbolic = %.loc28_4.3 (constants.%.b59)] +// CHECK:STDOUT: %impl.elem0.loc28_4.2: @CallGeneric.%.loc28_4.3 (%.b59) = impl_witness_access %A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc28_4.2 (constants.%impl.elem0.65b)] +// CHECK:STDOUT: %specific_impl_fn.loc28_4.2: = specific_impl_function %impl.elem0.loc28_4.2, @A.WithSelf.F(constants.%X, %A.facet, constants.%Z) [symbolic = %specific_impl_fn.loc28_4.2 (constants.%specific_impl_fn.846)] +// CHECK:STDOUT: %tuple.type: type = tuple_type (constants.%X, %T.as_type.loc28_4.2, constants.%ptr.1c4) [symbolic = %tuple.type (constants.%tuple.type.0d8)] +// CHECK:STDOUT: %require_complete: = require_complete_type %tuple.type [symbolic = %require_complete (constants.%require_complete.04f)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %tuple.type, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness.57c)] +// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %tuple.type, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.096)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.9ca)] +// CHECK:STDOUT: %.loc28_12.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc28_12.3 (constants.%.83e)] +// CHECK:STDOUT: %impl.elem0.loc28_12.2: @CallGeneric.%.loc28_12.3 (%.83e) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc28_12.2 (constants.%impl.elem0.c24)] +// CHECK:STDOUT: %specific_impl_fn.loc28_12.2: = specific_impl_function %impl.elem0.loc28_12.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc28_12.2 (constants.%specific_impl_fn.da7)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %u.patt: %pattern_type.843 = ref_binding_pattern u [concrete] -// CHECK:STDOUT: %u.var_patt: %pattern_type.843 = var_pattern %u.patt [concrete] +// CHECK:STDOUT: %u.patt: %pattern_type.f0a = ref_binding_pattern u [concrete] +// CHECK:STDOUT: %u.var_patt: %pattern_type.f0a = var_pattern %u.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %u.var: ref %Z = var %u.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Z, (constants.%DefaultOrUnformed.impl_witness.9eb) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%Z, (constants.%DefaultOrUnformed.impl_witness.868) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc27_11.1: %DefaultOrUnformed.type = converted constants.%Z, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc27_11.1 [concrete = constants.%Z] // CHECK:STDOUT: %.loc27_11.2: type = converted %.loc27_11.1, %as_type [concrete = constants.%Z] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.9ad, @T.as.DefaultOrUnformed.impl.Op(constants.%Z) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.b4b, @T.as.DefaultOrUnformed.impl.Op(constants.%Z) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %.loc27_3: ref %Z = splice_block %u.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %Z to %.loc27_3 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %u.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: %Z.ref.loc27: type = name_ref Z, file.%Z.decl [concrete = constants.%Z] // CHECK:STDOUT: %u: ref %Z = ref_binding u, %u.var -// CHECK:STDOUT: %T.ref: %facet_type = name_ref T, %T.loc26_17.2 [symbolic = %T.loc26_17.1 (constants.%T.0ff)] -// CHECK:STDOUT: %T.as_type.loc28_4.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc28_4.2 (constants.%T.as_type.089)] -// CHECK:STDOUT: %.loc28_4.1: type = converted %T.ref, %T.as_type.loc28_4.1 [symbolic = %T.as_type.loc28_4.2 (constants.%T.as_type.089)] -// CHECK:STDOUT: %.loc28_4.2: %A.assoc_type.5e9 = specific_constant @A.WithSelf.%assoc0.loc6_41.1, @A.WithSelf(constants.%X, constants.%T.0ff) [concrete = constants.%assoc0.c62] -// CHECK:STDOUT: %F.ref: %A.assoc_type.5e9 = name_ref F, %.loc28_4.2 [concrete = constants.%assoc0.c62] -// CHECK:STDOUT: %impl.elem0.loc28_4.1: @CallGeneric.%.loc28_4.3 (%.75d) = impl_witness_access constants.%A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc28_4.2 (constants.%impl.elem0.43f)] +// CHECK:STDOUT: %T.ref: %facet_type = name_ref T, %T.loc26_17.2 [symbolic = %T.loc26_17.1 (constants.%T.0c6)] +// CHECK:STDOUT: %T.as_type.loc28_4.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc28_4.2 (constants.%T.as_type.586)] +// CHECK:STDOUT: %.loc28_4.1: type = converted %T.ref, %T.as_type.loc28_4.1 [symbolic = %T.as_type.loc28_4.2 (constants.%T.as_type.586)] +// CHECK:STDOUT: %.loc28_4.2: %A.assoc_type.3ce = specific_constant @A.WithSelf.%assoc0.loc6_41.1, @A.WithSelf(constants.%X, constants.%T.0c6) [concrete = constants.%assoc0.2c2] +// CHECK:STDOUT: %F.ref: %A.assoc_type.3ce = name_ref F, %.loc28_4.2 [concrete = constants.%assoc0.2c2] +// CHECK:STDOUT: %impl.elem0.loc28_4.1: @CallGeneric.%.loc28_4.3 (%.b59) = impl_witness_access constants.%A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc28_4.2 (constants.%impl.elem0.65b)] // CHECK:STDOUT: %Z.ref.loc28: type = name_ref Z, file.%Z.decl [concrete = constants.%Z] // CHECK:STDOUT: %u.ref: ref %Z = name_ref u, %u -// CHECK:STDOUT: %addr: %ptr.9a2 = addr_of %u.ref -// CHECK:STDOUT: %specific_impl_fn.loc28_4.1: = specific_impl_function %impl.elem0.loc28_4.1, @A.WithSelf.F(constants.%X, constants.%A.facet.8c3, constants.%Z) [symbolic = %specific_impl_fn.loc28_4.2 (constants.%specific_impl_fn.eb8)] -// CHECK:STDOUT: %.loc28_12.1: ref @CallGeneric.%tuple.type (%tuple.type.37b) = temporary_storage -// CHECK:STDOUT: %A.WithSelf.F.call: init @CallGeneric.%tuple.type (%tuple.type.37b) to %.loc28_12.1 = call %specific_impl_fn.loc28_4.1(%addr) -// CHECK:STDOUT: %.loc28_12.2: ref @CallGeneric.%tuple.type (%tuple.type.37b) = temporary %.loc28_12.1, %A.WithSelf.F.call -// CHECK:STDOUT: %impl.elem0.loc28_12.1: @CallGeneric.%.loc28_12.3 (%.3fe) = impl_witness_access constants.%Destroy.lookup_impl_witness.041, element0 [symbolic = %impl.elem0.loc28_12.2 (constants.%impl.elem0.abf)] +// CHECK:STDOUT: %addr: %ptr.1c4 = addr_of %u.ref +// CHECK:STDOUT: %specific_impl_fn.loc28_4.1: = specific_impl_function %impl.elem0.loc28_4.1, @A.WithSelf.F(constants.%X, constants.%A.facet.210, constants.%Z) [symbolic = %specific_impl_fn.loc28_4.2 (constants.%specific_impl_fn.846)] +// CHECK:STDOUT: %.loc28_12.1: ref @CallGeneric.%tuple.type (%tuple.type.0d8) = temporary_storage +// CHECK:STDOUT: %A.WithSelf.F.call: init @CallGeneric.%tuple.type (%tuple.type.0d8) to %.loc28_12.1 = call %specific_impl_fn.loc28_4.1(%addr) +// CHECK:STDOUT: %.loc28_12.2: ref @CallGeneric.%tuple.type (%tuple.type.0d8) = temporary %.loc28_12.1, %A.WithSelf.F.call +// CHECK:STDOUT: %impl.elem0.loc28_12.1: @CallGeneric.%.loc28_12.3 (%.83e) = impl_witness_access constants.%Destroy.lookup_impl_witness.57c, element0 [symbolic = %impl.elem0.loc28_12.2 (constants.%impl.elem0.c24)] // CHECK:STDOUT: %bound_method.loc28_12.1: = bound_method %.loc28_12.2, %impl.elem0.loc28_12.1 -// CHECK:STDOUT: %specific_impl_fn.loc28_12.1: = specific_impl_function %impl.elem0.loc28_12.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.12b) [symbolic = %specific_impl_fn.loc28_12.2 (constants.%specific_impl_fn.ed1)] +// CHECK:STDOUT: %specific_impl_fn.loc28_12.1: = specific_impl_function %impl.elem0.loc28_12.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.096) [symbolic = %specific_impl_fn.loc28_12.2 (constants.%specific_impl_fn.da7)] // CHECK:STDOUT: %bound_method.loc28_12.2: = bound_method %.loc28_12.2, %specific_impl_fn.loc28_12.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc28_12.2(%.loc28_12.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %u.var, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %u.var, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%u.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -625,7 +625,7 @@ fn CallIndirect() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %CallGeneric.ref: %CallGeneric.type = name_ref CallGeneric, file.%CallGeneric.decl [concrete = constants.%CallGeneric] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y] -// CHECK:STDOUT: %facet_value: %facet_type = facet_value %Y.ref, (constants.%A.impl_witness, constants.%custom_witness.340963.3) [concrete = constants.%facet_value] +// CHECK:STDOUT: %facet_value: %facet_type = facet_value %Y.ref, (constants.%A.impl_witness, constants.%custom_witness.e20f1f.3) [concrete = constants.%facet_value] // CHECK:STDOUT: %.loc32: %facet_type = converted %Y.ref, %facet_value [concrete = constants.%facet_value] // CHECK:STDOUT: %CallGeneric.specific_fn: = specific_function %CallGeneric.ref, @CallGeneric(constants.%facet_value) [concrete = constants.%CallGeneric.specific_fn] // CHECK:STDOUT: %CallGeneric.call: init %empty_tuple.type = call %CallGeneric.specific_fn() @@ -636,139 +636,139 @@ fn CallIndirect() { // CHECK:STDOUT: %T.loc5_14.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%T.67d, constants.%Self.4b2) {} +// CHECK:STDOUT: specific @A.WithSelf(constants.%T.67d, constants.%Self.a33) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.F(constants.%T.67d, constants.%Self.4b2, constants.%U.4e7) { +// CHECK:STDOUT: specific @A.WithSelf.F(constants.%T.67d, constants.%Self.a33, constants.%U.4e7) { // CHECK:STDOUT: %U.loc6_9.1 => constants.%U.4e7 // CHECK:STDOUT: %ptr.loc6_22.1 => constants.%ptr.8f6 // CHECK:STDOUT: %pattern_type.loc6_19 => constants.%pattern_type.986 // CHECK:STDOUT: %T => constants.%T.67d -// CHECK:STDOUT: %A.type => constants.%A.type.434 -// CHECK:STDOUT: %Self => constants.%Self.4b2 -// CHECK:STDOUT: %tuple.type.loc6_40.1 => constants.%tuple.type.916 -// CHECK:STDOUT: %tuple => constants.%tuple.ad3 -// CHECK:STDOUT: %Self.as_type.loc6_40.1 => constants.%Self.as_type.eff -// CHECK:STDOUT: %tuple.type.loc6_40.2 => constants.%tuple.type.65f -// CHECK:STDOUT: %.loc6_40.1 => constants.%.bab -// CHECK:STDOUT: %pattern_type.loc6_40 => constants.%pattern_type.6a6 +// CHECK:STDOUT: %A.type => constants.%A.type.5ea +// CHECK:STDOUT: %Self => constants.%Self.a33 +// CHECK:STDOUT: %tuple.type.loc6_40.1 => constants.%tuple.type.54d +// CHECK:STDOUT: %tuple => constants.%tuple.44b +// CHECK:STDOUT: %Self.as_type.loc6_40.1 => constants.%Self.as_type.0a5 +// CHECK:STDOUT: %tuple.type.loc6_40.2 => constants.%tuple.type.67c +// CHECK:STDOUT: %.loc6_40.1 => constants.%.f77 +// CHECK:STDOUT: %pattern_type.loc6_40 => constants.%pattern_type.050 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A(constants.%X) { // CHECK:STDOUT: %T.loc5_14.1 => constants.%X // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %A.type => constants.%A.type.7cb -// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.f54 +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.0c0 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%Self.4b2) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%Self.a33) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.7cb -// CHECK:STDOUT: %Self => constants.%Self.4b2 -// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.dbb -// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.99c -// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.5e9 -// CHECK:STDOUT: %assoc0.loc6_41.2 => constants.%assoc0.c62 +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%Self.a33 +// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.c12 +// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.612 +// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.3ce +// CHECK:STDOUT: %assoc0.loc6_41.2 => constants.%assoc0.2c2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y.as.A.impl.F(constants.%U.67d) { // CHECK:STDOUT: %U.loc16_9.1 => constants.%U.67d // CHECK:STDOUT: %ptr.loc16_22.1 => constants.%ptr.e8f8f9.1 // CHECK:STDOUT: %pattern_type.loc16_19 => constants.%pattern_type.4f4b84.1 -// CHECK:STDOUT: %tuple => constants.%tuple.bfc -// CHECK:STDOUT: %tuple.type.loc16 => constants.%tuple.type.d6f -// CHECK:STDOUT: %.loc16_37.1 => constants.%.776 -// CHECK:STDOUT: %pattern_type.loc16_37 => constants.%pattern_type.9b3 +// CHECK:STDOUT: %tuple => constants.%tuple.fdd +// CHECK:STDOUT: %tuple.type.loc16 => constants.%tuple.type.4b0 +// CHECK:STDOUT: %.loc16_37.1 => constants.%.de3 +// CHECK:STDOUT: %pattern_type.loc16_37 => constants.%pattern_type.145 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%A.facet.659) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%A.facet.027) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.7cb -// CHECK:STDOUT: %Self => constants.%A.facet.659 -// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.afa -// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.f0c -// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.5e9 -// CHECK:STDOUT: %assoc0.loc6_41.2 => constants.%assoc0.c62 +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%A.facet.027 +// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.d17 +// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.a05 +// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.3ce +// CHECK:STDOUT: %assoc0.loc6_41.2 => constants.%assoc0.2c2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.F(constants.%X, constants.%A.facet.659, constants.%U.67d) { +// CHECK:STDOUT: specific @A.WithSelf.F(constants.%X, constants.%A.facet.027, constants.%U.67d) { // CHECK:STDOUT: %U.loc6_9.1 => constants.%U.67d // CHECK:STDOUT: %ptr.loc6_22.1 => constants.%ptr.e8f8f9.1 // CHECK:STDOUT: %pattern_type.loc6_19 => constants.%pattern_type.4f4b84.1 // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.7cb -// CHECK:STDOUT: %Self => constants.%A.facet.659 -// CHECK:STDOUT: %tuple.type.loc6_40.1 => constants.%tuple.type.0d0 -// CHECK:STDOUT: %tuple => constants.%tuple.605 +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%A.facet.027 +// CHECK:STDOUT: %tuple.type.loc6_40.1 => constants.%tuple.type.d63 +// CHECK:STDOUT: %tuple => constants.%tuple.6cb // CHECK:STDOUT: %Self.as_type.loc6_40.1 => constants.%Y -// CHECK:STDOUT: %tuple.type.loc6_40.2 => constants.%tuple.type.d6f -// CHECK:STDOUT: %.loc6_40.1 => constants.%.776 -// CHECK:STDOUT: %pattern_type.loc6_40 => constants.%pattern_type.9b3 +// CHECK:STDOUT: %tuple.type.loc6_40.2 => constants.%tuple.type.4b0 +// CHECK:STDOUT: %.loc6_40.1 => constants.%.de3 +// CHECK:STDOUT: %pattern_type.loc6_40 => constants.%pattern_type.145 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Y.as.A.impl.F(constants.%Z) { // CHECK:STDOUT: %U.loc16_9.1 => constants.%Z -// CHECK:STDOUT: %ptr.loc16_22.1 => constants.%ptr.9a2 -// CHECK:STDOUT: %pattern_type.loc16_19 => constants.%pattern_type.bea -// CHECK:STDOUT: %tuple => constants.%tuple.eea -// CHECK:STDOUT: %tuple.type.loc16 => constants.%tuple.type.aa4 -// CHECK:STDOUT: %.loc16_37.1 => constants.%.b42 -// CHECK:STDOUT: %pattern_type.loc16_37 => constants.%pattern_type.b06 +// CHECK:STDOUT: %ptr.loc16_22.1 => constants.%ptr.1c4 +// CHECK:STDOUT: %pattern_type.loc16_19 => constants.%pattern_type.8b9 +// CHECK:STDOUT: %tuple => constants.%tuple.61d +// CHECK:STDOUT: %tuple.type.loc16 => constants.%tuple.type.cf4 +// CHECK:STDOUT: %.loc16_37.1 => constants.%.d9d +// CHECK:STDOUT: %pattern_type.loc16_37 => constants.%pattern_type.213 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc16_19 => constants.%complete_type.674 -// CHECK:STDOUT: %require_complete.loc16_25 => constants.%complete_type.a06 -// CHECK:STDOUT: %tuple.type.loc17 => constants.%tuple.type.665 -// CHECK:STDOUT: %.loc17_21.1 => constants.%.63b -// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.78a -// CHECK:STDOUT: %Copy.facet => constants.%Copy.facet.bf6 -// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.3ae -// CHECK:STDOUT: %.loc17_21.2 => constants.%.dfb -// CHECK:STDOUT: %impl.elem0.loc17_21.2 => constants.%ptr.as.Copy.impl.Op.cef +// CHECK:STDOUT: %require_complete.loc16_19 => constants.%complete_type.6c5 +// CHECK:STDOUT: %require_complete.loc16_25 => constants.%complete_type.2ad +// CHECK:STDOUT: %tuple.type.loc17 => constants.%tuple.type.738 +// CHECK:STDOUT: %.loc17_21.1 => constants.%.d55 +// CHECK:STDOUT: %Copy.lookup_impl_witness => constants.%Copy.impl_witness.803 +// CHECK:STDOUT: %Copy.facet => constants.%Copy.facet.777 +// CHECK:STDOUT: %Copy.WithSelf.Op.type => constants.%Copy.WithSelf.Op.type.c51 +// CHECK:STDOUT: %.loc17_21.2 => constants.%.8ee +// CHECK:STDOUT: %impl.elem0.loc17_21.2 => constants.%ptr.as.Copy.impl.Op.f43 // CHECK:STDOUT: %specific_impl_fn.loc17_21.2 => constants.%ptr.as.Copy.impl.Op.specific_fn // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @CallGeneric(constants.%T.0ff) { -// CHECK:STDOUT: %T.loc26_17.1 => constants.%T.0ff +// CHECK:STDOUT: specific @CallGeneric(constants.%T.0c6) { +// CHECK:STDOUT: %T.loc26_17.1 => constants.%T.0c6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%T.0ff) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%T.0c6) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.7cb -// CHECK:STDOUT: %Self => constants.%T.0ff -// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.184 -// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.49e -// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.5e9 -// CHECK:STDOUT: %assoc0.loc6_41.2 => constants.%assoc0.c62 +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%T.0c6 +// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.5f2 +// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.923 +// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.3ce +// CHECK:STDOUT: %assoc0.loc6_41.2 => constants.%assoc0.2c2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%A.facet.8c3) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%A.facet.210) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.7cb -// CHECK:STDOUT: %Self => constants.%A.facet.8c3 -// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.83f -// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.79c -// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.5e9 -// CHECK:STDOUT: %assoc0.loc6_41.2 => constants.%assoc0.c62 +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%A.facet.210 +// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.b88 +// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.702 +// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.3ce +// CHECK:STDOUT: %assoc0.loc6_41.2 => constants.%assoc0.2c2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.F(constants.%X, constants.%A.facet.8c3, constants.%Z) { +// CHECK:STDOUT: specific @A.WithSelf.F(constants.%X, constants.%A.facet.210, constants.%Z) { // CHECK:STDOUT: %U.loc6_9.1 => constants.%Z -// CHECK:STDOUT: %ptr.loc6_22.1 => constants.%ptr.9a2 -// CHECK:STDOUT: %pattern_type.loc6_19 => constants.%pattern_type.bea +// CHECK:STDOUT: %ptr.loc6_22.1 => constants.%ptr.1c4 +// CHECK:STDOUT: %pattern_type.loc6_19 => constants.%pattern_type.8b9 // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.7cb -// CHECK:STDOUT: %Self => constants.%A.facet.8c3 -// CHECK:STDOUT: %tuple.type.loc6_40.1 => constants.%tuple.type.0d0 -// CHECK:STDOUT: %tuple => constants.%tuple.76f -// CHECK:STDOUT: %Self.as_type.loc6_40.1 => constants.%T.as_type.089 -// CHECK:STDOUT: %tuple.type.loc6_40.2 => constants.%tuple.type.37b -// CHECK:STDOUT: %.loc6_40.1 => constants.%.657 -// CHECK:STDOUT: %pattern_type.loc6_40 => constants.%pattern_type.d91 +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%A.facet.210 +// CHECK:STDOUT: %tuple.type.loc6_40.1 => constants.%tuple.type.d63 +// CHECK:STDOUT: %tuple => constants.%tuple.e0a +// CHECK:STDOUT: %Self.as_type.loc6_40.1 => constants.%T.as_type.586 +// CHECK:STDOUT: %tuple.type.loc6_40.2 => constants.%tuple.type.0d8 +// CHECK:STDOUT: %.loc6_40.1 => constants.%.cfc +// CHECK:STDOUT: %pattern_type.loc6_40 => constants.%pattern_type.b37 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CallGeneric(constants.%facet_value) { @@ -777,34 +777,34 @@ fn CallIndirect() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T.as_type.loc28_4.2 => constants.%Y // CHECK:STDOUT: %A.lookup_impl_witness => constants.%A.impl_witness -// CHECK:STDOUT: %A.facet => constants.%A.facet.659 -// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.afa -// CHECK:STDOUT: %.loc28_4.3 => constants.%.401 +// CHECK:STDOUT: %A.facet => constants.%A.facet.027 +// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.d17 +// CHECK:STDOUT: %.loc28_4.3 => constants.%.7ae // CHECK:STDOUT: %impl.elem0.loc28_4.2 => constants.%Y.as.A.impl.F // CHECK:STDOUT: %specific_impl_fn.loc28_4.2 => constants.%Y.as.A.impl.F.specific_fn -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.aa4 -// CHECK:STDOUT: %require_complete => constants.%complete_type.a06 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.340963.5 -// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.050 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a9e -// CHECK:STDOUT: %.loc28_12.3 => constants.%.98b -// CHECK:STDOUT: %impl.elem0.loc28_12.2 => constants.%Destroy.Op.1dc86d.5 -// CHECK:STDOUT: %specific_impl_fn.loc28_12.2 => constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.cf4 +// CHECK:STDOUT: %require_complete => constants.%complete_type.2ad +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.e20f1f.5 +// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.062 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.d44 +// CHECK:STDOUT: %.loc28_12.3 => constants.%.95e +// CHECK:STDOUT: %impl.elem0.loc28_12.2 => constants.%Destroy.Op.2dd605.5 +// CHECK:STDOUT: %specific_impl_fn.loc28_12.2 => constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.F(constants.%X, constants.%A.facet.659, constants.%Z) { +// CHECK:STDOUT: specific @A.WithSelf.F(constants.%X, constants.%A.facet.027, constants.%Z) { // CHECK:STDOUT: %U.loc6_9.1 => constants.%Z -// CHECK:STDOUT: %ptr.loc6_22.1 => constants.%ptr.9a2 -// CHECK:STDOUT: %pattern_type.loc6_19 => constants.%pattern_type.bea +// CHECK:STDOUT: %ptr.loc6_22.1 => constants.%ptr.1c4 +// CHECK:STDOUT: %pattern_type.loc6_19 => constants.%pattern_type.8b9 // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.7cb -// CHECK:STDOUT: %Self => constants.%A.facet.659 -// CHECK:STDOUT: %tuple.type.loc6_40.1 => constants.%tuple.type.0d0 -// CHECK:STDOUT: %tuple => constants.%tuple.704 +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%A.facet.027 +// CHECK:STDOUT: %tuple.type.loc6_40.1 => constants.%tuple.type.d63 +// CHECK:STDOUT: %tuple => constants.%tuple.6ea // CHECK:STDOUT: %Self.as_type.loc6_40.1 => constants.%Y -// CHECK:STDOUT: %tuple.type.loc6_40.2 => constants.%tuple.type.aa4 -// CHECK:STDOUT: %.loc6_40.1 => constants.%.b42 -// CHECK:STDOUT: %pattern_type.loc6_40 => constants.%pattern_type.b06 +// CHECK:STDOUT: %tuple.type.loc6_40.2 => constants.%tuple.type.cf4 +// CHECK:STDOUT: %.loc6_40.1 => constants.%.d9d +// CHECK:STDOUT: %pattern_type.loc6_40 => constants.%pattern_type.213 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- generic_method_more_params.carbon @@ -814,23 +814,23 @@ fn CallIndirect() { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %A.type.21c: type = generic_interface_type @A [concrete] +// CHECK:STDOUT: %A.type.0af: type = generic_interface_type @A [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %A.generic: %A.type.21c = struct_value () [concrete] -// CHECK:STDOUT: %A.type.a66: type = facet_type <@A, @A(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.643: %A.type.a66 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %A.generic: %A.type.0af = struct_value () [concrete] +// CHECK:STDOUT: %A.type.5ea: type = facet_type <@A, @A(%T.67d)> [symbolic] +// CHECK:STDOUT: %Self.a33: %A.type.5ea = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %U.4e7: type = symbolic_binding U, 2 [symbolic] // CHECK:STDOUT: %pattern_type.62e: type = pattern_type %U.4e7 [symbolic] -// CHECK:STDOUT: %tuple.type.521: type = tuple_type (type, %A.type.a66, type) [symbolic] -// CHECK:STDOUT: %tuple.865: %tuple.type.521 = tuple_value (%T.67d, %Self.643, %U.4e7) [symbolic] -// CHECK:STDOUT: %Self.as_type.f7d: type = facet_access_type %Self.643 [symbolic] -// CHECK:STDOUT: %tuple.type.7c0: type = tuple_type (%T.67d, %Self.as_type.f7d, %U.4e7) [symbolic] -// CHECK:STDOUT: %.41f: Core.Form = init_form %tuple.type.7c0 [symbolic] -// CHECK:STDOUT: %pattern_type.307: type = pattern_type %tuple.type.7c0 [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.type.9b2: type = fn_type @A.WithSelf.F, @A.WithSelf(%T.67d, %Self.643) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.0b9: %A.WithSelf.F.type.9b2 = struct_value () [symbolic] -// CHECK:STDOUT: %A.assoc_type.0af: type = assoc_entity_type @A, @A(%T.67d) [symbolic] -// CHECK:STDOUT: %assoc0.1bf: %A.assoc_type.0af = assoc_entity element0, @A.WithSelf.%A.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %tuple.type.54d: type = tuple_type (type, %A.type.5ea, type) [symbolic] +// CHECK:STDOUT: %tuple.ca1: %tuple.type.54d = tuple_value (%T.67d, %Self.a33, %U.4e7) [symbolic] +// CHECK:STDOUT: %Self.as_type.0a5: type = facet_access_type %Self.a33 [symbolic] +// CHECK:STDOUT: %tuple.type.a60: type = tuple_type (%T.67d, %Self.as_type.0a5, %U.4e7) [symbolic] +// CHECK:STDOUT: %.ddd: Core.Form = init_form %tuple.type.a60 [symbolic] +// CHECK:STDOUT: %pattern_type.41c: type = pattern_type %tuple.type.a60 [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.type.f0d: type = fn_type @A.WithSelf.F, @A.WithSelf(%T.67d, %Self.a33) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.628: %A.WithSelf.F.type.f0d = struct_value () [symbolic] +// CHECK:STDOUT: %A.assoc_type.092: type = assoc_entity_type @A, @A(%T.67d) [symbolic] +// CHECK:STDOUT: %assoc0.7bb: %A.assoc_type.092 = assoc_entity element0, @A.WithSelf.%A.WithSelf.F.decl [symbolic] // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] @@ -843,14 +843,14 @@ fn CallIndirect() { // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] // CHECK:STDOUT: %tuple.4b9: %tuple.type.24b = tuple_value (%V1, %V2) [symbolic] // CHECK:STDOUT: %tuple.type.a5e: type = tuple_type (%V1, %V2) [symbolic] -// CHECK:STDOUT: %A.type.d56: type = facet_type <@A, @A(%W)> [symbolic] -// CHECK:STDOUT: %A.impl_witness.02d: = impl_witness @tuple.type.as.A.impl.%A.impl_witness_table, @tuple.type.as.A.impl(%V1, %V2, %W) [symbolic] -// CHECK:STDOUT: %Self.8b7: %A.type.d56 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.type.ebe: type = fn_type @A.WithSelf.F, @A.WithSelf(%W, %Self.643) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.110: %A.WithSelf.F.type.ebe = struct_value () [symbolic] -// CHECK:STDOUT: %A.assoc_type.c5d: type = assoc_entity_type @A, @A(%W) [symbolic] -// CHECK:STDOUT: %assoc0.c02: %A.assoc_type.c5d = assoc_entity element0, @A.WithSelf.%A.WithSelf.F.decl [symbolic] -// CHECK:STDOUT: %require_complete.703: = require_complete_type %A.type.d56 [symbolic] +// CHECK:STDOUT: %A.type.e49: type = facet_type <@A, @A(%W)> [symbolic] +// CHECK:STDOUT: %A.impl_witness.6c9: = impl_witness @tuple.type.as.A.impl.%A.impl_witness_table, @tuple.type.as.A.impl(%V1, %V2, %W) [symbolic] +// CHECK:STDOUT: %Self.2ba: %A.type.e49 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.type.487: type = fn_type @A.WithSelf.F, @A.WithSelf(%W, %Self.a33) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.e2a: %A.WithSelf.F.type.487 = struct_value () [symbolic] +// CHECK:STDOUT: %A.assoc_type.edf: type = assoc_entity_type @A, @A(%W) [symbolic] +// CHECK:STDOUT: %assoc0.5cb: %A.assoc_type.edf = assoc_entity element0, @A.WithSelf.%A.WithSelf.F.decl [symbolic] +// CHECK:STDOUT: %require_complete.b42: = require_complete_type %A.type.e49 [symbolic] // CHECK:STDOUT: %U.ce4: type = symbolic_binding U, 3 [symbolic] // CHECK:STDOUT: %pattern_type.e4a: type = pattern_type %U.ce4 [symbolic] // CHECK:STDOUT: %tuple.type.11f: type = tuple_type (type, %tuple.type.24b, type) [concrete] @@ -858,99 +858,99 @@ fn CallIndirect() { // CHECK:STDOUT: %tuple.type.897: type = tuple_type (%W, %tuple.type.a5e, %U.ce4) [symbolic] // CHECK:STDOUT: %.f8e: Core.Form = init_form %tuple.type.897 [symbolic] // CHECK:STDOUT: %pattern_type.5cc: type = pattern_type %tuple.type.897 [symbolic] -// CHECK:STDOUT: %tuple.type.as.A.impl.F.type.ca2: type = fn_type @tuple.type.as.A.impl.F, @tuple.type.as.A.impl(%V1, %V2, %W) [symbolic] -// CHECK:STDOUT: %tuple.type.as.A.impl.F.201: %tuple.type.as.A.impl.F.type.ca2 = struct_value () [symbolic] -// CHECK:STDOUT: %A.facet.c04: %A.type.d56 = facet_value %tuple.type.a5e, (%A.impl_witness.02d) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.type.a10: type = fn_type @A.WithSelf.F, @A.WithSelf(%W, %A.facet.c04) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.57b: %A.WithSelf.F.type.a10 = struct_value () [symbolic] -// CHECK:STDOUT: %tuple.type.2a0: type = tuple_type (type, %A.type.d56, type) [symbolic] -// CHECK:STDOUT: %tuple.fd4: %tuple.type.2a0 = tuple_value (%W, %A.facet.c04, %U.ce4) [symbolic] +// CHECK:STDOUT: %tuple.type.as.A.impl.F.type.208: type = fn_type @tuple.type.as.A.impl.F, @tuple.type.as.A.impl(%V1, %V2, %W) [symbolic] +// CHECK:STDOUT: %tuple.type.as.A.impl.F.4ce: %tuple.type.as.A.impl.F.type.208 = struct_value () [symbolic] +// CHECK:STDOUT: %A.facet.2a9: %A.type.e49 = facet_value %tuple.type.a5e, (%A.impl_witness.6c9) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.type.234: type = fn_type @A.WithSelf.F, @A.WithSelf(%W, %A.facet.2a9) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.329: %A.WithSelf.F.type.234 = struct_value () [symbolic] +// CHECK:STDOUT: %tuple.type.ec9: type = tuple_type (type, %A.type.e49, type) [symbolic] +// CHECK:STDOUT: %tuple.db8: %tuple.type.ec9 = tuple_value (%W, %A.facet.2a9, %U.ce4) [symbolic] // CHECK:STDOUT: %require_complete.5a4: = require_complete_type %U.ce4 [symbolic] // CHECK:STDOUT: %require_complete.da0: = require_complete_type %tuple.type.897 [symbolic] -// CHECK:STDOUT: %tuple.type.as.A.impl.F.specific_fn.c18: = specific_function %tuple.type.as.A.impl.F.201, @tuple.type.as.A.impl.F(%V1, %V2, %W, %U.ce4) [symbolic] +// CHECK:STDOUT: %tuple.type.as.A.impl.F.specific_fn.e1b: = specific_function %tuple.type.as.A.impl.F.4ce, @tuple.type.as.A.impl.F(%V1, %V2, %W, %U.ce4) [symbolic] // CHECK:STDOUT: %Call.type: type = fn_type @Call [concrete] // CHECK:STDOUT: %Call: %Call.type = struct_value () [concrete] -// CHECK:STDOUT: %tuple.e2e: %tuple.type.24b = tuple_value (%Y1, %Y2) [concrete] -// CHECK:STDOUT: %tuple.type.0da: type = tuple_type (%Y1, %Y2) [concrete] -// CHECK:STDOUT: %A.type.0f2: type = facet_type <@A, @A(%X)> [concrete] -// CHECK:STDOUT: %A.impl_witness.6e5: = impl_witness @tuple.type.as.A.impl.%A.impl_witness_table, @tuple.type.as.A.impl(%Y1, %Y2, %X) [concrete] -// CHECK:STDOUT: %Self.af7: %A.type.0f2 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.type.4c9: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %Self.643) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.deb: %A.WithSelf.F.type.4c9 = struct_value () [symbolic] -// CHECK:STDOUT: %A.assoc_type.99a: type = assoc_entity_type @A, @A(%X) [concrete] -// CHECK:STDOUT: %assoc0.33c: %A.assoc_type.99a = assoc_entity element0, @A.WithSelf.%A.WithSelf.F.decl [concrete] -// CHECK:STDOUT: %complete_type.ba2: = complete_type_witness %A.type.0f2 [concrete] -// CHECK:STDOUT: %tuple.type.as.A.impl.F.type.075: type = fn_type @tuple.type.as.A.impl.F, @tuple.type.as.A.impl(%Y1, %Y2, %X) [concrete] -// CHECK:STDOUT: %tuple.type.as.A.impl.F.133: %tuple.type.as.A.impl.F.type.075 = struct_value () [concrete] -// CHECK:STDOUT: %A.facet.222: %A.type.0f2 = facet_value %tuple.type.0da, (%A.impl_witness.6e5) [concrete] -// CHECK:STDOUT: %A.WithSelf.F.type.41e: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %A.facet.222) [concrete] -// CHECK:STDOUT: %A.WithSelf.F.e02: %A.WithSelf.F.type.41e = struct_value () [concrete] -// CHECK:STDOUT: %.dff: type = fn_type_with_self_type %A.WithSelf.F.type.41e, %A.facet.222 [concrete] +// CHECK:STDOUT: %tuple.334: %tuple.type.24b = tuple_value (%Y1, %Y2) [concrete] +// CHECK:STDOUT: %tuple.type.a7c: type = tuple_type (%Y1, %Y2) [concrete] +// CHECK:STDOUT: %A.type.ef5: type = facet_type <@A, @A(%X)> [concrete] +// CHECK:STDOUT: %A.impl_witness.755: = impl_witness @tuple.type.as.A.impl.%A.impl_witness_table, @tuple.type.as.A.impl(%Y1, %Y2, %X) [concrete] +// CHECK:STDOUT: %Self.0c0: %A.type.ef5 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.type.c12: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %Self.a33) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.612: %A.WithSelf.F.type.c12 = struct_value () [symbolic] +// CHECK:STDOUT: %A.assoc_type.3ce: type = assoc_entity_type @A, @A(%X) [concrete] +// CHECK:STDOUT: %assoc0.2c2: %A.assoc_type.3ce = assoc_entity element0, @A.WithSelf.%A.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %complete_type.740: = complete_type_witness %A.type.ef5 [concrete] +// CHECK:STDOUT: %tuple.type.as.A.impl.F.type.d8e: type = fn_type @tuple.type.as.A.impl.F, @tuple.type.as.A.impl(%Y1, %Y2, %X) [concrete] +// CHECK:STDOUT: %tuple.type.as.A.impl.F.677: %tuple.type.as.A.impl.F.type.d8e = struct_value () [concrete] +// CHECK:STDOUT: %A.facet.d43: %A.type.ef5 = facet_value %tuple.type.a7c, (%A.impl_witness.755) [concrete] +// CHECK:STDOUT: %A.WithSelf.F.type.4b7: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %A.facet.d43) [concrete] +// CHECK:STDOUT: %A.WithSelf.F.6c3: %A.WithSelf.F.type.4b7 = struct_value () [concrete] +// CHECK:STDOUT: %.0d1: type = fn_type_with_self_type %A.WithSelf.F.type.4b7, %A.facet.d43 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.223: type = pattern_type %Z [concrete] -// CHECK:STDOUT: %tuple.5fc: %tuple.type.11f = tuple_value (%X, %tuple.e2e, %Z) [concrete] -// CHECK:STDOUT: %tuple.type.e84: type = tuple_type (%X, %tuple.type.0da, %Z) [concrete] -// CHECK:STDOUT: %.d08: Core.Form = init_form %tuple.type.e84 [concrete] -// CHECK:STDOUT: %pattern_type.a16: type = pattern_type %tuple.type.e84 [concrete] -// CHECK:STDOUT: %tuple.type.as.A.impl.F.specific_fn.35a: = specific_function %tuple.type.as.A.impl.F.133, @tuple.type.as.A.impl.F(%Y1, %Y2, %X, %Z) [concrete] +// CHECK:STDOUT: %pattern_type.f0a: type = pattern_type %Z [concrete] +// CHECK:STDOUT: %tuple.b30: %tuple.type.11f = tuple_value (%X, %tuple.334, %Z) [concrete] +// CHECK:STDOUT: %tuple.type.df6: type = tuple_type (%X, %tuple.type.a7c, %Z) [concrete] +// CHECK:STDOUT: %.ec0: Core.Form = init_form %tuple.type.df6 [concrete] +// CHECK:STDOUT: %pattern_type.cc8: type = pattern_type %tuple.type.df6 [concrete] +// CHECK:STDOUT: %tuple.type.as.A.impl.F.specific_fn.b53: = specific_function %tuple.type.as.A.impl.F.677, @tuple.type.as.A.impl.F(%Y1, %Y2, %X, %Z) [concrete] // CHECK:STDOUT: %Z.val: %Z = struct_value () [concrete] -// CHECK:STDOUT: %.2ae: ref %Z = temporary invalid, %Z.val [concrete] +// CHECK:STDOUT: %.224: ref %Z = temporary invalid, %Z.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc24_39.5 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.5: = custom_witness (%Destroy.Op.1dc86d.5), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc24_39.6 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.7: type = fn_type @Destroy.Op.loc24_39.7 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.7: %Destroy.Op.type.af7ec0.7 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.7: = custom_witness (%Destroy.Op.1dc86d.7), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.069: %Destroy.type = facet_value %tuple.type.e84, (%custom_witness.340963.7) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.7c9: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.069) [concrete] -// CHECK:STDOUT: %.ea0: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.7c9, %Destroy.facet.069 [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.2ae, %Destroy.Op.1dc86d.6 [concrete] -// CHECK:STDOUT: %BitAndWith.type.1ec: type = generic_interface_type @BitAndWith [concrete] -// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.1ec = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc24_39.5 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.5: = custom_witness (%Destroy.Op.2dd605.5), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc24_39.6 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.7: type = fn_type @Destroy.Op.loc24_39.7 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.7: %Destroy.Op.type.790b3b.7 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.7: = custom_witness (%Destroy.Op.2dd605.7), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.195: %Destroy.type = facet_value %tuple.type.df6, (%custom_witness.e20f1f.7) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.acf: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.195) [concrete] +// CHECK:STDOUT: %.cdc: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.acf, %Destroy.facet.195 [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.224, %Destroy.Op.2dd605.6 [concrete] +// CHECK:STDOUT: %BitAndWith.type.fd8: type = generic_interface_type @BitAndWith [concrete] +// CHECK:STDOUT: %BitAndWith.generic: %BitAndWith.type.fd8 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %A.type.0f2, %type.as.BitAndWith.impl.Op [concrete] +// CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %A.type.ef5, %type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %facet_type: type = facet_type <@A, @A(%X) & @Destroy> [concrete] -// CHECK:STDOUT: %pattern_type.8b3: type = pattern_type %facet_type [concrete] -// CHECK:STDOUT: %T.651: %facet_type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.e1b: type = pattern_type %facet_type [concrete] +// CHECK:STDOUT: %T.0c6: %facet_type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %CallGeneric.type: type = fn_type @CallGeneric [concrete] // CHECK:STDOUT: %CallGeneric: %CallGeneric.type = struct_value () [concrete] -// CHECK:STDOUT: %A.WithSelf.F.type.24e: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %T.651) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.2d3: %A.WithSelf.F.type.24e = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.651 [symbolic] -// CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %T.651, @A, @A(%X) [symbolic] -// CHECK:STDOUT: %A.facet.8cc: %A.type.0f2 = facet_value %T.as_type, (%A.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.type.57d: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %A.facet.8cc) [symbolic] -// CHECK:STDOUT: %A.WithSelf.F.4a7: %A.WithSelf.F.type.57d = struct_value () [symbolic] -// CHECK:STDOUT: %.927: type = fn_type_with_self_type %A.WithSelf.F.type.57d, %A.facet.8cc [symbolic] -// CHECK:STDOUT: %impl.elem0.b6a: %.927 = impl_witness_access %A.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %tuple.type.d71: type = tuple_type (type, %A.type.0f2, type) [concrete] -// CHECK:STDOUT: %tuple.7fd: %tuple.type.d71 = tuple_value (%X, %A.facet.8cc, %Z) [symbolic] -// CHECK:STDOUT: %tuple.type.f66: type = tuple_type (%X, %T.as_type, %Z) [symbolic] -// CHECK:STDOUT: %.b6a: Core.Form = init_form %tuple.type.f66 [symbolic] -// CHECK:STDOUT: %pattern_type.90c: type = pattern_type %tuple.type.f66 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.5cb: = specific_impl_function %impl.elem0.b6a, @A.WithSelf.F(%X, %A.facet.8cc, %Z) [symbolic] -// CHECK:STDOUT: %require_complete.524: = require_complete_type %tuple.type.f66 [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.a9a: = lookup_impl_witness %tuple.type.f66, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0e4: %Destroy.type = facet_value %tuple.type.f66, (%Destroy.lookup_impl_witness.a9a) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.a0f: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.0e4) [symbolic] -// CHECK:STDOUT: %.211: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.a0f, %Destroy.facet.0e4 [symbolic] -// CHECK:STDOUT: %impl.elem0.e1c: %.211 = impl_witness_access %Destroy.lookup_impl_witness.a9a, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.3c7: = specific_impl_function %impl.elem0.e1c, @Destroy.WithSelf.Op(%Destroy.facet.0e4) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.type.5f2: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %T.0c6) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.923: %A.WithSelf.F.type.5f2 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.0c6 [symbolic] +// CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %T.0c6, @A, @A(%X) [symbolic] +// CHECK:STDOUT: %A.facet.210: %A.type.ef5 = facet_value %T.as_type, (%A.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.type.b88: type = fn_type @A.WithSelf.F, @A.WithSelf(%X, %A.facet.210) [symbolic] +// CHECK:STDOUT: %A.WithSelf.F.702: %A.WithSelf.F.type.b88 = struct_value () [symbolic] +// CHECK:STDOUT: %.b59: type = fn_type_with_self_type %A.WithSelf.F.type.b88, %A.facet.210 [symbolic] +// CHECK:STDOUT: %impl.elem0.65b: %.b59 = impl_witness_access %A.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %tuple.type.d63: type = tuple_type (type, %A.type.ef5, type) [concrete] +// CHECK:STDOUT: %tuple.4d5: %tuple.type.d63 = tuple_value (%X, %A.facet.210, %Z) [symbolic] +// CHECK:STDOUT: %tuple.type.5f8: type = tuple_type (%X, %T.as_type, %Z) [symbolic] +// CHECK:STDOUT: %.bce: Core.Form = init_form %tuple.type.5f8 [symbolic] +// CHECK:STDOUT: %pattern_type.bb6: type = pattern_type %tuple.type.5f8 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.846: = specific_impl_function %impl.elem0.65b, @A.WithSelf.F(%X, %A.facet.210, %Z) [symbolic] +// CHECK:STDOUT: %require_complete.422: = require_complete_type %tuple.type.5f8 [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.9d8: = lookup_impl_witness %tuple.type.5f8, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.10f: %Destroy.type = facet_value %tuple.type.5f8, (%Destroy.lookup_impl_witness.9d8) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.2b3: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.10f) [symbolic] +// CHECK:STDOUT: %.446: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.2b3, %Destroy.facet.10f [symbolic] +// CHECK:STDOUT: %impl.elem0.14b: %.446 = impl_witness_access %Destroy.lookup_impl_witness.9d8, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.2ca: = specific_impl_function %impl.elem0.14b, @Destroy.WithSelf.Op(%Destroy.facet.10f) [symbolic] // CHECK:STDOUT: %CallIndirect.type: type = fn_type @CallIndirect [concrete] // CHECK:STDOUT: %CallIndirect: %CallIndirect.type = struct_value () [concrete] -// CHECK:STDOUT: %facet_value: %facet_type = facet_value %tuple.type.0da, (%A.impl_witness.6e5, %custom_witness.340963.5) [concrete] +// CHECK:STDOUT: %facet_value: %facet_type = facet_value %tuple.type.a7c, (%A.impl_witness.755, %custom_witness.e20f1f.5) [concrete] // CHECK:STDOUT: %CallGeneric.specific_fn: = specific_function %CallGeneric, @CallGeneric(%facet_value) [concrete] -// CHECK:STDOUT: %complete_type.dc9: = complete_type_witness %tuple.type.e84 [concrete] -// CHECK:STDOUT: %tuple.fd1: %tuple.type.d71 = tuple_value (%X, %A.facet.222, %Z) [concrete] +// CHECK:STDOUT: %complete_type.466: = complete_type_witness %tuple.type.df6 [concrete] +// CHECK:STDOUT: %tuple.aac: %tuple.type.d63 = tuple_value (%X, %A.facet.d43, %Z) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -961,9 +961,9 @@ fn CallIndirect() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.1ec = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.BitAndWith: %BitAndWith.type.fd8 = import_ref Core//prelude/parts/as, BitAndWith, loaded [concrete = constants.%BitAndWith.generic] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -979,7 +979,7 @@ fn CallIndirect() { // CHECK:STDOUT: .CallIndirect = %CallIndirect.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl: %A.type.21c = interface_decl @A [concrete = constants.%A.generic] { +// CHECK:STDOUT: %A.decl: %A.type.0af = interface_decl @A [concrete = constants.%A.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc5_17.1: type = splice_block %.loc5_17.2 [concrete = type] { @@ -1001,9 +1001,9 @@ fn CallIndirect() { // CHECK:STDOUT: %V2.ref: type = name_ref V2, %V2.loc14_27.2 [symbolic = %V2.loc14_27.1 (constants.%V2)] // CHECK:STDOUT: %.loc14_53.1: %tuple.type.24b = tuple_literal (%V1.ref, %V2.ref) [symbolic = %tuple (constants.%tuple.4b9)] // CHECK:STDOUT: %.loc14_53.2: type = converted %.loc14_53.1, constants.%tuple.type.a5e [symbolic = %tuple.type (constants.%tuple.type.a5e)] -// CHECK:STDOUT: %A.ref: %A.type.21c = name_ref A, file.%A.decl [concrete = constants.%A.generic] +// CHECK:STDOUT: %A.ref: %A.type.0af = name_ref A, file.%A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %W.ref: type = name_ref W, %W.loc14_37.2 [symbolic = %W.loc14_37.1 (constants.%W)] -// CHECK:STDOUT: %A.type.loc14_61.2: type = facet_type <@A, @A(constants.%W)> [symbolic = %A.type.loc14_61.1 (constants.%A.type.d56)] +// CHECK:STDOUT: %A.type.loc14_61.2: type = facet_type <@A, @A(constants.%W)> [symbolic = %A.type.loc14_61.1 (constants.%A.type.e49)] // CHECK:STDOUT: %.loc14_19.1: type = splice_block %.loc14_19.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc14_16: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc14_19.2: type = type_literal type [concrete = type] @@ -1022,22 +1022,22 @@ fn CallIndirect() { // CHECK:STDOUT: } // CHECK:STDOUT: %Call.decl: %Call.type = fn_decl @Call [concrete = constants.%Call] {} {} // CHECK:STDOUT: %CallGeneric.decl: %CallGeneric.type = fn_decl @CallGeneric [concrete = constants.%CallGeneric] { -// CHECK:STDOUT: %T.patt: %pattern_type.8b3 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.e1b = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc27_25.1: type = splice_block %.loc27_25.3 [concrete = constants.%facet_type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %A.ref: %A.type.21c = name_ref A, file.%A.decl [concrete = constants.%A.generic] +// CHECK:STDOUT: %A.ref: %A.type.0af = name_ref A, file.%A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(constants.%X)> [concrete = constants.%A.type.0f2] +// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(constants.%X)> [concrete = constants.%A.type.ef5] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Destroy.ref: type = name_ref Destroy, imports.%Core.Destroy [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %impl.elem0.loc27: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc27: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method.loc27: = bound_method %A.type, %impl.elem0.loc27 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method.loc27(%A.type, %Destroy.ref) [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc27_25.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%facet_type] // CHECK:STDOUT: %.loc27_25.3: type = converted %type.as.BitAndWith.impl.Op.call, %.loc27_25.2 [concrete = constants.%facet_type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc27_17.2: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc27_17.1 (constants.%T.651)] +// CHECK:STDOUT: %T.loc27_17.2: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc27_17.1 (constants.%T.0c6)] // CHECK:STDOUT: } // CHECK:STDOUT: %CallIndirect.decl: %CallIndirect.type = fn_decl @CallIndirect [concrete = constants.%CallIndirect] {} {} // CHECK:STDOUT: } @@ -1046,30 +1046,30 @@ fn CallIndirect() { // CHECK:STDOUT: %T.loc5_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc5_14.1 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(%T.loc5_14.1)> [symbolic = %A.type (constants.%A.type.a66)] -// CHECK:STDOUT: %Self.loc5_23.2: @A.%A.type (%A.type.a66) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.643)] +// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(%T.loc5_14.1)> [symbolic = %A.type (constants.%A.type.5ea)] +// CHECK:STDOUT: %Self.loc5_23.2: @A.%A.type (%A.type.5ea) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.a33)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc5_23.1: @A.%A.type (%A.type.a66) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.643)] +// CHECK:STDOUT: %Self.loc5_23.1: @A.%A.type (%A.type.5ea) = symbolic_binding Self, 1 [symbolic = %Self.loc5_23.2 (constants.%Self.a33)] // CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %A.WithSelf.F.decl: @A.WithSelf.%A.WithSelf.F.type (%A.WithSelf.F.type.9b2) = fn_decl @A.WithSelf.F [symbolic = @A.WithSelf.%A.WithSelf.F (constants.%A.WithSelf.F.0b9)] { +// CHECK:STDOUT: %A.WithSelf.F.decl: @A.WithSelf.%A.WithSelf.F.type (%A.WithSelf.F.type.f0d) = fn_decl @A.WithSelf.F [symbolic = @A.WithSelf.%A.WithSelf.F (constants.%A.WithSelf.F.628)] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 2 [concrete] // CHECK:STDOUT: %u.param_patt: @A.WithSelf.F.%pattern_type.loc6_19 (%pattern_type.62e) = value_param_pattern [concrete] // CHECK:STDOUT: %u.patt: @A.WithSelf.F.%pattern_type.loc6_19 (%pattern_type.62e) = at_binding_pattern u, %u.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: @A.WithSelf.F.%pattern_type.loc6_38 (%pattern_type.307) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @A.WithSelf.F.%pattern_type.loc6_38 (%pattern_type.307) = return_slot_pattern %return.param_patt, %.loc6_38.4 [concrete] +// CHECK:STDOUT: %return.param_patt: @A.WithSelf.F.%pattern_type.loc6_38 (%pattern_type.41c) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @A.WithSelf.F.%pattern_type.loc6_38 (%pattern_type.41c) = return_slot_pattern %return.param_patt, %.loc6_38.4 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: type = name_ref T, @A.%T.loc5_14.2 [symbolic = %T (constants.%T.67d)] -// CHECK:STDOUT: %.loc6_31: @A.WithSelf.F.%A.type (%A.type.a66) = specific_constant @A.%Self.loc5_23.1, @A(constants.%T.67d) [symbolic = %Self (constants.%Self.643)] -// CHECK:STDOUT: %Self.ref: @A.WithSelf.F.%A.type (%A.type.a66) = name_ref Self, %.loc6_31 [symbolic = %Self (constants.%Self.643)] +// CHECK:STDOUT: %.loc6_31: @A.WithSelf.F.%A.type (%A.type.5ea) = specific_constant @A.%Self.loc5_23.1, @A(constants.%T.67d) [symbolic = %Self (constants.%Self.a33)] +// CHECK:STDOUT: %Self.ref: @A.WithSelf.F.%A.type (%A.type.5ea) = name_ref Self, %.loc6_31 [symbolic = %Self (constants.%Self.a33)] // CHECK:STDOUT: %U.ref.loc6_37: type = name_ref U, %U.loc6_9.2 [symbolic = %U.loc6_9.1 (constants.%U.4e7)] -// CHECK:STDOUT: %.loc6_38.2: @A.WithSelf.F.%tuple.type.loc6_38.1 (%tuple.type.521) = tuple_literal (%T.ref, %Self.ref, %U.ref.loc6_37) [symbolic = %tuple (constants.%tuple.865)] -// CHECK:STDOUT: %Self.as_type.loc6_38.2: type = facet_access_type constants.%Self.643 [symbolic = %Self.as_type.loc6_38.1 (constants.%Self.as_type.f7d)] -// CHECK:STDOUT: %.loc6_38.3: type = converted constants.%Self.643, %Self.as_type.loc6_38.2 [symbolic = %Self.as_type.loc6_38.1 (constants.%Self.as_type.f7d)] -// CHECK:STDOUT: %.loc6_38.4: type = converted %.loc6_38.2, constants.%tuple.type.7c0 [symbolic = %tuple.type.loc6_38.2 (constants.%tuple.type.7c0)] -// CHECK:STDOUT: %.loc6_38.5: Core.Form = init_form %.loc6_38.4 [symbolic = %.loc6_38.1 (constants.%.41f)] +// CHECK:STDOUT: %.loc6_38.2: @A.WithSelf.F.%tuple.type.loc6_38.1 (%tuple.type.54d) = tuple_literal (%T.ref, %Self.ref, %U.ref.loc6_37) [symbolic = %tuple (constants.%tuple.ca1)] +// CHECK:STDOUT: %Self.as_type.loc6_38.2: type = facet_access_type constants.%Self.a33 [symbolic = %Self.as_type.loc6_38.1 (constants.%Self.as_type.0a5)] +// CHECK:STDOUT: %.loc6_38.3: type = converted constants.%Self.a33, %Self.as_type.loc6_38.2 [symbolic = %Self.as_type.loc6_38.1 (constants.%Self.as_type.0a5)] +// CHECK:STDOUT: %.loc6_38.4: type = converted %.loc6_38.2, constants.%tuple.type.a60 [symbolic = %tuple.type.loc6_38.2 (constants.%tuple.type.a60)] +// CHECK:STDOUT: %.loc6_38.5: Core.Form = init_form %.loc6_38.4 [symbolic = %.loc6_38.1 (constants.%.ddd)] // CHECK:STDOUT: %.loc6_12.1: type = splice_block %.loc6_12.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc6_12.2: type = type_literal type [concrete = type] @@ -1078,10 +1078,10 @@ fn CallIndirect() { // CHECK:STDOUT: %u.param: @A.WithSelf.F.%U.loc6_9.1 (%U.4e7) = value_param call_param0 // CHECK:STDOUT: %U.ref.loc6_21: type = name_ref U, %U.loc6_9.2 [symbolic = %U.loc6_9.1 (constants.%U.4e7)] // CHECK:STDOUT: %u: @A.WithSelf.F.%U.loc6_9.1 (%U.4e7) = value_binding u, %u.param -// CHECK:STDOUT: %return.param: ref @A.WithSelf.F.%tuple.type.loc6_38.2 (%tuple.type.7c0) = out_param call_param1 -// CHECK:STDOUT: %return: ref @A.WithSelf.F.%tuple.type.loc6_38.2 (%tuple.type.7c0) = return_slot %return.param +// CHECK:STDOUT: %return.param: ref @A.WithSelf.F.%tuple.type.loc6_38.2 (%tuple.type.a60) = out_param call_param1 +// CHECK:STDOUT: %return: ref @A.WithSelf.F.%tuple.type.loc6_38.2 (%tuple.type.a60) = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %assoc0.loc6_39.1: @A.WithSelf.%A.assoc_type (%A.assoc_type.0af) = assoc_entity element0, %A.WithSelf.F.decl [symbolic = %assoc0.loc6_39.2 (constants.%assoc0.1bf)] +// CHECK:STDOUT: %assoc0.loc6_39.1: @A.WithSelf.%A.assoc_type (%A.assoc_type.092) = assoc_entity element0, %A.WithSelf.F.decl [symbolic = %assoc0.loc6_39.2 (constants.%assoc0.7bb)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self.loc5_23.1 @@ -1103,16 +1103,16 @@ fn CallIndirect() { // CHECK:STDOUT: %W.loc14_37.1: type = symbolic_binding W, 2 [symbolic = %W.loc14_37.1 (constants.%W)] // CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%V1.loc14_16.1, %V2.loc14_27.1) [symbolic = %tuple (constants.%tuple.4b9)] // CHECK:STDOUT: %tuple.type: type = tuple_type (%V1.loc14_16.1, %V2.loc14_27.1) [symbolic = %tuple.type (constants.%tuple.type.a5e)] -// CHECK:STDOUT: %A.type.loc14_61.1: type = facet_type <@A, @A(%W.loc14_37.1)> [symbolic = %A.type.loc14_61.1 (constants.%A.type.d56)] -// CHECK:STDOUT: %A.impl_witness.loc14_63.2: = impl_witness %A.impl_witness_table, @tuple.type.as.A.impl(%V1.loc14_16.1, %V2.loc14_27.1, %W.loc14_37.1) [symbolic = %A.impl_witness.loc14_63.2 (constants.%A.impl_witness.02d)] +// CHECK:STDOUT: %A.type.loc14_61.1: type = facet_type <@A, @A(%W.loc14_37.1)> [symbolic = %A.type.loc14_61.1 (constants.%A.type.e49)] +// CHECK:STDOUT: %A.impl_witness.loc14_63.2: = impl_witness %A.impl_witness_table, @tuple.type.as.A.impl(%V1.loc14_16.1, %V2.loc14_27.1, %W.loc14_37.1) [symbolic = %A.impl_witness.loc14_63.2 (constants.%A.impl_witness.6c9)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete: = require_complete_type %A.type.loc14_61.1 [symbolic = %require_complete (constants.%require_complete.703)] -// CHECK:STDOUT: %tuple.type.as.A.impl.F.type: type = fn_type @tuple.type.as.A.impl.F, @tuple.type.as.A.impl(%V1.loc14_16.1, %V2.loc14_27.1, %W.loc14_37.1) [symbolic = %tuple.type.as.A.impl.F.type (constants.%tuple.type.as.A.impl.F.type.ca2)] -// CHECK:STDOUT: %tuple.type.as.A.impl.F: @tuple.type.as.A.impl.%tuple.type.as.A.impl.F.type (%tuple.type.as.A.impl.F.type.ca2) = struct_value () [symbolic = %tuple.type.as.A.impl.F (constants.%tuple.type.as.A.impl.F.201)] +// CHECK:STDOUT: %require_complete: = require_complete_type %A.type.loc14_61.1 [symbolic = %require_complete (constants.%require_complete.b42)] +// CHECK:STDOUT: %tuple.type.as.A.impl.F.type: type = fn_type @tuple.type.as.A.impl.F, @tuple.type.as.A.impl(%V1.loc14_16.1, %V2.loc14_27.1, %W.loc14_37.1) [symbolic = %tuple.type.as.A.impl.F.type (constants.%tuple.type.as.A.impl.F.type.208)] +// CHECK:STDOUT: %tuple.type.as.A.impl.F: @tuple.type.as.A.impl.%tuple.type.as.A.impl.F.type (%tuple.type.as.A.impl.F.type.208) = struct_value () [symbolic = %tuple.type.as.A.impl.F (constants.%tuple.type.as.A.impl.F.4ce)] // CHECK:STDOUT: // CHECK:STDOUT: impl: %.loc14_53.2 as %A.type.loc14_61.2 { -// CHECK:STDOUT: %tuple.type.as.A.impl.F.decl: @tuple.type.as.A.impl.%tuple.type.as.A.impl.F.type (%tuple.type.as.A.impl.F.type.ca2) = fn_decl @tuple.type.as.A.impl.F [symbolic = @tuple.type.as.A.impl.%tuple.type.as.A.impl.F (constants.%tuple.type.as.A.impl.F.201)] { +// CHECK:STDOUT: %tuple.type.as.A.impl.F.decl: @tuple.type.as.A.impl.%tuple.type.as.A.impl.F.type (%tuple.type.as.A.impl.F.type.208) = fn_decl @tuple.type.as.A.impl.F [symbolic = @tuple.type.as.A.impl.%tuple.type.as.A.impl.F (constants.%tuple.type.as.A.impl.F.4ce)] { // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 3 [concrete] // CHECK:STDOUT: %u.param_patt: @tuple.type.as.A.impl.F.%pattern_type.loc17_19 (%pattern_type.e4a) = value_param_pattern [concrete] // CHECK:STDOUT: %u.patt: @tuple.type.as.A.impl.F.%pattern_type.loc17_19 (%pattern_type.e4a) = at_binding_pattern u, %u.param_patt [concrete] @@ -1140,7 +1140,7 @@ fn CallIndirect() { // CHECK:STDOUT: %return: ref @tuple.type.as.A.impl.F.%tuple.type.loc17_42.2 (%tuple.type.897) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %A.impl_witness_table = impl_witness_table (%tuple.type.as.A.impl.F.decl), @tuple.type.as.A.impl [concrete] -// CHECK:STDOUT: %A.impl_witness.loc14_63.1: = impl_witness %A.impl_witness_table, @tuple.type.as.A.impl(constants.%V1, constants.%V2, constants.%W) [symbolic = %A.impl_witness.loc14_63.2 (constants.%A.impl_witness.02d)] +// CHECK:STDOUT: %A.impl_witness.loc14_63.1: = impl_witness %A.impl_witness_table, @tuple.type.as.A.impl(constants.%V1, constants.%V2, constants.%W) [symbolic = %A.impl_witness.loc14_63.2 (constants.%A.impl_witness.6c9)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .W = @@ -1184,20 +1184,20 @@ fn CallIndirect() { // CHECK:STDOUT: .Self = constants.%Z // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @A.WithSelf.F(@A.%T.loc5_14.2: type, @A.%Self.loc5_23.1: @A.%A.type (%A.type.a66), %U.loc6_9.2: type) { +// CHECK:STDOUT: generic fn @A.WithSelf.F(@A.%T.loc5_14.2: type, @A.%Self.loc5_23.1: @A.%A.type (%A.type.5ea), %U.loc6_9.2: type) { // CHECK:STDOUT: %U.loc6_9.1: type = symbolic_binding U, 2 [symbolic = %U.loc6_9.1 (constants.%U.4e7)] // CHECK:STDOUT: %pattern_type.loc6_19: type = pattern_type %U.loc6_9.1 [symbolic = %pattern_type.loc6_19 (constants.%pattern_type.62e)] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T.67d)] -// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(%T)> [symbolic = %A.type (constants.%A.type.a66)] -// CHECK:STDOUT: %Self: @A.WithSelf.F.%A.type (%A.type.a66) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.643)] -// CHECK:STDOUT: %tuple.type.loc6_38.1: type = tuple_type (type, %A.type, type) [symbolic = %tuple.type.loc6_38.1 (constants.%tuple.type.521)] -// CHECK:STDOUT: %tuple: @A.WithSelf.F.%tuple.type.loc6_38.1 (%tuple.type.521) = tuple_value (%T, %Self, %U.loc6_9.1) [symbolic = %tuple (constants.%tuple.865)] -// CHECK:STDOUT: %Self.as_type.loc6_38.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc6_38.1 (constants.%Self.as_type.f7d)] -// CHECK:STDOUT: %tuple.type.loc6_38.2: type = tuple_type (%T, %Self.as_type.loc6_38.1, %U.loc6_9.1) [symbolic = %tuple.type.loc6_38.2 (constants.%tuple.type.7c0)] -// CHECK:STDOUT: %.loc6_38.1: Core.Form = init_form %tuple.type.loc6_38.2 [symbolic = %.loc6_38.1 (constants.%.41f)] -// CHECK:STDOUT: %pattern_type.loc6_38: type = pattern_type %tuple.type.loc6_38.2 [symbolic = %pattern_type.loc6_38 (constants.%pattern_type.307)] +// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(%T)> [symbolic = %A.type (constants.%A.type.5ea)] +// CHECK:STDOUT: %Self: @A.WithSelf.F.%A.type (%A.type.5ea) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.a33)] +// CHECK:STDOUT: %tuple.type.loc6_38.1: type = tuple_type (type, %A.type, type) [symbolic = %tuple.type.loc6_38.1 (constants.%tuple.type.54d)] +// CHECK:STDOUT: %tuple: @A.WithSelf.F.%tuple.type.loc6_38.1 (%tuple.type.54d) = tuple_value (%T, %Self, %U.loc6_9.1) [symbolic = %tuple (constants.%tuple.ca1)] +// CHECK:STDOUT: %Self.as_type.loc6_38.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc6_38.1 (constants.%Self.as_type.0a5)] +// CHECK:STDOUT: %tuple.type.loc6_38.2: type = tuple_type (%T, %Self.as_type.loc6_38.1, %U.loc6_9.1) [symbolic = %tuple.type.loc6_38.2 (constants.%tuple.type.a60)] +// CHECK:STDOUT: %.loc6_38.1: Core.Form = init_form %tuple.type.loc6_38.2 [symbolic = %.loc6_38.1 (constants.%.ddd)] +// CHECK:STDOUT: %pattern_type.loc6_38: type = pattern_type %tuple.type.loc6_38.2 [symbolic = %pattern_type.loc6_38 (constants.%pattern_type.41c)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%u.param: @A.WithSelf.F.%U.loc6_9.1 (%U.4e7)) -> out %return.param: @A.WithSelf.F.%tuple.type.loc6_38.2 (%tuple.type.7c0); +// CHECK:STDOUT: fn(%u.param: @A.WithSelf.F.%U.loc6_9.1 (%U.4e7)) -> out %return.param: @A.WithSelf.F.%tuple.type.loc6_38.2 (%tuple.type.a60); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @tuple.type.as.A.impl.F(@tuple.type.as.A.impl.%V1.loc14_16.2: type, @tuple.type.as.A.impl.%V2.loc14_27.2: type, @tuple.type.as.A.impl.%W.loc14_37.2: type, %U.loc17_9.2: type) { @@ -1216,17 +1216,17 @@ fn CallIndirect() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc17_19: = require_complete_type %U.loc17_9.1 [symbolic = %require_complete.loc17_19 (constants.%require_complete.5a4)] // CHECK:STDOUT: %require_complete.loc17_24: = require_complete_type %tuple.type.loc17_42.2 [symbolic = %require_complete.loc17_24 (constants.%require_complete.da0)] -// CHECK:STDOUT: %tuple.type.as.A.impl.F.type: type = fn_type @tuple.type.as.A.impl.F, @tuple.type.as.A.impl(%V1, %V2, %W) [symbolic = %tuple.type.as.A.impl.F.type (constants.%tuple.type.as.A.impl.F.type.ca2)] -// CHECK:STDOUT: %tuple.type.as.A.impl.F: @tuple.type.as.A.impl.F.%tuple.type.as.A.impl.F.type (%tuple.type.as.A.impl.F.type.ca2) = struct_value () [symbolic = %tuple.type.as.A.impl.F (constants.%tuple.type.as.A.impl.F.201)] -// CHECK:STDOUT: %tuple.type.as.A.impl.F.specific_fn.loc18_12.2: = specific_function %tuple.type.as.A.impl.F, @tuple.type.as.A.impl.F(%V1, %V2, %W, %U.loc17_9.1) [symbolic = %tuple.type.as.A.impl.F.specific_fn.loc18_12.2 (constants.%tuple.type.as.A.impl.F.specific_fn.c18)] +// CHECK:STDOUT: %tuple.type.as.A.impl.F.type: type = fn_type @tuple.type.as.A.impl.F, @tuple.type.as.A.impl(%V1, %V2, %W) [symbolic = %tuple.type.as.A.impl.F.type (constants.%tuple.type.as.A.impl.F.type.208)] +// CHECK:STDOUT: %tuple.type.as.A.impl.F: @tuple.type.as.A.impl.F.%tuple.type.as.A.impl.F.type (%tuple.type.as.A.impl.F.type.208) = struct_value () [symbolic = %tuple.type.as.A.impl.F (constants.%tuple.type.as.A.impl.F.4ce)] +// CHECK:STDOUT: %tuple.type.as.A.impl.F.specific_fn.loc18_12.2: = specific_function %tuple.type.as.A.impl.F, @tuple.type.as.A.impl.F(%V1, %V2, %W, %U.loc17_9.1) [symbolic = %tuple.type.as.A.impl.F.specific_fn.loc18_12.2 (constants.%tuple.type.as.A.impl.F.specific_fn.e1b)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%u.param: @tuple.type.as.A.impl.F.%U.loc17_9.1 (%U.ce4)) -> out %return.param: @tuple.type.as.A.impl.F.%tuple.type.loc17_42.2 (%tuple.type.897) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %.loc18: @tuple.type.as.A.impl.F.%tuple.type.as.A.impl.F.type (%tuple.type.as.A.impl.F.type.ca2) = specific_constant @tuple.type.as.A.impl.%tuple.type.as.A.impl.F.decl, @tuple.type.as.A.impl(constants.%V1, constants.%V2, constants.%W) [symbolic = %tuple.type.as.A.impl.F (constants.%tuple.type.as.A.impl.F.201)] -// CHECK:STDOUT: %F.ref: @tuple.type.as.A.impl.F.%tuple.type.as.A.impl.F.type (%tuple.type.as.A.impl.F.type.ca2) = name_ref F, %.loc18 [symbolic = %tuple.type.as.A.impl.F (constants.%tuple.type.as.A.impl.F.201)] +// CHECK:STDOUT: %.loc18: @tuple.type.as.A.impl.F.%tuple.type.as.A.impl.F.type (%tuple.type.as.A.impl.F.type.208) = specific_constant @tuple.type.as.A.impl.%tuple.type.as.A.impl.F.decl, @tuple.type.as.A.impl(constants.%V1, constants.%V2, constants.%W) [symbolic = %tuple.type.as.A.impl.F (constants.%tuple.type.as.A.impl.F.4ce)] +// CHECK:STDOUT: %F.ref: @tuple.type.as.A.impl.F.%tuple.type.as.A.impl.F.type (%tuple.type.as.A.impl.F.type.208) = name_ref F, %.loc18 [symbolic = %tuple.type.as.A.impl.F (constants.%tuple.type.as.A.impl.F.4ce)] // CHECK:STDOUT: %U.ref.loc18: type = name_ref U, %U.loc17_9.2 [symbolic = %U.loc17_9.1 (constants.%U.ce4)] // CHECK:STDOUT: %u.ref: @tuple.type.as.A.impl.F.%U.loc17_9.1 (%U.ce4) = name_ref u, %u -// CHECK:STDOUT: %tuple.type.as.A.impl.F.specific_fn.loc18_12.1: = specific_function %F.ref, @tuple.type.as.A.impl.F(constants.%V1, constants.%V2, constants.%W, constants.%U.ce4) [symbolic = %tuple.type.as.A.impl.F.specific_fn.loc18_12.2 (constants.%tuple.type.as.A.impl.F.specific_fn.c18)] +// CHECK:STDOUT: %tuple.type.as.A.impl.F.specific_fn.loc18_12.1: = specific_function %F.ref, @tuple.type.as.A.impl.F(constants.%V1, constants.%V2, constants.%W, constants.%U.ce4) [symbolic = %tuple.type.as.A.impl.F.specific_fn.loc18_12.2 (constants.%tuple.type.as.A.impl.F.specific_fn.e1b)] // CHECK:STDOUT: %.loc17_42.1: ref @tuple.type.as.A.impl.F.%tuple.type.loc17_42.2 (%tuple.type.897) = splice_block %return.param {} // CHECK:STDOUT: %tuple.type.as.A.impl.F.call: init @tuple.type.as.A.impl.F.%tuple.type.loc17_42.2 (%tuple.type.897) to %.loc17_42.1 = call %tuple.type.as.A.impl.F.specific_fn.loc18_12.1(%u.ref) // CHECK:STDOUT: return %tuple.type.as.A.impl.F.call to %return.param @@ -1237,33 +1237,33 @@ fn CallIndirect() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Y1.ref: type = name_ref Y1, file.%Y1.decl [concrete = constants.%Y1] // CHECK:STDOUT: %Y2.ref: type = name_ref Y2, file.%Y2.decl [concrete = constants.%Y2] -// CHECK:STDOUT: %.loc24_12: %tuple.type.24b = tuple_literal (%Y1.ref, %Y2.ref) [concrete = constants.%tuple.e2e] +// CHECK:STDOUT: %.loc24_12: %tuple.type.24b = tuple_literal (%Y1.ref, %Y2.ref) [concrete = constants.%tuple.334] // CHECK:STDOUT: %.loc24_17: type = type_literal type [concrete = type] -// CHECK:STDOUT: %.loc24_14: type = converted %.loc24_12, constants.%tuple.type.0da [concrete = constants.%tuple.type.0da] -// CHECK:STDOUT: %A.ref: %A.type.21c = name_ref A, file.%A.decl [concrete = constants.%A.generic] +// CHECK:STDOUT: %.loc24_14: type = converted %.loc24_12, constants.%tuple.type.a7c [concrete = constants.%tuple.type.a7c] +// CHECK:STDOUT: %A.ref: %A.type.0af = name_ref A, file.%A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(constants.%X)> [concrete = constants.%A.type.0f2] -// CHECK:STDOUT: %A.facet: %A.type.0f2 = facet_value %.loc24_14, (constants.%A.impl_witness.6e5) [concrete = constants.%A.facet.222] -// CHECK:STDOUT: %.loc24_23: %A.type.0f2 = converted %.loc24_14, %A.facet [concrete = constants.%A.facet.222] -// CHECK:STDOUT: %as_type: type = facet_access_type %.loc24_23 [concrete = constants.%tuple.type.0da] -// CHECK:STDOUT: %.loc24_31.1: type = converted %.loc24_23, %as_type [concrete = constants.%tuple.type.0da] -// CHECK:STDOUT: %.loc24_31.2: %A.assoc_type.99a = specific_constant @A.WithSelf.%assoc0.loc6_39.1, @A.WithSelf(constants.%X, constants.%A.facet.222) [concrete = constants.%assoc0.33c] -// CHECK:STDOUT: %F.ref: %A.assoc_type.99a = name_ref F, %.loc24_31.2 [concrete = constants.%assoc0.33c] -// CHECK:STDOUT: %impl.elem0: %.dff = impl_witness_access constants.%A.impl_witness.6e5, element0 [concrete = constants.%tuple.type.as.A.impl.F.133] +// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(constants.%X)> [concrete = constants.%A.type.ef5] +// CHECK:STDOUT: %A.facet: %A.type.ef5 = facet_value %.loc24_14, (constants.%A.impl_witness.755) [concrete = constants.%A.facet.d43] +// CHECK:STDOUT: %.loc24_23: %A.type.ef5 = converted %.loc24_14, %A.facet [concrete = constants.%A.facet.d43] +// CHECK:STDOUT: %as_type: type = facet_access_type %.loc24_23 [concrete = constants.%tuple.type.a7c] +// CHECK:STDOUT: %.loc24_31.1: type = converted %.loc24_23, %as_type [concrete = constants.%tuple.type.a7c] +// CHECK:STDOUT: %.loc24_31.2: %A.assoc_type.3ce = specific_constant @A.WithSelf.%assoc0.loc6_39.1, @A.WithSelf(constants.%X, constants.%A.facet.d43) [concrete = constants.%assoc0.2c2] +// CHECK:STDOUT: %F.ref: %A.assoc_type.3ce = name_ref F, %.loc24_31.2 [concrete = constants.%assoc0.2c2] +// CHECK:STDOUT: %impl.elem0: %.0d1 = impl_witness_access constants.%A.impl_witness.755, element0 [concrete = constants.%tuple.type.as.A.impl.F.677] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z] // CHECK:STDOUT: %.loc24_38.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @tuple.type.as.A.impl.F(constants.%Y1, constants.%Y2, constants.%X, constants.%Z) [concrete = constants.%tuple.type.as.A.impl.F.specific_fn.35a] -// CHECK:STDOUT: %.loc24_39.1: ref %tuple.type.e84 = temporary_storage +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @tuple.type.as.A.impl.F(constants.%Y1, constants.%Y2, constants.%X, constants.%Z) [concrete = constants.%tuple.type.as.A.impl.F.specific_fn.b53] +// CHECK:STDOUT: %.loc24_39.1: ref %tuple.type.df6 = temporary_storage // CHECK:STDOUT: %.loc24_38.2: ref %Z = temporary_storage // CHECK:STDOUT: %.loc24_38.3: init %Z to %.loc24_38.2 = class_init () [concrete = constants.%Z.val] // CHECK:STDOUT: %.loc24_38.4: init %Z = converted %.loc24_38.1, %.loc24_38.3 [concrete = constants.%Z.val] -// CHECK:STDOUT: %.loc24_38.5: ref %Z = temporary %.loc24_38.2, %.loc24_38.4 [concrete = constants.%.2ae] +// CHECK:STDOUT: %.loc24_38.5: ref %Z = temporary %.loc24_38.2, %.loc24_38.4 [concrete = constants.%.224] // CHECK:STDOUT: %.loc24_38.6: %Z = acquire_value %.loc24_38.5 [concrete = constants.%Z.val] -// CHECK:STDOUT: %tuple.type.as.A.impl.F.call: init %tuple.type.e84 to %.loc24_39.1 = call %specific_fn(%.loc24_38.6) -// CHECK:STDOUT: %.loc24_39.2: ref %tuple.type.e84 = temporary %.loc24_39.1, %tuple.type.as.A.impl.F.call -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc24_39.2, constants.%Destroy.Op.1dc86d.7 +// CHECK:STDOUT: %tuple.type.as.A.impl.F.call: init %tuple.type.df6 to %.loc24_39.1 = call %specific_fn(%.loc24_38.6) +// CHECK:STDOUT: %.loc24_39.2: ref %tuple.type.df6 = temporary %.loc24_39.1, %tuple.type.as.A.impl.F.call +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc24_39.2, constants.%Destroy.Op.2dd605.7 // CHECK:STDOUT: %Destroy.Op.call.loc24_39: init %empty_tuple.type = call %Destroy.Op.bound(%.loc24_39.2) -// CHECK:STDOUT: %Destroy.Op.call.loc24_38: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.2ae) +// CHECK:STDOUT: %Destroy.Op.call.loc24_38: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.224) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1284,7 +1284,7 @@ fn CallIndirect() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc24_39.5(%self.param: ref %tuple.type.0da) { +// CHECK:STDOUT: fn @Destroy.Op.loc24_39.5(%self.param: ref %tuple.type.a7c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1294,56 +1294,56 @@ fn CallIndirect() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc24_39.7(%self.param: ref %tuple.type.e84) { +// CHECK:STDOUT: fn @Destroy.Op.loc24_39.7(%self.param: ref %tuple.type.df6) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @CallGeneric(%T.loc27_17.2: %facet_type) { -// CHECK:STDOUT: %T.loc27_17.1: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc27_17.1 (constants.%T.651)] +// CHECK:STDOUT: %T.loc27_17.1: %facet_type = symbolic_binding T, 0 [symbolic = %T.loc27_17.1 (constants.%T.0c6)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T.as_type.loc28_4.2: type = facet_access_type %T.loc27_17.1 [symbolic = %T.as_type.loc28_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %T.loc27_17.1, @A, @A(constants.%X) [symbolic = %A.lookup_impl_witness (constants.%A.lookup_impl_witness)] -// CHECK:STDOUT: %A.facet: %A.type.0f2 = facet_value %T.as_type.loc28_4.2, (%A.lookup_impl_witness) [symbolic = %A.facet (constants.%A.facet.8cc)] -// CHECK:STDOUT: %A.WithSelf.F.type: type = fn_type @A.WithSelf.F, @A.WithSelf(constants.%X, %A.facet) [symbolic = %A.WithSelf.F.type (constants.%A.WithSelf.F.type.57d)] -// CHECK:STDOUT: %.loc28_4.3: type = fn_type_with_self_type %A.WithSelf.F.type, %A.facet [symbolic = %.loc28_4.3 (constants.%.927)] -// CHECK:STDOUT: %impl.elem0.loc28_4.2: @CallGeneric.%.loc28_4.3 (%.927) = impl_witness_access %A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc28_4.2 (constants.%impl.elem0.b6a)] -// CHECK:STDOUT: %specific_impl_fn.loc28_4.2: = specific_impl_function %impl.elem0.loc28_4.2, @A.WithSelf.F(constants.%X, %A.facet, constants.%Z) [symbolic = %specific_impl_fn.loc28_4.2 (constants.%specific_impl_fn.5cb)] -// CHECK:STDOUT: %tuple.type: type = tuple_type (constants.%X, %T.as_type.loc28_4.2, constants.%Z) [symbolic = %tuple.type (constants.%tuple.type.f66)] -// CHECK:STDOUT: %require_complete: = require_complete_type %tuple.type [symbolic = %require_complete (constants.%require_complete.524)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %tuple.type, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness.a9a)] -// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %tuple.type, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.0e4)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.a0f)] -// CHECK:STDOUT: %.loc28_12.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc28_12.3 (constants.%.211)] -// CHECK:STDOUT: %impl.elem0.loc28_12.2: @CallGeneric.%.loc28_12.3 (%.211) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc28_12.2 (constants.%impl.elem0.e1c)] -// CHECK:STDOUT: %specific_impl_fn.loc28_12.2: = specific_impl_function %impl.elem0.loc28_12.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc28_12.2 (constants.%specific_impl_fn.3c7)] +// CHECK:STDOUT: %A.facet: %A.type.ef5 = facet_value %T.as_type.loc28_4.2, (%A.lookup_impl_witness) [symbolic = %A.facet (constants.%A.facet.210)] +// CHECK:STDOUT: %A.WithSelf.F.type: type = fn_type @A.WithSelf.F, @A.WithSelf(constants.%X, %A.facet) [symbolic = %A.WithSelf.F.type (constants.%A.WithSelf.F.type.b88)] +// CHECK:STDOUT: %.loc28_4.3: type = fn_type_with_self_type %A.WithSelf.F.type, %A.facet [symbolic = %.loc28_4.3 (constants.%.b59)] +// CHECK:STDOUT: %impl.elem0.loc28_4.2: @CallGeneric.%.loc28_4.3 (%.b59) = impl_witness_access %A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc28_4.2 (constants.%impl.elem0.65b)] +// CHECK:STDOUT: %specific_impl_fn.loc28_4.2: = specific_impl_function %impl.elem0.loc28_4.2, @A.WithSelf.F(constants.%X, %A.facet, constants.%Z) [symbolic = %specific_impl_fn.loc28_4.2 (constants.%specific_impl_fn.846)] +// CHECK:STDOUT: %tuple.type: type = tuple_type (constants.%X, %T.as_type.loc28_4.2, constants.%Z) [symbolic = %tuple.type (constants.%tuple.type.5f8)] +// CHECK:STDOUT: %require_complete: = require_complete_type %tuple.type [symbolic = %require_complete (constants.%require_complete.422)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %tuple.type, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness.9d8)] +// CHECK:STDOUT: %Destroy.facet: %Destroy.type = facet_value %tuple.type, (%Destroy.lookup_impl_witness) [symbolic = %Destroy.facet (constants.%Destroy.facet.10f)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.2b3)] +// CHECK:STDOUT: %.loc28_12.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Destroy.facet [symbolic = %.loc28_12.3 (constants.%.446)] +// CHECK:STDOUT: %impl.elem0.loc28_12.2: @CallGeneric.%.loc28_12.3 (%.446) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc28_12.2 (constants.%impl.elem0.14b)] +// CHECK:STDOUT: %specific_impl_fn.loc28_12.2: = specific_impl_function %impl.elem0.loc28_12.2, @Destroy.WithSelf.Op(%Destroy.facet) [symbolic = %specific_impl_fn.loc28_12.2 (constants.%specific_impl_fn.2ca)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %T.ref: %facet_type = name_ref T, %T.loc27_17.2 [symbolic = %T.loc27_17.1 (constants.%T.651)] +// CHECK:STDOUT: %T.ref: %facet_type = name_ref T, %T.loc27_17.2 [symbolic = %T.loc27_17.1 (constants.%T.0c6)] // CHECK:STDOUT: %T.as_type.loc28_4.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc28_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %.loc28_4.1: type = converted %T.ref, %T.as_type.loc28_4.1 [symbolic = %T.as_type.loc28_4.2 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc28_4.2: %A.assoc_type.99a = specific_constant @A.WithSelf.%assoc0.loc6_39.1, @A.WithSelf(constants.%X, constants.%T.651) [concrete = constants.%assoc0.33c] -// CHECK:STDOUT: %F.ref: %A.assoc_type.99a = name_ref F, %.loc28_4.2 [concrete = constants.%assoc0.33c] -// CHECK:STDOUT: %impl.elem0.loc28_4.1: @CallGeneric.%.loc28_4.3 (%.927) = impl_witness_access constants.%A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc28_4.2 (constants.%impl.elem0.b6a)] +// CHECK:STDOUT: %.loc28_4.2: %A.assoc_type.3ce = specific_constant @A.WithSelf.%assoc0.loc6_39.1, @A.WithSelf(constants.%X, constants.%T.0c6) [concrete = constants.%assoc0.2c2] +// CHECK:STDOUT: %F.ref: %A.assoc_type.3ce = name_ref F, %.loc28_4.2 [concrete = constants.%assoc0.2c2] +// CHECK:STDOUT: %impl.elem0.loc28_4.1: @CallGeneric.%.loc28_4.3 (%.b59) = impl_witness_access constants.%A.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc28_4.2 (constants.%impl.elem0.65b)] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z] // CHECK:STDOUT: %.loc28_11.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] -// CHECK:STDOUT: %specific_impl_fn.loc28_4.1: = specific_impl_function %impl.elem0.loc28_4.1, @A.WithSelf.F(constants.%X, constants.%A.facet.8cc, constants.%Z) [symbolic = %specific_impl_fn.loc28_4.2 (constants.%specific_impl_fn.5cb)] -// CHECK:STDOUT: %.loc28_12.1: ref @CallGeneric.%tuple.type (%tuple.type.f66) = temporary_storage +// CHECK:STDOUT: %specific_impl_fn.loc28_4.1: = specific_impl_function %impl.elem0.loc28_4.1, @A.WithSelf.F(constants.%X, constants.%A.facet.210, constants.%Z) [symbolic = %specific_impl_fn.loc28_4.2 (constants.%specific_impl_fn.846)] +// CHECK:STDOUT: %.loc28_12.1: ref @CallGeneric.%tuple.type (%tuple.type.5f8) = temporary_storage // CHECK:STDOUT: %.loc28_11.2: ref %Z = temporary_storage // CHECK:STDOUT: %.loc28_11.3: init %Z to %.loc28_11.2 = class_init () [concrete = constants.%Z.val] // CHECK:STDOUT: %.loc28_11.4: init %Z = converted %.loc28_11.1, %.loc28_11.3 [concrete = constants.%Z.val] -// CHECK:STDOUT: %.loc28_11.5: ref %Z = temporary %.loc28_11.2, %.loc28_11.4 [concrete = constants.%.2ae] +// CHECK:STDOUT: %.loc28_11.5: ref %Z = temporary %.loc28_11.2, %.loc28_11.4 [concrete = constants.%.224] // CHECK:STDOUT: %.loc28_11.6: %Z = acquire_value %.loc28_11.5 [concrete = constants.%Z.val] -// CHECK:STDOUT: %A.WithSelf.F.call: init @CallGeneric.%tuple.type (%tuple.type.f66) to %.loc28_12.1 = call %specific_impl_fn.loc28_4.1(%.loc28_11.6) -// CHECK:STDOUT: %.loc28_12.2: ref @CallGeneric.%tuple.type (%tuple.type.f66) = temporary %.loc28_12.1, %A.WithSelf.F.call -// CHECK:STDOUT: %impl.elem0.loc28_12.1: @CallGeneric.%.loc28_12.3 (%.211) = impl_witness_access constants.%Destroy.lookup_impl_witness.a9a, element0 [symbolic = %impl.elem0.loc28_12.2 (constants.%impl.elem0.e1c)] +// CHECK:STDOUT: %A.WithSelf.F.call: init @CallGeneric.%tuple.type (%tuple.type.5f8) to %.loc28_12.1 = call %specific_impl_fn.loc28_4.1(%.loc28_11.6) +// CHECK:STDOUT: %.loc28_12.2: ref @CallGeneric.%tuple.type (%tuple.type.5f8) = temporary %.loc28_12.1, %A.WithSelf.F.call +// CHECK:STDOUT: %impl.elem0.loc28_12.1: @CallGeneric.%.loc28_12.3 (%.446) = impl_witness_access constants.%Destroy.lookup_impl_witness.9d8, element0 [symbolic = %impl.elem0.loc28_12.2 (constants.%impl.elem0.14b)] // CHECK:STDOUT: %bound_method.loc28_12.1: = bound_method %.loc28_12.2, %impl.elem0.loc28_12.1 -// CHECK:STDOUT: %specific_impl_fn.loc28_12.1: = specific_impl_function %impl.elem0.loc28_12.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.0e4) [symbolic = %specific_impl_fn.loc28_12.2 (constants.%specific_impl_fn.3c7)] +// CHECK:STDOUT: %specific_impl_fn.loc28_12.1: = specific_impl_function %impl.elem0.loc28_12.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.10f) [symbolic = %specific_impl_fn.loc28_12.2 (constants.%specific_impl_fn.2ca)] // CHECK:STDOUT: %bound_method.loc28_12.2: = bound_method %.loc28_12.2, %specific_impl_fn.loc28_12.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc28_12.2(%.loc28_12.2) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.2ae) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.224) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -1353,10 +1353,10 @@ fn CallIndirect() { // CHECK:STDOUT: %CallGeneric.ref: %CallGeneric.type = name_ref CallGeneric, file.%CallGeneric.decl [concrete = constants.%CallGeneric] // CHECK:STDOUT: %Y1.ref: type = name_ref Y1, file.%Y1.decl [concrete = constants.%Y1] // CHECK:STDOUT: %Y2.ref: type = name_ref Y2, file.%Y2.decl [concrete = constants.%Y2] -// CHECK:STDOUT: %.loc33_22: %tuple.type.24b = tuple_literal (%Y1.ref, %Y2.ref) [concrete = constants.%tuple.e2e] +// CHECK:STDOUT: %.loc33_22: %tuple.type.24b = tuple_literal (%Y1.ref, %Y2.ref) [concrete = constants.%tuple.334] // CHECK:STDOUT: %.loc33_27: type = type_literal type [concrete = type] -// CHECK:STDOUT: %.loc33_24: type = converted %.loc33_22, constants.%tuple.type.0da [concrete = constants.%tuple.type.0da] -// CHECK:STDOUT: %facet_value: %facet_type = facet_value %.loc33_24, (constants.%A.impl_witness.6e5, constants.%custom_witness.340963.5) [concrete = constants.%facet_value] +// CHECK:STDOUT: %.loc33_24: type = converted %.loc33_22, constants.%tuple.type.a7c [concrete = constants.%tuple.type.a7c] +// CHECK:STDOUT: %facet_value: %facet_type = facet_value %.loc33_24, (constants.%A.impl_witness.755, constants.%custom_witness.e20f1f.5) [concrete = constants.%facet_value] // CHECK:STDOUT: %.loc33_31: %facet_type = converted %.loc33_24, %facet_value [concrete = constants.%facet_value] // CHECK:STDOUT: %CallGeneric.specific_fn: = specific_function %CallGeneric.ref, @CallGeneric(constants.%facet_value) [concrete = constants.%CallGeneric.specific_fn] // CHECK:STDOUT: %CallGeneric.call: init %empty_tuple.type = call %CallGeneric.specific_fn() @@ -1367,28 +1367,28 @@ fn CallIndirect() { // CHECK:STDOUT: %T.loc5_14.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%T.67d, constants.%Self.643) {} +// CHECK:STDOUT: specific @A.WithSelf(constants.%T.67d, constants.%Self.a33) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.F(constants.%T.67d, constants.%Self.643, constants.%U.4e7) { +// CHECK:STDOUT: specific @A.WithSelf.F(constants.%T.67d, constants.%Self.a33, constants.%U.4e7) { // CHECK:STDOUT: %U.loc6_9.1 => constants.%U.4e7 // CHECK:STDOUT: %pattern_type.loc6_19 => constants.%pattern_type.62e // CHECK:STDOUT: %T => constants.%T.67d -// CHECK:STDOUT: %A.type => constants.%A.type.a66 -// CHECK:STDOUT: %Self => constants.%Self.643 -// CHECK:STDOUT: %tuple.type.loc6_38.1 => constants.%tuple.type.521 -// CHECK:STDOUT: %tuple => constants.%tuple.865 -// CHECK:STDOUT: %Self.as_type.loc6_38.1 => constants.%Self.as_type.f7d -// CHECK:STDOUT: %tuple.type.loc6_38.2 => constants.%tuple.type.7c0 -// CHECK:STDOUT: %.loc6_38.1 => constants.%.41f -// CHECK:STDOUT: %pattern_type.loc6_38 => constants.%pattern_type.307 +// CHECK:STDOUT: %A.type => constants.%A.type.5ea +// CHECK:STDOUT: %Self => constants.%Self.a33 +// CHECK:STDOUT: %tuple.type.loc6_38.1 => constants.%tuple.type.54d +// CHECK:STDOUT: %tuple => constants.%tuple.ca1 +// CHECK:STDOUT: %Self.as_type.loc6_38.1 => constants.%Self.as_type.0a5 +// CHECK:STDOUT: %tuple.type.loc6_38.2 => constants.%tuple.type.a60 +// CHECK:STDOUT: %.loc6_38.1 => constants.%.ddd +// CHECK:STDOUT: %pattern_type.loc6_38 => constants.%pattern_type.41c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @A(constants.%W) { // CHECK:STDOUT: %T.loc5_14.1 => constants.%W // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %A.type => constants.%A.type.d56 -// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.8b7 +// CHECK:STDOUT: %A.type => constants.%A.type.e49 +// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.2ba // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @tuple.type.as.A.impl(constants.%V1, constants.%V2, constants.%W) { @@ -1397,24 +1397,24 @@ fn CallIndirect() { // CHECK:STDOUT: %W.loc14_37.1 => constants.%W // CHECK:STDOUT: %tuple => constants.%tuple.4b9 // CHECK:STDOUT: %tuple.type => constants.%tuple.type.a5e -// CHECK:STDOUT: %A.type.loc14_61.1 => constants.%A.type.d56 -// CHECK:STDOUT: %A.impl_witness.loc14_63.2 => constants.%A.impl_witness.02d +// CHECK:STDOUT: %A.type.loc14_61.1 => constants.%A.type.e49 +// CHECK:STDOUT: %A.impl_witness.loc14_63.2 => constants.%A.impl_witness.6c9 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%require_complete.703 -// CHECK:STDOUT: %tuple.type.as.A.impl.F.type => constants.%tuple.type.as.A.impl.F.type.ca2 -// CHECK:STDOUT: %tuple.type.as.A.impl.F => constants.%tuple.type.as.A.impl.F.201 +// CHECK:STDOUT: %require_complete => constants.%require_complete.b42 +// CHECK:STDOUT: %tuple.type.as.A.impl.F.type => constants.%tuple.type.as.A.impl.F.type.208 +// CHECK:STDOUT: %tuple.type.as.A.impl.F => constants.%tuple.type.as.A.impl.F.4ce // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%W, constants.%Self.643) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%W, constants.%Self.a33) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%W -// CHECK:STDOUT: %A.type => constants.%A.type.d56 -// CHECK:STDOUT: %Self => constants.%Self.643 -// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.ebe -// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.110 -// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.c5d -// CHECK:STDOUT: %assoc0.loc6_39.2 => constants.%assoc0.c02 +// CHECK:STDOUT: %A.type => constants.%A.type.e49 +// CHECK:STDOUT: %Self => constants.%Self.a33 +// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.487 +// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.e2a +// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.edf +// CHECK:STDOUT: %assoc0.loc6_39.2 => constants.%assoc0.5cb // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @tuple.type.as.A.impl.F(constants.%V1, constants.%V2, constants.%W, constants.%U.ce4) { @@ -1433,30 +1433,30 @@ fn CallIndirect() { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc17_19 => constants.%require_complete.5a4 // CHECK:STDOUT: %require_complete.loc17_24 => constants.%require_complete.da0 -// CHECK:STDOUT: %tuple.type.as.A.impl.F.type => constants.%tuple.type.as.A.impl.F.type.ca2 -// CHECK:STDOUT: %tuple.type.as.A.impl.F => constants.%tuple.type.as.A.impl.F.201 -// CHECK:STDOUT: %tuple.type.as.A.impl.F.specific_fn.loc18_12.2 => constants.%tuple.type.as.A.impl.F.specific_fn.c18 +// CHECK:STDOUT: %tuple.type.as.A.impl.F.type => constants.%tuple.type.as.A.impl.F.type.208 +// CHECK:STDOUT: %tuple.type.as.A.impl.F => constants.%tuple.type.as.A.impl.F.4ce +// CHECK:STDOUT: %tuple.type.as.A.impl.F.specific_fn.loc18_12.2 => constants.%tuple.type.as.A.impl.F.specific_fn.e1b // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%W, constants.%A.facet.c04) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%W, constants.%A.facet.2a9) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%W -// CHECK:STDOUT: %A.type => constants.%A.type.d56 -// CHECK:STDOUT: %Self => constants.%A.facet.c04 -// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.a10 -// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.57b -// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.c5d -// CHECK:STDOUT: %assoc0.loc6_39.2 => constants.%assoc0.c02 +// CHECK:STDOUT: %A.type => constants.%A.type.e49 +// CHECK:STDOUT: %Self => constants.%A.facet.2a9 +// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.234 +// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.329 +// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.edf +// CHECK:STDOUT: %assoc0.loc6_39.2 => constants.%assoc0.5cb // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.F(constants.%W, constants.%A.facet.c04, constants.%U.ce4) { +// CHECK:STDOUT: specific @A.WithSelf.F(constants.%W, constants.%A.facet.2a9, constants.%U.ce4) { // CHECK:STDOUT: %U.loc6_9.1 => constants.%U.ce4 // CHECK:STDOUT: %pattern_type.loc6_19 => constants.%pattern_type.e4a // CHECK:STDOUT: %T => constants.%W -// CHECK:STDOUT: %A.type => constants.%A.type.d56 -// CHECK:STDOUT: %Self => constants.%A.facet.c04 -// CHECK:STDOUT: %tuple.type.loc6_38.1 => constants.%tuple.type.2a0 -// CHECK:STDOUT: %tuple => constants.%tuple.fd4 +// CHECK:STDOUT: %A.type => constants.%A.type.e49 +// CHECK:STDOUT: %Self => constants.%A.facet.2a9 +// CHECK:STDOUT: %tuple.type.loc6_38.1 => constants.%tuple.type.ec9 +// CHECK:STDOUT: %tuple => constants.%tuple.db8 // CHECK:STDOUT: %Self.as_type.loc6_38.1 => constants.%tuple.type.a5e // CHECK:STDOUT: %tuple.type.loc6_38.2 => constants.%tuple.type.897 // CHECK:STDOUT: %.loc6_38.1 => constants.%.f8e @@ -1467,140 +1467,140 @@ fn CallIndirect() { // CHECK:STDOUT: %T.loc5_14.1 => constants.%X // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %A.type => constants.%A.type.0f2 -// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.af7 +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self.loc5_23.2 => constants.%Self.0c0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @tuple.type.as.A.impl(constants.%Y1, constants.%Y2, constants.%X) { // CHECK:STDOUT: %V1.loc14_16.1 => constants.%Y1 // CHECK:STDOUT: %V2.loc14_27.1 => constants.%Y2 // CHECK:STDOUT: %W.loc14_37.1 => constants.%X -// CHECK:STDOUT: %tuple => constants.%tuple.e2e -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.0da -// CHECK:STDOUT: %A.type.loc14_61.1 => constants.%A.type.0f2 -// CHECK:STDOUT: %A.impl_witness.loc14_63.2 => constants.%A.impl_witness.6e5 +// CHECK:STDOUT: %tuple => constants.%tuple.334 +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.a7c +// CHECK:STDOUT: %A.type.loc14_61.1 => constants.%A.type.ef5 +// CHECK:STDOUT: %A.impl_witness.loc14_63.2 => constants.%A.impl_witness.755 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.ba2 -// CHECK:STDOUT: %tuple.type.as.A.impl.F.type => constants.%tuple.type.as.A.impl.F.type.075 -// CHECK:STDOUT: %tuple.type.as.A.impl.F => constants.%tuple.type.as.A.impl.F.133 +// CHECK:STDOUT: %require_complete => constants.%complete_type.740 +// CHECK:STDOUT: %tuple.type.as.A.impl.F.type => constants.%tuple.type.as.A.impl.F.type.d8e +// CHECK:STDOUT: %tuple.type.as.A.impl.F => constants.%tuple.type.as.A.impl.F.677 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%Self.643) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%Self.a33) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.0f2 -// CHECK:STDOUT: %Self => constants.%Self.643 -// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.4c9 -// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.deb -// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.99a -// CHECK:STDOUT: %assoc0.loc6_39.2 => constants.%assoc0.33c +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%Self.a33 +// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.c12 +// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.612 +// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.3ce +// CHECK:STDOUT: %assoc0.loc6_39.2 => constants.%assoc0.2c2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%A.facet.222) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%A.facet.d43) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.0f2 -// CHECK:STDOUT: %Self => constants.%A.facet.222 -// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.41e -// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.e02 -// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.99a -// CHECK:STDOUT: %assoc0.loc6_39.2 => constants.%assoc0.33c +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%A.facet.d43 +// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.4b7 +// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.6c3 +// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.3ce +// CHECK:STDOUT: %assoc0.loc6_39.2 => constants.%assoc0.2c2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @tuple.type.as.A.impl.F(constants.%Y1, constants.%Y2, constants.%X, constants.%Z) { // CHECK:STDOUT: %U.loc17_9.1 => constants.%Z -// CHECK:STDOUT: %pattern_type.loc17_19 => constants.%pattern_type.223 +// CHECK:STDOUT: %pattern_type.loc17_19 => constants.%pattern_type.f0a // CHECK:STDOUT: %W => constants.%X // CHECK:STDOUT: %V1 => constants.%Y1 // CHECK:STDOUT: %V2 => constants.%Y2 -// CHECK:STDOUT: %tuple.loc17_38 => constants.%tuple.e2e -// CHECK:STDOUT: %tuple.loc17_42 => constants.%tuple.5fc -// CHECK:STDOUT: %tuple.type.loc17_42.1 => constants.%tuple.type.0da -// CHECK:STDOUT: %tuple.type.loc17_42.2 => constants.%tuple.type.e84 -// CHECK:STDOUT: %.loc17_42.2 => constants.%.d08 -// CHECK:STDOUT: %pattern_type.loc17_42 => constants.%pattern_type.a16 +// CHECK:STDOUT: %tuple.loc17_38 => constants.%tuple.334 +// CHECK:STDOUT: %tuple.loc17_42 => constants.%tuple.b30 +// CHECK:STDOUT: %tuple.type.loc17_42.1 => constants.%tuple.type.a7c +// CHECK:STDOUT: %tuple.type.loc17_42.2 => constants.%tuple.type.df6 +// CHECK:STDOUT: %.loc17_42.2 => constants.%.ec0 +// CHECK:STDOUT: %pattern_type.loc17_42 => constants.%pattern_type.cc8 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc17_19 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc17_24 => constants.%complete_type.dc9 -// CHECK:STDOUT: %tuple.type.as.A.impl.F.type => constants.%tuple.type.as.A.impl.F.type.075 -// CHECK:STDOUT: %tuple.type.as.A.impl.F => constants.%tuple.type.as.A.impl.F.133 -// CHECK:STDOUT: %tuple.type.as.A.impl.F.specific_fn.loc18_12.2 => constants.%tuple.type.as.A.impl.F.specific_fn.35a +// CHECK:STDOUT: %require_complete.loc17_24 => constants.%complete_type.466 +// CHECK:STDOUT: %tuple.type.as.A.impl.F.type => constants.%tuple.type.as.A.impl.F.type.d8e +// CHECK:STDOUT: %tuple.type.as.A.impl.F => constants.%tuple.type.as.A.impl.F.677 +// CHECK:STDOUT: %tuple.type.as.A.impl.F.specific_fn.loc18_12.2 => constants.%tuple.type.as.A.impl.F.specific_fn.b53 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @CallGeneric(constants.%T.651) { -// CHECK:STDOUT: %T.loc27_17.1 => constants.%T.651 +// CHECK:STDOUT: specific @CallGeneric(constants.%T.0c6) { +// CHECK:STDOUT: %T.loc27_17.1 => constants.%T.0c6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%T.651) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%T.0c6) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.0f2 -// CHECK:STDOUT: %Self => constants.%T.651 -// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.24e -// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.2d3 -// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.99a -// CHECK:STDOUT: %assoc0.loc6_39.2 => constants.%assoc0.33c +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%T.0c6 +// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.5f2 +// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.923 +// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.3ce +// CHECK:STDOUT: %assoc0.loc6_39.2 => constants.%assoc0.2c2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%A.facet.8cc) { +// CHECK:STDOUT: specific @A.WithSelf(constants.%X, constants.%A.facet.210) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.0f2 -// CHECK:STDOUT: %Self => constants.%A.facet.8cc -// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.57d -// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.4a7 -// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.99a -// CHECK:STDOUT: %assoc0.loc6_39.2 => constants.%assoc0.33c +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%A.facet.210 +// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.b88 +// CHECK:STDOUT: %A.WithSelf.F => constants.%A.WithSelf.F.702 +// CHECK:STDOUT: %A.assoc_type => constants.%A.assoc_type.3ce +// CHECK:STDOUT: %assoc0.loc6_39.2 => constants.%assoc0.2c2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.F(constants.%X, constants.%A.facet.8cc, constants.%Z) { +// CHECK:STDOUT: specific @A.WithSelf.F(constants.%X, constants.%A.facet.210, constants.%Z) { // CHECK:STDOUT: %U.loc6_9.1 => constants.%Z -// CHECK:STDOUT: %pattern_type.loc6_19 => constants.%pattern_type.223 +// CHECK:STDOUT: %pattern_type.loc6_19 => constants.%pattern_type.f0a // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.0f2 -// CHECK:STDOUT: %Self => constants.%A.facet.8cc -// CHECK:STDOUT: %tuple.type.loc6_38.1 => constants.%tuple.type.d71 -// CHECK:STDOUT: %tuple => constants.%tuple.7fd +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%A.facet.210 +// CHECK:STDOUT: %tuple.type.loc6_38.1 => constants.%tuple.type.d63 +// CHECK:STDOUT: %tuple => constants.%tuple.4d5 // CHECK:STDOUT: %Self.as_type.loc6_38.1 => constants.%T.as_type -// CHECK:STDOUT: %tuple.type.loc6_38.2 => constants.%tuple.type.f66 -// CHECK:STDOUT: %.loc6_38.1 => constants.%.b6a -// CHECK:STDOUT: %pattern_type.loc6_38 => constants.%pattern_type.90c +// CHECK:STDOUT: %tuple.type.loc6_38.2 => constants.%tuple.type.5f8 +// CHECK:STDOUT: %.loc6_38.1 => constants.%.bce +// CHECK:STDOUT: %pattern_type.loc6_38 => constants.%pattern_type.bb6 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @CallGeneric(constants.%facet_value) { // CHECK:STDOUT: %T.loc27_17.1 => constants.%facet_value // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %T.as_type.loc28_4.2 => constants.%tuple.type.0da -// CHECK:STDOUT: %A.lookup_impl_witness => constants.%A.impl_witness.6e5 -// CHECK:STDOUT: %A.facet => constants.%A.facet.222 -// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.41e -// CHECK:STDOUT: %.loc28_4.3 => constants.%.dff -// CHECK:STDOUT: %impl.elem0.loc28_4.2 => constants.%tuple.type.as.A.impl.F.133 -// CHECK:STDOUT: %specific_impl_fn.loc28_4.2 => constants.%tuple.type.as.A.impl.F.specific_fn.35a -// CHECK:STDOUT: %tuple.type => constants.%tuple.type.e84 -// CHECK:STDOUT: %require_complete => constants.%complete_type.dc9 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.340963.7 -// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.069 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.7c9 -// CHECK:STDOUT: %.loc28_12.3 => constants.%.ea0 -// CHECK:STDOUT: %impl.elem0.loc28_12.2 => constants.%Destroy.Op.1dc86d.7 -// CHECK:STDOUT: %specific_impl_fn.loc28_12.2 => constants.%Destroy.Op.1dc86d.7 +// CHECK:STDOUT: %T.as_type.loc28_4.2 => constants.%tuple.type.a7c +// CHECK:STDOUT: %A.lookup_impl_witness => constants.%A.impl_witness.755 +// CHECK:STDOUT: %A.facet => constants.%A.facet.d43 +// CHECK:STDOUT: %A.WithSelf.F.type => constants.%A.WithSelf.F.type.4b7 +// CHECK:STDOUT: %.loc28_4.3 => constants.%.0d1 +// CHECK:STDOUT: %impl.elem0.loc28_4.2 => constants.%tuple.type.as.A.impl.F.677 +// CHECK:STDOUT: %specific_impl_fn.loc28_4.2 => constants.%tuple.type.as.A.impl.F.specific_fn.b53 +// CHECK:STDOUT: %tuple.type => constants.%tuple.type.df6 +// CHECK:STDOUT: %require_complete => constants.%complete_type.466 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.e20f1f.7 +// CHECK:STDOUT: %Destroy.facet => constants.%Destroy.facet.195 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.acf +// CHECK:STDOUT: %.loc28_12.3 => constants.%.cdc +// CHECK:STDOUT: %impl.elem0.loc28_12.2 => constants.%Destroy.Op.2dd605.7 +// CHECK:STDOUT: %specific_impl_fn.loc28_12.2 => constants.%Destroy.Op.2dd605.7 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @A.WithSelf.F(constants.%X, constants.%A.facet.222, constants.%Z) { +// CHECK:STDOUT: specific @A.WithSelf.F(constants.%X, constants.%A.facet.d43, constants.%Z) { // CHECK:STDOUT: %U.loc6_9.1 => constants.%Z -// CHECK:STDOUT: %pattern_type.loc6_19 => constants.%pattern_type.223 +// CHECK:STDOUT: %pattern_type.loc6_19 => constants.%pattern_type.f0a // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %A.type => constants.%A.type.0f2 -// CHECK:STDOUT: %Self => constants.%A.facet.222 -// CHECK:STDOUT: %tuple.type.loc6_38.1 => constants.%tuple.type.d71 -// CHECK:STDOUT: %tuple => constants.%tuple.fd1 -// CHECK:STDOUT: %Self.as_type.loc6_38.1 => constants.%tuple.type.0da -// CHECK:STDOUT: %tuple.type.loc6_38.2 => constants.%tuple.type.e84 -// CHECK:STDOUT: %.loc6_38.1 => constants.%.d08 -// CHECK:STDOUT: %pattern_type.loc6_38 => constants.%pattern_type.a16 +// CHECK:STDOUT: %A.type => constants.%A.type.ef5 +// CHECK:STDOUT: %Self => constants.%A.facet.d43 +// CHECK:STDOUT: %tuple.type.loc6_38.1 => constants.%tuple.type.d63 +// CHECK:STDOUT: %tuple => constants.%tuple.aac +// CHECK:STDOUT: %Self.as_type.loc6_38.1 => constants.%tuple.type.a7c +// CHECK:STDOUT: %tuple.type.loc6_38.2 => constants.%tuple.type.df6 +// CHECK:STDOUT: %.loc6_38.1 => constants.%.ec0 +// CHECK:STDOUT: %pattern_type.loc6_38 => constants.%pattern_type.cc8 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/generic_vs_params.carbon b/toolchain/check/testdata/interface/generic_vs_params.carbon index 79b1f59a5c71..cc457d515f3e 100644 --- a/toolchain/check/testdata/interface/generic_vs_params.carbon +++ b/toolchain/check/testdata/interface/generic_vs_params.carbon @@ -76,51 +76,51 @@ interface Bar[T:! type] {} // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %NotGenericNoParams.type: type = facet_type <@NotGenericNoParams> [concrete] -// CHECK:STDOUT: %Self.c40: %NotGenericNoParams.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %NotGenericButParams.type.5b4: type = generic_interface_type @NotGenericButParams [concrete] -// CHECK:STDOUT: %NotGenericButParams.generic: %NotGenericButParams.type.5b4 = struct_value () [concrete] -// CHECK:STDOUT: %NotGenericButParams.type.99c: type = facet_type <@NotGenericButParams> [concrete] -// CHECK:STDOUT: %Self.db5: %NotGenericButParams.type.99c = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.52c: %NotGenericNoParams.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %NotGenericButParams.type.aee: type = generic_interface_type @NotGenericButParams [concrete] +// CHECK:STDOUT: %NotGenericButParams.generic: %NotGenericButParams.type.aee = struct_value () [concrete] +// CHECK:STDOUT: %NotGenericButParams.type.25f: type = facet_type <@NotGenericButParams> [concrete] +// CHECK:STDOUT: %Self.e41: %NotGenericButParams.type.25f = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %GenericAndParams.type.749: type = generic_interface_type @GenericAndParams.loc6 [concrete] -// CHECK:STDOUT: %GenericAndParams.generic.7df: %GenericAndParams.type.749 = struct_value () [concrete] -// CHECK:STDOUT: %GenericAndParams.type.195: type = facet_type <@GenericAndParams.loc6, @GenericAndParams.loc6(%T)> [symbolic] -// CHECK:STDOUT: %Self.e53: %GenericAndParams.type.195 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %GenericAndParams.type.b2d: type = generic_interface_type @GenericAndParams.loc6 [concrete] +// CHECK:STDOUT: %GenericAndParams.generic.cbb: %GenericAndParams.type.b2d = struct_value () [concrete] +// CHECK:STDOUT: %GenericAndParams.type.de5: type = facet_type <@GenericAndParams.loc6, @GenericAndParams.loc6(%T)> [symbolic] +// CHECK:STDOUT: %Self.651: %GenericAndParams.type.de5 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.97c: type = class_type @C, @C(%T) [symbolic] -// CHECK:STDOUT: %GenericNoParams.type.8bc: type = facet_type <@GenericNoParams, @GenericNoParams(%T)> [symbolic] -// CHECK:STDOUT: %Self.953: %GenericNoParams.type.8bc = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %C.1f9: type = class_type @C, @C(%T) [symbolic] +// CHECK:STDOUT: %GenericNoParams.type.41a: type = facet_type <@GenericNoParams, @GenericNoParams(%T)> [symbolic] +// CHECK:STDOUT: %Self.be7: %GenericNoParams.type.41a = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %U: type = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %GenericAndParams.type.480: type = generic_interface_type @GenericAndParams.loc10, @C(%T) [symbolic] -// CHECK:STDOUT: %GenericAndParams.generic.47f: %GenericAndParams.type.480 = struct_value () [symbolic] -// CHECK:STDOUT: %GenericAndParams.type.613: type = facet_type <@GenericAndParams.loc10, @GenericAndParams.loc10(%T, %U)> [symbolic] -// CHECK:STDOUT: %Self.c55: %GenericAndParams.type.613 = symbolic_binding Self, 2 [symbolic] +// CHECK:STDOUT: %GenericAndParams.type.3a6: type = generic_interface_type @GenericAndParams.loc10, @C(%T) [symbolic] +// CHECK:STDOUT: %GenericAndParams.generic.83d: %GenericAndParams.type.3a6 = struct_value () [symbolic] +// CHECK:STDOUT: %GenericAndParams.type.af8: type = facet_type <@GenericAndParams.loc10, @GenericAndParams.loc10(%T, %U)> [symbolic] +// CHECK:STDOUT: %Self.528: %GenericAndParams.type.af8 = symbolic_binding Self, 2 [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %NotGenericNoParams.impl_witness: = impl_witness @X.as.NotGenericNoParams.impl.%NotGenericNoParams.impl_witness_table [concrete] // CHECK:STDOUT: %NotGenericNoParams.facet: %NotGenericNoParams.type = facet_value %X, (%NotGenericNoParams.impl_witness) [concrete] // CHECK:STDOUT: %NotGenericButParams.impl_witness: = impl_witness @X.as.NotGenericButParams.impl.%NotGenericButParams.impl_witness_table [concrete] -// CHECK:STDOUT: %NotGenericButParams.facet: %NotGenericButParams.type.99c = facet_value %X, (%NotGenericButParams.impl_witness) [concrete] -// CHECK:STDOUT: %GenericAndParams.type.131: type = facet_type <@GenericAndParams.loc6, @GenericAndParams.loc6(%X)> [concrete] -// CHECK:STDOUT: %GenericAndParams.impl_witness.c29: = impl_witness @X.as.GenericAndParams.impl.377.%GenericAndParams.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.ecd: %GenericAndParams.type.131 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %GenericAndParams.facet.30d: %GenericAndParams.type.131 = facet_value %X, (%GenericAndParams.impl_witness.c29) [concrete] -// CHECK:STDOUT: %C.029: type = class_type @C, @C(%X) [concrete] -// CHECK:STDOUT: %GenericNoParams.type.faf: type = facet_type <@GenericNoParams, @GenericNoParams(%X)> [concrete] -// CHECK:STDOUT: %GenericAndParams.type.7db: type = generic_interface_type @GenericAndParams.loc10, @C(%X) [concrete] -// CHECK:STDOUT: %GenericAndParams.generic.15a: %GenericAndParams.type.7db = struct_value () [concrete] +// CHECK:STDOUT: %NotGenericButParams.facet: %NotGenericButParams.type.25f = facet_value %X, (%NotGenericButParams.impl_witness) [concrete] +// CHECK:STDOUT: %GenericAndParams.type.0d2: type = facet_type <@GenericAndParams.loc6, @GenericAndParams.loc6(%X)> [concrete] +// CHECK:STDOUT: %GenericAndParams.impl_witness.194: = impl_witness @X.as.GenericAndParams.impl.c9e.%GenericAndParams.impl_witness_table [concrete] +// CHECK:STDOUT: %Self.15c: %GenericAndParams.type.0d2 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %GenericAndParams.facet.845: %GenericAndParams.type.0d2 = facet_value %X, (%GenericAndParams.impl_witness.194) [concrete] +// CHECK:STDOUT: %C.7b5: type = class_type @C, @C(%X) [concrete] +// CHECK:STDOUT: %GenericNoParams.type.ff6: type = facet_type <@GenericNoParams, @GenericNoParams(%X)> [concrete] +// CHECK:STDOUT: %GenericAndParams.type.7d5: type = generic_interface_type @GenericAndParams.loc10, @C(%X) [concrete] +// CHECK:STDOUT: %GenericAndParams.generic.13c: %GenericAndParams.type.7d5 = struct_value () [concrete] // CHECK:STDOUT: %GenericNoParams.impl_witness: = impl_witness @X.as.GenericNoParams.impl.%GenericNoParams.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.985: %GenericNoParams.type.faf = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %GenericNoParams.facet: %GenericNoParams.type.faf = facet_value %X, (%GenericNoParams.impl_witness) [concrete] -// CHECK:STDOUT: %GenericAndParams.type.325: type = facet_type <@GenericAndParams.loc10, @GenericAndParams.loc10(%X, %X)> [concrete] -// CHECK:STDOUT: %GenericAndParams.impl_witness.e99: = impl_witness @X.as.GenericAndParams.impl.340.%GenericAndParams.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.494: %GenericAndParams.type.325 = symbolic_binding Self, 2 [symbolic] -// CHECK:STDOUT: %GenericAndParams.facet.083: %GenericAndParams.type.325 = facet_value %X, (%GenericAndParams.impl_witness.e99) [concrete] +// CHECK:STDOUT: %Self.018: %GenericNoParams.type.ff6 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %GenericNoParams.facet: %GenericNoParams.type.ff6 = facet_value %X, (%GenericNoParams.impl_witness) [concrete] +// CHECK:STDOUT: %GenericAndParams.type.504: type = facet_type <@GenericAndParams.loc10, @GenericAndParams.loc10(%X, %X)> [concrete] +// CHECK:STDOUT: %GenericAndParams.impl_witness.d85: = impl_witness @X.as.GenericAndParams.impl.918.%GenericAndParams.impl_witness_table [concrete] +// CHECK:STDOUT: %Self.500: %GenericAndParams.type.504 = symbolic_binding Self, 2 [symbolic] +// CHECK:STDOUT: %GenericAndParams.facet.f27: %GenericAndParams.type.504 = facet_value %X, (%GenericAndParams.impl_witness.d85) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -132,8 +132,8 @@ interface Bar[T:! type] {} // CHECK:STDOUT: .X = %X.decl // CHECK:STDOUT: } // CHECK:STDOUT: %NotGenericNoParams.decl: type = interface_decl @NotGenericNoParams [concrete = constants.%NotGenericNoParams.type] {} {} -// CHECK:STDOUT: %NotGenericButParams.decl: %NotGenericButParams.type.5b4 = interface_decl @NotGenericButParams [concrete = constants.%NotGenericButParams.generic] {} {} -// CHECK:STDOUT: %GenericAndParams.decl: %GenericAndParams.type.749 = interface_decl @GenericAndParams.loc6 [concrete = constants.%GenericAndParams.generic.7df] { +// CHECK:STDOUT: %NotGenericButParams.decl: %NotGenericButParams.type.aee = interface_decl @NotGenericButParams [concrete = constants.%NotGenericButParams.generic] {} {} +// CHECK:STDOUT: %GenericAndParams.decl: %GenericAndParams.type.b2d = interface_decl @GenericAndParams.loc6 [concrete = constants.%GenericAndParams.generic.cbb] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6_32.1: type = splice_block %.loc6_32.2 [concrete = type] { @@ -158,37 +158,37 @@ interface Bar[T:! type] {} // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @X.as.NotGenericButParams.impl [concrete] {} { // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %NotGenericButParams.ref: %NotGenericButParams.type.5b4 = name_ref NotGenericButParams, file.%NotGenericButParams.decl [concrete = constants.%NotGenericButParams.generic] -// CHECK:STDOUT: %NotGenericButParams.type: type = facet_type <@NotGenericButParams> [concrete = constants.%NotGenericButParams.type.99c] +// CHECK:STDOUT: %NotGenericButParams.ref: %NotGenericButParams.type.aee = name_ref NotGenericButParams, file.%NotGenericButParams.decl [concrete = constants.%NotGenericButParams.generic] +// CHECK:STDOUT: %NotGenericButParams.type: type = facet_type <@NotGenericButParams> [concrete = constants.%NotGenericButParams.type.25f] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @X.as.GenericAndParams.impl.377 [concrete] {} { +// CHECK:STDOUT: impl_decl @X.as.GenericAndParams.impl.c9e [concrete] {} { // CHECK:STDOUT: %X.ref.loc16_6: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %GenericAndParams.ref: %GenericAndParams.type.749 = name_ref GenericAndParams, file.%GenericAndParams.decl [concrete = constants.%GenericAndParams.generic.7df] +// CHECK:STDOUT: %GenericAndParams.ref: %GenericAndParams.type.b2d = name_ref GenericAndParams, file.%GenericAndParams.decl [concrete = constants.%GenericAndParams.generic.cbb] // CHECK:STDOUT: %X.ref.loc16_28: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %GenericAndParams.type: type = facet_type <@GenericAndParams.loc6, @GenericAndParams.loc6(constants.%X)> [concrete = constants.%GenericAndParams.type.131] +// CHECK:STDOUT: %GenericAndParams.type: type = facet_type <@GenericAndParams.loc6, @GenericAndParams.loc6(constants.%X)> [concrete = constants.%GenericAndParams.type.0d2] // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @X.as.GenericNoParams.impl [concrete] {} { // CHECK:STDOUT: %X.ref.loc17_6: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %X.ref.loc17_13: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%X) [concrete = constants.%C.029] -// CHECK:STDOUT: %.loc17: type = specific_constant @C.%GenericNoParams.decl, @C(constants.%X) [concrete = constants.%GenericNoParams.type.faf] -// CHECK:STDOUT: %GenericNoParams.ref: type = name_ref GenericNoParams, %.loc17 [concrete = constants.%GenericNoParams.type.faf] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%X) [concrete = constants.%C.7b5] +// CHECK:STDOUT: %.loc17: type = specific_constant @C.%GenericNoParams.decl, @C(constants.%X) [concrete = constants.%GenericNoParams.type.ff6] +// CHECK:STDOUT: %GenericNoParams.ref: type = name_ref GenericNoParams, %.loc17 [concrete = constants.%GenericNoParams.type.ff6] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @X.as.GenericAndParams.impl.340 [concrete] {} { +// CHECK:STDOUT: impl_decl @X.as.GenericAndParams.impl.918 [concrete] {} { // CHECK:STDOUT: %X.ref.loc18_6: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %X.ref.loc18_13: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%X) [concrete = constants.%C.029] -// CHECK:STDOUT: %.loc18: %GenericAndParams.type.7db = specific_constant @C.%GenericAndParams.decl, @C(constants.%X) [concrete = constants.%GenericAndParams.generic.15a] -// CHECK:STDOUT: %GenericAndParams.ref: %GenericAndParams.type.7db = name_ref GenericAndParams, %.loc18 [concrete = constants.%GenericAndParams.generic.15a] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%X) [concrete = constants.%C.7b5] +// CHECK:STDOUT: %.loc18: %GenericAndParams.type.7d5 = specific_constant @C.%GenericAndParams.decl, @C(constants.%X) [concrete = constants.%GenericAndParams.generic.13c] +// CHECK:STDOUT: %GenericAndParams.ref: %GenericAndParams.type.7d5 = name_ref GenericAndParams, %.loc18 [concrete = constants.%GenericAndParams.generic.13c] // CHECK:STDOUT: %X.ref.loc18_33: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %GenericAndParams.type: type = facet_type <@GenericAndParams.loc10, @GenericAndParams.loc10(constants.%X, constants.%X)> [concrete = constants.%GenericAndParams.type.325] +// CHECK:STDOUT: %GenericAndParams.type: type = facet_type <@GenericAndParams.loc10, @GenericAndParams.loc10(constants.%X, constants.%X)> [concrete = constants.%GenericAndParams.type.504] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @NotGenericNoParams { -// CHECK:STDOUT: %Self: %NotGenericNoParams.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c40] +// CHECK:STDOUT: %Self: %NotGenericNoParams.type = symbolic_binding Self, 0 [symbolic = constants.%Self.52c] // CHECK:STDOUT: %NotGenericNoParams.WithSelf.decl = interface_with_self_decl @NotGenericNoParams [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -199,7 +199,7 @@ interface Bar[T:! type] {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @NotGenericButParams { -// CHECK:STDOUT: %Self: %NotGenericButParams.type.99c = symbolic_binding Self, 0 [symbolic = constants.%Self.db5] +// CHECK:STDOUT: %Self: %NotGenericButParams.type.25f = symbolic_binding Self, 0 [symbolic = constants.%Self.e41] // CHECK:STDOUT: %NotGenericButParams.WithSelf.decl = interface_with_self_decl @NotGenericButParams [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -213,11 +213,11 @@ interface Bar[T:! type] {} // CHECK:STDOUT: %T.loc6_29.1: type = symbolic_binding T, 0 [symbolic = %T.loc6_29.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %GenericAndParams.type: type = facet_type <@GenericAndParams.loc6, @GenericAndParams.loc6(%T.loc6_29.1)> [symbolic = %GenericAndParams.type (constants.%GenericAndParams.type.195)] -// CHECK:STDOUT: %Self.loc6_38.2: @GenericAndParams.loc6.%GenericAndParams.type (%GenericAndParams.type.195) = symbolic_binding Self, 1 [symbolic = %Self.loc6_38.2 (constants.%Self.e53)] +// CHECK:STDOUT: %GenericAndParams.type: type = facet_type <@GenericAndParams.loc6, @GenericAndParams.loc6(%T.loc6_29.1)> [symbolic = %GenericAndParams.type (constants.%GenericAndParams.type.de5)] +// CHECK:STDOUT: %Self.loc6_38.2: @GenericAndParams.loc6.%GenericAndParams.type (%GenericAndParams.type.de5) = symbolic_binding Self, 1 [symbolic = %Self.loc6_38.2 (constants.%Self.651)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc6_38.1: @GenericAndParams.loc6.%GenericAndParams.type (%GenericAndParams.type.195) = symbolic_binding Self, 1 [symbolic = %Self.loc6_38.2 (constants.%Self.e53)] +// CHECK:STDOUT: %Self.loc6_38.1: @GenericAndParams.loc6.%GenericAndParams.type (%GenericAndParams.type.de5) = symbolic_binding Self, 1 [symbolic = %Self.loc6_38.2 (constants.%Self.651)] // CHECK:STDOUT: %GenericAndParams.WithSelf.decl = interface_with_self_decl @GenericAndParams.loc6 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -231,11 +231,11 @@ interface Bar[T:! type] {} // CHECK:STDOUT: generic interface @GenericNoParams(@C.%T.loc8_10.2: type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %GenericNoParams.type: type = facet_type <@GenericNoParams, @GenericNoParams(%T)> [symbolic = %GenericNoParams.type (constants.%GenericNoParams.type.8bc)] -// CHECK:STDOUT: %Self.loc9_29.2: @GenericNoParams.%GenericNoParams.type (%GenericNoParams.type.8bc) = symbolic_binding Self, 1 [symbolic = %Self.loc9_29.2 (constants.%Self.953)] +// CHECK:STDOUT: %GenericNoParams.type: type = facet_type <@GenericNoParams, @GenericNoParams(%T)> [symbolic = %GenericNoParams.type (constants.%GenericNoParams.type.41a)] +// CHECK:STDOUT: %Self.loc9_29.2: @GenericNoParams.%GenericNoParams.type (%GenericNoParams.type.41a) = symbolic_binding Self, 1 [symbolic = %Self.loc9_29.2 (constants.%Self.be7)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc9_29.1: @GenericNoParams.%GenericNoParams.type (%GenericNoParams.type.8bc) = symbolic_binding Self, 1 [symbolic = %Self.loc9_29.2 (constants.%Self.953)] +// CHECK:STDOUT: %Self.loc9_29.1: @GenericNoParams.%GenericNoParams.type (%GenericNoParams.type.41a) = symbolic_binding Self, 1 [symbolic = %Self.loc9_29.2 (constants.%Self.be7)] // CHECK:STDOUT: %GenericNoParams.WithSelf.decl = interface_with_self_decl @GenericNoParams [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -251,11 +251,11 @@ interface Bar[T:! type] {} // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %GenericAndParams.type: type = facet_type <@GenericAndParams.loc10, @GenericAndParams.loc10(%T, %U.loc10_31.1)> [symbolic = %GenericAndParams.type (constants.%GenericAndParams.type.613)] -// CHECK:STDOUT: %Self.loc10_40.2: @GenericAndParams.loc10.%GenericAndParams.type (%GenericAndParams.type.613) = symbolic_binding Self, 2 [symbolic = %Self.loc10_40.2 (constants.%Self.c55)] +// CHECK:STDOUT: %GenericAndParams.type: type = facet_type <@GenericAndParams.loc10, @GenericAndParams.loc10(%T, %U.loc10_31.1)> [symbolic = %GenericAndParams.type (constants.%GenericAndParams.type.af8)] +// CHECK:STDOUT: %Self.loc10_40.2: @GenericAndParams.loc10.%GenericAndParams.type (%GenericAndParams.type.af8) = symbolic_binding Self, 2 [symbolic = %Self.loc10_40.2 (constants.%Self.528)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc10_40.1: @GenericAndParams.loc10.%GenericAndParams.type (%GenericAndParams.type.613) = symbolic_binding Self, 2 [symbolic = %Self.loc10_40.2 (constants.%Self.c55)] +// CHECK:STDOUT: %Self.loc10_40.1: @GenericAndParams.loc10.%GenericAndParams.type (%GenericAndParams.type.af8) = symbolic_binding Self, 2 [symbolic = %Self.loc10_40.2 (constants.%Self.528)] // CHECK:STDOUT: %GenericAndParams.WithSelf.decl = interface_with_self_decl @GenericAndParams.loc10 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -284,9 +284,9 @@ interface Bar[T:! type] {} // CHECK:STDOUT: witness = %NotGenericButParams.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @X.as.GenericAndParams.impl.377: %X.ref.loc16_6 as %GenericAndParams.type { -// CHECK:STDOUT: %GenericAndParams.impl_witness_table = impl_witness_table (), @X.as.GenericAndParams.impl.377 [concrete] -// CHECK:STDOUT: %GenericAndParams.impl_witness: = impl_witness %GenericAndParams.impl_witness_table [concrete = constants.%GenericAndParams.impl_witness.c29] +// CHECK:STDOUT: impl @X.as.GenericAndParams.impl.c9e: %X.ref.loc16_6 as %GenericAndParams.type { +// CHECK:STDOUT: %GenericAndParams.impl_witness_table = impl_witness_table (), @X.as.GenericAndParams.impl.c9e [concrete] +// CHECK:STDOUT: %GenericAndParams.impl_witness: = impl_witness %GenericAndParams.impl_witness_table [concrete = constants.%GenericAndParams.impl_witness.194] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %GenericAndParams.type @@ -302,9 +302,9 @@ interface Bar[T:! type] {} // CHECK:STDOUT: witness = %GenericNoParams.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @X.as.GenericAndParams.impl.340: %X.ref.loc18_6 as %GenericAndParams.type { -// CHECK:STDOUT: %GenericAndParams.impl_witness_table = impl_witness_table (), @X.as.GenericAndParams.impl.340 [concrete] -// CHECK:STDOUT: %GenericAndParams.impl_witness: = impl_witness %GenericAndParams.impl_witness_table [concrete = constants.%GenericAndParams.impl_witness.e99] +// CHECK:STDOUT: impl @X.as.GenericAndParams.impl.918: %X.ref.loc18_6 as %GenericAndParams.type { +// CHECK:STDOUT: %GenericAndParams.impl_witness_table = impl_witness_table (), @X.as.GenericAndParams.impl.918 [concrete] +// CHECK:STDOUT: %GenericAndParams.impl_witness: = impl_witness %GenericAndParams.impl_witness_table [concrete = constants.%GenericAndParams.impl_witness.d85] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: extend %GenericAndParams.type @@ -315,13 +315,13 @@ interface Bar[T:! type] {} // CHECK:STDOUT: %T.loc8_10.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_10.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %GenericNoParams.type: type = facet_type <@GenericNoParams, @GenericNoParams(%T.loc8_10.1)> [symbolic = %GenericNoParams.type (constants.%GenericNoParams.type.8bc)] -// CHECK:STDOUT: %GenericAndParams.type: type = generic_interface_type @GenericAndParams.loc10, @C(%T.loc8_10.1) [symbolic = %GenericAndParams.type (constants.%GenericAndParams.type.480)] -// CHECK:STDOUT: %GenericAndParams.generic: @C.%GenericAndParams.type (%GenericAndParams.type.480) = struct_value () [symbolic = %GenericAndParams.generic (constants.%GenericAndParams.generic.47f)] +// CHECK:STDOUT: %GenericNoParams.type: type = facet_type <@GenericNoParams, @GenericNoParams(%T.loc8_10.1)> [symbolic = %GenericNoParams.type (constants.%GenericNoParams.type.41a)] +// CHECK:STDOUT: %GenericAndParams.type: type = generic_interface_type @GenericAndParams.loc10, @C(%T.loc8_10.1) [symbolic = %GenericAndParams.type (constants.%GenericAndParams.type.3a6)] +// CHECK:STDOUT: %GenericAndParams.generic: @C.%GenericAndParams.type (%GenericAndParams.type.3a6) = struct_value () [symbolic = %GenericAndParams.generic (constants.%GenericAndParams.generic.83d)] // CHECK:STDOUT: // CHECK:STDOUT: class { -// CHECK:STDOUT: %GenericNoParams.decl: type = interface_decl @GenericNoParams [symbolic = @C.%GenericNoParams.type (constants.%GenericNoParams.type.8bc)] {} {} -// CHECK:STDOUT: %GenericAndParams.decl: @C.%GenericAndParams.type (%GenericAndParams.type.480) = interface_decl @GenericAndParams.loc10 [symbolic = @C.%GenericAndParams.generic (constants.%GenericAndParams.generic.47f)] { +// CHECK:STDOUT: %GenericNoParams.decl: type = interface_decl @GenericNoParams [symbolic = @C.%GenericNoParams.type (constants.%GenericNoParams.type.41a)] {} {} +// CHECK:STDOUT: %GenericAndParams.decl: @C.%GenericAndParams.type (%GenericAndParams.type.3a6) = interface_decl @GenericAndParams.loc10 [symbolic = @C.%GenericAndParams.generic (constants.%GenericAndParams.generic.83d)] { // CHECK:STDOUT: %U.patt: %pattern_type = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc10_34.1: type = splice_block %.loc10_34.2 [concrete = type] { @@ -334,7 +334,7 @@ interface Bar[T:! type] {} // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.97c +// CHECK:STDOUT: .Self = constants.%C.1f9 // CHECK:STDOUT: .GenericNoParams = %GenericNoParams.decl // CHECK:STDOUT: .GenericAndParams = %GenericAndParams.decl // CHECK:STDOUT: } @@ -348,11 +348,11 @@ interface Bar[T:! type] {} // CHECK:STDOUT: .Self = constants.%X // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NotGenericNoParams.WithSelf(constants.%Self.c40) { +// CHECK:STDOUT: specific @NotGenericNoParams.WithSelf(constants.%Self.52c) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @NotGenericButParams.WithSelf(constants.%Self.db5) { +// CHECK:STDOUT: specific @NotGenericButParams.WithSelf(constants.%Self.e41) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -360,7 +360,7 @@ interface Bar[T:! type] {} // CHECK:STDOUT: %T.loc6_29.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @GenericAndParams.WithSelf.loc6(constants.%T, constants.%Self.e53) {} +// CHECK:STDOUT: specific @GenericAndParams.WithSelf.loc6(constants.%T, constants.%Self.651) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @C(constants.%T) { // CHECK:STDOUT: %T.loc8_10.1 => constants.%T @@ -368,13 +368,13 @@ interface Bar[T:! type] {} // CHECK:STDOUT: // CHECK:STDOUT: specific @GenericNoParams(constants.%T) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @GenericNoParams.WithSelf(constants.%T, constants.%Self.953) {} +// CHECK:STDOUT: specific @GenericNoParams.WithSelf(constants.%T, constants.%Self.be7) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @GenericAndParams.loc10(constants.%T, constants.%U) { // CHECK:STDOUT: %U.loc10_31.1 => constants.%U // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @GenericAndParams.WithSelf.loc10(constants.%T, constants.%U, constants.%Self.c55) {} +// CHECK:STDOUT: specific @GenericAndParams.WithSelf.loc10(constants.%T, constants.%U, constants.%Self.528) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @NotGenericNoParams.WithSelf(constants.%NotGenericNoParams.facet) { // CHECK:STDOUT: !definition: @@ -388,15 +388,15 @@ interface Bar[T:! type] {} // CHECK:STDOUT: %T.loc6_29.1 => constants.%X // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %GenericAndParams.type => constants.%GenericAndParams.type.131 -// CHECK:STDOUT: %Self.loc6_38.2 => constants.%Self.ecd +// CHECK:STDOUT: %GenericAndParams.type => constants.%GenericAndParams.type.0d2 +// CHECK:STDOUT: %Self.loc6_38.2 => constants.%Self.15c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @GenericAndParams.WithSelf.loc6(constants.%X, constants.%Self.e53) { +// CHECK:STDOUT: specific @GenericAndParams.WithSelf.loc6(constants.%X, constants.%Self.651) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @GenericAndParams.WithSelf.loc6(constants.%X, constants.%GenericAndParams.facet.30d) { +// CHECK:STDOUT: specific @GenericAndParams.WithSelf.loc6(constants.%X, constants.%GenericAndParams.facet.845) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -404,19 +404,19 @@ interface Bar[T:! type] {} // CHECK:STDOUT: %T.loc8_10.1 => constants.%X // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %GenericNoParams.type => constants.%GenericNoParams.type.faf -// CHECK:STDOUT: %GenericAndParams.type => constants.%GenericAndParams.type.7db -// CHECK:STDOUT: %GenericAndParams.generic => constants.%GenericAndParams.generic.15a +// CHECK:STDOUT: %GenericNoParams.type => constants.%GenericNoParams.type.ff6 +// CHECK:STDOUT: %GenericAndParams.type => constants.%GenericAndParams.type.7d5 +// CHECK:STDOUT: %GenericAndParams.generic => constants.%GenericAndParams.generic.13c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @GenericNoParams(constants.%X) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %GenericNoParams.type => constants.%GenericNoParams.type.faf -// CHECK:STDOUT: %Self.loc9_29.2 => constants.%Self.985 +// CHECK:STDOUT: %GenericNoParams.type => constants.%GenericNoParams.type.ff6 +// CHECK:STDOUT: %Self.loc9_29.2 => constants.%Self.018 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @GenericNoParams.WithSelf(constants.%X, constants.%Self.953) { +// CHECK:STDOUT: specific @GenericNoParams.WithSelf(constants.%X, constants.%Self.be7) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -429,36 +429,36 @@ interface Bar[T:! type] {} // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %GenericAndParams.type => constants.%GenericAndParams.type.325 -// CHECK:STDOUT: %Self.loc10_40.2 => constants.%Self.494 +// CHECK:STDOUT: %GenericAndParams.type => constants.%GenericAndParams.type.504 +// CHECK:STDOUT: %Self.loc10_40.2 => constants.%Self.500 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @GenericAndParams.WithSelf.loc10(constants.%X, constants.%X, constants.%Self.c55) { +// CHECK:STDOUT: specific @GenericAndParams.WithSelf.loc10(constants.%X, constants.%X, constants.%Self.528) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @GenericAndParams.WithSelf.loc10(constants.%X, constants.%X, constants.%GenericAndParams.facet.083) { +// CHECK:STDOUT: specific @GenericAndParams.WithSelf.loc10(constants.%X, constants.%X, constants.%GenericAndParams.facet.f27) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_non_generic_implicit_params.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %A.type.573: type = generic_interface_type @A [concrete] -// CHECK:STDOUT: %A.generic: %A.type.573 = struct_value () [concrete] -// CHECK:STDOUT: %A.type.000: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self: %A.type.000 = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %A.type.0af: type = generic_interface_type @A [concrete] +// CHECK:STDOUT: %A.generic: %A.type.0af = struct_value () [concrete] +// CHECK:STDOUT: %A.type.026: type = facet_type <@A> [concrete] +// CHECK:STDOUT: %Self: %A.type.026 = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .A = %A.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %A.decl: %A.type.573 = interface_decl @A [concrete = constants.%A.generic] {} {} +// CHECK:STDOUT: %A.decl: %A.type.0af = interface_decl @A [concrete = constants.%A.generic] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type.000 = symbolic_binding Self, 0 [symbolic = constants.%Self] +// CHECK:STDOUT: %Self: %A.type.026 = symbolic_binding Self, 0 [symbolic = constants.%Self] // CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -473,21 +473,21 @@ interface Bar[T:! type] {} // CHECK:STDOUT: --- fail_non_generic_params.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %A.type.70d: type = generic_interface_type @A [concrete] -// CHECK:STDOUT: %A.generic: %A.type.70d = struct_value () [concrete] -// CHECK:STDOUT: %A.type.a00: type = facet_type <@A> [concrete] -// CHECK:STDOUT: %Self: %A.type.a00 = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %A.type.0af: type = generic_interface_type @A [concrete] +// CHECK:STDOUT: %A.generic: %A.type.0af = struct_value () [concrete] +// CHECK:STDOUT: %A.type.026: type = facet_type <@A> [concrete] +// CHECK:STDOUT: %Self: %A.type.026 = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .A = %A.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %A.decl: %A.type.70d = interface_decl @A [concrete = constants.%A.generic] {} {} +// CHECK:STDOUT: %A.decl: %A.type.0af = interface_decl @A [concrete = constants.%A.generic] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @A { -// CHECK:STDOUT: %Self: %A.type.a00 = symbolic_binding Self, 0 [symbolic = constants.%Self] +// CHECK:STDOUT: %Self: %A.type.026 = symbolic_binding Self, 0 [symbolic = constants.%Self] // CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -502,21 +502,21 @@ interface Bar[T:! type] {} // CHECK:STDOUT: --- fail_implicit_params_only_empty.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %Bar.type.cdb: type = generic_interface_type @Bar [concrete] -// CHECK:STDOUT: %Bar.generic: %Bar.type.cdb = struct_value () [concrete] -// CHECK:STDOUT: %Bar.type.81c: type = facet_type <@Bar> [concrete] -// CHECK:STDOUT: %Self: %Bar.type.81c = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Bar.type.d3b: type = generic_interface_type @Bar [concrete] +// CHECK:STDOUT: %Bar.generic: %Bar.type.d3b = struct_value () [concrete] +// CHECK:STDOUT: %Bar.type.1c8: type = facet_type <@Bar> [concrete] +// CHECK:STDOUT: %Self: %Bar.type.1c8 = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .Bar = %Bar.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %Bar.decl: %Bar.type.cdb = interface_decl @Bar [concrete = constants.%Bar.generic] {} {} +// CHECK:STDOUT: %Bar.decl: %Bar.type.d3b = interface_decl @Bar [concrete = constants.%Bar.generic] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Bar { -// CHECK:STDOUT: %Self: %Bar.type.81c = symbolic_binding Self, 0 [symbolic = constants.%Self] +// CHECK:STDOUT: %Self: %Bar.type.1c8 = symbolic_binding Self, 0 [symbolic = constants.%Self] // CHECK:STDOUT: %Bar.WithSelf.decl = interface_with_self_decl @Bar [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -535,17 +535,17 @@ interface Bar[T:! type] {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Bar.type.93a: type = generic_interface_type @Bar [concrete] -// CHECK:STDOUT: %Bar.generic: %Bar.type.93a = struct_value () [concrete] -// CHECK:STDOUT: %Bar.type.ea0: type = facet_type <@Bar, @Bar(%T)> [symbolic] -// CHECK:STDOUT: %Self: %Bar.type.ea0 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Bar.type.d3b: type = generic_interface_type @Bar [concrete] +// CHECK:STDOUT: %Bar.generic: %Bar.type.d3b = struct_value () [concrete] +// CHECK:STDOUT: %Bar.type.a09: type = facet_type <@Bar, @Bar(%T)> [symbolic] +// CHECK:STDOUT: %Self: %Bar.type.a09 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .Bar = %Bar.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %Bar.decl: %Bar.type.93a = interface_decl @Bar [concrete = constants.%Bar.generic] { +// CHECK:STDOUT: %Bar.decl: %Bar.type.d3b = interface_decl @Bar [concrete = constants.%Bar.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8_19.1: type = splice_block %.loc8_19.2 [concrete = type] { @@ -560,11 +560,11 @@ interface Bar[T:! type] {} // CHECK:STDOUT: %T.loc8_16.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_16.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Bar.type: type = facet_type <@Bar, @Bar(%T.loc8_16.1)> [symbolic = %Bar.type (constants.%Bar.type.ea0)] -// CHECK:STDOUT: %Self.loc8_25.2: @Bar.%Bar.type (%Bar.type.ea0) = symbolic_binding Self, 1 [symbolic = %Self.loc8_25.2 (constants.%Self)] +// CHECK:STDOUT: %Bar.type: type = facet_type <@Bar, @Bar(%T.loc8_16.1)> [symbolic = %Bar.type (constants.%Bar.type.a09)] +// CHECK:STDOUT: %Self.loc8_25.2: @Bar.%Bar.type (%Bar.type.a09) = symbolic_binding Self, 1 [symbolic = %Self.loc8_25.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc8_25.1: @Bar.%Bar.type (%Bar.type.ea0) = symbolic_binding Self, 1 [symbolic = %Self.loc8_25.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc8_25.1: @Bar.%Bar.type (%Bar.type.a09) = symbolic_binding Self, 1 [symbolic = %Self.loc8_25.2 (constants.%Self)] // CHECK:STDOUT: %Bar.WithSelf.decl = interface_with_self_decl @Bar [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: diff --git a/toolchain/check/testdata/interface/import.carbon b/toolchain/check/testdata/interface/import.carbon index 11d700ac736d..b305a8104c99 100644 --- a/toolchain/check/testdata/interface/import.carbon +++ b/toolchain/check/testdata/interface/import.carbon @@ -56,32 +56,32 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Empty.type: type = facet_type <@Empty> [concrete] -// CHECK:STDOUT: %Self.be5: %Empty.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.2f3: %Empty.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Basic.type: type = facet_type <@Basic> [concrete] -// CHECK:STDOUT: %Self.a88: %Basic.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.eb3: %Basic.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Basic.assoc_type: type = assoc_entity_type @Basic [concrete] -// CHECK:STDOUT: %assoc0.1ec: %Basic.assoc_type = assoc_entity element0, @Basic.WithSelf.%T [concrete] -// CHECK:STDOUT: %Basic.WithSelf.F.type: type = fn_type @Basic.WithSelf.F, @Basic.WithSelf(%Self.a88) [symbolic] +// CHECK:STDOUT: %assoc0.f6c: %Basic.assoc_type = assoc_entity element0, @Basic.WithSelf.%T [concrete] +// CHECK:STDOUT: %Basic.WithSelf.F.type: type = fn_type @Basic.WithSelf.F, @Basic.WithSelf(%Self.eb3) [symbolic] // CHECK:STDOUT: %Basic.WithSelf.F: %Basic.WithSelf.F.type = struct_value () [symbolic] -// CHECK:STDOUT: %assoc1.eed: %Basic.assoc_type = assoc_entity element1, @Basic.WithSelf.%Basic.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc1.8d0: %Basic.assoc_type = assoc_entity element1, @Basic.WithSelf.%Basic.WithSelf.F.decl [concrete] // CHECK:STDOUT: %ForwardDeclared.type: type = facet_type <@ForwardDeclared> [concrete] -// CHECK:STDOUT: %Self.cf4: %ForwardDeclared.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.c9a: %ForwardDeclared.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %ForwardDeclared.assoc_type: type = assoc_entity_type @ForwardDeclared [concrete] -// CHECK:STDOUT: %assoc0.ebe: %ForwardDeclared.assoc_type = assoc_entity element0, @ForwardDeclared.WithSelf.%T [concrete] -// CHECK:STDOUT: %ForwardDeclared.WithSelf.F.type: type = fn_type @ForwardDeclared.WithSelf.F, @ForwardDeclared.WithSelf(%Self.cf4) [symbolic] +// CHECK:STDOUT: %assoc0.88b: %ForwardDeclared.assoc_type = assoc_entity element0, @ForwardDeclared.WithSelf.%T [concrete] +// CHECK:STDOUT: %ForwardDeclared.WithSelf.F.type: type = fn_type @ForwardDeclared.WithSelf.F, @ForwardDeclared.WithSelf(%Self.c9a) [symbolic] // CHECK:STDOUT: %ForwardDeclared.WithSelf.F: %ForwardDeclared.WithSelf.F.type = struct_value () [symbolic] -// CHECK:STDOUT: %assoc1.c88: %ForwardDeclared.assoc_type = assoc_entity element1, @ForwardDeclared.WithSelf.%ForwardDeclared.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc1.c90: %ForwardDeclared.assoc_type = assoc_entity element1, @ForwardDeclared.WithSelf.%ForwardDeclared.WithSelf.F.decl [concrete] // CHECK:STDOUT: %struct_type.f: type = struct_type {.f: %ForwardDeclared.type} [concrete] -// CHECK:STDOUT: %pattern_type.ff2: type = pattern_type %struct_type.f [concrete] +// CHECK:STDOUT: %pattern_type.748: type = pattern_type %struct_type.f [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.e73: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%struct_type.f) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.aae: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%struct_type.f) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.1a4: %T.as.DefaultOrUnformed.impl.Op.type.aae = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %struct_type.f, (%DefaultOrUnformed.impl_witness.e73) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.1a4, @T.as.DefaultOrUnformed.impl.Op(%struct_type.f) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.a97: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%struct_type.f) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.f61: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%struct_type.f) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.b8e: %T.as.DefaultOrUnformed.impl.Op.type.f61 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %struct_type.f, (%DefaultOrUnformed.impl_witness.a97) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.b8e, @T.as.DefaultOrUnformed.impl.Op(%struct_type.f) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -91,8 +91,8 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -108,8 +108,8 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: %Basic.decl: type = interface_decl @Basic [concrete = constants.%Basic.type] {} {} // CHECK:STDOUT: %ForwardDeclared.decl: type = interface_decl @ForwardDeclared [concrete = constants.%ForwardDeclared.type] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %f_ref.patt: %pattern_type.ff2 = ref_binding_pattern f_ref [concrete] -// CHECK:STDOUT: %f_ref.var_patt: %pattern_type.ff2 = var_pattern %f_ref.patt [concrete] +// CHECK:STDOUT: %f_ref.patt: %pattern_type.748 = ref_binding_pattern f_ref [concrete] +// CHECK:STDOUT: %f_ref.var_patt: %pattern_type.748 = var_pattern %f_ref.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %f_ref.var: ref %struct_type.f = var %f_ref.var_patt [concrete] // CHECK:STDOUT: %.loc20: type = splice_block %struct_type.f [concrete = constants.%struct_type.f] { @@ -120,7 +120,7 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Empty { -// CHECK:STDOUT: %Self: %Empty.type = symbolic_binding Self, 0 [symbolic = constants.%Self.be5] +// CHECK:STDOUT: %Self: %Empty.type = symbolic_binding Self, 0 [symbolic = constants.%Self.2f3] // CHECK:STDOUT: %Empty.WithSelf.decl = interface_with_self_decl @Empty [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -131,15 +131,15 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Basic { -// CHECK:STDOUT: %Self: %Basic.type = symbolic_binding Self, 0 [symbolic = constants.%Self.a88] +// CHECK:STDOUT: %Self: %Basic.type = symbolic_binding Self, 0 [symbolic = constants.%Self.eb3] // CHECK:STDOUT: %Basic.WithSelf.decl = interface_with_self_decl @Basic [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %T: type = assoc_const_decl @T.loc8 [concrete] { -// CHECK:STDOUT: %assoc0: %Basic.assoc_type = assoc_entity element0, @Basic.WithSelf.%T [concrete = constants.%assoc0.1ec] +// CHECK:STDOUT: %assoc0: %Basic.assoc_type = assoc_entity element0, @Basic.WithSelf.%T [concrete = constants.%assoc0.f6c] // CHECK:STDOUT: } // CHECK:STDOUT: %Basic.WithSelf.F.decl: @Basic.WithSelf.%Basic.WithSelf.F.type (%Basic.WithSelf.F.type) = fn_decl @Basic.WithSelf.F [symbolic = @Basic.WithSelf.%Basic.WithSelf.F (constants.%Basic.WithSelf.F)] {} {} -// CHECK:STDOUT: %assoc1: %Basic.assoc_type = assoc_entity element1, %Basic.WithSelf.F.decl [concrete = constants.%assoc1.eed] +// CHECK:STDOUT: %assoc1: %Basic.assoc_type = assoc_entity element1, %Basic.WithSelf.F.decl [concrete = constants.%assoc1.8d0] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -151,15 +151,15 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @ForwardDeclared { -// CHECK:STDOUT: %Self: %ForwardDeclared.type = symbolic_binding Self, 0 [symbolic = constants.%Self.cf4] +// CHECK:STDOUT: %Self: %ForwardDeclared.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c9a] // CHECK:STDOUT: %ForwardDeclared.WithSelf.decl = interface_with_self_decl @ForwardDeclared [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %T: type = assoc_const_decl @T.loc16 [concrete] { -// CHECK:STDOUT: %assoc0: %ForwardDeclared.assoc_type = assoc_entity element0, @ForwardDeclared.WithSelf.%T [concrete = constants.%assoc0.ebe] +// CHECK:STDOUT: %assoc0: %ForwardDeclared.assoc_type = assoc_entity element0, @ForwardDeclared.WithSelf.%T [concrete = constants.%assoc0.88b] // CHECK:STDOUT: } // CHECK:STDOUT: %ForwardDeclared.WithSelf.F.decl: @ForwardDeclared.WithSelf.%ForwardDeclared.WithSelf.F.type (%ForwardDeclared.WithSelf.F.type) = fn_decl @ForwardDeclared.WithSelf.F [symbolic = @ForwardDeclared.WithSelf.%ForwardDeclared.WithSelf.F (constants.%ForwardDeclared.WithSelf.F)] {} {} -// CHECK:STDOUT: %assoc1: %ForwardDeclared.assoc_type = assoc_entity element1, %ForwardDeclared.WithSelf.F.decl [concrete = constants.%assoc1.c88] +// CHECK:STDOUT: %assoc1: %ForwardDeclared.assoc_type = assoc_entity element1, %ForwardDeclared.WithSelf.F.decl [concrete = constants.%assoc1.c90] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -180,77 +180,77 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%struct_type.f, (constants.%DefaultOrUnformed.impl_witness.e73) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%struct_type.f, (constants.%DefaultOrUnformed.impl_witness.a97) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc20_33.1: %DefaultOrUnformed.type = converted constants.%struct_type.f, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc20_33.1 [concrete = constants.%struct_type.f] // CHECK:STDOUT: %.loc20_33.2: type = converted %.loc20_33.1, %as_type [concrete = constants.%struct_type.f] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.1a4, @T.as.DefaultOrUnformed.impl.Op(constants.%struct_type.f) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.b8e, @T.as.DefaultOrUnformed.impl.Op(constants.%struct_type.f) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %struct_type.f = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%f_ref.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.be5) {} +// CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.2f3) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Basic.WithSelf(constants.%Self.a88) {} +// CHECK:STDOUT: specific @Basic.WithSelf(constants.%Self.eb3) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Basic.WithSelf.F(constants.%Self.a88) {} +// CHECK:STDOUT: specific @Basic.WithSelf.F(constants.%Self.eb3) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @ForwardDeclared.WithSelf(constants.%Self.cf4) { +// CHECK:STDOUT: specific @ForwardDeclared.WithSelf(constants.%Self.c9a) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.cf4 +// CHECK:STDOUT: %Self => constants.%Self.c9a // CHECK:STDOUT: %ForwardDeclared.WithSelf.F.type => constants.%ForwardDeclared.WithSelf.F.type // CHECK:STDOUT: %ForwardDeclared.WithSelf.F => constants.%ForwardDeclared.WithSelf.F // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ForwardDeclared.WithSelf.F(constants.%Self.cf4) {} +// CHECK:STDOUT: specific @ForwardDeclared.WithSelf.F(constants.%Self.c9a) {} // CHECK:STDOUT: // CHECK:STDOUT: --- b.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Empty.type: type = facet_type <@Empty> [concrete] -// CHECK:STDOUT: %Self.688: %Empty.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %pattern_type.a11: type = pattern_type %Empty.type [concrete] +// CHECK:STDOUT: %Self.1f1: %Empty.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.e97: type = pattern_type %Empty.type [concrete] // CHECK:STDOUT: %UseEmpty.type: type = fn_type @UseEmpty [concrete] // CHECK:STDOUT: %UseEmpty: %UseEmpty.type = struct_value () [concrete] // CHECK:STDOUT: %Basic.type: type = facet_type <@Basic> [concrete] -// CHECK:STDOUT: %Self.51d: %Basic.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Basic.WithSelf.F.type: type = fn_type @Basic.WithSelf.F, @Basic.WithSelf(%Self.51d) [symbolic] +// CHECK:STDOUT: %Self.fe4: %Basic.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Basic.WithSelf.F.type: type = fn_type @Basic.WithSelf.F, @Basic.WithSelf(%Self.fe4) [symbolic] // CHECK:STDOUT: %Basic.WithSelf.F: %Basic.WithSelf.F.type = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.aa9: type = pattern_type %Basic.type [concrete] +// CHECK:STDOUT: %pattern_type.620: type = pattern_type %Basic.type [concrete] // CHECK:STDOUT: %UseBasic.type: type = fn_type @UseBasic [concrete] // CHECK:STDOUT: %UseBasic: %UseBasic.type = struct_value () [concrete] // CHECK:STDOUT: %ForwardDeclared.type: type = facet_type <@ForwardDeclared> [concrete] -// CHECK:STDOUT: %Self.656: %ForwardDeclared.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %ForwardDeclared.WithSelf.F.type: type = fn_type @ForwardDeclared.WithSelf.F, @ForwardDeclared.WithSelf(%Self.656) [symbolic] +// CHECK:STDOUT: %Self.593: %ForwardDeclared.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %ForwardDeclared.WithSelf.F.type: type = fn_type @ForwardDeclared.WithSelf.F, @ForwardDeclared.WithSelf(%Self.593) [symbolic] // CHECK:STDOUT: %ForwardDeclared.WithSelf.F: %ForwardDeclared.WithSelf.F.type = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.490: type = pattern_type %ForwardDeclared.type [concrete] +// CHECK:STDOUT: %pattern_type.b34: type = pattern_type %ForwardDeclared.type [concrete] // CHECK:STDOUT: %UseForwardDeclared.type: type = fn_type @UseForwardDeclared [concrete] // CHECK:STDOUT: %UseForwardDeclared: %UseForwardDeclared.type = struct_value () [concrete] // CHECK:STDOUT: %Basic.assoc_type: type = assoc_entity_type @Basic [concrete] -// CHECK:STDOUT: %assoc0.cdf: %Basic.assoc_type = assoc_entity element0, imports.%Main.import_ref.633 [concrete] -// CHECK:STDOUT: %assoc1.cd7: %Basic.assoc_type = assoc_entity element1, imports.%Main.import_ref.05f [concrete] +// CHECK:STDOUT: %assoc0.28b: %Basic.assoc_type = assoc_entity element0, imports.%Main.import_ref.388 [concrete] +// CHECK:STDOUT: %assoc1.1cd: %Basic.assoc_type = assoc_entity element1, imports.%Main.import_ref.01b [concrete] // CHECK:STDOUT: %ForwardDeclared.assoc_type: type = assoc_entity_type @ForwardDeclared [concrete] -// CHECK:STDOUT: %assoc0.ded: %ForwardDeclared.assoc_type = assoc_entity element0, imports.%Main.import_ref.fe3 [concrete] -// CHECK:STDOUT: %assoc1.d3c: %ForwardDeclared.assoc_type = assoc_entity element1, imports.%Main.import_ref.77c [concrete] -// CHECK:STDOUT: %ptr.138: type = ptr_type %ForwardDeclared.type [concrete] -// CHECK:STDOUT: %pattern_type.13f: type = pattern_type %ptr.138 [concrete] +// CHECK:STDOUT: %assoc0.53a: %ForwardDeclared.assoc_type = assoc_entity element0, imports.%Main.import_ref.d70 [concrete] +// CHECK:STDOUT: %assoc1.dfa: %ForwardDeclared.assoc_type = assoc_entity element1, imports.%Main.import_ref.d6e [concrete] +// CHECK:STDOUT: %ptr.03f: type = ptr_type %ForwardDeclared.type [concrete] +// CHECK:STDOUT: %pattern_type.2ee: type = pattern_type %ptr.03f [concrete] // CHECK:STDOUT: %struct_type.f: type = struct_type {.f: %ForwardDeclared.type} [concrete] -// CHECK:STDOUT: %pattern_type.7ad: type = pattern_type %struct_type.f [concrete] -// CHECK:STDOUT: %.0e2: ref %ForwardDeclared.type = struct_access imports.%f_ref.var, element0 [concrete] -// CHECK:STDOUT: %addr: %ptr.138 = addr_of %.0e2 [concrete] +// CHECK:STDOUT: %pattern_type.748: type = pattern_type %struct_type.f [concrete] +// CHECK:STDOUT: %.cba: ref %ForwardDeclared.type = struct_access imports.%f_ref.var, element0 [concrete] +// CHECK:STDOUT: %addr: %ptr.03f = addr_of %.cba [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.cb4: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%ForwardDeclared.type) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.124: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%ForwardDeclared.type) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.4c1: %ptr.as.Copy.impl.Op.type.124 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.138, (%Copy.impl_witness.cb4) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.3ba: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.3d9: type = fn_type_with_self_type %Copy.WithSelf.Op.type.3ba, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.4c1 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.4c1, @ptr.as.Copy.impl.Op(%ForwardDeclared.type) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.b4d: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%ForwardDeclared.type) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.816: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%ForwardDeclared.type) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.c1c: %ptr.as.Copy.impl.Op.type.816 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.03f, (%Copy.impl_witness.b4d) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.51e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.4ff: type = fn_type_with_self_type %Copy.WithSelf.Op.type.51e, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.c1c [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.c1c, @ptr.as.Copy.impl.Op(%ForwardDeclared.type) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %addr, %ptr.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -264,29 +264,29 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Main.import_ref.8dd = import_ref Main//a, loc4_17, unloaded -// CHECK:STDOUT: %Main.import_ref.8d1: %Basic.assoc_type = import_ref Main//a, loc8_8, loaded [concrete = constants.%assoc0.cdf] -// CHECK:STDOUT: %Main.import_ref.30b: %Basic.assoc_type = import_ref Main//a, loc9_9, loaded [concrete = constants.%assoc1.cd7] -// CHECK:STDOUT: %Main.T.0c0 = import_ref Main//a, T, unloaded -// CHECK:STDOUT: %Main.F.35f = import_ref Main//a, F, unloaded -// CHECK:STDOUT: %Main.import_ref.8e6a30.2: %Basic.type = import_ref Main//a, loc7_17, loaded [symbolic = constants.%Self.51d] -// CHECK:STDOUT: %Main.import_ref.2e7 = import_ref Main//a, loc7_17, unloaded -// CHECK:STDOUT: %Main.import_ref.d14: %ForwardDeclared.assoc_type = import_ref Main//a, loc16_8, loaded [concrete = constants.%assoc0.ded] -// CHECK:STDOUT: %Main.import_ref.433: %ForwardDeclared.assoc_type = import_ref Main//a, loc17_9, loaded [concrete = constants.%assoc1.d3c] -// CHECK:STDOUT: %Main.T.7c6 = import_ref Main//a, T, unloaded -// CHECK:STDOUT: %Main.F.dba = import_ref Main//a, F, unloaded -// CHECK:STDOUT: %Main.import_ref.56cd0d.2: %ForwardDeclared.type = import_ref Main//a, loc15_27, loaded [symbolic = constants.%Self.656] -// CHECK:STDOUT: %Main.import_ref.e52 = import_ref Main//a, loc15_27, unloaded -// CHECK:STDOUT: %Main.import_ref.633 = import_ref Main//a, loc8_8, unloaded -// CHECK:STDOUT: %Main.import_ref.05f = import_ref Main//a, loc9_9, unloaded -// CHECK:STDOUT: %Main.import_ref.fe3 = import_ref Main//a, loc16_8, unloaded -// CHECK:STDOUT: %Main.import_ref.77c = import_ref Main//a, loc17_9, unloaded -// CHECK:STDOUT: %f_ref.patt: %pattern_type.7ad = ref_binding_pattern f_ref [concrete] -// CHECK:STDOUT: %f_ref.var_patt: %pattern_type.7ad = var_pattern %f_ref.patt [concrete] +// CHECK:STDOUT: %Main.import_ref.dce = import_ref Main//a, loc4_17, unloaded +// CHECK:STDOUT: %Main.import_ref.681: %Basic.assoc_type = import_ref Main//a, loc8_8, loaded [concrete = constants.%assoc0.28b] +// CHECK:STDOUT: %Main.import_ref.dba: %Basic.assoc_type = import_ref Main//a, loc9_9, loaded [concrete = constants.%assoc1.1cd] +// CHECK:STDOUT: %Main.T.eb1 = import_ref Main//a, T, unloaded +// CHECK:STDOUT: %Main.F.969 = import_ref Main//a, F, unloaded +// CHECK:STDOUT: %Main.import_ref.9f4c1e.2: %Basic.type = import_ref Main//a, loc7_17, loaded [symbolic = constants.%Self.fe4] +// CHECK:STDOUT: %Main.import_ref.d80 = import_ref Main//a, loc7_17, unloaded +// CHECK:STDOUT: %Main.import_ref.100: %ForwardDeclared.assoc_type = import_ref Main//a, loc16_8, loaded [concrete = constants.%assoc0.53a] +// CHECK:STDOUT: %Main.import_ref.f46: %ForwardDeclared.assoc_type = import_ref Main//a, loc17_9, loaded [concrete = constants.%assoc1.dfa] +// CHECK:STDOUT: %Main.T.ec6 = import_ref Main//a, T, unloaded +// CHECK:STDOUT: %Main.F.b34 = import_ref Main//a, F, unloaded +// CHECK:STDOUT: %Main.import_ref.af3f82.2: %ForwardDeclared.type = import_ref Main//a, loc15_27, loaded [symbolic = constants.%Self.593] +// CHECK:STDOUT: %Main.import_ref.96e = import_ref Main//a, loc15_27, unloaded +// CHECK:STDOUT: %Main.import_ref.388 = import_ref Main//a, loc8_8, unloaded +// CHECK:STDOUT: %Main.import_ref.01b = import_ref Main//a, loc9_9, unloaded +// CHECK:STDOUT: %Main.import_ref.d70 = import_ref Main//a, loc16_8, unloaded +// CHECK:STDOUT: %Main.import_ref.d6e = import_ref Main//a, loc17_9, unloaded +// CHECK:STDOUT: %f_ref.patt: %pattern_type.748 = ref_binding_pattern f_ref [concrete] +// CHECK:STDOUT: %f_ref.var_patt: %pattern_type.748 = var_pattern %f_ref.patt [concrete] // CHECK:STDOUT: %f_ref.var: ref %struct_type.f = var %f_ref.var_patt [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -308,56 +308,56 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %UseEmpty.decl: %UseEmpty.type = fn_decl @UseEmpty [concrete = constants.%UseEmpty] { -// CHECK:STDOUT: %e.param_patt: %pattern_type.a11 = value_param_pattern [concrete] -// CHECK:STDOUT: %e.patt: %pattern_type.a11 = at_binding_pattern e, %e.param_patt [concrete] +// CHECK:STDOUT: %e.param_patt: %pattern_type.e97 = value_param_pattern [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.e97 = at_binding_pattern e, %e.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %e.param: %Empty.type = value_param call_param0 // CHECK:STDOUT: %Empty.ref: type = name_ref Empty, imports.%Main.Empty [concrete = constants.%Empty.type] // CHECK:STDOUT: %e: %Empty.type = value_binding e, %e.param // CHECK:STDOUT: } // CHECK:STDOUT: %UseBasic.decl: %UseBasic.type = fn_decl @UseBasic [concrete = constants.%UseBasic] { -// CHECK:STDOUT: %e.param_patt: %pattern_type.aa9 = value_param_pattern [concrete] -// CHECK:STDOUT: %e.patt: %pattern_type.aa9 = at_binding_pattern e, %e.param_patt [concrete] +// CHECK:STDOUT: %e.param_patt: %pattern_type.620 = value_param_pattern [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.620 = at_binding_pattern e, %e.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %e.param: %Basic.type = value_param call_param0 // CHECK:STDOUT: %Basic.ref: type = name_ref Basic, imports.%Main.Basic [concrete = constants.%Basic.type] // CHECK:STDOUT: %e: %Basic.type = value_binding e, %e.param // CHECK:STDOUT: } // CHECK:STDOUT: %UseForwardDeclared.decl: %UseForwardDeclared.type = fn_decl @UseForwardDeclared [concrete = constants.%UseForwardDeclared] { -// CHECK:STDOUT: %f.param_patt: %pattern_type.490 = value_param_pattern [concrete] -// CHECK:STDOUT: %f.patt: %pattern_type.490 = at_binding_pattern f, %f.param_patt [concrete] +// CHECK:STDOUT: %f.param_patt: %pattern_type.b34 = value_param_pattern [concrete] +// CHECK:STDOUT: %f.patt: %pattern_type.b34 = at_binding_pattern f, %f.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %f.param: %ForwardDeclared.type = value_param call_param0 // CHECK:STDOUT: %ForwardDeclared.ref: type = name_ref ForwardDeclared, imports.%Main.ForwardDeclared [concrete = constants.%ForwardDeclared.type] // CHECK:STDOUT: %f: %ForwardDeclared.type = value_binding f, %f.param // CHECK:STDOUT: } // CHECK:STDOUT: %Basic.ref.loc10: type = name_ref Basic, imports.%Main.Basic [concrete = constants.%Basic.type] -// CHECK:STDOUT: %T.ref.loc10: %Basic.assoc_type = name_ref T, imports.%Main.import_ref.8d1 [concrete = constants.%assoc0.cdf] -// CHECK:STDOUT: %UseBasicT: %Basic.assoc_type = alias_binding UseBasicT, %T.ref.loc10 [concrete = constants.%assoc0.cdf] +// CHECK:STDOUT: %T.ref.loc10: %Basic.assoc_type = name_ref T, imports.%Main.import_ref.681 [concrete = constants.%assoc0.28b] +// CHECK:STDOUT: %UseBasicT: %Basic.assoc_type = alias_binding UseBasicT, %T.ref.loc10 [concrete = constants.%assoc0.28b] // CHECK:STDOUT: %Basic.ref.loc11: type = name_ref Basic, imports.%Main.Basic [concrete = constants.%Basic.type] -// CHECK:STDOUT: %F.ref.loc11: %Basic.assoc_type = name_ref F, imports.%Main.import_ref.30b [concrete = constants.%assoc1.cd7] -// CHECK:STDOUT: %UseBasicF: %Basic.assoc_type = alias_binding UseBasicF, %F.ref.loc11 [concrete = constants.%assoc1.cd7] +// CHECK:STDOUT: %F.ref.loc11: %Basic.assoc_type = name_ref F, imports.%Main.import_ref.dba [concrete = constants.%assoc1.1cd] +// CHECK:STDOUT: %UseBasicF: %Basic.assoc_type = alias_binding UseBasicF, %F.ref.loc11 [concrete = constants.%assoc1.1cd] // CHECK:STDOUT: %ForwardDeclared.ref.loc13: type = name_ref ForwardDeclared, imports.%Main.ForwardDeclared [concrete = constants.%ForwardDeclared.type] -// CHECK:STDOUT: %T.ref.loc13: %ForwardDeclared.assoc_type = name_ref T, imports.%Main.import_ref.d14 [concrete = constants.%assoc0.ded] -// CHECK:STDOUT: %UseForwardDeclaredT: %ForwardDeclared.assoc_type = alias_binding UseForwardDeclaredT, %T.ref.loc13 [concrete = constants.%assoc0.ded] +// CHECK:STDOUT: %T.ref.loc13: %ForwardDeclared.assoc_type = name_ref T, imports.%Main.import_ref.100 [concrete = constants.%assoc0.53a] +// CHECK:STDOUT: %UseForwardDeclaredT: %ForwardDeclared.assoc_type = alias_binding UseForwardDeclaredT, %T.ref.loc13 [concrete = constants.%assoc0.53a] // CHECK:STDOUT: %ForwardDeclared.ref.loc14: type = name_ref ForwardDeclared, imports.%Main.ForwardDeclared [concrete = constants.%ForwardDeclared.type] -// CHECK:STDOUT: %F.ref.loc14: %ForwardDeclared.assoc_type = name_ref F, imports.%Main.import_ref.433 [concrete = constants.%assoc1.d3c] -// CHECK:STDOUT: %UseForwardDeclaredF: %ForwardDeclared.assoc_type = alias_binding UseForwardDeclaredF, %F.ref.loc14 [concrete = constants.%assoc1.d3c] +// CHECK:STDOUT: %F.ref.loc14: %ForwardDeclared.assoc_type = name_ref F, imports.%Main.import_ref.f46 [concrete = constants.%assoc1.dfa] +// CHECK:STDOUT: %UseForwardDeclaredF: %ForwardDeclared.assoc_type = alias_binding UseForwardDeclaredF, %F.ref.loc14 [concrete = constants.%assoc1.dfa] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %f.patt: %pattern_type.13f = ref_binding_pattern f [concrete] -// CHECK:STDOUT: %f.var_patt: %pattern_type.13f = var_pattern %f.patt [concrete] +// CHECK:STDOUT: %f.patt: %pattern_type.2ee = ref_binding_pattern f [concrete] +// CHECK:STDOUT: %f.var_patt: %pattern_type.2ee = var_pattern %f.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %f.var: ref %ptr.138 = var %f.var_patt [concrete] -// CHECK:STDOUT: %.loc16: type = splice_block %ptr [concrete = constants.%ptr.138] { +// CHECK:STDOUT: %f.var: ref %ptr.03f = var %f.var_patt [concrete] +// CHECK:STDOUT: %.loc16: type = splice_block %ptr [concrete = constants.%ptr.03f] { // CHECK:STDOUT: %ForwardDeclared.ref.loc16: type = name_ref ForwardDeclared, imports.%Main.ForwardDeclared [concrete = constants.%ForwardDeclared.type] -// CHECK:STDOUT: %ptr: type = ptr_type %ForwardDeclared.ref.loc16 [concrete = constants.%ptr.138] +// CHECK:STDOUT: %ptr: type = ptr_type %ForwardDeclared.ref.loc16 [concrete = constants.%ptr.03f] // CHECK:STDOUT: } -// CHECK:STDOUT: %f: ref %ptr.138 = ref_binding f, %f.var [concrete = %f.var] +// CHECK:STDOUT: %f: ref %ptr.03f = ref_binding f, %f.var [concrete = %f.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Empty [from "a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.8dd +// CHECK:STDOUT: .Self = imports.%Main.import_ref.dce // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -365,20 +365,20 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: // CHECK:STDOUT: interface @Basic [from "a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.2e7 -// CHECK:STDOUT: .T = imports.%Main.import_ref.8d1 -// CHECK:STDOUT: .F = imports.%Main.import_ref.30b -// CHECK:STDOUT: witness = (imports.%Main.T.0c0, imports.%Main.F.35f) +// CHECK:STDOUT: .Self = imports.%Main.import_ref.d80 +// CHECK:STDOUT: .T = imports.%Main.import_ref.681 +// CHECK:STDOUT: .F = imports.%Main.import_ref.dba +// CHECK:STDOUT: witness = (imports.%Main.T.eb1, imports.%Main.F.969) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @ForwardDeclared [from "a.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.e52 -// CHECK:STDOUT: .T = imports.%Main.import_ref.d14 -// CHECK:STDOUT: .F = imports.%Main.import_ref.433 -// CHECK:STDOUT: witness = (imports.%Main.T.7c6, imports.%Main.F.dba) +// CHECK:STDOUT: .Self = imports.%Main.import_ref.96e +// CHECK:STDOUT: .T = imports.%Main.import_ref.100 +// CHECK:STDOUT: .F = imports.%Main.import_ref.f46 +// CHECK:STDOUT: witness = (imports.%Main.T.ec6, imports.%Main.F.b34) // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } @@ -388,7 +388,7 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @Basic.WithSelf.F(imports.%Main.import_ref.8e6a30.2: %Basic.type) [from "a.carbon"] { +// CHECK:STDOUT: generic fn @Basic.WithSelf.F(imports.%Main.import_ref.9f4c1e.2: %Basic.type) [from "a.carbon"] { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: @@ -397,7 +397,7 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @ForwardDeclared.WithSelf.F(imports.%Main.import_ref.56cd0d.2: %ForwardDeclared.type) [from "a.carbon"] { +// CHECK:STDOUT: generic fn @ForwardDeclared.WithSelf.F(imports.%Main.import_ref.af3f82.2: %ForwardDeclared.type) [from "a.carbon"] { // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: @@ -409,36 +409,36 @@ var f: ForwardDeclared* = &f_ref.f; // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %f_ref.ref: ref %struct_type.f = name_ref f_ref, imports.%Main.f_ref [concrete = imports.%f_ref.var] -// CHECK:STDOUT: %.loc16: ref %ForwardDeclared.type = struct_access %f_ref.ref, element0 [concrete = constants.%.0e2] -// CHECK:STDOUT: %addr: %ptr.138 = addr_of %.loc16 [concrete = constants.%addr] -// CHECK:STDOUT: %impl.elem0: %.3d9 = impl_witness_access constants.%Copy.impl_witness.cb4, element0 [concrete = constants.%ptr.as.Copy.impl.Op.4c1] +// CHECK:STDOUT: %.loc16: ref %ForwardDeclared.type = struct_access %f_ref.ref, element0 [concrete = constants.%.cba] +// CHECK:STDOUT: %addr: %ptr.03f = addr_of %.loc16 [concrete = constants.%addr] +// CHECK:STDOUT: %impl.elem0: %.4ff = impl_witness_access constants.%Copy.impl_witness.b4d, element0 [concrete = constants.%ptr.as.Copy.impl.Op.c1c] // CHECK:STDOUT: %bound_method.loc16_27.1: = bound_method %addr, %impl.elem0 [concrete = constants.%ptr.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%ForwardDeclared.type) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_27.2: = bound_method %addr, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.138 = call %bound_method.loc16_27.2(%addr) [concrete = constants.%addr] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.03f = call %bound_method.loc16_27.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%f.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.688) { +// CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.1f1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Basic.WithSelf(constants.%Self.51d) { +// CHECK:STDOUT: specific @Basic.WithSelf(constants.%Self.fe4) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.51d +// CHECK:STDOUT: %Self => constants.%Self.fe4 // CHECK:STDOUT: %Basic.WithSelf.F.type => constants.%Basic.WithSelf.F.type // CHECK:STDOUT: %Basic.WithSelf.F => constants.%Basic.WithSelf.F // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Basic.WithSelf.F(constants.%Self.51d) {} +// CHECK:STDOUT: specific @Basic.WithSelf.F(constants.%Self.fe4) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @ForwardDeclared.WithSelf(constants.%Self.656) { +// CHECK:STDOUT: specific @ForwardDeclared.WithSelf(constants.%Self.593) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.656 +// CHECK:STDOUT: %Self => constants.%Self.593 // CHECK:STDOUT: %ForwardDeclared.WithSelf.F.type => constants.%ForwardDeclared.WithSelf.F.type // CHECK:STDOUT: %ForwardDeclared.WithSelf.F => constants.%ForwardDeclared.WithSelf.F // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ForwardDeclared.WithSelf.F(constants.%Self.656) {} +// CHECK:STDOUT: specific @ForwardDeclared.WithSelf.F(constants.%Self.593) {} // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/import_access.carbon b/toolchain/check/testdata/interface/import_access.carbon index 3a08efec1044..1958340a58d5 100644 --- a/toolchain/check/testdata/interface/import_access.carbon +++ b/toolchain/check/testdata/interface/import_access.carbon @@ -225,7 +225,7 @@ private interface Redecl {} // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Test.Def: type = import_ref Test//def, Def, loaded [concrete = constants.%Def.type] -// CHECK:STDOUT: %Test.import_ref.d69 = import_ref Test//def, loc4_23, unloaded +// CHECK:STDOUT: %Test.import_ref.1f8 = import_ref Test//def, loc4_23, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -247,7 +247,7 @@ private interface Redecl {} // CHECK:STDOUT: // CHECK:STDOUT: interface @Def [from "def.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Test.import_ref.d69 +// CHECK:STDOUT: .Self = imports.%Test.import_ref.1f8 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -340,7 +340,7 @@ private interface Redecl {} // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Test.ForwardWithDef: type = import_ref Test//forward_with_def, ForwardWithDef, loaded [concrete = constants.%ForwardWithDef.type] -// CHECK:STDOUT: %Test.import_ref.1df = import_ref Test//forward_with_def, loc6_26, unloaded +// CHECK:STDOUT: %Test.import_ref.4bb = import_ref Test//forward_with_def, loc6_26, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -362,7 +362,7 @@ private interface Redecl {} // CHECK:STDOUT: // CHECK:STDOUT: interface @ForwardWithDef [from "forward_with_def.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Test.import_ref.1df +// CHECK:STDOUT: .Self = imports.%Test.import_ref.4bb // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: diff --git a/toolchain/check/testdata/interface/import_interface_decl.carbon b/toolchain/check/testdata/interface/import_interface_decl.carbon index b2ddef39783e..63d3e017a23a 100644 --- a/toolchain/check/testdata/interface/import_interface_decl.carbon +++ b/toolchain/check/testdata/interface/import_interface_decl.carbon @@ -55,9 +55,9 @@ impl library "[[@TEST_NAME]]"; // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.B = import_ref Main//b, B, unloaded -// CHECK:STDOUT: %Main.import_ref.aba = import_ref Main//b, loc2_13, unloaded +// CHECK:STDOUT: %Main.import_ref.f95 = import_ref Main//b, loc2_13, unloaded // CHECK:STDOUT: %Main.import_ref.e5c: type = import_ref Main//b, loc7_7, loaded [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %Main.import_ref.f9f: type = import_ref Main//b, loc7_12, loaded [concrete = constants.%B.type] +// CHECK:STDOUT: %Main.import_ref.7eb: type = import_ref Main//b, loc7_12, loaded [concrete = constants.%B.type] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -70,13 +70,13 @@ impl library "[[@TEST_NAME]]"; // CHECK:STDOUT: // CHECK:STDOUT: interface @B [from "fail_b.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.aba +// CHECK:STDOUT: .Self = imports.%Main.import_ref.f95 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @empty_tuple.type.as.B.impl: imports.%Main.import_ref.e5c as imports.%Main.import_ref.f9f [from "fail_b.carbon"]; +// CHECK:STDOUT: impl @empty_tuple.type.as.B.impl: imports.%Main.import_ref.e5c as imports.%Main.import_ref.7eb [from "fail_b.carbon"]; // CHECK:STDOUT: // CHECK:STDOUT: specific @B.WithSelf(constants.%Self) {} // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/incomplete.carbon b/toolchain/check/testdata/interface/incomplete.carbon index 3ac523ce40bc..6b95ddf6b8ff 100644 --- a/toolchain/check/testdata/interface/incomplete.carbon +++ b/toolchain/check/testdata/interface/incomplete.carbon @@ -226,10 +226,10 @@ interface A(T:! type) { // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%T [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.d52: type = pattern_type %I.type [concrete] +// CHECK:STDOUT: %pattern_type.998: type = pattern_type %I.type [concrete] // CHECK:STDOUT: %U: %I.type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %U.as_type: type = facet_access_type %U [symbolic] -// CHECK:STDOUT: %pattern_type.05d: type = pattern_type %U.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.3df: type = pattern_type %U.as_type [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type [symbolic] @@ -246,9 +246,9 @@ interface A(T:! type) { // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %I.decl: type = interface_decl @I [concrete = constants.%I.type] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %U.patt: %pattern_type.d52 = symbolic_binding_pattern U, 0 [concrete] -// CHECK:STDOUT: %a.param_patt: @F.%pattern_type (%pattern_type.05d) = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.05d) = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.998 = symbolic_binding_pattern U, 0 [concrete] +// CHECK:STDOUT: %a.param_patt: @F.%pattern_type (%pattern_type.3df) = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: @F.%pattern_type (%pattern_type.3df) = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc9_10: type = splice_block %I.ref [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -289,7 +289,7 @@ interface A(T:! type) { // CHECK:STDOUT: generic fn @F(%U.loc9_7.2: %I.type) { // CHECK:STDOUT: %U.loc9_7.1: %I.type = symbolic_binding U, 0 [symbolic = %U.loc9_7.1 (constants.%U)] // CHECK:STDOUT: %U.as_type.loc9_16.1: type = facet_access_type %U.loc9_7.1 [symbolic = %U.as_type.loc9_16.1 (constants.%U.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc9_16.1 [symbolic = %pattern_type (constants.%pattern_type.05d)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %U.as_type.loc9_16.1 [symbolic = %pattern_type (constants.%pattern_type.3df)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %U.as_type.loc9_16.1 [symbolic = %require_complete (constants.%require_complete)] @@ -312,7 +312,7 @@ interface A(T:! type) { // CHECK:STDOUT: specific @F(constants.%U) { // CHECK:STDOUT: %U.loc9_7.1 => constants.%U // CHECK:STDOUT: %U.as_type.loc9_16.1 => constants.%U.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.05d +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3df // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%U) { @@ -409,21 +409,21 @@ interface A(T:! type) { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %A.type.e64: type = generic_interface_type @A [concrete] -// CHECK:STDOUT: %A.generic: %A.type.e64 = struct_value () [concrete] -// CHECK:STDOUT: %A.type.a6a: type = facet_type <@A, @A(%T)> [symbolic] -// CHECK:STDOUT: %Self: %A.type.a6a = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %A.type.0af: type = generic_interface_type @A [concrete] +// CHECK:STDOUT: %A.generic: %A.type.0af = struct_value () [concrete] +// CHECK:STDOUT: %A.type.5ea: type = facet_type <@A, @A(%T)> [symbolic] +// CHECK:STDOUT: %Self: %A.type.5ea = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %A.type.a4d: type = facet_type <@A, @A(%empty_struct_type)> [concrete] +// CHECK:STDOUT: %A.type.7cc: type = facet_type <@A, @A(%empty_struct_type)> [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .A = %A.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %A.decl: %A.type.e64 = interface_decl @A [concrete = constants.%A.generic] { +// CHECK:STDOUT: %A.decl: %A.type.0af = interface_decl @A [concrete = constants.%A.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc3_17.1: type = splice_block %.loc3_17.2 [concrete = type] { @@ -438,11 +438,11 @@ interface A(T:! type) { // CHECK:STDOUT: %T.loc3_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc3_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(%T.loc3_14.1)> [symbolic = %A.type (constants.%A.type.a6a)] -// CHECK:STDOUT: %Self.loc3_23.2: @A.%A.type (%A.type.a6a) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self)] +// CHECK:STDOUT: %A.type: type = facet_type <@A, @A(%T.loc3_14.1)> [symbolic = %A.type (constants.%A.type.5ea)] +// CHECK:STDOUT: %Self.loc3_23.2: @A.%A.type (%A.type.5ea) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc3_23.1: @A.%A.type (%A.type.a6a) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc3_23.1: @A.%A.type (%A.type.5ea) = symbolic_binding Self, 1 [symbolic = %Self.loc3_23.2 (constants.%Self)] // CHECK:STDOUT: %A.WithSelf.decl = interface_with_self_decl @A [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -450,10 +450,10 @@ interface A(T:! type) { // CHECK:STDOUT: require %Self.as_type.loc11_18.1 impls %A.type.loc11_28 // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.as_type.loc11_18.1: type = facet_access_type @A.%Self.loc3_23.1 [symbolic = %Self.as_type.loc11_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %A.ref: %A.type.e64 = name_ref A, file.%A.decl [concrete = constants.%A.generic] +// CHECK:STDOUT: %A.ref: %A.type.0af = name_ref A, file.%A.decl [concrete = constants.%A.generic] // CHECK:STDOUT: %.loc11_27: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc11_28: type = converted %.loc11_27, constants.%empty_struct_type [concrete = constants.%empty_struct_type] -// CHECK:STDOUT: %A.type.loc11_28: type = facet_type <@A, @A(constants.%empty_struct_type)> [concrete = constants.%A.type.a4d] +// CHECK:STDOUT: %A.type.loc11_28: type = facet_type <@A, @A(constants.%empty_struct_type)> [concrete = constants.%A.type.7cc] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -466,10 +466,10 @@ interface A(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic require @A.WithSelf.Self.as_type.impls.A.type.require(@A.%T.loc3_14.2: type, @A.%Self.loc3_23.1: @A.%A.type (%A.type.a6a)) { +// CHECK:STDOUT: generic require @A.WithSelf.Self.as_type.impls.A.type.require(@A.%T.loc3_14.2: type, @A.%Self.loc3_23.1: @A.%A.type (%A.type.5ea)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %A.type.loc11_18: type = facet_type <@A, @A(%T)> [symbolic = %A.type.loc11_18 (constants.%A.type.a6a)] -// CHECK:STDOUT: %Self: @A.WithSelf.Self.as_type.impls.A.type.require.%A.type.loc11_18 (%A.type.a6a) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %A.type.loc11_18: type = facet_type <@A, @A(%T)> [symbolic = %A.type.loc11_18 (constants.%A.type.5ea)] +// CHECK:STDOUT: %Self: @A.WithSelf.Self.as_type.impls.A.type.require.%A.type.loc11_18 (%A.type.5ea) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc11_18.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc11_18.2 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -485,7 +485,7 @@ interface A(T:! type) { // CHECK:STDOUT: // CHECK:STDOUT: specific @A.WithSelf.Self.as_type.impls.A.type.require(constants.%T, constants.%Self) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %A.type.loc11_18 => constants.%A.type.a6a +// CHECK:STDOUT: %A.type.loc11_18 => constants.%A.type.5ea // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc11_18.2 => constants.%Self.as_type // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interface/local.carbon b/toolchain/check/testdata/interface/local.carbon index dedcb8b4f4cb..ef771de1cc90 100644 --- a/toolchain/check/testdata/interface/local.carbon +++ b/toolchain/check/testdata/interface/local.carbon @@ -31,9 +31,9 @@ fn F() { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.caf: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %I.WithSelf.G.type.1fa: type = fn_type @I.WithSelf.G, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I.WithSelf.G.8c1: %I.WithSelf.G.type.1fa = struct_value () [symbolic] +// CHECK:STDOUT: %pattern_type.4d0: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %I.WithSelf.G.type.f46: type = fn_type @I.WithSelf.G, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I.WithSelf.G.7b3: %I.WithSelf.G.type.f46 = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.G.decl [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] @@ -42,9 +42,9 @@ fn F() { // CHECK:STDOUT: %empty_tuple.type.as.I.impl.G.type: type = fn_type @empty_tuple.type.as.I.impl.G [concrete] // CHECK:STDOUT: %empty_tuple.type.as.I.impl.G: %empty_tuple.type.as.I.impl.G.type = struct_value () [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %empty_tuple.type, (%I.impl_witness) [concrete] -// CHECK:STDOUT: %I.WithSelf.G.type.298: type = fn_type @I.WithSelf.G, @I.WithSelf(%I.facet) [concrete] -// CHECK:STDOUT: %I.WithSelf.G.efd: %I.WithSelf.G.type.298 = struct_value () [concrete] -// CHECK:STDOUT: %.f9d: type = fn_type_with_self_type %I.WithSelf.G.type.298, %I.facet [concrete] +// CHECK:STDOUT: %I.WithSelf.G.type.107: type = fn_type @I.WithSelf.G, @I.WithSelf(%I.facet) [concrete] +// CHECK:STDOUT: %I.WithSelf.G.641: %I.WithSelf.G.type.107 = struct_value () [concrete] +// CHECK:STDOUT: %.a19: type = fn_type_with_self_type %I.WithSelf.G.type.107, %I.facet [concrete] // CHECK:STDOUT: %empty_tuple.type.as.I.impl.G.bound: = bound_method %empty_tuple, %empty_tuple.type.as.I.impl.G [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -60,9 +60,9 @@ fn F() { // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: -// CHECK:STDOUT: %I.WithSelf.G.decl: @I.WithSelf.%I.WithSelf.G.type (%I.WithSelf.G.type.1fa) = fn_decl @I.WithSelf.G [symbolic = @I.WithSelf.%I.WithSelf.G (constants.%I.WithSelf.G.8c1)] { -// CHECK:STDOUT: %self.param_patt: @I.WithSelf.G.%pattern_type (%pattern_type.caf) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @I.WithSelf.G.%pattern_type (%pattern_type.caf) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %I.WithSelf.G.decl: @I.WithSelf.%I.WithSelf.G.type (%I.WithSelf.G.type.f46) = fn_decl @I.WithSelf.G [symbolic = @I.WithSelf.%I.WithSelf.G (constants.%I.WithSelf.G.7b3)] { +// CHECK:STDOUT: %self.param_patt: @I.WithSelf.G.%pattern_type (%pattern_type.4d0) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @I.WithSelf.G.%pattern_type (%pattern_type.4d0) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: @I.WithSelf.G.%Self.as_type.loc17_16.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc17_16.1: type = splice_block %.loc17_16.2 [symbolic = %Self.as_type.loc17_16.1 (constants.%Self.as_type)] { @@ -111,7 +111,7 @@ fn F() { // CHECK:STDOUT: %.loc22_4.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %I.ref: type = name_ref I, %I.decl [concrete = constants.%I.type] // CHECK:STDOUT: %G.ref: %I.assoc_type = name_ref G, @I.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.f9d = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%empty_tuple.type.as.I.impl.G] +// CHECK:STDOUT: %impl.elem0: %.a19 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%empty_tuple.type.as.I.impl.G] // CHECK:STDOUT: %bound_method: = bound_method %.loc22_4.1, %impl.elem0 [concrete = constants.%empty_tuple.type.as.I.impl.G.bound] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc22_4.2: %empty_tuple.type = converted %.loc22_4.1, %empty_tuple [concrete = constants.%empty_tuple] @@ -122,7 +122,7 @@ fn F() { // CHECK:STDOUT: generic fn @I.WithSelf.G(@I.%Self: %I.type) { // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc17_16.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc17_16.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc17_16.1 [symbolic = %pattern_type (constants.%pattern_type.caf)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc17_16.1 [symbolic = %pattern_type (constants.%pattern_type.4d0)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @I.WithSelf.G.%Self.as_type.loc17_16.1 (%Self.as_type)); // CHECK:STDOUT: } @@ -135,21 +135,21 @@ fn F() { // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.WithSelf.G.type => constants.%I.WithSelf.G.type.1fa -// CHECK:STDOUT: %I.WithSelf.G => constants.%I.WithSelf.G.8c1 +// CHECK:STDOUT: %I.WithSelf.G.type => constants.%I.WithSelf.G.type.f46 +// CHECK:STDOUT: %I.WithSelf.G => constants.%I.WithSelf.G.7b3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.G(constants.%Self) { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc17_16.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.caf +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4d0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf(constants.%I.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%I.facet -// CHECK:STDOUT: %I.WithSelf.G.type => constants.%I.WithSelf.G.type.298 -// CHECK:STDOUT: %I.WithSelf.G => constants.%I.WithSelf.G.efd +// CHECK:STDOUT: %I.WithSelf.G.type => constants.%I.WithSelf.G.type.107 +// CHECK:STDOUT: %I.WithSelf.G => constants.%I.WithSelf.G.641 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @I.WithSelf.G(constants.%I.facet) { diff --git a/toolchain/check/testdata/interface/member_lookup.carbon b/toolchain/check/testdata/interface/member_lookup.carbon index b410bac2ff93..33242322afcf 100644 --- a/toolchain/check/testdata/interface/member_lookup.carbon +++ b/toolchain/check/testdata/interface/member_lookup.carbon @@ -59,63 +59,63 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Interface.type.82d: type = generic_interface_type @Interface [concrete] -// CHECK:STDOUT: %Interface.generic: %Interface.type.82d = struct_value () [concrete] -// CHECK:STDOUT: %Interface.type.dc0: type = facet_type <@Interface, @Interface(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.ce2: %Interface.type.dc0 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Interface.type.77d: type = generic_interface_type @Interface [concrete] +// CHECK:STDOUT: %Interface.generic: %Interface.type.77d = struct_value () [concrete] +// CHECK:STDOUT: %Interface.type.481: type = facet_type <@Interface, @Interface(%T.67d)> [symbolic] +// CHECK:STDOUT: %Self.0e1: %Interface.type.481 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Interface.assoc_type.8fd: type = assoc_entity_type @Interface, @Interface(%T.67d) [symbolic] -// CHECK:STDOUT: %assoc0.2a0: %Interface.assoc_type.8fd = assoc_entity element0, @Interface.WithSelf.%X [symbolic] -// CHECK:STDOUT: %pattern_type.ef3: type = pattern_type %Interface.type.dc0 [symbolic] -// CHECK:STDOUT: %I.fbb: %Interface.type.dc0 = symbolic_binding I, 1 [symbolic] +// CHECK:STDOUT: %Interface.assoc_type.91e: type = assoc_entity_type @Interface, @Interface(%T.67d) [symbolic] +// CHECK:STDOUT: %assoc0.3da: %Interface.assoc_type.91e = assoc_entity element0, @Interface.WithSelf.%X [symbolic] +// CHECK:STDOUT: %pattern_type.5a0: type = pattern_type %Interface.type.481 [symbolic] +// CHECK:STDOUT: %I.514: %Interface.type.481 = symbolic_binding I, 1 [symbolic] // CHECK:STDOUT: %.cb6: Core.Form = init_form %ptr.e8f [symbolic] // CHECK:STDOUT: %pattern_type.4f4: type = pattern_type %ptr.e8f [symbolic] // CHECK:STDOUT: %AccessGeneric.type: type = fn_type @AccessGeneric [concrete] // CHECK:STDOUT: %AccessGeneric: %AccessGeneric.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.ef1: = require_complete_type %ptr.e8f [symbolic] -// CHECK:STDOUT: %require_complete.8f5: = require_complete_type %Interface.type.dc0 [symbolic] -// CHECK:STDOUT: %I.as_type.83f: type = facet_access_type %I.fbb [symbolic] -// CHECK:STDOUT: %Interface.lookup_impl_witness.9df: = lookup_impl_witness %I.fbb, @Interface, @Interface(%T.67d) [symbolic] -// CHECK:STDOUT: %impl.elem0.ff1: %ptr.e8f = impl_witness_access %Interface.lookup_impl_witness.9df, element0 [symbolic] +// CHECK:STDOUT: %require_complete.38c: = require_complete_type %Interface.type.481 [symbolic] +// CHECK:STDOUT: %I.as_type.363: type = facet_access_type %I.514 [symbolic] +// CHECK:STDOUT: %Interface.lookup_impl_witness.c21: = lookup_impl_witness %I.514, @Interface, @Interface(%T.67d) [symbolic] +// CHECK:STDOUT: %impl.elem0.b6b: %ptr.e8f = impl_witness_access %Interface.lookup_impl_witness.c21, element0 [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.lookup_impl_witness.5be: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] -// CHECK:STDOUT: %.546: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Copy.facet.2a3: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.5be) [symbolic] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a8e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.2a3) [symbolic] -// CHECK:STDOUT: %.86b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a8e, %Copy.facet.2a3 [symbolic] -// CHECK:STDOUT: %impl.elem0.480: %.86b = impl_witness_access %Copy.lookup_impl_witness.5be, element0 [symbolic] -// CHECK:STDOUT: %bound_method.5dd: = bound_method %impl.elem0.ff1, %impl.elem0.480 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d1f: = specific_impl_function %impl.elem0.480, @Copy.WithSelf.Op(%Copy.facet.2a3) [symbolic] -// CHECK:STDOUT: %bound_method.388: = bound_method %impl.elem0.ff1, %specific_impl_fn.d1f [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.lookup_impl_witness.2bf: = lookup_impl_witness %ptr.e8f, @Copy [symbolic] +// CHECK:STDOUT: %.b6a: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Copy.facet.44d: %Copy.type = facet_value %ptr.e8f, (%Copy.lookup_impl_witness.2bf) [symbolic] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.72b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.44d) [symbolic] +// CHECK:STDOUT: %.39b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72b, %Copy.facet.44d [symbolic] +// CHECK:STDOUT: %impl.elem0.8a3: %.39b = impl_witness_access %Copy.lookup_impl_witness.2bf, element0 [symbolic] +// CHECK:STDOUT: %bound_method.f92: = bound_method %impl.elem0.b6b, %impl.elem0.8a3 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a13: = specific_impl_function %impl.elem0.8a3, @Copy.WithSelf.Op(%Copy.facet.44d) [symbolic] +// CHECK:STDOUT: %bound_method.2d4: = bound_method %impl.elem0.b6b, %specific_impl_fn.a13 [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %Interface.type.f91: type = facet_type <@Interface, @Interface(%i32)> [concrete] -// CHECK:STDOUT: %pattern_type.54d: type = pattern_type %Interface.type.f91 [concrete] -// CHECK:STDOUT: %I.788: %Interface.type.f91 = symbolic_binding I, 0 [symbolic] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %.793: Core.Form = init_form %ptr.143 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] +// CHECK:STDOUT: %Interface.type.734: type = facet_type <@Interface, @Interface(%i32)> [concrete] +// CHECK:STDOUT: %pattern_type.02c: type = pattern_type %Interface.type.734 [concrete] +// CHECK:STDOUT: %I.cc3: %Interface.type.734 = symbolic_binding I, 0 [symbolic] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %.060: Core.Form = init_form %ptr.847 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] // CHECK:STDOUT: %AccessConcrete.type: type = fn_type @AccessConcrete [concrete] // CHECK:STDOUT: %AccessConcrete: %AccessConcrete.type = struct_value () [concrete] -// CHECK:STDOUT: %Self.4ef: %Interface.type.f91 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Interface.assoc_type.530: type = assoc_entity_type @Interface, @Interface(%i32) [concrete] -// CHECK:STDOUT: %assoc0.4b7: %Interface.assoc_type.530 = assoc_entity element0, @Interface.WithSelf.%X [concrete] -// CHECK:STDOUT: %I.as_type.d66: type = facet_access_type %I.788 [symbolic] -// CHECK:STDOUT: %Interface.lookup_impl_witness.01c: = lookup_impl_witness %I.788, @Interface, @Interface(%i32) [symbolic] -// CHECK:STDOUT: %impl.elem0.c3f: %ptr.143 = impl_witness_access %Interface.lookup_impl_witness.01c, element0 [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.425: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.425) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet.425 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %impl.elem0.c3f, %ptr.as.Copy.impl.Op.6e2 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] -// CHECK:STDOUT: %bound_method.f50: = bound_method %impl.elem0.c3f, %ptr.as.Copy.impl.Op.specific_fn [symbolic] +// CHECK:STDOUT: %Self.f3b: %Interface.type.734 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Interface.assoc_type.488: type = assoc_entity_type @Interface, @Interface(%i32) [concrete] +// CHECK:STDOUT: %assoc0.868: %Interface.assoc_type.488 = assoc_entity element0, @Interface.WithSelf.%X [concrete] +// CHECK:STDOUT: %I.as_type.51d: type = facet_access_type %I.cc3 [symbolic] +// CHECK:STDOUT: %Interface.lookup_impl_witness.5ef: = lookup_impl_witness %I.cc3, @Interface, @Interface(%i32) [symbolic] +// CHECK:STDOUT: %impl.elem0.cf4: %ptr.847 = impl_witness_access %Interface.lookup_impl_witness.5ef, element0 [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.17a: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.17a) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet.17a [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %impl.elem0.cf4, %ptr.as.Copy.impl.Op.6e4 [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %bound_method.915: = bound_method %impl.elem0.cf4, %ptr.as.Copy.impl.Op.specific_fn [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -126,8 +126,8 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -139,7 +139,7 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: .AccessConcrete = %AccessConcrete.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Interface.decl: %Interface.type.82d = interface_decl @Interface [concrete = constants.%Interface.generic] { +// CHECK:STDOUT: %Interface.decl: %Interface.type.77d = interface_decl @Interface [concrete = constants.%Interface.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_25.1: type = splice_block %.loc4_25.2 [concrete = type] { @@ -150,7 +150,7 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %AccessGeneric.decl: %AccessGeneric.type = fn_decl @AccessGeneric [concrete = constants.%AccessGeneric] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %I.patt: @AccessGeneric.%pattern_type.loc8_29 (%pattern_type.ef3) = symbolic_binding_pattern I, 1 [concrete] +// CHECK:STDOUT: %I.patt: @AccessGeneric.%pattern_type.loc8_29 (%pattern_type.5a0) = symbolic_binding_pattern I, 1 [concrete] // CHECK:STDOUT: %return.param_patt: @AccessGeneric.%pattern_type.loc8_50 (%pattern_type.4f4) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @AccessGeneric.%pattern_type.loc8_50 (%pattern_type.4f4) = return_slot_pattern %return.param_patt, %ptr.loc8_50.2 [concrete] // CHECK:STDOUT: } { @@ -162,33 +162,33 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: %.loc8_22.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc8_19.2: type = symbolic_binding T, 0 [symbolic = %T.loc8_19.1 (constants.%T.67d)] -// CHECK:STDOUT: %.loc8_43: type = splice_block %Interface.type.loc8_43.2 [symbolic = %Interface.type.loc8_43.1 (constants.%Interface.type.dc0)] { +// CHECK:STDOUT: %.loc8_43: type = splice_block %Interface.type.loc8_43.2 [symbolic = %Interface.type.loc8_43.1 (constants.%Interface.type.481)] { // CHECK:STDOUT: %.Self.loc8_29: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Interface.ref: %Interface.type.82d = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.generic] +// CHECK:STDOUT: %Interface.ref: %Interface.type.77d = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.generic] // CHECK:STDOUT: %T.ref.loc8_42: type = name_ref T, %T.loc8_19.2 [symbolic = %T.loc8_19.1 (constants.%T.67d)] -// CHECK:STDOUT: %Interface.type.loc8_43.2: type = facet_type <@Interface, @Interface(constants.%T.67d)> [symbolic = %Interface.type.loc8_43.1 (constants.%Interface.type.dc0)] +// CHECK:STDOUT: %Interface.type.loc8_43.2: type = facet_type <@Interface, @Interface(constants.%T.67d)> [symbolic = %Interface.type.loc8_43.1 (constants.%Interface.type.481)] // CHECK:STDOUT: } -// CHECK:STDOUT: %I.loc8_29.2: @AccessGeneric.%Interface.type.loc8_43.1 (%Interface.type.dc0) = symbolic_binding I, 1 [symbolic = %I.loc8_29.1 (constants.%I.fbb)] +// CHECK:STDOUT: %I.loc8_29.2: @AccessGeneric.%Interface.type.loc8_43.1 (%Interface.type.481) = symbolic_binding I, 1 [symbolic = %I.loc8_29.1 (constants.%I.514)] // CHECK:STDOUT: %return.param: ref @AccessGeneric.%ptr.loc8_50.1 (%ptr.e8f) = out_param call_param0 // CHECK:STDOUT: %return: ref @AccessGeneric.%ptr.loc8_50.1 (%ptr.e8f) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %AccessConcrete.decl: %AccessConcrete.type = fn_decl @AccessConcrete [concrete = constants.%AccessConcrete] { -// CHECK:STDOUT: %I.patt: %pattern_type.54d = symbolic_binding_pattern I, 0 [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.663 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.663 = return_slot_pattern %return.param_patt, %ptr [concrete] +// CHECK:STDOUT: %I.patt: %pattern_type.02c = symbolic_binding_pattern I, 0 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7b5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7b5 = return_slot_pattern %return.param_patt, %ptr [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc12_42: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc12_42 [concrete = constants.%ptr.143] -// CHECK:STDOUT: %.loc12_45: Core.Form = init_form %ptr [concrete = constants.%.793] -// CHECK:STDOUT: %.loc12_36: type = splice_block %Interface.type [concrete = constants.%Interface.type.f91] { +// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc12_42 [concrete = constants.%ptr.847] +// CHECK:STDOUT: %.loc12_45: Core.Form = init_form %ptr [concrete = constants.%.060] +// CHECK:STDOUT: %.loc12_36: type = splice_block %Interface.type [concrete = constants.%Interface.type.734] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Interface.ref: %Interface.type.82d = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.generic] +// CHECK:STDOUT: %Interface.ref: %Interface.type.77d = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.generic] // CHECK:STDOUT: %i32.loc12_33: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Interface.type: type = facet_type <@Interface, @Interface(constants.%i32)> [concrete = constants.%Interface.type.f91] +// CHECK:STDOUT: %Interface.type: type = facet_type <@Interface, @Interface(constants.%i32)> [concrete = constants.%Interface.type.734] // CHECK:STDOUT: } -// CHECK:STDOUT: %I.loc12_20.2: %Interface.type.f91 = symbolic_binding I, 0 [symbolic = %I.loc12_20.1 (constants.%I.788)] -// CHECK:STDOUT: %return.param: ref %ptr.143 = out_param call_param0 -// CHECK:STDOUT: %return: ref %ptr.143 = return_slot %return.param +// CHECK:STDOUT: %I.loc12_20.2: %Interface.type.734 = symbolic_binding I, 0 [symbolic = %I.loc12_20.1 (constants.%I.cc3)] +// CHECK:STDOUT: %return.param: ref %ptr.847 = out_param call_param0 +// CHECK:STDOUT: %return: ref %ptr.847 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -196,16 +196,16 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: %T.loc4_22.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_22.1 (constants.%T.67d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Interface.type: type = facet_type <@Interface, @Interface(%T.loc4_22.1)> [symbolic = %Interface.type (constants.%Interface.type.dc0)] -// CHECK:STDOUT: %Self.loc4_31.2: @Interface.%Interface.type (%Interface.type.dc0) = symbolic_binding Self, 1 [symbolic = %Self.loc4_31.2 (constants.%Self.ce2)] +// CHECK:STDOUT: %Interface.type: type = facet_type <@Interface, @Interface(%T.loc4_22.1)> [symbolic = %Interface.type (constants.%Interface.type.481)] +// CHECK:STDOUT: %Self.loc4_31.2: @Interface.%Interface.type (%Interface.type.481) = symbolic_binding Self, 1 [symbolic = %Self.loc4_31.2 (constants.%Self.0e1)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_31.1: @Interface.%Interface.type (%Interface.type.dc0) = symbolic_binding Self, 1 [symbolic = %Self.loc4_31.2 (constants.%Self.ce2)] +// CHECK:STDOUT: %Self.loc4_31.1: @Interface.%Interface.type (%Interface.type.481) = symbolic_binding Self, 1 [symbolic = %Self.loc4_31.2 (constants.%Self.0e1)] // CHECK:STDOUT: %Interface.WithSelf.decl = interface_with_self_decl @Interface [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %X: @Interface.WithSelf.%ptr (%ptr.e8f) = assoc_const_decl @X [concrete] { -// CHECK:STDOUT: %assoc0: @Interface.WithSelf.%Interface.assoc_type (%Interface.assoc_type.8fd) = assoc_entity element0, @Interface.WithSelf.%X [symbolic = @Interface.WithSelf.%assoc0 (constants.%assoc0.2a0)] +// CHECK:STDOUT: %assoc0: @Interface.WithSelf.%Interface.assoc_type (%Interface.assoc_type.91e) = assoc_entity element0, @Interface.WithSelf.%X [symbolic = @Interface.WithSelf.%assoc0 (constants.%assoc0.3da)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -219,73 +219,73 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @AccessGeneric(%T.loc8_19.2: type, %I.loc8_29.2: @AccessGeneric.%Interface.type.loc8_43.1 (%Interface.type.dc0)) { +// CHECK:STDOUT: generic fn @AccessGeneric(%T.loc8_19.2: type, %I.loc8_29.2: @AccessGeneric.%Interface.type.loc8_43.1 (%Interface.type.481)) { // CHECK:STDOUT: %T.loc8_19.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_19.1 (constants.%T.67d)] -// CHECK:STDOUT: %Interface.type.loc8_43.1: type = facet_type <@Interface, @Interface(%T.loc8_19.1)> [symbolic = %Interface.type.loc8_43.1 (constants.%Interface.type.dc0)] -// CHECK:STDOUT: %I.loc8_29.1: @AccessGeneric.%Interface.type.loc8_43.1 (%Interface.type.dc0) = symbolic_binding I, 1 [symbolic = %I.loc8_29.1 (constants.%I.fbb)] -// CHECK:STDOUT: %pattern_type.loc8_29: type = pattern_type %Interface.type.loc8_43.1 [symbolic = %pattern_type.loc8_29 (constants.%pattern_type.ef3)] +// CHECK:STDOUT: %Interface.type.loc8_43.1: type = facet_type <@Interface, @Interface(%T.loc8_19.1)> [symbolic = %Interface.type.loc8_43.1 (constants.%Interface.type.481)] +// CHECK:STDOUT: %I.loc8_29.1: @AccessGeneric.%Interface.type.loc8_43.1 (%Interface.type.481) = symbolic_binding I, 1 [symbolic = %I.loc8_29.1 (constants.%I.514)] +// CHECK:STDOUT: %pattern_type.loc8_29: type = pattern_type %Interface.type.loc8_43.1 [symbolic = %pattern_type.loc8_29 (constants.%pattern_type.5a0)] // CHECK:STDOUT: %ptr.loc8_50.1: type = ptr_type %T.loc8_19.1 [symbolic = %ptr.loc8_50.1 (constants.%ptr.e8f)] // CHECK:STDOUT: %.loc8_50.1: Core.Form = init_form %ptr.loc8_50.1 [symbolic = %.loc8_50.1 (constants.%.cb6)] // CHECK:STDOUT: %pattern_type.loc8_50: type = pattern_type %ptr.loc8_50.1 [symbolic = %pattern_type.loc8_50 (constants.%pattern_type.4f4)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc8: = require_complete_type %ptr.loc8_50.1 [symbolic = %require_complete.loc8 (constants.%require_complete.ef1)] -// CHECK:STDOUT: %require_complete.loc9: = require_complete_type %Interface.type.loc8_43.1 [symbolic = %require_complete.loc9 (constants.%require_complete.8f5)] -// CHECK:STDOUT: %I.as_type.loc9_11.2: type = facet_access_type %I.loc8_29.1 [symbolic = %I.as_type.loc9_11.2 (constants.%I.as_type.83f)] -// CHECK:STDOUT: %Interface.assoc_type: type = assoc_entity_type @Interface, @Interface(%T.loc8_19.1) [symbolic = %Interface.assoc_type (constants.%Interface.assoc_type.8fd)] -// CHECK:STDOUT: %assoc0: @AccessGeneric.%Interface.assoc_type (%Interface.assoc_type.8fd) = assoc_entity element0, @Interface.WithSelf.%X [symbolic = %assoc0 (constants.%assoc0.2a0)] -// CHECK:STDOUT: %Interface.lookup_impl_witness: = lookup_impl_witness %I.loc8_29.1, @Interface, @Interface(%T.loc8_19.1) [symbolic = %Interface.lookup_impl_witness (constants.%Interface.lookup_impl_witness.9df)] -// CHECK:STDOUT: %impl.elem0.loc9_11.3: @AccessGeneric.%ptr.loc8_50.1 (%ptr.e8f) = impl_witness_access %Interface.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_11.3 (constants.%impl.elem0.ff1)] -// CHECK:STDOUT: %.loc9_11.3: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc8_19.1) [symbolic = %.loc9_11.3 (constants.%.546)] -// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc8_50.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.5be)] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc8_50.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.2a3)] -// 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.a8e)] -// CHECK:STDOUT: %.loc9_11.4: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc9_11.4 (constants.%.86b)] -// CHECK:STDOUT: %impl.elem0.loc9_11.4: @AccessGeneric.%.loc9_11.4 (%.86b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_11.4 (constants.%impl.elem0.480)] -// CHECK:STDOUT: %bound_method.loc9_11.3: = bound_method %impl.elem0.loc9_11.3, %impl.elem0.loc9_11.4 [symbolic = %bound_method.loc9_11.3 (constants.%bound_method.5dd)] -// CHECK:STDOUT: %specific_impl_fn.loc9_11.2: = specific_impl_function %impl.elem0.loc9_11.4, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc9_11.2 (constants.%specific_impl_fn.d1f)] -// CHECK:STDOUT: %bound_method.loc9_11.4: = bound_method %impl.elem0.loc9_11.3, %specific_impl_fn.loc9_11.2 [symbolic = %bound_method.loc9_11.4 (constants.%bound_method.388)] +// CHECK:STDOUT: %require_complete.loc9: = require_complete_type %Interface.type.loc8_43.1 [symbolic = %require_complete.loc9 (constants.%require_complete.38c)] +// CHECK:STDOUT: %I.as_type.loc9_11.2: type = facet_access_type %I.loc8_29.1 [symbolic = %I.as_type.loc9_11.2 (constants.%I.as_type.363)] +// CHECK:STDOUT: %Interface.assoc_type: type = assoc_entity_type @Interface, @Interface(%T.loc8_19.1) [symbolic = %Interface.assoc_type (constants.%Interface.assoc_type.91e)] +// CHECK:STDOUT: %assoc0: @AccessGeneric.%Interface.assoc_type (%Interface.assoc_type.91e) = assoc_entity element0, @Interface.WithSelf.%X [symbolic = %assoc0 (constants.%assoc0.3da)] +// CHECK:STDOUT: %Interface.lookup_impl_witness: = lookup_impl_witness %I.loc8_29.1, @Interface, @Interface(%T.loc8_19.1) [symbolic = %Interface.lookup_impl_witness (constants.%Interface.lookup_impl_witness.c21)] +// CHECK:STDOUT: %impl.elem0.loc9_11.3: @AccessGeneric.%ptr.loc8_50.1 (%ptr.e8f) = impl_witness_access %Interface.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_11.3 (constants.%impl.elem0.b6b)] +// CHECK:STDOUT: %.loc9_11.3: require_specific_def_type = require_specific_def @ptr.as.Copy.impl(%T.loc8_19.1) [symbolic = %.loc9_11.3 (constants.%.b6a)] +// CHECK:STDOUT: %Copy.lookup_impl_witness: = lookup_impl_witness %ptr.loc8_50.1, @Copy [symbolic = %Copy.lookup_impl_witness (constants.%Copy.lookup_impl_witness.2bf)] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.loc8_50.1, (%Copy.lookup_impl_witness) [symbolic = %Copy.facet (constants.%Copy.facet.44d)] +// 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.72b)] +// CHECK:STDOUT: %.loc9_11.4: type = fn_type_with_self_type %Copy.WithSelf.Op.type, %Copy.facet [symbolic = %.loc9_11.4 (constants.%.39b)] +// CHECK:STDOUT: %impl.elem0.loc9_11.4: @AccessGeneric.%.loc9_11.4 (%.39b) = impl_witness_access %Copy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc9_11.4 (constants.%impl.elem0.8a3)] +// CHECK:STDOUT: %bound_method.loc9_11.3: = bound_method %impl.elem0.loc9_11.3, %impl.elem0.loc9_11.4 [symbolic = %bound_method.loc9_11.3 (constants.%bound_method.f92)] +// CHECK:STDOUT: %specific_impl_fn.loc9_11.2: = specific_impl_function %impl.elem0.loc9_11.4, @Copy.WithSelf.Op(%Copy.facet) [symbolic = %specific_impl_fn.loc9_11.2 (constants.%specific_impl_fn.a13)] +// CHECK:STDOUT: %bound_method.loc9_11.4: = bound_method %impl.elem0.loc9_11.3, %specific_impl_fn.loc9_11.2 [symbolic = %bound_method.loc9_11.4 (constants.%bound_method.2d4)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @AccessGeneric.%ptr.loc8_50.1 (%ptr.e8f) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %I.ref: @AccessGeneric.%Interface.type.loc8_43.1 (%Interface.type.dc0) = name_ref I, %I.loc8_29.2 [symbolic = %I.loc8_29.1 (constants.%I.fbb)] -// CHECK:STDOUT: %I.as_type.loc9_11.1: type = facet_access_type %I.ref [symbolic = %I.as_type.loc9_11.2 (constants.%I.as_type.83f)] -// CHECK:STDOUT: %.loc9_11.1: type = converted %I.ref, %I.as_type.loc9_11.1 [symbolic = %I.as_type.loc9_11.2 (constants.%I.as_type.83f)] -// CHECK:STDOUT: %.loc9_11.2: @AccessGeneric.%Interface.assoc_type (%Interface.assoc_type.8fd) = specific_constant @X.%assoc0, @Interface.WithSelf(constants.%T.67d, constants.%I.fbb) [symbolic = %assoc0 (constants.%assoc0.2a0)] -// CHECK:STDOUT: %X.ref: @AccessGeneric.%Interface.assoc_type (%Interface.assoc_type.8fd) = name_ref X, %.loc9_11.2 [symbolic = %assoc0 (constants.%assoc0.2a0)] -// CHECK:STDOUT: %impl.elem0.loc9_11.1: @AccessGeneric.%ptr.loc8_50.1 (%ptr.e8f) = impl_witness_access constants.%Interface.lookup_impl_witness.9df, element0 [symbolic = %impl.elem0.loc9_11.3 (constants.%impl.elem0.ff1)] -// CHECK:STDOUT: %impl.elem0.loc9_11.2: @AccessGeneric.%.loc9_11.4 (%.86b) = impl_witness_access constants.%Copy.lookup_impl_witness.5be, element0 [symbolic = %impl.elem0.loc9_11.4 (constants.%impl.elem0.480)] -// CHECK:STDOUT: %bound_method.loc9_11.1: = bound_method %impl.elem0.loc9_11.1, %impl.elem0.loc9_11.2 [symbolic = %bound_method.loc9_11.3 (constants.%bound_method.5dd)] -// CHECK:STDOUT: %specific_impl_fn.loc9_11.1: = specific_impl_function %impl.elem0.loc9_11.2, @Copy.WithSelf.Op(constants.%Copy.facet.2a3) [symbolic = %specific_impl_fn.loc9_11.2 (constants.%specific_impl_fn.d1f)] -// CHECK:STDOUT: %bound_method.loc9_11.2: = bound_method %impl.elem0.loc9_11.1, %specific_impl_fn.loc9_11.1 [symbolic = %bound_method.loc9_11.4 (constants.%bound_method.388)] +// CHECK:STDOUT: %I.ref: @AccessGeneric.%Interface.type.loc8_43.1 (%Interface.type.481) = name_ref I, %I.loc8_29.2 [symbolic = %I.loc8_29.1 (constants.%I.514)] +// CHECK:STDOUT: %I.as_type.loc9_11.1: type = facet_access_type %I.ref [symbolic = %I.as_type.loc9_11.2 (constants.%I.as_type.363)] +// CHECK:STDOUT: %.loc9_11.1: type = converted %I.ref, %I.as_type.loc9_11.1 [symbolic = %I.as_type.loc9_11.2 (constants.%I.as_type.363)] +// CHECK:STDOUT: %.loc9_11.2: @AccessGeneric.%Interface.assoc_type (%Interface.assoc_type.91e) = specific_constant @X.%assoc0, @Interface.WithSelf(constants.%T.67d, constants.%I.514) [symbolic = %assoc0 (constants.%assoc0.3da)] +// CHECK:STDOUT: %X.ref: @AccessGeneric.%Interface.assoc_type (%Interface.assoc_type.91e) = name_ref X, %.loc9_11.2 [symbolic = %assoc0 (constants.%assoc0.3da)] +// CHECK:STDOUT: %impl.elem0.loc9_11.1: @AccessGeneric.%ptr.loc8_50.1 (%ptr.e8f) = impl_witness_access constants.%Interface.lookup_impl_witness.c21, element0 [symbolic = %impl.elem0.loc9_11.3 (constants.%impl.elem0.b6b)] +// CHECK:STDOUT: %impl.elem0.loc9_11.2: @AccessGeneric.%.loc9_11.4 (%.39b) = impl_witness_access constants.%Copy.lookup_impl_witness.2bf, element0 [symbolic = %impl.elem0.loc9_11.4 (constants.%impl.elem0.8a3)] +// CHECK:STDOUT: %bound_method.loc9_11.1: = bound_method %impl.elem0.loc9_11.1, %impl.elem0.loc9_11.2 [symbolic = %bound_method.loc9_11.3 (constants.%bound_method.f92)] +// CHECK:STDOUT: %specific_impl_fn.loc9_11.1: = specific_impl_function %impl.elem0.loc9_11.2, @Copy.WithSelf.Op(constants.%Copy.facet.44d) [symbolic = %specific_impl_fn.loc9_11.2 (constants.%specific_impl_fn.a13)] +// CHECK:STDOUT: %bound_method.loc9_11.2: = bound_method %impl.elem0.loc9_11.1, %specific_impl_fn.loc9_11.1 [symbolic = %bound_method.loc9_11.4 (constants.%bound_method.2d4)] // CHECK:STDOUT: %Copy.WithSelf.Op.call: init @AccessGeneric.%ptr.loc8_50.1 (%ptr.e8f) = call %bound_method.loc9_11.2(%impl.elem0.loc9_11.1) // CHECK:STDOUT: return %Copy.WithSelf.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @AccessConcrete(%I.loc12_20.2: %Interface.type.f91) { -// CHECK:STDOUT: %I.loc12_20.1: %Interface.type.f91 = symbolic_binding I, 0 [symbolic = %I.loc12_20.1 (constants.%I.788)] +// CHECK:STDOUT: generic fn @AccessConcrete(%I.loc12_20.2: %Interface.type.734) { +// CHECK:STDOUT: %I.loc12_20.1: %Interface.type.734 = symbolic_binding I, 0 [symbolic = %I.loc12_20.1 (constants.%I.cc3)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.as_type.loc13_11.2: type = facet_access_type %I.loc12_20.1 [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.d66)] -// CHECK:STDOUT: %Interface.lookup_impl_witness: = lookup_impl_witness %I.loc12_20.1, @Interface, @Interface(constants.%i32) [symbolic = %Interface.lookup_impl_witness (constants.%Interface.lookup_impl_witness.01c)] -// CHECK:STDOUT: %impl.elem0.loc13_11.3: %ptr.143 = impl_witness_access %Interface.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_11.3 (constants.%impl.elem0.c3f)] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %impl.elem0.loc13_11.3, constants.%ptr.as.Copy.impl.Op.6e2 [symbolic = %ptr.as.Copy.impl.Op.bound (constants.%ptr.as.Copy.impl.Op.bound)] -// CHECK:STDOUT: %bound_method.loc13_11.3: = bound_method %impl.elem0.loc13_11.3, constants.%ptr.as.Copy.impl.Op.specific_fn [symbolic = %bound_method.loc13_11.3 (constants.%bound_method.f50)] +// CHECK:STDOUT: %I.as_type.loc13_11.2: type = facet_access_type %I.loc12_20.1 [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.51d)] +// CHECK:STDOUT: %Interface.lookup_impl_witness: = lookup_impl_witness %I.loc12_20.1, @Interface, @Interface(constants.%i32) [symbolic = %Interface.lookup_impl_witness (constants.%Interface.lookup_impl_witness.5ef)] +// CHECK:STDOUT: %impl.elem0.loc13_11.3: %ptr.847 = impl_witness_access %Interface.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_11.3 (constants.%impl.elem0.cf4)] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %impl.elem0.loc13_11.3, constants.%ptr.as.Copy.impl.Op.6e4 [symbolic = %ptr.as.Copy.impl.Op.bound (constants.%ptr.as.Copy.impl.Op.bound)] +// CHECK:STDOUT: %bound_method.loc13_11.3: = bound_method %impl.elem0.loc13_11.3, constants.%ptr.as.Copy.impl.Op.specific_fn [symbolic = %bound_method.loc13_11.3 (constants.%bound_method.915)] // CHECK:STDOUT: -// CHECK:STDOUT: fn() -> out %return.param: %ptr.143 { +// CHECK:STDOUT: fn() -> out %return.param: %ptr.847 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %I.ref: %Interface.type.f91 = name_ref I, %I.loc12_20.2 [symbolic = %I.loc12_20.1 (constants.%I.788)] -// CHECK:STDOUT: %I.as_type.loc13_11.1: type = facet_access_type %I.ref [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.d66)] -// CHECK:STDOUT: %.loc13_11.1: type = converted %I.ref, %I.as_type.loc13_11.1 [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.d66)] -// CHECK:STDOUT: %.loc13_11.2: %Interface.assoc_type.530 = specific_constant @X.%assoc0, @Interface.WithSelf(constants.%i32, constants.%I.788) [concrete = constants.%assoc0.4b7] -// CHECK:STDOUT: %X.ref: %Interface.assoc_type.530 = name_ref X, %.loc13_11.2 [concrete = constants.%assoc0.4b7] -// CHECK:STDOUT: %impl.elem0.loc13_11.1: %ptr.143 = impl_witness_access constants.%Interface.lookup_impl_witness.01c, element0 [symbolic = %impl.elem0.loc13_11.3 (constants.%impl.elem0.c3f)] -// CHECK:STDOUT: %impl.elem0.loc13_11.2: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %I.ref: %Interface.type.734 = name_ref I, %I.loc12_20.2 [symbolic = %I.loc12_20.1 (constants.%I.cc3)] +// CHECK:STDOUT: %I.as_type.loc13_11.1: type = facet_access_type %I.ref [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.51d)] +// CHECK:STDOUT: %.loc13_11.1: type = converted %I.ref, %I.as_type.loc13_11.1 [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.51d)] +// CHECK:STDOUT: %.loc13_11.2: %Interface.assoc_type.488 = specific_constant @X.%assoc0, @Interface.WithSelf(constants.%i32, constants.%I.cc3) [concrete = constants.%assoc0.868] +// CHECK:STDOUT: %X.ref: %Interface.assoc_type.488 = name_ref X, %.loc13_11.2 [concrete = constants.%assoc0.868] +// CHECK:STDOUT: %impl.elem0.loc13_11.1: %ptr.847 = impl_witness_access constants.%Interface.lookup_impl_witness.5ef, element0 [symbolic = %impl.elem0.loc13_11.3 (constants.%impl.elem0.cf4)] +// CHECK:STDOUT: %impl.elem0.loc13_11.2: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc13_11.1: = bound_method %impl.elem0.loc13_11.1, %impl.elem0.loc13_11.2 [symbolic = %ptr.as.Copy.impl.Op.bound (constants.%ptr.as.Copy.impl.Op.bound)] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc13_11.2, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_11.2: = bound_method %impl.elem0.loc13_11.1, %specific_fn [symbolic = %bound_method.loc13_11.3 (constants.%bound_method.f50)] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.143 = call %bound_method.loc13_11.2(%impl.elem0.loc13_11.1) [symbolic = %impl.elem0.loc13_11.3 (constants.%impl.elem0.c3f)] +// CHECK:STDOUT: %bound_method.loc13_11.2: = bound_method %impl.elem0.loc13_11.1, %specific_fn [symbolic = %bound_method.loc13_11.3 (constants.%bound_method.915)] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.847 = call %bound_method.loc13_11.2(%impl.elem0.loc13_11.1) [symbolic = %impl.elem0.loc13_11.3 (constants.%impl.elem0.cf4)] // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -294,62 +294,62 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: %T.loc4_22.1 => constants.%T.67d // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Interface.type => constants.%Interface.type.dc0 -// CHECK:STDOUT: %Self.loc4_31.2 => constants.%Self.ce2 +// CHECK:STDOUT: %Interface.type => constants.%Interface.type.481 +// CHECK:STDOUT: %Self.loc4_31.2 => constants.%Self.0e1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%T.67d, constants.%Self.ce2) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%T.67d, constants.%Self.0e1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T.67d // CHECK:STDOUT: %ptr => constants.%ptr.e8f -// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.8fd -// CHECK:STDOUT: %assoc0 => constants.%assoc0.2a0 +// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.91e +// CHECK:STDOUT: %assoc0 => constants.%assoc0.3da // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AccessGeneric(constants.%T.67d, constants.%I.fbb) { +// CHECK:STDOUT: specific @AccessGeneric(constants.%T.67d, constants.%I.514) { // CHECK:STDOUT: %T.loc8_19.1 => constants.%T.67d -// CHECK:STDOUT: %Interface.type.loc8_43.1 => constants.%Interface.type.dc0 -// CHECK:STDOUT: %I.loc8_29.1 => constants.%I.fbb -// CHECK:STDOUT: %pattern_type.loc8_29 => constants.%pattern_type.ef3 +// CHECK:STDOUT: %Interface.type.loc8_43.1 => constants.%Interface.type.481 +// CHECK:STDOUT: %I.loc8_29.1 => constants.%I.514 +// CHECK:STDOUT: %pattern_type.loc8_29 => constants.%pattern_type.5a0 // CHECK:STDOUT: %ptr.loc8_50.1 => constants.%ptr.e8f // CHECK:STDOUT: %.loc8_50.1 => constants.%.cb6 // CHECK:STDOUT: %pattern_type.loc8_50 => constants.%pattern_type.4f4 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%T.67d, constants.%I.fbb) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%T.67d, constants.%I.514) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T.67d // CHECK:STDOUT: %ptr => constants.%ptr.e8f -// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.8fd -// CHECK:STDOUT: %assoc0 => constants.%assoc0.2a0 +// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.91e +// CHECK:STDOUT: %assoc0 => constants.%assoc0.3da // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Interface(constants.%i32) { // CHECK:STDOUT: %T.loc4_22.1 => constants.%i32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Interface.type => constants.%Interface.type.f91 -// CHECK:STDOUT: %Self.loc4_31.2 => constants.%Self.4ef +// CHECK:STDOUT: %Interface.type => constants.%Interface.type.734 +// CHECK:STDOUT: %Self.loc4_31.2 => constants.%Self.f3b // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AccessConcrete(constants.%I.788) { -// CHECK:STDOUT: %I.loc12_20.1 => constants.%I.788 +// CHECK:STDOUT: specific @AccessConcrete(constants.%I.cc3) { +// CHECK:STDOUT: %I.loc12_20.1 => constants.%I.cc3 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%i32, constants.%Self.ce2) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%i32, constants.%Self.0e1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %ptr => constants.%ptr.143 -// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.530 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.4b7 +// CHECK:STDOUT: %ptr => constants.%ptr.847 +// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.488 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.868 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%i32, constants.%I.788) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%i32, constants.%I.cc3) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %ptr => constants.%ptr.143 -// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.530 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.4b7 +// CHECK:STDOUT: %ptr => constants.%ptr.847 +// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.488 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.868 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_no_member.carbon @@ -359,38 +359,38 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Interface.type.2c5: type = generic_interface_type @Interface [concrete] -// CHECK:STDOUT: %Interface.generic: %Interface.type.2c5 = struct_value () [concrete] -// CHECK:STDOUT: %Interface.type.7df: type = facet_type <@Interface, @Interface(%T)> [symbolic] -// CHECK:STDOUT: %Self.2bc: %Interface.type.7df = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Interface.type.77d: type = generic_interface_type @Interface [concrete] +// CHECK:STDOUT: %Interface.generic: %Interface.type.77d = struct_value () [concrete] +// CHECK:STDOUT: %Interface.type.481: type = facet_type <@Interface, @Interface(%T)> [symbolic] +// CHECK:STDOUT: %Self.0e1: %Interface.type.481 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T [symbolic] -// CHECK:STDOUT: %Interface.assoc_type.924: type = assoc_entity_type @Interface, @Interface(%T) [symbolic] -// CHECK:STDOUT: %assoc0.981: %Interface.assoc_type.924 = assoc_entity element0, @Interface.WithSelf.%X [symbolic] -// CHECK:STDOUT: %pattern_type.76c: type = pattern_type %Interface.type.7df [symbolic] -// CHECK:STDOUT: %I.9d2: %Interface.type.7df = symbolic_binding I, 1 [symbolic] +// CHECK:STDOUT: %Interface.assoc_type.91e: type = assoc_entity_type @Interface, @Interface(%T) [symbolic] +// CHECK:STDOUT: %assoc0.3da: %Interface.assoc_type.91e = assoc_entity element0, @Interface.WithSelf.%X [symbolic] +// CHECK:STDOUT: %pattern_type.5a0: type = pattern_type %Interface.type.481 [symbolic] +// CHECK:STDOUT: %I.514: %Interface.type.481 = symbolic_binding I, 1 [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %T [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] // CHECK:STDOUT: %AccessMissingGeneric.type: type = fn_type @AccessMissingGeneric [concrete] // CHECK:STDOUT: %AccessMissingGeneric: %AccessMissingGeneric.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T [symbolic] -// CHECK:STDOUT: %require_complete.08e: = require_complete_type %Interface.type.7df [symbolic] -// CHECK:STDOUT: %I.as_type.90a: type = facet_access_type %I.9d2 [symbolic] +// CHECK:STDOUT: %require_complete.38c: = require_complete_type %Interface.type.481 [symbolic] +// CHECK:STDOUT: %I.as_type.363: type = facet_access_type %I.514 [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %Interface.type.e02: type = facet_type <@Interface, @Interface(%i32)> [concrete] -// CHECK:STDOUT: %pattern_type.555: type = pattern_type %Interface.type.e02 [concrete] -// CHECK:STDOUT: %I.d05: %Interface.type.e02 = symbolic_binding I, 0 [symbolic] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Interface.type.734: type = facet_type <@Interface, @Interface(%i32)> [concrete] +// CHECK:STDOUT: %pattern_type.02c: type = pattern_type %Interface.type.734 [concrete] +// CHECK:STDOUT: %I.cc3: %Interface.type.734 = symbolic_binding I, 0 [symbolic] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %AccessMissingConcrete.type: type = fn_type @AccessMissingConcrete [concrete] // CHECK:STDOUT: %AccessMissingConcrete: %AccessMissingConcrete.type = struct_value () [concrete] -// CHECK:STDOUT: %Self.68c: %Interface.type.e02 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %Interface.assoc_type.be8: type = assoc_entity_type @Interface, @Interface(%i32) [concrete] -// CHECK:STDOUT: %assoc0.039: %Interface.assoc_type.be8 = assoc_entity element0, @Interface.WithSelf.%X [concrete] -// CHECK:STDOUT: %I.as_type.85e: type = facet_access_type %I.d05 [symbolic] +// CHECK:STDOUT: %Self.f3b: %Interface.type.734 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %Interface.assoc_type.488: type = assoc_entity_type @Interface, @Interface(%i32) [concrete] +// CHECK:STDOUT: %assoc0.868: %Interface.assoc_type.488 = assoc_entity element0, @Interface.WithSelf.%X [concrete] +// CHECK:STDOUT: %I.as_type.51d: type = facet_access_type %I.cc3 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -410,7 +410,7 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: .AccessMissingConcrete = %AccessMissingConcrete.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %Interface.decl: %Interface.type.2c5 = interface_decl @Interface [concrete = constants.%Interface.generic] { +// CHECK:STDOUT: %Interface.decl: %Interface.type.77d = interface_decl @Interface [concrete = constants.%Interface.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_25.1: type = splice_block %.loc4_25.2 [concrete = type] { @@ -421,7 +421,7 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %AccessMissingGeneric.decl: %AccessMissingGeneric.type = fn_decl @AccessMissingGeneric [concrete = constants.%AccessMissingGeneric] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %I.patt: @AccessMissingGeneric.%pattern_type.loc8_36 (%pattern_type.76c) = symbolic_binding_pattern I, 1 [concrete] +// CHECK:STDOUT: %I.patt: @AccessMissingGeneric.%pattern_type.loc8_36 (%pattern_type.5a0) = symbolic_binding_pattern I, 1 [concrete] // CHECK:STDOUT: %return.param_patt: @AccessMissingGeneric.%pattern_type.loc8_56 (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @AccessMissingGeneric.%pattern_type.loc8_56 (%pattern_type.51d) = return_slot_pattern %return.param_patt, %T.ref.loc8_56 [concrete] // CHECK:STDOUT: } { @@ -432,30 +432,30 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: %.loc8_29.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc8_26.2: type = symbolic_binding T, 0 [symbolic = %T.loc8_26.1 (constants.%T)] -// CHECK:STDOUT: %.loc8_50: type = splice_block %Interface.type.loc8_50.2 [symbolic = %Interface.type.loc8_50.1 (constants.%Interface.type.7df)] { +// CHECK:STDOUT: %.loc8_50: type = splice_block %Interface.type.loc8_50.2 [symbolic = %Interface.type.loc8_50.1 (constants.%Interface.type.481)] { // CHECK:STDOUT: %.Self.loc8_36: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Interface.ref: %Interface.type.2c5 = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.generic] +// CHECK:STDOUT: %Interface.ref: %Interface.type.77d = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.generic] // CHECK:STDOUT: %T.ref.loc8_49: type = name_ref T, %T.loc8_26.2 [symbolic = %T.loc8_26.1 (constants.%T)] -// CHECK:STDOUT: %Interface.type.loc8_50.2: type = facet_type <@Interface, @Interface(constants.%T)> [symbolic = %Interface.type.loc8_50.1 (constants.%Interface.type.7df)] +// CHECK:STDOUT: %Interface.type.loc8_50.2: type = facet_type <@Interface, @Interface(constants.%T)> [symbolic = %Interface.type.loc8_50.1 (constants.%Interface.type.481)] // CHECK:STDOUT: } -// CHECK:STDOUT: %I.loc8_36.2: @AccessMissingGeneric.%Interface.type.loc8_50.1 (%Interface.type.7df) = symbolic_binding I, 1 [symbolic = %I.loc8_36.1 (constants.%I.9d2)] +// CHECK:STDOUT: %I.loc8_36.2: @AccessMissingGeneric.%Interface.type.loc8_50.1 (%Interface.type.481) = symbolic_binding I, 1 [symbolic = %I.loc8_36.1 (constants.%I.514)] // CHECK:STDOUT: %return.param: ref @AccessMissingGeneric.%T.loc8_26.1 (%T) = out_param call_param0 // CHECK:STDOUT: %return: ref @AccessMissingGeneric.%T.loc8_26.1 (%T) = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %AccessMissingConcrete.decl: %AccessMissingConcrete.type = fn_decl @AccessMissingConcrete [concrete = constants.%AccessMissingConcrete] { -// CHECK:STDOUT: %I.patt: %pattern_type.555 = symbolic_binding_pattern I, 0 [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc16_49 [concrete] +// CHECK:STDOUT: %I.patt: %pattern_type.02c = symbolic_binding_pattern I, 0 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc16_49 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc16_49: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16_49: Core.Form = init_form %i32.loc16_49 [concrete = constants.%.70c] -// CHECK:STDOUT: %.loc16_43: type = splice_block %Interface.type [concrete = constants.%Interface.type.e02] { +// CHECK:STDOUT: %.loc16_49: Core.Form = init_form %i32.loc16_49 [concrete = constants.%.7ea] +// CHECK:STDOUT: %.loc16_43: type = splice_block %Interface.type [concrete = constants.%Interface.type.734] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Interface.ref: %Interface.type.2c5 = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.generic] +// CHECK:STDOUT: %Interface.ref: %Interface.type.77d = name_ref Interface, file.%Interface.decl [concrete = constants.%Interface.generic] // CHECK:STDOUT: %i32.loc16_40: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Interface.type: type = facet_type <@Interface, @Interface(constants.%i32)> [concrete = constants.%Interface.type.e02] +// CHECK:STDOUT: %Interface.type: type = facet_type <@Interface, @Interface(constants.%i32)> [concrete = constants.%Interface.type.734] // CHECK:STDOUT: } -// CHECK:STDOUT: %I.loc16_27.2: %Interface.type.e02 = symbolic_binding I, 0 [symbolic = %I.loc16_27.1 (constants.%I.d05)] +// CHECK:STDOUT: %I.loc16_27.2: %Interface.type.734 = symbolic_binding I, 0 [symbolic = %I.loc16_27.1 (constants.%I.cc3)] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -465,16 +465,16 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: %T.loc4_22.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_22.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Interface.type: type = facet_type <@Interface, @Interface(%T.loc4_22.1)> [symbolic = %Interface.type (constants.%Interface.type.7df)] -// CHECK:STDOUT: %Self.loc4_31.2: @Interface.%Interface.type (%Interface.type.7df) = symbolic_binding Self, 1 [symbolic = %Self.loc4_31.2 (constants.%Self.2bc)] +// CHECK:STDOUT: %Interface.type: type = facet_type <@Interface, @Interface(%T.loc4_22.1)> [symbolic = %Interface.type (constants.%Interface.type.481)] +// CHECK:STDOUT: %Self.loc4_31.2: @Interface.%Interface.type (%Interface.type.481) = symbolic_binding Self, 1 [symbolic = %Self.loc4_31.2 (constants.%Self.0e1)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_31.1: @Interface.%Interface.type (%Interface.type.7df) = symbolic_binding Self, 1 [symbolic = %Self.loc4_31.2 (constants.%Self.2bc)] +// CHECK:STDOUT: %Self.loc4_31.1: @Interface.%Interface.type (%Interface.type.481) = symbolic_binding Self, 1 [symbolic = %Self.loc4_31.2 (constants.%Self.0e1)] // CHECK:STDOUT: %Interface.WithSelf.decl = interface_with_self_decl @Interface [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %X: @Interface.WithSelf.%ptr (%ptr.e8f) = assoc_const_decl @X [concrete] { -// CHECK:STDOUT: %assoc0: @Interface.WithSelf.%Interface.assoc_type (%Interface.assoc_type.924) = assoc_entity element0, @Interface.WithSelf.%X [symbolic = @Interface.WithSelf.%assoc0 (constants.%assoc0.981)] +// CHECK:STDOUT: %assoc0: @Interface.WithSelf.%Interface.assoc_type (%Interface.assoc_type.91e) = assoc_entity element0, @Interface.WithSelf.%X [symbolic = @Interface.WithSelf.%assoc0 (constants.%assoc0.3da)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -489,40 +489,40 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @AccessMissingGeneric(%T.loc8_26.2: type, %I.loc8_36.2: @AccessMissingGeneric.%Interface.type.loc8_50.1 (%Interface.type.7df)) { +// CHECK:STDOUT: generic fn @AccessMissingGeneric(%T.loc8_26.2: type, %I.loc8_36.2: @AccessMissingGeneric.%Interface.type.loc8_50.1 (%Interface.type.481)) { // CHECK:STDOUT: %T.loc8_26.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_26.1 (constants.%T)] -// CHECK:STDOUT: %Interface.type.loc8_50.1: type = facet_type <@Interface, @Interface(%T.loc8_26.1)> [symbolic = %Interface.type.loc8_50.1 (constants.%Interface.type.7df)] -// CHECK:STDOUT: %I.loc8_36.1: @AccessMissingGeneric.%Interface.type.loc8_50.1 (%Interface.type.7df) = symbolic_binding I, 1 [symbolic = %I.loc8_36.1 (constants.%I.9d2)] -// CHECK:STDOUT: %pattern_type.loc8_36: type = pattern_type %Interface.type.loc8_50.1 [symbolic = %pattern_type.loc8_36 (constants.%pattern_type.76c)] +// CHECK:STDOUT: %Interface.type.loc8_50.1: type = facet_type <@Interface, @Interface(%T.loc8_26.1)> [symbolic = %Interface.type.loc8_50.1 (constants.%Interface.type.481)] +// CHECK:STDOUT: %I.loc8_36.1: @AccessMissingGeneric.%Interface.type.loc8_50.1 (%Interface.type.481) = symbolic_binding I, 1 [symbolic = %I.loc8_36.1 (constants.%I.514)] +// CHECK:STDOUT: %pattern_type.loc8_36: type = pattern_type %Interface.type.loc8_50.1 [symbolic = %pattern_type.loc8_36 (constants.%pattern_type.5a0)] // CHECK:STDOUT: %.loc8_56.1: Core.Form = init_form %T.loc8_26.1 [symbolic = %.loc8_56.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.loc8_56: type = pattern_type %T.loc8_26.1 [symbolic = %pattern_type.loc8_56 (constants.%pattern_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc8: = require_complete_type %T.loc8_26.1 [symbolic = %require_complete.loc8 (constants.%require_complete.944)] -// CHECK:STDOUT: %require_complete.loc13: = require_complete_type %Interface.type.loc8_50.1 [symbolic = %require_complete.loc13 (constants.%require_complete.08e)] -// CHECK:STDOUT: %I.as_type.loc13_11.2: type = facet_access_type %I.loc8_36.1 [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.90a)] +// CHECK:STDOUT: %require_complete.loc13: = require_complete_type %Interface.type.loc8_50.1 [symbolic = %require_complete.loc13 (constants.%require_complete.38c)] +// CHECK:STDOUT: %I.as_type.loc13_11.2: type = facet_access_type %I.loc8_36.1 [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.363)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @AccessMissingGeneric.%T.loc8_26.1 (%T) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %I.ref: @AccessMissingGeneric.%Interface.type.loc8_50.1 (%Interface.type.7df) = name_ref I, %I.loc8_36.2 [symbolic = %I.loc8_36.1 (constants.%I.9d2)] -// CHECK:STDOUT: %I.as_type.loc13_11.1: type = facet_access_type %I.ref [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.90a)] -// CHECK:STDOUT: %.loc13: type = converted %I.ref, %I.as_type.loc13_11.1 [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.90a)] +// CHECK:STDOUT: %I.ref: @AccessMissingGeneric.%Interface.type.loc8_50.1 (%Interface.type.481) = name_ref I, %I.loc8_36.2 [symbolic = %I.loc8_36.1 (constants.%I.514)] +// CHECK:STDOUT: %I.as_type.loc13_11.1: type = facet_access_type %I.ref [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.363)] +// CHECK:STDOUT: %.loc13: type = converted %I.ref, %I.as_type.loc13_11.1 [symbolic = %I.as_type.loc13_11.2 (constants.%I.as_type.363)] // CHECK:STDOUT: %nonesuch.ref: = name_ref nonesuch, [concrete = ] // CHECK:STDOUT: return to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @AccessMissingConcrete(%I.loc16_27.2: %Interface.type.e02) { -// CHECK:STDOUT: %I.loc16_27.1: %Interface.type.e02 = symbolic_binding I, 0 [symbolic = %I.loc16_27.1 (constants.%I.d05)] +// CHECK:STDOUT: generic fn @AccessMissingConcrete(%I.loc16_27.2: %Interface.type.734) { +// CHECK:STDOUT: %I.loc16_27.1: %Interface.type.734 = symbolic_binding I, 0 [symbolic = %I.loc16_27.1 (constants.%I.cc3)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %I.as_type.loc21_11.2: type = facet_access_type %I.loc16_27.1 [symbolic = %I.as_type.loc21_11.2 (constants.%I.as_type.85e)] +// CHECK:STDOUT: %I.as_type.loc21_11.2: type = facet_access_type %I.loc16_27.1 [symbolic = %I.as_type.loc21_11.2 (constants.%I.as_type.51d)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %I.ref: %Interface.type.e02 = name_ref I, %I.loc16_27.2 [symbolic = %I.loc16_27.1 (constants.%I.d05)] -// CHECK:STDOUT: %I.as_type.loc21_11.1: type = facet_access_type %I.ref [symbolic = %I.as_type.loc21_11.2 (constants.%I.as_type.85e)] -// CHECK:STDOUT: %.loc21: type = converted %I.ref, %I.as_type.loc21_11.1 [symbolic = %I.as_type.loc21_11.2 (constants.%I.as_type.85e)] +// CHECK:STDOUT: %I.ref: %Interface.type.734 = name_ref I, %I.loc16_27.2 [symbolic = %I.loc16_27.1 (constants.%I.cc3)] +// CHECK:STDOUT: %I.as_type.loc21_11.1: type = facet_access_type %I.ref [symbolic = %I.as_type.loc21_11.2 (constants.%I.as_type.51d)] +// CHECK:STDOUT: %.loc21: type = converted %I.ref, %I.as_type.loc21_11.1 [symbolic = %I.as_type.loc21_11.2 (constants.%I.as_type.51d)] // CHECK:STDOUT: %nonesuch.ref: = name_ref nonesuch, [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -532,60 +532,60 @@ fn AccessMissingConcrete(I:! Interface(i32)) -> i32 { // CHECK:STDOUT: %T.loc4_22.1 => constants.%T // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Interface.type => constants.%Interface.type.7df -// CHECK:STDOUT: %Self.loc4_31.2 => constants.%Self.2bc +// CHECK:STDOUT: %Interface.type => constants.%Interface.type.481 +// CHECK:STDOUT: %Self.loc4_31.2 => constants.%Self.0e1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%T, constants.%Self.2bc) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%T, constants.%Self.0e1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %ptr => constants.%ptr.e8f -// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.924 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.981 +// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.91e +// CHECK:STDOUT: %assoc0 => constants.%assoc0.3da // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AccessMissingGeneric(constants.%T, constants.%I.9d2) { +// CHECK:STDOUT: specific @AccessMissingGeneric(constants.%T, constants.%I.514) { // CHECK:STDOUT: %T.loc8_26.1 => constants.%T -// CHECK:STDOUT: %Interface.type.loc8_50.1 => constants.%Interface.type.7df -// CHECK:STDOUT: %I.loc8_36.1 => constants.%I.9d2 -// CHECK:STDOUT: %pattern_type.loc8_36 => constants.%pattern_type.76c +// CHECK:STDOUT: %Interface.type.loc8_50.1 => constants.%Interface.type.481 +// CHECK:STDOUT: %I.loc8_36.1 => constants.%I.514 +// CHECK:STDOUT: %pattern_type.loc8_36 => constants.%pattern_type.5a0 // CHECK:STDOUT: %.loc8_56.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.loc8_56 => constants.%pattern_type.51d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%T, constants.%I.9d2) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%T, constants.%I.514) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: %ptr => constants.%ptr.e8f -// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.924 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.981 +// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.91e +// CHECK:STDOUT: %assoc0 => constants.%assoc0.3da // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Interface(constants.%i32) { // CHECK:STDOUT: %T.loc4_22.1 => constants.%i32 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Interface.type => constants.%Interface.type.e02 -// CHECK:STDOUT: %Self.loc4_31.2 => constants.%Self.68c +// CHECK:STDOUT: %Interface.type => constants.%Interface.type.734 +// CHECK:STDOUT: %Self.loc4_31.2 => constants.%Self.f3b // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AccessMissingConcrete(constants.%I.d05) { -// CHECK:STDOUT: %I.loc16_27.1 => constants.%I.d05 +// CHECK:STDOUT: specific @AccessMissingConcrete(constants.%I.cc3) { +// CHECK:STDOUT: %I.loc16_27.1 => constants.%I.cc3 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%i32, constants.%Self.2bc) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%i32, constants.%Self.0e1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %ptr => constants.%ptr.143 -// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.be8 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.039 +// CHECK:STDOUT: %ptr => constants.%ptr.847 +// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.488 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.868 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Interface.WithSelf(constants.%i32, constants.%I.d05) { +// CHECK:STDOUT: specific @Interface.WithSelf(constants.%i32, constants.%I.cc3) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%i32 -// CHECK:STDOUT: %ptr => constants.%ptr.143 -// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.be8 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.039 +// CHECK:STDOUT: %ptr => constants.%ptr.847 +// CHECK:STDOUT: %Interface.assoc_type => constants.%Interface.assoc_type.488 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.868 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/require.carbon b/toolchain/check/testdata/interface/require.carbon index ff6cefbf8b99..c9f8d0a84d89 100644 --- a/toolchain/check/testdata/interface/require.carbon +++ b/toolchain/check/testdata/interface/require.carbon @@ -377,8 +377,8 @@ interface Z(T:! type) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.bad: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.bad [symbolic] +// CHECK:STDOUT: %Self.91f: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.91f [symbolic] // CHECK:STDOUT: %T: %Z.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -387,7 +387,7 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.bad] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91f] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -397,7 +397,7 @@ interface Z(T:! type) { // CHECK:STDOUT: %Self.as_type.loc9_18.1: type = facet_access_type @Z.%Self [symbolic = %Self.as_type.loc9_18.2 (constants.%Self.as_type)] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc9: type = specific_constant @Z.WithSelf.Self.as_type.impls.Y.type.require.%Y.ref, @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.bad) [concrete = constants.%Y.type] +// CHECK:STDOUT: %.loc9: type = specific_constant @Z.WithSelf.Self.as_type.impls.Y.type.require.%Y.ref, @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.91f) [concrete = constants.%Y.type] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -414,16 +414,16 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.bad)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %Self.as_type.loc9_18.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_18.2 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.bad) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.91f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.bad) { -// CHECK:STDOUT: %Self => constants.%Self.bad +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.91f) { +// CHECK:STDOUT: %Self => constants.%Self.91f // CHECK:STDOUT: %Self.as_type.loc9_18.2 => constants.%Self.as_type // CHECK:STDOUT: } // CHECK:STDOUT: @@ -434,17 +434,17 @@ interface Z(T:! type) { // CHECK:STDOUT: --- fail_todo_extend_with_self.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %Y.type.144: type = generic_interface_type @Y [concrete] -// CHECK:STDOUT: %Y.generic: %Y.type.144 = struct_value () [concrete] +// CHECK:STDOUT: %Y.type.99a: type = generic_interface_type @Y [concrete] +// CHECK:STDOUT: %Y.generic: %Y.type.99a = struct_value () [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.b36: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.b36 [symbolic] -// CHECK:STDOUT: %Y.type.012: type = facet_type <@Y, @Y(%Self.as_type)> [symbolic] -// CHECK:STDOUT: %require_complete.f80: = require_complete_type %Y.type.012 [symbolic] -// CHECK:STDOUT: %T.de2: %Z.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.de2 [symbolic] -// CHECK:STDOUT: %Y.type.e71: type = facet_type <@Y, @Y(%T.as_type)> [symbolic] -// CHECK:STDOUT: %require_complete.311: = require_complete_type %Y.type.e71 [symbolic] +// CHECK:STDOUT: %Self.91f: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.91f [symbolic] +// CHECK:STDOUT: %Y.type.f65: type = facet_type <@Y, @Y(%Self.as_type)> [symbolic] +// CHECK:STDOUT: %require_complete.748: = require_complete_type %Y.type.f65 [symbolic] +// CHECK:STDOUT: %T.aa0: %Z.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.aa0 [symbolic] +// CHECK:STDOUT: %Y.type.02d: type = facet_type <@Y, @Y(%T.as_type)> [symbolic] +// CHECK:STDOUT: %require_complete.602: = require_complete_type %Y.type.02d [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -452,7 +452,7 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.b36] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91f] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -460,13 +460,13 @@ interface Z(T:! type) { // CHECK:STDOUT: require %Self.as_type.loc9_18.1 impls %Y.type.loc9_30.1 // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.as_type.loc9_18.1: type = facet_access_type @Z.%Self [symbolic = %Self.as_type.loc9_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %Y.ref: %Y.type.144 = name_ref Y, file.%Y.decl [concrete = constants.%Y.generic] -// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.b36)] +// CHECK:STDOUT: %Y.ref: %Y.type.99a = name_ref Y, file.%Y.decl [concrete = constants.%Y.generic] +// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %Self.as_type.loc9_30: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc9_18.2 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc9: type = converted %Self.ref, %Self.as_type.loc9_30 [symbolic = %Self.as_type.loc9_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %Y.type.loc9_30.1: type = facet_type <@Y, @Y(constants.%Self.as_type)> [symbolic = %Y.type.loc9_30.2 (constants.%Y.type.012)] +// CHECK:STDOUT: %Y.type.loc9_30.1: type = facet_type <@Y, @Y(constants.%Self.as_type)> [symbolic = %Y.type.loc9_30.2 (constants.%Y.type.f65)] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc9: type = specific_constant @Z.WithSelf.Self.as_type.impls.Y.type.require.%Y.type.loc9_30.1, @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.b36) [symbolic = %Y.type (constants.%Y.type.012)] +// CHECK:STDOUT: %.loc9: type = specific_constant @Z.WithSelf.Self.as_type.impls.Y.type.require.%Y.type.loc9_30.1, @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.91f) [symbolic = %Y.type (constants.%Y.type.f65)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -483,31 +483,31 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.b36)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %Self.as_type.loc9_18.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %Y.type.loc9_30.2: type = facet_type <@Y, @Y(%Self.as_type.loc9_18.2)> [symbolic = %Y.type.loc9_30.2 (constants.%Y.type.012)] +// CHECK:STDOUT: %Y.type.loc9_30.2: type = facet_type <@Y, @Y(%Self.as_type.loc9_18.2)> [symbolic = %Y.type.loc9_30.2 (constants.%Y.type.f65)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.b36) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.91f) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.b36 +// CHECK:STDOUT: %Self => constants.%Self.91f // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %Y.type => constants.%Y.type.012 -// CHECK:STDOUT: %require_complete => constants.%require_complete.f80 +// CHECK:STDOUT: %Y.type => constants.%Y.type.f65 +// CHECK:STDOUT: %require_complete => constants.%require_complete.748 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.b36) { -// CHECK:STDOUT: %Self => constants.%Self.b36 +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.91f) { +// CHECK:STDOUT: %Self => constants.%Self.91f // CHECK:STDOUT: %Self.as_type.loc9_18.2 => constants.%Self.as_type -// CHECK:STDOUT: %Y.type.loc9_30.2 => constants.%Y.type.012 +// CHECK:STDOUT: %Y.type.loc9_30.2 => constants.%Y.type.f65 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%T.de2) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%T.aa0) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%T.de2 +// CHECK:STDOUT: %Self => constants.%T.aa0 // CHECK:STDOUT: %Self.as_type => constants.%T.as_type -// CHECK:STDOUT: %Y.type => constants.%Y.type.e71 -// CHECK:STDOUT: %require_complete => constants.%require_complete.311 +// CHECK:STDOUT: %Y.type => constants.%Y.type.02d +// CHECK:STDOUT: %require_complete => constants.%require_complete.602 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_todo_implicit_self_impls.carbon @@ -515,8 +515,8 @@ interface Z(T:! type) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.176: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.176 [symbolic] +// CHECK:STDOUT: %Self.91f: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.91f [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -524,7 +524,7 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.176] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91f] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -548,16 +548,16 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.176)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %Self.as_type.loc9_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.176) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.91f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.176) { -// CHECK:STDOUT: %Self => constants.%Self.176 +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.91f) { +// CHECK:STDOUT: %Self => constants.%Self.91f // CHECK:STDOUT: %Self.as_type.loc9_11.2 => constants.%Self.as_type // CHECK:STDOUT: } // CHECK:STDOUT: @@ -566,8 +566,8 @@ interface Z(T:! type) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.3ff: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.3ff [symbolic] +// CHECK:STDOUT: %Self.91f: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.91f [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -575,14 +575,14 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.3ff] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91f] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %Z.WithSelf.Self.as_type.impls.Y.type.require.decl = require_decl @Z.WithSelf.Self.as_type.impls.Y.type.require [concrete] { // CHECK:STDOUT: require %.loc9 impls %Y.ref // CHECK:STDOUT: } { -// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.3ff)] +// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %Self.as_type.loc9_11.1: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc9_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc9: type = converted %Self.ref, %Self.as_type.loc9_11.1 [symbolic = %Self.as_type.loc9_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y.type] @@ -601,16 +601,16 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.3ff)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %Self.as_type.loc9_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.3ff) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.91f) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.3ff) { -// CHECK:STDOUT: %Self => constants.%Self.3ff +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.91f) { +// CHECK:STDOUT: %Self => constants.%Self.91f // CHECK:STDOUT: %Self.as_type.loc9_11.2 => constants.%Self.as_type // CHECK:STDOUT: } // CHECK:STDOUT: @@ -621,9 +621,9 @@ interface Z(T:! type) { // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.c33: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.c33 [symbolic] -// CHECK:STDOUT: %C.404: type = class_type @C, @C(%Self.as_type) [symbolic] +// CHECK:STDOUT: %Self.91f: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.91f [symbolic] +// CHECK:STDOUT: %C.7bc: type = class_type @C, @C(%Self.as_type) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -631,7 +631,7 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c33] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91f] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -639,10 +639,10 @@ interface Z(T:! type) { // CHECK:STDOUT: require %C.loc9_17.1 impls %Y.ref // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] -// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.c33)] +// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %Self.as_type.loc9_17.1: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc9_17.2 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc9: type = converted %Self.ref, %Self.as_type.loc9_17.1 [symbolic = %Self.as_type.loc9_17.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %C.loc9_17.1: type = class_type @C, @C(constants.%Self.as_type) [symbolic = %C.loc9_17.2 (constants.%C.404)] +// CHECK:STDOUT: %C.loc9_17.1: type = class_type @C, @C(constants.%Self.as_type) [symbolic = %C.loc9_17.2 (constants.%C.7bc)] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -661,17 +661,17 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.C.impls.Y.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.c33)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %Self.as_type.loc9_17.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_17.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %C.loc9_17.2: type = class_type @C, @C(%Self.as_type.loc9_17.2) [symbolic = %C.loc9_17.2 (constants.%C.404)] +// CHECK:STDOUT: %C.loc9_17.2: type = class_type @C, @C(%Self.as_type.loc9_17.2) [symbolic = %C.loc9_17.2 (constants.%C.7bc)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.c33) {} +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.91f) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.C.impls.Y.type.require(constants.%Self.c33) { -// CHECK:STDOUT: %Self => constants.%Self.c33 +// CHECK:STDOUT: specific @Z.WithSelf.C.impls.Y.type.require(constants.%Self.91f) { +// CHECK:STDOUT: %Self => constants.%Self.91f // CHECK:STDOUT: %Self.as_type.loc9_17.2 => constants.%Self.as_type -// CHECK:STDOUT: %C.loc9_17.2 => constants.%C.404 +// CHECK:STDOUT: %C.loc9_17.2 => constants.%C.7bc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- require_impls_where.carbon @@ -681,8 +681,8 @@ interface Z(T:! type) { // CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y [concrete] // CHECK:STDOUT: %assoc0: %Y.assoc_type = assoc_entity element0, @Y.WithSelf.%Y1 [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.461: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.461 [symbolic] +// CHECK:STDOUT: %Self.91f: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.91f [symbolic] // CHECK:STDOUT: %.Self: %Y.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %.Self, @Y [symbolic_self] @@ -697,7 +697,7 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.461] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91f] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -733,14 +733,14 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y_where.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.461)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %Self.as_type.loc7_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc7_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.461) {} +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.91f) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y_where.type.require(constants.%Self.461) { -// CHECK:STDOUT: %Self => constants.%Self.461 +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y_where.type.require(constants.%Self.91f) { +// CHECK:STDOUT: %Self => constants.%Self.91f // CHECK:STDOUT: %Self.as_type.loc7_11.2 => constants.%Self.as_type // CHECK:STDOUT: } // CHECK:STDOUT: @@ -751,16 +751,16 @@ interface Z(T:! type) { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Z.type.969: type = generic_interface_type @Z [concrete] -// CHECK:STDOUT: %Z.generic: %Z.type.969 = struct_value () [concrete] -// CHECK:STDOUT: %Z.type.ded: type = facet_type <@Z, @Z(%T)> [symbolic] -// CHECK:STDOUT: %Self: %Z.type.ded = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Z.type.8a6: type = generic_interface_type @Z [concrete] +// CHECK:STDOUT: %Z.generic: %Z.type.8a6 = struct_value () [concrete] +// CHECK:STDOUT: %Z.type.284: type = facet_type <@Z, @Z(%T)> [symbolic] +// CHECK:STDOUT: %Self: %Z.type.284 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %Z.type.83d: type = facet_type <@Z, @Z(%Self.as_type)> [symbolic] +// CHECK:STDOUT: %Z.type.1d9: type = facet_type <@Z, @Z(%Self.as_type)> [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { -// CHECK:STDOUT: %Z.decl: %Z.type.969 = interface_decl @Z [concrete = constants.%Z.generic] { +// CHECK:STDOUT: %Z.decl: %Z.type.8a6 = interface_decl @Z [concrete = constants.%Z.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_17.1: type = splice_block %.loc4_17.2 [concrete = type] { @@ -775,11 +775,11 @@ interface Z(T:! type) { // CHECK:STDOUT: %T.loc4_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc4_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%T.loc4_14.1)> [symbolic = %Z.type (constants.%Z.type.ded)] -// CHECK:STDOUT: %Self.loc4_23.2: @Z.%Z.type (%Z.type.ded) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self)] +// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%T.loc4_14.1)> [symbolic = %Z.type (constants.%Z.type.284)] +// CHECK:STDOUT: %Self.loc4_23.2: @Z.%Z.type (%Z.type.284) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_23.1: @Z.%Z.type (%Z.type.ded) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc4_23.1: @Z.%Z.type (%Z.type.284) = symbolic_binding Self, 1 [symbolic = %Self.loc4_23.2 (constants.%Self)] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -787,12 +787,12 @@ interface Z(T:! type) { // CHECK:STDOUT: require %T.ref impls %Z.type.loc5_25.1 // CHECK:STDOUT: } { // CHECK:STDOUT: %T.ref: type = name_ref T, @Z.%T.loc4_14.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Z.ref: %Z.type.969 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] -// CHECK:STDOUT: %.loc5_21: @Z.WithSelf.T.impls.Z.type.require.%Z.type.loc5_21 (%Z.type.ded) = specific_constant @Z.%Self.loc4_23.1, @Z(constants.%T) [symbolic = %Self (constants.%Self)] -// CHECK:STDOUT: %Self.ref: @Z.WithSelf.T.impls.Z.type.require.%Z.type.loc5_21 (%Z.type.ded) = name_ref Self, %.loc5_21 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %Z.ref: %Z.type.8a6 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] +// CHECK:STDOUT: %.loc5_21: @Z.WithSelf.T.impls.Z.type.require.%Z.type.loc5_21 (%Z.type.284) = specific_constant @Z.%Self.loc4_23.1, @Z(constants.%T) [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %Self.ref: @Z.WithSelf.T.impls.Z.type.require.%Z.type.loc5_21 (%Z.type.284) = name_ref Self, %.loc5_21 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_25.1: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc5_25.2 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc5_25: type = converted %Self.ref, %Self.as_type.loc5_25.1 [symbolic = %Self.as_type.loc5_25.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %Z.type.loc5_25.1: type = facet_type <@Z, @Z(constants.%Self.as_type)> [symbolic = %Z.type.loc5_25.2 (constants.%Z.type.83d)] +// CHECK:STDOUT: %Z.type.loc5_25.1: type = facet_type <@Z, @Z(constants.%Self.as_type)> [symbolic = %Z.type.loc5_25.2 (constants.%Z.type.1d9)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -810,12 +810,12 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic require @Z.WithSelf.T.impls.Z.type.require(@Z.%T.loc4_14.2: type, @Z.%Self.loc4_23.1: @Z.%Z.type (%Z.type.ded)) { +// CHECK:STDOUT: generic require @Z.WithSelf.T.impls.Z.type.require(@Z.%T.loc4_14.2: type, @Z.%Self.loc4_23.1: @Z.%Z.type (%Z.type.284)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Z.type.loc5_21: type = facet_type <@Z, @Z(%T)> [symbolic = %Z.type.loc5_21 (constants.%Z.type.ded)] -// CHECK:STDOUT: %Self: @Z.WithSelf.T.impls.Z.type.require.%Z.type.loc5_21 (%Z.type.ded) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %Z.type.loc5_21: type = facet_type <@Z, @Z(%T)> [symbolic = %Z.type.loc5_21 (constants.%Z.type.284)] +// CHECK:STDOUT: %Self: @Z.WithSelf.T.impls.Z.type.require.%Z.type.loc5_21 (%Z.type.284) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_25.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_25.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %Z.type.loc5_25.2: type = facet_type <@Z, @Z(%Self.as_type.loc5_25.2)> [symbolic = %Z.type.loc5_25.2 (constants.%Z.type.83d)] +// CHECK:STDOUT: %Z.type.loc5_25.2: type = facet_type <@Z, @Z(%Self.as_type.loc5_25.2)> [symbolic = %Z.type.loc5_25.2 (constants.%Z.type.1d9)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z(constants.%T) { @@ -830,10 +830,10 @@ interface Z(T:! type) { // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf.T.impls.Z.type.require(constants.%T, constants.%Self) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Z.type.loc5_21 => constants.%Z.type.ded +// CHECK:STDOUT: %Z.type.loc5_21 => constants.%Z.type.284 // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc5_25.2 => constants.%Self.as_type -// CHECK:STDOUT: %Z.type.loc5_25.2 => constants.%Z.type.83d +// CHECK:STDOUT: %Z.type.loc5_25.2 => constants.%Z.type.1d9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- require_self_in_requirement.carbon @@ -843,8 +843,8 @@ interface Z(T:! type) { // CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y [concrete] // CHECK:STDOUT: %assoc0: %Y.assoc_type = assoc_entity element0, @Y.WithSelf.%Y1 [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.f2b: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.f2b [symbolic] +// CHECK:STDOUT: %Self.91f: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.91f [symbolic] // CHECK:STDOUT: %.Self: %Y.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %.Self, @Y [symbolic_self] @@ -857,7 +857,7 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f2b] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91f] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -872,7 +872,7 @@ interface Z(T:! type) { // CHECK:STDOUT: %.loc10_25: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %Y1.ref: %Y.assoc_type = name_ref Y1, @Y1.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] -// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.f2b)] +// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %Self.as_type.loc10_31: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc10_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc10_31: type = converted %Self.ref, %Self.as_type.loc10_31 [symbolic = %Self.as_type.loc10_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc10_19: type = where_expr [symbolic = %Y_where.type (constants.%Y_where.type)] { @@ -894,15 +894,15 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y_where.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f2b)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.91f)] // CHECK:STDOUT: %Self.as_type.loc10_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc10_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: %Y_where.type: type = facet_type <@Y where constants.%impl.elem0 = %Self.as_type.loc10_11.2> [symbolic = %Y_where.type (constants.%Y_where.type)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.f2b) {} +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.91f) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y_where.type.require(constants.%Self.f2b) { -// CHECK:STDOUT: %Self => constants.%Self.f2b +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y_where.type.require(constants.%Self.91f) { +// CHECK:STDOUT: %Self => constants.%Self.91f // CHECK:STDOUT: %Self.as_type.loc10_11.2 => constants.%Self.as_type // CHECK:STDOUT: %Y_where.type => constants.%Y_where.type // CHECK:STDOUT: } @@ -914,15 +914,15 @@ interface Z(T:! type) { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Z.type.603: type = generic_interface_type @Z [concrete] -// CHECK:STDOUT: %Z.generic: %Z.type.603 = struct_value () [concrete] -// CHECK:STDOUT: %Z.type.324: type = facet_type <@Z, @Z(%T)> [symbolic] -// CHECK:STDOUT: %Self.7c3: %Z.type.324 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Self.as_type.95a: type = facet_access_type %Self.7c3 [symbolic] +// CHECK:STDOUT: %Z.type.8a6: type = generic_interface_type @Z [concrete] +// CHECK:STDOUT: %Z.generic: %Z.type.8a6 = struct_value () [concrete] +// CHECK:STDOUT: %Z.type.284: type = facet_type <@Z, @Z(%T)> [symbolic] +// CHECK:STDOUT: %Self.f76: %Z.type.284 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.as_type.c1e: type = facet_access_type %Self.f76 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { -// CHECK:STDOUT: %Z.decl: %Z.type.603 = interface_decl @Z [concrete = constants.%Z.generic] { +// CHECK:STDOUT: %Z.decl: %Z.type.8a6 = interface_decl @Z [concrete = constants.%Z.generic] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8_17.1: type = splice_block %.loc8_17.2 [concrete = type] { @@ -937,21 +937,21 @@ interface Z(T:! type) { // CHECK:STDOUT: %T.loc8_14.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_14.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%T.loc8_14.1)> [symbolic = %Z.type (constants.%Z.type.324)] -// CHECK:STDOUT: %Self.loc8_23.2: @Z.%Z.type (%Z.type.324) = symbolic_binding Self, 1 [symbolic = %Self.loc8_23.2 (constants.%Self.7c3)] +// CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%T.loc8_14.1)> [symbolic = %Z.type (constants.%Z.type.284)] +// CHECK:STDOUT: %Self.loc8_23.2: @Z.%Z.type (%Z.type.284) = symbolic_binding Self, 1 [symbolic = %Self.loc8_23.2 (constants.%Self.f76)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc8_23.1: @Z.%Z.type (%Z.type.324) = symbolic_binding Self, 1 [symbolic = %Self.loc8_23.2 (constants.%Self.7c3)] +// CHECK:STDOUT: %Self.loc8_23.1: @Z.%Z.type (%Z.type.284) = symbolic_binding Self, 1 [symbolic = %Self.loc8_23.2 (constants.%Self.f76)] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %Z.WithSelf.Self.as_type.impls.Z.type.require.decl = require_decl @Z.WithSelf.Self.as_type.impls.Z.type.require [concrete] { // CHECK:STDOUT: require %Self.as_type.loc11_11.1 impls %Z.type.loc11_20 // CHECK:STDOUT: } { -// CHECK:STDOUT: %Self.as_type.loc11_11.1: type = facet_access_type @Z.%Self.loc8_23.1 [symbolic = %Self.as_type.loc11_11.2 (constants.%Self.as_type.95a)] -// CHECK:STDOUT: %Z.ref: %Z.type.603 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] +// CHECK:STDOUT: %Self.as_type.loc11_11.1: type = facet_access_type @Z.%Self.loc8_23.1 [symbolic = %Self.as_type.loc11_11.2 (constants.%Self.as_type.c1e)] +// CHECK:STDOUT: %Z.ref: %Z.type.8a6 = name_ref Z, file.%Z.decl [concrete = constants.%Z.generic] // CHECK:STDOUT: %T.ref: type = name_ref T, @Z.%T.loc8_14.2 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Z.type.loc11_20: type = facet_type <@Z, @Z(constants.%T)> [symbolic = %Z.type.loc11_11 (constants.%Z.type.324)] +// CHECK:STDOUT: %Z.type.loc11_20: type = facet_type <@Z, @Z(constants.%T)> [symbolic = %Z.type.loc11_11 (constants.%Z.type.284)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -969,23 +969,23 @@ interface Z(T:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Z.type.require(@Z.%T.loc8_14.2: type, @Z.%Self.loc8_23.1: @Z.%Z.type (%Z.type.324)) { +// CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Z.type.require(@Z.%T.loc8_14.2: type, @Z.%Self.loc8_23.1: @Z.%Z.type (%Z.type.284)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %Z.type.loc11_11: type = facet_type <@Z, @Z(%T)> [symbolic = %Z.type.loc11_11 (constants.%Z.type.324)] -// CHECK:STDOUT: %Self: @Z.WithSelf.Self.as_type.impls.Z.type.require.%Z.type.loc11_11 (%Z.type.324) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.7c3)] -// CHECK:STDOUT: %Self.as_type.loc11_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc11_11.2 (constants.%Self.as_type.95a)] +// CHECK:STDOUT: %Z.type.loc11_11: type = facet_type <@Z, @Z(%T)> [symbolic = %Z.type.loc11_11 (constants.%Z.type.284)] +// CHECK:STDOUT: %Self: @Z.WithSelf.Self.as_type.impls.Z.type.require.%Z.type.loc11_11 (%Z.type.284) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.f76)] +// CHECK:STDOUT: %Self.as_type.loc11_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc11_11.2 (constants.%Self.as_type.c1e)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z(constants.%T) { // CHECK:STDOUT: %T.loc8_14.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%T, constants.%Self.7c3) {} +// CHECK:STDOUT: specific @Z.WithSelf(constants.%T, constants.%Self.f76) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Z.type.require(constants.%T, constants.%Self.7c3) { +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Z.type.require(constants.%T, constants.%Self.f76) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %Z.type.loc11_11 => constants.%Z.type.324 -// CHECK:STDOUT: %Self => constants.%Self.7c3 -// CHECK:STDOUT: %Self.as_type.loc11_11.2 => constants.%Self.as_type.95a +// CHECK:STDOUT: %Z.type.loc11_11 => constants.%Z.type.284 +// CHECK:STDOUT: %Self => constants.%Self.f76 +// CHECK:STDOUT: %Self.as_type.loc11_11.2 => constants.%Self.as_type.c1e // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/self.carbon b/toolchain/check/testdata/interface/self.carbon index c0835fbc2b4e..be0f99aa692d 100644 --- a/toolchain/check/testdata/interface/self.carbon +++ b/toolchain/check/testdata/interface/self.carbon @@ -23,7 +23,7 @@ interface UseSelf { // CHECK:STDOUT: %Self: %UseSelf.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] // CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type [symbolic] -// CHECK:STDOUT: %.8d7: Core.Form = init_form %Self.as_type [symbolic] +// CHECK:STDOUT: %.edf: Core.Form = init_form %Self.as_type [symbolic] // CHECK:STDOUT: %UseSelf.WithSelf.F.type: type = fn_type @UseSelf.WithSelf.F, @UseSelf.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %UseSelf.WithSelf.F: %UseSelf.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %UseSelf.assoc_type: type = assoc_entity_type @UseSelf [concrete] @@ -51,7 +51,7 @@ interface UseSelf { // CHECK:STDOUT: %Self.ref.loc16_25: %UseSelf.type = name_ref Self, @UseSelf.%Self [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc16_25: type = facet_access_type %Self.ref.loc16_25 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc16_25.2: type = converted %Self.ref.loc16_25, %Self.as_type.loc16_25 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %.loc16_25.3: Core.Form = init_form %.loc16_25.2 [symbolic = %.loc16_25.1 (constants.%.8d7)] +// CHECK:STDOUT: %.loc16_25.3: Core.Form = init_form %.loc16_25.2 [symbolic = %.loc16_25.1 (constants.%.edf)] // CHECK:STDOUT: %self.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc16_14.1: type = splice_block %.loc16_14.2 [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type)] { // CHECK:STDOUT: %Self.ref.loc16_14: %UseSelf.type = name_ref Self, @UseSelf.%Self [symbolic = %Self (constants.%Self)] @@ -76,7 +76,7 @@ interface UseSelf { // CHECK:STDOUT: %Self: %UseSelf.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc16_14.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc16_14.1 (constants.%Self.as_type)] // CHECK:STDOUT: %pattern_type: type = pattern_type %Self.as_type.loc16_14.1 [symbolic = %pattern_type (constants.%pattern_type)] -// CHECK:STDOUT: %.loc16_25.1: Core.Form = init_form %Self.as_type.loc16_14.1 [symbolic = %.loc16_25.1 (constants.%.8d7)] +// CHECK:STDOUT: %.loc16_25.1: Core.Form = init_form %Self.as_type.loc16_14.1 [symbolic = %.loc16_25.1 (constants.%.edf)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%self.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type)) -> out %return.param: @UseSelf.WithSelf.F.%Self.as_type.loc16_14.1 (%Self.as_type); // CHECK:STDOUT: } @@ -87,6 +87,6 @@ interface UseSelf { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc16_14.1 => constants.%Self.as_type // CHECK:STDOUT: %pattern_type => constants.%pattern_type -// CHECK:STDOUT: %.loc16_25.1 => constants.%.8d7 +// CHECK:STDOUT: %.loc16_25.1 => constants.%.edf // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interface/syntactic_merge.carbon b/toolchain/check/testdata/interface/syntactic_merge.carbon index 516b76224b77..288b10d3336c 100644 --- a/toolchain/check/testdata/interface/syntactic_merge.carbon +++ b/toolchain/check/testdata/interface/syntactic_merge.carbon @@ -207,14 +207,14 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.43f: type = generic_interface_type @Foo [concrete] -// CHECK:STDOUT: %Foo.generic: %Foo.type.43f = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.7fb: type = facet_type <@Foo, @Foo(%a)> [symbolic] -// CHECK:STDOUT: %Self.412: %Foo.type.7fb = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Bar.type.44b: type = generic_interface_type @Bar [concrete] -// CHECK:STDOUT: %Bar.generic: %Bar.type.44b = struct_value () [concrete] -// CHECK:STDOUT: %Bar.type.205: type = facet_type <@Bar, @Bar(%a)> [symbolic] -// CHECK:STDOUT: %Self.1f7: %Bar.type.205 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Foo.type.4e3: type = generic_interface_type @Foo [concrete] +// CHECK:STDOUT: %Foo.generic: %Foo.type.4e3 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.fd7: type = facet_type <@Foo, @Foo(%a)> [symbolic] +// CHECK:STDOUT: %Self.cca: %Foo.type.fd7 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Bar.type.d3b: type = generic_interface_type @Bar [concrete] +// CHECK:STDOUT: %Bar.generic: %Bar.type.d3b = struct_value () [concrete] +// CHECK:STDOUT: %Bar.type.c13: type = facet_type <@Bar, @Bar(%a)> [symbolic] +// CHECK:STDOUT: %Self.cf2: %Bar.type.c13 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -227,7 +227,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %D: type = alias_binding D, %C.ref [concrete = constants.%C] -// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.43f = interface_decl @Foo [concrete = constants.%Foo.generic] { +// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.4e3 = interface_decl @Foo [concrete = constants.%Foo.generic] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7: type = splice_block %C.ref.loc7 [concrete = constants.%C] { @@ -236,7 +236,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc7_16.2: %C = symbolic_binding a, 0 [symbolic = %a.loc7_16.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc8: %Foo.type.43f = interface_decl @Foo [concrete = constants.%Foo.generic] { +// CHECK:STDOUT: %Foo.decl.loc8: %Foo.type.4e3 = interface_decl @Foo [concrete = constants.%Foo.generic] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8: type = splice_block %C.ref.loc8 [concrete = constants.%C] { @@ -245,7 +245,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc8: %C = symbolic_binding a, 0 [symbolic = %a.loc7_16.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Bar.decl.loc10: %Bar.type.44b = interface_decl @Bar [concrete = constants.%Bar.generic] { +// CHECK:STDOUT: %Bar.decl.loc10: %Bar.type.d3b = interface_decl @Bar [concrete = constants.%Bar.generic] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc10: type = splice_block %D.ref.loc10 [concrete = constants.%C] { @@ -254,7 +254,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc10_16.2: %C = symbolic_binding a, 0 [symbolic = %a.loc10_16.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Bar.decl.loc11: %Bar.type.44b = interface_decl @Bar [concrete = constants.%Bar.generic] { +// CHECK:STDOUT: %Bar.decl.loc11: %Bar.type.d3b = interface_decl @Bar [concrete = constants.%Bar.generic] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc11: type = splice_block %D.ref.loc11 [concrete = constants.%C] { @@ -269,11 +269,11 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc7_16.1: %C = symbolic_binding a, 0 [symbolic = %a.loc7_16.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo, @Foo(%a.loc7_16.1)> [symbolic = %Foo.type (constants.%Foo.type.7fb)] -// CHECK:STDOUT: %Self.loc8_22.2: @Foo.%Foo.type (%Foo.type.7fb) = symbolic_binding Self, 1 [symbolic = %Self.loc8_22.2 (constants.%Self.412)] +// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo, @Foo(%a.loc7_16.1)> [symbolic = %Foo.type (constants.%Foo.type.fd7)] +// CHECK:STDOUT: %Self.loc8_22.2: @Foo.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc8_22.2 (constants.%Self.cca)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc8_22.1: @Foo.%Foo.type (%Foo.type.7fb) = symbolic_binding Self, 1 [symbolic = %Self.loc8_22.2 (constants.%Self.412)] +// CHECK:STDOUT: %Self.loc8_22.1: @Foo.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc8_22.2 (constants.%Self.cca)] // CHECK:STDOUT: %Foo.WithSelf.decl = interface_with_self_decl @Foo [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -288,11 +288,11 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc10_16.1: %C = symbolic_binding a, 0 [symbolic = %a.loc10_16.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Bar.type: type = facet_type <@Bar, @Bar(%a.loc10_16.1)> [symbolic = %Bar.type (constants.%Bar.type.205)] -// CHECK:STDOUT: %Self.loc11_22.2: @Bar.%Bar.type (%Bar.type.205) = symbolic_binding Self, 1 [symbolic = %Self.loc11_22.2 (constants.%Self.1f7)] +// CHECK:STDOUT: %Bar.type: type = facet_type <@Bar, @Bar(%a.loc10_16.1)> [symbolic = %Bar.type (constants.%Bar.type.c13)] +// CHECK:STDOUT: %Self.loc11_22.2: @Bar.%Bar.type (%Bar.type.c13) = symbolic_binding Self, 1 [symbolic = %Self.loc11_22.2 (constants.%Self.cf2)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc11_22.1: @Bar.%Bar.type (%Bar.type.205) = symbolic_binding Self, 1 [symbolic = %Self.loc11_22.2 (constants.%Self.1f7)] +// CHECK:STDOUT: %Self.loc11_22.1: @Bar.%Bar.type (%Bar.type.c13) = symbolic_binding Self, 1 [symbolic = %Self.loc11_22.2 (constants.%Self.cf2)] // CHECK:STDOUT: %Bar.WithSelf.decl = interface_with_self_decl @Bar [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -315,13 +315,13 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc7_16.1 => constants.%a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Foo.WithSelf(constants.%a, constants.%Self.412) {} +// CHECK:STDOUT: specific @Foo.WithSelf(constants.%a, constants.%Self.cca) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Bar(constants.%a) { // CHECK:STDOUT: %a.loc10_16.1 => constants.%a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Bar.WithSelf(constants.%a, constants.%Self.1f7) {} +// CHECK:STDOUT: specific @Bar.WithSelf(constants.%a, constants.%Self.cf2) {} // CHECK:STDOUT: // CHECK:STDOUT: --- spacing.carbon // CHECK:STDOUT: @@ -333,10 +333,10 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.6f0: type = generic_interface_type @Foo [concrete] -// CHECK:STDOUT: %Foo.generic: %Foo.type.6f0 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.771: type = facet_type <@Foo, @Foo(%a)> [symbolic] -// CHECK:STDOUT: %Self: %Foo.type.771 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Foo.type.4e3: type = generic_interface_type @Foo [concrete] +// CHECK:STDOUT: %Foo.generic: %Foo.type.4e3 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.fd7: type = facet_type <@Foo, @Foo(%a)> [symbolic] +// CHECK:STDOUT: %Self: %Foo.type.fd7 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -345,7 +345,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: .Foo = %Foo.decl.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.6f0 = interface_decl @Foo [concrete = constants.%Foo.generic] { +// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.4e3 = interface_decl @Foo [concrete = constants.%Foo.generic] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6: type = splice_block %C.ref.loc6 [concrete = constants.%C] { @@ -354,7 +354,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc6_23.2: %C = symbolic_binding a, 0 [symbolic = %a.loc6_23.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.6f0 = interface_decl @Foo [concrete = constants.%Foo.generic] { +// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.4e3 = interface_decl @Foo [concrete = constants.%Foo.generic] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7: type = splice_block %C.ref.loc7 [concrete = constants.%C] { @@ -369,11 +369,11 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc6_23.1: %C = symbolic_binding a, 0 [symbolic = %a.loc6_23.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo, @Foo(%a.loc6_23.1)> [symbolic = %Foo.type (constants.%Foo.type.771)] -// CHECK:STDOUT: %Self.loc7_24.2: @Foo.%Foo.type (%Foo.type.771) = symbolic_binding Self, 1 [symbolic = %Self.loc7_24.2 (constants.%Self)] +// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo, @Foo(%a.loc6_23.1)> [symbolic = %Foo.type (constants.%Foo.type.fd7)] +// CHECK:STDOUT: %Self.loc7_24.2: @Foo.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc7_24.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc7_24.1: @Foo.%Foo.type (%Foo.type.771) = symbolic_binding Self, 1 [symbolic = %Self.loc7_24.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc7_24.1: @Foo.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc7_24.2 (constants.%Self)] // CHECK:STDOUT: %Foo.WithSelf.decl = interface_with_self_decl @Foo [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -408,12 +408,12 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.531e0f.1: type = generic_interface_type @Foo.loc6 [concrete] -// CHECK:STDOUT: %Foo.generic.6d3a0f.1: %Foo.type.531e0f.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.531e0f.2: type = generic_interface_type @Foo.loc14 [concrete] -// CHECK:STDOUT: %Foo.generic.6d3a0f.2: %Foo.type.531e0f.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.18d: type = facet_type <@Foo.loc14, @Foo.loc14(%a)> [symbolic] -// CHECK:STDOUT: %Self: %Foo.type.18d = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Foo.type.4e31ae.1: type = generic_interface_type @Foo.loc6 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.1: %Foo.type.4e31ae.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.4e31ae.2: type = generic_interface_type @Foo.loc14 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.2: %Foo.type.4e31ae.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.fd7: type = facet_type <@Foo.loc14, @Foo.loc14(%a)> [symbolic] +// CHECK:STDOUT: %Self: %Foo.type.fd7 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -422,7 +422,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: .Foo = %Foo.decl.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.531e0f.1 = interface_decl @Foo.loc6 [concrete = constants.%Foo.generic.6d3a0f.1] { +// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.4e31ae.1 = interface_decl @Foo.loc6 [concrete = constants.%Foo.generic.8f8e05.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6: type = splice_block %C.ref [concrete = constants.%C] { @@ -431,7 +431,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc6_16.2: %C = symbolic_binding a, 0 [symbolic = %a.loc6_16.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.531e0f.2 = interface_decl @Foo.loc14 [concrete = constants.%Foo.generic.6d3a0f.2] { +// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.4e31ae.2 = interface_decl @Foo.loc14 [concrete = constants.%Foo.generic.8f8e05.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc14: type = splice_block %C.ref [concrete = constants.%C] { @@ -452,11 +452,11 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc14_16.1: %C = symbolic_binding a, 0 [symbolic = %a.loc14_16.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc14, @Foo.loc14(%a.loc14_16.1)> [symbolic = %Foo.type (constants.%Foo.type.18d)] -// CHECK:STDOUT: %Self.loc14_24.2: @Foo.loc14.%Foo.type (%Foo.type.18d) = symbolic_binding Self, 1 [symbolic = %Self.loc14_24.2 (constants.%Self)] +// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc14, @Foo.loc14(%a.loc14_16.1)> [symbolic = %Foo.type (constants.%Foo.type.fd7)] +// CHECK:STDOUT: %Self.loc14_24.2: @Foo.loc14.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc14_24.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc14_24.1: @Foo.loc14.%Foo.type (%Foo.type.18d) = symbolic_binding Self, 1 [symbolic = %Self.loc14_24.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc14_24.1: @Foo.loc14.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc14_24.2 (constants.%Self)] // CHECK:STDOUT: %Foo.WithSelf.decl = interface_with_self_decl @Foo.loc14 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -495,12 +495,12 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.09efb5.1: type = generic_interface_type @Foo.loc6 [concrete] -// CHECK:STDOUT: %Foo.generic.dc5ede.1: %Foo.type.09efb5.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.09efb5.2: type = generic_interface_type @Foo.loc14 [concrete] -// CHECK:STDOUT: %Foo.generic.dc5ede.2: %Foo.type.09efb5.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.01e: type = facet_type <@Foo.loc14, @Foo.loc14(%a)> [symbolic] -// CHECK:STDOUT: %Self: %Foo.type.01e = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Foo.type.4e31ae.1: type = generic_interface_type @Foo.loc6 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.1: %Foo.type.4e31ae.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.4e31ae.2: type = generic_interface_type @Foo.loc14 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.2: %Foo.type.4e31ae.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.fd7: type = facet_type <@Foo.loc14, @Foo.loc14(%a)> [symbolic] +// CHECK:STDOUT: %Self: %Foo.type.fd7 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -509,7 +509,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: .Foo = %Foo.decl.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.09efb5.1 = interface_decl @Foo.loc6 [concrete = constants.%Foo.generic.dc5ede.1] { +// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.4e31ae.1 = interface_decl @Foo.loc6 [concrete = constants.%Foo.generic.8f8e05.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6: type = splice_block %C.ref [concrete = constants.%C] { @@ -518,7 +518,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc6_16.2: %C = symbolic_binding a, 0 [symbolic = %a.loc6_16.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.09efb5.2 = interface_decl @Foo.loc14 [concrete = constants.%Foo.generic.dc5ede.2] { +// CHECK:STDOUT: %Foo.decl.loc14: %Foo.type.4e31ae.2 = interface_decl @Foo.loc14 [concrete = constants.%Foo.generic.8f8e05.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc14: type = splice_block %C.ref [concrete = constants.%C] { @@ -539,11 +539,11 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc14_16.1: %C = symbolic_binding a, 0 [symbolic = %a.loc14_16.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc14, @Foo.loc14(%a.loc14_16.1)> [symbolic = %Foo.type (constants.%Foo.type.01e)] -// CHECK:STDOUT: %Self.loc14_24.2: @Foo.loc14.%Foo.type (%Foo.type.01e) = symbolic_binding Self, 1 [symbolic = %Self.loc14_24.2 (constants.%Self)] +// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc14, @Foo.loc14(%a.loc14_16.1)> [symbolic = %Foo.type (constants.%Foo.type.fd7)] +// CHECK:STDOUT: %Self.loc14_24.2: @Foo.loc14.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc14_24.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc14_24.1: @Foo.loc14.%Foo.type (%Foo.type.01e) = symbolic_binding Self, 1 [symbolic = %Self.loc14_24.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc14_24.1: @Foo.loc14.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc14_24.2 (constants.%Self)] // CHECK:STDOUT: %Foo.WithSelf.decl = interface_with_self_decl @Foo.loc14 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -656,29 +656,29 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.b80382.1: type = generic_interface_type @Foo.1 [concrete] -// CHECK:STDOUT: %Foo.generic.d083e9.1: %Foo.type.b80382.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.b80382.2: type = generic_interface_type @Foo.loc12 [concrete] -// CHECK:STDOUT: %Foo.generic.d083e9.2: %Foo.type.b80382.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.bcb: type = facet_type <@Foo.loc12, @Foo.loc12(%a)> [symbolic] -// CHECK:STDOUT: %Self.a96: %Foo.type.bcb = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %Bar.type.0411d7.1: type = generic_interface_type @Bar.1 [concrete] -// CHECK:STDOUT: %Bar.generic.7e8c7e.1: %Bar.type.0411d7.1 = struct_value () [concrete] -// CHECK:STDOUT: %Bar.type.0411d7.2: type = generic_interface_type @Bar.loc21 [concrete] -// CHECK:STDOUT: %Bar.generic.7e8c7e.2: %Bar.type.0411d7.2 = struct_value () [concrete] -// CHECK:STDOUT: %Bar.type.2a5: type = facet_type <@Bar.loc21, @Bar.loc21(%a)> [symbolic] -// CHECK:STDOUT: %Self.79f: %Bar.type.2a5 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Foo.type.4e31ae.1: type = generic_interface_type @Foo.1 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.1: %Foo.type.4e31ae.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.4e31ae.2: type = generic_interface_type @Foo.loc12 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.2: %Foo.type.4e31ae.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.fd7: type = facet_type <@Foo.loc12, @Foo.loc12(%a)> [symbolic] +// CHECK:STDOUT: %Self.cca: %Foo.type.fd7 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Bar.type.d3b1a7.1: type = generic_interface_type @Bar.1 [concrete] +// CHECK:STDOUT: %Bar.generic.a8b2bd.1: %Bar.type.d3b1a7.1 = struct_value () [concrete] +// CHECK:STDOUT: %Bar.type.d3b1a7.2: type = generic_interface_type @Bar.loc21 [concrete] +// CHECK:STDOUT: %Bar.generic.a8b2bd.2: %Bar.type.d3b1a7.2 = struct_value () [concrete] +// CHECK:STDOUT: %Bar.type.c13: type = facet_type <@Bar.loc21, @Bar.loc21(%a)> [symbolic] +// CHECK:STDOUT: %Self.cf2: %Bar.type.c13 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//two_file, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.D: type = import_ref Main//two_file, D, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.Foo: %Foo.type.b80382.1 = import_ref Main//two_file, Foo, loaded [concrete = constants.%Foo.generic.d083e9.1] -// CHECK:STDOUT: %Main.Bar: %Bar.type.0411d7.1 = import_ref Main//two_file, Bar, loaded [concrete = constants.%Bar.generic.7e8c7e.1] +// CHECK:STDOUT: %Main.Foo: %Foo.type.4e31ae.1 = import_ref Main//two_file, Foo, loaded [concrete = constants.%Foo.generic.8f8e05.1] +// CHECK:STDOUT: %Main.Bar: %Bar.type.d3b1a7.1 = import_ref Main//two_file, Bar, loaded [concrete = constants.%Bar.generic.a8b2bd.1] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//two_file, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.6ef = import_ref Main//two_file, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.bb90b9.1: %C = import_ref Main//two_file, loc7_16, loaded [symbolic = @Foo.1.%a (constants.%a)] -// CHECK:STDOUT: %Main.import_ref.bb90b9.2: %C = import_ref Main//two_file, loc8_16, loaded [symbolic = @Bar.1.%a (constants.%a)] +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//two_file, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.068985.1: %C = import_ref Main//two_file, loc7_16, loaded [symbolic = @Foo.1.%a (constants.%a)] +// CHECK:STDOUT: %Main.import_ref.068985.2: %C = import_ref Main//two_file, loc8_16, loaded [symbolic = @Bar.1.%a (constants.%a)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -690,7 +690,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %default.import.loc2_24.1 = import // CHECK:STDOUT: %default.import.loc2_24.2 = import -// CHECK:STDOUT: %Foo.decl: %Foo.type.b80382.2 = interface_decl @Foo.loc12 [concrete = constants.%Foo.generic.d083e9.2] { +// CHECK:STDOUT: %Foo.decl: %Foo.type.4e31ae.2 = interface_decl @Foo.loc12 [concrete = constants.%Foo.generic.8f8e05.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc12: type = splice_block %C.ref [concrete = constants.%C] { @@ -699,7 +699,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc12_16.2: %C = symbolic_binding a, 0 [symbolic = %a.loc12_16.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Bar.decl: %Bar.type.0411d7.2 = interface_decl @Bar.loc21 [concrete = constants.%Bar.generic.7e8c7e.2] { +// CHECK:STDOUT: %Bar.decl: %Bar.type.d3b1a7.2 = interface_decl @Bar.loc21 [concrete = constants.%Bar.generic.a8b2bd.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc21: type = splice_block %D.ref [concrete = constants.%C] { @@ -710,7 +710,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic interface @Foo.1(imports.%Main.import_ref.bb90b9.1: %C) [from "two_file.carbon"] { +// CHECK:STDOUT: generic interface @Foo.1(imports.%Main.import_ref.068985.1: %C) [from "two_file.carbon"] { // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic = %a (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: interface; @@ -720,11 +720,11 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc12_16.1: %C = symbolic_binding a, 0 [symbolic = %a.loc12_16.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc12, @Foo.loc12(%a.loc12_16.1)> [symbolic = %Foo.type (constants.%Foo.type.bcb)] -// CHECK:STDOUT: %Self.loc12_22.2: @Foo.loc12.%Foo.type (%Foo.type.bcb) = symbolic_binding Self, 1 [symbolic = %Self.loc12_22.2 (constants.%Self.a96)] +// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc12, @Foo.loc12(%a.loc12_16.1)> [symbolic = %Foo.type (constants.%Foo.type.fd7)] +// CHECK:STDOUT: %Self.loc12_22.2: @Foo.loc12.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc12_22.2 (constants.%Self.cca)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc12_22.1: @Foo.loc12.%Foo.type (%Foo.type.bcb) = symbolic_binding Self, 1 [symbolic = %Self.loc12_22.2 (constants.%Self.a96)] +// CHECK:STDOUT: %Self.loc12_22.1: @Foo.loc12.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc12_22.2 (constants.%Self.cca)] // CHECK:STDOUT: %Foo.WithSelf.decl = interface_with_self_decl @Foo.loc12 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -735,7 +735,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic interface @Bar.1(imports.%Main.import_ref.bb90b9.2: %C) [from "two_file.carbon"] { +// CHECK:STDOUT: generic interface @Bar.1(imports.%Main.import_ref.068985.2: %C) [from "two_file.carbon"] { // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic = %a (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: interface; @@ -745,11 +745,11 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc21_16.1: %C = symbolic_binding a, 0 [symbolic = %a.loc21_16.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Bar.type: type = facet_type <@Bar.loc21, @Bar.loc21(%a.loc21_16.1)> [symbolic = %Bar.type (constants.%Bar.type.2a5)] -// CHECK:STDOUT: %Self.loc21_22.2: @Bar.loc21.%Bar.type (%Bar.type.2a5) = symbolic_binding Self, 1 [symbolic = %Self.loc21_22.2 (constants.%Self.79f)] +// CHECK:STDOUT: %Bar.type: type = facet_type <@Bar.loc21, @Bar.loc21(%a.loc21_16.1)> [symbolic = %Bar.type (constants.%Bar.type.c13)] +// CHECK:STDOUT: %Self.loc21_22.2: @Bar.loc21.%Bar.type (%Bar.type.c13) = symbolic_binding Self, 1 [symbolic = %Self.loc21_22.2 (constants.%Self.cf2)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc21_22.1: @Bar.loc21.%Bar.type (%Bar.type.2a5) = symbolic_binding Self, 1 [symbolic = %Self.loc21_22.2 (constants.%Self.79f)] +// CHECK:STDOUT: %Self.loc21_22.1: @Bar.loc21.%Bar.type (%Bar.type.c13) = symbolic_binding Self, 1 [symbolic = %Self.loc21_22.2 (constants.%Self.cf2)] // CHECK:STDOUT: %Bar.WithSelf.decl = interface_with_self_decl @Bar.loc21 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -764,7 +764,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.6ef +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Foo.1(constants.%a) { @@ -775,7 +775,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc12_16.1 => constants.%a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Foo.WithSelf(constants.%a, constants.%Self.a96) {} +// CHECK:STDOUT: specific @Foo.WithSelf(constants.%a, constants.%Self.cca) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @Bar.1(constants.%a) { // CHECK:STDOUT: %a => constants.%a @@ -785,7 +785,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc21_16.1 => constants.%a // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Bar.WithSelf(constants.%a, constants.%Self.79f) {} +// CHECK:STDOUT: specific @Bar.WithSelf(constants.%a, constants.%Self.cf2) {} // CHECK:STDOUT: // CHECK:STDOUT: --- fail_name_mismatch.carbon // CHECK:STDOUT: @@ -797,13 +797,13 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.18e74d.1: type = generic_interface_type @Foo.loc7 [concrete] -// CHECK:STDOUT: %Foo.generic.246c6b.1: %Foo.type.18e74d.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.4e31ae.1: type = generic_interface_type @Foo.loc7 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.1: %Foo.type.4e31ae.1 = struct_value () [concrete] // CHECK:STDOUT: %b: %C = symbolic_binding b, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.18e74d.2: type = generic_interface_type @Foo.loc15 [concrete] -// CHECK:STDOUT: %Foo.generic.246c6b.2: %Foo.type.18e74d.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.309: type = facet_type <@Foo.loc15, @Foo.loc15(%b)> [symbolic] -// CHECK:STDOUT: %Self: %Foo.type.309 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Foo.type.4e31ae.2: type = generic_interface_type @Foo.loc15 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.2: %Foo.type.4e31ae.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.fd7: type = facet_type <@Foo.loc15, @Foo.loc15(%b)> [symbolic] +// CHECK:STDOUT: %Self: %Foo.type.fd7 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -815,7 +815,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %D: type = alias_binding D, %C.ref [concrete = constants.%C] -// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.18e74d.1 = interface_decl @Foo.loc7 [concrete = constants.%Foo.generic.246c6b.1] { +// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.4e31ae.1 = interface_decl @Foo.loc7 [concrete = constants.%Foo.generic.8f8e05.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7: type = splice_block %C.ref [concrete = constants.%C] { @@ -824,7 +824,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc7_16.2: %C = symbolic_binding a, 0 [symbolic = %a.loc7_16.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.18e74d.2 = interface_decl @Foo.loc15 [concrete = constants.%Foo.generic.246c6b.2] { +// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.4e31ae.2 = interface_decl @Foo.loc15 [concrete = constants.%Foo.generic.8f8e05.2] { // CHECK:STDOUT: %b.patt: %pattern_type = symbolic_binding_pattern b, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15: type = splice_block %D.ref [concrete = constants.%C] { @@ -845,11 +845,11 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %b.loc15_16.1: %C = symbolic_binding b, 0 [symbolic = %b.loc15_16.1 (constants.%b)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc15, @Foo.loc15(%b.loc15_16.1)> [symbolic = %Foo.type (constants.%Foo.type.309)] -// CHECK:STDOUT: %Self.loc15_22.2: @Foo.loc15.%Foo.type (%Foo.type.309) = symbolic_binding Self, 1 [symbolic = %Self.loc15_22.2 (constants.%Self)] +// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc15, @Foo.loc15(%b.loc15_16.1)> [symbolic = %Foo.type (constants.%Foo.type.fd7)] +// CHECK:STDOUT: %Self.loc15_22.2: @Foo.loc15.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc15_22.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc15_22.1: @Foo.loc15.%Foo.type (%Foo.type.309) = symbolic_binding Self, 1 [symbolic = %Self.loc15_22.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc15_22.1: @Foo.loc15.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc15_22.2 (constants.%Self)] // CHECK:STDOUT: %Foo.WithSelf.decl = interface_with_self_decl @Foo.loc15 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -888,12 +888,12 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.4c0481.1: type = generic_interface_type @Foo.loc7 [concrete] -// CHECK:STDOUT: %Foo.generic.5b8364.1: %Foo.type.4c0481.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.4c0481.2: type = generic_interface_type @Foo.loc15 [concrete] -// CHECK:STDOUT: %Foo.generic.5b8364.2: %Foo.type.4c0481.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.cbd: type = facet_type <@Foo.loc15, @Foo.loc15(%a)> [symbolic] -// CHECK:STDOUT: %Self: %Foo.type.cbd = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Foo.type.4e31ae.1: type = generic_interface_type @Foo.loc7 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.1: %Foo.type.4e31ae.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.4e31ae.2: type = generic_interface_type @Foo.loc15 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.2: %Foo.type.4e31ae.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.fd7: type = facet_type <@Foo.loc15, @Foo.loc15(%a)> [symbolic] +// CHECK:STDOUT: %Self: %Foo.type.fd7 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -905,7 +905,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %D: type = alias_binding D, %C.ref [concrete = constants.%C] -// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.4c0481.1 = interface_decl @Foo.loc7 [concrete = constants.%Foo.generic.5b8364.1] { +// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.4e31ae.1 = interface_decl @Foo.loc7 [concrete = constants.%Foo.generic.8f8e05.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7: type = splice_block %C.ref [concrete = constants.%C] { @@ -914,7 +914,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc7_16.2: %C = symbolic_binding a, 0 [symbolic = %a.loc7_16.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.4c0481.2 = interface_decl @Foo.loc15 [concrete = constants.%Foo.generic.5b8364.2] { +// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.4e31ae.2 = interface_decl @Foo.loc15 [concrete = constants.%Foo.generic.8f8e05.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15: type = splice_block %D.ref [concrete = constants.%C] { @@ -935,11 +935,11 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc15_16.1: %C = symbolic_binding a, 0 [symbolic = %a.loc15_16.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc15, @Foo.loc15(%a.loc15_16.1)> [symbolic = %Foo.type (constants.%Foo.type.cbd)] -// CHECK:STDOUT: %Self.loc15_22.2: @Foo.loc15.%Foo.type (%Foo.type.cbd) = symbolic_binding Self, 1 [symbolic = %Self.loc15_22.2 (constants.%Self)] +// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc15, @Foo.loc15(%a.loc15_16.1)> [symbolic = %Foo.type (constants.%Foo.type.fd7)] +// CHECK:STDOUT: %Self.loc15_22.2: @Foo.loc15.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc15_22.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc15_22.1: @Foo.loc15.%Foo.type (%Foo.type.cbd) = symbolic_binding Self, 1 [symbolic = %Self.loc15_22.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc15_22.1: @Foo.loc15.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc15_22.2 (constants.%Self)] // CHECK:STDOUT: %Foo.WithSelf.decl = interface_with_self_decl @Foo.loc15 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -978,12 +978,12 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.bab258.1: type = generic_interface_type @Foo.loc7 [concrete] -// CHECK:STDOUT: %Foo.generic.2ce101.1: %Foo.type.bab258.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.bab258.2: type = generic_interface_type @Foo.loc15 [concrete] -// CHECK:STDOUT: %Foo.generic.2ce101.2: %Foo.type.bab258.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.f80: type = facet_type <@Foo.loc15, @Foo.loc15(%a)> [symbolic] -// CHECK:STDOUT: %Self: %Foo.type.f80 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Foo.type.4e31ae.1: type = generic_interface_type @Foo.loc7 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.1: %Foo.type.4e31ae.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.4e31ae.2: type = generic_interface_type @Foo.loc15 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.2: %Foo.type.4e31ae.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.fd7: type = facet_type <@Foo.loc15, @Foo.loc15(%a)> [symbolic] +// CHECK:STDOUT: %Self: %Foo.type.fd7 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -995,7 +995,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %D: type = alias_binding D, %C.ref [concrete = constants.%C] -// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.bab258.1 = interface_decl @Foo.loc7 [concrete = constants.%Foo.generic.2ce101.1] { +// CHECK:STDOUT: %Foo.decl.loc7: %Foo.type.4e31ae.1 = interface_decl @Foo.loc7 [concrete = constants.%Foo.generic.8f8e05.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7: type = splice_block %C.ref [concrete = constants.%C] { @@ -1004,7 +1004,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc7_16.2: %C = symbolic_binding a, 0 [symbolic = %a.loc7_16.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.bab258.2 = interface_decl @Foo.loc15 [concrete = constants.%Foo.generic.2ce101.2] { +// CHECK:STDOUT: %Foo.decl.loc15: %Foo.type.4e31ae.2 = interface_decl @Foo.loc15 [concrete = constants.%Foo.generic.8f8e05.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc15: type = splice_block %D.ref [concrete = constants.%C] { @@ -1025,11 +1025,11 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc15_16.1: %C = symbolic_binding a, 0 [symbolic = %a.loc15_16.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc15, @Foo.loc15(%a.loc15_16.1)> [symbolic = %Foo.type (constants.%Foo.type.f80)] -// CHECK:STDOUT: %Self.loc15_24.2: @Foo.loc15.%Foo.type (%Foo.type.f80) = symbolic_binding Self, 1 [symbolic = %Self.loc15_24.2 (constants.%Self)] +// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc15, @Foo.loc15(%a.loc15_16.1)> [symbolic = %Foo.type (constants.%Foo.type.fd7)] +// CHECK:STDOUT: %Self.loc15_24.2: @Foo.loc15.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc15_24.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc15_24.1: @Foo.loc15.%Foo.type (%Foo.type.f80) = symbolic_binding Self, 1 [symbolic = %Self.loc15_24.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc15_24.1: @Foo.loc15.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc15_24.2 (constants.%Self)] // CHECK:STDOUT: %Foo.WithSelf.decl = interface_with_self_decl @Foo.loc15 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1117,20 +1117,20 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.48e6f6.1: type = generic_interface_type @Foo.1 [concrete] -// CHECK:STDOUT: %Foo.generic.c0a75a.1: %Foo.type.48e6f6.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.48e6f6.2: type = generic_interface_type @Foo.loc17 [concrete] -// CHECK:STDOUT: %Foo.generic.c0a75a.2: %Foo.type.48e6f6.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.0ed: type = facet_type <@Foo.loc17, @Foo.loc17(%a)> [symbolic] -// CHECK:STDOUT: %Self: %Foo.type.0ed = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Foo.type.4e31ae.1: type = generic_interface_type @Foo.1 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.1: %Foo.type.4e31ae.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.4e31ae.2: type = generic_interface_type @Foo.loc17 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.2: %Foo.type.4e31ae.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.fd7: type = facet_type <@Foo.loc17, @Foo.loc17(%a)> [symbolic] +// CHECK:STDOUT: %Self: %Foo.type.fd7 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//alias_two_file, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.Foo: %Foo.type.48e6f6.1 = import_ref Main//alias_two_file, Foo, loaded [concrete = constants.%Foo.generic.c0a75a.1] +// CHECK:STDOUT: %Main.Foo: %Foo.type.4e31ae.1 = import_ref Main//alias_two_file, Foo, loaded [concrete = constants.%Foo.generic.8f8e05.1] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//alias_two_file, loc4_10, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.3ad = import_ref Main//alias_two_file, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.6f0: %C = import_ref Main//alias_two_file, loc6_16, loaded [symbolic = @Foo.1.%a (constants.%a)] +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//alias_two_file, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.068: %C = import_ref Main//alias_two_file, loc6_16, loaded [symbolic = @Foo.1.%a (constants.%a)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1143,7 +1143,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %default.import.loc2_30.2 = import // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %D: type = alias_binding D, %C.ref [concrete = constants.%C] -// CHECK:STDOUT: %Foo.decl: %Foo.type.48e6f6.2 = interface_decl @Foo.loc17 [concrete = constants.%Foo.generic.c0a75a.2] { +// CHECK:STDOUT: %Foo.decl: %Foo.type.4e31ae.2 = interface_decl @Foo.loc17 [concrete = constants.%Foo.generic.8f8e05.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc17: type = splice_block %D.ref [concrete = constants.%C] { @@ -1154,7 +1154,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic interface @Foo.1(imports.%Main.import_ref.6f0: %C) [from "alias_two_file.carbon"] { +// CHECK:STDOUT: generic interface @Foo.1(imports.%Main.import_ref.068: %C) [from "alias_two_file.carbon"] { // CHECK:STDOUT: %a: %C = symbolic_binding a, 0 [symbolic = %a (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: interface; @@ -1164,11 +1164,11 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc17_16.1: %C = symbolic_binding a, 0 [symbolic = %a.loc17_16.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc17, @Foo.loc17(%a.loc17_16.1)> [symbolic = %Foo.type (constants.%Foo.type.0ed)] -// CHECK:STDOUT: %Self.loc17_22.2: @Foo.loc17.%Foo.type (%Foo.type.0ed) = symbolic_binding Self, 1 [symbolic = %Self.loc17_22.2 (constants.%Self)] +// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc17, @Foo.loc17(%a.loc17_16.1)> [symbolic = %Foo.type (constants.%Foo.type.fd7)] +// CHECK:STDOUT: %Self.loc17_22.2: @Foo.loc17.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc17_22.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc17_22.1: @Foo.loc17.%Foo.type (%Foo.type.0ed) = symbolic_binding Self, 1 [symbolic = %Self.loc17_22.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc17_22.1: @Foo.loc17.%Foo.type (%Foo.type.fd7) = symbolic_binding Self, 1 [symbolic = %Self.loc17_22.2 (constants.%Self)] // CHECK:STDOUT: %Foo.WithSelf.decl = interface_with_self_decl @Foo.loc17 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1183,7 +1183,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.3ad +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Foo.1(constants.%a) { @@ -1207,12 +1207,12 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %const: type = const_type %C [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %const [concrete] // CHECK:STDOUT: %a: %const = symbolic_binding a, 0 [symbolic] -// CHECK:STDOUT: %Foo.type.b6229b.1: type = generic_interface_type @Foo.loc6 [concrete] -// CHECK:STDOUT: %Foo.generic.7b7db8.1: %Foo.type.b6229b.1 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.b6229b.2: type = generic_interface_type @Foo.loc18 [concrete] -// CHECK:STDOUT: %Foo.generic.7b7db8.2: %Foo.type.b6229b.2 = struct_value () [concrete] -// CHECK:STDOUT: %Foo.type.5ba: type = facet_type <@Foo.loc18, @Foo.loc18(%a)> [symbolic] -// CHECK:STDOUT: %Self: %Foo.type.5ba = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Foo.type.4e31ae.1: type = generic_interface_type @Foo.loc6 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.1: %Foo.type.4e31ae.1 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.4e31ae.2: type = generic_interface_type @Foo.loc18 [concrete] +// CHECK:STDOUT: %Foo.generic.8f8e05.2: %Foo.type.4e31ae.2 = struct_value () [concrete] +// CHECK:STDOUT: %Foo.type.a3d: type = facet_type <@Foo.loc18, @Foo.loc18(%a)> [symbolic] +// CHECK:STDOUT: %Self: %Foo.type.a3d = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1221,7 +1221,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: .Foo = %Foo.decl.loc6 // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.b6229b.1 = interface_decl @Foo.loc6 [concrete = constants.%Foo.generic.7b7db8.1] { +// CHECK:STDOUT: %Foo.decl.loc6: %Foo.type.4e31ae.1 = interface_decl @Foo.loc6 [concrete = constants.%Foo.generic.8f8e05.1] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc6: type = splice_block %const [concrete = constants.%const] { @@ -1231,7 +1231,7 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: } // CHECK:STDOUT: %a.loc6_16.2: %const = symbolic_binding a, 0 [symbolic = %a.loc6_16.1 (constants.%a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %Foo.decl.loc18: %Foo.type.b6229b.2 = interface_decl @Foo.loc18 [concrete = constants.%Foo.generic.7b7db8.2] { +// CHECK:STDOUT: %Foo.decl.loc18: %Foo.type.4e31ae.2 = interface_decl @Foo.loc18 [concrete = constants.%Foo.generic.8f8e05.2] { // CHECK:STDOUT: %a.patt: %pattern_type = symbolic_binding_pattern a, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc18: type = splice_block %const.loc18_19 [concrete = constants.%const] { @@ -1254,11 +1254,11 @@ interface Foo(a:! const (const C)) {} // CHECK:STDOUT: %a.loc18_16.1: %const = symbolic_binding a, 0 [symbolic = %a.loc18_16.1 (constants.%a)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc18, @Foo.loc18(%a.loc18_16.1)> [symbolic = %Foo.type (constants.%Foo.type.5ba)] -// CHECK:STDOUT: %Self.loc18_36.2: @Foo.loc18.%Foo.type (%Foo.type.5ba) = symbolic_binding Self, 1 [symbolic = %Self.loc18_36.2 (constants.%Self)] +// CHECK:STDOUT: %Foo.type: type = facet_type <@Foo.loc18, @Foo.loc18(%a.loc18_16.1)> [symbolic = %Foo.type (constants.%Foo.type.a3d)] +// CHECK:STDOUT: %Self.loc18_36.2: @Foo.loc18.%Foo.type (%Foo.type.a3d) = symbolic_binding Self, 1 [symbolic = %Self.loc18_36.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc18_36.1: @Foo.loc18.%Foo.type (%Foo.type.5ba) = symbolic_binding Self, 1 [symbolic = %Self.loc18_36.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc18_36.1: @Foo.loc18.%Foo.type (%Foo.type.a3d) = symbolic_binding Self, 1 [symbolic = %Self.loc18_36.2 (constants.%Self)] // CHECK:STDOUT: %Foo.WithSelf.decl = interface_with_self_decl @Foo.loc18 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: diff --git a/toolchain/check/testdata/interface/todo_define_not_default.carbon b/toolchain/check/testdata/interface/todo_define_not_default.carbon index 27288eb59905..6ac194a9bf85 100644 --- a/toolchain/check/testdata/interface/todo_define_not_default.carbon +++ b/toolchain/check/testdata/interface/todo_define_not_default.carbon @@ -27,42 +27,42 @@ interface I { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.cd6: %I.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.cd6) [symbolic] +// CHECK:STDOUT: %Self.179: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self.179) [symbolic] // CHECK:STDOUT: %I.WithSelf.F: %I.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.918: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] +// CHECK:STDOUT: %assoc0.8fc: %I.assoc_type = assoc_entity element0, @I.WithSelf.%I.WithSelf.F.decl [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %I.WithSelf.G.type: type = fn_type @I.WithSelf.G, @I.WithSelf(%Self.cd6) [symbolic] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %I.WithSelf.G.type: type = fn_type @I.WithSelf.G, @I.WithSelf(%Self.179) [symbolic] // CHECK:STDOUT: %I.WithSelf.G: %I.WithSelf.G.type = struct_value () [symbolic] // CHECK:STDOUT: %assoc1: %I.assoc_type = assoc_entity element1, @I.WithSelf.%I.WithSelf.G.decl [concrete] // CHECK:STDOUT: %assoc2: %I.assoc_type = assoc_entity element2, @I.WithSelf.%T [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] // CHECK:STDOUT: %assoc3: %I.assoc_type = assoc_entity element3, @I.WithSelf.%N [concrete] // CHECK:STDOUT: %int_42.20e: Core.IntLiteral = int_value 42 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_42.bc5: %i32 = int_value 42 [concrete] +// CHECK:STDOUT: %int_42.daa: %i32 = int_value 42 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -73,9 +73,9 @@ interface I { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -88,22 +88,22 @@ interface I { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I { -// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.cd6] +// CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = constants.%Self.179] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F)] {} {} -// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0.918] +// CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, %I.WithSelf.F.decl [concrete = constants.%assoc0.8fc] // CHECK:STDOUT: %I.WithSelf.G.decl: @I.WithSelf.%I.WithSelf.G.type (%I.WithSelf.G.type) = fn_decl @I.WithSelf.G [symbolic = @I.WithSelf.%I.WithSelf.G (constants.%I.WithSelf.G)] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc18_27 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc18_27 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc18_27: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc18: Core.Form = init_form %i32.loc18_27 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc18: Core.Form = init_form %i32.loc18_27 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc18_11: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param @@ -119,18 +119,18 @@ interface I { // CHECK:STDOUT: %i32.loc22_19: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc22_24: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc22_27: %tuple.type.24b = tuple_literal (%i32.loc22_19, %i32.loc22_24) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc22_28: type = converted %.loc22_27, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] +// CHECK:STDOUT: %.loc22_28: type = converted %.loc22_27, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] // CHECK:STDOUT: } // CHECK:STDOUT: %N: %i32 = assoc_const_decl @N [concrete] { // CHECK:STDOUT: %assoc3: %I.assoc_type = assoc_entity element3, @I.WithSelf.%N [concrete = constants.%assoc3] // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete = constants.%int_42.20e] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc23_19.1: = bound_method %int_42, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc23_19.2: = bound_method %int_42, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc23_19.2(%int_42) [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc23_19.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc23_19.2: %i32 = converted %int_42, %.loc23_19.1 [concrete = constants.%int_42.bc5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc23_19.2(%int_42) [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc23_19.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc23_19.2: %i32 = converted %int_42, %.loc23_19.1 [concrete = constants.%int_42.daa] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -159,16 +159,16 @@ interface I { // CHECK:STDOUT: fn(%a.param: %i32, %b.param: %i32) -> out %return.param: %i32 = "int.sadd"; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.cd6) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.179) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.cd6 +// CHECK:STDOUT: %Self => constants.%Self.179 // CHECK:STDOUT: %I.WithSelf.F.type => constants.%I.WithSelf.F.type // CHECK:STDOUT: %I.WithSelf.F => constants.%I.WithSelf.F // CHECK:STDOUT: %I.WithSelf.G.type => constants.%I.WithSelf.G.type // CHECK:STDOUT: %I.WithSelf.G => constants.%I.WithSelf.G // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.cd6) {} +// CHECK:STDOUT: specific @I.WithSelf.F(constants.%Self.179) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf.G(constants.%Self.cd6) {} +// CHECK:STDOUT: specific @I.WithSelf.G(constants.%Self.179) {} // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/basics/import/import.carbon b/toolchain/check/testdata/interop/cpp/basics/import/import.carbon index f612964f20af..d40824153a2d 100644 --- a/toolchain/check/testdata/interop/cpp/basics/import/import.carbon +++ b/toolchain/check/testdata/interop/cpp/basics/import/import.carbon @@ -148,28 +148,28 @@ fn F() { // CHECK:STDOUT: %int_8.b85: Core.IntLiteral = int_value 8 [concrete] // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] -// CHECK:STDOUT: %As.type.457: type = facet_type <@As, @As(%i16)> [concrete] +// CHECK:STDOUT: %As.type.fff: type = facet_type <@As, @As(%i16)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.bca: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.36d: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.036: %Core.IntLiteral.as.As.impl.Convert.type.36d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.457 = facet_value Core.IntLiteral, (%As.impl_witness.bca) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.9f1: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] -// CHECK:STDOUT: %.3ca: type = fn_type_with_self_type %As.WithSelf.Convert.type.9f1, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_8.b85, %Core.IntLiteral.as.As.impl.Convert.036 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.036, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.16a: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ced: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.0b6: %Core.IntLiteral.as.As.impl.Convert.type.ced = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.fff = facet_value Core.IntLiteral, (%As.impl_witness.16a) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.28f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] +// CHECK:STDOUT: %.696: type = fn_type_with_self_type %As.WithSelf.Convert.type.28f, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_8.b85, %Core.IntLiteral.as.As.impl.Convert.0b6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.0b6, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_8.b85, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_8.e79: %i16 = int_value 8 [concrete] +// CHECK:STDOUT: %int_8.43b: %i16 = int_value 8 [concrete] // CHECK:STDOUT: %int_9: Core.IntLiteral = int_value 9 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.FooShort: = import_ref Main//function_api, FooShort, loaded [concrete = ] // CHECK:STDOUT: %Main.FooInt: = import_ref Main//function_api, FooInt, loaded [concrete = ] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -177,13 +177,13 @@ fn F() { // CHECK:STDOUT: %FooShort.ref: = name_ref FooShort, imports.%Main.FooShort [concrete = ] // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete = constants.%int_8.b85] // CHECK:STDOUT: %i16: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %impl.elem0: %.3ca = impl_witness_access constants.%As.impl_witness.bca, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.036] +// CHECK:STDOUT: %impl.elem0: %.696 = impl_witness_access constants.%As.impl_witness.16a, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.0b6] // CHECK:STDOUT: %bound_method.loc16_14.1: = bound_method %int_8, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc16_14.2: = bound_method %int_8, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc16_14.2(%int_8) [concrete = constants.%int_8.e79] -// CHECK:STDOUT: %.loc16_14.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_8.e79] -// CHECK:STDOUT: %.loc16_14.2: %i16 = converted %int_8, %.loc16_14.1 [concrete = constants.%int_8.e79] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc16_14.2(%int_8) [concrete = constants.%int_8.43b] +// CHECK:STDOUT: %.loc16_14.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_8.43b] +// CHECK:STDOUT: %.loc16_14.2: %i16 = converted %int_8, %.loc16_14.1 [concrete = constants.%int_8.43b] // CHECK:STDOUT: %FooInt.ref: = name_ref FooInt, imports.%Main.FooInt [concrete = ] // CHECK:STDOUT: %int_9: Core.IntLiteral = int_value 9 [concrete = constants.%int_9] // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/basics/import/indirect.carbon b/toolchain/check/testdata/interop/cpp/basics/import/indirect.carbon index c9ea33448869..e10269e2cd86 100644 --- a/toolchain/check/testdata/interop/cpp/basics/import/indirect.carbon +++ b/toolchain/check/testdata/interop/cpp/basics/import/indirect.carbon @@ -145,15 +145,15 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %X.elem: type = unbound_element_type %X, %i32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %X.cpp_destructor.type: type = fn_type @X.cpp_destructor [concrete] // CHECK:STDOUT: %X.cpp_destructor: %X.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: %X.g.cpp_overload_set.type: type = cpp_overload_set_type @X.g.cpp_overload_set [concrete] @@ -164,8 +164,8 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.F: %F.type = import_ref Main//direct_import, F, loaded [concrete = constants.%F] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %X.g.cpp_overload_set.value: %X.g.cpp_overload_set.type = cpp_overload_set_value @X.g.cpp_overload_set [concrete = constants.%X.g.cpp_overload_set.value] // CHECK:STDOUT: %X.g.decl: %X.g.type = fn_decl @X.g [concrete = constants.%X.g] { // CHECK:STDOUT: @@ -183,7 +183,7 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %x.ref: %X.elem = name_ref x, @X.%.1 [concrete = @X.%.1] // CHECK:STDOUT: %.loc9_13.1: ref %i32 = class_element_access %.loc9_12.2, element0 // CHECK:STDOUT: %.loc9_13.2: %i32 = acquire_value %.loc9_13.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc9_13.1: = bound_method %.loc9_13.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc9_13.2: = bound_method %.loc9_13.2, %specific_fn @@ -215,7 +215,7 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %X.elem: type = unbound_element_type %X, %i32 [concrete] // CHECK:STDOUT: %pattern_type.74a: type = pattern_type %X [concrete] @@ -223,34 +223,34 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %ptr.4ff: type = ptr_type %X [concrete] // CHECK:STDOUT: %X__carbon_thunk.type: type = fn_type @X__carbon_thunk [concrete] // CHECK:STDOUT: %X__carbon_thunk: %X__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %X.g.cpp_overload_set.type: type = cpp_overload_set_type @X.g.cpp_overload_set [concrete] // CHECK:STDOUT: %X.g.cpp_overload_set.value: %X.g.cpp_overload_set.type = cpp_overload_set_value @X.g.cpp_overload_set [concrete] // CHECK:STDOUT: %X.g.type: type = fn_type @X.g [concrete] // CHECK:STDOUT: %X.g: %X.g.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %X.cpp_destructor.type: type = fn_type @X.cpp_destructor [concrete] // CHECK:STDOUT: %X.cpp_destructor: %X.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -262,19 +262,19 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %X.g.cpp_overload_set.value: %X.g.cpp_overload_set.type = cpp_overload_set_value @X.g.cpp_overload_set [concrete = constants.%X.g.cpp_overload_set.value] // CHECK:STDOUT: %X.g.decl: %X.g.type = fn_decl @X.g [concrete = constants.%X.g] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Use() -> out %return.param: %tuple.type.87c { +// CHECK:STDOUT: fn @Use() -> out %return.param: %tuple.type.e5a { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %ax.patt: %pattern_type.74a = ref_binding_pattern ax [concrete] @@ -283,13 +283,13 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %ax.var: ref %X = var %ax.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc9_3.1: ref %X = splice_block %ax.var {} -// CHECK:STDOUT: %impl.elem0.loc9: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc9: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc9_16.1: = bound_method %int_1, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc9: = specific_function %impl.elem0.loc9, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc9_16.2: = bound_method %int_1, %specific_fn.loc9 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_16.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_16.2: %i32 = converted %int_1, %.loc9_16.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_16.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_16.2: %i32 = converted %int_1, %.loc9_16.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %addr: %ptr.4ff = addr_of %.loc9_3.1 // CHECK:STDOUT: %X__carbon_thunk.call: init %empty_tuple.type = call imports.%X__carbon_thunk.decl(%.loc9_16.2, %addr) // CHECK:STDOUT: %.loc9_3.2: init %X to %.loc9_3.1 = mark_in_place_init %X__carbon_thunk.call @@ -304,9 +304,9 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %g.ref: %X.g.cpp_overload_set.type = name_ref g, imports.%X.g.cpp_overload_set.value [concrete = constants.%X.g.cpp_overload_set.value] // CHECK:STDOUT: %bound_method.loc10_19: = bound_method %ax.ref.loc10_17, %g.ref // CHECK:STDOUT: %X.g.call: init %i32 = call imports.%X.g.decl(%ax.ref.loc10_17) -// CHECK:STDOUT: %.loc10_23.1: %tuple.type.87c = tuple_literal (%.loc10_13.1, %X.g.call) +// CHECK:STDOUT: %.loc10_23.1: %tuple.type.e5a = tuple_literal (%.loc10_13.1, %X.g.call) // CHECK:STDOUT: %.loc10_13.2: %i32 = acquire_value %.loc10_13.1 -// CHECK:STDOUT: %impl.elem0.loc10: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc10: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc10_13.1: = bound_method %.loc10_13.2, %impl.elem0.loc10 // CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc10_13.2: = bound_method %.loc10_13.2, %specific_fn.loc10 @@ -315,8 +315,8 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %.loc10_23.2: init %i32 to %tuple.elem0 = in_place_init %Int.as.Copy.impl.Op.call // CHECK:STDOUT: %tuple.elem1: ref %i32 = tuple_access %return.param, element1 // CHECK:STDOUT: %.loc10_23.3: init %i32 to %tuple.elem1 = in_place_init %X.g.call -// CHECK:STDOUT: %.loc10_23.4: init %tuple.type.87c to %return.param = tuple_init (%.loc10_23.2, %.loc10_23.3) -// CHECK:STDOUT: %.loc10_24: init %tuple.type.87c = converted %.loc10_23.1, %.loc10_23.4 +// CHECK:STDOUT: %.loc10_23.4: init %tuple.type.e5a to %return.param = tuple_init (%.loc10_23.2, %.loc10_23.3) +// CHECK:STDOUT: %.loc10_24: init %tuple.type.e5a = converted %.loc10_23.1, %.loc10_23.4 // CHECK:STDOUT: %X.cpp_destructor.bound: = bound_method %ax.var, constants.%X.cpp_destructor // CHECK:STDOUT: %X.cpp_destructor.call: init %empty_tuple.type = call %X.cpp_destructor.bound(%ax.var) // CHECK:STDOUT: return %.loc10_24 to %return.param @@ -332,17 +332,17 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %Y.ef9: type = class_type @Y.1 [concrete] -// CHECK:STDOUT: %Y.elem.c50: type = unbound_element_type %Y.ef9, %i32 [concrete] +// CHECK:STDOUT: %Y.elem.530: type = unbound_element_type %Y.ef9, %i32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Y.cpp_destructor.type.300273.1: type = fn_type @Y.cpp_destructor.1 [concrete] // CHECK:STDOUT: %Y.cpp_destructor.6dd6f2.1: %Y.cpp_destructor.type.300273.1 = struct_value () [concrete] // CHECK:STDOUT: %Z: type = class_type @Z [concrete] @@ -359,10 +359,10 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %Z__carbon_thunk: %Z__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Z.Op.type: type = fn_type @Z.Op [concrete] // CHECK:STDOUT: %Z.Op: %Z.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.862: = custom_witness (%Z.Op), @Copy [concrete] -// CHECK:STDOUT: %Copy.facet.916: %Copy.type = facet_value %Z, (%custom_witness.862) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.8ae: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.916) [concrete] -// CHECK:STDOUT: %.158: type = fn_type_with_self_type %Copy.WithSelf.Op.type.8ae, %Copy.facet.916 [concrete] +// CHECK:STDOUT: %custom_witness.069: = custom_witness (%Z.Op), @Copy [concrete] +// CHECK:STDOUT: %Copy.facet.ede: %Copy.type = facet_value %Z, (%custom_witness.069) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.f30: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.ede) [concrete] +// CHECK:STDOUT: %.8e1: type = fn_type_with_self_type %Copy.WithSelf.Op.type.f30, %Copy.facet.ede [concrete] // CHECK:STDOUT: %Y.cpp_destructor.type.300273.2: type = fn_type @Y.cpp_destructor.2 [concrete] // CHECK:STDOUT: %Y.cpp_destructor.6dd6f2.2: %Y.cpp_destructor.type.300273.2 = struct_value () [concrete] // CHECK:STDOUT: } @@ -370,8 +370,8 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.G: %G.type = import_ref Main//direct_import, G, loaded [concrete = constants.%G] // CHECK:STDOUT: %Main.H: %H.type = import_ref Main//direct_import, H, loaded [concrete = constants.%H] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Z.Z.decl: %Z.Z.type = fn_decl @Z.Z [concrete = constants.%Z.Z] { // CHECK:STDOUT: // CHECK:STDOUT: } { @@ -390,10 +390,10 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %.loc9_12.1: ref %Y.ef9 = temporary_storage // CHECK:STDOUT: %G.call: init %Y.ef9 to %.loc9_12.1 = call %G.ref() // CHECK:STDOUT: %.loc9_12.2: ref %Y.ef9 = temporary %.loc9_12.1, %G.call -// CHECK:STDOUT: %y.ref: %Y.elem.c50 = name_ref y, @Y.1.%.1 [concrete = @Y.1.%.1] +// CHECK:STDOUT: %y.ref: %Y.elem.530 = name_ref y, @Y.1.%.1 [concrete = @Y.1.%.1] // CHECK:STDOUT: %.loc9_13.1: ref %i32 = class_element_access %.loc9_12.2, element0 // CHECK:STDOUT: %.loc9_13.2: %i32 = acquire_value %.loc9_13.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc9_13.1: = bound_method %.loc9_13.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc9_13.2: = bound_method %.loc9_13.2, %specific_fn @@ -413,7 +413,7 @@ fn UseZ() -> Cpp.A.Z { // CHECK:STDOUT: %.loc15_13.1: ref %Z = class_element_access %.loc15_12.2, element0 // CHECK:STDOUT: %.loc15_13.2: %Z = acquire_value %.loc15_13.1 // CHECK:STDOUT: -// CHECK:STDOUT: %impl.elem0: %.158 = impl_witness_access constants.%custom_witness.862, element0 [concrete = constants.%Z.Op] +// CHECK:STDOUT: %impl.elem0: %.8e1 = impl_witness_access constants.%custom_witness.069, element0 [concrete = constants.%Z.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc15_13.2, %impl.elem0 // CHECK:STDOUT: %.loc15_13.3: ref %Z = temporary_storage // CHECK:STDOUT: %Op.ref: %Z.Z.type = name_ref Op, imports.%Z.Z.decl [concrete = constants.%Z.Z] diff --git a/toolchain/check/testdata/interop/cpp/class/import/access.carbon b/toolchain/check/testdata/interop/cpp/class/import/access.carbon index 04a5aa086bb4..19a5ef90405f 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/access.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/access.carbon @@ -1626,7 +1626,7 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %S.elem: type = unbound_element_type %S, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1635,15 +1635,15 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} -// CHECK:STDOUT: %static_data.patt: %pattern_type.c6b = ref_binding_pattern static_data [concrete] -// CHECK:STDOUT: %static_data.var_patt: %pattern_type.c6b = var_pattern %static_data.patt [concrete] +// CHECK:STDOUT: %static_data.patt: %pattern_type.104 = ref_binding_pattern static_data [concrete] +// CHECK:STDOUT: %static_data.var_patt: %pattern_type.104 = var_pattern %static_data.patt [concrete] // CHECK:STDOUT: %static_data.var: ref %i32 = var %static_data.var_patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%s.param: %S) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %instance_data.patt: %pattern_type.c6b = value_binding_pattern instance_data [concrete] +// CHECK:STDOUT: %instance_data.patt: %pattern_type.104 = value_binding_pattern instance_data [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %s.ref: %S = name_ref s, %s // CHECK:STDOUT: %instance_data.ref: %S.elem = name_ref instance_data, @S.%.1 [concrete = @S.%.1] @@ -1652,7 +1652,7 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %i32.loc8: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %instance_data: %i32 = value_binding instance_data, %.loc8_36.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %static_data.patt: %pattern_type.c6b = value_binding_pattern static_data [concrete] +// CHECK:STDOUT: %static_data.patt: %pattern_type.104 = value_binding_pattern static_data [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %S.ref.loc9: type = name_ref S, imports.%S.decl [concrete = constants.%S] @@ -1672,19 +1672,19 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %S.elem: type = unbound_element_type %S, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %static_data.patt: %pattern_type.c6b = ref_binding_pattern static_data [concrete] -// CHECK:STDOUT: %static_data.var_patt: %pattern_type.c6b = var_pattern %static_data.patt [concrete] +// CHECK:STDOUT: %static_data.patt: %pattern_type.104 = ref_binding_pattern static_data [concrete] +// CHECK:STDOUT: %static_data.var_patt: %pattern_type.104 = var_pattern %static_data.patt [concrete] // CHECK:STDOUT: %static_data.var: ref %i32 = var %static_data.var_patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%d.param: %Derived) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %instance_data.patt: %pattern_type.c6b = value_binding_pattern instance_data [concrete] +// CHECK:STDOUT: %instance_data.patt: %pattern_type.104 = value_binding_pattern instance_data [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.ref: %Derived = name_ref d, %d // CHECK:STDOUT: %instance_data.ref: %S.elem = name_ref instance_data, @S.%.1 [concrete = @S.%.1] @@ -1695,7 +1695,7 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %.loc12_36.4: %i32 = acquire_value %.loc12_36.3 // CHECK:STDOUT: %instance_data: %i32 = value_binding instance_data, %.loc12_36.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %static_data.patt: %pattern_type.c6b = value_binding_pattern static_data [concrete] +// CHECK:STDOUT: %static_data.patt: %pattern_type.104 = value_binding_pattern static_data [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Derived.ref.loc13: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] // CHECK:STDOUT: @@ -1714,7 +1714,7 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1723,8 +1723,8 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %static_data.patt: %pattern_type.c6b = ref_binding_pattern static_data [concrete] -// CHECK:STDOUT: %static_data.var_patt: %pattern_type.c6b = var_pattern %static_data.patt [concrete] +// CHECK:STDOUT: %static_data.patt: %pattern_type.104 = ref_binding_pattern static_data [concrete] +// CHECK:STDOUT: %static_data.var_patt: %pattern_type.104 = var_pattern %static_data.patt [concrete] // CHECK:STDOUT: %static_data.var: ref %i32 = var %static_data.var_patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1745,7 +1745,7 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: fn @Derived.F(%self.param: %Derived) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %instance_data.patt: %pattern_type.c6b = value_binding_pattern instance_data [concrete] +// CHECK:STDOUT: %instance_data.patt: %pattern_type.104 = value_binding_pattern instance_data [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %self.ref: %Derived = name_ref self, %self // CHECK:STDOUT: %instance_data.ref: %C.elem = name_ref instance_data, @C.%.1 [concrete = @C.%.1] @@ -1756,7 +1756,7 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %.loc10_41.4: %i32 = acquire_value %.loc10_41.3 // CHECK:STDOUT: %instance_data: %i32 = value_binding instance_data, %.loc10_41.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %unqualified_static_data.patt: %pattern_type.c6b = value_binding_pattern unqualified_static_data [concrete] +// CHECK:STDOUT: %unqualified_static_data.patt: %pattern_type.104 = value_binding_pattern unqualified_static_data [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: %static_data.ref.loc11: ref %i32 = name_ref static_data, imports.%static_data.var [concrete = imports.%static_data.var] @@ -1764,7 +1764,7 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %.loc11: %i32 = acquire_value %static_data.ref.loc11 // CHECK:STDOUT: %unqualified_static_data: %i32 = value_binding unqualified_static_data, %.loc11 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %derived_static_data.patt: %pattern_type.c6b = value_binding_pattern derived_static_data [concrete] +// CHECK:STDOUT: %derived_static_data.patt: %pattern_type.104 = value_binding_pattern derived_static_data [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] // CHECK:STDOUT: %static_data.ref.loc12: ref %i32 = name_ref static_data, imports.%static_data.var [concrete = imports.%static_data.var] @@ -1772,7 +1772,7 @@ fn Call(var instance: Cpp.PublicPrivate) { // CHECK:STDOUT: %.loc12: %i32 = acquire_value %static_data.ref.loc12 // CHECK:STDOUT: %derived_static_data: %i32 = value_binding derived_static_data, %.loc12 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %base_static_data.patt: %pattern_type.c6b = value_binding_pattern base_static_data [concrete] +// CHECK:STDOUT: %base_static_data.patt: %pattern_type.104 = value_binding_pattern base_static_data [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%C.decl [concrete = constants.%C] diff --git a/toolchain/check/testdata/interop/cpp/class/import/base.carbon b/toolchain/check/testdata/interop/cpp/class/import/base.carbon index 4d9ee7762a77..53ea7f3ac536 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/base.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/base.carbon @@ -481,15 +481,15 @@ class V { // CHECK:STDOUT: %ConvertPtr: %ConvertPtr.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.826: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%Base) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.097: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Base) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.235: %ptr.as.Copy.impl.Op.type.097 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.eb6, (%Copy.impl_witness.826) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.402: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.97e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.402, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.235, @ptr.as.Copy.impl.Op(%Base) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.ab1: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%Base) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.f2f: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Base) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.e51: %ptr.as.Copy.impl.Op.type.f2f = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.eb6, (%Copy.impl_witness.ab1) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.092: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.470: type = fn_type_with_self_type %Copy.WithSelf.Op.type.092, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.e51, @ptr.as.Copy.impl.Op(%Base) [concrete] // CHECK:STDOUT: %AcceptVal.type: type = fn_type @AcceptVal [concrete] // CHECK:STDOUT: %AcceptVal: %AcceptVal.type = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.ad3: type = pattern_type %Derived [concrete] @@ -505,8 +505,8 @@ class V { // CHECK:STDOUT: } // CHECK:STDOUT: %Derived.decl: type = class_decl @Derived [concrete = constants.%Derived] {} {} // CHECK:STDOUT: %Base.decl: type = class_decl @Base [concrete = constants.%Base] {} {} -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -550,7 +550,7 @@ class V { // CHECK:STDOUT: %.loc8_11.2: ref %Base = class_element_access %.loc8_11.1, element0 // CHECK:STDOUT: %addr: %ptr.eb6 = addr_of %.loc8_11.2 // CHECK:STDOUT: %.loc8_11.3: %ptr.eb6 = converted %d.ref, %addr -// CHECK:STDOUT: %impl.elem0: %.97e = impl_witness_access constants.%Copy.impl_witness.826, element0 [concrete = constants.%ptr.as.Copy.impl.Op.235] +// CHECK:STDOUT: %impl.elem0: %.470 = impl_witness_access constants.%Copy.impl_witness.ab1, element0 [concrete = constants.%ptr.as.Copy.impl.Op.e51] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %.loc8_11.3, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%Base) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %.loc8_11.3, %specific_fn @@ -629,15 +629,15 @@ class V { // CHECK:STDOUT: %Base: type = class_type @Base [concrete] // CHECK:STDOUT: %Base.elem: type = unbound_element_type %Base, %i32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -648,8 +648,8 @@ class V { // CHECK:STDOUT: } // CHECK:STDOUT: %Derived.decl: type = class_decl @Derived [concrete = constants.%Derived] {} {} // CHECK:STDOUT: %Base.decl: type = class_decl @Base [concrete = constants.%Base] {} {} -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @AccessDirect(%d.param: %Derived) -> out %return.param: %i32 { @@ -660,7 +660,7 @@ class V { // CHECK:STDOUT: %.loc8_11.2: ref %Base = converted %d.ref, %.loc8_11.1 // CHECK:STDOUT: %.loc8_11.3: ref %i32 = class_element_access %.loc8_11.2, element0 // CHECK:STDOUT: %.loc8_11.4: %i32 = acquire_value %.loc8_11.3 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %.loc8_11.4, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %.loc8_11.4, %specific_fn @@ -678,7 +678,7 @@ class V { // CHECK:STDOUT: %.loc14_11.2: ref %Base = converted %d.ref, %.loc14_11.1 // CHECK:STDOUT: %.loc14_11.3: ref %i32 = class_element_access %.loc14_11.2, element1 // CHECK:STDOUT: %.loc14_11.4: %i32 = acquire_value %.loc14_11.3 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc14_11.1: = bound_method %.loc14_11.4, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_11.2: = bound_method %.loc14_11.4, %specific_fn diff --git a/toolchain/check/testdata/interop/cpp/class/import/constructor.carbon b/toolchain/check/testdata/interop/cpp/class/import/constructor.carbon index 75f4f7be2800..2f3660634a50 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/constructor.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/constructor.carbon @@ -373,15 +373,15 @@ fn F() { // CHECK:STDOUT: %pattern_type.479: type = pattern_type %C [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %C.Op.type: type = fn_type @C.Op [concrete] // CHECK:STDOUT: %C.Op: %C.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.213: = custom_witness (%C.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.fc6: %Default.type = facet_value %C, (%custom_witness.213) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.44d: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.fc6) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.ea5: %DefaultOrUnformed.type = facet_value %C, (%DefaultOrUnformed.impl_witness.44d) [concrete] +// CHECK:STDOUT: %custom_witness.b26: = custom_witness (%C.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.89f: %Default.type = facet_value %C, (%custom_witness.b26) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.6ab: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.89f) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.906: %DefaultOrUnformed.type = facet_value %C, (%DefaultOrUnformed.impl_witness.6ab) [concrete] // CHECK:STDOUT: %C.cpp_destructor.type: type = fn_type @C.cpp_destructor [concrete] // CHECK:STDOUT: %C.cpp_destructor: %C.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -392,8 +392,8 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -403,8 +403,8 @@ fn F() { // CHECK:STDOUT: %c.var_patt: %pattern_type.479 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%C, (constants.%DefaultOrUnformed.impl_witness.44d) [concrete = constants.%DefaultOrUnformed.facet.ea5] -// CHECK:STDOUT: %.loc8_22.1: %DefaultOrUnformed.type = converted constants.%C, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet.ea5] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%C, (constants.%DefaultOrUnformed.impl_witness.6ab) [concrete = constants.%DefaultOrUnformed.facet.906] +// CHECK:STDOUT: %.loc8_22.1: %DefaultOrUnformed.type = converted constants.%C, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet.906] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc8_22.1 [concrete = constants.%C] // CHECK:STDOUT: %.loc8_22.2: type = converted %.loc8_22.1, %as_type [concrete = constants.%C] // CHECK:STDOUT: @@ -436,23 +436,23 @@ fn F() { // CHECK:STDOUT: %ptr.3a8: type = ptr_type %C [concrete] // CHECK:STDOUT: %C__carbon_thunk.type: type = fn_type @C__carbon_thunk [concrete] // CHECK:STDOUT: %C__carbon_thunk: %C__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.059: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.692: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_123.5a3: %i32 = int_value 123 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.853: = bound_method %int_456.010, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.88a: = bound_method %int_456.010, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_456.b78: %i32 = int_value 456 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d08: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.f4c: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_123.5b5: %i32 = int_value 123 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.114: = bound_method %int_456.010, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.3d7: = bound_method %int_456.010, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_456.b9d: %i32 = int_value 456 [concrete] // CHECK:STDOUT: %C.cpp_destructor.type: type = fn_type @C.cpp_destructor [concrete] // CHECK:STDOUT: %C.cpp_destructor: %C.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -469,8 +469,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -484,20 +484,20 @@ fn F() { // CHECK:STDOUT: %int_123: Core.IntLiteral = int_value 123 [concrete = constants.%int_123.fff] // CHECK:STDOUT: %int_456: Core.IntLiteral = int_value 456 [concrete = constants.%int_456.010] // CHECK:STDOUT: %.loc8_41.1: ref %C = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc8_33: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_33.1: = bound_method %int_123, %impl.elem0.loc8_33 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.059] +// CHECK:STDOUT: %impl.elem0.loc8_33: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_33.1: = bound_method %int_123, %impl.elem0.loc8_33 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d08] // CHECK:STDOUT: %specific_fn.loc8_33: = specific_function %impl.elem0.loc8_33, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_33.2: = bound_method %int_123, %specific_fn.loc8_33 [concrete = constants.%bound_method.692] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_33: init %i32 = call %bound_method.loc8_33.2(%int_123) [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %.loc8_33.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_33 [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %.loc8_33.2: %i32 = converted %int_123, %.loc8_33.1 [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %impl.elem0.loc8_38: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_38.1: = bound_method %int_456, %impl.elem0.loc8_38 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.853] +// CHECK:STDOUT: %bound_method.loc8_33.2: = bound_method %int_123, %specific_fn.loc8_33 [concrete = constants.%bound_method.f4c] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_33: init %i32 = call %bound_method.loc8_33.2(%int_123) [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %.loc8_33.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_33 [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %.loc8_33.2: %i32 = converted %int_123, %.loc8_33.1 [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %impl.elem0.loc8_38: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_38.1: = bound_method %int_456, %impl.elem0.loc8_38 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.114] // CHECK:STDOUT: %specific_fn.loc8_38: = specific_function %impl.elem0.loc8_38, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_38.2: = bound_method %int_456, %specific_fn.loc8_38 [concrete = constants.%bound_method.88a] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_38: init %i32 = call %bound_method.loc8_38.2(%int_456) [concrete = constants.%int_456.b78] -// CHECK:STDOUT: %.loc8_38.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_38 [concrete = constants.%int_456.b78] -// CHECK:STDOUT: %.loc8_38.2: %i32 = converted %int_456, %.loc8_38.1 [concrete = constants.%int_456.b78] +// CHECK:STDOUT: %bound_method.loc8_38.2: = bound_method %int_456, %specific_fn.loc8_38 [concrete = constants.%bound_method.3d7] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_38: init %i32 = call %bound_method.loc8_38.2(%int_456) [concrete = constants.%int_456.b9d] +// CHECK:STDOUT: %.loc8_38.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_38 [concrete = constants.%int_456.b9d] +// CHECK:STDOUT: %.loc8_38.2: %i32 = converted %int_456, %.loc8_38.1 [concrete = constants.%int_456.b9d] // CHECK:STDOUT: %addr: %ptr.3a8 = addr_of %.loc8_41.1 // CHECK:STDOUT: %C__carbon_thunk.call: init %empty_tuple.type = call imports.%C__carbon_thunk.decl(%.loc8_33.2, %.loc8_38.2, %addr) // CHECK:STDOUT: %.loc8_41.2: init %C to %.loc8_41.1 = mark_in_place_init %C__carbon_thunk.call @@ -530,23 +530,23 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %C__carbon_thunk.type.0be6f8.2: type = fn_type @C__carbon_thunk.2 [concrete] // CHECK:STDOUT: %C__carbon_thunk.7c7210.2: %C__carbon_thunk.type.0be6f8.2 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.059: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.692: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_123.5a3: %i32 = int_value 123 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.853: = bound_method %int_456.010, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.88a: = bound_method %int_456.010, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_456.b78: %i32 = int_value 456 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d08: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.f4c: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_123.5b5: %i32 = int_value 123 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.114: = bound_method %int_456.010, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.3d7: = bound_method %int_456.010, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_456.b9d: %i32 = int_value 456 [concrete] // CHECK:STDOUT: %C.cpp_destructor.type: type = fn_type @C.cpp_destructor [concrete] // CHECK:STDOUT: %C.cpp_destructor: %C.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -568,8 +568,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -600,20 +600,20 @@ fn F() { // CHECK:STDOUT: %int_123: Core.IntLiteral = int_value 123 [concrete = constants.%int_123.fff] // CHECK:STDOUT: %int_456: Core.IntLiteral = int_value 456 [concrete = constants.%int_456.010] // CHECK:STDOUT: %.loc9_42.1: ref %C = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc9_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_34.1: = bound_method %int_123, %impl.elem0.loc9_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.059] +// CHECK:STDOUT: %impl.elem0.loc9_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_34.1: = bound_method %int_123, %impl.elem0.loc9_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d08] // CHECK:STDOUT: %specific_fn.loc9_34: = specific_function %impl.elem0.loc9_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_34.2: = bound_method %int_123, %specific_fn.loc9_34 [concrete = constants.%bound_method.692] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_34: init %i32 = call %bound_method.loc9_34.2(%int_123) [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %.loc9_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_34 [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %.loc9_34.2: %i32 = converted %int_123, %.loc9_34.1 [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %impl.elem0.loc9_39: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_39.1: = bound_method %int_456, %impl.elem0.loc9_39 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.853] +// CHECK:STDOUT: %bound_method.loc9_34.2: = bound_method %int_123, %specific_fn.loc9_34 [concrete = constants.%bound_method.f4c] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_34: init %i32 = call %bound_method.loc9_34.2(%int_123) [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %.loc9_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_34 [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %.loc9_34.2: %i32 = converted %int_123, %.loc9_34.1 [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %impl.elem0.loc9_39: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_39.1: = bound_method %int_456, %impl.elem0.loc9_39 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.114] // CHECK:STDOUT: %specific_fn.loc9_39: = specific_function %impl.elem0.loc9_39, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_39.2: = bound_method %int_456, %specific_fn.loc9_39 [concrete = constants.%bound_method.88a] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_39: init %i32 = call %bound_method.loc9_39.2(%int_456) [concrete = constants.%int_456.b78] -// CHECK:STDOUT: %.loc9_39.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_39 [concrete = constants.%int_456.b78] -// CHECK:STDOUT: %.loc9_39.2: %i32 = converted %int_456, %.loc9_39.1 [concrete = constants.%int_456.b78] +// CHECK:STDOUT: %bound_method.loc9_39.2: = bound_method %int_456, %specific_fn.loc9_39 [concrete = constants.%bound_method.3d7] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_39: init %i32 = call %bound_method.loc9_39.2(%int_456) [concrete = constants.%int_456.b9d] +// CHECK:STDOUT: %.loc9_39.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_39 [concrete = constants.%int_456.b9d] +// CHECK:STDOUT: %.loc9_39.2: %i32 = converted %int_456, %.loc9_39.1 [concrete = constants.%int_456.b9d] // CHECK:STDOUT: %addr.loc9: %ptr.3a8 = addr_of %.loc9_42.1 // CHECK:STDOUT: %C__carbon_thunk.call.loc9: init %empty_tuple.type = call imports.%C__carbon_thunk.decl.5bf927.2(%.loc9_34.2, %.loc9_39.2, %addr.loc9) // CHECK:STDOUT: %.loc9_42.2: init %C to %.loc9_42.1 = mark_in_place_init %C__carbon_thunk.call.loc9 @@ -646,23 +646,23 @@ fn F() { // CHECK:STDOUT: %ptr.3a8: type = ptr_type %C [concrete] // CHECK:STDOUT: %C__carbon_thunk.type.0be6f8.1: type = fn_type @C__carbon_thunk.1 [concrete] // CHECK:STDOUT: %C__carbon_thunk.7c7210.1: %C__carbon_thunk.type.0be6f8.1 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b65: = bound_method %int_8.b85, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.bd2: = bound_method %int_8.b85, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_8.980: %i32 = int_value 8 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.299: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.e00: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_9.e6d: %i32 = int_value 9 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.748: = bound_method %int_8.b85, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.ebc: = bound_method %int_8.b85, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_8.1c2: %i32 = int_value 8 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.aba: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.50b: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_9.7e6: %i32 = int_value 9 [concrete] // CHECK:STDOUT: %C__carbon_thunk.type.0be6f8.2: type = fn_type @C__carbon_thunk.2 [concrete] // CHECK:STDOUT: %C__carbon_thunk.7c7210.2: %C__carbon_thunk.type.0be6f8.2 = struct_value () [concrete] // CHECK:STDOUT: %C.cpp_destructor.type: type = fn_type @C.cpp_destructor [concrete] @@ -681,8 +681,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %C__carbon_thunk.decl.5bf927.2: %C__carbon_thunk.type.0be6f8.2 = fn_decl @C__carbon_thunk.2 [concrete = constants.%C__carbon_thunk.7c7210.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { @@ -701,20 +701,20 @@ fn F() { // CHECK:STDOUT: %int_8.loc8: Core.IntLiteral = int_value 8 [concrete = constants.%int_8.b85] // CHECK:STDOUT: %int_9: Core.IntLiteral = int_value 9 [concrete = constants.%int_9.988] // CHECK:STDOUT: %.loc8_38.1: ref %C = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc8_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_34.1: = bound_method %int_8.loc8, %impl.elem0.loc8_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b65] +// CHECK:STDOUT: %impl.elem0.loc8_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_34.1: = bound_method %int_8.loc8, %impl.elem0.loc8_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.748] // CHECK:STDOUT: %specific_fn.loc8_34: = specific_function %impl.elem0.loc8_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_34.2: = bound_method %int_8.loc8, %specific_fn.loc8_34 [concrete = constants.%bound_method.bd2] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_34: init %i32 = call %bound_method.loc8_34.2(%int_8.loc8) [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc8_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_34 [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc8_34.2: %i32 = converted %int_8.loc8, %.loc8_34.1 [concrete = constants.%int_8.980] -// CHECK:STDOUT: %impl.elem0.loc8_37: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_37.1: = bound_method %int_9, %impl.elem0.loc8_37 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.299] +// CHECK:STDOUT: %bound_method.loc8_34.2: = bound_method %int_8.loc8, %specific_fn.loc8_34 [concrete = constants.%bound_method.ebc] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_34: init %i32 = call %bound_method.loc8_34.2(%int_8.loc8) [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc8_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_34 [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc8_34.2: %i32 = converted %int_8.loc8, %.loc8_34.1 [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %impl.elem0.loc8_37: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_37.1: = bound_method %int_9, %impl.elem0.loc8_37 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.aba] // CHECK:STDOUT: %specific_fn.loc8_37: = specific_function %impl.elem0.loc8_37, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_37.2: = bound_method %int_9, %specific_fn.loc8_37 [concrete = constants.%bound_method.e00] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_37: init %i32 = call %bound_method.loc8_37.2(%int_9) [concrete = constants.%int_9.e6d] -// CHECK:STDOUT: %.loc8_37.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_37 [concrete = constants.%int_9.e6d] -// CHECK:STDOUT: %.loc8_37.2: %i32 = converted %int_9, %.loc8_37.1 [concrete = constants.%int_9.e6d] +// CHECK:STDOUT: %bound_method.loc8_37.2: = bound_method %int_9, %specific_fn.loc8_37 [concrete = constants.%bound_method.50b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_37: init %i32 = call %bound_method.loc8_37.2(%int_9) [concrete = constants.%int_9.7e6] +// CHECK:STDOUT: %.loc8_37.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_37 [concrete = constants.%int_9.7e6] +// CHECK:STDOUT: %.loc8_37.2: %i32 = converted %int_9, %.loc8_37.1 [concrete = constants.%int_9.7e6] // CHECK:STDOUT: %addr.loc8: %ptr.3a8 = addr_of %.loc8_38.1 // CHECK:STDOUT: %C__carbon_thunk.call.loc8: init %empty_tuple.type = call imports.%C__carbon_thunk.decl.5bf927.1(%.loc8_34.2, %.loc8_37.2, %addr.loc8) // CHECK:STDOUT: %.loc8_38.2: init %C to %.loc8_38.1 = mark_in_place_init %C__carbon_thunk.call.loc8 @@ -733,13 +733,13 @@ fn F() { // CHECK:STDOUT: %C.ref.loc9_31: %C.C.cpp_overload_set.type = name_ref C, imports.%C.C.cpp_overload_set.value [concrete = constants.%C.C.cpp_overload_set.value] // CHECK:STDOUT: %int_8.loc9: Core.IntLiteral = int_value 8 [concrete = constants.%int_8.b85] // CHECK:STDOUT: %.loc9_35.1: ref %C = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc9: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_34.1: = bound_method %int_8.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b65] +// CHECK:STDOUT: %impl.elem0.loc9: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_34.1: = bound_method %int_8.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.748] // CHECK:STDOUT: %specific_fn.loc9: = specific_function %impl.elem0.loc9, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_34.2: = bound_method %int_8.loc9, %specific_fn.loc9 [concrete = constants.%bound_method.bd2] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_34.2(%int_8.loc9) [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc9_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc9_34.2: %i32 = converted %int_8.loc9, %.loc9_34.1 [concrete = constants.%int_8.980] +// CHECK:STDOUT: %bound_method.loc9_34.2: = bound_method %int_8.loc9, %specific_fn.loc9 [concrete = constants.%bound_method.ebc] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_34.2(%int_8.loc9) [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc9_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc9_34.2: %i32 = converted %int_8.loc9, %.loc9_34.1 [concrete = constants.%int_8.1c2] // CHECK:STDOUT: %addr.loc9: %ptr.3a8 = addr_of %.loc9_35.1 // CHECK:STDOUT: %C__carbon_thunk.call.loc9: init %empty_tuple.type = call imports.%C__carbon_thunk.decl.5bf927.2(%.loc9_34.2, %addr.loc9) // CHECK:STDOUT: %.loc9_35.2: init %C to %.loc9_35.1 = mark_in_place_init %C__carbon_thunk.call.loc9 @@ -771,29 +771,29 @@ fn F() { // CHECK:STDOUT: %ptr.3a8: type = ptr_type %C [concrete] // CHECK:STDOUT: %C__carbon_thunk.type.0be6f8.1: type = fn_type @C__carbon_thunk.1 [concrete] // CHECK:STDOUT: %C__carbon_thunk.7c7210.1: %C__carbon_thunk.type.0be6f8.1 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_123.5a3: %i32 = int_value 123 [concrete] +// CHECK:STDOUT: %int_123.5b5: %i32 = int_value 123 [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %ptr.bb2: type = ptr_type bool [concrete] // CHECK:STDOUT: %C__carbon_thunk.type.0be6f8.2: type = fn_type @C__carbon_thunk.2 [concrete] // CHECK:STDOUT: %C__carbon_thunk.7c7210.2: %C__carbon_thunk.type.0be6f8.2 = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.bc7: = impl_witness imports.%Copy.impl_witness_table.aef [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.bc7) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.5dd: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.698: type = fn_type_with_self_type %Copy.WithSelf.Op.type.5dd, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.de3: = impl_witness imports.%Copy.impl_witness_table.34b [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.de3) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.079: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.022: type = fn_type_with_self_type %Copy.WithSelf.Op.type.079, %Copy.facet [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.type: type = fn_type @bool.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op: %bool.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.bound: = bound_method %true, %bool.as.Copy.impl.Op [concrete] @@ -817,15 +817,15 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %C__carbon_thunk.decl.5bf927.2: %C__carbon_thunk.type.0be6f8.2 = fn_decl @C__carbon_thunk.2 [concrete = constants.%C__carbon_thunk.7c7210.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.41e: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.aef = impl_witness_table (%Core.import_ref.41e), @bool.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.34b = impl_witness_table (%Core.import_ref.f63), @bool.as.Copy.impl [concrete] // CHECK:STDOUT: %C__carbon_thunk.decl.5bf927.3: %C__carbon_thunk.type.0be6f8.3 = fn_decl @C__carbon_thunk.3 [concrete = constants.%C__carbon_thunk.7c7210.3] { // CHECK:STDOUT: // CHECK:STDOUT: } { @@ -845,13 +845,13 @@ fn F() { // CHECK:STDOUT: %C.ref.loc8_24: %C.C.cpp_overload_set.type = name_ref C, imports.%C.C.cpp_overload_set.value [concrete = constants.%C.C.cpp_overload_set.value] // CHECK:STDOUT: %int_123: Core.IntLiteral = int_value 123 [concrete = constants.%int_123.fff] // CHECK:STDOUT: %.loc8_3: ref %C = splice_block %c1.var {} -// CHECK:STDOUT: %impl.elem0.loc8: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc8: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_27.1: = bound_method %int_123, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_27.2: = bound_method %int_123, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_27.2(%int_123) [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %.loc8_27.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %.loc8_27.2: %i32 = converted %int_123, %.loc8_27.1 [concrete = constants.%int_123.5a3] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_27.2(%int_123) [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %.loc8_27.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %.loc8_27.2: %i32 = converted %int_123, %.loc8_27.1 [concrete = constants.%int_123.5b5] // CHECK:STDOUT: %addr.loc8: %ptr.3a8 = addr_of %.loc8_3 // CHECK:STDOUT: %C__carbon_thunk.call.loc8: init %empty_tuple.type = call imports.%C__carbon_thunk.decl.5bf927.1(%.loc8_27.2, %addr.loc8) // CHECK:STDOUT: %.loc8_30: init %C to %.loc8_3 = mark_in_place_init %C__carbon_thunk.call.loc8 @@ -871,7 +871,7 @@ fn F() { // CHECK:STDOUT: %C.ref.loc9_31: %C.C.cpp_overload_set.type = name_ref C, imports.%C.C.cpp_overload_set.value [concrete = constants.%C.C.cpp_overload_set.value] // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] // CHECK:STDOUT: %.loc9_3: ref %C = splice_block %c2.var {} -// CHECK:STDOUT: %impl.elem0.loc9: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc9: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc9: = bound_method %true, %impl.elem0.loc9 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method.loc9(%true) [concrete = constants.%true] // CHECK:STDOUT: %.loc9_34.1: ref bool = temporary_storage @@ -931,32 +931,32 @@ fn F() { // CHECK:STDOUT: %ptr.3a8: type = ptr_type %C [concrete] // CHECK:STDOUT: %C__carbon_thunk.type: type = fn_type @C__carbon_thunk [concrete] // CHECK:STDOUT: %C__carbon_thunk: %C__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_8.b85, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.bd2: = bound_method %int_8.b85, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_8.980: %i32 = int_value 8 [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_8.b85, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.bde: = bound_method %int_8.b85, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_8.b85, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.ebc: = bound_method %int_8.b85, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_8.1c2: %i32 = int_value 8 [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_8.b85, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.f38: = bound_method %int_8.b85, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] // CHECK:STDOUT: %C.cpp_destructor.type: type = fn_type @C.cpp_destructor [concrete] // CHECK:STDOUT: %C.cpp_destructor: %C.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -973,10 +973,10 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -989,13 +989,13 @@ fn F() { // CHECK:STDOUT: %C.ref.loc8_31: %C.C.cpp_overload_set.type = name_ref C, imports.%C.C.cpp_overload_set.value [concrete = constants.%C.C.cpp_overload_set.value] // CHECK:STDOUT: %int_8.loc8: Core.IntLiteral = int_value 8 [concrete = constants.%int_8.b85] // CHECK:STDOUT: %.loc8_35.1: ref %C = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc8: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc8: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_34.1: = bound_method %int_8.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_34.2: = bound_method %int_8.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.bd2] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_34.2(%int_8.loc8) [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc8_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc8_34.2: %i32 = converted %int_8.loc8, %.loc8_34.1 [concrete = constants.%int_8.980] +// CHECK:STDOUT: %bound_method.loc8_34.2: = bound_method %int_8.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.ebc] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_34.2(%int_8.loc8) [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc8_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc8_34.2: %i32 = converted %int_8.loc8, %.loc8_34.1 [concrete = constants.%int_8.1c2] // CHECK:STDOUT: %addr.loc8: %ptr.3a8 = addr_of %.loc8_35.1 // CHECK:STDOUT: %C__carbon_thunk.call.loc8: init %empty_tuple.type = call imports.%C__carbon_thunk.decl(%.loc8_34.2, %addr.loc8) // CHECK:STDOUT: %.loc8_35.2: init %C to %.loc8_35.1 = mark_in_place_init %C__carbon_thunk.call.loc8 @@ -1011,13 +1011,13 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %int_8.loc9: Core.IntLiteral = int_value 8 [concrete = constants.%int_8.b85] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc9: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] +// CHECK:STDOUT: %impl.elem0.loc9: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] // CHECK:STDOUT: %bound_method.loc9_28.1: = bound_method %int_8.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc9: = specific_function %impl.elem0.loc9, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_28.2: = bound_method %int_8.loc9, %specific_fn.loc9 [concrete = constants.%bound_method.bde] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc9_28.2(%int_8.loc9) [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc9_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc9_28.2: %i32 = converted %int_8.loc9, %.loc9_28.1 [concrete = constants.%int_8.980] +// CHECK:STDOUT: %bound_method.loc9_28.2: = bound_method %int_8.loc9, %specific_fn.loc9 [concrete = constants.%bound_method.f38] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc9_28.2(%int_8.loc9) [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc9_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc9_28.2: %i32 = converted %int_8.loc9, %.loc9_28.1 [concrete = constants.%int_8.1c2] // CHECK:STDOUT: %.loc9_21: type = splice_block %C.ref.loc9 [concrete = constants.%C] { // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %C.ref.loc9: type = name_ref C, imports.%C.decl [concrete = constants.%C] @@ -1052,37 +1052,37 @@ fn F() { // CHECK:STDOUT: %ptr.3a8: type = ptr_type %C [concrete] // CHECK:STDOUT: %C__carbon_thunk.type.0be6f8.1: type = fn_type @C__carbon_thunk.1 [concrete] // CHECK:STDOUT: %C__carbon_thunk.7c7210.1: %C__carbon_thunk.type.0be6f8.1 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b65: = bound_method %int_8.b85, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.bd2: = bound_method %int_8.b85, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_8.980: %i32 = int_value 8 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.299: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.e00: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_9.e6d: %i32 = int_value 9 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.748: = bound_method %int_8.b85, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.ebc: = bound_method %int_8.b85, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_8.1c2: %i32 = int_value 8 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.aba: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.50b: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_9.7e6: %i32 = int_value 9 [concrete] // CHECK:STDOUT: %C__carbon_thunk.type.0be6f8.2: type = fn_type @C__carbon_thunk.2 [concrete] // CHECK:STDOUT: %C__carbon_thunk.7c7210.2: %C__carbon_thunk.type.0be6f8.2 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_8.b85, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.bde: = bound_method %int_8.b85, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_8.b85, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.f38: = bound_method %int_8.b85, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] // CHECK:STDOUT: %C.cpp_destructor.type: type = fn_type @C.cpp_destructor [concrete] // CHECK:STDOUT: %C.cpp_destructor: %C.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -1099,15 +1099,15 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %C__carbon_thunk.decl.5bf927.2: %C__carbon_thunk.type.0be6f8.2 = fn_decl @C__carbon_thunk.2 [concrete = constants.%C__carbon_thunk.7c7210.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1121,20 +1121,20 @@ fn F() { // CHECK:STDOUT: %int_8.loc8: Core.IntLiteral = int_value 8 [concrete = constants.%int_8.b85] // CHECK:STDOUT: %int_9: Core.IntLiteral = int_value 9 [concrete = constants.%int_9.988] // CHECK:STDOUT: %.loc8_38.1: ref %C = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc8_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_34.1: = bound_method %int_8.loc8, %impl.elem0.loc8_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b65] +// CHECK:STDOUT: %impl.elem0.loc8_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_34.1: = bound_method %int_8.loc8, %impl.elem0.loc8_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.748] // CHECK:STDOUT: %specific_fn.loc8_34: = specific_function %impl.elem0.loc8_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_34.2: = bound_method %int_8.loc8, %specific_fn.loc8_34 [concrete = constants.%bound_method.bd2] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_34: init %i32 = call %bound_method.loc8_34.2(%int_8.loc8) [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc8_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_34 [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc8_34.2: %i32 = converted %int_8.loc8, %.loc8_34.1 [concrete = constants.%int_8.980] -// CHECK:STDOUT: %impl.elem0.loc8_37: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_37.1: = bound_method %int_9, %impl.elem0.loc8_37 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.299] +// CHECK:STDOUT: %bound_method.loc8_34.2: = bound_method %int_8.loc8, %specific_fn.loc8_34 [concrete = constants.%bound_method.ebc] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_34: init %i32 = call %bound_method.loc8_34.2(%int_8.loc8) [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc8_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_34 [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc8_34.2: %i32 = converted %int_8.loc8, %.loc8_34.1 [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %impl.elem0.loc8_37: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_37.1: = bound_method %int_9, %impl.elem0.loc8_37 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.aba] // CHECK:STDOUT: %specific_fn.loc8_37: = specific_function %impl.elem0.loc8_37, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_37.2: = bound_method %int_9, %specific_fn.loc8_37 [concrete = constants.%bound_method.e00] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_37: init %i32 = call %bound_method.loc8_37.2(%int_9) [concrete = constants.%int_9.e6d] -// CHECK:STDOUT: %.loc8_37.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_37 [concrete = constants.%int_9.e6d] -// CHECK:STDOUT: %.loc8_37.2: %i32 = converted %int_9, %.loc8_37.1 [concrete = constants.%int_9.e6d] +// CHECK:STDOUT: %bound_method.loc8_37.2: = bound_method %int_9, %specific_fn.loc8_37 [concrete = constants.%bound_method.50b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_37: init %i32 = call %bound_method.loc8_37.2(%int_9) [concrete = constants.%int_9.7e6] +// CHECK:STDOUT: %.loc8_37.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_37 [concrete = constants.%int_9.7e6] +// CHECK:STDOUT: %.loc8_37.2: %i32 = converted %int_9, %.loc8_37.1 [concrete = constants.%int_9.7e6] // CHECK:STDOUT: %addr.loc8: %ptr.3a8 = addr_of %.loc8_38.1 // CHECK:STDOUT: %C__carbon_thunk.call.loc8: init %empty_tuple.type = call imports.%C__carbon_thunk.decl.5bf927.1(%.loc8_34.2, %.loc8_37.2, %addr.loc8) // CHECK:STDOUT: %.loc8_38.2: init %C to %.loc8_38.1 = mark_in_place_init %C__carbon_thunk.call.loc8 @@ -1153,13 +1153,13 @@ fn F() { // CHECK:STDOUT: %C.ref.loc9_31: %C.C.cpp_overload_set.type = name_ref C, imports.%C.C.cpp_overload_set.value [concrete = constants.%C.C.cpp_overload_set.value] // CHECK:STDOUT: %int_8.loc9: Core.IntLiteral = int_value 8 [concrete = constants.%int_8.b85] // CHECK:STDOUT: %.loc9_35.1: ref %C = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc9: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_34.1: = bound_method %int_8.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b65] +// CHECK:STDOUT: %impl.elem0.loc9: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_34.1: = bound_method %int_8.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.748] // CHECK:STDOUT: %specific_fn.loc9: = specific_function %impl.elem0.loc9, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_34.2: = bound_method %int_8.loc9, %specific_fn.loc9 [concrete = constants.%bound_method.bd2] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_34.2(%int_8.loc9) [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc9_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc9_34.2: %i32 = converted %int_8.loc9, %.loc9_34.1 [concrete = constants.%int_8.980] +// CHECK:STDOUT: %bound_method.loc9_34.2: = bound_method %int_8.loc9, %specific_fn.loc9 [concrete = constants.%bound_method.ebc] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_34.2(%int_8.loc9) [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc9_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc9_34.2: %i32 = converted %int_8.loc9, %.loc9_34.1 [concrete = constants.%int_8.1c2] // CHECK:STDOUT: %addr.loc9: %ptr.3a8 = addr_of %.loc9_35.1 // CHECK:STDOUT: %C__carbon_thunk.call.loc9: init %empty_tuple.type = call imports.%C__carbon_thunk.decl.5bf927.2(%.loc9_34.2, %addr.loc9) // CHECK:STDOUT: %.loc9_35.2: init %C to %.loc9_35.1 = mark_in_place_init %C__carbon_thunk.call.loc9 @@ -1175,13 +1175,13 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %int_8.loc10: Core.IntLiteral = int_value 8 [concrete = constants.%int_8.b85] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc10: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] +// CHECK:STDOUT: %impl.elem0.loc10: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] // CHECK:STDOUT: %bound_method.loc10_28.1: = bound_method %int_8.loc10, %impl.elem0.loc10 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_28.2: = bound_method %int_8.loc10, %specific_fn.loc10 [concrete = constants.%bound_method.bde] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc10_28.2(%int_8.loc10) [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc10_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_8.980] -// CHECK:STDOUT: %.loc10_28.2: %i32 = converted %int_8.loc10, %.loc10_28.1 [concrete = constants.%int_8.980] +// CHECK:STDOUT: %bound_method.loc10_28.2: = bound_method %int_8.loc10, %specific_fn.loc10 [concrete = constants.%bound_method.f38] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc10_28.2(%int_8.loc10) [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc10_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_8.1c2] +// CHECK:STDOUT: %.loc10_28.2: %i32 = converted %int_8.loc10, %.loc10_28.1 [concrete = constants.%int_8.1c2] // CHECK:STDOUT: %.loc10_21: type = splice_block %C.ref.loc10 [concrete = constants.%C] { // CHECK:STDOUT: %Cpp.ref.loc10: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %C.ref.loc10: type = name_ref C, imports.%C.decl [concrete = constants.%C] diff --git a/toolchain/check/testdata/interop/cpp/class/import/field.carbon b/toolchain/check/testdata/interop/cpp/class/import/field.carbon index 92a44c703ec2..93b889942134 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/field.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/field.carbon @@ -204,98 +204,98 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %tuple.type.84d: type = tuple_type (%i32, %i32, %i32, %i32, %i32) [concrete] -// CHECK:STDOUT: %Struct.elem.fdc: type = unbound_element_type %Struct, %i32 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %Struct.elem.b4d: type = unbound_element_type %Struct, %ptr.143 [concrete] +// CHECK:STDOUT: %tuple.type.05b: type = tuple_type (%i32, %i32, %i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %Struct.elem.da8: type = unbound_element_type %Struct, %i32 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %Struct.elem.689: type = unbound_element_type %Struct, %ptr.847 [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] -// CHECK:STDOUT: %T.390: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Optional.Get.type.dbe: type = fn_type @Optional.Get, @Optional(%T.390) [symbolic] -// CHECK:STDOUT: %Optional.Get.25b: %Optional.Get.type.dbe = struct_value () [symbolic] +// CHECK:STDOUT: %T.4e7: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Optional.Get.type.d22: type = fn_type @Optional.Get, @Optional(%T.4e7) [symbolic] +// CHECK:STDOUT: %Optional.Get.6fc: %Optional.Get.type.d22 = struct_value () [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Get.type.890: type = fn_type @ptr.as.OptionalStorage.impl.Get, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Get.1b0: %ptr.as.OptionalStorage.impl.Get.type.890 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalStorage.impl_witness.624: = impl_witness imports.%OptionalStorage.impl_witness_table.64b, @ptr.as.OptionalStorage.impl(%i32) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr.143, (%OptionalStorage.impl_witness.624) [concrete] -// CHECK:STDOUT: %Optional.cb7: type = class_type @Optional, @Optional(%OptionalStorage.facet) [concrete] -// CHECK:STDOUT: %Struct.elem.406: type = unbound_element_type %Struct, %Optional.cb7 [concrete] -// CHECK:STDOUT: %const.d48: type = const_type %ptr.143 [concrete] -// CHECK:STDOUT: %Struct.elem.ca7: type = unbound_element_type %Struct, %const.d48 [concrete] -// CHECK:STDOUT: %Optional.Get.type.761: type = fn_type @Optional.Get, @Optional(%OptionalStorage.facet) [concrete] -// CHECK:STDOUT: %Optional.Get.76e: %Optional.Get.type.761 = struct_value () [concrete] -// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Optional.Get.76e, @Optional.Get(%OptionalStorage.facet) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.ab4: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.62a: %Copy.type = facet_value %i32, (%Copy.impl_witness.ab4) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.e27: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.62a) [concrete] -// CHECK:STDOUT: %.98b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e27, %Copy.facet.62a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Get.type.e92: type = fn_type @ptr.as.OptionalStorage.impl.Get, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Get.514: %ptr.as.OptionalStorage.impl.Get.type.e92 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalStorage.impl_witness.10f: = impl_witness imports.%OptionalStorage.impl_witness_table.83d, @ptr.as.OptionalStorage.impl(%i32) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr.847, (%OptionalStorage.impl_witness.10f) [concrete] +// CHECK:STDOUT: %Optional.17c: type = class_type @Optional, @Optional(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Struct.elem.e00: type = unbound_element_type %Struct, %Optional.17c [concrete] +// CHECK:STDOUT: %const.3d9: type = const_type %ptr.847 [concrete] +// CHECK:STDOUT: %Struct.elem.80e: type = unbound_element_type %Struct, %const.3d9 [concrete] +// CHECK:STDOUT: %Optional.Get.type.af9: type = fn_type @Optional.Get, @Optional(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Optional.Get.7cb: %Optional.Get.type.af9 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Optional.Get.7cb, @Optional.Get(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.58f: @Optional.%Optional.Get.type (%Optional.Get.type.dbe) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @Optional.%Optional.Get (constants.%Optional.Get.25b)] -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.978 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.a098 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.ada: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Get.type (%ptr.as.OptionalStorage.impl.Get.type.890) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Get (constants.%ptr.as.OptionalStorage.impl.Get.1b0)] -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.64b = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.978, %Core.import_ref.a098, %Core.import_ref.017, %Core.import_ref.ada, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.702: @Optional.%Optional.Get.type (%Optional.Get.type.d22) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @Optional.%Optional.Get (constants.%Optional.Get.6fc)] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.31a = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.97e = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.1e6: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Get.type (%ptr.as.OptionalStorage.impl.Get.type.e92) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Get (constants.%ptr.as.OptionalStorage.impl.Get.514)] +// CHECK:STDOUT: %Core.import_ref.4ad = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.83d = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.31a, %Core.import_ref.97e, %Core.import_ref.b33, %Core.import_ref.1e6, %Core.import_ref.4ad), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%s.param: %Struct) -> out %return.param: %tuple.type.84d { +// CHECK:STDOUT: fn @F(%s.param: %Struct) -> out %return.param: %tuple.type.05b { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %s.ref.loc8_11: %Struct = name_ref s, %s -// CHECK:STDOUT: %a.ref: %Struct.elem.fdc = name_ref a, @Struct.%.1 [concrete = @Struct.%.1] +// CHECK:STDOUT: %a.ref: %Struct.elem.da8 = name_ref a, @Struct.%.1 [concrete = @Struct.%.1] // CHECK:STDOUT: %.loc8_12.1: ref %i32 = class_element_access %s.ref.loc8_11, element0 // CHECK:STDOUT: %.loc8_12.2: %i32 = acquire_value %.loc8_12.1 // CHECK:STDOUT: %s.ref.loc8_16: %Struct = name_ref s, %s -// CHECK:STDOUT: %b.ref: %Struct.elem.fdc = name_ref b, @Struct.%.2 [concrete = @Struct.%.2] +// CHECK:STDOUT: %b.ref: %Struct.elem.da8 = name_ref b, @Struct.%.2 [concrete = @Struct.%.2] // CHECK:STDOUT: %.loc8_17.1: ref %i32 = class_element_access %s.ref.loc8_16, element1 // CHECK:STDOUT: %.loc8_17.2: %i32 = acquire_value %.loc8_17.1 // CHECK:STDOUT: %s.ref.loc8_22: %Struct = name_ref s, %s -// CHECK:STDOUT: %p.ref: %Struct.elem.b4d = name_ref p, @Struct.%.3 [concrete = @Struct.%.3] -// CHECK:STDOUT: %.loc8_23.1: ref %ptr.143 = class_element_access %s.ref.loc8_22, element2 -// CHECK:STDOUT: %.loc8_23.2: %ptr.143 = acquire_value %.loc8_23.1 +// CHECK:STDOUT: %p.ref: %Struct.elem.689 = name_ref p, @Struct.%.3 [concrete = @Struct.%.3] +// CHECK:STDOUT: %.loc8_23.1: ref %ptr.847 = class_element_access %s.ref.loc8_22, element2 +// CHECK:STDOUT: %.loc8_23.2: %ptr.847 = acquire_value %.loc8_23.1 // CHECK:STDOUT: %.loc8_21.1: ref %i32 = deref %.loc8_23.2 // CHECK:STDOUT: %s.ref.loc8_28: %Struct = name_ref s, %s -// CHECK:STDOUT: %q.ref: %Struct.elem.406 = name_ref q, @Struct.%.5 [concrete = @Struct.%.5] -// CHECK:STDOUT: %.loc8_29.1: ref %Optional.cb7 = class_element_access %s.ref.loc8_28, element3 -// CHECK:STDOUT: %.loc8_29.2: %Optional.cb7 = acquire_value %.loc8_29.1 -// CHECK:STDOUT: %.loc8_31: %Optional.Get.type.761 = specific_constant imports.%Core.import_ref.58f, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.Get.76e] -// CHECK:STDOUT: %Get.ref: %Optional.Get.type.761 = name_ref Get, %.loc8_31 [concrete = constants.%Optional.Get.76e] +// CHECK:STDOUT: %q.ref: %Struct.elem.e00 = name_ref q, @Struct.%.5 [concrete = @Struct.%.5] +// CHECK:STDOUT: %.loc8_29.1: ref %Optional.17c = class_element_access %s.ref.loc8_28, element3 +// CHECK:STDOUT: %.loc8_29.2: %Optional.17c = acquire_value %.loc8_29.1 +// CHECK:STDOUT: %.loc8_31: %Optional.Get.type.af9 = specific_constant imports.%Core.import_ref.702, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.Get.7cb] +// CHECK:STDOUT: %Get.ref: %Optional.Get.type.af9 = name_ref Get, %.loc8_31 [concrete = constants.%Optional.Get.7cb] // CHECK:STDOUT: %Optional.Get.bound: = bound_method %.loc8_29.2, %Get.ref // CHECK:STDOUT: %Optional.Get.specific_fn: = specific_function %Get.ref, @Optional.Get(constants.%OptionalStorage.facet) [concrete = constants.%Optional.Get.specific_fn] // CHECK:STDOUT: %bound_method.loc8_36: = bound_method %.loc8_29.2, %Optional.Get.specific_fn -// CHECK:STDOUT: %Optional.Get.call: init %ptr.143 = call %bound_method.loc8_36(%.loc8_29.2) -// CHECK:STDOUT: %.loc8_36.1: %ptr.143 = value_of_initializer %Optional.Get.call -// CHECK:STDOUT: %.loc8_36.2: %ptr.143 = converted %Optional.Get.call, %.loc8_36.1 +// CHECK:STDOUT: %Optional.Get.call: init %ptr.847 = call %bound_method.loc8_36(%.loc8_29.2) +// CHECK:STDOUT: %.loc8_36.1: %ptr.847 = value_of_initializer %Optional.Get.call +// CHECK:STDOUT: %.loc8_36.2: %ptr.847 = converted %Optional.Get.call, %.loc8_36.1 // CHECK:STDOUT: %.loc8_27.1: ref %i32 = deref %.loc8_36.2 // CHECK:STDOUT: %s.ref.loc8_40: %Struct = name_ref s, %s -// CHECK:STDOUT: %r.ref: %Struct.elem.ca7 = name_ref r, @Struct.%.6 [concrete = @Struct.%.6] -// CHECK:STDOUT: %.loc8_41.1: ref %const.d48 = class_element_access %s.ref.loc8_40, element4 -// CHECK:STDOUT: %.loc8_41.2: %const.d48 = acquire_value %.loc8_41.1 +// CHECK:STDOUT: %r.ref: %Struct.elem.80e = name_ref r, @Struct.%.6 [concrete = @Struct.%.6] +// CHECK:STDOUT: %.loc8_41.1: ref %const.3d9 = class_element_access %s.ref.loc8_40, element4 +// CHECK:STDOUT: %.loc8_41.2: %const.3d9 = acquire_value %.loc8_41.1 // CHECK:STDOUT: %.loc8_39.1: ref %i32 = deref %.loc8_41.2 -// CHECK:STDOUT: %.loc8_43.1: %tuple.type.84d = tuple_literal (%.loc8_12.2, %.loc8_17.2, %.loc8_21.1, %.loc8_27.1, %.loc8_39.1) -// CHECK:STDOUT: %impl.elem0.loc8_12: %.98b = impl_witness_access constants.%Copy.impl_witness.ab4, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %.loc8_43.1: %tuple.type.05b = tuple_literal (%.loc8_12.2, %.loc8_17.2, %.loc8_21.1, %.loc8_27.1, %.loc8_39.1) +// CHECK:STDOUT: %impl.elem0.loc8_12: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc8_12.1: = bound_method %.loc8_12.2, %impl.elem0.loc8_12 // CHECK:STDOUT: %specific_fn.loc8_12: = specific_function %impl.elem0.loc8_12, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_12.2: = bound_method %.loc8_12.2, %specific_fn.loc8_12 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc8_12: init %i32 = call %bound_method.loc8_12.2(%.loc8_12.2) // CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %return.param, element0 // CHECK:STDOUT: %.loc8_43.2: init %i32 to %tuple.elem0 = in_place_init %Int.as.Copy.impl.Op.call.loc8_12 -// CHECK:STDOUT: %impl.elem0.loc8_17: %.98b = impl_witness_access constants.%Copy.impl_witness.ab4, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc8_17: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc8_17.1: = bound_method %.loc8_17.2, %impl.elem0.loc8_17 // CHECK:STDOUT: %specific_fn.loc8_17: = specific_function %impl.elem0.loc8_17, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_17.2: = bound_method %.loc8_17.2, %specific_fn.loc8_17 @@ -303,7 +303,7 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %tuple.elem1: ref %i32 = tuple_access %return.param, element1 // CHECK:STDOUT: %.loc8_43.3: init %i32 to %tuple.elem1 = in_place_init %Int.as.Copy.impl.Op.call.loc8_17 // CHECK:STDOUT: %.loc8_21.2: %i32 = acquire_value %.loc8_21.1 -// CHECK:STDOUT: %impl.elem0.loc8_21: %.98b = impl_witness_access constants.%Copy.impl_witness.ab4, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc8_21: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc8_21.1: = bound_method %.loc8_21.2, %impl.elem0.loc8_21 // CHECK:STDOUT: %specific_fn.loc8_21: = specific_function %impl.elem0.loc8_21, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_21.2: = bound_method %.loc8_21.2, %specific_fn.loc8_21 @@ -311,7 +311,7 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %tuple.elem2: ref %i32 = tuple_access %return.param, element2 // CHECK:STDOUT: %.loc8_43.4: init %i32 to %tuple.elem2 = in_place_init %Int.as.Copy.impl.Op.call.loc8_21 // CHECK:STDOUT: %.loc8_27.2: %i32 = acquire_value %.loc8_27.1 -// CHECK:STDOUT: %impl.elem0.loc8_27: %.98b = impl_witness_access constants.%Copy.impl_witness.ab4, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc8_27: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc8_27.1: = bound_method %.loc8_27.2, %impl.elem0.loc8_27 // CHECK:STDOUT: %specific_fn.loc8_27: = specific_function %impl.elem0.loc8_27, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_27.2: = bound_method %.loc8_27.2, %specific_fn.loc8_27 @@ -319,15 +319,15 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %tuple.elem3: ref %i32 = tuple_access %return.param, element3 // CHECK:STDOUT: %.loc8_43.5: init %i32 to %tuple.elem3 = in_place_init %Int.as.Copy.impl.Op.call.loc8_27 // CHECK:STDOUT: %.loc8_39.2: %i32 = acquire_value %.loc8_39.1 -// CHECK:STDOUT: %impl.elem0.loc8_39: %.98b = impl_witness_access constants.%Copy.impl_witness.ab4, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc8_39: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc8_39.1: = bound_method %.loc8_39.2, %impl.elem0.loc8_39 // CHECK:STDOUT: %specific_fn.loc8_39: = specific_function %impl.elem0.loc8_39, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_39.2: = bound_method %.loc8_39.2, %specific_fn.loc8_39 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc8_39: init %i32 = call %bound_method.loc8_39.2(%.loc8_39.2) // CHECK:STDOUT: %tuple.elem4: ref %i32 = tuple_access %return.param, element4 // CHECK:STDOUT: %.loc8_43.6: init %i32 to %tuple.elem4 = in_place_init %Int.as.Copy.impl.Op.call.loc8_39 -// CHECK:STDOUT: %.loc8_43.7: init %tuple.type.84d to %return.param = tuple_init (%.loc8_43.2, %.loc8_43.3, %.loc8_43.4, %.loc8_43.5, %.loc8_43.6) -// CHECK:STDOUT: %.loc8_44: init %tuple.type.84d = converted %.loc8_43.1, %.loc8_43.7 +// CHECK:STDOUT: %.loc8_43.7: init %tuple.type.05b to %return.param = tuple_init (%.loc8_43.2, %.loc8_43.3, %.loc8_43.4, %.loc8_43.5, %.loc8_43.6) +// CHECK:STDOUT: %.loc8_44: init %tuple.type.05b = converted %.loc8_43.1, %.loc8_43.7 // CHECK:STDOUT: return %.loc8_44 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: @@ -338,33 +338,33 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %Union.elem.e97: type = unbound_element_type %Union, %i32 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %Union.elem.6fd: type = unbound_element_type %Union, %ptr.143 [concrete] +// CHECK:STDOUT: %Union.elem.141: type = unbound_element_type %Union, %i32 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %Union.elem.054: type = unbound_element_type %Union, %ptr.847 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.ab4: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.ab4) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.e27: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.98b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e27, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%u.param: %Union) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %u.ref: %Union = name_ref u, %u -// CHECK:STDOUT: %a.ref: %Union.elem.e97 = name_ref a, @Union.%.1 [concrete = @Union.%.1] +// CHECK:STDOUT: %a.ref: %Union.elem.141 = name_ref a, @Union.%.1 [concrete = @Union.%.1] // CHECK:STDOUT: %.loc8_11.1: ref %i32 = class_element_access %u.ref, element0 // CHECK:STDOUT: %.loc8_11.2: %i32 = acquire_value %.loc8_11.1 -// CHECK:STDOUT: %impl.elem0: %.98b = impl_witness_access constants.%Copy.impl_witness.ab4, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %.loc8_11.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %.loc8_11.2, %specific_fn @@ -375,10 +375,10 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: fn @G(%u.param: %Union) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %u.ref: %Union = name_ref u, %u -// CHECK:STDOUT: %b.ref: %Union.elem.e97 = name_ref b, @Union.%.2 [concrete = @Union.%.2] +// CHECK:STDOUT: %b.ref: %Union.elem.141 = name_ref b, @Union.%.2 [concrete = @Union.%.2] // CHECK:STDOUT: %.loc14_11.1: ref %i32 = class_element_access %u.ref, element1 // CHECK:STDOUT: %.loc14_11.2: %i32 = acquire_value %.loc14_11.1 -// CHECK:STDOUT: %impl.elem0: %.98b = impl_witness_access constants.%Copy.impl_witness.ab4, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc14_11.1: = bound_method %.loc14_11.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_11.2: = bound_method %.loc14_11.2, %specific_fn @@ -389,12 +389,12 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: fn @H(%u.param: %Union) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %u.ref: %Union = name_ref u, %u -// CHECK:STDOUT: %p.ref: %Union.elem.6fd = name_ref p, @Union.%.3 [concrete = @Union.%.3] -// CHECK:STDOUT: %.loc20_12.1: ref %ptr.143 = class_element_access %u.ref, element2 -// CHECK:STDOUT: %.loc20_12.2: %ptr.143 = acquire_value %.loc20_12.1 +// CHECK:STDOUT: %p.ref: %Union.elem.054 = name_ref p, @Union.%.3 [concrete = @Union.%.3] +// CHECK:STDOUT: %.loc20_12.1: ref %ptr.847 = class_element_access %u.ref, element2 +// CHECK:STDOUT: %.loc20_12.2: %ptr.847 = acquire_value %.loc20_12.1 // CHECK:STDOUT: %.loc20_10.1: ref %i32 = deref %.loc20_12.2 // CHECK:STDOUT: %.loc20_10.2: %i32 = acquire_value %.loc20_10.1 -// CHECK:STDOUT: %impl.elem0: %.98b = impl_witness_access constants.%Copy.impl_witness.ab4, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc20_10.1: = bound_method %.loc20_10.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc20_10.2: = bound_method %.loc20_10.2, %specific_fn @@ -411,22 +411,22 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Struct.elem: type = unbound_element_type %Struct, %i32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.ab4: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.ab4) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.e27: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.98b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e27, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Union: type = class_type @Union [concrete] // CHECK:STDOUT: %Union.elem: type = unbound_element_type %Union, %i32 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%s.param: %Struct) -> out %return.param: %i32 { @@ -435,7 +435,7 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %a.ref: %Struct.elem = name_ref a, @Struct.%.1 [concrete = @Struct.%.1] // CHECK:STDOUT: %.loc8_11.1: ref %i32 = class_element_access %s.ref, element0 // CHECK:STDOUT: %.loc8_11.2: %i32 = acquire_value %.loc8_11.1 -// CHECK:STDOUT: %impl.elem0: %.98b = impl_witness_access constants.%Copy.impl_witness.ab4, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %.loc8_11.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %.loc8_11.2, %specific_fn @@ -449,7 +449,7 @@ fn Test(m: Cpp.UnsupportedMembers*) { // CHECK:STDOUT: %c.ref: %Union.elem = name_ref c, @Union.%.1 [concrete = @Union.%.1] // CHECK:STDOUT: %.loc14_11.1: ref %i32 = class_element_access %s.ref, element0 // CHECK:STDOUT: %.loc14_11.2: %i32 = acquire_value %.loc14_11.1 -// CHECK:STDOUT: %impl.elem0: %.98b = impl_witness_access constants.%Copy.impl_witness.ab4, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc14_11.1: = bound_method %.loc14_11.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc14_11.2: = bound_method %.loc14_11.2, %specific_fn diff --git a/toolchain/check/testdata/interop/cpp/class/import/method.carbon b/toolchain/check/testdata/interop/cpp/class/import/method.carbon index 15ebc99265db..f4e536b2a23b 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/method.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/method.carbon @@ -309,10 +309,10 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: %HasQualifiers__carbon_thunk: %HasQualifiers__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %HasQualifiers.Op.type.43d658.1: type = fn_type @HasQualifiers.Op.1 [concrete] // CHECK:STDOUT: %HasQualifiers.Op.cc70d5.1: %HasQualifiers.Op.type.43d658.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b8d: = custom_witness (%HasQualifiers.Op.cc70d5.1), @Copy [concrete] -// CHECK:STDOUT: %Copy.facet.5ba: %Copy.type = facet_value %HasQualifiers, (%custom_witness.b8d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.9ed: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.5ba) [concrete] -// CHECK:STDOUT: %.c31: type = fn_type_with_self_type %Copy.WithSelf.Op.type.9ed, %Copy.facet.5ba [concrete] +// CHECK:STDOUT: %custom_witness.b05: = custom_witness (%HasQualifiers.Op.cc70d5.1), @Copy [concrete] +// CHECK:STDOUT: %Copy.facet.0ed: %Copy.type = facet_value %HasQualifiers, (%custom_witness.b05) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.8f4: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.0ed) [concrete] +// CHECK:STDOUT: %.a30: type = fn_type_with_self_type %Copy.WithSelf.Op.type.8f4, %Copy.facet.0ed [concrete] // CHECK:STDOUT: %HasQualifiers.cpp_destructor.type: type = fn_type @HasQualifiers.cpp_destructor [concrete] // CHECK:STDOUT: %HasQualifiers.cpp_destructor: %HasQualifiers.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: %HasQualifiers.Op.type.43d658.2: type = fn_type @HasQualifiers.Op.2 [concrete] @@ -446,7 +446,7 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: %bound_method.loc22_9: = bound_method %.loc22_8.2, %ref_ref_this.ref // CHECK:STDOUT: %.loc22_8.3: %HasQualifiers = acquire_value %.loc22_8.2 // CHECK:STDOUT: -// CHECK:STDOUT: %impl.elem0.loc22: %.c31 = impl_witness_access constants.%custom_witness.b8d, element0 [concrete = constants.%HasQualifiers.Op.cc70d5.1] +// CHECK:STDOUT: %impl.elem0.loc22: %.a30 = impl_witness_access constants.%custom_witness.b05, element0 [concrete = constants.%HasQualifiers.Op.cc70d5.1] // CHECK:STDOUT: %bound_method.loc22_8: = bound_method %.loc22_8.3, %impl.elem0.loc22 // CHECK:STDOUT: %.loc22_8.4: ref %HasQualifiers = temporary_storage // CHECK:STDOUT: %Op.ref.loc22_8.1: %HasQualifiers.HasQualifiers.type = name_ref Op, imports.%HasQualifiers.HasQualifiers.decl [concrete = constants.%HasQualifiers.HasQualifiers] @@ -502,19 +502,19 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %NoRefQualifier.F.cpp_overload_set.type: type = cpp_overload_set_type @NoRefQualifier.F.cpp_overload_set [concrete] // CHECK:STDOUT: %NoRefQualifier.F.cpp_overload_set.value: %NoRefQualifier.F.cpp_overload_set.type = cpp_overload_set_value @NoRefQualifier.F.cpp_overload_set [concrete] // CHECK:STDOUT: %F__carbon_thunk.type.715f07.1: type = fn_type @F__carbon_thunk.1 [concrete] // CHECK:STDOUT: %F__carbon_thunk.a50b67.1: %F__carbon_thunk.type.715f07.1 = struct_value () [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] // CHECK:STDOUT: %NoRefQualifier.F.type.02d694.2: type = fn_type @NoRefQualifier.F.2 [concrete] // CHECK:STDOUT: %NoRefQualifier.F.63a4ff.2: %NoRefQualifier.F.type.02d694.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc9 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc9 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: %WithRefQualifier: type = class_type @WithRefQualifier [concrete] // CHECK:STDOUT: %ptr.c4e: type = ptr_type %WithRefQualifier [concrete] // CHECK:STDOUT: %WithRefQualifier.F.cpp_overload_set.type: type = cpp_overload_set_type @WithRefQualifier.F.cpp_overload_set [concrete] @@ -553,8 +553,8 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: fn @CallFNoRefQualifier(%v.param: %NoRefQualifier, %p.param: %ptr.909) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt // CHECK:STDOUT: %v.ref: %NoRefQualifier = name_ref v, %v @@ -565,29 +565,29 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: %i32.loc8: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: ref %i32 = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.663 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.663 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.7b5 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.7b5 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %b.var: ref %ptr.143 = var %b.var_patt +// CHECK:STDOUT: %b.var: ref %ptr.847 = var %b.var_patt // CHECK:STDOUT: %p.ref: %ptr.909 = name_ref p, %p // CHECK:STDOUT: %.loc9_25: ref %NoRefQualifier = deref %p.ref // CHECK:STDOUT: %F.ref.loc9: %NoRefQualifier.F.cpp_overload_set.type = name_ref F, imports.%NoRefQualifier.F.cpp_overload_set.value [concrete = constants.%NoRefQualifier.F.cpp_overload_set.value] // CHECK:STDOUT: %bound_method.loc9: = bound_method %.loc9_25, %F.ref.loc9 -// CHECK:STDOUT: %NoRefQualifier.F.call: init %ptr.143 = call imports.%NoRefQualifier.F.decl.d25af8.2(%.loc9_25) +// CHECK:STDOUT: %NoRefQualifier.F.call: init %ptr.847 = call imports.%NoRefQualifier.F.decl.d25af8.2(%.loc9_25) // CHECK:STDOUT: assign %b.var, %NoRefQualifier.F.call -// CHECK:STDOUT: %.loc9_20: type = splice_block %ptr.loc9 [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %.loc9_20: type = splice_block %ptr.loc9 [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc9: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc9: type = ptr_type %i32.loc9 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr.loc9: type = ptr_type %i32.loc9 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: ref %ptr.143 = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %b: ref %ptr.847 = ref_binding b, %b.var +// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc9: init %empty_tuple.type = call %Destroy.Op.bound.loc9(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9(%self.param: ref %ptr.143) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc9(%self.param: ref %ptr.847) = "no_op"; // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %i32.builtin) = "no_op"; // CHECK:STDOUT: @@ -599,8 +599,8 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: fn @CallFWithRefQualifier(%v.param: %WithRefQualifier, %p.param: %ptr.c4e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt // CHECK:STDOUT: %v.ref: %WithRefQualifier = name_ref v, %v @@ -611,24 +611,24 @@ fn Call(e: Cpp.ExplicitObjectParam, n: i32, a: Cpp.Another) { // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: ref %i32 = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.663 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.663 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.7b5 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.7b5 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %b.var: ref %ptr.143 = var %b.var_patt +// CHECK:STDOUT: %b.var: ref %ptr.847 = var %b.var_patt // CHECK:STDOUT: %p.ref: %ptr.c4e = name_ref p, %p // CHECK:STDOUT: %.loc16_25: ref %WithRefQualifier = deref %p.ref // CHECK:STDOUT: %F.ref.loc16: %WithRefQualifier.F.cpp_overload_set.type = name_ref F, imports.%WithRefQualifier.F.cpp_overload_set.value [concrete = constants.%WithRefQualifier.F.cpp_overload_set.value] // CHECK:STDOUT: %bound_method.loc16: = bound_method %.loc16_25, %F.ref.loc16 -// CHECK:STDOUT: %WithRefQualifier.F.call: init %ptr.143 = call imports.%WithRefQualifier.F.decl.d25af8.2(%.loc16_25) +// CHECK:STDOUT: %WithRefQualifier.F.call: init %ptr.847 = call imports.%WithRefQualifier.F.decl.d25af8.2(%.loc16_25) // CHECK:STDOUT: assign %b.var, %WithRefQualifier.F.call -// CHECK:STDOUT: %.loc16_20: type = splice_block %ptr.loc16 [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %.loc16_20: type = splice_block %ptr.loc16 [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc16: type = ptr_type %i32.loc16 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr.loc16: type = ptr_type %i32.loc16 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: ref %ptr.143 = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %b.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %b: ref %ptr.847 = ref_binding b, %b.var +// CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %b.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc16: init %empty_tuple.type = call %Destroy.Op.bound.loc16(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc15: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc15: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc15: init %empty_tuple.type = call %Destroy.Op.bound.loc15(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/class/import/template.carbon b/toolchain/check/testdata/interop/cpp/class/import/template.carbon index ddc4338db4c6..900a927ca691 100644 --- a/toolchain/check/testdata/interop/cpp/class/import/template.carbon +++ b/toolchain/check/testdata/interop/cpp/class/import/template.carbon @@ -107,34 +107,34 @@ fn F() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Base: type = class_type @Base [concrete] -// CHECK:STDOUT: %A.elem.574: type = unbound_element_type %A.971, %i32 [concrete] +// CHECK:STDOUT: %A.elem.8ae: type = unbound_element_type %A.971, %i32 [concrete] // CHECK:STDOUT: %A.f.cpp_overload_set.type: type = cpp_overload_set_type @A.f.cpp_overload_set [concrete] // CHECK:STDOUT: %A.f.cpp_overload_set.value: %A.f.cpp_overload_set.type = cpp_overload_set_value @A.f.cpp_overload_set [concrete] // CHECK:STDOUT: %f__carbon_thunk.type: type = fn_type @f__carbon_thunk [concrete] // CHECK:STDOUT: %f__carbon_thunk: %f__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %A.a10: type = class_type @A.2 [concrete] // CHECK:STDOUT: %ptr.636: type = ptr_type %A.a10 [concrete] // CHECK:STDOUT: %ptr.eb6: type = ptr_type %Base [concrete] -// CHECK:STDOUT: %Copy.impl_witness.826: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%Base) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.097: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Base) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.235: %ptr.as.Copy.impl.Op.type.097 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.1e8: %Copy.type = facet_value %ptr.eb6, (%Copy.impl_witness.826) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.402: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.1e8) [concrete] -// CHECK:STDOUT: %.97e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.402, %Copy.facet.1e8 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.235, @ptr.as.Copy.impl.Op(%Base) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.ab1: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%Base) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.f2f: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Base) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.e51: %ptr.as.Copy.impl.Op.type.f2f = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.8ea: %Copy.type = facet_value %ptr.eb6, (%Copy.impl_witness.ab1) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.092: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.8ea) [concrete] +// CHECK:STDOUT: %.470: type = fn_type_with_self_type %Copy.WithSelf.Op.type.092, %Copy.facet.8ea [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.e51, @ptr.as.Copy.impl.Op(%Base) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -144,10 +144,10 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%x.param: %A.971) -> out %return.param: %i32 { @@ -157,10 +157,10 @@ fn F() { // CHECK:STDOUT: %bound_method.loc9: = bound_method %x.ref.loc9, %f.ref // CHECK:STDOUT: %f__carbon_thunk.call: init %empty_tuple.type = call imports.%f__carbon_thunk.decl(%x.ref.loc9) // CHECK:STDOUT: %x.ref.loc10: %A.971 = name_ref x, %x -// CHECK:STDOUT: %n.ref: %A.elem.574 = name_ref n, @A.1.%.2 [concrete = @A.1.%.2] +// CHECK:STDOUT: %n.ref: %A.elem.8ae = name_ref n, @A.1.%.2 [concrete = @A.1.%.2] // CHECK:STDOUT: %.loc10_11.1: ref %i32 = class_element_access %x.ref.loc10, element1 // CHECK:STDOUT: %.loc10_11.2: %i32 = acquire_value %.loc10_11.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc10_11.1: = bound_method %.loc10_11.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc10_11.2: = bound_method %.loc10_11.2, %specific_fn @@ -175,7 +175,7 @@ fn F() { // CHECK:STDOUT: %.loc17_11.2: ref %Base = class_element_access %.loc17_11.1, element0 // CHECK:STDOUT: %addr: %ptr.eb6 = addr_of %.loc17_11.2 // CHECK:STDOUT: %.loc17_11.3: %ptr.eb6 = converted %p.ref, %addr -// CHECK:STDOUT: %impl.elem0: %.97e = impl_witness_access constants.%Copy.impl_witness.826, element0 [concrete = constants.%ptr.as.Copy.impl.Op.235] +// CHECK:STDOUT: %impl.elem0: %.470 = impl_witness_access constants.%Copy.impl_witness.ab1, element0 [concrete = constants.%ptr.as.Copy.impl.Op.e51] // CHECK:STDOUT: %bound_method.loc17_11.1: = bound_method %.loc17_11.3, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%Base) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc17_11.2: = bound_method %.loc17_11.3, %specific_fn @@ -189,22 +189,22 @@ fn F() { // CHECK:STDOUT: %X.548: type = class_type @X.1 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %X.1cb: type = class_type @X.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -215,15 +215,15 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %X.decl.138: type = class_decl @X.1 [concrete = constants.%X.548] {} {} -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %X.decl.0ee: type = class_decl @X.2 [concrete = constants.%X.1cb] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.c6b = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.104 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %i32 = var %x.var_patt [concrete] // CHECK:STDOUT: %.loc7: type = splice_block %type.ref.loc7 [concrete = constants.%i32] { @@ -234,8 +234,8 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %x: ref %i32 = ref_binding x, %x.var [concrete = %x.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.c6b = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.c6b = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.104 = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.104 = var_pattern %y.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %y.var: ref %i32 = var %y.var_patt [concrete] // CHECK:STDOUT: %.loc21: type = splice_block %type.ref.loc21 [concrete = constants.%i32] { @@ -250,20 +250,20 @@ fn F() { // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0.loc7: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc7: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc7: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc7_1.1: = bound_method %int_0.loc7, %impl.elem0.loc7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc7_1.2: = bound_method %int_0.loc7, %specific_fn.loc7 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_1.2(%int_0.loc7) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc7: init %i32 = converted %int_0.loc7, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_1.2(%int_0.loc7) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc7: init %i32 = converted %int_0.loc7, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign file.%x.var, %.loc7 // CHECK:STDOUT: %int_0.loc21: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc21: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc21: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc21_1.1: = bound_method %int_0.loc21, %impl.elem0.loc21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem0.loc21, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc21_1.2: = bound_method %int_0.loc21, %specific_fn.loc21 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %i32 = call %bound_method.loc21_1.2(%int_0.loc21) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc21: init %i32 = converted %int_0.loc21, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %i32 = call %bound_method.loc21_1.2(%int_0.loc21) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc21: init %i32 = converted %int_0.loc21, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign file.%y.var, %.loc21 // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/enum/convert.carbon b/toolchain/check/testdata/interop/cpp/enum/convert.carbon index a626a90d814d..c250a9627785 100644 --- a/toolchain/check/testdata/interop/cpp/enum/convert.carbon +++ b/toolchain/check/testdata/interop/cpp/enum/convert.carbon @@ -92,26 +92,26 @@ fn F() { // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] -// CHECK:STDOUT: %pattern_type.0cb: type = pattern_type %i16 [concrete] +// CHECK:STDOUT: %pattern_type.e1b: type = pattern_type %i16 [concrete] // CHECK:STDOUT: %Enum: type = class_type @Enum [concrete] // CHECK:STDOUT: %int_0.167: %Enum = int_value 0 [concrete] -// CHECK:STDOUT: %int_0.713: %i16 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.640: %i16 = int_value 0 [concrete] // CHECK:STDOUT: %pattern_type.361: type = pattern_type %Enum [concrete] // CHECK:STDOUT: %int_42.20e: Core.IntLiteral = int_value 42 [concrete] -// CHECK:STDOUT: %As.type.457: type = facet_type <@As, @As(%i16)> [concrete] +// CHECK:STDOUT: %As.type.fff: type = facet_type <@As, @As(%i16)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.bca: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.36d: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.036: %Core.IntLiteral.as.As.impl.Convert.type.36d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.457 = facet_value Core.IntLiteral, (%As.impl_witness.bca) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.9f1: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] -// CHECK:STDOUT: %.3ca: type = fn_type_with_self_type %As.WithSelf.Convert.type.9f1, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.As.impl.Convert.036 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.036, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.16a: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ced: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.0b6: %Core.IntLiteral.as.As.impl.Convert.type.ced = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.fff = facet_value Core.IntLiteral, (%As.impl_witness.16a) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.28f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] +// CHECK:STDOUT: %.696: type = fn_type_with_self_type %As.WithSelf.Convert.type.28f, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.As.impl.Convert.0b6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.0b6, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_42.20e, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_42.50d: %i16 = int_value 42 [concrete] +// CHECK:STDOUT: %int_42.6a7: %i16 = int_value 42 [concrete] // CHECK:STDOUT: %int_42.3d1: %Enum = int_value 42 [concrete] // CHECK:STDOUT: %Other: type = class_type @Other [concrete] // CHECK:STDOUT: %pattern_type.7cb: type = pattern_type %Other [concrete] @@ -127,8 +127,8 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %Enum.decl: type = class_decl @Enum [concrete = constants.%Enum] {} {} // CHECK:STDOUT: %int_0: %Enum = int_value 0 [concrete = constants.%int_0.167] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %Other.decl: type = class_decl @Other [concrete = constants.%Other] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -139,14 +139,14 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.0cb = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.e1b = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %Enum.ref.loc8: type = name_ref Enum, imports.%Enum.decl [concrete = constants.%Enum] // CHECK:STDOUT: %a.ref.loc8: %Enum = name_ref a, imports.%int_0 [concrete = constants.%int_0.167] // CHECK:STDOUT: %i16.loc8_37: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %.loc8_34.1: %i16 = as_compatible %a.ref.loc8 [concrete = constants.%int_0.713] -// CHECK:STDOUT: %.loc8_34.2: %i16 = converted %a.ref.loc8, %.loc8_34.1 [concrete = constants.%int_0.713] +// CHECK:STDOUT: %.loc8_34.1: %i16 = as_compatible %a.ref.loc8 [concrete = constants.%int_0.640] +// CHECK:STDOUT: %.loc8_34.2: %i16 = converted %a.ref.loc8, %.loc8_34.1 [concrete = constants.%int_0.640] // CHECK:STDOUT: %i16.loc8_17: type = type_literal constants.%i16 [concrete = constants.%i16] // CHECK:STDOUT: %a: %i16 = value_binding a, %.loc8_34.2 // CHECK:STDOUT: name_binding_decl { @@ -154,13 +154,13 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete = constants.%int_42.20e] // CHECK:STDOUT: %i16.loc9: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %impl.elem0: %.3ca = impl_witness_access constants.%As.impl_witness.bca, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.036] +// CHECK:STDOUT: %impl.elem0: %.696 = impl_witness_access constants.%As.impl_witness.16a, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.0b6] // CHECK:STDOUT: %bound_method.loc9_32.1: = bound_method %int_42, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc9_32.2: = bound_method %int_42, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc9_32.2(%int_42) [concrete = constants.%int_42.50d] -// CHECK:STDOUT: %.loc9_32.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_42.50d] -// CHECK:STDOUT: %.loc9_32.2: %i16 = converted %int_42, %.loc9_32.1 [concrete = constants.%int_42.50d] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc9_32.2(%int_42) [concrete = constants.%int_42.6a7] +// CHECK:STDOUT: %.loc9_32.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_42.6a7] +// CHECK:STDOUT: %.loc9_32.2: %i16 = converted %int_42, %.loc9_32.1 [concrete = constants.%int_42.6a7] // CHECK:STDOUT: %Cpp.ref.loc9_43: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %Enum.ref.loc9_46: type = name_ref Enum, imports.%Enum.decl [concrete = constants.%Enum] // CHECK:STDOUT: %.loc9_40.1: %Enum = as_compatible %.loc9_32.2 [concrete = constants.%int_42.3d1] diff --git a/toolchain/check/testdata/interop/cpp/enum/copy.carbon b/toolchain/check/testdata/interop/cpp/enum/copy.carbon index 0f80ccf5547d..81130635680a 100644 --- a/toolchain/check/testdata/interop/cpp/enum/copy.carbon +++ b/toolchain/check/testdata/interop/cpp/enum/copy.carbon @@ -40,10 +40,10 @@ fn F() { // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %Enum.Op.type: type = fn_type @Enum.Op [concrete] // CHECK:STDOUT: %Enum.Op: %Enum.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b8d: = custom_witness (%Enum.Op), @Copy [concrete] -// CHECK:STDOUT: %Copy.facet.4ef: %Copy.type = facet_value %Enum, (%custom_witness.b8d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.bb4: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.4ef) [concrete] -// CHECK:STDOUT: %.a09: type = fn_type_with_self_type %Copy.WithSelf.Op.type.bb4, %Copy.facet.4ef [concrete] +// CHECK:STDOUT: %custom_witness.b05: = custom_witness (%Enum.Op), @Copy [concrete] +// CHECK:STDOUT: %Copy.facet.9d2: %Copy.type = facet_value %Enum, (%custom_witness.b05) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.fc7: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.9d2) [concrete] +// CHECK:STDOUT: %.2fc: type = fn_type_with_self_type %Copy.WithSelf.Op.type.fc7, %Copy.facet.9d2 [concrete] // CHECK:STDOUT: %Enum.Op.bound.c3d: = bound_method %int_0, %Enum.Op [concrete] // CHECK:STDOUT: %int_1: %Enum = int_value 1 [concrete] // CHECK:STDOUT: %Enum.Op.bound.6f8: = bound_method %int_1, %Enum.Op [concrete] @@ -75,7 +75,7 @@ fn F() { // CHECK:STDOUT: %Cpp.ref.loc8_21: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %Enum.ref.loc8_24: type = name_ref Enum, imports.%Enum.decl [concrete = constants.%Enum] // CHECK:STDOUT: %a.ref.loc8: %Enum = name_ref a, imports.%int_0 [concrete = constants.%int_0] -// CHECK:STDOUT: %impl.elem0.loc8: %.a09 = impl_witness_access constants.%custom_witness.b8d, element0 [concrete = constants.%Enum.Op] +// CHECK:STDOUT: %impl.elem0.loc8: %.2fc = impl_witness_access constants.%custom_witness.b05, element0 [concrete = constants.%Enum.Op] // CHECK:STDOUT: %bound_method.loc8: = bound_method %a.ref.loc8, %impl.elem0.loc8 [concrete = constants.%Enum.Op.bound.c3d] // CHECK:STDOUT: %Enum.Op.call.loc8: init %Enum = call %bound_method.loc8(%a.ref.loc8) [concrete = constants.%int_0] // CHECK:STDOUT: assign %a.var, %Enum.Op.call.loc8 @@ -88,7 +88,7 @@ fn F() { // CHECK:STDOUT: %Cpp.ref.loc10: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %Enum.ref.loc10: type = name_ref Enum, imports.%Enum.decl [concrete = constants.%Enum] // CHECK:STDOUT: %b.ref: %Enum = name_ref b, imports.%int_1 [concrete = constants.%int_1] -// CHECK:STDOUT: %impl.elem0.loc10: %.a09 = impl_witness_access constants.%custom_witness.b8d, element0 [concrete = constants.%Enum.Op] +// CHECK:STDOUT: %impl.elem0.loc10: %.2fc = impl_witness_access constants.%custom_witness.b05, element0 [concrete = constants.%Enum.Op] // CHECK:STDOUT: %bound_method.loc10: = bound_method %b.ref, %impl.elem0.loc10 [concrete = constants.%Enum.Op.bound.6f8] // CHECK:STDOUT: %Enum.Op.call.loc10: init %Enum = call %bound_method.loc10(%b.ref) [concrete = constants.%int_1] // CHECK:STDOUT: assign %a.ref.loc10, %Enum.Op.call.loc10 diff --git a/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_bridged.carbon b/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_bridged.carbon index 1eeb55ff1be0..660a22175d4d 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_bridged.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_bridged.carbon @@ -566,10 +566,10 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.ba0: = impl_witness imports.%Copy.impl_witness_table.d8d [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.ba0) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.fa0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.7ff: type = fn_type_with_self_type %Copy.WithSelf.Op.type.fa0, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.de3: = impl_witness imports.%Copy.impl_witness_table.34b [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.de3) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.079: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.022: type = fn_type_with_self_type %Copy.WithSelf.Op.type.079, %Copy.facet [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.type: type = fn_type @bool.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op: %bool.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.bound: = bound_method %true, %bool.as.Copy.impl.Op [concrete] @@ -588,8 +588,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.7b4: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.d8d = impl_witness_table (%Core.import_ref.7b4), @bool.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.34b = impl_witness_table (%Core.import_ref.f63), @bool.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -597,7 +597,7 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0: %.7ff = impl_witness_access constants.%Copy.impl_witness.ba0, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %true, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%true) [concrete = constants.%true] // CHECK:STDOUT: %.loc8_11.1: ref bool = temporary_storage @@ -620,10 +620,10 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.ba0: = impl_witness imports.%Copy.impl_witness_table.d8d [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.ba0) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.fa0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.7ff: type = fn_type_with_self_type %Copy.WithSelf.Op.type.fa0, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.de3: = impl_witness imports.%Copy.impl_witness_table.34b [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.de3) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.079: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.022: type = fn_type_with_self_type %Copy.WithSelf.Op.type.079, %Copy.facet [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.type: type = fn_type @bool.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op: %bool.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.bound: = bound_method %false, %bool.as.Copy.impl.Op [concrete] @@ -642,8 +642,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.7b4: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.d8d = impl_witness_table (%Core.import_ref.7b4), @bool.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.34b = impl_witness_table (%Core.import_ref.f63), @bool.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -651,7 +651,7 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %false: bool = bool_literal false [concrete = constants.%false] -// CHECK:STDOUT: %impl.elem0: %.7ff = impl_witness_access constants.%Copy.impl_witness.ba0, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %false, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%false) [concrete = constants.%false] // CHECK:STDOUT: %.loc8_11.1: ref bool = temporary_storage @@ -673,8 +673,8 @@ fn F() { // CHECK:STDOUT: %Negate.type: type = facet_type <@Negate> [concrete] // CHECK:STDOUT: %Negate.impl_witness: = impl_witness imports.%Negate.impl_witness_table [concrete] // CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value Core.IntLiteral, (%Negate.impl_witness) [concrete] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.eeb: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] -// CHECK:STDOUT: %.edb: type = fn_type_with_self_type %Negate.WithSelf.Op.type.eeb, %Negate.facet [concrete] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.309: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] +// CHECK:STDOUT: %.f38: type = fn_type_with_self_type %Negate.WithSelf.Op.type.309, %Negate.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.type: type = fn_type @Core.IntLiteral.as.Negate.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op: %Core.IntLiteral.as.Negate.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.bound: = bound_method %int_1, %Core.IntLiteral.as.Negate.impl.Op [concrete] @@ -682,41 +682,41 @@ fn F() { // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i8: type = class_type @Int, @Int(%int_8) [concrete] -// CHECK:STDOUT: %ptr.cab: type = ptr_type %i8 [concrete] +// CHECK:STDOUT: %ptr.303: type = ptr_type %i8 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %i8.builtin: type = int_type signed, %int_8 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.7ad: type = facet_type <@ImplicitAs, @ImplicitAs(%i8)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.046: type = facet_type <@ImplicitAs, @ImplicitAs(%i8)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.d1c: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_8) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a2d: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_8) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.608: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a2d = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.7ad = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.d1c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.4e7: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i8, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.118: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.4e7, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_-1.638, %Core.IntLiteral.as.ImplicitAs.impl.Convert.608 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.608, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_8) [concrete] -// CHECK:STDOUT: %bound_method.d3b: = bound_method %int_-1.638, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_-1.f31: %i8 = int_value -1 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.64d: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_8) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.300: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_8) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.a3c: %Int.as.Copy.impl.Op.type.300 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i8, (%Copy.impl_witness.64d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.7ec: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.c32: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7ec, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_-1.f31, %Int.as.Copy.impl.Op.a3c [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.a3c, @Int.as.Copy.impl.Op(%int_8) [concrete] -// CHECK:STDOUT: %bound_method.ddf: = bound_method %int_-1.f31, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.9e9: ref %i8 = temporary invalid, %int_-1.f31 [concrete] -// CHECK:STDOUT: %addr: %ptr.cab = addr_of %.9e9 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_11.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.9e9, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.361: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_8) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.3d1: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_8) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bcf: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.3d1 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.046 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.361) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.389: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i8, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.d2a: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.389, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_-1.638, %Core.IntLiteral.as.ImplicitAs.impl.Convert.bcf [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.bcf, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_8) [concrete] +// CHECK:STDOUT: %bound_method.e81: = bound_method %int_-1.638, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_-1.c6d: %i8 = int_value -1 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.b46: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_8) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.70a: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_8) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.07d: %Int.as.Copy.impl.Op.type.70a = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i8, (%Copy.impl_witness.b46) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.297: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.f69: type = fn_type_with_self_type %Copy.WithSelf.Op.type.297, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_-1.c6d, %Int.as.Copy.impl.Op.07d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.07d, @Int.as.Copy.impl.Op(%int_8) [concrete] +// CHECK:STDOUT: %bound_method.8f0: = bound_method %int_-1.c6d, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.6ff: ref %i8 = temporary invalid, %int_-1.c6d [concrete] +// CHECK:STDOUT: %addr: %ptr.303 = addr_of %.6ff [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_11.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.6ff, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -726,17 +726,17 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.import_ref.abd = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.f45: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] -// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.f45), @Core.IntLiteral.as.Negate.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.f63), @Core.IntLiteral.as.Negate.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -744,28 +744,28 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] -// CHECK:STDOUT: %impl.elem1: %.edb = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.f38 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op.bound] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.call: init Core.IntLiteral = call %bound_method.loc8_11.1(%int_1) [concrete = constants.%int_-1.638] -// CHECK:STDOUT: %impl.elem0.loc8_11.1: %.118 = impl_witness_access constants.%ImplicitAs.impl_witness.d1c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.608] +// CHECK:STDOUT: %impl.elem0.loc8_11.1: %.d2a = impl_witness_access constants.%ImplicitAs.impl_witness.361, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bcf] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %impl.elem0.loc8_11.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_11.1: = specific_function %impl.elem0.loc8_11.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_8) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_11.3: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %specific_fn.loc8_11.1 [concrete = constants.%bound_method.d3b] +// CHECK:STDOUT: %bound_method.loc8_11.3: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %specific_fn.loc8_11.1 [concrete = constants.%bound_method.e81] // CHECK:STDOUT: %.loc8_11.1: Core.IntLiteral = value_of_initializer %Core.IntLiteral.as.Negate.impl.Op.call [concrete = constants.%int_-1.638] // CHECK:STDOUT: %.loc8_11.2: Core.IntLiteral = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.1 [concrete = constants.%int_-1.638] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i8 = call %bound_method.loc8_11.3(%.loc8_11.2) [concrete = constants.%int_-1.f31] -// CHECK:STDOUT: %.loc8_11.3: %i8 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_-1.f31] -// CHECK:STDOUT: %.loc8_11.4: %i8 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.3 [concrete = constants.%int_-1.f31] -// CHECK:STDOUT: %impl.elem0.loc8_11.2: %.c32 = impl_witness_access constants.%Copy.impl_witness.64d, element0 [concrete = constants.%Int.as.Copy.impl.Op.a3c] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i8 = call %bound_method.loc8_11.3(%.loc8_11.2) [concrete = constants.%int_-1.c6d] +// CHECK:STDOUT: %.loc8_11.3: %i8 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_-1.c6d] +// CHECK:STDOUT: %.loc8_11.4: %i8 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.3 [concrete = constants.%int_-1.c6d] +// CHECK:STDOUT: %impl.elem0.loc8_11.2: %.f69 = impl_witness_access constants.%Copy.impl_witness.b46, element0 [concrete = constants.%Int.as.Copy.impl.Op.07d] // CHECK:STDOUT: %bound_method.loc8_11.4: = bound_method %.loc8_11.4, %impl.elem0.loc8_11.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_11.2: = specific_function %impl.elem0.loc8_11.2, @Int.as.Copy.impl.Op(constants.%int_8) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_11.5: = bound_method %.loc8_11.4, %specific_fn.loc8_11.2 [concrete = constants.%bound_method.ddf] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i8 = call %bound_method.loc8_11.5(%.loc8_11.4) [concrete = constants.%int_-1.f31] +// CHECK:STDOUT: %bound_method.loc8_11.5: = bound_method %.loc8_11.4, %specific_fn.loc8_11.2 [concrete = constants.%bound_method.8f0] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i8 = call %bound_method.loc8_11.5(%.loc8_11.4) [concrete = constants.%int_-1.c6d] // CHECK:STDOUT: %.loc8_11.5: ref %i8 = temporary_storage -// CHECK:STDOUT: %.loc8_11.6: ref %i8 = temporary %.loc8_11.5, %Int.as.Copy.impl.Op.call [concrete = constants.%.9e9] -// CHECK:STDOUT: %addr: %ptr.cab = addr_of %.loc8_11.6 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc8_11.6: ref %i8 = temporary %.loc8_11.5, %Int.as.Copy.impl.Op.call [concrete = constants.%.6ff] +// CHECK:STDOUT: %addr: %ptr.303 = addr_of %.loc8_11.6 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.9e9) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.6ff) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -786,41 +786,41 @@ fn F() { // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %u8: type = class_type @UInt, @UInt(%int_8) [concrete] -// CHECK:STDOUT: %ptr.cb7: type = ptr_type %u8 [concrete] +// CHECK:STDOUT: %ptr.9b7: type = ptr_type %u8 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %u8.builtin: type = int_type unsigned, %int_8 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.599: type = facet_type <@ImplicitAs, @ImplicitAs(%u8)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.b41: type = facet_type <@ImplicitAs, @ImplicitAs(%u8)> [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01 = struct_value () [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.498: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6 = struct_value () [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.08c: = impl_witness imports.%ImplicitAs.impl_witness_table.c97, @Core.IntLiteral.as.ImplicitAs.impl(%int_8) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.b93: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_8) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.45b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.b93 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.599 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.08c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.0d8: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u8, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.77a: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.0d8, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.45b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.45b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_8) [concrete] -// CHECK:STDOUT: %bound_method.519: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.5de: %u8 = int_value 1 [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.a58: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.dc5: %UInt.as.Copy.impl.Op.type.a58 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.18d: = impl_witness imports.%Copy.impl_witness_table.54d, @UInt.as.Copy.impl(%int_8) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.54f: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%int_8) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.967: %UInt.as.Copy.impl.Op.type.54f = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %u8, (%Copy.impl_witness.18d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.873: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.4c2: type = fn_type_with_self_type %Copy.WithSelf.Op.type.873, %Copy.facet [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.bound: = bound_method %int_1.5de, %UInt.as.Copy.impl.Op.967 [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.specific_fn: = specific_function %UInt.as.Copy.impl.Op.967, @UInt.as.Copy.impl.Op(%int_8) [concrete] -// CHECK:STDOUT: %bound_method.82e: = bound_method %int_1.5de, %UInt.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.0c6: ref %u8 = temporary invalid, %int_1.5de [concrete] -// CHECK:STDOUT: %addr: %ptr.cb7 = addr_of %.0c6 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_11.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.0c6, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.c41: = impl_witness imports.%ImplicitAs.impl_witness_table.0c6, @Core.IntLiteral.as.ImplicitAs.impl(%int_8) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.17e: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_8) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.59a: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.17e = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.b41 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.c41) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.dfc: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u8, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.cee: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.dfc, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.59a [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.59a, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_8) [concrete] +// CHECK:STDOUT: %bound_method.286: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.96a: %u8 = int_value 1 [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.743: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.521: %UInt.as.Copy.impl.Op.type.743 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.c46: = impl_witness imports.%Copy.impl_witness_table.306, @UInt.as.Copy.impl(%int_8) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.90d: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%int_8) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.fef: %UInt.as.Copy.impl.Op.type.90d = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %u8, (%Copy.impl_witness.c46) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cf6: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.046: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cf6, %Copy.facet [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.bound: = bound_method %int_1.96a, %UInt.as.Copy.impl.Op.fef [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.specific_fn: = specific_function %UInt.as.Copy.impl.Op.fef, @UInt.as.Copy.impl.Op(%int_8) [concrete] +// CHECK:STDOUT: %bound_method.090: = bound_method %int_1.96a, %UInt.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.2a8: ref %u8 = temporary invalid, %int_1.96a [concrete] +// CHECK:STDOUT: %addr: %ptr.9b7 = addr_of %.2a8 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_11.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.2a8, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -834,10 +834,10 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.0ae: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.c97 = impl_witness_table (%Core.import_ref.0ae), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.047: @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op.type (%UInt.as.Copy.impl.Op.type.a58) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op (constants.%UInt.as.Copy.impl.Op.dc5)] -// CHECK:STDOUT: %Copy.impl_witness_table.54d = impl_witness_table (%Core.import_ref.047), @UInt.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.e9f: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.498)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0c6 = impl_witness_table (%Core.import_ref.e9f), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.3cf: @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op.type (%UInt.as.Copy.impl.Op.type.743) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op (constants.%UInt.as.Copy.impl.Op.521)] +// CHECK:STDOUT: %Copy.impl_witness_table.306 = impl_witness_table (%Core.import_ref.3cf), @UInt.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -845,23 +845,23 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8_11.1: %.77a = impl_witness_access constants.%ImplicitAs.impl_witness.08c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.45b] +// CHECK:STDOUT: %impl.elem0.loc8_11.1: %.cee = impl_witness_access constants.%ImplicitAs.impl_witness.c41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.59a] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem0.loc8_11.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_11.1: = specific_function %impl.elem0.loc8_11.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_8) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn.loc8_11.1 [concrete = constants.%bound_method.519] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %u8 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.5de] -// CHECK:STDOUT: %.loc8_11.1: %u8 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.5de] -// CHECK:STDOUT: %.loc8_11.2: %u8 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.5de] -// CHECK:STDOUT: %impl.elem0.loc8_11.2: %.4c2 = impl_witness_access constants.%Copy.impl_witness.18d, element0 [concrete = constants.%UInt.as.Copy.impl.Op.967] +// CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn.loc8_11.1 [concrete = constants.%bound_method.286] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %u8 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.96a] +// CHECK:STDOUT: %.loc8_11.1: %u8 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.96a] +// CHECK:STDOUT: %.loc8_11.2: %u8 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.96a] +// CHECK:STDOUT: %impl.elem0.loc8_11.2: %.046 = impl_witness_access constants.%Copy.impl_witness.c46, element0 [concrete = constants.%UInt.as.Copy.impl.Op.fef] // CHECK:STDOUT: %bound_method.loc8_11.3: = bound_method %.loc8_11.2, %impl.elem0.loc8_11.2 [concrete = constants.%UInt.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_11.2: = specific_function %impl.elem0.loc8_11.2, @UInt.as.Copy.impl.Op(constants.%int_8) [concrete = constants.%UInt.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_11.4: = bound_method %.loc8_11.2, %specific_fn.loc8_11.2 [concrete = constants.%bound_method.82e] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.call: init %u8 = call %bound_method.loc8_11.4(%.loc8_11.2) [concrete = constants.%int_1.5de] +// CHECK:STDOUT: %bound_method.loc8_11.4: = bound_method %.loc8_11.2, %specific_fn.loc8_11.2 [concrete = constants.%bound_method.090] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.call: init %u8 = call %bound_method.loc8_11.4(%.loc8_11.2) [concrete = constants.%int_1.96a] // CHECK:STDOUT: %.loc8_11.3: ref %u8 = temporary_storage -// CHECK:STDOUT: %.loc8_11.4: ref %u8 = temporary %.loc8_11.3, %UInt.as.Copy.impl.Op.call [concrete = constants.%.0c6] -// CHECK:STDOUT: %addr: %ptr.cb7 = addr_of %.loc8_11.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc8_11.4: ref %u8 = temporary %.loc8_11.3, %UInt.as.Copy.impl.Op.call [concrete = constants.%.2a8] +// CHECK:STDOUT: %addr: %ptr.9b7 = addr_of %.loc8_11.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.0c6) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.2a8) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -882,31 +882,31 @@ fn F() { // CHECK:STDOUT: %char: type = class_type @Char [concrete] // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete] // CHECK:STDOUT: %u8.builtin: type = int_type unsigned, %int_8 [concrete] -// CHECK:STDOUT: %ptr.050: type = ptr_type %char [concrete] +// CHECK:STDOUT: %ptr.d63: type = ptr_type %char [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %ImplicitAs.type.f44: type = facet_type <@ImplicitAs, @ImplicitAs(%char)> [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.805: = impl_witness imports.%ImplicitAs.impl_witness_table.fad [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.f44 = facet_value Core.CharLiteral, (%ImplicitAs.impl_witness.805) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.904: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%char, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.0ca3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.904, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.4fa: = impl_witness imports.%ImplicitAs.impl_witness_table.e28 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.f44 = facet_value Core.CharLiteral, (%ImplicitAs.impl_witness.4fa) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b40: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%char, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.dd0: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b40, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.CharLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert: %Core.CharLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %.d16, %Core.CharLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %int_88: %char = int_value 88 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.416: = impl_witness imports.%Copy.impl_witness_table.cef [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %char, (%Copy.impl_witness.416) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.981: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.e28: type = fn_type_with_self_type %Copy.WithSelf.Op.type.981, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.937: = impl_witness imports.%Copy.impl_witness_table.045 [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %char, (%Copy.impl_witness.937) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.386: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.e5e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.386, %Copy.facet [concrete] // CHECK:STDOUT: %char.as.Copy.impl.Op.type: type = fn_type @char.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %char.as.Copy.impl.Op: %char.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %char.as.Copy.impl.Op.bound: = bound_method %int_88, %char.as.Copy.impl.Op [concrete] -// CHECK:STDOUT: %.93e: ref %char = temporary invalid, %int_88 [concrete] -// CHECK:STDOUT: %addr: %ptr.050 = addr_of %.93e [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_11.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.93e, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %.5b5: ref %char = temporary invalid, %int_88 [concrete] +// CHECK:STDOUT: %addr: %ptr.d63 = addr_of %.5b5 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_11.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.5b5, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -920,10 +920,10 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.f13: %Core.CharLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/char, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.fad = impl_witness_table (%Core.import_ref.f13), @Core.CharLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.c5d: %char.as.Copy.impl.Op.type = import_ref Core//prelude/types/char, loc{{\d+_\d+}}, loaded [concrete = constants.%char.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.cef = impl_witness_table (%Core.import_ref.c5d), @char.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.CharLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/char, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.e28 = impl_witness_table (%Core.import_ref.ade), @Core.CharLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %char.as.Copy.impl.Op.type = import_ref Core//prelude/types/char, loc{{\d+_\d+}}, loaded [concrete = constants.%char.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.045 = impl_witness_table (%Core.import_ref.f63), @char.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -931,19 +931,19 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %.loc8_11.1: Core.CharLiteral = char_value U+0058 [concrete = constants.%.d16] -// CHECK:STDOUT: %impl.elem0.loc8_11.1: %.0ca3 = impl_witness_access constants.%ImplicitAs.impl_witness.805, element0 [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8_11.1: %.dd0 = impl_witness_access constants.%ImplicitAs.impl_witness.4fa, element0 [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %.loc8_11.1, %impl.elem0.loc8_11.1 [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert.call: init %char = call %bound_method.loc8_11.1(%.loc8_11.1) [concrete = constants.%int_88] // CHECK:STDOUT: %.loc8_11.2: %char = value_of_initializer %Core.CharLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_88] // CHECK:STDOUT: %.loc8_11.3: %char = converted %.loc8_11.1, %.loc8_11.2 [concrete = constants.%int_88] -// CHECK:STDOUT: %impl.elem0.loc8_11.2: %.e28 = impl_witness_access constants.%Copy.impl_witness.416, element0 [concrete = constants.%char.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc8_11.2: %.e5e = impl_witness_access constants.%Copy.impl_witness.937, element0 [concrete = constants.%char.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %.loc8_11.3, %impl.elem0.loc8_11.2 [concrete = constants.%char.as.Copy.impl.Op.bound] // CHECK:STDOUT: %char.as.Copy.impl.Op.call: init %char = call %bound_method.loc8_11.2(%.loc8_11.3) [concrete = constants.%int_88] // CHECK:STDOUT: %.loc8_11.4: ref %char = temporary_storage -// CHECK:STDOUT: %.loc8_11.5: ref %char = temporary %.loc8_11.4, %char.as.Copy.impl.Op.call [concrete = constants.%.93e] -// CHECK:STDOUT: %addr: %ptr.050 = addr_of %.loc8_11.5 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc8_11.5: ref %char = temporary %.loc8_11.4, %char.as.Copy.impl.Op.call [concrete = constants.%.5b5] +// CHECK:STDOUT: %addr: %ptr.d63 = addr_of %.loc8_11.5 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.93e) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.5b5) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -989,20 +989,20 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ddb: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ddb) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.724: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.fa3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.724, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1016,8 +1016,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1025,13 +1025,13 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc13_11.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc13_11.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_11.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc13_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc13_11.2: %i32 = converted %int_1, %.loc13_11.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_11.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc13_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc13_11.2: %i32 = converted %int_1, %.loc13_11.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc13_11.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -1095,40 +1095,40 @@ fn F() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %As.type.457: type = facet_type <@As, @As(%i16)> [concrete] +// CHECK:STDOUT: %As.type.fff: type = facet_type <@As, @As(%i16)> [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.3d8: = impl_witness imports.%As.impl_witness_table.913, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.36d: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.036: %Core.IntLiteral.as.As.impl.Convert.type.36d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.457 = facet_value Core.IntLiteral, (%As.impl_witness.3d8) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.353: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] -// CHECK:STDOUT: %.e67: type = fn_type_with_self_type %As.WithSelf.Convert.type.353, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.036 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.036, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.6db: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.962: %i16 = int_value 1 [concrete] -// CHECK:STDOUT: %ptr.971: type = ptr_type %i16 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.16a: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ced: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.0b6: %Core.IntLiteral.as.As.impl.Convert.type.ced = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.fff = facet_value Core.IntLiteral, (%As.impl_witness.16a) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.28f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] +// CHECK:STDOUT: %.696: type = fn_type_with_self_type %As.WithSelf.Convert.type.28f, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.0b6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.0b6, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.7f7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.792: %i16 = int_value 1 [concrete] +// CHECK:STDOUT: %ptr.83d: type = ptr_type %i16 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0bf: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.298: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.be4: %Int.as.Copy.impl.Op.type.298 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.0bf) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.015: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.04f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.015, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.962, %Int.as.Copy.impl.Op.be4 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.be4, @Int.as.Copy.impl.Op(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.0e0: = bound_method %int_1.962, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.251: ref %i16 = temporary invalid, %int_1.962 [concrete] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.251 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_13.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.251, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.980: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.fe1: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a44: %Int.as.Copy.impl.Op.type.fe1 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.980) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cf9: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.799: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cf9, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.792, %Int.as.Copy.impl.Op.a44 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.a44, @Int.as.Copy.impl.Op(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.055: = bound_method %int_1.792, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.e50: ref %i16 = temporary invalid, %int_1.792 [concrete] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.e50 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_13.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e50, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1137,15 +1137,15 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.4af: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.913 = impl_witness_table (%Core.import_ref.4af), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1154,23 +1154,23 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i16: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %impl.elem0.loc8_13.1: %.e67 = impl_witness_access constants.%As.impl_witness.3d8, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.036] +// CHECK:STDOUT: %impl.elem0.loc8_13.1: %.696 = impl_witness_access constants.%As.impl_witness.16a, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.0b6] // CHECK:STDOUT: %bound_method.loc8_13.1: = bound_method %int_1, %impl.elem0.loc8_13.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_13.1: = specific_function %impl.elem0.loc8_13.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1, %specific_fn.loc8_13.1 [concrete = constants.%bound_method.6db] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc8_13.2(%int_1) [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc8_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc8_13.2: %i16 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %impl.elem0.loc8_13.2: %.04f = impl_witness_access constants.%Copy.impl_witness.0bf, element0 [concrete = constants.%Int.as.Copy.impl.Op.be4] +// CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1, %specific_fn.loc8_13.1 [concrete = constants.%bound_method.7f7] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc8_13.2(%int_1) [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc8_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc8_13.2: %i16 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %impl.elem0.loc8_13.2: %.799 = impl_witness_access constants.%Copy.impl_witness.980, element0 [concrete = constants.%Int.as.Copy.impl.Op.a44] // CHECK:STDOUT: %bound_method.loc8_13.3: = bound_method %.loc8_13.2, %impl.elem0.loc8_13.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_13.2: = specific_function %impl.elem0.loc8_13.2, @Int.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_13.4: = bound_method %.loc8_13.2, %specific_fn.loc8_13.2 [concrete = constants.%bound_method.0e0] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_13.4(%.loc8_13.2) [concrete = constants.%int_1.962] +// CHECK:STDOUT: %bound_method.loc8_13.4: = bound_method %.loc8_13.2, %specific_fn.loc8_13.2 [concrete = constants.%bound_method.055] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_13.4(%.loc8_13.2) [concrete = constants.%int_1.792] // CHECK:STDOUT: %.loc8_13.3: ref %i16 = temporary_storage -// CHECK:STDOUT: %.loc8_13.4: ref %i16 = temporary %.loc8_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.251] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.loc8_13.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc8_13.4: ref %i16 = temporary %.loc8_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.e50] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.loc8_13.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.251) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e50) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1191,41 +1191,41 @@ fn F() { // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] -// CHECK:STDOUT: %ptr.971: type = ptr_type %i16 [concrete] +// CHECK:STDOUT: %ptr.83d: type = ptr_type %i16 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.6a6: type = facet_type <@ImplicitAs, @ImplicitAs(%i16)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.be3: type = facet_type <@ImplicitAs, @ImplicitAs(%i16)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fc2: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.1f5: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.b57: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.1f5 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.6a6 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fc2) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f33: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i16, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.a83: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f33, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_32767.f4b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.b57 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.b57, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.431: = bound_method %int_32767.f4b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_32767.b41: %i16 = int_value 32767 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0bf: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.298: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.be4: %Int.as.Copy.impl.Op.type.298 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.0bf) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.015: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.04f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.015, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_32767.b41, %Int.as.Copy.impl.Op.be4 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.be4, @Int.as.Copy.impl.Op(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.127: = bound_method %int_32767.b41, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.5c3: ref %i16 = temporary invalid, %int_32767.b41 [concrete] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.5c3 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_11.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.5c3, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.685: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.720: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.f75: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.720 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.be3 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.685) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.e56: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i16, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.94b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.e56, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_32767.f4b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.f75 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.f75, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.753: = bound_method %int_32767.f4b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_32767.13d: %i16 = int_value 32767 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.980: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.fe1: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a44: %Int.as.Copy.impl.Op.type.fe1 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.980) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cf9: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.799: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cf9, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_32767.13d, %Int.as.Copy.impl.Op.a44 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.a44, @Int.as.Copy.impl.Op(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.818: = bound_method %int_32767.13d, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.570: ref %i16 = temporary invalid, %int_32767.13d [concrete] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.570 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_11.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.570, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1239,10 +1239,10 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1250,23 +1250,23 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_32767: Core.IntLiteral = int_value 32767 [concrete = constants.%int_32767.f4b] -// CHECK:STDOUT: %impl.elem0.loc8_11.1: %.a83 = impl_witness_access constants.%ImplicitAs.impl_witness.fc2, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.b57] +// CHECK:STDOUT: %impl.elem0.loc8_11.1: %.94b = impl_witness_access constants.%ImplicitAs.impl_witness.685, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.f75] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_32767, %impl.elem0.loc8_11.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_11.1: = specific_function %impl.elem0.loc8_11.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_32767, %specific_fn.loc8_11.1 [concrete = constants.%bound_method.431] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i16 = call %bound_method.loc8_11.2(%int_32767) [concrete = constants.%int_32767.b41] -// CHECK:STDOUT: %.loc8_11.1: %i16 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_32767.b41] -// CHECK:STDOUT: %.loc8_11.2: %i16 = converted %int_32767, %.loc8_11.1 [concrete = constants.%int_32767.b41] -// CHECK:STDOUT: %impl.elem0.loc8_11.2: %.04f = impl_witness_access constants.%Copy.impl_witness.0bf, element0 [concrete = constants.%Int.as.Copy.impl.Op.be4] +// CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_32767, %specific_fn.loc8_11.1 [concrete = constants.%bound_method.753] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i16 = call %bound_method.loc8_11.2(%int_32767) [concrete = constants.%int_32767.13d] +// CHECK:STDOUT: %.loc8_11.1: %i16 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_32767.13d] +// CHECK:STDOUT: %.loc8_11.2: %i16 = converted %int_32767, %.loc8_11.1 [concrete = constants.%int_32767.13d] +// CHECK:STDOUT: %impl.elem0.loc8_11.2: %.799 = impl_witness_access constants.%Copy.impl_witness.980, element0 [concrete = constants.%Int.as.Copy.impl.Op.a44] // CHECK:STDOUT: %bound_method.loc8_11.3: = bound_method %.loc8_11.2, %impl.elem0.loc8_11.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_11.2: = specific_function %impl.elem0.loc8_11.2, @Int.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_11.4: = bound_method %.loc8_11.2, %specific_fn.loc8_11.2 [concrete = constants.%bound_method.127] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_11.4(%.loc8_11.2) [concrete = constants.%int_32767.b41] +// CHECK:STDOUT: %bound_method.loc8_11.4: = bound_method %.loc8_11.2, %specific_fn.loc8_11.2 [concrete = constants.%bound_method.818] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_11.4(%.loc8_11.2) [concrete = constants.%int_32767.13d] // CHECK:STDOUT: %.loc8_11.3: ref %i16 = temporary_storage -// CHECK:STDOUT: %.loc8_11.4: ref %i16 = temporary %.loc8_11.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.5c3] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.loc8_11.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc8_11.4: ref %i16 = temporary %.loc8_11.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.570] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.loc8_11.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.5c3) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.570) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1287,8 +1287,8 @@ fn F() { // CHECK:STDOUT: %Negate.type: type = facet_type <@Negate> [concrete] // CHECK:STDOUT: %Negate.impl_witness: = impl_witness imports.%Negate.impl_witness_table [concrete] // CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value Core.IntLiteral, (%Negate.impl_witness) [concrete] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.eeb: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] -// CHECK:STDOUT: %.edb: type = fn_type_with_self_type %Negate.WithSelf.Op.type.eeb, %Negate.facet [concrete] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.309: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] +// CHECK:STDOUT: %.f38: type = fn_type_with_self_type %Negate.WithSelf.Op.type.309, %Negate.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.type: type = fn_type @Core.IntLiteral.as.Negate.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op: %Core.IntLiteral.as.Negate.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.bound: = bound_method %int_32768, %Core.IntLiteral.as.Negate.impl.Op [concrete] @@ -1296,41 +1296,41 @@ fn F() { // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] -// CHECK:STDOUT: %ptr.971: type = ptr_type %i16 [concrete] +// CHECK:STDOUT: %ptr.83d: type = ptr_type %i16 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.6a6: type = facet_type <@ImplicitAs, @ImplicitAs(%i16)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.be3: type = facet_type <@ImplicitAs, @ImplicitAs(%i16)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fc2: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.1f5: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.b57: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.1f5 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.6a6 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fc2) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f33: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i16, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.a83: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f33, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_-32768.882, %Core.IntLiteral.as.ImplicitAs.impl.Convert.b57 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.b57, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.cded: = bound_method %int_-32768.882, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_-32768.364: %i16 = int_value -32768 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0bf: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.298: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.be4: %Int.as.Copy.impl.Op.type.298 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.0bf) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.015: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.04f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.015, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_-32768.364, %Int.as.Copy.impl.Op.be4 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.be4, @Int.as.Copy.impl.Op(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.cdec: = bound_method %int_-32768.364, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.5c6: ref %i16 = temporary invalid, %int_-32768.364 [concrete] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.5c6 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_11.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.5c6, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.685: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.720: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.f75: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.720 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.be3 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.685) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.e56: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i16, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.94b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.e56, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_-32768.882, %Core.IntLiteral.as.ImplicitAs.impl.Convert.f75 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.f75, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.f20: = bound_method %int_-32768.882, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_-32768.e71: %i16 = int_value -32768 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.980: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.fe1: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a44: %Int.as.Copy.impl.Op.type.fe1 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.980) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cf9: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.799: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cf9, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_-32768.e71, %Int.as.Copy.impl.Op.a44 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.a44, @Int.as.Copy.impl.Op(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.1c0: = bound_method %int_-32768.e71, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.09c: ref %i16 = temporary invalid, %int_-32768.e71 [concrete] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.09c [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_11.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.09c, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1340,17 +1340,17 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.import_ref.abd = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.f45: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] -// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.f45), @Core.IntLiteral.as.Negate.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.f63), @Core.IntLiteral.as.Negate.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1358,28 +1358,28 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_32768: Core.IntLiteral = int_value 32768 [concrete = constants.%int_32768] -// CHECK:STDOUT: %impl.elem1: %.edb = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.f38 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_32768, %impl.elem1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op.bound] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.call: init Core.IntLiteral = call %bound_method.loc8_11.1(%int_32768) [concrete = constants.%int_-32768.882] -// CHECK:STDOUT: %impl.elem0.loc8_11.1: %.a83 = impl_witness_access constants.%ImplicitAs.impl_witness.fc2, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.b57] +// CHECK:STDOUT: %impl.elem0.loc8_11.1: %.94b = impl_witness_access constants.%ImplicitAs.impl_witness.685, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.f75] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %impl.elem0.loc8_11.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_11.1: = specific_function %impl.elem0.loc8_11.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_11.3: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %specific_fn.loc8_11.1 [concrete = constants.%bound_method.cded] +// CHECK:STDOUT: %bound_method.loc8_11.3: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %specific_fn.loc8_11.1 [concrete = constants.%bound_method.f20] // CHECK:STDOUT: %.loc8_11.1: Core.IntLiteral = value_of_initializer %Core.IntLiteral.as.Negate.impl.Op.call [concrete = constants.%int_-32768.882] // CHECK:STDOUT: %.loc8_11.2: Core.IntLiteral = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.1 [concrete = constants.%int_-32768.882] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i16 = call %bound_method.loc8_11.3(%.loc8_11.2) [concrete = constants.%int_-32768.364] -// CHECK:STDOUT: %.loc8_11.3: %i16 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_-32768.364] -// CHECK:STDOUT: %.loc8_11.4: %i16 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.3 [concrete = constants.%int_-32768.364] -// CHECK:STDOUT: %impl.elem0.loc8_11.2: %.04f = impl_witness_access constants.%Copy.impl_witness.0bf, element0 [concrete = constants.%Int.as.Copy.impl.Op.be4] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i16 = call %bound_method.loc8_11.3(%.loc8_11.2) [concrete = constants.%int_-32768.e71] +// CHECK:STDOUT: %.loc8_11.3: %i16 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_-32768.e71] +// CHECK:STDOUT: %.loc8_11.4: %i16 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.3 [concrete = constants.%int_-32768.e71] +// CHECK:STDOUT: %impl.elem0.loc8_11.2: %.799 = impl_witness_access constants.%Copy.impl_witness.980, element0 [concrete = constants.%Int.as.Copy.impl.Op.a44] // CHECK:STDOUT: %bound_method.loc8_11.4: = bound_method %.loc8_11.4, %impl.elem0.loc8_11.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_11.2: = specific_function %impl.elem0.loc8_11.2, @Int.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_11.5: = bound_method %.loc8_11.4, %specific_fn.loc8_11.2 [concrete = constants.%bound_method.cdec] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_11.5(%.loc8_11.4) [concrete = constants.%int_-32768.364] +// CHECK:STDOUT: %bound_method.loc8_11.5: = bound_method %.loc8_11.4, %specific_fn.loc8_11.2 [concrete = constants.%bound_method.1c0] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_11.5(%.loc8_11.4) [concrete = constants.%int_-32768.e71] // CHECK:STDOUT: %.loc8_11.5: ref %i16 = temporary_storage -// CHECK:STDOUT: %.loc8_11.6: ref %i16 = temporary %.loc8_11.5, %Int.as.Copy.impl.Op.call [concrete = constants.%.5c6] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.loc8_11.6 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc8_11.6: ref %i16 = temporary %.loc8_11.5, %Int.as.Copy.impl.Op.call [concrete = constants.%.09c] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.loc8_11.6 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.5c6) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.09c) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1401,40 +1401,40 @@ fn F() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %As.type.457: type = facet_type <@As, @As(%i16)> [concrete] +// CHECK:STDOUT: %As.type.fff: type = facet_type <@As, @As(%i16)> [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.3d8: = impl_witness imports.%As.impl_witness_table.913, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.36d: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.036: %Core.IntLiteral.as.As.impl.Convert.type.36d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.457 = facet_value Core.IntLiteral, (%As.impl_witness.3d8) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.353: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] -// CHECK:STDOUT: %.e67: type = fn_type_with_self_type %As.WithSelf.Convert.type.353, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.036 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.036, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.6db: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.962: %i16 = int_value 1 [concrete] -// CHECK:STDOUT: %ptr.971: type = ptr_type %i16 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.16a: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ced: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.0b6: %Core.IntLiteral.as.As.impl.Convert.type.ced = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.fff = facet_value Core.IntLiteral, (%As.impl_witness.16a) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.28f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] +// CHECK:STDOUT: %.696: type = fn_type_with_self_type %As.WithSelf.Convert.type.28f, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.0b6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.0b6, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.7f7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.792: %i16 = int_value 1 [concrete] +// CHECK:STDOUT: %ptr.83d: type = ptr_type %i16 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0bf: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.298: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.be4: %Int.as.Copy.impl.Op.type.298 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.0bf) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.015: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.04f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.015, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.962, %Int.as.Copy.impl.Op.be4 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.be4, @Int.as.Copy.impl.Op(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.0e0: = bound_method %int_1.962, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.251: ref %i16 = temporary invalid, %int_1.962 [concrete] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.251 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_13.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.251, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.980: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.fe1: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a44: %Int.as.Copy.impl.Op.type.fe1 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.980) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cf9: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.799: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cf9, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.792, %Int.as.Copy.impl.Op.a44 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.a44, @Int.as.Copy.impl.Op(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.055: = bound_method %int_1.792, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.e50: ref %i16 = temporary invalid, %int_1.792 [concrete] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.e50 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_13.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e50, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1443,15 +1443,15 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.4af: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.913 = impl_witness_table (%Core.import_ref.4af), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1460,23 +1460,23 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i16: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %impl.elem0.loc8_13.1: %.e67 = impl_witness_access constants.%As.impl_witness.3d8, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.036] +// CHECK:STDOUT: %impl.elem0.loc8_13.1: %.696 = impl_witness_access constants.%As.impl_witness.16a, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.0b6] // CHECK:STDOUT: %bound_method.loc8_13.1: = bound_method %int_1, %impl.elem0.loc8_13.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_13.1: = specific_function %impl.elem0.loc8_13.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1, %specific_fn.loc8_13.1 [concrete = constants.%bound_method.6db] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc8_13.2(%int_1) [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc8_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc8_13.2: %i16 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %impl.elem0.loc8_13.2: %.04f = impl_witness_access constants.%Copy.impl_witness.0bf, element0 [concrete = constants.%Int.as.Copy.impl.Op.be4] +// CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1, %specific_fn.loc8_13.1 [concrete = constants.%bound_method.7f7] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc8_13.2(%int_1) [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc8_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc8_13.2: %i16 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %impl.elem0.loc8_13.2: %.799 = impl_witness_access constants.%Copy.impl_witness.980, element0 [concrete = constants.%Int.as.Copy.impl.Op.a44] // CHECK:STDOUT: %bound_method.loc8_13.3: = bound_method %.loc8_13.2, %impl.elem0.loc8_13.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_13.2: = specific_function %impl.elem0.loc8_13.2, @Int.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_13.4: = bound_method %.loc8_13.2, %specific_fn.loc8_13.2 [concrete = constants.%bound_method.0e0] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_13.4(%.loc8_13.2) [concrete = constants.%int_1.962] +// CHECK:STDOUT: %bound_method.loc8_13.4: = bound_method %.loc8_13.2, %specific_fn.loc8_13.2 [concrete = constants.%bound_method.055] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_13.4(%.loc8_13.2) [concrete = constants.%int_1.792] // CHECK:STDOUT: %.loc8_13.3: ref %i16 = temporary_storage -// CHECK:STDOUT: %.loc8_13.4: ref %i16 = temporary %.loc8_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.251] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.loc8_13.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc8_13.4: ref %i16 = temporary %.loc8_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.e50] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.loc8_13.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.251) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e50) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1498,40 +1498,40 @@ fn F() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %As.type.457: type = facet_type <@As, @As(%i16)> [concrete] +// CHECK:STDOUT: %As.type.fff: type = facet_type <@As, @As(%i16)> [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.3d8: = impl_witness imports.%As.impl_witness_table.913, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.36d: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.036: %Core.IntLiteral.as.As.impl.Convert.type.36d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.457 = facet_value Core.IntLiteral, (%As.impl_witness.3d8) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.353: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] -// CHECK:STDOUT: %.e67: type = fn_type_with_self_type %As.WithSelf.Convert.type.353, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.036 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.036, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.6db: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.962: %i16 = int_value 1 [concrete] -// CHECK:STDOUT: %ptr.971: type = ptr_type %i16 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.16a: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ced: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.0b6: %Core.IntLiteral.as.As.impl.Convert.type.ced = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.fff = facet_value Core.IntLiteral, (%As.impl_witness.16a) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.28f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] +// CHECK:STDOUT: %.696: type = fn_type_with_self_type %As.WithSelf.Convert.type.28f, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.0b6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.0b6, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.7f7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.792: %i16 = int_value 1 [concrete] +// CHECK:STDOUT: %ptr.83d: type = ptr_type %i16 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0bf: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.298: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.be4: %Int.as.Copy.impl.Op.type.298 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.0bf) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.015: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.04f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.015, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.962, %Int.as.Copy.impl.Op.be4 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.be4, @Int.as.Copy.impl.Op(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.0e0: = bound_method %int_1.962, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.251: ref %i16 = temporary invalid, %int_1.962 [concrete] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.251 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_13.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.251, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.980: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.fe1: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a44: %Int.as.Copy.impl.Op.type.fe1 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.980) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cf9: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.799: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cf9, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.792, %Int.as.Copy.impl.Op.a44 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.a44, @Int.as.Copy.impl.Op(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.055: = bound_method %int_1.792, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.e50: ref %i16 = temporary invalid, %int_1.792 [concrete] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.e50 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_13.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e50, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1540,15 +1540,15 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.4af: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.913 = impl_witness_table (%Core.import_ref.4af), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1557,23 +1557,23 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i16: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %impl.elem0.loc8_13.1: %.e67 = impl_witness_access constants.%As.impl_witness.3d8, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.036] +// CHECK:STDOUT: %impl.elem0.loc8_13.1: %.696 = impl_witness_access constants.%As.impl_witness.16a, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.0b6] // CHECK:STDOUT: %bound_method.loc8_13.1: = bound_method %int_1, %impl.elem0.loc8_13.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_13.1: = specific_function %impl.elem0.loc8_13.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1, %specific_fn.loc8_13.1 [concrete = constants.%bound_method.6db] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc8_13.2(%int_1) [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc8_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc8_13.2: %i16 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %impl.elem0.loc8_13.2: %.04f = impl_witness_access constants.%Copy.impl_witness.0bf, element0 [concrete = constants.%Int.as.Copy.impl.Op.be4] +// CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1, %specific_fn.loc8_13.1 [concrete = constants.%bound_method.7f7] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc8_13.2(%int_1) [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc8_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc8_13.2: %i16 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %impl.elem0.loc8_13.2: %.799 = impl_witness_access constants.%Copy.impl_witness.980, element0 [concrete = constants.%Int.as.Copy.impl.Op.a44] // CHECK:STDOUT: %bound_method.loc8_13.3: = bound_method %.loc8_13.2, %impl.elem0.loc8_13.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_13.2: = specific_function %impl.elem0.loc8_13.2, @Int.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_13.4: = bound_method %.loc8_13.2, %specific_fn.loc8_13.2 [concrete = constants.%bound_method.0e0] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_13.4(%.loc8_13.2) [concrete = constants.%int_1.962] +// CHECK:STDOUT: %bound_method.loc8_13.4: = bound_method %.loc8_13.2, %specific_fn.loc8_13.2 [concrete = constants.%bound_method.055] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_13.4(%.loc8_13.2) [concrete = constants.%int_1.792] // CHECK:STDOUT: %.loc8_13.3: ref %i16 = temporary_storage -// CHECK:STDOUT: %.loc8_13.4: ref %i16 = temporary %.loc8_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.251] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.loc8_13.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc8_13.4: ref %i16 = temporary %.loc8_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.e50] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.loc8_13.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.251) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e50) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1595,40 +1595,40 @@ fn F() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %As.type.457: type = facet_type <@As, @As(%i16)> [concrete] +// CHECK:STDOUT: %As.type.fff: type = facet_type <@As, @As(%i16)> [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.3d8: = impl_witness imports.%As.impl_witness_table.913, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.36d: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.036: %Core.IntLiteral.as.As.impl.Convert.type.36d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.457 = facet_value Core.IntLiteral, (%As.impl_witness.3d8) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.353: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] -// CHECK:STDOUT: %.e67: type = fn_type_with_self_type %As.WithSelf.Convert.type.353, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.036 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.036, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.6db: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.962: %i16 = int_value 1 [concrete] -// CHECK:STDOUT: %ptr.971: type = ptr_type %i16 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.16a: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ced: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.0b6: %Core.IntLiteral.as.As.impl.Convert.type.ced = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.fff = facet_value Core.IntLiteral, (%As.impl_witness.16a) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.28f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] +// CHECK:STDOUT: %.696: type = fn_type_with_self_type %As.WithSelf.Convert.type.28f, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.0b6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.0b6, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.7f7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.792: %i16 = int_value 1 [concrete] +// CHECK:STDOUT: %ptr.83d: type = ptr_type %i16 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0bf: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.298: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.be4: %Int.as.Copy.impl.Op.type.298 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.0bf) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.015: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.04f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.015, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.962, %Int.as.Copy.impl.Op.be4 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.be4, @Int.as.Copy.impl.Op(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.0e0: = bound_method %int_1.962, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.251: ref %i16 = temporary invalid, %int_1.962 [concrete] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.251 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_13.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.251, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.980: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.fe1: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a44: %Int.as.Copy.impl.Op.type.fe1 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.980) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cf9: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.799: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cf9, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.792, %Int.as.Copy.impl.Op.a44 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.a44, @Int.as.Copy.impl.Op(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.055: = bound_method %int_1.792, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.e50: ref %i16 = temporary invalid, %int_1.792 [concrete] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.e50 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_13.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e50, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1637,15 +1637,15 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.4af: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.913 = impl_witness_table (%Core.import_ref.4af), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1654,23 +1654,23 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i16: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %impl.elem0.loc8_13.1: %.e67 = impl_witness_access constants.%As.impl_witness.3d8, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.036] +// CHECK:STDOUT: %impl.elem0.loc8_13.1: %.696 = impl_witness_access constants.%As.impl_witness.16a, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.0b6] // CHECK:STDOUT: %bound_method.loc8_13.1: = bound_method %int_1, %impl.elem0.loc8_13.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_13.1: = specific_function %impl.elem0.loc8_13.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1, %specific_fn.loc8_13.1 [concrete = constants.%bound_method.6db] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc8_13.2(%int_1) [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc8_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc8_13.2: %i16 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %impl.elem0.loc8_13.2: %.04f = impl_witness_access constants.%Copy.impl_witness.0bf, element0 [concrete = constants.%Int.as.Copy.impl.Op.be4] +// CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1, %specific_fn.loc8_13.1 [concrete = constants.%bound_method.7f7] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc8_13.2(%int_1) [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc8_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc8_13.2: %i16 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %impl.elem0.loc8_13.2: %.799 = impl_witness_access constants.%Copy.impl_witness.980, element0 [concrete = constants.%Int.as.Copy.impl.Op.a44] // CHECK:STDOUT: %bound_method.loc8_13.3: = bound_method %.loc8_13.2, %impl.elem0.loc8_13.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_13.2: = specific_function %impl.elem0.loc8_13.2, @Int.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_13.4: = bound_method %.loc8_13.2, %specific_fn.loc8_13.2 [concrete = constants.%bound_method.0e0] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_13.4(%.loc8_13.2) [concrete = constants.%int_1.962] +// CHECK:STDOUT: %bound_method.loc8_13.4: = bound_method %.loc8_13.2, %specific_fn.loc8_13.2 [concrete = constants.%bound_method.055] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_13.4(%.loc8_13.2) [concrete = constants.%int_1.792] // CHECK:STDOUT: %.loc8_13.3: ref %i16 = temporary_storage -// CHECK:STDOUT: %.loc8_13.4: ref %i16 = temporary %.loc8_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.251] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.loc8_13.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc8_13.4: ref %i16 = temporary %.loc8_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.e50] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.loc8_13.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.251) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e50) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1692,40 +1692,40 @@ fn F() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %As.type.457: type = facet_type <@As, @As(%i16)> [concrete] +// CHECK:STDOUT: %As.type.fff: type = facet_type <@As, @As(%i16)> [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.3d8: = impl_witness imports.%As.impl_witness_table.913, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.36d: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.036: %Core.IntLiteral.as.As.impl.Convert.type.36d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.457 = facet_value Core.IntLiteral, (%As.impl_witness.3d8) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.353: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] -// CHECK:STDOUT: %.e67: type = fn_type_with_self_type %As.WithSelf.Convert.type.353, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.036 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.036, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.6db: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.962: %i16 = int_value 1 [concrete] -// CHECK:STDOUT: %ptr.971: type = ptr_type %i16 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.16a: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ced: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.0b6: %Core.IntLiteral.as.As.impl.Convert.type.ced = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.fff = facet_value Core.IntLiteral, (%As.impl_witness.16a) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.28f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] +// CHECK:STDOUT: %.696: type = fn_type_with_self_type %As.WithSelf.Convert.type.28f, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.0b6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.0b6, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.7f7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.792: %i16 = int_value 1 [concrete] +// CHECK:STDOUT: %ptr.83d: type = ptr_type %i16 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0bf: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.298: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.be4: %Int.as.Copy.impl.Op.type.298 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.0bf) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.015: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.04f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.015, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.962, %Int.as.Copy.impl.Op.be4 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.be4, @Int.as.Copy.impl.Op(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.0e0: = bound_method %int_1.962, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.251: ref %i16 = temporary invalid, %int_1.962 [concrete] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.251 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_13.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.251, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.980: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.fe1: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a44: %Int.as.Copy.impl.Op.type.fe1 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.980) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cf9: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.799: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cf9, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.792, %Int.as.Copy.impl.Op.a44 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.a44, @Int.as.Copy.impl.Op(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.055: = bound_method %int_1.792, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.e50: ref %i16 = temporary invalid, %int_1.792 [concrete] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.e50 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_13.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e50, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1734,15 +1734,15 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.4af: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.913 = impl_witness_table (%Core.import_ref.4af), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1751,23 +1751,23 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i16: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %impl.elem0.loc8_13.1: %.e67 = impl_witness_access constants.%As.impl_witness.3d8, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.036] +// CHECK:STDOUT: %impl.elem0.loc8_13.1: %.696 = impl_witness_access constants.%As.impl_witness.16a, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.0b6] // CHECK:STDOUT: %bound_method.loc8_13.1: = bound_method %int_1, %impl.elem0.loc8_13.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_13.1: = specific_function %impl.elem0.loc8_13.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1, %specific_fn.loc8_13.1 [concrete = constants.%bound_method.6db] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc8_13.2(%int_1) [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc8_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc8_13.2: %i16 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %impl.elem0.loc8_13.2: %.04f = impl_witness_access constants.%Copy.impl_witness.0bf, element0 [concrete = constants.%Int.as.Copy.impl.Op.be4] +// CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1, %specific_fn.loc8_13.1 [concrete = constants.%bound_method.7f7] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc8_13.2(%int_1) [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc8_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc8_13.2: %i16 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %impl.elem0.loc8_13.2: %.799 = impl_witness_access constants.%Copy.impl_witness.980, element0 [concrete = constants.%Int.as.Copy.impl.Op.a44] // CHECK:STDOUT: %bound_method.loc8_13.3: = bound_method %.loc8_13.2, %impl.elem0.loc8_13.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_13.2: = specific_function %impl.elem0.loc8_13.2, @Int.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_13.4: = bound_method %.loc8_13.2, %specific_fn.loc8_13.2 [concrete = constants.%bound_method.0e0] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_13.4(%.loc8_13.2) [concrete = constants.%int_1.962] +// CHECK:STDOUT: %bound_method.loc8_13.4: = bound_method %.loc8_13.2, %specific_fn.loc8_13.2 [concrete = constants.%bound_method.055] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_13.4(%.loc8_13.2) [concrete = constants.%int_1.792] // CHECK:STDOUT: %.loc8_13.3: ref %i16 = temporary_storage -// CHECK:STDOUT: %.loc8_13.4: ref %i16 = temporary %.loc8_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.251] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.loc8_13.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc8_13.4: ref %i16 = temporary %.loc8_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.e50] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.loc8_13.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.251) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e50) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1787,41 +1787,41 @@ fn F() { // CHECK:STDOUT: %float.96e: Core.FloatLiteral = float_literal_value 8e-1 [concrete] // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %f16.f41: type = class_type @Float, @Float(%int_16) [concrete] +// CHECK:STDOUT: %f16.6c9: type = class_type @Float, @Float(%int_16) [concrete] // CHECK:STDOUT: %f16.3ab: type = float_type %int_16, f16 [concrete] -// CHECK:STDOUT: %As.type.09c: type = facet_type <@As, @As(%f16.f41)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.221: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.90e: %Core.FloatLiteral.as.As.impl.Convert.type.221 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.fae: = impl_witness imports.%As.impl_witness_table.331, @Core.FloatLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.48d: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.f43: %Core.FloatLiteral.as.As.impl.Convert.type.48d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.09c = facet_value Core.FloatLiteral, (%As.impl_witness.fae) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.15b: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f16.f41, %As.facet) [concrete] -// CHECK:STDOUT: %.f0a: type = fn_type_with_self_type %As.WithSelf.Convert.type.15b, %As.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.f43 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.As.impl.Convert.f43, @Core.FloatLiteral.as.As.impl.Convert(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.34c: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.bd3: %f16.f41 = float_value 0.7998 [concrete] -// CHECK:STDOUT: %ptr.25b: type = ptr_type %f16.f41 [concrete] +// CHECK:STDOUT: %As.type.2b6: type = facet_type <@As, @As(%f16.6c9)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.bad: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.df8: %Core.FloatLiteral.as.As.impl.Convert.type.bad = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.5b8: = impl_witness imports.%As.impl_witness_table.302, @Core.FloatLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.fb7: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.32f: %Core.FloatLiteral.as.As.impl.Convert.type.fb7 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.2b6 = facet_value Core.FloatLiteral, (%As.impl_witness.5b8) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.002: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f16.6c9, %As.facet) [concrete] +// CHECK:STDOUT: %.6ab: type = fn_type_with_self_type %As.WithSelf.Convert.type.002, %As.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.32f [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.As.impl.Convert.32f, @Core.FloatLiteral.as.As.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.b13: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.cc8: %f16.6c9 = float_value 0.7998 [concrete] +// CHECK:STDOUT: %ptr.041: type = ptr_type %f16.6c9 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.44e: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.30e: %Float.as.Copy.impl.Op.type.44e = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.3d9: = impl_witness imports.%Copy.impl_witness_table.fe1, @Float.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.533: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.e1f: %Float.as.Copy.impl.Op.type.533 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f16.f41, (%Copy.impl_witness.3d9) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.af2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.13f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.af2, %Copy.facet [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.bound: = bound_method %float.bd3, %Float.as.Copy.impl.Op.e1f [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.e1f, @Float.as.Copy.impl.Op(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.b29: = bound_method %float.bd3, %Float.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.371: ref %f16.f41 = temporary invalid, %float.bd3 [concrete] -// CHECK:STDOUT: %addr: %ptr.25b = addr_of %.371 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_15.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.371, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.125: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bfc: %Float.as.Copy.impl.Op.type.125 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.0e1: = impl_witness imports.%Copy.impl_witness_table.384, @Float.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.587: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.7f3: %Float.as.Copy.impl.Op.type.587 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f16.6c9, (%Copy.impl_witness.0e1) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.e9b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.aa6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e9b, %Copy.facet [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bound: = bound_method %float.cc8, %Float.as.Copy.impl.Op.7f3 [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.7f3, @Float.as.Copy.impl.Op(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.96b: = bound_method %float.cc8, %Float.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.a39: ref %f16.6c9 = temporary invalid, %float.cc8 [concrete] +// CHECK:STDOUT: %addr: %ptr.041 = addr_of %.a39 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_15.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.a39, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1830,15 +1830,15 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.1d1: @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert.type (%Core.FloatLiteral.as.As.impl.Convert.type.221) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert (constants.%Core.FloatLiteral.as.As.impl.Convert.90e)] -// CHECK:STDOUT: %As.impl_witness_table.331 = impl_witness_table (%Core.import_ref.1d1), @Core.FloatLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.81f: @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert.type (%Core.FloatLiteral.as.As.impl.Convert.type.bad) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert (constants.%Core.FloatLiteral.as.As.impl.Convert.df8)] +// CHECK:STDOUT: %As.impl_witness_table.302 = impl_witness_table (%Core.import_ref.81f), @Core.FloatLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.4b3: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.44e) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.30e)] -// CHECK:STDOUT: %Copy.impl_witness_table.fe1 = impl_witness_table (%Core.import_ref.4b3), @Float.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.461: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.125) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.bfc)] +// CHECK:STDOUT: %Copy.impl_witness_table.384 = impl_witness_table (%Core.import_ref.461), @Float.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1846,30 +1846,30 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 8e-1 [concrete = constants.%float.96e] -// CHECK:STDOUT: %f16: type = type_literal constants.%f16.f41 [concrete = constants.%f16.f41] -// CHECK:STDOUT: %impl.elem0.loc8_15.1: %.f0a = impl_witness_access constants.%As.impl_witness.fae, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.f43] +// CHECK:STDOUT: %f16: type = type_literal constants.%f16.6c9 [concrete = constants.%f16.6c9] +// CHECK:STDOUT: %impl.elem0.loc8_15.1: %.6ab = impl_witness_access constants.%As.impl_witness.5b8, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.32f] // CHECK:STDOUT: %bound_method.loc8_15.1: = bound_method %float, %impl.elem0.loc8_15.1 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_15.1: = specific_function %impl.elem0.loc8_15.1, @Core.FloatLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %float, %specific_fn.loc8_15.1 [concrete = constants.%bound_method.34c] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call: init %f16.f41 = call %bound_method.loc8_15.2(%float) [concrete = constants.%float.bd3] -// CHECK:STDOUT: %.loc8_15.1: %f16.f41 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call [concrete = constants.%float.bd3] -// CHECK:STDOUT: %.loc8_15.2: %f16.f41 = converted %float, %.loc8_15.1 [concrete = constants.%float.bd3] -// CHECK:STDOUT: %impl.elem0.loc8_15.2: %.13f = impl_witness_access constants.%Copy.impl_witness.3d9, element0 [concrete = constants.%Float.as.Copy.impl.Op.e1f] +// CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %float, %specific_fn.loc8_15.1 [concrete = constants.%bound_method.b13] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call: init %f16.6c9 = call %bound_method.loc8_15.2(%float) [concrete = constants.%float.cc8] +// CHECK:STDOUT: %.loc8_15.1: %f16.6c9 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call [concrete = constants.%float.cc8] +// CHECK:STDOUT: %.loc8_15.2: %f16.6c9 = converted %float, %.loc8_15.1 [concrete = constants.%float.cc8] +// CHECK:STDOUT: %impl.elem0.loc8_15.2: %.aa6 = impl_witness_access constants.%Copy.impl_witness.0e1, element0 [concrete = constants.%Float.as.Copy.impl.Op.7f3] // CHECK:STDOUT: %bound_method.loc8_15.3: = bound_method %.loc8_15.2, %impl.elem0.loc8_15.2 [concrete = constants.%Float.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_15.2: = specific_function %impl.elem0.loc8_15.2, @Float.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Float.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_15.4: = bound_method %.loc8_15.2, %specific_fn.loc8_15.2 [concrete = constants.%bound_method.b29] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f16.f41 = call %bound_method.loc8_15.4(%.loc8_15.2) [concrete = constants.%float.bd3] -// CHECK:STDOUT: %.loc8_15.3: ref %f16.f41 = temporary_storage -// CHECK:STDOUT: %.loc8_15.4: ref %f16.f41 = temporary %.loc8_15.3, %Float.as.Copy.impl.Op.call [concrete = constants.%.371] -// CHECK:STDOUT: %addr: %ptr.25b = addr_of %.loc8_15.4 [concrete = constants.%addr] +// CHECK:STDOUT: %bound_method.loc8_15.4: = bound_method %.loc8_15.2, %specific_fn.loc8_15.2 [concrete = constants.%bound_method.96b] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f16.6c9 = call %bound_method.loc8_15.4(%.loc8_15.2) [concrete = constants.%float.cc8] +// CHECK:STDOUT: %.loc8_15.3: ref %f16.6c9 = temporary_storage +// CHECK:STDOUT: %.loc8_15.4: ref %f16.6c9 = temporary %.loc8_15.3, %Float.as.Copy.impl.Op.call [concrete = constants.%.a39] +// CHECK:STDOUT: %addr: %ptr.041 = addr_of %.loc8_15.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.371) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.a39) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_15.1(%self.param: ref %f16.3ab) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_15.2(%self.param: ref %f16.f41) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_15.2(%self.param: ref %f16.6c9) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1883,41 +1883,41 @@ fn F() { // CHECK:STDOUT: %float.96e: Core.FloatLiteral = float_literal_value 8e-1 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] // CHECK:STDOUT: %f32.9b3: type = float_type %int_32, f32 [concrete] -// CHECK:STDOUT: %As.type.7ab: type = facet_type <@As, @As(%f32.750)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.221: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.90e: %Core.FloatLiteral.as.As.impl.Convert.type.221 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.960: = impl_witness imports.%As.impl_witness_table.331, @Core.FloatLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.358: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.48b: %Core.FloatLiteral.as.As.impl.Convert.type.358 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.7ab = facet_value Core.FloatLiteral, (%As.impl_witness.960) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.9e0: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f32.750, %As.facet) [concrete] -// CHECK:STDOUT: %.d6b: type = fn_type_with_self_type %As.WithSelf.Convert.type.9e0, %As.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.48b [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.As.impl.Convert.48b, @Core.FloatLiteral.as.As.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.c02: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.4fb: %f32.750 = float_value 0.800000011 [concrete] -// CHECK:STDOUT: %ptr.915: type = ptr_type %f32.750 [concrete] +// CHECK:STDOUT: %As.type.533: type = facet_type <@As, @As(%f32.a26)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.bad: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.df8: %Core.FloatLiteral.as.As.impl.Convert.type.bad = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.7d6: = impl_witness imports.%As.impl_witness_table.302, @Core.FloatLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.459: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.c4a: %Core.FloatLiteral.as.As.impl.Convert.type.459 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.533 = facet_value Core.FloatLiteral, (%As.impl_witness.7d6) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.823: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f32.a26, %As.facet) [concrete] +// CHECK:STDOUT: %.2d2: type = fn_type_with_self_type %As.WithSelf.Convert.type.823, %As.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.c4a [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.As.impl.Convert.c4a, @Core.FloatLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.ac5: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.c1a: %f32.a26 = float_value 0.800000011 [concrete] +// CHECK:STDOUT: %ptr.454: type = ptr_type %f32.a26 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.44e: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.30e: %Float.as.Copy.impl.Op.type.44e = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0f2: = impl_witness imports.%Copy.impl_witness_table.fe1, @Float.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.18a: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.ebf: %Float.as.Copy.impl.Op.type.18a = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f32.750, (%Copy.impl_witness.0f2) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.493: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.b5c: type = fn_type_with_self_type %Copy.WithSelf.Op.type.493, %Copy.facet [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.bound: = bound_method %float.4fb, %Float.as.Copy.impl.Op.ebf [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.ebf, @Float.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.647: = bound_method %float.4fb, %Float.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.474: ref %f32.750 = temporary invalid, %float.4fb [concrete] -// CHECK:STDOUT: %addr: %ptr.915 = addr_of %.474 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_15.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.474, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.125: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bfc: %Float.as.Copy.impl.Op.type.125 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.c1c: = impl_witness imports.%Copy.impl_witness_table.384, @Float.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.f02: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.9ce: %Float.as.Copy.impl.Op.type.f02 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f32.a26, (%Copy.impl_witness.c1c) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.f86: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.934: type = fn_type_with_self_type %Copy.WithSelf.Op.type.f86, %Copy.facet [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bound: = bound_method %float.c1a, %Float.as.Copy.impl.Op.9ce [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.9ce, @Float.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.201: = bound_method %float.c1a, %Float.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.433: ref %f32.a26 = temporary invalid, %float.c1a [concrete] +// CHECK:STDOUT: %addr: %ptr.454 = addr_of %.433 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_15.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.433, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1926,15 +1926,15 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.1d1: @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert.type (%Core.FloatLiteral.as.As.impl.Convert.type.221) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert (constants.%Core.FloatLiteral.as.As.impl.Convert.90e)] -// CHECK:STDOUT: %As.impl_witness_table.331 = impl_witness_table (%Core.import_ref.1d1), @Core.FloatLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.81f: @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert.type (%Core.FloatLiteral.as.As.impl.Convert.type.bad) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert (constants.%Core.FloatLiteral.as.As.impl.Convert.df8)] +// CHECK:STDOUT: %As.impl_witness_table.302 = impl_witness_table (%Core.import_ref.81f), @Core.FloatLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.4b3: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.44e) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.30e)] -// CHECK:STDOUT: %Copy.impl_witness_table.fe1 = impl_witness_table (%Core.import_ref.4b3), @Float.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.461: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.125) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.bfc)] +// CHECK:STDOUT: %Copy.impl_witness_table.384 = impl_witness_table (%Core.import_ref.461), @Float.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1942,30 +1942,30 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 8e-1 [concrete = constants.%float.96e] -// CHECK:STDOUT: %f32: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %impl.elem0.loc8_15.1: %.d6b = impl_witness_access constants.%As.impl_witness.960, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.48b] +// CHECK:STDOUT: %f32: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %impl.elem0.loc8_15.1: %.2d2 = impl_witness_access constants.%As.impl_witness.7d6, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.c4a] // CHECK:STDOUT: %bound_method.loc8_15.1: = bound_method %float, %impl.elem0.loc8_15.1 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_15.1: = specific_function %impl.elem0.loc8_15.1, @Core.FloatLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %float, %specific_fn.loc8_15.1 [concrete = constants.%bound_method.c02] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call: init %f32.750 = call %bound_method.loc8_15.2(%float) [concrete = constants.%float.4fb] -// CHECK:STDOUT: %.loc8_15.1: %f32.750 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call [concrete = constants.%float.4fb] -// CHECK:STDOUT: %.loc8_15.2: %f32.750 = converted %float, %.loc8_15.1 [concrete = constants.%float.4fb] -// CHECK:STDOUT: %impl.elem0.loc8_15.2: %.b5c = impl_witness_access constants.%Copy.impl_witness.0f2, element0 [concrete = constants.%Float.as.Copy.impl.Op.ebf] +// CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %float, %specific_fn.loc8_15.1 [concrete = constants.%bound_method.ac5] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call: init %f32.a26 = call %bound_method.loc8_15.2(%float) [concrete = constants.%float.c1a] +// CHECK:STDOUT: %.loc8_15.1: %f32.a26 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call [concrete = constants.%float.c1a] +// CHECK:STDOUT: %.loc8_15.2: %f32.a26 = converted %float, %.loc8_15.1 [concrete = constants.%float.c1a] +// CHECK:STDOUT: %impl.elem0.loc8_15.2: %.934 = impl_witness_access constants.%Copy.impl_witness.c1c, element0 [concrete = constants.%Float.as.Copy.impl.Op.9ce] // CHECK:STDOUT: %bound_method.loc8_15.3: = bound_method %.loc8_15.2, %impl.elem0.loc8_15.2 [concrete = constants.%Float.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_15.2: = specific_function %impl.elem0.loc8_15.2, @Float.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Float.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_15.4: = bound_method %.loc8_15.2, %specific_fn.loc8_15.2 [concrete = constants.%bound_method.647] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f32.750 = call %bound_method.loc8_15.4(%.loc8_15.2) [concrete = constants.%float.4fb] -// CHECK:STDOUT: %.loc8_15.3: ref %f32.750 = temporary_storage -// CHECK:STDOUT: %.loc8_15.4: ref %f32.750 = temporary %.loc8_15.3, %Float.as.Copy.impl.Op.call [concrete = constants.%.474] -// CHECK:STDOUT: %addr: %ptr.915 = addr_of %.loc8_15.4 [concrete = constants.%addr] +// CHECK:STDOUT: %bound_method.loc8_15.4: = bound_method %.loc8_15.2, %specific_fn.loc8_15.2 [concrete = constants.%bound_method.201] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f32.a26 = call %bound_method.loc8_15.4(%.loc8_15.2) [concrete = constants.%float.c1a] +// CHECK:STDOUT: %.loc8_15.3: ref %f32.a26 = temporary_storage +// CHECK:STDOUT: %.loc8_15.4: ref %f32.a26 = temporary %.loc8_15.3, %Float.as.Copy.impl.Op.call [concrete = constants.%.433] +// CHECK:STDOUT: %addr: %ptr.454 = addr_of %.loc8_15.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.474) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.433) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_15.1(%self.param: ref %f32.9b3) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_15.2(%self.param: ref %f32.750) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_15.2(%self.param: ref %f32.a26) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1979,41 +1979,41 @@ fn F() { // CHECK:STDOUT: %float.96e: Core.FloatLiteral = float_literal_value 8e-1 [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %f64.794: type = float_type %int_64, f64 [concrete] -// CHECK:STDOUT: %As.type.bc9: type = facet_type <@As, @As(%f64.9a0)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.221: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.90e: %Core.FloatLiteral.as.As.impl.Convert.type.221 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.3c2: = impl_witness imports.%As.impl_witness_table.331, @Core.FloatLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.350: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.048: %Core.FloatLiteral.as.As.impl.Convert.type.350 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.bc9 = facet_value Core.FloatLiteral, (%As.impl_witness.3c2) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.36c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f64.9a0, %As.facet) [concrete] -// CHECK:STDOUT: %.fe1: type = fn_type_with_self_type %As.WithSelf.Convert.type.36c, %As.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.048 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.As.impl.Convert.048, @Core.FloatLiteral.as.As.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.247: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.cca: %f64.9a0 = float_value 0.80000000000000004 [concrete] -// CHECK:STDOUT: %ptr.c6e: type = ptr_type %f64.9a0 [concrete] +// CHECK:STDOUT: %As.type.e53: type = facet_type <@As, @As(%f64.b55)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.bad: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.df8: %Core.FloatLiteral.as.As.impl.Convert.type.bad = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.cf2: = impl_witness imports.%As.impl_witness_table.302, @Core.FloatLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.8de: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bcc: %Core.FloatLiteral.as.As.impl.Convert.type.8de = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.e53 = facet_value Core.FloatLiteral, (%As.impl_witness.cf2) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.d43: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f64.b55, %As.facet) [concrete] +// CHECK:STDOUT: %.f88: type = fn_type_with_self_type %As.WithSelf.Convert.type.d43, %As.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.bcc [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.As.impl.Convert.bcc, @Core.FloatLiteral.as.As.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.e81: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.74c: %f64.b55 = float_value 0.80000000000000004 [concrete] +// CHECK:STDOUT: %ptr.f8a: type = ptr_type %f64.b55 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.44e: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.30e: %Float.as.Copy.impl.Op.type.44e = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.c2d: = impl_witness imports.%Copy.impl_witness_table.fe1, @Float.as.Copy.impl(%int_64) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.d57: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_64) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.447: %Float.as.Copy.impl.Op.type.d57 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f64.9a0, (%Copy.impl_witness.c2d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.127: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.2ac: type = fn_type_with_self_type %Copy.WithSelf.Op.type.127, %Copy.facet [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.bound: = bound_method %float.cca, %Float.as.Copy.impl.Op.447 [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.447, @Float.as.Copy.impl.Op(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.b56: = bound_method %float.cca, %Float.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.213: ref %f64.9a0 = temporary invalid, %float.cca [concrete] -// CHECK:STDOUT: %addr: %ptr.c6e = addr_of %.213 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_15.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.213, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.125: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bfc: %Float.as.Copy.impl.Op.type.125 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.811: = impl_witness imports.%Copy.impl_witness_table.384, @Float.as.Copy.impl(%int_64) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.7a5: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_64) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bcc: %Float.as.Copy.impl.Op.type.7a5 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f64.b55, (%Copy.impl_witness.811) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.286: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.c7d: type = fn_type_with_self_type %Copy.WithSelf.Op.type.286, %Copy.facet [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bound: = bound_method %float.74c, %Float.as.Copy.impl.Op.bcc [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.bcc, @Float.as.Copy.impl.Op(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.4a0: = bound_method %float.74c, %Float.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.1cd: ref %f64.b55 = temporary invalid, %float.74c [concrete] +// CHECK:STDOUT: %addr: %ptr.f8a = addr_of %.1cd [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_15.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.1cd, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2022,15 +2022,15 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.1d1: @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert.type (%Core.FloatLiteral.as.As.impl.Convert.type.221) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert (constants.%Core.FloatLiteral.as.As.impl.Convert.90e)] -// CHECK:STDOUT: %As.impl_witness_table.331 = impl_witness_table (%Core.import_ref.1d1), @Core.FloatLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.81f: @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert.type (%Core.FloatLiteral.as.As.impl.Convert.type.bad) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert (constants.%Core.FloatLiteral.as.As.impl.Convert.df8)] +// CHECK:STDOUT: %As.impl_witness_table.302 = impl_witness_table (%Core.import_ref.81f), @Core.FloatLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.4b3: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.44e) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.30e)] -// CHECK:STDOUT: %Copy.impl_witness_table.fe1 = impl_witness_table (%Core.import_ref.4b3), @Float.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.461: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.125) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.bfc)] +// CHECK:STDOUT: %Copy.impl_witness_table.384 = impl_witness_table (%Core.import_ref.461), @Float.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -2038,30 +2038,30 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 8e-1 [concrete = constants.%float.96e] -// CHECK:STDOUT: %f64: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %impl.elem0.loc8_15.1: %.fe1 = impl_witness_access constants.%As.impl_witness.3c2, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.048] +// CHECK:STDOUT: %f64: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %impl.elem0.loc8_15.1: %.f88 = impl_witness_access constants.%As.impl_witness.cf2, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.bcc] // CHECK:STDOUT: %bound_method.loc8_15.1: = bound_method %float, %impl.elem0.loc8_15.1 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_15.1: = specific_function %impl.elem0.loc8_15.1, @Core.FloatLiteral.as.As.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %float, %specific_fn.loc8_15.1 [concrete = constants.%bound_method.247] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call: init %f64.9a0 = call %bound_method.loc8_15.2(%float) [concrete = constants.%float.cca] -// CHECK:STDOUT: %.loc8_15.1: %f64.9a0 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call [concrete = constants.%float.cca] -// CHECK:STDOUT: %.loc8_15.2: %f64.9a0 = converted %float, %.loc8_15.1 [concrete = constants.%float.cca] -// CHECK:STDOUT: %impl.elem0.loc8_15.2: %.2ac = impl_witness_access constants.%Copy.impl_witness.c2d, element0 [concrete = constants.%Float.as.Copy.impl.Op.447] +// CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %float, %specific_fn.loc8_15.1 [concrete = constants.%bound_method.e81] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call: init %f64.b55 = call %bound_method.loc8_15.2(%float) [concrete = constants.%float.74c] +// CHECK:STDOUT: %.loc8_15.1: %f64.b55 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call [concrete = constants.%float.74c] +// CHECK:STDOUT: %.loc8_15.2: %f64.b55 = converted %float, %.loc8_15.1 [concrete = constants.%float.74c] +// CHECK:STDOUT: %impl.elem0.loc8_15.2: %.c7d = impl_witness_access constants.%Copy.impl_witness.811, element0 [concrete = constants.%Float.as.Copy.impl.Op.bcc] // CHECK:STDOUT: %bound_method.loc8_15.3: = bound_method %.loc8_15.2, %impl.elem0.loc8_15.2 [concrete = constants.%Float.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_15.2: = specific_function %impl.elem0.loc8_15.2, @Float.as.Copy.impl.Op(constants.%int_64) [concrete = constants.%Float.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_15.4: = bound_method %.loc8_15.2, %specific_fn.loc8_15.2 [concrete = constants.%bound_method.b56] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f64.9a0 = call %bound_method.loc8_15.4(%.loc8_15.2) [concrete = constants.%float.cca] -// CHECK:STDOUT: %.loc8_15.3: ref %f64.9a0 = temporary_storage -// CHECK:STDOUT: %.loc8_15.4: ref %f64.9a0 = temporary %.loc8_15.3, %Float.as.Copy.impl.Op.call [concrete = constants.%.213] -// CHECK:STDOUT: %addr: %ptr.c6e = addr_of %.loc8_15.4 [concrete = constants.%addr] +// CHECK:STDOUT: %bound_method.loc8_15.4: = bound_method %.loc8_15.2, %specific_fn.loc8_15.2 [concrete = constants.%bound_method.4a0] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f64.b55 = call %bound_method.loc8_15.4(%.loc8_15.2) [concrete = constants.%float.74c] +// CHECK:STDOUT: %.loc8_15.3: ref %f64.b55 = temporary_storage +// CHECK:STDOUT: %.loc8_15.4: ref %f64.b55 = temporary %.loc8_15.3, %Float.as.Copy.impl.Op.call [concrete = constants.%.1cd] +// CHECK:STDOUT: %addr: %ptr.f8a = addr_of %.loc8_15.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.213) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.1cd) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_15.1(%self.param: ref %f64.794) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_15.2(%self.param: ref %f64.9a0) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_15.2(%self.param: ref %f64.b55) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -2075,41 +2075,41 @@ fn F() { // CHECK:STDOUT: %float.96e: Core.FloatLiteral = float_literal_value 8e-1 [concrete] // CHECK:STDOUT: %int_128: Core.IntLiteral = int_value 128 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %f128.e4f: type = class_type @Float, @Float(%int_128) [concrete] +// CHECK:STDOUT: %f128.899: type = class_type @Float, @Float(%int_128) [concrete] // CHECK:STDOUT: %f128.853: type = float_type %int_128, f128 [concrete] -// CHECK:STDOUT: %As.type.019: type = facet_type <@As, @As(%f128.e4f)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.221: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.90e: %Core.FloatLiteral.as.As.impl.Convert.type.221 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.2cb: = impl_witness imports.%As.impl_witness_table.331, @Core.FloatLiteral.as.As.impl(%int_128) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.040: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_128) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.aa2: %Core.FloatLiteral.as.As.impl.Convert.type.040 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.019 = facet_value Core.FloatLiteral, (%As.impl_witness.2cb) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.9d8: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f128.e4f, %As.facet) [concrete] -// CHECK:STDOUT: %.48a: type = fn_type_with_self_type %As.WithSelf.Convert.type.9d8, %As.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.aa2 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.As.impl.Convert.aa2, @Core.FloatLiteral.as.As.impl.Convert(%int_128) [concrete] -// CHECK:STDOUT: %bound_method.b27: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.3ec: %f128.e4f = float_value 0.800000000000000000000000000000000039 [concrete] -// CHECK:STDOUT: %ptr.4c6: type = ptr_type %f128.e4f [concrete] +// CHECK:STDOUT: %As.type.09a: type = facet_type <@As, @As(%f128.899)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.bad: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.df8: %Core.FloatLiteral.as.As.impl.Convert.type.bad = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.f1b: = impl_witness imports.%As.impl_witness_table.302, @Core.FloatLiteral.as.As.impl(%int_128) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.09f: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_128) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.d08: %Core.FloatLiteral.as.As.impl.Convert.type.09f = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.09a = facet_value Core.FloatLiteral, (%As.impl_witness.f1b) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.2bd: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f128.899, %As.facet) [concrete] +// CHECK:STDOUT: %.8f2: type = fn_type_with_self_type %As.WithSelf.Convert.type.2bd, %As.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.d08 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.As.impl.Convert.d08, @Core.FloatLiteral.as.As.impl.Convert(%int_128) [concrete] +// CHECK:STDOUT: %bound_method.a22: = bound_method %float.96e, %Core.FloatLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.0f4: %f128.899 = float_value 0.800000000000000000000000000000000039 [concrete] +// CHECK:STDOUT: %ptr.2c7: type = ptr_type %f128.899 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.44e: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.30e: %Float.as.Copy.impl.Op.type.44e = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.7e9: = impl_witness imports.%Copy.impl_witness_table.fe1, @Float.as.Copy.impl(%int_128) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.95b: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_128) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.e6e: %Float.as.Copy.impl.Op.type.95b = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f128.e4f, (%Copy.impl_witness.7e9) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.367: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.b4e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.367, %Copy.facet [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.bound: = bound_method %float.3ec, %Float.as.Copy.impl.Op.e6e [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.e6e, @Float.as.Copy.impl.Op(%int_128) [concrete] -// CHECK:STDOUT: %bound_method.cbd: = bound_method %float.3ec, %Float.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.96b: ref %f128.e4f = temporary invalid, %float.3ec [concrete] -// CHECK:STDOUT: %addr: %ptr.4c6 = addr_of %.96b [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_15.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.96b, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.125: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bfc: %Float.as.Copy.impl.Op.type.125 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.e80: = impl_witness imports.%Copy.impl_witness_table.384, @Float.as.Copy.impl(%int_128) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.fd9: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_128) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.7d3: %Float.as.Copy.impl.Op.type.fd9 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f128.899, (%Copy.impl_witness.e80) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.797: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.ec9: type = fn_type_with_self_type %Copy.WithSelf.Op.type.797, %Copy.facet [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bound: = bound_method %float.0f4, %Float.as.Copy.impl.Op.7d3 [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.7d3, @Float.as.Copy.impl.Op(%int_128) [concrete] +// CHECK:STDOUT: %bound_method.716: = bound_method %float.0f4, %Float.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.93d: ref %f128.899 = temporary invalid, %float.0f4 [concrete] +// CHECK:STDOUT: %addr: %ptr.2c7 = addr_of %.93d [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_15.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.93d, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2118,15 +2118,15 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.1d1: @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert.type (%Core.FloatLiteral.as.As.impl.Convert.type.221) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert (constants.%Core.FloatLiteral.as.As.impl.Convert.90e)] -// CHECK:STDOUT: %As.impl_witness_table.331 = impl_witness_table (%Core.import_ref.1d1), @Core.FloatLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.81f: @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert.type (%Core.FloatLiteral.as.As.impl.Convert.type.bad) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert (constants.%Core.FloatLiteral.as.As.impl.Convert.df8)] +// CHECK:STDOUT: %As.impl_witness_table.302 = impl_witness_table (%Core.import_ref.81f), @Core.FloatLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.4b3: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.44e) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.30e)] -// CHECK:STDOUT: %Copy.impl_witness_table.fe1 = impl_witness_table (%Core.import_ref.4b3), @Float.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.461: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.125) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.bfc)] +// CHECK:STDOUT: %Copy.impl_witness_table.384 = impl_witness_table (%Core.import_ref.461), @Float.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -2134,30 +2134,30 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 8e-1 [concrete = constants.%float.96e] -// CHECK:STDOUT: %f128: type = type_literal constants.%f128.e4f [concrete = constants.%f128.e4f] -// CHECK:STDOUT: %impl.elem0.loc8_15.1: %.48a = impl_witness_access constants.%As.impl_witness.2cb, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.aa2] +// CHECK:STDOUT: %f128: type = type_literal constants.%f128.899 [concrete = constants.%f128.899] +// CHECK:STDOUT: %impl.elem0.loc8_15.1: %.8f2 = impl_witness_access constants.%As.impl_witness.f1b, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.d08] // CHECK:STDOUT: %bound_method.loc8_15.1: = bound_method %float, %impl.elem0.loc8_15.1 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8_15.1: = specific_function %impl.elem0.loc8_15.1, @Core.FloatLiteral.as.As.impl.Convert(constants.%int_128) [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %float, %specific_fn.loc8_15.1 [concrete = constants.%bound_method.b27] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call: init %f128.e4f = call %bound_method.loc8_15.2(%float) [concrete = constants.%float.3ec] -// CHECK:STDOUT: %.loc8_15.1: %f128.e4f = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call [concrete = constants.%float.3ec] -// CHECK:STDOUT: %.loc8_15.2: %f128.e4f = converted %float, %.loc8_15.1 [concrete = constants.%float.3ec] -// CHECK:STDOUT: %impl.elem0.loc8_15.2: %.b4e = impl_witness_access constants.%Copy.impl_witness.7e9, element0 [concrete = constants.%Float.as.Copy.impl.Op.e6e] +// CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %float, %specific_fn.loc8_15.1 [concrete = constants.%bound_method.a22] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call: init %f128.899 = call %bound_method.loc8_15.2(%float) [concrete = constants.%float.0f4] +// CHECK:STDOUT: %.loc8_15.1: %f128.899 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call [concrete = constants.%float.0f4] +// CHECK:STDOUT: %.loc8_15.2: %f128.899 = converted %float, %.loc8_15.1 [concrete = constants.%float.0f4] +// CHECK:STDOUT: %impl.elem0.loc8_15.2: %.ec9 = impl_witness_access constants.%Copy.impl_witness.e80, element0 [concrete = constants.%Float.as.Copy.impl.Op.7d3] // CHECK:STDOUT: %bound_method.loc8_15.3: = bound_method %.loc8_15.2, %impl.elem0.loc8_15.2 [concrete = constants.%Float.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_15.2: = specific_function %impl.elem0.loc8_15.2, @Float.as.Copy.impl.Op(constants.%int_128) [concrete = constants.%Float.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_15.4: = bound_method %.loc8_15.2, %specific_fn.loc8_15.2 [concrete = constants.%bound_method.cbd] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f128.e4f = call %bound_method.loc8_15.4(%.loc8_15.2) [concrete = constants.%float.3ec] -// CHECK:STDOUT: %.loc8_15.3: ref %f128.e4f = temporary_storage -// CHECK:STDOUT: %.loc8_15.4: ref %f128.e4f = temporary %.loc8_15.3, %Float.as.Copy.impl.Op.call [concrete = constants.%.96b] -// CHECK:STDOUT: %addr: %ptr.4c6 = addr_of %.loc8_15.4 [concrete = constants.%addr] +// CHECK:STDOUT: %bound_method.loc8_15.4: = bound_method %.loc8_15.2, %specific_fn.loc8_15.2 [concrete = constants.%bound_method.716] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f128.899 = call %bound_method.loc8_15.4(%.loc8_15.2) [concrete = constants.%float.0f4] +// CHECK:STDOUT: %.loc8_15.3: ref %f128.899 = temporary_storage +// CHECK:STDOUT: %.loc8_15.4: ref %f128.899 = temporary %.loc8_15.3, %Float.as.Copy.impl.Op.call [concrete = constants.%.93d] +// CHECK:STDOUT: %addr: %ptr.2c7 = addr_of %.loc8_15.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.96b) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.93d) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_15.1(%self.param: ref %f128.853) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_15.2(%self.param: ref %f128.e4f) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_15.2(%self.param: ref %f128.899) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -2218,14 +2218,14 @@ fn F() { // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %pattern_type.0cb: type = pattern_type %i16 [concrete] +// CHECK:STDOUT: %pattern_type.e1b: type = pattern_type %i16 [concrete] // CHECK:STDOUT: %foo_short.cpp_overload_set.type: type = cpp_overload_set_type @foo_short.cpp_overload_set [concrete] // CHECK:STDOUT: %foo_short.cpp_overload_set.value: %foo_short.cpp_overload_set.type = cpp_overload_set_value @foo_short.cpp_overload_set [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %i16 [concrete] // CHECK:STDOUT: %foo_short__carbon_thunk.type: type = fn_type @foo_short__carbon_thunk [concrete] // CHECK:STDOUT: %foo_short__carbon_thunk: %foo_short__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_37.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_37.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2244,7 +2244,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.0cb = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.e1b = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo_short.ref: %foo_short.cpp_overload_set.type = name_ref foo_short, imports.%foo_short.cpp_overload_set.value [concrete = constants.%foo_short.cpp_overload_set.value] @@ -2256,7 +2256,7 @@ fn F() { // CHECK:STDOUT: %.loc8_37.3: ref %i16 = temporary %.loc8_37.1, %.loc8_37.2 // CHECK:STDOUT: %.loc8_37.4: %i16 = acquire_value %.loc8_37.3 // CHECK:STDOUT: %x: %i16 = value_binding x, %.loc8_37.4 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_37.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_37.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc8_37.3) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -2297,16 +2297,16 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %f64.794: type = float_type %int_64, f64 [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] // CHECK:STDOUT: %foo_double.cpp_overload_set.type: type = cpp_overload_set_type @foo_double.cpp_overload_set [concrete] // CHECK:STDOUT: %foo_double.cpp_overload_set.value: %foo_double.cpp_overload_set.type = cpp_overload_set_value @foo_double.cpp_overload_set [concrete] -// CHECK:STDOUT: %ptr: type = ptr_type %f64.9a0 [concrete] +// CHECK:STDOUT: %ptr: type = ptr_type %f64.b55 [concrete] // CHECK:STDOUT: %foo_double__carbon_thunk.type: type = fn_type @foo_double__carbon_thunk [concrete] // CHECK:STDOUT: %foo_double__carbon_thunk: %foo_double__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_38.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_38.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2325,26 +2325,26 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.f4f = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.f3c = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo_double.ref: %foo_double.cpp_overload_set.type = name_ref foo_double, imports.%foo_double.cpp_overload_set.value [concrete = constants.%foo_double.cpp_overload_set.value] -// CHECK:STDOUT: %.loc8_38.1: ref %f64.9a0 = temporary_storage +// CHECK:STDOUT: %.loc8_38.1: ref %f64.b55 = temporary_storage // CHECK:STDOUT: %addr: %ptr = addr_of %.loc8_38.1 // CHECK:STDOUT: %foo_double__carbon_thunk.call: init %empty_tuple.type = call imports.%foo_double__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %.loc8_38.2: init %f64.9a0 to %.loc8_38.1 = mark_in_place_init %foo_double__carbon_thunk.call -// CHECK:STDOUT: %f64: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc8_38.3: ref %f64.9a0 = temporary %.loc8_38.1, %.loc8_38.2 -// CHECK:STDOUT: %.loc8_38.4: %f64.9a0 = acquire_value %.loc8_38.3 -// CHECK:STDOUT: %x: %f64.9a0 = value_binding x, %.loc8_38.4 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_38.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %.loc8_38.2: init %f64.b55 to %.loc8_38.1 = mark_in_place_init %foo_double__carbon_thunk.call +// CHECK:STDOUT: %f64: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc8_38.3: ref %f64.b55 = temporary %.loc8_38.1, %.loc8_38.2 +// CHECK:STDOUT: %.loc8_38.4: %f64.b55 = acquire_value %.loc8_38.3 +// CHECK:STDOUT: %x: %f64.b55 = value_binding x, %.loc8_38.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_38.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc8_38.3) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_38.1(%self.param: ref %f64.794) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_38.2(%self.param: ref %f64.9a0) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_38.2(%self.param: ref %f64.b55) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_direct.carbon b/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_direct.carbon index d85b8e469e9b..748b9493a1bd 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_direct.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/arithmetic_types_direct.carbon @@ -327,20 +327,20 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -354,8 +354,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -363,13 +363,13 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -385,20 +385,20 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2147483647.d89, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2147483647.d89, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_2147483647.d89, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2147483647.cb2: %i32 = int_value 2147483647 [concrete] +// CHECK:STDOUT: %int_2147483647.9ca: %i32 = int_value 2147483647 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -412,8 +412,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -421,13 +421,13 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_2147483647: Core.IntLiteral = int_value 2147483647 [concrete = constants.%int_2147483647.d89] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_2147483647, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_2147483647, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_2147483647) [concrete = constants.%int_2147483647.cb2] -// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2147483647.cb2] -// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_2147483647, %.loc8_11.1 [concrete = constants.%int_2147483647.cb2] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_2147483647) [concrete = constants.%int_2147483647.9ca] +// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2147483647.9ca] +// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_2147483647, %.loc8_11.1 [concrete = constants.%int_2147483647.9ca] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -442,8 +442,8 @@ fn F() { // CHECK:STDOUT: %Negate.type: type = facet_type <@Negate> [concrete] // CHECK:STDOUT: %Negate.impl_witness: = impl_witness imports.%Negate.impl_witness_table [concrete] // CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value Core.IntLiteral, (%Negate.impl_witness) [concrete] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.40e: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] -// CHECK:STDOUT: %.279: type = fn_type_with_self_type %Negate.WithSelf.Op.type.40e, %Negate.facet [concrete] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.309: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] +// CHECK:STDOUT: %.f38: type = fn_type_with_self_type %Negate.WithSelf.Op.type.309, %Negate.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.type: type = fn_type @Core.IntLiteral.as.Negate.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op: %Core.IntLiteral.as.Negate.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.bound: = bound_method %int_2147483648, %Core.IntLiteral.as.Negate.impl.Op [concrete] @@ -452,20 +452,20 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_-2147483648.3b9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_-2147483648.3b9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_-2147483648.3b9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_-2147483648.801: %i32 = int_value -2147483648 [concrete] +// CHECK:STDOUT: %int_-2147483648.372: %i32 = int_value -2147483648 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -475,15 +475,15 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.import_ref.abd = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.968: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] -// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.968), @Core.IntLiteral.as.Negate.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.f63), @Core.IntLiteral.as.Negate.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -491,18 +491,18 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_2147483648: Core.IntLiteral = int_value 2147483648 [concrete = constants.%int_2147483648] -// CHECK:STDOUT: %impl.elem1: %.279 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.f38 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_2147483648, %impl.elem1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op.bound] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.call: init Core.IntLiteral = call %bound_method.loc8_11.1(%int_2147483648) [concrete = constants.%int_-2147483648.3b9] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.3: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %specific_fn [concrete = constants.%bound_method] // CHECK:STDOUT: %.loc8_11.1: Core.IntLiteral = value_of_initializer %Core.IntLiteral.as.Negate.impl.Op.call [concrete = constants.%int_-2147483648.3b9] // CHECK:STDOUT: %.loc8_11.2: Core.IntLiteral = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.1 [concrete = constants.%int_-2147483648.3b9] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.3(%.loc8_11.2) [concrete = constants.%int_-2147483648.801] -// CHECK:STDOUT: %.loc8_11.3: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_-2147483648.801] -// CHECK:STDOUT: %.loc8_11.4: %i32 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.3 [concrete = constants.%int_-2147483648.801] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.3(%.loc8_11.2) [concrete = constants.%int_-2147483648.372] +// CHECK:STDOUT: %.loc8_11.3: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_-2147483648.372] +// CHECK:STDOUT: %.loc8_11.4: %i32 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.3 [concrete = constants.%int_-2147483648.372] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.4) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -518,20 +518,20 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -545,8 +545,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -554,13 +554,13 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -576,20 +576,20 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -603,8 +603,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -612,13 +612,13 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -634,20 +634,20 @@ fn F() { // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.79f: type = facet_type <@ImplicitAs, @ImplicitAs(%u32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.b0a: type = facet_type <@ImplicitAs, @ImplicitAs(%u32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.069: = impl_witness imports.%ImplicitAs.impl_witness_table.3ab, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.025: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.376: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.025 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.79f = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.069) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ebd: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.bc8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ebd, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.376 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.376, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.498: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.040: = impl_witness imports.%ImplicitAs.impl_witness_table.0c6, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.34d: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.09f: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.34d = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.b0a = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.040) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.9e6: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.955: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.9e6, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.09f [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.09f, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.fbc: %u32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.ce2: %u32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -661,8 +661,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.315: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3ab = impl_witness_table (%Core.import_ref.315), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.e9f: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.498)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0c6 = impl_witness_table (%Core.import_ref.e9f), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -670,13 +670,13 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.bc8 = impl_witness_access constants.%ImplicitAs.impl_witness.069, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.376] +// CHECK:STDOUT: %impl.elem0: %.955 = impl_witness_access constants.%ImplicitAs.impl_witness.040, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.09f] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %u32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.fbc] -// CHECK:STDOUT: %.loc8_11.1: %u32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.fbc] -// CHECK:STDOUT: %.loc8_11.2: %u32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.fbc] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %u32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.ce2] +// CHECK:STDOUT: %.loc8_11.1: %u32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.ce2] +// CHECK:STDOUT: %.loc8_11.2: %u32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.ce2] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -692,20 +692,20 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -719,8 +719,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -728,13 +728,13 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -751,23 +751,23 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -781,8 +781,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -791,20 +791,20 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc8_11: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem0.loc8_11 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc8_11: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem0.loc8_11 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc8_11: = specific_function %impl.elem0.loc8_11, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn.loc8_11 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_11: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_11 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc8_14: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_14.1: = bound_method %int_2, %impl.elem0.loc8_14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn.loc8_11 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_11: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_11 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc8_14: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_14.1: = bound_method %int_2, %impl.elem0.loc8_14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc8_14: = specific_function %impl.elem0.loc8_14, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_14.2: = bound_method %int_2, %specific_fn.loc8_14 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_14: init %i32 = call %bound_method.loc8_14.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_14.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_14 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_14.2: %i32 = converted %int_2, %.loc8_14.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc8_14.2: = bound_method %int_2, %specific_fn.loc8_14 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_14: init %i32 = call %bound_method.loc8_14.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_14.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_14 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_14.2: %i32 = converted %int_2, %.loc8_14.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2, %.loc8_14.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -821,35 +821,35 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %foo1.type: type = fn_type @foo1 [concrete] // CHECK:STDOUT: %foo1: %foo1.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: %foo2.cpp_overload_set.type: type = cpp_overload_set_type @foo2.cpp_overload_set [concrete] // CHECK:STDOUT: %foo2.cpp_overload_set.value: %foo2.cpp_overload_set.type = cpp_overload_set_value @foo2.cpp_overload_set [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] // CHECK:STDOUT: %foo2.type: type = fn_type @foo2 [concrete] // CHECK:STDOUT: %foo2: %foo2.type = struct_value () [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -864,8 +864,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %foo2.cpp_overload_set.value: %foo2.cpp_overload_set.type = cpp_overload_set_value @foo2.cpp_overload_set [concrete = constants.%foo2.cpp_overload_set.value] // CHECK:STDOUT: %foo2.decl: %foo2.type = fn_decl @foo2 [concrete = constants.%foo2] { // CHECK:STDOUT: @@ -880,39 +880,39 @@ fn F() { // CHECK:STDOUT: %foo1.ref: %foo1.cpp_overload_set.type = name_ref foo1, imports.%foo1.cpp_overload_set.value [concrete = constants.%foo1.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc8_12: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_12.1: = bound_method %int_1, %impl.elem0.loc8_12 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc8_12: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_12.1: = bound_method %int_1, %impl.elem0.loc8_12 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc8_12: = specific_function %impl.elem0.loc8_12, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_12.2: = bound_method %int_1, %specific_fn.loc8_12 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_12: init %i32 = call %bound_method.loc8_12.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_12.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_12 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_12.2: %i32 = converted %int_1, %.loc8_12.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc8_15: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_15.1: = bound_method %int_2, %impl.elem0.loc8_15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc8_12.2: = bound_method %int_1, %specific_fn.loc8_12 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_12: init %i32 = call %bound_method.loc8_12.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_12.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_12 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_12.2: %i32 = converted %int_1, %.loc8_12.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc8_15: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_15.1: = bound_method %int_2, %impl.elem0.loc8_15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc8_15: = specific_function %impl.elem0.loc8_15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %int_2, %specific_fn.loc8_15 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_15: init %i32 = call %bound_method.loc8_15.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_15.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_15 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_15.2: %i32 = converted %int_2, %.loc8_15.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc8_15.2: = bound_method %int_2, %specific_fn.loc8_15 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_15: init %i32 = call %bound_method.loc8_15.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_15.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_15 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_15.2: %i32 = converted %int_2, %.loc8_15.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %foo1.call: init %empty_tuple.type = call imports.%foo1.decl(%.loc8_12.2, %.loc8_15.2) // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo2.ref: %foo2.cpp_overload_set.type = name_ref foo2, imports.%foo2.cpp_overload_set.value [concrete = constants.%foo2.cpp_overload_set.value] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0.loc9_12: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_12.1: = bound_method %int_3, %impl.elem0.loc9_12 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc9_12: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_12.1: = bound_method %int_3, %impl.elem0.loc9_12 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc9_12: = specific_function %impl.elem0.loc9_12, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_12.2: = bound_method %int_3, %specific_fn.loc9_12 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_12: init %i32 = call %bound_method.loc9_12.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc9_12.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_12 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc9_12.2: %i32 = converted %int_3, %.loc9_12.1 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %impl.elem0.loc9_15: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_15.1: = bound_method %int_4, %impl.elem0.loc9_15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %bound_method.loc9_12.2: = bound_method %int_3, %specific_fn.loc9_12 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_12: init %i32 = call %bound_method.loc9_12.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc9_12.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_12 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc9_12.2: %i32 = converted %int_3, %.loc9_12.1 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %impl.elem0.loc9_15: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_15.1: = bound_method %int_4, %impl.elem0.loc9_15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc9_15: = specific_function %impl.elem0.loc9_15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_15.2: = bound_method %int_4, %specific_fn.loc9_15 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_15: init %i32 = call %bound_method.loc9_15.2(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc9_15.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_15 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc9_15.2: %i32 = converted %int_4, %.loc9_15.1 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %bound_method.loc9_15.2: = bound_method %int_4, %specific_fn.loc9_15 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_15: init %i32 = call %bound_method.loc9_15.2(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc9_15.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_15 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc9_15.2: %i32 = converted %int_4, %.loc9_15.1 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: %foo2.call: init %empty_tuple.type = call imports.%foo2.decl(%.loc9_12.2, %.loc9_15.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -928,20 +928,20 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -955,8 +955,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -964,13 +964,13 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -1025,20 +1025,20 @@ fn F() { // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.e82: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.08a: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.af9: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.d03: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.d03 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.e82 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.af9) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.1bc: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i64, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.a99: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.1bc, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.35c: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.fc2: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.fc2 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.08a = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.35c) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.744: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i64, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.d4c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.744, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.9e7: %i64 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.0f3: %i64 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1052,8 +1052,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1061,13 +1061,13 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.a99 = impl_witness_access constants.%ImplicitAs.impl_witness.af9, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6] +// CHECK:STDOUT: %impl.elem0: %.d4c = impl_witness_access constants.%ImplicitAs.impl_witness.35c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i64 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc8_11.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc8_11.2: %i64 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.9e7] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i64 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc8_11.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc8_11.2: %i64 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.0f3] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.2) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/function/import/class.carbon b/toolchain/check/testdata/interop/cpp/function/import/class.carbon index 70bfa8ccad37..fff8491f93b4 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/class.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/class.carbon @@ -810,15 +810,15 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %C.Op.type: type = fn_type @C.Op [concrete] // CHECK:STDOUT: %C.Op: %C.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.3d0: = custom_witness (%C.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.a4a: %Default.type = facet_value %C, (%custom_witness.3d0) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.736: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.a4a) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %C, (%DefaultOrUnformed.impl_witness.736) [concrete] +// CHECK:STDOUT: %custom_witness.53f: = custom_witness (%C.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.ba2: %Default.type = facet_value %C, (%custom_witness.53f) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.b3c: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.ba2) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %C, (%DefaultOrUnformed.impl_witness.b3c) [concrete] // CHECK:STDOUT: %C.cpp_destructor.type: type = fn_type @C.cpp_destructor [concrete] // CHECK:STDOUT: %C.cpp_destructor: %C.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -840,8 +840,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%c.param: %C) { @@ -857,7 +857,7 @@ fn F() { // CHECK:STDOUT: %x.var_patt: %pattern_type.908 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %C = var %x.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%C, (constants.%DefaultOrUnformed.impl_witness.736) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%C, (constants.%DefaultOrUnformed.impl_witness.b3c) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc10_24.1: %DefaultOrUnformed.type = converted constants.%C, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc10_24.1 [concrete = constants.%C] // CHECK:STDOUT: %.loc10_24.2: type = converted %.loc10_24.1, %as_type [concrete = constants.%C] @@ -937,15 +937,15 @@ fn F() { // CHECK:STDOUT: %pattern_type.554: type = pattern_type %O [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %O.Op.type: type = fn_type @O.Op [concrete] // CHECK:STDOUT: %O.Op: %O.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.213: = custom_witness (%O.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.478: %Default.type = facet_value %O, (%custom_witness.213) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.1cc: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.478) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %O, (%DefaultOrUnformed.impl_witness.1cc) [concrete] +// CHECK:STDOUT: %custom_witness.b26: = custom_witness (%O.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.160: %Default.type = facet_value %O, (%custom_witness.b26) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.793: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.160) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %O, (%DefaultOrUnformed.impl_witness.793) [concrete] // CHECK:STDOUT: %O.cpp_destructor.type: type = fn_type @O.cpp_destructor [concrete] // CHECK:STDOUT: %O.cpp_destructor: %O.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -963,8 +963,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%c.param: %C) { @@ -980,7 +980,7 @@ fn F() { // CHECK:STDOUT: %x.var_patt: %pattern_type.554 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %O = var %x.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%O, (constants.%DefaultOrUnformed.impl_witness.1cc) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%O, (constants.%DefaultOrUnformed.impl_witness.793) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc9_22.1: %DefaultOrUnformed.type = converted constants.%O, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc9_22.1 [concrete = constants.%O] // CHECK:STDOUT: %.loc9_22.2: type = converted %.loc9_22.1, %as_type [concrete = constants.%O] diff --git a/toolchain/check/testdata/interop/cpp/function/import/decayed_param.carbon b/toolchain/check/testdata/interop/cpp/function/import/decayed_param.carbon index 00cd2fc7633a..7d0eda404566 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/decayed_param.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/decayed_param.carbon @@ -82,94 +82,94 @@ fn F() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete] -// CHECK:STDOUT: %array_type.fbc: type = array_type %int_42, %i32 [concrete] +// CHECK:STDOUT: %array_type.abd: type = array_type %int_42, %i32 [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.b64: type = pattern_type %array_type.fbc [concrete] +// CHECK:STDOUT: %pattern_type.453: type = pattern_type %array_type.abd [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %UnformedInit.type: type = facet_type <@UnformedInit> [concrete] -// CHECK:STDOUT: %T.35b: %UnformedInit.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.52c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op.2, @T.as_type.as.DefaultOrUnformed.impl.98d(%T.35b) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.c99: %T.as_type.as.DefaultOrUnformed.impl.Op.type.52c = struct_value () [symbolic] +// CHECK:STDOUT: %T.4a7: %UnformedInit.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.a43: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op.2, @T.as_type.as.DefaultOrUnformed.impl.01f(%T.4a7) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.106: %T.as_type.as.DefaultOrUnformed.impl.Op.type.a43 = struct_value () [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %UnformedInit.impl_witness.512: = impl_witness imports.%UnformedInit.impl_witness_table.6b4, @Int.as.UnformedInit.impl(%int_32) [concrete] -// CHECK:STDOUT: %UnformedInit.facet.5e9: %UnformedInit.type = facet_value %i32, (%UnformedInit.impl_witness.512) [concrete] -// CHECK:STDOUT: %UnformedInit.impl_witness.437: = impl_witness imports.%UnformedInit.impl_witness_table.a8b, @array_type.as.UnformedInit.impl(%UnformedInit.facet.5e9, %int_42) [concrete] -// CHECK:STDOUT: %UnformedInit.facet.e5f: %UnformedInit.type = facet_value %array_type.fbc, (%UnformedInit.impl_witness.437) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.478: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.060, @T.as_type.as.DefaultOrUnformed.impl.98d(%UnformedInit.facet.e5f) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %array_type.fbc, (%DefaultOrUnformed.impl_witness.478) [concrete] +// CHECK:STDOUT: %UnformedInit.impl_witness.f86: = impl_witness imports.%UnformedInit.impl_witness_table.d46, @Int.as.UnformedInit.impl(%int_32) [concrete] +// CHECK:STDOUT: %UnformedInit.facet.820: %UnformedInit.type = facet_value %i32, (%UnformedInit.impl_witness.f86) [concrete] +// CHECK:STDOUT: %UnformedInit.impl_witness.743: = impl_witness imports.%UnformedInit.impl_witness_table.e8d, @array_type.as.UnformedInit.impl(%UnformedInit.facet.820, %int_42) [concrete] +// CHECK:STDOUT: %UnformedInit.facet.8a3: %UnformedInit.type = facet_value %array_type.abd, (%UnformedInit.impl_witness.743) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.e7a: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.8fb, @T.as_type.as.DefaultOrUnformed.impl.01f(%UnformedInit.facet.8a3) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %array_type.abd, (%DefaultOrUnformed.impl_witness.e7a) [concrete] // CHECK:STDOUT: %TakesArray.cpp_overload_set.type: type = cpp_overload_set_type @TakesArray.cpp_overload_set [concrete] // CHECK:STDOUT: %TakesArray.cpp_overload_set.value: %TakesArray.cpp_overload_set.type = cpp_overload_set_value @TakesArray.cpp_overload_set [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ddb: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.5ea: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ddb) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.724: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.5ea) [concrete] -// CHECK:STDOUT: %.fa3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.724, %ImplicitAs.facet.5ea [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.840: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.840) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet.840 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] -// CHECK:STDOUT: %T.390: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.4e7: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.876: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.0f5: %ptr.as.OptionalStorage.impl.Some.type.876 = struct_value () [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.type.ed5: type = fn_type @ptr.as.OptionalStorage.impl.None, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.503: %ptr.as.OptionalStorage.impl.None.type.ed5 = struct_value () [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.1: = custom_witness (%Destroy.Op.1dc86d.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.959: %Destroy.type = facet_value %ptr.143, (%custom_witness.340963.1) [concrete] -// CHECK:STDOUT: %MaybeUnformed.5a6: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.959) [concrete] -// CHECK:STDOUT: %OptionalStorage.impl_witness.bb3: = impl_witness imports.%OptionalStorage.impl_witness_table.a9e, @ptr.as.OptionalStorage.impl(%i32) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet.777: %OptionalStorage.type = facet_value %ptr.143, (%OptionalStorage.impl_witness.bb3) [concrete] -// CHECK:STDOUT: %Optional.d6f: type = class_type @Optional, @Optional(%OptionalStorage.facet.777) [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.7a7: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.d46: %ptr.as.OptionalStorage.impl.Some.type.7a7 = struct_value () [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.type.da2: type = fn_type @ptr.as.OptionalStorage.impl.None, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.41b: %ptr.as.OptionalStorage.impl.None.type.da2 = struct_value () [symbolic] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.1: = custom_witness (%Destroy.Op.2dd605.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.2a8: %Destroy.type = facet_value %ptr.847, (%custom_witness.e20f1f.1) [concrete] +// CHECK:STDOUT: %MaybeUnformed.088: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.2a8) [concrete] +// CHECK:STDOUT: %OptionalStorage.impl_witness.b2d: = impl_witness imports.%OptionalStorage.impl_witness_table.b48, @ptr.as.OptionalStorage.impl(%i32) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet.130: %OptionalStorage.type = facet_value %ptr.847, (%OptionalStorage.impl_witness.b2d) [concrete] +// CHECK:STDOUT: %Optional.cb5: type = class_type @Optional, @Optional(%OptionalStorage.facet.130) [concrete] // CHECK:STDOUT: %TakesArray.type: type = fn_type @TakesArray [concrete] // CHECK:STDOUT: %TakesArray: %TakesArray.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.5c0: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.d6f)> [concrete] -// CHECK:STDOUT: %OptionalAs.type.c8f: type = facet_type <@OptionalAs, @OptionalAs(%T.390)> [symbolic] -// CHECK:STDOUT: %U.00a: %OptionalAs.type.c8f = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.ba3: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.20a(%T.390, %U.00a) [symbolic] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.7c5: %U.as_type.as.ImplicitAs.impl.Convert.type.ba3 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.type.8a8: type = facet_type <@OptionalAs, @OptionalAs(%OptionalStorage.facet.777)> [concrete] -// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.type.135: type = fn_type @T.as_type.as.OptionalAs.impl.Convert, @T.as_type.as.OptionalAs.impl(%T.390) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.8c2: %T.as_type.as.OptionalAs.impl.Convert.type.135 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.impl_witness.4cc: = impl_witness imports.%OptionalAs.impl_witness_table.b79, @T.as_type.as.OptionalAs.impl(%OptionalStorage.facet.777) [concrete] -// CHECK:STDOUT: %OptionalAs.facet: %OptionalAs.type.8a8 = facet_value %ptr.143, (%OptionalAs.impl_witness.4cc) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.9e1: = impl_witness imports.%ImplicitAs.impl_witness_table.95e, @U.as_type.as.ImplicitAs.impl.20a(%OptionalStorage.facet.777, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.7f5: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.20a(%OptionalStorage.facet.777, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.b9b: %U.as_type.as.ImplicitAs.impl.Convert.type.7f5 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.651: %ImplicitAs.type.5c0 = facet_value %ptr.143, (%ImplicitAs.impl_witness.9e1) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.676: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.d6f, %ImplicitAs.facet.651) [concrete] -// CHECK:STDOUT: %.a19: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.676, %ImplicitAs.facet.651 [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %U.as_type.as.ImplicitAs.impl.Convert.b9b, @U.as_type.as.ImplicitAs.impl.Convert.2(%OptionalStorage.facet.777, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.68a: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.cb5)> [concrete] +// CHECK:STDOUT: %OptionalAs.type.c01: type = facet_type <@OptionalAs, @OptionalAs(%T.4e7)> [symbolic] +// CHECK:STDOUT: %U.847: %OptionalAs.type.c01 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.d99: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.1e6(%T.4e7, %U.847) [symbolic] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.401: %U.as_type.as.ImplicitAs.impl.Convert.type.d99 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.type.9bf: type = facet_type <@OptionalAs, @OptionalAs(%OptionalStorage.facet.130)> [concrete] +// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.type.b97: type = fn_type @T.as_type.as.OptionalAs.impl.Convert, @T.as_type.as.OptionalAs.impl(%T.4e7) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.a9b: %T.as_type.as.OptionalAs.impl.Convert.type.b97 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.impl_witness.e6a: = impl_witness imports.%OptionalAs.impl_witness_table.973, @T.as_type.as.OptionalAs.impl(%OptionalStorage.facet.130) [concrete] +// CHECK:STDOUT: %OptionalAs.facet: %OptionalAs.type.9bf = facet_value %ptr.847, (%OptionalAs.impl_witness.e6a) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3cc: = impl_witness imports.%ImplicitAs.impl_witness_table.5f2, @U.as_type.as.ImplicitAs.impl.1e6(%OptionalStorage.facet.130, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.ee3: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.1e6(%OptionalStorage.facet.130, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.dc8: %U.as_type.as.ImplicitAs.impl.Convert.type.ee3 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.2c5: %ImplicitAs.type.68a = facet_value %ptr.847, (%ImplicitAs.impl_witness.3cc) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.815: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.cb5, %ImplicitAs.facet.2c5) [concrete] +// CHECK:STDOUT: %.ece: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.815, %ImplicitAs.facet.2c5 [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %U.as_type.as.ImplicitAs.impl.Convert.dc8, @U.as_type.as.ImplicitAs.impl.Convert.2(%OptionalStorage.facet.130, %OptionalAs.facet) [concrete] // CHECK:STDOUT: %Cpp.nullptr_t: type = class_type @NullptrT [concrete] // CHECK:STDOUT: %uninit: %Cpp.nullptr_t = uninitialized_value [concrete] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.aca: type = fn_type @Cpp.nullptr_t.as.ImplicitAs.impl.Convert, @Cpp.nullptr_t.as.ImplicitAs.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.0a3: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.aca = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.91e: = impl_witness imports.%ImplicitAs.impl_witness_table.c1c, @Cpp.nullptr_t.as.ImplicitAs.impl(%i32) [concrete] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.222: type = fn_type @Cpp.nullptr_t.as.ImplicitAs.impl.Convert, @Cpp.nullptr_t.as.ImplicitAs.impl(%i32) [concrete] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.976: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.222 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.737: %ImplicitAs.type.5c0 = facet_value %Cpp.nullptr_t, (%ImplicitAs.impl_witness.91e) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bb2: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.d6f, %ImplicitAs.facet.737) [concrete] -// CHECK:STDOUT: %.10b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bb2, %ImplicitAs.facet.737 [concrete] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.bound: = bound_method %uninit, %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.976 [concrete] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.976, @Cpp.nullptr_t.as.ImplicitAs.impl.Convert(%i32) [concrete] -// CHECK:STDOUT: %bound_method.42b: = bound_method %uninit, %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc13_21.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.7: type = fn_type @Destroy.Op.loc10_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.7: %Destroy.Op.type.af7ec0.7 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.ce7: type = fn_type @Cpp.nullptr_t.as.ImplicitAs.impl.Convert, @Cpp.nullptr_t.as.ImplicitAs.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.4ce: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.ce7 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.c1f: = impl_witness imports.%ImplicitAs.impl_witness_table.193, @Cpp.nullptr_t.as.ImplicitAs.impl(%i32) [concrete] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.769: type = fn_type @Cpp.nullptr_t.as.ImplicitAs.impl.Convert, @Cpp.nullptr_t.as.ImplicitAs.impl(%i32) [concrete] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.6b5: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.769 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.1f1: %ImplicitAs.type.68a = facet_value %Cpp.nullptr_t, (%ImplicitAs.impl_witness.c1f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.d2e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.cb5, %ImplicitAs.facet.1f1) [concrete] +// CHECK:STDOUT: %.d07: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.d2e, %ImplicitAs.facet.1f1 [concrete] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.bound: = bound_method %uninit, %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.6b5 [concrete] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.6b5, @Cpp.nullptr_t.as.ImplicitAs.impl.Convert(%i32) [concrete] +// CHECK:STDOUT: %bound_method.074: = bound_method %uninit, %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc13_21.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.7: type = fn_type @Destroy.Op.loc10_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.7: %Destroy.Op.type.790b3b.7 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -178,114 +178,114 @@ fn F() { // CHECK:STDOUT: .nullptr = @F.%uninit // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.2a3: @T.as_type.as.DefaultOrUnformed.impl.98d.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.52c) = import_ref Core//prelude/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.98d.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.c99)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.060 = impl_witness_table (%Core.import_ref.2a3), @T.as_type.as.DefaultOrUnformed.impl.98d [concrete] -// CHECK:STDOUT: %UnformedInit.impl_witness_table.a8b = impl_witness_table (), @array_type.as.UnformedInit.impl [concrete] -// CHECK:STDOUT: %UnformedInit.impl_witness_table.6b4 = impl_witness_table (), @Int.as.UnformedInit.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.876: @T.as_type.as.DefaultOrUnformed.impl.01f.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.a43) = import_ref Core//prelude/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.01f.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.106)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.8fb = impl_witness_table (%Core.import_ref.876), @T.as_type.as.DefaultOrUnformed.impl.01f [concrete] +// CHECK:STDOUT: %UnformedInit.impl_witness_table.e8d = impl_witness_table (), @array_type.as.UnformedInit.impl [concrete] +// CHECK:STDOUT: %UnformedInit.impl_witness_table.d46 = impl_witness_table (), @Int.as.UnformedInit.impl [concrete] // CHECK:STDOUT: %TakesArray.cpp_overload_set.value: %TakesArray.cpp_overload_set.type = cpp_overload_set_value @TakesArray.cpp_overload_set [concrete = constants.%TakesArray.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.fff: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None.type (%ptr.as.OptionalStorage.impl.None.type.ed5) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None (constants.%ptr.as.OptionalStorage.impl.None.503)] -// CHECK:STDOUT: %Core.import_ref.6b0: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.876) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.0f5)] -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.259 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.a9e = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.fff, %Core.import_ref.6b0, %Core.import_ref.017, %Core.import_ref.259, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.d20: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None.type (%ptr.as.OptionalStorage.impl.None.type.da2) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None (constants.%ptr.as.OptionalStorage.impl.None.41b)] +// CHECK:STDOUT: %Core.import_ref.ed3: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.7a7) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.d46)] +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d18 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.4ad4 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.b48 = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.d20, %Core.import_ref.ed3, %Core.import_ref.b33, %Core.import_ref.d18, %Core.import_ref.4ad4), @ptr.as.OptionalStorage.impl [concrete] // CHECK:STDOUT: %TakesArray.decl: %TakesArray.type = fn_decl @TakesArray [concrete = constants.%TakesArray] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: -// CHECK:STDOUT: %.loc11_23.1: type = splice_block %Optional [concrete = constants.%Optional.d6f] { +// CHECK:STDOUT: %.loc11_23.1: type = splice_block %Optional [concrete = constants.%Optional.cb5] { // CHECK:STDOUT: -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.143, (constants.%OptionalStorage.impl_witness.bb3) [concrete = constants.%OptionalStorage.facet.777] -// CHECK:STDOUT: %.loc11_23.2: %OptionalStorage.type = converted constants.%ptr.143, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.777] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.777) [concrete = constants.%Optional.d6f] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.847, (constants.%OptionalStorage.impl_witness.b2d) [concrete = constants.%OptionalStorage.facet.130] +// CHECK:STDOUT: %.loc11_23.2: %OptionalStorage.type = converted constants.%ptr.847, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.130] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.130) [concrete = constants.%Optional.cb5] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.a20e: @U.as_type.as.ImplicitAs.impl.20a.%U.as_type.as.ImplicitAs.impl.Convert.type (%U.as_type.as.ImplicitAs.impl.Convert.type.ba3) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @U.as_type.as.ImplicitAs.impl.20a.%U.as_type.as.ImplicitAs.impl.Convert (constants.%U.as_type.as.ImplicitAs.impl.Convert.7c5)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.95e = impl_witness_table (%Core.import_ref.a20e), @U.as_type.as.ImplicitAs.impl.20a [concrete] -// CHECK:STDOUT: %Core.import_ref.9b2: @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert.type (%T.as_type.as.OptionalAs.impl.Convert.type.135) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert (constants.%T.as_type.as.OptionalAs.impl.Convert.8c2)] -// CHECK:STDOUT: %OptionalAs.impl_witness_table.b79 = impl_witness_table (%Core.import_ref.9b2), @T.as_type.as.OptionalAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.f12: @Cpp.nullptr_t.as.ImplicitAs.impl.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type (%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.aca) = import_ref Core//prelude/types/cpp/nullptr, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.nullptr_t.as.ImplicitAs.impl.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert (constants.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.0a3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.c1c = impl_witness_table (%Core.import_ref.f12), @Cpp.nullptr_t.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ce3: @U.as_type.as.ImplicitAs.impl.1e6.%U.as_type.as.ImplicitAs.impl.Convert.type (%U.as_type.as.ImplicitAs.impl.Convert.type.d99) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @U.as_type.as.ImplicitAs.impl.1e6.%U.as_type.as.ImplicitAs.impl.Convert (constants.%U.as_type.as.ImplicitAs.impl.Convert.401)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.5f2 = impl_witness_table (%Core.import_ref.ce3), @U.as_type.as.ImplicitAs.impl.1e6 [concrete] +// CHECK:STDOUT: %Core.import_ref.cb8: @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert.type (%T.as_type.as.OptionalAs.impl.Convert.type.b97) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert (constants.%T.as_type.as.OptionalAs.impl.Convert.a9b)] +// CHECK:STDOUT: %OptionalAs.impl_witness_table.973 = impl_witness_table (%Core.import_ref.cb8), @T.as_type.as.OptionalAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.709: @Cpp.nullptr_t.as.ImplicitAs.impl.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type (%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.ce7) = import_ref Core//prelude/types/cpp/nullptr, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.nullptr_t.as.ImplicitAs.impl.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert (constants.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.4ce)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.193 = impl_witness_table (%Core.import_ref.709), @Cpp.nullptr_t.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.b64 = ref_binding_pattern n [concrete] -// CHECK:STDOUT: %n.var_patt: %pattern_type.b64 = var_pattern %n.patt [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.453 = ref_binding_pattern n [concrete] +// CHECK:STDOUT: %n.var_patt: %pattern_type.453 = var_pattern %n.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %n.var: ref %array_type.fbc = var %n.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%array_type.fbc, (constants.%DefaultOrUnformed.impl_witness.478) [concrete = constants.%DefaultOrUnformed.facet] -// CHECK:STDOUT: %.loc10_24.1: %DefaultOrUnformed.type = converted constants.%array_type.fbc, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] -// CHECK:STDOUT: %as_type: type = facet_access_type %.loc10_24.1 [concrete = constants.%array_type.fbc] -// CHECK:STDOUT: %.loc10_24.2: type = converted %.loc10_24.1, %as_type [concrete = constants.%array_type.fbc] +// CHECK:STDOUT: %n.var: ref %array_type.abd = var %n.var_patt +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%array_type.abd, (constants.%DefaultOrUnformed.impl_witness.e7a) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %.loc10_24.1: %DefaultOrUnformed.type = converted constants.%array_type.abd, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %as_type: type = facet_access_type %.loc10_24.1 [concrete = constants.%array_type.abd] +// CHECK:STDOUT: %.loc10_24.2: type = converted %.loc10_24.1, %as_type [concrete = constants.%array_type.abd] // CHECK:STDOUT: -// CHECK:STDOUT: %.loc10_3: ref %array_type.fbc = splice_block %n.var {} -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.call: init %array_type.fbc to %.loc10_3 = call %T.as_type.as.DefaultOrUnformed.impl.Op.specific_fn() +// CHECK:STDOUT: %.loc10_3: ref %array_type.abd = splice_block %n.var {} +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.call: init %array_type.abd to %.loc10_3 = call %T.as_type.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %n.var, %T.as_type.as.DefaultOrUnformed.impl.Op.call -// CHECK:STDOUT: %.loc10_23: type = splice_block %array_type [concrete = constants.%array_type.fbc] { +// CHECK:STDOUT: %.loc10_23: type = splice_block %array_type [concrete = constants.%array_type.abd] { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete = constants.%int_42] -// CHECK:STDOUT: %array_type: type = array_type %int_42, %i32 [concrete = constants.%array_type.fbc] +// CHECK:STDOUT: %array_type: type = array_type %int_42, %i32 [concrete = constants.%array_type.abd] // CHECK:STDOUT: } -// CHECK:STDOUT: %n: ref %array_type.fbc = ref_binding n, %n.var +// CHECK:STDOUT: %n: ref %array_type.abd = ref_binding n, %n.var // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %TakesArray.ref.loc11: %TakesArray.cpp_overload_set.type = name_ref TakesArray, imports.%TakesArray.cpp_overload_set.value [concrete = constants.%TakesArray.cpp_overload_set.value] -// CHECK:STDOUT: %n.ref: ref %array_type.fbc = name_ref n, %n +// CHECK:STDOUT: %n.ref: ref %array_type.abd = name_ref n, %n // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc11_21: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc11_21: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc11_21.1: = bound_method %int_0, %impl.elem0.loc11_21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_21: = specific_function %impl.elem0.loc11_21, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_21.2: = bound_method %int_0, %specific_fn.loc11_21 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc11_21.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc11_21.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc11_21.2: %i32 = converted %int_0, %.loc11_21.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc11_21.2: = bound_method %int_0, %specific_fn.loc11_21 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc11_21.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc11_21.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc11_21.2: %i32 = converted %int_0, %.loc11_21.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc11_22: ref %i32 = array_index %n.ref, %.loc11_21.2 -// CHECK:STDOUT: %addr: %ptr.143 = addr_of %.loc11_22 -// CHECK:STDOUT: %impl.elem0.loc11_18: %.a19 = impl_witness_access constants.%ImplicitAs.impl_witness.9e1, element0 [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.b9b] +// CHECK:STDOUT: %addr: %ptr.847 = addr_of %.loc11_22 +// CHECK:STDOUT: %impl.elem0.loc11_18: %.ece = impl_witness_access constants.%ImplicitAs.impl_witness.3cc, element0 [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.dc8] // CHECK:STDOUT: %bound_method.loc11_18.1: = bound_method %addr, %impl.elem0.loc11_18 -// CHECK:STDOUT: %specific_fn.loc11_18: = specific_function %impl.elem0.loc11_18, @U.as_type.as.ImplicitAs.impl.Convert.2(constants.%OptionalStorage.facet.777, constants.%OptionalAs.facet) [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.specific_fn] +// CHECK:STDOUT: %specific_fn.loc11_18: = specific_function %impl.elem0.loc11_18, @U.as_type.as.ImplicitAs.impl.Convert.2(constants.%OptionalStorage.facet.130, constants.%OptionalAs.facet) [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc11_18.2: = bound_method %addr, %specific_fn.loc11_18 -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call: init %Optional.d6f = call %bound_method.loc11_18.2(%addr) -// CHECK:STDOUT: %.loc11_18.1: init %Optional.d6f = converted %addr, %U.as_type.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %.loc11_18.2: ref %Optional.d6f = temporary_storage -// CHECK:STDOUT: %.loc11_18.3: ref %Optional.d6f = temporary %.loc11_18.2, %.loc11_18.1 -// CHECK:STDOUT: %.loc11_18.4: %Optional.d6f = acquire_value %.loc11_18.3 +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call: init %Optional.cb5 = call %bound_method.loc11_18.2(%addr) +// CHECK:STDOUT: %.loc11_18.1: init %Optional.cb5 = converted %addr, %U.as_type.as.ImplicitAs.impl.Convert.call +// CHECK:STDOUT: %.loc11_18.2: ref %Optional.cb5 = temporary_storage +// CHECK:STDOUT: %.loc11_18.3: ref %Optional.cb5 = temporary %.loc11_18.2, %.loc11_18.1 +// CHECK:STDOUT: %.loc11_18.4: %Optional.cb5 = acquire_value %.loc11_18.3 // CHECK:STDOUT: %TakesArray.call.loc11: init %empty_tuple.type = call imports.%TakesArray.decl(%.loc11_18.4) // CHECK:STDOUT: %Cpp.ref.loc13_3: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %TakesArray.ref.loc13: %TakesArray.cpp_overload_set.type = name_ref TakesArray, imports.%TakesArray.cpp_overload_set.value [concrete = constants.%TakesArray.cpp_overload_set.value] // CHECK:STDOUT: %Cpp.ref.loc13_18: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: // CHECK:STDOUT: %nullptr.ref: %Cpp.nullptr_t = name_ref nullptr, %uninit [concrete = constants.%uninit] -// CHECK:STDOUT: %impl.elem0.loc13: %.10b = impl_witness_access constants.%ImplicitAs.impl_witness.91e, element0 [concrete = constants.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.976] +// CHECK:STDOUT: %impl.elem0.loc13: %.d07 = impl_witness_access constants.%ImplicitAs.impl_witness.c1f, element0 [concrete = constants.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.6b5] // CHECK:STDOUT: %bound_method.loc13_21.1: = bound_method %nullptr.ref, %impl.elem0.loc13 [concrete = constants.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13, @Cpp.nullptr_t.as.ImplicitAs.impl.Convert(constants.%i32) [concrete = constants.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_21.2: = bound_method %nullptr.ref, %specific_fn.loc13 [concrete = constants.%bound_method.42b] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call: init %Optional.d6f = call %bound_method.loc13_21.2(%nullptr.ref) -// CHECK:STDOUT: %.loc13_21.1: init %Optional.d6f = converted %nullptr.ref, %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %.loc13_21.2: ref %Optional.d6f = temporary_storage -// CHECK:STDOUT: %.loc13_21.3: ref %Optional.d6f = temporary %.loc13_21.2, %.loc13_21.1 -// CHECK:STDOUT: %.loc13_21.4: %Optional.d6f = acquire_value %.loc13_21.3 +// CHECK:STDOUT: %bound_method.loc13_21.2: = bound_method %nullptr.ref, %specific_fn.loc13 [concrete = constants.%bound_method.074] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call: init %Optional.cb5 = call %bound_method.loc13_21.2(%nullptr.ref) +// CHECK:STDOUT: %.loc13_21.1: init %Optional.cb5 = converted %nullptr.ref, %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call +// CHECK:STDOUT: %.loc13_21.2: ref %Optional.cb5 = temporary_storage +// CHECK:STDOUT: %.loc13_21.3: ref %Optional.cb5 = temporary %.loc13_21.2, %.loc13_21.1 +// CHECK:STDOUT: %.loc13_21.4: %Optional.cb5 = acquire_value %.loc13_21.3 // CHECK:STDOUT: %TakesArray.call.loc13: init %empty_tuple.type = call imports.%TakesArray.decl(%.loc13_21.4) -// CHECK:STDOUT: %Destroy.Op.bound.loc13: = bound_method %.loc13_21.3, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc13: = bound_method %.loc13_21.3, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc13: init %empty_tuple.type = call %Destroy.Op.bound.loc13(%.loc13_21.3) -// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %.loc11_18.3, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %.loc11_18.3, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc11: init %empty_tuple.type = call %Destroy.Op.bound.loc11(%.loc11_18.3) -// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %n.var, constants.%Destroy.Op.1dc86d.7 +// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %n.var, constants.%Destroy.Op.2dd605.7 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%n.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13_21.1(%self.param: ref %MaybeUnformed.5a6) { +// CHECK:STDOUT: fn @Destroy.Op.loc13_21.1(%self.param: ref %MaybeUnformed.088) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13_21.2(%self.param: ref %Optional.d6f) { +// CHECK:STDOUT: fn @Destroy.Op.loc13_21.2(%self.param: ref %Optional.cb5) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -297,7 +297,7 @@ fn F() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_3.3(%self.param: ref %array_type.fbc) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_3.3(%self.param: ref %array_type.abd) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -315,40 +315,40 @@ fn F() { // CHECK:STDOUT: %Function.cpp_overload_set.type: type = cpp_overload_set_type @Function.cpp_overload_set [concrete] // CHECK:STDOUT: %Function.cpp_overload_set.value: %Function.cpp_overload_set.type = cpp_overload_set_value @Function.cpp_overload_set [concrete] // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete] -// CHECK:STDOUT: %array_type.fbc: type = array_type %int_42, %i32 [concrete] +// CHECK:STDOUT: %array_type.abd: type = array_type %int_42, %i32 [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.b64: type = pattern_type %array_type.fbc [concrete] +// CHECK:STDOUT: %pattern_type.453: type = pattern_type %array_type.abd [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %UnformedInit.type: type = facet_type <@UnformedInit> [concrete] -// CHECK:STDOUT: %T.35b: %UnformedInit.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.52c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op.2, @T.as_type.as.DefaultOrUnformed.impl.98d(%T.35b) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.c99: %T.as_type.as.DefaultOrUnformed.impl.Op.type.52c = struct_value () [symbolic] -// CHECK:STDOUT: %UnformedInit.impl_witness.512: = impl_witness imports.%UnformedInit.impl_witness_table.6b4, @Int.as.UnformedInit.impl(%int_32) [concrete] -// CHECK:STDOUT: %UnformedInit.facet.5e9: %UnformedInit.type = facet_value %i32, (%UnformedInit.impl_witness.512) [concrete] -// CHECK:STDOUT: %UnformedInit.impl_witness.437: = impl_witness imports.%UnformedInit.impl_witness_table.a8b, @array_type.as.UnformedInit.impl(%UnformedInit.facet.5e9, %int_42) [concrete] -// CHECK:STDOUT: %UnformedInit.facet.e5f: %UnformedInit.type = facet_value %array_type.fbc, (%UnformedInit.impl_witness.437) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.478: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.060, @T.as_type.as.DefaultOrUnformed.impl.98d(%UnformedInit.facet.e5f) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %array_type.fbc, (%DefaultOrUnformed.impl_witness.478) [concrete] +// CHECK:STDOUT: %T.4a7: %UnformedInit.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.a43: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op.2, @T.as_type.as.DefaultOrUnformed.impl.01f(%T.4a7) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.106: %T.as_type.as.DefaultOrUnformed.impl.Op.type.a43 = struct_value () [symbolic] +// CHECK:STDOUT: %UnformedInit.impl_witness.f86: = impl_witness imports.%UnformedInit.impl_witness_table.d46, @Int.as.UnformedInit.impl(%int_32) [concrete] +// CHECK:STDOUT: %UnformedInit.facet.820: %UnformedInit.type = facet_value %i32, (%UnformedInit.impl_witness.f86) [concrete] +// CHECK:STDOUT: %UnformedInit.impl_witness.743: = impl_witness imports.%UnformedInit.impl_witness_table.e8d, @array_type.as.UnformedInit.impl(%UnformedInit.facet.820, %int_42) [concrete] +// CHECK:STDOUT: %UnformedInit.facet.8a3: %UnformedInit.type = facet_value %array_type.abd, (%UnformedInit.impl_witness.743) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.e7a: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.8fb, @T.as_type.as.DefaultOrUnformed.impl.01f(%UnformedInit.facet.8a3) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %array_type.abd, (%DefaultOrUnformed.impl_witness.e7a) [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ddb: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ddb) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.724: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.fa3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.724, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] // CHECK:STDOUT: %Cpp.nullptr_t: type = class_type @NullptrT [concrete] // CHECK:STDOUT: %uninit: %Cpp.nullptr_t = uninitialized_value [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc22_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc22_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -360,12 +360,12 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %TakesFunction.cpp_overload_set.value: %TakesFunction.cpp_overload_set.type = cpp_overload_set_value @TakesFunction.cpp_overload_set [concrete = constants.%TakesFunction.cpp_overload_set.value] // CHECK:STDOUT: %Function.cpp_overload_set.value: %Function.cpp_overload_set.type = cpp_overload_set_value @Function.cpp_overload_set [concrete = constants.%Function.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.2a3: @T.as_type.as.DefaultOrUnformed.impl.98d.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.52c) = import_ref Core//prelude/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.98d.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.c99)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.060 = impl_witness_table (%Core.import_ref.2a3), @T.as_type.as.DefaultOrUnformed.impl.98d [concrete] -// CHECK:STDOUT: %UnformedInit.impl_witness_table.a8b = impl_witness_table (), @array_type.as.UnformedInit.impl [concrete] -// CHECK:STDOUT: %UnformedInit.impl_witness_table.6b4 = impl_witness_table (), @Int.as.UnformedInit.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.876: @T.as_type.as.DefaultOrUnformed.impl.01f.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.a43) = import_ref Core//prelude/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.01f.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.106)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.8fb = impl_witness_table (%Core.import_ref.876), @T.as_type.as.DefaultOrUnformed.impl.01f [concrete] +// CHECK:STDOUT: %UnformedInit.impl_witness_table.e8d = impl_witness_table (), @array_type.as.UnformedInit.impl [concrete] +// CHECK:STDOUT: %UnformedInit.impl_witness_table.d46 = impl_witness_table (), @Int.as.UnformedInit.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -378,43 +378,43 @@ fn F() { // CHECK:STDOUT: %Cpp.ref.loc20_21: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %Function.ref: %Function.cpp_overload_set.type = name_ref Function, imports.%Function.cpp_overload_set.value [concrete = constants.%Function.cpp_overload_set.value] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.b64 = ref_binding_pattern n [concrete] -// CHECK:STDOUT: %n.var_patt: %pattern_type.b64 = var_pattern %n.patt [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.453 = ref_binding_pattern n [concrete] +// CHECK:STDOUT: %n.var_patt: %pattern_type.453 = var_pattern %n.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %n.var: ref %array_type.fbc = var %n.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%array_type.fbc, (constants.%DefaultOrUnformed.impl_witness.478) [concrete = constants.%DefaultOrUnformed.facet] -// CHECK:STDOUT: %.loc22_24.1: %DefaultOrUnformed.type = converted constants.%array_type.fbc, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] -// CHECK:STDOUT: %as_type: type = facet_access_type %.loc22_24.1 [concrete = constants.%array_type.fbc] -// CHECK:STDOUT: %.loc22_24.2: type = converted %.loc22_24.1, %as_type [concrete = constants.%array_type.fbc] +// CHECK:STDOUT: %n.var: ref %array_type.abd = var %n.var_patt +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%array_type.abd, (constants.%DefaultOrUnformed.impl_witness.e7a) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %.loc22_24.1: %DefaultOrUnformed.type = converted constants.%array_type.abd, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %as_type: type = facet_access_type %.loc22_24.1 [concrete = constants.%array_type.abd] +// CHECK:STDOUT: %.loc22_24.2: type = converted %.loc22_24.1, %as_type [concrete = constants.%array_type.abd] // CHECK:STDOUT: -// CHECK:STDOUT: %.loc22_3: ref %array_type.fbc = splice_block %n.var {} -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.call: init %array_type.fbc to %.loc22_3 = call %T.as_type.as.DefaultOrUnformed.impl.Op.specific_fn() +// CHECK:STDOUT: %.loc22_3: ref %array_type.abd = splice_block %n.var {} +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.call: init %array_type.abd to %.loc22_3 = call %T.as_type.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %n.var, %T.as_type.as.DefaultOrUnformed.impl.Op.call -// CHECK:STDOUT: %.loc22_23: type = splice_block %array_type [concrete = constants.%array_type.fbc] { +// CHECK:STDOUT: %.loc22_23: type = splice_block %array_type [concrete = constants.%array_type.abd] { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete = constants.%int_42] -// CHECK:STDOUT: %array_type: type = array_type %int_42, %i32 [concrete = constants.%array_type.fbc] +// CHECK:STDOUT: %array_type: type = array_type %int_42, %i32 [concrete = constants.%array_type.abd] // CHECK:STDOUT: } -// CHECK:STDOUT: %n: ref %array_type.fbc = ref_binding n, %n.var +// CHECK:STDOUT: %n: ref %array_type.abd = ref_binding n, %n.var // CHECK:STDOUT: %Cpp.ref.loc31: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %TakesFunction.ref.loc31: %TakesFunction.cpp_overload_set.type = name_ref TakesFunction, imports.%TakesFunction.cpp_overload_set.value [concrete = constants.%TakesFunction.cpp_overload_set.value] -// CHECK:STDOUT: %n.ref: ref %array_type.fbc = name_ref n, %n +// CHECK:STDOUT: %n.ref: ref %array_type.abd = name_ref n, %n // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc31_24.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc31_24.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc31_24.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc31_24.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc31_24.2: %i32 = converted %int_0, %.loc31_24.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc31_24.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc31_24.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc31_24.2: %i32 = converted %int_0, %.loc31_24.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc31_25: ref %i32 = array_index %n.ref, %.loc31_24.2 -// CHECK:STDOUT: %addr: %ptr.143 = addr_of %.loc31_25 +// CHECK:STDOUT: %addr: %ptr.847 = addr_of %.loc31_25 // CHECK:STDOUT: %Cpp.ref.loc37_3: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %TakesFunction.ref.loc37: %TakesFunction.cpp_overload_set.type = name_ref TakesFunction, imports.%TakesFunction.cpp_overload_set.value [concrete = constants.%TakesFunction.cpp_overload_set.value] // CHECK:STDOUT: %Cpp.ref.loc37_21: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: // CHECK:STDOUT: %nullptr.ref: %Cpp.nullptr_t = name_ref nullptr, %uninit [concrete = constants.%uninit] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %n.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %n.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%n.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -426,7 +426,7 @@ fn F() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc22_3.3(%self.param: ref %array_type.fbc) { +// CHECK:STDOUT: fn @Destroy.Op.loc22_3.3(%self.param: ref %array_type.abd) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/function/import/default_arg.carbon b/toolchain/check/testdata/interop/cpp/function/import/default_arg.carbon index 8da46aef2f81..4762ec265e1b 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/default_arg.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/default_arg.carbon @@ -147,32 +147,32 @@ fn Call() { // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %GlobalNoReturn.type: type = fn_type @GlobalNoReturn [concrete] // CHECK:STDOUT: %GlobalNoReturn: %GlobalNoReturn.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] // CHECK:STDOUT: %GlobalReturnInt.cpp_overload_set.type: type = cpp_overload_set_type @GlobalReturnInt.cpp_overload_set [concrete] // CHECK:STDOUT: %GlobalReturnInt.cpp_overload_set.value: %GlobalReturnInt.cpp_overload_set.type = cpp_overload_set_value @GlobalReturnInt.cpp_overload_set [concrete] // CHECK:STDOUT: %GlobalReturnInt.type: type = fn_type @GlobalReturnInt [concrete] @@ -214,8 +214,8 @@ fn Call() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %GlobalReturnInt.cpp_overload_set.value: %GlobalReturnInt.cpp_overload_set.type = cpp_overload_set_value @GlobalReturnInt.cpp_overload_set [concrete = constants.%GlobalReturnInt.cpp_overload_set.value] // CHECK:STDOUT: %GlobalReturnInt.decl: %GlobalReturnInt.type = fn_decl @GlobalReturnInt [concrete = constants.%GlobalReturnInt] { // CHECK:STDOUT: @@ -256,37 +256,37 @@ fn Call() { // CHECK:STDOUT: %int_2.loc8: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %int_3.loc8: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %int_4.loc8: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0.loc8_22: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_22.1: = bound_method %int_1.loc8, %impl.elem0.loc8_22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc8_22: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_22.1: = bound_method %int_1.loc8, %impl.elem0.loc8_22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc8_22: = specific_function %impl.elem0.loc8_22, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_22.2: = bound_method %int_1.loc8, %specific_fn.loc8_22 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22: init %i32 = call %bound_method.loc8_22.2(%int_1.loc8) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_22.2: %i32 = converted %int_1.loc8, %.loc8_22.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc8_25: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_25.1: = bound_method %int_2.loc8, %impl.elem0.loc8_25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc8_22.2: = bound_method %int_1.loc8, %specific_fn.loc8_22 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22: init %i32 = call %bound_method.loc8_22.2(%int_1.loc8) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_22.2: %i32 = converted %int_1.loc8, %.loc8_22.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc8_25: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_25.1: = bound_method %int_2.loc8, %impl.elem0.loc8_25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc8_25: = specific_function %impl.elem0.loc8_25, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_25.2: = bound_method %int_2.loc8, %specific_fn.loc8_25 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_25: init %i32 = call %bound_method.loc8_25.2(%int_2.loc8) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_25.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_25 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_25.2: %i32 = converted %int_2.loc8, %.loc8_25.1 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc8_28: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_28.1: = bound_method %int_3.loc8, %impl.elem0.loc8_28 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %bound_method.loc8_25.2: = bound_method %int_2.loc8, %specific_fn.loc8_25 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_25: init %i32 = call %bound_method.loc8_25.2(%int_2.loc8) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_25.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_25 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_25.2: %i32 = converted %int_2.loc8, %.loc8_25.1 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc8_28: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_28.1: = bound_method %int_3.loc8, %impl.elem0.loc8_28 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc8_28: = specific_function %impl.elem0.loc8_28, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_28.2: = bound_method %int_3.loc8, %specific_fn.loc8_28 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_28: init %i32 = call %bound_method.loc8_28.2(%int_3.loc8) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc8_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_28 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc8_28.2: %i32 = converted %int_3.loc8, %.loc8_28.1 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %impl.elem0.loc8_31: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_31.1: = bound_method %int_4.loc8, %impl.elem0.loc8_31 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %bound_method.loc8_28.2: = bound_method %int_3.loc8, %specific_fn.loc8_28 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_28: init %i32 = call %bound_method.loc8_28.2(%int_3.loc8) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc8_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_28 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc8_28.2: %i32 = converted %int_3.loc8, %.loc8_28.1 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %impl.elem0.loc8_31: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_31.1: = bound_method %int_4.loc8, %impl.elem0.loc8_31 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc8_31: = specific_function %impl.elem0.loc8_31, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_31.2: = bound_method %int_4.loc8, %specific_fn.loc8_31 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_31: init %i32 = call %bound_method.loc8_31.2(%int_4.loc8) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc8_31.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_31 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc8_31.2: %i32 = converted %int_4.loc8, %.loc8_31.1 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %bound_method.loc8_31.2: = bound_method %int_4.loc8, %specific_fn.loc8_31 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_31: init %i32 = call %bound_method.loc8_31.2(%int_4.loc8) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc8_31.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_31 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc8_31.2: %i32 = converted %int_4.loc8, %.loc8_31.1 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: %GlobalNoReturn.call: init %empty_tuple.type = call imports.%GlobalNoReturn.decl(%.loc8_22.2, %.loc8_25.2, %.loc8_28.2, %.loc8_31.2) // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %value.patt: %pattern_type.c6b = value_binding_pattern value [concrete] +// CHECK:STDOUT: %value.patt: %pattern_type.104 = value_binding_pattern value [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %GlobalReturnInt.ref: %GlobalReturnInt.cpp_overload_set.type = name_ref GlobalReturnInt, imports.%GlobalReturnInt.cpp_overload_set.value [concrete = constants.%GlobalReturnInt.cpp_overload_set.value] @@ -294,34 +294,34 @@ fn Call() { // CHECK:STDOUT: %int_2.loc9: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %int_3.loc9: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %int_4.loc9: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0.loc9_47: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_47.1: = bound_method %int_1.loc9, %impl.elem0.loc9_47 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc9_47: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_47.1: = bound_method %int_1.loc9, %impl.elem0.loc9_47 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc9_47: = specific_function %impl.elem0.loc9_47, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_47.2: = bound_method %int_1.loc9, %specific_fn.loc9_47 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_47: init %i32 = call %bound_method.loc9_47.2(%int_1.loc9) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_47.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_47 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_47.2: %i32 = converted %int_1.loc9, %.loc9_47.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc9_50: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_50.1: = bound_method %int_2.loc9, %impl.elem0.loc9_50 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc9_47.2: = bound_method %int_1.loc9, %specific_fn.loc9_47 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_47: init %i32 = call %bound_method.loc9_47.2(%int_1.loc9) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_47.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_47 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_47.2: %i32 = converted %int_1.loc9, %.loc9_47.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc9_50: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_50.1: = bound_method %int_2.loc9, %impl.elem0.loc9_50 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc9_50: = specific_function %impl.elem0.loc9_50, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_50.2: = bound_method %int_2.loc9, %specific_fn.loc9_50 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_50: init %i32 = call %bound_method.loc9_50.2(%int_2.loc9) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc9_50.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_50 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc9_50.2: %i32 = converted %int_2.loc9, %.loc9_50.1 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc9_53: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_53.1: = bound_method %int_3.loc9, %impl.elem0.loc9_53 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %bound_method.loc9_50.2: = bound_method %int_2.loc9, %specific_fn.loc9_50 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_50: init %i32 = call %bound_method.loc9_50.2(%int_2.loc9) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc9_50.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_50 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc9_50.2: %i32 = converted %int_2.loc9, %.loc9_50.1 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc9_53: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_53.1: = bound_method %int_3.loc9, %impl.elem0.loc9_53 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc9_53: = specific_function %impl.elem0.loc9_53, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_53.2: = bound_method %int_3.loc9, %specific_fn.loc9_53 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_53: init %i32 = call %bound_method.loc9_53.2(%int_3.loc9) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc9_53.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_53 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc9_53.2: %i32 = converted %int_3.loc9, %.loc9_53.1 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %impl.elem0.loc9_56: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_56.1: = bound_method %int_4.loc9, %impl.elem0.loc9_56 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %bound_method.loc9_53.2: = bound_method %int_3.loc9, %specific_fn.loc9_53 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_53: init %i32 = call %bound_method.loc9_53.2(%int_3.loc9) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc9_53.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_53 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc9_53.2: %i32 = converted %int_3.loc9, %.loc9_53.1 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %impl.elem0.loc9_56: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_56.1: = bound_method %int_4.loc9, %impl.elem0.loc9_56 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc9_56: = specific_function %impl.elem0.loc9_56, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_56.2: = bound_method %int_4.loc9, %specific_fn.loc9_56 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_56: init %i32 = call %bound_method.loc9_56.2(%int_4.loc9) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc9_56.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_56 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc9_56.2: %i32 = converted %int_4.loc9, %.loc9_56.1 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %bound_method.loc9_56.2: = bound_method %int_4.loc9, %specific_fn.loc9_56 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_56: init %i32 = call %bound_method.loc9_56.2(%int_4.loc9) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc9_56.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_56 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc9_56.2: %i32 = converted %int_4.loc9, %.loc9_56.1 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: %GlobalReturnInt.call: init %i32 = call imports.%GlobalReturnInt.decl(%.loc9_47.2, %.loc9_50.2, %.loc9_53.2, %.loc9_56.2) // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc9_57.1: %i32 = value_of_initializer %GlobalReturnInt.call @@ -339,40 +339,40 @@ fn Call() { // CHECK:STDOUT: %int_1.loc10: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc10: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc10_7.3: %X = acquire_value %.loc10_7.2 [concrete = constants.%X.val] -// CHECK:STDOUT: %impl.elem0.loc10_19: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_19.1: = bound_method %int_1.loc10, %impl.elem0.loc10_19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc10_19: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_19.1: = bound_method %int_1.loc10, %impl.elem0.loc10_19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc10_19: = specific_function %impl.elem0.loc10_19, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_19.2: = bound_method %int_1.loc10, %specific_fn.loc10_19 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_19: init %i32 = call %bound_method.loc10_19.2(%int_1.loc10) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_19.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_19 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_19.2: %i32 = converted %int_1.loc10, %.loc10_19.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc10_22: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_22.1: = bound_method %int_2.loc10, %impl.elem0.loc10_22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc10_19.2: = bound_method %int_1.loc10, %specific_fn.loc10_19 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_19: init %i32 = call %bound_method.loc10_19.2(%int_1.loc10) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_19.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_19 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_19.2: %i32 = converted %int_1.loc10, %.loc10_19.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc10_22: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_22.1: = bound_method %int_2.loc10, %impl.elem0.loc10_22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc10_22: = specific_function %impl.elem0.loc10_22, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_22.2: = bound_method %int_2.loc10, %specific_fn.loc10_22 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_22: init %i32 = call %bound_method.loc10_22.2(%int_2.loc10) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_22 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_22.2: %i32 = converted %int_2.loc10, %.loc10_22.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc10_22.2: = bound_method %int_2.loc10, %specific_fn.loc10_22 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_22: init %i32 = call %bound_method.loc10_22.2(%int_2.loc10) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_22 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_22.2: %i32 = converted %int_2.loc10, %.loc10_22.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %X.B.call: init %empty_tuple.type = call imports.%X.B.decl(%.loc10_7.3, %.loc10_19.2, %.loc10_22.2) // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %X.ref.loc11: type = name_ref X, imports.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %C.ref: %X.C.cpp_overload_set.type = name_ref C, imports.%X.C.cpp_overload_set.value [concrete = constants.%X.C.cpp_overload_set.value] // CHECK:STDOUT: %int_1.loc11: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc11: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc11_11: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc11_11.1: = bound_method %int_1.loc11, %impl.elem0.loc11_11 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc11_11: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc11_11.1: = bound_method %int_1.loc11, %impl.elem0.loc11_11 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc11_11: = specific_function %impl.elem0.loc11_11, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_11.2: = bound_method %int_1.loc11, %specific_fn.loc11_11 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_11: init %i32 = call %bound_method.loc11_11.2(%int_1.loc11) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc11_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_11 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc11_11.2: %i32 = converted %int_1.loc11, %.loc11_11.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc11_14: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc11_14.1: = bound_method %int_2.loc11, %impl.elem0.loc11_14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc11_11.2: = bound_method %int_1.loc11, %specific_fn.loc11_11 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_11: init %i32 = call %bound_method.loc11_11.2(%int_1.loc11) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc11_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_11 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc11_11.2: %i32 = converted %int_1.loc11, %.loc11_11.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc11_14: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc11_14.1: = bound_method %int_2.loc11, %impl.elem0.loc11_14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc11_14: = specific_function %impl.elem0.loc11_14, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_14.2: = bound_method %int_2.loc11, %specific_fn.loc11_14 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_14: init %i32 = call %bound_method.loc11_14.2(%int_2.loc11) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc11_14.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_14 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc11_14.2: %i32 = converted %int_2.loc11, %.loc11_14.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc11_14.2: = bound_method %int_2.loc11, %specific_fn.loc11_14 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_14: init %i32 = call %bound_method.loc11_14.2(%int_2.loc11) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc11_14.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11_14 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc11_14.2: %i32 = converted %int_2.loc11, %.loc11_14.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %X.C.call: init %empty_tuple.type = call imports.%X.C.decl(%.loc11_11.2, %.loc11_14.2) // CHECK:STDOUT: %.loc12_5.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %Cpp.ref.loc12: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -386,20 +386,20 @@ fn Call() { // CHECK:STDOUT: %int_1.loc12: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc12: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc12_7.3: %X = acquire_value %.loc12_7.2 [concrete = constants.%X.val] -// CHECK:STDOUT: %impl.elem0.loc12_19: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc12_19.1: = bound_method %int_1.loc12, %impl.elem0.loc12_19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc12_19: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc12_19.1: = bound_method %int_1.loc12, %impl.elem0.loc12_19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc12_19: = specific_function %impl.elem0.loc12_19, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc12_19.2: = bound_method %int_1.loc12, %specific_fn.loc12_19 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_19: init %i32 = call %bound_method.loc12_19.2(%int_1.loc12) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc12_19.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_19 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc12_19.2: %i32 = converted %int_1.loc12, %.loc12_19.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc12_22: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc12_22.1: = bound_method %int_2.loc12, %impl.elem0.loc12_22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc12_19.2: = bound_method %int_1.loc12, %specific_fn.loc12_19 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_19: init %i32 = call %bound_method.loc12_19.2(%int_1.loc12) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc12_19.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_19 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc12_19.2: %i32 = converted %int_1.loc12, %.loc12_19.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc12_22: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc12_22.1: = bound_method %int_2.loc12, %impl.elem0.loc12_22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc12_22: = specific_function %impl.elem0.loc12_22, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc12_22.2: = bound_method %int_2.loc12, %specific_fn.loc12_22 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_22: init %i32 = call %bound_method.loc12_22.2(%int_2.loc12) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc12_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_22 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc12_22.2: %i32 = converted %int_2.loc12, %.loc12_22.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc12_22.2: = bound_method %int_2.loc12, %specific_fn.loc12_22 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_22: init %i32 = call %bound_method.loc12_22.2(%int_2.loc12) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc12_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_22 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc12_22.2: %i32 = converted %int_2.loc12, %.loc12_22.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc12_7.4: ref %X = value_as_ref %.loc12_7.3 // CHECK:STDOUT: %addr: %ptr.d14 = addr_of %.loc12_7.4 // CHECK:STDOUT: %D__carbon_thunk.call: init %empty_tuple.type = call imports.%D__carbon_thunk.decl(%addr, %.loc12_19.2, %.loc12_22.2) @@ -423,28 +423,28 @@ fn Call() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %GlobalNoReturn__carbon_thunk.type.0b662c.1: type = fn_type @GlobalNoReturn__carbon_thunk.1 [concrete] // CHECK:STDOUT: %GlobalNoReturn__carbon_thunk.d6d8cb.1: %GlobalNoReturn__carbon_thunk.type.0b662c.1 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: %GlobalReturnInt.cpp_overload_set.type: type = cpp_overload_set_type @GlobalReturnInt.cpp_overload_set [concrete] // CHECK:STDOUT: %GlobalReturnInt.cpp_overload_set.value: %GlobalReturnInt.cpp_overload_set.type = cpp_overload_set_value @GlobalReturnInt.cpp_overload_set [concrete] // CHECK:STDOUT: %GlobalReturnInt__carbon_thunk.type: type = fn_type @GlobalReturnInt__carbon_thunk [concrete] @@ -452,9 +452,9 @@ fn Call() { // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %GlobalNoReturn__carbon_thunk.type.0b662c.2: type = fn_type @GlobalNoReturn__carbon_thunk.2 [concrete] // CHECK:STDOUT: %GlobalNoReturn__carbon_thunk.d6d8cb.2: %GlobalNoReturn__carbon_thunk.type.0b662c.2 = struct_value () [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %X: type = class_type @X [concrete] @@ -479,13 +479,13 @@ fn Call() { // CHECK:STDOUT: %D__carbon_thunk.type: type = fn_type @D__carbon_thunk [concrete] // CHECK:STDOUT: %D__carbon_thunk: %D__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Self.1e6: %Destroy.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.12b: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Self.1e6) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.73c: %Destroy.WithSelf.Op.type.12b = struct_value () [symbolic] +// CHECK:STDOUT: %Self.c66: %Destroy.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.630: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Self.c66) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.821: %Destroy.WithSelf.Op.type.630 = struct_value () [symbolic] // CHECK:STDOUT: %X.cpp_destructor.type: type = fn_type @X.cpp_destructor [concrete] // CHECK:STDOUT: %X.cpp_destructor: %X.cpp_destructor.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.cc4: = custom_witness (), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.226: %Destroy.type = facet_value %X, (%custom_witness.cc4) [concrete] +// CHECK:STDOUT: %custom_witness.d0a: = custom_witness (), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.b2c: %Destroy.type = facet_value %X, (%custom_witness.d0a) [concrete] // CHECK:STDOUT: %X.Op.type: type = fn_type @X.Op [concrete] // CHECK:STDOUT: %X.Op: %X.Op.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -507,10 +507,10 @@ fn Call() { // CHECK:STDOUT: %GlobalNoReturn.cpp_overload_set.value: %GlobalNoReturn.cpp_overload_set.type = cpp_overload_set_value @GlobalNoReturn.cpp_overload_set [concrete = constants.%GlobalNoReturn.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %GlobalNoReturn__carbon_thunk.decl.c103e1.1: %GlobalNoReturn__carbon_thunk.type.0b662c.1 = fn_decl @GlobalNoReturn__carbon_thunk.1 [concrete = constants.%GlobalNoReturn__carbon_thunk.d6d8cb.1] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %i32.4 [concrete = constants.%i32] { @@ -527,17 +527,17 @@ fn Call() { // CHECK:STDOUT: } // CHECK:STDOUT: %b: %i32 = value_binding b, %b.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %GlobalReturnInt.cpp_overload_set.value: %GlobalReturnInt.cpp_overload_set.type = cpp_overload_set_value @GlobalReturnInt.cpp_overload_set [concrete = constants.%GlobalReturnInt.cpp_overload_set.value] // CHECK:STDOUT: %GlobalReturnInt__carbon_thunk.decl: %GlobalReturnInt__carbon_thunk.type = fn_decl @GlobalReturnInt__carbon_thunk [concrete = constants.%GlobalReturnInt__carbon_thunk] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.2 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %int_32.1: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] // CHECK:STDOUT: %i32.1: type = class_type @Int, @Int(constants.%int_32) [concrete = constants.%i32] @@ -560,12 +560,12 @@ fn Call() { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %GlobalNoReturn__carbon_thunk.decl.c103e1.2: %GlobalNoReturn__carbon_thunk.type.0b662c.2 = fn_decl @GlobalNoReturn__carbon_thunk.2 [concrete = constants.%GlobalNoReturn__carbon_thunk.d6d8cb.2] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %c.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %c.patt: %pattern_type.c6b = at_binding_pattern c, %c.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %c.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.104 = at_binding_pattern c, %c.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %i32.6 [concrete = constants.%i32] { @@ -594,8 +594,8 @@ fn Call() { // CHECK:STDOUT: %B__carbon_thunk.decl: %B__carbon_thunk.type = fn_decl @B__carbon_thunk [concrete = constants.%B__carbon_thunk] { // CHECK:STDOUT: %this.param_patt: %pattern_type.bd3 = value_param_pattern [concrete] // CHECK:STDOUT: %this.patt: %pattern_type.bd3 = at_binding_pattern this, %this.param_patt [concrete] -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %this.param: %X = value_param call_param0 // CHECK:STDOUT: %this: %X = value_binding this, %this.param @@ -609,8 +609,8 @@ fn Call() { // CHECK:STDOUT: } // CHECK:STDOUT: %X.C.cpp_overload_set.value: %X.C.cpp_overload_set.type = cpp_overload_set_value @X.C.cpp_overload_set [concrete = constants.%X.C.cpp_overload_set.value] // CHECK:STDOUT: %C__carbon_thunk.decl: %C__carbon_thunk.type = fn_decl @C__carbon_thunk [concrete = constants.%C__carbon_thunk] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %i32.2 [concrete = constants.%i32] { @@ -624,8 +624,8 @@ fn Call() { // CHECK:STDOUT: %D__carbon_thunk.decl: %D__carbon_thunk.type = fn_decl @D__carbon_thunk [concrete = constants.%D__carbon_thunk] { // CHECK:STDOUT: %_.param_patt: %pattern_type.74f = value_param_pattern [concrete] // CHECK:STDOUT: %_.patt: %pattern_type.74f = at_binding_pattern _, %_.param_patt [concrete] -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %_.param: %ptr.d14 = value_param call_param0 // CHECK:STDOUT: %_: %ptr.d14 = value_binding _, %_.param @@ -638,7 +638,7 @@ fn Call() { // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %Destroy.WithSelf.Op.decl: %Destroy.WithSelf.Op.type.12b = fn_decl @Destroy.WithSelf.Op [symbolic = @Destroy.WithSelf.%Destroy.WithSelf.Op (constants.%Destroy.WithSelf.Op.73c)] {} {} +// CHECK:STDOUT: %Destroy.WithSelf.Op.decl: %Destroy.WithSelf.Op.type.630 = fn_decl @Destroy.WithSelf.Op [symbolic = @Destroy.WithSelf.%Destroy.WithSelf.Op (constants.%Destroy.WithSelf.Op.821)] {} {} // CHECK:STDOUT: %X.cpp_destructor.decl: %X.cpp_destructor.type = fn_decl @X.cpp_destructor [concrete = constants.%X.cpp_destructor] { // CHECK:STDOUT: %self.param_patt: %pattern_type.bd3 = ref_param_pattern [concrete] // CHECK:STDOUT: %self.patt: %pattern_type.bd3 = at_binding_pattern self, %self.param_patt [concrete] @@ -679,42 +679,42 @@ fn Call() { // CHECK:STDOUT: %GlobalNoReturn.ref.loc8: %GlobalNoReturn.cpp_overload_set.type = name_ref GlobalNoReturn, imports.%GlobalNoReturn.cpp_overload_set.value [concrete = constants.%GlobalNoReturn.cpp_overload_set.value] // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc8: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc8_22: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_22.1: = bound_method %int_1.loc8, %impl.elem0.loc8_22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc8_22: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_22.1: = bound_method %int_1.loc8, %impl.elem0.loc8_22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc8_22: = specific_function %impl.elem0.loc8_22, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_22.2: = bound_method %int_1.loc8, %specific_fn.loc8_22 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22: init %i32 = call %bound_method.loc8_22.2(%int_1.loc8) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_22.2: %i32 = converted %int_1.loc8, %.loc8_22.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc8_25: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_25.1: = bound_method %int_2.loc8, %impl.elem0.loc8_25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc8_22.2: = bound_method %int_1.loc8, %specific_fn.loc8_22 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22: init %i32 = call %bound_method.loc8_22.2(%int_1.loc8) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_22 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_22.2: %i32 = converted %int_1.loc8, %.loc8_22.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc8_25: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_25.1: = bound_method %int_2.loc8, %impl.elem0.loc8_25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc8_25: = specific_function %impl.elem0.loc8_25, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_25.2: = bound_method %int_2.loc8, %specific_fn.loc8_25 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_25: init %i32 = call %bound_method.loc8_25.2(%int_2.loc8) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_25.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_25 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_25.2: %i32 = converted %int_2.loc8, %.loc8_25.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc8_25.2: = bound_method %int_2.loc8, %specific_fn.loc8_25 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_25: init %i32 = call %bound_method.loc8_25.2(%int_2.loc8) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_25.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_25 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_25.2: %i32 = converted %int_2.loc8, %.loc8_25.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %GlobalNoReturn__carbon_thunk.call.loc8: init %empty_tuple.type = call imports.%GlobalNoReturn__carbon_thunk.decl.c103e1.1(%.loc8_22.2, %.loc8_25.2) // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %value.patt: %pattern_type.c6b = value_binding_pattern value [concrete] +// CHECK:STDOUT: %value.patt: %pattern_type.104 = value_binding_pattern value [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %GlobalReturnInt.ref: %GlobalReturnInt.cpp_overload_set.type = name_ref GlobalReturnInt, imports.%GlobalReturnInt.cpp_overload_set.value [concrete = constants.%GlobalReturnInt.cpp_overload_set.value] // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc9: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc9_47: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_47.1: = bound_method %int_1.loc9, %impl.elem0.loc9_47 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc9_47: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_47.1: = bound_method %int_1.loc9, %impl.elem0.loc9_47 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc9_47: = specific_function %impl.elem0.loc9_47, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_47.2: = bound_method %int_1.loc9, %specific_fn.loc9_47 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_47: init %i32 = call %bound_method.loc9_47.2(%int_1.loc9) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_47.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_47 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_47.2: %i32 = converted %int_1.loc9, %.loc9_47.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc9_50: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_50.1: = bound_method %int_2.loc9, %impl.elem0.loc9_50 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc9_47.2: = bound_method %int_1.loc9, %specific_fn.loc9_47 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_47: init %i32 = call %bound_method.loc9_47.2(%int_1.loc9) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_47.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_47 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_47.2: %i32 = converted %int_1.loc9, %.loc9_47.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc9_50: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_50.1: = bound_method %int_2.loc9, %impl.elem0.loc9_50 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc9_50: = specific_function %impl.elem0.loc9_50, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_50.2: = bound_method %int_2.loc9, %specific_fn.loc9_50 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_50: init %i32 = call %bound_method.loc9_50.2(%int_2.loc9) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc9_50.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_50 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc9_50.2: %i32 = converted %int_2.loc9, %.loc9_50.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc9_50.2: = bound_method %int_2.loc9, %specific_fn.loc9_50 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_50: init %i32 = call %bound_method.loc9_50.2(%int_2.loc9) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc9_50.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9_50 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc9_50.2: %i32 = converted %int_2.loc9, %.loc9_50.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %GlobalReturnInt__carbon_thunk.call: init %i32 = call imports.%GlobalReturnInt__carbon_thunk.decl(%.loc9_47.2, %.loc9_50.2) // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc9_51.1: %i32 = value_of_initializer %GlobalReturnInt__carbon_thunk.call @@ -725,27 +725,27 @@ fn Call() { // CHECK:STDOUT: %int_1.loc10: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc10: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc10_22: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_22.1: = bound_method %int_1.loc10, %impl.elem0.loc10_22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc10_22: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_22.1: = bound_method %int_1.loc10, %impl.elem0.loc10_22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc10_22: = specific_function %impl.elem0.loc10_22, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_22.2: = bound_method %int_1.loc10, %specific_fn.loc10_22 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_22: init %i32 = call %bound_method.loc10_22.2(%int_1.loc10) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_22 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_22.2: %i32 = converted %int_1.loc10, %.loc10_22.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc10_25: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_25.1: = bound_method %int_2.loc10, %impl.elem0.loc10_25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc10_22.2: = bound_method %int_1.loc10, %specific_fn.loc10_22 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_22: init %i32 = call %bound_method.loc10_22.2(%int_1.loc10) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_22 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_22.2: %i32 = converted %int_1.loc10, %.loc10_22.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc10_25: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_25.1: = bound_method %int_2.loc10, %impl.elem0.loc10_25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc10_25: = specific_function %impl.elem0.loc10_25, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_25.2: = bound_method %int_2.loc10, %specific_fn.loc10_25 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_25: init %i32 = call %bound_method.loc10_25.2(%int_2.loc10) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_25.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_25 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_25.2: %i32 = converted %int_2.loc10, %.loc10_25.1 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc10_28: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_28.1: = bound_method %int_3, %impl.elem0.loc10_28 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %bound_method.loc10_25.2: = bound_method %int_2.loc10, %specific_fn.loc10_25 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_25: init %i32 = call %bound_method.loc10_25.2(%int_2.loc10) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_25.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_25 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_25.2: %i32 = converted %int_2.loc10, %.loc10_25.1 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc10_28: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_28.1: = bound_method %int_3, %impl.elem0.loc10_28 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc10_28: = specific_function %impl.elem0.loc10_28, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_28.2: = bound_method %int_3, %specific_fn.loc10_28 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_28: init %i32 = call %bound_method.loc10_28.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc10_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_28 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc10_28.2: %i32 = converted %int_3, %.loc10_28.1 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc10_28.2: = bound_method %int_3, %specific_fn.loc10_28 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_28: init %i32 = call %bound_method.loc10_28.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc10_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_28 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc10_28.2: %i32 = converted %int_3, %.loc10_28.1 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %GlobalNoReturn__carbon_thunk.call.loc10: init %empty_tuple.type = call imports.%GlobalNoReturn__carbon_thunk.decl.c103e1.2(%.loc10_22.2, %.loc10_25.2, %.loc10_28.2) // CHECK:STDOUT: %.loc11_5.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -758,25 +758,25 @@ fn Call() { // CHECK:STDOUT: %bound_method.loc11_16: = bound_method %.loc11_7.2, %B.ref [concrete = constants.%bound_method.7cd] // CHECK:STDOUT: %int_1.loc11: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc11_7.3: %X = acquire_value %.loc11_7.2 [concrete = constants.%X.val] -// CHECK:STDOUT: %impl.elem0.loc11: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc11_19.1: = bound_method %int_1.loc11, %impl.elem0.loc11 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc11: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc11_19.1: = bound_method %int_1.loc11, %impl.elem0.loc11 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem0.loc11, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_19.2: = bound_method %int_1.loc11, %specific_fn.loc11 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11: init %i32 = call %bound_method.loc11_19.2(%int_1.loc11) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc11_19.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc11_19.2: %i32 = converted %int_1.loc11, %.loc11_19.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc11_19.2: = bound_method %int_1.loc11, %specific_fn.loc11 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11: init %i32 = call %bound_method.loc11_19.2(%int_1.loc11) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc11_19.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc11_19.2: %i32 = converted %int_1.loc11, %.loc11_19.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %B__carbon_thunk.call: init %empty_tuple.type = call imports.%B__carbon_thunk.decl(%.loc11_7.3, %.loc11_19.2) // CHECK:STDOUT: %Cpp.ref.loc12: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %X.ref.loc12: type = name_ref X, imports.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %C.ref: %X.C.cpp_overload_set.type = name_ref C, imports.%X.C.cpp_overload_set.value [concrete = constants.%X.C.cpp_overload_set.value] // CHECK:STDOUT: %int_1.loc12: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc12: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc12_11.1: = bound_method %int_1.loc12, %impl.elem0.loc12 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc12: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc12_11.1: = bound_method %int_1.loc12, %impl.elem0.loc12 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem0.loc12, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc12_11.2: = bound_method %int_1.loc12, %specific_fn.loc12 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12: init %i32 = call %bound_method.loc12_11.2(%int_1.loc12) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc12_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc12_11.2: %i32 = converted %int_1.loc12, %.loc12_11.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc12_11.2: = bound_method %int_1.loc12, %specific_fn.loc12 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12: init %i32 = call %bound_method.loc12_11.2(%int_1.loc12) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc12_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc12_11.2: %i32 = converted %int_1.loc12, %.loc12_11.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %C__carbon_thunk.call: init %empty_tuple.type = call imports.%C__carbon_thunk.decl(%.loc12_11.2) // CHECK:STDOUT: %.loc13_5.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %Cpp.ref.loc13: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -789,13 +789,13 @@ fn Call() { // CHECK:STDOUT: %bound_method.loc13_16: = bound_method %.loc13_7.2, %D.ref [concrete = constants.%bound_method.954] // CHECK:STDOUT: %int_1.loc13: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc13_7.3: %X = acquire_value %.loc13_7.2 [concrete = constants.%X.val] -// CHECK:STDOUT: %impl.elem0.loc13: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc13_19.1: = bound_method %int_1.loc13, %impl.elem0.loc13 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc13: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc13_19.1: = bound_method %int_1.loc13, %impl.elem0.loc13 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_19.2: = bound_method %int_1.loc13, %specific_fn.loc13 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13: init %i32 = call %bound_method.loc13_19.2(%int_1.loc13) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc13_19.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc13_19.2: %i32 = converted %int_1.loc13, %.loc13_19.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc13_19.2: = bound_method %int_1.loc13, %specific_fn.loc13 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13: init %i32 = call %bound_method.loc13_19.2(%int_1.loc13) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc13_19.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc13_19.2: %i32 = converted %int_1.loc13, %.loc13_19.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc13_7.4: ref %X = value_as_ref %.loc13_7.3 // CHECK:STDOUT: %addr: %ptr.d14 = addr_of %.loc13_7.4 // CHECK:STDOUT: %D__carbon_thunk.call: init %empty_tuple.type = call imports.%D__carbon_thunk.decl(%addr, %.loc13_19.2) @@ -837,7 +837,7 @@ fn Call() { // CHECK:STDOUT: // CHECK:STDOUT: fn @X.cpp_destructor(%self.param: ref %X) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @X.Op(%self.param: ref %X) [thunk imports.%X.cpp_destructor.decl for imports.%Destroy.WithSelf.Op.decl, @Destroy.WithSelf.Op(constants.%Destroy.facet.226)] { +// CHECK:STDOUT: fn @X.Op(%self.param: ref %X) [thunk imports.%X.cpp_destructor.decl for imports.%Destroy.WithSelf.Op.decl, @Destroy.WithSelf.Op(constants.%Destroy.facet.b2c)] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Op.ref: %X.cpp_destructor.type = name_ref Op, imports.%X.cpp_destructor.decl [concrete = constants.%X.cpp_destructor] // CHECK:STDOUT: %X.cpp_destructor.bound: = bound_method %self.param, %Op.ref diff --git a/toolchain/check/testdata/interop/cpp/function/import/extern_c.carbon b/toolchain/check/testdata/interop/cpp/function/import/extern_c.carbon index 0a9c6f6f7d66..24517d73fee7 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/extern_c.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/extern_c.carbon @@ -109,20 +109,20 @@ fn MyF(a: Cpp.X, b: Cpp.X) -> Cpp.X { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %foo.type.95b203.2: type = fn_type @foo.2 [concrete] // CHECK:STDOUT: %foo.f55227.2: %foo.type.95b203.2 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -137,8 +137,8 @@ fn MyF(a: Cpp.X, b: Cpp.X) -> Cpp.X { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @MyF() { @@ -149,13 +149,13 @@ fn MyF(a: Cpp.X, b: Cpp.X) -> Cpp.X { // CHECK:STDOUT: %Cpp.ref.loc12: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref.loc12: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc12_11.1: = bound_method %int_5, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc12_11.2: = bound_method %int_5, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc12_11.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc12_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc12_11.2: %i32 = converted %int_5, %.loc12_11.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc12_11.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc12_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc12_11.2: %i32 = converted %int_5, %.loc12_11.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %foo.call.loc12: init %empty_tuple.type = call imports.%foo.decl.993533.2(%.loc12_11.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -166,17 +166,17 @@ fn MyF(a: Cpp.X, b: Cpp.X) -> Cpp.X { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -184,11 +184,11 @@ fn MyF(a: Cpp.X, b: Cpp.X) -> Cpp.X { // CHECK:STDOUT: .foo = %foo.var // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %foo.patt: %pattern_type.c6b = ref_binding_pattern foo [concrete] -// CHECK:STDOUT: %foo.var_patt: %pattern_type.c6b = var_pattern %foo.patt [concrete] +// CHECK:STDOUT: %foo.patt: %pattern_type.104 = ref_binding_pattern foo [concrete] +// CHECK:STDOUT: %foo.var_patt: %pattern_type.104 = var_pattern %foo.patt [concrete] // CHECK:STDOUT: %foo.var: ref %i32 = var %foo.var_patt [concrete] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @MyF() -> out %return.param: %i32 { @@ -197,7 +197,7 @@ fn MyF(a: Cpp.X, b: Cpp.X) -> Cpp.X { // CHECK:STDOUT: // CHECK:STDOUT: %foo.ref: ref %i32 = name_ref foo, imports.%foo.var [concrete = imports.%foo.var] // CHECK:STDOUT: %.loc10: %i32 = acquire_value %foo.ref -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc10_13.1: = bound_method %.loc10, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc10_13.2: = bound_method %.loc10, %specific_fn diff --git a/toolchain/check/testdata/interop/cpp/function/import/full_semir.carbon b/toolchain/check/testdata/interop/cpp/function/import/full_semir.carbon index fffa2cd916b6..3edb8d08eb60 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/full_semir.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/full_semir.carbon @@ -80,44 +80,44 @@ fn F() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.457: type = facet_type <@As, @As(%i16)> [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.fff: type = facet_type <@As, @As(%i16)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.bca: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.36d: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.036: %Core.IntLiteral.as.As.impl.Convert.type.36d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.457 = facet_value Core.IntLiteral, (%As.impl_witness.bca) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.9f1: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] -// CHECK:STDOUT: %.3ca: type = fn_type_with_self_type %As.WithSelf.Convert.type.9f1, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.036 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.036, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.6db: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.962: %i16 = int_value 1 [concrete] -// CHECK:STDOUT: %ptr.971: type = ptr_type %i16 [concrete] -// CHECK:STDOUT: %pattern_type.47f: type = pattern_type %ptr.971 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.16a: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ced: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.0b6: %Core.IntLiteral.as.As.impl.Convert.type.ced = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.fff = facet_value Core.IntLiteral, (%As.impl_witness.16a) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.28f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] +// CHECK:STDOUT: %.696: type = fn_type_with_self_type %As.WithSelf.Convert.type.28f, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.0b6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.0b6, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.7f7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.792: %i16 = int_value 1 [concrete] +// CHECK:STDOUT: %ptr.83d: type = ptr_type %i16 [concrete] +// CHECK:STDOUT: %pattern_type.497: type = pattern_type %ptr.83d [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0f7: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.298: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.be4: %Int.as.Copy.impl.Op.type.298 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.0f7) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.700: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.1a7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.700, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.962, %Int.as.Copy.impl.Op.be4 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.be4, @Int.as.Copy.impl.Op(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.0e0: = bound_method %int_1.962, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.251: ref %i16 = temporary invalid, %int_1.962 [concrete] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.251 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.980: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.fe1: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a44: %Int.as.Copy.impl.Op.type.fe1 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.980) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cf9: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.799: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cf9, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.792, %Int.as.Copy.impl.Op.a44 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.a44, @Int.as.Copy.impl.Op(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.055: = bound_method %int_1.792, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.e50: ref %i16 = temporary invalid, %int_1.792 [concrete] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.e50 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc7_13.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.251, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc7_13.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e50, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -135,24 +135,24 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.47f = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.47f = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.497 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.497 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %a.param: %ptr.971 = value_param call_param0 -// CHECK:STDOUT: %.1: type = splice_block constants.%ptr.971 [concrete = constants.%ptr.971] { +// CHECK:STDOUT: %a.param: %ptr.83d = value_param call_param0 +// CHECK:STDOUT: %.1: type = splice_block constants.%ptr.83d [concrete = constants.%ptr.83d] { // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete = constants.%int_16] // CHECK:STDOUT: %i16.1: type = class_type @Int, @Int(constants.%int_16) [concrete = constants.%i16] // CHECK:STDOUT: %i16.2: type = type_literal %i16.1 [concrete = constants.%i16] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.971 = value_binding a, %a.param +// CHECK:STDOUT: %a: %ptr.83d = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -175,29 +175,29 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i16: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %impl.elem0.loc7_13.1: %.3ca = impl_witness_access constants.%As.impl_witness.bca, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.036] +// CHECK:STDOUT: %impl.elem0.loc7_13.1: %.696 = impl_witness_access constants.%As.impl_witness.16a, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.0b6] // CHECK:STDOUT: %bound_method.loc7_13.1: = bound_method %int_1, %impl.elem0.loc7_13.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc7_13.1: = specific_function %impl.elem0.loc7_13.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %int_1, %specific_fn.loc7_13.1 [concrete = constants.%bound_method.6db] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc7_13.2(%int_1) [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc7_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc7_13.2: %i16 = converted %int_1, %.loc7_13.1 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %impl.elem0.loc7_13.2: %.1a7 = impl_witness_access constants.%Copy.impl_witness.0f7, element0 [concrete = constants.%Int.as.Copy.impl.Op.be4] +// CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %int_1, %specific_fn.loc7_13.1 [concrete = constants.%bound_method.7f7] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc7_13.2(%int_1) [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc7_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc7_13.2: %i16 = converted %int_1, %.loc7_13.1 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %impl.elem0.loc7_13.2: %.799 = impl_witness_access constants.%Copy.impl_witness.980, element0 [concrete = constants.%Int.as.Copy.impl.Op.a44] // CHECK:STDOUT: %bound_method.loc7_13.3: = bound_method %.loc7_13.2, %impl.elem0.loc7_13.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc7_13.2: = specific_function %impl.elem0.loc7_13.2, @Int.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_13.4: = bound_method %.loc7_13.2, %specific_fn.loc7_13.2 [concrete = constants.%bound_method.0e0] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc7_13.4(%.loc7_13.2) [concrete = constants.%int_1.962] +// CHECK:STDOUT: %bound_method.loc7_13.4: = bound_method %.loc7_13.2, %specific_fn.loc7_13.2 [concrete = constants.%bound_method.055] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc7_13.4(%.loc7_13.2) [concrete = constants.%int_1.792] // CHECK:STDOUT: %.loc7_13.3: ref %i16 = temporary_storage -// CHECK:STDOUT: %.loc7_13.4: ref %i16 = temporary %.loc7_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.251] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.loc7_13.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc7_13.4: ref %i16 = temporary %.loc7_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.e50] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.loc7_13.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.251) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e50) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @foo(%a.param: %i16); // CHECK:STDOUT: -// CHECK:STDOUT: fn @foo__carbon_thunk(%a.param: %ptr.971); +// CHECK:STDOUT: fn @foo__carbon_thunk(%a.param: %ptr.83d); // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_13.1(%self.param: ref %i16.builtin) = "no_op"; // CHECK:STDOUT: @@ -219,25 +219,25 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -254,8 +254,8 @@ fn F() { // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %i32.2 [concrete = constants.%i32] { @@ -265,9 +265,9 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -288,13 +288,13 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc7_11.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc7_11.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc7_11.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_11.2: %i32 = converted %int_1, %.loc7_11.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc7_11.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_11.2: %i32 = converted %int_1, %.loc7_11.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc7_11.2) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -312,16 +312,16 @@ fn F() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %pattern_type.0cb: type = pattern_type %i16 [concrete] +// CHECK:STDOUT: %pattern_type.e1b: type = pattern_type %i16 [concrete] // CHECK:STDOUT: %foo_short.cpp_overload_set.type: type = cpp_overload_set_type @foo_short.cpp_overload_set [concrete] // CHECK:STDOUT: %foo_short.cpp_overload_set.value: %foo_short.cpp_overload_set.type = cpp_overload_set_value @foo_short.cpp_overload_set [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %i16 [concrete] -// CHECK:STDOUT: %pattern_type.47f: type = pattern_type %ptr [concrete] +// CHECK:STDOUT: %pattern_type.497: type = pattern_type %ptr [concrete] // CHECK:STDOUT: %foo_short__carbon_thunk.type: type = fn_type @foo_short__carbon_thunk [concrete] // CHECK:STDOUT: %foo_short__carbon_thunk: %foo_short__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc7_37.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc7_37.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -338,8 +338,8 @@ fn F() { // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %foo_short.cpp_overload_set.value: %foo_short.cpp_overload_set.type = cpp_overload_set_value @foo_short.cpp_overload_set [concrete = constants.%foo_short.cpp_overload_set.value] // CHECK:STDOUT: %foo_short__carbon_thunk.decl: %foo_short__carbon_thunk.type = fn_decl @foo_short__carbon_thunk [concrete = constants.%foo_short__carbon_thunk] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.47f = value_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.47f = at_binding_pattern r#return, %return.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.497 = value_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.497 = at_binding_pattern r#return, %return.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %return.param: %ptr = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block constants.%ptr [concrete = constants.%ptr] { @@ -368,7 +368,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.0cb = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.e1b = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo_short.ref: %foo_short.cpp_overload_set.type = name_ref foo_short, imports.%foo_short.cpp_overload_set.value [concrete = constants.%foo_short.cpp_overload_set.value] @@ -380,7 +380,7 @@ fn F() { // CHECK:STDOUT: %.loc7_37.3: ref %i16 = temporary %.loc7_37.1, %.loc7_37.2 // CHECK:STDOUT: %.loc7_37.4: %i16 = acquire_value %.loc7_37.3 // CHECK:STDOUT: %x: %i16 = value_binding x, %.loc7_37.4 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc7_37.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc7_37.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc7_37.3) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/function/import/function.carbon b/toolchain/check/testdata/interop/cpp/function/import/function.carbon index c2f570210529..2187a6f12214 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/function.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/function.carbon @@ -323,20 +323,20 @@ fn G() -> i32 { // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] // CHECK:STDOUT: %bar.cpp_overload_set.type: type = cpp_overload_set_type @bar.cpp_overload_set [concrete] @@ -352,8 +352,8 @@ fn G() -> i32 { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: // CHECK:STDOUT: } { @@ -373,13 +373,13 @@ fn G() -> i32 { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] +// CHECK:STDOUT: %impl.elem0: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] // CHECK:STDOUT: %bound_method.loc8_13.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc8_13.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_13.2: %i32 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc8_13.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_13.2: %i32 = converted %int_1, %.loc8_13.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_13.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -390,13 +390,13 @@ fn G() -> i32 { // CHECK:STDOUT: %bar.ref: %bar.cpp_overload_set.type = name_ref bar, imports.%bar.cpp_overload_set.value [concrete = constants.%bar.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32.loc14: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] +// CHECK:STDOUT: %impl.elem0: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] // CHECK:STDOUT: %bound_method.loc14_20.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc14_20.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc14_20.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc14_20.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc14_20.2: %i32 = converted %int_1, %.loc14_20.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc14_20.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc14_20.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc14_20.2: %i32 = converted %int_1, %.loc14_20.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %bar.call: init %i32 = call imports.%bar.decl(%.loc14_20.2) // CHECK:STDOUT: return %bar.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/function/import/in_template.carbon b/toolchain/check/testdata/interop/cpp/function/import/in_template.carbon index 8fa4a5d87dde..e5798d3be607 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/in_template.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/in_template.carbon @@ -45,20 +45,20 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %X.f.type: type = fn_type @X.f [concrete] // CHECK:STDOUT: %X.f: %X.f.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_42.bc5: %i32 = int_value 42 [concrete] +// CHECK:STDOUT: %int_42.daa: %i32 = int_value 42 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -73,8 +73,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -83,13 +83,13 @@ fn F() { // CHECK:STDOUT: %Y.ref: type = name_ref Y, imports.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %f.ref: %X.f.cpp_overload_set.type = name_ref f, imports.%X.f.cpp_overload_set.value [concrete = constants.%X.f.cpp_overload_set.value] // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete = constants.%int_42.20e] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_42, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_42, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_42) [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_42, %.loc8_11.1 [concrete = constants.%int_42.bc5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_42) [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_42, %.loc8_11.1 [concrete = constants.%int_42.daa] // CHECK:STDOUT: %X.f.call: init %empty_tuple.type = call imports.%X.f.decl(%.loc8_11.2) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/function/import/inline.carbon b/toolchain/check/testdata/interop/cpp/function/import/inline.carbon index 1155780be06d..a8c305f48d6d 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/inline.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/inline.carbon @@ -150,60 +150,60 @@ fn MyF() { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %WithoutThunk.cpp_overload_set.type: type = cpp_overload_set_type @WithoutThunk.cpp_overload_set [concrete] // CHECK:STDOUT: %WithoutThunk.cpp_overload_set.value: %WithoutThunk.cpp_overload_set.type = cpp_overload_set_value @WithoutThunk.cpp_overload_set [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %WithoutThunk.type: type = fn_type @WithoutThunk [concrete] // CHECK:STDOUT: %WithoutThunk: %WithoutThunk.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.e78: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.e78) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet.e78 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7f2: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7f2 [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.840: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.840) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet.840 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.247: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.247 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %ThunkOnArg.cpp_overload_set.type: type = cpp_overload_set_type @ThunkOnArg.cpp_overload_set [concrete] // CHECK:STDOUT: %ThunkOnArg.cpp_overload_set.value: %ThunkOnArg.cpp_overload_set.type = cpp_overload_set_value @ThunkOnArg.cpp_overload_set [concrete] // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] -// CHECK:STDOUT: %pattern_type.0cb: type = pattern_type %i16 [concrete] -// CHECK:STDOUT: %ptr.971: type = ptr_type %i16 [concrete] +// CHECK:STDOUT: %pattern_type.e1b: type = pattern_type %i16 [concrete] +// CHECK:STDOUT: %ptr.83d: type = ptr_type %i16 [concrete] // CHECK:STDOUT: %ThunkOnArg__carbon_thunk.type: type = fn_type @ThunkOnArg__carbon_thunk [concrete] // CHECK:STDOUT: %ThunkOnArg__carbon_thunk: %ThunkOnArg__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.6a6: type = facet_type <@ImplicitAs, @ImplicitAs(%i16)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.e88: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.1f5: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.b57: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.1f5 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.98f: %ImplicitAs.type.6a6 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e88) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.d54: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i16, %ImplicitAs.facet.98f) [concrete] -// CHECK:STDOUT: %.b70: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.d54, %ImplicitAs.facet.98f [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.f27: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.b57 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.591: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.b57, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.321: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.591 [concrete] -// CHECK:STDOUT: %int_1.962: %i16 = int_value 1 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.be3: type = facet_type <@ImplicitAs, @ImplicitAs(%i16)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.685: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.720: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.f75: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.720 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.c95: %ImplicitAs.type.be3 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.685) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.e56: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i16, %ImplicitAs.facet.c95) [concrete] +// CHECK:STDOUT: %.94b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.e56, %ImplicitAs.facet.c95 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d9a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.f75 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.6d9: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.f75, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.711: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.6d9 [concrete] +// CHECK:STDOUT: %int_1.792: %i16 = int_value 1 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0f7: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.298: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.be4: %Int.as.Copy.impl.Op.type.298 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.0f7) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.700: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.1a7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.700, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.962, %Int.as.Copy.impl.Op.be4 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.be4, @Int.as.Copy.impl.Op(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.0e0: = bound_method %int_1.962, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.251: ref %i16 = temporary invalid, %int_1.962 [concrete] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.251 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.980: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.fe1: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a44: %Int.as.Copy.impl.Op.type.fe1 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.980) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cf9: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.799: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cf9, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.792, %Int.as.Copy.impl.Op.a44 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.a44, @Int.as.Copy.impl.Op(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.055: = bound_method %int_1.792, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.e50: ref %i16 = temporary invalid, %int_1.792 [concrete] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.e50 [concrete] // CHECK:STDOUT: %ThunkOnReturn.cpp_overload_set.type: type = cpp_overload_set_type @ThunkOnReturn.cpp_overload_set [concrete] // CHECK:STDOUT: %ThunkOnReturn.cpp_overload_set.value: %ThunkOnReturn.cpp_overload_set.type = cpp_overload_set_value @ThunkOnReturn.cpp_overload_set [concrete] // CHECK:STDOUT: %ThunkOnReturn__carbon_thunk.type: type = fn_type @ThunkOnReturn__carbon_thunk [concrete] @@ -212,9 +212,9 @@ fn MyF() { // CHECK:STDOUT: %ThunkOnBoth.cpp_overload_set.value: %ThunkOnBoth.cpp_overload_set.type = cpp_overload_set_value @ThunkOnBoth.cpp_overload_set [concrete] // CHECK:STDOUT: %ThunkOnBoth__carbon_thunk.type: type = fn_type @ThunkOnBoth__carbon_thunk [concrete] // CHECK:STDOUT: %ThunkOnBoth__carbon_thunk: %ThunkOnBoth__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc16_41.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.251, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc16_41.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e50, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -231,16 +231,16 @@ fn MyF() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %ThunkOnArg.cpp_overload_set.value: %ThunkOnArg.cpp_overload_set.type = cpp_overload_set_value @ThunkOnArg.cpp_overload_set [concrete = constants.%ThunkOnArg.cpp_overload_set.value] // CHECK:STDOUT: %ThunkOnArg__carbon_thunk.decl: %ThunkOnArg__carbon_thunk.type = fn_decl @ThunkOnArg__carbon_thunk [concrete = constants.%ThunkOnArg__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %ThunkOnReturn.cpp_overload_set.value: %ThunkOnReturn.cpp_overload_set.type = cpp_overload_set_value @ThunkOnReturn.cpp_overload_set [concrete = constants.%ThunkOnReturn.cpp_overload_set.value] // CHECK:STDOUT: %ThunkOnReturn__carbon_thunk.decl: %ThunkOnReturn__carbon_thunk.type = fn_decl @ThunkOnReturn__carbon_thunk [concrete = constants.%ThunkOnReturn__carbon_thunk] { // CHECK:STDOUT: @@ -258,64 +258,64 @@ fn MyF() { // CHECK:STDOUT: fn @MyF() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %r1.patt: %pattern_type.c6b = value_binding_pattern r1 [concrete] +// CHECK:STDOUT: %r1.patt: %pattern_type.104 = value_binding_pattern r1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc13: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %WithoutThunk.ref: %WithoutThunk.cpp_overload_set.type = name_ref WithoutThunk, imports.%WithoutThunk.cpp_overload_set.value [concrete = constants.%WithoutThunk.cpp_overload_set.value] // CHECK:STDOUT: %int_1.loc13: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc13: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc13_41.1: = bound_method %int_1.loc13, %impl.elem0.loc13 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] -// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7f2] -// CHECK:STDOUT: %bound_method.loc13_41.2: = bound_method %int_1.loc13, %specific_fn.loc13 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13: init %i32 = call %bound_method.loc13_41.2(%int_1.loc13) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc13_41.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc13_41.2: %i32 = converted %int_1.loc13, %.loc13_41.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %impl.elem0.loc13: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc13_41.1: = bound_method %int_1.loc13, %impl.elem0.loc13 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] +// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.247] +// CHECK:STDOUT: %bound_method.loc13_41.2: = bound_method %int_1.loc13, %specific_fn.loc13 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13: init %i32 = call %bound_method.loc13_41.2(%int_1.loc13) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc13_41.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc13_41.2: %i32 = converted %int_1.loc13, %.loc13_41.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %WithoutThunk.call: init %i32 = call imports.%WithoutThunk.decl(%.loc13_41.2) // CHECK:STDOUT: %i32.loc13: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc13_42.1: %i32 = value_of_initializer %WithoutThunk.call // CHECK:STDOUT: %.loc13_42.2: %i32 = converted %WithoutThunk.call, %.loc13_42.1 // CHECK:STDOUT: %r1: %i32 = value_binding r1, %.loc13_42.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %r2.patt: %pattern_type.c6b = value_binding_pattern r2 [concrete] +// CHECK:STDOUT: %r2.patt: %pattern_type.104 = value_binding_pattern r2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc14: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %ThunkOnArg.ref: %ThunkOnArg.cpp_overload_set.type = name_ref ThunkOnArg, imports.%ThunkOnArg.cpp_overload_set.value [concrete = constants.%ThunkOnArg.cpp_overload_set.value] // CHECK:STDOUT: %int_1.loc14: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc14_39.1: %.b70 = impl_witness_access constants.%ImplicitAs.impl_witness.e88, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.b57] -// CHECK:STDOUT: %bound_method.loc14_39.1: = bound_method %int_1.loc14, %impl.elem0.loc14_39.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.f27] -// CHECK:STDOUT: %specific_fn.loc14_39.1: = specific_function %impl.elem0.loc14_39.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.591] -// CHECK:STDOUT: %bound_method.loc14_39.2: = bound_method %int_1.loc14, %specific_fn.loc14_39.1 [concrete = constants.%bound_method.321] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14: init %i16 = call %bound_method.loc14_39.2(%int_1.loc14) [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc14_39.1: %i16 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc14_39.2: %i16 = converted %int_1.loc14, %.loc14_39.1 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %impl.elem0.loc14_39.2: %.1a7 = impl_witness_access constants.%Copy.impl_witness.0f7, element0 [concrete = constants.%Int.as.Copy.impl.Op.be4] +// CHECK:STDOUT: %impl.elem0.loc14_39.1: %.94b = impl_witness_access constants.%ImplicitAs.impl_witness.685, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.f75] +// CHECK:STDOUT: %bound_method.loc14_39.1: = bound_method %int_1.loc14, %impl.elem0.loc14_39.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d9a] +// CHECK:STDOUT: %specific_fn.loc14_39.1: = specific_function %impl.elem0.loc14_39.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.6d9] +// CHECK:STDOUT: %bound_method.loc14_39.2: = bound_method %int_1.loc14, %specific_fn.loc14_39.1 [concrete = constants.%bound_method.711] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14: init %i16 = call %bound_method.loc14_39.2(%int_1.loc14) [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc14_39.1: %i16 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc14_39.2: %i16 = converted %int_1.loc14, %.loc14_39.1 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %impl.elem0.loc14_39.2: %.799 = impl_witness_access constants.%Copy.impl_witness.980, element0 [concrete = constants.%Int.as.Copy.impl.Op.a44] // CHECK:STDOUT: %bound_method.loc14_39.3: = bound_method %.loc14_39.2, %impl.elem0.loc14_39.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc14_39.2: = specific_function %impl.elem0.loc14_39.2, @Int.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc14_39.4: = bound_method %.loc14_39.2, %specific_fn.loc14_39.2 [concrete = constants.%bound_method.0e0] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc14: init %i16 = call %bound_method.loc14_39.4(%.loc14_39.2) [concrete = constants.%int_1.962] +// CHECK:STDOUT: %bound_method.loc14_39.4: = bound_method %.loc14_39.2, %specific_fn.loc14_39.2 [concrete = constants.%bound_method.055] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc14: init %i16 = call %bound_method.loc14_39.4(%.loc14_39.2) [concrete = constants.%int_1.792] // CHECK:STDOUT: %.loc14_39.3: ref %i16 = temporary_storage -// CHECK:STDOUT: %.loc14_39.4: ref %i16 = temporary %.loc14_39.3, %Int.as.Copy.impl.Op.call.loc14 [concrete = constants.%.251] -// CHECK:STDOUT: %addr.loc14: %ptr.971 = addr_of %.loc14_39.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc14_39.4: ref %i16 = temporary %.loc14_39.3, %Int.as.Copy.impl.Op.call.loc14 [concrete = constants.%.e50] +// CHECK:STDOUT: %addr.loc14: %ptr.83d = addr_of %.loc14_39.4 [concrete = constants.%addr] // CHECK:STDOUT: %ThunkOnArg__carbon_thunk.call: init %i32 = call imports.%ThunkOnArg__carbon_thunk.decl(%addr.loc14) // CHECK:STDOUT: %i32.loc14: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc14_40.1: %i32 = value_of_initializer %ThunkOnArg__carbon_thunk.call // CHECK:STDOUT: %.loc14_40.2: %i32 = converted %ThunkOnArg__carbon_thunk.call, %.loc14_40.1 // CHECK:STDOUT: %r2: %i32 = value_binding r2, %.loc14_40.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %r3.patt: %pattern_type.0cb = value_binding_pattern r3 [concrete] +// CHECK:STDOUT: %r3.patt: %pattern_type.e1b = value_binding_pattern r3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc15: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %ThunkOnReturn.ref: %ThunkOnReturn.cpp_overload_set.type = name_ref ThunkOnReturn, imports.%ThunkOnReturn.cpp_overload_set.value [concrete = constants.%ThunkOnReturn.cpp_overload_set.value] // CHECK:STDOUT: %int_1.loc15: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc15: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_42.1: = bound_method %int_1.loc15, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] -// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7f2] -// CHECK:STDOUT: %bound_method.loc15_42.2: = bound_method %int_1.loc15, %specific_fn.loc15 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %i32 = call %bound_method.loc15_42.2(%int_1.loc15) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_42.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_42.2: %i32 = converted %int_1.loc15, %.loc15_42.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %impl.elem0.loc15: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_42.1: = bound_method %int_1.loc15, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] +// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.247] +// CHECK:STDOUT: %bound_method.loc15_42.2: = bound_method %int_1.loc15, %specific_fn.loc15 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %i32 = call %bound_method.loc15_42.2(%int_1.loc15) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_42.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_42.2: %i32 = converted %int_1.loc15, %.loc15_42.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc15_43.1: ref %i16 = temporary_storage -// CHECK:STDOUT: %addr.loc15: %ptr.971 = addr_of %.loc15_43.1 +// CHECK:STDOUT: %addr.loc15: %ptr.83d = addr_of %.loc15_43.1 // CHECK:STDOUT: %ThunkOnReturn__carbon_thunk.call: init %empty_tuple.type = call imports.%ThunkOnReturn__carbon_thunk.decl(%.loc15_42.2, %addr.loc15) // CHECK:STDOUT: %.loc15_43.2: init %i16 to %.loc15_43.1 = mark_in_place_init %ThunkOnReturn__carbon_thunk.call // CHECK:STDOUT: %i16.loc15: type = type_literal constants.%i16 [concrete = constants.%i16] @@ -323,40 +323,40 @@ fn MyF() { // CHECK:STDOUT: %.loc15_43.4: %i16 = acquire_value %.loc15_43.3 // CHECK:STDOUT: %r3: %i16 = value_binding r3, %.loc15_43.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %r4.patt: %pattern_type.0cb = value_binding_pattern r4 [concrete] +// CHECK:STDOUT: %r4.patt: %pattern_type.e1b = value_binding_pattern r4 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc16: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %ThunkOnBoth.ref: %ThunkOnBoth.cpp_overload_set.type = name_ref ThunkOnBoth, imports.%ThunkOnBoth.cpp_overload_set.value [concrete = constants.%ThunkOnBoth.cpp_overload_set.value] // CHECK:STDOUT: %int_1.loc16: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc16_40.1: %.b70 = impl_witness_access constants.%ImplicitAs.impl_witness.e88, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.b57] -// CHECK:STDOUT: %bound_method.loc16_40.1: = bound_method %int_1.loc16, %impl.elem0.loc16_40.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.f27] -// CHECK:STDOUT: %specific_fn.loc16_40.1: = specific_function %impl.elem0.loc16_40.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.591] -// CHECK:STDOUT: %bound_method.loc16_40.2: = bound_method %int_1.loc16, %specific_fn.loc16_40.1 [concrete = constants.%bound_method.321] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16: init %i16 = call %bound_method.loc16_40.2(%int_1.loc16) [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc16_40.1: %i16 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc16_40.2: %i16 = converted %int_1.loc16, %.loc16_40.1 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %impl.elem0.loc16_40.2: %.1a7 = impl_witness_access constants.%Copy.impl_witness.0f7, element0 [concrete = constants.%Int.as.Copy.impl.Op.be4] +// CHECK:STDOUT: %impl.elem0.loc16_40.1: %.94b = impl_witness_access constants.%ImplicitAs.impl_witness.685, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.f75] +// CHECK:STDOUT: %bound_method.loc16_40.1: = bound_method %int_1.loc16, %impl.elem0.loc16_40.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d9a] +// CHECK:STDOUT: %specific_fn.loc16_40.1: = specific_function %impl.elem0.loc16_40.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.6d9] +// CHECK:STDOUT: %bound_method.loc16_40.2: = bound_method %int_1.loc16, %specific_fn.loc16_40.1 [concrete = constants.%bound_method.711] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16: init %i16 = call %bound_method.loc16_40.2(%int_1.loc16) [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc16_40.1: %i16 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc16_40.2: %i16 = converted %int_1.loc16, %.loc16_40.1 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %impl.elem0.loc16_40.2: %.799 = impl_witness_access constants.%Copy.impl_witness.980, element0 [concrete = constants.%Int.as.Copy.impl.Op.a44] // CHECK:STDOUT: %bound_method.loc16_40.3: = bound_method %.loc16_40.2, %impl.elem0.loc16_40.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc16_40.2: = specific_function %impl.elem0.loc16_40.2, @Int.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_40.4: = bound_method %.loc16_40.2, %specific_fn.loc16_40.2 [concrete = constants.%bound_method.0e0] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc16: init %i16 = call %bound_method.loc16_40.4(%.loc16_40.2) [concrete = constants.%int_1.962] +// CHECK:STDOUT: %bound_method.loc16_40.4: = bound_method %.loc16_40.2, %specific_fn.loc16_40.2 [concrete = constants.%bound_method.055] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc16: init %i16 = call %bound_method.loc16_40.4(%.loc16_40.2) [concrete = constants.%int_1.792] // CHECK:STDOUT: %.loc16_40.3: ref %i16 = temporary_storage -// CHECK:STDOUT: %.loc16_40.4: ref %i16 = temporary %.loc16_40.3, %Int.as.Copy.impl.Op.call.loc16 [concrete = constants.%.251] -// CHECK:STDOUT: %addr.loc16_41.1: %ptr.971 = addr_of %.loc16_40.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc16_40.4: ref %i16 = temporary %.loc16_40.3, %Int.as.Copy.impl.Op.call.loc16 [concrete = constants.%.e50] +// CHECK:STDOUT: %addr.loc16_41.1: %ptr.83d = addr_of %.loc16_40.4 [concrete = constants.%addr] // CHECK:STDOUT: %.loc16_41.1: ref %i16 = temporary_storage -// CHECK:STDOUT: %addr.loc16_41.2: %ptr.971 = addr_of %.loc16_41.1 +// CHECK:STDOUT: %addr.loc16_41.2: %ptr.83d = addr_of %.loc16_41.1 // CHECK:STDOUT: %ThunkOnBoth__carbon_thunk.call: init %empty_tuple.type = call imports.%ThunkOnBoth__carbon_thunk.decl(%addr.loc16_41.1, %addr.loc16_41.2) // CHECK:STDOUT: %.loc16_41.2: init %i16 to %.loc16_41.1 = mark_in_place_init %ThunkOnBoth__carbon_thunk.call // CHECK:STDOUT: %i16.loc16: type = type_literal constants.%i16 [concrete = constants.%i16] // CHECK:STDOUT: %.loc16_41.3: ref %i16 = temporary %.loc16_41.1, %.loc16_41.2 // CHECK:STDOUT: %.loc16_41.4: %i16 = acquire_value %.loc16_41.3 // CHECK:STDOUT: %r4: %i16 = value_binding r4, %.loc16_41.4 -// CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %.loc16_41.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %.loc16_41.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc16_41: init %empty_tuple.type = call %Destroy.Op.bound.loc16(%.loc16_41.3) -// CHECK:STDOUT: %Destroy.Op.call.loc16_40: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.251) -// CHECK:STDOUT: %Destroy.Op.bound.loc15: = bound_method %.loc15_43.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.call.loc16_40: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e50) +// CHECK:STDOUT: %Destroy.Op.bound.loc15: = bound_method %.loc15_43.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc15: init %empty_tuple.type = call %Destroy.Op.bound.loc15(%.loc15_43.3) -// CHECK:STDOUT: %Destroy.Op.call.loc14: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.251) +// CHECK:STDOUT: %Destroy.Op.call.loc14: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e50) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/overloads.carbon b/toolchain/check/testdata/interop/cpp/function/import/overloads.carbon index d70674dc927d..bdcf764da0b2 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/overloads.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/overloads.carbon @@ -805,44 +805,44 @@ fn F() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.457: type = facet_type <@As, @As(%i16)> [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.fff: type = facet_type <@As, @As(%i16)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.bca: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.36d: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.036: %Core.IntLiteral.as.As.impl.Convert.type.36d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.457 = facet_value Core.IntLiteral, (%As.impl_witness.bca) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.9f1: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] -// CHECK:STDOUT: %.3ca: type = fn_type_with_self_type %As.WithSelf.Convert.type.9f1, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.036 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.036, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.6db: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.962: %i16 = int_value 1 [concrete] -// CHECK:STDOUT: %ptr.971: type = ptr_type %i16 [concrete] -// CHECK:STDOUT: %pattern_type.47f: type = pattern_type %ptr.971 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.16a: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ced: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.0b6: %Core.IntLiteral.as.As.impl.Convert.type.ced = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.fff = facet_value Core.IntLiteral, (%As.impl_witness.16a) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.28f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] +// CHECK:STDOUT: %.696: type = fn_type_with_self_type %As.WithSelf.Convert.type.28f, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.0b6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.0b6, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.7f7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.792: %i16 = int_value 1 [concrete] +// CHECK:STDOUT: %ptr.83d: type = ptr_type %i16 [concrete] +// CHECK:STDOUT: %pattern_type.497: type = pattern_type %ptr.83d [concrete] // CHECK:STDOUT: %bar__carbon_thunk.type: type = fn_type @bar__carbon_thunk [concrete] // CHECK:STDOUT: %bar__carbon_thunk: %bar__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0f7: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.298: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.be4: %Int.as.Copy.impl.Op.type.298 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.0f7) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.700: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.1a7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.700, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.962, %Int.as.Copy.impl.Op.be4 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.be4, @Int.as.Copy.impl.Op(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.0e0: = bound_method %int_1.962, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.251: ref %i16 = temporary invalid, %int_1.962 [concrete] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.251 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.980: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.fe1: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a44: %Int.as.Copy.impl.Op.type.fe1 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.980) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cf9: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.799: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cf9, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.792, %Int.as.Copy.impl.Op.a44 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.a44, @Int.as.Copy.impl.Op(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.055: = bound_method %int_1.792, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.e50: ref %i16 = temporary invalid, %int_1.792 [concrete] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.e50 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc7_13.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.251, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc7_13.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e50, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -860,24 +860,24 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %bar.cpp_overload_set.value: %bar.cpp_overload_set.type = cpp_overload_set_value @bar.cpp_overload_set [concrete = constants.%bar.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %bar__carbon_thunk.decl: %bar__carbon_thunk.type = fn_decl @bar__carbon_thunk [concrete = constants.%bar__carbon_thunk] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.47f = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.47f = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.497 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.497 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %a.param: %ptr.971 = value_param call_param0 -// CHECK:STDOUT: %.1: type = splice_block constants.%ptr.971 [concrete = constants.%ptr.971] { +// CHECK:STDOUT: %a.param: %ptr.83d = value_param call_param0 +// CHECK:STDOUT: %.1: type = splice_block constants.%ptr.83d [concrete = constants.%ptr.83d] { // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete = constants.%int_16] // CHECK:STDOUT: %i16.1: type = class_type @Int, @Int(constants.%int_16) [concrete = constants.%i16] // CHECK:STDOUT: %i16.2: type = type_literal %i16.1 [concrete = constants.%i16] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.971 = value_binding a, %a.param +// CHECK:STDOUT: %a: %ptr.83d = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -900,29 +900,29 @@ fn F() { // CHECK:STDOUT: %bar.ref: %bar.cpp_overload_set.type = name_ref bar, imports.%bar.cpp_overload_set.value [concrete = constants.%bar.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i16: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %impl.elem0.loc7_13.1: %.3ca = impl_witness_access constants.%As.impl_witness.bca, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.036] +// CHECK:STDOUT: %impl.elem0.loc7_13.1: %.696 = impl_witness_access constants.%As.impl_witness.16a, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.0b6] // CHECK:STDOUT: %bound_method.loc7_13.1: = bound_method %int_1, %impl.elem0.loc7_13.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc7_13.1: = specific_function %impl.elem0.loc7_13.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %int_1, %specific_fn.loc7_13.1 [concrete = constants.%bound_method.6db] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc7_13.2(%int_1) [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc7_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc7_13.2: %i16 = converted %int_1, %.loc7_13.1 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %impl.elem0.loc7_13.2: %.1a7 = impl_witness_access constants.%Copy.impl_witness.0f7, element0 [concrete = constants.%Int.as.Copy.impl.Op.be4] +// CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %int_1, %specific_fn.loc7_13.1 [concrete = constants.%bound_method.7f7] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc7_13.2(%int_1) [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc7_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc7_13.2: %i16 = converted %int_1, %.loc7_13.1 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %impl.elem0.loc7_13.2: %.799 = impl_witness_access constants.%Copy.impl_witness.980, element0 [concrete = constants.%Int.as.Copy.impl.Op.a44] // CHECK:STDOUT: %bound_method.loc7_13.3: = bound_method %.loc7_13.2, %impl.elem0.loc7_13.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc7_13.2: = specific_function %impl.elem0.loc7_13.2, @Int.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_13.4: = bound_method %.loc7_13.2, %specific_fn.loc7_13.2 [concrete = constants.%bound_method.0e0] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc7_13.4(%.loc7_13.2) [concrete = constants.%int_1.962] +// CHECK:STDOUT: %bound_method.loc7_13.4: = bound_method %.loc7_13.2, %specific_fn.loc7_13.2 [concrete = constants.%bound_method.055] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc7_13.4(%.loc7_13.2) [concrete = constants.%int_1.792] // CHECK:STDOUT: %.loc7_13.3: ref %i16 = temporary_storage -// CHECK:STDOUT: %.loc7_13.4: ref %i16 = temporary %.loc7_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.251] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.loc7_13.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc7_13.4: ref %i16 = temporary %.loc7_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.e50] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.loc7_13.4 [concrete = constants.%addr] // CHECK:STDOUT: %bar__carbon_thunk.call: init %empty_tuple.type = call imports.%bar__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.251) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e50) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @bar(%a.param: %i16); // CHECK:STDOUT: -// CHECK:STDOUT: fn @bar__carbon_thunk(%a.param: %ptr.971); +// CHECK:STDOUT: fn @bar__carbon_thunk(%a.param: %ptr.83d); // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_13.1(%self.param: ref %i16.builtin) = "no_op"; // CHECK:STDOUT: @@ -944,23 +944,23 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -978,12 +978,12 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %i32.2 [concrete = constants.%i32] { @@ -1014,13 +1014,13 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] +// CHECK:STDOUT: %impl.elem0: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] // CHECK:STDOUT: %bound_method.loc7_13.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc7_13.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_13.2: %i32 = converted %int_1, %.loc7_13.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc7_13.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_13.2: %i32 = converted %int_1, %.loc7_13.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc7_13.2) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1041,61 +1041,61 @@ fn F() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet.6f5: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet.6f5) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet.6f5 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.24c: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.3f5: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.4cd: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.3f5 [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet.394: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet.394) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet.394 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.62b: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.75d: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.38f: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.75d [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %foo.type.95b203.1: type = fn_type @foo.1 [concrete] // CHECK:STDOUT: %foo.f55227.1: %foo.type.95b203.1 = struct_value () [concrete] // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] -// CHECK:STDOUT: %As.type.457: type = facet_type <@As, @As(%i16)> [concrete] -// CHECK:STDOUT: %As.impl_witness.bca: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.36d: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.036: %Core.IntLiteral.as.As.impl.Convert.type.36d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet.459: %As.type.457 = facet_value Core.IntLiteral, (%As.impl_witness.bca) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.9f1: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet.459) [concrete] -// CHECK:STDOUT: %.3ca: type = fn_type_with_self_type %As.WithSelf.Convert.type.9f1, %As.facet.459 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.0cb: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.036 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.3e5: = specific_function %Core.IntLiteral.as.As.impl.Convert.036, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.6db: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.3e5 [concrete] -// CHECK:STDOUT: %int_1.962: %i16 = int_value 1 [concrete] -// CHECK:STDOUT: %ptr.971: type = ptr_type %i16 [concrete] -// CHECK:STDOUT: %pattern_type.47f: type = pattern_type %ptr.971 [concrete] +// CHECK:STDOUT: %As.type.fff: type = facet_type <@As, @As(%i16)> [concrete] +// CHECK:STDOUT: %As.impl_witness.16a: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ced: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.0b6: %Core.IntLiteral.as.As.impl.Convert.type.ced = struct_value () [concrete] +// CHECK:STDOUT: %As.facet.af0: %As.type.fff = facet_value Core.IntLiteral, (%As.impl_witness.16a) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.28f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet.af0) [concrete] +// CHECK:STDOUT: %.696: type = fn_type_with_self_type %As.WithSelf.Convert.type.28f, %As.facet.af0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.6e7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.0b6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.7ae: = specific_function %Core.IntLiteral.as.As.impl.Convert.0b6, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.7f7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.7ae [concrete] +// CHECK:STDOUT: %int_1.792: %i16 = int_value 1 [concrete] +// CHECK:STDOUT: %ptr.83d: type = ptr_type %i16 [concrete] +// CHECK:STDOUT: %pattern_type.497: type = pattern_type %ptr.83d [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0f7: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.298: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.be4: %Int.as.Copy.impl.Op.type.298 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.0f7) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.700: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.1a7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.700, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.962, %Int.as.Copy.impl.Op.be4 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.be4, @Int.as.Copy.impl.Op(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.0e0: = bound_method %int_1.962, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.251: ref %i16 = temporary invalid, %int_1.962 [concrete] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.251 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.980: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.fe1: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_16) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a44: %Int.as.Copy.impl.Op.type.fe1 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i16, (%Copy.impl_witness.980) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cf9: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.799: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cf9, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1.792, %Int.as.Copy.impl.Op.a44 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.a44, @Int.as.Copy.impl.Op(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.055: = bound_method %int_1.792, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.e50: ref %i16 = temporary invalid, %int_1.792 [concrete] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.e50 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_13.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.251, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_13.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.e50, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1113,12 +1113,12 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo.decl.993533.1: %foo.type.95b203.1 = fn_decl @foo.1 [concrete = constants.%foo.f55227.1] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %i32.2 [concrete = constants.%i32] { @@ -1129,20 +1129,20 @@ fn F() { // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.47f = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.47f = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.497 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.497 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %a.param: %ptr.971 = value_param call_param0 -// CHECK:STDOUT: %.1: type = splice_block constants.%ptr.971 [concrete = constants.%ptr.971] { +// CHECK:STDOUT: %a.param: %ptr.83d = value_param call_param0 +// CHECK:STDOUT: %.1: type = splice_block constants.%ptr.83d [concrete = constants.%ptr.83d] { // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete = constants.%int_16] // CHECK:STDOUT: %i16.1: type = class_type @Int, @Int(constants.%int_16) [concrete = constants.%i16] // CHECK:STDOUT: %i16.2: type = type_literal %i16.1 [concrete = constants.%i16] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.971 = value_binding a, %a.param +// CHECK:STDOUT: %a: %ptr.83d = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1165,35 +1165,35 @@ fn F() { // CHECK:STDOUT: %foo.ref.loc7: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1.loc7: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc7: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] -// CHECK:STDOUT: %bound_method.loc7_13.1: = bound_method %int_1.loc7, %impl.elem0.loc7 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.24c] -// CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.3f5] -// CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %int_1.loc7, %specific_fn.loc7 [concrete = constants.%bound_method.4cd] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_13.2(%int_1.loc7) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc7 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_13.2: %i32 = converted %int_1.loc7, %.loc7_13.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %impl.elem0.loc7: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] +// CHECK:STDOUT: %bound_method.loc7_13.1: = bound_method %int_1.loc7, %impl.elem0.loc7 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.62b] +// CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.75d] +// CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %int_1.loc7, %specific_fn.loc7 [concrete = constants.%bound_method.38f] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_13.2(%int_1.loc7) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc7 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_13.2: %i32 = converted %int_1.loc7, %.loc7_13.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl.993533.1(%.loc7_13.2) // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref.loc8: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i16: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %impl.elem0.loc8_13.1: %.3ca = impl_witness_access constants.%As.impl_witness.bca, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.036] -// CHECK:STDOUT: %bound_method.loc8_13.1: = bound_method %int_1.loc8, %impl.elem0.loc8_13.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.0cb] -// CHECK:STDOUT: %specific_fn.loc8_13.1: = specific_function %impl.elem0.loc8_13.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.3e5] -// CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1.loc8, %specific_fn.loc8_13.1 [concrete = constants.%bound_method.6db] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc8: init %i16 = call %bound_method.loc8_13.2(%int_1.loc8) [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc8_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc8 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc8_13.2: %i16 = converted %int_1.loc8, %.loc8_13.1 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %impl.elem0.loc8_13.2: %.1a7 = impl_witness_access constants.%Copy.impl_witness.0f7, element0 [concrete = constants.%Int.as.Copy.impl.Op.be4] +// CHECK:STDOUT: %impl.elem0.loc8_13.1: %.696 = impl_witness_access constants.%As.impl_witness.16a, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.0b6] +// CHECK:STDOUT: %bound_method.loc8_13.1: = bound_method %int_1.loc8, %impl.elem0.loc8_13.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.6e7] +// CHECK:STDOUT: %specific_fn.loc8_13.1: = specific_function %impl.elem0.loc8_13.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.7ae] +// CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1.loc8, %specific_fn.loc8_13.1 [concrete = constants.%bound_method.7f7] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc8: init %i16 = call %bound_method.loc8_13.2(%int_1.loc8) [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc8_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc8 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc8_13.2: %i16 = converted %int_1.loc8, %.loc8_13.1 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %impl.elem0.loc8_13.2: %.799 = impl_witness_access constants.%Copy.impl_witness.980, element0 [concrete = constants.%Int.as.Copy.impl.Op.a44] // CHECK:STDOUT: %bound_method.loc8_13.3: = bound_method %.loc8_13.2, %impl.elem0.loc8_13.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc8_13.2: = specific_function %impl.elem0.loc8_13.2, @Int.as.Copy.impl.Op(constants.%int_16) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_13.4: = bound_method %.loc8_13.2, %specific_fn.loc8_13.2 [concrete = constants.%bound_method.0e0] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_13.4(%.loc8_13.2) [concrete = constants.%int_1.962] +// CHECK:STDOUT: %bound_method.loc8_13.4: = bound_method %.loc8_13.2, %specific_fn.loc8_13.2 [concrete = constants.%bound_method.055] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i16 = call %bound_method.loc8_13.4(%.loc8_13.2) [concrete = constants.%int_1.792] // CHECK:STDOUT: %.loc8_13.3: ref %i16 = temporary_storage -// CHECK:STDOUT: %.loc8_13.4: ref %i16 = temporary %.loc8_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.251] -// CHECK:STDOUT: %addr: %ptr.971 = addr_of %.loc8_13.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc8_13.4: ref %i16 = temporary %.loc8_13.3, %Int.as.Copy.impl.Op.call [concrete = constants.%.e50] +// CHECK:STDOUT: %addr: %ptr.83d = addr_of %.loc8_13.4 [concrete = constants.%addr] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.251) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.e50) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1201,7 +1201,7 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: fn @foo.2(%a.param: %i16); // CHECK:STDOUT: -// CHECK:STDOUT: fn @foo__carbon_thunk(%a.param: %ptr.971); +// CHECK:STDOUT: fn @foo__carbon_thunk(%a.param: %ptr.83d); // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_13.1(%self.param: ref %i16.builtin) = "no_op"; // CHECK:STDOUT: @@ -1223,23 +1223,23 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] // CHECK:STDOUT: %bar.cpp_overload_set.type: type = cpp_overload_set_type @bar.cpp_overload_set [concrete] @@ -1262,12 +1262,12 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %i32.2 [concrete = constants.%i32] { @@ -1279,8 +1279,8 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %bar.cpp_overload_set.value: %bar.cpp_overload_set.type = cpp_overload_set_value @bar.cpp_overload_set [concrete = constants.%bar.cpp_overload_set.value] // CHECK:STDOUT: %bar.decl: %bar.type = fn_decl @bar [concrete = constants.%bar] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %i32.2 [concrete = constants.%i32] { @@ -1311,25 +1311,25 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1.loc7: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32.loc7: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc7: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] +// CHECK:STDOUT: %impl.elem0.loc7: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] // CHECK:STDOUT: %bound_method.loc7_13.1: = bound_method %int_1.loc7, %impl.elem0.loc7 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %int_1.loc7, %specific_fn.loc7 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_13.2(%int_1.loc7) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc7 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_13.2: %i32 = converted %int_1.loc7, %.loc7_13.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_13.2(%int_1.loc7) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc7 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_13.2: %i32 = converted %int_1.loc7, %.loc7_13.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc7_13.2) // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %bar.ref: %bar.cpp_overload_set.type = name_ref bar, imports.%bar.cpp_overload_set.value [concrete = constants.%bar.cpp_overload_set.value] // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32.loc8: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc8: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] +// CHECK:STDOUT: %impl.elem0.loc8: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] // CHECK:STDOUT: %bound_method.loc8_13.1: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_13.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_13.2(%int_1.loc8) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc8 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_13.2: %i32 = converted %int_1.loc8, %.loc8_13.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_13.2(%int_1.loc8) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc8 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_13.2: %i32 = converted %int_1.loc8, %.loc8_13.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %bar.call: init %empty_tuple.type = call imports.%bar.decl(%.loc8_13.2) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1349,114 +1349,114 @@ fn F() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.type: type = cpp_overload_set_type @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %int_2147483647.d89: Core.IntLiteral = int_value 2147483647 [concrete] // CHECK:STDOUT: %foo.type.95b203.1: type = fn_type @foo.1 [concrete] // CHECK:STDOUT: %foo.f55227.1: %foo.type.95b203.1 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.e78: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.e78) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet.e78 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.565: = bound_method %int_2147483647.d89, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7f2: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.0b4: = bound_method %int_2147483647.d89, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7f2 [concrete] -// CHECK:STDOUT: %int_2147483647.cb2: %i32 = int_value 2147483647 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.840: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.840) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet.840 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.374: = bound_method %int_2147483647.d89, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.247: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.2a8: = bound_method %int_2147483647.d89, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.247 [concrete] +// CHECK:STDOUT: %int_2147483647.9ca: %i32 = int_value 2147483647 [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.c8a: type = pattern_type %i64 [concrete] +// CHECK:STDOUT: %pattern_type.fdd: type = pattern_type %i64 [concrete] // CHECK:STDOUT: %int_2147483648.1db: Core.IntLiteral = int_value 2147483648 [concrete] // CHECK:STDOUT: %foo.type.95b203.2: type = fn_type @foo.2 [concrete] // CHECK:STDOUT: %foo.f55227.2: %foo.type.95b203.2 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.e82: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.af9: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.d03: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.d03 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.1de: %ImplicitAs.type.e82 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.af9) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.1bc: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i64, %ImplicitAs.facet.1de) [concrete] -// CHECK:STDOUT: %.a99: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.1bc, %ImplicitAs.facet.1de [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.9e5: = bound_method %int_2147483648.1db, %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7a2: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.14e: = bound_method %int_2147483648.1db, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7a2 [concrete] -// CHECK:STDOUT: %int_2147483648.43b: %i64 = int_value 2147483648 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.08a: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.35c: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.fc2: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.fc2 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.8a1: %ImplicitAs.type.08a = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.35c) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.744: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i64, %ImplicitAs.facet.8a1) [concrete] +// CHECK:STDOUT: %.d4c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.744, %ImplicitAs.facet.8a1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.560: = bound_method %int_2147483648.1db, %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.b26: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.48d: = bound_method %int_2147483648.1db, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.b26 [concrete] +// CHECK:STDOUT: %int_2147483648.629: %i64 = int_value 2147483648 [concrete] // CHECK:STDOUT: %int_9223372036854775807.e6f: Core.IntLiteral = int_value 9223372036854775807 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.04a: = bound_method %int_9223372036854775807.e6f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6 [concrete] -// CHECK:STDOUT: %bound_method.8c6: = bound_method %int_9223372036854775807.e6f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7a2 [concrete] -// CHECK:STDOUT: %int_9223372036854775807.bd7: %i64 = int_value 9223372036854775807 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.efc: = bound_method %int_9223372036854775807.e6f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5 [concrete] +// CHECK:STDOUT: %bound_method.eb1: = bound_method %int_9223372036854775807.e6f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.b26 [concrete] +// CHECK:STDOUT: %int_9223372036854775807.0a1: %i64 = int_value 9223372036854775807 [concrete] // CHECK:STDOUT: %int_128: Core.IntLiteral = int_value 128 [concrete] // CHECK:STDOUT: %i128: type = class_type @Int, @Int(%int_128) [concrete] // CHECK:STDOUT: %i128.builtin: type = int_type signed, %int_128 [concrete] -// CHECK:STDOUT: %pattern_type.df8: type = pattern_type %i128 [concrete] +// CHECK:STDOUT: %pattern_type.292: type = pattern_type %i128 [concrete] // CHECK:STDOUT: %int_9223372036854775808.293: Core.IntLiteral = int_value 9223372036854775808 [concrete] -// CHECK:STDOUT: %ptr.fa6: type = ptr_type %i128 [concrete] -// CHECK:STDOUT: %pattern_type.e7d: type = pattern_type %ptr.fa6 [concrete] +// CHECK:STDOUT: %ptr.201: type = ptr_type %i128 [concrete] +// CHECK:STDOUT: %pattern_type.778: type = pattern_type %ptr.201 [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.bb7: type = facet_type <@ImplicitAs, @ImplicitAs(%i128)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.609: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_128) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.56d: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_128) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.420: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.56d = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.352: %ImplicitAs.type.bb7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.609) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b5b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i128, %ImplicitAs.facet.352) [concrete] -// CHECK:STDOUT: %.754: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b5b, %ImplicitAs.facet.352 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.aeb: = bound_method %int_9223372036854775808.293, %Core.IntLiteral.as.ImplicitAs.impl.Convert.420 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b9: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.420, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_128) [concrete] -// CHECK:STDOUT: %bound_method.5ad: = bound_method %int_9223372036854775808.293, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b9 [concrete] -// CHECK:STDOUT: %int_9223372036854775808.685: %i128 = int_value 9223372036854775808 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.f43: type = facet_type <@ImplicitAs, @ImplicitAs(%i128)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.de9: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_128) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a0a: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_128) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.c2a: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a0a = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.e71: %ImplicitAs.type.f43 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.de9) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.dfc: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i128, %ImplicitAs.facet.e71) [concrete] +// CHECK:STDOUT: %.3b9: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.dfc, %ImplicitAs.facet.e71 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.412: = bound_method %int_9223372036854775808.293, %Core.IntLiteral.as.ImplicitAs.impl.Convert.c2a [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b5: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.c2a, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_128) [concrete] +// CHECK:STDOUT: %bound_method.b72: = bound_method %int_9223372036854775808.293, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b5 [concrete] +// CHECK:STDOUT: %int_9223372036854775808.13b: %i128 = int_value 9223372036854775808 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.7f5: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_128) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.34a: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_128) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.497: %Int.as.Copy.impl.Op.type.34a = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i128, (%Copy.impl_witness.7f5) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.965: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.3bc: type = fn_type_with_self_type %Copy.WithSelf.Op.type.965, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.760: = bound_method %int_9223372036854775808.685, %Int.as.Copy.impl.Op.497 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.497, @Int.as.Copy.impl.Op(%int_128) [concrete] -// CHECK:STDOUT: %bound_method.6b4: = bound_method %int_9223372036854775808.685, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.90c: ref %i128 = temporary invalid, %int_9223372036854775808.685 [concrete] -// CHECK:STDOUT: %addr.22d: %ptr.fa6 = addr_of %.90c [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.ede: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_128) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.fc5: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_128) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.26e: %Int.as.Copy.impl.Op.type.fc5 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i128, (%Copy.impl_witness.ede) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.a44: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.803: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a44, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.e5e: = bound_method %int_9223372036854775808.13b, %Int.as.Copy.impl.Op.26e [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.26e, @Int.as.Copy.impl.Op(%int_128) [concrete] +// CHECK:STDOUT: %bound_method.6a9: = bound_method %int_9223372036854775808.13b, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.4f2: ref %i128 = temporary invalid, %int_9223372036854775808.13b [concrete] +// CHECK:STDOUT: %addr.39c: %ptr.201 = addr_of %.4f2 [concrete] // CHECK:STDOUT: %int_18446744073709551615.5ec: Core.IntLiteral = int_value 18446744073709551615 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b84: = bound_method %int_18446744073709551615.5ec, %Core.IntLiteral.as.ImplicitAs.impl.Convert.420 [concrete] -// CHECK:STDOUT: %bound_method.e41: = bound_method %int_18446744073709551615.5ec, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b9 [concrete] -// CHECK:STDOUT: %int_18446744073709551615.958: %i128 = int_value 18446744073709551615 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.0e2: = bound_method %int_18446744073709551615.958, %Int.as.Copy.impl.Op.497 [concrete] -// CHECK:STDOUT: %bound_method.948: = bound_method %int_18446744073709551615.958, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.064: ref %i128 = temporary invalid, %int_18446744073709551615.958 [concrete] -// CHECK:STDOUT: %addr.c8c: %ptr.fa6 = addr_of %.064 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.486: = bound_method %int_18446744073709551615.5ec, %Core.IntLiteral.as.ImplicitAs.impl.Convert.c2a [concrete] +// CHECK:STDOUT: %bound_method.765: = bound_method %int_18446744073709551615.5ec, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b5 [concrete] +// CHECK:STDOUT: %int_18446744073709551615.e81: %i128 = int_value 18446744073709551615 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.e7d: = bound_method %int_18446744073709551615.e81, %Int.as.Copy.impl.Op.26e [concrete] +// CHECK:STDOUT: %bound_method.32f: = bound_method %int_18446744073709551615.e81, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.22a: ref %i128 = temporary invalid, %int_18446744073709551615.e81 [concrete] +// CHECK:STDOUT: %addr.ad8: %ptr.201 = addr_of %.22a [concrete] // CHECK:STDOUT: %int_18446744073709551616.1ee: Core.IntLiteral = int_value 18446744073709551616 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.4fb: = bound_method %int_18446744073709551616.1ee, %Core.IntLiteral.as.ImplicitAs.impl.Convert.420 [concrete] -// CHECK:STDOUT: %bound_method.36c: = bound_method %int_18446744073709551616.1ee, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b9 [concrete] -// CHECK:STDOUT: %int_18446744073709551616.15f: %i128 = int_value 18446744073709551616 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.cc2: = bound_method %int_18446744073709551616.15f, %Int.as.Copy.impl.Op.497 [concrete] -// CHECK:STDOUT: %bound_method.55a: = bound_method %int_18446744073709551616.15f, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.7a4: ref %i128 = temporary invalid, %int_18446744073709551616.15f [concrete] -// CHECK:STDOUT: %addr.207: %ptr.fa6 = addr_of %.7a4 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d2: = bound_method %int_18446744073709551616.1ee, %Core.IntLiteral.as.ImplicitAs.impl.Convert.c2a [concrete] +// CHECK:STDOUT: %bound_method.d66: = bound_method %int_18446744073709551616.1ee, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b5 [concrete] +// CHECK:STDOUT: %int_18446744073709551616.a31: %i128 = int_value 18446744073709551616 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.f2a: = bound_method %int_18446744073709551616.a31, %Int.as.Copy.impl.Op.26e [concrete] +// CHECK:STDOUT: %bound_method.162: = bound_method %int_18446744073709551616.a31, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.ae4: ref %i128 = temporary invalid, %int_18446744073709551616.a31 [concrete] +// CHECK:STDOUT: %addr.eaa: %ptr.201 = addr_of %.ae4 [concrete] // CHECK:STDOUT: %int_170141183460469231731687303715884105727.fea: Core.IntLiteral = int_value 170141183460469231731687303715884105727 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.0ab: = bound_method %int_170141183460469231731687303715884105727.fea, %Core.IntLiteral.as.ImplicitAs.impl.Convert.420 [concrete] -// CHECK:STDOUT: %bound_method.ff1: = bound_method %int_170141183460469231731687303715884105727.fea, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b9 [concrete] -// CHECK:STDOUT: %int_170141183460469231731687303715884105727.6af: %i128 = int_value 170141183460469231731687303715884105727 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.a34: = bound_method %int_170141183460469231731687303715884105727.6af, %Int.as.Copy.impl.Op.497 [concrete] -// CHECK:STDOUT: %bound_method.96e: = bound_method %int_170141183460469231731687303715884105727.6af, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.771: ref %i128 = temporary invalid, %int_170141183460469231731687303715884105727.6af [concrete] -// CHECK:STDOUT: %addr.df5: %ptr.fa6 = addr_of %.771 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.132: = bound_method %int_170141183460469231731687303715884105727.fea, %Core.IntLiteral.as.ImplicitAs.impl.Convert.c2a [concrete] +// CHECK:STDOUT: %bound_method.3d4: = bound_method %int_170141183460469231731687303715884105727.fea, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b5 [concrete] +// CHECK:STDOUT: %int_170141183460469231731687303715884105727.276: %i128 = int_value 170141183460469231731687303715884105727 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound.86f: = bound_method %int_170141183460469231731687303715884105727.276, %Int.as.Copy.impl.Op.26e [concrete] +// CHECK:STDOUT: %bound_method.30d: = bound_method %int_170141183460469231731687303715884105727.276, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.f1a: ref %i128 = temporary invalid, %int_170141183460469231731687303715884105727.276 [concrete] +// CHECK:STDOUT: %addr.dc2: %ptr.201 = addr_of %.f1a [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc31_71.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.812: = bound_method %.771, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.03d: = bound_method %.7a4, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.de7: = bound_method %.064, %Destroy.Op.1dc86d.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.b75: = bound_method %.90c, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc31_71.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.186: = bound_method %.f1a, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.eec: = bound_method %.ae4, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.673: = bound_method %.22a, %Destroy.Op.2dd605.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.838: = bound_method %.4f2, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1475,10 +1475,10 @@ fn F() { // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.decl.993533.1: %foo.type.95b203.1 = fn_decl @foo.1 [concrete = constants.%foo.f55227.1] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.2 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %int_32.1: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] // CHECK:STDOUT: %i32.1: type = class_type @Int, @Int(constants.%int_32) [concrete = constants.%i32] @@ -1493,14 +1493,14 @@ fn F() { // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param1 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %foo.decl.993533.2: %foo.type.95b203.2 = fn_decl @foo.2 [concrete = constants.%foo.f55227.2] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c8a = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c8a = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c8a = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c8a = return_slot_pattern %return.param_patt, %i64.2 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.fdd = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.fdd = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.fdd = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.fdd = return_slot_pattern %return.param_patt, %i64.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %int_64.1: Core.IntLiteral = int_value 64 [concrete = constants.%int_64] // CHECK:STDOUT: %i64.1: type = class_type @Int, @Int(constants.%int_64) [concrete = constants.%i64] @@ -1516,29 +1516,29 @@ fn F() { // CHECK:STDOUT: %return: ref %i64 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.e7d = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.e7d = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.e7d = value_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.e7d = at_binding_pattern r#return, %return.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.778 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.778 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.778 = value_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.778 = at_binding_pattern r#return, %return.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %a.param: %ptr.fa6 = value_param call_param0 -// CHECK:STDOUT: %.1: type = splice_block constants.%ptr.fa6 [concrete = constants.%ptr.fa6] { +// CHECK:STDOUT: %a.param: %ptr.201 = value_param call_param0 +// CHECK:STDOUT: %.1: type = splice_block constants.%ptr.201 [concrete = constants.%ptr.201] { // CHECK:STDOUT: %int_128.2: Core.IntLiteral = int_value 128 [concrete = constants.%int_128] // CHECK:STDOUT: %i128.3: type = class_type @Int, @Int(constants.%int_128) [concrete = constants.%i128] // CHECK:STDOUT: %i128.4: type = type_literal %i128.3 [concrete = constants.%i128] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.fa6 = value_binding a, %a.param -// CHECK:STDOUT: %return.param: %ptr.fa6 = value_param call_param1 -// CHECK:STDOUT: %.2: type = splice_block constants.%ptr.fa6 [concrete = constants.%ptr.fa6] { +// CHECK:STDOUT: %a: %ptr.201 = value_binding a, %a.param +// CHECK:STDOUT: %return.param: %ptr.201 = value_param call_param1 +// CHECK:STDOUT: %.2: type = splice_block constants.%ptr.201 [concrete = constants.%ptr.201] { // CHECK:STDOUT: %int_128.1: Core.IntLiteral = int_value 128 [concrete = constants.%int_128] // CHECK:STDOUT: %i128.1: type = class_type @Int, @Int(constants.%int_128) [concrete = constants.%i128] // CHECK:STDOUT: %i128.2: type = type_literal %i128.1 [concrete = constants.%i128] // CHECK:STDOUT: } -// CHECK:STDOUT: %return: %ptr.fa6 = value_binding r#return, %return.param +// CHECK:STDOUT: %return: %ptr.201 = value_binding r#return, %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1558,118 +1558,118 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref.loc8: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_2147483647: Core.IntLiteral = int_value 2147483647 [concrete = constants.%int_2147483647.d89] -// CHECK:STDOUT: %impl.elem0.loc8: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_31.1: = bound_method %int_2147483647, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.565] -// CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7f2] -// CHECK:STDOUT: %bound_method.loc8_31.2: = bound_method %int_2147483647, %specific_fn.loc8 [concrete = constants.%bound_method.0b4] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_31.2(%int_2147483647) [concrete = constants.%int_2147483647.cb2] -// CHECK:STDOUT: %.loc8_31.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_2147483647.cb2] -// CHECK:STDOUT: %.loc8_31.2: %i32 = converted %int_2147483647, %.loc8_31.1 [concrete = constants.%int_2147483647.cb2] +// CHECK:STDOUT: %impl.elem0.loc8: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_31.1: = bound_method %int_2147483647, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.374] +// CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.247] +// CHECK:STDOUT: %bound_method.loc8_31.2: = bound_method %int_2147483647, %specific_fn.loc8 [concrete = constants.%bound_method.2a8] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_31.2(%int_2147483647) [concrete = constants.%int_2147483647.9ca] +// CHECK:STDOUT: %.loc8_31.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_2147483647.9ca] +// CHECK:STDOUT: %.loc8_31.2: %i32 = converted %int_2147483647, %.loc8_31.1 [concrete = constants.%int_2147483647.9ca] // CHECK:STDOUT: %foo.call.loc8: init %i32 = call imports.%foo.decl.993533.1(%.loc8_31.2) // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc8_41.1: %i32 = value_of_initializer %foo.call.loc8 // CHECK:STDOUT: %.loc8_41.2: %i32 = converted %foo.call.loc8, %.loc8_41.1 // CHECK:STDOUT: %a: %i32 = value_binding a, %.loc8_41.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c8a = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.fdd = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc13: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref.loc13: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_2147483648.loc13: Core.IntLiteral = int_value 2147483648 [concrete = constants.%int_2147483648.1db] -// CHECK:STDOUT: %impl.elem0.loc13: %.a99 = impl_witness_access constants.%ImplicitAs.impl_witness.af9, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6] -// CHECK:STDOUT: %bound_method.loc13_31.1: = bound_method %int_2147483648.loc13, %impl.elem0.loc13 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.9e5] -// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7a2] -// CHECK:STDOUT: %bound_method.loc13_31.2: = bound_method %int_2147483648.loc13, %specific_fn.loc13 [concrete = constants.%bound_method.14e] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13: init %i64 = call %bound_method.loc13_31.2(%int_2147483648.loc13) [concrete = constants.%int_2147483648.43b] -// CHECK:STDOUT: %.loc13_31.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13 [concrete = constants.%int_2147483648.43b] -// CHECK:STDOUT: %.loc13_31.2: %i64 = converted %int_2147483648.loc13, %.loc13_31.1 [concrete = constants.%int_2147483648.43b] +// CHECK:STDOUT: %impl.elem0.loc13: %.d4c = impl_witness_access constants.%ImplicitAs.impl_witness.35c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5] +// CHECK:STDOUT: %bound_method.loc13_31.1: = bound_method %int_2147483648.loc13, %impl.elem0.loc13 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.560] +// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.b26] +// CHECK:STDOUT: %bound_method.loc13_31.2: = bound_method %int_2147483648.loc13, %specific_fn.loc13 [concrete = constants.%bound_method.48d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13: init %i64 = call %bound_method.loc13_31.2(%int_2147483648.loc13) [concrete = constants.%int_2147483648.629] +// CHECK:STDOUT: %.loc13_31.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13 [concrete = constants.%int_2147483648.629] +// CHECK:STDOUT: %.loc13_31.2: %i64 = converted %int_2147483648.loc13, %.loc13_31.1 [concrete = constants.%int_2147483648.629] // CHECK:STDOUT: %foo.call.loc13: init %i64 = call imports.%foo.decl.993533.2(%.loc13_31.2) // CHECK:STDOUT: %i64.loc13: type = type_literal constants.%i64 [concrete = constants.%i64] // CHECK:STDOUT: %.loc13_41.1: %i64 = value_of_initializer %foo.call.loc13 // CHECK:STDOUT: %.loc13_41.2: %i64 = converted %foo.call.loc13, %.loc13_41.1 // CHECK:STDOUT: %b: %i64 = value_binding b, %.loc13_41.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b_hexa.patt: %pattern_type.c8a = value_binding_pattern b_hexa [concrete] +// CHECK:STDOUT: %b_hexa.patt: %pattern_type.fdd = value_binding_pattern b_hexa [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc14: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref.loc14: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_2147483648.loc14: Core.IntLiteral = int_value 2147483648 [concrete = constants.%int_2147483648.1db] -// CHECK:STDOUT: %impl.elem0.loc14: %.a99 = impl_witness_access constants.%ImplicitAs.impl_witness.af9, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6] -// CHECK:STDOUT: %bound_method.loc14_36.1: = bound_method %int_2147483648.loc14, %impl.elem0.loc14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.9e5] -// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7a2] -// CHECK:STDOUT: %bound_method.loc14_36.2: = bound_method %int_2147483648.loc14, %specific_fn.loc14 [concrete = constants.%bound_method.14e] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14: init %i64 = call %bound_method.loc14_36.2(%int_2147483648.loc14) [concrete = constants.%int_2147483648.43b] -// CHECK:STDOUT: %.loc14_36.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14 [concrete = constants.%int_2147483648.43b] -// CHECK:STDOUT: %.loc14_36.2: %i64 = converted %int_2147483648.loc14, %.loc14_36.1 [concrete = constants.%int_2147483648.43b] +// CHECK:STDOUT: %impl.elem0.loc14: %.d4c = impl_witness_access constants.%ImplicitAs.impl_witness.35c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5] +// CHECK:STDOUT: %bound_method.loc14_36.1: = bound_method %int_2147483648.loc14, %impl.elem0.loc14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.560] +// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.b26] +// CHECK:STDOUT: %bound_method.loc14_36.2: = bound_method %int_2147483648.loc14, %specific_fn.loc14 [concrete = constants.%bound_method.48d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14: init %i64 = call %bound_method.loc14_36.2(%int_2147483648.loc14) [concrete = constants.%int_2147483648.629] +// CHECK:STDOUT: %.loc14_36.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14 [concrete = constants.%int_2147483648.629] +// CHECK:STDOUT: %.loc14_36.2: %i64 = converted %int_2147483648.loc14, %.loc14_36.1 [concrete = constants.%int_2147483648.629] // CHECK:STDOUT: %foo.call.loc14: init %i64 = call imports.%foo.decl.993533.2(%.loc14_36.2) // CHECK:STDOUT: %i64.loc14: type = type_literal constants.%i64 [concrete = constants.%i64] // CHECK:STDOUT: %.loc14_47.1: %i64 = value_of_initializer %foo.call.loc14 // CHECK:STDOUT: %.loc14_47.2: %i64 = converted %foo.call.loc14, %.loc14_47.1 // CHECK:STDOUT: %b_hexa: %i64 = value_binding b_hexa, %.loc14_47.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b_binary.patt: %pattern_type.c8a = value_binding_pattern b_binary [concrete] +// CHECK:STDOUT: %b_binary.patt: %pattern_type.fdd = value_binding_pattern b_binary [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc15: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref.loc15: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_2147483648.loc15: Core.IntLiteral = int_value 2147483648 [concrete = constants.%int_2147483648.1db] -// CHECK:STDOUT: %impl.elem0.loc15: %.a99 = impl_witness_access constants.%ImplicitAs.impl_witness.af9, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6] -// CHECK:STDOUT: %bound_method.loc15_38.1: = bound_method %int_2147483648.loc15, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.9e5] -// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7a2] -// CHECK:STDOUT: %bound_method.loc15_38.2: = bound_method %int_2147483648.loc15, %specific_fn.loc15 [concrete = constants.%bound_method.14e] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %i64 = call %bound_method.loc15_38.2(%int_2147483648.loc15) [concrete = constants.%int_2147483648.43b] -// CHECK:STDOUT: %.loc15_38.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_2147483648.43b] -// CHECK:STDOUT: %.loc15_38.2: %i64 = converted %int_2147483648.loc15, %.loc15_38.1 [concrete = constants.%int_2147483648.43b] +// CHECK:STDOUT: %impl.elem0.loc15: %.d4c = impl_witness_access constants.%ImplicitAs.impl_witness.35c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5] +// CHECK:STDOUT: %bound_method.loc15_38.1: = bound_method %int_2147483648.loc15, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.560] +// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.b26] +// CHECK:STDOUT: %bound_method.loc15_38.2: = bound_method %int_2147483648.loc15, %specific_fn.loc15 [concrete = constants.%bound_method.48d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %i64 = call %bound_method.loc15_38.2(%int_2147483648.loc15) [concrete = constants.%int_2147483648.629] +// CHECK:STDOUT: %.loc15_38.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_2147483648.629] +// CHECK:STDOUT: %.loc15_38.2: %i64 = converted %int_2147483648.loc15, %.loc15_38.1 [concrete = constants.%int_2147483648.629] // CHECK:STDOUT: %foo.call.loc15: init %i64 = call imports.%foo.decl.993533.2(%.loc15_38.2) // CHECK:STDOUT: %i64.loc15: type = type_literal constants.%i64 [concrete = constants.%i64] // CHECK:STDOUT: %.loc15_79.1: %i64 = value_of_initializer %foo.call.loc15 // CHECK:STDOUT: %.loc15_79.2: %i64 = converted %foo.call.loc15, %.loc15_79.1 // CHECK:STDOUT: %b_binary: %i64 = value_binding b_binary, %.loc15_79.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.c8a = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.fdd = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc18: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref.loc18: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_9223372036854775807: Core.IntLiteral = int_value 9223372036854775807 [concrete = constants.%int_9223372036854775807.e6f] -// CHECK:STDOUT: %impl.elem0.loc18: %.a99 = impl_witness_access constants.%ImplicitAs.impl_witness.af9, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6] -// CHECK:STDOUT: %bound_method.loc18_31.1: = bound_method %int_9223372036854775807, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.04a] -// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.7a2] -// CHECK:STDOUT: %bound_method.loc18_31.2: = bound_method %int_9223372036854775807, %specific_fn.loc18 [concrete = constants.%bound_method.8c6] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %i64 = call %bound_method.loc18_31.2(%int_9223372036854775807) [concrete = constants.%int_9223372036854775807.bd7] -// CHECK:STDOUT: %.loc18_31.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_9223372036854775807.bd7] -// CHECK:STDOUT: %.loc18_31.2: %i64 = converted %int_9223372036854775807, %.loc18_31.1 [concrete = constants.%int_9223372036854775807.bd7] +// CHECK:STDOUT: %impl.elem0.loc18: %.d4c = impl_witness_access constants.%ImplicitAs.impl_witness.35c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5] +// CHECK:STDOUT: %bound_method.loc18_31.1: = bound_method %int_9223372036854775807, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.efc] +// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.b26] +// CHECK:STDOUT: %bound_method.loc18_31.2: = bound_method %int_9223372036854775807, %specific_fn.loc18 [concrete = constants.%bound_method.eb1] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %i64 = call %bound_method.loc18_31.2(%int_9223372036854775807) [concrete = constants.%int_9223372036854775807.0a1] +// CHECK:STDOUT: %.loc18_31.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_9223372036854775807.0a1] +// CHECK:STDOUT: %.loc18_31.2: %i64 = converted %int_9223372036854775807, %.loc18_31.1 [concrete = constants.%int_9223372036854775807.0a1] // CHECK:STDOUT: %foo.call.loc18: init %i64 = call imports.%foo.decl.993533.2(%.loc18_31.2) // CHECK:STDOUT: %i64.loc18: type = type_literal constants.%i64 [concrete = constants.%i64] // CHECK:STDOUT: %.loc18_50.1: %i64 = value_of_initializer %foo.call.loc18 // CHECK:STDOUT: %.loc18_50.2: %i64 = converted %foo.call.loc18, %.loc18_50.1 // CHECK:STDOUT: %c: %i64 = value_binding c, %.loc18_50.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.df8 = value_binding_pattern d [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.292 = value_binding_pattern d [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc22: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref.loc22: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_9223372036854775808: Core.IntLiteral = int_value 9223372036854775808 [concrete = constants.%int_9223372036854775808.293] -// CHECK:STDOUT: %impl.elem0.loc22_32.1: %.754 = impl_witness_access constants.%ImplicitAs.impl_witness.609, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.420] -// CHECK:STDOUT: %bound_method.loc22_32.1: = bound_method %int_9223372036854775808, %impl.elem0.loc22_32.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.aeb] -// CHECK:STDOUT: %specific_fn.loc22_32.1: = specific_function %impl.elem0.loc22_32.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_128) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b9] -// CHECK:STDOUT: %bound_method.loc22_32.2: = bound_method %int_9223372036854775808, %specific_fn.loc22_32.1 [concrete = constants.%bound_method.5ad] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %i128 = call %bound_method.loc22_32.2(%int_9223372036854775808) [concrete = constants.%int_9223372036854775808.685] -// CHECK:STDOUT: %.loc22_32.1: %i128 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_9223372036854775808.685] -// CHECK:STDOUT: %.loc22_32.2: %i128 = converted %int_9223372036854775808, %.loc22_32.1 [concrete = constants.%int_9223372036854775808.685] -// CHECK:STDOUT: %impl.elem0.loc22_32.2: %.3bc = impl_witness_access constants.%Copy.impl_witness.7f5, element0 [concrete = constants.%Int.as.Copy.impl.Op.497] -// CHECK:STDOUT: %bound_method.loc22_32.3: = bound_method %.loc22_32.2, %impl.elem0.loc22_32.2 [concrete = constants.%Int.as.Copy.impl.Op.bound.760] +// CHECK:STDOUT: %impl.elem0.loc22_32.1: %.3b9 = impl_witness_access constants.%ImplicitAs.impl_witness.de9, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.c2a] +// CHECK:STDOUT: %bound_method.loc22_32.1: = bound_method %int_9223372036854775808, %impl.elem0.loc22_32.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.412] +// CHECK:STDOUT: %specific_fn.loc22_32.1: = specific_function %impl.elem0.loc22_32.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_128) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b5] +// CHECK:STDOUT: %bound_method.loc22_32.2: = bound_method %int_9223372036854775808, %specific_fn.loc22_32.1 [concrete = constants.%bound_method.b72] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %i128 = call %bound_method.loc22_32.2(%int_9223372036854775808) [concrete = constants.%int_9223372036854775808.13b] +// CHECK:STDOUT: %.loc22_32.1: %i128 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_9223372036854775808.13b] +// CHECK:STDOUT: %.loc22_32.2: %i128 = converted %int_9223372036854775808, %.loc22_32.1 [concrete = constants.%int_9223372036854775808.13b] +// CHECK:STDOUT: %impl.elem0.loc22_32.2: %.803 = impl_witness_access constants.%Copy.impl_witness.ede, element0 [concrete = constants.%Int.as.Copy.impl.Op.26e] +// CHECK:STDOUT: %bound_method.loc22_32.3: = bound_method %.loc22_32.2, %impl.elem0.loc22_32.2 [concrete = constants.%Int.as.Copy.impl.Op.bound.e5e] // CHECK:STDOUT: %specific_fn.loc22_32.2: = specific_function %impl.elem0.loc22_32.2, @Int.as.Copy.impl.Op(constants.%int_128) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc22_32.4: = bound_method %.loc22_32.2, %specific_fn.loc22_32.2 [concrete = constants.%bound_method.6b4] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc22: init %i128 = call %bound_method.loc22_32.4(%.loc22_32.2) [concrete = constants.%int_9223372036854775808.685] +// CHECK:STDOUT: %bound_method.loc22_32.4: = bound_method %.loc22_32.2, %specific_fn.loc22_32.2 [concrete = constants.%bound_method.6a9] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc22: init %i128 = call %bound_method.loc22_32.4(%.loc22_32.2) [concrete = constants.%int_9223372036854775808.13b] // CHECK:STDOUT: %.loc22_32.3: ref %i128 = temporary_storage -// CHECK:STDOUT: %.loc22_32.4: ref %i128 = temporary %.loc22_32.3, %Int.as.Copy.impl.Op.call.loc22 [concrete = constants.%.90c] -// CHECK:STDOUT: %addr.loc22_51.1: %ptr.fa6 = addr_of %.loc22_32.4 [concrete = constants.%addr.22d] +// CHECK:STDOUT: %.loc22_32.4: ref %i128 = temporary %.loc22_32.3, %Int.as.Copy.impl.Op.call.loc22 [concrete = constants.%.4f2] +// CHECK:STDOUT: %addr.loc22_51.1: %ptr.201 = addr_of %.loc22_32.4 [concrete = constants.%addr.39c] // CHECK:STDOUT: %.loc22_51.1: ref %i128 = temporary_storage -// CHECK:STDOUT: %addr.loc22_51.2: %ptr.fa6 = addr_of %.loc22_51.1 +// CHECK:STDOUT: %addr.loc22_51.2: %ptr.201 = addr_of %.loc22_51.1 // CHECK:STDOUT: %foo__carbon_thunk.call.loc22: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr.loc22_51.1, %addr.loc22_51.2) // CHECK:STDOUT: %.loc22_51.2: init %i128 to %.loc22_51.1 = mark_in_place_init %foo__carbon_thunk.call.loc22 // CHECK:STDOUT: %i128.loc22: type = type_literal constants.%i128 [concrete = constants.%i128] @@ -1677,28 +1677,28 @@ fn F() { // CHECK:STDOUT: %.loc22_51.4: %i128 = acquire_value %.loc22_51.3 // CHECK:STDOUT: %d: %i128 = value_binding d, %.loc22_51.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e.patt: %pattern_type.df8 = value_binding_pattern e [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.292 = value_binding_pattern e [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc25: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref.loc25: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_18446744073709551615: Core.IntLiteral = int_value 18446744073709551615 [concrete = constants.%int_18446744073709551615.5ec] -// CHECK:STDOUT: %impl.elem0.loc25_32.1: %.754 = impl_witness_access constants.%ImplicitAs.impl_witness.609, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.420] -// CHECK:STDOUT: %bound_method.loc25_32.1: = bound_method %int_18446744073709551615, %impl.elem0.loc25_32.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b84] -// CHECK:STDOUT: %specific_fn.loc25_32.1: = specific_function %impl.elem0.loc25_32.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_128) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b9] -// CHECK:STDOUT: %bound_method.loc25_32.2: = bound_method %int_18446744073709551615, %specific_fn.loc25_32.1 [concrete = constants.%bound_method.e41] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25: init %i128 = call %bound_method.loc25_32.2(%int_18446744073709551615) [concrete = constants.%int_18446744073709551615.958] -// CHECK:STDOUT: %.loc25_32.1: %i128 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25 [concrete = constants.%int_18446744073709551615.958] -// CHECK:STDOUT: %.loc25_32.2: %i128 = converted %int_18446744073709551615, %.loc25_32.1 [concrete = constants.%int_18446744073709551615.958] -// CHECK:STDOUT: %impl.elem0.loc25_32.2: %.3bc = impl_witness_access constants.%Copy.impl_witness.7f5, element0 [concrete = constants.%Int.as.Copy.impl.Op.497] -// CHECK:STDOUT: %bound_method.loc25_32.3: = bound_method %.loc25_32.2, %impl.elem0.loc25_32.2 [concrete = constants.%Int.as.Copy.impl.Op.bound.0e2] +// CHECK:STDOUT: %impl.elem0.loc25_32.1: %.3b9 = impl_witness_access constants.%ImplicitAs.impl_witness.de9, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.c2a] +// CHECK:STDOUT: %bound_method.loc25_32.1: = bound_method %int_18446744073709551615, %impl.elem0.loc25_32.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.486] +// CHECK:STDOUT: %specific_fn.loc25_32.1: = specific_function %impl.elem0.loc25_32.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_128) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b5] +// CHECK:STDOUT: %bound_method.loc25_32.2: = bound_method %int_18446744073709551615, %specific_fn.loc25_32.1 [concrete = constants.%bound_method.765] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25: init %i128 = call %bound_method.loc25_32.2(%int_18446744073709551615) [concrete = constants.%int_18446744073709551615.e81] +// CHECK:STDOUT: %.loc25_32.1: %i128 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25 [concrete = constants.%int_18446744073709551615.e81] +// CHECK:STDOUT: %.loc25_32.2: %i128 = converted %int_18446744073709551615, %.loc25_32.1 [concrete = constants.%int_18446744073709551615.e81] +// CHECK:STDOUT: %impl.elem0.loc25_32.2: %.803 = impl_witness_access constants.%Copy.impl_witness.ede, element0 [concrete = constants.%Int.as.Copy.impl.Op.26e] +// CHECK:STDOUT: %bound_method.loc25_32.3: = bound_method %.loc25_32.2, %impl.elem0.loc25_32.2 [concrete = constants.%Int.as.Copy.impl.Op.bound.e7d] // CHECK:STDOUT: %specific_fn.loc25_32.2: = specific_function %impl.elem0.loc25_32.2, @Int.as.Copy.impl.Op(constants.%int_128) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc25_32.4: = bound_method %.loc25_32.2, %specific_fn.loc25_32.2 [concrete = constants.%bound_method.948] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc25: init %i128 = call %bound_method.loc25_32.4(%.loc25_32.2) [concrete = constants.%int_18446744073709551615.958] +// CHECK:STDOUT: %bound_method.loc25_32.4: = bound_method %.loc25_32.2, %specific_fn.loc25_32.2 [concrete = constants.%bound_method.32f] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc25: init %i128 = call %bound_method.loc25_32.4(%.loc25_32.2) [concrete = constants.%int_18446744073709551615.e81] // CHECK:STDOUT: %.loc25_32.3: ref %i128 = temporary_storage -// CHECK:STDOUT: %.loc25_32.4: ref %i128 = temporary %.loc25_32.3, %Int.as.Copy.impl.Op.call.loc25 [concrete = constants.%.064] -// CHECK:STDOUT: %addr.loc25_52.1: %ptr.fa6 = addr_of %.loc25_32.4 [concrete = constants.%addr.c8c] +// CHECK:STDOUT: %.loc25_32.4: ref %i128 = temporary %.loc25_32.3, %Int.as.Copy.impl.Op.call.loc25 [concrete = constants.%.22a] +// CHECK:STDOUT: %addr.loc25_52.1: %ptr.201 = addr_of %.loc25_32.4 [concrete = constants.%addr.ad8] // CHECK:STDOUT: %.loc25_52.1: ref %i128 = temporary_storage -// CHECK:STDOUT: %addr.loc25_52.2: %ptr.fa6 = addr_of %.loc25_52.1 +// CHECK:STDOUT: %addr.loc25_52.2: %ptr.201 = addr_of %.loc25_52.1 // CHECK:STDOUT: %foo__carbon_thunk.call.loc25: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr.loc25_52.1, %addr.loc25_52.2) // CHECK:STDOUT: %.loc25_52.2: init %i128 to %.loc25_52.1 = mark_in_place_init %foo__carbon_thunk.call.loc25 // CHECK:STDOUT: %i128.loc25: type = type_literal constants.%i128 [concrete = constants.%i128] @@ -1706,28 +1706,28 @@ fn F() { // CHECK:STDOUT: %.loc25_52.4: %i128 = acquire_value %.loc25_52.3 // CHECK:STDOUT: %e: %i128 = value_binding e, %.loc25_52.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %f.patt: %pattern_type.df8 = value_binding_pattern f [concrete] +// CHECK:STDOUT: %f.patt: %pattern_type.292 = value_binding_pattern f [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc28: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref.loc28: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_18446744073709551616: Core.IntLiteral = int_value 18446744073709551616 [concrete = constants.%int_18446744073709551616.1ee] -// CHECK:STDOUT: %impl.elem0.loc28_32.1: %.754 = impl_witness_access constants.%ImplicitAs.impl_witness.609, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.420] -// CHECK:STDOUT: %bound_method.loc28_32.1: = bound_method %int_18446744073709551616, %impl.elem0.loc28_32.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.4fb] -// CHECK:STDOUT: %specific_fn.loc28_32.1: = specific_function %impl.elem0.loc28_32.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_128) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b9] -// CHECK:STDOUT: %bound_method.loc28_32.2: = bound_method %int_18446744073709551616, %specific_fn.loc28_32.1 [concrete = constants.%bound_method.36c] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28: init %i128 = call %bound_method.loc28_32.2(%int_18446744073709551616) [concrete = constants.%int_18446744073709551616.15f] -// CHECK:STDOUT: %.loc28_32.1: %i128 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28 [concrete = constants.%int_18446744073709551616.15f] -// CHECK:STDOUT: %.loc28_32.2: %i128 = converted %int_18446744073709551616, %.loc28_32.1 [concrete = constants.%int_18446744073709551616.15f] -// CHECK:STDOUT: %impl.elem0.loc28_32.2: %.3bc = impl_witness_access constants.%Copy.impl_witness.7f5, element0 [concrete = constants.%Int.as.Copy.impl.Op.497] -// CHECK:STDOUT: %bound_method.loc28_32.3: = bound_method %.loc28_32.2, %impl.elem0.loc28_32.2 [concrete = constants.%Int.as.Copy.impl.Op.bound.cc2] +// CHECK:STDOUT: %impl.elem0.loc28_32.1: %.3b9 = impl_witness_access constants.%ImplicitAs.impl_witness.de9, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.c2a] +// CHECK:STDOUT: %bound_method.loc28_32.1: = bound_method %int_18446744073709551616, %impl.elem0.loc28_32.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d2] +// CHECK:STDOUT: %specific_fn.loc28_32.1: = specific_function %impl.elem0.loc28_32.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_128) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b5] +// CHECK:STDOUT: %bound_method.loc28_32.2: = bound_method %int_18446744073709551616, %specific_fn.loc28_32.1 [concrete = constants.%bound_method.d66] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28: init %i128 = call %bound_method.loc28_32.2(%int_18446744073709551616) [concrete = constants.%int_18446744073709551616.a31] +// CHECK:STDOUT: %.loc28_32.1: %i128 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28 [concrete = constants.%int_18446744073709551616.a31] +// CHECK:STDOUT: %.loc28_32.2: %i128 = converted %int_18446744073709551616, %.loc28_32.1 [concrete = constants.%int_18446744073709551616.a31] +// CHECK:STDOUT: %impl.elem0.loc28_32.2: %.803 = impl_witness_access constants.%Copy.impl_witness.ede, element0 [concrete = constants.%Int.as.Copy.impl.Op.26e] +// CHECK:STDOUT: %bound_method.loc28_32.3: = bound_method %.loc28_32.2, %impl.elem0.loc28_32.2 [concrete = constants.%Int.as.Copy.impl.Op.bound.f2a] // CHECK:STDOUT: %specific_fn.loc28_32.2: = specific_function %impl.elem0.loc28_32.2, @Int.as.Copy.impl.Op(constants.%int_128) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc28_32.4: = bound_method %.loc28_32.2, %specific_fn.loc28_32.2 [concrete = constants.%bound_method.55a] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc28: init %i128 = call %bound_method.loc28_32.4(%.loc28_32.2) [concrete = constants.%int_18446744073709551616.15f] +// CHECK:STDOUT: %bound_method.loc28_32.4: = bound_method %.loc28_32.2, %specific_fn.loc28_32.2 [concrete = constants.%bound_method.162] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc28: init %i128 = call %bound_method.loc28_32.4(%.loc28_32.2) [concrete = constants.%int_18446744073709551616.a31] // CHECK:STDOUT: %.loc28_32.3: ref %i128 = temporary_storage -// CHECK:STDOUT: %.loc28_32.4: ref %i128 = temporary %.loc28_32.3, %Int.as.Copy.impl.Op.call.loc28 [concrete = constants.%.7a4] -// CHECK:STDOUT: %addr.loc28_52.1: %ptr.fa6 = addr_of %.loc28_32.4 [concrete = constants.%addr.207] +// CHECK:STDOUT: %.loc28_32.4: ref %i128 = temporary %.loc28_32.3, %Int.as.Copy.impl.Op.call.loc28 [concrete = constants.%.ae4] +// CHECK:STDOUT: %addr.loc28_52.1: %ptr.201 = addr_of %.loc28_32.4 [concrete = constants.%addr.eaa] // CHECK:STDOUT: %.loc28_52.1: ref %i128 = temporary_storage -// CHECK:STDOUT: %addr.loc28_52.2: %ptr.fa6 = addr_of %.loc28_52.1 +// CHECK:STDOUT: %addr.loc28_52.2: %ptr.201 = addr_of %.loc28_52.1 // CHECK:STDOUT: %foo__carbon_thunk.call.loc28: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr.loc28_52.1, %addr.loc28_52.2) // CHECK:STDOUT: %.loc28_52.2: init %i128 to %.loc28_52.1 = mark_in_place_init %foo__carbon_thunk.call.loc28 // CHECK:STDOUT: %i128.loc28: type = type_literal constants.%i128 [concrete = constants.%i128] @@ -1735,46 +1735,46 @@ fn F() { // CHECK:STDOUT: %.loc28_52.4: %i128 = acquire_value %.loc28_52.3 // CHECK:STDOUT: %f: %i128 = value_binding f, %.loc28_52.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %g.patt: %pattern_type.df8 = value_binding_pattern g [concrete] +// CHECK:STDOUT: %g.patt: %pattern_type.292 = value_binding_pattern g [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc31: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref.loc31: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_170141183460469231731687303715884105727: Core.IntLiteral = int_value 170141183460469231731687303715884105727 [concrete = constants.%int_170141183460469231731687303715884105727.fea] -// CHECK:STDOUT: %impl.elem0.loc31_32.1: %.754 = impl_witness_access constants.%ImplicitAs.impl_witness.609, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.420] -// CHECK:STDOUT: %bound_method.loc31_32.1: = bound_method %int_170141183460469231731687303715884105727, %impl.elem0.loc31_32.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.0ab] -// CHECK:STDOUT: %specific_fn.loc31_32.1: = specific_function %impl.elem0.loc31_32.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_128) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b9] -// CHECK:STDOUT: %bound_method.loc31_32.2: = bound_method %int_170141183460469231731687303715884105727, %specific_fn.loc31_32.1 [concrete = constants.%bound_method.ff1] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31: init %i128 = call %bound_method.loc31_32.2(%int_170141183460469231731687303715884105727) [concrete = constants.%int_170141183460469231731687303715884105727.6af] -// CHECK:STDOUT: %.loc31_32.1: %i128 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31 [concrete = constants.%int_170141183460469231731687303715884105727.6af] -// CHECK:STDOUT: %.loc31_32.2: %i128 = converted %int_170141183460469231731687303715884105727, %.loc31_32.1 [concrete = constants.%int_170141183460469231731687303715884105727.6af] -// CHECK:STDOUT: %impl.elem0.loc31_32.2: %.3bc = impl_witness_access constants.%Copy.impl_witness.7f5, element0 [concrete = constants.%Int.as.Copy.impl.Op.497] -// CHECK:STDOUT: %bound_method.loc31_32.3: = bound_method %.loc31_32.2, %impl.elem0.loc31_32.2 [concrete = constants.%Int.as.Copy.impl.Op.bound.a34] +// CHECK:STDOUT: %impl.elem0.loc31_32.1: %.3b9 = impl_witness_access constants.%ImplicitAs.impl_witness.de9, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.c2a] +// CHECK:STDOUT: %bound_method.loc31_32.1: = bound_method %int_170141183460469231731687303715884105727, %impl.elem0.loc31_32.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.132] +// CHECK:STDOUT: %specific_fn.loc31_32.1: = specific_function %impl.elem0.loc31_32.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_128) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn.0b5] +// CHECK:STDOUT: %bound_method.loc31_32.2: = bound_method %int_170141183460469231731687303715884105727, %specific_fn.loc31_32.1 [concrete = constants.%bound_method.3d4] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31: init %i128 = call %bound_method.loc31_32.2(%int_170141183460469231731687303715884105727) [concrete = constants.%int_170141183460469231731687303715884105727.276] +// CHECK:STDOUT: %.loc31_32.1: %i128 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31 [concrete = constants.%int_170141183460469231731687303715884105727.276] +// CHECK:STDOUT: %.loc31_32.2: %i128 = converted %int_170141183460469231731687303715884105727, %.loc31_32.1 [concrete = constants.%int_170141183460469231731687303715884105727.276] +// CHECK:STDOUT: %impl.elem0.loc31_32.2: %.803 = impl_witness_access constants.%Copy.impl_witness.ede, element0 [concrete = constants.%Int.as.Copy.impl.Op.26e] +// CHECK:STDOUT: %bound_method.loc31_32.3: = bound_method %.loc31_32.2, %impl.elem0.loc31_32.2 [concrete = constants.%Int.as.Copy.impl.Op.bound.86f] // CHECK:STDOUT: %specific_fn.loc31_32.2: = specific_function %impl.elem0.loc31_32.2, @Int.as.Copy.impl.Op(constants.%int_128) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc31_32.4: = bound_method %.loc31_32.2, %specific_fn.loc31_32.2 [concrete = constants.%bound_method.96e] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc31: init %i128 = call %bound_method.loc31_32.4(%.loc31_32.2) [concrete = constants.%int_170141183460469231731687303715884105727.6af] +// CHECK:STDOUT: %bound_method.loc31_32.4: = bound_method %.loc31_32.2, %specific_fn.loc31_32.2 [concrete = constants.%bound_method.30d] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc31: init %i128 = call %bound_method.loc31_32.4(%.loc31_32.2) [concrete = constants.%int_170141183460469231731687303715884105727.276] // CHECK:STDOUT: %.loc31_32.3: ref %i128 = temporary_storage -// CHECK:STDOUT: %.loc31_32.4: ref %i128 = temporary %.loc31_32.3, %Int.as.Copy.impl.Op.call.loc31 [concrete = constants.%.771] -// CHECK:STDOUT: %addr.loc31_71.1: %ptr.fa6 = addr_of %.loc31_32.4 [concrete = constants.%addr.df5] +// CHECK:STDOUT: %.loc31_32.4: ref %i128 = temporary %.loc31_32.3, %Int.as.Copy.impl.Op.call.loc31 [concrete = constants.%.f1a] +// CHECK:STDOUT: %addr.loc31_71.1: %ptr.201 = addr_of %.loc31_32.4 [concrete = constants.%addr.dc2] // CHECK:STDOUT: %.loc31_71.1: ref %i128 = temporary_storage -// CHECK:STDOUT: %addr.loc31_71.2: %ptr.fa6 = addr_of %.loc31_71.1 +// CHECK:STDOUT: %addr.loc31_71.2: %ptr.201 = addr_of %.loc31_71.1 // CHECK:STDOUT: %foo__carbon_thunk.call.loc31: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr.loc31_71.1, %addr.loc31_71.2) // CHECK:STDOUT: %.loc31_71.2: init %i128 to %.loc31_71.1 = mark_in_place_init %foo__carbon_thunk.call.loc31 // CHECK:STDOUT: %i128.loc31: type = type_literal constants.%i128 [concrete = constants.%i128] // CHECK:STDOUT: %.loc31_71.3: ref %i128 = temporary %.loc31_71.1, %.loc31_71.2 // CHECK:STDOUT: %.loc31_71.4: %i128 = acquire_value %.loc31_71.3 // CHECK:STDOUT: %g: %i128 = value_binding g, %.loc31_71.4 -// CHECK:STDOUT: %Destroy.Op.bound.loc31: = bound_method %.loc31_71.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc31: = bound_method %.loc31_71.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc31_71: init %empty_tuple.type = call %Destroy.Op.bound.loc31(%.loc31_71.3) -// CHECK:STDOUT: %Destroy.Op.call.loc31_32: init %empty_tuple.type = call constants.%Destroy.Op.bound.812(constants.%.771) -// CHECK:STDOUT: %Destroy.Op.bound.loc28: = bound_method %.loc28_52.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.call.loc31_32: init %empty_tuple.type = call constants.%Destroy.Op.bound.186(constants.%.f1a) +// CHECK:STDOUT: %Destroy.Op.bound.loc28: = bound_method %.loc28_52.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc28_52: init %empty_tuple.type = call %Destroy.Op.bound.loc28(%.loc28_52.3) -// CHECK:STDOUT: %Destroy.Op.call.loc28_32: init %empty_tuple.type = call constants.%Destroy.Op.bound.03d(constants.%.7a4) -// CHECK:STDOUT: %Destroy.Op.bound.loc25: = bound_method %.loc25_52.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.call.loc28_32: init %empty_tuple.type = call constants.%Destroy.Op.bound.eec(constants.%.ae4) +// CHECK:STDOUT: %Destroy.Op.bound.loc25: = bound_method %.loc25_52.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc25_52: init %empty_tuple.type = call %Destroy.Op.bound.loc25(%.loc25_52.3) -// CHECK:STDOUT: %Destroy.Op.call.loc25_32: init %empty_tuple.type = call constants.%Destroy.Op.bound.de7(constants.%.064) -// CHECK:STDOUT: %Destroy.Op.bound.loc22: = bound_method %.loc22_51.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.call.loc25_32: init %empty_tuple.type = call constants.%Destroy.Op.bound.673(constants.%.22a) +// CHECK:STDOUT: %Destroy.Op.bound.loc22: = bound_method %.loc22_51.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc22_51: init %empty_tuple.type = call %Destroy.Op.bound.loc22(%.loc22_51.3) -// CHECK:STDOUT: %Destroy.Op.call.loc22_32: init %empty_tuple.type = call constants.%Destroy.Op.bound.b75(constants.%.90c) +// CHECK:STDOUT: %Destroy.Op.call.loc22_32: init %empty_tuple.type = call constants.%Destroy.Op.bound.838(constants.%.4f2) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1784,7 +1784,7 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: fn @foo.3(%a.param: %i128) -> out %return.param: %i128; // CHECK:STDOUT: -// CHECK:STDOUT: fn @foo__carbon_thunk(%a.param: %ptr.fa6, %return.param: %ptr.fa6); +// CHECK:STDOUT: fn @foo__carbon_thunk(%a.param: %ptr.201, %return.param: %ptr.201); // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc31_71.1(%self.param: ref %i128.builtin) = "no_op"; // CHECK:STDOUT: @@ -1802,7 +1802,7 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i128: type = class_type @Int, @Int(%int_128) [concrete] -// CHECK:STDOUT: %pattern_type.df8: type = pattern_type %i128 [concrete] +// CHECK:STDOUT: %pattern_type.292: type = pattern_type %i128 [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.type: type = cpp_overload_set_type @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %int_170141183460469231731687303715884105728: Core.IntLiteral = int_value 170141183460469231731687303715884105728 [concrete] @@ -1838,7 +1838,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %h.patt: %pattern_type.df8 = value_binding_pattern h [concrete] +// CHECK:STDOUT: %h.patt: %pattern_type.292 = value_binding_pattern h [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] @@ -1860,8 +1860,8 @@ fn F() { // CHECK:STDOUT: %Negate.type: type = facet_type <@Negate> [concrete] // CHECK:STDOUT: %Negate.impl_witness: = impl_witness imports.%Negate.impl_witness_table [concrete] // CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value Core.IntLiteral, (%Negate.impl_witness) [concrete] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.40e: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] -// CHECK:STDOUT: %.279: type = fn_type_with_self_type %Negate.WithSelf.Op.type.40e, %Negate.facet [concrete] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.309: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] +// CHECK:STDOUT: %.f38: type = fn_type_with_self_type %Negate.WithSelf.Op.type.309, %Negate.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.type: type = fn_type @Core.IntLiteral.as.Negate.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op: %Core.IntLiteral.as.Negate.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.bound: = bound_method %int_1, %Core.IntLiteral.as.Negate.impl.Op [concrete] @@ -1870,25 +1870,25 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_-1.638, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_-1.638, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_-1.638, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_-1.70b: %i32 = int_value -1 [concrete] +// CHECK:STDOUT: %int_-1.aa3: %i32 = int_value -1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1906,12 +1906,12 @@ fn F() { // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Negate: type = import_ref Core//prelude/parts/int_literal, Negate, loaded [concrete = constants.%Negate.type] // CHECK:STDOUT: %Core.import_ref.abd = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.968: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] -// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.968), @Core.IntLiteral.as.Negate.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.f63), @Core.IntLiteral.as.Negate.impl [concrete] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %i32.2 [concrete = constants.%i32] { @@ -1921,9 +1921,9 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1944,18 +1944,18 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] -// CHECK:STDOUT: %impl.elem1: %.279 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.f38 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] // CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op.bound] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.call: init Core.IntLiteral = call %bound_method.loc8_11.1(%int_1) [concrete = constants.%int_-1.638] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_11.3: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %specific_fn [concrete = constants.%bound_method] // CHECK:STDOUT: %.loc8_11.1: Core.IntLiteral = value_of_initializer %Core.IntLiteral.as.Negate.impl.Op.call [concrete = constants.%int_-1.638] // CHECK:STDOUT: %.loc8_11.2: Core.IntLiteral = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.1 [concrete = constants.%int_-1.638] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.3(%.loc8_11.2) [concrete = constants.%int_-1.70b] -// CHECK:STDOUT: %.loc8_11.3: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_-1.70b] -// CHECK:STDOUT: %.loc8_11.4: %i32 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.3 [concrete = constants.%int_-1.70b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.3(%.loc8_11.2) [concrete = constants.%int_-1.aa3] +// CHECK:STDOUT: %.loc8_11.3: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_-1.aa3] +// CHECK:STDOUT: %.loc8_11.4: %i32 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc8_11.3 [concrete = constants.%int_-1.aa3] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_11.4) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1974,8 +1974,8 @@ fn F() { // CHECK:STDOUT: %Negate.type: type = facet_type <@Negate> [concrete] // CHECK:STDOUT: %Negate.impl_witness: = impl_witness imports.%Negate.impl_witness_table [concrete] // CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value Core.IntLiteral, (%Negate.impl_witness) [concrete] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.40e: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] -// CHECK:STDOUT: %.279: type = fn_type_with_self_type %Negate.WithSelf.Op.type.40e, %Negate.facet [concrete] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.309: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] +// CHECK:STDOUT: %.f38: type = fn_type_with_self_type %Negate.WithSelf.Op.type.309, %Negate.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.type: type = fn_type @Core.IntLiteral.as.Negate.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op: %Core.IntLiteral.as.Negate.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.bound: = bound_method %int_1, %Core.IntLiteral.as.Negate.impl.Op [concrete] @@ -1984,25 +1984,25 @@ fn F() { // CHECK:STDOUT: %UInt.type: type = generic_class_type @UInt [concrete] // CHECK:STDOUT: %UInt.generic: %UInt.type = struct_value () [concrete] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.632: type = pattern_type %u32 [concrete] +// CHECK:STDOUT: %pattern_type.126: type = pattern_type %u32 [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.79f: type = facet_type <@ImplicitAs, @ImplicitAs(%u32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.b0a: type = facet_type <@ImplicitAs, @ImplicitAs(%u32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.069: = impl_witness imports.%ImplicitAs.impl_witness_table.3ab, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.025: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.376: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.025 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.79f = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.069) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ebd: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.bc8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ebd, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_-1.638, %Core.IntLiteral.as.ImplicitAs.impl.Convert.376 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.376, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.498: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.040: = impl_witness imports.%ImplicitAs.impl_witness_table.0c6, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.34d: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.09f: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.34d = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.b0a = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.040) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.9e6: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.955: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.9e6, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_-1.638, %Core.IntLiteral.as.ImplicitAs.impl.Convert.09f [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.09f, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_-1.638, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_-1.01f: %u32 = int_value 18446744073709551615 [concrete] +// CHECK:STDOUT: %int_-1.35f: %u32 = int_value 18446744073709551615 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2020,12 +2020,12 @@ fn F() { // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Negate: type = import_ref Core//prelude/parts/int_literal, Negate, loaded [concrete = constants.%Negate.type] // CHECK:STDOUT: %Core.import_ref.abd = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.968: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] -// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.968), @Core.IntLiteral.as.Negate.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.IntLiteral.as.Negate.impl.Op.type = import_ref Core//prelude/parts/int_literal, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.abd, %Core.import_ref.f63), @Core.IntLiteral.as.Negate.impl [concrete] // CHECK:STDOUT: %Core.UInt: %UInt.type = import_ref Core//prelude/parts/uint, UInt, loaded [concrete = constants.%UInt.generic] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.632 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.632 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.126 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.126 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %u32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %u32.2 [concrete = constants.%u32] { @@ -2035,9 +2035,9 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: %u32 = value_binding a, %a.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.315: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3ab = impl_witness_table (%Core.import_ref.315), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.e9f: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.498)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0c6 = impl_witness_table (%Core.import_ref.e9f), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -2058,18 +2058,18 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1] -// CHECK:STDOUT: %impl.elem1: %.279 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.f38 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op] // CHECK:STDOUT: %bound_method.loc15_11.1: = bound_method %int_1, %impl.elem1 [concrete = constants.%Core.IntLiteral.as.Negate.impl.Op.bound] // CHECK:STDOUT: %Core.IntLiteral.as.Negate.impl.Op.call: init Core.IntLiteral = call %bound_method.loc15_11.1(%int_1) [concrete = constants.%int_-1.638] -// CHECK:STDOUT: %impl.elem0: %.bc8 = impl_witness_access constants.%ImplicitAs.impl_witness.069, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.376] +// CHECK:STDOUT: %impl.elem0: %.955 = impl_witness_access constants.%ImplicitAs.impl_witness.040, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.09f] // CHECK:STDOUT: %bound_method.loc15_11.2: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_11.3: = bound_method %Core.IntLiteral.as.Negate.impl.Op.call, %specific_fn [concrete = constants.%bound_method] // CHECK:STDOUT: %.loc15_11.1: Core.IntLiteral = value_of_initializer %Core.IntLiteral.as.Negate.impl.Op.call [concrete = constants.%int_-1.638] // CHECK:STDOUT: %.loc15_11.2: Core.IntLiteral = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc15_11.1 [concrete = constants.%int_-1.638] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %u32 = call %bound_method.loc15_11.3(%.loc15_11.2) [concrete = constants.%int_-1.01f] -// CHECK:STDOUT: %.loc15_11.3: %u32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_-1.01f] -// CHECK:STDOUT: %.loc15_11.4: %u32 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc15_11.3 [concrete = constants.%int_-1.01f] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %u32 = call %bound_method.loc15_11.3(%.loc15_11.2) [concrete = constants.%int_-1.35f] +// CHECK:STDOUT: %.loc15_11.3: %u32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_-1.35f] +// CHECK:STDOUT: %.loc15_11.4: %u32 = converted %Core.IntLiteral.as.Negate.impl.Op.call, %.loc15_11.3 [concrete = constants.%int_-1.35f] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc15_11.4) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -2086,50 +2086,50 @@ fn F() { // CHECK:STDOUT: %Float.type: type = generic_class_type @Float [concrete] // CHECK:STDOUT: %Float.generic: %Float.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %f64.794: type = float_type %int_64, f64 [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.type: type = cpp_overload_set_type @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] -// CHECK:STDOUT: %ptr.c6e: type = ptr_type %f64.9a0 [concrete] -// CHECK:STDOUT: %pattern_type.161: type = pattern_type %ptr.c6e [concrete] +// CHECK:STDOUT: %ptr.f8a: type = ptr_type %f64.b55 [concrete] +// CHECK:STDOUT: %pattern_type.0df: type = pattern_type %ptr.f8a [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.731: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.9a0)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.857: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.b55)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.26a: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.731 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.26a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ed2: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.9a0, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.2f4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ed2, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.56c: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.291: %f64.9a0 = float_value 1 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.83f: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.857 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.83f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.096: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.b55, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.119: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.096, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.c5a: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.642: %f64.b55 = float_value 1 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.44e: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.30e: %Float.as.Copy.impl.Op.type.44e = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0b5: = impl_witness imports.%Copy.impl_witness_table.637, @Float.as.Copy.impl(%int_64) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.d57: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_64) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.447: %Float.as.Copy.impl.Op.type.d57 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f64.9a0, (%Copy.impl_witness.0b5) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.363: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a39: type = fn_type_with_self_type %Copy.WithSelf.Op.type.363, %Copy.facet [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.bound: = bound_method %float.291, %Float.as.Copy.impl.Op.447 [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.447, @Float.as.Copy.impl.Op(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.886: = bound_method %float.291, %Float.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %.4d2: ref %f64.9a0 = temporary invalid, %float.291 [concrete] -// CHECK:STDOUT: %addr: %ptr.c6e = addr_of %.4d2 [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.125: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bfc: %Float.as.Copy.impl.Op.type.125 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.811: = impl_witness imports.%Copy.impl_witness_table.384, @Float.as.Copy.impl(%int_64) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.7a5: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_64) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bcc: %Float.as.Copy.impl.Op.type.7a5 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f64.b55, (%Copy.impl_witness.811) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.286: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.c7d: type = fn_type_with_self_type %Copy.WithSelf.Op.type.286, %Copy.facet [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bound: = bound_method %float.642, %Float.as.Copy.impl.Op.bcc [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.bcc, @Float.as.Copy.impl.Op(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.2e9: = bound_method %float.642, %Float.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %.a2a: ref %f64.b55 = temporary invalid, %float.642 [concrete] +// CHECK:STDOUT: %addr: %ptr.f8a = addr_of %.a2a [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc7_34.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.4d2, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc7_34.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.a2a, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2148,32 +2148,32 @@ fn F() { // CHECK:STDOUT: %Core.Float: %Float.type = import_ref Core//prelude/parts/float, Float, loaded [concrete = constants.%Float.generic] // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.161 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.161 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.161 = value_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.161 = at_binding_pattern r#return, %return.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.0df = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.0df = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0df = value_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0df = at_binding_pattern r#return, %return.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %a.param: %ptr.c6e = value_param call_param0 -// CHECK:STDOUT: %.1: type = splice_block constants.%ptr.c6e [concrete = constants.%ptr.c6e] { +// CHECK:STDOUT: %a.param: %ptr.f8a = value_param call_param0 +// CHECK:STDOUT: %.1: type = splice_block constants.%ptr.f8a [concrete = constants.%ptr.f8a] { // CHECK:STDOUT: %int_64.2: Core.IntLiteral = int_value 64 [concrete = constants.%int_64] -// CHECK:STDOUT: %f64.3: type = class_type @Float, @Float(constants.%int_64) [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %f64.4: type = type_literal %f64.3 [concrete = constants.%f64.9a0] +// CHECK:STDOUT: %f64.3: type = class_type @Float, @Float(constants.%int_64) [concrete = constants.%f64.b55] +// CHECK:STDOUT: %f64.4: type = type_literal %f64.3 [concrete = constants.%f64.b55] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.c6e = value_binding a, %a.param -// CHECK:STDOUT: %return.param: %ptr.c6e = value_param call_param1 -// CHECK:STDOUT: %.2: type = splice_block constants.%ptr.c6e [concrete = constants.%ptr.c6e] { +// CHECK:STDOUT: %a: %ptr.f8a = value_binding a, %a.param +// CHECK:STDOUT: %return.param: %ptr.f8a = value_param call_param1 +// CHECK:STDOUT: %.2: type = splice_block constants.%ptr.f8a [concrete = constants.%ptr.f8a] { // CHECK:STDOUT: %int_64.1: Core.IntLiteral = int_value 64 [concrete = constants.%int_64] -// CHECK:STDOUT: %f64.1: type = class_type @Float, @Float(constants.%int_64) [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %f64.2: type = type_literal %f64.1 [concrete = constants.%f64.9a0] +// CHECK:STDOUT: %f64.1: type = class_type @Float, @Float(constants.%int_64) [concrete = constants.%f64.b55] +// CHECK:STDOUT: %f64.2: type = type_literal %f64.1 [concrete = constants.%f64.b55] // CHECK:STDOUT: } -// CHECK:STDOUT: %return: %ptr.c6e = value_binding r#return, %return.param +// CHECK:STDOUT: %return: %ptr.f8a = value_binding r#return, %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.9a6: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.9a6), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.729: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.44e) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.30e)] -// CHECK:STDOUT: %Copy.impl_witness_table.637 = impl_witness_table (%Core.import_ref.729), @Float.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.461: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.125) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.bfc)] +// CHECK:STDOUT: %Copy.impl_witness_table.384 = impl_witness_table (%Core.import_ref.461), @Float.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2193,47 +2193,47 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.f4f = value_binding_pattern d [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.f3c = value_binding_pattern d [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] -// CHECK:STDOUT: %impl.elem0.loc7_31.1: %.2f4 = impl_witness_access constants.%ImplicitAs.impl_witness.26a, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b] +// CHECK:STDOUT: %impl.elem0.loc7_31.1: %.119 = impl_witness_access constants.%ImplicitAs.impl_witness.83f, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.881] // CHECK:STDOUT: %bound_method.loc7_31.1: = bound_method %float, %impl.elem0.loc7_31.1 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc7_31.1: = specific_function %impl.elem0.loc7_31.1, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_31.2: = bound_method %float, %specific_fn.loc7_31.1 [concrete = constants.%bound_method.56c] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.9a0 = call %bound_method.loc7_31.2(%float) [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc7_31.1: %f64.9a0 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc7_31.2: %f64.9a0 = converted %float, %.loc7_31.1 [concrete = constants.%float.291] -// CHECK:STDOUT: %impl.elem0.loc7_31.2: %.a39 = impl_witness_access constants.%Copy.impl_witness.0b5, element0 [concrete = constants.%Float.as.Copy.impl.Op.447] +// CHECK:STDOUT: %bound_method.loc7_31.2: = bound_method %float, %specific_fn.loc7_31.1 [concrete = constants.%bound_method.c5a] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.b55 = call %bound_method.loc7_31.2(%float) [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc7_31.1: %f64.b55 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc7_31.2: %f64.b55 = converted %float, %.loc7_31.1 [concrete = constants.%float.642] +// CHECK:STDOUT: %impl.elem0.loc7_31.2: %.c7d = impl_witness_access constants.%Copy.impl_witness.811, element0 [concrete = constants.%Float.as.Copy.impl.Op.bcc] // CHECK:STDOUT: %bound_method.loc7_31.3: = bound_method %.loc7_31.2, %impl.elem0.loc7_31.2 [concrete = constants.%Float.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc7_31.2: = specific_function %impl.elem0.loc7_31.2, @Float.as.Copy.impl.Op(constants.%int_64) [concrete = constants.%Float.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_31.4: = bound_method %.loc7_31.2, %specific_fn.loc7_31.2 [concrete = constants.%bound_method.886] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f64.9a0 = call %bound_method.loc7_31.4(%.loc7_31.2) [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc7_31.3: ref %f64.9a0 = temporary_storage -// CHECK:STDOUT: %.loc7_31.4: ref %f64.9a0 = temporary %.loc7_31.3, %Float.as.Copy.impl.Op.call [concrete = constants.%.4d2] -// CHECK:STDOUT: %addr.loc7_34.1: %ptr.c6e = addr_of %.loc7_31.4 [concrete = constants.%addr] -// CHECK:STDOUT: %.loc7_34.1: ref %f64.9a0 = temporary_storage -// CHECK:STDOUT: %addr.loc7_34.2: %ptr.c6e = addr_of %.loc7_34.1 +// CHECK:STDOUT: %bound_method.loc7_31.4: = bound_method %.loc7_31.2, %specific_fn.loc7_31.2 [concrete = constants.%bound_method.2e9] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f64.b55 = call %bound_method.loc7_31.4(%.loc7_31.2) [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc7_31.3: ref %f64.b55 = temporary_storage +// CHECK:STDOUT: %.loc7_31.4: ref %f64.b55 = temporary %.loc7_31.3, %Float.as.Copy.impl.Op.call [concrete = constants.%.a2a] +// CHECK:STDOUT: %addr.loc7_34.1: %ptr.f8a = addr_of %.loc7_31.4 [concrete = constants.%addr] +// CHECK:STDOUT: %.loc7_34.1: ref %f64.b55 = temporary_storage +// CHECK:STDOUT: %addr.loc7_34.2: %ptr.f8a = addr_of %.loc7_34.1 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr.loc7_34.1, %addr.loc7_34.2) -// CHECK:STDOUT: %.loc7_34.2: init %f64.9a0 to %.loc7_34.1 = mark_in_place_init %foo__carbon_thunk.call -// CHECK:STDOUT: %f64: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc7_34.3: ref %f64.9a0 = temporary %.loc7_34.1, %.loc7_34.2 -// CHECK:STDOUT: %.loc7_34.4: %f64.9a0 = acquire_value %.loc7_34.3 -// CHECK:STDOUT: %d: %f64.9a0 = value_binding d, %.loc7_34.4 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc7_34.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %.loc7_34.2: init %f64.b55 to %.loc7_34.1 = mark_in_place_init %foo__carbon_thunk.call +// CHECK:STDOUT: %f64: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc7_34.3: ref %f64.b55 = temporary %.loc7_34.1, %.loc7_34.2 +// CHECK:STDOUT: %.loc7_34.4: %f64.b55 = acquire_value %.loc7_34.3 +// CHECK:STDOUT: %d: %f64.b55 = value_binding d, %.loc7_34.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc7_34.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc7_34: init %empty_tuple.type = call %Destroy.Op.bound(%.loc7_34.3) -// CHECK:STDOUT: %Destroy.Op.call.loc7_31: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.4d2) +// CHECK:STDOUT: %Destroy.Op.call.loc7_31: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.a2a) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @foo(%a.param: %f64.9a0) -> out %return.param: %f64.9a0; +// CHECK:STDOUT: fn @foo(%a.param: %f64.b55) -> out %return.param: %f64.b55; // CHECK:STDOUT: -// CHECK:STDOUT: fn @foo__carbon_thunk(%a.param: %ptr.c6e, %return.param: %ptr.c6e); +// CHECK:STDOUT: fn @foo__carbon_thunk(%a.param: %ptr.f8a, %return.param: %ptr.f8a); // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_34.1(%self.param: ref %f64.794) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc7_34.2(%self.param: ref %f64.9a0) { +// CHECK:STDOUT: fn @Destroy.Op.loc7_34.2(%self.param: ref %f64.b55) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -2251,40 +2251,40 @@ fn F() { // CHECK:STDOUT: %Float.type: type = generic_class_type @Float [concrete] // CHECK:STDOUT: %Float.generic: %Float.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %ptr.c6e: type = ptr_type %f64.9a0 [concrete] -// CHECK:STDOUT: %pattern_type.161: type = pattern_type %ptr.c6e [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %ptr.f8a: type = ptr_type %f64.b55 [concrete] +// CHECK:STDOUT: %pattern_type.0df: type = pattern_type %ptr.f8a [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %f64.794: type = float_type %int_64, f64 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.731: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.9a0)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.857: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.b55)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.26a: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.731 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.26a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ed2: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.9a0, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.2f4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ed2, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.83f: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.857 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.83f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.096: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.b55, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.119: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.096, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.44e: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.30e: %Float.as.Copy.impl.Op.type.44e = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0b5: = impl_witness imports.%Copy.impl_witness_table.637, @Float.as.Copy.impl(%int_64) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.d57: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_64) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.447: %Float.as.Copy.impl.Op.type.d57 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f64.9a0, (%Copy.impl_witness.0b5) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.363: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a39: type = fn_type_with_self_type %Copy.WithSelf.Op.type.363, %Copy.facet [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.447, @Float.as.Copy.impl.Op(%int_64) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.125: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bfc: %Float.as.Copy.impl.Op.type.125 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.811: = impl_witness imports.%Copy.impl_witness_table.384, @Float.as.Copy.impl(%int_64) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.7a5: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_64) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bcc: %Float.as.Copy.impl.Op.type.7a5 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f64.b55, (%Copy.impl_witness.811) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.286: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.c7d: type = fn_type_with_self_type %Copy.WithSelf.Op.type.286, %Copy.facet [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.bcc, @Float.as.Copy.impl.Op(%int_64) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc15_19.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc15_19.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2303,32 +2303,32 @@ fn F() { // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Float: %Float.type = import_ref Core//prelude/parts/float, Float, loaded [concrete = constants.%Float.generic] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.161 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.161 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.161 = value_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.161 = at_binding_pattern r#return, %return.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.0df = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.0df = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0df = value_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0df = at_binding_pattern r#return, %return.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %a.param: %ptr.c6e = value_param call_param0 -// CHECK:STDOUT: %.1: type = splice_block constants.%ptr.c6e [concrete = constants.%ptr.c6e] { +// CHECK:STDOUT: %a.param: %ptr.f8a = value_param call_param0 +// CHECK:STDOUT: %.1: type = splice_block constants.%ptr.f8a [concrete = constants.%ptr.f8a] { // CHECK:STDOUT: %int_64.2: Core.IntLiteral = int_value 64 [concrete = constants.%int_64] -// CHECK:STDOUT: %f64.3: type = class_type @Float, @Float(constants.%int_64) [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %f64.4: type = type_literal %f64.3 [concrete = constants.%f64.9a0] +// CHECK:STDOUT: %f64.3: type = class_type @Float, @Float(constants.%int_64) [concrete = constants.%f64.b55] +// CHECK:STDOUT: %f64.4: type = type_literal %f64.3 [concrete = constants.%f64.b55] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: %ptr.c6e = value_binding a, %a.param -// CHECK:STDOUT: %return.param: %ptr.c6e = value_param call_param1 -// CHECK:STDOUT: %.2: type = splice_block constants.%ptr.c6e [concrete = constants.%ptr.c6e] { +// CHECK:STDOUT: %a: %ptr.f8a = value_binding a, %a.param +// CHECK:STDOUT: %return.param: %ptr.f8a = value_param call_param1 +// CHECK:STDOUT: %.2: type = splice_block constants.%ptr.f8a [concrete = constants.%ptr.f8a] { // CHECK:STDOUT: %int_64.1: Core.IntLiteral = int_value 64 [concrete = constants.%int_64] -// CHECK:STDOUT: %f64.1: type = class_type @Float, @Float(constants.%int_64) [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %f64.2: type = type_literal %f64.1 [concrete = constants.%f64.9a0] +// CHECK:STDOUT: %f64.1: type = class_type @Float, @Float(constants.%int_64) [concrete = constants.%f64.b55] +// CHECK:STDOUT: %f64.2: type = type_literal %f64.1 [concrete = constants.%f64.b55] // CHECK:STDOUT: } -// CHECK:STDOUT: %return: %ptr.c6e = value_binding r#return, %return.param +// CHECK:STDOUT: %return: %ptr.f8a = value_binding r#return, %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.9a6: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.9a6), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.729: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.44e) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.30e)] -// CHECK:STDOUT: %Copy.impl_witness_table.637 = impl_witness_table (%Core.import_ref.729), @Float.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.461: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.125) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.bfc)] +// CHECK:STDOUT: %Copy.impl_witness_table.384 = impl_witness_table (%Core.import_ref.461), @Float.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2350,38 +2350,38 @@ fn F() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 18e307 [concrete = constants.%float] -// CHECK:STDOUT: %impl.elem0.loc15_11.1: %.2f4 = impl_witness_access constants.%ImplicitAs.impl_witness.26a, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b] +// CHECK:STDOUT: %impl.elem0.loc15_11.1: %.119 = impl_witness_access constants.%ImplicitAs.impl_witness.83f, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.881] // CHECK:STDOUT: %bound_method.loc15_11.1: = bound_method %float, %impl.elem0.loc15_11.1 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc15_11.1: = specific_function %impl.elem0.loc15_11.1, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_11.2: = bound_method %float, %specific_fn.loc15_11.1 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.9a0 = call %bound_method.loc15_11.2(%float) [concrete = ] -// CHECK:STDOUT: %.loc15_11.1: %f64.9a0 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = ] -// CHECK:STDOUT: %.loc15_11.2: %f64.9a0 = converted %float, %.loc15_11.1 [concrete = ] -// CHECK:STDOUT: %impl.elem0.loc15_11.2: %.a39 = impl_witness_access constants.%Copy.impl_witness.0b5, element0 [concrete = constants.%Float.as.Copy.impl.Op.447] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.b55 = call %bound_method.loc15_11.2(%float) [concrete = ] +// CHECK:STDOUT: %.loc15_11.1: %f64.b55 = value_of_initializer %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = ] +// CHECK:STDOUT: %.loc15_11.2: %f64.b55 = converted %float, %.loc15_11.1 [concrete = ] +// CHECK:STDOUT: %impl.elem0.loc15_11.2: %.c7d = impl_witness_access constants.%Copy.impl_witness.811, element0 [concrete = constants.%Float.as.Copy.impl.Op.bcc] // CHECK:STDOUT: %bound_method.loc15_11.3: = bound_method %.loc15_11.2, %impl.elem0.loc15_11.2 [concrete = ] // CHECK:STDOUT: %specific_fn.loc15_11.2: = specific_function %impl.elem0.loc15_11.2, @Float.as.Copy.impl.Op(constants.%int_64) [concrete = constants.%Float.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc15_11.4: = bound_method %.loc15_11.2, %specific_fn.loc15_11.2 [concrete = ] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f64.9a0 = call %bound_method.loc15_11.4(%.loc15_11.2) [concrete = ] -// CHECK:STDOUT: %.loc15_11.3: ref %f64.9a0 = temporary_storage -// CHECK:STDOUT: %.loc15_11.4: ref %f64.9a0 = temporary %.loc15_11.3, %Float.as.Copy.impl.Op.call [concrete = ] -// CHECK:STDOUT: %addr.loc15_19.1: %ptr.c6e = addr_of %.loc15_11.4 [concrete = ] -// CHECK:STDOUT: %.loc15_19.1: ref %f64.9a0 = temporary_storage -// CHECK:STDOUT: %addr.loc15_19.2: %ptr.c6e = addr_of %.loc15_19.1 +// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f64.b55 = call %bound_method.loc15_11.4(%.loc15_11.2) [concrete = ] +// CHECK:STDOUT: %.loc15_11.3: ref %f64.b55 = temporary_storage +// CHECK:STDOUT: %.loc15_11.4: ref %f64.b55 = temporary %.loc15_11.3, %Float.as.Copy.impl.Op.call [concrete = ] +// CHECK:STDOUT: %addr.loc15_19.1: %ptr.f8a = addr_of %.loc15_11.4 [concrete = ] +// CHECK:STDOUT: %.loc15_19.1: ref %f64.b55 = temporary_storage +// CHECK:STDOUT: %addr.loc15_19.2: %ptr.f8a = addr_of %.loc15_19.1 // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr.loc15_19.1, %addr.loc15_19.2) -// CHECK:STDOUT: %.loc15_19.2: init %f64.9a0 to %.loc15_19.1 = mark_in_place_init %foo__carbon_thunk.call -// CHECK:STDOUT: %.loc15_19.3: ref %f64.9a0 = temporary %.loc15_19.1, %.loc15_19.2 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc15_19.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %.loc15_19.2: init %f64.b55 to %.loc15_19.1 = mark_in_place_init %foo__carbon_thunk.call +// CHECK:STDOUT: %.loc15_19.3: ref %f64.b55 = temporary %.loc15_19.1, %.loc15_19.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc15_19.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc15_19.3) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @foo(%a.param: %f64.9a0) -> out %return.param: %f64.9a0; +// CHECK:STDOUT: fn @foo(%a.param: %f64.b55) -> out %return.param: %f64.b55; // CHECK:STDOUT: -// CHECK:STDOUT: fn @foo__carbon_thunk(%a.param: %ptr.c6e, %return.param: %ptr.c6e); +// CHECK:STDOUT: fn @foo__carbon_thunk(%a.param: %ptr.f8a, %return.param: %ptr.f8a); // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc15_19.1(%self.param: ref %f64.794) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc15_19.2(%self.param: ref %f64.9a0) { +// CHECK:STDOUT: fn @Destroy.Op.loc15_19.2(%self.param: ref %f64.b55) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -2557,13 +2557,13 @@ fn F() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %struct_type.a.b.c.e24: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete] -// CHECK:STDOUT: %.70a: Core.Form = init_form %struct_type.a.b.c.e24 [concrete] -// CHECK:STDOUT: %pattern_type.a5c: type = pattern_type %struct_type.a.b.c.e24 [concrete] +// CHECK:STDOUT: %struct_type.a.b.c.632: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete] +// CHECK:STDOUT: %.416: Core.Form = init_form %struct_type.a.b.c.632 [concrete] +// CHECK:STDOUT: %pattern_type.5d6: type = pattern_type %struct_type.a.b.c.632 [concrete] // CHECK:STDOUT: %MakeThreeFields.type: type = fn_type @MakeThreeFields [concrete] // CHECK:STDOUT: %MakeThreeFields: %MakeThreeFields.type = struct_value () [concrete] // CHECK:STDOUT: %ThreeFields.type: type = fn_type @ThreeFields.loc8 [concrete] -// CHECK:STDOUT: %ThreeFields.840: %ThreeFields.type = struct_value () [concrete] +// CHECK:STDOUT: %ThreeFields.cb3: %ThreeFields.type = struct_value () [concrete] // CHECK:STDOUT: %PassThreeFields.cpp_overload_set.type: type = cpp_overload_set_type @PassThreeFields.cpp_overload_set [concrete] // CHECK:STDOUT: %PassThreeFields.cpp_overload_set.value: %PassThreeFields.cpp_overload_set.type = cpp_overload_set_value @PassThreeFields.cpp_overload_set [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] @@ -2577,10 +2577,10 @@ fn F() { // CHECK:STDOUT: %PassThreeFields__carbon_thunk.type: type = fn_type @PassThreeFields__carbon_thunk [concrete] // CHECK:STDOUT: %PassThreeFields__carbon_thunk: %PassThreeFields__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %ThreeFields.elem: type = unbound_element_type %ThreeFields.559, %i32 [concrete] -// CHECK:STDOUT: %.16c: type = custom_layout_type {size=12, align=4, .a@0: %i32, .b@4: %i32, .c@8: %i32} [concrete] -// CHECK:STDOUT: %complete_type.143: = complete_type_witness %.16c [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %.92f: type = custom_layout_type {size=12, align=4, .a@0: %i32, .b@4: %i32, .c@8: %i32} [concrete] +// CHECK:STDOUT: %complete_type.20a: = complete_type_witness %.92f [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %struct_type.b.c.a: type = struct_type {.b: Core.IntLiteral, .c: Core.IntLiteral, .a: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.d34: %struct_type.b.c.a = struct_value (%int_1, %int_2, %int_3) [concrete] // CHECK:STDOUT: } @@ -2605,7 +2605,7 @@ fn F() { // CHECK:STDOUT: %t.param: %ptr.f54 = value_param call_param0 // CHECK:STDOUT: %t: %ptr.f54 = value_binding t, %t.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -2620,39 +2620,39 @@ fn F() { // CHECK:STDOUT: import Cpp "struct_init.h" // CHECK:STDOUT: } // CHECK:STDOUT: %MakeThreeFields.decl: %MakeThreeFields.type = fn_decl @MakeThreeFields [concrete = constants.%MakeThreeFields] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.a5c = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.a5c = return_slot_pattern %return.param_patt, %struct_type.a.b.c [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.5d6 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.5d6 = return_slot_pattern %return.param_patt, %struct_type.a.b.c [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc6_30: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc6_39: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc6_48: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b.c: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete = constants.%struct_type.a.b.c.e24] -// CHECK:STDOUT: %.loc6: Core.Form = init_form %struct_type.a.b.c [concrete = constants.%.70a] -// CHECK:STDOUT: %return.param: ref %struct_type.a.b.c.e24 = out_param call_param0 -// CHECK:STDOUT: %return: ref %struct_type.a.b.c.e24 = return_slot %return.param +// CHECK:STDOUT: %struct_type.a.b.c: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete = constants.%struct_type.a.b.c.632] +// CHECK:STDOUT: %.loc6: Core.Form = init_form %struct_type.a.b.c [concrete = constants.%.416] +// CHECK:STDOUT: %return.param: ref %struct_type.a.b.c.632 = out_param call_param0 +// CHECK:STDOUT: %return: ref %struct_type.a.b.c.632 = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %ThreeFields.decl: %ThreeFields.type = fn_decl @ThreeFields.loc8 [concrete = constants.%ThreeFields.840] { -// CHECK:STDOUT: %value.param_patt: %pattern_type.a5c = value_param_pattern [concrete] -// CHECK:STDOUT: %value.patt: %pattern_type.a5c = at_binding_pattern value, %value.param_patt [concrete] -// CHECK:STDOUT: %reference.param_patt: %pattern_type.a5c = ref_param_pattern [concrete] -// CHECK:STDOUT: %reference.patt: %pattern_type.a5c = at_binding_pattern reference, %reference.param_patt [concrete] +// CHECK:STDOUT: %ThreeFields.decl: %ThreeFields.type = fn_decl @ThreeFields.loc8 [concrete = constants.%ThreeFields.cb3] { +// CHECK:STDOUT: %value.param_patt: %pattern_type.5d6 = value_param_pattern [concrete] +// CHECK:STDOUT: %value.patt: %pattern_type.5d6 = at_binding_pattern value, %value.param_patt [concrete] +// CHECK:STDOUT: %reference.param_patt: %pattern_type.5d6 = ref_param_pattern [concrete] +// CHECK:STDOUT: %reference.patt: %pattern_type.5d6 = at_binding_pattern reference, %reference.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %value.param: %struct_type.a.b.c.e24 = value_param call_param0 -// CHECK:STDOUT: %.loc8_49: type = splice_block %struct_type.a.b.c.loc8_49 [concrete = constants.%struct_type.a.b.c.e24] { +// CHECK:STDOUT: %value.param: %struct_type.a.b.c.632 = value_param call_param0 +// CHECK:STDOUT: %.loc8_49: type = splice_block %struct_type.a.b.c.loc8_49 [concrete = constants.%struct_type.a.b.c.632] { // CHECK:STDOUT: %i32.loc8_28: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc8_37: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc8_46: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b.c.loc8_49: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete = constants.%struct_type.a.b.c.e24] +// CHECK:STDOUT: %struct_type.a.b.c.loc8_49: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete = constants.%struct_type.a.b.c.632] // CHECK:STDOUT: } -// CHECK:STDOUT: %value: %struct_type.a.b.c.e24 = value_binding value, %value.param -// CHECK:STDOUT: %reference.param: ref %struct_type.a.b.c.e24 = ref_param call_param1 -// CHECK:STDOUT: %.loc8_93: type = splice_block %struct_type.a.b.c.loc8_93 [concrete = constants.%struct_type.a.b.c.e24] { +// CHECK:STDOUT: %value: %struct_type.a.b.c.632 = value_binding value, %value.param +// CHECK:STDOUT: %reference.param: ref %struct_type.a.b.c.632 = ref_param call_param1 +// CHECK:STDOUT: %.loc8_93: type = splice_block %struct_type.a.b.c.loc8_93 [concrete = constants.%struct_type.a.b.c.632] { // CHECK:STDOUT: %i32.loc8_72: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc8_81: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc8_90: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b.c.loc8_93: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete = constants.%struct_type.a.b.c.e24] +// CHECK:STDOUT: %struct_type.a.b.c.loc8_93: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete = constants.%struct_type.a.b.c.632] // CHECK:STDOUT: } -// CHECK:STDOUT: %reference: ref %struct_type.a.b.c.e24 = ref_binding reference, %reference.param +// CHECK:STDOUT: %reference: ref %struct_type.a.b.c.632 = ref_binding reference, %reference.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2669,17 +2669,17 @@ fn F() { // CHECK:STDOUT: %i32.5: type = class_type @Int, @Int(constants.%int_32) [concrete = constants.%i32] // CHECK:STDOUT: %i32.6: type = type_literal %i32.5 [concrete = constants.%i32] // CHECK:STDOUT: %.3: %ThreeFields.elem = field_decl c, element2 [concrete] -// CHECK:STDOUT: %.4: type = custom_layout_type {size=12, align=4, .a@0: %i32, .b@4: %i32, .c@8: %i32} [concrete = constants.%.16c] -// CHECK:STDOUT: %complete_type: = complete_type_witness %.4 [concrete = constants.%complete_type.143] +// CHECK:STDOUT: %.4: type = custom_layout_type {size=12, align=4, .a@0: %i32, .b@4: %i32, .c@8: %i32} [concrete = constants.%.92f] +// CHECK:STDOUT: %complete_type: = complete_type_witness %.4 [concrete = constants.%complete_type.20a] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @MakeThreeFields() -> out %return.param: %struct_type.a.b.c.e24; +// CHECK:STDOUT: fn @MakeThreeFields() -> out %return.param: %struct_type.a.b.c.632; // CHECK:STDOUT: -// CHECK:STDOUT: fn @ThreeFields.loc8(%value.param: %struct_type.a.b.c.e24, %reference.param: ref %struct_type.a.b.c.e24) { +// CHECK:STDOUT: fn @ThreeFields.loc8(%value.param: %struct_type.a.b.c.632, %reference.param: ref %struct_type.a.b.c.632) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Cpp.ref.loc20: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %PassThreeFields.ref.loc20: %PassThreeFields.cpp_overload_set.type = name_ref PassThreeFields, imports.%PassThreeFields.cpp_overload_set.value [concrete = constants.%PassThreeFields.cpp_overload_set.value] @@ -2692,21 +2692,21 @@ fn F() { // CHECK:STDOUT: %PassThreeFields__carbon_thunk.call.loc20: init %empty_tuple.type = call imports.%PassThreeFields__carbon_thunk.decl(%addr.loc20) // CHECK:STDOUT: %Cpp.ref.loc33: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %PassThreeFields.ref.loc33: %PassThreeFields.cpp_overload_set.type = name_ref PassThreeFields, imports.%PassThreeFields.cpp_overload_set.value [concrete = constants.%PassThreeFields.cpp_overload_set.value] -// CHECK:STDOUT: %value.ref: %struct_type.a.b.c.e24 = name_ref value, %value +// CHECK:STDOUT: %value.ref: %struct_type.a.b.c.632 = name_ref value, %value // CHECK:STDOUT: %.loc33: %ThreeFields.559 = converted %value.ref, [concrete = ] // CHECK:STDOUT: %addr.loc33: %ptr.f54 = addr_of [concrete = ] // CHECK:STDOUT: %PassThreeFields__carbon_thunk.call.loc33: init %empty_tuple.type = call imports.%PassThreeFields__carbon_thunk.decl(%addr.loc33) // CHECK:STDOUT: %Cpp.ref.loc46: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %PassThreeFields.ref.loc46: %PassThreeFields.cpp_overload_set.type = name_ref PassThreeFields, imports.%PassThreeFields.cpp_overload_set.value [concrete = constants.%PassThreeFields.cpp_overload_set.value] -// CHECK:STDOUT: %reference.ref: ref %struct_type.a.b.c.e24 = name_ref reference, %reference +// CHECK:STDOUT: %reference.ref: ref %struct_type.a.b.c.632 = name_ref reference, %reference // CHECK:STDOUT: %.loc46: %ThreeFields.559 = converted %reference.ref, [concrete = ] // CHECK:STDOUT: %addr.loc46: %ptr.f54 = addr_of [concrete = ] // CHECK:STDOUT: %PassThreeFields__carbon_thunk.call.loc46: init %empty_tuple.type = call imports.%PassThreeFields__carbon_thunk.decl(%addr.loc46) // CHECK:STDOUT: %Cpp.ref.loc59: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %PassThreeFields.ref.loc59: %PassThreeFields.cpp_overload_set.type = name_ref PassThreeFields, imports.%PassThreeFields.cpp_overload_set.value [concrete = constants.%PassThreeFields.cpp_overload_set.value] // CHECK:STDOUT: %MakeThreeFields.ref: %MakeThreeFields.type = name_ref MakeThreeFields, file.%MakeThreeFields.decl [concrete = constants.%MakeThreeFields] -// CHECK:STDOUT: %.loc59_39.1: ref %struct_type.a.b.c.e24 = temporary_storage -// CHECK:STDOUT: %MakeThreeFields.call: init %struct_type.a.b.c.e24 to %.loc59_39.1 = call %MakeThreeFields.ref() +// CHECK:STDOUT: %.loc59_39.1: ref %struct_type.a.b.c.632 = temporary_storage +// CHECK:STDOUT: %MakeThreeFields.call: init %struct_type.a.b.c.632 to %.loc59_39.1 = call %MakeThreeFields.ref() // CHECK:STDOUT: %.loc59_39.2: %ThreeFields.559 = converted %MakeThreeFields.call, [concrete = ] // CHECK:STDOUT: %addr.loc59: %ptr.f54 = addr_of [concrete = ] // CHECK:STDOUT: %PassThreeFields__carbon_thunk.call.loc59: init %empty_tuple.type = call imports.%PassThreeFields__carbon_thunk.decl(%addr.loc59) @@ -2852,21 +2852,21 @@ fn F() { // CHECK:STDOUT: %PassNoFields__carbon_thunk: %PassNoFields__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.ff9: type = tuple_type (type, type, type) [concrete] -// CHECK:STDOUT: %tuple.bed: %tuple.type.ff9 = tuple_value (%i32, %i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.a64: type = tuple_type (%i32, %i32, %i32) [concrete] -// CHECK:STDOUT: %.f83: Core.Form = init_form %tuple.type.a64 [concrete] -// CHECK:STDOUT: %pattern_type.3ff: type = pattern_type %tuple.type.a64 [concrete] +// CHECK:STDOUT: %tuple.27c: %tuple.type.ff9 = tuple_value (%i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.05f: type = tuple_type (%i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %.fd3: Core.Form = init_form %tuple.type.05f [concrete] +// CHECK:STDOUT: %pattern_type.776: type = pattern_type %tuple.type.05f [concrete] // CHECK:STDOUT: %MakeThreeFields.type: type = fn_type @MakeThreeFields [concrete] // CHECK:STDOUT: %MakeThreeFields: %MakeThreeFields.type = struct_value () [concrete] // CHECK:STDOUT: %ThreeFields.type: type = fn_type @ThreeFields.loc67 [concrete] -// CHECK:STDOUT: %ThreeFields.b76: %ThreeFields.type = struct_value () [concrete] +// CHECK:STDOUT: %ThreeFields.cb3: %ThreeFields.type = struct_value () [concrete] // CHECK:STDOUT: %PassThreeFields.cpp_overload_set.type: type = cpp_overload_set_type @PassThreeFields.cpp_overload_set [concrete] // CHECK:STDOUT: %PassThreeFields.cpp_overload_set.value: %PassThreeFields.cpp_overload_set.type = cpp_overload_set_value @PassThreeFields.cpp_overload_set [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] @@ -2880,8 +2880,8 @@ fn F() { // CHECK:STDOUT: %PassThreeFields__carbon_thunk.type: type = fn_type @PassThreeFields__carbon_thunk [concrete] // CHECK:STDOUT: %PassThreeFields__carbon_thunk: %PassThreeFields__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %ThreeFields.elem: type = unbound_element_type %ThreeFields.559, %i32 [concrete] -// CHECK:STDOUT: %.16c: type = custom_layout_type {size=12, align=4, .a@0: %i32, .b@4: %i32, .c@8: %i32} [concrete] -// CHECK:STDOUT: %complete_type.143: = complete_type_witness %.16c [concrete] +// CHECK:STDOUT: %.92f: type = custom_layout_type {size=12, align=4, .a@0: %i32, .b@4: %i32, .c@8: %i32} [concrete] +// CHECK:STDOUT: %complete_type.20a: = complete_type_witness %.92f [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2904,7 +2904,7 @@ fn F() { // CHECK:STDOUT: %s.param: %ptr.e71 = value_param call_param0 // CHECK:STDOUT: %s: %ptr.e71 = value_binding s, %s.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %PassThreeFields.cpp_overload_set.value: %PassThreeFields.cpp_overload_set.type = cpp_overload_set_value @PassThreeFields.cpp_overload_set [concrete = constants.%PassThreeFields.cpp_overload_set.value] // CHECK:STDOUT: %PassThreeFields__carbon_thunk.decl: %PassThreeFields__carbon_thunk.type = fn_decl @PassThreeFields__carbon_thunk [concrete = constants.%PassThreeFields__carbon_thunk] { @@ -2959,42 +2959,42 @@ fn F() { // CHECK:STDOUT: %reference: ref %empty_tuple.type = ref_binding reference, %reference.param // CHECK:STDOUT: } // CHECK:STDOUT: %MakeThreeFields.decl: %MakeThreeFields.type = fn_decl @MakeThreeFields [concrete = constants.%MakeThreeFields] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.3ff = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.3ff = return_slot_pattern %return.param_patt, %.loc65_39.2 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.776 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.776 = return_slot_pattern %return.param_patt, %.loc65_39.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc65_26: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc65_31: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc65_36: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc65_39.1: %tuple.type.ff9 = tuple_literal (%i32.loc65_26, %i32.loc65_31, %i32.loc65_36) [concrete = constants.%tuple.bed] -// CHECK:STDOUT: %.loc65_39.2: type = converted %.loc65_39.1, constants.%tuple.type.a64 [concrete = constants.%tuple.type.a64] -// CHECK:STDOUT: %.loc65_39.3: Core.Form = init_form %.loc65_39.2 [concrete = constants.%.f83] -// CHECK:STDOUT: %return.param: ref %tuple.type.a64 = out_param call_param0 -// CHECK:STDOUT: %return: ref %tuple.type.a64 = return_slot %return.param +// CHECK:STDOUT: %.loc65_39.1: %tuple.type.ff9 = tuple_literal (%i32.loc65_26, %i32.loc65_31, %i32.loc65_36) [concrete = constants.%tuple.27c] +// CHECK:STDOUT: %.loc65_39.2: type = converted %.loc65_39.1, constants.%tuple.type.05f [concrete = constants.%tuple.type.05f] +// CHECK:STDOUT: %.loc65_39.3: Core.Form = init_form %.loc65_39.2 [concrete = constants.%.fd3] +// CHECK:STDOUT: %return.param: ref %tuple.type.05f = out_param call_param0 +// CHECK:STDOUT: %return: ref %tuple.type.05f = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %ThreeFields.decl: %ThreeFields.type = fn_decl @ThreeFields.loc67 [concrete = constants.%ThreeFields.b76] { -// CHECK:STDOUT: %value.param_patt: %pattern_type.3ff = value_param_pattern [concrete] -// CHECK:STDOUT: %value.patt: %pattern_type.3ff = at_binding_pattern value, %value.param_patt [concrete] -// CHECK:STDOUT: %reference.param_patt: %pattern_type.3ff = ref_param_pattern [concrete] -// CHECK:STDOUT: %reference.patt: %pattern_type.3ff = at_binding_pattern reference, %reference.param_patt [concrete] +// CHECK:STDOUT: %ThreeFields.decl: %ThreeFields.type = fn_decl @ThreeFields.loc67 [concrete = constants.%ThreeFields.cb3] { +// CHECK:STDOUT: %value.param_patt: %pattern_type.776 = value_param_pattern [concrete] +// CHECK:STDOUT: %value.patt: %pattern_type.776 = at_binding_pattern value, %value.param_patt [concrete] +// CHECK:STDOUT: %reference.param_patt: %pattern_type.776 = ref_param_pattern [concrete] +// CHECK:STDOUT: %reference.patt: %pattern_type.776 = at_binding_pattern reference, %reference.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %value.param: %tuple.type.a64 = value_param call_param0 -// CHECK:STDOUT: %.loc67_37.1: type = splice_block %.loc67_37.3 [concrete = constants.%tuple.type.a64] { +// CHECK:STDOUT: %value.param: %tuple.type.05f = value_param call_param0 +// CHECK:STDOUT: %.loc67_37.1: type = splice_block %.loc67_37.3 [concrete = constants.%tuple.type.05f] { // CHECK:STDOUT: %i32.loc67_24: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc67_29: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc67_34: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc67_37.2: %tuple.type.ff9 = tuple_literal (%i32.loc67_24, %i32.loc67_29, %i32.loc67_34) [concrete = constants.%tuple.bed] -// CHECK:STDOUT: %.loc67_37.3: type = converted %.loc67_37.2, constants.%tuple.type.a64 [concrete = constants.%tuple.type.a64] +// CHECK:STDOUT: %.loc67_37.2: %tuple.type.ff9 = tuple_literal (%i32.loc67_24, %i32.loc67_29, %i32.loc67_34) [concrete = constants.%tuple.27c] +// CHECK:STDOUT: %.loc67_37.3: type = converted %.loc67_37.2, constants.%tuple.type.05f [concrete = constants.%tuple.type.05f] // CHECK:STDOUT: } -// CHECK:STDOUT: %value: %tuple.type.a64 = value_binding value, %value.param -// CHECK:STDOUT: %reference.param: ref %tuple.type.a64 = ref_param call_param1 -// CHECK:STDOUT: %.loc67_69.1: type = splice_block %.loc67_69.3 [concrete = constants.%tuple.type.a64] { +// CHECK:STDOUT: %value: %tuple.type.05f = value_binding value, %value.param +// CHECK:STDOUT: %reference.param: ref %tuple.type.05f = ref_param call_param1 +// CHECK:STDOUT: %.loc67_69.1: type = splice_block %.loc67_69.3 [concrete = constants.%tuple.type.05f] { // CHECK:STDOUT: %i32.loc67_56: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc67_61: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc67_66: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc67_69.2: %tuple.type.ff9 = tuple_literal (%i32.loc67_56, %i32.loc67_61, %i32.loc67_66) [concrete = constants.%tuple.bed] -// CHECK:STDOUT: %.loc67_69.3: type = converted %.loc67_69.2, constants.%tuple.type.a64 [concrete = constants.%tuple.type.a64] +// CHECK:STDOUT: %.loc67_69.2: %tuple.type.ff9 = tuple_literal (%i32.loc67_56, %i32.loc67_61, %i32.loc67_66) [concrete = constants.%tuple.27c] +// CHECK:STDOUT: %.loc67_69.3: type = converted %.loc67_69.2, constants.%tuple.type.05f [concrete = constants.%tuple.type.05f] // CHECK:STDOUT: } -// CHECK:STDOUT: %reference: ref %tuple.type.a64 = ref_binding reference, %reference.param +// CHECK:STDOUT: %reference: ref %tuple.type.05f = ref_binding reference, %reference.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -3020,8 +3020,8 @@ fn F() { // CHECK:STDOUT: %i32.5: type = class_type @Int, @Int(constants.%int_32) [concrete = constants.%i32] // CHECK:STDOUT: %i32.6: type = type_literal %i32.5 [concrete = constants.%i32] // CHECK:STDOUT: %.3: %ThreeFields.elem = field_decl c, element2 [concrete] -// CHECK:STDOUT: %.4: type = custom_layout_type {size=12, align=4, .a@0: %i32, .b@4: %i32, .c@8: %i32} [concrete = constants.%.16c] -// CHECK:STDOUT: %complete_type: = complete_type_witness %.4 [concrete = constants.%complete_type.143] +// CHECK:STDOUT: %.4: type = custom_layout_type {size=12, align=4, .a@0: %i32, .b@4: %i32, .c@8: %i32} [concrete = constants.%.92f] +// CHECK:STDOUT: %complete_type: = complete_type_witness %.4 [concrete = constants.%complete_type.20a] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -3064,9 +3064,9 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: fn @PassNoFields__carbon_thunk(%s.param: %ptr.e71); // CHECK:STDOUT: -// CHECK:STDOUT: fn @MakeThreeFields() -> out %return.param: %tuple.type.a64; +// CHECK:STDOUT: fn @MakeThreeFields() -> out %return.param: %tuple.type.05f; // CHECK:STDOUT: -// CHECK:STDOUT: fn @ThreeFields.loc67(%value.param: %tuple.type.a64, %reference.param: ref %tuple.type.a64) { +// CHECK:STDOUT: fn @ThreeFields.loc67(%value.param: %tuple.type.05f, %reference.param: ref %tuple.type.05f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Cpp.ref.loc79: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %PassThreeFields.ref.loc79: %PassThreeFields.cpp_overload_set.type = name_ref PassThreeFields, imports.%PassThreeFields.cpp_overload_set.value [concrete = constants.%PassThreeFields.cpp_overload_set.value] @@ -3079,21 +3079,21 @@ fn F() { // CHECK:STDOUT: %PassThreeFields__carbon_thunk.call.loc79: init %empty_tuple.type = call imports.%PassThreeFields__carbon_thunk.decl(%addr.loc79) // CHECK:STDOUT: %Cpp.ref.loc92: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %PassThreeFields.ref.loc92: %PassThreeFields.cpp_overload_set.type = name_ref PassThreeFields, imports.%PassThreeFields.cpp_overload_set.value [concrete = constants.%PassThreeFields.cpp_overload_set.value] -// CHECK:STDOUT: %value.ref: %tuple.type.a64 = name_ref value, %value +// CHECK:STDOUT: %value.ref: %tuple.type.05f = name_ref value, %value // CHECK:STDOUT: %.loc92: %ThreeFields.559 = converted %value.ref, [concrete = ] // CHECK:STDOUT: %addr.loc92: %ptr.f54 = addr_of [concrete = ] // CHECK:STDOUT: %PassThreeFields__carbon_thunk.call.loc92: init %empty_tuple.type = call imports.%PassThreeFields__carbon_thunk.decl(%addr.loc92) // CHECK:STDOUT: %Cpp.ref.loc105: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %PassThreeFields.ref.loc105: %PassThreeFields.cpp_overload_set.type = name_ref PassThreeFields, imports.%PassThreeFields.cpp_overload_set.value [concrete = constants.%PassThreeFields.cpp_overload_set.value] -// CHECK:STDOUT: %reference.ref: ref %tuple.type.a64 = name_ref reference, %reference +// CHECK:STDOUT: %reference.ref: ref %tuple.type.05f = name_ref reference, %reference // CHECK:STDOUT: %.loc105: %ThreeFields.559 = converted %reference.ref, [concrete = ] // CHECK:STDOUT: %addr.loc105: %ptr.f54 = addr_of [concrete = ] // CHECK:STDOUT: %PassThreeFields__carbon_thunk.call.loc105: init %empty_tuple.type = call imports.%PassThreeFields__carbon_thunk.decl(%addr.loc105) // CHECK:STDOUT: %Cpp.ref.loc118: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %PassThreeFields.ref.loc118: %PassThreeFields.cpp_overload_set.type = name_ref PassThreeFields, imports.%PassThreeFields.cpp_overload_set.value [concrete = constants.%PassThreeFields.cpp_overload_set.value] // CHECK:STDOUT: %MakeThreeFields.ref: %MakeThreeFields.type = name_ref MakeThreeFields, file.%MakeThreeFields.decl [concrete = constants.%MakeThreeFields] -// CHECK:STDOUT: %.loc118_39.1: ref %tuple.type.a64 = temporary_storage -// CHECK:STDOUT: %MakeThreeFields.call: init %tuple.type.a64 to %.loc118_39.1 = call %MakeThreeFields.ref() +// CHECK:STDOUT: %.loc118_39.1: ref %tuple.type.05f = temporary_storage +// CHECK:STDOUT: %MakeThreeFields.call: init %tuple.type.05f to %.loc118_39.1 = call %MakeThreeFields.ref() // CHECK:STDOUT: %.loc118_39.2: %ThreeFields.559 = converted %MakeThreeFields.call, [concrete = ] // CHECK:STDOUT: %addr.loc118: %ptr.f54 = addr_of [concrete = ] // CHECK:STDOUT: %PassThreeFields__carbon_thunk.call.loc118: init %empty_tuple.type = call imports.%PassThreeFields__carbon_thunk.decl(%addr.loc118) @@ -3118,11 +3118,11 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %PassInt.type: type = fn_type @PassInt [concrete] // CHECK:STDOUT: %PassInt: %PassInt.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -3140,8 +3140,8 @@ fn F() { // CHECK:STDOUT: %PassInt.cpp_overload_set.value: %PassInt.cpp_overload_set.type = cpp_overload_set_value @PassInt.cpp_overload_set [concrete = constants.%PassInt.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %PassInt.decl: %PassInt.type = fn_decl @PassInt [concrete = constants.%PassInt] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %i32.2 [concrete = constants.%i32] { @@ -3151,7 +3151,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -3198,11 +3198,11 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %PassOverloaded.type: type = fn_type @PassOverloaded [concrete] // CHECK:STDOUT: %PassOverloaded: %PassOverloaded.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -3220,8 +3220,8 @@ fn F() { // CHECK:STDOUT: %PassOverloaded.cpp_overload_set.value: %PassOverloaded.cpp_overload_set.type = cpp_overload_set_value @PassOverloaded.cpp_overload_set [concrete = constants.%PassOverloaded.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %PassOverloaded.decl: %PassOverloaded.type = fn_decl @PassOverloaded [concrete = constants.%PassOverloaded] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %i32.2 [concrete = constants.%i32] { @@ -3231,7 +3231,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -3343,14 +3343,14 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %B.elem.9b6: type = unbound_element_type %B, %i32 [concrete] -// CHECK:STDOUT: %.309: type = custom_layout_type {size=12, align=4, .a@0: %A, .n@8: %i32} [concrete] -// CHECK:STDOUT: %complete_type.f92: = complete_type_witness %.309 [concrete] +// CHECK:STDOUT: %B.elem.27c: type = unbound_element_type %B, %i32 [concrete] +// CHECK:STDOUT: %.0bd: type = custom_layout_type {size=12, align=4, .a@0: %A, .n@8: %i32} [concrete] +// CHECK:STDOUT: %complete_type.f66: = complete_type_witness %.0bd [concrete] // CHECK:STDOUT: %A.elem: type = unbound_element_type %A, %i32 [concrete] -// CHECK:STDOUT: %.4d7: type = custom_layout_type {size=8, align=4, .x@0: %i32, .y@4: %i32} [concrete] -// CHECK:STDOUT: %complete_type.76b: = complete_type_witness %.4d7 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %.bfb: type = custom_layout_type {size=8, align=4, .x@0: %i32, .y@4: %i32} [concrete] +// CHECK:STDOUT: %complete_type.2a6: = complete_type_witness %.bfb [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3373,7 +3373,7 @@ fn F() { // CHECK:STDOUT: %_: %ptr.fab = value_binding _, %_.param // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -3394,9 +3394,9 @@ fn F() { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] // CHECK:STDOUT: %i32.1: type = class_type @Int, @Int(constants.%int_32) [concrete = constants.%i32] // CHECK:STDOUT: %i32.2: type = type_literal %i32.1 [concrete = constants.%i32] -// CHECK:STDOUT: %.2: %B.elem.9b6 = field_decl n, element1 [concrete] -// CHECK:STDOUT: %.3: type = custom_layout_type {size=12, align=4, .a@0: %A, .n@8: %i32} [concrete = constants.%.309] -// CHECK:STDOUT: %complete_type: = complete_type_witness %.3 [concrete = constants.%complete_type.f92] +// CHECK:STDOUT: %.2: %B.elem.27c = field_decl n, element1 [concrete] +// CHECK:STDOUT: %.3: type = custom_layout_type {size=12, align=4, .a@0: %A, .n@8: %i32} [concrete = constants.%.0bd] +// CHECK:STDOUT: %complete_type: = complete_type_witness %.3 [concrete = constants.%complete_type.f66] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -3412,8 +3412,8 @@ fn F() { // CHECK:STDOUT: %i32.3: type = class_type @Int, @Int(constants.%int_32) [concrete = constants.%i32] // CHECK:STDOUT: %i32.4: type = type_literal %i32.3 [concrete = constants.%i32] // CHECK:STDOUT: %.2: %A.elem = field_decl y, element1 [concrete] -// CHECK:STDOUT: %.3: type = custom_layout_type {size=8, align=4, .x@0: %i32, .y@4: %i32} [concrete = constants.%.4d7] -// CHECK:STDOUT: %complete_type: = complete_type_witness %.3 [concrete = constants.%complete_type.76b] +// CHECK:STDOUT: %.3: type = custom_layout_type {size=8, align=4, .x@0: %i32, .y@4: %i32} [concrete = constants.%.bfb] +// CHECK:STDOUT: %complete_type: = complete_type_witness %.3 [concrete = constants.%complete_type.2a6] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -3452,29 +3452,29 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.457: type = facet_type <@As, @As(%i16)> [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.fff: type = facet_type <@As, @As(%i16)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.bca: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.36d: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.036: %Core.IntLiteral.as.As.impl.Convert.type.36d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.457 = facet_value Core.IntLiteral, (%As.impl_witness.bca) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.9f1: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] -// CHECK:STDOUT: %.3ca: type = fn_type_with_self_type %As.WithSelf.Convert.type.9f1, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.036 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.036, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.16a: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ced: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.0b6: %Core.IntLiteral.as.As.impl.Convert.type.ced = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.fff = facet_value Core.IntLiteral, (%As.impl_witness.16a) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.28f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet) [concrete] +// CHECK:STDOUT: %.696: type = fn_type_with_self_type %As.WithSelf.Convert.type.28f, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.0b6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.0b6, @Core.IntLiteral.as.As.impl.Convert(%int_16) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.962: %i16 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.792: %i16 = int_value 1 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3491,12 +3491,12 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block %i32.2 [concrete = constants.%i32] { @@ -3506,7 +3506,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: %i32 = value_binding a, %a.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -3528,13 +3528,13 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i16: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %impl.elem0: %.3ca = impl_witness_access constants.%As.impl_witness.bca, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.036] +// CHECK:STDOUT: %impl.elem0: %.696 = impl_witness_access constants.%As.impl_witness.16a, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.0b6] // CHECK:STDOUT: %bound_method.loc18_13.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.As.impl.Convert(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc18_13.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc18_13.2(%int_1) [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc18_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc18_13.2: %i16 = converted %int_1, %.loc18_13.1 [concrete = constants.%int_1.962] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i16 = call %bound_method.loc18_13.2(%int_1) [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc18_13.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc18_13.2: %i16 = converted %int_1, %.loc18_13.1 [concrete = constants.%int_1.792] // CHECK:STDOUT: %.loc18_13.3: %i32 = converted %.loc18_13.2, [concrete = ] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl() // CHECK:STDOUT: return @@ -3555,30 +3555,30 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %i16 [concrete] -// CHECK:STDOUT: %pattern_type.47f: type = pattern_type %ptr [concrete] +// CHECK:STDOUT: %pattern_type.497: type = pattern_type %ptr [concrete] // CHECK:STDOUT: %foo__carbon_thunk.type: type = fn_type @foo__carbon_thunk [concrete] // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3595,12 +3595,12 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %foo__carbon_thunk.decl: %foo__carbon_thunk.type = fn_decl @foo__carbon_thunk [concrete = constants.%foo__carbon_thunk] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.47f = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.47f = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.497 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.497 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %ptr = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block constants.%ptr [concrete = constants.%ptr] { @@ -3610,7 +3610,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: %ptr = value_binding a, %a.param // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -3632,13 +3632,13 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] +// CHECK:STDOUT: %impl.elem0: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] // CHECK:STDOUT: %bound_method.loc18_13.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc18_13.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc18_13.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_13.2: %i32 = converted %int_1, %.loc18_13.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc18_13.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_13.2: %i32 = converted %int_1, %.loc18_13.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc18_13.3: %i16 = converted %.loc18_13.2, [concrete = ] // CHECK:STDOUT: %addr: %ptr = addr_of [concrete = ] // CHECK:STDOUT: %foo__carbon_thunk.call: init %empty_tuple.type = call imports.%foo__carbon_thunk.decl(%addr) @@ -3661,22 +3661,22 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.66a: type = facet_type <@As, @As(%i64)> [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.b69: type = facet_type <@As, @As(%i64)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.695: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.faf: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.370: %Core.IntLiteral.as.As.impl.Convert.type.faf = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.66a = facet_value Core.IntLiteral, (%As.impl_witness.695) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.88f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i64, %As.facet) [concrete] -// CHECK:STDOUT: %.fb3: type = fn_type_with_self_type %As.WithSelf.Convert.type.88f, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.370 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.370, @Core.IntLiteral.as.As.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.0e9: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.8db: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.fb1: %Core.IntLiteral.as.As.impl.Convert.type.8db = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.b69 = facet_value Core.IntLiteral, (%As.impl_witness.0e9) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.553: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i64, %As.facet) [concrete] +// CHECK:STDOUT: %.9b9: type = fn_type_with_self_type %As.WithSelf.Convert.type.553, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.fb1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.fb1, @Core.IntLiteral.as.As.impl.Convert(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.9e7: %i64 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.0f3: %i64 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3692,9 +3692,9 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -3716,13 +3716,13 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i64: type = type_literal constants.%i64 [concrete = constants.%i64] -// CHECK:STDOUT: %impl.elem0: %.fb3 = impl_witness_access constants.%As.impl_witness.695, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.370] +// CHECK:STDOUT: %impl.elem0: %.9b9 = impl_witness_access constants.%As.impl_witness.0e9, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.fb1] // CHECK:STDOUT: %bound_method.loc15_13.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.As.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_13.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i64 = call %bound_method.loc15_13.2(%int_1) [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc15_13.1: %i64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc15_13.2: %i64 = converted %int_1, %.loc15_13.1 [concrete = constants.%int_1.9e7] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i64 = call %bound_method.loc15_13.2(%int_1) [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc15_13.1: %i64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc15_13.2: %i64 = converted %int_1, %.loc15_13.1 [concrete = constants.%int_1.0f3] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -3738,22 +3738,22 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.66a: type = facet_type <@As, @As(%i64)> [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.b69: type = facet_type <@As, @As(%i64)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.695: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.faf: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.370: %Core.IntLiteral.as.As.impl.Convert.type.faf = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.66a = facet_value Core.IntLiteral, (%As.impl_witness.695) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.88f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i64, %As.facet) [concrete] -// CHECK:STDOUT: %.fb3: type = fn_type_with_self_type %As.WithSelf.Convert.type.88f, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.370 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.370, @Core.IntLiteral.as.As.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.0e9: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.8db: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.fb1: %Core.IntLiteral.as.As.impl.Convert.type.8db = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.b69 = facet_value Core.IntLiteral, (%As.impl_witness.0e9) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.553: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i64, %As.facet) [concrete] +// CHECK:STDOUT: %.9b9: type = fn_type_with_self_type %As.WithSelf.Convert.type.553, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.fb1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.fb1, @Core.IntLiteral.as.As.impl.Convert(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.9e7: %i64 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.0f3: %i64 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3769,9 +3769,9 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -3793,13 +3793,13 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i64: type = type_literal constants.%i64 [concrete = constants.%i64] -// CHECK:STDOUT: %impl.elem0: %.fb3 = impl_witness_access constants.%As.impl_witness.695, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.370] +// CHECK:STDOUT: %impl.elem0: %.9b9 = impl_witness_access constants.%As.impl_witness.0e9, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.fb1] // CHECK:STDOUT: %bound_method.loc19_13.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.As.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc19_13.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i64 = call %bound_method.loc19_13.2(%int_1) [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc19_13.1: %i64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc19_13.2: %i64 = converted %int_1, %.loc19_13.1 [concrete = constants.%int_1.9e7] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i64 = call %bound_method.loc19_13.2(%int_1) [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc19_13.1: %i64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc19_13.2: %i64 = converted %int_1, %.loc19_13.1 [concrete = constants.%int_1.0f3] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -3815,22 +3815,22 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3846,9 +3846,9 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -3870,13 +3870,13 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] +// CHECK:STDOUT: %impl.elem0: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] // CHECK:STDOUT: %bound_method.loc19_13.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc19_13.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc19_13.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_13.2: %i32 = converted %int_1, %.loc19_13.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc19_13.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_13.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_13.2: %i32 = converted %int_1, %.loc19_13.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -3887,10 +3887,10 @@ fn F() { // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.b28: type = pattern_type %I.type [concrete] +// CHECK:STDOUT: %pattern_type.998: type = pattern_type %I.type [concrete] // CHECK:STDOUT: %ValueT: %I.type = symbolic_binding ValueT, 0 [symbolic] // CHECK:STDOUT: %ValueT.as_type: type = facet_access_type %ValueT [symbolic] -// CHECK:STDOUT: %pattern_type.71b: type = pattern_type %ValueT.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.3df: type = pattern_type %ValueT.as_type [symbolic] // CHECK:STDOUT: %value: %ValueT.as_type = symbolic_binding value, 1 [symbolic] // CHECK:STDOUT: %EchoValue.type: type = fn_type @EchoValue [concrete] // CHECK:STDOUT: %EchoValue: %EchoValue.type = struct_value () [concrete] @@ -3926,8 +3926,8 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %I.decl: type = interface_decl @I [concrete = constants.%I.type] {} {} // CHECK:STDOUT: %EchoValue.decl: %EchoValue.type = fn_decl @EchoValue [concrete = constants.%EchoValue] { -// CHECK:STDOUT: %ValueT.patt: %pattern_type.b28 = symbolic_binding_pattern ValueT, 0 [concrete] -// CHECK:STDOUT: %value.patt: @EchoValue.%pattern_type (%pattern_type.71b) = symbolic_binding_pattern value, 1 [concrete] +// CHECK:STDOUT: %ValueT.patt: %pattern_type.998 = symbolic_binding_pattern ValueT, 0 [concrete] +// CHECK:STDOUT: %value.patt: @EchoValue.%pattern_type (%pattern_type.3df) = symbolic_binding_pattern value, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc10_23: type = splice_block %I.ref [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self.loc10_20: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -3960,7 +3960,7 @@ fn F() { // CHECK:STDOUT: %ValueT.loc10_20.1: %I.type = symbolic_binding ValueT, 0 [symbolic = %ValueT.loc10_20.1 (constants.%ValueT)] // CHECK:STDOUT: %ValueT.as_type.loc10_41.1: type = facet_access_type %ValueT.loc10_20.1 [symbolic = %ValueT.as_type.loc10_41.1 (constants.%ValueT.as_type)] // CHECK:STDOUT: %value.loc10_38.1: @EchoValue.%ValueT.as_type.loc10_41.1 (%ValueT.as_type) = symbolic_binding value, 1 [symbolic = %value.loc10_38.1 (constants.%value)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %ValueT.as_type.loc10_41.1 [symbolic = %pattern_type (constants.%pattern_type.71b)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %ValueT.as_type.loc10_41.1 [symbolic = %pattern_type (constants.%pattern_type.3df)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -3986,6 +3986,6 @@ fn F() { // CHECK:STDOUT: %ValueT.loc10_20.1 => constants.%ValueT // CHECK:STDOUT: %ValueT.as_type.loc10_41.1 => constants.%ValueT.as_type // CHECK:STDOUT: %value.loc10_38.1 => constants.%value -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.71b +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.3df // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/function/import/pointer.carbon b/toolchain/check/testdata/interop/cpp/function/import/pointer.carbon index 1479f2a577f7..b93828c8903e 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/pointer.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/pointer.carbon @@ -500,8 +500,8 @@ fn F() { // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc10_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc10_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -543,7 +543,7 @@ fn F() { // CHECK:STDOUT: %.loc11_11.2: ref %ptr = converted %p.ref, %.loc11_11.1 // CHECK:STDOUT: %.loc11_11.3: %ptr = acquire_value %.loc11_11.2 // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc11_11.3) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %p.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %p.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%p.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -568,15 +568,15 @@ fn F() { // CHECK:STDOUT: %pattern_type.f1e: type = pattern_type %ptr.055 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.00d: = impl_witness imports.%Copy.impl_witness_table.bfb, @ptr.as.Copy.impl(%S) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.541: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%S) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.a63: %ptr.as.Copy.impl.Op.type.541 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.055, (%Copy.impl_witness.00d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.5c0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.6fe: type = fn_type_with_self_type %Copy.WithSelf.Op.type.5c0, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.a63, @ptr.as.Copy.impl.Op(%S) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.177: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%S) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.806: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%S) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.1bd: %ptr.as.Copy.impl.Op.type.806 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.055, (%Copy.impl_witness.177) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.d5d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.8df: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d5d, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.1bd, @ptr.as.Copy.impl.Op(%S) [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.type: type = cpp_overload_set_type @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %ptr.ce4: type = ptr_type %ptr.055 [concrete] @@ -595,8 +595,8 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} -// CHECK:STDOUT: %Core.import_ref.983: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.bfb = impl_witness_table (%Core.import_ref.983), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: @@ -628,7 +628,7 @@ fn F() { // CHECK:STDOUT: %p.var: ref %ptr.055 = var %p.var_patt // CHECK:STDOUT: %s.ref: ref %S = name_ref s, %s // CHECK:STDOUT: %addr.loc9: %ptr.055 = addr_of %s.ref -// CHECK:STDOUT: %impl.elem0: %.6fe = impl_witness_access constants.%Copy.impl_witness.00d, element0 [concrete = constants.%ptr.as.Copy.impl.Op.a63] +// CHECK:STDOUT: %impl.elem0: %.8df = impl_witness_access constants.%Copy.impl_witness.177, element0 [concrete = constants.%ptr.as.Copy.impl.Op.1bd] // CHECK:STDOUT: %bound_method.loc9_19.1: = bound_method %addr.loc9, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%S) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc9_19.2: = bound_method %addr.loc9, %specific_fn @@ -795,8 +795,8 @@ fn F() { // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc10_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc10_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -838,7 +838,7 @@ fn F() { // CHECK:STDOUT: %.loc11_11.2: ref %ptr = converted %p.ref, %.loc11_11.1 // CHECK:STDOUT: %.loc11_11.3: %ptr = acquire_value %.loc11_11.2 // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc11_11.3) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %p.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %p.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%p.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -923,52 +923,52 @@ fn F() { // CHECK:STDOUT: %foo.cpp_overload_set.type: type = cpp_overload_set_type @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] -// CHECK:STDOUT: %T.390: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.4e7: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.876: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.0f5: %ptr.as.OptionalStorage.impl.Some.type.876 = struct_value () [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.1: = custom_witness (%Destroy.Op.1dc86d.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.a72: %Destroy.type = facet_value %ptr.055, (%custom_witness.340963.1) [concrete] -// CHECK:STDOUT: %MaybeUnformed.1dc: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.a72) [concrete] -// CHECK:STDOUT: %OptionalStorage.impl_witness.e27: = impl_witness imports.%OptionalStorage.impl_witness_table.47b, @ptr.as.OptionalStorage.impl(%S) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet.1f1: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.e27) [concrete] -// CHECK:STDOUT: %Optional.4f1: type = class_type @Optional, @Optional(%OptionalStorage.facet.1f1) [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.7a7: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.d46: %ptr.as.OptionalStorage.impl.Some.type.7a7 = struct_value () [symbolic] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.1: = custom_witness (%Destroy.Op.2dd605.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.4d1: %Destroy.type = facet_value %ptr.055, (%custom_witness.e20f1f.1) [concrete] +// CHECK:STDOUT: %MaybeUnformed.3a1: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.4d1) [concrete] +// CHECK:STDOUT: %OptionalStorage.impl_witness.230: = impl_witness imports.%OptionalStorage.impl_witness_table.404, @ptr.as.OptionalStorage.impl(%S) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet.508: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.230) [concrete] +// CHECK:STDOUT: %Optional.f85: type = class_type @Optional, @Optional(%OptionalStorage.facet.508) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.f75: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.4f1)> [concrete] -// CHECK:STDOUT: %ImplicitAs.type.0b443a.2: type = facet_type <@ImplicitAs, @ImplicitAs(%T.67d)> [symbolic] -// CHECK:STDOUT: %U.2dd: %ImplicitAs.type.0b443a.2 = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %const.as.ImplicitAs.impl.Convert.type.74b: type = fn_type @const.as.ImplicitAs.impl.Convert, @const.as.ImplicitAs.impl(%T.67d, %U.2dd) [symbolic] -// CHECK:STDOUT: %const.as.ImplicitAs.impl.Convert.26a: %const.as.ImplicitAs.impl.Convert.type.74b = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.type.c8f: type = facet_type <@OptionalAs, @OptionalAs(%T.390)> [symbolic] -// CHECK:STDOUT: %U.00a: %OptionalAs.type.c8f = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.ba3: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.20a(%T.390, %U.00a) [symbolic] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.7c5: %U.as_type.as.ImplicitAs.impl.Convert.type.ba3 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.type.3ef: type = facet_type <@OptionalAs, @OptionalAs(%OptionalStorage.facet.1f1)> [concrete] -// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.type.135: type = fn_type @T.as_type.as.OptionalAs.impl.Convert, @T.as_type.as.OptionalAs.impl(%T.390) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.8c2: %T.as_type.as.OptionalAs.impl.Convert.type.135 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.impl_witness.a14: = impl_witness imports.%OptionalAs.impl_witness_table.b79, @T.as_type.as.OptionalAs.impl(%OptionalStorage.facet.1f1) [concrete] -// CHECK:STDOUT: %OptionalAs.facet: %OptionalAs.type.3ef = facet_value %ptr.055, (%OptionalAs.impl_witness.a14) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bad: = impl_witness imports.%ImplicitAs.impl_witness_table.95e, @U.as_type.as.ImplicitAs.impl.20a(%OptionalStorage.facet.1f1, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.604: %ImplicitAs.type.f75 = facet_value %ptr.055, (%ImplicitAs.impl_witness.bad) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.901: = impl_witness imports.%ImplicitAs.impl_witness_table.e4b, @const.as.ImplicitAs.impl(%Optional.4f1, %ImplicitAs.facet.604) [concrete] -// CHECK:STDOUT: %const.as.ImplicitAs.impl.Convert.type.81f: type = fn_type @const.as.ImplicitAs.impl.Convert, @const.as.ImplicitAs.impl(%Optional.4f1, %ImplicitAs.facet.604) [concrete] -// CHECK:STDOUT: %const.as.ImplicitAs.impl.Convert.439: %const.as.ImplicitAs.impl.Convert.type.81f = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.1c5: %ImplicitAs.type.f75 = facet_value %const.acb, (%ImplicitAs.impl_witness.901) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.42e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.4f1, %ImplicitAs.facet.1c5) [concrete] -// CHECK:STDOUT: %.533: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.42e, %ImplicitAs.facet.1c5 [concrete] -// CHECK:STDOUT: %const.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %const.as.ImplicitAs.impl.Convert.439, @const.as.ImplicitAs.impl.Convert(%Optional.4f1, %ImplicitAs.facet.604) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc11_11.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc10 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.c37: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.f85)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6e610f.2: type = facet_type <@ImplicitAs, @ImplicitAs(%T.67d)> [symbolic] +// CHECK:STDOUT: %U.b7e: %ImplicitAs.type.6e610f.2 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %const.as.ImplicitAs.impl.Convert.type.557: type = fn_type @const.as.ImplicitAs.impl.Convert, @const.as.ImplicitAs.impl(%T.67d, %U.b7e) [symbolic] +// CHECK:STDOUT: %const.as.ImplicitAs.impl.Convert.c54: %const.as.ImplicitAs.impl.Convert.type.557 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.type.c01: type = facet_type <@OptionalAs, @OptionalAs(%T.4e7)> [symbolic] +// CHECK:STDOUT: %U.847: %OptionalAs.type.c01 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.d99: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.1e6(%T.4e7, %U.847) [symbolic] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.401: %U.as_type.as.ImplicitAs.impl.Convert.type.d99 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.type.97d: type = facet_type <@OptionalAs, @OptionalAs(%OptionalStorage.facet.508)> [concrete] +// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.type.b97: type = fn_type @T.as_type.as.OptionalAs.impl.Convert, @T.as_type.as.OptionalAs.impl(%T.4e7) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.a9b: %T.as_type.as.OptionalAs.impl.Convert.type.b97 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.impl_witness.0a3: = impl_witness imports.%OptionalAs.impl_witness_table.973, @T.as_type.as.OptionalAs.impl(%OptionalStorage.facet.508) [concrete] +// CHECK:STDOUT: %OptionalAs.facet: %OptionalAs.type.97d = facet_value %ptr.055, (%OptionalAs.impl_witness.0a3) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.f5c: = impl_witness imports.%ImplicitAs.impl_witness_table.5f2, @U.as_type.as.ImplicitAs.impl.1e6(%OptionalStorage.facet.508, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.f8e: %ImplicitAs.type.c37 = facet_value %ptr.055, (%ImplicitAs.impl_witness.f5c) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.f5f: = impl_witness imports.%ImplicitAs.impl_witness_table.9b5, @const.as.ImplicitAs.impl(%Optional.f85, %ImplicitAs.facet.f8e) [concrete] +// CHECK:STDOUT: %const.as.ImplicitAs.impl.Convert.type.d29: type = fn_type @const.as.ImplicitAs.impl.Convert, @const.as.ImplicitAs.impl(%Optional.f85, %ImplicitAs.facet.f8e) [concrete] +// CHECK:STDOUT: %const.as.ImplicitAs.impl.Convert.ebf: %const.as.ImplicitAs.impl.Convert.type.d29 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.7b8: %ImplicitAs.type.c37 = facet_value %const.acb, (%ImplicitAs.impl_witness.f5f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.802: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.f85, %ImplicitAs.facet.7b8) [concrete] +// CHECK:STDOUT: %.2e2: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.802, %ImplicitAs.facet.7b8 [concrete] +// CHECK:STDOUT: %const.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %const.as.ImplicitAs.impl.Convert.ebf, @const.as.ImplicitAs.impl.Convert(%Optional.f85, %ImplicitAs.facet.f8e) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc11_11.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc10 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -979,30 +979,30 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.978 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.6b0: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.876) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.0f5)] -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.259 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.47b = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.978, %Core.import_ref.6b0, %Core.import_ref.017, %Core.import_ref.259, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.31a = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.ed3: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.7a7) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.d46)] +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d18 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.4ad4 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.404 = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.31a, %Core.import_ref.ed3, %Core.import_ref.b33, %Core.import_ref.d18, %Core.import_ref.4ad4), @ptr.as.OptionalStorage.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: -// CHECK:STDOUT: %.loc11_12.1: type = splice_block %Optional [concrete = constants.%Optional.4f1] { -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.e27) [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %.loc11_12.2: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.1f1) [concrete = constants.%Optional.4f1] +// CHECK:STDOUT: %.loc11_12.1: type = splice_block %Optional [concrete = constants.%Optional.f85] { +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.230) [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %.loc11_12.2: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.508) [concrete = constants.%Optional.f85] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.32c: @const.as.ImplicitAs.impl.%const.as.ImplicitAs.impl.Convert.type (%const.as.ImplicitAs.impl.Convert.type.74b) = import_ref Core//prelude/types/optional, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @const.as.ImplicitAs.impl.%const.as.ImplicitAs.impl.Convert (constants.%const.as.ImplicitAs.impl.Convert.26a)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.e4b = impl_witness_table (%Core.import_ref.32c), @const.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.a20e: @U.as_type.as.ImplicitAs.impl.20a.%U.as_type.as.ImplicitAs.impl.Convert.type (%U.as_type.as.ImplicitAs.impl.Convert.type.ba3) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @U.as_type.as.ImplicitAs.impl.20a.%U.as_type.as.ImplicitAs.impl.Convert (constants.%U.as_type.as.ImplicitAs.impl.Convert.7c5)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.95e = impl_witness_table (%Core.import_ref.a20e), @U.as_type.as.ImplicitAs.impl.20a [concrete] -// CHECK:STDOUT: %Core.import_ref.9b2: @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert.type (%T.as_type.as.OptionalAs.impl.Convert.type.135) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert (constants.%T.as_type.as.OptionalAs.impl.Convert.8c2)] -// CHECK:STDOUT: %OptionalAs.impl_witness_table.b79 = impl_witness_table (%Core.import_ref.9b2), @T.as_type.as.OptionalAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.354: @const.as.ImplicitAs.impl.%const.as.ImplicitAs.impl.Convert.type (%const.as.ImplicitAs.impl.Convert.type.557) = import_ref Core//prelude/types/optional, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @const.as.ImplicitAs.impl.%const.as.ImplicitAs.impl.Convert (constants.%const.as.ImplicitAs.impl.Convert.c54)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.9b5 = impl_witness_table (%Core.import_ref.354), @const.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ce3: @U.as_type.as.ImplicitAs.impl.1e6.%U.as_type.as.ImplicitAs.impl.Convert.type (%U.as_type.as.ImplicitAs.impl.Convert.type.d99) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @U.as_type.as.ImplicitAs.impl.1e6.%U.as_type.as.ImplicitAs.impl.Convert (constants.%U.as_type.as.ImplicitAs.impl.Convert.401)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.5f2 = impl_witness_table (%Core.import_ref.ce3), @U.as_type.as.ImplicitAs.impl.1e6 [concrete] +// CHECK:STDOUT: %Core.import_ref.cb8: @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert.type (%T.as_type.as.OptionalAs.impl.Convert.type.b97) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert (constants.%T.as_type.as.OptionalAs.impl.Convert.a9b)] +// CHECK:STDOUT: %OptionalAs.impl_witness_table.973 = impl_witness_table (%Core.import_ref.cb8), @T.as_type.as.OptionalAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1025,30 +1025,30 @@ fn F() { // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %p.ref: ref %const.acb = name_ref p, %p -// CHECK:STDOUT: %impl.elem0: %.533 = impl_witness_access constants.%ImplicitAs.impl_witness.901, element0 [concrete = constants.%const.as.ImplicitAs.impl.Convert.439] +// CHECK:STDOUT: %impl.elem0: %.2e2 = impl_witness_access constants.%ImplicitAs.impl_witness.f5f, element0 [concrete = constants.%const.as.ImplicitAs.impl.Convert.ebf] // CHECK:STDOUT: %bound_method.loc11_11.1: = bound_method %p.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @const.as.ImplicitAs.impl.Convert(constants.%Optional.4f1, constants.%ImplicitAs.facet.604) [concrete = constants.%const.as.ImplicitAs.impl.Convert.specific_fn] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @const.as.ImplicitAs.impl.Convert(constants.%Optional.f85, constants.%ImplicitAs.facet.f8e) [concrete = constants.%const.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc11_11.2: = bound_method %p.ref, %specific_fn // CHECK:STDOUT: %.loc11_11.1: %const.acb = acquire_value %p.ref -// CHECK:STDOUT: %const.as.ImplicitAs.impl.Convert.call: init %Optional.4f1 = call %bound_method.loc11_11.2(%.loc11_11.1) -// CHECK:STDOUT: %.loc11_11.2: init %Optional.4f1 = converted %p.ref, %const.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %.loc11_11.3: ref %Optional.4f1 = temporary_storage -// CHECK:STDOUT: %.loc11_11.4: ref %Optional.4f1 = temporary %.loc11_11.3, %.loc11_11.2 -// CHECK:STDOUT: %.loc11_11.5: %Optional.4f1 = acquire_value %.loc11_11.4 +// CHECK:STDOUT: %const.as.ImplicitAs.impl.Convert.call: init %Optional.f85 = call %bound_method.loc11_11.2(%.loc11_11.1) +// CHECK:STDOUT: %.loc11_11.2: init %Optional.f85 = converted %p.ref, %const.as.ImplicitAs.impl.Convert.call +// CHECK:STDOUT: %.loc11_11.3: ref %Optional.f85 = temporary_storage +// CHECK:STDOUT: %.loc11_11.4: ref %Optional.f85 = temporary %.loc11_11.3, %.loc11_11.2 +// CHECK:STDOUT: %.loc11_11.5: %Optional.f85 = acquire_value %.loc11_11.4 // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc11_11.5) -// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %.loc11_11.4, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %.loc11_11.4, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc11: init %empty_tuple.type = call %Destroy.Op.bound.loc11(%.loc11_11.4) -// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %p.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %p.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%p.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11_11.1(%self.param: ref %MaybeUnformed.1dc) { +// CHECK:STDOUT: fn @Destroy.Op.loc11_11.1(%self.param: ref %MaybeUnformed.3a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11_11.2(%self.param: ref %Optional.4f1) { +// CHECK:STDOUT: fn @Destroy.Op.loc11_11.2(%self.param: ref %Optional.f85) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1070,44 +1070,44 @@ fn F() { // CHECK:STDOUT: %foo.cpp_overload_set.type: type = cpp_overload_set_type @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] -// CHECK:STDOUT: %T.390: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.4e7: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.876: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.0f5: %ptr.as.OptionalStorage.impl.Some.type.876 = struct_value () [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.1: = custom_witness (%Destroy.Op.1dc86d.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.a72: %Destroy.type = facet_value %ptr.055, (%custom_witness.340963.1) [concrete] -// CHECK:STDOUT: %MaybeUnformed.1dc: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.a72) [concrete] -// CHECK:STDOUT: %OptionalStorage.impl_witness.e27: = impl_witness imports.%OptionalStorage.impl_witness_table.47b, @ptr.as.OptionalStorage.impl(%S) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet.1f1: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.e27) [concrete] -// CHECK:STDOUT: %Optional.4f1: type = class_type @Optional, @Optional(%OptionalStorage.facet.1f1) [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.7a7: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.d46: %ptr.as.OptionalStorage.impl.Some.type.7a7 = struct_value () [symbolic] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.1: = custom_witness (%Destroy.Op.2dd605.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.4d1: %Destroy.type = facet_value %ptr.055, (%custom_witness.e20f1f.1) [concrete] +// CHECK:STDOUT: %MaybeUnformed.3a1: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.4d1) [concrete] +// CHECK:STDOUT: %OptionalStorage.impl_witness.230: = impl_witness imports.%OptionalStorage.impl_witness_table.404, @ptr.as.OptionalStorage.impl(%S) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet.508: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.230) [concrete] +// CHECK:STDOUT: %Optional.f85: type = class_type @Optional, @Optional(%OptionalStorage.facet.508) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.f75: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.4f1)> [concrete] -// CHECK:STDOUT: %OptionalAs.type.c8f: type = facet_type <@OptionalAs, @OptionalAs(%T.390)> [symbolic] -// CHECK:STDOUT: %U.00a: %OptionalAs.type.c8f = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.ba3: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.20a(%T.390, %U.00a) [symbolic] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.7c5: %U.as_type.as.ImplicitAs.impl.Convert.type.ba3 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.type.3ef: type = facet_type <@OptionalAs, @OptionalAs(%OptionalStorage.facet.1f1)> [concrete] -// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.type.135: type = fn_type @T.as_type.as.OptionalAs.impl.Convert, @T.as_type.as.OptionalAs.impl(%T.390) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.8c2: %T.as_type.as.OptionalAs.impl.Convert.type.135 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.impl_witness.a14: = impl_witness imports.%OptionalAs.impl_witness_table.b79, @T.as_type.as.OptionalAs.impl(%OptionalStorage.facet.1f1) [concrete] -// CHECK:STDOUT: %OptionalAs.facet: %OptionalAs.type.3ef = facet_value %ptr.055, (%OptionalAs.impl_witness.a14) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bad: = impl_witness imports.%ImplicitAs.impl_witness_table.95e, @U.as_type.as.ImplicitAs.impl.20a(%OptionalStorage.facet.1f1, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.51e: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.20a(%OptionalStorage.facet.1f1, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.cca: %U.as_type.as.ImplicitAs.impl.Convert.type.51e = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.604: %ImplicitAs.type.f75 = facet_value %ptr.055, (%ImplicitAs.impl_witness.bad) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.7b6: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.4f1, %ImplicitAs.facet.604) [concrete] -// CHECK:STDOUT: %.f7d: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.7b6, %ImplicitAs.facet.604 [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %U.as_type.as.ImplicitAs.impl.Convert.cca, @U.as_type.as.ImplicitAs.impl.Convert.2(%OptionalStorage.facet.1f1, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc11_11.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.c37: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.f85)> [concrete] +// CHECK:STDOUT: %OptionalAs.type.c01: type = facet_type <@OptionalAs, @OptionalAs(%T.4e7)> [symbolic] +// CHECK:STDOUT: %U.847: %OptionalAs.type.c01 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.d99: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.1e6(%T.4e7, %U.847) [symbolic] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.401: %U.as_type.as.ImplicitAs.impl.Convert.type.d99 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.type.97d: type = facet_type <@OptionalAs, @OptionalAs(%OptionalStorage.facet.508)> [concrete] +// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.type.b97: type = fn_type @T.as_type.as.OptionalAs.impl.Convert, @T.as_type.as.OptionalAs.impl(%T.4e7) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.a9b: %T.as_type.as.OptionalAs.impl.Convert.type.b97 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.impl_witness.0a3: = impl_witness imports.%OptionalAs.impl_witness_table.973, @T.as_type.as.OptionalAs.impl(%OptionalStorage.facet.508) [concrete] +// CHECK:STDOUT: %OptionalAs.facet: %OptionalAs.type.97d = facet_value %ptr.055, (%OptionalAs.impl_witness.0a3) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.f5c: = impl_witness imports.%ImplicitAs.impl_witness_table.5f2, @U.as_type.as.ImplicitAs.impl.1e6(%OptionalStorage.facet.508, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.842: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.1e6(%OptionalStorage.facet.508, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.f7c: %U.as_type.as.ImplicitAs.impl.Convert.type.842 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.f8e: %ImplicitAs.type.c37 = facet_value %ptr.055, (%ImplicitAs.impl_witness.f5c) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.4b0: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.f85, %ImplicitAs.facet.f8e) [concrete] +// CHECK:STDOUT: %.960: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.4b0, %ImplicitAs.facet.f8e [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %U.as_type.as.ImplicitAs.impl.Convert.f7c, @U.as_type.as.ImplicitAs.impl.Convert.2(%OptionalStorage.facet.508, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc11_11.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1118,28 +1118,28 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.978 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.6b0: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.876) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.0f5)] -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.259 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.47b = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.978, %Core.import_ref.6b0, %Core.import_ref.017, %Core.import_ref.259, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.31a = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.ed3: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.7a7) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.d46)] +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d18 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.4ad4 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.404 = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.31a, %Core.import_ref.ed3, %Core.import_ref.b33, %Core.import_ref.d18, %Core.import_ref.4ad4), @ptr.as.OptionalStorage.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: -// CHECK:STDOUT: %.loc11_12.1: type = splice_block %Optional [concrete = constants.%Optional.4f1] { -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.e27) [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %.loc11_12.2: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.1f1) [concrete = constants.%Optional.4f1] +// CHECK:STDOUT: %.loc11_12.1: type = splice_block %Optional [concrete = constants.%Optional.f85] { +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.230) [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %.loc11_12.2: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.508) [concrete = constants.%Optional.f85] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.a20e: @U.as_type.as.ImplicitAs.impl.20a.%U.as_type.as.ImplicitAs.impl.Convert.type (%U.as_type.as.ImplicitAs.impl.Convert.type.ba3) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @U.as_type.as.ImplicitAs.impl.20a.%U.as_type.as.ImplicitAs.impl.Convert (constants.%U.as_type.as.ImplicitAs.impl.Convert.7c5)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.95e = impl_witness_table (%Core.import_ref.a20e), @U.as_type.as.ImplicitAs.impl.20a [concrete] -// CHECK:STDOUT: %Core.import_ref.9b2: @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert.type (%T.as_type.as.OptionalAs.impl.Convert.type.135) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert (constants.%T.as_type.as.OptionalAs.impl.Convert.8c2)] -// CHECK:STDOUT: %OptionalAs.impl_witness_table.b79 = impl_witness_table (%Core.import_ref.9b2), @T.as_type.as.OptionalAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ce3: @U.as_type.as.ImplicitAs.impl.1e6.%U.as_type.as.ImplicitAs.impl.Convert.type (%U.as_type.as.ImplicitAs.impl.Convert.type.d99) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @U.as_type.as.ImplicitAs.impl.1e6.%U.as_type.as.ImplicitAs.impl.Convert (constants.%U.as_type.as.ImplicitAs.impl.Convert.401)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.5f2 = impl_witness_table (%Core.import_ref.ce3), @U.as_type.as.ImplicitAs.impl.1e6 [concrete] +// CHECK:STDOUT: %Core.import_ref.cb8: @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert.type (%T.as_type.as.OptionalAs.impl.Convert.type.b97) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert (constants.%T.as_type.as.OptionalAs.impl.Convert.a9b)] +// CHECK:STDOUT: %OptionalAs.impl_witness_table.973 = impl_witness_table (%Core.import_ref.cb8), @T.as_type.as.OptionalAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1161,30 +1161,30 @@ fn F() { // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %p.ref: ref %ptr.055 = name_ref p, %p -// CHECK:STDOUT: %impl.elem0: %.f7d = impl_witness_access constants.%ImplicitAs.impl_witness.bad, element0 [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.cca] +// CHECK:STDOUT: %impl.elem0: %.960 = impl_witness_access constants.%ImplicitAs.impl_witness.f5c, element0 [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.f7c] // CHECK:STDOUT: %bound_method.loc11_11.1: = bound_method %p.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @U.as_type.as.ImplicitAs.impl.Convert.2(constants.%OptionalStorage.facet.1f1, constants.%OptionalAs.facet) [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.specific_fn] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @U.as_type.as.ImplicitAs.impl.Convert.2(constants.%OptionalStorage.facet.508, constants.%OptionalAs.facet) [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc11_11.2: = bound_method %p.ref, %specific_fn // CHECK:STDOUT: %.loc11_11.1: %ptr.055 = acquire_value %p.ref -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call: init %Optional.4f1 = call %bound_method.loc11_11.2(%.loc11_11.1) -// CHECK:STDOUT: %.loc11_11.2: init %Optional.4f1 = converted %p.ref, %U.as_type.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %.loc11_11.3: ref %Optional.4f1 = temporary_storage -// CHECK:STDOUT: %.loc11_11.4: ref %Optional.4f1 = temporary %.loc11_11.3, %.loc11_11.2 -// CHECK:STDOUT: %.loc11_11.5: %Optional.4f1 = acquire_value %.loc11_11.4 +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call: init %Optional.f85 = call %bound_method.loc11_11.2(%.loc11_11.1) +// CHECK:STDOUT: %.loc11_11.2: init %Optional.f85 = converted %p.ref, %U.as_type.as.ImplicitAs.impl.Convert.call +// CHECK:STDOUT: %.loc11_11.3: ref %Optional.f85 = temporary_storage +// CHECK:STDOUT: %.loc11_11.4: ref %Optional.f85 = temporary %.loc11_11.3, %.loc11_11.2 +// CHECK:STDOUT: %.loc11_11.5: %Optional.f85 = acquire_value %.loc11_11.4 // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc11_11.5) -// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %.loc11_11.4, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %.loc11_11.4, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc11: init %empty_tuple.type = call %Destroy.Op.bound.loc11(%.loc11_11.4) -// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %p.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %p.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%p.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11_11.1(%self.param: ref %MaybeUnformed.1dc) { +// CHECK:STDOUT: fn @Destroy.Op.loc11_11.1(%self.param: ref %MaybeUnformed.3a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11_11.2(%self.param: ref %Optional.4f1) { +// CHECK:STDOUT: fn @Destroy.Op.loc11_11.2(%self.param: ref %Optional.f85) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1336,44 +1336,44 @@ fn F() { // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %ptr.055: type = ptr_type %S [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] -// CHECK:STDOUT: %T.390: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.4e7: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.876: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.0f5: %ptr.as.OptionalStorage.impl.Some.type.876 = struct_value () [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.1: = custom_witness (%Destroy.Op.1dc86d.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.a72: %Destroy.type = facet_value %ptr.055, (%custom_witness.340963.1) [concrete] -// CHECK:STDOUT: %MaybeUnformed.1dc: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.a72) [concrete] -// CHECK:STDOUT: %OptionalStorage.impl_witness.e27: = impl_witness imports.%OptionalStorage.impl_witness_table.47b, @ptr.as.OptionalStorage.impl(%S) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet.1f1: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.e27) [concrete] -// CHECK:STDOUT: %Optional.4f1: type = class_type @Optional, @Optional(%OptionalStorage.facet.1f1) [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.7a7: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.d46: %ptr.as.OptionalStorage.impl.Some.type.7a7 = struct_value () [symbolic] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.1: = custom_witness (%Destroy.Op.2dd605.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.4d1: %Destroy.type = facet_value %ptr.055, (%custom_witness.e20f1f.1) [concrete] +// CHECK:STDOUT: %MaybeUnformed.3a1: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.4d1) [concrete] +// CHECK:STDOUT: %OptionalStorage.impl_witness.230: = impl_witness imports.%OptionalStorage.impl_witness_table.404, @ptr.as.OptionalStorage.impl(%S) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet.508: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.230) [concrete] +// CHECK:STDOUT: %Optional.f85: type = class_type @Optional, @Optional(%OptionalStorage.facet.508) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.f75: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.4f1)> [concrete] -// CHECK:STDOUT: %OptionalAs.type.c8f: type = facet_type <@OptionalAs, @OptionalAs(%T.390)> [symbolic] -// CHECK:STDOUT: %U.00a: %OptionalAs.type.c8f = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.ba3: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.20a(%T.390, %U.00a) [symbolic] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.7c5: %U.as_type.as.ImplicitAs.impl.Convert.type.ba3 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.type.3ef: type = facet_type <@OptionalAs, @OptionalAs(%OptionalStorage.facet.1f1)> [concrete] -// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.type.135: type = fn_type @T.as_type.as.OptionalAs.impl.Convert, @T.as_type.as.OptionalAs.impl(%T.390) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.8c2: %T.as_type.as.OptionalAs.impl.Convert.type.135 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.impl_witness.a14: = impl_witness imports.%OptionalAs.impl_witness_table.b79, @T.as_type.as.OptionalAs.impl(%OptionalStorage.facet.1f1) [concrete] -// CHECK:STDOUT: %OptionalAs.facet: %OptionalAs.type.3ef = facet_value %ptr.055, (%OptionalAs.impl_witness.a14) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bad: = impl_witness imports.%ImplicitAs.impl_witness_table.95e, @U.as_type.as.ImplicitAs.impl.20a(%OptionalStorage.facet.1f1, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.51e: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.20a(%OptionalStorage.facet.1f1, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.cca: %U.as_type.as.ImplicitAs.impl.Convert.type.51e = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.604: %ImplicitAs.type.f75 = facet_value %ptr.055, (%ImplicitAs.impl_witness.bad) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.7b6: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.4f1, %ImplicitAs.facet.604) [concrete] -// CHECK:STDOUT: %.f7d: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.7b6, %ImplicitAs.facet.604 [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %U.as_type.as.ImplicitAs.impl.Convert.cca, @U.as_type.as.ImplicitAs.impl.Convert.2(%OptionalStorage.facet.1f1, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc9_11.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.c37: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.f85)> [concrete] +// CHECK:STDOUT: %OptionalAs.type.c01: type = facet_type <@OptionalAs, @OptionalAs(%T.4e7)> [symbolic] +// CHECK:STDOUT: %U.847: %OptionalAs.type.c01 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.d99: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.1e6(%T.4e7, %U.847) [symbolic] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.401: %U.as_type.as.ImplicitAs.impl.Convert.type.d99 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.type.97d: type = facet_type <@OptionalAs, @OptionalAs(%OptionalStorage.facet.508)> [concrete] +// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.type.b97: type = fn_type @T.as_type.as.OptionalAs.impl.Convert, @T.as_type.as.OptionalAs.impl(%T.4e7) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.a9b: %T.as_type.as.OptionalAs.impl.Convert.type.b97 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.impl_witness.0a3: = impl_witness imports.%OptionalAs.impl_witness_table.973, @T.as_type.as.OptionalAs.impl(%OptionalStorage.facet.508) [concrete] +// CHECK:STDOUT: %OptionalAs.facet: %OptionalAs.type.97d = facet_value %ptr.055, (%OptionalAs.impl_witness.0a3) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.f5c: = impl_witness imports.%ImplicitAs.impl_witness_table.5f2, @U.as_type.as.ImplicitAs.impl.1e6(%OptionalStorage.facet.508, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.842: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.1e6(%OptionalStorage.facet.508, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.f7c: %U.as_type.as.ImplicitAs.impl.Convert.type.842 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.f8e: %ImplicitAs.type.c37 = facet_value %ptr.055, (%ImplicitAs.impl_witness.f5c) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.4b0: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.f85, %ImplicitAs.facet.f8e) [concrete] +// CHECK:STDOUT: %.960: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.4b0, %ImplicitAs.facet.f8e [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %U.as_type.as.ImplicitAs.impl.Convert.f7c, @U.as_type.as.ImplicitAs.impl.Convert.2(%OptionalStorage.facet.508, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc9_11.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: %S.cpp_destructor.type: type = fn_type @S.cpp_destructor [concrete] // CHECK:STDOUT: %S.cpp_destructor: %S.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -1386,28 +1386,28 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.978 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.6b0: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.876) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.0f5)] -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.259 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.47b = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.978, %Core.import_ref.6b0, %Core.import_ref.017, %Core.import_ref.259, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.31a = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.ed3: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.7a7) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.d46)] +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d18 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.4ad4 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.404 = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.31a, %Core.import_ref.ed3, %Core.import_ref.b33, %Core.import_ref.d18, %Core.import_ref.4ad4), @ptr.as.OptionalStorage.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: -// CHECK:STDOUT: %.loc9_13.1: type = splice_block %Optional [concrete = constants.%Optional.4f1] { -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.e27) [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %.loc9_13.2: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.1f1) [concrete = constants.%Optional.4f1] +// CHECK:STDOUT: %.loc9_13.1: type = splice_block %Optional [concrete = constants.%Optional.f85] { +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.230) [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %.loc9_13.2: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.508) [concrete = constants.%Optional.f85] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.a20e: @U.as_type.as.ImplicitAs.impl.20a.%U.as_type.as.ImplicitAs.impl.Convert.type (%U.as_type.as.ImplicitAs.impl.Convert.type.ba3) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @U.as_type.as.ImplicitAs.impl.20a.%U.as_type.as.ImplicitAs.impl.Convert (constants.%U.as_type.as.ImplicitAs.impl.Convert.7c5)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.95e = impl_witness_table (%Core.import_ref.a20e), @U.as_type.as.ImplicitAs.impl.20a [concrete] -// CHECK:STDOUT: %Core.import_ref.9b2: @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert.type (%T.as_type.as.OptionalAs.impl.Convert.type.135) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert (constants.%T.as_type.as.OptionalAs.impl.Convert.8c2)] -// CHECK:STDOUT: %OptionalAs.impl_witness_table.b79 = impl_witness_table (%Core.import_ref.9b2), @T.as_type.as.OptionalAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ce3: @U.as_type.as.ImplicitAs.impl.1e6.%U.as_type.as.ImplicitAs.impl.Convert.type (%U.as_type.as.ImplicitAs.impl.Convert.type.d99) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @U.as_type.as.ImplicitAs.impl.1e6.%U.as_type.as.ImplicitAs.impl.Convert (constants.%U.as_type.as.ImplicitAs.impl.Convert.401)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.5f2 = impl_witness_table (%Core.import_ref.ce3), @U.as_type.as.ImplicitAs.impl.1e6 [concrete] +// CHECK:STDOUT: %Core.import_ref.cb8: @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert.type (%T.as_type.as.OptionalAs.impl.Convert.type.b97) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert (constants.%T.as_type.as.OptionalAs.impl.Convert.a9b)] +// CHECK:STDOUT: %OptionalAs.impl_witness_table.973 = impl_witness_table (%Core.import_ref.cb8), @T.as_type.as.OptionalAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1430,29 +1430,29 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %s.ref: ref %S = name_ref s, %s // CHECK:STDOUT: %addr: %ptr.055 = addr_of %s.ref -// CHECK:STDOUT: %impl.elem0: %.f7d = impl_witness_access constants.%ImplicitAs.impl_witness.bad, element0 [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.cca] +// CHECK:STDOUT: %impl.elem0: %.960 = impl_witness_access constants.%ImplicitAs.impl_witness.f5c, element0 [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.f7c] // CHECK:STDOUT: %bound_method.loc9_11.1: = bound_method %addr, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @U.as_type.as.ImplicitAs.impl.Convert.2(constants.%OptionalStorage.facet.1f1, constants.%OptionalAs.facet) [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.specific_fn] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @U.as_type.as.ImplicitAs.impl.Convert.2(constants.%OptionalStorage.facet.508, constants.%OptionalAs.facet) [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc9_11.2: = bound_method %addr, %specific_fn -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call: init %Optional.4f1 = call %bound_method.loc9_11.2(%addr) -// CHECK:STDOUT: %.loc9_11.1: init %Optional.4f1 = converted %addr, %U.as_type.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %.loc9_11.2: ref %Optional.4f1 = temporary_storage -// CHECK:STDOUT: %.loc9_11.3: ref %Optional.4f1 = temporary %.loc9_11.2, %.loc9_11.1 -// CHECK:STDOUT: %.loc9_11.4: %Optional.4f1 = acquire_value %.loc9_11.3 +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call: init %Optional.f85 = call %bound_method.loc9_11.2(%addr) +// CHECK:STDOUT: %.loc9_11.1: init %Optional.f85 = converted %addr, %U.as_type.as.ImplicitAs.impl.Convert.call +// CHECK:STDOUT: %.loc9_11.2: ref %Optional.f85 = temporary_storage +// CHECK:STDOUT: %.loc9_11.3: ref %Optional.f85 = temporary %.loc9_11.2, %.loc9_11.1 +// CHECK:STDOUT: %.loc9_11.4: %Optional.f85 = acquire_value %.loc9_11.3 // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc9_11.4) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc9_11.3, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc9_11.3, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc9_11.3) // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9_11.1(%self.param: ref %MaybeUnformed.1dc) { +// CHECK:STDOUT: fn @Destroy.Op.loc9_11.1(%self.param: ref %MaybeUnformed.3a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9_11.2(%self.param: ref %Optional.4f1) { +// CHECK:STDOUT: fn @Destroy.Op.loc9_11.2(%self.param: ref %Optional.f85) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1466,34 +1466,34 @@ fn F() { // CHECK:STDOUT: %Optional.type: type = generic_class_type @Optional [concrete] // CHECK:STDOUT: %Optional.generic: %Optional.type = struct_value () [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] -// CHECK:STDOUT: %T.390: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Optional.None.type.961: type = fn_type @Optional.None, @Optional(%T.390) [symbolic] -// CHECK:STDOUT: %Optional.None.c55: %Optional.None.type.961 = struct_value () [symbolic] +// CHECK:STDOUT: %T.4e7: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Optional.None.type.bf3: type = fn_type @Optional.None, @Optional(%T.4e7) [symbolic] +// CHECK:STDOUT: %Optional.None.216: %Optional.None.type.bf3 = struct_value () [symbolic] // CHECK:STDOUT: %S: type = class_type @S [concrete] // CHECK:STDOUT: %ptr.055: type = ptr_type %S [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.type.ed5: type = fn_type @ptr.as.OptionalStorage.impl.None, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.503: %ptr.as.OptionalStorage.impl.None.type.ed5 = struct_value () [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.1: = custom_witness (%Destroy.Op.1dc86d.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.a72: %Destroy.type = facet_value %ptr.055, (%custom_witness.340963.1) [concrete] -// CHECK:STDOUT: %MaybeUnformed.1dc: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.a72) [concrete] -// CHECK:STDOUT: %OptionalStorage.impl_witness.5f9: = impl_witness imports.%OptionalStorage.impl_witness_table.f57, @ptr.as.OptionalStorage.impl(%S) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.5f9) [concrete] -// CHECK:STDOUT: %Optional.7e0: type = class_type @Optional, @Optional(%OptionalStorage.facet) [concrete] -// CHECK:STDOUT: %Optional.None.type.74f: type = fn_type @Optional.None, @Optional(%OptionalStorage.facet) [concrete] -// CHECK:STDOUT: %Optional.None.4d5: %Optional.None.type.74f = struct_value () [concrete] -// CHECK:STDOUT: %Optional.None.specific_fn: = specific_function %Optional.None.4d5, @Optional.None(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.type.da2: type = fn_type @ptr.as.OptionalStorage.impl.None, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.41b: %ptr.as.OptionalStorage.impl.None.type.da2 = struct_value () [symbolic] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.1: = custom_witness (%Destroy.Op.2dd605.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.4d1: %Destroy.type = facet_value %ptr.055, (%custom_witness.e20f1f.1) [concrete] +// CHECK:STDOUT: %MaybeUnformed.3a1: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.4d1) [concrete] +// CHECK:STDOUT: %OptionalStorage.impl_witness.dc1: = impl_witness imports.%OptionalStorage.impl_witness_table.885, @ptr.as.OptionalStorage.impl(%S) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.dc1) [concrete] +// CHECK:STDOUT: %Optional.11c: type = class_type @Optional, @Optional(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Optional.None.type.8c9: type = fn_type @Optional.None, @Optional(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Optional.None.71d: %Optional.None.type.8c9 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.None.specific_fn: = specific_function %Optional.None.71d, @Optional.None(%OptionalStorage.facet) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc8_38.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc8_38.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1510,23 +1510,23 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Optional: %Optional.type = import_ref Core//prelude/types/optional, Optional, loaded [concrete = constants.%Optional.generic] -// CHECK:STDOUT: %Core.import_ref.b79: @Optional.%Optional.None.type (%Optional.None.type.961) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @Optional.%Optional.None (constants.%Optional.None.c55)] +// CHECK:STDOUT: %Core.import_ref.c2b: @Optional.%Optional.None.type (%Optional.None.type.bf3) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @Optional.%Optional.None (constants.%Optional.None.216)] // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.fff: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None.type (%ptr.as.OptionalStorage.impl.None.type.ed5) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None (constants.%ptr.as.OptionalStorage.impl.None.503)] -// CHECK:STDOUT: %Core.import_ref.a098 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.259 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.f57 = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.fff, %Core.import_ref.a098, %Core.import_ref.017, %Core.import_ref.259, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.d20: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None.type (%ptr.as.OptionalStorage.impl.None.type.da2) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None (constants.%ptr.as.OptionalStorage.impl.None.41b)] +// CHECK:STDOUT: %Core.import_ref.97e = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d18 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.4ad = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.885 = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.d20, %Core.import_ref.97e, %Core.import_ref.b33, %Core.import_ref.d18, %Core.import_ref.4ad), @ptr.as.OptionalStorage.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: -// CHECK:STDOUT: %.loc8_39.1: type = splice_block %Optional [concrete = constants.%Optional.7e0] { -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.5f9) [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %.loc8_39.1: type = splice_block %Optional [concrete = constants.%Optional.11c] { +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.dc1) [concrete = constants.%OptionalStorage.facet] // CHECK:STDOUT: %.loc8_39.2: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.7e0] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.11c] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: } @@ -1542,28 +1542,28 @@ fn F() { // CHECK:STDOUT: %Cpp.ref.loc8_25: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %S.ref: type = name_ref S, imports.%S.decl [concrete = constants.%S] // CHECK:STDOUT: %ptr: type = ptr_type %S.ref [concrete = constants.%ptr.055] -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr, (constants.%OptionalStorage.impl_witness.5f9) [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr, (constants.%OptionalStorage.impl_witness.dc1) [concrete = constants.%OptionalStorage.facet] // CHECK:STDOUT: %.loc8_31: %OptionalStorage.type = converted %ptr, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.7e0] -// CHECK:STDOUT: %.loc8_32: %Optional.None.type.74f = specific_constant imports.%Core.import_ref.b79, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.None.4d5] -// CHECK:STDOUT: %None.ref: %Optional.None.type.74f = name_ref None, %.loc8_32 [concrete = constants.%Optional.None.4d5] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.11c] +// CHECK:STDOUT: %.loc8_32: %Optional.None.type.8c9 = specific_constant imports.%Core.import_ref.c2b, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.None.71d] +// CHECK:STDOUT: %None.ref: %Optional.None.type.8c9 = name_ref None, %.loc8_32 [concrete = constants.%Optional.None.71d] // CHECK:STDOUT: %Optional.None.specific_fn: = specific_function %None.ref, @Optional.None(constants.%OptionalStorage.facet) [concrete = constants.%Optional.None.specific_fn] -// CHECK:STDOUT: %Optional.None.call: init %Optional.7e0 = call %Optional.None.specific_fn() -// CHECK:STDOUT: %.loc8_38.1: ref %Optional.7e0 = temporary_storage -// CHECK:STDOUT: %.loc8_38.2: ref %Optional.7e0 = temporary %.loc8_38.1, %Optional.None.call -// CHECK:STDOUT: %.loc8_38.3: %Optional.7e0 = acquire_value %.loc8_38.2 +// CHECK:STDOUT: %Optional.None.call: init %Optional.11c = call %Optional.None.specific_fn() +// CHECK:STDOUT: %.loc8_38.1: ref %Optional.11c = temporary_storage +// CHECK:STDOUT: %.loc8_38.2: ref %Optional.11c = temporary %.loc8_38.1, %Optional.None.call +// CHECK:STDOUT: %.loc8_38.3: %Optional.11c = acquire_value %.loc8_38.2 // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_38.3) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_38.2, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_38.2, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc8_38.2) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_38.1(%self.param: ref %MaybeUnformed.1dc) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_38.1(%self.param: ref %MaybeUnformed.3a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_38.2(%self.param: ref %Optional.7e0) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_38.2(%self.param: ref %Optional.11c) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1582,33 +1582,33 @@ fn F() { // CHECK:STDOUT: %Optional.type: type = generic_class_type @Optional [concrete] // CHECK:STDOUT: %Optional.generic: %Optional.type = struct_value () [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] -// CHECK:STDOUT: %T.390: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Optional.Some.type.b38: type = fn_type @Optional.Some, @Optional(%T.390) [symbolic] -// CHECK:STDOUT: %Optional.Some.49b: %Optional.Some.type.b38 = struct_value () [symbolic] +// CHECK:STDOUT: %T.4e7: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Optional.Some.type.b88: type = fn_type @Optional.Some, @Optional(%T.4e7) [symbolic] +// CHECK:STDOUT: %Optional.Some.e32: %Optional.Some.type.b88 = struct_value () [symbolic] // CHECK:STDOUT: %ptr.055: type = ptr_type %S [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.876: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.0f5: %ptr.as.OptionalStorage.impl.Some.type.876 = struct_value () [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.1: = custom_witness (%Destroy.Op.1dc86d.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.a72: %Destroy.type = facet_value %ptr.055, (%custom_witness.340963.1) [concrete] -// CHECK:STDOUT: %MaybeUnformed.1dc: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.a72) [concrete] -// CHECK:STDOUT: %OptionalStorage.impl_witness.e27: = impl_witness imports.%OptionalStorage.impl_witness_table.47b, @ptr.as.OptionalStorage.impl(%S) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.e27) [concrete] -// CHECK:STDOUT: %Optional.4f1: type = class_type @Optional, @Optional(%OptionalStorage.facet) [concrete] -// CHECK:STDOUT: %Optional.Some.type.3f3: type = fn_type @Optional.Some, @Optional(%OptionalStorage.facet) [concrete] -// CHECK:STDOUT: %Optional.Some.4ec: %Optional.Some.type.3f3 = struct_value () [concrete] -// CHECK:STDOUT: %Optional.Some.specific_fn: = specific_function %Optional.Some.4ec, @Optional.Some(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.7a7: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.d46: %ptr.as.OptionalStorage.impl.Some.type.7a7 = struct_value () [symbolic] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.1: = custom_witness (%Destroy.Op.2dd605.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.4d1: %Destroy.type = facet_value %ptr.055, (%custom_witness.e20f1f.1) [concrete] +// CHECK:STDOUT: %MaybeUnformed.3a1: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.4d1) [concrete] +// CHECK:STDOUT: %OptionalStorage.impl_witness.230: = impl_witness imports.%OptionalStorage.impl_witness_table.404, @ptr.as.OptionalStorage.impl(%S) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.230) [concrete] +// CHECK:STDOUT: %Optional.f85: type = class_type @Optional, @Optional(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Optional.Some.type.d65: type = fn_type @Optional.Some, @Optional(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Optional.Some.b60: %Optional.Some.type.d65 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.Some.specific_fn: = specific_function %Optional.Some.b60, @Optional.Some(%OptionalStorage.facet) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc9_40.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc9_40.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: %S.cpp_destructor.type: type = fn_type @S.cpp_destructor [concrete] // CHECK:STDOUT: %S.cpp_destructor: %S.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -1628,22 +1628,22 @@ fn F() { // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Optional: %Optional.type = import_ref Core//prelude/types/optional, Optional, loaded [concrete = constants.%Optional.generic] -// CHECK:STDOUT: %Core.import_ref.16be: @Optional.%Optional.Some.type (%Optional.Some.type.b38) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @Optional.%Optional.Some (constants.%Optional.Some.49b)] -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.978 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.6b0: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.876) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.0f5)] -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.259 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.47b = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.978, %Core.import_ref.6b0, %Core.import_ref.017, %Core.import_ref.259, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.072: @Optional.%Optional.Some.type (%Optional.Some.type.b88) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @Optional.%Optional.Some (constants.%Optional.Some.e32)] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.31a = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.ed3: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.7a7) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.d46)] +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d18 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.4ad = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.404 = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.31a, %Core.import_ref.ed3, %Core.import_ref.b33, %Core.import_ref.d18, %Core.import_ref.4ad), @ptr.as.OptionalStorage.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: -// CHECK:STDOUT: %.loc9_41.1: type = splice_block %Optional [concrete = constants.%Optional.4f1] { -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.e27) [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %.loc9_41.1: type = splice_block %Optional [concrete = constants.%Optional.f85] { +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.230) [concrete = constants.%OptionalStorage.facet] // CHECK:STDOUT: %.loc9_41.2: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.4f1] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.f85] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: } @@ -1673,34 +1673,34 @@ fn F() { // CHECK:STDOUT: %Cpp.ref.loc9_25: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %S.ref.loc9: type = name_ref S, imports.%S.decl [concrete = constants.%S] // CHECK:STDOUT: %ptr: type = ptr_type %S.ref.loc9 [concrete = constants.%ptr.055] -// CHECK:STDOUT: %OptionalStorage.facet.loc9_31: %OptionalStorage.type = facet_value %ptr, (constants.%OptionalStorage.impl_witness.e27) [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %OptionalStorage.facet.loc9_31: %OptionalStorage.type = facet_value %ptr, (constants.%OptionalStorage.impl_witness.230) [concrete = constants.%OptionalStorage.facet] // CHECK:STDOUT: %.loc9_31: %OptionalStorage.type = converted %ptr, %OptionalStorage.facet.loc9_31 [concrete = constants.%OptionalStorage.facet] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.4f1] -// CHECK:STDOUT: %.loc9_32: %Optional.Some.type.3f3 = specific_constant imports.%Core.import_ref.16be, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.Some.4ec] -// CHECK:STDOUT: %Some.ref: %Optional.Some.type.3f3 = name_ref Some, %.loc9_32 [concrete = constants.%Optional.Some.4ec] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.f85] +// CHECK:STDOUT: %.loc9_32: %Optional.Some.type.d65 = specific_constant imports.%Core.import_ref.072, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.Some.b60] +// CHECK:STDOUT: %Some.ref: %Optional.Some.type.d65 = name_ref Some, %.loc9_32 [concrete = constants.%Optional.Some.b60] // CHECK:STDOUT: %s.ref: ref %S = name_ref s, %s // CHECK:STDOUT: %addr: %ptr.055 = addr_of %s.ref -// CHECK:STDOUT: %OptionalStorage.facet.loc9_40: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.e27) [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %OptionalStorage.facet.loc9_40: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.230) [concrete = constants.%OptionalStorage.facet] // CHECK:STDOUT: %.loc9_40.1: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet.loc9_40 [concrete = constants.%OptionalStorage.facet] // CHECK:STDOUT: %Optional.Some.specific_fn: = specific_function %Some.ref, @Optional.Some(constants.%OptionalStorage.facet) [concrete = constants.%Optional.Some.specific_fn] -// CHECK:STDOUT: %Optional.Some.call: init %Optional.4f1 = call %Optional.Some.specific_fn(%addr) -// CHECK:STDOUT: %.loc9_40.2: ref %Optional.4f1 = temporary_storage -// CHECK:STDOUT: %.loc9_40.3: ref %Optional.4f1 = temporary %.loc9_40.2, %Optional.Some.call -// CHECK:STDOUT: %.loc9_40.4: %Optional.4f1 = acquire_value %.loc9_40.3 +// CHECK:STDOUT: %Optional.Some.call: init %Optional.f85 = call %Optional.Some.specific_fn(%addr) +// CHECK:STDOUT: %.loc9_40.2: ref %Optional.f85 = temporary_storage +// CHECK:STDOUT: %.loc9_40.3: ref %Optional.f85 = temporary %.loc9_40.2, %Optional.Some.call +// CHECK:STDOUT: %.loc9_40.4: %Optional.f85 = acquire_value %.loc9_40.3 // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc9_40.4) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc9_40.3, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc9_40.3, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc9_40.3) // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9_40.1(%self.param: ref %MaybeUnformed.1dc) { +// CHECK:STDOUT: fn @Destroy.Op.loc9_40.1(%self.param: ref %MaybeUnformed.3a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9_40.2(%self.param: ref %Optional.4f1) { +// CHECK:STDOUT: fn @Destroy.Op.loc9_40.2(%self.param: ref %Optional.f85) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1719,23 +1719,23 @@ fn F() { // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.1: = custom_witness (%Destroy.Op.1dc86d.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.a72: %Destroy.type = facet_value %ptr.055, (%custom_witness.340963.1) [concrete] -// CHECK:STDOUT: %MaybeUnformed.1dc: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.a72) [concrete] -// CHECK:STDOUT: %OptionalStorage.impl_witness.6c2: = impl_witness imports.%OptionalStorage.impl_witness_table.cbe, @ptr.as.OptionalStorage.impl(%S) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.6c2) [concrete] -// CHECK:STDOUT: %Optional.d03: type = class_type @Optional, @Optional(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.1: = custom_witness (%Destroy.Op.2dd605.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.4d1: %Destroy.type = facet_value %ptr.055, (%custom_witness.e20f1f.1) [concrete] +// CHECK:STDOUT: %MaybeUnformed.3a1: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.4d1) [concrete] +// CHECK:STDOUT: %OptionalStorage.impl_witness.a28: = impl_witness imports.%OptionalStorage.impl_witness_table.cee, @ptr.as.OptionalStorage.impl(%S) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.a28) [concrete] +// CHECK:STDOUT: %Optional.3a5: type = class_type @Optional, @Optional(%OptionalStorage.facet) [concrete] // CHECK:STDOUT: %get.type: type = fn_type @get [concrete] // CHECK:STDOUT: %get: %get.type = struct_value () [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc8_19.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc8_19.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1746,29 +1746,29 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %get.cpp_overload_set.value: %get.cpp_overload_set.type = cpp_overload_set_value @get.cpp_overload_set [concrete = constants.%get.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.978 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.a098 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.259 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.cbe = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.978, %Core.import_ref.a098, %Core.import_ref.017, %Core.import_ref.259, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.31a = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.97e = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d18 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.4ad = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.cee = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.31a, %Core.import_ref.97e, %Core.import_ref.b33, %Core.import_ref.d18, %Core.import_ref.4ad), @ptr.as.OptionalStorage.impl [concrete] // CHECK:STDOUT: %get.decl: %get.type = fn_decl @get [concrete = constants.%get] { // CHECK:STDOUT: // CHECK:STDOUT: } { -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.6c2) [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.a28) [concrete = constants.%OptionalStorage.facet] // CHECK:STDOUT: %.loc8: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.d03] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.3a5] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: -// CHECK:STDOUT: %.loc8_20.1: type = splice_block %Optional [concrete = constants.%Optional.d03] { -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.6c2) [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %.loc8_20.1: type = splice_block %Optional [concrete = constants.%Optional.3a5] { +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.a28) [concrete = constants.%OptionalStorage.facet] // CHECK:STDOUT: %.loc8_20.2: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.d03] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.3a5] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: } @@ -1780,22 +1780,22 @@ fn F() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Cpp.ref.loc8_11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %get.ref: %get.cpp_overload_set.type = name_ref get, imports.%get.cpp_overload_set.value [concrete = constants.%get.cpp_overload_set.value] -// CHECK:STDOUT: %get.call: init %Optional.d03 = call imports.%get.decl() -// CHECK:STDOUT: %.loc8_19.1: ref %Optional.d03 = temporary_storage -// CHECK:STDOUT: %.loc8_19.2: ref %Optional.d03 = temporary %.loc8_19.1, %get.call -// CHECK:STDOUT: %.loc8_19.3: %Optional.d03 = acquire_value %.loc8_19.2 +// CHECK:STDOUT: %get.call: init %Optional.3a5 = call imports.%get.decl() +// CHECK:STDOUT: %.loc8_19.1: ref %Optional.3a5 = temporary_storage +// CHECK:STDOUT: %.loc8_19.2: ref %Optional.3a5 = temporary %.loc8_19.1, %get.call +// CHECK:STDOUT: %.loc8_19.3: %Optional.3a5 = acquire_value %.loc8_19.2 // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc8_19.3) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_19.2, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc8_19.2, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc8_19.2) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_19.1(%self.param: ref %MaybeUnformed.1dc) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_19.1(%self.param: ref %MaybeUnformed.3a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8_19.2(%self.param: ref %Optional.d03) { +// CHECK:STDOUT: fn @Destroy.Op.loc8_19.2(%self.param: ref %Optional.3a5) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1886,52 +1886,52 @@ fn F() { // CHECK:STDOUT: %Optional.type: type = generic_class_type @Optional [concrete] // CHECK:STDOUT: %Optional.generic: %Optional.type = struct_value () [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] -// CHECK:STDOUT: %T.390: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.4e7: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.876: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.0f5: %ptr.as.OptionalStorage.impl.Some.type.876 = struct_value () [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.1: = custom_witness (%Destroy.Op.1dc86d.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.a72: %Destroy.type = facet_value %ptr.055, (%custom_witness.340963.1) [concrete] -// CHECK:STDOUT: %MaybeUnformed.1dc: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.a72) [concrete] -// CHECK:STDOUT: %OptionalStorage.impl_witness.e27: = impl_witness imports.%OptionalStorage.impl_witness_table.47b, @ptr.as.OptionalStorage.impl(%S) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet.1f1: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.e27) [concrete] -// CHECK:STDOUT: %Optional.4f1: type = class_type @Optional, @Optional(%OptionalStorage.facet.1f1) [concrete] -// CHECK:STDOUT: %pattern_type.77d: type = pattern_type %Optional.4f1 [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.7a7: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.d46: %ptr.as.OptionalStorage.impl.Some.type.7a7 = struct_value () [symbolic] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.1: = custom_witness (%Destroy.Op.2dd605.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.4d1: %Destroy.type = facet_value %ptr.055, (%custom_witness.e20f1f.1) [concrete] +// CHECK:STDOUT: %MaybeUnformed.3a1: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.4d1) [concrete] +// CHECK:STDOUT: %OptionalStorage.impl_witness.230: = impl_witness imports.%OptionalStorage.impl_witness_table.404, @ptr.as.OptionalStorage.impl(%S) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet.508: %OptionalStorage.type = facet_value %ptr.055, (%OptionalStorage.impl_witness.230) [concrete] +// CHECK:STDOUT: %Optional.f85: type = class_type @Optional, @Optional(%OptionalStorage.facet.508) [concrete] +// CHECK:STDOUT: %pattern_type.1b2: type = pattern_type %Optional.f85 [concrete] // CHECK:STDOUT: %Direct.type: type = fn_type @Direct [concrete] // CHECK:STDOUT: %Direct: %Direct.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.f75: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.4f1)> [concrete] -// CHECK:STDOUT: %OptionalAs.type.c8f: type = facet_type <@OptionalAs, @OptionalAs(%T.390)> [symbolic] -// CHECK:STDOUT: %U.00a: %OptionalAs.type.c8f = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.ba3: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.20a(%T.390, %U.00a) [symbolic] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.7c5: %U.as_type.as.ImplicitAs.impl.Convert.type.ba3 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.type.3ef: type = facet_type <@OptionalAs, @OptionalAs(%OptionalStorage.facet.1f1)> [concrete] -// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.type.135: type = fn_type @T.as_type.as.OptionalAs.impl.Convert, @T.as_type.as.OptionalAs.impl(%T.390) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.8c2: %T.as_type.as.OptionalAs.impl.Convert.type.135 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.impl_witness.a14: = impl_witness imports.%OptionalAs.impl_witness_table.b79, @T.as_type.as.OptionalAs.impl(%OptionalStorage.facet.1f1) [concrete] -// CHECK:STDOUT: %OptionalAs.facet: %OptionalAs.type.3ef = facet_value %ptr.055, (%OptionalAs.impl_witness.a14) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bad: = impl_witness imports.%ImplicitAs.impl_witness_table.95e, @U.as_type.as.ImplicitAs.impl.20a(%OptionalStorage.facet.1f1, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.51e: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.20a(%OptionalStorage.facet.1f1, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.cca: %U.as_type.as.ImplicitAs.impl.Convert.type.51e = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.604: %ImplicitAs.type.f75 = facet_value %ptr.055, (%ImplicitAs.impl_witness.bad) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.7b6: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.4f1, %ImplicitAs.facet.604) [concrete] -// CHECK:STDOUT: %.f7d: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.7b6, %ImplicitAs.facet.604 [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %U.as_type.as.ImplicitAs.impl.Convert.cca, @U.as_type.as.ImplicitAs.impl.Convert.2(%OptionalStorage.facet.1f1, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.c37: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.f85)> [concrete] +// CHECK:STDOUT: %OptionalAs.type.c01: type = facet_type <@OptionalAs, @OptionalAs(%T.4e7)> [symbolic] +// CHECK:STDOUT: %U.847: %OptionalAs.type.c01 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.d99: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.1e6(%T.4e7, %U.847) [symbolic] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.401: %U.as_type.as.ImplicitAs.impl.Convert.type.d99 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.type.97d: type = facet_type <@OptionalAs, @OptionalAs(%OptionalStorage.facet.508)> [concrete] +// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.type.b97: type = fn_type @T.as_type.as.OptionalAs.impl.Convert, @T.as_type.as.OptionalAs.impl(%T.4e7) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.a9b: %T.as_type.as.OptionalAs.impl.Convert.type.b97 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.impl_witness.0a3: = impl_witness imports.%OptionalAs.impl_witness_table.973, @T.as_type.as.OptionalAs.impl(%OptionalStorage.facet.508) [concrete] +// CHECK:STDOUT: %OptionalAs.facet: %OptionalAs.type.97d = facet_value %ptr.055, (%OptionalAs.impl_witness.0a3) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.f5c: = impl_witness imports.%ImplicitAs.impl_witness_table.5f2, @U.as_type.as.ImplicitAs.impl.1e6(%OptionalStorage.facet.508, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.842: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.1e6(%OptionalStorage.facet.508, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.f7c: %U.as_type.as.ImplicitAs.impl.Convert.type.842 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.f8e: %ImplicitAs.type.c37 = facet_value %ptr.055, (%ImplicitAs.impl_witness.f5c) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.4b0: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.f85, %ImplicitAs.facet.f8e) [concrete] +// CHECK:STDOUT: %.960: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.4b0, %ImplicitAs.facet.f8e [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %U.as_type.as.ImplicitAs.impl.Convert.f7c, @U.as_type.as.ImplicitAs.impl.Convert.2(%OptionalStorage.facet.508, %OptionalAs.facet) [concrete] // CHECK:STDOUT: %Indirect.cpp_overload_set.type: type = cpp_overload_set_type @Indirect.cpp_overload_set [concrete] // CHECK:STDOUT: %Indirect.cpp_overload_set.value: %Indirect.cpp_overload_set.type = cpp_overload_set_value @Indirect.cpp_overload_set [concrete] // CHECK:STDOUT: %Indirect__carbon_thunk.type: type = fn_type @Indirect__carbon_thunk [concrete] // CHECK:STDOUT: %Indirect__carbon_thunk: %Indirect__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %.f11: ref %S = temporary invalid, %S.val [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc13_65.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc13_65.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: %S.cpp_destructor.type: type = fn_type @S.cpp_destructor [concrete] // CHECK:STDOUT: %S.cpp_destructor: %S.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -1953,39 +1953,39 @@ fn F() { // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} // CHECK:STDOUT: %Direct.cpp_overload_set.value: %Direct.cpp_overload_set.type = cpp_overload_set_value @Direct.cpp_overload_set [concrete = constants.%Direct.cpp_overload_set.value] // CHECK:STDOUT: %Core.Optional: %Optional.type = import_ref Core//prelude/types/optional, Optional, loaded [concrete = constants.%Optional.generic] -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.978 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.6b0: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.876) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.0f5)] -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.259 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.47b = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.978, %Core.import_ref.6b0, %Core.import_ref.017, %Core.import_ref.259, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.31a = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.ed3: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.7a7) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.d46)] +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d18 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.4ad4 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.404 = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.31a, %Core.import_ref.ed3, %Core.import_ref.b33, %Core.import_ref.d18, %Core.import_ref.4ad4), @ptr.as.OptionalStorage.impl [concrete] // CHECK:STDOUT: %Direct.decl: %Direct.type = fn_decl @Direct [concrete = constants.%Direct] { // CHECK:STDOUT: // CHECK:STDOUT: } { -// CHECK:STDOUT: %OptionalStorage.facet.loc11_16.1: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.e27) [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %.loc11_16.1: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet.loc11_16.1 [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %Optional.loc11_16.1: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.1f1) [concrete = constants.%Optional.4f1] +// CHECK:STDOUT: %OptionalStorage.facet.loc11_16.1: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.230) [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %.loc11_16.1: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet.loc11_16.1 [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %Optional.loc11_16.1: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.508) [concrete = constants.%Optional.f85] // CHECK:STDOUT: -// CHECK:STDOUT: %.loc11_16.2: type = splice_block %Optional.loc11_16.2 [concrete = constants.%Optional.4f1] { -// CHECK:STDOUT: %OptionalStorage.facet.loc11_16.2: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.e27) [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %.loc11_16.3: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet.loc11_16.2 [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %Optional.loc11_16.2: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.1f1) [concrete = constants.%Optional.4f1] +// CHECK:STDOUT: %.loc11_16.2: type = splice_block %Optional.loc11_16.2 [concrete = constants.%Optional.f85] { +// CHECK:STDOUT: %OptionalStorage.facet.loc11_16.2: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.230) [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %.loc11_16.3: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet.loc11_16.2 [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %Optional.loc11_16.2: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.508) [concrete = constants.%Optional.f85] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.a20e: @U.as_type.as.ImplicitAs.impl.20a.%U.as_type.as.ImplicitAs.impl.Convert.type (%U.as_type.as.ImplicitAs.impl.Convert.type.ba3) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @U.as_type.as.ImplicitAs.impl.20a.%U.as_type.as.ImplicitAs.impl.Convert (constants.%U.as_type.as.ImplicitAs.impl.Convert.7c5)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.95e = impl_witness_table (%Core.import_ref.a20e), @U.as_type.as.ImplicitAs.impl.20a [concrete] -// CHECK:STDOUT: %Core.import_ref.9b2: @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert.type (%T.as_type.as.OptionalAs.impl.Convert.type.135) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert (constants.%T.as_type.as.OptionalAs.impl.Convert.8c2)] -// CHECK:STDOUT: %OptionalAs.impl_witness_table.b79 = impl_witness_table (%Core.import_ref.9b2), @T.as_type.as.OptionalAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.ce3: @U.as_type.as.ImplicitAs.impl.1e6.%U.as_type.as.ImplicitAs.impl.Convert.type (%U.as_type.as.ImplicitAs.impl.Convert.type.d99) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @U.as_type.as.ImplicitAs.impl.1e6.%U.as_type.as.ImplicitAs.impl.Convert (constants.%U.as_type.as.ImplicitAs.impl.Convert.401)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.5f2 = impl_witness_table (%Core.import_ref.ce3), @U.as_type.as.ImplicitAs.impl.1e6 [concrete] +// CHECK:STDOUT: %Core.import_ref.cb8: @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert.type (%T.as_type.as.OptionalAs.impl.Convert.type.b97) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert (constants.%T.as_type.as.OptionalAs.impl.Convert.a9b)] +// CHECK:STDOUT: %OptionalAs.impl_witness_table.973 = impl_witness_table (%Core.import_ref.cb8), @T.as_type.as.OptionalAs.impl [concrete] // CHECK:STDOUT: %Indirect.cpp_overload_set.value: %Indirect.cpp_overload_set.type = cpp_overload_set_value @Indirect.cpp_overload_set [concrete = constants.%Indirect.cpp_overload_set.value] // CHECK:STDOUT: %Indirect__carbon_thunk.decl: %Indirect__carbon_thunk.type = fn_decl @Indirect__carbon_thunk [concrete = constants.%Indirect__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.e27) [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %.loc13: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.1f1) [concrete = constants.%Optional.4f1] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.055, (constants.%OptionalStorage.impl_witness.230) [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %.loc13: %OptionalStorage.type = converted constants.%ptr.055, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.508) [concrete = constants.%Optional.f85] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/destroy, Destroy, loaded [concrete = constants.%Destroy.type] @@ -2011,18 +2011,18 @@ fn F() { // CHECK:STDOUT: %Direct.ref: %Direct.cpp_overload_set.type = name_ref Direct, imports.%Direct.cpp_overload_set.value [concrete = constants.%Direct.cpp_overload_set.value] // CHECK:STDOUT: %s.ref: ref %S = name_ref s, %s // CHECK:STDOUT: %addr.loc11: %ptr.055 = addr_of %s.ref -// CHECK:STDOUT: %impl.elem0: %.f7d = impl_witness_access constants.%ImplicitAs.impl_witness.bad, element0 [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.cca] +// CHECK:STDOUT: %impl.elem0: %.960 = impl_witness_access constants.%ImplicitAs.impl_witness.f5c, element0 [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.f7c] // CHECK:STDOUT: %bound_method.loc11_14.1: = bound_method %addr.loc11, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @U.as_type.as.ImplicitAs.impl.Convert.2(constants.%OptionalStorage.facet.1f1, constants.%OptionalAs.facet) [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.specific_fn] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @U.as_type.as.ImplicitAs.impl.Convert.2(constants.%OptionalStorage.facet.508, constants.%OptionalAs.facet) [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc11_14.2: = bound_method %addr.loc11, %specific_fn -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call: init %Optional.4f1 = call %bound_method.loc11_14.2(%addr.loc11) -// CHECK:STDOUT: %.loc11_14.1: init %Optional.4f1 = converted %addr.loc11, %U.as_type.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %.loc11_14.2: ref %Optional.4f1 = temporary_storage -// CHECK:STDOUT: %.loc11_14.3: ref %Optional.4f1 = temporary %.loc11_14.2, %.loc11_14.1 -// CHECK:STDOUT: %.loc11_14.4: %Optional.4f1 = acquire_value %.loc11_14.3 -// CHECK:STDOUT: %Direct.call: init %Optional.4f1 = call imports.%Direct.decl(%.loc11_14.4) +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call: init %Optional.f85 = call %bound_method.loc11_14.2(%addr.loc11) +// CHECK:STDOUT: %.loc11_14.1: init %Optional.f85 = converted %addr.loc11, %U.as_type.as.ImplicitAs.impl.Convert.call +// CHECK:STDOUT: %.loc11_14.2: ref %Optional.f85 = temporary_storage +// CHECK:STDOUT: %.loc11_14.3: ref %Optional.f85 = temporary %.loc11_14.2, %.loc11_14.1 +// CHECK:STDOUT: %.loc11_14.4: %Optional.f85 = acquire_value %.loc11_14.3 +// CHECK:STDOUT: %Direct.call: init %Optional.f85 = call imports.%Direct.decl(%.loc11_14.4) // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.77d = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.1b2 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc13_41: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %Indirect.ref: %Indirect.cpp_overload_set.type = name_ref Indirect, imports.%Indirect.cpp_overload_set.value [concrete = constants.%Indirect.cpp_overload_set.value] @@ -2036,36 +2036,36 @@ fn F() { // CHECK:STDOUT: %.loc13_57.3: %S = acquire_value %.loc13_57.2 [concrete = constants.%S.val] // CHECK:STDOUT: %.loc13_57.4: ref %S = value_as_ref %.loc13_57.3 // CHECK:STDOUT: %addr.loc13: %ptr.055 = addr_of %.loc13_57.4 -// CHECK:STDOUT: %Indirect__carbon_thunk.call: init %Optional.4f1 = call imports.%Indirect__carbon_thunk.decl(%addr.loc13) -// CHECK:STDOUT: %.loc13_37.1: type = splice_block %Optional [concrete = constants.%Optional.4f1] { +// CHECK:STDOUT: %Indirect__carbon_thunk.call: init %Optional.f85 = call imports.%Indirect__carbon_thunk.decl(%addr.loc13) +// CHECK:STDOUT: %.loc13_37.1: type = splice_block %Optional [concrete = constants.%Optional.f85] { // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Optional.ref: %Optional.type = name_ref Optional, imports.%Core.Optional [concrete = constants.%Optional.generic] // CHECK:STDOUT: %Cpp.ref.loc13_31: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %S.ref.loc13_34: type = name_ref S, imports.%S.decl [concrete = constants.%S] // CHECK:STDOUT: %ptr: type = ptr_type %S.ref.loc13_34 [concrete = constants.%ptr.055] -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr, (constants.%OptionalStorage.impl_witness.e27) [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %.loc13_37.2: %OptionalStorage.type = converted %ptr, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.1f1] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.1f1) [concrete = constants.%Optional.4f1] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr, (constants.%OptionalStorage.impl_witness.230) [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %.loc13_37.2: %OptionalStorage.type = converted %ptr, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.508] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.508) [concrete = constants.%Optional.f85] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc13_65.1: ref %Optional.4f1 = temporary_storage -// CHECK:STDOUT: %.loc13_65.2: ref %Optional.4f1 = temporary %.loc13_65.1, %Indirect__carbon_thunk.call -// CHECK:STDOUT: %.loc13_65.3: %Optional.4f1 = acquire_value %.loc13_65.2 -// CHECK:STDOUT: %a: %Optional.4f1 = value_binding a, %.loc13_65.3 -// CHECK:STDOUT: %Destroy.Op.bound.loc13: = bound_method %.loc13_65.2, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %.loc13_65.1: ref %Optional.f85 = temporary_storage +// CHECK:STDOUT: %.loc13_65.2: ref %Optional.f85 = temporary %.loc13_65.1, %Indirect__carbon_thunk.call +// CHECK:STDOUT: %.loc13_65.3: %Optional.f85 = acquire_value %.loc13_65.2 +// CHECK:STDOUT: %a: %Optional.f85 = value_binding a, %.loc13_65.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc13: = bound_method %.loc13_65.2, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc13: init %empty_tuple.type = call %Destroy.Op.bound.loc13(%.loc13_65.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %.loc11_14.3, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc11: = bound_method %.loc11_14.3, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc11: init %empty_tuple.type = call %Destroy.Op.bound.loc11(%.loc11_14.3) // CHECK:STDOUT: %S.cpp_destructor.bound: = bound_method %s.var, constants.%S.cpp_destructor // CHECK:STDOUT: %S.cpp_destructor.call: init %empty_tuple.type = call %S.cpp_destructor.bound(%s.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13_65.1(%self.param: ref %MaybeUnformed.1dc) { +// CHECK:STDOUT: fn @Destroy.Op.loc13_65.1(%self.param: ref %MaybeUnformed.3a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13_65.2(%self.param: ref %Optional.4f1) { +// CHECK:STDOUT: fn @Destroy.Op.loc13_65.2(%self.param: ref %Optional.f85) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/function/import/qualified_param.carbon b/toolchain/check/testdata/interop/cpp/function/import/qualified_param.carbon index 68ad4dde5c34..66a21533d840 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/qualified_param.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/qualified_param.carbon @@ -44,20 +44,20 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %TakesConstInt.type: type = fn_type @TakesConstInt [concrete] // CHECK:STDOUT: %TakesConstInt: %TakesConstInt.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_42.bc5: %i32 = int_value 42 [concrete] +// CHECK:STDOUT: %int_42.daa: %i32 = int_value 42 [concrete] // CHECK:STDOUT: %S: type = class_type @S [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %pattern_type.b2d: type = pattern_type %S [concrete] @@ -87,8 +87,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} // CHECK:STDOUT: %TakesConstS.cpp_overload_set.value: %TakesConstS.cpp_overload_set.type = cpp_overload_set_value @TakesConstS.cpp_overload_set [concrete = constants.%TakesConstS.cpp_overload_set.value] // CHECK:STDOUT: %TakesConstS__carbon_thunk.decl: %TakesConstS__carbon_thunk.type = fn_decl @TakesConstS__carbon_thunk [concrete = constants.%TakesConstS__carbon_thunk] { @@ -103,13 +103,13 @@ fn F() { // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %TakesConstInt.ref: %TakesConstInt.cpp_overload_set.type = name_ref TakesConstInt, imports.%TakesConstInt.cpp_overload_set.value [concrete = constants.%TakesConstInt.cpp_overload_set.value] // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete = constants.%int_42.20e] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_21.1: = bound_method %int_42, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_21.2: = bound_method %int_42, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_21.2(%int_42) [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc8_21.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc8_21.2: %i32 = converted %int_42, %.loc8_21.1 [concrete = constants.%int_42.bc5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_21.2(%int_42) [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc8_21.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc8_21.2: %i32 = converted %int_42, %.loc8_21.1 [concrete = constants.%int_42.daa] // CHECK:STDOUT: %TakesConstInt.call: init %empty_tuple.type = call imports.%TakesConstInt.decl(%.loc8_21.2) // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %s.patt: %pattern_type.b2d = ref_binding_pattern s [concrete] diff --git a/toolchain/check/testdata/interop/cpp/function/import/reference.carbon b/toolchain/check/testdata/interop/cpp/function/import/reference.carbon index 1a5e4adf4a22..dd093b8e9b6c 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/reference.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/reference.carbon @@ -548,15 +548,15 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %pattern_type.b2d: type = pattern_type %S [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %S.Op.type: type = fn_type @S.Op [concrete] // CHECK:STDOUT: %S.Op: %S.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.2132a4.1: = custom_witness (%S.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.f36: %Default.type = facet_value %S, (%custom_witness.2132a4.1) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.fc0: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.f36) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.1d7: %DefaultOrUnformed.type = facet_value %S, (%DefaultOrUnformed.impl_witness.fc0) [concrete] +// CHECK:STDOUT: %custom_witness.b26fff.1: = custom_witness (%S.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.229: %Default.type = facet_value %S, (%custom_witness.b26fff.1) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.f99: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.229) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.9ab: %DefaultOrUnformed.type = facet_value %S, (%DefaultOrUnformed.impl_witness.f99) [concrete] // CHECK:STDOUT: %TakesLValue.cpp_overload_set.type: type = cpp_overload_set_type @TakesLValue.cpp_overload_set [concrete] // CHECK:STDOUT: %TakesLValue.cpp_overload_set.value: %TakesLValue.cpp_overload_set.type = cpp_overload_set_value @TakesLValue.cpp_overload_set [concrete] // CHECK:STDOUT: %const: type = const_type %S [concrete] @@ -564,10 +564,10 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %pattern_type.471: type = pattern_type %T.3b5 [concrete] // CHECK:STDOUT: %T.Op.type: type = fn_type @T.Op [concrete] // CHECK:STDOUT: %T.Op: %T.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.2132a4.2: = custom_witness (%T.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.80c: %Default.type = facet_value %T.3b5, (%custom_witness.2132a4.2) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.756: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.80c) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.5e6: %DefaultOrUnformed.type = facet_value %T.3b5, (%DefaultOrUnformed.impl_witness.756) [concrete] +// CHECK:STDOUT: %custom_witness.b26fff.2: = custom_witness (%T.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.dcd: %Default.type = facet_value %T.3b5, (%custom_witness.b26fff.2) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.dca: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.dcd) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.fe5: %DefaultOrUnformed.type = facet_value %T.3b5, (%DefaultOrUnformed.impl_witness.dca) [concrete] // CHECK:STDOUT: %S.cpp_destructor.type: type = fn_type @S.cpp_destructor [concrete] // CHECK:STDOUT: %S.cpp_destructor: %S.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: %T.cpp_destructor.type: type = fn_type @T.cpp_destructor [concrete] @@ -582,8 +582,8 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %TakesLValue.cpp_overload_set.value: %TakesLValue.cpp_overload_set.type = cpp_overload_set_value @TakesLValue.cpp_overload_set [concrete = constants.%TakesLValue.cpp_overload_set.value] // CHECK:STDOUT: %T.decl: type = class_decl @T [concrete = constants.%T.3b5] {} {} // CHECK:STDOUT: } @@ -595,8 +595,8 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %v.var_patt: %pattern_type.b2d = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %S = var %v.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8: %DefaultOrUnformed.type = facet_value constants.%S, (constants.%DefaultOrUnformed.impl_witness.fc0) [concrete = constants.%DefaultOrUnformed.facet.1d7] -// CHECK:STDOUT: %.loc8_15.1: %DefaultOrUnformed.type = converted constants.%S, %DefaultOrUnformed.facet.loc8 [concrete = constants.%DefaultOrUnformed.facet.1d7] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8: %DefaultOrUnformed.type = facet_value constants.%S, (constants.%DefaultOrUnformed.impl_witness.f99) [concrete = constants.%DefaultOrUnformed.facet.9ab] +// CHECK:STDOUT: %.loc8_15.1: %DefaultOrUnformed.type = converted constants.%S, %DefaultOrUnformed.facet.loc8 [concrete = constants.%DefaultOrUnformed.facet.9ab] // CHECK:STDOUT: %as_type.loc8: type = facet_access_type %.loc8_15.1 [concrete = constants.%S] // CHECK:STDOUT: %.loc8_15.2: type = converted %.loc8_15.1, %as_type.loc8 [concrete = constants.%S] // CHECK:STDOUT: @@ -634,8 +634,8 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %t.var_patt: %pattern_type.471 = var_pattern %t.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %t.var: ref %T.3b5 = var %t.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc30: %DefaultOrUnformed.type = facet_value constants.%T.3b5, (constants.%DefaultOrUnformed.impl_witness.756) [concrete = constants.%DefaultOrUnformed.facet.5e6] -// CHECK:STDOUT: %.loc30_15.1: %DefaultOrUnformed.type = converted constants.%T.3b5, %DefaultOrUnformed.facet.loc30 [concrete = constants.%DefaultOrUnformed.facet.5e6] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc30: %DefaultOrUnformed.type = facet_value constants.%T.3b5, (constants.%DefaultOrUnformed.impl_witness.dca) [concrete = constants.%DefaultOrUnformed.facet.fe5] +// CHECK:STDOUT: %.loc30_15.1: %DefaultOrUnformed.type = converted constants.%T.3b5, %DefaultOrUnformed.facet.loc30 [concrete = constants.%DefaultOrUnformed.facet.fe5] // CHECK:STDOUT: %as_type.loc30: type = facet_access_type %.loc30_15.1 [concrete = constants.%T.3b5] // CHECK:STDOUT: %.loc30_15.2: type = converted %.loc30_15.1, %as_type.loc30 [concrete = constants.%T.3b5] // CHECK:STDOUT: @@ -655,8 +655,8 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %u.var_patt: %pattern_type.b2d = var_pattern %u.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %u.var: ref %S = var %u.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc41: %DefaultOrUnformed.type = facet_value constants.%S, (constants.%DefaultOrUnformed.impl_witness.fc0) [concrete = constants.%DefaultOrUnformed.facet.1d7] -// CHECK:STDOUT: %.loc41_15.1: %DefaultOrUnformed.type = converted constants.%S, %DefaultOrUnformed.facet.loc41 [concrete = constants.%DefaultOrUnformed.facet.1d7] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc41: %DefaultOrUnformed.type = facet_value constants.%S, (constants.%DefaultOrUnformed.impl_witness.f99) [concrete = constants.%DefaultOrUnformed.facet.9ab] +// CHECK:STDOUT: %.loc41_15.1: %DefaultOrUnformed.type = converted constants.%S, %DefaultOrUnformed.facet.loc41 [concrete = constants.%DefaultOrUnformed.facet.9ab] // CHECK:STDOUT: %as_type.loc41: type = facet_access_type %.loc41_15.1 [concrete = constants.%S] // CHECK:STDOUT: %.loc41_15.2: type = converted %.loc41_15.1, %as_type.loc41 [concrete = constants.%S] // CHECK:STDOUT: @@ -740,25 +740,25 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %pattern_type.b2d: type = pattern_type %S [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %S.Op.type: type = fn_type @S.Op [concrete] // CHECK:STDOUT: %S.Op: %S.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.2132a4.1: = custom_witness (%S.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.f36: %Default.type = facet_value %S, (%custom_witness.2132a4.1) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.fc0: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.f36) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.1d7: %DefaultOrUnformed.type = facet_value %S, (%DefaultOrUnformed.impl_witness.fc0) [concrete] +// CHECK:STDOUT: %custom_witness.b26fff.1: = custom_witness (%S.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.229: %Default.type = facet_value %S, (%custom_witness.b26fff.1) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.f99: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.229) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.9ab: %DefaultOrUnformed.type = facet_value %S, (%DefaultOrUnformed.impl_witness.f99) [concrete] // CHECK:STDOUT: %TakesRValue.cpp_overload_set.type: type = cpp_overload_set_type @TakesRValue.cpp_overload_set [concrete] // CHECK:STDOUT: %TakesRValue.cpp_overload_set.value: %TakesRValue.cpp_overload_set.type = cpp_overload_set_value @TakesRValue.cpp_overload_set [concrete] // CHECK:STDOUT: %T.3b5: type = class_type @T [concrete] // CHECK:STDOUT: %pattern_type.471: type = pattern_type %T.3b5 [concrete] // CHECK:STDOUT: %T.Op.type: type = fn_type @T.Op [concrete] // CHECK:STDOUT: %T.Op: %T.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.2132a4.2: = custom_witness (%T.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.80c: %Default.type = facet_value %T.3b5, (%custom_witness.2132a4.2) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.756: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.80c) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.5e6: %DefaultOrUnformed.type = facet_value %T.3b5, (%DefaultOrUnformed.impl_witness.756) [concrete] +// CHECK:STDOUT: %custom_witness.b26fff.2: = custom_witness (%T.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.dcd: %Default.type = facet_value %T.3b5, (%custom_witness.b26fff.2) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.dca: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.dcd) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.fe5: %DefaultOrUnformed.type = facet_value %T.3b5, (%DefaultOrUnformed.impl_witness.dca) [concrete] // CHECK:STDOUT: %empty_struct.a40: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %S.val: %S = struct_value () [concrete] // CHECK:STDOUT: %const: type = const_type %S [concrete] @@ -777,8 +777,8 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %TakesRValue.cpp_overload_set.value: %TakesRValue.cpp_overload_set.type = cpp_overload_set_value @TakesRValue.cpp_overload_set [concrete = constants.%TakesRValue.cpp_overload_set.value] // CHECK:STDOUT: %T.decl: type = class_decl @T [concrete = constants.%T.3b5] {} {} // CHECK:STDOUT: } @@ -790,8 +790,8 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %s.var_patt: %pattern_type.b2d = var_pattern %s.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %s.var: ref %S = var %s.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8: %DefaultOrUnformed.type = facet_value constants.%S, (constants.%DefaultOrUnformed.impl_witness.fc0) [concrete = constants.%DefaultOrUnformed.facet.1d7] -// CHECK:STDOUT: %.loc8_15.1: %DefaultOrUnformed.type = converted constants.%S, %DefaultOrUnformed.facet.loc8 [concrete = constants.%DefaultOrUnformed.facet.1d7] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8: %DefaultOrUnformed.type = facet_value constants.%S, (constants.%DefaultOrUnformed.impl_witness.f99) [concrete = constants.%DefaultOrUnformed.facet.9ab] +// CHECK:STDOUT: %.loc8_15.1: %DefaultOrUnformed.type = converted constants.%S, %DefaultOrUnformed.facet.loc8 [concrete = constants.%DefaultOrUnformed.facet.9ab] // CHECK:STDOUT: %as_type.loc8: type = facet_access_type %.loc8_15.1 [concrete = constants.%S] // CHECK:STDOUT: %.loc8_15.2: type = converted %.loc8_15.1, %as_type.loc8 [concrete = constants.%S] // CHECK:STDOUT: @@ -811,8 +811,8 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %t.var_patt: %pattern_type.471 = var_pattern %t.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %t.var: ref %T.3b5 = var %t.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc19: %DefaultOrUnformed.type = facet_value constants.%T.3b5, (constants.%DefaultOrUnformed.impl_witness.756) [concrete = constants.%DefaultOrUnformed.facet.5e6] -// CHECK:STDOUT: %.loc19_15.1: %DefaultOrUnformed.type = converted constants.%T.3b5, %DefaultOrUnformed.facet.loc19 [concrete = constants.%DefaultOrUnformed.facet.5e6] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc19: %DefaultOrUnformed.type = facet_value constants.%T.3b5, (constants.%DefaultOrUnformed.impl_witness.dca) [concrete = constants.%DefaultOrUnformed.facet.fe5] +// CHECK:STDOUT: %.loc19_15.1: %DefaultOrUnformed.type = converted constants.%T.3b5, %DefaultOrUnformed.facet.loc19 [concrete = constants.%DefaultOrUnformed.facet.fe5] // CHECK:STDOUT: %as_type.loc19: type = facet_access_type %.loc19_15.1 [concrete = constants.%T.3b5] // CHECK:STDOUT: %.loc19_15.2: type = converted %.loc19_15.1, %as_type.loc19 [concrete = constants.%T.3b5] // CHECK:STDOUT: @@ -1064,25 +1064,25 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %pattern_type.b2d: type = pattern_type %S [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %S.Op.type: type = fn_type @S.Op [concrete] // CHECK:STDOUT: %S.Op: %S.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.2132a4.1: = custom_witness (%S.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.f36: %Default.type = facet_value %S, (%custom_witness.2132a4.1) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.fc0: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.f36) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.1d7: %DefaultOrUnformed.type = facet_value %S, (%DefaultOrUnformed.impl_witness.fc0) [concrete] +// CHECK:STDOUT: %custom_witness.b26fff.1: = custom_witness (%S.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.229: %Default.type = facet_value %S, (%custom_witness.b26fff.1) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.f99: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.229) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.9ab: %DefaultOrUnformed.type = facet_value %S, (%DefaultOrUnformed.impl_witness.f99) [concrete] // CHECK:STDOUT: %TakesConstRValue.cpp_overload_set.type: type = cpp_overload_set_type @TakesConstRValue.cpp_overload_set [concrete] // CHECK:STDOUT: %TakesConstRValue.cpp_overload_set.value: %TakesConstRValue.cpp_overload_set.type = cpp_overload_set_value @TakesConstRValue.cpp_overload_set [concrete] // CHECK:STDOUT: %T.3b5: type = class_type @T [concrete] // CHECK:STDOUT: %pattern_type.471: type = pattern_type %T.3b5 [concrete] // CHECK:STDOUT: %T.Op.type: type = fn_type @T.Op [concrete] // CHECK:STDOUT: %T.Op: %T.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.2132a4.2: = custom_witness (%T.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.80c: %Default.type = facet_value %T.3b5, (%custom_witness.2132a4.2) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.756: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.80c) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.5e6: %DefaultOrUnformed.type = facet_value %T.3b5, (%DefaultOrUnformed.impl_witness.756) [concrete] +// CHECK:STDOUT: %custom_witness.b26fff.2: = custom_witness (%T.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.dcd: %Default.type = facet_value %T.3b5, (%custom_witness.b26fff.2) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.dca: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.dcd) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.fe5: %DefaultOrUnformed.type = facet_value %T.3b5, (%DefaultOrUnformed.impl_witness.dca) [concrete] // CHECK:STDOUT: %T.cpp_destructor.type: type = fn_type @T.cpp_destructor [concrete] // CHECK:STDOUT: %T.cpp_destructor: %T.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: %S.cpp_destructor.type: type = fn_type @S.cpp_destructor [concrete] @@ -1097,8 +1097,8 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %TakesConstRValue.cpp_overload_set.value: %TakesConstRValue.cpp_overload_set.type = cpp_overload_set_value @TakesConstRValue.cpp_overload_set [concrete = constants.%TakesConstRValue.cpp_overload_set.value] // CHECK:STDOUT: %T.decl: type = class_decl @T [concrete = constants.%T.3b5] {} {} // CHECK:STDOUT: } @@ -1110,8 +1110,8 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %s.var_patt: %pattern_type.b2d = var_pattern %s.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %s.var: ref %S = var %s.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8: %DefaultOrUnformed.type = facet_value constants.%S, (constants.%DefaultOrUnformed.impl_witness.fc0) [concrete = constants.%DefaultOrUnformed.facet.1d7] -// CHECK:STDOUT: %.loc8_15.1: %DefaultOrUnformed.type = converted constants.%S, %DefaultOrUnformed.facet.loc8 [concrete = constants.%DefaultOrUnformed.facet.1d7] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8: %DefaultOrUnformed.type = facet_value constants.%S, (constants.%DefaultOrUnformed.impl_witness.f99) [concrete = constants.%DefaultOrUnformed.facet.9ab] +// CHECK:STDOUT: %.loc8_15.1: %DefaultOrUnformed.type = converted constants.%S, %DefaultOrUnformed.facet.loc8 [concrete = constants.%DefaultOrUnformed.facet.9ab] // CHECK:STDOUT: %as_type.loc8: type = facet_access_type %.loc8_15.1 [concrete = constants.%S] // CHECK:STDOUT: %.loc8_15.2: type = converted %.loc8_15.1, %as_type.loc8 [concrete = constants.%S] // CHECK:STDOUT: @@ -1131,8 +1131,8 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %t.var_patt: %pattern_type.471 = var_pattern %t.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %t.var: ref %T.3b5 = var %t.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc19: %DefaultOrUnformed.type = facet_value constants.%T.3b5, (constants.%DefaultOrUnformed.impl_witness.756) [concrete = constants.%DefaultOrUnformed.facet.5e6] -// CHECK:STDOUT: %.loc19_15.1: %DefaultOrUnformed.type = converted constants.%T.3b5, %DefaultOrUnformed.facet.loc19 [concrete = constants.%DefaultOrUnformed.facet.5e6] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc19: %DefaultOrUnformed.type = facet_value constants.%T.3b5, (constants.%DefaultOrUnformed.impl_witness.dca) [concrete = constants.%DefaultOrUnformed.facet.fe5] +// CHECK:STDOUT: %.loc19_15.1: %DefaultOrUnformed.type = converted constants.%T.3b5, %DefaultOrUnformed.facet.loc19 [concrete = constants.%DefaultOrUnformed.facet.fe5] // CHECK:STDOUT: %as_type.loc19: type = facet_access_type %.loc19_15.1 [concrete = constants.%T.3b5] // CHECK:STDOUT: %.loc19_15.2: type = converted %.loc19_15.1, %as_type.loc19 [concrete = constants.%T.3b5] // CHECK:STDOUT: @@ -1280,10 +1280,10 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %TakeAnything_ExpectConstRRef.cpp_overload_set.type: type = cpp_overload_set_type @TakeAnything_ExpectConstRRef.cpp_overload_set [concrete] // CHECK:STDOUT: %TakeAnything_ExpectConstRRef.cpp_overload_set.value: %TakeAnything_ExpectConstRRef.cpp_overload_set.type = cpp_overload_set_value @TakeAnything_ExpectConstRRef.cpp_overload_set [concrete] // CHECK:STDOUT: %const: type = const_type %X [concrete] -// CHECK:STDOUT: %ptr.16a: type = ptr_type %const [concrete] +// CHECK:STDOUT: %ptr.2c7: type = ptr_type %const [concrete] // CHECK:STDOUT: %TakeAnything_ExpectConstRRef__carbon_thunk.type: type = fn_type @TakeAnything_ExpectConstRRef__carbon_thunk [concrete] // CHECK:STDOUT: %TakeAnything_ExpectConstRRef__carbon_thunk: %TakeAnything_ExpectConstRRef__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.f7a: type = ptr_type %X [concrete] +// CHECK:STDOUT: %ptr.324: type = ptr_type %X [concrete] // CHECK:STDOUT: %TakeAnything_ExpectLRef.cpp_overload_set.type: type = cpp_overload_set_type @TakeAnything_ExpectLRef.cpp_overload_set [concrete] // CHECK:STDOUT: %TakeAnything_ExpectLRef.cpp_overload_set.value: %TakeAnything_ExpectLRef.cpp_overload_set.type = cpp_overload_set_value @TakeAnything_ExpectLRef.cpp_overload_set [concrete] // CHECK:STDOUT: %TakeAnything_ExpectLRef.type: type = fn_type @TakeAnything_ExpectLRef [concrete] @@ -1338,9 +1338,9 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %TakeAnything_ExpectConstRRef.ref: %TakeAnything_ExpectConstRRef.cpp_overload_set.type = name_ref TakeAnything_ExpectConstRRef, imports.%TakeAnything_ExpectConstRRef.cpp_overload_set.value [concrete = constants.%TakeAnything_ExpectConstRRef.cpp_overload_set.value] // CHECK:STDOUT: %x.ref: %X = name_ref x, %x // CHECK:STDOUT: %.loc28_36: ref %X = value_as_ref %x.ref -// CHECK:STDOUT: %addr: %ptr.f7a = addr_of %.loc28_36 -// CHECK:STDOUT: %.loc28_37.1: %ptr.16a = as_compatible %addr -// CHECK:STDOUT: %.loc28_37.2: %ptr.16a = converted %addr, %.loc28_37.1 +// CHECK:STDOUT: %addr: %ptr.324 = addr_of %.loc28_36 +// CHECK:STDOUT: %.loc28_37.1: %ptr.2c7 = as_compatible %addr +// CHECK:STDOUT: %.loc28_37.2: %ptr.2c7 = converted %addr, %.loc28_37.1 // CHECK:STDOUT: %TakeAnything_ExpectConstRRef__carbon_thunk.call: init %empty_tuple.type = call imports.%TakeAnything_ExpectConstRRef__carbon_thunk.decl(%.loc28_37.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -1364,9 +1364,9 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: %.loc40_36.2: ref %X = converted %x.ref, %.loc40_36.1 // CHECK:STDOUT: %.loc40_36.3: %X = acquire_value %.loc40_36.2 // CHECK:STDOUT: %.loc40_36.4: ref %X = value_as_ref %.loc40_36.3 -// CHECK:STDOUT: %addr: %ptr.f7a = addr_of %.loc40_36.4 -// CHECK:STDOUT: %.loc40_37.1: %ptr.16a = as_compatible %addr -// CHECK:STDOUT: %.loc40_37.2: %ptr.16a = converted %addr, %.loc40_37.1 +// CHECK:STDOUT: %addr: %ptr.324 = addr_of %.loc40_36.4 +// CHECK:STDOUT: %.loc40_37.1: %ptr.2c7 = as_compatible %addr +// CHECK:STDOUT: %.loc40_37.2: %ptr.2c7 = converted %addr, %.loc40_37.1 // CHECK:STDOUT: %TakeAnything_ExpectConstLRef__carbon_thunk.call: init %empty_tuple.type = call imports.%TakeAnything_ExpectConstLRef__carbon_thunk.decl(%.loc40_37.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -1379,7 +1379,7 @@ fn PassConstRef(ref x: const X) { // CHECK:STDOUT: // CHECK:STDOUT: %Make.call: init %X to %_.var = call %Make.ref() // CHECK:STDOUT: -// CHECK:STDOUT: %addr: %ptr.f7a = addr_of %_.var +// CHECK:STDOUT: %addr: %ptr.324 = addr_of %_.var // CHECK:STDOUT: %TakeAnything_ExpectRRef__carbon_thunk.call: init %empty_tuple.type = call imports.%TakeAnything_ExpectRRef__carbon_thunk.decl(%addr) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/function/import/return.carbon b/toolchain/check/testdata/interop/cpp/function/import/return.carbon index d897523180de..a3485c873493 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/return.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/return.carbon @@ -126,8 +126,8 @@ fn Var() { // CHECK:STDOUT: %foo2.cpp_overload_set.value: %foo2.cpp_overload_set.type = cpp_overload_set_value @foo2.cpp_overload_set [concrete] // CHECK:STDOUT: %foo2.type: type = fn_type @foo2 [concrete] // CHECK:STDOUT: %foo2: %foo2.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc11_22.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc11_22.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -169,7 +169,7 @@ fn Var() { // CHECK:STDOUT: %.loc12_22.1: %i32 = value_of_initializer %foo2.call // CHECK:STDOUT: %.loc12_22.2: %i32 = converted %foo2.call, %.loc12_22.1 // CHECK:STDOUT: %IngestI32.call: init %empty_tuple.type = call %IngestI32.ref(%.loc12_22.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc11_22.3, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc11_22.3, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc11_22.3) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -187,15 +187,15 @@ fn Var() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Cpp.nullptr_t: type = class_type @NullptrT [concrete] // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] -// CHECK:STDOUT: %pattern_type.210: type = pattern_type %Cpp.nullptr_t [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %pattern_type.ff2: type = pattern_type %Cpp.nullptr_t [concrete] // CHECK:STDOUT: %ReturnNullPtr.cpp_overload_set.type: type = cpp_overload_set_type @ReturnNullPtr.cpp_overload_set [concrete] // CHECK:STDOUT: %ReturnNullPtr.cpp_overload_set.value: %ReturnNullPtr.cpp_overload_set.type = cpp_overload_set_value @ReturnNullPtr.cpp_overload_set [concrete] -// CHECK:STDOUT: %ptr.556: type = ptr_type %Cpp.nullptr_t [concrete] +// CHECK:STDOUT: %ptr.b49: type = ptr_type %Cpp.nullptr_t [concrete] // CHECK:STDOUT: %ReturnNullPtr__carbon_thunk.type: type = fn_type @ReturnNullPtr__carbon_thunk [concrete] // CHECK:STDOUT: %ReturnNullPtr__carbon_thunk: %ReturnNullPtr__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc11_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc11_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -215,14 +215,14 @@ fn Var() { // CHECK:STDOUT: fn @InitializeFromReturn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.210 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.210 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.ff2 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.ff2 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %Cpp.nullptr_t = var %c.var_patt // CHECK:STDOUT: %Cpp.ref.loc11_33: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %ReturnNullPtr.ref: %ReturnNullPtr.cpp_overload_set.type = name_ref ReturnNullPtr, imports.%ReturnNullPtr.cpp_overload_set.value [concrete = constants.%ReturnNullPtr.cpp_overload_set.value] // CHECK:STDOUT: %.loc11_3: ref %Cpp.nullptr_t = splice_block %c.var {} -// CHECK:STDOUT: %addr: %ptr.556 = addr_of %.loc11_3 +// CHECK:STDOUT: %addr: %ptr.b49 = addr_of %.loc11_3 // CHECK:STDOUT: %ReturnNullPtr__carbon_thunk.call: init %empty_tuple.type = call imports.%ReturnNullPtr__carbon_thunk.decl(%addr) // CHECK:STDOUT: %.loc11_51: init %Cpp.nullptr_t to %.loc11_3 = mark_in_place_init %ReturnNullPtr__carbon_thunk.call // CHECK:STDOUT: assign %c.var, %.loc11_51 @@ -231,12 +231,12 @@ fn Var() { // CHECK:STDOUT: %nullptr_t.ref: type = name_ref nullptr_t, constants.%Cpp.nullptr_t [concrete = constants.%Cpp.nullptr_t] // CHECK:STDOUT: } // CHECK:STDOUT: %c: ref %Cpp.nullptr_t = ref_binding c, %c.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %c.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%c.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11_3.1(%self.param: ref %ptr.838) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc11_3.1(%self.param: ref %ptr.2d0) = "no_op"; // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %Cpp.nullptr_t) { // CHECK:STDOUT: !entry: @@ -251,14 +251,14 @@ fn Var() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %UInt.generic: %UInt.type = struct_value () [concrete] // CHECK:STDOUT: %u8: type = class_type @UInt, @UInt(%int_8) [concrete] -// CHECK:STDOUT: %.cd2: Core.Form = init_form %u8 [concrete] -// CHECK:STDOUT: %pattern_type.b8f: type = pattern_type %u8 [concrete] +// CHECK:STDOUT: %.0ff: Core.Form = init_form %u8 [concrete] +// CHECK:STDOUT: %pattern_type.753: type = pattern_type %u8 [concrete] // CHECK:STDOUT: %GetU8.type: type = fn_type @GetU8 [concrete] // CHECK:STDOUT: %GetU8: %GetU8.type = struct_value () [concrete] // CHECK:STDOUT: %ReturnU8.cpp_overload_set.type: type = cpp_overload_set_type @ReturnU8.cpp_overload_set [concrete] // CHECK:STDOUT: %ReturnU8.cpp_overload_set.value: %ReturnU8.cpp_overload_set.type = cpp_overload_set_value @ReturnU8.cpp_overload_set [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %u8 [concrete] -// CHECK:STDOUT: %pattern_type.3af: type = pattern_type %ptr [concrete] +// CHECK:STDOUT: %pattern_type.93a: type = pattern_type %ptr [concrete] // CHECK:STDOUT: %ReturnU8__carbon_thunk.type: type = fn_type @ReturnU8__carbon_thunk [concrete] // CHECK:STDOUT: %ReturnU8__carbon_thunk: %ReturnU8__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -276,8 +276,8 @@ fn Var() { // CHECK:STDOUT: %Core.UInt: %UInt.type = import_ref Core//prelude/types/uint, UInt, loaded [concrete = constants.%UInt.generic] // CHECK:STDOUT: %ReturnU8.cpp_overload_set.value: %ReturnU8.cpp_overload_set.type = cpp_overload_set_value @ReturnU8.cpp_overload_set [concrete = constants.%ReturnU8.cpp_overload_set.value] // CHECK:STDOUT: %ReturnU8__carbon_thunk.decl: %ReturnU8__carbon_thunk.type = fn_decl @ReturnU8__carbon_thunk [concrete = constants.%ReturnU8__carbon_thunk] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.3af = value_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.3af = at_binding_pattern r#return, %return.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.93a = value_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.93a = at_binding_pattern r#return, %return.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %return.param: %ptr = value_param call_param0 // CHECK:STDOUT: %.1: type = splice_block constants.%ptr [concrete = constants.%ptr] { @@ -300,11 +300,11 @@ fn Var() { // CHECK:STDOUT: import Cpp inline // CHECK:STDOUT: } // CHECK:STDOUT: %GetU8.decl: %GetU8.type = fn_decl @GetU8 [concrete = constants.%GetU8] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.b8f = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.b8f = return_slot_pattern %return.param_patt, %u8 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.753 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.753 = return_slot_pattern %return.param_patt, %u8 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %u8: type = type_literal constants.%u8 [concrete = constants.%u8] -// CHECK:STDOUT: %.loc8_15: Core.Form = init_form %u8 [concrete = constants.%.cd2] +// CHECK:STDOUT: %.loc8_15: Core.Form = init_form %u8 [concrete = constants.%.0ff] // CHECK:STDOUT: %return.param: ref %u8 = out_param call_param0 // CHECK:STDOUT: %return: ref %u8 = return_slot %return.param // CHECK:STDOUT: } @@ -336,14 +336,14 @@ fn Var() { // CHECK:STDOUT: %UInt.generic: %UInt.type = struct_value () [concrete] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] // CHECK:STDOUT: %u32.builtin: type = int_type unsigned, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.632: type = pattern_type %u32 [concrete] +// CHECK:STDOUT: %pattern_type.126: type = pattern_type %u32 [concrete] // CHECK:STDOUT: %ReturnU32.cpp_overload_set.type: type = cpp_overload_set_type @ReturnU32.cpp_overload_set [concrete] // CHECK:STDOUT: %ReturnU32.cpp_overload_set.value: %ReturnU32.cpp_overload_set.type = cpp_overload_set_value @ReturnU32.cpp_overload_set [concrete] // CHECK:STDOUT: %ReturnU32.type: type = fn_type @ReturnU32 [concrete] // CHECK:STDOUT: %ReturnU32: %ReturnU32.type = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -360,8 +360,8 @@ fn Var() { // CHECK:STDOUT: %Core.UInt: %UInt.type = import_ref Core//prelude/types/uint, UInt, loaded [concrete = constants.%UInt.generic] // CHECK:STDOUT: %ReturnU32.cpp_overload_set.value: %ReturnU32.cpp_overload_set.type = cpp_overload_set_value @ReturnU32.cpp_overload_set [concrete = constants.%ReturnU32.cpp_overload_set.value] // CHECK:STDOUT: %ReturnU32.decl: %ReturnU32.type = fn_decl @ReturnU32 [concrete = constants.%ReturnU32] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.632 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.632 = return_slot_pattern %return.param_patt, %u32.2 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.126 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.126 = return_slot_pattern %return.param_patt, %u32.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] // CHECK:STDOUT: %u32.1: type = class_type @UInt, @UInt(constants.%int_32) [concrete = constants.%u32] @@ -388,8 +388,8 @@ fn Var() { // CHECK:STDOUT: fn @Var() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %my_u32.patt: %pattern_type.632 = ref_binding_pattern my_u32 [concrete] -// CHECK:STDOUT: %my_u32.var_patt: %pattern_type.632 = var_pattern %my_u32.patt [concrete] +// CHECK:STDOUT: %my_u32.patt: %pattern_type.126 = ref_binding_pattern my_u32 [concrete] +// CHECK:STDOUT: %my_u32.var_patt: %pattern_type.126 = var_pattern %my_u32.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %my_u32.var: ref %u32 = var %my_u32.var_patt // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -398,7 +398,7 @@ fn Var() { // CHECK:STDOUT: assign %my_u32.var, %ReturnU32.call // CHECK:STDOUT: %u32: type = type_literal constants.%u32 [concrete = constants.%u32] // CHECK:STDOUT: %my_u32: ref %u32 = ref_binding my_u32, %my_u32.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %my_u32.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %my_u32.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%my_u32.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/function/import/struct.carbon b/toolchain/check/testdata/interop/cpp/function/import/struct.carbon index 181983858b5b..3156f1e1edd2 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/struct.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/struct.carbon @@ -653,15 +653,15 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %S.Op.type: type = fn_type @S.Op [concrete] // CHECK:STDOUT: %S.Op: %S.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.3d0: = custom_witness (%S.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.6c2: %Default.type = facet_value %S, (%custom_witness.3d0) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.0fd: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.6c2) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %S, (%DefaultOrUnformed.impl_witness.0fd) [concrete] +// CHECK:STDOUT: %custom_witness.53f: = custom_witness (%S.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.b33: %Default.type = facet_value %S, (%custom_witness.53f) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.66c: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.b33) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %S, (%DefaultOrUnformed.impl_witness.66c) [concrete] // CHECK:STDOUT: %S.cpp_destructor.type: type = fn_type @S.cpp_destructor [concrete] // CHECK:STDOUT: %S.cpp_destructor: %S.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -683,8 +683,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%s.param: %S) { @@ -700,7 +700,7 @@ fn F() { // CHECK:STDOUT: %x.var_patt: %pattern_type.158 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %S = var %x.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%S, (constants.%DefaultOrUnformed.impl_witness.0fd) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%S, (constants.%DefaultOrUnformed.impl_witness.66c) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc10_24.1: %DefaultOrUnformed.type = converted constants.%S, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc10_24.1 [concrete = constants.%S] // CHECK:STDOUT: %.loc10_24.2: type = converted %.loc10_24.1, %as_type [concrete = constants.%S] @@ -780,15 +780,15 @@ fn F() { // CHECK:STDOUT: %pattern_type.554: type = pattern_type %O [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %O.Op.type: type = fn_type @O.Op [concrete] // CHECK:STDOUT: %O.Op: %O.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.213: = custom_witness (%O.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.478: %Default.type = facet_value %O, (%custom_witness.213) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.1cc: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.478) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %O, (%DefaultOrUnformed.impl_witness.1cc) [concrete] +// CHECK:STDOUT: %custom_witness.b26: = custom_witness (%O.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.160: %Default.type = facet_value %O, (%custom_witness.b26) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.793: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.160) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %O, (%DefaultOrUnformed.impl_witness.793) [concrete] // CHECK:STDOUT: %O.cpp_destructor.type: type = fn_type @O.cpp_destructor [concrete] // CHECK:STDOUT: %O.cpp_destructor: %O.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -806,8 +806,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%s.param: %S) { @@ -823,7 +823,7 @@ fn F() { // CHECK:STDOUT: %x.var_patt: %pattern_type.554 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %O = var %x.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%O, (constants.%DefaultOrUnformed.impl_witness.1cc) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%O, (constants.%DefaultOrUnformed.impl_witness.793) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc9_22.1: %DefaultOrUnformed.type = converted constants.%O, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc9_22.1 [concrete = constants.%O] // CHECK:STDOUT: %.loc9_22.2: type = converted %.loc9_22.1, %as_type [concrete = constants.%O] diff --git a/toolchain/check/testdata/interop/cpp/function/import/union.carbon b/toolchain/check/testdata/interop/cpp/function/import/union.carbon index 6a8e1aa9571b..1e93430c205e 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/union.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/union.carbon @@ -578,15 +578,15 @@ fn F() { // CHECK:STDOUT: %foo__carbon_thunk: %foo__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %U.Op.type: type = fn_type @U.Op [concrete] // CHECK:STDOUT: %U.Op: %U.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.3d0: = custom_witness (%U.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.f66: %Default.type = facet_value %U, (%custom_witness.3d0) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.9ec: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.f66) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %U, (%DefaultOrUnformed.impl_witness.9ec) [concrete] +// CHECK:STDOUT: %custom_witness.53f: = custom_witness (%U.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.5f5: %Default.type = facet_value %U, (%custom_witness.53f) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.5b2: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.5f5) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %U, (%DefaultOrUnformed.impl_witness.5b2) [concrete] // CHECK:STDOUT: %U.cpp_destructor.type: type = fn_type @U.cpp_destructor [concrete] // CHECK:STDOUT: %U.cpp_destructor: %U.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -608,8 +608,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%u.param: %U) { @@ -625,7 +625,7 @@ fn F() { // CHECK:STDOUT: %x.var_patt: %pattern_type.769 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %U = var %x.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%U, (constants.%DefaultOrUnformed.impl_witness.9ec) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%U, (constants.%DefaultOrUnformed.impl_witness.5b2) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc10_24.1: %DefaultOrUnformed.type = converted constants.%U, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc10_24.1 [concrete = constants.%U] // CHECK:STDOUT: %.loc10_24.2: type = converted %.loc10_24.1, %as_type [concrete = constants.%U] @@ -705,15 +705,15 @@ fn F() { // CHECK:STDOUT: %pattern_type.554: type = pattern_type %O [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %O.Op.type: type = fn_type @O.Op [concrete] // CHECK:STDOUT: %O.Op: %O.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.213: = custom_witness (%O.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.478: %Default.type = facet_value %O, (%custom_witness.213) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.1cc: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.478) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %O, (%DefaultOrUnformed.impl_witness.1cc) [concrete] +// CHECK:STDOUT: %custom_witness.b26: = custom_witness (%O.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.160: %Default.type = facet_value %O, (%custom_witness.b26) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.793: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.160) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %O, (%DefaultOrUnformed.impl_witness.793) [concrete] // CHECK:STDOUT: %O.cpp_destructor.type: type = fn_type @O.cpp_destructor [concrete] // CHECK:STDOUT: %O.cpp_destructor: %O.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -731,8 +731,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%u.param: %U) { @@ -748,7 +748,7 @@ fn F() { // CHECK:STDOUT: %x.var_patt: %pattern_type.554 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %O = var %x.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%O, (constants.%DefaultOrUnformed.impl_witness.1cc) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%O, (constants.%DefaultOrUnformed.impl_witness.793) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc9_22.1: %DefaultOrUnformed.type = converted constants.%O, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc9_22.1 [concrete = constants.%O] // CHECK:STDOUT: %.loc9_22.2: type = converted %.loc9_22.1, %as_type [concrete = constants.%O] diff --git a/toolchain/check/testdata/interop/cpp/function/import/variadic.carbon b/toolchain/check/testdata/interop/cpp/function/import/variadic.carbon index 5cd7d0554370..14d6e57dd1a4 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/variadic.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/variadic.carbon @@ -50,32 +50,32 @@ fn Call3() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %foo.type.95b203.1: type = fn_type @foo.1 [concrete] // CHECK:STDOUT: %foo.f55227.1: %foo.type.95b203.1 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %foo.type.95b203.2: type = fn_type @foo.2 [concrete] // CHECK:STDOUT: %foo.f55227.2: %foo.type.95b203.2 = struct_value () [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %foo.type.95b203.3: type = fn_type @foo.3 [concrete] // CHECK:STDOUT: %foo.f55227.3: %foo.type.95b203.3 = struct_value () [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -89,8 +89,8 @@ fn Call3() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %foo.decl.993533.2: %foo.type.95b203.2 = fn_decl @foo.2 [concrete = constants.%foo.f55227.2] { // CHECK:STDOUT: // CHECK:STDOUT: } { @@ -108,13 +108,13 @@ fn Call3() { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_11.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc8_11.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_11.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_11.2: %i32 = converted %int_1, %.loc8_11.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl.993533.1(%.loc8_11.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -125,20 +125,20 @@ fn Call3() { // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc14_11: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc14_11.1: = bound_method %int_1, %impl.elem0.loc14_11 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc14_11: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc14_11.1: = bound_method %int_1, %impl.elem0.loc14_11 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc14_11: = specific_function %impl.elem0.loc14_11, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc14_11.2: = bound_method %int_1, %specific_fn.loc14_11 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_11: init %i32 = call %bound_method.loc14_11.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc14_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_11 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc14_11.2: %i32 = converted %int_1, %.loc14_11.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc14_14: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc14_14.1: = bound_method %int_2, %impl.elem0.loc14_14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc14_11.2: = bound_method %int_1, %specific_fn.loc14_11 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_11: init %i32 = call %bound_method.loc14_11.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc14_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_11 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc14_11.2: %i32 = converted %int_1, %.loc14_11.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc14_14: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc14_14.1: = bound_method %int_2, %impl.elem0.loc14_14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc14_14: = specific_function %impl.elem0.loc14_14, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc14_14.2: = bound_method %int_2, %specific_fn.loc14_14 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_14: init %i32 = call %bound_method.loc14_14.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc14_14.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_14 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc14_14.2: %i32 = converted %int_2, %.loc14_14.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc14_14.2: = bound_method %int_2, %specific_fn.loc14_14 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_14: init %i32 = call %bound_method.loc14_14.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc14_14.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14_14 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc14_14.2: %i32 = converted %int_2, %.loc14_14.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl.993533.2(%.loc14_11.2, %.loc14_14.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -150,27 +150,27 @@ fn Call3() { // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc20_11: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc20_11.1: = bound_method %int_1, %impl.elem0.loc20_11 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc20_11: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc20_11.1: = bound_method %int_1, %impl.elem0.loc20_11 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc20_11: = specific_function %impl.elem0.loc20_11, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc20_11.2: = bound_method %int_1, %specific_fn.loc20_11 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_11: init %i32 = call %bound_method.loc20_11.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc20_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_11 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc20_11.2: %i32 = converted %int_1, %.loc20_11.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc20_14: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc20_14.1: = bound_method %int_2, %impl.elem0.loc20_14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc20_11.2: = bound_method %int_1, %specific_fn.loc20_11 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_11: init %i32 = call %bound_method.loc20_11.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc20_11.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_11 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc20_11.2: %i32 = converted %int_1, %.loc20_11.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc20_14: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc20_14.1: = bound_method %int_2, %impl.elem0.loc20_14 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc20_14: = specific_function %impl.elem0.loc20_14, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc20_14.2: = bound_method %int_2, %specific_fn.loc20_14 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_14: init %i32 = call %bound_method.loc20_14.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc20_14.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_14 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc20_14.2: %i32 = converted %int_2, %.loc20_14.1 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc20_17: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc20_17.1: = bound_method %int_3, %impl.elem0.loc20_17 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %bound_method.loc20_14.2: = bound_method %int_2, %specific_fn.loc20_14 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_14: init %i32 = call %bound_method.loc20_14.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc20_14.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_14 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc20_14.2: %i32 = converted %int_2, %.loc20_14.1 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc20_17: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc20_17.1: = bound_method %int_3, %impl.elem0.loc20_17 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc20_17: = specific_function %impl.elem0.loc20_17, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc20_17.2: = bound_method %int_3, %specific_fn.loc20_17 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_17: init %i32 = call %bound_method.loc20_17.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc20_17.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_17 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc20_17.2: %i32 = converted %int_3, %.loc20_17.1 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc20_17.2: = bound_method %int_3, %specific_fn.loc20_17 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_17: init %i32 = call %bound_method.loc20_17.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc20_17.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20_17 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc20_17.2: %i32 = converted %int_3, %.loc20_17.1 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl.993533.3(%.loc20_11.2, %.loc20_14.2, %.loc20_17.2) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/function/import/void_pointer.carbon b/toolchain/check/testdata/interop/cpp/function/import/void_pointer.carbon index 96fb4f3ea387..c045ccdcbe18 100644 --- a/toolchain/check/testdata/interop/cpp/function/import/void_pointer.carbon +++ b/toolchain/check/testdata/interop/cpp/function/import/void_pointer.carbon @@ -197,48 +197,48 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.type: type = cpp_overload_set_type @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] -// CHECK:STDOUT: %T.390: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.4e7: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.876: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.0f5: %ptr.as.OptionalStorage.impl.Some.type.876 = struct_value () [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.1: = custom_witness (%Destroy.Op.1dc86d.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.b18: %Destroy.type = facet_value %ptr.838, (%custom_witness.340963.1) [concrete] -// CHECK:STDOUT: %MaybeUnformed.b5e: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.b18) [concrete] -// CHECK:STDOUT: %OptionalStorage.impl_witness.934: = impl_witness imports.%OptionalStorage.impl_witness_table.47b, @ptr.as.OptionalStorage.impl(%Cpp.void) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet.ad9: %OptionalStorage.type = facet_value %ptr.838, (%OptionalStorage.impl_witness.934) [concrete] -// CHECK:STDOUT: %Optional.186: type = class_type @Optional, @Optional(%OptionalStorage.facet.ad9) [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.type.7a7: type = fn_type @ptr.as.OptionalStorage.impl.Some, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.Some.d46: %ptr.as.OptionalStorage.impl.Some.type.7a7 = struct_value () [symbolic] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.1: = custom_witness (%Destroy.Op.2dd605.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.7ee: %Destroy.type = facet_value %ptr.2d0, (%custom_witness.e20f1f.1) [concrete] +// CHECK:STDOUT: %MaybeUnformed.7a1: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.7ee) [concrete] +// CHECK:STDOUT: %OptionalStorage.impl_witness.066: = impl_witness imports.%OptionalStorage.impl_witness_table.404, @ptr.as.OptionalStorage.impl(%Cpp.void) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet.a1e: %OptionalStorage.type = facet_value %ptr.2d0, (%OptionalStorage.impl_witness.066) [concrete] +// CHECK:STDOUT: %Optional.43b: type = class_type @Optional, @Optional(%OptionalStorage.facet.a1e) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.dbf: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.186)> [concrete] -// CHECK:STDOUT: %OptionalAs.type.c8f: type = facet_type <@OptionalAs, @OptionalAs(%T.390)> [symbolic] -// CHECK:STDOUT: %U.00a: %OptionalAs.type.c8f = symbolic_binding U, 1 [symbolic] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.ba3: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.20a(%T.390, %U.00a) [symbolic] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.7c5: %U.as_type.as.ImplicitAs.impl.Convert.type.ba3 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.type.651: type = facet_type <@OptionalAs, @OptionalAs(%OptionalStorage.facet.ad9)> [concrete] -// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.type.135: type = fn_type @T.as_type.as.OptionalAs.impl.Convert, @T.as_type.as.OptionalAs.impl(%T.390) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.8c2: %T.as_type.as.OptionalAs.impl.Convert.type.135 = struct_value () [symbolic] -// CHECK:STDOUT: %OptionalAs.impl_witness.b96: = impl_witness imports.%OptionalAs.impl_witness_table.b79, @T.as_type.as.OptionalAs.impl(%OptionalStorage.facet.ad9) [concrete] -// CHECK:STDOUT: %OptionalAs.facet: %OptionalAs.type.651 = facet_value %ptr.838, (%OptionalAs.impl_witness.b96) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.e48: = impl_witness imports.%ImplicitAs.impl_witness_table.95e, @U.as_type.as.ImplicitAs.impl.20a(%OptionalStorage.facet.ad9, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.d35: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.20a(%OptionalStorage.facet.ad9, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.e64: %U.as_type.as.ImplicitAs.impl.Convert.type.d35 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.daf: %ImplicitAs.type.dbf = facet_value %ptr.838, (%ImplicitAs.impl_witness.e48) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.d0d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.186, %ImplicitAs.facet.daf) [concrete] -// CHECK:STDOUT: %.55b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.d0d, %ImplicitAs.facet.daf [concrete] -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %U.as_type.as.ImplicitAs.impl.Convert.e64, @U.as_type.as.ImplicitAs.impl.Convert.2(%OptionalStorage.facet.ad9, %OptionalAs.facet) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc10_11.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.157: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.43b)> [concrete] +// CHECK:STDOUT: %OptionalAs.type.c01: type = facet_type <@OptionalAs, @OptionalAs(%T.4e7)> [symbolic] +// CHECK:STDOUT: %U.847: %OptionalAs.type.c01 = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.d99: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.1e6(%T.4e7, %U.847) [symbolic] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.401: %U.as_type.as.ImplicitAs.impl.Convert.type.d99 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.type.539: type = facet_type <@OptionalAs, @OptionalAs(%OptionalStorage.facet.a1e)> [concrete] +// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.type.b97: type = fn_type @T.as_type.as.OptionalAs.impl.Convert, @T.as_type.as.OptionalAs.impl(%T.4e7) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OptionalAs.impl.Convert.a9b: %T.as_type.as.OptionalAs.impl.Convert.type.b97 = struct_value () [symbolic] +// CHECK:STDOUT: %OptionalAs.impl_witness.6a7: = impl_witness imports.%OptionalAs.impl_witness_table.973, @T.as_type.as.OptionalAs.impl(%OptionalStorage.facet.a1e) [concrete] +// CHECK:STDOUT: %OptionalAs.facet: %OptionalAs.type.539 = facet_value %ptr.2d0, (%OptionalAs.impl_witness.6a7) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.77a: = impl_witness imports.%ImplicitAs.impl_witness_table.5f2, @U.as_type.as.ImplicitAs.impl.1e6(%OptionalStorage.facet.a1e, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.type.710: type = fn_type @U.as_type.as.ImplicitAs.impl.Convert.2, @U.as_type.as.ImplicitAs.impl.1e6(%OptionalStorage.facet.a1e, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.48d: %U.as_type.as.ImplicitAs.impl.Convert.type.710 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.59e: %ImplicitAs.type.157 = facet_value %ptr.2d0, (%ImplicitAs.impl_witness.77a) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.783: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.43b, %ImplicitAs.facet.59e) [concrete] +// CHECK:STDOUT: %.ac1: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.783, %ImplicitAs.facet.59e [concrete] +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %U.as_type.as.ImplicitAs.impl.Convert.48d, @U.as_type.as.ImplicitAs.impl.Convert.2(%OptionalStorage.facet.a1e, %OptionalAs.facet) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc10_11.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -248,56 +248,56 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.978 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.6b0: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.876) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.0f5)] -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.259 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.47b = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.978, %Core.import_ref.6b0, %Core.import_ref.017, %Core.import_ref.259, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.31a = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.ed3: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some.type (%ptr.as.OptionalStorage.impl.Some.type.7a7) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.Some (constants.%ptr.as.OptionalStorage.impl.Some.d46)] +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d18 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.4ad4 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.404 = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.31a, %Core.import_ref.ed3, %Core.import_ref.b33, %Core.import_ref.d18, %Core.import_ref.4ad4), @ptr.as.OptionalStorage.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: -// CHECK:STDOUT: %.loc10_16.1: type = splice_block %Optional [concrete = constants.%Optional.186] { -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.838, (constants.%OptionalStorage.impl_witness.934) [concrete = constants.%OptionalStorage.facet.ad9] -// CHECK:STDOUT: %.loc10_16.2: %OptionalStorage.type = converted constants.%ptr.838, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.ad9] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.ad9) [concrete = constants.%Optional.186] +// CHECK:STDOUT: %.loc10_16.1: type = splice_block %Optional [concrete = constants.%Optional.43b] { +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.2d0, (constants.%OptionalStorage.impl_witness.066) [concrete = constants.%OptionalStorage.facet.a1e] +// CHECK:STDOUT: %.loc10_16.2: %OptionalStorage.type = converted constants.%ptr.2d0, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.a1e] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.a1e) [concrete = constants.%Optional.43b] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.a20e: @U.as_type.as.ImplicitAs.impl.20a.%U.as_type.as.ImplicitAs.impl.Convert.type (%U.as_type.as.ImplicitAs.impl.Convert.type.ba3) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @U.as_type.as.ImplicitAs.impl.20a.%U.as_type.as.ImplicitAs.impl.Convert (constants.%U.as_type.as.ImplicitAs.impl.Convert.7c5)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.95e = impl_witness_table (%Core.import_ref.a20e), @U.as_type.as.ImplicitAs.impl.20a [concrete] -// CHECK:STDOUT: %Core.import_ref.9b2: @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert.type (%T.as_type.as.OptionalAs.impl.Convert.type.135) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert (constants.%T.as_type.as.OptionalAs.impl.Convert.8c2)] -// CHECK:STDOUT: %OptionalAs.impl_witness_table.b79 = impl_witness_table (%Core.import_ref.9b2), @T.as_type.as.OptionalAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ce3: @U.as_type.as.ImplicitAs.impl.1e6.%U.as_type.as.ImplicitAs.impl.Convert.type (%U.as_type.as.ImplicitAs.impl.Convert.type.d99) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @U.as_type.as.ImplicitAs.impl.1e6.%U.as_type.as.ImplicitAs.impl.Convert (constants.%U.as_type.as.ImplicitAs.impl.Convert.401)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.5f2 = impl_witness_table (%Core.import_ref.ce3), @U.as_type.as.ImplicitAs.impl.1e6 [concrete] +// CHECK:STDOUT: %Core.import_ref.cb8: @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert.type (%T.as_type.as.OptionalAs.impl.Convert.type.b97) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OptionalAs.impl.%T.as_type.as.OptionalAs.impl.Convert (constants.%T.as_type.as.OptionalAs.impl.Convert.a9b)] +// CHECK:STDOUT: %OptionalAs.impl_witness_table.973 = impl_witness_table (%Core.import_ref.cb8), @T.as_type.as.OptionalAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%input.param: %ptr.838) { +// CHECK:STDOUT: fn @F(%input.param: %ptr.2d0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Cpp.ref.loc10: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %input.ref: %ptr.838 = name_ref input, %input -// CHECK:STDOUT: %impl.elem0: %.55b = impl_witness_access constants.%ImplicitAs.impl_witness.e48, element0 [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.e64] +// CHECK:STDOUT: %input.ref: %ptr.2d0 = name_ref input, %input +// CHECK:STDOUT: %impl.elem0: %.ac1 = impl_witness_access constants.%ImplicitAs.impl_witness.77a, element0 [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.48d] // CHECK:STDOUT: %bound_method.loc10_11.1: = bound_method %input.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @U.as_type.as.ImplicitAs.impl.Convert.2(constants.%OptionalStorage.facet.ad9, constants.%OptionalAs.facet) [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.specific_fn] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @U.as_type.as.ImplicitAs.impl.Convert.2(constants.%OptionalStorage.facet.a1e, constants.%OptionalAs.facet) [concrete = constants.%U.as_type.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc10_11.2: = bound_method %input.ref, %specific_fn -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call: init %Optional.186 = call %bound_method.loc10_11.2(%input.ref) -// CHECK:STDOUT: %.loc10_11.1: init %Optional.186 = converted %input.ref, %U.as_type.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %.loc10_11.2: ref %Optional.186 = temporary_storage -// CHECK:STDOUT: %.loc10_11.3: ref %Optional.186 = temporary %.loc10_11.2, %.loc10_11.1 -// CHECK:STDOUT: %.loc10_11.4: %Optional.186 = acquire_value %.loc10_11.3 +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call: init %Optional.43b = call %bound_method.loc10_11.2(%input.ref) +// CHECK:STDOUT: %.loc10_11.1: init %Optional.43b = converted %input.ref, %U.as_type.as.ImplicitAs.impl.Convert.call +// CHECK:STDOUT: %.loc10_11.2: ref %Optional.43b = temporary_storage +// CHECK:STDOUT: %.loc10_11.3: ref %Optional.43b = temporary %.loc10_11.2, %.loc10_11.1 +// CHECK:STDOUT: %.loc10_11.4: %Optional.43b = acquire_value %.loc10_11.3 // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc10_11.4) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_11.3, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_11.3, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc10_11.3) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_11.1(%self.param: ref %MaybeUnformed.b5e) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_11.1(%self.param: ref %MaybeUnformed.7a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_11.2(%self.param: ref %Optional.186) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_11.2(%self.param: ref %Optional.43b) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -311,40 +311,40 @@ fn F() { // CHECK:STDOUT: %Optional.type: type = generic_class_type @Optional [concrete] // CHECK:STDOUT: %Optional.generic: %Optional.type = struct_value () [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] -// CHECK:STDOUT: %T.390: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Optional.None.type.961: type = fn_type @Optional.None, @Optional(%T.390) [symbolic] -// CHECK:STDOUT: %Optional.None.c55: %Optional.None.type.961 = struct_value () [symbolic] +// CHECK:STDOUT: %T.4e7: %OptionalStorage.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Optional.None.type.bf3: type = fn_type @Optional.None, @Optional(%T.4e7) [symbolic] +// CHECK:STDOUT: %Optional.None.216: %Optional.None.type.bf3 = struct_value () [symbolic] // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.type.ed5: type = fn_type @ptr.as.OptionalStorage.impl.None, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.503: %ptr.as.OptionalStorage.impl.None.type.ed5 = struct_value () [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.1: = custom_witness (%Destroy.Op.1dc86d.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.b18: %Destroy.type = facet_value %ptr.838, (%custom_witness.340963.1) [concrete] -// CHECK:STDOUT: %MaybeUnformed.b5e: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.b18) [concrete] -// CHECK:STDOUT: %OptionalStorage.impl_witness.dc1: = impl_witness imports.%OptionalStorage.impl_witness_table.f57, @ptr.as.OptionalStorage.impl(%Cpp.void) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr.838, (%OptionalStorage.impl_witness.dc1) [concrete] -// CHECK:STDOUT: %Optional.6eb: type = class_type @Optional, @Optional(%OptionalStorage.facet) [concrete] -// CHECK:STDOUT: %Optional.None.type.7ee: type = fn_type @Optional.None, @Optional(%OptionalStorage.facet) [concrete] -// CHECK:STDOUT: %Optional.None.0d1: %Optional.None.type.7ee = struct_value () [concrete] -// CHECK:STDOUT: %Optional.None.specific_fn: = specific_function %Optional.None.0d1, @Optional.None(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.type.da2: type = fn_type @ptr.as.OptionalStorage.impl.None, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.41b: %ptr.as.OptionalStorage.impl.None.type.da2 = struct_value () [symbolic] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.1: = custom_witness (%Destroy.Op.2dd605.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.7ee: %Destroy.type = facet_value %ptr.2d0, (%custom_witness.e20f1f.1) [concrete] +// CHECK:STDOUT: %MaybeUnformed.7a1: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.7ee) [concrete] +// CHECK:STDOUT: %OptionalStorage.impl_witness.dcf: = impl_witness imports.%OptionalStorage.impl_witness_table.885, @ptr.as.OptionalStorage.impl(%Cpp.void) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr.2d0, (%OptionalStorage.impl_witness.dcf) [concrete] +// CHECK:STDOUT: %Optional.921: type = class_type @Optional, @Optional(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Optional.None.type.0c0: type = fn_type @Optional.None, @Optional(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %Optional.None.e84: %Optional.None.type.0c0 = struct_value () [concrete] +// CHECK:STDOUT: %Optional.None.specific_fn: = specific_function %Optional.None.e84, @Optional.None(%OptionalStorage.facet) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc10_41.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc10_41.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .Optional = %Core.Optional -// CHECK:STDOUT: .CppCompat = %CppCompat.69028d.1 +// CHECK:STDOUT: .CppCompat = %CppCompat.463205.1 // CHECK:STDOUT: .Destroy = %Core.Destroy // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... @@ -356,29 +356,29 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %Core.Optional: %Optional.type = import_ref Core//prelude/types/optional, Optional, loaded [concrete = constants.%Optional.generic] -// CHECK:STDOUT: %Core.import_ref.b79: @Optional.%Optional.None.type (%Optional.None.type.961) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @Optional.%Optional.None (constants.%Optional.None.c55)] +// CHECK:STDOUT: %Core.import_ref.c2b: @Optional.%Optional.None.type (%Optional.None.type.bf3) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @Optional.%Optional.None (constants.%Optional.None.216)] // CHECK:STDOUT: %Core.CppCompat: = import_ref Core//prelude, CppCompat, loaded -// CHECK:STDOUT: %CppCompat.69028d.1: = namespace %Core.CppCompat, [concrete] { +// CHECK:STDOUT: %CppCompat.463205.1: = namespace %Core.CppCompat, [concrete] { // CHECK:STDOUT: .VoidBase = %Core.VoidBase // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.VoidBase: type = import_ref Core//prelude/types/cpp/void, VoidBase, loaded [concrete = constants.%Cpp.void] -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.fff: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None.type (%ptr.as.OptionalStorage.impl.None.type.ed5) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None (constants.%ptr.as.OptionalStorage.impl.None.503)] -// CHECK:STDOUT: %Core.import_ref.a098 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.259 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.f57 = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.fff, %Core.import_ref.a098, %Core.import_ref.017, %Core.import_ref.259, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.d20: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None.type (%ptr.as.OptionalStorage.impl.None.type.da2) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None (constants.%ptr.as.OptionalStorage.impl.None.41b)] +// CHECK:STDOUT: %Core.import_ref.97e = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d18 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.4ad = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.885 = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.d20, %Core.import_ref.97e, %Core.import_ref.b33, %Core.import_ref.d18, %Core.import_ref.4ad), @ptr.as.OptionalStorage.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: -// CHECK:STDOUT: %.loc10_42.1: type = splice_block %Optional [concrete = constants.%Optional.6eb] { -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.838, (constants.%OptionalStorage.impl_witness.dc1) [concrete = constants.%OptionalStorage.facet] -// CHECK:STDOUT: %.loc10_42.2: %OptionalStorage.type = converted constants.%ptr.838, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.6eb] +// CHECK:STDOUT: %.loc10_42.1: type = splice_block %Optional [concrete = constants.%Optional.921] { +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.2d0, (constants.%OptionalStorage.impl_witness.dcf) [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %.loc10_42.2: %OptionalStorage.type = converted constants.%ptr.2d0, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.921] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: } @@ -393,29 +393,29 @@ fn F() { // CHECK:STDOUT: %Optional.ref: %Optional.type = name_ref Optional, imports.%Core.Optional [concrete = constants.%Optional.generic] // CHECK:STDOUT: %Cpp.ref.loc10_25: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %void.ref: type = name_ref void, constants.%Cpp.void [concrete = constants.%Cpp.void] -// CHECK:STDOUT: %ptr: type = ptr_type %void.ref [concrete = constants.%ptr.838] -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr, (constants.%OptionalStorage.impl_witness.dc1) [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %ptr: type = ptr_type %void.ref [concrete = constants.%ptr.2d0] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr, (constants.%OptionalStorage.impl_witness.dcf) [concrete = constants.%OptionalStorage.facet] // CHECK:STDOUT: %.loc10_34: %OptionalStorage.type = converted %ptr, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.6eb] -// CHECK:STDOUT: %.loc10_35: %Optional.None.type.7ee = specific_constant imports.%Core.import_ref.b79, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.None.0d1] -// CHECK:STDOUT: %None.ref: %Optional.None.type.7ee = name_ref None, %.loc10_35 [concrete = constants.%Optional.None.0d1] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.921] +// CHECK:STDOUT: %.loc10_35: %Optional.None.type.0c0 = specific_constant imports.%Core.import_ref.c2b, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.None.e84] +// CHECK:STDOUT: %None.ref: %Optional.None.type.0c0 = name_ref None, %.loc10_35 [concrete = constants.%Optional.None.e84] // CHECK:STDOUT: %Optional.None.specific_fn: = specific_function %None.ref, @Optional.None(constants.%OptionalStorage.facet) [concrete = constants.%Optional.None.specific_fn] -// CHECK:STDOUT: %Optional.None.call: init %Optional.6eb = call %Optional.None.specific_fn() -// CHECK:STDOUT: %.loc10_41.1: ref %Optional.6eb = temporary_storage -// CHECK:STDOUT: %.loc10_41.2: ref %Optional.6eb = temporary %.loc10_41.1, %Optional.None.call -// CHECK:STDOUT: %.loc10_41.3: %Optional.6eb = acquire_value %.loc10_41.2 +// CHECK:STDOUT: %Optional.None.call: init %Optional.921 = call %Optional.None.specific_fn() +// CHECK:STDOUT: %.loc10_41.1: ref %Optional.921 = temporary_storage +// CHECK:STDOUT: %.loc10_41.2: ref %Optional.921 = temporary %.loc10_41.1, %Optional.None.call +// CHECK:STDOUT: %.loc10_41.3: %Optional.921 = acquire_value %.loc10_41.2 // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc10_41.3) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_41.2, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_41.2, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc10_41.2) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_41.1(%self.param: ref %MaybeUnformed.b5e) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_41.1(%self.param: ref %MaybeUnformed.7a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_41.2(%self.param: ref %Optional.6eb) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_41.2(%self.param: ref %Optional.921) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -428,34 +428,34 @@ fn F() { // CHECK:STDOUT: %Optional.generic: %Optional.type = struct_value () [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.1: = custom_witness (%Destroy.Op.1dc86d.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.b18: %Destroy.type = facet_value %ptr.838, (%custom_witness.340963.1) [concrete] -// CHECK:STDOUT: %MaybeUnformed.b5e: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.b18) [concrete] -// CHECK:STDOUT: %OptionalStorage.impl_witness.359: = impl_witness imports.%OptionalStorage.impl_witness_table.cbe, @ptr.as.OptionalStorage.impl(%Cpp.void) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr.838, (%OptionalStorage.impl_witness.359) [concrete] -// CHECK:STDOUT: %Optional.789: type = class_type @Optional, @Optional(%OptionalStorage.facet) [concrete] -// CHECK:STDOUT: %pattern_type.6b6: type = pattern_type %Optional.789 [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.1: = custom_witness (%Destroy.Op.2dd605.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.7ee: %Destroy.type = facet_value %ptr.2d0, (%custom_witness.e20f1f.1) [concrete] +// CHECK:STDOUT: %MaybeUnformed.7a1: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.7ee) [concrete] +// CHECK:STDOUT: %OptionalStorage.impl_witness.ab6: = impl_witness imports.%OptionalStorage.impl_witness_table.cee, @ptr.as.OptionalStorage.impl(%Cpp.void) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr.2d0, (%OptionalStorage.impl_witness.ab6) [concrete] +// CHECK:STDOUT: %Optional.8b3: type = class_type @Optional, @Optional(%OptionalStorage.facet) [concrete] +// CHECK:STDOUT: %pattern_type.3e3: type = pattern_type %Optional.8b3 [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.type: type = cpp_overload_set_type @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc10_57.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc10_57.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .Optional = %Core.Optional -// CHECK:STDOUT: .CppCompat = %CppCompat.69028d.1 +// CHECK:STDOUT: .CppCompat = %CppCompat.463205.1 // CHECK:STDOUT: .Destroy = %Core.Destroy // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... @@ -467,26 +467,26 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Optional: %Optional.type = import_ref Core//prelude/types/optional, Optional, loaded [concrete = constants.%Optional.generic] // CHECK:STDOUT: %Core.CppCompat: = import_ref Core//prelude, CppCompat, loaded -// CHECK:STDOUT: %CppCompat.69028d.1: = namespace %Core.CppCompat, [concrete] { +// CHECK:STDOUT: %CppCompat.463205.1: = namespace %Core.CppCompat, [concrete] { // CHECK:STDOUT: .VoidBase = %Core.VoidBase // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.VoidBase: type = import_ref Core//prelude/types/cpp/void, VoidBase, loaded [concrete = constants.%Cpp.void] -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.978 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.a098 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.259 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.cbe = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.978, %Core.import_ref.a098, %Core.import_ref.017, %Core.import_ref.259, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.31a = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.97e = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d18 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.4ad = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.cee = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.31a, %Core.import_ref.97e, %Core.import_ref.b33, %Core.import_ref.d18, %Core.import_ref.4ad), @ptr.as.OptionalStorage.impl [concrete] // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: // CHECK:STDOUT: } { -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.838, (constants.%OptionalStorage.impl_witness.359) [concrete = constants.%OptionalStorage.facet] -// CHECK:STDOUT: %.loc10: %OptionalStorage.type = converted constants.%ptr.838, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.789] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.2d0, (constants.%OptionalStorage.impl_witness.ab6) [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %.loc10: %OptionalStorage.type = converted constants.%ptr.2d0, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.8b3] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/destroy, Destroy, loaded [concrete = constants.%Destroy.type] @@ -495,36 +495,36 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %output.patt: %pattern_type.6b6 = value_binding_pattern output [concrete] +// CHECK:STDOUT: %output.patt: %pattern_type.3e3 = value_binding_pattern output [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc10_49: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %foo.ref: %foo.cpp_overload_set.type = name_ref foo, imports.%foo.cpp_overload_set.value [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %foo.call: init %Optional.789 = call imports.%foo.decl() -// CHECK:STDOUT: %.loc10_45.1: type = splice_block %Optional [concrete = constants.%Optional.789] { +// CHECK:STDOUT: %foo.call: init %Optional.8b3 = call imports.%foo.decl() +// CHECK:STDOUT: %.loc10_45.1: type = splice_block %Optional [concrete = constants.%Optional.8b3] { // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %Optional.ref: %Optional.type = name_ref Optional, imports.%Core.Optional [concrete = constants.%Optional.generic] // CHECK:STDOUT: %Cpp.ref.loc10_36: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %void.ref: type = name_ref void, constants.%Cpp.void [concrete = constants.%Cpp.void] -// CHECK:STDOUT: %ptr: type = ptr_type %void.ref [concrete = constants.%ptr.838] -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr, (constants.%OptionalStorage.impl_witness.359) [concrete = constants.%OptionalStorage.facet] +// CHECK:STDOUT: %ptr: type = ptr_type %void.ref [concrete = constants.%ptr.2d0] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value %ptr, (constants.%OptionalStorage.impl_witness.ab6) [concrete = constants.%OptionalStorage.facet] // CHECK:STDOUT: %.loc10_45.2: %OptionalStorage.type = converted %ptr, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.789] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet) [concrete = constants.%Optional.8b3] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc10_57.1: ref %Optional.789 = temporary_storage -// CHECK:STDOUT: %.loc10_57.2: ref %Optional.789 = temporary %.loc10_57.1, %foo.call -// CHECK:STDOUT: %.loc10_57.3: %Optional.789 = acquire_value %.loc10_57.2 -// CHECK:STDOUT: %output: %Optional.789 = value_binding output, %.loc10_57.3 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_57.2, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %.loc10_57.1: ref %Optional.8b3 = temporary_storage +// CHECK:STDOUT: %.loc10_57.2: ref %Optional.8b3 = temporary %.loc10_57.1, %foo.call +// CHECK:STDOUT: %.loc10_57.3: %Optional.8b3 = acquire_value %.loc10_57.2 +// CHECK:STDOUT: %output: %Optional.8b3 = value_binding output, %.loc10_57.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc10_57.2, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc10_57.2) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_57.1(%self.param: ref %MaybeUnformed.b5e) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_57.1(%self.param: ref %MaybeUnformed.7a1) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_57.2(%self.param: ref %Optional.789) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_57.2(%self.param: ref %Optional.8b3) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -534,9 +534,9 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] -// CHECK:STDOUT: %ptr.f98: type = ptr_type %ptr.838 [concrete] -// CHECK:STDOUT: %pattern_type.0df: type = pattern_type %ptr.f98 [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %ptr.817: type = ptr_type %ptr.2d0 [concrete] +// CHECK:STDOUT: %pattern_type.00e: type = pattern_type %ptr.817 [concrete] // CHECK:STDOUT: %Return.cpp_overload_set.type: type = cpp_overload_set_type @Return.cpp_overload_set [concrete] // CHECK:STDOUT: %Return.cpp_overload_set.value: %Return.cpp_overload_set.type = cpp_overload_set_value @Return.cpp_overload_set [concrete] // CHECK:STDOUT: %Return.type: type = fn_type @Return [concrete] @@ -573,32 +573,32 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %non_nullable_pointer.patt: %pattern_type.0df = ref_binding_pattern non_nullable_pointer [concrete] -// CHECK:STDOUT: %non_nullable_pointer.var_patt: %pattern_type.0df = var_pattern %non_nullable_pointer.patt [concrete] +// CHECK:STDOUT: %non_nullable_pointer.patt: %pattern_type.00e = ref_binding_pattern non_nullable_pointer [concrete] +// CHECK:STDOUT: %non_nullable_pointer.var_patt: %pattern_type.00e = var_pattern %non_nullable_pointer.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %non_nullable_pointer.var: ref %ptr.f98 = var %non_nullable_pointer.var_patt +// CHECK:STDOUT: %non_nullable_pointer.var: ref %ptr.817 = var %non_nullable_pointer.var_patt // CHECK:STDOUT: %Cpp.ref.loc11_42: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %Return.ref: %Return.cpp_overload_set.type = name_ref Return, imports.%Return.cpp_overload_set.value [concrete = constants.%Return.cpp_overload_set.value] -// CHECK:STDOUT: %Return.call: init %ptr.f98 = call imports.%Return.decl() +// CHECK:STDOUT: %Return.call: init %ptr.817 = call imports.%Return.decl() // CHECK:STDOUT: assign %non_nullable_pointer.var, %Return.call -// CHECK:STDOUT: %.loc11: type = splice_block %ptr.loc11_38 [concrete = constants.%ptr.f98] { +// CHECK:STDOUT: %.loc11: type = splice_block %ptr.loc11_38 [concrete = constants.%ptr.817] { // CHECK:STDOUT: %Cpp.ref.loc11_29: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %void.ref: type = name_ref void, constants.%Cpp.void [concrete = constants.%Cpp.void] -// CHECK:STDOUT: %ptr.loc11_37: type = ptr_type %void.ref [concrete = constants.%ptr.838] -// CHECK:STDOUT: %ptr.loc11_38: type = ptr_type %ptr.loc11_37 [concrete = constants.%ptr.f98] +// CHECK:STDOUT: %ptr.loc11_37: type = ptr_type %void.ref [concrete = constants.%ptr.2d0] +// CHECK:STDOUT: %ptr.loc11_38: type = ptr_type %ptr.loc11_37 [concrete = constants.%ptr.817] // CHECK:STDOUT: } -// CHECK:STDOUT: %non_nullable_pointer: ref %ptr.f98 = ref_binding non_nullable_pointer, %non_nullable_pointer.var +// CHECK:STDOUT: %non_nullable_pointer: ref %ptr.817 = ref_binding non_nullable_pointer, %non_nullable_pointer.var // CHECK:STDOUT: %Cpp.ref.loc12: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %Invoke.ref: %Invoke.cpp_overload_set.type = name_ref Invoke, imports.%Invoke.cpp_overload_set.value [concrete = constants.%Invoke.cpp_overload_set.value] -// CHECK:STDOUT: %non_nullable_pointer.ref: ref %ptr.f98 = name_ref non_nullable_pointer, %non_nullable_pointer -// CHECK:STDOUT: %.loc12: %ptr.f98 = acquire_value %non_nullable_pointer.ref +// CHECK:STDOUT: %non_nullable_pointer.ref: ref %ptr.817 = name_ref non_nullable_pointer, %non_nullable_pointer +// CHECK:STDOUT: %.loc12: %ptr.817 = acquire_value %non_nullable_pointer.ref // CHECK:STDOUT: %Invoke.call: init %empty_tuple.type = call imports.%Invoke.decl(%.loc12) // CHECK:STDOUT: %Destroy.Op.bound: = bound_method %non_nullable_pointer.var, constants.%Destroy.Op // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%non_nullable_pointer.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %ptr.f98) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op(%self.param: ref %ptr.817) = "no_op"; // CHECK:STDOUT: // CHECK:STDOUT: --- non_nullable_const.carbon // CHECK:STDOUT: @@ -607,7 +607,7 @@ fn F() { // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] // CHECK:STDOUT: %const: type = const_type %Cpp.void [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %const [concrete] -// CHECK:STDOUT: %pattern_type.062: type = pattern_type %ptr [concrete] +// CHECK:STDOUT: %pattern_type.511: type = pattern_type %ptr [concrete] // CHECK:STDOUT: %Return.cpp_overload_set.type: type = cpp_overload_set_type @Return.cpp_overload_set [concrete] // CHECK:STDOUT: %Return.cpp_overload_set.value: %Return.cpp_overload_set.type = cpp_overload_set_value @Return.cpp_overload_set [concrete] // CHECK:STDOUT: %Return.type: type = fn_type @Return [concrete] @@ -644,8 +644,8 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %const_void_pointer.patt: %pattern_type.062 = ref_binding_pattern const_void_pointer [concrete] -// CHECK:STDOUT: %const_void_pointer.var_patt: %pattern_type.062 = var_pattern %const_void_pointer.patt [concrete] +// CHECK:STDOUT: %const_void_pointer.patt: %pattern_type.511 = ref_binding_pattern const_void_pointer [concrete] +// CHECK:STDOUT: %const_void_pointer.var_patt: %pattern_type.511 = var_pattern %const_void_pointer.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %const_void_pointer.var: ref %ptr = var %const_void_pointer.var_patt // CHECK:STDOUT: %Cpp.ref.loc11_45: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] diff --git a/toolchain/check/testdata/interop/cpp/impls/copy.carbon b/toolchain/check/testdata/interop/cpp/impls/copy.carbon index 14c2e6912212..509d321c5856 100644 --- a/toolchain/check/testdata/interop/cpp/impls/copy.carbon +++ b/toolchain/check/testdata/interop/cpp/impls/copy.carbon @@ -207,10 +207,10 @@ fn EqualWitnesses(p: Wrap(Cpp.Copyable)*) -> Wrap(Cpp.Copyable)* { // CHECK:STDOUT: %Copyable__carbon_thunk: %Copyable__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %Copyable.Op.type: type = fn_type @Copyable.Op [concrete] // CHECK:STDOUT: %Copyable.Op: %Copyable.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b8df63.1: = custom_witness (%Copyable.Op), @Copy [concrete] -// CHECK:STDOUT: %Copy.facet.0af: %Copy.type = facet_value %Copyable, (%custom_witness.b8df63.1) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.b36: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.0af) [concrete] -// CHECK:STDOUT: %.8c1: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b36, %Copy.facet.0af [concrete] +// CHECK:STDOUT: %custom_witness.b0507b.1: = custom_witness (%Copyable.Op), @Copy [concrete] +// CHECK:STDOUT: %Copy.facet.7a9: %Copy.type = facet_value %Copyable, (%custom_witness.b0507b.1) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.87b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.7a9) [concrete] +// CHECK:STDOUT: %.7c5: type = fn_type_with_self_type %Copy.WithSelf.Op.type.87b, %Copy.facet.7a9 [concrete] // CHECK:STDOUT: %ExplicitCopy: type = class_type @ExplicitCopy [concrete] // CHECK:STDOUT: %ExplicitCopy.ExplicitCopy.type: type = fn_type @ExplicitCopy.ExplicitCopy [concrete] // CHECK:STDOUT: %ExplicitCopy.ExplicitCopy: %ExplicitCopy.ExplicitCopy.type = struct_value () [concrete] @@ -221,10 +221,10 @@ fn EqualWitnesses(p: Wrap(Cpp.Copyable)*) -> Wrap(Cpp.Copyable)* { // CHECK:STDOUT: %ExplicitCopy__carbon_thunk: %ExplicitCopy__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %ExplicitCopy.Op.type: type = fn_type @ExplicitCopy.Op [concrete] // CHECK:STDOUT: %ExplicitCopy.Op: %ExplicitCopy.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b8df63.2: = custom_witness (%ExplicitCopy.Op), @Copy [concrete] -// CHECK:STDOUT: %Copy.facet.b31: %Copy.type = facet_value %ExplicitCopy, (%custom_witness.b8df63.2) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.baa: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.b31) [concrete] -// CHECK:STDOUT: %.fcd: type = fn_type_with_self_type %Copy.WithSelf.Op.type.baa, %Copy.facet.b31 [concrete] +// CHECK:STDOUT: %custom_witness.b0507b.2: = custom_witness (%ExplicitCopy.Op), @Copy [concrete] +// CHECK:STDOUT: %Copy.facet.b6e: %Copy.type = facet_value %ExplicitCopy, (%custom_witness.b0507b.2) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.92c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.b6e) [concrete] +// CHECK:STDOUT: %.a33: type = fn_type_with_self_type %Copy.WithSelf.Op.type.92c, %Copy.facet.b6e [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -254,7 +254,7 @@ fn EqualWitnesses(p: Wrap(Cpp.Copyable)*) -> Wrap(Cpp.Copyable)* { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %c.ref: %Copyable = name_ref c, %c // CHECK:STDOUT: -// CHECK:STDOUT: %impl.elem0: %.8c1 = impl_witness_access constants.%custom_witness.b8df63.1, element0 [concrete = constants.%Copyable.Op] +// CHECK:STDOUT: %impl.elem0: %.7c5 = impl_witness_access constants.%custom_witness.b0507b.1, element0 [concrete = constants.%Copyable.Op] // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %.loc8_10.1: ref %Copyable = temporary_storage // CHECK:STDOUT: %Op.ref: %Copyable.Copyable.type = name_ref Op, imports.%Copyable.Copyable.decl [concrete = constants.%Copyable.Copyable] @@ -273,7 +273,7 @@ fn EqualWitnesses(p: Wrap(Cpp.Copyable)*) -> Wrap(Cpp.Copyable)* { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %c.ref: %ExplicitCopy = name_ref c, %c // CHECK:STDOUT: -// CHECK:STDOUT: %impl.elem0: %.fcd = impl_witness_access constants.%custom_witness.b8df63.2, element0 [concrete = constants.%ExplicitCopy.Op] +// CHECK:STDOUT: %impl.elem0: %.a33 = impl_witness_access constants.%custom_witness.b0507b.2, element0 [concrete = constants.%ExplicitCopy.Op] // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %.loc14_10.1: ref %ExplicitCopy = temporary_storage // CHECK:STDOUT: %Op.ref: %ExplicitCopy.ExplicitCopy.type = name_ref Op, imports.%ExplicitCopy.ExplicitCopy.decl [concrete = constants.%ExplicitCopy.ExplicitCopy] @@ -291,55 +291,55 @@ fn EqualWitnesses(p: Wrap(Cpp.Copyable)*) -> Wrap(Cpp.Copyable)* { // CHECK:STDOUT: --- copy_generically.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %Copy.type.62b: type = facet_type <@Copy.1> [concrete] -// CHECK:STDOUT: %Copy.type.543: type = fn_type @Copy.loc6 [concrete] -// CHECK:STDOUT: %Copy: %Copy.type.543 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.type.9c4: type = facet_type <@Copy.1> [concrete] +// CHECK:STDOUT: %Copy.type.fde: type = fn_type @Copy.loc6 [concrete] +// CHECK:STDOUT: %Copy: %Copy.type.fde = struct_value () [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] // CHECK:STDOUT: %Copyable: type = class_type @Copyable [concrete] // CHECK:STDOUT: %Copyable.Op.type: type = fn_type @Copyable.Op [concrete] // CHECK:STDOUT: %Copyable.Op: %Copyable.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b8d: = custom_witness (%Copyable.Op), @Copy.1 [concrete] -// CHECK:STDOUT: %Copy.facet.0af: %Copy.type.62b = facet_value %Copyable, (%custom_witness.b8d) [concrete] -// CHECK:STDOUT: %Copy.specific_fn: = specific_function %Copy, @Copy.loc6(%Copy.facet.0af) [concrete] -// CHECK:STDOUT: %Wrap.cb4: type = class_type @Wrap, @Wrap(%Copy.facet.0af) [concrete] -// CHECK:STDOUT: %ptr.727: type = ptr_type %Wrap.cb4 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.b80: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%Wrap.cb4) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b3b: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Wrap.cb4) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.b43: %ptr.as.Copy.impl.Op.type.b3b = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.86d: %Copy.type.62b = facet_value %ptr.727, (%Copy.impl_witness.b80) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.111: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.86d) [concrete] -// CHECK:STDOUT: %.378: type = fn_type_with_self_type %Copy.WithSelf.Op.type.111, %Copy.facet.86d [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.b43, @ptr.as.Copy.impl.Op(%Wrap.cb4) [concrete] +// CHECK:STDOUT: %custom_witness.b05: = custom_witness (%Copyable.Op), @Copy.1 [concrete] +// CHECK:STDOUT: %Copy.facet.7a9: %Copy.type.9c4 = facet_value %Copyable, (%custom_witness.b05) [concrete] +// CHECK:STDOUT: %Copy.specific_fn: = specific_function %Copy, @Copy.loc6(%Copy.facet.7a9) [concrete] +// CHECK:STDOUT: %Wrap.f39: type = class_type @Wrap, @Wrap(%Copy.facet.7a9) [concrete] +// CHECK:STDOUT: %ptr.d53: type = ptr_type %Wrap.f39 [concrete] +// CHECK:STDOUT: %Copy.impl_witness.647: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%Wrap.f39) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.9ac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%Wrap.f39) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.291: %ptr.as.Copy.impl.Op.type.9ac = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.10e: %Copy.type.9c4 = facet_value %ptr.d53, (%Copy.impl_witness.647) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.24f: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.10e) [concrete] +// CHECK:STDOUT: %.8e0: type = fn_type_with_self_type %Copy.WithSelf.Op.type.24f, %Copy.facet.10e [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.291, @ptr.as.Copy.impl.Op(%Wrap.f39) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @DoCopy(%c.param: %Copyable) -> out %return.param: %Copyable { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %Copy.ref: %Copy.type.543 = name_ref Copy, file.%Copy.decl [concrete = constants.%Copy] +// CHECK:STDOUT: %Copy.ref: %Copy.type.fde = name_ref Copy, file.%Copy.decl [concrete = constants.%Copy] // CHECK:STDOUT: %c.ref: %Copyable = name_ref c, %c // CHECK:STDOUT: -// CHECK:STDOUT: %Copy.facet: %Copy.type.62b = facet_value constants.%Copyable, (constants.%custom_witness.b8d) [concrete = constants.%Copy.facet.0af] -// CHECK:STDOUT: %.loc12: %Copy.type.62b = converted constants.%Copyable, %Copy.facet [concrete = constants.%Copy.facet.0af] -// CHECK:STDOUT: %Copy.specific_fn: = specific_function %Copy.ref, @Copy.loc6(constants.%Copy.facet.0af) [concrete = constants.%Copy.specific_fn] +// CHECK:STDOUT: %Copy.facet: %Copy.type.9c4 = facet_value constants.%Copyable, (constants.%custom_witness.b05) [concrete = constants.%Copy.facet.7a9] +// CHECK:STDOUT: %.loc12: %Copy.type.9c4 = converted constants.%Copyable, %Copy.facet [concrete = constants.%Copy.facet.7a9] +// CHECK:STDOUT: %Copy.specific_fn: = specific_function %Copy.ref, @Copy.loc6(constants.%Copy.facet.7a9) [concrete = constants.%Copy.specific_fn] // CHECK:STDOUT: // CHECK:STDOUT: %Copy.call: init %Copyable to %.loc10_34.1 = call %Copy.specific_fn(%c.ref) // CHECK:STDOUT: return %Copy.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @EqualWitnesses(%p.param: %ptr.727) -> out %return.param: %ptr.727 { +// CHECK:STDOUT: fn @EqualWitnesses(%p.param: %ptr.d53) -> out %return.param: %ptr.d53 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.727 = name_ref p, %p -// CHECK:STDOUT: %impl.elem0: %.378 = impl_witness_access constants.%Copy.impl_witness.b80, element0 [concrete = constants.%ptr.as.Copy.impl.Op.b43] +// CHECK:STDOUT: %p.ref: %ptr.d53 = name_ref p, %p +// CHECK:STDOUT: %impl.elem0: %.8e0 = impl_witness_access constants.%Copy.impl_witness.647, element0 [concrete = constants.%ptr.as.Copy.impl.Op.291] // CHECK:STDOUT: %bound_method.loc20_10.1: = bound_method %p.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%Wrap.cb4) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%Wrap.f39) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc20_10.2: = bound_method %p.ref, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.727 = call %bound_method.loc20_10.2(%p.ref) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.d53 = call %bound_method.loc20_10.2(%p.ref) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/impls/destroy.carbon b/toolchain/check/testdata/interop/cpp/impls/destroy.carbon index 1613efa46984..1ddd4add91ad 100644 --- a/toolchain/check/testdata/interop/cpp/impls/destroy.carbon +++ b/toolchain/check/testdata/interop/cpp/impls/destroy.carbon @@ -214,11 +214,11 @@ fn EqualWitnesses(p: Wrap(Cpp.PublicDestructor)*) -> Wrap(Cpp.PublicDestructor)* // CHECK:STDOUT: %PublicDestructor.val: %PublicDestructor = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Self: %Destroy.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.12b: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.73c: %Destroy.WithSelf.Op.type.12b = struct_value () [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.630: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.821: %Destroy.WithSelf.Op.type.630 = struct_value () [symbolic] // CHECK:STDOUT: %PublicDestructor.cpp_destructor.type: type = fn_type @PublicDestructor.cpp_destructor [concrete] // CHECK:STDOUT: %PublicDestructor.cpp_destructor: %PublicDestructor.cpp_destructor.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.cc4: = custom_witness (), @Destroy [concrete] +// CHECK:STDOUT: %custom_witness.d0a: = custom_witness (), @Destroy [concrete] // CHECK:STDOUT: %TrivialDestroy.type: type = fn_type @TrivialDestroy [concrete] // CHECK:STDOUT: %TrivialDestroy: %TrivialDestroy.type = struct_value () [concrete] // CHECK:STDOUT: %TrivialDestructor: type = class_type @TrivialDestructor [concrete] @@ -226,7 +226,7 @@ fn EqualWitnesses(p: Wrap(Cpp.PublicDestructor)*) -> Wrap(Cpp.PublicDestructor)* // CHECK:STDOUT: %TrivialDestructor.val: %TrivialDestructor = struct_value () [concrete] // CHECK:STDOUT: %TrivialDestructor.cpp_destructor.type: type = fn_type @TrivialDestructor.cpp_destructor [concrete] // CHECK:STDOUT: %TrivialDestructor.cpp_destructor: %TrivialDestructor.cpp_destructor.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.facet.b4f: %Destroy.type = facet_value %TrivialDestructor, (%custom_witness.cc4) [concrete] +// CHECK:STDOUT: %Destroy.facet.15f: %Destroy.type = facet_value %TrivialDestructor, (%custom_witness.d0a) [concrete] // CHECK:STDOUT: %TrivialDestructor.Op.type: type = fn_type @TrivialDestructor.Op [concrete] // CHECK:STDOUT: %TrivialDestructor.Op: %TrivialDestructor.Op.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -244,7 +244,7 @@ fn EqualWitnesses(p: Wrap(Cpp.PublicDestructor)*) -> Wrap(Cpp.PublicDestructor)* // CHECK:STDOUT: } // CHECK:STDOUT: %PublicDestructor.decl: type = class_decl @PublicDestructor [concrete = constants.%PublicDestructor] {} {} // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %Destroy.WithSelf.Op.decl: %Destroy.WithSelf.Op.type.12b = fn_decl @Destroy.WithSelf.Op [symbolic = @Destroy.WithSelf.%Destroy.WithSelf.Op (constants.%Destroy.WithSelf.Op.73c)] {} {} +// CHECK:STDOUT: %Destroy.WithSelf.Op.decl: %Destroy.WithSelf.Op.type.630 = fn_decl @Destroy.WithSelf.Op [symbolic = @Destroy.WithSelf.%Destroy.WithSelf.Op (constants.%Destroy.WithSelf.Op.821)] {} {} // CHECK:STDOUT: %TrivialDestructor.decl: type = class_decl @TrivialDestructor [concrete = constants.%TrivialDestructor] {} {} // CHECK:STDOUT: %TrivialDestructor.cpp_destructor.decl: %TrivialDestructor.cpp_destructor.type = fn_decl @TrivialDestructor.cpp_destructor [concrete = constants.%TrivialDestructor.cpp_destructor] { // CHECK:STDOUT: %self.param_patt: %pattern_type.322 = ref_param_pattern [concrete] @@ -343,7 +343,7 @@ fn EqualWitnesses(p: Wrap(Cpp.PublicDestructor)*) -> Wrap(Cpp.PublicDestructor)* // CHECK:STDOUT: // CHECK:STDOUT: fn @TrivialDestructor.cpp_destructor(%self.param: ref %TrivialDestructor) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @TrivialDestructor.Op(%self.param: ref %TrivialDestructor) [thunk imports.%TrivialDestructor.cpp_destructor.decl for imports.%Destroy.WithSelf.Op.decl, @Destroy.WithSelf.Op(constants.%Destroy.facet.b4f)] { +// CHECK:STDOUT: fn @TrivialDestructor.Op(%self.param: ref %TrivialDestructor) [thunk imports.%TrivialDestructor.cpp_destructor.decl for imports.%Destroy.WithSelf.Op.decl, @Destroy.WithSelf.Op(constants.%Destroy.facet.15f)] { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Op.ref: %TrivialDestructor.cpp_destructor.type = name_ref Op, imports.%TrivialDestructor.cpp_destructor.decl [concrete = constants.%TrivialDestructor.cpp_destructor] // CHECK:STDOUT: %TrivialDestructor.cpp_destructor.bound: = bound_method %self.param, %Op.ref @@ -359,7 +359,7 @@ fn EqualWitnesses(p: Wrap(Cpp.PublicDestructor)*) -> Wrap(Cpp.PublicDestructor)* // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %struct_type.base.233: type = struct_type {.base: %ProtectedDestructor} [concrete] -// CHECK:STDOUT: %pattern_type.e25: type = pattern_type %Derived [concrete] +// CHECK:STDOUT: %pattern_type.cd3: type = pattern_type %Derived [concrete] // CHECK:STDOUT: %empty_struct.a40: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.base.f5e: type = struct_type {.base: %empty_struct_type} [concrete] // CHECK:STDOUT: %struct: %struct_type.base.f5e = struct_value (%empty_struct.a40) [concrete] @@ -367,15 +367,15 @@ fn EqualWitnesses(p: Wrap(Cpp.PublicDestructor)*) -> Wrap(Cpp.PublicDestructor)* // CHECK:STDOUT: %empty_struct.724: %.1d0 = struct_value () [concrete] // CHECK:STDOUT: %ProtectedDestructor.val: %ProtectedDestructor = struct_value () [concrete] // CHECK:STDOUT: %Derived.val: %Derived = struct_value (%ProtectedDestructor.val) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc20_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc20_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @DestroyClassWithProtectedBaseDestructor() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e25 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.e25 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.cd3 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.cd3 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Derived = var %a.var_patt // CHECK:STDOUT: %.loc20_37.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct.a40] @@ -389,7 +389,7 @@ fn EqualWitnesses(p: Wrap(Cpp.PublicDestructor)*) -> Wrap(Cpp.PublicDestructor)* // CHECK:STDOUT: assign %a.var, %.loc20_3 // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] // CHECK:STDOUT: %a: ref %Derived = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -412,7 +412,7 @@ fn EqualWitnesses(p: Wrap(Cpp.PublicDestructor)*) -> Wrap(Cpp.PublicDestructor)* // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %struct_type.base.dea: type = struct_type {.base: %PrivateDestructor} [concrete] -// CHECK:STDOUT: %pattern_type.377: type = pattern_type %Derived [concrete] +// CHECK:STDOUT: %pattern_type.cd3: type = pattern_type %Derived [concrete] // CHECK:STDOUT: %empty_struct.a40: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %struct_type.base.f5e: type = struct_type {.base: %empty_struct_type} [concrete] // CHECK:STDOUT: %struct: %struct_type.base.f5e = struct_value (%empty_struct.a40) [concrete] @@ -420,15 +420,15 @@ fn EqualWitnesses(p: Wrap(Cpp.PublicDestructor)*) -> Wrap(Cpp.PublicDestructor)* // CHECK:STDOUT: %empty_struct.0b0: %.ddb = struct_value () [concrete] // CHECK:STDOUT: %PrivateDestructor.val: %PrivateDestructor = struct_value () [concrete] // CHECK:STDOUT: %Derived.val: %Derived = struct_value (%PrivateDestructor.val) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc21_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc21_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @DestroyClassWithPrivateBaseDestructor() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.377 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.377 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.cd3 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.cd3 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Derived = var %a.var_patt // CHECK:STDOUT: %.loc21_37.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct.a40] @@ -442,7 +442,7 @@ fn EqualWitnesses(p: Wrap(Cpp.PublicDestructor)*) -> Wrap(Cpp.PublicDestructor)* // CHECK:STDOUT: assign %a.var, %.loc21_3 // CHECK:STDOUT: %Derived.ref: type = name_ref Derived, file.%Derived.decl [concrete = constants.%Derived] // CHECK:STDOUT: %a: ref %Derived = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/impls/implicit_as.carbon b/toolchain/check/testdata/interop/cpp/impls/implicit_as.carbon index cbcbfd9b8195..4e0183f5980e 100644 --- a/toolchain/check/testdata/interop/cpp/impls/implicit_as.carbon +++ b/toolchain/check/testdata/interop/cpp/impls/implicit_as.carbon @@ -1042,23 +1042,23 @@ fn InitFromStruct() { // CHECK:STDOUT: %ptr.5a9: type = ptr_type %Two [concrete] // CHECK:STDOUT: %Two__carbon_thunk.type: type = fn_type @Two__carbon_thunk [concrete] // CHECK:STDOUT: %Two__carbon_thunk: %Two__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: %ThreeWithDefault: type = class_type @ThreeWithDefault [concrete] // CHECK:STDOUT: %pattern_type.830: type = pattern_type %ThreeWithDefault [concrete] // CHECK:STDOUT: %ptr.da2: type = ptr_type %ThreeWithDefault [concrete] @@ -1069,9 +1069,9 @@ fn InitFromStruct() { // CHECK:STDOUT: %tuple.2d5: %tuple.type.37f = tuple_value (%int_1.5b8, %int_2.ecc, %int_3.1ba) [concrete] // CHECK:STDOUT: %ThreeWithDefault__carbon_thunk.type.b324b0.2: type = fn_type @ThreeWithDefault__carbon_thunk.2 [concrete] // CHECK:STDOUT: %ThreeWithDefault__carbon_thunk.8592b9.2: %ThreeWithDefault__carbon_thunk.type.b324b0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] // CHECK:STDOUT: %ThreeWithDefault.cpp_destructor.type: type = fn_type @ThreeWithDefault.cpp_destructor [concrete] // CHECK:STDOUT: %ThreeWithDefault.cpp_destructor: %ThreeWithDefault.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: %ThreeWithDefault.Op.type: type = fn_type @ThreeWithDefault.Op [concrete] @@ -1094,8 +1094,8 @@ fn InitFromStruct() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %ThreeWithDefault.decl: type = class_decl @ThreeWithDefault [concrete = constants.%ThreeWithDefault] {} {} // CHECK:STDOUT: %ThreeWithDefault__carbon_thunk.decl.be9bad.1: %ThreeWithDefault__carbon_thunk.type.b324b0.1 = fn_decl @ThreeWithDefault__carbon_thunk.1 [concrete = constants.%ThreeWithDefault__carbon_thunk.8592b9.1] { // CHECK:STDOUT: @@ -1132,20 +1132,20 @@ fn InitFromStruct() { // CHECK:STDOUT: %Two.ref: type = name_ref Two, imports.%Two.decl [concrete = constants.%Two] // CHECK:STDOUT: } // CHECK:STDOUT: %.loc8_25.2: ref %Two = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc8_21: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_21.1: = bound_method %int_1.loc8, %impl.elem0.loc8_21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc8_21: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_21.1: = bound_method %int_1.loc8, %impl.elem0.loc8_21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc8_21: = specific_function %impl.elem0.loc8_21, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_21.2: = bound_method %int_1.loc8, %specific_fn.loc8_21 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_21: init %i32 = call %bound_method.loc8_21.2(%int_1.loc8) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_21.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_21 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_21.2: %i32 = converted %int_1.loc8, %.loc8_21.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc8_24: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_24.1: = bound_method %int_2.loc8, %impl.elem0.loc8_24 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc8_21.2: = bound_method %int_1.loc8, %specific_fn.loc8_21 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_21: init %i32 = call %bound_method.loc8_21.2(%int_1.loc8) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_21.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_21 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_21.2: %i32 = converted %int_1.loc8, %.loc8_21.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc8_24: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_24.1: = bound_method %int_2.loc8, %impl.elem0.loc8_24 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc8_24: = specific_function %impl.elem0.loc8_24, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_24.2: = bound_method %int_2.loc8, %specific_fn.loc8_24 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_24: init %i32 = call %bound_method.loc8_24.2(%int_2.loc8) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_24.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_24 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_24.2: %i32 = converted %int_2.loc8, %.loc8_24.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc8_24.2: = bound_method %int_2.loc8, %specific_fn.loc8_24 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_24: init %i32 = call %bound_method.loc8_24.2(%int_2.loc8) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_24.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_24 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_24.2: %i32 = converted %int_2.loc8, %.loc8_24.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %addr.loc8: %ptr.5a9 = addr_of %.loc8_25.2 // CHECK:STDOUT: %Two__carbon_thunk.call: init %empty_tuple.type = call imports.%Two__carbon_thunk.decl(%.loc8_21.2, %.loc8_24.2, %addr.loc8) // CHECK:STDOUT: %.loc8_25.3: init %Two to %.loc8_25.2 = mark_in_place_init %Two__carbon_thunk.call @@ -1164,20 +1164,20 @@ fn InitFromStruct() { // CHECK:STDOUT: %ThreeWithDefault.ref.loc10: type = name_ref ThreeWithDefault, imports.%ThreeWithDefault.decl [concrete = constants.%ThreeWithDefault] // CHECK:STDOUT: } // CHECK:STDOUT: %.loc10_38.2: ref %ThreeWithDefault = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc10_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_34.1: = bound_method %int_1.loc10, %impl.elem0.loc10_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc10_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_34.1: = bound_method %int_1.loc10, %impl.elem0.loc10_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc10_34: = specific_function %impl.elem0.loc10_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_34.2: = bound_method %int_1.loc10, %specific_fn.loc10_34 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_34: init %i32 = call %bound_method.loc10_34.2(%int_1.loc10) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_34 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_34.2: %i32 = converted %int_1.loc10, %.loc10_34.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc10_37: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_37.1: = bound_method %int_2.loc10, %impl.elem0.loc10_37 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc10_34.2: = bound_method %int_1.loc10, %specific_fn.loc10_34 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_34: init %i32 = call %bound_method.loc10_34.2(%int_1.loc10) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_34 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_34.2: %i32 = converted %int_1.loc10, %.loc10_34.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc10_37: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_37.1: = bound_method %int_2.loc10, %impl.elem0.loc10_37 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc10_37: = specific_function %impl.elem0.loc10_37, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_37.2: = bound_method %int_2.loc10, %specific_fn.loc10_37 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_37: init %i32 = call %bound_method.loc10_37.2(%int_2.loc10) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_37.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_37 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_37.2: %i32 = converted %int_2.loc10, %.loc10_37.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc10_37.2: = bound_method %int_2.loc10, %specific_fn.loc10_37 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_37: init %i32 = call %bound_method.loc10_37.2(%int_2.loc10) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_37.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_37 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_37.2: %i32 = converted %int_2.loc10, %.loc10_37.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %addr.loc10: %ptr.da2 = addr_of %.loc10_38.2 // CHECK:STDOUT: %ThreeWithDefault__carbon_thunk.call.loc10: init %empty_tuple.type = call imports.%ThreeWithDefault__carbon_thunk.decl.be9bad.1(%.loc10_34.2, %.loc10_37.2, %addr.loc10) // CHECK:STDOUT: %.loc10_38.3: init %ThreeWithDefault to %.loc10_38.2 = mark_in_place_init %ThreeWithDefault__carbon_thunk.call.loc10 @@ -1197,27 +1197,27 @@ fn InitFromStruct() { // CHECK:STDOUT: %ThreeWithDefault.ref.loc12: type = name_ref ThreeWithDefault, imports.%ThreeWithDefault.decl [concrete = constants.%ThreeWithDefault] // CHECK:STDOUT: } // CHECK:STDOUT: %.loc12_41.2: ref %ThreeWithDefault = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc12_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc12_34.1: = bound_method %int_1.loc12, %impl.elem0.loc12_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc12_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc12_34.1: = bound_method %int_1.loc12, %impl.elem0.loc12_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc12_34: = specific_function %impl.elem0.loc12_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc12_34.2: = bound_method %int_1.loc12, %specific_fn.loc12_34 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_34: init %i32 = call %bound_method.loc12_34.2(%int_1.loc12) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc12_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_34 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc12_34.2: %i32 = converted %int_1.loc12, %.loc12_34.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc12_37: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc12_37.1: = bound_method %int_2.loc12, %impl.elem0.loc12_37 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc12_34.2: = bound_method %int_1.loc12, %specific_fn.loc12_34 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_34: init %i32 = call %bound_method.loc12_34.2(%int_1.loc12) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc12_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_34 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc12_34.2: %i32 = converted %int_1.loc12, %.loc12_34.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc12_37: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc12_37.1: = bound_method %int_2.loc12, %impl.elem0.loc12_37 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc12_37: = specific_function %impl.elem0.loc12_37, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc12_37.2: = bound_method %int_2.loc12, %specific_fn.loc12_37 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_37: init %i32 = call %bound_method.loc12_37.2(%int_2.loc12) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc12_37.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_37 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc12_37.2: %i32 = converted %int_2.loc12, %.loc12_37.1 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc12_40: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc12_40.1: = bound_method %int_3, %impl.elem0.loc12_40 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %bound_method.loc12_37.2: = bound_method %int_2.loc12, %specific_fn.loc12_37 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_37: init %i32 = call %bound_method.loc12_37.2(%int_2.loc12) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc12_37.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_37 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc12_37.2: %i32 = converted %int_2.loc12, %.loc12_37.1 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc12_40: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc12_40.1: = bound_method %int_3, %impl.elem0.loc12_40 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc12_40: = specific_function %impl.elem0.loc12_40, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc12_40.2: = bound_method %int_3, %specific_fn.loc12_40 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_40: init %i32 = call %bound_method.loc12_40.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc12_40.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_40 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc12_40.2: %i32 = converted %int_3, %.loc12_40.1 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc12_40.2: = bound_method %int_3, %specific_fn.loc12_40 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_40: init %i32 = call %bound_method.loc12_40.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc12_40.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_40 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc12_40.2: %i32 = converted %int_3, %.loc12_40.1 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %addr.loc12: %ptr.da2 = addr_of %.loc12_41.2 // CHECK:STDOUT: %ThreeWithDefault__carbon_thunk.call.loc12: init %empty_tuple.type = call imports.%ThreeWithDefault__carbon_thunk.decl.be9bad.2(%.loc12_34.2, %.loc12_37.2, %.loc12_40.2, %addr.loc12) // CHECK:STDOUT: %.loc12_41.3: init %ThreeWithDefault to %.loc12_41.2 = mark_in_place_init %ThreeWithDefault__carbon_thunk.call.loc12 @@ -1381,28 +1381,28 @@ fn InitFromStruct() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %NonAggregate__carbon_thunk.type.67cd37.2: type = fn_type @NonAggregate__carbon_thunk.2 [concrete] // CHECK:STDOUT: %NonAggregate__carbon_thunk.30ebf5.2: %NonAggregate__carbon_thunk.type.67cd37.2 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %tuple.type.f94: type = tuple_type (Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.ad8: %tuple.type.f94 = tuple_value (%int_1.5b8, %int_2.ecc) [concrete] // CHECK:STDOUT: %NonAggregate__carbon_thunk.type.67cd37.3: type = fn_type @NonAggregate__carbon_thunk.3 [concrete] // CHECK:STDOUT: %NonAggregate__carbon_thunk.30ebf5.3: %NonAggregate__carbon_thunk.type.67cd37.3 = struct_value () [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: %NonAggregate.cpp_destructor.type: type = fn_type @NonAggregate.cpp_destructor [concrete] // CHECK:STDOUT: %NonAggregate.cpp_destructor: %NonAggregate.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: %NonAggregate.Op.type: type = fn_type @NonAggregate.Op [concrete] @@ -1425,8 +1425,8 @@ fn InitFromStruct() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %NonAggregate__carbon_thunk.decl.2d9ba4.3: %NonAggregate__carbon_thunk.type.67cd37.3 = fn_decl @NonAggregate__carbon_thunk.3 [concrete = constants.%NonAggregate__carbon_thunk.30ebf5.3] { // CHECK:STDOUT: // CHECK:STDOUT: } { @@ -1467,13 +1467,13 @@ fn InitFromStruct() { // CHECK:STDOUT: %NonAggregate.ref.loc9: type = name_ref NonAggregate, imports.%NonAggregate.decl [concrete = constants.%NonAggregate] // CHECK:STDOUT: } // CHECK:STDOUT: %.loc9_32.2: ref %NonAggregate = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc9: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_30.1: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc9: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_30.1: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc9: = specific_function %impl.elem0.loc9, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_30.2: = bound_method %int_1.loc9, %specific_fn.loc9 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_30.2(%int_1.loc9) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_30.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_30.2: %i32 = converted %int_1.loc9, %.loc9_30.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc9_30.2: = bound_method %int_1.loc9, %specific_fn.loc9 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_30.2(%int_1.loc9) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_30.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_30.2: %i32 = converted %int_1.loc9, %.loc9_30.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %addr.loc9: %ptr.9fe = addr_of %.loc9_32.2 // CHECK:STDOUT: %NonAggregate__carbon_thunk.call.loc9: init %empty_tuple.type = call imports.%NonAggregate__carbon_thunk.decl.2d9ba4.2(%.loc9_30.2, %addr.loc9) // CHECK:STDOUT: %.loc9_32.3: init %NonAggregate to %.loc9_32.2 = mark_in_place_init %NonAggregate__carbon_thunk.call.loc9 @@ -1492,20 +1492,20 @@ fn InitFromStruct() { // CHECK:STDOUT: %NonAggregate.ref.loc10: type = name_ref NonAggregate, imports.%NonAggregate.decl [concrete = constants.%NonAggregate] // CHECK:STDOUT: } // CHECK:STDOUT: %.loc10_34.2: ref %NonAggregate = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc10_30: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_30.1: = bound_method %int_1.loc10, %impl.elem0.loc10_30 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc10_30: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_30.1: = bound_method %int_1.loc10, %impl.elem0.loc10_30 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc10_30: = specific_function %impl.elem0.loc10_30, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_30.2: = bound_method %int_1.loc10, %specific_fn.loc10_30 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_30: init %i32 = call %bound_method.loc10_30.2(%int_1.loc10) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_30.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_30 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_30.2: %i32 = converted %int_1.loc10, %.loc10_30.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc10_33: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_33.1: = bound_method %int_2, %impl.elem0.loc10_33 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc10_30.2: = bound_method %int_1.loc10, %specific_fn.loc10_30 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_30: init %i32 = call %bound_method.loc10_30.2(%int_1.loc10) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_30.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_30 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_30.2: %i32 = converted %int_1.loc10, %.loc10_30.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc10_33: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_33.1: = bound_method %int_2, %impl.elem0.loc10_33 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc10_33: = specific_function %impl.elem0.loc10_33, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_33.2: = bound_method %int_2, %specific_fn.loc10_33 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_33: init %i32 = call %bound_method.loc10_33.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_33.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_33 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_33.2: %i32 = converted %int_2, %.loc10_33.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc10_33.2: = bound_method %int_2, %specific_fn.loc10_33 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_33: init %i32 = call %bound_method.loc10_33.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_33.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_33 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_33.2: %i32 = converted %int_2, %.loc10_33.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %addr.loc10: %ptr.9fe = addr_of %.loc10_34.2 // CHECK:STDOUT: %NonAggregate__carbon_thunk.call.loc10: init %empty_tuple.type = call imports.%NonAggregate__carbon_thunk.decl.2d9ba4.3(%.loc10_30.2, %.loc10_33.2, %addr.loc10) // CHECK:STDOUT: %.loc10_34.3: init %NonAggregate to %.loc10_34.2 = mark_in_place_init %NonAggregate__carbon_thunk.call.loc10 diff --git a/toolchain/check/testdata/interop/cpp/macros/macros.carbon b/toolchain/check/testdata/interop/cpp/macros/macros.carbon index 39c064ed5aa6..5d2bb6afb17a 100644 --- a/toolchain/check/testdata/interop/cpp/macros/macros.carbon +++ b/toolchain/check/testdata/interop/cpp/macros/macros.carbon @@ -976,15 +976,15 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %int_42.bc5: %i32 = int_value 42 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %int_42.daa: %i32 = int_value 42 [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.c8a: type = pattern_type %i64 [concrete] -// CHECK:STDOUT: %int_42.268: %i64 = int_value 42 [concrete] +// CHECK:STDOUT: %pattern_type.fdd: type = pattern_type %i64 [concrete] +// CHECK:STDOUT: %int_42.20d: %i64 = int_value 42 [concrete] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.632: type = pattern_type %u32 [concrete] -// CHECK:STDOUT: %int_42.fad: %u32 = int_value 42 [concrete] +// CHECK:STDOUT: %pattern_type.126: type = pattern_type %u32 [concrete] +// CHECK:STDOUT: %int_42.9fe: %u32 = int_value 42 [concrete] // CHECK:STDOUT: %int_255: %i32 = int_value 255 [concrete] // CHECK:STDOUT: %int_8: %i32 = int_value 8 [concrete] // CHECK:STDOUT: %int_5: %i32 = int_value 5 [concrete] @@ -992,9 +992,9 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Cpp: = namespace file.%Cpp.import_cpp, [concrete] { -// CHECK:STDOUT: .CONFIG_VALUE = constants.%int_42.bc5 -// CHECK:STDOUT: .CONFIG_VALUE_LONG = constants.%int_42.268 -// CHECK:STDOUT: .CONFIG_VALUE_UNSIGNED = constants.%int_42.fad +// CHECK:STDOUT: .CONFIG_VALUE = constants.%int_42.daa +// CHECK:STDOUT: .CONFIG_VALUE_LONG = constants.%int_42.20d +// CHECK:STDOUT: .CONFIG_VALUE_UNSIGNED = constants.%int_42.9fe // CHECK:STDOUT: .CONFIG_VALUE_HEXA = constants.%int_255 // CHECK:STDOUT: .CONFIG_VALUE_OCTAL = constants.%int_8 // CHECK:STDOUT: .CONFIG_VALUE_BINARY = constants.%int_5 @@ -1005,31 +1005,31 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %CONFIG_VALUE.ref: %i32 = name_ref CONFIG_VALUE, constants.%int_42.bc5 [concrete = constants.%int_42.bc5] +// CHECK:STDOUT: %CONFIG_VALUE.ref: %i32 = name_ref CONFIG_VALUE, constants.%int_42.daa [concrete = constants.%int_42.daa] // CHECK:STDOUT: %i32.loc8: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: %i32 = value_binding a, %CONFIG_VALUE.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c8a = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.fdd = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %CONFIG_VALUE_LONG.ref: %i64 = name_ref CONFIG_VALUE_LONG, constants.%int_42.268 [concrete = constants.%int_42.268] +// CHECK:STDOUT: %CONFIG_VALUE_LONG.ref: %i64 = name_ref CONFIG_VALUE_LONG, constants.%int_42.20d [concrete = constants.%int_42.20d] // CHECK:STDOUT: %i64.loc9: type = type_literal constants.%i64 [concrete = constants.%i64] // CHECK:STDOUT: %b: %i64 = value_binding b, %CONFIG_VALUE_LONG.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.632 = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.126 = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc10: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %CONFIG_VALUE_UNSIGNED.ref: %u32 = name_ref CONFIG_VALUE_UNSIGNED, constants.%int_42.fad [concrete = constants.%int_42.fad] +// CHECK:STDOUT: %CONFIG_VALUE_UNSIGNED.ref: %u32 = name_ref CONFIG_VALUE_UNSIGNED, constants.%int_42.9fe [concrete = constants.%int_42.9fe] // CHECK:STDOUT: %u32.loc10: type = type_literal constants.%u32 [concrete = constants.%u32] // CHECK:STDOUT: %c: %u32 = value_binding c, %CONFIG_VALUE_UNSIGNED.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.c6b = value_binding_pattern d [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.104 = value_binding_pattern d [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1037,7 +1037,7 @@ fn F() { // CHECK:STDOUT: %i32.loc11: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %d: %i32 = value_binding d, %CONFIG_VALUE_HEXA.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e.patt: %pattern_type.c6b = value_binding_pattern e [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.104 = value_binding_pattern e [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc12: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1045,7 +1045,7 @@ fn F() { // CHECK:STDOUT: %i32.loc12: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %e: %i32 = value_binding e, %CONFIG_VALUE_OCTAL.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %f.patt: %pattern_type.c6b = value_binding_pattern f [concrete] +// CHECK:STDOUT: %f.patt: %pattern_type.104 = value_binding_pattern f [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc13: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1061,98 +1061,98 @@ fn F() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From.fe9: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.2f8: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From.fe9) [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.7c2: %Int.as.ImplicitAs.impl.Convert.type.2f8 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.842: = impl_witness imports.%ImplicitAs.impl_witness_table.9df, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.73a: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.735: %Int.as.ImplicitAs.impl.Convert.type.73a = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.514: %ImplicitAs.type.4bd = facet_value %i32, (%ImplicitAs.impl_witness.842) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.356: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.514) [concrete] -// CHECK:STDOUT: %.b2d: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.356, %ImplicitAs.facet.514 [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.d5e, %Int.as.ImplicitAs.impl.Convert.735 [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.735, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.5b4: = bound_method %int_1.d5e, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.f73: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From.fe9) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.34b: %Int.as.ImplicitAs.impl.Convert.type.f73 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.062: = impl_witness imports.%ImplicitAs.impl_witness_table.eac, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.337: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.64e: %Int.as.ImplicitAs.impl.Convert.type.337 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.89e: %ImplicitAs.type.ace = facet_value %i32, (%ImplicitAs.impl_witness.062) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b68: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.89e) [concrete] +// CHECK:STDOUT: %.7a9: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b68, %ImplicitAs.facet.89e [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.d9c, %Int.as.ImplicitAs.impl.Convert.64e [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.64e, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.682: = bound_method %int_1.d9c, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.750 [concrete] +// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.a26 [concrete] // CHECK:STDOUT: %f32.9b3: type = float_type %int_32, f32 [concrete] -// CHECK:STDOUT: %pattern_type.ee6: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.aab: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] // CHECK:STDOUT: %tuple.type: type = tuple_type (Core.FloatLiteral) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%float.6da) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.1dd: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.750)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bfc: = impl_witness imports.%ImplicitAs.impl_witness_table.3c0, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.9f5: %ImplicitAs.type.1dd = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.bfc) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.750, %ImplicitAs.facet.9f5) [concrete] -// CHECK:STDOUT: %.28b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68e, %ImplicitAs.facet.9f5 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %pattern_type.9a5: type = pattern_type %f32.750 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.5a8: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%float.467) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc10_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.d0d: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.a26)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.65d: = impl_witness imports.%ImplicitAs.impl_witness_table.234, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.82a: %ImplicitAs.type.d0d = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.65d) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c87: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.a26, %ImplicitAs.facet.82a) [concrete] +// CHECK:STDOUT: %.3a8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c87, %ImplicitAs.facet.82a [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %pattern_type.f3b: type = pattern_type %f32.a26 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.aaa: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%float.2ec) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc10_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Cpp: = namespace file.%Cpp.import_cpp, [concrete] { -// CHECK:STDOUT: .n = constants.%int_1.d5e +// CHECK:STDOUT: .n = constants.%int_1.d9c // CHECK:STDOUT: .X = %X // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.321: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.2f8) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.7c2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.9df = impl_witness_table (%Core.import_ref.321), @Int.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.831: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3c0 = impl_witness_table (%Core.import_ref.831), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.835: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.f73) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.34b)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eac = impl_witness_table (%Core.import_ref.835), @Int.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.234 = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %X: = namespace [concrete] { // CHECK:STDOUT: .n = %n.var // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %n.patt: %pattern_type.9a5 = ref_binding_pattern n [concrete] -// CHECK:STDOUT: %n.var_patt: %pattern_type.9a5 = var_pattern %n.patt [concrete] -// CHECK:STDOUT: %n.var: ref %f32.750 = var %n.var_patt [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.f3b = ref_binding_pattern n [concrete] +// CHECK:STDOUT: %n.var_patt: %pattern_type.f3b = var_pattern %n.patt [concrete] +// CHECK:STDOUT: %n.var: ref %f32.a26 = var %n.var_patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.ee6 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.ee6 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.aab = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.aab = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] // CHECK:STDOUT: %.loc10_42.1: %tuple.type = tuple_literal (%float) [concrete = constants.%tuple] -// CHECK:STDOUT: %impl.elem0.loc10_42: %.28b = impl_witness_access constants.%ImplicitAs.impl_witness.bfc, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] +// CHECK:STDOUT: %impl.elem0.loc10_42: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] // CHECK:STDOUT: %bound_method.loc10_42.1: = bound_method %float, %impl.elem0.loc10_42 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc10_42: = specific_function %impl.elem0.loc10_42, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_42.2: = bound_method %float, %specific_fn.loc10_42 [concrete = constants.%bound_method.5a8] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.750 = call %bound_method.loc10_42.2(%float) [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc10_42.2: init %f32.750 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.467] +// CHECK:STDOUT: %bound_method.loc10_42.2: = bound_method %float, %specific_fn.loc10_42 [concrete = constants.%bound_method.aaa] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.a26 = call %bound_method.loc10_42.2(%float) [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc10_42.2: init %f32.a26 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.2ec] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %.loc10_42.3: ref %f32.750 = array_index %a.var, %int_0 -// CHECK:STDOUT: %.loc10_42.4: init %f32.750 to %.loc10_42.3 = in_place_init %.loc10_42.2 [concrete = constants.%float.467] +// CHECK:STDOUT: %.loc10_42.3: ref %f32.a26 = array_index %a.var, %int_0 +// CHECK:STDOUT: %.loc10_42.4: init %f32.a26 to %.loc10_42.3 = in_place_init %.loc10_42.2 [concrete = constants.%float.2ec] // CHECK:STDOUT: %.loc10_42.5: init %array_type to %a.var = array_init (%.loc10_42.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc10_3: init %array_type = converted %.loc10_42.1, %.loc10_42.5 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc10_3 // CHECK:STDOUT: %.loc10_33: type = splice_block %array_type [concrete = constants.%array_type] { -// CHECK:STDOUT: %f32.loc10: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] +// CHECK:STDOUT: %f32.loc10: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] // CHECK:STDOUT: %Cpp.ref.loc10: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %n.ref.loc10: %i32 = name_ref n, constants.%int_1.d5e [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc10_31: %.b2d = impl_witness_access constants.%ImplicitAs.impl_witness.842, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.735] +// CHECK:STDOUT: %n.ref.loc10: %i32 = name_ref n, constants.%int_1.d9c [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc10_31: %.7a9 = impl_witness_access constants.%ImplicitAs.impl_witness.062, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.64e] // CHECK:STDOUT: %bound_method.loc10_31.1: = bound_method %n.ref.loc10, %impl.elem0.loc10_31 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc10_31: = specific_function %impl.elem0.loc10_31, @Int.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Int.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_31.2: = bound_method %n.ref.loc10, %specific_fn.loc10_31 [concrete = constants.%bound_method.5b4] +// CHECK:STDOUT: %bound_method.loc10_31.2: = bound_method %n.ref.loc10, %specific_fn.loc10_31 [concrete = constants.%bound_method.682] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.loc10_31.2(%n.ref.loc10) [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc10_31.1: Core.IntLiteral = value_of_initializer %Int.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc10_31.2: Core.IntLiteral = converted %n.ref.loc10, %.loc10_31.1 [concrete = constants.%int_1.5b8] @@ -1160,23 +1160,23 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.9a5 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f3b = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc12: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %X.ref: = name_ref X, imports.%X [concrete = imports.%X] // CHECK:STDOUT: -// CHECK:STDOUT: %n.ref.loc12: ref %f32.750 = name_ref n, imports.%n.var [concrete = imports.%n.var] -// CHECK:STDOUT: %f32.loc12: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %.loc12: %f32.750 = acquire_value %n.ref.loc12 -// CHECK:STDOUT: %b: %f32.750 = value_binding b, %.loc12 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %n.ref.loc12: ref %f32.a26 = name_ref n, imports.%n.var [concrete = imports.%n.var] +// CHECK:STDOUT: %f32.loc12: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %.loc12: %f32.a26 = acquire_value %n.ref.loc12 +// CHECK:STDOUT: %b: %f32.a26 = value_binding b, %.loc12 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc10_3.1(%self.param: ref %f32.9b3) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10_3.2(%self.param: ref %f32.750) { +// CHECK:STDOUT: fn @Destroy.Op.loc10_3.2(%self.param: ref %f32.a26) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1191,7 +1191,7 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_-1: %i32 = int_value -1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1205,7 +1205,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1220,7 +1220,7 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_3: %i32 = int_value 3 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1234,7 +1234,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1249,21 +1249,21 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.632: type = pattern_type %u32 [concrete] -// CHECK:STDOUT: %int_1.fbc: %u32 = int_value 1 [concrete] +// CHECK:STDOUT: %pattern_type.126: type = pattern_type %u32 [concrete] +// CHECK:STDOUT: %int_1.ce2: %u32 = int_value 1 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_100: %i32 = int_value 100 [concrete] // CHECK:STDOUT: %int_99: %i32 = int_value 99 [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Cpp: = namespace file.%Cpp.import_cpp, [concrete] { -// CHECK:STDOUT: .CAST_UNSIGNED = constants.%int_1.fbc +// CHECK:STDOUT: .CAST_UNSIGNED = constants.%int_1.ce2 // CHECK:STDOUT: .CAST_STATIC = constants.%int_100 // CHECK:STDOUT: .CAST_FUNCTIONAL = constants.%int_99 -// CHECK:STDOUT: .CAST_BOOL_TO_INT = constants.%int_1.d5e +// CHECK:STDOUT: .CAST_BOOL_TO_INT = constants.%int_1.d9c // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -1271,15 +1271,15 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.632 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.126 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %CAST_UNSIGNED.ref: %u32 = name_ref CAST_UNSIGNED, constants.%int_1.fbc [concrete = constants.%int_1.fbc] +// CHECK:STDOUT: %CAST_UNSIGNED.ref: %u32 = name_ref CAST_UNSIGNED, constants.%int_1.ce2 [concrete = constants.%int_1.ce2] // CHECK:STDOUT: %u32.loc8: type = type_literal constants.%u32 [concrete = constants.%u32] // CHECK:STDOUT: %a: %u32 = value_binding a, %CAST_UNSIGNED.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1287,7 +1287,7 @@ fn F() { // CHECK:STDOUT: %i32.loc9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: %i32 = value_binding b, %CAST_STATIC.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.c6b = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.104 = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc10: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1295,11 +1295,11 @@ fn F() { // CHECK:STDOUT: %i32.loc10: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %c: %i32 = value_binding c, %CAST_FUNCTIONAL.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.c6b = value_binding_pattern d [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.104 = value_binding_pattern d [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %CAST_BOOL_TO_INT.ref: %i32 = name_ref CAST_BOOL_TO_INT, constants.%int_1.d5e [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %CAST_BOOL_TO_INT.ref: %i32 = name_ref CAST_BOOL_TO_INT, constants.%int_1.d9c [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %i32.loc11: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %d: %i32 = value_binding d, %CAST_BOOL_TO_INT.ref // CHECK:STDOUT: @@ -1310,7 +1310,7 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_1: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1324,7 +1324,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1337,31 +1337,31 @@ fn F() { // CHECK:STDOUT: --- import_string_literal_object_like_macro.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %str.91f: type = class_type @String [concrete] +// CHECK:STDOUT: %str.abf: type = class_type @String [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %u64: type = class_type @UInt, @UInt(%int_64) [concrete] // CHECK:STDOUT: %char: type = class_type @Char [concrete] -// CHECK:STDOUT: %ptr.050: type = ptr_type %char [concrete] -// CHECK:STDOUT: %pattern_type.ff8: type = pattern_type %str.91f [concrete] -// CHECK:STDOUT: %str.3bd: %ptr.050 = string_literal "abc" [concrete] +// CHECK:STDOUT: %ptr.d63: type = ptr_type %char [concrete] +// CHECK:STDOUT: %pattern_type.3d7: type = pattern_type %str.abf [concrete] +// CHECK:STDOUT: %str.f96: %ptr.d63 = string_literal "abc" [concrete] // CHECK:STDOUT: %int_3: %u64 = int_value 3 [concrete] -// CHECK:STDOUT: %String.val.ce9: %str.91f = struct_value (%str.3bd, %int_3) [concrete] -// CHECK:STDOUT: %str.3f9: %ptr.050 = string_literal "" [concrete] +// CHECK:STDOUT: %String.val.2ac: %str.abf = struct_value (%str.f96, %int_3) [concrete] +// CHECK:STDOUT: %str.590: %ptr.d63 = string_literal "" [concrete] // CHECK:STDOUT: %int_0: %u64 = int_value 0 [concrete] -// CHECK:STDOUT: %String.val.180: %str.91f = struct_value (%str.3f9, %int_0) [concrete] -// CHECK:STDOUT: %str.907: %ptr.050 = string_literal " \t " [concrete] -// CHECK:STDOUT: %String.val.8b8: %str.91f = struct_value (%str.907, %int_3) [concrete] -// CHECK:STDOUT: %str.804: %ptr.050 = string_literal "ab" [concrete] +// CHECK:STDOUT: %String.val.cbc: %str.abf = struct_value (%str.590, %int_0) [concrete] +// CHECK:STDOUT: %str.603: %ptr.d63 = string_literal " \t " [concrete] +// CHECK:STDOUT: %String.val.f90: %str.abf = struct_value (%str.603, %int_3) [concrete] +// CHECK:STDOUT: %str.05f: %ptr.d63 = string_literal "ab" [concrete] // CHECK:STDOUT: %int_2: %u64 = int_value 2 [concrete] -// CHECK:STDOUT: %String.val.f57: %str.91f = struct_value (%str.804, %int_2) [concrete] -// CHECK:STDOUT: %str.fe0: %ptr.050 = string_literal " foo: \"bar\" { 123 } " [concrete] +// CHECK:STDOUT: %String.val.ee6: %str.abf = struct_value (%str.05f, %int_2) [concrete] +// CHECK:STDOUT: %str.c2f: %ptr.d63 = string_literal " foo: \"bar\" { 123 } " [concrete] // CHECK:STDOUT: %int_20: %u64 = int_value 20 [concrete] -// CHECK:STDOUT: %String.val.969: %str.91f = struct_value (%str.fe0, %int_20) [concrete] -// CHECK:STDOUT: %str.8e5: %ptr.050 = string_literal "\xD0\xB0\xD0\xB1\xD0\xB2" [concrete] +// CHECK:STDOUT: %String.val.f03: %str.abf = struct_value (%str.c2f, %int_20) [concrete] +// CHECK:STDOUT: %str.d36: %ptr.d63 = string_literal "\xD0\xB0\xD0\xB1\xD0\xB2" [concrete] // CHECK:STDOUT: %int_6: %u64 = int_value 6 [concrete] -// CHECK:STDOUT: %String.val.2f9: %str.91f = struct_value (%str.8e5, %int_6) [concrete] -// CHECK:STDOUT: %str.ac2: %ptr.050 = string_literal "xy" [concrete] -// CHECK:STDOUT: %String.val.846: %str.91f = struct_value (%str.ac2, %int_2) [concrete] +// CHECK:STDOUT: %String.val.07e: %str.abf = struct_value (%str.d36, %int_6) [concrete] +// CHECK:STDOUT: %str.6f1: %ptr.d63 = string_literal "xy" [concrete] +// CHECK:STDOUT: %String.val.a10: %str.abf = struct_value (%str.6f1, %int_2) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1380,61 +1380,61 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.ff8 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.3d7 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %SimpleString.ref: %str.91f = name_ref SimpleString, %String.val.1 [concrete = constants.%String.val.ce9] -// CHECK:STDOUT: %str.loc8: type = type_literal constants.%str.91f [concrete = constants.%str.91f] -// CHECK:STDOUT: %a: %str.91f = value_binding a, %SimpleString.ref +// CHECK:STDOUT: %SimpleString.ref: %str.abf = name_ref SimpleString, %String.val.1 [concrete = constants.%String.val.2ac] +// CHECK:STDOUT: %str.loc8: type = type_literal constants.%str.abf [concrete = constants.%str.abf] +// CHECK:STDOUT: %a: %str.abf = value_binding a, %SimpleString.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.ff8 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.3d7 = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %EmptyString.ref: %str.91f = name_ref EmptyString, %String.val.2 [concrete = constants.%String.val.180] -// CHECK:STDOUT: %str.loc9: type = type_literal constants.%str.91f [concrete = constants.%str.91f] -// CHECK:STDOUT: %b: %str.91f = value_binding b, %EmptyString.ref +// CHECK:STDOUT: %EmptyString.ref: %str.abf = name_ref EmptyString, %String.val.2 [concrete = constants.%String.val.cbc] +// CHECK:STDOUT: %str.loc9: type = type_literal constants.%str.abf [concrete = constants.%str.abf] +// CHECK:STDOUT: %b: %str.abf = value_binding b, %EmptyString.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.ff8 = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.3d7 = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc10: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %EscapeCharacter.ref: %str.91f = name_ref EscapeCharacter, %String.val.3 [concrete = constants.%String.val.8b8] -// CHECK:STDOUT: %str.loc10: type = type_literal constants.%str.91f [concrete = constants.%str.91f] -// CHECK:STDOUT: %c: %str.91f = value_binding c, %EscapeCharacter.ref +// CHECK:STDOUT: %EscapeCharacter.ref: %str.abf = name_ref EscapeCharacter, %String.val.3 [concrete = constants.%String.val.f90] +// CHECK:STDOUT: %str.loc10: type = type_literal constants.%str.abf [concrete = constants.%str.abf] +// CHECK:STDOUT: %c: %str.abf = value_binding c, %EscapeCharacter.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.ff8 = value_binding_pattern d [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.3d7 = value_binding_pattern d [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %Concatenated.ref: %str.91f = name_ref Concatenated, %String.val.4 [concrete = constants.%String.val.f57] -// CHECK:STDOUT: %str.loc11: type = type_literal constants.%str.91f [concrete = constants.%str.91f] -// CHECK:STDOUT: %d: %str.91f = value_binding d, %Concatenated.ref +// CHECK:STDOUT: %Concatenated.ref: %str.abf = name_ref Concatenated, %String.val.4 [concrete = constants.%String.val.ee6] +// CHECK:STDOUT: %str.loc11: type = type_literal constants.%str.abf [concrete = constants.%str.abf] +// CHECK:STDOUT: %d: %str.abf = value_binding d, %Concatenated.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e.patt: %pattern_type.ff8 = value_binding_pattern e [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.3d7 = value_binding_pattern e [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc12: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %RawString.ref: %str.91f = name_ref RawString, %String.val.5 [concrete = constants.%String.val.969] -// CHECK:STDOUT: %str.loc12: type = type_literal constants.%str.91f [concrete = constants.%str.91f] -// CHECK:STDOUT: %e: %str.91f = value_binding e, %RawString.ref +// CHECK:STDOUT: %RawString.ref: %str.abf = name_ref RawString, %String.val.5 [concrete = constants.%String.val.f03] +// CHECK:STDOUT: %str.loc12: type = type_literal constants.%str.abf [concrete = constants.%str.abf] +// CHECK:STDOUT: %e: %str.abf = value_binding e, %RawString.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %f.patt: %pattern_type.ff8 = value_binding_pattern f [concrete] +// CHECK:STDOUT: %f.patt: %pattern_type.3d7 = value_binding_pattern f [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc13: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %Utf8String.ref: %str.91f = name_ref Utf8String, %String.val.6 [concrete = constants.%String.val.2f9] -// CHECK:STDOUT: %str.loc13: type = type_literal constants.%str.91f [concrete = constants.%str.91f] -// CHECK:STDOUT: %f: %str.91f = value_binding f, %Utf8String.ref +// CHECK:STDOUT: %Utf8String.ref: %str.abf = name_ref Utf8String, %String.val.6 [concrete = constants.%String.val.07e] +// CHECK:STDOUT: %str.loc13: type = type_literal constants.%str.abf [concrete = constants.%str.abf] +// CHECK:STDOUT: %f: %str.abf = value_binding f, %Utf8String.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %g.patt: %pattern_type.ff8 = value_binding_pattern g [concrete] +// CHECK:STDOUT: %g.patt: %pattern_type.3d7 = value_binding_pattern g [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc14: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %Indirect.ref: %str.91f = name_ref Indirect, %String.val.7 [concrete = constants.%String.val.846] -// CHECK:STDOUT: %str.loc14: type = type_literal constants.%str.91f [concrete = constants.%str.91f] -// CHECK:STDOUT: %g: %str.91f = value_binding g, %Indirect.ref +// CHECK:STDOUT: %Indirect.ref: %str.abf = name_ref Indirect, %String.val.7 [concrete = constants.%String.val.a10] +// CHECK:STDOUT: %str.loc14: type = type_literal constants.%str.abf [concrete = constants.%str.abf] +// CHECK:STDOUT: %g: %str.abf = value_binding g, %Indirect.ref // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1442,21 +1442,21 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] -// CHECK:STDOUT: %float.291: %f64.9a0 = float_value 1 [concrete] -// CHECK:STDOUT: %float.646: %f64.9a0 = float_value 100 [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] +// CHECK:STDOUT: %float.642: %f64.b55 = float_value 1 [concrete] +// CHECK:STDOUT: %float.4a9: %f64.b55 = float_value 100 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.9a5: type = pattern_type %f32.750 [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %pattern_type.f3b: type = pattern_type %f32.a26 [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Cpp: = namespace file.%Cpp.import_cpp, [concrete] { -// CHECK:STDOUT: .MyDouble = constants.%float.291 -// CHECK:STDOUT: .MyDoubleE = constants.%float.646 -// CHECK:STDOUT: .MyFloat = constants.%float.467 +// CHECK:STDOUT: .MyDouble = constants.%float.642 +// CHECK:STDOUT: .MyDoubleE = constants.%float.4a9 +// CHECK:STDOUT: .MyFloat = constants.%float.2ec // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: } @@ -1464,29 +1464,29 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.f4f = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.f3c = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %MyDouble.ref: %f64.9a0 = name_ref MyDouble, constants.%float.291 [concrete = constants.%float.291] -// CHECK:STDOUT: %f64.loc8: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %a: %f64.9a0 = value_binding a, %MyDouble.ref +// CHECK:STDOUT: %MyDouble.ref: %f64.b55 = name_ref MyDouble, constants.%float.642 [concrete = constants.%float.642] +// CHECK:STDOUT: %f64.loc8: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %a: %f64.b55 = value_binding a, %MyDouble.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.f4f = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.f3c = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %MyDoubleE.ref: %f64.9a0 = name_ref MyDoubleE, constants.%float.646 [concrete = constants.%float.646] -// CHECK:STDOUT: %f64.loc9: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %b: %f64.9a0 = value_binding b, %MyDoubleE.ref +// CHECK:STDOUT: %MyDoubleE.ref: %f64.b55 = name_ref MyDoubleE, constants.%float.4a9 [concrete = constants.%float.4a9] +// CHECK:STDOUT: %f64.loc9: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %b: %f64.b55 = value_binding b, %MyDoubleE.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.9a5 = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.f3b = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc10: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %MyFloat.ref: %f32.750 = name_ref MyFloat, constants.%float.467 [concrete = constants.%float.467] -// CHECK:STDOUT: %f32.loc10: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %c: %f32.750 = value_binding c, %MyFloat.ref +// CHECK:STDOUT: %MyFloat.ref: %f32.a26 = name_ref MyFloat, constants.%float.2ec [concrete = constants.%float.2ec] +// CHECK:STDOUT: %f32.loc10: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %c: %f32.a26 = value_binding c, %MyFloat.ref // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1494,7 +1494,7 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %char: type = class_type @Char [concrete] -// CHECK:STDOUT: %pattern_type.54e: type = pattern_type %char [concrete] +// CHECK:STDOUT: %pattern_type.63d: type = pattern_type %char [concrete] // CHECK:STDOUT: %int_97: %char = int_value 97 [concrete] // CHECK:STDOUT: %int_65: %char = int_value 65 [concrete] // CHECK:STDOUT: %int_49: %char = int_value 49 [concrete] @@ -1518,7 +1518,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.54e = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.63d = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1526,7 +1526,7 @@ fn F() { // CHECK:STDOUT: %char.loc8: type = type_literal constants.%char [concrete = constants.%char] // CHECK:STDOUT: %a: %char = value_binding a, %M_LOWERCASE.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.54e = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.63d = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1534,7 +1534,7 @@ fn F() { // CHECK:STDOUT: %char.loc9: type = type_literal constants.%char [concrete = constants.%char] // CHECK:STDOUT: %b: %char = value_binding b, %M_UPPERCASE.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.54e = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.63d = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc10: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1542,7 +1542,7 @@ fn F() { // CHECK:STDOUT: %char.loc10: type = type_literal constants.%char [concrete = constants.%char] // CHECK:STDOUT: %c: %char = value_binding c, %M_DIGIT.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.54e = value_binding_pattern d [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.63d = value_binding_pattern d [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1550,7 +1550,7 @@ fn F() { // CHECK:STDOUT: %char.loc11: type = type_literal constants.%char [concrete = constants.%char] // CHECK:STDOUT: %d: %char = value_binding d, %M_SPACE.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e.patt: %pattern_type.54e = value_binding_pattern e [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.63d = value_binding_pattern e [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc12: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1558,7 +1558,7 @@ fn F() { // CHECK:STDOUT: %char.loc12: type = type_literal constants.%char [concrete = constants.%char] // CHECK:STDOUT: %e: %char = value_binding e, %M_TAB.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %f.patt: %pattern_type.54e = value_binding_pattern f [concrete] +// CHECK:STDOUT: %f.patt: %pattern_type.63d = value_binding_pattern f [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc13: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1572,11 +1572,11 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %char: type = class_type @Char [concrete] -// CHECK:STDOUT: %pattern_type.54e: type = pattern_type %char [concrete] +// CHECK:STDOUT: %pattern_type.63d: type = pattern_type %char [concrete] // CHECK:STDOUT: %int_97: %char = int_value 97 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_98: %i32 = int_value 98 [concrete] // CHECK:STDOUT: %pattern_type.831: type = pattern_type bool [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] @@ -1594,7 +1594,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.54e = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.63d = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1602,7 +1602,7 @@ fn F() { // CHECK:STDOUT: %char.loc8: type = type_literal constants.%char [concrete = constants.%char] // CHECK:STDOUT: %a: %char = value_binding a, %M_CONDITIONAL.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1627,7 +1627,7 @@ fn F() { // CHECK:STDOUT: %false: bool = bool_literal false [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_1: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %int_0: %i32 = int_value 0 [concrete] // CHECK:STDOUT: } @@ -1715,7 +1715,7 @@ fn F() { // CHECK:STDOUT: %.loc16: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %i: bool = value_binding i, %M_COMPLEX.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %j.patt: %pattern_type.c6b = value_binding_pattern j [concrete] +// CHECK:STDOUT: %j.patt: %pattern_type.104 = value_binding_pattern j [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc18: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1723,7 +1723,7 @@ fn F() { // CHECK:STDOUT: %i32.loc18: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %j: %i32 = value_binding j, %M_ONE.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %k.patt: %pattern_type.c6b = value_binding_pattern k [concrete] +// CHECK:STDOUT: %k.patt: %pattern_type.104 = value_binding_pattern k [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref.loc19: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1744,39 +1744,39 @@ fn F() { // CHECK:STDOUT: %uninit: %Cpp.nullptr_t = uninitialized_value [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] // CHECK:STDOUT: %OptionalStorage.type: type = facet_type <@OptionalStorage> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T.67d [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.310: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.0b6: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.310) [symbolic] -// CHECK:STDOUT: %MaybeUnformed.4fe: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.0b6) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.type.ed5: type = fn_type @ptr.as.OptionalStorage.impl.None, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.503: %ptr.as.OptionalStorage.impl.None.type.ed5 = struct_value () [symbolic] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.2: = custom_witness (%Destroy.Op.1dc86d.2), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.959: %Destroy.type = facet_value %ptr.143, (%custom_witness.340963.2) [concrete] -// CHECK:STDOUT: %MaybeUnformed.5a6: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.959) [concrete] -// CHECK:STDOUT: %OptionalStorage.impl_witness.407: = impl_witness imports.%OptionalStorage.impl_witness_table.f57, @ptr.as.OptionalStorage.impl(%i32) [concrete] -// CHECK:STDOUT: %OptionalStorage.facet.7a3: %OptionalStorage.type = facet_value %ptr.143, (%OptionalStorage.impl_witness.407) [concrete] -// CHECK:STDOUT: %Optional.eab: type = class_type @Optional, @Optional(%OptionalStorage.facet.7a3) [concrete] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.21f: = lookup_impl_witness %ptr.e8f, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.3b3: %Destroy.type = facet_value %ptr.e8f, (%Destroy.lookup_impl_witness.21f) [symbolic] +// CHECK:STDOUT: %MaybeUnformed.d10: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.3b3) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.type.da2: type = fn_type @ptr.as.OptionalStorage.impl.None, @ptr.as.OptionalStorage.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.OptionalStorage.impl.None.41b: %ptr.as.OptionalStorage.impl.None.type.da2 = struct_value () [symbolic] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.2: = custom_witness (%Destroy.Op.2dd605.2), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.2a8: %Destroy.type = facet_value %ptr.847, (%custom_witness.e20f1f.2) [concrete] +// CHECK:STDOUT: %MaybeUnformed.088: type = class_type @MaybeUnformed, @MaybeUnformed(%Destroy.facet.2a8) [concrete] +// CHECK:STDOUT: %OptionalStorage.impl_witness.9f1: = impl_witness imports.%OptionalStorage.impl_witness_table.885, @ptr.as.OptionalStorage.impl(%i32) [concrete] +// CHECK:STDOUT: %OptionalStorage.facet.af7: %OptionalStorage.type = facet_value %ptr.847, (%OptionalStorage.impl_witness.9f1) [concrete] +// CHECK:STDOUT: %Optional.411: type = class_type @Optional, @Optional(%OptionalStorage.facet.af7) [concrete] // CHECK:STDOUT: %foo.type: type = fn_type @foo [concrete] // CHECK:STDOUT: %foo: %foo.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.b09: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.eab)> [concrete] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.158: type = fn_type @Cpp.nullptr_t.as.ImplicitAs.impl.Convert, @Cpp.nullptr_t.as.ImplicitAs.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.d98: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.158 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.27d: = impl_witness imports.%ImplicitAs.impl_witness_table.d5c, @Cpp.nullptr_t.as.ImplicitAs.impl(%i32) [concrete] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.009: type = fn_type @Cpp.nullptr_t.as.ImplicitAs.impl.Convert, @Cpp.nullptr_t.as.ImplicitAs.impl(%i32) [concrete] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.bc7: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.009 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.b09 = facet_value %Cpp.nullptr_t, (%ImplicitAs.impl_witness.27d) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.7b1: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.eab, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.baa: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.7b1, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.bound: = bound_method %uninit, %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.bc7 [concrete] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.bc7, @Cpp.nullptr_t.as.ImplicitAs.impl.Convert(%i32) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.878: type = facet_type <@ImplicitAs, @ImplicitAs(%Optional.411)> [concrete] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.f00: type = fn_type @Cpp.nullptr_t.as.ImplicitAs.impl.Convert, @Cpp.nullptr_t.as.ImplicitAs.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.b8c: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.f00 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.696: = impl_witness imports.%ImplicitAs.impl_witness_table.441, @Cpp.nullptr_t.as.ImplicitAs.impl(%i32) [concrete] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.cc1: type = fn_type @Cpp.nullptr_t.as.ImplicitAs.impl.Convert, @Cpp.nullptr_t.as.ImplicitAs.impl(%i32) [concrete] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.9b7: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.cc1 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.878 = facet_value %Cpp.nullptr_t, (%ImplicitAs.impl_witness.696) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.4c9: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Optional.411, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.f0e: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.4c9, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.bound: = bound_method %uninit, %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.9b7 [concrete] +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.9b7, @Cpp.nullptr_t.as.ImplicitAs.impl.Convert(%i32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %uninit, %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc11_14.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc11_14.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1786,27 +1786,27 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %foo.cpp_overload_set.value: %foo.cpp_overload_set.type = cpp_overload_set_value @foo.cpp_overload_set [concrete = constants.%foo.cpp_overload_set.value] -// CHECK:STDOUT: %Core.import_ref.7ae: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.4fe)] -// CHECK:STDOUT: %Core.import_ref.fff: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None.type (%ptr.as.OptionalStorage.impl.None.type.ed5) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None (constants.%ptr.as.OptionalStorage.impl.None.503)] -// CHECK:STDOUT: %Core.import_ref.a098 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.017 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.259 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.c67 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %OptionalStorage.impl_witness_table.f57 = impl_witness_table (%Core.import_ref.7ae, %Core.import_ref.fff, %Core.import_ref.a098, %Core.import_ref.017, %Core.import_ref.259, %Core.import_ref.c67), @ptr.as.OptionalStorage.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.c1a: type = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%MaybeUnformed (constants.%MaybeUnformed.d10)] +// CHECK:STDOUT: %Core.import_ref.d20: @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None.type (%ptr.as.OptionalStorage.impl.None.type.da2) = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.OptionalStorage.impl.%ptr.as.OptionalStorage.impl.None (constants.%ptr.as.OptionalStorage.impl.None.41b)] +// CHECK:STDOUT: %Core.import_ref.97e = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.b33 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d18 = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.4ad = import_ref Core//prelude/types/optional, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %OptionalStorage.impl_witness_table.885 = impl_witness_table (%Core.import_ref.c1a, %Core.import_ref.d20, %Core.import_ref.97e, %Core.import_ref.b33, %Core.import_ref.d18, %Core.import_ref.4ad), @ptr.as.OptionalStorage.impl [concrete] // CHECK:STDOUT: %foo.decl: %foo.type = fn_decl @foo [concrete = constants.%foo] { // CHECK:STDOUT: // CHECK:STDOUT: } { // CHECK:STDOUT: -// CHECK:STDOUT: %.loc11_24.1: type = splice_block %Optional [concrete = constants.%Optional.eab] { +// CHECK:STDOUT: %.loc11_24.1: type = splice_block %Optional [concrete = constants.%Optional.411] { // CHECK:STDOUT: -// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.143, (constants.%OptionalStorage.impl_witness.407) [concrete = constants.%OptionalStorage.facet.7a3] -// CHECK:STDOUT: %.loc11_24.2: %OptionalStorage.type = converted constants.%ptr.143, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.7a3] -// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.7a3) [concrete = constants.%Optional.eab] +// CHECK:STDOUT: %OptionalStorage.facet: %OptionalStorage.type = facet_value constants.%ptr.847, (constants.%OptionalStorage.impl_witness.9f1) [concrete = constants.%OptionalStorage.facet.af7] +// CHECK:STDOUT: %.loc11_24.2: %OptionalStorage.type = converted constants.%ptr.847, %OptionalStorage.facet [concrete = constants.%OptionalStorage.facet.af7] +// CHECK:STDOUT: %Optional: type = class_type @Optional, @Optional(constants.%OptionalStorage.facet.af7) [concrete = constants.%Optional.411] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.b43: @Cpp.nullptr_t.as.ImplicitAs.impl.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type (%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.158) = import_ref Core//prelude/types/cpp/nullptr, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.nullptr_t.as.ImplicitAs.impl.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert (constants.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.d98)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.d5c = impl_witness_table (%Core.import_ref.b43), @Cpp.nullptr_t.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.3fc: @Cpp.nullptr_t.as.ImplicitAs.impl.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type (%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.type.f00) = import_ref Core//prelude/types/cpp/nullptr, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.nullptr_t.as.ImplicitAs.impl.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert (constants.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.b8c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.441 = impl_witness_table (%Core.import_ref.3fc), @Cpp.nullptr_t.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -1816,27 +1816,27 @@ fn F() { // CHECK:STDOUT: %Cpp.ref.loc11_11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: // CHECK:STDOUT: %MyNullPtr.ref: %Cpp.nullptr_t = name_ref MyNullPtr, %uninit [concrete = constants.%uninit] -// CHECK:STDOUT: %impl.elem0: %.baa = impl_witness_access constants.%ImplicitAs.impl_witness.27d, element0 [concrete = constants.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.bc7] +// CHECK:STDOUT: %impl.elem0: %.f0e = impl_witness_access constants.%ImplicitAs.impl_witness.696, element0 [concrete = constants.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.9b7] // CHECK:STDOUT: %bound_method.loc11_14.1: = bound_method %MyNullPtr.ref, %impl.elem0 [concrete = constants.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Cpp.nullptr_t.as.ImplicitAs.impl.Convert(constants.%i32) [concrete = constants.%Cpp.nullptr_t.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc11_14.2: = bound_method %MyNullPtr.ref, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call: init %Optional.eab = call %bound_method.loc11_14.2(%MyNullPtr.ref) -// CHECK:STDOUT: %.loc11_14.1: init %Optional.eab = converted %MyNullPtr.ref, %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %.loc11_14.2: ref %Optional.eab = temporary_storage -// CHECK:STDOUT: %.loc11_14.3: ref %Optional.eab = temporary %.loc11_14.2, %.loc11_14.1 -// CHECK:STDOUT: %.loc11_14.4: %Optional.eab = acquire_value %.loc11_14.3 +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call: init %Optional.411 = call %bound_method.loc11_14.2(%MyNullPtr.ref) +// CHECK:STDOUT: %.loc11_14.1: init %Optional.411 = converted %MyNullPtr.ref, %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call +// CHECK:STDOUT: %.loc11_14.2: ref %Optional.411 = temporary_storage +// CHECK:STDOUT: %.loc11_14.3: ref %Optional.411 = temporary %.loc11_14.2, %.loc11_14.1 +// CHECK:STDOUT: %.loc11_14.4: %Optional.411 = acquire_value %.loc11_14.3 // CHECK:STDOUT: %foo.call: init %empty_tuple.type = call imports.%foo.decl(%.loc11_14.4) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc11_14.3, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc11_14.3, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc11_14.3) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11_14.1(%self.param: ref %MaybeUnformed.5a6) { +// CHECK:STDOUT: fn @Destroy.Op.loc11_14.1(%self.param: ref %MaybeUnformed.088) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11_14.2(%self.param: ref %Optional.eab) { +// CHECK:STDOUT: fn @Destroy.Op.loc11_14.2(%self.param: ref %Optional.411) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1878,9 +1878,9 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %const: type = const_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.807: type = pattern_type %const [concrete] +// CHECK:STDOUT: %pattern_type.68c: type = pattern_type %const [concrete] // CHECK:STDOUT: %a.var: ref %i32 = var imports.%a.var_patt [concrete] // CHECK:STDOUT: %int_1: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } @@ -1890,15 +1890,15 @@ fn F() { // CHECK:STDOUT: .M_CONSTEXPR_INT = %a.var // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %a.patt: %pattern_type.807 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.807 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.68c = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.68c = var_pattern %a.patt [concrete] // CHECK:STDOUT: %a.var: ref %const = var %a.var_patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1919,8 +1919,8 @@ fn F() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %const: type = const_type %i32 [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %const [concrete] -// CHECK:STDOUT: %pattern_type.3b3: type = pattern_type %ptr [concrete] -// CHECK:STDOUT: %pattern_type.807: type = pattern_type %const [concrete] +// CHECK:STDOUT: %pattern_type.9ec: type = pattern_type %ptr [concrete] +// CHECK:STDOUT: %pattern_type.68c: type = pattern_type %const [concrete] // CHECK:STDOUT: %addr: %ptr = addr_of imports.%n.var [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1929,14 +1929,14 @@ fn F() { // CHECK:STDOUT: .N = %n.var // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %n.patt: %pattern_type.807 = ref_binding_pattern n [concrete] -// CHECK:STDOUT: %n.var_patt: %pattern_type.807 = var_pattern %n.patt [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.68c = ref_binding_pattern n [concrete] +// CHECK:STDOUT: %n.var_patt: %pattern_type.68c = var_pattern %n.patt [concrete] // CHECK:STDOUT: %n.var: ref %const = var %n.var_patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %p.patt: %pattern_type.3b3 = value_binding_pattern p [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.9ec = value_binding_pattern p [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %.loc10: type = splice_block %ptr [concrete = constants.%ptr] { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -1960,7 +1960,7 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_7: %i32 = int_value 7 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1974,7 +1974,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %i.patt: %pattern_type.c6b = value_binding_pattern i [concrete] +// CHECK:STDOUT: %i.patt: %pattern_type.104 = value_binding_pattern i [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -1989,7 +1989,7 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_2: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2003,7 +2003,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -2018,7 +2018,7 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_2: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -2032,7 +2032,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -2047,22 +2047,22 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ddb: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ddb) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.724: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.fa3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.724, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2070,11 +2070,11 @@ fn F() { // CHECK:STDOUT: .m = %v.var // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %v.patt: %pattern_type.c6b = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.c6b = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.104 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.104 = var_pattern %v.patt [concrete] // CHECK:STDOUT: %v.var: ref %i32 = var %v.var_patt [concrete] -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -2083,12 +2083,12 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: %m.ref: ref %i32 = name_ref m, imports.%v.var [concrete = imports.%v.var] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc10_9.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc10_9.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc10_9.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc10_9.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.228] // CHECK:STDOUT: assign %m.ref, %.loc10 // CHECK:STDOUT: // CHECK:STDOUT: } @@ -2104,34 +2104,34 @@ fn F() { // CHECK:STDOUT: %A.elem: type = unbound_element_type %A, %B [concrete] // CHECK:STDOUT: %B.elem: type = unbound_element_type %B, %i32 [concrete] // CHECK:STDOUT: %.e8d: ref %B = class_element_access imports.%a.var, element0 [concrete] -// CHECK:STDOUT: %.6b6: ref %i32 = class_element_access %.e8d, element0 [concrete] +// CHECK:STDOUT: %.ed7: ref %i32 = class_element_access %.e8d, element0 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ddb: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ddb) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.724: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.fa3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.724, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Cpp: = namespace file.%Cpp.import_cpp, [concrete] { -// CHECK:STDOUT: .m = constants.%.6b6 +// CHECK:STDOUT: .m = constants.%.ed7 // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %a.patt: %pattern_type.aa6 = ref_binding_pattern a [concrete] // CHECK:STDOUT: %a.var_patt: %pattern_type.aa6 = var_pattern %a.patt [concrete] // CHECK:STDOUT: %a.var: ref %A = var %a.var_patt [concrete] -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -2141,15 +2141,15 @@ fn F() { // CHECK:STDOUT: %b.ref: %A.elem = name_ref b, @A.%.1 [concrete = @A.%.1] // CHECK:STDOUT: %.loc17_6.1: ref %B = class_element_access imports.%a.var, element0 [concrete = constants.%.e8d] // CHECK:STDOUT: %c.ref: %B.elem = name_ref c, @B.%.1 [concrete = @B.%.1] -// CHECK:STDOUT: %.loc17_6.2: ref %i32 = class_element_access %.loc17_6.1, element0 [concrete = constants.%.6b6] -// CHECK:STDOUT: %m.ref: ref %i32 = name_ref m, constants.%.6b6 [concrete = constants.%.6b6] +// CHECK:STDOUT: %.loc17_6.2: ref %i32 = class_element_access %.loc17_6.1, element0 [concrete = constants.%.ed7] +// CHECK:STDOUT: %m.ref: ref %i32 = name_ref m, constants.%.ed7 [concrete = constants.%.ed7] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc17_9.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc17_9.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc17_9.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc17_9: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc17_9.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc17_9: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.228] // CHECK:STDOUT: assign %m.ref, %.loc17_9 // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/operators/arithmetic_operators.carbon b/toolchain/check/testdata/interop/cpp/operators/arithmetic_operators.carbon index b0e246a303d8..71aa110c2e00 100644 --- a/toolchain/check/testdata/interop/cpp/operators/arithmetic_operators.carbon +++ b/toolchain/check/testdata/interop/cpp/operators/arithmetic_operators.carbon @@ -310,158 +310,158 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Result: %Destroy.type = symbolic_binding Result, 0 [symbolic] -// CHECK:STDOUT: %U.866: %Destroy.type = symbolic_binding U, 1 [symbolic] +// CHECK:STDOUT: %U.99e: %Destroy.type = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Other: type = symbolic_binding Other, 0 [symbolic] -// CHECK:STDOUT: %AddWith.type.be3: type = facet_type <@AddWith.1, @AddWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.39b: %AddWith.type.be3 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %AddWith.assoc_type.dfc: type = assoc_entity_type @AddWith.1, @AddWith.1(%Other) [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.fc0: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Other, %Self.39b) [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.Op.056: %AddWith.WithSelf.Op.type.fc0 = struct_value () [symbolic] -// CHECK:STDOUT: %U.as_type.0fd: type = facet_access_type %U.866 [symbolic] -// CHECK:STDOUT: %AddWith.type.68f: type = facet_type <@AddWith.1, @AddWith.1(%U.as_type.0fd)> [symbolic] -// CHECK:STDOUT: %facet_type.5e7: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%U.as_type.0fd)> [symbolic] -// CHECK:STDOUT: %.Self.11b: %facet_type.5e7 = symbolic_binding .Self [symbolic] -// CHECK:STDOUT: %AddWith.assoc_type.f48: type = assoc_entity_type @AddWith.1, @AddWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %assoc0.5e7: %AddWith.assoc_type.f48 = assoc_entity element0, imports.%Core.import_ref.b37 [symbolic] -// CHECK:STDOUT: %assoc1.bb6: %AddWith.assoc_type.f48 = assoc_entity element1, imports.%Core.import_ref.935 [symbolic] -// CHECK:STDOUT: %require_complete.d10: = require_complete_type %facet_type.5e7 [symbolic] -// CHECK:STDOUT: %.Self.as_type.8a9: type = facet_access_type %.Self.11b [symbolic] -// CHECK:STDOUT: %AddWith.lookup_impl_witness.2ac: = lookup_impl_witness %.Self.11b, @AddWith.1, @AddWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %impl.elem0.e3f: type = impl_witness_access %AddWith.lookup_impl_witness.2ac, element0 [symbolic] +// CHECK:STDOUT: %AddWith.type.893: type = facet_type <@AddWith.1, @AddWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.66b: %AddWith.type.893 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %AddWith.assoc_type.5da: type = assoc_entity_type @AddWith.1, @AddWith.1(%Other) [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.c45: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Other, %Self.66b) [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.Op.2f3: %AddWith.WithSelf.Op.type.c45 = struct_value () [symbolic] +// CHECK:STDOUT: %U.as_type.f7f: type = facet_access_type %U.99e [symbolic] +// CHECK:STDOUT: %AddWith.type.ad2: type = facet_type <@AddWith.1, @AddWith.1(%U.as_type.f7f)> [symbolic] +// CHECK:STDOUT: %facet_type.4ec: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%U.as_type.f7f)> [symbolic] +// CHECK:STDOUT: %.Self.53a: %facet_type.4ec = symbolic_binding .Self [symbolic] +// CHECK:STDOUT: %AddWith.assoc_type.c6c: type = assoc_entity_type @AddWith.1, @AddWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %assoc0.35c: %AddWith.assoc_type.c6c = assoc_entity element0, imports.%Core.import_ref.1dd [symbolic] +// CHECK:STDOUT: %assoc1.d93: %AddWith.assoc_type.c6c = assoc_entity element1, imports.%Core.import_ref.29ff [symbolic] +// CHECK:STDOUT: %require_complete.3ac: = require_complete_type %facet_type.4ec [symbolic] +// CHECK:STDOUT: %.Self.as_type.626: type = facet_access_type %.Self.53a [symbolic] +// CHECK:STDOUT: %AddWith.lookup_impl_witness.46e: = lookup_impl_witness %.Self.53a, @AddWith.1, @AddWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %impl.elem0.851: type = impl_witness_access %AddWith.lookup_impl_witness.46e, element0 [symbolic] // CHECK:STDOUT: %Result.as_type: type = facet_access_type %Result [symbolic] -// CHECK:STDOUT: %facet_type.d00: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%U.as_type.0fd) where %impl.elem0.e3f = %Result.as_type> [symbolic] -// CHECK:STDOUT: %pattern_type.768: type = pattern_type %facet_type.d00 [symbolic] -// CHECK:STDOUT: %T.9be: %facet_type.d00 = symbolic_binding T, 2 [symbolic] -// CHECK:STDOUT: %pattern_type.5eec30.2: type = pattern_type %Result.as_type [symbolic] -// CHECK:STDOUT: %T.as_type.6fa: type = facet_access_type %T.9be [symbolic] -// CHECK:STDOUT: %pattern_type.ae2: type = pattern_type %T.as_type.6fa [symbolic] -// CHECK:STDOUT: %pattern_type.a04: type = pattern_type %U.as_type.0fd [symbolic] -// CHECK:STDOUT: %require_complete.672: = require_complete_type %AddWith.type.68f [symbolic] -// CHECK:STDOUT: %assoc1.593: %AddWith.assoc_type.dfc = assoc_entity element1, imports.%Core.import_ref.31c [symbolic] -// CHECK:STDOUT: %AddWith.lookup_impl_witness.211: = lookup_impl_witness %T.9be, @AddWith.1, @AddWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %AddWith.facet.57d: %AddWith.type.68f = facet_value %T.as_type.6fa, (%AddWith.lookup_impl_witness.211) [symbolic] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.b30: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%U.as_type.0fd, %AddWith.facet.57d) [symbolic] -// CHECK:STDOUT: %.09b4: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.b30, %AddWith.facet.57d [symbolic] -// CHECK:STDOUT: %impl.elem1.4bc: %.09b4 = impl_witness_access %AddWith.lookup_impl_witness.211, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.31d: = specific_impl_function %impl.elem1.4bc, @AddWith.WithSelf.Op(%U.as_type.0fd, %AddWith.facet.57d) [symbolic] +// CHECK:STDOUT: %facet_type.cac: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%U.as_type.f7f) where %impl.elem0.851 = %Result.as_type> [symbolic] +// CHECK:STDOUT: %pattern_type.bcc: type = pattern_type %facet_type.cac [symbolic] +// CHECK:STDOUT: %T.23b: %facet_type.cac = symbolic_binding T, 2 [symbolic] +// CHECK:STDOUT: %pattern_type.227a41.2: type = pattern_type %Result.as_type [symbolic] +// CHECK:STDOUT: %T.as_type.46a: type = facet_access_type %T.23b [symbolic] +// CHECK:STDOUT: %pattern_type.d37: type = pattern_type %T.as_type.46a [symbolic] +// CHECK:STDOUT: %pattern_type.87c: type = pattern_type %U.as_type.f7f [symbolic] +// CHECK:STDOUT: %require_complete.3dc: = require_complete_type %AddWith.type.ad2 [symbolic] +// CHECK:STDOUT: %assoc1.fdf: %AddWith.assoc_type.5da = assoc_entity element1, imports.%Core.import_ref.a1e [symbolic] +// CHECK:STDOUT: %AddWith.lookup_impl_witness.e7e: = lookup_impl_witness %T.23b, @AddWith.1, @AddWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %AddWith.facet.c8e: %AddWith.type.ad2 = facet_value %T.as_type.46a, (%AddWith.lookup_impl_witness.e7e) [symbolic] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.12d: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%U.as_type.f7f, %AddWith.facet.c8e) [symbolic] +// CHECK:STDOUT: %.ac7: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.12d, %AddWith.facet.c8e [symbolic] +// CHECK:STDOUT: %impl.elem1.f9d: %.ac7 = impl_witness_access %AddWith.lookup_impl_witness.e7e, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.8f2: = specific_impl_function %impl.elem1.f9d, @AddWith.WithSelf.Op(%U.as_type.f7f, %AddWith.facet.c8e) [symbolic] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Result, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.12b49e.2: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result) [symbolic] -// CHECK:STDOUT: %.9c3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.12b49e.2, %Result [symbolic] -// CHECK:STDOUT: %impl.elem0.8bd: %.9c3 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.8dd: = specific_impl_function %impl.elem0.8bd, @Destroy.WithSelf.Op(%Result) [symbolic] -// CHECK:STDOUT: %SubWith.type.381: type = facet_type <@SubWith.1, @SubWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.631: %SubWith.type.381 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %SubWith.assoc_type.6b2: type = assoc_entity_type @SubWith.1, @SubWith.1(%Other) [symbolic] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type.2ca: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Other, %Self.631) [symbolic] -// CHECK:STDOUT: %SubWith.WithSelf.Op.918: %SubWith.WithSelf.Op.type.2ca = struct_value () [symbolic] -// CHECK:STDOUT: %SubWith.type.3e0: type = facet_type <@SubWith.1, @SubWith.1(%U.as_type.0fd)> [symbolic] -// CHECK:STDOUT: %facet_type.b45: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%U.as_type.0fd)> [symbolic] -// CHECK:STDOUT: %.Self.ecd: %facet_type.b45 = symbolic_binding .Self [symbolic] -// CHECK:STDOUT: %SubWith.assoc_type.f11: type = assoc_entity_type @SubWith.1, @SubWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %assoc0.ccf: %SubWith.assoc_type.f11 = assoc_entity element0, imports.%Core.import_ref.bb2 [symbolic] -// CHECK:STDOUT: %assoc1.8f3: %SubWith.assoc_type.f11 = assoc_entity element1, imports.%Core.import_ref.480 [symbolic] -// CHECK:STDOUT: %require_complete.029: = require_complete_type %facet_type.b45 [symbolic] -// CHECK:STDOUT: %.Self.as_type.8c5: type = facet_access_type %.Self.ecd [symbolic] -// CHECK:STDOUT: %SubWith.lookup_impl_witness.69c: = lookup_impl_witness %.Self.ecd, @SubWith.1, @SubWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %impl.elem0.35c: type = impl_witness_access %SubWith.lookup_impl_witness.69c, element0 [symbolic] -// CHECK:STDOUT: %facet_type.de3: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%U.as_type.0fd) where %impl.elem0.35c = %Result.as_type> [symbolic] -// CHECK:STDOUT: %pattern_type.6e8: type = pattern_type %facet_type.de3 [symbolic] -// CHECK:STDOUT: %T.248: %facet_type.de3 = symbolic_binding T, 2 [symbolic] -// CHECK:STDOUT: %T.as_type.3b2: type = facet_access_type %T.248 [symbolic] -// CHECK:STDOUT: %pattern_type.eb4: type = pattern_type %T.as_type.3b2 [symbolic] -// CHECK:STDOUT: %require_complete.f2d: = require_complete_type %SubWith.type.3e0 [symbolic] -// CHECK:STDOUT: %assoc1.8b9: %SubWith.assoc_type.6b2 = assoc_entity element1, imports.%Core.import_ref.507 [symbolic] -// CHECK:STDOUT: %SubWith.lookup_impl_witness.9fd: = lookup_impl_witness %T.248, @SubWith.1, @SubWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %SubWith.facet.1b3: %SubWith.type.3e0 = facet_value %T.as_type.3b2, (%SubWith.lookup_impl_witness.9fd) [symbolic] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type.649: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%U.as_type.0fd, %SubWith.facet.1b3) [symbolic] -// CHECK:STDOUT: %.e46: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.649, %SubWith.facet.1b3 [symbolic] -// CHECK:STDOUT: %impl.elem1.d3b: %.e46 = impl_witness_access %SubWith.lookup_impl_witness.9fd, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.d50: = specific_impl_function %impl.elem1.d3b, @SubWith.WithSelf.Op(%U.as_type.0fd, %SubWith.facet.1b3) [symbolic] -// CHECK:STDOUT: %MulWith.type.9db: type = facet_type <@MulWith.1, @MulWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.019: %MulWith.type.9db = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %MulWith.assoc_type.03e: type = assoc_entity_type @MulWith.1, @MulWith.1(%Other) [symbolic] -// CHECK:STDOUT: %MulWith.WithSelf.Op.type.e29: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Other, %Self.019) [symbolic] -// CHECK:STDOUT: %MulWith.WithSelf.Op.45b: %MulWith.WithSelf.Op.type.e29 = struct_value () [symbolic] -// CHECK:STDOUT: %MulWith.type.b5e: type = facet_type <@MulWith.1, @MulWith.1(%U.as_type.0fd)> [symbolic] -// CHECK:STDOUT: %facet_type.7d9: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%U.as_type.0fd)> [symbolic] -// CHECK:STDOUT: %.Self.e6f: %facet_type.7d9 = symbolic_binding .Self [symbolic] -// CHECK:STDOUT: %MulWith.assoc_type.4f3: type = assoc_entity_type @MulWith.1, @MulWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %assoc0.0e6: %MulWith.assoc_type.4f3 = assoc_entity element0, imports.%Core.import_ref.a1a [symbolic] -// CHECK:STDOUT: %assoc1.4a5: %MulWith.assoc_type.4f3 = assoc_entity element1, imports.%Core.import_ref.7ed [symbolic] -// CHECK:STDOUT: %require_complete.38c: = require_complete_type %facet_type.7d9 [symbolic] -// CHECK:STDOUT: %.Self.as_type.2c6: type = facet_access_type %.Self.e6f [symbolic] -// CHECK:STDOUT: %MulWith.lookup_impl_witness.4c7: = lookup_impl_witness %.Self.e6f, @MulWith.1, @MulWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %impl.elem0.0fa: type = impl_witness_access %MulWith.lookup_impl_witness.4c7, element0 [symbolic] -// CHECK:STDOUT: %facet_type.779: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%U.as_type.0fd) where %impl.elem0.0fa = %Result.as_type> [symbolic] -// CHECK:STDOUT: %pattern_type.2d4: type = pattern_type %facet_type.779 [symbolic] -// CHECK:STDOUT: %T.ce0: %facet_type.779 = symbolic_binding T, 2 [symbolic] -// CHECK:STDOUT: %T.as_type.380: type = facet_access_type %T.ce0 [symbolic] -// CHECK:STDOUT: %pattern_type.4b9: type = pattern_type %T.as_type.380 [symbolic] -// CHECK:STDOUT: %require_complete.be1: = require_complete_type %MulWith.type.b5e [symbolic] -// CHECK:STDOUT: %assoc1.56c: %MulWith.assoc_type.03e = assoc_entity element1, imports.%Core.import_ref.f63 [symbolic] -// CHECK:STDOUT: %MulWith.lookup_impl_witness.69d: = lookup_impl_witness %T.ce0, @MulWith.1, @MulWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %MulWith.facet.181: %MulWith.type.b5e = facet_value %T.as_type.380, (%MulWith.lookup_impl_witness.69d) [symbolic] -// CHECK:STDOUT: %MulWith.WithSelf.Op.type.ea9: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%U.as_type.0fd, %MulWith.facet.181) [symbolic] -// CHECK:STDOUT: %.efc: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.ea9, %MulWith.facet.181 [symbolic] -// CHECK:STDOUT: %impl.elem1.002: %.efc = impl_witness_access %MulWith.lookup_impl_witness.69d, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.168: = specific_impl_function %impl.elem1.002, @MulWith.WithSelf.Op(%U.as_type.0fd, %MulWith.facet.181) [symbolic] -// CHECK:STDOUT: %DivWith.type.43b: type = facet_type <@DivWith.1, @DivWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.555: %DivWith.type.43b = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %DivWith.assoc_type.1ff: type = assoc_entity_type @DivWith.1, @DivWith.1(%Other) [symbolic] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type.388: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Other, %Self.555) [symbolic] -// CHECK:STDOUT: %DivWith.WithSelf.Op.0ce: %DivWith.WithSelf.Op.type.388 = struct_value () [symbolic] -// CHECK:STDOUT: %DivWith.type.c0c: type = facet_type <@DivWith.1, @DivWith.1(%U.as_type.0fd)> [symbolic] -// CHECK:STDOUT: %facet_type.9b5: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%U.as_type.0fd)> [symbolic] -// CHECK:STDOUT: %.Self.3de: %facet_type.9b5 = symbolic_binding .Self [symbolic] -// CHECK:STDOUT: %DivWith.assoc_type.cd1: type = assoc_entity_type @DivWith.1, @DivWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %assoc0.453: %DivWith.assoc_type.cd1 = assoc_entity element0, imports.%Core.import_ref.b8f [symbolic] -// CHECK:STDOUT: %assoc1.5f3: %DivWith.assoc_type.cd1 = assoc_entity element1, imports.%Core.import_ref.44d [symbolic] -// CHECK:STDOUT: %require_complete.b55: = require_complete_type %facet_type.9b5 [symbolic] -// CHECK:STDOUT: %.Self.as_type.d38: type = facet_access_type %.Self.3de [symbolic] -// CHECK:STDOUT: %DivWith.lookup_impl_witness.405: = lookup_impl_witness %.Self.3de, @DivWith.1, @DivWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %impl.elem0.e26: type = impl_witness_access %DivWith.lookup_impl_witness.405, element0 [symbolic] -// CHECK:STDOUT: %facet_type.c18: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%U.as_type.0fd) where %impl.elem0.e26 = %Result.as_type> [symbolic] -// CHECK:STDOUT: %pattern_type.7f8: type = pattern_type %facet_type.c18 [symbolic] -// CHECK:STDOUT: %T.ff8: %facet_type.c18 = symbolic_binding T, 2 [symbolic] -// CHECK:STDOUT: %T.as_type.7d7: type = facet_access_type %T.ff8 [symbolic] -// CHECK:STDOUT: %pattern_type.4a4: type = pattern_type %T.as_type.7d7 [symbolic] -// CHECK:STDOUT: %require_complete.df0: = require_complete_type %DivWith.type.c0c [symbolic] -// CHECK:STDOUT: %assoc1.71c: %DivWith.assoc_type.1ff = assoc_entity element1, imports.%Core.import_ref.4ea [symbolic] -// CHECK:STDOUT: %DivWith.lookup_impl_witness.62a: = lookup_impl_witness %T.ff8, @DivWith.1, @DivWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %DivWith.facet.08b: %DivWith.type.c0c = facet_value %T.as_type.7d7, (%DivWith.lookup_impl_witness.62a) [symbolic] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type.ed1: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%U.as_type.0fd, %DivWith.facet.08b) [symbolic] -// CHECK:STDOUT: %.612: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.ed1, %DivWith.facet.08b [symbolic] -// CHECK:STDOUT: %impl.elem1.536: %.612 = impl_witness_access %DivWith.lookup_impl_witness.62a, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.706: = specific_impl_function %impl.elem1.536, @DivWith.WithSelf.Op(%U.as_type.0fd, %DivWith.facet.08b) [symbolic] -// CHECK:STDOUT: %ModWith.type.92f: type = facet_type <@ModWith.1, @ModWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.b83: %ModWith.type.92f = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ModWith.assoc_type.7ff: type = assoc_entity_type @ModWith.1, @ModWith.1(%Other) [symbolic] -// CHECK:STDOUT: %ModWith.WithSelf.Op.type.f7c: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Other, %Self.b83) [symbolic] -// CHECK:STDOUT: %ModWith.WithSelf.Op.a28: %ModWith.WithSelf.Op.type.f7c = struct_value () [symbolic] -// CHECK:STDOUT: %ModWith.type.fba: type = facet_type <@ModWith.1, @ModWith.1(%U.as_type.0fd)> [symbolic] -// CHECK:STDOUT: %facet_type.1e9: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%U.as_type.0fd)> [symbolic] -// CHECK:STDOUT: %.Self.ade: %facet_type.1e9 = symbolic_binding .Self [symbolic] -// CHECK:STDOUT: %ModWith.assoc_type.e42: type = assoc_entity_type @ModWith.1, @ModWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %assoc0.4ea: %ModWith.assoc_type.e42 = assoc_entity element0, imports.%Core.import_ref.f19 [symbolic] -// CHECK:STDOUT: %assoc1.516: %ModWith.assoc_type.e42 = assoc_entity element1, imports.%Core.import_ref.556 [symbolic] -// CHECK:STDOUT: %require_complete.797: = require_complete_type %facet_type.1e9 [symbolic] -// CHECK:STDOUT: %.Self.as_type.142: type = facet_access_type %.Self.ade [symbolic] -// CHECK:STDOUT: %ModWith.lookup_impl_witness.2ca: = lookup_impl_witness %.Self.ade, @ModWith.1, @ModWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %impl.elem0.0c4: type = impl_witness_access %ModWith.lookup_impl_witness.2ca, element0 [symbolic] -// CHECK:STDOUT: %facet_type.ae7: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%U.as_type.0fd) where %impl.elem0.0c4 = %Result.as_type> [symbolic] -// CHECK:STDOUT: %pattern_type.d24: type = pattern_type %facet_type.ae7 [symbolic] -// CHECK:STDOUT: %T.5f9: %facet_type.ae7 = symbolic_binding T, 2 [symbolic] -// CHECK:STDOUT: %T.as_type.c82: type = facet_access_type %T.5f9 [symbolic] -// CHECK:STDOUT: %pattern_type.b5f: type = pattern_type %T.as_type.c82 [symbolic] -// CHECK:STDOUT: %require_complete.ed2: = require_complete_type %ModWith.type.fba [symbolic] -// CHECK:STDOUT: %assoc1.e05: %ModWith.assoc_type.7ff = assoc_entity element1, imports.%Core.import_ref.f10 [symbolic] -// CHECK:STDOUT: %ModWith.lookup_impl_witness.e49: = lookup_impl_witness %T.5f9, @ModWith.1, @ModWith.1(%U.as_type.0fd) [symbolic] -// CHECK:STDOUT: %ModWith.facet.6df: %ModWith.type.fba = facet_value %T.as_type.c82, (%ModWith.lookup_impl_witness.e49) [symbolic] -// CHECK:STDOUT: %ModWith.WithSelf.Op.type.a89: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%U.as_type.0fd, %ModWith.facet.6df) [symbolic] -// CHECK:STDOUT: %.977: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.a89, %ModWith.facet.6df [symbolic] -// CHECK:STDOUT: %impl.elem1.34f: %.977 = impl_witness_access %ModWith.lookup_impl_witness.e49, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.6e5: = specific_impl_function %impl.elem1.34f, @ModWith.WithSelf.Op(%U.as_type.0fd, %ModWith.facet.6df) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.6304ea.2: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result) [symbolic] +// CHECK:STDOUT: %.543: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.6304ea.2, %Result [symbolic] +// CHECK:STDOUT: %impl.elem0.531: %.543 = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.010: = specific_impl_function %impl.elem0.531, @Destroy.WithSelf.Op(%Result) [symbolic] +// CHECK:STDOUT: %SubWith.type.92e: type = facet_type <@SubWith.1, @SubWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.cc1: %SubWith.type.92e = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %SubWith.assoc_type.72b: type = assoc_entity_type @SubWith.1, @SubWith.1(%Other) [symbolic] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type.7da: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Other, %Self.cc1) [symbolic] +// CHECK:STDOUT: %SubWith.WithSelf.Op.bd5: %SubWith.WithSelf.Op.type.7da = struct_value () [symbolic] +// CHECK:STDOUT: %SubWith.type.394: type = facet_type <@SubWith.1, @SubWith.1(%U.as_type.f7f)> [symbolic] +// CHECK:STDOUT: %facet_type.c40: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%U.as_type.f7f)> [symbolic] +// CHECK:STDOUT: %.Self.f02: %facet_type.c40 = symbolic_binding .Self [symbolic] +// CHECK:STDOUT: %SubWith.assoc_type.767: type = assoc_entity_type @SubWith.1, @SubWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %assoc0.705: %SubWith.assoc_type.767 = assoc_entity element0, imports.%Core.import_ref.391 [symbolic] +// CHECK:STDOUT: %assoc1.edb: %SubWith.assoc_type.767 = assoc_entity element1, imports.%Core.import_ref.940 [symbolic] +// CHECK:STDOUT: %require_complete.f69: = require_complete_type %facet_type.c40 [symbolic] +// CHECK:STDOUT: %.Self.as_type.dc7: type = facet_access_type %.Self.f02 [symbolic] +// CHECK:STDOUT: %SubWith.lookup_impl_witness.54d: = lookup_impl_witness %.Self.f02, @SubWith.1, @SubWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %impl.elem0.67e: type = impl_witness_access %SubWith.lookup_impl_witness.54d, element0 [symbolic] +// CHECK:STDOUT: %facet_type.98a: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%U.as_type.f7f) where %impl.elem0.67e = %Result.as_type> [symbolic] +// CHECK:STDOUT: %pattern_type.054: type = pattern_type %facet_type.98a [symbolic] +// CHECK:STDOUT: %T.4a2: %facet_type.98a = symbolic_binding T, 2 [symbolic] +// CHECK:STDOUT: %T.as_type.330: type = facet_access_type %T.4a2 [symbolic] +// CHECK:STDOUT: %pattern_type.2b7: type = pattern_type %T.as_type.330 [symbolic] +// CHECK:STDOUT: %require_complete.30c: = require_complete_type %SubWith.type.394 [symbolic] +// CHECK:STDOUT: %assoc1.e6a: %SubWith.assoc_type.72b = assoc_entity element1, imports.%Core.import_ref.e2a [symbolic] +// CHECK:STDOUT: %SubWith.lookup_impl_witness.031: = lookup_impl_witness %T.4a2, @SubWith.1, @SubWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %SubWith.facet.2d1: %SubWith.type.394 = facet_value %T.as_type.330, (%SubWith.lookup_impl_witness.031) [symbolic] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type.496: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%U.as_type.f7f, %SubWith.facet.2d1) [symbolic] +// CHECK:STDOUT: %.754: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.496, %SubWith.facet.2d1 [symbolic] +// CHECK:STDOUT: %impl.elem1.a03: %.754 = impl_witness_access %SubWith.lookup_impl_witness.031, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.069: = specific_impl_function %impl.elem1.a03, @SubWith.WithSelf.Op(%U.as_type.f7f, %SubWith.facet.2d1) [symbolic] +// CHECK:STDOUT: %MulWith.type.98b: type = facet_type <@MulWith.1, @MulWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.0e2: %MulWith.type.98b = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %MulWith.assoc_type.634: type = assoc_entity_type @MulWith.1, @MulWith.1(%Other) [symbolic] +// CHECK:STDOUT: %MulWith.WithSelf.Op.type.309: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Other, %Self.0e2) [symbolic] +// CHECK:STDOUT: %MulWith.WithSelf.Op.56c: %MulWith.WithSelf.Op.type.309 = struct_value () [symbolic] +// CHECK:STDOUT: %MulWith.type.195: type = facet_type <@MulWith.1, @MulWith.1(%U.as_type.f7f)> [symbolic] +// CHECK:STDOUT: %facet_type.e45: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%U.as_type.f7f)> [symbolic] +// CHECK:STDOUT: %.Self.117: %facet_type.e45 = symbolic_binding .Self [symbolic] +// CHECK:STDOUT: %MulWith.assoc_type.fff: type = assoc_entity_type @MulWith.1, @MulWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %assoc0.dfc: %MulWith.assoc_type.fff = assoc_entity element0, imports.%Core.import_ref.41e [symbolic] +// CHECK:STDOUT: %assoc1.bde: %MulWith.assoc_type.fff = assoc_entity element1, imports.%Core.import_ref.d23 [symbolic] +// CHECK:STDOUT: %require_complete.aad: = require_complete_type %facet_type.e45 [symbolic] +// CHECK:STDOUT: %.Self.as_type.91e: type = facet_access_type %.Self.117 [symbolic] +// CHECK:STDOUT: %MulWith.lookup_impl_witness.bd7: = lookup_impl_witness %.Self.117, @MulWith.1, @MulWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %impl.elem0.e5b: type = impl_witness_access %MulWith.lookup_impl_witness.bd7, element0 [symbolic] +// CHECK:STDOUT: %facet_type.a59: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%U.as_type.f7f) where %impl.elem0.e5b = %Result.as_type> [symbolic] +// CHECK:STDOUT: %pattern_type.4b6: type = pattern_type %facet_type.a59 [symbolic] +// CHECK:STDOUT: %T.2c2: %facet_type.a59 = symbolic_binding T, 2 [symbolic] +// CHECK:STDOUT: %T.as_type.198: type = facet_access_type %T.2c2 [symbolic] +// CHECK:STDOUT: %pattern_type.2a1: type = pattern_type %T.as_type.198 [symbolic] +// CHECK:STDOUT: %require_complete.01c: = require_complete_type %MulWith.type.195 [symbolic] +// CHECK:STDOUT: %assoc1.14f: %MulWith.assoc_type.634 = assoc_entity element1, imports.%Core.import_ref.087 [symbolic] +// CHECK:STDOUT: %MulWith.lookup_impl_witness.e5c: = lookup_impl_witness %T.2c2, @MulWith.1, @MulWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %MulWith.facet.eb2: %MulWith.type.195 = facet_value %T.as_type.198, (%MulWith.lookup_impl_witness.e5c) [symbolic] +// CHECK:STDOUT: %MulWith.WithSelf.Op.type.288: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%U.as_type.f7f, %MulWith.facet.eb2) [symbolic] +// CHECK:STDOUT: %.a85: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.288, %MulWith.facet.eb2 [symbolic] +// CHECK:STDOUT: %impl.elem1.447: %.a85 = impl_witness_access %MulWith.lookup_impl_witness.e5c, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.32c: = specific_impl_function %impl.elem1.447, @MulWith.WithSelf.Op(%U.as_type.f7f, %MulWith.facet.eb2) [symbolic] +// CHECK:STDOUT: %DivWith.type.177: type = facet_type <@DivWith.1, @DivWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.7db: %DivWith.type.177 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %DivWith.assoc_type.5b4: type = assoc_entity_type @DivWith.1, @DivWith.1(%Other) [symbolic] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type.e6f: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Other, %Self.7db) [symbolic] +// CHECK:STDOUT: %DivWith.WithSelf.Op.908: %DivWith.WithSelf.Op.type.e6f = struct_value () [symbolic] +// CHECK:STDOUT: %DivWith.type.63d: type = facet_type <@DivWith.1, @DivWith.1(%U.as_type.f7f)> [symbolic] +// CHECK:STDOUT: %facet_type.511: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%U.as_type.f7f)> [symbolic] +// CHECK:STDOUT: %.Self.10f: %facet_type.511 = symbolic_binding .Self [symbolic] +// CHECK:STDOUT: %DivWith.assoc_type.e27: type = assoc_entity_type @DivWith.1, @DivWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %assoc0.46e: %DivWith.assoc_type.e27 = assoc_entity element0, imports.%Core.import_ref.e71d [symbolic] +// CHECK:STDOUT: %assoc1.7f9: %DivWith.assoc_type.e27 = assoc_entity element1, imports.%Core.import_ref.e712 [symbolic] +// CHECK:STDOUT: %require_complete.8fe: = require_complete_type %facet_type.511 [symbolic] +// CHECK:STDOUT: %.Self.as_type.151: type = facet_access_type %.Self.10f [symbolic] +// CHECK:STDOUT: %DivWith.lookup_impl_witness.0c0: = lookup_impl_witness %.Self.10f, @DivWith.1, @DivWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %impl.elem0.2d7: type = impl_witness_access %DivWith.lookup_impl_witness.0c0, element0 [symbolic] +// CHECK:STDOUT: %facet_type.5cc: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%U.as_type.f7f) where %impl.elem0.2d7 = %Result.as_type> [symbolic] +// CHECK:STDOUT: %pattern_type.fb6: type = pattern_type %facet_type.5cc [symbolic] +// CHECK:STDOUT: %T.2b9: %facet_type.5cc = symbolic_binding T, 2 [symbolic] +// CHECK:STDOUT: %T.as_type.e49: type = facet_access_type %T.2b9 [symbolic] +// CHECK:STDOUT: %pattern_type.673: type = pattern_type %T.as_type.e49 [symbolic] +// CHECK:STDOUT: %require_complete.be3: = require_complete_type %DivWith.type.63d [symbolic] +// CHECK:STDOUT: %assoc1.9374: %DivWith.assoc_type.5b4 = assoc_entity element1, imports.%Core.import_ref.993 [symbolic] +// CHECK:STDOUT: %DivWith.lookup_impl_witness.2e1: = lookup_impl_witness %T.2b9, @DivWith.1, @DivWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %DivWith.facet.b8f: %DivWith.type.63d = facet_value %T.as_type.e49, (%DivWith.lookup_impl_witness.2e1) [symbolic] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type.be6: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%U.as_type.f7f, %DivWith.facet.b8f) [symbolic] +// CHECK:STDOUT: %.42b: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.be6, %DivWith.facet.b8f [symbolic] +// CHECK:STDOUT: %impl.elem1.6f6: %.42b = impl_witness_access %DivWith.lookup_impl_witness.2e1, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.263: = specific_impl_function %impl.elem1.6f6, @DivWith.WithSelf.Op(%U.as_type.f7f, %DivWith.facet.b8f) [symbolic] +// CHECK:STDOUT: %ModWith.type.8cc: type = facet_type <@ModWith.1, @ModWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.310: %ModWith.type.8cc = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ModWith.assoc_type.4a7: type = assoc_entity_type @ModWith.1, @ModWith.1(%Other) [symbolic] +// CHECK:STDOUT: %ModWith.WithSelf.Op.type.f6b: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Other, %Self.310) [symbolic] +// CHECK:STDOUT: %ModWith.WithSelf.Op.397: %ModWith.WithSelf.Op.type.f6b = struct_value () [symbolic] +// CHECK:STDOUT: %ModWith.type.125: type = facet_type <@ModWith.1, @ModWith.1(%U.as_type.f7f)> [symbolic] +// CHECK:STDOUT: %facet_type.978: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%U.as_type.f7f)> [symbolic] +// CHECK:STDOUT: %.Self.0e2: %facet_type.978 = symbolic_binding .Self [symbolic] +// CHECK:STDOUT: %ModWith.assoc_type.3d0: type = assoc_entity_type @ModWith.1, @ModWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %assoc0.649: %ModWith.assoc_type.3d0 = assoc_entity element0, imports.%Core.import_ref.327 [symbolic] +// CHECK:STDOUT: %assoc1.3aa: %ModWith.assoc_type.3d0 = assoc_entity element1, imports.%Core.import_ref.104 [symbolic] +// CHECK:STDOUT: %require_complete.4ae: = require_complete_type %facet_type.978 [symbolic] +// CHECK:STDOUT: %.Self.as_type.d0f: type = facet_access_type %.Self.0e2 [symbolic] +// CHECK:STDOUT: %ModWith.lookup_impl_witness.ac5: = lookup_impl_witness %.Self.0e2, @ModWith.1, @ModWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %impl.elem0.50a: type = impl_witness_access %ModWith.lookup_impl_witness.ac5, element0 [symbolic] +// CHECK:STDOUT: %facet_type.c32: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%U.as_type.f7f) where %impl.elem0.50a = %Result.as_type> [symbolic] +// CHECK:STDOUT: %pattern_type.cc0: type = pattern_type %facet_type.c32 [symbolic] +// CHECK:STDOUT: %T.173: %facet_type.c32 = symbolic_binding T, 2 [symbolic] +// CHECK:STDOUT: %T.as_type.105: type = facet_access_type %T.173 [symbolic] +// CHECK:STDOUT: %pattern_type.9c5: type = pattern_type %T.as_type.105 [symbolic] +// CHECK:STDOUT: %require_complete.a64: = require_complete_type %ModWith.type.125 [symbolic] +// CHECK:STDOUT: %assoc1.232: %ModWith.assoc_type.4a7 = assoc_entity element1, imports.%Core.import_ref.bbd [symbolic] +// CHECK:STDOUT: %ModWith.lookup_impl_witness.35d: = lookup_impl_witness %T.173, @ModWith.1, @ModWith.1(%U.as_type.f7f) [symbolic] +// CHECK:STDOUT: %ModWith.facet.132: %ModWith.type.125 = facet_value %T.as_type.105, (%ModWith.lookup_impl_witness.35d) [symbolic] +// CHECK:STDOUT: %ModWith.WithSelf.Op.type.942: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%U.as_type.f7f, %ModWith.facet.132) [symbolic] +// CHECK:STDOUT: %.1a3: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.942, %ModWith.facet.132 [symbolic] +// CHECK:STDOUT: %impl.elem1.4de: %.1a3 = impl_witness_access %ModWith.lookup_impl_witness.35d, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.5d3: = specific_impl_function %impl.elem1.4de, @ModWith.WithSelf.Op(%U.as_type.f7f, %ModWith.facet.132) [symbolic] // CHECK:STDOUT: %Int16: type = class_type @Int16 [concrete] // CHECK:STDOUT: %pattern_type.802: type = pattern_type %Int16 [concrete] // CHECK:STDOUT: %Int32: type = class_type @Int32 [concrete] @@ -470,1258 +470,1258 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %pattern_type.7b1: type = pattern_type %Int64 [concrete] // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] -// CHECK:STDOUT: %pattern_type.0cb: type = pattern_type %i16 [concrete] +// CHECK:STDOUT: %pattern_type.e1b: type = pattern_type %i16 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %i16.builtin: type = int_type signed, %int_16 [concrete] // CHECK:STDOUT: %complete_type.2da: = complete_type_witness %i16.builtin [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.1: type = fn_type @Int16.Op.1 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.1: %Int16.Op.type.43d658.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.4e6cb0.1: = custom_witness (%Int16.Op.cc70d5.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.81a: %Destroy.type = facet_value %Int16, (%custom_witness.4e6cb0.1) [concrete] -// CHECK:STDOUT: %facet_type.cef: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int16)> [concrete] -// CHECK:STDOUT: %.Self.f0e: %facet_type.cef = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %AddWith.lookup_impl_witness.394: = lookup_impl_witness %.Self.f0e, @AddWith.1, @AddWith.1(%Int16) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.33b: type = impl_witness_access %AddWith.lookup_impl_witness.394, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.daf: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int16) where %impl.elem0.33b = %Int16> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc176_34.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340963.2: = custom_witness (%Destroy.Op.1dc86d.2), @Destroy [concrete] -// CHECK:STDOUT: %AddWith.type.f72: type = facet_type <@AddWith.1, @AddWith.1(%Int16)> [concrete] -// CHECK:STDOUT: %AddWith.assoc_type.02d: type = assoc_entity_type @AddWith.1, @AddWith.1(%Int16) [concrete] -// CHECK:STDOUT: %assoc0.2eb: %AddWith.assoc_type.02d = assoc_entity element0, imports.%Core.import_ref.b37 [concrete] -// CHECK:STDOUT: %assoc1.a86: %AddWith.assoc_type.02d = assoc_entity element1, imports.%Core.import_ref.935 [concrete] +// CHECK:STDOUT: %custom_witness.a98c63.1: = custom_witness (%Int16.Op.cc70d5.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.1b8: %Destroy.type = facet_value %Int16, (%custom_witness.a98c63.1) [concrete] +// CHECK:STDOUT: %facet_type.f17: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int16)> [concrete] +// CHECK:STDOUT: %.Self.863: %facet_type.f17 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %AddWith.lookup_impl_witness.896: = lookup_impl_witness %.Self.863, @AddWith.1, @AddWith.1(%Int16) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.2d1: type = impl_witness_access %AddWith.lookup_impl_witness.896, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.753: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int16) where %impl.elem0.2d1 = %Int16> [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc176_34.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %custom_witness.e20f1f.2: = custom_witness (%Destroy.Op.2dd605.2), @Destroy [concrete] +// CHECK:STDOUT: %AddWith.type.6f4: type = facet_type <@AddWith.1, @AddWith.1(%Int16)> [concrete] +// CHECK:STDOUT: %AddWith.assoc_type.e37: type = assoc_entity_type @AddWith.1, @AddWith.1(%Int16) [concrete] +// CHECK:STDOUT: %assoc0.4ec: %AddWith.assoc_type.e37 = assoc_entity element0, imports.%Core.import_ref.1dd [concrete] +// CHECK:STDOUT: %assoc1.c66: %AddWith.assoc_type.e37 = assoc_entity element1, imports.%Core.import_ref.29ff [concrete] // CHECK:STDOUT: %Op.type.0b8387.1: type = fn_type @Op.1 [concrete] // CHECK:STDOUT: %Op.b9c47d.1: %Op.type.0b8387.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.facet.929: %Destroy.type = facet_value %i16, (%custom_witness.340963.2) [concrete] -// CHECK:STDOUT: %custom_witness.25d: = custom_witness (%Int16, %Op.b9c47d.1), @AddWith.1, @AddWith.1(%Int16) [concrete] -// CHECK:STDOUT: %facet_value.b18: %facet_type.daf = facet_value %i16, (%custom_witness.340963.2, %custom_witness.25d) [concrete] -// CHECK:STDOUT: %complete_type.de7: = complete_type_witness %facet_type.cef [concrete] -// CHECK:STDOUT: %.Self.as_type.766: type = facet_access_type %.Self.f0e [symbolic_self] -// CHECK:STDOUT: %pattern_type.e7f: type = pattern_type %facet_type.daf [concrete] -// CHECK:STDOUT: %facet_type.c1e: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int16)> [concrete] -// CHECK:STDOUT: %.Self.3cc: %facet_type.c1e = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %SubWith.lookup_impl_witness.fe2: = lookup_impl_witness %.Self.3cc, @SubWith.1, @SubWith.1(%Int16) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.76d: type = impl_witness_access %SubWith.lookup_impl_witness.fe2, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.872: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int16) where %impl.elem0.76d = %Int16> [concrete] -// CHECK:STDOUT: %SubWith.type.51c: type = facet_type <@SubWith.1, @SubWith.1(%Int16)> [concrete] -// CHECK:STDOUT: %SubWith.assoc_type.5cb: type = assoc_entity_type @SubWith.1, @SubWith.1(%Int16) [concrete] -// CHECK:STDOUT: %assoc0.381: %SubWith.assoc_type.5cb = assoc_entity element0, imports.%Core.import_ref.bb2 [concrete] -// CHECK:STDOUT: %assoc1.acb: %SubWith.assoc_type.5cb = assoc_entity element1, imports.%Core.import_ref.480 [concrete] +// CHECK:STDOUT: %Destroy.facet.181: %Destroy.type = facet_value %i16, (%custom_witness.e20f1f.2) [concrete] +// CHECK:STDOUT: %custom_witness.604: = custom_witness (%Int16, %Op.b9c47d.1), @AddWith.1, @AddWith.1(%Int16) [concrete] +// CHECK:STDOUT: %facet_value.fdd: %facet_type.753 = facet_value %i16, (%custom_witness.e20f1f.2, %custom_witness.604) [concrete] +// CHECK:STDOUT: %complete_type.211: = complete_type_witness %facet_type.f17 [concrete] +// CHECK:STDOUT: %.Self.as_type.db9: type = facet_access_type %.Self.863 [symbolic_self] +// CHECK:STDOUT: %pattern_type.bc4: type = pattern_type %facet_type.753 [concrete] +// CHECK:STDOUT: %facet_type.c80: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int16)> [concrete] +// CHECK:STDOUT: %.Self.700: %facet_type.c80 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %SubWith.lookup_impl_witness.e8f: = lookup_impl_witness %.Self.700, @SubWith.1, @SubWith.1(%Int16) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.0b0: type = impl_witness_access %SubWith.lookup_impl_witness.e8f, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.5f5: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int16) where %impl.elem0.0b0 = %Int16> [concrete] +// CHECK:STDOUT: %SubWith.type.8bd: type = facet_type <@SubWith.1, @SubWith.1(%Int16)> [concrete] +// CHECK:STDOUT: %SubWith.assoc_type.eb8: type = assoc_entity_type @SubWith.1, @SubWith.1(%Int16) [concrete] +// CHECK:STDOUT: %assoc0.8a1: %SubWith.assoc_type.eb8 = assoc_entity element0, imports.%Core.import_ref.391 [concrete] +// CHECK:STDOUT: %assoc1.937f: %SubWith.assoc_type.eb8 = assoc_entity element1, imports.%Core.import_ref.940 [concrete] // CHECK:STDOUT: %Op.type.0b8387.2: type = fn_type @Op.2 [concrete] // CHECK:STDOUT: %Op.b9c47d.2: %Op.type.0b8387.2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.a7e: = custom_witness (%Int16, %Op.b9c47d.2), @SubWith.1, @SubWith.1(%Int16) [concrete] -// CHECK:STDOUT: %facet_value.3e4: %facet_type.872 = facet_value %i16, (%custom_witness.340963.2, %custom_witness.a7e) [concrete] -// CHECK:STDOUT: %complete_type.75e: = complete_type_witness %facet_type.c1e [concrete] -// CHECK:STDOUT: %.Self.as_type.dcb: type = facet_access_type %.Self.3cc [symbolic_self] -// CHECK:STDOUT: %pattern_type.85a: type = pattern_type %facet_type.872 [concrete] -// CHECK:STDOUT: %facet_type.98f: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int16)> [concrete] -// CHECK:STDOUT: %.Self.1c9: %facet_type.98f = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %MulWith.lookup_impl_witness.a93: = lookup_impl_witness %.Self.1c9, @MulWith.1, @MulWith.1(%Int16) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.cce: type = impl_witness_access %MulWith.lookup_impl_witness.a93, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.2c5: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int16) where %impl.elem0.cce = %Int16> [concrete] -// CHECK:STDOUT: %MulWith.type.40b: type = facet_type <@MulWith.1, @MulWith.1(%Int16)> [concrete] -// CHECK:STDOUT: %MulWith.assoc_type.533: type = assoc_entity_type @MulWith.1, @MulWith.1(%Int16) [concrete] -// CHECK:STDOUT: %assoc0.8f1: %MulWith.assoc_type.533 = assoc_entity element0, imports.%Core.import_ref.a1a [concrete] -// CHECK:STDOUT: %assoc1.bee: %MulWith.assoc_type.533 = assoc_entity element1, imports.%Core.import_ref.7ed [concrete] +// CHECK:STDOUT: %custom_witness.4c1: = custom_witness (%Int16, %Op.b9c47d.2), @SubWith.1, @SubWith.1(%Int16) [concrete] +// CHECK:STDOUT: %facet_value.578: %facet_type.5f5 = facet_value %i16, (%custom_witness.e20f1f.2, %custom_witness.4c1) [concrete] +// CHECK:STDOUT: %complete_type.a74: = complete_type_witness %facet_type.c80 [concrete] +// CHECK:STDOUT: %.Self.as_type.c4d: type = facet_access_type %.Self.700 [symbolic_self] +// CHECK:STDOUT: %pattern_type.4d6: type = pattern_type %facet_type.5f5 [concrete] +// CHECK:STDOUT: %facet_type.d27: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int16)> [concrete] +// CHECK:STDOUT: %.Self.e39: %facet_type.d27 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %MulWith.lookup_impl_witness.5e1: = lookup_impl_witness %.Self.e39, @MulWith.1, @MulWith.1(%Int16) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.e54: type = impl_witness_access %MulWith.lookup_impl_witness.5e1, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.9da: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int16) where %impl.elem0.e54 = %Int16> [concrete] +// CHECK:STDOUT: %MulWith.type.c25: type = facet_type <@MulWith.1, @MulWith.1(%Int16)> [concrete] +// CHECK:STDOUT: %MulWith.assoc_type.543: type = assoc_entity_type @MulWith.1, @MulWith.1(%Int16) [concrete] +// CHECK:STDOUT: %assoc0.81e: %MulWith.assoc_type.543 = assoc_entity element0, imports.%Core.import_ref.41e [concrete] +// CHECK:STDOUT: %assoc1.911: %MulWith.assoc_type.543 = assoc_entity element1, imports.%Core.import_ref.d23 [concrete] // CHECK:STDOUT: %Op.type.0b8387.3: type = fn_type @Op.3 [concrete] // CHECK:STDOUT: %Op.b9c47d.3: %Op.type.0b8387.3 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b37: = custom_witness (%Int16, %Op.b9c47d.3), @MulWith.1, @MulWith.1(%Int16) [concrete] -// CHECK:STDOUT: %facet_value.690: %facet_type.2c5 = facet_value %i16, (%custom_witness.340963.2, %custom_witness.b37) [concrete] -// CHECK:STDOUT: %complete_type.64c: = complete_type_witness %facet_type.98f [concrete] -// CHECK:STDOUT: %.Self.as_type.85f: type = facet_access_type %.Self.1c9 [symbolic_self] -// CHECK:STDOUT: %pattern_type.cd4: type = pattern_type %facet_type.2c5 [concrete] -// CHECK:STDOUT: %facet_type.521: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int16)> [concrete] -// CHECK:STDOUT: %.Self.5ce: %facet_type.521 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %DivWith.lookup_impl_witness.f18: = lookup_impl_witness %.Self.5ce, @DivWith.1, @DivWith.1(%Int16) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.45d: type = impl_witness_access %DivWith.lookup_impl_witness.f18, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.715: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int16) where %impl.elem0.45d = %Int16> [concrete] -// CHECK:STDOUT: %DivWith.type.2b7: type = facet_type <@DivWith.1, @DivWith.1(%Int16)> [concrete] -// CHECK:STDOUT: %DivWith.assoc_type.f24: type = assoc_entity_type @DivWith.1, @DivWith.1(%Int16) [concrete] -// CHECK:STDOUT: %assoc0.e80: %DivWith.assoc_type.f24 = assoc_entity element0, imports.%Core.import_ref.b8f [concrete] -// CHECK:STDOUT: %assoc1.113: %DivWith.assoc_type.f24 = assoc_entity element1, imports.%Core.import_ref.44d [concrete] +// CHECK:STDOUT: %custom_witness.72a: = custom_witness (%Int16, %Op.b9c47d.3), @MulWith.1, @MulWith.1(%Int16) [concrete] +// CHECK:STDOUT: %facet_value.1ee: %facet_type.9da = facet_value %i16, (%custom_witness.e20f1f.2, %custom_witness.72a) [concrete] +// CHECK:STDOUT: %complete_type.aa7: = complete_type_witness %facet_type.d27 [concrete] +// CHECK:STDOUT: %.Self.as_type.87e: type = facet_access_type %.Self.e39 [symbolic_self] +// CHECK:STDOUT: %pattern_type.d31: type = pattern_type %facet_type.9da [concrete] +// CHECK:STDOUT: %facet_type.8eb: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int16)> [concrete] +// CHECK:STDOUT: %.Self.467: %facet_type.8eb = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %DivWith.lookup_impl_witness.9bc: = lookup_impl_witness %.Self.467, @DivWith.1, @DivWith.1(%Int16) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.5c6: type = impl_witness_access %DivWith.lookup_impl_witness.9bc, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.7f5: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int16) where %impl.elem0.5c6 = %Int16> [concrete] +// CHECK:STDOUT: %DivWith.type.053: type = facet_type <@DivWith.1, @DivWith.1(%Int16)> [concrete] +// CHECK:STDOUT: %DivWith.assoc_type.73e: type = assoc_entity_type @DivWith.1, @DivWith.1(%Int16) [concrete] +// CHECK:STDOUT: %assoc0.e96: %DivWith.assoc_type.73e = assoc_entity element0, imports.%Core.import_ref.e71d [concrete] +// CHECK:STDOUT: %assoc1.10b: %DivWith.assoc_type.73e = assoc_entity element1, imports.%Core.import_ref.e712 [concrete] // CHECK:STDOUT: %Op.type.0b8387.4: type = fn_type @Op.4 [concrete] // CHECK:STDOUT: %Op.b9c47d.4: %Op.type.0b8387.4 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.45b: = custom_witness (%Int16, %Op.b9c47d.4), @DivWith.1, @DivWith.1(%Int16) [concrete] -// CHECK:STDOUT: %facet_value.41e: %facet_type.715 = facet_value %i16, (%custom_witness.340963.2, %custom_witness.45b) [concrete] -// CHECK:STDOUT: %complete_type.236: = complete_type_witness %facet_type.521 [concrete] -// CHECK:STDOUT: %.Self.as_type.2c8: type = facet_access_type %.Self.5ce [symbolic_self] -// CHECK:STDOUT: %pattern_type.b0e: type = pattern_type %facet_type.715 [concrete] -// CHECK:STDOUT: %facet_type.eee: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int16)> [concrete] -// CHECK:STDOUT: %.Self.5ab: %facet_type.eee = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %ModWith.lookup_impl_witness.c9e: = lookup_impl_witness %.Self.5ab, @ModWith.1, @ModWith.1(%Int16) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.044: type = impl_witness_access %ModWith.lookup_impl_witness.c9e, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.c2d: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int16) where %impl.elem0.044 = %Int16> [concrete] -// CHECK:STDOUT: %ModWith.type.06a: type = facet_type <@ModWith.1, @ModWith.1(%Int16)> [concrete] -// CHECK:STDOUT: %ModWith.assoc_type.a11: type = assoc_entity_type @ModWith.1, @ModWith.1(%Int16) [concrete] -// CHECK:STDOUT: %assoc0.418: %ModWith.assoc_type.a11 = assoc_entity element0, imports.%Core.import_ref.f19 [concrete] -// CHECK:STDOUT: %assoc1.67f: %ModWith.assoc_type.a11 = assoc_entity element1, imports.%Core.import_ref.556 [concrete] +// CHECK:STDOUT: %custom_witness.6ea: = custom_witness (%Int16, %Op.b9c47d.4), @DivWith.1, @DivWith.1(%Int16) [concrete] +// CHECK:STDOUT: %facet_value.6b2: %facet_type.7f5 = facet_value %i16, (%custom_witness.e20f1f.2, %custom_witness.6ea) [concrete] +// CHECK:STDOUT: %complete_type.d563: = complete_type_witness %facet_type.8eb [concrete] +// CHECK:STDOUT: %.Self.as_type.3cd: type = facet_access_type %.Self.467 [symbolic_self] +// CHECK:STDOUT: %pattern_type.2be: type = pattern_type %facet_type.7f5 [concrete] +// CHECK:STDOUT: %facet_type.dc7: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int16)> [concrete] +// CHECK:STDOUT: %.Self.703: %facet_type.dc7 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %ModWith.lookup_impl_witness.c7a: = lookup_impl_witness %.Self.703, @ModWith.1, @ModWith.1(%Int16) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.094: type = impl_witness_access %ModWith.lookup_impl_witness.c7a, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.fde: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int16) where %impl.elem0.094 = %Int16> [concrete] +// CHECK:STDOUT: %ModWith.type.a83: type = facet_type <@ModWith.1, @ModWith.1(%Int16)> [concrete] +// CHECK:STDOUT: %ModWith.assoc_type.55b: type = assoc_entity_type @ModWith.1, @ModWith.1(%Int16) [concrete] +// CHECK:STDOUT: %assoc0.8a3: %ModWith.assoc_type.55b = assoc_entity element0, imports.%Core.import_ref.327 [concrete] +// CHECK:STDOUT: %assoc1.7d4: %ModWith.assoc_type.55b = assoc_entity element1, imports.%Core.import_ref.104 [concrete] // CHECK:STDOUT: %Op.type.0b8387.5: type = fn_type @Op.5 [concrete] // CHECK:STDOUT: %Op.b9c47d.5: %Op.type.0b8387.5 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.7ff: = custom_witness (%Int16, %Op.b9c47d.5), @ModWith.1, @ModWith.1(%Int16) [concrete] -// CHECK:STDOUT: %facet_value.5ea: %facet_type.c2d = facet_value %i16, (%custom_witness.340963.2, %custom_witness.7ff) [concrete] -// CHECK:STDOUT: %complete_type.26b: = complete_type_witness %facet_type.eee [concrete] -// CHECK:STDOUT: %.Self.as_type.c50: type = facet_access_type %.Self.5ab [symbolic_self] -// CHECK:STDOUT: %pattern_type.752: type = pattern_type %facet_type.c2d [concrete] -// CHECK:STDOUT: %facet_type.074: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%i16)> [concrete] -// CHECK:STDOUT: %.Self.a3f: %facet_type.074 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %AddWith.lookup_impl_witness.e89: = lookup_impl_witness %.Self.a3f, @AddWith.1, @AddWith.1(%i16) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.4db: type = impl_witness_access %AddWith.lookup_impl_witness.e89, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.5b5: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%i16) where %impl.elem0.4db = %Int16> [concrete] -// CHECK:STDOUT: %AddWith.type.a6e: type = facet_type <@AddWith.1, @AddWith.1(%i16)> [concrete] -// CHECK:STDOUT: %AddWith.assoc_type.6b4: type = assoc_entity_type @AddWith.1, @AddWith.1(%i16) [concrete] -// CHECK:STDOUT: %assoc0.8ca: %AddWith.assoc_type.6b4 = assoc_entity element0, imports.%Core.import_ref.b37 [concrete] -// CHECK:STDOUT: %assoc1.864: %AddWith.assoc_type.6b4 = assoc_entity element1, imports.%Core.import_ref.935 [concrete] +// CHECK:STDOUT: %custom_witness.b81: = custom_witness (%Int16, %Op.b9c47d.5), @ModWith.1, @ModWith.1(%Int16) [concrete] +// CHECK:STDOUT: %facet_value.07d: %facet_type.fde = facet_value %i16, (%custom_witness.e20f1f.2, %custom_witness.b81) [concrete] +// CHECK:STDOUT: %complete_type.65d: = complete_type_witness %facet_type.dc7 [concrete] +// CHECK:STDOUT: %.Self.as_type.c72: type = facet_access_type %.Self.703 [symbolic_self] +// CHECK:STDOUT: %pattern_type.268: type = pattern_type %facet_type.fde [concrete] +// CHECK:STDOUT: %facet_type.bf5: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%i16)> [concrete] +// CHECK:STDOUT: %.Self.b0b: %facet_type.bf5 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %AddWith.lookup_impl_witness.2ab: = lookup_impl_witness %.Self.b0b, @AddWith.1, @AddWith.1(%i16) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.b1c: type = impl_witness_access %AddWith.lookup_impl_witness.2ab, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.c90: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%i16) where %impl.elem0.b1c = %Int16> [concrete] +// CHECK:STDOUT: %AddWith.type.63e: type = facet_type <@AddWith.1, @AddWith.1(%i16)> [concrete] +// CHECK:STDOUT: %AddWith.assoc_type.fdd: type = assoc_entity_type @AddWith.1, @AddWith.1(%i16) [concrete] +// CHECK:STDOUT: %assoc0.c67: %AddWith.assoc_type.fdd = assoc_entity element0, imports.%Core.import_ref.1dd [concrete] +// CHECK:STDOUT: %assoc1.0e4: %AddWith.assoc_type.fdd = assoc_entity element1, imports.%Core.import_ref.29ff [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.3: type = fn_type @Int16.Op.3 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.3: %Int16.Op.type.43d658.3 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.d49: = custom_witness (%Int16, %Int16.Op.cc70d5.3), @AddWith.1, @AddWith.1(%i16) [concrete] -// CHECK:STDOUT: %facet_value.8d1: %facet_type.5b5 = facet_value %Int16, (%custom_witness.4e6cb0.1, %custom_witness.d49) [concrete] -// CHECK:STDOUT: %complete_type.fbb: = complete_type_witness %facet_type.074 [concrete] -// CHECK:STDOUT: %.Self.as_type.1c2: type = facet_access_type %.Self.a3f [symbolic_self] -// CHECK:STDOUT: %pattern_type.267: type = pattern_type %facet_type.5b5 [concrete] -// CHECK:STDOUT: %facet_type.352: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%i16)> [concrete] -// CHECK:STDOUT: %.Self.982: %facet_type.352 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %SubWith.lookup_impl_witness.7e3: = lookup_impl_witness %.Self.982, @SubWith.1, @SubWith.1(%i16) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.aa0: type = impl_witness_access %SubWith.lookup_impl_witness.7e3, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.fbb: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%i16) where %impl.elem0.aa0 = %Int16> [concrete] -// CHECK:STDOUT: %SubWith.type.2f5: type = facet_type <@SubWith.1, @SubWith.1(%i16)> [concrete] -// CHECK:STDOUT: %SubWith.assoc_type.70d: type = assoc_entity_type @SubWith.1, @SubWith.1(%i16) [concrete] -// CHECK:STDOUT: %assoc0.367: %SubWith.assoc_type.70d = assoc_entity element0, imports.%Core.import_ref.bb2 [concrete] -// CHECK:STDOUT: %assoc1.6ca: %SubWith.assoc_type.70d = assoc_entity element1, imports.%Core.import_ref.480 [concrete] +// CHECK:STDOUT: %custom_witness.9f2: = custom_witness (%Int16, %Int16.Op.cc70d5.3), @AddWith.1, @AddWith.1(%i16) [concrete] +// CHECK:STDOUT: %facet_value.b21: %facet_type.c90 = facet_value %Int16, (%custom_witness.a98c63.1, %custom_witness.9f2) [concrete] +// CHECK:STDOUT: %complete_type.b92: = complete_type_witness %facet_type.bf5 [concrete] +// CHECK:STDOUT: %.Self.as_type.ed9: type = facet_access_type %.Self.b0b [symbolic_self] +// CHECK:STDOUT: %pattern_type.a15: type = pattern_type %facet_type.c90 [concrete] +// CHECK:STDOUT: %facet_type.5e7: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%i16)> [concrete] +// CHECK:STDOUT: %.Self.bea: %facet_type.5e7 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %SubWith.lookup_impl_witness.7b4: = lookup_impl_witness %.Self.bea, @SubWith.1, @SubWith.1(%i16) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.61d: type = impl_witness_access %SubWith.lookup_impl_witness.7b4, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.80f: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%i16) where %impl.elem0.61d = %Int16> [concrete] +// CHECK:STDOUT: %SubWith.type.1db: type = facet_type <@SubWith.1, @SubWith.1(%i16)> [concrete] +// CHECK:STDOUT: %SubWith.assoc_type.5df: type = assoc_entity_type @SubWith.1, @SubWith.1(%i16) [concrete] +// CHECK:STDOUT: %assoc0.870: %SubWith.assoc_type.5df = assoc_entity element0, imports.%Core.import_ref.391 [concrete] +// CHECK:STDOUT: %assoc1.b6b: %SubWith.assoc_type.5df = assoc_entity element1, imports.%Core.import_ref.940 [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.4: type = fn_type @Int16.Op.4 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.4: %Int16.Op.type.43d658.4 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.5c6: = custom_witness (%Int16, %Int16.Op.cc70d5.4), @SubWith.1, @SubWith.1(%i16) [concrete] -// CHECK:STDOUT: %facet_value.f76: %facet_type.fbb = facet_value %Int16, (%custom_witness.4e6cb0.1, %custom_witness.5c6) [concrete] -// CHECK:STDOUT: %complete_type.757: = complete_type_witness %facet_type.352 [concrete] -// CHECK:STDOUT: %.Self.as_type.311: type = facet_access_type %.Self.982 [symbolic_self] -// CHECK:STDOUT: %pattern_type.246: type = pattern_type %facet_type.fbb [concrete] -// CHECK:STDOUT: %facet_type.bff: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%i16)> [concrete] -// CHECK:STDOUT: %.Self.92d: %facet_type.bff = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %MulWith.lookup_impl_witness.fd5: = lookup_impl_witness %.Self.92d, @MulWith.1, @MulWith.1(%i16) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.004: type = impl_witness_access %MulWith.lookup_impl_witness.fd5, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.f39: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%i16) where %impl.elem0.004 = %Int16> [concrete] -// CHECK:STDOUT: %MulWith.type.278: type = facet_type <@MulWith.1, @MulWith.1(%i16)> [concrete] -// CHECK:STDOUT: %MulWith.assoc_type.8cf: type = assoc_entity_type @MulWith.1, @MulWith.1(%i16) [concrete] -// CHECK:STDOUT: %assoc0.de2: %MulWith.assoc_type.8cf = assoc_entity element0, imports.%Core.import_ref.a1a [concrete] -// CHECK:STDOUT: %assoc1.c99: %MulWith.assoc_type.8cf = assoc_entity element1, imports.%Core.import_ref.7ed [concrete] +// CHECK:STDOUT: %custom_witness.6a5: = custom_witness (%Int16, %Int16.Op.cc70d5.4), @SubWith.1, @SubWith.1(%i16) [concrete] +// CHECK:STDOUT: %facet_value.2b4: %facet_type.80f = facet_value %Int16, (%custom_witness.a98c63.1, %custom_witness.6a5) [concrete] +// CHECK:STDOUT: %complete_type.9fc: = complete_type_witness %facet_type.5e7 [concrete] +// CHECK:STDOUT: %.Self.as_type.b77: type = facet_access_type %.Self.bea [symbolic_self] +// CHECK:STDOUT: %pattern_type.7a0: type = pattern_type %facet_type.80f [concrete] +// CHECK:STDOUT: %facet_type.183: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%i16)> [concrete] +// CHECK:STDOUT: %.Self.0ef: %facet_type.183 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %MulWith.lookup_impl_witness.b3c: = lookup_impl_witness %.Self.0ef, @MulWith.1, @MulWith.1(%i16) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.4a2: type = impl_witness_access %MulWith.lookup_impl_witness.b3c, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.6bb: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%i16) where %impl.elem0.4a2 = %Int16> [concrete] +// CHECK:STDOUT: %MulWith.type.c35: type = facet_type <@MulWith.1, @MulWith.1(%i16)> [concrete] +// CHECK:STDOUT: %MulWith.assoc_type.378: type = assoc_entity_type @MulWith.1, @MulWith.1(%i16) [concrete] +// CHECK:STDOUT: %assoc0.7cb: %MulWith.assoc_type.378 = assoc_entity element0, imports.%Core.import_ref.41e [concrete] +// CHECK:STDOUT: %assoc1.9b3: %MulWith.assoc_type.378 = assoc_entity element1, imports.%Core.import_ref.d23 [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.5: type = fn_type @Int16.Op.5 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.5: %Int16.Op.type.43d658.5 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.21d: = custom_witness (%Int16, %Int16.Op.cc70d5.5), @MulWith.1, @MulWith.1(%i16) [concrete] -// CHECK:STDOUT: %facet_value.a39: %facet_type.f39 = facet_value %Int16, (%custom_witness.4e6cb0.1, %custom_witness.21d) [concrete] -// CHECK:STDOUT: %complete_type.4fc: = complete_type_witness %facet_type.bff [concrete] -// CHECK:STDOUT: %.Self.as_type.f34: type = facet_access_type %.Self.92d [symbolic_self] -// CHECK:STDOUT: %pattern_type.9af: type = pattern_type %facet_type.f39 [concrete] -// CHECK:STDOUT: %facet_type.223: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%i16)> [concrete] -// CHECK:STDOUT: %.Self.867: %facet_type.223 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %DivWith.lookup_impl_witness.7f7: = lookup_impl_witness %.Self.867, @DivWith.1, @DivWith.1(%i16) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.e0d: type = impl_witness_access %DivWith.lookup_impl_witness.7f7, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.3fe: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%i16) where %impl.elem0.e0d = %Int16> [concrete] -// CHECK:STDOUT: %DivWith.type.9b1: type = facet_type <@DivWith.1, @DivWith.1(%i16)> [concrete] -// CHECK:STDOUT: %DivWith.assoc_type.746: type = assoc_entity_type @DivWith.1, @DivWith.1(%i16) [concrete] -// CHECK:STDOUT: %assoc0.13d: %DivWith.assoc_type.746 = assoc_entity element0, imports.%Core.import_ref.b8f [concrete] -// CHECK:STDOUT: %assoc1.84d: %DivWith.assoc_type.746 = assoc_entity element1, imports.%Core.import_ref.44d [concrete] +// CHECK:STDOUT: %custom_witness.35c: = custom_witness (%Int16, %Int16.Op.cc70d5.5), @MulWith.1, @MulWith.1(%i16) [concrete] +// CHECK:STDOUT: %facet_value.88a: %facet_type.6bb = facet_value %Int16, (%custom_witness.a98c63.1, %custom_witness.35c) [concrete] +// CHECK:STDOUT: %complete_type.309: = complete_type_witness %facet_type.183 [concrete] +// CHECK:STDOUT: %.Self.as_type.751: type = facet_access_type %.Self.0ef [symbolic_self] +// CHECK:STDOUT: %pattern_type.fff: type = pattern_type %facet_type.6bb [concrete] +// CHECK:STDOUT: %facet_type.ab4: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%i16)> [concrete] +// CHECK:STDOUT: %.Self.627: %facet_type.ab4 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %DivWith.lookup_impl_witness.3d7: = lookup_impl_witness %.Self.627, @DivWith.1, @DivWith.1(%i16) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.ce6: type = impl_witness_access %DivWith.lookup_impl_witness.3d7, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.6b1: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%i16) where %impl.elem0.ce6 = %Int16> [concrete] +// CHECK:STDOUT: %DivWith.type.086: type = facet_type <@DivWith.1, @DivWith.1(%i16)> [concrete] +// CHECK:STDOUT: %DivWith.assoc_type.d3a: type = assoc_entity_type @DivWith.1, @DivWith.1(%i16) [concrete] +// CHECK:STDOUT: %assoc0.8b8: %DivWith.assoc_type.d3a = assoc_entity element0, imports.%Core.import_ref.e71d [concrete] +// CHECK:STDOUT: %assoc1.acb: %DivWith.assoc_type.d3a = assoc_entity element1, imports.%Core.import_ref.e712 [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.6: type = fn_type @Int16.Op.6 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.6: %Int16.Op.type.43d658.6 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.6a8: = custom_witness (%Int16, %Int16.Op.cc70d5.6), @DivWith.1, @DivWith.1(%i16) [concrete] -// CHECK:STDOUT: %facet_value.0e0: %facet_type.3fe = facet_value %Int16, (%custom_witness.4e6cb0.1, %custom_witness.6a8) [concrete] -// CHECK:STDOUT: %complete_type.ddd: = complete_type_witness %facet_type.223 [concrete] -// CHECK:STDOUT: %.Self.as_type.3fc: type = facet_access_type %.Self.867 [symbolic_self] -// CHECK:STDOUT: %pattern_type.063: type = pattern_type %facet_type.3fe [concrete] -// CHECK:STDOUT: %facet_type.c0c: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%i16)> [concrete] -// CHECK:STDOUT: %.Self.762: %facet_type.c0c = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %ModWith.lookup_impl_witness.cfe: = lookup_impl_witness %.Self.762, @ModWith.1, @ModWith.1(%i16) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.4d9: type = impl_witness_access %ModWith.lookup_impl_witness.cfe, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.3cb: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%i16) where %impl.elem0.4d9 = %Int16> [concrete] +// CHECK:STDOUT: %custom_witness.52d: = custom_witness (%Int16, %Int16.Op.cc70d5.6), @DivWith.1, @DivWith.1(%i16) [concrete] +// CHECK:STDOUT: %facet_value.473: %facet_type.6b1 = facet_value %Int16, (%custom_witness.a98c63.1, %custom_witness.52d) [concrete] +// CHECK:STDOUT: %complete_type.d56e: = complete_type_witness %facet_type.ab4 [concrete] +// CHECK:STDOUT: %.Self.as_type.4c8: type = facet_access_type %.Self.627 [symbolic_self] +// CHECK:STDOUT: %pattern_type.92a: type = pattern_type %facet_type.6b1 [concrete] +// CHECK:STDOUT: %facet_type.4ac: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%i16)> [concrete] +// CHECK:STDOUT: %.Self.b05: %facet_type.4ac = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %ModWith.lookup_impl_witness.ae1: = lookup_impl_witness %.Self.b05, @ModWith.1, @ModWith.1(%i16) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.9ea: type = impl_witness_access %ModWith.lookup_impl_witness.ae1, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.b54: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%i16) where %impl.elem0.9ea = %Int16> [concrete] // CHECK:STDOUT: %ModWith.type.59b: type = facet_type <@ModWith.1, @ModWith.1(%i16)> [concrete] -// CHECK:STDOUT: %ModWith.assoc_type.3a6: type = assoc_entity_type @ModWith.1, @ModWith.1(%i16) [concrete] -// CHECK:STDOUT: %assoc0.2b8: %ModWith.assoc_type.3a6 = assoc_entity element0, imports.%Core.import_ref.f19 [concrete] -// CHECK:STDOUT: %assoc1.a21: %ModWith.assoc_type.3a6 = assoc_entity element1, imports.%Core.import_ref.556 [concrete] +// CHECK:STDOUT: %ModWith.assoc_type.95c: type = assoc_entity_type @ModWith.1, @ModWith.1(%i16) [concrete] +// CHECK:STDOUT: %assoc0.954: %ModWith.assoc_type.95c = assoc_entity element0, imports.%Core.import_ref.327 [concrete] +// CHECK:STDOUT: %assoc1.503: %ModWith.assoc_type.95c = assoc_entity element1, imports.%Core.import_ref.104 [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.7: type = fn_type @Int16.Op.7 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.7: %Int16.Op.type.43d658.7 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.cdb: = custom_witness (%Int16, %Int16.Op.cc70d5.7), @ModWith.1, @ModWith.1(%i16) [concrete] -// CHECK:STDOUT: %facet_value.be3: %facet_type.3cb = facet_value %Int16, (%custom_witness.4e6cb0.1, %custom_witness.cdb) [concrete] -// CHECK:STDOUT: %complete_type.e02: = complete_type_witness %facet_type.c0c [concrete] -// CHECK:STDOUT: %.Self.as_type.68f: type = facet_access_type %.Self.762 [symbolic_self] -// CHECK:STDOUT: %pattern_type.7ba: type = pattern_type %facet_type.3cb [concrete] +// CHECK:STDOUT: %custom_witness.887: = custom_witness (%Int16, %Int16.Op.cc70d5.7), @ModWith.1, @ModWith.1(%i16) [concrete] +// CHECK:STDOUT: %facet_value.c3b: %facet_type.b54 = facet_value %Int16, (%custom_witness.a98c63.1, %custom_witness.887) [concrete] +// CHECK:STDOUT: %complete_type.602: = complete_type_witness %facet_type.4ac [concrete] +// CHECK:STDOUT: %.Self.as_type.c10: type = facet_access_type %.Self.b05 [symbolic_self] +// CHECK:STDOUT: %pattern_type.87b: type = pattern_type %facet_type.b54 [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.1: type = fn_type @Int32.Op.1 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.1: %Int32.Op.type.43d658.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.4e6cb0.2: = custom_witness (%Int32.Op.cc70d5.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.cff: %Destroy.type = facet_value %Int32, (%custom_witness.4e6cb0.2) [concrete] -// CHECK:STDOUT: %facet_type.ba9: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %.Self.347: %facet_type.ba9 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %AddWith.lookup_impl_witness.d10: = lookup_impl_witness %.Self.347, @AddWith.1, @AddWith.1(%Int32) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.3a6: type = impl_witness_access %AddWith.lookup_impl_witness.d10, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.ca7: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int32) where %impl.elem0.3a6 = %Int32> [concrete] -// CHECK:STDOUT: %AddWith.type.468: type = facet_type <@AddWith.1, @AddWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %AddWith.assoc_type.e39: type = assoc_entity_type @AddWith.1, @AddWith.1(%Int32) [concrete] -// CHECK:STDOUT: %assoc0.f9d: %AddWith.assoc_type.e39 = assoc_entity element0, imports.%Core.import_ref.b37 [concrete] -// CHECK:STDOUT: %assoc1.32d: %AddWith.assoc_type.e39 = assoc_entity element1, imports.%Core.import_ref.935 [concrete] +// CHECK:STDOUT: %custom_witness.a98c63.2: = custom_witness (%Int32.Op.cc70d5.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.d87: %Destroy.type = facet_value %Int32, (%custom_witness.a98c63.2) [concrete] +// CHECK:STDOUT: %facet_type.9c9: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %.Self.495: %facet_type.9c9 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %AddWith.lookup_impl_witness.4d9: = lookup_impl_witness %.Self.495, @AddWith.1, @AddWith.1(%Int32) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.53a: type = impl_witness_access %AddWith.lookup_impl_witness.4d9, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.8fd: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int32) where %impl.elem0.53a = %Int32> [concrete] +// CHECK:STDOUT: %AddWith.type.78c: type = facet_type <@AddWith.1, @AddWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %AddWith.assoc_type.882: type = assoc_entity_type @AddWith.1, @AddWith.1(%Int32) [concrete] +// CHECK:STDOUT: %assoc0.5b9: %AddWith.assoc_type.882 = assoc_entity element0, imports.%Core.import_ref.1dd [concrete] +// CHECK:STDOUT: %assoc1.892: %AddWith.assoc_type.882 = assoc_entity element1, imports.%Core.import_ref.29ff [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.8: type = fn_type @Int16.Op.8 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.8: %Int16.Op.type.43d658.8 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.d576a6.1: = custom_witness (%Int32, %Int16.Op.cc70d5.8), @AddWith.1, @AddWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.b10: %facet_type.ca7 = facet_value %Int16, (%custom_witness.4e6cb0.1, %custom_witness.d576a6.1) [concrete] -// CHECK:STDOUT: %complete_type.95c: = complete_type_witness %facet_type.ba9 [concrete] -// CHECK:STDOUT: %.Self.as_type.9fd: type = facet_access_type %.Self.347 [symbolic_self] -// CHECK:STDOUT: %pattern_type.10c: type = pattern_type %facet_type.ca7 [concrete] -// CHECK:STDOUT: %facet_type.2eb: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %.Self.f63: %facet_type.2eb = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %SubWith.lookup_impl_witness.029: = lookup_impl_witness %.Self.f63, @SubWith.1, @SubWith.1(%Int32) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.e1a: type = impl_witness_access %SubWith.lookup_impl_witness.029, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.53b: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int32) where %impl.elem0.e1a = %Int32> [concrete] -// CHECK:STDOUT: %SubWith.type.36c: type = facet_type <@SubWith.1, @SubWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %SubWith.assoc_type.641: type = assoc_entity_type @SubWith.1, @SubWith.1(%Int32) [concrete] -// CHECK:STDOUT: %assoc0.820: %SubWith.assoc_type.641 = assoc_entity element0, imports.%Core.import_ref.bb2 [concrete] -// CHECK:STDOUT: %assoc1.d34f: %SubWith.assoc_type.641 = assoc_entity element1, imports.%Core.import_ref.480 [concrete] +// CHECK:STDOUT: %custom_witness.e46c75.1: = custom_witness (%Int32, %Int16.Op.cc70d5.8), @AddWith.1, @AddWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.464: %facet_type.8fd = facet_value %Int16, (%custom_witness.a98c63.1, %custom_witness.e46c75.1) [concrete] +// CHECK:STDOUT: %complete_type.f26: = complete_type_witness %facet_type.9c9 [concrete] +// CHECK:STDOUT: %.Self.as_type.154: type = facet_access_type %.Self.495 [symbolic_self] +// CHECK:STDOUT: %pattern_type.15c: type = pattern_type %facet_type.8fd [concrete] +// CHECK:STDOUT: %facet_type.6c8: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %.Self.cbb: %facet_type.6c8 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %SubWith.lookup_impl_witness.733: = lookup_impl_witness %.Self.cbb, @SubWith.1, @SubWith.1(%Int32) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.e47: type = impl_witness_access %SubWith.lookup_impl_witness.733, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.02a: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int32) where %impl.elem0.e47 = %Int32> [concrete] +// CHECK:STDOUT: %SubWith.type.629: type = facet_type <@SubWith.1, @SubWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %SubWith.assoc_type.a03: type = assoc_entity_type @SubWith.1, @SubWith.1(%Int32) [concrete] +// CHECK:STDOUT: %assoc0.199: %SubWith.assoc_type.a03 = assoc_entity element0, imports.%Core.import_ref.391 [concrete] +// CHECK:STDOUT: %assoc1.bff: %SubWith.assoc_type.a03 = assoc_entity element1, imports.%Core.import_ref.940 [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.9: type = fn_type @Int16.Op.9 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.9: %Int16.Op.type.43d658.9 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.88a574.1: = custom_witness (%Int32, %Int16.Op.cc70d5.9), @SubWith.1, @SubWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.499: %facet_type.53b = facet_value %Int16, (%custom_witness.4e6cb0.1, %custom_witness.88a574.1) [concrete] -// CHECK:STDOUT: %complete_type.d22: = complete_type_witness %facet_type.2eb [concrete] -// CHECK:STDOUT: %.Self.as_type.531: type = facet_access_type %.Self.f63 [symbolic_self] -// CHECK:STDOUT: %pattern_type.0bd5: type = pattern_type %facet_type.53b [concrete] -// CHECK:STDOUT: %facet_type.493: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %.Self.e2d: %facet_type.493 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %MulWith.lookup_impl_witness.11c: = lookup_impl_witness %.Self.e2d, @MulWith.1, @MulWith.1(%Int32) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.ef0: type = impl_witness_access %MulWith.lookup_impl_witness.11c, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.dac: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int32) where %impl.elem0.ef0 = %Int32> [concrete] -// CHECK:STDOUT: %MulWith.type.a1b: type = facet_type <@MulWith.1, @MulWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %MulWith.assoc_type.534: type = assoc_entity_type @MulWith.1, @MulWith.1(%Int32) [concrete] -// CHECK:STDOUT: %assoc0.266: %MulWith.assoc_type.534 = assoc_entity element0, imports.%Core.import_ref.a1a [concrete] -// CHECK:STDOUT: %assoc1.5d0: %MulWith.assoc_type.534 = assoc_entity element1, imports.%Core.import_ref.7ed [concrete] +// CHECK:STDOUT: %custom_witness.7ffeb1.1: = custom_witness (%Int32, %Int16.Op.cc70d5.9), @SubWith.1, @SubWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.197: %facet_type.02a = facet_value %Int16, (%custom_witness.a98c63.1, %custom_witness.7ffeb1.1) [concrete] +// CHECK:STDOUT: %complete_type.dae: = complete_type_witness %facet_type.6c8 [concrete] +// CHECK:STDOUT: %.Self.as_type.11e: type = facet_access_type %.Self.cbb [symbolic_self] +// CHECK:STDOUT: %pattern_type.553: type = pattern_type %facet_type.02a [concrete] +// CHECK:STDOUT: %facet_type.299: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %.Self.1c7: %facet_type.299 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %MulWith.lookup_impl_witness.5ca: = lookup_impl_witness %.Self.1c7, @MulWith.1, @MulWith.1(%Int32) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.cab: type = impl_witness_access %MulWith.lookup_impl_witness.5ca, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.a5c: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int32) where %impl.elem0.cab = %Int32> [concrete] +// CHECK:STDOUT: %MulWith.type.3ee: type = facet_type <@MulWith.1, @MulWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %MulWith.assoc_type.564: type = assoc_entity_type @MulWith.1, @MulWith.1(%Int32) [concrete] +// CHECK:STDOUT: %assoc0.6fa: %MulWith.assoc_type.564 = assoc_entity element0, imports.%Core.import_ref.41e [concrete] +// CHECK:STDOUT: %assoc1.00d: %MulWith.assoc_type.564 = assoc_entity element1, imports.%Core.import_ref.d23 [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.10: type = fn_type @Int16.Op.10 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.10: %Int16.Op.type.43d658.10 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.29b64e.1: = custom_witness (%Int32, %Int16.Op.cc70d5.10), @MulWith.1, @MulWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.714: %facet_type.dac = facet_value %Int16, (%custom_witness.4e6cb0.1, %custom_witness.29b64e.1) [concrete] -// CHECK:STDOUT: %complete_type.5d8: = complete_type_witness %facet_type.493 [concrete] -// CHECK:STDOUT: %.Self.as_type.cc2: type = facet_access_type %.Self.e2d [symbolic_self] -// CHECK:STDOUT: %pattern_type.490: type = pattern_type %facet_type.dac [concrete] -// CHECK:STDOUT: %facet_type.8bd: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %.Self.569: %facet_type.8bd = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %DivWith.lookup_impl_witness.06e: = lookup_impl_witness %.Self.569, @DivWith.1, @DivWith.1(%Int32) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.363: type = impl_witness_access %DivWith.lookup_impl_witness.06e, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.882: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int32) where %impl.elem0.363 = %Int32> [concrete] -// CHECK:STDOUT: %DivWith.type.5b3: type = facet_type <@DivWith.1, @DivWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %DivWith.assoc_type.19e: type = assoc_entity_type @DivWith.1, @DivWith.1(%Int32) [concrete] -// CHECK:STDOUT: %assoc0.600: %DivWith.assoc_type.19e = assoc_entity element0, imports.%Core.import_ref.b8f [concrete] -// CHECK:STDOUT: %assoc1.006: %DivWith.assoc_type.19e = assoc_entity element1, imports.%Core.import_ref.44d [concrete] +// CHECK:STDOUT: %custom_witness.68a6cf.1: = custom_witness (%Int32, %Int16.Op.cc70d5.10), @MulWith.1, @MulWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.5b3: %facet_type.a5c = facet_value %Int16, (%custom_witness.a98c63.1, %custom_witness.68a6cf.1) [concrete] +// CHECK:STDOUT: %complete_type.0cf: = complete_type_witness %facet_type.299 [concrete] +// CHECK:STDOUT: %.Self.as_type.ba5: type = facet_access_type %.Self.1c7 [symbolic_self] +// CHECK:STDOUT: %pattern_type.11c: type = pattern_type %facet_type.a5c [concrete] +// CHECK:STDOUT: %facet_type.c6e: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %.Self.988: %facet_type.c6e = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %DivWith.lookup_impl_witness.c00: = lookup_impl_witness %.Self.988, @DivWith.1, @DivWith.1(%Int32) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.7a0: type = impl_witness_access %DivWith.lookup_impl_witness.c00, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.b40: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int32) where %impl.elem0.7a0 = %Int32> [concrete] +// CHECK:STDOUT: %DivWith.type.09b: type = facet_type <@DivWith.1, @DivWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %DivWith.assoc_type.a72: type = assoc_entity_type @DivWith.1, @DivWith.1(%Int32) [concrete] +// CHECK:STDOUT: %assoc0.d0a: %DivWith.assoc_type.a72 = assoc_entity element0, imports.%Core.import_ref.e71d [concrete] +// CHECK:STDOUT: %assoc1.489: %DivWith.assoc_type.a72 = assoc_entity element1, imports.%Core.import_ref.e712 [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.11: type = fn_type @Int16.Op.11 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.11: %Int16.Op.type.43d658.11 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.ed8572.1: = custom_witness (%Int32, %Int16.Op.cc70d5.11), @DivWith.1, @DivWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.961: %facet_type.882 = facet_value %Int16, (%custom_witness.4e6cb0.1, %custom_witness.ed8572.1) [concrete] -// CHECK:STDOUT: %complete_type.621: = complete_type_witness %facet_type.8bd [concrete] -// CHECK:STDOUT: %.Self.as_type.a51: type = facet_access_type %.Self.569 [symbolic_self] -// CHECK:STDOUT: %pattern_type.6c2: type = pattern_type %facet_type.882 [concrete] -// CHECK:STDOUT: %facet_type.7ef: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %.Self.b0b: %facet_type.7ef = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %ModWith.lookup_impl_witness.1a9: = lookup_impl_witness %.Self.b0b, @ModWith.1, @ModWith.1(%Int32) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.2b5: type = impl_witness_access %ModWith.lookup_impl_witness.1a9, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.f6f: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int32) where %impl.elem0.2b5 = %Int32> [concrete] -// CHECK:STDOUT: %ModWith.type.4ca: type = facet_type <@ModWith.1, @ModWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %ModWith.assoc_type.ce3: type = assoc_entity_type @ModWith.1, @ModWith.1(%Int32) [concrete] -// CHECK:STDOUT: %assoc0.d3a: %ModWith.assoc_type.ce3 = assoc_entity element0, imports.%Core.import_ref.f19 [concrete] -// CHECK:STDOUT: %assoc1.e15: %ModWith.assoc_type.ce3 = assoc_entity element1, imports.%Core.import_ref.556 [concrete] +// CHECK:STDOUT: %custom_witness.2ccbdb.1: = custom_witness (%Int32, %Int16.Op.cc70d5.11), @DivWith.1, @DivWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.6fd: %facet_type.b40 = facet_value %Int16, (%custom_witness.a98c63.1, %custom_witness.2ccbdb.1) [concrete] +// CHECK:STDOUT: %complete_type.36c: = complete_type_witness %facet_type.c6e [concrete] +// CHECK:STDOUT: %.Self.as_type.f38: type = facet_access_type %.Self.988 [symbolic_self] +// CHECK:STDOUT: %pattern_type.6b3: type = pattern_type %facet_type.b40 [concrete] +// CHECK:STDOUT: %facet_type.22f: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %.Self.572: %facet_type.22f = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %ModWith.lookup_impl_witness.18e: = lookup_impl_witness %.Self.572, @ModWith.1, @ModWith.1(%Int32) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.288: type = impl_witness_access %ModWith.lookup_impl_witness.18e, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.88b: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int32) where %impl.elem0.288 = %Int32> [concrete] +// CHECK:STDOUT: %ModWith.type.6f6: type = facet_type <@ModWith.1, @ModWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %ModWith.assoc_type.d09: type = assoc_entity_type @ModWith.1, @ModWith.1(%Int32) [concrete] +// CHECK:STDOUT: %assoc0.fb6: %ModWith.assoc_type.d09 = assoc_entity element0, imports.%Core.import_ref.327 [concrete] +// CHECK:STDOUT: %assoc1.56e: %ModWith.assoc_type.d09 = assoc_entity element1, imports.%Core.import_ref.104 [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.12: type = fn_type @Int16.Op.12 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.12: %Int16.Op.type.43d658.12 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.775a7e.1: = custom_witness (%Int32, %Int16.Op.cc70d5.12), @ModWith.1, @ModWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.fd8: %facet_type.f6f = facet_value %Int16, (%custom_witness.4e6cb0.1, %custom_witness.775a7e.1) [concrete] -// CHECK:STDOUT: %complete_type.38f: = complete_type_witness %facet_type.7ef [concrete] -// CHECK:STDOUT: %.Self.as_type.cd6: type = facet_access_type %.Self.b0b [symbolic_self] -// CHECK:STDOUT: %pattern_type.218: type = pattern_type %facet_type.f6f [concrete] -// CHECK:STDOUT: %facet_type.871: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int16) where %impl.elem0.33b = %Int32> [concrete] +// CHECK:STDOUT: %custom_witness.596ded.1: = custom_witness (%Int32, %Int16.Op.cc70d5.12), @ModWith.1, @ModWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.592: %facet_type.88b = facet_value %Int16, (%custom_witness.a98c63.1, %custom_witness.596ded.1) [concrete] +// CHECK:STDOUT: %complete_type.e22: = complete_type_witness %facet_type.22f [concrete] +// CHECK:STDOUT: %.Self.as_type.aac: type = facet_access_type %.Self.572 [symbolic_self] +// CHECK:STDOUT: %pattern_type.dda: type = pattern_type %facet_type.88b [concrete] +// CHECK:STDOUT: %facet_type.558: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int16) where %impl.elem0.2d1 = %Int32> [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.2: type = fn_type @Int32.Op.2 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.2: %Int32.Op.type.43d658.2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.6bd: = custom_witness (%Int32, %Int32.Op.cc70d5.2), @AddWith.1, @AddWith.1(%Int16) [concrete] -// CHECK:STDOUT: %facet_value.355: %facet_type.871 = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.6bd) [concrete] -// CHECK:STDOUT: %pattern_type.4a5: type = pattern_type %facet_type.871 [concrete] -// CHECK:STDOUT: %facet_type.935: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int16) where %impl.elem0.76d = %Int32> [concrete] +// CHECK:STDOUT: %custom_witness.e32: = custom_witness (%Int32, %Int32.Op.cc70d5.2), @AddWith.1, @AddWith.1(%Int16) [concrete] +// CHECK:STDOUT: %facet_value.f2b: %facet_type.558 = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.e32) [concrete] +// CHECK:STDOUT: %pattern_type.715: type = pattern_type %facet_type.558 [concrete] +// CHECK:STDOUT: %facet_type.064: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int16) where %impl.elem0.0b0 = %Int32> [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.3: type = fn_type @Int32.Op.3 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.3: %Int32.Op.type.43d658.3 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.4a6: = custom_witness (%Int32, %Int32.Op.cc70d5.3), @SubWith.1, @SubWith.1(%Int16) [concrete] -// CHECK:STDOUT: %facet_value.903: %facet_type.935 = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.4a6) [concrete] -// CHECK:STDOUT: %pattern_type.041: type = pattern_type %facet_type.935 [concrete] -// CHECK:STDOUT: %facet_type.e67: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int16) where %impl.elem0.cce = %Int32> [concrete] +// CHECK:STDOUT: %custom_witness.395: = custom_witness (%Int32, %Int32.Op.cc70d5.3), @SubWith.1, @SubWith.1(%Int16) [concrete] +// CHECK:STDOUT: %facet_value.dc0: %facet_type.064 = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.395) [concrete] +// CHECK:STDOUT: %pattern_type.b06: type = pattern_type %facet_type.064 [concrete] +// CHECK:STDOUT: %facet_type.d97: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int16) where %impl.elem0.e54 = %Int32> [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.4: type = fn_type @Int32.Op.4 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.4: %Int32.Op.type.43d658.4 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.8eb7: = custom_witness (%Int32, %Int32.Op.cc70d5.4), @MulWith.1, @MulWith.1(%Int16) [concrete] -// CHECK:STDOUT: %facet_value.22a: %facet_type.e67 = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.8eb7) [concrete] -// CHECK:STDOUT: %pattern_type.53f: type = pattern_type %facet_type.e67 [concrete] -// CHECK:STDOUT: %facet_type.576: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int16) where %impl.elem0.45d = %Int32> [concrete] +// CHECK:STDOUT: %custom_witness.678: = custom_witness (%Int32, %Int32.Op.cc70d5.4), @MulWith.1, @MulWith.1(%Int16) [concrete] +// CHECK:STDOUT: %facet_value.ff0: %facet_type.d97 = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.678) [concrete] +// CHECK:STDOUT: %pattern_type.3ec: type = pattern_type %facet_type.d97 [concrete] +// CHECK:STDOUT: %facet_type.aa6: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int16) where %impl.elem0.5c6 = %Int32> [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.5: type = fn_type @Int32.Op.5 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.5: %Int32.Op.type.43d658.5 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.7d5: = custom_witness (%Int32, %Int32.Op.cc70d5.5), @DivWith.1, @DivWith.1(%Int16) [concrete] -// CHECK:STDOUT: %facet_value.b06: %facet_type.576 = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.7d5) [concrete] -// CHECK:STDOUT: %pattern_type.240: type = pattern_type %facet_type.576 [concrete] -// CHECK:STDOUT: %facet_type.745: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int16) where %impl.elem0.044 = %Int32> [concrete] +// CHECK:STDOUT: %custom_witness.8ad: = custom_witness (%Int32, %Int32.Op.cc70d5.5), @DivWith.1, @DivWith.1(%Int16) [concrete] +// CHECK:STDOUT: %facet_value.42a: %facet_type.aa6 = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.8ad) [concrete] +// CHECK:STDOUT: %pattern_type.814: type = pattern_type %facet_type.aa6 [concrete] +// CHECK:STDOUT: %facet_type.b16: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int16) where %impl.elem0.094 = %Int32> [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.6: type = fn_type @Int32.Op.6 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.6: %Int32.Op.type.43d658.6 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.5f4: = custom_witness (%Int32, %Int32.Op.cc70d5.6), @ModWith.1, @ModWith.1(%Int16) [concrete] -// CHECK:STDOUT: %facet_value.0f2: %facet_type.745 = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.5f4) [concrete] -// CHECK:STDOUT: %pattern_type.dbb: type = pattern_type %facet_type.745 [concrete] +// CHECK:STDOUT: %custom_witness.f63: = custom_witness (%Int32, %Int32.Op.cc70d5.6), @ModWith.1, @ModWith.1(%Int16) [concrete] +// CHECK:STDOUT: %facet_value.7ad: %facet_type.b16 = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.f63) [concrete] +// CHECK:STDOUT: %pattern_type.7fa: type = pattern_type %facet_type.b16 [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.7: type = fn_type @Int32.Op.7 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.7: %Int32.Op.type.43d658.7 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.d576a6.2: = custom_witness (%Int32, %Int32.Op.cc70d5.7), @AddWith.1, @AddWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.52a: %facet_type.ca7 = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.d576a6.2) [concrete] +// CHECK:STDOUT: %custom_witness.e46c75.2: = custom_witness (%Int32, %Int32.Op.cc70d5.7), @AddWith.1, @AddWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.f56: %facet_type.8fd = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.e46c75.2) [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.8: type = fn_type @Int32.Op.8 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.8: %Int32.Op.type.43d658.8 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.88a574.2: = custom_witness (%Int32, %Int32.Op.cc70d5.8), @SubWith.1, @SubWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.fdc: %facet_type.53b = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.88a574.2) [concrete] +// CHECK:STDOUT: %custom_witness.7ffeb1.2: = custom_witness (%Int32, %Int32.Op.cc70d5.8), @SubWith.1, @SubWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.8a6: %facet_type.02a = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.7ffeb1.2) [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.9: type = fn_type @Int32.Op.9 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.9: %Int32.Op.type.43d658.9 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.29b64e.2: = custom_witness (%Int32, %Int32.Op.cc70d5.9), @MulWith.1, @MulWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.561: %facet_type.dac = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.29b64e.2) [concrete] +// CHECK:STDOUT: %custom_witness.68a6cf.2: = custom_witness (%Int32, %Int32.Op.cc70d5.9), @MulWith.1, @MulWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.e09: %facet_type.a5c = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.68a6cf.2) [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.10: type = fn_type @Int32.Op.10 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.10: %Int32.Op.type.43d658.10 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.ed8572.2: = custom_witness (%Int32, %Int32.Op.cc70d5.10), @DivWith.1, @DivWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.9c5: %facet_type.882 = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.ed8572.2) [concrete] +// CHECK:STDOUT: %custom_witness.2ccbdb.2: = custom_witness (%Int32, %Int32.Op.cc70d5.10), @DivWith.1, @DivWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.a3b: %facet_type.b40 = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.2ccbdb.2) [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.11: type = fn_type @Int32.Op.11 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.11: %Int32.Op.type.43d658.11 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.775a7e.2: = custom_witness (%Int32, %Int32.Op.cc70d5.11), @ModWith.1, @ModWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.06b: %facet_type.f6f = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.775a7e.2) [concrete] +// CHECK:STDOUT: %custom_witness.596ded.2: = custom_witness (%Int32, %Int32.Op.cc70d5.11), @ModWith.1, @ModWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.40c: %facet_type.88b = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.596ded.2) [concrete] // CHECK:STDOUT: %Int64.Op.type.43d658.1: type = fn_type @Int64.Op.1 [concrete] // CHECK:STDOUT: %Int64.Op.cc70d5.1: %Int64.Op.type.43d658.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.4e6cb0.3: = custom_witness (%Int64.Op.cc70d5.1), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.787: %Destroy.type = facet_value %Int64, (%custom_witness.4e6cb0.3) [concrete] -// CHECK:STDOUT: %facet_type.328: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int64)> [concrete] -// CHECK:STDOUT: %.Self.643: %facet_type.328 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %AddWith.lookup_impl_witness.017: = lookup_impl_witness %.Self.643, @AddWith.1, @AddWith.1(%Int64) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.c37: type = impl_witness_access %AddWith.lookup_impl_witness.017, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.8fd: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int64) where %impl.elem0.c37 = %Int64> [concrete] -// CHECK:STDOUT: %AddWith.type.a00: type = facet_type <@AddWith.1, @AddWith.1(%Int64)> [concrete] -// CHECK:STDOUT: %AddWith.assoc_type.8b7: type = assoc_entity_type @AddWith.1, @AddWith.1(%Int64) [concrete] -// CHECK:STDOUT: %assoc0.d15: %AddWith.assoc_type.8b7 = assoc_entity element0, imports.%Core.import_ref.b37 [concrete] -// CHECK:STDOUT: %assoc1.5d1: %AddWith.assoc_type.8b7 = assoc_entity element1, imports.%Core.import_ref.935 [concrete] +// CHECK:STDOUT: %custom_witness.a98c63.3: = custom_witness (%Int64.Op.cc70d5.1), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.3de: %Destroy.type = facet_value %Int64, (%custom_witness.a98c63.3) [concrete] +// CHECK:STDOUT: %facet_type.fb6: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int64)> [concrete] +// CHECK:STDOUT: %.Self.d3e: %facet_type.fb6 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %AddWith.lookup_impl_witness.708: = lookup_impl_witness %.Self.d3e, @AddWith.1, @AddWith.1(%Int64) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.86a: type = impl_witness_access %AddWith.lookup_impl_witness.708, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.376: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int64) where %impl.elem0.86a = %Int64> [concrete] +// CHECK:STDOUT: %AddWith.type.01b: type = facet_type <@AddWith.1, @AddWith.1(%Int64)> [concrete] +// CHECK:STDOUT: %AddWith.assoc_type.7c5: type = assoc_entity_type @AddWith.1, @AddWith.1(%Int64) [concrete] +// CHECK:STDOUT: %assoc0.f19: %AddWith.assoc_type.7c5 = assoc_entity element0, imports.%Core.import_ref.1dd [concrete] +// CHECK:STDOUT: %assoc1.3e0: %AddWith.assoc_type.7c5 = assoc_entity element1, imports.%Core.import_ref.29ff [concrete] // CHECK:STDOUT: %Op.type.0b8387.6: type = fn_type @Op.6 [concrete] // CHECK:STDOUT: %Op.b9c47d.6: %Op.type.0b8387.6 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.956: = custom_witness (%Int64, %Op.b9c47d.6), @AddWith.1, @AddWith.1(%Int64) [concrete] -// CHECK:STDOUT: %facet_value.4d8: %facet_type.8fd = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.956) [concrete] -// CHECK:STDOUT: %complete_type.3d6: = complete_type_witness %facet_type.328 [concrete] -// CHECK:STDOUT: %.Self.as_type.37c: type = facet_access_type %.Self.643 [symbolic_self] -// CHECK:STDOUT: %pattern_type.826: type = pattern_type %facet_type.8fd [concrete] -// CHECK:STDOUT: %facet_type.45b: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int64)> [concrete] -// CHECK:STDOUT: %.Self.32f: %facet_type.45b = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %SubWith.lookup_impl_witness.919: = lookup_impl_witness %.Self.32f, @SubWith.1, @SubWith.1(%Int64) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.634: type = impl_witness_access %SubWith.lookup_impl_witness.919, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.c72: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int64) where %impl.elem0.634 = %Int64> [concrete] -// CHECK:STDOUT: %SubWith.type.c91: type = facet_type <@SubWith.1, @SubWith.1(%Int64)> [concrete] -// CHECK:STDOUT: %SubWith.assoc_type.b5d: type = assoc_entity_type @SubWith.1, @SubWith.1(%Int64) [concrete] -// CHECK:STDOUT: %assoc0.a4a: %SubWith.assoc_type.b5d = assoc_entity element0, imports.%Core.import_ref.bb2 [concrete] -// CHECK:STDOUT: %assoc1.197: %SubWith.assoc_type.b5d = assoc_entity element1, imports.%Core.import_ref.480 [concrete] +// CHECK:STDOUT: %custom_witness.e1e: = custom_witness (%Int64, %Op.b9c47d.6), @AddWith.1, @AddWith.1(%Int64) [concrete] +// CHECK:STDOUT: %facet_value.5d2: %facet_type.376 = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.e1e) [concrete] +// CHECK:STDOUT: %complete_type.900: = complete_type_witness %facet_type.fb6 [concrete] +// CHECK:STDOUT: %.Self.as_type.1db: type = facet_access_type %.Self.d3e [symbolic_self] +// CHECK:STDOUT: %pattern_type.e29: type = pattern_type %facet_type.376 [concrete] +// CHECK:STDOUT: %facet_type.038: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int64)> [concrete] +// CHECK:STDOUT: %.Self.869: %facet_type.038 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %SubWith.lookup_impl_witness.c9f: = lookup_impl_witness %.Self.869, @SubWith.1, @SubWith.1(%Int64) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.6f7: type = impl_witness_access %SubWith.lookup_impl_witness.c9f, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.4a1: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int64) where %impl.elem0.6f7 = %Int64> [concrete] +// CHECK:STDOUT: %SubWith.type.82c: type = facet_type <@SubWith.1, @SubWith.1(%Int64)> [concrete] +// CHECK:STDOUT: %SubWith.assoc_type.f62: type = assoc_entity_type @SubWith.1, @SubWith.1(%Int64) [concrete] +// CHECK:STDOUT: %assoc0.018: %SubWith.assoc_type.f62 = assoc_entity element0, imports.%Core.import_ref.391 [concrete] +// CHECK:STDOUT: %assoc1.1cf: %SubWith.assoc_type.f62 = assoc_entity element1, imports.%Core.import_ref.940 [concrete] // CHECK:STDOUT: %Op.type.0b8387.7: type = fn_type @Op.7 [concrete] // CHECK:STDOUT: %Op.b9c47d.7: %Op.type.0b8387.7 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.a20: = custom_witness (%Int64, %Op.b9c47d.7), @SubWith.1, @SubWith.1(%Int64) [concrete] -// CHECK:STDOUT: %facet_value.9e5: %facet_type.c72 = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.a20) [concrete] -// CHECK:STDOUT: %complete_type.6c6: = complete_type_witness %facet_type.45b [concrete] -// CHECK:STDOUT: %.Self.as_type.d56: type = facet_access_type %.Self.32f [symbolic_self] -// CHECK:STDOUT: %pattern_type.9ae: type = pattern_type %facet_type.c72 [concrete] -// CHECK:STDOUT: %facet_type.cbc: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int64)> [concrete] -// CHECK:STDOUT: %.Self.e7c: %facet_type.cbc = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %MulWith.lookup_impl_witness.966: = lookup_impl_witness %.Self.e7c, @MulWith.1, @MulWith.1(%Int64) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.7e2: type = impl_witness_access %MulWith.lookup_impl_witness.966, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.c0f: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int64) where %impl.elem0.7e2 = %Int64> [concrete] -// CHECK:STDOUT: %MulWith.type.5ad: type = facet_type <@MulWith.1, @MulWith.1(%Int64)> [concrete] -// CHECK:STDOUT: %MulWith.assoc_type.c04: type = assoc_entity_type @MulWith.1, @MulWith.1(%Int64) [concrete] -// CHECK:STDOUT: %assoc0.68c: %MulWith.assoc_type.c04 = assoc_entity element0, imports.%Core.import_ref.a1a [concrete] -// CHECK:STDOUT: %assoc1.db7: %MulWith.assoc_type.c04 = assoc_entity element1, imports.%Core.import_ref.7ed [concrete] +// CHECK:STDOUT: %custom_witness.053: = custom_witness (%Int64, %Op.b9c47d.7), @SubWith.1, @SubWith.1(%Int64) [concrete] +// CHECK:STDOUT: %facet_value.916: %facet_type.4a1 = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.053) [concrete] +// CHECK:STDOUT: %complete_type.e31: = complete_type_witness %facet_type.038 [concrete] +// CHECK:STDOUT: %.Self.as_type.824: type = facet_access_type %.Self.869 [symbolic_self] +// CHECK:STDOUT: %pattern_type.58c: type = pattern_type %facet_type.4a1 [concrete] +// CHECK:STDOUT: %facet_type.e03: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int64)> [concrete] +// CHECK:STDOUT: %.Self.d17: %facet_type.e03 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %MulWith.lookup_impl_witness.13a: = lookup_impl_witness %.Self.d17, @MulWith.1, @MulWith.1(%Int64) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.7f7: type = impl_witness_access %MulWith.lookup_impl_witness.13a, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.88c: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int64) where %impl.elem0.7f7 = %Int64> [concrete] +// CHECK:STDOUT: %MulWith.type.9ed: type = facet_type <@MulWith.1, @MulWith.1(%Int64)> [concrete] +// CHECK:STDOUT: %MulWith.assoc_type.8d1: type = assoc_entity_type @MulWith.1, @MulWith.1(%Int64) [concrete] +// CHECK:STDOUT: %assoc0.c01: %MulWith.assoc_type.8d1 = assoc_entity element0, imports.%Core.import_ref.41e [concrete] +// CHECK:STDOUT: %assoc1.eef: %MulWith.assoc_type.8d1 = assoc_entity element1, imports.%Core.import_ref.d23 [concrete] // CHECK:STDOUT: %Op.type.0b8387.8: type = fn_type @Op.8 [concrete] // CHECK:STDOUT: %Op.b9c47d.8: %Op.type.0b8387.8 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.318: = custom_witness (%Int64, %Op.b9c47d.8), @MulWith.1, @MulWith.1(%Int64) [concrete] -// CHECK:STDOUT: %facet_value.582: %facet_type.c0f = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.318) [concrete] -// CHECK:STDOUT: %complete_type.786: = complete_type_witness %facet_type.cbc [concrete] -// CHECK:STDOUT: %.Self.as_type.a8f: type = facet_access_type %.Self.e7c [symbolic_self] -// CHECK:STDOUT: %pattern_type.251: type = pattern_type %facet_type.c0f [concrete] -// CHECK:STDOUT: %facet_type.c6f: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int64)> [concrete] -// CHECK:STDOUT: %.Self.b9d: %facet_type.c6f = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %DivWith.lookup_impl_witness.358: = lookup_impl_witness %.Self.b9d, @DivWith.1, @DivWith.1(%Int64) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.113: type = impl_witness_access %DivWith.lookup_impl_witness.358, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.75d: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int64) where %impl.elem0.113 = %Int64> [concrete] -// CHECK:STDOUT: %DivWith.type.6d6: type = facet_type <@DivWith.1, @DivWith.1(%Int64)> [concrete] -// CHECK:STDOUT: %DivWith.assoc_type.946: type = assoc_entity_type @DivWith.1, @DivWith.1(%Int64) [concrete] -// CHECK:STDOUT: %assoc0.c8e: %DivWith.assoc_type.946 = assoc_entity element0, imports.%Core.import_ref.b8f [concrete] -// CHECK:STDOUT: %assoc1.156: %DivWith.assoc_type.946 = assoc_entity element1, imports.%Core.import_ref.44d [concrete] +// CHECK:STDOUT: %custom_witness.f29: = custom_witness (%Int64, %Op.b9c47d.8), @MulWith.1, @MulWith.1(%Int64) [concrete] +// CHECK:STDOUT: %facet_value.7ba: %facet_type.88c = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.f29) [concrete] +// CHECK:STDOUT: %complete_type.25d: = complete_type_witness %facet_type.e03 [concrete] +// CHECK:STDOUT: %.Self.as_type.a7c: type = facet_access_type %.Self.d17 [symbolic_self] +// CHECK:STDOUT: %pattern_type.c54: type = pattern_type %facet_type.88c [concrete] +// CHECK:STDOUT: %facet_type.d41: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int64)> [concrete] +// CHECK:STDOUT: %.Self.73b: %facet_type.d41 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %DivWith.lookup_impl_witness.12e: = lookup_impl_witness %.Self.73b, @DivWith.1, @DivWith.1(%Int64) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.2db: type = impl_witness_access %DivWith.lookup_impl_witness.12e, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.604: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int64) where %impl.elem0.2db = %Int64> [concrete] +// CHECK:STDOUT: %DivWith.type.7ac: type = facet_type <@DivWith.1, @DivWith.1(%Int64)> [concrete] +// CHECK:STDOUT: %DivWith.assoc_type.bfe: type = assoc_entity_type @DivWith.1, @DivWith.1(%Int64) [concrete] +// CHECK:STDOUT: %assoc0.578: %DivWith.assoc_type.bfe = assoc_entity element0, imports.%Core.import_ref.e71d [concrete] +// CHECK:STDOUT: %assoc1.c32: %DivWith.assoc_type.bfe = assoc_entity element1, imports.%Core.import_ref.e712 [concrete] // CHECK:STDOUT: %Op.type.0b8387.9: type = fn_type @Op.9 [concrete] // CHECK:STDOUT: %Op.b9c47d.9: %Op.type.0b8387.9 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.143: = custom_witness (%Int64, %Op.b9c47d.9), @DivWith.1, @DivWith.1(%Int64) [concrete] -// CHECK:STDOUT: %facet_value.6ba: %facet_type.75d = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.143) [concrete] -// CHECK:STDOUT: %complete_type.12e: = complete_type_witness %facet_type.c6f [concrete] -// CHECK:STDOUT: %.Self.as_type.9e3: type = facet_access_type %.Self.b9d [symbolic_self] -// CHECK:STDOUT: %pattern_type.348: type = pattern_type %facet_type.75d [concrete] -// CHECK:STDOUT: %facet_type.0d9: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int64)> [concrete] -// CHECK:STDOUT: %.Self.8a7: %facet_type.0d9 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %ModWith.lookup_impl_witness.112: = lookup_impl_witness %.Self.8a7, @ModWith.1, @ModWith.1(%Int64) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.079: type = impl_witness_access %ModWith.lookup_impl_witness.112, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.a6f: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int64) where %impl.elem0.079 = %Int64> [concrete] -// CHECK:STDOUT: %ModWith.type.d62: type = facet_type <@ModWith.1, @ModWith.1(%Int64)> [concrete] -// CHECK:STDOUT: %ModWith.assoc_type.cdd: type = assoc_entity_type @ModWith.1, @ModWith.1(%Int64) [concrete] -// CHECK:STDOUT: %assoc0.cb9: %ModWith.assoc_type.cdd = assoc_entity element0, imports.%Core.import_ref.f19 [concrete] -// CHECK:STDOUT: %assoc1.d34e: %ModWith.assoc_type.cdd = assoc_entity element1, imports.%Core.import_ref.556 [concrete] +// CHECK:STDOUT: %custom_witness.863: = custom_witness (%Int64, %Op.b9c47d.9), @DivWith.1, @DivWith.1(%Int64) [concrete] +// CHECK:STDOUT: %facet_value.969: %facet_type.604 = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.863) [concrete] +// CHECK:STDOUT: %complete_type.67e: = complete_type_witness %facet_type.d41 [concrete] +// CHECK:STDOUT: %.Self.as_type.e27: type = facet_access_type %.Self.73b [symbolic_self] +// CHECK:STDOUT: %pattern_type.171: type = pattern_type %facet_type.604 [concrete] +// CHECK:STDOUT: %facet_type.dfd: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int64)> [concrete] +// CHECK:STDOUT: %.Self.5bc: %facet_type.dfd = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %ModWith.lookup_impl_witness.45e: = lookup_impl_witness %.Self.5bc, @ModWith.1, @ModWith.1(%Int64) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.f40: type = impl_witness_access %ModWith.lookup_impl_witness.45e, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.d93: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int64) where %impl.elem0.f40 = %Int64> [concrete] +// CHECK:STDOUT: %ModWith.type.6b0: type = facet_type <@ModWith.1, @ModWith.1(%Int64)> [concrete] +// CHECK:STDOUT: %ModWith.assoc_type.eb7: type = assoc_entity_type @ModWith.1, @ModWith.1(%Int64) [concrete] +// CHECK:STDOUT: %assoc0.8a2: %ModWith.assoc_type.eb7 = assoc_entity element0, imports.%Core.import_ref.327 [concrete] +// CHECK:STDOUT: %assoc1.fa5: %ModWith.assoc_type.eb7 = assoc_entity element1, imports.%Core.import_ref.104 [concrete] // CHECK:STDOUT: %Op.type.0b8387.10: type = fn_type @Op.10 [concrete] // CHECK:STDOUT: %Op.b9c47d.10: %Op.type.0b8387.10 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.af4: = custom_witness (%Int64, %Op.b9c47d.10), @ModWith.1, @ModWith.1(%Int64) [concrete] -// CHECK:STDOUT: %facet_value.6cd: %facet_type.a6f = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.af4) [concrete] -// CHECK:STDOUT: %complete_type.3e7: = complete_type_witness %facet_type.0d9 [concrete] -// CHECK:STDOUT: %.Self.as_type.c68: type = facet_access_type %.Self.8a7 [symbolic_self] -// CHECK:STDOUT: %pattern_type.1af: type = pattern_type %facet_type.a6f [concrete] -// CHECK:STDOUT: %facet_type.5ef: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int32) where %impl.elem0.3a6 = %Int64> [concrete] +// CHECK:STDOUT: %custom_witness.eb8: = custom_witness (%Int64, %Op.b9c47d.10), @ModWith.1, @ModWith.1(%Int64) [concrete] +// CHECK:STDOUT: %facet_value.0ea: %facet_type.d93 = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.eb8) [concrete] +// CHECK:STDOUT: %complete_type.76b: = complete_type_witness %facet_type.dfd [concrete] +// CHECK:STDOUT: %.Self.as_type.97b: type = facet_access_type %.Self.5bc [symbolic_self] +// CHECK:STDOUT: %pattern_type.5a9: type = pattern_type %facet_type.d93 [concrete] +// CHECK:STDOUT: %facet_type.002: type = facet_type <@Destroy & @AddWith.1, @AddWith.1(%Int32) where %impl.elem0.53a = %Int64> [concrete] // CHECK:STDOUT: %Op.type.0b8387.11: type = fn_type @Op.11 [concrete] // CHECK:STDOUT: %Op.b9c47d.11: %Op.type.0b8387.11 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.ca2: = custom_witness (%Int64, %Op.b9c47d.11), @AddWith.1, @AddWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.c06: %facet_type.5ef = facet_value %Int64, (%custom_witness.4e6cb0.3, %custom_witness.ca2) [concrete] -// CHECK:STDOUT: %pattern_type.80a: type = pattern_type %facet_type.5ef [concrete] -// CHECK:STDOUT: %facet_type.77f: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int32) where %impl.elem0.e1a = %Int64> [concrete] +// CHECK:STDOUT: %custom_witness.483: = custom_witness (%Int64, %Op.b9c47d.11), @AddWith.1, @AddWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.706: %facet_type.002 = facet_value %Int64, (%custom_witness.a98c63.3, %custom_witness.483) [concrete] +// CHECK:STDOUT: %pattern_type.429: type = pattern_type %facet_type.002 [concrete] +// CHECK:STDOUT: %facet_type.a40: type = facet_type <@Destroy & @SubWith.1, @SubWith.1(%Int32) where %impl.elem0.e47 = %Int64> [concrete] // CHECK:STDOUT: %Op.type.0b8387.12: type = fn_type @Op.12 [concrete] // CHECK:STDOUT: %Op.b9c47d.12: %Op.type.0b8387.12 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.274: = custom_witness (%Int64, %Op.b9c47d.12), @SubWith.1, @SubWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.106: %facet_type.77f = facet_value %Int64, (%custom_witness.4e6cb0.3, %custom_witness.274) [concrete] -// CHECK:STDOUT: %pattern_type.86a: type = pattern_type %facet_type.77f [concrete] -// CHECK:STDOUT: %facet_type.751: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int32) where %impl.elem0.ef0 = %Int64> [concrete] +// CHECK:STDOUT: %custom_witness.095: = custom_witness (%Int64, %Op.b9c47d.12), @SubWith.1, @SubWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.1d6: %facet_type.a40 = facet_value %Int64, (%custom_witness.a98c63.3, %custom_witness.095) [concrete] +// CHECK:STDOUT: %pattern_type.59c: type = pattern_type %facet_type.a40 [concrete] +// CHECK:STDOUT: %facet_type.ac8: type = facet_type <@Destroy & @MulWith.1, @MulWith.1(%Int32) where %impl.elem0.cab = %Int64> [concrete] // CHECK:STDOUT: %Op.type.0b8387.13: type = fn_type @Op.13 [concrete] // CHECK:STDOUT: %Op.b9c47d.13: %Op.type.0b8387.13 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.286: = custom_witness (%Int64, %Op.b9c47d.13), @MulWith.1, @MulWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.f97: %facet_type.751 = facet_value %Int64, (%custom_witness.4e6cb0.3, %custom_witness.286) [concrete] -// CHECK:STDOUT: %pattern_type.a3e: type = pattern_type %facet_type.751 [concrete] -// CHECK:STDOUT: %facet_type.86b: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int32) where %impl.elem0.363 = %Int64> [concrete] +// CHECK:STDOUT: %custom_witness.f6e: = custom_witness (%Int64, %Op.b9c47d.13), @MulWith.1, @MulWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.3ed: %facet_type.ac8 = facet_value %Int64, (%custom_witness.a98c63.3, %custom_witness.f6e) [concrete] +// CHECK:STDOUT: %pattern_type.5de: type = pattern_type %facet_type.ac8 [concrete] +// CHECK:STDOUT: %facet_type.b8e: type = facet_type <@Destroy & @DivWith.1, @DivWith.1(%Int32) where %impl.elem0.7a0 = %Int64> [concrete] // CHECK:STDOUT: %Op.type.0b8387.14: type = fn_type @Op.14 [concrete] // CHECK:STDOUT: %Op.b9c47d.14: %Op.type.0b8387.14 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.159: = custom_witness (%Int64, %Op.b9c47d.14), @DivWith.1, @DivWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.b56: %facet_type.86b = facet_value %Int64, (%custom_witness.4e6cb0.3, %custom_witness.159) [concrete] -// CHECK:STDOUT: %pattern_type.b0b: type = pattern_type %facet_type.86b [concrete] -// CHECK:STDOUT: %facet_type.713: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int32) where %impl.elem0.2b5 = %Int64> [concrete] +// CHECK:STDOUT: %custom_witness.4e5: = custom_witness (%Int64, %Op.b9c47d.14), @DivWith.1, @DivWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.4d6: %facet_type.b8e = facet_value %Int64, (%custom_witness.a98c63.3, %custom_witness.4e5) [concrete] +// CHECK:STDOUT: %pattern_type.435: type = pattern_type %facet_type.b8e [concrete] +// CHECK:STDOUT: %facet_type.dbb: type = facet_type <@Destroy & @ModWith.1, @ModWith.1(%Int32) where %impl.elem0.288 = %Int64> [concrete] // CHECK:STDOUT: %Op.type.0b8387.15: type = fn_type @Op.15 [concrete] // CHECK:STDOUT: %Op.b9c47d.15: %Op.type.0b8387.15 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.2d7: = custom_witness (%Int64, %Op.b9c47d.15), @ModWith.1, @ModWith.1(%Int32) [concrete] -// CHECK:STDOUT: %facet_value.800: %facet_type.713 = facet_value %Int64, (%custom_witness.4e6cb0.3, %custom_witness.2d7) [concrete] -// CHECK:STDOUT: %pattern_type.c06: type = pattern_type %facet_type.713 [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.01d: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.787) [concrete] -// CHECK:STDOUT: %.0f7: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.01d, %Destroy.facet.787 [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.e16: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.cff) [concrete] -// CHECK:STDOUT: %.e18: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.e16, %Destroy.facet.cff [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.ce6: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.81a) [concrete] -// CHECK:STDOUT: %.b23: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.ce6, %Destroy.facet.81a [concrete] +// CHECK:STDOUT: %custom_witness.99b: = custom_witness (%Int64, %Op.b9c47d.15), @ModWith.1, @ModWith.1(%Int32) [concrete] +// CHECK:STDOUT: %facet_value.8fa: %facet_type.dbb = facet_value %Int64, (%custom_witness.a98c63.3, %custom_witness.99b) [concrete] +// CHECK:STDOUT: %pattern_type.4c3: type = pattern_type %facet_type.dbb [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.2bb: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.3de) [concrete] +// CHECK:STDOUT: %.dda: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.2bb, %Destroy.facet.3de [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.a62: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.d87) [concrete] +// CHECK:STDOUT: %.e4f: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.a62, %Destroy.facet.d87 [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.e80: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.1b8) [concrete] +// CHECK:STDOUT: %.154: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.e80, %Destroy.facet.1b8 [concrete] // CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %AddAssignWith.type.dc8ed5.1: type = facet_type <@AddAssignWith.1, @AddAssignWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.689a47.1: %AddAssignWith.type.dc8ed5.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %AddAssignWith.assoc_type.a25160.1: type = assoc_entity_type @AddAssignWith.1, @AddAssignWith.1(%Other) [symbolic] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.8b23d4.1: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%Other, %Self.689a47.1) [symbolic] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.4cbad4.1: %AddAssignWith.WithSelf.Op.type.8b23d4.1 = struct_value () [symbolic] -// CHECK:STDOUT: %AddAssignWith.type.dc8ed5.2: type = facet_type <@AddAssignWith.1, @AddAssignWith.1(%U.67d)> [symbolic] -// CHECK:STDOUT: %pattern_type.f87: type = pattern_type %AddAssignWith.type.dc8ed5.2 [symbolic] -// CHECK:STDOUT: %T.689: %AddAssignWith.type.dc8ed5.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %AddAssignWith.assoc_type.a25160.2: type = assoc_entity_type @AddAssignWith.1, @AddAssignWith.1(%U.67d) [symbolic] -// CHECK:STDOUT: %assoc0.9fb771.2: %AddAssignWith.assoc_type.a25160.2 = assoc_entity element0, imports.%Core.import_ref.4eb [symbolic] -// CHECK:STDOUT: %T.as_type.7d6: type = facet_access_type %T.689 [symbolic] -// CHECK:STDOUT: %pattern_type.657c0b.2: type = pattern_type %T.as_type.7d6 [symbolic] +// CHECK:STDOUT: %AddAssignWith.type.f7e94b.1: type = facet_type <@AddAssignWith.1, @AddAssignWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.c9ea37.1: %AddAssignWith.type.f7e94b.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %AddAssignWith.assoc_type.d9654f.1: type = assoc_entity_type @AddAssignWith.1, @AddAssignWith.1(%Other) [symbolic] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.86ac33.1: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%Other, %Self.c9ea37.1) [symbolic] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.31f15f.1: %AddAssignWith.WithSelf.Op.type.86ac33.1 = struct_value () [symbolic] +// CHECK:STDOUT: %AddAssignWith.type.f7e94b.2: type = facet_type <@AddAssignWith.1, @AddAssignWith.1(%U.67d)> [symbolic] +// CHECK:STDOUT: %pattern_type.323: type = pattern_type %AddAssignWith.type.f7e94b.2 [symbolic] +// CHECK:STDOUT: %T.c9e: %AddAssignWith.type.f7e94b.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %AddAssignWith.assoc_type.d9654f.2: type = assoc_entity_type @AddAssignWith.1, @AddAssignWith.1(%U.67d) [symbolic] +// CHECK:STDOUT: %assoc0.beca96.2: %AddAssignWith.assoc_type.d9654f.2 = assoc_entity element0, imports.%Core.import_ref.62c [symbolic] +// CHECK:STDOUT: %T.as_type.82b: type = facet_access_type %T.c9e [symbolic] +// CHECK:STDOUT: %pattern_type.d713dc.2: type = pattern_type %T.as_type.82b [symbolic] // CHECK:STDOUT: %pattern_type.51d1c4.4: type = pattern_type %U.67d [symbolic] -// CHECK:STDOUT: %require_complete.44c: = require_complete_type %AddAssignWith.type.dc8ed5.2 [symbolic] -// CHECK:STDOUT: %assoc0.c1f: %AddAssignWith.assoc_type.a25160.1 = assoc_entity element0, imports.%Core.import_ref.763 [symbolic] -// CHECK:STDOUT: %AddAssignWith.lookup_impl_witness: = lookup_impl_witness %T.689, @AddAssignWith.1, @AddAssignWith.1(%U.67d) [symbolic] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.8b23d4.3: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%U.67d, %T.689) [symbolic] -// CHECK:STDOUT: %.ef8: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.8b23d4.3, %T.689 [symbolic] -// CHECK:STDOUT: %impl.elem0.89f: %.ef8 = impl_witness_access %AddAssignWith.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.7ee: = specific_impl_function %impl.elem0.89f, @AddAssignWith.WithSelf.Op(%U.67d, %T.689) [symbolic] -// CHECK:STDOUT: %SubAssignWith.type.a95ddd.1: type = facet_type <@SubAssignWith.1, @SubAssignWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.af3029.1: %SubAssignWith.type.a95ddd.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %SubAssignWith.assoc_type.0440e4.1: type = assoc_entity_type @SubAssignWith.1, @SubAssignWith.1(%Other) [symbolic] -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.ac317f.1: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%Other, %Self.af3029.1) [symbolic] -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.b6cd67.1: %SubAssignWith.WithSelf.Op.type.ac317f.1 = struct_value () [symbolic] -// CHECK:STDOUT: %SubAssignWith.type.a95ddd.2: type = facet_type <@SubAssignWith.1, @SubAssignWith.1(%U.67d)> [symbolic] -// CHECK:STDOUT: %pattern_type.3cd: type = pattern_type %SubAssignWith.type.a95ddd.2 [symbolic] -// CHECK:STDOUT: %T.af3: %SubAssignWith.type.a95ddd.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %SubAssignWith.assoc_type.0440e4.2: type = assoc_entity_type @SubAssignWith.1, @SubAssignWith.1(%U.67d) [symbolic] -// CHECK:STDOUT: %assoc0.180b38.2: %SubAssignWith.assoc_type.0440e4.2 = assoc_entity element0, imports.%Core.import_ref.a2d0 [symbolic] -// CHECK:STDOUT: %T.as_type.a39: type = facet_access_type %T.af3 [symbolic] -// CHECK:STDOUT: %pattern_type.5c82ed.2: type = pattern_type %T.as_type.a39 [symbolic] -// CHECK:STDOUT: %require_complete.f21: = require_complete_type %SubAssignWith.type.a95ddd.2 [symbolic] -// CHECK:STDOUT: %assoc0.5f4: %SubAssignWith.assoc_type.0440e4.1 = assoc_entity element0, imports.%Core.import_ref.3c0 [symbolic] -// CHECK:STDOUT: %SubAssignWith.lookup_impl_witness: = lookup_impl_witness %T.af3, @SubAssignWith.1, @SubAssignWith.1(%U.67d) [symbolic] -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.ac317f.3: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%U.67d, %T.af3) [symbolic] -// CHECK:STDOUT: %.6d8a: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.ac317f.3, %T.af3 [symbolic] -// CHECK:STDOUT: %impl.elem0.ab4: %.6d8a = impl_witness_access %SubAssignWith.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.579: = specific_impl_function %impl.elem0.ab4, @SubAssignWith.WithSelf.Op(%U.67d, %T.af3) [symbolic] -// CHECK:STDOUT: %MulAssignWith.type.c08ab6.1: type = facet_type <@MulAssignWith.1, @MulAssignWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.c8f88d.1: %MulAssignWith.type.c08ab6.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %MulAssignWith.assoc_type.dd8648.1: type = assoc_entity_type @MulAssignWith.1, @MulAssignWith.1(%Other) [symbolic] -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.dff752.1: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%Other, %Self.c8f88d.1) [symbolic] -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.28a4dd.1: %MulAssignWith.WithSelf.Op.type.dff752.1 = struct_value () [symbolic] -// CHECK:STDOUT: %MulAssignWith.type.c08ab6.2: type = facet_type <@MulAssignWith.1, @MulAssignWith.1(%U.67d)> [symbolic] -// CHECK:STDOUT: %pattern_type.78c: type = pattern_type %MulAssignWith.type.c08ab6.2 [symbolic] -// CHECK:STDOUT: %T.c8f: %MulAssignWith.type.c08ab6.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %MulAssignWith.assoc_type.dd8648.2: type = assoc_entity_type @MulAssignWith.1, @MulAssignWith.1(%U.67d) [symbolic] -// CHECK:STDOUT: %assoc0.bb9cfe.2: %MulAssignWith.assoc_type.dd8648.2 = assoc_entity element0, imports.%Core.import_ref.475 [symbolic] -// CHECK:STDOUT: %T.as_type.26e: type = facet_access_type %T.c8f [symbolic] -// CHECK:STDOUT: %pattern_type.3695a8.2: type = pattern_type %T.as_type.26e [symbolic] -// CHECK:STDOUT: %require_complete.635: = require_complete_type %MulAssignWith.type.c08ab6.2 [symbolic] -// CHECK:STDOUT: %assoc0.181: %MulAssignWith.assoc_type.dd8648.1 = assoc_entity element0, imports.%Core.import_ref.768 [symbolic] -// CHECK:STDOUT: %MulAssignWith.lookup_impl_witness: = lookup_impl_witness %T.c8f, @MulAssignWith.1, @MulAssignWith.1(%U.67d) [symbolic] -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.dff752.3: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%U.67d, %T.c8f) [symbolic] -// CHECK:STDOUT: %.9a8d: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.dff752.3, %T.c8f [symbolic] -// CHECK:STDOUT: %impl.elem0.653: %.9a8d = impl_witness_access %MulAssignWith.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.5ff: = specific_impl_function %impl.elem0.653, @MulAssignWith.WithSelf.Op(%U.67d, %T.c8f) [symbolic] -// CHECK:STDOUT: %DivAssignWith.type.d7b8dd.1: type = facet_type <@DivAssignWith.1, @DivAssignWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.f22977.1: %DivAssignWith.type.d7b8dd.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %DivAssignWith.assoc_type.738ee6.1: type = assoc_entity_type @DivAssignWith.1, @DivAssignWith.1(%Other) [symbolic] -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.3077dd.1: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%Other, %Self.f22977.1) [symbolic] -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.710329.1: %DivAssignWith.WithSelf.Op.type.3077dd.1 = struct_value () [symbolic] -// CHECK:STDOUT: %DivAssignWith.type.d7b8dd.2: type = facet_type <@DivAssignWith.1, @DivAssignWith.1(%U.67d)> [symbolic] -// CHECK:STDOUT: %pattern_type.a67: type = pattern_type %DivAssignWith.type.d7b8dd.2 [symbolic] -// CHECK:STDOUT: %T.f22: %DivAssignWith.type.d7b8dd.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %DivAssignWith.assoc_type.738ee6.2: type = assoc_entity_type @DivAssignWith.1, @DivAssignWith.1(%U.67d) [symbolic] -// CHECK:STDOUT: %assoc0.d42d61.2: %DivAssignWith.assoc_type.738ee6.2 = assoc_entity element0, imports.%Core.import_ref.12d [symbolic] -// CHECK:STDOUT: %T.as_type.dc5: type = facet_access_type %T.f22 [symbolic] -// CHECK:STDOUT: %pattern_type.ef84c8.2: type = pattern_type %T.as_type.dc5 [symbolic] -// CHECK:STDOUT: %require_complete.3cf: = require_complete_type %DivAssignWith.type.d7b8dd.2 [symbolic] -// CHECK:STDOUT: %assoc0.f6f: %DivAssignWith.assoc_type.738ee6.1 = assoc_entity element0, imports.%Core.import_ref.9c0 [symbolic] -// CHECK:STDOUT: %DivAssignWith.lookup_impl_witness: = lookup_impl_witness %T.f22, @DivAssignWith.1, @DivAssignWith.1(%U.67d) [symbolic] -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.3077dd.3: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%U.67d, %T.f22) [symbolic] -// CHECK:STDOUT: %.d5f: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.3077dd.3, %T.f22 [symbolic] -// CHECK:STDOUT: %impl.elem0.faa: %.d5f = impl_witness_access %DivAssignWith.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.63f: = specific_impl_function %impl.elem0.faa, @DivAssignWith.WithSelf.Op(%U.67d, %T.f22) [symbolic] -// CHECK:STDOUT: %ModAssignWith.type.958f4d.1: type = facet_type <@ModAssignWith.1, @ModAssignWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.37b6d9.1: %ModAssignWith.type.958f4d.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ModAssignWith.assoc_type.9ba07c.1: type = assoc_entity_type @ModAssignWith.1, @ModAssignWith.1(%Other) [symbolic] -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.3abf50.1: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%Other, %Self.37b6d9.1) [symbolic] -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.42aedd.1: %ModAssignWith.WithSelf.Op.type.3abf50.1 = struct_value () [symbolic] -// CHECK:STDOUT: %ModAssignWith.type.958f4d.2: type = facet_type <@ModAssignWith.1, @ModAssignWith.1(%U.67d)> [symbolic] -// CHECK:STDOUT: %pattern_type.91c: type = pattern_type %ModAssignWith.type.958f4d.2 [symbolic] -// CHECK:STDOUT: %T.37b: %ModAssignWith.type.958f4d.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %ModAssignWith.assoc_type.9ba07c.2: type = assoc_entity_type @ModAssignWith.1, @ModAssignWith.1(%U.67d) [symbolic] -// CHECK:STDOUT: %assoc0.fd162a.2: %ModAssignWith.assoc_type.9ba07c.2 = assoc_entity element0, imports.%Core.import_ref.c884 [symbolic] -// CHECK:STDOUT: %T.as_type.5ba: type = facet_access_type %T.37b [symbolic] -// CHECK:STDOUT: %pattern_type.22dddb.2: type = pattern_type %T.as_type.5ba [symbolic] -// CHECK:STDOUT: %require_complete.479: = require_complete_type %ModAssignWith.type.958f4d.2 [symbolic] -// CHECK:STDOUT: %assoc0.26c: %ModAssignWith.assoc_type.9ba07c.1 = assoc_entity element0, imports.%Core.import_ref.d41 [symbolic] -// CHECK:STDOUT: %ModAssignWith.lookup_impl_witness: = lookup_impl_witness %T.37b, @ModAssignWith.1, @ModAssignWith.1(%U.67d) [symbolic] -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.3abf50.3: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%U.67d, %T.37b) [symbolic] -// CHECK:STDOUT: %.759: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.3abf50.3, %T.37b [symbolic] -// CHECK:STDOUT: %impl.elem0.289: %.759 = impl_witness_access %ModAssignWith.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.af2: = specific_impl_function %impl.elem0.289, @ModAssignWith.WithSelf.Op(%U.67d, %T.37b) [symbolic] -// CHECK:STDOUT: %AddAssignWith.type.5a5: type = facet_type <@AddAssignWith.1, @AddAssignWith.1(%i16)> [concrete] -// CHECK:STDOUT: %AddAssignWith.assoc_type.12d: type = assoc_entity_type @AddAssignWith.1, @AddAssignWith.1(%i16) [concrete] -// CHECK:STDOUT: %assoc0.6ce: %AddAssignWith.assoc_type.12d = assoc_entity element0, imports.%Core.import_ref.4eb [concrete] +// CHECK:STDOUT: %require_complete.e50: = require_complete_type %AddAssignWith.type.f7e94b.2 [symbolic] +// CHECK:STDOUT: %assoc0.1e6: %AddAssignWith.assoc_type.d9654f.1 = assoc_entity element0, imports.%Core.import_ref.970 [symbolic] +// CHECK:STDOUT: %AddAssignWith.lookup_impl_witness: = lookup_impl_witness %T.c9e, @AddAssignWith.1, @AddAssignWith.1(%U.67d) [symbolic] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.86ac33.3: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%U.67d, %T.c9e) [symbolic] +// CHECK:STDOUT: %.1da: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.86ac33.3, %T.c9e [symbolic] +// CHECK:STDOUT: %impl.elem0.28f: %.1da = impl_witness_access %AddAssignWith.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c19: = specific_impl_function %impl.elem0.28f, @AddAssignWith.WithSelf.Op(%U.67d, %T.c9e) [symbolic] +// CHECK:STDOUT: %SubAssignWith.type.591a5f.1: type = facet_type <@SubAssignWith.1, @SubAssignWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.a96693.1: %SubAssignWith.type.591a5f.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %SubAssignWith.assoc_type.efddf3.1: type = assoc_entity_type @SubAssignWith.1, @SubAssignWith.1(%Other) [symbolic] +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.839113.1: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%Other, %Self.a96693.1) [symbolic] +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.2286e8.1: %SubAssignWith.WithSelf.Op.type.839113.1 = struct_value () [symbolic] +// CHECK:STDOUT: %SubAssignWith.type.591a5f.2: type = facet_type <@SubAssignWith.1, @SubAssignWith.1(%U.67d)> [symbolic] +// CHECK:STDOUT: %pattern_type.46c: type = pattern_type %SubAssignWith.type.591a5f.2 [symbolic] +// CHECK:STDOUT: %T.a96: %SubAssignWith.type.591a5f.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %SubAssignWith.assoc_type.efddf3.2: type = assoc_entity_type @SubAssignWith.1, @SubAssignWith.1(%U.67d) [symbolic] +// CHECK:STDOUT: %assoc0.382bd4.2: %SubAssignWith.assoc_type.efddf3.2 = assoc_entity element0, imports.%Core.import_ref.e50 [symbolic] +// CHECK:STDOUT: %T.as_type.765: type = facet_access_type %T.a96 [symbolic] +// CHECK:STDOUT: %pattern_type.f40fa3.2: type = pattern_type %T.as_type.765 [symbolic] +// CHECK:STDOUT: %require_complete.b28: = require_complete_type %SubAssignWith.type.591a5f.2 [symbolic] +// CHECK:STDOUT: %assoc0.936: %SubAssignWith.assoc_type.efddf3.1 = assoc_entity element0, imports.%Core.import_ref.7b0 [symbolic] +// CHECK:STDOUT: %SubAssignWith.lookup_impl_witness: = lookup_impl_witness %T.a96, @SubAssignWith.1, @SubAssignWith.1(%U.67d) [symbolic] +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.839113.3: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%U.67d, %T.a96) [symbolic] +// CHECK:STDOUT: %.3df: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.839113.3, %T.a96 [symbolic] +// CHECK:STDOUT: %impl.elem0.dac: %.3df = impl_witness_access %SubAssignWith.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.2f2: = specific_impl_function %impl.elem0.dac, @SubAssignWith.WithSelf.Op(%U.67d, %T.a96) [symbolic] +// CHECK:STDOUT: %MulAssignWith.type.b9aa5c.1: type = facet_type <@MulAssignWith.1, @MulAssignWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.1ab5ec.1: %MulAssignWith.type.b9aa5c.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %MulAssignWith.assoc_type.153441.1: type = assoc_entity_type @MulAssignWith.1, @MulAssignWith.1(%Other) [symbolic] +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.44adac.1: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%Other, %Self.1ab5ec.1) [symbolic] +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.f87570.1: %MulAssignWith.WithSelf.Op.type.44adac.1 = struct_value () [symbolic] +// CHECK:STDOUT: %MulAssignWith.type.b9aa5c.2: type = facet_type <@MulAssignWith.1, @MulAssignWith.1(%U.67d)> [symbolic] +// CHECK:STDOUT: %pattern_type.a30: type = pattern_type %MulAssignWith.type.b9aa5c.2 [symbolic] +// CHECK:STDOUT: %T.1ab: %MulAssignWith.type.b9aa5c.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %MulAssignWith.assoc_type.153441.2: type = assoc_entity_type @MulAssignWith.1, @MulAssignWith.1(%U.67d) [symbolic] +// CHECK:STDOUT: %assoc0.54a880.2: %MulAssignWith.assoc_type.153441.2 = assoc_entity element0, imports.%Core.import_ref.763 [symbolic] +// CHECK:STDOUT: %T.as_type.e75: type = facet_access_type %T.1ab [symbolic] +// CHECK:STDOUT: %pattern_type.07a4e0.2: type = pattern_type %T.as_type.e75 [symbolic] +// CHECK:STDOUT: %require_complete.ea2: = require_complete_type %MulAssignWith.type.b9aa5c.2 [symbolic] +// CHECK:STDOUT: %assoc0.862: %MulAssignWith.assoc_type.153441.1 = assoc_entity element0, imports.%Core.import_ref.634 [symbolic] +// CHECK:STDOUT: %MulAssignWith.lookup_impl_witness: = lookup_impl_witness %T.1ab, @MulAssignWith.1, @MulAssignWith.1(%U.67d) [symbolic] +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.44adac.3: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%U.67d, %T.1ab) [symbolic] +// CHECK:STDOUT: %.42e: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.44adac.3, %T.1ab [symbolic] +// CHECK:STDOUT: %impl.elem0.822: %.42e = impl_witness_access %MulAssignWith.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.cf3: = specific_impl_function %impl.elem0.822, @MulAssignWith.WithSelf.Op(%U.67d, %T.1ab) [symbolic] +// CHECK:STDOUT: %DivAssignWith.type.c97ac9.1: type = facet_type <@DivAssignWith.1, @DivAssignWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.43908b.1: %DivAssignWith.type.c97ac9.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %DivAssignWith.assoc_type.c30cb0.1: type = assoc_entity_type @DivAssignWith.1, @DivAssignWith.1(%Other) [symbolic] +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.8e0740.1: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%Other, %Self.43908b.1) [symbolic] +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.0bd7e1.1: %DivAssignWith.WithSelf.Op.type.8e0740.1 = struct_value () [symbolic] +// CHECK:STDOUT: %DivAssignWith.type.c97ac9.2: type = facet_type <@DivAssignWith.1, @DivAssignWith.1(%U.67d)> [symbolic] +// CHECK:STDOUT: %pattern_type.fa6: type = pattern_type %DivAssignWith.type.c97ac9.2 [symbolic] +// CHECK:STDOUT: %T.439: %DivAssignWith.type.c97ac9.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %DivAssignWith.assoc_type.c30cb0.2: type = assoc_entity_type @DivAssignWith.1, @DivAssignWith.1(%U.67d) [symbolic] +// CHECK:STDOUT: %assoc0.bd6a2d.2: %DivAssignWith.assoc_type.c30cb0.2 = assoc_entity element0, imports.%Core.import_ref.d8a [symbolic] +// CHECK:STDOUT: %T.as_type.5d7: type = facet_access_type %T.439 [symbolic] +// CHECK:STDOUT: %pattern_type.12d907.2: type = pattern_type %T.as_type.5d7 [symbolic] +// CHECK:STDOUT: %require_complete.3f4: = require_complete_type %DivAssignWith.type.c97ac9.2 [symbolic] +// CHECK:STDOUT: %assoc0.086: %DivAssignWith.assoc_type.c30cb0.1 = assoc_entity element0, imports.%Core.import_ref.b97 [symbolic] +// CHECK:STDOUT: %DivAssignWith.lookup_impl_witness: = lookup_impl_witness %T.439, @DivAssignWith.1, @DivAssignWith.1(%U.67d) [symbolic] +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.8e0740.3: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%U.67d, %T.439) [symbolic] +// CHECK:STDOUT: %.28f: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.8e0740.3, %T.439 [symbolic] +// CHECK:STDOUT: %impl.elem0.f6e: %.28f = impl_witness_access %DivAssignWith.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.5bc: = specific_impl_function %impl.elem0.f6e, @DivAssignWith.WithSelf.Op(%U.67d, %T.439) [symbolic] +// CHECK:STDOUT: %ModAssignWith.type.8faa47.1: type = facet_type <@ModAssignWith.1, @ModAssignWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.da03f6.1: %ModAssignWith.type.8faa47.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ModAssignWith.assoc_type.0ff0e5.1: type = assoc_entity_type @ModAssignWith.1, @ModAssignWith.1(%Other) [symbolic] +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.292942.1: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%Other, %Self.da03f6.1) [symbolic] +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.84faf3.1: %ModAssignWith.WithSelf.Op.type.292942.1 = struct_value () [symbolic] +// CHECK:STDOUT: %ModAssignWith.type.8faa47.2: type = facet_type <@ModAssignWith.1, @ModAssignWith.1(%U.67d)> [symbolic] +// CHECK:STDOUT: %pattern_type.383: type = pattern_type %ModAssignWith.type.8faa47.2 [symbolic] +// CHECK:STDOUT: %T.da0: %ModAssignWith.type.8faa47.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %ModAssignWith.assoc_type.0ff0e5.2: type = assoc_entity_type @ModAssignWith.1, @ModAssignWith.1(%U.67d) [symbolic] +// CHECK:STDOUT: %assoc0.3824c9.2: %ModAssignWith.assoc_type.0ff0e5.2 = assoc_entity element0, imports.%Core.import_ref.aee3 [symbolic] +// CHECK:STDOUT: %T.as_type.4cb: type = facet_access_type %T.da0 [symbolic] +// CHECK:STDOUT: %pattern_type.7b701e.2: type = pattern_type %T.as_type.4cb [symbolic] +// CHECK:STDOUT: %require_complete.9bf: = require_complete_type %ModAssignWith.type.8faa47.2 [symbolic] +// CHECK:STDOUT: %assoc0.715: %ModAssignWith.assoc_type.0ff0e5.1 = assoc_entity element0, imports.%Core.import_ref.248 [symbolic] +// CHECK:STDOUT: %ModAssignWith.lookup_impl_witness: = lookup_impl_witness %T.da0, @ModAssignWith.1, @ModAssignWith.1(%U.67d) [symbolic] +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.292942.3: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%U.67d, %T.da0) [symbolic] +// CHECK:STDOUT: %.acb: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.292942.3, %T.da0 [symbolic] +// CHECK:STDOUT: %impl.elem0.f9d: %.acb = impl_witness_access %ModAssignWith.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.802: = specific_impl_function %impl.elem0.f9d, @ModAssignWith.WithSelf.Op(%U.67d, %T.da0) [symbolic] +// CHECK:STDOUT: %AddAssignWith.type.35f: type = facet_type <@AddAssignWith.1, @AddAssignWith.1(%i16)> [concrete] +// CHECK:STDOUT: %AddAssignWith.assoc_type.3c9: type = assoc_entity_type @AddAssignWith.1, @AddAssignWith.1(%i16) [concrete] +// CHECK:STDOUT: %assoc0.d69: %AddAssignWith.assoc_type.3c9 = assoc_entity element0, imports.%Core.import_ref.62c [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.13: type = fn_type @Int16.Op.13 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.13: %Int16.Op.type.43d658.13 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.dd4: = custom_witness (%Int16.Op.cc70d5.13), @AddAssignWith.1, @AddAssignWith.1(%i16) [concrete] -// CHECK:STDOUT: %AddAssignWith.facet.7e5: %AddAssignWith.type.5a5 = facet_value %Int16, (%custom_witness.dd4) [concrete] -// CHECK:STDOUT: %pattern_type.307: type = pattern_type %AddAssignWith.type.5a5 [concrete] -// CHECK:STDOUT: %SubAssignWith.type.2da: type = facet_type <@SubAssignWith.1, @SubAssignWith.1(%i16)> [concrete] -// CHECK:STDOUT: %SubAssignWith.assoc_type.f3f: type = assoc_entity_type @SubAssignWith.1, @SubAssignWith.1(%i16) [concrete] -// CHECK:STDOUT: %assoc0.1c8: %SubAssignWith.assoc_type.f3f = assoc_entity element0, imports.%Core.import_ref.a2d0 [concrete] +// CHECK:STDOUT: %custom_witness.364: = custom_witness (%Int16.Op.cc70d5.13), @AddAssignWith.1, @AddAssignWith.1(%i16) [concrete] +// CHECK:STDOUT: %AddAssignWith.facet.1b3: %AddAssignWith.type.35f = facet_value %Int16, (%custom_witness.364) [concrete] +// CHECK:STDOUT: %pattern_type.25b: type = pattern_type %AddAssignWith.type.35f [concrete] +// CHECK:STDOUT: %SubAssignWith.type.121: type = facet_type <@SubAssignWith.1, @SubAssignWith.1(%i16)> [concrete] +// CHECK:STDOUT: %SubAssignWith.assoc_type.5f8: type = assoc_entity_type @SubAssignWith.1, @SubAssignWith.1(%i16) [concrete] +// CHECK:STDOUT: %assoc0.ce1: %SubAssignWith.assoc_type.5f8 = assoc_entity element0, imports.%Core.import_ref.e50 [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.14: type = fn_type @Int16.Op.14 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.14: %Int16.Op.type.43d658.14 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.364: = custom_witness (%Int16.Op.cc70d5.14), @SubAssignWith.1, @SubAssignWith.1(%i16) [concrete] -// CHECK:STDOUT: %SubAssignWith.facet.a58: %SubAssignWith.type.2da = facet_value %Int16, (%custom_witness.364) [concrete] -// CHECK:STDOUT: %pattern_type.2c7: type = pattern_type %SubAssignWith.type.2da [concrete] -// CHECK:STDOUT: %MulAssignWith.type.a70: type = facet_type <@MulAssignWith.1, @MulAssignWith.1(%i16)> [concrete] -// CHECK:STDOUT: %MulAssignWith.assoc_type.f71: type = assoc_entity_type @MulAssignWith.1, @MulAssignWith.1(%i16) [concrete] -// CHECK:STDOUT: %assoc0.037: %MulAssignWith.assoc_type.f71 = assoc_entity element0, imports.%Core.import_ref.475 [concrete] +// CHECK:STDOUT: %custom_witness.4e8: = custom_witness (%Int16.Op.cc70d5.14), @SubAssignWith.1, @SubAssignWith.1(%i16) [concrete] +// CHECK:STDOUT: %SubAssignWith.facet.45a: %SubAssignWith.type.121 = facet_value %Int16, (%custom_witness.4e8) [concrete] +// CHECK:STDOUT: %pattern_type.1c3: type = pattern_type %SubAssignWith.type.121 [concrete] +// CHECK:STDOUT: %MulAssignWith.type.b7e: type = facet_type <@MulAssignWith.1, @MulAssignWith.1(%i16)> [concrete] +// CHECK:STDOUT: %MulAssignWith.assoc_type.551: type = assoc_entity_type @MulAssignWith.1, @MulAssignWith.1(%i16) [concrete] +// CHECK:STDOUT: %assoc0.75e: %MulAssignWith.assoc_type.551 = assoc_entity element0, imports.%Core.import_ref.763 [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.15: type = fn_type @Int16.Op.15 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.15: %Int16.Op.type.43d658.15 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.898: = custom_witness (%Int16.Op.cc70d5.15), @MulAssignWith.1, @MulAssignWith.1(%i16) [concrete] -// CHECK:STDOUT: %MulAssignWith.facet.ece: %MulAssignWith.type.a70 = facet_value %Int16, (%custom_witness.898) [concrete] -// CHECK:STDOUT: %pattern_type.0b2: type = pattern_type %MulAssignWith.type.a70 [concrete] -// CHECK:STDOUT: %DivAssignWith.type.7f8: type = facet_type <@DivAssignWith.1, @DivAssignWith.1(%i16)> [concrete] -// CHECK:STDOUT: %DivAssignWith.assoc_type.e83: type = assoc_entity_type @DivAssignWith.1, @DivAssignWith.1(%i16) [concrete] -// CHECK:STDOUT: %assoc0.065: %DivAssignWith.assoc_type.e83 = assoc_entity element0, imports.%Core.import_ref.12d [concrete] +// CHECK:STDOUT: %custom_witness.b74: = custom_witness (%Int16.Op.cc70d5.15), @MulAssignWith.1, @MulAssignWith.1(%i16) [concrete] +// CHECK:STDOUT: %MulAssignWith.facet.805: %MulAssignWith.type.b7e = facet_value %Int16, (%custom_witness.b74) [concrete] +// CHECK:STDOUT: %pattern_type.ebd: type = pattern_type %MulAssignWith.type.b7e [concrete] +// CHECK:STDOUT: %DivAssignWith.type.0d6: type = facet_type <@DivAssignWith.1, @DivAssignWith.1(%i16)> [concrete] +// CHECK:STDOUT: %DivAssignWith.assoc_type.01d: type = assoc_entity_type @DivAssignWith.1, @DivAssignWith.1(%i16) [concrete] +// CHECK:STDOUT: %assoc0.f56: %DivAssignWith.assoc_type.01d = assoc_entity element0, imports.%Core.import_ref.d8a [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.16: type = fn_type @Int16.Op.16 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.16: %Int16.Op.type.43d658.16 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.11f: = custom_witness (%Int16.Op.cc70d5.16), @DivAssignWith.1, @DivAssignWith.1(%i16) [concrete] -// CHECK:STDOUT: %DivAssignWith.facet.153: %DivAssignWith.type.7f8 = facet_value %Int16, (%custom_witness.11f) [concrete] -// CHECK:STDOUT: %pattern_type.455: type = pattern_type %DivAssignWith.type.7f8 [concrete] -// CHECK:STDOUT: %ModAssignWith.type.eee: type = facet_type <@ModAssignWith.1, @ModAssignWith.1(%i16)> [concrete] -// CHECK:STDOUT: %ModAssignWith.assoc_type.08a: type = assoc_entity_type @ModAssignWith.1, @ModAssignWith.1(%i16) [concrete] -// CHECK:STDOUT: %assoc0.c9f: %ModAssignWith.assoc_type.08a = assoc_entity element0, imports.%Core.import_ref.c884 [concrete] +// CHECK:STDOUT: %custom_witness.8b6: = custom_witness (%Int16.Op.cc70d5.16), @DivAssignWith.1, @DivAssignWith.1(%i16) [concrete] +// CHECK:STDOUT: %DivAssignWith.facet.ac9: %DivAssignWith.type.0d6 = facet_value %Int16, (%custom_witness.8b6) [concrete] +// CHECK:STDOUT: %pattern_type.1f58: type = pattern_type %DivAssignWith.type.0d6 [concrete] +// CHECK:STDOUT: %ModAssignWith.type.d0f: type = facet_type <@ModAssignWith.1, @ModAssignWith.1(%i16)> [concrete] +// CHECK:STDOUT: %ModAssignWith.assoc_type.9c3: type = assoc_entity_type @ModAssignWith.1, @ModAssignWith.1(%i16) [concrete] +// CHECK:STDOUT: %assoc0.e07: %ModAssignWith.assoc_type.9c3 = assoc_entity element0, imports.%Core.import_ref.aee3 [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.17: type = fn_type @Int16.Op.17 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.17: %Int16.Op.type.43d658.17 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.c16: = custom_witness (%Int16.Op.cc70d5.17), @ModAssignWith.1, @ModAssignWith.1(%i16) [concrete] -// CHECK:STDOUT: %ModAssignWith.facet.b79: %ModAssignWith.type.eee = facet_value %Int16, (%custom_witness.c16) [concrete] -// CHECK:STDOUT: %pattern_type.df1: type = pattern_type %ModAssignWith.type.eee [concrete] -// CHECK:STDOUT: %AddAssignWith.type.426: type = facet_type <@AddAssignWith.1, @AddAssignWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %AddAssignWith.assoc_type.ab4: type = assoc_entity_type @AddAssignWith.1, @AddAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %assoc0.704: %AddAssignWith.assoc_type.ab4 = assoc_entity element0, imports.%Core.import_ref.4eb [concrete] +// CHECK:STDOUT: %custom_witness.e6d: = custom_witness (%Int16.Op.cc70d5.17), @ModAssignWith.1, @ModAssignWith.1(%i16) [concrete] +// CHECK:STDOUT: %ModAssignWith.facet.350: %ModAssignWith.type.d0f = facet_value %Int16, (%custom_witness.e6d) [concrete] +// CHECK:STDOUT: %pattern_type.e7a: type = pattern_type %ModAssignWith.type.d0f [concrete] +// CHECK:STDOUT: %AddAssignWith.type.3e8: type = facet_type <@AddAssignWith.1, @AddAssignWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %AddAssignWith.assoc_type.115: type = assoc_entity_type @AddAssignWith.1, @AddAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %assoc0.8b4: %AddAssignWith.assoc_type.115 = assoc_entity element0, imports.%Core.import_ref.62c [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.12: type = fn_type @Int32.Op.12 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.12: %Int32.Op.type.43d658.12 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.54bf25.1: = custom_witness (%Int32.Op.cc70d5.12), @AddAssignWith.1, @AddAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %AddAssignWith.facet.d81: %AddAssignWith.type.426 = facet_value %Int32, (%custom_witness.54bf25.1) [concrete] -// CHECK:STDOUT: %pattern_type.0bd0: type = pattern_type %AddAssignWith.type.426 [concrete] -// CHECK:STDOUT: %SubAssignWith.type.9df: type = facet_type <@SubAssignWith.1, @SubAssignWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %SubAssignWith.assoc_type.597: type = assoc_entity_type @SubAssignWith.1, @SubAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %assoc0.6dc: %SubAssignWith.assoc_type.597 = assoc_entity element0, imports.%Core.import_ref.a2d0 [concrete] +// CHECK:STDOUT: %custom_witness.ec4e63.1: = custom_witness (%Int32.Op.cc70d5.12), @AddAssignWith.1, @AddAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %AddAssignWith.facet.610: %AddAssignWith.type.3e8 = facet_value %Int32, (%custom_witness.ec4e63.1) [concrete] +// CHECK:STDOUT: %pattern_type.ae6: type = pattern_type %AddAssignWith.type.3e8 [concrete] +// CHECK:STDOUT: %SubAssignWith.type.678: type = facet_type <@SubAssignWith.1, @SubAssignWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %SubAssignWith.assoc_type.53a: type = assoc_entity_type @SubAssignWith.1, @SubAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %assoc0.60e: %SubAssignWith.assoc_type.53a = assoc_entity element0, imports.%Core.import_ref.e50 [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.14: type = fn_type @Int32.Op.14 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.14: %Int32.Op.type.43d658.14 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.69cd18.1: = custom_witness (%Int32.Op.cc70d5.14), @SubAssignWith.1, @SubAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %SubAssignWith.facet.059: %SubAssignWith.type.9df = facet_value %Int32, (%custom_witness.69cd18.1) [concrete] -// CHECK:STDOUT: %pattern_type.1b0: type = pattern_type %SubAssignWith.type.9df [concrete] -// CHECK:STDOUT: %MulAssignWith.type.073: type = facet_type <@MulAssignWith.1, @MulAssignWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %MulAssignWith.assoc_type.f6e: type = assoc_entity_type @MulAssignWith.1, @MulAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %assoc0.cc8: %MulAssignWith.assoc_type.f6e = assoc_entity element0, imports.%Core.import_ref.475 [concrete] +// CHECK:STDOUT: %custom_witness.75ca2a.1: = custom_witness (%Int32.Op.cc70d5.14), @SubAssignWith.1, @SubAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %SubAssignWith.facet.fb2: %SubAssignWith.type.678 = facet_value %Int32, (%custom_witness.75ca2a.1) [concrete] +// CHECK:STDOUT: %pattern_type.470: type = pattern_type %SubAssignWith.type.678 [concrete] +// CHECK:STDOUT: %MulAssignWith.type.011: type = facet_type <@MulAssignWith.1, @MulAssignWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %MulAssignWith.assoc_type.f6b: type = assoc_entity_type @MulAssignWith.1, @MulAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %assoc0.1a2: %MulAssignWith.assoc_type.f6b = assoc_entity element0, imports.%Core.import_ref.763 [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.15: type = fn_type @Int32.Op.15 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.15: %Int32.Op.type.43d658.15 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.fc45f7.1: = custom_witness (%Int32.Op.cc70d5.15), @MulAssignWith.1, @MulAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %MulAssignWith.facet.7a5: %MulAssignWith.type.073 = facet_value %Int32, (%custom_witness.fc45f7.1) [concrete] -// CHECK:STDOUT: %pattern_type.9f8: type = pattern_type %MulAssignWith.type.073 [concrete] -// CHECK:STDOUT: %DivAssignWith.type.2a3: type = facet_type <@DivAssignWith.1, @DivAssignWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %DivAssignWith.assoc_type.d28: type = assoc_entity_type @DivAssignWith.1, @DivAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %assoc0.68b: %DivAssignWith.assoc_type.d28 = assoc_entity element0, imports.%Core.import_ref.12d [concrete] +// CHECK:STDOUT: %custom_witness.7d92f3.1: = custom_witness (%Int32.Op.cc70d5.15), @MulAssignWith.1, @MulAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %MulAssignWith.facet.8f5: %MulAssignWith.type.011 = facet_value %Int32, (%custom_witness.7d92f3.1) [concrete] +// CHECK:STDOUT: %pattern_type.c27: type = pattern_type %MulAssignWith.type.011 [concrete] +// CHECK:STDOUT: %DivAssignWith.type.487: type = facet_type <@DivAssignWith.1, @DivAssignWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %DivAssignWith.assoc_type.047: type = assoc_entity_type @DivAssignWith.1, @DivAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %assoc0.cd7: %DivAssignWith.assoc_type.047 = assoc_entity element0, imports.%Core.import_ref.d8a [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.16: type = fn_type @Int32.Op.16 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.16: %Int32.Op.type.43d658.16 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b90a73.1: = custom_witness (%Int32.Op.cc70d5.16), @DivAssignWith.1, @DivAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %DivAssignWith.facet.e46: %DivAssignWith.type.2a3 = facet_value %Int32, (%custom_witness.b90a73.1) [concrete] -// CHECK:STDOUT: %pattern_type.ce3: type = pattern_type %DivAssignWith.type.2a3 [concrete] -// CHECK:STDOUT: %ModAssignWith.type.da6: type = facet_type <@ModAssignWith.1, @ModAssignWith.1(%Int32)> [concrete] -// CHECK:STDOUT: %ModAssignWith.assoc_type.e9f: type = assoc_entity_type @ModAssignWith.1, @ModAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %assoc0.13c: %ModAssignWith.assoc_type.e9f = assoc_entity element0, imports.%Core.import_ref.c884 [concrete] +// CHECK:STDOUT: %custom_witness.cdc44b.1: = custom_witness (%Int32.Op.cc70d5.16), @DivAssignWith.1, @DivAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %DivAssignWith.facet.3bc: %DivAssignWith.type.487 = facet_value %Int32, (%custom_witness.cdc44b.1) [concrete] +// CHECK:STDOUT: %pattern_type.492: type = pattern_type %DivAssignWith.type.487 [concrete] +// CHECK:STDOUT: %ModAssignWith.type.499: type = facet_type <@ModAssignWith.1, @ModAssignWith.1(%Int32)> [concrete] +// CHECK:STDOUT: %ModAssignWith.assoc_type.e0e: type = assoc_entity_type @ModAssignWith.1, @ModAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %assoc0.928: %ModAssignWith.assoc_type.e0e = assoc_entity element0, imports.%Core.import_ref.aee3 [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.17: type = fn_type @Int32.Op.17 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.17: %Int32.Op.type.43d658.17 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.c151ba.1: = custom_witness (%Int32.Op.cc70d5.17), @ModAssignWith.1, @ModAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %ModAssignWith.facet.2ba: %ModAssignWith.type.da6 = facet_value %Int32, (%custom_witness.c151ba.1) [concrete] -// CHECK:STDOUT: %pattern_type.f9a: type = pattern_type %ModAssignWith.type.da6 [concrete] +// CHECK:STDOUT: %custom_witness.ec99b7.1: = custom_witness (%Int32.Op.cc70d5.17), @ModAssignWith.1, @ModAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %ModAssignWith.facet.b73: %ModAssignWith.type.499 = facet_value %Int32, (%custom_witness.ec99b7.1) [concrete] +// CHECK:STDOUT: %pattern_type.f79: type = pattern_type %ModAssignWith.type.499 [concrete] // CHECK:STDOUT: %Int64.Op.type.43d658.2: type = fn_type @Int64.Op.2 [concrete] // CHECK:STDOUT: %Int64.Op.cc70d5.2: %Int64.Op.type.43d658.2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.54bf25.2: = custom_witness (%Int64.Op.cc70d5.2), @AddAssignWith.1, @AddAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %AddAssignWith.facet.994: %AddAssignWith.type.426 = facet_value %Int64, (%custom_witness.54bf25.2) [concrete] +// CHECK:STDOUT: %custom_witness.ec4e63.2: = custom_witness (%Int64.Op.cc70d5.2), @AddAssignWith.1, @AddAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %AddAssignWith.facet.080: %AddAssignWith.type.3e8 = facet_value %Int64, (%custom_witness.ec4e63.2) [concrete] // CHECK:STDOUT: %Int64.Op.type.43d658.4: type = fn_type @Int64.Op.4 [concrete] // CHECK:STDOUT: %Int64.Op.cc70d5.4: %Int64.Op.type.43d658.4 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.69cd18.2: = custom_witness (%Int64.Op.cc70d5.4), @SubAssignWith.1, @SubAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %SubAssignWith.facet.cec: %SubAssignWith.type.9df = facet_value %Int64, (%custom_witness.69cd18.2) [concrete] +// CHECK:STDOUT: %custom_witness.75ca2a.2: = custom_witness (%Int64.Op.cc70d5.4), @SubAssignWith.1, @SubAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %SubAssignWith.facet.8bc: %SubAssignWith.type.678 = facet_value %Int64, (%custom_witness.75ca2a.2) [concrete] // CHECK:STDOUT: %Int64.Op.type.43d658.5: type = fn_type @Int64.Op.5 [concrete] // CHECK:STDOUT: %Int64.Op.cc70d5.5: %Int64.Op.type.43d658.5 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.fc45f7.2: = custom_witness (%Int64.Op.cc70d5.5), @MulAssignWith.1, @MulAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %MulAssignWith.facet.9d6: %MulAssignWith.type.073 = facet_value %Int64, (%custom_witness.fc45f7.2) [concrete] +// CHECK:STDOUT: %custom_witness.7d92f3.2: = custom_witness (%Int64.Op.cc70d5.5), @MulAssignWith.1, @MulAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %MulAssignWith.facet.990: %MulAssignWith.type.011 = facet_value %Int64, (%custom_witness.7d92f3.2) [concrete] // CHECK:STDOUT: %Int64.Op.type.43d658.6: type = fn_type @Int64.Op.6 [concrete] // CHECK:STDOUT: %Int64.Op.cc70d5.6: %Int64.Op.type.43d658.6 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b90a73.2: = custom_witness (%Int64.Op.cc70d5.6), @DivAssignWith.1, @DivAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %DivAssignWith.facet.e51: %DivAssignWith.type.2a3 = facet_value %Int64, (%custom_witness.b90a73.2) [concrete] +// CHECK:STDOUT: %custom_witness.cdc44b.2: = custom_witness (%Int64.Op.cc70d5.6), @DivAssignWith.1, @DivAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %DivAssignWith.facet.3eb: %DivAssignWith.type.487 = facet_value %Int64, (%custom_witness.cdc44b.2) [concrete] // CHECK:STDOUT: %Int64.Op.type.43d658.7: type = fn_type @Int64.Op.7 [concrete] // CHECK:STDOUT: %Int64.Op.cc70d5.7: %Int64.Op.type.43d658.7 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.c151ba.2: = custom_witness (%Int64.Op.cc70d5.7), @ModAssignWith.1, @ModAssignWith.1(%Int32) [concrete] -// CHECK:STDOUT: %ModAssignWith.facet.5ae: %ModAssignWith.type.da6 = facet_value %Int64, (%custom_witness.c151ba.2) [concrete] +// CHECK:STDOUT: %custom_witness.ec99b7.2: = custom_witness (%Int64.Op.cc70d5.7), @ModAssignWith.1, @ModAssignWith.1(%Int32) [concrete] +// CHECK:STDOUT: %ModAssignWith.facet.2d7: %ModAssignWith.type.499 = facet_value %Int64, (%custom_witness.ec99b7.2) [concrete] // CHECK:STDOUT: %Inc.type: type = facet_type <@Inc> [concrete] -// CHECK:STDOUT: %T.fed: %Inc.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.1d1: type = facet_access_type %T.fed [symbolic] -// CHECK:STDOUT: %pattern_type.8ba822.2: type = pattern_type %T.as_type.1d1 [symbolic] -// CHECK:STDOUT: %Inc.lookup_impl_witness: = lookup_impl_witness %T.fed, @Inc [symbolic] -// CHECK:STDOUT: %Inc.WithSelf.Op.type.0fa0d9.2: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%T.fed) [symbolic] -// CHECK:STDOUT: %.8af: type = fn_type_with_self_type %Inc.WithSelf.Op.type.0fa0d9.2, %T.fed [symbolic] -// CHECK:STDOUT: %impl.elem0.95b: %.8af = impl_witness_access %Inc.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.979: = specific_impl_function %impl.elem0.95b, @Inc.WithSelf.Op(%T.fed) [symbolic] +// CHECK:STDOUT: %T.c06: %Inc.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.4cc: type = facet_access_type %T.c06 [symbolic] +// CHECK:STDOUT: %pattern_type.55fce5.2: type = pattern_type %T.as_type.4cc [symbolic] +// CHECK:STDOUT: %Inc.lookup_impl_witness: = lookup_impl_witness %T.c06, @Inc [symbolic] +// CHECK:STDOUT: %Inc.WithSelf.Op.type.1a5b76.2: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%T.c06) [symbolic] +// CHECK:STDOUT: %.bdc: type = fn_type_with_self_type %Inc.WithSelf.Op.type.1a5b76.2, %T.c06 [symbolic] +// CHECK:STDOUT: %impl.elem0.a96: %.bdc = impl_witness_access %Inc.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.d8c: = specific_impl_function %impl.elem0.a96, @Inc.WithSelf.Op(%T.c06) [symbolic] // CHECK:STDOUT: %Dec.type: type = facet_type <@Dec> [concrete] -// CHECK:STDOUT: %T.c61: %Dec.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.5ae: type = facet_access_type %T.c61 [symbolic] -// CHECK:STDOUT: %pattern_type.a489aa.2: type = pattern_type %T.as_type.5ae [symbolic] -// CHECK:STDOUT: %Dec.lookup_impl_witness: = lookup_impl_witness %T.c61, @Dec [symbolic] -// CHECK:STDOUT: %Dec.WithSelf.Op.type.a100f5.2: type = fn_type @Dec.WithSelf.Op, @Dec.WithSelf(%T.c61) [symbolic] -// CHECK:STDOUT: %.e8e: type = fn_type_with_self_type %Dec.WithSelf.Op.type.a100f5.2, %T.c61 [symbolic] -// CHECK:STDOUT: %impl.elem0.e49: %.e8e = impl_witness_access %Dec.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.38c: = specific_impl_function %impl.elem0.e49, @Dec.WithSelf.Op(%T.c61) [symbolic] +// CHECK:STDOUT: %T.d9e: %Dec.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.915: type = facet_access_type %T.d9e [symbolic] +// CHECK:STDOUT: %pattern_type.317946.2: type = pattern_type %T.as_type.915 [symbolic] +// CHECK:STDOUT: %Dec.lookup_impl_witness: = lookup_impl_witness %T.d9e, @Dec [symbolic] +// CHECK:STDOUT: %Dec.WithSelf.Op.type.c8aa8e.2: type = fn_type @Dec.WithSelf.Op, @Dec.WithSelf(%T.d9e) [symbolic] +// CHECK:STDOUT: %.842: type = fn_type_with_self_type %Dec.WithSelf.Op.type.c8aa8e.2, %T.d9e [symbolic] +// CHECK:STDOUT: %impl.elem0.e17: %.842 = impl_witness_access %Dec.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.56c: = specific_impl_function %impl.elem0.e17, @Dec.WithSelf.Op(%T.d9e) [symbolic] // CHECK:STDOUT: %Negate.type: type = facet_type <@Negate> [concrete] -// CHECK:STDOUT: %facet_type.99f: type = facet_type <@Destroy & @Negate> [concrete] -// CHECK:STDOUT: %.Self.81e: %facet_type.99f = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %Negate.lookup_impl_witness.21e: = lookup_impl_witness %.Self.81e, @Negate [symbolic_self] -// CHECK:STDOUT: %impl.elem0.d91: type = impl_witness_access %Negate.lookup_impl_witness.21e, element0 [symbolic_self] -// CHECK:STDOUT: %facet_type.4bf: type = facet_type <@Destroy & @Negate where %impl.elem0.d91 = %Result.as_type> [symbolic] -// CHECK:STDOUT: %pattern_type.ad3: type = pattern_type %facet_type.4bf [symbolic] -// CHECK:STDOUT: %T.3f8: %facet_type.4bf = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %T.as_type.013: type = facet_access_type %T.3f8 [symbolic] -// CHECK:STDOUT: %pattern_type.48b: type = pattern_type %T.as_type.013 [symbolic] -// CHECK:STDOUT: %Negate.lookup_impl_witness.755: = lookup_impl_witness %T.3f8, @Negate [symbolic] -// CHECK:STDOUT: %Negate.facet.ad2: %Negate.type = facet_value %T.as_type.013, (%Negate.lookup_impl_witness.755) [symbolic] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.039: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet.ad2) [symbolic] -// CHECK:STDOUT: %.487: type = fn_type_with_self_type %Negate.WithSelf.Op.type.039, %Negate.facet.ad2 [symbolic] -// CHECK:STDOUT: %impl.elem1.026: %.487 = impl_witness_access %Negate.lookup_impl_witness.755, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.ee1: = specific_impl_function %impl.elem1.026, @Negate.WithSelf.Op(%Negate.facet.ad2) [symbolic] +// CHECK:STDOUT: %facet_type.d7a: type = facet_type <@Destroy & @Negate> [concrete] +// CHECK:STDOUT: %.Self.d26: %facet_type.d7a = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Negate.lookup_impl_witness.53f: = lookup_impl_witness %.Self.d26, @Negate [symbolic_self] +// CHECK:STDOUT: %impl.elem0.b2f: type = impl_witness_access %Negate.lookup_impl_witness.53f, element0 [symbolic_self] +// CHECK:STDOUT: %facet_type.fb9: type = facet_type <@Destroy & @Negate where %impl.elem0.b2f = %Result.as_type> [symbolic] +// CHECK:STDOUT: %pattern_type.301: type = pattern_type %facet_type.fb9 [symbolic] +// CHECK:STDOUT: %T.0e9: %facet_type.fb9 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %T.as_type.b01: type = facet_access_type %T.0e9 [symbolic] +// CHECK:STDOUT: %pattern_type.5e6: type = pattern_type %T.as_type.b01 [symbolic] +// CHECK:STDOUT: %Negate.lookup_impl_witness.5d0: = lookup_impl_witness %T.0e9, @Negate [symbolic] +// CHECK:STDOUT: %Negate.facet.7e7: %Negate.type = facet_value %T.as_type.b01, (%Negate.lookup_impl_witness.5d0) [symbolic] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.26a: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet.7e7) [symbolic] +// CHECK:STDOUT: %.0fd: type = fn_type_with_self_type %Negate.WithSelf.Op.type.26a, %Negate.facet.7e7 [symbolic] +// CHECK:STDOUT: %impl.elem1.b4a: %.0fd = impl_witness_access %Negate.lookup_impl_witness.5d0, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.037: = specific_impl_function %impl.elem1.b4a, @Negate.WithSelf.Op(%Negate.facet.7e7) [symbolic] // CHECK:STDOUT: %Int32.Op.type.43d658.18: type = fn_type @Int32.Op.18 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.18: %Int32.Op.type.43d658.18 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b11: = custom_witness (%Int32.Op.cc70d5.18), @Inc [concrete] -// CHECK:STDOUT: %Inc.facet.c12: %Inc.type = facet_value %Int32, (%custom_witness.b11) [concrete] +// CHECK:STDOUT: %custom_witness.ef4: = custom_witness (%Int32.Op.cc70d5.18), @Inc [concrete] +// CHECK:STDOUT: %Inc.facet.ace: %Inc.type = facet_value %Int32, (%custom_witness.ef4) [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.19: type = fn_type @Int32.Op.19 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.19: %Int32.Op.type.43d658.19 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b00: = custom_witness (%Int32.Op.cc70d5.19), @Dec [concrete] -// CHECK:STDOUT: %Dec.facet.706: %Dec.type = facet_value %Int32, (%custom_witness.b00) [concrete] -// CHECK:STDOUT: %facet_type.286: type = facet_type <@Destroy & @Negate where %impl.elem0.d91 = %Int64> [concrete] +// CHECK:STDOUT: %custom_witness.7c5: = custom_witness (%Int32.Op.cc70d5.19), @Dec [concrete] +// CHECK:STDOUT: %Dec.facet.be4: %Dec.type = facet_value %Int32, (%custom_witness.7c5) [concrete] +// CHECK:STDOUT: %facet_type.999: type = facet_type <@Destroy & @Negate where %impl.elem0.b2f = %Int64> [concrete] // CHECK:STDOUT: %Int16.Op.type.43d658.18: type = fn_type @Int16.Op.18 [concrete] // CHECK:STDOUT: %Int16.Op.cc70d5.18: %Int16.Op.type.43d658.18 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.ce3: = custom_witness (%Int64, %Int16.Op.cc70d5.18), @Negate [concrete] -// CHECK:STDOUT: %facet_value.15e: %facet_type.286 = facet_value %Int16, (%custom_witness.4e6cb0.1, %custom_witness.ce3) [concrete] -// CHECK:STDOUT: %pattern_type.fc5: type = pattern_type %facet_type.286 [concrete] -// CHECK:STDOUT: %facet_type.06f: type = facet_type <@Destroy & @Negate where %impl.elem0.d91 = %Int32> [concrete] +// CHECK:STDOUT: %custom_witness.71b: = custom_witness (%Int64, %Int16.Op.cc70d5.18), @Negate [concrete] +// CHECK:STDOUT: %facet_value.e43: %facet_type.999 = facet_value %Int16, (%custom_witness.a98c63.1, %custom_witness.71b) [concrete] +// CHECK:STDOUT: %pattern_type.04d: type = pattern_type %facet_type.999 [concrete] +// CHECK:STDOUT: %facet_type.363: type = facet_type <@Destroy & @Negate where %impl.elem0.b2f = %Int32> [concrete] // CHECK:STDOUT: %Int32.Op.type.43d658.20: type = fn_type @Int32.Op.20 [concrete] // CHECK:STDOUT: %Int32.Op.cc70d5.20: %Int32.Op.type.43d658.20 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.79d: = custom_witness (%Int32, %Int32.Op.cc70d5.20), @Negate [concrete] -// CHECK:STDOUT: %facet_value.fd9: %facet_type.06f = facet_value %Int32, (%custom_witness.4e6cb0.2, %custom_witness.79d) [concrete] -// CHECK:STDOUT: %pattern_type.742: type = pattern_type %facet_type.06f [concrete] -// CHECK:STDOUT: %complete_type.5ae: = complete_type_witness %AddWith.type.f72 [concrete] -// CHECK:STDOUT: %AddWith.facet.a65: %AddWith.type.f72 = facet_value %i16, (%custom_witness.25d) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.d02: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Int16, %AddWith.facet.a65) [concrete] -// CHECK:STDOUT: %.107: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.d02, %AddWith.facet.a65 [concrete] -// CHECK:STDOUT: %complete_type.091: = complete_type_witness %SubWith.type.51c [concrete] -// CHECK:STDOUT: %SubWith.facet.d26: %SubWith.type.51c = facet_value %i16, (%custom_witness.a7e) [concrete] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type.d52: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Int16, %SubWith.facet.d26) [concrete] -// CHECK:STDOUT: %.1af: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.d52, %SubWith.facet.d26 [concrete] -// CHECK:STDOUT: %complete_type.ada: = complete_type_witness %MulWith.type.40b [concrete] -// CHECK:STDOUT: %MulWith.facet.1f7: %MulWith.type.40b = facet_value %i16, (%custom_witness.b37) [concrete] -// CHECK:STDOUT: %MulWith.WithSelf.Op.type.6e6: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Int16, %MulWith.facet.1f7) [concrete] -// CHECK:STDOUT: %.a51: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.6e6, %MulWith.facet.1f7 [concrete] -// CHECK:STDOUT: %complete_type.aae: = complete_type_witness %DivWith.type.2b7 [concrete] -// CHECK:STDOUT: %DivWith.facet.ad7: %DivWith.type.2b7 = facet_value %i16, (%custom_witness.45b) [concrete] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type.c4c: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Int16, %DivWith.facet.ad7) [concrete] -// CHECK:STDOUT: %.955: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.c4c, %DivWith.facet.ad7 [concrete] -// CHECK:STDOUT: %complete_type.20b: = complete_type_witness %ModWith.type.06a [concrete] -// CHECK:STDOUT: %ModWith.facet.13b: %ModWith.type.06a = facet_value %i16, (%custom_witness.7ff) [concrete] -// CHECK:STDOUT: %ModWith.WithSelf.Op.type.8a6: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Int16, %ModWith.facet.13b) [concrete] -// CHECK:STDOUT: %.9f3: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.8a6, %ModWith.facet.13b [concrete] -// CHECK:STDOUT: %complete_type.def: = complete_type_witness %AddWith.type.a6e [concrete] -// CHECK:STDOUT: %AddWith.facet.9ad: %AddWith.type.a6e = facet_value %Int16, (%custom_witness.d49) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.9c2: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%i16, %AddWith.facet.9ad) [concrete] -// CHECK:STDOUT: %.d11: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.9c2, %AddWith.facet.9ad [concrete] -// CHECK:STDOUT: %complete_type.8c1: = complete_type_witness %SubWith.type.2f5 [concrete] -// CHECK:STDOUT: %SubWith.facet.7ab: %SubWith.type.2f5 = facet_value %Int16, (%custom_witness.5c6) [concrete] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type.574: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%i16, %SubWith.facet.7ab) [concrete] -// CHECK:STDOUT: %.dd2: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.574, %SubWith.facet.7ab [concrete] -// CHECK:STDOUT: %complete_type.514: = complete_type_witness %MulWith.type.278 [concrete] -// CHECK:STDOUT: %MulWith.facet.039: %MulWith.type.278 = facet_value %Int16, (%custom_witness.21d) [concrete] -// CHECK:STDOUT: %MulWith.WithSelf.Op.type.62b: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%i16, %MulWith.facet.039) [concrete] -// CHECK:STDOUT: %.a8d: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.62b, %MulWith.facet.039 [concrete] -// CHECK:STDOUT: %complete_type.51d: = complete_type_witness %DivWith.type.9b1 [concrete] -// CHECK:STDOUT: %DivWith.facet.f6b: %DivWith.type.9b1 = facet_value %Int16, (%custom_witness.6a8) [concrete] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type.d99: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%i16, %DivWith.facet.f6b) [concrete] -// CHECK:STDOUT: %.b64: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.d99, %DivWith.facet.f6b [concrete] -// CHECK:STDOUT: %complete_type.155: = complete_type_witness %ModWith.type.59b [concrete] -// CHECK:STDOUT: %ModWith.facet.08e: %ModWith.type.59b = facet_value %Int16, (%custom_witness.cdb) [concrete] -// CHECK:STDOUT: %ModWith.WithSelf.Op.type.2a7: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%i16, %ModWith.facet.08e) [concrete] -// CHECK:STDOUT: %.6bc: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.2a7, %ModWith.facet.08e [concrete] -// CHECK:STDOUT: %complete_type.a20: = complete_type_witness %AddWith.type.468 [concrete] -// CHECK:STDOUT: %AddWith.facet.7e1: %AddWith.type.468 = facet_value %Int16, (%custom_witness.d576a6.1) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.067b: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Int32, %AddWith.facet.7e1) [concrete] -// CHECK:STDOUT: %.1a1: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.067b, %AddWith.facet.7e1 [concrete] -// CHECK:STDOUT: %complete_type.08a: = complete_type_witness %SubWith.type.36c [concrete] -// CHECK:STDOUT: %SubWith.facet.81b: %SubWith.type.36c = facet_value %Int16, (%custom_witness.88a574.1) [concrete] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type.7f1: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Int32, %SubWith.facet.81b) [concrete] -// CHECK:STDOUT: %.35f: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.7f1, %SubWith.facet.81b [concrete] -// CHECK:STDOUT: %complete_type.d33: = complete_type_witness %MulWith.type.a1b [concrete] -// CHECK:STDOUT: %MulWith.facet.741: %MulWith.type.a1b = facet_value %Int16, (%custom_witness.29b64e.1) [concrete] -// CHECK:STDOUT: %MulWith.WithSelf.Op.type.5d5: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Int32, %MulWith.facet.741) [concrete] -// CHECK:STDOUT: %.8fd: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.5d5, %MulWith.facet.741 [concrete] -// CHECK:STDOUT: %complete_type.8b9: = complete_type_witness %DivWith.type.5b3 [concrete] -// CHECK:STDOUT: %DivWith.facet.643: %DivWith.type.5b3 = facet_value %Int16, (%custom_witness.ed8572.1) [concrete] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type.4f2: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Int32, %DivWith.facet.643) [concrete] -// CHECK:STDOUT: %.23a: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.4f2, %DivWith.facet.643 [concrete] -// CHECK:STDOUT: %complete_type.76f: = complete_type_witness %ModWith.type.4ca [concrete] -// CHECK:STDOUT: %ModWith.facet.fe3: %ModWith.type.4ca = facet_value %Int16, (%custom_witness.775a7e.1) [concrete] -// CHECK:STDOUT: %ModWith.WithSelf.Op.type.d57: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Int32, %ModWith.facet.fe3) [concrete] -// CHECK:STDOUT: %.fc5: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.d57, %ModWith.facet.fe3 [concrete] -// CHECK:STDOUT: %AddWith.facet.9fc: %AddWith.type.f72 = facet_value %Int32, (%custom_witness.6bd) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.d86: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Int16, %AddWith.facet.9fc) [concrete] -// CHECK:STDOUT: %.742: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.d86, %AddWith.facet.9fc [concrete] -// CHECK:STDOUT: %SubWith.facet.38c: %SubWith.type.51c = facet_value %Int32, (%custom_witness.4a6) [concrete] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type.13b: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Int16, %SubWith.facet.38c) [concrete] -// CHECK:STDOUT: %.286: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.13b, %SubWith.facet.38c [concrete] -// CHECK:STDOUT: %MulWith.facet.e5f: %MulWith.type.40b = facet_value %Int32, (%custom_witness.8eb7) [concrete] -// CHECK:STDOUT: %MulWith.WithSelf.Op.type.072: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Int16, %MulWith.facet.e5f) [concrete] -// CHECK:STDOUT: %.f85: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.072, %MulWith.facet.e5f [concrete] -// CHECK:STDOUT: %DivWith.facet.dee: %DivWith.type.2b7 = facet_value %Int32, (%custom_witness.7d5) [concrete] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type.1e1: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Int16, %DivWith.facet.dee) [concrete] -// CHECK:STDOUT: %.278: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.1e1, %DivWith.facet.dee [concrete] -// CHECK:STDOUT: %ModWith.facet.9f3: %ModWith.type.06a = facet_value %Int32, (%custom_witness.5f4) [concrete] -// CHECK:STDOUT: %ModWith.WithSelf.Op.type.156: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Int16, %ModWith.facet.9f3) [concrete] -// CHECK:STDOUT: %.433: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.156, %ModWith.facet.9f3 [concrete] -// CHECK:STDOUT: %AddWith.facet.9fb: %AddWith.type.468 = facet_value %Int32, (%custom_witness.d576a6.2) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.8f0: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Int32, %AddWith.facet.9fb) [concrete] -// CHECK:STDOUT: %.bb9: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.8f0, %AddWith.facet.9fb [concrete] -// CHECK:STDOUT: %SubWith.facet.0fc: %SubWith.type.36c = facet_value %Int32, (%custom_witness.88a574.2) [concrete] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type.8e3: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Int32, %SubWith.facet.0fc) [concrete] -// CHECK:STDOUT: %.99d: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.8e3, %SubWith.facet.0fc [concrete] -// CHECK:STDOUT: %MulWith.facet.845: %MulWith.type.a1b = facet_value %Int32, (%custom_witness.29b64e.2) [concrete] -// CHECK:STDOUT: %MulWith.WithSelf.Op.type.dc5: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Int32, %MulWith.facet.845) [concrete] -// CHECK:STDOUT: %.fbd: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.dc5, %MulWith.facet.845 [concrete] -// CHECK:STDOUT: %DivWith.facet.96a: %DivWith.type.5b3 = facet_value %Int32, (%custom_witness.ed8572.2) [concrete] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type.a2d: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Int32, %DivWith.facet.96a) [concrete] -// CHECK:STDOUT: %.f67: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.a2d, %DivWith.facet.96a [concrete] -// CHECK:STDOUT: %ModWith.facet.7c4: %ModWith.type.4ca = facet_value %Int32, (%custom_witness.775a7e.2) [concrete] -// CHECK:STDOUT: %ModWith.WithSelf.Op.type.c92: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Int32, %ModWith.facet.7c4) [concrete] -// CHECK:STDOUT: %.df9: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.c92, %ModWith.facet.7c4 [concrete] -// CHECK:STDOUT: %complete_type.ef2: = complete_type_witness %AddWith.type.a00 [concrete] -// CHECK:STDOUT: %AddWith.facet.881: %AddWith.type.a00 = facet_value %Int32, (%custom_witness.956) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.b6d: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Int64, %AddWith.facet.881) [concrete] -// CHECK:STDOUT: %.acd: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.b6d, %AddWith.facet.881 [concrete] -// CHECK:STDOUT: %complete_type.ac8: = complete_type_witness %SubWith.type.c91 [concrete] -// CHECK:STDOUT: %SubWith.facet.ac7: %SubWith.type.c91 = facet_value %Int32, (%custom_witness.a20) [concrete] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type.41c: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Int64, %SubWith.facet.ac7) [concrete] -// CHECK:STDOUT: %.9a9: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.41c, %SubWith.facet.ac7 [concrete] -// CHECK:STDOUT: %complete_type.d1a: = complete_type_witness %MulWith.type.5ad [concrete] -// CHECK:STDOUT: %MulWith.facet.aee: %MulWith.type.5ad = facet_value %Int32, (%custom_witness.318) [concrete] -// CHECK:STDOUT: %MulWith.WithSelf.Op.type.e87: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Int64, %MulWith.facet.aee) [concrete] -// CHECK:STDOUT: %.ae6: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.e87, %MulWith.facet.aee [concrete] -// CHECK:STDOUT: %complete_type.2f1: = complete_type_witness %DivWith.type.6d6 [concrete] -// CHECK:STDOUT: %DivWith.facet.dcc: %DivWith.type.6d6 = facet_value %Int32, (%custom_witness.143) [concrete] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type.aca: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Int64, %DivWith.facet.dcc) [concrete] -// CHECK:STDOUT: %.359: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.aca, %DivWith.facet.dcc [concrete] -// CHECK:STDOUT: %complete_type.da3: = complete_type_witness %ModWith.type.d62 [concrete] -// CHECK:STDOUT: %ModWith.facet.5fe: %ModWith.type.d62 = facet_value %Int32, (%custom_witness.af4) [concrete] -// CHECK:STDOUT: %ModWith.WithSelf.Op.type.2ca: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Int64, %ModWith.facet.5fe) [concrete] -// CHECK:STDOUT: %.241: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.2ca, %ModWith.facet.5fe [concrete] -// CHECK:STDOUT: %AddWith.facet.f65: %AddWith.type.468 = facet_value %Int64, (%custom_witness.ca2) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.f90: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Int32, %AddWith.facet.f65) [concrete] -// CHECK:STDOUT: %.9c9: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.f90, %AddWith.facet.f65 [concrete] -// CHECK:STDOUT: %SubWith.facet.7e1: %SubWith.type.36c = facet_value %Int64, (%custom_witness.274) [concrete] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type.034: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Int32, %SubWith.facet.7e1) [concrete] -// CHECK:STDOUT: %.2b5: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.034, %SubWith.facet.7e1 [concrete] -// CHECK:STDOUT: %MulWith.facet.2fc: %MulWith.type.a1b = facet_value %Int64, (%custom_witness.286) [concrete] -// CHECK:STDOUT: %MulWith.WithSelf.Op.type.8a2: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Int32, %MulWith.facet.2fc) [concrete] -// CHECK:STDOUT: %.3bd: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.8a2, %MulWith.facet.2fc [concrete] -// CHECK:STDOUT: %DivWith.facet.aa2: %DivWith.type.5b3 = facet_value %Int64, (%custom_witness.159) [concrete] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type.60b: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Int32, %DivWith.facet.aa2) [concrete] -// CHECK:STDOUT: %.b76: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.60b, %DivWith.facet.aa2 [concrete] -// CHECK:STDOUT: %ModWith.facet.39c: %ModWith.type.4ca = facet_value %Int64, (%custom_witness.2d7) [concrete] -// CHECK:STDOUT: %ModWith.WithSelf.Op.type.599: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Int32, %ModWith.facet.39c) [concrete] -// CHECK:STDOUT: %.da3: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.599, %ModWith.facet.39c [concrete] -// CHECK:STDOUT: %complete_type.c3b: = complete_type_witness %AddAssignWith.type.5a5 [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.ae1: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%i16, %AddAssignWith.facet.7e5) [concrete] -// CHECK:STDOUT: %.47c: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.ae1, %AddAssignWith.facet.7e5 [concrete] -// CHECK:STDOUT: %complete_type.289: = complete_type_witness %SubAssignWith.type.2da [concrete] -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.631: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%i16, %SubAssignWith.facet.a58) [concrete] -// CHECK:STDOUT: %.34a: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.631, %SubAssignWith.facet.a58 [concrete] -// CHECK:STDOUT: %complete_type.9b6: = complete_type_witness %MulAssignWith.type.a70 [concrete] -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.c14: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%i16, %MulAssignWith.facet.ece) [concrete] -// CHECK:STDOUT: %.26d: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.c14, %MulAssignWith.facet.ece [concrete] -// CHECK:STDOUT: %complete_type.41f: = complete_type_witness %DivAssignWith.type.7f8 [concrete] -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.10c: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%i16, %DivAssignWith.facet.153) [concrete] -// CHECK:STDOUT: %.7b7: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.10c, %DivAssignWith.facet.153 [concrete] -// CHECK:STDOUT: %complete_type.955: = complete_type_witness %ModAssignWith.type.eee [concrete] -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.a71: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%i16, %ModAssignWith.facet.b79) [concrete] -// CHECK:STDOUT: %.1c7: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.a71, %ModAssignWith.facet.b79 [concrete] -// CHECK:STDOUT: %complete_type.d78: = complete_type_witness %AddAssignWith.type.426 [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.49e: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%Int32, %AddAssignWith.facet.d81) [concrete] -// CHECK:STDOUT: %.03c: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.49e, %AddAssignWith.facet.d81 [concrete] -// CHECK:STDOUT: %complete_type.729: = complete_type_witness %SubAssignWith.type.9df [concrete] -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.046: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%Int32, %SubAssignWith.facet.059) [concrete] -// CHECK:STDOUT: %.673: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.046, %SubAssignWith.facet.059 [concrete] -// CHECK:STDOUT: %complete_type.cd8: = complete_type_witness %MulAssignWith.type.073 [concrete] -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.e8c: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%Int32, %MulAssignWith.facet.7a5) [concrete] -// CHECK:STDOUT: %.09b8: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.e8c, %MulAssignWith.facet.7a5 [concrete] -// CHECK:STDOUT: %complete_type.6cd: = complete_type_witness %DivAssignWith.type.2a3 [concrete] -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.4f9: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%Int32, %DivAssignWith.facet.e46) [concrete] -// CHECK:STDOUT: %.bdb: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.4f9, %DivAssignWith.facet.e46 [concrete] -// CHECK:STDOUT: %complete_type.062: = complete_type_witness %ModAssignWith.type.da6 [concrete] -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.95c: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%Int32, %ModAssignWith.facet.2ba) [concrete] -// CHECK:STDOUT: %.c5f: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.95c, %ModAssignWith.facet.2ba [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.6f4: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%Int32, %AddAssignWith.facet.994) [concrete] -// CHECK:STDOUT: %.a64: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.6f4, %AddAssignWith.facet.994 [concrete] -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.c8e: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%Int32, %SubAssignWith.facet.cec) [concrete] -// CHECK:STDOUT: %.797: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.c8e, %SubAssignWith.facet.cec [concrete] -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.f0f: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%Int32, %MulAssignWith.facet.9d6) [concrete] -// CHECK:STDOUT: %.292: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.f0f, %MulAssignWith.facet.9d6 [concrete] -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.adc: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%Int32, %DivAssignWith.facet.e51) [concrete] -// CHECK:STDOUT: %.733: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.adc, %DivAssignWith.facet.e51 [concrete] -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.c03: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%Int32, %ModAssignWith.facet.5ae) [concrete] -// CHECK:STDOUT: %.98b: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.c03, %ModAssignWith.facet.5ae [concrete] -// CHECK:STDOUT: %Inc.WithSelf.Op.type.0e6: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet.c12) [concrete] -// CHECK:STDOUT: %.2b7: type = fn_type_with_self_type %Inc.WithSelf.Op.type.0e6, %Inc.facet.c12 [concrete] -// CHECK:STDOUT: %Dec.WithSelf.Op.type.fb8: type = fn_type @Dec.WithSelf.Op, @Dec.WithSelf(%Dec.facet.706) [concrete] -// CHECK:STDOUT: %.1dd: type = fn_type_with_self_type %Dec.WithSelf.Op.type.fb8, %Dec.facet.706 [concrete] -// CHECK:STDOUT: %Negate.facet.8ca: %Negate.type = facet_value %Int16, (%custom_witness.ce3) [concrete] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.916: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet.8ca) [concrete] -// CHECK:STDOUT: %.aa8: type = fn_type_with_self_type %Negate.WithSelf.Op.type.916, %Negate.facet.8ca [concrete] -// CHECK:STDOUT: %Negate.facet.c5f: %Negate.type = facet_value %Int32, (%custom_witness.79d) [concrete] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.7f7: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet.c5f) [concrete] -// CHECK:STDOUT: %.f52: type = fn_type_with_self_type %Negate.WithSelf.Op.type.7f7, %Negate.facet.c5f [concrete] +// CHECK:STDOUT: %custom_witness.45a: = custom_witness (%Int32, %Int32.Op.cc70d5.20), @Negate [concrete] +// CHECK:STDOUT: %facet_value.b3a: %facet_type.363 = facet_value %Int32, (%custom_witness.a98c63.2, %custom_witness.45a) [concrete] +// CHECK:STDOUT: %pattern_type.4d0: type = pattern_type %facet_type.363 [concrete] +// CHECK:STDOUT: %complete_type.386: = complete_type_witness %AddWith.type.6f4 [concrete] +// CHECK:STDOUT: %AddWith.facet.85f: %AddWith.type.6f4 = facet_value %i16, (%custom_witness.604) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.09b: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Int16, %AddWith.facet.85f) [concrete] +// CHECK:STDOUT: %.b5b: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.09b, %AddWith.facet.85f [concrete] +// CHECK:STDOUT: %complete_type.41c: = complete_type_witness %SubWith.type.8bd [concrete] +// CHECK:STDOUT: %SubWith.facet.1de: %SubWith.type.8bd = facet_value %i16, (%custom_witness.4c1) [concrete] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type.fc2: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Int16, %SubWith.facet.1de) [concrete] +// CHECK:STDOUT: %.ec9: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.fc2, %SubWith.facet.1de [concrete] +// CHECK:STDOUT: %complete_type.b16: = complete_type_witness %MulWith.type.c25 [concrete] +// CHECK:STDOUT: %MulWith.facet.d75: %MulWith.type.c25 = facet_value %i16, (%custom_witness.72a) [concrete] +// CHECK:STDOUT: %MulWith.WithSelf.Op.type.53a: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Int16, %MulWith.facet.d75) [concrete] +// CHECK:STDOUT: %.f80: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.53a, %MulWith.facet.d75 [concrete] +// CHECK:STDOUT: %complete_type.7c5: = complete_type_witness %DivWith.type.053 [concrete] +// CHECK:STDOUT: %DivWith.facet.2be: %DivWith.type.053 = facet_value %i16, (%custom_witness.6ea) [concrete] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type.88f: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Int16, %DivWith.facet.2be) [concrete] +// CHECK:STDOUT: %.a93: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.88f, %DivWith.facet.2be [concrete] +// CHECK:STDOUT: %complete_type.2f8: = complete_type_witness %ModWith.type.a83 [concrete] +// CHECK:STDOUT: %ModWith.facet.ea4: %ModWith.type.a83 = facet_value %i16, (%custom_witness.b81) [concrete] +// CHECK:STDOUT: %ModWith.WithSelf.Op.type.6fc: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Int16, %ModWith.facet.ea4) [concrete] +// CHECK:STDOUT: %.3cd: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.6fc, %ModWith.facet.ea4 [concrete] +// CHECK:STDOUT: %complete_type.b45: = complete_type_witness %AddWith.type.63e [concrete] +// CHECK:STDOUT: %AddWith.facet.cea: %AddWith.type.63e = facet_value %Int16, (%custom_witness.9f2) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.18e: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%i16, %AddWith.facet.cea) [concrete] +// CHECK:STDOUT: %.1c0: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.18e, %AddWith.facet.cea [concrete] +// CHECK:STDOUT: %complete_type.edc: = complete_type_witness %SubWith.type.1db [concrete] +// CHECK:STDOUT: %SubWith.facet.3dd: %SubWith.type.1db = facet_value %Int16, (%custom_witness.6a5) [concrete] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type.1ca: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%i16, %SubWith.facet.3dd) [concrete] +// CHECK:STDOUT: %.f6d: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.1ca, %SubWith.facet.3dd [concrete] +// CHECK:STDOUT: %complete_type.355: = complete_type_witness %MulWith.type.c35 [concrete] +// CHECK:STDOUT: %MulWith.facet.3b5: %MulWith.type.c35 = facet_value %Int16, (%custom_witness.35c) [concrete] +// CHECK:STDOUT: %MulWith.WithSelf.Op.type.896: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%i16, %MulWith.facet.3b5) [concrete] +// CHECK:STDOUT: %.ca0: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.896, %MulWith.facet.3b5 [concrete] +// CHECK:STDOUT: %complete_type.db2: = complete_type_witness %DivWith.type.086 [concrete] +// CHECK:STDOUT: %DivWith.facet.8d2: %DivWith.type.086 = facet_value %Int16, (%custom_witness.52d) [concrete] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type.2d4: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%i16, %DivWith.facet.8d2) [concrete] +// CHECK:STDOUT: %.cb6e: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.2d4, %DivWith.facet.8d2 [concrete] +// CHECK:STDOUT: %complete_type.b14: = complete_type_witness %ModWith.type.59b [concrete] +// CHECK:STDOUT: %ModWith.facet.8ae: %ModWith.type.59b = facet_value %Int16, (%custom_witness.887) [concrete] +// CHECK:STDOUT: %ModWith.WithSelf.Op.type.5f0: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%i16, %ModWith.facet.8ae) [concrete] +// CHECK:STDOUT: %.851: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.5f0, %ModWith.facet.8ae [concrete] +// CHECK:STDOUT: %complete_type.c57: = complete_type_witness %AddWith.type.78c [concrete] +// CHECK:STDOUT: %AddWith.facet.b3b: %AddWith.type.78c = facet_value %Int16, (%custom_witness.e46c75.1) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.675: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Int32, %AddWith.facet.b3b) [concrete] +// CHECK:STDOUT: %.615: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.675, %AddWith.facet.b3b [concrete] +// CHECK:STDOUT: %complete_type.48a: = complete_type_witness %SubWith.type.629 [concrete] +// CHECK:STDOUT: %SubWith.facet.da1: %SubWith.type.629 = facet_value %Int16, (%custom_witness.7ffeb1.1) [concrete] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type.a0e: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Int32, %SubWith.facet.da1) [concrete] +// CHECK:STDOUT: %.1a2: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.a0e, %SubWith.facet.da1 [concrete] +// CHECK:STDOUT: %complete_type.6e9: = complete_type_witness %MulWith.type.3ee [concrete] +// CHECK:STDOUT: %MulWith.facet.c1a: %MulWith.type.3ee = facet_value %Int16, (%custom_witness.68a6cf.1) [concrete] +// CHECK:STDOUT: %MulWith.WithSelf.Op.type.b9a: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Int32, %MulWith.facet.c1a) [concrete] +// CHECK:STDOUT: %.f10: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.b9a, %MulWith.facet.c1a [concrete] +// CHECK:STDOUT: %complete_type.627: = complete_type_witness %DivWith.type.09b [concrete] +// CHECK:STDOUT: %DivWith.facet.b53: %DivWith.type.09b = facet_value %Int16, (%custom_witness.2ccbdb.1) [concrete] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type.214: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Int32, %DivWith.facet.b53) [concrete] +// CHECK:STDOUT: %.eff: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.214, %DivWith.facet.b53 [concrete] +// CHECK:STDOUT: %complete_type.1cf: = complete_type_witness %ModWith.type.6f6 [concrete] +// CHECK:STDOUT: %ModWith.facet.142: %ModWith.type.6f6 = facet_value %Int16, (%custom_witness.596ded.1) [concrete] +// CHECK:STDOUT: %ModWith.WithSelf.Op.type.513: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Int32, %ModWith.facet.142) [concrete] +// CHECK:STDOUT: %.699: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.513, %ModWith.facet.142 [concrete] +// CHECK:STDOUT: %AddWith.facet.aef: %AddWith.type.6f4 = facet_value %Int32, (%custom_witness.e32) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.0aa: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Int16, %AddWith.facet.aef) [concrete] +// CHECK:STDOUT: %.211: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.0aa, %AddWith.facet.aef [concrete] +// CHECK:STDOUT: %SubWith.facet.9f2: %SubWith.type.8bd = facet_value %Int32, (%custom_witness.395) [concrete] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type.bba: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Int16, %SubWith.facet.9f2) [concrete] +// CHECK:STDOUT: %.2b2: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.bba, %SubWith.facet.9f2 [concrete] +// CHECK:STDOUT: %MulWith.facet.9cb: %MulWith.type.c25 = facet_value %Int32, (%custom_witness.678) [concrete] +// CHECK:STDOUT: %MulWith.WithSelf.Op.type.15f: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Int16, %MulWith.facet.9cb) [concrete] +// CHECK:STDOUT: %.dd6: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.15f, %MulWith.facet.9cb [concrete] +// CHECK:STDOUT: %DivWith.facet.53f: %DivWith.type.053 = facet_value %Int32, (%custom_witness.8ad) [concrete] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type.ba3: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Int16, %DivWith.facet.53f) [concrete] +// CHECK:STDOUT: %.540: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.ba3, %DivWith.facet.53f [concrete] +// CHECK:STDOUT: %ModWith.facet.0ea: %ModWith.type.a83 = facet_value %Int32, (%custom_witness.f63) [concrete] +// CHECK:STDOUT: %ModWith.WithSelf.Op.type.aeb: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Int16, %ModWith.facet.0ea) [concrete] +// CHECK:STDOUT: %.b1a: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.aeb, %ModWith.facet.0ea [concrete] +// CHECK:STDOUT: %AddWith.facet.616: %AddWith.type.78c = facet_value %Int32, (%custom_witness.e46c75.2) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.9e3: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Int32, %AddWith.facet.616) [concrete] +// CHECK:STDOUT: %.d9d: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.9e3, %AddWith.facet.616 [concrete] +// CHECK:STDOUT: %SubWith.facet.36d: %SubWith.type.629 = facet_value %Int32, (%custom_witness.7ffeb1.2) [concrete] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type.1db: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Int32, %SubWith.facet.36d) [concrete] +// CHECK:STDOUT: %.613: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.1db, %SubWith.facet.36d [concrete] +// CHECK:STDOUT: %MulWith.facet.dd3: %MulWith.type.3ee = facet_value %Int32, (%custom_witness.68a6cf.2) [concrete] +// CHECK:STDOUT: %MulWith.WithSelf.Op.type.854: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Int32, %MulWith.facet.dd3) [concrete] +// CHECK:STDOUT: %.ec7: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.854, %MulWith.facet.dd3 [concrete] +// CHECK:STDOUT: %DivWith.facet.c86: %DivWith.type.09b = facet_value %Int32, (%custom_witness.2ccbdb.2) [concrete] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type.e4e: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Int32, %DivWith.facet.c86) [concrete] +// CHECK:STDOUT: %.865: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.e4e, %DivWith.facet.c86 [concrete] +// CHECK:STDOUT: %ModWith.facet.c80: %ModWith.type.6f6 = facet_value %Int32, (%custom_witness.596ded.2) [concrete] +// CHECK:STDOUT: %ModWith.WithSelf.Op.type.e0b: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Int32, %ModWith.facet.c80) [concrete] +// CHECK:STDOUT: %.d2e: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.e0b, %ModWith.facet.c80 [concrete] +// CHECK:STDOUT: %complete_type.495: = complete_type_witness %AddWith.type.01b [concrete] +// CHECK:STDOUT: %AddWith.facet.31a: %AddWith.type.01b = facet_value %Int32, (%custom_witness.e1e) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.c0a: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Int64, %AddWith.facet.31a) [concrete] +// CHECK:STDOUT: %.2ba: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.c0a, %AddWith.facet.31a [concrete] +// CHECK:STDOUT: %complete_type.cc7: = complete_type_witness %SubWith.type.82c [concrete] +// CHECK:STDOUT: %SubWith.facet.9cc: %SubWith.type.82c = facet_value %Int32, (%custom_witness.053) [concrete] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type.a06: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Int64, %SubWith.facet.9cc) [concrete] +// CHECK:STDOUT: %.086: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.a06, %SubWith.facet.9cc [concrete] +// CHECK:STDOUT: %complete_type.da6: = complete_type_witness %MulWith.type.9ed [concrete] +// CHECK:STDOUT: %MulWith.facet.83a: %MulWith.type.9ed = facet_value %Int32, (%custom_witness.f29) [concrete] +// CHECK:STDOUT: %MulWith.WithSelf.Op.type.bc6: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Int64, %MulWith.facet.83a) [concrete] +// CHECK:STDOUT: %.ca6: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.bc6, %MulWith.facet.83a [concrete] +// CHECK:STDOUT: %complete_type.dba: = complete_type_witness %DivWith.type.7ac [concrete] +// CHECK:STDOUT: %DivWith.facet.62d: %DivWith.type.7ac = facet_value %Int32, (%custom_witness.863) [concrete] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type.90b: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Int64, %DivWith.facet.62d) [concrete] +// CHECK:STDOUT: %.cb62: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.90b, %DivWith.facet.62d [concrete] +// CHECK:STDOUT: %complete_type.f9c: = complete_type_witness %ModWith.type.6b0 [concrete] +// CHECK:STDOUT: %ModWith.facet.02b: %ModWith.type.6b0 = facet_value %Int32, (%custom_witness.eb8) [concrete] +// CHECK:STDOUT: %ModWith.WithSelf.Op.type.17d: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Int64, %ModWith.facet.02b) [concrete] +// CHECK:STDOUT: %.0ca: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.17d, %ModWith.facet.02b [concrete] +// CHECK:STDOUT: %AddWith.facet.6a1: %AddWith.type.78c = facet_value %Int64, (%custom_witness.483) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.5ee: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Int32, %AddWith.facet.6a1) [concrete] +// CHECK:STDOUT: %.11a: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.5ee, %AddWith.facet.6a1 [concrete] +// CHECK:STDOUT: %SubWith.facet.8cb: %SubWith.type.629 = facet_value %Int64, (%custom_witness.095) [concrete] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type.1b8: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Int32, %SubWith.facet.8cb) [concrete] +// CHECK:STDOUT: %.51b: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.1b8, %SubWith.facet.8cb [concrete] +// CHECK:STDOUT: %MulWith.facet.e61: %MulWith.type.3ee = facet_value %Int64, (%custom_witness.f6e) [concrete] +// CHECK:STDOUT: %MulWith.WithSelf.Op.type.d31: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Int32, %MulWith.facet.e61) [concrete] +// CHECK:STDOUT: %.2e4: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.d31, %MulWith.facet.e61 [concrete] +// CHECK:STDOUT: %DivWith.facet.b24: %DivWith.type.09b = facet_value %Int64, (%custom_witness.4e5) [concrete] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type.58d: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Int32, %DivWith.facet.b24) [concrete] +// CHECK:STDOUT: %.f2d: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.58d, %DivWith.facet.b24 [concrete] +// CHECK:STDOUT: %ModWith.facet.4c1: %ModWith.type.6f6 = facet_value %Int64, (%custom_witness.99b) [concrete] +// CHECK:STDOUT: %ModWith.WithSelf.Op.type.fb3: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Int32, %ModWith.facet.4c1) [concrete] +// CHECK:STDOUT: %.7b9: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.fb3, %ModWith.facet.4c1 [concrete] +// CHECK:STDOUT: %complete_type.f45: = complete_type_witness %AddAssignWith.type.35f [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.f5d: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%i16, %AddAssignWith.facet.1b3) [concrete] +// CHECK:STDOUT: %.c71: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.f5d, %AddAssignWith.facet.1b3 [concrete] +// CHECK:STDOUT: %complete_type.c74: = complete_type_witness %SubAssignWith.type.121 [concrete] +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.224: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%i16, %SubAssignWith.facet.45a) [concrete] +// CHECK:STDOUT: %.9c3: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.224, %SubAssignWith.facet.45a [concrete] +// CHECK:STDOUT: %complete_type.f93: = complete_type_witness %MulAssignWith.type.b7e [concrete] +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.354: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%i16, %MulAssignWith.facet.805) [concrete] +// CHECK:STDOUT: %.cbb: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.354, %MulAssignWith.facet.805 [concrete] +// CHECK:STDOUT: %complete_type.913: = complete_type_witness %DivAssignWith.type.0d6 [concrete] +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.510: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%i16, %DivAssignWith.facet.ac9) [concrete] +// CHECK:STDOUT: %.b82: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.510, %DivAssignWith.facet.ac9 [concrete] +// CHECK:STDOUT: %complete_type.597: = complete_type_witness %ModAssignWith.type.d0f [concrete] +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.ad4: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%i16, %ModAssignWith.facet.350) [concrete] +// CHECK:STDOUT: %.003: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.ad4, %ModAssignWith.facet.350 [concrete] +// CHECK:STDOUT: %complete_type.d4d: = complete_type_witness %AddAssignWith.type.3e8 [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.b28: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%Int32, %AddAssignWith.facet.610) [concrete] +// CHECK:STDOUT: %.05e: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.b28, %AddAssignWith.facet.610 [concrete] +// CHECK:STDOUT: %complete_type.838: = complete_type_witness %SubAssignWith.type.678 [concrete] +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.7bd: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%Int32, %SubAssignWith.facet.fb2) [concrete] +// CHECK:STDOUT: %.cd8: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.7bd, %SubAssignWith.facet.fb2 [concrete] +// CHECK:STDOUT: %complete_type.908: = complete_type_witness %MulAssignWith.type.011 [concrete] +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.9a6: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%Int32, %MulAssignWith.facet.8f5) [concrete] +// CHECK:STDOUT: %.300: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.9a6, %MulAssignWith.facet.8f5 [concrete] +// CHECK:STDOUT: %complete_type.054: = complete_type_witness %DivAssignWith.type.487 [concrete] +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.1ec: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%Int32, %DivAssignWith.facet.3bc) [concrete] +// CHECK:STDOUT: %.d63: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.1ec, %DivAssignWith.facet.3bc [concrete] +// CHECK:STDOUT: %complete_type.022: = complete_type_witness %ModAssignWith.type.499 [concrete] +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.1a7: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%Int32, %ModAssignWith.facet.b73) [concrete] +// CHECK:STDOUT: %.029: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.1a7, %ModAssignWith.facet.b73 [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.272: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%Int32, %AddAssignWith.facet.080) [concrete] +// CHECK:STDOUT: %.257: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.272, %AddAssignWith.facet.080 [concrete] +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.461: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%Int32, %SubAssignWith.facet.8bc) [concrete] +// CHECK:STDOUT: %.e92: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.461, %SubAssignWith.facet.8bc [concrete] +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.152: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%Int32, %MulAssignWith.facet.990) [concrete] +// CHECK:STDOUT: %.694: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.152, %MulAssignWith.facet.990 [concrete] +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.53f: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%Int32, %DivAssignWith.facet.3eb) [concrete] +// CHECK:STDOUT: %.09f: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.53f, %DivAssignWith.facet.3eb [concrete] +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.30a: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%Int32, %ModAssignWith.facet.2d7) [concrete] +// CHECK:STDOUT: %.e8b: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.30a, %ModAssignWith.facet.2d7 [concrete] +// CHECK:STDOUT: %Inc.WithSelf.Op.type.f8b: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet.ace) [concrete] +// CHECK:STDOUT: %.b6c: type = fn_type_with_self_type %Inc.WithSelf.Op.type.f8b, %Inc.facet.ace [concrete] +// CHECK:STDOUT: %Dec.WithSelf.Op.type.479: type = fn_type @Dec.WithSelf.Op, @Dec.WithSelf(%Dec.facet.be4) [concrete] +// CHECK:STDOUT: %.a3b: type = fn_type_with_self_type %Dec.WithSelf.Op.type.479, %Dec.facet.be4 [concrete] +// CHECK:STDOUT: %Negate.facet.070: %Negate.type = facet_value %Int16, (%custom_witness.71b) [concrete] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.cde: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet.070) [concrete] +// CHECK:STDOUT: %.e93: type = fn_type_with_self_type %Negate.WithSelf.Op.type.cde, %Negate.facet.070 [concrete] +// CHECK:STDOUT: %Negate.facet.670: %Negate.type = facet_value %Int32, (%custom_witness.45a) [concrete] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.20b: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet.670) [concrete] +// CHECK:STDOUT: %.76e: type = fn_type_with_self_type %Negate.WithSelf.Op.type.20b, %Negate.facet.670 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.010: @AddWith.WithSelf.%AddWith.assoc_type (%AddWith.assoc_type.dfc) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @AddWith.WithSelf.%assoc1 (constants.%assoc1.593)] -// CHECK:STDOUT: %Core.import_ref.935: @AddWith.WithSelf.%AddWith.WithSelf.Op.type (%AddWith.WithSelf.Op.type.fc0) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @AddWith.WithSelf.%AddWith.WithSelf.Op (constants.%AddWith.WithSelf.Op.056)] -// CHECK:STDOUT: %Core.import_ref.b37: type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = %Result.c43] -// CHECK:STDOUT: %Result.c43: type = assoc_const_decl @Result.1 [concrete] {} -// CHECK:STDOUT: %Core.import_ref.31c = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.cbb: @SubWith.WithSelf.%SubWith.assoc_type (%SubWith.assoc_type.6b2) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @SubWith.WithSelf.%assoc1 (constants.%assoc1.8b9)] -// CHECK:STDOUT: %Core.import_ref.480: @SubWith.WithSelf.%SubWith.WithSelf.Op.type (%SubWith.WithSelf.Op.type.2ca) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @SubWith.WithSelf.%SubWith.WithSelf.Op (constants.%SubWith.WithSelf.Op.918)] -// CHECK:STDOUT: %Core.import_ref.bb2: type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = %Result.d9b] -// CHECK:STDOUT: %Result.d9b: type = assoc_const_decl @Result.2 [concrete] {} -// CHECK:STDOUT: %Core.import_ref.507 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.1d4: @MulWith.WithSelf.%MulWith.assoc_type (%MulWith.assoc_type.03e) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @MulWith.WithSelf.%assoc1 (constants.%assoc1.56c)] -// CHECK:STDOUT: %Core.import_ref.7ed: @MulWith.WithSelf.%MulWith.WithSelf.Op.type (%MulWith.WithSelf.Op.type.e29) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @MulWith.WithSelf.%MulWith.WithSelf.Op (constants.%MulWith.WithSelf.Op.45b)] -// CHECK:STDOUT: %Core.import_ref.a1a: type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = %Result.f7f] -// CHECK:STDOUT: %Result.f7f: type = assoc_const_decl @Result.3 [concrete] {} -// CHECK:STDOUT: %Core.import_ref.f63 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.d16: @DivWith.WithSelf.%DivWith.assoc_type (%DivWith.assoc_type.1ff) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @DivWith.WithSelf.%assoc1 (constants.%assoc1.71c)] -// CHECK:STDOUT: %Core.import_ref.44d: @DivWith.WithSelf.%DivWith.WithSelf.Op.type (%DivWith.WithSelf.Op.type.388) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @DivWith.WithSelf.%DivWith.WithSelf.Op (constants.%DivWith.WithSelf.Op.0ce)] -// CHECK:STDOUT: %Core.import_ref.b8f: type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = %Result.10f] -// CHECK:STDOUT: %Result.10f: type = assoc_const_decl @Result.4 [concrete] {} -// CHECK:STDOUT: %Core.import_ref.4ea = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.e51: @ModWith.WithSelf.%ModWith.assoc_type (%ModWith.assoc_type.7ff) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @ModWith.WithSelf.%assoc1 (constants.%assoc1.e05)] -// CHECK:STDOUT: %Core.import_ref.556: @ModWith.WithSelf.%ModWith.WithSelf.Op.type (%ModWith.WithSelf.Op.type.f7c) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @ModWith.WithSelf.%ModWith.WithSelf.Op (constants.%ModWith.WithSelf.Op.a28)] -// CHECK:STDOUT: %Core.import_ref.f19: type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = %Result.a8f] -// CHECK:STDOUT: %Result.a8f: type = assoc_const_decl @Result.5 [concrete] {} -// CHECK:STDOUT: %Core.import_ref.f10 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.eb9: @AddAssignWith.WithSelf.%AddAssignWith.assoc_type (%AddAssignWith.assoc_type.a25160.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @AddAssignWith.WithSelf.%assoc0 (constants.%assoc0.c1f)] -// CHECK:STDOUT: %Core.import_ref.4eb: @AddAssignWith.WithSelf.%AddAssignWith.WithSelf.Op.type (%AddAssignWith.WithSelf.Op.type.8b23d4.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @AddAssignWith.WithSelf.%AddAssignWith.WithSelf.Op (constants.%AddAssignWith.WithSelf.Op.4cbad4.1)] -// CHECK:STDOUT: %Core.import_ref.763 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.7fa: @SubAssignWith.WithSelf.%SubAssignWith.assoc_type (%SubAssignWith.assoc_type.0440e4.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @SubAssignWith.WithSelf.%assoc0 (constants.%assoc0.5f4)] -// CHECK:STDOUT: %Core.import_ref.a2d0: @SubAssignWith.WithSelf.%SubAssignWith.WithSelf.Op.type (%SubAssignWith.WithSelf.Op.type.ac317f.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @SubAssignWith.WithSelf.%SubAssignWith.WithSelf.Op (constants.%SubAssignWith.WithSelf.Op.b6cd67.1)] -// CHECK:STDOUT: %Core.import_ref.3c0 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.dd3: @MulAssignWith.WithSelf.%MulAssignWith.assoc_type (%MulAssignWith.assoc_type.dd8648.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @MulAssignWith.WithSelf.%assoc0 (constants.%assoc0.181)] -// CHECK:STDOUT: %Core.import_ref.475: @MulAssignWith.WithSelf.%MulAssignWith.WithSelf.Op.type (%MulAssignWith.WithSelf.Op.type.dff752.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @MulAssignWith.WithSelf.%MulAssignWith.WithSelf.Op (constants.%MulAssignWith.WithSelf.Op.28a4dd.1)] -// CHECK:STDOUT: %Core.import_ref.768 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.927: @DivAssignWith.WithSelf.%DivAssignWith.assoc_type (%DivAssignWith.assoc_type.738ee6.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @DivAssignWith.WithSelf.%assoc0 (constants.%assoc0.f6f)] -// CHECK:STDOUT: %Core.import_ref.12d: @DivAssignWith.WithSelf.%DivAssignWith.WithSelf.Op.type (%DivAssignWith.WithSelf.Op.type.3077dd.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @DivAssignWith.WithSelf.%DivAssignWith.WithSelf.Op (constants.%DivAssignWith.WithSelf.Op.710329.1)] -// CHECK:STDOUT: %Core.import_ref.9c0 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.ab7: @ModAssignWith.WithSelf.%ModAssignWith.assoc_type (%ModAssignWith.assoc_type.9ba07c.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @ModAssignWith.WithSelf.%assoc0 (constants.%assoc0.26c)] -// CHECK:STDOUT: %Core.import_ref.c884: @ModAssignWith.WithSelf.%ModAssignWith.WithSelf.Op.type (%ModAssignWith.WithSelf.Op.type.3abf50.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @ModAssignWith.WithSelf.%ModAssignWith.WithSelf.Op (constants.%ModAssignWith.WithSelf.Op.42aedd.1)] -// CHECK:STDOUT: %Core.import_ref.d41 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.ada: @AddWith.WithSelf.%AddWith.assoc_type (%AddWith.assoc_type.5da) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @AddWith.WithSelf.%assoc1 (constants.%assoc1.fdf)] +// CHECK:STDOUT: %Core.import_ref.29ff: @AddWith.WithSelf.%AddWith.WithSelf.Op.type (%AddWith.WithSelf.Op.type.c45) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @AddWith.WithSelf.%AddWith.WithSelf.Op (constants.%AddWith.WithSelf.Op.2f3)] +// CHECK:STDOUT: %Core.import_ref.1dd: type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = %Result.a0e] +// CHECK:STDOUT: %Result.a0e: type = assoc_const_decl @Result.1 [concrete] {} +// CHECK:STDOUT: %Core.import_ref.a1e = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.cd2: @SubWith.WithSelf.%SubWith.assoc_type (%SubWith.assoc_type.72b) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @SubWith.WithSelf.%assoc1 (constants.%assoc1.e6a)] +// CHECK:STDOUT: %Core.import_ref.940: @SubWith.WithSelf.%SubWith.WithSelf.Op.type (%SubWith.WithSelf.Op.type.7da) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @SubWith.WithSelf.%SubWith.WithSelf.Op (constants.%SubWith.WithSelf.Op.bd5)] +// CHECK:STDOUT: %Core.import_ref.391: type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = %Result.982] +// CHECK:STDOUT: %Result.982: type = assoc_const_decl @Result.2 [concrete] {} +// CHECK:STDOUT: %Core.import_ref.e2a = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.537: @MulWith.WithSelf.%MulWith.assoc_type (%MulWith.assoc_type.634) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @MulWith.WithSelf.%assoc1 (constants.%assoc1.14f)] +// CHECK:STDOUT: %Core.import_ref.d23: @MulWith.WithSelf.%MulWith.WithSelf.Op.type (%MulWith.WithSelf.Op.type.309) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @MulWith.WithSelf.%MulWith.WithSelf.Op (constants.%MulWith.WithSelf.Op.56c)] +// CHECK:STDOUT: %Core.import_ref.41e: type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = %Result.518] +// CHECK:STDOUT: %Result.518: type = assoc_const_decl @Result.3 [concrete] {} +// CHECK:STDOUT: %Core.import_ref.087 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.973: @DivWith.WithSelf.%DivWith.assoc_type (%DivWith.assoc_type.5b4) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @DivWith.WithSelf.%assoc1 (constants.%assoc1.9374)] +// CHECK:STDOUT: %Core.import_ref.e712: @DivWith.WithSelf.%DivWith.WithSelf.Op.type (%DivWith.WithSelf.Op.type.e6f) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @DivWith.WithSelf.%DivWith.WithSelf.Op (constants.%DivWith.WithSelf.Op.908)] +// CHECK:STDOUT: %Core.import_ref.e71d: type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = %Result.397] +// CHECK:STDOUT: %Result.397: type = assoc_const_decl @Result.4 [concrete] {} +// CHECK:STDOUT: %Core.import_ref.993 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.fc2: @ModWith.WithSelf.%ModWith.assoc_type (%ModWith.assoc_type.4a7) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @ModWith.WithSelf.%assoc1 (constants.%assoc1.232)] +// CHECK:STDOUT: %Core.import_ref.104: @ModWith.WithSelf.%ModWith.WithSelf.Op.type (%ModWith.WithSelf.Op.type.f6b) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @ModWith.WithSelf.%ModWith.WithSelf.Op (constants.%ModWith.WithSelf.Op.397)] +// CHECK:STDOUT: %Core.import_ref.327: type = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [concrete = %Result.22a] +// CHECK:STDOUT: %Result.22a: type = assoc_const_decl @Result.5 [concrete] {} +// CHECK:STDOUT: %Core.import_ref.bbd = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.3bc: @AddAssignWith.WithSelf.%AddAssignWith.assoc_type (%AddAssignWith.assoc_type.d9654f.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @AddAssignWith.WithSelf.%assoc0 (constants.%assoc0.1e6)] +// CHECK:STDOUT: %Core.import_ref.62c: @AddAssignWith.WithSelf.%AddAssignWith.WithSelf.Op.type (%AddAssignWith.WithSelf.Op.type.86ac33.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @AddAssignWith.WithSelf.%AddAssignWith.WithSelf.Op (constants.%AddAssignWith.WithSelf.Op.31f15f.1)] +// CHECK:STDOUT: %Core.import_ref.970 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.639: @SubAssignWith.WithSelf.%SubAssignWith.assoc_type (%SubAssignWith.assoc_type.efddf3.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @SubAssignWith.WithSelf.%assoc0 (constants.%assoc0.936)] +// CHECK:STDOUT: %Core.import_ref.e50: @SubAssignWith.WithSelf.%SubAssignWith.WithSelf.Op.type (%SubAssignWith.WithSelf.Op.type.839113.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @SubAssignWith.WithSelf.%SubAssignWith.WithSelf.Op (constants.%SubAssignWith.WithSelf.Op.2286e8.1)] +// CHECK:STDOUT: %Core.import_ref.7b0 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.5c1: @MulAssignWith.WithSelf.%MulAssignWith.assoc_type (%MulAssignWith.assoc_type.153441.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @MulAssignWith.WithSelf.%assoc0 (constants.%assoc0.862)] +// CHECK:STDOUT: %Core.import_ref.763: @MulAssignWith.WithSelf.%MulAssignWith.WithSelf.Op.type (%MulAssignWith.WithSelf.Op.type.44adac.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @MulAssignWith.WithSelf.%MulAssignWith.WithSelf.Op (constants.%MulAssignWith.WithSelf.Op.f87570.1)] +// CHECK:STDOUT: %Core.import_ref.634 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.cbe: @DivAssignWith.WithSelf.%DivAssignWith.assoc_type (%DivAssignWith.assoc_type.c30cb0.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @DivAssignWith.WithSelf.%assoc0 (constants.%assoc0.086)] +// CHECK:STDOUT: %Core.import_ref.d8a: @DivAssignWith.WithSelf.%DivAssignWith.WithSelf.Op.type (%DivAssignWith.WithSelf.Op.type.8e0740.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @DivAssignWith.WithSelf.%DivAssignWith.WithSelf.Op (constants.%DivAssignWith.WithSelf.Op.0bd7e1.1)] +// CHECK:STDOUT: %Core.import_ref.b97 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.447: @ModAssignWith.WithSelf.%ModAssignWith.assoc_type (%ModAssignWith.assoc_type.0ff0e5.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @ModAssignWith.WithSelf.%assoc0 (constants.%assoc0.715)] +// CHECK:STDOUT: %Core.import_ref.aee3: @ModAssignWith.WithSelf.%ModAssignWith.WithSelf.Op.type (%ModAssignWith.WithSelf.Op.type.292942.1) = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, loaded [symbolic = @ModAssignWith.WithSelf.%ModAssignWith.WithSelf.Op (constants.%ModAssignWith.WithSelf.Op.84faf3.1)] +// CHECK:STDOUT: %Core.import_ref.248 = import_ref Core//prelude/operators/arithmetic, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @AddWith.loc124(%Result.loc121_9.2: %Destroy.type, %U.loc122_4.2: %Destroy.type, %T.loc123_4.2: @AddWith.loc124.%facet_type.loc123_38 (%facet_type.d00)) { +// CHECK:STDOUT: generic fn @AddWith.loc124(%Result.loc121_9.2: %Destroy.type, %U.loc122_4.2: %Destroy.type, %T.loc123_4.2: @AddWith.loc124.%facet_type.loc123_38 (%facet_type.cac)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc126: = require_complete_type %AddWith.type.loc123_36.1 [symbolic = %require_complete.loc126 (constants.%require_complete.672)] -// CHECK:STDOUT: %assoc1: @AddWith.loc124.%AddWith.assoc_type (%AddWith.assoc_type.f48) = assoc_entity element1, imports.%Core.import_ref.935 [symbolic = %assoc1 (constants.%assoc1.bb6)] -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126: = lookup_impl_witness %T.loc123_4.1, @AddWith.1, @AddWith.1(%U.as_type.loc123_36.1) [symbolic = %AddWith.lookup_impl_witness.loc126 (constants.%AddWith.lookup_impl_witness.211)] -// CHECK:STDOUT: %AddWith.facet: @AddWith.loc124.%AddWith.type.loc123_36.1 (%AddWith.type.68f) = facet_value %T.as_type.loc124_29.1, (%AddWith.lookup_impl_witness.loc126) [symbolic = %AddWith.facet (constants.%AddWith.facet.57d)] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%U.as_type.loc123_36.1, %AddWith.facet) [symbolic = %AddWith.WithSelf.Op.type (constants.%AddWith.WithSelf.Op.type.b30)] -// CHECK:STDOUT: %.loc126_5.4: type = fn_type_with_self_type %AddWith.WithSelf.Op.type, %AddWith.facet [symbolic = %.loc126_5.4 (constants.%.09b4)] -// CHECK:STDOUT: %impl.elem1.loc126_5.2: @AddWith.loc124.%.loc126_5.4 (%.09b4) = impl_witness_access %AddWith.lookup_impl_witness.loc126, element1 [symbolic = %impl.elem1.loc126_5.2 (constants.%impl.elem1.4bc)] -// CHECK:STDOUT: %specific_impl_fn.loc126_5.3: = specific_impl_function %impl.elem1.loc126_5.2, @AddWith.WithSelf.Op(%U.as_type.loc123_36.1, %AddWith.facet) [symbolic = %specific_impl_fn.loc126_5.3 (constants.%specific_impl_fn.31d)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result.loc121_9.1) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.12b49e.2)] -// CHECK:STDOUT: %.loc126_5.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Result.loc121_9.1 [symbolic = %.loc126_5.5 (constants.%.9c3)] +// CHECK:STDOUT: %require_complete.loc126: = require_complete_type %AddWith.type.loc123_36.1 [symbolic = %require_complete.loc126 (constants.%require_complete.3dc)] +// CHECK:STDOUT: %assoc1: @AddWith.loc124.%AddWith.assoc_type (%AddWith.assoc_type.c6c) = assoc_entity element1, imports.%Core.import_ref.29ff [symbolic = %assoc1 (constants.%assoc1.d93)] +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126: = lookup_impl_witness %T.loc123_4.1, @AddWith.1, @AddWith.1(%U.as_type.loc123_36.1) [symbolic = %AddWith.lookup_impl_witness.loc126 (constants.%AddWith.lookup_impl_witness.e7e)] +// CHECK:STDOUT: %AddWith.facet: @AddWith.loc124.%AddWith.type.loc123_36.1 (%AddWith.type.ad2) = facet_value %T.as_type.loc124_29.1, (%AddWith.lookup_impl_witness.loc126) [symbolic = %AddWith.facet (constants.%AddWith.facet.c8e)] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%U.as_type.loc123_36.1, %AddWith.facet) [symbolic = %AddWith.WithSelf.Op.type (constants.%AddWith.WithSelf.Op.type.12d)] +// CHECK:STDOUT: %.loc126_5.4: type = fn_type_with_self_type %AddWith.WithSelf.Op.type, %AddWith.facet [symbolic = %.loc126_5.4 (constants.%.ac7)] +// CHECK:STDOUT: %impl.elem1.loc126_5.2: @AddWith.loc124.%.loc126_5.4 (%.ac7) = impl_witness_access %AddWith.lookup_impl_witness.loc126, element1 [symbolic = %impl.elem1.loc126_5.2 (constants.%impl.elem1.f9d)] +// CHECK:STDOUT: %specific_impl_fn.loc126_5.3: = specific_impl_function %impl.elem1.loc126_5.2, @AddWith.WithSelf.Op(%U.as_type.loc123_36.1, %AddWith.facet) [symbolic = %specific_impl_fn.loc126_5.3 (constants.%specific_impl_fn.8f2)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result.loc121_9.1) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.6304ea.2)] +// CHECK:STDOUT: %.loc126_5.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Result.loc121_9.1 [symbolic = %.loc126_5.5 (constants.%.543)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Result.loc121_9.1, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc126_5.2: @AddWith.loc124.%.loc126_5.5 (%.9c3) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc126_5.2 (constants.%impl.elem0.8bd)] -// CHECK:STDOUT: %specific_impl_fn.loc126_5.4: = specific_impl_function %impl.elem0.loc126_5.2, @Destroy.WithSelf.Op(%Result.loc121_9.1) [symbolic = %specific_impl_fn.loc126_5.4 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %impl.elem0.loc126_5.2: @AddWith.loc124.%.loc126_5.5 (%.543) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc126_5.2 (constants.%impl.elem0.531)] +// CHECK:STDOUT: %specific_impl_fn.loc126_5.4: = specific_impl_function %impl.elem0.loc126_5.2, @Destroy.WithSelf.Op(%Result.loc121_9.1) [symbolic = %specific_impl_fn.loc126_5.4 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%result.param: @AddWith.loc124.%Result.as_type.loc123_54.1 (%Result.as_type), %x.param: @AddWith.loc124.%T.as_type.loc124_29.1 (%T.as_type.6fa), %y.param: @AddWith.loc124.%U.as_type.loc123_36.1 (%U.as_type.0fd)) { +// CHECK:STDOUT: fn(%result.param: @AddWith.loc124.%Result.as_type.loc123_54.1 (%Result.as_type), %x.param: @AddWith.loc124.%T.as_type.loc124_29.1 (%T.as_type.46a), %y.param: @AddWith.loc124.%U.as_type.loc123_36.1 (%U.as_type.f7f)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: @AddWith.loc124.%T.as_type.loc124_29.1 (%T.as_type.6fa) = name_ref x, %x -// CHECK:STDOUT: %y.ref: @AddWith.loc124.%U.as_type.loc123_36.1 (%U.as_type.0fd) = name_ref y, %y -// CHECK:STDOUT: %AddWith.type.loc126: type = facet_type <@AddWith.1, @AddWith.1(constants.%U.as_type.0fd)> [symbolic = %AddWith.type.loc123_36.1 (constants.%AddWith.type.68f)] -// CHECK:STDOUT: %.loc126_5.1: @AddWith.loc124.%AddWith.assoc_type (%AddWith.assoc_type.f48) = specific_constant imports.%Core.import_ref.010, @AddWith.WithSelf(constants.%U.as_type.0fd, constants.%Self.39b) [symbolic = %assoc1 (constants.%assoc1.bb6)] -// CHECK:STDOUT: %Op.ref: @AddWith.loc124.%AddWith.assoc_type (%AddWith.assoc_type.f48) = name_ref Op, %.loc126_5.1 [symbolic = %assoc1 (constants.%assoc1.bb6)] -// CHECK:STDOUT: %impl.elem1.loc126_5.1: @AddWith.loc124.%.loc126_5.4 (%.09b4) = impl_witness_access constants.%AddWith.lookup_impl_witness.211, element1 [symbolic = %impl.elem1.loc126_5.2 (constants.%impl.elem1.4bc)] +// CHECK:STDOUT: %x.ref: @AddWith.loc124.%T.as_type.loc124_29.1 (%T.as_type.46a) = name_ref x, %x +// CHECK:STDOUT: %y.ref: @AddWith.loc124.%U.as_type.loc123_36.1 (%U.as_type.f7f) = name_ref y, %y +// CHECK:STDOUT: %AddWith.type.loc126: type = facet_type <@AddWith.1, @AddWith.1(constants.%U.as_type.f7f)> [symbolic = %AddWith.type.loc123_36.1 (constants.%AddWith.type.ad2)] +// CHECK:STDOUT: %.loc126_5.1: @AddWith.loc124.%AddWith.assoc_type (%AddWith.assoc_type.c6c) = specific_constant imports.%Core.import_ref.ada, @AddWith.WithSelf(constants.%U.as_type.f7f, constants.%Self.66b) [symbolic = %assoc1 (constants.%assoc1.d93)] +// CHECK:STDOUT: %Op.ref: @AddWith.loc124.%AddWith.assoc_type (%AddWith.assoc_type.c6c) = name_ref Op, %.loc126_5.1 [symbolic = %assoc1 (constants.%assoc1.d93)] +// CHECK:STDOUT: %impl.elem1.loc126_5.1: @AddWith.loc124.%.loc126_5.4 (%.ac7) = impl_witness_access constants.%AddWith.lookup_impl_witness.e7e, element1 [symbolic = %impl.elem1.loc126_5.2 (constants.%impl.elem1.f9d)] // CHECK:STDOUT: %bound_method.loc126_5.1: = bound_method %x.ref, %impl.elem1.loc126_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc126_5.1: = specific_impl_function %impl.elem1.loc126_5.1, @AddWith.WithSelf.Op(constants.%U.as_type.0fd, constants.%AddWith.facet.57d) [symbolic = %specific_impl_fn.loc126_5.3 (constants.%specific_impl_fn.31d)] +// CHECK:STDOUT: %specific_impl_fn.loc126_5.1: = specific_impl_function %impl.elem1.loc126_5.1, @AddWith.WithSelf.Op(constants.%U.as_type.f7f, constants.%AddWith.facet.c8e) [symbolic = %specific_impl_fn.loc126_5.3 (constants.%specific_impl_fn.8f2)] // CHECK:STDOUT: %bound_method.loc126_5.2: = bound_method %x.ref, %specific_impl_fn.loc126_5.1 // CHECK:STDOUT: %.loc126_5.2: ref @AddWith.loc124.%Result.as_type.loc123_54.1 (%Result.as_type) = temporary_storage // CHECK:STDOUT: %AddWith.WithSelf.Op.call: init @AddWith.loc124.%Result.as_type.loc123_54.1 (%Result.as_type) to %.loc126_5.2 = call %bound_method.loc126_5.2(%x.ref, %y.ref) // CHECK:STDOUT: %.loc126_5.3: ref @AddWith.loc124.%Result.as_type.loc123_54.1 (%Result.as_type) = temporary %.loc126_5.2, %AddWith.WithSelf.Op.call -// CHECK:STDOUT: %impl.elem0.loc126_5.1: @AddWith.loc124.%.loc126_5.5 (%.9c3) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc126_5.2 (constants.%impl.elem0.8bd)] +// CHECK:STDOUT: %impl.elem0.loc126_5.1: @AddWith.loc124.%.loc126_5.5 (%.543) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc126_5.2 (constants.%impl.elem0.531)] // CHECK:STDOUT: %bound_method.loc126_5.3: = bound_method %.loc126_5.3, %impl.elem0.loc126_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc126_5.2: = specific_impl_function %impl.elem0.loc126_5.1, @Destroy.WithSelf.Op(constants.%Result) [symbolic = %specific_impl_fn.loc126_5.4 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %specific_impl_fn.loc126_5.2: = specific_impl_function %impl.elem0.loc126_5.1, @Destroy.WithSelf.Op(constants.%Result) [symbolic = %specific_impl_fn.loc126_5.4 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: %bound_method.loc126_5.4: = bound_method %.loc126_5.3, %specific_impl_fn.loc126_5.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc126_5.4(%.loc126_5.3) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @SubWith.loc135(%Result.loc132_9.2: %Destroy.type, %U.loc133_4.2: %Destroy.type, %T.loc134_4.2: @SubWith.loc135.%facet_type.loc134_38 (%facet_type.de3)) { +// CHECK:STDOUT: generic fn @SubWith.loc135(%Result.loc132_9.2: %Destroy.type, %U.loc133_4.2: %Destroy.type, %T.loc134_4.2: @SubWith.loc135.%facet_type.loc134_38 (%facet_type.98a)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc137: = require_complete_type %SubWith.type.loc134_36.1 [symbolic = %require_complete.loc137 (constants.%require_complete.f2d)] -// CHECK:STDOUT: %assoc1: @SubWith.loc135.%SubWith.assoc_type (%SubWith.assoc_type.f11) = assoc_entity element1, imports.%Core.import_ref.480 [symbolic = %assoc1 (constants.%assoc1.8f3)] -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137: = lookup_impl_witness %T.loc134_4.1, @SubWith.1, @SubWith.1(%U.as_type.loc134_36.1) [symbolic = %SubWith.lookup_impl_witness.loc137 (constants.%SubWith.lookup_impl_witness.9fd)] -// CHECK:STDOUT: %SubWith.facet: @SubWith.loc135.%SubWith.type.loc134_36.1 (%SubWith.type.3e0) = facet_value %T.as_type.loc135_29.1, (%SubWith.lookup_impl_witness.loc137) [symbolic = %SubWith.facet (constants.%SubWith.facet.1b3)] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%U.as_type.loc134_36.1, %SubWith.facet) [symbolic = %SubWith.WithSelf.Op.type (constants.%SubWith.WithSelf.Op.type.649)] -// CHECK:STDOUT: %.loc137_5.4: type = fn_type_with_self_type %SubWith.WithSelf.Op.type, %SubWith.facet [symbolic = %.loc137_5.4 (constants.%.e46)] -// CHECK:STDOUT: %impl.elem1.loc137_5.2: @SubWith.loc135.%.loc137_5.4 (%.e46) = impl_witness_access %SubWith.lookup_impl_witness.loc137, element1 [symbolic = %impl.elem1.loc137_5.2 (constants.%impl.elem1.d3b)] -// CHECK:STDOUT: %specific_impl_fn.loc137_5.3: = specific_impl_function %impl.elem1.loc137_5.2, @SubWith.WithSelf.Op(%U.as_type.loc134_36.1, %SubWith.facet) [symbolic = %specific_impl_fn.loc137_5.3 (constants.%specific_impl_fn.d50)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result.loc132_9.1) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.12b49e.2)] -// CHECK:STDOUT: %.loc137_5.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Result.loc132_9.1 [symbolic = %.loc137_5.5 (constants.%.9c3)] +// CHECK:STDOUT: %require_complete.loc137: = require_complete_type %SubWith.type.loc134_36.1 [symbolic = %require_complete.loc137 (constants.%require_complete.30c)] +// CHECK:STDOUT: %assoc1: @SubWith.loc135.%SubWith.assoc_type (%SubWith.assoc_type.767) = assoc_entity element1, imports.%Core.import_ref.940 [symbolic = %assoc1 (constants.%assoc1.edb)] +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137: = lookup_impl_witness %T.loc134_4.1, @SubWith.1, @SubWith.1(%U.as_type.loc134_36.1) [symbolic = %SubWith.lookup_impl_witness.loc137 (constants.%SubWith.lookup_impl_witness.031)] +// CHECK:STDOUT: %SubWith.facet: @SubWith.loc135.%SubWith.type.loc134_36.1 (%SubWith.type.394) = facet_value %T.as_type.loc135_29.1, (%SubWith.lookup_impl_witness.loc137) [symbolic = %SubWith.facet (constants.%SubWith.facet.2d1)] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%U.as_type.loc134_36.1, %SubWith.facet) [symbolic = %SubWith.WithSelf.Op.type (constants.%SubWith.WithSelf.Op.type.496)] +// CHECK:STDOUT: %.loc137_5.4: type = fn_type_with_self_type %SubWith.WithSelf.Op.type, %SubWith.facet [symbolic = %.loc137_5.4 (constants.%.754)] +// CHECK:STDOUT: %impl.elem1.loc137_5.2: @SubWith.loc135.%.loc137_5.4 (%.754) = impl_witness_access %SubWith.lookup_impl_witness.loc137, element1 [symbolic = %impl.elem1.loc137_5.2 (constants.%impl.elem1.a03)] +// CHECK:STDOUT: %specific_impl_fn.loc137_5.3: = specific_impl_function %impl.elem1.loc137_5.2, @SubWith.WithSelf.Op(%U.as_type.loc134_36.1, %SubWith.facet) [symbolic = %specific_impl_fn.loc137_5.3 (constants.%specific_impl_fn.069)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result.loc132_9.1) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.6304ea.2)] +// CHECK:STDOUT: %.loc137_5.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Result.loc132_9.1 [symbolic = %.loc137_5.5 (constants.%.543)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Result.loc132_9.1, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc137_5.2: @SubWith.loc135.%.loc137_5.5 (%.9c3) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc137_5.2 (constants.%impl.elem0.8bd)] -// CHECK:STDOUT: %specific_impl_fn.loc137_5.4: = specific_impl_function %impl.elem0.loc137_5.2, @Destroy.WithSelf.Op(%Result.loc132_9.1) [symbolic = %specific_impl_fn.loc137_5.4 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %impl.elem0.loc137_5.2: @SubWith.loc135.%.loc137_5.5 (%.543) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc137_5.2 (constants.%impl.elem0.531)] +// CHECK:STDOUT: %specific_impl_fn.loc137_5.4: = specific_impl_function %impl.elem0.loc137_5.2, @Destroy.WithSelf.Op(%Result.loc132_9.1) [symbolic = %specific_impl_fn.loc137_5.4 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%result.param: @SubWith.loc135.%Result.as_type.loc134_54.1 (%Result.as_type), %x.param: @SubWith.loc135.%T.as_type.loc135_29.1 (%T.as_type.3b2), %y.param: @SubWith.loc135.%U.as_type.loc134_36.1 (%U.as_type.0fd)) { +// CHECK:STDOUT: fn(%result.param: @SubWith.loc135.%Result.as_type.loc134_54.1 (%Result.as_type), %x.param: @SubWith.loc135.%T.as_type.loc135_29.1 (%T.as_type.330), %y.param: @SubWith.loc135.%U.as_type.loc134_36.1 (%U.as_type.f7f)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: @SubWith.loc135.%T.as_type.loc135_29.1 (%T.as_type.3b2) = name_ref x, %x -// CHECK:STDOUT: %y.ref: @SubWith.loc135.%U.as_type.loc134_36.1 (%U.as_type.0fd) = name_ref y, %y -// CHECK:STDOUT: %SubWith.type.loc137: type = facet_type <@SubWith.1, @SubWith.1(constants.%U.as_type.0fd)> [symbolic = %SubWith.type.loc134_36.1 (constants.%SubWith.type.3e0)] -// CHECK:STDOUT: %.loc137_5.1: @SubWith.loc135.%SubWith.assoc_type (%SubWith.assoc_type.f11) = specific_constant imports.%Core.import_ref.cbb, @SubWith.WithSelf(constants.%U.as_type.0fd, constants.%Self.631) [symbolic = %assoc1 (constants.%assoc1.8f3)] -// CHECK:STDOUT: %Op.ref: @SubWith.loc135.%SubWith.assoc_type (%SubWith.assoc_type.f11) = name_ref Op, %.loc137_5.1 [symbolic = %assoc1 (constants.%assoc1.8f3)] -// CHECK:STDOUT: %impl.elem1.loc137_5.1: @SubWith.loc135.%.loc137_5.4 (%.e46) = impl_witness_access constants.%SubWith.lookup_impl_witness.9fd, element1 [symbolic = %impl.elem1.loc137_5.2 (constants.%impl.elem1.d3b)] +// CHECK:STDOUT: %x.ref: @SubWith.loc135.%T.as_type.loc135_29.1 (%T.as_type.330) = name_ref x, %x +// CHECK:STDOUT: %y.ref: @SubWith.loc135.%U.as_type.loc134_36.1 (%U.as_type.f7f) = name_ref y, %y +// CHECK:STDOUT: %SubWith.type.loc137: type = facet_type <@SubWith.1, @SubWith.1(constants.%U.as_type.f7f)> [symbolic = %SubWith.type.loc134_36.1 (constants.%SubWith.type.394)] +// CHECK:STDOUT: %.loc137_5.1: @SubWith.loc135.%SubWith.assoc_type (%SubWith.assoc_type.767) = specific_constant imports.%Core.import_ref.cd2, @SubWith.WithSelf(constants.%U.as_type.f7f, constants.%Self.cc1) [symbolic = %assoc1 (constants.%assoc1.edb)] +// CHECK:STDOUT: %Op.ref: @SubWith.loc135.%SubWith.assoc_type (%SubWith.assoc_type.767) = name_ref Op, %.loc137_5.1 [symbolic = %assoc1 (constants.%assoc1.edb)] +// CHECK:STDOUT: %impl.elem1.loc137_5.1: @SubWith.loc135.%.loc137_5.4 (%.754) = impl_witness_access constants.%SubWith.lookup_impl_witness.031, element1 [symbolic = %impl.elem1.loc137_5.2 (constants.%impl.elem1.a03)] // CHECK:STDOUT: %bound_method.loc137_5.1: = bound_method %x.ref, %impl.elem1.loc137_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc137_5.1: = specific_impl_function %impl.elem1.loc137_5.1, @SubWith.WithSelf.Op(constants.%U.as_type.0fd, constants.%SubWith.facet.1b3) [symbolic = %specific_impl_fn.loc137_5.3 (constants.%specific_impl_fn.d50)] +// CHECK:STDOUT: %specific_impl_fn.loc137_5.1: = specific_impl_function %impl.elem1.loc137_5.1, @SubWith.WithSelf.Op(constants.%U.as_type.f7f, constants.%SubWith.facet.2d1) [symbolic = %specific_impl_fn.loc137_5.3 (constants.%specific_impl_fn.069)] // CHECK:STDOUT: %bound_method.loc137_5.2: = bound_method %x.ref, %specific_impl_fn.loc137_5.1 // CHECK:STDOUT: %.loc137_5.2: ref @SubWith.loc135.%Result.as_type.loc134_54.1 (%Result.as_type) = temporary_storage // CHECK:STDOUT: %SubWith.WithSelf.Op.call: init @SubWith.loc135.%Result.as_type.loc134_54.1 (%Result.as_type) to %.loc137_5.2 = call %bound_method.loc137_5.2(%x.ref, %y.ref) // CHECK:STDOUT: %.loc137_5.3: ref @SubWith.loc135.%Result.as_type.loc134_54.1 (%Result.as_type) = temporary %.loc137_5.2, %SubWith.WithSelf.Op.call -// CHECK:STDOUT: %impl.elem0.loc137_5.1: @SubWith.loc135.%.loc137_5.5 (%.9c3) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc137_5.2 (constants.%impl.elem0.8bd)] +// CHECK:STDOUT: %impl.elem0.loc137_5.1: @SubWith.loc135.%.loc137_5.5 (%.543) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc137_5.2 (constants.%impl.elem0.531)] // CHECK:STDOUT: %bound_method.loc137_5.3: = bound_method %.loc137_5.3, %impl.elem0.loc137_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc137_5.2: = specific_impl_function %impl.elem0.loc137_5.1, @Destroy.WithSelf.Op(constants.%Result) [symbolic = %specific_impl_fn.loc137_5.4 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %specific_impl_fn.loc137_5.2: = specific_impl_function %impl.elem0.loc137_5.1, @Destroy.WithSelf.Op(constants.%Result) [symbolic = %specific_impl_fn.loc137_5.4 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: %bound_method.loc137_5.4: = bound_method %.loc137_5.3, %specific_impl_fn.loc137_5.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc137_5.4(%.loc137_5.3) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @MulWith.loc146(%Result.loc143_9.2: %Destroy.type, %U.loc144_4.2: %Destroy.type, %T.loc145_4.2: @MulWith.loc146.%facet_type.loc145_38 (%facet_type.779)) { +// CHECK:STDOUT: generic fn @MulWith.loc146(%Result.loc143_9.2: %Destroy.type, %U.loc144_4.2: %Destroy.type, %T.loc145_4.2: @MulWith.loc146.%facet_type.loc145_38 (%facet_type.a59)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc148: = require_complete_type %MulWith.type.loc145_36.1 [symbolic = %require_complete.loc148 (constants.%require_complete.be1)] -// CHECK:STDOUT: %assoc1: @MulWith.loc146.%MulWith.assoc_type (%MulWith.assoc_type.4f3) = assoc_entity element1, imports.%Core.import_ref.7ed [symbolic = %assoc1 (constants.%assoc1.4a5)] -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148: = lookup_impl_witness %T.loc145_4.1, @MulWith.1, @MulWith.1(%U.as_type.loc145_36.1) [symbolic = %MulWith.lookup_impl_witness.loc148 (constants.%MulWith.lookup_impl_witness.69d)] -// CHECK:STDOUT: %MulWith.facet: @MulWith.loc146.%MulWith.type.loc145_36.1 (%MulWith.type.b5e) = facet_value %T.as_type.loc146_29.1, (%MulWith.lookup_impl_witness.loc148) [symbolic = %MulWith.facet (constants.%MulWith.facet.181)] -// CHECK:STDOUT: %MulWith.WithSelf.Op.type: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%U.as_type.loc145_36.1, %MulWith.facet) [symbolic = %MulWith.WithSelf.Op.type (constants.%MulWith.WithSelf.Op.type.ea9)] -// CHECK:STDOUT: %.loc148_5.4: type = fn_type_with_self_type %MulWith.WithSelf.Op.type, %MulWith.facet [symbolic = %.loc148_5.4 (constants.%.efc)] -// CHECK:STDOUT: %impl.elem1.loc148_5.2: @MulWith.loc146.%.loc148_5.4 (%.efc) = impl_witness_access %MulWith.lookup_impl_witness.loc148, element1 [symbolic = %impl.elem1.loc148_5.2 (constants.%impl.elem1.002)] -// CHECK:STDOUT: %specific_impl_fn.loc148_5.3: = specific_impl_function %impl.elem1.loc148_5.2, @MulWith.WithSelf.Op(%U.as_type.loc145_36.1, %MulWith.facet) [symbolic = %specific_impl_fn.loc148_5.3 (constants.%specific_impl_fn.168)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result.loc143_9.1) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.12b49e.2)] -// CHECK:STDOUT: %.loc148_5.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Result.loc143_9.1 [symbolic = %.loc148_5.5 (constants.%.9c3)] +// CHECK:STDOUT: %require_complete.loc148: = require_complete_type %MulWith.type.loc145_36.1 [symbolic = %require_complete.loc148 (constants.%require_complete.01c)] +// CHECK:STDOUT: %assoc1: @MulWith.loc146.%MulWith.assoc_type (%MulWith.assoc_type.fff) = assoc_entity element1, imports.%Core.import_ref.d23 [symbolic = %assoc1 (constants.%assoc1.bde)] +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148: = lookup_impl_witness %T.loc145_4.1, @MulWith.1, @MulWith.1(%U.as_type.loc145_36.1) [symbolic = %MulWith.lookup_impl_witness.loc148 (constants.%MulWith.lookup_impl_witness.e5c)] +// CHECK:STDOUT: %MulWith.facet: @MulWith.loc146.%MulWith.type.loc145_36.1 (%MulWith.type.195) = facet_value %T.as_type.loc146_29.1, (%MulWith.lookup_impl_witness.loc148) [symbolic = %MulWith.facet (constants.%MulWith.facet.eb2)] +// CHECK:STDOUT: %MulWith.WithSelf.Op.type: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%U.as_type.loc145_36.1, %MulWith.facet) [symbolic = %MulWith.WithSelf.Op.type (constants.%MulWith.WithSelf.Op.type.288)] +// CHECK:STDOUT: %.loc148_5.4: type = fn_type_with_self_type %MulWith.WithSelf.Op.type, %MulWith.facet [symbolic = %.loc148_5.4 (constants.%.a85)] +// CHECK:STDOUT: %impl.elem1.loc148_5.2: @MulWith.loc146.%.loc148_5.4 (%.a85) = impl_witness_access %MulWith.lookup_impl_witness.loc148, element1 [symbolic = %impl.elem1.loc148_5.2 (constants.%impl.elem1.447)] +// CHECK:STDOUT: %specific_impl_fn.loc148_5.3: = specific_impl_function %impl.elem1.loc148_5.2, @MulWith.WithSelf.Op(%U.as_type.loc145_36.1, %MulWith.facet) [symbolic = %specific_impl_fn.loc148_5.3 (constants.%specific_impl_fn.32c)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result.loc143_9.1) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.6304ea.2)] +// CHECK:STDOUT: %.loc148_5.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Result.loc143_9.1 [symbolic = %.loc148_5.5 (constants.%.543)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Result.loc143_9.1, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc148_5.2: @MulWith.loc146.%.loc148_5.5 (%.9c3) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc148_5.2 (constants.%impl.elem0.8bd)] -// CHECK:STDOUT: %specific_impl_fn.loc148_5.4: = specific_impl_function %impl.elem0.loc148_5.2, @Destroy.WithSelf.Op(%Result.loc143_9.1) [symbolic = %specific_impl_fn.loc148_5.4 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %impl.elem0.loc148_5.2: @MulWith.loc146.%.loc148_5.5 (%.543) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc148_5.2 (constants.%impl.elem0.531)] +// CHECK:STDOUT: %specific_impl_fn.loc148_5.4: = specific_impl_function %impl.elem0.loc148_5.2, @Destroy.WithSelf.Op(%Result.loc143_9.1) [symbolic = %specific_impl_fn.loc148_5.4 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%result.param: @MulWith.loc146.%Result.as_type.loc145_54.1 (%Result.as_type), %x.param: @MulWith.loc146.%T.as_type.loc146_29.1 (%T.as_type.380), %y.param: @MulWith.loc146.%U.as_type.loc145_36.1 (%U.as_type.0fd)) { +// CHECK:STDOUT: fn(%result.param: @MulWith.loc146.%Result.as_type.loc145_54.1 (%Result.as_type), %x.param: @MulWith.loc146.%T.as_type.loc146_29.1 (%T.as_type.198), %y.param: @MulWith.loc146.%U.as_type.loc145_36.1 (%U.as_type.f7f)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: @MulWith.loc146.%T.as_type.loc146_29.1 (%T.as_type.380) = name_ref x, %x -// CHECK:STDOUT: %y.ref: @MulWith.loc146.%U.as_type.loc145_36.1 (%U.as_type.0fd) = name_ref y, %y -// CHECK:STDOUT: %MulWith.type.loc148: type = facet_type <@MulWith.1, @MulWith.1(constants.%U.as_type.0fd)> [symbolic = %MulWith.type.loc145_36.1 (constants.%MulWith.type.b5e)] -// CHECK:STDOUT: %.loc148_5.1: @MulWith.loc146.%MulWith.assoc_type (%MulWith.assoc_type.4f3) = specific_constant imports.%Core.import_ref.1d4, @MulWith.WithSelf(constants.%U.as_type.0fd, constants.%Self.019) [symbolic = %assoc1 (constants.%assoc1.4a5)] -// CHECK:STDOUT: %Op.ref: @MulWith.loc146.%MulWith.assoc_type (%MulWith.assoc_type.4f3) = name_ref Op, %.loc148_5.1 [symbolic = %assoc1 (constants.%assoc1.4a5)] -// CHECK:STDOUT: %impl.elem1.loc148_5.1: @MulWith.loc146.%.loc148_5.4 (%.efc) = impl_witness_access constants.%MulWith.lookup_impl_witness.69d, element1 [symbolic = %impl.elem1.loc148_5.2 (constants.%impl.elem1.002)] +// CHECK:STDOUT: %x.ref: @MulWith.loc146.%T.as_type.loc146_29.1 (%T.as_type.198) = name_ref x, %x +// CHECK:STDOUT: %y.ref: @MulWith.loc146.%U.as_type.loc145_36.1 (%U.as_type.f7f) = name_ref y, %y +// CHECK:STDOUT: %MulWith.type.loc148: type = facet_type <@MulWith.1, @MulWith.1(constants.%U.as_type.f7f)> [symbolic = %MulWith.type.loc145_36.1 (constants.%MulWith.type.195)] +// CHECK:STDOUT: %.loc148_5.1: @MulWith.loc146.%MulWith.assoc_type (%MulWith.assoc_type.fff) = specific_constant imports.%Core.import_ref.537, @MulWith.WithSelf(constants.%U.as_type.f7f, constants.%Self.0e2) [symbolic = %assoc1 (constants.%assoc1.bde)] +// CHECK:STDOUT: %Op.ref: @MulWith.loc146.%MulWith.assoc_type (%MulWith.assoc_type.fff) = name_ref Op, %.loc148_5.1 [symbolic = %assoc1 (constants.%assoc1.bde)] +// CHECK:STDOUT: %impl.elem1.loc148_5.1: @MulWith.loc146.%.loc148_5.4 (%.a85) = impl_witness_access constants.%MulWith.lookup_impl_witness.e5c, element1 [symbolic = %impl.elem1.loc148_5.2 (constants.%impl.elem1.447)] // CHECK:STDOUT: %bound_method.loc148_5.1: = bound_method %x.ref, %impl.elem1.loc148_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc148_5.1: = specific_impl_function %impl.elem1.loc148_5.1, @MulWith.WithSelf.Op(constants.%U.as_type.0fd, constants.%MulWith.facet.181) [symbolic = %specific_impl_fn.loc148_5.3 (constants.%specific_impl_fn.168)] +// CHECK:STDOUT: %specific_impl_fn.loc148_5.1: = specific_impl_function %impl.elem1.loc148_5.1, @MulWith.WithSelf.Op(constants.%U.as_type.f7f, constants.%MulWith.facet.eb2) [symbolic = %specific_impl_fn.loc148_5.3 (constants.%specific_impl_fn.32c)] // CHECK:STDOUT: %bound_method.loc148_5.2: = bound_method %x.ref, %specific_impl_fn.loc148_5.1 // CHECK:STDOUT: %.loc148_5.2: ref @MulWith.loc146.%Result.as_type.loc145_54.1 (%Result.as_type) = temporary_storage // CHECK:STDOUT: %MulWith.WithSelf.Op.call: init @MulWith.loc146.%Result.as_type.loc145_54.1 (%Result.as_type) to %.loc148_5.2 = call %bound_method.loc148_5.2(%x.ref, %y.ref) // CHECK:STDOUT: %.loc148_5.3: ref @MulWith.loc146.%Result.as_type.loc145_54.1 (%Result.as_type) = temporary %.loc148_5.2, %MulWith.WithSelf.Op.call -// CHECK:STDOUT: %impl.elem0.loc148_5.1: @MulWith.loc146.%.loc148_5.5 (%.9c3) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc148_5.2 (constants.%impl.elem0.8bd)] +// CHECK:STDOUT: %impl.elem0.loc148_5.1: @MulWith.loc146.%.loc148_5.5 (%.543) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc148_5.2 (constants.%impl.elem0.531)] // CHECK:STDOUT: %bound_method.loc148_5.3: = bound_method %.loc148_5.3, %impl.elem0.loc148_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc148_5.2: = specific_impl_function %impl.elem0.loc148_5.1, @Destroy.WithSelf.Op(constants.%Result) [symbolic = %specific_impl_fn.loc148_5.4 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %specific_impl_fn.loc148_5.2: = specific_impl_function %impl.elem0.loc148_5.1, @Destroy.WithSelf.Op(constants.%Result) [symbolic = %specific_impl_fn.loc148_5.4 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: %bound_method.loc148_5.4: = bound_method %.loc148_5.3, %specific_impl_fn.loc148_5.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc148_5.4(%.loc148_5.3) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @DivWith.loc157(%Result.loc154_9.2: %Destroy.type, %U.loc155_4.2: %Destroy.type, %T.loc156_4.2: @DivWith.loc157.%facet_type.loc156_38 (%facet_type.c18)) { +// CHECK:STDOUT: generic fn @DivWith.loc157(%Result.loc154_9.2: %Destroy.type, %U.loc155_4.2: %Destroy.type, %T.loc156_4.2: @DivWith.loc157.%facet_type.loc156_38 (%facet_type.5cc)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc159: = require_complete_type %DivWith.type.loc156_36.1 [symbolic = %require_complete.loc159 (constants.%require_complete.df0)] -// CHECK:STDOUT: %assoc1: @DivWith.loc157.%DivWith.assoc_type (%DivWith.assoc_type.cd1) = assoc_entity element1, imports.%Core.import_ref.44d [symbolic = %assoc1 (constants.%assoc1.5f3)] -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159: = lookup_impl_witness %T.loc156_4.1, @DivWith.1, @DivWith.1(%U.as_type.loc156_36.1) [symbolic = %DivWith.lookup_impl_witness.loc159 (constants.%DivWith.lookup_impl_witness.62a)] -// CHECK:STDOUT: %DivWith.facet: @DivWith.loc157.%DivWith.type.loc156_36.1 (%DivWith.type.c0c) = facet_value %T.as_type.loc157_29.1, (%DivWith.lookup_impl_witness.loc159) [symbolic = %DivWith.facet (constants.%DivWith.facet.08b)] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%U.as_type.loc156_36.1, %DivWith.facet) [symbolic = %DivWith.WithSelf.Op.type (constants.%DivWith.WithSelf.Op.type.ed1)] -// CHECK:STDOUT: %.loc159_5.4: type = fn_type_with_self_type %DivWith.WithSelf.Op.type, %DivWith.facet [symbolic = %.loc159_5.4 (constants.%.612)] -// CHECK:STDOUT: %impl.elem1.loc159_5.2: @DivWith.loc157.%.loc159_5.4 (%.612) = impl_witness_access %DivWith.lookup_impl_witness.loc159, element1 [symbolic = %impl.elem1.loc159_5.2 (constants.%impl.elem1.536)] -// CHECK:STDOUT: %specific_impl_fn.loc159_5.3: = specific_impl_function %impl.elem1.loc159_5.2, @DivWith.WithSelf.Op(%U.as_type.loc156_36.1, %DivWith.facet) [symbolic = %specific_impl_fn.loc159_5.3 (constants.%specific_impl_fn.706)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result.loc154_9.1) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.12b49e.2)] -// CHECK:STDOUT: %.loc159_5.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Result.loc154_9.1 [symbolic = %.loc159_5.5 (constants.%.9c3)] +// CHECK:STDOUT: %require_complete.loc159: = require_complete_type %DivWith.type.loc156_36.1 [symbolic = %require_complete.loc159 (constants.%require_complete.be3)] +// CHECK:STDOUT: %assoc1: @DivWith.loc157.%DivWith.assoc_type (%DivWith.assoc_type.e27) = assoc_entity element1, imports.%Core.import_ref.e712 [symbolic = %assoc1 (constants.%assoc1.7f9)] +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159: = lookup_impl_witness %T.loc156_4.1, @DivWith.1, @DivWith.1(%U.as_type.loc156_36.1) [symbolic = %DivWith.lookup_impl_witness.loc159 (constants.%DivWith.lookup_impl_witness.2e1)] +// CHECK:STDOUT: %DivWith.facet: @DivWith.loc157.%DivWith.type.loc156_36.1 (%DivWith.type.63d) = facet_value %T.as_type.loc157_29.1, (%DivWith.lookup_impl_witness.loc159) [symbolic = %DivWith.facet (constants.%DivWith.facet.b8f)] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%U.as_type.loc156_36.1, %DivWith.facet) [symbolic = %DivWith.WithSelf.Op.type (constants.%DivWith.WithSelf.Op.type.be6)] +// CHECK:STDOUT: %.loc159_5.4: type = fn_type_with_self_type %DivWith.WithSelf.Op.type, %DivWith.facet [symbolic = %.loc159_5.4 (constants.%.42b)] +// CHECK:STDOUT: %impl.elem1.loc159_5.2: @DivWith.loc157.%.loc159_5.4 (%.42b) = impl_witness_access %DivWith.lookup_impl_witness.loc159, element1 [symbolic = %impl.elem1.loc159_5.2 (constants.%impl.elem1.6f6)] +// CHECK:STDOUT: %specific_impl_fn.loc159_5.3: = specific_impl_function %impl.elem1.loc159_5.2, @DivWith.WithSelf.Op(%U.as_type.loc156_36.1, %DivWith.facet) [symbolic = %specific_impl_fn.loc159_5.3 (constants.%specific_impl_fn.263)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result.loc154_9.1) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.6304ea.2)] +// CHECK:STDOUT: %.loc159_5.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Result.loc154_9.1 [symbolic = %.loc159_5.5 (constants.%.543)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Result.loc154_9.1, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc159_5.2: @DivWith.loc157.%.loc159_5.5 (%.9c3) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc159_5.2 (constants.%impl.elem0.8bd)] -// CHECK:STDOUT: %specific_impl_fn.loc159_5.4: = specific_impl_function %impl.elem0.loc159_5.2, @Destroy.WithSelf.Op(%Result.loc154_9.1) [symbolic = %specific_impl_fn.loc159_5.4 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %impl.elem0.loc159_5.2: @DivWith.loc157.%.loc159_5.5 (%.543) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc159_5.2 (constants.%impl.elem0.531)] +// CHECK:STDOUT: %specific_impl_fn.loc159_5.4: = specific_impl_function %impl.elem0.loc159_5.2, @Destroy.WithSelf.Op(%Result.loc154_9.1) [symbolic = %specific_impl_fn.loc159_5.4 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%result.param: @DivWith.loc157.%Result.as_type.loc156_54.1 (%Result.as_type), %x.param: @DivWith.loc157.%T.as_type.loc157_29.1 (%T.as_type.7d7), %y.param: @DivWith.loc157.%U.as_type.loc156_36.1 (%U.as_type.0fd)) { +// CHECK:STDOUT: fn(%result.param: @DivWith.loc157.%Result.as_type.loc156_54.1 (%Result.as_type), %x.param: @DivWith.loc157.%T.as_type.loc157_29.1 (%T.as_type.e49), %y.param: @DivWith.loc157.%U.as_type.loc156_36.1 (%U.as_type.f7f)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: @DivWith.loc157.%T.as_type.loc157_29.1 (%T.as_type.7d7) = name_ref x, %x -// CHECK:STDOUT: %y.ref: @DivWith.loc157.%U.as_type.loc156_36.1 (%U.as_type.0fd) = name_ref y, %y -// CHECK:STDOUT: %DivWith.type.loc159: type = facet_type <@DivWith.1, @DivWith.1(constants.%U.as_type.0fd)> [symbolic = %DivWith.type.loc156_36.1 (constants.%DivWith.type.c0c)] -// CHECK:STDOUT: %.loc159_5.1: @DivWith.loc157.%DivWith.assoc_type (%DivWith.assoc_type.cd1) = specific_constant imports.%Core.import_ref.d16, @DivWith.WithSelf(constants.%U.as_type.0fd, constants.%Self.555) [symbolic = %assoc1 (constants.%assoc1.5f3)] -// CHECK:STDOUT: %Op.ref: @DivWith.loc157.%DivWith.assoc_type (%DivWith.assoc_type.cd1) = name_ref Op, %.loc159_5.1 [symbolic = %assoc1 (constants.%assoc1.5f3)] -// CHECK:STDOUT: %impl.elem1.loc159_5.1: @DivWith.loc157.%.loc159_5.4 (%.612) = impl_witness_access constants.%DivWith.lookup_impl_witness.62a, element1 [symbolic = %impl.elem1.loc159_5.2 (constants.%impl.elem1.536)] +// CHECK:STDOUT: %x.ref: @DivWith.loc157.%T.as_type.loc157_29.1 (%T.as_type.e49) = name_ref x, %x +// CHECK:STDOUT: %y.ref: @DivWith.loc157.%U.as_type.loc156_36.1 (%U.as_type.f7f) = name_ref y, %y +// CHECK:STDOUT: %DivWith.type.loc159: type = facet_type <@DivWith.1, @DivWith.1(constants.%U.as_type.f7f)> [symbolic = %DivWith.type.loc156_36.1 (constants.%DivWith.type.63d)] +// CHECK:STDOUT: %.loc159_5.1: @DivWith.loc157.%DivWith.assoc_type (%DivWith.assoc_type.e27) = specific_constant imports.%Core.import_ref.973, @DivWith.WithSelf(constants.%U.as_type.f7f, constants.%Self.7db) [symbolic = %assoc1 (constants.%assoc1.7f9)] +// CHECK:STDOUT: %Op.ref: @DivWith.loc157.%DivWith.assoc_type (%DivWith.assoc_type.e27) = name_ref Op, %.loc159_5.1 [symbolic = %assoc1 (constants.%assoc1.7f9)] +// CHECK:STDOUT: %impl.elem1.loc159_5.1: @DivWith.loc157.%.loc159_5.4 (%.42b) = impl_witness_access constants.%DivWith.lookup_impl_witness.2e1, element1 [symbolic = %impl.elem1.loc159_5.2 (constants.%impl.elem1.6f6)] // CHECK:STDOUT: %bound_method.loc159_5.1: = bound_method %x.ref, %impl.elem1.loc159_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc159_5.1: = specific_impl_function %impl.elem1.loc159_5.1, @DivWith.WithSelf.Op(constants.%U.as_type.0fd, constants.%DivWith.facet.08b) [symbolic = %specific_impl_fn.loc159_5.3 (constants.%specific_impl_fn.706)] +// CHECK:STDOUT: %specific_impl_fn.loc159_5.1: = specific_impl_function %impl.elem1.loc159_5.1, @DivWith.WithSelf.Op(constants.%U.as_type.f7f, constants.%DivWith.facet.b8f) [symbolic = %specific_impl_fn.loc159_5.3 (constants.%specific_impl_fn.263)] // CHECK:STDOUT: %bound_method.loc159_5.2: = bound_method %x.ref, %specific_impl_fn.loc159_5.1 // CHECK:STDOUT: %.loc159_5.2: ref @DivWith.loc157.%Result.as_type.loc156_54.1 (%Result.as_type) = temporary_storage // CHECK:STDOUT: %DivWith.WithSelf.Op.call: init @DivWith.loc157.%Result.as_type.loc156_54.1 (%Result.as_type) to %.loc159_5.2 = call %bound_method.loc159_5.2(%x.ref, %y.ref) // CHECK:STDOUT: %.loc159_5.3: ref @DivWith.loc157.%Result.as_type.loc156_54.1 (%Result.as_type) = temporary %.loc159_5.2, %DivWith.WithSelf.Op.call -// CHECK:STDOUT: %impl.elem0.loc159_5.1: @DivWith.loc157.%.loc159_5.5 (%.9c3) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc159_5.2 (constants.%impl.elem0.8bd)] +// CHECK:STDOUT: %impl.elem0.loc159_5.1: @DivWith.loc157.%.loc159_5.5 (%.543) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc159_5.2 (constants.%impl.elem0.531)] // CHECK:STDOUT: %bound_method.loc159_5.3: = bound_method %.loc159_5.3, %impl.elem0.loc159_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc159_5.2: = specific_impl_function %impl.elem0.loc159_5.1, @Destroy.WithSelf.Op(constants.%Result) [symbolic = %specific_impl_fn.loc159_5.4 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %specific_impl_fn.loc159_5.2: = specific_impl_function %impl.elem0.loc159_5.1, @Destroy.WithSelf.Op(constants.%Result) [symbolic = %specific_impl_fn.loc159_5.4 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: %bound_method.loc159_5.4: = bound_method %.loc159_5.3, %specific_impl_fn.loc159_5.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc159_5.4(%.loc159_5.3) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @ModWith.loc168(%Result.loc165_9.2: %Destroy.type, %U.loc166_4.2: %Destroy.type, %T.loc167_4.2: @ModWith.loc168.%facet_type.loc167_38 (%facet_type.ae7)) { +// CHECK:STDOUT: generic fn @ModWith.loc168(%Result.loc165_9.2: %Destroy.type, %U.loc166_4.2: %Destroy.type, %T.loc167_4.2: @ModWith.loc168.%facet_type.loc167_38 (%facet_type.c32)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc170: = require_complete_type %ModWith.type.loc167_36.1 [symbolic = %require_complete.loc170 (constants.%require_complete.ed2)] -// CHECK:STDOUT: %assoc1: @ModWith.loc168.%ModWith.assoc_type (%ModWith.assoc_type.e42) = assoc_entity element1, imports.%Core.import_ref.556 [symbolic = %assoc1 (constants.%assoc1.516)] -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170: = lookup_impl_witness %T.loc167_4.1, @ModWith.1, @ModWith.1(%U.as_type.loc167_36.1) [symbolic = %ModWith.lookup_impl_witness.loc170 (constants.%ModWith.lookup_impl_witness.e49)] -// CHECK:STDOUT: %ModWith.facet: @ModWith.loc168.%ModWith.type.loc167_36.1 (%ModWith.type.fba) = facet_value %T.as_type.loc168_29.1, (%ModWith.lookup_impl_witness.loc170) [symbolic = %ModWith.facet (constants.%ModWith.facet.6df)] -// CHECK:STDOUT: %ModWith.WithSelf.Op.type: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%U.as_type.loc167_36.1, %ModWith.facet) [symbolic = %ModWith.WithSelf.Op.type (constants.%ModWith.WithSelf.Op.type.a89)] -// CHECK:STDOUT: %.loc170_5.4: type = fn_type_with_self_type %ModWith.WithSelf.Op.type, %ModWith.facet [symbolic = %.loc170_5.4 (constants.%.977)] -// CHECK:STDOUT: %impl.elem1.loc170_5.2: @ModWith.loc168.%.loc170_5.4 (%.977) = impl_witness_access %ModWith.lookup_impl_witness.loc170, element1 [symbolic = %impl.elem1.loc170_5.2 (constants.%impl.elem1.34f)] -// CHECK:STDOUT: %specific_impl_fn.loc170_5.3: = specific_impl_function %impl.elem1.loc170_5.2, @ModWith.WithSelf.Op(%U.as_type.loc167_36.1, %ModWith.facet) [symbolic = %specific_impl_fn.loc170_5.3 (constants.%specific_impl_fn.6e5)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result.loc165_9.1) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.12b49e.2)] -// CHECK:STDOUT: %.loc170_5.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Result.loc165_9.1 [symbolic = %.loc170_5.5 (constants.%.9c3)] +// CHECK:STDOUT: %require_complete.loc170: = require_complete_type %ModWith.type.loc167_36.1 [symbolic = %require_complete.loc170 (constants.%require_complete.a64)] +// CHECK:STDOUT: %assoc1: @ModWith.loc168.%ModWith.assoc_type (%ModWith.assoc_type.3d0) = assoc_entity element1, imports.%Core.import_ref.104 [symbolic = %assoc1 (constants.%assoc1.3aa)] +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170: = lookup_impl_witness %T.loc167_4.1, @ModWith.1, @ModWith.1(%U.as_type.loc167_36.1) [symbolic = %ModWith.lookup_impl_witness.loc170 (constants.%ModWith.lookup_impl_witness.35d)] +// CHECK:STDOUT: %ModWith.facet: @ModWith.loc168.%ModWith.type.loc167_36.1 (%ModWith.type.125) = facet_value %T.as_type.loc168_29.1, (%ModWith.lookup_impl_witness.loc170) [symbolic = %ModWith.facet (constants.%ModWith.facet.132)] +// CHECK:STDOUT: %ModWith.WithSelf.Op.type: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%U.as_type.loc167_36.1, %ModWith.facet) [symbolic = %ModWith.WithSelf.Op.type (constants.%ModWith.WithSelf.Op.type.942)] +// CHECK:STDOUT: %.loc170_5.4: type = fn_type_with_self_type %ModWith.WithSelf.Op.type, %ModWith.facet [symbolic = %.loc170_5.4 (constants.%.1a3)] +// CHECK:STDOUT: %impl.elem1.loc170_5.2: @ModWith.loc168.%.loc170_5.4 (%.1a3) = impl_witness_access %ModWith.lookup_impl_witness.loc170, element1 [symbolic = %impl.elem1.loc170_5.2 (constants.%impl.elem1.4de)] +// CHECK:STDOUT: %specific_impl_fn.loc170_5.3: = specific_impl_function %impl.elem1.loc170_5.2, @ModWith.WithSelf.Op(%U.as_type.loc167_36.1, %ModWith.facet) [symbolic = %specific_impl_fn.loc170_5.3 (constants.%specific_impl_fn.5d3)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result.loc165_9.1) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.6304ea.2)] +// CHECK:STDOUT: %.loc170_5.5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Result.loc165_9.1 [symbolic = %.loc170_5.5 (constants.%.543)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Result.loc165_9.1, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc170_5.2: @ModWith.loc168.%.loc170_5.5 (%.9c3) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc170_5.2 (constants.%impl.elem0.8bd)] -// CHECK:STDOUT: %specific_impl_fn.loc170_5.4: = specific_impl_function %impl.elem0.loc170_5.2, @Destroy.WithSelf.Op(%Result.loc165_9.1) [symbolic = %specific_impl_fn.loc170_5.4 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %impl.elem0.loc170_5.2: @ModWith.loc168.%.loc170_5.5 (%.543) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc170_5.2 (constants.%impl.elem0.531)] +// CHECK:STDOUT: %specific_impl_fn.loc170_5.4: = specific_impl_function %impl.elem0.loc170_5.2, @Destroy.WithSelf.Op(%Result.loc165_9.1) [symbolic = %specific_impl_fn.loc170_5.4 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%result.param: @ModWith.loc168.%Result.as_type.loc167_54.1 (%Result.as_type), %x.param: @ModWith.loc168.%T.as_type.loc168_29.1 (%T.as_type.c82), %y.param: @ModWith.loc168.%U.as_type.loc167_36.1 (%U.as_type.0fd)) { +// CHECK:STDOUT: fn(%result.param: @ModWith.loc168.%Result.as_type.loc167_54.1 (%Result.as_type), %x.param: @ModWith.loc168.%T.as_type.loc168_29.1 (%T.as_type.105), %y.param: @ModWith.loc168.%U.as_type.loc167_36.1 (%U.as_type.f7f)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: @ModWith.loc168.%T.as_type.loc168_29.1 (%T.as_type.c82) = name_ref x, %x -// CHECK:STDOUT: %y.ref: @ModWith.loc168.%U.as_type.loc167_36.1 (%U.as_type.0fd) = name_ref y, %y -// CHECK:STDOUT: %ModWith.type.loc170: type = facet_type <@ModWith.1, @ModWith.1(constants.%U.as_type.0fd)> [symbolic = %ModWith.type.loc167_36.1 (constants.%ModWith.type.fba)] -// CHECK:STDOUT: %.loc170_5.1: @ModWith.loc168.%ModWith.assoc_type (%ModWith.assoc_type.e42) = specific_constant imports.%Core.import_ref.e51, @ModWith.WithSelf(constants.%U.as_type.0fd, constants.%Self.b83) [symbolic = %assoc1 (constants.%assoc1.516)] -// CHECK:STDOUT: %Op.ref: @ModWith.loc168.%ModWith.assoc_type (%ModWith.assoc_type.e42) = name_ref Op, %.loc170_5.1 [symbolic = %assoc1 (constants.%assoc1.516)] -// CHECK:STDOUT: %impl.elem1.loc170_5.1: @ModWith.loc168.%.loc170_5.4 (%.977) = impl_witness_access constants.%ModWith.lookup_impl_witness.e49, element1 [symbolic = %impl.elem1.loc170_5.2 (constants.%impl.elem1.34f)] +// CHECK:STDOUT: %x.ref: @ModWith.loc168.%T.as_type.loc168_29.1 (%T.as_type.105) = name_ref x, %x +// CHECK:STDOUT: %y.ref: @ModWith.loc168.%U.as_type.loc167_36.1 (%U.as_type.f7f) = name_ref y, %y +// CHECK:STDOUT: %ModWith.type.loc170: type = facet_type <@ModWith.1, @ModWith.1(constants.%U.as_type.f7f)> [symbolic = %ModWith.type.loc167_36.1 (constants.%ModWith.type.125)] +// CHECK:STDOUT: %.loc170_5.1: @ModWith.loc168.%ModWith.assoc_type (%ModWith.assoc_type.3d0) = specific_constant imports.%Core.import_ref.fc2, @ModWith.WithSelf(constants.%U.as_type.f7f, constants.%Self.310) [symbolic = %assoc1 (constants.%assoc1.3aa)] +// CHECK:STDOUT: %Op.ref: @ModWith.loc168.%ModWith.assoc_type (%ModWith.assoc_type.3d0) = name_ref Op, %.loc170_5.1 [symbolic = %assoc1 (constants.%assoc1.3aa)] +// CHECK:STDOUT: %impl.elem1.loc170_5.1: @ModWith.loc168.%.loc170_5.4 (%.1a3) = impl_witness_access constants.%ModWith.lookup_impl_witness.35d, element1 [symbolic = %impl.elem1.loc170_5.2 (constants.%impl.elem1.4de)] // CHECK:STDOUT: %bound_method.loc170_5.1: = bound_method %x.ref, %impl.elem1.loc170_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc170_5.1: = specific_impl_function %impl.elem1.loc170_5.1, @ModWith.WithSelf.Op(constants.%U.as_type.0fd, constants.%ModWith.facet.6df) [symbolic = %specific_impl_fn.loc170_5.3 (constants.%specific_impl_fn.6e5)] +// CHECK:STDOUT: %specific_impl_fn.loc170_5.1: = specific_impl_function %impl.elem1.loc170_5.1, @ModWith.WithSelf.Op(constants.%U.as_type.f7f, constants.%ModWith.facet.132) [symbolic = %specific_impl_fn.loc170_5.3 (constants.%specific_impl_fn.5d3)] // CHECK:STDOUT: %bound_method.loc170_5.2: = bound_method %x.ref, %specific_impl_fn.loc170_5.1 // CHECK:STDOUT: %.loc170_5.2: ref @ModWith.loc168.%Result.as_type.loc167_54.1 (%Result.as_type) = temporary_storage // CHECK:STDOUT: %ModWith.WithSelf.Op.call: init @ModWith.loc168.%Result.as_type.loc167_54.1 (%Result.as_type) to %.loc170_5.2 = call %bound_method.loc170_5.2(%x.ref, %y.ref) // CHECK:STDOUT: %.loc170_5.3: ref @ModWith.loc168.%Result.as_type.loc167_54.1 (%Result.as_type) = temporary %.loc170_5.2, %ModWith.WithSelf.Op.call -// CHECK:STDOUT: %impl.elem0.loc170_5.1: @ModWith.loc168.%.loc170_5.5 (%.9c3) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc170_5.2 (constants.%impl.elem0.8bd)] +// CHECK:STDOUT: %impl.elem0.loc170_5.1: @ModWith.loc168.%.loc170_5.5 (%.543) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc170_5.2 (constants.%impl.elem0.531)] // CHECK:STDOUT: %bound_method.loc170_5.3: = bound_method %.loc170_5.3, %impl.elem0.loc170_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc170_5.2: = specific_impl_function %impl.elem0.loc170_5.1, @Destroy.WithSelf.Op(constants.%Result) [symbolic = %specific_impl_fn.loc170_5.4 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %specific_impl_fn.loc170_5.2: = specific_impl_function %impl.elem0.loc170_5.1, @Destroy.WithSelf.Op(constants.%Result) [symbolic = %specific_impl_fn.loc170_5.4 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: %bound_method.loc170_5.4: = bound_method %.loc170_5.3, %specific_impl_fn.loc170_5.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc170_5.4(%.loc170_5.3) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @AddAssignWith.loc225(%U.loc225_19.2: type, %T.loc225_29.2: @AddAssignWith.loc225.%AddAssignWith.type.loc225_52.1 (%AddAssignWith.type.dc8ed5.2)) { +// CHECK:STDOUT: generic fn @AddAssignWith.loc225(%U.loc225_19.2: type, %T.loc225_29.2: @AddAssignWith.loc225.%AddAssignWith.type.loc225_52.1 (%AddAssignWith.type.f7e94b.2)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc227: = require_complete_type %AddAssignWith.type.loc225_52.1 [symbolic = %require_complete.loc227 (constants.%require_complete.44c)] -// CHECK:STDOUT: %AddAssignWith.assoc_type: type = assoc_entity_type @AddAssignWith.1, @AddAssignWith.1(%U.loc225_19.1) [symbolic = %AddAssignWith.assoc_type (constants.%AddAssignWith.assoc_type.a25160.2)] -// CHECK:STDOUT: %assoc0: @AddAssignWith.loc225.%AddAssignWith.assoc_type (%AddAssignWith.assoc_type.a25160.2) = assoc_entity element0, imports.%Core.import_ref.4eb [symbolic = %assoc0 (constants.%assoc0.9fb771.2)] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%U.loc225_19.1, %T.loc225_29.1) [symbolic = %AddAssignWith.WithSelf.Op.type (constants.%AddAssignWith.WithSelf.Op.type.8b23d4.3)] -// CHECK:STDOUT: %.loc227_5.2: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type, %T.loc225_29.1 [symbolic = %.loc227_5.2 (constants.%.ef8)] +// CHECK:STDOUT: %require_complete.loc227: = require_complete_type %AddAssignWith.type.loc225_52.1 [symbolic = %require_complete.loc227 (constants.%require_complete.e50)] +// CHECK:STDOUT: %AddAssignWith.assoc_type: type = assoc_entity_type @AddAssignWith.1, @AddAssignWith.1(%U.loc225_19.1) [symbolic = %AddAssignWith.assoc_type (constants.%AddAssignWith.assoc_type.d9654f.2)] +// CHECK:STDOUT: %assoc0: @AddAssignWith.loc225.%AddAssignWith.assoc_type (%AddAssignWith.assoc_type.d9654f.2) = assoc_entity element0, imports.%Core.import_ref.62c [symbolic = %assoc0 (constants.%assoc0.beca96.2)] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%U.loc225_19.1, %T.loc225_29.1) [symbolic = %AddAssignWith.WithSelf.Op.type (constants.%AddAssignWith.WithSelf.Op.type.86ac33.3)] +// CHECK:STDOUT: %.loc227_5.2: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type, %T.loc225_29.1 [symbolic = %.loc227_5.2 (constants.%.1da)] // CHECK:STDOUT: %AddAssignWith.lookup_impl_witness: = lookup_impl_witness %T.loc225_29.1, @AddAssignWith.1, @AddAssignWith.1(%U.loc225_19.1) [symbolic = %AddAssignWith.lookup_impl_witness (constants.%AddAssignWith.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc227_5.2: @AddAssignWith.loc225.%.loc227_5.2 (%.ef8) = impl_witness_access %AddAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc227_5.2 (constants.%impl.elem0.89f)] -// CHECK:STDOUT: %specific_impl_fn.loc227_5.2: = specific_impl_function %impl.elem0.loc227_5.2, @AddAssignWith.WithSelf.Op(%U.loc225_19.1, %T.loc225_29.1) [symbolic = %specific_impl_fn.loc227_5.2 (constants.%specific_impl_fn.7ee)] +// CHECK:STDOUT: %impl.elem0.loc227_5.2: @AddAssignWith.loc225.%.loc227_5.2 (%.1da) = impl_witness_access %AddAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc227_5.2 (constants.%impl.elem0.28f)] +// CHECK:STDOUT: %specific_impl_fn.loc227_5.2: = specific_impl_function %impl.elem0.loc227_5.2, @AddAssignWith.WithSelf.Op(%U.loc225_19.1, %T.loc225_29.1) [symbolic = %specific_impl_fn.loc227_5.2 (constants.%specific_impl_fn.c19)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: ref @AddAssignWith.loc225.%T.as_type.loc225_62.1 (%T.as_type.7d6), %y.param: @AddAssignWith.loc225.%U.loc225_19.1 (%U.67d)) { +// CHECK:STDOUT: fn(%x.param: ref @AddAssignWith.loc225.%T.as_type.loc225_62.1 (%T.as_type.82b), %y.param: @AddAssignWith.loc225.%U.loc225_19.1 (%U.67d)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: ref @AddAssignWith.loc225.%T.as_type.loc225_62.1 (%T.as_type.7d6) = name_ref x, %x +// CHECK:STDOUT: %x.ref: ref @AddAssignWith.loc225.%T.as_type.loc225_62.1 (%T.as_type.82b) = name_ref x, %x // CHECK:STDOUT: %y.ref: @AddAssignWith.loc225.%U.loc225_19.1 (%U.67d) = name_ref y, %y -// CHECK:STDOUT: %AddAssignWith.type.loc227: type = facet_type <@AddAssignWith.1, @AddAssignWith.1(constants.%U.67d)> [symbolic = %AddAssignWith.type.loc225_52.1 (constants.%AddAssignWith.type.dc8ed5.2)] -// CHECK:STDOUT: %.loc227_5.1: @AddAssignWith.loc225.%AddAssignWith.assoc_type (%AddAssignWith.assoc_type.a25160.2) = specific_constant imports.%Core.import_ref.eb9, @AddAssignWith.WithSelf(constants.%U.67d, constants.%Self.689a47.1) [symbolic = %assoc0 (constants.%assoc0.9fb771.2)] -// CHECK:STDOUT: %Op.ref: @AddAssignWith.loc225.%AddAssignWith.assoc_type (%AddAssignWith.assoc_type.a25160.2) = name_ref Op, %.loc227_5.1 [symbolic = %assoc0 (constants.%assoc0.9fb771.2)] -// CHECK:STDOUT: %impl.elem0.loc227_5.1: @AddAssignWith.loc225.%.loc227_5.2 (%.ef8) = impl_witness_access constants.%AddAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc227_5.2 (constants.%impl.elem0.89f)] +// CHECK:STDOUT: %AddAssignWith.type.loc227: type = facet_type <@AddAssignWith.1, @AddAssignWith.1(constants.%U.67d)> [symbolic = %AddAssignWith.type.loc225_52.1 (constants.%AddAssignWith.type.f7e94b.2)] +// CHECK:STDOUT: %.loc227_5.1: @AddAssignWith.loc225.%AddAssignWith.assoc_type (%AddAssignWith.assoc_type.d9654f.2) = specific_constant imports.%Core.import_ref.3bc, @AddAssignWith.WithSelf(constants.%U.67d, constants.%Self.c9ea37.1) [symbolic = %assoc0 (constants.%assoc0.beca96.2)] +// CHECK:STDOUT: %Op.ref: @AddAssignWith.loc225.%AddAssignWith.assoc_type (%AddAssignWith.assoc_type.d9654f.2) = name_ref Op, %.loc227_5.1 [symbolic = %assoc0 (constants.%assoc0.beca96.2)] +// CHECK:STDOUT: %impl.elem0.loc227_5.1: @AddAssignWith.loc225.%.loc227_5.2 (%.1da) = impl_witness_access constants.%AddAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc227_5.2 (constants.%impl.elem0.28f)] // CHECK:STDOUT: %bound_method.loc227_5.1: = bound_method %x.ref, %impl.elem0.loc227_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc227_5.1: = specific_impl_function %impl.elem0.loc227_5.1, @AddAssignWith.WithSelf.Op(constants.%U.67d, constants.%T.689) [symbolic = %specific_impl_fn.loc227_5.2 (constants.%specific_impl_fn.7ee)] +// CHECK:STDOUT: %specific_impl_fn.loc227_5.1: = specific_impl_function %impl.elem0.loc227_5.1, @AddAssignWith.WithSelf.Op(constants.%U.67d, constants.%T.c9e) [symbolic = %specific_impl_fn.loc227_5.2 (constants.%specific_impl_fn.c19)] // CHECK:STDOUT: %bound_method.loc227_5.2: = bound_method %x.ref, %specific_impl_fn.loc227_5.1 // CHECK:STDOUT: %AddAssignWith.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc227_5.2(%x.ref, %y.ref) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @SubAssignWith.loc231(%U.loc231_19.2: type, %T.loc231_29.2: @SubAssignWith.loc231.%SubAssignWith.type.loc231_52.1 (%SubAssignWith.type.a95ddd.2)) { +// CHECK:STDOUT: generic fn @SubAssignWith.loc231(%U.loc231_19.2: type, %T.loc231_29.2: @SubAssignWith.loc231.%SubAssignWith.type.loc231_52.1 (%SubAssignWith.type.591a5f.2)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc233: = require_complete_type %SubAssignWith.type.loc231_52.1 [symbolic = %require_complete.loc233 (constants.%require_complete.f21)] -// CHECK:STDOUT: %SubAssignWith.assoc_type: type = assoc_entity_type @SubAssignWith.1, @SubAssignWith.1(%U.loc231_19.1) [symbolic = %SubAssignWith.assoc_type (constants.%SubAssignWith.assoc_type.0440e4.2)] -// CHECK:STDOUT: %assoc0: @SubAssignWith.loc231.%SubAssignWith.assoc_type (%SubAssignWith.assoc_type.0440e4.2) = assoc_entity element0, imports.%Core.import_ref.a2d0 [symbolic = %assoc0 (constants.%assoc0.180b38.2)] -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%U.loc231_19.1, %T.loc231_29.1) [symbolic = %SubAssignWith.WithSelf.Op.type (constants.%SubAssignWith.WithSelf.Op.type.ac317f.3)] -// CHECK:STDOUT: %.loc233_5.2: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type, %T.loc231_29.1 [symbolic = %.loc233_5.2 (constants.%.6d8a)] +// CHECK:STDOUT: %require_complete.loc233: = require_complete_type %SubAssignWith.type.loc231_52.1 [symbolic = %require_complete.loc233 (constants.%require_complete.b28)] +// CHECK:STDOUT: %SubAssignWith.assoc_type: type = assoc_entity_type @SubAssignWith.1, @SubAssignWith.1(%U.loc231_19.1) [symbolic = %SubAssignWith.assoc_type (constants.%SubAssignWith.assoc_type.efddf3.2)] +// CHECK:STDOUT: %assoc0: @SubAssignWith.loc231.%SubAssignWith.assoc_type (%SubAssignWith.assoc_type.efddf3.2) = assoc_entity element0, imports.%Core.import_ref.e50 [symbolic = %assoc0 (constants.%assoc0.382bd4.2)] +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%U.loc231_19.1, %T.loc231_29.1) [symbolic = %SubAssignWith.WithSelf.Op.type (constants.%SubAssignWith.WithSelf.Op.type.839113.3)] +// CHECK:STDOUT: %.loc233_5.2: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type, %T.loc231_29.1 [symbolic = %.loc233_5.2 (constants.%.3df)] // CHECK:STDOUT: %SubAssignWith.lookup_impl_witness: = lookup_impl_witness %T.loc231_29.1, @SubAssignWith.1, @SubAssignWith.1(%U.loc231_19.1) [symbolic = %SubAssignWith.lookup_impl_witness (constants.%SubAssignWith.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc233_5.2: @SubAssignWith.loc231.%.loc233_5.2 (%.6d8a) = impl_witness_access %SubAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc233_5.2 (constants.%impl.elem0.ab4)] -// CHECK:STDOUT: %specific_impl_fn.loc233_5.2: = specific_impl_function %impl.elem0.loc233_5.2, @SubAssignWith.WithSelf.Op(%U.loc231_19.1, %T.loc231_29.1) [symbolic = %specific_impl_fn.loc233_5.2 (constants.%specific_impl_fn.579)] +// CHECK:STDOUT: %impl.elem0.loc233_5.2: @SubAssignWith.loc231.%.loc233_5.2 (%.3df) = impl_witness_access %SubAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc233_5.2 (constants.%impl.elem0.dac)] +// CHECK:STDOUT: %specific_impl_fn.loc233_5.2: = specific_impl_function %impl.elem0.loc233_5.2, @SubAssignWith.WithSelf.Op(%U.loc231_19.1, %T.loc231_29.1) [symbolic = %specific_impl_fn.loc233_5.2 (constants.%specific_impl_fn.2f2)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: ref @SubAssignWith.loc231.%T.as_type.loc231_62.1 (%T.as_type.a39), %y.param: @SubAssignWith.loc231.%U.loc231_19.1 (%U.67d)) { +// CHECK:STDOUT: fn(%x.param: ref @SubAssignWith.loc231.%T.as_type.loc231_62.1 (%T.as_type.765), %y.param: @SubAssignWith.loc231.%U.loc231_19.1 (%U.67d)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: ref @SubAssignWith.loc231.%T.as_type.loc231_62.1 (%T.as_type.a39) = name_ref x, %x +// CHECK:STDOUT: %x.ref: ref @SubAssignWith.loc231.%T.as_type.loc231_62.1 (%T.as_type.765) = name_ref x, %x // CHECK:STDOUT: %y.ref: @SubAssignWith.loc231.%U.loc231_19.1 (%U.67d) = name_ref y, %y -// CHECK:STDOUT: %SubAssignWith.type.loc233: type = facet_type <@SubAssignWith.1, @SubAssignWith.1(constants.%U.67d)> [symbolic = %SubAssignWith.type.loc231_52.1 (constants.%SubAssignWith.type.a95ddd.2)] -// CHECK:STDOUT: %.loc233_5.1: @SubAssignWith.loc231.%SubAssignWith.assoc_type (%SubAssignWith.assoc_type.0440e4.2) = specific_constant imports.%Core.import_ref.7fa, @SubAssignWith.WithSelf(constants.%U.67d, constants.%Self.af3029.1) [symbolic = %assoc0 (constants.%assoc0.180b38.2)] -// CHECK:STDOUT: %Op.ref: @SubAssignWith.loc231.%SubAssignWith.assoc_type (%SubAssignWith.assoc_type.0440e4.2) = name_ref Op, %.loc233_5.1 [symbolic = %assoc0 (constants.%assoc0.180b38.2)] -// CHECK:STDOUT: %impl.elem0.loc233_5.1: @SubAssignWith.loc231.%.loc233_5.2 (%.6d8a) = impl_witness_access constants.%SubAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc233_5.2 (constants.%impl.elem0.ab4)] +// CHECK:STDOUT: %SubAssignWith.type.loc233: type = facet_type <@SubAssignWith.1, @SubAssignWith.1(constants.%U.67d)> [symbolic = %SubAssignWith.type.loc231_52.1 (constants.%SubAssignWith.type.591a5f.2)] +// CHECK:STDOUT: %.loc233_5.1: @SubAssignWith.loc231.%SubAssignWith.assoc_type (%SubAssignWith.assoc_type.efddf3.2) = specific_constant imports.%Core.import_ref.639, @SubAssignWith.WithSelf(constants.%U.67d, constants.%Self.a96693.1) [symbolic = %assoc0 (constants.%assoc0.382bd4.2)] +// CHECK:STDOUT: %Op.ref: @SubAssignWith.loc231.%SubAssignWith.assoc_type (%SubAssignWith.assoc_type.efddf3.2) = name_ref Op, %.loc233_5.1 [symbolic = %assoc0 (constants.%assoc0.382bd4.2)] +// CHECK:STDOUT: %impl.elem0.loc233_5.1: @SubAssignWith.loc231.%.loc233_5.2 (%.3df) = impl_witness_access constants.%SubAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc233_5.2 (constants.%impl.elem0.dac)] // CHECK:STDOUT: %bound_method.loc233_5.1: = bound_method %x.ref, %impl.elem0.loc233_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc233_5.1: = specific_impl_function %impl.elem0.loc233_5.1, @SubAssignWith.WithSelf.Op(constants.%U.67d, constants.%T.af3) [symbolic = %specific_impl_fn.loc233_5.2 (constants.%specific_impl_fn.579)] +// CHECK:STDOUT: %specific_impl_fn.loc233_5.1: = specific_impl_function %impl.elem0.loc233_5.1, @SubAssignWith.WithSelf.Op(constants.%U.67d, constants.%T.a96) [symbolic = %specific_impl_fn.loc233_5.2 (constants.%specific_impl_fn.2f2)] // CHECK:STDOUT: %bound_method.loc233_5.2: = bound_method %x.ref, %specific_impl_fn.loc233_5.1 // CHECK:STDOUT: %SubAssignWith.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc233_5.2(%x.ref, %y.ref) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @MulAssignWith.loc237(%U.loc237_19.2: type, %T.loc237_29.2: @MulAssignWith.loc237.%MulAssignWith.type.loc237_52.1 (%MulAssignWith.type.c08ab6.2)) { +// CHECK:STDOUT: generic fn @MulAssignWith.loc237(%U.loc237_19.2: type, %T.loc237_29.2: @MulAssignWith.loc237.%MulAssignWith.type.loc237_52.1 (%MulAssignWith.type.b9aa5c.2)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc239: = require_complete_type %MulAssignWith.type.loc237_52.1 [symbolic = %require_complete.loc239 (constants.%require_complete.635)] -// CHECK:STDOUT: %MulAssignWith.assoc_type: type = assoc_entity_type @MulAssignWith.1, @MulAssignWith.1(%U.loc237_19.1) [symbolic = %MulAssignWith.assoc_type (constants.%MulAssignWith.assoc_type.dd8648.2)] -// CHECK:STDOUT: %assoc0: @MulAssignWith.loc237.%MulAssignWith.assoc_type (%MulAssignWith.assoc_type.dd8648.2) = assoc_entity element0, imports.%Core.import_ref.475 [symbolic = %assoc0 (constants.%assoc0.bb9cfe.2)] -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%U.loc237_19.1, %T.loc237_29.1) [symbolic = %MulAssignWith.WithSelf.Op.type (constants.%MulAssignWith.WithSelf.Op.type.dff752.3)] -// CHECK:STDOUT: %.loc239_5.2: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type, %T.loc237_29.1 [symbolic = %.loc239_5.2 (constants.%.9a8d)] +// CHECK:STDOUT: %require_complete.loc239: = require_complete_type %MulAssignWith.type.loc237_52.1 [symbolic = %require_complete.loc239 (constants.%require_complete.ea2)] +// CHECK:STDOUT: %MulAssignWith.assoc_type: type = assoc_entity_type @MulAssignWith.1, @MulAssignWith.1(%U.loc237_19.1) [symbolic = %MulAssignWith.assoc_type (constants.%MulAssignWith.assoc_type.153441.2)] +// CHECK:STDOUT: %assoc0: @MulAssignWith.loc237.%MulAssignWith.assoc_type (%MulAssignWith.assoc_type.153441.2) = assoc_entity element0, imports.%Core.import_ref.763 [symbolic = %assoc0 (constants.%assoc0.54a880.2)] +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%U.loc237_19.1, %T.loc237_29.1) [symbolic = %MulAssignWith.WithSelf.Op.type (constants.%MulAssignWith.WithSelf.Op.type.44adac.3)] +// CHECK:STDOUT: %.loc239_5.2: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type, %T.loc237_29.1 [symbolic = %.loc239_5.2 (constants.%.42e)] // CHECK:STDOUT: %MulAssignWith.lookup_impl_witness: = lookup_impl_witness %T.loc237_29.1, @MulAssignWith.1, @MulAssignWith.1(%U.loc237_19.1) [symbolic = %MulAssignWith.lookup_impl_witness (constants.%MulAssignWith.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc239_5.2: @MulAssignWith.loc237.%.loc239_5.2 (%.9a8d) = impl_witness_access %MulAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc239_5.2 (constants.%impl.elem0.653)] -// CHECK:STDOUT: %specific_impl_fn.loc239_5.2: = specific_impl_function %impl.elem0.loc239_5.2, @MulAssignWith.WithSelf.Op(%U.loc237_19.1, %T.loc237_29.1) [symbolic = %specific_impl_fn.loc239_5.2 (constants.%specific_impl_fn.5ff)] +// CHECK:STDOUT: %impl.elem0.loc239_5.2: @MulAssignWith.loc237.%.loc239_5.2 (%.42e) = impl_witness_access %MulAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc239_5.2 (constants.%impl.elem0.822)] +// CHECK:STDOUT: %specific_impl_fn.loc239_5.2: = specific_impl_function %impl.elem0.loc239_5.2, @MulAssignWith.WithSelf.Op(%U.loc237_19.1, %T.loc237_29.1) [symbolic = %specific_impl_fn.loc239_5.2 (constants.%specific_impl_fn.cf3)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: ref @MulAssignWith.loc237.%T.as_type.loc237_62.1 (%T.as_type.26e), %y.param: @MulAssignWith.loc237.%U.loc237_19.1 (%U.67d)) { +// CHECK:STDOUT: fn(%x.param: ref @MulAssignWith.loc237.%T.as_type.loc237_62.1 (%T.as_type.e75), %y.param: @MulAssignWith.loc237.%U.loc237_19.1 (%U.67d)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: ref @MulAssignWith.loc237.%T.as_type.loc237_62.1 (%T.as_type.26e) = name_ref x, %x +// CHECK:STDOUT: %x.ref: ref @MulAssignWith.loc237.%T.as_type.loc237_62.1 (%T.as_type.e75) = name_ref x, %x // CHECK:STDOUT: %y.ref: @MulAssignWith.loc237.%U.loc237_19.1 (%U.67d) = name_ref y, %y -// CHECK:STDOUT: %MulAssignWith.type.loc239: type = facet_type <@MulAssignWith.1, @MulAssignWith.1(constants.%U.67d)> [symbolic = %MulAssignWith.type.loc237_52.1 (constants.%MulAssignWith.type.c08ab6.2)] -// CHECK:STDOUT: %.loc239_5.1: @MulAssignWith.loc237.%MulAssignWith.assoc_type (%MulAssignWith.assoc_type.dd8648.2) = specific_constant imports.%Core.import_ref.dd3, @MulAssignWith.WithSelf(constants.%U.67d, constants.%Self.c8f88d.1) [symbolic = %assoc0 (constants.%assoc0.bb9cfe.2)] -// CHECK:STDOUT: %Op.ref: @MulAssignWith.loc237.%MulAssignWith.assoc_type (%MulAssignWith.assoc_type.dd8648.2) = name_ref Op, %.loc239_5.1 [symbolic = %assoc0 (constants.%assoc0.bb9cfe.2)] -// CHECK:STDOUT: %impl.elem0.loc239_5.1: @MulAssignWith.loc237.%.loc239_5.2 (%.9a8d) = impl_witness_access constants.%MulAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc239_5.2 (constants.%impl.elem0.653)] +// CHECK:STDOUT: %MulAssignWith.type.loc239: type = facet_type <@MulAssignWith.1, @MulAssignWith.1(constants.%U.67d)> [symbolic = %MulAssignWith.type.loc237_52.1 (constants.%MulAssignWith.type.b9aa5c.2)] +// CHECK:STDOUT: %.loc239_5.1: @MulAssignWith.loc237.%MulAssignWith.assoc_type (%MulAssignWith.assoc_type.153441.2) = specific_constant imports.%Core.import_ref.5c1, @MulAssignWith.WithSelf(constants.%U.67d, constants.%Self.1ab5ec.1) [symbolic = %assoc0 (constants.%assoc0.54a880.2)] +// CHECK:STDOUT: %Op.ref: @MulAssignWith.loc237.%MulAssignWith.assoc_type (%MulAssignWith.assoc_type.153441.2) = name_ref Op, %.loc239_5.1 [symbolic = %assoc0 (constants.%assoc0.54a880.2)] +// CHECK:STDOUT: %impl.elem0.loc239_5.1: @MulAssignWith.loc237.%.loc239_5.2 (%.42e) = impl_witness_access constants.%MulAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc239_5.2 (constants.%impl.elem0.822)] // CHECK:STDOUT: %bound_method.loc239_5.1: = bound_method %x.ref, %impl.elem0.loc239_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc239_5.1: = specific_impl_function %impl.elem0.loc239_5.1, @MulAssignWith.WithSelf.Op(constants.%U.67d, constants.%T.c8f) [symbolic = %specific_impl_fn.loc239_5.2 (constants.%specific_impl_fn.5ff)] +// CHECK:STDOUT: %specific_impl_fn.loc239_5.1: = specific_impl_function %impl.elem0.loc239_5.1, @MulAssignWith.WithSelf.Op(constants.%U.67d, constants.%T.1ab) [symbolic = %specific_impl_fn.loc239_5.2 (constants.%specific_impl_fn.cf3)] // CHECK:STDOUT: %bound_method.loc239_5.2: = bound_method %x.ref, %specific_impl_fn.loc239_5.1 // CHECK:STDOUT: %MulAssignWith.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc239_5.2(%x.ref, %y.ref) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @DivAssignWith.loc243(%U.loc243_19.2: type, %T.loc243_29.2: @DivAssignWith.loc243.%DivAssignWith.type.loc243_52.1 (%DivAssignWith.type.d7b8dd.2)) { +// CHECK:STDOUT: generic fn @DivAssignWith.loc243(%U.loc243_19.2: type, %T.loc243_29.2: @DivAssignWith.loc243.%DivAssignWith.type.loc243_52.1 (%DivAssignWith.type.c97ac9.2)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc245: = require_complete_type %DivAssignWith.type.loc243_52.1 [symbolic = %require_complete.loc245 (constants.%require_complete.3cf)] -// CHECK:STDOUT: %DivAssignWith.assoc_type: type = assoc_entity_type @DivAssignWith.1, @DivAssignWith.1(%U.loc243_19.1) [symbolic = %DivAssignWith.assoc_type (constants.%DivAssignWith.assoc_type.738ee6.2)] -// CHECK:STDOUT: %assoc0: @DivAssignWith.loc243.%DivAssignWith.assoc_type (%DivAssignWith.assoc_type.738ee6.2) = assoc_entity element0, imports.%Core.import_ref.12d [symbolic = %assoc0 (constants.%assoc0.d42d61.2)] -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%U.loc243_19.1, %T.loc243_29.1) [symbolic = %DivAssignWith.WithSelf.Op.type (constants.%DivAssignWith.WithSelf.Op.type.3077dd.3)] -// CHECK:STDOUT: %.loc245_5.2: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type, %T.loc243_29.1 [symbolic = %.loc245_5.2 (constants.%.d5f)] +// CHECK:STDOUT: %require_complete.loc245: = require_complete_type %DivAssignWith.type.loc243_52.1 [symbolic = %require_complete.loc245 (constants.%require_complete.3f4)] +// CHECK:STDOUT: %DivAssignWith.assoc_type: type = assoc_entity_type @DivAssignWith.1, @DivAssignWith.1(%U.loc243_19.1) [symbolic = %DivAssignWith.assoc_type (constants.%DivAssignWith.assoc_type.c30cb0.2)] +// CHECK:STDOUT: %assoc0: @DivAssignWith.loc243.%DivAssignWith.assoc_type (%DivAssignWith.assoc_type.c30cb0.2) = assoc_entity element0, imports.%Core.import_ref.d8a [symbolic = %assoc0 (constants.%assoc0.bd6a2d.2)] +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%U.loc243_19.1, %T.loc243_29.1) [symbolic = %DivAssignWith.WithSelf.Op.type (constants.%DivAssignWith.WithSelf.Op.type.8e0740.3)] +// CHECK:STDOUT: %.loc245_5.2: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type, %T.loc243_29.1 [symbolic = %.loc245_5.2 (constants.%.28f)] // CHECK:STDOUT: %DivAssignWith.lookup_impl_witness: = lookup_impl_witness %T.loc243_29.1, @DivAssignWith.1, @DivAssignWith.1(%U.loc243_19.1) [symbolic = %DivAssignWith.lookup_impl_witness (constants.%DivAssignWith.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc245_5.2: @DivAssignWith.loc243.%.loc245_5.2 (%.d5f) = impl_witness_access %DivAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc245_5.2 (constants.%impl.elem0.faa)] -// CHECK:STDOUT: %specific_impl_fn.loc245_5.2: = specific_impl_function %impl.elem0.loc245_5.2, @DivAssignWith.WithSelf.Op(%U.loc243_19.1, %T.loc243_29.1) [symbolic = %specific_impl_fn.loc245_5.2 (constants.%specific_impl_fn.63f)] +// CHECK:STDOUT: %impl.elem0.loc245_5.2: @DivAssignWith.loc243.%.loc245_5.2 (%.28f) = impl_witness_access %DivAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc245_5.2 (constants.%impl.elem0.f6e)] +// CHECK:STDOUT: %specific_impl_fn.loc245_5.2: = specific_impl_function %impl.elem0.loc245_5.2, @DivAssignWith.WithSelf.Op(%U.loc243_19.1, %T.loc243_29.1) [symbolic = %specific_impl_fn.loc245_5.2 (constants.%specific_impl_fn.5bc)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: ref @DivAssignWith.loc243.%T.as_type.loc243_62.1 (%T.as_type.dc5), %y.param: @DivAssignWith.loc243.%U.loc243_19.1 (%U.67d)) { +// CHECK:STDOUT: fn(%x.param: ref @DivAssignWith.loc243.%T.as_type.loc243_62.1 (%T.as_type.5d7), %y.param: @DivAssignWith.loc243.%U.loc243_19.1 (%U.67d)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: ref @DivAssignWith.loc243.%T.as_type.loc243_62.1 (%T.as_type.dc5) = name_ref x, %x +// CHECK:STDOUT: %x.ref: ref @DivAssignWith.loc243.%T.as_type.loc243_62.1 (%T.as_type.5d7) = name_ref x, %x // CHECK:STDOUT: %y.ref: @DivAssignWith.loc243.%U.loc243_19.1 (%U.67d) = name_ref y, %y -// CHECK:STDOUT: %DivAssignWith.type.loc245: type = facet_type <@DivAssignWith.1, @DivAssignWith.1(constants.%U.67d)> [symbolic = %DivAssignWith.type.loc243_52.1 (constants.%DivAssignWith.type.d7b8dd.2)] -// CHECK:STDOUT: %.loc245_5.1: @DivAssignWith.loc243.%DivAssignWith.assoc_type (%DivAssignWith.assoc_type.738ee6.2) = specific_constant imports.%Core.import_ref.927, @DivAssignWith.WithSelf(constants.%U.67d, constants.%Self.f22977.1) [symbolic = %assoc0 (constants.%assoc0.d42d61.2)] -// CHECK:STDOUT: %Op.ref: @DivAssignWith.loc243.%DivAssignWith.assoc_type (%DivAssignWith.assoc_type.738ee6.2) = name_ref Op, %.loc245_5.1 [symbolic = %assoc0 (constants.%assoc0.d42d61.2)] -// CHECK:STDOUT: %impl.elem0.loc245_5.1: @DivAssignWith.loc243.%.loc245_5.2 (%.d5f) = impl_witness_access constants.%DivAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc245_5.2 (constants.%impl.elem0.faa)] +// CHECK:STDOUT: %DivAssignWith.type.loc245: type = facet_type <@DivAssignWith.1, @DivAssignWith.1(constants.%U.67d)> [symbolic = %DivAssignWith.type.loc243_52.1 (constants.%DivAssignWith.type.c97ac9.2)] +// CHECK:STDOUT: %.loc245_5.1: @DivAssignWith.loc243.%DivAssignWith.assoc_type (%DivAssignWith.assoc_type.c30cb0.2) = specific_constant imports.%Core.import_ref.cbe, @DivAssignWith.WithSelf(constants.%U.67d, constants.%Self.43908b.1) [symbolic = %assoc0 (constants.%assoc0.bd6a2d.2)] +// CHECK:STDOUT: %Op.ref: @DivAssignWith.loc243.%DivAssignWith.assoc_type (%DivAssignWith.assoc_type.c30cb0.2) = name_ref Op, %.loc245_5.1 [symbolic = %assoc0 (constants.%assoc0.bd6a2d.2)] +// CHECK:STDOUT: %impl.elem0.loc245_5.1: @DivAssignWith.loc243.%.loc245_5.2 (%.28f) = impl_witness_access constants.%DivAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc245_5.2 (constants.%impl.elem0.f6e)] // CHECK:STDOUT: %bound_method.loc245_5.1: = bound_method %x.ref, %impl.elem0.loc245_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc245_5.1: = specific_impl_function %impl.elem0.loc245_5.1, @DivAssignWith.WithSelf.Op(constants.%U.67d, constants.%T.f22) [symbolic = %specific_impl_fn.loc245_5.2 (constants.%specific_impl_fn.63f)] +// CHECK:STDOUT: %specific_impl_fn.loc245_5.1: = specific_impl_function %impl.elem0.loc245_5.1, @DivAssignWith.WithSelf.Op(constants.%U.67d, constants.%T.439) [symbolic = %specific_impl_fn.loc245_5.2 (constants.%specific_impl_fn.5bc)] // CHECK:STDOUT: %bound_method.loc245_5.2: = bound_method %x.ref, %specific_impl_fn.loc245_5.1 // CHECK:STDOUT: %DivAssignWith.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc245_5.2(%x.ref, %y.ref) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @ModAssignWith.loc249(%U.loc249_19.2: type, %T.loc249_29.2: @ModAssignWith.loc249.%ModAssignWith.type.loc249_52.1 (%ModAssignWith.type.958f4d.2)) { +// CHECK:STDOUT: generic fn @ModAssignWith.loc249(%U.loc249_19.2: type, %T.loc249_29.2: @ModAssignWith.loc249.%ModAssignWith.type.loc249_52.1 (%ModAssignWith.type.8faa47.2)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc251: = require_complete_type %ModAssignWith.type.loc249_52.1 [symbolic = %require_complete.loc251 (constants.%require_complete.479)] -// CHECK:STDOUT: %ModAssignWith.assoc_type: type = assoc_entity_type @ModAssignWith.1, @ModAssignWith.1(%U.loc249_19.1) [symbolic = %ModAssignWith.assoc_type (constants.%ModAssignWith.assoc_type.9ba07c.2)] -// CHECK:STDOUT: %assoc0: @ModAssignWith.loc249.%ModAssignWith.assoc_type (%ModAssignWith.assoc_type.9ba07c.2) = assoc_entity element0, imports.%Core.import_ref.c884 [symbolic = %assoc0 (constants.%assoc0.fd162a.2)] -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%U.loc249_19.1, %T.loc249_29.1) [symbolic = %ModAssignWith.WithSelf.Op.type (constants.%ModAssignWith.WithSelf.Op.type.3abf50.3)] -// CHECK:STDOUT: %.loc251_5.2: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type, %T.loc249_29.1 [symbolic = %.loc251_5.2 (constants.%.759)] +// CHECK:STDOUT: %require_complete.loc251: = require_complete_type %ModAssignWith.type.loc249_52.1 [symbolic = %require_complete.loc251 (constants.%require_complete.9bf)] +// CHECK:STDOUT: %ModAssignWith.assoc_type: type = assoc_entity_type @ModAssignWith.1, @ModAssignWith.1(%U.loc249_19.1) [symbolic = %ModAssignWith.assoc_type (constants.%ModAssignWith.assoc_type.0ff0e5.2)] +// CHECK:STDOUT: %assoc0: @ModAssignWith.loc249.%ModAssignWith.assoc_type (%ModAssignWith.assoc_type.0ff0e5.2) = assoc_entity element0, imports.%Core.import_ref.aee3 [symbolic = %assoc0 (constants.%assoc0.3824c9.2)] +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%U.loc249_19.1, %T.loc249_29.1) [symbolic = %ModAssignWith.WithSelf.Op.type (constants.%ModAssignWith.WithSelf.Op.type.292942.3)] +// CHECK:STDOUT: %.loc251_5.2: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type, %T.loc249_29.1 [symbolic = %.loc251_5.2 (constants.%.acb)] // CHECK:STDOUT: %ModAssignWith.lookup_impl_witness: = lookup_impl_witness %T.loc249_29.1, @ModAssignWith.1, @ModAssignWith.1(%U.loc249_19.1) [symbolic = %ModAssignWith.lookup_impl_witness (constants.%ModAssignWith.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc251_5.2: @ModAssignWith.loc249.%.loc251_5.2 (%.759) = impl_witness_access %ModAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc251_5.2 (constants.%impl.elem0.289)] -// CHECK:STDOUT: %specific_impl_fn.loc251_5.2: = specific_impl_function %impl.elem0.loc251_5.2, @ModAssignWith.WithSelf.Op(%U.loc249_19.1, %T.loc249_29.1) [symbolic = %specific_impl_fn.loc251_5.2 (constants.%specific_impl_fn.af2)] +// CHECK:STDOUT: %impl.elem0.loc251_5.2: @ModAssignWith.loc249.%.loc251_5.2 (%.acb) = impl_witness_access %ModAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc251_5.2 (constants.%impl.elem0.f9d)] +// CHECK:STDOUT: %specific_impl_fn.loc251_5.2: = specific_impl_function %impl.elem0.loc251_5.2, @ModAssignWith.WithSelf.Op(%U.loc249_19.1, %T.loc249_29.1) [symbolic = %specific_impl_fn.loc251_5.2 (constants.%specific_impl_fn.802)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: ref @ModAssignWith.loc249.%T.as_type.loc249_62.1 (%T.as_type.5ba), %y.param: @ModAssignWith.loc249.%U.loc249_19.1 (%U.67d)) { +// CHECK:STDOUT: fn(%x.param: ref @ModAssignWith.loc249.%T.as_type.loc249_62.1 (%T.as_type.4cb), %y.param: @ModAssignWith.loc249.%U.loc249_19.1 (%U.67d)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: ref @ModAssignWith.loc249.%T.as_type.loc249_62.1 (%T.as_type.5ba) = name_ref x, %x +// CHECK:STDOUT: %x.ref: ref @ModAssignWith.loc249.%T.as_type.loc249_62.1 (%T.as_type.4cb) = name_ref x, %x // CHECK:STDOUT: %y.ref: @ModAssignWith.loc249.%U.loc249_19.1 (%U.67d) = name_ref y, %y -// CHECK:STDOUT: %ModAssignWith.type.loc251: type = facet_type <@ModAssignWith.1, @ModAssignWith.1(constants.%U.67d)> [symbolic = %ModAssignWith.type.loc249_52.1 (constants.%ModAssignWith.type.958f4d.2)] -// CHECK:STDOUT: %.loc251_5.1: @ModAssignWith.loc249.%ModAssignWith.assoc_type (%ModAssignWith.assoc_type.9ba07c.2) = specific_constant imports.%Core.import_ref.ab7, @ModAssignWith.WithSelf(constants.%U.67d, constants.%Self.37b6d9.1) [symbolic = %assoc0 (constants.%assoc0.fd162a.2)] -// CHECK:STDOUT: %Op.ref: @ModAssignWith.loc249.%ModAssignWith.assoc_type (%ModAssignWith.assoc_type.9ba07c.2) = name_ref Op, %.loc251_5.1 [symbolic = %assoc0 (constants.%assoc0.fd162a.2)] -// CHECK:STDOUT: %impl.elem0.loc251_5.1: @ModAssignWith.loc249.%.loc251_5.2 (%.759) = impl_witness_access constants.%ModAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc251_5.2 (constants.%impl.elem0.289)] +// CHECK:STDOUT: %ModAssignWith.type.loc251: type = facet_type <@ModAssignWith.1, @ModAssignWith.1(constants.%U.67d)> [symbolic = %ModAssignWith.type.loc249_52.1 (constants.%ModAssignWith.type.8faa47.2)] +// CHECK:STDOUT: %.loc251_5.1: @ModAssignWith.loc249.%ModAssignWith.assoc_type (%ModAssignWith.assoc_type.0ff0e5.2) = specific_constant imports.%Core.import_ref.447, @ModAssignWith.WithSelf(constants.%U.67d, constants.%Self.da03f6.1) [symbolic = %assoc0 (constants.%assoc0.3824c9.2)] +// CHECK:STDOUT: %Op.ref: @ModAssignWith.loc249.%ModAssignWith.assoc_type (%ModAssignWith.assoc_type.0ff0e5.2) = name_ref Op, %.loc251_5.1 [symbolic = %assoc0 (constants.%assoc0.3824c9.2)] +// CHECK:STDOUT: %impl.elem0.loc251_5.1: @ModAssignWith.loc249.%.loc251_5.2 (%.acb) = impl_witness_access constants.%ModAssignWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc251_5.2 (constants.%impl.elem0.f9d)] // CHECK:STDOUT: %bound_method.loc251_5.1: = bound_method %x.ref, %impl.elem0.loc251_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc251_5.1: = specific_impl_function %impl.elem0.loc251_5.1, @ModAssignWith.WithSelf.Op(constants.%U.67d, constants.%T.37b) [symbolic = %specific_impl_fn.loc251_5.2 (constants.%specific_impl_fn.af2)] +// CHECK:STDOUT: %specific_impl_fn.loc251_5.1: = specific_impl_function %impl.elem0.loc251_5.1, @ModAssignWith.WithSelf.Op(constants.%U.67d, constants.%T.da0) [symbolic = %specific_impl_fn.loc251_5.2 (constants.%specific_impl_fn.802)] // CHECK:STDOUT: %bound_method.loc251_5.2: = bound_method %x.ref, %specific_impl_fn.loc251_5.1 // CHECK:STDOUT: %ModAssignWith.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc251_5.2(%x.ref, %y.ref) // CHECK:STDOUT: @@ -1733,18 +1733,18 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %Inc.WithSelf.Op.type: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%T.loc278_13.1) [symbolic = %Inc.WithSelf.Op.type (constants.%Inc.WithSelf.Op.type.0fa0d9.2)] -// CHECK:STDOUT: %.loc280: type = fn_type_with_self_type %Inc.WithSelf.Op.type, %T.loc278_13.1 [symbolic = %.loc280 (constants.%.8af)] +// CHECK:STDOUT: %Inc.WithSelf.Op.type: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%T.loc278_13.1) [symbolic = %Inc.WithSelf.Op.type (constants.%Inc.WithSelf.Op.type.1a5b76.2)] +// CHECK:STDOUT: %.loc280: type = fn_type_with_self_type %Inc.WithSelf.Op.type, %T.loc278_13.1 [symbolic = %.loc280 (constants.%.bdc)] // CHECK:STDOUT: %Inc.lookup_impl_witness: = lookup_impl_witness %T.loc278_13.1, @Inc [symbolic = %Inc.lookup_impl_witness (constants.%Inc.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc280_3.2: @TestInc.%.loc280 (%.8af) = impl_witness_access %Inc.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc280_3.2 (constants.%impl.elem0.95b)] -// CHECK:STDOUT: %specific_impl_fn.loc280_3.2: = specific_impl_function %impl.elem0.loc280_3.2, @Inc.WithSelf.Op(%T.loc278_13.1) [symbolic = %specific_impl_fn.loc280_3.2 (constants.%specific_impl_fn.979)] +// CHECK:STDOUT: %impl.elem0.loc280_3.2: @TestInc.%.loc280 (%.bdc) = impl_witness_access %Inc.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc280_3.2 (constants.%impl.elem0.a96)] +// CHECK:STDOUT: %specific_impl_fn.loc280_3.2: = specific_impl_function %impl.elem0.loc280_3.2, @Inc.WithSelf.Op(%T.loc278_13.1) [symbolic = %specific_impl_fn.loc280_3.2 (constants.%specific_impl_fn.d8c)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: ref @TestInc.%T.as_type.loc278_33.1 (%T.as_type.1d1)) { +// CHECK:STDOUT: fn(%x.param: ref @TestInc.%T.as_type.loc278_33.1 (%T.as_type.4cc)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: ref @TestInc.%T.as_type.loc278_33.1 (%T.as_type.1d1) = name_ref x, %x -// CHECK:STDOUT: %impl.elem0.loc280_3.1: @TestInc.%.loc280 (%.8af) = impl_witness_access constants.%Inc.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc280_3.2 (constants.%impl.elem0.95b)] +// CHECK:STDOUT: %x.ref: ref @TestInc.%T.as_type.loc278_33.1 (%T.as_type.4cc) = name_ref x, %x +// CHECK:STDOUT: %impl.elem0.loc280_3.1: @TestInc.%.loc280 (%.bdc) = impl_witness_access constants.%Inc.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc280_3.2 (constants.%impl.elem0.a96)] // CHECK:STDOUT: %bound_method.loc280_3.1: = bound_method %x.ref, %impl.elem0.loc280_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc280_3.1: = specific_impl_function %impl.elem0.loc280_3.1, @Inc.WithSelf.Op(constants.%T.fed) [symbolic = %specific_impl_fn.loc280_3.2 (constants.%specific_impl_fn.979)] +// CHECK:STDOUT: %specific_impl_fn.loc280_3.1: = specific_impl_function %impl.elem0.loc280_3.1, @Inc.WithSelf.Op(constants.%T.c06) [symbolic = %specific_impl_fn.loc280_3.2 (constants.%specific_impl_fn.d8c)] // CHECK:STDOUT: %bound_method.loc280_3.2: = bound_method %x.ref, %specific_impl_fn.loc280_3.1 // CHECK:STDOUT: %Inc.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc280_3.2(%x.ref) // CHECK:STDOUT: @@ -1756,602 +1756,602 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %Dec.WithSelf.Op.type: type = fn_type @Dec.WithSelf.Op, @Dec.WithSelf(%T.loc284_13.1) [symbolic = %Dec.WithSelf.Op.type (constants.%Dec.WithSelf.Op.type.a100f5.2)] -// CHECK:STDOUT: %.loc286: type = fn_type_with_self_type %Dec.WithSelf.Op.type, %T.loc284_13.1 [symbolic = %.loc286 (constants.%.e8e)] +// CHECK:STDOUT: %Dec.WithSelf.Op.type: type = fn_type @Dec.WithSelf.Op, @Dec.WithSelf(%T.loc284_13.1) [symbolic = %Dec.WithSelf.Op.type (constants.%Dec.WithSelf.Op.type.c8aa8e.2)] +// CHECK:STDOUT: %.loc286: type = fn_type_with_self_type %Dec.WithSelf.Op.type, %T.loc284_13.1 [symbolic = %.loc286 (constants.%.842)] // CHECK:STDOUT: %Dec.lookup_impl_witness: = lookup_impl_witness %T.loc284_13.1, @Dec [symbolic = %Dec.lookup_impl_witness (constants.%Dec.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc286_3.2: @TestDec.%.loc286 (%.e8e) = impl_witness_access %Dec.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc286_3.2 (constants.%impl.elem0.e49)] -// CHECK:STDOUT: %specific_impl_fn.loc286_3.2: = specific_impl_function %impl.elem0.loc286_3.2, @Dec.WithSelf.Op(%T.loc284_13.1) [symbolic = %specific_impl_fn.loc286_3.2 (constants.%specific_impl_fn.38c)] +// CHECK:STDOUT: %impl.elem0.loc286_3.2: @TestDec.%.loc286 (%.842) = impl_witness_access %Dec.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc286_3.2 (constants.%impl.elem0.e17)] +// CHECK:STDOUT: %specific_impl_fn.loc286_3.2: = specific_impl_function %impl.elem0.loc286_3.2, @Dec.WithSelf.Op(%T.loc284_13.1) [symbolic = %specific_impl_fn.loc286_3.2 (constants.%specific_impl_fn.56c)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: ref @TestDec.%T.as_type.loc284_33.1 (%T.as_type.5ae)) { +// CHECK:STDOUT: fn(%x.param: ref @TestDec.%T.as_type.loc284_33.1 (%T.as_type.915)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: ref @TestDec.%T.as_type.loc284_33.1 (%T.as_type.5ae) = name_ref x, %x -// CHECK:STDOUT: %impl.elem0.loc286_3.1: @TestDec.%.loc286 (%.e8e) = impl_witness_access constants.%Dec.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc286_3.2 (constants.%impl.elem0.e49)] +// CHECK:STDOUT: %x.ref: ref @TestDec.%T.as_type.loc284_33.1 (%T.as_type.915) = name_ref x, %x +// CHECK:STDOUT: %impl.elem0.loc286_3.1: @TestDec.%.loc286 (%.842) = impl_witness_access constants.%Dec.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc286_3.2 (constants.%impl.elem0.e17)] // CHECK:STDOUT: %bound_method.loc286_3.1: = bound_method %x.ref, %impl.elem0.loc286_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc286_3.1: = specific_impl_function %impl.elem0.loc286_3.1, @Dec.WithSelf.Op(constants.%T.c61) [symbolic = %specific_impl_fn.loc286_3.2 (constants.%specific_impl_fn.38c)] +// CHECK:STDOUT: %specific_impl_fn.loc286_3.1: = specific_impl_function %impl.elem0.loc286_3.1, @Dec.WithSelf.Op(constants.%T.d9e) [symbolic = %specific_impl_fn.loc286_3.2 (constants.%specific_impl_fn.56c)] // CHECK:STDOUT: %bound_method.loc286_3.2: = bound_method %x.ref, %specific_impl_fn.loc286_3.1 // CHECK:STDOUT: %Dec.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc286_3.2(%x.ref) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @TestNegate(%Result.loc292_9.2: %Destroy.type, %T.loc293_4.2: @TestNegate.%facet_type (%facet_type.4bf)) { +// CHECK:STDOUT: generic fn @TestNegate(%Result.loc292_9.2: %Destroy.type, %T.loc293_4.2: @TestNegate.%facet_type (%facet_type.fb9)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %Negate.lookup_impl_witness: = lookup_impl_witness %T.loc293_4.1, @Negate [symbolic = %Negate.lookup_impl_witness (constants.%Negate.lookup_impl_witness.755)] -// CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value %T.as_type.loc294_24.1, (%Negate.lookup_impl_witness) [symbolic = %Negate.facet (constants.%Negate.facet.ad2)] -// CHECK:STDOUT: %Negate.WithSelf.Op.type: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [symbolic = %Negate.WithSelf.Op.type (constants.%Negate.WithSelf.Op.type.039)] -// CHECK:STDOUT: %.loc296_3.3: type = fn_type_with_self_type %Negate.WithSelf.Op.type, %Negate.facet [symbolic = %.loc296_3.3 (constants.%.487)] -// CHECK:STDOUT: %impl.elem1.loc296_3.2: @TestNegate.%.loc296_3.3 (%.487) = impl_witness_access %Negate.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc296_3.2 (constants.%impl.elem1.026)] -// CHECK:STDOUT: %specific_impl_fn.loc296_3.3: = specific_impl_function %impl.elem1.loc296_3.2, @Negate.WithSelf.Op(%Negate.facet) [symbolic = %specific_impl_fn.loc296_3.3 (constants.%specific_impl_fn.ee1)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result.loc292_9.1) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.12b49e.2)] -// CHECK:STDOUT: %.loc296_3.4: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Result.loc292_9.1 [symbolic = %.loc296_3.4 (constants.%.9c3)] +// CHECK:STDOUT: %Negate.lookup_impl_witness: = lookup_impl_witness %T.loc293_4.1, @Negate [symbolic = %Negate.lookup_impl_witness (constants.%Negate.lookup_impl_witness.5d0)] +// CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value %T.as_type.loc294_24.1, (%Negate.lookup_impl_witness) [symbolic = %Negate.facet (constants.%Negate.facet.7e7)] +// CHECK:STDOUT: %Negate.WithSelf.Op.type: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [symbolic = %Negate.WithSelf.Op.type (constants.%Negate.WithSelf.Op.type.26a)] +// CHECK:STDOUT: %.loc296_3.3: type = fn_type_with_self_type %Negate.WithSelf.Op.type, %Negate.facet [symbolic = %.loc296_3.3 (constants.%.0fd)] +// CHECK:STDOUT: %impl.elem1.loc296_3.2: @TestNegate.%.loc296_3.3 (%.0fd) = impl_witness_access %Negate.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc296_3.2 (constants.%impl.elem1.b4a)] +// CHECK:STDOUT: %specific_impl_fn.loc296_3.3: = specific_impl_function %impl.elem1.loc296_3.2, @Negate.WithSelf.Op(%Negate.facet) [symbolic = %specific_impl_fn.loc296_3.3 (constants.%specific_impl_fn.037)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Result.loc292_9.1) [symbolic = %Destroy.WithSelf.Op.type (constants.%Destroy.WithSelf.Op.type.6304ea.2)] +// CHECK:STDOUT: %.loc296_3.4: type = fn_type_with_self_type %Destroy.WithSelf.Op.type, %Result.loc292_9.1 [symbolic = %.loc296_3.4 (constants.%.543)] // CHECK:STDOUT: %Destroy.lookup_impl_witness: = lookup_impl_witness %Result.loc292_9.1, @Destroy [symbolic = %Destroy.lookup_impl_witness (constants.%Destroy.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc296_3.2: @TestNegate.%.loc296_3.4 (%.9c3) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc296_3.2 (constants.%impl.elem0.8bd)] -// CHECK:STDOUT: %specific_impl_fn.loc296_3.4: = specific_impl_function %impl.elem0.loc296_3.2, @Destroy.WithSelf.Op(%Result.loc292_9.1) [symbolic = %specific_impl_fn.loc296_3.4 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %impl.elem0.loc296_3.2: @TestNegate.%.loc296_3.4 (%.543) = impl_witness_access %Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc296_3.2 (constants.%impl.elem0.531)] +// CHECK:STDOUT: %specific_impl_fn.loc296_3.4: = specific_impl_function %impl.elem0.loc296_3.2, @Destroy.WithSelf.Op(%Result.loc292_9.1) [symbolic = %specific_impl_fn.loc296_3.4 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%y.param: @TestNegate.%Result.as_type.loc293_50.1 (%Result.as_type), %x.param: @TestNegate.%T.as_type.loc294_24.1 (%T.as_type.013)) { +// CHECK:STDOUT: fn(%y.param: @TestNegate.%Result.as_type.loc293_50.1 (%Result.as_type), %x.param: @TestNegate.%T.as_type.loc294_24.1 (%T.as_type.b01)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref: @TestNegate.%T.as_type.loc294_24.1 (%T.as_type.013) = name_ref x, %x -// CHECK:STDOUT: %impl.elem1.loc296_3.1: @TestNegate.%.loc296_3.3 (%.487) = impl_witness_access constants.%Negate.lookup_impl_witness.755, element1 [symbolic = %impl.elem1.loc296_3.2 (constants.%impl.elem1.026)] +// CHECK:STDOUT: %x.ref: @TestNegate.%T.as_type.loc294_24.1 (%T.as_type.b01) = name_ref x, %x +// CHECK:STDOUT: %impl.elem1.loc296_3.1: @TestNegate.%.loc296_3.3 (%.0fd) = impl_witness_access constants.%Negate.lookup_impl_witness.5d0, element1 [symbolic = %impl.elem1.loc296_3.2 (constants.%impl.elem1.b4a)] // CHECK:STDOUT: %bound_method.loc296_3.1: = bound_method %x.ref, %impl.elem1.loc296_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc296_3.1: = specific_impl_function %impl.elem1.loc296_3.1, @Negate.WithSelf.Op(constants.%Negate.facet.ad2) [symbolic = %specific_impl_fn.loc296_3.3 (constants.%specific_impl_fn.ee1)] +// CHECK:STDOUT: %specific_impl_fn.loc296_3.1: = specific_impl_function %impl.elem1.loc296_3.1, @Negate.WithSelf.Op(constants.%Negate.facet.7e7) [symbolic = %specific_impl_fn.loc296_3.3 (constants.%specific_impl_fn.037)] // CHECK:STDOUT: %bound_method.loc296_3.2: = bound_method %x.ref, %specific_impl_fn.loc296_3.1 // CHECK:STDOUT: %.loc296_3.1: ref @TestNegate.%Result.as_type.loc293_50.1 (%Result.as_type) = temporary_storage // CHECK:STDOUT: %Negate.WithSelf.Op.call: init @TestNegate.%Result.as_type.loc293_50.1 (%Result.as_type) to %.loc296_3.1 = call %bound_method.loc296_3.2(%x.ref) // CHECK:STDOUT: %.loc296_3.2: ref @TestNegate.%Result.as_type.loc293_50.1 (%Result.as_type) = temporary %.loc296_3.1, %Negate.WithSelf.Op.call -// CHECK:STDOUT: %impl.elem0.loc296_3.1: @TestNegate.%.loc296_3.4 (%.9c3) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc296_3.2 (constants.%impl.elem0.8bd)] +// CHECK:STDOUT: %impl.elem0.loc296_3.1: @TestNegate.%.loc296_3.4 (%.543) = impl_witness_access constants.%Destroy.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc296_3.2 (constants.%impl.elem0.531)] // CHECK:STDOUT: %bound_method.loc296_3.3: = bound_method %.loc296_3.2, %impl.elem0.loc296_3.1 -// CHECK:STDOUT: %specific_impl_fn.loc296_3.2: = specific_impl_function %impl.elem0.loc296_3.1, @Destroy.WithSelf.Op(constants.%Result) [symbolic = %specific_impl_fn.loc296_3.4 (constants.%specific_impl_fn.8dd)] +// CHECK:STDOUT: %specific_impl_fn.loc296_3.2: = specific_impl_function %impl.elem0.loc296_3.1, @Destroy.WithSelf.Op(constants.%Result) [symbolic = %specific_impl_fn.loc296_3.4 (constants.%specific_impl_fn.010)] // CHECK:STDOUT: %bound_method.loc296_3.4: = bound_method %.loc296_3.2, %specific_impl_fn.loc296_3.2 // CHECK:STDOUT: %Destroy.WithSelf.Op.call: init %empty_tuple.type = call %bound_method.loc296_3.4(%.loc296_3.2) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.loc124(constants.%Result, constants.%U.866, constants.%T.9be) { +// CHECK:STDOUT: specific @AddWith.loc124(constants.%Result, constants.%U.99e, constants.%T.23b) { // CHECK:STDOUT: %Result.loc121_9.1 => constants.%Result -// CHECK:STDOUT: %U.loc122_4.1 => constants.%U.866 -// CHECK:STDOUT: %U.as_type.loc123_36.1 => constants.%U.as_type.0fd -// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.68f -// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.5e7 -// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.11b -// CHECK:STDOUT: %require_complete.loc123 => constants.%require_complete.d10 -// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.8a9 -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.f48 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.5e7 -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.2ac -// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.e3f +// CHECK:STDOUT: %U.loc122_4.1 => constants.%U.99e +// CHECK:STDOUT: %U.as_type.loc123_36.1 => constants.%U.as_type.f7f +// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.ad2 +// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.4ec +// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.53a +// CHECK:STDOUT: %require_complete.loc123 => constants.%require_complete.3ac +// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.626 +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.c6c +// CHECK:STDOUT: %assoc0 => constants.%assoc0.35c +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.46e +// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.851 // CHECK:STDOUT: %Result.as_type.loc123_54.1 => constants.%Result.as_type -// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.d00 -// CHECK:STDOUT: %T.loc123_4.1 => constants.%T.9be -// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.768 -// CHECK:STDOUT: %pattern_type.loc124_16 => constants.%pattern_type.5eec30.2 -// CHECK:STDOUT: %T.as_type.loc124_29.1 => constants.%T.as_type.6fa -// CHECK:STDOUT: %pattern_type.loc124_27 => constants.%pattern_type.ae2 -// CHECK:STDOUT: %pattern_type.loc124_33 => constants.%pattern_type.a04 +// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.cac +// CHECK:STDOUT: %T.loc123_4.1 => constants.%T.23b +// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.bcc +// CHECK:STDOUT: %pattern_type.loc124_16 => constants.%pattern_type.227a41.2 +// CHECK:STDOUT: %T.as_type.loc124_29.1 => constants.%T.as_type.46a +// CHECK:STDOUT: %pattern_type.loc124_27 => constants.%pattern_type.d37 +// CHECK:STDOUT: %pattern_type.loc124_33 => constants.%pattern_type.87c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SubWith.loc135(constants.%Result, constants.%U.866, constants.%T.248) { +// CHECK:STDOUT: specific @SubWith.loc135(constants.%Result, constants.%U.99e, constants.%T.4a2) { // CHECK:STDOUT: %Result.loc132_9.1 => constants.%Result -// CHECK:STDOUT: %U.loc133_4.1 => constants.%U.866 -// CHECK:STDOUT: %U.as_type.loc134_36.1 => constants.%U.as_type.0fd -// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.3e0 -// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.b45 -// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.ecd -// CHECK:STDOUT: %require_complete.loc134 => constants.%require_complete.029 -// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.8c5 -// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.f11 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.ccf -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.69c -// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.35c +// CHECK:STDOUT: %U.loc133_4.1 => constants.%U.99e +// CHECK:STDOUT: %U.as_type.loc134_36.1 => constants.%U.as_type.f7f +// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.394 +// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.c40 +// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.f02 +// CHECK:STDOUT: %require_complete.loc134 => constants.%require_complete.f69 +// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.dc7 +// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.767 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.705 +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.54d +// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.67e // CHECK:STDOUT: %Result.as_type.loc134_54.1 => constants.%Result.as_type -// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.de3 -// CHECK:STDOUT: %T.loc134_4.1 => constants.%T.248 -// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.6e8 -// CHECK:STDOUT: %pattern_type.loc135_16 => constants.%pattern_type.5eec30.2 -// CHECK:STDOUT: %T.as_type.loc135_29.1 => constants.%T.as_type.3b2 -// CHECK:STDOUT: %pattern_type.loc135_27 => constants.%pattern_type.eb4 -// CHECK:STDOUT: %pattern_type.loc135_33 => constants.%pattern_type.a04 +// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.98a +// CHECK:STDOUT: %T.loc134_4.1 => constants.%T.4a2 +// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.054 +// CHECK:STDOUT: %pattern_type.loc135_16 => constants.%pattern_type.227a41.2 +// CHECK:STDOUT: %T.as_type.loc135_29.1 => constants.%T.as_type.330 +// CHECK:STDOUT: %pattern_type.loc135_27 => constants.%pattern_type.2b7 +// CHECK:STDOUT: %pattern_type.loc135_33 => constants.%pattern_type.87c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MulWith.loc146(constants.%Result, constants.%U.866, constants.%T.ce0) { +// CHECK:STDOUT: specific @MulWith.loc146(constants.%Result, constants.%U.99e, constants.%T.2c2) { // CHECK:STDOUT: %Result.loc143_9.1 => constants.%Result -// CHECK:STDOUT: %U.loc144_4.1 => constants.%U.866 -// CHECK:STDOUT: %U.as_type.loc145_36.1 => constants.%U.as_type.0fd -// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.b5e -// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.7d9 -// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.e6f -// CHECK:STDOUT: %require_complete.loc145 => constants.%require_complete.38c -// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.2c6 -// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.4f3 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.0e6 -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.4c7 -// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.0fa +// CHECK:STDOUT: %U.loc144_4.1 => constants.%U.99e +// CHECK:STDOUT: %U.as_type.loc145_36.1 => constants.%U.as_type.f7f +// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.195 +// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.e45 +// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.117 +// CHECK:STDOUT: %require_complete.loc145 => constants.%require_complete.aad +// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.91e +// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.fff +// CHECK:STDOUT: %assoc0 => constants.%assoc0.dfc +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.bd7 +// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.e5b // CHECK:STDOUT: %Result.as_type.loc145_54.1 => constants.%Result.as_type -// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.779 -// CHECK:STDOUT: %T.loc145_4.1 => constants.%T.ce0 -// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.2d4 -// CHECK:STDOUT: %pattern_type.loc146_16 => constants.%pattern_type.5eec30.2 -// CHECK:STDOUT: %T.as_type.loc146_29.1 => constants.%T.as_type.380 -// CHECK:STDOUT: %pattern_type.loc146_27 => constants.%pattern_type.4b9 -// CHECK:STDOUT: %pattern_type.loc146_33 => constants.%pattern_type.a04 +// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.a59 +// CHECK:STDOUT: %T.loc145_4.1 => constants.%T.2c2 +// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.4b6 +// CHECK:STDOUT: %pattern_type.loc146_16 => constants.%pattern_type.227a41.2 +// CHECK:STDOUT: %T.as_type.loc146_29.1 => constants.%T.as_type.198 +// CHECK:STDOUT: %pattern_type.loc146_27 => constants.%pattern_type.2a1 +// CHECK:STDOUT: %pattern_type.loc146_33 => constants.%pattern_type.87c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DivWith.loc157(constants.%Result, constants.%U.866, constants.%T.ff8) { +// CHECK:STDOUT: specific @DivWith.loc157(constants.%Result, constants.%U.99e, constants.%T.2b9) { // CHECK:STDOUT: %Result.loc154_9.1 => constants.%Result -// CHECK:STDOUT: %U.loc155_4.1 => constants.%U.866 -// CHECK:STDOUT: %U.as_type.loc156_36.1 => constants.%U.as_type.0fd -// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.c0c -// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.9b5 -// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.3de -// CHECK:STDOUT: %require_complete.loc156 => constants.%require_complete.b55 -// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.d38 -// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.cd1 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.453 -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.405 -// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.e26 +// CHECK:STDOUT: %U.loc155_4.1 => constants.%U.99e +// CHECK:STDOUT: %U.as_type.loc156_36.1 => constants.%U.as_type.f7f +// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.63d +// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.511 +// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.10f +// CHECK:STDOUT: %require_complete.loc156 => constants.%require_complete.8fe +// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.151 +// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.e27 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.46e +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.0c0 +// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.2d7 // CHECK:STDOUT: %Result.as_type.loc156_54.1 => constants.%Result.as_type -// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.c18 -// CHECK:STDOUT: %T.loc156_4.1 => constants.%T.ff8 -// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.7f8 -// CHECK:STDOUT: %pattern_type.loc157_16 => constants.%pattern_type.5eec30.2 -// CHECK:STDOUT: %T.as_type.loc157_29.1 => constants.%T.as_type.7d7 -// CHECK:STDOUT: %pattern_type.loc157_27 => constants.%pattern_type.4a4 -// CHECK:STDOUT: %pattern_type.loc157_33 => constants.%pattern_type.a04 +// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.5cc +// CHECK:STDOUT: %T.loc156_4.1 => constants.%T.2b9 +// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.fb6 +// CHECK:STDOUT: %pattern_type.loc157_16 => constants.%pattern_type.227a41.2 +// CHECK:STDOUT: %T.as_type.loc157_29.1 => constants.%T.as_type.e49 +// CHECK:STDOUT: %pattern_type.loc157_27 => constants.%pattern_type.673 +// CHECK:STDOUT: %pattern_type.loc157_33 => constants.%pattern_type.87c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ModWith.loc168(constants.%Result, constants.%U.866, constants.%T.5f9) { +// CHECK:STDOUT: specific @ModWith.loc168(constants.%Result, constants.%U.99e, constants.%T.173) { // CHECK:STDOUT: %Result.loc165_9.1 => constants.%Result -// CHECK:STDOUT: %U.loc166_4.1 => constants.%U.866 -// CHECK:STDOUT: %U.as_type.loc167_36.1 => constants.%U.as_type.0fd -// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.fba -// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.1e9 -// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.ade -// CHECK:STDOUT: %require_complete.loc167 => constants.%require_complete.797 -// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.142 -// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.e42 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.4ea -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.2ca -// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.0c4 +// CHECK:STDOUT: %U.loc166_4.1 => constants.%U.99e +// CHECK:STDOUT: %U.as_type.loc167_36.1 => constants.%U.as_type.f7f +// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.125 +// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.978 +// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.0e2 +// CHECK:STDOUT: %require_complete.loc167 => constants.%require_complete.4ae +// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.d0f +// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.3d0 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.649 +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.ac5 +// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.50a // CHECK:STDOUT: %Result.as_type.loc167_54.1 => constants.%Result.as_type -// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.ae7 -// CHECK:STDOUT: %T.loc167_4.1 => constants.%T.5f9 -// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.d24 -// CHECK:STDOUT: %pattern_type.loc168_16 => constants.%pattern_type.5eec30.2 -// CHECK:STDOUT: %T.as_type.loc168_29.1 => constants.%T.as_type.c82 -// CHECK:STDOUT: %pattern_type.loc168_27 => constants.%pattern_type.b5f -// CHECK:STDOUT: %pattern_type.loc168_33 => constants.%pattern_type.a04 +// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.c32 +// CHECK:STDOUT: %T.loc167_4.1 => constants.%T.173 +// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.cc0 +// CHECK:STDOUT: %pattern_type.loc168_16 => constants.%pattern_type.227a41.2 +// CHECK:STDOUT: %T.as_type.loc168_29.1 => constants.%T.as_type.105 +// CHECK:STDOUT: %pattern_type.loc168_27 => constants.%pattern_type.9c5 +// CHECK:STDOUT: %pattern_type.loc168_33 => constants.%pattern_type.87c // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.81a, constants.%Destroy.facet.81a, constants.%facet_value.b18) { -// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.81a -// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.81a +// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.1b8, constants.%Destroy.facet.1b8, constants.%facet_value.fdd) { +// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.1b8 +// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.1b8 // CHECK:STDOUT: %U.as_type.loc123_36.1 => constants.%Int16 -// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.f72 -// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.cef -// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.f0e -// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.de7 -// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.766 -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.02d -// CHECK:STDOUT: %assoc0 => constants.%assoc0.2eb -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.394 -// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.33b +// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.6f4 +// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.f17 +// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.863 +// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.211 +// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.db9 +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.e37 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.4ec +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.896 +// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.2d1 // CHECK:STDOUT: %Result.as_type.loc123_54.1 => constants.%Int16 -// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.daf -// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.b18 -// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.e7f +// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.753 +// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.fdd +// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.bc4 // CHECK:STDOUT: %pattern_type.loc124_16 => constants.%pattern_type.802 // CHECK:STDOUT: %T.as_type.loc124_29.1 => constants.%i16 -// CHECK:STDOUT: %pattern_type.loc124_27 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc124_27 => constants.%pattern_type.e1b // CHECK:STDOUT: %pattern_type.loc124_33 => constants.%pattern_type.802 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc124_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_27 => constants.%complete_type.2da // CHECK:STDOUT: %require_complete.loc124_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.5ae -// CHECK:STDOUT: %assoc1 => constants.%assoc1.a86 -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.25d -// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.a65 -// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.d02 -// CHECK:STDOUT: %.loc126_5.4 => constants.%.107 +// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.386 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.c66 +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.604 +// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.85f +// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.09b +// CHECK:STDOUT: %.loc126_5.4 => constants.%.b5b // CHECK:STDOUT: %impl.elem1.loc126_5.2 => constants.%Op.b9c47d.1 // CHECK:STDOUT: %specific_impl_fn.loc126_5.3 => constants.%Op.b9c47d.1 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.ce6 -// CHECK:STDOUT: %.loc126_5.5 => constants.%.b23 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.1 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e80 +// CHECK:STDOUT: %.loc126_5.5 => constants.%.154 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.1 // CHECK:STDOUT: %impl.elem0.loc126_5.2 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc126_5.4 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.81a, constants.%Destroy.facet.81a, constants.%facet_value.3e4) { -// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.81a -// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.81a +// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.1b8, constants.%Destroy.facet.1b8, constants.%facet_value.578) { +// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.1b8 +// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.1b8 // CHECK:STDOUT: %U.as_type.loc134_36.1 => constants.%Int16 -// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.51c -// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.c1e -// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.3cc -// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.75e -// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.dcb -// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.5cb -// CHECK:STDOUT: %assoc0 => constants.%assoc0.381 -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.fe2 -// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.76d +// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.8bd +// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.c80 +// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.700 +// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.a74 +// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.c4d +// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.eb8 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.8a1 +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.e8f +// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.0b0 // CHECK:STDOUT: %Result.as_type.loc134_54.1 => constants.%Int16 -// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.872 -// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.3e4 -// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.85a +// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.5f5 +// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.578 +// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.4d6 // CHECK:STDOUT: %pattern_type.loc135_16 => constants.%pattern_type.802 // CHECK:STDOUT: %T.as_type.loc135_29.1 => constants.%i16 -// CHECK:STDOUT: %pattern_type.loc135_27 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc135_27 => constants.%pattern_type.e1b // CHECK:STDOUT: %pattern_type.loc135_33 => constants.%pattern_type.802 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc135_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_27 => constants.%complete_type.2da // CHECK:STDOUT: %require_complete.loc135_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.091 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.acb -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.a7e -// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.d26 -// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.d52 -// CHECK:STDOUT: %.loc137_5.4 => constants.%.1af +// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.41c +// CHECK:STDOUT: %assoc1 => constants.%assoc1.937f +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.4c1 +// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.1de +// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.fc2 +// CHECK:STDOUT: %.loc137_5.4 => constants.%.ec9 // CHECK:STDOUT: %impl.elem1.loc137_5.2 => constants.%Op.b9c47d.2 // CHECK:STDOUT: %specific_impl_fn.loc137_5.3 => constants.%Op.b9c47d.2 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.ce6 -// CHECK:STDOUT: %.loc137_5.5 => constants.%.b23 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.1 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e80 +// CHECK:STDOUT: %.loc137_5.5 => constants.%.154 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.1 // CHECK:STDOUT: %impl.elem0.loc137_5.2 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc137_5.4 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.81a, constants.%Destroy.facet.81a, constants.%facet_value.690) { -// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.81a -// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.81a +// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.1b8, constants.%Destroy.facet.1b8, constants.%facet_value.1ee) { +// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.1b8 +// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.1b8 // CHECK:STDOUT: %U.as_type.loc145_36.1 => constants.%Int16 -// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.40b -// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.98f -// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.1c9 -// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.64c -// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.85f -// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.533 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.8f1 -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.a93 -// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.cce +// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.c25 +// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.d27 +// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.e39 +// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.aa7 +// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.87e +// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.543 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.81e +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.5e1 +// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.e54 // CHECK:STDOUT: %Result.as_type.loc145_54.1 => constants.%Int16 -// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.2c5 -// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.690 -// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.cd4 +// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.9da +// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.1ee +// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.d31 // CHECK:STDOUT: %pattern_type.loc146_16 => constants.%pattern_type.802 // CHECK:STDOUT: %T.as_type.loc146_29.1 => constants.%i16 -// CHECK:STDOUT: %pattern_type.loc146_27 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc146_27 => constants.%pattern_type.e1b // CHECK:STDOUT: %pattern_type.loc146_33 => constants.%pattern_type.802 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc146_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_27 => constants.%complete_type.2da // CHECK:STDOUT: %require_complete.loc146_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.ada -// CHECK:STDOUT: %assoc1 => constants.%assoc1.bee -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.b37 -// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.1f7 -// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.6e6 -// CHECK:STDOUT: %.loc148_5.4 => constants.%.a51 +// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.b16 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.911 +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.72a +// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.d75 +// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.53a +// CHECK:STDOUT: %.loc148_5.4 => constants.%.f80 // CHECK:STDOUT: %impl.elem1.loc148_5.2 => constants.%Op.b9c47d.3 // CHECK:STDOUT: %specific_impl_fn.loc148_5.3 => constants.%Op.b9c47d.3 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.ce6 -// CHECK:STDOUT: %.loc148_5.5 => constants.%.b23 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.1 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e80 +// CHECK:STDOUT: %.loc148_5.5 => constants.%.154 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.1 // CHECK:STDOUT: %impl.elem0.loc148_5.2 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc148_5.4 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.81a, constants.%Destroy.facet.81a, constants.%facet_value.41e) { -// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.81a -// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.81a +// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.1b8, constants.%Destroy.facet.1b8, constants.%facet_value.6b2) { +// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.1b8 +// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.1b8 // CHECK:STDOUT: %U.as_type.loc156_36.1 => constants.%Int16 -// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.2b7 -// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.521 -// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.5ce -// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.236 -// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.2c8 -// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.f24 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.e80 -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.f18 -// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.45d +// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.053 +// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.8eb +// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.467 +// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.d563 +// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.3cd +// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.73e +// CHECK:STDOUT: %assoc0 => constants.%assoc0.e96 +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.9bc +// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.5c6 // CHECK:STDOUT: %Result.as_type.loc156_54.1 => constants.%Int16 -// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.715 -// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.41e -// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.b0e +// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.7f5 +// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.6b2 +// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.2be // CHECK:STDOUT: %pattern_type.loc157_16 => constants.%pattern_type.802 // CHECK:STDOUT: %T.as_type.loc157_29.1 => constants.%i16 -// CHECK:STDOUT: %pattern_type.loc157_27 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc157_27 => constants.%pattern_type.e1b // CHECK:STDOUT: %pattern_type.loc157_33 => constants.%pattern_type.802 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc157_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_27 => constants.%complete_type.2da // CHECK:STDOUT: %require_complete.loc157_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.aae -// CHECK:STDOUT: %assoc1 => constants.%assoc1.113 -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.45b -// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.ad7 -// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.c4c -// CHECK:STDOUT: %.loc159_5.4 => constants.%.955 +// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.7c5 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.10b +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.6ea +// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.2be +// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.88f +// CHECK:STDOUT: %.loc159_5.4 => constants.%.a93 // CHECK:STDOUT: %impl.elem1.loc159_5.2 => constants.%Op.b9c47d.4 // CHECK:STDOUT: %specific_impl_fn.loc159_5.3 => constants.%Op.b9c47d.4 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.ce6 -// CHECK:STDOUT: %.loc159_5.5 => constants.%.b23 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.1 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e80 +// CHECK:STDOUT: %.loc159_5.5 => constants.%.154 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.1 // CHECK:STDOUT: %impl.elem0.loc159_5.2 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc159_5.4 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.81a, constants.%Destroy.facet.81a, constants.%facet_value.5ea) { -// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.81a -// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.81a +// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.1b8, constants.%Destroy.facet.1b8, constants.%facet_value.07d) { +// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.1b8 +// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.1b8 // CHECK:STDOUT: %U.as_type.loc167_36.1 => constants.%Int16 -// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.06a -// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.eee -// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.5ab -// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.26b -// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.c50 -// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.a11 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.418 -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.c9e -// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.044 +// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.a83 +// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.dc7 +// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.703 +// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.65d +// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.c72 +// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.55b +// CHECK:STDOUT: %assoc0 => constants.%assoc0.8a3 +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.c7a +// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.094 // CHECK:STDOUT: %Result.as_type.loc167_54.1 => constants.%Int16 -// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.c2d -// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.5ea -// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.752 +// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.fde +// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.07d +// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.268 // CHECK:STDOUT: %pattern_type.loc168_16 => constants.%pattern_type.802 // CHECK:STDOUT: %T.as_type.loc168_29.1 => constants.%i16 -// CHECK:STDOUT: %pattern_type.loc168_27 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc168_27 => constants.%pattern_type.e1b // CHECK:STDOUT: %pattern_type.loc168_33 => constants.%pattern_type.802 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc168_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_27 => constants.%complete_type.2da // CHECK:STDOUT: %require_complete.loc168_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.20b -// CHECK:STDOUT: %assoc1 => constants.%assoc1.67f -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.7ff -// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.13b -// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.8a6 -// CHECK:STDOUT: %.loc170_5.4 => constants.%.9f3 +// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.2f8 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.7d4 +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.b81 +// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.ea4 +// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.6fc +// CHECK:STDOUT: %.loc170_5.4 => constants.%.3cd // CHECK:STDOUT: %impl.elem1.loc170_5.2 => constants.%Op.b9c47d.5 // CHECK:STDOUT: %specific_impl_fn.loc170_5.3 => constants.%Op.b9c47d.5 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.ce6 -// CHECK:STDOUT: %.loc170_5.5 => constants.%.b23 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.1 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e80 +// CHECK:STDOUT: %.loc170_5.5 => constants.%.154 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.1 // CHECK:STDOUT: %impl.elem0.loc170_5.2 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc170_5.4 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.81a, constants.%Destroy.facet.929, constants.%facet_value.8d1) { -// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.81a -// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.929 +// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.1b8, constants.%Destroy.facet.181, constants.%facet_value.b21) { +// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.1b8 +// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.181 // CHECK:STDOUT: %U.as_type.loc123_36.1 => constants.%i16 -// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.a6e -// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.074 -// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.a3f -// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.fbb -// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.1c2 -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.6b4 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.8ca -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.e89 -// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.4db +// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.63e +// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.bf5 +// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.b0b +// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.b92 +// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.ed9 +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.fdd +// CHECK:STDOUT: %assoc0 => constants.%assoc0.c67 +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.2ab +// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.b1c // CHECK:STDOUT: %Result.as_type.loc123_54.1 => constants.%Int16 -// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.5b5 -// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.8d1 -// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.267 +// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.c90 +// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.b21 +// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.a15 // CHECK:STDOUT: %pattern_type.loc124_16 => constants.%pattern_type.802 // CHECK:STDOUT: %T.as_type.loc124_29.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc124_27 => constants.%pattern_type.802 -// CHECK:STDOUT: %pattern_type.loc124_33 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc124_33 => constants.%pattern_type.e1b // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc124_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_33 => constants.%complete_type.2da -// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.def -// CHECK:STDOUT: %assoc1 => constants.%assoc1.864 -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.d49 -// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.9ad -// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.9c2 -// CHECK:STDOUT: %.loc126_5.4 => constants.%.d11 +// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.b45 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.0e4 +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.9f2 +// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.cea +// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.18e +// CHECK:STDOUT: %.loc126_5.4 => constants.%.1c0 // CHECK:STDOUT: %impl.elem1.loc126_5.2 => constants.%Int16.Op.cc70d5.3 // CHECK:STDOUT: %specific_impl_fn.loc126_5.3 => constants.%Int16.Op.cc70d5.3 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.ce6 -// CHECK:STDOUT: %.loc126_5.5 => constants.%.b23 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.1 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e80 +// CHECK:STDOUT: %.loc126_5.5 => constants.%.154 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.1 // CHECK:STDOUT: %impl.elem0.loc126_5.2 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc126_5.4 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.81a, constants.%Destroy.facet.929, constants.%facet_value.f76) { -// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.81a -// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.929 +// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.1b8, constants.%Destroy.facet.181, constants.%facet_value.2b4) { +// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.1b8 +// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.181 // CHECK:STDOUT: %U.as_type.loc134_36.1 => constants.%i16 -// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.2f5 -// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.352 -// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.982 -// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.757 -// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.311 -// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.70d -// CHECK:STDOUT: %assoc0 => constants.%assoc0.367 -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.7e3 -// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.aa0 +// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.1db +// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.5e7 +// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.bea +// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.9fc +// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.b77 +// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.5df +// CHECK:STDOUT: %assoc0 => constants.%assoc0.870 +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.7b4 +// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.61d // CHECK:STDOUT: %Result.as_type.loc134_54.1 => constants.%Int16 -// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.fbb -// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.f76 -// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.246 +// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.80f +// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.2b4 +// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.7a0 // CHECK:STDOUT: %pattern_type.loc135_16 => constants.%pattern_type.802 // CHECK:STDOUT: %T.as_type.loc135_29.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc135_27 => constants.%pattern_type.802 -// CHECK:STDOUT: %pattern_type.loc135_33 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc135_33 => constants.%pattern_type.e1b // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc135_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_33 => constants.%complete_type.2da -// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.8c1 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.6ca -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.5c6 -// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.7ab -// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.574 -// CHECK:STDOUT: %.loc137_5.4 => constants.%.dd2 +// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.edc +// CHECK:STDOUT: %assoc1 => constants.%assoc1.b6b +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.6a5 +// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.3dd +// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.1ca +// CHECK:STDOUT: %.loc137_5.4 => constants.%.f6d // CHECK:STDOUT: %impl.elem1.loc137_5.2 => constants.%Int16.Op.cc70d5.4 // CHECK:STDOUT: %specific_impl_fn.loc137_5.3 => constants.%Int16.Op.cc70d5.4 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.ce6 -// CHECK:STDOUT: %.loc137_5.5 => constants.%.b23 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.1 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e80 +// CHECK:STDOUT: %.loc137_5.5 => constants.%.154 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.1 // CHECK:STDOUT: %impl.elem0.loc137_5.2 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc137_5.4 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.81a, constants.%Destroy.facet.929, constants.%facet_value.a39) { -// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.81a -// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.929 +// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.1b8, constants.%Destroy.facet.181, constants.%facet_value.88a) { +// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.1b8 +// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.181 // CHECK:STDOUT: %U.as_type.loc145_36.1 => constants.%i16 -// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.278 -// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.bff -// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.92d -// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.4fc -// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.f34 -// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.8cf -// CHECK:STDOUT: %assoc0 => constants.%assoc0.de2 -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.fd5 -// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.004 +// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.c35 +// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.183 +// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.0ef +// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.309 +// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.751 +// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.378 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.7cb +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.b3c +// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.4a2 // CHECK:STDOUT: %Result.as_type.loc145_54.1 => constants.%Int16 -// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.f39 -// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.a39 -// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.9af +// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.6bb +// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.88a +// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.fff // CHECK:STDOUT: %pattern_type.loc146_16 => constants.%pattern_type.802 // CHECK:STDOUT: %T.as_type.loc146_29.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc146_27 => constants.%pattern_type.802 -// CHECK:STDOUT: %pattern_type.loc146_33 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc146_33 => constants.%pattern_type.e1b // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc146_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_33 => constants.%complete_type.2da -// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.514 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.c99 -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.21d -// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.039 -// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.62b -// CHECK:STDOUT: %.loc148_5.4 => constants.%.a8d +// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.355 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.9b3 +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.35c +// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.3b5 +// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.896 +// CHECK:STDOUT: %.loc148_5.4 => constants.%.ca0 // CHECK:STDOUT: %impl.elem1.loc148_5.2 => constants.%Int16.Op.cc70d5.5 // CHECK:STDOUT: %specific_impl_fn.loc148_5.3 => constants.%Int16.Op.cc70d5.5 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.ce6 -// CHECK:STDOUT: %.loc148_5.5 => constants.%.b23 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.1 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e80 +// CHECK:STDOUT: %.loc148_5.5 => constants.%.154 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.1 // CHECK:STDOUT: %impl.elem0.loc148_5.2 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc148_5.4 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.81a, constants.%Destroy.facet.929, constants.%facet_value.0e0) { -// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.81a -// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.929 +// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.1b8, constants.%Destroy.facet.181, constants.%facet_value.473) { +// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.1b8 +// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.181 // CHECK:STDOUT: %U.as_type.loc156_36.1 => constants.%i16 -// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.9b1 -// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.223 -// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.867 -// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.ddd -// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.3fc -// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.746 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.13d -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.7f7 -// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.e0d +// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.086 +// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.ab4 +// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.627 +// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.d56e +// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.4c8 +// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.d3a +// CHECK:STDOUT: %assoc0 => constants.%assoc0.8b8 +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.3d7 +// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.ce6 // CHECK:STDOUT: %Result.as_type.loc156_54.1 => constants.%Int16 -// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.3fe -// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.0e0 -// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.063 +// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.6b1 +// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.473 +// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.92a // CHECK:STDOUT: %pattern_type.loc157_16 => constants.%pattern_type.802 // CHECK:STDOUT: %T.as_type.loc157_29.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc157_27 => constants.%pattern_type.802 -// CHECK:STDOUT: %pattern_type.loc157_33 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc157_33 => constants.%pattern_type.e1b // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc157_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_33 => constants.%complete_type.2da -// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.51d -// CHECK:STDOUT: %assoc1 => constants.%assoc1.84d -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.6a8 -// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.f6b -// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.d99 -// CHECK:STDOUT: %.loc159_5.4 => constants.%.b64 +// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.db2 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.acb +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.52d +// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.8d2 +// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.2d4 +// CHECK:STDOUT: %.loc159_5.4 => constants.%.cb6e // CHECK:STDOUT: %impl.elem1.loc159_5.2 => constants.%Int16.Op.cc70d5.6 // CHECK:STDOUT: %specific_impl_fn.loc159_5.3 => constants.%Int16.Op.cc70d5.6 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.ce6 -// CHECK:STDOUT: %.loc159_5.5 => constants.%.b23 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.1 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e80 +// CHECK:STDOUT: %.loc159_5.5 => constants.%.154 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.1 // CHECK:STDOUT: %impl.elem0.loc159_5.2 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc159_5.4 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.81a, constants.%Destroy.facet.929, constants.%facet_value.be3) { -// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.81a -// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.929 +// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.1b8, constants.%Destroy.facet.181, constants.%facet_value.c3b) { +// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.1b8 +// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.181 // CHECK:STDOUT: %U.as_type.loc167_36.1 => constants.%i16 // CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.59b -// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.c0c -// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.762 -// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.e02 -// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.68f -// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.3a6 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.2b8 -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.cfe -// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.4d9 +// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.4ac +// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.b05 +// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.602 +// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.c10 +// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.95c +// CHECK:STDOUT: %assoc0 => constants.%assoc0.954 +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.ae1 +// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.9ea // CHECK:STDOUT: %Result.as_type.loc167_54.1 => constants.%Int16 -// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.3cb -// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.be3 -// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.7ba +// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.b54 +// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.c3b +// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.87b // CHECK:STDOUT: %pattern_type.loc168_16 => constants.%pattern_type.802 // CHECK:STDOUT: %T.as_type.loc168_29.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc168_27 => constants.%pattern_type.802 -// CHECK:STDOUT: %pattern_type.loc168_33 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc168_33 => constants.%pattern_type.e1b // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc168_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_33 => constants.%complete_type.2da -// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.155 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.a21 -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.cdb -// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.08e -// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.2a7 -// CHECK:STDOUT: %.loc170_5.4 => constants.%.6bc +// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.b14 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.503 +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.887 +// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.8ae +// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.5f0 +// CHECK:STDOUT: %.loc170_5.4 => constants.%.851 // CHECK:STDOUT: %impl.elem1.loc170_5.2 => constants.%Int16.Op.cc70d5.7 // CHECK:STDOUT: %specific_impl_fn.loc170_5.3 => constants.%Int16.Op.cc70d5.7 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.ce6 -// CHECK:STDOUT: %.loc170_5.5 => constants.%.b23 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.1 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e80 +// CHECK:STDOUT: %.loc170_5.5 => constants.%.154 +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.1 // CHECK:STDOUT: %impl.elem0.loc170_5.2 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc170_5.4 => constants.%Int16.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.cff, constants.%Destroy.facet.cff, constants.%facet_value.b10) { -// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.d87, constants.%Destroy.facet.d87, constants.%facet_value.464) { +// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc123_36.1 => constants.%Int32 -// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.468 -// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.ba9 -// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.347 -// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.95c -// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.9fd -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.e39 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.f9d -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.d10 -// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.3a6 +// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.78c +// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.9c9 +// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.495 +// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.f26 +// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.154 +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.882 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.5b9 +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.4d9 +// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.53a // CHECK:STDOUT: %Result.as_type.loc123_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.ca7 -// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.b10 -// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.10c +// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.8fd +// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.464 +// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.15c // CHECK:STDOUT: %pattern_type.loc124_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc124_29.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc124_27 => constants.%pattern_type.802 @@ -2361,38 +2361,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc124_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.a20 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.32d -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.d576a6.1 -// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.7e1 -// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.067b -// CHECK:STDOUT: %.loc126_5.4 => constants.%.1a1 +// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.c57 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.892 +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.e46c75.1 +// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.b3b +// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.675 +// CHECK:STDOUT: %.loc126_5.4 => constants.%.615 // CHECK:STDOUT: %impl.elem1.loc126_5.2 => constants.%Int16.Op.cc70d5.8 // CHECK:STDOUT: %specific_impl_fn.loc126_5.3 => constants.%Int16.Op.cc70d5.8 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc126_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc126_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc126_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc126_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.cff, constants.%Destroy.facet.cff, constants.%facet_value.499) { -// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.d87, constants.%Destroy.facet.d87, constants.%facet_value.197) { +// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc134_36.1 => constants.%Int32 -// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.36c -// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.2eb -// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.f63 -// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.d22 -// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.531 -// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.641 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.820 -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.029 -// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.e1a +// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.629 +// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.6c8 +// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.cbb +// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.dae +// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.11e +// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.a03 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.199 +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.733 +// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.e47 // CHECK:STDOUT: %Result.as_type.loc134_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.53b -// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.499 -// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.0bd5 +// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.02a +// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.197 +// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.553 // CHECK:STDOUT: %pattern_type.loc135_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc135_29.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc135_27 => constants.%pattern_type.802 @@ -2402,38 +2402,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc135_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.08a -// CHECK:STDOUT: %assoc1 => constants.%assoc1.d34f -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.88a574.1 -// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.81b -// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.7f1 -// CHECK:STDOUT: %.loc137_5.4 => constants.%.35f +// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.48a +// CHECK:STDOUT: %assoc1 => constants.%assoc1.bff +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.7ffeb1.1 +// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.da1 +// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.a0e +// CHECK:STDOUT: %.loc137_5.4 => constants.%.1a2 // CHECK:STDOUT: %impl.elem1.loc137_5.2 => constants.%Int16.Op.cc70d5.9 // CHECK:STDOUT: %specific_impl_fn.loc137_5.3 => constants.%Int16.Op.cc70d5.9 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc137_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc137_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc137_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc137_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.cff, constants.%Destroy.facet.cff, constants.%facet_value.714) { -// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.d87, constants.%Destroy.facet.d87, constants.%facet_value.5b3) { +// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc145_36.1 => constants.%Int32 -// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.a1b -// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.493 -// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.e2d -// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.5d8 -// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.cc2 -// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.534 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.266 -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.11c -// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.ef0 +// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.3ee +// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.299 +// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.1c7 +// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.0cf +// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.ba5 +// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.564 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.6fa +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.5ca +// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.cab // CHECK:STDOUT: %Result.as_type.loc145_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.dac -// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.714 -// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.490 +// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.a5c +// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.5b3 +// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.11c // CHECK:STDOUT: %pattern_type.loc146_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc146_29.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc146_27 => constants.%pattern_type.802 @@ -2443,38 +2443,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc146_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.d33 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.5d0 -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.29b64e.1 -// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.741 -// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.5d5 -// CHECK:STDOUT: %.loc148_5.4 => constants.%.8fd +// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.6e9 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.00d +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.68a6cf.1 +// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.c1a +// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.b9a +// CHECK:STDOUT: %.loc148_5.4 => constants.%.f10 // CHECK:STDOUT: %impl.elem1.loc148_5.2 => constants.%Int16.Op.cc70d5.10 // CHECK:STDOUT: %specific_impl_fn.loc148_5.3 => constants.%Int16.Op.cc70d5.10 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc148_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc148_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc148_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc148_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.cff, constants.%Destroy.facet.cff, constants.%facet_value.961) { -// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.d87, constants.%Destroy.facet.d87, constants.%facet_value.6fd) { +// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc156_36.1 => constants.%Int32 -// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.5b3 -// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.8bd -// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.569 -// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.621 -// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.a51 -// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.19e -// CHECK:STDOUT: %assoc0 => constants.%assoc0.600 -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.06e -// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.363 +// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.09b +// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.c6e +// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.988 +// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.36c +// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.f38 +// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.a72 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.d0a +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.c00 +// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.7a0 // CHECK:STDOUT: %Result.as_type.loc156_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.882 -// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.961 -// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.6c2 +// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.b40 +// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.6fd +// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.6b3 // CHECK:STDOUT: %pattern_type.loc157_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc157_29.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc157_27 => constants.%pattern_type.802 @@ -2484,38 +2484,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc157_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.8b9 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.006 -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.ed8572.1 -// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.643 -// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.4f2 -// CHECK:STDOUT: %.loc159_5.4 => constants.%.23a +// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.627 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.489 +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.2ccbdb.1 +// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.b53 +// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.214 +// CHECK:STDOUT: %.loc159_5.4 => constants.%.eff // CHECK:STDOUT: %impl.elem1.loc159_5.2 => constants.%Int16.Op.cc70d5.11 // CHECK:STDOUT: %specific_impl_fn.loc159_5.3 => constants.%Int16.Op.cc70d5.11 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc159_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc159_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc159_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc159_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.cff, constants.%Destroy.facet.cff, constants.%facet_value.fd8) { -// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.d87, constants.%Destroy.facet.d87, constants.%facet_value.592) { +// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc167_36.1 => constants.%Int32 -// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.4ca -// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.7ef -// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.b0b -// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.38f -// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.cd6 -// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.ce3 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.d3a -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.1a9 -// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.2b5 +// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.6f6 +// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.22f +// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.572 +// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.e22 +// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.aac +// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.d09 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.fb6 +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.18e +// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.288 // CHECK:STDOUT: %Result.as_type.loc167_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.f6f -// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.fd8 -// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.218 +// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.88b +// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.592 +// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.dda // CHECK:STDOUT: %pattern_type.loc168_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc168_29.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc168_27 => constants.%pattern_type.802 @@ -2525,38 +2525,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc168_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.76f -// CHECK:STDOUT: %assoc1 => constants.%assoc1.e15 -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.775a7e.1 -// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.fe3 -// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.d57 -// CHECK:STDOUT: %.loc170_5.4 => constants.%.fc5 +// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.1cf +// CHECK:STDOUT: %assoc1 => constants.%assoc1.56e +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.596ded.1 +// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.142 +// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.513 +// CHECK:STDOUT: %.loc170_5.4 => constants.%.699 // CHECK:STDOUT: %impl.elem1.loc170_5.2 => constants.%Int16.Op.cc70d5.12 // CHECK:STDOUT: %specific_impl_fn.loc170_5.3 => constants.%Int16.Op.cc70d5.12 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc170_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc170_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc170_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc170_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.cff, constants.%Destroy.facet.81a, constants.%facet_value.355) { -// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.81a +// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.d87, constants.%Destroy.facet.1b8, constants.%facet_value.f2b) { +// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.1b8 // CHECK:STDOUT: %U.as_type.loc123_36.1 => constants.%Int16 -// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.f72 -// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.cef -// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.f0e -// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.de7 -// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.766 -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.02d -// CHECK:STDOUT: %assoc0 => constants.%assoc0.2eb -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.394 -// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.33b +// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.6f4 +// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.f17 +// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.863 +// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.211 +// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.db9 +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.e37 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.4ec +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.896 +// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.2d1 // CHECK:STDOUT: %Result.as_type.loc123_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.871 -// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.355 -// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.4a5 +// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.558 +// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.f2b +// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.715 // CHECK:STDOUT: %pattern_type.loc124_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc124_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc124_27 => constants.%pattern_type.e9d @@ -2566,38 +2566,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc124_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.5ae -// CHECK:STDOUT: %assoc1 => constants.%assoc1.a86 -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.6bd -// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.9fc -// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.d86 -// CHECK:STDOUT: %.loc126_5.4 => constants.%.742 +// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.386 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.c66 +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.e32 +// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.aef +// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.0aa +// CHECK:STDOUT: %.loc126_5.4 => constants.%.211 // CHECK:STDOUT: %impl.elem1.loc126_5.2 => constants.%Int32.Op.cc70d5.2 // CHECK:STDOUT: %specific_impl_fn.loc126_5.3 => constants.%Int32.Op.cc70d5.2 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc126_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc126_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc126_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc126_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.cff, constants.%Destroy.facet.81a, constants.%facet_value.903) { -// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.81a +// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.d87, constants.%Destroy.facet.1b8, constants.%facet_value.dc0) { +// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.1b8 // CHECK:STDOUT: %U.as_type.loc134_36.1 => constants.%Int16 -// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.51c -// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.c1e -// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.3cc -// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.75e -// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.dcb -// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.5cb -// CHECK:STDOUT: %assoc0 => constants.%assoc0.381 -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.fe2 -// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.76d +// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.8bd +// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.c80 +// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.700 +// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.a74 +// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.c4d +// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.eb8 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.8a1 +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.e8f +// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.0b0 // CHECK:STDOUT: %Result.as_type.loc134_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.935 -// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.903 -// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.041 +// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.064 +// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.dc0 +// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.b06 // CHECK:STDOUT: %pattern_type.loc135_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc135_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc135_27 => constants.%pattern_type.e9d @@ -2607,38 +2607,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc135_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.091 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.acb -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.4a6 -// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.38c -// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.13b -// CHECK:STDOUT: %.loc137_5.4 => constants.%.286 +// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.41c +// CHECK:STDOUT: %assoc1 => constants.%assoc1.937f +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.395 +// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.9f2 +// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.bba +// CHECK:STDOUT: %.loc137_5.4 => constants.%.2b2 // CHECK:STDOUT: %impl.elem1.loc137_5.2 => constants.%Int32.Op.cc70d5.3 // CHECK:STDOUT: %specific_impl_fn.loc137_5.3 => constants.%Int32.Op.cc70d5.3 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc137_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc137_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc137_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc137_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.cff, constants.%Destroy.facet.81a, constants.%facet_value.22a) { -// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.81a +// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.d87, constants.%Destroy.facet.1b8, constants.%facet_value.ff0) { +// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.1b8 // CHECK:STDOUT: %U.as_type.loc145_36.1 => constants.%Int16 -// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.40b -// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.98f -// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.1c9 -// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.64c -// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.85f -// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.533 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.8f1 -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.a93 -// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.cce +// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.c25 +// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.d27 +// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.e39 +// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.aa7 +// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.87e +// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.543 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.81e +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.5e1 +// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.e54 // CHECK:STDOUT: %Result.as_type.loc145_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.e67 -// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.22a -// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.53f +// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.d97 +// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.ff0 +// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.3ec // CHECK:STDOUT: %pattern_type.loc146_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc146_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc146_27 => constants.%pattern_type.e9d @@ -2648,38 +2648,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc146_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.ada -// CHECK:STDOUT: %assoc1 => constants.%assoc1.bee -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.8eb7 -// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.e5f -// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.072 -// CHECK:STDOUT: %.loc148_5.4 => constants.%.f85 +// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.b16 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.911 +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.678 +// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.9cb +// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.15f +// CHECK:STDOUT: %.loc148_5.4 => constants.%.dd6 // CHECK:STDOUT: %impl.elem1.loc148_5.2 => constants.%Int32.Op.cc70d5.4 // CHECK:STDOUT: %specific_impl_fn.loc148_5.3 => constants.%Int32.Op.cc70d5.4 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc148_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc148_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc148_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc148_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.cff, constants.%Destroy.facet.81a, constants.%facet_value.b06) { -// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.81a +// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.d87, constants.%Destroy.facet.1b8, constants.%facet_value.42a) { +// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.1b8 // CHECK:STDOUT: %U.as_type.loc156_36.1 => constants.%Int16 -// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.2b7 -// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.521 -// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.5ce -// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.236 -// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.2c8 -// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.f24 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.e80 -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.f18 -// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.45d +// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.053 +// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.8eb +// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.467 +// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.d563 +// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.3cd +// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.73e +// CHECK:STDOUT: %assoc0 => constants.%assoc0.e96 +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.9bc +// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.5c6 // CHECK:STDOUT: %Result.as_type.loc156_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.576 -// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.b06 -// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.240 +// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.aa6 +// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.42a +// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.814 // CHECK:STDOUT: %pattern_type.loc157_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc157_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc157_27 => constants.%pattern_type.e9d @@ -2689,38 +2689,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc157_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.aae -// CHECK:STDOUT: %assoc1 => constants.%assoc1.113 -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.7d5 -// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.dee -// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.1e1 -// CHECK:STDOUT: %.loc159_5.4 => constants.%.278 +// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.7c5 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.10b +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.8ad +// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.53f +// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.ba3 +// CHECK:STDOUT: %.loc159_5.4 => constants.%.540 // CHECK:STDOUT: %impl.elem1.loc159_5.2 => constants.%Int32.Op.cc70d5.5 // CHECK:STDOUT: %specific_impl_fn.loc159_5.3 => constants.%Int32.Op.cc70d5.5 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc159_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc159_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc159_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc159_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.cff, constants.%Destroy.facet.81a, constants.%facet_value.0f2) { -// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.81a +// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.d87, constants.%Destroy.facet.1b8, constants.%facet_value.7ad) { +// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.1b8 // CHECK:STDOUT: %U.as_type.loc167_36.1 => constants.%Int16 -// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.06a -// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.eee -// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.5ab -// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.26b -// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.c50 -// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.a11 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.418 -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.c9e -// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.044 +// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.a83 +// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.dc7 +// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.703 +// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.65d +// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.c72 +// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.55b +// CHECK:STDOUT: %assoc0 => constants.%assoc0.8a3 +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.c7a +// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.094 // CHECK:STDOUT: %Result.as_type.loc167_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.745 -// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.0f2 -// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.dbb +// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.b16 +// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.7ad +// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.7fa // CHECK:STDOUT: %pattern_type.loc168_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc168_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc168_27 => constants.%pattern_type.e9d @@ -2730,38 +2730,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc168_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.20b -// CHECK:STDOUT: %assoc1 => constants.%assoc1.67f -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.5f4 -// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.9f3 -// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.156 -// CHECK:STDOUT: %.loc170_5.4 => constants.%.433 +// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.2f8 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.7d4 +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.f63 +// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.0ea +// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.aeb +// CHECK:STDOUT: %.loc170_5.4 => constants.%.b1a // CHECK:STDOUT: %impl.elem1.loc170_5.2 => constants.%Int32.Op.cc70d5.6 // CHECK:STDOUT: %specific_impl_fn.loc170_5.3 => constants.%Int32.Op.cc70d5.6 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc170_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc170_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc170_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc170_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.cff, constants.%Destroy.facet.cff, constants.%facet_value.52a) { -// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.d87, constants.%Destroy.facet.d87, constants.%facet_value.f56) { +// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc123_36.1 => constants.%Int32 -// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.468 -// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.ba9 -// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.347 -// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.95c -// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.9fd -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.e39 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.f9d -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.d10 -// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.3a6 +// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.78c +// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.9c9 +// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.495 +// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.f26 +// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.154 +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.882 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.5b9 +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.4d9 +// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.53a // CHECK:STDOUT: %Result.as_type.loc123_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.ca7 -// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.52a -// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.10c +// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.8fd +// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.f56 +// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.15c // CHECK:STDOUT: %pattern_type.loc124_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc124_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc124_27 => constants.%pattern_type.e9d @@ -2771,38 +2771,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc124_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.a20 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.32d -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.d576a6.2 -// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.9fb -// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.8f0 -// CHECK:STDOUT: %.loc126_5.4 => constants.%.bb9 +// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.c57 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.892 +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.e46c75.2 +// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.616 +// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.9e3 +// CHECK:STDOUT: %.loc126_5.4 => constants.%.d9d // CHECK:STDOUT: %impl.elem1.loc126_5.2 => constants.%Int32.Op.cc70d5.7 // CHECK:STDOUT: %specific_impl_fn.loc126_5.3 => constants.%Int32.Op.cc70d5.7 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc126_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc126_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc126_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc126_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.cff, constants.%Destroy.facet.cff, constants.%facet_value.fdc) { -// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.d87, constants.%Destroy.facet.d87, constants.%facet_value.8a6) { +// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc134_36.1 => constants.%Int32 -// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.36c -// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.2eb -// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.f63 -// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.d22 -// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.531 -// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.641 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.820 -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.029 -// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.e1a +// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.629 +// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.6c8 +// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.cbb +// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.dae +// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.11e +// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.a03 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.199 +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.733 +// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.e47 // CHECK:STDOUT: %Result.as_type.loc134_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.53b -// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.fdc -// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.0bd5 +// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.02a +// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.8a6 +// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.553 // CHECK:STDOUT: %pattern_type.loc135_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc135_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc135_27 => constants.%pattern_type.e9d @@ -2812,38 +2812,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc135_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.08a -// CHECK:STDOUT: %assoc1 => constants.%assoc1.d34f -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.88a574.2 -// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.0fc -// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.8e3 -// CHECK:STDOUT: %.loc137_5.4 => constants.%.99d +// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.48a +// CHECK:STDOUT: %assoc1 => constants.%assoc1.bff +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.7ffeb1.2 +// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.36d +// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.1db +// CHECK:STDOUT: %.loc137_5.4 => constants.%.613 // CHECK:STDOUT: %impl.elem1.loc137_5.2 => constants.%Int32.Op.cc70d5.8 // CHECK:STDOUT: %specific_impl_fn.loc137_5.3 => constants.%Int32.Op.cc70d5.8 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc137_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc137_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc137_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc137_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.cff, constants.%Destroy.facet.cff, constants.%facet_value.561) { -// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.d87, constants.%Destroy.facet.d87, constants.%facet_value.e09) { +// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc145_36.1 => constants.%Int32 -// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.a1b -// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.493 -// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.e2d -// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.5d8 -// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.cc2 -// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.534 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.266 -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.11c -// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.ef0 +// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.3ee +// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.299 +// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.1c7 +// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.0cf +// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.ba5 +// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.564 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.6fa +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.5ca +// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.cab // CHECK:STDOUT: %Result.as_type.loc145_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.dac -// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.561 -// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.490 +// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.a5c +// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.e09 +// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.11c // CHECK:STDOUT: %pattern_type.loc146_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc146_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc146_27 => constants.%pattern_type.e9d @@ -2853,38 +2853,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc146_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.d33 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.5d0 -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.29b64e.2 -// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.845 -// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.dc5 -// CHECK:STDOUT: %.loc148_5.4 => constants.%.fbd +// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.6e9 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.00d +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.68a6cf.2 +// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.dd3 +// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.854 +// CHECK:STDOUT: %.loc148_5.4 => constants.%.ec7 // CHECK:STDOUT: %impl.elem1.loc148_5.2 => constants.%Int32.Op.cc70d5.9 // CHECK:STDOUT: %specific_impl_fn.loc148_5.3 => constants.%Int32.Op.cc70d5.9 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc148_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc148_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc148_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc148_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.cff, constants.%Destroy.facet.cff, constants.%facet_value.9c5) { -// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.d87, constants.%Destroy.facet.d87, constants.%facet_value.a3b) { +// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc156_36.1 => constants.%Int32 -// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.5b3 -// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.8bd -// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.569 -// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.621 -// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.a51 -// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.19e -// CHECK:STDOUT: %assoc0 => constants.%assoc0.600 -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.06e -// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.363 +// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.09b +// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.c6e +// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.988 +// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.36c +// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.f38 +// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.a72 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.d0a +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.c00 +// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.7a0 // CHECK:STDOUT: %Result.as_type.loc156_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.882 -// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.9c5 -// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.6c2 +// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.b40 +// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.a3b +// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.6b3 // CHECK:STDOUT: %pattern_type.loc157_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc157_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc157_27 => constants.%pattern_type.e9d @@ -2894,38 +2894,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc157_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.8b9 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.006 -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.ed8572.2 -// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.96a -// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.a2d -// CHECK:STDOUT: %.loc159_5.4 => constants.%.f67 +// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.627 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.489 +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.2ccbdb.2 +// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.c86 +// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.e4e +// CHECK:STDOUT: %.loc159_5.4 => constants.%.865 // CHECK:STDOUT: %impl.elem1.loc159_5.2 => constants.%Int32.Op.cc70d5.10 // CHECK:STDOUT: %specific_impl_fn.loc159_5.3 => constants.%Int32.Op.cc70d5.10 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc159_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc159_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc159_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc159_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.cff, constants.%Destroy.facet.cff, constants.%facet_value.06b) { -// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.cff -// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.d87, constants.%Destroy.facet.d87, constants.%facet_value.40c) { +// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.d87 +// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc167_36.1 => constants.%Int32 -// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.4ca -// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.7ef -// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.b0b -// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.38f -// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.cd6 -// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.ce3 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.d3a -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.1a9 -// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.2b5 +// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.6f6 +// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.22f +// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.572 +// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.e22 +// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.aac +// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.d09 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.fb6 +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.18e +// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.288 // CHECK:STDOUT: %Result.as_type.loc167_54.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.f6f -// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.06b -// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.218 +// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.88b +// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.40c +// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.dda // CHECK:STDOUT: %pattern_type.loc168_16 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc168_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc168_27 => constants.%pattern_type.e9d @@ -2935,38 +2935,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc168_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.76f -// CHECK:STDOUT: %assoc1 => constants.%assoc1.e15 -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.775a7e.2 -// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.7c4 -// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.c92 -// CHECK:STDOUT: %.loc170_5.4 => constants.%.df9 +// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.1cf +// CHECK:STDOUT: %assoc1 => constants.%assoc1.56e +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.596ded.2 +// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.c80 +// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.e0b +// CHECK:STDOUT: %.loc170_5.4 => constants.%.d2e // CHECK:STDOUT: %impl.elem1.loc170_5.2 => constants.%Int32.Op.cc70d5.11 // CHECK:STDOUT: %specific_impl_fn.loc170_5.3 => constants.%Int32.Op.cc70d5.11 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc170_5.5 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc170_5.5 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc170_5.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc170_5.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.787, constants.%Destroy.facet.787, constants.%facet_value.4d8) { -// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.787 -// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.787 +// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.3de, constants.%Destroy.facet.3de, constants.%facet_value.5d2) { +// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.3de +// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.3de // CHECK:STDOUT: %U.as_type.loc123_36.1 => constants.%Int64 -// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.a00 -// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.328 -// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.643 -// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.3d6 -// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.37c -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.8b7 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.d15 -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.017 -// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.c37 +// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.01b +// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.fb6 +// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.d3e +// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.900 +// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.1db +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.7c5 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.f19 +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.708 +// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.86a // CHECK:STDOUT: %Result.as_type.loc123_54.1 => constants.%Int64 -// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.8fd -// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.4d8 -// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.826 +// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.376 +// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.5d2 +// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.e29 // CHECK:STDOUT: %pattern_type.loc124_16 => constants.%pattern_type.7b1 // CHECK:STDOUT: %T.as_type.loc124_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc124_27 => constants.%pattern_type.e9d @@ -2976,38 +2976,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc124_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.ef2 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.5d1 -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.956 -// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.881 -// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.b6d -// CHECK:STDOUT: %.loc126_5.4 => constants.%.acd +// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.495 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.3e0 +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.e1e +// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.31a +// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.c0a +// CHECK:STDOUT: %.loc126_5.4 => constants.%.2ba // CHECK:STDOUT: %impl.elem1.loc126_5.2 => constants.%Op.b9c47d.6 // CHECK:STDOUT: %specific_impl_fn.loc126_5.3 => constants.%Op.b9c47d.6 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.01d -// CHECK:STDOUT: %.loc126_5.5 => constants.%.0f7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.3 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.2bb +// CHECK:STDOUT: %.loc126_5.5 => constants.%.dda +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.3 // CHECK:STDOUT: %impl.elem0.loc126_5.2 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc126_5.4 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.787, constants.%Destroy.facet.787, constants.%facet_value.9e5) { -// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.787 -// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.787 +// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.3de, constants.%Destroy.facet.3de, constants.%facet_value.916) { +// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.3de +// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.3de // CHECK:STDOUT: %U.as_type.loc134_36.1 => constants.%Int64 -// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.c91 -// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.45b -// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.32f -// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.6c6 -// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.d56 -// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.b5d -// CHECK:STDOUT: %assoc0 => constants.%assoc0.a4a -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.919 -// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.634 +// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.82c +// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.038 +// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.869 +// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.e31 +// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.824 +// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.f62 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.018 +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.c9f +// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.6f7 // CHECK:STDOUT: %Result.as_type.loc134_54.1 => constants.%Int64 -// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.c72 -// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.9e5 -// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.9ae +// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.4a1 +// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.916 +// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.58c // CHECK:STDOUT: %pattern_type.loc135_16 => constants.%pattern_type.7b1 // CHECK:STDOUT: %T.as_type.loc135_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc135_27 => constants.%pattern_type.e9d @@ -3017,38 +3017,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc135_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.ac8 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.197 -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.a20 -// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.ac7 -// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.41c -// CHECK:STDOUT: %.loc137_5.4 => constants.%.9a9 +// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.cc7 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.1cf +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.053 +// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.9cc +// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.a06 +// CHECK:STDOUT: %.loc137_5.4 => constants.%.086 // CHECK:STDOUT: %impl.elem1.loc137_5.2 => constants.%Op.b9c47d.7 // CHECK:STDOUT: %specific_impl_fn.loc137_5.3 => constants.%Op.b9c47d.7 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.01d -// CHECK:STDOUT: %.loc137_5.5 => constants.%.0f7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.3 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.2bb +// CHECK:STDOUT: %.loc137_5.5 => constants.%.dda +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.3 // CHECK:STDOUT: %impl.elem0.loc137_5.2 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc137_5.4 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.787, constants.%Destroy.facet.787, constants.%facet_value.582) { -// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.787 -// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.787 +// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.3de, constants.%Destroy.facet.3de, constants.%facet_value.7ba) { +// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.3de +// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.3de // CHECK:STDOUT: %U.as_type.loc145_36.1 => constants.%Int64 -// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.5ad -// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.cbc -// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.e7c -// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.786 -// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.a8f -// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.c04 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.68c -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.966 -// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.7e2 +// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.9ed +// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.e03 +// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.d17 +// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.25d +// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.a7c +// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.8d1 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.c01 +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.13a +// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.7f7 // CHECK:STDOUT: %Result.as_type.loc145_54.1 => constants.%Int64 -// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.c0f -// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.582 -// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.251 +// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.88c +// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.7ba +// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.c54 // CHECK:STDOUT: %pattern_type.loc146_16 => constants.%pattern_type.7b1 // CHECK:STDOUT: %T.as_type.loc146_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc146_27 => constants.%pattern_type.e9d @@ -3058,38 +3058,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc146_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.d1a -// CHECK:STDOUT: %assoc1 => constants.%assoc1.db7 -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.318 -// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.aee -// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.e87 -// CHECK:STDOUT: %.loc148_5.4 => constants.%.ae6 +// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.da6 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.eef +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.f29 +// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.83a +// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.bc6 +// CHECK:STDOUT: %.loc148_5.4 => constants.%.ca6 // CHECK:STDOUT: %impl.elem1.loc148_5.2 => constants.%Op.b9c47d.8 // CHECK:STDOUT: %specific_impl_fn.loc148_5.3 => constants.%Op.b9c47d.8 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.01d -// CHECK:STDOUT: %.loc148_5.5 => constants.%.0f7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.3 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.2bb +// CHECK:STDOUT: %.loc148_5.5 => constants.%.dda +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.3 // CHECK:STDOUT: %impl.elem0.loc148_5.2 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc148_5.4 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.787, constants.%Destroy.facet.787, constants.%facet_value.6ba) { -// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.787 -// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.787 +// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.3de, constants.%Destroy.facet.3de, constants.%facet_value.969) { +// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.3de +// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.3de // CHECK:STDOUT: %U.as_type.loc156_36.1 => constants.%Int64 -// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.6d6 -// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.c6f -// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.b9d -// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.12e -// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.9e3 -// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.946 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.c8e -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.358 -// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.113 +// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.7ac +// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.d41 +// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.73b +// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.67e +// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.e27 +// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.bfe +// CHECK:STDOUT: %assoc0 => constants.%assoc0.578 +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.12e +// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.2db // CHECK:STDOUT: %Result.as_type.loc156_54.1 => constants.%Int64 -// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.75d -// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.6ba -// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.348 +// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.604 +// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.969 +// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.171 // CHECK:STDOUT: %pattern_type.loc157_16 => constants.%pattern_type.7b1 // CHECK:STDOUT: %T.as_type.loc157_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc157_27 => constants.%pattern_type.e9d @@ -3099,38 +3099,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc157_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.2f1 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.156 -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.143 -// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.dcc -// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.aca -// CHECK:STDOUT: %.loc159_5.4 => constants.%.359 +// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.dba +// CHECK:STDOUT: %assoc1 => constants.%assoc1.c32 +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.863 +// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.62d +// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.90b +// CHECK:STDOUT: %.loc159_5.4 => constants.%.cb62 // CHECK:STDOUT: %impl.elem1.loc159_5.2 => constants.%Op.b9c47d.9 // CHECK:STDOUT: %specific_impl_fn.loc159_5.3 => constants.%Op.b9c47d.9 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.01d -// CHECK:STDOUT: %.loc159_5.5 => constants.%.0f7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.3 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.2bb +// CHECK:STDOUT: %.loc159_5.5 => constants.%.dda +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.3 // CHECK:STDOUT: %impl.elem0.loc159_5.2 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc159_5.4 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.787, constants.%Destroy.facet.787, constants.%facet_value.6cd) { -// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.787 -// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.787 +// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.3de, constants.%Destroy.facet.3de, constants.%facet_value.0ea) { +// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.3de +// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.3de // CHECK:STDOUT: %U.as_type.loc167_36.1 => constants.%Int64 -// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.d62 -// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.0d9 -// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.8a7 -// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.3e7 -// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.c68 -// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.cdd -// CHECK:STDOUT: %assoc0 => constants.%assoc0.cb9 -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.112 -// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.079 +// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.6b0 +// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.dfd +// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.5bc +// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.76b +// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.97b +// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.eb7 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.8a2 +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.45e +// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.f40 // CHECK:STDOUT: %Result.as_type.loc167_54.1 => constants.%Int64 -// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.a6f -// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.6cd -// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.1af +// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.d93 +// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.0ea +// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.5a9 // CHECK:STDOUT: %pattern_type.loc168_16 => constants.%pattern_type.7b1 // CHECK:STDOUT: %T.as_type.loc168_29.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc168_27 => constants.%pattern_type.e9d @@ -3140,38 +3140,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc168_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.da3 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.d34e -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.af4 -// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.5fe -// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.2ca -// CHECK:STDOUT: %.loc170_5.4 => constants.%.241 +// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.f9c +// CHECK:STDOUT: %assoc1 => constants.%assoc1.fa5 +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.eb8 +// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.02b +// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.17d +// CHECK:STDOUT: %.loc170_5.4 => constants.%.0ca // CHECK:STDOUT: %impl.elem1.loc170_5.2 => constants.%Op.b9c47d.10 // CHECK:STDOUT: %specific_impl_fn.loc170_5.3 => constants.%Op.b9c47d.10 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.01d -// CHECK:STDOUT: %.loc170_5.5 => constants.%.0f7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.3 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.2bb +// CHECK:STDOUT: %.loc170_5.5 => constants.%.dda +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.3 // CHECK:STDOUT: %impl.elem0.loc170_5.2 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc170_5.4 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.787, constants.%Destroy.facet.cff, constants.%facet_value.c06) { -// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.787 -// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @AddWith.loc124(constants.%Destroy.facet.3de, constants.%Destroy.facet.d87, constants.%facet_value.706) { +// CHECK:STDOUT: %Result.loc121_9.1 => constants.%Destroy.facet.3de +// CHECK:STDOUT: %U.loc122_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc123_36.1 => constants.%Int32 -// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.468 -// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.ba9 -// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.347 -// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.95c -// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.9fd -// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.e39 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.f9d -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.d10 -// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.3a6 +// CHECK:STDOUT: %AddWith.type.loc123_36.1 => constants.%AddWith.type.78c +// CHECK:STDOUT: %facet_type.loc123_20 => constants.%facet_type.9c9 +// CHECK:STDOUT: %.Self.loc123_38.1 => constants.%.Self.495 +// CHECK:STDOUT: %require_complete.loc123 => constants.%complete_type.f26 +// CHECK:STDOUT: %.Self.as_type.loc123_44.1 => constants.%.Self.as_type.154 +// CHECK:STDOUT: %AddWith.assoc_type => constants.%AddWith.assoc_type.882 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.5b9 +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc123 => constants.%AddWith.lookup_impl_witness.4d9 +// CHECK:STDOUT: %impl.elem0.loc123_44.1 => constants.%impl.elem0.53a // CHECK:STDOUT: %Result.as_type.loc123_54.1 => constants.%Int64 -// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.5ef -// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.c06 -// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.80a +// CHECK:STDOUT: %facet_type.loc123_38 => constants.%facet_type.002 +// CHECK:STDOUT: %T.loc123_4.1 => constants.%facet_value.706 +// CHECK:STDOUT: %pattern_type.loc123 => constants.%pattern_type.429 // CHECK:STDOUT: %pattern_type.loc124_16 => constants.%pattern_type.7b1 // CHECK:STDOUT: %T.as_type.loc124_29.1 => constants.%Int64 // CHECK:STDOUT: %pattern_type.loc124_27 => constants.%pattern_type.7b1 @@ -3181,38 +3181,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc124_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc124_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.a20 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.32d -// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.ca2 -// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.f65 -// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.f90 -// CHECK:STDOUT: %.loc126_5.4 => constants.%.9c9 +// CHECK:STDOUT: %require_complete.loc126 => constants.%complete_type.c57 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.892 +// CHECK:STDOUT: %AddWith.lookup_impl_witness.loc126 => constants.%custom_witness.483 +// CHECK:STDOUT: %AddWith.facet => constants.%AddWith.facet.6a1 +// CHECK:STDOUT: %AddWith.WithSelf.Op.type => constants.%AddWith.WithSelf.Op.type.5ee +// CHECK:STDOUT: %.loc126_5.4 => constants.%.11a // CHECK:STDOUT: %impl.elem1.loc126_5.2 => constants.%Op.b9c47d.11 // CHECK:STDOUT: %specific_impl_fn.loc126_5.3 => constants.%Op.b9c47d.11 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.01d -// CHECK:STDOUT: %.loc126_5.5 => constants.%.0f7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.3 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.2bb +// CHECK:STDOUT: %.loc126_5.5 => constants.%.dda +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.3 // CHECK:STDOUT: %impl.elem0.loc126_5.2 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc126_5.4 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.787, constants.%Destroy.facet.cff, constants.%facet_value.106) { -// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.787 -// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @SubWith.loc135(constants.%Destroy.facet.3de, constants.%Destroy.facet.d87, constants.%facet_value.1d6) { +// CHECK:STDOUT: %Result.loc132_9.1 => constants.%Destroy.facet.3de +// CHECK:STDOUT: %U.loc133_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc134_36.1 => constants.%Int32 -// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.36c -// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.2eb -// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.f63 -// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.d22 -// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.531 -// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.641 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.820 -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.029 -// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.e1a +// CHECK:STDOUT: %SubWith.type.loc134_36.1 => constants.%SubWith.type.629 +// CHECK:STDOUT: %facet_type.loc134_20 => constants.%facet_type.6c8 +// CHECK:STDOUT: %.Self.loc134_38.1 => constants.%.Self.cbb +// CHECK:STDOUT: %require_complete.loc134 => constants.%complete_type.dae +// CHECK:STDOUT: %.Self.as_type.loc134_44.1 => constants.%.Self.as_type.11e +// CHECK:STDOUT: %SubWith.assoc_type => constants.%SubWith.assoc_type.a03 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.199 +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc134 => constants.%SubWith.lookup_impl_witness.733 +// CHECK:STDOUT: %impl.elem0.loc134_44.1 => constants.%impl.elem0.e47 // CHECK:STDOUT: %Result.as_type.loc134_54.1 => constants.%Int64 -// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.77f -// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.106 -// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.86a +// CHECK:STDOUT: %facet_type.loc134_38 => constants.%facet_type.a40 +// CHECK:STDOUT: %T.loc134_4.1 => constants.%facet_value.1d6 +// CHECK:STDOUT: %pattern_type.loc134 => constants.%pattern_type.59c // CHECK:STDOUT: %pattern_type.loc135_16 => constants.%pattern_type.7b1 // CHECK:STDOUT: %T.as_type.loc135_29.1 => constants.%Int64 // CHECK:STDOUT: %pattern_type.loc135_27 => constants.%pattern_type.7b1 @@ -3222,38 +3222,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc135_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc135_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.08a -// CHECK:STDOUT: %assoc1 => constants.%assoc1.d34f -// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.274 -// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.7e1 -// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.034 -// CHECK:STDOUT: %.loc137_5.4 => constants.%.2b5 +// CHECK:STDOUT: %require_complete.loc137 => constants.%complete_type.48a +// CHECK:STDOUT: %assoc1 => constants.%assoc1.bff +// CHECK:STDOUT: %SubWith.lookup_impl_witness.loc137 => constants.%custom_witness.095 +// CHECK:STDOUT: %SubWith.facet => constants.%SubWith.facet.8cb +// CHECK:STDOUT: %SubWith.WithSelf.Op.type => constants.%SubWith.WithSelf.Op.type.1b8 +// CHECK:STDOUT: %.loc137_5.4 => constants.%.51b // CHECK:STDOUT: %impl.elem1.loc137_5.2 => constants.%Op.b9c47d.12 // CHECK:STDOUT: %specific_impl_fn.loc137_5.3 => constants.%Op.b9c47d.12 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.01d -// CHECK:STDOUT: %.loc137_5.5 => constants.%.0f7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.3 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.2bb +// CHECK:STDOUT: %.loc137_5.5 => constants.%.dda +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.3 // CHECK:STDOUT: %impl.elem0.loc137_5.2 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc137_5.4 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.787, constants.%Destroy.facet.cff, constants.%facet_value.f97) { -// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.787 -// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @MulWith.loc146(constants.%Destroy.facet.3de, constants.%Destroy.facet.d87, constants.%facet_value.3ed) { +// CHECK:STDOUT: %Result.loc143_9.1 => constants.%Destroy.facet.3de +// CHECK:STDOUT: %U.loc144_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc145_36.1 => constants.%Int32 -// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.a1b -// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.493 -// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.e2d -// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.5d8 -// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.cc2 -// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.534 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.266 -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.11c -// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.ef0 +// CHECK:STDOUT: %MulWith.type.loc145_36.1 => constants.%MulWith.type.3ee +// CHECK:STDOUT: %facet_type.loc145_20 => constants.%facet_type.299 +// CHECK:STDOUT: %.Self.loc145_38.1 => constants.%.Self.1c7 +// CHECK:STDOUT: %require_complete.loc145 => constants.%complete_type.0cf +// CHECK:STDOUT: %.Self.as_type.loc145_44.1 => constants.%.Self.as_type.ba5 +// CHECK:STDOUT: %MulWith.assoc_type => constants.%MulWith.assoc_type.564 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.6fa +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc145 => constants.%MulWith.lookup_impl_witness.5ca +// CHECK:STDOUT: %impl.elem0.loc145_44.1 => constants.%impl.elem0.cab // CHECK:STDOUT: %Result.as_type.loc145_54.1 => constants.%Int64 -// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.751 -// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.f97 -// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.a3e +// CHECK:STDOUT: %facet_type.loc145_38 => constants.%facet_type.ac8 +// CHECK:STDOUT: %T.loc145_4.1 => constants.%facet_value.3ed +// CHECK:STDOUT: %pattern_type.loc145 => constants.%pattern_type.5de // CHECK:STDOUT: %pattern_type.loc146_16 => constants.%pattern_type.7b1 // CHECK:STDOUT: %T.as_type.loc146_29.1 => constants.%Int64 // CHECK:STDOUT: %pattern_type.loc146_27 => constants.%pattern_type.7b1 @@ -3263,38 +3263,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc146_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc146_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.d33 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.5d0 -// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.286 -// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.2fc -// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.8a2 -// CHECK:STDOUT: %.loc148_5.4 => constants.%.3bd +// CHECK:STDOUT: %require_complete.loc148 => constants.%complete_type.6e9 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.00d +// CHECK:STDOUT: %MulWith.lookup_impl_witness.loc148 => constants.%custom_witness.f6e +// CHECK:STDOUT: %MulWith.facet => constants.%MulWith.facet.e61 +// CHECK:STDOUT: %MulWith.WithSelf.Op.type => constants.%MulWith.WithSelf.Op.type.d31 +// CHECK:STDOUT: %.loc148_5.4 => constants.%.2e4 // CHECK:STDOUT: %impl.elem1.loc148_5.2 => constants.%Op.b9c47d.13 // CHECK:STDOUT: %specific_impl_fn.loc148_5.3 => constants.%Op.b9c47d.13 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.01d -// CHECK:STDOUT: %.loc148_5.5 => constants.%.0f7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.3 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.2bb +// CHECK:STDOUT: %.loc148_5.5 => constants.%.dda +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.3 // CHECK:STDOUT: %impl.elem0.loc148_5.2 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc148_5.4 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.787, constants.%Destroy.facet.cff, constants.%facet_value.b56) { -// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.787 -// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @DivWith.loc157(constants.%Destroy.facet.3de, constants.%Destroy.facet.d87, constants.%facet_value.4d6) { +// CHECK:STDOUT: %Result.loc154_9.1 => constants.%Destroy.facet.3de +// CHECK:STDOUT: %U.loc155_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc156_36.1 => constants.%Int32 -// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.5b3 -// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.8bd -// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.569 -// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.621 -// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.a51 -// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.19e -// CHECK:STDOUT: %assoc0 => constants.%assoc0.600 -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.06e -// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.363 +// CHECK:STDOUT: %DivWith.type.loc156_36.1 => constants.%DivWith.type.09b +// CHECK:STDOUT: %facet_type.loc156_20 => constants.%facet_type.c6e +// CHECK:STDOUT: %.Self.loc156_38.1 => constants.%.Self.988 +// CHECK:STDOUT: %require_complete.loc156 => constants.%complete_type.36c +// CHECK:STDOUT: %.Self.as_type.loc156_44.1 => constants.%.Self.as_type.f38 +// CHECK:STDOUT: %DivWith.assoc_type => constants.%DivWith.assoc_type.a72 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.d0a +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc156 => constants.%DivWith.lookup_impl_witness.c00 +// CHECK:STDOUT: %impl.elem0.loc156_44.1 => constants.%impl.elem0.7a0 // CHECK:STDOUT: %Result.as_type.loc156_54.1 => constants.%Int64 -// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.86b -// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.b56 -// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.b0b +// CHECK:STDOUT: %facet_type.loc156_38 => constants.%facet_type.b8e +// CHECK:STDOUT: %T.loc156_4.1 => constants.%facet_value.4d6 +// CHECK:STDOUT: %pattern_type.loc156 => constants.%pattern_type.435 // CHECK:STDOUT: %pattern_type.loc157_16 => constants.%pattern_type.7b1 // CHECK:STDOUT: %T.as_type.loc157_29.1 => constants.%Int64 // CHECK:STDOUT: %pattern_type.loc157_27 => constants.%pattern_type.7b1 @@ -3304,38 +3304,38 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc157_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc157_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.8b9 -// CHECK:STDOUT: %assoc1 => constants.%assoc1.006 -// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.159 -// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.aa2 -// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.60b -// CHECK:STDOUT: %.loc159_5.4 => constants.%.b76 +// CHECK:STDOUT: %require_complete.loc159 => constants.%complete_type.627 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.489 +// CHECK:STDOUT: %DivWith.lookup_impl_witness.loc159 => constants.%custom_witness.4e5 +// CHECK:STDOUT: %DivWith.facet => constants.%DivWith.facet.b24 +// CHECK:STDOUT: %DivWith.WithSelf.Op.type => constants.%DivWith.WithSelf.Op.type.58d +// CHECK:STDOUT: %.loc159_5.4 => constants.%.f2d // CHECK:STDOUT: %impl.elem1.loc159_5.2 => constants.%Op.b9c47d.14 // CHECK:STDOUT: %specific_impl_fn.loc159_5.3 => constants.%Op.b9c47d.14 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.01d -// CHECK:STDOUT: %.loc159_5.5 => constants.%.0f7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.3 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.2bb +// CHECK:STDOUT: %.loc159_5.5 => constants.%.dda +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.3 // CHECK:STDOUT: %impl.elem0.loc159_5.2 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc159_5.4 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.787, constants.%Destroy.facet.cff, constants.%facet_value.800) { -// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.787 -// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @ModWith.loc168(constants.%Destroy.facet.3de, constants.%Destroy.facet.d87, constants.%facet_value.8fa) { +// CHECK:STDOUT: %Result.loc165_9.1 => constants.%Destroy.facet.3de +// CHECK:STDOUT: %U.loc166_4.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %U.as_type.loc167_36.1 => constants.%Int32 -// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.4ca -// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.7ef -// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.b0b -// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.38f -// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.cd6 -// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.ce3 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.d3a -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.1a9 -// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.2b5 +// CHECK:STDOUT: %ModWith.type.loc167_36.1 => constants.%ModWith.type.6f6 +// CHECK:STDOUT: %facet_type.loc167_20 => constants.%facet_type.22f +// CHECK:STDOUT: %.Self.loc167_38.1 => constants.%.Self.572 +// CHECK:STDOUT: %require_complete.loc167 => constants.%complete_type.e22 +// CHECK:STDOUT: %.Self.as_type.loc167_44.1 => constants.%.Self.as_type.aac +// CHECK:STDOUT: %ModWith.assoc_type => constants.%ModWith.assoc_type.d09 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.fb6 +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc167 => constants.%ModWith.lookup_impl_witness.18e +// CHECK:STDOUT: %impl.elem0.loc167_44.1 => constants.%impl.elem0.288 // CHECK:STDOUT: %Result.as_type.loc167_54.1 => constants.%Int64 -// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.713 -// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.800 -// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.c06 +// CHECK:STDOUT: %facet_type.loc167_38 => constants.%facet_type.dbb +// CHECK:STDOUT: %T.loc167_4.1 => constants.%facet_value.8fa +// CHECK:STDOUT: %pattern_type.loc167 => constants.%pattern_type.4c3 // CHECK:STDOUT: %pattern_type.loc168_16 => constants.%pattern_type.7b1 // CHECK:STDOUT: %T.as_type.loc168_29.1 => constants.%Int64 // CHECK:STDOUT: %pattern_type.loc168_27 => constants.%pattern_type.7b1 @@ -3345,186 +3345,186 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: %require_complete.loc168_16 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_27 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc168_33 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.76f -// CHECK:STDOUT: %assoc1 => constants.%assoc1.e15 -// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.2d7 -// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.39c -// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.599 -// CHECK:STDOUT: %.loc170_5.4 => constants.%.da3 +// CHECK:STDOUT: %require_complete.loc170 => constants.%complete_type.1cf +// CHECK:STDOUT: %assoc1 => constants.%assoc1.56e +// CHECK:STDOUT: %ModWith.lookup_impl_witness.loc170 => constants.%custom_witness.99b +// CHECK:STDOUT: %ModWith.facet => constants.%ModWith.facet.4c1 +// CHECK:STDOUT: %ModWith.WithSelf.Op.type => constants.%ModWith.WithSelf.Op.type.fb3 +// CHECK:STDOUT: %.loc170_5.4 => constants.%.7b9 // CHECK:STDOUT: %impl.elem1.loc170_5.2 => constants.%Op.b9c47d.15 // CHECK:STDOUT: %specific_impl_fn.loc170_5.3 => constants.%Op.b9c47d.15 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.01d -// CHECK:STDOUT: %.loc170_5.5 => constants.%.0f7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.3 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.2bb +// CHECK:STDOUT: %.loc170_5.5 => constants.%.dda +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.3 // CHECK:STDOUT: %impl.elem0.loc170_5.2 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc170_5.4 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddAssignWith.loc225(constants.%U.67d, constants.%T.689) { +// CHECK:STDOUT: specific @AddAssignWith.loc225(constants.%U.67d, constants.%T.c9e) { // CHECK:STDOUT: %U.loc225_19.1 => constants.%U.67d -// CHECK:STDOUT: %AddAssignWith.type.loc225_52.1 => constants.%AddAssignWith.type.dc8ed5.2 -// CHECK:STDOUT: %T.loc225_29.1 => constants.%T.689 -// CHECK:STDOUT: %pattern_type.loc225_29 => constants.%pattern_type.f87 -// CHECK:STDOUT: %T.as_type.loc225_62.1 => constants.%T.as_type.7d6 -// CHECK:STDOUT: %pattern_type.loc225_60 => constants.%pattern_type.657c0b.2 +// CHECK:STDOUT: %AddAssignWith.type.loc225_52.1 => constants.%AddAssignWith.type.f7e94b.2 +// CHECK:STDOUT: %T.loc225_29.1 => constants.%T.c9e +// CHECK:STDOUT: %pattern_type.loc225_29 => constants.%pattern_type.323 +// CHECK:STDOUT: %T.as_type.loc225_62.1 => constants.%T.as_type.82b +// CHECK:STDOUT: %pattern_type.loc225_60 => constants.%pattern_type.d713dc.2 // CHECK:STDOUT: %pattern_type.loc225_66 => constants.%pattern_type.51d1c4.4 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SubAssignWith.loc231(constants.%U.67d, constants.%T.af3) { +// CHECK:STDOUT: specific @SubAssignWith.loc231(constants.%U.67d, constants.%T.a96) { // CHECK:STDOUT: %U.loc231_19.1 => constants.%U.67d -// CHECK:STDOUT: %SubAssignWith.type.loc231_52.1 => constants.%SubAssignWith.type.a95ddd.2 -// CHECK:STDOUT: %T.loc231_29.1 => constants.%T.af3 -// CHECK:STDOUT: %pattern_type.loc231_29 => constants.%pattern_type.3cd -// CHECK:STDOUT: %T.as_type.loc231_62.1 => constants.%T.as_type.a39 -// CHECK:STDOUT: %pattern_type.loc231_60 => constants.%pattern_type.5c82ed.2 +// CHECK:STDOUT: %SubAssignWith.type.loc231_52.1 => constants.%SubAssignWith.type.591a5f.2 +// CHECK:STDOUT: %T.loc231_29.1 => constants.%T.a96 +// CHECK:STDOUT: %pattern_type.loc231_29 => constants.%pattern_type.46c +// CHECK:STDOUT: %T.as_type.loc231_62.1 => constants.%T.as_type.765 +// CHECK:STDOUT: %pattern_type.loc231_60 => constants.%pattern_type.f40fa3.2 // CHECK:STDOUT: %pattern_type.loc231_66 => constants.%pattern_type.51d1c4.4 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MulAssignWith.loc237(constants.%U.67d, constants.%T.c8f) { +// CHECK:STDOUT: specific @MulAssignWith.loc237(constants.%U.67d, constants.%T.1ab) { // CHECK:STDOUT: %U.loc237_19.1 => constants.%U.67d -// CHECK:STDOUT: %MulAssignWith.type.loc237_52.1 => constants.%MulAssignWith.type.c08ab6.2 -// CHECK:STDOUT: %T.loc237_29.1 => constants.%T.c8f -// CHECK:STDOUT: %pattern_type.loc237_29 => constants.%pattern_type.78c -// CHECK:STDOUT: %T.as_type.loc237_62.1 => constants.%T.as_type.26e -// CHECK:STDOUT: %pattern_type.loc237_60 => constants.%pattern_type.3695a8.2 +// CHECK:STDOUT: %MulAssignWith.type.loc237_52.1 => constants.%MulAssignWith.type.b9aa5c.2 +// CHECK:STDOUT: %T.loc237_29.1 => constants.%T.1ab +// CHECK:STDOUT: %pattern_type.loc237_29 => constants.%pattern_type.a30 +// CHECK:STDOUT: %T.as_type.loc237_62.1 => constants.%T.as_type.e75 +// CHECK:STDOUT: %pattern_type.loc237_60 => constants.%pattern_type.07a4e0.2 // CHECK:STDOUT: %pattern_type.loc237_66 => constants.%pattern_type.51d1c4.4 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DivAssignWith.loc243(constants.%U.67d, constants.%T.f22) { +// CHECK:STDOUT: specific @DivAssignWith.loc243(constants.%U.67d, constants.%T.439) { // CHECK:STDOUT: %U.loc243_19.1 => constants.%U.67d -// CHECK:STDOUT: %DivAssignWith.type.loc243_52.1 => constants.%DivAssignWith.type.d7b8dd.2 -// CHECK:STDOUT: %T.loc243_29.1 => constants.%T.f22 -// CHECK:STDOUT: %pattern_type.loc243_29 => constants.%pattern_type.a67 -// CHECK:STDOUT: %T.as_type.loc243_62.1 => constants.%T.as_type.dc5 -// CHECK:STDOUT: %pattern_type.loc243_60 => constants.%pattern_type.ef84c8.2 +// CHECK:STDOUT: %DivAssignWith.type.loc243_52.1 => constants.%DivAssignWith.type.c97ac9.2 +// CHECK:STDOUT: %T.loc243_29.1 => constants.%T.439 +// CHECK:STDOUT: %pattern_type.loc243_29 => constants.%pattern_type.fa6 +// CHECK:STDOUT: %T.as_type.loc243_62.1 => constants.%T.as_type.5d7 +// CHECK:STDOUT: %pattern_type.loc243_60 => constants.%pattern_type.12d907.2 // CHECK:STDOUT: %pattern_type.loc243_66 => constants.%pattern_type.51d1c4.4 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ModAssignWith.loc249(constants.%U.67d, constants.%T.37b) { +// CHECK:STDOUT: specific @ModAssignWith.loc249(constants.%U.67d, constants.%T.da0) { // CHECK:STDOUT: %U.loc249_19.1 => constants.%U.67d -// CHECK:STDOUT: %ModAssignWith.type.loc249_52.1 => constants.%ModAssignWith.type.958f4d.2 -// CHECK:STDOUT: %T.loc249_29.1 => constants.%T.37b -// CHECK:STDOUT: %pattern_type.loc249_29 => constants.%pattern_type.91c -// CHECK:STDOUT: %T.as_type.loc249_62.1 => constants.%T.as_type.5ba -// CHECK:STDOUT: %pattern_type.loc249_60 => constants.%pattern_type.22dddb.2 +// CHECK:STDOUT: %ModAssignWith.type.loc249_52.1 => constants.%ModAssignWith.type.8faa47.2 +// CHECK:STDOUT: %T.loc249_29.1 => constants.%T.da0 +// CHECK:STDOUT: %pattern_type.loc249_29 => constants.%pattern_type.383 +// CHECK:STDOUT: %T.as_type.loc249_62.1 => constants.%T.as_type.4cb +// CHECK:STDOUT: %pattern_type.loc249_60 => constants.%pattern_type.7b701e.2 // CHECK:STDOUT: %pattern_type.loc249_66 => constants.%pattern_type.51d1c4.4 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddAssignWith.loc225(constants.%i16, constants.%AddAssignWith.facet.7e5) { +// CHECK:STDOUT: specific @AddAssignWith.loc225(constants.%i16, constants.%AddAssignWith.facet.1b3) { // CHECK:STDOUT: %U.loc225_19.1 => constants.%i16 -// CHECK:STDOUT: %AddAssignWith.type.loc225_52.1 => constants.%AddAssignWith.type.5a5 -// CHECK:STDOUT: %T.loc225_29.1 => constants.%AddAssignWith.facet.7e5 -// CHECK:STDOUT: %pattern_type.loc225_29 => constants.%pattern_type.307 +// CHECK:STDOUT: %AddAssignWith.type.loc225_52.1 => constants.%AddAssignWith.type.35f +// CHECK:STDOUT: %T.loc225_29.1 => constants.%AddAssignWith.facet.1b3 +// CHECK:STDOUT: %pattern_type.loc225_29 => constants.%pattern_type.25b // CHECK:STDOUT: %T.as_type.loc225_62.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc225_60 => constants.%pattern_type.802 -// CHECK:STDOUT: %pattern_type.loc225_66 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc225_66 => constants.%pattern_type.e1b // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc225_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc225_66 => constants.%complete_type.2da -// CHECK:STDOUT: %require_complete.loc227 => constants.%complete_type.c3b -// CHECK:STDOUT: %AddAssignWith.assoc_type => constants.%AddAssignWith.assoc_type.12d -// CHECK:STDOUT: %assoc0 => constants.%assoc0.6ce -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type => constants.%AddAssignWith.WithSelf.Op.type.ae1 -// CHECK:STDOUT: %.loc227_5.2 => constants.%.47c -// CHECK:STDOUT: %AddAssignWith.lookup_impl_witness => constants.%custom_witness.dd4 +// CHECK:STDOUT: %require_complete.loc227 => constants.%complete_type.f45 +// CHECK:STDOUT: %AddAssignWith.assoc_type => constants.%AddAssignWith.assoc_type.3c9 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.d69 +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type => constants.%AddAssignWith.WithSelf.Op.type.f5d +// CHECK:STDOUT: %.loc227_5.2 => constants.%.c71 +// CHECK:STDOUT: %AddAssignWith.lookup_impl_witness => constants.%custom_witness.364 // CHECK:STDOUT: %impl.elem0.loc227_5.2 => constants.%Int16.Op.cc70d5.13 // CHECK:STDOUT: %specific_impl_fn.loc227_5.2 => constants.%Int16.Op.cc70d5.13 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SubAssignWith.loc231(constants.%i16, constants.%SubAssignWith.facet.a58) { +// CHECK:STDOUT: specific @SubAssignWith.loc231(constants.%i16, constants.%SubAssignWith.facet.45a) { // CHECK:STDOUT: %U.loc231_19.1 => constants.%i16 -// CHECK:STDOUT: %SubAssignWith.type.loc231_52.1 => constants.%SubAssignWith.type.2da -// CHECK:STDOUT: %T.loc231_29.1 => constants.%SubAssignWith.facet.a58 -// CHECK:STDOUT: %pattern_type.loc231_29 => constants.%pattern_type.2c7 +// CHECK:STDOUT: %SubAssignWith.type.loc231_52.1 => constants.%SubAssignWith.type.121 +// CHECK:STDOUT: %T.loc231_29.1 => constants.%SubAssignWith.facet.45a +// CHECK:STDOUT: %pattern_type.loc231_29 => constants.%pattern_type.1c3 // CHECK:STDOUT: %T.as_type.loc231_62.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc231_60 => constants.%pattern_type.802 -// CHECK:STDOUT: %pattern_type.loc231_66 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc231_66 => constants.%pattern_type.e1b // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc231_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc231_66 => constants.%complete_type.2da -// CHECK:STDOUT: %require_complete.loc233 => constants.%complete_type.289 -// CHECK:STDOUT: %SubAssignWith.assoc_type => constants.%SubAssignWith.assoc_type.f3f -// CHECK:STDOUT: %assoc0 => constants.%assoc0.1c8 -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type => constants.%SubAssignWith.WithSelf.Op.type.631 -// CHECK:STDOUT: %.loc233_5.2 => constants.%.34a -// CHECK:STDOUT: %SubAssignWith.lookup_impl_witness => constants.%custom_witness.364 +// CHECK:STDOUT: %require_complete.loc233 => constants.%complete_type.c74 +// CHECK:STDOUT: %SubAssignWith.assoc_type => constants.%SubAssignWith.assoc_type.5f8 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.ce1 +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type => constants.%SubAssignWith.WithSelf.Op.type.224 +// CHECK:STDOUT: %.loc233_5.2 => constants.%.9c3 +// CHECK:STDOUT: %SubAssignWith.lookup_impl_witness => constants.%custom_witness.4e8 // CHECK:STDOUT: %impl.elem0.loc233_5.2 => constants.%Int16.Op.cc70d5.14 // CHECK:STDOUT: %specific_impl_fn.loc233_5.2 => constants.%Int16.Op.cc70d5.14 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MulAssignWith.loc237(constants.%i16, constants.%MulAssignWith.facet.ece) { +// CHECK:STDOUT: specific @MulAssignWith.loc237(constants.%i16, constants.%MulAssignWith.facet.805) { // CHECK:STDOUT: %U.loc237_19.1 => constants.%i16 -// CHECK:STDOUT: %MulAssignWith.type.loc237_52.1 => constants.%MulAssignWith.type.a70 -// CHECK:STDOUT: %T.loc237_29.1 => constants.%MulAssignWith.facet.ece -// CHECK:STDOUT: %pattern_type.loc237_29 => constants.%pattern_type.0b2 +// CHECK:STDOUT: %MulAssignWith.type.loc237_52.1 => constants.%MulAssignWith.type.b7e +// CHECK:STDOUT: %T.loc237_29.1 => constants.%MulAssignWith.facet.805 +// CHECK:STDOUT: %pattern_type.loc237_29 => constants.%pattern_type.ebd // CHECK:STDOUT: %T.as_type.loc237_62.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc237_60 => constants.%pattern_type.802 -// CHECK:STDOUT: %pattern_type.loc237_66 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc237_66 => constants.%pattern_type.e1b // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc237_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc237_66 => constants.%complete_type.2da -// CHECK:STDOUT: %require_complete.loc239 => constants.%complete_type.9b6 -// CHECK:STDOUT: %MulAssignWith.assoc_type => constants.%MulAssignWith.assoc_type.f71 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.037 -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type => constants.%MulAssignWith.WithSelf.Op.type.c14 -// CHECK:STDOUT: %.loc239_5.2 => constants.%.26d -// CHECK:STDOUT: %MulAssignWith.lookup_impl_witness => constants.%custom_witness.898 +// CHECK:STDOUT: %require_complete.loc239 => constants.%complete_type.f93 +// CHECK:STDOUT: %MulAssignWith.assoc_type => constants.%MulAssignWith.assoc_type.551 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.75e +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type => constants.%MulAssignWith.WithSelf.Op.type.354 +// CHECK:STDOUT: %.loc239_5.2 => constants.%.cbb +// CHECK:STDOUT: %MulAssignWith.lookup_impl_witness => constants.%custom_witness.b74 // CHECK:STDOUT: %impl.elem0.loc239_5.2 => constants.%Int16.Op.cc70d5.15 // CHECK:STDOUT: %specific_impl_fn.loc239_5.2 => constants.%Int16.Op.cc70d5.15 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DivAssignWith.loc243(constants.%i16, constants.%DivAssignWith.facet.153) { +// CHECK:STDOUT: specific @DivAssignWith.loc243(constants.%i16, constants.%DivAssignWith.facet.ac9) { // CHECK:STDOUT: %U.loc243_19.1 => constants.%i16 -// CHECK:STDOUT: %DivAssignWith.type.loc243_52.1 => constants.%DivAssignWith.type.7f8 -// CHECK:STDOUT: %T.loc243_29.1 => constants.%DivAssignWith.facet.153 -// CHECK:STDOUT: %pattern_type.loc243_29 => constants.%pattern_type.455 +// CHECK:STDOUT: %DivAssignWith.type.loc243_52.1 => constants.%DivAssignWith.type.0d6 +// CHECK:STDOUT: %T.loc243_29.1 => constants.%DivAssignWith.facet.ac9 +// CHECK:STDOUT: %pattern_type.loc243_29 => constants.%pattern_type.1f58 // CHECK:STDOUT: %T.as_type.loc243_62.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc243_60 => constants.%pattern_type.802 -// CHECK:STDOUT: %pattern_type.loc243_66 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc243_66 => constants.%pattern_type.e1b // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc243_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc243_66 => constants.%complete_type.2da -// CHECK:STDOUT: %require_complete.loc245 => constants.%complete_type.41f -// CHECK:STDOUT: %DivAssignWith.assoc_type => constants.%DivAssignWith.assoc_type.e83 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.065 -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type => constants.%DivAssignWith.WithSelf.Op.type.10c -// CHECK:STDOUT: %.loc245_5.2 => constants.%.7b7 -// CHECK:STDOUT: %DivAssignWith.lookup_impl_witness => constants.%custom_witness.11f +// CHECK:STDOUT: %require_complete.loc245 => constants.%complete_type.913 +// CHECK:STDOUT: %DivAssignWith.assoc_type => constants.%DivAssignWith.assoc_type.01d +// CHECK:STDOUT: %assoc0 => constants.%assoc0.f56 +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type => constants.%DivAssignWith.WithSelf.Op.type.510 +// CHECK:STDOUT: %.loc245_5.2 => constants.%.b82 +// CHECK:STDOUT: %DivAssignWith.lookup_impl_witness => constants.%custom_witness.8b6 // CHECK:STDOUT: %impl.elem0.loc245_5.2 => constants.%Int16.Op.cc70d5.16 // CHECK:STDOUT: %specific_impl_fn.loc245_5.2 => constants.%Int16.Op.cc70d5.16 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ModAssignWith.loc249(constants.%i16, constants.%ModAssignWith.facet.b79) { +// CHECK:STDOUT: specific @ModAssignWith.loc249(constants.%i16, constants.%ModAssignWith.facet.350) { // CHECK:STDOUT: %U.loc249_19.1 => constants.%i16 -// CHECK:STDOUT: %ModAssignWith.type.loc249_52.1 => constants.%ModAssignWith.type.eee -// CHECK:STDOUT: %T.loc249_29.1 => constants.%ModAssignWith.facet.b79 -// CHECK:STDOUT: %pattern_type.loc249_29 => constants.%pattern_type.df1 +// CHECK:STDOUT: %ModAssignWith.type.loc249_52.1 => constants.%ModAssignWith.type.d0f +// CHECK:STDOUT: %T.loc249_29.1 => constants.%ModAssignWith.facet.350 +// CHECK:STDOUT: %pattern_type.loc249_29 => constants.%pattern_type.e7a // CHECK:STDOUT: %T.as_type.loc249_62.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc249_60 => constants.%pattern_type.802 -// CHECK:STDOUT: %pattern_type.loc249_66 => constants.%pattern_type.0cb +// CHECK:STDOUT: %pattern_type.loc249_66 => constants.%pattern_type.e1b // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc249_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc249_66 => constants.%complete_type.2da -// CHECK:STDOUT: %require_complete.loc251 => constants.%complete_type.955 -// CHECK:STDOUT: %ModAssignWith.assoc_type => constants.%ModAssignWith.assoc_type.08a -// CHECK:STDOUT: %assoc0 => constants.%assoc0.c9f -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type => constants.%ModAssignWith.WithSelf.Op.type.a71 -// CHECK:STDOUT: %.loc251_5.2 => constants.%.1c7 -// CHECK:STDOUT: %ModAssignWith.lookup_impl_witness => constants.%custom_witness.c16 +// CHECK:STDOUT: %require_complete.loc251 => constants.%complete_type.597 +// CHECK:STDOUT: %ModAssignWith.assoc_type => constants.%ModAssignWith.assoc_type.9c3 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.e07 +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type => constants.%ModAssignWith.WithSelf.Op.type.ad4 +// CHECK:STDOUT: %.loc251_5.2 => constants.%.003 +// CHECK:STDOUT: %ModAssignWith.lookup_impl_witness => constants.%custom_witness.e6d // CHECK:STDOUT: %impl.elem0.loc251_5.2 => constants.%Int16.Op.cc70d5.17 // CHECK:STDOUT: %specific_impl_fn.loc251_5.2 => constants.%Int16.Op.cc70d5.17 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddAssignWith.loc225(constants.%Int32, constants.%AddAssignWith.facet.d81) { +// CHECK:STDOUT: specific @AddAssignWith.loc225(constants.%Int32, constants.%AddAssignWith.facet.610) { // CHECK:STDOUT: %U.loc225_19.1 => constants.%Int32 -// CHECK:STDOUT: %AddAssignWith.type.loc225_52.1 => constants.%AddAssignWith.type.426 -// CHECK:STDOUT: %T.loc225_29.1 => constants.%AddAssignWith.facet.d81 -// CHECK:STDOUT: %pattern_type.loc225_29 => constants.%pattern_type.0bd0 +// CHECK:STDOUT: %AddAssignWith.type.loc225_52.1 => constants.%AddAssignWith.type.3e8 +// CHECK:STDOUT: %T.loc225_29.1 => constants.%AddAssignWith.facet.610 +// CHECK:STDOUT: %pattern_type.loc225_29 => constants.%pattern_type.ae6 // CHECK:STDOUT: %T.as_type.loc225_62.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc225_60 => constants.%pattern_type.e9d // CHECK:STDOUT: %pattern_type.loc225_66 => constants.%pattern_type.e9d @@ -3532,21 +3532,21 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc225_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc225_66 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc227 => constants.%complete_type.d78 -// CHECK:STDOUT: %AddAssignWith.assoc_type => constants.%AddAssignWith.assoc_type.ab4 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.704 -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type => constants.%AddAssignWith.WithSelf.Op.type.49e -// CHECK:STDOUT: %.loc227_5.2 => constants.%.03c -// CHECK:STDOUT: %AddAssignWith.lookup_impl_witness => constants.%custom_witness.54bf25.1 +// CHECK:STDOUT: %require_complete.loc227 => constants.%complete_type.d4d +// CHECK:STDOUT: %AddAssignWith.assoc_type => constants.%AddAssignWith.assoc_type.115 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.8b4 +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type => constants.%AddAssignWith.WithSelf.Op.type.b28 +// CHECK:STDOUT: %.loc227_5.2 => constants.%.05e +// CHECK:STDOUT: %AddAssignWith.lookup_impl_witness => constants.%custom_witness.ec4e63.1 // CHECK:STDOUT: %impl.elem0.loc227_5.2 => constants.%Int32.Op.cc70d5.12 // CHECK:STDOUT: %specific_impl_fn.loc227_5.2 => constants.%Int32.Op.cc70d5.12 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SubAssignWith.loc231(constants.%Int32, constants.%SubAssignWith.facet.059) { +// CHECK:STDOUT: specific @SubAssignWith.loc231(constants.%Int32, constants.%SubAssignWith.facet.fb2) { // CHECK:STDOUT: %U.loc231_19.1 => constants.%Int32 -// CHECK:STDOUT: %SubAssignWith.type.loc231_52.1 => constants.%SubAssignWith.type.9df -// CHECK:STDOUT: %T.loc231_29.1 => constants.%SubAssignWith.facet.059 -// CHECK:STDOUT: %pattern_type.loc231_29 => constants.%pattern_type.1b0 +// CHECK:STDOUT: %SubAssignWith.type.loc231_52.1 => constants.%SubAssignWith.type.678 +// CHECK:STDOUT: %T.loc231_29.1 => constants.%SubAssignWith.facet.fb2 +// CHECK:STDOUT: %pattern_type.loc231_29 => constants.%pattern_type.470 // CHECK:STDOUT: %T.as_type.loc231_62.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc231_60 => constants.%pattern_type.e9d // CHECK:STDOUT: %pattern_type.loc231_66 => constants.%pattern_type.e9d @@ -3554,21 +3554,21 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc231_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc231_66 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc233 => constants.%complete_type.729 -// CHECK:STDOUT: %SubAssignWith.assoc_type => constants.%SubAssignWith.assoc_type.597 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.6dc -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type => constants.%SubAssignWith.WithSelf.Op.type.046 -// CHECK:STDOUT: %.loc233_5.2 => constants.%.673 -// CHECK:STDOUT: %SubAssignWith.lookup_impl_witness => constants.%custom_witness.69cd18.1 +// CHECK:STDOUT: %require_complete.loc233 => constants.%complete_type.838 +// CHECK:STDOUT: %SubAssignWith.assoc_type => constants.%SubAssignWith.assoc_type.53a +// CHECK:STDOUT: %assoc0 => constants.%assoc0.60e +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type => constants.%SubAssignWith.WithSelf.Op.type.7bd +// CHECK:STDOUT: %.loc233_5.2 => constants.%.cd8 +// CHECK:STDOUT: %SubAssignWith.lookup_impl_witness => constants.%custom_witness.75ca2a.1 // CHECK:STDOUT: %impl.elem0.loc233_5.2 => constants.%Int32.Op.cc70d5.14 // CHECK:STDOUT: %specific_impl_fn.loc233_5.2 => constants.%Int32.Op.cc70d5.14 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MulAssignWith.loc237(constants.%Int32, constants.%MulAssignWith.facet.7a5) { +// CHECK:STDOUT: specific @MulAssignWith.loc237(constants.%Int32, constants.%MulAssignWith.facet.8f5) { // CHECK:STDOUT: %U.loc237_19.1 => constants.%Int32 -// CHECK:STDOUT: %MulAssignWith.type.loc237_52.1 => constants.%MulAssignWith.type.073 -// CHECK:STDOUT: %T.loc237_29.1 => constants.%MulAssignWith.facet.7a5 -// CHECK:STDOUT: %pattern_type.loc237_29 => constants.%pattern_type.9f8 +// CHECK:STDOUT: %MulAssignWith.type.loc237_52.1 => constants.%MulAssignWith.type.011 +// CHECK:STDOUT: %T.loc237_29.1 => constants.%MulAssignWith.facet.8f5 +// CHECK:STDOUT: %pattern_type.loc237_29 => constants.%pattern_type.c27 // CHECK:STDOUT: %T.as_type.loc237_62.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc237_60 => constants.%pattern_type.e9d // CHECK:STDOUT: %pattern_type.loc237_66 => constants.%pattern_type.e9d @@ -3576,21 +3576,21 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc237_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc237_66 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc239 => constants.%complete_type.cd8 -// CHECK:STDOUT: %MulAssignWith.assoc_type => constants.%MulAssignWith.assoc_type.f6e -// CHECK:STDOUT: %assoc0 => constants.%assoc0.cc8 -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type => constants.%MulAssignWith.WithSelf.Op.type.e8c -// CHECK:STDOUT: %.loc239_5.2 => constants.%.09b8 -// CHECK:STDOUT: %MulAssignWith.lookup_impl_witness => constants.%custom_witness.fc45f7.1 +// CHECK:STDOUT: %require_complete.loc239 => constants.%complete_type.908 +// CHECK:STDOUT: %MulAssignWith.assoc_type => constants.%MulAssignWith.assoc_type.f6b +// CHECK:STDOUT: %assoc0 => constants.%assoc0.1a2 +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type => constants.%MulAssignWith.WithSelf.Op.type.9a6 +// CHECK:STDOUT: %.loc239_5.2 => constants.%.300 +// CHECK:STDOUT: %MulAssignWith.lookup_impl_witness => constants.%custom_witness.7d92f3.1 // CHECK:STDOUT: %impl.elem0.loc239_5.2 => constants.%Int32.Op.cc70d5.15 // CHECK:STDOUT: %specific_impl_fn.loc239_5.2 => constants.%Int32.Op.cc70d5.15 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DivAssignWith.loc243(constants.%Int32, constants.%DivAssignWith.facet.e46) { +// CHECK:STDOUT: specific @DivAssignWith.loc243(constants.%Int32, constants.%DivAssignWith.facet.3bc) { // CHECK:STDOUT: %U.loc243_19.1 => constants.%Int32 -// CHECK:STDOUT: %DivAssignWith.type.loc243_52.1 => constants.%DivAssignWith.type.2a3 -// CHECK:STDOUT: %T.loc243_29.1 => constants.%DivAssignWith.facet.e46 -// CHECK:STDOUT: %pattern_type.loc243_29 => constants.%pattern_type.ce3 +// CHECK:STDOUT: %DivAssignWith.type.loc243_52.1 => constants.%DivAssignWith.type.487 +// CHECK:STDOUT: %T.loc243_29.1 => constants.%DivAssignWith.facet.3bc +// CHECK:STDOUT: %pattern_type.loc243_29 => constants.%pattern_type.492 // CHECK:STDOUT: %T.as_type.loc243_62.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc243_60 => constants.%pattern_type.e9d // CHECK:STDOUT: %pattern_type.loc243_66 => constants.%pattern_type.e9d @@ -3598,21 +3598,21 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc243_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc243_66 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc245 => constants.%complete_type.6cd -// CHECK:STDOUT: %DivAssignWith.assoc_type => constants.%DivAssignWith.assoc_type.d28 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.68b -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type => constants.%DivAssignWith.WithSelf.Op.type.4f9 -// CHECK:STDOUT: %.loc245_5.2 => constants.%.bdb -// CHECK:STDOUT: %DivAssignWith.lookup_impl_witness => constants.%custom_witness.b90a73.1 +// CHECK:STDOUT: %require_complete.loc245 => constants.%complete_type.054 +// CHECK:STDOUT: %DivAssignWith.assoc_type => constants.%DivAssignWith.assoc_type.047 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.cd7 +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type => constants.%DivAssignWith.WithSelf.Op.type.1ec +// CHECK:STDOUT: %.loc245_5.2 => constants.%.d63 +// CHECK:STDOUT: %DivAssignWith.lookup_impl_witness => constants.%custom_witness.cdc44b.1 // CHECK:STDOUT: %impl.elem0.loc245_5.2 => constants.%Int32.Op.cc70d5.16 // CHECK:STDOUT: %specific_impl_fn.loc245_5.2 => constants.%Int32.Op.cc70d5.16 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ModAssignWith.loc249(constants.%Int32, constants.%ModAssignWith.facet.2ba) { +// CHECK:STDOUT: specific @ModAssignWith.loc249(constants.%Int32, constants.%ModAssignWith.facet.b73) { // CHECK:STDOUT: %U.loc249_19.1 => constants.%Int32 -// CHECK:STDOUT: %ModAssignWith.type.loc249_52.1 => constants.%ModAssignWith.type.da6 -// CHECK:STDOUT: %T.loc249_29.1 => constants.%ModAssignWith.facet.2ba -// CHECK:STDOUT: %pattern_type.loc249_29 => constants.%pattern_type.f9a +// CHECK:STDOUT: %ModAssignWith.type.loc249_52.1 => constants.%ModAssignWith.type.499 +// CHECK:STDOUT: %T.loc249_29.1 => constants.%ModAssignWith.facet.b73 +// CHECK:STDOUT: %pattern_type.loc249_29 => constants.%pattern_type.f79 // CHECK:STDOUT: %T.as_type.loc249_62.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc249_60 => constants.%pattern_type.e9d // CHECK:STDOUT: %pattern_type.loc249_66 => constants.%pattern_type.e9d @@ -3620,21 +3620,21 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc249_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc249_66 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc251 => constants.%complete_type.062 -// CHECK:STDOUT: %ModAssignWith.assoc_type => constants.%ModAssignWith.assoc_type.e9f -// CHECK:STDOUT: %assoc0 => constants.%assoc0.13c -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type => constants.%ModAssignWith.WithSelf.Op.type.95c -// CHECK:STDOUT: %.loc251_5.2 => constants.%.c5f -// CHECK:STDOUT: %ModAssignWith.lookup_impl_witness => constants.%custom_witness.c151ba.1 +// CHECK:STDOUT: %require_complete.loc251 => constants.%complete_type.022 +// CHECK:STDOUT: %ModAssignWith.assoc_type => constants.%ModAssignWith.assoc_type.e0e +// CHECK:STDOUT: %assoc0 => constants.%assoc0.928 +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type => constants.%ModAssignWith.WithSelf.Op.type.1a7 +// CHECK:STDOUT: %.loc251_5.2 => constants.%.029 +// CHECK:STDOUT: %ModAssignWith.lookup_impl_witness => constants.%custom_witness.ec99b7.1 // CHECK:STDOUT: %impl.elem0.loc251_5.2 => constants.%Int32.Op.cc70d5.17 // CHECK:STDOUT: %specific_impl_fn.loc251_5.2 => constants.%Int32.Op.cc70d5.17 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @AddAssignWith.loc225(constants.%Int32, constants.%AddAssignWith.facet.994) { +// CHECK:STDOUT: specific @AddAssignWith.loc225(constants.%Int32, constants.%AddAssignWith.facet.080) { // CHECK:STDOUT: %U.loc225_19.1 => constants.%Int32 -// CHECK:STDOUT: %AddAssignWith.type.loc225_52.1 => constants.%AddAssignWith.type.426 -// CHECK:STDOUT: %T.loc225_29.1 => constants.%AddAssignWith.facet.994 -// CHECK:STDOUT: %pattern_type.loc225_29 => constants.%pattern_type.0bd0 +// CHECK:STDOUT: %AddAssignWith.type.loc225_52.1 => constants.%AddAssignWith.type.3e8 +// CHECK:STDOUT: %T.loc225_29.1 => constants.%AddAssignWith.facet.080 +// CHECK:STDOUT: %pattern_type.loc225_29 => constants.%pattern_type.ae6 // CHECK:STDOUT: %T.as_type.loc225_62.1 => constants.%Int64 // CHECK:STDOUT: %pattern_type.loc225_60 => constants.%pattern_type.7b1 // CHECK:STDOUT: %pattern_type.loc225_66 => constants.%pattern_type.e9d @@ -3642,21 +3642,21 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc225_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc225_66 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc227 => constants.%complete_type.d78 -// CHECK:STDOUT: %AddAssignWith.assoc_type => constants.%AddAssignWith.assoc_type.ab4 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.704 -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type => constants.%AddAssignWith.WithSelf.Op.type.6f4 -// CHECK:STDOUT: %.loc227_5.2 => constants.%.a64 -// CHECK:STDOUT: %AddAssignWith.lookup_impl_witness => constants.%custom_witness.54bf25.2 +// CHECK:STDOUT: %require_complete.loc227 => constants.%complete_type.d4d +// CHECK:STDOUT: %AddAssignWith.assoc_type => constants.%AddAssignWith.assoc_type.115 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.8b4 +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type => constants.%AddAssignWith.WithSelf.Op.type.272 +// CHECK:STDOUT: %.loc227_5.2 => constants.%.257 +// CHECK:STDOUT: %AddAssignWith.lookup_impl_witness => constants.%custom_witness.ec4e63.2 // CHECK:STDOUT: %impl.elem0.loc227_5.2 => constants.%Int64.Op.cc70d5.2 // CHECK:STDOUT: %specific_impl_fn.loc227_5.2 => constants.%Int64.Op.cc70d5.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @SubAssignWith.loc231(constants.%Int32, constants.%SubAssignWith.facet.cec) { +// CHECK:STDOUT: specific @SubAssignWith.loc231(constants.%Int32, constants.%SubAssignWith.facet.8bc) { // CHECK:STDOUT: %U.loc231_19.1 => constants.%Int32 -// CHECK:STDOUT: %SubAssignWith.type.loc231_52.1 => constants.%SubAssignWith.type.9df -// CHECK:STDOUT: %T.loc231_29.1 => constants.%SubAssignWith.facet.cec -// CHECK:STDOUT: %pattern_type.loc231_29 => constants.%pattern_type.1b0 +// CHECK:STDOUT: %SubAssignWith.type.loc231_52.1 => constants.%SubAssignWith.type.678 +// CHECK:STDOUT: %T.loc231_29.1 => constants.%SubAssignWith.facet.8bc +// CHECK:STDOUT: %pattern_type.loc231_29 => constants.%pattern_type.470 // CHECK:STDOUT: %T.as_type.loc231_62.1 => constants.%Int64 // CHECK:STDOUT: %pattern_type.loc231_60 => constants.%pattern_type.7b1 // CHECK:STDOUT: %pattern_type.loc231_66 => constants.%pattern_type.e9d @@ -3664,21 +3664,21 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc231_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc231_66 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc233 => constants.%complete_type.729 -// CHECK:STDOUT: %SubAssignWith.assoc_type => constants.%SubAssignWith.assoc_type.597 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.6dc -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type => constants.%SubAssignWith.WithSelf.Op.type.c8e -// CHECK:STDOUT: %.loc233_5.2 => constants.%.797 -// CHECK:STDOUT: %SubAssignWith.lookup_impl_witness => constants.%custom_witness.69cd18.2 +// CHECK:STDOUT: %require_complete.loc233 => constants.%complete_type.838 +// CHECK:STDOUT: %SubAssignWith.assoc_type => constants.%SubAssignWith.assoc_type.53a +// CHECK:STDOUT: %assoc0 => constants.%assoc0.60e +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type => constants.%SubAssignWith.WithSelf.Op.type.461 +// CHECK:STDOUT: %.loc233_5.2 => constants.%.e92 +// CHECK:STDOUT: %SubAssignWith.lookup_impl_witness => constants.%custom_witness.75ca2a.2 // CHECK:STDOUT: %impl.elem0.loc233_5.2 => constants.%Int64.Op.cc70d5.4 // CHECK:STDOUT: %specific_impl_fn.loc233_5.2 => constants.%Int64.Op.cc70d5.4 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @MulAssignWith.loc237(constants.%Int32, constants.%MulAssignWith.facet.9d6) { +// CHECK:STDOUT: specific @MulAssignWith.loc237(constants.%Int32, constants.%MulAssignWith.facet.990) { // CHECK:STDOUT: %U.loc237_19.1 => constants.%Int32 -// CHECK:STDOUT: %MulAssignWith.type.loc237_52.1 => constants.%MulAssignWith.type.073 -// CHECK:STDOUT: %T.loc237_29.1 => constants.%MulAssignWith.facet.9d6 -// CHECK:STDOUT: %pattern_type.loc237_29 => constants.%pattern_type.9f8 +// CHECK:STDOUT: %MulAssignWith.type.loc237_52.1 => constants.%MulAssignWith.type.011 +// CHECK:STDOUT: %T.loc237_29.1 => constants.%MulAssignWith.facet.990 +// CHECK:STDOUT: %pattern_type.loc237_29 => constants.%pattern_type.c27 // CHECK:STDOUT: %T.as_type.loc237_62.1 => constants.%Int64 // CHECK:STDOUT: %pattern_type.loc237_60 => constants.%pattern_type.7b1 // CHECK:STDOUT: %pattern_type.loc237_66 => constants.%pattern_type.e9d @@ -3686,21 +3686,21 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc237_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc237_66 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc239 => constants.%complete_type.cd8 -// CHECK:STDOUT: %MulAssignWith.assoc_type => constants.%MulAssignWith.assoc_type.f6e -// CHECK:STDOUT: %assoc0 => constants.%assoc0.cc8 -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type => constants.%MulAssignWith.WithSelf.Op.type.f0f -// CHECK:STDOUT: %.loc239_5.2 => constants.%.292 -// CHECK:STDOUT: %MulAssignWith.lookup_impl_witness => constants.%custom_witness.fc45f7.2 +// CHECK:STDOUT: %require_complete.loc239 => constants.%complete_type.908 +// CHECK:STDOUT: %MulAssignWith.assoc_type => constants.%MulAssignWith.assoc_type.f6b +// CHECK:STDOUT: %assoc0 => constants.%assoc0.1a2 +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type => constants.%MulAssignWith.WithSelf.Op.type.152 +// CHECK:STDOUT: %.loc239_5.2 => constants.%.694 +// CHECK:STDOUT: %MulAssignWith.lookup_impl_witness => constants.%custom_witness.7d92f3.2 // CHECK:STDOUT: %impl.elem0.loc239_5.2 => constants.%Int64.Op.cc70d5.5 // CHECK:STDOUT: %specific_impl_fn.loc239_5.2 => constants.%Int64.Op.cc70d5.5 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @DivAssignWith.loc243(constants.%Int32, constants.%DivAssignWith.facet.e51) { +// CHECK:STDOUT: specific @DivAssignWith.loc243(constants.%Int32, constants.%DivAssignWith.facet.3eb) { // CHECK:STDOUT: %U.loc243_19.1 => constants.%Int32 -// CHECK:STDOUT: %DivAssignWith.type.loc243_52.1 => constants.%DivAssignWith.type.2a3 -// CHECK:STDOUT: %T.loc243_29.1 => constants.%DivAssignWith.facet.e51 -// CHECK:STDOUT: %pattern_type.loc243_29 => constants.%pattern_type.ce3 +// CHECK:STDOUT: %DivAssignWith.type.loc243_52.1 => constants.%DivAssignWith.type.487 +// CHECK:STDOUT: %T.loc243_29.1 => constants.%DivAssignWith.facet.3eb +// CHECK:STDOUT: %pattern_type.loc243_29 => constants.%pattern_type.492 // CHECK:STDOUT: %T.as_type.loc243_62.1 => constants.%Int64 // CHECK:STDOUT: %pattern_type.loc243_60 => constants.%pattern_type.7b1 // CHECK:STDOUT: %pattern_type.loc243_66 => constants.%pattern_type.e9d @@ -3708,21 +3708,21 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc243_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc243_66 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc245 => constants.%complete_type.6cd -// CHECK:STDOUT: %DivAssignWith.assoc_type => constants.%DivAssignWith.assoc_type.d28 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.68b -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type => constants.%DivAssignWith.WithSelf.Op.type.adc -// CHECK:STDOUT: %.loc245_5.2 => constants.%.733 -// CHECK:STDOUT: %DivAssignWith.lookup_impl_witness => constants.%custom_witness.b90a73.2 +// CHECK:STDOUT: %require_complete.loc245 => constants.%complete_type.054 +// CHECK:STDOUT: %DivAssignWith.assoc_type => constants.%DivAssignWith.assoc_type.047 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.cd7 +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type => constants.%DivAssignWith.WithSelf.Op.type.53f +// CHECK:STDOUT: %.loc245_5.2 => constants.%.09f +// CHECK:STDOUT: %DivAssignWith.lookup_impl_witness => constants.%custom_witness.cdc44b.2 // CHECK:STDOUT: %impl.elem0.loc245_5.2 => constants.%Int64.Op.cc70d5.6 // CHECK:STDOUT: %specific_impl_fn.loc245_5.2 => constants.%Int64.Op.cc70d5.6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ModAssignWith.loc249(constants.%Int32, constants.%ModAssignWith.facet.5ae) { +// CHECK:STDOUT: specific @ModAssignWith.loc249(constants.%Int32, constants.%ModAssignWith.facet.2d7) { // CHECK:STDOUT: %U.loc249_19.1 => constants.%Int32 -// CHECK:STDOUT: %ModAssignWith.type.loc249_52.1 => constants.%ModAssignWith.type.da6 -// CHECK:STDOUT: %T.loc249_29.1 => constants.%ModAssignWith.facet.5ae -// CHECK:STDOUT: %pattern_type.loc249_29 => constants.%pattern_type.f9a +// CHECK:STDOUT: %ModAssignWith.type.loc249_52.1 => constants.%ModAssignWith.type.499 +// CHECK:STDOUT: %T.loc249_29.1 => constants.%ModAssignWith.facet.2d7 +// CHECK:STDOUT: %pattern_type.loc249_29 => constants.%pattern_type.f79 // CHECK:STDOUT: %T.as_type.loc249_62.1 => constants.%Int64 // CHECK:STDOUT: %pattern_type.loc249_60 => constants.%pattern_type.7b1 // CHECK:STDOUT: %pattern_type.loc249_66 => constants.%pattern_type.e9d @@ -3730,73 +3730,73 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc249_55 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc249_66 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc251 => constants.%complete_type.062 -// CHECK:STDOUT: %ModAssignWith.assoc_type => constants.%ModAssignWith.assoc_type.e9f -// CHECK:STDOUT: %assoc0 => constants.%assoc0.13c -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type => constants.%ModAssignWith.WithSelf.Op.type.c03 -// CHECK:STDOUT: %.loc251_5.2 => constants.%.98b -// CHECK:STDOUT: %ModAssignWith.lookup_impl_witness => constants.%custom_witness.c151ba.2 +// CHECK:STDOUT: %require_complete.loc251 => constants.%complete_type.022 +// CHECK:STDOUT: %ModAssignWith.assoc_type => constants.%ModAssignWith.assoc_type.e0e +// CHECK:STDOUT: %assoc0 => constants.%assoc0.928 +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type => constants.%ModAssignWith.WithSelf.Op.type.30a +// CHECK:STDOUT: %.loc251_5.2 => constants.%.e8b +// CHECK:STDOUT: %ModAssignWith.lookup_impl_witness => constants.%custom_witness.ec99b7.2 // CHECK:STDOUT: %impl.elem0.loc251_5.2 => constants.%Int64.Op.cc70d5.7 // CHECK:STDOUT: %specific_impl_fn.loc251_5.2 => constants.%Int64.Op.cc70d5.7 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @TestInc(constants.%T.fed) { -// CHECK:STDOUT: %T.loc278_13.1 => constants.%T.fed -// CHECK:STDOUT: %T.as_type.loc278_33.1 => constants.%T.as_type.1d1 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.8ba822.2 +// CHECK:STDOUT: specific @TestInc(constants.%T.c06) { +// CHECK:STDOUT: %T.loc278_13.1 => constants.%T.c06 +// CHECK:STDOUT: %T.as_type.loc278_33.1 => constants.%T.as_type.4cc +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.55fce5.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @TestDec(constants.%T.c61) { -// CHECK:STDOUT: %T.loc284_13.1 => constants.%T.c61 -// CHECK:STDOUT: %T.as_type.loc284_33.1 => constants.%T.as_type.5ae -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a489aa.2 +// CHECK:STDOUT: specific @TestDec(constants.%T.d9e) { +// CHECK:STDOUT: %T.loc284_13.1 => constants.%T.d9e +// CHECK:STDOUT: %T.as_type.loc284_33.1 => constants.%T.as_type.915 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.317946.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @TestNegate(constants.%Result, constants.%T.3f8) { +// CHECK:STDOUT: specific @TestNegate(constants.%Result, constants.%T.0e9) { // CHECK:STDOUT: %Result.loc292_9.1 => constants.%Result // CHECK:STDOUT: %Result.as_type.loc293_50.1 => constants.%Result.as_type -// CHECK:STDOUT: %facet_type => constants.%facet_type.4bf -// CHECK:STDOUT: %T.loc293_4.1 => constants.%T.3f8 -// CHECK:STDOUT: %pattern_type.loc293 => constants.%pattern_type.ad3 -// CHECK:STDOUT: %pattern_type.loc294_11 => constants.%pattern_type.5eec30.2 -// CHECK:STDOUT: %T.as_type.loc294_24.1 => constants.%T.as_type.013 -// CHECK:STDOUT: %pattern_type.loc294_22 => constants.%pattern_type.48b +// CHECK:STDOUT: %facet_type => constants.%facet_type.fb9 +// CHECK:STDOUT: %T.loc293_4.1 => constants.%T.0e9 +// CHECK:STDOUT: %pattern_type.loc293 => constants.%pattern_type.301 +// CHECK:STDOUT: %pattern_type.loc294_11 => constants.%pattern_type.227a41.2 +// CHECK:STDOUT: %T.as_type.loc294_24.1 => constants.%T.as_type.b01 +// CHECK:STDOUT: %pattern_type.loc294_22 => constants.%pattern_type.5e6 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @TestInc(constants.%Inc.facet.c12) { -// CHECK:STDOUT: %T.loc278_13.1 => constants.%Inc.facet.c12 +// CHECK:STDOUT: specific @TestInc(constants.%Inc.facet.ace) { +// CHECK:STDOUT: %T.loc278_13.1 => constants.%Inc.facet.ace // CHECK:STDOUT: %T.as_type.loc278_33.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type => constants.%pattern_type.e9d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.357 -// CHECK:STDOUT: %Inc.WithSelf.Op.type => constants.%Inc.WithSelf.Op.type.0e6 -// CHECK:STDOUT: %.loc280 => constants.%.2b7 -// CHECK:STDOUT: %Inc.lookup_impl_witness => constants.%custom_witness.b11 +// CHECK:STDOUT: %Inc.WithSelf.Op.type => constants.%Inc.WithSelf.Op.type.f8b +// CHECK:STDOUT: %.loc280 => constants.%.b6c +// CHECK:STDOUT: %Inc.lookup_impl_witness => constants.%custom_witness.ef4 // CHECK:STDOUT: %impl.elem0.loc280_3.2 => constants.%Int32.Op.cc70d5.18 // CHECK:STDOUT: %specific_impl_fn.loc280_3.2 => constants.%Int32.Op.cc70d5.18 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @TestDec(constants.%Dec.facet.706) { -// CHECK:STDOUT: %T.loc284_13.1 => constants.%Dec.facet.706 +// CHECK:STDOUT: specific @TestDec(constants.%Dec.facet.be4) { +// CHECK:STDOUT: %T.loc284_13.1 => constants.%Dec.facet.be4 // CHECK:STDOUT: %T.as_type.loc284_33.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type => constants.%pattern_type.e9d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.357 -// CHECK:STDOUT: %Dec.WithSelf.Op.type => constants.%Dec.WithSelf.Op.type.fb8 -// CHECK:STDOUT: %.loc286 => constants.%.1dd -// CHECK:STDOUT: %Dec.lookup_impl_witness => constants.%custom_witness.b00 +// CHECK:STDOUT: %Dec.WithSelf.Op.type => constants.%Dec.WithSelf.Op.type.479 +// CHECK:STDOUT: %.loc286 => constants.%.a3b +// CHECK:STDOUT: %Dec.lookup_impl_witness => constants.%custom_witness.7c5 // CHECK:STDOUT: %impl.elem0.loc286_3.2 => constants.%Int32.Op.cc70d5.19 // CHECK:STDOUT: %specific_impl_fn.loc286_3.2 => constants.%Int32.Op.cc70d5.19 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @TestNegate(constants.%Destroy.facet.787, constants.%facet_value.15e) { -// CHECK:STDOUT: %Result.loc292_9.1 => constants.%Destroy.facet.787 +// CHECK:STDOUT: specific @TestNegate(constants.%Destroy.facet.3de, constants.%facet_value.e43) { +// CHECK:STDOUT: %Result.loc292_9.1 => constants.%Destroy.facet.3de // CHECK:STDOUT: %Result.as_type.loc293_50.1 => constants.%Int64 -// CHECK:STDOUT: %facet_type => constants.%facet_type.286 -// CHECK:STDOUT: %T.loc293_4.1 => constants.%facet_value.15e -// CHECK:STDOUT: %pattern_type.loc293 => constants.%pattern_type.fc5 +// CHECK:STDOUT: %facet_type => constants.%facet_type.999 +// CHECK:STDOUT: %T.loc293_4.1 => constants.%facet_value.e43 +// CHECK:STDOUT: %pattern_type.loc293 => constants.%pattern_type.04d // CHECK:STDOUT: %pattern_type.loc294_11 => constants.%pattern_type.7b1 // CHECK:STDOUT: %T.as_type.loc294_24.1 => constants.%Int16 // CHECK:STDOUT: %pattern_type.loc294_22 => constants.%pattern_type.802 @@ -3804,25 +3804,25 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc294_11 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc294_22 => constants.%complete_type.357 -// CHECK:STDOUT: %Negate.lookup_impl_witness => constants.%custom_witness.ce3 -// CHECK:STDOUT: %Negate.facet => constants.%Negate.facet.8ca -// CHECK:STDOUT: %Negate.WithSelf.Op.type => constants.%Negate.WithSelf.Op.type.916 -// CHECK:STDOUT: %.loc296_3.3 => constants.%.aa8 +// CHECK:STDOUT: %Negate.lookup_impl_witness => constants.%custom_witness.71b +// CHECK:STDOUT: %Negate.facet => constants.%Negate.facet.070 +// CHECK:STDOUT: %Negate.WithSelf.Op.type => constants.%Negate.WithSelf.Op.type.cde +// CHECK:STDOUT: %.loc296_3.3 => constants.%.e93 // CHECK:STDOUT: %impl.elem1.loc296_3.2 => constants.%Int16.Op.cc70d5.18 // CHECK:STDOUT: %specific_impl_fn.loc296_3.3 => constants.%Int16.Op.cc70d5.18 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.01d -// CHECK:STDOUT: %.loc296_3.4 => constants.%.0f7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.3 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.2bb +// CHECK:STDOUT: %.loc296_3.4 => constants.%.dda +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.3 // CHECK:STDOUT: %impl.elem0.loc296_3.2 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc296_3.4 => constants.%Int64.Op.cc70d5.1 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @TestNegate(constants.%Destroy.facet.cff, constants.%facet_value.fd9) { -// CHECK:STDOUT: %Result.loc292_9.1 => constants.%Destroy.facet.cff +// CHECK:STDOUT: specific @TestNegate(constants.%Destroy.facet.d87, constants.%facet_value.b3a) { +// CHECK:STDOUT: %Result.loc292_9.1 => constants.%Destroy.facet.d87 // CHECK:STDOUT: %Result.as_type.loc293_50.1 => constants.%Int32 -// CHECK:STDOUT: %facet_type => constants.%facet_type.06f -// CHECK:STDOUT: %T.loc293_4.1 => constants.%facet_value.fd9 -// CHECK:STDOUT: %pattern_type.loc293 => constants.%pattern_type.742 +// CHECK:STDOUT: %facet_type => constants.%facet_type.363 +// CHECK:STDOUT: %T.loc293_4.1 => constants.%facet_value.b3a +// CHECK:STDOUT: %pattern_type.loc293 => constants.%pattern_type.4d0 // CHECK:STDOUT: %pattern_type.loc294_11 => constants.%pattern_type.e9d // CHECK:STDOUT: %T.as_type.loc294_24.1 => constants.%Int32 // CHECK:STDOUT: %pattern_type.loc294_22 => constants.%pattern_type.e9d @@ -3830,15 +3830,15 @@ fn TestUnaryOperators(a: Cpp.Int16, b: Cpp.Int32) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc294_11 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc294_22 => constants.%complete_type.357 -// CHECK:STDOUT: %Negate.lookup_impl_witness => constants.%custom_witness.79d -// CHECK:STDOUT: %Negate.facet => constants.%Negate.facet.c5f -// CHECK:STDOUT: %Negate.WithSelf.Op.type => constants.%Negate.WithSelf.Op.type.7f7 -// CHECK:STDOUT: %.loc296_3.3 => constants.%.f52 +// CHECK:STDOUT: %Negate.lookup_impl_witness => constants.%custom_witness.45a +// CHECK:STDOUT: %Negate.facet => constants.%Negate.facet.670 +// CHECK:STDOUT: %Negate.WithSelf.Op.type => constants.%Negate.WithSelf.Op.type.20b +// CHECK:STDOUT: %.loc296_3.3 => constants.%.76e // CHECK:STDOUT: %impl.elem1.loc296_3.2 => constants.%Int32.Op.cc70d5.20 // CHECK:STDOUT: %specific_impl_fn.loc296_3.3 => constants.%Int32.Op.cc70d5.20 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.e16 -// CHECK:STDOUT: %.loc296_3.4 => constants.%.e18 -// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.4e6cb0.2 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type => constants.%Destroy.WithSelf.Op.type.a62 +// CHECK:STDOUT: %.loc296_3.4 => constants.%.e4f +// CHECK:STDOUT: %Destroy.lookup_impl_witness => constants.%custom_witness.a98c63.2 // CHECK:STDOUT: %impl.elem0.loc296_3.2 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: %specific_impl_fn.loc296_3.4 => constants.%Int32.Op.cc70d5.1 // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/operators/deref.carbon b/toolchain/check/testdata/interop/cpp/operators/deref.carbon index 084125eb1c5c..6a2d917bdf74 100644 --- a/toolchain/check/testdata/interop/cpp/operators/deref.carbon +++ b/toolchain/check/testdata/interop/cpp/operators/deref.carbon @@ -124,20 +124,20 @@ fn TestDerefFail(not_ptr: Cpp.NotAPtr) { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %CppUnsafeDeref.type: type = facet_type <@CppUnsafeDeref> [concrete] // CHECK:STDOUT: %Self: %CppUnsafeDeref.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %CppUnsafeDeref.WithSelf.Op.type.0e1: type = fn_type @CppUnsafeDeref.WithSelf.Op, @CppUnsafeDeref.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %CppUnsafeDeref.WithSelf.Op.808: %CppUnsafeDeref.WithSelf.Op.type.0e1 = struct_value () [symbolic] +// CHECK:STDOUT: %CppUnsafeDeref.WithSelf.Op.type.393: type = fn_type @CppUnsafeDeref.WithSelf.Op, @CppUnsafeDeref.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %CppUnsafeDeref.WithSelf.Op.0fa: %CppUnsafeDeref.WithSelf.Op.type.393 = struct_value () [symbolic] // CHECK:STDOUT: %CppUnsafeDeref.assoc_type: type = assoc_entity_type @CppUnsafeDeref [concrete] -// CHECK:STDOUT: %assoc1: %CppUnsafeDeref.assoc_type = assoc_entity element1, imports.%Core.import_ref.072 [concrete] +// CHECK:STDOUT: %assoc1: %CppUnsafeDeref.assoc_type = assoc_entity element1, imports.%Core.import_ref.a48 [concrete] // CHECK:STDOUT: %ConstDeref.cpp_operator.type: type = fn_type @ConstDeref.cpp_operator [concrete] // CHECK:STDOUT: %ConstDeref.cpp_operator: %ConstDeref.cpp_operator.type = struct_value () [concrete] // CHECK:STDOUT: %operator_Star__carbon_thunk.type: type = fn_type @operator_Star__carbon_thunk [concrete] // CHECK:STDOUT: %operator_Star__carbon_thunk: %operator_Star__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %ConstDeref.Op.type: type = fn_type @ConstDeref.Op [concrete] // CHECK:STDOUT: %ConstDeref.Op: %ConstDeref.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.261: = custom_witness (%i32, %ConstDeref.Op), @CppUnsafeDeref [concrete] -// CHECK:STDOUT: %CppUnsafeDeref.facet.f59: %CppUnsafeDeref.type = facet_value %ConstDeref, (%custom_witness.261) [concrete] -// CHECK:STDOUT: %CppUnsafeDeref.WithSelf.Op.type.2e3: type = fn_type @CppUnsafeDeref.WithSelf.Op, @CppUnsafeDeref.WithSelf(%CppUnsafeDeref.facet.f59) [concrete] -// CHECK:STDOUT: %.e15: type = fn_type_with_self_type %CppUnsafeDeref.WithSelf.Op.type.2e3, %CppUnsafeDeref.facet.f59 [concrete] +// CHECK:STDOUT: %custom_witness.000: = custom_witness (%i32, %ConstDeref.Op), @CppUnsafeDeref [concrete] +// CHECK:STDOUT: %CppUnsafeDeref.facet.909: %CppUnsafeDeref.type = facet_value %ConstDeref, (%custom_witness.000) [concrete] +// CHECK:STDOUT: %CppUnsafeDeref.WithSelf.Op.type.6a5: type = fn_type @CppUnsafeDeref.WithSelf.Op, @CppUnsafeDeref.WithSelf(%CppUnsafeDeref.facet.909) [concrete] +// CHECK:STDOUT: %.b71: type = fn_type_with_self_type %CppUnsafeDeref.WithSelf.Op.type.6a5, %CppUnsafeDeref.facet.909 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -149,8 +149,8 @@ fn TestDerefFail(not_ptr: Cpp.NotAPtr) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.CppUnsafeDeref: type = import_ref Core//prelude/operators/deref, CppUnsafeDeref, loaded [concrete = constants.%CppUnsafeDeref.type] -// CHECK:STDOUT: %Core.import_ref.ca6: %CppUnsafeDeref.assoc_type = import_ref Core//prelude/operators/deref, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc1] -// CHECK:STDOUT: %Core.import_ref.072: @CppUnsafeDeref.WithSelf.%CppUnsafeDeref.WithSelf.Op.type (%CppUnsafeDeref.WithSelf.Op.type.0e1) = import_ref Core//prelude/operators/deref, loc{{\d+_\d+}}, loaded [symbolic = @CppUnsafeDeref.WithSelf.%CppUnsafeDeref.WithSelf.Op (constants.%CppUnsafeDeref.WithSelf.Op.808)] +// CHECK:STDOUT: %Core.import_ref.05c: %CppUnsafeDeref.assoc_type = import_ref Core//prelude/operators/deref, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc1] +// CHECK:STDOUT: %Core.import_ref.a48: @CppUnsafeDeref.WithSelf.%CppUnsafeDeref.WithSelf.Op.type (%CppUnsafeDeref.WithSelf.Op.type.393) = import_ref Core//prelude/operators/deref, loc{{\d+_\d+}}, loaded [symbolic = @CppUnsafeDeref.WithSelf.%CppUnsafeDeref.WithSelf.Op (constants.%CppUnsafeDeref.WithSelf.Op.0fa)] // CHECK:STDOUT: %ConstDeref.cpp_operator.decl: %ConstDeref.cpp_operator.type = fn_decl @ConstDeref.cpp_operator [concrete = constants.%ConstDeref.cpp_operator] { // CHECK:STDOUT: // CHECK:STDOUT: } { @@ -168,10 +168,10 @@ fn TestDerefFail(not_ptr: Cpp.NotAPtr) { // CHECK:STDOUT: %int_ptr.ref: ref %ConstDeref = name_ref int_ptr, %int_ptr // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %CppUnsafeDeref.ref: type = name_ref CppUnsafeDeref, imports.%Core.CppUnsafeDeref [concrete = constants.%CppUnsafeDeref.type] -// CHECK:STDOUT: %Op.ref.loc13_38: %CppUnsafeDeref.assoc_type = name_ref Op, imports.%Core.import_ref.ca6 [concrete = constants.%assoc1] +// CHECK:STDOUT: %Op.ref.loc13_38: %CppUnsafeDeref.assoc_type = name_ref Op, imports.%Core.import_ref.05c [concrete = constants.%assoc1] // CHECK:STDOUT: %impl_witness_assoc_constant: type = impl_witness_assoc_constant @ConstDeref.cpp_operator.%i32.2 [concrete = constants.%i32] // CHECK:STDOUT: -// CHECK:STDOUT: %impl.elem1: %.e15 = impl_witness_access constants.%custom_witness.261, element1 [concrete = constants.%ConstDeref.Op] +// CHECK:STDOUT: %impl.elem1: %.b71 = impl_witness_access constants.%custom_witness.000, element1 [concrete = constants.%ConstDeref.Op] // CHECK:STDOUT: %bound_method: = bound_method %int_ptr.ref, %impl.elem1 // CHECK:STDOUT: %Op.ref.loc13_43: %ConstDeref.cpp_operator.type = name_ref Op, imports.%ConstDeref.cpp_operator.decl [concrete = constants.%ConstDeref.cpp_operator] // CHECK:STDOUT: %ConstDeref.cpp_operator.bound: = bound_method %int_ptr.ref, %Op.ref.loc13_43 @@ -189,16 +189,16 @@ fn TestDerefFail(not_ptr: Cpp.NotAPtr) { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %CppUnsafeDeref.type: type = facet_type <@CppUnsafeDeref> [concrete] // CHECK:STDOUT: %Self: %CppUnsafeDeref.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %CppUnsafeDeref.WithSelf.Op.type.0e1: type = fn_type @CppUnsafeDeref.WithSelf.Op, @CppUnsafeDeref.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %CppUnsafeDeref.WithSelf.Op.808: %CppUnsafeDeref.WithSelf.Op.type.0e1 = struct_value () [symbolic] +// CHECK:STDOUT: %CppUnsafeDeref.WithSelf.Op.type.393: type = fn_type @CppUnsafeDeref.WithSelf.Op, @CppUnsafeDeref.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %CppUnsafeDeref.WithSelf.Op.0fa: %CppUnsafeDeref.WithSelf.Op.type.393 = struct_value () [symbolic] // CHECK:STDOUT: %CppUnsafeDeref.assoc_type: type = assoc_entity_type @CppUnsafeDeref [concrete] -// CHECK:STDOUT: %assoc1: %CppUnsafeDeref.assoc_type = assoc_entity element1, imports.%Core.import_ref.072 [concrete] +// CHECK:STDOUT: %assoc1: %CppUnsafeDeref.assoc_type = assoc_entity element1, imports.%Core.import_ref.a48 [concrete] // CHECK:STDOUT: %MutableDeref.cpp_operator.type: type = fn_type @MutableDeref.cpp_operator [concrete] // CHECK:STDOUT: %MutableDeref.cpp_operator: %MutableDeref.cpp_operator.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.0b1: = custom_witness (%i32, %MutableDeref.cpp_operator), @CppUnsafeDeref [concrete] -// CHECK:STDOUT: %CppUnsafeDeref.facet.b48: %CppUnsafeDeref.type = facet_value %MutableDeref, (%custom_witness.0b1) [concrete] -// CHECK:STDOUT: %CppUnsafeDeref.WithSelf.Op.type.f94: type = fn_type @CppUnsafeDeref.WithSelf.Op, @CppUnsafeDeref.WithSelf(%CppUnsafeDeref.facet.b48) [concrete] -// CHECK:STDOUT: %.300: type = fn_type_with_self_type %CppUnsafeDeref.WithSelf.Op.type.f94, %CppUnsafeDeref.facet.b48 [concrete] +// CHECK:STDOUT: %custom_witness.91c: = custom_witness (%i32, %MutableDeref.cpp_operator), @CppUnsafeDeref [concrete] +// CHECK:STDOUT: %CppUnsafeDeref.facet.62a: %CppUnsafeDeref.type = facet_value %MutableDeref, (%custom_witness.91c) [concrete] +// CHECK:STDOUT: %CppUnsafeDeref.WithSelf.Op.type.1b7: type = fn_type @CppUnsafeDeref.WithSelf.Op, @CppUnsafeDeref.WithSelf(%CppUnsafeDeref.facet.62a) [concrete] +// CHECK:STDOUT: %.a97: type = fn_type_with_self_type %CppUnsafeDeref.WithSelf.Op.type.1b7, %CppUnsafeDeref.facet.62a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -210,8 +210,8 @@ fn TestDerefFail(not_ptr: Cpp.NotAPtr) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.CppUnsafeDeref: type = import_ref Core//prelude/operators/deref, CppUnsafeDeref, loaded [concrete = constants.%CppUnsafeDeref.type] -// CHECK:STDOUT: %Core.import_ref.ca6: %CppUnsafeDeref.assoc_type = import_ref Core//prelude/operators/deref, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc1] -// CHECK:STDOUT: %Core.import_ref.072: @CppUnsafeDeref.WithSelf.%CppUnsafeDeref.WithSelf.Op.type (%CppUnsafeDeref.WithSelf.Op.type.0e1) = import_ref Core//prelude/operators/deref, loc{{\d+_\d+}}, loaded [symbolic = @CppUnsafeDeref.WithSelf.%CppUnsafeDeref.WithSelf.Op (constants.%CppUnsafeDeref.WithSelf.Op.808)] +// CHECK:STDOUT: %Core.import_ref.05c: %CppUnsafeDeref.assoc_type = import_ref Core//prelude/operators/deref, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc1] +// CHECK:STDOUT: %Core.import_ref.a48: @CppUnsafeDeref.WithSelf.%CppUnsafeDeref.WithSelf.Op.type (%CppUnsafeDeref.WithSelf.Op.type.393) = import_ref Core//prelude/operators/deref, loc{{\d+_\d+}}, loaded [symbolic = @CppUnsafeDeref.WithSelf.%CppUnsafeDeref.WithSelf.Op (constants.%CppUnsafeDeref.WithSelf.Op.0fa)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestDerefPass(%int_ptr.param: ref %MutableDeref) -> ref %i32 { @@ -219,9 +219,9 @@ fn TestDerefFail(not_ptr: Cpp.NotAPtr) { // CHECK:STDOUT: %int_ptr.ref: ref %MutableDeref = name_ref int_ptr, %int_ptr // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %CppUnsafeDeref.ref: type = name_ref CppUnsafeDeref, imports.%Core.CppUnsafeDeref [concrete = constants.%CppUnsafeDeref.type] -// CHECK:STDOUT: %Op.ref: %CppUnsafeDeref.assoc_type = name_ref Op, imports.%Core.import_ref.ca6 [concrete = constants.%assoc1] +// CHECK:STDOUT: %Op.ref: %CppUnsafeDeref.assoc_type = name_ref Op, imports.%Core.import_ref.05c [concrete = constants.%assoc1] // CHECK:STDOUT: %impl_witness_assoc_constant: type = impl_witness_assoc_constant @MutableDeref.cpp_operator.%i32.2 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem1: %.300 = impl_witness_access constants.%custom_witness.0b1, element1 [concrete = constants.%MutableDeref.cpp_operator] +// CHECK:STDOUT: %impl.elem1: %.a97 = impl_witness_access constants.%custom_witness.91c, element1 [concrete = constants.%MutableDeref.cpp_operator] // CHECK:STDOUT: %bound_method: = bound_method %int_ptr.ref, %impl.elem1 // CHECK:STDOUT: %MutableDeref.cpp_operator.call: ref %i32 = call %bound_method(%int_ptr.ref) // CHECK:STDOUT: return %MutableDeref.cpp_operator.call diff --git a/toolchain/check/testdata/interop/cpp/operators/eq_with.carbon b/toolchain/check/testdata/interop/cpp/operators/eq_with.carbon index f9641ad2b3e1..52aa66faa816 100644 --- a/toolchain/check/testdata/interop/cpp/operators/eq_with.carbon +++ b/toolchain/check/testdata/interop/cpp/operators/eq_with.carbon @@ -362,104 +362,104 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: constants { // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %Other: type = symbolic_binding Other, 0 [symbolic] -// CHECK:STDOUT: %EqWith.type.1790d7.1: type = facet_type <@EqWith.1, @EqWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.7839ed.1: %EqWith.type.1790d7.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %EqWith.assoc_type.efa4d1.1: type = assoc_entity_type @EqWith.1, @EqWith.1(%Other) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.d0da48.1: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Other, %Self.7839ed.1) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.f72b2f.1: %EqWith.WithSelf.NotEqual.type.d0da48.1 = struct_value () [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.c6aebf.1: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Other, %Self.7839ed.1) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.b440b7.1: %EqWith.WithSelf.Equal.type.c6aebf.1 = struct_value () [symbolic] -// CHECK:STDOUT: %EqWith.type.1790d7.2: type = facet_type <@EqWith.1, @EqWith.1(%U)> [symbolic] -// CHECK:STDOUT: %pattern_type.7dc: type = pattern_type %EqWith.type.1790d7.2 [symbolic] -// CHECK:STDOUT: %T: %EqWith.type.1790d7.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %EqWith.assoc_type.efa4d1.2: type = assoc_entity_type @EqWith.1, @EqWith.1(%U) [symbolic] -// CHECK:STDOUT: %assoc0.5e77ba.2: %EqWith.assoc_type.efa4d1.2 = assoc_entity element0, imports.%Core.import_ref.5f3 [symbolic] -// CHECK:STDOUT: %assoc1.7b7afb.2: %EqWith.assoc_type.efa4d1.2 = assoc_entity element1, imports.%Core.import_ref.515 [symbolic] +// CHECK:STDOUT: %EqWith.type.e412df.1: type = facet_type <@EqWith.1, @EqWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.1e4d80.1: %EqWith.type.e412df.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %EqWith.assoc_type.27e9f5.1: type = assoc_entity_type @EqWith.1, @EqWith.1(%Other) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.a34bef.1: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Other, %Self.1e4d80.1) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.34d150.1: %EqWith.WithSelf.NotEqual.type.a34bef.1 = struct_value () [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.28b02d.1: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Other, %Self.1e4d80.1) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.6ee1cd.1: %EqWith.WithSelf.Equal.type.28b02d.1 = struct_value () [symbolic] +// CHECK:STDOUT: %EqWith.type.e412df.2: type = facet_type <@EqWith.1, @EqWith.1(%U)> [symbolic] +// CHECK:STDOUT: %pattern_type.243: type = pattern_type %EqWith.type.e412df.2 [symbolic] +// CHECK:STDOUT: %T: %EqWith.type.e412df.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %EqWith.assoc_type.27e9f5.2: type = assoc_entity_type @EqWith.1, @EqWith.1(%U) [symbolic] +// CHECK:STDOUT: %assoc0.04df8c.2: %EqWith.assoc_type.27e9f5.2 = assoc_entity element0, imports.%Core.import_ref.eea [symbolic] +// CHECK:STDOUT: %assoc1.47b841.2: %EqWith.assoc_type.27e9f5.2 = assoc_entity element1, imports.%Core.import_ref.228 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.96b8c1.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.479039.2: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %pattern_type.51d1c4.2: type = pattern_type %U [symbolic] -// CHECK:STDOUT: %require_complete.d87: = require_complete_type %EqWith.type.1790d7.2 [symbolic] -// CHECK:STDOUT: %assoc0.b78: %EqWith.assoc_type.efa4d1.1 = assoc_entity element0, imports.%Core.import_ref.c6b [symbolic] +// CHECK:STDOUT: %require_complete.1c9: = require_complete_type %EqWith.type.e412df.2 [symbolic] +// CHECK:STDOUT: %assoc0.5b6: %EqWith.assoc_type.27e9f5.1 = assoc_entity element0, imports.%Core.import_ref.c77 [symbolic] // CHECK:STDOUT: %EqWith.lookup_impl_witness: = lookup_impl_witness %T, @EqWith.1, @EqWith.1(%U) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.c6aebf.3: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%U, %T) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.d0da48.3: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%U, %T) [symbolic] -// CHECK:STDOUT: %.10a: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.c6aebf.3, %T [symbolic] -// CHECK:STDOUT: %impl.elem0: %.10a = impl_witness_access %EqWith.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.b75: = specific_impl_function %impl.elem0, @EqWith.WithSelf.Equal(%U, %T) [symbolic] -// CHECK:STDOUT: %assoc1.579: %EqWith.assoc_type.efa4d1.1 = assoc_entity element1, imports.%Core.import_ref.4af [symbolic] -// CHECK:STDOUT: %.2bb: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.d0da48.3, %T [symbolic] -// CHECK:STDOUT: %impl.elem1: %.2bb = impl_witness_access %EqWith.lookup_impl_witness, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.bc2: = specific_impl_function %impl.elem1, @EqWith.WithSelf.NotEqual(%U, %T) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.28b02d.3: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%U, %T) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.a34bef.3: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%U, %T) [symbolic] +// CHECK:STDOUT: %.e7e: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.28b02d.3, %T [symbolic] +// CHECK:STDOUT: %impl.elem0: %.e7e = impl_witness_access %EqWith.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.ba9: = specific_impl_function %impl.elem0, @EqWith.WithSelf.Equal(%U, %T) [symbolic] +// CHECK:STDOUT: %assoc1.491: %EqWith.assoc_type.27e9f5.1 = assoc_entity element1, imports.%Core.import_ref.c36 [symbolic] +// CHECK:STDOUT: %.a13: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.a34bef.3, %T [symbolic] +// CHECK:STDOUT: %impl.elem1: %.a13 = impl_witness_access %EqWith.lookup_impl_witness, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a6f: = specific_impl_function %impl.elem1, @EqWith.WithSelf.NotEqual(%U, %T) [symbolic] // CHECK:STDOUT: %EqualityComparable: type = class_type @EqualityComparable [concrete] // CHECK:STDOUT: %pattern_type.51b: type = pattern_type %EqualityComparable [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %EqWith.type.01f: type = facet_type <@EqWith.1, @EqWith.1(%EqualityComparable)> [concrete] -// CHECK:STDOUT: %EqWith.assoc_type.804: type = assoc_entity_type @EqWith.1, @EqWith.1(%EqualityComparable) [concrete] -// CHECK:STDOUT: %assoc0.614: %EqWith.assoc_type.804 = assoc_entity element0, imports.%Core.import_ref.5f3 [concrete] -// CHECK:STDOUT: %assoc1.7f7: %EqWith.assoc_type.804 = assoc_entity element1, imports.%Core.import_ref.515 [concrete] +// CHECK:STDOUT: %EqWith.type.dae: type = facet_type <@EqWith.1, @EqWith.1(%EqualityComparable)> [concrete] +// CHECK:STDOUT: %EqWith.assoc_type.fa0: type = assoc_entity_type @EqWith.1, @EqWith.1(%EqualityComparable) [concrete] +// CHECK:STDOUT: %assoc0.5f5: %EqWith.assoc_type.fa0 = assoc_entity element0, imports.%Core.import_ref.eea [concrete] +// CHECK:STDOUT: %assoc1.8e8: %EqWith.assoc_type.fa0 = assoc_entity element1, imports.%Core.import_ref.228 [concrete] // CHECK:STDOUT: %EqualityComparable.Equal.type: type = fn_type @EqualityComparable.Equal [concrete] // CHECK:STDOUT: %EqualityComparable.Equal: %EqualityComparable.Equal.type = struct_value () [concrete] // CHECK:STDOUT: %EqualityComparable.NotEqual.type: type = fn_type @EqualityComparable.NotEqual [concrete] // CHECK:STDOUT: %EqualityComparable.NotEqual: %EqualityComparable.NotEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.1b3: = custom_witness (%EqualityComparable.Equal, %EqualityComparable.NotEqual), @EqWith.1, @EqWith.1(%EqualityComparable) [concrete] -// CHECK:STDOUT: %EqWith.facet.dc5: %EqWith.type.01f = facet_value %EqualityComparable, (%custom_witness.1b3) [concrete] -// CHECK:STDOUT: %pattern_type.6c1: type = pattern_type %EqWith.type.01f [concrete] -// CHECK:STDOUT: %complete_type.bcc: = complete_type_witness %EqWith.type.01f [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.d46: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%EqualityComparable, %EqWith.facet.dc5) [concrete] -// CHECK:STDOUT: %.5de: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.d46, %EqWith.facet.dc5 [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.0ea: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%EqualityComparable, %EqWith.facet.dc5) [concrete] -// CHECK:STDOUT: %.45e: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.0ea, %EqWith.facet.dc5 [concrete] +// CHECK:STDOUT: %custom_witness.c57: = custom_witness (%EqualityComparable.Equal, %EqualityComparable.NotEqual), @EqWith.1, @EqWith.1(%EqualityComparable) [concrete] +// CHECK:STDOUT: %EqWith.facet.081: %EqWith.type.dae = facet_value %EqualityComparable, (%custom_witness.c57) [concrete] +// CHECK:STDOUT: %pattern_type.495: type = pattern_type %EqWith.type.dae [concrete] +// CHECK:STDOUT: %complete_type.c58: = complete_type_witness %EqWith.type.dae [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.c97: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%EqualityComparable, %EqWith.facet.081) [concrete] +// CHECK:STDOUT: %.a66: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.c97, %EqWith.facet.081 [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.ecf: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%EqualityComparable, %EqWith.facet.081) [concrete] +// CHECK:STDOUT: %.87a: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.ecf, %EqWith.facet.081 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.c6d: @EqWith.WithSelf.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%assoc0 (constants.%assoc0.b78)] -// CHECK:STDOUT: %Core.import_ref.5a3: @EqWith.WithSelf.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%assoc1 (constants.%assoc1.579)] -// CHECK:STDOUT: %Core.import_ref.515: @EqWith.WithSelf.%EqWith.WithSelf.NotEqual.type (%EqWith.WithSelf.NotEqual.type.d0da48.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%EqWith.WithSelf.NotEqual (constants.%EqWith.WithSelf.NotEqual.f72b2f.1)] -// CHECK:STDOUT: %Core.import_ref.5f3: @EqWith.WithSelf.%EqWith.WithSelf.Equal.type (%EqWith.WithSelf.Equal.type.c6aebf.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%EqWith.WithSelf.Equal (constants.%EqWith.WithSelf.Equal.b440b7.1)] -// CHECK:STDOUT: %Core.import_ref.c6b = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.4af = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.0a8: @EqWith.WithSelf.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%assoc0 (constants.%assoc0.5b6)] +// CHECK:STDOUT: %Core.import_ref.33b: @EqWith.WithSelf.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%assoc1 (constants.%assoc1.491)] +// CHECK:STDOUT: %Core.import_ref.228: @EqWith.WithSelf.%EqWith.WithSelf.NotEqual.type (%EqWith.WithSelf.NotEqual.type.a34bef.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%EqWith.WithSelf.NotEqual (constants.%EqWith.WithSelf.NotEqual.34d150.1)] +// CHECK:STDOUT: %Core.import_ref.eea: @EqWith.WithSelf.%EqWith.WithSelf.Equal.type (%EqWith.WithSelf.Equal.type.28b02d.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%EqWith.WithSelf.Equal (constants.%EqWith.WithSelf.Equal.6ee1cd.1)] +// CHECK:STDOUT: %Core.import_ref.c77 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.c36 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @EqWith.loc11(%U.loc11_12.2: type, %T.loc11_22.2: @EqWith.loc11.%EqWith.type.loc11_38.1 (%EqWith.type.1790d7.2)) { +// CHECK:STDOUT: generic fn @EqWith.loc11(%U.loc11_12.2: type, %T.loc11_22.2: @EqWith.loc11.%EqWith.type.loc11_38.1 (%EqWith.type.e412df.2)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc13: = require_complete_type %EqWith.type.loc11_38.1 [symbolic = %require_complete.loc13 (constants.%require_complete.d87)] -// CHECK:STDOUT: %EqWith.assoc_type: type = assoc_entity_type @EqWith.1, @EqWith.1(%U.loc11_12.1) [symbolic = %EqWith.assoc_type (constants.%EqWith.assoc_type.efa4d1.2)] -// CHECK:STDOUT: %assoc0: @EqWith.loc11.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = assoc_entity element0, imports.%Core.import_ref.5f3 [symbolic = %assoc0 (constants.%assoc0.5e77ba.2)] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%U.loc11_12.1, %T.loc11_22.1) [symbolic = %EqWith.WithSelf.Equal.type (constants.%EqWith.WithSelf.Equal.type.c6aebf.3)] -// CHECK:STDOUT: %.loc13_5.2: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type, %T.loc11_22.1 [symbolic = %.loc13_5.2 (constants.%.10a)] +// CHECK:STDOUT: %require_complete.loc13: = require_complete_type %EqWith.type.loc11_38.1 [symbolic = %require_complete.loc13 (constants.%require_complete.1c9)] +// CHECK:STDOUT: %EqWith.assoc_type: type = assoc_entity_type @EqWith.1, @EqWith.1(%U.loc11_12.1) [symbolic = %EqWith.assoc_type (constants.%EqWith.assoc_type.27e9f5.2)] +// CHECK:STDOUT: %assoc0: @EqWith.loc11.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = assoc_entity element0, imports.%Core.import_ref.eea [symbolic = %assoc0 (constants.%assoc0.04df8c.2)] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%U.loc11_12.1, %T.loc11_22.1) [symbolic = %EqWith.WithSelf.Equal.type (constants.%EqWith.WithSelf.Equal.type.28b02d.3)] +// CHECK:STDOUT: %.loc13_5.2: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type, %T.loc11_22.1 [symbolic = %.loc13_5.2 (constants.%.e7e)] // CHECK:STDOUT: %EqWith.lookup_impl_witness: = lookup_impl_witness %T.loc11_22.1, @EqWith.1, @EqWith.1(%U.loc11_12.1) [symbolic = %EqWith.lookup_impl_witness (constants.%EqWith.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc13_5.2: @EqWith.loc11.%.loc13_5.2 (%.10a) = impl_witness_access %EqWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_5.2 (constants.%impl.elem0)] -// CHECK:STDOUT: %specific_impl_fn.loc13_5.2: = specific_impl_function %impl.elem0.loc13_5.2, @EqWith.WithSelf.Equal(%U.loc11_12.1, %T.loc11_22.1) [symbolic = %specific_impl_fn.loc13_5.2 (constants.%specific_impl_fn.b75)] -// CHECK:STDOUT: %assoc1: @EqWith.loc11.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = assoc_entity element1, imports.%Core.import_ref.515 [symbolic = %assoc1 (constants.%assoc1.7b7afb.2)] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%U.loc11_12.1, %T.loc11_22.1) [symbolic = %EqWith.WithSelf.NotEqual.type (constants.%EqWith.WithSelf.NotEqual.type.d0da48.3)] -// CHECK:STDOUT: %.loc14_5.2: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type, %T.loc11_22.1 [symbolic = %.loc14_5.2 (constants.%.2bb)] -// CHECK:STDOUT: %impl.elem1.loc14_5.2: @EqWith.loc11.%.loc14_5.2 (%.2bb) = impl_witness_access %EqWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc14_5.2 (constants.%impl.elem1)] -// CHECK:STDOUT: %specific_impl_fn.loc14_5.2: = specific_impl_function %impl.elem1.loc14_5.2, @EqWith.WithSelf.NotEqual(%U.loc11_12.1, %T.loc11_22.1) [symbolic = %specific_impl_fn.loc14_5.2 (constants.%specific_impl_fn.bc2)] +// CHECK:STDOUT: %impl.elem0.loc13_5.2: @EqWith.loc11.%.loc13_5.2 (%.e7e) = impl_witness_access %EqWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_5.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %specific_impl_fn.loc13_5.2: = specific_impl_function %impl.elem0.loc13_5.2, @EqWith.WithSelf.Equal(%U.loc11_12.1, %T.loc11_22.1) [symbolic = %specific_impl_fn.loc13_5.2 (constants.%specific_impl_fn.ba9)] +// CHECK:STDOUT: %assoc1: @EqWith.loc11.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = assoc_entity element1, imports.%Core.import_ref.228 [symbolic = %assoc1 (constants.%assoc1.47b841.2)] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%U.loc11_12.1, %T.loc11_22.1) [symbolic = %EqWith.WithSelf.NotEqual.type (constants.%EqWith.WithSelf.NotEqual.type.a34bef.3)] +// CHECK:STDOUT: %.loc14_5.2: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type, %T.loc11_22.1 [symbolic = %.loc14_5.2 (constants.%.a13)] +// CHECK:STDOUT: %impl.elem1.loc14_5.2: @EqWith.loc11.%.loc14_5.2 (%.a13) = impl_witness_access %EqWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc14_5.2 (constants.%impl.elem1)] +// CHECK:STDOUT: %specific_impl_fn.loc14_5.2: = specific_impl_function %impl.elem1.loc14_5.2, @EqWith.WithSelf.NotEqual(%U.loc11_12.1, %T.loc11_22.1) [symbolic = %specific_impl_fn.loc14_5.2 (constants.%specific_impl_fn.a6f)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @EqWith.loc11.%T.as_type.loc11_44.1 (%T.as_type), %y.param: @EqWith.loc11.%U.loc11_12.1 (%U)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref.loc13: @EqWith.loc11.%T.as_type.loc11_44.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc13: @EqWith.loc11.%U.loc11_12.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %EqWith.type.loc13: type = facet_type <@EqWith.1, @EqWith.1(constants.%U)> [symbolic = %EqWith.type.loc11_38.1 (constants.%EqWith.type.1790d7.2)] -// CHECK:STDOUT: %.loc13_5.1: @EqWith.loc11.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = specific_constant imports.%Core.import_ref.c6d, @EqWith.WithSelf(constants.%U, constants.%Self.7839ed.1) [symbolic = %assoc0 (constants.%assoc0.5e77ba.2)] -// CHECK:STDOUT: %Equal.ref: @EqWith.loc11.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = name_ref Equal, %.loc13_5.1 [symbolic = %assoc0 (constants.%assoc0.5e77ba.2)] -// CHECK:STDOUT: %impl.elem0.loc13_5.1: @EqWith.loc11.%.loc13_5.2 (%.10a) = impl_witness_access constants.%EqWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_5.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %EqWith.type.loc13: type = facet_type <@EqWith.1, @EqWith.1(constants.%U)> [symbolic = %EqWith.type.loc11_38.1 (constants.%EqWith.type.e412df.2)] +// CHECK:STDOUT: %.loc13_5.1: @EqWith.loc11.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = specific_constant imports.%Core.import_ref.0a8, @EqWith.WithSelf(constants.%U, constants.%Self.1e4d80.1) [symbolic = %assoc0 (constants.%assoc0.04df8c.2)] +// CHECK:STDOUT: %Equal.ref: @EqWith.loc11.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = name_ref Equal, %.loc13_5.1 [symbolic = %assoc0 (constants.%assoc0.04df8c.2)] +// CHECK:STDOUT: %impl.elem0.loc13_5.1: @EqWith.loc11.%.loc13_5.2 (%.e7e) = impl_witness_access constants.%EqWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_5.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc13_5.1: = bound_method %x.ref.loc13, %impl.elem0.loc13_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc13_5.1: = specific_impl_function %impl.elem0.loc13_5.1, @EqWith.WithSelf.Equal(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc13_5.2 (constants.%specific_impl_fn.b75)] +// CHECK:STDOUT: %specific_impl_fn.loc13_5.1: = specific_impl_function %impl.elem0.loc13_5.1, @EqWith.WithSelf.Equal(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc13_5.2 (constants.%specific_impl_fn.ba9)] // CHECK:STDOUT: %bound_method.loc13_5.2: = bound_method %x.ref.loc13, %specific_impl_fn.loc13_5.1 // CHECK:STDOUT: %EqWith.WithSelf.Equal.call: init bool = call %bound_method.loc13_5.2(%x.ref.loc13, %y.ref.loc13) // CHECK:STDOUT: %x.ref.loc14: @EqWith.loc11.%T.as_type.loc11_44.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc14: @EqWith.loc11.%U.loc11_12.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %EqWith.type.loc14: type = facet_type <@EqWith.1, @EqWith.1(constants.%U)> [symbolic = %EqWith.type.loc11_38.1 (constants.%EqWith.type.1790d7.2)] -// CHECK:STDOUT: %.loc14_5.1: @EqWith.loc11.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = specific_constant imports.%Core.import_ref.5a3, @EqWith.WithSelf(constants.%U, constants.%Self.7839ed.1) [symbolic = %assoc1 (constants.%assoc1.7b7afb.2)] -// CHECK:STDOUT: %NotEqual.ref: @EqWith.loc11.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = name_ref NotEqual, %.loc14_5.1 [symbolic = %assoc1 (constants.%assoc1.7b7afb.2)] -// CHECK:STDOUT: %impl.elem1.loc14_5.1: @EqWith.loc11.%.loc14_5.2 (%.2bb) = impl_witness_access constants.%EqWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc14_5.2 (constants.%impl.elem1)] +// CHECK:STDOUT: %EqWith.type.loc14: type = facet_type <@EqWith.1, @EqWith.1(constants.%U)> [symbolic = %EqWith.type.loc11_38.1 (constants.%EqWith.type.e412df.2)] +// CHECK:STDOUT: %.loc14_5.1: @EqWith.loc11.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = specific_constant imports.%Core.import_ref.33b, @EqWith.WithSelf(constants.%U, constants.%Self.1e4d80.1) [symbolic = %assoc1 (constants.%assoc1.47b841.2)] +// CHECK:STDOUT: %NotEqual.ref: @EqWith.loc11.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = name_ref NotEqual, %.loc14_5.1 [symbolic = %assoc1 (constants.%assoc1.47b841.2)] +// CHECK:STDOUT: %impl.elem1.loc14_5.1: @EqWith.loc11.%.loc14_5.2 (%.a13) = impl_witness_access constants.%EqWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc14_5.2 (constants.%impl.elem1)] // CHECK:STDOUT: %bound_method.loc14_5.1: = bound_method %x.ref.loc14, %impl.elem1.loc14_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc14_5.1: = specific_impl_function %impl.elem1.loc14_5.1, @EqWith.WithSelf.NotEqual(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc14_5.2 (constants.%specific_impl_fn.bc2)] +// CHECK:STDOUT: %specific_impl_fn.loc14_5.1: = specific_impl_function %impl.elem1.loc14_5.1, @EqWith.WithSelf.NotEqual(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc14_5.2 (constants.%specific_impl_fn.a6f)] // CHECK:STDOUT: %bound_method.loc14_5.2: = bound_method %x.ref.loc14, %specific_impl_fn.loc14_5.1 // CHECK:STDOUT: %EqWith.WithSelf.NotEqual.call: init bool = call %bound_method.loc14_5.2(%x.ref.loc14, %y.ref.loc14) // CHECK:STDOUT: @@ -468,19 +468,19 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: // CHECK:STDOUT: specific @EqWith.loc11(constants.%U, constants.%T) { // CHECK:STDOUT: %U.loc11_12.1 => constants.%U -// CHECK:STDOUT: %EqWith.type.loc11_38.1 => constants.%EqWith.type.1790d7.2 +// CHECK:STDOUT: %EqWith.type.loc11_38.1 => constants.%EqWith.type.e412df.2 // CHECK:STDOUT: %T.loc11_22.1 => constants.%T -// CHECK:STDOUT: %pattern_type.loc11_22 => constants.%pattern_type.7dc +// CHECK:STDOUT: %pattern_type.loc11_22 => constants.%pattern_type.243 // CHECK:STDOUT: %T.as_type.loc11_44.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.loc11_42 => constants.%pattern_type.96b8c1.2 +// CHECK:STDOUT: %pattern_type.loc11_42 => constants.%pattern_type.479039.2 // CHECK:STDOUT: %pattern_type.loc11_48 => constants.%pattern_type.51d1c4.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @EqWith.loc11(constants.%EqualityComparable, constants.%EqWith.facet.dc5) { +// CHECK:STDOUT: specific @EqWith.loc11(constants.%EqualityComparable, constants.%EqWith.facet.081) { // CHECK:STDOUT: %U.loc11_12.1 => constants.%EqualityComparable -// CHECK:STDOUT: %EqWith.type.loc11_38.1 => constants.%EqWith.type.01f -// CHECK:STDOUT: %T.loc11_22.1 => constants.%EqWith.facet.dc5 -// CHECK:STDOUT: %pattern_type.loc11_22 => constants.%pattern_type.6c1 +// CHECK:STDOUT: %EqWith.type.loc11_38.1 => constants.%EqWith.type.dae +// CHECK:STDOUT: %T.loc11_22.1 => constants.%EqWith.facet.081 +// CHECK:STDOUT: %pattern_type.loc11_22 => constants.%pattern_type.495 // CHECK:STDOUT: %T.as_type.loc11_44.1 => constants.%EqualityComparable // CHECK:STDOUT: %pattern_type.loc11_42 => constants.%pattern_type.51b // CHECK:STDOUT: %pattern_type.loc11_48 => constants.%pattern_type.51b @@ -488,17 +488,17 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc11_42 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc11_48 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc13 => constants.%complete_type.bcc -// CHECK:STDOUT: %EqWith.assoc_type => constants.%EqWith.assoc_type.804 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.614 -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type => constants.%EqWith.WithSelf.Equal.type.d46 -// CHECK:STDOUT: %.loc13_5.2 => constants.%.5de -// CHECK:STDOUT: %EqWith.lookup_impl_witness => constants.%custom_witness.1b3 +// CHECK:STDOUT: %require_complete.loc13 => constants.%complete_type.c58 +// CHECK:STDOUT: %EqWith.assoc_type => constants.%EqWith.assoc_type.fa0 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.5f5 +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type => constants.%EqWith.WithSelf.Equal.type.c97 +// CHECK:STDOUT: %.loc13_5.2 => constants.%.a66 +// CHECK:STDOUT: %EqWith.lookup_impl_witness => constants.%custom_witness.c57 // CHECK:STDOUT: %impl.elem0.loc13_5.2 => constants.%EqualityComparable.Equal // CHECK:STDOUT: %specific_impl_fn.loc13_5.2 => constants.%EqualityComparable.Equal -// CHECK:STDOUT: %assoc1 => constants.%assoc1.7f7 -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type => constants.%EqWith.WithSelf.NotEqual.type.0ea -// CHECK:STDOUT: %.loc14_5.2 => constants.%.45e +// CHECK:STDOUT: %assoc1 => constants.%assoc1.8e8 +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type => constants.%EqWith.WithSelf.NotEqual.type.ecf +// CHECK:STDOUT: %.loc14_5.2 => constants.%.87a // CHECK:STDOUT: %impl.elem1.loc14_5.2 => constants.%EqualityComparable.NotEqual // CHECK:STDOUT: %specific_impl_fn.loc14_5.2 => constants.%EqualityComparable.NotEqual // CHECK:STDOUT: } @@ -508,34 +508,34 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: constants { // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %Other: type = symbolic_binding Other, 0 [symbolic] -// CHECK:STDOUT: %EqWith.type.1790d7.1: type = facet_type <@EqWith.1, @EqWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.7839ed.1: %EqWith.type.1790d7.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %EqWith.assoc_type.efa4d1.1: type = assoc_entity_type @EqWith.1, @EqWith.1(%Other) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.d0da48.1: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Other, %Self.7839ed.1) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.f72b2f.1: %EqWith.WithSelf.NotEqual.type.d0da48.1 = struct_value () [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.c6aebf.1: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Other, %Self.7839ed.1) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.b440b7.1: %EqWith.WithSelf.Equal.type.c6aebf.1 = struct_value () [symbolic] -// CHECK:STDOUT: %EqWith.type.1790d7.2: type = facet_type <@EqWith.1, @EqWith.1(%U)> [symbolic] -// CHECK:STDOUT: %pattern_type.7dc: type = pattern_type %EqWith.type.1790d7.2 [symbolic] -// CHECK:STDOUT: %T: %EqWith.type.1790d7.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %EqWith.assoc_type.efa4d1.2: type = assoc_entity_type @EqWith.1, @EqWith.1(%U) [symbolic] -// CHECK:STDOUT: %assoc0.5e77ba.2: %EqWith.assoc_type.efa4d1.2 = assoc_entity element0, imports.%Core.import_ref.5f3 [symbolic] -// CHECK:STDOUT: %assoc1.7b7afb.2: %EqWith.assoc_type.efa4d1.2 = assoc_entity element1, imports.%Core.import_ref.515 [symbolic] +// CHECK:STDOUT: %EqWith.type.e412df.1: type = facet_type <@EqWith.1, @EqWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.1e4d80.1: %EqWith.type.e412df.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %EqWith.assoc_type.27e9f5.1: type = assoc_entity_type @EqWith.1, @EqWith.1(%Other) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.a34bef.1: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Other, %Self.1e4d80.1) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.34d150.1: %EqWith.WithSelf.NotEqual.type.a34bef.1 = struct_value () [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.28b02d.1: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Other, %Self.1e4d80.1) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.6ee1cd.1: %EqWith.WithSelf.Equal.type.28b02d.1 = struct_value () [symbolic] +// CHECK:STDOUT: %EqWith.type.e412df.2: type = facet_type <@EqWith.1, @EqWith.1(%U)> [symbolic] +// CHECK:STDOUT: %pattern_type.243: type = pattern_type %EqWith.type.e412df.2 [symbolic] +// CHECK:STDOUT: %T: %EqWith.type.e412df.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %EqWith.assoc_type.27e9f5.2: type = assoc_entity_type @EqWith.1, @EqWith.1(%U) [symbolic] +// CHECK:STDOUT: %assoc0.04df8c.2: %EqWith.assoc_type.27e9f5.2 = assoc_entity element0, imports.%Core.import_ref.eea [symbolic] +// CHECK:STDOUT: %assoc1.47b841.2: %EqWith.assoc_type.27e9f5.2 = assoc_entity element1, imports.%Core.import_ref.228 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.96b8c1.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.479039.2: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %pattern_type.51d1c4.2: type = pattern_type %U [symbolic] -// CHECK:STDOUT: %require_complete.d87: = require_complete_type %EqWith.type.1790d7.2 [symbolic] -// CHECK:STDOUT: %assoc0.b78: %EqWith.assoc_type.efa4d1.1 = assoc_entity element0, imports.%Core.import_ref.c6b [symbolic] +// CHECK:STDOUT: %require_complete.1c9: = require_complete_type %EqWith.type.e412df.2 [symbolic] +// CHECK:STDOUT: %assoc0.5b6: %EqWith.assoc_type.27e9f5.1 = assoc_entity element0, imports.%Core.import_ref.c77 [symbolic] // CHECK:STDOUT: %EqWith.lookup_impl_witness: = lookup_impl_witness %T, @EqWith.1, @EqWith.1(%U) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.c6aebf.3: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%U, %T) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.d0da48.3: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%U, %T) [symbolic] -// CHECK:STDOUT: %.10a: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.c6aebf.3, %T [symbolic] -// CHECK:STDOUT: %impl.elem0: %.10a = impl_witness_access %EqWith.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.b75: = specific_impl_function %impl.elem0, @EqWith.WithSelf.Equal(%U, %T) [symbolic] -// CHECK:STDOUT: %assoc1.579: %EqWith.assoc_type.efa4d1.1 = assoc_entity element1, imports.%Core.import_ref.4af [symbolic] -// CHECK:STDOUT: %.2bb: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.d0da48.3, %T [symbolic] -// CHECK:STDOUT: %impl.elem1: %.2bb = impl_witness_access %EqWith.lookup_impl_witness, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.bc2: = specific_impl_function %impl.elem1, @EqWith.WithSelf.NotEqual(%U, %T) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.28b02d.3: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%U, %T) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.a34bef.3: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%U, %T) [symbolic] +// CHECK:STDOUT: %.e7e: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.28b02d.3, %T [symbolic] +// CHECK:STDOUT: %impl.elem0: %.e7e = impl_witness_access %EqWith.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.ba9: = specific_impl_function %impl.elem0, @EqWith.WithSelf.Equal(%U, %T) [symbolic] +// CHECK:STDOUT: %assoc1.491: %EqWith.assoc_type.27e9f5.1 = assoc_entity element1, imports.%Core.import_ref.c36 [symbolic] +// CHECK:STDOUT: %.a13: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.a34bef.3, %T [symbolic] +// CHECK:STDOUT: %impl.elem1: %.a13 = impl_witness_access %EqWith.lookup_impl_witness, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a6f: = specific_impl_function %impl.elem1, @EqWith.WithSelf.NotEqual(%U, %T) [symbolic] // CHECK:STDOUT: %A1: type = class_type @A1 [concrete] // CHECK:STDOUT: %pattern_type.c8a: type = pattern_type %A1 [concrete] // CHECK:STDOUT: %B1: type = class_type @B1 [concrete] @@ -550,136 +550,136 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: %pattern_type.a20: type = pattern_type %B3 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %EqWith.type.9e4: type = facet_type <@EqWith.1, @EqWith.1(%B1)> [concrete] -// CHECK:STDOUT: %EqWith.assoc_type.196: type = assoc_entity_type @EqWith.1, @EqWith.1(%B1) [concrete] -// CHECK:STDOUT: %assoc0.f5f: %EqWith.assoc_type.196 = assoc_entity element0, imports.%Core.import_ref.5f3 [concrete] -// CHECK:STDOUT: %assoc1.511: %EqWith.assoc_type.196 = assoc_entity element1, imports.%Core.import_ref.515 [concrete] +// CHECK:STDOUT: %EqWith.type.073: type = facet_type <@EqWith.1, @EqWith.1(%B1)> [concrete] +// CHECK:STDOUT: %EqWith.assoc_type.1ba: type = assoc_entity_type @EqWith.1, @EqWith.1(%B1) [concrete] +// CHECK:STDOUT: %assoc0.f24: %EqWith.assoc_type.1ba = assoc_entity element0, imports.%Core.import_ref.eea [concrete] +// CHECK:STDOUT: %assoc1.449: %EqWith.assoc_type.1ba = assoc_entity element1, imports.%Core.import_ref.228 [concrete] // CHECK:STDOUT: %A1.Equal.type: type = fn_type @A1.Equal [concrete] // CHECK:STDOUT: %A1.Equal: %A1.Equal.type = struct_value () [concrete] // CHECK:STDOUT: %A1.NotEqual.type: type = fn_type @A1.NotEqual [concrete] // CHECK:STDOUT: %A1.NotEqual: %A1.NotEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.494: = custom_witness (%A1.Equal, %A1.NotEqual), @EqWith.1, @EqWith.1(%B1) [concrete] -// CHECK:STDOUT: %EqWith.facet.169: %EqWith.type.9e4 = facet_value %A1, (%custom_witness.494) [concrete] -// CHECK:STDOUT: %pattern_type.443: type = pattern_type %EqWith.type.9e4 [concrete] -// CHECK:STDOUT: %EqWith.type.361: type = facet_type <@EqWith.1, @EqWith.1(%A1)> [concrete] -// CHECK:STDOUT: %EqWith.assoc_type.56b: type = assoc_entity_type @EqWith.1, @EqWith.1(%A1) [concrete] -// CHECK:STDOUT: %assoc0.eba: %EqWith.assoc_type.56b = assoc_entity element0, imports.%Core.import_ref.5f3 [concrete] -// CHECK:STDOUT: %assoc1.8ff: %EqWith.assoc_type.56b = assoc_entity element1, imports.%Core.import_ref.515 [concrete] +// CHECK:STDOUT: %custom_witness.8a4: = custom_witness (%A1.Equal, %A1.NotEqual), @EqWith.1, @EqWith.1(%B1) [concrete] +// CHECK:STDOUT: %EqWith.facet.716: %EqWith.type.073 = facet_value %A1, (%custom_witness.8a4) [concrete] +// CHECK:STDOUT: %pattern_type.3f8: type = pattern_type %EqWith.type.073 [concrete] +// CHECK:STDOUT: %EqWith.type.48c: type = facet_type <@EqWith.1, @EqWith.1(%A1)> [concrete] +// CHECK:STDOUT: %EqWith.assoc_type.22c: type = assoc_entity_type @EqWith.1, @EqWith.1(%A1) [concrete] +// CHECK:STDOUT: %assoc0.265: %EqWith.assoc_type.22c = assoc_entity element0, imports.%Core.import_ref.eea [concrete] +// CHECK:STDOUT: %assoc1.8b1: %EqWith.assoc_type.22c = assoc_entity element1, imports.%Core.import_ref.228 [concrete] // CHECK:STDOUT: %B1.Equal.type: type = fn_type @B1.Equal [concrete] // CHECK:STDOUT: %B1.Equal: %B1.Equal.type = struct_value () [concrete] // CHECK:STDOUT: %B1.NotEqual.type: type = fn_type @B1.NotEqual [concrete] // CHECK:STDOUT: %B1.NotEqual: %B1.NotEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.9ed: = custom_witness (%B1.Equal, %B1.NotEqual), @EqWith.1, @EqWith.1(%A1) [concrete] -// CHECK:STDOUT: %EqWith.facet.136: %EqWith.type.361 = facet_value %B1, (%custom_witness.9ed) [concrete] -// CHECK:STDOUT: %pattern_type.144: type = pattern_type %EqWith.type.361 [concrete] -// CHECK:STDOUT: %EqWith.type.cd4: type = facet_type <@EqWith.1, @EqWith.1(%A2)> [concrete] -// CHECK:STDOUT: %EqWith.assoc_type.4df: type = assoc_entity_type @EqWith.1, @EqWith.1(%A2) [concrete] -// CHECK:STDOUT: %assoc0.d22: %EqWith.assoc_type.4df = assoc_entity element0, imports.%Core.import_ref.5f3 [concrete] -// CHECK:STDOUT: %assoc1.ae7: %EqWith.assoc_type.4df = assoc_entity element1, imports.%Core.import_ref.515 [concrete] +// CHECK:STDOUT: %custom_witness.3b6: = custom_witness (%B1.Equal, %B1.NotEqual), @EqWith.1, @EqWith.1(%A1) [concrete] +// CHECK:STDOUT: %EqWith.facet.5f4: %EqWith.type.48c = facet_value %B1, (%custom_witness.3b6) [concrete] +// CHECK:STDOUT: %pattern_type.fe1: type = pattern_type %EqWith.type.48c [concrete] +// CHECK:STDOUT: %EqWith.type.d12: type = facet_type <@EqWith.1, @EqWith.1(%A2)> [concrete] +// CHECK:STDOUT: %EqWith.assoc_type.1d4: type = assoc_entity_type @EqWith.1, @EqWith.1(%A2) [concrete] +// CHECK:STDOUT: %assoc0.00f: %EqWith.assoc_type.1d4 = assoc_entity element0, imports.%Core.import_ref.eea [concrete] +// CHECK:STDOUT: %assoc1.09d: %EqWith.assoc_type.1d4 = assoc_entity element1, imports.%Core.import_ref.228 [concrete] // CHECK:STDOUT: %B2.Equal.type: type = fn_type @B2.Equal [concrete] // CHECK:STDOUT: %B2.Equal: %B2.Equal.type = struct_value () [concrete] // CHECK:STDOUT: %B2.NotEqual.type: type = fn_type @B2.NotEqual [concrete] // CHECK:STDOUT: %B2.NotEqual: %B2.NotEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.8ba: = custom_witness (%B2.Equal, %B2.NotEqual), @EqWith.1, @EqWith.1(%A2) [concrete] -// CHECK:STDOUT: %EqWith.facet.e2d: %EqWith.type.cd4 = facet_value %B2, (%custom_witness.8ba) [concrete] -// CHECK:STDOUT: %pattern_type.fdf: type = pattern_type %EqWith.type.cd4 [concrete] -// CHECK:STDOUT: %EqWith.type.07f: type = facet_type <@EqWith.1, @EqWith.1(%B3)> [concrete] -// CHECK:STDOUT: %EqWith.assoc_type.fb1: type = assoc_entity_type @EqWith.1, @EqWith.1(%B3) [concrete] -// CHECK:STDOUT: %assoc0.5ff: %EqWith.assoc_type.fb1 = assoc_entity element0, imports.%Core.import_ref.5f3 [concrete] -// CHECK:STDOUT: %assoc1.0e8: %EqWith.assoc_type.fb1 = assoc_entity element1, imports.%Core.import_ref.515 [concrete] +// CHECK:STDOUT: %custom_witness.778: = custom_witness (%B2.Equal, %B2.NotEqual), @EqWith.1, @EqWith.1(%A2) [concrete] +// CHECK:STDOUT: %EqWith.facet.5f1: %EqWith.type.d12 = facet_value %B2, (%custom_witness.778) [concrete] +// CHECK:STDOUT: %pattern_type.481: type = pattern_type %EqWith.type.d12 [concrete] +// CHECK:STDOUT: %EqWith.type.663: type = facet_type <@EqWith.1, @EqWith.1(%B3)> [concrete] +// CHECK:STDOUT: %EqWith.assoc_type.a6b: type = assoc_entity_type @EqWith.1, @EqWith.1(%B3) [concrete] +// CHECK:STDOUT: %assoc0.dc0: %EqWith.assoc_type.a6b = assoc_entity element0, imports.%Core.import_ref.eea [concrete] +// CHECK:STDOUT: %assoc1.877: %EqWith.assoc_type.a6b = assoc_entity element1, imports.%Core.import_ref.228 [concrete] // CHECK:STDOUT: %A3.Equal.type: type = fn_type @A3.Equal [concrete] // CHECK:STDOUT: %A3.Equal: %A3.Equal.type = struct_value () [concrete] // CHECK:STDOUT: %NotEqual.type: type = fn_type @NotEqual [concrete] // CHECK:STDOUT: %NotEqual: %NotEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.4f1: = custom_witness (%A3.Equal, %NotEqual), @EqWith.1, @EqWith.1(%B3) [concrete] -// CHECK:STDOUT: %EqWith.facet.06d: %EqWith.type.07f = facet_value %A3, (%custom_witness.4f1) [concrete] -// CHECK:STDOUT: %pattern_type.101: type = pattern_type %EqWith.type.07f [concrete] -// CHECK:STDOUT: %EqWith.type.3fd: type = facet_type <@EqWith.1, @EqWith.1(%A3)> [concrete] -// CHECK:STDOUT: %EqWith.assoc_type.796: type = assoc_entity_type @EqWith.1, @EqWith.1(%A3) [concrete] -// CHECK:STDOUT: %assoc0.a60: %EqWith.assoc_type.796 = assoc_entity element0, imports.%Core.import_ref.5f3 [concrete] -// CHECK:STDOUT: %assoc1.dce: %EqWith.assoc_type.796 = assoc_entity element1, imports.%Core.import_ref.515 [concrete] +// CHECK:STDOUT: %custom_witness.002: = custom_witness (%A3.Equal, %NotEqual), @EqWith.1, @EqWith.1(%B3) [concrete] +// CHECK:STDOUT: %EqWith.facet.615: %EqWith.type.663 = facet_value %A3, (%custom_witness.002) [concrete] +// CHECK:STDOUT: %pattern_type.1cc: type = pattern_type %EqWith.type.663 [concrete] +// CHECK:STDOUT: %EqWith.type.819: type = facet_type <@EqWith.1, @EqWith.1(%A3)> [concrete] +// CHECK:STDOUT: %EqWith.assoc_type.735: type = assoc_entity_type @EqWith.1, @EqWith.1(%A3) [concrete] +// CHECK:STDOUT: %assoc0.af9: %EqWith.assoc_type.735 = assoc_entity element0, imports.%Core.import_ref.eea [concrete] +// CHECK:STDOUT: %assoc1.1f3: %EqWith.assoc_type.735 = assoc_entity element1, imports.%Core.import_ref.228 [concrete] // CHECK:STDOUT: %Equal.type: type = fn_type @Equal [concrete] // CHECK:STDOUT: %Equal: %Equal.type = struct_value () [concrete] // CHECK:STDOUT: %B3.NotEqual.type: type = fn_type @B3.NotEqual [concrete] // CHECK:STDOUT: %B3.NotEqual: %B3.NotEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.4ed: = custom_witness (%Equal, %B3.NotEqual), @EqWith.1, @EqWith.1(%A3) [concrete] -// CHECK:STDOUT: %EqWith.facet.2b7: %EqWith.type.3fd = facet_value %B3, (%custom_witness.4ed) [concrete] -// CHECK:STDOUT: %pattern_type.a79: type = pattern_type %EqWith.type.3fd [concrete] -// CHECK:STDOUT: %complete_type.fc0: = complete_type_witness %EqWith.type.9e4 [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.b43: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%B1, %EqWith.facet.169) [concrete] -// CHECK:STDOUT: %.e88: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.b43, %EqWith.facet.169 [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.cd5: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%B1, %EqWith.facet.169) [concrete] -// CHECK:STDOUT: %.a12: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.cd5, %EqWith.facet.169 [concrete] -// CHECK:STDOUT: %complete_type.1c8: = complete_type_witness %EqWith.type.361 [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.d63: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%A1, %EqWith.facet.136) [concrete] -// CHECK:STDOUT: %.895: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.d63, %EqWith.facet.136 [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.6f4: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%A1, %EqWith.facet.136) [concrete] -// CHECK:STDOUT: %.781: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.6f4, %EqWith.facet.136 [concrete] -// CHECK:STDOUT: %complete_type.017: = complete_type_witness %EqWith.type.cd4 [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.135: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%A2, %EqWith.facet.e2d) [concrete] -// CHECK:STDOUT: %.400: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.135, %EqWith.facet.e2d [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.57a: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%A2, %EqWith.facet.e2d) [concrete] -// CHECK:STDOUT: %.ce7: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.57a, %EqWith.facet.e2d [concrete] -// CHECK:STDOUT: %complete_type.d97: = complete_type_witness %EqWith.type.07f [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.738: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%B3, %EqWith.facet.06d) [concrete] -// CHECK:STDOUT: %.72a: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.738, %EqWith.facet.06d [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.512: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%B3, %EqWith.facet.06d) [concrete] -// CHECK:STDOUT: %.a1d: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.512, %EqWith.facet.06d [concrete] -// CHECK:STDOUT: %complete_type.fb2: = complete_type_witness %EqWith.type.3fd [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.033: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%A3, %EqWith.facet.2b7) [concrete] -// CHECK:STDOUT: %.938: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.033, %EqWith.facet.2b7 [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.362: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%A3, %EqWith.facet.2b7) [concrete] -// CHECK:STDOUT: %.2b0: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.362, %EqWith.facet.2b7 [concrete] +// CHECK:STDOUT: %custom_witness.abb: = custom_witness (%Equal, %B3.NotEqual), @EqWith.1, @EqWith.1(%A3) [concrete] +// CHECK:STDOUT: %EqWith.facet.59d: %EqWith.type.819 = facet_value %B3, (%custom_witness.abb) [concrete] +// CHECK:STDOUT: %pattern_type.c1c: type = pattern_type %EqWith.type.819 [concrete] +// CHECK:STDOUT: %complete_type.ff3: = complete_type_witness %EqWith.type.073 [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.13e: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%B1, %EqWith.facet.716) [concrete] +// CHECK:STDOUT: %.1c2: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.13e, %EqWith.facet.716 [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.216: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%B1, %EqWith.facet.716) [concrete] +// CHECK:STDOUT: %.0d2: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.216, %EqWith.facet.716 [concrete] +// CHECK:STDOUT: %complete_type.ea8: = complete_type_witness %EqWith.type.48c [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.d3f: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%A1, %EqWith.facet.5f4) [concrete] +// CHECK:STDOUT: %.1aa: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.d3f, %EqWith.facet.5f4 [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.2be: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%A1, %EqWith.facet.5f4) [concrete] +// CHECK:STDOUT: %.891: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.2be, %EqWith.facet.5f4 [concrete] +// CHECK:STDOUT: %complete_type.75a: = complete_type_witness %EqWith.type.d12 [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.80a: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%A2, %EqWith.facet.5f1) [concrete] +// CHECK:STDOUT: %.cd2: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.80a, %EqWith.facet.5f1 [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.fca: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%A2, %EqWith.facet.5f1) [concrete] +// CHECK:STDOUT: %.0d7: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.fca, %EqWith.facet.5f1 [concrete] +// CHECK:STDOUT: %complete_type.4da: = complete_type_witness %EqWith.type.663 [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.e85: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%B3, %EqWith.facet.615) [concrete] +// CHECK:STDOUT: %.a39: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.e85, %EqWith.facet.615 [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.2cb: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%B3, %EqWith.facet.615) [concrete] +// CHECK:STDOUT: %.fe4: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.2cb, %EqWith.facet.615 [concrete] +// CHECK:STDOUT: %complete_type.526: = complete_type_witness %EqWith.type.819 [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.6b2: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%A3, %EqWith.facet.59d) [concrete] +// CHECK:STDOUT: %.58b: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.6b2, %EqWith.facet.59d [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.353: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%A3, %EqWith.facet.59d) [concrete] +// CHECK:STDOUT: %.b5c: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.353, %EqWith.facet.59d [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.c6d: @EqWith.WithSelf.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%assoc0 (constants.%assoc0.b78)] -// CHECK:STDOUT: %Core.import_ref.5a3: @EqWith.WithSelf.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%assoc1 (constants.%assoc1.579)] -// CHECK:STDOUT: %Core.import_ref.515: @EqWith.WithSelf.%EqWith.WithSelf.NotEqual.type (%EqWith.WithSelf.NotEqual.type.d0da48.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%EqWith.WithSelf.NotEqual (constants.%EqWith.WithSelf.NotEqual.f72b2f.1)] -// CHECK:STDOUT: %Core.import_ref.5f3: @EqWith.WithSelf.%EqWith.WithSelf.Equal.type (%EqWith.WithSelf.Equal.type.c6aebf.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%EqWith.WithSelf.Equal (constants.%EqWith.WithSelf.Equal.b440b7.1)] -// CHECK:STDOUT: %Core.import_ref.c6b = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.4af = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.0a8: @EqWith.WithSelf.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%assoc0 (constants.%assoc0.5b6)] +// CHECK:STDOUT: %Core.import_ref.33b: @EqWith.WithSelf.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%assoc1 (constants.%assoc1.491)] +// CHECK:STDOUT: %Core.import_ref.228: @EqWith.WithSelf.%EqWith.WithSelf.NotEqual.type (%EqWith.WithSelf.NotEqual.type.a34bef.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%EqWith.WithSelf.NotEqual (constants.%EqWith.WithSelf.NotEqual.34d150.1)] +// CHECK:STDOUT: %Core.import_ref.eea: @EqWith.WithSelf.%EqWith.WithSelf.Equal.type (%EqWith.WithSelf.Equal.type.28b02d.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%EqWith.WithSelf.Equal (constants.%EqWith.WithSelf.Equal.6ee1cd.1)] +// CHECK:STDOUT: %Core.import_ref.c77 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.c36 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @EqWith.loc34(%U.loc34_12.2: type, %T.loc34_22.2: @EqWith.loc34.%EqWith.type.loc34_38.1 (%EqWith.type.1790d7.2)) { +// CHECK:STDOUT: generic fn @EqWith.loc34(%U.loc34_12.2: type, %T.loc34_22.2: @EqWith.loc34.%EqWith.type.loc34_38.1 (%EqWith.type.e412df.2)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc36: = require_complete_type %EqWith.type.loc34_38.1 [symbolic = %require_complete.loc36 (constants.%require_complete.d87)] -// CHECK:STDOUT: %EqWith.assoc_type: type = assoc_entity_type @EqWith.1, @EqWith.1(%U.loc34_12.1) [symbolic = %EqWith.assoc_type (constants.%EqWith.assoc_type.efa4d1.2)] -// CHECK:STDOUT: %assoc0: @EqWith.loc34.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = assoc_entity element0, imports.%Core.import_ref.5f3 [symbolic = %assoc0 (constants.%assoc0.5e77ba.2)] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%U.loc34_12.1, %T.loc34_22.1) [symbolic = %EqWith.WithSelf.Equal.type (constants.%EqWith.WithSelf.Equal.type.c6aebf.3)] -// CHECK:STDOUT: %.loc36_5.2: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type, %T.loc34_22.1 [symbolic = %.loc36_5.2 (constants.%.10a)] +// CHECK:STDOUT: %require_complete.loc36: = require_complete_type %EqWith.type.loc34_38.1 [symbolic = %require_complete.loc36 (constants.%require_complete.1c9)] +// CHECK:STDOUT: %EqWith.assoc_type: type = assoc_entity_type @EqWith.1, @EqWith.1(%U.loc34_12.1) [symbolic = %EqWith.assoc_type (constants.%EqWith.assoc_type.27e9f5.2)] +// CHECK:STDOUT: %assoc0: @EqWith.loc34.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = assoc_entity element0, imports.%Core.import_ref.eea [symbolic = %assoc0 (constants.%assoc0.04df8c.2)] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%U.loc34_12.1, %T.loc34_22.1) [symbolic = %EqWith.WithSelf.Equal.type (constants.%EqWith.WithSelf.Equal.type.28b02d.3)] +// CHECK:STDOUT: %.loc36_5.2: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type, %T.loc34_22.1 [symbolic = %.loc36_5.2 (constants.%.e7e)] // CHECK:STDOUT: %EqWith.lookup_impl_witness: = lookup_impl_witness %T.loc34_22.1, @EqWith.1, @EqWith.1(%U.loc34_12.1) [symbolic = %EqWith.lookup_impl_witness (constants.%EqWith.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc36_5.2: @EqWith.loc34.%.loc36_5.2 (%.10a) = impl_witness_access %EqWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc36_5.2 (constants.%impl.elem0)] -// CHECK:STDOUT: %specific_impl_fn.loc36_5.2: = specific_impl_function %impl.elem0.loc36_5.2, @EqWith.WithSelf.Equal(%U.loc34_12.1, %T.loc34_22.1) [symbolic = %specific_impl_fn.loc36_5.2 (constants.%specific_impl_fn.b75)] -// CHECK:STDOUT: %assoc1: @EqWith.loc34.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = assoc_entity element1, imports.%Core.import_ref.515 [symbolic = %assoc1 (constants.%assoc1.7b7afb.2)] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%U.loc34_12.1, %T.loc34_22.1) [symbolic = %EqWith.WithSelf.NotEqual.type (constants.%EqWith.WithSelf.NotEqual.type.d0da48.3)] -// CHECK:STDOUT: %.loc37_5.2: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type, %T.loc34_22.1 [symbolic = %.loc37_5.2 (constants.%.2bb)] -// CHECK:STDOUT: %impl.elem1.loc37_5.2: @EqWith.loc34.%.loc37_5.2 (%.2bb) = impl_witness_access %EqWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc37_5.2 (constants.%impl.elem1)] -// CHECK:STDOUT: %specific_impl_fn.loc37_5.2: = specific_impl_function %impl.elem1.loc37_5.2, @EqWith.WithSelf.NotEqual(%U.loc34_12.1, %T.loc34_22.1) [symbolic = %specific_impl_fn.loc37_5.2 (constants.%specific_impl_fn.bc2)] +// CHECK:STDOUT: %impl.elem0.loc36_5.2: @EqWith.loc34.%.loc36_5.2 (%.e7e) = impl_witness_access %EqWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc36_5.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %specific_impl_fn.loc36_5.2: = specific_impl_function %impl.elem0.loc36_5.2, @EqWith.WithSelf.Equal(%U.loc34_12.1, %T.loc34_22.1) [symbolic = %specific_impl_fn.loc36_5.2 (constants.%specific_impl_fn.ba9)] +// CHECK:STDOUT: %assoc1: @EqWith.loc34.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = assoc_entity element1, imports.%Core.import_ref.228 [symbolic = %assoc1 (constants.%assoc1.47b841.2)] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%U.loc34_12.1, %T.loc34_22.1) [symbolic = %EqWith.WithSelf.NotEqual.type (constants.%EqWith.WithSelf.NotEqual.type.a34bef.3)] +// CHECK:STDOUT: %.loc37_5.2: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type, %T.loc34_22.1 [symbolic = %.loc37_5.2 (constants.%.a13)] +// CHECK:STDOUT: %impl.elem1.loc37_5.2: @EqWith.loc34.%.loc37_5.2 (%.a13) = impl_witness_access %EqWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc37_5.2 (constants.%impl.elem1)] +// CHECK:STDOUT: %specific_impl_fn.loc37_5.2: = specific_impl_function %impl.elem1.loc37_5.2, @EqWith.WithSelf.NotEqual(%U.loc34_12.1, %T.loc34_22.1) [symbolic = %specific_impl_fn.loc37_5.2 (constants.%specific_impl_fn.a6f)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @EqWith.loc34.%T.as_type.loc34_44.1 (%T.as_type), %y.param: @EqWith.loc34.%U.loc34_12.1 (%U)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref.loc36: @EqWith.loc34.%T.as_type.loc34_44.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc36: @EqWith.loc34.%U.loc34_12.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %EqWith.type.loc36: type = facet_type <@EqWith.1, @EqWith.1(constants.%U)> [symbolic = %EqWith.type.loc34_38.1 (constants.%EqWith.type.1790d7.2)] -// CHECK:STDOUT: %.loc36_5.1: @EqWith.loc34.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = specific_constant imports.%Core.import_ref.c6d, @EqWith.WithSelf(constants.%U, constants.%Self.7839ed.1) [symbolic = %assoc0 (constants.%assoc0.5e77ba.2)] -// CHECK:STDOUT: %Equal.ref: @EqWith.loc34.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = name_ref Equal, %.loc36_5.1 [symbolic = %assoc0 (constants.%assoc0.5e77ba.2)] -// CHECK:STDOUT: %impl.elem0.loc36_5.1: @EqWith.loc34.%.loc36_5.2 (%.10a) = impl_witness_access constants.%EqWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc36_5.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %EqWith.type.loc36: type = facet_type <@EqWith.1, @EqWith.1(constants.%U)> [symbolic = %EqWith.type.loc34_38.1 (constants.%EqWith.type.e412df.2)] +// CHECK:STDOUT: %.loc36_5.1: @EqWith.loc34.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = specific_constant imports.%Core.import_ref.0a8, @EqWith.WithSelf(constants.%U, constants.%Self.1e4d80.1) [symbolic = %assoc0 (constants.%assoc0.04df8c.2)] +// CHECK:STDOUT: %Equal.ref: @EqWith.loc34.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = name_ref Equal, %.loc36_5.1 [symbolic = %assoc0 (constants.%assoc0.04df8c.2)] +// CHECK:STDOUT: %impl.elem0.loc36_5.1: @EqWith.loc34.%.loc36_5.2 (%.e7e) = impl_witness_access constants.%EqWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc36_5.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc36_5.1: = bound_method %x.ref.loc36, %impl.elem0.loc36_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc36_5.1: = specific_impl_function %impl.elem0.loc36_5.1, @EqWith.WithSelf.Equal(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc36_5.2 (constants.%specific_impl_fn.b75)] +// CHECK:STDOUT: %specific_impl_fn.loc36_5.1: = specific_impl_function %impl.elem0.loc36_5.1, @EqWith.WithSelf.Equal(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc36_5.2 (constants.%specific_impl_fn.ba9)] // CHECK:STDOUT: %bound_method.loc36_5.2: = bound_method %x.ref.loc36, %specific_impl_fn.loc36_5.1 // CHECK:STDOUT: %EqWith.WithSelf.Equal.call: init bool = call %bound_method.loc36_5.2(%x.ref.loc36, %y.ref.loc36) // CHECK:STDOUT: %x.ref.loc37: @EqWith.loc34.%T.as_type.loc34_44.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc37: @EqWith.loc34.%U.loc34_12.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %EqWith.type.loc37: type = facet_type <@EqWith.1, @EqWith.1(constants.%U)> [symbolic = %EqWith.type.loc34_38.1 (constants.%EqWith.type.1790d7.2)] -// CHECK:STDOUT: %.loc37_5.1: @EqWith.loc34.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = specific_constant imports.%Core.import_ref.5a3, @EqWith.WithSelf(constants.%U, constants.%Self.7839ed.1) [symbolic = %assoc1 (constants.%assoc1.7b7afb.2)] -// CHECK:STDOUT: %NotEqual.ref: @EqWith.loc34.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = name_ref NotEqual, %.loc37_5.1 [symbolic = %assoc1 (constants.%assoc1.7b7afb.2)] -// CHECK:STDOUT: %impl.elem1.loc37_5.1: @EqWith.loc34.%.loc37_5.2 (%.2bb) = impl_witness_access constants.%EqWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc37_5.2 (constants.%impl.elem1)] +// CHECK:STDOUT: %EqWith.type.loc37: type = facet_type <@EqWith.1, @EqWith.1(constants.%U)> [symbolic = %EqWith.type.loc34_38.1 (constants.%EqWith.type.e412df.2)] +// CHECK:STDOUT: %.loc37_5.1: @EqWith.loc34.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = specific_constant imports.%Core.import_ref.33b, @EqWith.WithSelf(constants.%U, constants.%Self.1e4d80.1) [symbolic = %assoc1 (constants.%assoc1.47b841.2)] +// CHECK:STDOUT: %NotEqual.ref: @EqWith.loc34.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = name_ref NotEqual, %.loc37_5.1 [symbolic = %assoc1 (constants.%assoc1.47b841.2)] +// CHECK:STDOUT: %impl.elem1.loc37_5.1: @EqWith.loc34.%.loc37_5.2 (%.a13) = impl_witness_access constants.%EqWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc37_5.2 (constants.%impl.elem1)] // CHECK:STDOUT: %bound_method.loc37_5.1: = bound_method %x.ref.loc37, %impl.elem1.loc37_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc37_5.1: = specific_impl_function %impl.elem1.loc37_5.1, @EqWith.WithSelf.NotEqual(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc37_5.2 (constants.%specific_impl_fn.bc2)] +// CHECK:STDOUT: %specific_impl_fn.loc37_5.1: = specific_impl_function %impl.elem1.loc37_5.1, @EqWith.WithSelf.NotEqual(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc37_5.2 (constants.%specific_impl_fn.a6f)] // CHECK:STDOUT: %bound_method.loc37_5.2: = bound_method %x.ref.loc37, %specific_impl_fn.loc37_5.1 // CHECK:STDOUT: %EqWith.WithSelf.NotEqual.call: init bool = call %bound_method.loc37_5.2(%x.ref.loc37, %y.ref.loc37) // CHECK:STDOUT: @@ -688,19 +688,19 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: // CHECK:STDOUT: specific @EqWith.loc34(constants.%U, constants.%T) { // CHECK:STDOUT: %U.loc34_12.1 => constants.%U -// CHECK:STDOUT: %EqWith.type.loc34_38.1 => constants.%EqWith.type.1790d7.2 +// CHECK:STDOUT: %EqWith.type.loc34_38.1 => constants.%EqWith.type.e412df.2 // CHECK:STDOUT: %T.loc34_22.1 => constants.%T -// CHECK:STDOUT: %pattern_type.loc34_22 => constants.%pattern_type.7dc +// CHECK:STDOUT: %pattern_type.loc34_22 => constants.%pattern_type.243 // CHECK:STDOUT: %T.as_type.loc34_44.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.loc34_42 => constants.%pattern_type.96b8c1.2 +// CHECK:STDOUT: %pattern_type.loc34_42 => constants.%pattern_type.479039.2 // CHECK:STDOUT: %pattern_type.loc34_48 => constants.%pattern_type.51d1c4.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @EqWith.loc34(constants.%B1, constants.%EqWith.facet.169) { +// CHECK:STDOUT: specific @EqWith.loc34(constants.%B1, constants.%EqWith.facet.716) { // CHECK:STDOUT: %U.loc34_12.1 => constants.%B1 -// CHECK:STDOUT: %EqWith.type.loc34_38.1 => constants.%EqWith.type.9e4 -// CHECK:STDOUT: %T.loc34_22.1 => constants.%EqWith.facet.169 -// CHECK:STDOUT: %pattern_type.loc34_22 => constants.%pattern_type.443 +// CHECK:STDOUT: %EqWith.type.loc34_38.1 => constants.%EqWith.type.073 +// CHECK:STDOUT: %T.loc34_22.1 => constants.%EqWith.facet.716 +// CHECK:STDOUT: %pattern_type.loc34_22 => constants.%pattern_type.3f8 // CHECK:STDOUT: %T.as_type.loc34_44.1 => constants.%A1 // CHECK:STDOUT: %pattern_type.loc34_42 => constants.%pattern_type.c8a // CHECK:STDOUT: %pattern_type.loc34_48 => constants.%pattern_type.e62 @@ -708,26 +708,26 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc34_42 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc34_48 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc36 => constants.%complete_type.fc0 -// CHECK:STDOUT: %EqWith.assoc_type => constants.%EqWith.assoc_type.196 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.f5f -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type => constants.%EqWith.WithSelf.Equal.type.b43 -// CHECK:STDOUT: %.loc36_5.2 => constants.%.e88 -// CHECK:STDOUT: %EqWith.lookup_impl_witness => constants.%custom_witness.494 +// CHECK:STDOUT: %require_complete.loc36 => constants.%complete_type.ff3 +// CHECK:STDOUT: %EqWith.assoc_type => constants.%EqWith.assoc_type.1ba +// CHECK:STDOUT: %assoc0 => constants.%assoc0.f24 +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type => constants.%EqWith.WithSelf.Equal.type.13e +// CHECK:STDOUT: %.loc36_5.2 => constants.%.1c2 +// CHECK:STDOUT: %EqWith.lookup_impl_witness => constants.%custom_witness.8a4 // CHECK:STDOUT: %impl.elem0.loc36_5.2 => constants.%A1.Equal // CHECK:STDOUT: %specific_impl_fn.loc36_5.2 => constants.%A1.Equal -// CHECK:STDOUT: %assoc1 => constants.%assoc1.511 -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type => constants.%EqWith.WithSelf.NotEqual.type.cd5 -// CHECK:STDOUT: %.loc37_5.2 => constants.%.a12 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.449 +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type => constants.%EqWith.WithSelf.NotEqual.type.216 +// CHECK:STDOUT: %.loc37_5.2 => constants.%.0d2 // CHECK:STDOUT: %impl.elem1.loc37_5.2 => constants.%A1.NotEqual // CHECK:STDOUT: %specific_impl_fn.loc37_5.2 => constants.%A1.NotEqual // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @EqWith.loc34(constants.%A1, constants.%EqWith.facet.136) { +// CHECK:STDOUT: specific @EqWith.loc34(constants.%A1, constants.%EqWith.facet.5f4) { // CHECK:STDOUT: %U.loc34_12.1 => constants.%A1 -// CHECK:STDOUT: %EqWith.type.loc34_38.1 => constants.%EqWith.type.361 -// CHECK:STDOUT: %T.loc34_22.1 => constants.%EqWith.facet.136 -// CHECK:STDOUT: %pattern_type.loc34_22 => constants.%pattern_type.144 +// CHECK:STDOUT: %EqWith.type.loc34_38.1 => constants.%EqWith.type.48c +// CHECK:STDOUT: %T.loc34_22.1 => constants.%EqWith.facet.5f4 +// CHECK:STDOUT: %pattern_type.loc34_22 => constants.%pattern_type.fe1 // CHECK:STDOUT: %T.as_type.loc34_44.1 => constants.%B1 // CHECK:STDOUT: %pattern_type.loc34_42 => constants.%pattern_type.e62 // CHECK:STDOUT: %pattern_type.loc34_48 => constants.%pattern_type.c8a @@ -735,26 +735,26 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc34_42 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc34_48 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc36 => constants.%complete_type.1c8 -// CHECK:STDOUT: %EqWith.assoc_type => constants.%EqWith.assoc_type.56b -// CHECK:STDOUT: %assoc0 => constants.%assoc0.eba -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type => constants.%EqWith.WithSelf.Equal.type.d63 -// CHECK:STDOUT: %.loc36_5.2 => constants.%.895 -// CHECK:STDOUT: %EqWith.lookup_impl_witness => constants.%custom_witness.9ed +// CHECK:STDOUT: %require_complete.loc36 => constants.%complete_type.ea8 +// CHECK:STDOUT: %EqWith.assoc_type => constants.%EqWith.assoc_type.22c +// CHECK:STDOUT: %assoc0 => constants.%assoc0.265 +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type => constants.%EqWith.WithSelf.Equal.type.d3f +// CHECK:STDOUT: %.loc36_5.2 => constants.%.1aa +// CHECK:STDOUT: %EqWith.lookup_impl_witness => constants.%custom_witness.3b6 // CHECK:STDOUT: %impl.elem0.loc36_5.2 => constants.%B1.Equal // CHECK:STDOUT: %specific_impl_fn.loc36_5.2 => constants.%B1.Equal -// CHECK:STDOUT: %assoc1 => constants.%assoc1.8ff -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type => constants.%EqWith.WithSelf.NotEqual.type.6f4 -// CHECK:STDOUT: %.loc37_5.2 => constants.%.781 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.8b1 +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type => constants.%EqWith.WithSelf.NotEqual.type.2be +// CHECK:STDOUT: %.loc37_5.2 => constants.%.891 // CHECK:STDOUT: %impl.elem1.loc37_5.2 => constants.%B1.NotEqual // CHECK:STDOUT: %specific_impl_fn.loc37_5.2 => constants.%B1.NotEqual // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @EqWith.loc34(constants.%A2, constants.%EqWith.facet.e2d) { +// CHECK:STDOUT: specific @EqWith.loc34(constants.%A2, constants.%EqWith.facet.5f1) { // CHECK:STDOUT: %U.loc34_12.1 => constants.%A2 -// CHECK:STDOUT: %EqWith.type.loc34_38.1 => constants.%EqWith.type.cd4 -// CHECK:STDOUT: %T.loc34_22.1 => constants.%EqWith.facet.e2d -// CHECK:STDOUT: %pattern_type.loc34_22 => constants.%pattern_type.fdf +// CHECK:STDOUT: %EqWith.type.loc34_38.1 => constants.%EqWith.type.d12 +// CHECK:STDOUT: %T.loc34_22.1 => constants.%EqWith.facet.5f1 +// CHECK:STDOUT: %pattern_type.loc34_22 => constants.%pattern_type.481 // CHECK:STDOUT: %T.as_type.loc34_44.1 => constants.%B2 // CHECK:STDOUT: %pattern_type.loc34_42 => constants.%pattern_type.fab // CHECK:STDOUT: %pattern_type.loc34_48 => constants.%pattern_type.1e3 @@ -762,26 +762,26 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc34_42 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc34_48 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc36 => constants.%complete_type.017 -// CHECK:STDOUT: %EqWith.assoc_type => constants.%EqWith.assoc_type.4df -// CHECK:STDOUT: %assoc0 => constants.%assoc0.d22 -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type => constants.%EqWith.WithSelf.Equal.type.135 -// CHECK:STDOUT: %.loc36_5.2 => constants.%.400 -// CHECK:STDOUT: %EqWith.lookup_impl_witness => constants.%custom_witness.8ba +// CHECK:STDOUT: %require_complete.loc36 => constants.%complete_type.75a +// CHECK:STDOUT: %EqWith.assoc_type => constants.%EqWith.assoc_type.1d4 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.00f +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type => constants.%EqWith.WithSelf.Equal.type.80a +// CHECK:STDOUT: %.loc36_5.2 => constants.%.cd2 +// CHECK:STDOUT: %EqWith.lookup_impl_witness => constants.%custom_witness.778 // CHECK:STDOUT: %impl.elem0.loc36_5.2 => constants.%B2.Equal // CHECK:STDOUT: %specific_impl_fn.loc36_5.2 => constants.%B2.Equal -// CHECK:STDOUT: %assoc1 => constants.%assoc1.ae7 -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type => constants.%EqWith.WithSelf.NotEqual.type.57a -// CHECK:STDOUT: %.loc37_5.2 => constants.%.ce7 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.09d +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type => constants.%EqWith.WithSelf.NotEqual.type.fca +// CHECK:STDOUT: %.loc37_5.2 => constants.%.0d7 // CHECK:STDOUT: %impl.elem1.loc37_5.2 => constants.%B2.NotEqual // CHECK:STDOUT: %specific_impl_fn.loc37_5.2 => constants.%B2.NotEqual // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @EqWith.loc34(constants.%B3, constants.%EqWith.facet.06d) { +// CHECK:STDOUT: specific @EqWith.loc34(constants.%B3, constants.%EqWith.facet.615) { // CHECK:STDOUT: %U.loc34_12.1 => constants.%B3 -// CHECK:STDOUT: %EqWith.type.loc34_38.1 => constants.%EqWith.type.07f -// CHECK:STDOUT: %T.loc34_22.1 => constants.%EqWith.facet.06d -// CHECK:STDOUT: %pattern_type.loc34_22 => constants.%pattern_type.101 +// CHECK:STDOUT: %EqWith.type.loc34_38.1 => constants.%EqWith.type.663 +// CHECK:STDOUT: %T.loc34_22.1 => constants.%EqWith.facet.615 +// CHECK:STDOUT: %pattern_type.loc34_22 => constants.%pattern_type.1cc // CHECK:STDOUT: %T.as_type.loc34_44.1 => constants.%A3 // CHECK:STDOUT: %pattern_type.loc34_42 => constants.%pattern_type.ada // CHECK:STDOUT: %pattern_type.loc34_48 => constants.%pattern_type.a20 @@ -789,26 +789,26 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc34_42 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc34_48 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc36 => constants.%complete_type.d97 -// CHECK:STDOUT: %EqWith.assoc_type => constants.%EqWith.assoc_type.fb1 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.5ff -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type => constants.%EqWith.WithSelf.Equal.type.738 -// CHECK:STDOUT: %.loc36_5.2 => constants.%.72a -// CHECK:STDOUT: %EqWith.lookup_impl_witness => constants.%custom_witness.4f1 +// CHECK:STDOUT: %require_complete.loc36 => constants.%complete_type.4da +// CHECK:STDOUT: %EqWith.assoc_type => constants.%EqWith.assoc_type.a6b +// CHECK:STDOUT: %assoc0 => constants.%assoc0.dc0 +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type => constants.%EqWith.WithSelf.Equal.type.e85 +// CHECK:STDOUT: %.loc36_5.2 => constants.%.a39 +// CHECK:STDOUT: %EqWith.lookup_impl_witness => constants.%custom_witness.002 // CHECK:STDOUT: %impl.elem0.loc36_5.2 => constants.%A3.Equal // CHECK:STDOUT: %specific_impl_fn.loc36_5.2 => constants.%A3.Equal -// CHECK:STDOUT: %assoc1 => constants.%assoc1.0e8 -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type => constants.%EqWith.WithSelf.NotEqual.type.512 -// CHECK:STDOUT: %.loc37_5.2 => constants.%.a1d +// CHECK:STDOUT: %assoc1 => constants.%assoc1.877 +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type => constants.%EqWith.WithSelf.NotEqual.type.2cb +// CHECK:STDOUT: %.loc37_5.2 => constants.%.fe4 // CHECK:STDOUT: %impl.elem1.loc37_5.2 => constants.%NotEqual // CHECK:STDOUT: %specific_impl_fn.loc37_5.2 => constants.%NotEqual // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @EqWith.loc34(constants.%A3, constants.%EqWith.facet.2b7) { +// CHECK:STDOUT: specific @EqWith.loc34(constants.%A3, constants.%EqWith.facet.59d) { // CHECK:STDOUT: %U.loc34_12.1 => constants.%A3 -// CHECK:STDOUT: %EqWith.type.loc34_38.1 => constants.%EqWith.type.3fd -// CHECK:STDOUT: %T.loc34_22.1 => constants.%EqWith.facet.2b7 -// CHECK:STDOUT: %pattern_type.loc34_22 => constants.%pattern_type.a79 +// CHECK:STDOUT: %EqWith.type.loc34_38.1 => constants.%EqWith.type.819 +// CHECK:STDOUT: %T.loc34_22.1 => constants.%EqWith.facet.59d +// CHECK:STDOUT: %pattern_type.loc34_22 => constants.%pattern_type.c1c // CHECK:STDOUT: %T.as_type.loc34_44.1 => constants.%B3 // CHECK:STDOUT: %pattern_type.loc34_42 => constants.%pattern_type.a20 // CHECK:STDOUT: %pattern_type.loc34_48 => constants.%pattern_type.ada @@ -816,17 +816,17 @@ fn Test(only_neq: Cpp.OnlyNeq, // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc34_42 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc34_48 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc36 => constants.%complete_type.fb2 -// CHECK:STDOUT: %EqWith.assoc_type => constants.%EqWith.assoc_type.796 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.a60 -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type => constants.%EqWith.WithSelf.Equal.type.033 -// CHECK:STDOUT: %.loc36_5.2 => constants.%.938 -// CHECK:STDOUT: %EqWith.lookup_impl_witness => constants.%custom_witness.4ed +// CHECK:STDOUT: %require_complete.loc36 => constants.%complete_type.526 +// CHECK:STDOUT: %EqWith.assoc_type => constants.%EqWith.assoc_type.735 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.af9 +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type => constants.%EqWith.WithSelf.Equal.type.6b2 +// CHECK:STDOUT: %.loc36_5.2 => constants.%.58b +// CHECK:STDOUT: %EqWith.lookup_impl_witness => constants.%custom_witness.abb // CHECK:STDOUT: %impl.elem0.loc36_5.2 => constants.%Equal // CHECK:STDOUT: %specific_impl_fn.loc36_5.2 => constants.%Equal -// CHECK:STDOUT: %assoc1 => constants.%assoc1.dce -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type => constants.%EqWith.WithSelf.NotEqual.type.362 -// CHECK:STDOUT: %.loc37_5.2 => constants.%.2b0 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.1f3 +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type => constants.%EqWith.WithSelf.NotEqual.type.353 +// CHECK:STDOUT: %.loc37_5.2 => constants.%.b5c // CHECK:STDOUT: %impl.elem1.loc37_5.2 => constants.%B3.NotEqual // CHECK:STDOUT: %specific_impl_fn.loc37_5.2 => constants.%B3.NotEqual // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/operators/operators.carbon b/toolchain/check/testdata/interop/cpp/operators/operators.carbon index e5ffcc39d86e..8e08c1ab584f 100644 --- a/toolchain/check/testdata/interop/cpp/operators/operators.carbon +++ b/toolchain/check/testdata/interop/cpp/operators/operators.carbon @@ -1189,29 +1189,29 @@ fn F() { // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %operator_LessLess__carbon_thunk.type: type = fn_type @operator_LessLess__carbon_thunk [concrete] // CHECK:STDOUT: %operator_LessLess__carbon_thunk: %operator_LessLess__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ddb: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ddb) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.724: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.fa3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.724, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] // CHECK:STDOUT: %int_5.64b: Core.IntLiteral = int_value 5 [concrete] // CHECK:STDOUT: %operator_GreaterGreater__carbon_thunk.type: type = fn_type @operator_GreaterGreater__carbon_thunk [concrete] // CHECK:STDOUT: %operator_GreaterGreater__carbon_thunk: %operator_GreaterGreater__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.10b: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e3e: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] // CHECK:STDOUT: %operator_PlusEqual__carbon_thunk.type: type = fn_type @operator_PlusEqual__carbon_thunk [concrete] // CHECK:STDOUT: %operator_PlusEqual__carbon_thunk: %operator_PlusEqual__carbon_thunk.type = struct_value () [concrete] // CHECK:STDOUT: %operator_MinusEqual__carbon_thunk.type: type = fn_type @operator_MinusEqual__carbon_thunk [concrete] @@ -1249,9 +1249,9 @@ fn F() { // CHECK:STDOUT: %int_42.20e: Core.IntLiteral = int_value 42 [concrete] // CHECK:STDOUT: %C.cpp_operator.type: type = fn_type @C.cpp_operator [concrete] // CHECK:STDOUT: %C.cpp_operator: %C.cpp_operator.type = struct_value () [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0e: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.d81: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_42.bc5: %i32 = int_value 42 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.21e: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.98e: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_42.daa: %i32 = int_value 42 [concrete] // CHECK:STDOUT: %Destroy.Op.type: type = fn_type @Destroy.Op [concrete] // CHECK:STDOUT: %Destroy.Op: %Destroy.Op.type = struct_value () [concrete] // CHECK:STDOUT: %C.cpp_destructor.type: type = fn_type @C.cpp_destructor [concrete] @@ -1317,8 +1317,8 @@ fn F() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %operator_GreaterGreater__carbon_thunk.decl: %operator_GreaterGreater__carbon_thunk.type = fn_decl @operator_GreaterGreater__carbon_thunk [concrete = constants.%operator_GreaterGreater__carbon_thunk] { // CHECK:STDOUT: // CHECK:STDOUT: } { @@ -1637,13 +1637,13 @@ fn F() { // CHECK:STDOUT: %int_3.loc22: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc22_37.1: ref %C = temporary_storage // CHECK:STDOUT: %.loc22_34.1: %C = acquire_value %c1.ref.loc22 -// CHECK:STDOUT: %impl.elem0.loc22: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc22_40.1: = bound_method %int_3.loc22, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc22: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc22_40.1: = bound_method %int_3.loc22, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem0.loc22, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc22_40.2: = bound_method %int_3.loc22, %specific_fn.loc22 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %i32 = call %bound_method.loc22_40.2(%int_3.loc22) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc22_40.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc22_40.2: %i32 = converted %int_3.loc22, %.loc22_40.1 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc22_40.2: = bound_method %int_3.loc22, %specific_fn.loc22 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %i32 = call %bound_method.loc22_40.2(%int_3.loc22) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc22_40.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc22_40.2: %i32 = converted %int_3.loc22, %.loc22_40.1 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc22_34.2: ref %C = value_as_ref %.loc22_34.1 // CHECK:STDOUT: %addr.loc22_37.1: %ptr.3a8 = addr_of %.loc22_34.2 // CHECK:STDOUT: %addr.loc22_37.2: %ptr.3a8 = addr_of %.loc22_37.1 @@ -1663,13 +1663,13 @@ fn F() { // CHECK:STDOUT: %int_5.loc23: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] // CHECK:STDOUT: %.loc23_38.1: ref %C = temporary_storage // CHECK:STDOUT: %.loc23_35.1: %C = acquire_value %c1.ref.loc23 -// CHECK:STDOUT: %impl.elem0.loc23: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc23_41.1: = bound_method %int_5.loc23, %impl.elem0.loc23 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52] +// CHECK:STDOUT: %impl.elem0.loc23: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc23_41.1: = bound_method %int_5.loc23, %impl.elem0.loc23 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c] // CHECK:STDOUT: %specific_fn.loc23: = specific_function %impl.elem0.loc23, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc23_41.2: = bound_method %int_5.loc23, %specific_fn.loc23 [concrete = constants.%bound_method.10b] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23: init %i32 = call %bound_method.loc23_41.2(%int_5.loc23) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc23_41.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc23_41.2: %i32 = converted %int_5.loc23, %.loc23_41.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %bound_method.loc23_41.2: = bound_method %int_5.loc23, %specific_fn.loc23 [concrete = constants.%bound_method.e3e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23: init %i32 = call %bound_method.loc23_41.2(%int_5.loc23) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc23_41.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc23_41.2: %i32 = converted %int_5.loc23, %.loc23_41.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %.loc23_35.2: ref %C = value_as_ref %.loc23_35.1 // CHECK:STDOUT: %addr.loc23_38.1: %ptr.3a8 = addr_of %.loc23_35.2 // CHECK:STDOUT: %addr.loc23_38.2: %ptr.3a8 = addr_of %.loc23_38.1 @@ -1732,23 +1732,23 @@ fn F() { // CHECK:STDOUT: %operator_CaretEqual__carbon_thunk.call: ref %C = call imports.%operator_CaretEqual__carbon_thunk.decl(%c1.ref.loc35, %addr.loc35) // CHECK:STDOUT: %c1.ref.loc36: ref %C = name_ref c1, %c1 // CHECK:STDOUT: %int_3.loc36: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc36: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc36_10.1: = bound_method %int_3.loc36, %impl.elem0.loc36 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc36: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc36_10.1: = bound_method %int_3.loc36, %impl.elem0.loc36 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc36: = specific_function %impl.elem0.loc36, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc36_10.2: = bound_method %int_3.loc36, %specific_fn.loc36 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc36: init %i32 = call %bound_method.loc36_10.2(%int_3.loc36) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc36_10.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc36 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc36_10.2: %i32 = converted %int_3.loc36, %.loc36_10.1 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc36_10.2: = bound_method %int_3.loc36, %specific_fn.loc36 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc36: init %i32 = call %bound_method.loc36_10.2(%int_3.loc36) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc36_10.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc36 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc36_10.2: %i32 = converted %int_3.loc36, %.loc36_10.1 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %cpp_operator.call.loc36: ref %C = call imports.%cpp_operator.decl.4046da.19(%c1.ref.loc36, %.loc36_10.2) // CHECK:STDOUT: %c1.ref.loc37: ref %C = name_ref c1, %c1 // CHECK:STDOUT: %int_5.loc37: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] -// CHECK:STDOUT: %impl.elem0.loc37: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc37_10.1: = bound_method %int_5.loc37, %impl.elem0.loc37 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52] +// CHECK:STDOUT: %impl.elem0.loc37: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc37_10.1: = bound_method %int_5.loc37, %impl.elem0.loc37 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c] // CHECK:STDOUT: %specific_fn.loc37: = specific_function %impl.elem0.loc37, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc37_10.2: = bound_method %int_5.loc37, %specific_fn.loc37 [concrete = constants.%bound_method.10b] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc37: init %i32 = call %bound_method.loc37_10.2(%int_5.loc37) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc37_10.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc37 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc37_10.2: %i32 = converted %int_5.loc37, %.loc37_10.1 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %bound_method.loc37_10.2: = bound_method %int_5.loc37, %specific_fn.loc37 [concrete = constants.%bound_method.e3e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc37: init %i32 = call %bound_method.loc37_10.2(%int_5.loc37) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc37_10.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc37 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc37_10.2: %i32 = converted %int_5.loc37, %.loc37_10.1 [concrete = constants.%int_5.354] // CHECK:STDOUT: %cpp_operator.call.loc37: ref %C = call imports.%cpp_operator.decl.4046da.20(%c1.ref.loc37, %.loc37_10.2) // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %equal.patt: %pattern_type.831 = value_binding_pattern equal [concrete] @@ -1865,18 +1865,18 @@ fn F() { // CHECK:STDOUT: %.loc45_44.4: bool = acquire_value %.loc45_44.3 // CHECK:STDOUT: %less_than_or_equal: bool = value_binding less_than_or_equal, %.loc45_44.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %index.patt: %pattern_type.c6b = value_binding_pattern index [concrete] +// CHECK:STDOUT: %index.patt: %pattern_type.104 = value_binding_pattern index [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c1.ref.loc48: ref %C = name_ref c1, %c1 // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete = constants.%int_42.20e] // CHECK:STDOUT: %C.cpp_operator.bound: = bound_method %c1.ref.loc48, imports.%C.cpp_operator.decl -// CHECK:STDOUT: %impl.elem0.loc48: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc48_30.1: = bound_method %int_42, %impl.elem0.loc48 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0e] +// CHECK:STDOUT: %impl.elem0.loc48: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc48_30.1: = bound_method %int_42, %impl.elem0.loc48 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.21e] // CHECK:STDOUT: %specific_fn.loc48: = specific_function %impl.elem0.loc48, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc48_30.2: = bound_method %int_42, %specific_fn.loc48 [concrete = constants.%bound_method.d81] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc48: init %i32 = call %bound_method.loc48_30.2(%int_42) [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc48_30.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc48 [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc48_30.2: %i32 = converted %int_42, %.loc48_30.1 [concrete = constants.%int_42.bc5] +// CHECK:STDOUT: %bound_method.loc48_30.2: = bound_method %int_42, %specific_fn.loc48 [concrete = constants.%bound_method.98e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc48: init %i32 = call %bound_method.loc48_30.2(%int_42) [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc48_30.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc48 [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc48_30.2: %i32 = converted %int_42, %.loc48_30.1 [concrete = constants.%int_42.daa] // CHECK:STDOUT: %C.cpp_operator.call: init %i32 = call %C.cpp_operator.bound(%c1.ref.loc48, %.loc48_30.2) // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc48_32.1: %i32 = value_of_initializer %C.cpp_operator.call diff --git a/toolchain/check/testdata/interop/cpp/operators/ordered_with.carbon b/toolchain/check/testdata/interop/cpp/operators/ordered_with.carbon index c61367055e2a..a47fc71ab6f9 100644 --- a/toolchain/check/testdata/interop/cpp/operators/ordered_with.carbon +++ b/toolchain/check/testdata/interop/cpp/operators/ordered_with.carbon @@ -394,60 +394,60 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: constants { // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %Other: type = symbolic_binding Other, 0 [symbolic] -// CHECK:STDOUT: %OrderedWith.type.1ce6d7.1: type = facet_type <@OrderedWith.1, @OrderedWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.5899f7.1: %OrderedWith.type.1ce6d7.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %OrderedWith.assoc_type.72f2ab.1: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%Other) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.1: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Other, %Self.5899f7.1) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.433a82.1: %OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.1 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.8e8d9f.1: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Other, %Self.5899f7.1) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.4b40f6.1: %OrderedWith.WithSelf.Greater.type.8e8d9f.1 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.1: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Other, %Self.5899f7.1) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.cf3f1c.1: %OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.1 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.0103c6.1: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Other, %Self.5899f7.1) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.828cee.1: %OrderedWith.WithSelf.Less.type.0103c6.1 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.type.1ce6d7.2: type = facet_type <@OrderedWith.1, @OrderedWith.1(%U)> [symbolic] -// CHECK:STDOUT: %pattern_type.9c4: type = pattern_type %OrderedWith.type.1ce6d7.2 [symbolic] -// CHECK:STDOUT: %T: %OrderedWith.type.1ce6d7.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %OrderedWith.assoc_type.72f2ab.2: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%U) [symbolic] -// CHECK:STDOUT: %assoc0.76ced5.2: %OrderedWith.assoc_type.72f2ab.2 = assoc_entity element0, imports.%Core.import_ref.250 [symbolic] -// CHECK:STDOUT: %assoc1.248efd.2: %OrderedWith.assoc_type.72f2ab.2 = assoc_entity element1, imports.%Core.import_ref.af2 [symbolic] -// CHECK:STDOUT: %assoc2.cac9ed.2: %OrderedWith.assoc_type.72f2ab.2 = assoc_entity element2, imports.%Core.import_ref.ece [symbolic] -// CHECK:STDOUT: %assoc3.9908c2.2: %OrderedWith.assoc_type.72f2ab.2 = assoc_entity element3, imports.%Core.import_ref.bcf [symbolic] +// CHECK:STDOUT: %OrderedWith.type.73dab8.1: type = facet_type <@OrderedWith.1, @OrderedWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.d014af.1: %OrderedWith.type.73dab8.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %OrderedWith.assoc_type.2fabd7.1: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%Other) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.1: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Other, %Self.d014af.1) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.38d1a4.1: %OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.1 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.9defd1.1: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Other, %Self.d014af.1) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.984598.1: %OrderedWith.WithSelf.Greater.type.9defd1.1 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.1: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Other, %Self.d014af.1) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.c2ac22.1: %OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.1 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.687390.1: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Other, %Self.d014af.1) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.4a995a.1: %OrderedWith.WithSelf.Less.type.687390.1 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.type.73dab8.2: type = facet_type <@OrderedWith.1, @OrderedWith.1(%U)> [symbolic] +// CHECK:STDOUT: %pattern_type.10d: type = pattern_type %OrderedWith.type.73dab8.2 [symbolic] +// CHECK:STDOUT: %T: %OrderedWith.type.73dab8.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %OrderedWith.assoc_type.2fabd7.2: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%U) [symbolic] +// CHECK:STDOUT: %assoc0.7dbd55.2: %OrderedWith.assoc_type.2fabd7.2 = assoc_entity element0, imports.%Core.import_ref.5cd [symbolic] +// CHECK:STDOUT: %assoc1.54de85.2: %OrderedWith.assoc_type.2fabd7.2 = assoc_entity element1, imports.%Core.import_ref.fb6 [symbolic] +// CHECK:STDOUT: %assoc2.3caaa9.2: %OrderedWith.assoc_type.2fabd7.2 = assoc_entity element2, imports.%Core.import_ref.32f [symbolic] +// CHECK:STDOUT: %assoc3.4eb879.2: %OrderedWith.assoc_type.2fabd7.2 = assoc_entity element3, imports.%Core.import_ref.2d8 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.2e7263.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.05039a.2: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %pattern_type.51d1c4.2: type = pattern_type %U [symbolic] -// CHECK:STDOUT: %require_complete.028: = require_complete_type %OrderedWith.type.1ce6d7.2 [symbolic] -// CHECK:STDOUT: %assoc0.d47: %OrderedWith.assoc_type.72f2ab.1 = assoc_entity element0, imports.%Core.import_ref.516 [symbolic] +// CHECK:STDOUT: %require_complete.a45: = require_complete_type %OrderedWith.type.73dab8.2 [symbolic] +// CHECK:STDOUT: %assoc0.3ff: %OrderedWith.assoc_type.2fabd7.1 = assoc_entity element0, imports.%Core.import_ref.c33 [symbolic] // CHECK:STDOUT: %OrderedWith.lookup_impl_witness: = lookup_impl_witness %T, @OrderedWith.1, @OrderedWith.1(%U) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.0103c6.3: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%U, %T) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.3: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%U, %T) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.8e8d9f.3: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%U, %T) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.3: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%U, %T) [symbolic] -// CHECK:STDOUT: %.e72: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.0103c6.3, %T [symbolic] -// CHECK:STDOUT: %impl.elem0: %.e72 = impl_witness_access %OrderedWith.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.fd5: = specific_impl_function %impl.elem0, @OrderedWith.WithSelf.Less(%U, %T) [symbolic] -// CHECK:STDOUT: %assoc1.d74: %OrderedWith.assoc_type.72f2ab.1 = assoc_entity element1, imports.%Core.import_ref.785 [symbolic] -// CHECK:STDOUT: %.951: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.3, %T [symbolic] -// CHECK:STDOUT: %impl.elem1: %.951 = impl_witness_access %OrderedWith.lookup_impl_witness, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.315: = specific_impl_function %impl.elem1, @OrderedWith.WithSelf.LessOrEquivalent(%U, %T) [symbolic] -// CHECK:STDOUT: %assoc2.4ac: %OrderedWith.assoc_type.72f2ab.1 = assoc_entity element2, imports.%Core.import_ref.3b8 [symbolic] -// CHECK:STDOUT: %.813: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.8e8d9f.3, %T [symbolic] -// CHECK:STDOUT: %impl.elem2: %.813 = impl_witness_access %OrderedWith.lookup_impl_witness, element2 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.9d6: = specific_impl_function %impl.elem2, @OrderedWith.WithSelf.Greater(%U, %T) [symbolic] -// CHECK:STDOUT: %assoc3.89a: %OrderedWith.assoc_type.72f2ab.1 = assoc_entity element3, imports.%Core.import_ref.29c [symbolic] -// CHECK:STDOUT: %.137: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.3, %T [symbolic] -// CHECK:STDOUT: %impl.elem3: %.137 = impl_witness_access %OrderedWith.lookup_impl_witness, element3 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.261: = specific_impl_function %impl.elem3, @OrderedWith.WithSelf.GreaterOrEquivalent(%U, %T) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.687390.3: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%U, %T) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.3: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%U, %T) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.9defd1.3: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%U, %T) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.3: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%U, %T) [symbolic] +// CHECK:STDOUT: %.cb4: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.687390.3, %T [symbolic] +// CHECK:STDOUT: %impl.elem0: %.cb4 = impl_witness_access %OrderedWith.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c89: = specific_impl_function %impl.elem0, @OrderedWith.WithSelf.Less(%U, %T) [symbolic] +// CHECK:STDOUT: %assoc1.760: %OrderedWith.assoc_type.2fabd7.1 = assoc_entity element1, imports.%Core.import_ref.79a [symbolic] +// CHECK:STDOUT: %.ac4: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.3, %T [symbolic] +// CHECK:STDOUT: %impl.elem1: %.ac4 = impl_witness_access %OrderedWith.lookup_impl_witness, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.65b: = specific_impl_function %impl.elem1, @OrderedWith.WithSelf.LessOrEquivalent(%U, %T) [symbolic] +// CHECK:STDOUT: %assoc2.897: %OrderedWith.assoc_type.2fabd7.1 = assoc_entity element2, imports.%Core.import_ref.ea2 [symbolic] +// CHECK:STDOUT: %.994: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.9defd1.3, %T [symbolic] +// CHECK:STDOUT: %impl.elem2: %.994 = impl_witness_access %OrderedWith.lookup_impl_witness, element2 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.6dc: = specific_impl_function %impl.elem2, @OrderedWith.WithSelf.Greater(%U, %T) [symbolic] +// CHECK:STDOUT: %assoc3.8bc: %OrderedWith.assoc_type.2fabd7.1 = assoc_entity element3, imports.%Core.import_ref.b4f [symbolic] +// CHECK:STDOUT: %.eca: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.3, %T [symbolic] +// CHECK:STDOUT: %impl.elem3: %.eca = impl_witness_access %OrderedWith.lookup_impl_witness, element3 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.f67: = specific_impl_function %impl.elem3, @OrderedWith.WithSelf.GreaterOrEquivalent(%U, %T) [symbolic] // CHECK:STDOUT: %Ordered: type = class_type @Ordered [concrete] // CHECK:STDOUT: %pattern_type.56a: type = pattern_type %Ordered [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %OrderedWith.type.ef0: type = facet_type <@OrderedWith.1, @OrderedWith.1(%Ordered)> [concrete] -// CHECK:STDOUT: %OrderedWith.assoc_type.298: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%Ordered) [concrete] -// CHECK:STDOUT: %assoc0.0d2: %OrderedWith.assoc_type.298 = assoc_entity element0, imports.%Core.import_ref.250 [concrete] -// CHECK:STDOUT: %assoc1.d8d: %OrderedWith.assoc_type.298 = assoc_entity element1, imports.%Core.import_ref.af2 [concrete] -// CHECK:STDOUT: %assoc2.1b7: %OrderedWith.assoc_type.298 = assoc_entity element2, imports.%Core.import_ref.ece [concrete] -// CHECK:STDOUT: %assoc3.1e4: %OrderedWith.assoc_type.298 = assoc_entity element3, imports.%Core.import_ref.bcf [concrete] +// CHECK:STDOUT: %OrderedWith.type.240: type = facet_type <@OrderedWith.1, @OrderedWith.1(%Ordered)> [concrete] +// CHECK:STDOUT: %OrderedWith.assoc_type.88a: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%Ordered) [concrete] +// CHECK:STDOUT: %assoc0.345: %OrderedWith.assoc_type.88a = assoc_entity element0, imports.%Core.import_ref.5cd [concrete] +// CHECK:STDOUT: %assoc1.a81: %OrderedWith.assoc_type.88a = assoc_entity element1, imports.%Core.import_ref.fb6 [concrete] +// CHECK:STDOUT: %assoc2.be8: %OrderedWith.assoc_type.88a = assoc_entity element2, imports.%Core.import_ref.32f [concrete] +// CHECK:STDOUT: %assoc3.35d: %OrderedWith.assoc_type.88a = assoc_entity element3, imports.%Core.import_ref.2d8 [concrete] // CHECK:STDOUT: %Ordered.Less.type: type = fn_type @Ordered.Less [concrete] // CHECK:STDOUT: %Ordered.Less: %Ordered.Less.type = struct_value () [concrete] // CHECK:STDOUT: %Ordered.LessOrEquivalent.type: type = fn_type @Ordered.LessOrEquivalent [concrete] @@ -456,104 +456,104 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: %Ordered.Greater: %Ordered.Greater.type = struct_value () [concrete] // CHECK:STDOUT: %Ordered.GreaterOrEquivalent.type: type = fn_type @Ordered.GreaterOrEquivalent [concrete] // CHECK:STDOUT: %Ordered.GreaterOrEquivalent: %Ordered.GreaterOrEquivalent.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.99d: = custom_witness (%Ordered.Less, %Ordered.LessOrEquivalent, %Ordered.Greater, %Ordered.GreaterOrEquivalent), @OrderedWith.1, @OrderedWith.1(%Ordered) [concrete] -// CHECK:STDOUT: %OrderedWith.facet.0d3: %OrderedWith.type.ef0 = facet_value %Ordered, (%custom_witness.99d) [concrete] -// CHECK:STDOUT: %pattern_type.432: type = pattern_type %OrderedWith.type.ef0 [concrete] -// CHECK:STDOUT: %complete_type.831: = complete_type_witness %OrderedWith.type.ef0 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.d4c: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Ordered, %OrderedWith.facet.0d3) [concrete] -// CHECK:STDOUT: %.2f2: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.d4c, %OrderedWith.facet.0d3 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.e37: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Ordered, %OrderedWith.facet.0d3) [concrete] -// CHECK:STDOUT: %.bcc: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.e37, %OrderedWith.facet.0d3 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.2d4: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Ordered, %OrderedWith.facet.0d3) [concrete] -// CHECK:STDOUT: %.287: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.2d4, %OrderedWith.facet.0d3 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.589: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Ordered, %OrderedWith.facet.0d3) [concrete] -// CHECK:STDOUT: %.e4e: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.589, %OrderedWith.facet.0d3 [concrete] +// CHECK:STDOUT: %custom_witness.de2: = custom_witness (%Ordered.Less, %Ordered.LessOrEquivalent, %Ordered.Greater, %Ordered.GreaterOrEquivalent), @OrderedWith.1, @OrderedWith.1(%Ordered) [concrete] +// CHECK:STDOUT: %OrderedWith.facet.f5e: %OrderedWith.type.240 = facet_value %Ordered, (%custom_witness.de2) [concrete] +// CHECK:STDOUT: %pattern_type.04e: type = pattern_type %OrderedWith.type.240 [concrete] +// CHECK:STDOUT: %complete_type.3b2: = complete_type_witness %OrderedWith.type.240 [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.90a: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Ordered, %OrderedWith.facet.f5e) [concrete] +// CHECK:STDOUT: %.71b: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.90a, %OrderedWith.facet.f5e [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.31f: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Ordered, %OrderedWith.facet.f5e) [concrete] +// CHECK:STDOUT: %.1f0: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.31f, %OrderedWith.facet.f5e [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.622: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Ordered, %OrderedWith.facet.f5e) [concrete] +// CHECK:STDOUT: %.34e: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.622, %OrderedWith.facet.f5e [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.2a6: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Ordered, %OrderedWith.facet.f5e) [concrete] +// CHECK:STDOUT: %.eb8: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.2a6, %OrderedWith.facet.f5e [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.08c: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc0 (constants.%assoc0.d47)] -// CHECK:STDOUT: %Core.import_ref.6b7: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc1 (constants.%assoc1.d74)] -// CHECK:STDOUT: %Core.import_ref.bc5: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc2 (constants.%assoc2.4ac)] -// CHECK:STDOUT: %Core.import_ref.cfb: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc3 (constants.%assoc3.89a)] -// CHECK:STDOUT: %Core.import_ref.bcf: @OrderedWith.WithSelf.%OrderedWith.WithSelf.GreaterOrEquivalent.type (%OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.GreaterOrEquivalent (constants.%OrderedWith.WithSelf.GreaterOrEquivalent.433a82.1)] -// CHECK:STDOUT: %Core.import_ref.ece: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Greater.type (%OrderedWith.WithSelf.Greater.type.8e8d9f.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Greater (constants.%OrderedWith.WithSelf.Greater.4b40f6.1)] -// CHECK:STDOUT: %Core.import_ref.af2: @OrderedWith.WithSelf.%OrderedWith.WithSelf.LessOrEquivalent.type (%OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.LessOrEquivalent (constants.%OrderedWith.WithSelf.LessOrEquivalent.cf3f1c.1)] -// CHECK:STDOUT: %Core.import_ref.250: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less.type (%OrderedWith.WithSelf.Less.type.0103c6.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less (constants.%OrderedWith.WithSelf.Less.828cee.1)] -// CHECK:STDOUT: %Core.import_ref.516 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.785 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.3b8 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.29c = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.eb4: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc0 (constants.%assoc0.3ff)] +// CHECK:STDOUT: %Core.import_ref.84c: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc1 (constants.%assoc1.760)] +// CHECK:STDOUT: %Core.import_ref.01d: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc2 (constants.%assoc2.897)] +// CHECK:STDOUT: %Core.import_ref.569: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc3 (constants.%assoc3.8bc)] +// CHECK:STDOUT: %Core.import_ref.2d8: @OrderedWith.WithSelf.%OrderedWith.WithSelf.GreaterOrEquivalent.type (%OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.GreaterOrEquivalent (constants.%OrderedWith.WithSelf.GreaterOrEquivalent.38d1a4.1)] +// CHECK:STDOUT: %Core.import_ref.32f: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Greater.type (%OrderedWith.WithSelf.Greater.type.9defd1.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Greater (constants.%OrderedWith.WithSelf.Greater.984598.1)] +// CHECK:STDOUT: %Core.import_ref.fb6: @OrderedWith.WithSelf.%OrderedWith.WithSelf.LessOrEquivalent.type (%OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.LessOrEquivalent (constants.%OrderedWith.WithSelf.LessOrEquivalent.c2ac22.1)] +// CHECK:STDOUT: %Core.import_ref.5cd: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less.type (%OrderedWith.WithSelf.Less.type.687390.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less (constants.%OrderedWith.WithSelf.Less.4a995a.1)] +// CHECK:STDOUT: %Core.import_ref.c33 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.79a = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.ea2 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.b4f = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @OrderedWith.loc13(%U.loc13_17.2: type, %T.loc13_27.2: @OrderedWith.loc13.%OrderedWith.type.loc13_48.1 (%OrderedWith.type.1ce6d7.2)) { +// CHECK:STDOUT: generic fn @OrderedWith.loc13(%U.loc13_17.2: type, %T.loc13_27.2: @OrderedWith.loc13.%OrderedWith.type.loc13_48.1 (%OrderedWith.type.73dab8.2)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc15: = require_complete_type %OrderedWith.type.loc13_48.1 [symbolic = %require_complete.loc15 (constants.%require_complete.028)] -// CHECK:STDOUT: %OrderedWith.assoc_type: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%U.loc13_17.1) [symbolic = %OrderedWith.assoc_type (constants.%OrderedWith.assoc_type.72f2ab.2)] -// CHECK:STDOUT: %assoc0: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = assoc_entity element0, imports.%Core.import_ref.250 [symbolic = %assoc0 (constants.%assoc0.76ced5.2)] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %OrderedWith.WithSelf.Less.type (constants.%OrderedWith.WithSelf.Less.type.0103c6.3)] -// CHECK:STDOUT: %.loc15_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type, %T.loc13_27.1 [symbolic = %.loc15_5.2 (constants.%.e72)] +// CHECK:STDOUT: %require_complete.loc15: = require_complete_type %OrderedWith.type.loc13_48.1 [symbolic = %require_complete.loc15 (constants.%require_complete.a45)] +// CHECK:STDOUT: %OrderedWith.assoc_type: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%U.loc13_17.1) [symbolic = %OrderedWith.assoc_type (constants.%OrderedWith.assoc_type.2fabd7.2)] +// CHECK:STDOUT: %assoc0: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = assoc_entity element0, imports.%Core.import_ref.5cd [symbolic = %assoc0 (constants.%assoc0.7dbd55.2)] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %OrderedWith.WithSelf.Less.type (constants.%OrderedWith.WithSelf.Less.type.687390.3)] +// CHECK:STDOUT: %.loc15_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type, %T.loc13_27.1 [symbolic = %.loc15_5.2 (constants.%.cb4)] // CHECK:STDOUT: %OrderedWith.lookup_impl_witness: = lookup_impl_witness %T.loc13_27.1, @OrderedWith.1, @OrderedWith.1(%U.loc13_17.1) [symbolic = %OrderedWith.lookup_impl_witness (constants.%OrderedWith.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc15_5.2: @OrderedWith.loc13.%.loc15_5.2 (%.e72) = impl_witness_access %OrderedWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_5.2 (constants.%impl.elem0)] -// CHECK:STDOUT: %specific_impl_fn.loc15_5.2: = specific_impl_function %impl.elem0.loc15_5.2, @OrderedWith.WithSelf.Less(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %specific_impl_fn.loc15_5.2 (constants.%specific_impl_fn.fd5)] -// CHECK:STDOUT: %assoc1: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = assoc_entity element1, imports.%Core.import_ref.af2 [symbolic = %assoc1 (constants.%assoc1.248efd.2)] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %OrderedWith.WithSelf.LessOrEquivalent.type (constants.%OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.3)] -// CHECK:STDOUT: %.loc16_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type, %T.loc13_27.1 [symbolic = %.loc16_5.2 (constants.%.951)] -// CHECK:STDOUT: %impl.elem1.loc16_5.2: @OrderedWith.loc13.%.loc16_5.2 (%.951) = impl_witness_access %OrderedWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc16_5.2 (constants.%impl.elem1)] -// CHECK:STDOUT: %specific_impl_fn.loc16_5.2: = specific_impl_function %impl.elem1.loc16_5.2, @OrderedWith.WithSelf.LessOrEquivalent(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %specific_impl_fn.loc16_5.2 (constants.%specific_impl_fn.315)] -// CHECK:STDOUT: %assoc2: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = assoc_entity element2, imports.%Core.import_ref.ece [symbolic = %assoc2 (constants.%assoc2.cac9ed.2)] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %OrderedWith.WithSelf.Greater.type (constants.%OrderedWith.WithSelf.Greater.type.8e8d9f.3)] -// CHECK:STDOUT: %.loc17_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type, %T.loc13_27.1 [symbolic = %.loc17_5.2 (constants.%.813)] -// CHECK:STDOUT: %impl.elem2.loc17_5.2: @OrderedWith.loc13.%.loc17_5.2 (%.813) = impl_witness_access %OrderedWith.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc17_5.2 (constants.%impl.elem2)] -// CHECK:STDOUT: %specific_impl_fn.loc17_5.2: = specific_impl_function %impl.elem2.loc17_5.2, @OrderedWith.WithSelf.Greater(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %specific_impl_fn.loc17_5.2 (constants.%specific_impl_fn.9d6)] -// CHECK:STDOUT: %assoc3: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = assoc_entity element3, imports.%Core.import_ref.bcf [symbolic = %assoc3 (constants.%assoc3.9908c2.2)] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %OrderedWith.WithSelf.GreaterOrEquivalent.type (constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.3)] -// CHECK:STDOUT: %.loc18_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type, %T.loc13_27.1 [symbolic = %.loc18_5.2 (constants.%.137)] -// CHECK:STDOUT: %impl.elem3.loc18_5.2: @OrderedWith.loc13.%.loc18_5.2 (%.137) = impl_witness_access %OrderedWith.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc18_5.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %specific_impl_fn.loc18_5.2: = specific_impl_function %impl.elem3.loc18_5.2, @OrderedWith.WithSelf.GreaterOrEquivalent(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %specific_impl_fn.loc18_5.2 (constants.%specific_impl_fn.261)] +// CHECK:STDOUT: %impl.elem0.loc15_5.2: @OrderedWith.loc13.%.loc15_5.2 (%.cb4) = impl_witness_access %OrderedWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_5.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %specific_impl_fn.loc15_5.2: = specific_impl_function %impl.elem0.loc15_5.2, @OrderedWith.WithSelf.Less(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %specific_impl_fn.loc15_5.2 (constants.%specific_impl_fn.c89)] +// CHECK:STDOUT: %assoc1: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = assoc_entity element1, imports.%Core.import_ref.fb6 [symbolic = %assoc1 (constants.%assoc1.54de85.2)] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %OrderedWith.WithSelf.LessOrEquivalent.type (constants.%OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.3)] +// CHECK:STDOUT: %.loc16_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type, %T.loc13_27.1 [symbolic = %.loc16_5.2 (constants.%.ac4)] +// CHECK:STDOUT: %impl.elem1.loc16_5.2: @OrderedWith.loc13.%.loc16_5.2 (%.ac4) = impl_witness_access %OrderedWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc16_5.2 (constants.%impl.elem1)] +// CHECK:STDOUT: %specific_impl_fn.loc16_5.2: = specific_impl_function %impl.elem1.loc16_5.2, @OrderedWith.WithSelf.LessOrEquivalent(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %specific_impl_fn.loc16_5.2 (constants.%specific_impl_fn.65b)] +// CHECK:STDOUT: %assoc2: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = assoc_entity element2, imports.%Core.import_ref.32f [symbolic = %assoc2 (constants.%assoc2.3caaa9.2)] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %OrderedWith.WithSelf.Greater.type (constants.%OrderedWith.WithSelf.Greater.type.9defd1.3)] +// CHECK:STDOUT: %.loc17_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type, %T.loc13_27.1 [symbolic = %.loc17_5.2 (constants.%.994)] +// CHECK:STDOUT: %impl.elem2.loc17_5.2: @OrderedWith.loc13.%.loc17_5.2 (%.994) = impl_witness_access %OrderedWith.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc17_5.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %specific_impl_fn.loc17_5.2: = specific_impl_function %impl.elem2.loc17_5.2, @OrderedWith.WithSelf.Greater(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %specific_impl_fn.loc17_5.2 (constants.%specific_impl_fn.6dc)] +// CHECK:STDOUT: %assoc3: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = assoc_entity element3, imports.%Core.import_ref.2d8 [symbolic = %assoc3 (constants.%assoc3.4eb879.2)] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %OrderedWith.WithSelf.GreaterOrEquivalent.type (constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.3)] +// CHECK:STDOUT: %.loc18_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type, %T.loc13_27.1 [symbolic = %.loc18_5.2 (constants.%.eca)] +// CHECK:STDOUT: %impl.elem3.loc18_5.2: @OrderedWith.loc13.%.loc18_5.2 (%.eca) = impl_witness_access %OrderedWith.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc18_5.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %specific_impl_fn.loc18_5.2: = specific_impl_function %impl.elem3.loc18_5.2, @OrderedWith.WithSelf.GreaterOrEquivalent(%U.loc13_17.1, %T.loc13_27.1) [symbolic = %specific_impl_fn.loc18_5.2 (constants.%specific_impl_fn.f67)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @OrderedWith.loc13.%T.as_type.loc13_54.1 (%T.as_type), %y.param: @OrderedWith.loc13.%U.loc13_17.1 (%U)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref.loc15: @OrderedWith.loc13.%T.as_type.loc13_54.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc15: @OrderedWith.loc13.%U.loc13_17.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %OrderedWith.type.loc15: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc13_48.1 (constants.%OrderedWith.type.1ce6d7.2)] -// CHECK:STDOUT: %.loc15_5.1: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = specific_constant imports.%Core.import_ref.08c, @OrderedWith.WithSelf(constants.%U, constants.%Self.5899f7.1) [symbolic = %assoc0 (constants.%assoc0.76ced5.2)] -// CHECK:STDOUT: %Less.ref: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = name_ref Less, %.loc15_5.1 [symbolic = %assoc0 (constants.%assoc0.76ced5.2)] -// CHECK:STDOUT: %impl.elem0.loc15_5.1: @OrderedWith.loc13.%.loc15_5.2 (%.e72) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_5.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %OrderedWith.type.loc15: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc13_48.1 (constants.%OrderedWith.type.73dab8.2)] +// CHECK:STDOUT: %.loc15_5.1: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = specific_constant imports.%Core.import_ref.eb4, @OrderedWith.WithSelf(constants.%U, constants.%Self.d014af.1) [symbolic = %assoc0 (constants.%assoc0.7dbd55.2)] +// CHECK:STDOUT: %Less.ref: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = name_ref Less, %.loc15_5.1 [symbolic = %assoc0 (constants.%assoc0.7dbd55.2)] +// CHECK:STDOUT: %impl.elem0.loc15_5.1: @OrderedWith.loc13.%.loc15_5.2 (%.cb4) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_5.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc15_5.1: = bound_method %x.ref.loc15, %impl.elem0.loc15_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc15_5.1: = specific_impl_function %impl.elem0.loc15_5.1, @OrderedWith.WithSelf.Less(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc15_5.2 (constants.%specific_impl_fn.fd5)] +// CHECK:STDOUT: %specific_impl_fn.loc15_5.1: = specific_impl_function %impl.elem0.loc15_5.1, @OrderedWith.WithSelf.Less(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc15_5.2 (constants.%specific_impl_fn.c89)] // CHECK:STDOUT: %bound_method.loc15_5.2: = bound_method %x.ref.loc15, %specific_impl_fn.loc15_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.Less.call: init bool = call %bound_method.loc15_5.2(%x.ref.loc15, %y.ref.loc15) // CHECK:STDOUT: %x.ref.loc16: @OrderedWith.loc13.%T.as_type.loc13_54.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc16: @OrderedWith.loc13.%U.loc13_17.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %OrderedWith.type.loc16: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc13_48.1 (constants.%OrderedWith.type.1ce6d7.2)] -// CHECK:STDOUT: %.loc16_5.1: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = specific_constant imports.%Core.import_ref.6b7, @OrderedWith.WithSelf(constants.%U, constants.%Self.5899f7.1) [symbolic = %assoc1 (constants.%assoc1.248efd.2)] -// CHECK:STDOUT: %LessOrEquivalent.ref: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = name_ref LessOrEquivalent, %.loc16_5.1 [symbolic = %assoc1 (constants.%assoc1.248efd.2)] -// CHECK:STDOUT: %impl.elem1.loc16_5.1: @OrderedWith.loc13.%.loc16_5.2 (%.951) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc16_5.2 (constants.%impl.elem1)] +// CHECK:STDOUT: %OrderedWith.type.loc16: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc13_48.1 (constants.%OrderedWith.type.73dab8.2)] +// CHECK:STDOUT: %.loc16_5.1: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = specific_constant imports.%Core.import_ref.84c, @OrderedWith.WithSelf(constants.%U, constants.%Self.d014af.1) [symbolic = %assoc1 (constants.%assoc1.54de85.2)] +// CHECK:STDOUT: %LessOrEquivalent.ref: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = name_ref LessOrEquivalent, %.loc16_5.1 [symbolic = %assoc1 (constants.%assoc1.54de85.2)] +// CHECK:STDOUT: %impl.elem1.loc16_5.1: @OrderedWith.loc13.%.loc16_5.2 (%.ac4) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc16_5.2 (constants.%impl.elem1)] // CHECK:STDOUT: %bound_method.loc16_5.1: = bound_method %x.ref.loc16, %impl.elem1.loc16_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc16_5.1: = specific_impl_function %impl.elem1.loc16_5.1, @OrderedWith.WithSelf.LessOrEquivalent(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc16_5.2 (constants.%specific_impl_fn.315)] +// CHECK:STDOUT: %specific_impl_fn.loc16_5.1: = specific_impl_function %impl.elem1.loc16_5.1, @OrderedWith.WithSelf.LessOrEquivalent(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc16_5.2 (constants.%specific_impl_fn.65b)] // CHECK:STDOUT: %bound_method.loc16_5.2: = bound_method %x.ref.loc16, %specific_impl_fn.loc16_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.call: init bool = call %bound_method.loc16_5.2(%x.ref.loc16, %y.ref.loc16) // CHECK:STDOUT: %x.ref.loc17: @OrderedWith.loc13.%T.as_type.loc13_54.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc17: @OrderedWith.loc13.%U.loc13_17.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %OrderedWith.type.loc17: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc13_48.1 (constants.%OrderedWith.type.1ce6d7.2)] -// CHECK:STDOUT: %.loc17_5.1: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = specific_constant imports.%Core.import_ref.bc5, @OrderedWith.WithSelf(constants.%U, constants.%Self.5899f7.1) [symbolic = %assoc2 (constants.%assoc2.cac9ed.2)] -// CHECK:STDOUT: %Greater.ref: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = name_ref Greater, %.loc17_5.1 [symbolic = %assoc2 (constants.%assoc2.cac9ed.2)] -// CHECK:STDOUT: %impl.elem2.loc17_5.1: @OrderedWith.loc13.%.loc17_5.2 (%.813) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc17_5.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %OrderedWith.type.loc17: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc13_48.1 (constants.%OrderedWith.type.73dab8.2)] +// CHECK:STDOUT: %.loc17_5.1: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = specific_constant imports.%Core.import_ref.01d, @OrderedWith.WithSelf(constants.%U, constants.%Self.d014af.1) [symbolic = %assoc2 (constants.%assoc2.3caaa9.2)] +// CHECK:STDOUT: %Greater.ref: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = name_ref Greater, %.loc17_5.1 [symbolic = %assoc2 (constants.%assoc2.3caaa9.2)] +// CHECK:STDOUT: %impl.elem2.loc17_5.1: @OrderedWith.loc13.%.loc17_5.2 (%.994) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc17_5.2 (constants.%impl.elem2)] // CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %x.ref.loc17, %impl.elem2.loc17_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc17_5.1: = specific_impl_function %impl.elem2.loc17_5.1, @OrderedWith.WithSelf.Greater(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc17_5.2 (constants.%specific_impl_fn.9d6)] +// CHECK:STDOUT: %specific_impl_fn.loc17_5.1: = specific_impl_function %impl.elem2.loc17_5.1, @OrderedWith.WithSelf.Greater(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc17_5.2 (constants.%specific_impl_fn.6dc)] // CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %x.ref.loc17, %specific_impl_fn.loc17_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.Greater.call: init bool = call %bound_method.loc17_5.2(%x.ref.loc17, %y.ref.loc17) // CHECK:STDOUT: %x.ref.loc18: @OrderedWith.loc13.%T.as_type.loc13_54.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc18: @OrderedWith.loc13.%U.loc13_17.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %OrderedWith.type.loc18: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc13_48.1 (constants.%OrderedWith.type.1ce6d7.2)] -// CHECK:STDOUT: %.loc18_5.1: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = specific_constant imports.%Core.import_ref.cfb, @OrderedWith.WithSelf(constants.%U, constants.%Self.5899f7.1) [symbolic = %assoc3 (constants.%assoc3.9908c2.2)] -// CHECK:STDOUT: %GreaterOrEquivalent.ref: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = name_ref GreaterOrEquivalent, %.loc18_5.1 [symbolic = %assoc3 (constants.%assoc3.9908c2.2)] -// CHECK:STDOUT: %impl.elem3.loc18_5.1: @OrderedWith.loc13.%.loc18_5.2 (%.137) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc18_5.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %OrderedWith.type.loc18: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc13_48.1 (constants.%OrderedWith.type.73dab8.2)] +// CHECK:STDOUT: %.loc18_5.1: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = specific_constant imports.%Core.import_ref.569, @OrderedWith.WithSelf(constants.%U, constants.%Self.d014af.1) [symbolic = %assoc3 (constants.%assoc3.4eb879.2)] +// CHECK:STDOUT: %GreaterOrEquivalent.ref: @OrderedWith.loc13.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = name_ref GreaterOrEquivalent, %.loc18_5.1 [symbolic = %assoc3 (constants.%assoc3.4eb879.2)] +// CHECK:STDOUT: %impl.elem3.loc18_5.1: @OrderedWith.loc13.%.loc18_5.2 (%.eca) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc18_5.2 (constants.%impl.elem3)] // CHECK:STDOUT: %bound_method.loc18_5.1: = bound_method %x.ref.loc18, %impl.elem3.loc18_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc18_5.1: = specific_impl_function %impl.elem3.loc18_5.1, @OrderedWith.WithSelf.GreaterOrEquivalent(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc18_5.2 (constants.%specific_impl_fn.261)] +// CHECK:STDOUT: %specific_impl_fn.loc18_5.1: = specific_impl_function %impl.elem3.loc18_5.1, @OrderedWith.WithSelf.GreaterOrEquivalent(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc18_5.2 (constants.%specific_impl_fn.f67)] // CHECK:STDOUT: %bound_method.loc18_5.2: = bound_method %x.ref.loc18, %specific_impl_fn.loc18_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.call: init bool = call %bound_method.loc18_5.2(%x.ref.loc18, %y.ref.loc18) // CHECK:STDOUT: @@ -562,19 +562,19 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: // CHECK:STDOUT: specific @OrderedWith.loc13(constants.%U, constants.%T) { // CHECK:STDOUT: %U.loc13_17.1 => constants.%U -// CHECK:STDOUT: %OrderedWith.type.loc13_48.1 => constants.%OrderedWith.type.1ce6d7.2 +// CHECK:STDOUT: %OrderedWith.type.loc13_48.1 => constants.%OrderedWith.type.73dab8.2 // CHECK:STDOUT: %T.loc13_27.1 => constants.%T -// CHECK:STDOUT: %pattern_type.loc13_27 => constants.%pattern_type.9c4 +// CHECK:STDOUT: %pattern_type.loc13_27 => constants.%pattern_type.10d // CHECK:STDOUT: %T.as_type.loc13_54.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.loc13_52 => constants.%pattern_type.2e7263.2 +// CHECK:STDOUT: %pattern_type.loc13_52 => constants.%pattern_type.05039a.2 // CHECK:STDOUT: %pattern_type.loc13_58 => constants.%pattern_type.51d1c4.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @OrderedWith.loc13(constants.%Ordered, constants.%OrderedWith.facet.0d3) { +// CHECK:STDOUT: specific @OrderedWith.loc13(constants.%Ordered, constants.%OrderedWith.facet.f5e) { // CHECK:STDOUT: %U.loc13_17.1 => constants.%Ordered -// CHECK:STDOUT: %OrderedWith.type.loc13_48.1 => constants.%OrderedWith.type.ef0 -// CHECK:STDOUT: %T.loc13_27.1 => constants.%OrderedWith.facet.0d3 -// CHECK:STDOUT: %pattern_type.loc13_27 => constants.%pattern_type.432 +// CHECK:STDOUT: %OrderedWith.type.loc13_48.1 => constants.%OrderedWith.type.240 +// CHECK:STDOUT: %T.loc13_27.1 => constants.%OrderedWith.facet.f5e +// CHECK:STDOUT: %pattern_type.loc13_27 => constants.%pattern_type.04e // CHECK:STDOUT: %T.as_type.loc13_54.1 => constants.%Ordered // CHECK:STDOUT: %pattern_type.loc13_52 => constants.%pattern_type.56a // CHECK:STDOUT: %pattern_type.loc13_58 => constants.%pattern_type.56a @@ -582,27 +582,27 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc13_52 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc13_58 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc15 => constants.%complete_type.831 -// CHECK:STDOUT: %OrderedWith.assoc_type => constants.%OrderedWith.assoc_type.298 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.0d2 -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type => constants.%OrderedWith.WithSelf.Less.type.d4c -// CHECK:STDOUT: %.loc15_5.2 => constants.%.2f2 -// CHECK:STDOUT: %OrderedWith.lookup_impl_witness => constants.%custom_witness.99d +// CHECK:STDOUT: %require_complete.loc15 => constants.%complete_type.3b2 +// CHECK:STDOUT: %OrderedWith.assoc_type => constants.%OrderedWith.assoc_type.88a +// CHECK:STDOUT: %assoc0 => constants.%assoc0.345 +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type => constants.%OrderedWith.WithSelf.Less.type.90a +// CHECK:STDOUT: %.loc15_5.2 => constants.%.71b +// CHECK:STDOUT: %OrderedWith.lookup_impl_witness => constants.%custom_witness.de2 // CHECK:STDOUT: %impl.elem0.loc15_5.2 => constants.%Ordered.Less // CHECK:STDOUT: %specific_impl_fn.loc15_5.2 => constants.%Ordered.Less -// CHECK:STDOUT: %assoc1 => constants.%assoc1.d8d -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type => constants.%OrderedWith.WithSelf.LessOrEquivalent.type.e37 -// CHECK:STDOUT: %.loc16_5.2 => constants.%.bcc +// CHECK:STDOUT: %assoc1 => constants.%assoc1.a81 +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type => constants.%OrderedWith.WithSelf.LessOrEquivalent.type.31f +// CHECK:STDOUT: %.loc16_5.2 => constants.%.1f0 // CHECK:STDOUT: %impl.elem1.loc16_5.2 => constants.%Ordered.LessOrEquivalent // CHECK:STDOUT: %specific_impl_fn.loc16_5.2 => constants.%Ordered.LessOrEquivalent -// CHECK:STDOUT: %assoc2 => constants.%assoc2.1b7 -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type => constants.%OrderedWith.WithSelf.Greater.type.2d4 -// CHECK:STDOUT: %.loc17_5.2 => constants.%.287 +// CHECK:STDOUT: %assoc2 => constants.%assoc2.be8 +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type => constants.%OrderedWith.WithSelf.Greater.type.622 +// CHECK:STDOUT: %.loc17_5.2 => constants.%.34e // CHECK:STDOUT: %impl.elem2.loc17_5.2 => constants.%Ordered.Greater // CHECK:STDOUT: %specific_impl_fn.loc17_5.2 => constants.%Ordered.Greater -// CHECK:STDOUT: %assoc3 => constants.%assoc3.1e4 -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type => constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.589 -// CHECK:STDOUT: %.loc18_5.2 => constants.%.e4e +// CHECK:STDOUT: %assoc3 => constants.%assoc3.35d +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type => constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.2a6 +// CHECK:STDOUT: %.loc18_5.2 => constants.%.eb8 // CHECK:STDOUT: %impl.elem3.loc18_5.2 => constants.%Ordered.GreaterOrEquivalent // CHECK:STDOUT: %specific_impl_fn.loc18_5.2 => constants.%Ordered.GreaterOrEquivalent // CHECK:STDOUT: } @@ -612,50 +612,50 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: constants { // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %Other: type = symbolic_binding Other, 0 [symbolic] -// CHECK:STDOUT: %OrderedWith.type.1ce6d7.1: type = facet_type <@OrderedWith.1, @OrderedWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.5899f7.1: %OrderedWith.type.1ce6d7.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %OrderedWith.assoc_type.72f2ab.1: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%Other) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.1: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Other, %Self.5899f7.1) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.433a82.1: %OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.1 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.8e8d9f.1: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Other, %Self.5899f7.1) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.4b40f6.1: %OrderedWith.WithSelf.Greater.type.8e8d9f.1 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.1: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Other, %Self.5899f7.1) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.cf3f1c.1: %OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.1 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.0103c6.1: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Other, %Self.5899f7.1) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.828cee.1: %OrderedWith.WithSelf.Less.type.0103c6.1 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.type.1ce6d7.2: type = facet_type <@OrderedWith.1, @OrderedWith.1(%U)> [symbolic] -// CHECK:STDOUT: %pattern_type.9c4: type = pattern_type %OrderedWith.type.1ce6d7.2 [symbolic] -// CHECK:STDOUT: %T: %OrderedWith.type.1ce6d7.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %OrderedWith.assoc_type.72f2ab.2: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%U) [symbolic] -// CHECK:STDOUT: %assoc0.76ced5.2: %OrderedWith.assoc_type.72f2ab.2 = assoc_entity element0, imports.%Core.import_ref.250 [symbolic] -// CHECK:STDOUT: %assoc1.248efd.2: %OrderedWith.assoc_type.72f2ab.2 = assoc_entity element1, imports.%Core.import_ref.af2 [symbolic] -// CHECK:STDOUT: %assoc2.cac9ed.2: %OrderedWith.assoc_type.72f2ab.2 = assoc_entity element2, imports.%Core.import_ref.ece [symbolic] -// CHECK:STDOUT: %assoc3.9908c2.2: %OrderedWith.assoc_type.72f2ab.2 = assoc_entity element3, imports.%Core.import_ref.bcf [symbolic] +// CHECK:STDOUT: %OrderedWith.type.73dab8.1: type = facet_type <@OrderedWith.1, @OrderedWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.d014af.1: %OrderedWith.type.73dab8.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %OrderedWith.assoc_type.2fabd7.1: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%Other) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.1: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Other, %Self.d014af.1) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.38d1a4.1: %OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.1 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.9defd1.1: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Other, %Self.d014af.1) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.984598.1: %OrderedWith.WithSelf.Greater.type.9defd1.1 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.1: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Other, %Self.d014af.1) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.c2ac22.1: %OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.1 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.687390.1: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Other, %Self.d014af.1) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.4a995a.1: %OrderedWith.WithSelf.Less.type.687390.1 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.type.73dab8.2: type = facet_type <@OrderedWith.1, @OrderedWith.1(%U)> [symbolic] +// CHECK:STDOUT: %pattern_type.10d: type = pattern_type %OrderedWith.type.73dab8.2 [symbolic] +// CHECK:STDOUT: %T: %OrderedWith.type.73dab8.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %OrderedWith.assoc_type.2fabd7.2: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%U) [symbolic] +// CHECK:STDOUT: %assoc0.7dbd55.2: %OrderedWith.assoc_type.2fabd7.2 = assoc_entity element0, imports.%Core.import_ref.5cd [symbolic] +// CHECK:STDOUT: %assoc1.54de85.2: %OrderedWith.assoc_type.2fabd7.2 = assoc_entity element1, imports.%Core.import_ref.fb6 [symbolic] +// CHECK:STDOUT: %assoc2.3caaa9.2: %OrderedWith.assoc_type.2fabd7.2 = assoc_entity element2, imports.%Core.import_ref.32f [symbolic] +// CHECK:STDOUT: %assoc3.4eb879.2: %OrderedWith.assoc_type.2fabd7.2 = assoc_entity element3, imports.%Core.import_ref.2d8 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] -// CHECK:STDOUT: %pattern_type.2e7263.2: type = pattern_type %T.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.05039a.2: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %pattern_type.51d1c4.2: type = pattern_type %U [symbolic] -// CHECK:STDOUT: %require_complete.028: = require_complete_type %OrderedWith.type.1ce6d7.2 [symbolic] -// CHECK:STDOUT: %assoc0.d47: %OrderedWith.assoc_type.72f2ab.1 = assoc_entity element0, imports.%Core.import_ref.516 [symbolic] +// CHECK:STDOUT: %require_complete.a45: = require_complete_type %OrderedWith.type.73dab8.2 [symbolic] +// CHECK:STDOUT: %assoc0.3ff: %OrderedWith.assoc_type.2fabd7.1 = assoc_entity element0, imports.%Core.import_ref.c33 [symbolic] // CHECK:STDOUT: %OrderedWith.lookup_impl_witness: = lookup_impl_witness %T, @OrderedWith.1, @OrderedWith.1(%U) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.0103c6.3: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%U, %T) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.3: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%U, %T) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.8e8d9f.3: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%U, %T) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.3: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%U, %T) [symbolic] -// CHECK:STDOUT: %.e72: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.0103c6.3, %T [symbolic] -// CHECK:STDOUT: %impl.elem0: %.e72 = impl_witness_access %OrderedWith.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.fd5: = specific_impl_function %impl.elem0, @OrderedWith.WithSelf.Less(%U, %T) [symbolic] -// CHECK:STDOUT: %assoc1.d74: %OrderedWith.assoc_type.72f2ab.1 = assoc_entity element1, imports.%Core.import_ref.785 [symbolic] -// CHECK:STDOUT: %.951: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.3, %T [symbolic] -// CHECK:STDOUT: %impl.elem1: %.951 = impl_witness_access %OrderedWith.lookup_impl_witness, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.315: = specific_impl_function %impl.elem1, @OrderedWith.WithSelf.LessOrEquivalent(%U, %T) [symbolic] -// CHECK:STDOUT: %assoc2.4ac: %OrderedWith.assoc_type.72f2ab.1 = assoc_entity element2, imports.%Core.import_ref.3b8 [symbolic] -// CHECK:STDOUT: %.813: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.8e8d9f.3, %T [symbolic] -// CHECK:STDOUT: %impl.elem2: %.813 = impl_witness_access %OrderedWith.lookup_impl_witness, element2 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.9d6: = specific_impl_function %impl.elem2, @OrderedWith.WithSelf.Greater(%U, %T) [symbolic] -// CHECK:STDOUT: %assoc3.89a: %OrderedWith.assoc_type.72f2ab.1 = assoc_entity element3, imports.%Core.import_ref.29c [symbolic] -// CHECK:STDOUT: %.137: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.3, %T [symbolic] -// CHECK:STDOUT: %impl.elem3: %.137 = impl_witness_access %OrderedWith.lookup_impl_witness, element3 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.261: = specific_impl_function %impl.elem3, @OrderedWith.WithSelf.GreaterOrEquivalent(%U, %T) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.687390.3: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%U, %T) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.3: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%U, %T) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.9defd1.3: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%U, %T) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.3: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%U, %T) [symbolic] +// CHECK:STDOUT: %.cb4: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.687390.3, %T [symbolic] +// CHECK:STDOUT: %impl.elem0: %.cb4 = impl_witness_access %OrderedWith.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c89: = specific_impl_function %impl.elem0, @OrderedWith.WithSelf.Less(%U, %T) [symbolic] +// CHECK:STDOUT: %assoc1.760: %OrderedWith.assoc_type.2fabd7.1 = assoc_entity element1, imports.%Core.import_ref.79a [symbolic] +// CHECK:STDOUT: %.ac4: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.3, %T [symbolic] +// CHECK:STDOUT: %impl.elem1: %.ac4 = impl_witness_access %OrderedWith.lookup_impl_witness, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.65b: = specific_impl_function %impl.elem1, @OrderedWith.WithSelf.LessOrEquivalent(%U, %T) [symbolic] +// CHECK:STDOUT: %assoc2.897: %OrderedWith.assoc_type.2fabd7.1 = assoc_entity element2, imports.%Core.import_ref.ea2 [symbolic] +// CHECK:STDOUT: %.994: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.9defd1.3, %T [symbolic] +// CHECK:STDOUT: %impl.elem2: %.994 = impl_witness_access %OrderedWith.lookup_impl_witness, element2 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.6dc: = specific_impl_function %impl.elem2, @OrderedWith.WithSelf.Greater(%U, %T) [symbolic] +// CHECK:STDOUT: %assoc3.8bc: %OrderedWith.assoc_type.2fabd7.1 = assoc_entity element3, imports.%Core.import_ref.b4f [symbolic] +// CHECK:STDOUT: %.eca: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.3, %T [symbolic] +// CHECK:STDOUT: %impl.elem3: %.eca = impl_witness_access %OrderedWith.lookup_impl_witness, element3 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.f67: = specific_impl_function %impl.elem3, @OrderedWith.WithSelf.GreaterOrEquivalent(%U, %T) [symbolic] // CHECK:STDOUT: %A1: type = class_type @A1 [concrete] // CHECK:STDOUT: %pattern_type.c8a: type = pattern_type %A1 [concrete] // CHECK:STDOUT: %B1: type = class_type @B1 [concrete] @@ -670,12 +670,12 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: %pattern_type.a20: type = pattern_type %B3 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %OrderedWith.type.e85: type = facet_type <@OrderedWith.1, @OrderedWith.1(%B1)> [concrete] -// CHECK:STDOUT: %OrderedWith.assoc_type.46d: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%B1) [concrete] -// CHECK:STDOUT: %assoc0.074: %OrderedWith.assoc_type.46d = assoc_entity element0, imports.%Core.import_ref.250 [concrete] -// CHECK:STDOUT: %assoc1.b94: %OrderedWith.assoc_type.46d = assoc_entity element1, imports.%Core.import_ref.af2 [concrete] -// CHECK:STDOUT: %assoc2.085: %OrderedWith.assoc_type.46d = assoc_entity element2, imports.%Core.import_ref.ece [concrete] -// CHECK:STDOUT: %assoc3.426: %OrderedWith.assoc_type.46d = assoc_entity element3, imports.%Core.import_ref.bcf [concrete] +// CHECK:STDOUT: %OrderedWith.type.843: type = facet_type <@OrderedWith.1, @OrderedWith.1(%B1)> [concrete] +// CHECK:STDOUT: %OrderedWith.assoc_type.d9f: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%B1) [concrete] +// CHECK:STDOUT: %assoc0.f28: %OrderedWith.assoc_type.d9f = assoc_entity element0, imports.%Core.import_ref.5cd [concrete] +// CHECK:STDOUT: %assoc1.b17: %OrderedWith.assoc_type.d9f = assoc_entity element1, imports.%Core.import_ref.fb6 [concrete] +// CHECK:STDOUT: %assoc2.9ca: %OrderedWith.assoc_type.d9f = assoc_entity element2, imports.%Core.import_ref.32f [concrete] +// CHECK:STDOUT: %assoc3.ac2: %OrderedWith.assoc_type.d9f = assoc_entity element3, imports.%Core.import_ref.2d8 [concrete] // CHECK:STDOUT: %A1.Less.type: type = fn_type @A1.Less [concrete] // CHECK:STDOUT: %A1.Less: %A1.Less.type = struct_value () [concrete] // CHECK:STDOUT: %A1.LessOrEquivalent.type: type = fn_type @A1.LessOrEquivalent [concrete] @@ -684,15 +684,15 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: %A1.Greater: %A1.Greater.type = struct_value () [concrete] // CHECK:STDOUT: %A1.GreaterOrEquivalent.type: type = fn_type @A1.GreaterOrEquivalent [concrete] // CHECK:STDOUT: %A1.GreaterOrEquivalent: %A1.GreaterOrEquivalent.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.ca6: = custom_witness (%A1.Less, %A1.LessOrEquivalent, %A1.Greater, %A1.GreaterOrEquivalent), @OrderedWith.1, @OrderedWith.1(%B1) [concrete] -// CHECK:STDOUT: %OrderedWith.facet.97c: %OrderedWith.type.e85 = facet_value %A1, (%custom_witness.ca6) [concrete] -// CHECK:STDOUT: %pattern_type.187: type = pattern_type %OrderedWith.type.e85 [concrete] -// CHECK:STDOUT: %OrderedWith.type.de5: type = facet_type <@OrderedWith.1, @OrderedWith.1(%A1)> [concrete] -// CHECK:STDOUT: %OrderedWith.assoc_type.6f1: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%A1) [concrete] -// CHECK:STDOUT: %assoc0.5e4: %OrderedWith.assoc_type.6f1 = assoc_entity element0, imports.%Core.import_ref.250 [concrete] -// CHECK:STDOUT: %assoc1.547: %OrderedWith.assoc_type.6f1 = assoc_entity element1, imports.%Core.import_ref.af2 [concrete] -// CHECK:STDOUT: %assoc2.e9f: %OrderedWith.assoc_type.6f1 = assoc_entity element2, imports.%Core.import_ref.ece [concrete] -// CHECK:STDOUT: %assoc3.c50: %OrderedWith.assoc_type.6f1 = assoc_entity element3, imports.%Core.import_ref.bcf [concrete] +// CHECK:STDOUT: %custom_witness.6de: = custom_witness (%A1.Less, %A1.LessOrEquivalent, %A1.Greater, %A1.GreaterOrEquivalent), @OrderedWith.1, @OrderedWith.1(%B1) [concrete] +// CHECK:STDOUT: %OrderedWith.facet.bb0: %OrderedWith.type.843 = facet_value %A1, (%custom_witness.6de) [concrete] +// CHECK:STDOUT: %pattern_type.52e: type = pattern_type %OrderedWith.type.843 [concrete] +// CHECK:STDOUT: %OrderedWith.type.35b: type = facet_type <@OrderedWith.1, @OrderedWith.1(%A1)> [concrete] +// CHECK:STDOUT: %OrderedWith.assoc_type.555: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%A1) [concrete] +// CHECK:STDOUT: %assoc0.15b: %OrderedWith.assoc_type.555 = assoc_entity element0, imports.%Core.import_ref.5cd [concrete] +// CHECK:STDOUT: %assoc1.ce2: %OrderedWith.assoc_type.555 = assoc_entity element1, imports.%Core.import_ref.fb6 [concrete] +// CHECK:STDOUT: %assoc2.092: %OrderedWith.assoc_type.555 = assoc_entity element2, imports.%Core.import_ref.32f [concrete] +// CHECK:STDOUT: %assoc3.fc9: %OrderedWith.assoc_type.555 = assoc_entity element3, imports.%Core.import_ref.2d8 [concrete] // CHECK:STDOUT: %B1.Less.type: type = fn_type @B1.Less [concrete] // CHECK:STDOUT: %B1.Less: %B1.Less.type = struct_value () [concrete] // CHECK:STDOUT: %B1.LessOrEquivalent.type: type = fn_type @B1.LessOrEquivalent [concrete] @@ -701,15 +701,15 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: %B1.Greater: %B1.Greater.type = struct_value () [concrete] // CHECK:STDOUT: %B1.GreaterOrEquivalent.type: type = fn_type @B1.GreaterOrEquivalent [concrete] // CHECK:STDOUT: %B1.GreaterOrEquivalent: %B1.GreaterOrEquivalent.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.998: = custom_witness (%B1.Less, %B1.LessOrEquivalent, %B1.Greater, %B1.GreaterOrEquivalent), @OrderedWith.1, @OrderedWith.1(%A1) [concrete] -// CHECK:STDOUT: %OrderedWith.facet.53d: %OrderedWith.type.de5 = facet_value %B1, (%custom_witness.998) [concrete] -// CHECK:STDOUT: %pattern_type.18c: type = pattern_type %OrderedWith.type.de5 [concrete] -// CHECK:STDOUT: %OrderedWith.type.b2b: type = facet_type <@OrderedWith.1, @OrderedWith.1(%A2)> [concrete] -// CHECK:STDOUT: %OrderedWith.assoc_type.ede: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%A2) [concrete] -// CHECK:STDOUT: %assoc0.ae2: %OrderedWith.assoc_type.ede = assoc_entity element0, imports.%Core.import_ref.250 [concrete] -// CHECK:STDOUT: %assoc1.a64: %OrderedWith.assoc_type.ede = assoc_entity element1, imports.%Core.import_ref.af2 [concrete] -// CHECK:STDOUT: %assoc2.24c: %OrderedWith.assoc_type.ede = assoc_entity element2, imports.%Core.import_ref.ece [concrete] -// CHECK:STDOUT: %assoc3.f57: %OrderedWith.assoc_type.ede = assoc_entity element3, imports.%Core.import_ref.bcf [concrete] +// CHECK:STDOUT: %custom_witness.ffd: = custom_witness (%B1.Less, %B1.LessOrEquivalent, %B1.Greater, %B1.GreaterOrEquivalent), @OrderedWith.1, @OrderedWith.1(%A1) [concrete] +// CHECK:STDOUT: %OrderedWith.facet.15d: %OrderedWith.type.35b = facet_value %B1, (%custom_witness.ffd) [concrete] +// CHECK:STDOUT: %pattern_type.604: type = pattern_type %OrderedWith.type.35b [concrete] +// CHECK:STDOUT: %OrderedWith.type.58a: type = facet_type <@OrderedWith.1, @OrderedWith.1(%A2)> [concrete] +// CHECK:STDOUT: %OrderedWith.assoc_type.2cf: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%A2) [concrete] +// CHECK:STDOUT: %assoc0.d7b: %OrderedWith.assoc_type.2cf = assoc_entity element0, imports.%Core.import_ref.5cd [concrete] +// CHECK:STDOUT: %assoc1.c2a: %OrderedWith.assoc_type.2cf = assoc_entity element1, imports.%Core.import_ref.fb6 [concrete] +// CHECK:STDOUT: %assoc2.20c: %OrderedWith.assoc_type.2cf = assoc_entity element2, imports.%Core.import_ref.32f [concrete] +// CHECK:STDOUT: %assoc3.c0a: %OrderedWith.assoc_type.2cf = assoc_entity element3, imports.%Core.import_ref.2d8 [concrete] // CHECK:STDOUT: %B2.Less.type: type = fn_type @B2.Less [concrete] // CHECK:STDOUT: %B2.Less: %B2.Less.type = struct_value () [concrete] // CHECK:STDOUT: %B2.LessOrEquivalent.type: type = fn_type @B2.LessOrEquivalent [concrete] @@ -718,15 +718,15 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: %B2.Greater: %B2.Greater.type = struct_value () [concrete] // CHECK:STDOUT: %B2.GreaterOrEquivalent.type: type = fn_type @B2.GreaterOrEquivalent [concrete] // CHECK:STDOUT: %B2.GreaterOrEquivalent: %B2.GreaterOrEquivalent.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.a76: = custom_witness (%B2.Less, %B2.LessOrEquivalent, %B2.Greater, %B2.GreaterOrEquivalent), @OrderedWith.1, @OrderedWith.1(%A2) [concrete] -// CHECK:STDOUT: %OrderedWith.facet.f05: %OrderedWith.type.b2b = facet_value %B2, (%custom_witness.a76) [concrete] -// CHECK:STDOUT: %pattern_type.c18: type = pattern_type %OrderedWith.type.b2b [concrete] -// CHECK:STDOUT: %OrderedWith.type.3b2: type = facet_type <@OrderedWith.1, @OrderedWith.1(%B3)> [concrete] -// CHECK:STDOUT: %OrderedWith.assoc_type.b1f: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%B3) [concrete] -// CHECK:STDOUT: %assoc0.635: %OrderedWith.assoc_type.b1f = assoc_entity element0, imports.%Core.import_ref.250 [concrete] -// CHECK:STDOUT: %assoc1.e4a: %OrderedWith.assoc_type.b1f = assoc_entity element1, imports.%Core.import_ref.af2 [concrete] -// CHECK:STDOUT: %assoc2.21a: %OrderedWith.assoc_type.b1f = assoc_entity element2, imports.%Core.import_ref.ece [concrete] -// CHECK:STDOUT: %assoc3.1bb: %OrderedWith.assoc_type.b1f = assoc_entity element3, imports.%Core.import_ref.bcf [concrete] +// CHECK:STDOUT: %custom_witness.248: = custom_witness (%B2.Less, %B2.LessOrEquivalent, %B2.Greater, %B2.GreaterOrEquivalent), @OrderedWith.1, @OrderedWith.1(%A2) [concrete] +// CHECK:STDOUT: %OrderedWith.facet.dfe: %OrderedWith.type.58a = facet_value %B2, (%custom_witness.248) [concrete] +// CHECK:STDOUT: %pattern_type.2c4: type = pattern_type %OrderedWith.type.58a [concrete] +// CHECK:STDOUT: %OrderedWith.type.d37: type = facet_type <@OrderedWith.1, @OrderedWith.1(%B3)> [concrete] +// CHECK:STDOUT: %OrderedWith.assoc_type.3d5: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%B3) [concrete] +// CHECK:STDOUT: %assoc0.7d9: %OrderedWith.assoc_type.3d5 = assoc_entity element0, imports.%Core.import_ref.5cd [concrete] +// CHECK:STDOUT: %assoc1.f64: %OrderedWith.assoc_type.3d5 = assoc_entity element1, imports.%Core.import_ref.fb6 [concrete] +// CHECK:STDOUT: %assoc2.060: %OrderedWith.assoc_type.3d5 = assoc_entity element2, imports.%Core.import_ref.32f [concrete] +// CHECK:STDOUT: %assoc3.3e3: %OrderedWith.assoc_type.3d5 = assoc_entity element3, imports.%Core.import_ref.2d8 [concrete] // CHECK:STDOUT: %A3.Less.type: type = fn_type @A3.Less [concrete] // CHECK:STDOUT: %A3.Less: %A3.Less.type = struct_value () [concrete] // CHECK:STDOUT: %LessOrEquivalent.type: type = fn_type @LessOrEquivalent [concrete] @@ -735,15 +735,15 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: %A3.Greater: %A3.Greater.type = struct_value () [concrete] // CHECK:STDOUT: %GreaterOrEquivalent.type: type = fn_type @GreaterOrEquivalent [concrete] // CHECK:STDOUT: %GreaterOrEquivalent: %GreaterOrEquivalent.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.223: = custom_witness (%A3.Less, %LessOrEquivalent, %A3.Greater, %GreaterOrEquivalent), @OrderedWith.1, @OrderedWith.1(%B3) [concrete] -// CHECK:STDOUT: %OrderedWith.facet.9e9: %OrderedWith.type.3b2 = facet_value %A3, (%custom_witness.223) [concrete] -// CHECK:STDOUT: %pattern_type.448: type = pattern_type %OrderedWith.type.3b2 [concrete] -// CHECK:STDOUT: %OrderedWith.type.708: type = facet_type <@OrderedWith.1, @OrderedWith.1(%A3)> [concrete] -// CHECK:STDOUT: %OrderedWith.assoc_type.2d1: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%A3) [concrete] -// CHECK:STDOUT: %assoc0.cb0: %OrderedWith.assoc_type.2d1 = assoc_entity element0, imports.%Core.import_ref.250 [concrete] -// CHECK:STDOUT: %assoc1.aa4: %OrderedWith.assoc_type.2d1 = assoc_entity element1, imports.%Core.import_ref.af2 [concrete] -// CHECK:STDOUT: %assoc2.ec4: %OrderedWith.assoc_type.2d1 = assoc_entity element2, imports.%Core.import_ref.ece [concrete] -// CHECK:STDOUT: %assoc3.781: %OrderedWith.assoc_type.2d1 = assoc_entity element3, imports.%Core.import_ref.bcf [concrete] +// CHECK:STDOUT: %custom_witness.eb5: = custom_witness (%A3.Less, %LessOrEquivalent, %A3.Greater, %GreaterOrEquivalent), @OrderedWith.1, @OrderedWith.1(%B3) [concrete] +// CHECK:STDOUT: %OrderedWith.facet.647: %OrderedWith.type.d37 = facet_value %A3, (%custom_witness.eb5) [concrete] +// CHECK:STDOUT: %pattern_type.f72: type = pattern_type %OrderedWith.type.d37 [concrete] +// CHECK:STDOUT: %OrderedWith.type.895: type = facet_type <@OrderedWith.1, @OrderedWith.1(%A3)> [concrete] +// CHECK:STDOUT: %OrderedWith.assoc_type.1bb: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%A3) [concrete] +// CHECK:STDOUT: %assoc0.19a: %OrderedWith.assoc_type.1bb = assoc_entity element0, imports.%Core.import_ref.5cd [concrete] +// CHECK:STDOUT: %assoc1.573: %OrderedWith.assoc_type.1bb = assoc_entity element1, imports.%Core.import_ref.fb6 [concrete] +// CHECK:STDOUT: %assoc2.a29: %OrderedWith.assoc_type.1bb = assoc_entity element2, imports.%Core.import_ref.32f [concrete] +// CHECK:STDOUT: %assoc3.c40: %OrderedWith.assoc_type.1bb = assoc_entity element3, imports.%Core.import_ref.2d8 [concrete] // CHECK:STDOUT: %Less.type: type = fn_type @Less [concrete] // CHECK:STDOUT: %Less: %Less.type = struct_value () [concrete] // CHECK:STDOUT: %B3.LessOrEquivalent.type: type = fn_type @B3.LessOrEquivalent [concrete] @@ -752,140 +752,140 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: %Greater: %Greater.type = struct_value () [concrete] // CHECK:STDOUT: %B3.GreaterOrEquivalent.type: type = fn_type @B3.GreaterOrEquivalent [concrete] // CHECK:STDOUT: %B3.GreaterOrEquivalent: %B3.GreaterOrEquivalent.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.0c0: = custom_witness (%Less, %B3.LessOrEquivalent, %Greater, %B3.GreaterOrEquivalent), @OrderedWith.1, @OrderedWith.1(%A3) [concrete] -// CHECK:STDOUT: %OrderedWith.facet.725: %OrderedWith.type.708 = facet_value %B3, (%custom_witness.0c0) [concrete] -// CHECK:STDOUT: %pattern_type.2c5: type = pattern_type %OrderedWith.type.708 [concrete] -// CHECK:STDOUT: %complete_type.979: = complete_type_witness %OrderedWith.type.e85 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.bd5: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%B1, %OrderedWith.facet.97c) [concrete] -// CHECK:STDOUT: %.2ff: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.bd5, %OrderedWith.facet.97c [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.651: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%B1, %OrderedWith.facet.97c) [concrete] -// CHECK:STDOUT: %.b55: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.651, %OrderedWith.facet.97c [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.d8f: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%B1, %OrderedWith.facet.97c) [concrete] -// CHECK:STDOUT: %.68a: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.d8f, %OrderedWith.facet.97c [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.d67: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%B1, %OrderedWith.facet.97c) [concrete] -// CHECK:STDOUT: %.a97: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.d67, %OrderedWith.facet.97c [concrete] -// CHECK:STDOUT: %complete_type.409: = complete_type_witness %OrderedWith.type.de5 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.6e7: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%A1, %OrderedWith.facet.53d) [concrete] -// CHECK:STDOUT: %.866: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.6e7, %OrderedWith.facet.53d [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.03c: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%A1, %OrderedWith.facet.53d) [concrete] -// CHECK:STDOUT: %.87e: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.03c, %OrderedWith.facet.53d [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.829: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%A1, %OrderedWith.facet.53d) [concrete] -// CHECK:STDOUT: %.bb6: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.829, %OrderedWith.facet.53d [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.328: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%A1, %OrderedWith.facet.53d) [concrete] -// CHECK:STDOUT: %.d08: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.328, %OrderedWith.facet.53d [concrete] -// CHECK:STDOUT: %complete_type.65d: = complete_type_witness %OrderedWith.type.b2b [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.c19: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%A2, %OrderedWith.facet.f05) [concrete] -// CHECK:STDOUT: %.4b8: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.c19, %OrderedWith.facet.f05 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.3f7: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%A2, %OrderedWith.facet.f05) [concrete] -// CHECK:STDOUT: %.12b: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.3f7, %OrderedWith.facet.f05 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.0a3: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%A2, %OrderedWith.facet.f05) [concrete] -// CHECK:STDOUT: %.3c2: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.0a3, %OrderedWith.facet.f05 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.04f: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%A2, %OrderedWith.facet.f05) [concrete] -// CHECK:STDOUT: %.ec8: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.04f, %OrderedWith.facet.f05 [concrete] -// CHECK:STDOUT: %complete_type.0be: = complete_type_witness %OrderedWith.type.3b2 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.cb6: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%B3, %OrderedWith.facet.9e9) [concrete] -// CHECK:STDOUT: %.74c: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.cb6, %OrderedWith.facet.9e9 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.96c: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%B3, %OrderedWith.facet.9e9) [concrete] -// CHECK:STDOUT: %.4c8: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.96c, %OrderedWith.facet.9e9 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.6e1: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%B3, %OrderedWith.facet.9e9) [concrete] -// CHECK:STDOUT: %.685: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.6e1, %OrderedWith.facet.9e9 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.886: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%B3, %OrderedWith.facet.9e9) [concrete] -// CHECK:STDOUT: %.d61: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.886, %OrderedWith.facet.9e9 [concrete] -// CHECK:STDOUT: %complete_type.9fb: = complete_type_witness %OrderedWith.type.708 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.c16: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%A3, %OrderedWith.facet.725) [concrete] -// CHECK:STDOUT: %.4d3: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.c16, %OrderedWith.facet.725 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.c04: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%A3, %OrderedWith.facet.725) [concrete] -// CHECK:STDOUT: %.019: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.c04, %OrderedWith.facet.725 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.112: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%A3, %OrderedWith.facet.725) [concrete] -// CHECK:STDOUT: %.d65: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.112, %OrderedWith.facet.725 [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.566: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%A3, %OrderedWith.facet.725) [concrete] -// CHECK:STDOUT: %.9d0: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.566, %OrderedWith.facet.725 [concrete] +// CHECK:STDOUT: %custom_witness.63b: = custom_witness (%Less, %B3.LessOrEquivalent, %Greater, %B3.GreaterOrEquivalent), @OrderedWith.1, @OrderedWith.1(%A3) [concrete] +// CHECK:STDOUT: %OrderedWith.facet.79f: %OrderedWith.type.895 = facet_value %B3, (%custom_witness.63b) [concrete] +// CHECK:STDOUT: %pattern_type.970: type = pattern_type %OrderedWith.type.895 [concrete] +// CHECK:STDOUT: %complete_type.c30: = complete_type_witness %OrderedWith.type.843 [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.066: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%B1, %OrderedWith.facet.bb0) [concrete] +// CHECK:STDOUT: %.dba: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.066, %OrderedWith.facet.bb0 [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.a39: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%B1, %OrderedWith.facet.bb0) [concrete] +// CHECK:STDOUT: %.0ef: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.a39, %OrderedWith.facet.bb0 [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.d68: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%B1, %OrderedWith.facet.bb0) [concrete] +// CHECK:STDOUT: %.063: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.d68, %OrderedWith.facet.bb0 [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.90d: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%B1, %OrderedWith.facet.bb0) [concrete] +// CHECK:STDOUT: %.3a8: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.90d, %OrderedWith.facet.bb0 [concrete] +// CHECK:STDOUT: %complete_type.833: = complete_type_witness %OrderedWith.type.35b [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.bac: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%A1, %OrderedWith.facet.15d) [concrete] +// CHECK:STDOUT: %.7b9: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.bac, %OrderedWith.facet.15d [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.263: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%A1, %OrderedWith.facet.15d) [concrete] +// CHECK:STDOUT: %.107: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.263, %OrderedWith.facet.15d [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.341: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%A1, %OrderedWith.facet.15d) [concrete] +// CHECK:STDOUT: %.a86: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.341, %OrderedWith.facet.15d [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.9dd: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%A1, %OrderedWith.facet.15d) [concrete] +// CHECK:STDOUT: %.e0e: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.9dd, %OrderedWith.facet.15d [concrete] +// CHECK:STDOUT: %complete_type.b32: = complete_type_witness %OrderedWith.type.58a [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.242: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%A2, %OrderedWith.facet.dfe) [concrete] +// CHECK:STDOUT: %.819: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.242, %OrderedWith.facet.dfe [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.bb1: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%A2, %OrderedWith.facet.dfe) [concrete] +// CHECK:STDOUT: %.984: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.bb1, %OrderedWith.facet.dfe [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.051: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%A2, %OrderedWith.facet.dfe) [concrete] +// CHECK:STDOUT: %.bc8: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.051, %OrderedWith.facet.dfe [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.232: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%A2, %OrderedWith.facet.dfe) [concrete] +// CHECK:STDOUT: %.9b5: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.232, %OrderedWith.facet.dfe [concrete] +// CHECK:STDOUT: %complete_type.b8b: = complete_type_witness %OrderedWith.type.d37 [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.ab2: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%B3, %OrderedWith.facet.647) [concrete] +// CHECK:STDOUT: %.06f: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.ab2, %OrderedWith.facet.647 [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.750: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%B3, %OrderedWith.facet.647) [concrete] +// CHECK:STDOUT: %.914: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.750, %OrderedWith.facet.647 [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.111: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%B3, %OrderedWith.facet.647) [concrete] +// CHECK:STDOUT: %.a18: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.111, %OrderedWith.facet.647 [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.a5d: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%B3, %OrderedWith.facet.647) [concrete] +// CHECK:STDOUT: %.92d: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.a5d, %OrderedWith.facet.647 [concrete] +// CHECK:STDOUT: %complete_type.b69: = complete_type_witness %OrderedWith.type.895 [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.e74: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%A3, %OrderedWith.facet.79f) [concrete] +// CHECK:STDOUT: %.4be: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.e74, %OrderedWith.facet.79f [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.2de: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%A3, %OrderedWith.facet.79f) [concrete] +// CHECK:STDOUT: %.79c: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.2de, %OrderedWith.facet.79f [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.6fd: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%A3, %OrderedWith.facet.79f) [concrete] +// CHECK:STDOUT: %.d57: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.6fd, %OrderedWith.facet.79f [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.88b: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%A3, %OrderedWith.facet.79f) [concrete] +// CHECK:STDOUT: %.cd5: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.88b, %OrderedWith.facet.79f [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.08c: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc0 (constants.%assoc0.d47)] -// CHECK:STDOUT: %Core.import_ref.6b7: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc1 (constants.%assoc1.d74)] -// CHECK:STDOUT: %Core.import_ref.bc5: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc2 (constants.%assoc2.4ac)] -// CHECK:STDOUT: %Core.import_ref.cfb: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc3 (constants.%assoc3.89a)] -// CHECK:STDOUT: %Core.import_ref.bcf: @OrderedWith.WithSelf.%OrderedWith.WithSelf.GreaterOrEquivalent.type (%OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.GreaterOrEquivalent (constants.%OrderedWith.WithSelf.GreaterOrEquivalent.433a82.1)] -// CHECK:STDOUT: %Core.import_ref.ece: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Greater.type (%OrderedWith.WithSelf.Greater.type.8e8d9f.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Greater (constants.%OrderedWith.WithSelf.Greater.4b40f6.1)] -// CHECK:STDOUT: %Core.import_ref.af2: @OrderedWith.WithSelf.%OrderedWith.WithSelf.LessOrEquivalent.type (%OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.LessOrEquivalent (constants.%OrderedWith.WithSelf.LessOrEquivalent.cf3f1c.1)] -// CHECK:STDOUT: %Core.import_ref.250: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less.type (%OrderedWith.WithSelf.Less.type.0103c6.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less (constants.%OrderedWith.WithSelf.Less.828cee.1)] -// CHECK:STDOUT: %Core.import_ref.516 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.785 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.3b8 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.29c = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.eb4: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc0 (constants.%assoc0.3ff)] +// CHECK:STDOUT: %Core.import_ref.84c: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc1 (constants.%assoc1.760)] +// CHECK:STDOUT: %Core.import_ref.01d: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc2 (constants.%assoc2.897)] +// CHECK:STDOUT: %Core.import_ref.569: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc3 (constants.%assoc3.8bc)] +// CHECK:STDOUT: %Core.import_ref.2d8: @OrderedWith.WithSelf.%OrderedWith.WithSelf.GreaterOrEquivalent.type (%OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.GreaterOrEquivalent (constants.%OrderedWith.WithSelf.GreaterOrEquivalent.38d1a4.1)] +// CHECK:STDOUT: %Core.import_ref.32f: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Greater.type (%OrderedWith.WithSelf.Greater.type.9defd1.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Greater (constants.%OrderedWith.WithSelf.Greater.984598.1)] +// CHECK:STDOUT: %Core.import_ref.fb6: @OrderedWith.WithSelf.%OrderedWith.WithSelf.LessOrEquivalent.type (%OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.LessOrEquivalent (constants.%OrderedWith.WithSelf.LessOrEquivalent.c2ac22.1)] +// CHECK:STDOUT: %Core.import_ref.5cd: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less.type (%OrderedWith.WithSelf.Less.type.687390.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less (constants.%OrderedWith.WithSelf.Less.4a995a.1)] +// CHECK:STDOUT: %Core.import_ref.c33 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.79a = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.ea2 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.b4f = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @OrderedWith.loc54(%U.loc54_17.2: type, %T.loc54_27.2: @OrderedWith.loc54.%OrderedWith.type.loc54_48.1 (%OrderedWith.type.1ce6d7.2)) { +// CHECK:STDOUT: generic fn @OrderedWith.loc54(%U.loc54_17.2: type, %T.loc54_27.2: @OrderedWith.loc54.%OrderedWith.type.loc54_48.1 (%OrderedWith.type.73dab8.2)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc56: = require_complete_type %OrderedWith.type.loc54_48.1 [symbolic = %require_complete.loc56 (constants.%require_complete.028)] -// CHECK:STDOUT: %OrderedWith.assoc_type: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%U.loc54_17.1) [symbolic = %OrderedWith.assoc_type (constants.%OrderedWith.assoc_type.72f2ab.2)] -// CHECK:STDOUT: %assoc0: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = assoc_entity element0, imports.%Core.import_ref.250 [symbolic = %assoc0 (constants.%assoc0.76ced5.2)] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %OrderedWith.WithSelf.Less.type (constants.%OrderedWith.WithSelf.Less.type.0103c6.3)] -// CHECK:STDOUT: %.loc56_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type, %T.loc54_27.1 [symbolic = %.loc56_5.2 (constants.%.e72)] +// CHECK:STDOUT: %require_complete.loc56: = require_complete_type %OrderedWith.type.loc54_48.1 [symbolic = %require_complete.loc56 (constants.%require_complete.a45)] +// CHECK:STDOUT: %OrderedWith.assoc_type: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%U.loc54_17.1) [symbolic = %OrderedWith.assoc_type (constants.%OrderedWith.assoc_type.2fabd7.2)] +// CHECK:STDOUT: %assoc0: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = assoc_entity element0, imports.%Core.import_ref.5cd [symbolic = %assoc0 (constants.%assoc0.7dbd55.2)] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %OrderedWith.WithSelf.Less.type (constants.%OrderedWith.WithSelf.Less.type.687390.3)] +// CHECK:STDOUT: %.loc56_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type, %T.loc54_27.1 [symbolic = %.loc56_5.2 (constants.%.cb4)] // CHECK:STDOUT: %OrderedWith.lookup_impl_witness: = lookup_impl_witness %T.loc54_27.1, @OrderedWith.1, @OrderedWith.1(%U.loc54_17.1) [symbolic = %OrderedWith.lookup_impl_witness (constants.%OrderedWith.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc56_5.2: @OrderedWith.loc54.%.loc56_5.2 (%.e72) = impl_witness_access %OrderedWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc56_5.2 (constants.%impl.elem0)] -// CHECK:STDOUT: %specific_impl_fn.loc56_5.2: = specific_impl_function %impl.elem0.loc56_5.2, @OrderedWith.WithSelf.Less(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %specific_impl_fn.loc56_5.2 (constants.%specific_impl_fn.fd5)] -// CHECK:STDOUT: %assoc1: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = assoc_entity element1, imports.%Core.import_ref.af2 [symbolic = %assoc1 (constants.%assoc1.248efd.2)] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %OrderedWith.WithSelf.LessOrEquivalent.type (constants.%OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.3)] -// CHECK:STDOUT: %.loc57_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type, %T.loc54_27.1 [symbolic = %.loc57_5.2 (constants.%.951)] -// CHECK:STDOUT: %impl.elem1.loc57_5.2: @OrderedWith.loc54.%.loc57_5.2 (%.951) = impl_witness_access %OrderedWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc57_5.2 (constants.%impl.elem1)] -// CHECK:STDOUT: %specific_impl_fn.loc57_5.2: = specific_impl_function %impl.elem1.loc57_5.2, @OrderedWith.WithSelf.LessOrEquivalent(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %specific_impl_fn.loc57_5.2 (constants.%specific_impl_fn.315)] -// CHECK:STDOUT: %assoc2: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = assoc_entity element2, imports.%Core.import_ref.ece [symbolic = %assoc2 (constants.%assoc2.cac9ed.2)] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %OrderedWith.WithSelf.Greater.type (constants.%OrderedWith.WithSelf.Greater.type.8e8d9f.3)] -// CHECK:STDOUT: %.loc58_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type, %T.loc54_27.1 [symbolic = %.loc58_5.2 (constants.%.813)] -// CHECK:STDOUT: %impl.elem2.loc58_5.2: @OrderedWith.loc54.%.loc58_5.2 (%.813) = impl_witness_access %OrderedWith.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc58_5.2 (constants.%impl.elem2)] -// CHECK:STDOUT: %specific_impl_fn.loc58_5.2: = specific_impl_function %impl.elem2.loc58_5.2, @OrderedWith.WithSelf.Greater(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %specific_impl_fn.loc58_5.2 (constants.%specific_impl_fn.9d6)] -// CHECK:STDOUT: %assoc3: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = assoc_entity element3, imports.%Core.import_ref.bcf [symbolic = %assoc3 (constants.%assoc3.9908c2.2)] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %OrderedWith.WithSelf.GreaterOrEquivalent.type (constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.3)] -// CHECK:STDOUT: %.loc59_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type, %T.loc54_27.1 [symbolic = %.loc59_5.2 (constants.%.137)] -// CHECK:STDOUT: %impl.elem3.loc59_5.2: @OrderedWith.loc54.%.loc59_5.2 (%.137) = impl_witness_access %OrderedWith.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc59_5.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %specific_impl_fn.loc59_5.2: = specific_impl_function %impl.elem3.loc59_5.2, @OrderedWith.WithSelf.GreaterOrEquivalent(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %specific_impl_fn.loc59_5.2 (constants.%specific_impl_fn.261)] +// CHECK:STDOUT: %impl.elem0.loc56_5.2: @OrderedWith.loc54.%.loc56_5.2 (%.cb4) = impl_witness_access %OrderedWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc56_5.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %specific_impl_fn.loc56_5.2: = specific_impl_function %impl.elem0.loc56_5.2, @OrderedWith.WithSelf.Less(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %specific_impl_fn.loc56_5.2 (constants.%specific_impl_fn.c89)] +// CHECK:STDOUT: %assoc1: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = assoc_entity element1, imports.%Core.import_ref.fb6 [symbolic = %assoc1 (constants.%assoc1.54de85.2)] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %OrderedWith.WithSelf.LessOrEquivalent.type (constants.%OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.3)] +// CHECK:STDOUT: %.loc57_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type, %T.loc54_27.1 [symbolic = %.loc57_5.2 (constants.%.ac4)] +// CHECK:STDOUT: %impl.elem1.loc57_5.2: @OrderedWith.loc54.%.loc57_5.2 (%.ac4) = impl_witness_access %OrderedWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc57_5.2 (constants.%impl.elem1)] +// CHECK:STDOUT: %specific_impl_fn.loc57_5.2: = specific_impl_function %impl.elem1.loc57_5.2, @OrderedWith.WithSelf.LessOrEquivalent(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %specific_impl_fn.loc57_5.2 (constants.%specific_impl_fn.65b)] +// CHECK:STDOUT: %assoc2: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = assoc_entity element2, imports.%Core.import_ref.32f [symbolic = %assoc2 (constants.%assoc2.3caaa9.2)] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %OrderedWith.WithSelf.Greater.type (constants.%OrderedWith.WithSelf.Greater.type.9defd1.3)] +// CHECK:STDOUT: %.loc58_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type, %T.loc54_27.1 [symbolic = %.loc58_5.2 (constants.%.994)] +// CHECK:STDOUT: %impl.elem2.loc58_5.2: @OrderedWith.loc54.%.loc58_5.2 (%.994) = impl_witness_access %OrderedWith.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc58_5.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %specific_impl_fn.loc58_5.2: = specific_impl_function %impl.elem2.loc58_5.2, @OrderedWith.WithSelf.Greater(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %specific_impl_fn.loc58_5.2 (constants.%specific_impl_fn.6dc)] +// CHECK:STDOUT: %assoc3: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = assoc_entity element3, imports.%Core.import_ref.2d8 [symbolic = %assoc3 (constants.%assoc3.4eb879.2)] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %OrderedWith.WithSelf.GreaterOrEquivalent.type (constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.3)] +// CHECK:STDOUT: %.loc59_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type, %T.loc54_27.1 [symbolic = %.loc59_5.2 (constants.%.eca)] +// CHECK:STDOUT: %impl.elem3.loc59_5.2: @OrderedWith.loc54.%.loc59_5.2 (%.eca) = impl_witness_access %OrderedWith.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc59_5.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %specific_impl_fn.loc59_5.2: = specific_impl_function %impl.elem3.loc59_5.2, @OrderedWith.WithSelf.GreaterOrEquivalent(%U.loc54_17.1, %T.loc54_27.1) [symbolic = %specific_impl_fn.loc59_5.2 (constants.%specific_impl_fn.f67)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%x.param: @OrderedWith.loc54.%T.as_type.loc54_54.1 (%T.as_type), %y.param: @OrderedWith.loc54.%U.loc54_17.1 (%U)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref.loc56: @OrderedWith.loc54.%T.as_type.loc54_54.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc56: @OrderedWith.loc54.%U.loc54_17.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %OrderedWith.type.loc56: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc54_48.1 (constants.%OrderedWith.type.1ce6d7.2)] -// CHECK:STDOUT: %.loc56_5.1: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = specific_constant imports.%Core.import_ref.08c, @OrderedWith.WithSelf(constants.%U, constants.%Self.5899f7.1) [symbolic = %assoc0 (constants.%assoc0.76ced5.2)] -// CHECK:STDOUT: %Less.ref: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = name_ref Less, %.loc56_5.1 [symbolic = %assoc0 (constants.%assoc0.76ced5.2)] -// CHECK:STDOUT: %impl.elem0.loc56_5.1: @OrderedWith.loc54.%.loc56_5.2 (%.e72) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc56_5.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %OrderedWith.type.loc56: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc54_48.1 (constants.%OrderedWith.type.73dab8.2)] +// CHECK:STDOUT: %.loc56_5.1: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = specific_constant imports.%Core.import_ref.eb4, @OrderedWith.WithSelf(constants.%U, constants.%Self.d014af.1) [symbolic = %assoc0 (constants.%assoc0.7dbd55.2)] +// CHECK:STDOUT: %Less.ref: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = name_ref Less, %.loc56_5.1 [symbolic = %assoc0 (constants.%assoc0.7dbd55.2)] +// CHECK:STDOUT: %impl.elem0.loc56_5.1: @OrderedWith.loc54.%.loc56_5.2 (%.cb4) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc56_5.2 (constants.%impl.elem0)] // CHECK:STDOUT: %bound_method.loc56_5.1: = bound_method %x.ref.loc56, %impl.elem0.loc56_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc56_5.1: = specific_impl_function %impl.elem0.loc56_5.1, @OrderedWith.WithSelf.Less(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc56_5.2 (constants.%specific_impl_fn.fd5)] +// CHECK:STDOUT: %specific_impl_fn.loc56_5.1: = specific_impl_function %impl.elem0.loc56_5.1, @OrderedWith.WithSelf.Less(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc56_5.2 (constants.%specific_impl_fn.c89)] // CHECK:STDOUT: %bound_method.loc56_5.2: = bound_method %x.ref.loc56, %specific_impl_fn.loc56_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.Less.call: init bool = call %bound_method.loc56_5.2(%x.ref.loc56, %y.ref.loc56) // CHECK:STDOUT: %x.ref.loc57: @OrderedWith.loc54.%T.as_type.loc54_54.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc57: @OrderedWith.loc54.%U.loc54_17.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %OrderedWith.type.loc57: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc54_48.1 (constants.%OrderedWith.type.1ce6d7.2)] -// CHECK:STDOUT: %.loc57_5.1: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = specific_constant imports.%Core.import_ref.6b7, @OrderedWith.WithSelf(constants.%U, constants.%Self.5899f7.1) [symbolic = %assoc1 (constants.%assoc1.248efd.2)] -// CHECK:STDOUT: %LessOrEquivalent.ref: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = name_ref LessOrEquivalent, %.loc57_5.1 [symbolic = %assoc1 (constants.%assoc1.248efd.2)] -// CHECK:STDOUT: %impl.elem1.loc57_5.1: @OrderedWith.loc54.%.loc57_5.2 (%.951) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc57_5.2 (constants.%impl.elem1)] +// CHECK:STDOUT: %OrderedWith.type.loc57: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc54_48.1 (constants.%OrderedWith.type.73dab8.2)] +// CHECK:STDOUT: %.loc57_5.1: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = specific_constant imports.%Core.import_ref.84c, @OrderedWith.WithSelf(constants.%U, constants.%Self.d014af.1) [symbolic = %assoc1 (constants.%assoc1.54de85.2)] +// CHECK:STDOUT: %LessOrEquivalent.ref: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = name_ref LessOrEquivalent, %.loc57_5.1 [symbolic = %assoc1 (constants.%assoc1.54de85.2)] +// CHECK:STDOUT: %impl.elem1.loc57_5.1: @OrderedWith.loc54.%.loc57_5.2 (%.ac4) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc57_5.2 (constants.%impl.elem1)] // CHECK:STDOUT: %bound_method.loc57_5.1: = bound_method %x.ref.loc57, %impl.elem1.loc57_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc57_5.1: = specific_impl_function %impl.elem1.loc57_5.1, @OrderedWith.WithSelf.LessOrEquivalent(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc57_5.2 (constants.%specific_impl_fn.315)] +// CHECK:STDOUT: %specific_impl_fn.loc57_5.1: = specific_impl_function %impl.elem1.loc57_5.1, @OrderedWith.WithSelf.LessOrEquivalent(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc57_5.2 (constants.%specific_impl_fn.65b)] // CHECK:STDOUT: %bound_method.loc57_5.2: = bound_method %x.ref.loc57, %specific_impl_fn.loc57_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.call: init bool = call %bound_method.loc57_5.2(%x.ref.loc57, %y.ref.loc57) // CHECK:STDOUT: %x.ref.loc58: @OrderedWith.loc54.%T.as_type.loc54_54.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc58: @OrderedWith.loc54.%U.loc54_17.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %OrderedWith.type.loc58: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc54_48.1 (constants.%OrderedWith.type.1ce6d7.2)] -// CHECK:STDOUT: %.loc58_5.1: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = specific_constant imports.%Core.import_ref.bc5, @OrderedWith.WithSelf(constants.%U, constants.%Self.5899f7.1) [symbolic = %assoc2 (constants.%assoc2.cac9ed.2)] -// CHECK:STDOUT: %Greater.ref: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = name_ref Greater, %.loc58_5.1 [symbolic = %assoc2 (constants.%assoc2.cac9ed.2)] -// CHECK:STDOUT: %impl.elem2.loc58_5.1: @OrderedWith.loc54.%.loc58_5.2 (%.813) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc58_5.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %OrderedWith.type.loc58: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc54_48.1 (constants.%OrderedWith.type.73dab8.2)] +// CHECK:STDOUT: %.loc58_5.1: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = specific_constant imports.%Core.import_ref.01d, @OrderedWith.WithSelf(constants.%U, constants.%Self.d014af.1) [symbolic = %assoc2 (constants.%assoc2.3caaa9.2)] +// CHECK:STDOUT: %Greater.ref: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = name_ref Greater, %.loc58_5.1 [symbolic = %assoc2 (constants.%assoc2.3caaa9.2)] +// CHECK:STDOUT: %impl.elem2.loc58_5.1: @OrderedWith.loc54.%.loc58_5.2 (%.994) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc58_5.2 (constants.%impl.elem2)] // CHECK:STDOUT: %bound_method.loc58_5.1: = bound_method %x.ref.loc58, %impl.elem2.loc58_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc58_5.1: = specific_impl_function %impl.elem2.loc58_5.1, @OrderedWith.WithSelf.Greater(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc58_5.2 (constants.%specific_impl_fn.9d6)] +// CHECK:STDOUT: %specific_impl_fn.loc58_5.1: = specific_impl_function %impl.elem2.loc58_5.1, @OrderedWith.WithSelf.Greater(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc58_5.2 (constants.%specific_impl_fn.6dc)] // CHECK:STDOUT: %bound_method.loc58_5.2: = bound_method %x.ref.loc58, %specific_impl_fn.loc58_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.Greater.call: init bool = call %bound_method.loc58_5.2(%x.ref.loc58, %y.ref.loc58) // CHECK:STDOUT: %x.ref.loc59: @OrderedWith.loc54.%T.as_type.loc54_54.1 (%T.as_type) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc59: @OrderedWith.loc54.%U.loc54_17.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %OrderedWith.type.loc59: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc54_48.1 (constants.%OrderedWith.type.1ce6d7.2)] -// CHECK:STDOUT: %.loc59_5.1: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = specific_constant imports.%Core.import_ref.cfb, @OrderedWith.WithSelf(constants.%U, constants.%Self.5899f7.1) [symbolic = %assoc3 (constants.%assoc3.9908c2.2)] -// CHECK:STDOUT: %GreaterOrEquivalent.ref: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = name_ref GreaterOrEquivalent, %.loc59_5.1 [symbolic = %assoc3 (constants.%assoc3.9908c2.2)] -// CHECK:STDOUT: %impl.elem3.loc59_5.1: @OrderedWith.loc54.%.loc59_5.2 (%.137) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc59_5.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %OrderedWith.type.loc59: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc54_48.1 (constants.%OrderedWith.type.73dab8.2)] +// CHECK:STDOUT: %.loc59_5.1: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = specific_constant imports.%Core.import_ref.569, @OrderedWith.WithSelf(constants.%U, constants.%Self.d014af.1) [symbolic = %assoc3 (constants.%assoc3.4eb879.2)] +// CHECK:STDOUT: %GreaterOrEquivalent.ref: @OrderedWith.loc54.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = name_ref GreaterOrEquivalent, %.loc59_5.1 [symbolic = %assoc3 (constants.%assoc3.4eb879.2)] +// CHECK:STDOUT: %impl.elem3.loc59_5.1: @OrderedWith.loc54.%.loc59_5.2 (%.eca) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc59_5.2 (constants.%impl.elem3)] // CHECK:STDOUT: %bound_method.loc59_5.1: = bound_method %x.ref.loc59, %impl.elem3.loc59_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc59_5.1: = specific_impl_function %impl.elem3.loc59_5.1, @OrderedWith.WithSelf.GreaterOrEquivalent(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc59_5.2 (constants.%specific_impl_fn.261)] +// CHECK:STDOUT: %specific_impl_fn.loc59_5.1: = specific_impl_function %impl.elem3.loc59_5.1, @OrderedWith.WithSelf.GreaterOrEquivalent(constants.%U, constants.%T) [symbolic = %specific_impl_fn.loc59_5.2 (constants.%specific_impl_fn.f67)] // CHECK:STDOUT: %bound_method.loc59_5.2: = bound_method %x.ref.loc59, %specific_impl_fn.loc59_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.call: init bool = call %bound_method.loc59_5.2(%x.ref.loc59, %y.ref.loc59) // CHECK:STDOUT: @@ -894,19 +894,19 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: // CHECK:STDOUT: specific @OrderedWith.loc54(constants.%U, constants.%T) { // CHECK:STDOUT: %U.loc54_17.1 => constants.%U -// CHECK:STDOUT: %OrderedWith.type.loc54_48.1 => constants.%OrderedWith.type.1ce6d7.2 +// CHECK:STDOUT: %OrderedWith.type.loc54_48.1 => constants.%OrderedWith.type.73dab8.2 // CHECK:STDOUT: %T.loc54_27.1 => constants.%T -// CHECK:STDOUT: %pattern_type.loc54_27 => constants.%pattern_type.9c4 +// CHECK:STDOUT: %pattern_type.loc54_27 => constants.%pattern_type.10d // CHECK:STDOUT: %T.as_type.loc54_54.1 => constants.%T.as_type -// CHECK:STDOUT: %pattern_type.loc54_52 => constants.%pattern_type.2e7263.2 +// CHECK:STDOUT: %pattern_type.loc54_52 => constants.%pattern_type.05039a.2 // CHECK:STDOUT: %pattern_type.loc54_58 => constants.%pattern_type.51d1c4.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @OrderedWith.loc54(constants.%B1, constants.%OrderedWith.facet.97c) { +// CHECK:STDOUT: specific @OrderedWith.loc54(constants.%B1, constants.%OrderedWith.facet.bb0) { // CHECK:STDOUT: %U.loc54_17.1 => constants.%B1 -// CHECK:STDOUT: %OrderedWith.type.loc54_48.1 => constants.%OrderedWith.type.e85 -// CHECK:STDOUT: %T.loc54_27.1 => constants.%OrderedWith.facet.97c -// CHECK:STDOUT: %pattern_type.loc54_27 => constants.%pattern_type.187 +// CHECK:STDOUT: %OrderedWith.type.loc54_48.1 => constants.%OrderedWith.type.843 +// CHECK:STDOUT: %T.loc54_27.1 => constants.%OrderedWith.facet.bb0 +// CHECK:STDOUT: %pattern_type.loc54_27 => constants.%pattern_type.52e // CHECK:STDOUT: %T.as_type.loc54_54.1 => constants.%A1 // CHECK:STDOUT: %pattern_type.loc54_52 => constants.%pattern_type.c8a // CHECK:STDOUT: %pattern_type.loc54_58 => constants.%pattern_type.e62 @@ -914,36 +914,36 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc54_52 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc54_58 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc56 => constants.%complete_type.979 -// CHECK:STDOUT: %OrderedWith.assoc_type => constants.%OrderedWith.assoc_type.46d -// CHECK:STDOUT: %assoc0 => constants.%assoc0.074 -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type => constants.%OrderedWith.WithSelf.Less.type.bd5 -// CHECK:STDOUT: %.loc56_5.2 => constants.%.2ff -// CHECK:STDOUT: %OrderedWith.lookup_impl_witness => constants.%custom_witness.ca6 +// CHECK:STDOUT: %require_complete.loc56 => constants.%complete_type.c30 +// CHECK:STDOUT: %OrderedWith.assoc_type => constants.%OrderedWith.assoc_type.d9f +// CHECK:STDOUT: %assoc0 => constants.%assoc0.f28 +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type => constants.%OrderedWith.WithSelf.Less.type.066 +// CHECK:STDOUT: %.loc56_5.2 => constants.%.dba +// CHECK:STDOUT: %OrderedWith.lookup_impl_witness => constants.%custom_witness.6de // CHECK:STDOUT: %impl.elem0.loc56_5.2 => constants.%A1.Less // CHECK:STDOUT: %specific_impl_fn.loc56_5.2 => constants.%A1.Less -// CHECK:STDOUT: %assoc1 => constants.%assoc1.b94 -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type => constants.%OrderedWith.WithSelf.LessOrEquivalent.type.651 -// CHECK:STDOUT: %.loc57_5.2 => constants.%.b55 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.b17 +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type => constants.%OrderedWith.WithSelf.LessOrEquivalent.type.a39 +// CHECK:STDOUT: %.loc57_5.2 => constants.%.0ef // CHECK:STDOUT: %impl.elem1.loc57_5.2 => constants.%A1.LessOrEquivalent // CHECK:STDOUT: %specific_impl_fn.loc57_5.2 => constants.%A1.LessOrEquivalent -// CHECK:STDOUT: %assoc2 => constants.%assoc2.085 -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type => constants.%OrderedWith.WithSelf.Greater.type.d8f -// CHECK:STDOUT: %.loc58_5.2 => constants.%.68a +// CHECK:STDOUT: %assoc2 => constants.%assoc2.9ca +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type => constants.%OrderedWith.WithSelf.Greater.type.d68 +// CHECK:STDOUT: %.loc58_5.2 => constants.%.063 // CHECK:STDOUT: %impl.elem2.loc58_5.2 => constants.%A1.Greater // CHECK:STDOUT: %specific_impl_fn.loc58_5.2 => constants.%A1.Greater -// CHECK:STDOUT: %assoc3 => constants.%assoc3.426 -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type => constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.d67 -// CHECK:STDOUT: %.loc59_5.2 => constants.%.a97 +// CHECK:STDOUT: %assoc3 => constants.%assoc3.ac2 +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type => constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.90d +// CHECK:STDOUT: %.loc59_5.2 => constants.%.3a8 // CHECK:STDOUT: %impl.elem3.loc59_5.2 => constants.%A1.GreaterOrEquivalent // CHECK:STDOUT: %specific_impl_fn.loc59_5.2 => constants.%A1.GreaterOrEquivalent // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @OrderedWith.loc54(constants.%A1, constants.%OrderedWith.facet.53d) { +// CHECK:STDOUT: specific @OrderedWith.loc54(constants.%A1, constants.%OrderedWith.facet.15d) { // CHECK:STDOUT: %U.loc54_17.1 => constants.%A1 -// CHECK:STDOUT: %OrderedWith.type.loc54_48.1 => constants.%OrderedWith.type.de5 -// CHECK:STDOUT: %T.loc54_27.1 => constants.%OrderedWith.facet.53d -// CHECK:STDOUT: %pattern_type.loc54_27 => constants.%pattern_type.18c +// CHECK:STDOUT: %OrderedWith.type.loc54_48.1 => constants.%OrderedWith.type.35b +// CHECK:STDOUT: %T.loc54_27.1 => constants.%OrderedWith.facet.15d +// CHECK:STDOUT: %pattern_type.loc54_27 => constants.%pattern_type.604 // CHECK:STDOUT: %T.as_type.loc54_54.1 => constants.%B1 // CHECK:STDOUT: %pattern_type.loc54_52 => constants.%pattern_type.e62 // CHECK:STDOUT: %pattern_type.loc54_58 => constants.%pattern_type.c8a @@ -951,36 +951,36 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc54_52 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc54_58 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc56 => constants.%complete_type.409 -// CHECK:STDOUT: %OrderedWith.assoc_type => constants.%OrderedWith.assoc_type.6f1 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.5e4 -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type => constants.%OrderedWith.WithSelf.Less.type.6e7 -// CHECK:STDOUT: %.loc56_5.2 => constants.%.866 -// CHECK:STDOUT: %OrderedWith.lookup_impl_witness => constants.%custom_witness.998 +// CHECK:STDOUT: %require_complete.loc56 => constants.%complete_type.833 +// CHECK:STDOUT: %OrderedWith.assoc_type => constants.%OrderedWith.assoc_type.555 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.15b +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type => constants.%OrderedWith.WithSelf.Less.type.bac +// CHECK:STDOUT: %.loc56_5.2 => constants.%.7b9 +// CHECK:STDOUT: %OrderedWith.lookup_impl_witness => constants.%custom_witness.ffd // CHECK:STDOUT: %impl.elem0.loc56_5.2 => constants.%B1.Less // CHECK:STDOUT: %specific_impl_fn.loc56_5.2 => constants.%B1.Less -// CHECK:STDOUT: %assoc1 => constants.%assoc1.547 -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type => constants.%OrderedWith.WithSelf.LessOrEquivalent.type.03c -// CHECK:STDOUT: %.loc57_5.2 => constants.%.87e +// CHECK:STDOUT: %assoc1 => constants.%assoc1.ce2 +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type => constants.%OrderedWith.WithSelf.LessOrEquivalent.type.263 +// CHECK:STDOUT: %.loc57_5.2 => constants.%.107 // CHECK:STDOUT: %impl.elem1.loc57_5.2 => constants.%B1.LessOrEquivalent // CHECK:STDOUT: %specific_impl_fn.loc57_5.2 => constants.%B1.LessOrEquivalent -// CHECK:STDOUT: %assoc2 => constants.%assoc2.e9f -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type => constants.%OrderedWith.WithSelf.Greater.type.829 -// CHECK:STDOUT: %.loc58_5.2 => constants.%.bb6 +// CHECK:STDOUT: %assoc2 => constants.%assoc2.092 +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type => constants.%OrderedWith.WithSelf.Greater.type.341 +// CHECK:STDOUT: %.loc58_5.2 => constants.%.a86 // CHECK:STDOUT: %impl.elem2.loc58_5.2 => constants.%B1.Greater // CHECK:STDOUT: %specific_impl_fn.loc58_5.2 => constants.%B1.Greater -// CHECK:STDOUT: %assoc3 => constants.%assoc3.c50 -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type => constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.328 -// CHECK:STDOUT: %.loc59_5.2 => constants.%.d08 +// CHECK:STDOUT: %assoc3 => constants.%assoc3.fc9 +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type => constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.9dd +// CHECK:STDOUT: %.loc59_5.2 => constants.%.e0e // CHECK:STDOUT: %impl.elem3.loc59_5.2 => constants.%B1.GreaterOrEquivalent // CHECK:STDOUT: %specific_impl_fn.loc59_5.2 => constants.%B1.GreaterOrEquivalent // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @OrderedWith.loc54(constants.%A2, constants.%OrderedWith.facet.f05) { +// CHECK:STDOUT: specific @OrderedWith.loc54(constants.%A2, constants.%OrderedWith.facet.dfe) { // CHECK:STDOUT: %U.loc54_17.1 => constants.%A2 -// CHECK:STDOUT: %OrderedWith.type.loc54_48.1 => constants.%OrderedWith.type.b2b -// CHECK:STDOUT: %T.loc54_27.1 => constants.%OrderedWith.facet.f05 -// CHECK:STDOUT: %pattern_type.loc54_27 => constants.%pattern_type.c18 +// CHECK:STDOUT: %OrderedWith.type.loc54_48.1 => constants.%OrderedWith.type.58a +// CHECK:STDOUT: %T.loc54_27.1 => constants.%OrderedWith.facet.dfe +// CHECK:STDOUT: %pattern_type.loc54_27 => constants.%pattern_type.2c4 // CHECK:STDOUT: %T.as_type.loc54_54.1 => constants.%B2 // CHECK:STDOUT: %pattern_type.loc54_52 => constants.%pattern_type.fab // CHECK:STDOUT: %pattern_type.loc54_58 => constants.%pattern_type.1e3 @@ -988,36 +988,36 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc54_52 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc54_58 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc56 => constants.%complete_type.65d -// CHECK:STDOUT: %OrderedWith.assoc_type => constants.%OrderedWith.assoc_type.ede -// CHECK:STDOUT: %assoc0 => constants.%assoc0.ae2 -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type => constants.%OrderedWith.WithSelf.Less.type.c19 -// CHECK:STDOUT: %.loc56_5.2 => constants.%.4b8 -// CHECK:STDOUT: %OrderedWith.lookup_impl_witness => constants.%custom_witness.a76 +// CHECK:STDOUT: %require_complete.loc56 => constants.%complete_type.b32 +// CHECK:STDOUT: %OrderedWith.assoc_type => constants.%OrderedWith.assoc_type.2cf +// CHECK:STDOUT: %assoc0 => constants.%assoc0.d7b +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type => constants.%OrderedWith.WithSelf.Less.type.242 +// CHECK:STDOUT: %.loc56_5.2 => constants.%.819 +// CHECK:STDOUT: %OrderedWith.lookup_impl_witness => constants.%custom_witness.248 // CHECK:STDOUT: %impl.elem0.loc56_5.2 => constants.%B2.Less // CHECK:STDOUT: %specific_impl_fn.loc56_5.2 => constants.%B2.Less -// CHECK:STDOUT: %assoc1 => constants.%assoc1.a64 -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type => constants.%OrderedWith.WithSelf.LessOrEquivalent.type.3f7 -// CHECK:STDOUT: %.loc57_5.2 => constants.%.12b +// CHECK:STDOUT: %assoc1 => constants.%assoc1.c2a +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type => constants.%OrderedWith.WithSelf.LessOrEquivalent.type.bb1 +// CHECK:STDOUT: %.loc57_5.2 => constants.%.984 // CHECK:STDOUT: %impl.elem1.loc57_5.2 => constants.%B2.LessOrEquivalent // CHECK:STDOUT: %specific_impl_fn.loc57_5.2 => constants.%B2.LessOrEquivalent -// CHECK:STDOUT: %assoc2 => constants.%assoc2.24c -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type => constants.%OrderedWith.WithSelf.Greater.type.0a3 -// CHECK:STDOUT: %.loc58_5.2 => constants.%.3c2 +// CHECK:STDOUT: %assoc2 => constants.%assoc2.20c +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type => constants.%OrderedWith.WithSelf.Greater.type.051 +// CHECK:STDOUT: %.loc58_5.2 => constants.%.bc8 // CHECK:STDOUT: %impl.elem2.loc58_5.2 => constants.%B2.Greater // CHECK:STDOUT: %specific_impl_fn.loc58_5.2 => constants.%B2.Greater -// CHECK:STDOUT: %assoc3 => constants.%assoc3.f57 -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type => constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.04f -// CHECK:STDOUT: %.loc59_5.2 => constants.%.ec8 +// CHECK:STDOUT: %assoc3 => constants.%assoc3.c0a +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type => constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.232 +// CHECK:STDOUT: %.loc59_5.2 => constants.%.9b5 // CHECK:STDOUT: %impl.elem3.loc59_5.2 => constants.%B2.GreaterOrEquivalent // CHECK:STDOUT: %specific_impl_fn.loc59_5.2 => constants.%B2.GreaterOrEquivalent // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @OrderedWith.loc54(constants.%B3, constants.%OrderedWith.facet.9e9) { +// CHECK:STDOUT: specific @OrderedWith.loc54(constants.%B3, constants.%OrderedWith.facet.647) { // CHECK:STDOUT: %U.loc54_17.1 => constants.%B3 -// CHECK:STDOUT: %OrderedWith.type.loc54_48.1 => constants.%OrderedWith.type.3b2 -// CHECK:STDOUT: %T.loc54_27.1 => constants.%OrderedWith.facet.9e9 -// CHECK:STDOUT: %pattern_type.loc54_27 => constants.%pattern_type.448 +// CHECK:STDOUT: %OrderedWith.type.loc54_48.1 => constants.%OrderedWith.type.d37 +// CHECK:STDOUT: %T.loc54_27.1 => constants.%OrderedWith.facet.647 +// CHECK:STDOUT: %pattern_type.loc54_27 => constants.%pattern_type.f72 // CHECK:STDOUT: %T.as_type.loc54_54.1 => constants.%A3 // CHECK:STDOUT: %pattern_type.loc54_52 => constants.%pattern_type.ada // CHECK:STDOUT: %pattern_type.loc54_58 => constants.%pattern_type.a20 @@ -1025,36 +1025,36 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc54_52 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc54_58 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc56 => constants.%complete_type.0be -// CHECK:STDOUT: %OrderedWith.assoc_type => constants.%OrderedWith.assoc_type.b1f -// CHECK:STDOUT: %assoc0 => constants.%assoc0.635 -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type => constants.%OrderedWith.WithSelf.Less.type.cb6 -// CHECK:STDOUT: %.loc56_5.2 => constants.%.74c -// CHECK:STDOUT: %OrderedWith.lookup_impl_witness => constants.%custom_witness.223 +// CHECK:STDOUT: %require_complete.loc56 => constants.%complete_type.b8b +// CHECK:STDOUT: %OrderedWith.assoc_type => constants.%OrderedWith.assoc_type.3d5 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.7d9 +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type => constants.%OrderedWith.WithSelf.Less.type.ab2 +// CHECK:STDOUT: %.loc56_5.2 => constants.%.06f +// CHECK:STDOUT: %OrderedWith.lookup_impl_witness => constants.%custom_witness.eb5 // CHECK:STDOUT: %impl.elem0.loc56_5.2 => constants.%A3.Less // CHECK:STDOUT: %specific_impl_fn.loc56_5.2 => constants.%A3.Less -// CHECK:STDOUT: %assoc1 => constants.%assoc1.e4a -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type => constants.%OrderedWith.WithSelf.LessOrEquivalent.type.96c -// CHECK:STDOUT: %.loc57_5.2 => constants.%.4c8 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.f64 +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type => constants.%OrderedWith.WithSelf.LessOrEquivalent.type.750 +// CHECK:STDOUT: %.loc57_5.2 => constants.%.914 // CHECK:STDOUT: %impl.elem1.loc57_5.2 => constants.%LessOrEquivalent // CHECK:STDOUT: %specific_impl_fn.loc57_5.2 => constants.%LessOrEquivalent -// CHECK:STDOUT: %assoc2 => constants.%assoc2.21a -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type => constants.%OrderedWith.WithSelf.Greater.type.6e1 -// CHECK:STDOUT: %.loc58_5.2 => constants.%.685 +// CHECK:STDOUT: %assoc2 => constants.%assoc2.060 +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type => constants.%OrderedWith.WithSelf.Greater.type.111 +// CHECK:STDOUT: %.loc58_5.2 => constants.%.a18 // CHECK:STDOUT: %impl.elem2.loc58_5.2 => constants.%A3.Greater // CHECK:STDOUT: %specific_impl_fn.loc58_5.2 => constants.%A3.Greater -// CHECK:STDOUT: %assoc3 => constants.%assoc3.1bb -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type => constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.886 -// CHECK:STDOUT: %.loc59_5.2 => constants.%.d61 +// CHECK:STDOUT: %assoc3 => constants.%assoc3.3e3 +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type => constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.a5d +// CHECK:STDOUT: %.loc59_5.2 => constants.%.92d // CHECK:STDOUT: %impl.elem3.loc59_5.2 => constants.%GreaterOrEquivalent // CHECK:STDOUT: %specific_impl_fn.loc59_5.2 => constants.%GreaterOrEquivalent // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @OrderedWith.loc54(constants.%A3, constants.%OrderedWith.facet.725) { +// CHECK:STDOUT: specific @OrderedWith.loc54(constants.%A3, constants.%OrderedWith.facet.79f) { // CHECK:STDOUT: %U.loc54_17.1 => constants.%A3 -// CHECK:STDOUT: %OrderedWith.type.loc54_48.1 => constants.%OrderedWith.type.708 -// CHECK:STDOUT: %T.loc54_27.1 => constants.%OrderedWith.facet.725 -// CHECK:STDOUT: %pattern_type.loc54_27 => constants.%pattern_type.2c5 +// CHECK:STDOUT: %OrderedWith.type.loc54_48.1 => constants.%OrderedWith.type.895 +// CHECK:STDOUT: %T.loc54_27.1 => constants.%OrderedWith.facet.79f +// CHECK:STDOUT: %pattern_type.loc54_27 => constants.%pattern_type.970 // CHECK:STDOUT: %T.as_type.loc54_54.1 => constants.%B3 // CHECK:STDOUT: %pattern_type.loc54_52 => constants.%pattern_type.a20 // CHECK:STDOUT: %pattern_type.loc54_58 => constants.%pattern_type.ada @@ -1062,27 +1062,27 @@ fn Test(missing_less: Cpp.MissingLess, // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc54_52 => constants.%complete_type.357 // CHECK:STDOUT: %require_complete.loc54_58 => constants.%complete_type.357 -// CHECK:STDOUT: %require_complete.loc56 => constants.%complete_type.9fb -// CHECK:STDOUT: %OrderedWith.assoc_type => constants.%OrderedWith.assoc_type.2d1 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.cb0 -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type => constants.%OrderedWith.WithSelf.Less.type.c16 -// CHECK:STDOUT: %.loc56_5.2 => constants.%.4d3 -// CHECK:STDOUT: %OrderedWith.lookup_impl_witness => constants.%custom_witness.0c0 +// CHECK:STDOUT: %require_complete.loc56 => constants.%complete_type.b69 +// CHECK:STDOUT: %OrderedWith.assoc_type => constants.%OrderedWith.assoc_type.1bb +// CHECK:STDOUT: %assoc0 => constants.%assoc0.19a +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type => constants.%OrderedWith.WithSelf.Less.type.e74 +// CHECK:STDOUT: %.loc56_5.2 => constants.%.4be +// CHECK:STDOUT: %OrderedWith.lookup_impl_witness => constants.%custom_witness.63b // CHECK:STDOUT: %impl.elem0.loc56_5.2 => constants.%Less // CHECK:STDOUT: %specific_impl_fn.loc56_5.2 => constants.%Less -// CHECK:STDOUT: %assoc1 => constants.%assoc1.aa4 -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type => constants.%OrderedWith.WithSelf.LessOrEquivalent.type.c04 -// CHECK:STDOUT: %.loc57_5.2 => constants.%.019 +// CHECK:STDOUT: %assoc1 => constants.%assoc1.573 +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type => constants.%OrderedWith.WithSelf.LessOrEquivalent.type.2de +// CHECK:STDOUT: %.loc57_5.2 => constants.%.79c // CHECK:STDOUT: %impl.elem1.loc57_5.2 => constants.%B3.LessOrEquivalent // CHECK:STDOUT: %specific_impl_fn.loc57_5.2 => constants.%B3.LessOrEquivalent -// CHECK:STDOUT: %assoc2 => constants.%assoc2.ec4 -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type => constants.%OrderedWith.WithSelf.Greater.type.112 -// CHECK:STDOUT: %.loc58_5.2 => constants.%.d65 +// CHECK:STDOUT: %assoc2 => constants.%assoc2.a29 +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type => constants.%OrderedWith.WithSelf.Greater.type.6fd +// CHECK:STDOUT: %.loc58_5.2 => constants.%.d57 // CHECK:STDOUT: %impl.elem2.loc58_5.2 => constants.%Greater // CHECK:STDOUT: %specific_impl_fn.loc58_5.2 => constants.%Greater -// CHECK:STDOUT: %assoc3 => constants.%assoc3.781 -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type => constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.566 -// CHECK:STDOUT: %.loc59_5.2 => constants.%.9d0 +// CHECK:STDOUT: %assoc3 => constants.%assoc3.c40 +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type => constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.88b +// CHECK:STDOUT: %.loc59_5.2 => constants.%.cd5 // CHECK:STDOUT: %impl.elem3.loc59_5.2 => constants.%B3.GreaterOrEquivalent // CHECK:STDOUT: %specific_impl_fn.loc59_5.2 => constants.%B3.GreaterOrEquivalent // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/operators/spaceship.carbon b/toolchain/check/testdata/interop/cpp/operators/spaceship.carbon index fc7c7e09440f..5c3270bac00e 100644 --- a/toolchain/check/testdata/interop/cpp/operators/spaceship.carbon +++ b/toolchain/check/testdata/interop/cpp/operators/spaceship.carbon @@ -231,77 +231,77 @@ fn Test(returns_strong_ordering: Cpp.ReturnsStrongOrdering) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %U: type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %Other: type = symbolic_binding Other, 0 [symbolic] -// CHECK:STDOUT: %EqWith.type.1790d7.1: type = facet_type <@EqWith.1, @EqWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.7839ed.1: %EqWith.type.1790d7.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %EqWith.assoc_type.efa4d1.1: type = assoc_entity_type @EqWith.1, @EqWith.1(%Other) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.d0da48.1: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Other, %Self.7839ed.1) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.f72b2f.1: %EqWith.WithSelf.NotEqual.type.d0da48.1 = struct_value () [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.c6aebf.1: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Other, %Self.7839ed.1) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.b440b7.1: %EqWith.WithSelf.Equal.type.c6aebf.1 = struct_value () [symbolic] -// CHECK:STDOUT: %EqWith.type.1790d7.2: type = facet_type <@EqWith.1, @EqWith.1(%U)> [symbolic] -// CHECK:STDOUT: %pattern_type.7dc: type = pattern_type %EqWith.type.1790d7.2 [symbolic] -// CHECK:STDOUT: %T.783: %EqWith.type.1790d7.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %EqWith.assoc_type.efa4d1.2: type = assoc_entity_type @EqWith.1, @EqWith.1(%U) [symbolic] -// CHECK:STDOUT: %assoc0.5e77ba.2: %EqWith.assoc_type.efa4d1.2 = assoc_entity element0, imports.%Core.import_ref.5f3 [symbolic] -// CHECK:STDOUT: %assoc1.7b7afb.2: %EqWith.assoc_type.efa4d1.2 = assoc_entity element1, imports.%Core.import_ref.515 [symbolic] -// CHECK:STDOUT: %T.as_type.c92: type = facet_access_type %T.783 [symbolic] -// CHECK:STDOUT: %pattern_type.96b8c1.2: type = pattern_type %T.as_type.c92 [symbolic] +// CHECK:STDOUT: %EqWith.type.e412df.1: type = facet_type <@EqWith.1, @EqWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.1e4d80.1: %EqWith.type.e412df.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %EqWith.assoc_type.27e9f5.1: type = assoc_entity_type @EqWith.1, @EqWith.1(%Other) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.a34bef.1: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Other, %Self.1e4d80.1) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.34d150.1: %EqWith.WithSelf.NotEqual.type.a34bef.1 = struct_value () [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.28b02d.1: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Other, %Self.1e4d80.1) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.6ee1cd.1: %EqWith.WithSelf.Equal.type.28b02d.1 = struct_value () [symbolic] +// CHECK:STDOUT: %EqWith.type.e412df.2: type = facet_type <@EqWith.1, @EqWith.1(%U)> [symbolic] +// CHECK:STDOUT: %pattern_type.243: type = pattern_type %EqWith.type.e412df.2 [symbolic] +// CHECK:STDOUT: %T.1e4: %EqWith.type.e412df.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %EqWith.assoc_type.27e9f5.2: type = assoc_entity_type @EqWith.1, @EqWith.1(%U) [symbolic] +// CHECK:STDOUT: %assoc0.04df8c.2: %EqWith.assoc_type.27e9f5.2 = assoc_entity element0, imports.%Core.import_ref.eea [symbolic] +// CHECK:STDOUT: %assoc1.47b841.2: %EqWith.assoc_type.27e9f5.2 = assoc_entity element1, imports.%Core.import_ref.228 [symbolic] +// CHECK:STDOUT: %T.as_type.cf2: type = facet_access_type %T.1e4 [symbolic] +// CHECK:STDOUT: %pattern_type.479039.2: type = pattern_type %T.as_type.cf2 [symbolic] // CHECK:STDOUT: %pattern_type.51d1c4.2: type = pattern_type %U [symbolic] -// CHECK:STDOUT: %require_complete.d87: = require_complete_type %EqWith.type.1790d7.2 [symbolic] -// CHECK:STDOUT: %assoc0.b78: %EqWith.assoc_type.efa4d1.1 = assoc_entity element0, imports.%Core.import_ref.c6b [symbolic] -// CHECK:STDOUT: %EqWith.lookup_impl_witness: = lookup_impl_witness %T.783, @EqWith.1, @EqWith.1(%U) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.c6aebf.3: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%U, %T.783) [symbolic] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.d0da48.3: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%U, %T.783) [symbolic] -// CHECK:STDOUT: %.10a: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.c6aebf.3, %T.783 [symbolic] -// CHECK:STDOUT: %impl.elem0.734: %.10a = impl_witness_access %EqWith.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.b75: = specific_impl_function %impl.elem0.734, @EqWith.WithSelf.Equal(%U, %T.783) [symbolic] -// CHECK:STDOUT: %assoc1.579: %EqWith.assoc_type.efa4d1.1 = assoc_entity element1, imports.%Core.import_ref.4af [symbolic] -// CHECK:STDOUT: %.2bb: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.d0da48.3, %T.783 [symbolic] -// CHECK:STDOUT: %impl.elem1.f69: %.2bb = impl_witness_access %EqWith.lookup_impl_witness, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.bc2: = specific_impl_function %impl.elem1.f69, @EqWith.WithSelf.NotEqual(%U, %T.783) [symbolic] -// CHECK:STDOUT: %OrderedWith.type.1ce6d7.1: type = facet_type <@OrderedWith.1, @OrderedWith.1(%Other)> [symbolic] -// CHECK:STDOUT: %Self.5899f7.1: %OrderedWith.type.1ce6d7.1 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %OrderedWith.assoc_type.72f2ab.1: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%Other) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.1: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Other, %Self.5899f7.1) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.433a82.1: %OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.1 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.8e8d9f.1: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Other, %Self.5899f7.1) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.4b40f6.1: %OrderedWith.WithSelf.Greater.type.8e8d9f.1 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.1: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Other, %Self.5899f7.1) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.cf3f1c.1: %OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.1 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.0103c6.1: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Other, %Self.5899f7.1) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.828cee.1: %OrderedWith.WithSelf.Less.type.0103c6.1 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.type.1ce6d7.2: type = facet_type <@OrderedWith.1, @OrderedWith.1(%U)> [symbolic] -// CHECK:STDOUT: %pattern_type.9c4: type = pattern_type %OrderedWith.type.1ce6d7.2 [symbolic] -// CHECK:STDOUT: %T.589: %OrderedWith.type.1ce6d7.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %OrderedWith.assoc_type.72f2ab.2: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%U) [symbolic] -// CHECK:STDOUT: %assoc0.76ced5.2: %OrderedWith.assoc_type.72f2ab.2 = assoc_entity element0, imports.%Core.import_ref.250 [symbolic] -// CHECK:STDOUT: %assoc1.248efd.2: %OrderedWith.assoc_type.72f2ab.2 = assoc_entity element1, imports.%Core.import_ref.af2 [symbolic] -// CHECK:STDOUT: %assoc2.cac9ed.2: %OrderedWith.assoc_type.72f2ab.2 = assoc_entity element2, imports.%Core.import_ref.ece [symbolic] -// CHECK:STDOUT: %assoc3.9908c2.2: %OrderedWith.assoc_type.72f2ab.2 = assoc_entity element3, imports.%Core.import_ref.bcf [symbolic] -// CHECK:STDOUT: %T.as_type.9c1: type = facet_access_type %T.589 [symbolic] -// CHECK:STDOUT: %pattern_type.2e7263.2: type = pattern_type %T.as_type.9c1 [symbolic] -// CHECK:STDOUT: %require_complete.028: = require_complete_type %OrderedWith.type.1ce6d7.2 [symbolic] -// CHECK:STDOUT: %assoc0.d47: %OrderedWith.assoc_type.72f2ab.1 = assoc_entity element0, imports.%Core.import_ref.516 [symbolic] -// CHECK:STDOUT: %OrderedWith.lookup_impl_witness: = lookup_impl_witness %T.589, @OrderedWith.1, @OrderedWith.1(%U) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.0103c6.3: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%U, %T.589) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.3: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%U, %T.589) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.8e8d9f.3: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%U, %T.589) [symbolic] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.3: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%U, %T.589) [symbolic] -// CHECK:STDOUT: %.e72: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.0103c6.3, %T.589 [symbolic] -// CHECK:STDOUT: %impl.elem0.664: %.e72 = impl_witness_access %OrderedWith.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.fd5: = specific_impl_function %impl.elem0.664, @OrderedWith.WithSelf.Less(%U, %T.589) [symbolic] -// CHECK:STDOUT: %assoc1.d74: %OrderedWith.assoc_type.72f2ab.1 = assoc_entity element1, imports.%Core.import_ref.785 [symbolic] -// CHECK:STDOUT: %.951: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.3, %T.589 [symbolic] -// CHECK:STDOUT: %impl.elem1.2de: %.951 = impl_witness_access %OrderedWith.lookup_impl_witness, element1 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.315: = specific_impl_function %impl.elem1.2de, @OrderedWith.WithSelf.LessOrEquivalent(%U, %T.589) [symbolic] -// CHECK:STDOUT: %assoc2.4ac: %OrderedWith.assoc_type.72f2ab.1 = assoc_entity element2, imports.%Core.import_ref.3b8 [symbolic] -// CHECK:STDOUT: %.813: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.8e8d9f.3, %T.589 [symbolic] -// CHECK:STDOUT: %impl.elem2: %.813 = impl_witness_access %OrderedWith.lookup_impl_witness, element2 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.9d6: = specific_impl_function %impl.elem2, @OrderedWith.WithSelf.Greater(%U, %T.589) [symbolic] -// CHECK:STDOUT: %assoc3.89a: %OrderedWith.assoc_type.72f2ab.1 = assoc_entity element3, imports.%Core.import_ref.29c [symbolic] -// CHECK:STDOUT: %.137: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.3, %T.589 [symbolic] -// CHECK:STDOUT: %impl.elem3: %.137 = impl_witness_access %OrderedWith.lookup_impl_witness, element3 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.261: = specific_impl_function %impl.elem3, @OrderedWith.WithSelf.GreaterOrEquivalent(%U, %T.589) [symbolic] +// CHECK:STDOUT: %require_complete.1c9: = require_complete_type %EqWith.type.e412df.2 [symbolic] +// CHECK:STDOUT: %assoc0.5b6: %EqWith.assoc_type.27e9f5.1 = assoc_entity element0, imports.%Core.import_ref.c77 [symbolic] +// CHECK:STDOUT: %EqWith.lookup_impl_witness: = lookup_impl_witness %T.1e4, @EqWith.1, @EqWith.1(%U) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.28b02d.3: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%U, %T.1e4) [symbolic] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.a34bef.3: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%U, %T.1e4) [symbolic] +// CHECK:STDOUT: %.e7e: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.28b02d.3, %T.1e4 [symbolic] +// CHECK:STDOUT: %impl.elem0.c07: %.e7e = impl_witness_access %EqWith.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.ba9: = specific_impl_function %impl.elem0.c07, @EqWith.WithSelf.Equal(%U, %T.1e4) [symbolic] +// CHECK:STDOUT: %assoc1.491: %EqWith.assoc_type.27e9f5.1 = assoc_entity element1, imports.%Core.import_ref.c36 [symbolic] +// CHECK:STDOUT: %.a13: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.a34bef.3, %T.1e4 [symbolic] +// CHECK:STDOUT: %impl.elem1.ec1: %.a13 = impl_witness_access %EqWith.lookup_impl_witness, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.a6f: = specific_impl_function %impl.elem1.ec1, @EqWith.WithSelf.NotEqual(%U, %T.1e4) [symbolic] +// CHECK:STDOUT: %OrderedWith.type.73dab8.1: type = facet_type <@OrderedWith.1, @OrderedWith.1(%Other)> [symbolic] +// CHECK:STDOUT: %Self.d014af.1: %OrderedWith.type.73dab8.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %OrderedWith.assoc_type.2fabd7.1: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%Other) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.1: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Other, %Self.d014af.1) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.38d1a4.1: %OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.1 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.9defd1.1: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Other, %Self.d014af.1) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.984598.1: %OrderedWith.WithSelf.Greater.type.9defd1.1 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.1: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Other, %Self.d014af.1) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.c2ac22.1: %OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.1 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.687390.1: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Other, %Self.d014af.1) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.4a995a.1: %OrderedWith.WithSelf.Less.type.687390.1 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.type.73dab8.2: type = facet_type <@OrderedWith.1, @OrderedWith.1(%U)> [symbolic] +// CHECK:STDOUT: %pattern_type.10d: type = pattern_type %OrderedWith.type.73dab8.2 [symbolic] +// CHECK:STDOUT: %T.d01: %OrderedWith.type.73dab8.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %OrderedWith.assoc_type.2fabd7.2: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%U) [symbolic] +// CHECK:STDOUT: %assoc0.7dbd55.2: %OrderedWith.assoc_type.2fabd7.2 = assoc_entity element0, imports.%Core.import_ref.5cd [symbolic] +// CHECK:STDOUT: %assoc1.54de85.2: %OrderedWith.assoc_type.2fabd7.2 = assoc_entity element1, imports.%Core.import_ref.fb6 [symbolic] +// CHECK:STDOUT: %assoc2.3caaa9.2: %OrderedWith.assoc_type.2fabd7.2 = assoc_entity element2, imports.%Core.import_ref.32f [symbolic] +// CHECK:STDOUT: %assoc3.4eb879.2: %OrderedWith.assoc_type.2fabd7.2 = assoc_entity element3, imports.%Core.import_ref.2d8 [symbolic] +// CHECK:STDOUT: %T.as_type.1cd: type = facet_access_type %T.d01 [symbolic] +// CHECK:STDOUT: %pattern_type.05039a.2: type = pattern_type %T.as_type.1cd [symbolic] +// CHECK:STDOUT: %require_complete.a45: = require_complete_type %OrderedWith.type.73dab8.2 [symbolic] +// CHECK:STDOUT: %assoc0.3ff: %OrderedWith.assoc_type.2fabd7.1 = assoc_entity element0, imports.%Core.import_ref.c33 [symbolic] +// CHECK:STDOUT: %OrderedWith.lookup_impl_witness: = lookup_impl_witness %T.d01, @OrderedWith.1, @OrderedWith.1(%U) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.687390.3: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%U, %T.d01) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.3: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%U, %T.d01) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.9defd1.3: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%U, %T.d01) [symbolic] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.3: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%U, %T.d01) [symbolic] +// CHECK:STDOUT: %.cb4: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.687390.3, %T.d01 [symbolic] +// CHECK:STDOUT: %impl.elem0.b31: %.cb4 = impl_witness_access %OrderedWith.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c89: = specific_impl_function %impl.elem0.b31, @OrderedWith.WithSelf.Less(%U, %T.d01) [symbolic] +// CHECK:STDOUT: %assoc1.760: %OrderedWith.assoc_type.2fabd7.1 = assoc_entity element1, imports.%Core.import_ref.79a [symbolic] +// CHECK:STDOUT: %.ac4: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.3, %T.d01 [symbolic] +// CHECK:STDOUT: %impl.elem1.939: %.ac4 = impl_witness_access %OrderedWith.lookup_impl_witness, element1 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.65b: = specific_impl_function %impl.elem1.939, @OrderedWith.WithSelf.LessOrEquivalent(%U, %T.d01) [symbolic] +// CHECK:STDOUT: %assoc2.897: %OrderedWith.assoc_type.2fabd7.1 = assoc_entity element2, imports.%Core.import_ref.ea2 [symbolic] +// CHECK:STDOUT: %.994: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.9defd1.3, %T.d01 [symbolic] +// CHECK:STDOUT: %impl.elem2: %.994 = impl_witness_access %OrderedWith.lookup_impl_witness, element2 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.6dc: = specific_impl_function %impl.elem2, @OrderedWith.WithSelf.Greater(%U, %T.d01) [symbolic] +// CHECK:STDOUT: %assoc3.8bc: %OrderedWith.assoc_type.2fabd7.1 = assoc_entity element3, imports.%Core.import_ref.b4f [symbolic] +// CHECK:STDOUT: %.eca: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.3, %T.d01 [symbolic] +// CHECK:STDOUT: %impl.elem3: %.eca = impl_witness_access %OrderedWith.lookup_impl_witness, element3 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.f67: = specific_impl_function %impl.elem3, @OrderedWith.WithSelf.GreaterOrEquivalent(%U, %T.d01) [symbolic] // CHECK:STDOUT: %DefaultSpaceshipOnly: type = class_type @DefaultSpaceshipOnly [concrete] // CHECK:STDOUT: %pattern_type.cce: type = pattern_type %DefaultSpaceshipOnly [concrete] // CHECK:STDOUT: %ReturnsStrongOrdering: type = class_type @ReturnsStrongOrdering [concrete] @@ -312,186 +312,186 @@ fn Test(returns_strong_ordering: Cpp.ReturnsStrongOrdering) { // CHECK:STDOUT: %pattern_type.f3d: type = pattern_type %CrossTypeLhs [concrete] // CHECK:STDOUT: %CrossTypeRhs: type = class_type @CrossTypeRhs [concrete] // CHECK:STDOUT: %pattern_type.bd1: type = pattern_type %CrossTypeRhs [concrete] -// CHECK:STDOUT: %EqWith.type.d71: type = facet_type <@EqWith.1, @EqWith.1(%DefaultSpaceshipOnly)> [concrete] -// CHECK:STDOUT: %pattern_type.375: type = pattern_type %EqWith.type.d71 [concrete] -// CHECK:STDOUT: %OrderedWith.type.519: type = facet_type <@OrderedWith.1, @OrderedWith.1(%DefaultSpaceshipOnly)> [concrete] -// CHECK:STDOUT: %pattern_type.0e9: type = pattern_type %OrderedWith.type.519 [concrete] -// CHECK:STDOUT: %OrderedWith.type.62a: type = facet_type <@OrderedWith.1, @OrderedWith.1(%ReturnsStrongOrdering)> [concrete] -// CHECK:STDOUT: %pattern_type.453: type = pattern_type %OrderedWith.type.62a [concrete] -// CHECK:STDOUT: %OrderedWith.type.c87: type = facet_type <@OrderedWith.1, @OrderedWith.1(%ReturnsPartialOrdering)> [concrete] -// CHECK:STDOUT: %pattern_type.ac7: type = pattern_type %OrderedWith.type.c87 [concrete] -// CHECK:STDOUT: %OrderedWith.type.079: type = facet_type <@OrderedWith.1, @OrderedWith.1(%CrossTypeRhs)> [concrete] -// CHECK:STDOUT: %pattern_type.f80: type = pattern_type %OrderedWith.type.079 [concrete] -// CHECK:STDOUT: %OrderedWith.type.ec4: type = facet_type <@OrderedWith.1, @OrderedWith.1(%CrossTypeLhs)> [concrete] -// CHECK:STDOUT: %pattern_type.cee: type = pattern_type %OrderedWith.type.ec4 [concrete] +// CHECK:STDOUT: %EqWith.type.f5d: type = facet_type <@EqWith.1, @EqWith.1(%DefaultSpaceshipOnly)> [concrete] +// CHECK:STDOUT: %pattern_type.2b5: type = pattern_type %EqWith.type.f5d [concrete] +// CHECK:STDOUT: %OrderedWith.type.9ef: type = facet_type <@OrderedWith.1, @OrderedWith.1(%DefaultSpaceshipOnly)> [concrete] +// CHECK:STDOUT: %pattern_type.520: type = pattern_type %OrderedWith.type.9ef [concrete] +// CHECK:STDOUT: %OrderedWith.type.f1a: type = facet_type <@OrderedWith.1, @OrderedWith.1(%ReturnsStrongOrdering)> [concrete] +// CHECK:STDOUT: %pattern_type.8f0: type = pattern_type %OrderedWith.type.f1a [concrete] +// CHECK:STDOUT: %OrderedWith.type.30a: type = facet_type <@OrderedWith.1, @OrderedWith.1(%ReturnsPartialOrdering)> [concrete] +// CHECK:STDOUT: %pattern_type.86c: type = pattern_type %OrderedWith.type.30a [concrete] +// CHECK:STDOUT: %OrderedWith.type.ca0: type = facet_type <@OrderedWith.1, @OrderedWith.1(%CrossTypeRhs)> [concrete] +// CHECK:STDOUT: %pattern_type.189: type = pattern_type %OrderedWith.type.ca0 [concrete] +// CHECK:STDOUT: %OrderedWith.type.e89: type = facet_type <@OrderedWith.1, @OrderedWith.1(%CrossTypeLhs)> [concrete] +// CHECK:STDOUT: %pattern_type.307: type = pattern_type %OrderedWith.type.e89 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.c6d: @EqWith.WithSelf.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%assoc0 (constants.%assoc0.b78)] -// CHECK:STDOUT: %Core.import_ref.5a3: @EqWith.WithSelf.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%assoc1 (constants.%assoc1.579)] -// CHECK:STDOUT: %Core.import_ref.515: @EqWith.WithSelf.%EqWith.WithSelf.NotEqual.type (%EqWith.WithSelf.NotEqual.type.d0da48.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%EqWith.WithSelf.NotEqual (constants.%EqWith.WithSelf.NotEqual.f72b2f.1)] -// CHECK:STDOUT: %Core.import_ref.5f3: @EqWith.WithSelf.%EqWith.WithSelf.Equal.type (%EqWith.WithSelf.Equal.type.c6aebf.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%EqWith.WithSelf.Equal (constants.%EqWith.WithSelf.Equal.b440b7.1)] -// CHECK:STDOUT: %Core.import_ref.c6b = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.4af = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.08c: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc0 (constants.%assoc0.d47)] -// CHECK:STDOUT: %Core.import_ref.6b7: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc1 (constants.%assoc1.d74)] -// CHECK:STDOUT: %Core.import_ref.bc5: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc2 (constants.%assoc2.4ac)] -// CHECK:STDOUT: %Core.import_ref.cfb: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc3 (constants.%assoc3.89a)] -// CHECK:STDOUT: %Core.import_ref.bcf: @OrderedWith.WithSelf.%OrderedWith.WithSelf.GreaterOrEquivalent.type (%OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.GreaterOrEquivalent (constants.%OrderedWith.WithSelf.GreaterOrEquivalent.433a82.1)] -// CHECK:STDOUT: %Core.import_ref.ece: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Greater.type (%OrderedWith.WithSelf.Greater.type.8e8d9f.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Greater (constants.%OrderedWith.WithSelf.Greater.4b40f6.1)] -// CHECK:STDOUT: %Core.import_ref.af2: @OrderedWith.WithSelf.%OrderedWith.WithSelf.LessOrEquivalent.type (%OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.LessOrEquivalent (constants.%OrderedWith.WithSelf.LessOrEquivalent.cf3f1c.1)] -// CHECK:STDOUT: %Core.import_ref.250: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less.type (%OrderedWith.WithSelf.Less.type.0103c6.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less (constants.%OrderedWith.WithSelf.Less.828cee.1)] -// CHECK:STDOUT: %Core.import_ref.516 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.785 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.3b8 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.29c = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.0a8: @EqWith.WithSelf.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%assoc0 (constants.%assoc0.5b6)] +// CHECK:STDOUT: %Core.import_ref.33b: @EqWith.WithSelf.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%assoc1 (constants.%assoc1.491)] +// CHECK:STDOUT: %Core.import_ref.228: @EqWith.WithSelf.%EqWith.WithSelf.NotEqual.type (%EqWith.WithSelf.NotEqual.type.a34bef.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%EqWith.WithSelf.NotEqual (constants.%EqWith.WithSelf.NotEqual.34d150.1)] +// CHECK:STDOUT: %Core.import_ref.eea: @EqWith.WithSelf.%EqWith.WithSelf.Equal.type (%EqWith.WithSelf.Equal.type.28b02d.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @EqWith.WithSelf.%EqWith.WithSelf.Equal (constants.%EqWith.WithSelf.Equal.6ee1cd.1)] +// CHECK:STDOUT: %Core.import_ref.c77 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.c36 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.eb4: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc0 (constants.%assoc0.3ff)] +// CHECK:STDOUT: %Core.import_ref.84c: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc1 (constants.%assoc1.760)] +// CHECK:STDOUT: %Core.import_ref.01d: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc2 (constants.%assoc2.897)] +// CHECK:STDOUT: %Core.import_ref.569: @OrderedWith.WithSelf.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%assoc3 (constants.%assoc3.8bc)] +// CHECK:STDOUT: %Core.import_ref.2d8: @OrderedWith.WithSelf.%OrderedWith.WithSelf.GreaterOrEquivalent.type (%OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.GreaterOrEquivalent (constants.%OrderedWith.WithSelf.GreaterOrEquivalent.38d1a4.1)] +// CHECK:STDOUT: %Core.import_ref.32f: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Greater.type (%OrderedWith.WithSelf.Greater.type.9defd1.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Greater (constants.%OrderedWith.WithSelf.Greater.984598.1)] +// CHECK:STDOUT: %Core.import_ref.fb6: @OrderedWith.WithSelf.%OrderedWith.WithSelf.LessOrEquivalent.type (%OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.LessOrEquivalent (constants.%OrderedWith.WithSelf.LessOrEquivalent.c2ac22.1)] +// CHECK:STDOUT: %Core.import_ref.5cd: @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less.type (%OrderedWith.WithSelf.Less.type.687390.1) = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, loaded [symbolic = @OrderedWith.WithSelf.%OrderedWith.WithSelf.Less (constants.%OrderedWith.WithSelf.Less.4a995a.1)] +// CHECK:STDOUT: %Core.import_ref.c33 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.79a = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.ea2 = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.b4f = import_ref Core//prelude/operators/comparison, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @EqWith.loc4(%U.loc4_12.2: type, %T.loc4_22.2: @EqWith.loc4.%EqWith.type.loc4_38.1 (%EqWith.type.1790d7.2)) { +// CHECK:STDOUT: generic fn @EqWith.loc4(%U.loc4_12.2: type, %T.loc4_22.2: @EqWith.loc4.%EqWith.type.loc4_38.1 (%EqWith.type.e412df.2)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc6: = require_complete_type %EqWith.type.loc4_38.1 [symbolic = %require_complete.loc6 (constants.%require_complete.d87)] -// CHECK:STDOUT: %EqWith.assoc_type: type = assoc_entity_type @EqWith.1, @EqWith.1(%U.loc4_12.1) [symbolic = %EqWith.assoc_type (constants.%EqWith.assoc_type.efa4d1.2)] -// CHECK:STDOUT: %assoc0: @EqWith.loc4.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = assoc_entity element0, imports.%Core.import_ref.5f3 [symbolic = %assoc0 (constants.%assoc0.5e77ba.2)] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%U.loc4_12.1, %T.loc4_22.1) [symbolic = %EqWith.WithSelf.Equal.type (constants.%EqWith.WithSelf.Equal.type.c6aebf.3)] -// CHECK:STDOUT: %.loc6_5.2: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type, %T.loc4_22.1 [symbolic = %.loc6_5.2 (constants.%.10a)] +// CHECK:STDOUT: %require_complete.loc6: = require_complete_type %EqWith.type.loc4_38.1 [symbolic = %require_complete.loc6 (constants.%require_complete.1c9)] +// CHECK:STDOUT: %EqWith.assoc_type: type = assoc_entity_type @EqWith.1, @EqWith.1(%U.loc4_12.1) [symbolic = %EqWith.assoc_type (constants.%EqWith.assoc_type.27e9f5.2)] +// CHECK:STDOUT: %assoc0: @EqWith.loc4.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = assoc_entity element0, imports.%Core.import_ref.eea [symbolic = %assoc0 (constants.%assoc0.04df8c.2)] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%U.loc4_12.1, %T.loc4_22.1) [symbolic = %EqWith.WithSelf.Equal.type (constants.%EqWith.WithSelf.Equal.type.28b02d.3)] +// CHECK:STDOUT: %.loc6_5.2: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type, %T.loc4_22.1 [symbolic = %.loc6_5.2 (constants.%.e7e)] // CHECK:STDOUT: %EqWith.lookup_impl_witness: = lookup_impl_witness %T.loc4_22.1, @EqWith.1, @EqWith.1(%U.loc4_12.1) [symbolic = %EqWith.lookup_impl_witness (constants.%EqWith.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc6_5.2: @EqWith.loc4.%.loc6_5.2 (%.10a) = impl_witness_access %EqWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_5.2 (constants.%impl.elem0.734)] -// CHECK:STDOUT: %specific_impl_fn.loc6_5.2: = specific_impl_function %impl.elem0.loc6_5.2, @EqWith.WithSelf.Equal(%U.loc4_12.1, %T.loc4_22.1) [symbolic = %specific_impl_fn.loc6_5.2 (constants.%specific_impl_fn.b75)] -// CHECK:STDOUT: %assoc1: @EqWith.loc4.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = assoc_entity element1, imports.%Core.import_ref.515 [symbolic = %assoc1 (constants.%assoc1.7b7afb.2)] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%U.loc4_12.1, %T.loc4_22.1) [symbolic = %EqWith.WithSelf.NotEqual.type (constants.%EqWith.WithSelf.NotEqual.type.d0da48.3)] -// CHECK:STDOUT: %.loc7_5.2: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type, %T.loc4_22.1 [symbolic = %.loc7_5.2 (constants.%.2bb)] -// CHECK:STDOUT: %impl.elem1.loc7_5.2: @EqWith.loc4.%.loc7_5.2 (%.2bb) = impl_witness_access %EqWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc7_5.2 (constants.%impl.elem1.f69)] -// CHECK:STDOUT: %specific_impl_fn.loc7_5.2: = specific_impl_function %impl.elem1.loc7_5.2, @EqWith.WithSelf.NotEqual(%U.loc4_12.1, %T.loc4_22.1) [symbolic = %specific_impl_fn.loc7_5.2 (constants.%specific_impl_fn.bc2)] +// CHECK:STDOUT: %impl.elem0.loc6_5.2: @EqWith.loc4.%.loc6_5.2 (%.e7e) = impl_witness_access %EqWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_5.2 (constants.%impl.elem0.c07)] +// CHECK:STDOUT: %specific_impl_fn.loc6_5.2: = specific_impl_function %impl.elem0.loc6_5.2, @EqWith.WithSelf.Equal(%U.loc4_12.1, %T.loc4_22.1) [symbolic = %specific_impl_fn.loc6_5.2 (constants.%specific_impl_fn.ba9)] +// CHECK:STDOUT: %assoc1: @EqWith.loc4.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = assoc_entity element1, imports.%Core.import_ref.228 [symbolic = %assoc1 (constants.%assoc1.47b841.2)] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%U.loc4_12.1, %T.loc4_22.1) [symbolic = %EqWith.WithSelf.NotEqual.type (constants.%EqWith.WithSelf.NotEqual.type.a34bef.3)] +// CHECK:STDOUT: %.loc7_5.2: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type, %T.loc4_22.1 [symbolic = %.loc7_5.2 (constants.%.a13)] +// CHECK:STDOUT: %impl.elem1.loc7_5.2: @EqWith.loc4.%.loc7_5.2 (%.a13) = impl_witness_access %EqWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc7_5.2 (constants.%impl.elem1.ec1)] +// CHECK:STDOUT: %specific_impl_fn.loc7_5.2: = specific_impl_function %impl.elem1.loc7_5.2, @EqWith.WithSelf.NotEqual(%U.loc4_12.1, %T.loc4_22.1) [symbolic = %specific_impl_fn.loc7_5.2 (constants.%specific_impl_fn.a6f)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @EqWith.loc4.%T.as_type.loc4_44.1 (%T.as_type.c92), %y.param: @EqWith.loc4.%U.loc4_12.1 (%U)) { +// CHECK:STDOUT: fn(%x.param: @EqWith.loc4.%T.as_type.loc4_44.1 (%T.as_type.cf2), %y.param: @EqWith.loc4.%U.loc4_12.1 (%U)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref.loc6: @EqWith.loc4.%T.as_type.loc4_44.1 (%T.as_type.c92) = name_ref x, %x +// CHECK:STDOUT: %x.ref.loc6: @EqWith.loc4.%T.as_type.loc4_44.1 (%T.as_type.cf2) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc6: @EqWith.loc4.%U.loc4_12.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %EqWith.type.loc6: type = facet_type <@EqWith.1, @EqWith.1(constants.%U)> [symbolic = %EqWith.type.loc4_38.1 (constants.%EqWith.type.1790d7.2)] -// CHECK:STDOUT: %.loc6_5.1: @EqWith.loc4.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = specific_constant imports.%Core.import_ref.c6d, @EqWith.WithSelf(constants.%U, constants.%Self.7839ed.1) [symbolic = %assoc0 (constants.%assoc0.5e77ba.2)] -// CHECK:STDOUT: %Equal.ref: @EqWith.loc4.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = name_ref Equal, %.loc6_5.1 [symbolic = %assoc0 (constants.%assoc0.5e77ba.2)] -// CHECK:STDOUT: %impl.elem0.loc6_5.1: @EqWith.loc4.%.loc6_5.2 (%.10a) = impl_witness_access constants.%EqWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_5.2 (constants.%impl.elem0.734)] +// CHECK:STDOUT: %EqWith.type.loc6: type = facet_type <@EqWith.1, @EqWith.1(constants.%U)> [symbolic = %EqWith.type.loc4_38.1 (constants.%EqWith.type.e412df.2)] +// CHECK:STDOUT: %.loc6_5.1: @EqWith.loc4.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = specific_constant imports.%Core.import_ref.0a8, @EqWith.WithSelf(constants.%U, constants.%Self.1e4d80.1) [symbolic = %assoc0 (constants.%assoc0.04df8c.2)] +// CHECK:STDOUT: %Equal.ref: @EqWith.loc4.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = name_ref Equal, %.loc6_5.1 [symbolic = %assoc0 (constants.%assoc0.04df8c.2)] +// CHECK:STDOUT: %impl.elem0.loc6_5.1: @EqWith.loc4.%.loc6_5.2 (%.e7e) = impl_witness_access constants.%EqWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_5.2 (constants.%impl.elem0.c07)] // CHECK:STDOUT: %bound_method.loc6_5.1: = bound_method %x.ref.loc6, %impl.elem0.loc6_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc6_5.1: = specific_impl_function %impl.elem0.loc6_5.1, @EqWith.WithSelf.Equal(constants.%U, constants.%T.783) [symbolic = %specific_impl_fn.loc6_5.2 (constants.%specific_impl_fn.b75)] +// CHECK:STDOUT: %specific_impl_fn.loc6_5.1: = specific_impl_function %impl.elem0.loc6_5.1, @EqWith.WithSelf.Equal(constants.%U, constants.%T.1e4) [symbolic = %specific_impl_fn.loc6_5.2 (constants.%specific_impl_fn.ba9)] // CHECK:STDOUT: %bound_method.loc6_5.2: = bound_method %x.ref.loc6, %specific_impl_fn.loc6_5.1 // CHECK:STDOUT: %EqWith.WithSelf.Equal.call: init bool = call %bound_method.loc6_5.2(%x.ref.loc6, %y.ref.loc6) -// CHECK:STDOUT: %x.ref.loc7: @EqWith.loc4.%T.as_type.loc4_44.1 (%T.as_type.c92) = name_ref x, %x +// CHECK:STDOUT: %x.ref.loc7: @EqWith.loc4.%T.as_type.loc4_44.1 (%T.as_type.cf2) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc7: @EqWith.loc4.%U.loc4_12.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %EqWith.type.loc7: type = facet_type <@EqWith.1, @EqWith.1(constants.%U)> [symbolic = %EqWith.type.loc4_38.1 (constants.%EqWith.type.1790d7.2)] -// CHECK:STDOUT: %.loc7_5.1: @EqWith.loc4.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = specific_constant imports.%Core.import_ref.5a3, @EqWith.WithSelf(constants.%U, constants.%Self.7839ed.1) [symbolic = %assoc1 (constants.%assoc1.7b7afb.2)] -// CHECK:STDOUT: %NotEqual.ref: @EqWith.loc4.%EqWith.assoc_type (%EqWith.assoc_type.efa4d1.2) = name_ref NotEqual, %.loc7_5.1 [symbolic = %assoc1 (constants.%assoc1.7b7afb.2)] -// CHECK:STDOUT: %impl.elem1.loc7_5.1: @EqWith.loc4.%.loc7_5.2 (%.2bb) = impl_witness_access constants.%EqWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc7_5.2 (constants.%impl.elem1.f69)] +// CHECK:STDOUT: %EqWith.type.loc7: type = facet_type <@EqWith.1, @EqWith.1(constants.%U)> [symbolic = %EqWith.type.loc4_38.1 (constants.%EqWith.type.e412df.2)] +// CHECK:STDOUT: %.loc7_5.1: @EqWith.loc4.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = specific_constant imports.%Core.import_ref.33b, @EqWith.WithSelf(constants.%U, constants.%Self.1e4d80.1) [symbolic = %assoc1 (constants.%assoc1.47b841.2)] +// CHECK:STDOUT: %NotEqual.ref: @EqWith.loc4.%EqWith.assoc_type (%EqWith.assoc_type.27e9f5.2) = name_ref NotEqual, %.loc7_5.1 [symbolic = %assoc1 (constants.%assoc1.47b841.2)] +// CHECK:STDOUT: %impl.elem1.loc7_5.1: @EqWith.loc4.%.loc7_5.2 (%.a13) = impl_witness_access constants.%EqWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc7_5.2 (constants.%impl.elem1.ec1)] // CHECK:STDOUT: %bound_method.loc7_5.1: = bound_method %x.ref.loc7, %impl.elem1.loc7_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc7_5.1: = specific_impl_function %impl.elem1.loc7_5.1, @EqWith.WithSelf.NotEqual(constants.%U, constants.%T.783) [symbolic = %specific_impl_fn.loc7_5.2 (constants.%specific_impl_fn.bc2)] +// CHECK:STDOUT: %specific_impl_fn.loc7_5.1: = specific_impl_function %impl.elem1.loc7_5.1, @EqWith.WithSelf.NotEqual(constants.%U, constants.%T.1e4) [symbolic = %specific_impl_fn.loc7_5.2 (constants.%specific_impl_fn.a6f)] // CHECK:STDOUT: %bound_method.loc7_5.2: = bound_method %x.ref.loc7, %specific_impl_fn.loc7_5.1 // CHECK:STDOUT: %EqWith.WithSelf.NotEqual.call: init bool = call %bound_method.loc7_5.2(%x.ref.loc7, %y.ref.loc7) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @OrderedWith.loc11(%U.loc11_17.2: type, %T.loc11_27.2: @OrderedWith.loc11.%OrderedWith.type.loc11_48.1 (%OrderedWith.type.1ce6d7.2)) { +// CHECK:STDOUT: generic fn @OrderedWith.loc11(%U.loc11_17.2: type, %T.loc11_27.2: @OrderedWith.loc11.%OrderedWith.type.loc11_48.1 (%OrderedWith.type.73dab8.2)) { // CHECK:STDOUT: // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %require_complete.loc13: = require_complete_type %OrderedWith.type.loc11_48.1 [symbolic = %require_complete.loc13 (constants.%require_complete.028)] -// CHECK:STDOUT: %OrderedWith.assoc_type: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%U.loc11_17.1) [symbolic = %OrderedWith.assoc_type (constants.%OrderedWith.assoc_type.72f2ab.2)] -// CHECK:STDOUT: %assoc0: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = assoc_entity element0, imports.%Core.import_ref.250 [symbolic = %assoc0 (constants.%assoc0.76ced5.2)] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %OrderedWith.WithSelf.Less.type (constants.%OrderedWith.WithSelf.Less.type.0103c6.3)] -// CHECK:STDOUT: %.loc13_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type, %T.loc11_27.1 [symbolic = %.loc13_5.2 (constants.%.e72)] +// CHECK:STDOUT: %require_complete.loc13: = require_complete_type %OrderedWith.type.loc11_48.1 [symbolic = %require_complete.loc13 (constants.%require_complete.a45)] +// CHECK:STDOUT: %OrderedWith.assoc_type: type = assoc_entity_type @OrderedWith.1, @OrderedWith.1(%U.loc11_17.1) [symbolic = %OrderedWith.assoc_type (constants.%OrderedWith.assoc_type.2fabd7.2)] +// CHECK:STDOUT: %assoc0: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = assoc_entity element0, imports.%Core.import_ref.5cd [symbolic = %assoc0 (constants.%assoc0.7dbd55.2)] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %OrderedWith.WithSelf.Less.type (constants.%OrderedWith.WithSelf.Less.type.687390.3)] +// CHECK:STDOUT: %.loc13_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type, %T.loc11_27.1 [symbolic = %.loc13_5.2 (constants.%.cb4)] // CHECK:STDOUT: %OrderedWith.lookup_impl_witness: = lookup_impl_witness %T.loc11_27.1, @OrderedWith.1, @OrderedWith.1(%U.loc11_17.1) [symbolic = %OrderedWith.lookup_impl_witness (constants.%OrderedWith.lookup_impl_witness)] -// CHECK:STDOUT: %impl.elem0.loc13_5.2: @OrderedWith.loc11.%.loc13_5.2 (%.e72) = impl_witness_access %OrderedWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_5.2 (constants.%impl.elem0.664)] -// CHECK:STDOUT: %specific_impl_fn.loc13_5.2: = specific_impl_function %impl.elem0.loc13_5.2, @OrderedWith.WithSelf.Less(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %specific_impl_fn.loc13_5.2 (constants.%specific_impl_fn.fd5)] -// CHECK:STDOUT: %assoc1: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = assoc_entity element1, imports.%Core.import_ref.af2 [symbolic = %assoc1 (constants.%assoc1.248efd.2)] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %OrderedWith.WithSelf.LessOrEquivalent.type (constants.%OrderedWith.WithSelf.LessOrEquivalent.type.8f86f8.3)] -// CHECK:STDOUT: %.loc14_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type, %T.loc11_27.1 [symbolic = %.loc14_5.2 (constants.%.951)] -// CHECK:STDOUT: %impl.elem1.loc14_5.2: @OrderedWith.loc11.%.loc14_5.2 (%.951) = impl_witness_access %OrderedWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc14_5.2 (constants.%impl.elem1.2de)] -// CHECK:STDOUT: %specific_impl_fn.loc14_5.2: = specific_impl_function %impl.elem1.loc14_5.2, @OrderedWith.WithSelf.LessOrEquivalent(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %specific_impl_fn.loc14_5.2 (constants.%specific_impl_fn.315)] -// CHECK:STDOUT: %assoc2: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = assoc_entity element2, imports.%Core.import_ref.ece [symbolic = %assoc2 (constants.%assoc2.cac9ed.2)] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %OrderedWith.WithSelf.Greater.type (constants.%OrderedWith.WithSelf.Greater.type.8e8d9f.3)] -// CHECK:STDOUT: %.loc15_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type, %T.loc11_27.1 [symbolic = %.loc15_5.2 (constants.%.813)] -// CHECK:STDOUT: %impl.elem2.loc15_5.2: @OrderedWith.loc11.%.loc15_5.2 (%.813) = impl_witness_access %OrderedWith.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc15_5.2 (constants.%impl.elem2)] -// CHECK:STDOUT: %specific_impl_fn.loc15_5.2: = specific_impl_function %impl.elem2.loc15_5.2, @OrderedWith.WithSelf.Greater(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %specific_impl_fn.loc15_5.2 (constants.%specific_impl_fn.9d6)] -// CHECK:STDOUT: %assoc3: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = assoc_entity element3, imports.%Core.import_ref.bcf [symbolic = %assoc3 (constants.%assoc3.9908c2.2)] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %OrderedWith.WithSelf.GreaterOrEquivalent.type (constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.cd7ce3.3)] -// CHECK:STDOUT: %.loc16_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type, %T.loc11_27.1 [symbolic = %.loc16_5.2 (constants.%.137)] -// CHECK:STDOUT: %impl.elem3.loc16_5.2: @OrderedWith.loc11.%.loc16_5.2 (%.137) = impl_witness_access %OrderedWith.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc16_5.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %specific_impl_fn.loc16_5.2: = specific_impl_function %impl.elem3.loc16_5.2, @OrderedWith.WithSelf.GreaterOrEquivalent(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %specific_impl_fn.loc16_5.2 (constants.%specific_impl_fn.261)] +// CHECK:STDOUT: %impl.elem0.loc13_5.2: @OrderedWith.loc11.%.loc13_5.2 (%.cb4) = impl_witness_access %OrderedWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_5.2 (constants.%impl.elem0.b31)] +// CHECK:STDOUT: %specific_impl_fn.loc13_5.2: = specific_impl_function %impl.elem0.loc13_5.2, @OrderedWith.WithSelf.Less(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %specific_impl_fn.loc13_5.2 (constants.%specific_impl_fn.c89)] +// CHECK:STDOUT: %assoc1: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = assoc_entity element1, imports.%Core.import_ref.fb6 [symbolic = %assoc1 (constants.%assoc1.54de85.2)] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %OrderedWith.WithSelf.LessOrEquivalent.type (constants.%OrderedWith.WithSelf.LessOrEquivalent.type.8e175f.3)] +// CHECK:STDOUT: %.loc14_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type, %T.loc11_27.1 [symbolic = %.loc14_5.2 (constants.%.ac4)] +// CHECK:STDOUT: %impl.elem1.loc14_5.2: @OrderedWith.loc11.%.loc14_5.2 (%.ac4) = impl_witness_access %OrderedWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc14_5.2 (constants.%impl.elem1.939)] +// CHECK:STDOUT: %specific_impl_fn.loc14_5.2: = specific_impl_function %impl.elem1.loc14_5.2, @OrderedWith.WithSelf.LessOrEquivalent(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %specific_impl_fn.loc14_5.2 (constants.%specific_impl_fn.65b)] +// CHECK:STDOUT: %assoc2: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = assoc_entity element2, imports.%Core.import_ref.32f [symbolic = %assoc2 (constants.%assoc2.3caaa9.2)] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %OrderedWith.WithSelf.Greater.type (constants.%OrderedWith.WithSelf.Greater.type.9defd1.3)] +// CHECK:STDOUT: %.loc15_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type, %T.loc11_27.1 [symbolic = %.loc15_5.2 (constants.%.994)] +// CHECK:STDOUT: %impl.elem2.loc15_5.2: @OrderedWith.loc11.%.loc15_5.2 (%.994) = impl_witness_access %OrderedWith.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc15_5.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %specific_impl_fn.loc15_5.2: = specific_impl_function %impl.elem2.loc15_5.2, @OrderedWith.WithSelf.Greater(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %specific_impl_fn.loc15_5.2 (constants.%specific_impl_fn.6dc)] +// CHECK:STDOUT: %assoc3: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = assoc_entity element3, imports.%Core.import_ref.2d8 [symbolic = %assoc3 (constants.%assoc3.4eb879.2)] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %OrderedWith.WithSelf.GreaterOrEquivalent.type (constants.%OrderedWith.WithSelf.GreaterOrEquivalent.type.a03cd9.3)] +// CHECK:STDOUT: %.loc16_5.2: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type, %T.loc11_27.1 [symbolic = %.loc16_5.2 (constants.%.eca)] +// CHECK:STDOUT: %impl.elem3.loc16_5.2: @OrderedWith.loc11.%.loc16_5.2 (%.eca) = impl_witness_access %OrderedWith.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc16_5.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %specific_impl_fn.loc16_5.2: = specific_impl_function %impl.elem3.loc16_5.2, @OrderedWith.WithSelf.GreaterOrEquivalent(%U.loc11_17.1, %T.loc11_27.1) [symbolic = %specific_impl_fn.loc16_5.2 (constants.%specific_impl_fn.f67)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%x.param: @OrderedWith.loc11.%T.as_type.loc11_54.1 (%T.as_type.9c1), %y.param: @OrderedWith.loc11.%U.loc11_17.1 (%U)) { +// CHECK:STDOUT: fn(%x.param: @OrderedWith.loc11.%T.as_type.loc11_54.1 (%T.as_type.1cd), %y.param: @OrderedWith.loc11.%U.loc11_17.1 (%U)) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %x.ref.loc13: @OrderedWith.loc11.%T.as_type.loc11_54.1 (%T.as_type.9c1) = name_ref x, %x +// CHECK:STDOUT: %x.ref.loc13: @OrderedWith.loc11.%T.as_type.loc11_54.1 (%T.as_type.1cd) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc13: @OrderedWith.loc11.%U.loc11_17.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %OrderedWith.type.loc13: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc11_48.1 (constants.%OrderedWith.type.1ce6d7.2)] -// CHECK:STDOUT: %.loc13_5.1: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = specific_constant imports.%Core.import_ref.08c, @OrderedWith.WithSelf(constants.%U, constants.%Self.5899f7.1) [symbolic = %assoc0 (constants.%assoc0.76ced5.2)] -// CHECK:STDOUT: %Less.ref: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = name_ref Less, %.loc13_5.1 [symbolic = %assoc0 (constants.%assoc0.76ced5.2)] -// CHECK:STDOUT: %impl.elem0.loc13_5.1: @OrderedWith.loc11.%.loc13_5.2 (%.e72) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_5.2 (constants.%impl.elem0.664)] +// CHECK:STDOUT: %OrderedWith.type.loc13: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc11_48.1 (constants.%OrderedWith.type.73dab8.2)] +// CHECK:STDOUT: %.loc13_5.1: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = specific_constant imports.%Core.import_ref.eb4, @OrderedWith.WithSelf(constants.%U, constants.%Self.d014af.1) [symbolic = %assoc0 (constants.%assoc0.7dbd55.2)] +// CHECK:STDOUT: %Less.ref: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = name_ref Less, %.loc13_5.1 [symbolic = %assoc0 (constants.%assoc0.7dbd55.2)] +// CHECK:STDOUT: %impl.elem0.loc13_5.1: @OrderedWith.loc11.%.loc13_5.2 (%.cb4) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc13_5.2 (constants.%impl.elem0.b31)] // CHECK:STDOUT: %bound_method.loc13_5.1: = bound_method %x.ref.loc13, %impl.elem0.loc13_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc13_5.1: = specific_impl_function %impl.elem0.loc13_5.1, @OrderedWith.WithSelf.Less(constants.%U, constants.%T.589) [symbolic = %specific_impl_fn.loc13_5.2 (constants.%specific_impl_fn.fd5)] +// CHECK:STDOUT: %specific_impl_fn.loc13_5.1: = specific_impl_function %impl.elem0.loc13_5.1, @OrderedWith.WithSelf.Less(constants.%U, constants.%T.d01) [symbolic = %specific_impl_fn.loc13_5.2 (constants.%specific_impl_fn.c89)] // CHECK:STDOUT: %bound_method.loc13_5.2: = bound_method %x.ref.loc13, %specific_impl_fn.loc13_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.Less.call: init bool = call %bound_method.loc13_5.2(%x.ref.loc13, %y.ref.loc13) -// CHECK:STDOUT: %x.ref.loc14: @OrderedWith.loc11.%T.as_type.loc11_54.1 (%T.as_type.9c1) = name_ref x, %x +// CHECK:STDOUT: %x.ref.loc14: @OrderedWith.loc11.%T.as_type.loc11_54.1 (%T.as_type.1cd) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc14: @OrderedWith.loc11.%U.loc11_17.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %OrderedWith.type.loc14: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc11_48.1 (constants.%OrderedWith.type.1ce6d7.2)] -// CHECK:STDOUT: %.loc14_5.1: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = specific_constant imports.%Core.import_ref.6b7, @OrderedWith.WithSelf(constants.%U, constants.%Self.5899f7.1) [symbolic = %assoc1 (constants.%assoc1.248efd.2)] -// CHECK:STDOUT: %LessOrEquivalent.ref: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = name_ref LessOrEquivalent, %.loc14_5.1 [symbolic = %assoc1 (constants.%assoc1.248efd.2)] -// CHECK:STDOUT: %impl.elem1.loc14_5.1: @OrderedWith.loc11.%.loc14_5.2 (%.951) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc14_5.2 (constants.%impl.elem1.2de)] +// CHECK:STDOUT: %OrderedWith.type.loc14: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc11_48.1 (constants.%OrderedWith.type.73dab8.2)] +// CHECK:STDOUT: %.loc14_5.1: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = specific_constant imports.%Core.import_ref.84c, @OrderedWith.WithSelf(constants.%U, constants.%Self.d014af.1) [symbolic = %assoc1 (constants.%assoc1.54de85.2)] +// CHECK:STDOUT: %LessOrEquivalent.ref: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = name_ref LessOrEquivalent, %.loc14_5.1 [symbolic = %assoc1 (constants.%assoc1.54de85.2)] +// CHECK:STDOUT: %impl.elem1.loc14_5.1: @OrderedWith.loc11.%.loc14_5.2 (%.ac4) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element1 [symbolic = %impl.elem1.loc14_5.2 (constants.%impl.elem1.939)] // CHECK:STDOUT: %bound_method.loc14_5.1: = bound_method %x.ref.loc14, %impl.elem1.loc14_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc14_5.1: = specific_impl_function %impl.elem1.loc14_5.1, @OrderedWith.WithSelf.LessOrEquivalent(constants.%U, constants.%T.589) [symbolic = %specific_impl_fn.loc14_5.2 (constants.%specific_impl_fn.315)] +// CHECK:STDOUT: %specific_impl_fn.loc14_5.1: = specific_impl_function %impl.elem1.loc14_5.1, @OrderedWith.WithSelf.LessOrEquivalent(constants.%U, constants.%T.d01) [symbolic = %specific_impl_fn.loc14_5.2 (constants.%specific_impl_fn.65b)] // CHECK:STDOUT: %bound_method.loc14_5.2: = bound_method %x.ref.loc14, %specific_impl_fn.loc14_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.call: init bool = call %bound_method.loc14_5.2(%x.ref.loc14, %y.ref.loc14) -// CHECK:STDOUT: %x.ref.loc15: @OrderedWith.loc11.%T.as_type.loc11_54.1 (%T.as_type.9c1) = name_ref x, %x +// CHECK:STDOUT: %x.ref.loc15: @OrderedWith.loc11.%T.as_type.loc11_54.1 (%T.as_type.1cd) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc15: @OrderedWith.loc11.%U.loc11_17.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %OrderedWith.type.loc15: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc11_48.1 (constants.%OrderedWith.type.1ce6d7.2)] -// CHECK:STDOUT: %.loc15_5.1: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = specific_constant imports.%Core.import_ref.bc5, @OrderedWith.WithSelf(constants.%U, constants.%Self.5899f7.1) [symbolic = %assoc2 (constants.%assoc2.cac9ed.2)] -// CHECK:STDOUT: %Greater.ref: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = name_ref Greater, %.loc15_5.1 [symbolic = %assoc2 (constants.%assoc2.cac9ed.2)] -// CHECK:STDOUT: %impl.elem2.loc15_5.1: @OrderedWith.loc11.%.loc15_5.2 (%.813) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc15_5.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %OrderedWith.type.loc15: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc11_48.1 (constants.%OrderedWith.type.73dab8.2)] +// CHECK:STDOUT: %.loc15_5.1: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = specific_constant imports.%Core.import_ref.01d, @OrderedWith.WithSelf(constants.%U, constants.%Self.d014af.1) [symbolic = %assoc2 (constants.%assoc2.3caaa9.2)] +// CHECK:STDOUT: %Greater.ref: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = name_ref Greater, %.loc15_5.1 [symbolic = %assoc2 (constants.%assoc2.3caaa9.2)] +// CHECK:STDOUT: %impl.elem2.loc15_5.1: @OrderedWith.loc11.%.loc15_5.2 (%.994) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc15_5.2 (constants.%impl.elem2)] // CHECK:STDOUT: %bound_method.loc15_5.1: = bound_method %x.ref.loc15, %impl.elem2.loc15_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc15_5.1: = specific_impl_function %impl.elem2.loc15_5.1, @OrderedWith.WithSelf.Greater(constants.%U, constants.%T.589) [symbolic = %specific_impl_fn.loc15_5.2 (constants.%specific_impl_fn.9d6)] +// CHECK:STDOUT: %specific_impl_fn.loc15_5.1: = specific_impl_function %impl.elem2.loc15_5.1, @OrderedWith.WithSelf.Greater(constants.%U, constants.%T.d01) [symbolic = %specific_impl_fn.loc15_5.2 (constants.%specific_impl_fn.6dc)] // CHECK:STDOUT: %bound_method.loc15_5.2: = bound_method %x.ref.loc15, %specific_impl_fn.loc15_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.Greater.call: init bool = call %bound_method.loc15_5.2(%x.ref.loc15, %y.ref.loc15) -// CHECK:STDOUT: %x.ref.loc16: @OrderedWith.loc11.%T.as_type.loc11_54.1 (%T.as_type.9c1) = name_ref x, %x +// CHECK:STDOUT: %x.ref.loc16: @OrderedWith.loc11.%T.as_type.loc11_54.1 (%T.as_type.1cd) = name_ref x, %x // CHECK:STDOUT: %y.ref.loc16: @OrderedWith.loc11.%U.loc11_17.1 (%U) = name_ref y, %y -// CHECK:STDOUT: %OrderedWith.type.loc16: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc11_48.1 (constants.%OrderedWith.type.1ce6d7.2)] -// CHECK:STDOUT: %.loc16_5.1: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = specific_constant imports.%Core.import_ref.cfb, @OrderedWith.WithSelf(constants.%U, constants.%Self.5899f7.1) [symbolic = %assoc3 (constants.%assoc3.9908c2.2)] -// CHECK:STDOUT: %GreaterOrEquivalent.ref: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.72f2ab.2) = name_ref GreaterOrEquivalent, %.loc16_5.1 [symbolic = %assoc3 (constants.%assoc3.9908c2.2)] -// CHECK:STDOUT: %impl.elem3.loc16_5.1: @OrderedWith.loc11.%.loc16_5.2 (%.137) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc16_5.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %OrderedWith.type.loc16: type = facet_type <@OrderedWith.1, @OrderedWith.1(constants.%U)> [symbolic = %OrderedWith.type.loc11_48.1 (constants.%OrderedWith.type.73dab8.2)] +// CHECK:STDOUT: %.loc16_5.1: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = specific_constant imports.%Core.import_ref.569, @OrderedWith.WithSelf(constants.%U, constants.%Self.d014af.1) [symbolic = %assoc3 (constants.%assoc3.4eb879.2)] +// CHECK:STDOUT: %GreaterOrEquivalent.ref: @OrderedWith.loc11.%OrderedWith.assoc_type (%OrderedWith.assoc_type.2fabd7.2) = name_ref GreaterOrEquivalent, %.loc16_5.1 [symbolic = %assoc3 (constants.%assoc3.4eb879.2)] +// CHECK:STDOUT: %impl.elem3.loc16_5.1: @OrderedWith.loc11.%.loc16_5.2 (%.eca) = impl_witness_access constants.%OrderedWith.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc16_5.2 (constants.%impl.elem3)] // CHECK:STDOUT: %bound_method.loc16_5.1: = bound_method %x.ref.loc16, %impl.elem3.loc16_5.1 -// CHECK:STDOUT: %specific_impl_fn.loc16_5.1: = specific_impl_function %impl.elem3.loc16_5.1, @OrderedWith.WithSelf.GreaterOrEquivalent(constants.%U, constants.%T.589) [symbolic = %specific_impl_fn.loc16_5.2 (constants.%specific_impl_fn.261)] +// CHECK:STDOUT: %specific_impl_fn.loc16_5.1: = specific_impl_function %impl.elem3.loc16_5.1, @OrderedWith.WithSelf.GreaterOrEquivalent(constants.%U, constants.%T.d01) [symbolic = %specific_impl_fn.loc16_5.2 (constants.%specific_impl_fn.f67)] // CHECK:STDOUT: %bound_method.loc16_5.2: = bound_method %x.ref.loc16, %specific_impl_fn.loc16_5.1 // CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.call: init bool = call %bound_method.loc16_5.2(%x.ref.loc16, %y.ref.loc16) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @EqWith.loc4(constants.%U, constants.%T.783) { +// CHECK:STDOUT: specific @EqWith.loc4(constants.%U, constants.%T.1e4) { // CHECK:STDOUT: %U.loc4_12.1 => constants.%U -// CHECK:STDOUT: %EqWith.type.loc4_38.1 => constants.%EqWith.type.1790d7.2 -// CHECK:STDOUT: %T.loc4_22.1 => constants.%T.783 -// CHECK:STDOUT: %pattern_type.loc4_22 => constants.%pattern_type.7dc -// CHECK:STDOUT: %T.as_type.loc4_44.1 => constants.%T.as_type.c92 -// CHECK:STDOUT: %pattern_type.loc4_42 => constants.%pattern_type.96b8c1.2 +// CHECK:STDOUT: %EqWith.type.loc4_38.1 => constants.%EqWith.type.e412df.2 +// CHECK:STDOUT: %T.loc4_22.1 => constants.%T.1e4 +// CHECK:STDOUT: %pattern_type.loc4_22 => constants.%pattern_type.243 +// CHECK:STDOUT: %T.as_type.loc4_44.1 => constants.%T.as_type.cf2 +// CHECK:STDOUT: %pattern_type.loc4_42 => constants.%pattern_type.479039.2 // CHECK:STDOUT: %pattern_type.loc4_48 => constants.%pattern_type.51d1c4.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @OrderedWith.loc11(constants.%U, constants.%T.589) { +// CHECK:STDOUT: specific @OrderedWith.loc11(constants.%U, constants.%T.d01) { // CHECK:STDOUT: %U.loc11_17.1 => constants.%U -// CHECK:STDOUT: %OrderedWith.type.loc11_48.1 => constants.%OrderedWith.type.1ce6d7.2 -// CHECK:STDOUT: %T.loc11_27.1 => constants.%T.589 -// CHECK:STDOUT: %pattern_type.loc11_27 => constants.%pattern_type.9c4 -// CHECK:STDOUT: %T.as_type.loc11_54.1 => constants.%T.as_type.9c1 -// CHECK:STDOUT: %pattern_type.loc11_52 => constants.%pattern_type.2e7263.2 +// CHECK:STDOUT: %OrderedWith.type.loc11_48.1 => constants.%OrderedWith.type.73dab8.2 +// CHECK:STDOUT: %T.loc11_27.1 => constants.%T.d01 +// CHECK:STDOUT: %pattern_type.loc11_27 => constants.%pattern_type.10d +// CHECK:STDOUT: %T.as_type.loc11_54.1 => constants.%T.as_type.1cd +// CHECK:STDOUT: %pattern_type.loc11_52 => constants.%pattern_type.05039a.2 // CHECK:STDOUT: %pattern_type.loc11_58 => constants.%pattern_type.51d1c4.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @EqWith.loc4(constants.%DefaultSpaceshipOnly, ) { // CHECK:STDOUT: %U.loc4_12.1 => constants.%DefaultSpaceshipOnly -// CHECK:STDOUT: %EqWith.type.loc4_38.1 => constants.%EqWith.type.d71 +// CHECK:STDOUT: %EqWith.type.loc4_38.1 => constants.%EqWith.type.f5d // CHECK:STDOUT: %T.loc4_22.1 => -// CHECK:STDOUT: %pattern_type.loc4_22 => constants.%pattern_type.375 +// CHECK:STDOUT: %pattern_type.loc4_22 => constants.%pattern_type.2b5 // CHECK:STDOUT: %T.as_type.loc4_44.1 => // CHECK:STDOUT: %pattern_type.loc4_42 => // CHECK:STDOUT: %pattern_type.loc4_48 => constants.%pattern_type.cce @@ -499,9 +499,9 @@ fn Test(returns_strong_ordering: Cpp.ReturnsStrongOrdering) { // CHECK:STDOUT: // CHECK:STDOUT: specific @OrderedWith.loc11(constants.%DefaultSpaceshipOnly, ) { // CHECK:STDOUT: %U.loc11_17.1 => constants.%DefaultSpaceshipOnly -// CHECK:STDOUT: %OrderedWith.type.loc11_48.1 => constants.%OrderedWith.type.519 +// CHECK:STDOUT: %OrderedWith.type.loc11_48.1 => constants.%OrderedWith.type.9ef // CHECK:STDOUT: %T.loc11_27.1 => -// CHECK:STDOUT: %pattern_type.loc11_27 => constants.%pattern_type.0e9 +// CHECK:STDOUT: %pattern_type.loc11_27 => constants.%pattern_type.520 // CHECK:STDOUT: %T.as_type.loc11_54.1 => // CHECK:STDOUT: %pattern_type.loc11_52 => // CHECK:STDOUT: %pattern_type.loc11_58 => constants.%pattern_type.cce @@ -509,9 +509,9 @@ fn Test(returns_strong_ordering: Cpp.ReturnsStrongOrdering) { // CHECK:STDOUT: // CHECK:STDOUT: specific @OrderedWith.loc11(constants.%ReturnsStrongOrdering, ) { // CHECK:STDOUT: %U.loc11_17.1 => constants.%ReturnsStrongOrdering -// CHECK:STDOUT: %OrderedWith.type.loc11_48.1 => constants.%OrderedWith.type.62a +// CHECK:STDOUT: %OrderedWith.type.loc11_48.1 => constants.%OrderedWith.type.f1a // CHECK:STDOUT: %T.loc11_27.1 => -// CHECK:STDOUT: %pattern_type.loc11_27 => constants.%pattern_type.453 +// CHECK:STDOUT: %pattern_type.loc11_27 => constants.%pattern_type.8f0 // CHECK:STDOUT: %T.as_type.loc11_54.1 => // CHECK:STDOUT: %pattern_type.loc11_52 => // CHECK:STDOUT: %pattern_type.loc11_58 => constants.%pattern_type.a93 @@ -519,9 +519,9 @@ fn Test(returns_strong_ordering: Cpp.ReturnsStrongOrdering) { // CHECK:STDOUT: // CHECK:STDOUT: specific @OrderedWith.loc11(constants.%ReturnsPartialOrdering, ) { // CHECK:STDOUT: %U.loc11_17.1 => constants.%ReturnsPartialOrdering -// CHECK:STDOUT: %OrderedWith.type.loc11_48.1 => constants.%OrderedWith.type.c87 +// CHECK:STDOUT: %OrderedWith.type.loc11_48.1 => constants.%OrderedWith.type.30a // CHECK:STDOUT: %T.loc11_27.1 => -// CHECK:STDOUT: %pattern_type.loc11_27 => constants.%pattern_type.ac7 +// CHECK:STDOUT: %pattern_type.loc11_27 => constants.%pattern_type.86c // CHECK:STDOUT: %T.as_type.loc11_54.1 => // CHECK:STDOUT: %pattern_type.loc11_52 => // CHECK:STDOUT: %pattern_type.loc11_58 => constants.%pattern_type.dbf @@ -529,9 +529,9 @@ fn Test(returns_strong_ordering: Cpp.ReturnsStrongOrdering) { // CHECK:STDOUT: // CHECK:STDOUT: specific @OrderedWith.loc11(constants.%CrossTypeRhs, ) { // CHECK:STDOUT: %U.loc11_17.1 => constants.%CrossTypeRhs -// CHECK:STDOUT: %OrderedWith.type.loc11_48.1 => constants.%OrderedWith.type.079 +// CHECK:STDOUT: %OrderedWith.type.loc11_48.1 => constants.%OrderedWith.type.ca0 // CHECK:STDOUT: %T.loc11_27.1 => -// CHECK:STDOUT: %pattern_type.loc11_27 => constants.%pattern_type.f80 +// CHECK:STDOUT: %pattern_type.loc11_27 => constants.%pattern_type.189 // CHECK:STDOUT: %T.as_type.loc11_54.1 => // CHECK:STDOUT: %pattern_type.loc11_52 => // CHECK:STDOUT: %pattern_type.loc11_58 => constants.%pattern_type.bd1 @@ -539,9 +539,9 @@ fn Test(returns_strong_ordering: Cpp.ReturnsStrongOrdering) { // CHECK:STDOUT: // CHECK:STDOUT: specific @OrderedWith.loc11(constants.%CrossTypeLhs, ) { // CHECK:STDOUT: %U.loc11_17.1 => constants.%CrossTypeLhs -// CHECK:STDOUT: %OrderedWith.type.loc11_48.1 => constants.%OrderedWith.type.ec4 +// CHECK:STDOUT: %OrderedWith.type.loc11_48.1 => constants.%OrderedWith.type.e89 // CHECK:STDOUT: %T.loc11_27.1 => -// CHECK:STDOUT: %pattern_type.loc11_27 => constants.%pattern_type.cee +// CHECK:STDOUT: %pattern_type.loc11_27 => constants.%pattern_type.307 // CHECK:STDOUT: %T.as_type.loc11_54.1 => // CHECK:STDOUT: %pattern_type.loc11_52 => // CHECK:STDOUT: %pattern_type.loc11_58 => constants.%pattern_type.f3d diff --git a/toolchain/check/testdata/interop/cpp/primitive_types/arithmetic.carbon b/toolchain/check/testdata/interop/cpp/primitive_types/arithmetic.carbon index e5b3145c4539..0ac8202114fa 100644 --- a/toolchain/check/testdata/interop/cpp/primitive_types/arithmetic.carbon +++ b/toolchain/check/testdata/interop/cpp/primitive_types/arithmetic.carbon @@ -116,122 +116,122 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete] // CHECK:STDOUT: %i8: type = class_type @Int, @Int(%int_8) [concrete] -// CHECK:STDOUT: %pattern_type.69f: type = pattern_type %i8 [concrete] +// CHECK:STDOUT: %pattern_type.6f2: type = pattern_type %i8 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %As.type.fe2: type = facet_type <@As, @As(%i8)> [concrete] +// CHECK:STDOUT: %As.type.3d3: type = facet_type <@As, @As(%i8)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert.1, @Core.IntLiteral.as.As.impl.47a(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.92c: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl.47a(%int_8) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.020: type = fn_type @Core.IntLiteral.as.As.impl.Convert.1, @Core.IntLiteral.as.As.impl.47a(%int_8) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.fde: %Core.IntLiteral.as.As.impl.Convert.type.020 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet.5f3: %As.type.fe2 = facet_value Core.IntLiteral, (%As.impl_witness.92c) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.4da: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i8, %As.facet.5f3) [concrete] -// CHECK:STDOUT: %.cc0: type = fn_type_with_self_type %As.WithSelf.Convert.type.4da, %As.facet.5f3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.e9d: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.fde [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.a7f: = specific_function %Core.IntLiteral.as.As.impl.Convert.fde, @Core.IntLiteral.as.As.impl.Convert.1(%int_8) [concrete] -// CHECK:STDOUT: %bound_method.729: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.a7f [concrete] -// CHECK:STDOUT: %int_1.9eb: %i8 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert.1, @Core.IntLiteral.as.As.impl.8f3(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.815: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl.8f3(%int_8) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.384: type = fn_type @Core.IntLiteral.as.As.impl.Convert.1, @Core.IntLiteral.as.As.impl.8f3(%int_8) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.b7e: %Core.IntLiteral.as.As.impl.Convert.type.384 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet.0df: %As.type.3d3 = facet_value Core.IntLiteral, (%As.impl_witness.815) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.782: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i8, %As.facet.0df) [concrete] +// CHECK:STDOUT: %.b16: type = fn_type_with_self_type %As.WithSelf.Convert.type.782, %As.facet.0df [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.7cb: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.b7e [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.95c: = specific_function %Core.IntLiteral.as.As.impl.Convert.b7e, @Core.IntLiteral.as.As.impl.Convert.1(%int_8) [concrete] +// CHECK:STDOUT: %bound_method.9c1: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.95c [concrete] +// CHECK:STDOUT: %int_1.b30: %i8 = int_value 1 [concrete] // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] -// CHECK:STDOUT: %pattern_type.0cb: type = pattern_type %i16 [concrete] -// CHECK:STDOUT: %As.type.457: type = facet_type <@As, @As(%i16)> [concrete] -// CHECK:STDOUT: %As.impl_witness.bca: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl.47a(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.36d: type = fn_type @Core.IntLiteral.as.As.impl.Convert.1, @Core.IntLiteral.as.As.impl.47a(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.036: %Core.IntLiteral.as.As.impl.Convert.type.36d = struct_value () [concrete] -// CHECK:STDOUT: %As.facet.459: %As.type.457 = facet_value Core.IntLiteral, (%As.impl_witness.bca) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.9f1: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet.459) [concrete] -// CHECK:STDOUT: %.3ca: type = fn_type_with_self_type %As.WithSelf.Convert.type.9f1, %As.facet.459 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.0cb: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.036 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.3e5: = specific_function %Core.IntLiteral.as.As.impl.Convert.036, @Core.IntLiteral.as.As.impl.Convert.1(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.6db: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.3e5 [concrete] -// CHECK:STDOUT: %int_1.962: %i16 = int_value 1 [concrete] +// CHECK:STDOUT: %pattern_type.e1b: type = pattern_type %i16 [concrete] +// CHECK:STDOUT: %As.type.fff: type = facet_type <@As, @As(%i16)> [concrete] +// CHECK:STDOUT: %As.impl_witness.16a: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl.8f3(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ced: type = fn_type @Core.IntLiteral.as.As.impl.Convert.1, @Core.IntLiteral.as.As.impl.8f3(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.0b6: %Core.IntLiteral.as.As.impl.Convert.type.ced = struct_value () [concrete] +// CHECK:STDOUT: %As.facet.af0: %As.type.fff = facet_value Core.IntLiteral, (%As.impl_witness.16a) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.28f: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i16, %As.facet.af0) [concrete] +// CHECK:STDOUT: %.696: type = fn_type_with_self_type %As.WithSelf.Convert.type.28f, %As.facet.af0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.6e7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.0b6 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.7ae: = specific_function %Core.IntLiteral.as.As.impl.Convert.0b6, @Core.IntLiteral.as.As.impl.Convert.1(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.7f7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.7ae [concrete] +// CHECK:STDOUT: %int_1.792: %i16 = int_value 1 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl.47a(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert.1, @Core.IntLiteral.as.As.impl.47a(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet.6f5: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet.6f5) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet.6f5 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.24c: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.3f5: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert.1(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.4cd: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.3f5 [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl.8f3(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert.1, @Core.IntLiteral.as.As.impl.8f3(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet.394: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet.394) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet.394 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.62b: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.75d: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert.1(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.38f: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.75d [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %u8: type = class_type @UInt, @UInt(%int_8) [concrete] -// CHECK:STDOUT: %pattern_type.b8f: type = pattern_type %u8 [concrete] -// CHECK:STDOUT: %As.type.b00: type = facet_type <@As, @As(%u8)> [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.841: type = fn_type @Core.IntLiteral.as.As.impl.Convert.2, @Core.IntLiteral.as.As.impl.a74(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.94d: %Core.IntLiteral.as.As.impl.Convert.type.841 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.68d: = impl_witness imports.%As.impl_witness_table.6bc, @Core.IntLiteral.as.As.impl.a74(%int_8) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.06b: type = fn_type @Core.IntLiteral.as.As.impl.Convert.2, @Core.IntLiteral.as.As.impl.a74(%int_8) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.5ee: %Core.IntLiteral.as.As.impl.Convert.type.06b = struct_value () [concrete] -// CHECK:STDOUT: %As.facet.753: %As.type.b00 = facet_value Core.IntLiteral, (%As.impl_witness.68d) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.eb6: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%u8, %As.facet.753) [concrete] -// CHECK:STDOUT: %.496: type = fn_type_with_self_type %As.WithSelf.Convert.type.eb6, %As.facet.753 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.75b: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.5ee [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.25c: = specific_function %Core.IntLiteral.as.As.impl.Convert.5ee, @Core.IntLiteral.as.As.impl.Convert.2(%int_8) [concrete] -// CHECK:STDOUT: %bound_method.247: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.25c [concrete] -// CHECK:STDOUT: %int_1.5de: %u8 = int_value 1 [concrete] +// CHECK:STDOUT: %pattern_type.753: type = pattern_type %u8 [concrete] +// CHECK:STDOUT: %As.type.ca5: type = facet_type <@As, @As(%u8)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.150: type = fn_type @Core.IntLiteral.as.As.impl.Convert.2, @Core.IntLiteral.as.As.impl.e75(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.b6a: %Core.IntLiteral.as.As.impl.Convert.type.150 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.d5d: = impl_witness imports.%As.impl_witness_table.613, @Core.IntLiteral.as.As.impl.e75(%int_8) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.e37: type = fn_type @Core.IntLiteral.as.As.impl.Convert.2, @Core.IntLiteral.as.As.impl.e75(%int_8) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.351: %Core.IntLiteral.as.As.impl.Convert.type.e37 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet.f5d: %As.type.ca5 = facet_value Core.IntLiteral, (%As.impl_witness.d5d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.fb4: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%u8, %As.facet.f5d) [concrete] +// CHECK:STDOUT: %.96b: type = fn_type_with_self_type %As.WithSelf.Convert.type.fb4, %As.facet.f5d [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.07b: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.351 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.4ad: = specific_function %Core.IntLiteral.as.As.impl.Convert.351, @Core.IntLiteral.as.As.impl.Convert.2(%int_8) [concrete] +// CHECK:STDOUT: %bound_method.579: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.4ad [concrete] +// CHECK:STDOUT: %int_1.96a: %u8 = int_value 1 [concrete] // CHECK:STDOUT: %u16: type = class_type @UInt, @UInt(%int_16) [concrete] -// CHECK:STDOUT: %pattern_type.f0c: type = pattern_type %u16 [concrete] -// CHECK:STDOUT: %As.type.b7f: type = facet_type <@As, @As(%u16)> [concrete] -// CHECK:STDOUT: %As.impl_witness.af6: = impl_witness imports.%As.impl_witness_table.6bc, @Core.IntLiteral.as.As.impl.a74(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2c7: type = fn_type @Core.IntLiteral.as.As.impl.Convert.2, @Core.IntLiteral.as.As.impl.a74(%int_16) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.e62: %Core.IntLiteral.as.As.impl.Convert.type.2c7 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet.d8c: %As.type.b7f = facet_value Core.IntLiteral, (%As.impl_witness.af6) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.ee6: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%u16, %As.facet.d8c) [concrete] -// CHECK:STDOUT: %.ddf: type = fn_type_with_self_type %As.WithSelf.Convert.type.ee6, %As.facet.d8c [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.e67: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.e62 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.56c: = specific_function %Core.IntLiteral.as.As.impl.Convert.e62, @Core.IntLiteral.as.As.impl.Convert.2(%int_16) [concrete] -// CHECK:STDOUT: %bound_method.14f: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.56c [concrete] -// CHECK:STDOUT: %int_1.2b4: %u16 = int_value 1 [concrete] +// CHECK:STDOUT: %pattern_type.4d0: type = pattern_type %u16 [concrete] +// CHECK:STDOUT: %As.type.d4e: type = facet_type <@As, @As(%u16)> [concrete] +// CHECK:STDOUT: %As.impl_witness.d7c: = impl_witness imports.%As.impl_witness_table.613, @Core.IntLiteral.as.As.impl.e75(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2e9: type = fn_type @Core.IntLiteral.as.As.impl.Convert.2, @Core.IntLiteral.as.As.impl.e75(%int_16) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.1df: %Core.IntLiteral.as.As.impl.Convert.type.2e9 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet.a28: %As.type.d4e = facet_value Core.IntLiteral, (%As.impl_witness.d7c) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f25: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%u16, %As.facet.a28) [concrete] +// CHECK:STDOUT: %.011: type = fn_type_with_self_type %As.WithSelf.Convert.type.f25, %As.facet.a28 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.5c7: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.1df [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.888: = specific_function %Core.IntLiteral.as.As.impl.Convert.1df, @Core.IntLiteral.as.As.impl.Convert.2(%int_16) [concrete] +// CHECK:STDOUT: %bound_method.937: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.888 [concrete] +// CHECK:STDOUT: %int_1.d36: %u16 = int_value 1 [concrete] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.632: type = pattern_type %u32 [concrete] -// CHECK:STDOUT: %As.type.ab9: type = facet_type <@As, @As(%u32)> [concrete] -// CHECK:STDOUT: %As.impl_witness.248: = impl_witness imports.%As.impl_witness_table.6bc, @Core.IntLiteral.as.As.impl.a74(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.919: type = fn_type @Core.IntLiteral.as.As.impl.Convert.2, @Core.IntLiteral.as.As.impl.a74(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.884: %Core.IntLiteral.as.As.impl.Convert.type.919 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet.d6e: %As.type.ab9 = facet_value Core.IntLiteral, (%As.impl_witness.248) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.b62: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%u32, %As.facet.d6e) [concrete] -// CHECK:STDOUT: %.325: type = fn_type_with_self_type %As.WithSelf.Convert.type.b62, %As.facet.d6e [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.b73: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.884 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.ffd: = specific_function %Core.IntLiteral.as.As.impl.Convert.884, @Core.IntLiteral.as.As.impl.Convert.2(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.caa: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.ffd [concrete] -// CHECK:STDOUT: %int_1.fbc: %u32 = int_value 1 [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.9a5: type = pattern_type %f32.750 [concrete] +// CHECK:STDOUT: %pattern_type.126: type = pattern_type %u32 [concrete] +// CHECK:STDOUT: %As.type.1f3: type = facet_type <@As, @As(%u32)> [concrete] +// CHECK:STDOUT: %As.impl_witness.e23: = impl_witness imports.%As.impl_witness_table.613, @Core.IntLiteral.as.As.impl.e75(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.ad9: type = fn_type @Core.IntLiteral.as.As.impl.Convert.2, @Core.IntLiteral.as.As.impl.e75(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.046: %Core.IntLiteral.as.As.impl.Convert.type.ad9 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet.0eb: %As.type.1f3 = facet_value Core.IntLiteral, (%As.impl_witness.e23) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.027: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%u32, %As.facet.0eb) [concrete] +// CHECK:STDOUT: %.da2: type = fn_type_with_self_type %As.WithSelf.Convert.type.027, %As.facet.0eb [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.809: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.046 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn.98e: = specific_function %Core.IntLiteral.as.As.impl.Convert.046, @Core.IntLiteral.as.As.impl.Convert.2(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.51d: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn.98e [concrete] +// CHECK:STDOUT: %int_1.ce2: %u32 = int_value 1 [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %pattern_type.f3b: type = pattern_type %f32.a26 [concrete] // CHECK:STDOUT: %float.6daae3.1: Core.FloatLiteral = float_literal_value 10e-1 [concrete] -// CHECK:STDOUT: %As.type.7ab: type = facet_type <@As, @As(%f32.750)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.221: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.90e: %Core.FloatLiteral.as.As.impl.Convert.type.221 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.7ea: = impl_witness imports.%As.impl_witness_table.e4b, @Core.FloatLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.358: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.48b: %Core.FloatLiteral.as.As.impl.Convert.type.358 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet.e3a: %As.type.7ab = facet_value Core.FloatLiteral, (%As.impl_witness.7ea) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.cfa: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f32.750, %As.facet.e3a) [concrete] -// CHECK:STDOUT: %.e98: type = fn_type_with_self_type %As.WithSelf.Convert.type.cfa, %As.facet.e3a [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound.917: = bound_method %float.6daae3.1, %Core.FloatLiteral.as.As.impl.Convert.48b [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn.20d: = specific_function %Core.FloatLiteral.as.As.impl.Convert.48b, @Core.FloatLiteral.as.As.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.4b5: = bound_method %float.6daae3.1, %Core.FloatLiteral.as.As.impl.Convert.specific_fn.20d [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] +// CHECK:STDOUT: %As.type.533: type = facet_type <@As, @As(%f32.a26)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.bad: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.df8: %Core.FloatLiteral.as.As.impl.Convert.type.bad = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.7d6: = impl_witness imports.%As.impl_witness_table.302, @Core.FloatLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.459: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.c4a: %Core.FloatLiteral.as.As.impl.Convert.type.459 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet.c37: %As.type.533 = facet_value Core.FloatLiteral, (%As.impl_witness.7d6) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.823: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f32.a26, %As.facet.c37) [concrete] +// CHECK:STDOUT: %.2d2: type = fn_type_with_self_type %As.WithSelf.Convert.type.823, %As.facet.c37 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound.d5b: = bound_method %float.6daae3.1, %Core.FloatLiteral.as.As.impl.Convert.c4a [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn.76a: = specific_function %Core.FloatLiteral.as.As.impl.Convert.c4a, @Core.FloatLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.53c: = bound_method %float.6daae3.1, %Core.FloatLiteral.as.As.impl.Convert.specific_fn.76a [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] // CHECK:STDOUT: %float.6daae3.2: Core.FloatLiteral = float_literal_value 10e-1 [concrete] -// CHECK:STDOUT: %As.type.bc9: type = facet_type <@As, @As(%f64.9a0)> [concrete] -// CHECK:STDOUT: %As.impl_witness.db2: = impl_witness imports.%As.impl_witness_table.e4b, @Core.FloatLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.350: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.048: %Core.FloatLiteral.as.As.impl.Convert.type.350 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet.8e2: %As.type.bc9 = facet_value Core.FloatLiteral, (%As.impl_witness.db2) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.f64: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f64.9a0, %As.facet.8e2) [concrete] -// CHECK:STDOUT: %.89c: type = fn_type_with_self_type %As.WithSelf.Convert.type.f64, %As.facet.8e2 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound.ad1: = bound_method %float.6daae3.2, %Core.FloatLiteral.as.As.impl.Convert.048 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn.306: = specific_function %Core.FloatLiteral.as.As.impl.Convert.048, @Core.FloatLiteral.as.As.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.bbc: = bound_method %float.6daae3.2, %Core.FloatLiteral.as.As.impl.Convert.specific_fn.306 [concrete] -// CHECK:STDOUT: %float.291: %f64.9a0 = float_value 1 [concrete] +// CHECK:STDOUT: %As.type.e53: type = facet_type <@As, @As(%f64.b55)> [concrete] +// CHECK:STDOUT: %As.impl_witness.cf2: = impl_witness imports.%As.impl_witness_table.302, @Core.FloatLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.8de: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bcc: %Core.FloatLiteral.as.As.impl.Convert.type.8de = struct_value () [concrete] +// CHECK:STDOUT: %As.facet.de6: %As.type.e53 = facet_value Core.FloatLiteral, (%As.impl_witness.cf2) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.d43: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f64.b55, %As.facet.de6) [concrete] +// CHECK:STDOUT: %.f88: type = fn_type_with_self_type %As.WithSelf.Convert.type.d43, %As.facet.de6 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound.fbd: = bound_method %float.6daae3.2, %Core.FloatLiteral.as.As.impl.Convert.bcc [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn.083: = specific_function %Core.FloatLiteral.as.As.impl.Convert.bcc, @Core.FloatLiteral.as.As.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.32f: = bound_method %float.6daae3.2, %Core.FloatLiteral.as.As.impl.Convert.specific_fn.083 [concrete] +// CHECK:STDOUT: %float.642: %f64.b55 = float_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -246,28 +246,28 @@ fn F() { // CHECK:STDOUT: .double = @F.%f64.2 // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.47a.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.47a.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl.47a [concrete] -// CHECK:STDOUT: %Core.import_ref.de1: @Core.IntLiteral.as.As.impl.a74.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.841) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.a74.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.94d)] -// CHECK:STDOUT: %As.impl_witness_table.6bc = impl_witness_table (%Core.import_ref.de1), @Core.IntLiteral.as.As.impl.a74 [concrete] -// CHECK:STDOUT: %Core.import_ref.891: @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert.type (%Core.FloatLiteral.as.As.impl.Convert.type.221) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert (constants.%Core.FloatLiteral.as.As.impl.Convert.90e)] -// CHECK:STDOUT: %As.impl_witness_table.e4b = impl_witness_table (%Core.import_ref.891), @Core.FloatLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.8f3.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.8f3.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl.8f3 [concrete] +// CHECK:STDOUT: %Core.import_ref.8db: @Core.IntLiteral.as.As.impl.e75.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.150) = import_ref Core//prelude/parts/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.e75.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.b6a)] +// CHECK:STDOUT: %As.impl_witness_table.613 = impl_witness_table (%Core.import_ref.8db), @Core.IntLiteral.as.As.impl.e75 [concrete] +// CHECK:STDOUT: %Core.import_ref.81f: @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert.type (%Core.FloatLiteral.as.As.impl.Convert.type.bad) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert (constants.%Core.FloatLiteral.as.As.impl.Convert.df8)] +// CHECK:STDOUT: %As.impl_witness_table.302 = impl_witness_table (%Core.import_ref.81f), @Core.FloatLiteral.as.As.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_signed_char.patt: %pattern_type.69f = value_binding_pattern cpp_signed_char [concrete] +// CHECK:STDOUT: %cpp_signed_char.patt: %pattern_type.6f2 = value_binding_pattern cpp_signed_char [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i8.loc8: type = type_literal constants.%i8 [concrete = constants.%i8] -// CHECK:STDOUT: %impl.elem0.loc8: %.cc0 = impl_witness_access constants.%As.impl_witness.92c, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.fde] -// CHECK:STDOUT: %bound_method.loc8_45.1: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.e9d] -// CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.As.impl.Convert.1(constants.%int_8) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.a7f] -// CHECK:STDOUT: %bound_method.loc8_45.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.729] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc8: init %i8 = call %bound_method.loc8_45.2(%int_1.loc8) [concrete = constants.%int_1.9eb] -// CHECK:STDOUT: %.loc8_45.1: %i8 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc8 [concrete = constants.%int_1.9eb] -// CHECK:STDOUT: %.loc8_45.2: %i8 = converted %int_1.loc8, %.loc8_45.1 [concrete = constants.%int_1.9eb] +// CHECK:STDOUT: %impl.elem0.loc8: %.b16 = impl_witness_access constants.%As.impl_witness.815, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.b7e] +// CHECK:STDOUT: %bound_method.loc8_45.1: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.7cb] +// CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.As.impl.Convert.1(constants.%int_8) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.95c] +// CHECK:STDOUT: %bound_method.loc8_45.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.9c1] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc8: init %i8 = call %bound_method.loc8_45.2(%int_1.loc8) [concrete = constants.%int_1.b30] +// CHECK:STDOUT: %.loc8_45.1: %i8 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc8 [concrete = constants.%int_1.b30] +// CHECK:STDOUT: %.loc8_45.2: %i8 = converted %int_1.loc8, %.loc8_45.1 [concrete = constants.%int_1.b30] // CHECK:STDOUT: %.loc8_28: type = splice_block %signed_char.ref [concrete = constants.%i8] { // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -275,23 +275,23 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_signed_char: %i8 = value_binding cpp_signed_char, %.loc8_45.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_signed_char.patt: %pattern_type.69f = value_binding_pattern carbon_signed_char [concrete] +// CHECK:STDOUT: %carbon_signed_char.patt: %pattern_type.6f2 = value_binding_pattern carbon_signed_char [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_signed_char.ref: %i8 = name_ref cpp_signed_char, %cpp_signed_char // CHECK:STDOUT: %i8.loc9: type = type_literal constants.%i8 [concrete = constants.%i8] // CHECK:STDOUT: %carbon_signed_char: %i8 = value_binding carbon_signed_char, %cpp_signed_char.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_short.patt: %pattern_type.0cb = value_binding_pattern cpp_short [concrete] +// CHECK:STDOUT: %cpp_short.patt: %pattern_type.e1b = value_binding_pattern cpp_short [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc11: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i16.loc11: type = type_literal constants.%i16 [concrete = constants.%i16] -// CHECK:STDOUT: %impl.elem0.loc11: %.3ca = impl_witness_access constants.%As.impl_witness.bca, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.036] -// CHECK:STDOUT: %bound_method.loc11_33.1: = bound_method %int_1.loc11, %impl.elem0.loc11 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.0cb] -// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem0.loc11, @Core.IntLiteral.as.As.impl.Convert.1(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.3e5] -// CHECK:STDOUT: %bound_method.loc11_33.2: = bound_method %int_1.loc11, %specific_fn.loc11 [concrete = constants.%bound_method.6db] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc11: init %i16 = call %bound_method.loc11_33.2(%int_1.loc11) [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc11_33.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc11 [concrete = constants.%int_1.962] -// CHECK:STDOUT: %.loc11_33.2: %i16 = converted %int_1.loc11, %.loc11_33.1 [concrete = constants.%int_1.962] +// CHECK:STDOUT: %impl.elem0.loc11: %.696 = impl_witness_access constants.%As.impl_witness.16a, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.0b6] +// CHECK:STDOUT: %bound_method.loc11_33.1: = bound_method %int_1.loc11, %impl.elem0.loc11 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.6e7] +// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem0.loc11, @Core.IntLiteral.as.As.impl.Convert.1(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.7ae] +// CHECK:STDOUT: %bound_method.loc11_33.2: = bound_method %int_1.loc11, %specific_fn.loc11 [concrete = constants.%bound_method.7f7] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc11: init %i16 = call %bound_method.loc11_33.2(%int_1.loc11) [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc11_33.1: %i16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc11 [concrete = constants.%int_1.792] +// CHECK:STDOUT: %.loc11_33.2: %i16 = converted %int_1.loc11, %.loc11_33.1 [concrete = constants.%int_1.792] // CHECK:STDOUT: %.loc11_22: type = splice_block %short.ref [concrete = constants.%i16] { // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -299,23 +299,23 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_short: %i16 = value_binding cpp_short, %.loc11_33.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_short.patt: %pattern_type.0cb = value_binding_pattern carbon_short [concrete] +// CHECK:STDOUT: %carbon_short.patt: %pattern_type.e1b = value_binding_pattern carbon_short [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_short.ref: %i16 = name_ref cpp_short, %cpp_short // CHECK:STDOUT: %i16.loc12: type = type_literal constants.%i16 [concrete = constants.%i16] // CHECK:STDOUT: %carbon_short: %i16 = value_binding carbon_short, %cpp_short.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_int.patt: %pattern_type.c6b = value_binding_pattern cpp_int [concrete] +// CHECK:STDOUT: %cpp_int.patt: %pattern_type.104 = value_binding_pattern cpp_int [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc14: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32.loc14: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc14: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] -// CHECK:STDOUT: %bound_method.loc14_29.1: = bound_method %int_1.loc14, %impl.elem0.loc14 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.24c] -// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14, @Core.IntLiteral.as.As.impl.Convert.1(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.3f5] -// CHECK:STDOUT: %bound_method.loc14_29.2: = bound_method %int_1.loc14, %specific_fn.loc14 [concrete = constants.%bound_method.4cd] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc14: init %i32 = call %bound_method.loc14_29.2(%int_1.loc14) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc14_29.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc14 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc14_29.2: %i32 = converted %int_1.loc14, %.loc14_29.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %impl.elem0.loc14: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] +// CHECK:STDOUT: %bound_method.loc14_29.1: = bound_method %int_1.loc14, %impl.elem0.loc14 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.62b] +// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14, @Core.IntLiteral.as.As.impl.Convert.1(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.75d] +// CHECK:STDOUT: %bound_method.loc14_29.2: = bound_method %int_1.loc14, %specific_fn.loc14 [concrete = constants.%bound_method.38f] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc14: init %i32 = call %bound_method.loc14_29.2(%int_1.loc14) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc14_29.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc14 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc14_29.2: %i32 = converted %int_1.loc14, %.loc14_29.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc14_20: type = splice_block %int.ref [concrete = constants.%i32] { // CHECK:STDOUT: %Cpp.ref.loc14: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -323,23 +323,23 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_int: %i32 = value_binding cpp_int, %.loc14_29.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_int.patt: %pattern_type.c6b = value_binding_pattern carbon_int [concrete] +// CHECK:STDOUT: %carbon_int.patt: %pattern_type.104 = value_binding_pattern carbon_int [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_int.ref: %i32 = name_ref cpp_int, %cpp_int // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %carbon_int: %i32 = value_binding carbon_int, %cpp_int.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_unsigned_char.patt: %pattern_type.b8f = value_binding_pattern cpp_unsigned_char [concrete] +// CHECK:STDOUT: %cpp_unsigned_char.patt: %pattern_type.753 = value_binding_pattern cpp_unsigned_char [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc17: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %u8.loc17: type = type_literal constants.%u8 [concrete = constants.%u8] -// CHECK:STDOUT: %impl.elem0.loc17: %.496 = impl_witness_access constants.%As.impl_witness.68d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.5ee] -// CHECK:STDOUT: %bound_method.loc17_49.1: = bound_method %int_1.loc17, %impl.elem0.loc17 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.75b] -// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @Core.IntLiteral.as.As.impl.Convert.2(constants.%int_8) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.25c] -// CHECK:STDOUT: %bound_method.loc17_49.2: = bound_method %int_1.loc17, %specific_fn.loc17 [concrete = constants.%bound_method.247] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc17: init %u8 = call %bound_method.loc17_49.2(%int_1.loc17) [concrete = constants.%int_1.5de] -// CHECK:STDOUT: %.loc17_49.1: %u8 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc17 [concrete = constants.%int_1.5de] -// CHECK:STDOUT: %.loc17_49.2: %u8 = converted %int_1.loc17, %.loc17_49.1 [concrete = constants.%int_1.5de] +// CHECK:STDOUT: %impl.elem0.loc17: %.96b = impl_witness_access constants.%As.impl_witness.d5d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.351] +// CHECK:STDOUT: %bound_method.loc17_49.1: = bound_method %int_1.loc17, %impl.elem0.loc17 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.07b] +// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @Core.IntLiteral.as.As.impl.Convert.2(constants.%int_8) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.4ad] +// CHECK:STDOUT: %bound_method.loc17_49.2: = bound_method %int_1.loc17, %specific_fn.loc17 [concrete = constants.%bound_method.579] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc17: init %u8 = call %bound_method.loc17_49.2(%int_1.loc17) [concrete = constants.%int_1.96a] +// CHECK:STDOUT: %.loc17_49.1: %u8 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc17 [concrete = constants.%int_1.96a] +// CHECK:STDOUT: %.loc17_49.2: %u8 = converted %int_1.loc17, %.loc17_49.1 [concrete = constants.%int_1.96a] // CHECK:STDOUT: %.loc17_30: type = splice_block %unsigned_char.ref [concrete = constants.%u8] { // CHECK:STDOUT: %Cpp.ref.loc17: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -347,23 +347,23 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_unsigned_char: %u8 = value_binding cpp_unsigned_char, %.loc17_49.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_unsigned_char.patt: %pattern_type.b8f = value_binding_pattern carbon_unsigned_char [concrete] +// CHECK:STDOUT: %carbon_unsigned_char.patt: %pattern_type.753 = value_binding_pattern carbon_unsigned_char [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_unsigned_char.ref: %u8 = name_ref cpp_unsigned_char, %cpp_unsigned_char // CHECK:STDOUT: %u8.loc18: type = type_literal constants.%u8 [concrete = constants.%u8] // CHECK:STDOUT: %carbon_unsigned_char: %u8 = value_binding carbon_unsigned_char, %cpp_unsigned_char.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_unsigned_short.patt: %pattern_type.f0c = value_binding_pattern cpp_unsigned_short [concrete] +// CHECK:STDOUT: %cpp_unsigned_short.patt: %pattern_type.4d0 = value_binding_pattern cpp_unsigned_short [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc20: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %u16.loc20: type = type_literal constants.%u16 [concrete = constants.%u16] -// CHECK:STDOUT: %impl.elem0.loc20: %.ddf = impl_witness_access constants.%As.impl_witness.af6, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.e62] -// CHECK:STDOUT: %bound_method.loc20_51.1: = bound_method %int_1.loc20, %impl.elem0.loc20 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.e67] -// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @Core.IntLiteral.as.As.impl.Convert.2(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.56c] -// CHECK:STDOUT: %bound_method.loc20_51.2: = bound_method %int_1.loc20, %specific_fn.loc20 [concrete = constants.%bound_method.14f] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc20: init %u16 = call %bound_method.loc20_51.2(%int_1.loc20) [concrete = constants.%int_1.2b4] -// CHECK:STDOUT: %.loc20_51.1: %u16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc20 [concrete = constants.%int_1.2b4] -// CHECK:STDOUT: %.loc20_51.2: %u16 = converted %int_1.loc20, %.loc20_51.1 [concrete = constants.%int_1.2b4] +// CHECK:STDOUT: %impl.elem0.loc20: %.011 = impl_witness_access constants.%As.impl_witness.d7c, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.1df] +// CHECK:STDOUT: %bound_method.loc20_51.1: = bound_method %int_1.loc20, %impl.elem0.loc20 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.5c7] +// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @Core.IntLiteral.as.As.impl.Convert.2(constants.%int_16) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.888] +// CHECK:STDOUT: %bound_method.loc20_51.2: = bound_method %int_1.loc20, %specific_fn.loc20 [concrete = constants.%bound_method.937] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc20: init %u16 = call %bound_method.loc20_51.2(%int_1.loc20) [concrete = constants.%int_1.d36] +// CHECK:STDOUT: %.loc20_51.1: %u16 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc20 [concrete = constants.%int_1.d36] +// CHECK:STDOUT: %.loc20_51.2: %u16 = converted %int_1.loc20, %.loc20_51.1 [concrete = constants.%int_1.d36] // CHECK:STDOUT: %.loc20_31: type = splice_block %unsigned_short.ref [concrete = constants.%u16] { // CHECK:STDOUT: %Cpp.ref.loc20: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -371,23 +371,23 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_unsigned_short: %u16 = value_binding cpp_unsigned_short, %.loc20_51.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_unsigned_short.patt: %pattern_type.f0c = value_binding_pattern carbon_unsigned_short [concrete] +// CHECK:STDOUT: %carbon_unsigned_short.patt: %pattern_type.4d0 = value_binding_pattern carbon_unsigned_short [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_unsigned_short.ref: %u16 = name_ref cpp_unsigned_short, %cpp_unsigned_short // CHECK:STDOUT: %u16.loc21: type = type_literal constants.%u16 [concrete = constants.%u16] // CHECK:STDOUT: %carbon_unsigned_short: %u16 = value_binding carbon_unsigned_short, %cpp_unsigned_short.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_unsigned_int.patt: %pattern_type.632 = value_binding_pattern cpp_unsigned_int [concrete] +// CHECK:STDOUT: %cpp_unsigned_int.patt: %pattern_type.126 = value_binding_pattern cpp_unsigned_int [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc23: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %u32.loc23: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %impl.elem0.loc23: %.325 = impl_witness_access constants.%As.impl_witness.248, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.884] -// CHECK:STDOUT: %bound_method.loc23_47.1: = bound_method %int_1.loc23, %impl.elem0.loc23 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.b73] -// CHECK:STDOUT: %specific_fn.loc23: = specific_function %impl.elem0.loc23, @Core.IntLiteral.as.As.impl.Convert.2(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.ffd] -// CHECK:STDOUT: %bound_method.loc23_47.2: = bound_method %int_1.loc23, %specific_fn.loc23 [concrete = constants.%bound_method.caa] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc23: init %u32 = call %bound_method.loc23_47.2(%int_1.loc23) [concrete = constants.%int_1.fbc] -// CHECK:STDOUT: %.loc23_47.1: %u32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc23 [concrete = constants.%int_1.fbc] -// CHECK:STDOUT: %.loc23_47.2: %u32 = converted %int_1.loc23, %.loc23_47.1 [concrete = constants.%int_1.fbc] +// CHECK:STDOUT: %impl.elem0.loc23: %.da2 = impl_witness_access constants.%As.impl_witness.e23, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.046] +// CHECK:STDOUT: %bound_method.loc23_47.1: = bound_method %int_1.loc23, %impl.elem0.loc23 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.809] +// CHECK:STDOUT: %specific_fn.loc23: = specific_function %impl.elem0.loc23, @Core.IntLiteral.as.As.impl.Convert.2(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn.98e] +// CHECK:STDOUT: %bound_method.loc23_47.2: = bound_method %int_1.loc23, %specific_fn.loc23 [concrete = constants.%bound_method.51d] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc23: init %u32 = call %bound_method.loc23_47.2(%int_1.loc23) [concrete = constants.%int_1.ce2] +// CHECK:STDOUT: %.loc23_47.1: %u32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc23 [concrete = constants.%int_1.ce2] +// CHECK:STDOUT: %.loc23_47.2: %u32 = converted %int_1.loc23, %.loc23_47.1 [concrete = constants.%int_1.ce2] // CHECK:STDOUT: %.loc23_29: type = splice_block %unsigned_int.ref [concrete = constants.%u32] { // CHECK:STDOUT: %Cpp.ref.loc23: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: @@ -395,59 +395,59 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_unsigned_int: %u32 = value_binding cpp_unsigned_int, %.loc23_47.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_unsigned_int.patt: %pattern_type.632 = value_binding_pattern carbon_unsigned_int [concrete] +// CHECK:STDOUT: %carbon_unsigned_int.patt: %pattern_type.126 = value_binding_pattern carbon_unsigned_int [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_unsigned_int.ref: %u32 = name_ref cpp_unsigned_int, %cpp_unsigned_int // CHECK:STDOUT: %u32.loc24: type = type_literal constants.%u32 [concrete = constants.%u32] // CHECK:STDOUT: %carbon_unsigned_int: %u32 = value_binding carbon_unsigned_int, %cpp_unsigned_int.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_float.patt: %pattern_type.9a5 = value_binding_pattern cpp_float [concrete] +// CHECK:STDOUT: %cpp_float.patt: %pattern_type.f3b = value_binding_pattern cpp_float [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %float.loc26: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6daae3.1] -// CHECK:STDOUT: %f32.loc26: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %impl.elem0.loc26: %.e98 = impl_witness_access constants.%As.impl_witness.7ea, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.48b] -// CHECK:STDOUT: %bound_method.loc26_35.1: = bound_method %float.loc26, %impl.elem0.loc26 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.bound.917] -// CHECK:STDOUT: %specific_fn.loc26: = specific_function %impl.elem0.loc26, @Core.FloatLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.specific_fn.20d] -// CHECK:STDOUT: %bound_method.loc26_35.2: = bound_method %float.loc26, %specific_fn.loc26 [concrete = constants.%bound_method.4b5] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call.loc26: init %f32.750 = call %bound_method.loc26_35.2(%float.loc26) [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc26_35.1: %f32.750 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call.loc26 [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc26_35.2: %f32.750 = converted %float.loc26, %.loc26_35.1 [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc26_22: type = splice_block %float.ref [concrete = constants.%f32.750] { +// CHECK:STDOUT: %f32.loc26: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %impl.elem0.loc26: %.2d2 = impl_witness_access constants.%As.impl_witness.7d6, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.c4a] +// CHECK:STDOUT: %bound_method.loc26_35.1: = bound_method %float.loc26, %impl.elem0.loc26 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.bound.d5b] +// CHECK:STDOUT: %specific_fn.loc26: = specific_function %impl.elem0.loc26, @Core.FloatLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.specific_fn.76a] +// CHECK:STDOUT: %bound_method.loc26_35.2: = bound_method %float.loc26, %specific_fn.loc26 [concrete = constants.%bound_method.53c] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call.loc26: init %f32.a26 = call %bound_method.loc26_35.2(%float.loc26) [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc26_35.1: %f32.a26 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call.loc26 [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc26_35.2: %f32.a26 = converted %float.loc26, %.loc26_35.1 [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc26_22: type = splice_block %float.ref [concrete = constants.%f32.a26] { // CHECK:STDOUT: %Cpp.ref.loc26: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %float.ref: type = name_ref float, %f32.2 [concrete = constants.%f32.750] +// CHECK:STDOUT: %float.ref: type = name_ref float, %f32.2 [concrete = constants.%f32.a26] // CHECK:STDOUT: } -// CHECK:STDOUT: %cpp_float: %f32.750 = value_binding cpp_float, %.loc26_35.2 +// CHECK:STDOUT: %cpp_float: %f32.a26 = value_binding cpp_float, %.loc26_35.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_float.patt: %pattern_type.9a5 = value_binding_pattern carbon_float [concrete] +// CHECK:STDOUT: %carbon_float.patt: %pattern_type.f3b = value_binding_pattern carbon_float [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %cpp_float.ref: %f32.750 = name_ref cpp_float, %cpp_float -// CHECK:STDOUT: %f32.loc27: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %carbon_float: %f32.750 = value_binding carbon_float, %cpp_float.ref +// CHECK:STDOUT: %cpp_float.ref: %f32.a26 = name_ref cpp_float, %cpp_float +// CHECK:STDOUT: %f32.loc27: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %carbon_float: %f32.a26 = value_binding carbon_float, %cpp_float.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_double.patt: %pattern_type.f4f = value_binding_pattern cpp_double [concrete] +// CHECK:STDOUT: %cpp_double.patt: %pattern_type.f3c = value_binding_pattern cpp_double [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %float.loc29: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6daae3.2] -// CHECK:STDOUT: %f64.loc29: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %impl.elem0.loc29: %.89c = impl_witness_access constants.%As.impl_witness.db2, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.048] -// CHECK:STDOUT: %bound_method.loc29_37.1: = bound_method %float.loc29, %impl.elem0.loc29 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.bound.ad1] -// CHECK:STDOUT: %specific_fn.loc29: = specific_function %impl.elem0.loc29, @Core.FloatLiteral.as.As.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.specific_fn.306] -// CHECK:STDOUT: %bound_method.loc29_37.2: = bound_method %float.loc29, %specific_fn.loc29 [concrete = constants.%bound_method.bbc] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call.loc29: init %f64.9a0 = call %bound_method.loc29_37.2(%float.loc29) [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc29_37.1: %f64.9a0 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call.loc29 [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc29_37.2: %f64.9a0 = converted %float.loc29, %.loc29_37.1 [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc29_23: type = splice_block %double.ref [concrete = constants.%f64.9a0] { +// CHECK:STDOUT: %f64.loc29: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %impl.elem0.loc29: %.f88 = impl_witness_access constants.%As.impl_witness.cf2, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.bcc] +// CHECK:STDOUT: %bound_method.loc29_37.1: = bound_method %float.loc29, %impl.elem0.loc29 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.bound.fbd] +// CHECK:STDOUT: %specific_fn.loc29: = specific_function %impl.elem0.loc29, @Core.FloatLiteral.as.As.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.specific_fn.083] +// CHECK:STDOUT: %bound_method.loc29_37.2: = bound_method %float.loc29, %specific_fn.loc29 [concrete = constants.%bound_method.32f] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call.loc29: init %f64.b55 = call %bound_method.loc29_37.2(%float.loc29) [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc29_37.1: %f64.b55 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call.loc29 [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc29_37.2: %f64.b55 = converted %float.loc29, %.loc29_37.1 [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc29_23: type = splice_block %double.ref [concrete = constants.%f64.b55] { // CHECK:STDOUT: %Cpp.ref.loc29: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: -// CHECK:STDOUT: %double.ref: type = name_ref double, %f64.2 [concrete = constants.%f64.9a0] +// CHECK:STDOUT: %double.ref: type = name_ref double, %f64.2 [concrete = constants.%f64.b55] // CHECK:STDOUT: } -// CHECK:STDOUT: %cpp_double: %f64.9a0 = value_binding cpp_double, %.loc29_37.2 +// CHECK:STDOUT: %cpp_double: %f64.b55 = value_binding cpp_double, %.loc29_37.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_double.patt: %pattern_type.f4f = value_binding_pattern carbon_double [concrete] +// CHECK:STDOUT: %carbon_double.patt: %pattern_type.f3c = value_binding_pattern carbon_double [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %cpp_double.ref: %f64.9a0 = name_ref cpp_double, %cpp_double -// CHECK:STDOUT: %f64.loc30: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %carbon_double: %f64.9a0 = value_binding carbon_double, %cpp_double.ref +// CHECK:STDOUT: %cpp_double.ref: %f64.b55 = name_ref cpp_double, %cpp_double +// CHECK:STDOUT: %f64.loc30: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %carbon_double: %f64.b55 = value_binding carbon_double, %cpp_double.ref // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -456,27 +456,27 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %As.type.bc9: type = facet_type <@As, @As(%f64.9a0)> [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %As.type.e53: type = facet_type <@As, @As(%f64.b55)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.221: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.90e: %Core.FloatLiteral.as.As.impl.Convert.type.221 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.db2: = impl_witness imports.%As.impl_witness_table, @Core.FloatLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.350: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.048: %Core.FloatLiteral.as.As.impl.Convert.type.350 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.bc9 = facet_value Core.FloatLiteral, (%As.impl_witness.db2) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.f64: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f64.9a0, %As.facet) [concrete] -// CHECK:STDOUT: %.89c: type = fn_type_with_self_type %As.WithSelf.Convert.type.f64, %As.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.As.impl.Convert.048 [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.As.impl.Convert.048, @Core.FloatLiteral.as.As.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.bad: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.df8: %Core.FloatLiteral.as.As.impl.Convert.type.bad = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.cf2: = impl_witness imports.%As.impl_witness_table, @Core.FloatLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.type.8de: type = fn_type @Core.FloatLiteral.as.As.impl.Convert, @Core.FloatLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bcc: %Core.FloatLiteral.as.As.impl.Convert.type.8de = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.e53 = facet_value Core.FloatLiteral, (%As.impl_witness.cf2) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.d43: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%f64.b55, %As.facet) [concrete] +// CHECK:STDOUT: %.f88: type = fn_type_with_self_type %As.WithSelf.Convert.type.d43, %As.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.As.impl.Convert.bcc [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.As.impl.Convert.bcc, @Core.FloatLiteral.as.As.impl.Convert(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %float.6da, %Core.FloatLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.291: %f64.9a0 = float_value 1 [concrete] +// CHECK:STDOUT: %float.642: %f64.b55 = float_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.891: @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert.type (%Core.FloatLiteral.as.As.impl.Convert.type.221) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert (constants.%Core.FloatLiteral.as.As.impl.Convert.90e)] -// CHECK:STDOUT: %As.impl_witness_table = impl_witness_table (%Core.import_ref.891), @Core.FloatLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.81f: @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert.type (%Core.FloatLiteral.as.As.impl.Convert.type.bad) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.As.impl.%Core.FloatLiteral.as.As.impl.Convert (constants.%Core.FloatLiteral.as.As.impl.Convert.df8)] +// CHECK:STDOUT: %As.impl_witness_table = impl_witness_table (%Core.import_ref.81f), @Core.FloatLiteral.as.As.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -485,22 +485,22 @@ fn F() { // CHECK:STDOUT: %cpp_long_double.patt: = value_binding_pattern cpp_long_double [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] -// CHECK:STDOUT: %f64.loc15: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %impl.elem0: %.89c = impl_witness_access constants.%As.impl_witness.db2, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.048] +// CHECK:STDOUT: %f64.loc15: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %impl.elem0: %.f88 = impl_witness_access constants.%As.impl_witness.cf2, element0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.bcc] // CHECK:STDOUT: %bound_method.loc15_47.1: = bound_method %float, %impl.elem0 [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.FloatLiteral.as.As.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_47.2: = bound_method %float, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call: init %f64.9a0 = call %bound_method.loc15_47.2(%float) [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc15_47.1: %f64.9a0 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call [concrete = constants.%float.291] -// CHECK:STDOUT: %.loc15_47.2: %f64.9a0 = converted %float, %.loc15_47.1 [concrete = constants.%float.291] +// CHECK:STDOUT: %Core.FloatLiteral.as.As.impl.Convert.call: init %f64.b55 = call %bound_method.loc15_47.2(%float) [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc15_47.1: %f64.b55 = value_of_initializer %Core.FloatLiteral.as.As.impl.Convert.call [concrete = constants.%float.642] +// CHECK:STDOUT: %.loc15_47.2: %f64.b55 = converted %float, %.loc15_47.1 [concrete = constants.%float.642] // CHECK:STDOUT: // CHECK:STDOUT: %cpp_long_double: = value_binding cpp_long_double, [concrete = ] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_long_double.patt: %pattern_type.f4f = value_binding_pattern carbon_long_double [concrete] +// CHECK:STDOUT: %carbon_long_double.patt: %pattern_type.f3c = value_binding_pattern carbon_long_double [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_long_double.ref: = name_ref cpp_long_double, %cpp_long_double [concrete = ] -// CHECK:STDOUT: %f64.loc16: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %carbon_long_double: %f64.9a0 = value_binding carbon_long_double, [concrete = ] +// CHECK:STDOUT: %f64.loc16: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %carbon_long_double: %f64.b55 = value_binding carbon_long_double, [concrete = ] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -512,18 +512,18 @@ fn F() { // CHECK:STDOUT: %pattern_type.9ac: type = pattern_type %unsigned_int [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %unsigned_int.Op.type: type = fn_type @unsigned_int.Op [concrete] // CHECK:STDOUT: %unsigned_int.Op: %unsigned_int.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.213: = custom_witness (%unsigned_int.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.81b: %Default.type = facet_value %unsigned_int, (%custom_witness.213) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.05d: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.81b) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %unsigned_int, (%DefaultOrUnformed.impl_witness.05d) [concrete] +// CHECK:STDOUT: %custom_witness.b26: = custom_witness (%unsigned_int.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.6ce: %Default.type = facet_value %unsigned_int, (%custom_witness.b26) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.7d5: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.6ce) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %unsigned_int, (%DefaultOrUnformed.impl_witness.7d5) [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.632: type = pattern_type %u32 [concrete] +// CHECK:STDOUT: %pattern_type.126: type = pattern_type %u32 [concrete] // CHECK:STDOUT: %unsigned_int.foo.cpp_overload_set.type: type = cpp_overload_set_type @unsigned_int.foo.cpp_overload_set [concrete] // CHECK:STDOUT: %unsigned_int.foo.cpp_overload_set.value: %unsigned_int.foo.cpp_overload_set.type = cpp_overload_set_value @unsigned_int.foo.cpp_overload_set [concrete] // CHECK:STDOUT: %unsigned_int.foo.type: type = fn_type @unsigned_int.foo [concrete] @@ -538,8 +538,8 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %unsigned_int.decl: type = class_decl @unsigned_int [concrete = constants.%unsigned_int] {} {} -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %unsigned_int.foo.cpp_overload_set.value: %unsigned_int.foo.cpp_overload_set.type = cpp_overload_set_value @unsigned_int.foo.cpp_overload_set [concrete = constants.%unsigned_int.foo.cpp_overload_set.value] // CHECK:STDOUT: %unsigned_int.foo.decl: %unsigned_int.foo.type = fn_decl @unsigned_int.foo [concrete = constants.%unsigned_int.foo] { // CHECK:STDOUT: @@ -555,7 +555,7 @@ fn F() { // CHECK:STDOUT: %unsigned_int.var_patt: %pattern_type.9ac = var_pattern %unsigned_int.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %unsigned_int.var: ref %unsigned_int = var %unsigned_int.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%unsigned_int, (constants.%DefaultOrUnformed.impl_witness.05d) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%unsigned_int, (constants.%DefaultOrUnformed.impl_witness.7d5) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc12_38.1: %DefaultOrUnformed.type = converted constants.%unsigned_int, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc12_38.1 [concrete = constants.%unsigned_int] // CHECK:STDOUT: %.loc12_38.2: type = converted %.loc12_38.1, %as_type [concrete = constants.%unsigned_int] @@ -569,7 +569,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %unsigned_int: ref %unsigned_int = ref_binding unsigned_int, %unsigned_int.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.632 = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.126 = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %unsigned_int.ref.loc13: ref %unsigned_int = name_ref unsigned_int, %unsigned_int // CHECK:STDOUT: %foo.ref: %unsigned_int.foo.cpp_overload_set.type = name_ref foo, imports.%unsigned_int.foo.cpp_overload_set.value [concrete = constants.%unsigned_int.foo.cpp_overload_set.value] diff --git a/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.llp64.carbon b/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.llp64.carbon index b74f8631ce0d..df8c3df0ce99 100644 --- a/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.llp64.carbon +++ b/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.llp64.carbon @@ -690,72 +690,72 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.c8a: type = pattern_type %i64 [concrete] +// CHECK:STDOUT: %pattern_type.fdd: type = pattern_type %i64 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.e82: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.08a: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From.fe9: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.2f8: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From.fe9) [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.7c2: %Int.as.ImplicitAs.impl.Convert.type.2f8 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.a33: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.d03: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.d03 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.b11: %ImplicitAs.type.e82 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.a33) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.486: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i64, %ImplicitAs.facet.b11) [concrete] -// CHECK:STDOUT: %.036: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.486, %ImplicitAs.facet.b11 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.3b9: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.9e7: %i64 = int_value 1 [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.f73: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From.fe9) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.34b: %Int.as.ImplicitAs.impl.Convert.type.f73 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.35c: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.fc2: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.fc2 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.8a1: %ImplicitAs.type.08a = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.35c) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.744: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i64, %ImplicitAs.facet.8a1) [concrete] +// CHECK:STDOUT: %.d4c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.744, %ImplicitAs.facet.8a1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.072: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.0f3: %i64 = int_value 1 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %As.type.66a: type = facet_type <@As, @As(%i64)> [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.32d: = impl_witness imports.%As.impl_witness_table.913, @Core.IntLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.faf: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.370: %Core.IntLiteral.as.As.impl.Convert.type.faf = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.66a = facet_value Core.IntLiteral, (%As.impl_witness.32d) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.ee4: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i64, %As.facet) [concrete] -// CHECK:STDOUT: %.feb: type = fn_type_with_self_type %As.WithSelf.Convert.type.ee4, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.370 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.370, @Core.IntLiteral.as.As.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.c14: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.e8a: = impl_witness imports.%ImplicitAs.impl_witness_table.9df, @Int.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.35f: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.f2c: %Int.as.ImplicitAs.impl.Convert.type.35f = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.607: %ImplicitAs.type.4bd = facet_value %i64, (%ImplicitAs.impl_witness.e8a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.374: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.607) [concrete] -// CHECK:STDOUT: %.d1c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.374, %ImplicitAs.facet.607 [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.9e7, %Int.as.ImplicitAs.impl.Convert.f2c [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.f2c, @Int.as.ImplicitAs.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.181: = bound_method %int_1.9e7, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.750 [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %As.type.b69: type = facet_type <@As, @As(%i64)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.0e9: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.8db: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.fb1: %Core.IntLiteral.as.As.impl.Convert.type.8db = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.b69 = facet_value Core.IntLiteral, (%As.impl_witness.0e9) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.553: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i64, %As.facet) [concrete] +// CHECK:STDOUT: %.9b9: type = fn_type_with_self_type %As.WithSelf.Convert.type.553, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.fb1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.fb1, @Core.IntLiteral.as.As.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.b27: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.4e4: = impl_witness imports.%ImplicitAs.impl_witness_table.eac, @Int.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.382: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.63c: %Int.as.ImplicitAs.impl.Convert.type.382 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.643: %ImplicitAs.type.ace = facet_value %i64, (%ImplicitAs.impl_witness.4e4) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.aac: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.643) [concrete] +// CHECK:STDOUT: %.737: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.aac, %ImplicitAs.facet.643 [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.0f3, %Int.as.ImplicitAs.impl.Convert.63c [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.63c, @Int.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.e78: = bound_method %int_1.0f3, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.a26 [concrete] // CHECK:STDOUT: %f32.9b3: type = float_type %int_32, f32 [concrete] -// CHECK:STDOUT: %pattern_type.ee6: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.aab: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] // CHECK:STDOUT: %tuple.type: type = tuple_type (Core.FloatLiteral) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%float.6da) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.1dd: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.750)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bfc: = impl_witness imports.%ImplicitAs.impl_witness_table.3c0, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.9f5: %ImplicitAs.type.1dd = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.bfc) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.750, %ImplicitAs.facet.9f5) [concrete] -// CHECK:STDOUT: %.28b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68e, %ImplicitAs.facet.9f5 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.5a8: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%float.467) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc11_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.d0d: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.a26)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.65d: = impl_witness imports.%ImplicitAs.impl_witness_table.234, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.82a: %ImplicitAs.type.d0d = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.65d) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c87: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.a26, %ImplicitAs.facet.82a) [concrete] +// CHECK:STDOUT: %.3a8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c87, %ImplicitAs.facet.82a [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.aaa: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%float.2ec) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc11_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -763,20 +763,20 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .long_long = @F.%i64.2 // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.321: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.2f8) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.7c2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.9df = impl_witness_table (%Core.import_ref.321), @Int.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.4af: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.913 = impl_witness_table (%Core.import_ref.4af), @Core.IntLiteral.as.As.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.831: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3c0 = impl_witness_table (%Core.import_ref.831), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.835: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.f73) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.34b)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eac = impl_witness_table (%Core.import_ref.835), @Int.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.234 = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_long_long.patt: %pattern_type.c8a = value_binding_pattern cpp_long_long [concrete] +// CHECK:STDOUT: %cpp_long_long.patt: %pattern_type.fdd = value_binding_pattern cpp_long_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc8_25: type = splice_block %long_long.ref.loc8 [concrete = constants.%i64] { @@ -784,69 +784,69 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: // CHECK:STDOUT: %long_long.ref.loc8: type = name_ref long_long, %i64.2 [concrete = constants.%i64] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc8: %.036 = impl_witness_access constants.%ImplicitAs.impl_witness.a33, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6] +// CHECK:STDOUT: %impl.elem0.loc8: %.d4c = impl_witness_access constants.%ImplicitAs.impl_witness.35c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5] // CHECK:STDOUT: %bound_method.loc8_38.1: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_38.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.3b9] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i64 = call %bound_method.loc8_38.2(%int_1.loc8) [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc8_38.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc8_38.2: %i64 = converted %int_1.loc8, %.loc8_38.1 [concrete = constants.%int_1.9e7] +// CHECK:STDOUT: %bound_method.loc8_38.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.072] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i64 = call %bound_method.loc8_38.2(%int_1.loc8) [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc8_38.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc8_38.2: %i64 = converted %int_1.loc8, %.loc8_38.1 [concrete = constants.%int_1.0f3] // CHECK:STDOUT: %cpp_long_long: %i64 = value_binding cpp_long_long, %.loc8_38.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_long_long.patt: %pattern_type.c8a = value_binding_pattern carbon_long_long [concrete] +// CHECK:STDOUT: %carbon_long_long.patt: %pattern_type.fdd = value_binding_pattern carbon_long_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_long_long.ref: %i64 = name_ref cpp_long_long, %cpp_long_long // CHECK:STDOUT: %i64.loc9: type = type_literal constants.%i64 [concrete = constants.%i64] // CHECK:STDOUT: %carbon_long_long: %i64 = value_binding carbon_long_long, %cpp_long_long.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.ee6 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.ee6 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.aab = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.aab = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] // CHECK:STDOUT: %.loc11_55.1: %tuple.type = tuple_literal (%float) [concrete = constants.%tuple] -// CHECK:STDOUT: %impl.elem0.loc11_55: %.28b = impl_witness_access constants.%ImplicitAs.impl_witness.bfc, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] +// CHECK:STDOUT: %impl.elem0.loc11_55: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] // CHECK:STDOUT: %bound_method.loc11_55.1: = bound_method %float, %impl.elem0.loc11_55 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_55: = specific_function %impl.elem0.loc11_55, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_55.2: = bound_method %float, %specific_fn.loc11_55 [concrete = constants.%bound_method.5a8] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.750 = call %bound_method.loc11_55.2(%float) [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc11_55.2: init %f32.750 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.467] +// CHECK:STDOUT: %bound_method.loc11_55.2: = bound_method %float, %specific_fn.loc11_55 [concrete = constants.%bound_method.aaa] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.a26 = call %bound_method.loc11_55.2(%float) [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc11_55.2: init %f32.a26 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.2ec] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %.loc11_55.3: ref %f32.750 = array_index %a.var, %int_0 -// CHECK:STDOUT: %.loc11_55.4: init %f32.750 to %.loc11_55.3 = in_place_init %.loc11_55.2 [concrete = constants.%float.467] +// CHECK:STDOUT: %.loc11_55.3: ref %f32.a26 = array_index %a.var, %int_0 +// CHECK:STDOUT: %.loc11_55.4: init %f32.a26 to %.loc11_55.3 = in_place_init %.loc11_55.2 [concrete = constants.%float.2ec] // CHECK:STDOUT: %.loc11_55.5: init %array_type to %a.var = array_init (%.loc11_55.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc11_3: init %array_type = converted %.loc11_55.1, %.loc11_55.5 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc11_3 // CHECK:STDOUT: %.loc11_46: type = splice_block %array_type [concrete = constants.%array_type] { -// CHECK:STDOUT: %f32: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] +// CHECK:STDOUT: %f32: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] // CHECK:STDOUT: %int_1.loc11: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long_long.ref.loc11: type = name_ref long_long, %i64.2 [concrete = constants.%i64] -// CHECK:STDOUT: %impl.elem0.loc11_30.1: %.feb = impl_witness_access constants.%As.impl_witness.32d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.370] +// CHECK:STDOUT: %impl.elem0.loc11_30.1: %.9b9 = impl_witness_access constants.%As.impl_witness.0e9, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.fb1] // CHECK:STDOUT: %bound_method.loc11_30.1: = bound_method %int_1.loc11, %impl.elem0.loc11_30.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_30.1: = specific_function %impl.elem0.loc11_30.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_30.2: = bound_method %int_1.loc11, %specific_fn.loc11_30.1 [concrete = constants.%bound_method.c14] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i64 = call %bound_method.loc11_30.2(%int_1.loc11) [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc11_30.1: %i64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc11_30.2: %i64 = converted %int_1.loc11, %.loc11_30.1 [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %impl.elem0.loc11_30.2: %.d1c = impl_witness_access constants.%ImplicitAs.impl_witness.e8a, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.f2c] +// CHECK:STDOUT: %bound_method.loc11_30.2: = bound_method %int_1.loc11, %specific_fn.loc11_30.1 [concrete = constants.%bound_method.b27] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i64 = call %bound_method.loc11_30.2(%int_1.loc11) [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc11_30.1: %i64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc11_30.2: %i64 = converted %int_1.loc11, %.loc11_30.1 [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %impl.elem0.loc11_30.2: %.737 = impl_witness_access constants.%ImplicitAs.impl_witness.4e4, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.63c] // CHECK:STDOUT: %bound_method.loc11_30.3: = bound_method %.loc11_30.2, %impl.elem0.loc11_30.2 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_30.2: = specific_function %impl.elem0.loc11_30.2, @Int.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Int.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_30.4: = bound_method %.loc11_30.2, %specific_fn.loc11_30.2 [concrete = constants.%bound_method.181] +// CHECK:STDOUT: %bound_method.loc11_30.4: = bound_method %.loc11_30.2, %specific_fn.loc11_30.2 [concrete = constants.%bound_method.e78] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.loc11_30.4(%.loc11_30.2) [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc11_30.3: Core.IntLiteral = value_of_initializer %Int.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc11_30.4: Core.IntLiteral = converted %.loc11_30.2, %.loc11_30.3 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %array_type: type = array_type %.loc11_30.4, %f32 [concrete = constants.%array_type] // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.1(%self.param: ref %f32.9b3) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %f32.750) { +// CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %f32.a26) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -863,72 +863,72 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %u64: type = class_type @UInt, @UInt(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.bb8: type = pattern_type %u64 [concrete] +// CHECK:STDOUT: %pattern_type.597: type = pattern_type %u64 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.704: type = facet_type <@ImplicitAs, @ImplicitAs(%u64)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.9b6: type = facet_type <@ImplicitAs, @ImplicitAs(%u64)> [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.498: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From.fe9: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.type.dce: type = fn_type @UInt.as.ImplicitAs.impl.Convert.1, @UInt.as.ImplicitAs.impl.1b7(%From.fe9) [symbolic] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.60d: %UInt.as.ImplicitAs.impl.Convert.type.dce = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.093: = impl_witness imports.%ImplicitAs.impl_witness_table.c97, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.de8: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3e4: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.de8 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.338: %ImplicitAs.type.704 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.093) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.25c: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u64, %ImplicitAs.facet.338) [concrete] -// CHECK:STDOUT: %.f05: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.25c, %ImplicitAs.facet.338 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3e4 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.3e4, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.818: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.21a: %u64 = int_value 1 [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.type.594: type = fn_type @UInt.as.ImplicitAs.impl.Convert.1, @UInt.as.ImplicitAs.impl.791(%From.fe9) [symbolic] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.141: %UInt.as.ImplicitAs.impl.Convert.type.594 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.248: = impl_witness imports.%ImplicitAs.impl_witness_table.0c6, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.dbe: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.b79: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.dbe = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.b50: %ImplicitAs.type.9b6 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.248) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.a9d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u64, %ImplicitAs.facet.b50) [concrete] +// CHECK:STDOUT: %.200: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.a9d, %ImplicitAs.facet.b50 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.b79 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.b79, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.231: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.8a8: %u64 = int_value 1 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %As.type.689: type = facet_type <@As, @As(%u64)> [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.841: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.94d: %Core.IntLiteral.as.As.impl.Convert.type.841 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.03f: = impl_witness imports.%As.impl_witness_table.db7, @Core.IntLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.c59: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.c9b: %Core.IntLiteral.as.As.impl.Convert.type.c59 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.689 = facet_value Core.IntLiteral, (%As.impl_witness.03f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.479: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%u64, %As.facet) [concrete] -// CHECK:STDOUT: %.37a: type = fn_type_with_self_type %As.WithSelf.Convert.type.479, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.c9b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.c9b, @Core.IntLiteral.as.As.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.eb6: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.c34: = impl_witness imports.%ImplicitAs.impl_witness_table.3d8, @UInt.as.ImplicitAs.impl.1b7(%int_64) [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.type.22d: type = fn_type @UInt.as.ImplicitAs.impl.Convert.1, @UInt.as.ImplicitAs.impl.1b7(%int_64) [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.8c3: %UInt.as.ImplicitAs.impl.Convert.type.22d = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.2d5: %ImplicitAs.type.4bd = facet_value %u64, (%ImplicitAs.impl_witness.c34) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b9f: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.2d5) [concrete] -// CHECK:STDOUT: %.511: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b9f, %ImplicitAs.facet.2d5 [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.21a, %UInt.as.ImplicitAs.impl.Convert.8c3 [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %UInt.as.ImplicitAs.impl.Convert.8c3, @UInt.as.ImplicitAs.impl.Convert.1(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.699: = bound_method %int_1.21a, %UInt.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.750 [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %As.type.8af: type = facet_type <@As, @As(%u64)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.150: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.b6a: %Core.IntLiteral.as.As.impl.Convert.type.150 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.042: = impl_witness imports.%As.impl_witness_table.613, @Core.IntLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.72b: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.113: %Core.IntLiteral.as.As.impl.Convert.type.72b = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.8af = facet_value Core.IntLiteral, (%As.impl_witness.042) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.ed7: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%u64, %As.facet) [concrete] +// CHECK:STDOUT: %.528: type = fn_type_with_self_type %As.WithSelf.Convert.type.ed7, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.113 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.113, @Core.IntLiteral.as.As.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.e13: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.569: = impl_witness imports.%ImplicitAs.impl_witness_table.1b2, @UInt.as.ImplicitAs.impl.791(%int_64) [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.type.fea: type = fn_type @UInt.as.ImplicitAs.impl.Convert.1, @UInt.as.ImplicitAs.impl.791(%int_64) [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.7f4: %UInt.as.ImplicitAs.impl.Convert.type.fea = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.f07: %ImplicitAs.type.ace = facet_value %u64, (%ImplicitAs.impl_witness.569) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.85c: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.f07) [concrete] +// CHECK:STDOUT: %.71b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.85c, %ImplicitAs.facet.f07 [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.8a8, %UInt.as.ImplicitAs.impl.Convert.7f4 [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %UInt.as.ImplicitAs.impl.Convert.7f4, @UInt.as.ImplicitAs.impl.Convert.1(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.fb5: = bound_method %int_1.8a8, %UInt.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.a26 [concrete] // CHECK:STDOUT: %f32.9b3: type = float_type %int_32, f32 [concrete] -// CHECK:STDOUT: %pattern_type.ee6: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.aab: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] // CHECK:STDOUT: %tuple.type: type = tuple_type (Core.FloatLiteral) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%float.6da) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.1dd: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.750)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bfc: = impl_witness imports.%ImplicitAs.impl_witness_table.3c0, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.9f5: %ImplicitAs.type.1dd = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.bfc) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.750, %ImplicitAs.facet.9f5) [concrete] -// CHECK:STDOUT: %.28b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68e, %ImplicitAs.facet.9f5 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.5a8: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%float.467) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc11_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.d0d: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.a26)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.65d: = impl_witness imports.%ImplicitAs.impl_witness_table.234, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.82a: %ImplicitAs.type.d0d = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.65d) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c87: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.a26, %ImplicitAs.facet.82a) [concrete] +// CHECK:STDOUT: %.3a8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c87, %ImplicitAs.facet.82a [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.aaa: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%float.2ec) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc11_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -936,20 +936,20 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .unsigned_long_long = @F.%u64.2 // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.0ae: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.c97 = impl_witness_table (%Core.import_ref.0ae), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.767: @UInt.as.ImplicitAs.impl.1b7.%UInt.as.ImplicitAs.impl.Convert.type (%UInt.as.ImplicitAs.impl.Convert.type.dce) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.ImplicitAs.impl.1b7.%UInt.as.ImplicitAs.impl.Convert (constants.%UInt.as.ImplicitAs.impl.Convert.60d)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3d8 = impl_witness_table (%Core.import_ref.767), @UInt.as.ImplicitAs.impl.1b7 [concrete] -// CHECK:STDOUT: %Core.import_ref.c1c: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.841) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.94d)] -// CHECK:STDOUT: %As.impl_witness_table.db7 = impl_witness_table (%Core.import_ref.c1c), @Core.IntLiteral.as.As.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.831: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3c0 = impl_witness_table (%Core.import_ref.831), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.e9f: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.498)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0c6 = impl_witness_table (%Core.import_ref.e9f), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.96b: @UInt.as.ImplicitAs.impl.791.%UInt.as.ImplicitAs.impl.Convert.type (%UInt.as.ImplicitAs.impl.Convert.type.594) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.ImplicitAs.impl.791.%UInt.as.ImplicitAs.impl.Convert (constants.%UInt.as.ImplicitAs.impl.Convert.141)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1b2 = impl_witness_table (%Core.import_ref.96b), @UInt.as.ImplicitAs.impl.791 [concrete] +// CHECK:STDOUT: %Core.import_ref.8db: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.150) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.b6a)] +// CHECK:STDOUT: %As.impl_witness_table.613 = impl_witness_table (%Core.import_ref.8db), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.234 = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_unsigned_long_long.patt: %pattern_type.bb8 = value_binding_pattern cpp_unsigned_long_long [concrete] +// CHECK:STDOUT: %cpp_unsigned_long_long.patt: %pattern_type.597 = value_binding_pattern cpp_unsigned_long_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc8_34: type = splice_block %unsigned_long_long.ref.loc8 [concrete = constants.%u64] { @@ -957,69 +957,69 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: // CHECK:STDOUT: %unsigned_long_long.ref.loc8: type = name_ref unsigned_long_long, %u64.2 [concrete = constants.%u64] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc8: %.f05 = impl_witness_access constants.%ImplicitAs.impl_witness.093, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3e4] +// CHECK:STDOUT: %impl.elem0.loc8: %.200 = impl_witness_access constants.%ImplicitAs.impl_witness.248, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.b79] // CHECK:STDOUT: %bound_method.loc8_56.1: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_56.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.818] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %u64 = call %bound_method.loc8_56.2(%int_1.loc8) [concrete = constants.%int_1.21a] -// CHECK:STDOUT: %.loc8_56.1: %u64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.21a] -// CHECK:STDOUT: %.loc8_56.2: %u64 = converted %int_1.loc8, %.loc8_56.1 [concrete = constants.%int_1.21a] +// CHECK:STDOUT: %bound_method.loc8_56.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.231] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %u64 = call %bound_method.loc8_56.2(%int_1.loc8) [concrete = constants.%int_1.8a8] +// CHECK:STDOUT: %.loc8_56.1: %u64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.8a8] +// CHECK:STDOUT: %.loc8_56.2: %u64 = converted %int_1.loc8, %.loc8_56.1 [concrete = constants.%int_1.8a8] // CHECK:STDOUT: %cpp_unsigned_long_long: %u64 = value_binding cpp_unsigned_long_long, %.loc8_56.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_unsigned_long_long.patt: %pattern_type.bb8 = value_binding_pattern carbon_unsigned_long_long [concrete] +// CHECK:STDOUT: %carbon_unsigned_long_long.patt: %pattern_type.597 = value_binding_pattern carbon_unsigned_long_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_unsigned_long_long.ref: %u64 = name_ref cpp_unsigned_long_long, %cpp_unsigned_long_long // CHECK:STDOUT: %u64.loc9: type = type_literal constants.%u64 [concrete = constants.%u64] // CHECK:STDOUT: %carbon_unsigned_long_long: %u64 = value_binding carbon_unsigned_long_long, %cpp_unsigned_long_long.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.ee6 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.ee6 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.aab = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.aab = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] // CHECK:STDOUT: %.loc11_64.1: %tuple.type = tuple_literal (%float) [concrete = constants.%tuple] -// CHECK:STDOUT: %impl.elem0.loc11_64: %.28b = impl_witness_access constants.%ImplicitAs.impl_witness.bfc, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] +// CHECK:STDOUT: %impl.elem0.loc11_64: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] // CHECK:STDOUT: %bound_method.loc11_64.1: = bound_method %float, %impl.elem0.loc11_64 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_64: = specific_function %impl.elem0.loc11_64, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_64.2: = bound_method %float, %specific_fn.loc11_64 [concrete = constants.%bound_method.5a8] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.750 = call %bound_method.loc11_64.2(%float) [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc11_64.2: init %f32.750 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.467] +// CHECK:STDOUT: %bound_method.loc11_64.2: = bound_method %float, %specific_fn.loc11_64 [concrete = constants.%bound_method.aaa] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.a26 = call %bound_method.loc11_64.2(%float) [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc11_64.2: init %f32.a26 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.2ec] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %.loc11_64.3: ref %f32.750 = array_index %a.var, %int_0 -// CHECK:STDOUT: %.loc11_64.4: init %f32.750 to %.loc11_64.3 = in_place_init %.loc11_64.2 [concrete = constants.%float.467] +// CHECK:STDOUT: %.loc11_64.3: ref %f32.a26 = array_index %a.var, %int_0 +// CHECK:STDOUT: %.loc11_64.4: init %f32.a26 to %.loc11_64.3 = in_place_init %.loc11_64.2 [concrete = constants.%float.2ec] // CHECK:STDOUT: %.loc11_64.5: init %array_type to %a.var = array_init (%.loc11_64.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc11_3: init %array_type = converted %.loc11_64.1, %.loc11_64.5 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc11_3 // CHECK:STDOUT: %.loc11_55: type = splice_block %array_type [concrete = constants.%array_type] { -// CHECK:STDOUT: %f32: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] +// CHECK:STDOUT: %f32: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] // CHECK:STDOUT: %int_1.loc11: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %unsigned_long_long.ref.loc11: type = name_ref unsigned_long_long, %u64.2 [concrete = constants.%u64] -// CHECK:STDOUT: %impl.elem0.loc11_30.1: %.37a = impl_witness_access constants.%As.impl_witness.03f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.c9b] +// CHECK:STDOUT: %impl.elem0.loc11_30.1: %.528 = impl_witness_access constants.%As.impl_witness.042, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.113] // CHECK:STDOUT: %bound_method.loc11_30.1: = bound_method %int_1.loc11, %impl.elem0.loc11_30.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_30.1: = specific_function %impl.elem0.loc11_30.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_30.2: = bound_method %int_1.loc11, %specific_fn.loc11_30.1 [concrete = constants.%bound_method.eb6] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %u64 = call %bound_method.loc11_30.2(%int_1.loc11) [concrete = constants.%int_1.21a] -// CHECK:STDOUT: %.loc11_30.1: %u64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.21a] -// CHECK:STDOUT: %.loc11_30.2: %u64 = converted %int_1.loc11, %.loc11_30.1 [concrete = constants.%int_1.21a] -// CHECK:STDOUT: %impl.elem0.loc11_30.2: %.511 = impl_witness_access constants.%ImplicitAs.impl_witness.c34, element0 [concrete = constants.%UInt.as.ImplicitAs.impl.Convert.8c3] +// CHECK:STDOUT: %bound_method.loc11_30.2: = bound_method %int_1.loc11, %specific_fn.loc11_30.1 [concrete = constants.%bound_method.e13] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %u64 = call %bound_method.loc11_30.2(%int_1.loc11) [concrete = constants.%int_1.8a8] +// CHECK:STDOUT: %.loc11_30.1: %u64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.8a8] +// CHECK:STDOUT: %.loc11_30.2: %u64 = converted %int_1.loc11, %.loc11_30.1 [concrete = constants.%int_1.8a8] +// CHECK:STDOUT: %impl.elem0.loc11_30.2: %.71b = impl_witness_access constants.%ImplicitAs.impl_witness.569, element0 [concrete = constants.%UInt.as.ImplicitAs.impl.Convert.7f4] // CHECK:STDOUT: %bound_method.loc11_30.3: = bound_method %.loc11_30.2, %impl.elem0.loc11_30.2 [concrete = constants.%UInt.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_30.2: = specific_function %impl.elem0.loc11_30.2, @UInt.as.ImplicitAs.impl.Convert.1(constants.%int_64) [concrete = constants.%UInt.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_30.4: = bound_method %.loc11_30.2, %specific_fn.loc11_30.2 [concrete = constants.%bound_method.699] +// CHECK:STDOUT: %bound_method.loc11_30.4: = bound_method %.loc11_30.2, %specific_fn.loc11_30.2 [concrete = constants.%bound_method.fb5] // CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.loc11_30.4(%.loc11_30.2) [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc11_30.3: Core.IntLiteral = value_of_initializer %UInt.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc11_30.4: Core.IntLiteral = converted %.loc11_30.2, %.loc11_30.3 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %array_type: type = array_type %.loc11_30.4, %f32 [concrete = constants.%array_type] // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.1(%self.param: ref %f32.9b3) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %f32.750) { +// CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %f32.a26) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1039,23 +1039,23 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.3c3: type = pattern_type %Cpp.long [concrete] +// CHECK:STDOUT: %pattern_type.83e: type = pattern_type %Cpp.long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.2b7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6fa: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.e82: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.134: = impl_witness imports.%ImplicitAs.impl_witness_table.15d [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.a52: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.134) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bb3: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %.30b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bb3, %ImplicitAs.facet.a52 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.08a: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e41: = impl_witness imports.%ImplicitAs.impl_witness_table.293 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.c09: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e41) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.93b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %.f84: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.93b, %ImplicitAs.facet.c09 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.1 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce [concrete] -// CHECK:STDOUT: %int_1.b8e: %Cpp.long = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.3d0: %Cpp.long = int_value 1 [concrete] // CHECK:STDOUT: %LongResult: type = class_type @LongResult [concrete] // CHECK:STDOUT: %pattern_type.676: type = pattern_type %LongResult [concrete] // CHECK:STDOUT: %PassLong.cpp_overload_set.type: type = cpp_overload_set_type @PassLong.cpp_overload_set [concrete] @@ -1063,63 +1063,63 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %ptr.c5a: type = ptr_type %LongResult [concrete] // CHECK:STDOUT: %PassLong__carbon_thunk.type.972681.1: type = fn_type @PassLong__carbon_thunk.1 [concrete] // CHECK:STDOUT: %PassLong__carbon_thunk.b57a85.1: %PassLong__carbon_thunk.type.972681.1 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %IntResult: type = class_type @IntResult [concrete] // CHECK:STDOUT: %pattern_type.47e: type = pattern_type %IntResult [concrete] // CHECK:STDOUT: %ptr.ff0: type = ptr_type %IntResult [concrete] // CHECK:STDOUT: %PassLong__carbon_thunk.type.972681.2: type = fn_type @PassLong__carbon_thunk.2 [concrete] // CHECK:STDOUT: %PassLong__carbon_thunk.b57a85.2: %PassLong__carbon_thunk.type.972681.2 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.c8a: type = pattern_type %i64 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.25e: = impl_witness imports.%ImplicitAs.impl_witness_table.7b8 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.0a0: %ImplicitAs.type.e82 = facet_value %Cpp.long, (%ImplicitAs.impl_witness.25e) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.10f: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i64, %ImplicitAs.facet.0a0) [concrete] -// CHECK:STDOUT: %.799: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.10f, %ImplicitAs.facet.0a0 [concrete] +// CHECK:STDOUT: %pattern_type.fdd: type = pattern_type %i64 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e25: = impl_witness imports.%ImplicitAs.impl_witness_table.0d0 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.07b: %ImplicitAs.type.08a = facet_value %Cpp.long, (%ImplicitAs.impl_witness.e25) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bbd: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i64, %ImplicitAs.facet.07b) [concrete] +// CHECK:STDOUT: %.ed6: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bbd, %ImplicitAs.facet.07b [concrete] // CHECK:STDOUT: %Cpp.long.as.ImplicitAs.impl.Convert.type.ae6f4c.1: type = fn_type @Cpp.long.as.ImplicitAs.impl.Convert.1 [concrete] // CHECK:STDOUT: %Cpp.long.as.ImplicitAs.impl.Convert.3cefb0.1: %Cpp.long.as.ImplicitAs.impl.Convert.type.ae6f4c.1 = struct_value () [concrete] // CHECK:STDOUT: %Float.type: type = generic_class_type @Float [concrete] // CHECK:STDOUT: %Float.generic: %Float.type = struct_value () [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.60d: type = facet_type <@As, @As(%Cpp.long)> [concrete] -// CHECK:STDOUT: %As.impl_witness.210: = impl_witness imports.%As.impl_witness_table.904 [concrete] -// CHECK:STDOUT: %As.facet: %As.type.60d = facet_value Core.IntLiteral, (%As.impl_witness.210) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.b06: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%Cpp.long, %As.facet) [concrete] -// CHECK:STDOUT: %.e05: type = fn_type_with_self_type %As.WithSelf.Convert.type.b06, %As.facet [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.4f6: type = facet_type <@As, @As(%Cpp.long)> [concrete] +// CHECK:STDOUT: %As.impl_witness.f62: = impl_witness imports.%As.impl_witness_table.737 [concrete] +// CHECK:STDOUT: %As.facet: %As.type.4f6 = facet_value Core.IntLiteral, (%As.impl_witness.f62) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.fe0: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%Cpp.long, %As.facet) [concrete] +// CHECK:STDOUT: %.2c9: type = fn_type_with_self_type %As.WithSelf.Convert.type.fe0, %As.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type: type = fn_type @Core.IntLiteral.as.As.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert: %Core.IntLiteral.as.As.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.5fd: = impl_witness imports.%ImplicitAs.impl_witness_table.aef [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.808: %ImplicitAs.type.4bd = facet_value %Cpp.long, (%ImplicitAs.impl_witness.5fd) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.85e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.808) [concrete] -// CHECK:STDOUT: %.157: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.85e, %ImplicitAs.facet.808 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.bc1: = impl_witness imports.%ImplicitAs.impl_witness_table.b4e [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.d05: %ImplicitAs.type.ace = facet_value %Cpp.long, (%ImplicitAs.impl_witness.bc1) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.6fa: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.d05) [concrete] +// CHECK:STDOUT: %.d01: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.6fa, %ImplicitAs.facet.d05 [concrete] // CHECK:STDOUT: %Cpp.long.as.ImplicitAs.impl.Convert.type.ae6f4c.2: type = fn_type @Cpp.long.as.ImplicitAs.impl.Convert.2 [concrete] // CHECK:STDOUT: %Cpp.long.as.ImplicitAs.impl.Convert.3cefb0.2: %Cpp.long.as.ImplicitAs.impl.Convert.type.ae6f4c.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.b8e, %Cpp.long.as.ImplicitAs.impl.Convert.3cefb0.2 [concrete] -// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.750 [concrete] +// CHECK:STDOUT: %Cpp.long.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.3d0, %Cpp.long.as.ImplicitAs.impl.Convert.3cefb0.2 [concrete] +// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.a26 [concrete] // CHECK:STDOUT: %f32.9b3: type = float_type %int_32, f32 [concrete] -// CHECK:STDOUT: %pattern_type.ee6: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.aab: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] // CHECK:STDOUT: %tuple.type: type = tuple_type (Core.FloatLiteral) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%float.6da) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.1dd: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.750)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bfc: = impl_witness imports.%ImplicitAs.impl_witness_table.3c0, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.9f5: %ImplicitAs.type.1dd = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.bfc) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.750, %ImplicitAs.facet.9f5) [concrete] -// CHECK:STDOUT: %.28b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68e, %ImplicitAs.facet.9f5 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.d0d: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.a26)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.65d: = impl_witness imports.%ImplicitAs.impl_witness_table.234, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.82a: %ImplicitAs.type.d0d = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.65d) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c87: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.a26, %ImplicitAs.facet.82a) [concrete] +// CHECK:STDOUT: %.3a8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c87, %ImplicitAs.facet.82a [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%float.467) [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%float.2ec) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc26_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc26_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: %IntResult.cpp_destructor.type: type = fn_type @IntResult.cpp_destructor [concrete] // CHECK:STDOUT: %IntResult.cpp_destructor: %IntResult.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: %LongResult.cpp_destructor.type: type = fn_type @LongResult.cpp_destructor [concrete] @@ -1128,7 +1128,7 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: .CppCompat = %CppCompat.69028d.1 +// CHECK:STDOUT: .CppCompat = %CppCompat.463205.1 // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: .Int = %Core.Int // CHECK:STDOUT: .Float = %Core.Float @@ -1145,15 +1145,15 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.CppCompat: = import_ref Core//prelude, CppCompat, loaded -// CHECK:STDOUT: %CppCompat.69028d.1: = namespace %Core.CppCompat, [concrete] { +// CHECK:STDOUT: %CppCompat.463205.1: = namespace %Core.CppCompat, [concrete] { // CHECK:STDOUT: .Long32 = %Core.Long32 // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Long32: type = import_ref Core//prelude/types/cpp/int, Long32, loaded [concrete = constants.%Cpp.long] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.67b339.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.15d = impl_witness_table (%Core.import_ref.67b339.1), @Core.IntLiteral.as.ImplicitAs.impl.52f [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.293 = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.ImplicitAs.impl.ec9 [concrete] // CHECK:STDOUT: %LongResult.decl: type = class_decl @LongResult [concrete = constants.%LongResult] {} {} // CHECK:STDOUT: %PassLong.cpp_overload_set.value: %PassLong.cpp_overload_set.type = cpp_overload_set_value @PassLong.cpp_overload_set [concrete = constants.%PassLong.cpp_overload_set.value] // CHECK:STDOUT: %PassLong__carbon_thunk.decl.f47c99.1: %PassLong__carbon_thunk.type.972681.1 = fn_decl @PassLong__carbon_thunk.1 [concrete = constants.%PassLong__carbon_thunk.b57a85.1] { @@ -1168,34 +1168,34 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b339.2: %Cpp.long.as.ImplicitAs.impl.Convert.type.ae6f4c.1 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.ImplicitAs.impl.Convert.3cefb0.1] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.7b8 = impl_witness_table (%Core.import_ref.67b339.2), @Cpp.long.as.ImplicitAs.impl.e25 [concrete] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %Cpp.long.as.ImplicitAs.impl.Convert.type.ae6f4c.1 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.ImplicitAs.impl.Convert.3cefb0.1] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0d0 = impl_witness_table (%Core.import_ref.adef5f.2), @Cpp.long.as.ImplicitAs.impl.6e3 [concrete] // CHECK:STDOUT: %Core.Float: %Float.type = import_ref Core//prelude/types/float, Float, loaded [concrete = constants.%Float.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/operators/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.67b339.3: %Core.IntLiteral.as.As.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] -// CHECK:STDOUT: %As.impl_witness_table.904 = impl_witness_table (%Core.import_ref.67b339.3), @Core.IntLiteral.as.As.impl.cba [concrete] -// CHECK:STDOUT: %Core.import_ref.67b339.4: %Cpp.long.as.ImplicitAs.impl.Convert.type.ae6f4c.2 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.ImplicitAs.impl.Convert.3cefb0.2] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.aef = impl_witness_table (%Core.import_ref.67b339.4), @Cpp.long.as.ImplicitAs.impl.a44 [concrete] -// CHECK:STDOUT: %Core.import_ref.831: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3c0 = impl_witness_table (%Core.import_ref.831), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/operators/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.adef5f.3: %Core.IntLiteral.as.As.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %As.impl_witness_table.737 = impl_witness_table (%Core.import_ref.adef5f.3), @Core.IntLiteral.as.As.impl.846 [concrete] +// CHECK:STDOUT: %Core.import_ref.adef5f.4: %Cpp.long.as.ImplicitAs.impl.Convert.type.ae6f4c.2 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.ImplicitAs.impl.Convert.3cefb0.2] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.b4e = impl_witness_table (%Core.import_ref.adef5f.4), @Cpp.long.as.ImplicitAs.impl.6b0 [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.234 = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_long.patt: %pattern_type.3c3 = value_binding_pattern cpp_long [concrete] +// CHECK:STDOUT: %cpp_long.patt: %pattern_type.83e = value_binding_pattern cpp_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc15: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc15_20: type = splice_block %long.ref.loc15 [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref.loc15: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long.ref.loc15: type = name_ref long, constants.%Cpp.long [concrete = constants.%Cpp.long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc15: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc15: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc15: = bound_method %int_1.loc15, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.long = call %bound_method.loc15(%int_1.loc15) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc15_28.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc15_28.2: %Cpp.long = converted %int_1.loc15, %.loc15_28.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.long = call %bound_method.loc15(%int_1.loc15) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc15_28.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc15_28.2: %Cpp.long = converted %int_1.loc15, %.loc15_28.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %cpp_long: %Cpp.long = value_binding cpp_long, %.loc15_28.2 // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %cpp_long_result.patt: %pattern_type.676 = value_binding_pattern cpp_long_result [concrete] @@ -1215,12 +1215,12 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc16_69.4: %LongResult = acquire_value %.loc16_69.3 // CHECK:STDOUT: %cpp_long_result: %LongResult = value_binding cpp_long_result, %.loc16_69.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_compat_long.patt: %pattern_type.3c3 = value_binding_pattern cpp_compat_long [concrete] +// CHECK:STDOUT: %cpp_compat_long.patt: %pattern_type.83e = value_binding_pattern cpp_compat_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_long.ref.loc18: %Cpp.long = name_ref cpp_long, %cpp_long // CHECK:STDOUT: %.loc18: type = splice_block %Long32.ref [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %CppCompat.ref: = name_ref CppCompat, imports.%CppCompat.69028d.1 [concrete = imports.%CppCompat.69028d.1] +// CHECK:STDOUT: %CppCompat.ref: = name_ref CppCompat, imports.%CppCompat.463205.1 [concrete = imports.%CppCompat.463205.1] // CHECK:STDOUT: %Long32.ref: type = name_ref Long32, imports.%Core.Long32 [concrete = constants.%Cpp.long] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_compat_long: %Cpp.long = value_binding cpp_compat_long, %cpp_long.ref.loc18 @@ -1242,7 +1242,7 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc19_83.4: %LongResult = acquire_value %.loc19_83.3 // CHECK:STDOUT: %cpp_compat_long_result: %LongResult = value_binding cpp_compat_long_result, %.loc19_83.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_i32.patt: %pattern_type.c6b = value_binding_pattern carbon_i32 [concrete] +// CHECK:STDOUT: %carbon_i32.patt: %pattern_type.104 = value_binding_pattern carbon_i32 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_long.ref.loc21: %Cpp.long = name_ref cpp_long, %cpp_long // CHECK:STDOUT: %i32.loc21_37: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -1268,46 +1268,46 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc22_72.4: %IntResult = acquire_value %.loc22_72.3 // CHECK:STDOUT: %carbon_i32_result: %IntResult = value_binding carbon_i32_result, %.loc22_72.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_i64.patt: %pattern_type.c8a = value_binding_pattern carbon_i64 [concrete] +// CHECK:STDOUT: %carbon_i64.patt: %pattern_type.fdd = value_binding_pattern carbon_i64 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_long.ref.loc24: %Cpp.long = name_ref cpp_long, %cpp_long // CHECK:STDOUT: %i64: type = type_literal constants.%i64 [concrete = constants.%i64] -// CHECK:STDOUT: %impl.elem0.loc24: %.799 = impl_witness_access constants.%ImplicitAs.impl_witness.25e, element0 [concrete = constants.%Cpp.long.as.ImplicitAs.impl.Convert.3cefb0.1] +// CHECK:STDOUT: %impl.elem0.loc24: %.ed6 = impl_witness_access constants.%ImplicitAs.impl_witness.e25, element0 [concrete = constants.%Cpp.long.as.ImplicitAs.impl.Convert.3cefb0.1] // CHECK:STDOUT: %bound_method.loc24: = bound_method %cpp_long.ref.loc24, %impl.elem0.loc24 // CHECK:STDOUT: %Cpp.long.as.ImplicitAs.impl.Convert.call.loc24: init %i64 = call %bound_method.loc24(%cpp_long.ref.loc24) // CHECK:STDOUT: %.loc24_32.1: %i64 = value_of_initializer %Cpp.long.as.ImplicitAs.impl.Convert.call.loc24 // CHECK:STDOUT: %.loc24_32.2: %i64 = converted %cpp_long.ref.loc24, %.loc24_32.1 // CHECK:STDOUT: %carbon_i64: %i64 = value_binding carbon_i64, %.loc24_32.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.ee6 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.ee6 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.aab = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.aab = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] // CHECK:STDOUT: %.loc26_50.1: %tuple.type = tuple_literal (%float) [concrete = constants.%tuple] -// CHECK:STDOUT: %impl.elem0.loc26_50: %.28b = impl_witness_access constants.%ImplicitAs.impl_witness.bfc, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] +// CHECK:STDOUT: %impl.elem0.loc26_50: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] // CHECK:STDOUT: %bound_method.loc26_50.1: = bound_method %float, %impl.elem0.loc26_50 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc26_50, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc26_50.2: = bound_method %float, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.750 = call %bound_method.loc26_50.2(%float) [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc26_50.2: init %f32.750 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.467] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.a26 = call %bound_method.loc26_50.2(%float) [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc26_50.2: init %f32.a26 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.2ec] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %.loc26_50.3: ref %f32.750 = array_index %a.var, %int_0 -// CHECK:STDOUT: %.loc26_50.4: init %f32.750 to %.loc26_50.3 = in_place_init %.loc26_50.2 [concrete = constants.%float.467] +// CHECK:STDOUT: %.loc26_50.3: ref %f32.a26 = array_index %a.var, %int_0 +// CHECK:STDOUT: %.loc26_50.4: init %f32.a26 to %.loc26_50.3 = in_place_init %.loc26_50.2 [concrete = constants.%float.2ec] // CHECK:STDOUT: %.loc26_50.5: init %array_type to %a.var = array_init (%.loc26_50.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc26_3: init %array_type = converted %.loc26_50.1, %.loc26_50.5 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc26_3 // CHECK:STDOUT: %.loc26_41: type = splice_block %array_type [concrete = constants.%array_type] { -// CHECK:STDOUT: %f32: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] +// CHECK:STDOUT: %f32: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] // CHECK:STDOUT: %int_1.loc26: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %Cpp.ref.loc26: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long.ref.loc26: type = name_ref long, constants.%Cpp.long [concrete = constants.%Cpp.long] -// CHECK:STDOUT: %impl.elem0.loc26_30.1: %.e05 = impl_witness_access constants.%As.impl_witness.210, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc26_30.1: %.2c9 = impl_witness_access constants.%As.impl_witness.f62, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] // CHECK:STDOUT: %bound_method.loc26_30.1: = bound_method %int_1.loc26, %impl.elem0.loc26_30.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %Cpp.long = call %bound_method.loc26_30.1(%int_1.loc26) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc26_30.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc26_30.2: %Cpp.long = converted %int_1.loc26, %.loc26_30.1 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %impl.elem0.loc26_30.2: %.157 = impl_witness_access constants.%ImplicitAs.impl_witness.5fd, element0 [concrete = constants.%Cpp.long.as.ImplicitAs.impl.Convert.3cefb0.2] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %Cpp.long = call %bound_method.loc26_30.1(%int_1.loc26) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc26_30.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc26_30.2: %Cpp.long = converted %int_1.loc26, %.loc26_30.1 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %impl.elem0.loc26_30.2: %.d01 = impl_witness_access constants.%ImplicitAs.impl_witness.bc1, element0 [concrete = constants.%Cpp.long.as.ImplicitAs.impl.Convert.3cefb0.2] // CHECK:STDOUT: %bound_method.loc26_30.2: = bound_method %.loc26_30.2, %impl.elem0.loc26_30.2 [concrete = constants.%Cpp.long.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %Cpp.long.as.ImplicitAs.impl.Convert.call.loc26: init Core.IntLiteral = call %bound_method.loc26_30.2(%.loc26_30.2) [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc26_30.3: Core.IntLiteral = value_of_initializer %Cpp.long.as.ImplicitAs.impl.Convert.call.loc26 [concrete = constants.%int_1.5b8] @@ -1315,7 +1315,7 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %array_type: type = array_type %.loc26_30.4, %f32 [concrete = constants.%array_type] // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: %IntResult.cpp_destructor.bound: = bound_method %.loc22_72.3, constants.%IntResult.cpp_destructor // CHECK:STDOUT: %IntResult.cpp_destructor.call: init %empty_tuple.type = call %IntResult.cpp_destructor.bound(%.loc22_72.3) @@ -1328,7 +1328,7 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc26_3.1(%self.param: ref %f32.9b3) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc26_3.2(%self.param: ref %f32.750) { +// CHECK:STDOUT: fn @Destroy.Op.loc26_3.2(%self.param: ref %f32.a26) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1345,26 +1345,26 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long: type = class_type @Long32 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.3c3: type = pattern_type %Cpp.long [concrete] +// CHECK:STDOUT: %pattern_type.83e: type = pattern_type %Cpp.long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.2b7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6fa: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.134: = impl_witness imports.%ImplicitAs.impl_witness_table.15d [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.134) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bb3: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.30b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bb3, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e41: = impl_witness imports.%ImplicitAs.impl_witness_table.293 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e41) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.93b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.f84: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.93b, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.b8e: %Cpp.long = int_value 1 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.da1: = impl_witness imports.%Copy.impl_witness_table.f35 [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Cpp.long, (%Copy.impl_witness.da1) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.d80: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.1f5: type = fn_type_with_self_type %Copy.WithSelf.Op.type.d80, %Copy.facet [concrete] +// CHECK:STDOUT: %int_1.3d0: %Cpp.long = int_value 1 [concrete] +// CHECK:STDOUT: %Copy.impl_witness.553: = impl_witness imports.%Copy.impl_witness_table.256 [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Cpp.long, (%Copy.impl_witness.553) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.b77: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.253: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b77, %Copy.facet [concrete] // CHECK:STDOUT: %Cpp.long.as.Copy.impl.Op.type: type = fn_type @Cpp.long.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Cpp.long.as.Copy.impl.Op: %Cpp.long.as.Copy.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1372,24 +1372,24 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .long = constants.%Cpp.long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.15d = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.52f [concrete] -// CHECK:STDOUT: %Core.import_ref.59e: %Cpp.long.as.Copy.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.f35 = impl_witness_table (%Core.import_ref.59e), @Cpp.long.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.293 = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.ec9 [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Cpp.long.as.Copy.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.256 = impl_witness_table (%Core.import_ref.f63), @Cpp.long.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CopyLong() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.3c3 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.3c3 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.83e = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.83e = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.long = var %a.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.long = call %bound_method.loc8(%int_1) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc8_3: init %Cpp.long = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.long = call %bound_method.loc8(%int_1) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc8_3: init %Cpp.long = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.3d0] // CHECK:STDOUT: assign %a.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %long.ref.loc8 [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -1397,13 +1397,13 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %Cpp.long = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.3c3 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.3c3 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.83e = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.83e = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %Cpp.long = var %b.var_patt // CHECK:STDOUT: %a.ref: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %.loc9_28: %Cpp.long = acquire_value %a.ref -// CHECK:STDOUT: %impl.elem0.loc9: %.1f5 = impl_witness_access constants.%Copy.impl_witness.da1, element0 [concrete = constants.%Cpp.long.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc9: %.253 = impl_witness_access constants.%Copy.impl_witness.553, element0 [concrete = constants.%Cpp.long.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc9: = bound_method %.loc9_28, %impl.elem0.loc9 // CHECK:STDOUT: %Cpp.long.as.Copy.impl.Op.call: init %Cpp.long = call %bound_method.loc9(%.loc9_28) // CHECK:STDOUT: assign %b.var, %Cpp.long.as.Copy.impl.Op.call @@ -1412,9 +1412,9 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %long.ref.loc9: type = name_ref long, constants.%Cpp.long [concrete = constants.%Cpp.long] // CHECK:STDOUT: } // CHECK:STDOUT: %b: ref %Cpp.long = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc9: init %empty_tuple.type = call %Destroy.Op.bound.loc9(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -1430,45 +1430,45 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Cpp.long: type = class_type @Long32 [concrete] -// CHECK:STDOUT: %pattern_type.3c3: type = pattern_type %Cpp.long [concrete] +// CHECK:STDOUT: %pattern_type.83e: type = pattern_type %Cpp.long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.2b7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.134: = impl_witness imports.%ImplicitAs.impl_witness_table.15d [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.134) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bb3: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.30b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bb3, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6fa: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e41: = impl_witness imports.%ImplicitAs.impl_witness_table.293 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e41) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.93b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.f84: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.93b, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.b8e: %Cpp.long = int_value 1 [concrete] -// CHECK:STDOUT: %EqWith.type.b58: type = facet_type <@EqWith, @EqWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %EqWith.impl_witness.1bb: = impl_witness imports.%EqWith.impl_witness_table.b57 [concrete] -// CHECK:STDOUT: %EqWith.facet.7d9: %EqWith.type.b58 = facet_value %Cpp.long, (%EqWith.impl_witness.1bb) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.4bb: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Cpp.long, %EqWith.facet.7d9) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.5df: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Cpp.long, %EqWith.facet.7d9) [concrete] -// CHECK:STDOUT: %.d92: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.4bb, %EqWith.facet.7d9 [concrete] +// CHECK:STDOUT: %int_1.3d0: %Cpp.long = int_value 1 [concrete] +// CHECK:STDOUT: %EqWith.type.0be: type = facet_type <@EqWith, @EqWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %EqWith.impl_witness.455: = impl_witness imports.%EqWith.impl_witness_table.d73 [concrete] +// CHECK:STDOUT: %EqWith.facet.2bd: %EqWith.type.0be = facet_value %Cpp.long, (%EqWith.impl_witness.455) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.f74: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Cpp.long, %EqWith.facet.2bd) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.c21: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Cpp.long, %EqWith.facet.2bd) [concrete] +// CHECK:STDOUT: %.fa7: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.f74, %EqWith.facet.2bd [concrete] // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.78c: type = fn_type @Cpp.long.as.EqWith.impl.Equal.3 [concrete] // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.1ca: %Cpp.long.as.EqWith.impl.Equal.type.78c = struct_value () [concrete] -// CHECK:STDOUT: %.f8b: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.5df, %EqWith.facet.7d9 [concrete] +// CHECK:STDOUT: %.d35: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.c21, %EqWith.facet.2bd [concrete] // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.8e5: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.3 [concrete] // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.a6a: %Cpp.long.as.EqWith.impl.NotEqual.type.8e5 = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.type.b99: type = facet_type <@OrderedWith, @OrderedWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %OrderedWith.impl_witness.9cf: = impl_witness imports.%OrderedWith.impl_witness_table.f94 [concrete] -// CHECK:STDOUT: %OrderedWith.facet.f69: %OrderedWith.type.b99 = facet_value %Cpp.long, (%OrderedWith.impl_witness.9cf) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.dcb: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.f69) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.ba4: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.f69) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.481: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.f69) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.667: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.f69) [concrete] -// CHECK:STDOUT: %.095: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.481, %OrderedWith.facet.f69 [concrete] +// CHECK:STDOUT: %OrderedWith.type.f75: type = facet_type <@OrderedWith, @OrderedWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %OrderedWith.impl_witness.f4f: = impl_witness imports.%OrderedWith.impl_witness_table.497 [concrete] +// CHECK:STDOUT: %OrderedWith.facet.410: %OrderedWith.type.f75 = facet_value %Cpp.long, (%OrderedWith.impl_witness.f4f) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.4c6: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.410) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.6a3: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.410) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.607: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.410) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.7f3: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.410) [concrete] +// CHECK:STDOUT: %.fd6: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.607, %OrderedWith.facet.410 [concrete] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.725: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.3 [concrete] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.7c8: %Cpp.long.as.OrderedWith.impl.Greater.type.725 = struct_value () [concrete] -// CHECK:STDOUT: %.750: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.dcb, %OrderedWith.facet.f69 [concrete] +// CHECK:STDOUT: %.fd0: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.4c6, %OrderedWith.facet.410 [concrete] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.335: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.3 [concrete] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.606: %Cpp.long.as.OrderedWith.impl.Less.type.335 = struct_value () [concrete] -// CHECK:STDOUT: %.bae: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.667, %OrderedWith.facet.f69 [concrete] +// CHECK:STDOUT: %.3e2: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.7f3, %OrderedWith.facet.410 [concrete] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.2d9: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.3 [concrete] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.a09: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.2d9 = struct_value () [concrete] -// CHECK:STDOUT: %.2f4: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.ba4, %OrderedWith.facet.f69 [concrete] +// CHECK:STDOUT: %.cc3: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.6a3, %OrderedWith.facet.410 [concrete] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.42c: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.3 [concrete] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.0c8: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.42c = struct_value () [concrete] // CHECK:STDOUT: } @@ -1478,76 +1478,76 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .long = constants.%Cpp.long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.15d = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.52f [concrete] -// CHECK:STDOUT: %Core.import_ref.74d: %Cpp.long.as.EqWith.impl.Equal.type.78c = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.1ca] -// CHECK:STDOUT: %Core.import_ref.206: %Cpp.long.as.EqWith.impl.NotEqual.type.8e5 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.a6a] -// CHECK:STDOUT: %EqWith.impl_witness_table.b57 = impl_witness_table (%Core.import_ref.74d, %Core.import_ref.206), @Cpp.long.as.EqWith.impl.2b7 [concrete] -// CHECK:STDOUT: %Core.import_ref.6ae: %Cpp.long.as.OrderedWith.impl.Less.type.335 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.606] -// CHECK:STDOUT: %Core.import_ref.dfe: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.42c = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.0c8] -// CHECK:STDOUT: %Core.import_ref.148: %Cpp.long.as.OrderedWith.impl.Greater.type.725 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.7c8] -// CHECK:STDOUT: %Core.import_ref.3cc: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.2d9 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.a09] -// CHECK:STDOUT: %OrderedWith.impl_witness_table.f94 = impl_witness_table (%Core.import_ref.6ae, %Core.import_ref.dfe, %Core.import_ref.148, %Core.import_ref.3cc), @Cpp.long.as.OrderedWith.impl.f4b [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.293 = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.ec9 [concrete] +// CHECK:STDOUT: %Core.import_ref.b5b: %Cpp.long.as.EqWith.impl.Equal.type.78c = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.1ca] +// CHECK:STDOUT: %Core.import_ref.3bc: %Cpp.long.as.EqWith.impl.NotEqual.type.8e5 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.a6a] +// CHECK:STDOUT: %EqWith.impl_witness_table.d73 = impl_witness_table (%Core.import_ref.b5b, %Core.import_ref.3bc), @Cpp.long.as.EqWith.impl.554 [concrete] +// CHECK:STDOUT: %Core.import_ref.746: %Cpp.long.as.OrderedWith.impl.Less.type.335 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.606] +// CHECK:STDOUT: %Core.import_ref.202: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.42c = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.0c8] +// CHECK:STDOUT: %Core.import_ref.cc2: %Cpp.long.as.OrderedWith.impl.Greater.type.725 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.7c8] +// CHECK:STDOUT: %Core.import_ref.4c7: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.2d9 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.a09] +// CHECK:STDOUT: %OrderedWith.impl_witness_table.497 = impl_witness_table (%Core.import_ref.746, %Core.import_ref.202, %Core.import_ref.cc2, %Core.import_ref.4c7), @Cpp.long.as.OrderedWith.impl.439 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ComparisonsHomogeneousLong() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.3c3 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.83e = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc8_13: type = splice_block %long.ref.loc8 [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long.ref.loc8: type = name_ref long, constants.%Cpp.long [concrete = constants.%Cpp.long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc8: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc8_21.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc8_21.2: %Cpp.long = converted %int_1.loc8, %.loc8_21.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc8_21.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc8_21.2: %Cpp.long = converted %int_1.loc8, %.loc8_21.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %a: %Cpp.long = value_binding a, %.loc8_21.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.3c3 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.83e = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc9_13: type = splice_block %long.ref.loc9 [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long.ref.loc9: type = name_ref long, constants.%Cpp.long [concrete = constants.%Cpp.long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc9: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc9: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc9: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc9_21.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc9_21.2: %Cpp.long = converted %int_1.loc9, %.loc9_21.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc9_21.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc9_21.2: %Cpp.long = converted %int_1.loc9, %.loc9_21.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %b: %Cpp.long = value_binding b, %.loc9_21.2 // CHECK:STDOUT: %a.ref.loc10: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc10: %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc10: %.d92 = impl_witness_access constants.%EqWith.impl_witness.1bb, element0 [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.1ca] +// CHECK:STDOUT: %impl.elem0.loc10: %.fa7 = impl_witness_access constants.%EqWith.impl_witness.455, element0 [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.1ca] // CHECK:STDOUT: %bound_method.loc10: = bound_method %a.ref.loc10, %impl.elem0.loc10 // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.call: init bool = call %bound_method.loc10(%a.ref.loc10, %b.ref.loc10) // CHECK:STDOUT: %a.ref.loc11: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc11: %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem1.loc11: %.f8b = impl_witness_access constants.%EqWith.impl_witness.1bb, element1 [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.a6a] +// CHECK:STDOUT: %impl.elem1.loc11: %.d35 = impl_witness_access constants.%EqWith.impl_witness.455, element1 [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.a6a] // CHECK:STDOUT: %bound_method.loc11: = bound_method %a.ref.loc11, %impl.elem1.loc11 // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.call: init bool = call %bound_method.loc11(%a.ref.loc11, %b.ref.loc11) // CHECK:STDOUT: %a.ref.loc12: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc12: %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem2: %.095 = impl_witness_access constants.%OrderedWith.impl_witness.9cf, element2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.7c8] +// CHECK:STDOUT: %impl.elem2: %.fd6 = impl_witness_access constants.%OrderedWith.impl_witness.f4f, element2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.7c8] // CHECK:STDOUT: %bound_method.loc12: = bound_method %a.ref.loc12, %impl.elem2 // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.call: init bool = call %bound_method.loc12(%a.ref.loc12, %b.ref.loc12) // CHECK:STDOUT: %a.ref.loc13: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc13: %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc13: %.750 = impl_witness_access constants.%OrderedWith.impl_witness.9cf, element0 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.606] +// CHECK:STDOUT: %impl.elem0.loc13: %.fd0 = impl_witness_access constants.%OrderedWith.impl_witness.f4f, element0 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.606] // CHECK:STDOUT: %bound_method.loc13: = bound_method %a.ref.loc13, %impl.elem0.loc13 // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.call: init bool = call %bound_method.loc13(%a.ref.loc13, %b.ref.loc13) // CHECK:STDOUT: %a.ref.loc14: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc14: %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem3: %.bae = impl_witness_access constants.%OrderedWith.impl_witness.9cf, element3 [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.a09] +// CHECK:STDOUT: %impl.elem3: %.3e2 = impl_witness_access constants.%OrderedWith.impl_witness.f4f, element3 [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.a09] // CHECK:STDOUT: %bound_method.loc14: = bound_method %a.ref.loc14, %impl.elem3 // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.call: init bool = call %bound_method.loc14(%a.ref.loc14, %b.ref.loc14) // CHECK:STDOUT: %a.ref.loc15: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc15: %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem1.loc15: %.2f4 = impl_witness_access constants.%OrderedWith.impl_witness.9cf, element1 [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.0c8] +// CHECK:STDOUT: %impl.elem1.loc15: %.cc3 = impl_witness_access constants.%OrderedWith.impl_witness.f4f, element1 [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.0c8] // CHECK:STDOUT: %bound_method.loc15: = bound_method %a.ref.loc15, %impl.elem1.loc15 // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.call: init bool = call %bound_method.loc15(%a.ref.loc15, %b.ref.loc15) // CHECK:STDOUT: @@ -1560,155 +1560,155 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %Cpp.long: type = class_type @Long32 [concrete] -// CHECK:STDOUT: %pattern_type.3c3: type = pattern_type %Cpp.long [concrete] -// CHECK:STDOUT: %ImplicitAs.type.2b7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.134: = impl_witness imports.%ImplicitAs.impl_witness_table.15d [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.a52: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.134) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bb3: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %.30b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bb3, %ImplicitAs.facet.a52 [concrete] +// CHECK:STDOUT: %pattern_type.83e: type = pattern_type %Cpp.long [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6fa: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e41: = impl_witness imports.%ImplicitAs.impl_witness_table.293 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.c09: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e41) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.93b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %.f84: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.93b, %ImplicitAs.facet.c09 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce [concrete] -// CHECK:STDOUT: %int_1.b8e: %Cpp.long = int_value 1 [concrete] -// CHECK:STDOUT: %EqWith.type.694: type = facet_type <@EqWith, @EqWith(%i32)> [concrete] -// CHECK:STDOUT: %T.5a0: %ImplicitAs.type.2b7 = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.97ba6d.1: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.1, @Cpp.long.as.EqWith.impl.b61(%T.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.d6d496.1: %Cpp.long.as.EqWith.impl.NotEqual.type.97ba6d.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.97ba6d.2: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.2, @Cpp.long.as.EqWith.impl.b61(%T.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.d6d496.2: %Cpp.long.as.EqWith.impl.NotEqual.type.97ba6d.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.8b5b2b.1: type = fn_type @Cpp.long.as.EqWith.impl.Equal.1, @Cpp.long.as.EqWith.impl.b61(%T.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.711ba9.1: %Cpp.long.as.EqWith.impl.Equal.type.8b5b2b.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.8b5b2b.2: type = fn_type @Cpp.long.as.EqWith.impl.Equal.2, @Cpp.long.as.EqWith.impl.b61(%T.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.711ba9.2: %Cpp.long.as.EqWith.impl.Equal.type.8b5b2b.2 = struct_value () [symbolic] -// CHECK:STDOUT: %EqWith.type.290: type = facet_type <@EqWith, @EqWith(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.e53: = impl_witness imports.%ImplicitAs.impl_witness_table.f44 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.32a: %ImplicitAs.type.2b7 = facet_value %i32, (%ImplicitAs.impl_witness.e53) [concrete] -// CHECK:STDOUT: %EqWith.impl_witness.16b: = impl_witness imports.%EqWith.impl_witness_table.0bc, @Cpp.long.as.EqWith.impl.b61(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.992e17.1: type = fn_type @Cpp.long.as.EqWith.impl.Equal.2, @Cpp.long.as.EqWith.impl.b61(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.ae6da1.1: %Cpp.long.as.EqWith.impl.Equal.type.992e17.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.f82fd6.1: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.2, @Cpp.long.as.EqWith.impl.b61(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.3af9fb.1: %Cpp.long.as.EqWith.impl.NotEqual.type.f82fd6.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.992e17.2: type = fn_type @Cpp.long.as.EqWith.impl.Equal.1, @Cpp.long.as.EqWith.impl.b61(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.ae6da1.2: %Cpp.long.as.EqWith.impl.Equal.type.992e17.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.f82fd6.2: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.1, @Cpp.long.as.EqWith.impl.b61(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.3af9fb.2: %Cpp.long.as.EqWith.impl.NotEqual.type.f82fd6.2 = struct_value () [concrete] -// CHECK:STDOUT: %EqWith.facet.b66: %EqWith.type.694 = facet_value %Cpp.long, (%EqWith.impl_witness.16b) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.b31: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%i32, %EqWith.facet.b66) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.2c2: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%i32, %EqWith.facet.b66) [concrete] -// CHECK:STDOUT: %.f40: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.b31, %EqWith.facet.b66 [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.specific_fn.464c09.1: = specific_function %Cpp.long.as.EqWith.impl.Equal.ae6da1.2, @Cpp.long.as.EqWith.impl.Equal.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.specific_fn.464c09.2: = specific_function %Cpp.long.as.EqWith.impl.Equal.ae6da1.1, @Cpp.long.as.EqWith.impl.Equal.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.cb7: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %.709: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.cb7, %ImplicitAs.facet.32a [concrete] +// CHECK:STDOUT: %int_1.3d0: %Cpp.long = int_value 1 [concrete] +// CHECK:STDOUT: %EqWith.type.536: type = facet_type <@EqWith, @EqWith(%i32)> [concrete] +// CHECK:STDOUT: %T.887: %ImplicitAs.type.6fa = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.9e873c.1: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.1, @Cpp.long.as.EqWith.impl.e2f(%T.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.fc9fc1.1: %Cpp.long.as.EqWith.impl.NotEqual.type.9e873c.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.9e873c.2: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.2, @Cpp.long.as.EqWith.impl.e2f(%T.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.fc9fc1.2: %Cpp.long.as.EqWith.impl.NotEqual.type.9e873c.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.d45cab.1: type = fn_type @Cpp.long.as.EqWith.impl.Equal.1, @Cpp.long.as.EqWith.impl.e2f(%T.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.c9f6e2.1: %Cpp.long.as.EqWith.impl.Equal.type.d45cab.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.d45cab.2: type = fn_type @Cpp.long.as.EqWith.impl.Equal.2, @Cpp.long.as.EqWith.impl.e2f(%T.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.c9f6e2.2: %Cpp.long.as.EqWith.impl.Equal.type.d45cab.2 = struct_value () [symbolic] +// CHECK:STDOUT: %EqWith.type.70b: type = facet_type <@EqWith, @EqWith(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.72d: = impl_witness imports.%ImplicitAs.impl_witness_table.29c [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.0fb: %ImplicitAs.type.6fa = facet_value %i32, (%ImplicitAs.impl_witness.72d) [concrete] +// CHECK:STDOUT: %EqWith.impl_witness.23c: = impl_witness imports.%EqWith.impl_witness_table.f94, @Cpp.long.as.EqWith.impl.e2f(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.17afc6.1: type = fn_type @Cpp.long.as.EqWith.impl.Equal.2, @Cpp.long.as.EqWith.impl.e2f(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.e1af36.1: %Cpp.long.as.EqWith.impl.Equal.type.17afc6.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.5255ce.1: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.2, @Cpp.long.as.EqWith.impl.e2f(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.ab5731.1: %Cpp.long.as.EqWith.impl.NotEqual.type.5255ce.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.17afc6.2: type = fn_type @Cpp.long.as.EqWith.impl.Equal.1, @Cpp.long.as.EqWith.impl.e2f(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.e1af36.2: %Cpp.long.as.EqWith.impl.Equal.type.17afc6.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.5255ce.2: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.1, @Cpp.long.as.EqWith.impl.e2f(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.ab5731.2: %Cpp.long.as.EqWith.impl.NotEqual.type.5255ce.2 = struct_value () [concrete] +// CHECK:STDOUT: %EqWith.facet.757: %EqWith.type.536 = facet_value %Cpp.long, (%EqWith.impl_witness.23c) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.3d6: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%i32, %EqWith.facet.757) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.966: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%i32, %EqWith.facet.757) [concrete] +// CHECK:STDOUT: %.c27: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.3d6, %EqWith.facet.757 [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.specific_fn.fa6f78.1: = specific_function %Cpp.long.as.EqWith.impl.Equal.e1af36.2, @Cpp.long.as.EqWith.impl.Equal.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.specific_fn.fa6f78.2: = specific_function %Cpp.long.as.EqWith.impl.Equal.e1af36.1, @Cpp.long.as.EqWith.impl.Equal.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.db6: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %.9d6: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.db6, %ImplicitAs.facet.0fb [concrete] // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.type: type = fn_type @i32.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert: %i32.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %.e06: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.2c2, %EqWith.facet.b66 [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.0ee9aa.1: = specific_function %Cpp.long.as.EqWith.impl.NotEqual.3af9fb.2, @Cpp.long.as.EqWith.impl.NotEqual.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.0ee9aa.2: = specific_function %Cpp.long.as.EqWith.impl.NotEqual.3af9fb.1, @Cpp.long.as.EqWith.impl.NotEqual.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %OrderedWith.type.9fe: type = facet_type <@OrderedWith, @OrderedWith(%i32)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.2ed30c.1: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1, @Cpp.long.as.OrderedWith.impl.763(%T.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.e3f68d.1: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.2ed30c.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.2ed30c.2: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2, @Cpp.long.as.OrderedWith.impl.763(%T.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.e3f68d.2: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.2ed30c.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.e8c2ef.1: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.1, @Cpp.long.as.OrderedWith.impl.763(%T.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.554456.1: %Cpp.long.as.OrderedWith.impl.Greater.type.e8c2ef.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.e8c2ef.2: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.2, @Cpp.long.as.OrderedWith.impl.763(%T.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.554456.2: %Cpp.long.as.OrderedWith.impl.Greater.type.e8c2ef.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.53d919.1: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1, @Cpp.long.as.OrderedWith.impl.763(%T.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.fe9501.1: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.53d919.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.53d919.2: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2, @Cpp.long.as.OrderedWith.impl.763(%T.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.fe9501.2: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.53d919.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.5b0f10.1: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.1, @Cpp.long.as.OrderedWith.impl.763(%T.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.c8ca51.1: %Cpp.long.as.OrderedWith.impl.Less.type.5b0f10.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.5b0f10.2: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.2, @Cpp.long.as.OrderedWith.impl.763(%T.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.c8ca51.2: %Cpp.long.as.OrderedWith.impl.Less.type.5b0f10.2 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.type.d0c: type = facet_type <@OrderedWith, @OrderedWith(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %OrderedWith.impl_witness.221: = impl_witness imports.%OrderedWith.impl_witness_table.72e, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.994c21.1: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.2, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.0c7ace.1: %Cpp.long.as.OrderedWith.impl.Less.type.994c21.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.00d294.1: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.3cf93d.1: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.00d294.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.c83b15.1: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.2, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.f1048f.1: %Cpp.long.as.OrderedWith.impl.Greater.type.c83b15.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.f260a8.1: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.757a8a.1: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.f260a8.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.994c21.2: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.1, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.0c7ace.2: %Cpp.long.as.OrderedWith.impl.Less.type.994c21.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.00d294.2: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.3cf93d.2: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.00d294.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.c83b15.2: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.1, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.f1048f.2: %Cpp.long.as.OrderedWith.impl.Greater.type.c83b15.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.f260a8.2: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.757a8a.2: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.f260a8.2 = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.facet.a5d: %OrderedWith.type.9fe = facet_value %Cpp.long, (%OrderedWith.impl_witness.221) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.7cc: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%i32, %OrderedWith.facet.a5d) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.c49: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%i32, %OrderedWith.facet.a5d) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.006: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%i32, %OrderedWith.facet.a5d) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.616: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%i32, %OrderedWith.facet.a5d) [concrete] -// CHECK:STDOUT: %.fd6: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.006, %OrderedWith.facet.a5d [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.afc8eb.1: = specific_function %Cpp.long.as.OrderedWith.impl.Greater.f1048f.2, @Cpp.long.as.OrderedWith.impl.Greater.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.afc8eb.2: = specific_function %Cpp.long.as.OrderedWith.impl.Greater.f1048f.1, @Cpp.long.as.OrderedWith.impl.Greater.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %.c2d: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.7cc, %OrderedWith.facet.a5d [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.specific_fn.0e6920.1: = specific_function %Cpp.long.as.OrderedWith.impl.Less.0c7ace.2, @Cpp.long.as.OrderedWith.impl.Less.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.specific_fn.0e6920.2: = specific_function %Cpp.long.as.OrderedWith.impl.Less.0c7ace.1, @Cpp.long.as.OrderedWith.impl.Less.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %.798: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.616, %OrderedWith.facet.a5d [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.02e1d2.1: = specific_function %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.757a8a.2, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.02e1d2.2: = specific_function %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.757a8a.1, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %.be2: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.c49, %OrderedWith.facet.a5d [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.1e86cf.1: = specific_function %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.3cf93d.2, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.1e86cf.2: = specific_function %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.3cf93d.1, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %EqWith.impl_witness.1f9: = impl_witness imports.%EqWith.impl_witness_table.0bc, @Cpp.long.as.EqWith.impl.b61(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.cced53.1: type = fn_type @Cpp.long.as.EqWith.impl.Equal.2, @Cpp.long.as.EqWith.impl.b61(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.1b93e2.1: %Cpp.long.as.EqWith.impl.Equal.type.cced53.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.a90553.1: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.2, @Cpp.long.as.EqWith.impl.b61(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.cc0c63.1: %Cpp.long.as.EqWith.impl.NotEqual.type.a90553.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.cced53.2: type = fn_type @Cpp.long.as.EqWith.impl.Equal.1, @Cpp.long.as.EqWith.impl.b61(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.1b93e2.2: %Cpp.long.as.EqWith.impl.Equal.type.cced53.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.a90553.2: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.1, @Cpp.long.as.EqWith.impl.b61(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.cc0c63.2: %Cpp.long.as.EqWith.impl.NotEqual.type.a90553.2 = struct_value () [concrete] -// CHECK:STDOUT: %EqWith.facet.a6a: %EqWith.type.290 = facet_value %Cpp.long, (%EqWith.impl_witness.1f9) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.016: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(Core.IntLiteral, %EqWith.facet.a6a) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.c49: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(Core.IntLiteral, %EqWith.facet.a6a) [concrete] -// CHECK:STDOUT: %.261: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.016, %EqWith.facet.a6a [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.specific_fn.22d240.1: = specific_function %Cpp.long.as.EqWith.impl.Equal.1b93e2.2, @Cpp.long.as.EqWith.impl.Equal.1(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.specific_fn.22d240.2: = specific_function %Cpp.long.as.EqWith.impl.Equal.1b93e2.1, @Cpp.long.as.EqWith.impl.Equal.2(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %.cf2: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.c49, %EqWith.facet.a6a [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.b0dc03.1: = specific_function %Cpp.long.as.EqWith.impl.NotEqual.cc0c63.2, @Cpp.long.as.EqWith.impl.NotEqual.1(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.b0dc03.2: = specific_function %Cpp.long.as.EqWith.impl.NotEqual.cc0c63.1, @Cpp.long.as.EqWith.impl.NotEqual.2(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %OrderedWith.impl_witness.021: = impl_witness imports.%OrderedWith.impl_witness_table.72e, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.4d162b.1: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.2, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.f16bf3.1: %Cpp.long.as.OrderedWith.impl.Less.type.4d162b.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.146afe.1: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.97b776.1: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.146afe.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.8facb7.1: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.2, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.e6f9b1.1: %Cpp.long.as.OrderedWith.impl.Greater.type.8facb7.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.fa925c.1: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.031935.1: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.fa925c.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.4d162b.2: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.1, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.f16bf3.2: %Cpp.long.as.OrderedWith.impl.Less.type.4d162b.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.146afe.2: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.97b776.2: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.146afe.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.8facb7.2: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.1, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.e6f9b1.2: %Cpp.long.as.OrderedWith.impl.Greater.type.8facb7.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.fa925c.2: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1, @Cpp.long.as.OrderedWith.impl.763(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.031935.2: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.fa925c.2 = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.facet.200: %OrderedWith.type.d0c = facet_value %Cpp.long, (%OrderedWith.impl_witness.021) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.07c: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.200) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.54f: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.200) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.c82: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.200) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.e38: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.200) [concrete] -// CHECK:STDOUT: %.907: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.c82, %OrderedWith.facet.200 [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.22931c.1: = specific_function %Cpp.long.as.OrderedWith.impl.Greater.e6f9b1.2, @Cpp.long.as.OrderedWith.impl.Greater.1(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.22931c.2: = specific_function %Cpp.long.as.OrderedWith.impl.Greater.e6f9b1.1, @Cpp.long.as.OrderedWith.impl.Greater.2(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %.c3d: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.07c, %OrderedWith.facet.200 [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.specific_fn.780ca1.1: = specific_function %Cpp.long.as.OrderedWith.impl.Less.f16bf3.2, @Cpp.long.as.OrderedWith.impl.Less.1(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.specific_fn.780ca1.2: = specific_function %Cpp.long.as.OrderedWith.impl.Less.f16bf3.1, @Cpp.long.as.OrderedWith.impl.Less.2(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %.47a: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.e38, %OrderedWith.facet.200 [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.d25936.1: = specific_function %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.031935.2, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.d25936.2: = specific_function %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.031935.1, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %.ff3: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.54f, %OrderedWith.facet.200 [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.f4b58e.1: = specific_function %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.97b776.2, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.f4b58e.2: = specific_function %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.97b776.1, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2(%ImplicitAs.facet.a52) [concrete] +// CHECK:STDOUT: %.475: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.966, %EqWith.facet.757 [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.3a486e.1: = specific_function %Cpp.long.as.EqWith.impl.NotEqual.ab5731.2, @Cpp.long.as.EqWith.impl.NotEqual.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.3a486e.2: = specific_function %Cpp.long.as.EqWith.impl.NotEqual.ab5731.1, @Cpp.long.as.EqWith.impl.NotEqual.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %OrderedWith.type.58a: type = facet_type <@OrderedWith, @OrderedWith(%i32)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.0ba330.1: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1, @Cpp.long.as.OrderedWith.impl.786(%T.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.d190f3.1: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.0ba330.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.0ba330.2: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2, @Cpp.long.as.OrderedWith.impl.786(%T.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.d190f3.2: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.0ba330.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.a01d2b.1: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.1, @Cpp.long.as.OrderedWith.impl.786(%T.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.1365fc.1: %Cpp.long.as.OrderedWith.impl.Greater.type.a01d2b.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.a01d2b.2: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.2, @Cpp.long.as.OrderedWith.impl.786(%T.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.1365fc.2: %Cpp.long.as.OrderedWith.impl.Greater.type.a01d2b.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.8f5c1d.1: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1, @Cpp.long.as.OrderedWith.impl.786(%T.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.b8ff7f.1: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.8f5c1d.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.8f5c1d.2: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2, @Cpp.long.as.OrderedWith.impl.786(%T.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.b8ff7f.2: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.8f5c1d.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.77ead7.1: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.1, @Cpp.long.as.OrderedWith.impl.786(%T.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.912b7a.1: %Cpp.long.as.OrderedWith.impl.Less.type.77ead7.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.77ead7.2: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.2, @Cpp.long.as.OrderedWith.impl.786(%T.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.912b7a.2: %Cpp.long.as.OrderedWith.impl.Less.type.77ead7.2 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.type.0e2: type = facet_type <@OrderedWith, @OrderedWith(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %OrderedWith.impl_witness.da4: = impl_witness imports.%OrderedWith.impl_witness_table.e4e, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.a2f55b.1: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.2, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.335d62.1: %Cpp.long.as.OrderedWith.impl.Less.type.a2f55b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.8589a2.1: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1dbdf6.1: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.8589a2.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.375c4b.1: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.2, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.d25f2f.1: %Cpp.long.as.OrderedWith.impl.Greater.type.375c4b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.549ba3.1: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.f6b944.1: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.549ba3.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.a2f55b.2: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.1, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.335d62.2: %Cpp.long.as.OrderedWith.impl.Less.type.a2f55b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.8589a2.2: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1dbdf6.2: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.8589a2.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.375c4b.2: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.1, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.d25f2f.2: %Cpp.long.as.OrderedWith.impl.Greater.type.375c4b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.549ba3.2: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.f6b944.2: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.549ba3.2 = struct_value () [concrete] +// CHECK:STDOUT: %OrderedWith.facet.35f: %OrderedWith.type.58a = facet_value %Cpp.long, (%OrderedWith.impl_witness.da4) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.c2b: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%i32, %OrderedWith.facet.35f) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.728: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%i32, %OrderedWith.facet.35f) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.62f: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%i32, %OrderedWith.facet.35f) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.9e0: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%i32, %OrderedWith.facet.35f) [concrete] +// CHECK:STDOUT: %.1dc: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.62f, %OrderedWith.facet.35f [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.624957.1: = specific_function %Cpp.long.as.OrderedWith.impl.Greater.d25f2f.2, @Cpp.long.as.OrderedWith.impl.Greater.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.624957.2: = specific_function %Cpp.long.as.OrderedWith.impl.Greater.d25f2f.1, @Cpp.long.as.OrderedWith.impl.Greater.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %.e70: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.c2b, %OrderedWith.facet.35f [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.specific_fn.87c251.1: = specific_function %Cpp.long.as.OrderedWith.impl.Less.335d62.2, @Cpp.long.as.OrderedWith.impl.Less.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.specific_fn.87c251.2: = specific_function %Cpp.long.as.OrderedWith.impl.Less.335d62.1, @Cpp.long.as.OrderedWith.impl.Less.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %.fa8: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.9e0, %OrderedWith.facet.35f [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.e9f17d.1: = specific_function %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.f6b944.2, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.e9f17d.2: = specific_function %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.f6b944.1, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %.7b7: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.728, %OrderedWith.facet.35f [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.1318bc.1: = specific_function %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1dbdf6.2, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.1318bc.2: = specific_function %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1dbdf6.1, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %EqWith.impl_witness.475: = impl_witness imports.%EqWith.impl_witness_table.f94, @Cpp.long.as.EqWith.impl.e2f(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.46b9a6.1: type = fn_type @Cpp.long.as.EqWith.impl.Equal.2, @Cpp.long.as.EqWith.impl.e2f(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.7dbd0a.1: %Cpp.long.as.EqWith.impl.Equal.type.46b9a6.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.f0dc65.1: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.2, @Cpp.long.as.EqWith.impl.e2f(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.dd0676.1: %Cpp.long.as.EqWith.impl.NotEqual.type.f0dc65.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.type.46b9a6.2: type = fn_type @Cpp.long.as.EqWith.impl.Equal.1, @Cpp.long.as.EqWith.impl.e2f(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.7dbd0a.2: %Cpp.long.as.EqWith.impl.Equal.type.46b9a6.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.type.f0dc65.2: type = fn_type @Cpp.long.as.EqWith.impl.NotEqual.1, @Cpp.long.as.EqWith.impl.e2f(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.dd0676.2: %Cpp.long.as.EqWith.impl.NotEqual.type.f0dc65.2 = struct_value () [concrete] +// CHECK:STDOUT: %EqWith.facet.4c4: %EqWith.type.70b = facet_value %Cpp.long, (%EqWith.impl_witness.475) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.b4c: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(Core.IntLiteral, %EqWith.facet.4c4) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.f25: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(Core.IntLiteral, %EqWith.facet.4c4) [concrete] +// CHECK:STDOUT: %.f43: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.b4c, %EqWith.facet.4c4 [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.specific_fn.5752dd.1: = specific_function %Cpp.long.as.EqWith.impl.Equal.7dbd0a.2, @Cpp.long.as.EqWith.impl.Equal.1(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.specific_fn.5752dd.2: = specific_function %Cpp.long.as.EqWith.impl.Equal.7dbd0a.1, @Cpp.long.as.EqWith.impl.Equal.2(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %.e6b: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.f25, %EqWith.facet.4c4 [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.e03a04.1: = specific_function %Cpp.long.as.EqWith.impl.NotEqual.dd0676.2, @Cpp.long.as.EqWith.impl.NotEqual.1(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.e03a04.2: = specific_function %Cpp.long.as.EqWith.impl.NotEqual.dd0676.1, @Cpp.long.as.EqWith.impl.NotEqual.2(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %OrderedWith.impl_witness.70e: = impl_witness imports.%OrderedWith.impl_witness_table.e4e, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.cc8d23.1: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.2, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.bc9b37.1: %Cpp.long.as.OrderedWith.impl.Less.type.cc8d23.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.4875b2.1: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.26f675.1: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.4875b2.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.4d8ecd.1: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.2, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.5b50d7.1: %Cpp.long.as.OrderedWith.impl.Greater.type.4d8ecd.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.5183ad.1: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.3fc9f4.1: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.5183ad.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.type.cc8d23.2: type = fn_type @Cpp.long.as.OrderedWith.impl.Less.1, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.bc9b37.2: %Cpp.long.as.OrderedWith.impl.Less.type.cc8d23.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.4875b2.2: type = fn_type @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.26f675.2: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.4875b2.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.type.4d8ecd.2: type = fn_type @Cpp.long.as.OrderedWith.impl.Greater.1, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.5b50d7.2: %Cpp.long.as.OrderedWith.impl.Greater.type.4d8ecd.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.5183ad.2: type = fn_type @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1, @Cpp.long.as.OrderedWith.impl.786(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.3fc9f4.2: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.5183ad.2 = struct_value () [concrete] +// CHECK:STDOUT: %OrderedWith.facet.58d: %OrderedWith.type.0e2 = facet_value %Cpp.long, (%OrderedWith.impl_witness.70e) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.f3a: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.58d) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.dc4: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.58d) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.bb8: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.58d) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.b7d: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.58d) [concrete] +// CHECK:STDOUT: %.384: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.bb8, %OrderedWith.facet.58d [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.ea58ad.1: = specific_function %Cpp.long.as.OrderedWith.impl.Greater.5b50d7.2, @Cpp.long.as.OrderedWith.impl.Greater.1(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.ea58ad.2: = specific_function %Cpp.long.as.OrderedWith.impl.Greater.5b50d7.1, @Cpp.long.as.OrderedWith.impl.Greater.2(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %.28e: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.f3a, %OrderedWith.facet.58d [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.specific_fn.b7bcad.1: = specific_function %Cpp.long.as.OrderedWith.impl.Less.bc9b37.2, @Cpp.long.as.OrderedWith.impl.Less.1(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.specific_fn.b7bcad.2: = specific_function %Cpp.long.as.OrderedWith.impl.Less.bc9b37.1, @Cpp.long.as.OrderedWith.impl.Less.2(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %.532: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.b7d, %OrderedWith.facet.58d [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.660f9a.1: = specific_function %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.3fc9f4.2, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.660f9a.2: = specific_function %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.3fc9f4.1, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %.484: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.dc4, %OrderedWith.facet.58d [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.813265.1: = specific_function %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.26f675.2, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.813265.2: = specific_function %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.26f675.1, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2(%ImplicitAs.facet.c09) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1716,57 +1716,57 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .long = constants.%Cpp.long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b339.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.15d = impl_witness_table (%Core.import_ref.67b339.1), @Core.IntLiteral.as.ImplicitAs.impl.52f [concrete] -// CHECK:STDOUT: %Core.import_ref.6fe: @Cpp.long.as.EqWith.impl.b61.%Cpp.long.as.EqWith.impl.Equal.type.2 (%Cpp.long.as.EqWith.impl.Equal.type.8b5b2b.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.EqWith.impl.b61.%Cpp.long.as.EqWith.impl.Equal.2 (constants.%Cpp.long.as.EqWith.impl.Equal.711ba9.1)] -// CHECK:STDOUT: %Core.import_ref.88d: @Cpp.long.as.EqWith.impl.b61.%Cpp.long.as.EqWith.impl.NotEqual.type.2 (%Cpp.long.as.EqWith.impl.NotEqual.type.97ba6d.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.EqWith.impl.b61.%Cpp.long.as.EqWith.impl.NotEqual.2 (constants.%Cpp.long.as.EqWith.impl.NotEqual.d6d496.1)] -// CHECK:STDOUT: %EqWith.impl_witness_table.0bc = impl_witness_table (%Core.import_ref.6fe, %Core.import_ref.88d), @Cpp.long.as.EqWith.impl.b61 [concrete] -// CHECK:STDOUT: %Core.NotEqual.1d2: @Cpp.long.as.EqWith.impl.b61.%Cpp.long.as.EqWith.impl.NotEqual.type.1 (%Cpp.long.as.EqWith.impl.NotEqual.type.97ba6d.2) = import_ref Core//prelude/types/cpp/int, NotEqual, loaded [symbolic = @Cpp.long.as.EqWith.impl.b61.%Cpp.long.as.EqWith.impl.NotEqual.1 (constants.%Cpp.long.as.EqWith.impl.NotEqual.d6d496.2)] -// CHECK:STDOUT: %Core.Equal.7df: @Cpp.long.as.EqWith.impl.b61.%Cpp.long.as.EqWith.impl.Equal.type.1 (%Cpp.long.as.EqWith.impl.Equal.type.8b5b2b.2) = import_ref Core//prelude/types/cpp/int, Equal, loaded [symbolic = @Cpp.long.as.EqWith.impl.b61.%Cpp.long.as.EqWith.impl.Equal.1 (constants.%Cpp.long.as.EqWith.impl.Equal.711ba9.2)] -// CHECK:STDOUT: %Core.import_ref.67b339.2: %i32.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.f44 = impl_witness_table (%Core.import_ref.67b339.2), @i32.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.d6e: @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.Less.type.2 (%Cpp.long.as.OrderedWith.impl.Less.type.5b0f10.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.Less.2 (constants.%Cpp.long.as.OrderedWith.impl.Less.c8ca51.1)] -// CHECK:STDOUT: %Core.import_ref.346: @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.2 (%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.53d919.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2 (constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.fe9501.1)] -// CHECK:STDOUT: %Core.import_ref.3e7: @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.Greater.type.2 (%Cpp.long.as.OrderedWith.impl.Greater.type.e8c2ef.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.Greater.2 (constants.%Cpp.long.as.OrderedWith.impl.Greater.554456.1)] -// CHECK:STDOUT: %Core.import_ref.68e: @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.2 (%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.2ed30c.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2 (constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.e3f68d.1)] -// CHECK:STDOUT: %OrderedWith.impl_witness_table.72e = impl_witness_table (%Core.import_ref.d6e, %Core.import_ref.346, %Core.import_ref.3e7, %Core.import_ref.68e), @Cpp.long.as.OrderedWith.impl.763 [concrete] -// CHECK:STDOUT: %Core.GreaterOrEquivalent.e9a: @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.1 (%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.2ed30c.2) = import_ref Core//prelude/types/cpp/int, GreaterOrEquivalent, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1 (constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.e3f68d.2)] -// CHECK:STDOUT: %Core.Greater.0e7: @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.Greater.type.1 (%Cpp.long.as.OrderedWith.impl.Greater.type.e8c2ef.2) = import_ref Core//prelude/types/cpp/int, Greater, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.Greater.1 (constants.%Cpp.long.as.OrderedWith.impl.Greater.554456.2)] -// CHECK:STDOUT: %Core.LessOrEquivalent.281: @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.1 (%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.53d919.2) = import_ref Core//prelude/types/cpp/int, LessOrEquivalent, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1 (constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.fe9501.2)] -// CHECK:STDOUT: %Core.Less.e56: @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.Less.type.1 (%Cpp.long.as.OrderedWith.impl.Less.type.5b0f10.2) = import_ref Core//prelude/types/cpp/int, Less, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.763.%Cpp.long.as.OrderedWith.impl.Less.1 (constants.%Cpp.long.as.OrderedWith.impl.Less.c8ca51.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.293 = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.ImplicitAs.impl.ec9 [concrete] +// CHECK:STDOUT: %Core.import_ref.42d: @Cpp.long.as.EqWith.impl.e2f.%Cpp.long.as.EqWith.impl.Equal.type.2 (%Cpp.long.as.EqWith.impl.Equal.type.d45cab.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.EqWith.impl.e2f.%Cpp.long.as.EqWith.impl.Equal.2 (constants.%Cpp.long.as.EqWith.impl.Equal.c9f6e2.1)] +// CHECK:STDOUT: %Core.import_ref.fd8: @Cpp.long.as.EqWith.impl.e2f.%Cpp.long.as.EqWith.impl.NotEqual.type.2 (%Cpp.long.as.EqWith.impl.NotEqual.type.9e873c.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.EqWith.impl.e2f.%Cpp.long.as.EqWith.impl.NotEqual.2 (constants.%Cpp.long.as.EqWith.impl.NotEqual.fc9fc1.1)] +// CHECK:STDOUT: %EqWith.impl_witness_table.f94 = impl_witness_table (%Core.import_ref.42d, %Core.import_ref.fd8), @Cpp.long.as.EqWith.impl.e2f [concrete] +// CHECK:STDOUT: %Core.NotEqual.3e4: @Cpp.long.as.EqWith.impl.e2f.%Cpp.long.as.EqWith.impl.NotEqual.type.1 (%Cpp.long.as.EqWith.impl.NotEqual.type.9e873c.2) = import_ref Core//prelude/types/cpp/int, NotEqual, loaded [symbolic = @Cpp.long.as.EqWith.impl.e2f.%Cpp.long.as.EqWith.impl.NotEqual.1 (constants.%Cpp.long.as.EqWith.impl.NotEqual.fc9fc1.2)] +// CHECK:STDOUT: %Core.Equal.de5: @Cpp.long.as.EqWith.impl.e2f.%Cpp.long.as.EqWith.impl.Equal.type.1 (%Cpp.long.as.EqWith.impl.Equal.type.d45cab.2) = import_ref Core//prelude/types/cpp/int, Equal, loaded [symbolic = @Cpp.long.as.EqWith.impl.e2f.%Cpp.long.as.EqWith.impl.Equal.1 (constants.%Cpp.long.as.EqWith.impl.Equal.c9f6e2.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %i32.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.29c = impl_witness_table (%Core.import_ref.adef5f.2), @i32.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.de7: @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.Less.type.2 (%Cpp.long.as.OrderedWith.impl.Less.type.77ead7.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.Less.2 (constants.%Cpp.long.as.OrderedWith.impl.Less.912b7a.1)] +// CHECK:STDOUT: %Core.import_ref.caf: @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.2 (%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.8f5c1d.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2 (constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.b8ff7f.1)] +// CHECK:STDOUT: %Core.import_ref.f56: @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.Greater.type.2 (%Cpp.long.as.OrderedWith.impl.Greater.type.a01d2b.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.Greater.2 (constants.%Cpp.long.as.OrderedWith.impl.Greater.1365fc.1)] +// CHECK:STDOUT: %Core.import_ref.60f: @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.2 (%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.0ba330.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2 (constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.d190f3.1)] +// CHECK:STDOUT: %OrderedWith.impl_witness_table.e4e = impl_witness_table (%Core.import_ref.de7, %Core.import_ref.caf, %Core.import_ref.f56, %Core.import_ref.60f), @Cpp.long.as.OrderedWith.impl.786 [concrete] +// CHECK:STDOUT: %Core.GreaterOrEquivalent.6a2: @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.1 (%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.0ba330.2) = import_ref Core//prelude/types/cpp/int, GreaterOrEquivalent, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1 (constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.d190f3.2)] +// CHECK:STDOUT: %Core.Greater.421: @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.Greater.type.1 (%Cpp.long.as.OrderedWith.impl.Greater.type.a01d2b.2) = import_ref Core//prelude/types/cpp/int, Greater, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.Greater.1 (constants.%Cpp.long.as.OrderedWith.impl.Greater.1365fc.2)] +// CHECK:STDOUT: %Core.LessOrEquivalent.b05: @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.1 (%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.8f5c1d.2) = import_ref Core//prelude/types/cpp/int, LessOrEquivalent, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1 (constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.b8ff7f.2)] +// CHECK:STDOUT: %Core.Less.158: @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.Less.type.1 (%Cpp.long.as.OrderedWith.impl.Less.type.77ead7.2) = import_ref Core//prelude/types/cpp/int, Less, loaded [symbolic = @Cpp.long.as.OrderedWith.impl.786.%Cpp.long.as.OrderedWith.impl.Less.1 (constants.%Cpp.long.as.OrderedWith.impl.Less.912b7a.2)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ComparisonsHeterogeneousLongLeftSide() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.3c3 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.83e = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc9_13: type = splice_block %long.ref [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long.ref: type = name_ref long, constants.%Cpp.long [concrete = constants.%Cpp.long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc9: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc9: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc9: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc9_21.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc9_21.2: %Cpp.long = converted %int_1.loc9, %.loc9_21.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc9_21.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc9_21.2: %Cpp.long = converted %int_1.loc9, %.loc9_21.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %a: %Cpp.long = value_binding a, %.loc9_21.2 // CHECK:STDOUT: %a.ref.loc10: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc10: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc10_5: %.f40 = impl_witness_access constants.%EqWith.impl_witness.16b, element0 [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.ae6da1.2] +// CHECK:STDOUT: %impl.elem0.loc10_5: %.c27 = impl_witness_access constants.%EqWith.impl_witness.23c, element0 [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.e1af36.2] // CHECK:STDOUT: %bound_method.loc10_5.1: = bound_method %a.ref.loc10, %impl.elem0.loc10_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc10: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc10_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc10 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @Cpp.long.as.EqWith.impl.Equal.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.specific_fn.464c09.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc10: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc10_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc10 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @Cpp.long.as.EqWith.impl.Equal.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.specific_fn.fa6f78.1] // CHECK:STDOUT: %bound_method.loc10_5.2: = bound_method %a.ref.loc10, %specific_fn.loc10 -// CHECK:STDOUT: %.loc10_5.2: %Cpp.long.as.EqWith.impl.Equal.type.992e17.1 = specific_constant imports.%Core.Equal.7df, @Cpp.long.as.EqWith.impl.b61(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.ae6da1.1] -// CHECK:STDOUT: %Equal.ref.loc10: %Cpp.long.as.EqWith.impl.Equal.type.992e17.1 = name_ref Equal, %.loc10_5.2 [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.ae6da1.1] +// CHECK:STDOUT: %.loc10_5.2: %Cpp.long.as.EqWith.impl.Equal.type.17afc6.1 = specific_constant imports.%Core.Equal.de5, @Cpp.long.as.EqWith.impl.e2f(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.e1af36.1] +// CHECK:STDOUT: %Equal.ref.loc10: %Cpp.long.as.EqWith.impl.Equal.type.17afc6.1 = name_ref Equal, %.loc10_5.2 [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.e1af36.1] // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.bound.loc10: = bound_method %a.ref.loc10, %Equal.ref.loc10 -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.specific_fn.loc10: = specific_function %Equal.ref.loc10, @Cpp.long.as.EqWith.impl.Equal.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.specific_fn.464c09.2] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.specific_fn.loc10: = specific_function %Equal.ref.loc10, @Cpp.long.as.EqWith.impl.Equal.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.specific_fn.fa6f78.2] // CHECK:STDOUT: %bound_method.loc10_5.3: = bound_method %a.ref.loc10, %Cpp.long.as.EqWith.impl.Equal.specific_fn.loc10 -// CHECK:STDOUT: %impl.elem0.loc10_8: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc10_8: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc10_8: = bound_method %b.ref.loc10, %impl.elem0.loc10_8 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc10: init %Cpp.long = call %bound_method.loc10_8(%b.ref.loc10) // CHECK:STDOUT: %.loc10_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc10 @@ -1774,18 +1774,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.call.loc10: init bool = call %bound_method.loc10_5.3(%a.ref.loc10, %.loc10_8.2) // CHECK:STDOUT: %a.ref.loc11: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc11: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem1.loc11: %.e06 = impl_witness_access constants.%EqWith.impl_witness.16b, element1 [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.3af9fb.2] +// CHECK:STDOUT: %impl.elem1.loc11: %.475 = impl_witness_access constants.%EqWith.impl_witness.23c, element1 [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.ab5731.2] // CHECK:STDOUT: %bound_method.loc11_5.1: = bound_method %a.ref.loc11, %impl.elem1.loc11 -// CHECK:STDOUT: %ImplicitAs.facet.loc11: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc11_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc11 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem1.loc11, @Cpp.long.as.EqWith.impl.NotEqual.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.specific_fn.0ee9aa.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc11: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc11_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc11 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem1.loc11, @Cpp.long.as.EqWith.impl.NotEqual.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.specific_fn.3a486e.1] // CHECK:STDOUT: %bound_method.loc11_5.2: = bound_method %a.ref.loc11, %specific_fn.loc11 -// CHECK:STDOUT: %.loc11_5.2: %Cpp.long.as.EqWith.impl.NotEqual.type.f82fd6.1 = specific_constant imports.%Core.NotEqual.1d2, @Cpp.long.as.EqWith.impl.b61(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.3af9fb.1] -// CHECK:STDOUT: %NotEqual.ref.loc11: %Cpp.long.as.EqWith.impl.NotEqual.type.f82fd6.1 = name_ref NotEqual, %.loc11_5.2 [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.3af9fb.1] +// CHECK:STDOUT: %.loc11_5.2: %Cpp.long.as.EqWith.impl.NotEqual.type.5255ce.1 = specific_constant imports.%Core.NotEqual.3e4, @Cpp.long.as.EqWith.impl.e2f(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.ab5731.1] +// CHECK:STDOUT: %NotEqual.ref.loc11: %Cpp.long.as.EqWith.impl.NotEqual.type.5255ce.1 = name_ref NotEqual, %.loc11_5.2 [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.ab5731.1] // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.bound.loc11: = bound_method %a.ref.loc11, %NotEqual.ref.loc11 -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.loc11: = specific_function %NotEqual.ref.loc11, @Cpp.long.as.EqWith.impl.NotEqual.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.specific_fn.0ee9aa.2] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.loc11: = specific_function %NotEqual.ref.loc11, @Cpp.long.as.EqWith.impl.NotEqual.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.specific_fn.3a486e.2] // CHECK:STDOUT: %bound_method.loc11_5.3: = bound_method %a.ref.loc11, %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.loc11 -// CHECK:STDOUT: %impl.elem0.loc11: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc11: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc11_8: = bound_method %b.ref.loc11, %impl.elem0.loc11 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc11: init %Cpp.long = call %bound_method.loc11_8(%b.ref.loc11) // CHECK:STDOUT: %.loc11_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc11 @@ -1793,18 +1793,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.call.loc11: init bool = call %bound_method.loc11_5.3(%a.ref.loc11, %.loc11_8.2) // CHECK:STDOUT: %a.ref.loc12: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc12: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem2.loc12: %.fd6 = impl_witness_access constants.%OrderedWith.impl_witness.221, element2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.f1048f.2] +// CHECK:STDOUT: %impl.elem2.loc12: %.1dc = impl_witness_access constants.%OrderedWith.impl_witness.da4, element2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.d25f2f.2] // CHECK:STDOUT: %bound_method.loc12_5.1: = bound_method %a.ref.loc12, %impl.elem2.loc12 -// CHECK:STDOUT: %ImplicitAs.facet.loc12: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc12_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc12 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem2.loc12, @Cpp.long.as.OrderedWith.impl.Greater.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.specific_fn.afc8eb.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc12: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc12_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc12 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem2.loc12, @Cpp.long.as.OrderedWith.impl.Greater.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.specific_fn.624957.1] // CHECK:STDOUT: %bound_method.loc12_5.2: = bound_method %a.ref.loc12, %specific_fn.loc12 -// CHECK:STDOUT: %.loc12_5.2: %Cpp.long.as.OrderedWith.impl.Greater.type.c83b15.1 = specific_constant imports.%Core.Greater.0e7, @Cpp.long.as.OrderedWith.impl.763(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.f1048f.1] -// CHECK:STDOUT: %Greater.ref.loc12: %Cpp.long.as.OrderedWith.impl.Greater.type.c83b15.1 = name_ref Greater, %.loc12_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.f1048f.1] +// CHECK:STDOUT: %.loc12_5.2: %Cpp.long.as.OrderedWith.impl.Greater.type.375c4b.1 = specific_constant imports.%Core.Greater.421, @Cpp.long.as.OrderedWith.impl.786(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.d25f2f.1] +// CHECK:STDOUT: %Greater.ref.loc12: %Cpp.long.as.OrderedWith.impl.Greater.type.375c4b.1 = name_ref Greater, %.loc12_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.d25f2f.1] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.bound.loc12: = bound_method %a.ref.loc12, %Greater.ref.loc12 -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.loc12: = specific_function %Greater.ref.loc12, @Cpp.long.as.OrderedWith.impl.Greater.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.specific_fn.afc8eb.2] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.loc12: = specific_function %Greater.ref.loc12, @Cpp.long.as.OrderedWith.impl.Greater.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.specific_fn.624957.2] // CHECK:STDOUT: %bound_method.loc12_5.3: = bound_method %a.ref.loc12, %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.loc12 -// CHECK:STDOUT: %impl.elem0.loc12: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc12: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc12_7: = bound_method %b.ref.loc12, %impl.elem0.loc12 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc12: init %Cpp.long = call %bound_method.loc12_7(%b.ref.loc12) // CHECK:STDOUT: %.loc12_7.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc12 @@ -1812,18 +1812,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.call.loc12: init bool = call %bound_method.loc12_5.3(%a.ref.loc12, %.loc12_7.2) // CHECK:STDOUT: %a.ref.loc13: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc13: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc13_5: %.c2d = impl_witness_access constants.%OrderedWith.impl_witness.221, element0 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.0c7ace.2] +// CHECK:STDOUT: %impl.elem0.loc13_5: %.e70 = impl_witness_access constants.%OrderedWith.impl_witness.da4, element0 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.335d62.2] // CHECK:STDOUT: %bound_method.loc13_5.1: = bound_method %a.ref.loc13, %impl.elem0.loc13_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc13: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc13_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc13 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_5, @Cpp.long.as.OrderedWith.impl.Less.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.specific_fn.0e6920.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc13: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc13_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc13 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_5, @Cpp.long.as.OrderedWith.impl.Less.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.specific_fn.87c251.1] // CHECK:STDOUT: %bound_method.loc13_5.2: = bound_method %a.ref.loc13, %specific_fn.loc13 -// CHECK:STDOUT: %.loc13_5.2: %Cpp.long.as.OrderedWith.impl.Less.type.994c21.1 = specific_constant imports.%Core.Less.e56, @Cpp.long.as.OrderedWith.impl.763(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.0c7ace.1] -// CHECK:STDOUT: %Less.ref.loc13: %Cpp.long.as.OrderedWith.impl.Less.type.994c21.1 = name_ref Less, %.loc13_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.0c7ace.1] +// CHECK:STDOUT: %.loc13_5.2: %Cpp.long.as.OrderedWith.impl.Less.type.a2f55b.1 = specific_constant imports.%Core.Less.158, @Cpp.long.as.OrderedWith.impl.786(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.335d62.1] +// CHECK:STDOUT: %Less.ref.loc13: %Cpp.long.as.OrderedWith.impl.Less.type.a2f55b.1 = name_ref Less, %.loc13_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.335d62.1] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.bound.loc13: = bound_method %a.ref.loc13, %Less.ref.loc13 -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.specific_fn.loc13: = specific_function %Less.ref.loc13, @Cpp.long.as.OrderedWith.impl.Less.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.specific_fn.0e6920.2] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.specific_fn.loc13: = specific_function %Less.ref.loc13, @Cpp.long.as.OrderedWith.impl.Less.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.specific_fn.87c251.2] // CHECK:STDOUT: %bound_method.loc13_5.3: = bound_method %a.ref.loc13, %Cpp.long.as.OrderedWith.impl.Less.specific_fn.loc13 -// CHECK:STDOUT: %impl.elem0.loc13_7: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc13_7: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc13_7: = bound_method %b.ref.loc13, %impl.elem0.loc13_7 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc13: init %Cpp.long = call %bound_method.loc13_7(%b.ref.loc13) // CHECK:STDOUT: %.loc13_7.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc13 @@ -1831,18 +1831,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.call.loc13: init bool = call %bound_method.loc13_5.3(%a.ref.loc13, %.loc13_7.2) // CHECK:STDOUT: %a.ref.loc14: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc14: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem3.loc14: %.798 = impl_witness_access constants.%OrderedWith.impl_witness.221, element3 [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.757a8a.2] +// CHECK:STDOUT: %impl.elem3.loc14: %.fa8 = impl_witness_access constants.%OrderedWith.impl_witness.da4, element3 [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.f6b944.2] // CHECK:STDOUT: %bound_method.loc14_5.1: = bound_method %a.ref.loc14, %impl.elem3.loc14 -// CHECK:STDOUT: %ImplicitAs.facet.loc14: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc14_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc14 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem3.loc14, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.02e1d2.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc14: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc14_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc14 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem3.loc14, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.e9f17d.1] // CHECK:STDOUT: %bound_method.loc14_5.2: = bound_method %a.ref.loc14, %specific_fn.loc14 -// CHECK:STDOUT: %.loc14_5.2: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.f260a8.1 = specific_constant imports.%Core.GreaterOrEquivalent.e9a, @Cpp.long.as.OrderedWith.impl.763(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.757a8a.1] -// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc14: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.f260a8.1 = name_ref GreaterOrEquivalent, %.loc14_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.757a8a.1] +// CHECK:STDOUT: %.loc14_5.2: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.549ba3.1 = specific_constant imports.%Core.GreaterOrEquivalent.6a2, @Cpp.long.as.OrderedWith.impl.786(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.f6b944.1] +// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc14: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.549ba3.1 = name_ref GreaterOrEquivalent, %.loc14_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.f6b944.1] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.bound.loc14: = bound_method %a.ref.loc14, %GreaterOrEquivalent.ref.loc14 -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc14: = specific_function %GreaterOrEquivalent.ref.loc14, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.02e1d2.2] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc14: = specific_function %GreaterOrEquivalent.ref.loc14, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.e9f17d.2] // CHECK:STDOUT: %bound_method.loc14_5.3: = bound_method %a.ref.loc14, %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc14 -// CHECK:STDOUT: %impl.elem0.loc14: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc14: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc14_8: = bound_method %b.ref.loc14, %impl.elem0.loc14 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc14: init %Cpp.long = call %bound_method.loc14_8(%b.ref.loc14) // CHECK:STDOUT: %.loc14_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc14 @@ -1850,18 +1850,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.call.loc14: init bool = call %bound_method.loc14_5.3(%a.ref.loc14, %.loc14_8.2) // CHECK:STDOUT: %a.ref.loc15: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc15: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem1.loc15: %.be2 = impl_witness_access constants.%OrderedWith.impl_witness.221, element1 [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.3cf93d.2] +// CHECK:STDOUT: %impl.elem1.loc15: %.7b7 = impl_witness_access constants.%OrderedWith.impl_witness.da4, element1 [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1dbdf6.2] // CHECK:STDOUT: %bound_method.loc15_5.1: = bound_method %a.ref.loc15, %impl.elem1.loc15 -// CHECK:STDOUT: %ImplicitAs.facet.loc15: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc15_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc15 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem1.loc15, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.1e86cf.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc15: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc15_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc15 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem1.loc15, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.1318bc.1] // CHECK:STDOUT: %bound_method.loc15_5.2: = bound_method %a.ref.loc15, %specific_fn.loc15 -// CHECK:STDOUT: %.loc15_5.2: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.00d294.1 = specific_constant imports.%Core.LessOrEquivalent.281, @Cpp.long.as.OrderedWith.impl.763(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.3cf93d.1] -// CHECK:STDOUT: %LessOrEquivalent.ref.loc15: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.00d294.1 = name_ref LessOrEquivalent, %.loc15_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.3cf93d.1] +// CHECK:STDOUT: %.loc15_5.2: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.8589a2.1 = specific_constant imports.%Core.LessOrEquivalent.b05, @Cpp.long.as.OrderedWith.impl.786(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1dbdf6.1] +// CHECK:STDOUT: %LessOrEquivalent.ref.loc15: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.8589a2.1 = name_ref LessOrEquivalent, %.loc15_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1dbdf6.1] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.bound.loc15: = bound_method %a.ref.loc15, %LessOrEquivalent.ref.loc15 -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc15: = specific_function %LessOrEquivalent.ref.loc15, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.1e86cf.2] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc15: = specific_function %LessOrEquivalent.ref.loc15, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.1318bc.2] // CHECK:STDOUT: %bound_method.loc15_5.3: = bound_method %a.ref.loc15, %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc15 -// CHECK:STDOUT: %impl.elem0.loc15: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc15: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc15_8: = bound_method %b.ref.loc15, %impl.elem0.loc15 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc15: init %Cpp.long = call %bound_method.loc15_8(%b.ref.loc15) // CHECK:STDOUT: %.loc15_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc15 @@ -1869,117 +1869,117 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.call.loc15: init bool = call %bound_method.loc15_5.3(%a.ref.loc15, %.loc15_8.2) // CHECK:STDOUT: %a.ref.loc17: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %int_1.loc17: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc17_5: %.261 = impl_witness_access constants.%EqWith.impl_witness.1f9, element0 [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.1b93e2.2] +// CHECK:STDOUT: %impl.elem0.loc17_5: %.f43 = impl_witness_access constants.%EqWith.impl_witness.475, element0 [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.7dbd0a.2] // CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %a.ref.loc17, %impl.elem0.loc17_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc17: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.134) [concrete = constants.%ImplicitAs.facet.a52] -// CHECK:STDOUT: %.loc17_5.1: %ImplicitAs.type.2b7 = converted Core.IntLiteral, %ImplicitAs.facet.loc17 [concrete = constants.%ImplicitAs.facet.a52] -// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17_5, @Cpp.long.as.EqWith.impl.Equal.1(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.specific_fn.22d240.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc17: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.e41) [concrete = constants.%ImplicitAs.facet.c09] +// CHECK:STDOUT: %.loc17_5.1: %ImplicitAs.type.6fa = converted Core.IntLiteral, %ImplicitAs.facet.loc17 [concrete = constants.%ImplicitAs.facet.c09] +// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17_5, @Cpp.long.as.EqWith.impl.Equal.1(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.specific_fn.5752dd.1] // CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %a.ref.loc17, %specific_fn.loc17 -// CHECK:STDOUT: %.loc17_5.2: %Cpp.long.as.EqWith.impl.Equal.type.cced53.1 = specific_constant imports.%Core.Equal.7df, @Cpp.long.as.EqWith.impl.b61(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.1b93e2.1] -// CHECK:STDOUT: %Equal.ref.loc17: %Cpp.long.as.EqWith.impl.Equal.type.cced53.1 = name_ref Equal, %.loc17_5.2 [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.1b93e2.1] +// CHECK:STDOUT: %.loc17_5.2: %Cpp.long.as.EqWith.impl.Equal.type.46b9a6.1 = specific_constant imports.%Core.Equal.de5, @Cpp.long.as.EqWith.impl.e2f(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.7dbd0a.1] +// CHECK:STDOUT: %Equal.ref.loc17: %Cpp.long.as.EqWith.impl.Equal.type.46b9a6.1 = name_ref Equal, %.loc17_5.2 [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.7dbd0a.1] // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.bound.loc17: = bound_method %a.ref.loc17, %Equal.ref.loc17 -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.specific_fn.loc17: = specific_function %Equal.ref.loc17, @Cpp.long.as.EqWith.impl.Equal.2(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.specific_fn.22d240.2] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.specific_fn.loc17: = specific_function %Equal.ref.loc17, @Cpp.long.as.EqWith.impl.Equal.2(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.EqWith.impl.Equal.specific_fn.5752dd.2] // CHECK:STDOUT: %bound_method.loc17_5.3: = bound_method %a.ref.loc17, %Cpp.long.as.EqWith.impl.Equal.specific_fn.loc17 -// CHECK:STDOUT: %impl.elem0.loc17_8: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc17_8: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc17_8: = bound_method %int_1.loc17, %impl.elem0.loc17_8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %Cpp.long = call %bound_method.loc17_8(%int_1.loc17) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc17_8.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc17_8.2: %Cpp.long = converted %int_1.loc17, %.loc17_8.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %Cpp.long = call %bound_method.loc17_8(%int_1.loc17) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc17_8.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc17_8.2: %Cpp.long = converted %int_1.loc17, %.loc17_8.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.Equal.call.loc17: init bool = call %bound_method.loc17_5.3(%a.ref.loc17, %.loc17_8.2) // CHECK:STDOUT: %a.ref.loc18: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %int_1.loc18: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem1.loc18: %.cf2 = impl_witness_access constants.%EqWith.impl_witness.1f9, element1 [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.cc0c63.2] +// CHECK:STDOUT: %impl.elem1.loc18: %.e6b = impl_witness_access constants.%EqWith.impl_witness.475, element1 [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.dd0676.2] // CHECK:STDOUT: %bound_method.loc18_5.1: = bound_method %a.ref.loc18, %impl.elem1.loc18 -// CHECK:STDOUT: %ImplicitAs.facet.loc18: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.134) [concrete = constants.%ImplicitAs.facet.a52] -// CHECK:STDOUT: %.loc18_5.1: %ImplicitAs.type.2b7 = converted Core.IntLiteral, %ImplicitAs.facet.loc18 [concrete = constants.%ImplicitAs.facet.a52] -// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem1.loc18, @Cpp.long.as.EqWith.impl.NotEqual.1(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.specific_fn.b0dc03.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc18: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.e41) [concrete = constants.%ImplicitAs.facet.c09] +// CHECK:STDOUT: %.loc18_5.1: %ImplicitAs.type.6fa = converted Core.IntLiteral, %ImplicitAs.facet.loc18 [concrete = constants.%ImplicitAs.facet.c09] +// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem1.loc18, @Cpp.long.as.EqWith.impl.NotEqual.1(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.specific_fn.e03a04.1] // CHECK:STDOUT: %bound_method.loc18_5.2: = bound_method %a.ref.loc18, %specific_fn.loc18 -// CHECK:STDOUT: %.loc18_5.2: %Cpp.long.as.EqWith.impl.NotEqual.type.a90553.1 = specific_constant imports.%Core.NotEqual.1d2, @Cpp.long.as.EqWith.impl.b61(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.cc0c63.1] -// CHECK:STDOUT: %NotEqual.ref.loc18: %Cpp.long.as.EqWith.impl.NotEqual.type.a90553.1 = name_ref NotEqual, %.loc18_5.2 [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.cc0c63.1] +// CHECK:STDOUT: %.loc18_5.2: %Cpp.long.as.EqWith.impl.NotEqual.type.f0dc65.1 = specific_constant imports.%Core.NotEqual.3e4, @Cpp.long.as.EqWith.impl.e2f(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.dd0676.1] +// CHECK:STDOUT: %NotEqual.ref.loc18: %Cpp.long.as.EqWith.impl.NotEqual.type.f0dc65.1 = name_ref NotEqual, %.loc18_5.2 [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.dd0676.1] // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.bound.loc18: = bound_method %a.ref.loc18, %NotEqual.ref.loc18 -// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.loc18: = specific_function %NotEqual.ref.loc18, @Cpp.long.as.EqWith.impl.NotEqual.2(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.specific_fn.b0dc03.2] +// CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.loc18: = specific_function %NotEqual.ref.loc18, @Cpp.long.as.EqWith.impl.NotEqual.2(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.EqWith.impl.NotEqual.specific_fn.e03a04.2] // CHECK:STDOUT: %bound_method.loc18_5.3: = bound_method %a.ref.loc18, %Cpp.long.as.EqWith.impl.NotEqual.specific_fn.loc18 -// CHECK:STDOUT: %impl.elem0.loc18: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc18: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc18_8: = bound_method %int_1.loc18, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %Cpp.long = call %bound_method.loc18_8(%int_1.loc18) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc18_8.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc18_8.2: %Cpp.long = converted %int_1.loc18, %.loc18_8.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %Cpp.long = call %bound_method.loc18_8(%int_1.loc18) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc18_8.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc18_8.2: %Cpp.long = converted %int_1.loc18, %.loc18_8.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %Cpp.long.as.EqWith.impl.NotEqual.call.loc18: init bool = call %bound_method.loc18_5.3(%a.ref.loc18, %.loc18_8.2) // CHECK:STDOUT: %a.ref.loc19: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %int_1.loc19: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem2.loc19: %.907 = impl_witness_access constants.%OrderedWith.impl_witness.021, element2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.e6f9b1.2] +// CHECK:STDOUT: %impl.elem2.loc19: %.384 = impl_witness_access constants.%OrderedWith.impl_witness.70e, element2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.5b50d7.2] // CHECK:STDOUT: %bound_method.loc19_5.1: = bound_method %a.ref.loc19, %impl.elem2.loc19 -// CHECK:STDOUT: %ImplicitAs.facet.loc19: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.134) [concrete = constants.%ImplicitAs.facet.a52] -// CHECK:STDOUT: %.loc19_5.1: %ImplicitAs.type.2b7 = converted Core.IntLiteral, %ImplicitAs.facet.loc19 [concrete = constants.%ImplicitAs.facet.a52] -// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem2.loc19, @Cpp.long.as.OrderedWith.impl.Greater.1(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.specific_fn.22931c.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc19: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.e41) [concrete = constants.%ImplicitAs.facet.c09] +// CHECK:STDOUT: %.loc19_5.1: %ImplicitAs.type.6fa = converted Core.IntLiteral, %ImplicitAs.facet.loc19 [concrete = constants.%ImplicitAs.facet.c09] +// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem2.loc19, @Cpp.long.as.OrderedWith.impl.Greater.1(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.specific_fn.ea58ad.1] // CHECK:STDOUT: %bound_method.loc19_5.2: = bound_method %a.ref.loc19, %specific_fn.loc19 -// CHECK:STDOUT: %.loc19_5.2: %Cpp.long.as.OrderedWith.impl.Greater.type.8facb7.1 = specific_constant imports.%Core.Greater.0e7, @Cpp.long.as.OrderedWith.impl.763(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.e6f9b1.1] -// CHECK:STDOUT: %Greater.ref.loc19: %Cpp.long.as.OrderedWith.impl.Greater.type.8facb7.1 = name_ref Greater, %.loc19_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.e6f9b1.1] +// CHECK:STDOUT: %.loc19_5.2: %Cpp.long.as.OrderedWith.impl.Greater.type.4d8ecd.1 = specific_constant imports.%Core.Greater.421, @Cpp.long.as.OrderedWith.impl.786(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.5b50d7.1] +// CHECK:STDOUT: %Greater.ref.loc19: %Cpp.long.as.OrderedWith.impl.Greater.type.4d8ecd.1 = name_ref Greater, %.loc19_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.5b50d7.1] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.bound.loc19: = bound_method %a.ref.loc19, %Greater.ref.loc19 -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.loc19: = specific_function %Greater.ref.loc19, @Cpp.long.as.OrderedWith.impl.Greater.2(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.specific_fn.22931c.2] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.loc19: = specific_function %Greater.ref.loc19, @Cpp.long.as.OrderedWith.impl.Greater.2(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Greater.specific_fn.ea58ad.2] // CHECK:STDOUT: %bound_method.loc19_5.3: = bound_method %a.ref.loc19, %Cpp.long.as.OrderedWith.impl.Greater.specific_fn.loc19 -// CHECK:STDOUT: %impl.elem0.loc19: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc19: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc19_7: = bound_method %int_1.loc19, %impl.elem0.loc19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %Cpp.long = call %bound_method.loc19_7(%int_1.loc19) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc19_7.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc19_7.2: %Cpp.long = converted %int_1.loc19, %.loc19_7.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %Cpp.long = call %bound_method.loc19_7(%int_1.loc19) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc19_7.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc19_7.2: %Cpp.long = converted %int_1.loc19, %.loc19_7.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Greater.call.loc19: init bool = call %bound_method.loc19_5.3(%a.ref.loc19, %.loc19_7.2) // CHECK:STDOUT: %a.ref.loc20: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %int_1.loc20: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc20_5: %.c3d = impl_witness_access constants.%OrderedWith.impl_witness.021, element0 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.f16bf3.2] +// CHECK:STDOUT: %impl.elem0.loc20_5: %.28e = impl_witness_access constants.%OrderedWith.impl_witness.70e, element0 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.bc9b37.2] // CHECK:STDOUT: %bound_method.loc20_5.1: = bound_method %a.ref.loc20, %impl.elem0.loc20_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc20: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.134) [concrete = constants.%ImplicitAs.facet.a52] -// CHECK:STDOUT: %.loc20_5.1: %ImplicitAs.type.2b7 = converted Core.IntLiteral, %ImplicitAs.facet.loc20 [concrete = constants.%ImplicitAs.facet.a52] -// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20_5, @Cpp.long.as.OrderedWith.impl.Less.1(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.specific_fn.780ca1.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc20: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.e41) [concrete = constants.%ImplicitAs.facet.c09] +// CHECK:STDOUT: %.loc20_5.1: %ImplicitAs.type.6fa = converted Core.IntLiteral, %ImplicitAs.facet.loc20 [concrete = constants.%ImplicitAs.facet.c09] +// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20_5, @Cpp.long.as.OrderedWith.impl.Less.1(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.specific_fn.b7bcad.1] // CHECK:STDOUT: %bound_method.loc20_5.2: = bound_method %a.ref.loc20, %specific_fn.loc20 -// CHECK:STDOUT: %.loc20_5.2: %Cpp.long.as.OrderedWith.impl.Less.type.4d162b.1 = specific_constant imports.%Core.Less.e56, @Cpp.long.as.OrderedWith.impl.763(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.f16bf3.1] -// CHECK:STDOUT: %Less.ref.loc20: %Cpp.long.as.OrderedWith.impl.Less.type.4d162b.1 = name_ref Less, %.loc20_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.f16bf3.1] +// CHECK:STDOUT: %.loc20_5.2: %Cpp.long.as.OrderedWith.impl.Less.type.cc8d23.1 = specific_constant imports.%Core.Less.158, @Cpp.long.as.OrderedWith.impl.786(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.bc9b37.1] +// CHECK:STDOUT: %Less.ref.loc20: %Cpp.long.as.OrderedWith.impl.Less.type.cc8d23.1 = name_ref Less, %.loc20_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.bc9b37.1] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.bound.loc20: = bound_method %a.ref.loc20, %Less.ref.loc20 -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.specific_fn.loc20: = specific_function %Less.ref.loc20, @Cpp.long.as.OrderedWith.impl.Less.2(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.specific_fn.780ca1.2] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.specific_fn.loc20: = specific_function %Less.ref.loc20, @Cpp.long.as.OrderedWith.impl.Less.2(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.OrderedWith.impl.Less.specific_fn.b7bcad.2] // CHECK:STDOUT: %bound_method.loc20_5.3: = bound_method %a.ref.loc20, %Cpp.long.as.OrderedWith.impl.Less.specific_fn.loc20 -// CHECK:STDOUT: %impl.elem0.loc20_7: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc20_7: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc20_7: = bound_method %int_1.loc20, %impl.elem0.loc20_7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %Cpp.long = call %bound_method.loc20_7(%int_1.loc20) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc20_7.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc20_7.2: %Cpp.long = converted %int_1.loc20, %.loc20_7.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %Cpp.long = call %bound_method.loc20_7(%int_1.loc20) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc20_7.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc20_7.2: %Cpp.long = converted %int_1.loc20, %.loc20_7.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.Less.call.loc20: init bool = call %bound_method.loc20_5.3(%a.ref.loc20, %.loc20_7.2) // CHECK:STDOUT: %a.ref.loc21: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %int_1.loc21: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem3.loc21: %.47a = impl_witness_access constants.%OrderedWith.impl_witness.021, element3 [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.031935.2] +// CHECK:STDOUT: %impl.elem3.loc21: %.532 = impl_witness_access constants.%OrderedWith.impl_witness.70e, element3 [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.3fc9f4.2] // CHECK:STDOUT: %bound_method.loc21_5.1: = bound_method %a.ref.loc21, %impl.elem3.loc21 -// CHECK:STDOUT: %ImplicitAs.facet.loc21: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.134) [concrete = constants.%ImplicitAs.facet.a52] -// CHECK:STDOUT: %.loc21_5.1: %ImplicitAs.type.2b7 = converted Core.IntLiteral, %ImplicitAs.facet.loc21 [concrete = constants.%ImplicitAs.facet.a52] -// CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem3.loc21, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.d25936.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc21: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.e41) [concrete = constants.%ImplicitAs.facet.c09] +// CHECK:STDOUT: %.loc21_5.1: %ImplicitAs.type.6fa = converted Core.IntLiteral, %ImplicitAs.facet.loc21 [concrete = constants.%ImplicitAs.facet.c09] +// CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem3.loc21, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.1(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.660f9a.1] // CHECK:STDOUT: %bound_method.loc21_5.2: = bound_method %a.ref.loc21, %specific_fn.loc21 -// CHECK:STDOUT: %.loc21_5.2: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.fa925c.1 = specific_constant imports.%Core.GreaterOrEquivalent.e9a, @Cpp.long.as.OrderedWith.impl.763(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.031935.1] -// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc21: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.fa925c.1 = name_ref GreaterOrEquivalent, %.loc21_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.031935.1] +// CHECK:STDOUT: %.loc21_5.2: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.5183ad.1 = specific_constant imports.%Core.GreaterOrEquivalent.6a2, @Cpp.long.as.OrderedWith.impl.786(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.3fc9f4.1] +// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc21: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.type.5183ad.1 = name_ref GreaterOrEquivalent, %.loc21_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.3fc9f4.1] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.bound.loc21: = bound_method %a.ref.loc21, %GreaterOrEquivalent.ref.loc21 -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21: = specific_function %GreaterOrEquivalent.ref.loc21, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.d25936.2] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21: = specific_function %GreaterOrEquivalent.ref.loc21, @Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.2(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.660f9a.2] // CHECK:STDOUT: %bound_method.loc21_5.3: = bound_method %a.ref.loc21, %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21 -// CHECK:STDOUT: %impl.elem0.loc21: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc21: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc21_8: = bound_method %int_1.loc21, %impl.elem0.loc21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %Cpp.long = call %bound_method.loc21_8(%int_1.loc21) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc21_8.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc21_8.2: %Cpp.long = converted %int_1.loc21, %.loc21_8.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %Cpp.long = call %bound_method.loc21_8(%int_1.loc21) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc21_8.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc21_8.2: %Cpp.long = converted %int_1.loc21, %.loc21_8.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.GreaterOrEquivalent.call.loc21: init bool = call %bound_method.loc21_5.3(%a.ref.loc21, %.loc21_8.2) // CHECK:STDOUT: %a.ref.loc22: %Cpp.long = name_ref a, %a // CHECK:STDOUT: %int_1.loc22: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem1.loc22: %.ff3 = impl_witness_access constants.%OrderedWith.impl_witness.021, element1 [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.97b776.2] +// CHECK:STDOUT: %impl.elem1.loc22: %.484 = impl_witness_access constants.%OrderedWith.impl_witness.70e, element1 [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.26f675.2] // CHECK:STDOUT: %bound_method.loc22_5.1: = bound_method %a.ref.loc22, %impl.elem1.loc22 -// CHECK:STDOUT: %ImplicitAs.facet.loc22: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.134) [concrete = constants.%ImplicitAs.facet.a52] -// CHECK:STDOUT: %.loc22_5.1: %ImplicitAs.type.2b7 = converted Core.IntLiteral, %ImplicitAs.facet.loc22 [concrete = constants.%ImplicitAs.facet.a52] -// CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem1.loc22, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.f4b58e.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc22: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.e41) [concrete = constants.%ImplicitAs.facet.c09] +// CHECK:STDOUT: %.loc22_5.1: %ImplicitAs.type.6fa = converted Core.IntLiteral, %ImplicitAs.facet.loc22 [concrete = constants.%ImplicitAs.facet.c09] +// CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem1.loc22, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.1(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.813265.1] // CHECK:STDOUT: %bound_method.loc22_5.2: = bound_method %a.ref.loc22, %specific_fn.loc22 -// CHECK:STDOUT: %.loc22_5.2: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.146afe.1 = specific_constant imports.%Core.LessOrEquivalent.281, @Cpp.long.as.OrderedWith.impl.763(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.97b776.1] -// CHECK:STDOUT: %LessOrEquivalent.ref.loc22: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.146afe.1 = name_ref LessOrEquivalent, %.loc22_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.97b776.1] +// CHECK:STDOUT: %.loc22_5.2: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.4875b2.1 = specific_constant imports.%Core.LessOrEquivalent.b05, @Cpp.long.as.OrderedWith.impl.786(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.26f675.1] +// CHECK:STDOUT: %LessOrEquivalent.ref.loc22: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.type.4875b2.1 = name_ref LessOrEquivalent, %.loc22_5.2 [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.26f675.1] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.bound.loc22: = bound_method %a.ref.loc22, %LessOrEquivalent.ref.loc22 -// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22: = specific_function %LessOrEquivalent.ref.loc22, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2(constants.%ImplicitAs.facet.a52) [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.f4b58e.2] +// CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22: = specific_function %LessOrEquivalent.ref.loc22, @Cpp.long.as.OrderedWith.impl.LessOrEquivalent.2(constants.%ImplicitAs.facet.c09) [concrete = constants.%Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.813265.2] // CHECK:STDOUT: %bound_method.loc22_5.3: = bound_method %a.ref.loc22, %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22 -// CHECK:STDOUT: %impl.elem0.loc22: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc22: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc22_8: = bound_method %int_1.loc22, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %Cpp.long = call %bound_method.loc22_8(%int_1.loc22) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc22_8.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc22_8.2: %Cpp.long = converted %int_1.loc22, %.loc22_8.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %Cpp.long = call %bound_method.loc22_8(%int_1.loc22) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc22_8.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc22_8.2: %Cpp.long = converted %int_1.loc22, %.loc22_8.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %Cpp.long.as.OrderedWith.impl.LessOrEquivalent.call.loc22: init bool = call %bound_method.loc22_5.3(%a.ref.loc22, %.loc22_8.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -1991,177 +1991,177 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %Cpp.long: type = class_type @Long32 [concrete] -// CHECK:STDOUT: %pattern_type.3c3: type = pattern_type %Cpp.long [concrete] -// CHECK:STDOUT: %ImplicitAs.type.2b7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.134: = impl_witness imports.%ImplicitAs.impl_witness_table.15d [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.a52: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.134) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bb3: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %.30b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bb3, %ImplicitAs.facet.a52 [concrete] +// CHECK:STDOUT: %pattern_type.83e: type = pattern_type %Cpp.long [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6fa: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e41: = impl_witness imports.%ImplicitAs.impl_witness_table.293 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.c09: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e41) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.93b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %.f84: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.93b, %ImplicitAs.facet.c09 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce [concrete] -// CHECK:STDOUT: %int_1.b8e: %Cpp.long = int_value 1 [concrete] -// CHECK:STDOUT: %EqWith.type.b58: type = facet_type <@EqWith, @EqWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %T.5a0: %ImplicitAs.type.2b7 = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.d4cb3a.1: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.1, @T.as_type.as.EqWith.impl.741(%T.5a0) [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.32eb37.1: %T.as_type.as.EqWith.impl.NotEqual.type.d4cb3a.1 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.d4cb3a.2: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.2, @T.as_type.as.EqWith.impl.741(%T.5a0) [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.32eb37.2: %T.as_type.as.EqWith.impl.NotEqual.type.d4cb3a.2 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.ff4094.1: type = fn_type @T.as_type.as.EqWith.impl.Equal.1, @T.as_type.as.EqWith.impl.741(%T.5a0) [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.6725e8.1: %T.as_type.as.EqWith.impl.Equal.type.ff4094.1 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.ff4094.2: type = fn_type @T.as_type.as.EqWith.impl.Equal.2, @T.as_type.as.EqWith.impl.741(%T.5a0) [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.6725e8.2: %T.as_type.as.EqWith.impl.Equal.type.ff4094.2 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.e53: = impl_witness imports.%ImplicitAs.impl_witness_table.f44 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.32a: %ImplicitAs.type.2b7 = facet_value %i32, (%ImplicitAs.impl_witness.e53) [concrete] -// CHECK:STDOUT: %EqWith.impl_witness.d0b: = impl_witness imports.%EqWith.impl_witness_table.500, @T.as_type.as.EqWith.impl.741(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.ab9a12.1: type = fn_type @T.as_type.as.EqWith.impl.Equal.2, @T.as_type.as.EqWith.impl.741(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.dd77cc.1: %T.as_type.as.EqWith.impl.Equal.type.ab9a12.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.2aefeb.1: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.2, @T.as_type.as.EqWith.impl.741(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.f2cf1d.1: %T.as_type.as.EqWith.impl.NotEqual.type.2aefeb.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.ab9a12.2: type = fn_type @T.as_type.as.EqWith.impl.Equal.1, @T.as_type.as.EqWith.impl.741(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.dd77cc.2: %T.as_type.as.EqWith.impl.Equal.type.ab9a12.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.2aefeb.2: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.1, @T.as_type.as.EqWith.impl.741(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.f2cf1d.2: %T.as_type.as.EqWith.impl.NotEqual.type.2aefeb.2 = struct_value () [concrete] -// CHECK:STDOUT: %EqWith.facet.1bc: %EqWith.type.b58 = facet_value %i32, (%EqWith.impl_witness.d0b) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.7a9: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Cpp.long, %EqWith.facet.1bc) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.6b1: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Cpp.long, %EqWith.facet.1bc) [concrete] -// CHECK:STDOUT: %.622: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.7a9, %EqWith.facet.1bc [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.eb148e.1: = specific_function %T.as_type.as.EqWith.impl.Equal.dd77cc.2, @T.as_type.as.EqWith.impl.Equal.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.eb148e.2: = specific_function %T.as_type.as.EqWith.impl.Equal.dd77cc.1, @T.as_type.as.EqWith.impl.Equal.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.cb7: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %.709: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.cb7, %ImplicitAs.facet.32a [concrete] +// CHECK:STDOUT: %int_1.3d0: %Cpp.long = int_value 1 [concrete] +// CHECK:STDOUT: %EqWith.type.0be: type = facet_type <@EqWith, @EqWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %T.887: %ImplicitAs.type.6fa = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.182979.1: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.1, @T.as_type.as.EqWith.impl.1a3(%T.887) [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.ac4f99.1: %T.as_type.as.EqWith.impl.NotEqual.type.182979.1 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.182979.2: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.2, @T.as_type.as.EqWith.impl.1a3(%T.887) [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.ac4f99.2: %T.as_type.as.EqWith.impl.NotEqual.type.182979.2 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.0e80bf.1: type = fn_type @T.as_type.as.EqWith.impl.Equal.1, @T.as_type.as.EqWith.impl.1a3(%T.887) [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.a11a61.1: %T.as_type.as.EqWith.impl.Equal.type.0e80bf.1 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.0e80bf.2: type = fn_type @T.as_type.as.EqWith.impl.Equal.2, @T.as_type.as.EqWith.impl.1a3(%T.887) [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.a11a61.2: %T.as_type.as.EqWith.impl.Equal.type.0e80bf.2 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.72d: = impl_witness imports.%ImplicitAs.impl_witness_table.29c [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.0fb: %ImplicitAs.type.6fa = facet_value %i32, (%ImplicitAs.impl_witness.72d) [concrete] +// CHECK:STDOUT: %EqWith.impl_witness.37d: = impl_witness imports.%EqWith.impl_witness_table.360, @T.as_type.as.EqWith.impl.1a3(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.50eb4b.1: type = fn_type @T.as_type.as.EqWith.impl.Equal.2, @T.as_type.as.EqWith.impl.1a3(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.33d0bf.1: %T.as_type.as.EqWith.impl.Equal.type.50eb4b.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.989cc9.1: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.2, @T.as_type.as.EqWith.impl.1a3(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.30ef12.1: %T.as_type.as.EqWith.impl.NotEqual.type.989cc9.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.50eb4b.2: type = fn_type @T.as_type.as.EqWith.impl.Equal.1, @T.as_type.as.EqWith.impl.1a3(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.33d0bf.2: %T.as_type.as.EqWith.impl.Equal.type.50eb4b.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.989cc9.2: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.1, @T.as_type.as.EqWith.impl.1a3(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.30ef12.2: %T.as_type.as.EqWith.impl.NotEqual.type.989cc9.2 = struct_value () [concrete] +// CHECK:STDOUT: %EqWith.facet.32b: %EqWith.type.0be = facet_value %i32, (%EqWith.impl_witness.37d) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.3ac: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Cpp.long, %EqWith.facet.32b) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.2b7: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Cpp.long, %EqWith.facet.32b) [concrete] +// CHECK:STDOUT: %.367: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.3ac, %EqWith.facet.32b [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.c2fb87.1: = specific_function %T.as_type.as.EqWith.impl.Equal.33d0bf.2, @T.as_type.as.EqWith.impl.Equal.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.c2fb87.2: = specific_function %T.as_type.as.EqWith.impl.Equal.33d0bf.1, @T.as_type.as.EqWith.impl.Equal.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.db6: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %.9d6: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.db6, %ImplicitAs.facet.0fb [concrete] // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.type: type = fn_type @i32.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert: %i32.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %.f53: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.6b1, %EqWith.facet.1bc [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.879611.1: = specific_function %T.as_type.as.EqWith.impl.NotEqual.f2cf1d.2, @T.as_type.as.EqWith.impl.NotEqual.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.879611.2: = specific_function %T.as_type.as.EqWith.impl.NotEqual.f2cf1d.1, @T.as_type.as.EqWith.impl.NotEqual.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %OrderedWith.type.b99: type = facet_type <@OrderedWith, @OrderedWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.551a68.1: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1, @T.as_type.as.OrderedWith.impl.aa7(%T.5a0) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2f8c74.1: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.551a68.1 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.551a68.2: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2, @T.as_type.as.OrderedWith.impl.aa7(%T.5a0) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2f8c74.2: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.551a68.2 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.855136.1: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.1, @T.as_type.as.OrderedWith.impl.aa7(%T.5a0) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.9e1e8b.1: %T.as_type.as.OrderedWith.impl.Greater.type.855136.1 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.855136.2: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.2, @T.as_type.as.OrderedWith.impl.aa7(%T.5a0) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.9e1e8b.2: %T.as_type.as.OrderedWith.impl.Greater.type.855136.2 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.626eb8.1: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1, @T.as_type.as.OrderedWith.impl.aa7(%T.5a0) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.76fcfd.1: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.626eb8.1 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.626eb8.2: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2, @T.as_type.as.OrderedWith.impl.aa7(%T.5a0) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.76fcfd.2: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.626eb8.2 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.8a1c39.1: type = fn_type @T.as_type.as.OrderedWith.impl.Less.1, @T.as_type.as.OrderedWith.impl.aa7(%T.5a0) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.9ad90b.1: %T.as_type.as.OrderedWith.impl.Less.type.8a1c39.1 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.8a1c39.2: type = fn_type @T.as_type.as.OrderedWith.impl.Less.2, @T.as_type.as.OrderedWith.impl.aa7(%T.5a0) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.9ad90b.2: %T.as_type.as.OrderedWith.impl.Less.type.8a1c39.2 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.impl_witness.27f: = impl_witness imports.%OrderedWith.impl_witness_table.67f, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.1a20a6.1: type = fn_type @T.as_type.as.OrderedWith.impl.Less.2, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.296ff2.1: %T.as_type.as.OrderedWith.impl.Less.type.1a20a6.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.74e24f.1: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.efda91.1: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.74e24f.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.f53882.1: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.2, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.92e3a5.1: %T.as_type.as.OrderedWith.impl.Greater.type.f53882.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.bd52ec.1: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.225758.1: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.bd52ec.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.1a20a6.2: type = fn_type @T.as_type.as.OrderedWith.impl.Less.1, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.296ff2.2: %T.as_type.as.OrderedWith.impl.Less.type.1a20a6.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.74e24f.2: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.efda91.2: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.74e24f.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.f53882.2: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.1, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.92e3a5.2: %T.as_type.as.OrderedWith.impl.Greater.type.f53882.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.bd52ec.2: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.225758.2: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.bd52ec.2 = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.facet.d43: %OrderedWith.type.b99 = facet_value %i32, (%OrderedWith.impl_witness.27f) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.cec: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.d43) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.f84: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.d43) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.4f9: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.d43) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.2ca: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.d43) [concrete] -// CHECK:STDOUT: %.b98: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.4f9, %OrderedWith.facet.d43 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.0a675d.1: = specific_function %T.as_type.as.OrderedWith.impl.Greater.92e3a5.2, @T.as_type.as.OrderedWith.impl.Greater.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.0a675d.2: = specific_function %T.as_type.as.OrderedWith.impl.Greater.92e3a5.1, @T.as_type.as.OrderedWith.impl.Greater.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %.fc3: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.cec, %OrderedWith.facet.d43 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.3ff352.1: = specific_function %T.as_type.as.OrderedWith.impl.Less.296ff2.2, @T.as_type.as.OrderedWith.impl.Less.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.3ff352.2: = specific_function %T.as_type.as.OrderedWith.impl.Less.296ff2.1, @T.as_type.as.OrderedWith.impl.Less.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %.d90: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.2ca, %OrderedWith.facet.d43 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.d9adf9.1: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.225758.2, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.d9adf9.2: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.225758.1, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %.219: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.f84, %OrderedWith.facet.d43 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.753ee6.1: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.efda91.2, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.753ee6.2: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.efda91.1, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %EqWith.impl_witness.87f: = impl_witness imports.%EqWith.impl_witness_table.500, @T.as_type.as.EqWith.impl.741(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.ff9999.1: type = fn_type @T.as_type.as.EqWith.impl.Equal.2, @T.as_type.as.EqWith.impl.741(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.b9bf3a.1: %T.as_type.as.EqWith.impl.Equal.type.ff9999.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.3c0b03.1: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.2, @T.as_type.as.EqWith.impl.741(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.afb945.1: %T.as_type.as.EqWith.impl.NotEqual.type.3c0b03.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.ff9999.2: type = fn_type @T.as_type.as.EqWith.impl.Equal.1, @T.as_type.as.EqWith.impl.741(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.b9bf3a.2: %T.as_type.as.EqWith.impl.Equal.type.ff9999.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.3c0b03.2: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.1, @T.as_type.as.EqWith.impl.741(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.afb945.2: %T.as_type.as.EqWith.impl.NotEqual.type.3c0b03.2 = struct_value () [concrete] -// CHECK:STDOUT: %EqWith.facet.b27: %EqWith.type.b58 = facet_value Core.IntLiteral, (%EqWith.impl_witness.87f) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.670: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Cpp.long, %EqWith.facet.b27) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.f8f: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Cpp.long, %EqWith.facet.b27) [concrete] -// CHECK:STDOUT: %.1a9: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.670, %EqWith.facet.b27 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.eb1e54.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.b9bf3a.2 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.ff16ed.1: = specific_function %T.as_type.as.EqWith.impl.Equal.b9bf3a.2, @T.as_type.as.EqWith.impl.Equal.1(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %bound_method.655c46.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.specific_fn.ff16ed.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.eb1e54.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.b9bf3a.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.ff16ed.2: = specific_function %T.as_type.as.EqWith.impl.Equal.b9bf3a.1, @T.as_type.as.EqWith.impl.Equal.2(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %bound_method.655c46.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.specific_fn.ff16ed.2 [concrete] -// CHECK:STDOUT: %.f2d: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.f8f, %EqWith.facet.b27 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.bf73aa.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.afb945.2 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.af627f.1: = specific_function %T.as_type.as.EqWith.impl.NotEqual.afb945.2, @T.as_type.as.EqWith.impl.NotEqual.1(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %bound_method.d27cef.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.af627f.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.bf73aa.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.afb945.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.af627f.2: = specific_function %T.as_type.as.EqWith.impl.NotEqual.afb945.1, @T.as_type.as.EqWith.impl.NotEqual.2(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %bound_method.d27cef.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.af627f.2 [concrete] -// CHECK:STDOUT: %OrderedWith.impl_witness.1df: = impl_witness imports.%OrderedWith.impl_witness_table.67f, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.2db719.1: type = fn_type @T.as_type.as.OrderedWith.impl.Less.2, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.32f901.1: %T.as_type.as.OrderedWith.impl.Less.type.2db719.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.6c7223.1: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.661fad.1: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.6c7223.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.ccebca.1: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.2, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.b55b76.1: %T.as_type.as.OrderedWith.impl.Greater.type.ccebca.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.dd4f53.1: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e35ec4.1: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.dd4f53.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.2db719.2: type = fn_type @T.as_type.as.OrderedWith.impl.Less.1, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.32f901.2: %T.as_type.as.OrderedWith.impl.Less.type.2db719.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.6c7223.2: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.661fad.2: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.6c7223.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.ccebca.2: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.1, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.b55b76.2: %T.as_type.as.OrderedWith.impl.Greater.type.ccebca.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.dd4f53.2: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1, @T.as_type.as.OrderedWith.impl.aa7(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e35ec4.2: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.dd4f53.2 = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.facet.5c7: %OrderedWith.type.b99 = facet_value Core.IntLiteral, (%OrderedWith.impl_witness.1df) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.1b1: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.5c7) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.18c: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.5c7) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.7fd: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.5c7) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.3cf: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.5c7) [concrete] -// CHECK:STDOUT: %.91d: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.7fd, %OrderedWith.facet.5c7 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.8c1874.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.b55b76.2 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.325f0d.1: = specific_function %T.as_type.as.OrderedWith.impl.Greater.b55b76.2, @T.as_type.as.OrderedWith.impl.Greater.1(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %bound_method.b1d809.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.325f0d.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.8c1874.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.b55b76.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.325f0d.2: = specific_function %T.as_type.as.OrderedWith.impl.Greater.b55b76.1, @T.as_type.as.OrderedWith.impl.Greater.2(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %bound_method.b1d809.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.325f0d.2 [concrete] -// CHECK:STDOUT: %.107: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.1b1, %OrderedWith.facet.5c7 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.5717aa.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.32f901.2 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.8daa90.1: = specific_function %T.as_type.as.OrderedWith.impl.Less.32f901.2, @T.as_type.as.OrderedWith.impl.Less.1(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %bound_method.d697f5.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.specific_fn.8daa90.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.5717aa.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.32f901.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.8daa90.2: = specific_function %T.as_type.as.OrderedWith.impl.Less.32f901.1, @T.as_type.as.OrderedWith.impl.Less.2(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %bound_method.d697f5.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.specific_fn.8daa90.2 [concrete] -// CHECK:STDOUT: %.bd2: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.3cf, %OrderedWith.facet.5c7 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.882a7a.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e35ec4.2 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.89c165.1: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e35ec4.2, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %bound_method.286c73.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.89c165.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.882a7a.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e35ec4.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.89c165.2: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e35ec4.1, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %bound_method.286c73.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.89c165.2 [concrete] -// CHECK:STDOUT: %.041: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.18c, %OrderedWith.facet.5c7 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.30abf1.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.661fad.2 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.56e3a9.1: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.661fad.2, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %bound_method.073256.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.56e3a9.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.30abf1.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.661fad.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.56e3a9.2: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.661fad.1, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2(%ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %bound_method.073256.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.56e3a9.2 [concrete] +// CHECK:STDOUT: %.50c: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.2b7, %EqWith.facet.32b [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.ed888b.1: = specific_function %T.as_type.as.EqWith.impl.NotEqual.30ef12.2, @T.as_type.as.EqWith.impl.NotEqual.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.ed888b.2: = specific_function %T.as_type.as.EqWith.impl.NotEqual.30ef12.1, @T.as_type.as.EqWith.impl.NotEqual.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %OrderedWith.type.f75: type = facet_type <@OrderedWith, @OrderedWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.42dbc4.1: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1, @T.as_type.as.OrderedWith.impl.d3b(%T.887) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.112484.1: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.42dbc4.1 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.42dbc4.2: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2, @T.as_type.as.OrderedWith.impl.d3b(%T.887) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.112484.2: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.42dbc4.2 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.d820b7.1: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.1, @T.as_type.as.OrderedWith.impl.d3b(%T.887) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.803b09.1: %T.as_type.as.OrderedWith.impl.Greater.type.d820b7.1 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.d820b7.2: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.2, @T.as_type.as.OrderedWith.impl.d3b(%T.887) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.803b09.2: %T.as_type.as.OrderedWith.impl.Greater.type.d820b7.2 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.f0b1d3.1: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1, @T.as_type.as.OrderedWith.impl.d3b(%T.887) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.1f6607.1: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.f0b1d3.1 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.f0b1d3.2: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2, @T.as_type.as.OrderedWith.impl.d3b(%T.887) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.1f6607.2: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.f0b1d3.2 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.8e479f.1: type = fn_type @T.as_type.as.OrderedWith.impl.Less.1, @T.as_type.as.OrderedWith.impl.d3b(%T.887) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.6822d0.1: %T.as_type.as.OrderedWith.impl.Less.type.8e479f.1 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.8e479f.2: type = fn_type @T.as_type.as.OrderedWith.impl.Less.2, @T.as_type.as.OrderedWith.impl.d3b(%T.887) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.6822d0.2: %T.as_type.as.OrderedWith.impl.Less.type.8e479f.2 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.impl_witness.f27: = impl_witness imports.%OrderedWith.impl_witness_table.dda, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.a0db57.1: type = fn_type @T.as_type.as.OrderedWith.impl.Less.2, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.3482c5.1: %T.as_type.as.OrderedWith.impl.Less.type.a0db57.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.82d2f0.1: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.510b4c.1: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.82d2f0.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.d192c2.1: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.2, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.b157e1.1: %T.as_type.as.OrderedWith.impl.Greater.type.d192c2.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.288fa6.1: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.8e9946.1: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.288fa6.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.a0db57.2: type = fn_type @T.as_type.as.OrderedWith.impl.Less.1, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.3482c5.2: %T.as_type.as.OrderedWith.impl.Less.type.a0db57.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.82d2f0.2: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.510b4c.2: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.82d2f0.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.d192c2.2: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.1, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.b157e1.2: %T.as_type.as.OrderedWith.impl.Greater.type.d192c2.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.288fa6.2: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.8e9946.2: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.288fa6.2 = struct_value () [concrete] +// CHECK:STDOUT: %OrderedWith.facet.99a: %OrderedWith.type.f75 = facet_value %i32, (%OrderedWith.impl_witness.f27) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.ce0: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.99a) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.edb: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.99a) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.a8e: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.99a) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.d2b: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.99a) [concrete] +// CHECK:STDOUT: %.685: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.a8e, %OrderedWith.facet.99a [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.df8542.1: = specific_function %T.as_type.as.OrderedWith.impl.Greater.b157e1.2, @T.as_type.as.OrderedWith.impl.Greater.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.df8542.2: = specific_function %T.as_type.as.OrderedWith.impl.Greater.b157e1.1, @T.as_type.as.OrderedWith.impl.Greater.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %.f18: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.ce0, %OrderedWith.facet.99a [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.33d5cc.1: = specific_function %T.as_type.as.OrderedWith.impl.Less.3482c5.2, @T.as_type.as.OrderedWith.impl.Less.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.33d5cc.2: = specific_function %T.as_type.as.OrderedWith.impl.Less.3482c5.1, @T.as_type.as.OrderedWith.impl.Less.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %.de3: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.d2b, %OrderedWith.facet.99a [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.ed31ba.1: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.8e9946.2, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.ed31ba.2: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.8e9946.1, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %.8e2: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.edb, %OrderedWith.facet.99a [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.71880f.1: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.510b4c.2, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.71880f.2: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.510b4c.1, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %EqWith.impl_witness.95f: = impl_witness imports.%EqWith.impl_witness_table.360, @T.as_type.as.EqWith.impl.1a3(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.4eea73.1: type = fn_type @T.as_type.as.EqWith.impl.Equal.2, @T.as_type.as.EqWith.impl.1a3(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.e65d61.1: %T.as_type.as.EqWith.impl.Equal.type.4eea73.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.728f73.1: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.2, @T.as_type.as.EqWith.impl.1a3(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.a73f2e.1: %T.as_type.as.EqWith.impl.NotEqual.type.728f73.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.4eea73.2: type = fn_type @T.as_type.as.EqWith.impl.Equal.1, @T.as_type.as.EqWith.impl.1a3(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.e65d61.2: %T.as_type.as.EqWith.impl.Equal.type.4eea73.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.728f73.2: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.1, @T.as_type.as.EqWith.impl.1a3(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.a73f2e.2: %T.as_type.as.EqWith.impl.NotEqual.type.728f73.2 = struct_value () [concrete] +// CHECK:STDOUT: %EqWith.facet.f3d: %EqWith.type.0be = facet_value Core.IntLiteral, (%EqWith.impl_witness.95f) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.027: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Cpp.long, %EqWith.facet.f3d) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.4c3: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Cpp.long, %EqWith.facet.f3d) [concrete] +// CHECK:STDOUT: %.2c2: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.027, %EqWith.facet.f3d [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.c5052e.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.e65d61.2 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.2c5f20.1: = specific_function %T.as_type.as.EqWith.impl.Equal.e65d61.2, @T.as_type.as.EqWith.impl.Equal.1(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %bound_method.bcadad.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.specific_fn.2c5f20.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.c5052e.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.e65d61.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.2c5f20.2: = specific_function %T.as_type.as.EqWith.impl.Equal.e65d61.1, @T.as_type.as.EqWith.impl.Equal.2(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %bound_method.bcadad.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.specific_fn.2c5f20.2 [concrete] +// CHECK:STDOUT: %.cdc: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.4c3, %EqWith.facet.f3d [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.77ff22.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.a73f2e.2 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.4dc8f8.1: = specific_function %T.as_type.as.EqWith.impl.NotEqual.a73f2e.2, @T.as_type.as.EqWith.impl.NotEqual.1(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %bound_method.a142d4.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.4dc8f8.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.77ff22.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.a73f2e.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.4dc8f8.2: = specific_function %T.as_type.as.EqWith.impl.NotEqual.a73f2e.1, @T.as_type.as.EqWith.impl.NotEqual.2(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %bound_method.a142d4.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.4dc8f8.2 [concrete] +// CHECK:STDOUT: %OrderedWith.impl_witness.eca: = impl_witness imports.%OrderedWith.impl_witness_table.dda, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.1b517c.1: type = fn_type @T.as_type.as.OrderedWith.impl.Less.2, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.2d3dbd.1: %T.as_type.as.OrderedWith.impl.Less.type.1b517c.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.b1c747.1: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.a60f6a.1: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.b1c747.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.4df4af.1: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.2, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.892f9f.1: %T.as_type.as.OrderedWith.impl.Greater.type.4df4af.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.10b2de.1: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2af6e8.1: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.10b2de.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.1b517c.2: type = fn_type @T.as_type.as.OrderedWith.impl.Less.1, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.2d3dbd.2: %T.as_type.as.OrderedWith.impl.Less.type.1b517c.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.b1c747.2: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.a60f6a.2: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.b1c747.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.4df4af.2: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.1, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.892f9f.2: %T.as_type.as.OrderedWith.impl.Greater.type.4df4af.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.10b2de.2: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1, @T.as_type.as.OrderedWith.impl.d3b(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2af6e8.2: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.10b2de.2 = struct_value () [concrete] +// CHECK:STDOUT: %OrderedWith.facet.b8e: %OrderedWith.type.f75 = facet_value Core.IntLiteral, (%OrderedWith.impl_witness.eca) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.170: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.b8e) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.df6: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.b8e) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.24c: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.b8e) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.310: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Cpp.long, %OrderedWith.facet.b8e) [concrete] +// CHECK:STDOUT: %.356: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.24c, %OrderedWith.facet.b8e [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.0cb14b.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.892f9f.2 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.793e8a.1: = specific_function %T.as_type.as.OrderedWith.impl.Greater.892f9f.2, @T.as_type.as.OrderedWith.impl.Greater.1(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %bound_method.1e56b3.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.793e8a.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.0cb14b.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.892f9f.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.793e8a.2: = specific_function %T.as_type.as.OrderedWith.impl.Greater.892f9f.1, @T.as_type.as.OrderedWith.impl.Greater.2(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %bound_method.1e56b3.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.793e8a.2 [concrete] +// CHECK:STDOUT: %.b2a: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.170, %OrderedWith.facet.b8e [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.ea8939.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.2d3dbd.2 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.de2542.1: = specific_function %T.as_type.as.OrderedWith.impl.Less.2d3dbd.2, @T.as_type.as.OrderedWith.impl.Less.1(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %bound_method.a1115a.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.specific_fn.de2542.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.ea8939.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.2d3dbd.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.de2542.2: = specific_function %T.as_type.as.OrderedWith.impl.Less.2d3dbd.1, @T.as_type.as.OrderedWith.impl.Less.2(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %bound_method.a1115a.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.specific_fn.de2542.2 [concrete] +// CHECK:STDOUT: %.e96: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.310, %OrderedWith.facet.b8e [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.46e31a.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2af6e8.2 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.17bde9.1: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2af6e8.2, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %bound_method.ff8bc5.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.17bde9.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.46e31a.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2af6e8.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.17bde9.2: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2af6e8.1, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %bound_method.ff8bc5.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.17bde9.2 [concrete] +// CHECK:STDOUT: %.93c: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.df6, %OrderedWith.facet.b8e [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.bd23ae.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.a60f6a.2 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.36fde0.1: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.a60f6a.2, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %bound_method.fbe496.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.36fde0.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.bd23ae.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.a60f6a.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.36fde0.2: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.a60f6a.1, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2(%ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %bound_method.fbe496.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.36fde0.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2169,55 +2169,55 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .long = constants.%Cpp.long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b339.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.15d = impl_witness_table (%Core.import_ref.67b339.1), @Core.IntLiteral.as.ImplicitAs.impl.52f [concrete] -// CHECK:STDOUT: %Core.import_ref.75a: @T.as_type.as.EqWith.impl.741.%T.as_type.as.EqWith.impl.Equal.type.2 (%T.as_type.as.EqWith.impl.Equal.type.ff4094.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.EqWith.impl.741.%T.as_type.as.EqWith.impl.Equal.2 (constants.%T.as_type.as.EqWith.impl.Equal.6725e8.1)] -// CHECK:STDOUT: %Core.import_ref.c2b: @T.as_type.as.EqWith.impl.741.%T.as_type.as.EqWith.impl.NotEqual.type.2 (%T.as_type.as.EqWith.impl.NotEqual.type.d4cb3a.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.EqWith.impl.741.%T.as_type.as.EqWith.impl.NotEqual.2 (constants.%T.as_type.as.EqWith.impl.NotEqual.32eb37.1)] -// CHECK:STDOUT: %EqWith.impl_witness_table.500 = impl_witness_table (%Core.import_ref.75a, %Core.import_ref.c2b), @T.as_type.as.EqWith.impl.741 [concrete] -// CHECK:STDOUT: %Core.NotEqual.b52: @T.as_type.as.EqWith.impl.741.%T.as_type.as.EqWith.impl.NotEqual.type.1 (%T.as_type.as.EqWith.impl.NotEqual.type.d4cb3a.2) = import_ref Core//prelude/types/cpp/int, NotEqual, loaded [symbolic = @T.as_type.as.EqWith.impl.741.%T.as_type.as.EqWith.impl.NotEqual.1 (constants.%T.as_type.as.EqWith.impl.NotEqual.32eb37.2)] -// CHECK:STDOUT: %Core.Equal.39c: @T.as_type.as.EqWith.impl.741.%T.as_type.as.EqWith.impl.Equal.type.1 (%T.as_type.as.EqWith.impl.Equal.type.ff4094.2) = import_ref Core//prelude/types/cpp/int, Equal, loaded [symbolic = @T.as_type.as.EqWith.impl.741.%T.as_type.as.EqWith.impl.Equal.1 (constants.%T.as_type.as.EqWith.impl.Equal.6725e8.2)] -// CHECK:STDOUT: %Core.import_ref.67b339.2: %i32.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.f44 = impl_witness_table (%Core.import_ref.67b339.2), @i32.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.96a: @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.Less.type.2 (%T.as_type.as.OrderedWith.impl.Less.type.8a1c39.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.Less.2 (constants.%T.as_type.as.OrderedWith.impl.Less.9ad90b.1)] -// CHECK:STDOUT: %Core.import_ref.aa4: @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.2 (%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.626eb8.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.2 (constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.76fcfd.1)] -// CHECK:STDOUT: %Core.import_ref.112: @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.Greater.type.2 (%T.as_type.as.OrderedWith.impl.Greater.type.855136.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.Greater.2 (constants.%T.as_type.as.OrderedWith.impl.Greater.9e1e8b.1)] -// CHECK:STDOUT: %Core.import_ref.2e2: @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.2 (%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.551a68.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2 (constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2f8c74.1)] -// CHECK:STDOUT: %OrderedWith.impl_witness_table.67f = impl_witness_table (%Core.import_ref.96a, %Core.import_ref.aa4, %Core.import_ref.112, %Core.import_ref.2e2), @T.as_type.as.OrderedWith.impl.aa7 [concrete] -// CHECK:STDOUT: %Core.GreaterOrEquivalent.e5c: @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.1 (%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.551a68.2) = import_ref Core//prelude/types/cpp/int, GreaterOrEquivalent, loaded [symbolic = @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1 (constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2f8c74.2)] -// CHECK:STDOUT: %Core.Greater.cf6: @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.Greater.type.1 (%T.as_type.as.OrderedWith.impl.Greater.type.855136.2) = import_ref Core//prelude/types/cpp/int, Greater, loaded [symbolic = @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.Greater.1 (constants.%T.as_type.as.OrderedWith.impl.Greater.9e1e8b.2)] -// CHECK:STDOUT: %Core.LessOrEquivalent.1a4: @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.1 (%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.626eb8.2) = import_ref Core//prelude/types/cpp/int, LessOrEquivalent, loaded [symbolic = @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.1 (constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.76fcfd.2)] -// CHECK:STDOUT: %Core.Less.454: @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.Less.type.1 (%T.as_type.as.OrderedWith.impl.Less.type.8a1c39.2) = import_ref Core//prelude/types/cpp/int, Less, loaded [symbolic = @T.as_type.as.OrderedWith.impl.aa7.%T.as_type.as.OrderedWith.impl.Less.1 (constants.%T.as_type.as.OrderedWith.impl.Less.9ad90b.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.293 = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.ImplicitAs.impl.ec9 [concrete] +// CHECK:STDOUT: %Core.import_ref.566: @T.as_type.as.EqWith.impl.1a3.%T.as_type.as.EqWith.impl.Equal.type.2 (%T.as_type.as.EqWith.impl.Equal.type.0e80bf.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.EqWith.impl.1a3.%T.as_type.as.EqWith.impl.Equal.2 (constants.%T.as_type.as.EqWith.impl.Equal.a11a61.1)] +// CHECK:STDOUT: %Core.import_ref.b57: @T.as_type.as.EqWith.impl.1a3.%T.as_type.as.EqWith.impl.NotEqual.type.2 (%T.as_type.as.EqWith.impl.NotEqual.type.182979.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.EqWith.impl.1a3.%T.as_type.as.EqWith.impl.NotEqual.2 (constants.%T.as_type.as.EqWith.impl.NotEqual.ac4f99.1)] +// CHECK:STDOUT: %EqWith.impl_witness_table.360 = impl_witness_table (%Core.import_ref.566, %Core.import_ref.b57), @T.as_type.as.EqWith.impl.1a3 [concrete] +// CHECK:STDOUT: %Core.NotEqual.b04: @T.as_type.as.EqWith.impl.1a3.%T.as_type.as.EqWith.impl.NotEqual.type.1 (%T.as_type.as.EqWith.impl.NotEqual.type.182979.2) = import_ref Core//prelude/types/cpp/int, NotEqual, loaded [symbolic = @T.as_type.as.EqWith.impl.1a3.%T.as_type.as.EqWith.impl.NotEqual.1 (constants.%T.as_type.as.EqWith.impl.NotEqual.ac4f99.2)] +// CHECK:STDOUT: %Core.Equal.883: @T.as_type.as.EqWith.impl.1a3.%T.as_type.as.EqWith.impl.Equal.type.1 (%T.as_type.as.EqWith.impl.Equal.type.0e80bf.2) = import_ref Core//prelude/types/cpp/int, Equal, loaded [symbolic = @T.as_type.as.EqWith.impl.1a3.%T.as_type.as.EqWith.impl.Equal.1 (constants.%T.as_type.as.EqWith.impl.Equal.a11a61.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %i32.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.29c = impl_witness_table (%Core.import_ref.adef5f.2), @i32.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ae9: @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.Less.type.2 (%T.as_type.as.OrderedWith.impl.Less.type.8e479f.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.Less.2 (constants.%T.as_type.as.OrderedWith.impl.Less.6822d0.1)] +// CHECK:STDOUT: %Core.import_ref.069: @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.2 (%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.f0b1d3.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.2 (constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.1f6607.1)] +// CHECK:STDOUT: %Core.import_ref.0b2: @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.Greater.type.2 (%T.as_type.as.OrderedWith.impl.Greater.type.d820b7.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.Greater.2 (constants.%T.as_type.as.OrderedWith.impl.Greater.803b09.1)] +// CHECK:STDOUT: %Core.import_ref.d11: @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.2 (%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.42dbc4.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2 (constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.112484.1)] +// CHECK:STDOUT: %OrderedWith.impl_witness_table.dda = impl_witness_table (%Core.import_ref.ae9, %Core.import_ref.069, %Core.import_ref.0b2, %Core.import_ref.d11), @T.as_type.as.OrderedWith.impl.d3b [concrete] +// CHECK:STDOUT: %Core.GreaterOrEquivalent.e59: @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.1 (%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.42dbc4.2) = import_ref Core//prelude/types/cpp/int, GreaterOrEquivalent, loaded [symbolic = @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1 (constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.112484.2)] +// CHECK:STDOUT: %Core.Greater.0f9: @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.Greater.type.1 (%T.as_type.as.OrderedWith.impl.Greater.type.d820b7.2) = import_ref Core//prelude/types/cpp/int, Greater, loaded [symbolic = @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.Greater.1 (constants.%T.as_type.as.OrderedWith.impl.Greater.803b09.2)] +// CHECK:STDOUT: %Core.LessOrEquivalent.fc1: @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.1 (%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.f0b1d3.2) = import_ref Core//prelude/types/cpp/int, LessOrEquivalent, loaded [symbolic = @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.1 (constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.1f6607.2)] +// CHECK:STDOUT: %Core.Less.add: @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.Less.type.1 (%T.as_type.as.OrderedWith.impl.Less.type.8e479f.2) = import_ref Core//prelude/types/cpp/int, Less, loaded [symbolic = @T.as_type.as.OrderedWith.impl.d3b.%T.as_type.as.OrderedWith.impl.Less.1 (constants.%T.as_type.as.OrderedWith.impl.Less.6822d0.2)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ComparisonsHeterogeneousLongRightSide() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.3c3 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.83e = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc9_13: type = splice_block %long.ref [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long.ref: type = name_ref long, constants.%Cpp.long [concrete = constants.%Cpp.long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc9: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc9: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc9: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc9_21.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc9_21.2: %Cpp.long = converted %int_1.loc9, %.loc9_21.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc9_21.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc9_21.2: %Cpp.long = converted %int_1.loc9, %.loc9_21.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %a: %Cpp.long = value_binding a, %.loc9_21.2 // CHECK:STDOUT: %b.ref.loc10: %i32 = name_ref b, %b // CHECK:STDOUT: %a.ref.loc10: %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc10_5: %.622 = impl_witness_access constants.%EqWith.impl_witness.d0b, element0 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.dd77cc.2] +// CHECK:STDOUT: %impl.elem0.loc10_5: %.367 = impl_witness_access constants.%EqWith.impl_witness.37d, element0 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.33d0bf.2] // CHECK:STDOUT: %bound_method.loc10_5.1: = bound_method %b.ref.loc10, %impl.elem0.loc10_5 -// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @T.as_type.as.EqWith.impl.Equal.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.eb148e.1] +// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @T.as_type.as.EqWith.impl.Equal.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.c2fb87.1] // CHECK:STDOUT: %bound_method.loc10_5.2: = bound_method %b.ref.loc10, %specific_fn.loc10 -// CHECK:STDOUT: %.loc10_5: %T.as_type.as.EqWith.impl.Equal.type.ab9a12.1 = specific_constant imports.%Core.Equal.39c, @T.as_type.as.EqWith.impl.741(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.dd77cc.1] -// CHECK:STDOUT: %Equal.ref.loc10: %T.as_type.as.EqWith.impl.Equal.type.ab9a12.1 = name_ref Equal, %.loc10_5 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.dd77cc.1] +// CHECK:STDOUT: %.loc10_5: %T.as_type.as.EqWith.impl.Equal.type.50eb4b.1 = specific_constant imports.%Core.Equal.883, @T.as_type.as.EqWith.impl.1a3(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.33d0bf.1] +// CHECK:STDOUT: %Equal.ref.loc10: %T.as_type.as.EqWith.impl.Equal.type.50eb4b.1 = name_ref Equal, %.loc10_5 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.33d0bf.1] // CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.loc10: = bound_method %b.ref.loc10, %Equal.ref.loc10 -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.loc10: = specific_function %Equal.ref.loc10, @T.as_type.as.EqWith.impl.Equal.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.eb148e.2] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.loc10: = specific_function %Equal.ref.loc10, @T.as_type.as.EqWith.impl.Equal.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.c2fb87.2] // CHECK:STDOUT: %bound_method.loc10_5.3: = bound_method %b.ref.loc10, %T.as_type.as.EqWith.impl.Equal.specific_fn.loc10 -// CHECK:STDOUT: %impl.elem0.loc10_3: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc10_3: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc10_3: = bound_method %b.ref.loc10, %impl.elem0.loc10_3 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc10: init %Cpp.long = call %bound_method.loc10_3(%b.ref.loc10) // CHECK:STDOUT: %.loc10_3.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc10 @@ -2225,16 +2225,16 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.call.loc10: init bool = call %bound_method.loc10_5.3(%.loc10_3.2, %a.ref.loc10) // CHECK:STDOUT: %b.ref.loc11: %i32 = name_ref b, %b // CHECK:STDOUT: %a.ref.loc11: %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem1.loc11: %.f53 = impl_witness_access constants.%EqWith.impl_witness.d0b, element1 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.f2cf1d.2] +// CHECK:STDOUT: %impl.elem1.loc11: %.50c = impl_witness_access constants.%EqWith.impl_witness.37d, element1 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.30ef12.2] // CHECK:STDOUT: %bound_method.loc11_5.1: = bound_method %b.ref.loc11, %impl.elem1.loc11 -// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem1.loc11, @T.as_type.as.EqWith.impl.NotEqual.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.879611.1] +// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem1.loc11, @T.as_type.as.EqWith.impl.NotEqual.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.ed888b.1] // CHECK:STDOUT: %bound_method.loc11_5.2: = bound_method %b.ref.loc11, %specific_fn.loc11 -// CHECK:STDOUT: %.loc11_5: %T.as_type.as.EqWith.impl.NotEqual.type.2aefeb.1 = specific_constant imports.%Core.NotEqual.b52, @T.as_type.as.EqWith.impl.741(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.f2cf1d.1] -// CHECK:STDOUT: %NotEqual.ref.loc11: %T.as_type.as.EqWith.impl.NotEqual.type.2aefeb.1 = name_ref NotEqual, %.loc11_5 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.f2cf1d.1] +// CHECK:STDOUT: %.loc11_5: %T.as_type.as.EqWith.impl.NotEqual.type.989cc9.1 = specific_constant imports.%Core.NotEqual.b04, @T.as_type.as.EqWith.impl.1a3(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.30ef12.1] +// CHECK:STDOUT: %NotEqual.ref.loc11: %T.as_type.as.EqWith.impl.NotEqual.type.989cc9.1 = name_ref NotEqual, %.loc11_5 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.30ef12.1] // CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.loc11: = bound_method %b.ref.loc11, %NotEqual.ref.loc11 -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc11: = specific_function %NotEqual.ref.loc11, @T.as_type.as.EqWith.impl.NotEqual.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.879611.2] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc11: = specific_function %NotEqual.ref.loc11, @T.as_type.as.EqWith.impl.NotEqual.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.ed888b.2] // CHECK:STDOUT: %bound_method.loc11_5.3: = bound_method %b.ref.loc11, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc11 -// CHECK:STDOUT: %impl.elem0.loc11: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc11: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc11_3: = bound_method %b.ref.loc11, %impl.elem0.loc11 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc11: init %Cpp.long = call %bound_method.loc11_3(%b.ref.loc11) // CHECK:STDOUT: %.loc11_3.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc11 @@ -2242,16 +2242,16 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.call.loc11: init bool = call %bound_method.loc11_5.3(%.loc11_3.2, %a.ref.loc11) // CHECK:STDOUT: %b.ref.loc12: %i32 = name_ref b, %b // CHECK:STDOUT: %a.ref.loc12: %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem2.loc12: %.b98 = impl_witness_access constants.%OrderedWith.impl_witness.27f, element2 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.92e3a5.2] +// CHECK:STDOUT: %impl.elem2.loc12: %.685 = impl_witness_access constants.%OrderedWith.impl_witness.f27, element2 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.b157e1.2] // CHECK:STDOUT: %bound_method.loc12_5.1: = bound_method %b.ref.loc12, %impl.elem2.loc12 -// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem2.loc12, @T.as_type.as.OrderedWith.impl.Greater.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.0a675d.1] +// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem2.loc12, @T.as_type.as.OrderedWith.impl.Greater.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.df8542.1] // CHECK:STDOUT: %bound_method.loc12_5.2: = bound_method %b.ref.loc12, %specific_fn.loc12 -// CHECK:STDOUT: %.loc12_5: %T.as_type.as.OrderedWith.impl.Greater.type.f53882.1 = specific_constant imports.%Core.Greater.cf6, @T.as_type.as.OrderedWith.impl.aa7(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.92e3a5.1] -// CHECK:STDOUT: %Greater.ref.loc12: %T.as_type.as.OrderedWith.impl.Greater.type.f53882.1 = name_ref Greater, %.loc12_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.92e3a5.1] +// CHECK:STDOUT: %.loc12_5: %T.as_type.as.OrderedWith.impl.Greater.type.d192c2.1 = specific_constant imports.%Core.Greater.0f9, @T.as_type.as.OrderedWith.impl.d3b(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.b157e1.1] +// CHECK:STDOUT: %Greater.ref.loc12: %T.as_type.as.OrderedWith.impl.Greater.type.d192c2.1 = name_ref Greater, %.loc12_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.b157e1.1] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.loc12: = bound_method %b.ref.loc12, %Greater.ref.loc12 -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc12: = specific_function %Greater.ref.loc12, @T.as_type.as.OrderedWith.impl.Greater.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.0a675d.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc12: = specific_function %Greater.ref.loc12, @T.as_type.as.OrderedWith.impl.Greater.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.df8542.2] // CHECK:STDOUT: %bound_method.loc12_5.3: = bound_method %b.ref.loc12, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc12 -// CHECK:STDOUT: %impl.elem0.loc12: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc12: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc12_3: = bound_method %b.ref.loc12, %impl.elem0.loc12 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc12: init %Cpp.long = call %bound_method.loc12_3(%b.ref.loc12) // CHECK:STDOUT: %.loc12_3.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc12 @@ -2259,16 +2259,16 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.call.loc12: init bool = call %bound_method.loc12_5.3(%.loc12_3.2, %a.ref.loc12) // CHECK:STDOUT: %b.ref.loc13: %i32 = name_ref b, %b // CHECK:STDOUT: %a.ref.loc13: %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc13_5: %.fc3 = impl_witness_access constants.%OrderedWith.impl_witness.27f, element0 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.296ff2.2] +// CHECK:STDOUT: %impl.elem0.loc13_5: %.f18 = impl_witness_access constants.%OrderedWith.impl_witness.f27, element0 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.3482c5.2] // CHECK:STDOUT: %bound_method.loc13_5.1: = bound_method %b.ref.loc13, %impl.elem0.loc13_5 -// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_5, @T.as_type.as.OrderedWith.impl.Less.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.3ff352.1] +// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_5, @T.as_type.as.OrderedWith.impl.Less.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.33d5cc.1] // CHECK:STDOUT: %bound_method.loc13_5.2: = bound_method %b.ref.loc13, %specific_fn.loc13 -// CHECK:STDOUT: %.loc13_5: %T.as_type.as.OrderedWith.impl.Less.type.1a20a6.1 = specific_constant imports.%Core.Less.454, @T.as_type.as.OrderedWith.impl.aa7(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.296ff2.1] -// CHECK:STDOUT: %Less.ref.loc13: %T.as_type.as.OrderedWith.impl.Less.type.1a20a6.1 = name_ref Less, %.loc13_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.296ff2.1] +// CHECK:STDOUT: %.loc13_5: %T.as_type.as.OrderedWith.impl.Less.type.a0db57.1 = specific_constant imports.%Core.Less.add, @T.as_type.as.OrderedWith.impl.d3b(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.3482c5.1] +// CHECK:STDOUT: %Less.ref.loc13: %T.as_type.as.OrderedWith.impl.Less.type.a0db57.1 = name_ref Less, %.loc13_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.3482c5.1] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.loc13: = bound_method %b.ref.loc13, %Less.ref.loc13 -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc13: = specific_function %Less.ref.loc13, @T.as_type.as.OrderedWith.impl.Less.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.3ff352.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc13: = specific_function %Less.ref.loc13, @T.as_type.as.OrderedWith.impl.Less.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.33d5cc.2] // CHECK:STDOUT: %bound_method.loc13_5.3: = bound_method %b.ref.loc13, %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc13 -// CHECK:STDOUT: %impl.elem0.loc13_3: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc13_3: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc13_3: = bound_method %b.ref.loc13, %impl.elem0.loc13_3 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc13: init %Cpp.long = call %bound_method.loc13_3(%b.ref.loc13) // CHECK:STDOUT: %.loc13_3.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc13 @@ -2276,16 +2276,16 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.call.loc13: init bool = call %bound_method.loc13_5.3(%.loc13_3.2, %a.ref.loc13) // CHECK:STDOUT: %b.ref.loc14: %i32 = name_ref b, %b // CHECK:STDOUT: %a.ref.loc14: %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem3.loc14: %.d90 = impl_witness_access constants.%OrderedWith.impl_witness.27f, element3 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.225758.2] +// CHECK:STDOUT: %impl.elem3.loc14: %.de3 = impl_witness_access constants.%OrderedWith.impl_witness.f27, element3 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.8e9946.2] // CHECK:STDOUT: %bound_method.loc14_5.1: = bound_method %b.ref.loc14, %impl.elem3.loc14 -// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem3.loc14, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.d9adf9.1] +// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem3.loc14, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.ed31ba.1] // CHECK:STDOUT: %bound_method.loc14_5.2: = bound_method %b.ref.loc14, %specific_fn.loc14 -// CHECK:STDOUT: %.loc14_5: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.bd52ec.1 = specific_constant imports.%Core.GreaterOrEquivalent.e5c, @T.as_type.as.OrderedWith.impl.aa7(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.225758.1] -// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc14: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.bd52ec.1 = name_ref GreaterOrEquivalent, %.loc14_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.225758.1] +// CHECK:STDOUT: %.loc14_5: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.288fa6.1 = specific_constant imports.%Core.GreaterOrEquivalent.e59, @T.as_type.as.OrderedWith.impl.d3b(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.8e9946.1] +// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc14: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.288fa6.1 = name_ref GreaterOrEquivalent, %.loc14_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.8e9946.1] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.loc14: = bound_method %b.ref.loc14, %GreaterOrEquivalent.ref.loc14 -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc14: = specific_function %GreaterOrEquivalent.ref.loc14, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.d9adf9.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc14: = specific_function %GreaterOrEquivalent.ref.loc14, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.ed31ba.2] // CHECK:STDOUT: %bound_method.loc14_5.3: = bound_method %b.ref.loc14, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc14 -// CHECK:STDOUT: %impl.elem0.loc14: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc14: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc14_3: = bound_method %b.ref.loc14, %impl.elem0.loc14 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc14: init %Cpp.long = call %bound_method.loc14_3(%b.ref.loc14) // CHECK:STDOUT: %.loc14_3.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc14 @@ -2293,16 +2293,16 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.call.loc14: init bool = call %bound_method.loc14_5.3(%.loc14_3.2, %a.ref.loc14) // CHECK:STDOUT: %b.ref.loc15: %i32 = name_ref b, %b // CHECK:STDOUT: %a.ref.loc15: %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem1.loc15: %.219 = impl_witness_access constants.%OrderedWith.impl_witness.27f, element1 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.efda91.2] +// CHECK:STDOUT: %impl.elem1.loc15: %.8e2 = impl_witness_access constants.%OrderedWith.impl_witness.f27, element1 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.510b4c.2] // CHECK:STDOUT: %bound_method.loc15_5.1: = bound_method %b.ref.loc15, %impl.elem1.loc15 -// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem1.loc15, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.753ee6.1] +// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem1.loc15, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.71880f.1] // CHECK:STDOUT: %bound_method.loc15_5.2: = bound_method %b.ref.loc15, %specific_fn.loc15 -// CHECK:STDOUT: %.loc15_5: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.74e24f.1 = specific_constant imports.%Core.LessOrEquivalent.1a4, @T.as_type.as.OrderedWith.impl.aa7(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.efda91.1] -// CHECK:STDOUT: %LessOrEquivalent.ref.loc15: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.74e24f.1 = name_ref LessOrEquivalent, %.loc15_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.efda91.1] +// CHECK:STDOUT: %.loc15_5: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.82d2f0.1 = specific_constant imports.%Core.LessOrEquivalent.fc1, @T.as_type.as.OrderedWith.impl.d3b(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.510b4c.1] +// CHECK:STDOUT: %LessOrEquivalent.ref.loc15: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.82d2f0.1 = name_ref LessOrEquivalent, %.loc15_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.510b4c.1] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.loc15: = bound_method %b.ref.loc15, %LessOrEquivalent.ref.loc15 -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc15: = specific_function %LessOrEquivalent.ref.loc15, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.753ee6.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc15: = specific_function %LessOrEquivalent.ref.loc15, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.71880f.2] // CHECK:STDOUT: %bound_method.loc15_5.3: = bound_method %b.ref.loc15, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc15 -// CHECK:STDOUT: %impl.elem0.loc15: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc15: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc15_3: = bound_method %b.ref.loc15, %impl.elem0.loc15 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc15: init %Cpp.long = call %bound_method.loc15_3(%b.ref.loc15) // CHECK:STDOUT: %.loc15_3.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc15 @@ -2310,105 +2310,105 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.call.loc15: init bool = call %bound_method.loc15_5.3(%.loc15_3.2, %a.ref.loc15) // CHECK:STDOUT: %int_1.loc17: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %a.ref.loc17: %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc17_5: %.1a9 = impl_witness_access constants.%EqWith.impl_witness.87f, element0 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.b9bf3a.2] -// CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %int_1.loc17, %impl.elem0.loc17_5 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.bound.eb1e54.1] -// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17_5, @T.as_type.as.EqWith.impl.Equal.1(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.ff16ed.1] -// CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %int_1.loc17, %specific_fn.loc17 [concrete = constants.%bound_method.655c46.1] -// CHECK:STDOUT: %.loc17_5: %T.as_type.as.EqWith.impl.Equal.type.ff9999.1 = specific_constant imports.%Core.Equal.39c, @T.as_type.as.EqWith.impl.741(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.b9bf3a.1] -// CHECK:STDOUT: %Equal.ref.loc17: %T.as_type.as.EqWith.impl.Equal.type.ff9999.1 = name_ref Equal, %.loc17_5 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.b9bf3a.1] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.loc17: = bound_method %int_1.loc17, %Equal.ref.loc17 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.bound.eb1e54.2] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.loc17: = specific_function %Equal.ref.loc17, @T.as_type.as.EqWith.impl.Equal.2(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.ff16ed.2] -// CHECK:STDOUT: %bound_method.loc17_5.3: = bound_method %int_1.loc17, %T.as_type.as.EqWith.impl.Equal.specific_fn.loc17 [concrete = constants.%bound_method.655c46.2] -// CHECK:STDOUT: %impl.elem0.loc17_3: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc17_5: %.2c2 = impl_witness_access constants.%EqWith.impl_witness.95f, element0 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.e65d61.2] +// CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %int_1.loc17, %impl.elem0.loc17_5 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.bound.c5052e.1] +// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17_5, @T.as_type.as.EqWith.impl.Equal.1(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.2c5f20.1] +// CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %int_1.loc17, %specific_fn.loc17 [concrete = constants.%bound_method.bcadad.1] +// CHECK:STDOUT: %.loc17_5: %T.as_type.as.EqWith.impl.Equal.type.4eea73.1 = specific_constant imports.%Core.Equal.883, @T.as_type.as.EqWith.impl.1a3(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.e65d61.1] +// CHECK:STDOUT: %Equal.ref.loc17: %T.as_type.as.EqWith.impl.Equal.type.4eea73.1 = name_ref Equal, %.loc17_5 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.e65d61.1] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.loc17: = bound_method %int_1.loc17, %Equal.ref.loc17 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.bound.c5052e.2] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.loc17: = specific_function %Equal.ref.loc17, @T.as_type.as.EqWith.impl.Equal.2(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.2c5f20.2] +// CHECK:STDOUT: %bound_method.loc17_5.3: = bound_method %int_1.loc17, %T.as_type.as.EqWith.impl.Equal.specific_fn.loc17 [concrete = constants.%bound_method.bcadad.2] +// CHECK:STDOUT: %impl.elem0.loc17_3: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc17_3: = bound_method %int_1.loc17, %impl.elem0.loc17_3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %Cpp.long = call %bound_method.loc17_3(%int_1.loc17) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc17_3.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc17_3.2: %Cpp.long = converted %int_1.loc17, %.loc17_3.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %Cpp.long = call %bound_method.loc17_3(%int_1.loc17) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc17_3.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc17_3.2: %Cpp.long = converted %int_1.loc17, %.loc17_3.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.call.loc17: init bool = call %bound_method.loc17_5.3(%.loc17_3.2, %a.ref.loc17) // CHECK:STDOUT: %int_1.loc18: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %a.ref.loc18: %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem1.loc18: %.f2d = impl_witness_access constants.%EqWith.impl_witness.87f, element1 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.afb945.2] -// CHECK:STDOUT: %bound_method.loc18_5.1: = bound_method %int_1.loc18, %impl.elem1.loc18 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.bound.bf73aa.1] -// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem1.loc18, @T.as_type.as.EqWith.impl.NotEqual.1(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.af627f.1] -// CHECK:STDOUT: %bound_method.loc18_5.2: = bound_method %int_1.loc18, %specific_fn.loc18 [concrete = constants.%bound_method.d27cef.1] -// CHECK:STDOUT: %.loc18_5: %T.as_type.as.EqWith.impl.NotEqual.type.3c0b03.1 = specific_constant imports.%Core.NotEqual.b52, @T.as_type.as.EqWith.impl.741(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.afb945.1] -// CHECK:STDOUT: %NotEqual.ref.loc18: %T.as_type.as.EqWith.impl.NotEqual.type.3c0b03.1 = name_ref NotEqual, %.loc18_5 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.afb945.1] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.loc18: = bound_method %int_1.loc18, %NotEqual.ref.loc18 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.bound.bf73aa.2] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc18: = specific_function %NotEqual.ref.loc18, @T.as_type.as.EqWith.impl.NotEqual.2(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.af627f.2] -// CHECK:STDOUT: %bound_method.loc18_5.3: = bound_method %int_1.loc18, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc18 [concrete = constants.%bound_method.d27cef.2] -// CHECK:STDOUT: %impl.elem0.loc18: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem1.loc18: %.cdc = impl_witness_access constants.%EqWith.impl_witness.95f, element1 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.a73f2e.2] +// CHECK:STDOUT: %bound_method.loc18_5.1: = bound_method %int_1.loc18, %impl.elem1.loc18 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.bound.77ff22.1] +// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem1.loc18, @T.as_type.as.EqWith.impl.NotEqual.1(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.4dc8f8.1] +// CHECK:STDOUT: %bound_method.loc18_5.2: = bound_method %int_1.loc18, %specific_fn.loc18 [concrete = constants.%bound_method.a142d4.1] +// CHECK:STDOUT: %.loc18_5: %T.as_type.as.EqWith.impl.NotEqual.type.728f73.1 = specific_constant imports.%Core.NotEqual.b04, @T.as_type.as.EqWith.impl.1a3(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.a73f2e.1] +// CHECK:STDOUT: %NotEqual.ref.loc18: %T.as_type.as.EqWith.impl.NotEqual.type.728f73.1 = name_ref NotEqual, %.loc18_5 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.a73f2e.1] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.loc18: = bound_method %int_1.loc18, %NotEqual.ref.loc18 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.bound.77ff22.2] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc18: = specific_function %NotEqual.ref.loc18, @T.as_type.as.EqWith.impl.NotEqual.2(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.4dc8f8.2] +// CHECK:STDOUT: %bound_method.loc18_5.3: = bound_method %int_1.loc18, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc18 [concrete = constants.%bound_method.a142d4.2] +// CHECK:STDOUT: %impl.elem0.loc18: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc18_3: = bound_method %int_1.loc18, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %Cpp.long = call %bound_method.loc18_3(%int_1.loc18) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc18_3.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc18_3.2: %Cpp.long = converted %int_1.loc18, %.loc18_3.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %Cpp.long = call %bound_method.loc18_3(%int_1.loc18) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc18_3.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc18_3.2: %Cpp.long = converted %int_1.loc18, %.loc18_3.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.call.loc18: init bool = call %bound_method.loc18_5.3(%.loc18_3.2, %a.ref.loc18) // CHECK:STDOUT: %int_1.loc19: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %a.ref.loc19: %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem2.loc19: %.91d = impl_witness_access constants.%OrderedWith.impl_witness.1df, element2 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.b55b76.2] -// CHECK:STDOUT: %bound_method.loc19_5.1: = bound_method %int_1.loc19, %impl.elem2.loc19 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.bound.8c1874.1] -// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem2.loc19, @T.as_type.as.OrderedWith.impl.Greater.1(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.325f0d.1] -// CHECK:STDOUT: %bound_method.loc19_5.2: = bound_method %int_1.loc19, %specific_fn.loc19 [concrete = constants.%bound_method.b1d809.1] -// CHECK:STDOUT: %.loc19_5: %T.as_type.as.OrderedWith.impl.Greater.type.ccebca.1 = specific_constant imports.%Core.Greater.cf6, @T.as_type.as.OrderedWith.impl.aa7(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.b55b76.1] -// CHECK:STDOUT: %Greater.ref.loc19: %T.as_type.as.OrderedWith.impl.Greater.type.ccebca.1 = name_ref Greater, %.loc19_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.b55b76.1] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.loc19: = bound_method %int_1.loc19, %Greater.ref.loc19 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.bound.8c1874.2] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc19: = specific_function %Greater.ref.loc19, @T.as_type.as.OrderedWith.impl.Greater.2(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.325f0d.2] -// CHECK:STDOUT: %bound_method.loc19_5.3: = bound_method %int_1.loc19, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc19 [concrete = constants.%bound_method.b1d809.2] -// CHECK:STDOUT: %impl.elem0.loc19: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem2.loc19: %.356 = impl_witness_access constants.%OrderedWith.impl_witness.eca, element2 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.892f9f.2] +// CHECK:STDOUT: %bound_method.loc19_5.1: = bound_method %int_1.loc19, %impl.elem2.loc19 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.bound.0cb14b.1] +// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem2.loc19, @T.as_type.as.OrderedWith.impl.Greater.1(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.793e8a.1] +// CHECK:STDOUT: %bound_method.loc19_5.2: = bound_method %int_1.loc19, %specific_fn.loc19 [concrete = constants.%bound_method.1e56b3.1] +// CHECK:STDOUT: %.loc19_5: %T.as_type.as.OrderedWith.impl.Greater.type.4df4af.1 = specific_constant imports.%Core.Greater.0f9, @T.as_type.as.OrderedWith.impl.d3b(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.892f9f.1] +// CHECK:STDOUT: %Greater.ref.loc19: %T.as_type.as.OrderedWith.impl.Greater.type.4df4af.1 = name_ref Greater, %.loc19_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.892f9f.1] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.loc19: = bound_method %int_1.loc19, %Greater.ref.loc19 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.bound.0cb14b.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc19: = specific_function %Greater.ref.loc19, @T.as_type.as.OrderedWith.impl.Greater.2(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.793e8a.2] +// CHECK:STDOUT: %bound_method.loc19_5.3: = bound_method %int_1.loc19, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc19 [concrete = constants.%bound_method.1e56b3.2] +// CHECK:STDOUT: %impl.elem0.loc19: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc19_3: = bound_method %int_1.loc19, %impl.elem0.loc19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %Cpp.long = call %bound_method.loc19_3(%int_1.loc19) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc19_3.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc19_3.2: %Cpp.long = converted %int_1.loc19, %.loc19_3.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %Cpp.long = call %bound_method.loc19_3(%int_1.loc19) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc19_3.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc19_3.2: %Cpp.long = converted %int_1.loc19, %.loc19_3.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.call.loc19: init bool = call %bound_method.loc19_5.3(%.loc19_3.2, %a.ref.loc19) // CHECK:STDOUT: %int_1.loc20: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %a.ref.loc20: %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc20_5: %.107 = impl_witness_access constants.%OrderedWith.impl_witness.1df, element0 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.32f901.2] -// CHECK:STDOUT: %bound_method.loc20_5.1: = bound_method %int_1.loc20, %impl.elem0.loc20_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.bound.5717aa.1] -// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20_5, @T.as_type.as.OrderedWith.impl.Less.1(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.8daa90.1] -// CHECK:STDOUT: %bound_method.loc20_5.2: = bound_method %int_1.loc20, %specific_fn.loc20 [concrete = constants.%bound_method.d697f5.1] -// CHECK:STDOUT: %.loc20_5: %T.as_type.as.OrderedWith.impl.Less.type.2db719.1 = specific_constant imports.%Core.Less.454, @T.as_type.as.OrderedWith.impl.aa7(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.32f901.1] -// CHECK:STDOUT: %Less.ref.loc20: %T.as_type.as.OrderedWith.impl.Less.type.2db719.1 = name_ref Less, %.loc20_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.32f901.1] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.loc20: = bound_method %int_1.loc20, %Less.ref.loc20 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.bound.5717aa.2] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc20: = specific_function %Less.ref.loc20, @T.as_type.as.OrderedWith.impl.Less.2(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.8daa90.2] -// CHECK:STDOUT: %bound_method.loc20_5.3: = bound_method %int_1.loc20, %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc20 [concrete = constants.%bound_method.d697f5.2] -// CHECK:STDOUT: %impl.elem0.loc20_3: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc20_5: %.b2a = impl_witness_access constants.%OrderedWith.impl_witness.eca, element0 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.2d3dbd.2] +// CHECK:STDOUT: %bound_method.loc20_5.1: = bound_method %int_1.loc20, %impl.elem0.loc20_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.bound.ea8939.1] +// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20_5, @T.as_type.as.OrderedWith.impl.Less.1(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.de2542.1] +// CHECK:STDOUT: %bound_method.loc20_5.2: = bound_method %int_1.loc20, %specific_fn.loc20 [concrete = constants.%bound_method.a1115a.1] +// CHECK:STDOUT: %.loc20_5: %T.as_type.as.OrderedWith.impl.Less.type.1b517c.1 = specific_constant imports.%Core.Less.add, @T.as_type.as.OrderedWith.impl.d3b(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.2d3dbd.1] +// CHECK:STDOUT: %Less.ref.loc20: %T.as_type.as.OrderedWith.impl.Less.type.1b517c.1 = name_ref Less, %.loc20_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.2d3dbd.1] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.loc20: = bound_method %int_1.loc20, %Less.ref.loc20 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.bound.ea8939.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc20: = specific_function %Less.ref.loc20, @T.as_type.as.OrderedWith.impl.Less.2(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.de2542.2] +// CHECK:STDOUT: %bound_method.loc20_5.3: = bound_method %int_1.loc20, %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc20 [concrete = constants.%bound_method.a1115a.2] +// CHECK:STDOUT: %impl.elem0.loc20_3: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc20_3: = bound_method %int_1.loc20, %impl.elem0.loc20_3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %Cpp.long = call %bound_method.loc20_3(%int_1.loc20) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc20_3.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc20_3.2: %Cpp.long = converted %int_1.loc20, %.loc20_3.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %Cpp.long = call %bound_method.loc20_3(%int_1.loc20) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc20_3.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc20_3.2: %Cpp.long = converted %int_1.loc20, %.loc20_3.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.call.loc20: init bool = call %bound_method.loc20_5.3(%.loc20_3.2, %a.ref.loc20) // CHECK:STDOUT: %int_1.loc21: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %a.ref.loc21: %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem3.loc21: %.bd2 = impl_witness_access constants.%OrderedWith.impl_witness.1df, element3 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e35ec4.2] -// CHECK:STDOUT: %bound_method.loc21_5.1: = bound_method %int_1.loc21, %impl.elem3.loc21 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.882a7a.1] -// CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem3.loc21, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.89c165.1] -// CHECK:STDOUT: %bound_method.loc21_5.2: = bound_method %int_1.loc21, %specific_fn.loc21 [concrete = constants.%bound_method.286c73.1] -// CHECK:STDOUT: %.loc21_5: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.dd4f53.1 = specific_constant imports.%Core.GreaterOrEquivalent.e5c, @T.as_type.as.OrderedWith.impl.aa7(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e35ec4.1] -// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc21: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.dd4f53.1 = name_ref GreaterOrEquivalent, %.loc21_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e35ec4.1] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.loc21: = bound_method %int_1.loc21, %GreaterOrEquivalent.ref.loc21 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.882a7a.2] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21: = specific_function %GreaterOrEquivalent.ref.loc21, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.89c165.2] -// CHECK:STDOUT: %bound_method.loc21_5.3: = bound_method %int_1.loc21, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21 [concrete = constants.%bound_method.286c73.2] -// CHECK:STDOUT: %impl.elem0.loc21: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem3.loc21: %.e96 = impl_witness_access constants.%OrderedWith.impl_witness.eca, element3 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2af6e8.2] +// CHECK:STDOUT: %bound_method.loc21_5.1: = bound_method %int_1.loc21, %impl.elem3.loc21 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.46e31a.1] +// CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem3.loc21, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.17bde9.1] +// CHECK:STDOUT: %bound_method.loc21_5.2: = bound_method %int_1.loc21, %specific_fn.loc21 [concrete = constants.%bound_method.ff8bc5.1] +// CHECK:STDOUT: %.loc21_5: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.10b2de.1 = specific_constant imports.%Core.GreaterOrEquivalent.e59, @T.as_type.as.OrderedWith.impl.d3b(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2af6e8.1] +// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc21: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.10b2de.1 = name_ref GreaterOrEquivalent, %.loc21_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2af6e8.1] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.loc21: = bound_method %int_1.loc21, %GreaterOrEquivalent.ref.loc21 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.46e31a.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21: = specific_function %GreaterOrEquivalent.ref.loc21, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.17bde9.2] +// CHECK:STDOUT: %bound_method.loc21_5.3: = bound_method %int_1.loc21, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21 [concrete = constants.%bound_method.ff8bc5.2] +// CHECK:STDOUT: %impl.elem0.loc21: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc21_3: = bound_method %int_1.loc21, %impl.elem0.loc21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %Cpp.long = call %bound_method.loc21_3(%int_1.loc21) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc21_3.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc21_3.2: %Cpp.long = converted %int_1.loc21, %.loc21_3.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %Cpp.long = call %bound_method.loc21_3(%int_1.loc21) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc21_3.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc21_3.2: %Cpp.long = converted %int_1.loc21, %.loc21_3.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.call.loc21: init bool = call %bound_method.loc21_5.3(%.loc21_3.2, %a.ref.loc21) // CHECK:STDOUT: %int_1.loc22: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %a.ref.loc22: %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem1.loc22: %.041 = impl_witness_access constants.%OrderedWith.impl_witness.1df, element1 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.661fad.2] -// CHECK:STDOUT: %bound_method.loc22_5.1: = bound_method %int_1.loc22, %impl.elem1.loc22 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.30abf1.1] -// CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem1.loc22, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.56e3a9.1] -// CHECK:STDOUT: %bound_method.loc22_5.2: = bound_method %int_1.loc22, %specific_fn.loc22 [concrete = constants.%bound_method.073256.1] -// CHECK:STDOUT: %.loc22_5: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.6c7223.1 = specific_constant imports.%Core.LessOrEquivalent.1a4, @T.as_type.as.OrderedWith.impl.aa7(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.661fad.1] -// CHECK:STDOUT: %LessOrEquivalent.ref.loc22: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.6c7223.1 = name_ref LessOrEquivalent, %.loc22_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.661fad.1] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.loc22: = bound_method %int_1.loc22, %LessOrEquivalent.ref.loc22 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.30abf1.2] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22: = specific_function %LessOrEquivalent.ref.loc22, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2(constants.%ImplicitAs.facet.a52) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.56e3a9.2] -// CHECK:STDOUT: %bound_method.loc22_5.3: = bound_method %int_1.loc22, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22 [concrete = constants.%bound_method.073256.2] -// CHECK:STDOUT: %impl.elem0.loc22: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem1.loc22: %.93c = impl_witness_access constants.%OrderedWith.impl_witness.eca, element1 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.a60f6a.2] +// CHECK:STDOUT: %bound_method.loc22_5.1: = bound_method %int_1.loc22, %impl.elem1.loc22 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.bd23ae.1] +// CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem1.loc22, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.1(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.36fde0.1] +// CHECK:STDOUT: %bound_method.loc22_5.2: = bound_method %int_1.loc22, %specific_fn.loc22 [concrete = constants.%bound_method.fbe496.1] +// CHECK:STDOUT: %.loc22_5: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.b1c747.1 = specific_constant imports.%Core.LessOrEquivalent.fc1, @T.as_type.as.OrderedWith.impl.d3b(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.a60f6a.1] +// CHECK:STDOUT: %LessOrEquivalent.ref.loc22: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.b1c747.1 = name_ref LessOrEquivalent, %.loc22_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.a60f6a.1] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.loc22: = bound_method %int_1.loc22, %LessOrEquivalent.ref.loc22 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.bd23ae.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22: = specific_function %LessOrEquivalent.ref.loc22, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.2(constants.%ImplicitAs.facet.c09) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.36fde0.2] +// CHECK:STDOUT: %bound_method.loc22_5.3: = bound_method %int_1.loc22, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22 [concrete = constants.%bound_method.fbe496.2] +// CHECK:STDOUT: %impl.elem0.loc22: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc22_3: = bound_method %int_1.loc22, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %Cpp.long = call %bound_method.loc22_3(%int_1.loc22) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc22_3.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc22_3.2: %Cpp.long = converted %int_1.loc22, %.loc22_3.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %Cpp.long = call %bound_method.loc22_3(%int_1.loc22) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc22_3.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc22_3.2: %Cpp.long = converted %int_1.loc22, %.loc22_3.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.call.loc22: init bool = call %bound_method.loc22_5.3(%.loc22_3.2, %a.ref.loc22) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -2417,57 +2417,57 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Cpp.long: type = class_type @Long32 [concrete] -// CHECK:STDOUT: %pattern_type.3c3: type = pattern_type %Cpp.long [concrete] +// CHECK:STDOUT: %pattern_type.83e: type = pattern_type %Cpp.long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.2b7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.134: = impl_witness imports.%ImplicitAs.impl_witness_table.15d [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.134) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bb3: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.30b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bb3, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6fa: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e41: = impl_witness imports.%ImplicitAs.impl_witness_table.293 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e41) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.93b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.f84: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.93b, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.b8e: %Cpp.long = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.3d0: %Cpp.long = int_value 1 [concrete] // CHECK:STDOUT: %Negate.type: type = facet_type <@Negate> [concrete] // CHECK:STDOUT: %Negate.impl_witness: = impl_witness imports.%Negate.impl_witness_table [concrete] // CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value %Cpp.long, (%Negate.impl_witness) [concrete] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.74d: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] -// CHECK:STDOUT: %.2d6: type = fn_type_with_self_type %Negate.WithSelf.Op.type.74d, %Negate.facet [concrete] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.5e8: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] +// CHECK:STDOUT: %.597: type = fn_type_with_self_type %Negate.WithSelf.Op.type.5e8, %Negate.facet [concrete] // CHECK:STDOUT: %Cpp.long.as.Negate.impl.Op.type: type = fn_type @Cpp.long.as.Negate.impl.Op [concrete] // CHECK:STDOUT: %Cpp.long.as.Negate.impl.Op: %Cpp.long.as.Negate.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %AddWith.type.6d0: type = facet_type <@AddWith, @AddWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %AddWith.impl_witness.284: = impl_witness imports.%AddWith.impl_witness_table.26a [concrete] -// CHECK:STDOUT: %AddWith.facet.8f5: %AddWith.type.6d0 = facet_value %Cpp.long, (%AddWith.impl_witness.284) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.fd8: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Cpp.long, %AddWith.facet.8f5) [concrete] -// CHECK:STDOUT: %.3a9: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.fd8, %AddWith.facet.8f5 [concrete] +// CHECK:STDOUT: %AddWith.type.a0e: type = facet_type <@AddWith, @AddWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %AddWith.impl_witness.4d0: = impl_witness imports.%AddWith.impl_witness_table.56c [concrete] +// CHECK:STDOUT: %AddWith.facet.714: %AddWith.type.a0e = facet_value %Cpp.long, (%AddWith.impl_witness.4d0) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.1fc: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%Cpp.long, %AddWith.facet.714) [concrete] +// CHECK:STDOUT: %.ffe: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.1fc, %AddWith.facet.714 [concrete] // CHECK:STDOUT: %Cpp.long.as.AddWith.impl.Op.type.43d: type = fn_type @Cpp.long.as.AddWith.impl.Op.3 [concrete] // CHECK:STDOUT: %Cpp.long.as.AddWith.impl.Op.cc7: %Cpp.long.as.AddWith.impl.Op.type.43d = struct_value () [concrete] -// CHECK:STDOUT: %SubWith.type.f14: type = facet_type <@SubWith, @SubWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %SubWith.impl_witness.f32: = impl_witness imports.%SubWith.impl_witness_table.911 [concrete] -// CHECK:STDOUT: %SubWith.facet.e77: %SubWith.type.f14 = facet_value %Cpp.long, (%SubWith.impl_witness.f32) [concrete] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type.247: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Cpp.long, %SubWith.facet.e77) [concrete] -// CHECK:STDOUT: %.d25: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.247, %SubWith.facet.e77 [concrete] +// CHECK:STDOUT: %SubWith.type.9eb: type = facet_type <@SubWith, @SubWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %SubWith.impl_witness.a6a: = impl_witness imports.%SubWith.impl_witness_table.c71 [concrete] +// CHECK:STDOUT: %SubWith.facet.629: %SubWith.type.9eb = facet_value %Cpp.long, (%SubWith.impl_witness.a6a) [concrete] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type.af8: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%Cpp.long, %SubWith.facet.629) [concrete] +// CHECK:STDOUT: %.942: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.af8, %SubWith.facet.629 [concrete] // CHECK:STDOUT: %Cpp.long.as.SubWith.impl.Op.type.43d: type = fn_type @Cpp.long.as.SubWith.impl.Op.3 [concrete] // CHECK:STDOUT: %Cpp.long.as.SubWith.impl.Op.cc7: %Cpp.long.as.SubWith.impl.Op.type.43d = struct_value () [concrete] -// CHECK:STDOUT: %MulWith.type.15a: type = facet_type <@MulWith, @MulWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %MulWith.impl_witness.7bb: = impl_witness imports.%MulWith.impl_witness_table.1d5 [concrete] -// CHECK:STDOUT: %MulWith.facet.c88: %MulWith.type.15a = facet_value %Cpp.long, (%MulWith.impl_witness.7bb) [concrete] -// CHECK:STDOUT: %MulWith.WithSelf.Op.type.53e: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Cpp.long, %MulWith.facet.c88) [concrete] -// CHECK:STDOUT: %.d82: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.53e, %MulWith.facet.c88 [concrete] +// CHECK:STDOUT: %MulWith.type.4b2: type = facet_type <@MulWith, @MulWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %MulWith.impl_witness.6fd: = impl_witness imports.%MulWith.impl_witness_table.2cc [concrete] +// CHECK:STDOUT: %MulWith.facet.1d5: %MulWith.type.4b2 = facet_value %Cpp.long, (%MulWith.impl_witness.6fd) [concrete] +// CHECK:STDOUT: %MulWith.WithSelf.Op.type.5fb: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%Cpp.long, %MulWith.facet.1d5) [concrete] +// CHECK:STDOUT: %.46b: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.5fb, %MulWith.facet.1d5 [concrete] // CHECK:STDOUT: %Cpp.long.as.MulWith.impl.Op.type.43d: type = fn_type @Cpp.long.as.MulWith.impl.Op.3 [concrete] // CHECK:STDOUT: %Cpp.long.as.MulWith.impl.Op.cc7: %Cpp.long.as.MulWith.impl.Op.type.43d = struct_value () [concrete] -// CHECK:STDOUT: %DivWith.type.45f: type = facet_type <@DivWith, @DivWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %DivWith.impl_witness.c17: = impl_witness imports.%DivWith.impl_witness_table.23a [concrete] -// CHECK:STDOUT: %DivWith.facet.4b1: %DivWith.type.45f = facet_value %Cpp.long, (%DivWith.impl_witness.c17) [concrete] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type.182: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Cpp.long, %DivWith.facet.4b1) [concrete] -// CHECK:STDOUT: %.90a: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.182, %DivWith.facet.4b1 [concrete] +// CHECK:STDOUT: %DivWith.type.8f6: type = facet_type <@DivWith, @DivWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %DivWith.impl_witness.49c: = impl_witness imports.%DivWith.impl_witness_table.de3 [concrete] +// CHECK:STDOUT: %DivWith.facet.453: %DivWith.type.8f6 = facet_value %Cpp.long, (%DivWith.impl_witness.49c) [concrete] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type.fd4: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%Cpp.long, %DivWith.facet.453) [concrete] +// CHECK:STDOUT: %.8d5: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.fd4, %DivWith.facet.453 [concrete] // CHECK:STDOUT: %Cpp.long.as.DivWith.impl.Op.type.43d: type = fn_type @Cpp.long.as.DivWith.impl.Op.3 [concrete] // CHECK:STDOUT: %Cpp.long.as.DivWith.impl.Op.cc7: %Cpp.long.as.DivWith.impl.Op.type.43d = struct_value () [concrete] -// CHECK:STDOUT: %ModWith.type.1b1: type = facet_type <@ModWith, @ModWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %ModWith.impl_witness.2d8: = impl_witness imports.%ModWith.impl_witness_table.3d0 [concrete] -// CHECK:STDOUT: %ModWith.facet.b8a: %ModWith.type.1b1 = facet_value %Cpp.long, (%ModWith.impl_witness.2d8) [concrete] -// CHECK:STDOUT: %ModWith.WithSelf.Op.type.67e: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Cpp.long, %ModWith.facet.b8a) [concrete] -// CHECK:STDOUT: %.d2e: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.67e, %ModWith.facet.b8a [concrete] +// CHECK:STDOUT: %ModWith.type.35c: type = facet_type <@ModWith, @ModWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %ModWith.impl_witness.d7f: = impl_witness imports.%ModWith.impl_witness_table.5be [concrete] +// CHECK:STDOUT: %ModWith.facet.a96: %ModWith.type.35c = facet_value %Cpp.long, (%ModWith.impl_witness.d7f) [concrete] +// CHECK:STDOUT: %ModWith.WithSelf.Op.type.49d: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%Cpp.long, %ModWith.facet.a96) [concrete] +// CHECK:STDOUT: %.d7b: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.49d, %ModWith.facet.a96 [concrete] // CHECK:STDOUT: %Cpp.long.as.ModWith.impl.Op.type.43d: type = fn_type @Cpp.long.as.ModWith.impl.Op.3 [concrete] // CHECK:STDOUT: %Cpp.long.as.ModWith.impl.Op.cc7: %Cpp.long.as.ModWith.impl.Op.type.43d = struct_value () [concrete] // CHECK:STDOUT: } @@ -2477,63 +2477,63 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .long = constants.%Cpp.long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.15d = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.52f [concrete] -// CHECK:STDOUT: %Core.import_ref.43490e.1 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.59e3cf.1: %Cpp.long.as.Negate.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.Negate.impl.Op] -// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.43490e.1, %Core.import_ref.59e3cf.1), @Cpp.long.as.Negate.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.43490e.4 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.59e3cf.2: %Cpp.long.as.AddWith.impl.Op.type.43d = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.AddWith.impl.Op.cc7] -// CHECK:STDOUT: %AddWith.impl_witness_table.26a = impl_witness_table (%Core.import_ref.43490e.4, %Core.import_ref.59e3cf.2), @Cpp.long.as.AddWith.impl.431 [concrete] -// CHECK:STDOUT: %Core.import_ref.43490e.7 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.59e3cf.3: %Cpp.long.as.SubWith.impl.Op.type.43d = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.SubWith.impl.Op.cc7] -// CHECK:STDOUT: %SubWith.impl_witness_table.911 = impl_witness_table (%Core.import_ref.43490e.7, %Core.import_ref.59e3cf.3), @Cpp.long.as.SubWith.impl.279 [concrete] -// CHECK:STDOUT: %Core.import_ref.43490e.10 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.59e3cf.4: %Cpp.long.as.MulWith.impl.Op.type.43d = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.MulWith.impl.Op.cc7] -// CHECK:STDOUT: %MulWith.impl_witness_table.1d5 = impl_witness_table (%Core.import_ref.43490e.10, %Core.import_ref.59e3cf.4), @Cpp.long.as.MulWith.impl.b76 [concrete] -// CHECK:STDOUT: %Core.import_ref.43490e.13 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.59e3cf.5: %Cpp.long.as.DivWith.impl.Op.type.43d = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.DivWith.impl.Op.cc7] -// CHECK:STDOUT: %DivWith.impl_witness_table.23a = impl_witness_table (%Core.import_ref.43490e.13, %Core.import_ref.59e3cf.5), @Cpp.long.as.DivWith.impl.4f1 [concrete] -// CHECK:STDOUT: %Core.import_ref.43490e.16 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.59e3cf.6: %Cpp.long.as.ModWith.impl.Op.type.43d = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.ModWith.impl.Op.cc7] -// CHECK:STDOUT: %ModWith.impl_witness_table.3d0 = impl_witness_table (%Core.import_ref.43490e.16, %Core.import_ref.59e3cf.6), @Cpp.long.as.ModWith.impl.7b1 [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.293 = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.ec9 [concrete] +// CHECK:STDOUT: %Core.import_ref.11dd96.1 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.f63b02.1: %Cpp.long.as.Negate.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.Negate.impl.Op] +// CHECK:STDOUT: %Negate.impl_witness_table = impl_witness_table (%Core.import_ref.11dd96.1, %Core.import_ref.f63b02.1), @Cpp.long.as.Negate.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.11dd96.4 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.f63b02.2: %Cpp.long.as.AddWith.impl.Op.type.43d = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.AddWith.impl.Op.cc7] +// CHECK:STDOUT: %AddWith.impl_witness_table.56c = impl_witness_table (%Core.import_ref.11dd96.4, %Core.import_ref.f63b02.2), @Cpp.long.as.AddWith.impl.a94 [concrete] +// CHECK:STDOUT: %Core.import_ref.11dd96.7 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.f63b02.3: %Cpp.long.as.SubWith.impl.Op.type.43d = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.SubWith.impl.Op.cc7] +// CHECK:STDOUT: %SubWith.impl_witness_table.c71 = impl_witness_table (%Core.import_ref.11dd96.7, %Core.import_ref.f63b02.3), @Cpp.long.as.SubWith.impl.35e [concrete] +// CHECK:STDOUT: %Core.import_ref.11dd96.10 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.f63b02.4: %Cpp.long.as.MulWith.impl.Op.type.43d = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.MulWith.impl.Op.cc7] +// CHECK:STDOUT: %MulWith.impl_witness_table.2cc = impl_witness_table (%Core.import_ref.11dd96.10, %Core.import_ref.f63b02.4), @Cpp.long.as.MulWith.impl.6fa [concrete] +// CHECK:STDOUT: %Core.import_ref.11dd96.13 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.f63b02.5: %Cpp.long.as.DivWith.impl.Op.type.43d = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.DivWith.impl.Op.cc7] +// CHECK:STDOUT: %DivWith.impl_witness_table.de3 = impl_witness_table (%Core.import_ref.11dd96.13, %Core.import_ref.f63b02.5), @Cpp.long.as.DivWith.impl.42b [concrete] +// CHECK:STDOUT: %Core.import_ref.11dd96.16 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.f63b02.6: %Cpp.long.as.ModWith.impl.Op.type.43d = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.ModWith.impl.Op.cc7] +// CHECK:STDOUT: %ModWith.impl_witness_table.5be = impl_witness_table (%Core.import_ref.11dd96.16, %Core.import_ref.f63b02.6), @Cpp.long.as.ModWith.impl.d0a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ArithmeticHomogeneousLong() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.3c3 = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.83e = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc8_13: type = splice_block %long.ref.loc8 [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long.ref.loc8: type = name_ref long, constants.%Cpp.long [concrete = constants.%Cpp.long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc8: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc8_21.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc8_21.2: %Cpp.long = converted %int_1.loc8, %.loc8_21.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc8_21.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc8_21.2: %Cpp.long = converted %int_1.loc8, %.loc8_21.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %x: %Cpp.long = value_binding x, %.loc8_21.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.3c3 = value_binding_pattern y [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.83e = value_binding_pattern y [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc9_13: type = splice_block %long.ref.loc9 [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long.ref.loc9: type = name_ref long, constants.%Cpp.long [concrete = constants.%Cpp.long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc9: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc9: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc9: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc9_21.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc9_21.2: %Cpp.long = converted %int_1.loc9, %.loc9_21.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc9_21.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc9_21.2: %Cpp.long = converted %int_1.loc9, %.loc9_21.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %y: %Cpp.long = value_binding y, %.loc9_21.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.3c3 = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.83e = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.ref.loc11: %Cpp.long = name_ref x, %x -// CHECK:STDOUT: %impl.elem1.loc11: %.2d6 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Cpp.long.as.Negate.impl.Op] +// CHECK:STDOUT: %impl.elem1.loc11: %.597 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%Cpp.long.as.Negate.impl.Op] // CHECK:STDOUT: %bound_method.loc11: = bound_method %x.ref.loc11, %impl.elem1.loc11 // CHECK:STDOUT: %Cpp.long.as.Negate.impl.Op.call: init %Cpp.long = call %bound_method.loc11(%x.ref.loc11) // CHECK:STDOUT: %.loc11_20: type = splice_block %long.ref.loc11 [concrete = constants.%Cpp.long] { @@ -2544,11 +2544,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc11_28.2: %Cpp.long = converted %Cpp.long.as.Negate.impl.Op.call, %.loc11_28.1 // CHECK:STDOUT: %a: %Cpp.long = value_binding a, %.loc11_28.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.3c3 = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.83e = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.ref.loc12: %Cpp.long = name_ref x, %x // CHECK:STDOUT: %y.ref.loc12: %Cpp.long = name_ref y, %y -// CHECK:STDOUT: %impl.elem1.loc12: %.3a9 = impl_witness_access constants.%AddWith.impl_witness.284, element1 [concrete = constants.%Cpp.long.as.AddWith.impl.Op.cc7] +// CHECK:STDOUT: %impl.elem1.loc12: %.ffe = impl_witness_access constants.%AddWith.impl_witness.4d0, element1 [concrete = constants.%Cpp.long.as.AddWith.impl.Op.cc7] // CHECK:STDOUT: %bound_method.loc12: = bound_method %x.ref.loc12, %impl.elem1.loc12 // CHECK:STDOUT: %Cpp.long.as.AddWith.impl.Op.call: init %Cpp.long = call %bound_method.loc12(%x.ref.loc12, %y.ref.loc12) // CHECK:STDOUT: %.loc12_20: type = splice_block %long.ref.loc12 [concrete = constants.%Cpp.long] { @@ -2559,11 +2559,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc12_30.2: %Cpp.long = converted %Cpp.long.as.AddWith.impl.Op.call, %.loc12_30.1 // CHECK:STDOUT: %b: %Cpp.long = value_binding b, %.loc12_30.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.3c3 = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.83e = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.ref.loc13: %Cpp.long = name_ref x, %x // CHECK:STDOUT: %y.ref.loc13: %Cpp.long = name_ref y, %y -// CHECK:STDOUT: %impl.elem1.loc13: %.d25 = impl_witness_access constants.%SubWith.impl_witness.f32, element1 [concrete = constants.%Cpp.long.as.SubWith.impl.Op.cc7] +// CHECK:STDOUT: %impl.elem1.loc13: %.942 = impl_witness_access constants.%SubWith.impl_witness.a6a, element1 [concrete = constants.%Cpp.long.as.SubWith.impl.Op.cc7] // CHECK:STDOUT: %bound_method.loc13: = bound_method %x.ref.loc13, %impl.elem1.loc13 // CHECK:STDOUT: %Cpp.long.as.SubWith.impl.Op.call: init %Cpp.long = call %bound_method.loc13(%x.ref.loc13, %y.ref.loc13) // CHECK:STDOUT: %.loc13_20: type = splice_block %long.ref.loc13 [concrete = constants.%Cpp.long] { @@ -2574,11 +2574,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc13_30.2: %Cpp.long = converted %Cpp.long.as.SubWith.impl.Op.call, %.loc13_30.1 // CHECK:STDOUT: %c: %Cpp.long = value_binding c, %.loc13_30.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.3c3 = value_binding_pattern d [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.83e = value_binding_pattern d [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.ref.loc14: %Cpp.long = name_ref x, %x // CHECK:STDOUT: %y.ref.loc14: %Cpp.long = name_ref y, %y -// CHECK:STDOUT: %impl.elem1.loc14: %.d82 = impl_witness_access constants.%MulWith.impl_witness.7bb, element1 [concrete = constants.%Cpp.long.as.MulWith.impl.Op.cc7] +// CHECK:STDOUT: %impl.elem1.loc14: %.46b = impl_witness_access constants.%MulWith.impl_witness.6fd, element1 [concrete = constants.%Cpp.long.as.MulWith.impl.Op.cc7] // CHECK:STDOUT: %bound_method.loc14: = bound_method %x.ref.loc14, %impl.elem1.loc14 // CHECK:STDOUT: %Cpp.long.as.MulWith.impl.Op.call: init %Cpp.long = call %bound_method.loc14(%x.ref.loc14, %y.ref.loc14) // CHECK:STDOUT: %.loc14_20: type = splice_block %long.ref.loc14 [concrete = constants.%Cpp.long] { @@ -2589,11 +2589,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc14_30.2: %Cpp.long = converted %Cpp.long.as.MulWith.impl.Op.call, %.loc14_30.1 // CHECK:STDOUT: %d: %Cpp.long = value_binding d, %.loc14_30.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e.patt: %pattern_type.3c3 = value_binding_pattern e [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.83e = value_binding_pattern e [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.ref.loc15: %Cpp.long = name_ref x, %x // CHECK:STDOUT: %y.ref.loc15: %Cpp.long = name_ref y, %y -// CHECK:STDOUT: %impl.elem1.loc15: %.90a = impl_witness_access constants.%DivWith.impl_witness.c17, element1 [concrete = constants.%Cpp.long.as.DivWith.impl.Op.cc7] +// CHECK:STDOUT: %impl.elem1.loc15: %.8d5 = impl_witness_access constants.%DivWith.impl_witness.49c, element1 [concrete = constants.%Cpp.long.as.DivWith.impl.Op.cc7] // CHECK:STDOUT: %bound_method.loc15: = bound_method %x.ref.loc15, %impl.elem1.loc15 // CHECK:STDOUT: %Cpp.long.as.DivWith.impl.Op.call: init %Cpp.long = call %bound_method.loc15(%x.ref.loc15, %y.ref.loc15) // CHECK:STDOUT: %.loc15_20: type = splice_block %long.ref.loc15 [concrete = constants.%Cpp.long] { @@ -2604,11 +2604,11 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc15_30.2: %Cpp.long = converted %Cpp.long.as.DivWith.impl.Op.call, %.loc15_30.1 // CHECK:STDOUT: %e: %Cpp.long = value_binding e, %.loc15_30.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %f.patt: %pattern_type.3c3 = value_binding_pattern f [concrete] +// CHECK:STDOUT: %f.patt: %pattern_type.83e = value_binding_pattern f [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.ref.loc16: %Cpp.long = name_ref x, %x // CHECK:STDOUT: %y.ref.loc16: %Cpp.long = name_ref y, %y -// CHECK:STDOUT: %impl.elem1.loc16: %.d2e = impl_witness_access constants.%ModWith.impl_witness.2d8, element1 [concrete = constants.%Cpp.long.as.ModWith.impl.Op.cc7] +// CHECK:STDOUT: %impl.elem1.loc16: %.d7b = impl_witness_access constants.%ModWith.impl_witness.d7f, element1 [concrete = constants.%Cpp.long.as.ModWith.impl.Op.cc7] // CHECK:STDOUT: %bound_method.loc16: = bound_method %x.ref.loc16, %impl.elem1.loc16 // CHECK:STDOUT: %Cpp.long.as.ModWith.impl.Op.call: init %Cpp.long = call %bound_method.loc16(%x.ref.loc16, %y.ref.loc16) // CHECK:STDOUT: %.loc16_20: type = splice_block %long.ref.loc16 [concrete = constants.%Cpp.long] { @@ -2628,178 +2628,178 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long: type = class_type @Long32 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.3c3: type = pattern_type %Cpp.long [concrete] +// CHECK:STDOUT: %pattern_type.83e: type = pattern_type %Cpp.long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.2b7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6fa: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.ImplicitAs.impl.Convert.type.b99: type = fn_type @T.as_type.as.ImplicitAs.impl.Convert, @T.as_type.as.ImplicitAs.impl(%T.228) [symbolic] -// CHECK:STDOUT: %T.as_type.as.ImplicitAs.impl.Convert.56c: %T.as_type.as.ImplicitAs.impl.Convert.type.b99 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.134: = impl_witness imports.%ImplicitAs.impl_witness_table.15d [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.a52: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.134) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bb3: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %.30b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bb3, %ImplicitAs.facet.a52 [concrete] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.ImplicitAs.impl.Convert.type.5ec: type = fn_type @T.as_type.as.ImplicitAs.impl.Convert, @T.as_type.as.ImplicitAs.impl(%T.f49) [symbolic] +// CHECK:STDOUT: %T.as_type.as.ImplicitAs.impl.Convert.921: %T.as_type.as.ImplicitAs.impl.Convert.type.5ec = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e41: = impl_witness imports.%ImplicitAs.impl_witness_table.293 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.c09: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e41) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.93b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %.f84: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.93b, %ImplicitAs.facet.c09 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.b8e: %Cpp.long = int_value 1 [concrete] -// CHECK:STDOUT: %AddAssignWith.type.a30: type = facet_type <@AddAssignWith, @AddAssignWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %U.5a0: %ImplicitAs.type.2b7 = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.402bbb.1: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.402bbb.2: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.da1: = impl_witness imports.%Copy.impl_witness_table.f35 [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Cpp.long, (%Copy.impl_witness.da1) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f7c: = impl_witness imports.%ImplicitAs.impl_witness_table.eef, @T.as_type.as.ImplicitAs.impl(%Copy.facet) [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.318: %ImplicitAs.type.2b7 = facet_value %Cpp.long, (%ImplicitAs.impl_witness.f7c) [concrete] -// CHECK:STDOUT: %AddAssignWith.impl_witness.8cc: = impl_witness imports.%AddAssignWith.impl_witness_table.eb4, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.6e1e78.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.262184.1: %Cpp.long.as.AddAssignWith.impl.Op.type.6e1e78.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.6e1e78.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.262184.2: %Cpp.long.as.AddAssignWith.impl.Op.type.6e1e78.2 = struct_value () [concrete] -// CHECK:STDOUT: %AddAssignWith.facet.fb7: %AddAssignWith.type.a30 = facet_value %Cpp.long, (%AddAssignWith.impl_witness.8cc) [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.f09: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%Cpp.long, %AddAssignWith.facet.fb7) [concrete] -// CHECK:STDOUT: %.fea: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.f09, %AddAssignWith.facet.fb7 [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.f04ee9.1: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.262184.2, @Cpp.long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.f04ee9.2: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.262184.1, @Cpp.long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %SubAssignWith.type.992: type = facet_type <@SubAssignWith, @SubAssignWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.240aad.1: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.1, @Cpp.long.as.SubAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.c9b94b.1: %Cpp.long.as.SubAssignWith.impl.Op.type.240aad.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.240aad.2: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.2, @Cpp.long.as.SubAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.c9b94b.2: %Cpp.long.as.SubAssignWith.impl.Op.type.240aad.2 = struct_value () [symbolic] -// CHECK:STDOUT: %SubAssignWith.impl_witness.6f4: = impl_witness imports.%SubAssignWith.impl_witness_table.917, @Cpp.long.as.SubAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.e40e06.1: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.2, @Cpp.long.as.SubAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.3c1bb0.1: %Cpp.long.as.SubAssignWith.impl.Op.type.e40e06.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.e40e06.2: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.1, @Cpp.long.as.SubAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.3c1bb0.2: %Cpp.long.as.SubAssignWith.impl.Op.type.e40e06.2 = struct_value () [concrete] -// CHECK:STDOUT: %SubAssignWith.facet.4ec: %SubAssignWith.type.992 = facet_value %Cpp.long, (%SubAssignWith.impl_witness.6f4) [concrete] -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.f32: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%Cpp.long, %SubAssignWith.facet.4ec) [concrete] -// CHECK:STDOUT: %.20b: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.f32, %SubAssignWith.facet.4ec [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.specific_fn.247eb0.1: = specific_function %Cpp.long.as.SubAssignWith.impl.Op.3c1bb0.2, @Cpp.long.as.SubAssignWith.impl.Op.1(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.specific_fn.247eb0.2: = specific_function %Cpp.long.as.SubAssignWith.impl.Op.3c1bb0.1, @Cpp.long.as.SubAssignWith.impl.Op.2(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %MulAssignWith.type.cf6: type = facet_type <@MulAssignWith, @MulAssignWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.ead7c1.1: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.1, @Cpp.long.as.MulAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.0ef7e5.1: %Cpp.long.as.MulAssignWith.impl.Op.type.ead7c1.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.ead7c1.2: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.2, @Cpp.long.as.MulAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.0ef7e5.2: %Cpp.long.as.MulAssignWith.impl.Op.type.ead7c1.2 = struct_value () [symbolic] -// CHECK:STDOUT: %MulAssignWith.impl_witness.c78: = impl_witness imports.%MulAssignWith.impl_witness_table.d52, @Cpp.long.as.MulAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.aee0b0.1: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.2, @Cpp.long.as.MulAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.22b3b9.1: %Cpp.long.as.MulAssignWith.impl.Op.type.aee0b0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.aee0b0.2: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.1, @Cpp.long.as.MulAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.22b3b9.2: %Cpp.long.as.MulAssignWith.impl.Op.type.aee0b0.2 = struct_value () [concrete] -// CHECK:STDOUT: %MulAssignWith.facet.362: %MulAssignWith.type.cf6 = facet_value %Cpp.long, (%MulAssignWith.impl_witness.c78) [concrete] -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.ca8: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%Cpp.long, %MulAssignWith.facet.362) [concrete] -// CHECK:STDOUT: %.066: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.ca8, %MulAssignWith.facet.362 [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.specific_fn.2813b9.1: = specific_function %Cpp.long.as.MulAssignWith.impl.Op.22b3b9.2, @Cpp.long.as.MulAssignWith.impl.Op.1(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.specific_fn.2813b9.2: = specific_function %Cpp.long.as.MulAssignWith.impl.Op.22b3b9.1, @Cpp.long.as.MulAssignWith.impl.Op.2(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %DivAssignWith.type.637: type = facet_type <@DivAssignWith, @DivAssignWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.63303a.1: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.1, @Cpp.long.as.DivAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.69d87d.1: %Cpp.long.as.DivAssignWith.impl.Op.type.63303a.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.63303a.2: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.2, @Cpp.long.as.DivAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.69d87d.2: %Cpp.long.as.DivAssignWith.impl.Op.type.63303a.2 = struct_value () [symbolic] -// CHECK:STDOUT: %DivAssignWith.impl_witness.1ea: = impl_witness imports.%DivAssignWith.impl_witness_table.293, @Cpp.long.as.DivAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.935c6e.1: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.2, @Cpp.long.as.DivAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.b83684.1: %Cpp.long.as.DivAssignWith.impl.Op.type.935c6e.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.935c6e.2: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.1, @Cpp.long.as.DivAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.b83684.2: %Cpp.long.as.DivAssignWith.impl.Op.type.935c6e.2 = struct_value () [concrete] -// CHECK:STDOUT: %DivAssignWith.facet.ac7: %DivAssignWith.type.637 = facet_value %Cpp.long, (%DivAssignWith.impl_witness.1ea) [concrete] -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.209: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%Cpp.long, %DivAssignWith.facet.ac7) [concrete] -// CHECK:STDOUT: %.c90: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.209, %DivAssignWith.facet.ac7 [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.specific_fn.709e56.1: = specific_function %Cpp.long.as.DivAssignWith.impl.Op.b83684.2, @Cpp.long.as.DivAssignWith.impl.Op.1(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.specific_fn.709e56.2: = specific_function %Cpp.long.as.DivAssignWith.impl.Op.b83684.1, @Cpp.long.as.DivAssignWith.impl.Op.2(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %ModAssignWith.type.903: type = facet_type <@ModAssignWith, @ModAssignWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.48d732.1: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.1, @Cpp.long.as.ModAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.ce0108.1: %Cpp.long.as.ModAssignWith.impl.Op.type.48d732.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.48d732.2: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.2, @Cpp.long.as.ModAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.ce0108.2: %Cpp.long.as.ModAssignWith.impl.Op.type.48d732.2 = struct_value () [symbolic] -// CHECK:STDOUT: %ModAssignWith.impl_witness.370: = impl_witness imports.%ModAssignWith.impl_witness_table.80e, @Cpp.long.as.ModAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.8ae7d7.1: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.2, @Cpp.long.as.ModAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.3aab83.1: %Cpp.long.as.ModAssignWith.impl.Op.type.8ae7d7.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.8ae7d7.2: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.1, @Cpp.long.as.ModAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.3aab83.2: %Cpp.long.as.ModAssignWith.impl.Op.type.8ae7d7.2 = struct_value () [concrete] -// CHECK:STDOUT: %ModAssignWith.facet.07f: %ModAssignWith.type.903 = facet_value %Cpp.long, (%ModAssignWith.impl_witness.370) [concrete] -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.e3d: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%Cpp.long, %ModAssignWith.facet.07f) [concrete] -// CHECK:STDOUT: %.61f: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.e3d, %ModAssignWith.facet.07f [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.specific_fn.c57659.1: = specific_function %Cpp.long.as.ModAssignWith.impl.Op.3aab83.2, @Cpp.long.as.ModAssignWith.impl.Op.1(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.specific_fn.c57659.2: = specific_function %Cpp.long.as.ModAssignWith.impl.Op.3aab83.1, @Cpp.long.as.ModAssignWith.impl.Op.2(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %BitAndAssignWith.type.8fd: type = facet_type <@BitAndAssignWith, @BitAndAssignWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.d6c142.1: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.1, @Cpp.long.as.BitAndAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.f5070e.1: %Cpp.long.as.BitAndAssignWith.impl.Op.type.d6c142.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.d6c142.2: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.2, @Cpp.long.as.BitAndAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.f5070e.2: %Cpp.long.as.BitAndAssignWith.impl.Op.type.d6c142.2 = struct_value () [symbolic] -// CHECK:STDOUT: %BitAndAssignWith.impl_witness.aca: = impl_witness imports.%BitAndAssignWith.impl_witness_table.2bc, @Cpp.long.as.BitAndAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.65f4c5.1: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.2, @Cpp.long.as.BitAndAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.1c15fd.1: %Cpp.long.as.BitAndAssignWith.impl.Op.type.65f4c5.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.65f4c5.2: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.1, @Cpp.long.as.BitAndAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.1c15fd.2: %Cpp.long.as.BitAndAssignWith.impl.Op.type.65f4c5.2 = struct_value () [concrete] -// CHECK:STDOUT: %BitAndAssignWith.facet.e98: %BitAndAssignWith.type.8fd = facet_value %Cpp.long, (%BitAndAssignWith.impl_witness.aca) [concrete] -// CHECK:STDOUT: %BitAndAssignWith.WithSelf.Op.type.900: type = fn_type @BitAndAssignWith.WithSelf.Op, @BitAndAssignWith.WithSelf(%Cpp.long, %BitAndAssignWith.facet.e98) [concrete] -// CHECK:STDOUT: %.98d: type = fn_type_with_self_type %BitAndAssignWith.WithSelf.Op.type.900, %BitAndAssignWith.facet.e98 [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.225da6.1: = specific_function %Cpp.long.as.BitAndAssignWith.impl.Op.1c15fd.2, @Cpp.long.as.BitAndAssignWith.impl.Op.1(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.225da6.2: = specific_function %Cpp.long.as.BitAndAssignWith.impl.Op.1c15fd.1, @Cpp.long.as.BitAndAssignWith.impl.Op.2(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %BitOrAssignWith.type.db9: type = facet_type <@BitOrAssignWith, @BitOrAssignWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.3fbd01.1: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.1, @Cpp.long.as.BitOrAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.90a9e4.1: %Cpp.long.as.BitOrAssignWith.impl.Op.type.3fbd01.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.3fbd01.2: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.2, @Cpp.long.as.BitOrAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.90a9e4.2: %Cpp.long.as.BitOrAssignWith.impl.Op.type.3fbd01.2 = struct_value () [symbolic] -// CHECK:STDOUT: %BitOrAssignWith.impl_witness.870: = impl_witness imports.%BitOrAssignWith.impl_witness_table.061, @Cpp.long.as.BitOrAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.4245b2.1: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.2, @Cpp.long.as.BitOrAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.4b41df.1: %Cpp.long.as.BitOrAssignWith.impl.Op.type.4245b2.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.4245b2.2: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.1, @Cpp.long.as.BitOrAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.4b41df.2: %Cpp.long.as.BitOrAssignWith.impl.Op.type.4245b2.2 = struct_value () [concrete] -// CHECK:STDOUT: %BitOrAssignWith.facet.326: %BitOrAssignWith.type.db9 = facet_value %Cpp.long, (%BitOrAssignWith.impl_witness.870) [concrete] -// CHECK:STDOUT: %BitOrAssignWith.WithSelf.Op.type.c86: type = fn_type @BitOrAssignWith.WithSelf.Op, @BitOrAssignWith.WithSelf(%Cpp.long, %BitOrAssignWith.facet.326) [concrete] -// CHECK:STDOUT: %.70b: type = fn_type_with_self_type %BitOrAssignWith.WithSelf.Op.type.c86, %BitOrAssignWith.facet.326 [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.12df8a.1: = specific_function %Cpp.long.as.BitOrAssignWith.impl.Op.4b41df.2, @Cpp.long.as.BitOrAssignWith.impl.Op.1(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.12df8a.2: = specific_function %Cpp.long.as.BitOrAssignWith.impl.Op.4b41df.1, @Cpp.long.as.BitOrAssignWith.impl.Op.2(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %BitXorAssignWith.type.a86: type = facet_type <@BitXorAssignWith, @BitXorAssignWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.dfbc19.1: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.1, @Cpp.long.as.BitXorAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.ee7339.1: %Cpp.long.as.BitXorAssignWith.impl.Op.type.dfbc19.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.dfbc19.2: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.2, @Cpp.long.as.BitXorAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.ee7339.2: %Cpp.long.as.BitXorAssignWith.impl.Op.type.dfbc19.2 = struct_value () [symbolic] -// CHECK:STDOUT: %BitXorAssignWith.impl_witness.a71: = impl_witness imports.%BitXorAssignWith.impl_witness_table.a67, @Cpp.long.as.BitXorAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.520482.1: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.2, @Cpp.long.as.BitXorAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.d8a4f8.1: %Cpp.long.as.BitXorAssignWith.impl.Op.type.520482.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.520482.2: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.1, @Cpp.long.as.BitXorAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.d8a4f8.2: %Cpp.long.as.BitXorAssignWith.impl.Op.type.520482.2 = struct_value () [concrete] -// CHECK:STDOUT: %BitXorAssignWith.facet.d35: %BitXorAssignWith.type.a86 = facet_value %Cpp.long, (%BitXorAssignWith.impl_witness.a71) [concrete] -// CHECK:STDOUT: %BitXorAssignWith.WithSelf.Op.type.b16: type = fn_type @BitXorAssignWith.WithSelf.Op, @BitXorAssignWith.WithSelf(%Cpp.long, %BitXorAssignWith.facet.d35) [concrete] -// CHECK:STDOUT: %.5b4: type = fn_type_with_self_type %BitXorAssignWith.WithSelf.Op.type.b16, %BitXorAssignWith.facet.d35 [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.aff6d2.1: = specific_function %Cpp.long.as.BitXorAssignWith.impl.Op.d8a4f8.2, @Cpp.long.as.BitXorAssignWith.impl.Op.1(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.aff6d2.2: = specific_function %Cpp.long.as.BitXorAssignWith.impl.Op.d8a4f8.1, @Cpp.long.as.BitXorAssignWith.impl.Op.2(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.type.f3e: type = facet_type <@LeftShiftAssignWith, @LeftShiftAssignWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.e16838.1: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long.as.LeftShiftAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.a46dd3.1: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.e16838.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.e16838.2: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long.as.LeftShiftAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.a46dd3.2: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.e16838.2 = struct_value () [symbolic] -// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness.259: = impl_witness imports.%LeftShiftAssignWith.impl_witness_table.701, @Cpp.long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.8e255e.1: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.2c7917.1: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.8e255e.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.8e255e.2: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.2c7917.2: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.8e255e.2 = struct_value () [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.facet.365: %LeftShiftAssignWith.type.f3e = facet_value %Cpp.long, (%LeftShiftAssignWith.impl_witness.259) [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.WithSelf.Op.type.3c4: type = fn_type @LeftShiftAssignWith.WithSelf.Op, @LeftShiftAssignWith.WithSelf(%Cpp.long, %LeftShiftAssignWith.facet.365) [concrete] -// CHECK:STDOUT: %.ce6: type = fn_type_with_self_type %LeftShiftAssignWith.WithSelf.Op.type.3c4, %LeftShiftAssignWith.facet.365 [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.33cbc8.1: = specific_function %Cpp.long.as.LeftShiftAssignWith.impl.Op.2c7917.2, @Cpp.long.as.LeftShiftAssignWith.impl.Op.1(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.33cbc8.2: = specific_function %Cpp.long.as.LeftShiftAssignWith.impl.Op.2c7917.1, @Cpp.long.as.LeftShiftAssignWith.impl.Op.2(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.type.c96: type = facet_type <@RightShiftAssignWith, @RightShiftAssignWith(%Cpp.long)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.70abaa.1: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long.as.RightShiftAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.ce64be.1: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.70abaa.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.70abaa.2: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long.as.RightShiftAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.ce64be.2: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.70abaa.2 = struct_value () [symbolic] -// CHECK:STDOUT: %RightShiftAssignWith.impl_witness.138: = impl_witness imports.%RightShiftAssignWith.impl_witness_table.2cc, @Cpp.long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.9ccdc1.1: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.16e440.1: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.9ccdc1.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.9ccdc1.2: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.16e440.2: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.9ccdc1.2 = struct_value () [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.facet.3c4: %RightShiftAssignWith.type.c96 = facet_value %Cpp.long, (%RightShiftAssignWith.impl_witness.138) [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.WithSelf.Op.type.487: type = fn_type @RightShiftAssignWith.WithSelf.Op, @RightShiftAssignWith.WithSelf(%Cpp.long, %RightShiftAssignWith.facet.3c4) [concrete] -// CHECK:STDOUT: %.a3e: type = fn_type_with_self_type %RightShiftAssignWith.WithSelf.Op.type.487, %RightShiftAssignWith.facet.3c4 [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.8311dd.1: = specific_function %Cpp.long.as.RightShiftAssignWith.impl.Op.16e440.2, @Cpp.long.as.RightShiftAssignWith.impl.Op.1(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.8311dd.2: = specific_function %Cpp.long.as.RightShiftAssignWith.impl.Op.16e440.1, @Cpp.long.as.RightShiftAssignWith.impl.Op.2(%ImplicitAs.facet.318) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %int_1.3d0: %Cpp.long = int_value 1 [concrete] +// CHECK:STDOUT: %AddAssignWith.type.ecc: type = facet_type <@AddAssignWith, @AddAssignWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %U.887: %ImplicitAs.type.6fa = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.c37e49.1: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.c37e49.2: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.553: = impl_witness imports.%Copy.impl_witness_table.256 [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Cpp.long, (%Copy.impl_witness.553) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.998: = impl_witness imports.%ImplicitAs.impl_witness_table.c42, @T.as_type.as.ImplicitAs.impl(%Copy.facet) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.3e9: %ImplicitAs.type.6fa = facet_value %Cpp.long, (%ImplicitAs.impl_witness.998) [concrete] +// CHECK:STDOUT: %AddAssignWith.impl_witness.830: = impl_witness imports.%AddAssignWith.impl_witness_table.d4d, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.ba770b.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.ce7855.1: %Cpp.long.as.AddAssignWith.impl.Op.type.ba770b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.ba770b.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.ce7855.2: %Cpp.long.as.AddAssignWith.impl.Op.type.ba770b.2 = struct_value () [concrete] +// CHECK:STDOUT: %AddAssignWith.facet.fc6: %AddAssignWith.type.ecc = facet_value %Cpp.long, (%AddAssignWith.impl_witness.830) [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.874: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%Cpp.long, %AddAssignWith.facet.fc6) [concrete] +// CHECK:STDOUT: %.5f0: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.874, %AddAssignWith.facet.fc6 [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.544ffe.1: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.ce7855.2, @Cpp.long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.544ffe.2: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.ce7855.1, @Cpp.long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %SubAssignWith.type.b0c: type = facet_type <@SubAssignWith, @SubAssignWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.e6fddb.1: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.1, @Cpp.long.as.SubAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.d98f7d.1: %Cpp.long.as.SubAssignWith.impl.Op.type.e6fddb.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.e6fddb.2: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.2, @Cpp.long.as.SubAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.d98f7d.2: %Cpp.long.as.SubAssignWith.impl.Op.type.e6fddb.2 = struct_value () [symbolic] +// CHECK:STDOUT: %SubAssignWith.impl_witness.d79: = impl_witness imports.%SubAssignWith.impl_witness_table.c70, @Cpp.long.as.SubAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.19fb65.1: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.2, @Cpp.long.as.SubAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.498a54.1: %Cpp.long.as.SubAssignWith.impl.Op.type.19fb65.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.19fb65.2: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.1, @Cpp.long.as.SubAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.498a54.2: %Cpp.long.as.SubAssignWith.impl.Op.type.19fb65.2 = struct_value () [concrete] +// CHECK:STDOUT: %SubAssignWith.facet.d27: %SubAssignWith.type.b0c = facet_value %Cpp.long, (%SubAssignWith.impl_witness.d79) [concrete] +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.ebd: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%Cpp.long, %SubAssignWith.facet.d27) [concrete] +// CHECK:STDOUT: %.700: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.ebd, %SubAssignWith.facet.d27 [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.specific_fn.e00b17.1: = specific_function %Cpp.long.as.SubAssignWith.impl.Op.498a54.2, @Cpp.long.as.SubAssignWith.impl.Op.1(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.specific_fn.e00b17.2: = specific_function %Cpp.long.as.SubAssignWith.impl.Op.498a54.1, @Cpp.long.as.SubAssignWith.impl.Op.2(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %MulAssignWith.type.6f5: type = facet_type <@MulAssignWith, @MulAssignWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.9be123.1: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.1, @Cpp.long.as.MulAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.4d4f44.1: %Cpp.long.as.MulAssignWith.impl.Op.type.9be123.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.9be123.2: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.2, @Cpp.long.as.MulAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.4d4f44.2: %Cpp.long.as.MulAssignWith.impl.Op.type.9be123.2 = struct_value () [symbolic] +// CHECK:STDOUT: %MulAssignWith.impl_witness.e21: = impl_witness imports.%MulAssignWith.impl_witness_table.511, @Cpp.long.as.MulAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.23c32e.1: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.2, @Cpp.long.as.MulAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.9be979.1: %Cpp.long.as.MulAssignWith.impl.Op.type.23c32e.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.23c32e.2: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.1, @Cpp.long.as.MulAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.9be979.2: %Cpp.long.as.MulAssignWith.impl.Op.type.23c32e.2 = struct_value () [concrete] +// CHECK:STDOUT: %MulAssignWith.facet.457: %MulAssignWith.type.6f5 = facet_value %Cpp.long, (%MulAssignWith.impl_witness.e21) [concrete] +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.c2c: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%Cpp.long, %MulAssignWith.facet.457) [concrete] +// CHECK:STDOUT: %.756: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.c2c, %MulAssignWith.facet.457 [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.specific_fn.6c2d47.1: = specific_function %Cpp.long.as.MulAssignWith.impl.Op.9be979.2, @Cpp.long.as.MulAssignWith.impl.Op.1(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.specific_fn.6c2d47.2: = specific_function %Cpp.long.as.MulAssignWith.impl.Op.9be979.1, @Cpp.long.as.MulAssignWith.impl.Op.2(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %DivAssignWith.type.9e4: type = facet_type <@DivAssignWith, @DivAssignWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.109ac5.1: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.1, @Cpp.long.as.DivAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.b4447c.1: %Cpp.long.as.DivAssignWith.impl.Op.type.109ac5.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.109ac5.2: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.2, @Cpp.long.as.DivAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.b4447c.2: %Cpp.long.as.DivAssignWith.impl.Op.type.109ac5.2 = struct_value () [symbolic] +// CHECK:STDOUT: %DivAssignWith.impl_witness.9e8: = impl_witness imports.%DivAssignWith.impl_witness_table.b74, @Cpp.long.as.DivAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.a9acbb.1: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.2, @Cpp.long.as.DivAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.60ccc0.1: %Cpp.long.as.DivAssignWith.impl.Op.type.a9acbb.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.a9acbb.2: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.1, @Cpp.long.as.DivAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.60ccc0.2: %Cpp.long.as.DivAssignWith.impl.Op.type.a9acbb.2 = struct_value () [concrete] +// CHECK:STDOUT: %DivAssignWith.facet.810: %DivAssignWith.type.9e4 = facet_value %Cpp.long, (%DivAssignWith.impl_witness.9e8) [concrete] +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.53b: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%Cpp.long, %DivAssignWith.facet.810) [concrete] +// CHECK:STDOUT: %.b84: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.53b, %DivAssignWith.facet.810 [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.specific_fn.04e150.1: = specific_function %Cpp.long.as.DivAssignWith.impl.Op.60ccc0.2, @Cpp.long.as.DivAssignWith.impl.Op.1(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.specific_fn.04e150.2: = specific_function %Cpp.long.as.DivAssignWith.impl.Op.60ccc0.1, @Cpp.long.as.DivAssignWith.impl.Op.2(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %ModAssignWith.type.20c: type = facet_type <@ModAssignWith, @ModAssignWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.e961bf.1: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.1, @Cpp.long.as.ModAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.ff452e.1: %Cpp.long.as.ModAssignWith.impl.Op.type.e961bf.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.e961bf.2: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.2, @Cpp.long.as.ModAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.ff452e.2: %Cpp.long.as.ModAssignWith.impl.Op.type.e961bf.2 = struct_value () [symbolic] +// CHECK:STDOUT: %ModAssignWith.impl_witness.574: = impl_witness imports.%ModAssignWith.impl_witness_table.fb8, @Cpp.long.as.ModAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.837c3c.1: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.2, @Cpp.long.as.ModAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.401e7e.1: %Cpp.long.as.ModAssignWith.impl.Op.type.837c3c.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.837c3c.2: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.1, @Cpp.long.as.ModAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.401e7e.2: %Cpp.long.as.ModAssignWith.impl.Op.type.837c3c.2 = struct_value () [concrete] +// CHECK:STDOUT: %ModAssignWith.facet.d6b: %ModAssignWith.type.20c = facet_value %Cpp.long, (%ModAssignWith.impl_witness.574) [concrete] +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.948: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%Cpp.long, %ModAssignWith.facet.d6b) [concrete] +// CHECK:STDOUT: %.e3a: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.948, %ModAssignWith.facet.d6b [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.specific_fn.cb024b.1: = specific_function %Cpp.long.as.ModAssignWith.impl.Op.401e7e.2, @Cpp.long.as.ModAssignWith.impl.Op.1(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.specific_fn.cb024b.2: = specific_function %Cpp.long.as.ModAssignWith.impl.Op.401e7e.1, @Cpp.long.as.ModAssignWith.impl.Op.2(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %BitAndAssignWith.type.0cc: type = facet_type <@BitAndAssignWith, @BitAndAssignWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f954e6.1: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.1, @Cpp.long.as.BitAndAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.b72f56.1: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f954e6.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f954e6.2: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.2, @Cpp.long.as.BitAndAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.b72f56.2: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f954e6.2 = struct_value () [symbolic] +// CHECK:STDOUT: %BitAndAssignWith.impl_witness.32b: = impl_witness imports.%BitAndAssignWith.impl_witness_table.38e, @Cpp.long.as.BitAndAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f1429d.1: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.2, @Cpp.long.as.BitAndAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.efe73c.1: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f1429d.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f1429d.2: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.1, @Cpp.long.as.BitAndAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.efe73c.2: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f1429d.2 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndAssignWith.facet.c27: %BitAndAssignWith.type.0cc = facet_value %Cpp.long, (%BitAndAssignWith.impl_witness.32b) [concrete] +// CHECK:STDOUT: %BitAndAssignWith.WithSelf.Op.type.3d7: type = fn_type @BitAndAssignWith.WithSelf.Op, @BitAndAssignWith.WithSelf(%Cpp.long, %BitAndAssignWith.facet.c27) [concrete] +// CHECK:STDOUT: %.521: type = fn_type_with_self_type %BitAndAssignWith.WithSelf.Op.type.3d7, %BitAndAssignWith.facet.c27 [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.bd1e6a.1: = specific_function %Cpp.long.as.BitAndAssignWith.impl.Op.efe73c.2, @Cpp.long.as.BitAndAssignWith.impl.Op.1(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.bd1e6a.2: = specific_function %Cpp.long.as.BitAndAssignWith.impl.Op.efe73c.1, @Cpp.long.as.BitAndAssignWith.impl.Op.2(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %BitOrAssignWith.type.d61: type = facet_type <@BitOrAssignWith, @BitOrAssignWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.186a1d.1: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.1, @Cpp.long.as.BitOrAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.169685.1: %Cpp.long.as.BitOrAssignWith.impl.Op.type.186a1d.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.186a1d.2: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.2, @Cpp.long.as.BitOrAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.169685.2: %Cpp.long.as.BitOrAssignWith.impl.Op.type.186a1d.2 = struct_value () [symbolic] +// CHECK:STDOUT: %BitOrAssignWith.impl_witness.a4d: = impl_witness imports.%BitOrAssignWith.impl_witness_table.033, @Cpp.long.as.BitOrAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.fbf7ed.1: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.2, @Cpp.long.as.BitOrAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.732095.1: %Cpp.long.as.BitOrAssignWith.impl.Op.type.fbf7ed.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.fbf7ed.2: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.1, @Cpp.long.as.BitOrAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.732095.2: %Cpp.long.as.BitOrAssignWith.impl.Op.type.fbf7ed.2 = struct_value () [concrete] +// CHECK:STDOUT: %BitOrAssignWith.facet.03e: %BitOrAssignWith.type.d61 = facet_value %Cpp.long, (%BitOrAssignWith.impl_witness.a4d) [concrete] +// CHECK:STDOUT: %BitOrAssignWith.WithSelf.Op.type.964: type = fn_type @BitOrAssignWith.WithSelf.Op, @BitOrAssignWith.WithSelf(%Cpp.long, %BitOrAssignWith.facet.03e) [concrete] +// CHECK:STDOUT: %.7dc: type = fn_type_with_self_type %BitOrAssignWith.WithSelf.Op.type.964, %BitOrAssignWith.facet.03e [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.67bf91.1: = specific_function %Cpp.long.as.BitOrAssignWith.impl.Op.732095.2, @Cpp.long.as.BitOrAssignWith.impl.Op.1(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.67bf91.2: = specific_function %Cpp.long.as.BitOrAssignWith.impl.Op.732095.1, @Cpp.long.as.BitOrAssignWith.impl.Op.2(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %BitXorAssignWith.type.f85: type = facet_type <@BitXorAssignWith, @BitXorAssignWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.cdf2c9.1: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.1, @Cpp.long.as.BitXorAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.583c20.1: %Cpp.long.as.BitXorAssignWith.impl.Op.type.cdf2c9.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.cdf2c9.2: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.2, @Cpp.long.as.BitXorAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.583c20.2: %Cpp.long.as.BitXorAssignWith.impl.Op.type.cdf2c9.2 = struct_value () [symbolic] +// CHECK:STDOUT: %BitXorAssignWith.impl_witness.07c: = impl_witness imports.%BitXorAssignWith.impl_witness_table.443, @Cpp.long.as.BitXorAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.6a0f8a.1: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.2, @Cpp.long.as.BitXorAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.9bad15.1: %Cpp.long.as.BitXorAssignWith.impl.Op.type.6a0f8a.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.6a0f8a.2: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.1, @Cpp.long.as.BitXorAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.9bad15.2: %Cpp.long.as.BitXorAssignWith.impl.Op.type.6a0f8a.2 = struct_value () [concrete] +// CHECK:STDOUT: %BitXorAssignWith.facet.b38: %BitXorAssignWith.type.f85 = facet_value %Cpp.long, (%BitXorAssignWith.impl_witness.07c) [concrete] +// CHECK:STDOUT: %BitXorAssignWith.WithSelf.Op.type.959: type = fn_type @BitXorAssignWith.WithSelf.Op, @BitXorAssignWith.WithSelf(%Cpp.long, %BitXorAssignWith.facet.b38) [concrete] +// CHECK:STDOUT: %.9c9: type = fn_type_with_self_type %BitXorAssignWith.WithSelf.Op.type.959, %BitXorAssignWith.facet.b38 [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.db7227.1: = specific_function %Cpp.long.as.BitXorAssignWith.impl.Op.9bad15.2, @Cpp.long.as.BitXorAssignWith.impl.Op.1(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.db7227.2: = specific_function %Cpp.long.as.BitXorAssignWith.impl.Op.9bad15.1, @Cpp.long.as.BitXorAssignWith.impl.Op.2(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.type.cb1: type = facet_type <@LeftShiftAssignWith, @LeftShiftAssignWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.50a853.1: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long.as.LeftShiftAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.2764b8.1: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.50a853.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.50a853.2: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long.as.LeftShiftAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.2764b8.2: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.50a853.2 = struct_value () [symbolic] +// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness.695: = impl_witness imports.%LeftShiftAssignWith.impl_witness_table.89e, @Cpp.long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.809b36.1: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.e1af3f.1: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.809b36.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.809b36.2: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.e1af3f.2: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.809b36.2 = struct_value () [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.facet.2ff: %LeftShiftAssignWith.type.cb1 = facet_value %Cpp.long, (%LeftShiftAssignWith.impl_witness.695) [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.WithSelf.Op.type.ccd: type = fn_type @LeftShiftAssignWith.WithSelf.Op, @LeftShiftAssignWith.WithSelf(%Cpp.long, %LeftShiftAssignWith.facet.2ff) [concrete] +// CHECK:STDOUT: %.55f: type = fn_type_with_self_type %LeftShiftAssignWith.WithSelf.Op.type.ccd, %LeftShiftAssignWith.facet.2ff [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.176c12.1: = specific_function %Cpp.long.as.LeftShiftAssignWith.impl.Op.e1af3f.2, @Cpp.long.as.LeftShiftAssignWith.impl.Op.1(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.176c12.2: = specific_function %Cpp.long.as.LeftShiftAssignWith.impl.Op.e1af3f.1, @Cpp.long.as.LeftShiftAssignWith.impl.Op.2(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.type.eeb: type = facet_type <@RightShiftAssignWith, @RightShiftAssignWith(%Cpp.long)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.053d7a.1: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long.as.RightShiftAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.723f9d.1: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.053d7a.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.053d7a.2: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long.as.RightShiftAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.723f9d.2: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.053d7a.2 = struct_value () [symbolic] +// CHECK:STDOUT: %RightShiftAssignWith.impl_witness.52b: = impl_witness imports.%RightShiftAssignWith.impl_witness_table.eba, @Cpp.long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.7abe8a.1: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.d21be7.1: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.7abe8a.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.7abe8a.2: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.d21be7.2: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.7abe8a.2 = struct_value () [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.facet.a7c: %RightShiftAssignWith.type.eeb = facet_value %Cpp.long, (%RightShiftAssignWith.impl_witness.52b) [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.WithSelf.Op.type.de5: type = fn_type @RightShiftAssignWith.WithSelf.Op, @RightShiftAssignWith.WithSelf(%Cpp.long, %RightShiftAssignWith.facet.a7c) [concrete] +// CHECK:STDOUT: %.9cb: type = fn_type_with_self_type %RightShiftAssignWith.WithSelf.Op.type.de5, %RightShiftAssignWith.facet.a7c [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.576b1b.1: = specific_function %Cpp.long.as.RightShiftAssignWith.impl.Op.d21be7.2, @Cpp.long.as.RightShiftAssignWith.impl.Op.1(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.576b1b.2: = specific_function %Cpp.long.as.RightShiftAssignWith.impl.Op.d21be7.1, @Cpp.long.as.RightShiftAssignWith.impl.Op.2(%ImplicitAs.facet.3e9) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: %Cpp.long.as.Copy.impl.Op.type: type = fn_type @Cpp.long.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Cpp.long.as.Copy.impl.Op: %Cpp.long.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -2809,56 +2809,56 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .long = constants.%Cpp.long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.5e1: @T.as_type.as.ImplicitAs.impl.%T.as_type.as.ImplicitAs.impl.Convert.type (%T.as_type.as.ImplicitAs.impl.Convert.type.b99) = import_ref Core//prelude/types/cpp/int, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @T.as_type.as.ImplicitAs.impl.%T.as_type.as.ImplicitAs.impl.Convert (constants.%T.as_type.as.ImplicitAs.impl.Convert.56c)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eef = impl_witness_table (%Core.import_ref.5e1), @T.as_type.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.15d = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.52f [concrete] -// CHECK:STDOUT: %Core.import_ref.6d6: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long.as.AddAssignWith.impl.Op.402bbb.1)] -// CHECK:STDOUT: %AddAssignWith.impl_witness_table.eb4 = impl_witness_table (%Core.import_ref.6d6), @Cpp.long.as.AddAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.18c: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long.as.AddAssignWith.impl.Op.402bbb.2)] -// CHECK:STDOUT: %Core.import_ref.59e: %Cpp.long.as.Copy.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.f35 = impl_witness_table (%Core.import_ref.59e), @Cpp.long.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.6c10: @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.type.2 (%Cpp.long.as.SubAssignWith.impl.Op.type.240aad.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.2 (constants.%Cpp.long.as.SubAssignWith.impl.Op.c9b94b.1)] -// CHECK:STDOUT: %SubAssignWith.impl_witness_table.917 = impl_witness_table (%Core.import_ref.6c10), @Cpp.long.as.SubAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.3d5a: @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.type.1 (%Cpp.long.as.SubAssignWith.impl.Op.type.240aad.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.1 (constants.%Cpp.long.as.SubAssignWith.impl.Op.c9b94b.2)] -// CHECK:STDOUT: %Core.import_ref.420: @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.type.2 (%Cpp.long.as.MulAssignWith.impl.Op.type.ead7c1.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.2 (constants.%Cpp.long.as.MulAssignWith.impl.Op.0ef7e5.1)] -// CHECK:STDOUT: %MulAssignWith.impl_witness_table.d52 = impl_witness_table (%Core.import_ref.420), @Cpp.long.as.MulAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.2af: @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.type.1 (%Cpp.long.as.MulAssignWith.impl.Op.type.ead7c1.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.1 (constants.%Cpp.long.as.MulAssignWith.impl.Op.0ef7e5.2)] -// CHECK:STDOUT: %Core.import_ref.765: @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.type.2 (%Cpp.long.as.DivAssignWith.impl.Op.type.63303a.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.2 (constants.%Cpp.long.as.DivAssignWith.impl.Op.69d87d.1)] -// CHECK:STDOUT: %DivAssignWith.impl_witness_table.293 = impl_witness_table (%Core.import_ref.765), @Cpp.long.as.DivAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.1d5: @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.type.1 (%Cpp.long.as.DivAssignWith.impl.Op.type.63303a.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.1 (constants.%Cpp.long.as.DivAssignWith.impl.Op.69d87d.2)] -// CHECK:STDOUT: %Core.import_ref.b5c: @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.type.2 (%Cpp.long.as.ModAssignWith.impl.Op.type.48d732.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.2 (constants.%Cpp.long.as.ModAssignWith.impl.Op.ce0108.1)] -// CHECK:STDOUT: %ModAssignWith.impl_witness_table.80e = impl_witness_table (%Core.import_ref.b5c), @Cpp.long.as.ModAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.048: @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.type.1 (%Cpp.long.as.ModAssignWith.impl.Op.type.48d732.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.1 (constants.%Cpp.long.as.ModAssignWith.impl.Op.ce0108.2)] -// CHECK:STDOUT: %Core.import_ref.b99: @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.type.2 (%Cpp.long.as.BitAndAssignWith.impl.Op.type.d6c142.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.2 (constants.%Cpp.long.as.BitAndAssignWith.impl.Op.f5070e.1)] -// CHECK:STDOUT: %BitAndAssignWith.impl_witness_table.2bc = impl_witness_table (%Core.import_ref.b99), @Cpp.long.as.BitAndAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.293: @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.type.1 (%Cpp.long.as.BitAndAssignWith.impl.Op.type.d6c142.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.1 (constants.%Cpp.long.as.BitAndAssignWith.impl.Op.f5070e.2)] -// CHECK:STDOUT: %Core.import_ref.a29: @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.type.2 (%Cpp.long.as.BitOrAssignWith.impl.Op.type.3fbd01.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.2 (constants.%Cpp.long.as.BitOrAssignWith.impl.Op.90a9e4.1)] -// CHECK:STDOUT: %BitOrAssignWith.impl_witness_table.061 = impl_witness_table (%Core.import_ref.a29), @Cpp.long.as.BitOrAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.542: @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.type.1 (%Cpp.long.as.BitOrAssignWith.impl.Op.type.3fbd01.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.1 (constants.%Cpp.long.as.BitOrAssignWith.impl.Op.90a9e4.2)] -// CHECK:STDOUT: %Core.import_ref.78d: @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.type.2 (%Cpp.long.as.BitXorAssignWith.impl.Op.type.dfbc19.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.2 (constants.%Cpp.long.as.BitXorAssignWith.impl.Op.ee7339.1)] -// CHECK:STDOUT: %BitXorAssignWith.impl_witness_table.a67 = impl_witness_table (%Core.import_ref.78d), @Cpp.long.as.BitXorAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.2f0: @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.type.1 (%Cpp.long.as.BitXorAssignWith.impl.Op.type.dfbc19.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.1 (constants.%Cpp.long.as.BitXorAssignWith.impl.Op.ee7339.2)] -// CHECK:STDOUT: %Core.import_ref.29f: @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.2 (%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.e16838.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.2 (constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.a46dd3.1)] -// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness_table.701 = impl_witness_table (%Core.import_ref.29f), @Cpp.long.as.LeftShiftAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.a0c: @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.1 (%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.e16838.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.1 (constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.a46dd3.2)] -// CHECK:STDOUT: %Core.import_ref.3e4: @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.type.2 (%Cpp.long.as.RightShiftAssignWith.impl.Op.type.70abaa.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.2 (constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.ce64be.1)] -// CHECK:STDOUT: %RightShiftAssignWith.impl_witness_table.2cc = impl_witness_table (%Core.import_ref.3e4), @Cpp.long.as.RightShiftAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.5ce: @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.type.1 (%Cpp.long.as.RightShiftAssignWith.impl.Op.type.70abaa.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.1 (constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.ce64be.2)] +// CHECK:STDOUT: %Core.import_ref.3b1: @T.as_type.as.ImplicitAs.impl.%T.as_type.as.ImplicitAs.impl.Convert.type (%T.as_type.as.ImplicitAs.impl.Convert.type.5ec) = import_ref Core//prelude/types/cpp/int, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @T.as_type.as.ImplicitAs.impl.%T.as_type.as.ImplicitAs.impl.Convert (constants.%T.as_type.as.ImplicitAs.impl.Convert.921)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.c42 = impl_witness_table (%Core.import_ref.3b1), @T.as_type.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.293 = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.ec9 [concrete] +// CHECK:STDOUT: %Core.import_ref.1d2: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long.as.AddAssignWith.impl.Op.c37e49.1)] +// CHECK:STDOUT: %AddAssignWith.impl_witness_table.d4d = impl_witness_table (%Core.import_ref.1d2), @Cpp.long.as.AddAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.e4e: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long.as.AddAssignWith.impl.Op.c37e49.2)] +// CHECK:STDOUT: %Core.import_ref.f63: %Cpp.long.as.Copy.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.256 = impl_witness_table (%Core.import_ref.f63), @Cpp.long.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1bc: @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.type.2 (%Cpp.long.as.SubAssignWith.impl.Op.type.e6fddb.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.2 (constants.%Cpp.long.as.SubAssignWith.impl.Op.d98f7d.1)] +// CHECK:STDOUT: %SubAssignWith.impl_witness_table.c70 = impl_witness_table (%Core.import_ref.1bc), @Cpp.long.as.SubAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.792: @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.type.1 (%Cpp.long.as.SubAssignWith.impl.Op.type.e6fddb.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.1 (constants.%Cpp.long.as.SubAssignWith.impl.Op.d98f7d.2)] +// CHECK:STDOUT: %Core.import_ref.ae2: @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.type.2 (%Cpp.long.as.MulAssignWith.impl.Op.type.9be123.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.2 (constants.%Cpp.long.as.MulAssignWith.impl.Op.4d4f44.1)] +// CHECK:STDOUT: %MulAssignWith.impl_witness_table.511 = impl_witness_table (%Core.import_ref.ae2), @Cpp.long.as.MulAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.b40: @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.type.1 (%Cpp.long.as.MulAssignWith.impl.Op.type.9be123.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.1 (constants.%Cpp.long.as.MulAssignWith.impl.Op.4d4f44.2)] +// CHECK:STDOUT: %Core.import_ref.49d: @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.type.2 (%Cpp.long.as.DivAssignWith.impl.Op.type.109ac5.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.2 (constants.%Cpp.long.as.DivAssignWith.impl.Op.b4447c.1)] +// CHECK:STDOUT: %DivAssignWith.impl_witness_table.b74 = impl_witness_table (%Core.import_ref.49d), @Cpp.long.as.DivAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.6ac: @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.type.1 (%Cpp.long.as.DivAssignWith.impl.Op.type.109ac5.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.1 (constants.%Cpp.long.as.DivAssignWith.impl.Op.b4447c.2)] +// CHECK:STDOUT: %Core.import_ref.faa: @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.type.2 (%Cpp.long.as.ModAssignWith.impl.Op.type.e961bf.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.2 (constants.%Cpp.long.as.ModAssignWith.impl.Op.ff452e.1)] +// CHECK:STDOUT: %ModAssignWith.impl_witness_table.fb8 = impl_witness_table (%Core.import_ref.faa), @Cpp.long.as.ModAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.264: @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.type.1 (%Cpp.long.as.ModAssignWith.impl.Op.type.e961bf.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.1 (constants.%Cpp.long.as.ModAssignWith.impl.Op.ff452e.2)] +// CHECK:STDOUT: %Core.import_ref.df6: @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.type.2 (%Cpp.long.as.BitAndAssignWith.impl.Op.type.f954e6.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.2 (constants.%Cpp.long.as.BitAndAssignWith.impl.Op.b72f56.1)] +// CHECK:STDOUT: %BitAndAssignWith.impl_witness_table.38e = impl_witness_table (%Core.import_ref.df6), @Cpp.long.as.BitAndAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.27c: @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.type.1 (%Cpp.long.as.BitAndAssignWith.impl.Op.type.f954e6.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.1 (constants.%Cpp.long.as.BitAndAssignWith.impl.Op.b72f56.2)] +// CHECK:STDOUT: %Core.import_ref.c64: @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.type.2 (%Cpp.long.as.BitOrAssignWith.impl.Op.type.186a1d.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.2 (constants.%Cpp.long.as.BitOrAssignWith.impl.Op.169685.1)] +// CHECK:STDOUT: %BitOrAssignWith.impl_witness_table.033 = impl_witness_table (%Core.import_ref.c64), @Cpp.long.as.BitOrAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.dda: @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.type.1 (%Cpp.long.as.BitOrAssignWith.impl.Op.type.186a1d.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.1 (constants.%Cpp.long.as.BitOrAssignWith.impl.Op.169685.2)] +// CHECK:STDOUT: %Core.import_ref.ac7: @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.type.2 (%Cpp.long.as.BitXorAssignWith.impl.Op.type.cdf2c9.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.2 (constants.%Cpp.long.as.BitXorAssignWith.impl.Op.583c20.1)] +// CHECK:STDOUT: %BitXorAssignWith.impl_witness_table.443 = impl_witness_table (%Core.import_ref.ac7), @Cpp.long.as.BitXorAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.c2e: @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.type.1 (%Cpp.long.as.BitXorAssignWith.impl.Op.type.cdf2c9.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.1 (constants.%Cpp.long.as.BitXorAssignWith.impl.Op.583c20.2)] +// CHECK:STDOUT: %Core.import_ref.0b9: @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.2 (%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.50a853.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.2 (constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.2764b8.1)] +// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness_table.89e = impl_witness_table (%Core.import_ref.0b9), @Cpp.long.as.LeftShiftAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.e49: @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.1 (%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.50a853.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.1 (constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.2764b8.2)] +// CHECK:STDOUT: %Core.import_ref.8a6: @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.type.2 (%Cpp.long.as.RightShiftAssignWith.impl.Op.type.053d7a.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.2 (constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.723f9d.1)] +// CHECK:STDOUT: %RightShiftAssignWith.impl_witness_table.eba = impl_witness_table (%Core.import_ref.8a6), @Cpp.long.as.RightShiftAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.d53: @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.type.1 (%Cpp.long.as.RightShiftAssignWith.impl.Op.type.053d7a.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.1 (constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.723f9d.2)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CompoundAssignmentHomogeneousLong() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.3c3 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.3c3 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.83e = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.83e = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.long = var %a.var_patt // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc8_3: init %Cpp.long = converted %int_1.loc8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc8_3: init %Cpp.long = converted %int_1.loc8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: assign %a.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %long.ref.loc8 [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -2866,15 +2866,15 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %Cpp.long = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.3c3 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.3c3 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.83e = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.83e = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %Cpp.long = var %b.var_patt // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc9: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc9: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc9: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc9_3: init %Cpp.long = converted %int_1.loc9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc9_3: init %Cpp.long = converted %int_1.loc9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: assign %b.var, %.loc9_3 // CHECK:STDOUT: %.loc9_13: type = splice_block %long.ref.loc9 [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -2883,157 +2883,157 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %b: ref %Cpp.long = ref_binding b, %b.var // CHECK:STDOUT: %a.ref.loc11: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc11: ref %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc11: %.fea = impl_witness_access constants.%AddAssignWith.impl_witness.8cc, element0 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.262184.2] +// CHECK:STDOUT: %impl.elem0.loc11: %.5f0 = impl_witness_access constants.%AddAssignWith.impl_witness.830, element0 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.ce7855.2] // CHECK:STDOUT: %bound_method.loc11_5.1: = bound_method %a.ref.loc11, %impl.elem0.loc11 -// CHECK:STDOUT: %ImplicitAs.facet.loc11: %ImplicitAs.type.2b7 = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.f7c) [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %.loc11_5.1: %ImplicitAs.type.2b7 = converted constants.%Cpp.long, %ImplicitAs.facet.loc11 [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem0.loc11, @Cpp.long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.f04ee9.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc11: %ImplicitAs.type.6fa = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.998) [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %.loc11_5.1: %ImplicitAs.type.6fa = converted constants.%Cpp.long, %ImplicitAs.facet.loc11 [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem0.loc11, @Cpp.long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.544ffe.1] // CHECK:STDOUT: %bound_method.loc11_5.2: = bound_method %a.ref.loc11, %specific_fn.loc11 // CHECK:STDOUT: %.loc11_8: %Cpp.long = acquire_value %b.ref.loc11 -// CHECK:STDOUT: %.loc11_5.2: %Cpp.long.as.AddAssignWith.impl.Op.type.6e1e78.1 = specific_constant imports.%Core.Op.18c, @Cpp.long.as.AddAssignWith.impl(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.262184.1] -// CHECK:STDOUT: %Op.ref.loc11: %Cpp.long.as.AddAssignWith.impl.Op.type.6e1e78.1 = name_ref Op, %.loc11_5.2 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.262184.1] +// CHECK:STDOUT: %.loc11_5.2: %Cpp.long.as.AddAssignWith.impl.Op.type.ba770b.1 = specific_constant imports.%Core.Op.e4e, @Cpp.long.as.AddAssignWith.impl(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.ce7855.1] +// CHECK:STDOUT: %Op.ref.loc11: %Cpp.long.as.AddAssignWith.impl.Op.type.ba770b.1 = name_ref Op, %.loc11_5.2 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.ce7855.1] // CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.bound: = bound_method %a.ref.loc11, %Op.ref.loc11 -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc11, @Cpp.long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.f04ee9.2] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc11, @Cpp.long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.544ffe.2] // CHECK:STDOUT: %bound_method.loc11_5.3: = bound_method %a.ref.loc11, %Cpp.long.as.AddAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc11_5.3(%a.ref.loc11, %.loc11_8) // CHECK:STDOUT: %a.ref.loc12: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc12: ref %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc12: %.20b = impl_witness_access constants.%SubAssignWith.impl_witness.6f4, element0 [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.3c1bb0.2] +// CHECK:STDOUT: %impl.elem0.loc12: %.700 = impl_witness_access constants.%SubAssignWith.impl_witness.d79, element0 [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.498a54.2] // CHECK:STDOUT: %bound_method.loc12_5.1: = bound_method %a.ref.loc12, %impl.elem0.loc12 -// CHECK:STDOUT: %ImplicitAs.facet.loc12: %ImplicitAs.type.2b7 = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.f7c) [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %.loc12_5.1: %ImplicitAs.type.2b7 = converted constants.%Cpp.long, %ImplicitAs.facet.loc12 [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem0.loc12, @Cpp.long.as.SubAssignWith.impl.Op.1(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.specific_fn.247eb0.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc12: %ImplicitAs.type.6fa = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.998) [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %.loc12_5.1: %ImplicitAs.type.6fa = converted constants.%Cpp.long, %ImplicitAs.facet.loc12 [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem0.loc12, @Cpp.long.as.SubAssignWith.impl.Op.1(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.specific_fn.e00b17.1] // CHECK:STDOUT: %bound_method.loc12_5.2: = bound_method %a.ref.loc12, %specific_fn.loc12 // CHECK:STDOUT: %.loc12_8: %Cpp.long = acquire_value %b.ref.loc12 -// CHECK:STDOUT: %.loc12_5.2: %Cpp.long.as.SubAssignWith.impl.Op.type.e40e06.1 = specific_constant imports.%Core.Op.3d5a, @Cpp.long.as.SubAssignWith.impl(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.3c1bb0.1] -// CHECK:STDOUT: %Op.ref.loc12: %Cpp.long.as.SubAssignWith.impl.Op.type.e40e06.1 = name_ref Op, %.loc12_5.2 [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.3c1bb0.1] +// CHECK:STDOUT: %.loc12_5.2: %Cpp.long.as.SubAssignWith.impl.Op.type.19fb65.1 = specific_constant imports.%Core.Op.792, @Cpp.long.as.SubAssignWith.impl(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.498a54.1] +// CHECK:STDOUT: %Op.ref.loc12: %Cpp.long.as.SubAssignWith.impl.Op.type.19fb65.1 = name_ref Op, %.loc12_5.2 [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.498a54.1] // CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.bound: = bound_method %a.ref.loc12, %Op.ref.loc12 -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc12, @Cpp.long.as.SubAssignWith.impl.Op.2(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.specific_fn.247eb0.2] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc12, @Cpp.long.as.SubAssignWith.impl.Op.2(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.specific_fn.e00b17.2] // CHECK:STDOUT: %bound_method.loc12_5.3: = bound_method %a.ref.loc12, %Cpp.long.as.SubAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc12_5.3(%a.ref.loc12, %.loc12_8) // CHECK:STDOUT: %a.ref.loc13: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc13: ref %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc13: %.066 = impl_witness_access constants.%MulAssignWith.impl_witness.c78, element0 [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.22b3b9.2] +// CHECK:STDOUT: %impl.elem0.loc13: %.756 = impl_witness_access constants.%MulAssignWith.impl_witness.e21, element0 [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.9be979.2] // CHECK:STDOUT: %bound_method.loc13_5.1: = bound_method %a.ref.loc13, %impl.elem0.loc13 -// CHECK:STDOUT: %ImplicitAs.facet.loc13: %ImplicitAs.type.2b7 = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.f7c) [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %.loc13_5.1: %ImplicitAs.type.2b7 = converted constants.%Cpp.long, %ImplicitAs.facet.loc13 [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13, @Cpp.long.as.MulAssignWith.impl.Op.1(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.specific_fn.2813b9.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc13: %ImplicitAs.type.6fa = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.998) [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %.loc13_5.1: %ImplicitAs.type.6fa = converted constants.%Cpp.long, %ImplicitAs.facet.loc13 [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13, @Cpp.long.as.MulAssignWith.impl.Op.1(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.specific_fn.6c2d47.1] // CHECK:STDOUT: %bound_method.loc13_5.2: = bound_method %a.ref.loc13, %specific_fn.loc13 // CHECK:STDOUT: %.loc13_8: %Cpp.long = acquire_value %b.ref.loc13 -// CHECK:STDOUT: %.loc13_5.2: %Cpp.long.as.MulAssignWith.impl.Op.type.aee0b0.1 = specific_constant imports.%Core.Op.2af, @Cpp.long.as.MulAssignWith.impl(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.22b3b9.1] -// CHECK:STDOUT: %Op.ref.loc13: %Cpp.long.as.MulAssignWith.impl.Op.type.aee0b0.1 = name_ref Op, %.loc13_5.2 [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.22b3b9.1] +// CHECK:STDOUT: %.loc13_5.2: %Cpp.long.as.MulAssignWith.impl.Op.type.23c32e.1 = specific_constant imports.%Core.Op.b40, @Cpp.long.as.MulAssignWith.impl(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.9be979.1] +// CHECK:STDOUT: %Op.ref.loc13: %Cpp.long.as.MulAssignWith.impl.Op.type.23c32e.1 = name_ref Op, %.loc13_5.2 [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.9be979.1] // CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.bound: = bound_method %a.ref.loc13, %Op.ref.loc13 -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc13, @Cpp.long.as.MulAssignWith.impl.Op.2(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.specific_fn.2813b9.2] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc13, @Cpp.long.as.MulAssignWith.impl.Op.2(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.specific_fn.6c2d47.2] // CHECK:STDOUT: %bound_method.loc13_5.3: = bound_method %a.ref.loc13, %Cpp.long.as.MulAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc13_5.3(%a.ref.loc13, %.loc13_8) // CHECK:STDOUT: %a.ref.loc14: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc14: ref %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc14: %.c90 = impl_witness_access constants.%DivAssignWith.impl_witness.1ea, element0 [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.b83684.2] +// CHECK:STDOUT: %impl.elem0.loc14: %.b84 = impl_witness_access constants.%DivAssignWith.impl_witness.9e8, element0 [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.60ccc0.2] // CHECK:STDOUT: %bound_method.loc14_5.1: = bound_method %a.ref.loc14, %impl.elem0.loc14 -// CHECK:STDOUT: %ImplicitAs.facet.loc14: %ImplicitAs.type.2b7 = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.f7c) [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %.loc14_5.1: %ImplicitAs.type.2b7 = converted constants.%Cpp.long, %ImplicitAs.facet.loc14 [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14, @Cpp.long.as.DivAssignWith.impl.Op.1(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.specific_fn.709e56.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc14: %ImplicitAs.type.6fa = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.998) [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %.loc14_5.1: %ImplicitAs.type.6fa = converted constants.%Cpp.long, %ImplicitAs.facet.loc14 [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14, @Cpp.long.as.DivAssignWith.impl.Op.1(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.specific_fn.04e150.1] // CHECK:STDOUT: %bound_method.loc14_5.2: = bound_method %a.ref.loc14, %specific_fn.loc14 // CHECK:STDOUT: %.loc14_8: %Cpp.long = acquire_value %b.ref.loc14 -// CHECK:STDOUT: %.loc14_5.2: %Cpp.long.as.DivAssignWith.impl.Op.type.935c6e.1 = specific_constant imports.%Core.Op.1d5, @Cpp.long.as.DivAssignWith.impl(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.b83684.1] -// CHECK:STDOUT: %Op.ref.loc14: %Cpp.long.as.DivAssignWith.impl.Op.type.935c6e.1 = name_ref Op, %.loc14_5.2 [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.b83684.1] +// CHECK:STDOUT: %.loc14_5.2: %Cpp.long.as.DivAssignWith.impl.Op.type.a9acbb.1 = specific_constant imports.%Core.Op.6ac, @Cpp.long.as.DivAssignWith.impl(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.60ccc0.1] +// CHECK:STDOUT: %Op.ref.loc14: %Cpp.long.as.DivAssignWith.impl.Op.type.a9acbb.1 = name_ref Op, %.loc14_5.2 [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.60ccc0.1] // CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.bound: = bound_method %a.ref.loc14, %Op.ref.loc14 -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc14, @Cpp.long.as.DivAssignWith.impl.Op.2(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.specific_fn.709e56.2] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc14, @Cpp.long.as.DivAssignWith.impl.Op.2(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.specific_fn.04e150.2] // CHECK:STDOUT: %bound_method.loc14_5.3: = bound_method %a.ref.loc14, %Cpp.long.as.DivAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc14_5.3(%a.ref.loc14, %.loc14_8) // CHECK:STDOUT: %a.ref.loc15: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc15: ref %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc15: %.61f = impl_witness_access constants.%ModAssignWith.impl_witness.370, element0 [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.3aab83.2] +// CHECK:STDOUT: %impl.elem0.loc15: %.e3a = impl_witness_access constants.%ModAssignWith.impl_witness.574, element0 [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.401e7e.2] // CHECK:STDOUT: %bound_method.loc15_5.1: = bound_method %a.ref.loc15, %impl.elem0.loc15 -// CHECK:STDOUT: %ImplicitAs.facet.loc15: %ImplicitAs.type.2b7 = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.f7c) [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %.loc15_5.1: %ImplicitAs.type.2b7 = converted constants.%Cpp.long, %ImplicitAs.facet.loc15 [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Cpp.long.as.ModAssignWith.impl.Op.1(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.specific_fn.c57659.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc15: %ImplicitAs.type.6fa = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.998) [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %.loc15_5.1: %ImplicitAs.type.6fa = converted constants.%Cpp.long, %ImplicitAs.facet.loc15 [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Cpp.long.as.ModAssignWith.impl.Op.1(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.specific_fn.cb024b.1] // CHECK:STDOUT: %bound_method.loc15_5.2: = bound_method %a.ref.loc15, %specific_fn.loc15 // CHECK:STDOUT: %.loc15_8: %Cpp.long = acquire_value %b.ref.loc15 -// CHECK:STDOUT: %.loc15_5.2: %Cpp.long.as.ModAssignWith.impl.Op.type.8ae7d7.1 = specific_constant imports.%Core.Op.048, @Cpp.long.as.ModAssignWith.impl(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.3aab83.1] -// CHECK:STDOUT: %Op.ref.loc15: %Cpp.long.as.ModAssignWith.impl.Op.type.8ae7d7.1 = name_ref Op, %.loc15_5.2 [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.3aab83.1] +// CHECK:STDOUT: %.loc15_5.2: %Cpp.long.as.ModAssignWith.impl.Op.type.837c3c.1 = specific_constant imports.%Core.Op.264, @Cpp.long.as.ModAssignWith.impl(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.401e7e.1] +// CHECK:STDOUT: %Op.ref.loc15: %Cpp.long.as.ModAssignWith.impl.Op.type.837c3c.1 = name_ref Op, %.loc15_5.2 [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.401e7e.1] // CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.bound: = bound_method %a.ref.loc15, %Op.ref.loc15 -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc15, @Cpp.long.as.ModAssignWith.impl.Op.2(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.specific_fn.c57659.2] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc15, @Cpp.long.as.ModAssignWith.impl.Op.2(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.specific_fn.cb024b.2] // CHECK:STDOUT: %bound_method.loc15_5.3: = bound_method %a.ref.loc15, %Cpp.long.as.ModAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc15_5.3(%a.ref.loc15, %.loc15_8) // CHECK:STDOUT: %a.ref.loc17: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc17: ref %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc17: %.98d = impl_witness_access constants.%BitAndAssignWith.impl_witness.aca, element0 [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.1c15fd.2] +// CHECK:STDOUT: %impl.elem0.loc17: %.521 = impl_witness_access constants.%BitAndAssignWith.impl_witness.32b, element0 [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.efe73c.2] // CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %a.ref.loc17, %impl.elem0.loc17 -// CHECK:STDOUT: %ImplicitAs.facet.loc17: %ImplicitAs.type.2b7 = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.f7c) [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %.loc17_5.1: %ImplicitAs.type.2b7 = converted constants.%Cpp.long, %ImplicitAs.facet.loc17 [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @Cpp.long.as.BitAndAssignWith.impl.Op.1(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.225da6.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc17: %ImplicitAs.type.6fa = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.998) [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %.loc17_5.1: %ImplicitAs.type.6fa = converted constants.%Cpp.long, %ImplicitAs.facet.loc17 [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @Cpp.long.as.BitAndAssignWith.impl.Op.1(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.bd1e6a.1] // CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %a.ref.loc17, %specific_fn.loc17 // CHECK:STDOUT: %.loc17_8: %Cpp.long = acquire_value %b.ref.loc17 -// CHECK:STDOUT: %.loc17_5.2: %Cpp.long.as.BitAndAssignWith.impl.Op.type.65f4c5.1 = specific_constant imports.%Core.Op.293, @Cpp.long.as.BitAndAssignWith.impl(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.1c15fd.1] -// CHECK:STDOUT: %Op.ref.loc17: %Cpp.long.as.BitAndAssignWith.impl.Op.type.65f4c5.1 = name_ref Op, %.loc17_5.2 [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.1c15fd.1] +// CHECK:STDOUT: %.loc17_5.2: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f1429d.1 = specific_constant imports.%Core.Op.27c, @Cpp.long.as.BitAndAssignWith.impl(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.efe73c.1] +// CHECK:STDOUT: %Op.ref.loc17: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f1429d.1 = name_ref Op, %.loc17_5.2 [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.efe73c.1] // CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.bound: = bound_method %a.ref.loc17, %Op.ref.loc17 -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc17, @Cpp.long.as.BitAndAssignWith.impl.Op.2(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.225da6.2] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc17, @Cpp.long.as.BitAndAssignWith.impl.Op.2(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.bd1e6a.2] // CHECK:STDOUT: %bound_method.loc17_5.3: = bound_method %a.ref.loc17, %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc17_5.3(%a.ref.loc17, %.loc17_8) // CHECK:STDOUT: %a.ref.loc18: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc18: ref %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc18: %.70b = impl_witness_access constants.%BitOrAssignWith.impl_witness.870, element0 [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.4b41df.2] +// CHECK:STDOUT: %impl.elem0.loc18: %.7dc = impl_witness_access constants.%BitOrAssignWith.impl_witness.a4d, element0 [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.732095.2] // CHECK:STDOUT: %bound_method.loc18_5.1: = bound_method %a.ref.loc18, %impl.elem0.loc18 -// CHECK:STDOUT: %ImplicitAs.facet.loc18: %ImplicitAs.type.2b7 = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.f7c) [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %.loc18_5.1: %ImplicitAs.type.2b7 = converted constants.%Cpp.long, %ImplicitAs.facet.loc18 [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @Cpp.long.as.BitOrAssignWith.impl.Op.1(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.12df8a.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc18: %ImplicitAs.type.6fa = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.998) [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %.loc18_5.1: %ImplicitAs.type.6fa = converted constants.%Cpp.long, %ImplicitAs.facet.loc18 [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @Cpp.long.as.BitOrAssignWith.impl.Op.1(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.67bf91.1] // CHECK:STDOUT: %bound_method.loc18_5.2: = bound_method %a.ref.loc18, %specific_fn.loc18 // CHECK:STDOUT: %.loc18_8: %Cpp.long = acquire_value %b.ref.loc18 -// CHECK:STDOUT: %.loc18_5.2: %Cpp.long.as.BitOrAssignWith.impl.Op.type.4245b2.1 = specific_constant imports.%Core.Op.542, @Cpp.long.as.BitOrAssignWith.impl(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.4b41df.1] -// CHECK:STDOUT: %Op.ref.loc18: %Cpp.long.as.BitOrAssignWith.impl.Op.type.4245b2.1 = name_ref Op, %.loc18_5.2 [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.4b41df.1] +// CHECK:STDOUT: %.loc18_5.2: %Cpp.long.as.BitOrAssignWith.impl.Op.type.fbf7ed.1 = specific_constant imports.%Core.Op.dda, @Cpp.long.as.BitOrAssignWith.impl(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.732095.1] +// CHECK:STDOUT: %Op.ref.loc18: %Cpp.long.as.BitOrAssignWith.impl.Op.type.fbf7ed.1 = name_ref Op, %.loc18_5.2 [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.732095.1] // CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.bound: = bound_method %a.ref.loc18, %Op.ref.loc18 -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc18, @Cpp.long.as.BitOrAssignWith.impl.Op.2(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.12df8a.2] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc18, @Cpp.long.as.BitOrAssignWith.impl.Op.2(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.67bf91.2] // CHECK:STDOUT: %bound_method.loc18_5.3: = bound_method %a.ref.loc18, %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc18_5.3(%a.ref.loc18, %.loc18_8) // CHECK:STDOUT: %a.ref.loc19: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc19: ref %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc19: %.5b4 = impl_witness_access constants.%BitXorAssignWith.impl_witness.a71, element0 [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.d8a4f8.2] +// CHECK:STDOUT: %impl.elem0.loc19: %.9c9 = impl_witness_access constants.%BitXorAssignWith.impl_witness.07c, element0 [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.9bad15.2] // CHECK:STDOUT: %bound_method.loc19_5.1: = bound_method %a.ref.loc19, %impl.elem0.loc19 -// CHECK:STDOUT: %ImplicitAs.facet.loc19: %ImplicitAs.type.2b7 = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.f7c) [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %.loc19_5.1: %ImplicitAs.type.2b7 = converted constants.%Cpp.long, %ImplicitAs.facet.loc19 [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19, @Cpp.long.as.BitXorAssignWith.impl.Op.1(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.aff6d2.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc19: %ImplicitAs.type.6fa = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.998) [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %.loc19_5.1: %ImplicitAs.type.6fa = converted constants.%Cpp.long, %ImplicitAs.facet.loc19 [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19, @Cpp.long.as.BitXorAssignWith.impl.Op.1(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.db7227.1] // CHECK:STDOUT: %bound_method.loc19_5.2: = bound_method %a.ref.loc19, %specific_fn.loc19 // CHECK:STDOUT: %.loc19_8: %Cpp.long = acquire_value %b.ref.loc19 -// CHECK:STDOUT: %.loc19_5.2: %Cpp.long.as.BitXorAssignWith.impl.Op.type.520482.1 = specific_constant imports.%Core.Op.2f0, @Cpp.long.as.BitXorAssignWith.impl(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.d8a4f8.1] -// CHECK:STDOUT: %Op.ref.loc19: %Cpp.long.as.BitXorAssignWith.impl.Op.type.520482.1 = name_ref Op, %.loc19_5.2 [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.d8a4f8.1] +// CHECK:STDOUT: %.loc19_5.2: %Cpp.long.as.BitXorAssignWith.impl.Op.type.6a0f8a.1 = specific_constant imports.%Core.Op.c2e, @Cpp.long.as.BitXorAssignWith.impl(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.9bad15.1] +// CHECK:STDOUT: %Op.ref.loc19: %Cpp.long.as.BitXorAssignWith.impl.Op.type.6a0f8a.1 = name_ref Op, %.loc19_5.2 [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.9bad15.1] // CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.bound: = bound_method %a.ref.loc19, %Op.ref.loc19 -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc19, @Cpp.long.as.BitXorAssignWith.impl.Op.2(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.aff6d2.2] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc19, @Cpp.long.as.BitXorAssignWith.impl.Op.2(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.db7227.2] // CHECK:STDOUT: %bound_method.loc19_5.3: = bound_method %a.ref.loc19, %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc19_5.3(%a.ref.loc19, %.loc19_8) // CHECK:STDOUT: %a.ref.loc20: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc20: ref %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc20: %.ce6 = impl_witness_access constants.%LeftShiftAssignWith.impl_witness.259, element0 [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.2c7917.2] +// CHECK:STDOUT: %impl.elem0.loc20: %.55f = impl_witness_access constants.%LeftShiftAssignWith.impl_witness.695, element0 [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.e1af3f.2] // CHECK:STDOUT: %bound_method.loc20_5.1: = bound_method %a.ref.loc20, %impl.elem0.loc20 -// CHECK:STDOUT: %ImplicitAs.facet.loc20: %ImplicitAs.type.2b7 = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.f7c) [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %.loc20_5.1: %ImplicitAs.type.2b7 = converted constants.%Cpp.long, %ImplicitAs.facet.loc20 [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @Cpp.long.as.LeftShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.33cbc8.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc20: %ImplicitAs.type.6fa = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.998) [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %.loc20_5.1: %ImplicitAs.type.6fa = converted constants.%Cpp.long, %ImplicitAs.facet.loc20 [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @Cpp.long.as.LeftShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.176c12.1] // CHECK:STDOUT: %bound_method.loc20_5.2: = bound_method %a.ref.loc20, %specific_fn.loc20 // CHECK:STDOUT: %.loc20_9: %Cpp.long = acquire_value %b.ref.loc20 -// CHECK:STDOUT: %.loc20_5.2: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.8e255e.1 = specific_constant imports.%Core.Op.a0c, @Cpp.long.as.LeftShiftAssignWith.impl(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.2c7917.1] -// CHECK:STDOUT: %Op.ref.loc20: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.8e255e.1 = name_ref Op, %.loc20_5.2 [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.2c7917.1] +// CHECK:STDOUT: %.loc20_5.2: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.809b36.1 = specific_constant imports.%Core.Op.e49, @Cpp.long.as.LeftShiftAssignWith.impl(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.e1af3f.1] +// CHECK:STDOUT: %Op.ref.loc20: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.809b36.1 = name_ref Op, %.loc20_5.2 [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.e1af3f.1] // CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.bound: = bound_method %a.ref.loc20, %Op.ref.loc20 -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc20, @Cpp.long.as.LeftShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.33cbc8.2] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc20, @Cpp.long.as.LeftShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.176c12.2] // CHECK:STDOUT: %bound_method.loc20_5.3: = bound_method %a.ref.loc20, %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc20_5.3(%a.ref.loc20, %.loc20_9) // CHECK:STDOUT: %a.ref.loc21: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc21: ref %Cpp.long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc21: %.a3e = impl_witness_access constants.%RightShiftAssignWith.impl_witness.138, element0 [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.16e440.2] +// CHECK:STDOUT: %impl.elem0.loc21: %.9cb = impl_witness_access constants.%RightShiftAssignWith.impl_witness.52b, element0 [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.d21be7.2] // CHECK:STDOUT: %bound_method.loc21_5.1: = bound_method %a.ref.loc21, %impl.elem0.loc21 -// CHECK:STDOUT: %ImplicitAs.facet.loc21: %ImplicitAs.type.2b7 = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.f7c) [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %.loc21_5.1: %ImplicitAs.type.2b7 = converted constants.%Cpp.long, %ImplicitAs.facet.loc21 [concrete = constants.%ImplicitAs.facet.318] -// CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem0.loc21, @Cpp.long.as.RightShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.8311dd.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc21: %ImplicitAs.type.6fa = facet_value constants.%Cpp.long, (constants.%ImplicitAs.impl_witness.998) [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %.loc21_5.1: %ImplicitAs.type.6fa = converted constants.%Cpp.long, %ImplicitAs.facet.loc21 [concrete = constants.%ImplicitAs.facet.3e9] +// CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem0.loc21, @Cpp.long.as.RightShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.576b1b.1] // CHECK:STDOUT: %bound_method.loc21_5.2: = bound_method %a.ref.loc21, %specific_fn.loc21 // CHECK:STDOUT: %.loc21_9: %Cpp.long = acquire_value %b.ref.loc21 -// CHECK:STDOUT: %.loc21_5.2: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.9ccdc1.1 = specific_constant imports.%Core.Op.5ce, @Cpp.long.as.RightShiftAssignWith.impl(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.16e440.1] -// CHECK:STDOUT: %Op.ref.loc21: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.9ccdc1.1 = name_ref Op, %.loc21_5.2 [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.16e440.1] +// CHECK:STDOUT: %.loc21_5.2: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.7abe8a.1 = specific_constant imports.%Core.Op.d53, @Cpp.long.as.RightShiftAssignWith.impl(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.d21be7.1] +// CHECK:STDOUT: %Op.ref.loc21: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.7abe8a.1 = name_ref Op, %.loc21_5.2 [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.d21be7.1] // CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.bound: = bound_method %a.ref.loc21, %Op.ref.loc21 -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc21, @Cpp.long.as.RightShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.318) [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.8311dd.2] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc21, @Cpp.long.as.RightShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.3e9) [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.576b1b.2] // CHECK:STDOUT: %bound_method.loc21_5.3: = bound_method %a.ref.loc21, %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc21_5.3(%a.ref.loc21, %.loc21_9) -// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc9: init %empty_tuple.type = call %Destroy.Op.bound.loc9(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -3054,175 +3054,175 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %Cpp.long: type = class_type @Long32 [concrete] -// CHECK:STDOUT: %pattern_type.3c3: type = pattern_type %Cpp.long [concrete] -// CHECK:STDOUT: %ImplicitAs.type.2b7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.134: = impl_witness imports.%ImplicitAs.impl_witness_table.15d [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.a52: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.134) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bb3: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %.30b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bb3, %ImplicitAs.facet.a52 [concrete] +// CHECK:STDOUT: %pattern_type.83e: type = pattern_type %Cpp.long [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6fa: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e41: = impl_witness imports.%ImplicitAs.impl_witness_table.293 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.c09: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e41) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.93b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %.f84: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.93b, %ImplicitAs.facet.c09 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce [concrete] -// CHECK:STDOUT: %int_1.b8e: %Cpp.long = int_value 1 [concrete] -// CHECK:STDOUT: %AddAssignWith.type.e75: type = facet_type <@AddAssignWith, @AddAssignWith(%i32)> [concrete] -// CHECK:STDOUT: %U.5a0: %ImplicitAs.type.2b7 = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.402bbb.1: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.402bbb.2: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.2 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.e53: = impl_witness imports.%ImplicitAs.impl_witness_table.f44 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.32a: %ImplicitAs.type.2b7 = facet_value %i32, (%ImplicitAs.impl_witness.e53) [concrete] -// CHECK:STDOUT: %AddAssignWith.impl_witness.55d: = impl_witness imports.%AddAssignWith.impl_witness_table.eb4, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.df4b7b.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.90936b.1: %Cpp.long.as.AddAssignWith.impl.Op.type.df4b7b.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.df4b7b.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.90936b.2: %Cpp.long.as.AddAssignWith.impl.Op.type.df4b7b.2 = struct_value () [concrete] -// CHECK:STDOUT: %AddAssignWith.facet.640: %AddAssignWith.type.e75 = facet_value %Cpp.long, (%AddAssignWith.impl_witness.55d) [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.a76: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%i32, %AddAssignWith.facet.640) [concrete] -// CHECK:STDOUT: %.aac2: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.a76, %AddAssignWith.facet.640 [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.00ee3f.1: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.90936b.2, @Cpp.long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.00ee3f.2: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.90936b.1, @Cpp.long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.cb7: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %.709: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.cb7, %ImplicitAs.facet.32a [concrete] +// CHECK:STDOUT: %int_1.3d0: %Cpp.long = int_value 1 [concrete] +// CHECK:STDOUT: %AddAssignWith.type.e37: type = facet_type <@AddAssignWith, @AddAssignWith(%i32)> [concrete] +// CHECK:STDOUT: %U.887: %ImplicitAs.type.6fa = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.c37e49.1: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.c37e49.2: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.2 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.72d: = impl_witness imports.%ImplicitAs.impl_witness_table.29c [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.0fb: %ImplicitAs.type.6fa = facet_value %i32, (%ImplicitAs.impl_witness.72d) [concrete] +// CHECK:STDOUT: %AddAssignWith.impl_witness.129: = impl_witness imports.%AddAssignWith.impl_witness_table.d4d, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.69179c.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.1: %Cpp.long.as.AddAssignWith.impl.Op.type.69179c.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.69179c.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.2: %Cpp.long.as.AddAssignWith.impl.Op.type.69179c.2 = struct_value () [concrete] +// CHECK:STDOUT: %AddAssignWith.facet.627: %AddAssignWith.type.e37 = facet_value %Cpp.long, (%AddAssignWith.impl_witness.129) [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.839: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%i32, %AddAssignWith.facet.627) [concrete] +// CHECK:STDOUT: %.72d: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.839, %AddAssignWith.facet.627 [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.548e6a.1: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.2, @Cpp.long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.548e6a.2: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.1, @Cpp.long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.db6: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %.9d6: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.db6, %ImplicitAs.facet.0fb [concrete] // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.type: type = fn_type @i32.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert: %i32.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %SubAssignWith.type.78a: type = facet_type <@SubAssignWith, @SubAssignWith(%i32)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.240aad.1: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.1, @Cpp.long.as.SubAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.c9b94b.1: %Cpp.long.as.SubAssignWith.impl.Op.type.240aad.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.240aad.2: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.2, @Cpp.long.as.SubAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.c9b94b.2: %Cpp.long.as.SubAssignWith.impl.Op.type.240aad.2 = struct_value () [symbolic] -// CHECK:STDOUT: %SubAssignWith.impl_witness.bdc: = impl_witness imports.%SubAssignWith.impl_witness_table.917, @Cpp.long.as.SubAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.619c41.1: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.2, @Cpp.long.as.SubAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.7b52c6.1: %Cpp.long.as.SubAssignWith.impl.Op.type.619c41.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.619c41.2: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.1, @Cpp.long.as.SubAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.7b52c6.2: %Cpp.long.as.SubAssignWith.impl.Op.type.619c41.2 = struct_value () [concrete] -// CHECK:STDOUT: %SubAssignWith.facet.985: %SubAssignWith.type.78a = facet_value %Cpp.long, (%SubAssignWith.impl_witness.bdc) [concrete] -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.7a0: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%i32, %SubAssignWith.facet.985) [concrete] -// CHECK:STDOUT: %.818: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.7a0, %SubAssignWith.facet.985 [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.specific_fn.791990.1: = specific_function %Cpp.long.as.SubAssignWith.impl.Op.7b52c6.2, @Cpp.long.as.SubAssignWith.impl.Op.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.specific_fn.791990.2: = specific_function %Cpp.long.as.SubAssignWith.impl.Op.7b52c6.1, @Cpp.long.as.SubAssignWith.impl.Op.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %MulAssignWith.type.946: type = facet_type <@MulAssignWith, @MulAssignWith(%i32)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.ead7c1.1: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.1, @Cpp.long.as.MulAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.0ef7e5.1: %Cpp.long.as.MulAssignWith.impl.Op.type.ead7c1.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.ead7c1.2: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.2, @Cpp.long.as.MulAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.0ef7e5.2: %Cpp.long.as.MulAssignWith.impl.Op.type.ead7c1.2 = struct_value () [symbolic] -// CHECK:STDOUT: %MulAssignWith.impl_witness.992: = impl_witness imports.%MulAssignWith.impl_witness_table.d52, @Cpp.long.as.MulAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.3f3f1f.1: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.2, @Cpp.long.as.MulAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.1004a7.1: %Cpp.long.as.MulAssignWith.impl.Op.type.3f3f1f.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.3f3f1f.2: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.1, @Cpp.long.as.MulAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.1004a7.2: %Cpp.long.as.MulAssignWith.impl.Op.type.3f3f1f.2 = struct_value () [concrete] -// CHECK:STDOUT: %MulAssignWith.facet.e50: %MulAssignWith.type.946 = facet_value %Cpp.long, (%MulAssignWith.impl_witness.992) [concrete] -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.571: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%i32, %MulAssignWith.facet.e50) [concrete] -// CHECK:STDOUT: %.9b8: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.571, %MulAssignWith.facet.e50 [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.specific_fn.c718b9.1: = specific_function %Cpp.long.as.MulAssignWith.impl.Op.1004a7.2, @Cpp.long.as.MulAssignWith.impl.Op.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.specific_fn.c718b9.2: = specific_function %Cpp.long.as.MulAssignWith.impl.Op.1004a7.1, @Cpp.long.as.MulAssignWith.impl.Op.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %DivAssignWith.type.4c8: type = facet_type <@DivAssignWith, @DivAssignWith(%i32)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.63303a.1: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.1, @Cpp.long.as.DivAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.69d87d.1: %Cpp.long.as.DivAssignWith.impl.Op.type.63303a.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.63303a.2: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.2, @Cpp.long.as.DivAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.69d87d.2: %Cpp.long.as.DivAssignWith.impl.Op.type.63303a.2 = struct_value () [symbolic] -// CHECK:STDOUT: %DivAssignWith.impl_witness.7d9: = impl_witness imports.%DivAssignWith.impl_witness_table.293, @Cpp.long.as.DivAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.696a39.1: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.2, @Cpp.long.as.DivAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.99176a.1: %Cpp.long.as.DivAssignWith.impl.Op.type.696a39.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.696a39.2: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.1, @Cpp.long.as.DivAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.99176a.2: %Cpp.long.as.DivAssignWith.impl.Op.type.696a39.2 = struct_value () [concrete] -// CHECK:STDOUT: %DivAssignWith.facet.1a4: %DivAssignWith.type.4c8 = facet_value %Cpp.long, (%DivAssignWith.impl_witness.7d9) [concrete] -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.8e4: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%i32, %DivAssignWith.facet.1a4) [concrete] -// CHECK:STDOUT: %.2a7: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.8e4, %DivAssignWith.facet.1a4 [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.specific_fn.7df74c.1: = specific_function %Cpp.long.as.DivAssignWith.impl.Op.99176a.2, @Cpp.long.as.DivAssignWith.impl.Op.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.specific_fn.7df74c.2: = specific_function %Cpp.long.as.DivAssignWith.impl.Op.99176a.1, @Cpp.long.as.DivAssignWith.impl.Op.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %ModAssignWith.type.20c: type = facet_type <@ModAssignWith, @ModAssignWith(%i32)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.48d732.1: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.1, @Cpp.long.as.ModAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.ce0108.1: %Cpp.long.as.ModAssignWith.impl.Op.type.48d732.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.48d732.2: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.2, @Cpp.long.as.ModAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.ce0108.2: %Cpp.long.as.ModAssignWith.impl.Op.type.48d732.2 = struct_value () [symbolic] -// CHECK:STDOUT: %ModAssignWith.impl_witness.5ff: = impl_witness imports.%ModAssignWith.impl_witness_table.80e, @Cpp.long.as.ModAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.14b4d8.1: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.2, @Cpp.long.as.ModAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.10fc02.1: %Cpp.long.as.ModAssignWith.impl.Op.type.14b4d8.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.14b4d8.2: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.1, @Cpp.long.as.ModAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.10fc02.2: %Cpp.long.as.ModAssignWith.impl.Op.type.14b4d8.2 = struct_value () [concrete] -// CHECK:STDOUT: %ModAssignWith.facet.e3b: %ModAssignWith.type.20c = facet_value %Cpp.long, (%ModAssignWith.impl_witness.5ff) [concrete] -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.542: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%i32, %ModAssignWith.facet.e3b) [concrete] -// CHECK:STDOUT: %.950: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.542, %ModAssignWith.facet.e3b [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.specific_fn.ccc62b.1: = specific_function %Cpp.long.as.ModAssignWith.impl.Op.10fc02.2, @Cpp.long.as.ModAssignWith.impl.Op.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.specific_fn.ccc62b.2: = specific_function %Cpp.long.as.ModAssignWith.impl.Op.10fc02.1, @Cpp.long.as.ModAssignWith.impl.Op.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %BitAndAssignWith.type.824: type = facet_type <@BitAndAssignWith, @BitAndAssignWith(%i32)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.d6c142.1: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.1, @Cpp.long.as.BitAndAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.f5070e.1: %Cpp.long.as.BitAndAssignWith.impl.Op.type.d6c142.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.d6c142.2: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.2, @Cpp.long.as.BitAndAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.f5070e.2: %Cpp.long.as.BitAndAssignWith.impl.Op.type.d6c142.2 = struct_value () [symbolic] -// CHECK:STDOUT: %BitAndAssignWith.impl_witness.2b1: = impl_witness imports.%BitAndAssignWith.impl_witness_table.2bc, @Cpp.long.as.BitAndAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.798083.1: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.2, @Cpp.long.as.BitAndAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.907066.1: %Cpp.long.as.BitAndAssignWith.impl.Op.type.798083.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.798083.2: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.1, @Cpp.long.as.BitAndAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.907066.2: %Cpp.long.as.BitAndAssignWith.impl.Op.type.798083.2 = struct_value () [concrete] -// CHECK:STDOUT: %BitAndAssignWith.facet.1b6: %BitAndAssignWith.type.824 = facet_value %Cpp.long, (%BitAndAssignWith.impl_witness.2b1) [concrete] -// CHECK:STDOUT: %BitAndAssignWith.WithSelf.Op.type.391: type = fn_type @BitAndAssignWith.WithSelf.Op, @BitAndAssignWith.WithSelf(%i32, %BitAndAssignWith.facet.1b6) [concrete] -// CHECK:STDOUT: %.67f: type = fn_type_with_self_type %BitAndAssignWith.WithSelf.Op.type.391, %BitAndAssignWith.facet.1b6 [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.9db7b7.1: = specific_function %Cpp.long.as.BitAndAssignWith.impl.Op.907066.2, @Cpp.long.as.BitAndAssignWith.impl.Op.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.9db7b7.2: = specific_function %Cpp.long.as.BitAndAssignWith.impl.Op.907066.1, @Cpp.long.as.BitAndAssignWith.impl.Op.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %BitOrAssignWith.type.d21: type = facet_type <@BitOrAssignWith, @BitOrAssignWith(%i32)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.3fbd01.1: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.1, @Cpp.long.as.BitOrAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.90a9e4.1: %Cpp.long.as.BitOrAssignWith.impl.Op.type.3fbd01.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.3fbd01.2: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.2, @Cpp.long.as.BitOrAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.90a9e4.2: %Cpp.long.as.BitOrAssignWith.impl.Op.type.3fbd01.2 = struct_value () [symbolic] -// CHECK:STDOUT: %BitOrAssignWith.impl_witness.dc0: = impl_witness imports.%BitOrAssignWith.impl_witness_table.061, @Cpp.long.as.BitOrAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.03e327.1: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.2, @Cpp.long.as.BitOrAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.146196.1: %Cpp.long.as.BitOrAssignWith.impl.Op.type.03e327.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.03e327.2: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.1, @Cpp.long.as.BitOrAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.146196.2: %Cpp.long.as.BitOrAssignWith.impl.Op.type.03e327.2 = struct_value () [concrete] -// CHECK:STDOUT: %BitOrAssignWith.facet.605: %BitOrAssignWith.type.d21 = facet_value %Cpp.long, (%BitOrAssignWith.impl_witness.dc0) [concrete] -// CHECK:STDOUT: %BitOrAssignWith.WithSelf.Op.type.064: type = fn_type @BitOrAssignWith.WithSelf.Op, @BitOrAssignWith.WithSelf(%i32, %BitOrAssignWith.facet.605) [concrete] -// CHECK:STDOUT: %.9c9: type = fn_type_with_self_type %BitOrAssignWith.WithSelf.Op.type.064, %BitOrAssignWith.facet.605 [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.75c872.1: = specific_function %Cpp.long.as.BitOrAssignWith.impl.Op.146196.2, @Cpp.long.as.BitOrAssignWith.impl.Op.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.75c872.2: = specific_function %Cpp.long.as.BitOrAssignWith.impl.Op.146196.1, @Cpp.long.as.BitOrAssignWith.impl.Op.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %BitXorAssignWith.type.345: type = facet_type <@BitXorAssignWith, @BitXorAssignWith(%i32)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.dfbc19.1: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.1, @Cpp.long.as.BitXorAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.ee7339.1: %Cpp.long.as.BitXorAssignWith.impl.Op.type.dfbc19.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.dfbc19.2: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.2, @Cpp.long.as.BitXorAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.ee7339.2: %Cpp.long.as.BitXorAssignWith.impl.Op.type.dfbc19.2 = struct_value () [symbolic] -// CHECK:STDOUT: %BitXorAssignWith.impl_witness.81b: = impl_witness imports.%BitXorAssignWith.impl_witness_table.a67, @Cpp.long.as.BitXorAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.8687c0.1: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.2, @Cpp.long.as.BitXorAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.eb27d2.1: %Cpp.long.as.BitXorAssignWith.impl.Op.type.8687c0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.8687c0.2: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.1, @Cpp.long.as.BitXorAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.eb27d2.2: %Cpp.long.as.BitXorAssignWith.impl.Op.type.8687c0.2 = struct_value () [concrete] -// CHECK:STDOUT: %BitXorAssignWith.facet.54a: %BitXorAssignWith.type.345 = facet_value %Cpp.long, (%BitXorAssignWith.impl_witness.81b) [concrete] -// CHECK:STDOUT: %BitXorAssignWith.WithSelf.Op.type.c07: type = fn_type @BitXorAssignWith.WithSelf.Op, @BitXorAssignWith.WithSelf(%i32, %BitXorAssignWith.facet.54a) [concrete] -// CHECK:STDOUT: %.678: type = fn_type_with_self_type %BitXorAssignWith.WithSelf.Op.type.c07, %BitXorAssignWith.facet.54a [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.3f523c.1: = specific_function %Cpp.long.as.BitXorAssignWith.impl.Op.eb27d2.2, @Cpp.long.as.BitXorAssignWith.impl.Op.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.3f523c.2: = specific_function %Cpp.long.as.BitXorAssignWith.impl.Op.eb27d2.1, @Cpp.long.as.BitXorAssignWith.impl.Op.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.type.ec7: type = facet_type <@LeftShiftAssignWith, @LeftShiftAssignWith(%i32)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.e16838.1: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long.as.LeftShiftAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.a46dd3.1: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.e16838.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.e16838.2: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long.as.LeftShiftAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.a46dd3.2: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.e16838.2 = struct_value () [symbolic] -// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness.800: = impl_witness imports.%LeftShiftAssignWith.impl_witness_table.701, @Cpp.long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.118e18.1: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.5439dc.1: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.118e18.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.118e18.2: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.5439dc.2: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.118e18.2 = struct_value () [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.facet.d0b: %LeftShiftAssignWith.type.ec7 = facet_value %Cpp.long, (%LeftShiftAssignWith.impl_witness.800) [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.WithSelf.Op.type.855: type = fn_type @LeftShiftAssignWith.WithSelf.Op, @LeftShiftAssignWith.WithSelf(%i32, %LeftShiftAssignWith.facet.d0b) [concrete] -// CHECK:STDOUT: %.f16: type = fn_type_with_self_type %LeftShiftAssignWith.WithSelf.Op.type.855, %LeftShiftAssignWith.facet.d0b [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.e66ec3.1: = specific_function %Cpp.long.as.LeftShiftAssignWith.impl.Op.5439dc.2, @Cpp.long.as.LeftShiftAssignWith.impl.Op.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.e66ec3.2: = specific_function %Cpp.long.as.LeftShiftAssignWith.impl.Op.5439dc.1, @Cpp.long.as.LeftShiftAssignWith.impl.Op.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.type.dce: type = facet_type <@RightShiftAssignWith, @RightShiftAssignWith(%i32)> [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.70abaa.1: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long.as.RightShiftAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.ce64be.1: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.70abaa.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.70abaa.2: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long.as.RightShiftAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.ce64be.2: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.70abaa.2 = struct_value () [symbolic] -// CHECK:STDOUT: %RightShiftAssignWith.impl_witness.08a: = impl_witness imports.%RightShiftAssignWith.impl_witness_table.2cc, @Cpp.long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.37e340.1: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.be27dc.1: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.37e340.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.37e340.2: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.be27dc.2: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.37e340.2 = struct_value () [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.facet.01f: %RightShiftAssignWith.type.dce = facet_value %Cpp.long, (%RightShiftAssignWith.impl_witness.08a) [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.WithSelf.Op.type.fd7: type = fn_type @RightShiftAssignWith.WithSelf.Op, @RightShiftAssignWith.WithSelf(%i32, %RightShiftAssignWith.facet.01f) [concrete] -// CHECK:STDOUT: %.366: type = fn_type_with_self_type %RightShiftAssignWith.WithSelf.Op.type.fd7, %RightShiftAssignWith.facet.01f [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.94adda.1: = specific_function %Cpp.long.as.RightShiftAssignWith.impl.Op.be27dc.2, @Cpp.long.as.RightShiftAssignWith.impl.Op.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.94adda.2: = specific_function %Cpp.long.as.RightShiftAssignWith.impl.Op.be27dc.1, @Cpp.long.as.RightShiftAssignWith.impl.Op.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %SubAssignWith.type.227: type = facet_type <@SubAssignWith, @SubAssignWith(%i32)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.e6fddb.1: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.1, @Cpp.long.as.SubAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.d98f7d.1: %Cpp.long.as.SubAssignWith.impl.Op.type.e6fddb.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.e6fddb.2: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.2, @Cpp.long.as.SubAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.d98f7d.2: %Cpp.long.as.SubAssignWith.impl.Op.type.e6fddb.2 = struct_value () [symbolic] +// CHECK:STDOUT: %SubAssignWith.impl_witness.f18: = impl_witness imports.%SubAssignWith.impl_witness_table.c70, @Cpp.long.as.SubAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.df5f14.1: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.2, @Cpp.long.as.SubAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.0d59b4.1: %Cpp.long.as.SubAssignWith.impl.Op.type.df5f14.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.type.df5f14.2: type = fn_type @Cpp.long.as.SubAssignWith.impl.Op.1, @Cpp.long.as.SubAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.0d59b4.2: %Cpp.long.as.SubAssignWith.impl.Op.type.df5f14.2 = struct_value () [concrete] +// CHECK:STDOUT: %SubAssignWith.facet.a58: %SubAssignWith.type.227 = facet_value %Cpp.long, (%SubAssignWith.impl_witness.f18) [concrete] +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.5bc: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%i32, %SubAssignWith.facet.a58) [concrete] +// CHECK:STDOUT: %.1e1: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.5bc, %SubAssignWith.facet.a58 [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.specific_fn.de7e80.1: = specific_function %Cpp.long.as.SubAssignWith.impl.Op.0d59b4.2, @Cpp.long.as.SubAssignWith.impl.Op.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.specific_fn.de7e80.2: = specific_function %Cpp.long.as.SubAssignWith.impl.Op.0d59b4.1, @Cpp.long.as.SubAssignWith.impl.Op.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %MulAssignWith.type.e08: type = facet_type <@MulAssignWith, @MulAssignWith(%i32)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.9be123.1: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.1, @Cpp.long.as.MulAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.4d4f44.1: %Cpp.long.as.MulAssignWith.impl.Op.type.9be123.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.9be123.2: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.2, @Cpp.long.as.MulAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.4d4f44.2: %Cpp.long.as.MulAssignWith.impl.Op.type.9be123.2 = struct_value () [symbolic] +// CHECK:STDOUT: %MulAssignWith.impl_witness.19a: = impl_witness imports.%MulAssignWith.impl_witness_table.511, @Cpp.long.as.MulAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.779f22.1: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.2, @Cpp.long.as.MulAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.5c5e76.1: %Cpp.long.as.MulAssignWith.impl.Op.type.779f22.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.type.779f22.2: type = fn_type @Cpp.long.as.MulAssignWith.impl.Op.1, @Cpp.long.as.MulAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.5c5e76.2: %Cpp.long.as.MulAssignWith.impl.Op.type.779f22.2 = struct_value () [concrete] +// CHECK:STDOUT: %MulAssignWith.facet.b4d: %MulAssignWith.type.e08 = facet_value %Cpp.long, (%MulAssignWith.impl_witness.19a) [concrete] +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.5e3: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%i32, %MulAssignWith.facet.b4d) [concrete] +// CHECK:STDOUT: %.cc6: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.5e3, %MulAssignWith.facet.b4d [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.specific_fn.d36f7a.1: = specific_function %Cpp.long.as.MulAssignWith.impl.Op.5c5e76.2, @Cpp.long.as.MulAssignWith.impl.Op.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.specific_fn.d36f7a.2: = specific_function %Cpp.long.as.MulAssignWith.impl.Op.5c5e76.1, @Cpp.long.as.MulAssignWith.impl.Op.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %DivAssignWith.type.1e4: type = facet_type <@DivAssignWith, @DivAssignWith(%i32)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.109ac5.1: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.1, @Cpp.long.as.DivAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.b4447c.1: %Cpp.long.as.DivAssignWith.impl.Op.type.109ac5.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.109ac5.2: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.2, @Cpp.long.as.DivAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.b4447c.2: %Cpp.long.as.DivAssignWith.impl.Op.type.109ac5.2 = struct_value () [symbolic] +// CHECK:STDOUT: %DivAssignWith.impl_witness.5ea: = impl_witness imports.%DivAssignWith.impl_witness_table.b74, @Cpp.long.as.DivAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.a25461.1: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.2, @Cpp.long.as.DivAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.898613.1: %Cpp.long.as.DivAssignWith.impl.Op.type.a25461.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.type.a25461.2: type = fn_type @Cpp.long.as.DivAssignWith.impl.Op.1, @Cpp.long.as.DivAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.898613.2: %Cpp.long.as.DivAssignWith.impl.Op.type.a25461.2 = struct_value () [concrete] +// CHECK:STDOUT: %DivAssignWith.facet.7f9: %DivAssignWith.type.1e4 = facet_value %Cpp.long, (%DivAssignWith.impl_witness.5ea) [concrete] +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.597: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%i32, %DivAssignWith.facet.7f9) [concrete] +// CHECK:STDOUT: %.880: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.597, %DivAssignWith.facet.7f9 [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.specific_fn.bac757.1: = specific_function %Cpp.long.as.DivAssignWith.impl.Op.898613.2, @Cpp.long.as.DivAssignWith.impl.Op.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.specific_fn.bac757.2: = specific_function %Cpp.long.as.DivAssignWith.impl.Op.898613.1, @Cpp.long.as.DivAssignWith.impl.Op.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %ModAssignWith.type.4f9: type = facet_type <@ModAssignWith, @ModAssignWith(%i32)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.e961bf.1: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.1, @Cpp.long.as.ModAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.ff452e.1: %Cpp.long.as.ModAssignWith.impl.Op.type.e961bf.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.e961bf.2: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.2, @Cpp.long.as.ModAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.ff452e.2: %Cpp.long.as.ModAssignWith.impl.Op.type.e961bf.2 = struct_value () [symbolic] +// CHECK:STDOUT: %ModAssignWith.impl_witness.866: = impl_witness imports.%ModAssignWith.impl_witness_table.fb8, @Cpp.long.as.ModAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.fbd100.1: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.2, @Cpp.long.as.ModAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.970296.1: %Cpp.long.as.ModAssignWith.impl.Op.type.fbd100.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.type.fbd100.2: type = fn_type @Cpp.long.as.ModAssignWith.impl.Op.1, @Cpp.long.as.ModAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.970296.2: %Cpp.long.as.ModAssignWith.impl.Op.type.fbd100.2 = struct_value () [concrete] +// CHECK:STDOUT: %ModAssignWith.facet.159: %ModAssignWith.type.4f9 = facet_value %Cpp.long, (%ModAssignWith.impl_witness.866) [concrete] +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.031: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%i32, %ModAssignWith.facet.159) [concrete] +// CHECK:STDOUT: %.3ec: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.031, %ModAssignWith.facet.159 [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.specific_fn.acff4e.1: = specific_function %Cpp.long.as.ModAssignWith.impl.Op.970296.2, @Cpp.long.as.ModAssignWith.impl.Op.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.specific_fn.acff4e.2: = specific_function %Cpp.long.as.ModAssignWith.impl.Op.970296.1, @Cpp.long.as.ModAssignWith.impl.Op.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %BitAndAssignWith.type.e52: type = facet_type <@BitAndAssignWith, @BitAndAssignWith(%i32)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f954e6.1: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.1, @Cpp.long.as.BitAndAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.b72f56.1: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f954e6.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f954e6.2: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.2, @Cpp.long.as.BitAndAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.b72f56.2: %Cpp.long.as.BitAndAssignWith.impl.Op.type.f954e6.2 = struct_value () [symbolic] +// CHECK:STDOUT: %BitAndAssignWith.impl_witness.a7a: = impl_witness imports.%BitAndAssignWith.impl_witness_table.38e, @Cpp.long.as.BitAndAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.cbeec5.1: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.2, @Cpp.long.as.BitAndAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.116220.1: %Cpp.long.as.BitAndAssignWith.impl.Op.type.cbeec5.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.type.cbeec5.2: type = fn_type @Cpp.long.as.BitAndAssignWith.impl.Op.1, @Cpp.long.as.BitAndAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.116220.2: %Cpp.long.as.BitAndAssignWith.impl.Op.type.cbeec5.2 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndAssignWith.facet.241: %BitAndAssignWith.type.e52 = facet_value %Cpp.long, (%BitAndAssignWith.impl_witness.a7a) [concrete] +// CHECK:STDOUT: %BitAndAssignWith.WithSelf.Op.type.45a: type = fn_type @BitAndAssignWith.WithSelf.Op, @BitAndAssignWith.WithSelf(%i32, %BitAndAssignWith.facet.241) [concrete] +// CHECK:STDOUT: %.345: type = fn_type_with_self_type %BitAndAssignWith.WithSelf.Op.type.45a, %BitAndAssignWith.facet.241 [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.324142.1: = specific_function %Cpp.long.as.BitAndAssignWith.impl.Op.116220.2, @Cpp.long.as.BitAndAssignWith.impl.Op.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.324142.2: = specific_function %Cpp.long.as.BitAndAssignWith.impl.Op.116220.1, @Cpp.long.as.BitAndAssignWith.impl.Op.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %BitOrAssignWith.type.db1: type = facet_type <@BitOrAssignWith, @BitOrAssignWith(%i32)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.186a1d.1: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.1, @Cpp.long.as.BitOrAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.169685.1: %Cpp.long.as.BitOrAssignWith.impl.Op.type.186a1d.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.186a1d.2: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.2, @Cpp.long.as.BitOrAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.169685.2: %Cpp.long.as.BitOrAssignWith.impl.Op.type.186a1d.2 = struct_value () [symbolic] +// CHECK:STDOUT: %BitOrAssignWith.impl_witness.4c0: = impl_witness imports.%BitOrAssignWith.impl_witness_table.033, @Cpp.long.as.BitOrAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.1d56d4.1: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.2, @Cpp.long.as.BitOrAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.9f5cee.1: %Cpp.long.as.BitOrAssignWith.impl.Op.type.1d56d4.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.type.1d56d4.2: type = fn_type @Cpp.long.as.BitOrAssignWith.impl.Op.1, @Cpp.long.as.BitOrAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.9f5cee.2: %Cpp.long.as.BitOrAssignWith.impl.Op.type.1d56d4.2 = struct_value () [concrete] +// CHECK:STDOUT: %BitOrAssignWith.facet.a3f: %BitOrAssignWith.type.db1 = facet_value %Cpp.long, (%BitOrAssignWith.impl_witness.4c0) [concrete] +// CHECK:STDOUT: %BitOrAssignWith.WithSelf.Op.type.02c: type = fn_type @BitOrAssignWith.WithSelf.Op, @BitOrAssignWith.WithSelf(%i32, %BitOrAssignWith.facet.a3f) [concrete] +// CHECK:STDOUT: %.490: type = fn_type_with_self_type %BitOrAssignWith.WithSelf.Op.type.02c, %BitOrAssignWith.facet.a3f [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.e27b36.1: = specific_function %Cpp.long.as.BitOrAssignWith.impl.Op.9f5cee.2, @Cpp.long.as.BitOrAssignWith.impl.Op.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.e27b36.2: = specific_function %Cpp.long.as.BitOrAssignWith.impl.Op.9f5cee.1, @Cpp.long.as.BitOrAssignWith.impl.Op.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %BitXorAssignWith.type.fae: type = facet_type <@BitXorAssignWith, @BitXorAssignWith(%i32)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.cdf2c9.1: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.1, @Cpp.long.as.BitXorAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.583c20.1: %Cpp.long.as.BitXorAssignWith.impl.Op.type.cdf2c9.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.cdf2c9.2: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.2, @Cpp.long.as.BitXorAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.583c20.2: %Cpp.long.as.BitXorAssignWith.impl.Op.type.cdf2c9.2 = struct_value () [symbolic] +// CHECK:STDOUT: %BitXorAssignWith.impl_witness.f5d: = impl_witness imports.%BitXorAssignWith.impl_witness_table.443, @Cpp.long.as.BitXorAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.ef9e9f.1: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.2, @Cpp.long.as.BitXorAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.fb73fa.1: %Cpp.long.as.BitXorAssignWith.impl.Op.type.ef9e9f.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.type.ef9e9f.2: type = fn_type @Cpp.long.as.BitXorAssignWith.impl.Op.1, @Cpp.long.as.BitXorAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.fb73fa.2: %Cpp.long.as.BitXorAssignWith.impl.Op.type.ef9e9f.2 = struct_value () [concrete] +// CHECK:STDOUT: %BitXorAssignWith.facet.947: %BitXorAssignWith.type.fae = facet_value %Cpp.long, (%BitXorAssignWith.impl_witness.f5d) [concrete] +// CHECK:STDOUT: %BitXorAssignWith.WithSelf.Op.type.14b: type = fn_type @BitXorAssignWith.WithSelf.Op, @BitXorAssignWith.WithSelf(%i32, %BitXorAssignWith.facet.947) [concrete] +// CHECK:STDOUT: %.87e: type = fn_type_with_self_type %BitXorAssignWith.WithSelf.Op.type.14b, %BitXorAssignWith.facet.947 [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.6900f6.1: = specific_function %Cpp.long.as.BitXorAssignWith.impl.Op.fb73fa.2, @Cpp.long.as.BitXorAssignWith.impl.Op.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.6900f6.2: = specific_function %Cpp.long.as.BitXorAssignWith.impl.Op.fb73fa.1, @Cpp.long.as.BitXorAssignWith.impl.Op.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.type.8b2: type = facet_type <@LeftShiftAssignWith, @LeftShiftAssignWith(%i32)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.50a853.1: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long.as.LeftShiftAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.2764b8.1: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.50a853.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.50a853.2: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long.as.LeftShiftAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.2764b8.2: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.50a853.2 = struct_value () [symbolic] +// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness.aae: = impl_witness imports.%LeftShiftAssignWith.impl_witness_table.89e, @Cpp.long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.bed071.1: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.a3f1fe.1: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.bed071.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.bed071.2: type = fn_type @Cpp.long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.a3f1fe.2: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.bed071.2 = struct_value () [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.facet.518: %LeftShiftAssignWith.type.8b2 = facet_value %Cpp.long, (%LeftShiftAssignWith.impl_witness.aae) [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.WithSelf.Op.type.386: type = fn_type @LeftShiftAssignWith.WithSelf.Op, @LeftShiftAssignWith.WithSelf(%i32, %LeftShiftAssignWith.facet.518) [concrete] +// CHECK:STDOUT: %.2ae: type = fn_type_with_self_type %LeftShiftAssignWith.WithSelf.Op.type.386, %LeftShiftAssignWith.facet.518 [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.207d23.1: = specific_function %Cpp.long.as.LeftShiftAssignWith.impl.Op.a3f1fe.2, @Cpp.long.as.LeftShiftAssignWith.impl.Op.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.207d23.2: = specific_function %Cpp.long.as.LeftShiftAssignWith.impl.Op.a3f1fe.1, @Cpp.long.as.LeftShiftAssignWith.impl.Op.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.type.62d: type = facet_type <@RightShiftAssignWith, @RightShiftAssignWith(%i32)> [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.053d7a.1: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long.as.RightShiftAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.723f9d.1: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.053d7a.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.053d7a.2: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long.as.RightShiftAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.723f9d.2: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.053d7a.2 = struct_value () [symbolic] +// CHECK:STDOUT: %RightShiftAssignWith.impl_witness.20f: = impl_witness imports.%RightShiftAssignWith.impl_witness_table.eba, @Cpp.long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.40d73d.1: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.07491d.1: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.40d73d.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.40d73d.2: type = fn_type @Cpp.long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.07491d.2: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.40d73d.2 = struct_value () [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.facet.a755: %RightShiftAssignWith.type.62d = facet_value %Cpp.long, (%RightShiftAssignWith.impl_witness.20f) [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.WithSelf.Op.type.318: type = fn_type @RightShiftAssignWith.WithSelf.Op, @RightShiftAssignWith.WithSelf(%i32, %RightShiftAssignWith.facet.a755) [concrete] +// CHECK:STDOUT: %.585: type = fn_type_with_self_type %RightShiftAssignWith.WithSelf.Op.type.318, %RightShiftAssignWith.facet.a755 [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.d8b850.1: = specific_function %Cpp.long.as.RightShiftAssignWith.impl.Op.07491d.2, @Cpp.long.as.RightShiftAssignWith.impl.Op.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.d8b850.2: = specific_function %Cpp.long.as.RightShiftAssignWith.impl.Op.07491d.1, @Cpp.long.as.RightShiftAssignWith.impl.Op.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3230,55 +3230,55 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .long = constants.%Cpp.long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b339.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.15d = impl_witness_table (%Core.import_ref.67b339.1), @Core.IntLiteral.as.ImplicitAs.impl.52f [concrete] -// CHECK:STDOUT: %Core.import_ref.6d6: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long.as.AddAssignWith.impl.Op.402bbb.1)] -// CHECK:STDOUT: %AddAssignWith.impl_witness_table.eb4 = impl_witness_table (%Core.import_ref.6d6), @Cpp.long.as.AddAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.18c: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long.as.AddAssignWith.impl.Op.402bbb.2)] -// CHECK:STDOUT: %Core.import_ref.67b339.2: %i32.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.f44 = impl_witness_table (%Core.import_ref.67b339.2), @i32.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.6c1: @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.type.2 (%Cpp.long.as.SubAssignWith.impl.Op.type.240aad.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.2 (constants.%Cpp.long.as.SubAssignWith.impl.Op.c9b94b.1)] -// CHECK:STDOUT: %SubAssignWith.impl_witness_table.917 = impl_witness_table (%Core.import_ref.6c1), @Cpp.long.as.SubAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.3d5a: @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.type.1 (%Cpp.long.as.SubAssignWith.impl.Op.type.240aad.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.1 (constants.%Cpp.long.as.SubAssignWith.impl.Op.c9b94b.2)] -// CHECK:STDOUT: %Core.import_ref.420: @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.type.2 (%Cpp.long.as.MulAssignWith.impl.Op.type.ead7c1.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.2 (constants.%Cpp.long.as.MulAssignWith.impl.Op.0ef7e5.1)] -// CHECK:STDOUT: %MulAssignWith.impl_witness_table.d52 = impl_witness_table (%Core.import_ref.420), @Cpp.long.as.MulAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.2af: @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.type.1 (%Cpp.long.as.MulAssignWith.impl.Op.type.ead7c1.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.1 (constants.%Cpp.long.as.MulAssignWith.impl.Op.0ef7e5.2)] -// CHECK:STDOUT: %Core.import_ref.765: @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.type.2 (%Cpp.long.as.DivAssignWith.impl.Op.type.63303a.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.2 (constants.%Cpp.long.as.DivAssignWith.impl.Op.69d87d.1)] -// CHECK:STDOUT: %DivAssignWith.impl_witness_table.293 = impl_witness_table (%Core.import_ref.765), @Cpp.long.as.DivAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.1d5: @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.type.1 (%Cpp.long.as.DivAssignWith.impl.Op.type.63303a.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.1 (constants.%Cpp.long.as.DivAssignWith.impl.Op.69d87d.2)] -// CHECK:STDOUT: %Core.import_ref.b5c: @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.type.2 (%Cpp.long.as.ModAssignWith.impl.Op.type.48d732.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.2 (constants.%Cpp.long.as.ModAssignWith.impl.Op.ce0108.1)] -// CHECK:STDOUT: %ModAssignWith.impl_witness_table.80e = impl_witness_table (%Core.import_ref.b5c), @Cpp.long.as.ModAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.048: @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.type.1 (%Cpp.long.as.ModAssignWith.impl.Op.type.48d732.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.1 (constants.%Cpp.long.as.ModAssignWith.impl.Op.ce0108.2)] -// CHECK:STDOUT: %Core.import_ref.b99: @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.type.2 (%Cpp.long.as.BitAndAssignWith.impl.Op.type.d6c142.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.2 (constants.%Cpp.long.as.BitAndAssignWith.impl.Op.f5070e.1)] -// CHECK:STDOUT: %BitAndAssignWith.impl_witness_table.2bc = impl_witness_table (%Core.import_ref.b99), @Cpp.long.as.BitAndAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.293: @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.type.1 (%Cpp.long.as.BitAndAssignWith.impl.Op.type.d6c142.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.1 (constants.%Cpp.long.as.BitAndAssignWith.impl.Op.f5070e.2)] -// CHECK:STDOUT: %Core.import_ref.a29: @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.type.2 (%Cpp.long.as.BitOrAssignWith.impl.Op.type.3fbd01.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.2 (constants.%Cpp.long.as.BitOrAssignWith.impl.Op.90a9e4.1)] -// CHECK:STDOUT: %BitOrAssignWith.impl_witness_table.061 = impl_witness_table (%Core.import_ref.a29), @Cpp.long.as.BitOrAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.542: @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.type.1 (%Cpp.long.as.BitOrAssignWith.impl.Op.type.3fbd01.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.1 (constants.%Cpp.long.as.BitOrAssignWith.impl.Op.90a9e4.2)] -// CHECK:STDOUT: %Core.import_ref.78d: @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.type.2 (%Cpp.long.as.BitXorAssignWith.impl.Op.type.dfbc19.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.2 (constants.%Cpp.long.as.BitXorAssignWith.impl.Op.ee7339.1)] -// CHECK:STDOUT: %BitXorAssignWith.impl_witness_table.a67 = impl_witness_table (%Core.import_ref.78d), @Cpp.long.as.BitXorAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.2f0: @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.type.1 (%Cpp.long.as.BitXorAssignWith.impl.Op.type.dfbc19.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.1 (constants.%Cpp.long.as.BitXorAssignWith.impl.Op.ee7339.2)] -// CHECK:STDOUT: %Core.import_ref.29f: @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.2 (%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.e16838.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.2 (constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.a46dd3.1)] -// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness_table.701 = impl_witness_table (%Core.import_ref.29f), @Cpp.long.as.LeftShiftAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.a0c: @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.1 (%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.e16838.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.1 (constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.a46dd3.2)] -// CHECK:STDOUT: %Core.import_ref.3e4: @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.type.2 (%Cpp.long.as.RightShiftAssignWith.impl.Op.type.70abaa.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.2 (constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.ce64be.1)] -// CHECK:STDOUT: %RightShiftAssignWith.impl_witness_table.2cc = impl_witness_table (%Core.import_ref.3e4), @Cpp.long.as.RightShiftAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.5ce: @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.type.1 (%Cpp.long.as.RightShiftAssignWith.impl.Op.type.70abaa.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.1 (constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.ce64be.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.293 = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.ImplicitAs.impl.ec9 [concrete] +// CHECK:STDOUT: %Core.import_ref.1d2: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long.as.AddAssignWith.impl.Op.c37e49.1)] +// CHECK:STDOUT: %AddAssignWith.impl_witness_table.d4d = impl_witness_table (%Core.import_ref.1d2), @Cpp.long.as.AddAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.e4e: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long.as.AddAssignWith.impl.Op.c37e49.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %i32.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.29c = impl_witness_table (%Core.import_ref.adef5f.2), @i32.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1bc: @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.type.2 (%Cpp.long.as.SubAssignWith.impl.Op.type.e6fddb.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.2 (constants.%Cpp.long.as.SubAssignWith.impl.Op.d98f7d.1)] +// CHECK:STDOUT: %SubAssignWith.impl_witness_table.c70 = impl_witness_table (%Core.import_ref.1bc), @Cpp.long.as.SubAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.792: @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.type.1 (%Cpp.long.as.SubAssignWith.impl.Op.type.e6fddb.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.SubAssignWith.impl.%Cpp.long.as.SubAssignWith.impl.Op.1 (constants.%Cpp.long.as.SubAssignWith.impl.Op.d98f7d.2)] +// CHECK:STDOUT: %Core.import_ref.ae2: @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.type.2 (%Cpp.long.as.MulAssignWith.impl.Op.type.9be123.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.2 (constants.%Cpp.long.as.MulAssignWith.impl.Op.4d4f44.1)] +// CHECK:STDOUT: %MulAssignWith.impl_witness_table.511 = impl_witness_table (%Core.import_ref.ae2), @Cpp.long.as.MulAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.b40: @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.type.1 (%Cpp.long.as.MulAssignWith.impl.Op.type.9be123.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.MulAssignWith.impl.%Cpp.long.as.MulAssignWith.impl.Op.1 (constants.%Cpp.long.as.MulAssignWith.impl.Op.4d4f44.2)] +// CHECK:STDOUT: %Core.import_ref.49d: @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.type.2 (%Cpp.long.as.DivAssignWith.impl.Op.type.109ac5.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.2 (constants.%Cpp.long.as.DivAssignWith.impl.Op.b4447c.1)] +// CHECK:STDOUT: %DivAssignWith.impl_witness_table.b74 = impl_witness_table (%Core.import_ref.49d), @Cpp.long.as.DivAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.6ac: @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.type.1 (%Cpp.long.as.DivAssignWith.impl.Op.type.109ac5.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.DivAssignWith.impl.%Cpp.long.as.DivAssignWith.impl.Op.1 (constants.%Cpp.long.as.DivAssignWith.impl.Op.b4447c.2)] +// CHECK:STDOUT: %Core.import_ref.faa: @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.type.2 (%Cpp.long.as.ModAssignWith.impl.Op.type.e961bf.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.2 (constants.%Cpp.long.as.ModAssignWith.impl.Op.ff452e.1)] +// CHECK:STDOUT: %ModAssignWith.impl_witness_table.fb8 = impl_witness_table (%Core.import_ref.faa), @Cpp.long.as.ModAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.264: @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.type.1 (%Cpp.long.as.ModAssignWith.impl.Op.type.e961bf.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.ModAssignWith.impl.%Cpp.long.as.ModAssignWith.impl.Op.1 (constants.%Cpp.long.as.ModAssignWith.impl.Op.ff452e.2)] +// CHECK:STDOUT: %Core.import_ref.df6: @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.type.2 (%Cpp.long.as.BitAndAssignWith.impl.Op.type.f954e6.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.2 (constants.%Cpp.long.as.BitAndAssignWith.impl.Op.b72f56.1)] +// CHECK:STDOUT: %BitAndAssignWith.impl_witness_table.38e = impl_witness_table (%Core.import_ref.df6), @Cpp.long.as.BitAndAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.27c: @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.type.1 (%Cpp.long.as.BitAndAssignWith.impl.Op.type.f954e6.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.BitAndAssignWith.impl.%Cpp.long.as.BitAndAssignWith.impl.Op.1 (constants.%Cpp.long.as.BitAndAssignWith.impl.Op.b72f56.2)] +// CHECK:STDOUT: %Core.import_ref.c64: @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.type.2 (%Cpp.long.as.BitOrAssignWith.impl.Op.type.186a1d.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.2 (constants.%Cpp.long.as.BitOrAssignWith.impl.Op.169685.1)] +// CHECK:STDOUT: %BitOrAssignWith.impl_witness_table.033 = impl_witness_table (%Core.import_ref.c64), @Cpp.long.as.BitOrAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.dda: @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.type.1 (%Cpp.long.as.BitOrAssignWith.impl.Op.type.186a1d.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.BitOrAssignWith.impl.%Cpp.long.as.BitOrAssignWith.impl.Op.1 (constants.%Cpp.long.as.BitOrAssignWith.impl.Op.169685.2)] +// CHECK:STDOUT: %Core.import_ref.ac7: @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.type.2 (%Cpp.long.as.BitXorAssignWith.impl.Op.type.cdf2c9.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.2 (constants.%Cpp.long.as.BitXorAssignWith.impl.Op.583c20.1)] +// CHECK:STDOUT: %BitXorAssignWith.impl_witness_table.443 = impl_witness_table (%Core.import_ref.ac7), @Cpp.long.as.BitXorAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.c2e: @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.type.1 (%Cpp.long.as.BitXorAssignWith.impl.Op.type.cdf2c9.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.BitXorAssignWith.impl.%Cpp.long.as.BitXorAssignWith.impl.Op.1 (constants.%Cpp.long.as.BitXorAssignWith.impl.Op.583c20.2)] +// CHECK:STDOUT: %Core.import_ref.0b9: @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.2 (%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.50a853.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.2 (constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.2764b8.1)] +// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness_table.89e = impl_witness_table (%Core.import_ref.0b9), @Cpp.long.as.LeftShiftAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.e49: @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.1 (%Cpp.long.as.LeftShiftAssignWith.impl.Op.type.50a853.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.LeftShiftAssignWith.impl.%Cpp.long.as.LeftShiftAssignWith.impl.Op.1 (constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.2764b8.2)] +// CHECK:STDOUT: %Core.import_ref.8a6: @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.type.2 (%Cpp.long.as.RightShiftAssignWith.impl.Op.type.053d7a.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.2 (constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.723f9d.1)] +// CHECK:STDOUT: %RightShiftAssignWith.impl_witness_table.eba = impl_witness_table (%Core.import_ref.8a6), @Cpp.long.as.RightShiftAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.d53: @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.type.1 (%Cpp.long.as.RightShiftAssignWith.impl.Op.type.053d7a.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.RightShiftAssignWith.impl.%Cpp.long.as.RightShiftAssignWith.impl.Op.1 (constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.723f9d.2)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CompoundAssignmentLongAndI32() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.3c3 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.3c3 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.83e = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.83e = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.long = var %a.var_patt // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc9: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc9: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc9: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc9_3: init %Cpp.long = converted %int_1.loc9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc9_3: init %Cpp.long = converted %int_1.loc9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: assign %a.var, %.loc9_3 // CHECK:STDOUT: %.loc9_13: type = splice_block %long.ref [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -3287,18 +3287,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %a: ref %Cpp.long = ref_binding a, %a.var // CHECK:STDOUT: %a.ref.loc10: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc10: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc10_5: %.aac2 = impl_witness_access constants.%AddAssignWith.impl_witness.55d, element0 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.90936b.2] +// CHECK:STDOUT: %impl.elem0.loc10_5: %.72d = impl_witness_access constants.%AddAssignWith.impl_witness.129, element0 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.2] // CHECK:STDOUT: %bound_method.loc10_5.1: = bound_method %a.ref.loc10, %impl.elem0.loc10_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc10: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc10_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc10 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @Cpp.long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.00ee3f.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc10: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc10_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc10 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @Cpp.long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.548e6a.1] // CHECK:STDOUT: %bound_method.loc10_5.2: = bound_method %a.ref.loc10, %specific_fn.loc10 -// CHECK:STDOUT: %.loc10_5.2: %Cpp.long.as.AddAssignWith.impl.Op.type.df4b7b.1 = specific_constant imports.%Core.Op.18c, @Cpp.long.as.AddAssignWith.impl(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.90936b.1] -// CHECK:STDOUT: %Op.ref.loc10: %Cpp.long.as.AddAssignWith.impl.Op.type.df4b7b.1 = name_ref Op, %.loc10_5.2 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.90936b.1] +// CHECK:STDOUT: %.loc10_5.2: %Cpp.long.as.AddAssignWith.impl.Op.type.69179c.1 = specific_constant imports.%Core.Op.e4e, @Cpp.long.as.AddAssignWith.impl(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.1] +// CHECK:STDOUT: %Op.ref.loc10: %Cpp.long.as.AddAssignWith.impl.Op.type.69179c.1 = name_ref Op, %.loc10_5.2 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.1] // CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.bound: = bound_method %a.ref.loc10, %Op.ref.loc10 -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc10, @Cpp.long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.00ee3f.2] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc10, @Cpp.long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.548e6a.2] // CHECK:STDOUT: %bound_method.loc10_5.3: = bound_method %a.ref.loc10, %Cpp.long.as.AddAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc10_8: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc10_8: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc10_8: = bound_method %b.ref.loc10, %impl.elem0.loc10_8 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc10: init %Cpp.long = call %bound_method.loc10_8(%b.ref.loc10) // CHECK:STDOUT: %.loc10_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc10 @@ -3306,18 +3306,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc10_5.3(%a.ref.loc10, %.loc10_8.2) // CHECK:STDOUT: %a.ref.loc11: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc11: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc11_5: %.818 = impl_witness_access constants.%SubAssignWith.impl_witness.bdc, element0 [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.7b52c6.2] +// CHECK:STDOUT: %impl.elem0.loc11_5: %.1e1 = impl_witness_access constants.%SubAssignWith.impl_witness.f18, element0 [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.0d59b4.2] // CHECK:STDOUT: %bound_method.loc11_5.1: = bound_method %a.ref.loc11, %impl.elem0.loc11_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc11: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc11_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc11 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem0.loc11_5, @Cpp.long.as.SubAssignWith.impl.Op.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.specific_fn.791990.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc11: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc11_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc11 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem0.loc11_5, @Cpp.long.as.SubAssignWith.impl.Op.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.specific_fn.de7e80.1] // CHECK:STDOUT: %bound_method.loc11_5.2: = bound_method %a.ref.loc11, %specific_fn.loc11 -// CHECK:STDOUT: %.loc11_5.2: %Cpp.long.as.SubAssignWith.impl.Op.type.619c41.1 = specific_constant imports.%Core.Op.3d5a, @Cpp.long.as.SubAssignWith.impl(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.7b52c6.1] -// CHECK:STDOUT: %Op.ref.loc11: %Cpp.long.as.SubAssignWith.impl.Op.type.619c41.1 = name_ref Op, %.loc11_5.2 [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.7b52c6.1] +// CHECK:STDOUT: %.loc11_5.2: %Cpp.long.as.SubAssignWith.impl.Op.type.df5f14.1 = specific_constant imports.%Core.Op.792, @Cpp.long.as.SubAssignWith.impl(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.0d59b4.1] +// CHECK:STDOUT: %Op.ref.loc11: %Cpp.long.as.SubAssignWith.impl.Op.type.df5f14.1 = name_ref Op, %.loc11_5.2 [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.0d59b4.1] // CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.bound: = bound_method %a.ref.loc11, %Op.ref.loc11 -// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc11, @Cpp.long.as.SubAssignWith.impl.Op.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.specific_fn.791990.2] +// CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc11, @Cpp.long.as.SubAssignWith.impl.Op.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.SubAssignWith.impl.Op.specific_fn.de7e80.2] // CHECK:STDOUT: %bound_method.loc11_5.3: = bound_method %a.ref.loc11, %Cpp.long.as.SubAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc11_8: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc11_8: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc11_8: = bound_method %b.ref.loc11, %impl.elem0.loc11_8 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc11: init %Cpp.long = call %bound_method.loc11_8(%b.ref.loc11) // CHECK:STDOUT: %.loc11_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc11 @@ -3325,18 +3325,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.SubAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc11_5.3(%a.ref.loc11, %.loc11_8.2) // CHECK:STDOUT: %a.ref.loc12: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc12: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc12_5: %.9b8 = impl_witness_access constants.%MulAssignWith.impl_witness.992, element0 [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.1004a7.2] +// CHECK:STDOUT: %impl.elem0.loc12_5: %.cc6 = impl_witness_access constants.%MulAssignWith.impl_witness.19a, element0 [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.5c5e76.2] // CHECK:STDOUT: %bound_method.loc12_5.1: = bound_method %a.ref.loc12, %impl.elem0.loc12_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc12: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc12_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc12 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem0.loc12_5, @Cpp.long.as.MulAssignWith.impl.Op.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.specific_fn.c718b9.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc12: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc12_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc12 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem0.loc12_5, @Cpp.long.as.MulAssignWith.impl.Op.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.specific_fn.d36f7a.1] // CHECK:STDOUT: %bound_method.loc12_5.2: = bound_method %a.ref.loc12, %specific_fn.loc12 -// CHECK:STDOUT: %.loc12_5.2: %Cpp.long.as.MulAssignWith.impl.Op.type.3f3f1f.1 = specific_constant imports.%Core.Op.2af, @Cpp.long.as.MulAssignWith.impl(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.1004a7.1] -// CHECK:STDOUT: %Op.ref.loc12: %Cpp.long.as.MulAssignWith.impl.Op.type.3f3f1f.1 = name_ref Op, %.loc12_5.2 [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.1004a7.1] +// CHECK:STDOUT: %.loc12_5.2: %Cpp.long.as.MulAssignWith.impl.Op.type.779f22.1 = specific_constant imports.%Core.Op.b40, @Cpp.long.as.MulAssignWith.impl(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.5c5e76.1] +// CHECK:STDOUT: %Op.ref.loc12: %Cpp.long.as.MulAssignWith.impl.Op.type.779f22.1 = name_ref Op, %.loc12_5.2 [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.5c5e76.1] // CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.bound: = bound_method %a.ref.loc12, %Op.ref.loc12 -// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc12, @Cpp.long.as.MulAssignWith.impl.Op.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.specific_fn.c718b9.2] +// CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc12, @Cpp.long.as.MulAssignWith.impl.Op.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.MulAssignWith.impl.Op.specific_fn.d36f7a.2] // CHECK:STDOUT: %bound_method.loc12_5.3: = bound_method %a.ref.loc12, %Cpp.long.as.MulAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc12_8: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc12_8: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc12_8: = bound_method %b.ref.loc12, %impl.elem0.loc12_8 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc12: init %Cpp.long = call %bound_method.loc12_8(%b.ref.loc12) // CHECK:STDOUT: %.loc12_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc12 @@ -3344,18 +3344,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.MulAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc12_5.3(%a.ref.loc12, %.loc12_8.2) // CHECK:STDOUT: %a.ref.loc13: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc13: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc13_5: %.2a7 = impl_witness_access constants.%DivAssignWith.impl_witness.7d9, element0 [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.99176a.2] +// CHECK:STDOUT: %impl.elem0.loc13_5: %.880 = impl_witness_access constants.%DivAssignWith.impl_witness.5ea, element0 [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.898613.2] // CHECK:STDOUT: %bound_method.loc13_5.1: = bound_method %a.ref.loc13, %impl.elem0.loc13_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc13: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc13_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc13 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_5, @Cpp.long.as.DivAssignWith.impl.Op.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.specific_fn.7df74c.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc13: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc13_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc13 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_5, @Cpp.long.as.DivAssignWith.impl.Op.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.specific_fn.bac757.1] // CHECK:STDOUT: %bound_method.loc13_5.2: = bound_method %a.ref.loc13, %specific_fn.loc13 -// CHECK:STDOUT: %.loc13_5.2: %Cpp.long.as.DivAssignWith.impl.Op.type.696a39.1 = specific_constant imports.%Core.Op.1d5, @Cpp.long.as.DivAssignWith.impl(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.99176a.1] -// CHECK:STDOUT: %Op.ref.loc13: %Cpp.long.as.DivAssignWith.impl.Op.type.696a39.1 = name_ref Op, %.loc13_5.2 [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.99176a.1] +// CHECK:STDOUT: %.loc13_5.2: %Cpp.long.as.DivAssignWith.impl.Op.type.a25461.1 = specific_constant imports.%Core.Op.6ac, @Cpp.long.as.DivAssignWith.impl(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.898613.1] +// CHECK:STDOUT: %Op.ref.loc13: %Cpp.long.as.DivAssignWith.impl.Op.type.a25461.1 = name_ref Op, %.loc13_5.2 [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.898613.1] // CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.bound: = bound_method %a.ref.loc13, %Op.ref.loc13 -// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc13, @Cpp.long.as.DivAssignWith.impl.Op.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.specific_fn.7df74c.2] +// CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc13, @Cpp.long.as.DivAssignWith.impl.Op.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.DivAssignWith.impl.Op.specific_fn.bac757.2] // CHECK:STDOUT: %bound_method.loc13_5.3: = bound_method %a.ref.loc13, %Cpp.long.as.DivAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc13_8: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc13_8: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc13_8: = bound_method %b.ref.loc13, %impl.elem0.loc13_8 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc13: init %Cpp.long = call %bound_method.loc13_8(%b.ref.loc13) // CHECK:STDOUT: %.loc13_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc13 @@ -3363,18 +3363,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.DivAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc13_5.3(%a.ref.loc13, %.loc13_8.2) // CHECK:STDOUT: %a.ref.loc14: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc14: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc14_5: %.950 = impl_witness_access constants.%ModAssignWith.impl_witness.5ff, element0 [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.10fc02.2] +// CHECK:STDOUT: %impl.elem0.loc14_5: %.3ec = impl_witness_access constants.%ModAssignWith.impl_witness.866, element0 [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.970296.2] // CHECK:STDOUT: %bound_method.loc14_5.1: = bound_method %a.ref.loc14, %impl.elem0.loc14_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc14: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc14_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc14 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14_5, @Cpp.long.as.ModAssignWith.impl.Op.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.specific_fn.ccc62b.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc14: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc14_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc14 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14_5, @Cpp.long.as.ModAssignWith.impl.Op.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.specific_fn.acff4e.1] // CHECK:STDOUT: %bound_method.loc14_5.2: = bound_method %a.ref.loc14, %specific_fn.loc14 -// CHECK:STDOUT: %.loc14_5.2: %Cpp.long.as.ModAssignWith.impl.Op.type.14b4d8.1 = specific_constant imports.%Core.Op.048, @Cpp.long.as.ModAssignWith.impl(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.10fc02.1] -// CHECK:STDOUT: %Op.ref.loc14: %Cpp.long.as.ModAssignWith.impl.Op.type.14b4d8.1 = name_ref Op, %.loc14_5.2 [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.10fc02.1] +// CHECK:STDOUT: %.loc14_5.2: %Cpp.long.as.ModAssignWith.impl.Op.type.fbd100.1 = specific_constant imports.%Core.Op.264, @Cpp.long.as.ModAssignWith.impl(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.970296.1] +// CHECK:STDOUT: %Op.ref.loc14: %Cpp.long.as.ModAssignWith.impl.Op.type.fbd100.1 = name_ref Op, %.loc14_5.2 [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.970296.1] // CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.bound: = bound_method %a.ref.loc14, %Op.ref.loc14 -// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc14, @Cpp.long.as.ModAssignWith.impl.Op.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.specific_fn.ccc62b.2] +// CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc14, @Cpp.long.as.ModAssignWith.impl.Op.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.ModAssignWith.impl.Op.specific_fn.acff4e.2] // CHECK:STDOUT: %bound_method.loc14_5.3: = bound_method %a.ref.loc14, %Cpp.long.as.ModAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc14_8: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc14_8: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc14_8: = bound_method %b.ref.loc14, %impl.elem0.loc14_8 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc14: init %Cpp.long = call %bound_method.loc14_8(%b.ref.loc14) // CHECK:STDOUT: %.loc14_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc14 @@ -3382,18 +3382,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.ModAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc14_5.3(%a.ref.loc14, %.loc14_8.2) // CHECK:STDOUT: %a.ref.loc16: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc16: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc16_5: %.67f = impl_witness_access constants.%BitAndAssignWith.impl_witness.2b1, element0 [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.907066.2] +// CHECK:STDOUT: %impl.elem0.loc16_5: %.345 = impl_witness_access constants.%BitAndAssignWith.impl_witness.a7a, element0 [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.116220.2] // CHECK:STDOUT: %bound_method.loc16_5.1: = bound_method %a.ref.loc16, %impl.elem0.loc16_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc16: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc16_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc16 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16_5, @Cpp.long.as.BitAndAssignWith.impl.Op.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.9db7b7.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc16: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc16_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc16 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16_5, @Cpp.long.as.BitAndAssignWith.impl.Op.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.324142.1] // CHECK:STDOUT: %bound_method.loc16_5.2: = bound_method %a.ref.loc16, %specific_fn.loc16 -// CHECK:STDOUT: %.loc16_5.2: %Cpp.long.as.BitAndAssignWith.impl.Op.type.798083.1 = specific_constant imports.%Core.Op.293, @Cpp.long.as.BitAndAssignWith.impl(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.907066.1] -// CHECK:STDOUT: %Op.ref.loc16: %Cpp.long.as.BitAndAssignWith.impl.Op.type.798083.1 = name_ref Op, %.loc16_5.2 [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.907066.1] +// CHECK:STDOUT: %.loc16_5.2: %Cpp.long.as.BitAndAssignWith.impl.Op.type.cbeec5.1 = specific_constant imports.%Core.Op.27c, @Cpp.long.as.BitAndAssignWith.impl(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.116220.1] +// CHECK:STDOUT: %Op.ref.loc16: %Cpp.long.as.BitAndAssignWith.impl.Op.type.cbeec5.1 = name_ref Op, %.loc16_5.2 [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.116220.1] // CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.bound: = bound_method %a.ref.loc16, %Op.ref.loc16 -// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc16, @Cpp.long.as.BitAndAssignWith.impl.Op.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.9db7b7.2] +// CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc16, @Cpp.long.as.BitAndAssignWith.impl.Op.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn.324142.2] // CHECK:STDOUT: %bound_method.loc16_5.3: = bound_method %a.ref.loc16, %Cpp.long.as.BitAndAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc16_8: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc16_8: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc16_8: = bound_method %b.ref.loc16, %impl.elem0.loc16_8 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc16: init %Cpp.long = call %bound_method.loc16_8(%b.ref.loc16) // CHECK:STDOUT: %.loc16_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc16 @@ -3401,18 +3401,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.BitAndAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc16_5.3(%a.ref.loc16, %.loc16_8.2) // CHECK:STDOUT: %a.ref.loc17: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc17: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc17_5: %.9c9 = impl_witness_access constants.%BitOrAssignWith.impl_witness.dc0, element0 [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.146196.2] +// CHECK:STDOUT: %impl.elem0.loc17_5: %.490 = impl_witness_access constants.%BitOrAssignWith.impl_witness.4c0, element0 [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.9f5cee.2] // CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %a.ref.loc17, %impl.elem0.loc17_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc17: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc17_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc17 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17_5, @Cpp.long.as.BitOrAssignWith.impl.Op.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.75c872.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc17: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc17_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc17 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17_5, @Cpp.long.as.BitOrAssignWith.impl.Op.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.e27b36.1] // CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %a.ref.loc17, %specific_fn.loc17 -// CHECK:STDOUT: %.loc17_5.2: %Cpp.long.as.BitOrAssignWith.impl.Op.type.03e327.1 = specific_constant imports.%Core.Op.542, @Cpp.long.as.BitOrAssignWith.impl(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.146196.1] -// CHECK:STDOUT: %Op.ref.loc17: %Cpp.long.as.BitOrAssignWith.impl.Op.type.03e327.1 = name_ref Op, %.loc17_5.2 [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.146196.1] +// CHECK:STDOUT: %.loc17_5.2: %Cpp.long.as.BitOrAssignWith.impl.Op.type.1d56d4.1 = specific_constant imports.%Core.Op.dda, @Cpp.long.as.BitOrAssignWith.impl(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.9f5cee.1] +// CHECK:STDOUT: %Op.ref.loc17: %Cpp.long.as.BitOrAssignWith.impl.Op.type.1d56d4.1 = name_ref Op, %.loc17_5.2 [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.9f5cee.1] // CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.bound: = bound_method %a.ref.loc17, %Op.ref.loc17 -// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc17, @Cpp.long.as.BitOrAssignWith.impl.Op.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.75c872.2] +// CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc17, @Cpp.long.as.BitOrAssignWith.impl.Op.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn.e27b36.2] // CHECK:STDOUT: %bound_method.loc17_5.3: = bound_method %a.ref.loc17, %Cpp.long.as.BitOrAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc17_8: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc17_8: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc17_8: = bound_method %b.ref.loc17, %impl.elem0.loc17_8 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc17: init %Cpp.long = call %bound_method.loc17_8(%b.ref.loc17) // CHECK:STDOUT: %.loc17_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc17 @@ -3420,18 +3420,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.BitOrAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc17_5.3(%a.ref.loc17, %.loc17_8.2) // CHECK:STDOUT: %a.ref.loc18: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc18: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc18_5: %.678 = impl_witness_access constants.%BitXorAssignWith.impl_witness.81b, element0 [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.eb27d2.2] +// CHECK:STDOUT: %impl.elem0.loc18_5: %.87e = impl_witness_access constants.%BitXorAssignWith.impl_witness.f5d, element0 [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.fb73fa.2] // CHECK:STDOUT: %bound_method.loc18_5.1: = bound_method %a.ref.loc18, %impl.elem0.loc18_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc18: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc18_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc18 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18_5, @Cpp.long.as.BitXorAssignWith.impl.Op.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.3f523c.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc18: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc18_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc18 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18_5, @Cpp.long.as.BitXorAssignWith.impl.Op.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.6900f6.1] // CHECK:STDOUT: %bound_method.loc18_5.2: = bound_method %a.ref.loc18, %specific_fn.loc18 -// CHECK:STDOUT: %.loc18_5.2: %Cpp.long.as.BitXorAssignWith.impl.Op.type.8687c0.1 = specific_constant imports.%Core.Op.2f0, @Cpp.long.as.BitXorAssignWith.impl(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.eb27d2.1] -// CHECK:STDOUT: %Op.ref.loc18: %Cpp.long.as.BitXorAssignWith.impl.Op.type.8687c0.1 = name_ref Op, %.loc18_5.2 [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.eb27d2.1] +// CHECK:STDOUT: %.loc18_5.2: %Cpp.long.as.BitXorAssignWith.impl.Op.type.ef9e9f.1 = specific_constant imports.%Core.Op.c2e, @Cpp.long.as.BitXorAssignWith.impl(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.fb73fa.1] +// CHECK:STDOUT: %Op.ref.loc18: %Cpp.long.as.BitXorAssignWith.impl.Op.type.ef9e9f.1 = name_ref Op, %.loc18_5.2 [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.fb73fa.1] // CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.bound: = bound_method %a.ref.loc18, %Op.ref.loc18 -// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc18, @Cpp.long.as.BitXorAssignWith.impl.Op.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.3f523c.2] +// CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc18, @Cpp.long.as.BitXorAssignWith.impl.Op.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn.6900f6.2] // CHECK:STDOUT: %bound_method.loc18_5.3: = bound_method %a.ref.loc18, %Cpp.long.as.BitXorAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc18_8: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc18_8: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc18_8: = bound_method %b.ref.loc18, %impl.elem0.loc18_8 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc18: init %Cpp.long = call %bound_method.loc18_8(%b.ref.loc18) // CHECK:STDOUT: %.loc18_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc18 @@ -3439,18 +3439,18 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.BitXorAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc18_5.3(%a.ref.loc18, %.loc18_8.2) // CHECK:STDOUT: %a.ref.loc19: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc19: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc19_5: %.f16 = impl_witness_access constants.%LeftShiftAssignWith.impl_witness.800, element0 [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.5439dc.2] +// CHECK:STDOUT: %impl.elem0.loc19_5: %.2ae = impl_witness_access constants.%LeftShiftAssignWith.impl_witness.aae, element0 [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.a3f1fe.2] // CHECK:STDOUT: %bound_method.loc19_5.1: = bound_method %a.ref.loc19, %impl.elem0.loc19_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc19: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc19_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc19 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19_5, @Cpp.long.as.LeftShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.e66ec3.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc19: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc19_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc19 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19_5, @Cpp.long.as.LeftShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.207d23.1] // CHECK:STDOUT: %bound_method.loc19_5.2: = bound_method %a.ref.loc19, %specific_fn.loc19 -// CHECK:STDOUT: %.loc19_5.2: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.118e18.1 = specific_constant imports.%Core.Op.a0c, @Cpp.long.as.LeftShiftAssignWith.impl(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.5439dc.1] -// CHECK:STDOUT: %Op.ref.loc19: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.118e18.1 = name_ref Op, %.loc19_5.2 [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.5439dc.1] +// CHECK:STDOUT: %.loc19_5.2: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.bed071.1 = specific_constant imports.%Core.Op.e49, @Cpp.long.as.LeftShiftAssignWith.impl(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.a3f1fe.1] +// CHECK:STDOUT: %Op.ref.loc19: %Cpp.long.as.LeftShiftAssignWith.impl.Op.type.bed071.1 = name_ref Op, %.loc19_5.2 [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.a3f1fe.1] // CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.bound: = bound_method %a.ref.loc19, %Op.ref.loc19 -// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc19, @Cpp.long.as.LeftShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.e66ec3.2] +// CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc19, @Cpp.long.as.LeftShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn.207d23.2] // CHECK:STDOUT: %bound_method.loc19_5.3: = bound_method %a.ref.loc19, %Cpp.long.as.LeftShiftAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc19_9: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc19_9: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc19_9: = bound_method %b.ref.loc19, %impl.elem0.loc19_9 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc19: init %Cpp.long = call %bound_method.loc19_9(%b.ref.loc19) // CHECK:STDOUT: %.loc19_9.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc19 @@ -3458,24 +3458,24 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long.as.LeftShiftAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc19_5.3(%a.ref.loc19, %.loc19_9.2) // CHECK:STDOUT: %a.ref.loc20: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc20: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc20_5: %.366 = impl_witness_access constants.%RightShiftAssignWith.impl_witness.08a, element0 [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.be27dc.2] +// CHECK:STDOUT: %impl.elem0.loc20_5: %.585 = impl_witness_access constants.%RightShiftAssignWith.impl_witness.20f, element0 [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.07491d.2] // CHECK:STDOUT: %bound_method.loc20_5.1: = bound_method %a.ref.loc20, %impl.elem0.loc20_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc20: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc20_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet.loc20 [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20_5, @Cpp.long.as.RightShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.94adda.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc20: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc20_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet.loc20 [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20_5, @Cpp.long.as.RightShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.d8b850.1] // CHECK:STDOUT: %bound_method.loc20_5.2: = bound_method %a.ref.loc20, %specific_fn.loc20 -// CHECK:STDOUT: %.loc20_5.2: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.37e340.1 = specific_constant imports.%Core.Op.5ce, @Cpp.long.as.RightShiftAssignWith.impl(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.be27dc.1] -// CHECK:STDOUT: %Op.ref.loc20: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.37e340.1 = name_ref Op, %.loc20_5.2 [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.be27dc.1] +// CHECK:STDOUT: %.loc20_5.2: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.40d73d.1 = specific_constant imports.%Core.Op.d53, @Cpp.long.as.RightShiftAssignWith.impl(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.07491d.1] +// CHECK:STDOUT: %Op.ref.loc20: %Cpp.long.as.RightShiftAssignWith.impl.Op.type.40d73d.1 = name_ref Op, %.loc20_5.2 [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.07491d.1] // CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.bound: = bound_method %a.ref.loc20, %Op.ref.loc20 -// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc20, @Cpp.long.as.RightShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.94adda.2] +// CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc20, @Cpp.long.as.RightShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn.d8b850.2] // CHECK:STDOUT: %bound_method.loc20_5.3: = bound_method %a.ref.loc20, %Cpp.long.as.RightShiftAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc20_9: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc20_9: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc20_9: = bound_method %b.ref.loc20, %impl.elem0.loc20_9 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call.loc20: init %Cpp.long = call %bound_method.loc20_9(%b.ref.loc20) // CHECK:STDOUT: %.loc20_9.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call.loc20 // CHECK:STDOUT: %.loc20_9.2: %Cpp.long = converted %b.ref.loc20, %.loc20_9.1 // CHECK:STDOUT: %Cpp.long.as.RightShiftAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc20_5.3(%a.ref.loc20, %.loc20_9.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -3494,35 +3494,35 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long: type = class_type @Long32 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.3c3: type = pattern_type %Cpp.long [concrete] +// CHECK:STDOUT: %pattern_type.83e: type = pattern_type %Cpp.long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.2b7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.134: = impl_witness imports.%ImplicitAs.impl_witness_table.15d [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.134) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bb3: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.30b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bb3, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6fa: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e41: = impl_witness imports.%ImplicitAs.impl_witness_table.293 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e41) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.93b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.f84: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.93b, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.b8e: %Cpp.long = int_value 1 [concrete] -// CHECK:STDOUT: %AddAssignWith.type.17a: type = facet_type <@AddAssignWith, @AddAssignWith(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %U.5a0: %ImplicitAs.type.2b7 = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.402bbb.1: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.402bbb.2: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.2 = struct_value () [symbolic] -// CHECK:STDOUT: %AddAssignWith.impl_witness.366: = impl_witness imports.%AddAssignWith.impl_witness_table.eb4, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.f44b7f.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.ccd554.1: %Cpp.long.as.AddAssignWith.impl.Op.type.f44b7f.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.f44b7f.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.ccd554.2: %Cpp.long.as.AddAssignWith.impl.Op.type.f44b7f.2 = struct_value () [concrete] -// CHECK:STDOUT: %AddAssignWith.facet.a8f: %AddAssignWith.type.17a = facet_value %Cpp.long, (%AddAssignWith.impl_witness.366) [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.93e: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(Core.IntLiteral, %AddAssignWith.facet.a8f) [concrete] -// CHECK:STDOUT: %.5a7: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.93e, %AddAssignWith.facet.a8f [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.7552ca.1: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.ccd554.2, @Cpp.long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.7552ca.2: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.ccd554.1, @Cpp.long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %int_1.3d0: %Cpp.long = int_value 1 [concrete] +// CHECK:STDOUT: %AddAssignWith.type.d09: type = facet_type <@AddAssignWith, @AddAssignWith(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %U.887: %ImplicitAs.type.6fa = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.c37e49.1: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.c37e49.2: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.2 = struct_value () [symbolic] +// CHECK:STDOUT: %AddAssignWith.impl_witness.378: = impl_witness imports.%AddAssignWith.impl_witness_table.d4d, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.e519c0.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.043422.1: %Cpp.long.as.AddAssignWith.impl.Op.type.e519c0.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.e519c0.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.043422.2: %Cpp.long.as.AddAssignWith.impl.Op.type.e519c0.2 = struct_value () [concrete] +// CHECK:STDOUT: %AddAssignWith.facet.b24: %AddAssignWith.type.d09 = facet_value %Cpp.long, (%AddAssignWith.impl_witness.378) [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.697: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(Core.IntLiteral, %AddAssignWith.facet.b24) [concrete] +// CHECK:STDOUT: %.f6c: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.697, %AddAssignWith.facet.b24 [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.c44639.1: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.043422.2, @Cpp.long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.c44639.2: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.043422.1, @Cpp.long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3530,25 +3530,25 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .long = constants.%Cpp.long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.15d = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.52f [concrete] -// CHECK:STDOUT: %Core.import_ref.6d6: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long.as.AddAssignWith.impl.Op.402bbb.1)] -// CHECK:STDOUT: %AddAssignWith.impl_witness_table.eb4 = impl_witness_table (%Core.import_ref.6d6), @Cpp.long.as.AddAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.18c: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long.as.AddAssignWith.impl.Op.402bbb.2)] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.293 = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.ec9 [concrete] +// CHECK:STDOUT: %Core.import_ref.1d2: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long.as.AddAssignWith.impl.Op.c37e49.1)] +// CHECK:STDOUT: %AddAssignWith.impl_witness_table.d4d = impl_witness_table (%Core.import_ref.1d2), @Cpp.long.as.AddAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.e4e: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long.as.AddAssignWith.impl.Op.c37e49.2)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CompoundAssignmentLongAndIntLiteral() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.3c3 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.3c3 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.83e = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.83e = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.long = var %a.var_patt // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc8_3: init %Cpp.long = converted %int_1.loc8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc8_3: init %Cpp.long = converted %int_1.loc8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: assign %a.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %long.ref [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -3557,24 +3557,24 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %a: ref %Cpp.long = ref_binding a, %a.var // CHECK:STDOUT: %a.ref: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc9_5: %.5a7 = impl_witness_access constants.%AddAssignWith.impl_witness.366, element0 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.ccd554.2] +// CHECK:STDOUT: %impl.elem0.loc9_5: %.f6c = impl_witness_access constants.%AddAssignWith.impl_witness.378, element0 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.043422.2] // CHECK:STDOUT: %bound_method.loc9_5.1: = bound_method %a.ref, %impl.elem0.loc9_5 -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.134) [concrete = constants.%ImplicitAs.facet] -// CHECK:STDOUT: %.loc9_5.1: %ImplicitAs.type.2b7 = converted Core.IntLiteral, %ImplicitAs.facet [concrete = constants.%ImplicitAs.facet] -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc9_5, @Cpp.long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.7552ca.1] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.e41) [concrete = constants.%ImplicitAs.facet] +// CHECK:STDOUT: %.loc9_5.1: %ImplicitAs.type.6fa = converted Core.IntLiteral, %ImplicitAs.facet [concrete = constants.%ImplicitAs.facet] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc9_5, @Cpp.long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.c44639.1] // CHECK:STDOUT: %bound_method.loc9_5.2: = bound_method %a.ref, %specific_fn -// CHECK:STDOUT: %.loc9_5.2: %Cpp.long.as.AddAssignWith.impl.Op.type.f44b7f.1 = specific_constant imports.%Core.Op.18c, @Cpp.long.as.AddAssignWith.impl(constants.%ImplicitAs.facet) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.ccd554.1] -// CHECK:STDOUT: %Op.ref: %Cpp.long.as.AddAssignWith.impl.Op.type.f44b7f.1 = name_ref Op, %.loc9_5.2 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.ccd554.1] +// CHECK:STDOUT: %.loc9_5.2: %Cpp.long.as.AddAssignWith.impl.Op.type.e519c0.1 = specific_constant imports.%Core.Op.e4e, @Cpp.long.as.AddAssignWith.impl(constants.%ImplicitAs.facet) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.043422.1] +// CHECK:STDOUT: %Op.ref: %Cpp.long.as.AddAssignWith.impl.Op.type.e519c0.1 = name_ref Op, %.loc9_5.2 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.043422.1] // CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.bound: = bound_method %a.ref, %Op.ref -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref, @Cpp.long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.7552ca.2] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref, @Cpp.long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.c44639.2] // CHECK:STDOUT: %bound_method.loc9_5.3: = bound_method %a.ref, %Cpp.long.as.AddAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc9_8: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc9_8: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc9_8: = bound_method %int_1.loc9, %impl.elem0.loc9_8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9_8(%int_1.loc9) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc9_8.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc9_8.2: %Cpp.long = converted %int_1.loc9, %.loc9_8.1 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long = call %bound_method.loc9_8(%int_1.loc9) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc9_8.1: %Cpp.long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc9_8.2: %Cpp.long = converted %int_1.loc9, %.loc9_8.1 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc9_5.3(%a.ref, %.loc9_8.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -3594,56 +3594,56 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.3c3: type = pattern_type %Cpp.long [concrete] +// CHECK:STDOUT: %pattern_type.83e: type = pattern_type %Cpp.long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.2b7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.134: = impl_witness imports.%ImplicitAs.impl_witness_table.15d [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.a52: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.134) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bb3: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.a52) [concrete] -// CHECK:STDOUT: %.30b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bb3, %ImplicitAs.facet.a52 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6fa: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e41: = impl_witness imports.%ImplicitAs.impl_witness_table.293 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.c09: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e41) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.93b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.c09) [concrete] +// CHECK:STDOUT: %.f84: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.93b, %ImplicitAs.facet.c09 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.1 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce [concrete] -// CHECK:STDOUT: %int_1.b8e: %Cpp.long = int_value 1 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %int_1.3d0: %Cpp.long = int_value 1 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.0da(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ddb: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl.0da(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.0da(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.5ea: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ddb) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.724: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.5ea) [concrete] -// CHECK:STDOUT: %.fa3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.724, %ImplicitAs.facet.5ea [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert.2(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.4e8(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl.4e8(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.4e8(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.840: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.840) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet.840 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert.2(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %AddAssignWith.type.e75: type = facet_type <@AddAssignWith, @AddAssignWith(%i32)> [concrete] -// CHECK:STDOUT: %U.5a0: %ImplicitAs.type.2b7 = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.402bbb.1: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%U.5a0) [symbolic] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.402bbb.2: %Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.2 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.e53: = impl_witness imports.%ImplicitAs.impl_witness_table.f44 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.32a: %ImplicitAs.type.2b7 = facet_value %i32, (%ImplicitAs.impl_witness.e53) [concrete] -// CHECK:STDOUT: %AddAssignWith.impl_witness.55d: = impl_witness imports.%AddAssignWith.impl_witness_table.eb4, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.df4b7b.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.90936b.1: %Cpp.long.as.AddAssignWith.impl.Op.type.df4b7b.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.df4b7b.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.90936b.2: %Cpp.long.as.AddAssignWith.impl.Op.type.df4b7b.2 = struct_value () [concrete] -// CHECK:STDOUT: %AddAssignWith.facet.640: %AddAssignWith.type.e75 = facet_value %Cpp.long, (%AddAssignWith.impl_witness.55d) [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.a76: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%i32, %AddAssignWith.facet.640) [concrete] -// CHECK:STDOUT: %.aac2: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.a76, %AddAssignWith.facet.640 [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.00ee3f.1: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.90936b.2, @Cpp.long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.00ee3f.2: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.90936b.1, @Cpp.long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.cb7: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.32a) [concrete] -// CHECK:STDOUT: %.709: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.cb7, %ImplicitAs.facet.32a [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %AddAssignWith.type.e37: type = facet_type <@AddAssignWith, @AddAssignWith(%i32)> [concrete] +// CHECK:STDOUT: %U.887: %ImplicitAs.type.6fa = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.c37e49.1: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%U.887) [symbolic] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.c37e49.2: %Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.2 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.72d: = impl_witness imports.%ImplicitAs.impl_witness_table.29c [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.0fb: %ImplicitAs.type.6fa = facet_value %i32, (%ImplicitAs.impl_witness.72d) [concrete] +// CHECK:STDOUT: %AddAssignWith.impl_witness.129: = impl_witness imports.%AddAssignWith.impl_witness_table.d4d, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.69179c.1: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.2, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.1: %Cpp.long.as.AddAssignWith.impl.Op.type.69179c.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.type.69179c.2: type = fn_type @Cpp.long.as.AddAssignWith.impl.Op.1, @Cpp.long.as.AddAssignWith.impl(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.2: %Cpp.long.as.AddAssignWith.impl.Op.type.69179c.2 = struct_value () [concrete] +// CHECK:STDOUT: %AddAssignWith.facet.627: %AddAssignWith.type.e37 = facet_value %Cpp.long, (%AddAssignWith.impl_witness.129) [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.839: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%i32, %AddAssignWith.facet.627) [concrete] +// CHECK:STDOUT: %.72d: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.839, %AddAssignWith.facet.627 [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.548e6a.1: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.2, @Cpp.long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn.548e6a.2: = specific_function %Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.1, @Cpp.long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.db6: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet.0fb) [concrete] +// CHECK:STDOUT: %.9d6: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.db6, %ImplicitAs.facet.0fb [concrete] // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.type: type = fn_type @i32.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert: %i32.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3651,29 +3651,29 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .long = constants.%Cpp.long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b339.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.15d = impl_witness_table (%Core.import_ref.67b339.1), @Core.IntLiteral.as.ImplicitAs.impl.52f [concrete] -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.0da.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.0da.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl.0da [concrete] -// CHECK:STDOUT: %Core.import_ref.6d6: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long.as.AddAssignWith.impl.Op.402bbb.1)] -// CHECK:STDOUT: %AddAssignWith.impl_witness_table.eb4 = impl_witness_table (%Core.import_ref.6d6), @Cpp.long.as.AddAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.18c: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long.as.AddAssignWith.impl.Op.type.d4a5bd.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long.as.AddAssignWith.impl.Op.402bbb.2)] -// CHECK:STDOUT: %Core.import_ref.67b339.2: %i32.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.f44 = impl_witness_table (%Core.import_ref.67b339.2), @i32.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.293 = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.ImplicitAs.impl.ec9 [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.4e8.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.4e8.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl.4e8 [concrete] +// CHECK:STDOUT: %Core.import_ref.1d2: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long.as.AddAssignWith.impl.Op.c37e49.1)] +// CHECK:STDOUT: %AddAssignWith.impl_witness_table.d4d = impl_witness_table (%Core.import_ref.1d2), @Cpp.long.as.AddAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.e4e: @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long.as.AddAssignWith.impl.Op.type.ee98fc.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long.as.AddAssignWith.impl.%Cpp.long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long.as.AddAssignWith.impl.Op.c37e49.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %i32.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.29c = impl_witness_table (%Core.import_ref.adef5f.2), @i32.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CompoundAssignmentLongAndRuntimeI32() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.3c3 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.3c3 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.83e = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.83e = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.long = var %a.var_patt // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc8: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc8_3: init %Cpp.long = converted %int_1.loc8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc8_3: init %Cpp.long = converted %int_1.loc8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.3d0] // CHECK:STDOUT: assign %a.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %long.ref [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -3681,38 +3681,38 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %Cpp.long = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc9: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_16.1: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc9: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_16.1: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc9: = specific_function %impl.elem0.loc9, @Core.IntLiteral.as.ImplicitAs.impl.Convert.2(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc9_16.2: = bound_method %int_1.loc9, %specific_fn.loc9 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_16.2(%int_1.loc9) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_16.2: %i32 = converted %int_1.loc9, %.loc9_16.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_16.2(%int_1.loc9) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_16.2: %i32 = converted %int_1.loc9, %.loc9_16.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %b: %i32 = value_binding b, %.loc9_16.2 // CHECK:STDOUT: %a.ref: ref %Cpp.long = name_ref a, %a // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc10_5: %.aac2 = impl_witness_access constants.%AddAssignWith.impl_witness.55d, element0 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.90936b.2] +// CHECK:STDOUT: %impl.elem0.loc10_5: %.72d = impl_witness_access constants.%AddAssignWith.impl_witness.129, element0 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.2] // CHECK:STDOUT: %bound_method.loc10_5.1: = bound_method %a.ref, %impl.elem0.loc10_5 -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.2b7 = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.e53) [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %.loc10_5.1: %ImplicitAs.type.2b7 = converted constants.%i32, %ImplicitAs.facet [concrete = constants.%ImplicitAs.facet.32a] -// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @Cpp.long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.00ee3f.1] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.6fa = facet_value constants.%i32, (constants.%ImplicitAs.impl_witness.72d) [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %.loc10_5.1: %ImplicitAs.type.6fa = converted constants.%i32, %ImplicitAs.facet [concrete = constants.%ImplicitAs.facet.0fb] +// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @Cpp.long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.548e6a.1] // CHECK:STDOUT: %bound_method.loc10_5.2: = bound_method %a.ref, %specific_fn.loc10 -// CHECK:STDOUT: %.loc10_5.2: %Cpp.long.as.AddAssignWith.impl.Op.type.df4b7b.1 = specific_constant imports.%Core.Op.18c, @Cpp.long.as.AddAssignWith.impl(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.90936b.1] -// CHECK:STDOUT: %Op.ref: %Cpp.long.as.AddAssignWith.impl.Op.type.df4b7b.1 = name_ref Op, %.loc10_5.2 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.90936b.1] +// CHECK:STDOUT: %.loc10_5.2: %Cpp.long.as.AddAssignWith.impl.Op.type.69179c.1 = specific_constant imports.%Core.Op.e4e, @Cpp.long.as.AddAssignWith.impl(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.1] +// CHECK:STDOUT: %Op.ref: %Cpp.long.as.AddAssignWith.impl.Op.type.69179c.1 = name_ref Op, %.loc10_5.2 [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.4ab9dd.1] // CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.bound: = bound_method %a.ref, %Op.ref -// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref, @Cpp.long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet.32a) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.00ee3f.2] +// CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref, @Cpp.long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet.0fb) [concrete = constants.%Cpp.long.as.AddAssignWith.impl.Op.specific_fn.548e6a.2] // CHECK:STDOUT: %bound_method.loc10_5.3: = bound_method %a.ref, %Cpp.long.as.AddAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc10_8: %.709 = impl_witness_access constants.%ImplicitAs.impl_witness.e53, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc10_8: %.9d6 = impl_witness_access constants.%ImplicitAs.impl_witness.72d, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc10_8: = bound_method %b.ref, %impl.elem0.loc10_8 // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.call: init %Cpp.long = call %bound_method.loc10_8(%b.ref) // CHECK:STDOUT: %.loc10_8.1: %Cpp.long = value_of_initializer %i32.as.ImplicitAs.impl.Convert.call // CHECK:STDOUT: %.loc10_8.2: %Cpp.long = converted %b.ref, %.loc10_8.1 // CHECK:STDOUT: %Cpp.long.as.AddAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc10_5.3(%a.ref, %.loc10_8.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -3731,33 +3731,33 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.long: type = class_type @Long32 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.3c3: type = pattern_type %Cpp.long [concrete] +// CHECK:STDOUT: %pattern_type.83e: type = pattern_type %Cpp.long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.2b7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.134: = impl_witness imports.%ImplicitAs.impl_witness_table.15d [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.2b7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.134) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bb3: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.30b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bb3, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6fa: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e41: = impl_witness imports.%ImplicitAs.impl_witness_table.293 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.6fa = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.e41) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.93b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.f84: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.93b, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.b8e: %Cpp.long = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.3d0: %Cpp.long = int_value 1 [concrete] // CHECK:STDOUT: %Inc.type: type = facet_type <@Inc> [concrete] // CHECK:STDOUT: %Inc.impl_witness: = impl_witness imports.%Inc.impl_witness_table [concrete] // CHECK:STDOUT: %Inc.facet: %Inc.type = facet_value %Cpp.long, (%Inc.impl_witness) [concrete] -// CHECK:STDOUT: %Inc.WithSelf.Op.type.bbe: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet) [concrete] -// CHECK:STDOUT: %.571: type = fn_type_with_self_type %Inc.WithSelf.Op.type.bbe, %Inc.facet [concrete] +// CHECK:STDOUT: %Inc.WithSelf.Op.type.c20: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet) [concrete] +// CHECK:STDOUT: %.b8b: type = fn_type_with_self_type %Inc.WithSelf.Op.type.c20, %Inc.facet [concrete] // CHECK:STDOUT: %Cpp.long.as.Inc.impl.Op.type: type = fn_type @Cpp.long.as.Inc.impl.Op [concrete] // CHECK:STDOUT: %Cpp.long.as.Inc.impl.Op: %Cpp.long.as.Inc.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Dec.type: type = facet_type <@Dec> [concrete] // CHECK:STDOUT: %Dec.impl_witness: = impl_witness imports.%Dec.impl_witness_table [concrete] // CHECK:STDOUT: %Dec.facet: %Dec.type = facet_value %Cpp.long, (%Dec.impl_witness) [concrete] -// CHECK:STDOUT: %Dec.WithSelf.Op.type.954: type = fn_type @Dec.WithSelf.Op, @Dec.WithSelf(%Dec.facet) [concrete] -// CHECK:STDOUT: %.a75: type = fn_type_with_self_type %Dec.WithSelf.Op.type.954, %Dec.facet [concrete] +// CHECK:STDOUT: %Dec.WithSelf.Op.type.de7: type = fn_type @Dec.WithSelf.Op, @Dec.WithSelf(%Dec.facet) [concrete] +// CHECK:STDOUT: %.f14: type = fn_type_with_self_type %Dec.WithSelf.Op.type.de7, %Dec.facet [concrete] // CHECK:STDOUT: %Cpp.long.as.Dec.impl.Op.type: type = fn_type @Cpp.long.as.Dec.impl.Op [concrete] // CHECK:STDOUT: %Cpp.long.as.Dec.impl.Op: %Cpp.long.as.Dec.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3765,26 +3765,26 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .long = constants.%Cpp.long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.15d = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.52f [concrete] -// CHECK:STDOUT: %Core.import_ref.59e3cf.1: %Cpp.long.as.Inc.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.Inc.impl.Op] -// CHECK:STDOUT: %Inc.impl_witness_table = impl_witness_table (%Core.import_ref.59e3cf.1), @Cpp.long.as.Inc.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.59e3cf.2: %Cpp.long.as.Dec.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.Dec.impl.Op] -// CHECK:STDOUT: %Dec.impl_witness_table = impl_witness_table (%Core.import_ref.59e3cf.2), @Cpp.long.as.Dec.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.293 = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.ec9 [concrete] +// CHECK:STDOUT: %Core.import_ref.f63b02.1: %Cpp.long.as.Inc.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.Inc.impl.Op] +// CHECK:STDOUT: %Inc.impl_witness_table = impl_witness_table (%Core.import_ref.f63b02.1), @Cpp.long.as.Inc.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63b02.2: %Cpp.long.as.Dec.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long.as.Dec.impl.Op] +// CHECK:STDOUT: %Dec.impl_witness_table = impl_witness_table (%Core.import_ref.f63b02.2), @Cpp.long.as.Dec.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @IncrementDecrementLong() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.3c3 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.3c3 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.83e = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.83e = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.long = var %a.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.30b = impl_witness_access constants.%ImplicitAs.impl_witness.134, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.f84 = impl_witness_access constants.%ImplicitAs.impl_witness.e41, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.long = call %bound_method.loc8(%int_1) [concrete = constants.%int_1.b8e] -// CHECK:STDOUT: %.loc8_3: init %Cpp.long = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.b8e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.long = call %bound_method.loc8(%int_1) [concrete = constants.%int_1.3d0] +// CHECK:STDOUT: %.loc8_3: init %Cpp.long = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.3d0] // CHECK:STDOUT: assign %a.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %long.ref [concrete = constants.%Cpp.long] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -3792,14 +3792,14 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %Cpp.long = ref_binding a, %a.var // CHECK:STDOUT: %a.ref.loc9: ref %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc9: %.571 = impl_witness_access constants.%Inc.impl_witness, element0 [concrete = constants.%Cpp.long.as.Inc.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc9: %.b8b = impl_witness_access constants.%Inc.impl_witness, element0 [concrete = constants.%Cpp.long.as.Inc.impl.Op] // CHECK:STDOUT: %bound_method.loc9: = bound_method %a.ref.loc9, %impl.elem0.loc9 // CHECK:STDOUT: %Cpp.long.as.Inc.impl.Op.call: init %empty_tuple.type = call %bound_method.loc9(%a.ref.loc9) // CHECK:STDOUT: %a.ref.loc10: ref %Cpp.long = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc10: %.a75 = impl_witness_access constants.%Dec.impl_witness, element0 [concrete = constants.%Cpp.long.as.Dec.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc10: %.f14 = impl_witness_access constants.%Dec.impl_witness, element0 [concrete = constants.%Cpp.long.as.Dec.impl.Op] // CHECK:STDOUT: %bound_method.loc10: = bound_method %a.ref.loc10, %impl.elem0.loc10 // CHECK:STDOUT: %Cpp.long.as.Dec.impl.Op.call: init %empty_tuple.type = call %bound_method.loc10(%a.ref.loc10) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -3821,20 +3821,20 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %UInt.generic: %UInt.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.90a: type = pattern_type %Cpp.unsigned_long [concrete] +// CHECK:STDOUT: %pattern_type.9f4: type = pattern_type %Cpp.unsigned_long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.5e1: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.unsigned_long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f6c: = impl_witness imports.%ImplicitAs.impl_witness_table.3d9 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.b28: %ImplicitAs.type.5e1 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.f6c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.2cb: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.unsigned_long, %ImplicitAs.facet.b28) [concrete] -// CHECK:STDOUT: %.ddc: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.2cb, %ImplicitAs.facet.b28 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ae2: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.unsigned_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.1e5: = impl_witness imports.%ImplicitAs.impl_witness_table.a9a [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.5ba: %ImplicitAs.type.ae2 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.1e5) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.57e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.unsigned_long, %ImplicitAs.facet.5ba) [concrete] +// CHECK:STDOUT: %.c47: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.57e, %ImplicitAs.facet.5ba [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.1 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce [concrete] -// CHECK:STDOUT: %int_1.291: %Cpp.unsigned_long = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.3ef: %Cpp.unsigned_long = int_value 1 [concrete] // CHECK:STDOUT: %ULongResult: type = class_type @ULongResult [concrete] // CHECK:STDOUT: %pattern_type.38e: type = pattern_type %ULongResult [concrete] // CHECK:STDOUT: %PassULong.cpp_overload_set.type: type = cpp_overload_set_type @PassULong.cpp_overload_set [concrete] @@ -3842,21 +3842,21 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %ptr.54a: type = ptr_type %ULongResult [concrete] // CHECK:STDOUT: %PassULong__carbon_thunk.type.f4cf84.1: type = fn_type @PassULong__carbon_thunk.1 [concrete] // CHECK:STDOUT: %PassULong__carbon_thunk.8dc497.1: %PassULong__carbon_thunk.type.f4cf84.1 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.632: type = pattern_type %u32 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.79f: type = facet_type <@ImplicitAs, @ImplicitAs(%u32)> [concrete] +// CHECK:STDOUT: %pattern_type.126: type = pattern_type %u32 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.b0a: type = facet_type <@ImplicitAs, @ImplicitAs(%u32)> [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.f1e(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.0aa: = impl_witness imports.%ImplicitAs.impl_witness_table.c97, @Core.IntLiteral.as.ImplicitAs.impl.f1e(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.025: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.f1e(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.376: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.025 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.09c: %ImplicitAs.type.79f = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.0aa) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.715: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u32, %ImplicitAs.facet.09c) [concrete] -// CHECK:STDOUT: %.96f: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.715, %ImplicitAs.facet.09c [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d64: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.376 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.376, @Core.IntLiteral.as.ImplicitAs.impl.Convert.2(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.1f9: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.fbc: %u32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.501(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.498: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.040: = impl_witness imports.%ImplicitAs.impl_witness_table.0c6, @Core.IntLiteral.as.ImplicitAs.impl.501(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.34d: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.501(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.09f: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.34d = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.1fc: %ImplicitAs.type.b0a = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.040) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.9e6: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u32, %ImplicitAs.facet.1fc) [concrete] +// CHECK:STDOUT: %.955: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.9e6, %ImplicitAs.facet.1fc [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.be4: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.09f [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.09f, @Core.IntLiteral.as.ImplicitAs.impl.Convert.2(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.591: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.ce2: %u32 = int_value 1 [concrete] // CHECK:STDOUT: %UIntResult: type = class_type @UIntResult [concrete] // CHECK:STDOUT: %pattern_type.5a5: type = pattern_type %UIntResult [concrete] // CHECK:STDOUT: %ptr.c09: type = ptr_type %UIntResult [concrete] @@ -3864,48 +3864,48 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %PassULong__carbon_thunk.8dc497.2: %PassULong__carbon_thunk.type.f4cf84.2 = struct_value () [concrete] // CHECK:STDOUT: %Float.type: type = generic_class_type @Float [concrete] // CHECK:STDOUT: %Float.generic: %Float.type = struct_value () [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.8bd: type = facet_type <@As, @As(%Cpp.unsigned_long)> [concrete] -// CHECK:STDOUT: %As.impl_witness.bf7: = impl_witness imports.%As.impl_witness_table.7fd [concrete] -// CHECK:STDOUT: %As.facet: %As.type.8bd = facet_value Core.IntLiteral, (%As.impl_witness.bf7) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.f0d: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%Cpp.unsigned_long, %As.facet) [concrete] -// CHECK:STDOUT: %.418: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0d, %As.facet [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.6d7: type = facet_type <@As, @As(%Cpp.unsigned_long)> [concrete] +// CHECK:STDOUT: %As.impl_witness.314: = impl_witness imports.%As.impl_witness_table.e82 [concrete] +// CHECK:STDOUT: %As.facet: %As.type.6d7 = facet_value Core.IntLiteral, (%As.impl_witness.314) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.981: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%Cpp.unsigned_long, %As.facet) [concrete] +// CHECK:STDOUT: %.f45: type = fn_type_with_self_type %As.WithSelf.Convert.type.981, %As.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type: type = fn_type @Core.IntLiteral.as.As.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert: %Core.IntLiteral.as.As.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.e45: = impl_witness imports.%ImplicitAs.impl_witness_table.287 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.3db: %ImplicitAs.type.4bd = facet_value %Cpp.unsigned_long, (%ImplicitAs.impl_witness.e45) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.670: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.3db) [concrete] -// CHECK:STDOUT: %.7a7: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.670, %ImplicitAs.facet.3db [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.6d1: = impl_witness imports.%ImplicitAs.impl_witness_table.245 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.677: %ImplicitAs.type.ace = facet_value %Cpp.unsigned_long, (%ImplicitAs.impl_witness.6d1) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.a12: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.677) [concrete] +// CHECK:STDOUT: %.165: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.a12, %ImplicitAs.facet.677 [concrete] // CHECK:STDOUT: %Cpp.unsigned_long.as.ImplicitAs.impl.Convert.type: type = fn_type @Cpp.unsigned_long.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Cpp.unsigned_long.as.ImplicitAs.impl.Convert: %Cpp.unsigned_long.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.unsigned_long.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.291, %Cpp.unsigned_long.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.750 [concrete] +// CHECK:STDOUT: %Cpp.unsigned_long.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.3ef, %Cpp.unsigned_long.as.ImplicitAs.impl.Convert [concrete] +// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.a26 [concrete] // CHECK:STDOUT: %f32.9b3: type = float_type %int_32, f32 [concrete] -// CHECK:STDOUT: %pattern_type.ee6: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.aab: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] // CHECK:STDOUT: %tuple.type: type = tuple_type (Core.FloatLiteral) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%float.6da) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.1dd: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.750)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bfc: = impl_witness imports.%ImplicitAs.impl_witness_table.3c0, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.9f5: %ImplicitAs.type.1dd = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.bfc) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.750, %ImplicitAs.facet.9f5) [concrete] -// CHECK:STDOUT: %.28b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68e, %ImplicitAs.facet.9f5 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.5a8: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%float.467) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.d0d: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.a26)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.65d: = impl_witness imports.%ImplicitAs.impl_witness_table.234, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.82a: %ImplicitAs.type.d0d = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.65d) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c87: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.a26, %ImplicitAs.facet.82a) [concrete] +// CHECK:STDOUT: %.3a8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c87, %ImplicitAs.facet.82a [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.aaa: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%float.2ec) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc24_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc24_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: %UIntResult.cpp_destructor.type: type = fn_type @UIntResult.cpp_destructor [concrete] // CHECK:STDOUT: %UIntResult.cpp_destructor: %UIntResult.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: %ULongResult.cpp_destructor.type: type = fn_type @ULongResult.cpp_destructor [concrete] @@ -3914,7 +3914,7 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: .CppCompat = %CppCompat.69028d.1 +// CHECK:STDOUT: .CppCompat = %CppCompat.463205.1 // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: .UInt = %Core.UInt // CHECK:STDOUT: .Float = %Core.Float @@ -3931,15 +3931,15 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.CppCompat: = import_ref Core//prelude, CppCompat, loaded -// CHECK:STDOUT: %CppCompat.69028d.1: = namespace %Core.CppCompat, [concrete] { +// CHECK:STDOUT: %CppCompat.463205.1: = namespace %Core.CppCompat, [concrete] { // CHECK:STDOUT: .ULong32 = %Core.ULong32 // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.ULong32: type = import_ref Core//prelude/types/cpp/int, ULong32, loaded [concrete = constants.%Cpp.unsigned_long] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.67b339.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3d9 = impl_witness_table (%Core.import_ref.67b339.1), @Core.IntLiteral.as.ImplicitAs.impl.30d [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.a9a = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.ImplicitAs.impl.160 [concrete] // CHECK:STDOUT: %ULongResult.decl: type = class_decl @ULongResult [concrete = constants.%ULongResult] {} {} // CHECK:STDOUT: %PassULong.cpp_overload_set.value: %PassULong.cpp_overload_set.type = cpp_overload_set_value @PassULong.cpp_overload_set [concrete = constants.%PassULong.cpp_overload_set.value] // CHECK:STDOUT: %PassULong__carbon_thunk.decl.43aa98.1: %PassULong__carbon_thunk.type.f4cf84.1 = fn_decl @PassULong__carbon_thunk.1 [concrete = constants.%PassULong__carbon_thunk.8dc497.1] { @@ -3948,8 +3948,8 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: %Core.UInt: %UInt.type = import_ref Core//prelude/types/uint, UInt, loaded [concrete = constants.%UInt.generic] -// CHECK:STDOUT: %Core.import_ref.0ae: @Core.IntLiteral.as.ImplicitAs.impl.f1e.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.f1e.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.c97 = impl_witness_table (%Core.import_ref.0ae), @Core.IntLiteral.as.ImplicitAs.impl.f1e [concrete] +// CHECK:STDOUT: %Core.import_ref.e9f: @Core.IntLiteral.as.ImplicitAs.impl.501.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.501.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.498)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0c6 = impl_witness_table (%Core.import_ref.e9f), @Core.IntLiteral.as.ImplicitAs.impl.501 [concrete] // CHECK:STDOUT: %UIntResult.decl: type = class_decl @UIntResult [concrete = constants.%UIntResult] {} {} // CHECK:STDOUT: %PassULong__carbon_thunk.decl.43aa98.2: %PassULong__carbon_thunk.type.f4cf84.2 = fn_decl @PassULong__carbon_thunk.2 [concrete = constants.%PassULong__carbon_thunk.8dc497.2] { // CHECK:STDOUT: @@ -3957,31 +3957,31 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Float: %Float.type = import_ref Core//prelude/types/float, Float, loaded [concrete = constants.%Float.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/operators/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.67b339.2: %Core.IntLiteral.as.As.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] -// CHECK:STDOUT: %As.impl_witness_table.7fd = impl_witness_table (%Core.import_ref.67b339.2), @Core.IntLiteral.as.As.impl.536 [concrete] -// CHECK:STDOUT: %Core.import_ref.67b339.3: %Cpp.unsigned_long.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.unsigned_long.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.287 = impl_witness_table (%Core.import_ref.67b339.3), @Cpp.unsigned_long.as.ImplicitAs.impl.61b [concrete] -// CHECK:STDOUT: %Core.import_ref.831: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3c0 = impl_witness_table (%Core.import_ref.831), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/operators/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %Core.IntLiteral.as.As.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %As.impl_witness_table.e82 = impl_witness_table (%Core.import_ref.adef5f.2), @Core.IntLiteral.as.As.impl.51f [concrete] +// CHECK:STDOUT: %Core.import_ref.adef5f.3: %Cpp.unsigned_long.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.unsigned_long.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.245 = impl_witness_table (%Core.import_ref.adef5f.3), @Cpp.unsigned_long.as.ImplicitAs.impl.b42 [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.234 = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_unsigned_long.patt: %pattern_type.90a = value_binding_pattern cpp_unsigned_long [concrete] +// CHECK:STDOUT: %cpp_unsigned_long.patt: %pattern_type.9f4 = value_binding_pattern cpp_unsigned_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc15: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc15_29: type = splice_block %unsigned_long.ref.loc15 [concrete = constants.%Cpp.unsigned_long] { // CHECK:STDOUT: %Cpp.ref.loc15: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %unsigned_long.ref.loc15: type = name_ref unsigned_long, constants.%Cpp.unsigned_long [concrete = constants.%Cpp.unsigned_long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc15: %.ddc = impl_witness_access constants.%ImplicitAs.impl_witness.f6c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc15: %.c47 = impl_witness_access constants.%ImplicitAs.impl_witness.1e5, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc15: = bound_method %int_1.loc15, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %Cpp.unsigned_long = call %bound_method.loc15(%int_1.loc15) [concrete = constants.%int_1.291] -// CHECK:STDOUT: %.loc15_46.1: %Cpp.unsigned_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_1.291] -// CHECK:STDOUT: %.loc15_46.2: %Cpp.unsigned_long = converted %int_1.loc15, %.loc15_46.1 [concrete = constants.%int_1.291] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %Cpp.unsigned_long = call %bound_method.loc15(%int_1.loc15) [concrete = constants.%int_1.3ef] +// CHECK:STDOUT: %.loc15_46.1: %Cpp.unsigned_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_1.3ef] +// CHECK:STDOUT: %.loc15_46.2: %Cpp.unsigned_long = converted %int_1.loc15, %.loc15_46.1 [concrete = constants.%int_1.3ef] // CHECK:STDOUT: %cpp_unsigned_long: %Cpp.unsigned_long = value_binding cpp_unsigned_long, %.loc15_46.2 // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %cpp_unsigned_long_result.patt: %pattern_type.38e = value_binding_pattern cpp_unsigned_long_result [concrete] @@ -4001,12 +4001,12 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc16_89.4: %ULongResult = acquire_value %.loc16_89.3 // CHECK:STDOUT: %cpp_unsigned_long_result: %ULongResult = value_binding cpp_unsigned_long_result, %.loc16_89.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_compat_ulong.patt: %pattern_type.90a = value_binding_pattern cpp_compat_ulong [concrete] +// CHECK:STDOUT: %cpp_compat_ulong.patt: %pattern_type.9f4 = value_binding_pattern cpp_compat_ulong [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_unsigned_long.ref.loc18: %Cpp.unsigned_long = name_ref cpp_unsigned_long, %cpp_unsigned_long // CHECK:STDOUT: %.loc18: type = splice_block %ULong32.ref [concrete = constants.%Cpp.unsigned_long] { // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %CppCompat.ref: = name_ref CppCompat, imports.%CppCompat.69028d.1 [concrete = imports.%CppCompat.69028d.1] +// CHECK:STDOUT: %CppCompat.ref: = name_ref CppCompat, imports.%CppCompat.463205.1 [concrete = imports.%CppCompat.463205.1] // CHECK:STDOUT: %ULong32.ref: type = name_ref ULong32, imports.%Core.ULong32 [concrete = constants.%Cpp.unsigned_long] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_compat_ulong: %Cpp.unsigned_long = value_binding cpp_compat_ulong, %cpp_unsigned_long.ref.loc18 @@ -4028,17 +4028,17 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc19_87.4: %ULongResult = acquire_value %.loc19_87.3 // CHECK:STDOUT: %cpp_compat_ulong_result: %ULongResult = value_binding cpp_compat_ulong_result, %.loc19_87.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_u32.patt: %pattern_type.632 = value_binding_pattern carbon_u32 [concrete] +// CHECK:STDOUT: %carbon_u32.patt: %pattern_type.126 = value_binding_pattern carbon_u32 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc21: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %u32: type = type_literal constants.%u32 [concrete = constants.%u32] -// CHECK:STDOUT: %impl.elem0.loc21: %.96f = impl_witness_access constants.%ImplicitAs.impl_witness.0aa, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.376] -// CHECK:STDOUT: %bound_method.loc21_25.1: = bound_method %int_1.loc21, %impl.elem0.loc21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d64] +// CHECK:STDOUT: %impl.elem0.loc21: %.955 = impl_witness_access constants.%ImplicitAs.impl_witness.040, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.09f] +// CHECK:STDOUT: %bound_method.loc21_25.1: = bound_method %int_1.loc21, %impl.elem0.loc21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.be4] // CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem0.loc21, @Core.IntLiteral.as.ImplicitAs.impl.Convert.2(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc21_25.2: = bound_method %int_1.loc21, %specific_fn.loc21 [concrete = constants.%bound_method.1f9] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %u32 = call %bound_method.loc21_25.2(%int_1.loc21) [concrete = constants.%int_1.fbc] -// CHECK:STDOUT: %.loc21_25.1: %u32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.fbc] -// CHECK:STDOUT: %.loc21_25.2: %u32 = converted %int_1.loc21, %.loc21_25.1 [concrete = constants.%int_1.fbc] +// CHECK:STDOUT: %bound_method.loc21_25.2: = bound_method %int_1.loc21, %specific_fn.loc21 [concrete = constants.%bound_method.591] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %u32 = call %bound_method.loc21_25.2(%int_1.loc21) [concrete = constants.%int_1.ce2] +// CHECK:STDOUT: %.loc21_25.1: %u32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.ce2] +// CHECK:STDOUT: %.loc21_25.2: %u32 = converted %int_1.loc21, %.loc21_25.1 [concrete = constants.%int_1.ce2] // CHECK:STDOUT: %carbon_u32: %u32 = value_binding carbon_u32, %.loc21_25.2 // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %carbon_u32_result.patt: %pattern_type.5a5 = value_binding_pattern carbon_u32_result [concrete] @@ -4058,35 +4058,35 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %.loc22_74.4: %UIntResult = acquire_value %.loc22_74.3 // CHECK:STDOUT: %carbon_u32_result: %UIntResult = value_binding carbon_u32_result, %.loc22_74.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.ee6 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.ee6 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.aab = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.aab = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] // CHECK:STDOUT: %.loc24_59.1: %tuple.type = tuple_literal (%float) [concrete = constants.%tuple] -// CHECK:STDOUT: %impl.elem0.loc24_59: %.28b = impl_witness_access constants.%ImplicitAs.impl_witness.bfc, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] +// CHECK:STDOUT: %impl.elem0.loc24_59: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] // CHECK:STDOUT: %bound_method.loc24_59.1: = bound_method %float, %impl.elem0.loc24_59 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc24: = specific_function %impl.elem0.loc24_59, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc24_59.2: = bound_method %float, %specific_fn.loc24 [concrete = constants.%bound_method.5a8] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.750 = call %bound_method.loc24_59.2(%float) [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc24_59.2: init %f32.750 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.467] +// CHECK:STDOUT: %bound_method.loc24_59.2: = bound_method %float, %specific_fn.loc24 [concrete = constants.%bound_method.aaa] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.a26 = call %bound_method.loc24_59.2(%float) [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc24_59.2: init %f32.a26 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.2ec] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %.loc24_59.3: ref %f32.750 = array_index %a.var, %int_0 -// CHECK:STDOUT: %.loc24_59.4: init %f32.750 to %.loc24_59.3 = in_place_init %.loc24_59.2 [concrete = constants.%float.467] +// CHECK:STDOUT: %.loc24_59.3: ref %f32.a26 = array_index %a.var, %int_0 +// CHECK:STDOUT: %.loc24_59.4: init %f32.a26 to %.loc24_59.3 = in_place_init %.loc24_59.2 [concrete = constants.%float.2ec] // CHECK:STDOUT: %.loc24_59.5: init %array_type to %a.var = array_init (%.loc24_59.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc24_3: init %array_type = converted %.loc24_59.1, %.loc24_59.5 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc24_3 // CHECK:STDOUT: %.loc24_50: type = splice_block %array_type [concrete = constants.%array_type] { -// CHECK:STDOUT: %f32: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] +// CHECK:STDOUT: %f32: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] // CHECK:STDOUT: %int_1.loc24: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %Cpp.ref.loc24: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %unsigned_long.ref.loc24: type = name_ref unsigned_long, constants.%Cpp.unsigned_long [concrete = constants.%Cpp.unsigned_long] -// CHECK:STDOUT: %impl.elem0.loc24_30.1: %.418 = impl_witness_access constants.%As.impl_witness.bf7, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc24_30.1: %.f45 = impl_witness_access constants.%As.impl_witness.314, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] // CHECK:STDOUT: %bound_method.loc24_30.1: = bound_method %int_1.loc24, %impl.elem0.loc24_30.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %Cpp.unsigned_long = call %bound_method.loc24_30.1(%int_1.loc24) [concrete = constants.%int_1.291] -// CHECK:STDOUT: %.loc24_30.1: %Cpp.unsigned_long = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.291] -// CHECK:STDOUT: %.loc24_30.2: %Cpp.unsigned_long = converted %int_1.loc24, %.loc24_30.1 [concrete = constants.%int_1.291] -// CHECK:STDOUT: %impl.elem0.loc24_30.2: %.7a7 = impl_witness_access constants.%ImplicitAs.impl_witness.e45, element0 [concrete = constants.%Cpp.unsigned_long.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %Cpp.unsigned_long = call %bound_method.loc24_30.1(%int_1.loc24) [concrete = constants.%int_1.3ef] +// CHECK:STDOUT: %.loc24_30.1: %Cpp.unsigned_long = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.3ef] +// CHECK:STDOUT: %.loc24_30.2: %Cpp.unsigned_long = converted %int_1.loc24, %.loc24_30.1 [concrete = constants.%int_1.3ef] +// CHECK:STDOUT: %impl.elem0.loc24_30.2: %.165 = impl_witness_access constants.%ImplicitAs.impl_witness.6d1, element0 [concrete = constants.%Cpp.unsigned_long.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc24_30.2: = bound_method %.loc24_30.2, %impl.elem0.loc24_30.2 [concrete = constants.%Cpp.unsigned_long.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %Cpp.unsigned_long.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.loc24_30.2(%.loc24_30.2) [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc24_30.3: Core.IntLiteral = value_of_initializer %Cpp.unsigned_long.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.5b8] @@ -4094,7 +4094,7 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %array_type: type = array_type %.loc24_30.4, %f32 [concrete = constants.%array_type] // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: %UIntResult.cpp_destructor.bound: = bound_method %.loc22_74.3, constants.%UIntResult.cpp_destructor // CHECK:STDOUT: %UIntResult.cpp_destructor.call: init %empty_tuple.type = call %UIntResult.cpp_destructor.bound(%.loc22_74.3) @@ -4107,7 +4107,7 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.1(%self.param: ref %f32.9b3) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc24_3.2(%self.param: ref %f32.750) { +// CHECK:STDOUT: fn @Destroy.Op.loc24_3.2(%self.param: ref %f32.a26) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -4124,26 +4124,26 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %Cpp.unsigned_long: type = class_type @ULong32 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %u32.builtin: type = int_type unsigned, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.90a: type = pattern_type %Cpp.unsigned_long [concrete] +// CHECK:STDOUT: %pattern_type.9f4: type = pattern_type %Cpp.unsigned_long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.5e1: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.unsigned_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ae2: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.unsigned_long)> [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f6c: = impl_witness imports.%ImplicitAs.impl_witness_table.3d9 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.5e1 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.f6c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.2cb: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.unsigned_long, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.ddc: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.2cb, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.1e5: = impl_witness imports.%ImplicitAs.impl_witness_table.a9a [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.ae2 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.1e5) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.57e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.unsigned_long, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.c47: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.57e, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.291: %Cpp.unsigned_long = int_value 1 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.52f: = impl_witness imports.%Copy.impl_witness_table.71d [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Cpp.unsigned_long, (%Copy.impl_witness.52f) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.478: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.67c3: type = fn_type_with_self_type %Copy.WithSelf.Op.type.478, %Copy.facet [concrete] +// CHECK:STDOUT: %int_1.3ef: %Cpp.unsigned_long = int_value 1 [concrete] +// CHECK:STDOUT: %Copy.impl_witness.d5d: = impl_witness imports.%Copy.impl_witness_table.916 [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Cpp.unsigned_long, (%Copy.impl_witness.d5d) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.9f4: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.f33: type = fn_type_with_self_type %Copy.WithSelf.Op.type.9f4, %Copy.facet [concrete] // CHECK:STDOUT: %Cpp.unsigned_long.as.Copy.impl.Op.type: type = fn_type @Cpp.unsigned_long.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Cpp.unsigned_long.as.Copy.impl.Op: %Cpp.unsigned_long.as.Copy.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -4151,24 +4151,24 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: .unsigned_long = constants.%Cpp.unsigned_long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3d9 = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.30d [concrete] -// CHECK:STDOUT: %Core.import_ref.59e: %Cpp.unsigned_long.as.Copy.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.unsigned_long.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.71d = impl_witness_table (%Core.import_ref.59e), @Cpp.unsigned_long.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.a9a = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.160 [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Cpp.unsigned_long.as.Copy.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.unsigned_long.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.916 = impl_witness_table (%Core.import_ref.f63), @Cpp.unsigned_long.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CopyUnsignedLong() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.90a = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.90a = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.9f4 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.9f4 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.unsigned_long = var %a.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.ddc = impl_witness_access constants.%ImplicitAs.impl_witness.f6c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.c47 = impl_witness_access constants.%ImplicitAs.impl_witness.1e5, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.unsigned_long = call %bound_method.loc8(%int_1) [concrete = constants.%int_1.291] -// CHECK:STDOUT: %.loc8_3: init %Cpp.unsigned_long = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.291] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.unsigned_long = call %bound_method.loc8(%int_1) [concrete = constants.%int_1.3ef] +// CHECK:STDOUT: %.loc8_3: init %Cpp.unsigned_long = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.3ef] // CHECK:STDOUT: assign %a.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %unsigned_long.ref.loc8 [concrete = constants.%Cpp.unsigned_long] { // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -4176,13 +4176,13 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %Cpp.unsigned_long = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.90a = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.90a = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.9f4 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.9f4 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %Cpp.unsigned_long = var %b.var_patt // CHECK:STDOUT: %a.ref: ref %Cpp.unsigned_long = name_ref a, %a // CHECK:STDOUT: %.loc9_37: %Cpp.unsigned_long = acquire_value %a.ref -// CHECK:STDOUT: %impl.elem0.loc9: %.67c3 = impl_witness_access constants.%Copy.impl_witness.52f, element0 [concrete = constants.%Cpp.unsigned_long.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc9: %.f33 = impl_witness_access constants.%Copy.impl_witness.d5d, element0 [concrete = constants.%Cpp.unsigned_long.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc9: = bound_method %.loc9_37, %impl.elem0.loc9 // CHECK:STDOUT: %Cpp.unsigned_long.as.Copy.impl.Op.call: init %Cpp.unsigned_long = call %bound_method.loc9(%.loc9_37) // CHECK:STDOUT: assign %b.var, %Cpp.unsigned_long.as.Copy.impl.Op.call @@ -4191,9 +4191,9 @@ fn CopyUnsignedLong() { // CHECK:STDOUT: %unsigned_long.ref.loc9: type = name_ref unsigned_long, constants.%Cpp.unsigned_long [concrete = constants.%Cpp.unsigned_long] // CHECK:STDOUT: } // CHECK:STDOUT: %b: ref %Cpp.unsigned_long = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc9: init %empty_tuple.type = call %Destroy.Op.bound.loc9(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.lp64.carbon b/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.lp64.carbon index d16c67f883d0..d01de5145392 100644 --- a/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.lp64.carbon +++ b/toolchain/check/testdata/interop/cpp/primitive_types/long_and_long_long.lp64.carbon @@ -638,72 +638,72 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.c8a: type = pattern_type %i64 [concrete] +// CHECK:STDOUT: %pattern_type.fdd: type = pattern_type %i64 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.e82: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.08a: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From.fe9: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.2f8: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From.fe9) [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.7c2: %Int.as.ImplicitAs.impl.Convert.type.2f8 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.a33: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.d03: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.d03 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.b11: %ImplicitAs.type.e82 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.a33) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.486: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i64, %ImplicitAs.facet.b11) [concrete] -// CHECK:STDOUT: %.036: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.486, %ImplicitAs.facet.b11 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.3b9: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.9e7: %i64 = int_value 1 [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.f73: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From.fe9) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.34b: %Int.as.ImplicitAs.impl.Convert.type.f73 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.35c: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.fc2: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.fc2 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.8a1: %ImplicitAs.type.08a = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.35c) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.744: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i64, %ImplicitAs.facet.8a1) [concrete] +// CHECK:STDOUT: %.d4c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.744, %ImplicitAs.facet.8a1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.072: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.0f3: %i64 = int_value 1 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %As.type.66a: type = facet_type <@As, @As(%i64)> [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.32d: = impl_witness imports.%As.impl_witness_table.913, @Core.IntLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.faf: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.370: %Core.IntLiteral.as.As.impl.Convert.type.faf = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.66a = facet_value Core.IntLiteral, (%As.impl_witness.32d) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.ee4: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i64, %As.facet) [concrete] -// CHECK:STDOUT: %.feb: type = fn_type_with_self_type %As.WithSelf.Convert.type.ee4, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.370 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.370, @Core.IntLiteral.as.As.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.c14: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.e8a: = impl_witness imports.%ImplicitAs.impl_witness_table.9df, @Int.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.35f: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.f2c: %Int.as.ImplicitAs.impl.Convert.type.35f = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.607: %ImplicitAs.type.4bd = facet_value %i64, (%ImplicitAs.impl_witness.e8a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.374: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.607) [concrete] -// CHECK:STDOUT: %.d1c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.374, %ImplicitAs.facet.607 [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.9e7, %Int.as.ImplicitAs.impl.Convert.f2c [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.f2c, @Int.as.ImplicitAs.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.181: = bound_method %int_1.9e7, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.750 [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %As.type.b69: type = facet_type <@As, @As(%i64)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.0e9: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.8db: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.fb1: %Core.IntLiteral.as.As.impl.Convert.type.8db = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.b69 = facet_value Core.IntLiteral, (%As.impl_witness.0e9) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.553: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i64, %As.facet) [concrete] +// CHECK:STDOUT: %.9b9: type = fn_type_with_self_type %As.WithSelf.Convert.type.553, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.fb1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.fb1, @Core.IntLiteral.as.As.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.b27: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.4e4: = impl_witness imports.%ImplicitAs.impl_witness_table.eac, @Int.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.382: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.63c: %Int.as.ImplicitAs.impl.Convert.type.382 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.643: %ImplicitAs.type.ace = facet_value %i64, (%ImplicitAs.impl_witness.4e4) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.aac: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.643) [concrete] +// CHECK:STDOUT: %.737: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.aac, %ImplicitAs.facet.643 [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.0f3, %Int.as.ImplicitAs.impl.Convert.63c [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.63c, @Int.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.e78: = bound_method %int_1.0f3, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.a26 [concrete] // CHECK:STDOUT: %f32.9b3: type = float_type %int_32, f32 [concrete] -// CHECK:STDOUT: %pattern_type.ee6: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.aab: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] // CHECK:STDOUT: %tuple.type: type = tuple_type (Core.FloatLiteral) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%float.6da) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.1dd: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.750)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bfc: = impl_witness imports.%ImplicitAs.impl_witness_table.3c0, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.9f5: %ImplicitAs.type.1dd = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.bfc) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.750, %ImplicitAs.facet.9f5) [concrete] -// CHECK:STDOUT: %.28b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68e, %ImplicitAs.facet.9f5 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.5a8: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%float.467) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc11_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.d0d: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.a26)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.65d: = impl_witness imports.%ImplicitAs.impl_witness_table.234, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.82a: %ImplicitAs.type.d0d = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.65d) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c87: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.a26, %ImplicitAs.facet.82a) [concrete] +// CHECK:STDOUT: %.3a8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c87, %ImplicitAs.facet.82a [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.aaa: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%float.2ec) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc11_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -711,20 +711,20 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: .long = @F.%i64.2 // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.321: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.2f8) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.7c2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.9df = impl_witness_table (%Core.import_ref.321), @Int.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.4af: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.913 = impl_witness_table (%Core.import_ref.4af), @Core.IntLiteral.as.As.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.831: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3c0 = impl_witness_table (%Core.import_ref.831), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.835: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.f73) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.34b)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eac = impl_witness_table (%Core.import_ref.835), @Int.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.234 = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_long.patt: %pattern_type.c8a = value_binding_pattern cpp_long [concrete] +// CHECK:STDOUT: %cpp_long.patt: %pattern_type.fdd = value_binding_pattern cpp_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc8_20: type = splice_block %long.ref.loc8 [concrete = constants.%i64] { @@ -732,69 +732,69 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: // CHECK:STDOUT: %long.ref.loc8: type = name_ref long, %i64.2 [concrete = constants.%i64] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc8: %.036 = impl_witness_access constants.%ImplicitAs.impl_witness.a33, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6] +// CHECK:STDOUT: %impl.elem0.loc8: %.d4c = impl_witness_access constants.%ImplicitAs.impl_witness.35c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5] // CHECK:STDOUT: %bound_method.loc8_28.1: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_28.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.3b9] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i64 = call %bound_method.loc8_28.2(%int_1.loc8) [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc8_28.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc8_28.2: %i64 = converted %int_1.loc8, %.loc8_28.1 [concrete = constants.%int_1.9e7] +// CHECK:STDOUT: %bound_method.loc8_28.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.072] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i64 = call %bound_method.loc8_28.2(%int_1.loc8) [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc8_28.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc8_28.2: %i64 = converted %int_1.loc8, %.loc8_28.1 [concrete = constants.%int_1.0f3] // CHECK:STDOUT: %cpp_long: %i64 = value_binding cpp_long, %.loc8_28.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_long.patt: %pattern_type.c8a = value_binding_pattern carbon_long [concrete] +// CHECK:STDOUT: %carbon_long.patt: %pattern_type.fdd = value_binding_pattern carbon_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_long.ref: %i64 = name_ref cpp_long, %cpp_long // CHECK:STDOUT: %i64.loc9: type = type_literal constants.%i64 [concrete = constants.%i64] // CHECK:STDOUT: %carbon_long: %i64 = value_binding carbon_long, %cpp_long.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.ee6 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.ee6 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.aab = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.aab = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] // CHECK:STDOUT: %.loc11_50.1: %tuple.type = tuple_literal (%float) [concrete = constants.%tuple] -// CHECK:STDOUT: %impl.elem0.loc11_50: %.28b = impl_witness_access constants.%ImplicitAs.impl_witness.bfc, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] +// CHECK:STDOUT: %impl.elem0.loc11_50: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] // CHECK:STDOUT: %bound_method.loc11_50.1: = bound_method %float, %impl.elem0.loc11_50 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_50: = specific_function %impl.elem0.loc11_50, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_50.2: = bound_method %float, %specific_fn.loc11_50 [concrete = constants.%bound_method.5a8] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.750 = call %bound_method.loc11_50.2(%float) [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc11_50.2: init %f32.750 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.467] +// CHECK:STDOUT: %bound_method.loc11_50.2: = bound_method %float, %specific_fn.loc11_50 [concrete = constants.%bound_method.aaa] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.a26 = call %bound_method.loc11_50.2(%float) [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc11_50.2: init %f32.a26 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.2ec] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %.loc11_50.3: ref %f32.750 = array_index %a.var, %int_0 -// CHECK:STDOUT: %.loc11_50.4: init %f32.750 to %.loc11_50.3 = in_place_init %.loc11_50.2 [concrete = constants.%float.467] +// CHECK:STDOUT: %.loc11_50.3: ref %f32.a26 = array_index %a.var, %int_0 +// CHECK:STDOUT: %.loc11_50.4: init %f32.a26 to %.loc11_50.3 = in_place_init %.loc11_50.2 [concrete = constants.%float.2ec] // CHECK:STDOUT: %.loc11_50.5: init %array_type to %a.var = array_init (%.loc11_50.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc11_3: init %array_type = converted %.loc11_50.1, %.loc11_50.5 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc11_3 // CHECK:STDOUT: %.loc11_41: type = splice_block %array_type [concrete = constants.%array_type] { -// CHECK:STDOUT: %f32: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] +// CHECK:STDOUT: %f32: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] // CHECK:STDOUT: %int_1.loc11: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long.ref.loc11: type = name_ref long, %i64.2 [concrete = constants.%i64] -// CHECK:STDOUT: %impl.elem0.loc11_30.1: %.feb = impl_witness_access constants.%As.impl_witness.32d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.370] +// CHECK:STDOUT: %impl.elem0.loc11_30.1: %.9b9 = impl_witness_access constants.%As.impl_witness.0e9, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.fb1] // CHECK:STDOUT: %bound_method.loc11_30.1: = bound_method %int_1.loc11, %impl.elem0.loc11_30.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_30.1: = specific_function %impl.elem0.loc11_30.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_30.2: = bound_method %int_1.loc11, %specific_fn.loc11_30.1 [concrete = constants.%bound_method.c14] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i64 = call %bound_method.loc11_30.2(%int_1.loc11) [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc11_30.1: %i64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc11_30.2: %i64 = converted %int_1.loc11, %.loc11_30.1 [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %impl.elem0.loc11_30.2: %.d1c = impl_witness_access constants.%ImplicitAs.impl_witness.e8a, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.f2c] +// CHECK:STDOUT: %bound_method.loc11_30.2: = bound_method %int_1.loc11, %specific_fn.loc11_30.1 [concrete = constants.%bound_method.b27] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i64 = call %bound_method.loc11_30.2(%int_1.loc11) [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc11_30.1: %i64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc11_30.2: %i64 = converted %int_1.loc11, %.loc11_30.1 [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %impl.elem0.loc11_30.2: %.737 = impl_witness_access constants.%ImplicitAs.impl_witness.4e4, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.63c] // CHECK:STDOUT: %bound_method.loc11_30.3: = bound_method %.loc11_30.2, %impl.elem0.loc11_30.2 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_30.2: = specific_function %impl.elem0.loc11_30.2, @Int.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Int.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_30.4: = bound_method %.loc11_30.2, %specific_fn.loc11_30.2 [concrete = constants.%bound_method.181] +// CHECK:STDOUT: %bound_method.loc11_30.4: = bound_method %.loc11_30.2, %specific_fn.loc11_30.2 [concrete = constants.%bound_method.e78] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.loc11_30.4(%.loc11_30.2) [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc11_30.3: Core.IntLiteral = value_of_initializer %Int.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc11_30.4: Core.IntLiteral = converted %.loc11_30.2, %.loc11_30.3 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %array_type: type = array_type %.loc11_30.4, %f32 [concrete = constants.%array_type] // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.1(%self.param: ref %f32.9b3) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %f32.750) { +// CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %f32.a26) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -811,72 +811,72 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %u64: type = class_type @UInt, @UInt(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.bb8: type = pattern_type %u64 [concrete] +// CHECK:STDOUT: %pattern_type.597: type = pattern_type %u64 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.704: type = facet_type <@ImplicitAs, @ImplicitAs(%u64)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.9b6: type = facet_type <@ImplicitAs, @ImplicitAs(%u64)> [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.498: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From.fe9: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.type.dce: type = fn_type @UInt.as.ImplicitAs.impl.Convert.1, @UInt.as.ImplicitAs.impl.1b7(%From.fe9) [symbolic] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.60d: %UInt.as.ImplicitAs.impl.Convert.type.dce = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.093: = impl_witness imports.%ImplicitAs.impl_witness_table.c97, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.de8: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3e4: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.de8 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.338: %ImplicitAs.type.704 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.093) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.25c: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u64, %ImplicitAs.facet.338) [concrete] -// CHECK:STDOUT: %.f05: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.25c, %ImplicitAs.facet.338 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3e4 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.3e4, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.818: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.21a: %u64 = int_value 1 [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.type.594: type = fn_type @UInt.as.ImplicitAs.impl.Convert.1, @UInt.as.ImplicitAs.impl.791(%From.fe9) [symbolic] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.141: %UInt.as.ImplicitAs.impl.Convert.type.594 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.248: = impl_witness imports.%ImplicitAs.impl_witness_table.0c6, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.dbe: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.b79: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.dbe = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.b50: %ImplicitAs.type.9b6 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.248) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.a9d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u64, %ImplicitAs.facet.b50) [concrete] +// CHECK:STDOUT: %.200: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.a9d, %ImplicitAs.facet.b50 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.b79 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.b79, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.231: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.8a8: %u64 = int_value 1 [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %As.type.689: type = facet_type <@As, @As(%u64)> [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.841: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.94d: %Core.IntLiteral.as.As.impl.Convert.type.841 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.03f: = impl_witness imports.%As.impl_witness_table.db7, @Core.IntLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.c59: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.c9b: %Core.IntLiteral.as.As.impl.Convert.type.c59 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.689 = facet_value Core.IntLiteral, (%As.impl_witness.03f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.479: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%u64, %As.facet) [concrete] -// CHECK:STDOUT: %.37a: type = fn_type_with_self_type %As.WithSelf.Convert.type.479, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.c9b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.c9b, @Core.IntLiteral.as.As.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.eb6: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.c34: = impl_witness imports.%ImplicitAs.impl_witness_table.3d8, @UInt.as.ImplicitAs.impl.1b7(%int_64) [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.type.22d: type = fn_type @UInt.as.ImplicitAs.impl.Convert.1, @UInt.as.ImplicitAs.impl.1b7(%int_64) [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.8c3: %UInt.as.ImplicitAs.impl.Convert.type.22d = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.2d5: %ImplicitAs.type.4bd = facet_value %u64, (%ImplicitAs.impl_witness.c34) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b9f: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.2d5) [concrete] -// CHECK:STDOUT: %.511: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b9f, %ImplicitAs.facet.2d5 [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.21a, %UInt.as.ImplicitAs.impl.Convert.8c3 [concrete] -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %UInt.as.ImplicitAs.impl.Convert.8c3, @UInt.as.ImplicitAs.impl.Convert.1(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.699: = bound_method %int_1.21a, %UInt.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.750 [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %As.type.8af: type = facet_type <@As, @As(%u64)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.150: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.b6a: %Core.IntLiteral.as.As.impl.Convert.type.150 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.042: = impl_witness imports.%As.impl_witness_table.613, @Core.IntLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.72b: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.113: %Core.IntLiteral.as.As.impl.Convert.type.72b = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.8af = facet_value Core.IntLiteral, (%As.impl_witness.042) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.ed7: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%u64, %As.facet) [concrete] +// CHECK:STDOUT: %.528: type = fn_type_with_self_type %As.WithSelf.Convert.type.ed7, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.113 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.113, @Core.IntLiteral.as.As.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.e13: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.569: = impl_witness imports.%ImplicitAs.impl_witness_table.1b2, @UInt.as.ImplicitAs.impl.791(%int_64) [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.type.fea: type = fn_type @UInt.as.ImplicitAs.impl.Convert.1, @UInt.as.ImplicitAs.impl.791(%int_64) [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.7f4: %UInt.as.ImplicitAs.impl.Convert.type.fea = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.f07: %ImplicitAs.type.ace = facet_value %u64, (%ImplicitAs.impl_witness.569) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.85c: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.f07) [concrete] +// CHECK:STDOUT: %.71b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.85c, %ImplicitAs.facet.f07 [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.8a8, %UInt.as.ImplicitAs.impl.Convert.7f4 [concrete] +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %UInt.as.ImplicitAs.impl.Convert.7f4, @UInt.as.ImplicitAs.impl.Convert.1(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.fb5: = bound_method %int_1.8a8, %UInt.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.a26 [concrete] // CHECK:STDOUT: %f32.9b3: type = float_type %int_32, f32 [concrete] -// CHECK:STDOUT: %pattern_type.ee6: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.aab: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] // CHECK:STDOUT: %tuple.type: type = tuple_type (Core.FloatLiteral) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%float.6da) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.1dd: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.750)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bfc: = impl_witness imports.%ImplicitAs.impl_witness_table.3c0, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.9f5: %ImplicitAs.type.1dd = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.bfc) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.750, %ImplicitAs.facet.9f5) [concrete] -// CHECK:STDOUT: %.28b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68e, %ImplicitAs.facet.9f5 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.5a8: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%float.467) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc11_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.d0d: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.a26)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.65d: = impl_witness imports.%ImplicitAs.impl_witness_table.234, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.82a: %ImplicitAs.type.d0d = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.65d) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c87: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.a26, %ImplicitAs.facet.82a) [concrete] +// CHECK:STDOUT: %.3a8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c87, %ImplicitAs.facet.82a [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.aaa: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%float.2ec) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc11_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -884,20 +884,20 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: .unsigned_long = @F.%u64.2 // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.0ae: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.c97 = impl_witness_table (%Core.import_ref.0ae), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.767: @UInt.as.ImplicitAs.impl.1b7.%UInt.as.ImplicitAs.impl.Convert.type (%UInt.as.ImplicitAs.impl.Convert.type.dce) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.ImplicitAs.impl.1b7.%UInt.as.ImplicitAs.impl.Convert (constants.%UInt.as.ImplicitAs.impl.Convert.60d)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3d8 = impl_witness_table (%Core.import_ref.767), @UInt.as.ImplicitAs.impl.1b7 [concrete] -// CHECK:STDOUT: %Core.import_ref.c1c: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.841) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.94d)] -// CHECK:STDOUT: %As.impl_witness_table.db7 = impl_witness_table (%Core.import_ref.c1c), @Core.IntLiteral.as.As.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.831: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3c0 = impl_witness_table (%Core.import_ref.831), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.e9f: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.498)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0c6 = impl_witness_table (%Core.import_ref.e9f), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.96b: @UInt.as.ImplicitAs.impl.791.%UInt.as.ImplicitAs.impl.Convert.type (%UInt.as.ImplicitAs.impl.Convert.type.594) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.ImplicitAs.impl.791.%UInt.as.ImplicitAs.impl.Convert (constants.%UInt.as.ImplicitAs.impl.Convert.141)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1b2 = impl_witness_table (%Core.import_ref.96b), @UInt.as.ImplicitAs.impl.791 [concrete] +// CHECK:STDOUT: %Core.import_ref.8db: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.150) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.b6a)] +// CHECK:STDOUT: %As.impl_witness_table.613 = impl_witness_table (%Core.import_ref.8db), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.234 = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_unsigned_long.patt: %pattern_type.bb8 = value_binding_pattern cpp_unsigned_long [concrete] +// CHECK:STDOUT: %cpp_unsigned_long.patt: %pattern_type.597 = value_binding_pattern cpp_unsigned_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc8_29: type = splice_block %unsigned_long.ref.loc8 [concrete = constants.%u64] { @@ -905,69 +905,69 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: // CHECK:STDOUT: %unsigned_long.ref.loc8: type = name_ref unsigned_long, %u64.2 [concrete = constants.%u64] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc8: %.f05 = impl_witness_access constants.%ImplicitAs.impl_witness.093, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3e4] +// CHECK:STDOUT: %impl.elem0.loc8: %.200 = impl_witness_access constants.%ImplicitAs.impl_witness.248, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.b79] // CHECK:STDOUT: %bound_method.loc8_46.1: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_46.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.818] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %u64 = call %bound_method.loc8_46.2(%int_1.loc8) [concrete = constants.%int_1.21a] -// CHECK:STDOUT: %.loc8_46.1: %u64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.21a] -// CHECK:STDOUT: %.loc8_46.2: %u64 = converted %int_1.loc8, %.loc8_46.1 [concrete = constants.%int_1.21a] +// CHECK:STDOUT: %bound_method.loc8_46.2: = bound_method %int_1.loc8, %specific_fn.loc8 [concrete = constants.%bound_method.231] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %u64 = call %bound_method.loc8_46.2(%int_1.loc8) [concrete = constants.%int_1.8a8] +// CHECK:STDOUT: %.loc8_46.1: %u64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.8a8] +// CHECK:STDOUT: %.loc8_46.2: %u64 = converted %int_1.loc8, %.loc8_46.1 [concrete = constants.%int_1.8a8] // CHECK:STDOUT: %cpp_unsigned_long: %u64 = value_binding cpp_unsigned_long, %.loc8_46.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_unsigned_long.patt: %pattern_type.bb8 = value_binding_pattern carbon_unsigned_long [concrete] +// CHECK:STDOUT: %carbon_unsigned_long.patt: %pattern_type.597 = value_binding_pattern carbon_unsigned_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_unsigned_long.ref: %u64 = name_ref cpp_unsigned_long, %cpp_unsigned_long // CHECK:STDOUT: %u64.loc9: type = type_literal constants.%u64 [concrete = constants.%u64] // CHECK:STDOUT: %carbon_unsigned_long: %u64 = value_binding carbon_unsigned_long, %cpp_unsigned_long.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.ee6 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.ee6 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.aab = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.aab = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] // CHECK:STDOUT: %.loc11_59.1: %tuple.type = tuple_literal (%float) [concrete = constants.%tuple] -// CHECK:STDOUT: %impl.elem0.loc11_59: %.28b = impl_witness_access constants.%ImplicitAs.impl_witness.bfc, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] +// CHECK:STDOUT: %impl.elem0.loc11_59: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] // CHECK:STDOUT: %bound_method.loc11_59.1: = bound_method %float, %impl.elem0.loc11_59 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_59: = specific_function %impl.elem0.loc11_59, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_59.2: = bound_method %float, %specific_fn.loc11_59 [concrete = constants.%bound_method.5a8] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.750 = call %bound_method.loc11_59.2(%float) [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc11_59.2: init %f32.750 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.467] +// CHECK:STDOUT: %bound_method.loc11_59.2: = bound_method %float, %specific_fn.loc11_59 [concrete = constants.%bound_method.aaa] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.a26 = call %bound_method.loc11_59.2(%float) [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc11_59.2: init %f32.a26 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.2ec] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %.loc11_59.3: ref %f32.750 = array_index %a.var, %int_0 -// CHECK:STDOUT: %.loc11_59.4: init %f32.750 to %.loc11_59.3 = in_place_init %.loc11_59.2 [concrete = constants.%float.467] +// CHECK:STDOUT: %.loc11_59.3: ref %f32.a26 = array_index %a.var, %int_0 +// CHECK:STDOUT: %.loc11_59.4: init %f32.a26 to %.loc11_59.3 = in_place_init %.loc11_59.2 [concrete = constants.%float.2ec] // CHECK:STDOUT: %.loc11_59.5: init %array_type to %a.var = array_init (%.loc11_59.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc11_3: init %array_type = converted %.loc11_59.1, %.loc11_59.5 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc11_3 // CHECK:STDOUT: %.loc11_50: type = splice_block %array_type [concrete = constants.%array_type] { -// CHECK:STDOUT: %f32: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] +// CHECK:STDOUT: %f32: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] // CHECK:STDOUT: %int_1.loc11: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %Cpp.ref.loc11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %unsigned_long.ref.loc11: type = name_ref unsigned_long, %u64.2 [concrete = constants.%u64] -// CHECK:STDOUT: %impl.elem0.loc11_30.1: %.37a = impl_witness_access constants.%As.impl_witness.03f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.c9b] +// CHECK:STDOUT: %impl.elem0.loc11_30.1: %.528 = impl_witness_access constants.%As.impl_witness.042, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.113] // CHECK:STDOUT: %bound_method.loc11_30.1: = bound_method %int_1.loc11, %impl.elem0.loc11_30.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_30.1: = specific_function %impl.elem0.loc11_30.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_30.2: = bound_method %int_1.loc11, %specific_fn.loc11_30.1 [concrete = constants.%bound_method.eb6] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %u64 = call %bound_method.loc11_30.2(%int_1.loc11) [concrete = constants.%int_1.21a] -// CHECK:STDOUT: %.loc11_30.1: %u64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.21a] -// CHECK:STDOUT: %.loc11_30.2: %u64 = converted %int_1.loc11, %.loc11_30.1 [concrete = constants.%int_1.21a] -// CHECK:STDOUT: %impl.elem0.loc11_30.2: %.511 = impl_witness_access constants.%ImplicitAs.impl_witness.c34, element0 [concrete = constants.%UInt.as.ImplicitAs.impl.Convert.8c3] +// CHECK:STDOUT: %bound_method.loc11_30.2: = bound_method %int_1.loc11, %specific_fn.loc11_30.1 [concrete = constants.%bound_method.e13] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %u64 = call %bound_method.loc11_30.2(%int_1.loc11) [concrete = constants.%int_1.8a8] +// CHECK:STDOUT: %.loc11_30.1: %u64 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.8a8] +// CHECK:STDOUT: %.loc11_30.2: %u64 = converted %int_1.loc11, %.loc11_30.1 [concrete = constants.%int_1.8a8] +// CHECK:STDOUT: %impl.elem0.loc11_30.2: %.71b = impl_witness_access constants.%ImplicitAs.impl_witness.569, element0 [concrete = constants.%UInt.as.ImplicitAs.impl.Convert.7f4] // CHECK:STDOUT: %bound_method.loc11_30.3: = bound_method %.loc11_30.2, %impl.elem0.loc11_30.2 [concrete = constants.%UInt.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc11_30.2: = specific_function %impl.elem0.loc11_30.2, @UInt.as.ImplicitAs.impl.Convert.1(constants.%int_64) [concrete = constants.%UInt.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_30.4: = bound_method %.loc11_30.2, %specific_fn.loc11_30.2 [concrete = constants.%bound_method.699] +// CHECK:STDOUT: %bound_method.loc11_30.4: = bound_method %.loc11_30.2, %specific_fn.loc11_30.2 [concrete = constants.%bound_method.fb5] // CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.loc11_30.4(%.loc11_30.2) [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc11_30.3: Core.IntLiteral = value_of_initializer %UInt.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc11_30.4: Core.IntLiteral = converted %.loc11_30.2, %.loc11_30.3 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %array_type: type = array_type %.loc11_30.4, %f32 [concrete = constants.%array_type] // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc11_3.1(%self.param: ref %f32.9b3) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %f32.750) { +// CHECK:STDOUT: fn @Destroy.Op.loc11_3.2(%self.param: ref %f32.a26) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -987,21 +987,21 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.e6e: type = pattern_type %Cpp.long_long [concrete] +// CHECK:STDOUT: %pattern_type.003: type = pattern_type %Cpp.long_long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.d35: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.fb7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f2c: = impl_witness imports.%ImplicitAs.impl_witness_table.715 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.232: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.f2c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.52b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %.b38: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.52b, %ImplicitAs.facet.232 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.59e: = impl_witness imports.%ImplicitAs.impl_witness_table.337 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.532: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.59e) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f1d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %.424: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f1d, %ImplicitAs.facet.532 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.526: %Cpp.long_long = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.8b4: %Cpp.long_long = int_value 1 [concrete] // CHECK:STDOUT: %LongLongResult: type = class_type @LongLongResult [concrete] // CHECK:STDOUT: %pattern_type.f75: type = pattern_type %LongLongResult [concrete] // CHECK:STDOUT: %PassLongLong.cpp_overload_set.type: type = cpp_overload_set_type @PassLongLong.cpp_overload_set [concrete] @@ -1009,7 +1009,7 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %ptr.d67: type = ptr_type %LongLongResult [concrete] // CHECK:STDOUT: %PassLongLong__carbon_thunk.type.322742.1: type = fn_type @PassLongLong__carbon_thunk.1 [concrete] // CHECK:STDOUT: %PassLongLong__carbon_thunk.ad287c.1: %PassLongLong__carbon_thunk.type.322742.1 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.c8a: type = pattern_type %i64 [concrete] +// CHECK:STDOUT: %pattern_type.fdd: type = pattern_type %i64 [concrete] // CHECK:STDOUT: %LongResult: type = class_type @LongResult [concrete] // CHECK:STDOUT: %pattern_type.32c: type = pattern_type %LongResult [concrete] // CHECK:STDOUT: %ptr.70a: type = ptr_type %LongResult [concrete] @@ -1017,48 +1017,48 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %PassLongLong__carbon_thunk.ad287c.2: %PassLongLong__carbon_thunk.type.322742.2 = struct_value () [concrete] // CHECK:STDOUT: %Float.type: type = generic_class_type @Float [concrete] // CHECK:STDOUT: %Float.generic: %Float.type = struct_value () [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.c28: type = facet_type <@As, @As(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %As.impl_witness.a29: = impl_witness imports.%As.impl_witness_table.20a [concrete] -// CHECK:STDOUT: %As.facet: %As.type.c28 = facet_value Core.IntLiteral, (%As.impl_witness.a29) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.c98: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%Cpp.long_long, %As.facet) [concrete] -// CHECK:STDOUT: %.cef: type = fn_type_with_self_type %As.WithSelf.Convert.type.c98, %As.facet [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.570: type = facet_type <@As, @As(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %As.impl_witness.814: = impl_witness imports.%As.impl_witness_table.603 [concrete] +// CHECK:STDOUT: %As.facet: %As.type.570 = facet_value Core.IntLiteral, (%As.impl_witness.814) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.691: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%Cpp.long_long, %As.facet) [concrete] +// CHECK:STDOUT: %.2be: type = fn_type_with_self_type %As.WithSelf.Convert.type.691, %As.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type: type = fn_type @Core.IntLiteral.as.As.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert: %Core.IntLiteral.as.As.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fc5: = impl_witness imports.%ImplicitAs.impl_witness_table.0e0 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.945: %ImplicitAs.type.4bd = facet_value %Cpp.long_long, (%ImplicitAs.impl_witness.fc5) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.7ed: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.945) [concrete] -// CHECK:STDOUT: %.baa: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.7ed, %ImplicitAs.facet.945 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.a88: = impl_witness imports.%ImplicitAs.impl_witness_table.45f [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.2fd: %ImplicitAs.type.ace = facet_value %Cpp.long_long, (%ImplicitAs.impl_witness.a88) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.54d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.2fd) [concrete] +// CHECK:STDOUT: %.517: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.54d, %ImplicitAs.facet.2fd [concrete] // CHECK:STDOUT: %Cpp.long_long.as.ImplicitAs.impl.Convert.type: type = fn_type @Cpp.long_long.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Cpp.long_long.as.ImplicitAs.impl.Convert: %Cpp.long_long.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.526, %Cpp.long_long.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.750 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.8b4, %Cpp.long_long.as.ImplicitAs.impl.Convert [concrete] +// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.a26 [concrete] // CHECK:STDOUT: %f32.9b3: type = float_type %int_32, f32 [concrete] -// CHECK:STDOUT: %pattern_type.ee6: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.aab: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] // CHECK:STDOUT: %tuple.type: type = tuple_type (Core.FloatLiteral) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%float.6da) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.1dd: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.750)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bfc: = impl_witness imports.%ImplicitAs.impl_witness_table.3c0, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.9f5: %ImplicitAs.type.1dd = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.bfc) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.750, %ImplicitAs.facet.9f5) [concrete] -// CHECK:STDOUT: %.28b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68e, %ImplicitAs.facet.9f5 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.d0d: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.a26)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.65d: = impl_witness imports.%ImplicitAs.impl_witness_table.234, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.82a: %ImplicitAs.type.d0d = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.65d) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c87: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.a26, %ImplicitAs.facet.82a) [concrete] +// CHECK:STDOUT: %.3a8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c87, %ImplicitAs.facet.82a [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%float.467) [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%float.2ec) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc24_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc24_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: %LongResult.cpp_destructor.type: type = fn_type @LongResult.cpp_destructor [concrete] // CHECK:STDOUT: %LongResult.cpp_destructor: %LongResult.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: %LongLongResult.cpp_destructor.type: type = fn_type @LongLongResult.cpp_destructor [concrete] @@ -1067,7 +1067,7 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: .CppCompat = %CppCompat.69028d.1 +// CHECK:STDOUT: .CppCompat = %CppCompat.463205.1 // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: .Int = %Core.Int // CHECK:STDOUT: .Float = %Core.Float @@ -1084,15 +1084,15 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.CppCompat: = import_ref Core//prelude, CppCompat, loaded -// CHECK:STDOUT: %CppCompat.69028d.1: = namespace %Core.CppCompat, [concrete] { +// CHECK:STDOUT: %CppCompat.463205.1: = namespace %Core.CppCompat, [concrete] { // CHECK:STDOUT: .LongLong64 = %Core.LongLong64 // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.LongLong64: type = import_ref Core//prelude/types/cpp/int, LongLong64, loaded [concrete = constants.%Cpp.long_long] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.67b339.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.715 = impl_witness_table (%Core.import_ref.67b339.1), @Core.IntLiteral.as.ImplicitAs.impl.c6f [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.337 = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.ImplicitAs.impl.74b [concrete] // CHECK:STDOUT: %LongLongResult.decl: type = class_decl @LongLongResult [concrete = constants.%LongLongResult] {} {} // CHECK:STDOUT: %PassLongLong.cpp_overload_set.value: %PassLongLong.cpp_overload_set.type = cpp_overload_set_value @PassLongLong.cpp_overload_set [concrete = constants.%PassLongLong.cpp_overload_set.value] // CHECK:STDOUT: %PassLongLong__carbon_thunk.decl.c1f2e9.1: %PassLongLong__carbon_thunk.type.322742.1 = fn_decl @PassLongLong__carbon_thunk.1 [concrete = constants.%PassLongLong__carbon_thunk.ad287c.1] { @@ -1108,31 +1108,31 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Float: %Float.type = import_ref Core//prelude/types/float, Float, loaded [concrete = constants.%Float.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/operators/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.67b339.2: %Core.IntLiteral.as.As.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] -// CHECK:STDOUT: %As.impl_witness_table.20a = impl_witness_table (%Core.import_ref.67b339.2), @Core.IntLiteral.as.As.impl.feb [concrete] -// CHECK:STDOUT: %Core.import_ref.67b339.3: %Cpp.long_long.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0e0 = impl_witness_table (%Core.import_ref.67b339.3), @Cpp.long_long.as.ImplicitAs.impl.c5f [concrete] -// CHECK:STDOUT: %Core.import_ref.831: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3c0 = impl_witness_table (%Core.import_ref.831), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/operators/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %Core.IntLiteral.as.As.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %As.impl_witness_table.603 = impl_witness_table (%Core.import_ref.adef5f.2), @Core.IntLiteral.as.As.impl.fab [concrete] +// CHECK:STDOUT: %Core.import_ref.adef5f.3: %Cpp.long_long.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.45f = impl_witness_table (%Core.import_ref.adef5f.3), @Cpp.long_long.as.ImplicitAs.impl.e5f [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.234 = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_long_long.patt: %pattern_type.e6e = value_binding_pattern cpp_long_long [concrete] +// CHECK:STDOUT: %cpp_long_long.patt: %pattern_type.003 = value_binding_pattern cpp_long_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc15: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc15_25: type = splice_block %long_long.ref.loc15 [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Cpp.ref.loc15: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long_long.ref.loc15: type = name_ref long_long, constants.%Cpp.long_long [concrete = constants.%Cpp.long_long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc15: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc15: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc15: = bound_method %int_1.loc15, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.long_long = call %bound_method.loc15(%int_1.loc15) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc15_38.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc15_38.2: %Cpp.long_long = converted %int_1.loc15, %.loc15_38.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.long_long = call %bound_method.loc15(%int_1.loc15) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc15_38.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc15_38.2: %Cpp.long_long = converted %int_1.loc15, %.loc15_38.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %cpp_long_long: %Cpp.long_long = value_binding cpp_long_long, %.loc15_38.2 // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %cpp_long_long_result.patt: %pattern_type.f75 = value_binding_pattern cpp_long_long_result [concrete] @@ -1152,12 +1152,12 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %.loc16_87.4: %LongLongResult = acquire_value %.loc16_87.3 // CHECK:STDOUT: %cpp_long_long_result: %LongLongResult = value_binding cpp_long_long_result, %.loc16_87.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_compat_long_long.patt: %pattern_type.e6e = value_binding_pattern cpp_compat_long_long [concrete] +// CHECK:STDOUT: %cpp_compat_long_long.patt: %pattern_type.003 = value_binding_pattern cpp_compat_long_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_long_long.ref.loc18: %Cpp.long_long = name_ref cpp_long_long, %cpp_long_long // CHECK:STDOUT: %.loc18: type = splice_block %LongLong64.ref [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %CppCompat.ref: = name_ref CppCompat, imports.%CppCompat.69028d.1 [concrete = imports.%CppCompat.69028d.1] +// CHECK:STDOUT: %CppCompat.ref: = name_ref CppCompat, imports.%CppCompat.463205.1 [concrete = imports.%CppCompat.463205.1] // CHECK:STDOUT: %LongLong64.ref: type = name_ref LongLong64, imports.%Core.LongLong64 [concrete = constants.%Cpp.long_long] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_compat_long_long: %Cpp.long_long = value_binding cpp_compat_long_long, %cpp_long_long.ref.loc18 @@ -1179,7 +1179,7 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %.loc19_101.4: %LongLongResult = acquire_value %.loc19_101.3 // CHECK:STDOUT: %cpp_compat_long_long_result: %LongLongResult = value_binding cpp_compat_long_long_result, %.loc19_101.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_i64.patt: %pattern_type.c8a = value_binding_pattern carbon_i64 [concrete] +// CHECK:STDOUT: %carbon_i64.patt: %pattern_type.fdd = value_binding_pattern carbon_i64 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_long_long.ref.loc21: %Cpp.long_long = name_ref cpp_long_long, %cpp_long_long // CHECK:STDOUT: %i64.loc21_42: type = type_literal constants.%i64 [concrete = constants.%i64] @@ -1205,35 +1205,35 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %.loc22_77.4: %LongResult = acquire_value %.loc22_77.3 // CHECK:STDOUT: %carbon_i64_result: %LongResult = value_binding carbon_i64_result, %.loc22_77.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.ee6 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.ee6 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.aab = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.aab = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] // CHECK:STDOUT: %.loc24_55.1: %tuple.type = tuple_literal (%float) [concrete = constants.%tuple] -// CHECK:STDOUT: %impl.elem0.loc24_55: %.28b = impl_witness_access constants.%ImplicitAs.impl_witness.bfc, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] +// CHECK:STDOUT: %impl.elem0.loc24_55: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] // CHECK:STDOUT: %bound_method.loc24_55.1: = bound_method %float, %impl.elem0.loc24_55 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc24_55, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc24_55.2: = bound_method %float, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.750 = call %bound_method.loc24_55.2(%float) [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc24_55.2: init %f32.750 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.467] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.a26 = call %bound_method.loc24_55.2(%float) [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc24_55.2: init %f32.a26 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.2ec] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %.loc24_55.3: ref %f32.750 = array_index %a.var, %int_0 -// CHECK:STDOUT: %.loc24_55.4: init %f32.750 to %.loc24_55.3 = in_place_init %.loc24_55.2 [concrete = constants.%float.467] +// CHECK:STDOUT: %.loc24_55.3: ref %f32.a26 = array_index %a.var, %int_0 +// CHECK:STDOUT: %.loc24_55.4: init %f32.a26 to %.loc24_55.3 = in_place_init %.loc24_55.2 [concrete = constants.%float.2ec] // CHECK:STDOUT: %.loc24_55.5: init %array_type to %a.var = array_init (%.loc24_55.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc24_3: init %array_type = converted %.loc24_55.1, %.loc24_55.5 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc24_3 // CHECK:STDOUT: %.loc24_46: type = splice_block %array_type [concrete = constants.%array_type] { -// CHECK:STDOUT: %f32: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] +// CHECK:STDOUT: %f32: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] // CHECK:STDOUT: %int_1.loc24: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %Cpp.ref.loc24: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long_long.ref.loc24: type = name_ref long_long, constants.%Cpp.long_long [concrete = constants.%Cpp.long_long] -// CHECK:STDOUT: %impl.elem0.loc24_30.1: %.cef = impl_witness_access constants.%As.impl_witness.a29, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc24_30.1: %.2be = impl_witness_access constants.%As.impl_witness.814, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] // CHECK:STDOUT: %bound_method.loc24_30.1: = bound_method %int_1.loc24, %impl.elem0.loc24_30.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %Cpp.long_long = call %bound_method.loc24_30.1(%int_1.loc24) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc24_30.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc24_30.2: %Cpp.long_long = converted %int_1.loc24, %.loc24_30.1 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %impl.elem0.loc24_30.2: %.baa = impl_witness_access constants.%ImplicitAs.impl_witness.fc5, element0 [concrete = constants.%Cpp.long_long.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %Cpp.long_long = call %bound_method.loc24_30.1(%int_1.loc24) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc24_30.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc24_30.2: %Cpp.long_long = converted %int_1.loc24, %.loc24_30.1 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %impl.elem0.loc24_30.2: %.517 = impl_witness_access constants.%ImplicitAs.impl_witness.a88, element0 [concrete = constants.%Cpp.long_long.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc24_30.2: = bound_method %.loc24_30.2, %impl.elem0.loc24_30.2 [concrete = constants.%Cpp.long_long.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %Cpp.long_long.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.loc24_30.2(%.loc24_30.2) [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc24_30.3: Core.IntLiteral = value_of_initializer %Cpp.long_long.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.5b8] @@ -1241,7 +1241,7 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %array_type: type = array_type %.loc24_30.4, %f32 [concrete = constants.%array_type] // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: %LongResult.cpp_destructor.bound: = bound_method %.loc22_77.3, constants.%LongResult.cpp_destructor // CHECK:STDOUT: %LongResult.cpp_destructor.call: init %empty_tuple.type = call %LongResult.cpp_destructor.bound(%.loc22_77.3) @@ -1254,7 +1254,7 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.1(%self.param: ref %f32.9b3) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc24_3.2(%self.param: ref %f32.750) { +// CHECK:STDOUT: fn @Destroy.Op.loc24_3.2(%self.param: ref %f32.a26) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -1271,26 +1271,26 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long: type = class_type @LongLong64 [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %i64.builtin: type = int_type signed, %int_64 [concrete] -// CHECK:STDOUT: %pattern_type.e6e: type = pattern_type %Cpp.long_long [concrete] +// CHECK:STDOUT: %pattern_type.003: type = pattern_type %Cpp.long_long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.d35: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.fb7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f2c: = impl_witness imports.%ImplicitAs.impl_witness_table.715 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.f2c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.52b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.b38: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.52b, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.59e: = impl_witness imports.%ImplicitAs.impl_witness_table.337 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.59e) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f1d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.424: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f1d, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.526: %Cpp.long_long = int_value 1 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.856: = impl_witness imports.%Copy.impl_witness_table.c09 [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Cpp.long_long, (%Copy.impl_witness.856) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.eb9: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.f64: type = fn_type_with_self_type %Copy.WithSelf.Op.type.eb9, %Copy.facet [concrete] +// CHECK:STDOUT: %int_1.8b4: %Cpp.long_long = int_value 1 [concrete] +// CHECK:STDOUT: %Copy.impl_witness.fca: = impl_witness imports.%Copy.impl_witness_table.f0d [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Cpp.long_long, (%Copy.impl_witness.fca) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.71d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.77d: type = fn_type_with_self_type %Copy.WithSelf.Op.type.71d, %Copy.facet [concrete] // CHECK:STDOUT: %Cpp.long_long.as.Copy.impl.Op.type: type = fn_type @Cpp.long_long.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Cpp.long_long.as.Copy.impl.Op: %Cpp.long_long.as.Copy.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1298,24 +1298,24 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: .long_long = constants.%Cpp.long_long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.715 = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.c6f [concrete] -// CHECK:STDOUT: %Core.import_ref.59e: %Cpp.long_long.as.Copy.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.c09 = impl_witness_table (%Core.import_ref.59e), @Cpp.long_long.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.337 = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.74b [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Cpp.long_long.as.Copy.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.f0d = impl_witness_table (%Core.import_ref.f63), @Cpp.long_long.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CopyLongLong() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e6e = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.e6e = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.003 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.003 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.long_long = var %a.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.long_long = call %bound_method.loc8(%int_1) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc8_3: init %Cpp.long_long = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.long_long = call %bound_method.loc8(%int_1) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc8_3: init %Cpp.long_long = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.8b4] // CHECK:STDOUT: assign %a.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %long_long.ref.loc8 [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -1323,13 +1323,13 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %Cpp.long_long = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.e6e = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.e6e = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.003 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.003 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %Cpp.long_long = var %b.var_patt // CHECK:STDOUT: %a.ref: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %.loc9_33: %Cpp.long_long = acquire_value %a.ref -// CHECK:STDOUT: %impl.elem0.loc9: %.f64 = impl_witness_access constants.%Copy.impl_witness.856, element0 [concrete = constants.%Cpp.long_long.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc9: %.77d = impl_witness_access constants.%Copy.impl_witness.fca, element0 [concrete = constants.%Cpp.long_long.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc9: = bound_method %.loc9_33, %impl.elem0.loc9 // CHECK:STDOUT: %Cpp.long_long.as.Copy.impl.Op.call: init %Cpp.long_long = call %bound_method.loc9(%.loc9_33) // CHECK:STDOUT: assign %b.var, %Cpp.long_long.as.Copy.impl.Op.call @@ -1338,9 +1338,9 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %long_long.ref.loc9: type = name_ref long_long, constants.%Cpp.long_long [concrete = constants.%Cpp.long_long] // CHECK:STDOUT: } // CHECK:STDOUT: %b: ref %Cpp.long_long = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc9: init %empty_tuple.type = call %Destroy.Op.bound.loc9(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -1356,45 +1356,45 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Cpp.long_long: type = class_type @LongLong64 [concrete] -// CHECK:STDOUT: %pattern_type.e6e: type = pattern_type %Cpp.long_long [concrete] +// CHECK:STDOUT: %pattern_type.003: type = pattern_type %Cpp.long_long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.d35: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f2c: = impl_witness imports.%ImplicitAs.impl_witness_table.715 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.f2c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.52b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.b38: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.52b, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.type.fb7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.59e: = impl_witness imports.%ImplicitAs.impl_witness_table.337 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.59e) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f1d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.424: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f1d, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.526: %Cpp.long_long = int_value 1 [concrete] -// CHECK:STDOUT: %EqWith.type.40a: type = facet_type <@EqWith, @EqWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %EqWith.impl_witness.24d: = impl_witness imports.%EqWith.impl_witness_table.a92 [concrete] -// CHECK:STDOUT: %EqWith.facet.555: %EqWith.type.40a = facet_value %Cpp.long_long, (%EqWith.impl_witness.24d) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.cbf: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Cpp.long_long, %EqWith.facet.555) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.a03: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Cpp.long_long, %EqWith.facet.555) [concrete] -// CHECK:STDOUT: %.de9: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.cbf, %EqWith.facet.555 [concrete] +// CHECK:STDOUT: %int_1.8b4: %Cpp.long_long = int_value 1 [concrete] +// CHECK:STDOUT: %EqWith.type.c04: type = facet_type <@EqWith, @EqWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %EqWith.impl_witness.622: = impl_witness imports.%EqWith.impl_witness_table.64f [concrete] +// CHECK:STDOUT: %EqWith.facet.248: %EqWith.type.c04 = facet_value %Cpp.long_long, (%EqWith.impl_witness.622) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.37d: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Cpp.long_long, %EqWith.facet.248) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.241: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Cpp.long_long, %EqWith.facet.248) [concrete] +// CHECK:STDOUT: %.530: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.37d, %EqWith.facet.248 [concrete] // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.78c: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.3 [concrete] // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.1ca: %Cpp.long_long.as.EqWith.impl.Equal.type.78c = struct_value () [concrete] -// CHECK:STDOUT: %.f4a: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.a03, %EqWith.facet.555 [concrete] +// CHECK:STDOUT: %.646: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.241, %EqWith.facet.248 [concrete] // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.8e5: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.3 [concrete] // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.a6a: %Cpp.long_long.as.EqWith.impl.NotEqual.type.8e5 = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.type.ebd: type = facet_type <@OrderedWith, @OrderedWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %OrderedWith.impl_witness.de1: = impl_witness imports.%OrderedWith.impl_witness_table.1a9 [concrete] -// CHECK:STDOUT: %OrderedWith.facet.765: %OrderedWith.type.ebd = facet_value %Cpp.long_long, (%OrderedWith.impl_witness.de1) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.464: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.765) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.55f: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.765) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.d9f: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.765) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.414: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.765) [concrete] -// CHECK:STDOUT: %.4e5: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.d9f, %OrderedWith.facet.765 [concrete] +// CHECK:STDOUT: %OrderedWith.type.aaf: type = facet_type <@OrderedWith, @OrderedWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %OrderedWith.impl_witness.2a7: = impl_witness imports.%OrderedWith.impl_witness_table.870 [concrete] +// CHECK:STDOUT: %OrderedWith.facet.0af: %OrderedWith.type.aaf = facet_value %Cpp.long_long, (%OrderedWith.impl_witness.2a7) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.df9: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.0af) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.18a: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.0af) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.dc0: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.0af) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.363: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.0af) [concrete] +// CHECK:STDOUT: %.3fb: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.dc0, %OrderedWith.facet.0af [concrete] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.725: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.3 [concrete] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.7c8: %Cpp.long_long.as.OrderedWith.impl.Greater.type.725 = struct_value () [concrete] -// CHECK:STDOUT: %.1b0: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.464, %OrderedWith.facet.765 [concrete] +// CHECK:STDOUT: %.d0d: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.df9, %OrderedWith.facet.0af [concrete] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.335: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.3 [concrete] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.606: %Cpp.long_long.as.OrderedWith.impl.Less.type.335 = struct_value () [concrete] -// CHECK:STDOUT: %.b12: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.414, %OrderedWith.facet.765 [concrete] +// CHECK:STDOUT: %.d44: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.363, %OrderedWith.facet.0af [concrete] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.2d9: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.3 [concrete] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.a09: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.2d9 = struct_value () [concrete] -// CHECK:STDOUT: %.749: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.55f, %OrderedWith.facet.765 [concrete] +// CHECK:STDOUT: %.8b7: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.18a, %OrderedWith.facet.0af [concrete] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.42c: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.3 [concrete] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.0c8: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.42c = struct_value () [concrete] // CHECK:STDOUT: } @@ -1404,76 +1404,76 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: .long_long = constants.%Cpp.long_long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.715 = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.c6f [concrete] -// CHECK:STDOUT: %Core.import_ref.74d: %Cpp.long_long.as.EqWith.impl.Equal.type.78c = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.1ca] -// CHECK:STDOUT: %Core.import_ref.206: %Cpp.long_long.as.EqWith.impl.NotEqual.type.8e5 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.a6a] -// CHECK:STDOUT: %EqWith.impl_witness_table.a92 = impl_witness_table (%Core.import_ref.74d, %Core.import_ref.206), @Cpp.long_long.as.EqWith.impl.1a2 [concrete] -// CHECK:STDOUT: %Core.import_ref.6ae: %Cpp.long_long.as.OrderedWith.impl.Less.type.335 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.606] -// CHECK:STDOUT: %Core.import_ref.dfe: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.42c = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.0c8] -// CHECK:STDOUT: %Core.import_ref.148: %Cpp.long_long.as.OrderedWith.impl.Greater.type.725 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.7c8] -// CHECK:STDOUT: %Core.import_ref.3cc: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.2d9 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.a09] -// CHECK:STDOUT: %OrderedWith.impl_witness_table.1a9 = impl_witness_table (%Core.import_ref.6ae, %Core.import_ref.dfe, %Core.import_ref.148, %Core.import_ref.3cc), @Cpp.long_long.as.OrderedWith.impl.eef [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.337 = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.74b [concrete] +// CHECK:STDOUT: %Core.import_ref.b5b: %Cpp.long_long.as.EqWith.impl.Equal.type.78c = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.1ca] +// CHECK:STDOUT: %Core.import_ref.3bc: %Cpp.long_long.as.EqWith.impl.NotEqual.type.8e5 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.a6a] +// CHECK:STDOUT: %EqWith.impl_witness_table.64f = impl_witness_table (%Core.import_ref.b5b, %Core.import_ref.3bc), @Cpp.long_long.as.EqWith.impl.f0c [concrete] +// CHECK:STDOUT: %Core.import_ref.746: %Cpp.long_long.as.OrderedWith.impl.Less.type.335 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.606] +// CHECK:STDOUT: %Core.import_ref.202: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.42c = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.0c8] +// CHECK:STDOUT: %Core.import_ref.cc2: %Cpp.long_long.as.OrderedWith.impl.Greater.type.725 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.7c8] +// CHECK:STDOUT: %Core.import_ref.4c7: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.2d9 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.a09] +// CHECK:STDOUT: %OrderedWith.impl_witness_table.870 = impl_witness_table (%Core.import_ref.746, %Core.import_ref.202, %Core.import_ref.cc2, %Core.import_ref.4c7), @Cpp.long_long.as.OrderedWith.impl.941 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ComparisonsHomogeneousLongLong() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e6e = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.003 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc8_13: type = splice_block %long_long.ref.loc8 [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long_long.ref.loc8: type = name_ref long_long, constants.%Cpp.long_long [concrete = constants.%Cpp.long_long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc8: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long_long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc8_26.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc8_26.2: %Cpp.long_long = converted %int_1.loc8, %.loc8_26.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long_long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc8_26.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc8_26.2: %Cpp.long_long = converted %int_1.loc8, %.loc8_26.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %a: %Cpp.long_long = value_binding a, %.loc8_26.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.e6e = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.003 = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc9_13: type = splice_block %long_long.ref.loc9 [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long_long.ref.loc9: type = name_ref long_long, constants.%Cpp.long_long [concrete = constants.%Cpp.long_long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc9: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc9: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc9: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long_long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc9_26.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc9_26.2: %Cpp.long_long = converted %int_1.loc9, %.loc9_26.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long_long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc9_26.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc9_26.2: %Cpp.long_long = converted %int_1.loc9, %.loc9_26.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %b: %Cpp.long_long = value_binding b, %.loc9_26.2 // CHECK:STDOUT: %a.ref.loc10: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc10: %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc10: %.de9 = impl_witness_access constants.%EqWith.impl_witness.24d, element0 [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.1ca] +// CHECK:STDOUT: %impl.elem0.loc10: %.530 = impl_witness_access constants.%EqWith.impl_witness.622, element0 [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.1ca] // CHECK:STDOUT: %bound_method.loc10: = bound_method %a.ref.loc10, %impl.elem0.loc10 // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.call: init bool = call %bound_method.loc10(%a.ref.loc10, %b.ref.loc10) // CHECK:STDOUT: %a.ref.loc11: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc11: %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem1.loc11: %.f4a = impl_witness_access constants.%EqWith.impl_witness.24d, element1 [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.a6a] +// CHECK:STDOUT: %impl.elem1.loc11: %.646 = impl_witness_access constants.%EqWith.impl_witness.622, element1 [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.a6a] // CHECK:STDOUT: %bound_method.loc11: = bound_method %a.ref.loc11, %impl.elem1.loc11 // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.call: init bool = call %bound_method.loc11(%a.ref.loc11, %b.ref.loc11) // CHECK:STDOUT: %a.ref.loc12: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc12: %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem2: %.4e5 = impl_witness_access constants.%OrderedWith.impl_witness.de1, element2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.7c8] +// CHECK:STDOUT: %impl.elem2: %.3fb = impl_witness_access constants.%OrderedWith.impl_witness.2a7, element2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.7c8] // CHECK:STDOUT: %bound_method.loc12: = bound_method %a.ref.loc12, %impl.elem2 // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.call: init bool = call %bound_method.loc12(%a.ref.loc12, %b.ref.loc12) // CHECK:STDOUT: %a.ref.loc13: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc13: %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc13: %.1b0 = impl_witness_access constants.%OrderedWith.impl_witness.de1, element0 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.606] +// CHECK:STDOUT: %impl.elem0.loc13: %.d0d = impl_witness_access constants.%OrderedWith.impl_witness.2a7, element0 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.606] // CHECK:STDOUT: %bound_method.loc13: = bound_method %a.ref.loc13, %impl.elem0.loc13 // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.call: init bool = call %bound_method.loc13(%a.ref.loc13, %b.ref.loc13) // CHECK:STDOUT: %a.ref.loc14: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc14: %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem3: %.b12 = impl_witness_access constants.%OrderedWith.impl_witness.de1, element3 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.a09] +// CHECK:STDOUT: %impl.elem3: %.d44 = impl_witness_access constants.%OrderedWith.impl_witness.2a7, element3 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.a09] // CHECK:STDOUT: %bound_method.loc14: = bound_method %a.ref.loc14, %impl.elem3 // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.call: init bool = call %bound_method.loc14(%a.ref.loc14, %b.ref.loc14) // CHECK:STDOUT: %a.ref.loc15: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc15: %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem1.loc15: %.749 = impl_witness_access constants.%OrderedWith.impl_witness.de1, element1 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.0c8] +// CHECK:STDOUT: %impl.elem1.loc15: %.8b7 = impl_witness_access constants.%OrderedWith.impl_witness.2a7, element1 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.0c8] // CHECK:STDOUT: %bound_method.loc15: = bound_method %a.ref.loc15, %impl.elem1.loc15 // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.call: init bool = call %bound_method.loc15(%a.ref.loc15, %b.ref.loc15) // CHECK:STDOUT: @@ -1486,155 +1486,155 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %Cpp.long_long: type = class_type @LongLong64 [concrete] -// CHECK:STDOUT: %pattern_type.e6e: type = pattern_type %Cpp.long_long [concrete] -// CHECK:STDOUT: %ImplicitAs.type.d35: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f2c: = impl_witness imports.%ImplicitAs.impl_witness_table.715 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.232: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.f2c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.52b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %.b38: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.52b, %ImplicitAs.facet.232 [concrete] +// CHECK:STDOUT: %pattern_type.003: type = pattern_type %Cpp.long_long [concrete] +// CHECK:STDOUT: %ImplicitAs.type.fb7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.59e: = impl_witness imports.%ImplicitAs.impl_witness_table.337 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.532: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.59e) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f1d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %.424: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f1d, %ImplicitAs.facet.532 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce [concrete] -// CHECK:STDOUT: %int_1.526: %Cpp.long_long = int_value 1 [concrete] -// CHECK:STDOUT: %EqWith.type.521: type = facet_type <@EqWith, @EqWith(%i64)> [concrete] -// CHECK:STDOUT: %T.dc5: %ImplicitAs.type.d35 = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.d3ede4.1: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.1, @Cpp.long_long.as.EqWith.impl.b3f(%T.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.2226a5.1: %Cpp.long_long.as.EqWith.impl.NotEqual.type.d3ede4.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.d3ede4.2: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.2, @Cpp.long_long.as.EqWith.impl.b3f(%T.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.2226a5.2: %Cpp.long_long.as.EqWith.impl.NotEqual.type.d3ede4.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.b786b3.1: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.1, @Cpp.long_long.as.EqWith.impl.b3f(%T.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.4fa5ca.1: %Cpp.long_long.as.EqWith.impl.Equal.type.b786b3.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.b786b3.2: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.2, @Cpp.long_long.as.EqWith.impl.b3f(%T.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.4fa5ca.2: %Cpp.long_long.as.EqWith.impl.Equal.type.b786b3.2 = struct_value () [symbolic] -// CHECK:STDOUT: %EqWith.type.290: type = facet_type <@EqWith, @EqWith(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.155: = impl_witness imports.%ImplicitAs.impl_witness_table.f80 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.7e4: %ImplicitAs.type.d35 = facet_value %i64, (%ImplicitAs.impl_witness.155) [concrete] -// CHECK:STDOUT: %EqWith.impl_witness.25a: = impl_witness imports.%EqWith.impl_witness_table.b15, @Cpp.long_long.as.EqWith.impl.b3f(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.a1c8a8.1: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.2, @Cpp.long_long.as.EqWith.impl.b3f(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.3d35fd.1: %Cpp.long_long.as.EqWith.impl.Equal.type.a1c8a8.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.a2bb41.1: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.2, @Cpp.long_long.as.EqWith.impl.b3f(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.5ddccb.1: %Cpp.long_long.as.EqWith.impl.NotEqual.type.a2bb41.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.a1c8a8.2: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.1, @Cpp.long_long.as.EqWith.impl.b3f(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.3d35fd.2: %Cpp.long_long.as.EqWith.impl.Equal.type.a1c8a8.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.a2bb41.2: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.1, @Cpp.long_long.as.EqWith.impl.b3f(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.5ddccb.2: %Cpp.long_long.as.EqWith.impl.NotEqual.type.a2bb41.2 = struct_value () [concrete] -// CHECK:STDOUT: %EqWith.facet.93c: %EqWith.type.521 = facet_value %Cpp.long_long, (%EqWith.impl_witness.25a) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.a00: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%i64, %EqWith.facet.93c) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.447: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%i64, %EqWith.facet.93c) [concrete] -// CHECK:STDOUT: %.8bf: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.a00, %EqWith.facet.93c [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.44272c.1: = specific_function %Cpp.long_long.as.EqWith.impl.Equal.3d35fd.2, @Cpp.long_long.as.EqWith.impl.Equal.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.44272c.2: = specific_function %Cpp.long_long.as.EqWith.impl.Equal.3d35fd.1, @Cpp.long_long.as.EqWith.impl.Equal.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.fe4: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %.5c4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.fe4, %ImplicitAs.facet.7e4 [concrete] +// CHECK:STDOUT: %int_1.8b4: %Cpp.long_long = int_value 1 [concrete] +// CHECK:STDOUT: %EqWith.type.7e7: type = facet_type <@EqWith, @EqWith(%i64)> [concrete] +// CHECK:STDOUT: %T.ec6: %ImplicitAs.type.fb7 = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.7b9cca.1: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.1, @Cpp.long_long.as.EqWith.impl.17e(%T.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.f31283.1: %Cpp.long_long.as.EqWith.impl.NotEqual.type.7b9cca.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.7b9cca.2: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.2, @Cpp.long_long.as.EqWith.impl.17e(%T.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.f31283.2: %Cpp.long_long.as.EqWith.impl.NotEqual.type.7b9cca.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.3b5f14.1: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.1, @Cpp.long_long.as.EqWith.impl.17e(%T.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.b8b42d.1: %Cpp.long_long.as.EqWith.impl.Equal.type.3b5f14.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.3b5f14.2: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.2, @Cpp.long_long.as.EqWith.impl.17e(%T.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.b8b42d.2: %Cpp.long_long.as.EqWith.impl.Equal.type.3b5f14.2 = struct_value () [symbolic] +// CHECK:STDOUT: %EqWith.type.70b: type = facet_type <@EqWith, @EqWith(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.811: = impl_witness imports.%ImplicitAs.impl_witness_table.7ed [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.a8b: %ImplicitAs.type.fb7 = facet_value %i64, (%ImplicitAs.impl_witness.811) [concrete] +// CHECK:STDOUT: %EqWith.impl_witness.fc3: = impl_witness imports.%EqWith.impl_witness_table.0d8, @Cpp.long_long.as.EqWith.impl.17e(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.977cca.1: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.2, @Cpp.long_long.as.EqWith.impl.17e(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.e19c13.1: %Cpp.long_long.as.EqWith.impl.Equal.type.977cca.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.a472a9.1: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.2, @Cpp.long_long.as.EqWith.impl.17e(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.60a432.1: %Cpp.long_long.as.EqWith.impl.NotEqual.type.a472a9.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.977cca.2: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.1, @Cpp.long_long.as.EqWith.impl.17e(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.e19c13.2: %Cpp.long_long.as.EqWith.impl.Equal.type.977cca.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.a472a9.2: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.1, @Cpp.long_long.as.EqWith.impl.17e(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.60a432.2: %Cpp.long_long.as.EqWith.impl.NotEqual.type.a472a9.2 = struct_value () [concrete] +// CHECK:STDOUT: %EqWith.facet.a9f: %EqWith.type.7e7 = facet_value %Cpp.long_long, (%EqWith.impl_witness.fc3) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.5a5: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%i64, %EqWith.facet.a9f) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.42f: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%i64, %EqWith.facet.a9f) [concrete] +// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.5a5, %EqWith.facet.a9f [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.baba25.1: = specific_function %Cpp.long_long.as.EqWith.impl.Equal.e19c13.2, @Cpp.long_long.as.EqWith.impl.Equal.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.baba25.2: = specific_function %Cpp.long_long.as.EqWith.impl.Equal.e19c13.1, @Cpp.long_long.as.EqWith.impl.Equal.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.442: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %.77c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.442, %ImplicitAs.facet.a8b [concrete] // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.type: type = fn_type @i64.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert: %i64.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %.670: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.447, %EqWith.facet.93c [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.f173d3.1: = specific_function %Cpp.long_long.as.EqWith.impl.NotEqual.5ddccb.2, @Cpp.long_long.as.EqWith.impl.NotEqual.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.f173d3.2: = specific_function %Cpp.long_long.as.EqWith.impl.NotEqual.5ddccb.1, @Cpp.long_long.as.EqWith.impl.NotEqual.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %OrderedWith.type.fb5: type = facet_type <@OrderedWith, @OrderedWith(%i64)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.ef5e2e.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1, @Cpp.long_long.as.OrderedWith.impl.e96(%T.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.6a7c3b.1: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.ef5e2e.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.ef5e2e.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2, @Cpp.long_long.as.OrderedWith.impl.e96(%T.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.6a7c3b.2: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.ef5e2e.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.b0cf54.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.1, @Cpp.long_long.as.OrderedWith.impl.e96(%T.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.f15662.1: %Cpp.long_long.as.OrderedWith.impl.Greater.type.b0cf54.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.b0cf54.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.2, @Cpp.long_long.as.OrderedWith.impl.e96(%T.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.f15662.2: %Cpp.long_long.as.OrderedWith.impl.Greater.type.b0cf54.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1f6092.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1, @Cpp.long_long.as.OrderedWith.impl.e96(%T.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.3b1acc.1: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1f6092.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1f6092.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2, @Cpp.long_long.as.OrderedWith.impl.e96(%T.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.3b1acc.2: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1f6092.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.ad3000.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.1, @Cpp.long_long.as.OrderedWith.impl.e96(%T.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.f5cea6.1: %Cpp.long_long.as.OrderedWith.impl.Less.type.ad3000.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.ad3000.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.2, @Cpp.long_long.as.OrderedWith.impl.e96(%T.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.f5cea6.2: %Cpp.long_long.as.OrderedWith.impl.Less.type.ad3000.2 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.type.d0c: type = facet_type <@OrderedWith, @OrderedWith(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %OrderedWith.impl_witness.786: = impl_witness imports.%OrderedWith.impl_witness_table.c22, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.39569b.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.2, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.e59cbf.1: %Cpp.long_long.as.OrderedWith.impl.Less.type.39569b.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1f402d.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.f9c1b6.1: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1f402d.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.574141.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.2, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.11e70b.1: %Cpp.long_long.as.OrderedWith.impl.Greater.type.574141.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.2343b2.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.df3349.1: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.2343b2.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.39569b.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.1, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.e59cbf.2: %Cpp.long_long.as.OrderedWith.impl.Less.type.39569b.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1f402d.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.f9c1b6.2: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1f402d.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.574141.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.1, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.11e70b.2: %Cpp.long_long.as.OrderedWith.impl.Greater.type.574141.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.2343b2.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.df3349.2: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.2343b2.2 = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.facet.7ce: %OrderedWith.type.fb5 = facet_value %Cpp.long_long, (%OrderedWith.impl_witness.786) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.928: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%i64, %OrderedWith.facet.7ce) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.5a6: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%i64, %OrderedWith.facet.7ce) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.685: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%i64, %OrderedWith.facet.7ce) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.d85: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%i64, %OrderedWith.facet.7ce) [concrete] -// CHECK:STDOUT: %.88f: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.685, %OrderedWith.facet.7ce [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.7a60e2.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.Greater.11e70b.2, @Cpp.long_long.as.OrderedWith.impl.Greater.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.7a60e2.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.Greater.11e70b.1, @Cpp.long_long.as.OrderedWith.impl.Greater.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %.d3f: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.928, %OrderedWith.facet.7ce [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.b25c25.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.Less.e59cbf.2, @Cpp.long_long.as.OrderedWith.impl.Less.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.b25c25.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.Less.e59cbf.1, @Cpp.long_long.as.OrderedWith.impl.Less.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %.4af: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.d85, %OrderedWith.facet.7ce [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.e0500b.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.df3349.2, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.e0500b.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.df3349.1, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %.3d0: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.5a6, %OrderedWith.facet.7ce [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.a790c8.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.f9c1b6.2, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.a790c8.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.f9c1b6.1, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %EqWith.impl_witness.5c9: = impl_witness imports.%EqWith.impl_witness_table.b15, @Cpp.long_long.as.EqWith.impl.b3f(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.ee0565.1: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.2, @Cpp.long_long.as.EqWith.impl.b3f(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.e45bf6.1: %Cpp.long_long.as.EqWith.impl.Equal.type.ee0565.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.6e5eea.1: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.2, @Cpp.long_long.as.EqWith.impl.b3f(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.c8b66a.1: %Cpp.long_long.as.EqWith.impl.NotEqual.type.6e5eea.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.ee0565.2: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.1, @Cpp.long_long.as.EqWith.impl.b3f(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.e45bf6.2: %Cpp.long_long.as.EqWith.impl.Equal.type.ee0565.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.6e5eea.2: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.1, @Cpp.long_long.as.EqWith.impl.b3f(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.c8b66a.2: %Cpp.long_long.as.EqWith.impl.NotEqual.type.6e5eea.2 = struct_value () [concrete] -// CHECK:STDOUT: %EqWith.facet.c4e: %EqWith.type.290 = facet_value %Cpp.long_long, (%EqWith.impl_witness.5c9) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.4dc: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(Core.IntLiteral, %EqWith.facet.c4e) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.a12: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(Core.IntLiteral, %EqWith.facet.c4e) [concrete] -// CHECK:STDOUT: %.dc2: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.4dc, %EqWith.facet.c4e [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.47aa9e.1: = specific_function %Cpp.long_long.as.EqWith.impl.Equal.e45bf6.2, @Cpp.long_long.as.EqWith.impl.Equal.1(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.47aa9e.2: = specific_function %Cpp.long_long.as.EqWith.impl.Equal.e45bf6.1, @Cpp.long_long.as.EqWith.impl.Equal.2(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %.cc3: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.a12, %EqWith.facet.c4e [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.41e5d3.1: = specific_function %Cpp.long_long.as.EqWith.impl.NotEqual.c8b66a.2, @Cpp.long_long.as.EqWith.impl.NotEqual.1(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.41e5d3.2: = specific_function %Cpp.long_long.as.EqWith.impl.NotEqual.c8b66a.1, @Cpp.long_long.as.EqWith.impl.NotEqual.2(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %OrderedWith.impl_witness.cc0: = impl_witness imports.%OrderedWith.impl_witness_table.c22, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.0c9ed2.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.2, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.63cc8b.1: %Cpp.long_long.as.OrderedWith.impl.Less.type.0c9ed2.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.c1b00c.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.918cd2.1: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.c1b00c.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.987cc7.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.2, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.d71914.1: %Cpp.long_long.as.OrderedWith.impl.Greater.type.987cc7.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.115394.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.b9ee34.1: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.115394.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.0c9ed2.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.1, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.63cc8b.2: %Cpp.long_long.as.OrderedWith.impl.Less.type.0c9ed2.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.c1b00c.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.918cd2.2: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.c1b00c.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.987cc7.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.1, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.d71914.2: %Cpp.long_long.as.OrderedWith.impl.Greater.type.987cc7.2 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.115394.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1, @Cpp.long_long.as.OrderedWith.impl.e96(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.b9ee34.2: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.115394.2 = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.facet.eac: %OrderedWith.type.d0c = facet_value %Cpp.long_long, (%OrderedWith.impl_witness.cc0) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.f95: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.eac) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.0f2: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.eac) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.f5b: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.eac) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.87c: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.eac) [concrete] -// CHECK:STDOUT: %.470: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.f5b, %OrderedWith.facet.eac [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.90c012.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.Greater.d71914.2, @Cpp.long_long.as.OrderedWith.impl.Greater.1(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.90c012.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.Greater.d71914.1, @Cpp.long_long.as.OrderedWith.impl.Greater.2(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %.ff1: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.f95, %OrderedWith.facet.eac [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.f3400f.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.Less.63cc8b.2, @Cpp.long_long.as.OrderedWith.impl.Less.1(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.f3400f.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.Less.63cc8b.1, @Cpp.long_long.as.OrderedWith.impl.Less.2(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %.56a: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.87c, %OrderedWith.facet.eac [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.583575.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.b9ee34.2, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.583575.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.b9ee34.1, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %.f58: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.0f2, %OrderedWith.facet.eac [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.4cf1bf.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.918cd2.2, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.4cf1bf.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.918cd2.1, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2(%ImplicitAs.facet.232) [concrete] +// CHECK:STDOUT: %.ee9: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.42f, %EqWith.facet.a9f [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.98b1ce.1: = specific_function %Cpp.long_long.as.EqWith.impl.NotEqual.60a432.2, @Cpp.long_long.as.EqWith.impl.NotEqual.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.98b1ce.2: = specific_function %Cpp.long_long.as.EqWith.impl.NotEqual.60a432.1, @Cpp.long_long.as.EqWith.impl.NotEqual.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %OrderedWith.type.176: type = facet_type <@OrderedWith, @OrderedWith(%i64)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.f75384.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1, @Cpp.long_long.as.OrderedWith.impl.d12(%T.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.8863f7.1: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.f75384.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.f75384.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2, @Cpp.long_long.as.OrderedWith.impl.d12(%T.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.8863f7.2: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.f75384.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.d80854.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.1, @Cpp.long_long.as.OrderedWith.impl.d12(%T.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.c12661.1: %Cpp.long_long.as.OrderedWith.impl.Greater.type.d80854.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.d80854.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.2, @Cpp.long_long.as.OrderedWith.impl.d12(%T.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.c12661.2: %Cpp.long_long.as.OrderedWith.impl.Greater.type.d80854.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.4bff13.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1, @Cpp.long_long.as.OrderedWith.impl.d12(%T.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.5642ad.1: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.4bff13.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.4bff13.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2, @Cpp.long_long.as.OrderedWith.impl.d12(%T.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.5642ad.2: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.4bff13.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.a6b355.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.1, @Cpp.long_long.as.OrderedWith.impl.d12(%T.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.e7ab5c.1: %Cpp.long_long.as.OrderedWith.impl.Less.type.a6b355.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.a6b355.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.2, @Cpp.long_long.as.OrderedWith.impl.d12(%T.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.e7ab5c.2: %Cpp.long_long.as.OrderedWith.impl.Less.type.a6b355.2 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.type.0e2: type = facet_type <@OrderedWith, @OrderedWith(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %OrderedWith.impl_witness.f65: = impl_witness imports.%OrderedWith.impl_witness_table.db9, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.87c979.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.2, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.0705fe.1: %Cpp.long_long.as.OrderedWith.impl.Less.type.87c979.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.07a4be.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.31e7c4.1: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.07a4be.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.1064c4.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.2, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.7da7b9.1: %Cpp.long_long.as.OrderedWith.impl.Greater.type.1064c4.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.4a408d.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.573728.1: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.4a408d.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.87c979.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.1, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.0705fe.2: %Cpp.long_long.as.OrderedWith.impl.Less.type.87c979.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.07a4be.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.31e7c4.2: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.07a4be.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.1064c4.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.1, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.7da7b9.2: %Cpp.long_long.as.OrderedWith.impl.Greater.type.1064c4.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.4a408d.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.573728.2: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.4a408d.2 = struct_value () [concrete] +// CHECK:STDOUT: %OrderedWith.facet.a43: %OrderedWith.type.176 = facet_value %Cpp.long_long, (%OrderedWith.impl_witness.f65) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.b5e: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%i64, %OrderedWith.facet.a43) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.34d: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%i64, %OrderedWith.facet.a43) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.746: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%i64, %OrderedWith.facet.a43) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.88c: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%i64, %OrderedWith.facet.a43) [concrete] +// CHECK:STDOUT: %.376: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.746, %OrderedWith.facet.a43 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.88bb72.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.Greater.7da7b9.2, @Cpp.long_long.as.OrderedWith.impl.Greater.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.88bb72.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.Greater.7da7b9.1, @Cpp.long_long.as.OrderedWith.impl.Greater.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %.7cc: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.b5e, %OrderedWith.facet.a43 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.48b538.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.Less.0705fe.2, @Cpp.long_long.as.OrderedWith.impl.Less.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.48b538.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.Less.0705fe.1, @Cpp.long_long.as.OrderedWith.impl.Less.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %.5ee: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.88c, %OrderedWith.facet.a43 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.db44c2.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.573728.2, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.db44c2.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.573728.1, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.34d, %OrderedWith.facet.a43 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.ec8a24.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.31e7c4.2, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.ec8a24.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.31e7c4.1, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %EqWith.impl_witness.52a: = impl_witness imports.%EqWith.impl_witness_table.0d8, @Cpp.long_long.as.EqWith.impl.17e(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.1a61b8.1: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.2, @Cpp.long_long.as.EqWith.impl.17e(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.7910c3.1: %Cpp.long_long.as.EqWith.impl.Equal.type.1a61b8.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.eb70e8.1: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.2, @Cpp.long_long.as.EqWith.impl.17e(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.c04b44.1: %Cpp.long_long.as.EqWith.impl.NotEqual.type.eb70e8.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.type.1a61b8.2: type = fn_type @Cpp.long_long.as.EqWith.impl.Equal.1, @Cpp.long_long.as.EqWith.impl.17e(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.7910c3.2: %Cpp.long_long.as.EqWith.impl.Equal.type.1a61b8.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.type.eb70e8.2: type = fn_type @Cpp.long_long.as.EqWith.impl.NotEqual.1, @Cpp.long_long.as.EqWith.impl.17e(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.c04b44.2: %Cpp.long_long.as.EqWith.impl.NotEqual.type.eb70e8.2 = struct_value () [concrete] +// CHECK:STDOUT: %EqWith.facet.b0a: %EqWith.type.70b = facet_value %Cpp.long_long, (%EqWith.impl_witness.52a) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.b3f: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(Core.IntLiteral, %EqWith.facet.b0a) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.640: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(Core.IntLiteral, %EqWith.facet.b0a) [concrete] +// CHECK:STDOUT: %.f32: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.b3f, %EqWith.facet.b0a [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.0033e7.1: = specific_function %Cpp.long_long.as.EqWith.impl.Equal.7910c3.2, @Cpp.long_long.as.EqWith.impl.Equal.1(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.0033e7.2: = specific_function %Cpp.long_long.as.EqWith.impl.Equal.7910c3.1, @Cpp.long_long.as.EqWith.impl.Equal.2(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %.a0d: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.640, %EqWith.facet.b0a [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.2732d7.1: = specific_function %Cpp.long_long.as.EqWith.impl.NotEqual.c04b44.2, @Cpp.long_long.as.EqWith.impl.NotEqual.1(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.2732d7.2: = specific_function %Cpp.long_long.as.EqWith.impl.NotEqual.c04b44.1, @Cpp.long_long.as.EqWith.impl.NotEqual.2(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %OrderedWith.impl_witness.726: = impl_witness imports.%OrderedWith.impl_witness_table.db9, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.eaeb9f.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.2, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.a102cb.1: %Cpp.long_long.as.OrderedWith.impl.Less.type.eaeb9f.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.49d3d6.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.ccf1fa.1: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.49d3d6.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.eb4a22.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.2, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.8a24a6.1: %Cpp.long_long.as.OrderedWith.impl.Greater.type.eb4a22.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.24e8d9.1: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.6f3e4c.1: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.24e8d9.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.type.eaeb9f.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Less.1, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.a102cb.2: %Cpp.long_long.as.OrderedWith.impl.Less.type.eaeb9f.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.49d3d6.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.ccf1fa.2: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.49d3d6.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.type.eb4a22.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.Greater.1, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.8a24a6.2: %Cpp.long_long.as.OrderedWith.impl.Greater.type.eb4a22.2 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.24e8d9.2: type = fn_type @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1, @Cpp.long_long.as.OrderedWith.impl.d12(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.6f3e4c.2: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.24e8d9.2 = struct_value () [concrete] +// CHECK:STDOUT: %OrderedWith.facet.cdc: %OrderedWith.type.0e2 = facet_value %Cpp.long_long, (%OrderedWith.impl_witness.726) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.fb2: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.cdc) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.980: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.cdc) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.d4d: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.cdc) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.51d: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(Core.IntLiteral, %OrderedWith.facet.cdc) [concrete] +// CHECK:STDOUT: %.09e: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.d4d, %OrderedWith.facet.cdc [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.995882.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.Greater.8a24a6.2, @Cpp.long_long.as.OrderedWith.impl.Greater.1(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.995882.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.Greater.8a24a6.1, @Cpp.long_long.as.OrderedWith.impl.Greater.2(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %.32c: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.fb2, %OrderedWith.facet.cdc [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.7fdd63.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.Less.a102cb.2, @Cpp.long_long.as.OrderedWith.impl.Less.1(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.7fdd63.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.Less.a102cb.1, @Cpp.long_long.as.OrderedWith.impl.Less.2(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %.035: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.51d, %OrderedWith.facet.cdc [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.c2dd9b.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.6f3e4c.2, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.c2dd9b.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.6f3e4c.1, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %.41b: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.980, %OrderedWith.facet.cdc [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.fb4ce2.1: = specific_function %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.ccf1fa.2, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.fb4ce2.2: = specific_function %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.ccf1fa.1, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2(%ImplicitAs.facet.532) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -1642,57 +1642,57 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: .long_long = constants.%Cpp.long_long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b339.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.715 = impl_witness_table (%Core.import_ref.67b339.1), @Core.IntLiteral.as.ImplicitAs.impl.c6f [concrete] -// CHECK:STDOUT: %Core.import_ref.01c: @Cpp.long_long.as.EqWith.impl.b3f.%Cpp.long_long.as.EqWith.impl.Equal.type.2 (%Cpp.long_long.as.EqWith.impl.Equal.type.b786b3.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.EqWith.impl.b3f.%Cpp.long_long.as.EqWith.impl.Equal.2 (constants.%Cpp.long_long.as.EqWith.impl.Equal.4fa5ca.1)] -// CHECK:STDOUT: %Core.import_ref.dae: @Cpp.long_long.as.EqWith.impl.b3f.%Cpp.long_long.as.EqWith.impl.NotEqual.type.2 (%Cpp.long_long.as.EqWith.impl.NotEqual.type.d3ede4.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.EqWith.impl.b3f.%Cpp.long_long.as.EqWith.impl.NotEqual.2 (constants.%Cpp.long_long.as.EqWith.impl.NotEqual.2226a5.1)] -// CHECK:STDOUT: %EqWith.impl_witness_table.b15 = impl_witness_table (%Core.import_ref.01c, %Core.import_ref.dae), @Cpp.long_long.as.EqWith.impl.b3f [concrete] -// CHECK:STDOUT: %Core.NotEqual.aad: @Cpp.long_long.as.EqWith.impl.b3f.%Cpp.long_long.as.EqWith.impl.NotEqual.type.1 (%Cpp.long_long.as.EqWith.impl.NotEqual.type.d3ede4.2) = import_ref Core//prelude/types/cpp/int, NotEqual, loaded [symbolic = @Cpp.long_long.as.EqWith.impl.b3f.%Cpp.long_long.as.EqWith.impl.NotEqual.1 (constants.%Cpp.long_long.as.EqWith.impl.NotEqual.2226a5.2)] -// CHECK:STDOUT: %Core.Equal.513: @Cpp.long_long.as.EqWith.impl.b3f.%Cpp.long_long.as.EqWith.impl.Equal.type.1 (%Cpp.long_long.as.EqWith.impl.Equal.type.b786b3.2) = import_ref Core//prelude/types/cpp/int, Equal, loaded [symbolic = @Cpp.long_long.as.EqWith.impl.b3f.%Cpp.long_long.as.EqWith.impl.Equal.1 (constants.%Cpp.long_long.as.EqWith.impl.Equal.4fa5ca.2)] -// CHECK:STDOUT: %Core.import_ref.67b339.2: %i64.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i64.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.f80 = impl_witness_table (%Core.import_ref.67b339.2), @i64.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.030: @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.Less.type.2 (%Cpp.long_long.as.OrderedWith.impl.Less.type.ad3000.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.Less.2 (constants.%Cpp.long_long.as.OrderedWith.impl.Less.f5cea6.1)] -// CHECK:STDOUT: %Core.import_ref.668: @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.2 (%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1f6092.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2 (constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.3b1acc.1)] -// CHECK:STDOUT: %Core.import_ref.f34a: @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.Greater.type.2 (%Cpp.long_long.as.OrderedWith.impl.Greater.type.b0cf54.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.Greater.2 (constants.%Cpp.long_long.as.OrderedWith.impl.Greater.f15662.1)] -// CHECK:STDOUT: %Core.import_ref.4e6: @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.2 (%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.ef5e2e.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2 (constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.6a7c3b.1)] -// CHECK:STDOUT: %OrderedWith.impl_witness_table.c22 = impl_witness_table (%Core.import_ref.030, %Core.import_ref.668, %Core.import_ref.f34a, %Core.import_ref.4e6), @Cpp.long_long.as.OrderedWith.impl.e96 [concrete] -// CHECK:STDOUT: %Core.GreaterOrEquivalent.b7e: @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.1 (%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.ef5e2e.2) = import_ref Core//prelude/types/cpp/int, GreaterOrEquivalent, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1 (constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.6a7c3b.2)] -// CHECK:STDOUT: %Core.Greater.6cc: @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.Greater.type.1 (%Cpp.long_long.as.OrderedWith.impl.Greater.type.b0cf54.2) = import_ref Core//prelude/types/cpp/int, Greater, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.Greater.1 (constants.%Cpp.long_long.as.OrderedWith.impl.Greater.f15662.2)] -// CHECK:STDOUT: %Core.LessOrEquivalent.5a7: @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1 (%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1f6092.2) = import_ref Core//prelude/types/cpp/int, LessOrEquivalent, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1 (constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.3b1acc.2)] -// CHECK:STDOUT: %Core.Less.683: @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.Less.type.1 (%Cpp.long_long.as.OrderedWith.impl.Less.type.ad3000.2) = import_ref Core//prelude/types/cpp/int, Less, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.e96.%Cpp.long_long.as.OrderedWith.impl.Less.1 (constants.%Cpp.long_long.as.OrderedWith.impl.Less.f5cea6.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.337 = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.ImplicitAs.impl.74b [concrete] +// CHECK:STDOUT: %Core.import_ref.2ed: @Cpp.long_long.as.EqWith.impl.17e.%Cpp.long_long.as.EqWith.impl.Equal.type.2 (%Cpp.long_long.as.EqWith.impl.Equal.type.3b5f14.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.EqWith.impl.17e.%Cpp.long_long.as.EqWith.impl.Equal.2 (constants.%Cpp.long_long.as.EqWith.impl.Equal.b8b42d.1)] +// CHECK:STDOUT: %Core.import_ref.843: @Cpp.long_long.as.EqWith.impl.17e.%Cpp.long_long.as.EqWith.impl.NotEqual.type.2 (%Cpp.long_long.as.EqWith.impl.NotEqual.type.7b9cca.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.EqWith.impl.17e.%Cpp.long_long.as.EqWith.impl.NotEqual.2 (constants.%Cpp.long_long.as.EqWith.impl.NotEqual.f31283.1)] +// CHECK:STDOUT: %EqWith.impl_witness_table.0d8 = impl_witness_table (%Core.import_ref.2ed, %Core.import_ref.843), @Cpp.long_long.as.EqWith.impl.17e [concrete] +// CHECK:STDOUT: %Core.NotEqual.ff3: @Cpp.long_long.as.EqWith.impl.17e.%Cpp.long_long.as.EqWith.impl.NotEqual.type.1 (%Cpp.long_long.as.EqWith.impl.NotEqual.type.7b9cca.2) = import_ref Core//prelude/types/cpp/int, NotEqual, loaded [symbolic = @Cpp.long_long.as.EqWith.impl.17e.%Cpp.long_long.as.EqWith.impl.NotEqual.1 (constants.%Cpp.long_long.as.EqWith.impl.NotEqual.f31283.2)] +// CHECK:STDOUT: %Core.Equal.13c: @Cpp.long_long.as.EqWith.impl.17e.%Cpp.long_long.as.EqWith.impl.Equal.type.1 (%Cpp.long_long.as.EqWith.impl.Equal.type.3b5f14.2) = import_ref Core//prelude/types/cpp/int, Equal, loaded [symbolic = @Cpp.long_long.as.EqWith.impl.17e.%Cpp.long_long.as.EqWith.impl.Equal.1 (constants.%Cpp.long_long.as.EqWith.impl.Equal.b8b42d.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %i64.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.7ed = impl_witness_table (%Core.import_ref.adef5f.2), @i64.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a97: @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.Less.type.2 (%Cpp.long_long.as.OrderedWith.impl.Less.type.a6b355.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.Less.2 (constants.%Cpp.long_long.as.OrderedWith.impl.Less.e7ab5c.1)] +// CHECK:STDOUT: %Core.import_ref.864: @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.2 (%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.4bff13.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2 (constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.5642ad.1)] +// CHECK:STDOUT: %Core.import_ref.67a: @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.Greater.type.2 (%Cpp.long_long.as.OrderedWith.impl.Greater.type.d80854.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.Greater.2 (constants.%Cpp.long_long.as.OrderedWith.impl.Greater.c12661.1)] +// CHECK:STDOUT: %Core.import_ref.231: @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.2 (%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.f75384.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2 (constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.8863f7.1)] +// CHECK:STDOUT: %OrderedWith.impl_witness_table.db9 = impl_witness_table (%Core.import_ref.a97, %Core.import_ref.864, %Core.import_ref.67a, %Core.import_ref.231), @Cpp.long_long.as.OrderedWith.impl.d12 [concrete] +// CHECK:STDOUT: %Core.GreaterOrEquivalent.a6d: @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.1 (%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.f75384.2) = import_ref Core//prelude/types/cpp/int, GreaterOrEquivalent, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1 (constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.8863f7.2)] +// CHECK:STDOUT: %Core.Greater.380: @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.Greater.type.1 (%Cpp.long_long.as.OrderedWith.impl.Greater.type.d80854.2) = import_ref Core//prelude/types/cpp/int, Greater, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.Greater.1 (constants.%Cpp.long_long.as.OrderedWith.impl.Greater.c12661.2)] +// CHECK:STDOUT: %Core.LessOrEquivalent.f16: @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1 (%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.4bff13.2) = import_ref Core//prelude/types/cpp/int, LessOrEquivalent, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1 (constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.5642ad.2)] +// CHECK:STDOUT: %Core.Less.c42: @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.Less.type.1 (%Cpp.long_long.as.OrderedWith.impl.Less.type.a6b355.2) = import_ref Core//prelude/types/cpp/int, Less, loaded [symbolic = @Cpp.long_long.as.OrderedWith.impl.d12.%Cpp.long_long.as.OrderedWith.impl.Less.1 (constants.%Cpp.long_long.as.OrderedWith.impl.Less.e7ab5c.2)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ComparisonsHeterogeneousLongLongLeftSide() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e6e = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.003 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc9_13: type = splice_block %long_long.ref [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long_long.ref: type = name_ref long_long, constants.%Cpp.long_long [concrete = constants.%Cpp.long_long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc9: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc9: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc9: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long_long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc9_26.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc9_26.2: %Cpp.long_long = converted %int_1.loc9, %.loc9_26.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long_long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc9_26.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc9_26.2: %Cpp.long_long = converted %int_1.loc9, %.loc9_26.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %a: %Cpp.long_long = value_binding a, %.loc9_26.2 // CHECK:STDOUT: %a.ref.loc10: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc10: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc10_5: %.8bf = impl_witness_access constants.%EqWith.impl_witness.25a, element0 [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.3d35fd.2] +// CHECK:STDOUT: %impl.elem0.loc10_5: %.ca4 = impl_witness_access constants.%EqWith.impl_witness.fc3, element0 [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.e19c13.2] // CHECK:STDOUT: %bound_method.loc10_5.1: = bound_method %a.ref.loc10, %impl.elem0.loc10_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc10: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc10_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc10 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @Cpp.long_long.as.EqWith.impl.Equal.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.specific_fn.44272c.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc10: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc10_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc10 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @Cpp.long_long.as.EqWith.impl.Equal.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.specific_fn.baba25.1] // CHECK:STDOUT: %bound_method.loc10_5.2: = bound_method %a.ref.loc10, %specific_fn.loc10 -// CHECK:STDOUT: %.loc10_5.2: %Cpp.long_long.as.EqWith.impl.Equal.type.a1c8a8.1 = specific_constant imports.%Core.Equal.513, @Cpp.long_long.as.EqWith.impl.b3f(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.3d35fd.1] -// CHECK:STDOUT: %Equal.ref.loc10: %Cpp.long_long.as.EqWith.impl.Equal.type.a1c8a8.1 = name_ref Equal, %.loc10_5.2 [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.3d35fd.1] +// CHECK:STDOUT: %.loc10_5.2: %Cpp.long_long.as.EqWith.impl.Equal.type.977cca.1 = specific_constant imports.%Core.Equal.13c, @Cpp.long_long.as.EqWith.impl.17e(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.e19c13.1] +// CHECK:STDOUT: %Equal.ref.loc10: %Cpp.long_long.as.EqWith.impl.Equal.type.977cca.1 = name_ref Equal, %.loc10_5.2 [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.e19c13.1] // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.bound.loc10: = bound_method %a.ref.loc10, %Equal.ref.loc10 -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.loc10: = specific_function %Equal.ref.loc10, @Cpp.long_long.as.EqWith.impl.Equal.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.specific_fn.44272c.2] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.loc10: = specific_function %Equal.ref.loc10, @Cpp.long_long.as.EqWith.impl.Equal.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.specific_fn.baba25.2] // CHECK:STDOUT: %bound_method.loc10_5.3: = bound_method %a.ref.loc10, %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.loc10 -// CHECK:STDOUT: %impl.elem0.loc10_8: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc10_8: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc10_8: = bound_method %b.ref.loc10, %impl.elem0.loc10_8 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc10: init %Cpp.long_long = call %bound_method.loc10_8(%b.ref.loc10) // CHECK:STDOUT: %.loc10_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc10 @@ -1700,18 +1700,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.call.loc10: init bool = call %bound_method.loc10_5.3(%a.ref.loc10, %.loc10_8.2) // CHECK:STDOUT: %a.ref.loc11: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc11: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem1.loc11: %.670 = impl_witness_access constants.%EqWith.impl_witness.25a, element1 [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.5ddccb.2] +// CHECK:STDOUT: %impl.elem1.loc11: %.ee9 = impl_witness_access constants.%EqWith.impl_witness.fc3, element1 [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.60a432.2] // CHECK:STDOUT: %bound_method.loc11_5.1: = bound_method %a.ref.loc11, %impl.elem1.loc11 -// CHECK:STDOUT: %ImplicitAs.facet.loc11: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc11_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc11 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem1.loc11, @Cpp.long_long.as.EqWith.impl.NotEqual.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.f173d3.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc11: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc11_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc11 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem1.loc11, @Cpp.long_long.as.EqWith.impl.NotEqual.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.98b1ce.1] // CHECK:STDOUT: %bound_method.loc11_5.2: = bound_method %a.ref.loc11, %specific_fn.loc11 -// CHECK:STDOUT: %.loc11_5.2: %Cpp.long_long.as.EqWith.impl.NotEqual.type.a2bb41.1 = specific_constant imports.%Core.NotEqual.aad, @Cpp.long_long.as.EqWith.impl.b3f(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.5ddccb.1] -// CHECK:STDOUT: %NotEqual.ref.loc11: %Cpp.long_long.as.EqWith.impl.NotEqual.type.a2bb41.1 = name_ref NotEqual, %.loc11_5.2 [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.5ddccb.1] +// CHECK:STDOUT: %.loc11_5.2: %Cpp.long_long.as.EqWith.impl.NotEqual.type.a472a9.1 = specific_constant imports.%Core.NotEqual.ff3, @Cpp.long_long.as.EqWith.impl.17e(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.60a432.1] +// CHECK:STDOUT: %NotEqual.ref.loc11: %Cpp.long_long.as.EqWith.impl.NotEqual.type.a472a9.1 = name_ref NotEqual, %.loc11_5.2 [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.60a432.1] // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.bound.loc11: = bound_method %a.ref.loc11, %NotEqual.ref.loc11 -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.loc11: = specific_function %NotEqual.ref.loc11, @Cpp.long_long.as.EqWith.impl.NotEqual.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.f173d3.2] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.loc11: = specific_function %NotEqual.ref.loc11, @Cpp.long_long.as.EqWith.impl.NotEqual.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.98b1ce.2] // CHECK:STDOUT: %bound_method.loc11_5.3: = bound_method %a.ref.loc11, %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.loc11 -// CHECK:STDOUT: %impl.elem0.loc11: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc11: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc11_8: = bound_method %b.ref.loc11, %impl.elem0.loc11 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc11: init %Cpp.long_long = call %bound_method.loc11_8(%b.ref.loc11) // CHECK:STDOUT: %.loc11_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc11 @@ -1719,18 +1719,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.call.loc11: init bool = call %bound_method.loc11_5.3(%a.ref.loc11, %.loc11_8.2) // CHECK:STDOUT: %a.ref.loc12: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc12: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem2.loc12: %.88f = impl_witness_access constants.%OrderedWith.impl_witness.786, element2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.11e70b.2] +// CHECK:STDOUT: %impl.elem2.loc12: %.376 = impl_witness_access constants.%OrderedWith.impl_witness.f65, element2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.7da7b9.2] // CHECK:STDOUT: %bound_method.loc12_5.1: = bound_method %a.ref.loc12, %impl.elem2.loc12 -// CHECK:STDOUT: %ImplicitAs.facet.loc12: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc12_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc12 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem2.loc12, @Cpp.long_long.as.OrderedWith.impl.Greater.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.7a60e2.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc12: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc12_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc12 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem2.loc12, @Cpp.long_long.as.OrderedWith.impl.Greater.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.88bb72.1] // CHECK:STDOUT: %bound_method.loc12_5.2: = bound_method %a.ref.loc12, %specific_fn.loc12 -// CHECK:STDOUT: %.loc12_5.2: %Cpp.long_long.as.OrderedWith.impl.Greater.type.574141.1 = specific_constant imports.%Core.Greater.6cc, @Cpp.long_long.as.OrderedWith.impl.e96(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.11e70b.1] -// CHECK:STDOUT: %Greater.ref.loc12: %Cpp.long_long.as.OrderedWith.impl.Greater.type.574141.1 = name_ref Greater, %.loc12_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.11e70b.1] +// CHECK:STDOUT: %.loc12_5.2: %Cpp.long_long.as.OrderedWith.impl.Greater.type.1064c4.1 = specific_constant imports.%Core.Greater.380, @Cpp.long_long.as.OrderedWith.impl.d12(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.7da7b9.1] +// CHECK:STDOUT: %Greater.ref.loc12: %Cpp.long_long.as.OrderedWith.impl.Greater.type.1064c4.1 = name_ref Greater, %.loc12_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.7da7b9.1] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.bound.loc12: = bound_method %a.ref.loc12, %Greater.ref.loc12 -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.loc12: = specific_function %Greater.ref.loc12, @Cpp.long_long.as.OrderedWith.impl.Greater.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.7a60e2.2] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.loc12: = specific_function %Greater.ref.loc12, @Cpp.long_long.as.OrderedWith.impl.Greater.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.88bb72.2] // CHECK:STDOUT: %bound_method.loc12_5.3: = bound_method %a.ref.loc12, %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.loc12 -// CHECK:STDOUT: %impl.elem0.loc12: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc12: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc12_7: = bound_method %b.ref.loc12, %impl.elem0.loc12 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc12: init %Cpp.long_long = call %bound_method.loc12_7(%b.ref.loc12) // CHECK:STDOUT: %.loc12_7.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc12 @@ -1738,18 +1738,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.call.loc12: init bool = call %bound_method.loc12_5.3(%a.ref.loc12, %.loc12_7.2) // CHECK:STDOUT: %a.ref.loc13: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc13: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc13_5: %.d3f = impl_witness_access constants.%OrderedWith.impl_witness.786, element0 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.e59cbf.2] +// CHECK:STDOUT: %impl.elem0.loc13_5: %.7cc = impl_witness_access constants.%OrderedWith.impl_witness.f65, element0 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.0705fe.2] // CHECK:STDOUT: %bound_method.loc13_5.1: = bound_method %a.ref.loc13, %impl.elem0.loc13_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc13: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc13_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc13 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_5, @Cpp.long_long.as.OrderedWith.impl.Less.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.b25c25.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc13: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc13_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc13 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_5, @Cpp.long_long.as.OrderedWith.impl.Less.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.48b538.1] // CHECK:STDOUT: %bound_method.loc13_5.2: = bound_method %a.ref.loc13, %specific_fn.loc13 -// CHECK:STDOUT: %.loc13_5.2: %Cpp.long_long.as.OrderedWith.impl.Less.type.39569b.1 = specific_constant imports.%Core.Less.683, @Cpp.long_long.as.OrderedWith.impl.e96(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.e59cbf.1] -// CHECK:STDOUT: %Less.ref.loc13: %Cpp.long_long.as.OrderedWith.impl.Less.type.39569b.1 = name_ref Less, %.loc13_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.e59cbf.1] +// CHECK:STDOUT: %.loc13_5.2: %Cpp.long_long.as.OrderedWith.impl.Less.type.87c979.1 = specific_constant imports.%Core.Less.c42, @Cpp.long_long.as.OrderedWith.impl.d12(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.0705fe.1] +// CHECK:STDOUT: %Less.ref.loc13: %Cpp.long_long.as.OrderedWith.impl.Less.type.87c979.1 = name_ref Less, %.loc13_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.0705fe.1] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.bound.loc13: = bound_method %a.ref.loc13, %Less.ref.loc13 -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.loc13: = specific_function %Less.ref.loc13, @Cpp.long_long.as.OrderedWith.impl.Less.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.b25c25.2] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.loc13: = specific_function %Less.ref.loc13, @Cpp.long_long.as.OrderedWith.impl.Less.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.48b538.2] // CHECK:STDOUT: %bound_method.loc13_5.3: = bound_method %a.ref.loc13, %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.loc13 -// CHECK:STDOUT: %impl.elem0.loc13_7: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc13_7: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc13_7: = bound_method %b.ref.loc13, %impl.elem0.loc13_7 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc13: init %Cpp.long_long = call %bound_method.loc13_7(%b.ref.loc13) // CHECK:STDOUT: %.loc13_7.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc13 @@ -1757,18 +1757,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.call.loc13: init bool = call %bound_method.loc13_5.3(%a.ref.loc13, %.loc13_7.2) // CHECK:STDOUT: %a.ref.loc14: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc14: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem3.loc14: %.4af = impl_witness_access constants.%OrderedWith.impl_witness.786, element3 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.df3349.2] +// CHECK:STDOUT: %impl.elem3.loc14: %.5ee = impl_witness_access constants.%OrderedWith.impl_witness.f65, element3 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.573728.2] // CHECK:STDOUT: %bound_method.loc14_5.1: = bound_method %a.ref.loc14, %impl.elem3.loc14 -// CHECK:STDOUT: %ImplicitAs.facet.loc14: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc14_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc14 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem3.loc14, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.e0500b.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc14: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc14_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc14 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem3.loc14, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.db44c2.1] // CHECK:STDOUT: %bound_method.loc14_5.2: = bound_method %a.ref.loc14, %specific_fn.loc14 -// CHECK:STDOUT: %.loc14_5.2: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.2343b2.1 = specific_constant imports.%Core.GreaterOrEquivalent.b7e, @Cpp.long_long.as.OrderedWith.impl.e96(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.df3349.1] -// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc14: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.2343b2.1 = name_ref GreaterOrEquivalent, %.loc14_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.df3349.1] +// CHECK:STDOUT: %.loc14_5.2: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.4a408d.1 = specific_constant imports.%Core.GreaterOrEquivalent.a6d, @Cpp.long_long.as.OrderedWith.impl.d12(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.573728.1] +// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc14: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.4a408d.1 = name_ref GreaterOrEquivalent, %.loc14_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.573728.1] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.bound.loc14: = bound_method %a.ref.loc14, %GreaterOrEquivalent.ref.loc14 -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc14: = specific_function %GreaterOrEquivalent.ref.loc14, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.e0500b.2] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc14: = specific_function %GreaterOrEquivalent.ref.loc14, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.db44c2.2] // CHECK:STDOUT: %bound_method.loc14_5.3: = bound_method %a.ref.loc14, %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc14 -// CHECK:STDOUT: %impl.elem0.loc14: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc14: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc14_8: = bound_method %b.ref.loc14, %impl.elem0.loc14 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc14: init %Cpp.long_long = call %bound_method.loc14_8(%b.ref.loc14) // CHECK:STDOUT: %.loc14_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc14 @@ -1776,18 +1776,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.call.loc14: init bool = call %bound_method.loc14_5.3(%a.ref.loc14, %.loc14_8.2) // CHECK:STDOUT: %a.ref.loc15: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc15: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem1.loc15: %.3d0 = impl_witness_access constants.%OrderedWith.impl_witness.786, element1 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.f9c1b6.2] +// CHECK:STDOUT: %impl.elem1.loc15: %.6c6 = impl_witness_access constants.%OrderedWith.impl_witness.f65, element1 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.31e7c4.2] // CHECK:STDOUT: %bound_method.loc15_5.1: = bound_method %a.ref.loc15, %impl.elem1.loc15 -// CHECK:STDOUT: %ImplicitAs.facet.loc15: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc15_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc15 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem1.loc15, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.a790c8.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc15: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc15_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc15 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem1.loc15, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.ec8a24.1] // CHECK:STDOUT: %bound_method.loc15_5.2: = bound_method %a.ref.loc15, %specific_fn.loc15 -// CHECK:STDOUT: %.loc15_5.2: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1f402d.1 = specific_constant imports.%Core.LessOrEquivalent.5a7, @Cpp.long_long.as.OrderedWith.impl.e96(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.f9c1b6.1] -// CHECK:STDOUT: %LessOrEquivalent.ref.loc15: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.1f402d.1 = name_ref LessOrEquivalent, %.loc15_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.f9c1b6.1] +// CHECK:STDOUT: %.loc15_5.2: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.07a4be.1 = specific_constant imports.%Core.LessOrEquivalent.f16, @Cpp.long_long.as.OrderedWith.impl.d12(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.31e7c4.1] +// CHECK:STDOUT: %LessOrEquivalent.ref.loc15: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.07a4be.1 = name_ref LessOrEquivalent, %.loc15_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.31e7c4.1] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.bound.loc15: = bound_method %a.ref.loc15, %LessOrEquivalent.ref.loc15 -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc15: = specific_function %LessOrEquivalent.ref.loc15, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.a790c8.2] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc15: = specific_function %LessOrEquivalent.ref.loc15, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.ec8a24.2] // CHECK:STDOUT: %bound_method.loc15_5.3: = bound_method %a.ref.loc15, %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc15 -// CHECK:STDOUT: %impl.elem0.loc15: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc15: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc15_8: = bound_method %b.ref.loc15, %impl.elem0.loc15 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc15: init %Cpp.long_long = call %bound_method.loc15_8(%b.ref.loc15) // CHECK:STDOUT: %.loc15_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc15 @@ -1795,117 +1795,117 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.call.loc15: init bool = call %bound_method.loc15_5.3(%a.ref.loc15, %.loc15_8.2) // CHECK:STDOUT: %a.ref.loc17: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %int_1.loc17: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc17_5: %.dc2 = impl_witness_access constants.%EqWith.impl_witness.5c9, element0 [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.e45bf6.2] +// CHECK:STDOUT: %impl.elem0.loc17_5: %.f32 = impl_witness_access constants.%EqWith.impl_witness.52a, element0 [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.7910c3.2] // CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %a.ref.loc17, %impl.elem0.loc17_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc17: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.f2c) [concrete = constants.%ImplicitAs.facet.232] -// CHECK:STDOUT: %.loc17_5.1: %ImplicitAs.type.d35 = converted Core.IntLiteral, %ImplicitAs.facet.loc17 [concrete = constants.%ImplicitAs.facet.232] -// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17_5, @Cpp.long_long.as.EqWith.impl.Equal.1(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.specific_fn.47aa9e.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc17: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.59e) [concrete = constants.%ImplicitAs.facet.532] +// CHECK:STDOUT: %.loc17_5.1: %ImplicitAs.type.fb7 = converted Core.IntLiteral, %ImplicitAs.facet.loc17 [concrete = constants.%ImplicitAs.facet.532] +// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17_5, @Cpp.long_long.as.EqWith.impl.Equal.1(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.specific_fn.0033e7.1] // CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %a.ref.loc17, %specific_fn.loc17 -// CHECK:STDOUT: %.loc17_5.2: %Cpp.long_long.as.EqWith.impl.Equal.type.ee0565.1 = specific_constant imports.%Core.Equal.513, @Cpp.long_long.as.EqWith.impl.b3f(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.e45bf6.1] -// CHECK:STDOUT: %Equal.ref.loc17: %Cpp.long_long.as.EqWith.impl.Equal.type.ee0565.1 = name_ref Equal, %.loc17_5.2 [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.e45bf6.1] +// CHECK:STDOUT: %.loc17_5.2: %Cpp.long_long.as.EqWith.impl.Equal.type.1a61b8.1 = specific_constant imports.%Core.Equal.13c, @Cpp.long_long.as.EqWith.impl.17e(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.7910c3.1] +// CHECK:STDOUT: %Equal.ref.loc17: %Cpp.long_long.as.EqWith.impl.Equal.type.1a61b8.1 = name_ref Equal, %.loc17_5.2 [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.7910c3.1] // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.bound.loc17: = bound_method %a.ref.loc17, %Equal.ref.loc17 -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.loc17: = specific_function %Equal.ref.loc17, @Cpp.long_long.as.EqWith.impl.Equal.2(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.specific_fn.47aa9e.2] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.loc17: = specific_function %Equal.ref.loc17, @Cpp.long_long.as.EqWith.impl.Equal.2(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.EqWith.impl.Equal.specific_fn.0033e7.2] // CHECK:STDOUT: %bound_method.loc17_5.3: = bound_method %a.ref.loc17, %Cpp.long_long.as.EqWith.impl.Equal.specific_fn.loc17 -// CHECK:STDOUT: %impl.elem0.loc17_8: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc17_8: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc17_8: = bound_method %int_1.loc17, %impl.elem0.loc17_8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %Cpp.long_long = call %bound_method.loc17_8(%int_1.loc17) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc17_8.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc17_8.2: %Cpp.long_long = converted %int_1.loc17, %.loc17_8.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %Cpp.long_long = call %bound_method.loc17_8(%int_1.loc17) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc17_8.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc17_8.2: %Cpp.long_long = converted %int_1.loc17, %.loc17_8.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.Equal.call.loc17: init bool = call %bound_method.loc17_5.3(%a.ref.loc17, %.loc17_8.2) // CHECK:STDOUT: %a.ref.loc18: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %int_1.loc18: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem1.loc18: %.cc3 = impl_witness_access constants.%EqWith.impl_witness.5c9, element1 [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.c8b66a.2] +// CHECK:STDOUT: %impl.elem1.loc18: %.a0d = impl_witness_access constants.%EqWith.impl_witness.52a, element1 [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.c04b44.2] // CHECK:STDOUT: %bound_method.loc18_5.1: = bound_method %a.ref.loc18, %impl.elem1.loc18 -// CHECK:STDOUT: %ImplicitAs.facet.loc18: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.f2c) [concrete = constants.%ImplicitAs.facet.232] -// CHECK:STDOUT: %.loc18_5.1: %ImplicitAs.type.d35 = converted Core.IntLiteral, %ImplicitAs.facet.loc18 [concrete = constants.%ImplicitAs.facet.232] -// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem1.loc18, @Cpp.long_long.as.EqWith.impl.NotEqual.1(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.41e5d3.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc18: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.59e) [concrete = constants.%ImplicitAs.facet.532] +// CHECK:STDOUT: %.loc18_5.1: %ImplicitAs.type.fb7 = converted Core.IntLiteral, %ImplicitAs.facet.loc18 [concrete = constants.%ImplicitAs.facet.532] +// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem1.loc18, @Cpp.long_long.as.EqWith.impl.NotEqual.1(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.2732d7.1] // CHECK:STDOUT: %bound_method.loc18_5.2: = bound_method %a.ref.loc18, %specific_fn.loc18 -// CHECK:STDOUT: %.loc18_5.2: %Cpp.long_long.as.EqWith.impl.NotEqual.type.6e5eea.1 = specific_constant imports.%Core.NotEqual.aad, @Cpp.long_long.as.EqWith.impl.b3f(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.c8b66a.1] -// CHECK:STDOUT: %NotEqual.ref.loc18: %Cpp.long_long.as.EqWith.impl.NotEqual.type.6e5eea.1 = name_ref NotEqual, %.loc18_5.2 [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.c8b66a.1] +// CHECK:STDOUT: %.loc18_5.2: %Cpp.long_long.as.EqWith.impl.NotEqual.type.eb70e8.1 = specific_constant imports.%Core.NotEqual.ff3, @Cpp.long_long.as.EqWith.impl.17e(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.c04b44.1] +// CHECK:STDOUT: %NotEqual.ref.loc18: %Cpp.long_long.as.EqWith.impl.NotEqual.type.eb70e8.1 = name_ref NotEqual, %.loc18_5.2 [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.c04b44.1] // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.bound.loc18: = bound_method %a.ref.loc18, %NotEqual.ref.loc18 -// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.loc18: = specific_function %NotEqual.ref.loc18, @Cpp.long_long.as.EqWith.impl.NotEqual.2(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.41e5d3.2] +// CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.loc18: = specific_function %NotEqual.ref.loc18, @Cpp.long_long.as.EqWith.impl.NotEqual.2(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.2732d7.2] // CHECK:STDOUT: %bound_method.loc18_5.3: = bound_method %a.ref.loc18, %Cpp.long_long.as.EqWith.impl.NotEqual.specific_fn.loc18 -// CHECK:STDOUT: %impl.elem0.loc18: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc18: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc18_8: = bound_method %int_1.loc18, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %Cpp.long_long = call %bound_method.loc18_8(%int_1.loc18) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc18_8.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc18_8.2: %Cpp.long_long = converted %int_1.loc18, %.loc18_8.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %Cpp.long_long = call %bound_method.loc18_8(%int_1.loc18) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc18_8.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc18_8.2: %Cpp.long_long = converted %int_1.loc18, %.loc18_8.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %Cpp.long_long.as.EqWith.impl.NotEqual.call.loc18: init bool = call %bound_method.loc18_5.3(%a.ref.loc18, %.loc18_8.2) // CHECK:STDOUT: %a.ref.loc19: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %int_1.loc19: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem2.loc19: %.470 = impl_witness_access constants.%OrderedWith.impl_witness.cc0, element2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.d71914.2] +// CHECK:STDOUT: %impl.elem2.loc19: %.09e = impl_witness_access constants.%OrderedWith.impl_witness.726, element2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.8a24a6.2] // CHECK:STDOUT: %bound_method.loc19_5.1: = bound_method %a.ref.loc19, %impl.elem2.loc19 -// CHECK:STDOUT: %ImplicitAs.facet.loc19: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.f2c) [concrete = constants.%ImplicitAs.facet.232] -// CHECK:STDOUT: %.loc19_5.1: %ImplicitAs.type.d35 = converted Core.IntLiteral, %ImplicitAs.facet.loc19 [concrete = constants.%ImplicitAs.facet.232] -// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem2.loc19, @Cpp.long_long.as.OrderedWith.impl.Greater.1(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.90c012.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc19: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.59e) [concrete = constants.%ImplicitAs.facet.532] +// CHECK:STDOUT: %.loc19_5.1: %ImplicitAs.type.fb7 = converted Core.IntLiteral, %ImplicitAs.facet.loc19 [concrete = constants.%ImplicitAs.facet.532] +// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem2.loc19, @Cpp.long_long.as.OrderedWith.impl.Greater.1(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.995882.1] // CHECK:STDOUT: %bound_method.loc19_5.2: = bound_method %a.ref.loc19, %specific_fn.loc19 -// CHECK:STDOUT: %.loc19_5.2: %Cpp.long_long.as.OrderedWith.impl.Greater.type.987cc7.1 = specific_constant imports.%Core.Greater.6cc, @Cpp.long_long.as.OrderedWith.impl.e96(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.d71914.1] -// CHECK:STDOUT: %Greater.ref.loc19: %Cpp.long_long.as.OrderedWith.impl.Greater.type.987cc7.1 = name_ref Greater, %.loc19_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.d71914.1] +// CHECK:STDOUT: %.loc19_5.2: %Cpp.long_long.as.OrderedWith.impl.Greater.type.eb4a22.1 = specific_constant imports.%Core.Greater.380, @Cpp.long_long.as.OrderedWith.impl.d12(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.8a24a6.1] +// CHECK:STDOUT: %Greater.ref.loc19: %Cpp.long_long.as.OrderedWith.impl.Greater.type.eb4a22.1 = name_ref Greater, %.loc19_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.8a24a6.1] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.bound.loc19: = bound_method %a.ref.loc19, %Greater.ref.loc19 -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.loc19: = specific_function %Greater.ref.loc19, @Cpp.long_long.as.OrderedWith.impl.Greater.2(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.90c012.2] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.loc19: = specific_function %Greater.ref.loc19, @Cpp.long_long.as.OrderedWith.impl.Greater.2(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.995882.2] // CHECK:STDOUT: %bound_method.loc19_5.3: = bound_method %a.ref.loc19, %Cpp.long_long.as.OrderedWith.impl.Greater.specific_fn.loc19 -// CHECK:STDOUT: %impl.elem0.loc19: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc19: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc19_7: = bound_method %int_1.loc19, %impl.elem0.loc19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %Cpp.long_long = call %bound_method.loc19_7(%int_1.loc19) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc19_7.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc19_7.2: %Cpp.long_long = converted %int_1.loc19, %.loc19_7.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %Cpp.long_long = call %bound_method.loc19_7(%int_1.loc19) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc19_7.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc19_7.2: %Cpp.long_long = converted %int_1.loc19, %.loc19_7.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Greater.call.loc19: init bool = call %bound_method.loc19_5.3(%a.ref.loc19, %.loc19_7.2) // CHECK:STDOUT: %a.ref.loc20: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %int_1.loc20: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc20_5: %.ff1 = impl_witness_access constants.%OrderedWith.impl_witness.cc0, element0 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.63cc8b.2] +// CHECK:STDOUT: %impl.elem0.loc20_5: %.32c = impl_witness_access constants.%OrderedWith.impl_witness.726, element0 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.a102cb.2] // CHECK:STDOUT: %bound_method.loc20_5.1: = bound_method %a.ref.loc20, %impl.elem0.loc20_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc20: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.f2c) [concrete = constants.%ImplicitAs.facet.232] -// CHECK:STDOUT: %.loc20_5.1: %ImplicitAs.type.d35 = converted Core.IntLiteral, %ImplicitAs.facet.loc20 [concrete = constants.%ImplicitAs.facet.232] -// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20_5, @Cpp.long_long.as.OrderedWith.impl.Less.1(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.f3400f.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc20: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.59e) [concrete = constants.%ImplicitAs.facet.532] +// CHECK:STDOUT: %.loc20_5.1: %ImplicitAs.type.fb7 = converted Core.IntLiteral, %ImplicitAs.facet.loc20 [concrete = constants.%ImplicitAs.facet.532] +// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20_5, @Cpp.long_long.as.OrderedWith.impl.Less.1(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.7fdd63.1] // CHECK:STDOUT: %bound_method.loc20_5.2: = bound_method %a.ref.loc20, %specific_fn.loc20 -// CHECK:STDOUT: %.loc20_5.2: %Cpp.long_long.as.OrderedWith.impl.Less.type.0c9ed2.1 = specific_constant imports.%Core.Less.683, @Cpp.long_long.as.OrderedWith.impl.e96(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.63cc8b.1] -// CHECK:STDOUT: %Less.ref.loc20: %Cpp.long_long.as.OrderedWith.impl.Less.type.0c9ed2.1 = name_ref Less, %.loc20_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.63cc8b.1] +// CHECK:STDOUT: %.loc20_5.2: %Cpp.long_long.as.OrderedWith.impl.Less.type.eaeb9f.1 = specific_constant imports.%Core.Less.c42, @Cpp.long_long.as.OrderedWith.impl.d12(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.a102cb.1] +// CHECK:STDOUT: %Less.ref.loc20: %Cpp.long_long.as.OrderedWith.impl.Less.type.eaeb9f.1 = name_ref Less, %.loc20_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.a102cb.1] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.bound.loc20: = bound_method %a.ref.loc20, %Less.ref.loc20 -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.loc20: = specific_function %Less.ref.loc20, @Cpp.long_long.as.OrderedWith.impl.Less.2(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.f3400f.2] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.loc20: = specific_function %Less.ref.loc20, @Cpp.long_long.as.OrderedWith.impl.Less.2(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.7fdd63.2] // CHECK:STDOUT: %bound_method.loc20_5.3: = bound_method %a.ref.loc20, %Cpp.long_long.as.OrderedWith.impl.Less.specific_fn.loc20 -// CHECK:STDOUT: %impl.elem0.loc20_7: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc20_7: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc20_7: = bound_method %int_1.loc20, %impl.elem0.loc20_7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %Cpp.long_long = call %bound_method.loc20_7(%int_1.loc20) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc20_7.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc20_7.2: %Cpp.long_long = converted %int_1.loc20, %.loc20_7.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %Cpp.long_long = call %bound_method.loc20_7(%int_1.loc20) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc20_7.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc20_7.2: %Cpp.long_long = converted %int_1.loc20, %.loc20_7.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.Less.call.loc20: init bool = call %bound_method.loc20_5.3(%a.ref.loc20, %.loc20_7.2) // CHECK:STDOUT: %a.ref.loc21: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %int_1.loc21: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem3.loc21: %.56a = impl_witness_access constants.%OrderedWith.impl_witness.cc0, element3 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.b9ee34.2] +// CHECK:STDOUT: %impl.elem3.loc21: %.035 = impl_witness_access constants.%OrderedWith.impl_witness.726, element3 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.6f3e4c.2] // CHECK:STDOUT: %bound_method.loc21_5.1: = bound_method %a.ref.loc21, %impl.elem3.loc21 -// CHECK:STDOUT: %ImplicitAs.facet.loc21: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.f2c) [concrete = constants.%ImplicitAs.facet.232] -// CHECK:STDOUT: %.loc21_5.1: %ImplicitAs.type.d35 = converted Core.IntLiteral, %ImplicitAs.facet.loc21 [concrete = constants.%ImplicitAs.facet.232] -// CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem3.loc21, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.583575.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc21: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.59e) [concrete = constants.%ImplicitAs.facet.532] +// CHECK:STDOUT: %.loc21_5.1: %ImplicitAs.type.fb7 = converted Core.IntLiteral, %ImplicitAs.facet.loc21 [concrete = constants.%ImplicitAs.facet.532] +// CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem3.loc21, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.1(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.c2dd9b.1] // CHECK:STDOUT: %bound_method.loc21_5.2: = bound_method %a.ref.loc21, %specific_fn.loc21 -// CHECK:STDOUT: %.loc21_5.2: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.115394.1 = specific_constant imports.%Core.GreaterOrEquivalent.b7e, @Cpp.long_long.as.OrderedWith.impl.e96(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.b9ee34.1] -// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc21: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.115394.1 = name_ref GreaterOrEquivalent, %.loc21_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.b9ee34.1] +// CHECK:STDOUT: %.loc21_5.2: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.24e8d9.1 = specific_constant imports.%Core.GreaterOrEquivalent.a6d, @Cpp.long_long.as.OrderedWith.impl.d12(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.6f3e4c.1] +// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc21: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.type.24e8d9.1 = name_ref GreaterOrEquivalent, %.loc21_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.6f3e4c.1] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.bound.loc21: = bound_method %a.ref.loc21, %GreaterOrEquivalent.ref.loc21 -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21: = specific_function %GreaterOrEquivalent.ref.loc21, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.583575.2] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21: = specific_function %GreaterOrEquivalent.ref.loc21, @Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.2(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.c2dd9b.2] // CHECK:STDOUT: %bound_method.loc21_5.3: = bound_method %a.ref.loc21, %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21 -// CHECK:STDOUT: %impl.elem0.loc21: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc21: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc21_8: = bound_method %int_1.loc21, %impl.elem0.loc21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %Cpp.long_long = call %bound_method.loc21_8(%int_1.loc21) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc21_8.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc21_8.2: %Cpp.long_long = converted %int_1.loc21, %.loc21_8.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %Cpp.long_long = call %bound_method.loc21_8(%int_1.loc21) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc21_8.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc21_8.2: %Cpp.long_long = converted %int_1.loc21, %.loc21_8.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.GreaterOrEquivalent.call.loc21: init bool = call %bound_method.loc21_5.3(%a.ref.loc21, %.loc21_8.2) // CHECK:STDOUT: %a.ref.loc22: %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %int_1.loc22: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem1.loc22: %.f58 = impl_witness_access constants.%OrderedWith.impl_witness.cc0, element1 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.918cd2.2] +// CHECK:STDOUT: %impl.elem1.loc22: %.41b = impl_witness_access constants.%OrderedWith.impl_witness.726, element1 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.ccf1fa.2] // CHECK:STDOUT: %bound_method.loc22_5.1: = bound_method %a.ref.loc22, %impl.elem1.loc22 -// CHECK:STDOUT: %ImplicitAs.facet.loc22: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.f2c) [concrete = constants.%ImplicitAs.facet.232] -// CHECK:STDOUT: %.loc22_5.1: %ImplicitAs.type.d35 = converted Core.IntLiteral, %ImplicitAs.facet.loc22 [concrete = constants.%ImplicitAs.facet.232] -// CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem1.loc22, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.4cf1bf.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc22: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.59e) [concrete = constants.%ImplicitAs.facet.532] +// CHECK:STDOUT: %.loc22_5.1: %ImplicitAs.type.fb7 = converted Core.IntLiteral, %ImplicitAs.facet.loc22 [concrete = constants.%ImplicitAs.facet.532] +// CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem1.loc22, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.1(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.fb4ce2.1] // CHECK:STDOUT: %bound_method.loc22_5.2: = bound_method %a.ref.loc22, %specific_fn.loc22 -// CHECK:STDOUT: %.loc22_5.2: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.c1b00c.1 = specific_constant imports.%Core.LessOrEquivalent.5a7, @Cpp.long_long.as.OrderedWith.impl.e96(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.918cd2.1] -// CHECK:STDOUT: %LessOrEquivalent.ref.loc22: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.c1b00c.1 = name_ref LessOrEquivalent, %.loc22_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.918cd2.1] +// CHECK:STDOUT: %.loc22_5.2: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.49d3d6.1 = specific_constant imports.%Core.LessOrEquivalent.f16, @Cpp.long_long.as.OrderedWith.impl.d12(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.ccf1fa.1] +// CHECK:STDOUT: %LessOrEquivalent.ref.loc22: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.type.49d3d6.1 = name_ref LessOrEquivalent, %.loc22_5.2 [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.ccf1fa.1] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.bound.loc22: = bound_method %a.ref.loc22, %LessOrEquivalent.ref.loc22 -// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22: = specific_function %LessOrEquivalent.ref.loc22, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2(constants.%ImplicitAs.facet.232) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.4cf1bf.2] +// CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22: = specific_function %LessOrEquivalent.ref.loc22, @Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.2(constants.%ImplicitAs.facet.532) [concrete = constants.%Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.fb4ce2.2] // CHECK:STDOUT: %bound_method.loc22_5.3: = bound_method %a.ref.loc22, %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22 -// CHECK:STDOUT: %impl.elem0.loc22: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc22: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc22_8: = bound_method %int_1.loc22, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %Cpp.long_long = call %bound_method.loc22_8(%int_1.loc22) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc22_8.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc22_8.2: %Cpp.long_long = converted %int_1.loc22, %.loc22_8.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %Cpp.long_long = call %bound_method.loc22_8(%int_1.loc22) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc22_8.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc22_8.2: %Cpp.long_long = converted %int_1.loc22, %.loc22_8.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %Cpp.long_long.as.OrderedWith.impl.LessOrEquivalent.call.loc22: init bool = call %bound_method.loc22_5.3(%a.ref.loc22, %.loc22_8.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -1917,177 +1917,177 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %Cpp.long_long: type = class_type @LongLong64 [concrete] -// CHECK:STDOUT: %pattern_type.e6e: type = pattern_type %Cpp.long_long [concrete] -// CHECK:STDOUT: %ImplicitAs.type.d35: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f2c: = impl_witness imports.%ImplicitAs.impl_witness_table.715 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.232: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.f2c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.52b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %.b38: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.52b, %ImplicitAs.facet.232 [concrete] +// CHECK:STDOUT: %pattern_type.003: type = pattern_type %Cpp.long_long [concrete] +// CHECK:STDOUT: %ImplicitAs.type.fb7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.59e: = impl_witness imports.%ImplicitAs.impl_witness_table.337 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.532: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.59e) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f1d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %.424: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f1d, %ImplicitAs.facet.532 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce [concrete] -// CHECK:STDOUT: %int_1.526: %Cpp.long_long = int_value 1 [concrete] -// CHECK:STDOUT: %EqWith.type.40a: type = facet_type <@EqWith, @EqWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %T.dc5: %ImplicitAs.type.d35 = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.a02dd9.1: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.3, @T.as_type.as.EqWith.impl.82e(%T.dc5) [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.f01295.1: %T.as_type.as.EqWith.impl.NotEqual.type.a02dd9.1 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.a02dd9.2: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.4, @T.as_type.as.EqWith.impl.82e(%T.dc5) [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.f01295.2: %T.as_type.as.EqWith.impl.NotEqual.type.a02dd9.2 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.ebec57.1: type = fn_type @T.as_type.as.EqWith.impl.Equal.3, @T.as_type.as.EqWith.impl.82e(%T.dc5) [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.c841c8.1: %T.as_type.as.EqWith.impl.Equal.type.ebec57.1 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.ebec57.2: type = fn_type @T.as_type.as.EqWith.impl.Equal.4, @T.as_type.as.EqWith.impl.82e(%T.dc5) [symbolic] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.c841c8.2: %T.as_type.as.EqWith.impl.Equal.type.ebec57.2 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.155: = impl_witness imports.%ImplicitAs.impl_witness_table.f80 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.7e4: %ImplicitAs.type.d35 = facet_value %i64, (%ImplicitAs.impl_witness.155) [concrete] -// CHECK:STDOUT: %EqWith.impl_witness.f48: = impl_witness imports.%EqWith.impl_witness_table.371, @T.as_type.as.EqWith.impl.82e(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.f099f0.1: type = fn_type @T.as_type.as.EqWith.impl.Equal.4, @T.as_type.as.EqWith.impl.82e(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.fa0488.1: %T.as_type.as.EqWith.impl.Equal.type.f099f0.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.331c0f.1: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.4, @T.as_type.as.EqWith.impl.82e(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.5f5f76.1: %T.as_type.as.EqWith.impl.NotEqual.type.331c0f.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.f099f0.2: type = fn_type @T.as_type.as.EqWith.impl.Equal.3, @T.as_type.as.EqWith.impl.82e(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.fa0488.2: %T.as_type.as.EqWith.impl.Equal.type.f099f0.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.331c0f.2: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.3, @T.as_type.as.EqWith.impl.82e(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.5f5f76.2: %T.as_type.as.EqWith.impl.NotEqual.type.331c0f.2 = struct_value () [concrete] -// CHECK:STDOUT: %EqWith.facet.461: %EqWith.type.40a = facet_value %i64, (%EqWith.impl_witness.f48) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.419: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Cpp.long_long, %EqWith.facet.461) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.e6d: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Cpp.long_long, %EqWith.facet.461) [concrete] -// CHECK:STDOUT: %.750: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.419, %EqWith.facet.461 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.910042.1: = specific_function %T.as_type.as.EqWith.impl.Equal.fa0488.2, @T.as_type.as.EqWith.impl.Equal.3(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.910042.2: = specific_function %T.as_type.as.EqWith.impl.Equal.fa0488.1, @T.as_type.as.EqWith.impl.Equal.4(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.fe4: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %.5c4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.fe4, %ImplicitAs.facet.7e4 [concrete] +// CHECK:STDOUT: %int_1.8b4: %Cpp.long_long = int_value 1 [concrete] +// CHECK:STDOUT: %EqWith.type.c04: type = facet_type <@EqWith, @EqWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %T.ec6: %ImplicitAs.type.fb7 = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.5b08fc.1: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.3, @T.as_type.as.EqWith.impl.ea5(%T.ec6) [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.f70f26.1: %T.as_type.as.EqWith.impl.NotEqual.type.5b08fc.1 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.5b08fc.2: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.4, @T.as_type.as.EqWith.impl.ea5(%T.ec6) [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.f70f26.2: %T.as_type.as.EqWith.impl.NotEqual.type.5b08fc.2 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.e1e2e3.1: type = fn_type @T.as_type.as.EqWith.impl.Equal.3, @T.as_type.as.EqWith.impl.ea5(%T.ec6) [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.c99f72.1: %T.as_type.as.EqWith.impl.Equal.type.e1e2e3.1 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.e1e2e3.2: type = fn_type @T.as_type.as.EqWith.impl.Equal.4, @T.as_type.as.EqWith.impl.ea5(%T.ec6) [symbolic] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.c99f72.2: %T.as_type.as.EqWith.impl.Equal.type.e1e2e3.2 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.811: = impl_witness imports.%ImplicitAs.impl_witness_table.7ed [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.a8b: %ImplicitAs.type.fb7 = facet_value %i64, (%ImplicitAs.impl_witness.811) [concrete] +// CHECK:STDOUT: %EqWith.impl_witness.c96: = impl_witness imports.%EqWith.impl_witness_table.168, @T.as_type.as.EqWith.impl.ea5(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.7fc917.1: type = fn_type @T.as_type.as.EqWith.impl.Equal.4, @T.as_type.as.EqWith.impl.ea5(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.ea742a.1: %T.as_type.as.EqWith.impl.Equal.type.7fc917.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.31bb99.1: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.4, @T.as_type.as.EqWith.impl.ea5(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.873f6e.1: %T.as_type.as.EqWith.impl.NotEqual.type.31bb99.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.7fc917.2: type = fn_type @T.as_type.as.EqWith.impl.Equal.3, @T.as_type.as.EqWith.impl.ea5(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.ea742a.2: %T.as_type.as.EqWith.impl.Equal.type.7fc917.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.31bb99.2: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.3, @T.as_type.as.EqWith.impl.ea5(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.873f6e.2: %T.as_type.as.EqWith.impl.NotEqual.type.31bb99.2 = struct_value () [concrete] +// CHECK:STDOUT: %EqWith.facet.502: %EqWith.type.c04 = facet_value %i64, (%EqWith.impl_witness.c96) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.fb3: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Cpp.long_long, %EqWith.facet.502) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.bc8: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Cpp.long_long, %EqWith.facet.502) [concrete] +// CHECK:STDOUT: %.6b1: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.fb3, %EqWith.facet.502 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.b38df1.1: = specific_function %T.as_type.as.EqWith.impl.Equal.ea742a.2, @T.as_type.as.EqWith.impl.Equal.3(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.b38df1.2: = specific_function %T.as_type.as.EqWith.impl.Equal.ea742a.1, @T.as_type.as.EqWith.impl.Equal.4(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.442: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %.77c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.442, %ImplicitAs.facet.a8b [concrete] // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.type: type = fn_type @i64.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert: %i64.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %.e83: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.e6d, %EqWith.facet.461 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.919353.1: = specific_function %T.as_type.as.EqWith.impl.NotEqual.5f5f76.2, @T.as_type.as.EqWith.impl.NotEqual.3(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.919353.2: = specific_function %T.as_type.as.EqWith.impl.NotEqual.5f5f76.1, @T.as_type.as.EqWith.impl.NotEqual.4(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %OrderedWith.type.ebd: type = facet_type <@OrderedWith, @OrderedWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.c50599.1: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3, @T.as_type.as.OrderedWith.impl.8c5(%T.dc5) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.fc71cf.1: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.c50599.1 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.c50599.2: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4, @T.as_type.as.OrderedWith.impl.8c5(%T.dc5) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.fc71cf.2: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.c50599.2 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.fe0303.1: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.3, @T.as_type.as.OrderedWith.impl.8c5(%T.dc5) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.e10f3f.1: %T.as_type.as.OrderedWith.impl.Greater.type.fe0303.1 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.fe0303.2: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.4, @T.as_type.as.OrderedWith.impl.8c5(%T.dc5) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.e10f3f.2: %T.as_type.as.OrderedWith.impl.Greater.type.fe0303.2 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.b7b799.1: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3, @T.as_type.as.OrderedWith.impl.8c5(%T.dc5) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.1f43d3.1: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.b7b799.1 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.b7b799.2: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4, @T.as_type.as.OrderedWith.impl.8c5(%T.dc5) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.1f43d3.2: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.b7b799.2 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.6cd8e5.1: type = fn_type @T.as_type.as.OrderedWith.impl.Less.3, @T.as_type.as.OrderedWith.impl.8c5(%T.dc5) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.e6147f.1: %T.as_type.as.OrderedWith.impl.Less.type.6cd8e5.1 = struct_value () [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.6cd8e5.2: type = fn_type @T.as_type.as.OrderedWith.impl.Less.4, @T.as_type.as.OrderedWith.impl.8c5(%T.dc5) [symbolic] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.e6147f.2: %T.as_type.as.OrderedWith.impl.Less.type.6cd8e5.2 = struct_value () [symbolic] -// CHECK:STDOUT: %OrderedWith.impl_witness.771: = impl_witness imports.%OrderedWith.impl_witness_table.380, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.e18ba5.1: type = fn_type @T.as_type.as.OrderedWith.impl.Less.4, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.9bcf70.1: %T.as_type.as.OrderedWith.impl.Less.type.e18ba5.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.67ae5b.1: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.340ac2.1: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.67ae5b.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.fd524c.1: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.4, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.8dc4e7.1: %T.as_type.as.OrderedWith.impl.Greater.type.fd524c.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.e4a566.1: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.778353.1: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.e4a566.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.e18ba5.2: type = fn_type @T.as_type.as.OrderedWith.impl.Less.3, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.9bcf70.2: %T.as_type.as.OrderedWith.impl.Less.type.e18ba5.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.67ae5b.2: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.340ac2.2: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.67ae5b.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.fd524c.2: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.3, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.8dc4e7.2: %T.as_type.as.OrderedWith.impl.Greater.type.fd524c.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.e4a566.2: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.778353.2: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.e4a566.2 = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.facet.029: %OrderedWith.type.ebd = facet_value %i64, (%OrderedWith.impl_witness.771) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.8b7: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.029) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.5a4: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.029) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.cad: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.029) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.703: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.029) [concrete] -// CHECK:STDOUT: %.a0d: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.cad, %OrderedWith.facet.029 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.3c9a8e.1: = specific_function %T.as_type.as.OrderedWith.impl.Greater.8dc4e7.2, @T.as_type.as.OrderedWith.impl.Greater.3(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.3c9a8e.2: = specific_function %T.as_type.as.OrderedWith.impl.Greater.8dc4e7.1, @T.as_type.as.OrderedWith.impl.Greater.4(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %.ebd: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.8b7, %OrderedWith.facet.029 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.1fe58b.1: = specific_function %T.as_type.as.OrderedWith.impl.Less.9bcf70.2, @T.as_type.as.OrderedWith.impl.Less.3(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.1fe58b.2: = specific_function %T.as_type.as.OrderedWith.impl.Less.9bcf70.1, @T.as_type.as.OrderedWith.impl.Less.4(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %.866: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.703, %OrderedWith.facet.029 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.4588a5.1: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.778353.2, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.4588a5.2: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.778353.1, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %.a15: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.5a4, %OrderedWith.facet.029 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.e0d7be.1: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.340ac2.2, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.e0d7be.2: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.340ac2.1, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %EqWith.impl_witness.fb3: = impl_witness imports.%EqWith.impl_witness_table.371, @T.as_type.as.EqWith.impl.82e(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.d42fb6.1: type = fn_type @T.as_type.as.EqWith.impl.Equal.4, @T.as_type.as.EqWith.impl.82e(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.528a66.1: %T.as_type.as.EqWith.impl.Equal.type.d42fb6.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.c65193.1: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.4, @T.as_type.as.EqWith.impl.82e(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.82649e.1: %T.as_type.as.EqWith.impl.NotEqual.type.c65193.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.d42fb6.2: type = fn_type @T.as_type.as.EqWith.impl.Equal.3, @T.as_type.as.EqWith.impl.82e(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.528a66.2: %T.as_type.as.EqWith.impl.Equal.type.d42fb6.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.c65193.2: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.3, @T.as_type.as.EqWith.impl.82e(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.82649e.2: %T.as_type.as.EqWith.impl.NotEqual.type.c65193.2 = struct_value () [concrete] -// CHECK:STDOUT: %EqWith.facet.3ee: %EqWith.type.40a = facet_value Core.IntLiteral, (%EqWith.impl_witness.fb3) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.7cb: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Cpp.long_long, %EqWith.facet.3ee) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.e85: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Cpp.long_long, %EqWith.facet.3ee) [concrete] -// CHECK:STDOUT: %.9fe: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.7cb, %EqWith.facet.3ee [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.e15f28.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.528a66.2 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.e5fc6b.1: = specific_function %T.as_type.as.EqWith.impl.Equal.528a66.2, @T.as_type.as.EqWith.impl.Equal.3(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %bound_method.63634c.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.specific_fn.e5fc6b.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.e15f28.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.528a66.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.e5fc6b.2: = specific_function %T.as_type.as.EqWith.impl.Equal.528a66.1, @T.as_type.as.EqWith.impl.Equal.4(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %bound_method.63634c.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.specific_fn.e5fc6b.2 [concrete] -// CHECK:STDOUT: %.7a6: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.e85, %EqWith.facet.3ee [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.7a32cd.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.82649e.2 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.05a1e7.1: = specific_function %T.as_type.as.EqWith.impl.NotEqual.82649e.2, @T.as_type.as.EqWith.impl.NotEqual.3(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %bound_method.8dffb3.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.05a1e7.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.7a32cd.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.82649e.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.05a1e7.2: = specific_function %T.as_type.as.EqWith.impl.NotEqual.82649e.1, @T.as_type.as.EqWith.impl.NotEqual.4(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %bound_method.8dffb3.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.05a1e7.2 [concrete] -// CHECK:STDOUT: %OrderedWith.impl_witness.642: = impl_witness imports.%OrderedWith.impl_witness_table.380, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.c051ed.1: type = fn_type @T.as_type.as.OrderedWith.impl.Less.4, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.80bf87.1: %T.as_type.as.OrderedWith.impl.Less.type.c051ed.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.de6c7f.1: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.82a4dd.1: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.de6c7f.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.9551f9.1: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.4, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.403458.1: %T.as_type.as.OrderedWith.impl.Greater.type.9551f9.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.d1e367.1: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.10d9b8.1: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.d1e367.1 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.c051ed.2: type = fn_type @T.as_type.as.OrderedWith.impl.Less.3, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.80bf87.2: %T.as_type.as.OrderedWith.impl.Less.type.c051ed.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.de6c7f.2: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.82a4dd.2: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.de6c7f.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.9551f9.2: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.3, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.403458.2: %T.as_type.as.OrderedWith.impl.Greater.type.9551f9.2 = struct_value () [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.d1e367.2: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3, @T.as_type.as.OrderedWith.impl.8c5(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.10d9b8.2: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.d1e367.2 = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.facet.5b6: %OrderedWith.type.ebd = facet_value Core.IntLiteral, (%OrderedWith.impl_witness.642) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.6eb: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.5b6) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.ee6: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.5b6) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.dcb: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.5b6) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.cf9: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.5b6) [concrete] -// CHECK:STDOUT: %.63c: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.dcb, %OrderedWith.facet.5b6 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.f105eb.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.403458.2 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.6a82f6.1: = specific_function %T.as_type.as.OrderedWith.impl.Greater.403458.2, @T.as_type.as.OrderedWith.impl.Greater.3(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %bound_method.dc9d06.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.6a82f6.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.f105eb.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.403458.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.6a82f6.2: = specific_function %T.as_type.as.OrderedWith.impl.Greater.403458.1, @T.as_type.as.OrderedWith.impl.Greater.4(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %bound_method.dc9d06.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.6a82f6.2 [concrete] -// CHECK:STDOUT: %.744: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.6eb, %OrderedWith.facet.5b6 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.deabb3.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.80bf87.2 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.950def.1: = specific_function %T.as_type.as.OrderedWith.impl.Less.80bf87.2, @T.as_type.as.OrderedWith.impl.Less.3(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %bound_method.31a078.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.specific_fn.950def.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.deabb3.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.80bf87.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.950def.2: = specific_function %T.as_type.as.OrderedWith.impl.Less.80bf87.1, @T.as_type.as.OrderedWith.impl.Less.4(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %bound_method.31a078.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.specific_fn.950def.2 [concrete] -// CHECK:STDOUT: %.97d: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.cf9, %OrderedWith.facet.5b6 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.fe7331.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.10d9b8.2 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.5e1c83.1: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.10d9b8.2, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %bound_method.eff530.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.5e1c83.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.fe7331.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.10d9b8.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.5e1c83.2: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.10d9b8.1, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %bound_method.eff530.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.5e1c83.2 [concrete] -// CHECK:STDOUT: %.485: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.ee6, %OrderedWith.facet.5b6 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.4ad6db.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.82a4dd.2 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.538b3d.1: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.82a4dd.2, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %bound_method.ecd80b.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.538b3d.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.4ad6db.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.82a4dd.1 [concrete] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.538b3d.2: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.82a4dd.1, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4(%ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %bound_method.ecd80b.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.538b3d.2 [concrete] +// CHECK:STDOUT: %.cb1: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.bc8, %EqWith.facet.502 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.558ec3.1: = specific_function %T.as_type.as.EqWith.impl.NotEqual.873f6e.2, @T.as_type.as.EqWith.impl.NotEqual.3(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.558ec3.2: = specific_function %T.as_type.as.EqWith.impl.NotEqual.873f6e.1, @T.as_type.as.EqWith.impl.NotEqual.4(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %OrderedWith.type.aaf: type = facet_type <@OrderedWith, @OrderedWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.20abe7.1: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3, @T.as_type.as.OrderedWith.impl.500(%T.ec6) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.279040.1: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.20abe7.1 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.20abe7.2: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4, @T.as_type.as.OrderedWith.impl.500(%T.ec6) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.279040.2: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.20abe7.2 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.e67987.1: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.3, @T.as_type.as.OrderedWith.impl.500(%T.ec6) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.808915.1: %T.as_type.as.OrderedWith.impl.Greater.type.e67987.1 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.e67987.2: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.4, @T.as_type.as.OrderedWith.impl.500(%T.ec6) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.808915.2: %T.as_type.as.OrderedWith.impl.Greater.type.e67987.2 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.a4322b.1: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3, @T.as_type.as.OrderedWith.impl.500(%T.ec6) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.0d7756.1: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.a4322b.1 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.a4322b.2: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4, @T.as_type.as.OrderedWith.impl.500(%T.ec6) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.0d7756.2: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.a4322b.2 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.c8455c.1: type = fn_type @T.as_type.as.OrderedWith.impl.Less.3, @T.as_type.as.OrderedWith.impl.500(%T.ec6) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bb1211.1: %T.as_type.as.OrderedWith.impl.Less.type.c8455c.1 = struct_value () [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.c8455c.2: type = fn_type @T.as_type.as.OrderedWith.impl.Less.4, @T.as_type.as.OrderedWith.impl.500(%T.ec6) [symbolic] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bb1211.2: %T.as_type.as.OrderedWith.impl.Less.type.c8455c.2 = struct_value () [symbolic] +// CHECK:STDOUT: %OrderedWith.impl_witness.634: = impl_witness imports.%OrderedWith.impl_witness_table.e93, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.a2fbe5.1: type = fn_type @T.as_type.as.OrderedWith.impl.Less.4, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.c49a88.1: %T.as_type.as.OrderedWith.impl.Less.type.a2fbe5.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.5c61ed.1: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.2f1998.1: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.5c61ed.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.ea3f4a.1: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.4, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.12cc91.1: %T.as_type.as.OrderedWith.impl.Greater.type.ea3f4a.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.96093f.1: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bc6b0e.1: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.96093f.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.a2fbe5.2: type = fn_type @T.as_type.as.OrderedWith.impl.Less.3, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.c49a88.2: %T.as_type.as.OrderedWith.impl.Less.type.a2fbe5.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.5c61ed.2: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.2f1998.2: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.5c61ed.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.ea3f4a.2: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.3, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.12cc91.2: %T.as_type.as.OrderedWith.impl.Greater.type.ea3f4a.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.96093f.2: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bc6b0e.2: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.96093f.2 = struct_value () [concrete] +// CHECK:STDOUT: %OrderedWith.facet.21c: %OrderedWith.type.aaf = facet_value %i64, (%OrderedWith.impl_witness.634) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.aca: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.21c) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.539: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.21c) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.8f8: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.21c) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.997: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.21c) [concrete] +// CHECK:STDOUT: %.e9d: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.8f8, %OrderedWith.facet.21c [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.5eebb5.1: = specific_function %T.as_type.as.OrderedWith.impl.Greater.12cc91.2, @T.as_type.as.OrderedWith.impl.Greater.3(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.5eebb5.2: = specific_function %T.as_type.as.OrderedWith.impl.Greater.12cc91.1, @T.as_type.as.OrderedWith.impl.Greater.4(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %.57a: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.aca, %OrderedWith.facet.21c [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.ae50e5.1: = specific_function %T.as_type.as.OrderedWith.impl.Less.c49a88.2, @T.as_type.as.OrderedWith.impl.Less.3(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.ae50e5.2: = specific_function %T.as_type.as.OrderedWith.impl.Less.c49a88.1, @T.as_type.as.OrderedWith.impl.Less.4(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %.3c6: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.997, %OrderedWith.facet.21c [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.ecaa0d.1: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bc6b0e.2, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.ecaa0d.2: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bc6b0e.1, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %.084: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.539, %OrderedWith.facet.21c [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.d600bb.1: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.2f1998.2, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.d600bb.2: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.2f1998.1, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %EqWith.impl_witness.f84: = impl_witness imports.%EqWith.impl_witness_table.168, @T.as_type.as.EqWith.impl.ea5(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.943e53.1: type = fn_type @T.as_type.as.EqWith.impl.Equal.4, @T.as_type.as.EqWith.impl.ea5(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.755cc0.1: %T.as_type.as.EqWith.impl.Equal.type.943e53.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.56a43f.1: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.4, @T.as_type.as.EqWith.impl.ea5(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.ee659d.1: %T.as_type.as.EqWith.impl.NotEqual.type.56a43f.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.type.943e53.2: type = fn_type @T.as_type.as.EqWith.impl.Equal.3, @T.as_type.as.EqWith.impl.ea5(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.755cc0.2: %T.as_type.as.EqWith.impl.Equal.type.943e53.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.type.56a43f.2: type = fn_type @T.as_type.as.EqWith.impl.NotEqual.3, @T.as_type.as.EqWith.impl.ea5(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.ee659d.2: %T.as_type.as.EqWith.impl.NotEqual.type.56a43f.2 = struct_value () [concrete] +// CHECK:STDOUT: %EqWith.facet.180: %EqWith.type.c04 = facet_value Core.IntLiteral, (%EqWith.impl_witness.f84) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.da5: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%Cpp.long_long, %EqWith.facet.180) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.155: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%Cpp.long_long, %EqWith.facet.180) [concrete] +// CHECK:STDOUT: %.826: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.da5, %EqWith.facet.180 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.bf9480.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.755cc0.2 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.e309f5.1: = specific_function %T.as_type.as.EqWith.impl.Equal.755cc0.2, @T.as_type.as.EqWith.impl.Equal.3(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %bound_method.1a4db7.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.specific_fn.e309f5.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.bf9480.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.755cc0.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.e309f5.2: = specific_function %T.as_type.as.EqWith.impl.Equal.755cc0.1, @T.as_type.as.EqWith.impl.Equal.4(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %bound_method.1a4db7.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.Equal.specific_fn.e309f5.2 [concrete] +// CHECK:STDOUT: %.33a: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.155, %EqWith.facet.180 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.fbd5c3.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.ee659d.2 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.b5f9c9.1: = specific_function %T.as_type.as.EqWith.impl.NotEqual.ee659d.2, @T.as_type.as.EqWith.impl.NotEqual.3(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %bound_method.48161a.1: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.b5f9c9.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.fbd5c3.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.ee659d.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.b5f9c9.2: = specific_function %T.as_type.as.EqWith.impl.NotEqual.ee659d.1, @T.as_type.as.EqWith.impl.NotEqual.4(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %bound_method.48161a.2: = bound_method %int_1.5b8, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.b5f9c9.2 [concrete] +// CHECK:STDOUT: %OrderedWith.impl_witness.575: = impl_witness imports.%OrderedWith.impl_witness_table.e93, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.d5a1ab.1: type = fn_type @T.as_type.as.OrderedWith.impl.Less.4, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.7a0579.1: %T.as_type.as.OrderedWith.impl.Less.type.d5a1ab.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.5b1bfe.1: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.db3985.1: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.5b1bfe.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.33b2b7.1: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.4, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.b41d18.1: %T.as_type.as.OrderedWith.impl.Greater.type.33b2b7.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.f746ee.1: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e33eba.1: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.f746ee.1 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.type.d5a1ab.2: type = fn_type @T.as_type.as.OrderedWith.impl.Less.3, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.7a0579.2: %T.as_type.as.OrderedWith.impl.Less.type.d5a1ab.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.5b1bfe.2: type = fn_type @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.db3985.2: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.5b1bfe.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.type.33b2b7.2: type = fn_type @T.as_type.as.OrderedWith.impl.Greater.3, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.b41d18.2: %T.as_type.as.OrderedWith.impl.Greater.type.33b2b7.2 = struct_value () [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.f746ee.2: type = fn_type @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3, @T.as_type.as.OrderedWith.impl.500(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e33eba.2: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.f746ee.2 = struct_value () [concrete] +// CHECK:STDOUT: %OrderedWith.facet.2e9: %OrderedWith.type.aaf = facet_value Core.IntLiteral, (%OrderedWith.impl_witness.575) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.5d1: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.2e9) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.079: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.2e9) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.7c5: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.2e9) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.79b: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%Cpp.long_long, %OrderedWith.facet.2e9) [concrete] +// CHECK:STDOUT: %.3a5: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.7c5, %OrderedWith.facet.2e9 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.e3a99b.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.b41d18.2 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.bb0c5f.1: = specific_function %T.as_type.as.OrderedWith.impl.Greater.b41d18.2, @T.as_type.as.OrderedWith.impl.Greater.3(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %bound_method.d7f650.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.bb0c5f.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.e3a99b.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.b41d18.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.bb0c5f.2: = specific_function %T.as_type.as.OrderedWith.impl.Greater.b41d18.1, @T.as_type.as.OrderedWith.impl.Greater.4(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %bound_method.d7f650.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.bb0c5f.2 [concrete] +// CHECK:STDOUT: %.24f: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.5d1, %OrderedWith.facet.2e9 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.85182d.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.7a0579.2 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.9b5b7e.1: = specific_function %T.as_type.as.OrderedWith.impl.Less.7a0579.2, @T.as_type.as.OrderedWith.impl.Less.3(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %bound_method.f042d3.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.specific_fn.9b5b7e.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.85182d.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.7a0579.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.9b5b7e.2: = specific_function %T.as_type.as.OrderedWith.impl.Less.7a0579.1, @T.as_type.as.OrderedWith.impl.Less.4(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %bound_method.f042d3.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.Less.specific_fn.9b5b7e.2 [concrete] +// CHECK:STDOUT: %.50e: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.79b, %OrderedWith.facet.2e9 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.28d040.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e33eba.2 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.93e889.1: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e33eba.2, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %bound_method.278950.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.93e889.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.28d040.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e33eba.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.93e889.2: = specific_function %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e33eba.1, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %bound_method.278950.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.93e889.2 [concrete] +// CHECK:STDOUT: %.4fa: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.079, %OrderedWith.facet.2e9 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.7d81f1.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.db3985.2 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.f2ccbd.1: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.db3985.2, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %bound_method.39be86.1: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.f2ccbd.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.7d81f1.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.db3985.1 [concrete] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.f2ccbd.2: = specific_function %T.as_type.as.OrderedWith.impl.LessOrEquivalent.db3985.1, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4(%ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %bound_method.39be86.2: = bound_method %int_1.5b8, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.f2ccbd.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2095,55 +2095,55 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: .long_long = constants.%Cpp.long_long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b339.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.715 = impl_witness_table (%Core.import_ref.67b339.1), @Core.IntLiteral.as.ImplicitAs.impl.c6f [concrete] -// CHECK:STDOUT: %Core.import_ref.55c: @T.as_type.as.EqWith.impl.82e.%T.as_type.as.EqWith.impl.Equal.type.2 (%T.as_type.as.EqWith.impl.Equal.type.ebec57.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.EqWith.impl.82e.%T.as_type.as.EqWith.impl.Equal.2 (constants.%T.as_type.as.EqWith.impl.Equal.c841c8.1)] -// CHECK:STDOUT: %Core.import_ref.605: @T.as_type.as.EqWith.impl.82e.%T.as_type.as.EqWith.impl.NotEqual.type.2 (%T.as_type.as.EqWith.impl.NotEqual.type.a02dd9.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.EqWith.impl.82e.%T.as_type.as.EqWith.impl.NotEqual.2 (constants.%T.as_type.as.EqWith.impl.NotEqual.f01295.1)] -// CHECK:STDOUT: %EqWith.impl_witness_table.371 = impl_witness_table (%Core.import_ref.55c, %Core.import_ref.605), @T.as_type.as.EqWith.impl.82e [concrete] -// CHECK:STDOUT: %Core.NotEqual.4cd: @T.as_type.as.EqWith.impl.82e.%T.as_type.as.EqWith.impl.NotEqual.type.1 (%T.as_type.as.EqWith.impl.NotEqual.type.a02dd9.2) = import_ref Core//prelude/types/cpp/int, NotEqual, loaded [symbolic = @T.as_type.as.EqWith.impl.82e.%T.as_type.as.EqWith.impl.NotEqual.1 (constants.%T.as_type.as.EqWith.impl.NotEqual.f01295.2)] -// CHECK:STDOUT: %Core.Equal.65d: @T.as_type.as.EqWith.impl.82e.%T.as_type.as.EqWith.impl.Equal.type.1 (%T.as_type.as.EqWith.impl.Equal.type.ebec57.2) = import_ref Core//prelude/types/cpp/int, Equal, loaded [symbolic = @T.as_type.as.EqWith.impl.82e.%T.as_type.as.EqWith.impl.Equal.1 (constants.%T.as_type.as.EqWith.impl.Equal.c841c8.2)] -// CHECK:STDOUT: %Core.import_ref.67b339.2: %i64.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i64.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.f80 = impl_witness_table (%Core.import_ref.67b339.2), @i64.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.fb0: @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.Less.type.2 (%T.as_type.as.OrderedWith.impl.Less.type.6cd8e5.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.Less.2 (constants.%T.as_type.as.OrderedWith.impl.Less.e6147f.1)] -// CHECK:STDOUT: %Core.import_ref.213: @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.2 (%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.b7b799.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.2 (constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.1f43d3.1)] -// CHECK:STDOUT: %Core.import_ref.5bf: @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.Greater.type.2 (%T.as_type.as.OrderedWith.impl.Greater.type.fe0303.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.Greater.2 (constants.%T.as_type.as.OrderedWith.impl.Greater.e10f3f.1)] -// CHECK:STDOUT: %Core.import_ref.a65: @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.2 (%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.c50599.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2 (constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.fc71cf.1)] -// CHECK:STDOUT: %OrderedWith.impl_witness_table.380 = impl_witness_table (%Core.import_ref.fb0, %Core.import_ref.213, %Core.import_ref.5bf, %Core.import_ref.a65), @T.as_type.as.OrderedWith.impl.8c5 [concrete] -// CHECK:STDOUT: %Core.GreaterOrEquivalent.407: @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.1 (%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.c50599.2) = import_ref Core//prelude/types/cpp/int, GreaterOrEquivalent, loaded [symbolic = @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1 (constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.fc71cf.2)] -// CHECK:STDOUT: %Core.Greater.709: @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.Greater.type.1 (%T.as_type.as.OrderedWith.impl.Greater.type.fe0303.2) = import_ref Core//prelude/types/cpp/int, Greater, loaded [symbolic = @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.Greater.1 (constants.%T.as_type.as.OrderedWith.impl.Greater.e10f3f.2)] -// CHECK:STDOUT: %Core.LessOrEquivalent.ee1: @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.1 (%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.b7b799.2) = import_ref Core//prelude/types/cpp/int, LessOrEquivalent, loaded [symbolic = @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.1 (constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.1f43d3.2)] -// CHECK:STDOUT: %Core.Less.3c9: @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.Less.type.1 (%T.as_type.as.OrderedWith.impl.Less.type.6cd8e5.2) = import_ref Core//prelude/types/cpp/int, Less, loaded [symbolic = @T.as_type.as.OrderedWith.impl.8c5.%T.as_type.as.OrderedWith.impl.Less.1 (constants.%T.as_type.as.OrderedWith.impl.Less.e6147f.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.337 = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.ImplicitAs.impl.74b [concrete] +// CHECK:STDOUT: %Core.import_ref.80d: @T.as_type.as.EqWith.impl.ea5.%T.as_type.as.EqWith.impl.Equal.type.2 (%T.as_type.as.EqWith.impl.Equal.type.e1e2e3.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.EqWith.impl.ea5.%T.as_type.as.EqWith.impl.Equal.2 (constants.%T.as_type.as.EqWith.impl.Equal.c99f72.1)] +// CHECK:STDOUT: %Core.import_ref.fe3b: @T.as_type.as.EqWith.impl.ea5.%T.as_type.as.EqWith.impl.NotEqual.type.2 (%T.as_type.as.EqWith.impl.NotEqual.type.5b08fc.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.EqWith.impl.ea5.%T.as_type.as.EqWith.impl.NotEqual.2 (constants.%T.as_type.as.EqWith.impl.NotEqual.f70f26.1)] +// CHECK:STDOUT: %EqWith.impl_witness_table.168 = impl_witness_table (%Core.import_ref.80d, %Core.import_ref.fe3b), @T.as_type.as.EqWith.impl.ea5 [concrete] +// CHECK:STDOUT: %Core.NotEqual.365: @T.as_type.as.EqWith.impl.ea5.%T.as_type.as.EqWith.impl.NotEqual.type.1 (%T.as_type.as.EqWith.impl.NotEqual.type.5b08fc.2) = import_ref Core//prelude/types/cpp/int, NotEqual, loaded [symbolic = @T.as_type.as.EqWith.impl.ea5.%T.as_type.as.EqWith.impl.NotEqual.1 (constants.%T.as_type.as.EqWith.impl.NotEqual.f70f26.2)] +// CHECK:STDOUT: %Core.Equal.17b: @T.as_type.as.EqWith.impl.ea5.%T.as_type.as.EqWith.impl.Equal.type.1 (%T.as_type.as.EqWith.impl.Equal.type.e1e2e3.2) = import_ref Core//prelude/types/cpp/int, Equal, loaded [symbolic = @T.as_type.as.EqWith.impl.ea5.%T.as_type.as.EqWith.impl.Equal.1 (constants.%T.as_type.as.EqWith.impl.Equal.c99f72.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %i64.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.7ed = impl_witness_table (%Core.import_ref.adef5f.2), @i64.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b6a: @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.Less.type.2 (%T.as_type.as.OrderedWith.impl.Less.type.c8455c.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.Less.2 (constants.%T.as_type.as.OrderedWith.impl.Less.bb1211.1)] +// CHECK:STDOUT: %Core.import_ref.2a6: @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.2 (%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.a4322b.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.2 (constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.0d7756.1)] +// CHECK:STDOUT: %Core.import_ref.64d: @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.Greater.type.2 (%T.as_type.as.OrderedWith.impl.Greater.type.e67987.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.Greater.2 (constants.%T.as_type.as.OrderedWith.impl.Greater.808915.1)] +// CHECK:STDOUT: %Core.import_ref.e8f: @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.2 (%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.20abe7.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.2 (constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.279040.1)] +// CHECK:STDOUT: %OrderedWith.impl_witness_table.e93 = impl_witness_table (%Core.import_ref.b6a, %Core.import_ref.2a6, %Core.import_ref.64d, %Core.import_ref.e8f), @T.as_type.as.OrderedWith.impl.500 [concrete] +// CHECK:STDOUT: %Core.GreaterOrEquivalent.c4a: @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.1 (%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.20abe7.2) = import_ref Core//prelude/types/cpp/int, GreaterOrEquivalent, loaded [symbolic = @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.1 (constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.279040.2)] +// CHECK:STDOUT: %Core.Greater.75d: @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.Greater.type.1 (%T.as_type.as.OrderedWith.impl.Greater.type.e67987.2) = import_ref Core//prelude/types/cpp/int, Greater, loaded [symbolic = @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.Greater.1 (constants.%T.as_type.as.OrderedWith.impl.Greater.808915.2)] +// CHECK:STDOUT: %Core.LessOrEquivalent.c4e: @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.1 (%T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.a4322b.2) = import_ref Core//prelude/types/cpp/int, LessOrEquivalent, loaded [symbolic = @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.1 (constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.0d7756.2)] +// CHECK:STDOUT: %Core.Less.79a: @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.Less.type.1 (%T.as_type.as.OrderedWith.impl.Less.type.c8455c.2) = import_ref Core//prelude/types/cpp/int, Less, loaded [symbolic = @T.as_type.as.OrderedWith.impl.500.%T.as_type.as.OrderedWith.impl.Less.1 (constants.%T.as_type.as.OrderedWith.impl.Less.bb1211.2)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @ComparisonsHeterogeneousLongLongRightSide() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e6e = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.003 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc9_13: type = splice_block %long_long.ref [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %long_long.ref: type = name_ref long_long, constants.%Cpp.long_long [concrete = constants.%Cpp.long_long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc9: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc9: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc9: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long_long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc9_26.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc9_26.2: %Cpp.long_long = converted %int_1.loc9, %.loc9_26.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long_long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc9_26.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc9_26.2: %Cpp.long_long = converted %int_1.loc9, %.loc9_26.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %a: %Cpp.long_long = value_binding a, %.loc9_26.2 // CHECK:STDOUT: %b.ref.loc10: %i64 = name_ref b, %b // CHECK:STDOUT: %a.ref.loc10: %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc10_5: %.750 = impl_witness_access constants.%EqWith.impl_witness.f48, element0 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.fa0488.2] +// CHECK:STDOUT: %impl.elem0.loc10_5: %.6b1 = impl_witness_access constants.%EqWith.impl_witness.c96, element0 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.ea742a.2] // CHECK:STDOUT: %bound_method.loc10_5.1: = bound_method %b.ref.loc10, %impl.elem0.loc10_5 -// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @T.as_type.as.EqWith.impl.Equal.3(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.910042.1] +// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @T.as_type.as.EqWith.impl.Equal.3(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.b38df1.1] // CHECK:STDOUT: %bound_method.loc10_5.2: = bound_method %b.ref.loc10, %specific_fn.loc10 -// CHECK:STDOUT: %.loc10_5: %T.as_type.as.EqWith.impl.Equal.type.f099f0.1 = specific_constant imports.%Core.Equal.65d, @T.as_type.as.EqWith.impl.82e(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.fa0488.1] -// CHECK:STDOUT: %Equal.ref.loc10: %T.as_type.as.EqWith.impl.Equal.type.f099f0.1 = name_ref Equal, %.loc10_5 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.fa0488.1] +// CHECK:STDOUT: %.loc10_5: %T.as_type.as.EqWith.impl.Equal.type.7fc917.1 = specific_constant imports.%Core.Equal.17b, @T.as_type.as.EqWith.impl.ea5(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.ea742a.1] +// CHECK:STDOUT: %Equal.ref.loc10: %T.as_type.as.EqWith.impl.Equal.type.7fc917.1 = name_ref Equal, %.loc10_5 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.ea742a.1] // CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.loc10: = bound_method %b.ref.loc10, %Equal.ref.loc10 -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.loc10: = specific_function %Equal.ref.loc10, @T.as_type.as.EqWith.impl.Equal.4(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.910042.2] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.loc10: = specific_function %Equal.ref.loc10, @T.as_type.as.EqWith.impl.Equal.4(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.b38df1.2] // CHECK:STDOUT: %bound_method.loc10_5.3: = bound_method %b.ref.loc10, %T.as_type.as.EqWith.impl.Equal.specific_fn.loc10 -// CHECK:STDOUT: %impl.elem0.loc10_3: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc10_3: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc10_3: = bound_method %b.ref.loc10, %impl.elem0.loc10_3 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc10: init %Cpp.long_long = call %bound_method.loc10_3(%b.ref.loc10) // CHECK:STDOUT: %.loc10_3.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc10 @@ -2151,16 +2151,16 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.call.loc10: init bool = call %bound_method.loc10_5.3(%.loc10_3.2, %a.ref.loc10) // CHECK:STDOUT: %b.ref.loc11: %i64 = name_ref b, %b // CHECK:STDOUT: %a.ref.loc11: %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem1.loc11: %.e83 = impl_witness_access constants.%EqWith.impl_witness.f48, element1 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.5f5f76.2] +// CHECK:STDOUT: %impl.elem1.loc11: %.cb1 = impl_witness_access constants.%EqWith.impl_witness.c96, element1 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.873f6e.2] // CHECK:STDOUT: %bound_method.loc11_5.1: = bound_method %b.ref.loc11, %impl.elem1.loc11 -// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem1.loc11, @T.as_type.as.EqWith.impl.NotEqual.3(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.919353.1] +// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem1.loc11, @T.as_type.as.EqWith.impl.NotEqual.3(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.558ec3.1] // CHECK:STDOUT: %bound_method.loc11_5.2: = bound_method %b.ref.loc11, %specific_fn.loc11 -// CHECK:STDOUT: %.loc11_5: %T.as_type.as.EqWith.impl.NotEqual.type.331c0f.1 = specific_constant imports.%Core.NotEqual.4cd, @T.as_type.as.EqWith.impl.82e(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.5f5f76.1] -// CHECK:STDOUT: %NotEqual.ref.loc11: %T.as_type.as.EqWith.impl.NotEqual.type.331c0f.1 = name_ref NotEqual, %.loc11_5 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.5f5f76.1] +// CHECK:STDOUT: %.loc11_5: %T.as_type.as.EqWith.impl.NotEqual.type.31bb99.1 = specific_constant imports.%Core.NotEqual.365, @T.as_type.as.EqWith.impl.ea5(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.873f6e.1] +// CHECK:STDOUT: %NotEqual.ref.loc11: %T.as_type.as.EqWith.impl.NotEqual.type.31bb99.1 = name_ref NotEqual, %.loc11_5 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.873f6e.1] // CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.loc11: = bound_method %b.ref.loc11, %NotEqual.ref.loc11 -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc11: = specific_function %NotEqual.ref.loc11, @T.as_type.as.EqWith.impl.NotEqual.4(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.919353.2] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc11: = specific_function %NotEqual.ref.loc11, @T.as_type.as.EqWith.impl.NotEqual.4(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.558ec3.2] // CHECK:STDOUT: %bound_method.loc11_5.3: = bound_method %b.ref.loc11, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc11 -// CHECK:STDOUT: %impl.elem0.loc11: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc11: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc11_3: = bound_method %b.ref.loc11, %impl.elem0.loc11 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc11: init %Cpp.long_long = call %bound_method.loc11_3(%b.ref.loc11) // CHECK:STDOUT: %.loc11_3.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc11 @@ -2168,16 +2168,16 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.call.loc11: init bool = call %bound_method.loc11_5.3(%.loc11_3.2, %a.ref.loc11) // CHECK:STDOUT: %b.ref.loc12: %i64 = name_ref b, %b // CHECK:STDOUT: %a.ref.loc12: %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem2.loc12: %.a0d = impl_witness_access constants.%OrderedWith.impl_witness.771, element2 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.8dc4e7.2] +// CHECK:STDOUT: %impl.elem2.loc12: %.e9d = impl_witness_access constants.%OrderedWith.impl_witness.634, element2 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.12cc91.2] // CHECK:STDOUT: %bound_method.loc12_5.1: = bound_method %b.ref.loc12, %impl.elem2.loc12 -// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem2.loc12, @T.as_type.as.OrderedWith.impl.Greater.3(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.3c9a8e.1] +// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem2.loc12, @T.as_type.as.OrderedWith.impl.Greater.3(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.5eebb5.1] // CHECK:STDOUT: %bound_method.loc12_5.2: = bound_method %b.ref.loc12, %specific_fn.loc12 -// CHECK:STDOUT: %.loc12_5: %T.as_type.as.OrderedWith.impl.Greater.type.fd524c.1 = specific_constant imports.%Core.Greater.709, @T.as_type.as.OrderedWith.impl.8c5(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.8dc4e7.1] -// CHECK:STDOUT: %Greater.ref.loc12: %T.as_type.as.OrderedWith.impl.Greater.type.fd524c.1 = name_ref Greater, %.loc12_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.8dc4e7.1] +// CHECK:STDOUT: %.loc12_5: %T.as_type.as.OrderedWith.impl.Greater.type.ea3f4a.1 = specific_constant imports.%Core.Greater.75d, @T.as_type.as.OrderedWith.impl.500(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.12cc91.1] +// CHECK:STDOUT: %Greater.ref.loc12: %T.as_type.as.OrderedWith.impl.Greater.type.ea3f4a.1 = name_ref Greater, %.loc12_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.12cc91.1] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.loc12: = bound_method %b.ref.loc12, %Greater.ref.loc12 -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc12: = specific_function %Greater.ref.loc12, @T.as_type.as.OrderedWith.impl.Greater.4(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.3c9a8e.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc12: = specific_function %Greater.ref.loc12, @T.as_type.as.OrderedWith.impl.Greater.4(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.5eebb5.2] // CHECK:STDOUT: %bound_method.loc12_5.3: = bound_method %b.ref.loc12, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc12 -// CHECK:STDOUT: %impl.elem0.loc12: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc12: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc12_3: = bound_method %b.ref.loc12, %impl.elem0.loc12 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc12: init %Cpp.long_long = call %bound_method.loc12_3(%b.ref.loc12) // CHECK:STDOUT: %.loc12_3.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc12 @@ -2185,16 +2185,16 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.call.loc12: init bool = call %bound_method.loc12_5.3(%.loc12_3.2, %a.ref.loc12) // CHECK:STDOUT: %b.ref.loc13: %i64 = name_ref b, %b // CHECK:STDOUT: %a.ref.loc13: %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc13_5: %.ebd = impl_witness_access constants.%OrderedWith.impl_witness.771, element0 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.9bcf70.2] +// CHECK:STDOUT: %impl.elem0.loc13_5: %.57a = impl_witness_access constants.%OrderedWith.impl_witness.634, element0 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.c49a88.2] // CHECK:STDOUT: %bound_method.loc13_5.1: = bound_method %b.ref.loc13, %impl.elem0.loc13_5 -// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_5, @T.as_type.as.OrderedWith.impl.Less.3(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.1fe58b.1] +// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_5, @T.as_type.as.OrderedWith.impl.Less.3(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.ae50e5.1] // CHECK:STDOUT: %bound_method.loc13_5.2: = bound_method %b.ref.loc13, %specific_fn.loc13 -// CHECK:STDOUT: %.loc13_5: %T.as_type.as.OrderedWith.impl.Less.type.e18ba5.1 = specific_constant imports.%Core.Less.3c9, @T.as_type.as.OrderedWith.impl.8c5(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.9bcf70.1] -// CHECK:STDOUT: %Less.ref.loc13: %T.as_type.as.OrderedWith.impl.Less.type.e18ba5.1 = name_ref Less, %.loc13_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.9bcf70.1] +// CHECK:STDOUT: %.loc13_5: %T.as_type.as.OrderedWith.impl.Less.type.a2fbe5.1 = specific_constant imports.%Core.Less.79a, @T.as_type.as.OrderedWith.impl.500(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.c49a88.1] +// CHECK:STDOUT: %Less.ref.loc13: %T.as_type.as.OrderedWith.impl.Less.type.a2fbe5.1 = name_ref Less, %.loc13_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.c49a88.1] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.loc13: = bound_method %b.ref.loc13, %Less.ref.loc13 -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc13: = specific_function %Less.ref.loc13, @T.as_type.as.OrderedWith.impl.Less.4(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.1fe58b.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc13: = specific_function %Less.ref.loc13, @T.as_type.as.OrderedWith.impl.Less.4(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.ae50e5.2] // CHECK:STDOUT: %bound_method.loc13_5.3: = bound_method %b.ref.loc13, %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc13 -// CHECK:STDOUT: %impl.elem0.loc13_3: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc13_3: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc13_3: = bound_method %b.ref.loc13, %impl.elem0.loc13_3 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc13: init %Cpp.long_long = call %bound_method.loc13_3(%b.ref.loc13) // CHECK:STDOUT: %.loc13_3.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc13 @@ -2202,16 +2202,16 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.call.loc13: init bool = call %bound_method.loc13_5.3(%.loc13_3.2, %a.ref.loc13) // CHECK:STDOUT: %b.ref.loc14: %i64 = name_ref b, %b // CHECK:STDOUT: %a.ref.loc14: %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem3.loc14: %.866 = impl_witness_access constants.%OrderedWith.impl_witness.771, element3 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.778353.2] +// CHECK:STDOUT: %impl.elem3.loc14: %.3c6 = impl_witness_access constants.%OrderedWith.impl_witness.634, element3 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bc6b0e.2] // CHECK:STDOUT: %bound_method.loc14_5.1: = bound_method %b.ref.loc14, %impl.elem3.loc14 -// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem3.loc14, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.4588a5.1] +// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem3.loc14, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.ecaa0d.1] // CHECK:STDOUT: %bound_method.loc14_5.2: = bound_method %b.ref.loc14, %specific_fn.loc14 -// CHECK:STDOUT: %.loc14_5: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.e4a566.1 = specific_constant imports.%Core.GreaterOrEquivalent.407, @T.as_type.as.OrderedWith.impl.8c5(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.778353.1] -// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc14: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.e4a566.1 = name_ref GreaterOrEquivalent, %.loc14_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.778353.1] +// CHECK:STDOUT: %.loc14_5: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.96093f.1 = specific_constant imports.%Core.GreaterOrEquivalent.c4a, @T.as_type.as.OrderedWith.impl.500(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bc6b0e.1] +// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc14: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.96093f.1 = name_ref GreaterOrEquivalent, %.loc14_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bc6b0e.1] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.loc14: = bound_method %b.ref.loc14, %GreaterOrEquivalent.ref.loc14 -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc14: = specific_function %GreaterOrEquivalent.ref.loc14, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.4588a5.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc14: = specific_function %GreaterOrEquivalent.ref.loc14, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.ecaa0d.2] // CHECK:STDOUT: %bound_method.loc14_5.3: = bound_method %b.ref.loc14, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc14 -// CHECK:STDOUT: %impl.elem0.loc14: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc14: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc14_3: = bound_method %b.ref.loc14, %impl.elem0.loc14 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc14: init %Cpp.long_long = call %bound_method.loc14_3(%b.ref.loc14) // CHECK:STDOUT: %.loc14_3.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc14 @@ -2219,16 +2219,16 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.call.loc14: init bool = call %bound_method.loc14_5.3(%.loc14_3.2, %a.ref.loc14) // CHECK:STDOUT: %b.ref.loc15: %i64 = name_ref b, %b // CHECK:STDOUT: %a.ref.loc15: %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem1.loc15: %.a15 = impl_witness_access constants.%OrderedWith.impl_witness.771, element1 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.340ac2.2] +// CHECK:STDOUT: %impl.elem1.loc15: %.084 = impl_witness_access constants.%OrderedWith.impl_witness.634, element1 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.2f1998.2] // CHECK:STDOUT: %bound_method.loc15_5.1: = bound_method %b.ref.loc15, %impl.elem1.loc15 -// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem1.loc15, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.e0d7be.1] +// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem1.loc15, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.d600bb.1] // CHECK:STDOUT: %bound_method.loc15_5.2: = bound_method %b.ref.loc15, %specific_fn.loc15 -// CHECK:STDOUT: %.loc15_5: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.67ae5b.1 = specific_constant imports.%Core.LessOrEquivalent.ee1, @T.as_type.as.OrderedWith.impl.8c5(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.340ac2.1] -// CHECK:STDOUT: %LessOrEquivalent.ref.loc15: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.67ae5b.1 = name_ref LessOrEquivalent, %.loc15_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.340ac2.1] +// CHECK:STDOUT: %.loc15_5: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.5c61ed.1 = specific_constant imports.%Core.LessOrEquivalent.c4e, @T.as_type.as.OrderedWith.impl.500(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.2f1998.1] +// CHECK:STDOUT: %LessOrEquivalent.ref.loc15: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.5c61ed.1 = name_ref LessOrEquivalent, %.loc15_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.2f1998.1] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.loc15: = bound_method %b.ref.loc15, %LessOrEquivalent.ref.loc15 -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc15: = specific_function %LessOrEquivalent.ref.loc15, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4(constants.%ImplicitAs.facet.7e4) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.e0d7be.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc15: = specific_function %LessOrEquivalent.ref.loc15, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4(constants.%ImplicitAs.facet.a8b) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.d600bb.2] // CHECK:STDOUT: %bound_method.loc15_5.3: = bound_method %b.ref.loc15, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc15 -// CHECK:STDOUT: %impl.elem0.loc15: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc15: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc15_3: = bound_method %b.ref.loc15, %impl.elem0.loc15 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc15: init %Cpp.long_long = call %bound_method.loc15_3(%b.ref.loc15) // CHECK:STDOUT: %.loc15_3.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc15 @@ -2236,105 +2236,105 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.call.loc15: init bool = call %bound_method.loc15_5.3(%.loc15_3.2, %a.ref.loc15) // CHECK:STDOUT: %int_1.loc17: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %a.ref.loc17: %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc17_5: %.9fe = impl_witness_access constants.%EqWith.impl_witness.fb3, element0 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.528a66.2] -// CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %int_1.loc17, %impl.elem0.loc17_5 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.bound.e15f28.1] -// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17_5, @T.as_type.as.EqWith.impl.Equal.3(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.e5fc6b.1] -// CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %int_1.loc17, %specific_fn.loc17 [concrete = constants.%bound_method.63634c.1] -// CHECK:STDOUT: %.loc17_5: %T.as_type.as.EqWith.impl.Equal.type.d42fb6.1 = specific_constant imports.%Core.Equal.65d, @T.as_type.as.EqWith.impl.82e(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.528a66.1] -// CHECK:STDOUT: %Equal.ref.loc17: %T.as_type.as.EqWith.impl.Equal.type.d42fb6.1 = name_ref Equal, %.loc17_5 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.528a66.1] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.loc17: = bound_method %int_1.loc17, %Equal.ref.loc17 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.bound.e15f28.2] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.loc17: = specific_function %Equal.ref.loc17, @T.as_type.as.EqWith.impl.Equal.4(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.e5fc6b.2] -// CHECK:STDOUT: %bound_method.loc17_5.3: = bound_method %int_1.loc17, %T.as_type.as.EqWith.impl.Equal.specific_fn.loc17 [concrete = constants.%bound_method.63634c.2] -// CHECK:STDOUT: %impl.elem0.loc17_3: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc17_5: %.826 = impl_witness_access constants.%EqWith.impl_witness.f84, element0 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.755cc0.2] +// CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %int_1.loc17, %impl.elem0.loc17_5 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.bound.bf9480.1] +// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17_5, @T.as_type.as.EqWith.impl.Equal.3(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.e309f5.1] +// CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %int_1.loc17, %specific_fn.loc17 [concrete = constants.%bound_method.1a4db7.1] +// CHECK:STDOUT: %.loc17_5: %T.as_type.as.EqWith.impl.Equal.type.943e53.1 = specific_constant imports.%Core.Equal.17b, @T.as_type.as.EqWith.impl.ea5(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.755cc0.1] +// CHECK:STDOUT: %Equal.ref.loc17: %T.as_type.as.EqWith.impl.Equal.type.943e53.1 = name_ref Equal, %.loc17_5 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.755cc0.1] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.bound.loc17: = bound_method %int_1.loc17, %Equal.ref.loc17 [concrete = constants.%T.as_type.as.EqWith.impl.Equal.bound.bf9480.2] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.specific_fn.loc17: = specific_function %Equal.ref.loc17, @T.as_type.as.EqWith.impl.Equal.4(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.EqWith.impl.Equal.specific_fn.e309f5.2] +// CHECK:STDOUT: %bound_method.loc17_5.3: = bound_method %int_1.loc17, %T.as_type.as.EqWith.impl.Equal.specific_fn.loc17 [concrete = constants.%bound_method.1a4db7.2] +// CHECK:STDOUT: %impl.elem0.loc17_3: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc17_3: = bound_method %int_1.loc17, %impl.elem0.loc17_3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %Cpp.long_long = call %bound_method.loc17_3(%int_1.loc17) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc17_3.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc17_3.2: %Cpp.long_long = converted %int_1.loc17, %.loc17_3.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %Cpp.long_long = call %bound_method.loc17_3(%int_1.loc17) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc17_3.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc17_3.2: %Cpp.long_long = converted %int_1.loc17, %.loc17_3.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.call.loc17: init bool = call %bound_method.loc17_5.3(%.loc17_3.2, %a.ref.loc17) // CHECK:STDOUT: %int_1.loc18: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %a.ref.loc18: %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem1.loc18: %.7a6 = impl_witness_access constants.%EqWith.impl_witness.fb3, element1 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.82649e.2] -// CHECK:STDOUT: %bound_method.loc18_5.1: = bound_method %int_1.loc18, %impl.elem1.loc18 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.bound.7a32cd.1] -// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem1.loc18, @T.as_type.as.EqWith.impl.NotEqual.3(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.05a1e7.1] -// CHECK:STDOUT: %bound_method.loc18_5.2: = bound_method %int_1.loc18, %specific_fn.loc18 [concrete = constants.%bound_method.8dffb3.1] -// CHECK:STDOUT: %.loc18_5: %T.as_type.as.EqWith.impl.NotEqual.type.c65193.1 = specific_constant imports.%Core.NotEqual.4cd, @T.as_type.as.EqWith.impl.82e(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.82649e.1] -// CHECK:STDOUT: %NotEqual.ref.loc18: %T.as_type.as.EqWith.impl.NotEqual.type.c65193.1 = name_ref NotEqual, %.loc18_5 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.82649e.1] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.loc18: = bound_method %int_1.loc18, %NotEqual.ref.loc18 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.bound.7a32cd.2] -// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc18: = specific_function %NotEqual.ref.loc18, @T.as_type.as.EqWith.impl.NotEqual.4(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.05a1e7.2] -// CHECK:STDOUT: %bound_method.loc18_5.3: = bound_method %int_1.loc18, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc18 [concrete = constants.%bound_method.8dffb3.2] -// CHECK:STDOUT: %impl.elem0.loc18: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem1.loc18: %.33a = impl_witness_access constants.%EqWith.impl_witness.f84, element1 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.ee659d.2] +// CHECK:STDOUT: %bound_method.loc18_5.1: = bound_method %int_1.loc18, %impl.elem1.loc18 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.bound.fbd5c3.1] +// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem1.loc18, @T.as_type.as.EqWith.impl.NotEqual.3(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.b5f9c9.1] +// CHECK:STDOUT: %bound_method.loc18_5.2: = bound_method %int_1.loc18, %specific_fn.loc18 [concrete = constants.%bound_method.48161a.1] +// CHECK:STDOUT: %.loc18_5: %T.as_type.as.EqWith.impl.NotEqual.type.56a43f.1 = specific_constant imports.%Core.NotEqual.365, @T.as_type.as.EqWith.impl.ea5(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.ee659d.1] +// CHECK:STDOUT: %NotEqual.ref.loc18: %T.as_type.as.EqWith.impl.NotEqual.type.56a43f.1 = name_ref NotEqual, %.loc18_5 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.ee659d.1] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.bound.loc18: = bound_method %int_1.loc18, %NotEqual.ref.loc18 [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.bound.fbd5c3.2] +// CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc18: = specific_function %NotEqual.ref.loc18, @T.as_type.as.EqWith.impl.NotEqual.4(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.EqWith.impl.NotEqual.specific_fn.b5f9c9.2] +// CHECK:STDOUT: %bound_method.loc18_5.3: = bound_method %int_1.loc18, %T.as_type.as.EqWith.impl.NotEqual.specific_fn.loc18 [concrete = constants.%bound_method.48161a.2] +// CHECK:STDOUT: %impl.elem0.loc18: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc18_3: = bound_method %int_1.loc18, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %Cpp.long_long = call %bound_method.loc18_3(%int_1.loc18) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc18_3.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc18_3.2: %Cpp.long_long = converted %int_1.loc18, %.loc18_3.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18: init %Cpp.long_long = call %bound_method.loc18_3(%int_1.loc18) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc18_3.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc18_3.2: %Cpp.long_long = converted %int_1.loc18, %.loc18_3.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.call.loc18: init bool = call %bound_method.loc18_5.3(%.loc18_3.2, %a.ref.loc18) // CHECK:STDOUT: %int_1.loc19: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %a.ref.loc19: %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem2.loc19: %.63c = impl_witness_access constants.%OrderedWith.impl_witness.642, element2 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.403458.2] -// CHECK:STDOUT: %bound_method.loc19_5.1: = bound_method %int_1.loc19, %impl.elem2.loc19 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.bound.f105eb.1] -// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem2.loc19, @T.as_type.as.OrderedWith.impl.Greater.3(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.6a82f6.1] -// CHECK:STDOUT: %bound_method.loc19_5.2: = bound_method %int_1.loc19, %specific_fn.loc19 [concrete = constants.%bound_method.dc9d06.1] -// CHECK:STDOUT: %.loc19_5: %T.as_type.as.OrderedWith.impl.Greater.type.9551f9.1 = specific_constant imports.%Core.Greater.709, @T.as_type.as.OrderedWith.impl.8c5(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.403458.1] -// CHECK:STDOUT: %Greater.ref.loc19: %T.as_type.as.OrderedWith.impl.Greater.type.9551f9.1 = name_ref Greater, %.loc19_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.403458.1] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.loc19: = bound_method %int_1.loc19, %Greater.ref.loc19 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.bound.f105eb.2] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc19: = specific_function %Greater.ref.loc19, @T.as_type.as.OrderedWith.impl.Greater.4(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.6a82f6.2] -// CHECK:STDOUT: %bound_method.loc19_5.3: = bound_method %int_1.loc19, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc19 [concrete = constants.%bound_method.dc9d06.2] -// CHECK:STDOUT: %impl.elem0.loc19: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem2.loc19: %.3a5 = impl_witness_access constants.%OrderedWith.impl_witness.575, element2 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.b41d18.2] +// CHECK:STDOUT: %bound_method.loc19_5.1: = bound_method %int_1.loc19, %impl.elem2.loc19 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.bound.e3a99b.1] +// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem2.loc19, @T.as_type.as.OrderedWith.impl.Greater.3(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.bb0c5f.1] +// CHECK:STDOUT: %bound_method.loc19_5.2: = bound_method %int_1.loc19, %specific_fn.loc19 [concrete = constants.%bound_method.d7f650.1] +// CHECK:STDOUT: %.loc19_5: %T.as_type.as.OrderedWith.impl.Greater.type.33b2b7.1 = specific_constant imports.%Core.Greater.75d, @T.as_type.as.OrderedWith.impl.500(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.b41d18.1] +// CHECK:STDOUT: %Greater.ref.loc19: %T.as_type.as.OrderedWith.impl.Greater.type.33b2b7.1 = name_ref Greater, %.loc19_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.b41d18.1] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.bound.loc19: = bound_method %int_1.loc19, %Greater.ref.loc19 [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.bound.e3a99b.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc19: = specific_function %Greater.ref.loc19, @T.as_type.as.OrderedWith.impl.Greater.4(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.OrderedWith.impl.Greater.specific_fn.bb0c5f.2] +// CHECK:STDOUT: %bound_method.loc19_5.3: = bound_method %int_1.loc19, %T.as_type.as.OrderedWith.impl.Greater.specific_fn.loc19 [concrete = constants.%bound_method.d7f650.2] +// CHECK:STDOUT: %impl.elem0.loc19: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc19_3: = bound_method %int_1.loc19, %impl.elem0.loc19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %Cpp.long_long = call %bound_method.loc19_3(%int_1.loc19) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc19_3.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc19_3.2: %Cpp.long_long = converted %int_1.loc19, %.loc19_3.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %Cpp.long_long = call %bound_method.loc19_3(%int_1.loc19) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc19_3.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc19_3.2: %Cpp.long_long = converted %int_1.loc19, %.loc19_3.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.call.loc19: init bool = call %bound_method.loc19_5.3(%.loc19_3.2, %a.ref.loc19) // CHECK:STDOUT: %int_1.loc20: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %a.ref.loc20: %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc20_5: %.744 = impl_witness_access constants.%OrderedWith.impl_witness.642, element0 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.80bf87.2] -// CHECK:STDOUT: %bound_method.loc20_5.1: = bound_method %int_1.loc20, %impl.elem0.loc20_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.bound.deabb3.1] -// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20_5, @T.as_type.as.OrderedWith.impl.Less.3(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.950def.1] -// CHECK:STDOUT: %bound_method.loc20_5.2: = bound_method %int_1.loc20, %specific_fn.loc20 [concrete = constants.%bound_method.31a078.1] -// CHECK:STDOUT: %.loc20_5: %T.as_type.as.OrderedWith.impl.Less.type.c051ed.1 = specific_constant imports.%Core.Less.3c9, @T.as_type.as.OrderedWith.impl.8c5(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.80bf87.1] -// CHECK:STDOUT: %Less.ref.loc20: %T.as_type.as.OrderedWith.impl.Less.type.c051ed.1 = name_ref Less, %.loc20_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.80bf87.1] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.loc20: = bound_method %int_1.loc20, %Less.ref.loc20 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.bound.deabb3.2] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc20: = specific_function %Less.ref.loc20, @T.as_type.as.OrderedWith.impl.Less.4(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.950def.2] -// CHECK:STDOUT: %bound_method.loc20_5.3: = bound_method %int_1.loc20, %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc20 [concrete = constants.%bound_method.31a078.2] -// CHECK:STDOUT: %impl.elem0.loc20_3: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc20_5: %.24f = impl_witness_access constants.%OrderedWith.impl_witness.575, element0 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.7a0579.2] +// CHECK:STDOUT: %bound_method.loc20_5.1: = bound_method %int_1.loc20, %impl.elem0.loc20_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.bound.85182d.1] +// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20_5, @T.as_type.as.OrderedWith.impl.Less.3(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.9b5b7e.1] +// CHECK:STDOUT: %bound_method.loc20_5.2: = bound_method %int_1.loc20, %specific_fn.loc20 [concrete = constants.%bound_method.f042d3.1] +// CHECK:STDOUT: %.loc20_5: %T.as_type.as.OrderedWith.impl.Less.type.d5a1ab.1 = specific_constant imports.%Core.Less.79a, @T.as_type.as.OrderedWith.impl.500(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.7a0579.1] +// CHECK:STDOUT: %Less.ref.loc20: %T.as_type.as.OrderedWith.impl.Less.type.d5a1ab.1 = name_ref Less, %.loc20_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.7a0579.1] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.bound.loc20: = bound_method %int_1.loc20, %Less.ref.loc20 [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.bound.85182d.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc20: = specific_function %Less.ref.loc20, @T.as_type.as.OrderedWith.impl.Less.4(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.OrderedWith.impl.Less.specific_fn.9b5b7e.2] +// CHECK:STDOUT: %bound_method.loc20_5.3: = bound_method %int_1.loc20, %T.as_type.as.OrderedWith.impl.Less.specific_fn.loc20 [concrete = constants.%bound_method.f042d3.2] +// CHECK:STDOUT: %impl.elem0.loc20_3: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc20_3: = bound_method %int_1.loc20, %impl.elem0.loc20_3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %Cpp.long_long = call %bound_method.loc20_3(%int_1.loc20) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc20_3.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc20_3.2: %Cpp.long_long = converted %int_1.loc20, %.loc20_3.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %Cpp.long_long = call %bound_method.loc20_3(%int_1.loc20) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc20_3.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc20_3.2: %Cpp.long_long = converted %int_1.loc20, %.loc20_3.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.call.loc20: init bool = call %bound_method.loc20_5.3(%.loc20_3.2, %a.ref.loc20) // CHECK:STDOUT: %int_1.loc21: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %a.ref.loc21: %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem3.loc21: %.97d = impl_witness_access constants.%OrderedWith.impl_witness.642, element3 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.10d9b8.2] -// CHECK:STDOUT: %bound_method.loc21_5.1: = bound_method %int_1.loc21, %impl.elem3.loc21 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.fe7331.1] -// CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem3.loc21, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.5e1c83.1] -// CHECK:STDOUT: %bound_method.loc21_5.2: = bound_method %int_1.loc21, %specific_fn.loc21 [concrete = constants.%bound_method.eff530.1] -// CHECK:STDOUT: %.loc21_5: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.d1e367.1 = specific_constant imports.%Core.GreaterOrEquivalent.407, @T.as_type.as.OrderedWith.impl.8c5(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.10d9b8.1] -// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc21: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.d1e367.1 = name_ref GreaterOrEquivalent, %.loc21_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.10d9b8.1] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.loc21: = bound_method %int_1.loc21, %GreaterOrEquivalent.ref.loc21 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.fe7331.2] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21: = specific_function %GreaterOrEquivalent.ref.loc21, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.5e1c83.2] -// CHECK:STDOUT: %bound_method.loc21_5.3: = bound_method %int_1.loc21, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21 [concrete = constants.%bound_method.eff530.2] -// CHECK:STDOUT: %impl.elem0.loc21: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem3.loc21: %.50e = impl_witness_access constants.%OrderedWith.impl_witness.575, element3 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e33eba.2] +// CHECK:STDOUT: %bound_method.loc21_5.1: = bound_method %int_1.loc21, %impl.elem3.loc21 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.28d040.1] +// CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem3.loc21, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.3(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.93e889.1] +// CHECK:STDOUT: %bound_method.loc21_5.2: = bound_method %int_1.loc21, %specific_fn.loc21 [concrete = constants.%bound_method.278950.1] +// CHECK:STDOUT: %.loc21_5: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.f746ee.1 = specific_constant imports.%Core.GreaterOrEquivalent.c4a, @T.as_type.as.OrderedWith.impl.500(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e33eba.1] +// CHECK:STDOUT: %GreaterOrEquivalent.ref.loc21: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.type.f746ee.1 = name_ref GreaterOrEquivalent, %.loc21_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.e33eba.1] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.loc21: = bound_method %int_1.loc21, %GreaterOrEquivalent.ref.loc21 [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.bound.28d040.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21: = specific_function %GreaterOrEquivalent.ref.loc21, @T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.4(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.93e889.2] +// CHECK:STDOUT: %bound_method.loc21_5.3: = bound_method %int_1.loc21, %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.specific_fn.loc21 [concrete = constants.%bound_method.278950.2] +// CHECK:STDOUT: %impl.elem0.loc21: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc21_3: = bound_method %int_1.loc21, %impl.elem0.loc21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %Cpp.long_long = call %bound_method.loc21_3(%int_1.loc21) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc21_3.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc21_3.2: %Cpp.long_long = converted %int_1.loc21, %.loc21_3.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %Cpp.long_long = call %bound_method.loc21_3(%int_1.loc21) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc21_3.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc21_3.2: %Cpp.long_long = converted %int_1.loc21, %.loc21_3.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.call.loc21: init bool = call %bound_method.loc21_5.3(%.loc21_3.2, %a.ref.loc21) // CHECK:STDOUT: %int_1.loc22: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %a.ref.loc22: %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem1.loc22: %.485 = impl_witness_access constants.%OrderedWith.impl_witness.642, element1 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.82a4dd.2] -// CHECK:STDOUT: %bound_method.loc22_5.1: = bound_method %int_1.loc22, %impl.elem1.loc22 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.4ad6db.1] -// CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem1.loc22, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.538b3d.1] -// CHECK:STDOUT: %bound_method.loc22_5.2: = bound_method %int_1.loc22, %specific_fn.loc22 [concrete = constants.%bound_method.ecd80b.1] -// CHECK:STDOUT: %.loc22_5: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.de6c7f.1 = specific_constant imports.%Core.LessOrEquivalent.ee1, @T.as_type.as.OrderedWith.impl.8c5(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.82a4dd.1] -// CHECK:STDOUT: %LessOrEquivalent.ref.loc22: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.de6c7f.1 = name_ref LessOrEquivalent, %.loc22_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.82a4dd.1] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.loc22: = bound_method %int_1.loc22, %LessOrEquivalent.ref.loc22 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.4ad6db.2] -// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22: = specific_function %LessOrEquivalent.ref.loc22, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4(constants.%ImplicitAs.facet.232) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.538b3d.2] -// CHECK:STDOUT: %bound_method.loc22_5.3: = bound_method %int_1.loc22, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22 [concrete = constants.%bound_method.ecd80b.2] -// CHECK:STDOUT: %impl.elem0.loc22: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem1.loc22: %.4fa = impl_witness_access constants.%OrderedWith.impl_witness.575, element1 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.db3985.2] +// CHECK:STDOUT: %bound_method.loc22_5.1: = bound_method %int_1.loc22, %impl.elem1.loc22 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.7d81f1.1] +// CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem1.loc22, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.3(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.f2ccbd.1] +// CHECK:STDOUT: %bound_method.loc22_5.2: = bound_method %int_1.loc22, %specific_fn.loc22 [concrete = constants.%bound_method.39be86.1] +// CHECK:STDOUT: %.loc22_5: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.5b1bfe.1 = specific_constant imports.%Core.LessOrEquivalent.c4e, @T.as_type.as.OrderedWith.impl.500(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.db3985.1] +// CHECK:STDOUT: %LessOrEquivalent.ref.loc22: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.type.5b1bfe.1 = name_ref LessOrEquivalent, %.loc22_5 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.db3985.1] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.loc22: = bound_method %int_1.loc22, %LessOrEquivalent.ref.loc22 [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.bound.7d81f1.2] +// CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22: = specific_function %LessOrEquivalent.ref.loc22, @T.as_type.as.OrderedWith.impl.LessOrEquivalent.4(constants.%ImplicitAs.facet.532) [concrete = constants.%T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.f2ccbd.2] +// CHECK:STDOUT: %bound_method.loc22_5.3: = bound_method %int_1.loc22, %T.as_type.as.OrderedWith.impl.LessOrEquivalent.specific_fn.loc22 [concrete = constants.%bound_method.39be86.2] +// CHECK:STDOUT: %impl.elem0.loc22: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc22_3: = bound_method %int_1.loc22, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %Cpp.long_long = call %bound_method.loc22_3(%int_1.loc22) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc22_3.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc22_3.2: %Cpp.long_long = converted %int_1.loc22, %.loc22_3.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %Cpp.long_long = call %bound_method.loc22_3(%int_1.loc22) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc22_3.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc22_3.2: %Cpp.long_long = converted %int_1.loc22, %.loc22_3.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.call.loc22: init bool = call %bound_method.loc22_5.3(%.loc22_3.2, %a.ref.loc22) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -2346,178 +2346,178 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long: type = class_type @LongLong64 [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %i64.builtin: type = int_type signed, %int_64 [concrete] -// CHECK:STDOUT: %pattern_type.e6e: type = pattern_type %Cpp.long_long [concrete] +// CHECK:STDOUT: %pattern_type.003: type = pattern_type %Cpp.long_long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.d35: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.fb7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.ImplicitAs.impl.Convert.type.b99: type = fn_type @T.as_type.as.ImplicitAs.impl.Convert, @T.as_type.as.ImplicitAs.impl(%T.228) [symbolic] -// CHECK:STDOUT: %T.as_type.as.ImplicitAs.impl.Convert.56c: %T.as_type.as.ImplicitAs.impl.Convert.type.b99 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f2c: = impl_witness imports.%ImplicitAs.impl_witness_table.715 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.232: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.f2c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.52b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %.b38: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.52b, %ImplicitAs.facet.232 [concrete] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.ImplicitAs.impl.Convert.type.5ec: type = fn_type @T.as_type.as.ImplicitAs.impl.Convert, @T.as_type.as.ImplicitAs.impl(%T.f49) [symbolic] +// CHECK:STDOUT: %T.as_type.as.ImplicitAs.impl.Convert.921: %T.as_type.as.ImplicitAs.impl.Convert.type.5ec = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.59e: = impl_witness imports.%ImplicitAs.impl_witness_table.337 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.532: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.59e) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f1d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %.424: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f1d, %ImplicitAs.facet.532 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.526: %Cpp.long_long = int_value 1 [concrete] -// CHECK:STDOUT: %AddAssignWith.type.586: type = facet_type <@AddAssignWith, @AddAssignWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %U.dc5: %ImplicitAs.type.d35 = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.2 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.856: = impl_witness imports.%Copy.impl_witness_table.c09 [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Cpp.long_long, (%Copy.impl_witness.856) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb2: = impl_witness imports.%ImplicitAs.impl_witness_table.eef, @T.as_type.as.ImplicitAs.impl(%Copy.facet) [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.f14: %ImplicitAs.type.d35 = facet_value %Cpp.long_long, (%ImplicitAs.impl_witness.fb2) [concrete] -// CHECK:STDOUT: %AddAssignWith.impl_witness.2e1: = impl_witness imports.%AddAssignWith.impl_witness_table.40d, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.29b076.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.76cdb4.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.29b076.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.29b076.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.76cdb4.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.29b076.2 = struct_value () [concrete] -// CHECK:STDOUT: %AddAssignWith.facet.1d3: %AddAssignWith.type.586 = facet_value %Cpp.long_long, (%AddAssignWith.impl_witness.2e1) [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.790: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%Cpp.long_long, %AddAssignWith.facet.1d3) [concrete] -// CHECK:STDOUT: %.f41: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.790, %AddAssignWith.facet.1d3 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.26ed01.1: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.76cdb4.2, @Cpp.long_long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.26ed01.2: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.76cdb4.1, @Cpp.long_long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %SubAssignWith.type.251: type = facet_type <@SubAssignWith, @SubAssignWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.202246.1: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.1, @Cpp.long_long.as.SubAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.10386c.1: %Cpp.long_long.as.SubAssignWith.impl.Op.type.202246.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.202246.2: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.2, @Cpp.long_long.as.SubAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.10386c.2: %Cpp.long_long.as.SubAssignWith.impl.Op.type.202246.2 = struct_value () [symbolic] -// CHECK:STDOUT: %SubAssignWith.impl_witness.ea4: = impl_witness imports.%SubAssignWith.impl_witness_table.402, @Cpp.long_long.as.SubAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.fd7fe6.1: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.2, @Cpp.long_long.as.SubAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.9b75af.1: %Cpp.long_long.as.SubAssignWith.impl.Op.type.fd7fe6.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.fd7fe6.2: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.1, @Cpp.long_long.as.SubAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.9b75af.2: %Cpp.long_long.as.SubAssignWith.impl.Op.type.fd7fe6.2 = struct_value () [concrete] -// CHECK:STDOUT: %SubAssignWith.facet.c68: %SubAssignWith.type.251 = facet_value %Cpp.long_long, (%SubAssignWith.impl_witness.ea4) [concrete] -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.9ae: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%Cpp.long_long, %SubAssignWith.facet.c68) [concrete] -// CHECK:STDOUT: %.8e2: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.9ae, %SubAssignWith.facet.c68 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.055dc6.1: = specific_function %Cpp.long_long.as.SubAssignWith.impl.Op.9b75af.2, @Cpp.long_long.as.SubAssignWith.impl.Op.1(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.055dc6.2: = specific_function %Cpp.long_long.as.SubAssignWith.impl.Op.9b75af.1, @Cpp.long_long.as.SubAssignWith.impl.Op.2(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %MulAssignWith.type.dbc: type = facet_type <@MulAssignWith, @MulAssignWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.87d945.1: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.1, @Cpp.long_long.as.MulAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.58692c.1: %Cpp.long_long.as.MulAssignWith.impl.Op.type.87d945.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.87d945.2: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.2, @Cpp.long_long.as.MulAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.58692c.2: %Cpp.long_long.as.MulAssignWith.impl.Op.type.87d945.2 = struct_value () [symbolic] -// CHECK:STDOUT: %MulAssignWith.impl_witness.1d0: = impl_witness imports.%MulAssignWith.impl_witness_table.f21, @Cpp.long_long.as.MulAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.452900.1: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.2, @Cpp.long_long.as.MulAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.55657a.1: %Cpp.long_long.as.MulAssignWith.impl.Op.type.452900.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.452900.2: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.1, @Cpp.long_long.as.MulAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.55657a.2: %Cpp.long_long.as.MulAssignWith.impl.Op.type.452900.2 = struct_value () [concrete] -// CHECK:STDOUT: %MulAssignWith.facet.e77: %MulAssignWith.type.dbc = facet_value %Cpp.long_long, (%MulAssignWith.impl_witness.1d0) [concrete] -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.0d0: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%Cpp.long_long, %MulAssignWith.facet.e77) [concrete] -// CHECK:STDOUT: %.7de: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.0d0, %MulAssignWith.facet.e77 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.e4ed27.1: = specific_function %Cpp.long_long.as.MulAssignWith.impl.Op.55657a.2, @Cpp.long_long.as.MulAssignWith.impl.Op.1(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.e4ed27.2: = specific_function %Cpp.long_long.as.MulAssignWith.impl.Op.55657a.1, @Cpp.long_long.as.MulAssignWith.impl.Op.2(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %DivAssignWith.type.421: type = facet_type <@DivAssignWith, @DivAssignWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.758a4b.1: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.1, @Cpp.long_long.as.DivAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.7ce2b0.1: %Cpp.long_long.as.DivAssignWith.impl.Op.type.758a4b.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.758a4b.2: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.2, @Cpp.long_long.as.DivAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.7ce2b0.2: %Cpp.long_long.as.DivAssignWith.impl.Op.type.758a4b.2 = struct_value () [symbolic] -// CHECK:STDOUT: %DivAssignWith.impl_witness.0b8: = impl_witness imports.%DivAssignWith.impl_witness_table.6b3, @Cpp.long_long.as.DivAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.f8080c.1: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.2, @Cpp.long_long.as.DivAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.c8f210.1: %Cpp.long_long.as.DivAssignWith.impl.Op.type.f8080c.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.f8080c.2: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.1, @Cpp.long_long.as.DivAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.c8f210.2: %Cpp.long_long.as.DivAssignWith.impl.Op.type.f8080c.2 = struct_value () [concrete] -// CHECK:STDOUT: %DivAssignWith.facet.2e3: %DivAssignWith.type.421 = facet_value %Cpp.long_long, (%DivAssignWith.impl_witness.0b8) [concrete] -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.5ea: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%Cpp.long_long, %DivAssignWith.facet.2e3) [concrete] -// CHECK:STDOUT: %.bb3: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.5ea, %DivAssignWith.facet.2e3 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.1419be.1: = specific_function %Cpp.long_long.as.DivAssignWith.impl.Op.c8f210.2, @Cpp.long_long.as.DivAssignWith.impl.Op.1(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.1419be.2: = specific_function %Cpp.long_long.as.DivAssignWith.impl.Op.c8f210.1, @Cpp.long_long.as.DivAssignWith.impl.Op.2(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %ModAssignWith.type.202: type = facet_type <@ModAssignWith, @ModAssignWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.ea137c.1: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.1, @Cpp.long_long.as.ModAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.8230c7.1: %Cpp.long_long.as.ModAssignWith.impl.Op.type.ea137c.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.ea137c.2: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.2, @Cpp.long_long.as.ModAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.8230c7.2: %Cpp.long_long.as.ModAssignWith.impl.Op.type.ea137c.2 = struct_value () [symbolic] -// CHECK:STDOUT: %ModAssignWith.impl_witness.c9f: = impl_witness imports.%ModAssignWith.impl_witness_table.416, @Cpp.long_long.as.ModAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.06b0f6.1: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.2, @Cpp.long_long.as.ModAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.8c2614.1: %Cpp.long_long.as.ModAssignWith.impl.Op.type.06b0f6.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.06b0f6.2: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.1, @Cpp.long_long.as.ModAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.8c2614.2: %Cpp.long_long.as.ModAssignWith.impl.Op.type.06b0f6.2 = struct_value () [concrete] -// CHECK:STDOUT: %ModAssignWith.facet.df8: %ModAssignWith.type.202 = facet_value %Cpp.long_long, (%ModAssignWith.impl_witness.c9f) [concrete] -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.f55: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%Cpp.long_long, %ModAssignWith.facet.df8) [concrete] -// CHECK:STDOUT: %.023: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.f55, %ModAssignWith.facet.df8 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.c534d8.1: = specific_function %Cpp.long_long.as.ModAssignWith.impl.Op.8c2614.2, @Cpp.long_long.as.ModAssignWith.impl.Op.1(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.c534d8.2: = specific_function %Cpp.long_long.as.ModAssignWith.impl.Op.8c2614.1, @Cpp.long_long.as.ModAssignWith.impl.Op.2(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %BitAndAssignWith.type.3fc: type = facet_type <@BitAndAssignWith, @BitAndAssignWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a4618b.1: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.1, @Cpp.long_long.as.BitAndAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.1f9a65.1: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a4618b.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a4618b.2: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.2, @Cpp.long_long.as.BitAndAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.1f9a65.2: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a4618b.2 = struct_value () [symbolic] -// CHECK:STDOUT: %BitAndAssignWith.impl_witness.408: = impl_witness imports.%BitAndAssignWith.impl_witness_table.6ea, @Cpp.long_long.as.BitAndAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a53a56.1: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.2, @Cpp.long_long.as.BitAndAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.dc8119.1: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a53a56.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a53a56.2: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.1, @Cpp.long_long.as.BitAndAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.dc8119.2: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a53a56.2 = struct_value () [concrete] -// CHECK:STDOUT: %BitAndAssignWith.facet.5e6: %BitAndAssignWith.type.3fc = facet_value %Cpp.long_long, (%BitAndAssignWith.impl_witness.408) [concrete] -// CHECK:STDOUT: %BitAndAssignWith.WithSelf.Op.type.708: type = fn_type @BitAndAssignWith.WithSelf.Op, @BitAndAssignWith.WithSelf(%Cpp.long_long, %BitAndAssignWith.facet.5e6) [concrete] -// CHECK:STDOUT: %.521: type = fn_type_with_self_type %BitAndAssignWith.WithSelf.Op.type.708, %BitAndAssignWith.facet.5e6 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.cfb26a.1: = specific_function %Cpp.long_long.as.BitAndAssignWith.impl.Op.dc8119.2, @Cpp.long_long.as.BitAndAssignWith.impl.Op.1(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.cfb26a.2: = specific_function %Cpp.long_long.as.BitAndAssignWith.impl.Op.dc8119.1, @Cpp.long_long.as.BitAndAssignWith.impl.Op.2(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %BitOrAssignWith.type.6b3: type = facet_type <@BitOrAssignWith, @BitOrAssignWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.73a30f.1: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.1, @Cpp.long_long.as.BitOrAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.a563c7.1: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.73a30f.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.73a30f.2: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.2, @Cpp.long_long.as.BitOrAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.a563c7.2: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.73a30f.2 = struct_value () [symbolic] -// CHECK:STDOUT: %BitOrAssignWith.impl_witness.b57: = impl_witness imports.%BitOrAssignWith.impl_witness_table.1c1, @Cpp.long_long.as.BitOrAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.dab1d3.1: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.2, @Cpp.long_long.as.BitOrAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.804a0c.1: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.dab1d3.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.dab1d3.2: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.1, @Cpp.long_long.as.BitOrAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.804a0c.2: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.dab1d3.2 = struct_value () [concrete] -// CHECK:STDOUT: %BitOrAssignWith.facet.afe: %BitOrAssignWith.type.6b3 = facet_value %Cpp.long_long, (%BitOrAssignWith.impl_witness.b57) [concrete] -// CHECK:STDOUT: %BitOrAssignWith.WithSelf.Op.type.24a: type = fn_type @BitOrAssignWith.WithSelf.Op, @BitOrAssignWith.WithSelf(%Cpp.long_long, %BitOrAssignWith.facet.afe) [concrete] -// CHECK:STDOUT: %.b62: type = fn_type_with_self_type %BitOrAssignWith.WithSelf.Op.type.24a, %BitOrAssignWith.facet.afe [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.db2772.1: = specific_function %Cpp.long_long.as.BitOrAssignWith.impl.Op.804a0c.2, @Cpp.long_long.as.BitOrAssignWith.impl.Op.1(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.db2772.2: = specific_function %Cpp.long_long.as.BitOrAssignWith.impl.Op.804a0c.1, @Cpp.long_long.as.BitOrAssignWith.impl.Op.2(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %BitXorAssignWith.type.2ce: type = facet_type <@BitXorAssignWith, @BitXorAssignWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.6f1dba.1: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.1, @Cpp.long_long.as.BitXorAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.576f86.1: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.6f1dba.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.6f1dba.2: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.2, @Cpp.long_long.as.BitXorAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.576f86.2: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.6f1dba.2 = struct_value () [symbolic] -// CHECK:STDOUT: %BitXorAssignWith.impl_witness.493: = impl_witness imports.%BitXorAssignWith.impl_witness_table.f2a, @Cpp.long_long.as.BitXorAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.9b7afb.1: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.2, @Cpp.long_long.as.BitXorAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.ef402e.1: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.9b7afb.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.9b7afb.2: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.1, @Cpp.long_long.as.BitXorAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.ef402e.2: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.9b7afb.2 = struct_value () [concrete] -// CHECK:STDOUT: %BitXorAssignWith.facet.e52: %BitXorAssignWith.type.2ce = facet_value %Cpp.long_long, (%BitXorAssignWith.impl_witness.493) [concrete] -// CHECK:STDOUT: %BitXorAssignWith.WithSelf.Op.type.3d4: type = fn_type @BitXorAssignWith.WithSelf.Op, @BitXorAssignWith.WithSelf(%Cpp.long_long, %BitXorAssignWith.facet.e52) [concrete] -// CHECK:STDOUT: %.85c: type = fn_type_with_self_type %BitXorAssignWith.WithSelf.Op.type.3d4, %BitXorAssignWith.facet.e52 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.05f87c.1: = specific_function %Cpp.long_long.as.BitXorAssignWith.impl.Op.ef402e.2, @Cpp.long_long.as.BitXorAssignWith.impl.Op.1(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.05f87c.2: = specific_function %Cpp.long_long.as.BitXorAssignWith.impl.Op.ef402e.1, @Cpp.long_long.as.BitXorAssignWith.impl.Op.2(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.type.ba5: type = facet_type <@LeftShiftAssignWith, @LeftShiftAssignWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.c90a09.1: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long_long.as.LeftShiftAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.9127f1.1: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.c90a09.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.c90a09.2: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long_long.as.LeftShiftAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.9127f1.2: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.c90a09.2 = struct_value () [symbolic] -// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness.544: = impl_witness imports.%LeftShiftAssignWith.impl_witness_table.aba, @Cpp.long_long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.e090ea.1: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long_long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.f7d238.1: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.e090ea.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.e090ea.2: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long_long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.f7d238.2: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.e090ea.2 = struct_value () [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.facet.167: %LeftShiftAssignWith.type.ba5 = facet_value %Cpp.long_long, (%LeftShiftAssignWith.impl_witness.544) [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.WithSelf.Op.type.0a0: type = fn_type @LeftShiftAssignWith.WithSelf.Op, @LeftShiftAssignWith.WithSelf(%Cpp.long_long, %LeftShiftAssignWith.facet.167) [concrete] -// CHECK:STDOUT: %.f1e: type = fn_type_with_self_type %LeftShiftAssignWith.WithSelf.Op.type.0a0, %LeftShiftAssignWith.facet.167 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.42dae5.1: = specific_function %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.f7d238.2, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.42dae5.2: = specific_function %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.f7d238.1, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.type.cf2: type = facet_type <@RightShiftAssignWith, @RightShiftAssignWith(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.e47d89.1: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long_long.as.RightShiftAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.9b7acf.1: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.e47d89.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.e47d89.2: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long_long.as.RightShiftAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.9b7acf.2: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.e47d89.2 = struct_value () [symbolic] -// CHECK:STDOUT: %RightShiftAssignWith.impl_witness.0d2: = impl_witness imports.%RightShiftAssignWith.impl_witness_table.774, @Cpp.long_long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.c9df74.1: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long_long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.13c552.1: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.c9df74.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.c9df74.2: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long_long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.13c552.2: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.c9df74.2 = struct_value () [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.facet.048: %RightShiftAssignWith.type.cf2 = facet_value %Cpp.long_long, (%RightShiftAssignWith.impl_witness.0d2) [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.WithSelf.Op.type.2a0: type = fn_type @RightShiftAssignWith.WithSelf.Op, @RightShiftAssignWith.WithSelf(%Cpp.long_long, %RightShiftAssignWith.facet.048) [concrete] -// CHECK:STDOUT: %.076: type = fn_type_with_self_type %RightShiftAssignWith.WithSelf.Op.type.2a0, %RightShiftAssignWith.facet.048 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.9a9f2f.1: = specific_function %Cpp.long_long.as.RightShiftAssignWith.impl.Op.13c552.2, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.9a9f2f.2: = specific_function %Cpp.long_long.as.RightShiftAssignWith.impl.Op.13c552.1, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2(%ImplicitAs.facet.f14) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %int_1.8b4: %Cpp.long_long = int_value 1 [concrete] +// CHECK:STDOUT: %AddAssignWith.type.538: type = facet_type <@AddAssignWith, @AddAssignWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %U.ec6: %ImplicitAs.type.fb7 = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.fca: = impl_witness imports.%Copy.impl_witness_table.f0d [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Cpp.long_long, (%Copy.impl_witness.fca) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.a55: = impl_witness imports.%ImplicitAs.impl_witness_table.c42, @T.as_type.as.ImplicitAs.impl(%Copy.facet) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.57b: %ImplicitAs.type.fb7 = facet_value %Cpp.long_long, (%ImplicitAs.impl_witness.a55) [concrete] +// CHECK:STDOUT: %AddAssignWith.impl_witness.46d: = impl_witness imports.%AddAssignWith.impl_witness_table.c98, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.31aa71.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.cca0ca.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.31aa71.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.31aa71.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.cca0ca.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.31aa71.2 = struct_value () [concrete] +// CHECK:STDOUT: %AddAssignWith.facet.227: %AddAssignWith.type.538 = facet_value %Cpp.long_long, (%AddAssignWith.impl_witness.46d) [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.e65: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%Cpp.long_long, %AddAssignWith.facet.227) [concrete] +// CHECK:STDOUT: %.6c8: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.e65, %AddAssignWith.facet.227 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.f66500.1: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.cca0ca.2, @Cpp.long_long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.f66500.2: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.cca0ca.1, @Cpp.long_long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %SubAssignWith.type.fcc: type = facet_type <@SubAssignWith, @SubAssignWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.b4d617.1: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.1, @Cpp.long_long.as.SubAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.30926f.1: %Cpp.long_long.as.SubAssignWith.impl.Op.type.b4d617.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.b4d617.2: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.2, @Cpp.long_long.as.SubAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.30926f.2: %Cpp.long_long.as.SubAssignWith.impl.Op.type.b4d617.2 = struct_value () [symbolic] +// CHECK:STDOUT: %SubAssignWith.impl_witness.043: = impl_witness imports.%SubAssignWith.impl_witness_table.173, @Cpp.long_long.as.SubAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.7e9fad.1: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.2, @Cpp.long_long.as.SubAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.a22eaf.1: %Cpp.long_long.as.SubAssignWith.impl.Op.type.7e9fad.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.7e9fad.2: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.1, @Cpp.long_long.as.SubAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.a22eaf.2: %Cpp.long_long.as.SubAssignWith.impl.Op.type.7e9fad.2 = struct_value () [concrete] +// CHECK:STDOUT: %SubAssignWith.facet.18a: %SubAssignWith.type.fcc = facet_value %Cpp.long_long, (%SubAssignWith.impl_witness.043) [concrete] +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.e7b: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%Cpp.long_long, %SubAssignWith.facet.18a) [concrete] +// CHECK:STDOUT: %.88a: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.e7b, %SubAssignWith.facet.18a [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.e1ae1b.1: = specific_function %Cpp.long_long.as.SubAssignWith.impl.Op.a22eaf.2, @Cpp.long_long.as.SubAssignWith.impl.Op.1(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.e1ae1b.2: = specific_function %Cpp.long_long.as.SubAssignWith.impl.Op.a22eaf.1, @Cpp.long_long.as.SubAssignWith.impl.Op.2(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %MulAssignWith.type.cd0: type = facet_type <@MulAssignWith, @MulAssignWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ae87af.1: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.1, @Cpp.long_long.as.MulAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.51366a.1: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ae87af.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ae87af.2: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.2, @Cpp.long_long.as.MulAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.51366a.2: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ae87af.2 = struct_value () [symbolic] +// CHECK:STDOUT: %MulAssignWith.impl_witness.bbd: = impl_witness imports.%MulAssignWith.impl_witness_table.8f1, @Cpp.long_long.as.MulAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ec1e42.1: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.2, @Cpp.long_long.as.MulAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.be4a1c.1: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ec1e42.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ec1e42.2: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.1, @Cpp.long_long.as.MulAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.be4a1c.2: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ec1e42.2 = struct_value () [concrete] +// CHECK:STDOUT: %MulAssignWith.facet.e08: %MulAssignWith.type.cd0 = facet_value %Cpp.long_long, (%MulAssignWith.impl_witness.bbd) [concrete] +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.e84: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%Cpp.long_long, %MulAssignWith.facet.e08) [concrete] +// CHECK:STDOUT: %.7f3: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.e84, %MulAssignWith.facet.e08 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.62a27c.1: = specific_function %Cpp.long_long.as.MulAssignWith.impl.Op.be4a1c.2, @Cpp.long_long.as.MulAssignWith.impl.Op.1(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.62a27c.2: = specific_function %Cpp.long_long.as.MulAssignWith.impl.Op.be4a1c.1, @Cpp.long_long.as.MulAssignWith.impl.Op.2(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %DivAssignWith.type.1b9: type = facet_type <@DivAssignWith, @DivAssignWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.d84717.1: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.1, @Cpp.long_long.as.DivAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.efd5d8.1: %Cpp.long_long.as.DivAssignWith.impl.Op.type.d84717.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.d84717.2: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.2, @Cpp.long_long.as.DivAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.efd5d8.2: %Cpp.long_long.as.DivAssignWith.impl.Op.type.d84717.2 = struct_value () [symbolic] +// CHECK:STDOUT: %DivAssignWith.impl_witness.cff: = impl_witness imports.%DivAssignWith.impl_witness_table.5e5, @Cpp.long_long.as.DivAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.ffd750.1: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.2, @Cpp.long_long.as.DivAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.b863ee.1: %Cpp.long_long.as.DivAssignWith.impl.Op.type.ffd750.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.ffd750.2: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.1, @Cpp.long_long.as.DivAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.b863ee.2: %Cpp.long_long.as.DivAssignWith.impl.Op.type.ffd750.2 = struct_value () [concrete] +// CHECK:STDOUT: %DivAssignWith.facet.ffa: %DivAssignWith.type.1b9 = facet_value %Cpp.long_long, (%DivAssignWith.impl_witness.cff) [concrete] +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.5d1: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%Cpp.long_long, %DivAssignWith.facet.ffa) [concrete] +// CHECK:STDOUT: %.05b: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.5d1, %DivAssignWith.facet.ffa [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.c32503.1: = specific_function %Cpp.long_long.as.DivAssignWith.impl.Op.b863ee.2, @Cpp.long_long.as.DivAssignWith.impl.Op.1(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.c32503.2: = specific_function %Cpp.long_long.as.DivAssignWith.impl.Op.b863ee.1, @Cpp.long_long.as.DivAssignWith.impl.Op.2(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %ModAssignWith.type.cc2: type = facet_type <@ModAssignWith, @ModAssignWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.043ac2.1: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.1, @Cpp.long_long.as.ModAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.6f8dfc.1: %Cpp.long_long.as.ModAssignWith.impl.Op.type.043ac2.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.043ac2.2: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.2, @Cpp.long_long.as.ModAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.6f8dfc.2: %Cpp.long_long.as.ModAssignWith.impl.Op.type.043ac2.2 = struct_value () [symbolic] +// CHECK:STDOUT: %ModAssignWith.impl_witness.64e: = impl_witness imports.%ModAssignWith.impl_witness_table.0c2, @Cpp.long_long.as.ModAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.a269d9.1: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.2, @Cpp.long_long.as.ModAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.5beb8b.1: %Cpp.long_long.as.ModAssignWith.impl.Op.type.a269d9.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.a269d9.2: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.1, @Cpp.long_long.as.ModAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.5beb8b.2: %Cpp.long_long.as.ModAssignWith.impl.Op.type.a269d9.2 = struct_value () [concrete] +// CHECK:STDOUT: %ModAssignWith.facet.adb: %ModAssignWith.type.cc2 = facet_value %Cpp.long_long, (%ModAssignWith.impl_witness.64e) [concrete] +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.396: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%Cpp.long_long, %ModAssignWith.facet.adb) [concrete] +// CHECK:STDOUT: %.3b8: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.396, %ModAssignWith.facet.adb [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.384e82.1: = specific_function %Cpp.long_long.as.ModAssignWith.impl.Op.5beb8b.2, @Cpp.long_long.as.ModAssignWith.impl.Op.1(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.384e82.2: = specific_function %Cpp.long_long.as.ModAssignWith.impl.Op.5beb8b.1, @Cpp.long_long.as.ModAssignWith.impl.Op.2(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %BitAndAssignWith.type.016: type = facet_type <@BitAndAssignWith, @BitAndAssignWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.285489.1: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.1, @Cpp.long_long.as.BitAndAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.c0b96d.1: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.285489.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.285489.2: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.2, @Cpp.long_long.as.BitAndAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.c0b96d.2: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.285489.2 = struct_value () [symbolic] +// CHECK:STDOUT: %BitAndAssignWith.impl_witness.8de: = impl_witness imports.%BitAndAssignWith.impl_witness_table.acf, @Cpp.long_long.as.BitAndAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.2754ec.1: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.2, @Cpp.long_long.as.BitAndAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.bdd3c9.1: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.2754ec.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.2754ec.2: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.1, @Cpp.long_long.as.BitAndAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.bdd3c9.2: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.2754ec.2 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndAssignWith.facet.114: %BitAndAssignWith.type.016 = facet_value %Cpp.long_long, (%BitAndAssignWith.impl_witness.8de) [concrete] +// CHECK:STDOUT: %BitAndAssignWith.WithSelf.Op.type.ebf: type = fn_type @BitAndAssignWith.WithSelf.Op, @BitAndAssignWith.WithSelf(%Cpp.long_long, %BitAndAssignWith.facet.114) [concrete] +// CHECK:STDOUT: %.75f: type = fn_type_with_self_type %BitAndAssignWith.WithSelf.Op.type.ebf, %BitAndAssignWith.facet.114 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.12a41b.1: = specific_function %Cpp.long_long.as.BitAndAssignWith.impl.Op.bdd3c9.2, @Cpp.long_long.as.BitAndAssignWith.impl.Op.1(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.12a41b.2: = specific_function %Cpp.long_long.as.BitAndAssignWith.impl.Op.bdd3c9.1, @Cpp.long_long.as.BitAndAssignWith.impl.Op.2(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %BitOrAssignWith.type.4ad: type = facet_type <@BitOrAssignWith, @BitOrAssignWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.ca203c.1: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.1, @Cpp.long_long.as.BitOrAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.622301.1: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.ca203c.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.ca203c.2: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.2, @Cpp.long_long.as.BitOrAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.622301.2: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.ca203c.2 = struct_value () [symbolic] +// CHECK:STDOUT: %BitOrAssignWith.impl_witness.952: = impl_witness imports.%BitOrAssignWith.impl_witness_table.20e, @Cpp.long_long.as.BitOrAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.d8cf54.1: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.2, @Cpp.long_long.as.BitOrAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.0ee16e.1: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.d8cf54.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.d8cf54.2: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.1, @Cpp.long_long.as.BitOrAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.0ee16e.2: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.d8cf54.2 = struct_value () [concrete] +// CHECK:STDOUT: %BitOrAssignWith.facet.d07: %BitOrAssignWith.type.4ad = facet_value %Cpp.long_long, (%BitOrAssignWith.impl_witness.952) [concrete] +// CHECK:STDOUT: %BitOrAssignWith.WithSelf.Op.type.374: type = fn_type @BitOrAssignWith.WithSelf.Op, @BitOrAssignWith.WithSelf(%Cpp.long_long, %BitOrAssignWith.facet.d07) [concrete] +// CHECK:STDOUT: %.3e0: type = fn_type_with_self_type %BitOrAssignWith.WithSelf.Op.type.374, %BitOrAssignWith.facet.d07 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.990496.1: = specific_function %Cpp.long_long.as.BitOrAssignWith.impl.Op.0ee16e.2, @Cpp.long_long.as.BitOrAssignWith.impl.Op.1(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.990496.2: = specific_function %Cpp.long_long.as.BitOrAssignWith.impl.Op.0ee16e.1, @Cpp.long_long.as.BitOrAssignWith.impl.Op.2(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %BitXorAssignWith.type.ad0: type = facet_type <@BitXorAssignWith, @BitXorAssignWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2d154f.1: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.1, @Cpp.long_long.as.BitXorAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.4ac15f.1: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2d154f.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2d154f.2: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.2, @Cpp.long_long.as.BitXorAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.4ac15f.2: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2d154f.2 = struct_value () [symbolic] +// CHECK:STDOUT: %BitXorAssignWith.impl_witness.7ca: = impl_witness imports.%BitXorAssignWith.impl_witness_table.674, @Cpp.long_long.as.BitXorAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.83c391.1: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.2, @Cpp.long_long.as.BitXorAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.5554ab.1: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.83c391.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.83c391.2: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.1, @Cpp.long_long.as.BitXorAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.5554ab.2: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.83c391.2 = struct_value () [concrete] +// CHECK:STDOUT: %BitXorAssignWith.facet.0a9: %BitXorAssignWith.type.ad0 = facet_value %Cpp.long_long, (%BitXorAssignWith.impl_witness.7ca) [concrete] +// CHECK:STDOUT: %BitXorAssignWith.WithSelf.Op.type.a77: type = fn_type @BitXorAssignWith.WithSelf.Op, @BitXorAssignWith.WithSelf(%Cpp.long_long, %BitXorAssignWith.facet.0a9) [concrete] +// CHECK:STDOUT: %.320: type = fn_type_with_self_type %BitXorAssignWith.WithSelf.Op.type.a77, %BitXorAssignWith.facet.0a9 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.dce943.1: = specific_function %Cpp.long_long.as.BitXorAssignWith.impl.Op.5554ab.2, @Cpp.long_long.as.BitXorAssignWith.impl.Op.1(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.dce943.2: = specific_function %Cpp.long_long.as.BitXorAssignWith.impl.Op.5554ab.1, @Cpp.long_long.as.BitXorAssignWith.impl.Op.2(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.type.cd4: type = facet_type <@LeftShiftAssignWith, @LeftShiftAssignWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.915db5.1: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long_long.as.LeftShiftAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.fefa92.1: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.915db5.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.915db5.2: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long_long.as.LeftShiftAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.fefa92.2: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.915db5.2 = struct_value () [symbolic] +// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness.d46: = impl_witness imports.%LeftShiftAssignWith.impl_witness_table.166, @Cpp.long_long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.28213d.1: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long_long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.10da82.1: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.28213d.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.28213d.2: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long_long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.10da82.2: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.28213d.2 = struct_value () [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.facet.075: %LeftShiftAssignWith.type.cd4 = facet_value %Cpp.long_long, (%LeftShiftAssignWith.impl_witness.d46) [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.WithSelf.Op.type.8b1: type = fn_type @LeftShiftAssignWith.WithSelf.Op, @LeftShiftAssignWith.WithSelf(%Cpp.long_long, %LeftShiftAssignWith.facet.075) [concrete] +// CHECK:STDOUT: %.b63: type = fn_type_with_self_type %LeftShiftAssignWith.WithSelf.Op.type.8b1, %LeftShiftAssignWith.facet.075 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.6146a6.1: = specific_function %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.10da82.2, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.6146a6.2: = specific_function %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.10da82.1, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.type.013: type = facet_type <@RightShiftAssignWith, @RightShiftAssignWith(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.de9a00.1: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long_long.as.RightShiftAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.058a64.1: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.de9a00.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.de9a00.2: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long_long.as.RightShiftAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.058a64.2: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.de9a00.2 = struct_value () [symbolic] +// CHECK:STDOUT: %RightShiftAssignWith.impl_witness.ea3: = impl_witness imports.%RightShiftAssignWith.impl_witness_table.e2b, @Cpp.long_long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.9e943d.1: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long_long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.259fbc.1: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.9e943d.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.9e943d.2: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long_long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.259fbc.2: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.9e943d.2 = struct_value () [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.facet.e27: %RightShiftAssignWith.type.013 = facet_value %Cpp.long_long, (%RightShiftAssignWith.impl_witness.ea3) [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.WithSelf.Op.type.213: type = fn_type @RightShiftAssignWith.WithSelf.Op, @RightShiftAssignWith.WithSelf(%Cpp.long_long, %RightShiftAssignWith.facet.e27) [concrete] +// CHECK:STDOUT: %.119: type = fn_type_with_self_type %RightShiftAssignWith.WithSelf.Op.type.213, %RightShiftAssignWith.facet.e27 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.83f48a.1: = specific_function %Cpp.long_long.as.RightShiftAssignWith.impl.Op.259fbc.2, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.83f48a.2: = specific_function %Cpp.long_long.as.RightShiftAssignWith.impl.Op.259fbc.1, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2(%ImplicitAs.facet.57b) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: %Cpp.long_long.as.Copy.impl.Op.type: type = fn_type @Cpp.long_long.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Cpp.long_long.as.Copy.impl.Op: %Cpp.long_long.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -2527,56 +2527,56 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: .long_long = constants.%Cpp.long_long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.5e1: @T.as_type.as.ImplicitAs.impl.%T.as_type.as.ImplicitAs.impl.Convert.type (%T.as_type.as.ImplicitAs.impl.Convert.type.b99) = import_ref Core//prelude/types/cpp/int, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @T.as_type.as.ImplicitAs.impl.%T.as_type.as.ImplicitAs.impl.Convert (constants.%T.as_type.as.ImplicitAs.impl.Convert.56c)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eef = impl_witness_table (%Core.import_ref.5e1), @T.as_type.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.715 = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.c6f [concrete] -// CHECK:STDOUT: %Core.import_ref.514: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.1)] -// CHECK:STDOUT: %AddAssignWith.impl_witness_table.40d = impl_witness_table (%Core.import_ref.514), @Cpp.long_long.as.AddAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.d67: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.2)] -// CHECK:STDOUT: %Core.import_ref.59e: %Cpp.long_long.as.Copy.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.c09 = impl_witness_table (%Core.import_ref.59e), @Cpp.long_long.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.85f: @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.type.2 (%Cpp.long_long.as.SubAssignWith.impl.Op.type.202246.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.SubAssignWith.impl.Op.10386c.1)] -// CHECK:STDOUT: %SubAssignWith.impl_witness_table.402 = impl_witness_table (%Core.import_ref.85f), @Cpp.long_long.as.SubAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.eca: @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.type.1 (%Cpp.long_long.as.SubAssignWith.impl.Op.type.202246.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.SubAssignWith.impl.Op.10386c.2)] -// CHECK:STDOUT: %Core.import_ref.a57: @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.type.2 (%Cpp.long_long.as.MulAssignWith.impl.Op.type.87d945.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.MulAssignWith.impl.Op.58692c.1)] -// CHECK:STDOUT: %MulAssignWith.impl_witness_table.f21 = impl_witness_table (%Core.import_ref.a57), @Cpp.long_long.as.MulAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.850: @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.type.1 (%Cpp.long_long.as.MulAssignWith.impl.Op.type.87d945.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.MulAssignWith.impl.Op.58692c.2)] -// CHECK:STDOUT: %Core.import_ref.bda: @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.type.2 (%Cpp.long_long.as.DivAssignWith.impl.Op.type.758a4b.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.DivAssignWith.impl.Op.7ce2b0.1)] -// CHECK:STDOUT: %DivAssignWith.impl_witness_table.6b3 = impl_witness_table (%Core.import_ref.bda), @Cpp.long_long.as.DivAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.63f: @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.type.1 (%Cpp.long_long.as.DivAssignWith.impl.Op.type.758a4b.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.DivAssignWith.impl.Op.7ce2b0.2)] -// CHECK:STDOUT: %Core.import_ref.b5e: @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.type.2 (%Cpp.long_long.as.ModAssignWith.impl.Op.type.ea137c.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.ModAssignWith.impl.Op.8230c7.1)] -// CHECK:STDOUT: %ModAssignWith.impl_witness_table.416 = impl_witness_table (%Core.import_ref.b5e), @Cpp.long_long.as.ModAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.596: @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.type.1 (%Cpp.long_long.as.ModAssignWith.impl.Op.type.ea137c.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.ModAssignWith.impl.Op.8230c7.2)] -// CHECK:STDOUT: %Core.import_ref.5d4: @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.2 (%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a4618b.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.1f9a65.1)] -// CHECK:STDOUT: %BitAndAssignWith.impl_witness_table.6ea = impl_witness_table (%Core.import_ref.5d4), @Cpp.long_long.as.BitAndAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.91d: @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.1 (%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a4618b.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.1f9a65.2)] -// CHECK:STDOUT: %Core.import_ref.78c: @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.2 (%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.73a30f.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.a563c7.1)] -// CHECK:STDOUT: %BitOrAssignWith.impl_witness_table.1c1 = impl_witness_table (%Core.import_ref.78c), @Cpp.long_long.as.BitOrAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.42d: @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.1 (%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.73a30f.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.a563c7.2)] -// CHECK:STDOUT: %Core.import_ref.d8d: @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2 (%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.6f1dba.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.576f86.1)] -// CHECK:STDOUT: %BitXorAssignWith.impl_witness_table.f2a = impl_witness_table (%Core.import_ref.d8d), @Cpp.long_long.as.BitXorAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.d98: @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.1 (%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.6f1dba.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.576f86.2)] -// CHECK:STDOUT: %Core.import_ref.e33: @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.2 (%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.c90a09.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.9127f1.1)] -// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness_table.aba = impl_witness_table (%Core.import_ref.e33), @Cpp.long_long.as.LeftShiftAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.34a: @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.1 (%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.c90a09.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.9127f1.2)] -// CHECK:STDOUT: %Core.import_ref.ba7: @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.2 (%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.e47d89.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.9b7acf.1)] -// CHECK:STDOUT: %RightShiftAssignWith.impl_witness_table.774 = impl_witness_table (%Core.import_ref.ba7), @Cpp.long_long.as.RightShiftAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.e6a: @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.1 (%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.e47d89.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.9b7acf.2)] +// CHECK:STDOUT: %Core.import_ref.3b1: @T.as_type.as.ImplicitAs.impl.%T.as_type.as.ImplicitAs.impl.Convert.type (%T.as_type.as.ImplicitAs.impl.Convert.type.5ec) = import_ref Core//prelude/types/cpp/int, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @T.as_type.as.ImplicitAs.impl.%T.as_type.as.ImplicitAs.impl.Convert (constants.%T.as_type.as.ImplicitAs.impl.Convert.921)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.c42 = impl_witness_table (%Core.import_ref.3b1), @T.as_type.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.337 = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.74b [concrete] +// CHECK:STDOUT: %Core.import_ref.8bf: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.1)] +// CHECK:STDOUT: %AddAssignWith.impl_witness_table.c98 = impl_witness_table (%Core.import_ref.8bf), @Cpp.long_long.as.AddAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.e51: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.2)] +// CHECK:STDOUT: %Core.import_ref.f63: %Cpp.long_long.as.Copy.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.f0d = impl_witness_table (%Core.import_ref.f63), @Cpp.long_long.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.176: @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.type.2 (%Cpp.long_long.as.SubAssignWith.impl.Op.type.b4d617.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.SubAssignWith.impl.Op.30926f.1)] +// CHECK:STDOUT: %SubAssignWith.impl_witness_table.173 = impl_witness_table (%Core.import_ref.176), @Cpp.long_long.as.SubAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.458: @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.type.1 (%Cpp.long_long.as.SubAssignWith.impl.Op.type.b4d617.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.SubAssignWith.impl.Op.30926f.2)] +// CHECK:STDOUT: %Core.import_ref.06d: @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.type.2 (%Cpp.long_long.as.MulAssignWith.impl.Op.type.ae87af.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.MulAssignWith.impl.Op.51366a.1)] +// CHECK:STDOUT: %MulAssignWith.impl_witness_table.8f1 = impl_witness_table (%Core.import_ref.06d), @Cpp.long_long.as.MulAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.3cc: @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.type.1 (%Cpp.long_long.as.MulAssignWith.impl.Op.type.ae87af.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.MulAssignWith.impl.Op.51366a.2)] +// CHECK:STDOUT: %Core.import_ref.6f1: @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.type.2 (%Cpp.long_long.as.DivAssignWith.impl.Op.type.d84717.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.DivAssignWith.impl.Op.efd5d8.1)] +// CHECK:STDOUT: %DivAssignWith.impl_witness_table.5e5 = impl_witness_table (%Core.import_ref.6f1), @Cpp.long_long.as.DivAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.262: @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.type.1 (%Cpp.long_long.as.DivAssignWith.impl.Op.type.d84717.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.DivAssignWith.impl.Op.efd5d8.2)] +// CHECK:STDOUT: %Core.import_ref.3a0: @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.type.2 (%Cpp.long_long.as.ModAssignWith.impl.Op.type.043ac2.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.ModAssignWith.impl.Op.6f8dfc.1)] +// CHECK:STDOUT: %ModAssignWith.impl_witness_table.0c2 = impl_witness_table (%Core.import_ref.3a0), @Cpp.long_long.as.ModAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.eb3: @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.type.1 (%Cpp.long_long.as.ModAssignWith.impl.Op.type.043ac2.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.ModAssignWith.impl.Op.6f8dfc.2)] +// CHECK:STDOUT: %Core.import_ref.9536: @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.2 (%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.285489.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.c0b96d.1)] +// CHECK:STDOUT: %BitAndAssignWith.impl_witness_table.acf = impl_witness_table (%Core.import_ref.9536), @Cpp.long_long.as.BitAndAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.e7c: @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.1 (%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.285489.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.c0b96d.2)] +// CHECK:STDOUT: %Core.import_ref.f3a: @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.2 (%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.ca203c.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.622301.1)] +// CHECK:STDOUT: %BitOrAssignWith.impl_witness_table.20e = impl_witness_table (%Core.import_ref.f3a), @Cpp.long_long.as.BitOrAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.db2: @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.1 (%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.ca203c.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.622301.2)] +// CHECK:STDOUT: %Core.import_ref.076: @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2 (%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2d154f.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.4ac15f.1)] +// CHECK:STDOUT: %BitXorAssignWith.impl_witness_table.674 = impl_witness_table (%Core.import_ref.076), @Cpp.long_long.as.BitXorAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.2d3: @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.1 (%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2d154f.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.4ac15f.2)] +// CHECK:STDOUT: %Core.import_ref.b82: @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.2 (%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.915db5.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.fefa92.1)] +// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness_table.166 = impl_witness_table (%Core.import_ref.b82), @Cpp.long_long.as.LeftShiftAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.73c: @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.1 (%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.915db5.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.fefa92.2)] +// CHECK:STDOUT: %Core.import_ref.596: @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.2 (%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.de9a00.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.058a64.1)] +// CHECK:STDOUT: %RightShiftAssignWith.impl_witness_table.e2b = impl_witness_table (%Core.import_ref.596), @Cpp.long_long.as.RightShiftAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.62d: @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.1 (%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.de9a00.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.058a64.2)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CompoundAssignmentHomogeneousLongLong() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e6e = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.e6e = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.003 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.003 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.long_long = var %a.var_patt // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long_long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc8_3: init %Cpp.long_long = converted %int_1.loc8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long_long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc8_3: init %Cpp.long_long = converted %int_1.loc8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: assign %a.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %long_long.ref.loc8 [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -2584,15 +2584,15 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %Cpp.long_long = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.e6e = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.e6e = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.003 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.003 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %Cpp.long_long = var %b.var_patt // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc9: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc9: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc9: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long_long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc9_3: init %Cpp.long_long = converted %int_1.loc9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long_long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc9_3: init %Cpp.long_long = converted %int_1.loc9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: assign %b.var, %.loc9_3 // CHECK:STDOUT: %.loc9_13: type = splice_block %long_long.ref.loc9 [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Cpp.ref.loc9: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -2601,157 +2601,157 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %b: ref %Cpp.long_long = ref_binding b, %b.var // CHECK:STDOUT: %a.ref.loc11: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc11: ref %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc11: %.f41 = impl_witness_access constants.%AddAssignWith.impl_witness.2e1, element0 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.76cdb4.2] +// CHECK:STDOUT: %impl.elem0.loc11: %.6c8 = impl_witness_access constants.%AddAssignWith.impl_witness.46d, element0 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.cca0ca.2] // CHECK:STDOUT: %bound_method.loc11_5.1: = bound_method %a.ref.loc11, %impl.elem0.loc11 -// CHECK:STDOUT: %ImplicitAs.facet.loc11: %ImplicitAs.type.d35 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.fb2) [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %.loc11_5.1: %ImplicitAs.type.d35 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc11 [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem0.loc11, @Cpp.long_long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.26ed01.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc11: %ImplicitAs.type.fb7 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.a55) [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %.loc11_5.1: %ImplicitAs.type.fb7 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc11 [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem0.loc11, @Cpp.long_long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.f66500.1] // CHECK:STDOUT: %bound_method.loc11_5.2: = bound_method %a.ref.loc11, %specific_fn.loc11 // CHECK:STDOUT: %.loc11_8: %Cpp.long_long = acquire_value %b.ref.loc11 -// CHECK:STDOUT: %.loc11_5.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.29b076.1 = specific_constant imports.%Core.Op.d67, @Cpp.long_long.as.AddAssignWith.impl(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.76cdb4.1] -// CHECK:STDOUT: %Op.ref.loc11: %Cpp.long_long.as.AddAssignWith.impl.Op.type.29b076.1 = name_ref Op, %.loc11_5.2 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.76cdb4.1] +// CHECK:STDOUT: %.loc11_5.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.31aa71.1 = specific_constant imports.%Core.Op.e51, @Cpp.long_long.as.AddAssignWith.impl(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.cca0ca.1] +// CHECK:STDOUT: %Op.ref.loc11: %Cpp.long_long.as.AddAssignWith.impl.Op.type.31aa71.1 = name_ref Op, %.loc11_5.2 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.cca0ca.1] // CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.bound: = bound_method %a.ref.loc11, %Op.ref.loc11 -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc11, @Cpp.long_long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.26ed01.2] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc11, @Cpp.long_long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.f66500.2] // CHECK:STDOUT: %bound_method.loc11_5.3: = bound_method %a.ref.loc11, %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc11_5.3(%a.ref.loc11, %.loc11_8) // CHECK:STDOUT: %a.ref.loc12: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc12: ref %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc12: %.8e2 = impl_witness_access constants.%SubAssignWith.impl_witness.ea4, element0 [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.9b75af.2] +// CHECK:STDOUT: %impl.elem0.loc12: %.88a = impl_witness_access constants.%SubAssignWith.impl_witness.043, element0 [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.a22eaf.2] // CHECK:STDOUT: %bound_method.loc12_5.1: = bound_method %a.ref.loc12, %impl.elem0.loc12 -// CHECK:STDOUT: %ImplicitAs.facet.loc12: %ImplicitAs.type.d35 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.fb2) [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %.loc12_5.1: %ImplicitAs.type.d35 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc12 [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem0.loc12, @Cpp.long_long.as.SubAssignWith.impl.Op.1(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.055dc6.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc12: %ImplicitAs.type.fb7 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.a55) [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %.loc12_5.1: %ImplicitAs.type.fb7 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc12 [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem0.loc12, @Cpp.long_long.as.SubAssignWith.impl.Op.1(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.e1ae1b.1] // CHECK:STDOUT: %bound_method.loc12_5.2: = bound_method %a.ref.loc12, %specific_fn.loc12 // CHECK:STDOUT: %.loc12_8: %Cpp.long_long = acquire_value %b.ref.loc12 -// CHECK:STDOUT: %.loc12_5.2: %Cpp.long_long.as.SubAssignWith.impl.Op.type.fd7fe6.1 = specific_constant imports.%Core.Op.eca, @Cpp.long_long.as.SubAssignWith.impl(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.9b75af.1] -// CHECK:STDOUT: %Op.ref.loc12: %Cpp.long_long.as.SubAssignWith.impl.Op.type.fd7fe6.1 = name_ref Op, %.loc12_5.2 [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.9b75af.1] +// CHECK:STDOUT: %.loc12_5.2: %Cpp.long_long.as.SubAssignWith.impl.Op.type.7e9fad.1 = specific_constant imports.%Core.Op.458, @Cpp.long_long.as.SubAssignWith.impl(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.a22eaf.1] +// CHECK:STDOUT: %Op.ref.loc12: %Cpp.long_long.as.SubAssignWith.impl.Op.type.7e9fad.1 = name_ref Op, %.loc12_5.2 [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.a22eaf.1] // CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.bound: = bound_method %a.ref.loc12, %Op.ref.loc12 -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc12, @Cpp.long_long.as.SubAssignWith.impl.Op.2(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.055dc6.2] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc12, @Cpp.long_long.as.SubAssignWith.impl.Op.2(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.e1ae1b.2] // CHECK:STDOUT: %bound_method.loc12_5.3: = bound_method %a.ref.loc12, %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc12_5.3(%a.ref.loc12, %.loc12_8) // CHECK:STDOUT: %a.ref.loc13: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc13: ref %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc13: %.7de = impl_witness_access constants.%MulAssignWith.impl_witness.1d0, element0 [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.55657a.2] +// CHECK:STDOUT: %impl.elem0.loc13: %.7f3 = impl_witness_access constants.%MulAssignWith.impl_witness.bbd, element0 [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.be4a1c.2] // CHECK:STDOUT: %bound_method.loc13_5.1: = bound_method %a.ref.loc13, %impl.elem0.loc13 -// CHECK:STDOUT: %ImplicitAs.facet.loc13: %ImplicitAs.type.d35 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.fb2) [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %.loc13_5.1: %ImplicitAs.type.d35 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc13 [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13, @Cpp.long_long.as.MulAssignWith.impl.Op.1(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.e4ed27.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc13: %ImplicitAs.type.fb7 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.a55) [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %.loc13_5.1: %ImplicitAs.type.fb7 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc13 [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13, @Cpp.long_long.as.MulAssignWith.impl.Op.1(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.62a27c.1] // CHECK:STDOUT: %bound_method.loc13_5.2: = bound_method %a.ref.loc13, %specific_fn.loc13 // CHECK:STDOUT: %.loc13_8: %Cpp.long_long = acquire_value %b.ref.loc13 -// CHECK:STDOUT: %.loc13_5.2: %Cpp.long_long.as.MulAssignWith.impl.Op.type.452900.1 = specific_constant imports.%Core.Op.850, @Cpp.long_long.as.MulAssignWith.impl(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.55657a.1] -// CHECK:STDOUT: %Op.ref.loc13: %Cpp.long_long.as.MulAssignWith.impl.Op.type.452900.1 = name_ref Op, %.loc13_5.2 [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.55657a.1] +// CHECK:STDOUT: %.loc13_5.2: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ec1e42.1 = specific_constant imports.%Core.Op.3cc, @Cpp.long_long.as.MulAssignWith.impl(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.be4a1c.1] +// CHECK:STDOUT: %Op.ref.loc13: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ec1e42.1 = name_ref Op, %.loc13_5.2 [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.be4a1c.1] // CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.bound: = bound_method %a.ref.loc13, %Op.ref.loc13 -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc13, @Cpp.long_long.as.MulAssignWith.impl.Op.2(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.e4ed27.2] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc13, @Cpp.long_long.as.MulAssignWith.impl.Op.2(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.62a27c.2] // CHECK:STDOUT: %bound_method.loc13_5.3: = bound_method %a.ref.loc13, %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc13_5.3(%a.ref.loc13, %.loc13_8) // CHECK:STDOUT: %a.ref.loc14: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc14: ref %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc14: %.bb3 = impl_witness_access constants.%DivAssignWith.impl_witness.0b8, element0 [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.c8f210.2] +// CHECK:STDOUT: %impl.elem0.loc14: %.05b = impl_witness_access constants.%DivAssignWith.impl_witness.cff, element0 [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.b863ee.2] // CHECK:STDOUT: %bound_method.loc14_5.1: = bound_method %a.ref.loc14, %impl.elem0.loc14 -// CHECK:STDOUT: %ImplicitAs.facet.loc14: %ImplicitAs.type.d35 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.fb2) [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %.loc14_5.1: %ImplicitAs.type.d35 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc14 [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14, @Cpp.long_long.as.DivAssignWith.impl.Op.1(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.1419be.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc14: %ImplicitAs.type.fb7 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.a55) [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %.loc14_5.1: %ImplicitAs.type.fb7 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc14 [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14, @Cpp.long_long.as.DivAssignWith.impl.Op.1(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.c32503.1] // CHECK:STDOUT: %bound_method.loc14_5.2: = bound_method %a.ref.loc14, %specific_fn.loc14 // CHECK:STDOUT: %.loc14_8: %Cpp.long_long = acquire_value %b.ref.loc14 -// CHECK:STDOUT: %.loc14_5.2: %Cpp.long_long.as.DivAssignWith.impl.Op.type.f8080c.1 = specific_constant imports.%Core.Op.63f, @Cpp.long_long.as.DivAssignWith.impl(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.c8f210.1] -// CHECK:STDOUT: %Op.ref.loc14: %Cpp.long_long.as.DivAssignWith.impl.Op.type.f8080c.1 = name_ref Op, %.loc14_5.2 [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.c8f210.1] +// CHECK:STDOUT: %.loc14_5.2: %Cpp.long_long.as.DivAssignWith.impl.Op.type.ffd750.1 = specific_constant imports.%Core.Op.262, @Cpp.long_long.as.DivAssignWith.impl(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.b863ee.1] +// CHECK:STDOUT: %Op.ref.loc14: %Cpp.long_long.as.DivAssignWith.impl.Op.type.ffd750.1 = name_ref Op, %.loc14_5.2 [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.b863ee.1] // CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.bound: = bound_method %a.ref.loc14, %Op.ref.loc14 -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc14, @Cpp.long_long.as.DivAssignWith.impl.Op.2(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.1419be.2] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc14, @Cpp.long_long.as.DivAssignWith.impl.Op.2(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.c32503.2] // CHECK:STDOUT: %bound_method.loc14_5.3: = bound_method %a.ref.loc14, %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc14_5.3(%a.ref.loc14, %.loc14_8) // CHECK:STDOUT: %a.ref.loc15: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc15: ref %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc15: %.023 = impl_witness_access constants.%ModAssignWith.impl_witness.c9f, element0 [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.8c2614.2] +// CHECK:STDOUT: %impl.elem0.loc15: %.3b8 = impl_witness_access constants.%ModAssignWith.impl_witness.64e, element0 [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.5beb8b.2] // CHECK:STDOUT: %bound_method.loc15_5.1: = bound_method %a.ref.loc15, %impl.elem0.loc15 -// CHECK:STDOUT: %ImplicitAs.facet.loc15: %ImplicitAs.type.d35 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.fb2) [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %.loc15_5.1: %ImplicitAs.type.d35 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc15 [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Cpp.long_long.as.ModAssignWith.impl.Op.1(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.c534d8.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc15: %ImplicitAs.type.fb7 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.a55) [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %.loc15_5.1: %ImplicitAs.type.fb7 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc15 [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Cpp.long_long.as.ModAssignWith.impl.Op.1(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.384e82.1] // CHECK:STDOUT: %bound_method.loc15_5.2: = bound_method %a.ref.loc15, %specific_fn.loc15 // CHECK:STDOUT: %.loc15_8: %Cpp.long_long = acquire_value %b.ref.loc15 -// CHECK:STDOUT: %.loc15_5.2: %Cpp.long_long.as.ModAssignWith.impl.Op.type.06b0f6.1 = specific_constant imports.%Core.Op.596, @Cpp.long_long.as.ModAssignWith.impl(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.8c2614.1] -// CHECK:STDOUT: %Op.ref.loc15: %Cpp.long_long.as.ModAssignWith.impl.Op.type.06b0f6.1 = name_ref Op, %.loc15_5.2 [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.8c2614.1] +// CHECK:STDOUT: %.loc15_5.2: %Cpp.long_long.as.ModAssignWith.impl.Op.type.a269d9.1 = specific_constant imports.%Core.Op.eb3, @Cpp.long_long.as.ModAssignWith.impl(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.5beb8b.1] +// CHECK:STDOUT: %Op.ref.loc15: %Cpp.long_long.as.ModAssignWith.impl.Op.type.a269d9.1 = name_ref Op, %.loc15_5.2 [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.5beb8b.1] // CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.bound: = bound_method %a.ref.loc15, %Op.ref.loc15 -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc15, @Cpp.long_long.as.ModAssignWith.impl.Op.2(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.c534d8.2] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc15, @Cpp.long_long.as.ModAssignWith.impl.Op.2(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.384e82.2] // CHECK:STDOUT: %bound_method.loc15_5.3: = bound_method %a.ref.loc15, %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc15_5.3(%a.ref.loc15, %.loc15_8) // CHECK:STDOUT: %a.ref.loc17: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc17: ref %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc17: %.521 = impl_witness_access constants.%BitAndAssignWith.impl_witness.408, element0 [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.dc8119.2] +// CHECK:STDOUT: %impl.elem0.loc17: %.75f = impl_witness_access constants.%BitAndAssignWith.impl_witness.8de, element0 [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.bdd3c9.2] // CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %a.ref.loc17, %impl.elem0.loc17 -// CHECK:STDOUT: %ImplicitAs.facet.loc17: %ImplicitAs.type.d35 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.fb2) [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %.loc17_5.1: %ImplicitAs.type.d35 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc17 [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @Cpp.long_long.as.BitAndAssignWith.impl.Op.1(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.cfb26a.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc17: %ImplicitAs.type.fb7 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.a55) [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %.loc17_5.1: %ImplicitAs.type.fb7 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc17 [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @Cpp.long_long.as.BitAndAssignWith.impl.Op.1(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.12a41b.1] // CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %a.ref.loc17, %specific_fn.loc17 // CHECK:STDOUT: %.loc17_8: %Cpp.long_long = acquire_value %b.ref.loc17 -// CHECK:STDOUT: %.loc17_5.2: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a53a56.1 = specific_constant imports.%Core.Op.91d, @Cpp.long_long.as.BitAndAssignWith.impl(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.dc8119.1] -// CHECK:STDOUT: %Op.ref.loc17: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a53a56.1 = name_ref Op, %.loc17_5.2 [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.dc8119.1] +// CHECK:STDOUT: %.loc17_5.2: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.2754ec.1 = specific_constant imports.%Core.Op.e7c, @Cpp.long_long.as.BitAndAssignWith.impl(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.bdd3c9.1] +// CHECK:STDOUT: %Op.ref.loc17: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.2754ec.1 = name_ref Op, %.loc17_5.2 [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.bdd3c9.1] // CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.bound: = bound_method %a.ref.loc17, %Op.ref.loc17 -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc17, @Cpp.long_long.as.BitAndAssignWith.impl.Op.2(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.cfb26a.2] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc17, @Cpp.long_long.as.BitAndAssignWith.impl.Op.2(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.12a41b.2] // CHECK:STDOUT: %bound_method.loc17_5.3: = bound_method %a.ref.loc17, %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc17_5.3(%a.ref.loc17, %.loc17_8) // CHECK:STDOUT: %a.ref.loc18: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc18: ref %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc18: %.b62 = impl_witness_access constants.%BitOrAssignWith.impl_witness.b57, element0 [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.804a0c.2] +// CHECK:STDOUT: %impl.elem0.loc18: %.3e0 = impl_witness_access constants.%BitOrAssignWith.impl_witness.952, element0 [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.0ee16e.2] // CHECK:STDOUT: %bound_method.loc18_5.1: = bound_method %a.ref.loc18, %impl.elem0.loc18 -// CHECK:STDOUT: %ImplicitAs.facet.loc18: %ImplicitAs.type.d35 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.fb2) [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %.loc18_5.1: %ImplicitAs.type.d35 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc18 [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @Cpp.long_long.as.BitOrAssignWith.impl.Op.1(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.db2772.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc18: %ImplicitAs.type.fb7 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.a55) [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %.loc18_5.1: %ImplicitAs.type.fb7 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc18 [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @Cpp.long_long.as.BitOrAssignWith.impl.Op.1(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.990496.1] // CHECK:STDOUT: %bound_method.loc18_5.2: = bound_method %a.ref.loc18, %specific_fn.loc18 // CHECK:STDOUT: %.loc18_8: %Cpp.long_long = acquire_value %b.ref.loc18 -// CHECK:STDOUT: %.loc18_5.2: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.dab1d3.1 = specific_constant imports.%Core.Op.42d, @Cpp.long_long.as.BitOrAssignWith.impl(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.804a0c.1] -// CHECK:STDOUT: %Op.ref.loc18: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.dab1d3.1 = name_ref Op, %.loc18_5.2 [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.804a0c.1] +// CHECK:STDOUT: %.loc18_5.2: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.d8cf54.1 = specific_constant imports.%Core.Op.db2, @Cpp.long_long.as.BitOrAssignWith.impl(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.0ee16e.1] +// CHECK:STDOUT: %Op.ref.loc18: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.d8cf54.1 = name_ref Op, %.loc18_5.2 [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.0ee16e.1] // CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.bound: = bound_method %a.ref.loc18, %Op.ref.loc18 -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc18, @Cpp.long_long.as.BitOrAssignWith.impl.Op.2(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.db2772.2] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc18, @Cpp.long_long.as.BitOrAssignWith.impl.Op.2(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.990496.2] // CHECK:STDOUT: %bound_method.loc18_5.3: = bound_method %a.ref.loc18, %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc18_5.3(%a.ref.loc18, %.loc18_8) // CHECK:STDOUT: %a.ref.loc19: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc19: ref %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc19: %.85c = impl_witness_access constants.%BitXorAssignWith.impl_witness.493, element0 [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.ef402e.2] +// CHECK:STDOUT: %impl.elem0.loc19: %.320 = impl_witness_access constants.%BitXorAssignWith.impl_witness.7ca, element0 [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.5554ab.2] // CHECK:STDOUT: %bound_method.loc19_5.1: = bound_method %a.ref.loc19, %impl.elem0.loc19 -// CHECK:STDOUT: %ImplicitAs.facet.loc19: %ImplicitAs.type.d35 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.fb2) [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %.loc19_5.1: %ImplicitAs.type.d35 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc19 [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19, @Cpp.long_long.as.BitXorAssignWith.impl.Op.1(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.05f87c.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc19: %ImplicitAs.type.fb7 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.a55) [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %.loc19_5.1: %ImplicitAs.type.fb7 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc19 [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19, @Cpp.long_long.as.BitXorAssignWith.impl.Op.1(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.dce943.1] // CHECK:STDOUT: %bound_method.loc19_5.2: = bound_method %a.ref.loc19, %specific_fn.loc19 // CHECK:STDOUT: %.loc19_8: %Cpp.long_long = acquire_value %b.ref.loc19 -// CHECK:STDOUT: %.loc19_5.2: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.9b7afb.1 = specific_constant imports.%Core.Op.d98, @Cpp.long_long.as.BitXorAssignWith.impl(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.ef402e.1] -// CHECK:STDOUT: %Op.ref.loc19: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.9b7afb.1 = name_ref Op, %.loc19_5.2 [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.ef402e.1] +// CHECK:STDOUT: %.loc19_5.2: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.83c391.1 = specific_constant imports.%Core.Op.2d3, @Cpp.long_long.as.BitXorAssignWith.impl(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.5554ab.1] +// CHECK:STDOUT: %Op.ref.loc19: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.83c391.1 = name_ref Op, %.loc19_5.2 [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.5554ab.1] // CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.bound: = bound_method %a.ref.loc19, %Op.ref.loc19 -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc19, @Cpp.long_long.as.BitXorAssignWith.impl.Op.2(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.05f87c.2] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc19, @Cpp.long_long.as.BitXorAssignWith.impl.Op.2(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.dce943.2] // CHECK:STDOUT: %bound_method.loc19_5.3: = bound_method %a.ref.loc19, %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc19_5.3(%a.ref.loc19, %.loc19_8) // CHECK:STDOUT: %a.ref.loc20: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc20: ref %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc20: %.f1e = impl_witness_access constants.%LeftShiftAssignWith.impl_witness.544, element0 [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.f7d238.2] +// CHECK:STDOUT: %impl.elem0.loc20: %.b63 = impl_witness_access constants.%LeftShiftAssignWith.impl_witness.d46, element0 [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.10da82.2] // CHECK:STDOUT: %bound_method.loc20_5.1: = bound_method %a.ref.loc20, %impl.elem0.loc20 -// CHECK:STDOUT: %ImplicitAs.facet.loc20: %ImplicitAs.type.d35 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.fb2) [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %.loc20_5.1: %ImplicitAs.type.d35 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc20 [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.42dae5.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc20: %ImplicitAs.type.fb7 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.a55) [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %.loc20_5.1: %ImplicitAs.type.fb7 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc20 [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.6146a6.1] // CHECK:STDOUT: %bound_method.loc20_5.2: = bound_method %a.ref.loc20, %specific_fn.loc20 // CHECK:STDOUT: %.loc20_9: %Cpp.long_long = acquire_value %b.ref.loc20 -// CHECK:STDOUT: %.loc20_5.2: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.e090ea.1 = specific_constant imports.%Core.Op.34a, @Cpp.long_long.as.LeftShiftAssignWith.impl(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.f7d238.1] -// CHECK:STDOUT: %Op.ref.loc20: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.e090ea.1 = name_ref Op, %.loc20_5.2 [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.f7d238.1] +// CHECK:STDOUT: %.loc20_5.2: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.28213d.1 = specific_constant imports.%Core.Op.73c, @Cpp.long_long.as.LeftShiftAssignWith.impl(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.10da82.1] +// CHECK:STDOUT: %Op.ref.loc20: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.28213d.1 = name_ref Op, %.loc20_5.2 [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.10da82.1] // CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.bound: = bound_method %a.ref.loc20, %Op.ref.loc20 -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc20, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.42dae5.2] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc20, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.6146a6.2] // CHECK:STDOUT: %bound_method.loc20_5.3: = bound_method %a.ref.loc20, %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc20_5.3(%a.ref.loc20, %.loc20_9) // CHECK:STDOUT: %a.ref.loc21: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc21: ref %Cpp.long_long = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc21: %.076 = impl_witness_access constants.%RightShiftAssignWith.impl_witness.0d2, element0 [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.13c552.2] +// CHECK:STDOUT: %impl.elem0.loc21: %.119 = impl_witness_access constants.%RightShiftAssignWith.impl_witness.ea3, element0 [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.259fbc.2] // CHECK:STDOUT: %bound_method.loc21_5.1: = bound_method %a.ref.loc21, %impl.elem0.loc21 -// CHECK:STDOUT: %ImplicitAs.facet.loc21: %ImplicitAs.type.d35 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.fb2) [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %.loc21_5.1: %ImplicitAs.type.d35 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc21 [concrete = constants.%ImplicitAs.facet.f14] -// CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem0.loc21, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.9a9f2f.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc21: %ImplicitAs.type.fb7 = facet_value constants.%Cpp.long_long, (constants.%ImplicitAs.impl_witness.a55) [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %.loc21_5.1: %ImplicitAs.type.fb7 = converted constants.%Cpp.long_long, %ImplicitAs.facet.loc21 [concrete = constants.%ImplicitAs.facet.57b] +// CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem0.loc21, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.83f48a.1] // CHECK:STDOUT: %bound_method.loc21_5.2: = bound_method %a.ref.loc21, %specific_fn.loc21 // CHECK:STDOUT: %.loc21_9: %Cpp.long_long = acquire_value %b.ref.loc21 -// CHECK:STDOUT: %.loc21_5.2: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.c9df74.1 = specific_constant imports.%Core.Op.e6a, @Cpp.long_long.as.RightShiftAssignWith.impl(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.13c552.1] -// CHECK:STDOUT: %Op.ref.loc21: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.c9df74.1 = name_ref Op, %.loc21_5.2 [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.13c552.1] +// CHECK:STDOUT: %.loc21_5.2: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.9e943d.1 = specific_constant imports.%Core.Op.62d, @Cpp.long_long.as.RightShiftAssignWith.impl(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.259fbc.1] +// CHECK:STDOUT: %Op.ref.loc21: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.9e943d.1 = name_ref Op, %.loc21_5.2 [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.259fbc.1] // CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.bound: = bound_method %a.ref.loc21, %Op.ref.loc21 -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc21, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.f14) [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.9a9f2f.2] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc21, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.57b) [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.83f48a.2] // CHECK:STDOUT: %bound_method.loc21_5.3: = bound_method %a.ref.loc21, %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn // CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc21_5.3(%a.ref.loc21, %.loc21_9) -// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc9: init %empty_tuple.type = call %Destroy.Op.bound.loc9(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -2772,175 +2772,175 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %i64.builtin: type = int_type signed, %int_64 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %Cpp.long_long: type = class_type @LongLong64 [concrete] -// CHECK:STDOUT: %pattern_type.e6e: type = pattern_type %Cpp.long_long [concrete] -// CHECK:STDOUT: %ImplicitAs.type.d35: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f2c: = impl_witness imports.%ImplicitAs.impl_witness_table.715 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.232: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.f2c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.52b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %.b38: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.52b, %ImplicitAs.facet.232 [concrete] +// CHECK:STDOUT: %pattern_type.003: type = pattern_type %Cpp.long_long [concrete] +// CHECK:STDOUT: %ImplicitAs.type.fb7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.59e: = impl_witness imports.%ImplicitAs.impl_witness_table.337 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.532: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.59e) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f1d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %.424: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f1d, %ImplicitAs.facet.532 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce [concrete] -// CHECK:STDOUT: %int_1.526: %Cpp.long_long = int_value 1 [concrete] -// CHECK:STDOUT: %AddAssignWith.type.1bd: type = facet_type <@AddAssignWith, @AddAssignWith(%i64)> [concrete] -// CHECK:STDOUT: %U.dc5: %ImplicitAs.type.d35 = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.2 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.155: = impl_witness imports.%ImplicitAs.impl_witness_table.f80 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.7e4: %ImplicitAs.type.d35 = facet_value %i64, (%ImplicitAs.impl_witness.155) [concrete] -// CHECK:STDOUT: %AddAssignWith.impl_witness.77e: = impl_witness imports.%AddAssignWith.impl_witness_table.40d, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b10391.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b10391.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b10391.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b10391.2 = struct_value () [concrete] -// CHECK:STDOUT: %AddAssignWith.facet.56f: %AddAssignWith.type.1bd = facet_value %Cpp.long_long, (%AddAssignWith.impl_witness.77e) [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.c06: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%i64, %AddAssignWith.facet.56f) [concrete] -// CHECK:STDOUT: %.0db: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.c06, %AddAssignWith.facet.56f [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.73d536.1: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.2, @Cpp.long_long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.73d536.2: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.1, @Cpp.long_long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.fe4: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %.5c4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.fe4, %ImplicitAs.facet.7e4 [concrete] +// CHECK:STDOUT: %int_1.8b4: %Cpp.long_long = int_value 1 [concrete] +// CHECK:STDOUT: %AddAssignWith.type.823: type = facet_type <@AddAssignWith, @AddAssignWith(%i64)> [concrete] +// CHECK:STDOUT: %U.ec6: %ImplicitAs.type.fb7 = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.2 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.811: = impl_witness imports.%ImplicitAs.impl_witness_table.7ed [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.a8b: %ImplicitAs.type.fb7 = facet_value %i64, (%ImplicitAs.impl_witness.811) [concrete] +// CHECK:STDOUT: %AddAssignWith.impl_witness.144: = impl_witness imports.%AddAssignWith.impl_witness_table.c98, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.07766d.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.80979a.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.07766d.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.07766d.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.80979a.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.07766d.2 = struct_value () [concrete] +// CHECK:STDOUT: %AddAssignWith.facet.e1d: %AddAssignWith.type.823 = facet_value %Cpp.long_long, (%AddAssignWith.impl_witness.144) [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.f25: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%i64, %AddAssignWith.facet.e1d) [concrete] +// CHECK:STDOUT: %.47e: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.f25, %AddAssignWith.facet.e1d [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.34f4c5.1: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.80979a.2, @Cpp.long_long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.34f4c5.2: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.80979a.1, @Cpp.long_long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.442: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %.77c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.442, %ImplicitAs.facet.a8b [concrete] // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.type: type = fn_type @i64.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert: %i64.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %SubAssignWith.type.392: type = facet_type <@SubAssignWith, @SubAssignWith(%i64)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.202246.1: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.1, @Cpp.long_long.as.SubAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.10386c.1: %Cpp.long_long.as.SubAssignWith.impl.Op.type.202246.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.202246.2: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.2, @Cpp.long_long.as.SubAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.10386c.2: %Cpp.long_long.as.SubAssignWith.impl.Op.type.202246.2 = struct_value () [symbolic] -// CHECK:STDOUT: %SubAssignWith.impl_witness.51b: = impl_witness imports.%SubAssignWith.impl_witness_table.402, @Cpp.long_long.as.SubAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.8860a2.1: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.2, @Cpp.long_long.as.SubAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.39e8e1.1: %Cpp.long_long.as.SubAssignWith.impl.Op.type.8860a2.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.8860a2.2: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.1, @Cpp.long_long.as.SubAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.39e8e1.2: %Cpp.long_long.as.SubAssignWith.impl.Op.type.8860a2.2 = struct_value () [concrete] -// CHECK:STDOUT: %SubAssignWith.facet.4df: %SubAssignWith.type.392 = facet_value %Cpp.long_long, (%SubAssignWith.impl_witness.51b) [concrete] -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.cf2: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%i64, %SubAssignWith.facet.4df) [concrete] -// CHECK:STDOUT: %.901: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.cf2, %SubAssignWith.facet.4df [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.5e7be5.1: = specific_function %Cpp.long_long.as.SubAssignWith.impl.Op.39e8e1.2, @Cpp.long_long.as.SubAssignWith.impl.Op.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.5e7be5.2: = specific_function %Cpp.long_long.as.SubAssignWith.impl.Op.39e8e1.1, @Cpp.long_long.as.SubAssignWith.impl.Op.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %MulAssignWith.type.aba: type = facet_type <@MulAssignWith, @MulAssignWith(%i64)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.87d945.1: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.1, @Cpp.long_long.as.MulAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.58692c.1: %Cpp.long_long.as.MulAssignWith.impl.Op.type.87d945.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.87d945.2: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.2, @Cpp.long_long.as.MulAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.58692c.2: %Cpp.long_long.as.MulAssignWith.impl.Op.type.87d945.2 = struct_value () [symbolic] -// CHECK:STDOUT: %MulAssignWith.impl_witness.646: = impl_witness imports.%MulAssignWith.impl_witness_table.f21, @Cpp.long_long.as.MulAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ff6b13.1: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.2, @Cpp.long_long.as.MulAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.6ce627.1: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ff6b13.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ff6b13.2: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.1, @Cpp.long_long.as.MulAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.6ce627.2: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ff6b13.2 = struct_value () [concrete] -// CHECK:STDOUT: %MulAssignWith.facet.541: %MulAssignWith.type.aba = facet_value %Cpp.long_long, (%MulAssignWith.impl_witness.646) [concrete] -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.4a5: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%i64, %MulAssignWith.facet.541) [concrete] -// CHECK:STDOUT: %.554: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.4a5, %MulAssignWith.facet.541 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.21cfe4.1: = specific_function %Cpp.long_long.as.MulAssignWith.impl.Op.6ce627.2, @Cpp.long_long.as.MulAssignWith.impl.Op.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.21cfe4.2: = specific_function %Cpp.long_long.as.MulAssignWith.impl.Op.6ce627.1, @Cpp.long_long.as.MulAssignWith.impl.Op.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %DivAssignWith.type.ddd: type = facet_type <@DivAssignWith, @DivAssignWith(%i64)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.758a4b.1: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.1, @Cpp.long_long.as.DivAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.7ce2b0.1: %Cpp.long_long.as.DivAssignWith.impl.Op.type.758a4b.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.758a4b.2: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.2, @Cpp.long_long.as.DivAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.7ce2b0.2: %Cpp.long_long.as.DivAssignWith.impl.Op.type.758a4b.2 = struct_value () [symbolic] -// CHECK:STDOUT: %DivAssignWith.impl_witness.209: = impl_witness imports.%DivAssignWith.impl_witness_table.6b3, @Cpp.long_long.as.DivAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.3a560b.1: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.2, @Cpp.long_long.as.DivAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.9b2aa5.1: %Cpp.long_long.as.DivAssignWith.impl.Op.type.3a560b.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.3a560b.2: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.1, @Cpp.long_long.as.DivAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.9b2aa5.2: %Cpp.long_long.as.DivAssignWith.impl.Op.type.3a560b.2 = struct_value () [concrete] -// CHECK:STDOUT: %DivAssignWith.facet.d35: %DivAssignWith.type.ddd = facet_value %Cpp.long_long, (%DivAssignWith.impl_witness.209) [concrete] -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.f03: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%i64, %DivAssignWith.facet.d35) [concrete] -// CHECK:STDOUT: %.835: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.f03, %DivAssignWith.facet.d35 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.043f91.1: = specific_function %Cpp.long_long.as.DivAssignWith.impl.Op.9b2aa5.2, @Cpp.long_long.as.DivAssignWith.impl.Op.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.043f91.2: = specific_function %Cpp.long_long.as.DivAssignWith.impl.Op.9b2aa5.1, @Cpp.long_long.as.DivAssignWith.impl.Op.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %ModAssignWith.type.f34: type = facet_type <@ModAssignWith, @ModAssignWith(%i64)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.ea137c.1: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.1, @Cpp.long_long.as.ModAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.8230c7.1: %Cpp.long_long.as.ModAssignWith.impl.Op.type.ea137c.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.ea137c.2: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.2, @Cpp.long_long.as.ModAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.8230c7.2: %Cpp.long_long.as.ModAssignWith.impl.Op.type.ea137c.2 = struct_value () [symbolic] -// CHECK:STDOUT: %ModAssignWith.impl_witness.df0: = impl_witness imports.%ModAssignWith.impl_witness_table.416, @Cpp.long_long.as.ModAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.bd97a0.1: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.2, @Cpp.long_long.as.ModAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.67eae8.1: %Cpp.long_long.as.ModAssignWith.impl.Op.type.bd97a0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.bd97a0.2: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.1, @Cpp.long_long.as.ModAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.67eae8.2: %Cpp.long_long.as.ModAssignWith.impl.Op.type.bd97a0.2 = struct_value () [concrete] -// CHECK:STDOUT: %ModAssignWith.facet.344: %ModAssignWith.type.f34 = facet_value %Cpp.long_long, (%ModAssignWith.impl_witness.df0) [concrete] -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.5ef: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%i64, %ModAssignWith.facet.344) [concrete] -// CHECK:STDOUT: %.df9: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.5ef, %ModAssignWith.facet.344 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.e9608b.1: = specific_function %Cpp.long_long.as.ModAssignWith.impl.Op.67eae8.2, @Cpp.long_long.as.ModAssignWith.impl.Op.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.e9608b.2: = specific_function %Cpp.long_long.as.ModAssignWith.impl.Op.67eae8.1, @Cpp.long_long.as.ModAssignWith.impl.Op.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %BitAndAssignWith.type.bdd: type = facet_type <@BitAndAssignWith, @BitAndAssignWith(%i64)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a4618b.1: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.1, @Cpp.long_long.as.BitAndAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.1f9a65.1: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a4618b.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a4618b.2: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.2, @Cpp.long_long.as.BitAndAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.1f9a65.2: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a4618b.2 = struct_value () [symbolic] -// CHECK:STDOUT: %BitAndAssignWith.impl_witness.d34: = impl_witness imports.%BitAndAssignWith.impl_witness_table.6ea, @Cpp.long_long.as.BitAndAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.6e5ec6.1: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.2, @Cpp.long_long.as.BitAndAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.f04b88.1: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.6e5ec6.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.6e5ec6.2: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.1, @Cpp.long_long.as.BitAndAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.f04b88.2: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.6e5ec6.2 = struct_value () [concrete] -// CHECK:STDOUT: %BitAndAssignWith.facet.76f: %BitAndAssignWith.type.bdd = facet_value %Cpp.long_long, (%BitAndAssignWith.impl_witness.d34) [concrete] -// CHECK:STDOUT: %BitAndAssignWith.WithSelf.Op.type.1e7: type = fn_type @BitAndAssignWith.WithSelf.Op, @BitAndAssignWith.WithSelf(%i64, %BitAndAssignWith.facet.76f) [concrete] -// CHECK:STDOUT: %.b89: type = fn_type_with_self_type %BitAndAssignWith.WithSelf.Op.type.1e7, %BitAndAssignWith.facet.76f [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.bf2514.1: = specific_function %Cpp.long_long.as.BitAndAssignWith.impl.Op.f04b88.2, @Cpp.long_long.as.BitAndAssignWith.impl.Op.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.bf2514.2: = specific_function %Cpp.long_long.as.BitAndAssignWith.impl.Op.f04b88.1, @Cpp.long_long.as.BitAndAssignWith.impl.Op.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %BitOrAssignWith.type.9a3: type = facet_type <@BitOrAssignWith, @BitOrAssignWith(%i64)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.73a30f.1: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.1, @Cpp.long_long.as.BitOrAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.a563c7.1: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.73a30f.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.73a30f.2: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.2, @Cpp.long_long.as.BitOrAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.a563c7.2: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.73a30f.2 = struct_value () [symbolic] -// CHECK:STDOUT: %BitOrAssignWith.impl_witness.95b: = impl_witness imports.%BitOrAssignWith.impl_witness_table.1c1, @Cpp.long_long.as.BitOrAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.a4b630.1: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.2, @Cpp.long_long.as.BitOrAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.579303.1: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.a4b630.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.a4b630.2: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.1, @Cpp.long_long.as.BitOrAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.579303.2: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.a4b630.2 = struct_value () [concrete] -// CHECK:STDOUT: %BitOrAssignWith.facet.b0b: %BitOrAssignWith.type.9a3 = facet_value %Cpp.long_long, (%BitOrAssignWith.impl_witness.95b) [concrete] -// CHECK:STDOUT: %BitOrAssignWith.WithSelf.Op.type.e2e: type = fn_type @BitOrAssignWith.WithSelf.Op, @BitOrAssignWith.WithSelf(%i64, %BitOrAssignWith.facet.b0b) [concrete] -// CHECK:STDOUT: %.f46: type = fn_type_with_self_type %BitOrAssignWith.WithSelf.Op.type.e2e, %BitOrAssignWith.facet.b0b [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.5a89bc.1: = specific_function %Cpp.long_long.as.BitOrAssignWith.impl.Op.579303.2, @Cpp.long_long.as.BitOrAssignWith.impl.Op.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.5a89bc.2: = specific_function %Cpp.long_long.as.BitOrAssignWith.impl.Op.579303.1, @Cpp.long_long.as.BitOrAssignWith.impl.Op.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %BitXorAssignWith.type.b1f: type = facet_type <@BitXorAssignWith, @BitXorAssignWith(%i64)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.6f1dba.1: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.1, @Cpp.long_long.as.BitXorAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.576f86.1: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.6f1dba.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.6f1dba.2: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.2, @Cpp.long_long.as.BitXorAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.576f86.2: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.6f1dba.2 = struct_value () [symbolic] -// CHECK:STDOUT: %BitXorAssignWith.impl_witness.d18: = impl_witness imports.%BitXorAssignWith.impl_witness_table.f2a, @Cpp.long_long.as.BitXorAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.d3c022.1: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.2, @Cpp.long_long.as.BitXorAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.ea94da.1: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.d3c022.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.d3c022.2: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.1, @Cpp.long_long.as.BitXorAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.ea94da.2: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.d3c022.2 = struct_value () [concrete] -// CHECK:STDOUT: %BitXorAssignWith.facet.f24: %BitXorAssignWith.type.b1f = facet_value %Cpp.long_long, (%BitXorAssignWith.impl_witness.d18) [concrete] -// CHECK:STDOUT: %BitXorAssignWith.WithSelf.Op.type.e52: type = fn_type @BitXorAssignWith.WithSelf.Op, @BitXorAssignWith.WithSelf(%i64, %BitXorAssignWith.facet.f24) [concrete] -// CHECK:STDOUT: %.2ca: type = fn_type_with_self_type %BitXorAssignWith.WithSelf.Op.type.e52, %BitXorAssignWith.facet.f24 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.d07ae9.1: = specific_function %Cpp.long_long.as.BitXorAssignWith.impl.Op.ea94da.2, @Cpp.long_long.as.BitXorAssignWith.impl.Op.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.d07ae9.2: = specific_function %Cpp.long_long.as.BitXorAssignWith.impl.Op.ea94da.1, @Cpp.long_long.as.BitXorAssignWith.impl.Op.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.type.311: type = facet_type <@LeftShiftAssignWith, @LeftShiftAssignWith(%i64)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.c90a09.1: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long_long.as.LeftShiftAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.9127f1.1: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.c90a09.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.c90a09.2: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long_long.as.LeftShiftAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.9127f1.2: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.c90a09.2 = struct_value () [symbolic] -// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness.e54: = impl_witness imports.%LeftShiftAssignWith.impl_witness_table.aba, @Cpp.long_long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.3f7eac.1: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long_long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.790ca2.1: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.3f7eac.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.3f7eac.2: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long_long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.790ca2.2: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.3f7eac.2 = struct_value () [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.facet.e23: %LeftShiftAssignWith.type.311 = facet_value %Cpp.long_long, (%LeftShiftAssignWith.impl_witness.e54) [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.WithSelf.Op.type.24f: type = fn_type @LeftShiftAssignWith.WithSelf.Op, @LeftShiftAssignWith.WithSelf(%i64, %LeftShiftAssignWith.facet.e23) [concrete] -// CHECK:STDOUT: %.479: type = fn_type_with_self_type %LeftShiftAssignWith.WithSelf.Op.type.24f, %LeftShiftAssignWith.facet.e23 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.85736b.1: = specific_function %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.790ca2.2, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.85736b.2: = specific_function %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.790ca2.1, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.type.311: type = facet_type <@RightShiftAssignWith, @RightShiftAssignWith(%i64)> [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.e47d89.1: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long_long.as.RightShiftAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.9b7acf.1: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.e47d89.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.e47d89.2: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long_long.as.RightShiftAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.9b7acf.2: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.e47d89.2 = struct_value () [symbolic] -// CHECK:STDOUT: %RightShiftAssignWith.impl_witness.721: = impl_witness imports.%RightShiftAssignWith.impl_witness_table.774, @Cpp.long_long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.b26048.1: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long_long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.81ef6d.1: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.b26048.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.b26048.2: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long_long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.81ef6d.2: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.b26048.2 = struct_value () [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.facet.f02: %RightShiftAssignWith.type.311 = facet_value %Cpp.long_long, (%RightShiftAssignWith.impl_witness.721) [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.WithSelf.Op.type.42b: type = fn_type @RightShiftAssignWith.WithSelf.Op, @RightShiftAssignWith.WithSelf(%i64, %RightShiftAssignWith.facet.f02) [concrete] -// CHECK:STDOUT: %.e4a: type = fn_type_with_self_type %RightShiftAssignWith.WithSelf.Op.type.42b, %RightShiftAssignWith.facet.f02 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.8d409b.1: = specific_function %Cpp.long_long.as.RightShiftAssignWith.impl.Op.81ef6d.2, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.8d409b.2: = specific_function %Cpp.long_long.as.RightShiftAssignWith.impl.Op.81ef6d.1, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %SubAssignWith.type.68c: type = facet_type <@SubAssignWith, @SubAssignWith(%i64)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.b4d617.1: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.1, @Cpp.long_long.as.SubAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.30926f.1: %Cpp.long_long.as.SubAssignWith.impl.Op.type.b4d617.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.b4d617.2: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.2, @Cpp.long_long.as.SubAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.30926f.2: %Cpp.long_long.as.SubAssignWith.impl.Op.type.b4d617.2 = struct_value () [symbolic] +// CHECK:STDOUT: %SubAssignWith.impl_witness.5e5: = impl_witness imports.%SubAssignWith.impl_witness_table.173, @Cpp.long_long.as.SubAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.11da79.1: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.2, @Cpp.long_long.as.SubAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.127ee6.1: %Cpp.long_long.as.SubAssignWith.impl.Op.type.11da79.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.type.11da79.2: type = fn_type @Cpp.long_long.as.SubAssignWith.impl.Op.1, @Cpp.long_long.as.SubAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.127ee6.2: %Cpp.long_long.as.SubAssignWith.impl.Op.type.11da79.2 = struct_value () [concrete] +// CHECK:STDOUT: %SubAssignWith.facet.53b: %SubAssignWith.type.68c = facet_value %Cpp.long_long, (%SubAssignWith.impl_witness.5e5) [concrete] +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.406: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%i64, %SubAssignWith.facet.53b) [concrete] +// CHECK:STDOUT: %.f2c: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.406, %SubAssignWith.facet.53b [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.bf2b06.1: = specific_function %Cpp.long_long.as.SubAssignWith.impl.Op.127ee6.2, @Cpp.long_long.as.SubAssignWith.impl.Op.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.bf2b06.2: = specific_function %Cpp.long_long.as.SubAssignWith.impl.Op.127ee6.1, @Cpp.long_long.as.SubAssignWith.impl.Op.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %MulAssignWith.type.af1: type = facet_type <@MulAssignWith, @MulAssignWith(%i64)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ae87af.1: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.1, @Cpp.long_long.as.MulAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.51366a.1: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ae87af.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ae87af.2: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.2, @Cpp.long_long.as.MulAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.51366a.2: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ae87af.2 = struct_value () [symbolic] +// CHECK:STDOUT: %MulAssignWith.impl_witness.8c6: = impl_witness imports.%MulAssignWith.impl_witness_table.8f1, @Cpp.long_long.as.MulAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.fd2ec8.1: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.2, @Cpp.long_long.as.MulAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.700303.1: %Cpp.long_long.as.MulAssignWith.impl.Op.type.fd2ec8.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.type.fd2ec8.2: type = fn_type @Cpp.long_long.as.MulAssignWith.impl.Op.1, @Cpp.long_long.as.MulAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.700303.2: %Cpp.long_long.as.MulAssignWith.impl.Op.type.fd2ec8.2 = struct_value () [concrete] +// CHECK:STDOUT: %MulAssignWith.facet.c51: %MulAssignWith.type.af1 = facet_value %Cpp.long_long, (%MulAssignWith.impl_witness.8c6) [concrete] +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.86c: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%i64, %MulAssignWith.facet.c51) [concrete] +// CHECK:STDOUT: %.75d: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.86c, %MulAssignWith.facet.c51 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.e33828.1: = specific_function %Cpp.long_long.as.MulAssignWith.impl.Op.700303.2, @Cpp.long_long.as.MulAssignWith.impl.Op.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.e33828.2: = specific_function %Cpp.long_long.as.MulAssignWith.impl.Op.700303.1, @Cpp.long_long.as.MulAssignWith.impl.Op.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %DivAssignWith.type.794: type = facet_type <@DivAssignWith, @DivAssignWith(%i64)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.d84717.1: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.1, @Cpp.long_long.as.DivAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.efd5d8.1: %Cpp.long_long.as.DivAssignWith.impl.Op.type.d84717.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.d84717.2: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.2, @Cpp.long_long.as.DivAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.efd5d8.2: %Cpp.long_long.as.DivAssignWith.impl.Op.type.d84717.2 = struct_value () [symbolic] +// CHECK:STDOUT: %DivAssignWith.impl_witness.505: = impl_witness imports.%DivAssignWith.impl_witness_table.5e5, @Cpp.long_long.as.DivAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.84030a.1: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.2, @Cpp.long_long.as.DivAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.166ffe.1: %Cpp.long_long.as.DivAssignWith.impl.Op.type.84030a.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.type.84030a.2: type = fn_type @Cpp.long_long.as.DivAssignWith.impl.Op.1, @Cpp.long_long.as.DivAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.166ffe.2: %Cpp.long_long.as.DivAssignWith.impl.Op.type.84030a.2 = struct_value () [concrete] +// CHECK:STDOUT: %DivAssignWith.facet.7de: %DivAssignWith.type.794 = facet_value %Cpp.long_long, (%DivAssignWith.impl_witness.505) [concrete] +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.db8: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%i64, %DivAssignWith.facet.7de) [concrete] +// CHECK:STDOUT: %.706: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.db8, %DivAssignWith.facet.7de [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.f6bb38.1: = specific_function %Cpp.long_long.as.DivAssignWith.impl.Op.166ffe.2, @Cpp.long_long.as.DivAssignWith.impl.Op.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.f6bb38.2: = specific_function %Cpp.long_long.as.DivAssignWith.impl.Op.166ffe.1, @Cpp.long_long.as.DivAssignWith.impl.Op.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %ModAssignWith.type.896: type = facet_type <@ModAssignWith, @ModAssignWith(%i64)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.043ac2.1: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.1, @Cpp.long_long.as.ModAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.6f8dfc.1: %Cpp.long_long.as.ModAssignWith.impl.Op.type.043ac2.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.043ac2.2: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.2, @Cpp.long_long.as.ModAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.6f8dfc.2: %Cpp.long_long.as.ModAssignWith.impl.Op.type.043ac2.2 = struct_value () [symbolic] +// CHECK:STDOUT: %ModAssignWith.impl_witness.88d: = impl_witness imports.%ModAssignWith.impl_witness_table.0c2, @Cpp.long_long.as.ModAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.2f65fa.1: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.2, @Cpp.long_long.as.ModAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.9c8823.1: %Cpp.long_long.as.ModAssignWith.impl.Op.type.2f65fa.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.type.2f65fa.2: type = fn_type @Cpp.long_long.as.ModAssignWith.impl.Op.1, @Cpp.long_long.as.ModAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.9c8823.2: %Cpp.long_long.as.ModAssignWith.impl.Op.type.2f65fa.2 = struct_value () [concrete] +// CHECK:STDOUT: %ModAssignWith.facet.dd3: %ModAssignWith.type.896 = facet_value %Cpp.long_long, (%ModAssignWith.impl_witness.88d) [concrete] +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.f86: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%i64, %ModAssignWith.facet.dd3) [concrete] +// CHECK:STDOUT: %.7d6: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.f86, %ModAssignWith.facet.dd3 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.424ffe.1: = specific_function %Cpp.long_long.as.ModAssignWith.impl.Op.9c8823.2, @Cpp.long_long.as.ModAssignWith.impl.Op.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.424ffe.2: = specific_function %Cpp.long_long.as.ModAssignWith.impl.Op.9c8823.1, @Cpp.long_long.as.ModAssignWith.impl.Op.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %BitAndAssignWith.type.af0: type = facet_type <@BitAndAssignWith, @BitAndAssignWith(%i64)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.285489.1: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.1, @Cpp.long_long.as.BitAndAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.c0b96d.1: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.285489.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.285489.2: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.2, @Cpp.long_long.as.BitAndAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.c0b96d.2: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.285489.2 = struct_value () [symbolic] +// CHECK:STDOUT: %BitAndAssignWith.impl_witness.7e8: = impl_witness imports.%BitAndAssignWith.impl_witness_table.acf, @Cpp.long_long.as.BitAndAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.529d3e.1: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.2, @Cpp.long_long.as.BitAndAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.f89dbb.1: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.529d3e.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.529d3e.2: type = fn_type @Cpp.long_long.as.BitAndAssignWith.impl.Op.1, @Cpp.long_long.as.BitAndAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.f89dbb.2: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.529d3e.2 = struct_value () [concrete] +// CHECK:STDOUT: %BitAndAssignWith.facet.120: %BitAndAssignWith.type.af0 = facet_value %Cpp.long_long, (%BitAndAssignWith.impl_witness.7e8) [concrete] +// CHECK:STDOUT: %BitAndAssignWith.WithSelf.Op.type.23d: type = fn_type @BitAndAssignWith.WithSelf.Op, @BitAndAssignWith.WithSelf(%i64, %BitAndAssignWith.facet.120) [concrete] +// CHECK:STDOUT: %.f35: type = fn_type_with_self_type %BitAndAssignWith.WithSelf.Op.type.23d, %BitAndAssignWith.facet.120 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.cffeb7.1: = specific_function %Cpp.long_long.as.BitAndAssignWith.impl.Op.f89dbb.2, @Cpp.long_long.as.BitAndAssignWith.impl.Op.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.cffeb7.2: = specific_function %Cpp.long_long.as.BitAndAssignWith.impl.Op.f89dbb.1, @Cpp.long_long.as.BitAndAssignWith.impl.Op.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %BitOrAssignWith.type.c80: type = facet_type <@BitOrAssignWith, @BitOrAssignWith(%i64)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.ca203c.1: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.1, @Cpp.long_long.as.BitOrAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.622301.1: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.ca203c.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.ca203c.2: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.2, @Cpp.long_long.as.BitOrAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.622301.2: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.ca203c.2 = struct_value () [symbolic] +// CHECK:STDOUT: %BitOrAssignWith.impl_witness.33a: = impl_witness imports.%BitOrAssignWith.impl_witness_table.20e, @Cpp.long_long.as.BitOrAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.36d3b4.1: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.2, @Cpp.long_long.as.BitOrAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.426672.1: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.36d3b4.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.36d3b4.2: type = fn_type @Cpp.long_long.as.BitOrAssignWith.impl.Op.1, @Cpp.long_long.as.BitOrAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.426672.2: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.36d3b4.2 = struct_value () [concrete] +// CHECK:STDOUT: %BitOrAssignWith.facet.fc9: %BitOrAssignWith.type.c80 = facet_value %Cpp.long_long, (%BitOrAssignWith.impl_witness.33a) [concrete] +// CHECK:STDOUT: %BitOrAssignWith.WithSelf.Op.type.bbd: type = fn_type @BitOrAssignWith.WithSelf.Op, @BitOrAssignWith.WithSelf(%i64, %BitOrAssignWith.facet.fc9) [concrete] +// CHECK:STDOUT: %.f17: type = fn_type_with_self_type %BitOrAssignWith.WithSelf.Op.type.bbd, %BitOrAssignWith.facet.fc9 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.3dd119.1: = specific_function %Cpp.long_long.as.BitOrAssignWith.impl.Op.426672.2, @Cpp.long_long.as.BitOrAssignWith.impl.Op.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.3dd119.2: = specific_function %Cpp.long_long.as.BitOrAssignWith.impl.Op.426672.1, @Cpp.long_long.as.BitOrAssignWith.impl.Op.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %BitXorAssignWith.type.767: type = facet_type <@BitXorAssignWith, @BitXorAssignWith(%i64)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2d154f.1: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.1, @Cpp.long_long.as.BitXorAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.4ac15f.1: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2d154f.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2d154f.2: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.2, @Cpp.long_long.as.BitXorAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.4ac15f.2: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2d154f.2 = struct_value () [symbolic] +// CHECK:STDOUT: %BitXorAssignWith.impl_witness.f75: = impl_witness imports.%BitXorAssignWith.impl_witness_table.674, @Cpp.long_long.as.BitXorAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.ed79ec.1: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.2, @Cpp.long_long.as.BitXorAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.9fbabe.1: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.ed79ec.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.ed79ec.2: type = fn_type @Cpp.long_long.as.BitXorAssignWith.impl.Op.1, @Cpp.long_long.as.BitXorAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.9fbabe.2: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.ed79ec.2 = struct_value () [concrete] +// CHECK:STDOUT: %BitXorAssignWith.facet.f8b: %BitXorAssignWith.type.767 = facet_value %Cpp.long_long, (%BitXorAssignWith.impl_witness.f75) [concrete] +// CHECK:STDOUT: %BitXorAssignWith.WithSelf.Op.type.ea8: type = fn_type @BitXorAssignWith.WithSelf.Op, @BitXorAssignWith.WithSelf(%i64, %BitXorAssignWith.facet.f8b) [concrete] +// CHECK:STDOUT: %.936: type = fn_type_with_self_type %BitXorAssignWith.WithSelf.Op.type.ea8, %BitXorAssignWith.facet.f8b [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.b8cbe3.1: = specific_function %Cpp.long_long.as.BitXorAssignWith.impl.Op.9fbabe.2, @Cpp.long_long.as.BitXorAssignWith.impl.Op.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.b8cbe3.2: = specific_function %Cpp.long_long.as.BitXorAssignWith.impl.Op.9fbabe.1, @Cpp.long_long.as.BitXorAssignWith.impl.Op.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.type.6c3: type = facet_type <@LeftShiftAssignWith, @LeftShiftAssignWith(%i64)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.915db5.1: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long_long.as.LeftShiftAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.fefa92.1: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.915db5.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.915db5.2: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long_long.as.LeftShiftAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.fefa92.2: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.915db5.2 = struct_value () [symbolic] +// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness.204: = impl_witness imports.%LeftShiftAssignWith.impl_witness_table.166, @Cpp.long_long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.4f94b6.1: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2, @Cpp.long_long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.698534.1: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.4f94b6.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.4f94b6.2: type = fn_type @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1, @Cpp.long_long.as.LeftShiftAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.698534.2: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.4f94b6.2 = struct_value () [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.facet.1f8: %LeftShiftAssignWith.type.6c3 = facet_value %Cpp.long_long, (%LeftShiftAssignWith.impl_witness.204) [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.WithSelf.Op.type.3a4: type = fn_type @LeftShiftAssignWith.WithSelf.Op, @LeftShiftAssignWith.WithSelf(%i64, %LeftShiftAssignWith.facet.1f8) [concrete] +// CHECK:STDOUT: %.764: type = fn_type_with_self_type %LeftShiftAssignWith.WithSelf.Op.type.3a4, %LeftShiftAssignWith.facet.1f8 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.3250c6.1: = specific_function %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.698534.2, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.3250c6.2: = specific_function %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.698534.1, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.type.b19: type = facet_type <@RightShiftAssignWith, @RightShiftAssignWith(%i64)> [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.de9a00.1: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long_long.as.RightShiftAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.058a64.1: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.de9a00.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.de9a00.2: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long_long.as.RightShiftAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.058a64.2: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.de9a00.2 = struct_value () [symbolic] +// CHECK:STDOUT: %RightShiftAssignWith.impl_witness.14f: = impl_witness imports.%RightShiftAssignWith.impl_witness_table.e2b, @Cpp.long_long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.aa8066.1: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2, @Cpp.long_long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.f7b41f.1: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.aa8066.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.aa8066.2: type = fn_type @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1, @Cpp.long_long.as.RightShiftAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.f7b41f.2: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.aa8066.2 = struct_value () [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.facet.53a: %RightShiftAssignWith.type.b19 = facet_value %Cpp.long_long, (%RightShiftAssignWith.impl_witness.14f) [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.WithSelf.Op.type.833: type = fn_type @RightShiftAssignWith.WithSelf.Op, @RightShiftAssignWith.WithSelf(%i64, %RightShiftAssignWith.facet.53a) [concrete] +// CHECK:STDOUT: %.b25: type = fn_type_with_self_type %RightShiftAssignWith.WithSelf.Op.type.833, %RightShiftAssignWith.facet.53a [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.e93705.1: = specific_function %Cpp.long_long.as.RightShiftAssignWith.impl.Op.f7b41f.2, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.e93705.2: = specific_function %Cpp.long_long.as.RightShiftAssignWith.impl.Op.f7b41f.1, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -2948,55 +2948,55 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: .long_long = constants.%Cpp.long_long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b339.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.715 = impl_witness_table (%Core.import_ref.67b339.1), @Core.IntLiteral.as.ImplicitAs.impl.c6f [concrete] -// CHECK:STDOUT: %Core.import_ref.514: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.1)] -// CHECK:STDOUT: %AddAssignWith.impl_witness_table.40d = impl_witness_table (%Core.import_ref.514), @Cpp.long_long.as.AddAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.d67: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.2)] -// CHECK:STDOUT: %Core.import_ref.67b339.2: %i64.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i64.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.f80 = impl_witness_table (%Core.import_ref.67b339.2), @i64.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.85f: @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.type.2 (%Cpp.long_long.as.SubAssignWith.impl.Op.type.202246.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.SubAssignWith.impl.Op.10386c.1)] -// CHECK:STDOUT: %SubAssignWith.impl_witness_table.402 = impl_witness_table (%Core.import_ref.85f), @Cpp.long_long.as.SubAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.eca: @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.type.1 (%Cpp.long_long.as.SubAssignWith.impl.Op.type.202246.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.SubAssignWith.impl.Op.10386c.2)] -// CHECK:STDOUT: %Core.import_ref.a57: @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.type.2 (%Cpp.long_long.as.MulAssignWith.impl.Op.type.87d945.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.MulAssignWith.impl.Op.58692c.1)] -// CHECK:STDOUT: %MulAssignWith.impl_witness_table.f21 = impl_witness_table (%Core.import_ref.a57), @Cpp.long_long.as.MulAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.850: @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.type.1 (%Cpp.long_long.as.MulAssignWith.impl.Op.type.87d945.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.MulAssignWith.impl.Op.58692c.2)] -// CHECK:STDOUT: %Core.import_ref.bda: @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.type.2 (%Cpp.long_long.as.DivAssignWith.impl.Op.type.758a4b.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.DivAssignWith.impl.Op.7ce2b0.1)] -// CHECK:STDOUT: %DivAssignWith.impl_witness_table.6b3 = impl_witness_table (%Core.import_ref.bda), @Cpp.long_long.as.DivAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.63f: @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.type.1 (%Cpp.long_long.as.DivAssignWith.impl.Op.type.758a4b.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.DivAssignWith.impl.Op.7ce2b0.2)] -// CHECK:STDOUT: %Core.import_ref.b5e: @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.type.2 (%Cpp.long_long.as.ModAssignWith.impl.Op.type.ea137c.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.ModAssignWith.impl.Op.8230c7.1)] -// CHECK:STDOUT: %ModAssignWith.impl_witness_table.416 = impl_witness_table (%Core.import_ref.b5e), @Cpp.long_long.as.ModAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.596: @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.type.1 (%Cpp.long_long.as.ModAssignWith.impl.Op.type.ea137c.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.ModAssignWith.impl.Op.8230c7.2)] -// CHECK:STDOUT: %Core.import_ref.5d4: @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.2 (%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a4618b.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.1f9a65.1)] -// CHECK:STDOUT: %BitAndAssignWith.impl_witness_table.6ea = impl_witness_table (%Core.import_ref.5d4), @Cpp.long_long.as.BitAndAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.91d: @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.1 (%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.a4618b.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.1f9a65.2)] -// CHECK:STDOUT: %Core.import_ref.78c: @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.2 (%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.73a30f.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.a563c7.1)] -// CHECK:STDOUT: %BitOrAssignWith.impl_witness_table.1c1 = impl_witness_table (%Core.import_ref.78c), @Cpp.long_long.as.BitOrAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.42d: @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.1 (%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.73a30f.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.a563c7.2)] -// CHECK:STDOUT: %Core.import_ref.d8d: @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2 (%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.6f1dba.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.576f86.1)] -// CHECK:STDOUT: %BitXorAssignWith.impl_witness_table.f2a = impl_witness_table (%Core.import_ref.d8d), @Cpp.long_long.as.BitXorAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.d98: @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.1 (%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.6f1dba.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.576f86.2)] -// CHECK:STDOUT: %Core.import_ref.e33: @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.2 (%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.c90a09.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.9127f1.1)] -// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness_table.aba = impl_witness_table (%Core.import_ref.e33), @Cpp.long_long.as.LeftShiftAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.34a: @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.1 (%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.c90a09.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.9127f1.2)] -// CHECK:STDOUT: %Core.import_ref.ba7: @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.2 (%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.e47d89.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.9b7acf.1)] -// CHECK:STDOUT: %RightShiftAssignWith.impl_witness_table.774 = impl_witness_table (%Core.import_ref.ba7), @Cpp.long_long.as.RightShiftAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.e6a: @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.1 (%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.e47d89.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.9b7acf.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.337 = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.ImplicitAs.impl.74b [concrete] +// CHECK:STDOUT: %Core.import_ref.8bf: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.1)] +// CHECK:STDOUT: %AddAssignWith.impl_witness_table.c98 = impl_witness_table (%Core.import_ref.8bf), @Cpp.long_long.as.AddAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.e51: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %i64.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.7ed = impl_witness_table (%Core.import_ref.adef5f.2), @i64.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.176: @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.type.2 (%Cpp.long_long.as.SubAssignWith.impl.Op.type.b4d617.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.SubAssignWith.impl.Op.30926f.1)] +// CHECK:STDOUT: %SubAssignWith.impl_witness_table.173 = impl_witness_table (%Core.import_ref.176), @Cpp.long_long.as.SubAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.458: @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.type.1 (%Cpp.long_long.as.SubAssignWith.impl.Op.type.b4d617.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.SubAssignWith.impl.%Cpp.long_long.as.SubAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.SubAssignWith.impl.Op.30926f.2)] +// CHECK:STDOUT: %Core.import_ref.06d: @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.type.2 (%Cpp.long_long.as.MulAssignWith.impl.Op.type.ae87af.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.MulAssignWith.impl.Op.51366a.1)] +// CHECK:STDOUT: %MulAssignWith.impl_witness_table.8f1 = impl_witness_table (%Core.import_ref.06d), @Cpp.long_long.as.MulAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.3cc: @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.type.1 (%Cpp.long_long.as.MulAssignWith.impl.Op.type.ae87af.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.MulAssignWith.impl.%Cpp.long_long.as.MulAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.MulAssignWith.impl.Op.51366a.2)] +// CHECK:STDOUT: %Core.import_ref.6f1: @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.type.2 (%Cpp.long_long.as.DivAssignWith.impl.Op.type.d84717.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.DivAssignWith.impl.Op.efd5d8.1)] +// CHECK:STDOUT: %DivAssignWith.impl_witness_table.5e5 = impl_witness_table (%Core.import_ref.6f1), @Cpp.long_long.as.DivAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.262: @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.type.1 (%Cpp.long_long.as.DivAssignWith.impl.Op.type.d84717.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.DivAssignWith.impl.%Cpp.long_long.as.DivAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.DivAssignWith.impl.Op.efd5d8.2)] +// CHECK:STDOUT: %Core.import_ref.3a0: @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.type.2 (%Cpp.long_long.as.ModAssignWith.impl.Op.type.043ac2.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.ModAssignWith.impl.Op.6f8dfc.1)] +// CHECK:STDOUT: %ModAssignWith.impl_witness_table.0c2 = impl_witness_table (%Core.import_ref.3a0), @Cpp.long_long.as.ModAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.eb3: @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.type.1 (%Cpp.long_long.as.ModAssignWith.impl.Op.type.043ac2.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.ModAssignWith.impl.%Cpp.long_long.as.ModAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.ModAssignWith.impl.Op.6f8dfc.2)] +// CHECK:STDOUT: %Core.import_ref.9536: @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.2 (%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.285489.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.c0b96d.1)] +// CHECK:STDOUT: %BitAndAssignWith.impl_witness_table.acf = impl_witness_table (%Core.import_ref.9536), @Cpp.long_long.as.BitAndAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.e7c: @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.1 (%Cpp.long_long.as.BitAndAssignWith.impl.Op.type.285489.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.BitAndAssignWith.impl.%Cpp.long_long.as.BitAndAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.c0b96d.2)] +// CHECK:STDOUT: %Core.import_ref.f3a: @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.2 (%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.ca203c.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.622301.1)] +// CHECK:STDOUT: %BitOrAssignWith.impl_witness_table.20e = impl_witness_table (%Core.import_ref.f3a), @Cpp.long_long.as.BitOrAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.db2: @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.1 (%Cpp.long_long.as.BitOrAssignWith.impl.Op.type.ca203c.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.BitOrAssignWith.impl.%Cpp.long_long.as.BitOrAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.622301.2)] +// CHECK:STDOUT: %Core.import_ref.076: @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2 (%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2d154f.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.4ac15f.1)] +// CHECK:STDOUT: %BitXorAssignWith.impl_witness_table.674 = impl_witness_table (%Core.import_ref.076), @Cpp.long_long.as.BitXorAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.2d3: @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.1 (%Cpp.long_long.as.BitXorAssignWith.impl.Op.type.2d154f.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.BitXorAssignWith.impl.%Cpp.long_long.as.BitXorAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.4ac15f.2)] +// CHECK:STDOUT: %Core.import_ref.b82: @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.2 (%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.915db5.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.fefa92.1)] +// CHECK:STDOUT: %LeftShiftAssignWith.impl_witness_table.166 = impl_witness_table (%Core.import_ref.b82), @Cpp.long_long.as.LeftShiftAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.73c: @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.1 (%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.915db5.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.LeftShiftAssignWith.impl.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.fefa92.2)] +// CHECK:STDOUT: %Core.import_ref.596: @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.2 (%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.de9a00.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.058a64.1)] +// CHECK:STDOUT: %RightShiftAssignWith.impl_witness_table.e2b = impl_witness_table (%Core.import_ref.596), @Cpp.long_long.as.RightShiftAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.62d: @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.1 (%Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.de9a00.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.RightShiftAssignWith.impl.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.058a64.2)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CompoundAssignmentLongLongAndI64() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e6e = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.e6e = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.003 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.003 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.long_long = var %a.var_patt // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc9: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc9: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc9: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long_long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc9_3: init %Cpp.long_long = converted %int_1.loc9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long_long = call %bound_method.loc9(%int_1.loc9) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc9_3: init %Cpp.long_long = converted %int_1.loc9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: assign %a.var, %.loc9_3 // CHECK:STDOUT: %.loc9_13: type = splice_block %long_long.ref [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -3005,18 +3005,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %a: ref %Cpp.long_long = ref_binding a, %a.var // CHECK:STDOUT: %a.ref.loc10: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc10: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc10_5: %.0db = impl_witness_access constants.%AddAssignWith.impl_witness.77e, element0 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.2] +// CHECK:STDOUT: %impl.elem0.loc10_5: %.47e = impl_witness_access constants.%AddAssignWith.impl_witness.144, element0 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.80979a.2] // CHECK:STDOUT: %bound_method.loc10_5.1: = bound_method %a.ref.loc10, %impl.elem0.loc10_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc10: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc10_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc10 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @Cpp.long_long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.73d536.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc10: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc10_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc10 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @Cpp.long_long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.34f4c5.1] // CHECK:STDOUT: %bound_method.loc10_5.2: = bound_method %a.ref.loc10, %specific_fn.loc10 -// CHECK:STDOUT: %.loc10_5.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b10391.1 = specific_constant imports.%Core.Op.d67, @Cpp.long_long.as.AddAssignWith.impl(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.1] -// CHECK:STDOUT: %Op.ref.loc10: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b10391.1 = name_ref Op, %.loc10_5.2 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.1] +// CHECK:STDOUT: %.loc10_5.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.07766d.1 = specific_constant imports.%Core.Op.e51, @Cpp.long_long.as.AddAssignWith.impl(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.80979a.1] +// CHECK:STDOUT: %Op.ref.loc10: %Cpp.long_long.as.AddAssignWith.impl.Op.type.07766d.1 = name_ref Op, %.loc10_5.2 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.80979a.1] // CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.bound: = bound_method %a.ref.loc10, %Op.ref.loc10 -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc10, @Cpp.long_long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.73d536.2] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc10, @Cpp.long_long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.34f4c5.2] // CHECK:STDOUT: %bound_method.loc10_5.3: = bound_method %a.ref.loc10, %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc10_8: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc10_8: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc10_8: = bound_method %b.ref.loc10, %impl.elem0.loc10_8 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc10: init %Cpp.long_long = call %bound_method.loc10_8(%b.ref.loc10) // CHECK:STDOUT: %.loc10_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc10 @@ -3024,18 +3024,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc10_5.3(%a.ref.loc10, %.loc10_8.2) // CHECK:STDOUT: %a.ref.loc11: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc11: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc11_5: %.901 = impl_witness_access constants.%SubAssignWith.impl_witness.51b, element0 [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.39e8e1.2] +// CHECK:STDOUT: %impl.elem0.loc11_5: %.f2c = impl_witness_access constants.%SubAssignWith.impl_witness.5e5, element0 [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.127ee6.2] // CHECK:STDOUT: %bound_method.loc11_5.1: = bound_method %a.ref.loc11, %impl.elem0.loc11_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc11: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc11_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc11 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem0.loc11_5, @Cpp.long_long.as.SubAssignWith.impl.Op.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.5e7be5.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc11: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc11_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc11 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem0.loc11_5, @Cpp.long_long.as.SubAssignWith.impl.Op.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.bf2b06.1] // CHECK:STDOUT: %bound_method.loc11_5.2: = bound_method %a.ref.loc11, %specific_fn.loc11 -// CHECK:STDOUT: %.loc11_5.2: %Cpp.long_long.as.SubAssignWith.impl.Op.type.8860a2.1 = specific_constant imports.%Core.Op.eca, @Cpp.long_long.as.SubAssignWith.impl(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.39e8e1.1] -// CHECK:STDOUT: %Op.ref.loc11: %Cpp.long_long.as.SubAssignWith.impl.Op.type.8860a2.1 = name_ref Op, %.loc11_5.2 [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.39e8e1.1] +// CHECK:STDOUT: %.loc11_5.2: %Cpp.long_long.as.SubAssignWith.impl.Op.type.11da79.1 = specific_constant imports.%Core.Op.458, @Cpp.long_long.as.SubAssignWith.impl(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.127ee6.1] +// CHECK:STDOUT: %Op.ref.loc11: %Cpp.long_long.as.SubAssignWith.impl.Op.type.11da79.1 = name_ref Op, %.loc11_5.2 [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.127ee6.1] // CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.bound: = bound_method %a.ref.loc11, %Op.ref.loc11 -// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc11, @Cpp.long_long.as.SubAssignWith.impl.Op.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.5e7be5.2] +// CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc11, @Cpp.long_long.as.SubAssignWith.impl.Op.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn.bf2b06.2] // CHECK:STDOUT: %bound_method.loc11_5.3: = bound_method %a.ref.loc11, %Cpp.long_long.as.SubAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc11_8: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc11_8: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc11_8: = bound_method %b.ref.loc11, %impl.elem0.loc11_8 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc11: init %Cpp.long_long = call %bound_method.loc11_8(%b.ref.loc11) // CHECK:STDOUT: %.loc11_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc11 @@ -3043,18 +3043,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.SubAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc11_5.3(%a.ref.loc11, %.loc11_8.2) // CHECK:STDOUT: %a.ref.loc12: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc12: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc12_5: %.554 = impl_witness_access constants.%MulAssignWith.impl_witness.646, element0 [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.6ce627.2] +// CHECK:STDOUT: %impl.elem0.loc12_5: %.75d = impl_witness_access constants.%MulAssignWith.impl_witness.8c6, element0 [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.700303.2] // CHECK:STDOUT: %bound_method.loc12_5.1: = bound_method %a.ref.loc12, %impl.elem0.loc12_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc12: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc12_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc12 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem0.loc12_5, @Cpp.long_long.as.MulAssignWith.impl.Op.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.21cfe4.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc12: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc12_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc12 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem0.loc12_5, @Cpp.long_long.as.MulAssignWith.impl.Op.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.e33828.1] // CHECK:STDOUT: %bound_method.loc12_5.2: = bound_method %a.ref.loc12, %specific_fn.loc12 -// CHECK:STDOUT: %.loc12_5.2: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ff6b13.1 = specific_constant imports.%Core.Op.850, @Cpp.long_long.as.MulAssignWith.impl(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.6ce627.1] -// CHECK:STDOUT: %Op.ref.loc12: %Cpp.long_long.as.MulAssignWith.impl.Op.type.ff6b13.1 = name_ref Op, %.loc12_5.2 [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.6ce627.1] +// CHECK:STDOUT: %.loc12_5.2: %Cpp.long_long.as.MulAssignWith.impl.Op.type.fd2ec8.1 = specific_constant imports.%Core.Op.3cc, @Cpp.long_long.as.MulAssignWith.impl(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.700303.1] +// CHECK:STDOUT: %Op.ref.loc12: %Cpp.long_long.as.MulAssignWith.impl.Op.type.fd2ec8.1 = name_ref Op, %.loc12_5.2 [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.700303.1] // CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.bound: = bound_method %a.ref.loc12, %Op.ref.loc12 -// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc12, @Cpp.long_long.as.MulAssignWith.impl.Op.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.21cfe4.2] +// CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc12, @Cpp.long_long.as.MulAssignWith.impl.Op.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn.e33828.2] // CHECK:STDOUT: %bound_method.loc12_5.3: = bound_method %a.ref.loc12, %Cpp.long_long.as.MulAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc12_8: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc12_8: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc12_8: = bound_method %b.ref.loc12, %impl.elem0.loc12_8 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc12: init %Cpp.long_long = call %bound_method.loc12_8(%b.ref.loc12) // CHECK:STDOUT: %.loc12_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc12 @@ -3062,18 +3062,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.MulAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc12_5.3(%a.ref.loc12, %.loc12_8.2) // CHECK:STDOUT: %a.ref.loc13: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc13: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc13_5: %.835 = impl_witness_access constants.%DivAssignWith.impl_witness.209, element0 [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.9b2aa5.2] +// CHECK:STDOUT: %impl.elem0.loc13_5: %.706 = impl_witness_access constants.%DivAssignWith.impl_witness.505, element0 [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.166ffe.2] // CHECK:STDOUT: %bound_method.loc13_5.1: = bound_method %a.ref.loc13, %impl.elem0.loc13_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc13: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc13_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc13 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_5, @Cpp.long_long.as.DivAssignWith.impl.Op.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.043f91.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc13: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc13_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc13 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_5, @Cpp.long_long.as.DivAssignWith.impl.Op.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.f6bb38.1] // CHECK:STDOUT: %bound_method.loc13_5.2: = bound_method %a.ref.loc13, %specific_fn.loc13 -// CHECK:STDOUT: %.loc13_5.2: %Cpp.long_long.as.DivAssignWith.impl.Op.type.3a560b.1 = specific_constant imports.%Core.Op.63f, @Cpp.long_long.as.DivAssignWith.impl(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.9b2aa5.1] -// CHECK:STDOUT: %Op.ref.loc13: %Cpp.long_long.as.DivAssignWith.impl.Op.type.3a560b.1 = name_ref Op, %.loc13_5.2 [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.9b2aa5.1] +// CHECK:STDOUT: %.loc13_5.2: %Cpp.long_long.as.DivAssignWith.impl.Op.type.84030a.1 = specific_constant imports.%Core.Op.262, @Cpp.long_long.as.DivAssignWith.impl(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.166ffe.1] +// CHECK:STDOUT: %Op.ref.loc13: %Cpp.long_long.as.DivAssignWith.impl.Op.type.84030a.1 = name_ref Op, %.loc13_5.2 [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.166ffe.1] // CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.bound: = bound_method %a.ref.loc13, %Op.ref.loc13 -// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc13, @Cpp.long_long.as.DivAssignWith.impl.Op.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.043f91.2] +// CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc13, @Cpp.long_long.as.DivAssignWith.impl.Op.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn.f6bb38.2] // CHECK:STDOUT: %bound_method.loc13_5.3: = bound_method %a.ref.loc13, %Cpp.long_long.as.DivAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc13_8: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc13_8: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc13_8: = bound_method %b.ref.loc13, %impl.elem0.loc13_8 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc13: init %Cpp.long_long = call %bound_method.loc13_8(%b.ref.loc13) // CHECK:STDOUT: %.loc13_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc13 @@ -3081,18 +3081,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.DivAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc13_5.3(%a.ref.loc13, %.loc13_8.2) // CHECK:STDOUT: %a.ref.loc14: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc14: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc14_5: %.df9 = impl_witness_access constants.%ModAssignWith.impl_witness.df0, element0 [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.67eae8.2] +// CHECK:STDOUT: %impl.elem0.loc14_5: %.7d6 = impl_witness_access constants.%ModAssignWith.impl_witness.88d, element0 [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.9c8823.2] // CHECK:STDOUT: %bound_method.loc14_5.1: = bound_method %a.ref.loc14, %impl.elem0.loc14_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc14: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc14_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc14 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14_5, @Cpp.long_long.as.ModAssignWith.impl.Op.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.e9608b.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc14: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc14_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc14 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14_5, @Cpp.long_long.as.ModAssignWith.impl.Op.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.424ffe.1] // CHECK:STDOUT: %bound_method.loc14_5.2: = bound_method %a.ref.loc14, %specific_fn.loc14 -// CHECK:STDOUT: %.loc14_5.2: %Cpp.long_long.as.ModAssignWith.impl.Op.type.bd97a0.1 = specific_constant imports.%Core.Op.596, @Cpp.long_long.as.ModAssignWith.impl(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.67eae8.1] -// CHECK:STDOUT: %Op.ref.loc14: %Cpp.long_long.as.ModAssignWith.impl.Op.type.bd97a0.1 = name_ref Op, %.loc14_5.2 [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.67eae8.1] +// CHECK:STDOUT: %.loc14_5.2: %Cpp.long_long.as.ModAssignWith.impl.Op.type.2f65fa.1 = specific_constant imports.%Core.Op.eb3, @Cpp.long_long.as.ModAssignWith.impl(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.9c8823.1] +// CHECK:STDOUT: %Op.ref.loc14: %Cpp.long_long.as.ModAssignWith.impl.Op.type.2f65fa.1 = name_ref Op, %.loc14_5.2 [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.9c8823.1] // CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.bound: = bound_method %a.ref.loc14, %Op.ref.loc14 -// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc14, @Cpp.long_long.as.ModAssignWith.impl.Op.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.e9608b.2] +// CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc14, @Cpp.long_long.as.ModAssignWith.impl.Op.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn.424ffe.2] // CHECK:STDOUT: %bound_method.loc14_5.3: = bound_method %a.ref.loc14, %Cpp.long_long.as.ModAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc14_8: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc14_8: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc14_8: = bound_method %b.ref.loc14, %impl.elem0.loc14_8 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc14: init %Cpp.long_long = call %bound_method.loc14_8(%b.ref.loc14) // CHECK:STDOUT: %.loc14_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc14 @@ -3100,18 +3100,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.ModAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc14_5.3(%a.ref.loc14, %.loc14_8.2) // CHECK:STDOUT: %a.ref.loc16: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc16: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc16_5: %.b89 = impl_witness_access constants.%BitAndAssignWith.impl_witness.d34, element0 [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.f04b88.2] +// CHECK:STDOUT: %impl.elem0.loc16_5: %.f35 = impl_witness_access constants.%BitAndAssignWith.impl_witness.7e8, element0 [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.f89dbb.2] // CHECK:STDOUT: %bound_method.loc16_5.1: = bound_method %a.ref.loc16, %impl.elem0.loc16_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc16: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc16_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc16 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16_5, @Cpp.long_long.as.BitAndAssignWith.impl.Op.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.bf2514.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc16: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc16_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc16 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16_5, @Cpp.long_long.as.BitAndAssignWith.impl.Op.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.cffeb7.1] // CHECK:STDOUT: %bound_method.loc16_5.2: = bound_method %a.ref.loc16, %specific_fn.loc16 -// CHECK:STDOUT: %.loc16_5.2: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.6e5ec6.1 = specific_constant imports.%Core.Op.91d, @Cpp.long_long.as.BitAndAssignWith.impl(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.f04b88.1] -// CHECK:STDOUT: %Op.ref.loc16: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.6e5ec6.1 = name_ref Op, %.loc16_5.2 [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.f04b88.1] +// CHECK:STDOUT: %.loc16_5.2: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.529d3e.1 = specific_constant imports.%Core.Op.e7c, @Cpp.long_long.as.BitAndAssignWith.impl(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.f89dbb.1] +// CHECK:STDOUT: %Op.ref.loc16: %Cpp.long_long.as.BitAndAssignWith.impl.Op.type.529d3e.1 = name_ref Op, %.loc16_5.2 [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.f89dbb.1] // CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.bound: = bound_method %a.ref.loc16, %Op.ref.loc16 -// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc16, @Cpp.long_long.as.BitAndAssignWith.impl.Op.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.bf2514.2] +// CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc16, @Cpp.long_long.as.BitAndAssignWith.impl.Op.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn.cffeb7.2] // CHECK:STDOUT: %bound_method.loc16_5.3: = bound_method %a.ref.loc16, %Cpp.long_long.as.BitAndAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc16_8: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc16_8: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc16_8: = bound_method %b.ref.loc16, %impl.elem0.loc16_8 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc16: init %Cpp.long_long = call %bound_method.loc16_8(%b.ref.loc16) // CHECK:STDOUT: %.loc16_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc16 @@ -3119,18 +3119,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.BitAndAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc16_5.3(%a.ref.loc16, %.loc16_8.2) // CHECK:STDOUT: %a.ref.loc17: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc17: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc17_5: %.f46 = impl_witness_access constants.%BitOrAssignWith.impl_witness.95b, element0 [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.579303.2] +// CHECK:STDOUT: %impl.elem0.loc17_5: %.f17 = impl_witness_access constants.%BitOrAssignWith.impl_witness.33a, element0 [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.426672.2] // CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %a.ref.loc17, %impl.elem0.loc17_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc17: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc17_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc17 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17_5, @Cpp.long_long.as.BitOrAssignWith.impl.Op.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.5a89bc.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc17: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc17_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc17 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17_5, @Cpp.long_long.as.BitOrAssignWith.impl.Op.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.3dd119.1] // CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %a.ref.loc17, %specific_fn.loc17 -// CHECK:STDOUT: %.loc17_5.2: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.a4b630.1 = specific_constant imports.%Core.Op.42d, @Cpp.long_long.as.BitOrAssignWith.impl(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.579303.1] -// CHECK:STDOUT: %Op.ref.loc17: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.a4b630.1 = name_ref Op, %.loc17_5.2 [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.579303.1] +// CHECK:STDOUT: %.loc17_5.2: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.36d3b4.1 = specific_constant imports.%Core.Op.db2, @Cpp.long_long.as.BitOrAssignWith.impl(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.426672.1] +// CHECK:STDOUT: %Op.ref.loc17: %Cpp.long_long.as.BitOrAssignWith.impl.Op.type.36d3b4.1 = name_ref Op, %.loc17_5.2 [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.426672.1] // CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.bound: = bound_method %a.ref.loc17, %Op.ref.loc17 -// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc17, @Cpp.long_long.as.BitOrAssignWith.impl.Op.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.5a89bc.2] +// CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc17, @Cpp.long_long.as.BitOrAssignWith.impl.Op.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn.3dd119.2] // CHECK:STDOUT: %bound_method.loc17_5.3: = bound_method %a.ref.loc17, %Cpp.long_long.as.BitOrAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc17_8: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc17_8: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc17_8: = bound_method %b.ref.loc17, %impl.elem0.loc17_8 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc17: init %Cpp.long_long = call %bound_method.loc17_8(%b.ref.loc17) // CHECK:STDOUT: %.loc17_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc17 @@ -3138,18 +3138,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.BitOrAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc17_5.3(%a.ref.loc17, %.loc17_8.2) // CHECK:STDOUT: %a.ref.loc18: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc18: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc18_5: %.2ca = impl_witness_access constants.%BitXorAssignWith.impl_witness.d18, element0 [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.ea94da.2] +// CHECK:STDOUT: %impl.elem0.loc18_5: %.936 = impl_witness_access constants.%BitXorAssignWith.impl_witness.f75, element0 [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.9fbabe.2] // CHECK:STDOUT: %bound_method.loc18_5.1: = bound_method %a.ref.loc18, %impl.elem0.loc18_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc18: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc18_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc18 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18_5, @Cpp.long_long.as.BitXorAssignWith.impl.Op.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.d07ae9.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc18: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc18_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc18 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18_5, @Cpp.long_long.as.BitXorAssignWith.impl.Op.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.b8cbe3.1] // CHECK:STDOUT: %bound_method.loc18_5.2: = bound_method %a.ref.loc18, %specific_fn.loc18 -// CHECK:STDOUT: %.loc18_5.2: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.d3c022.1 = specific_constant imports.%Core.Op.d98, @Cpp.long_long.as.BitXorAssignWith.impl(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.ea94da.1] -// CHECK:STDOUT: %Op.ref.loc18: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.d3c022.1 = name_ref Op, %.loc18_5.2 [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.ea94da.1] +// CHECK:STDOUT: %.loc18_5.2: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.ed79ec.1 = specific_constant imports.%Core.Op.2d3, @Cpp.long_long.as.BitXorAssignWith.impl(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.9fbabe.1] +// CHECK:STDOUT: %Op.ref.loc18: %Cpp.long_long.as.BitXorAssignWith.impl.Op.type.ed79ec.1 = name_ref Op, %.loc18_5.2 [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.9fbabe.1] // CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.bound: = bound_method %a.ref.loc18, %Op.ref.loc18 -// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc18, @Cpp.long_long.as.BitXorAssignWith.impl.Op.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.d07ae9.2] +// CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc18, @Cpp.long_long.as.BitXorAssignWith.impl.Op.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn.b8cbe3.2] // CHECK:STDOUT: %bound_method.loc18_5.3: = bound_method %a.ref.loc18, %Cpp.long_long.as.BitXorAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc18_8: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc18_8: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc18_8: = bound_method %b.ref.loc18, %impl.elem0.loc18_8 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc18: init %Cpp.long_long = call %bound_method.loc18_8(%b.ref.loc18) // CHECK:STDOUT: %.loc18_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc18 @@ -3157,18 +3157,18 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.BitXorAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc18_5.3(%a.ref.loc18, %.loc18_8.2) // CHECK:STDOUT: %a.ref.loc19: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc19: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc19_5: %.479 = impl_witness_access constants.%LeftShiftAssignWith.impl_witness.e54, element0 [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.790ca2.2] +// CHECK:STDOUT: %impl.elem0.loc19_5: %.764 = impl_witness_access constants.%LeftShiftAssignWith.impl_witness.204, element0 [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.698534.2] // CHECK:STDOUT: %bound_method.loc19_5.1: = bound_method %a.ref.loc19, %impl.elem0.loc19_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc19: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc19_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc19 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19_5, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.85736b.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc19: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc19_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc19 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19_5, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.3250c6.1] // CHECK:STDOUT: %bound_method.loc19_5.2: = bound_method %a.ref.loc19, %specific_fn.loc19 -// CHECK:STDOUT: %.loc19_5.2: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.3f7eac.1 = specific_constant imports.%Core.Op.34a, @Cpp.long_long.as.LeftShiftAssignWith.impl(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.790ca2.1] -// CHECK:STDOUT: %Op.ref.loc19: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.3f7eac.1 = name_ref Op, %.loc19_5.2 [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.790ca2.1] +// CHECK:STDOUT: %.loc19_5.2: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.4f94b6.1 = specific_constant imports.%Core.Op.73c, @Cpp.long_long.as.LeftShiftAssignWith.impl(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.698534.1] +// CHECK:STDOUT: %Op.ref.loc19: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.type.4f94b6.1 = name_ref Op, %.loc19_5.2 [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.698534.1] // CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.bound: = bound_method %a.ref.loc19, %Op.ref.loc19 -// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc19, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.85736b.2] +// CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc19, @Cpp.long_long.as.LeftShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn.3250c6.2] // CHECK:STDOUT: %bound_method.loc19_5.3: = bound_method %a.ref.loc19, %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc19_9: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc19_9: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc19_9: = bound_method %b.ref.loc19, %impl.elem0.loc19_9 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc19: init %Cpp.long_long = call %bound_method.loc19_9(%b.ref.loc19) // CHECK:STDOUT: %.loc19_9.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc19 @@ -3176,24 +3176,24 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long.as.LeftShiftAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc19_5.3(%a.ref.loc19, %.loc19_9.2) // CHECK:STDOUT: %a.ref.loc20: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref.loc20: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc20_5: %.e4a = impl_witness_access constants.%RightShiftAssignWith.impl_witness.721, element0 [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.81ef6d.2] +// CHECK:STDOUT: %impl.elem0.loc20_5: %.b25 = impl_witness_access constants.%RightShiftAssignWith.impl_witness.14f, element0 [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.f7b41f.2] // CHECK:STDOUT: %bound_method.loc20_5.1: = bound_method %a.ref.loc20, %impl.elem0.loc20_5 -// CHECK:STDOUT: %ImplicitAs.facet.loc20: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc20_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet.loc20 [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20_5, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.8d409b.1] +// CHECK:STDOUT: %ImplicitAs.facet.loc20: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc20_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet.loc20 [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20_5, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.e93705.1] // CHECK:STDOUT: %bound_method.loc20_5.2: = bound_method %a.ref.loc20, %specific_fn.loc20 -// CHECK:STDOUT: %.loc20_5.2: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.b26048.1 = specific_constant imports.%Core.Op.e6a, @Cpp.long_long.as.RightShiftAssignWith.impl(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.81ef6d.1] -// CHECK:STDOUT: %Op.ref.loc20: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.b26048.1 = name_ref Op, %.loc20_5.2 [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.81ef6d.1] +// CHECK:STDOUT: %.loc20_5.2: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.aa8066.1 = specific_constant imports.%Core.Op.62d, @Cpp.long_long.as.RightShiftAssignWith.impl(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.f7b41f.1] +// CHECK:STDOUT: %Op.ref.loc20: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.type.aa8066.1 = name_ref Op, %.loc20_5.2 [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.f7b41f.1] // CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.bound: = bound_method %a.ref.loc20, %Op.ref.loc20 -// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc20, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.8d409b.2] +// CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn: = specific_function %Op.ref.loc20, @Cpp.long_long.as.RightShiftAssignWith.impl.Op.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn.e93705.2] // CHECK:STDOUT: %bound_method.loc20_5.3: = bound_method %a.ref.loc20, %Cpp.long_long.as.RightShiftAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc20_9: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc20_9: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc20_9: = bound_method %b.ref.loc20, %impl.elem0.loc20_9 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call.loc20: init %Cpp.long_long = call %bound_method.loc20_9(%b.ref.loc20) // CHECK:STDOUT: %.loc20_9.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call.loc20 // CHECK:STDOUT: %.loc20_9.2: %Cpp.long_long = converted %b.ref.loc20, %.loc20_9.1 // CHECK:STDOUT: %Cpp.long_long.as.RightShiftAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc20_5.3(%a.ref.loc20, %.loc20_9.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -3212,35 +3212,35 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long: type = class_type @LongLong64 [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %i64.builtin: type = int_type signed, %int_64 [concrete] -// CHECK:STDOUT: %pattern_type.e6e: type = pattern_type %Cpp.long_long [concrete] +// CHECK:STDOUT: %pattern_type.003: type = pattern_type %Cpp.long_long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.d35: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f2c: = impl_witness imports.%ImplicitAs.impl_witness_table.715 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.f2c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.52b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.b38: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.52b, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.type.fb7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.59e: = impl_witness imports.%ImplicitAs.impl_witness_table.337 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.59e) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f1d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.424: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f1d, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.526: %Cpp.long_long = int_value 1 [concrete] -// CHECK:STDOUT: %AddAssignWith.type.17a: type = facet_type <@AddAssignWith, @AddAssignWith(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %U.dc5: %ImplicitAs.type.d35 = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.2 = struct_value () [symbolic] -// CHECK:STDOUT: %AddAssignWith.impl_witness.4fc: = impl_witness imports.%AddAssignWith.impl_witness_table.40d, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.ce687d.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.ce7447.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.ce687d.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.ce687d.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.ce7447.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.ce687d.2 = struct_value () [concrete] -// CHECK:STDOUT: %AddAssignWith.facet.402: %AddAssignWith.type.17a = facet_value %Cpp.long_long, (%AddAssignWith.impl_witness.4fc) [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.666: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(Core.IntLiteral, %AddAssignWith.facet.402) [concrete] -// CHECK:STDOUT: %.daa: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.666, %AddAssignWith.facet.402 [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.22f330.1: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.ce7447.2, @Cpp.long_long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.22f330.2: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.ce7447.1, @Cpp.long_long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %int_1.8b4: %Cpp.long_long = int_value 1 [concrete] +// CHECK:STDOUT: %AddAssignWith.type.d09: type = facet_type <@AddAssignWith, @AddAssignWith(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %U.ec6: %ImplicitAs.type.fb7 = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.2 = struct_value () [symbolic] +// CHECK:STDOUT: %AddAssignWith.impl_witness.35e: = impl_witness imports.%AddAssignWith.impl_witness_table.c98, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.591f8a.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.2e5ecf.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.591f8a.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.591f8a.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.2e5ecf.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.591f8a.2 = struct_value () [concrete] +// CHECK:STDOUT: %AddAssignWith.facet.839: %AddAssignWith.type.d09 = facet_value %Cpp.long_long, (%AddAssignWith.impl_witness.35e) [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.42f: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(Core.IntLiteral, %AddAssignWith.facet.839) [concrete] +// CHECK:STDOUT: %.359: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.42f, %AddAssignWith.facet.839 [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.53d41c.1: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.2e5ecf.2, @Cpp.long_long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.53d41c.2: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.2e5ecf.1, @Cpp.long_long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3248,25 +3248,25 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: .long_long = constants.%Cpp.long_long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.715 = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.c6f [concrete] -// CHECK:STDOUT: %Core.import_ref.514: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.1)] -// CHECK:STDOUT: %AddAssignWith.impl_witness_table.40d = impl_witness_table (%Core.import_ref.514), @Cpp.long_long.as.AddAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.d67: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.2)] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.337 = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.74b [concrete] +// CHECK:STDOUT: %Core.import_ref.8bf: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.1)] +// CHECK:STDOUT: %AddAssignWith.impl_witness_table.c98 = impl_witness_table (%Core.import_ref.8bf), @Cpp.long_long.as.AddAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.e51: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.2)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CompoundAssignmentLongLongAndIntLiteral() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e6e = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.e6e = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.003 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.003 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.long_long = var %a.var_patt // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long_long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc8_3: init %Cpp.long_long = converted %int_1.loc8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long_long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc8_3: init %Cpp.long_long = converted %int_1.loc8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: assign %a.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %long_long.ref [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -3275,24 +3275,24 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %a: ref %Cpp.long_long = ref_binding a, %a.var // CHECK:STDOUT: %a.ref: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc9_5: %.daa = impl_witness_access constants.%AddAssignWith.impl_witness.4fc, element0 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.ce7447.2] +// CHECK:STDOUT: %impl.elem0.loc9_5: %.359 = impl_witness_access constants.%AddAssignWith.impl_witness.35e, element0 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.2e5ecf.2] // CHECK:STDOUT: %bound_method.loc9_5.1: = bound_method %a.ref, %impl.elem0.loc9_5 -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.f2c) [concrete = constants.%ImplicitAs.facet] -// CHECK:STDOUT: %.loc9_5.1: %ImplicitAs.type.d35 = converted Core.IntLiteral, %ImplicitAs.facet [concrete = constants.%ImplicitAs.facet] -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc9_5, @Cpp.long_long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.22f330.1] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.59e) [concrete = constants.%ImplicitAs.facet] +// CHECK:STDOUT: %.loc9_5.1: %ImplicitAs.type.fb7 = converted Core.IntLiteral, %ImplicitAs.facet [concrete = constants.%ImplicitAs.facet] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc9_5, @Cpp.long_long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.53d41c.1] // CHECK:STDOUT: %bound_method.loc9_5.2: = bound_method %a.ref, %specific_fn -// CHECK:STDOUT: %.loc9_5.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.ce687d.1 = specific_constant imports.%Core.Op.d67, @Cpp.long_long.as.AddAssignWith.impl(constants.%ImplicitAs.facet) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.ce7447.1] -// CHECK:STDOUT: %Op.ref: %Cpp.long_long.as.AddAssignWith.impl.Op.type.ce687d.1 = name_ref Op, %.loc9_5.2 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.ce7447.1] +// CHECK:STDOUT: %.loc9_5.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.591f8a.1 = specific_constant imports.%Core.Op.e51, @Cpp.long_long.as.AddAssignWith.impl(constants.%ImplicitAs.facet) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.2e5ecf.1] +// CHECK:STDOUT: %Op.ref: %Cpp.long_long.as.AddAssignWith.impl.Op.type.591f8a.1 = name_ref Op, %.loc9_5.2 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.2e5ecf.1] // CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.bound: = bound_method %a.ref, %Op.ref -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref, @Cpp.long_long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.22f330.2] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref, @Cpp.long_long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.53d41c.2] // CHECK:STDOUT: %bound_method.loc9_5.3: = bound_method %a.ref, %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc9_8: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc9_8: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc9_8: = bound_method %int_1.loc9, %impl.elem0.loc9_8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long_long = call %bound_method.loc9_8(%int_1.loc9) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc9_8.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc9_8.2: %Cpp.long_long = converted %int_1.loc9, %.loc9_8.1 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %Cpp.long_long = call %bound_method.loc9_8(%int_1.loc9) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc9_8.1: %Cpp.long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc9_8.2: %Cpp.long_long = converted %int_1.loc9, %.loc9_8.1 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc9_5.3(%a.ref, %.loc9_8.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -3312,56 +3312,56 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] // CHECK:STDOUT: %i64.builtin: type = int_type signed, %int_64 [concrete] -// CHECK:STDOUT: %pattern_type.e6e: type = pattern_type %Cpp.long_long [concrete] +// CHECK:STDOUT: %pattern_type.003: type = pattern_type %Cpp.long_long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.d35: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.type.e82: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f2c: = impl_witness imports.%ImplicitAs.impl_witness_table.715 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.232: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.f2c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.52b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.232) [concrete] -// CHECK:STDOUT: %.b38: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.52b, %ImplicitAs.facet.232 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.fb7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.08a: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.59e: = impl_witness imports.%ImplicitAs.impl_witness_table.337 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.532: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.59e) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f1d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.532) [concrete] +// CHECK:STDOUT: %.424: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f1d, %ImplicitAs.facet.532 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.1 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce [concrete] -// CHECK:STDOUT: %int_1.526: %Cpp.long_long = int_value 1 [concrete] -// CHECK:STDOUT: %pattern_type.c8a: type = pattern_type %i64 [concrete] +// CHECK:STDOUT: %int_1.8b4: %Cpp.long_long = int_value 1 [concrete] +// CHECK:STDOUT: %pattern_type.fdd: type = pattern_type %i64 [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.0da(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.a33: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl.0da(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.d03: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.0da(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.d03 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.b11: %ImplicitAs.type.e82 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.a33) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.486: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i64, %ImplicitAs.facet.b11) [concrete] -// CHECK:STDOUT: %.036: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.486, %ImplicitAs.facet.b11 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.93d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6, @Core.IntLiteral.as.ImplicitAs.impl.Convert.2(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.4e8(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.35c: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl.4e8(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.fc2: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.4e8(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.fc2 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.8a1: %ImplicitAs.type.08a = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.35c) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.744: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i64, %ImplicitAs.facet.8a1) [concrete] +// CHECK:STDOUT: %.d4c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.744, %ImplicitAs.facet.8a1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.37e: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5, @Core.IntLiteral.as.ImplicitAs.impl.Convert.2(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.9e7: %i64 = int_value 1 [concrete] -// CHECK:STDOUT: %AddAssignWith.type.1bd: type = facet_type <@AddAssignWith, @AddAssignWith(%i64)> [concrete] -// CHECK:STDOUT: %U.dc5: %ImplicitAs.type.d35 = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.1 = struct_value () [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%U.dc5) [symbolic] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.2 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.155: = impl_witness imports.%ImplicitAs.impl_witness_table.f80 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.7e4: %ImplicitAs.type.d35 = facet_value %i64, (%ImplicitAs.impl_witness.155) [concrete] -// CHECK:STDOUT: %AddAssignWith.impl_witness.77e: = impl_witness imports.%AddAssignWith.impl_witness_table.40d, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b10391.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b10391.1 = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b10391.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b10391.2 = struct_value () [concrete] -// CHECK:STDOUT: %AddAssignWith.facet.56f: %AddAssignWith.type.1bd = facet_value %Cpp.long_long, (%AddAssignWith.impl_witness.77e) [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.c06: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%i64, %AddAssignWith.facet.56f) [concrete] -// CHECK:STDOUT: %.0db: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.c06, %AddAssignWith.facet.56f [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.73d536.1: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.2, @Cpp.long_long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.73d536.2: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.1, @Cpp.long_long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.fe4: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.7e4) [concrete] -// CHECK:STDOUT: %.5c4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.fe4, %ImplicitAs.facet.7e4 [concrete] +// CHECK:STDOUT: %int_1.0f3: %i64 = int_value 1 [concrete] +// CHECK:STDOUT: %AddAssignWith.type.823: type = facet_type <@AddAssignWith, @AddAssignWith(%i64)> [concrete] +// CHECK:STDOUT: %U.ec6: %ImplicitAs.type.fb7 = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.1 = struct_value () [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%U.ec6) [symbolic] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.2 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.811: = impl_witness imports.%ImplicitAs.impl_witness_table.7ed [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.a8b: %ImplicitAs.type.fb7 = facet_value %i64, (%ImplicitAs.impl_witness.811) [concrete] +// CHECK:STDOUT: %AddAssignWith.impl_witness.144: = impl_witness imports.%AddAssignWith.impl_witness_table.c98, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.07766d.1: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.2, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.80979a.1: %Cpp.long_long.as.AddAssignWith.impl.Op.type.07766d.1 = struct_value () [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.type.07766d.2: type = fn_type @Cpp.long_long.as.AddAssignWith.impl.Op.1, @Cpp.long_long.as.AddAssignWith.impl(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.80979a.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.07766d.2 = struct_value () [concrete] +// CHECK:STDOUT: %AddAssignWith.facet.e1d: %AddAssignWith.type.823 = facet_value %Cpp.long_long, (%AddAssignWith.impl_witness.144) [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.f25: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%i64, %AddAssignWith.facet.e1d) [concrete] +// CHECK:STDOUT: %.47e: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.f25, %AddAssignWith.facet.e1d [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.34f4c5.1: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.80979a.2, @Cpp.long_long.as.AddAssignWith.impl.Op.1(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.34f4c5.2: = specific_function %Cpp.long_long.as.AddAssignWith.impl.Op.80979a.1, @Cpp.long_long.as.AddAssignWith.impl.Op.2(%ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.442: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet.a8b) [concrete] +// CHECK:STDOUT: %.77c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.442, %ImplicitAs.facet.a8b [concrete] // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.type: type = fn_type @i64.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert: %i64.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3369,29 +3369,29 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: .long_long = constants.%Cpp.long_long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b339.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.715 = impl_witness_table (%Core.import_ref.67b339.1), @Core.IntLiteral.as.ImplicitAs.impl.c6f [concrete] -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.0da.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.0da.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl.0da [concrete] -// CHECK:STDOUT: %Core.import_ref.514: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.1)] -// CHECK:STDOUT: %AddAssignWith.impl_witness_table.40d = impl_witness_table (%Core.import_ref.514), @Cpp.long_long.as.AddAssignWith.impl [concrete] -// CHECK:STDOUT: %Core.Op.d67: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.c350dd.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.c8ed24.2)] -// CHECK:STDOUT: %Core.import_ref.67b339.2: %i64.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i64.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.f80 = impl_witness_table (%Core.import_ref.67b339.2), @i64.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.337 = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.ImplicitAs.impl.74b [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.4e8.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.4e8.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl.4e8 [concrete] +// CHECK:STDOUT: %Core.import_ref.8bf: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.2 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.1) = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.2 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.1)] +// CHECK:STDOUT: %AddAssignWith.impl_witness_table.c98 = impl_witness_table (%Core.import_ref.8bf), @Cpp.long_long.as.AddAssignWith.impl [concrete] +// CHECK:STDOUT: %Core.Op.e51: @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.type.1 (%Cpp.long_long.as.AddAssignWith.impl.Op.type.b43934.2) = import_ref Core//prelude/types/cpp/int, Op, loaded [symbolic = @Cpp.long_long.as.AddAssignWith.impl.%Cpp.long_long.as.AddAssignWith.impl.Op.1 (constants.%Cpp.long_long.as.AddAssignWith.impl.Op.e0ed43.2)] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %i64.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.7ed = impl_witness_table (%Core.import_ref.adef5f.2), @i64.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CompoundAssignmentLongLongAndRuntimeI64() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e6e = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.e6e = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.003 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.003 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.long_long = var %a.var_patt // CHECK:STDOUT: %int_1.loc8: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc8: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1.loc8, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long_long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc8_3: init %Cpp.long_long = converted %int_1.loc8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %Cpp.long_long = call %bound_method.loc8(%int_1.loc8) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc8_3: init %Cpp.long_long = converted %int_1.loc8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.8b4] // CHECK:STDOUT: assign %a.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %long_long.ref [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -3399,38 +3399,38 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %Cpp.long_long = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c8a = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.fdd = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc9: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i64: type = type_literal constants.%i64 [concrete = constants.%i64] -// CHECK:STDOUT: %impl.elem0.loc9: %.036 = impl_witness_access constants.%ImplicitAs.impl_witness.a33, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bb6] -// CHECK:STDOUT: %bound_method.loc9_16.1: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.93d] +// CHECK:STDOUT: %impl.elem0.loc9: %.d4c = impl_witness_access constants.%ImplicitAs.impl_witness.35c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.fc5] +// CHECK:STDOUT: %bound_method.loc9_16.1: = bound_method %int_1.loc9, %impl.elem0.loc9 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.37e] // CHECK:STDOUT: %specific_fn.loc9: = specific_function %impl.elem0.loc9, @Core.IntLiteral.as.ImplicitAs.impl.Convert.2(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc9_16.2: = bound_method %int_1.loc9, %specific_fn.loc9 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i64 = call %bound_method.loc9_16.2(%int_1.loc9) [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc9_16.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.9e7] -// CHECK:STDOUT: %.loc9_16.2: %i64 = converted %int_1.loc9, %.loc9_16.1 [concrete = constants.%int_1.9e7] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i64 = call %bound_method.loc9_16.2(%int_1.loc9) [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc9_16.1: %i64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_1.0f3] +// CHECK:STDOUT: %.loc9_16.2: %i64 = converted %int_1.loc9, %.loc9_16.1 [concrete = constants.%int_1.0f3] // CHECK:STDOUT: %b: %i64 = value_binding b, %.loc9_16.2 // CHECK:STDOUT: %a.ref: ref %Cpp.long_long = name_ref a, %a // CHECK:STDOUT: %b.ref: %i64 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0.loc10_5: %.0db = impl_witness_access constants.%AddAssignWith.impl_witness.77e, element0 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.2] +// CHECK:STDOUT: %impl.elem0.loc10_5: %.47e = impl_witness_access constants.%AddAssignWith.impl_witness.144, element0 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.80979a.2] // CHECK:STDOUT: %bound_method.loc10_5.1: = bound_method %a.ref, %impl.elem0.loc10_5 -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.d35 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.155) [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %.loc10_5.1: %ImplicitAs.type.d35 = converted constants.%i64, %ImplicitAs.facet [concrete = constants.%ImplicitAs.facet.7e4] -// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @Cpp.long_long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.73d536.1] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.fb7 = facet_value constants.%i64, (constants.%ImplicitAs.impl_witness.811) [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %.loc10_5.1: %ImplicitAs.type.fb7 = converted constants.%i64, %ImplicitAs.facet [concrete = constants.%ImplicitAs.facet.a8b] +// CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_5, @Cpp.long_long.as.AddAssignWith.impl.Op.1(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.34f4c5.1] // CHECK:STDOUT: %bound_method.loc10_5.2: = bound_method %a.ref, %specific_fn.loc10 -// CHECK:STDOUT: %.loc10_5.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b10391.1 = specific_constant imports.%Core.Op.d67, @Cpp.long_long.as.AddAssignWith.impl(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.1] -// CHECK:STDOUT: %Op.ref: %Cpp.long_long.as.AddAssignWith.impl.Op.type.b10391.1 = name_ref Op, %.loc10_5.2 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.d344cc.1] +// CHECK:STDOUT: %.loc10_5.2: %Cpp.long_long.as.AddAssignWith.impl.Op.type.07766d.1 = specific_constant imports.%Core.Op.e51, @Cpp.long_long.as.AddAssignWith.impl(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.80979a.1] +// CHECK:STDOUT: %Op.ref: %Cpp.long_long.as.AddAssignWith.impl.Op.type.07766d.1 = name_ref Op, %.loc10_5.2 [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.80979a.1] // CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.bound: = bound_method %a.ref, %Op.ref -// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref, @Cpp.long_long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet.7e4) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.73d536.2] +// CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn: = specific_function %Op.ref, @Cpp.long_long.as.AddAssignWith.impl.Op.2(constants.%ImplicitAs.facet.a8b) [concrete = constants.%Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn.34f4c5.2] // CHECK:STDOUT: %bound_method.loc10_5.3: = bound_method %a.ref, %Cpp.long_long.as.AddAssignWith.impl.Op.specific_fn -// CHECK:STDOUT: %impl.elem0.loc10_8: %.5c4 = impl_witness_access constants.%ImplicitAs.impl_witness.155, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc10_8: %.77c = impl_witness_access constants.%ImplicitAs.impl_witness.811, element0 [concrete = constants.%i64.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc10_8: = bound_method %b.ref, %impl.elem0.loc10_8 // CHECK:STDOUT: %i64.as.ImplicitAs.impl.Convert.call: init %Cpp.long_long = call %bound_method.loc10_8(%b.ref) // CHECK:STDOUT: %.loc10_8.1: %Cpp.long_long = value_of_initializer %i64.as.ImplicitAs.impl.Convert.call // CHECK:STDOUT: %.loc10_8.2: %Cpp.long_long = converted %b.ref, %.loc10_8.1 // CHECK:STDOUT: %Cpp.long_long.as.AddAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method.loc10_5.3(%a.ref, %.loc10_8.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -3449,33 +3449,33 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.long_long: type = class_type @LongLong64 [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %i64.builtin: type = int_type signed, %int_64 [concrete] -// CHECK:STDOUT: %pattern_type.e6e: type = pattern_type %Cpp.long_long [concrete] +// CHECK:STDOUT: %pattern_type.003: type = pattern_type %Cpp.long_long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.d35: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.f2c: = impl_witness imports.%ImplicitAs.impl_witness_table.715 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.d35 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.f2c) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.52b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.b38: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.52b, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.type.fb7: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.long_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.59e: = impl_witness imports.%ImplicitAs.impl_witness_table.337 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.fb7 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.59e) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f1d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.long_long, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.424: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f1d, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.526: %Cpp.long_long = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.8b4: %Cpp.long_long = int_value 1 [concrete] // CHECK:STDOUT: %Inc.type: type = facet_type <@Inc> [concrete] // CHECK:STDOUT: %Inc.impl_witness: = impl_witness imports.%Inc.impl_witness_table [concrete] // CHECK:STDOUT: %Inc.facet: %Inc.type = facet_value %Cpp.long_long, (%Inc.impl_witness) [concrete] -// CHECK:STDOUT: %Inc.WithSelf.Op.type.ecb: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet) [concrete] -// CHECK:STDOUT: %.664: type = fn_type_with_self_type %Inc.WithSelf.Op.type.ecb, %Inc.facet [concrete] +// CHECK:STDOUT: %Inc.WithSelf.Op.type.865: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet) [concrete] +// CHECK:STDOUT: %.bfd: type = fn_type_with_self_type %Inc.WithSelf.Op.type.865, %Inc.facet [concrete] // CHECK:STDOUT: %Cpp.long_long.as.Inc.impl.Op.type: type = fn_type @Cpp.long_long.as.Inc.impl.Op [concrete] // CHECK:STDOUT: %Cpp.long_long.as.Inc.impl.Op: %Cpp.long_long.as.Inc.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Dec.type: type = facet_type <@Dec> [concrete] // CHECK:STDOUT: %Dec.impl_witness: = impl_witness imports.%Dec.impl_witness_table [concrete] // CHECK:STDOUT: %Dec.facet: %Dec.type = facet_value %Cpp.long_long, (%Dec.impl_witness) [concrete] -// CHECK:STDOUT: %Dec.WithSelf.Op.type.823: type = fn_type @Dec.WithSelf.Op, @Dec.WithSelf(%Dec.facet) [concrete] -// CHECK:STDOUT: %.e02: type = fn_type_with_self_type %Dec.WithSelf.Op.type.823, %Dec.facet [concrete] +// CHECK:STDOUT: %Dec.WithSelf.Op.type.39f: type = fn_type @Dec.WithSelf.Op, @Dec.WithSelf(%Dec.facet) [concrete] +// CHECK:STDOUT: %.1ca: type = fn_type_with_self_type %Dec.WithSelf.Op.type.39f, %Dec.facet [concrete] // CHECK:STDOUT: %Cpp.long_long.as.Dec.impl.Op.type: type = fn_type @Cpp.long_long.as.Dec.impl.Op [concrete] // CHECK:STDOUT: %Cpp.long_long.as.Dec.impl.Op: %Cpp.long_long.as.Dec.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3483,26 +3483,26 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: .long_long = constants.%Cpp.long_long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.715 = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.c6f [concrete] -// CHECK:STDOUT: %Core.import_ref.59e3cf.1: %Cpp.long_long.as.Inc.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.Inc.impl.Op] -// CHECK:STDOUT: %Inc.impl_witness_table = impl_witness_table (%Core.import_ref.59e3cf.1), @Cpp.long_long.as.Inc.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.59e3cf.2: %Cpp.long_long.as.Dec.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.Dec.impl.Op] -// CHECK:STDOUT: %Dec.impl_witness_table = impl_witness_table (%Core.import_ref.59e3cf.2), @Cpp.long_long.as.Dec.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.337 = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.74b [concrete] +// CHECK:STDOUT: %Core.import_ref.f63b02.1: %Cpp.long_long.as.Inc.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.Inc.impl.Op] +// CHECK:STDOUT: %Inc.impl_witness_table = impl_witness_table (%Core.import_ref.f63b02.1), @Cpp.long_long.as.Inc.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63b02.2: %Cpp.long_long.as.Dec.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.long_long.as.Dec.impl.Op] +// CHECK:STDOUT: %Dec.impl_witness_table = impl_witness_table (%Core.import_ref.f63b02.2), @Cpp.long_long.as.Dec.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @IncrementDecrementLongLong() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e6e = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.e6e = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.003 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.003 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.long_long = var %a.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.b38 = impl_witness_access constants.%ImplicitAs.impl_witness.f2c, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.424 = impl_witness_access constants.%ImplicitAs.impl_witness.59e, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.long_long = call %bound_method.loc8(%int_1) [concrete = constants.%int_1.526] -// CHECK:STDOUT: %.loc8_3: init %Cpp.long_long = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.526] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.long_long = call %bound_method.loc8(%int_1) [concrete = constants.%int_1.8b4] +// CHECK:STDOUT: %.loc8_3: init %Cpp.long_long = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.8b4] // CHECK:STDOUT: assign %a.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %long_long.ref [concrete = constants.%Cpp.long_long] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -3510,14 +3510,14 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %Cpp.long_long = ref_binding a, %a.var // CHECK:STDOUT: %a.ref.loc9: ref %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc9: %.664 = impl_witness_access constants.%Inc.impl_witness, element0 [concrete = constants.%Cpp.long_long.as.Inc.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc9: %.bfd = impl_witness_access constants.%Inc.impl_witness, element0 [concrete = constants.%Cpp.long_long.as.Inc.impl.Op] // CHECK:STDOUT: %bound_method.loc9: = bound_method %a.ref.loc9, %impl.elem0.loc9 // CHECK:STDOUT: %Cpp.long_long.as.Inc.impl.Op.call: init %empty_tuple.type = call %bound_method.loc9(%a.ref.loc9) // CHECK:STDOUT: %a.ref.loc10: ref %Cpp.long_long = name_ref a, %a -// CHECK:STDOUT: %impl.elem0.loc10: %.e02 = impl_witness_access constants.%Dec.impl_witness, element0 [concrete = constants.%Cpp.long_long.as.Dec.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc10: %.1ca = impl_witness_access constants.%Dec.impl_witness, element0 [concrete = constants.%Cpp.long_long.as.Dec.impl.Op] // CHECK:STDOUT: %bound_method.loc10: = bound_method %a.ref.loc10, %impl.elem0.loc10 // CHECK:STDOUT: %Cpp.long_long.as.Dec.impl.Op.call: init %empty_tuple.type = call %bound_method.loc10(%a.ref.loc10) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -3539,22 +3539,22 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %UInt.generic: %UInt.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %u64: type = class_type @UInt, @UInt(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.762: type = pattern_type %Cpp.unsigned_long_long [concrete] +// CHECK:STDOUT: %pattern_type.fae: type = pattern_type %Cpp.unsigned_long_long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.92a: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.unsigned_long_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.377: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.unsigned_long_long)> [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %ImplicitAs.type.704: type = facet_type <@ImplicitAs, @ImplicitAs(%u64)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.53b: = impl_witness imports.%ImplicitAs.impl_witness_table.9ca [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.a34: %ImplicitAs.type.92a = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.53b) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c7c: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.unsigned_long_long, %ImplicitAs.facet.a34) [concrete] -// CHECK:STDOUT: %.b24: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c7c, %ImplicitAs.facet.a34 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.9b6: type = facet_type <@ImplicitAs, @ImplicitAs(%u64)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.b25: = impl_witness imports.%ImplicitAs.impl_witness_table.142 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.8ec: %ImplicitAs.type.377 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.b25) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.3b4: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.unsigned_long_long, %ImplicitAs.facet.8ec) [concrete] +// CHECK:STDOUT: %.88e: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.3b4, %ImplicitAs.facet.8ec [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.1 [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce [concrete] -// CHECK:STDOUT: %int_1.c4d: %Cpp.unsigned_long_long = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.7f2: %Cpp.unsigned_long_long = int_value 1 [concrete] // CHECK:STDOUT: %ULongLongResult: type = class_type @ULongLongResult [concrete] // CHECK:STDOUT: %pattern_type.b26: type = pattern_type %ULongLongResult [concrete] // CHECK:STDOUT: %PassULongLong.cpp_overload_set.type: type = cpp_overload_set_type @PassULongLong.cpp_overload_set [concrete] @@ -3562,20 +3562,20 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %ptr.040: type = ptr_type %ULongLongResult [concrete] // CHECK:STDOUT: %PassULongLong__carbon_thunk.type.5cbe77.1: type = fn_type @PassULongLong__carbon_thunk.1 [concrete] // CHECK:STDOUT: %PassULongLong__carbon_thunk.fb9213.1: %PassULongLong__carbon_thunk.type.5cbe77.1 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.bb8: type = pattern_type %u64 [concrete] +// CHECK:STDOUT: %pattern_type.597: type = pattern_type %u64 [concrete] // CHECK:STDOUT: %To.fe9: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.f1e(%To.fe9) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.093: = impl_witness imports.%ImplicitAs.impl_witness_table.c97, @Core.IntLiteral.as.ImplicitAs.impl.f1e(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.de8: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.f1e(%int_64) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.3e4: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.de8 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.338: %ImplicitAs.type.704 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.093) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.25c: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u64, %ImplicitAs.facet.338) [concrete] -// CHECK:STDOUT: %.f05: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.25c, %ImplicitAs.facet.338 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b89: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.3e4 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.3e4, @Core.IntLiteral.as.ImplicitAs.impl.Convert.2(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.818: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.21a: %u64 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.501(%To.fe9) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.498: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.248: = impl_witness imports.%ImplicitAs.impl_witness_table.0c6, @Core.IntLiteral.as.ImplicitAs.impl.501(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.dbe: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert.2, @Core.IntLiteral.as.ImplicitAs.impl.501(%int_64) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.b79: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.dbe = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.b50: %ImplicitAs.type.9b6 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.248) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.a9d: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%u64, %ImplicitAs.facet.b50) [concrete] +// CHECK:STDOUT: %.200: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.a9d, %ImplicitAs.facet.b50 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.74b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.b79 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.b79, @Core.IntLiteral.as.ImplicitAs.impl.Convert.2(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.231: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.8a8: %u64 = int_value 1 [concrete] // CHECK:STDOUT: %ULongResult: type = class_type @ULongResult [concrete] // CHECK:STDOUT: %pattern_type.66d: type = pattern_type %ULongResult [concrete] // CHECK:STDOUT: %ptr.175: type = ptr_type %ULongResult [concrete] @@ -3583,48 +3583,48 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %PassULongLong__carbon_thunk.fb9213.2: %PassULongLong__carbon_thunk.type.5cbe77.2 = struct_value () [concrete] // CHECK:STDOUT: %Float.type: type = generic_class_type @Float [concrete] // CHECK:STDOUT: %Float.generic: %Float.type = struct_value () [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.94a: type = facet_type <@As, @As(%Cpp.unsigned_long_long)> [concrete] -// CHECK:STDOUT: %As.impl_witness.836: = impl_witness imports.%As.impl_witness_table.216 [concrete] -// CHECK:STDOUT: %As.facet: %As.type.94a = facet_value Core.IntLiteral, (%As.impl_witness.836) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.ffd: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%Cpp.unsigned_long_long, %As.facet) [concrete] -// CHECK:STDOUT: %.ee4: type = fn_type_with_self_type %As.WithSelf.Convert.type.ffd, %As.facet [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.ca1: type = facet_type <@As, @As(%Cpp.unsigned_long_long)> [concrete] +// CHECK:STDOUT: %As.impl_witness.6fb: = impl_witness imports.%As.impl_witness_table.846 [concrete] +// CHECK:STDOUT: %As.facet: %As.type.ca1 = facet_value Core.IntLiteral, (%As.impl_witness.6fb) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.6ac: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%Cpp.unsigned_long_long, %As.facet) [concrete] +// CHECK:STDOUT: %.7b2: type = fn_type_with_self_type %As.WithSelf.Convert.type.6ac, %As.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type: type = fn_type @Core.IntLiteral.as.As.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert: %Core.IntLiteral.as.As.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.384: = impl_witness imports.%ImplicitAs.impl_witness_table.768 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.fc2: %ImplicitAs.type.4bd = facet_value %Cpp.unsigned_long_long, (%ImplicitAs.impl_witness.384) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.a3a: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.fc2) [concrete] -// CHECK:STDOUT: %.beb: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.a3a, %ImplicitAs.facet.fc2 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.f7e: = impl_witness imports.%ImplicitAs.impl_witness_table.1a4 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.d2a: %ImplicitAs.type.ace = facet_value %Cpp.unsigned_long_long, (%ImplicitAs.impl_witness.f7e) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.bdf: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.d2a) [concrete] +// CHECK:STDOUT: %.ed4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.bdf, %ImplicitAs.facet.d2a [concrete] // CHECK:STDOUT: %Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert.type: type = fn_type @Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert: %Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.c4d, %Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.750 [concrete] +// CHECK:STDOUT: %Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.7f2, %Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert [concrete] +// CHECK:STDOUT: %array_type: type = array_type %int_1.5b8, %f32.a26 [concrete] // CHECK:STDOUT: %f32.9b3: type = float_type %int_32, f32 [concrete] -// CHECK:STDOUT: %pattern_type.ee6: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.aab: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %float.6da: Core.FloatLiteral = float_literal_value 10e-1 [concrete] // CHECK:STDOUT: %tuple.type: type = tuple_type (Core.FloatLiteral) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%float.6da) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.1dd: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.750)> [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.bfc: = impl_witness imports.%ImplicitAs.impl_witness_table.3c0, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.b89 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.9f5: %ImplicitAs.type.1dd = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.bfc) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.68e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.750, %ImplicitAs.facet.9f5) [concrete] -// CHECK:STDOUT: %.28b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.68e, %ImplicitAs.facet.9f5 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.5a8: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.467: %f32.750 = float_value 1 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%float.467) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.d0d: type = facet_type <@ImplicitAs, @ImplicitAs(%f32.a26)> [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%N) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.65d: = impl_witness imports.%ImplicitAs.impl_witness_table.234, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.f03 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.82a: %ImplicitAs.type.d0d = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.65d) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c87: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f32.a26, %ImplicitAs.facet.82a) [concrete] +// CHECK:STDOUT: %.3a8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c87, %ImplicitAs.facet.82a [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.aaa: = bound_method %float.6da, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.2ec: %f32.a26 = float_value 1 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%float.2ec) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc24_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc24_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: %ULongResult.cpp_destructor.type: type = fn_type @ULongResult.cpp_destructor [concrete] // CHECK:STDOUT: %ULongResult.cpp_destructor: %ULongResult.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: %ULongLongResult.cpp_destructor.type: type = fn_type @ULongLongResult.cpp_destructor [concrete] @@ -3633,7 +3633,7 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Core: = namespace file.%Core.import, [concrete] { -// CHECK:STDOUT: .CppCompat = %CppCompat.69028d.1 +// CHECK:STDOUT: .CppCompat = %CppCompat.463205.1 // CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs // CHECK:STDOUT: .UInt = %Core.UInt // CHECK:STDOUT: .Float = %Core.Float @@ -3650,15 +3650,15 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.CppCompat: = import_ref Core//prelude, CppCompat, loaded -// CHECK:STDOUT: %CppCompat.69028d.1: = namespace %Core.CppCompat, [concrete] { +// CHECK:STDOUT: %CppCompat.463205.1: = namespace %Core.CppCompat, [concrete] { // CHECK:STDOUT: .ULongLong64 = %Core.ULongLong64 // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.ULongLong64: type = import_ref Core//prelude/types/cpp/int, ULongLong64, loaded [concrete = constants.%Cpp.unsigned_long_long] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.67b339.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.9ca = impl_witness_table (%Core.import_ref.67b339.1), @Core.IntLiteral.as.ImplicitAs.impl.3c4 [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/operators/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.adef5f.1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ae6 = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.142 = impl_witness_table (%Core.import_ref.adef5f.1), @Core.IntLiteral.as.ImplicitAs.impl.194 [concrete] // CHECK:STDOUT: %ULongLongResult.decl: type = class_decl @ULongLongResult [concrete = constants.%ULongLongResult] {} {} // CHECK:STDOUT: %PassULongLong.cpp_overload_set.value: %PassULongLong.cpp_overload_set.type = cpp_overload_set_value @PassULongLong.cpp_overload_set [concrete = constants.%PassULongLong.cpp_overload_set.value] // CHECK:STDOUT: %PassULongLong__carbon_thunk.decl.1b9bd8.1: %PassULongLong__carbon_thunk.type.5cbe77.1 = fn_decl @PassULongLong__carbon_thunk.1 [concrete = constants.%PassULongLong__carbon_thunk.fb9213.1] { @@ -3667,8 +3667,8 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: %Core.UInt: %UInt.type = import_ref Core//prelude/types/uint, UInt, loaded [concrete = constants.%UInt.generic] -// CHECK:STDOUT: %Core.import_ref.0ae: @Core.IntLiteral.as.ImplicitAs.impl.f1e.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.a01) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.f1e.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.d3a)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.c97 = impl_witness_table (%Core.import_ref.0ae), @Core.IntLiteral.as.ImplicitAs.impl.f1e [concrete] +// CHECK:STDOUT: %Core.import_ref.e9f: @Core.IntLiteral.as.ImplicitAs.impl.501.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.eb6) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.501.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.498)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0c6 = impl_witness_table (%Core.import_ref.e9f), @Core.IntLiteral.as.ImplicitAs.impl.501 [concrete] // CHECK:STDOUT: %ULongResult.decl: type = class_decl @ULongResult [concrete = constants.%ULongResult] {} {} // CHECK:STDOUT: %PassULongLong__carbon_thunk.decl.1b9bd8.2: %PassULongLong__carbon_thunk.type.5cbe77.2 = fn_decl @PassULongLong__carbon_thunk.2 [concrete = constants.%PassULongLong__carbon_thunk.fb9213.2] { // CHECK:STDOUT: @@ -3676,31 +3676,31 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Float: %Float.type = import_ref Core//prelude/types/float, Float, loaded [concrete = constants.%Float.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/operators/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.67b339.2: %Core.IntLiteral.as.As.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] -// CHECK:STDOUT: %As.impl_witness_table.216 = impl_witness_table (%Core.import_ref.67b339.2), @Core.IntLiteral.as.As.impl.9b0 [concrete] -// CHECK:STDOUT: %Core.import_ref.67b339.3: %Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.768 = impl_witness_table (%Core.import_ref.67b339.3), @Cpp.unsigned_long_long.as.ImplicitAs.impl.171 [concrete] -// CHECK:STDOUT: %Core.import_ref.831: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.3c0 = impl_witness_table (%Core.import_ref.831), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/operators/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.adef5f.2: %Core.IntLiteral.as.As.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %As.impl_witness_table.846 = impl_witness_table (%Core.import_ref.adef5f.2), @Core.IntLiteral.as.As.impl.0c0 [concrete] +// CHECK:STDOUT: %Core.import_ref.adef5f.3: %Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a4 = impl_witness_table (%Core.import_ref.adef5f.3), @Cpp.unsigned_long_long.as.ImplicitAs.impl.3d6 [concrete] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.234 = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_unsigned_long_long.patt: %pattern_type.762 = value_binding_pattern cpp_unsigned_long_long [concrete] +// CHECK:STDOUT: %cpp_unsigned_long_long.patt: %pattern_type.fae = value_binding_pattern cpp_unsigned_long_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc15: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc15_34: type = splice_block %unsigned_long_long.ref.loc15 [concrete = constants.%Cpp.unsigned_long_long] { // CHECK:STDOUT: %Cpp.ref.loc15: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %unsigned_long_long.ref.loc15: type = name_ref unsigned_long_long, constants.%Cpp.unsigned_long_long [concrete = constants.%Cpp.unsigned_long_long] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc15: %.b24 = impl_witness_access constants.%ImplicitAs.impl_witness.53b, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] +// CHECK:STDOUT: %impl.elem0.loc15: %.88e = impl_witness_access constants.%ImplicitAs.impl_witness.b25, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3ce] // CHECK:STDOUT: %bound_method.loc15: = bound_method %int_1.loc15, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5d7] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %Cpp.unsigned_long_long = call %bound_method.loc15(%int_1.loc15) [concrete = constants.%int_1.c4d] -// CHECK:STDOUT: %.loc15_56.1: %Cpp.unsigned_long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_1.c4d] -// CHECK:STDOUT: %.loc15_56.2: %Cpp.unsigned_long_long = converted %int_1.loc15, %.loc15_56.1 [concrete = constants.%int_1.c4d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15: init %Cpp.unsigned_long_long = call %bound_method.loc15(%int_1.loc15) [concrete = constants.%int_1.7f2] +// CHECK:STDOUT: %.loc15_56.1: %Cpp.unsigned_long_long = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15 [concrete = constants.%int_1.7f2] +// CHECK:STDOUT: %.loc15_56.2: %Cpp.unsigned_long_long = converted %int_1.loc15, %.loc15_56.1 [concrete = constants.%int_1.7f2] // CHECK:STDOUT: %cpp_unsigned_long_long: %Cpp.unsigned_long_long = value_binding cpp_unsigned_long_long, %.loc15_56.2 // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %cpp_unsigned_long_long_result.patt: %pattern_type.b26 = value_binding_pattern cpp_unsigned_long_long_result [concrete] @@ -3720,12 +3720,12 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %.loc16_107.4: %ULongLongResult = acquire_value %.loc16_107.3 // CHECK:STDOUT: %cpp_unsigned_long_long_result: %ULongLongResult = value_binding cpp_unsigned_long_long_result, %.loc16_107.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %cpp_compat_ulong_long.patt: %pattern_type.762 = value_binding_pattern cpp_compat_ulong_long [concrete] +// CHECK:STDOUT: %cpp_compat_ulong_long.patt: %pattern_type.fae = value_binding_pattern cpp_compat_ulong_long [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_unsigned_long_long.ref.loc18: %Cpp.unsigned_long_long = name_ref cpp_unsigned_long_long, %cpp_unsigned_long_long // CHECK:STDOUT: %.loc18: type = splice_block %ULongLong64.ref [concrete = constants.%Cpp.unsigned_long_long] { // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %CppCompat.ref: = name_ref CppCompat, imports.%CppCompat.69028d.1 [concrete = imports.%CppCompat.69028d.1] +// CHECK:STDOUT: %CppCompat.ref: = name_ref CppCompat, imports.%CppCompat.463205.1 [concrete = imports.%CppCompat.463205.1] // CHECK:STDOUT: %ULongLong64.ref: type = name_ref ULongLong64, imports.%Core.ULongLong64 [concrete = constants.%Cpp.unsigned_long_long] // CHECK:STDOUT: } // CHECK:STDOUT: %cpp_compat_ulong_long: %Cpp.unsigned_long_long = value_binding cpp_compat_ulong_long, %cpp_unsigned_long_long.ref.loc18 @@ -3747,17 +3747,17 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %.loc19_105.4: %ULongLongResult = acquire_value %.loc19_105.3 // CHECK:STDOUT: %cpp_compat_ulong_long_result: %ULongLongResult = value_binding cpp_compat_ulong_long_result, %.loc19_105.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %carbon_u64.patt: %pattern_type.bb8 = value_binding_pattern carbon_u64 [concrete] +// CHECK:STDOUT: %carbon_u64.patt: %pattern_type.597 = value_binding_pattern carbon_u64 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1.loc21: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %u64: type = type_literal constants.%u64 [concrete = constants.%u64] -// CHECK:STDOUT: %impl.elem0.loc21: %.f05 = impl_witness_access constants.%ImplicitAs.impl_witness.093, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.3e4] -// CHECK:STDOUT: %bound_method.loc21_25.1: = bound_method %int_1.loc21, %impl.elem0.loc21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b89] +// CHECK:STDOUT: %impl.elem0.loc21: %.200 = impl_witness_access constants.%ImplicitAs.impl_witness.248, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.b79] +// CHECK:STDOUT: %bound_method.loc21_25.1: = bound_method %int_1.loc21, %impl.elem0.loc21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.74b] // CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem0.loc21, @Core.IntLiteral.as.ImplicitAs.impl.Convert.2(constants.%int_64) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc21_25.2: = bound_method %int_1.loc21, %specific_fn.loc21 [concrete = constants.%bound_method.818] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %u64 = call %bound_method.loc21_25.2(%int_1.loc21) [concrete = constants.%int_1.21a] -// CHECK:STDOUT: %.loc21_25.1: %u64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.21a] -// CHECK:STDOUT: %.loc21_25.2: %u64 = converted %int_1.loc21, %.loc21_25.1 [concrete = constants.%int_1.21a] +// CHECK:STDOUT: %bound_method.loc21_25.2: = bound_method %int_1.loc21, %specific_fn.loc21 [concrete = constants.%bound_method.231] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %u64 = call %bound_method.loc21_25.2(%int_1.loc21) [concrete = constants.%int_1.8a8] +// CHECK:STDOUT: %.loc21_25.1: %u64 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_1.8a8] +// CHECK:STDOUT: %.loc21_25.2: %u64 = converted %int_1.loc21, %.loc21_25.1 [concrete = constants.%int_1.8a8] // CHECK:STDOUT: %carbon_u64: %u64 = value_binding carbon_u64, %.loc21_25.2 // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %carbon_u64_result.patt: %pattern_type.66d = value_binding_pattern carbon_u64_result [concrete] @@ -3777,35 +3777,35 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %.loc22_79.4: %ULongResult = acquire_value %.loc22_79.3 // CHECK:STDOUT: %carbon_u64_result: %ULongResult = value_binding carbon_u64_result, %.loc22_79.4 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.ee6 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.ee6 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.aab = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.aab = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %array_type = var %a.var_patt // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete = constants.%float.6da] // CHECK:STDOUT: %.loc24_64.1: %tuple.type = tuple_literal (%float) [concrete = constants.%tuple] -// CHECK:STDOUT: %impl.elem0.loc24_64: %.28b = impl_witness_access constants.%ImplicitAs.impl_witness.bfc, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.b05] +// CHECK:STDOUT: %impl.elem0.loc24_64: %.3a8 = impl_witness_access constants.%ImplicitAs.impl_witness.65d, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.2cd] // CHECK:STDOUT: %bound_method.loc24_64.1: = bound_method %float, %impl.elem0.loc24_64 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc24: = specific_function %impl.elem0.loc24_64, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc24_64.2: = bound_method %float, %specific_fn.loc24 [concrete = constants.%bound_method.5a8] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.750 = call %bound_method.loc24_64.2(%float) [concrete = constants.%float.467] -// CHECK:STDOUT: %.loc24_64.2: init %f32.750 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.467] +// CHECK:STDOUT: %bound_method.loc24_64.2: = bound_method %float, %specific_fn.loc24 [concrete = constants.%bound_method.aaa] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f32.a26 = call %bound_method.loc24_64.2(%float) [concrete = constants.%float.2ec] +// CHECK:STDOUT: %.loc24_64.2: init %f32.a26 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.2ec] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %.loc24_64.3: ref %f32.750 = array_index %a.var, %int_0 -// CHECK:STDOUT: %.loc24_64.4: init %f32.750 to %.loc24_64.3 = in_place_init %.loc24_64.2 [concrete = constants.%float.467] +// CHECK:STDOUT: %.loc24_64.3: ref %f32.a26 = array_index %a.var, %int_0 +// CHECK:STDOUT: %.loc24_64.4: init %f32.a26 to %.loc24_64.3 = in_place_init %.loc24_64.2 [concrete = constants.%float.2ec] // CHECK:STDOUT: %.loc24_64.5: init %array_type to %a.var = array_init (%.loc24_64.4) [concrete = constants.%array] // CHECK:STDOUT: %.loc24_3: init %array_type = converted %.loc24_64.1, %.loc24_64.5 [concrete = constants.%array] // CHECK:STDOUT: assign %a.var, %.loc24_3 // CHECK:STDOUT: %.loc24_55: type = splice_block %array_type [concrete = constants.%array_type] { -// CHECK:STDOUT: %f32: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] +// CHECK:STDOUT: %f32: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] // CHECK:STDOUT: %int_1.loc24: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %Cpp.ref.loc24: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %unsigned_long_long.ref.loc24: type = name_ref unsigned_long_long, constants.%Cpp.unsigned_long_long [concrete = constants.%Cpp.unsigned_long_long] -// CHECK:STDOUT: %impl.elem0.loc24_30.1: %.ee4 = impl_witness_access constants.%As.impl_witness.836, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc24_30.1: %.7b2 = impl_witness_access constants.%As.impl_witness.6fb, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert] // CHECK:STDOUT: %bound_method.loc24_30.1: = bound_method %int_1.loc24, %impl.elem0.loc24_30.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %Cpp.unsigned_long_long = call %bound_method.loc24_30.1(%int_1.loc24) [concrete = constants.%int_1.c4d] -// CHECK:STDOUT: %.loc24_30.1: %Cpp.unsigned_long_long = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.c4d] -// CHECK:STDOUT: %.loc24_30.2: %Cpp.unsigned_long_long = converted %int_1.loc24, %.loc24_30.1 [concrete = constants.%int_1.c4d] -// CHECK:STDOUT: %impl.elem0.loc24_30.2: %.beb = impl_witness_access constants.%ImplicitAs.impl_witness.384, element0 [concrete = constants.%Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %Cpp.unsigned_long_long = call %bound_method.loc24_30.1(%int_1.loc24) [concrete = constants.%int_1.7f2] +// CHECK:STDOUT: %.loc24_30.1: %Cpp.unsigned_long_long = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_1.7f2] +// CHECK:STDOUT: %.loc24_30.2: %Cpp.unsigned_long_long = converted %int_1.loc24, %.loc24_30.1 [concrete = constants.%int_1.7f2] +// CHECK:STDOUT: %impl.elem0.loc24_30.2: %.ed4 = impl_witness_access constants.%ImplicitAs.impl_witness.f7e, element0 [concrete = constants.%Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc24_30.2: = bound_method %.loc24_30.2, %impl.elem0.loc24_30.2 [concrete = constants.%Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert.call: init Core.IntLiteral = call %bound_method.loc24_30.2(%.loc24_30.2) [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc24_30.3: Core.IntLiteral = value_of_initializer %Cpp.unsigned_long_long.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.5b8] @@ -3813,7 +3813,7 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %array_type: type = array_type %.loc24_30.4, %f32 [concrete = constants.%array_type] // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %array_type = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: %ULongResult.cpp_destructor.bound: = bound_method %.loc22_79.3, constants.%ULongResult.cpp_destructor // CHECK:STDOUT: %ULongResult.cpp_destructor.call: init %empty_tuple.type = call %ULongResult.cpp_destructor.bound(%.loc22_79.3) @@ -3826,7 +3826,7 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc24_3.1(%self.param: ref %f32.9b3) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc24_3.2(%self.param: ref %f32.750) { +// CHECK:STDOUT: fn @Destroy.Op.loc24_3.2(%self.param: ref %f32.a26) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -3843,26 +3843,26 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %Cpp.unsigned_long_long: type = class_type @ULongLong64 [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %u64.builtin: type = int_type unsigned, %int_64 [concrete] -// CHECK:STDOUT: %pattern_type.762: type = pattern_type %Cpp.unsigned_long_long [concrete] +// CHECK:STDOUT: %pattern_type.fae: type = pattern_type %Cpp.unsigned_long_long [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.92a: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.unsigned_long_long)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.377: type = facet_type <@ImplicitAs, @ImplicitAs(%Cpp.unsigned_long_long)> [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.53b: = impl_witness imports.%ImplicitAs.impl_witness_table.9ca [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.92a = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.53b) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c7c: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.unsigned_long_long, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.b24: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c7c, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.b25: = impl_witness imports.%ImplicitAs.impl_witness_table.142 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.377 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.b25) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.3b4: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%Cpp.unsigned_long_long, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.88e: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.3b4, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert [concrete] -// CHECK:STDOUT: %int_1.c4d: %Cpp.unsigned_long_long = int_value 1 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.d8f: = impl_witness imports.%Copy.impl_witness_table.b11 [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Cpp.unsigned_long_long, (%Copy.impl_witness.d8f) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.7a4: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.15c: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7a4, %Copy.facet [concrete] +// CHECK:STDOUT: %int_1.7f2: %Cpp.unsigned_long_long = int_value 1 [concrete] +// CHECK:STDOUT: %Copy.impl_witness.35e: = impl_witness imports.%Copy.impl_witness_table.427 [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %Cpp.unsigned_long_long, (%Copy.impl_witness.35e) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.a38: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.689: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a38, %Copy.facet [concrete] // CHECK:STDOUT: %Cpp.unsigned_long_long.as.Copy.impl.Op.type: type = fn_type @Cpp.unsigned_long_long.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Cpp.unsigned_long_long.as.Copy.impl.Op: %Cpp.unsigned_long_long.as.Copy.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -3870,24 +3870,24 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: .unsigned_long_long = constants.%Cpp.unsigned_long_long // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.67b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.9ca = impl_witness_table (%Core.import_ref.67b), @Core.IntLiteral.as.ImplicitAs.impl.3c4 [concrete] -// CHECK:STDOUT: %Core.import_ref.59e: %Cpp.unsigned_long_long.as.Copy.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.unsigned_long_long.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.b11 = impl_witness_table (%Core.import_ref.59e), @Cpp.unsigned_long_long.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.142 = impl_witness_table (%Core.import_ref.ade), @Core.IntLiteral.as.ImplicitAs.impl.194 [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Cpp.unsigned_long_long.as.Copy.impl.Op.type = import_ref Core//prelude/types/cpp/int, loc{{\d+_\d+}}, loaded [concrete = constants.%Cpp.unsigned_long_long.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.427 = impl_witness_table (%Core.import_ref.f63), @Cpp.unsigned_long_long.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @CopyUnsignedLongLong() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.762 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.762 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.fae = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.fae = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %Cpp.unsigned_long_long = var %a.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8: %.b24 = impl_witness_access constants.%ImplicitAs.impl_witness.53b, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc8: %.88e = impl_witness_access constants.%ImplicitAs.impl_witness.b25, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc8: = bound_method %int_1, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.unsigned_long_long = call %bound_method.loc8(%int_1) [concrete = constants.%int_1.c4d] -// CHECK:STDOUT: %.loc8_3: init %Cpp.unsigned_long_long = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.c4d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %Cpp.unsigned_long_long = call %bound_method.loc8(%int_1) [concrete = constants.%int_1.7f2] +// CHECK:STDOUT: %.loc8_3: init %Cpp.unsigned_long_long = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.7f2] // CHECK:STDOUT: assign %a.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %unsigned_long_long.ref.loc8 [concrete = constants.%Cpp.unsigned_long_long] { // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -3895,13 +3895,13 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %Cpp.unsigned_long_long = ref_binding a, %a.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.762 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.762 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.fae = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.fae = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %Cpp.unsigned_long_long = var %b.var_patt // CHECK:STDOUT: %a.ref: ref %Cpp.unsigned_long_long = name_ref a, %a // CHECK:STDOUT: %.loc9_42: %Cpp.unsigned_long_long = acquire_value %a.ref -// CHECK:STDOUT: %impl.elem0.loc9: %.15c = impl_witness_access constants.%Copy.impl_witness.d8f, element0 [concrete = constants.%Cpp.unsigned_long_long.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc9: %.689 = impl_witness_access constants.%Copy.impl_witness.35e, element0 [concrete = constants.%Cpp.unsigned_long_long.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc9: = bound_method %.loc9_42, %impl.elem0.loc9 // CHECK:STDOUT: %Cpp.unsigned_long_long.as.Copy.impl.Op.call: init %Cpp.unsigned_long_long = call %bound_method.loc9(%.loc9_42) // CHECK:STDOUT: assign %b.var, %Cpp.unsigned_long_long.as.Copy.impl.Op.call @@ -3910,9 +3910,9 @@ fn CopyUnsignedLongLong() { // CHECK:STDOUT: %unsigned_long_long.ref.loc9: type = name_ref unsigned_long_long, constants.%Cpp.unsigned_long_long [concrete = constants.%Cpp.unsigned_long_long] // CHECK:STDOUT: } // CHECK:STDOUT: %b: ref %Cpp.unsigned_long_long = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc9: init %empty_tuple.type = call %Destroy.Op.bound.loc9(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/primitive_types/void_pointer.carbon b/toolchain/check/testdata/interop/cpp/primitive_types/void_pointer.carbon index 46c1fb467dd2..2c2c1c6fec0a 100644 --- a/toolchain/check/testdata/interop/cpp/primitive_types/void_pointer.carbon +++ b/toolchain/check/testdata/interop/cpp/primitive_types/void_pointer.carbon @@ -142,19 +142,19 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: %S: type = class_type @S [concrete] // CHECK:STDOUT: %ptr.055: type = ptr_type %S [concrete] // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] -// CHECK:STDOUT: %pattern_type.c0f: type = pattern_type %ptr.838 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.919: type = facet_type <@ImplicitAs, @ImplicitAs(%ptr.838)> [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %pattern_type.2c3: type = pattern_type %ptr.2d0 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.00e: type = facet_type <@ImplicitAs, @ImplicitAs(%ptr.2d0)> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.type.bdb: type = fn_type @ptr.as.ImplicitAs.impl.Convert.1, @ptr.as.ImplicitAs.impl.984(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.7e2: %ptr.as.ImplicitAs.impl.Convert.type.bdb = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ffe: = impl_witness imports.%ImplicitAs.impl_witness_table.bfc, @ptr.as.ImplicitAs.impl.984(%S) [concrete] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.type.734: type = fn_type @ptr.as.ImplicitAs.impl.Convert.1, @ptr.as.ImplicitAs.impl.984(%S) [concrete] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.5ce: %ptr.as.ImplicitAs.impl.Convert.type.734 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.82f: %ImplicitAs.type.919 = facet_value %ptr.055, (%ImplicitAs.impl_witness.ffe) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f9b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%ptr.838, %ImplicitAs.facet.82f) [concrete] -// CHECK:STDOUT: %.dd7: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f9b, %ImplicitAs.facet.82f [concrete] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.specific_fn.ff6: = specific_function %ptr.as.ImplicitAs.impl.Convert.5ce, @ptr.as.ImplicitAs.impl.Convert.1(%S) [concrete] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.type.77b: type = fn_type @ptr.as.ImplicitAs.impl.Convert.1, @ptr.as.ImplicitAs.impl.703(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.fc8: %ptr.as.ImplicitAs.impl.Convert.type.77b = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.5d0: = impl_witness imports.%ImplicitAs.impl_witness_table.5be, @ptr.as.ImplicitAs.impl.703(%S) [concrete] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.type.809: type = fn_type @ptr.as.ImplicitAs.impl.Convert.1, @ptr.as.ImplicitAs.impl.703(%S) [concrete] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.bb0: %ptr.as.ImplicitAs.impl.Convert.type.809 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.fdc: %ImplicitAs.type.00e = facet_value %ptr.055, (%ImplicitAs.impl_witness.5d0) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.a2f: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%ptr.2d0, %ImplicitAs.facet.fdc) [concrete] +// CHECK:STDOUT: %.939: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.a2f, %ImplicitAs.facet.fdc [concrete] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.specific_fn.d09: = specific_function %ptr.as.ImplicitAs.impl.Convert.bb0, @ptr.as.ImplicitAs.impl.Convert.1(%S) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -164,29 +164,29 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} -// CHECK:STDOUT: %Core.import_ref.a68: @ptr.as.ImplicitAs.impl.984.%ptr.as.ImplicitAs.impl.Convert.type (%ptr.as.ImplicitAs.impl.Convert.type.bdb) = import_ref Core//prelude/types/cpp/void, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.ImplicitAs.impl.984.%ptr.as.ImplicitAs.impl.Convert (constants.%ptr.as.ImplicitAs.impl.Convert.7e2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.bfc = impl_witness_table (%Core.import_ref.a68), @ptr.as.ImplicitAs.impl.984 [concrete] +// CHECK:STDOUT: %Core.import_ref.3fd: @ptr.as.ImplicitAs.impl.703.%ptr.as.ImplicitAs.impl.Convert.type (%ptr.as.ImplicitAs.impl.Convert.type.77b) = import_ref Core//prelude/types/cpp/void, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.ImplicitAs.impl.703.%ptr.as.ImplicitAs.impl.Convert (constants.%ptr.as.ImplicitAs.impl.Convert.fc8)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.5be = impl_witness_table (%Core.import_ref.3fd), @ptr.as.ImplicitAs.impl.703 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%input.param: %ptr.055) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %p.patt: %pattern_type.c0f = value_binding_pattern p [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.2c3 = value_binding_pattern p [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %input.ref: %ptr.055 = name_ref input, %input -// CHECK:STDOUT: %.loc10_25: type = splice_block %ptr.loc10 [concrete = constants.%ptr.838] { +// CHECK:STDOUT: %.loc10_25: type = splice_block %ptr.loc10 [concrete = constants.%ptr.2d0] { // CHECK:STDOUT: %Cpp.ref.loc10: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %void.ref: type = name_ref void, constants.%Cpp.void [concrete = constants.%Cpp.void] -// CHECK:STDOUT: %ptr.loc10: type = ptr_type %void.ref [concrete = constants.%ptr.838] +// CHECK:STDOUT: %ptr.loc10: type = ptr_type %void.ref [concrete = constants.%ptr.2d0] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0: %.dd7 = impl_witness_access constants.%ImplicitAs.impl_witness.ffe, element0 [concrete = constants.%ptr.as.ImplicitAs.impl.Convert.5ce] +// CHECK:STDOUT: %impl.elem0: %.939 = impl_witness_access constants.%ImplicitAs.impl_witness.5d0, element0 [concrete = constants.%ptr.as.ImplicitAs.impl.Convert.bb0] // CHECK:STDOUT: %bound_method.loc10_29.1: = bound_method %input.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.ImplicitAs.impl.Convert.1(constants.%S) [concrete = constants.%ptr.as.ImplicitAs.impl.Convert.specific_fn.ff6] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.ImplicitAs.impl.Convert.1(constants.%S) [concrete = constants.%ptr.as.ImplicitAs.impl.Convert.specific_fn.d09] // CHECK:STDOUT: %bound_method.loc10_29.2: = bound_method %input.ref, %specific_fn -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.call: init %ptr.838 = call %bound_method.loc10_29.2(%input.ref) -// CHECK:STDOUT: %.loc10_29.1: %ptr.838 = value_of_initializer %ptr.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %.loc10_29.2: %ptr.838 = converted %input.ref, %.loc10_29.1 -// CHECK:STDOUT: %p: %ptr.838 = value_binding p, %.loc10_29.2 +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.call: init %ptr.2d0 = call %bound_method.loc10_29.2(%input.ref) +// CHECK:STDOUT: %.loc10_29.1: %ptr.2d0 = value_of_initializer %ptr.as.ImplicitAs.impl.Convert.call +// CHECK:STDOUT: %.loc10_29.2: %ptr.2d0 = converted %input.ref, %.loc10_29.1 +// CHECK:STDOUT: %p: %ptr.2d0 = value_binding p, %.loc10_29.2 // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -194,21 +194,21 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %ptr.1d8: type = ptr_type %C [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] -// CHECK:STDOUT: %pattern_type.c0f: type = pattern_type %ptr.838 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.919: type = facet_type <@ImplicitAs, @ImplicitAs(%ptr.838)> [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %pattern_type.2c3: type = pattern_type %ptr.2d0 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.00e: type = facet_type <@ImplicitAs, @ImplicitAs(%ptr.2d0)> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.type.bdb: type = fn_type @ptr.as.ImplicitAs.impl.Convert.1, @ptr.as.ImplicitAs.impl.984(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.7e2: %ptr.as.ImplicitAs.impl.Convert.type.bdb = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.253: = impl_witness imports.%ImplicitAs.impl_witness_table.bfc, @ptr.as.ImplicitAs.impl.984(%C) [concrete] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.type.d28: type = fn_type @ptr.as.ImplicitAs.impl.Convert.1, @ptr.as.ImplicitAs.impl.984(%C) [concrete] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.9a0: %ptr.as.ImplicitAs.impl.Convert.type.d28 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.7ca: %ImplicitAs.type.919 = facet_value %ptr.1d8, (%ImplicitAs.impl_witness.253) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.15e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%ptr.838, %ImplicitAs.facet.7ca) [concrete] -// CHECK:STDOUT: %.e60: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.15e, %ImplicitAs.facet.7ca [concrete] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.specific_fn.609: = specific_function %ptr.as.ImplicitAs.impl.Convert.9a0, @ptr.as.ImplicitAs.impl.Convert.1(%C) [concrete] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.type.77b: type = fn_type @ptr.as.ImplicitAs.impl.Convert.1, @ptr.as.ImplicitAs.impl.703(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.fc8: %ptr.as.ImplicitAs.impl.Convert.type.77b = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.7ba: = impl_witness imports.%ImplicitAs.impl_witness_table.5be, @ptr.as.ImplicitAs.impl.703(%C) [concrete] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.type.b34: type = fn_type @ptr.as.ImplicitAs.impl.Convert.1, @ptr.as.ImplicitAs.impl.703(%C) [concrete] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.513: %ptr.as.ImplicitAs.impl.Convert.type.b34 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.e61: %ImplicitAs.type.00e = facet_value %ptr.6be, (%ImplicitAs.impl_witness.7ba) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ebe: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%ptr.2d0, %ImplicitAs.facet.e61) [concrete] +// CHECK:STDOUT: %.a6f: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ebe, %ImplicitAs.facet.e61 [concrete] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.specific_fn.794: = specific_function %ptr.as.ImplicitAs.impl.Convert.513, @ptr.as.ImplicitAs.impl.Convert.1(%C) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -216,29 +216,29 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: .void = constants.%Cpp.void // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.a68: @ptr.as.ImplicitAs.impl.984.%ptr.as.ImplicitAs.impl.Convert.type (%ptr.as.ImplicitAs.impl.Convert.type.bdb) = import_ref Core//prelude/types/cpp/void, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.ImplicitAs.impl.984.%ptr.as.ImplicitAs.impl.Convert (constants.%ptr.as.ImplicitAs.impl.Convert.7e2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.bfc = impl_witness_table (%Core.import_ref.a68), @ptr.as.ImplicitAs.impl.984 [concrete] +// CHECK:STDOUT: %Core.import_ref.3fd: @ptr.as.ImplicitAs.impl.703.%ptr.as.ImplicitAs.impl.Convert.type (%ptr.as.ImplicitAs.impl.Convert.type.77b) = import_ref Core//prelude/types/cpp/void, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.ImplicitAs.impl.703.%ptr.as.ImplicitAs.impl.Convert (constants.%ptr.as.ImplicitAs.impl.Convert.fc8)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.5be = impl_witness_table (%Core.import_ref.3fd), @ptr.as.ImplicitAs.impl.703 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%input.param: %ptr.1d8) { +// CHECK:STDOUT: fn @F(%input.param: %ptr.6be) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %p.patt: %pattern_type.c0f = value_binding_pattern p [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.2c3 = value_binding_pattern p [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %input.ref: %ptr.1d8 = name_ref input, %input -// CHECK:STDOUT: %.loc10_25: type = splice_block %ptr.loc10 [concrete = constants.%ptr.838] { +// CHECK:STDOUT: %input.ref: %ptr.6be = name_ref input, %input +// CHECK:STDOUT: %.loc10_25: type = splice_block %ptr.loc10 [concrete = constants.%ptr.2d0] { // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %void.ref: type = name_ref void, constants.%Cpp.void [concrete = constants.%Cpp.void] -// CHECK:STDOUT: %ptr.loc10: type = ptr_type %void.ref [concrete = constants.%ptr.838] +// CHECK:STDOUT: %ptr.loc10: type = ptr_type %void.ref [concrete = constants.%ptr.2d0] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0: %.e60 = impl_witness_access constants.%ImplicitAs.impl_witness.253, element0 [concrete = constants.%ptr.as.ImplicitAs.impl.Convert.9a0] +// CHECK:STDOUT: %impl.elem0: %.a6f = impl_witness_access constants.%ImplicitAs.impl_witness.7ba, element0 [concrete = constants.%ptr.as.ImplicitAs.impl.Convert.513] // CHECK:STDOUT: %bound_method.loc10_29.1: = bound_method %input.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.ImplicitAs.impl.Convert.1(constants.%C) [concrete = constants.%ptr.as.ImplicitAs.impl.Convert.specific_fn.609] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.ImplicitAs.impl.Convert.1(constants.%C) [concrete = constants.%ptr.as.ImplicitAs.impl.Convert.specific_fn.794] // CHECK:STDOUT: %bound_method.loc10_29.2: = bound_method %input.ref, %specific_fn -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.call: init %ptr.838 = call %bound_method.loc10_29.2(%input.ref) -// CHECK:STDOUT: %.loc10_29.1: %ptr.838 = value_of_initializer %ptr.as.ImplicitAs.impl.Convert.call -// CHECK:STDOUT: %.loc10_29.2: %ptr.838 = converted %input.ref, %.loc10_29.1 -// CHECK:STDOUT: %p: %ptr.838 = value_binding p, %.loc10_29.2 +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.call: init %ptr.2d0 = call %bound_method.loc10_29.2(%input.ref) +// CHECK:STDOUT: %.loc10_29.1: %ptr.2d0 = value_of_initializer %ptr.as.ImplicitAs.impl.Convert.call +// CHECK:STDOUT: %.loc10_29.2: %ptr.2d0 = converted %input.ref, %.loc10_29.1 +// CHECK:STDOUT: %p: %ptr.2d0 = value_binding p, %.loc10_29.2 // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -248,27 +248,27 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: %S: type = class_type @S [concrete] // CHECK:STDOUT: %ptr.055: type = ptr_type %S [concrete] // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] -// CHECK:STDOUT: %pattern_type.c0f: type = pattern_type %ptr.838 [concrete] -// CHECK:STDOUT: %As.type.8e0: type = facet_type <@As, @As(%ptr.838)> [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %pattern_type.2c3: type = pattern_type %ptr.2d0 [concrete] +// CHECK:STDOUT: %As.type.e06: type = facet_type <@As, @As(%ptr.2d0)> [concrete] // CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.0b443a.2: type = facet_type <@ImplicitAs, @ImplicitAs(%U.67d)> [symbolic] -// CHECK:STDOUT: %T.2dd: %ImplicitAs.type.0b443a.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.type.c4b: type = fn_type @T.as_type.as.As.impl.Convert, @T.as_type.as.As.impl(%U.67d, %T.2dd) [symbolic] -// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.791: %T.as_type.as.As.impl.Convert.type.c4b = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.6e610f.2: type = facet_type <@ImplicitAs, @ImplicitAs(%U.67d)> [symbolic] +// CHECK:STDOUT: %T.b7e: %ImplicitAs.type.6e610f.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.type.783: type = fn_type @T.as_type.as.As.impl.Convert, @T.as_type.as.As.impl(%U.67d, %T.b7e) [symbolic] +// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.4ea: %T.as_type.as.As.impl.Convert.type.783 = struct_value () [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.919: type = facet_type <@ImplicitAs, @ImplicitAs(%ptr.838)> [concrete] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.type.bdb: type = fn_type @ptr.as.ImplicitAs.impl.Convert.1, @ptr.as.ImplicitAs.impl.984(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.7e2: %ptr.as.ImplicitAs.impl.Convert.type.bdb = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ffe: = impl_witness imports.%ImplicitAs.impl_witness_table.bfc, @ptr.as.ImplicitAs.impl.984(%S) [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.82f: %ImplicitAs.type.919 = facet_value %ptr.055, (%ImplicitAs.impl_witness.ffe) [concrete] -// CHECK:STDOUT: %As.impl_witness.3f8: = impl_witness imports.%As.impl_witness_table.dad, @T.as_type.as.As.impl(%ptr.838, %ImplicitAs.facet.82f) [concrete] -// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.type.38e: type = fn_type @T.as_type.as.As.impl.Convert, @T.as_type.as.As.impl(%ptr.838, %ImplicitAs.facet.82f) [concrete] -// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.984: %T.as_type.as.As.impl.Convert.type.38e = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.8e0 = facet_value %ptr.055, (%As.impl_witness.3f8) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.ee0: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%ptr.838, %As.facet) [concrete] -// CHECK:STDOUT: %.8d1: type = fn_type_with_self_type %As.WithSelf.Convert.type.ee0, %As.facet [concrete] -// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.specific_fn: = specific_function %T.as_type.as.As.impl.Convert.984, @T.as_type.as.As.impl.Convert(%ptr.838, %ImplicitAs.facet.82f) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.00e: type = facet_type <@ImplicitAs, @ImplicitAs(%ptr.2d0)> [concrete] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.type.77b: type = fn_type @ptr.as.ImplicitAs.impl.Convert.1, @ptr.as.ImplicitAs.impl.703(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.fc8: %ptr.as.ImplicitAs.impl.Convert.type.77b = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.5d0: = impl_witness imports.%ImplicitAs.impl_witness_table.5be, @ptr.as.ImplicitAs.impl.703(%S) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.fdc: %ImplicitAs.type.00e = facet_value %ptr.055, (%ImplicitAs.impl_witness.5d0) [concrete] +// CHECK:STDOUT: %As.impl_witness.47c: = impl_witness imports.%As.impl_witness_table.f5a, @T.as_type.as.As.impl(%ptr.2d0, %ImplicitAs.facet.fdc) [concrete] +// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.type.a0b: type = fn_type @T.as_type.as.As.impl.Convert, @T.as_type.as.As.impl(%ptr.2d0, %ImplicitAs.facet.fdc) [concrete] +// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.3b1: %T.as_type.as.As.impl.Convert.type.a0b = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.e06 = facet_value %ptr.055, (%As.impl_witness.47c) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.446: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%ptr.2d0, %As.facet) [concrete] +// CHECK:STDOUT: %.6c9: type = fn_type_with_self_type %As.WithSelf.Convert.type.446, %As.facet [concrete] +// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.specific_fn: = specific_function %T.as_type.as.As.impl.Convert.3b1, @T.as_type.as.As.impl.Convert(%ptr.2d0, %ImplicitAs.facet.fdc) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -278,34 +278,34 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} -// CHECK:STDOUT: %Core.import_ref.6a9: @T.as_type.as.As.impl.%T.as_type.as.As.impl.Convert.type (%T.as_type.as.As.impl.Convert.type.c4b) = import_ref Core//prelude/operators/as, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.As.impl.%T.as_type.as.As.impl.Convert (constants.%T.as_type.as.As.impl.Convert.791)] -// CHECK:STDOUT: %As.impl_witness_table.dad = impl_witness_table (%Core.import_ref.6a9), @T.as_type.as.As.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.a68: @ptr.as.ImplicitAs.impl.984.%ptr.as.ImplicitAs.impl.Convert.type (%ptr.as.ImplicitAs.impl.Convert.type.bdb) = import_ref Core//prelude/types/cpp/void, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.ImplicitAs.impl.984.%ptr.as.ImplicitAs.impl.Convert (constants.%ptr.as.ImplicitAs.impl.Convert.7e2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.bfc = impl_witness_table (%Core.import_ref.a68), @ptr.as.ImplicitAs.impl.984 [concrete] +// CHECK:STDOUT: %Core.import_ref.bd1: @T.as_type.as.As.impl.%T.as_type.as.As.impl.Convert.type (%T.as_type.as.As.impl.Convert.type.783) = import_ref Core//prelude/operators/as, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.As.impl.%T.as_type.as.As.impl.Convert (constants.%T.as_type.as.As.impl.Convert.4ea)] +// CHECK:STDOUT: %As.impl_witness_table.f5a = impl_witness_table (%Core.import_ref.bd1), @T.as_type.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.3fd: @ptr.as.ImplicitAs.impl.703.%ptr.as.ImplicitAs.impl.Convert.type (%ptr.as.ImplicitAs.impl.Convert.type.77b) = import_ref Core//prelude/types/cpp/void, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.ImplicitAs.impl.703.%ptr.as.ImplicitAs.impl.Convert (constants.%ptr.as.ImplicitAs.impl.Convert.fc8)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.5be = impl_witness_table (%Core.import_ref.3fd), @ptr.as.ImplicitAs.impl.703 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%input.param: %ptr.055) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %p.patt: %pattern_type.c0f = value_binding_pattern p [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.2c3 = value_binding_pattern p [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %input.ref: %ptr.055 = name_ref input, %input // CHECK:STDOUT: %Cpp.ref.loc10_38: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %void.ref.loc10_41: type = name_ref void, constants.%Cpp.void [concrete = constants.%Cpp.void] -// CHECK:STDOUT: %ptr.loc10_46: type = ptr_type %void.ref.loc10_41 [concrete = constants.%ptr.838] -// CHECK:STDOUT: %impl.elem0: %.8d1 = impl_witness_access constants.%As.impl_witness.3f8, element0 [concrete = constants.%T.as_type.as.As.impl.Convert.984] +// CHECK:STDOUT: %ptr.loc10_46: type = ptr_type %void.ref.loc10_41 [concrete = constants.%ptr.2d0] +// CHECK:STDOUT: %impl.elem0: %.6c9 = impl_witness_access constants.%As.impl_witness.47c, element0 [concrete = constants.%T.as_type.as.As.impl.Convert.3b1] // CHECK:STDOUT: %bound_method.loc10_35.1: = bound_method %input.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @T.as_type.as.As.impl.Convert(constants.%ptr.838, constants.%ImplicitAs.facet.82f) [concrete = constants.%T.as_type.as.As.impl.Convert.specific_fn] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @T.as_type.as.As.impl.Convert(constants.%ptr.2d0, constants.%ImplicitAs.facet.fdc) [concrete = constants.%T.as_type.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc10_35.2: = bound_method %input.ref, %specific_fn -// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.call: init %ptr.838 = call %bound_method.loc10_35.2(%input.ref) -// CHECK:STDOUT: %.loc10_35.1: %ptr.838 = value_of_initializer %T.as_type.as.As.impl.Convert.call -// CHECK:STDOUT: %.loc10_35.2: %ptr.838 = converted %input.ref, %.loc10_35.1 -// CHECK:STDOUT: %.loc10_25: type = splice_block %ptr.loc10_25 [concrete = constants.%ptr.838] { +// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.call: init %ptr.2d0 = call %bound_method.loc10_35.2(%input.ref) +// CHECK:STDOUT: %.loc10_35.1: %ptr.2d0 = value_of_initializer %T.as_type.as.As.impl.Convert.call +// CHECK:STDOUT: %.loc10_35.2: %ptr.2d0 = converted %input.ref, %.loc10_35.1 +// CHECK:STDOUT: %.loc10_25: type = splice_block %ptr.loc10_25 [concrete = constants.%ptr.2d0] { // CHECK:STDOUT: %Cpp.ref.loc10_17: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %void.ref.loc10_20: type = name_ref void, constants.%Cpp.void [concrete = constants.%Cpp.void] -// CHECK:STDOUT: %ptr.loc10_25: type = ptr_type %void.ref.loc10_20 [concrete = constants.%ptr.838] +// CHECK:STDOUT: %ptr.loc10_25: type = ptr_type %void.ref.loc10_20 [concrete = constants.%ptr.2d0] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.838 = value_binding p, %.loc10_35.2 +// CHECK:STDOUT: %p: %ptr.2d0 = value_binding p, %.loc10_35.2 // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -313,29 +313,29 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %ptr.ad5: type = ptr_type %C [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] -// CHECK:STDOUT: %pattern_type.c0f: type = pattern_type %ptr.838 [concrete] -// CHECK:STDOUT: %As.type.8e0: type = facet_type <@As, @As(%ptr.838)> [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %pattern_type.2c3: type = pattern_type %ptr.2d0 [concrete] +// CHECK:STDOUT: %As.type.e06: type = facet_type <@As, @As(%ptr.2d0)> [concrete] // CHECK:STDOUT: %U.67d: type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.0b443a.2: type = facet_type <@ImplicitAs, @ImplicitAs(%U.67d)> [symbolic] -// CHECK:STDOUT: %T.2dd: %ImplicitAs.type.0b443a.2 = symbolic_binding T, 1 [symbolic] -// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.type.c4b: type = fn_type @T.as_type.as.As.impl.Convert, @T.as_type.as.As.impl(%U.67d, %T.2dd) [symbolic] -// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.791: %T.as_type.as.As.impl.Convert.type.c4b = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.6e610f.2: type = facet_type <@ImplicitAs, @ImplicitAs(%U.67d)> [symbolic] +// CHECK:STDOUT: %T.b7e: %ImplicitAs.type.6e610f.2 = symbolic_binding T, 1 [symbolic] +// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.type.783: type = fn_type @T.as_type.as.As.impl.Convert, @T.as_type.as.As.impl(%U.67d, %T.b7e) [symbolic] +// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.4ea: %T.as_type.as.As.impl.Convert.type.783 = struct_value () [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.919: type = facet_type <@ImplicitAs, @ImplicitAs(%ptr.838)> [concrete] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.type.bdb: type = fn_type @ptr.as.ImplicitAs.impl.Convert.1, @ptr.as.ImplicitAs.impl.984(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.7e2: %ptr.as.ImplicitAs.impl.Convert.type.bdb = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.163: = impl_witness imports.%ImplicitAs.impl_witness_table.bfc, @ptr.as.ImplicitAs.impl.984(%C) [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.bb0: %ImplicitAs.type.919 = facet_value %ptr.ad5, (%ImplicitAs.impl_witness.163) [concrete] -// CHECK:STDOUT: %As.impl_witness.e6f: = impl_witness imports.%As.impl_witness_table.dad, @T.as_type.as.As.impl(%ptr.838, %ImplicitAs.facet.bb0) [concrete] -// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.type.364: type = fn_type @T.as_type.as.As.impl.Convert, @T.as_type.as.As.impl(%ptr.838, %ImplicitAs.facet.bb0) [concrete] -// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.bc1: %T.as_type.as.As.impl.Convert.type.364 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.8e0 = facet_value %ptr.ad5, (%As.impl_witness.e6f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.aa3: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%ptr.838, %As.facet) [concrete] -// CHECK:STDOUT: %.e70: type = fn_type_with_self_type %As.WithSelf.Convert.type.aa3, %As.facet [concrete] -// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.specific_fn: = specific_function %T.as_type.as.As.impl.Convert.bc1, @T.as_type.as.As.impl.Convert(%ptr.838, %ImplicitAs.facet.bb0) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.00e: type = facet_type <@ImplicitAs, @ImplicitAs(%ptr.2d0)> [concrete] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.type.77b: type = fn_type @ptr.as.ImplicitAs.impl.Convert.1, @ptr.as.ImplicitAs.impl.703(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.ImplicitAs.impl.Convert.fc8: %ptr.as.ImplicitAs.impl.Convert.type.77b = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.7ba: = impl_witness imports.%ImplicitAs.impl_witness_table.5be, @ptr.as.ImplicitAs.impl.703(%C) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.e61: %ImplicitAs.type.00e = facet_value %ptr.6be, (%ImplicitAs.impl_witness.7ba) [concrete] +// CHECK:STDOUT: %As.impl_witness.03e: = impl_witness imports.%As.impl_witness_table.f5a, @T.as_type.as.As.impl(%ptr.2d0, %ImplicitAs.facet.e61) [concrete] +// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.type.13a: type = fn_type @T.as_type.as.As.impl.Convert, @T.as_type.as.As.impl(%ptr.2d0, %ImplicitAs.facet.e61) [concrete] +// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.e2b: %T.as_type.as.As.impl.Convert.type.13a = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.e06 = facet_value %ptr.6be, (%As.impl_witness.03e) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.a05: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%ptr.2d0, %As.facet) [concrete] +// CHECK:STDOUT: %.a73: type = fn_type_with_self_type %As.WithSelf.Convert.type.a05, %As.facet [concrete] +// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.specific_fn: = specific_function %T.as_type.as.As.impl.Convert.e2b, @T.as_type.as.As.impl.Convert(%ptr.2d0, %ImplicitAs.facet.e61) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -343,34 +343,34 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: .void = constants.%Cpp.void // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.6a9: @T.as_type.as.As.impl.%T.as_type.as.As.impl.Convert.type (%T.as_type.as.As.impl.Convert.type.c4b) = import_ref Core//prelude/operators/as, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.As.impl.%T.as_type.as.As.impl.Convert (constants.%T.as_type.as.As.impl.Convert.791)] -// CHECK:STDOUT: %As.impl_witness_table.dad = impl_witness_table (%Core.import_ref.6a9), @T.as_type.as.As.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.a68: @ptr.as.ImplicitAs.impl.984.%ptr.as.ImplicitAs.impl.Convert.type (%ptr.as.ImplicitAs.impl.Convert.type.bdb) = import_ref Core//prelude/types/cpp/void, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.ImplicitAs.impl.984.%ptr.as.ImplicitAs.impl.Convert (constants.%ptr.as.ImplicitAs.impl.Convert.7e2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.bfc = impl_witness_table (%Core.import_ref.a68), @ptr.as.ImplicitAs.impl.984 [concrete] +// CHECK:STDOUT: %Core.import_ref.bd1: @T.as_type.as.As.impl.%T.as_type.as.As.impl.Convert.type (%T.as_type.as.As.impl.Convert.type.783) = import_ref Core//prelude/operators/as, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.As.impl.%T.as_type.as.As.impl.Convert (constants.%T.as_type.as.As.impl.Convert.4ea)] +// CHECK:STDOUT: %As.impl_witness_table.f5a = impl_witness_table (%Core.import_ref.bd1), @T.as_type.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.3fd: @ptr.as.ImplicitAs.impl.703.%ptr.as.ImplicitAs.impl.Convert.type (%ptr.as.ImplicitAs.impl.Convert.type.77b) = import_ref Core//prelude/types/cpp/void, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.ImplicitAs.impl.703.%ptr.as.ImplicitAs.impl.Convert (constants.%ptr.as.ImplicitAs.impl.Convert.fc8)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.5be = impl_witness_table (%Core.import_ref.3fd), @ptr.as.ImplicitAs.impl.703 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%input.param: %ptr.ad5) { +// CHECK:STDOUT: fn @F(%input.param: %ptr.6be) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %p.patt: %pattern_type.c0f = value_binding_pattern p [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.2c3 = value_binding_pattern p [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %input.ref: %ptr.ad5 = name_ref input, %input +// CHECK:STDOUT: %input.ref: %ptr.6be = name_ref input, %input // CHECK:STDOUT: %Cpp.ref.loc10_38: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %void.ref.loc10_41: type = name_ref void, constants.%Cpp.void [concrete = constants.%Cpp.void] -// CHECK:STDOUT: %ptr.loc10_46: type = ptr_type %void.ref.loc10_41 [concrete = constants.%ptr.838] -// CHECK:STDOUT: %impl.elem0: %.e70 = impl_witness_access constants.%As.impl_witness.e6f, element0 [concrete = constants.%T.as_type.as.As.impl.Convert.bc1] +// CHECK:STDOUT: %ptr.loc10_46: type = ptr_type %void.ref.loc10_41 [concrete = constants.%ptr.2d0] +// CHECK:STDOUT: %impl.elem0: %.a73 = impl_witness_access constants.%As.impl_witness.03e, element0 [concrete = constants.%T.as_type.as.As.impl.Convert.e2b] // CHECK:STDOUT: %bound_method.loc10_35.1: = bound_method %input.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @T.as_type.as.As.impl.Convert(constants.%ptr.838, constants.%ImplicitAs.facet.bb0) [concrete = constants.%T.as_type.as.As.impl.Convert.specific_fn] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @T.as_type.as.As.impl.Convert(constants.%ptr.2d0, constants.%ImplicitAs.facet.e61) [concrete = constants.%T.as_type.as.As.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc10_35.2: = bound_method %input.ref, %specific_fn -// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.call: init %ptr.838 = call %bound_method.loc10_35.2(%input.ref) -// CHECK:STDOUT: %.loc10_35.1: %ptr.838 = value_of_initializer %T.as_type.as.As.impl.Convert.call -// CHECK:STDOUT: %.loc10_35.2: %ptr.838 = converted %input.ref, %.loc10_35.1 -// CHECK:STDOUT: %.loc10_25: type = splice_block %ptr.loc10_25 [concrete = constants.%ptr.838] { +// CHECK:STDOUT: %T.as_type.as.As.impl.Convert.call: init %ptr.2d0 = call %bound_method.loc10_35.2(%input.ref) +// CHECK:STDOUT: %.loc10_35.1: %ptr.2d0 = value_of_initializer %T.as_type.as.As.impl.Convert.call +// CHECK:STDOUT: %.loc10_35.2: %ptr.2d0 = converted %input.ref, %.loc10_35.1 +// CHECK:STDOUT: %.loc10_25: type = splice_block %ptr.loc10_25 [concrete = constants.%ptr.2d0] { // CHECK:STDOUT: %Cpp.ref.loc10_17: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %void.ref.loc10_20: type = name_ref void, constants.%Cpp.void [concrete = constants.%Cpp.void] -// CHECK:STDOUT: %ptr.loc10_25: type = ptr_type %void.ref.loc10_20 [concrete = constants.%ptr.838] +// CHECK:STDOUT: %ptr.loc10_25: type = ptr_type %void.ref.loc10_20 [concrete = constants.%ptr.2d0] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.838 = value_binding p, %.loc10_35.2 +// CHECK:STDOUT: %p: %ptr.2d0 = value_binding p, %.loc10_35.2 // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -378,7 +378,7 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] // CHECK:STDOUT: %S: type = class_type @S [concrete] // CHECK:STDOUT: %ptr.055: type = ptr_type %S [concrete] // CHECK:STDOUT: %pattern_type.f1e: type = pattern_type %ptr.055 [concrete] @@ -393,12 +393,12 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%input.param: %ptr.838) { +// CHECK:STDOUT: fn @F(%input.param: %ptr.2d0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %p.patt: %pattern_type.f1e = value_binding_pattern p [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %input.ref: %ptr.838 = name_ref input, %input +// CHECK:STDOUT: %input.ref: %ptr.2d0 = name_ref input, %input // CHECK:STDOUT: %Cpp.ref.loc17_35: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %S.ref.loc17_38: type = name_ref S, imports.%S.decl [concrete = constants.%S] // CHECK:STDOUT: %ptr.loc17_40: type = ptr_type %S.ref.loc17_38 [concrete = constants.%ptr.055] @@ -417,25 +417,25 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] -// CHECK:STDOUT: %ptr.806: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.b5c: type = pattern_type %ptr.806 [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%input.param: %ptr.838) { +// CHECK:STDOUT: fn @F(%input.param: %ptr.2d0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %p.patt: %pattern_type.b5c = value_binding_pattern p [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.1c8 = value_binding_pattern p [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %input.ref: %ptr.838 = name_ref input, %input +// CHECK:STDOUT: %input.ref: %ptr.2d0 = name_ref input, %input // CHECK:STDOUT: %C.ref.loc17_31: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc17_32: type = ptr_type %C.ref.loc17_31 [concrete = constants.%ptr.806] -// CHECK:STDOUT: %.loc17_28: %ptr.806 = converted %input.ref, [concrete = ] -// CHECK:STDOUT: %.loc17_18: type = splice_block %ptr.loc17_18 [concrete = constants.%ptr.806] { +// CHECK:STDOUT: %ptr.loc17_32: type = ptr_type %C.ref.loc17_31 [concrete = constants.%ptr.6be] +// CHECK:STDOUT: %.loc17_28: %ptr.6be = converted %input.ref, [concrete = ] +// CHECK:STDOUT: %.loc17_18: type = splice_block %ptr.loc17_18 [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %C.ref.loc17_17: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc17_18: type = ptr_type %C.ref.loc17_17 [concrete = constants.%ptr.806] +// CHECK:STDOUT: %ptr.loc17_18: type = ptr_type %C.ref.loc17_17 [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.806 = value_binding p, [concrete = ] +// CHECK:STDOUT: %p: %ptr.6be = value_binding p, [concrete = ] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -443,22 +443,22 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] // CHECK:STDOUT: %S: type = class_type @S [concrete] // CHECK:STDOUT: %ptr.055: type = ptr_type %S [concrete] // CHECK:STDOUT: %pattern_type.f1e: type = pattern_type %ptr.055 [concrete] -// CHECK:STDOUT: %UnsafeAs.type.6c9: type = facet_type <@UnsafeAs, @UnsafeAs(%ptr.055)> [concrete] +// CHECK:STDOUT: %UnsafeAs.type.93d: type = facet_type <@UnsafeAs, @UnsafeAs(%ptr.055)> [concrete] // CHECK:STDOUT: %U.091: type = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.type.ed0: type = fn_type @ptr.as.UnsafeAs.impl.Convert, @ptr.as.UnsafeAs.impl(%T.67d, %U.091) [symbolic] -// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.8b4: %ptr.as.UnsafeAs.impl.Convert.type.ed0 = struct_value () [symbolic] -// CHECK:STDOUT: %UnsafeAs.impl_witness.b35: = impl_witness imports.%UnsafeAs.impl_witness_table.546, @ptr.as.UnsafeAs.impl(%Cpp.void, %S) [concrete] -// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.type.484: type = fn_type @ptr.as.UnsafeAs.impl.Convert, @ptr.as.UnsafeAs.impl(%Cpp.void, %S) [concrete] -// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.444: %ptr.as.UnsafeAs.impl.Convert.type.484 = struct_value () [concrete] -// CHECK:STDOUT: %UnsafeAs.facet: %UnsafeAs.type.6c9 = facet_value %ptr.838, (%UnsafeAs.impl_witness.b35) [concrete] -// CHECK:STDOUT: %UnsafeAs.WithSelf.Convert.type.169: type = fn_type @UnsafeAs.WithSelf.Convert, @UnsafeAs.WithSelf(%ptr.055, %UnsafeAs.facet) [concrete] -// CHECK:STDOUT: %.8a4: type = fn_type_with_self_type %UnsafeAs.WithSelf.Convert.type.169, %UnsafeAs.facet [concrete] -// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.specific_fn: = specific_function %ptr.as.UnsafeAs.impl.Convert.444, @ptr.as.UnsafeAs.impl.Convert(%Cpp.void, %S) [concrete] +// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.type.ed9: type = fn_type @ptr.as.UnsafeAs.impl.Convert, @ptr.as.UnsafeAs.impl(%T.67d, %U.091) [symbolic] +// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.83c: %ptr.as.UnsafeAs.impl.Convert.type.ed9 = struct_value () [symbolic] +// CHECK:STDOUT: %UnsafeAs.impl_witness.887: = impl_witness imports.%UnsafeAs.impl_witness_table.ec8, @ptr.as.UnsafeAs.impl(%Cpp.void, %S) [concrete] +// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.type.faf: type = fn_type @ptr.as.UnsafeAs.impl.Convert, @ptr.as.UnsafeAs.impl(%Cpp.void, %S) [concrete] +// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.931: %ptr.as.UnsafeAs.impl.Convert.type.faf = struct_value () [concrete] +// CHECK:STDOUT: %UnsafeAs.facet: %UnsafeAs.type.93d = facet_value %ptr.2d0, (%UnsafeAs.impl_witness.887) [concrete] +// CHECK:STDOUT: %UnsafeAs.WithSelf.Convert.type.ac8: type = fn_type @UnsafeAs.WithSelf.Convert, @UnsafeAs.WithSelf(%ptr.055, %UnsafeAs.facet) [concrete] +// CHECK:STDOUT: %.187: type = fn_type_with_self_type %UnsafeAs.WithSelf.Convert.type.ac8, %UnsafeAs.facet [concrete] +// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.specific_fn: = specific_function %ptr.as.UnsafeAs.impl.Convert.931, @ptr.as.UnsafeAs.impl.Convert(%Cpp.void, %S) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -468,20 +468,20 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %S.decl: type = class_decl @S [concrete = constants.%S] {} {} -// CHECK:STDOUT: %Core.import_ref.bce: @ptr.as.UnsafeAs.impl.%ptr.as.UnsafeAs.impl.Convert.type (%ptr.as.UnsafeAs.impl.Convert.type.ed0) = import_ref Core//prelude/operators/as, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.UnsafeAs.impl.%ptr.as.UnsafeAs.impl.Convert (constants.%ptr.as.UnsafeAs.impl.Convert.8b4)] -// CHECK:STDOUT: %UnsafeAs.impl_witness_table.546 = impl_witness_table (%Core.import_ref.bce), @ptr.as.UnsafeAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.9c8: @ptr.as.UnsafeAs.impl.%ptr.as.UnsafeAs.impl.Convert.type (%ptr.as.UnsafeAs.impl.Convert.type.ed9) = import_ref Core//prelude/operators/as, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.UnsafeAs.impl.%ptr.as.UnsafeAs.impl.Convert (constants.%ptr.as.UnsafeAs.impl.Convert.83c)] +// CHECK:STDOUT: %UnsafeAs.impl_witness_table.ec8 = impl_witness_table (%Core.import_ref.9c8), @ptr.as.UnsafeAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%input.param: %ptr.838) { +// CHECK:STDOUT: fn @F(%input.param: %ptr.2d0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { // CHECK:STDOUT: %p.patt: %pattern_type.f1e = value_binding_pattern p [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %input.ref: %ptr.838 = name_ref input, %input +// CHECK:STDOUT: %input.ref: %ptr.2d0 = name_ref input, %input // CHECK:STDOUT: %Cpp.ref.loc10_42: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %S.ref.loc10_45: type = name_ref S, imports.%S.decl [concrete = constants.%S] // CHECK:STDOUT: %ptr.loc10_47: type = ptr_type %S.ref.loc10_45 [concrete = constants.%ptr.055] -// CHECK:STDOUT: %impl.elem0: %.8a4 = impl_witness_access constants.%UnsafeAs.impl_witness.b35, element0 [concrete = constants.%ptr.as.UnsafeAs.impl.Convert.444] +// CHECK:STDOUT: %impl.elem0: %.187 = impl_witness_access constants.%UnsafeAs.impl_witness.887, element0 [concrete = constants.%ptr.as.UnsafeAs.impl.Convert.931] // CHECK:STDOUT: %bound_method.loc10_39.1: = bound_method %input.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.UnsafeAs.impl.Convert(constants.%Cpp.void, constants.%S) [concrete = constants.%ptr.as.UnsafeAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc10_39.2: = bound_method %input.ref, %specific_fn @@ -502,48 +502,48 @@ fn F(input: Cpp.void*) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %Cpp.void: type = class_type @VoidBase [concrete] -// CHECK:STDOUT: %ptr.838: type = ptr_type %Cpp.void [concrete] -// CHECK:STDOUT: %ptr.d10: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.c97: type = pattern_type %ptr.d10 [concrete] -// CHECK:STDOUT: %UnsafeAs.type.d54: type = facet_type <@UnsafeAs, @UnsafeAs(%ptr.d10)> [concrete] +// CHECK:STDOUT: %ptr.2d0: type = ptr_type %Cpp.void [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %UnsafeAs.type.556: type = facet_type <@UnsafeAs, @UnsafeAs(%ptr.6be)> [concrete] // CHECK:STDOUT: %U.091: type = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.type.ed0: type = fn_type @ptr.as.UnsafeAs.impl.Convert, @ptr.as.UnsafeAs.impl(%T.67d, %U.091) [symbolic] -// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.8b4: %ptr.as.UnsafeAs.impl.Convert.type.ed0 = struct_value () [symbolic] -// CHECK:STDOUT: %UnsafeAs.impl_witness.676: = impl_witness imports.%UnsafeAs.impl_witness_table.546, @ptr.as.UnsafeAs.impl(%Cpp.void, %C) [concrete] -// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.type.dd5: type = fn_type @ptr.as.UnsafeAs.impl.Convert, @ptr.as.UnsafeAs.impl(%Cpp.void, %C) [concrete] -// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.3f5: %ptr.as.UnsafeAs.impl.Convert.type.dd5 = struct_value () [concrete] -// CHECK:STDOUT: %UnsafeAs.facet: %UnsafeAs.type.d54 = facet_value %ptr.838, (%UnsafeAs.impl_witness.676) [concrete] -// CHECK:STDOUT: %UnsafeAs.WithSelf.Convert.type.802: type = fn_type @UnsafeAs.WithSelf.Convert, @UnsafeAs.WithSelf(%ptr.d10, %UnsafeAs.facet) [concrete] -// CHECK:STDOUT: %.939: type = fn_type_with_self_type %UnsafeAs.WithSelf.Convert.type.802, %UnsafeAs.facet [concrete] -// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.specific_fn: = specific_function %ptr.as.UnsafeAs.impl.Convert.3f5, @ptr.as.UnsafeAs.impl.Convert(%Cpp.void, %C) [concrete] +// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.type.ed9: type = fn_type @ptr.as.UnsafeAs.impl.Convert, @ptr.as.UnsafeAs.impl(%T.67d, %U.091) [symbolic] +// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.83c: %ptr.as.UnsafeAs.impl.Convert.type.ed9 = struct_value () [symbolic] +// CHECK:STDOUT: %UnsafeAs.impl_witness.cea: = impl_witness imports.%UnsafeAs.impl_witness_table.ec8, @ptr.as.UnsafeAs.impl(%Cpp.void, %C) [concrete] +// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.type.810: type = fn_type @ptr.as.UnsafeAs.impl.Convert, @ptr.as.UnsafeAs.impl(%Cpp.void, %C) [concrete] +// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.eea: %ptr.as.UnsafeAs.impl.Convert.type.810 = struct_value () [concrete] +// CHECK:STDOUT: %UnsafeAs.facet: %UnsafeAs.type.556 = facet_value %ptr.2d0, (%UnsafeAs.impl_witness.cea) [concrete] +// CHECK:STDOUT: %UnsafeAs.WithSelf.Convert.type.d97: type = fn_type @UnsafeAs.WithSelf.Convert, @UnsafeAs.WithSelf(%ptr.6be, %UnsafeAs.facet) [concrete] +// CHECK:STDOUT: %.adf: type = fn_type_with_self_type %UnsafeAs.WithSelf.Convert.type.d97, %UnsafeAs.facet [concrete] +// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.specific_fn: = specific_function %ptr.as.UnsafeAs.impl.Convert.eea, @ptr.as.UnsafeAs.impl.Convert(%Cpp.void, %C) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.bce: @ptr.as.UnsafeAs.impl.%ptr.as.UnsafeAs.impl.Convert.type (%ptr.as.UnsafeAs.impl.Convert.type.ed0) = import_ref Core//prelude/operators/as, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.UnsafeAs.impl.%ptr.as.UnsafeAs.impl.Convert (constants.%ptr.as.UnsafeAs.impl.Convert.8b4)] -// CHECK:STDOUT: %UnsafeAs.impl_witness_table.546 = impl_witness_table (%Core.import_ref.bce), @ptr.as.UnsafeAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.9c8: @ptr.as.UnsafeAs.impl.%ptr.as.UnsafeAs.impl.Convert.type (%ptr.as.UnsafeAs.impl.Convert.type.ed9) = import_ref Core//prelude/operators/as, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.UnsafeAs.impl.%ptr.as.UnsafeAs.impl.Convert (constants.%ptr.as.UnsafeAs.impl.Convert.83c)] +// CHECK:STDOUT: %UnsafeAs.impl_witness_table.ec8 = impl_witness_table (%Core.import_ref.9c8), @ptr.as.UnsafeAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%input.param: %ptr.838) { +// CHECK:STDOUT: fn @F(%input.param: %ptr.2d0) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %p.patt: %pattern_type.c97 = value_binding_pattern p [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.1c8 = value_binding_pattern p [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %input.ref: %ptr.838 = name_ref input, %input +// CHECK:STDOUT: %input.ref: %ptr.2d0 = name_ref input, %input // CHECK:STDOUT: %C.ref.loc10_38: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc10_39: type = ptr_type %C.ref.loc10_38 [concrete = constants.%ptr.d10] -// CHECK:STDOUT: %impl.elem0: %.939 = impl_witness_access constants.%UnsafeAs.impl_witness.676, element0 [concrete = constants.%ptr.as.UnsafeAs.impl.Convert.3f5] +// CHECK:STDOUT: %ptr.loc10_39: type = ptr_type %C.ref.loc10_38 [concrete = constants.%ptr.6be] +// CHECK:STDOUT: %impl.elem0: %.adf = impl_witness_access constants.%UnsafeAs.impl_witness.cea, element0 [concrete = constants.%ptr.as.UnsafeAs.impl.Convert.eea] // CHECK:STDOUT: %bound_method.loc10_35.1: = bound_method %input.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.UnsafeAs.impl.Convert(constants.%Cpp.void, constants.%C) [concrete = constants.%ptr.as.UnsafeAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc10_35.2: = bound_method %input.ref, %specific_fn -// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.call: init %ptr.d10 = call %bound_method.loc10_35.2(%input.ref) -// CHECK:STDOUT: %.loc10_35.1: %ptr.d10 = value_of_initializer %ptr.as.UnsafeAs.impl.Convert.call -// CHECK:STDOUT: %.loc10_35.2: %ptr.d10 = converted %input.ref, %.loc10_35.1 -// CHECK:STDOUT: %.loc10_18: type = splice_block %ptr.loc10_18 [concrete = constants.%ptr.d10] { +// CHECK:STDOUT: %ptr.as.UnsafeAs.impl.Convert.call: init %ptr.6be = call %bound_method.loc10_35.2(%input.ref) +// CHECK:STDOUT: %.loc10_35.1: %ptr.6be = value_of_initializer %ptr.as.UnsafeAs.impl.Convert.call +// CHECK:STDOUT: %.loc10_35.2: %ptr.6be = converted %input.ref, %.loc10_35.1 +// CHECK:STDOUT: %.loc10_18: type = splice_block %ptr.loc10_18 [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %C.ref.loc10_17: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc10_18: type = ptr_type %C.ref.loc10_17 [concrete = constants.%ptr.d10] +// CHECK:STDOUT: %ptr.loc10_18: type = ptr_type %C.ref.loc10_17 [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.d10 = value_binding p, %.loc10_35.2 +// CHECK:STDOUT: %p: %ptr.6be = value_binding p, %.loc10_35.2 // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/range_for.carbon b/toolchain/check/testdata/interop/cpp/range_for.carbon index aacced841714..3ff935d8de2d 100644 --- a/toolchain/check/testdata/interop/cpp/range_for.carbon +++ b/toolchain/check/testdata/interop/cpp/range_for.carbon @@ -466,48 +466,48 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %CppRangeForIterate.type: type = facet_type <@CppRangeForIterate> [concrete] -// CHECK:STDOUT: %Self.668: %CppRangeForIterate.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.45d9b7.1: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%Self.668) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.e1b918.1: %CppRangeForIterate.WithSelf.End.type.45d9b7.1 = struct_value () [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.e09a97.1: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%Self.668) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.4c9a66.1: %CppRangeForIterate.WithSelf.Begin.type.e09a97.1 = struct_value () [symbolic] -// CHECK:STDOUT: %.Self.fda: %CppRangeForIterate.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Self.6c6: %CppRangeForIterate.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.056be7.1: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%Self.6c6) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.a331a3.1: %CppRangeForIterate.WithSelf.End.type.056be7.1 = struct_value () [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.753895.1: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%Self.6c6) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.2b31f7.1: %CppRangeForIterate.WithSelf.Begin.type.753895.1 = struct_value () [symbolic] +// CHECK:STDOUT: %.Self.10b: %CppRangeForIterate.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %CppRangeForIterate.assoc_type: type = assoc_entity_type @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.ae8: = lookup_impl_witness %.Self.fda, @CppRangeForIterate [symbolic_self] -// CHECK:STDOUT: %impl.elem0.354: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.ae8, element0 [symbolic_self] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.5bf: = lookup_impl_witness %.Self.10b, @CppRangeForIterate [symbolic_self] +// CHECK:STDOUT: %impl.elem0.d47: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.5bf, element0 [symbolic_self] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %impl.elem1.fdc: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.ae8, element1 [symbolic_self] -// CHECK:STDOUT: %CppRangeForIterate_where.type: type = facet_type <@CppRangeForIterate where %impl.elem0.354 impls @Destroy and %impl.elem1.fdc impls @Destroy> [concrete] +// CHECK:STDOUT: %impl.elem1.846: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.5bf, element1 [symbolic_self] +// CHECK:STDOUT: %CppRangeForIterate_where.type: type = facet_type <@CppRangeForIterate where %impl.elem0.d47 impls @Destroy and %impl.elem1.846 impls @Destroy> [concrete] // CHECK:STDOUT: %R: %CppRangeForIterate_where.type = symbolic_binding R, 0 [symbolic] // CHECK:STDOUT: %R.as_type: type = facet_access_type %R [symbolic] -// CHECK:STDOUT: %pattern_type.ff859f.2: type = pattern_type %R.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.26c6ea.2: type = pattern_type %R.as_type [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %assoc2: %CppRangeForIterate.assoc_type = assoc_entity element2, imports.%Core.import_ref.dad [concrete] -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.366fea.2: = lookup_impl_witness %R, @CppRangeForIterate [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.facet.527: %CppRangeForIterate.type = facet_value %R.as_type, (%CppRangeForIterate.lookup_impl_witness.366fea.2) [symbolic] -// CHECK:STDOUT: %impl.elem0.b36147.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element0 [symbolic] -// CHECK:STDOUT: %impl.elem1.3ad37d.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element1 [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.aa6: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.ebe: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %.227: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.aa6, %CppRangeForIterate.facet.527 [symbolic] -// CHECK:STDOUT: %impl.elem2: %.227 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element2 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.4a0: = specific_impl_function %impl.elem2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %assoc3: %CppRangeForIterate.assoc_type = assoc_entity element3, imports.%Core.import_ref.f0a [concrete] -// CHECK:STDOUT: %.cab: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.ebe, %CppRangeForIterate.facet.527 [symbolic] -// CHECK:STDOUT: %impl.elem3: %.cab = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element3 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.cc4: = specific_impl_function %impl.elem3, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.4ab: = lookup_impl_witness %impl.elem1.3ad37d.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.553: %Destroy.type = facet_value %impl.elem1.3ad37d.2, (%Destroy.lookup_impl_witness.4ab) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.b61: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.553) [symbolic] -// CHECK:STDOUT: %.b17: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.b61, %Destroy.facet.553 [symbolic] -// CHECK:STDOUT: %impl.elem0.449: %.b17 = impl_witness_access %Destroy.lookup_impl_witness.4ab, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.03f: = specific_impl_function %impl.elem0.449, @Destroy.WithSelf.Op(%Destroy.facet.553) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.e97: = lookup_impl_witness %impl.elem0.b36147.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.503: %Destroy.type = facet_value %impl.elem0.b36147.2, (%Destroy.lookup_impl_witness.e97) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.4c8: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.503) [symbolic] -// CHECK:STDOUT: %.d5a: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.4c8, %Destroy.facet.503 [symbolic] -// CHECK:STDOUT: %impl.elem0.d1d: %.d5a = impl_witness_access %Destroy.lookup_impl_witness.e97, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.a5c: = specific_impl_function %impl.elem0.d1d, @Destroy.WithSelf.Op(%Destroy.facet.503) [symbolic] +// CHECK:STDOUT: %assoc2: %CppRangeForIterate.assoc_type = assoc_entity element2, imports.%Core.import_ref.213 [concrete] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.edd1fe.2: = lookup_impl_witness %R, @CppRangeForIterate [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.facet.0d2: %CppRangeForIterate.type = facet_value %R.as_type, (%CppRangeForIterate.lookup_impl_witness.edd1fe.2) [symbolic] +// CHECK:STDOUT: %impl.elem0.d5966e.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element0 [symbolic] +// CHECK:STDOUT: %impl.elem1.bdcd2d.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element1 [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.57e: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.04d: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %.b85: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.57e, %CppRangeForIterate.facet.0d2 [symbolic] +// CHECK:STDOUT: %impl.elem2: %.b85 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element2 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c0f: = specific_impl_function %impl.elem2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %assoc3: %CppRangeForIterate.assoc_type = assoc_entity element3, imports.%Core.import_ref.730 [concrete] +// CHECK:STDOUT: %.b40: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.04d, %CppRangeForIterate.facet.0d2 [symbolic] +// CHECK:STDOUT: %impl.elem3: %.b40 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element3 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.d6a: = specific_impl_function %impl.elem3, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.a8f: = lookup_impl_witness %impl.elem1.bdcd2d.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.543: %Destroy.type = facet_value %impl.elem1.bdcd2d.2, (%Destroy.lookup_impl_witness.a8f) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.366: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.543) [symbolic] +// CHECK:STDOUT: %.b83: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.366, %Destroy.facet.543 [symbolic] +// CHECK:STDOUT: %impl.elem0.acf: %.b83 = impl_witness_access %Destroy.lookup_impl_witness.a8f, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.add: = specific_impl_function %impl.elem0.acf, @Destroy.WithSelf.Op(%Destroy.facet.543) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.089: = lookup_impl_witness %impl.elem0.d5966e.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.5e8: %Destroy.type = facet_value %impl.elem0.d5966e.2, (%Destroy.lookup_impl_witness.089) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.7cb: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.5e8) [symbolic] +// CHECK:STDOUT: %.a68: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.7cb, %Destroy.facet.5e8 [symbolic] +// CHECK:STDOUT: %impl.elem0.f59: %.a68 = impl_witness_access %Destroy.lookup_impl_witness.089, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.f06: = specific_impl_function %impl.elem0.f59, @Destroy.WithSelf.Op(%Destroy.facet.5e8) [symbolic] // CHECK:STDOUT: %MutableRange: type = class_type @MutableRange [concrete] // CHECK:STDOUT: %pattern_type.b76: type = pattern_type %MutableRange [concrete] // CHECK:STDOUT: %ConstRange: type = class_type @ConstRange [concrete] @@ -519,44 +519,44 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %MutableRange.Begin: %MutableRange.Begin.type = struct_value () [concrete] // CHECK:STDOUT: %MutableRange.End.type: type = fn_type @MutableRange.End [concrete] // CHECK:STDOUT: %MutableRange.End: %MutableRange.End.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.ea2: = custom_witness (%Iterator.826, %Iterator.826, %MutableRange.Begin, %MutableRange.End), @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.facet.9d3: %CppRangeForIterate.type = facet_value %MutableRange, (%custom_witness.ea2) [concrete] +// CHECK:STDOUT: %custom_witness.544: = custom_witness (%Iterator.826, %Iterator.826, %MutableRange.Begin, %MutableRange.End), @CppRangeForIterate [concrete] +// CHECK:STDOUT: %CppRangeForIterate.facet.486: %CppRangeForIterate.type = facet_value %MutableRange, (%custom_witness.544) [concrete] // CHECK:STDOUT: %Iterator.Op.type.134: type = fn_type @Iterator.Op.1 [concrete] // CHECK:STDOUT: %Iterator.Op.f05: %Iterator.Op.type.134 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.a97: = custom_witness (%Iterator.Op.f05), @Destroy [concrete] -// CHECK:STDOUT: %facet_value.a96: %CppRangeForIterate_where.type = facet_value %MutableRange, (%custom_witness.ea2, %custom_witness.a97) [concrete] +// CHECK:STDOUT: %custom_witness.ef9: = custom_witness (%Iterator.Op.f05), @Destroy [concrete] +// CHECK:STDOUT: %facet_value.848: %CppRangeForIterate_where.type = facet_value %MutableRange, (%custom_witness.544, %custom_witness.ef9) [concrete] // CHECK:STDOUT: %Iterator.4f0: type = class_type @Iterator.2 [concrete] // CHECK:STDOUT: %ConstRange.Begin.type: type = fn_type @ConstRange.Begin [concrete] // CHECK:STDOUT: %ConstRange.Begin: %ConstRange.Begin.type = struct_value () [concrete] // CHECK:STDOUT: %ConstRange.End.type: type = fn_type @ConstRange.End [concrete] // CHECK:STDOUT: %ConstRange.End: %ConstRange.End.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.e4e: = custom_witness (%Iterator.4f0, %Iterator.4f0, %ConstRange.Begin, %ConstRange.End), @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.facet.0b1: %CppRangeForIterate.type = facet_value %ConstRange, (%custom_witness.e4e) [concrete] +// CHECK:STDOUT: %custom_witness.83f: = custom_witness (%Iterator.4f0, %Iterator.4f0, %ConstRange.Begin, %ConstRange.End), @CppRangeForIterate [concrete] +// CHECK:STDOUT: %CppRangeForIterate.facet.d14: %CppRangeForIterate.type = facet_value %ConstRange, (%custom_witness.83f) [concrete] // CHECK:STDOUT: %Iterator.Op.type.9f2: type = fn_type @Iterator.Op.2 [concrete] // CHECK:STDOUT: %Iterator.Op.7b7: %Iterator.Op.type.9f2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.569: = custom_witness (%Iterator.Op.7b7), @Destroy [concrete] -// CHECK:STDOUT: %facet_value.bc0: %CppRangeForIterate_where.type = facet_value %ConstRange, (%custom_witness.e4e, %custom_witness.569) [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.5c8: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.9d3) [concrete] -// CHECK:STDOUT: %.a3d: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.5c8, %CppRangeForIterate.facet.9d3 [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.a6b: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.9d3) [concrete] -// CHECK:STDOUT: %.cf9: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.a6b, %CppRangeForIterate.facet.9d3 [concrete] -// CHECK:STDOUT: %Destroy.facet.41d: %Destroy.type = facet_value %Iterator.826, (%custom_witness.a97) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.323: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.41d) [concrete] -// CHECK:STDOUT: %.458: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.323, %Destroy.facet.41d [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.9a2: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.0b1) [concrete] -// CHECK:STDOUT: %.ce0: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.9a2, %CppRangeForIterate.facet.0b1 [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.1ba: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.0b1) [concrete] -// CHECK:STDOUT: %.3fc: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.1ba, %CppRangeForIterate.facet.0b1 [concrete] -// CHECK:STDOUT: %Destroy.facet.b0c: %Destroy.type = facet_value %Iterator.4f0, (%custom_witness.569) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.656: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.b0c) [concrete] -// CHECK:STDOUT: %.80f: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.656, %Destroy.facet.b0c [concrete] +// CHECK:STDOUT: %custom_witness.df0: = custom_witness (%Iterator.Op.7b7), @Destroy [concrete] +// CHECK:STDOUT: %facet_value.d23: %CppRangeForIterate_where.type = facet_value %ConstRange, (%custom_witness.83f, %custom_witness.df0) [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.aea: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.486) [concrete] +// CHECK:STDOUT: %.5be: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.aea, %CppRangeForIterate.facet.486 [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.1c4: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.486) [concrete] +// CHECK:STDOUT: %.e19: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.1c4, %CppRangeForIterate.facet.486 [concrete] +// CHECK:STDOUT: %Destroy.facet.f6b: %Destroy.type = facet_value %Iterator.826, (%custom_witness.ef9) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.a45: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.f6b) [concrete] +// CHECK:STDOUT: %.ee6: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.a45, %Destroy.facet.f6b [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.4f8: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.d14) [concrete] +// CHECK:STDOUT: %.3b9: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.4f8, %CppRangeForIterate.facet.d14 [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.d4a: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.d14) [concrete] +// CHECK:STDOUT: %.364: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.d4a, %CppRangeForIterate.facet.d14 [concrete] +// CHECK:STDOUT: %Destroy.facet.2fa: %Destroy.type = facet_value %Iterator.4f0, (%custom_witness.df0) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.993: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.2fa) [concrete] +// CHECK:STDOUT: %.61a: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.993, %Destroy.facet.2fa [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.4af: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc2] -// CHECK:STDOUT: %Core.import_ref.83c: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc3] -// CHECK:STDOUT: %Core.import_ref.dad: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin.type (%CppRangeForIterate.WithSelf.Begin.type.e09a97.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin (constants.%CppRangeForIterate.WithSelf.Begin.4c9a66.1)] -// CHECK:STDOUT: %Core.import_ref.f0a: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End.type (%CppRangeForIterate.WithSelf.End.type.45d9b7.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End (constants.%CppRangeForIterate.WithSelf.End.e1b918.1)] +// CHECK:STDOUT: %Core.import_ref.735: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc2] +// CHECK:STDOUT: %Core.import_ref.572: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc3] +// CHECK:STDOUT: %Core.import_ref.213: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin.type (%CppRangeForIterate.WithSelf.Begin.type.753895.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin (constants.%CppRangeForIterate.WithSelf.Begin.2b31f7.1)] +// CHECK:STDOUT: %Core.import_ref.730: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End.type (%CppRangeForIterate.WithSelf.End.type.056be7.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End (constants.%CppRangeForIterate.WithSelf.End.a331a3.1)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Test(%R.loc30_10.2: %CppRangeForIterate_where.type) { @@ -564,59 +564,59 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness: = lookup_impl_witness %R.loc30_10.1, @CppRangeForIterate [symbolic = %CppRangeForIterate.lookup_impl_witness (constants.%CppRangeForIterate.lookup_impl_witness.366fea.2)] -// CHECK:STDOUT: %CppRangeForIterate.facet: %CppRangeForIterate.type = facet_value %R.as_type.loc30_113.1, (%CppRangeForIterate.lookup_impl_witness) [symbolic = %CppRangeForIterate.facet (constants.%CppRangeForIterate.facet.527)] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.Begin.type (constants.%CppRangeForIterate.WithSelf.Begin.type.aa6)] -// CHECK:STDOUT: %.loc32_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type, %CppRangeForIterate.facet [symbolic = %.loc32_4 (constants.%.227)] -// CHECK:STDOUT: %impl.elem2.loc32_4.2: @Test.%.loc32_4 (%.227) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc32_4.2 (constants.%impl.elem2)] -// CHECK:STDOUT: %specific_impl_fn.loc32_4.2: = specific_impl_function %impl.elem2.loc32_4.2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc32_4.2 (constants.%specific_impl_fn.4a0)] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness: = lookup_impl_witness %R.loc30_10.1, @CppRangeForIterate [symbolic = %CppRangeForIterate.lookup_impl_witness (constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2)] +// CHECK:STDOUT: %CppRangeForIterate.facet: %CppRangeForIterate.type = facet_value %R.as_type.loc30_113.1, (%CppRangeForIterate.lookup_impl_witness) [symbolic = %CppRangeForIterate.facet (constants.%CppRangeForIterate.facet.0d2)] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.Begin.type (constants.%CppRangeForIterate.WithSelf.Begin.type.57e)] +// CHECK:STDOUT: %.loc32_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type, %CppRangeForIterate.facet [symbolic = %.loc32_4 (constants.%.b85)] +// CHECK:STDOUT: %impl.elem2.loc32_4.2: @Test.%.loc32_4 (%.b85) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc32_4.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %specific_impl_fn.loc32_4.2: = specific_impl_function %impl.elem2.loc32_4.2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc32_4.2 (constants.%specific_impl_fn.c0f)] // CHECK:STDOUT: -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.End.type (constants.%CppRangeForIterate.WithSelf.End.type.ebe)] -// CHECK:STDOUT: %.loc33_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type, %CppRangeForIterate.facet [symbolic = %.loc33_4 (constants.%.cab)] -// CHECK:STDOUT: %impl.elem3.loc33_4.2: @Test.%.loc33_4 (%.cab) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc33_4.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %specific_impl_fn.loc33_4.2: = specific_impl_function %impl.elem3.loc33_4.2, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc33_4.2 (constants.%specific_impl_fn.cc4)] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.End.type (constants.%CppRangeForIterate.WithSelf.End.type.04d)] +// CHECK:STDOUT: %.loc33_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type, %CppRangeForIterate.facet [symbolic = %.loc33_4 (constants.%.b40)] +// CHECK:STDOUT: %impl.elem3.loc33_4.2: @Test.%.loc33_4 (%.b40) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc33_4.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %specific_impl_fn.loc33_4.2: = specific_impl_function %impl.elem3.loc33_4.2, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc33_4.2 (constants.%specific_impl_fn.d6a)] // CHECK:STDOUT: -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc33: = lookup_impl_witness %impl.elem1.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc33 (constants.%Destroy.lookup_impl_witness.4ab)] -// CHECK:STDOUT: %Destroy.facet.loc33: %Destroy.type = facet_value %impl.elem1.1, (%Destroy.lookup_impl_witness.loc33) [symbolic = %Destroy.facet.loc33 (constants.%Destroy.facet.553)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc33: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc33) [symbolic = %Destroy.WithSelf.Op.type.loc33 (constants.%Destroy.WithSelf.Op.type.b61)] -// CHECK:STDOUT: %.loc33_9.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc33, %Destroy.facet.loc33 [symbolic = %.loc33_9.3 (constants.%.b17)] -// CHECK:STDOUT: %impl.elem0.loc33_9.2: @Test.%.loc33_9.3 (%.b17) = impl_witness_access %Destroy.lookup_impl_witness.loc33, element0 [symbolic = %impl.elem0.loc33_9.2 (constants.%impl.elem0.449)] -// CHECK:STDOUT: %specific_impl_fn.loc33_9.2: = specific_impl_function %impl.elem0.loc33_9.2, @Destroy.WithSelf.Op(%Destroy.facet.loc33) [symbolic = %specific_impl_fn.loc33_9.2 (constants.%specific_impl_fn.03f)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc32: = lookup_impl_witness %impl.elem0.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc32 (constants.%Destroy.lookup_impl_witness.e97)] -// CHECK:STDOUT: %Destroy.facet.loc32: %Destroy.type = facet_value %impl.elem0.1, (%Destroy.lookup_impl_witness.loc32) [symbolic = %Destroy.facet.loc32 (constants.%Destroy.facet.503)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc32: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc32) [symbolic = %Destroy.WithSelf.Op.type.loc32 (constants.%Destroy.WithSelf.Op.type.4c8)] -// CHECK:STDOUT: %.loc32_11.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc32, %Destroy.facet.loc32 [symbolic = %.loc32_11.3 (constants.%.d5a)] -// CHECK:STDOUT: %impl.elem0.loc32_11.2: @Test.%.loc32_11.3 (%.d5a) = impl_witness_access %Destroy.lookup_impl_witness.loc32, element0 [symbolic = %impl.elem0.loc32_11.2 (constants.%impl.elem0.d1d)] -// CHECK:STDOUT: %specific_impl_fn.loc32_11.2: = specific_impl_function %impl.elem0.loc32_11.2, @Destroy.WithSelf.Op(%Destroy.facet.loc32) [symbolic = %specific_impl_fn.loc32_11.2 (constants.%specific_impl_fn.a5c)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc33: = lookup_impl_witness %impl.elem1.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc33 (constants.%Destroy.lookup_impl_witness.a8f)] +// CHECK:STDOUT: %Destroy.facet.loc33: %Destroy.type = facet_value %impl.elem1.1, (%Destroy.lookup_impl_witness.loc33) [symbolic = %Destroy.facet.loc33 (constants.%Destroy.facet.543)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc33: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc33) [symbolic = %Destroy.WithSelf.Op.type.loc33 (constants.%Destroy.WithSelf.Op.type.366)] +// CHECK:STDOUT: %.loc33_9.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc33, %Destroy.facet.loc33 [symbolic = %.loc33_9.3 (constants.%.b83)] +// CHECK:STDOUT: %impl.elem0.loc33_9.2: @Test.%.loc33_9.3 (%.b83) = impl_witness_access %Destroy.lookup_impl_witness.loc33, element0 [symbolic = %impl.elem0.loc33_9.2 (constants.%impl.elem0.acf)] +// CHECK:STDOUT: %specific_impl_fn.loc33_9.2: = specific_impl_function %impl.elem0.loc33_9.2, @Destroy.WithSelf.Op(%Destroy.facet.loc33) [symbolic = %specific_impl_fn.loc33_9.2 (constants.%specific_impl_fn.add)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc32: = lookup_impl_witness %impl.elem0.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc32 (constants.%Destroy.lookup_impl_witness.089)] +// CHECK:STDOUT: %Destroy.facet.loc32: %Destroy.type = facet_value %impl.elem0.1, (%Destroy.lookup_impl_witness.loc32) [symbolic = %Destroy.facet.loc32 (constants.%Destroy.facet.5e8)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc32: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc32) [symbolic = %Destroy.WithSelf.Op.type.loc32 (constants.%Destroy.WithSelf.Op.type.7cb)] +// CHECK:STDOUT: %.loc32_11.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc32, %Destroy.facet.loc32 [symbolic = %.loc32_11.3 (constants.%.a68)] +// CHECK:STDOUT: %impl.elem0.loc32_11.2: @Test.%.loc32_11.3 (%.a68) = impl_witness_access %Destroy.lookup_impl_witness.loc32, element0 [symbolic = %impl.elem0.loc32_11.2 (constants.%impl.elem0.f59)] +// CHECK:STDOUT: %specific_impl_fn.loc32_11.2: = specific_impl_function %impl.elem0.loc32_11.2, @Destroy.WithSelf.Op(%Destroy.facet.loc32) [symbolic = %specific_impl_fn.loc32_11.2 (constants.%specific_impl_fn.f06)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%r.param: ref @Test.%R.as_type.loc30_113.1 (%R.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %r.ref.loc32: ref @Test.%R.as_type.loc30_113.1 (%R.as_type) = name_ref r, %r -// CHECK:STDOUT: %Begin.ref: %CppRangeForIterate.assoc_type = name_ref Begin, imports.%Core.import_ref.4af [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc32_4.1: @Test.%.loc32_4 (%.227) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.366fea.2, element2 [symbolic = %impl.elem2.loc32_4.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %Begin.ref: %CppRangeForIterate.assoc_type = name_ref Begin, imports.%Core.import_ref.735 [concrete = constants.%assoc2] +// CHECK:STDOUT: %impl.elem2.loc32_4.1: @Test.%.loc32_4 (%.b85) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2, element2 [symbolic = %impl.elem2.loc32_4.2 (constants.%impl.elem2)] // CHECK:STDOUT: %bound_method.loc32_4: = bound_method %r.ref.loc32, %impl.elem2.loc32_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc32_4.1: = specific_impl_function %impl.elem2.loc32_4.1, @CppRangeForIterate.WithSelf.Begin(constants.%CppRangeForIterate.facet.527) [symbolic = %specific_impl_fn.loc32_4.2 (constants.%specific_impl_fn.4a0)] +// CHECK:STDOUT: %specific_impl_fn.loc32_4.1: = specific_impl_function %impl.elem2.loc32_4.1, @CppRangeForIterate.WithSelf.Begin(constants.%CppRangeForIterate.facet.0d2) [symbolic = %specific_impl_fn.loc32_4.2 (constants.%specific_impl_fn.c0f)] // CHECK:STDOUT: %bound_method.loc32_11.1: = bound_method %r.ref.loc32, %specific_impl_fn.loc32_4.1 -// CHECK:STDOUT: %.loc32_11.1: ref @Test.%impl.elem0.1 (%impl.elem0.b36147.2) = temporary_storage -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.call: init @Test.%impl.elem0.1 (%impl.elem0.b36147.2) to %.loc32_11.1 = call %bound_method.loc32_11.1(%r.ref.loc32) -// CHECK:STDOUT: %.loc32_11.2: ref @Test.%impl.elem0.1 (%impl.elem0.b36147.2) = temporary %.loc32_11.1, %CppRangeForIterate.WithSelf.Begin.call +// CHECK:STDOUT: %.loc32_11.1: ref @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) = temporary_storage +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.call: init @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) to %.loc32_11.1 = call %bound_method.loc32_11.1(%r.ref.loc32) +// CHECK:STDOUT: %.loc32_11.2: ref @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) = temporary %.loc32_11.1, %CppRangeForIterate.WithSelf.Begin.call // CHECK:STDOUT: %r.ref.loc33: ref @Test.%R.as_type.loc30_113.1 (%R.as_type) = name_ref r, %r -// CHECK:STDOUT: %End.ref: %CppRangeForIterate.assoc_type = name_ref End, imports.%Core.import_ref.83c [concrete = constants.%assoc3] -// CHECK:STDOUT: %impl.elem3.loc33_4.1: @Test.%.loc33_4 (%.cab) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.366fea.2, element3 [symbolic = %impl.elem3.loc33_4.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %End.ref: %CppRangeForIterate.assoc_type = name_ref End, imports.%Core.import_ref.572 [concrete = constants.%assoc3] +// CHECK:STDOUT: %impl.elem3.loc33_4.1: @Test.%.loc33_4 (%.b40) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2, element3 [symbolic = %impl.elem3.loc33_4.2 (constants.%impl.elem3)] // CHECK:STDOUT: %bound_method.loc33_4: = bound_method %r.ref.loc33, %impl.elem3.loc33_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc33_4.1: = specific_impl_function %impl.elem3.loc33_4.1, @CppRangeForIterate.WithSelf.End(constants.%CppRangeForIterate.facet.527) [symbolic = %specific_impl_fn.loc33_4.2 (constants.%specific_impl_fn.cc4)] +// CHECK:STDOUT: %specific_impl_fn.loc33_4.1: = specific_impl_function %impl.elem3.loc33_4.1, @CppRangeForIterate.WithSelf.End(constants.%CppRangeForIterate.facet.0d2) [symbolic = %specific_impl_fn.loc33_4.2 (constants.%specific_impl_fn.d6a)] // CHECK:STDOUT: %bound_method.loc33_9.1: = bound_method %r.ref.loc33, %specific_impl_fn.loc33_4.1 -// CHECK:STDOUT: %.loc33_9.1: ref @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) = temporary_storage -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.call: init @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) to %.loc33_9.1 = call %bound_method.loc33_9.1(%r.ref.loc33) -// CHECK:STDOUT: %.loc33_9.2: ref @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) = temporary %.loc33_9.1, %CppRangeForIterate.WithSelf.End.call -// CHECK:STDOUT: %impl.elem0.loc33_9.1: @Test.%.loc33_9.3 (%.b17) = impl_witness_access constants.%Destroy.lookup_impl_witness.4ab, element0 [symbolic = %impl.elem0.loc33_9.2 (constants.%impl.elem0.449)] +// CHECK:STDOUT: %.loc33_9.1: ref @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) = temporary_storage +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.call: init @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) to %.loc33_9.1 = call %bound_method.loc33_9.1(%r.ref.loc33) +// CHECK:STDOUT: %.loc33_9.2: ref @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) = temporary %.loc33_9.1, %CppRangeForIterate.WithSelf.End.call +// CHECK:STDOUT: %impl.elem0.loc33_9.1: @Test.%.loc33_9.3 (%.b83) = impl_witness_access constants.%Destroy.lookup_impl_witness.a8f, element0 [symbolic = %impl.elem0.loc33_9.2 (constants.%impl.elem0.acf)] // CHECK:STDOUT: %bound_method.loc33_9.2: = bound_method %.loc33_9.2, %impl.elem0.loc33_9.1 -// CHECK:STDOUT: %specific_impl_fn.loc33_9.1: = specific_impl_function %impl.elem0.loc33_9.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.553) [symbolic = %specific_impl_fn.loc33_9.2 (constants.%specific_impl_fn.03f)] +// CHECK:STDOUT: %specific_impl_fn.loc33_9.1: = specific_impl_function %impl.elem0.loc33_9.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.543) [symbolic = %specific_impl_fn.loc33_9.2 (constants.%specific_impl_fn.add)] // CHECK:STDOUT: %bound_method.loc33_9.3: = bound_method %.loc33_9.2, %specific_impl_fn.loc33_9.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc33: init %empty_tuple.type = call %bound_method.loc33_9.3(%.loc33_9.2) -// CHECK:STDOUT: %impl.elem0.loc32_11.1: @Test.%.loc32_11.3 (%.d5a) = impl_witness_access constants.%Destroy.lookup_impl_witness.e97, element0 [symbolic = %impl.elem0.loc32_11.2 (constants.%impl.elem0.d1d)] +// CHECK:STDOUT: %impl.elem0.loc32_11.1: @Test.%.loc32_11.3 (%.a68) = impl_witness_access constants.%Destroy.lookup_impl_witness.089, element0 [symbolic = %impl.elem0.loc32_11.2 (constants.%impl.elem0.f59)] // CHECK:STDOUT: %bound_method.loc32_11.2: = bound_method %.loc32_11.2, %impl.elem0.loc32_11.1 -// CHECK:STDOUT: %specific_impl_fn.loc32_11.1: = specific_impl_function %impl.elem0.loc32_11.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.503) [symbolic = %specific_impl_fn.loc32_11.2 (constants.%specific_impl_fn.a5c)] +// CHECK:STDOUT: %specific_impl_fn.loc32_11.1: = specific_impl_function %impl.elem0.loc32_11.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.5e8) [symbolic = %specific_impl_fn.loc32_11.2 (constants.%specific_impl_fn.f06)] // CHECK:STDOUT: %bound_method.loc32_11.3: = bound_method %.loc32_11.2, %specific_impl_fn.loc32_11.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc32: init %empty_tuple.type = call %bound_method.loc32_11.3(%.loc32_11.2) // CHECK:STDOUT: @@ -626,75 +626,75 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: specific @Test(constants.%R) { // CHECK:STDOUT: %R.loc30_10.1 => constants.%R // CHECK:STDOUT: %R.as_type.loc30_113.1 => constants.%R.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ff859f.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.26c6ea.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Test(constants.%facet_value.a96) { -// CHECK:STDOUT: %R.loc30_10.1 => constants.%facet_value.a96 +// CHECK:STDOUT: specific @Test(constants.%facet_value.848) { +// CHECK:STDOUT: %R.loc30_10.1 => constants.%facet_value.848 // CHECK:STDOUT: %R.as_type.loc30_113.1 => constants.%MutableRange // CHECK:STDOUT: %pattern_type => constants.%pattern_type.b76 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc30 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.ea2 -// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.9d3 -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.5c8 -// CHECK:STDOUT: %.loc32_4 => constants.%.a3d +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.544 +// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.486 +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.aea +// CHECK:STDOUT: %.loc32_4 => constants.%.5be // CHECK:STDOUT: %impl.elem2.loc32_4.2 => constants.%MutableRange.Begin // CHECK:STDOUT: %specific_impl_fn.loc32_4.2 => constants.%MutableRange.Begin // CHECK:STDOUT: %impl.elem0.1 => constants.%Iterator.826 // CHECK:STDOUT: %require_complete.1 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.a6b -// CHECK:STDOUT: %.loc33_4 => constants.%.cf9 +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.1c4 +// CHECK:STDOUT: %.loc33_4 => constants.%.e19 // CHECK:STDOUT: %impl.elem3.loc33_4.2 => constants.%MutableRange.End // CHECK:STDOUT: %specific_impl_fn.loc33_4.2 => constants.%MutableRange.End // CHECK:STDOUT: %impl.elem1.1 => constants.%Iterator.826 // CHECK:STDOUT: %require_complete.2 => constants.%complete_type -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc33 => constants.%custom_witness.a97 -// CHECK:STDOUT: %Destroy.facet.loc33 => constants.%Destroy.facet.41d -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc33 => constants.%Destroy.WithSelf.Op.type.323 -// CHECK:STDOUT: %.loc33_9.3 => constants.%.458 +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc33 => constants.%custom_witness.ef9 +// CHECK:STDOUT: %Destroy.facet.loc33 => constants.%Destroy.facet.f6b +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc33 => constants.%Destroy.WithSelf.Op.type.a45 +// CHECK:STDOUT: %.loc33_9.3 => constants.%.ee6 // CHECK:STDOUT: %impl.elem0.loc33_9.2 => constants.%Iterator.Op.f05 // CHECK:STDOUT: %specific_impl_fn.loc33_9.2 => constants.%Iterator.Op.f05 -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc32 => constants.%custom_witness.a97 -// CHECK:STDOUT: %Destroy.facet.loc32 => constants.%Destroy.facet.41d -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc32 => constants.%Destroy.WithSelf.Op.type.323 -// CHECK:STDOUT: %.loc32_11.3 => constants.%.458 +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc32 => constants.%custom_witness.ef9 +// CHECK:STDOUT: %Destroy.facet.loc32 => constants.%Destroy.facet.f6b +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc32 => constants.%Destroy.WithSelf.Op.type.a45 +// CHECK:STDOUT: %.loc32_11.3 => constants.%.ee6 // CHECK:STDOUT: %impl.elem0.loc32_11.2 => constants.%Iterator.Op.f05 // CHECK:STDOUT: %specific_impl_fn.loc32_11.2 => constants.%Iterator.Op.f05 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Test(constants.%facet_value.bc0) { -// CHECK:STDOUT: %R.loc30_10.1 => constants.%facet_value.bc0 +// CHECK:STDOUT: specific @Test(constants.%facet_value.d23) { +// CHECK:STDOUT: %R.loc30_10.1 => constants.%facet_value.d23 // CHECK:STDOUT: %R.as_type.loc30_113.1 => constants.%ConstRange // CHECK:STDOUT: %pattern_type => constants.%pattern_type.631 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc30 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.e4e -// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.0b1 -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.9a2 -// CHECK:STDOUT: %.loc32_4 => constants.%.ce0 +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.83f +// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.d14 +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.4f8 +// CHECK:STDOUT: %.loc32_4 => constants.%.3b9 // CHECK:STDOUT: %impl.elem2.loc32_4.2 => constants.%ConstRange.Begin // CHECK:STDOUT: %specific_impl_fn.loc32_4.2 => constants.%ConstRange.Begin // CHECK:STDOUT: %impl.elem0.1 => constants.%Iterator.4f0 // CHECK:STDOUT: %require_complete.1 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.1ba -// CHECK:STDOUT: %.loc33_4 => constants.%.3fc +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.d4a +// CHECK:STDOUT: %.loc33_4 => constants.%.364 // CHECK:STDOUT: %impl.elem3.loc33_4.2 => constants.%ConstRange.End // CHECK:STDOUT: %specific_impl_fn.loc33_4.2 => constants.%ConstRange.End // CHECK:STDOUT: %impl.elem1.1 => constants.%Iterator.4f0 // CHECK:STDOUT: %require_complete.2 => constants.%complete_type -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc33 => constants.%custom_witness.569 -// CHECK:STDOUT: %Destroy.facet.loc33 => constants.%Destroy.facet.b0c -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc33 => constants.%Destroy.WithSelf.Op.type.656 -// CHECK:STDOUT: %.loc33_9.3 => constants.%.80f +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc33 => constants.%custom_witness.df0 +// CHECK:STDOUT: %Destroy.facet.loc33 => constants.%Destroy.facet.2fa +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc33 => constants.%Destroy.WithSelf.Op.type.993 +// CHECK:STDOUT: %.loc33_9.3 => constants.%.61a // CHECK:STDOUT: %impl.elem0.loc33_9.2 => constants.%Iterator.Op.7b7 // CHECK:STDOUT: %specific_impl_fn.loc33_9.2 => constants.%Iterator.Op.7b7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc32 => constants.%custom_witness.569 -// CHECK:STDOUT: %Destroy.facet.loc32 => constants.%Destroy.facet.b0c -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc32 => constants.%Destroy.WithSelf.Op.type.656 -// CHECK:STDOUT: %.loc32_11.3 => constants.%.80f +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc32 => constants.%custom_witness.df0 +// CHECK:STDOUT: %Destroy.facet.loc32 => constants.%Destroy.facet.2fa +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc32 => constants.%Destroy.WithSelf.Op.type.993 +// CHECK:STDOUT: %.loc32_11.3 => constants.%.61a // CHECK:STDOUT: %impl.elem0.loc32_11.2 => constants.%Iterator.Op.7b7 // CHECK:STDOUT: %specific_impl_fn.loc32_11.2 => constants.%Iterator.Op.7b7 // CHECK:STDOUT: } @@ -703,48 +703,48 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %CppRangeForIterate.type: type = facet_type <@CppRangeForIterate> [concrete] -// CHECK:STDOUT: %Self.668: %CppRangeForIterate.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.45d9b7.1: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%Self.668) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.e1b918.1: %CppRangeForIterate.WithSelf.End.type.45d9b7.1 = struct_value () [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.e09a97.1: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%Self.668) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.4c9a66.1: %CppRangeForIterate.WithSelf.Begin.type.e09a97.1 = struct_value () [symbolic] -// CHECK:STDOUT: %.Self.fda: %CppRangeForIterate.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Self.6c6: %CppRangeForIterate.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.056be7.1: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%Self.6c6) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.a331a3.1: %CppRangeForIterate.WithSelf.End.type.056be7.1 = struct_value () [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.753895.1: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%Self.6c6) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.2b31f7.1: %CppRangeForIterate.WithSelf.Begin.type.753895.1 = struct_value () [symbolic] +// CHECK:STDOUT: %.Self.10b: %CppRangeForIterate.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %CppRangeForIterate.assoc_type: type = assoc_entity_type @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.ae8: = lookup_impl_witness %.Self.fda, @CppRangeForIterate [symbolic_self] -// CHECK:STDOUT: %impl.elem0.354: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.ae8, element0 [symbolic_self] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.5bf: = lookup_impl_witness %.Self.10b, @CppRangeForIterate [symbolic_self] +// CHECK:STDOUT: %impl.elem0.d47: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.5bf, element0 [symbolic_self] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %impl.elem1.fdc: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.ae8, element1 [symbolic_self] -// CHECK:STDOUT: %CppRangeForIterate_where.type: type = facet_type <@CppRangeForIterate where %impl.elem0.354 impls @Destroy and %impl.elem1.fdc impls @Destroy> [concrete] +// CHECK:STDOUT: %impl.elem1.846: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.5bf, element1 [symbolic_self] +// CHECK:STDOUT: %CppRangeForIterate_where.type: type = facet_type <@CppRangeForIterate where %impl.elem0.d47 impls @Destroy and %impl.elem1.846 impls @Destroy> [concrete] // CHECK:STDOUT: %R: %CppRangeForIterate_where.type = symbolic_binding R, 0 [symbolic] // CHECK:STDOUT: %R.as_type: type = facet_access_type %R [symbolic] -// CHECK:STDOUT: %pattern_type.ff859f.2: type = pattern_type %R.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.26c6ea.2: type = pattern_type %R.as_type [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %assoc2: %CppRangeForIterate.assoc_type = assoc_entity element2, imports.%Core.import_ref.dad [concrete] -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.366fea.2: = lookup_impl_witness %R, @CppRangeForIterate [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.facet.527: %CppRangeForIterate.type = facet_value %R.as_type, (%CppRangeForIterate.lookup_impl_witness.366fea.2) [symbolic] -// CHECK:STDOUT: %impl.elem0.b36147.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element0 [symbolic] -// CHECK:STDOUT: %impl.elem1.3ad37d.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element1 [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.aa6: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.ebe: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %.227: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.aa6, %CppRangeForIterate.facet.527 [symbolic] -// CHECK:STDOUT: %impl.elem2: %.227 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element2 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.4a0: = specific_impl_function %impl.elem2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %assoc3: %CppRangeForIterate.assoc_type = assoc_entity element3, imports.%Core.import_ref.f0a [concrete] -// CHECK:STDOUT: %.cab: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.ebe, %CppRangeForIterate.facet.527 [symbolic] -// CHECK:STDOUT: %impl.elem3: %.cab = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element3 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.cc4: = specific_impl_function %impl.elem3, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.4ab: = lookup_impl_witness %impl.elem1.3ad37d.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.553: %Destroy.type = facet_value %impl.elem1.3ad37d.2, (%Destroy.lookup_impl_witness.4ab) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.b61: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.553) [symbolic] -// CHECK:STDOUT: %.b17: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.b61, %Destroy.facet.553 [symbolic] -// CHECK:STDOUT: %impl.elem0.449: %.b17 = impl_witness_access %Destroy.lookup_impl_witness.4ab, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.03f: = specific_impl_function %impl.elem0.449, @Destroy.WithSelf.Op(%Destroy.facet.553) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.e97: = lookup_impl_witness %impl.elem0.b36147.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.503: %Destroy.type = facet_value %impl.elem0.b36147.2, (%Destroy.lookup_impl_witness.e97) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.4c8: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.503) [symbolic] -// CHECK:STDOUT: %.d5a: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.4c8, %Destroy.facet.503 [symbolic] -// CHECK:STDOUT: %impl.elem0.d1d: %.d5a = impl_witness_access %Destroy.lookup_impl_witness.e97, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.a5c: = specific_impl_function %impl.elem0.d1d, @Destroy.WithSelf.Op(%Destroy.facet.503) [symbolic] +// CHECK:STDOUT: %assoc2: %CppRangeForIterate.assoc_type = assoc_entity element2, imports.%Core.import_ref.213 [concrete] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.edd1fe.2: = lookup_impl_witness %R, @CppRangeForIterate [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.facet.0d2: %CppRangeForIterate.type = facet_value %R.as_type, (%CppRangeForIterate.lookup_impl_witness.edd1fe.2) [symbolic] +// CHECK:STDOUT: %impl.elem0.d5966e.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element0 [symbolic] +// CHECK:STDOUT: %impl.elem1.bdcd2d.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element1 [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.57e: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.04d: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %.b85: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.57e, %CppRangeForIterate.facet.0d2 [symbolic] +// CHECK:STDOUT: %impl.elem2: %.b85 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element2 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c0f: = specific_impl_function %impl.elem2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %assoc3: %CppRangeForIterate.assoc_type = assoc_entity element3, imports.%Core.import_ref.730 [concrete] +// CHECK:STDOUT: %.b40: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.04d, %CppRangeForIterate.facet.0d2 [symbolic] +// CHECK:STDOUT: %impl.elem3: %.b40 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element3 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.d6a: = specific_impl_function %impl.elem3, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.a8f: = lookup_impl_witness %impl.elem1.bdcd2d.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.543: %Destroy.type = facet_value %impl.elem1.bdcd2d.2, (%Destroy.lookup_impl_witness.a8f) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.366: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.543) [symbolic] +// CHECK:STDOUT: %.b83: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.366, %Destroy.facet.543 [symbolic] +// CHECK:STDOUT: %impl.elem0.acf: %.b83 = impl_witness_access %Destroy.lookup_impl_witness.a8f, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.add: = specific_impl_function %impl.elem0.acf, @Destroy.WithSelf.Op(%Destroy.facet.543) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.089: = lookup_impl_witness %impl.elem0.d5966e.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.5e8: %Destroy.type = facet_value %impl.elem0.d5966e.2, (%Destroy.lookup_impl_witness.089) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.7cb: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.5e8) [symbolic] +// CHECK:STDOUT: %.a68: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.7cb, %Destroy.facet.5e8 [symbolic] +// CHECK:STDOUT: %impl.elem0.f59: %.a68 = impl_witness_access %Destroy.lookup_impl_witness.089, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.f06: = specific_impl_function %impl.elem0.f59, @Destroy.WithSelf.Op(%Destroy.facet.5e8) [symbolic] // CHECK:STDOUT: %MutableRange: type = class_type @MutableRange [concrete] // CHECK:STDOUT: %pattern_type.b76: type = pattern_type %MutableRange [concrete] // CHECK:STDOUT: %ConstRange: type = class_type @ConstRange [concrete] @@ -757,57 +757,57 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %MutableRange.Begin: %MutableRange.Begin.type = struct_value () [concrete] // CHECK:STDOUT: %MutableRange.End.type: type = fn_type @MutableRange.End [concrete] // CHECK:STDOUT: %MutableRange.End: %MutableRange.End.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.556: = custom_witness (%Iterator.826, %Sentinel.6eb, %MutableRange.Begin, %MutableRange.End), @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.facet.aae: %CppRangeForIterate.type = facet_value %MutableRange, (%custom_witness.556) [concrete] +// CHECK:STDOUT: %custom_witness.292: = custom_witness (%Iterator.826, %Sentinel.6eb, %MutableRange.Begin, %MutableRange.End), @CppRangeForIterate [concrete] +// CHECK:STDOUT: %CppRangeForIterate.facet.de2: %CppRangeForIterate.type = facet_value %MutableRange, (%custom_witness.292) [concrete] // CHECK:STDOUT: %Iterator.Op.type.134: type = fn_type @Iterator.Op.1 [concrete] // CHECK:STDOUT: %Iterator.Op.f05: %Iterator.Op.type.134 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.a9753d.1: = custom_witness (%Iterator.Op.f05), @Destroy [concrete] +// CHECK:STDOUT: %custom_witness.ef99ee.1: = custom_witness (%Iterator.Op.f05), @Destroy [concrete] // CHECK:STDOUT: %Sentinel.Op.type.134: type = fn_type @Sentinel.Op.1 [concrete] // CHECK:STDOUT: %Sentinel.Op.f05: %Sentinel.Op.type.134 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.a9753d.2: = custom_witness (%Sentinel.Op.f05), @Destroy [concrete] -// CHECK:STDOUT: %facet_value.d71: %CppRangeForIterate_where.type = facet_value %MutableRange, (%custom_witness.556, %custom_witness.a9753d.1, %custom_witness.a9753d.2) [concrete] +// CHECK:STDOUT: %custom_witness.ef99ee.2: = custom_witness (%Sentinel.Op.f05), @Destroy [concrete] +// CHECK:STDOUT: %facet_value.99a: %CppRangeForIterate_where.type = facet_value %MutableRange, (%custom_witness.292, %custom_witness.ef99ee.1, %custom_witness.ef99ee.2) [concrete] // CHECK:STDOUT: %Iterator.4f0: type = class_type @Iterator.2 [concrete] // CHECK:STDOUT: %Sentinel.45e: type = class_type @Sentinel.2 [concrete] // CHECK:STDOUT: %ConstRange.Begin.type: type = fn_type @ConstRange.Begin [concrete] // CHECK:STDOUT: %ConstRange.Begin: %ConstRange.Begin.type = struct_value () [concrete] // CHECK:STDOUT: %ConstRange.End.type: type = fn_type @ConstRange.End [concrete] // CHECK:STDOUT: %ConstRange.End: %ConstRange.End.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.d7a: = custom_witness (%Iterator.4f0, %Sentinel.45e, %ConstRange.Begin, %ConstRange.End), @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.facet.77a: %CppRangeForIterate.type = facet_value %ConstRange, (%custom_witness.d7a) [concrete] +// CHECK:STDOUT: %custom_witness.8cb: = custom_witness (%Iterator.4f0, %Sentinel.45e, %ConstRange.Begin, %ConstRange.End), @CppRangeForIterate [concrete] +// CHECK:STDOUT: %CppRangeForIterate.facet.ef1: %CppRangeForIterate.type = facet_value %ConstRange, (%custom_witness.8cb) [concrete] // CHECK:STDOUT: %Iterator.Op.type.9f2: type = fn_type @Iterator.Op.2 [concrete] // CHECK:STDOUT: %Iterator.Op.7b7: %Iterator.Op.type.9f2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.569415.1: = custom_witness (%Iterator.Op.7b7), @Destroy [concrete] +// CHECK:STDOUT: %custom_witness.df0c4f.1: = custom_witness (%Iterator.Op.7b7), @Destroy [concrete] // CHECK:STDOUT: %Sentinel.Op.type.9f2: type = fn_type @Sentinel.Op.2 [concrete] // CHECK:STDOUT: %Sentinel.Op.7b7: %Sentinel.Op.type.9f2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.569415.2: = custom_witness (%Sentinel.Op.7b7), @Destroy [concrete] -// CHECK:STDOUT: %facet_value.2eb: %CppRangeForIterate_where.type = facet_value %ConstRange, (%custom_witness.d7a, %custom_witness.569415.1, %custom_witness.569415.2) [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.1ae: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.aae) [concrete] -// CHECK:STDOUT: %.f5c: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.1ae, %CppRangeForIterate.facet.aae [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.16f: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.aae) [concrete] -// CHECK:STDOUT: %.f3e: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.16f, %CppRangeForIterate.facet.aae [concrete] -// CHECK:STDOUT: %Destroy.facet.ee2: %Destroy.type = facet_value %Sentinel.6eb, (%custom_witness.a9753d.2) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.ef7: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.ee2) [concrete] -// CHECK:STDOUT: %.bef: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.ef7, %Destroy.facet.ee2 [concrete] -// CHECK:STDOUT: %Destroy.facet.41d: %Destroy.type = facet_value %Iterator.826, (%custom_witness.a9753d.1) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.323: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.41d) [concrete] -// CHECK:STDOUT: %.458: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.323, %Destroy.facet.41d [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.7ad: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.77a) [concrete] -// CHECK:STDOUT: %.421: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.7ad, %CppRangeForIterate.facet.77a [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.79b: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.77a) [concrete] -// CHECK:STDOUT: %.b91: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.79b, %CppRangeForIterate.facet.77a [concrete] -// CHECK:STDOUT: %Destroy.facet.a41: %Destroy.type = facet_value %Sentinel.45e, (%custom_witness.569415.2) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.0c6: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.a41) [concrete] -// CHECK:STDOUT: %.df3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.0c6, %Destroy.facet.a41 [concrete] -// CHECK:STDOUT: %Destroy.facet.b0c: %Destroy.type = facet_value %Iterator.4f0, (%custom_witness.569415.1) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.656: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.b0c) [concrete] -// CHECK:STDOUT: %.80f: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.656, %Destroy.facet.b0c [concrete] +// CHECK:STDOUT: %custom_witness.df0c4f.2: = custom_witness (%Sentinel.Op.7b7), @Destroy [concrete] +// CHECK:STDOUT: %facet_value.b4b: %CppRangeForIterate_where.type = facet_value %ConstRange, (%custom_witness.8cb, %custom_witness.df0c4f.1, %custom_witness.df0c4f.2) [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.82a: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.de2) [concrete] +// CHECK:STDOUT: %.26f: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.82a, %CppRangeForIterate.facet.de2 [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.9fe: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.de2) [concrete] +// CHECK:STDOUT: %.6d3: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.9fe, %CppRangeForIterate.facet.de2 [concrete] +// CHECK:STDOUT: %Destroy.facet.959: %Destroy.type = facet_value %Sentinel.6eb, (%custom_witness.ef99ee.2) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.6d7: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.959) [concrete] +// CHECK:STDOUT: %.3e7: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.6d7, %Destroy.facet.959 [concrete] +// CHECK:STDOUT: %Destroy.facet.f6b: %Destroy.type = facet_value %Iterator.826, (%custom_witness.ef99ee.1) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.a45: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.f6b) [concrete] +// CHECK:STDOUT: %.ee6: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.a45, %Destroy.facet.f6b [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.317: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.ef1) [concrete] +// CHECK:STDOUT: %.3f6: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.317, %CppRangeForIterate.facet.ef1 [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.120: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.ef1) [concrete] +// CHECK:STDOUT: %.cd4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.120, %CppRangeForIterate.facet.ef1 [concrete] +// CHECK:STDOUT: %Destroy.facet.d9f: %Destroy.type = facet_value %Sentinel.45e, (%custom_witness.df0c4f.2) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.39d: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.d9f) [concrete] +// CHECK:STDOUT: %.f49: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.39d, %Destroy.facet.d9f [concrete] +// CHECK:STDOUT: %Destroy.facet.2fa: %Destroy.type = facet_value %Iterator.4f0, (%custom_witness.df0c4f.1) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.993: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.2fa) [concrete] +// CHECK:STDOUT: %.61a: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.993, %Destroy.facet.2fa [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.4af: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc2] -// CHECK:STDOUT: %Core.import_ref.83c: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc3] -// CHECK:STDOUT: %Core.import_ref.dad: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin.type (%CppRangeForIterate.WithSelf.Begin.type.e09a97.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin (constants.%CppRangeForIterate.WithSelf.Begin.4c9a66.1)] -// CHECK:STDOUT: %Core.import_ref.f0a: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End.type (%CppRangeForIterate.WithSelf.End.type.45d9b7.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End (constants.%CppRangeForIterate.WithSelf.End.e1b918.1)] +// CHECK:STDOUT: %Core.import_ref.735: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc2] +// CHECK:STDOUT: %Core.import_ref.572: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc3] +// CHECK:STDOUT: %Core.import_ref.213: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin.type (%CppRangeForIterate.WithSelf.Begin.type.753895.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin (constants.%CppRangeForIterate.WithSelf.Begin.2b31f7.1)] +// CHECK:STDOUT: %Core.import_ref.730: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End.type (%CppRangeForIterate.WithSelf.End.type.056be7.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End (constants.%CppRangeForIterate.WithSelf.End.a331a3.1)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Test(%R.loc40_10.2: %CppRangeForIterate_where.type) { @@ -815,59 +815,59 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness: = lookup_impl_witness %R.loc40_10.1, @CppRangeForIterate [symbolic = %CppRangeForIterate.lookup_impl_witness (constants.%CppRangeForIterate.lookup_impl_witness.366fea.2)] -// CHECK:STDOUT: %CppRangeForIterate.facet: %CppRangeForIterate.type = facet_value %R.as_type.loc40_113.1, (%CppRangeForIterate.lookup_impl_witness) [symbolic = %CppRangeForIterate.facet (constants.%CppRangeForIterate.facet.527)] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.Begin.type (constants.%CppRangeForIterate.WithSelf.Begin.type.aa6)] -// CHECK:STDOUT: %.loc42_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type, %CppRangeForIterate.facet [symbolic = %.loc42_4 (constants.%.227)] -// CHECK:STDOUT: %impl.elem2.loc42_4.2: @Test.%.loc42_4 (%.227) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc42_4.2 (constants.%impl.elem2)] -// CHECK:STDOUT: %specific_impl_fn.loc42_4.2: = specific_impl_function %impl.elem2.loc42_4.2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc42_4.2 (constants.%specific_impl_fn.4a0)] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness: = lookup_impl_witness %R.loc40_10.1, @CppRangeForIterate [symbolic = %CppRangeForIterate.lookup_impl_witness (constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2)] +// CHECK:STDOUT: %CppRangeForIterate.facet: %CppRangeForIterate.type = facet_value %R.as_type.loc40_113.1, (%CppRangeForIterate.lookup_impl_witness) [symbolic = %CppRangeForIterate.facet (constants.%CppRangeForIterate.facet.0d2)] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.Begin.type (constants.%CppRangeForIterate.WithSelf.Begin.type.57e)] +// CHECK:STDOUT: %.loc42_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type, %CppRangeForIterate.facet [symbolic = %.loc42_4 (constants.%.b85)] +// CHECK:STDOUT: %impl.elem2.loc42_4.2: @Test.%.loc42_4 (%.b85) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc42_4.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %specific_impl_fn.loc42_4.2: = specific_impl_function %impl.elem2.loc42_4.2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc42_4.2 (constants.%specific_impl_fn.c0f)] // CHECK:STDOUT: -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.End.type (constants.%CppRangeForIterate.WithSelf.End.type.ebe)] -// CHECK:STDOUT: %.loc43_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type, %CppRangeForIterate.facet [symbolic = %.loc43_4 (constants.%.cab)] -// CHECK:STDOUT: %impl.elem3.loc43_4.2: @Test.%.loc43_4 (%.cab) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc43_4.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %specific_impl_fn.loc43_4.2: = specific_impl_function %impl.elem3.loc43_4.2, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc43_4.2 (constants.%specific_impl_fn.cc4)] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.End.type (constants.%CppRangeForIterate.WithSelf.End.type.04d)] +// CHECK:STDOUT: %.loc43_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type, %CppRangeForIterate.facet [symbolic = %.loc43_4 (constants.%.b40)] +// CHECK:STDOUT: %impl.elem3.loc43_4.2: @Test.%.loc43_4 (%.b40) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc43_4.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %specific_impl_fn.loc43_4.2: = specific_impl_function %impl.elem3.loc43_4.2, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc43_4.2 (constants.%specific_impl_fn.d6a)] // CHECK:STDOUT: -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc43: = lookup_impl_witness %impl.elem1.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc43 (constants.%Destroy.lookup_impl_witness.4ab)] -// CHECK:STDOUT: %Destroy.facet.loc43: %Destroy.type = facet_value %impl.elem1.1, (%Destroy.lookup_impl_witness.loc43) [symbolic = %Destroy.facet.loc43 (constants.%Destroy.facet.553)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc43: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc43) [symbolic = %Destroy.WithSelf.Op.type.loc43 (constants.%Destroy.WithSelf.Op.type.b61)] -// CHECK:STDOUT: %.loc43_9.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc43, %Destroy.facet.loc43 [symbolic = %.loc43_9.3 (constants.%.b17)] -// CHECK:STDOUT: %impl.elem0.loc43_9.2: @Test.%.loc43_9.3 (%.b17) = impl_witness_access %Destroy.lookup_impl_witness.loc43, element0 [symbolic = %impl.elem0.loc43_9.2 (constants.%impl.elem0.449)] -// CHECK:STDOUT: %specific_impl_fn.loc43_9.2: = specific_impl_function %impl.elem0.loc43_9.2, @Destroy.WithSelf.Op(%Destroy.facet.loc43) [symbolic = %specific_impl_fn.loc43_9.2 (constants.%specific_impl_fn.03f)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc42: = lookup_impl_witness %impl.elem0.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc42 (constants.%Destroy.lookup_impl_witness.e97)] -// CHECK:STDOUT: %Destroy.facet.loc42: %Destroy.type = facet_value %impl.elem0.1, (%Destroy.lookup_impl_witness.loc42) [symbolic = %Destroy.facet.loc42 (constants.%Destroy.facet.503)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc42: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc42) [symbolic = %Destroy.WithSelf.Op.type.loc42 (constants.%Destroy.WithSelf.Op.type.4c8)] -// CHECK:STDOUT: %.loc42_11.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc42, %Destroy.facet.loc42 [symbolic = %.loc42_11.3 (constants.%.d5a)] -// CHECK:STDOUT: %impl.elem0.loc42_11.2: @Test.%.loc42_11.3 (%.d5a) = impl_witness_access %Destroy.lookup_impl_witness.loc42, element0 [symbolic = %impl.elem0.loc42_11.2 (constants.%impl.elem0.d1d)] -// CHECK:STDOUT: %specific_impl_fn.loc42_11.2: = specific_impl_function %impl.elem0.loc42_11.2, @Destroy.WithSelf.Op(%Destroy.facet.loc42) [symbolic = %specific_impl_fn.loc42_11.2 (constants.%specific_impl_fn.a5c)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc43: = lookup_impl_witness %impl.elem1.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc43 (constants.%Destroy.lookup_impl_witness.a8f)] +// CHECK:STDOUT: %Destroy.facet.loc43: %Destroy.type = facet_value %impl.elem1.1, (%Destroy.lookup_impl_witness.loc43) [symbolic = %Destroy.facet.loc43 (constants.%Destroy.facet.543)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc43: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc43) [symbolic = %Destroy.WithSelf.Op.type.loc43 (constants.%Destroy.WithSelf.Op.type.366)] +// CHECK:STDOUT: %.loc43_9.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc43, %Destroy.facet.loc43 [symbolic = %.loc43_9.3 (constants.%.b83)] +// CHECK:STDOUT: %impl.elem0.loc43_9.2: @Test.%.loc43_9.3 (%.b83) = impl_witness_access %Destroy.lookup_impl_witness.loc43, element0 [symbolic = %impl.elem0.loc43_9.2 (constants.%impl.elem0.acf)] +// CHECK:STDOUT: %specific_impl_fn.loc43_9.2: = specific_impl_function %impl.elem0.loc43_9.2, @Destroy.WithSelf.Op(%Destroy.facet.loc43) [symbolic = %specific_impl_fn.loc43_9.2 (constants.%specific_impl_fn.add)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc42: = lookup_impl_witness %impl.elem0.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc42 (constants.%Destroy.lookup_impl_witness.089)] +// CHECK:STDOUT: %Destroy.facet.loc42: %Destroy.type = facet_value %impl.elem0.1, (%Destroy.lookup_impl_witness.loc42) [symbolic = %Destroy.facet.loc42 (constants.%Destroy.facet.5e8)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc42: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc42) [symbolic = %Destroy.WithSelf.Op.type.loc42 (constants.%Destroy.WithSelf.Op.type.7cb)] +// CHECK:STDOUT: %.loc42_11.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc42, %Destroy.facet.loc42 [symbolic = %.loc42_11.3 (constants.%.a68)] +// CHECK:STDOUT: %impl.elem0.loc42_11.2: @Test.%.loc42_11.3 (%.a68) = impl_witness_access %Destroy.lookup_impl_witness.loc42, element0 [symbolic = %impl.elem0.loc42_11.2 (constants.%impl.elem0.f59)] +// CHECK:STDOUT: %specific_impl_fn.loc42_11.2: = specific_impl_function %impl.elem0.loc42_11.2, @Destroy.WithSelf.Op(%Destroy.facet.loc42) [symbolic = %specific_impl_fn.loc42_11.2 (constants.%specific_impl_fn.f06)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%r.param: ref @Test.%R.as_type.loc40_113.1 (%R.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %r.ref.loc42: ref @Test.%R.as_type.loc40_113.1 (%R.as_type) = name_ref r, %r -// CHECK:STDOUT: %Begin.ref: %CppRangeForIterate.assoc_type = name_ref Begin, imports.%Core.import_ref.4af [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc42_4.1: @Test.%.loc42_4 (%.227) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.366fea.2, element2 [symbolic = %impl.elem2.loc42_4.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %Begin.ref: %CppRangeForIterate.assoc_type = name_ref Begin, imports.%Core.import_ref.735 [concrete = constants.%assoc2] +// CHECK:STDOUT: %impl.elem2.loc42_4.1: @Test.%.loc42_4 (%.b85) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2, element2 [symbolic = %impl.elem2.loc42_4.2 (constants.%impl.elem2)] // CHECK:STDOUT: %bound_method.loc42_4: = bound_method %r.ref.loc42, %impl.elem2.loc42_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc42_4.1: = specific_impl_function %impl.elem2.loc42_4.1, @CppRangeForIterate.WithSelf.Begin(constants.%CppRangeForIterate.facet.527) [symbolic = %specific_impl_fn.loc42_4.2 (constants.%specific_impl_fn.4a0)] +// CHECK:STDOUT: %specific_impl_fn.loc42_4.1: = specific_impl_function %impl.elem2.loc42_4.1, @CppRangeForIterate.WithSelf.Begin(constants.%CppRangeForIterate.facet.0d2) [symbolic = %specific_impl_fn.loc42_4.2 (constants.%specific_impl_fn.c0f)] // CHECK:STDOUT: %bound_method.loc42_11.1: = bound_method %r.ref.loc42, %specific_impl_fn.loc42_4.1 -// CHECK:STDOUT: %.loc42_11.1: ref @Test.%impl.elem0.1 (%impl.elem0.b36147.2) = temporary_storage -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.call: init @Test.%impl.elem0.1 (%impl.elem0.b36147.2) to %.loc42_11.1 = call %bound_method.loc42_11.1(%r.ref.loc42) -// CHECK:STDOUT: %.loc42_11.2: ref @Test.%impl.elem0.1 (%impl.elem0.b36147.2) = temporary %.loc42_11.1, %CppRangeForIterate.WithSelf.Begin.call +// CHECK:STDOUT: %.loc42_11.1: ref @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) = temporary_storage +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.call: init @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) to %.loc42_11.1 = call %bound_method.loc42_11.1(%r.ref.loc42) +// CHECK:STDOUT: %.loc42_11.2: ref @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) = temporary %.loc42_11.1, %CppRangeForIterate.WithSelf.Begin.call // CHECK:STDOUT: %r.ref.loc43: ref @Test.%R.as_type.loc40_113.1 (%R.as_type) = name_ref r, %r -// CHECK:STDOUT: %End.ref: %CppRangeForIterate.assoc_type = name_ref End, imports.%Core.import_ref.83c [concrete = constants.%assoc3] -// CHECK:STDOUT: %impl.elem3.loc43_4.1: @Test.%.loc43_4 (%.cab) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.366fea.2, element3 [symbolic = %impl.elem3.loc43_4.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %End.ref: %CppRangeForIterate.assoc_type = name_ref End, imports.%Core.import_ref.572 [concrete = constants.%assoc3] +// CHECK:STDOUT: %impl.elem3.loc43_4.1: @Test.%.loc43_4 (%.b40) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2, element3 [symbolic = %impl.elem3.loc43_4.2 (constants.%impl.elem3)] // CHECK:STDOUT: %bound_method.loc43_4: = bound_method %r.ref.loc43, %impl.elem3.loc43_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc43_4.1: = specific_impl_function %impl.elem3.loc43_4.1, @CppRangeForIterate.WithSelf.End(constants.%CppRangeForIterate.facet.527) [symbolic = %specific_impl_fn.loc43_4.2 (constants.%specific_impl_fn.cc4)] +// CHECK:STDOUT: %specific_impl_fn.loc43_4.1: = specific_impl_function %impl.elem3.loc43_4.1, @CppRangeForIterate.WithSelf.End(constants.%CppRangeForIterate.facet.0d2) [symbolic = %specific_impl_fn.loc43_4.2 (constants.%specific_impl_fn.d6a)] // CHECK:STDOUT: %bound_method.loc43_9.1: = bound_method %r.ref.loc43, %specific_impl_fn.loc43_4.1 -// CHECK:STDOUT: %.loc43_9.1: ref @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) = temporary_storage -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.call: init @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) to %.loc43_9.1 = call %bound_method.loc43_9.1(%r.ref.loc43) -// CHECK:STDOUT: %.loc43_9.2: ref @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) = temporary %.loc43_9.1, %CppRangeForIterate.WithSelf.End.call -// CHECK:STDOUT: %impl.elem0.loc43_9.1: @Test.%.loc43_9.3 (%.b17) = impl_witness_access constants.%Destroy.lookup_impl_witness.4ab, element0 [symbolic = %impl.elem0.loc43_9.2 (constants.%impl.elem0.449)] +// CHECK:STDOUT: %.loc43_9.1: ref @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) = temporary_storage +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.call: init @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) to %.loc43_9.1 = call %bound_method.loc43_9.1(%r.ref.loc43) +// CHECK:STDOUT: %.loc43_9.2: ref @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) = temporary %.loc43_9.1, %CppRangeForIterate.WithSelf.End.call +// CHECK:STDOUT: %impl.elem0.loc43_9.1: @Test.%.loc43_9.3 (%.b83) = impl_witness_access constants.%Destroy.lookup_impl_witness.a8f, element0 [symbolic = %impl.elem0.loc43_9.2 (constants.%impl.elem0.acf)] // CHECK:STDOUT: %bound_method.loc43_9.2: = bound_method %.loc43_9.2, %impl.elem0.loc43_9.1 -// CHECK:STDOUT: %specific_impl_fn.loc43_9.1: = specific_impl_function %impl.elem0.loc43_9.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.553) [symbolic = %specific_impl_fn.loc43_9.2 (constants.%specific_impl_fn.03f)] +// CHECK:STDOUT: %specific_impl_fn.loc43_9.1: = specific_impl_function %impl.elem0.loc43_9.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.543) [symbolic = %specific_impl_fn.loc43_9.2 (constants.%specific_impl_fn.add)] // CHECK:STDOUT: %bound_method.loc43_9.3: = bound_method %.loc43_9.2, %specific_impl_fn.loc43_9.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc43: init %empty_tuple.type = call %bound_method.loc43_9.3(%.loc43_9.2) -// CHECK:STDOUT: %impl.elem0.loc42_11.1: @Test.%.loc42_11.3 (%.d5a) = impl_witness_access constants.%Destroy.lookup_impl_witness.e97, element0 [symbolic = %impl.elem0.loc42_11.2 (constants.%impl.elem0.d1d)] +// CHECK:STDOUT: %impl.elem0.loc42_11.1: @Test.%.loc42_11.3 (%.a68) = impl_witness_access constants.%Destroy.lookup_impl_witness.089, element0 [symbolic = %impl.elem0.loc42_11.2 (constants.%impl.elem0.f59)] // CHECK:STDOUT: %bound_method.loc42_11.2: = bound_method %.loc42_11.2, %impl.elem0.loc42_11.1 -// CHECK:STDOUT: %specific_impl_fn.loc42_11.1: = specific_impl_function %impl.elem0.loc42_11.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.503) [symbolic = %specific_impl_fn.loc42_11.2 (constants.%specific_impl_fn.a5c)] +// CHECK:STDOUT: %specific_impl_fn.loc42_11.1: = specific_impl_function %impl.elem0.loc42_11.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.5e8) [symbolic = %specific_impl_fn.loc42_11.2 (constants.%specific_impl_fn.f06)] // CHECK:STDOUT: %bound_method.loc42_11.3: = bound_method %.loc42_11.2, %specific_impl_fn.loc42_11.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc42: init %empty_tuple.type = call %bound_method.loc42_11.3(%.loc42_11.2) // CHECK:STDOUT: @@ -877,75 +877,75 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: specific @Test(constants.%R) { // CHECK:STDOUT: %R.loc40_10.1 => constants.%R // CHECK:STDOUT: %R.as_type.loc40_113.1 => constants.%R.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ff859f.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.26c6ea.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Test(constants.%facet_value.d71) { -// CHECK:STDOUT: %R.loc40_10.1 => constants.%facet_value.d71 +// CHECK:STDOUT: specific @Test(constants.%facet_value.99a) { +// CHECK:STDOUT: %R.loc40_10.1 => constants.%facet_value.99a // CHECK:STDOUT: %R.as_type.loc40_113.1 => constants.%MutableRange // CHECK:STDOUT: %pattern_type => constants.%pattern_type.b76 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc40 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.556 -// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.aae -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.1ae -// CHECK:STDOUT: %.loc42_4 => constants.%.f5c +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.292 +// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.de2 +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.82a +// CHECK:STDOUT: %.loc42_4 => constants.%.26f // CHECK:STDOUT: %impl.elem2.loc42_4.2 => constants.%MutableRange.Begin // CHECK:STDOUT: %specific_impl_fn.loc42_4.2 => constants.%MutableRange.Begin // CHECK:STDOUT: %impl.elem0.1 => constants.%Iterator.826 // CHECK:STDOUT: %require_complete.1 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.16f -// CHECK:STDOUT: %.loc43_4 => constants.%.f3e +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.9fe +// CHECK:STDOUT: %.loc43_4 => constants.%.6d3 // CHECK:STDOUT: %impl.elem3.loc43_4.2 => constants.%MutableRange.End // CHECK:STDOUT: %specific_impl_fn.loc43_4.2 => constants.%MutableRange.End // CHECK:STDOUT: %impl.elem1.1 => constants.%Sentinel.6eb // CHECK:STDOUT: %require_complete.2 => constants.%complete_type -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc43 => constants.%custom_witness.a9753d.2 -// CHECK:STDOUT: %Destroy.facet.loc43 => constants.%Destroy.facet.ee2 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc43 => constants.%Destroy.WithSelf.Op.type.ef7 -// CHECK:STDOUT: %.loc43_9.3 => constants.%.bef +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc43 => constants.%custom_witness.ef99ee.2 +// CHECK:STDOUT: %Destroy.facet.loc43 => constants.%Destroy.facet.959 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc43 => constants.%Destroy.WithSelf.Op.type.6d7 +// CHECK:STDOUT: %.loc43_9.3 => constants.%.3e7 // CHECK:STDOUT: %impl.elem0.loc43_9.2 => constants.%Sentinel.Op.f05 // CHECK:STDOUT: %specific_impl_fn.loc43_9.2 => constants.%Sentinel.Op.f05 -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc42 => constants.%custom_witness.a9753d.1 -// CHECK:STDOUT: %Destroy.facet.loc42 => constants.%Destroy.facet.41d -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc42 => constants.%Destroy.WithSelf.Op.type.323 -// CHECK:STDOUT: %.loc42_11.3 => constants.%.458 +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc42 => constants.%custom_witness.ef99ee.1 +// CHECK:STDOUT: %Destroy.facet.loc42 => constants.%Destroy.facet.f6b +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc42 => constants.%Destroy.WithSelf.Op.type.a45 +// CHECK:STDOUT: %.loc42_11.3 => constants.%.ee6 // CHECK:STDOUT: %impl.elem0.loc42_11.2 => constants.%Iterator.Op.f05 // CHECK:STDOUT: %specific_impl_fn.loc42_11.2 => constants.%Iterator.Op.f05 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Test(constants.%facet_value.2eb) { -// CHECK:STDOUT: %R.loc40_10.1 => constants.%facet_value.2eb +// CHECK:STDOUT: specific @Test(constants.%facet_value.b4b) { +// CHECK:STDOUT: %R.loc40_10.1 => constants.%facet_value.b4b // CHECK:STDOUT: %R.as_type.loc40_113.1 => constants.%ConstRange // CHECK:STDOUT: %pattern_type => constants.%pattern_type.631 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc40 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.d7a -// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.77a -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.7ad -// CHECK:STDOUT: %.loc42_4 => constants.%.421 +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.8cb +// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.ef1 +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.317 +// CHECK:STDOUT: %.loc42_4 => constants.%.3f6 // CHECK:STDOUT: %impl.elem2.loc42_4.2 => constants.%ConstRange.Begin // CHECK:STDOUT: %specific_impl_fn.loc42_4.2 => constants.%ConstRange.Begin // CHECK:STDOUT: %impl.elem0.1 => constants.%Iterator.4f0 // CHECK:STDOUT: %require_complete.1 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.79b -// CHECK:STDOUT: %.loc43_4 => constants.%.b91 +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.120 +// CHECK:STDOUT: %.loc43_4 => constants.%.cd4 // CHECK:STDOUT: %impl.elem3.loc43_4.2 => constants.%ConstRange.End // CHECK:STDOUT: %specific_impl_fn.loc43_4.2 => constants.%ConstRange.End // CHECK:STDOUT: %impl.elem1.1 => constants.%Sentinel.45e // CHECK:STDOUT: %require_complete.2 => constants.%complete_type -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc43 => constants.%custom_witness.569415.2 -// CHECK:STDOUT: %Destroy.facet.loc43 => constants.%Destroy.facet.a41 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc43 => constants.%Destroy.WithSelf.Op.type.0c6 -// CHECK:STDOUT: %.loc43_9.3 => constants.%.df3 +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc43 => constants.%custom_witness.df0c4f.2 +// CHECK:STDOUT: %Destroy.facet.loc43 => constants.%Destroy.facet.d9f +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc43 => constants.%Destroy.WithSelf.Op.type.39d +// CHECK:STDOUT: %.loc43_9.3 => constants.%.f49 // CHECK:STDOUT: %impl.elem0.loc43_9.2 => constants.%Sentinel.Op.7b7 // CHECK:STDOUT: %specific_impl_fn.loc43_9.2 => constants.%Sentinel.Op.7b7 -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc42 => constants.%custom_witness.569415.1 -// CHECK:STDOUT: %Destroy.facet.loc42 => constants.%Destroy.facet.b0c -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc42 => constants.%Destroy.WithSelf.Op.type.656 -// CHECK:STDOUT: %.loc42_11.3 => constants.%.80f +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc42 => constants.%custom_witness.df0c4f.1 +// CHECK:STDOUT: %Destroy.facet.loc42 => constants.%Destroy.facet.2fa +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc42 => constants.%Destroy.WithSelf.Op.type.993 +// CHECK:STDOUT: %.loc42_11.3 => constants.%.61a // CHECK:STDOUT: %impl.elem0.loc42_11.2 => constants.%Iterator.Op.7b7 // CHECK:STDOUT: %specific_impl_fn.loc42_11.2 => constants.%Iterator.Op.7b7 // CHECK:STDOUT: } @@ -954,48 +954,48 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %CppRangeForIterate.type: type = facet_type <@CppRangeForIterate> [concrete] -// CHECK:STDOUT: %Self.668: %CppRangeForIterate.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.45d9b7.1: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%Self.668) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.e1b918.1: %CppRangeForIterate.WithSelf.End.type.45d9b7.1 = struct_value () [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.e09a97.1: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%Self.668) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.4c9a66.1: %CppRangeForIterate.WithSelf.Begin.type.e09a97.1 = struct_value () [symbolic] -// CHECK:STDOUT: %.Self.fda: %CppRangeForIterate.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Self.6c6: %CppRangeForIterate.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.056be7.1: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%Self.6c6) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.a331a3.1: %CppRangeForIterate.WithSelf.End.type.056be7.1 = struct_value () [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.753895.1: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%Self.6c6) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.2b31f7.1: %CppRangeForIterate.WithSelf.Begin.type.753895.1 = struct_value () [symbolic] +// CHECK:STDOUT: %.Self.10b: %CppRangeForIterate.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %CppRangeForIterate.assoc_type: type = assoc_entity_type @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.ae8: = lookup_impl_witness %.Self.fda, @CppRangeForIterate [symbolic_self] -// CHECK:STDOUT: %impl.elem0.354: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.ae8, element0 [symbolic_self] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.5bf: = lookup_impl_witness %.Self.10b, @CppRangeForIterate [symbolic_self] +// CHECK:STDOUT: %impl.elem0.d47: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.5bf, element0 [symbolic_self] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %impl.elem1.fdc: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.ae8, element1 [symbolic_self] -// CHECK:STDOUT: %CppRangeForIterate_where.type: type = facet_type <@CppRangeForIterate where %impl.elem0.354 impls @Destroy and %impl.elem1.fdc impls @Destroy> [concrete] +// CHECK:STDOUT: %impl.elem1.846: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.5bf, element1 [symbolic_self] +// CHECK:STDOUT: %CppRangeForIterate_where.type: type = facet_type <@CppRangeForIterate where %impl.elem0.d47 impls @Destroy and %impl.elem1.846 impls @Destroy> [concrete] // CHECK:STDOUT: %R: %CppRangeForIterate_where.type = symbolic_binding R, 0 [symbolic] // CHECK:STDOUT: %R.as_type: type = facet_access_type %R [symbolic] -// CHECK:STDOUT: %pattern_type.ff859f.2: type = pattern_type %R.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.26c6ea.2: type = pattern_type %R.as_type [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %assoc2: %CppRangeForIterate.assoc_type = assoc_entity element2, imports.%Core.import_ref.dad [concrete] -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.366fea.2: = lookup_impl_witness %R, @CppRangeForIterate [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.facet.527: %CppRangeForIterate.type = facet_value %R.as_type, (%CppRangeForIterate.lookup_impl_witness.366fea.2) [symbolic] -// CHECK:STDOUT: %impl.elem0.b36147.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element0 [symbolic] -// CHECK:STDOUT: %impl.elem1.3ad37d.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element1 [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.aa6: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.ebe: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %.227: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.aa6, %CppRangeForIterate.facet.527 [symbolic] -// CHECK:STDOUT: %impl.elem2: %.227 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element2 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.4a0: = specific_impl_function %impl.elem2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %assoc3: %CppRangeForIterate.assoc_type = assoc_entity element3, imports.%Core.import_ref.f0a [concrete] -// CHECK:STDOUT: %.cab: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.ebe, %CppRangeForIterate.facet.527 [symbolic] -// CHECK:STDOUT: %impl.elem3: %.cab = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element3 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.cc4: = specific_impl_function %impl.elem3, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.4ab: = lookup_impl_witness %impl.elem1.3ad37d.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.553: %Destroy.type = facet_value %impl.elem1.3ad37d.2, (%Destroy.lookup_impl_witness.4ab) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.b61: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.553) [symbolic] -// CHECK:STDOUT: %.b17: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.b61, %Destroy.facet.553 [symbolic] -// CHECK:STDOUT: %impl.elem0.449: %.b17 = impl_witness_access %Destroy.lookup_impl_witness.4ab, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.03f: = specific_impl_function %impl.elem0.449, @Destroy.WithSelf.Op(%Destroy.facet.553) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.e97: = lookup_impl_witness %impl.elem0.b36147.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.503: %Destroy.type = facet_value %impl.elem0.b36147.2, (%Destroy.lookup_impl_witness.e97) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.4c8: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.503) [symbolic] -// CHECK:STDOUT: %.d5a: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.4c8, %Destroy.facet.503 [symbolic] -// CHECK:STDOUT: %impl.elem0.d1d: %.d5a = impl_witness_access %Destroy.lookup_impl_witness.e97, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.a5c: = specific_impl_function %impl.elem0.d1d, @Destroy.WithSelf.Op(%Destroy.facet.503) [symbolic] +// CHECK:STDOUT: %assoc2: %CppRangeForIterate.assoc_type = assoc_entity element2, imports.%Core.import_ref.213 [concrete] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.edd1fe.2: = lookup_impl_witness %R, @CppRangeForIterate [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.facet.0d2: %CppRangeForIterate.type = facet_value %R.as_type, (%CppRangeForIterate.lookup_impl_witness.edd1fe.2) [symbolic] +// CHECK:STDOUT: %impl.elem0.d5966e.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element0 [symbolic] +// CHECK:STDOUT: %impl.elem1.bdcd2d.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element1 [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.57e: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.04d: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %.b85: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.57e, %CppRangeForIterate.facet.0d2 [symbolic] +// CHECK:STDOUT: %impl.elem2: %.b85 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element2 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c0f: = specific_impl_function %impl.elem2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %assoc3: %CppRangeForIterate.assoc_type = assoc_entity element3, imports.%Core.import_ref.730 [concrete] +// CHECK:STDOUT: %.b40: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.04d, %CppRangeForIterate.facet.0d2 [symbolic] +// CHECK:STDOUT: %impl.elem3: %.b40 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element3 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.d6a: = specific_impl_function %impl.elem3, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.a8f: = lookup_impl_witness %impl.elem1.bdcd2d.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.543: %Destroy.type = facet_value %impl.elem1.bdcd2d.2, (%Destroy.lookup_impl_witness.a8f) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.366: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.543) [symbolic] +// CHECK:STDOUT: %.b83: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.366, %Destroy.facet.543 [symbolic] +// CHECK:STDOUT: %impl.elem0.acf: %.b83 = impl_witness_access %Destroy.lookup_impl_witness.a8f, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.add: = specific_impl_function %impl.elem0.acf, @Destroy.WithSelf.Op(%Destroy.facet.543) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.089: = lookup_impl_witness %impl.elem0.d5966e.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.5e8: %Destroy.type = facet_value %impl.elem0.d5966e.2, (%Destroy.lookup_impl_witness.089) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.7cb: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.5e8) [symbolic] +// CHECK:STDOUT: %.a68: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.7cb, %Destroy.facet.5e8 [symbolic] +// CHECK:STDOUT: %impl.elem0.f59: %.a68 = impl_witness_access %Destroy.lookup_impl_witness.089, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.f06: = specific_impl_function %impl.elem0.f59, @Destroy.WithSelf.Op(%Destroy.facet.5e8) [symbolic] // CHECK:STDOUT: %MutableRange: type = class_type @MutableRange [concrete] // CHECK:STDOUT: %pattern_type.80f: type = pattern_type %MutableRange [concrete] // CHECK:STDOUT: %ConstRange: type = class_type @ConstRange [concrete] @@ -1007,44 +1007,44 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %Begin.1544bb.1: %Begin.type.793876.1 = struct_value () [concrete] // CHECK:STDOUT: %End.type.16398b.1: type = fn_type @End.1 [concrete] // CHECK:STDOUT: %End.be76e1.1: %End.type.16398b.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.92f: = custom_witness (%Iterator.b8c, %Iterator.b8c, %Begin.1544bb.1, %End.be76e1.1), @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.facet.068: %CppRangeForIterate.type = facet_value %MutableRange, (%custom_witness.92f) [concrete] +// CHECK:STDOUT: %custom_witness.25d: = custom_witness (%Iterator.b8c, %Iterator.b8c, %Begin.1544bb.1, %End.be76e1.1), @CppRangeForIterate [concrete] +// CHECK:STDOUT: %CppRangeForIterate.facet.5b0: %CppRangeForIterate.type = facet_value %MutableRange, (%custom_witness.25d) [concrete] // CHECK:STDOUT: %Iterator.Op.type.910: type = fn_type @Iterator.Op.1 [concrete] // CHECK:STDOUT: %Iterator.Op.cbb: %Iterator.Op.type.910 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.d6a: = custom_witness (%Iterator.Op.cbb), @Destroy [concrete] -// CHECK:STDOUT: %facet_value.eb2: %CppRangeForIterate_where.type = facet_value %MutableRange, (%custom_witness.92f, %custom_witness.d6a) [concrete] +// CHECK:STDOUT: %custom_witness.fe6: = custom_witness (%Iterator.Op.cbb), @Destroy [concrete] +// CHECK:STDOUT: %facet_value.589: %CppRangeForIterate_where.type = facet_value %MutableRange, (%custom_witness.25d, %custom_witness.fe6) [concrete] // CHECK:STDOUT: %Iterator.080: type = class_type @Iterator.2 [concrete] // CHECK:STDOUT: %Begin.type.793876.2: type = fn_type @Begin.2 [concrete] // CHECK:STDOUT: %Begin.1544bb.2: %Begin.type.793876.2 = struct_value () [concrete] // CHECK:STDOUT: %End.type.16398b.2: type = fn_type @End.2 [concrete] // CHECK:STDOUT: %End.be76e1.2: %End.type.16398b.2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.532: = custom_witness (%Iterator.080, %Iterator.080, %Begin.1544bb.2, %End.be76e1.2), @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.facet.984: %CppRangeForIterate.type = facet_value %ConstRange, (%custom_witness.532) [concrete] +// CHECK:STDOUT: %custom_witness.4c3: = custom_witness (%Iterator.080, %Iterator.080, %Begin.1544bb.2, %End.be76e1.2), @CppRangeForIterate [concrete] +// CHECK:STDOUT: %CppRangeForIterate.facet.379: %CppRangeForIterate.type = facet_value %ConstRange, (%custom_witness.4c3) [concrete] // CHECK:STDOUT: %Iterator.Op.type.587: type = fn_type @Iterator.Op.2 [concrete] // CHECK:STDOUT: %Iterator.Op.dc6: %Iterator.Op.type.587 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b57: = custom_witness (%Iterator.Op.dc6), @Destroy [concrete] -// CHECK:STDOUT: %facet_value.5d5: %CppRangeForIterate_where.type = facet_value %ConstRange, (%custom_witness.532, %custom_witness.b57) [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.949: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.068) [concrete] -// CHECK:STDOUT: %.b32: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.949, %CppRangeForIterate.facet.068 [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.e7a: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.068) [concrete] -// CHECK:STDOUT: %.3d5: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.e7a, %CppRangeForIterate.facet.068 [concrete] -// CHECK:STDOUT: %Destroy.facet.44a: %Destroy.type = facet_value %Iterator.b8c, (%custom_witness.d6a) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.360: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.44a) [concrete] -// CHECK:STDOUT: %.da3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.360, %Destroy.facet.44a [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.973: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.984) [concrete] -// CHECK:STDOUT: %.b08: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.973, %CppRangeForIterate.facet.984 [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.4f9: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.984) [concrete] -// CHECK:STDOUT: %.bf2: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.4f9, %CppRangeForIterate.facet.984 [concrete] -// CHECK:STDOUT: %Destroy.facet.eb0: %Destroy.type = facet_value %Iterator.080, (%custom_witness.b57) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.bbe: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.eb0) [concrete] -// CHECK:STDOUT: %.cdf: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.bbe, %Destroy.facet.eb0 [concrete] +// CHECK:STDOUT: %custom_witness.166: = custom_witness (%Iterator.Op.dc6), @Destroy [concrete] +// CHECK:STDOUT: %facet_value.105: %CppRangeForIterate_where.type = facet_value %ConstRange, (%custom_witness.4c3, %custom_witness.166) [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.901: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.5b0) [concrete] +// CHECK:STDOUT: %.8fa: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.901, %CppRangeForIterate.facet.5b0 [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.3a5: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.5b0) [concrete] +// CHECK:STDOUT: %.374: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.3a5, %CppRangeForIterate.facet.5b0 [concrete] +// CHECK:STDOUT: %Destroy.facet.6ae: %Destroy.type = facet_value %Iterator.b8c, (%custom_witness.fe6) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.018: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.6ae) [concrete] +// CHECK:STDOUT: %.e53: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.018, %Destroy.facet.6ae [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.b5c: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.379) [concrete] +// CHECK:STDOUT: %.093: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.b5c, %CppRangeForIterate.facet.379 [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.735: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.379) [concrete] +// CHECK:STDOUT: %.e31: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.735, %CppRangeForIterate.facet.379 [concrete] +// CHECK:STDOUT: %Destroy.facet.488: %Destroy.type = facet_value %Iterator.080, (%custom_witness.166) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.488: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.488) [concrete] +// CHECK:STDOUT: %.8da: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.488, %Destroy.facet.488 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.4af: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc2] -// CHECK:STDOUT: %Core.import_ref.83c: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc3] -// CHECK:STDOUT: %Core.import_ref.dad: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin.type (%CppRangeForIterate.WithSelf.Begin.type.e09a97.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin (constants.%CppRangeForIterate.WithSelf.Begin.4c9a66.1)] -// CHECK:STDOUT: %Core.import_ref.f0a: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End.type (%CppRangeForIterate.WithSelf.End.type.45d9b7.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End (constants.%CppRangeForIterate.WithSelf.End.e1b918.1)] +// CHECK:STDOUT: %Core.import_ref.735: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc2] +// CHECK:STDOUT: %Core.import_ref.572: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc3] +// CHECK:STDOUT: %Core.import_ref.213: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin.type (%CppRangeForIterate.WithSelf.Begin.type.753895.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin (constants.%CppRangeForIterate.WithSelf.Begin.2b31f7.1)] +// CHECK:STDOUT: %Core.import_ref.730: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End.type (%CppRangeForIterate.WithSelf.End.type.056be7.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End (constants.%CppRangeForIterate.WithSelf.End.a331a3.1)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Test(%R.loc32_10.2: %CppRangeForIterate_where.type) { @@ -1052,59 +1052,59 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness: = lookup_impl_witness %R.loc32_10.1, @CppRangeForIterate [symbolic = %CppRangeForIterate.lookup_impl_witness (constants.%CppRangeForIterate.lookup_impl_witness.366fea.2)] -// CHECK:STDOUT: %CppRangeForIterate.facet: %CppRangeForIterate.type = facet_value %R.as_type.loc32_113.1, (%CppRangeForIterate.lookup_impl_witness) [symbolic = %CppRangeForIterate.facet (constants.%CppRangeForIterate.facet.527)] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.Begin.type (constants.%CppRangeForIterate.WithSelf.Begin.type.aa6)] -// CHECK:STDOUT: %.loc34_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type, %CppRangeForIterate.facet [symbolic = %.loc34_4 (constants.%.227)] -// CHECK:STDOUT: %impl.elem2.loc34_4.2: @Test.%.loc34_4 (%.227) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc34_4.2 (constants.%impl.elem2)] -// CHECK:STDOUT: %specific_impl_fn.loc34_4.2: = specific_impl_function %impl.elem2.loc34_4.2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.4a0)] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness: = lookup_impl_witness %R.loc32_10.1, @CppRangeForIterate [symbolic = %CppRangeForIterate.lookup_impl_witness (constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2)] +// CHECK:STDOUT: %CppRangeForIterate.facet: %CppRangeForIterate.type = facet_value %R.as_type.loc32_113.1, (%CppRangeForIterate.lookup_impl_witness) [symbolic = %CppRangeForIterate.facet (constants.%CppRangeForIterate.facet.0d2)] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.Begin.type (constants.%CppRangeForIterate.WithSelf.Begin.type.57e)] +// CHECK:STDOUT: %.loc34_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type, %CppRangeForIterate.facet [symbolic = %.loc34_4 (constants.%.b85)] +// CHECK:STDOUT: %impl.elem2.loc34_4.2: @Test.%.loc34_4 (%.b85) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc34_4.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %specific_impl_fn.loc34_4.2: = specific_impl_function %impl.elem2.loc34_4.2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.c0f)] // CHECK:STDOUT: -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.End.type (constants.%CppRangeForIterate.WithSelf.End.type.ebe)] -// CHECK:STDOUT: %.loc35_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type, %CppRangeForIterate.facet [symbolic = %.loc35_4 (constants.%.cab)] -// CHECK:STDOUT: %impl.elem3.loc35_4.2: @Test.%.loc35_4 (%.cab) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc35_4.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %specific_impl_fn.loc35_4.2: = specific_impl_function %impl.elem3.loc35_4.2, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.cc4)] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.End.type (constants.%CppRangeForIterate.WithSelf.End.type.04d)] +// CHECK:STDOUT: %.loc35_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type, %CppRangeForIterate.facet [symbolic = %.loc35_4 (constants.%.b40)] +// CHECK:STDOUT: %impl.elem3.loc35_4.2: @Test.%.loc35_4 (%.b40) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc35_4.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %specific_impl_fn.loc35_4.2: = specific_impl_function %impl.elem3.loc35_4.2, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.d6a)] // CHECK:STDOUT: -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc35: = lookup_impl_witness %impl.elem1.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc35 (constants.%Destroy.lookup_impl_witness.4ab)] -// CHECK:STDOUT: %Destroy.facet.loc35: %Destroy.type = facet_value %impl.elem1.1, (%Destroy.lookup_impl_witness.loc35) [symbolic = %Destroy.facet.loc35 (constants.%Destroy.facet.553)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc35: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc35) [symbolic = %Destroy.WithSelf.Op.type.loc35 (constants.%Destroy.WithSelf.Op.type.b61)] -// CHECK:STDOUT: %.loc35_9.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc35, %Destroy.facet.loc35 [symbolic = %.loc35_9.3 (constants.%.b17)] -// CHECK:STDOUT: %impl.elem0.loc35_9.2: @Test.%.loc35_9.3 (%.b17) = impl_witness_access %Destroy.lookup_impl_witness.loc35, element0 [symbolic = %impl.elem0.loc35_9.2 (constants.%impl.elem0.449)] -// CHECK:STDOUT: %specific_impl_fn.loc35_9.2: = specific_impl_function %impl.elem0.loc35_9.2, @Destroy.WithSelf.Op(%Destroy.facet.loc35) [symbolic = %specific_impl_fn.loc35_9.2 (constants.%specific_impl_fn.03f)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc34: = lookup_impl_witness %impl.elem0.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc34 (constants.%Destroy.lookup_impl_witness.e97)] -// CHECK:STDOUT: %Destroy.facet.loc34: %Destroy.type = facet_value %impl.elem0.1, (%Destroy.lookup_impl_witness.loc34) [symbolic = %Destroy.facet.loc34 (constants.%Destroy.facet.503)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc34: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc34) [symbolic = %Destroy.WithSelf.Op.type.loc34 (constants.%Destroy.WithSelf.Op.type.4c8)] -// CHECK:STDOUT: %.loc34_11.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc34, %Destroy.facet.loc34 [symbolic = %.loc34_11.3 (constants.%.d5a)] -// CHECK:STDOUT: %impl.elem0.loc34_11.2: @Test.%.loc34_11.3 (%.d5a) = impl_witness_access %Destroy.lookup_impl_witness.loc34, element0 [symbolic = %impl.elem0.loc34_11.2 (constants.%impl.elem0.d1d)] -// CHECK:STDOUT: %specific_impl_fn.loc34_11.2: = specific_impl_function %impl.elem0.loc34_11.2, @Destroy.WithSelf.Op(%Destroy.facet.loc34) [symbolic = %specific_impl_fn.loc34_11.2 (constants.%specific_impl_fn.a5c)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc35: = lookup_impl_witness %impl.elem1.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc35 (constants.%Destroy.lookup_impl_witness.a8f)] +// CHECK:STDOUT: %Destroy.facet.loc35: %Destroy.type = facet_value %impl.elem1.1, (%Destroy.lookup_impl_witness.loc35) [symbolic = %Destroy.facet.loc35 (constants.%Destroy.facet.543)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc35: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc35) [symbolic = %Destroy.WithSelf.Op.type.loc35 (constants.%Destroy.WithSelf.Op.type.366)] +// CHECK:STDOUT: %.loc35_9.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc35, %Destroy.facet.loc35 [symbolic = %.loc35_9.3 (constants.%.b83)] +// CHECK:STDOUT: %impl.elem0.loc35_9.2: @Test.%.loc35_9.3 (%.b83) = impl_witness_access %Destroy.lookup_impl_witness.loc35, element0 [symbolic = %impl.elem0.loc35_9.2 (constants.%impl.elem0.acf)] +// CHECK:STDOUT: %specific_impl_fn.loc35_9.2: = specific_impl_function %impl.elem0.loc35_9.2, @Destroy.WithSelf.Op(%Destroy.facet.loc35) [symbolic = %specific_impl_fn.loc35_9.2 (constants.%specific_impl_fn.add)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc34: = lookup_impl_witness %impl.elem0.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc34 (constants.%Destroy.lookup_impl_witness.089)] +// CHECK:STDOUT: %Destroy.facet.loc34: %Destroy.type = facet_value %impl.elem0.1, (%Destroy.lookup_impl_witness.loc34) [symbolic = %Destroy.facet.loc34 (constants.%Destroy.facet.5e8)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc34: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc34) [symbolic = %Destroy.WithSelf.Op.type.loc34 (constants.%Destroy.WithSelf.Op.type.7cb)] +// CHECK:STDOUT: %.loc34_11.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc34, %Destroy.facet.loc34 [symbolic = %.loc34_11.3 (constants.%.a68)] +// CHECK:STDOUT: %impl.elem0.loc34_11.2: @Test.%.loc34_11.3 (%.a68) = impl_witness_access %Destroy.lookup_impl_witness.loc34, element0 [symbolic = %impl.elem0.loc34_11.2 (constants.%impl.elem0.f59)] +// CHECK:STDOUT: %specific_impl_fn.loc34_11.2: = specific_impl_function %impl.elem0.loc34_11.2, @Destroy.WithSelf.Op(%Destroy.facet.loc34) [symbolic = %specific_impl_fn.loc34_11.2 (constants.%specific_impl_fn.f06)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%r.param: ref @Test.%R.as_type.loc32_113.1 (%R.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %r.ref.loc34: ref @Test.%R.as_type.loc32_113.1 (%R.as_type) = name_ref r, %r -// CHECK:STDOUT: %Begin.ref: %CppRangeForIterate.assoc_type = name_ref Begin, imports.%Core.import_ref.4af [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc34_4.1: @Test.%.loc34_4 (%.227) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.366fea.2, element2 [symbolic = %impl.elem2.loc34_4.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %Begin.ref: %CppRangeForIterate.assoc_type = name_ref Begin, imports.%Core.import_ref.735 [concrete = constants.%assoc2] +// CHECK:STDOUT: %impl.elem2.loc34_4.1: @Test.%.loc34_4 (%.b85) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2, element2 [symbolic = %impl.elem2.loc34_4.2 (constants.%impl.elem2)] // CHECK:STDOUT: %bound_method.loc34_4: = bound_method %r.ref.loc34, %impl.elem2.loc34_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc34_4.1: = specific_impl_function %impl.elem2.loc34_4.1, @CppRangeForIterate.WithSelf.Begin(constants.%CppRangeForIterate.facet.527) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.4a0)] +// CHECK:STDOUT: %specific_impl_fn.loc34_4.1: = specific_impl_function %impl.elem2.loc34_4.1, @CppRangeForIterate.WithSelf.Begin(constants.%CppRangeForIterate.facet.0d2) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.c0f)] // CHECK:STDOUT: %bound_method.loc34_11.1: = bound_method %r.ref.loc34, %specific_impl_fn.loc34_4.1 -// CHECK:STDOUT: %.loc34_11.1: ref @Test.%impl.elem0.1 (%impl.elem0.b36147.2) = temporary_storage -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.call: init @Test.%impl.elem0.1 (%impl.elem0.b36147.2) to %.loc34_11.1 = call %bound_method.loc34_11.1(%r.ref.loc34) -// CHECK:STDOUT: %.loc34_11.2: ref @Test.%impl.elem0.1 (%impl.elem0.b36147.2) = temporary %.loc34_11.1, %CppRangeForIterate.WithSelf.Begin.call +// CHECK:STDOUT: %.loc34_11.1: ref @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) = temporary_storage +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.call: init @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) to %.loc34_11.1 = call %bound_method.loc34_11.1(%r.ref.loc34) +// CHECK:STDOUT: %.loc34_11.2: ref @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) = temporary %.loc34_11.1, %CppRangeForIterate.WithSelf.Begin.call // CHECK:STDOUT: %r.ref.loc35: ref @Test.%R.as_type.loc32_113.1 (%R.as_type) = name_ref r, %r -// CHECK:STDOUT: %End.ref: %CppRangeForIterate.assoc_type = name_ref End, imports.%Core.import_ref.83c [concrete = constants.%assoc3] -// CHECK:STDOUT: %impl.elem3.loc35_4.1: @Test.%.loc35_4 (%.cab) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.366fea.2, element3 [symbolic = %impl.elem3.loc35_4.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %End.ref: %CppRangeForIterate.assoc_type = name_ref End, imports.%Core.import_ref.572 [concrete = constants.%assoc3] +// CHECK:STDOUT: %impl.elem3.loc35_4.1: @Test.%.loc35_4 (%.b40) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2, element3 [symbolic = %impl.elem3.loc35_4.2 (constants.%impl.elem3)] // CHECK:STDOUT: %bound_method.loc35_4: = bound_method %r.ref.loc35, %impl.elem3.loc35_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc35_4.1: = specific_impl_function %impl.elem3.loc35_4.1, @CppRangeForIterate.WithSelf.End(constants.%CppRangeForIterate.facet.527) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.cc4)] +// CHECK:STDOUT: %specific_impl_fn.loc35_4.1: = specific_impl_function %impl.elem3.loc35_4.1, @CppRangeForIterate.WithSelf.End(constants.%CppRangeForIterate.facet.0d2) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.d6a)] // CHECK:STDOUT: %bound_method.loc35_9.1: = bound_method %r.ref.loc35, %specific_impl_fn.loc35_4.1 -// CHECK:STDOUT: %.loc35_9.1: ref @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) = temporary_storage -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.call: init @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) to %.loc35_9.1 = call %bound_method.loc35_9.1(%r.ref.loc35) -// CHECK:STDOUT: %.loc35_9.2: ref @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) = temporary %.loc35_9.1, %CppRangeForIterate.WithSelf.End.call -// CHECK:STDOUT: %impl.elem0.loc35_9.1: @Test.%.loc35_9.3 (%.b17) = impl_witness_access constants.%Destroy.lookup_impl_witness.4ab, element0 [symbolic = %impl.elem0.loc35_9.2 (constants.%impl.elem0.449)] +// CHECK:STDOUT: %.loc35_9.1: ref @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) = temporary_storage +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.call: init @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) to %.loc35_9.1 = call %bound_method.loc35_9.1(%r.ref.loc35) +// CHECK:STDOUT: %.loc35_9.2: ref @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) = temporary %.loc35_9.1, %CppRangeForIterate.WithSelf.End.call +// CHECK:STDOUT: %impl.elem0.loc35_9.1: @Test.%.loc35_9.3 (%.b83) = impl_witness_access constants.%Destroy.lookup_impl_witness.a8f, element0 [symbolic = %impl.elem0.loc35_9.2 (constants.%impl.elem0.acf)] // CHECK:STDOUT: %bound_method.loc35_9.2: = bound_method %.loc35_9.2, %impl.elem0.loc35_9.1 -// CHECK:STDOUT: %specific_impl_fn.loc35_9.1: = specific_impl_function %impl.elem0.loc35_9.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.553) [symbolic = %specific_impl_fn.loc35_9.2 (constants.%specific_impl_fn.03f)] +// CHECK:STDOUT: %specific_impl_fn.loc35_9.1: = specific_impl_function %impl.elem0.loc35_9.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.543) [symbolic = %specific_impl_fn.loc35_9.2 (constants.%specific_impl_fn.add)] // CHECK:STDOUT: %bound_method.loc35_9.3: = bound_method %.loc35_9.2, %specific_impl_fn.loc35_9.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc35: init %empty_tuple.type = call %bound_method.loc35_9.3(%.loc35_9.2) -// CHECK:STDOUT: %impl.elem0.loc34_11.1: @Test.%.loc34_11.3 (%.d5a) = impl_witness_access constants.%Destroy.lookup_impl_witness.e97, element0 [symbolic = %impl.elem0.loc34_11.2 (constants.%impl.elem0.d1d)] +// CHECK:STDOUT: %impl.elem0.loc34_11.1: @Test.%.loc34_11.3 (%.a68) = impl_witness_access constants.%Destroy.lookup_impl_witness.089, element0 [symbolic = %impl.elem0.loc34_11.2 (constants.%impl.elem0.f59)] // CHECK:STDOUT: %bound_method.loc34_11.2: = bound_method %.loc34_11.2, %impl.elem0.loc34_11.1 -// CHECK:STDOUT: %specific_impl_fn.loc34_11.1: = specific_impl_function %impl.elem0.loc34_11.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.503) [symbolic = %specific_impl_fn.loc34_11.2 (constants.%specific_impl_fn.a5c)] +// CHECK:STDOUT: %specific_impl_fn.loc34_11.1: = specific_impl_function %impl.elem0.loc34_11.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.5e8) [symbolic = %specific_impl_fn.loc34_11.2 (constants.%specific_impl_fn.f06)] // CHECK:STDOUT: %bound_method.loc34_11.3: = bound_method %.loc34_11.2, %specific_impl_fn.loc34_11.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc34: init %empty_tuple.type = call %bound_method.loc34_11.3(%.loc34_11.2) // CHECK:STDOUT: @@ -1114,75 +1114,75 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: specific @Test(constants.%R) { // CHECK:STDOUT: %R.loc32_10.1 => constants.%R // CHECK:STDOUT: %R.as_type.loc32_113.1 => constants.%R.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ff859f.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.26c6ea.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Test(constants.%facet_value.eb2) { -// CHECK:STDOUT: %R.loc32_10.1 => constants.%facet_value.eb2 +// CHECK:STDOUT: specific @Test(constants.%facet_value.589) { +// CHECK:STDOUT: %R.loc32_10.1 => constants.%facet_value.589 // CHECK:STDOUT: %R.as_type.loc32_113.1 => constants.%MutableRange // CHECK:STDOUT: %pattern_type => constants.%pattern_type.80f // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc32 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.92f -// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.068 -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.949 -// CHECK:STDOUT: %.loc34_4 => constants.%.b32 +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.25d +// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.5b0 +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.901 +// CHECK:STDOUT: %.loc34_4 => constants.%.8fa // CHECK:STDOUT: %impl.elem2.loc34_4.2 => constants.%Begin.1544bb.1 // CHECK:STDOUT: %specific_impl_fn.loc34_4.2 => constants.%Begin.1544bb.1 // CHECK:STDOUT: %impl.elem0.1 => constants.%Iterator.b8c // CHECK:STDOUT: %require_complete.1 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.e7a -// CHECK:STDOUT: %.loc35_4 => constants.%.3d5 +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.3a5 +// CHECK:STDOUT: %.loc35_4 => constants.%.374 // CHECK:STDOUT: %impl.elem3.loc35_4.2 => constants.%End.be76e1.1 // CHECK:STDOUT: %specific_impl_fn.loc35_4.2 => constants.%End.be76e1.1 // CHECK:STDOUT: %impl.elem1.1 => constants.%Iterator.b8c // CHECK:STDOUT: %require_complete.2 => constants.%complete_type -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc35 => constants.%custom_witness.d6a -// CHECK:STDOUT: %Destroy.facet.loc35 => constants.%Destroy.facet.44a -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc35 => constants.%Destroy.WithSelf.Op.type.360 -// CHECK:STDOUT: %.loc35_9.3 => constants.%.da3 +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc35 => constants.%custom_witness.fe6 +// CHECK:STDOUT: %Destroy.facet.loc35 => constants.%Destroy.facet.6ae +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc35 => constants.%Destroy.WithSelf.Op.type.018 +// CHECK:STDOUT: %.loc35_9.3 => constants.%.e53 // CHECK:STDOUT: %impl.elem0.loc35_9.2 => constants.%Iterator.Op.cbb // CHECK:STDOUT: %specific_impl_fn.loc35_9.2 => constants.%Iterator.Op.cbb -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc34 => constants.%custom_witness.d6a -// CHECK:STDOUT: %Destroy.facet.loc34 => constants.%Destroy.facet.44a -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc34 => constants.%Destroy.WithSelf.Op.type.360 -// CHECK:STDOUT: %.loc34_11.3 => constants.%.da3 +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc34 => constants.%custom_witness.fe6 +// CHECK:STDOUT: %Destroy.facet.loc34 => constants.%Destroy.facet.6ae +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc34 => constants.%Destroy.WithSelf.Op.type.018 +// CHECK:STDOUT: %.loc34_11.3 => constants.%.e53 // CHECK:STDOUT: %impl.elem0.loc34_11.2 => constants.%Iterator.Op.cbb // CHECK:STDOUT: %specific_impl_fn.loc34_11.2 => constants.%Iterator.Op.cbb // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Test(constants.%facet_value.5d5) { -// CHECK:STDOUT: %R.loc32_10.1 => constants.%facet_value.5d5 +// CHECK:STDOUT: specific @Test(constants.%facet_value.105) { +// CHECK:STDOUT: %R.loc32_10.1 => constants.%facet_value.105 // CHECK:STDOUT: %R.as_type.loc32_113.1 => constants.%ConstRange // CHECK:STDOUT: %pattern_type => constants.%pattern_type.88d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc32 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.532 -// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.984 -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.973 -// CHECK:STDOUT: %.loc34_4 => constants.%.b08 +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.4c3 +// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.379 +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.b5c +// CHECK:STDOUT: %.loc34_4 => constants.%.093 // CHECK:STDOUT: %impl.elem2.loc34_4.2 => constants.%Begin.1544bb.2 // CHECK:STDOUT: %specific_impl_fn.loc34_4.2 => constants.%Begin.1544bb.2 // CHECK:STDOUT: %impl.elem0.1 => constants.%Iterator.080 // CHECK:STDOUT: %require_complete.1 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.4f9 -// CHECK:STDOUT: %.loc35_4 => constants.%.bf2 +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.735 +// CHECK:STDOUT: %.loc35_4 => constants.%.e31 // CHECK:STDOUT: %impl.elem3.loc35_4.2 => constants.%End.be76e1.2 // CHECK:STDOUT: %specific_impl_fn.loc35_4.2 => constants.%End.be76e1.2 // CHECK:STDOUT: %impl.elem1.1 => constants.%Iterator.080 // CHECK:STDOUT: %require_complete.2 => constants.%complete_type -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc35 => constants.%custom_witness.b57 -// CHECK:STDOUT: %Destroy.facet.loc35 => constants.%Destroy.facet.eb0 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc35 => constants.%Destroy.WithSelf.Op.type.bbe -// CHECK:STDOUT: %.loc35_9.3 => constants.%.cdf +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc35 => constants.%custom_witness.166 +// CHECK:STDOUT: %Destroy.facet.loc35 => constants.%Destroy.facet.488 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc35 => constants.%Destroy.WithSelf.Op.type.488 +// CHECK:STDOUT: %.loc35_9.3 => constants.%.8da // CHECK:STDOUT: %impl.elem0.loc35_9.2 => constants.%Iterator.Op.dc6 // CHECK:STDOUT: %specific_impl_fn.loc35_9.2 => constants.%Iterator.Op.dc6 -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc34 => constants.%custom_witness.b57 -// CHECK:STDOUT: %Destroy.facet.loc34 => constants.%Destroy.facet.eb0 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc34 => constants.%Destroy.WithSelf.Op.type.bbe -// CHECK:STDOUT: %.loc34_11.3 => constants.%.cdf +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc34 => constants.%custom_witness.166 +// CHECK:STDOUT: %Destroy.facet.loc34 => constants.%Destroy.facet.488 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc34 => constants.%Destroy.WithSelf.Op.type.488 +// CHECK:STDOUT: %.loc34_11.3 => constants.%.8da // CHECK:STDOUT: %impl.elem0.loc34_11.2 => constants.%Iterator.Op.dc6 // CHECK:STDOUT: %specific_impl_fn.loc34_11.2 => constants.%Iterator.Op.dc6 // CHECK:STDOUT: } @@ -1191,48 +1191,48 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %CppRangeForIterate.type: type = facet_type <@CppRangeForIterate> [concrete] -// CHECK:STDOUT: %Self.668: %CppRangeForIterate.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.45d9b7.1: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%Self.668) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.e1b918.1: %CppRangeForIterate.WithSelf.End.type.45d9b7.1 = struct_value () [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.e09a97.1: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%Self.668) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.4c9a66.1: %CppRangeForIterate.WithSelf.Begin.type.e09a97.1 = struct_value () [symbolic] -// CHECK:STDOUT: %.Self.fda: %CppRangeForIterate.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Self.6c6: %CppRangeForIterate.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.056be7.1: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%Self.6c6) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.a331a3.1: %CppRangeForIterate.WithSelf.End.type.056be7.1 = struct_value () [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.753895.1: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%Self.6c6) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.2b31f7.1: %CppRangeForIterate.WithSelf.Begin.type.753895.1 = struct_value () [symbolic] +// CHECK:STDOUT: %.Self.10b: %CppRangeForIterate.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %CppRangeForIterate.assoc_type: type = assoc_entity_type @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.ae8: = lookup_impl_witness %.Self.fda, @CppRangeForIterate [symbolic_self] -// CHECK:STDOUT: %impl.elem0.354: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.ae8, element0 [symbolic_self] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.5bf: = lookup_impl_witness %.Self.10b, @CppRangeForIterate [symbolic_self] +// CHECK:STDOUT: %impl.elem0.d47: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.5bf, element0 [symbolic_self] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %impl.elem1.fdc: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.ae8, element1 [symbolic_self] -// CHECK:STDOUT: %CppRangeForIterate_where.type: type = facet_type <@CppRangeForIterate where %impl.elem0.354 impls @Destroy and %impl.elem1.fdc impls @Destroy> [concrete] +// CHECK:STDOUT: %impl.elem1.846: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.5bf, element1 [symbolic_self] +// CHECK:STDOUT: %CppRangeForIterate_where.type: type = facet_type <@CppRangeForIterate where %impl.elem0.d47 impls @Destroy and %impl.elem1.846 impls @Destroy> [concrete] // CHECK:STDOUT: %R: %CppRangeForIterate_where.type = symbolic_binding R, 0 [symbolic] // CHECK:STDOUT: %R.as_type: type = facet_access_type %R [symbolic] -// CHECK:STDOUT: %pattern_type.ff859f.2: type = pattern_type %R.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.26c6ea.2: type = pattern_type %R.as_type [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %assoc2: %CppRangeForIterate.assoc_type = assoc_entity element2, imports.%Core.import_ref.dad [concrete] -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.366fea.2: = lookup_impl_witness %R, @CppRangeForIterate [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.facet.527: %CppRangeForIterate.type = facet_value %R.as_type, (%CppRangeForIterate.lookup_impl_witness.366fea.2) [symbolic] -// CHECK:STDOUT: %impl.elem0.b36147.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element0 [symbolic] -// CHECK:STDOUT: %impl.elem1.3ad37d.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element1 [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.aa6: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.ebe: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %.227: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.aa6, %CppRangeForIterate.facet.527 [symbolic] -// CHECK:STDOUT: %impl.elem2: %.227 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element2 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.4a0: = specific_impl_function %impl.elem2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %assoc3: %CppRangeForIterate.assoc_type = assoc_entity element3, imports.%Core.import_ref.f0a [concrete] -// CHECK:STDOUT: %.cab: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.ebe, %CppRangeForIterate.facet.527 [symbolic] -// CHECK:STDOUT: %impl.elem3: %.cab = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element3 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.cc4: = specific_impl_function %impl.elem3, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.4ab: = lookup_impl_witness %impl.elem1.3ad37d.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.553: %Destroy.type = facet_value %impl.elem1.3ad37d.2, (%Destroy.lookup_impl_witness.4ab) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.b61: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.553) [symbolic] -// CHECK:STDOUT: %.b17: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.b61, %Destroy.facet.553 [symbolic] -// CHECK:STDOUT: %impl.elem0.449: %.b17 = impl_witness_access %Destroy.lookup_impl_witness.4ab, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.03f: = specific_impl_function %impl.elem0.449, @Destroy.WithSelf.Op(%Destroy.facet.553) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.e97: = lookup_impl_witness %impl.elem0.b36147.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.503: %Destroy.type = facet_value %impl.elem0.b36147.2, (%Destroy.lookup_impl_witness.e97) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.4c8: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.503) [symbolic] -// CHECK:STDOUT: %.d5a: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.4c8, %Destroy.facet.503 [symbolic] -// CHECK:STDOUT: %impl.elem0.d1d: %.d5a = impl_witness_access %Destroy.lookup_impl_witness.e97, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.a5c: = specific_impl_function %impl.elem0.d1d, @Destroy.WithSelf.Op(%Destroy.facet.503) [symbolic] +// CHECK:STDOUT: %assoc2: %CppRangeForIterate.assoc_type = assoc_entity element2, imports.%Core.import_ref.213 [concrete] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.edd1fe.2: = lookup_impl_witness %R, @CppRangeForIterate [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.facet.0d2: %CppRangeForIterate.type = facet_value %R.as_type, (%CppRangeForIterate.lookup_impl_witness.edd1fe.2) [symbolic] +// CHECK:STDOUT: %impl.elem0.d5966e.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element0 [symbolic] +// CHECK:STDOUT: %impl.elem1.bdcd2d.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element1 [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.57e: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.04d: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %.b85: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.57e, %CppRangeForIterate.facet.0d2 [symbolic] +// CHECK:STDOUT: %impl.elem2: %.b85 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element2 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c0f: = specific_impl_function %impl.elem2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %assoc3: %CppRangeForIterate.assoc_type = assoc_entity element3, imports.%Core.import_ref.730 [concrete] +// CHECK:STDOUT: %.b40: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.04d, %CppRangeForIterate.facet.0d2 [symbolic] +// CHECK:STDOUT: %impl.elem3: %.b40 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element3 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.d6a: = specific_impl_function %impl.elem3, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.a8f: = lookup_impl_witness %impl.elem1.bdcd2d.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.543: %Destroy.type = facet_value %impl.elem1.bdcd2d.2, (%Destroy.lookup_impl_witness.a8f) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.366: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.543) [symbolic] +// CHECK:STDOUT: %.b83: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.366, %Destroy.facet.543 [symbolic] +// CHECK:STDOUT: %impl.elem0.acf: %.b83 = impl_witness_access %Destroy.lookup_impl_witness.a8f, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.add: = specific_impl_function %impl.elem0.acf, @Destroy.WithSelf.Op(%Destroy.facet.543) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.089: = lookup_impl_witness %impl.elem0.d5966e.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.5e8: %Destroy.type = facet_value %impl.elem0.d5966e.2, (%Destroy.lookup_impl_witness.089) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.7cb: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.5e8) [symbolic] +// CHECK:STDOUT: %.a68: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.7cb, %Destroy.facet.5e8 [symbolic] +// CHECK:STDOUT: %impl.elem0.f59: %.a68 = impl_witness_access %Destroy.lookup_impl_witness.089, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.f06: = specific_impl_function %impl.elem0.f59, @Destroy.WithSelf.Op(%Destroy.facet.5e8) [symbolic] // CHECK:STDOUT: %MutableRange: type = class_type @MutableRange [concrete] // CHECK:STDOUT: %pattern_type.80f: type = pattern_type %MutableRange [concrete] // CHECK:STDOUT: %ConstRange: type = class_type @ConstRange [concrete] @@ -1245,57 +1245,57 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %Begin.1544bb.1: %Begin.type.793876.1 = struct_value () [concrete] // CHECK:STDOUT: %End.type.16398b.1: type = fn_type @End.1 [concrete] // CHECK:STDOUT: %End.be76e1.1: %End.type.16398b.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.480: = custom_witness (%Iterator.b8c, %Sentinel.501, %Begin.1544bb.1, %End.be76e1.1), @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.facet.1f7: %CppRangeForIterate.type = facet_value %MutableRange, (%custom_witness.480) [concrete] +// CHECK:STDOUT: %custom_witness.8be: = custom_witness (%Iterator.b8c, %Sentinel.501, %Begin.1544bb.1, %End.be76e1.1), @CppRangeForIterate [concrete] +// CHECK:STDOUT: %CppRangeForIterate.facet.23e: %CppRangeForIterate.type = facet_value %MutableRange, (%custom_witness.8be) [concrete] // CHECK:STDOUT: %Iterator.Op.type.910: type = fn_type @Iterator.Op.1 [concrete] // CHECK:STDOUT: %Iterator.Op.cbb: %Iterator.Op.type.910 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.d6afef.1: = custom_witness (%Iterator.Op.cbb), @Destroy [concrete] +// CHECK:STDOUT: %custom_witness.fe6529.1: = custom_witness (%Iterator.Op.cbb), @Destroy [concrete] // CHECK:STDOUT: %Sentinel.Op.type.910: type = fn_type @Sentinel.Op.1 [concrete] // CHECK:STDOUT: %Sentinel.Op.cbb: %Sentinel.Op.type.910 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.d6afef.2: = custom_witness (%Sentinel.Op.cbb), @Destroy [concrete] -// CHECK:STDOUT: %facet_value.388: %CppRangeForIterate_where.type = facet_value %MutableRange, (%custom_witness.480, %custom_witness.d6afef.1, %custom_witness.d6afef.2) [concrete] +// CHECK:STDOUT: %custom_witness.fe6529.2: = custom_witness (%Sentinel.Op.cbb), @Destroy [concrete] +// CHECK:STDOUT: %facet_value.2d2: %CppRangeForIterate_where.type = facet_value %MutableRange, (%custom_witness.8be, %custom_witness.fe6529.1, %custom_witness.fe6529.2) [concrete] // CHECK:STDOUT: %Iterator.080: type = class_type @Iterator.2 [concrete] // CHECK:STDOUT: %Sentinel.a47: type = class_type @Sentinel.2 [concrete] // CHECK:STDOUT: %Begin.type.793876.2: type = fn_type @Begin.2 [concrete] // CHECK:STDOUT: %Begin.1544bb.2: %Begin.type.793876.2 = struct_value () [concrete] // CHECK:STDOUT: %End.type.16398b.2: type = fn_type @End.2 [concrete] // CHECK:STDOUT: %End.be76e1.2: %End.type.16398b.2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.7a2: = custom_witness (%Iterator.080, %Sentinel.a47, %Begin.1544bb.2, %End.be76e1.2), @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.facet.48c: %CppRangeForIterate.type = facet_value %ConstRange, (%custom_witness.7a2) [concrete] +// CHECK:STDOUT: %custom_witness.2ff: = custom_witness (%Iterator.080, %Sentinel.a47, %Begin.1544bb.2, %End.be76e1.2), @CppRangeForIterate [concrete] +// CHECK:STDOUT: %CppRangeForIterate.facet.b4e: %CppRangeForIterate.type = facet_value %ConstRange, (%custom_witness.2ff) [concrete] // CHECK:STDOUT: %Iterator.Op.type.587: type = fn_type @Iterator.Op.2 [concrete] // CHECK:STDOUT: %Iterator.Op.dc6: %Iterator.Op.type.587 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b57f0b.1: = custom_witness (%Iterator.Op.dc6), @Destroy [concrete] +// CHECK:STDOUT: %custom_witness.166783.1: = custom_witness (%Iterator.Op.dc6), @Destroy [concrete] // CHECK:STDOUT: %Sentinel.Op.type.587: type = fn_type @Sentinel.Op.2 [concrete] // CHECK:STDOUT: %Sentinel.Op.dc6: %Sentinel.Op.type.587 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b57f0b.2: = custom_witness (%Sentinel.Op.dc6), @Destroy [concrete] -// CHECK:STDOUT: %facet_value.38d: %CppRangeForIterate_where.type = facet_value %ConstRange, (%custom_witness.7a2, %custom_witness.b57f0b.1, %custom_witness.b57f0b.2) [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.c44: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.1f7) [concrete] -// CHECK:STDOUT: %.a44: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.c44, %CppRangeForIterate.facet.1f7 [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.d16: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.1f7) [concrete] -// CHECK:STDOUT: %.994: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.d16, %CppRangeForIterate.facet.1f7 [concrete] -// CHECK:STDOUT: %Destroy.facet.4b0: %Destroy.type = facet_value %Sentinel.501, (%custom_witness.d6afef.2) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.5e0: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.4b0) [concrete] -// CHECK:STDOUT: %.132: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.5e0, %Destroy.facet.4b0 [concrete] -// CHECK:STDOUT: %Destroy.facet.44a: %Destroy.type = facet_value %Iterator.b8c, (%custom_witness.d6afef.1) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.360: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.44a) [concrete] -// CHECK:STDOUT: %.da3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.360, %Destroy.facet.44a [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.6b1: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.48c) [concrete] -// CHECK:STDOUT: %.2e1: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.6b1, %CppRangeForIterate.facet.48c [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.4c6: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.48c) [concrete] -// CHECK:STDOUT: %.94a: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.4c6, %CppRangeForIterate.facet.48c [concrete] -// CHECK:STDOUT: %Destroy.facet.7e7: %Destroy.type = facet_value %Sentinel.a47, (%custom_witness.b57f0b.2) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.04c: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.7e7) [concrete] -// CHECK:STDOUT: %.bdc: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.04c, %Destroy.facet.7e7 [concrete] -// CHECK:STDOUT: %Destroy.facet.eb0: %Destroy.type = facet_value %Iterator.080, (%custom_witness.b57f0b.1) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.bbe: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.eb0) [concrete] -// CHECK:STDOUT: %.cdf: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.bbe, %Destroy.facet.eb0 [concrete] +// CHECK:STDOUT: %custom_witness.166783.2: = custom_witness (%Sentinel.Op.dc6), @Destroy [concrete] +// CHECK:STDOUT: %facet_value.c34: %CppRangeForIterate_where.type = facet_value %ConstRange, (%custom_witness.2ff, %custom_witness.166783.1, %custom_witness.166783.2) [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.f2b: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.23e) [concrete] +// CHECK:STDOUT: %.94e: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.f2b, %CppRangeForIterate.facet.23e [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.a76: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.23e) [concrete] +// CHECK:STDOUT: %.f95: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.a76, %CppRangeForIterate.facet.23e [concrete] +// CHECK:STDOUT: %Destroy.facet.15e: %Destroy.type = facet_value %Sentinel.501, (%custom_witness.fe6529.2) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.447: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.15e) [concrete] +// CHECK:STDOUT: %.67d: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.447, %Destroy.facet.15e [concrete] +// CHECK:STDOUT: %Destroy.facet.6ae: %Destroy.type = facet_value %Iterator.b8c, (%custom_witness.fe6529.1) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.018: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.6ae) [concrete] +// CHECK:STDOUT: %.e53: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.018, %Destroy.facet.6ae [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.982: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.b4e) [concrete] +// CHECK:STDOUT: %.8d9: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.982, %CppRangeForIterate.facet.b4e [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.c86: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.b4e) [concrete] +// CHECK:STDOUT: %.a33: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.c86, %CppRangeForIterate.facet.b4e [concrete] +// CHECK:STDOUT: %Destroy.facet.a7c: %Destroy.type = facet_value %Sentinel.a47, (%custom_witness.166783.2) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.89d: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.a7c) [concrete] +// CHECK:STDOUT: %.514: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.89d, %Destroy.facet.a7c [concrete] +// CHECK:STDOUT: %Destroy.facet.488: %Destroy.type = facet_value %Iterator.080, (%custom_witness.166783.1) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.488: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.488) [concrete] +// CHECK:STDOUT: %.8da: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.488, %Destroy.facet.488 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.4af: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc2] -// CHECK:STDOUT: %Core.import_ref.83c: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc3] -// CHECK:STDOUT: %Core.import_ref.dad: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin.type (%CppRangeForIterate.WithSelf.Begin.type.e09a97.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin (constants.%CppRangeForIterate.WithSelf.Begin.4c9a66.1)] -// CHECK:STDOUT: %Core.import_ref.f0a: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End.type (%CppRangeForIterate.WithSelf.End.type.45d9b7.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End (constants.%CppRangeForIterate.WithSelf.End.e1b918.1)] +// CHECK:STDOUT: %Core.import_ref.735: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc2] +// CHECK:STDOUT: %Core.import_ref.572: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc3] +// CHECK:STDOUT: %Core.import_ref.213: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin.type (%CppRangeForIterate.WithSelf.Begin.type.753895.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin (constants.%CppRangeForIterate.WithSelf.Begin.2b31f7.1)] +// CHECK:STDOUT: %Core.import_ref.730: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End.type (%CppRangeForIterate.WithSelf.End.type.056be7.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End (constants.%CppRangeForIterate.WithSelf.End.a331a3.1)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Test(%R.loc42_10.2: %CppRangeForIterate_where.type) { @@ -1303,59 +1303,59 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness: = lookup_impl_witness %R.loc42_10.1, @CppRangeForIterate [symbolic = %CppRangeForIterate.lookup_impl_witness (constants.%CppRangeForIterate.lookup_impl_witness.366fea.2)] -// CHECK:STDOUT: %CppRangeForIterate.facet: %CppRangeForIterate.type = facet_value %R.as_type.loc42_113.1, (%CppRangeForIterate.lookup_impl_witness) [symbolic = %CppRangeForIterate.facet (constants.%CppRangeForIterate.facet.527)] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.Begin.type (constants.%CppRangeForIterate.WithSelf.Begin.type.aa6)] -// CHECK:STDOUT: %.loc44_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type, %CppRangeForIterate.facet [symbolic = %.loc44_4 (constants.%.227)] -// CHECK:STDOUT: %impl.elem2.loc44_4.2: @Test.%.loc44_4 (%.227) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc44_4.2 (constants.%impl.elem2)] -// CHECK:STDOUT: %specific_impl_fn.loc44_4.2: = specific_impl_function %impl.elem2.loc44_4.2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc44_4.2 (constants.%specific_impl_fn.4a0)] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness: = lookup_impl_witness %R.loc42_10.1, @CppRangeForIterate [symbolic = %CppRangeForIterate.lookup_impl_witness (constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2)] +// CHECK:STDOUT: %CppRangeForIterate.facet: %CppRangeForIterate.type = facet_value %R.as_type.loc42_113.1, (%CppRangeForIterate.lookup_impl_witness) [symbolic = %CppRangeForIterate.facet (constants.%CppRangeForIterate.facet.0d2)] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.Begin.type (constants.%CppRangeForIterate.WithSelf.Begin.type.57e)] +// CHECK:STDOUT: %.loc44_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type, %CppRangeForIterate.facet [symbolic = %.loc44_4 (constants.%.b85)] +// CHECK:STDOUT: %impl.elem2.loc44_4.2: @Test.%.loc44_4 (%.b85) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc44_4.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %specific_impl_fn.loc44_4.2: = specific_impl_function %impl.elem2.loc44_4.2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc44_4.2 (constants.%specific_impl_fn.c0f)] // CHECK:STDOUT: -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.End.type (constants.%CppRangeForIterate.WithSelf.End.type.ebe)] -// CHECK:STDOUT: %.loc45_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type, %CppRangeForIterate.facet [symbolic = %.loc45_4 (constants.%.cab)] -// CHECK:STDOUT: %impl.elem3.loc45_4.2: @Test.%.loc45_4 (%.cab) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc45_4.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %specific_impl_fn.loc45_4.2: = specific_impl_function %impl.elem3.loc45_4.2, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc45_4.2 (constants.%specific_impl_fn.cc4)] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.End.type (constants.%CppRangeForIterate.WithSelf.End.type.04d)] +// CHECK:STDOUT: %.loc45_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type, %CppRangeForIterate.facet [symbolic = %.loc45_4 (constants.%.b40)] +// CHECK:STDOUT: %impl.elem3.loc45_4.2: @Test.%.loc45_4 (%.b40) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc45_4.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %specific_impl_fn.loc45_4.2: = specific_impl_function %impl.elem3.loc45_4.2, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc45_4.2 (constants.%specific_impl_fn.d6a)] // CHECK:STDOUT: -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc45: = lookup_impl_witness %impl.elem1.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc45 (constants.%Destroy.lookup_impl_witness.4ab)] -// CHECK:STDOUT: %Destroy.facet.loc45: %Destroy.type = facet_value %impl.elem1.1, (%Destroy.lookup_impl_witness.loc45) [symbolic = %Destroy.facet.loc45 (constants.%Destroy.facet.553)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc45: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc45) [symbolic = %Destroy.WithSelf.Op.type.loc45 (constants.%Destroy.WithSelf.Op.type.b61)] -// CHECK:STDOUT: %.loc45_9.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc45, %Destroy.facet.loc45 [symbolic = %.loc45_9.3 (constants.%.b17)] -// CHECK:STDOUT: %impl.elem0.loc45_9.2: @Test.%.loc45_9.3 (%.b17) = impl_witness_access %Destroy.lookup_impl_witness.loc45, element0 [symbolic = %impl.elem0.loc45_9.2 (constants.%impl.elem0.449)] -// CHECK:STDOUT: %specific_impl_fn.loc45_9.2: = specific_impl_function %impl.elem0.loc45_9.2, @Destroy.WithSelf.Op(%Destroy.facet.loc45) [symbolic = %specific_impl_fn.loc45_9.2 (constants.%specific_impl_fn.03f)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc44: = lookup_impl_witness %impl.elem0.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc44 (constants.%Destroy.lookup_impl_witness.e97)] -// CHECK:STDOUT: %Destroy.facet.loc44: %Destroy.type = facet_value %impl.elem0.1, (%Destroy.lookup_impl_witness.loc44) [symbolic = %Destroy.facet.loc44 (constants.%Destroy.facet.503)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc44: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc44) [symbolic = %Destroy.WithSelf.Op.type.loc44 (constants.%Destroy.WithSelf.Op.type.4c8)] -// CHECK:STDOUT: %.loc44_11.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc44, %Destroy.facet.loc44 [symbolic = %.loc44_11.3 (constants.%.d5a)] -// CHECK:STDOUT: %impl.elem0.loc44_11.2: @Test.%.loc44_11.3 (%.d5a) = impl_witness_access %Destroy.lookup_impl_witness.loc44, element0 [symbolic = %impl.elem0.loc44_11.2 (constants.%impl.elem0.d1d)] -// CHECK:STDOUT: %specific_impl_fn.loc44_11.2: = specific_impl_function %impl.elem0.loc44_11.2, @Destroy.WithSelf.Op(%Destroy.facet.loc44) [symbolic = %specific_impl_fn.loc44_11.2 (constants.%specific_impl_fn.a5c)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc45: = lookup_impl_witness %impl.elem1.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc45 (constants.%Destroy.lookup_impl_witness.a8f)] +// CHECK:STDOUT: %Destroy.facet.loc45: %Destroy.type = facet_value %impl.elem1.1, (%Destroy.lookup_impl_witness.loc45) [symbolic = %Destroy.facet.loc45 (constants.%Destroy.facet.543)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc45: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc45) [symbolic = %Destroy.WithSelf.Op.type.loc45 (constants.%Destroy.WithSelf.Op.type.366)] +// CHECK:STDOUT: %.loc45_9.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc45, %Destroy.facet.loc45 [symbolic = %.loc45_9.3 (constants.%.b83)] +// CHECK:STDOUT: %impl.elem0.loc45_9.2: @Test.%.loc45_9.3 (%.b83) = impl_witness_access %Destroy.lookup_impl_witness.loc45, element0 [symbolic = %impl.elem0.loc45_9.2 (constants.%impl.elem0.acf)] +// CHECK:STDOUT: %specific_impl_fn.loc45_9.2: = specific_impl_function %impl.elem0.loc45_9.2, @Destroy.WithSelf.Op(%Destroy.facet.loc45) [symbolic = %specific_impl_fn.loc45_9.2 (constants.%specific_impl_fn.add)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc44: = lookup_impl_witness %impl.elem0.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc44 (constants.%Destroy.lookup_impl_witness.089)] +// CHECK:STDOUT: %Destroy.facet.loc44: %Destroy.type = facet_value %impl.elem0.1, (%Destroy.lookup_impl_witness.loc44) [symbolic = %Destroy.facet.loc44 (constants.%Destroy.facet.5e8)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc44: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc44) [symbolic = %Destroy.WithSelf.Op.type.loc44 (constants.%Destroy.WithSelf.Op.type.7cb)] +// CHECK:STDOUT: %.loc44_11.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc44, %Destroy.facet.loc44 [symbolic = %.loc44_11.3 (constants.%.a68)] +// CHECK:STDOUT: %impl.elem0.loc44_11.2: @Test.%.loc44_11.3 (%.a68) = impl_witness_access %Destroy.lookup_impl_witness.loc44, element0 [symbolic = %impl.elem0.loc44_11.2 (constants.%impl.elem0.f59)] +// CHECK:STDOUT: %specific_impl_fn.loc44_11.2: = specific_impl_function %impl.elem0.loc44_11.2, @Destroy.WithSelf.Op(%Destroy.facet.loc44) [symbolic = %specific_impl_fn.loc44_11.2 (constants.%specific_impl_fn.f06)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%r.param: ref @Test.%R.as_type.loc42_113.1 (%R.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %r.ref.loc44: ref @Test.%R.as_type.loc42_113.1 (%R.as_type) = name_ref r, %r -// CHECK:STDOUT: %Begin.ref: %CppRangeForIterate.assoc_type = name_ref Begin, imports.%Core.import_ref.4af [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc44_4.1: @Test.%.loc44_4 (%.227) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.366fea.2, element2 [symbolic = %impl.elem2.loc44_4.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %Begin.ref: %CppRangeForIterate.assoc_type = name_ref Begin, imports.%Core.import_ref.735 [concrete = constants.%assoc2] +// CHECK:STDOUT: %impl.elem2.loc44_4.1: @Test.%.loc44_4 (%.b85) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2, element2 [symbolic = %impl.elem2.loc44_4.2 (constants.%impl.elem2)] // CHECK:STDOUT: %bound_method.loc44_4: = bound_method %r.ref.loc44, %impl.elem2.loc44_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc44_4.1: = specific_impl_function %impl.elem2.loc44_4.1, @CppRangeForIterate.WithSelf.Begin(constants.%CppRangeForIterate.facet.527) [symbolic = %specific_impl_fn.loc44_4.2 (constants.%specific_impl_fn.4a0)] +// CHECK:STDOUT: %specific_impl_fn.loc44_4.1: = specific_impl_function %impl.elem2.loc44_4.1, @CppRangeForIterate.WithSelf.Begin(constants.%CppRangeForIterate.facet.0d2) [symbolic = %specific_impl_fn.loc44_4.2 (constants.%specific_impl_fn.c0f)] // CHECK:STDOUT: %bound_method.loc44_11.1: = bound_method %r.ref.loc44, %specific_impl_fn.loc44_4.1 -// CHECK:STDOUT: %.loc44_11.1: ref @Test.%impl.elem0.1 (%impl.elem0.b36147.2) = temporary_storage -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.call: init @Test.%impl.elem0.1 (%impl.elem0.b36147.2) to %.loc44_11.1 = call %bound_method.loc44_11.1(%r.ref.loc44) -// CHECK:STDOUT: %.loc44_11.2: ref @Test.%impl.elem0.1 (%impl.elem0.b36147.2) = temporary %.loc44_11.1, %CppRangeForIterate.WithSelf.Begin.call +// CHECK:STDOUT: %.loc44_11.1: ref @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) = temporary_storage +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.call: init @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) to %.loc44_11.1 = call %bound_method.loc44_11.1(%r.ref.loc44) +// CHECK:STDOUT: %.loc44_11.2: ref @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) = temporary %.loc44_11.1, %CppRangeForIterate.WithSelf.Begin.call // CHECK:STDOUT: %r.ref.loc45: ref @Test.%R.as_type.loc42_113.1 (%R.as_type) = name_ref r, %r -// CHECK:STDOUT: %End.ref: %CppRangeForIterate.assoc_type = name_ref End, imports.%Core.import_ref.83c [concrete = constants.%assoc3] -// CHECK:STDOUT: %impl.elem3.loc45_4.1: @Test.%.loc45_4 (%.cab) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.366fea.2, element3 [symbolic = %impl.elem3.loc45_4.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %End.ref: %CppRangeForIterate.assoc_type = name_ref End, imports.%Core.import_ref.572 [concrete = constants.%assoc3] +// CHECK:STDOUT: %impl.elem3.loc45_4.1: @Test.%.loc45_4 (%.b40) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2, element3 [symbolic = %impl.elem3.loc45_4.2 (constants.%impl.elem3)] // CHECK:STDOUT: %bound_method.loc45_4: = bound_method %r.ref.loc45, %impl.elem3.loc45_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc45_4.1: = specific_impl_function %impl.elem3.loc45_4.1, @CppRangeForIterate.WithSelf.End(constants.%CppRangeForIterate.facet.527) [symbolic = %specific_impl_fn.loc45_4.2 (constants.%specific_impl_fn.cc4)] +// CHECK:STDOUT: %specific_impl_fn.loc45_4.1: = specific_impl_function %impl.elem3.loc45_4.1, @CppRangeForIterate.WithSelf.End(constants.%CppRangeForIterate.facet.0d2) [symbolic = %specific_impl_fn.loc45_4.2 (constants.%specific_impl_fn.d6a)] // CHECK:STDOUT: %bound_method.loc45_9.1: = bound_method %r.ref.loc45, %specific_impl_fn.loc45_4.1 -// CHECK:STDOUT: %.loc45_9.1: ref @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) = temporary_storage -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.call: init @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) to %.loc45_9.1 = call %bound_method.loc45_9.1(%r.ref.loc45) -// CHECK:STDOUT: %.loc45_9.2: ref @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) = temporary %.loc45_9.1, %CppRangeForIterate.WithSelf.End.call -// CHECK:STDOUT: %impl.elem0.loc45_9.1: @Test.%.loc45_9.3 (%.b17) = impl_witness_access constants.%Destroy.lookup_impl_witness.4ab, element0 [symbolic = %impl.elem0.loc45_9.2 (constants.%impl.elem0.449)] +// CHECK:STDOUT: %.loc45_9.1: ref @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) = temporary_storage +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.call: init @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) to %.loc45_9.1 = call %bound_method.loc45_9.1(%r.ref.loc45) +// CHECK:STDOUT: %.loc45_9.2: ref @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) = temporary %.loc45_9.1, %CppRangeForIterate.WithSelf.End.call +// CHECK:STDOUT: %impl.elem0.loc45_9.1: @Test.%.loc45_9.3 (%.b83) = impl_witness_access constants.%Destroy.lookup_impl_witness.a8f, element0 [symbolic = %impl.elem0.loc45_9.2 (constants.%impl.elem0.acf)] // CHECK:STDOUT: %bound_method.loc45_9.2: = bound_method %.loc45_9.2, %impl.elem0.loc45_9.1 -// CHECK:STDOUT: %specific_impl_fn.loc45_9.1: = specific_impl_function %impl.elem0.loc45_9.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.553) [symbolic = %specific_impl_fn.loc45_9.2 (constants.%specific_impl_fn.03f)] +// CHECK:STDOUT: %specific_impl_fn.loc45_9.1: = specific_impl_function %impl.elem0.loc45_9.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.543) [symbolic = %specific_impl_fn.loc45_9.2 (constants.%specific_impl_fn.add)] // CHECK:STDOUT: %bound_method.loc45_9.3: = bound_method %.loc45_9.2, %specific_impl_fn.loc45_9.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc45: init %empty_tuple.type = call %bound_method.loc45_9.3(%.loc45_9.2) -// CHECK:STDOUT: %impl.elem0.loc44_11.1: @Test.%.loc44_11.3 (%.d5a) = impl_witness_access constants.%Destroy.lookup_impl_witness.e97, element0 [symbolic = %impl.elem0.loc44_11.2 (constants.%impl.elem0.d1d)] +// CHECK:STDOUT: %impl.elem0.loc44_11.1: @Test.%.loc44_11.3 (%.a68) = impl_witness_access constants.%Destroy.lookup_impl_witness.089, element0 [symbolic = %impl.elem0.loc44_11.2 (constants.%impl.elem0.f59)] // CHECK:STDOUT: %bound_method.loc44_11.2: = bound_method %.loc44_11.2, %impl.elem0.loc44_11.1 -// CHECK:STDOUT: %specific_impl_fn.loc44_11.1: = specific_impl_function %impl.elem0.loc44_11.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.503) [symbolic = %specific_impl_fn.loc44_11.2 (constants.%specific_impl_fn.a5c)] +// CHECK:STDOUT: %specific_impl_fn.loc44_11.1: = specific_impl_function %impl.elem0.loc44_11.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.5e8) [symbolic = %specific_impl_fn.loc44_11.2 (constants.%specific_impl_fn.f06)] // CHECK:STDOUT: %bound_method.loc44_11.3: = bound_method %.loc44_11.2, %specific_impl_fn.loc44_11.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc44: init %empty_tuple.type = call %bound_method.loc44_11.3(%.loc44_11.2) // CHECK:STDOUT: @@ -1365,75 +1365,75 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: specific @Test(constants.%R) { // CHECK:STDOUT: %R.loc42_10.1 => constants.%R // CHECK:STDOUT: %R.as_type.loc42_113.1 => constants.%R.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ff859f.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.26c6ea.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Test(constants.%facet_value.388) { -// CHECK:STDOUT: %R.loc42_10.1 => constants.%facet_value.388 +// CHECK:STDOUT: specific @Test(constants.%facet_value.2d2) { +// CHECK:STDOUT: %R.loc42_10.1 => constants.%facet_value.2d2 // CHECK:STDOUT: %R.as_type.loc42_113.1 => constants.%MutableRange // CHECK:STDOUT: %pattern_type => constants.%pattern_type.80f // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc42 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.480 -// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.1f7 -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.c44 -// CHECK:STDOUT: %.loc44_4 => constants.%.a44 +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.8be +// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.23e +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.f2b +// CHECK:STDOUT: %.loc44_4 => constants.%.94e // CHECK:STDOUT: %impl.elem2.loc44_4.2 => constants.%Begin.1544bb.1 // CHECK:STDOUT: %specific_impl_fn.loc44_4.2 => constants.%Begin.1544bb.1 // CHECK:STDOUT: %impl.elem0.1 => constants.%Iterator.b8c // CHECK:STDOUT: %require_complete.1 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.d16 -// CHECK:STDOUT: %.loc45_4 => constants.%.994 +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.a76 +// CHECK:STDOUT: %.loc45_4 => constants.%.f95 // CHECK:STDOUT: %impl.elem3.loc45_4.2 => constants.%End.be76e1.1 // CHECK:STDOUT: %specific_impl_fn.loc45_4.2 => constants.%End.be76e1.1 // CHECK:STDOUT: %impl.elem1.1 => constants.%Sentinel.501 // CHECK:STDOUT: %require_complete.2 => constants.%complete_type -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc45 => constants.%custom_witness.d6afef.2 -// CHECK:STDOUT: %Destroy.facet.loc45 => constants.%Destroy.facet.4b0 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc45 => constants.%Destroy.WithSelf.Op.type.5e0 -// CHECK:STDOUT: %.loc45_9.3 => constants.%.132 +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc45 => constants.%custom_witness.fe6529.2 +// CHECK:STDOUT: %Destroy.facet.loc45 => constants.%Destroy.facet.15e +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc45 => constants.%Destroy.WithSelf.Op.type.447 +// CHECK:STDOUT: %.loc45_9.3 => constants.%.67d // CHECK:STDOUT: %impl.elem0.loc45_9.2 => constants.%Sentinel.Op.cbb // CHECK:STDOUT: %specific_impl_fn.loc45_9.2 => constants.%Sentinel.Op.cbb -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc44 => constants.%custom_witness.d6afef.1 -// CHECK:STDOUT: %Destroy.facet.loc44 => constants.%Destroy.facet.44a -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc44 => constants.%Destroy.WithSelf.Op.type.360 -// CHECK:STDOUT: %.loc44_11.3 => constants.%.da3 +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc44 => constants.%custom_witness.fe6529.1 +// CHECK:STDOUT: %Destroy.facet.loc44 => constants.%Destroy.facet.6ae +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc44 => constants.%Destroy.WithSelf.Op.type.018 +// CHECK:STDOUT: %.loc44_11.3 => constants.%.e53 // CHECK:STDOUT: %impl.elem0.loc44_11.2 => constants.%Iterator.Op.cbb // CHECK:STDOUT: %specific_impl_fn.loc44_11.2 => constants.%Iterator.Op.cbb // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Test(constants.%facet_value.38d) { -// CHECK:STDOUT: %R.loc42_10.1 => constants.%facet_value.38d +// CHECK:STDOUT: specific @Test(constants.%facet_value.c34) { +// CHECK:STDOUT: %R.loc42_10.1 => constants.%facet_value.c34 // CHECK:STDOUT: %R.as_type.loc42_113.1 => constants.%ConstRange // CHECK:STDOUT: %pattern_type => constants.%pattern_type.88d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc42 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.7a2 -// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.48c -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.6b1 -// CHECK:STDOUT: %.loc44_4 => constants.%.2e1 +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.2ff +// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.b4e +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.982 +// CHECK:STDOUT: %.loc44_4 => constants.%.8d9 // CHECK:STDOUT: %impl.elem2.loc44_4.2 => constants.%Begin.1544bb.2 // CHECK:STDOUT: %specific_impl_fn.loc44_4.2 => constants.%Begin.1544bb.2 // CHECK:STDOUT: %impl.elem0.1 => constants.%Iterator.080 // CHECK:STDOUT: %require_complete.1 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.4c6 -// CHECK:STDOUT: %.loc45_4 => constants.%.94a +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.c86 +// CHECK:STDOUT: %.loc45_4 => constants.%.a33 // CHECK:STDOUT: %impl.elem3.loc45_4.2 => constants.%End.be76e1.2 // CHECK:STDOUT: %specific_impl_fn.loc45_4.2 => constants.%End.be76e1.2 // CHECK:STDOUT: %impl.elem1.1 => constants.%Sentinel.a47 // CHECK:STDOUT: %require_complete.2 => constants.%complete_type -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc45 => constants.%custom_witness.b57f0b.2 -// CHECK:STDOUT: %Destroy.facet.loc45 => constants.%Destroy.facet.7e7 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc45 => constants.%Destroy.WithSelf.Op.type.04c -// CHECK:STDOUT: %.loc45_9.3 => constants.%.bdc +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc45 => constants.%custom_witness.166783.2 +// CHECK:STDOUT: %Destroy.facet.loc45 => constants.%Destroy.facet.a7c +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc45 => constants.%Destroy.WithSelf.Op.type.89d +// CHECK:STDOUT: %.loc45_9.3 => constants.%.514 // CHECK:STDOUT: %impl.elem0.loc45_9.2 => constants.%Sentinel.Op.dc6 // CHECK:STDOUT: %specific_impl_fn.loc45_9.2 => constants.%Sentinel.Op.dc6 -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc44 => constants.%custom_witness.b57f0b.1 -// CHECK:STDOUT: %Destroy.facet.loc44 => constants.%Destroy.facet.eb0 -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc44 => constants.%Destroy.WithSelf.Op.type.bbe -// CHECK:STDOUT: %.loc44_11.3 => constants.%.cdf +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc44 => constants.%custom_witness.166783.1 +// CHECK:STDOUT: %Destroy.facet.loc44 => constants.%Destroy.facet.488 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc44 => constants.%Destroy.WithSelf.Op.type.488 +// CHECK:STDOUT: %.loc44_11.3 => constants.%.8da // CHECK:STDOUT: %impl.elem0.loc44_11.2 => constants.%Iterator.Op.dc6 // CHECK:STDOUT: %specific_impl_fn.loc44_11.2 => constants.%Iterator.Op.dc6 // CHECK:STDOUT: } @@ -1442,48 +1442,48 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %CppRangeForIterate.type: type = facet_type <@CppRangeForIterate> [concrete] -// CHECK:STDOUT: %Self.668: %CppRangeForIterate.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.45d9b7.1: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%Self.668) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.e1b918.1: %CppRangeForIterate.WithSelf.End.type.45d9b7.1 = struct_value () [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.e09a97.1: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%Self.668) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.4c9a66.1: %CppRangeForIterate.WithSelf.Begin.type.e09a97.1 = struct_value () [symbolic] -// CHECK:STDOUT: %.Self.fda: %CppRangeForIterate.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Self.6c6: %CppRangeForIterate.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.056be7.1: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%Self.6c6) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.a331a3.1: %CppRangeForIterate.WithSelf.End.type.056be7.1 = struct_value () [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.753895.1: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%Self.6c6) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.2b31f7.1: %CppRangeForIterate.WithSelf.Begin.type.753895.1 = struct_value () [symbolic] +// CHECK:STDOUT: %.Self.10b: %CppRangeForIterate.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %CppRangeForIterate.assoc_type: type = assoc_entity_type @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.ae8: = lookup_impl_witness %.Self.fda, @CppRangeForIterate [symbolic_self] -// CHECK:STDOUT: %impl.elem0.354: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.ae8, element0 [symbolic_self] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.5bf: = lookup_impl_witness %.Self.10b, @CppRangeForIterate [symbolic_self] +// CHECK:STDOUT: %impl.elem0.d47: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.5bf, element0 [symbolic_self] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %impl.elem1.fdc: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.ae8, element1 [symbolic_self] -// CHECK:STDOUT: %CppRangeForIterate_where.type: type = facet_type <@CppRangeForIterate where %impl.elem0.354 impls @Destroy and %impl.elem1.fdc impls @Destroy> [concrete] +// CHECK:STDOUT: %impl.elem1.846: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.5bf, element1 [symbolic_self] +// CHECK:STDOUT: %CppRangeForIterate_where.type: type = facet_type <@CppRangeForIterate where %impl.elem0.d47 impls @Destroy and %impl.elem1.846 impls @Destroy> [concrete] // CHECK:STDOUT: %R: %CppRangeForIterate_where.type = symbolic_binding R, 0 [symbolic] // CHECK:STDOUT: %R.as_type: type = facet_access_type %R [symbolic] -// CHECK:STDOUT: %pattern_type.ff859f.2: type = pattern_type %R.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.26c6ea.2: type = pattern_type %R.as_type [symbolic] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %assoc2: %CppRangeForIterate.assoc_type = assoc_entity element2, imports.%Core.import_ref.dad [concrete] -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.366fea.2: = lookup_impl_witness %R, @CppRangeForIterate [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.facet.527: %CppRangeForIterate.type = facet_value %R.as_type, (%CppRangeForIterate.lookup_impl_witness.366fea.2) [symbolic] -// CHECK:STDOUT: %impl.elem0.b36147.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element0 [symbolic] -// CHECK:STDOUT: %impl.elem1.3ad37d.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element1 [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.aa6: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.ebe: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %.227: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.aa6, %CppRangeForIterate.facet.527 [symbolic] -// CHECK:STDOUT: %impl.elem2: %.227 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element2 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.4a0: = specific_impl_function %impl.elem2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %assoc3: %CppRangeForIterate.assoc_type = assoc_entity element3, imports.%Core.import_ref.f0a [concrete] -// CHECK:STDOUT: %.cab: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.ebe, %CppRangeForIterate.facet.527 [symbolic] -// CHECK:STDOUT: %impl.elem3: %.cab = impl_witness_access %CppRangeForIterate.lookup_impl_witness.366fea.2, element3 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.cc4: = specific_impl_function %impl.elem3, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet.527) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.4ab: = lookup_impl_witness %impl.elem1.3ad37d.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.553: %Destroy.type = facet_value %impl.elem1.3ad37d.2, (%Destroy.lookup_impl_witness.4ab) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.b61: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.553) [symbolic] -// CHECK:STDOUT: %.b17: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.b61, %Destroy.facet.553 [symbolic] -// CHECK:STDOUT: %impl.elem0.449: %.b17 = impl_witness_access %Destroy.lookup_impl_witness.4ab, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.03f: = specific_impl_function %impl.elem0.449, @Destroy.WithSelf.Op(%Destroy.facet.553) [symbolic] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.e97: = lookup_impl_witness %impl.elem0.b36147.2, @Destroy [symbolic] -// CHECK:STDOUT: %Destroy.facet.503: %Destroy.type = facet_value %impl.elem0.b36147.2, (%Destroy.lookup_impl_witness.e97) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.4c8: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.503) [symbolic] -// CHECK:STDOUT: %.d5a: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.4c8, %Destroy.facet.503 [symbolic] -// CHECK:STDOUT: %impl.elem0.d1d: %.d5a = impl_witness_access %Destroy.lookup_impl_witness.e97, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.a5c: = specific_impl_function %impl.elem0.d1d, @Destroy.WithSelf.Op(%Destroy.facet.503) [symbolic] +// CHECK:STDOUT: %assoc2: %CppRangeForIterate.assoc_type = assoc_entity element2, imports.%Core.import_ref.213 [concrete] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness.edd1fe.2: = lookup_impl_witness %R, @CppRangeForIterate [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.facet.0d2: %CppRangeForIterate.type = facet_value %R.as_type, (%CppRangeForIterate.lookup_impl_witness.edd1fe.2) [symbolic] +// CHECK:STDOUT: %impl.elem0.d5966e.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element0 [symbolic] +// CHECK:STDOUT: %impl.elem1.bdcd2d.2: type = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element1 [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.57e: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.04d: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %.b85: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.57e, %CppRangeForIterate.facet.0d2 [symbolic] +// CHECK:STDOUT: %impl.elem2: %.b85 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element2 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.c0f: = specific_impl_function %impl.elem2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %assoc3: %CppRangeForIterate.assoc_type = assoc_entity element3, imports.%Core.import_ref.730 [concrete] +// CHECK:STDOUT: %.b40: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.04d, %CppRangeForIterate.facet.0d2 [symbolic] +// CHECK:STDOUT: %impl.elem3: %.b40 = impl_witness_access %CppRangeForIterate.lookup_impl_witness.edd1fe.2, element3 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.d6a: = specific_impl_function %impl.elem3, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet.0d2) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.a8f: = lookup_impl_witness %impl.elem1.bdcd2d.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.543: %Destroy.type = facet_value %impl.elem1.bdcd2d.2, (%Destroy.lookup_impl_witness.a8f) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.366: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.543) [symbolic] +// CHECK:STDOUT: %.b83: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.366, %Destroy.facet.543 [symbolic] +// CHECK:STDOUT: %impl.elem0.acf: %.b83 = impl_witness_access %Destroy.lookup_impl_witness.a8f, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.add: = specific_impl_function %impl.elem0.acf, @Destroy.WithSelf.Op(%Destroy.facet.543) [symbolic] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.089: = lookup_impl_witness %impl.elem0.d5966e.2, @Destroy [symbolic] +// CHECK:STDOUT: %Destroy.facet.5e8: %Destroy.type = facet_value %impl.elem0.d5966e.2, (%Destroy.lookup_impl_witness.089) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.7cb: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.5e8) [symbolic] +// CHECK:STDOUT: %.a68: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.7cb, %Destroy.facet.5e8 [symbolic] +// CHECK:STDOUT: %impl.elem0.f59: %.a68 = impl_witness_access %Destroy.lookup_impl_witness.089, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.f06: = specific_impl_function %impl.elem0.f59, @Destroy.WithSelf.Op(%Destroy.facet.5e8) [symbolic] // CHECK:STDOUT: %MutableAndConstRange: type = class_type @MutableAndConstRange [concrete] // CHECK:STDOUT: %pattern_type.e6c: type = pattern_type %MutableAndConstRange [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] @@ -1493,26 +1493,26 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: %Begin: %Begin.type = struct_value () [concrete] // CHECK:STDOUT: %End.type: type = fn_type @End [concrete] // CHECK:STDOUT: %End: %End.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.0f5: = custom_witness (%Iterator, %Iterator, %Begin, %End), @CppRangeForIterate [concrete] -// CHECK:STDOUT: %CppRangeForIterate.facet.4ed: %CppRangeForIterate.type = facet_value %MutableAndConstRange, (%custom_witness.0f5) [concrete] +// CHECK:STDOUT: %custom_witness.af9: = custom_witness (%Iterator, %Iterator, %Begin, %End), @CppRangeForIterate [concrete] +// CHECK:STDOUT: %CppRangeForIterate.facet.18a: %CppRangeForIterate.type = facet_value %MutableAndConstRange, (%custom_witness.af9) [concrete] // CHECK:STDOUT: %Iterator.Op.type: type = fn_type @Iterator.Op [concrete] // CHECK:STDOUT: %Iterator.Op: %Iterator.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.b15: = custom_witness (%Iterator.Op), @Destroy [concrete] -// CHECK:STDOUT: %facet_value: %CppRangeForIterate_where.type = facet_value %MutableAndConstRange, (%custom_witness.0f5, %custom_witness.b15) [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.92e: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.4ed) [concrete] -// CHECK:STDOUT: %.da6: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.92e, %CppRangeForIterate.facet.4ed [concrete] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.576: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.4ed) [concrete] -// CHECK:STDOUT: %.685: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.576, %CppRangeForIterate.facet.4ed [concrete] -// CHECK:STDOUT: %Destroy.facet.f9a: %Destroy.type = facet_value %Iterator, (%custom_witness.b15) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.343: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.f9a) [concrete] -// CHECK:STDOUT: %.e83: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.343, %Destroy.facet.f9a [concrete] +// CHECK:STDOUT: %custom_witness.481: = custom_witness (%Iterator.Op), @Destroy [concrete] +// CHECK:STDOUT: %facet_value: %CppRangeForIterate_where.type = facet_value %MutableAndConstRange, (%custom_witness.af9, %custom_witness.481) [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type.3c7: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.18a) [concrete] +// CHECK:STDOUT: %.1b5: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type.3c7, %CppRangeForIterate.facet.18a [concrete] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type.011: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet.18a) [concrete] +// CHECK:STDOUT: %.fea: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type.011, %CppRangeForIterate.facet.18a [concrete] +// CHECK:STDOUT: %Destroy.facet.5e7: %Destroy.type = facet_value %Iterator, (%custom_witness.481) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.594: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.5e7) [concrete] +// CHECK:STDOUT: %.659: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.594, %Destroy.facet.5e7 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.4af: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc2] -// CHECK:STDOUT: %Core.import_ref.83c: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc3] -// CHECK:STDOUT: %Core.import_ref.dad: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin.type (%CppRangeForIterate.WithSelf.Begin.type.e09a97.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin (constants.%CppRangeForIterate.WithSelf.Begin.4c9a66.1)] -// CHECK:STDOUT: %Core.import_ref.f0a: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End.type (%CppRangeForIterate.WithSelf.End.type.45d9b7.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End (constants.%CppRangeForIterate.WithSelf.End.e1b918.1)] +// CHECK:STDOUT: %Core.import_ref.735: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc2] +// CHECK:STDOUT: %Core.import_ref.572: %CppRangeForIterate.assoc_type = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc3] +// CHECK:STDOUT: %Core.import_ref.213: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin.type (%CppRangeForIterate.WithSelf.Begin.type.753895.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.Begin (constants.%CppRangeForIterate.WithSelf.Begin.2b31f7.1)] +// CHECK:STDOUT: %Core.import_ref.730: @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End.type (%CppRangeForIterate.WithSelf.End.type.056be7.1) = import_ref Core//prelude/iterate, loc{{\d+_\d+}}, loaded [symbolic = @CppRangeForIterate.WithSelf.%CppRangeForIterate.WithSelf.End (constants.%CppRangeForIterate.WithSelf.End.a331a3.1)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Test(%R.loc32_10.2: %CppRangeForIterate_where.type) { @@ -1520,59 +1520,59 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness: = lookup_impl_witness %R.loc32_10.1, @CppRangeForIterate [symbolic = %CppRangeForIterate.lookup_impl_witness (constants.%CppRangeForIterate.lookup_impl_witness.366fea.2)] -// CHECK:STDOUT: %CppRangeForIterate.facet: %CppRangeForIterate.type = facet_value %R.as_type.loc32_113.1, (%CppRangeForIterate.lookup_impl_witness) [symbolic = %CppRangeForIterate.facet (constants.%CppRangeForIterate.facet.527)] -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.Begin.type (constants.%CppRangeForIterate.WithSelf.Begin.type.aa6)] -// CHECK:STDOUT: %.loc34_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type, %CppRangeForIterate.facet [symbolic = %.loc34_4 (constants.%.227)] -// CHECK:STDOUT: %impl.elem2.loc34_4.2: @Test.%.loc34_4 (%.227) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc34_4.2 (constants.%impl.elem2)] -// CHECK:STDOUT: %specific_impl_fn.loc34_4.2: = specific_impl_function %impl.elem2.loc34_4.2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.4a0)] +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness: = lookup_impl_witness %R.loc32_10.1, @CppRangeForIterate [symbolic = %CppRangeForIterate.lookup_impl_witness (constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2)] +// CHECK:STDOUT: %CppRangeForIterate.facet: %CppRangeForIterate.type = facet_value %R.as_type.loc32_113.1, (%CppRangeForIterate.lookup_impl_witness) [symbolic = %CppRangeForIterate.facet (constants.%CppRangeForIterate.facet.0d2)] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type: type = fn_type @CppRangeForIterate.WithSelf.Begin, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.Begin.type (constants.%CppRangeForIterate.WithSelf.Begin.type.57e)] +// CHECK:STDOUT: %.loc34_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.Begin.type, %CppRangeForIterate.facet [symbolic = %.loc34_4 (constants.%.b85)] +// CHECK:STDOUT: %impl.elem2.loc34_4.2: @Test.%.loc34_4 (%.b85) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element2 [symbolic = %impl.elem2.loc34_4.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %specific_impl_fn.loc34_4.2: = specific_impl_function %impl.elem2.loc34_4.2, @CppRangeForIterate.WithSelf.Begin(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.c0f)] // CHECK:STDOUT: -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.End.type (constants.%CppRangeForIterate.WithSelf.End.type.ebe)] -// CHECK:STDOUT: %.loc35_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type, %CppRangeForIterate.facet [symbolic = %.loc35_4 (constants.%.cab)] -// CHECK:STDOUT: %impl.elem3.loc35_4.2: @Test.%.loc35_4 (%.cab) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc35_4.2 (constants.%impl.elem3)] -// CHECK:STDOUT: %specific_impl_fn.loc35_4.2: = specific_impl_function %impl.elem3.loc35_4.2, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.cc4)] +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type: type = fn_type @CppRangeForIterate.WithSelf.End, @CppRangeForIterate.WithSelf(%CppRangeForIterate.facet) [symbolic = %CppRangeForIterate.WithSelf.End.type (constants.%CppRangeForIterate.WithSelf.End.type.04d)] +// CHECK:STDOUT: %.loc35_4: type = fn_type_with_self_type %CppRangeForIterate.WithSelf.End.type, %CppRangeForIterate.facet [symbolic = %.loc35_4 (constants.%.b40)] +// CHECK:STDOUT: %impl.elem3.loc35_4.2: @Test.%.loc35_4 (%.b40) = impl_witness_access %CppRangeForIterate.lookup_impl_witness, element3 [symbolic = %impl.elem3.loc35_4.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %specific_impl_fn.loc35_4.2: = specific_impl_function %impl.elem3.loc35_4.2, @CppRangeForIterate.WithSelf.End(%CppRangeForIterate.facet) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.d6a)] // CHECK:STDOUT: -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc35: = lookup_impl_witness %impl.elem1.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc35 (constants.%Destroy.lookup_impl_witness.4ab)] -// CHECK:STDOUT: %Destroy.facet.loc35: %Destroy.type = facet_value %impl.elem1.1, (%Destroy.lookup_impl_witness.loc35) [symbolic = %Destroy.facet.loc35 (constants.%Destroy.facet.553)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc35: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc35) [symbolic = %Destroy.WithSelf.Op.type.loc35 (constants.%Destroy.WithSelf.Op.type.b61)] -// CHECK:STDOUT: %.loc35_9.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc35, %Destroy.facet.loc35 [symbolic = %.loc35_9.3 (constants.%.b17)] -// CHECK:STDOUT: %impl.elem0.loc35_9.2: @Test.%.loc35_9.3 (%.b17) = impl_witness_access %Destroy.lookup_impl_witness.loc35, element0 [symbolic = %impl.elem0.loc35_9.2 (constants.%impl.elem0.449)] -// CHECK:STDOUT: %specific_impl_fn.loc35_9.2: = specific_impl_function %impl.elem0.loc35_9.2, @Destroy.WithSelf.Op(%Destroy.facet.loc35) [symbolic = %specific_impl_fn.loc35_9.2 (constants.%specific_impl_fn.03f)] -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc34: = lookup_impl_witness %impl.elem0.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc34 (constants.%Destroy.lookup_impl_witness.e97)] -// CHECK:STDOUT: %Destroy.facet.loc34: %Destroy.type = facet_value %impl.elem0.1, (%Destroy.lookup_impl_witness.loc34) [symbolic = %Destroy.facet.loc34 (constants.%Destroy.facet.503)] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc34: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc34) [symbolic = %Destroy.WithSelf.Op.type.loc34 (constants.%Destroy.WithSelf.Op.type.4c8)] -// CHECK:STDOUT: %.loc34_11.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc34, %Destroy.facet.loc34 [symbolic = %.loc34_11.3 (constants.%.d5a)] -// CHECK:STDOUT: %impl.elem0.loc34_11.2: @Test.%.loc34_11.3 (%.d5a) = impl_witness_access %Destroy.lookup_impl_witness.loc34, element0 [symbolic = %impl.elem0.loc34_11.2 (constants.%impl.elem0.d1d)] -// CHECK:STDOUT: %specific_impl_fn.loc34_11.2: = specific_impl_function %impl.elem0.loc34_11.2, @Destroy.WithSelf.Op(%Destroy.facet.loc34) [symbolic = %specific_impl_fn.loc34_11.2 (constants.%specific_impl_fn.a5c)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc35: = lookup_impl_witness %impl.elem1.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc35 (constants.%Destroy.lookup_impl_witness.a8f)] +// CHECK:STDOUT: %Destroy.facet.loc35: %Destroy.type = facet_value %impl.elem1.1, (%Destroy.lookup_impl_witness.loc35) [symbolic = %Destroy.facet.loc35 (constants.%Destroy.facet.543)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc35: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc35) [symbolic = %Destroy.WithSelf.Op.type.loc35 (constants.%Destroy.WithSelf.Op.type.366)] +// CHECK:STDOUT: %.loc35_9.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc35, %Destroy.facet.loc35 [symbolic = %.loc35_9.3 (constants.%.b83)] +// CHECK:STDOUT: %impl.elem0.loc35_9.2: @Test.%.loc35_9.3 (%.b83) = impl_witness_access %Destroy.lookup_impl_witness.loc35, element0 [symbolic = %impl.elem0.loc35_9.2 (constants.%impl.elem0.acf)] +// CHECK:STDOUT: %specific_impl_fn.loc35_9.2: = specific_impl_function %impl.elem0.loc35_9.2, @Destroy.WithSelf.Op(%Destroy.facet.loc35) [symbolic = %specific_impl_fn.loc35_9.2 (constants.%specific_impl_fn.add)] +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc34: = lookup_impl_witness %impl.elem0.1, @Destroy [symbolic = %Destroy.lookup_impl_witness.loc34 (constants.%Destroy.lookup_impl_witness.089)] +// CHECK:STDOUT: %Destroy.facet.loc34: %Destroy.type = facet_value %impl.elem0.1, (%Destroy.lookup_impl_witness.loc34) [symbolic = %Destroy.facet.loc34 (constants.%Destroy.facet.5e8)] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc34: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.loc34) [symbolic = %Destroy.WithSelf.Op.type.loc34 (constants.%Destroy.WithSelf.Op.type.7cb)] +// CHECK:STDOUT: %.loc34_11.3: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.loc34, %Destroy.facet.loc34 [symbolic = %.loc34_11.3 (constants.%.a68)] +// CHECK:STDOUT: %impl.elem0.loc34_11.2: @Test.%.loc34_11.3 (%.a68) = impl_witness_access %Destroy.lookup_impl_witness.loc34, element0 [symbolic = %impl.elem0.loc34_11.2 (constants.%impl.elem0.f59)] +// CHECK:STDOUT: %specific_impl_fn.loc34_11.2: = specific_impl_function %impl.elem0.loc34_11.2, @Destroy.WithSelf.Op(%Destroy.facet.loc34) [symbolic = %specific_impl_fn.loc34_11.2 (constants.%specific_impl_fn.f06)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%r.param: ref @Test.%R.as_type.loc32_113.1 (%R.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %r.ref.loc34: ref @Test.%R.as_type.loc32_113.1 (%R.as_type) = name_ref r, %r -// CHECK:STDOUT: %Begin.ref: %CppRangeForIterate.assoc_type = name_ref Begin, imports.%Core.import_ref.4af [concrete = constants.%assoc2] -// CHECK:STDOUT: %impl.elem2.loc34_4.1: @Test.%.loc34_4 (%.227) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.366fea.2, element2 [symbolic = %impl.elem2.loc34_4.2 (constants.%impl.elem2)] +// CHECK:STDOUT: %Begin.ref: %CppRangeForIterate.assoc_type = name_ref Begin, imports.%Core.import_ref.735 [concrete = constants.%assoc2] +// CHECK:STDOUT: %impl.elem2.loc34_4.1: @Test.%.loc34_4 (%.b85) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2, element2 [symbolic = %impl.elem2.loc34_4.2 (constants.%impl.elem2)] // CHECK:STDOUT: %bound_method.loc34_4: = bound_method %r.ref.loc34, %impl.elem2.loc34_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc34_4.1: = specific_impl_function %impl.elem2.loc34_4.1, @CppRangeForIterate.WithSelf.Begin(constants.%CppRangeForIterate.facet.527) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.4a0)] +// CHECK:STDOUT: %specific_impl_fn.loc34_4.1: = specific_impl_function %impl.elem2.loc34_4.1, @CppRangeForIterate.WithSelf.Begin(constants.%CppRangeForIterate.facet.0d2) [symbolic = %specific_impl_fn.loc34_4.2 (constants.%specific_impl_fn.c0f)] // CHECK:STDOUT: %bound_method.loc34_11.1: = bound_method %r.ref.loc34, %specific_impl_fn.loc34_4.1 -// CHECK:STDOUT: %.loc34_11.1: ref @Test.%impl.elem0.1 (%impl.elem0.b36147.2) = temporary_storage -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.call: init @Test.%impl.elem0.1 (%impl.elem0.b36147.2) to %.loc34_11.1 = call %bound_method.loc34_11.1(%r.ref.loc34) -// CHECK:STDOUT: %.loc34_11.2: ref @Test.%impl.elem0.1 (%impl.elem0.b36147.2) = temporary %.loc34_11.1, %CppRangeForIterate.WithSelf.Begin.call +// CHECK:STDOUT: %.loc34_11.1: ref @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) = temporary_storage +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.call: init @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) to %.loc34_11.1 = call %bound_method.loc34_11.1(%r.ref.loc34) +// CHECK:STDOUT: %.loc34_11.2: ref @Test.%impl.elem0.1 (%impl.elem0.d5966e.2) = temporary %.loc34_11.1, %CppRangeForIterate.WithSelf.Begin.call // CHECK:STDOUT: %r.ref.loc35: ref @Test.%R.as_type.loc32_113.1 (%R.as_type) = name_ref r, %r -// CHECK:STDOUT: %End.ref: %CppRangeForIterate.assoc_type = name_ref End, imports.%Core.import_ref.83c [concrete = constants.%assoc3] -// CHECK:STDOUT: %impl.elem3.loc35_4.1: @Test.%.loc35_4 (%.cab) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.366fea.2, element3 [symbolic = %impl.elem3.loc35_4.2 (constants.%impl.elem3)] +// CHECK:STDOUT: %End.ref: %CppRangeForIterate.assoc_type = name_ref End, imports.%Core.import_ref.572 [concrete = constants.%assoc3] +// CHECK:STDOUT: %impl.elem3.loc35_4.1: @Test.%.loc35_4 (%.b40) = impl_witness_access constants.%CppRangeForIterate.lookup_impl_witness.edd1fe.2, element3 [symbolic = %impl.elem3.loc35_4.2 (constants.%impl.elem3)] // CHECK:STDOUT: %bound_method.loc35_4: = bound_method %r.ref.loc35, %impl.elem3.loc35_4.1 -// CHECK:STDOUT: %specific_impl_fn.loc35_4.1: = specific_impl_function %impl.elem3.loc35_4.1, @CppRangeForIterate.WithSelf.End(constants.%CppRangeForIterate.facet.527) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.cc4)] +// CHECK:STDOUT: %specific_impl_fn.loc35_4.1: = specific_impl_function %impl.elem3.loc35_4.1, @CppRangeForIterate.WithSelf.End(constants.%CppRangeForIterate.facet.0d2) [symbolic = %specific_impl_fn.loc35_4.2 (constants.%specific_impl_fn.d6a)] // CHECK:STDOUT: %bound_method.loc35_9.1: = bound_method %r.ref.loc35, %specific_impl_fn.loc35_4.1 -// CHECK:STDOUT: %.loc35_9.1: ref @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) = temporary_storage -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.call: init @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) to %.loc35_9.1 = call %bound_method.loc35_9.1(%r.ref.loc35) -// CHECK:STDOUT: %.loc35_9.2: ref @Test.%impl.elem1.1 (%impl.elem1.3ad37d.2) = temporary %.loc35_9.1, %CppRangeForIterate.WithSelf.End.call -// CHECK:STDOUT: %impl.elem0.loc35_9.1: @Test.%.loc35_9.3 (%.b17) = impl_witness_access constants.%Destroy.lookup_impl_witness.4ab, element0 [symbolic = %impl.elem0.loc35_9.2 (constants.%impl.elem0.449)] +// CHECK:STDOUT: %.loc35_9.1: ref @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) = temporary_storage +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.call: init @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) to %.loc35_9.1 = call %bound_method.loc35_9.1(%r.ref.loc35) +// CHECK:STDOUT: %.loc35_9.2: ref @Test.%impl.elem1.1 (%impl.elem1.bdcd2d.2) = temporary %.loc35_9.1, %CppRangeForIterate.WithSelf.End.call +// CHECK:STDOUT: %impl.elem0.loc35_9.1: @Test.%.loc35_9.3 (%.b83) = impl_witness_access constants.%Destroy.lookup_impl_witness.a8f, element0 [symbolic = %impl.elem0.loc35_9.2 (constants.%impl.elem0.acf)] // CHECK:STDOUT: %bound_method.loc35_9.2: = bound_method %.loc35_9.2, %impl.elem0.loc35_9.1 -// CHECK:STDOUT: %specific_impl_fn.loc35_9.1: = specific_impl_function %impl.elem0.loc35_9.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.553) [symbolic = %specific_impl_fn.loc35_9.2 (constants.%specific_impl_fn.03f)] +// CHECK:STDOUT: %specific_impl_fn.loc35_9.1: = specific_impl_function %impl.elem0.loc35_9.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.543) [symbolic = %specific_impl_fn.loc35_9.2 (constants.%specific_impl_fn.add)] // CHECK:STDOUT: %bound_method.loc35_9.3: = bound_method %.loc35_9.2, %specific_impl_fn.loc35_9.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc35: init %empty_tuple.type = call %bound_method.loc35_9.3(%.loc35_9.2) -// CHECK:STDOUT: %impl.elem0.loc34_11.1: @Test.%.loc34_11.3 (%.d5a) = impl_witness_access constants.%Destroy.lookup_impl_witness.e97, element0 [symbolic = %impl.elem0.loc34_11.2 (constants.%impl.elem0.d1d)] +// CHECK:STDOUT: %impl.elem0.loc34_11.1: @Test.%.loc34_11.3 (%.a68) = impl_witness_access constants.%Destroy.lookup_impl_witness.089, element0 [symbolic = %impl.elem0.loc34_11.2 (constants.%impl.elem0.f59)] // CHECK:STDOUT: %bound_method.loc34_11.2: = bound_method %.loc34_11.2, %impl.elem0.loc34_11.1 -// CHECK:STDOUT: %specific_impl_fn.loc34_11.1: = specific_impl_function %impl.elem0.loc34_11.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.503) [symbolic = %specific_impl_fn.loc34_11.2 (constants.%specific_impl_fn.a5c)] +// CHECK:STDOUT: %specific_impl_fn.loc34_11.1: = specific_impl_function %impl.elem0.loc34_11.1, @Destroy.WithSelf.Op(constants.%Destroy.facet.5e8) [symbolic = %specific_impl_fn.loc34_11.2 (constants.%specific_impl_fn.f06)] // CHECK:STDOUT: %bound_method.loc34_11.3: = bound_method %.loc34_11.2, %specific_impl_fn.loc34_11.1 // CHECK:STDOUT: %Destroy.WithSelf.Op.call.loc34: init %empty_tuple.type = call %bound_method.loc34_11.3(%.loc34_11.2) // CHECK:STDOUT: @@ -1582,7 +1582,7 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: specific @Test(constants.%R) { // CHECK:STDOUT: %R.loc32_10.1 => constants.%R // CHECK:STDOUT: %R.as_type.loc32_113.1 => constants.%R.as_type -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ff859f.2 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.26c6ea.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Test(constants.%facet_value) { @@ -1592,30 +1592,30 @@ fn TestDriver(var no_begin_end: Cpp.NoBeginEnd, // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete.loc32 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.0f5 -// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.4ed -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.92e -// CHECK:STDOUT: %.loc34_4 => constants.%.da6 +// CHECK:STDOUT: %CppRangeForIterate.lookup_impl_witness => constants.%custom_witness.af9 +// CHECK:STDOUT: %CppRangeForIterate.facet => constants.%CppRangeForIterate.facet.18a +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.Begin.type => constants.%CppRangeForIterate.WithSelf.Begin.type.3c7 +// CHECK:STDOUT: %.loc34_4 => constants.%.1b5 // CHECK:STDOUT: %impl.elem2.loc34_4.2 => constants.%Begin // CHECK:STDOUT: %specific_impl_fn.loc34_4.2 => constants.%Begin // CHECK:STDOUT: %impl.elem0.1 => constants.%Iterator // CHECK:STDOUT: %require_complete.1 => constants.%complete_type -// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.576 -// CHECK:STDOUT: %.loc35_4 => constants.%.685 +// CHECK:STDOUT: %CppRangeForIterate.WithSelf.End.type => constants.%CppRangeForIterate.WithSelf.End.type.011 +// CHECK:STDOUT: %.loc35_4 => constants.%.fea // CHECK:STDOUT: %impl.elem3.loc35_4.2 => constants.%End // CHECK:STDOUT: %specific_impl_fn.loc35_4.2 => constants.%End // CHECK:STDOUT: %impl.elem1.1 => constants.%Iterator // CHECK:STDOUT: %require_complete.2 => constants.%complete_type -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc35 => constants.%custom_witness.b15 -// CHECK:STDOUT: %Destroy.facet.loc35 => constants.%Destroy.facet.f9a -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc35 => constants.%Destroy.WithSelf.Op.type.343 -// CHECK:STDOUT: %.loc35_9.3 => constants.%.e83 +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc35 => constants.%custom_witness.481 +// CHECK:STDOUT: %Destroy.facet.loc35 => constants.%Destroy.facet.5e7 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc35 => constants.%Destroy.WithSelf.Op.type.594 +// CHECK:STDOUT: %.loc35_9.3 => constants.%.659 // CHECK:STDOUT: %impl.elem0.loc35_9.2 => constants.%Iterator.Op // CHECK:STDOUT: %specific_impl_fn.loc35_9.2 => constants.%Iterator.Op -// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc34 => constants.%custom_witness.b15 -// CHECK:STDOUT: %Destroy.facet.loc34 => constants.%Destroy.facet.f9a -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc34 => constants.%Destroy.WithSelf.Op.type.343 -// CHECK:STDOUT: %.loc34_11.3 => constants.%.e83 +// CHECK:STDOUT: %Destroy.lookup_impl_witness.loc34 => constants.%custom_witness.481 +// CHECK:STDOUT: %Destroy.facet.loc34 => constants.%Destroy.facet.5e7 +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.loc34 => constants.%Destroy.WithSelf.Op.type.594 +// CHECK:STDOUT: %.loc34_11.3 => constants.%.659 // CHECK:STDOUT: %impl.elem0.loc34_11.2 => constants.%Iterator.Op // CHECK:STDOUT: %specific_impl_fn.loc34_11.2 => constants.%Iterator.Op // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/stdlib/initializer_list.carbon b/toolchain/check/testdata/interop/cpp/stdlib/initializer_list.carbon index f5a0a5b34808..cfb5d178808a 100644 --- a/toolchain/check/testdata/interop/cpp/stdlib/initializer_list.carbon +++ b/toolchain/check/testdata/interop/cpp/stdlib/initializer_list.carbon @@ -69,33 +69,33 @@ fn F() { // CHECK:STDOUT: %tuple.type: type = tuple_type (Core.IntLiteral, Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%int_1.5b8, %int_2.ecc, %int_3.1ba) [concrete] // CHECK:STDOUT: %array_type: type = array_type %int_3.1ba, %i32 [concrete] -// CHECK:STDOUT: %pattern_type.215: type = pattern_type %array_type [concrete] +// CHECK:STDOUT: %pattern_type.bec: type = pattern_type %array_type [concrete] // CHECK:STDOUT: %.689: Core.Form = init_form %initializer_list [concrete] // CHECK:STDOUT: %initializer_list.initializer_list.type.b3aef3.1: type = fn_type @initializer_list.initializer_list.loc8 [concrete] // CHECK:STDOUT: %initializer_list.initializer_list.ba6adf.1: %initializer_list.initializer_list.type.b3aef3.1 = struct_value () [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.ddb: = impl_witness imports.%ImplicitAs.impl_witness_table.1be, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.ddb) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.724: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.fa3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.724, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %array: %array_type = tuple_value (%int_1.d5e, %int_2.4ff, %int_3.49a) [concrete] -// CHECK:STDOUT: %.753: ref %array_type = temporary invalid, %array [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %array: %array_type = tuple_value (%int_1.d9c, %int_2.228, %int_3.6cc) [concrete] +// CHECK:STDOUT: %.2d4: ref %array_type = temporary invalid, %array [concrete] // CHECK:STDOUT: %Consume.cpp_overload_set.type: type = cpp_overload_set_type @Consume.cpp_overload_set [concrete] // CHECK:STDOUT: %Consume.cpp_overload_set.value: %Consume.cpp_overload_set.type = cpp_overload_set_value @Consume.cpp_overload_set [concrete] // CHECK:STDOUT: %ptr.b24: type = ptr_type %initializer_list [concrete] @@ -114,9 +114,9 @@ fn F() { // CHECK:STDOUT: %InitListConstructor.cpp_destructor: %InitListConstructor.cpp_destructor.type = struct_value () [concrete] // CHECK:STDOUT: %initializer_list.cpp_destructor.type: type = fn_type @initializer_list.cpp_destructor [concrete] // CHECK:STDOUT: %initializer_list.cpp_destructor: %initializer_list.cpp_destructor.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc12_44.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.753, %Destroy.Op.1dc86d.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc12_44.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.2d4, %Destroy.Op.2dd605.4 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -131,8 +131,8 @@ fn F() { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %initializer_list.template: %initializer_list.type = struct_value () [concrete = constants.%initializer_list.template] -// CHECK:STDOUT: %Core.import_ref.7f3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1be = impl_witness_table (%Core.import_ref.7f3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Consume.cpp_overload_set.value: %Consume.cpp_overload_set.type = cpp_overload_set_value @Consume.cpp_overload_set [concrete = constants.%Consume.cpp_overload_set.value] // CHECK:STDOUT: %Consume__carbon_thunk.decl: %Consume__carbon_thunk.type = fn_decl @Consume__carbon_thunk [concrete = constants.%Consume__carbon_thunk] { // CHECK:STDOUT: @@ -149,8 +149,8 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: generated { // CHECK:STDOUT: %initializer_list.initializer_list.decl.8e656c.1: %initializer_list.initializer_list.type.b3aef3.1 = fn_decl @initializer_list.initializer_list.loc8 [concrete = constants.%initializer_list.initializer_list.ba6adf.1] { -// CHECK:STDOUT: %_.param_patt: %pattern_type.215 = value_param_pattern [concrete] -// CHECK:STDOUT: %_.patt: %pattern_type.215 = at_binding_pattern _, %_.param_patt [concrete] +// CHECK:STDOUT: %_.param_patt: %pattern_type.bec = value_param_pattern [concrete] +// CHECK:STDOUT: %_.patt: %pattern_type.bec = at_binding_pattern _, %_.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.ef1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.ef1 = return_slot_pattern %return.param_patt, constants.%initializer_list [concrete] // CHECK:STDOUT: } { @@ -161,8 +161,8 @@ fn F() { // CHECK:STDOUT: %return: ref %initializer_list = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %initializer_list.initializer_list.decl.8e656c.2: %initializer_list.initializer_list.type.b3aef3.2 = fn_decl @initializer_list.initializer_list.loc10 [concrete = constants.%initializer_list.initializer_list.ba6adf.2] { -// CHECK:STDOUT: %_.param_patt: %pattern_type.215 = value_param_pattern [concrete] -// CHECK:STDOUT: %_.patt: %pattern_type.215 = at_binding_pattern _, %_.param_patt [concrete] +// CHECK:STDOUT: %_.param_patt: %pattern_type.bec = value_param_pattern [concrete] +// CHECK:STDOUT: %_.patt: %pattern_type.bec = at_binding_pattern _, %_.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.ef1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.ef1 = return_slot_pattern %return.param_patt, constants.%initializer_list [concrete] // CHECK:STDOUT: } { @@ -173,8 +173,8 @@ fn F() { // CHECK:STDOUT: %return: ref %initializer_list = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %initializer_list.initializer_list.decl.8e656c.3: %initializer_list.initializer_list.type.b3aef3.3 = fn_decl @initializer_list.initializer_list.loc12 [concrete = constants.%initializer_list.initializer_list.ba6adf.3] { -// CHECK:STDOUT: %_.param_patt: %pattern_type.215 = value_param_pattern [concrete] -// CHECK:STDOUT: %_.patt: %pattern_type.215 = at_binding_pattern _, %_.param_patt [concrete] +// CHECK:STDOUT: %_.param_patt: %pattern_type.bec = value_param_pattern [concrete] +// CHECK:STDOUT: %_.patt: %pattern_type.bec = at_binding_pattern _, %_.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.ef1 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.ef1 = return_slot_pattern %return.param_patt, constants.%initializer_list [concrete] // CHECK:STDOUT: } { @@ -203,37 +203,37 @@ fn F() { // CHECK:STDOUT: %int_3.loc8_50: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %array_type.loc8: type = array_type %int_3.loc8_50, %i32.2 [concrete = constants.%array_type] // CHECK:STDOUT: %.loc8_50.2: ref %initializer_list = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc8_50.1: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_50.1: = bound_method %int_1.loc8_43, %impl.elem0.loc8_50.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc8_50.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_50.1: = bound_method %int_1.loc8_43, %impl.elem0.loc8_50.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc8_50.1: = specific_function %impl.elem0.loc8_50.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_50.2: = bound_method %int_1.loc8_43, %specific_fn.loc8_50.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_50.1: init %i32 = call %bound_method.loc8_50.2(%int_1.loc8_43) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_50.3: init %i32 = converted %int_1.loc8_43, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_50.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc8_50.2: = bound_method %int_1.loc8_43, %specific_fn.loc8_50.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_50.1: init %i32 = call %bound_method.loc8_50.2(%int_1.loc8_43) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_50.3: init %i32 = converted %int_1.loc8_43, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_50.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc8_50.4: ref %array_type = temporary_storage // CHECK:STDOUT: %int_0.loc8: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc8_50.5: ref %i32 = array_index %.loc8_50.4, %int_0.loc8 -// CHECK:STDOUT: %.loc8_50.6: init %i32 to %.loc8_50.5 = in_place_init %.loc8_50.3 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc8_50.2: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_50.3: = bound_method %int_2.loc8_46, %impl.elem0.loc8_50.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc8_50.6: init %i32 to %.loc8_50.5 = in_place_init %.loc8_50.3 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc8_50.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_50.3: = bound_method %int_2.loc8_46, %impl.elem0.loc8_50.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc8_50.2: = specific_function %impl.elem0.loc8_50.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_50.4: = bound_method %int_2.loc8_46, %specific_fn.loc8_50.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_50.2: init %i32 = call %bound_method.loc8_50.4(%int_2.loc8_46) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc8_50.7: init %i32 = converted %int_2.loc8_46, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_50.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc8_50.4: = bound_method %int_2.loc8_46, %specific_fn.loc8_50.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_50.2: init %i32 = call %bound_method.loc8_50.4(%int_2.loc8_46) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc8_50.7: init %i32 = converted %int_2.loc8_46, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_50.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %int_1.loc8_50: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc8_50.8: ref %i32 = array_index %.loc8_50.4, %int_1.loc8_50 -// CHECK:STDOUT: %.loc8_50.9: init %i32 to %.loc8_50.8 = in_place_init %.loc8_50.7 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc8_50.3: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_50.5: = bound_method %int_3.loc8_49, %impl.elem0.loc8_50.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %.loc8_50.9: init %i32 to %.loc8_50.8 = in_place_init %.loc8_50.7 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc8_50.3: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_50.5: = bound_method %int_3.loc8_49, %impl.elem0.loc8_50.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc8_50.3: = specific_function %impl.elem0.loc8_50.3, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_50.6: = bound_method %int_3.loc8_49, %specific_fn.loc8_50.3 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_50.3: init %i32 = call %bound_method.loc8_50.6(%int_3.loc8_49) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc8_50.10: init %i32 = converted %int_3.loc8_49, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_50.3 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc8_50.6: = bound_method %int_3.loc8_49, %specific_fn.loc8_50.3 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_50.3: init %i32 = call %bound_method.loc8_50.6(%int_3.loc8_49) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc8_50.10: init %i32 = converted %int_3.loc8_49, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8_50.3 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %int_2.loc8_50: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc8_50.11: ref %i32 = array_index %.loc8_50.4, %int_2.loc8_50 -// CHECK:STDOUT: %.loc8_50.12: init %i32 to %.loc8_50.11 = in_place_init %.loc8_50.10 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %.loc8_50.12: init %i32 to %.loc8_50.11 = in_place_init %.loc8_50.10 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc8_50.13: init %array_type to %.loc8_50.4 = array_init (%.loc8_50.6, %.loc8_50.9, %.loc8_50.12) [concrete = constants.%array] // CHECK:STDOUT: %.loc8_50.14: init %array_type = converted %.loc8_50.1, %.loc8_50.13 [concrete = constants.%array] -// CHECK:STDOUT: %.loc8_50.15: ref %array_type = temporary %.loc8_50.4, %.loc8_50.14 [concrete = constants.%.753] +// CHECK:STDOUT: %.loc8_50.15: ref %array_type = temporary %.loc8_50.4, %.loc8_50.14 [concrete = constants.%.2d4] // CHECK:STDOUT: %.loc8_50.16: %array_type = acquire_value %.loc8_50.15 [concrete = constants.%array] // CHECK:STDOUT: %initializer_list.initializer_list.call.loc8: init %initializer_list to %.loc8_50.2 = call generated.%initializer_list.initializer_list.decl.8e656c.1(%.loc8_50.16) // CHECK:STDOUT: %.loc8_50.17: init %initializer_list = converted %.loc8_50.1, %initializer_list.initializer_list.call.loc8 @@ -250,37 +250,37 @@ fn F() { // CHECK:STDOUT: %int_3.loc10_23: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %array_type.loc10: type = array_type %int_3.loc10_23, %i32.4 [concrete = constants.%array_type] // CHECK:STDOUT: %.loc10_23.2: ref %initializer_list = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc10_23.1: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_23.1: = bound_method %int_1.loc10_16, %impl.elem0.loc10_23.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc10_23.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_23.1: = bound_method %int_1.loc10_16, %impl.elem0.loc10_23.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc10_23.1: = specific_function %impl.elem0.loc10_23.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_23.2: = bound_method %int_1.loc10_16, %specific_fn.loc10_23.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23.1: init %i32 = call %bound_method.loc10_23.2(%int_1.loc10_16) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc10_23.3: init %i32 = converted %int_1.loc10_16, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc10_23.2: = bound_method %int_1.loc10_16, %specific_fn.loc10_23.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23.1: init %i32 = call %bound_method.loc10_23.2(%int_1.loc10_16) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc10_23.3: init %i32 = converted %int_1.loc10_16, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc10_23.4: ref %array_type = temporary_storage // CHECK:STDOUT: %int_0.loc10: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc10_23.5: ref %i32 = array_index %.loc10_23.4, %int_0.loc10 -// CHECK:STDOUT: %.loc10_23.6: init %i32 to %.loc10_23.5 = in_place_init %.loc10_23.3 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc10_23.2: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_23.3: = bound_method %int_2.loc10_19, %impl.elem0.loc10_23.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc10_23.6: init %i32 to %.loc10_23.5 = in_place_init %.loc10_23.3 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc10_23.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_23.3: = bound_method %int_2.loc10_19, %impl.elem0.loc10_23.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc10_23.2: = specific_function %impl.elem0.loc10_23.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_23.4: = bound_method %int_2.loc10_19, %specific_fn.loc10_23.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23.2: init %i32 = call %bound_method.loc10_23.4(%int_2.loc10_19) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_23.7: init %i32 = converted %int_2.loc10_19, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc10_23.4: = bound_method %int_2.loc10_19, %specific_fn.loc10_23.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23.2: init %i32 = call %bound_method.loc10_23.4(%int_2.loc10_19) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_23.7: init %i32 = converted %int_2.loc10_19, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %int_1.loc10_23: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc10_23.8: ref %i32 = array_index %.loc10_23.4, %int_1.loc10_23 -// CHECK:STDOUT: %.loc10_23.9: init %i32 to %.loc10_23.8 = in_place_init %.loc10_23.7 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc10_23.3: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_23.5: = bound_method %int_3.loc10_22, %impl.elem0.loc10_23.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %.loc10_23.9: init %i32 to %.loc10_23.8 = in_place_init %.loc10_23.7 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc10_23.3: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_23.5: = bound_method %int_3.loc10_22, %impl.elem0.loc10_23.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc10_23.3: = specific_function %impl.elem0.loc10_23.3, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_23.6: = bound_method %int_3.loc10_22, %specific_fn.loc10_23.3 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23.3: init %i32 = call %bound_method.loc10_23.6(%int_3.loc10_22) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc10_23.10: init %i32 = converted %int_3.loc10_22, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23.3 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc10_23.6: = bound_method %int_3.loc10_22, %specific_fn.loc10_23.3 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23.3: init %i32 = call %bound_method.loc10_23.6(%int_3.loc10_22) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc10_23.10: init %i32 = converted %int_3.loc10_22, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10_23.3 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %int_2.loc10_23: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc10_23.11: ref %i32 = array_index %.loc10_23.4, %int_2.loc10_23 -// CHECK:STDOUT: %.loc10_23.12: init %i32 to %.loc10_23.11 = in_place_init %.loc10_23.10 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %.loc10_23.12: init %i32 to %.loc10_23.11 = in_place_init %.loc10_23.10 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc10_23.13: init %array_type to %.loc10_23.4 = array_init (%.loc10_23.6, %.loc10_23.9, %.loc10_23.12) [concrete = constants.%array] // CHECK:STDOUT: %.loc10_23.14: init %array_type = converted %.loc10_23.1, %.loc10_23.13 [concrete = constants.%array] -// CHECK:STDOUT: %.loc10_23.15: ref %array_type = temporary %.loc10_23.4, %.loc10_23.14 [concrete = constants.%.753] +// CHECK:STDOUT: %.loc10_23.15: ref %array_type = temporary %.loc10_23.4, %.loc10_23.14 [concrete = constants.%.2d4] // CHECK:STDOUT: %.loc10_23.16: %array_type = acquire_value %.loc10_23.15 [concrete = constants.%array] // CHECK:STDOUT: %initializer_list.initializer_list.call.loc10: init %initializer_list to %.loc10_23.2 = call generated.%initializer_list.initializer_list.decl.8e656c.2(%.loc10_23.16) // CHECK:STDOUT: %.loc10_23.17: init %initializer_list = converted %.loc10_23.1, %initializer_list.initializer_list.call.loc10 @@ -305,37 +305,37 @@ fn F() { // CHECK:STDOUT: %int_3.loc12_44: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %array_type.loc12: type = array_type %int_3.loc12_44, %i32.6 [concrete = constants.%array_type] // CHECK:STDOUT: %.loc12_44.3: ref %initializer_list = temporary_storage -// CHECK:STDOUT: %impl.elem0.loc12_44.1: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc12_44.1: = bound_method %int_1.loc12_37, %impl.elem0.loc12_44.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc12_44.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc12_44.1: = bound_method %int_1.loc12_37, %impl.elem0.loc12_44.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc12_44.1: = specific_function %impl.elem0.loc12_44.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc12_44.2: = bound_method %int_1.loc12_37, %specific_fn.loc12_44.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_44.1: init %i32 = call %bound_method.loc12_44.2(%int_1.loc12_37) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc12_44.4: init %i32 = converted %int_1.loc12_37, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_44.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc12_44.2: = bound_method %int_1.loc12_37, %specific_fn.loc12_44.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_44.1: init %i32 = call %bound_method.loc12_44.2(%int_1.loc12_37) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc12_44.4: init %i32 = converted %int_1.loc12_37, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_44.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc12_44.5: ref %array_type = temporary_storage // CHECK:STDOUT: %int_0.loc12: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %.loc12_44.6: ref %i32 = array_index %.loc12_44.5, %int_0.loc12 -// CHECK:STDOUT: %.loc12_44.7: init %i32 to %.loc12_44.6 = in_place_init %.loc12_44.4 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc12_44.2: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc12_44.3: = bound_method %int_2.loc12_40, %impl.elem0.loc12_44.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc12_44.7: init %i32 to %.loc12_44.6 = in_place_init %.loc12_44.4 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc12_44.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc12_44.3: = bound_method %int_2.loc12_40, %impl.elem0.loc12_44.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc12_44.2: = specific_function %impl.elem0.loc12_44.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc12_44.4: = bound_method %int_2.loc12_40, %specific_fn.loc12_44.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_44.2: init %i32 = call %bound_method.loc12_44.4(%int_2.loc12_40) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc12_44.8: init %i32 = converted %int_2.loc12_40, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_44.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc12_44.4: = bound_method %int_2.loc12_40, %specific_fn.loc12_44.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_44.2: init %i32 = call %bound_method.loc12_44.4(%int_2.loc12_40) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc12_44.8: init %i32 = converted %int_2.loc12_40, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_44.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %int_1.loc12_44: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc12_44.9: ref %i32 = array_index %.loc12_44.5, %int_1.loc12_44 -// CHECK:STDOUT: %.loc12_44.10: init %i32 to %.loc12_44.9 = in_place_init %.loc12_44.8 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %impl.elem0.loc12_44.3: %.fa3 = impl_witness_access constants.%ImplicitAs.impl_witness.ddb, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc12_44.5: = bound_method %int_3.loc12_43, %impl.elem0.loc12_44.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %.loc12_44.10: init %i32 to %.loc12_44.9 = in_place_init %.loc12_44.8 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %impl.elem0.loc12_44.3: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc12_44.5: = bound_method %int_3.loc12_43, %impl.elem0.loc12_44.3 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc12_44.3: = specific_function %impl.elem0.loc12_44.3, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc12_44.6: = bound_method %int_3.loc12_43, %specific_fn.loc12_44.3 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_44.3: init %i32 = call %bound_method.loc12_44.6(%int_3.loc12_43) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc12_44.11: init %i32 = converted %int_3.loc12_43, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_44.3 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc12_44.6: = bound_method %int_3.loc12_43, %specific_fn.loc12_44.3 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_44.3: init %i32 = call %bound_method.loc12_44.6(%int_3.loc12_43) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc12_44.11: init %i32 = converted %int_3.loc12_43, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12_44.3 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %int_2.loc12_44: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc12_44.12: ref %i32 = array_index %.loc12_44.5, %int_2.loc12_44 -// CHECK:STDOUT: %.loc12_44.13: init %i32 to %.loc12_44.12 = in_place_init %.loc12_44.11 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %.loc12_44.13: init %i32 to %.loc12_44.12 = in_place_init %.loc12_44.11 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: %.loc12_44.14: init %array_type to %.loc12_44.5 = array_init (%.loc12_44.7, %.loc12_44.10, %.loc12_44.13) [concrete = constants.%array] // CHECK:STDOUT: %.loc12_44.15: init %array_type = converted %.loc12_44.1, %.loc12_44.14 [concrete = constants.%array] -// CHECK:STDOUT: %.loc12_44.16: ref %array_type = temporary %.loc12_44.5, %.loc12_44.15 [concrete = constants.%.753] +// CHECK:STDOUT: %.loc12_44.16: ref %array_type = temporary %.loc12_44.5, %.loc12_44.15 [concrete = constants.%.2d4] // CHECK:STDOUT: %.loc12_44.17: %array_type = acquire_value %.loc12_44.16 [concrete = constants.%array] // CHECK:STDOUT: %initializer_list.initializer_list.call.loc12: init %initializer_list to %.loc12_44.3 = call generated.%initializer_list.initializer_list.decl.8e656c.3(%.loc12_44.17) // CHECK:STDOUT: %.loc12_44.18: init %initializer_list = converted %.loc12_44.1, %initializer_list.initializer_list.call.loc12 @@ -354,13 +354,13 @@ fn F() { // CHECK:STDOUT: %InitListConstructor.cpp_destructor.call: init %empty_tuple.type = call %InitListConstructor.cpp_destructor.bound(%.loc12_44.24) // CHECK:STDOUT: %initializer_list.cpp_destructor.bound.loc12: = bound_method %.loc12_44.19, constants.%initializer_list.cpp_destructor // CHECK:STDOUT: %initializer_list.cpp_destructor.call.loc12: init %empty_tuple.type = call %initializer_list.cpp_destructor.bound.loc12(%.loc12_44.19) -// CHECK:STDOUT: %Destroy.Op.call.loc12: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.753) +// CHECK:STDOUT: %Destroy.Op.call.loc12: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.2d4) // CHECK:STDOUT: %initializer_list.cpp_destructor.bound.loc10: = bound_method %.loc10_23.18, constants.%initializer_list.cpp_destructor // CHECK:STDOUT: %initializer_list.cpp_destructor.call.loc10: init %empty_tuple.type = call %initializer_list.cpp_destructor.bound.loc10(%.loc10_23.18) -// CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.753) +// CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.2d4) // CHECK:STDOUT: %initializer_list.cpp_destructor.bound.loc8: = bound_method %.loc8_50.18, constants.%initializer_list.cpp_destructor // CHECK:STDOUT: %initializer_list.cpp_destructor.call.loc8: init %empty_tuple.type = call %initializer_list.cpp_destructor.bound.loc8(%.loc8_50.18) -// CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.753) +// CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.2d4) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/stdlib/string_view.carbon b/toolchain/check/testdata/interop/cpp/stdlib/string_view.carbon index 6f721f60fe60..c9e534bf41ec 100644 --- a/toolchain/check/testdata/interop/cpp/stdlib/string_view.carbon +++ b/toolchain/check/testdata/interop/cpp/stdlib/string_view.carbon @@ -80,20 +80,20 @@ fn StarstWith(a: str, b: str) -> bool { // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Consume.cpp_overload_set.type: type = cpp_overload_set_type @Consume.cpp_overload_set [concrete] // CHECK:STDOUT: %Consume.cpp_overload_set.value: %Consume.cpp_overload_set.type = cpp_overload_set_value @Consume.cpp_overload_set [concrete] -// CHECK:STDOUT: %str.91f: type = class_type @String [concrete] +// CHECK:STDOUT: %str.abf: type = class_type @String [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %u64: type = class_type @UInt, @UInt(%int_64) [concrete] // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete] // CHECK:STDOUT: %u8: type = class_type @UInt, @UInt(%int_8) [concrete] -// CHECK:STDOUT: %ptr.cb7: type = ptr_type %u8 [concrete] -// CHECK:STDOUT: %str.5de: %ptr.cb7 = string_literal "hello" [concrete] +// CHECK:STDOUT: %ptr.9b7: type = ptr_type %u8 [concrete] +// CHECK:STDOUT: %str.18a: %ptr.9b7 = string_literal "hello" [concrete] // CHECK:STDOUT: %int_5: %u64 = int_value 5 [concrete] -// CHECK:STDOUT: %String.val: %str.91f = struct_value (%str.5de, %int_5) [concrete] -// CHECK:STDOUT: %pattern_type.ff8: type = pattern_type %str.91f [concrete] -// CHECK:STDOUT: %ptr.169: type = ptr_type %str.91f [concrete] +// CHECK:STDOUT: %String.val: %str.abf = struct_value (%str.18a, %int_5) [concrete] +// CHECK:STDOUT: %pattern_type.3d7: type = pattern_type %str.abf [concrete] +// CHECK:STDOUT: %ptr.a98: type = ptr_type %str.abf [concrete] // CHECK:STDOUT: %Consume__carbon_thunk.type: type = fn_type @Consume__carbon_thunk [concrete] // CHECK:STDOUT: %Consume__carbon_thunk: %Consume__carbon_thunk.type = struct_value () [concrete] -// CHECK:STDOUT: %.6a4: Core.Form = init_form %str.91f [concrete] +// CHECK:STDOUT: %.1fd: Core.Form = init_form %str.abf [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %Produce.cpp_overload_set.type: type = cpp_overload_set_type @Produce.cpp_overload_set [concrete] @@ -125,13 +125,13 @@ fn StarstWith(a: str, b: str) -> bool { // CHECK:STDOUT: file { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {} {} // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.ff8 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.ff8 = return_slot_pattern %return.param_patt, %str [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.3d7 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.3d7 = return_slot_pattern %return.param_patt, %str [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %str: type = type_literal constants.%str.91f [concrete = constants.%str.91f] -// CHECK:STDOUT: %.loc13_11.2: Core.Form = init_form %str [concrete = constants.%.6a4] -// CHECK:STDOUT: %return.param: ref %str.91f = out_param call_param0 -// CHECK:STDOUT: %return: ref %str.91f = return_slot %return.param +// CHECK:STDOUT: %str: type = type_literal constants.%str.abf [concrete = constants.%str.abf] +// CHECK:STDOUT: %.loc13_11.2: Core.Form = init_form %str [concrete = constants.%.1fd] +// CHECK:STDOUT: %return.param: ref %str.abf = out_param call_param0 +// CHECK:STDOUT: %return: ref %str.abf = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -139,23 +139,23 @@ fn StarstWith(a: str, b: str) -> bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %Consume.ref: %Consume.cpp_overload_set.type = name_ref Consume, imports.%Consume.cpp_overload_set.value [concrete = constants.%Consume.cpp_overload_set.value] -// CHECK:STDOUT: %str: %ptr.cb7 = string_literal "hello" [concrete = constants.%str.5de] +// CHECK:STDOUT: %str: %ptr.9b7 = string_literal "hello" [concrete = constants.%str.18a] // CHECK:STDOUT: %int_5: %u64 = int_value 5 [concrete = constants.%int_5] -// CHECK:STDOUT: %String.val: %str.91f = struct_value (%str, %int_5) [concrete = constants.%String.val] -// CHECK:STDOUT: %.loc8: ref %str.91f = value_as_ref %String.val -// CHECK:STDOUT: %addr: %ptr.169 = addr_of %.loc8 +// CHECK:STDOUT: %String.val: %str.abf = struct_value (%str, %int_5) [concrete = constants.%String.val] +// CHECK:STDOUT: %.loc8: ref %str.abf = value_as_ref %String.val +// CHECK:STDOUT: %addr: %ptr.a98 = addr_of %.loc8 // CHECK:STDOUT: %Consume__carbon_thunk.call: init %empty_tuple.type = call imports.%Consume__carbon_thunk.decl(%addr) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G() -> out %return.param: %str.91f { +// CHECK:STDOUT: fn @G() -> out %return.param: %str.abf { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Cpp.ref: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %Produce.ref: %Produce.cpp_overload_set.type = name_ref Produce, imports.%Produce.cpp_overload_set.value [concrete = constants.%Produce.cpp_overload_set.value] -// CHECK:STDOUT: %.loc13_11.1: ref %str.91f = splice_block %return.param {} -// CHECK:STDOUT: %addr: %ptr.169 = addr_of %.loc13_11.1 +// CHECK:STDOUT: %.loc13_11.1: ref %str.abf = splice_block %return.param {} +// CHECK:STDOUT: %addr: %ptr.a98 = addr_of %.loc13_11.1 // CHECK:STDOUT: %Produce__carbon_thunk.call: init %empty_tuple.type = call imports.%Produce__carbon_thunk.decl(%addr) -// CHECK:STDOUT: %.loc14: init %str.91f to %.loc13_11.1 = mark_in_place_init %Produce__carbon_thunk.call +// CHECK:STDOUT: %.loc14: init %str.abf to %.loc13_11.1 = mark_in_place_init %Produce__carbon_thunk.call // CHECK:STDOUT: return %.loc14 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: @@ -164,7 +164,7 @@ fn StarstWith(a: str, b: str) -> bool { // CHECK:STDOUT: constants { // CHECK:STDOUT: %str: type = class_type @String [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %pattern_type.ff8: type = pattern_type %str [concrete] +// CHECK:STDOUT: %pattern_type.3d7: type = pattern_type %str [concrete] // CHECK:STDOUT: %.f34: Core.Form = init_form bool [concrete] // CHECK:STDOUT: %pattern_type.831: type = pattern_type bool [concrete] // CHECK:STDOUT: %StarstWith.type: type = fn_type @StarstWith [concrete] @@ -172,7 +172,7 @@ fn StarstWith(a: str, b: str) -> bool { // CHECK:STDOUT: %DerivedFromStringView: type = class_type @DerivedFromStringView [concrete] // CHECK:STDOUT: %DerivedFromStringView.starts_with.cpp_overload_set.type: type = cpp_overload_set_type @DerivedFromStringView.starts_with.cpp_overload_set [concrete] // CHECK:STDOUT: %DerivedFromStringView.starts_with.cpp_overload_set.value: %DerivedFromStringView.starts_with.cpp_overload_set.type = cpp_overload_set_value @DerivedFromStringView.starts_with.cpp_overload_set [concrete] -// CHECK:STDOUT: %ptr.169: type = ptr_type %str [concrete] +// CHECK:STDOUT: %ptr.a98: type = ptr_type %str [concrete] // CHECK:STDOUT: %ptr.bb2: type = ptr_type bool [concrete] // CHECK:STDOUT: %starts_with__carbon_thunk.type: type = fn_type @starts_with__carbon_thunk [concrete] // CHECK:STDOUT: %starts_with__carbon_thunk: %starts_with__carbon_thunk.type = struct_value () [concrete] @@ -194,10 +194,10 @@ fn StarstWith(a: str, b: str) -> bool { // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %StarstWith.decl: %StarstWith.type = fn_decl @StarstWith [concrete = constants.%StarstWith] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.ff8 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.ff8 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.ff8 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.ff8 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.3d7 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.3d7 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.3d7 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.3d7 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc7_34.1 [concrete] // CHECK:STDOUT: } { @@ -223,7 +223,7 @@ fn StarstWith(a: str, b: str) -> bool { // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %starts_with.ref // CHECK:STDOUT: %b.ref: %str = name_ref b, %b // CHECK:STDOUT: %.loc8_52: ref %str = value_as_ref %b.ref -// CHECK:STDOUT: %addr.loc8_53.1: %ptr.169 = addr_of %.loc8_52 +// CHECK:STDOUT: %addr.loc8_53.1: %ptr.a98 = addr_of %.loc8_52 // CHECK:STDOUT: %.loc8_53.1: ref bool = temporary_storage // CHECK:STDOUT: %addr.loc8_53.2: %ptr.bb2 = addr_of %.loc8_53.1 // CHECK:STDOUT: %starts_with__carbon_thunk.call: init %empty_tuple.type = call imports.%starts_with__carbon_thunk.decl(%a.ref, %addr.loc8_53.1, %addr.loc8_53.2) diff --git a/toolchain/check/testdata/interop/cpp/template/argument_count.carbon b/toolchain/check/testdata/interop/cpp/template/argument_count.carbon index f9805b9501bb..b2326a485711 100644 --- a/toolchain/check/testdata/interop/cpp/template/argument_count.carbon +++ b/toolchain/check/testdata/interop/cpp/template/argument_count.carbon @@ -125,20 +125,20 @@ var too_many: Cpp.FixedSizePack(Cpp.A, Cpp.A).Inner(Cpp.B, Cpp.B, Cpp.B); // CHECK:STDOUT: %pattern_type.bc0: type = pattern_type %TwoTypes [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %TwoTypes.Op.type: type = fn_type @TwoTypes.Op [concrete] // CHECK:STDOUT: %TwoTypes.Op: %TwoTypes.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.213: = custom_witness (%TwoTypes.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.f94: %Default.type = facet_value %TwoTypes, (%custom_witness.213) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.b65: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.f94) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %TwoTypes, (%DefaultOrUnformed.impl_witness.b65) [concrete] +// CHECK:STDOUT: %custom_witness.b26: = custom_witness (%TwoTypes.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.3d9: %Default.type = facet_value %TwoTypes, (%custom_witness.b26) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.d7b: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.3d9) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %TwoTypes, (%DefaultOrUnformed.impl_witness.d7b) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -152,7 +152,7 @@ var too_many: Cpp.FixedSizePack(Cpp.A, Cpp.A).Inner(Cpp.B, Cpp.B, Cpp.B); // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%TwoTypes, (constants.%DefaultOrUnformed.impl_witness.b65) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%TwoTypes, (constants.%DefaultOrUnformed.impl_witness.d7b) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc7_34.1: %DefaultOrUnformed.type = converted constants.%TwoTypes, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_34.1 [concrete = constants.%TwoTypes] // CHECK:STDOUT: %.loc7_34.2: type = converted %.loc7_34.1, %as_type [concrete = constants.%TwoTypes] @@ -170,44 +170,44 @@ var too_many: Cpp.FixedSizePack(Cpp.A, Cpp.A).Inner(Cpp.B, Cpp.B, Cpp.B); // CHECK:STDOUT: %pattern_type.c42: type = pattern_type %TypePack.894 [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %TypePack.Op.type.43d658.1: type = fn_type @TypePack.Op.1 [concrete] // CHECK:STDOUT: %TypePack.Op.cc70d5.1: %TypePack.Op.type.43d658.1 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.2132a4.1: = custom_witness (%TypePack.Op.cc70d5.1), @Default [concrete] -// CHECK:STDOUT: %Default.facet.bef: %Default.type = facet_value %TypePack.894, (%custom_witness.2132a4.1) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.967: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.bef) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.dc4: %DefaultOrUnformed.type = facet_value %TypePack.894, (%DefaultOrUnformed.impl_witness.967) [concrete] +// CHECK:STDOUT: %custom_witness.b26fff.1: = custom_witness (%TypePack.Op.cc70d5.1), @Default [concrete] +// CHECK:STDOUT: %Default.facet.e80: %Default.type = facet_value %TypePack.894, (%custom_witness.b26fff.1) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.7fb: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.e80) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.ebf: %DefaultOrUnformed.type = facet_value %TypePack.894, (%DefaultOrUnformed.impl_witness.7fb) [concrete] // CHECK:STDOUT: %TypePack.5b2: type = class_type @TypePack.2 [concrete] // CHECK:STDOUT: %pattern_type.891: type = pattern_type %TypePack.5b2 [concrete] // CHECK:STDOUT: %TypePack.Op.type.43d658.2: type = fn_type @TypePack.Op.2 [concrete] // CHECK:STDOUT: %TypePack.Op.cc70d5.2: %TypePack.Op.type.43d658.2 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.2132a4.2: = custom_witness (%TypePack.Op.cc70d5.2), @Default [concrete] -// CHECK:STDOUT: %Default.facet.598: %Default.type = facet_value %TypePack.5b2, (%custom_witness.2132a4.2) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.f8d: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.598) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.28c: %DefaultOrUnformed.type = facet_value %TypePack.5b2, (%DefaultOrUnformed.impl_witness.f8d) [concrete] +// CHECK:STDOUT: %custom_witness.b26fff.2: = custom_witness (%TypePack.Op.cc70d5.2), @Default [concrete] +// CHECK:STDOUT: %Default.facet.3b2: %Default.type = facet_value %TypePack.5b2, (%custom_witness.b26fff.2) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.c72: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.3b2) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.dfa: %DefaultOrUnformed.type = facet_value %TypePack.5b2, (%DefaultOrUnformed.impl_witness.c72) [concrete] // CHECK:STDOUT: %TypePack.93d: type = class_type @TypePack.3 [concrete] // CHECK:STDOUT: %pattern_type.fce: type = pattern_type %TypePack.93d [concrete] // CHECK:STDOUT: %TypePack.Op.type.43d658.3: type = fn_type @TypePack.Op.3 [concrete] // CHECK:STDOUT: %TypePack.Op.cc70d5.3: %TypePack.Op.type.43d658.3 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.2132a4.3: = custom_witness (%TypePack.Op.cc70d5.3), @Default [concrete] -// CHECK:STDOUT: %Default.facet.37a: %Default.type = facet_value %TypePack.93d, (%custom_witness.2132a4.3) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.d66: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.37a) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.092: %DefaultOrUnformed.type = facet_value %TypePack.93d, (%DefaultOrUnformed.impl_witness.d66) [concrete] +// CHECK:STDOUT: %custom_witness.b26fff.3: = custom_witness (%TypePack.Op.cc70d5.3), @Default [concrete] +// CHECK:STDOUT: %Default.facet.c9d: %Default.type = facet_value %TypePack.93d, (%custom_witness.b26fff.3) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.199: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.c9d) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.1c7: %DefaultOrUnformed.type = facet_value %TypePack.93d, (%DefaultOrUnformed.impl_witness.199) [concrete] // CHECK:STDOUT: %TypePack.51e: type = class_type @TypePack.4 [concrete] // CHECK:STDOUT: %pattern_type.f1d: type = pattern_type %TypePack.51e [concrete] // CHECK:STDOUT: %TypePack.Op.type.43d658.4: type = fn_type @TypePack.Op.4 [concrete] // CHECK:STDOUT: %TypePack.Op.cc70d5.4: %TypePack.Op.type.43d658.4 = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.2132a4.4: = custom_witness (%TypePack.Op.cc70d5.4), @Default [concrete] -// CHECK:STDOUT: %Default.facet.fb9: %Default.type = facet_value %TypePack.51e, (%custom_witness.2132a4.4) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.dd3: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.fb9) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.1d3: %DefaultOrUnformed.type = facet_value %TypePack.51e, (%DefaultOrUnformed.impl_witness.dd3) [concrete] +// CHECK:STDOUT: %custom_witness.b26fff.4: = custom_witness (%TypePack.Op.cc70d5.4), @Default [concrete] +// CHECK:STDOUT: %Default.facet.752: %Default.type = facet_value %TypePack.51e, (%custom_witness.b26fff.4) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.ba6: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.752) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.a74: %DefaultOrUnformed.type = facet_value %TypePack.51e, (%DefaultOrUnformed.impl_witness.ba6) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -239,32 +239,32 @@ var too_many: Cpp.FixedSizePack(Cpp.A, Cpp.A).Inner(Cpp.B, Cpp.B, Cpp.B); // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7: %DefaultOrUnformed.type = facet_value constants.%TypePack.894, (constants.%DefaultOrUnformed.impl_witness.967) [concrete = constants.%DefaultOrUnformed.facet.dc4] -// CHECK:STDOUT: %.loc7_23.1: %DefaultOrUnformed.type = converted constants.%TypePack.894, %DefaultOrUnformed.facet.loc7 [concrete = constants.%DefaultOrUnformed.facet.dc4] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7: %DefaultOrUnformed.type = facet_value constants.%TypePack.894, (constants.%DefaultOrUnformed.impl_witness.7fb) [concrete = constants.%DefaultOrUnformed.facet.ebf] +// CHECK:STDOUT: %.loc7_23.1: %DefaultOrUnformed.type = converted constants.%TypePack.894, %DefaultOrUnformed.facet.loc7 [concrete = constants.%DefaultOrUnformed.facet.ebf] // CHECK:STDOUT: %as_type.loc7: type = facet_access_type %.loc7_23.1 [concrete = constants.%TypePack.894] // CHECK:STDOUT: %.loc7_23.2: type = converted %.loc7_23.1, %as_type.loc7 [concrete = constants.%TypePack.894] // CHECK:STDOUT: // CHECK:STDOUT: %.loc7_1: ref %TypePack.894 = splice_block file.%a0.var [concrete = file.%a0.var] {} // CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.call.loc7: init %TypePack.894 to %.loc7_1 = call %T.as_type.as.DefaultOrUnformed.impl.Op.specific_fn.1() // CHECK:STDOUT: assign file.%a0.var, %T.as_type.as.DefaultOrUnformed.impl.Op.call.loc7 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8: %DefaultOrUnformed.type = facet_value constants.%TypePack.5b2, (constants.%DefaultOrUnformed.impl_witness.f8d) [concrete = constants.%DefaultOrUnformed.facet.28c] -// CHECK:STDOUT: %.loc8_28.1: %DefaultOrUnformed.type = converted constants.%TypePack.5b2, %DefaultOrUnformed.facet.loc8 [concrete = constants.%DefaultOrUnformed.facet.28c] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc8: %DefaultOrUnformed.type = facet_value constants.%TypePack.5b2, (constants.%DefaultOrUnformed.impl_witness.c72) [concrete = constants.%DefaultOrUnformed.facet.dfa] +// CHECK:STDOUT: %.loc8_28.1: %DefaultOrUnformed.type = converted constants.%TypePack.5b2, %DefaultOrUnformed.facet.loc8 [concrete = constants.%DefaultOrUnformed.facet.dfa] // CHECK:STDOUT: %as_type.loc8: type = facet_access_type %.loc8_28.1 [concrete = constants.%TypePack.5b2] // CHECK:STDOUT: %.loc8_28.2: type = converted %.loc8_28.1, %as_type.loc8 [concrete = constants.%TypePack.5b2] // CHECK:STDOUT: // CHECK:STDOUT: %.loc8_1: ref %TypePack.5b2 = splice_block file.%a1.var [concrete = file.%a1.var] {} // CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.call.loc8: init %TypePack.5b2 to %.loc8_1 = call %T.as_type.as.DefaultOrUnformed.impl.Op.specific_fn.2() // CHECK:STDOUT: assign file.%a1.var, %T.as_type.as.DefaultOrUnformed.impl.Op.call.loc8 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc9: %DefaultOrUnformed.type = facet_value constants.%TypePack.93d, (constants.%DefaultOrUnformed.impl_witness.d66) [concrete = constants.%DefaultOrUnformed.facet.092] -// CHECK:STDOUT: %.loc9_35.1: %DefaultOrUnformed.type = converted constants.%TypePack.93d, %DefaultOrUnformed.facet.loc9 [concrete = constants.%DefaultOrUnformed.facet.092] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc9: %DefaultOrUnformed.type = facet_value constants.%TypePack.93d, (constants.%DefaultOrUnformed.impl_witness.199) [concrete = constants.%DefaultOrUnformed.facet.1c7] +// CHECK:STDOUT: %.loc9_35.1: %DefaultOrUnformed.type = converted constants.%TypePack.93d, %DefaultOrUnformed.facet.loc9 [concrete = constants.%DefaultOrUnformed.facet.1c7] // CHECK:STDOUT: %as_type.loc9: type = facet_access_type %.loc9_35.1 [concrete = constants.%TypePack.93d] // CHECK:STDOUT: %.loc9_35.2: type = converted %.loc9_35.1, %as_type.loc9 [concrete = constants.%TypePack.93d] // CHECK:STDOUT: // CHECK:STDOUT: %.loc9_1: ref %TypePack.93d = splice_block file.%a2.var [concrete = file.%a2.var] {} // CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.call.loc9: init %TypePack.93d to %.loc9_1 = call %T.as_type.as.DefaultOrUnformed.impl.Op.specific_fn.3() // CHECK:STDOUT: assign file.%a2.var, %T.as_type.as.DefaultOrUnformed.impl.Op.call.loc9 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc10: %DefaultOrUnformed.type = facet_value constants.%TypePack.51e, (constants.%DefaultOrUnformed.impl_witness.dd3) [concrete = constants.%DefaultOrUnformed.facet.1d3] -// CHECK:STDOUT: %.loc10_42.1: %DefaultOrUnformed.type = converted constants.%TypePack.51e, %DefaultOrUnformed.facet.loc10 [concrete = constants.%DefaultOrUnformed.facet.1d3] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc10: %DefaultOrUnformed.type = facet_value constants.%TypePack.51e, (constants.%DefaultOrUnformed.impl_witness.ba6) [concrete = constants.%DefaultOrUnformed.facet.a74] +// CHECK:STDOUT: %.loc10_42.1: %DefaultOrUnformed.type = converted constants.%TypePack.51e, %DefaultOrUnformed.facet.loc10 [concrete = constants.%DefaultOrUnformed.facet.a74] // CHECK:STDOUT: %as_type.loc10: type = facet_access_type %.loc10_42.1 [concrete = constants.%TypePack.51e] // CHECK:STDOUT: %.loc10_42.2: type = converted %.loc10_42.1, %as_type.loc10 [concrete = constants.%TypePack.51e] // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/template/concept.carbon b/toolchain/check/testdata/interop/cpp/template/concept.carbon index 20f80651f4c8..2bce1a4aa54e 100644 --- a/toolchain/check/testdata/interop/cpp/template/concept.carbon +++ b/toolchain/check/testdata/interop/cpp/template/concept.carbon @@ -42,18 +42,18 @@ var x2: X(Cpp.IsLarge(Cpp.Large)) = X(true).Make(); // CHECK:STDOUT: %IsLarge.template: %IsLarge.type = struct_value () [concrete] // CHECK:STDOUT: %Small: type = class_type @Small [concrete] // CHECK:STDOUT: %false: bool = bool_literal false [concrete] -// CHECK:STDOUT: %X.3b1: type = class_type @X, @X(%false) [concrete] -// CHECK:STDOUT: %X.Make.type.ae8: type = fn_type @X.Make, @X(%false) [concrete] -// CHECK:STDOUT: %X.Make.f03: %X.Make.type.ae8 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.b61: type = pattern_type %X.3b1 [concrete] -// CHECK:STDOUT: %X.Make.specific_fn.a38: = specific_function %X.Make.f03, @X.Make(%false) [concrete] +// CHECK:STDOUT: %X.4e9: type = class_type @X, @X(%false) [concrete] +// CHECK:STDOUT: %X.Make.type.a09: type = fn_type @X.Make, @X(%false) [concrete] +// CHECK:STDOUT: %X.Make.e55: %X.Make.type.a09 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.316: type = pattern_type %X.4e9 [concrete] +// CHECK:STDOUT: %X.Make.specific_fn.80b: = specific_function %X.Make.e55, @X.Make(%false) [concrete] // CHECK:STDOUT: %Large: type = class_type @Large [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] -// CHECK:STDOUT: %X.26c: type = class_type @X, @X(%true) [concrete] -// CHECK:STDOUT: %X.Make.type.669: type = fn_type @X.Make, @X(%true) [concrete] -// CHECK:STDOUT: %X.Make.8a2: %X.Make.type.669 = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.63b: type = pattern_type %X.26c [concrete] -// CHECK:STDOUT: %X.Make.specific_fn.17d: = specific_function %X.Make.8a2, @X.Make(%true) [concrete] +// CHECK:STDOUT: %X.e08: type = class_type @X, @X(%true) [concrete] +// CHECK:STDOUT: %X.Make.type.364: type = fn_type @X.Make, @X(%true) [concrete] +// CHECK:STDOUT: %X.Make.366: %X.Make.type.364 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.5e9: type = pattern_type %X.e08 [concrete] +// CHECK:STDOUT: %X.Make.specific_fn.c56: = specific_function %X.Make.366, @X.Make(%true) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -70,56 +70,56 @@ var x2: X(Cpp.IsLarge(Cpp.Large)) = X(true).Make(); // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x1.patt: %pattern_type.b61 = ref_binding_pattern x1 [concrete] -// CHECK:STDOUT: %x1.var_patt: %pattern_type.b61 = var_pattern %x1.patt [concrete] +// CHECK:STDOUT: %x1.patt: %pattern_type.316 = ref_binding_pattern x1 [concrete] +// CHECK:STDOUT: %x1.var_patt: %pattern_type.316 = var_pattern %x1.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %x1.var: ref %X.3b1 = var %x1.var_patt [concrete] -// CHECK:STDOUT: %.loc11: type = splice_block %X.loc11 [concrete = constants.%X.3b1] { +// CHECK:STDOUT: %x1.var: ref %X.4e9 = var %x1.var_patt [concrete] +// CHECK:STDOUT: %.loc11: type = splice_block %X.loc11 [concrete = constants.%X.4e9] { // CHECK:STDOUT: %X.ref.loc11: %X.type = name_ref X, %X.decl [concrete = constants.%X.generic] // CHECK:STDOUT: %Cpp.ref.loc11_11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %IsLarge.ref.loc11: %IsLarge.type = name_ref IsLarge, imports.%IsLarge.template [concrete = constants.%IsLarge.template] // CHECK:STDOUT: %Cpp.ref.loc11_23: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %Small.ref: type = name_ref Small, imports.%Small.decl [concrete = constants.%Small] // CHECK:STDOUT: %false: bool = bool_literal false [concrete = constants.%false] -// CHECK:STDOUT: %X.loc11: type = class_type @X, @X(constants.%false) [concrete = constants.%X.3b1] +// CHECK:STDOUT: %X.loc11: type = class_type @X, @X(constants.%false) [concrete = constants.%X.4e9] // CHECK:STDOUT: } -// CHECK:STDOUT: %x1: ref %X.3b1 = ref_binding x1, %x1.var [concrete = %x1.var] +// CHECK:STDOUT: %x1: ref %X.4e9 = ref_binding x1, %x1.var [concrete = %x1.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x2.patt: %pattern_type.63b = ref_binding_pattern x2 [concrete] -// CHECK:STDOUT: %x2.var_patt: %pattern_type.63b = var_pattern %x2.patt [concrete] +// CHECK:STDOUT: %x2.patt: %pattern_type.5e9 = ref_binding_pattern x2 [concrete] +// CHECK:STDOUT: %x2.var_patt: %pattern_type.5e9 = var_pattern %x2.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %x2.var: ref %X.26c = var %x2.var_patt [concrete] -// CHECK:STDOUT: %.loc12: type = splice_block %X.loc12 [concrete = constants.%X.26c] { +// CHECK:STDOUT: %x2.var: ref %X.e08 = var %x2.var_patt [concrete] +// CHECK:STDOUT: %.loc12: type = splice_block %X.loc12 [concrete = constants.%X.e08] { // CHECK:STDOUT: %X.ref.loc12: %X.type = name_ref X, %X.decl [concrete = constants.%X.generic] // CHECK:STDOUT: %Cpp.ref.loc12_11: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %IsLarge.ref.loc12: %IsLarge.type = name_ref IsLarge, imports.%IsLarge.template [concrete = constants.%IsLarge.template] // CHECK:STDOUT: %Cpp.ref.loc12_23: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: %Large.ref: type = name_ref Large, imports.%Large.decl [concrete = constants.%Large] // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %X.loc12: type = class_type @X, @X(constants.%true) [concrete = constants.%X.26c] +// CHECK:STDOUT: %X.loc12: type = class_type @X, @X(constants.%true) [concrete = constants.%X.e08] // CHECK:STDOUT: } -// CHECK:STDOUT: %x2: ref %X.26c = ref_binding x2, %x2.var [concrete = %x2.var] +// CHECK:STDOUT: %x2: ref %X.e08 = ref_binding x2, %x2.var [concrete = %x2.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %X.ref.loc11: %X.type = name_ref X, file.%X.decl [concrete = constants.%X.generic] // CHECK:STDOUT: %false: bool = bool_literal false [concrete = constants.%false] -// CHECK:STDOUT: %X.loc11: type = class_type @X, @X(constants.%false) [concrete = constants.%X.3b1] -// CHECK:STDOUT: %.loc11_45: %X.Make.type.ae8 = specific_constant @X.%X.Make.decl, @X(constants.%false) [concrete = constants.%X.Make.f03] -// CHECK:STDOUT: %Make.ref.loc11: %X.Make.type.ae8 = name_ref Make, %.loc11_45 [concrete = constants.%X.Make.f03] -// CHECK:STDOUT: %X.Make.specific_fn.loc11: = specific_function %Make.ref.loc11, @X.Make(constants.%false) [concrete = constants.%X.Make.specific_fn.a38] -// CHECK:STDOUT: %.loc11_1: ref %X.3b1 = splice_block file.%x1.var [concrete = file.%x1.var] {} -// CHECK:STDOUT: %X.Make.call.loc11: init %X.3b1 to %.loc11_1 = call %X.Make.specific_fn.loc11() +// CHECK:STDOUT: %X.loc11: type = class_type @X, @X(constants.%false) [concrete = constants.%X.4e9] +// CHECK:STDOUT: %.loc11_45: %X.Make.type.a09 = specific_constant @X.%X.Make.decl, @X(constants.%false) [concrete = constants.%X.Make.e55] +// CHECK:STDOUT: %Make.ref.loc11: %X.Make.type.a09 = name_ref Make, %.loc11_45 [concrete = constants.%X.Make.e55] +// CHECK:STDOUT: %X.Make.specific_fn.loc11: = specific_function %Make.ref.loc11, @X.Make(constants.%false) [concrete = constants.%X.Make.specific_fn.80b] +// CHECK:STDOUT: %.loc11_1: ref %X.4e9 = splice_block file.%x1.var [concrete = file.%x1.var] {} +// CHECK:STDOUT: %X.Make.call.loc11: init %X.4e9 to %.loc11_1 = call %X.Make.specific_fn.loc11() // CHECK:STDOUT: assign file.%x1.var, %X.Make.call.loc11 // CHECK:STDOUT: %X.ref.loc12: %X.type = name_ref X, file.%X.decl [concrete = constants.%X.generic] // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %X.loc12: type = class_type @X, @X(constants.%true) [concrete = constants.%X.26c] -// CHECK:STDOUT: %.loc12_44: %X.Make.type.669 = specific_constant @X.%X.Make.decl, @X(constants.%true) [concrete = constants.%X.Make.8a2] -// CHECK:STDOUT: %Make.ref.loc12: %X.Make.type.669 = name_ref Make, %.loc12_44 [concrete = constants.%X.Make.8a2] -// CHECK:STDOUT: %X.Make.specific_fn.loc12: = specific_function %Make.ref.loc12, @X.Make(constants.%true) [concrete = constants.%X.Make.specific_fn.17d] -// CHECK:STDOUT: %.loc12_1: ref %X.26c = splice_block file.%x2.var [concrete = file.%x2.var] {} -// CHECK:STDOUT: %X.Make.call.loc12: init %X.26c to %.loc12_1 = call %X.Make.specific_fn.loc12() +// CHECK:STDOUT: %X.loc12: type = class_type @X, @X(constants.%true) [concrete = constants.%X.e08] +// CHECK:STDOUT: %.loc12_44: %X.Make.type.364 = specific_constant @X.%X.Make.decl, @X(constants.%true) [concrete = constants.%X.Make.366] +// CHECK:STDOUT: %Make.ref.loc12: %X.Make.type.364 = name_ref Make, %.loc12_44 [concrete = constants.%X.Make.366] +// CHECK:STDOUT: %X.Make.specific_fn.loc12: = specific_function %Make.ref.loc12, @X.Make(constants.%true) [concrete = constants.%X.Make.specific_fn.c56] +// CHECK:STDOUT: %.loc12_1: ref %X.e08 = splice_block file.%x2.var [concrete = file.%x2.var] {} +// CHECK:STDOUT: %X.Make.call.loc12: init %X.e08 to %.loc12_1 = call %X.Make.specific_fn.loc12() // CHECK:STDOUT: assign file.%x2.var, %X.Make.call.loc12 // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/interop/cpp/template/non_type_param.carbon b/toolchain/check/testdata/interop/cpp/template/non_type_param.carbon index b35afcfa0523..28fb6ac583cc 100644 --- a/toolchain/check/testdata/interop/cpp/template/non_type_param.carbon +++ b/toolchain/check/testdata/interop/cpp/template/non_type_param.carbon @@ -214,7 +214,7 @@ fn G() -> i32 { // CHECK:STDOUT: %DependentNonType.template: %DependentNonType.type = struct_value () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %DependentNonType.c38: type = class_type @DependentNonType.1 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %pattern_type.b08: type = pattern_type %DependentNonType.c38 [concrete] @@ -243,8 +243,8 @@ fn G() -> i32 { // CHECK:STDOUT: } { // CHECK:STDOUT: // CHECK:STDOUT: } -// CHECK:STDOUT: %StaticInt.patt: %pattern_type.c6b = ref_binding_pattern StaticInt [concrete] -// CHECK:STDOUT: %StaticInt.var_patt: %pattern_type.c6b = var_pattern %StaticInt.patt [concrete] +// CHECK:STDOUT: %StaticInt.patt: %pattern_type.104 = ref_binding_pattern StaticInt [concrete] +// CHECK:STDOUT: %StaticInt.var_patt: %pattern_type.104 = var_pattern %StaticInt.patt [concrete] // CHECK:STDOUT: %StaticInt.var: ref %i32 = var %StaticInt.var_patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/interop/cpp/template/template_template_param.carbon b/toolchain/check/testdata/interop/cpp/template/template_template_param.carbon index 60f8df90cbad..22e1e4f8c5f7 100644 --- a/toolchain/check/testdata/interop/cpp/template/template_template_param.carbon +++ b/toolchain/check/testdata/interop/cpp/template/template_template_param.carbon @@ -87,20 +87,20 @@ var x: Cpp.TwoTemplates(Cpp.A, true); // CHECK:STDOUT: %pattern_type.681: type = pattern_type %TwoTemplates [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %TwoTemplates.Op.type: type = fn_type @TwoTemplates.Op [concrete] // CHECK:STDOUT: %TwoTemplates.Op: %TwoTemplates.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.213: = custom_witness (%TwoTemplates.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.1b5: %Default.type = facet_value %TwoTemplates, (%custom_witness.213) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.36d: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.1b5) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %TwoTemplates, (%DefaultOrUnformed.impl_witness.36d) [concrete] +// CHECK:STDOUT: %custom_witness.b26: = custom_witness (%TwoTemplates.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.af8: %Default.type = facet_value %TwoTemplates, (%custom_witness.b26) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.af1: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.af8) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %TwoTemplates, (%DefaultOrUnformed.impl_witness.af1) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -114,7 +114,7 @@ var x: Cpp.TwoTemplates(Cpp.A, true); // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%TwoTemplates, (constants.%DefaultOrUnformed.impl_witness.36d) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%TwoTemplates, (constants.%DefaultOrUnformed.impl_witness.af1) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc7_38.1: %DefaultOrUnformed.type = converted constants.%TwoTemplates, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_38.1 [concrete = constants.%TwoTemplates] // CHECK:STDOUT: %.loc7_38.2: type = converted %.loc7_38.1, %as_type [concrete = constants.%TwoTemplates] diff --git a/toolchain/check/testdata/interop/cpp/template/type_param.carbon b/toolchain/check/testdata/interop/cpp/template/type_param.carbon index 52bf69e06a49..4bcf6bb5158d 100644 --- a/toolchain/check/testdata/interop/cpp/template/type_param.carbon +++ b/toolchain/check/testdata/interop/cpp/template/type_param.carbon @@ -71,20 +71,20 @@ var x: Cpp.TwoTypes(Cpp.A, {}); // CHECK:STDOUT: %pattern_type.bc0: type = pattern_type %TwoTypes [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %TwoTypes.Op.type: type = fn_type @TwoTypes.Op [concrete] // CHECK:STDOUT: %TwoTypes.Op: %TwoTypes.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.213: = custom_witness (%TwoTypes.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.f94: %Default.type = facet_value %TwoTypes, (%custom_witness.213) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.b65: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.f94) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %TwoTypes, (%DefaultOrUnformed.impl_witness.b65) [concrete] +// CHECK:STDOUT: %custom_witness.b26: = custom_witness (%TwoTypes.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.3d9: %Default.type = facet_value %TwoTypes, (%custom_witness.b26) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.d7b: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.3d9) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %TwoTypes, (%DefaultOrUnformed.impl_witness.d7b) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -98,7 +98,7 @@ var x: Cpp.TwoTypes(Cpp.A, {}); // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%TwoTypes, (constants.%DefaultOrUnformed.impl_witness.b65) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%TwoTypes, (constants.%DefaultOrUnformed.impl_witness.d7b) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc7_34.1: %DefaultOrUnformed.type = converted constants.%TwoTypes, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_34.1 [concrete = constants.%TwoTypes] // CHECK:STDOUT: %.loc7_34.2: type = converted %.loc7_34.1, %as_type [concrete = constants.%TwoTypes] @@ -116,20 +116,20 @@ var x: Cpp.TwoTypes(Cpp.A, {}); // CHECK:STDOUT: %pattern_type.6c8: type = pattern_type %TwoTypes [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %Default.type: type = facet_type <@Default> [concrete] -// CHECK:STDOUT: %T.4ca: %Default.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.4ca) [symbolic] -// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.25a: %T.as_type.as.DefaultOrUnformed.impl.Op.type.47c = struct_value () [symbolic] +// CHECK:STDOUT: %T.e5a: %Default.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d: type = fn_type @T.as_type.as.DefaultOrUnformed.impl.Op, @T.as_type.as.DefaultOrUnformed.impl(%T.e5a) [symbolic] +// CHECK:STDOUT: %T.as_type.as.DefaultOrUnformed.impl.Op.eab: %T.as_type.as.DefaultOrUnformed.impl.Op.type.38d = struct_value () [symbolic] // CHECK:STDOUT: %TwoTypes.Op.type: type = fn_type @TwoTypes.Op [concrete] // CHECK:STDOUT: %TwoTypes.Op: %TwoTypes.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.213: = custom_witness (%TwoTypes.Op), @Default [concrete] -// CHECK:STDOUT: %Default.facet.f74: %Default.type = facet_value %TwoTypes, (%custom_witness.213) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.7ac: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.b72, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.f74) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %TwoTypes, (%DefaultOrUnformed.impl_witness.7ac) [concrete] +// CHECK:STDOUT: %custom_witness.b26: = custom_witness (%TwoTypes.Op), @Default [concrete] +// CHECK:STDOUT: %Default.facet.e79: %Default.type = facet_value %TwoTypes, (%custom_witness.b26) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.321: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.48a, @T.as_type.as.DefaultOrUnformed.impl(%Default.facet.e79) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %TwoTypes, (%DefaultOrUnformed.impl_witness.321) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dfa: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.47c) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.25a)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.b72 = impl_witness_table (%Core.import_ref.dfa), @T.as_type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.a03: @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op.type (%T.as_type.as.DefaultOrUnformed.impl.Op.type.38d) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as_type.as.DefaultOrUnformed.impl.%T.as_type.as.DefaultOrUnformed.impl.Op (constants.%T.as_type.as.DefaultOrUnformed.impl.Op.eab)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.48a = impl_witness_table (%Core.import_ref.a03), @T.as_type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -143,7 +143,7 @@ var x: Cpp.TwoTypes(Cpp.A, {}); // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%TwoTypes, (constants.%DefaultOrUnformed.impl_witness.7ac) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%TwoTypes, (constants.%DefaultOrUnformed.impl_witness.321) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc7_32.1: %DefaultOrUnformed.type = converted constants.%TwoTypes, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_32.1 [concrete = constants.%TwoTypes] // CHECK:STDOUT: %.loc7_32.2: type = converted %.loc7_32.1, %as_type [concrete = constants.%TwoTypes] diff --git a/toolchain/check/testdata/interop/cpp/type_alias/import.carbon b/toolchain/check/testdata/interop/cpp/type_alias/import.carbon index e49f3e1a0c1b..4340acd0cce8 100644 --- a/toolchain/check/testdata/interop/cpp/type_alias/import.carbon +++ b/toolchain/check/testdata/interop/cpp/type_alias/import.carbon @@ -56,39 +56,39 @@ fn H(var c: Cpp.C, var d: Cpp.D) { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_42.20e: Core.IntLiteral = int_value 42 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_42.20e, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_42.bc5: %i32 = int_value 42 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] +// CHECK:STDOUT: %int_42.daa: %i32 = int_value 42 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc10 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc10 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -97,26 +97,26 @@ fn H(var c: Cpp.C, var d: Cpp.D) { // CHECK:STDOUT: .bar = @F.%i32.2 // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = ref_binding_pattern n [concrete] -// CHECK:STDOUT: %n.var_patt: %pattern_type.c6b = var_pattern %n.patt [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = ref_binding_pattern n [concrete] +// CHECK:STDOUT: %n.var_patt: %pattern_type.104 = var_pattern %n.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %n.var: ref %i32 = var %n.var_patt // CHECK:STDOUT: %int_42: Core.IntLiteral = int_value 42 [concrete = constants.%int_42.20e] -// CHECK:STDOUT: %impl.elem0.loc8: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc8: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc8_3.1: = bound_method %int_42, %impl.elem0.loc8 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc8_3.2: = bound_method %int_42, %specific_fn.loc8 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_3.2(%int_42) [concrete = constants.%int_42.bc5] -// CHECK:STDOUT: %.loc8_3: init %i32 = converted %int_42, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_42.bc5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_3.2(%int_42) [concrete = constants.%int_42.daa] +// CHECK:STDOUT: %.loc8_3: init %i32 = converted %int_42, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_42.daa] // CHECK:STDOUT: assign %n.var, %.loc8_3 // CHECK:STDOUT: %.loc8_13: type = splice_block %foo.ref [concrete = constants.%i32] { // CHECK:STDOUT: %Cpp.ref.loc8: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] @@ -125,33 +125,33 @@ fn H(var c: Cpp.C, var d: Cpp.D) { // CHECK:STDOUT: } // CHECK:STDOUT: %n: ref %i32 = ref_binding n, %n.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %p.patt: %pattern_type.663 = ref_binding_pattern p [concrete] -// CHECK:STDOUT: %p.var_patt: %pattern_type.663 = var_pattern %p.patt [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.7b5 = ref_binding_pattern p [concrete] +// CHECK:STDOUT: %p.var_patt: %pattern_type.7b5 = var_pattern %p.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %p.var: ref %ptr.143 = var %p.var_patt +// CHECK:STDOUT: %p.var: ref %ptr.847 = var %p.var_patt // CHECK:STDOUT: %n.ref: ref %i32 = name_ref n, %n -// CHECK:STDOUT: %addr: %ptr.143 = addr_of %n.ref -// CHECK:STDOUT: %impl.elem0.loc10: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr: %ptr.847 = addr_of %n.ref +// CHECK:STDOUT: %impl.elem0.loc10: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc10_28.1: = bound_method %addr, %impl.elem0.loc10 // CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc10_28.2: = bound_method %addr, %specific_fn.loc10 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.143 = call %bound_method.loc10_28.2(%addr) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.847 = call %bound_method.loc10_28.2(%addr) // CHECK:STDOUT: assign %p.var, %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: %.loc10: type = splice_block %ptr [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %.loc10: type = splice_block %ptr [concrete = constants.%ptr.847] { // CHECK:STDOUT: %Cpp.ref.loc10: = name_ref Cpp, imports.%Cpp [concrete = imports.%Cpp] // CHECK:STDOUT: // CHECK:STDOUT: %bar.ref: type = name_ref bar, %i32.2 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %bar.ref [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr: type = ptr_type %bar.ref [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: ref %ptr.143 = ref_binding p, %p.var -// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %p.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %p: ref %ptr.847 = ref_binding p, %p.var +// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %p.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%p.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %n.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %n.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%n.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10(%self.param: ref %ptr.143) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc10(%self.param: ref %ptr.847) = "no_op"; // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc8_3.1(%self.param: ref %i32.builtin) = "no_op"; // CHECK:STDOUT: @@ -169,15 +169,15 @@ fn H(var c: Cpp.C, var d: Cpp.D) { // CHECK:STDOUT: %pattern_type.0d0: type = pattern_type %ptr.3a8 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.a6b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.040: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.721: %ptr.as.Copy.impl.Op.type.040 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.3a8, (%Copy.impl_witness.a6b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.85b: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.18e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.85b, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.721, @ptr.as.Copy.impl.Op(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.954: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.65e: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%C) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.299: %ptr.as.Copy.impl.Op.type.65e = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.3a8, (%Copy.impl_witness.954) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.203: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.07e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.203, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.299, @ptr.as.Copy.impl.Op(%C) [concrete] // CHECK:STDOUT: %Destroy.Op.type: type = fn_type @Destroy.Op [concrete] // CHECK:STDOUT: %Destroy.Op: %Destroy.Op.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -189,8 +189,8 @@ fn H(var c: Cpp.C, var d: Cpp.D) { // CHECK:STDOUT: import Cpp//... // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H(%c.param: ref %C, %d.param: ref %C) { @@ -202,7 +202,7 @@ fn H(var c: Cpp.C, var d: Cpp.D) { // CHECK:STDOUT: %pd.var: ref %ptr.3a8 = var %pd.var_patt // CHECK:STDOUT: %c.ref: ref %C = name_ref c, %c // CHECK:STDOUT: %addr.loc9: %ptr.3a8 = addr_of %c.ref -// CHECK:STDOUT: %impl.elem0.loc9: %.18e = impl_witness_access constants.%Copy.impl_witness.a6b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.721] +// CHECK:STDOUT: %impl.elem0.loc9: %.07e = impl_witness_access constants.%Copy.impl_witness.954, element0 [concrete = constants.%ptr.as.Copy.impl.Op.299] // CHECK:STDOUT: %bound_method.loc9_27.1: = bound_method %addr.loc9, %impl.elem0.loc9 // CHECK:STDOUT: %specific_fn.loc9: = specific_function %impl.elem0.loc9, @ptr.as.Copy.impl.Op(constants.%C) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc9_27.2: = bound_method %addr.loc9, %specific_fn.loc9 @@ -221,7 +221,7 @@ fn H(var c: Cpp.C, var d: Cpp.D) { // CHECK:STDOUT: %pc.var: ref %ptr.3a8 = var %pc.var_patt // CHECK:STDOUT: %d.ref: ref %C = name_ref d, %d // CHECK:STDOUT: %addr.loc10: %ptr.3a8 = addr_of %d.ref -// CHECK:STDOUT: %impl.elem0.loc10: %.18e = impl_witness_access constants.%Copy.impl_witness.a6b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.721] +// CHECK:STDOUT: %impl.elem0.loc10: %.07e = impl_witness_access constants.%Copy.impl_witness.954, element0 [concrete = constants.%ptr.as.Copy.impl.Op.299] // CHECK:STDOUT: %bound_method.loc10_27.1: = bound_method %addr.loc10, %impl.elem0.loc10 // CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10, @ptr.as.Copy.impl.Op(constants.%C) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc10_27.2: = bound_method %addr.loc10, %specific_fn.loc10 diff --git a/toolchain/check/testdata/let/compile_time_bindings.carbon b/toolchain/check/testdata/let/compile_time_bindings.carbon index 81520895a369..8d36a265fa9e 100644 --- a/toolchain/check/testdata/let/compile_time_bindings.carbon +++ b/toolchain/check/testdata/let/compile_time_bindings.carbon @@ -502,8 +502,8 @@ impl i32 as Empty { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %Self, @I [symbolic] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %.92c: Core.Form = init_form %impl.elem0 [symbolic] -// CHECK:STDOUT: %pattern_type.ea2: type = pattern_type %impl.elem0 [symbolic] +// CHECK:STDOUT: %.572: Core.Form = init_form %impl.elem0 [symbolic] +// CHECK:STDOUT: %pattern_type.e20: type = pattern_type %impl.elem0 [symbolic] // CHECK:STDOUT: %I.WithSelf.F.type: type = fn_type @I.WithSelf.F, @I.WithSelf(%Self) [symbolic] // CHECK:STDOUT: %I.WithSelf.F: %I.WithSelf.F.type = struct_value () [symbolic] // CHECK:STDOUT: %assoc1: %I.assoc_type = assoc_entity element1, @I.WithSelf.%I.WithSelf.F.decl [concrete] @@ -537,12 +537,12 @@ impl i32 as Empty { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } // CHECK:STDOUT: %I.WithSelf.F.decl: @I.WithSelf.%I.WithSelf.F.type (%I.WithSelf.F.type) = fn_decl @I.WithSelf.F [symbolic = @I.WithSelf.%I.WithSelf.F (constants.%I.WithSelf.F)] { -// CHECK:STDOUT: %return.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.ea2) = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: @I.WithSelf.F.%pattern_type (%pattern_type.ea2) = return_slot_pattern %return.param_patt, %T.ref [concrete] +// CHECK:STDOUT: %return.param_patt: @I.WithSelf.F.%pattern_type (%pattern_type.e20) = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: @I.WithSelf.F.%pattern_type (%pattern_type.e20) = return_slot_pattern %return.param_patt, %T.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %impl.elem0.loc6_13.2: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_13.1 (constants.%impl.elem0)] // CHECK:STDOUT: %T.ref: type = name_ref T, %impl.elem0.loc6_13.2 [symbolic = %impl.elem0.loc6_13.1 (constants.%impl.elem0)] -// CHECK:STDOUT: %.loc6_13.2: Core.Form = init_form %T.ref [symbolic = %.loc6_13.1 (constants.%.92c)] +// CHECK:STDOUT: %.loc6_13.2: Core.Form = init_form %T.ref [symbolic = %.loc6_13.1 (constants.%.572)] // CHECK:STDOUT: %return.param: ref @I.WithSelf.F.%impl.elem0.loc6_13.1 (%impl.elem0) = out_param call_param0 // CHECK:STDOUT: %return: ref @I.WithSelf.F.%impl.elem0.loc6_13.1 (%impl.elem0) = return_slot %return.param // CHECK:STDOUT: } @@ -561,8 +561,8 @@ impl i32 as Empty { // CHECK:STDOUT: %Self: %I.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %Self, @I [symbolic = %I.lookup_impl_witness (constants.%I.lookup_impl_witness)] // CHECK:STDOUT: %impl.elem0.loc6_13.1: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc6_13.1 (constants.%impl.elem0)] -// CHECK:STDOUT: %.loc6_13.1: Core.Form = init_form %impl.elem0.loc6_13.1 [symbolic = %.loc6_13.1 (constants.%.92c)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %impl.elem0.loc6_13.1 [symbolic = %pattern_type (constants.%pattern_type.ea2)] +// CHECK:STDOUT: %.loc6_13.1: Core.Form = init_form %impl.elem0.loc6_13.1 [symbolic = %.loc6_13.1 (constants.%.572)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %impl.elem0.loc6_13.1 [symbolic = %pattern_type (constants.%pattern_type.e20)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @I.WithSelf.F.%impl.elem0.loc6_13.1 (%impl.elem0); // CHECK:STDOUT: } @@ -573,8 +573,8 @@ impl i32 as Empty { // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %I.lookup_impl_witness => constants.%I.lookup_impl_witness // CHECK:STDOUT: %impl.elem0.loc6_13.1 => constants.%impl.elem0 -// CHECK:STDOUT: %.loc6_13.1 => constants.%.92c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.ea2 +// CHECK:STDOUT: %.loc6_13.1 => constants.%.572 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.e20 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_return_in_class.carbon @@ -697,7 +697,7 @@ impl i32 as Empty { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Empty.type: type = facet_type <@Empty> [concrete] -// CHECK:STDOUT: %Self.6d2: %Empty.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.2f3: %Empty.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] @@ -705,24 +705,24 @@ impl i32 as Empty { // CHECK:STDOUT: %Empty.impl_witness: = impl_witness @i32.as.Empty.impl.%Empty.impl_witness_table [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %Empty.facet: %Empty.type = facet_value %i32, (%Empty.impl_witness) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -734,9 +734,9 @@ impl i32 as Empty { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -753,7 +753,7 @@ impl i32 as Empty { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Empty { -// CHECK:STDOUT: %Self: %Empty.type = symbolic_binding Self, 0 [symbolic = constants.%Self.6d2] +// CHECK:STDOUT: %Self: %Empty.type = symbolic_binding Self, 0 [symbolic = constants.%Self.2f3] // CHECK:STDOUT: %Empty.WithSelf.decl = interface_with_self_decl @Empty [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -765,20 +765,20 @@ impl i32 as Empty { // CHECK:STDOUT: // CHECK:STDOUT: impl @i32.as.Empty.impl: %i32.loc6 as %Empty.ref { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %Zero.patt: %pattern_type.c6b = value_binding_pattern Zero [concrete] +// CHECK:STDOUT: %Zero.patt: %pattern_type.104 = value_binding_pattern Zero [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc11_14: type = splice_block %i32.loc11 [concrete = constants.%i32] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32.loc11: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc11_20.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc11_20.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc11_20.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc11_20.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc11_20.2: %i32 = converted %int_0, %.loc11_20.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc11_20.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc11_20.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc11_20.2: %i32 = converted %int_0, %.loc11_20.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %Zero: %i32 = value_binding Zero, %.loc11_20.2 // CHECK:STDOUT: %Empty.impl_witness_table = impl_witness_table (), @i32.as.Empty.impl [concrete] // CHECK:STDOUT: %Empty.impl_witness: = impl_witness %Empty.impl_witness_table [concrete = constants.%Empty.impl_witness] @@ -789,7 +789,7 @@ impl i32 as Empty { // CHECK:STDOUT: witness = %Empty.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.6d2) { +// CHECK:STDOUT: specific @Empty.WithSelf(constants.%Self.2f3) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/convert.carbon b/toolchain/check/testdata/let/convert.carbon index 620325b37190..2331221593b5 100644 --- a/toolchain/check/testdata/let/convert.carbon +++ b/toolchain/check/testdata/let/convert.carbon @@ -50,24 +50,24 @@ fn G() { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.ff9: type = tuple_type (type, type, type) [concrete] -// CHECK:STDOUT: %tuple.bed: %tuple.type.ff9 = tuple_value (%i32, %i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.a64: type = tuple_type (%i32, %i32, %i32) [concrete] -// CHECK:STDOUT: %pattern_type.3ff: type = pattern_type %tuple.type.a64 [concrete] +// CHECK:STDOUT: %tuple.27c: %tuple.type.ff9 = tuple_value (%i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.05f: type = tuple_type (%i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %pattern_type.776: type = pattern_type %tuple.type.05f [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: %pattern_type.3ff = value_binding_pattern w [concrete] +// CHECK:STDOUT: %w.patt: %pattern_type.776 = value_binding_pattern w [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.ref: ref %tuple.type.a64 = name_ref v, %v -// CHECK:STDOUT: %.loc8_24.1: type = splice_block %.loc8_24.3 [concrete = constants.%tuple.type.a64] { +// CHECK:STDOUT: %v.ref: ref %tuple.type.05f = name_ref v, %v +// CHECK:STDOUT: %.loc8_24.1: type = splice_block %.loc8_24.3 [concrete = constants.%tuple.type.05f] { // CHECK:STDOUT: %i32.loc8_11: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc8_16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc8_21: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc8_24.2: %tuple.type.ff9 = tuple_literal (%i32.loc8_11, %i32.loc8_16, %i32.loc8_21) [concrete = constants.%tuple.bed] -// CHECK:STDOUT: %.loc8_24.3: type = converted %.loc8_24.2, constants.%tuple.type.a64 [concrete = constants.%tuple.type.a64] +// CHECK:STDOUT: %.loc8_24.2: %tuple.type.ff9 = tuple_literal (%i32.loc8_11, %i32.loc8_16, %i32.loc8_21) [concrete = constants.%tuple.27c] +// CHECK:STDOUT: %.loc8_24.3: type = converted %.loc8_24.2, constants.%tuple.type.05f [concrete = constants.%tuple.type.05f] // CHECK:STDOUT: } // CHECK:STDOUT: %tuple.elem0.loc8: ref %i32 = tuple_access %v.ref, element0 // CHECK:STDOUT: %.loc8_28.1: %i32 = acquire_value %tuple.elem0.loc8 @@ -75,9 +75,9 @@ fn G() { // CHECK:STDOUT: %.loc8_28.2: %i32 = acquire_value %tuple.elem1.loc8 // CHECK:STDOUT: %tuple.elem2.loc8: ref %i32 = tuple_access %v.ref, element2 // CHECK:STDOUT: %.loc8_28.3: %i32 = acquire_value %tuple.elem2.loc8 -// CHECK:STDOUT: %tuple: %tuple.type.a64 = tuple_value (%.loc8_28.1, %.loc8_28.2, %.loc8_28.3) -// CHECK:STDOUT: %.loc8_28.4: %tuple.type.a64 = converted %v.ref, %tuple -// CHECK:STDOUT: %w: %tuple.type.a64 = value_binding w, %.loc8_28.4 +// CHECK:STDOUT: %tuple: %tuple.type.05f = tuple_value (%.loc8_28.1, %.loc8_28.2, %.loc8_28.3) +// CHECK:STDOUT: %.loc8_28.4: %tuple.type.05f = converted %v.ref, %tuple +// CHECK:STDOUT: %w: %tuple.type.05f = value_binding w, %.loc8_28.4 // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/fail_duplicate_decl.carbon b/toolchain/check/testdata/let/fail_duplicate_decl.carbon index 966d4566c500..0ec5baa3614d 100644 --- a/toolchain/check/testdata/let/fail_duplicate_decl.carbon +++ b/toolchain/check/testdata/let/fail_duplicate_decl.carbon @@ -33,28 +33,28 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -65,9 +65,9 @@ fn F() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -82,30 +82,30 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt.loc16: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt.loc16: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc16: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_23.1: = bound_method %int_1, %impl.elem0.loc16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc16: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_23.1: = bound_method %int_1, %impl.elem0.loc16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_23.2: = bound_method %int_1, %specific_fn.loc16 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16: init %i32 = call %bound_method.loc16_23.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc16_23.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc16_23.2: %i32 = converted %int_1, %.loc16_23.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc16_23.2: = bound_method %int_1, %specific_fn.loc16 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16: init %i32 = call %bound_method.loc16_23.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc16_23.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc16_23.2: %i32 = converted %int_1, %.loc16_23.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %a.loc16: %i32 = value_binding a, %.loc16_23.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt.loc24: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt.loc24: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %i32.loc24: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc24: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc24_23.1: = bound_method %int_2, %impl.elem0.loc24 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0.loc24: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc24_23.1: = bound_method %int_2, %impl.elem0.loc24 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc24: = specific_function %impl.elem0.loc24, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc24_23.2: = bound_method %int_2, %specific_fn.loc24 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc24: init %i32 = call %bound_method.loc24_23.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc24_23.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc24 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc24_23.2: %i32 = converted %int_2, %.loc24_23.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc24_23.2: = bound_method %int_2, %specific_fn.loc24 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc24: init %i32 = call %bound_method.loc24_23.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc24_23.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc24 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc24_23.2: %i32 = converted %int_2, %.loc24_23.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: %a.loc24: %i32 = value_binding a, %.loc24_23.2 // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/let/fail_missing_value.carbon b/toolchain/check/testdata/let/fail_missing_value.carbon index f3bb8a550d33..2c80e8cc3c05 100644 --- a/toolchain/check/testdata/let/fail_missing_value.carbon +++ b/toolchain/check/testdata/let/fail_missing_value.carbon @@ -33,7 +33,7 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -55,7 +55,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {} {} // CHECK:STDOUT: } @@ -63,7 +63,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/let/fail_modifiers.carbon b/toolchain/check/testdata/let/fail_modifiers.carbon index 7b017be54e4e..c958577998ff 100644 --- a/toolchain/check/testdata/let/fail_modifiers.carbon +++ b/toolchain/check/testdata/let/fail_modifiers.carbon @@ -95,24 +95,24 @@ protected protected let i: i32 = 1; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -123,9 +123,9 @@ protected protected let i: i32 = 1; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -142,100 +142,100 @@ protected protected let i: i32 = 1; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc19: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc19: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc19: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc19_24.1: = bound_method @__global_init.%int_1.loc19, %impl.elem0.loc19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc19_24.2: = bound_method @__global_init.%int_1.loc19, %specific_fn.loc19 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %i32 = call %bound_method.loc19_24.2(@__global_init.%int_1.loc19) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_24.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_24.2: %i32 = converted @__global_init.%int_1.loc19, %.loc19_24.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19: init %i32 = call %bound_method.loc19_24.2(@__global_init.%int_1.loc19) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_24.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_24.2: %i32 = converted @__global_init.%int_1.loc19, %.loc19_24.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %b: %i32 = value_binding b, %.loc19_24.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.c6b = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.104 = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc25: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc25: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc25: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc25_22.1: = bound_method @__global_init.%int_1.loc25, %impl.elem0.loc25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc25: = specific_function %impl.elem0.loc25, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc25_22.2: = bound_method @__global_init.%int_1.loc25, %specific_fn.loc25 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25: init %i32 = call %bound_method.loc25_22.2(@__global_init.%int_1.loc25) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc25_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc25_22.2: %i32 = converted @__global_init.%int_1.loc25, %.loc25_22.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25: init %i32 = call %bound_method.loc25_22.2(@__global_init.%int_1.loc25) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc25_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc25_22.2: %i32 = converted @__global_init.%int_1.loc25, %.loc25_22.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %c: %i32 = value_binding c, %.loc25_22.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.c6b = value_binding_pattern d [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.104 = value_binding_pattern d [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc31: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc31: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc31: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc31_20.1: = bound_method @__global_init.%int_1.loc31, %impl.elem0.loc31 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc31: = specific_function %impl.elem0.loc31, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc31_20.2: = bound_method @__global_init.%int_1.loc31, %specific_fn.loc31 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31: init %i32 = call %bound_method.loc31_20.2(@__global_init.%int_1.loc31) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc31_20.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc31_20.2: %i32 = converted @__global_init.%int_1.loc31, %.loc31_20.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31: init %i32 = call %bound_method.loc31_20.2(@__global_init.%int_1.loc31) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc31_20.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc31_20.2: %i32 = converted @__global_init.%int_1.loc31, %.loc31_20.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %d: %i32 = value_binding d, %.loc31_20.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e.patt: %pattern_type.c6b = value_binding_pattern e [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.104 = value_binding_pattern e [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc37: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc37: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc37: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc37_22.1: = bound_method @__global_init.%int_1.loc37, %impl.elem0.loc37 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc37: = specific_function %impl.elem0.loc37, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc37_22.2: = bound_method @__global_init.%int_1.loc37, %specific_fn.loc37 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc37: init %i32 = call %bound_method.loc37_22.2(@__global_init.%int_1.loc37) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc37_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc37 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc37_22.2: %i32 = converted @__global_init.%int_1.loc37, %.loc37_22.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc37: init %i32 = call %bound_method.loc37_22.2(@__global_init.%int_1.loc37) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc37_22.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc37 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc37_22.2: %i32 = converted @__global_init.%int_1.loc37, %.loc37_22.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %e: %i32 = value_binding e, %.loc37_22.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %f.patt: %pattern_type.c6b = value_binding_pattern f [concrete] +// CHECK:STDOUT: %f.patt: %pattern_type.104 = value_binding_pattern f [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc50: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc50: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc50: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc50_28.1: = bound_method @__global_init.%int_1.loc50, %impl.elem0.loc50 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc50: = specific_function %impl.elem0.loc50, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc50_28.2: = bound_method @__global_init.%int_1.loc50, %specific_fn.loc50 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc50: init %i32 = call %bound_method.loc50_28.2(@__global_init.%int_1.loc50) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc50_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc50 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc50_28.2: %i32 = converted @__global_init.%int_1.loc50, %.loc50_28.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc50: init %i32 = call %bound_method.loc50_28.2(@__global_init.%int_1.loc50) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc50_28.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc50 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc50_28.2: %i32 = converted @__global_init.%int_1.loc50, %.loc50_28.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %f: %i32 = value_binding f, %.loc50_28.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %g.patt: %pattern_type.c6b = value_binding_pattern g [concrete] +// CHECK:STDOUT: %g.patt: %pattern_type.104 = value_binding_pattern g [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc63: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc63: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc63: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc63_30.1: = bound_method @__global_init.%int_1.loc63, %impl.elem0.loc63 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc63: = specific_function %impl.elem0.loc63, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc63_30.2: = bound_method @__global_init.%int_1.loc63, %specific_fn.loc63 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc63: init %i32 = call %bound_method.loc63_30.2(@__global_init.%int_1.loc63) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc63_30.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc63 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc63_30.2: %i32 = converted @__global_init.%int_1.loc63, %.loc63_30.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc63: init %i32 = call %bound_method.loc63_30.2(@__global_init.%int_1.loc63) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc63_30.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc63 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc63_30.2: %i32 = converted @__global_init.%int_1.loc63, %.loc63_30.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %g: %i32 = value_binding g, %.loc63_30.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %h.patt: %pattern_type.c6b = value_binding_pattern h [concrete] +// CHECK:STDOUT: %h.patt: %pattern_type.104 = value_binding_pattern h [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc76: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc76: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc76: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc76_32.1: = bound_method @__global_init.%int_1.loc76, %impl.elem0.loc76 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc76: = specific_function %impl.elem0.loc76, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc76_32.2: = bound_method @__global_init.%int_1.loc76, %specific_fn.loc76 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc76: init %i32 = call %bound_method.loc76_32.2(@__global_init.%int_1.loc76) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc76_32.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc76 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc76_32.2: %i32 = converted @__global_init.%int_1.loc76, %.loc76_32.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc76: init %i32 = call %bound_method.loc76_32.2(@__global_init.%int_1.loc76) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc76_32.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc76 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc76_32.2: %i32 = converted @__global_init.%int_1.loc76, %.loc76_32.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %h: %i32 = value_binding h, %.loc76_32.2 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %i.patt: %pattern_type.c6b = value_binding_pattern i [concrete] +// CHECK:STDOUT: %i.patt: %pattern_type.104 = value_binding_pattern i [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc89: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc89: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc89: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc89_34.1: = bound_method @__global_init.%int_1.loc89, %impl.elem0.loc89 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc89: = specific_function %impl.elem0.loc89, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc89_34.2: = bound_method @__global_init.%int_1.loc89, %specific_fn.loc89 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc89: init %i32 = call %bound_method.loc89_34.2(@__global_init.%int_1.loc89) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc89_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc89 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc89_34.2: %i32 = converted @__global_init.%int_1.loc89, %.loc89_34.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc89: init %i32 = call %bound_method.loc89_34.2(@__global_init.%int_1.loc89) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc89_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc89 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc89_34.2: %i32 = converted @__global_init.%int_1.loc89, %.loc89_34.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %i: %i32 = value_binding i, %.loc89_34.2 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/let/fail_use_in_init.carbon b/toolchain/check/testdata/let/fail_use_in_init.carbon index b92edba078cc..23c4c2ec7375 100644 --- a/toolchain/check/testdata/let/fail_use_in_init.carbon +++ b/toolchain/check/testdata/let/fail_use_in_init.carbon @@ -36,7 +36,7 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -60,7 +60,7 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.ref: = name_ref a, [concrete = ] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/let/global.carbon b/toolchain/check/testdata/let/global.carbon index b34129463a2d..de5653a7455f 100644 --- a/toolchain/check/testdata/let/global.carbon +++ b/toolchain/check/testdata/let/global.carbon @@ -24,37 +24,37 @@ fn F() -> i32 { return n; } // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -66,12 +66,12 @@ fn F() -> i32 { return n; } // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -82,23 +82,23 @@ fn F() -> i32 { return n; } // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc15_14.1: = bound_method @__global_init.%int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_14.2: = bound_method @__global_init.%int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_14.2(@__global_init.%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_14.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_14.2: %i32 = converted @__global_init.%int_1, %.loc15_14.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_14.2(@__global_init.%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_14.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_14.2: %i32 = converted @__global_init.%int_1, %.loc15_14.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %n: %i32 = value_binding n, %.loc15_14.2 // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc17: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc17: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -107,7 +107,7 @@ fn F() -> i32 { return n; } // CHECK:STDOUT: fn @F() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %n.ref: %i32 = name_ref n, file.%n -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc17_24.1: = bound_method %n.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc17_24.2: = bound_method %n.ref, %specific_fn diff --git a/toolchain/check/testdata/let/local.carbon b/toolchain/check/testdata/let/local.carbon index 5ba4b07f8c9a..acdc24e263a0 100644 --- a/toolchain/check/testdata/let/local.carbon +++ b/toolchain/check/testdata/let/local.carbon @@ -44,34 +44,34 @@ fn CallF() { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%a.param: %i32) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = value_binding_pattern b [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = value_binding_pattern b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.ref: %i32 = name_ref a, %a // CHECK:STDOUT: %i32.loc5: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: %i32 = value_binding b, %a.ref // CHECK:STDOUT: %b.ref: %i32 = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc6_10.1: = bound_method %b.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_10.2: = bound_method %b.ref, %specific_fn diff --git a/toolchain/check/testdata/let/ref.carbon b/toolchain/check/testdata/let/ref.carbon index 15ce4f8d8892..a3965d30846a 100644 --- a/toolchain/check/testdata/let/ref.carbon +++ b/toolchain/check/testdata/let/ref.carbon @@ -53,28 +53,28 @@ fn F() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %pattern_type.624: type = pattern_type %tuple.type.87c [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %pattern_type.7d6: type = pattern_type %tuple.type.e5a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%a.param: %i32) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.c6b = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.104 = ref_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.ref.loc7: ref %i32 = name_ref b, %b // CHECK:STDOUT: %i32.loc7: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %c: ref %i32 = ref_binding c, %b.ref.loc7 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.c6b = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %e.patt: %pattern_type.c6b = ref_binding_pattern e [concrete] -// CHECK:STDOUT: %.loc8_44: %pattern_type.624 = tuple_pattern (%d.patt, %e.patt) [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.104 = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.104 = ref_binding_pattern e [concrete] +// CHECK:STDOUT: %.loc8_44: %pattern_type.7d6 = tuple_pattern (%d.patt, %e.patt) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.ref.loc8: ref %i32 = name_ref b, %b // CHECK:STDOUT: %c.ref: ref %i32 = name_ref c, %c -// CHECK:STDOUT: %.loc8_53: %tuple.type.87c = tuple_literal (%b.ref.loc8, %c.ref) +// CHECK:STDOUT: %.loc8_53: %tuple.type.e5a = tuple_literal (%b.ref.loc8, %c.ref) // CHECK:STDOUT: %i32.loc8_22: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %d: ref %i32 = ref_binding d, %b.ref.loc8 // CHECK:STDOUT: %i32.loc8_41: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/let/shadowed_decl.carbon b/toolchain/check/testdata/let/shadowed_decl.carbon index 527a277f9ac6..b7777937a14a 100644 --- a/toolchain/check/testdata/let/shadowed_decl.carbon +++ b/toolchain/check/testdata/let/shadowed_decl.carbon @@ -26,37 +26,37 @@ fn F(unused a: i32) -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -68,12 +68,12 @@ fn F(unused a: i32) -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -83,13 +83,13 @@ fn F(unused a: i32) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt.loc15: %pattern_type.c6b = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15_24 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt.loc15: %pattern_type.104 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15_24 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15_24: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15_24 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15_24 [concrete = constants.%.7ea] // CHECK:STDOUT: %a.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc15_16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a.loc15: %i32 = value_binding a, %a.param @@ -101,20 +101,20 @@ fn F(unused a: i32) -> i32 { // CHECK:STDOUT: fn @F(%a.param: %i32) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt.loc16: %pattern_type.c6b = value_binding_pattern a [concrete] +// CHECK:STDOUT: %a.patt.loc16: %pattern_type.104 = value_binding_pattern a [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc16: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc16: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc16_16.1: = bound_method %int_1, %impl.elem0.loc16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc16_16.2: = bound_method %int_1, %specific_fn.loc16 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_16.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc16_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc16_16.2: %i32 = converted %int_1, %.loc16_16.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_16.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc16_16.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc16_16.2: %i32 = converted %int_1, %.loc16_16.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %a.loc16: %i32 = value_binding a, %.loc16_16.2 // CHECK:STDOUT: %a.ref: %i32 = name_ref a, %a.loc16 -// CHECK:STDOUT: %impl.elem0.loc18: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc18: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc18_10.1: = bound_method %a.ref, %impl.elem0.loc18 // CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc18_10.2: = bound_method %a.ref, %specific_fn.loc18 diff --git a/toolchain/check/testdata/main_run/no_return.carbon b/toolchain/check/testdata/main_run/no_return.carbon index 16b5f80fe600..1cec3e241e90 100644 --- a/toolchain/check/testdata/main_run/no_return.carbon +++ b/toolchain/check/testdata/main_run/no_return.carbon @@ -59,9 +59,9 @@ fn Run(unused argc: i32, unused argv: i32*) {} // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr [concrete] // CHECK:STDOUT: %Run.type: type = fn_type @Run [concrete] // CHECK:STDOUT: %Run: %Run.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -82,10 +82,10 @@ fn Run(unused argc: i32, unused argv: i32*) {} // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Run.decl: %Run.type = fn_decl @Run [concrete = constants.%Run] { -// CHECK:STDOUT: %argc.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %argc.patt: %pattern_type.c6b = at_binding_pattern argc, %argc.param_patt [concrete] -// CHECK:STDOUT: %argv.param_patt: %pattern_type.663 = value_param_pattern [concrete] -// CHECK:STDOUT: %argv.patt: %pattern_type.663 = at_binding_pattern argv, %argv.param_patt [concrete] +// CHECK:STDOUT: %argc.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %argc.patt: %pattern_type.104 = at_binding_pattern argc, %argc.param_patt [concrete] +// CHECK:STDOUT: %argv.param_patt: %pattern_type.7b5 = value_param_pattern [concrete] +// CHECK:STDOUT: %argv.patt: %pattern_type.7b5 = at_binding_pattern argv, %argv.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %argc.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc5_21: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/main_run/return_i32.carbon b/toolchain/check/testdata/main_run/return_i32.carbon index 0be164a636a9..d968eea4f02b 100644 --- a/toolchain/check/testdata/main_run/return_i32.carbon +++ b/toolchain/check/testdata/main_run/return_i32.carbon @@ -31,27 +31,27 @@ fn Run(unused argc: i32, unused argv: i32*) -> i32 { return 0; } // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Run.type: type = fn_type @Run [concrete] // CHECK:STDOUT: %Run: %Run.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -62,9 +62,9 @@ fn Run(unused argc: i32, unused argv: i32*) -> i32 { return 0; } // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -74,11 +74,11 @@ fn Run(unused argc: i32, unused argv: i32*) -> i32 { return 0; } // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Run.decl: %Run.type = fn_decl @Run [concrete = constants.%Run] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_13: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc4_13: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -87,12 +87,12 @@ fn Run(unused argc: i32, unused argv: i32*) -> i32 { return 0; } // CHECK:STDOUT: fn @Run() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc4_27.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc4_27.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_27.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc4_27: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_27.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc4_27: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: return %.loc4_27 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -103,29 +103,29 @@ fn Run(unused argc: i32, unused argv: i32*) -> i32 { return 0; } // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %ptr: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] // CHECK:STDOUT: %Run.type: type = fn_type @Run [concrete] // CHECK:STDOUT: %Run: %Run.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -136,9 +136,9 @@ fn Run(unused argc: i32, unused argv: i32*) -> i32 { return 0; } // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -148,15 +148,15 @@ fn Run(unused argc: i32, unused argv: i32*) -> i32 { return 0; } // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Run.decl: %Run.type = fn_decl @Run [concrete = constants.%Run] { -// CHECK:STDOUT: %argc.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %argc.patt: %pattern_type.c6b = at_binding_pattern argc, %argc.param_patt [concrete] -// CHECK:STDOUT: %argv.param_patt: %pattern_type.663 = value_param_pattern [concrete] -// CHECK:STDOUT: %argv.patt: %pattern_type.663 = at_binding_pattern argv, %argv.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc5_48 [concrete] +// CHECK:STDOUT: %argc.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %argc.patt: %pattern_type.104 = at_binding_pattern argc, %argc.param_patt [concrete] +// CHECK:STDOUT: %argv.param_patt: %pattern_type.7b5 = value_param_pattern [concrete] +// CHECK:STDOUT: %argv.patt: %pattern_type.7b5 = at_binding_pattern argv, %argv.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc5_48 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc5_48: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc5_48: Core.Form = init_form %i32.loc5_48 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc5_48: Core.Form = init_form %i32.loc5_48 [concrete = constants.%.7ea] // CHECK:STDOUT: %argc.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc5_21: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %argc: %i32 = value_binding argc, %argc.param @@ -174,12 +174,12 @@ fn Run(unused argc: i32, unused argv: i32*) -> i32 { return 0; } // CHECK:STDOUT: fn @Run(%argc.param: %i32, %argv.param: %ptr) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc5_62.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc5_62.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_62.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc5_62: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_62.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc5_62: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: return %.loc5_62 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/named_constraint/convert.carbon b/toolchain/check/testdata/named_constraint/convert.carbon index fb9c4dc5bb35..2fa8fd151f79 100644 --- a/toolchain/check/testdata/named_constraint/convert.carbon +++ b/toolchain/check/testdata/named_constraint/convert.carbon @@ -69,11 +69,11 @@ fn G(T:! Z) { // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.type.89e: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] +// CHECK:STDOUT: %BitAndWith.type.2af: type = facet_type <@BitAndWith, @BitAndWith(type)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness imports.%BitAndWith.impl_witness_table [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.89e = facet_value type, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.7b3: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %.6c6: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.7b3, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.2af = facet_value type, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.5d1: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(type, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %.9ee: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.5d1, %BitAndWith.facet [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.type: type = fn_type @type.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op: %type.as.BitAndWith.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.bound: = bound_method %E.type, %type.as.BitAndWith.impl.Op [concrete] @@ -84,8 +84,8 @@ fn G(T:! Z) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.35b: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] -// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.35b), @type.as.BitAndWith.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.BitAndWith.impl.Op.type = import_ref Core//prelude/parts/as, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %BitAndWith.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @type.as.BitAndWith.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -96,7 +96,7 @@ fn G(T:! Z) { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %E.ref.loc8_10: type = name_ref E, file.%E.decl [concrete = constants.%E.type] // CHECK:STDOUT: %E.ref.loc8_14: type = name_ref E, file.%E.decl [concrete = constants.%E.type] -// CHECK:STDOUT: %impl.elem0: %.6c6 = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.9ee = impl_witness_access constants.%BitAndWith.impl_witness, element0 [concrete = constants.%type.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %E.ref.loc8_10, %impl.elem0 [concrete = constants.%type.as.BitAndWith.impl.Op.bound] // CHECK:STDOUT: %type.as.BitAndWith.impl.Op.call: init type = call %bound_method(%E.ref.loc8_10, %E.ref.loc8_14) [concrete = constants.%E.type] // CHECK:STDOUT: %.loc8_12.2: type = value_of_initializer %type.as.BitAndWith.impl.Op.call [concrete = constants.%E.type] diff --git a/toolchain/check/testdata/named_constraint/empty.carbon b/toolchain/check/testdata/named_constraint/empty.carbon index 6d4cd1feb971..5712373f60b3 100644 --- a/toolchain/check/testdata/named_constraint/empty.carbon +++ b/toolchain/check/testdata/named_constraint/empty.carbon @@ -43,8 +43,8 @@ fn G(T:! Z, U:! type, V:! Empty) { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %pattern_type.3ab: type = pattern_type %Z.type [concrete] -// CHECK:STDOUT: %T.06f: %Z.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.461: type = pattern_type %Z.type [concrete] +// CHECK:STDOUT: %T.aa0: %Z.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %U: type = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %V: %Empty.type = symbolic_binding V, 2 [symbolic] @@ -53,15 +53,15 @@ fn G(T:! Z, U:! type, V:! Empty) { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %Empty.facet.76f: %Empty.type = facet_value %empty_struct_type, () [concrete] -// CHECK:STDOUT: %F.specific_fn.bc6: = specific_function %F, @F(%Empty.facet.76f) [concrete] +// CHECK:STDOUT: %F.specific_fn.94d: = specific_function %F, @F(%Empty.facet.76f) [concrete] // CHECK:STDOUT: %Empty.facet.2cb: %Empty.type = facet_value type, () [concrete] -// CHECK:STDOUT: %F.specific_fn.4a6: = specific_function %F, @F(%Empty.facet.2cb) [concrete] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.06f [symbolic] -// CHECK:STDOUT: %Empty.facet.88f: %Empty.type = facet_value %T.as_type, () [symbolic] -// CHECK:STDOUT: %F.specific_fn.abf: = specific_function %F, @F(%Empty.facet.88f) [symbolic] +// CHECK:STDOUT: %F.specific_fn.cbb: = specific_function %F, @F(%Empty.facet.2cb) [concrete] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.aa0 [symbolic] +// CHECK:STDOUT: %Empty.facet.0a5: %Empty.type = facet_value %T.as_type, () [symbolic] +// CHECK:STDOUT: %F.specific_fn.618: = specific_function %F, @F(%Empty.facet.0a5) [symbolic] // CHECK:STDOUT: %Empty.facet.380: %Empty.type = facet_value %U, () [symbolic] -// CHECK:STDOUT: %F.specific_fn.9e6: = specific_function %F, @F(%Empty.facet.380) [symbolic] -// CHECK:STDOUT: %F.specific_fn.bce: = specific_function %F, @F(%V) [symbolic] +// CHECK:STDOUT: %F.specific_fn.0ab: = specific_function %F, @F(%Empty.facet.380) [symbolic] +// CHECK:STDOUT: %F.specific_fn.36b: = specific_function %F, @F(%V) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -75,7 +75,7 @@ fn G(T:! Z, U:! type, V:! Empty) { // CHECK:STDOUT: %T.loc19_14.2: %Empty.type = symbolic_binding T, 0 [symbolic = %T.loc19_14.1 (constants.%T.f45)] // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %T.patt: %pattern_type.3ab = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.461 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: %V.patt: %pattern_type.9a5 = symbolic_binding_pattern V, 2 [concrete] // CHECK:STDOUT: } { @@ -83,7 +83,7 @@ fn G(T:! Z, U:! type, V:! Empty) { // CHECK:STDOUT: %.Self.loc25_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc25_7.2: %Z.type = symbolic_binding T, 0 [symbolic = %T.loc25_7.1 (constants.%T.06f)] +// CHECK:STDOUT: %T.loc25_7.2: %Z.type = symbolic_binding T, 0 [symbolic = %T.loc25_7.1 (constants.%T.aa0)] // CHECK:STDOUT: %.loc25_17.1: type = splice_block %.loc25_17.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc25_14: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc25_17.2: type = type_literal type [concrete = type] @@ -109,17 +109,17 @@ fn G(T:! Z, U:! type, V:! Empty) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @G(%T.loc25_7.2: %Z.type, %U.loc25_14.2: type, %V.loc25_24.2: %Empty.type) { -// CHECK:STDOUT: %T.loc25_7.1: %Z.type = symbolic_binding T, 0 [symbolic = %T.loc25_7.1 (constants.%T.06f)] +// CHECK:STDOUT: %T.loc25_7.1: %Z.type = symbolic_binding T, 0 [symbolic = %T.loc25_7.1 (constants.%T.aa0)] // CHECK:STDOUT: %U.loc25_14.1: type = symbolic_binding U, 1 [symbolic = %U.loc25_14.1 (constants.%U)] // CHECK:STDOUT: %V.loc25_24.1: %Empty.type = symbolic_binding V, 2 [symbolic = %V.loc25_24.1 (constants.%V)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T.as_type.loc28_6.2: type = facet_access_type %T.loc25_7.1 [symbolic = %T.as_type.loc28_6.2 (constants.%T.as_type)] -// CHECK:STDOUT: %Empty.facet.loc28_6.2: %Empty.type = facet_value %T.as_type.loc28_6.2, () [symbolic = %Empty.facet.loc28_6.2 (constants.%Empty.facet.88f)] -// CHECK:STDOUT: %F.specific_fn.loc28_3.2: = specific_function constants.%F, @F(%Empty.facet.loc28_6.2) [symbolic = %F.specific_fn.loc28_3.2 (constants.%F.specific_fn.abf)] +// CHECK:STDOUT: %Empty.facet.loc28_6.2: %Empty.type = facet_value %T.as_type.loc28_6.2, () [symbolic = %Empty.facet.loc28_6.2 (constants.%Empty.facet.0a5)] +// CHECK:STDOUT: %F.specific_fn.loc28_3.2: = specific_function constants.%F, @F(%Empty.facet.loc28_6.2) [symbolic = %F.specific_fn.loc28_3.2 (constants.%F.specific_fn.618)] // CHECK:STDOUT: %Empty.facet.loc29_6.2: %Empty.type = facet_value %U.loc25_14.1, () [symbolic = %Empty.facet.loc29_6.2 (constants.%Empty.facet.380)] -// CHECK:STDOUT: %F.specific_fn.loc29_3.2: = specific_function constants.%F, @F(%Empty.facet.loc29_6.2) [symbolic = %F.specific_fn.loc29_3.2 (constants.%F.specific_fn.9e6)] -// CHECK:STDOUT: %F.specific_fn.loc30_3.2: = specific_function constants.%F, @F(%V.loc25_24.1) [symbolic = %F.specific_fn.loc30_3.2 (constants.%F.specific_fn.bce)] +// CHECK:STDOUT: %F.specific_fn.loc29_3.2: = specific_function constants.%F, @F(%Empty.facet.loc29_6.2) [symbolic = %F.specific_fn.loc29_3.2 (constants.%F.specific_fn.0ab)] +// CHECK:STDOUT: %F.specific_fn.loc30_3.2: = specific_function constants.%F, @F(%V.loc25_24.1) [symbolic = %F.specific_fn.loc30_3.2 (constants.%F.specific_fn.36b)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: @@ -127,30 +127,30 @@ fn G(T:! Z, U:! type, V:! Empty) { // CHECK:STDOUT: %.loc26_6: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %Empty.facet.loc26: %Empty.type = facet_value constants.%empty_struct_type, () [concrete = constants.%Empty.facet.76f] // CHECK:STDOUT: %.loc26_7: %Empty.type = converted %.loc26_6, %Empty.facet.loc26 [concrete = constants.%Empty.facet.76f] -// CHECK:STDOUT: %F.specific_fn.loc26: = specific_function %F.ref.loc26, @F(constants.%Empty.facet.76f) [concrete = constants.%F.specific_fn.bc6] +// CHECK:STDOUT: %F.specific_fn.loc26: = specific_function %F.ref.loc26, @F(constants.%Empty.facet.76f) [concrete = constants.%F.specific_fn.94d] // CHECK:STDOUT: %F.call.loc26: init %empty_tuple.type = call %F.specific_fn.loc26() // CHECK:STDOUT: %F.ref.loc27: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %.loc27_5: type = type_literal type [concrete = type] // CHECK:STDOUT: %Empty.facet.loc27: %Empty.type = facet_value %.loc27_5, () [concrete = constants.%Empty.facet.2cb] // CHECK:STDOUT: %.loc27_9: %Empty.type = converted %.loc27_5, %Empty.facet.loc27 [concrete = constants.%Empty.facet.2cb] -// CHECK:STDOUT: %F.specific_fn.loc27: = specific_function %F.ref.loc27, @F(constants.%Empty.facet.2cb) [concrete = constants.%F.specific_fn.4a6] +// CHECK:STDOUT: %F.specific_fn.loc27: = specific_function %F.ref.loc27, @F(constants.%Empty.facet.2cb) [concrete = constants.%F.specific_fn.cbb] // CHECK:STDOUT: %F.call.loc27: init %empty_tuple.type = call %F.specific_fn.loc27() // CHECK:STDOUT: %F.ref.loc28: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %T.ref: %Z.type = name_ref T, %T.loc25_7.2 [symbolic = %T.loc25_7.1 (constants.%T.06f)] +// CHECK:STDOUT: %T.ref: %Z.type = name_ref T, %T.loc25_7.2 [symbolic = %T.loc25_7.1 (constants.%T.aa0)] // CHECK:STDOUT: %T.as_type.loc28_6.1: type = facet_access_type %T.ref [symbolic = %T.as_type.loc28_6.2 (constants.%T.as_type)] -// CHECK:STDOUT: %Empty.facet.loc28_6.1: %Empty.type = facet_value %T.as_type.loc28_6.1, () [symbolic = %Empty.facet.loc28_6.2 (constants.%Empty.facet.88f)] -// CHECK:STDOUT: %.loc28: %Empty.type = converted %T.ref, %Empty.facet.loc28_6.1 [symbolic = %Empty.facet.loc28_6.2 (constants.%Empty.facet.88f)] -// CHECK:STDOUT: %F.specific_fn.loc28_3.1: = specific_function %F.ref.loc28, @F(constants.%Empty.facet.88f) [symbolic = %F.specific_fn.loc28_3.2 (constants.%F.specific_fn.abf)] +// CHECK:STDOUT: %Empty.facet.loc28_6.1: %Empty.type = facet_value %T.as_type.loc28_6.1, () [symbolic = %Empty.facet.loc28_6.2 (constants.%Empty.facet.0a5)] +// CHECK:STDOUT: %.loc28: %Empty.type = converted %T.ref, %Empty.facet.loc28_6.1 [symbolic = %Empty.facet.loc28_6.2 (constants.%Empty.facet.0a5)] +// CHECK:STDOUT: %F.specific_fn.loc28_3.1: = specific_function %F.ref.loc28, @F(constants.%Empty.facet.0a5) [symbolic = %F.specific_fn.loc28_3.2 (constants.%F.specific_fn.618)] // CHECK:STDOUT: %F.call.loc28: init %empty_tuple.type = call %F.specific_fn.loc28_3.1() // CHECK:STDOUT: %F.ref.loc29: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %U.ref: type = name_ref U, %U.loc25_14.2 [symbolic = %U.loc25_14.1 (constants.%U)] // CHECK:STDOUT: %Empty.facet.loc29_6.1: %Empty.type = facet_value %U.ref, () [symbolic = %Empty.facet.loc29_6.2 (constants.%Empty.facet.380)] // CHECK:STDOUT: %.loc29: %Empty.type = converted %U.ref, %Empty.facet.loc29_6.1 [symbolic = %Empty.facet.loc29_6.2 (constants.%Empty.facet.380)] -// CHECK:STDOUT: %F.specific_fn.loc29_3.1: = specific_function %F.ref.loc29, @F(constants.%Empty.facet.380) [symbolic = %F.specific_fn.loc29_3.2 (constants.%F.specific_fn.9e6)] +// CHECK:STDOUT: %F.specific_fn.loc29_3.1: = specific_function %F.ref.loc29, @F(constants.%Empty.facet.380) [symbolic = %F.specific_fn.loc29_3.2 (constants.%F.specific_fn.0ab)] // CHECK:STDOUT: %F.call.loc29: init %empty_tuple.type = call %F.specific_fn.loc29_3.1() // CHECK:STDOUT: %F.ref.loc30: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %V.ref: %Empty.type = name_ref V, %V.loc25_24.2 [symbolic = %V.loc25_24.1 (constants.%V)] -// CHECK:STDOUT: %F.specific_fn.loc30_3.1: = specific_function %F.ref.loc30, @F(constants.%V) [symbolic = %F.specific_fn.loc30_3.2 (constants.%F.specific_fn.bce)] +// CHECK:STDOUT: %F.specific_fn.loc30_3.1: = specific_function %F.ref.loc30, @F(constants.%V) [symbolic = %F.specific_fn.loc30_3.2 (constants.%F.specific_fn.36b)] // CHECK:STDOUT: %F.call.loc30: init %empty_tuple.type = call %F.specific_fn.loc30_3.1() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -160,8 +160,8 @@ fn G(T:! Z, U:! type, V:! Empty) { // CHECK:STDOUT: %T.loc19_14.1 => constants.%T.f45 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @G(constants.%T.06f, constants.%U, constants.%V) { -// CHECK:STDOUT: %T.loc25_7.1 => constants.%T.06f +// CHECK:STDOUT: specific @G(constants.%T.aa0, constants.%U, constants.%V) { +// CHECK:STDOUT: %T.loc25_7.1 => constants.%T.aa0 // CHECK:STDOUT: %U.loc25_14.1 => constants.%U // CHECK:STDOUT: %V.loc25_24.1 => constants.%V // CHECK:STDOUT: } @@ -178,8 +178,8 @@ fn G(T:! Z, U:! type, V:! Empty) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%Empty.facet.88f) { -// CHECK:STDOUT: %T.loc19_14.1 => constants.%Empty.facet.88f +// CHECK:STDOUT: specific @F(constants.%Empty.facet.0a5) { +// CHECK:STDOUT: %T.loc19_14.1 => constants.%Empty.facet.0a5 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/named_constraint/empty_generic.carbon b/toolchain/check/testdata/named_constraint/empty_generic.carbon index 6d343a145e35..5af133776944 100644 --- a/toolchain/check/testdata/named_constraint/empty_generic.carbon +++ b/toolchain/check/testdata/named_constraint/empty_generic.carbon @@ -34,18 +34,18 @@ fn G(T:! Z, U:! Empty(T), V:! type) { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Empty.type.c87: type = generic_named_constaint_type @Empty [concrete] +// CHECK:STDOUT: %Empty.type.61e: type = generic_named_constaint_type @Empty [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %empty_struct.6e8: %Empty.type.c87 = struct_value () [concrete] +// CHECK:STDOUT: %empty_struct.3ee: %Empty.type.61e = struct_value () [concrete] // CHECK:STDOUT: %Empty.type.d682d6.1: type = facet_type <@Empty, @Empty(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.92a331.1: %Empty.type.d682d6.1 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.7f4dd1.1: %Empty.type.d682d6.1 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %pattern_type.9a587c.1: type = pattern_type %Empty.type.d682d6.1 [symbolic] // CHECK:STDOUT: %U.e1f642.1: %Empty.type.d682d6.1 = symbolic_binding U, 1 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.3ab: type = pattern_type %Z.type [concrete] -// CHECK:STDOUT: %T.06f: %Z.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.06f [symbolic] +// CHECK:STDOUT: %pattern_type.461: type = pattern_type %Z.type [concrete] +// CHECK:STDOUT: %T.aa0: %Z.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.aa0 [symbolic] // CHECK:STDOUT: %Empty.type.d682d6.2: type = facet_type <@Empty, @Empty(%T.as_type)> [symbolic] // CHECK:STDOUT: %pattern_type.9a587c.2: type = pattern_type %Empty.type.d682d6.2 [symbolic] // CHECK:STDOUT: %U.e1f642.2: %Empty.type.d682d6.2 = symbolic_binding U, 1 [symbolic] @@ -56,21 +56,21 @@ fn G(T:! Z, U:! Empty(T), V:! type) { // CHECK:STDOUT: %empty_struct.a40: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct.type.facet: %type = facet_value %empty_struct_type, () [concrete] // CHECK:STDOUT: %Empty.facet.76f: %Empty.type.d682d6.2 = facet_value %empty_struct_type, () [symbolic] -// CHECK:STDOUT: %F.specific_fn.2ab: = specific_function %F, @F(%T.as_type, %Empty.facet.76f) [symbolic] +// CHECK:STDOUT: %F.specific_fn.ecd: = specific_function %F, @F(%T.as_type, %Empty.facet.76f) [symbolic] // CHECK:STDOUT: %facet_value.2cb: %type = facet_value type, () [concrete] // CHECK:STDOUT: %Empty.facet.2cb: %Empty.type.d682d6.2 = facet_value type, () [symbolic] -// CHECK:STDOUT: %F.specific_fn.cc0: = specific_function %F, @F(%T.as_type, %Empty.facet.2cb) [symbolic] -// CHECK:STDOUT: %Empty.facet.88f: %Empty.type.d682d6.2 = facet_value %T.as_type, () [symbolic] -// CHECK:STDOUT: %F.specific_fn.437: = specific_function %F, @F(%T.as_type, %Empty.facet.88f) [symbolic] -// CHECK:STDOUT: %Self.92a331.2: %Empty.type.d682d6.2 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %F.specific_fn.229: = specific_function %F, @F(%T.as_type, %U.e1f642.2) [symbolic] +// CHECK:STDOUT: %F.specific_fn.aac: = specific_function %F, @F(%T.as_type, %Empty.facet.2cb) [symbolic] +// CHECK:STDOUT: %Empty.facet.0a5: %Empty.type.d682d6.2 = facet_value %T.as_type, () [symbolic] +// CHECK:STDOUT: %F.specific_fn.cf0: = specific_function %F, @F(%T.as_type, %Empty.facet.0a5) [symbolic] +// CHECK:STDOUT: %Self.7f4dd1.2: %Empty.type.d682d6.2 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %F.specific_fn.047: = specific_function %F, @F(%T.as_type, %U.e1f642.2) [symbolic] // CHECK:STDOUT: %facet_value.ed5: %type = facet_value %V, () [symbolic] // CHECK:STDOUT: %Empty.facet.ed5: %Empty.type.d682d6.2 = facet_value %V, () [symbolic] -// CHECK:STDOUT: %F.specific_fn.b87: = specific_function %F, @F(%T.as_type, %Empty.facet.ed5) [symbolic] +// CHECK:STDOUT: %F.specific_fn.475: = specific_function %F, @F(%T.as_type, %Empty.facet.ed5) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { -// CHECK:STDOUT: %Empty.decl: %Empty.type.c87 = constraint_decl @Empty [concrete = constants.%empty_struct.6e8] { +// CHECK:STDOUT: %Empty.decl: %Empty.type.61e = constraint_decl @Empty [concrete = constants.%empty_struct.3ee] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc16_22.1: type = splice_block %.loc16_22.2 [concrete = type] { @@ -90,14 +90,14 @@ fn G(T:! Z, U:! Empty(T), V:! type) { // CHECK:STDOUT: %T.loc18_7.2: type = symbolic_binding T, 0 [symbolic = %T.loc18_7.1 (constants.%T.67d)] // CHECK:STDOUT: %.loc18_34: type = splice_block %Empty.type.loc18_34.2 [symbolic = %Empty.type.loc18_34.1 (constants.%Empty.type.d682d6.1)] { // CHECK:STDOUT: %.Self.loc18_24: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Empty.ref: %Empty.type.c87 = name_ref Empty, file.%Empty.decl [concrete = constants.%empty_struct.6e8] +// CHECK:STDOUT: %Empty.ref: %Empty.type.61e = name_ref Empty, file.%Empty.decl [concrete = constants.%empty_struct.3ee] // CHECK:STDOUT: %T.ref: type = name_ref T, %T.loc18_7.2 [symbolic = %T.loc18_7.1 (constants.%T.67d)] // CHECK:STDOUT: %Empty.type.loc18_34.2: type = facet_type <@Empty, @Empty(constants.%T.67d)> [symbolic = %Empty.type.loc18_34.1 (constants.%Empty.type.d682d6.1)] // CHECK:STDOUT: } // CHECK:STDOUT: %U.loc18_24.2: @F.%Empty.type.loc18_34.1 (%Empty.type.d682d6.1) = symbolic_binding U, 1 [symbolic = %U.loc18_24.1 (constants.%U.e1f642.1)] // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %T.patt: %pattern_type.3ab = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.461 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %U.patt: @G.%pattern_type (%pattern_type.9a587c.2) = symbolic_binding_pattern U, 1 [concrete] // CHECK:STDOUT: %V.patt: %pattern_type.98f = symbolic_binding_pattern V, 2 [concrete] // CHECK:STDOUT: } { @@ -105,11 +105,11 @@ fn G(T:! Z, U:! Empty(T), V:! type) { // CHECK:STDOUT: %.Self.loc20_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %T.loc20_7.2: %Z.type = symbolic_binding T, 0 [symbolic = %T.loc20_7.1 (constants.%T.06f)] +// CHECK:STDOUT: %T.loc20_7.2: %Z.type = symbolic_binding T, 0 [symbolic = %T.loc20_7.1 (constants.%T.aa0)] // CHECK:STDOUT: %.loc20_24.1: type = splice_block %Empty.type.loc20_24.2 [symbolic = %Empty.type.loc20_24.1 (constants.%Empty.type.d682d6.2)] { // CHECK:STDOUT: %.Self.loc20_14: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %Empty.ref: %Empty.type.c87 = name_ref Empty, file.%Empty.decl [concrete = constants.%empty_struct.6e8] -// CHECK:STDOUT: %T.ref.loc20: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.06f)] +// CHECK:STDOUT: %Empty.ref: %Empty.type.61e = name_ref Empty, file.%Empty.decl [concrete = constants.%empty_struct.3ee] +// CHECK:STDOUT: %T.ref.loc20: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.aa0)] // CHECK:STDOUT: %T.as_type.loc20_24.2: type = facet_access_type %T.ref.loc20 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc20_24.2: type = converted %T.ref.loc20, %T.as_type.loc20_24.2 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] // CHECK:STDOUT: %Empty.type.loc20_24.2: type = facet_type <@Empty, @Empty(constants.%T.as_type)> [symbolic = %Empty.type.loc20_24.1 (constants.%Empty.type.d682d6.2)] @@ -128,10 +128,10 @@ fn G(T:! Z, U:! Empty(T), V:! type) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Empty.type: type = facet_type <@Empty, @Empty(%T.loc16_19.1)> [symbolic = %Empty.type (constants.%Empty.type.d682d6.1)] -// CHECK:STDOUT: %Self.loc16_28.2: @Empty.%Empty.type (%Empty.type.d682d6.1) = symbolic_binding Self, 1 [symbolic = %Self.loc16_28.2 (constants.%Self.92a331.1)] +// CHECK:STDOUT: %Self.loc16_28.2: @Empty.%Empty.type (%Empty.type.d682d6.1) = symbolic_binding Self, 1 [symbolic = %Self.loc16_28.2 (constants.%Self.7f4dd1.1)] // CHECK:STDOUT: // CHECK:STDOUT: constraint { -// CHECK:STDOUT: %Self.loc16_28.1: @Empty.%Empty.type (%Empty.type.d682d6.1) = symbolic_binding Self, 1 [symbolic = %Self.loc16_28.2 (constants.%Self.92a331.1)] +// CHECK:STDOUT: %Self.loc16_28.1: @Empty.%Empty.type (%Empty.type.d682d6.1) = symbolic_binding Self, 1 [symbolic = %Self.loc16_28.2 (constants.%Self.7f4dd1.1)] // CHECK:STDOUT: %Empty.WithSelf.decl = constraint_with_self_decl @Empty [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -156,7 +156,7 @@ fn G(T:! Z, U:! Empty(T), V:! type) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @G(%T.loc20_7.2: %Z.type, %U.loc20_14.2: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2), %V.loc20_28.2: type) { -// CHECK:STDOUT: %T.loc20_7.1: %Z.type = symbolic_binding T, 0 [symbolic = %T.loc20_7.1 (constants.%T.06f)] +// CHECK:STDOUT: %T.loc20_7.1: %Z.type = symbolic_binding T, 0 [symbolic = %T.loc20_7.1 (constants.%T.aa0)] // CHECK:STDOUT: %T.as_type.loc20_24.1: type = facet_access_type %T.loc20_7.1 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] // CHECK:STDOUT: %Empty.type.loc20_24.1: type = facet_type <@Empty, @Empty(%T.as_type.loc20_24.1)> [symbolic = %Empty.type.loc20_24.1 (constants.%Empty.type.d682d6.2)] // CHECK:STDOUT: %U.loc20_14.1: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = symbolic_binding U, 1 [symbolic = %U.loc20_14.1 (constants.%U.e1f642.2)] @@ -165,19 +165,19 @@ fn G(T:! Z, U:! Empty(T), V:! type) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Empty.facet.loc21_18.2: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = facet_value constants.%empty_struct_type, () [symbolic = %Empty.facet.loc21_18.2 (constants.%Empty.facet.76f)] -// CHECK:STDOUT: %F.specific_fn.loc21_3.2: = specific_function constants.%F, @F(%T.as_type.loc20_24.1, %Empty.facet.loc21_18.2) [symbolic = %F.specific_fn.loc21_3.2 (constants.%F.specific_fn.2ab)] +// CHECK:STDOUT: %F.specific_fn.loc21_3.2: = specific_function constants.%F, @F(%T.as_type.loc20_24.1, %Empty.facet.loc21_18.2) [symbolic = %F.specific_fn.loc21_3.2 (constants.%F.specific_fn.ecd)] // CHECK:STDOUT: %Empty.facet.loc22_12.2: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = facet_value type, () [symbolic = %Empty.facet.loc22_12.2 (constants.%Empty.facet.2cb)] -// CHECK:STDOUT: %F.specific_fn.loc22_3.2: = specific_function constants.%F, @F(%T.as_type.loc20_24.1, %Empty.facet.loc22_12.2) [symbolic = %F.specific_fn.loc22_3.2 (constants.%F.specific_fn.cc0)] -// CHECK:STDOUT: %Empty.facet.loc23_9.2: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = facet_value %T.as_type.loc20_24.1, () [symbolic = %Empty.facet.loc23_9.2 (constants.%Empty.facet.88f)] -// CHECK:STDOUT: %F.specific_fn.loc23_3.2: = specific_function constants.%F, @F(%T.as_type.loc20_24.1, %Empty.facet.loc23_9.2) [symbolic = %F.specific_fn.loc23_3.2 (constants.%F.specific_fn.437)] -// CHECK:STDOUT: %F.specific_fn.loc24_3.2: = specific_function constants.%F, @F(%T.as_type.loc20_24.1, %U.loc20_14.1) [symbolic = %F.specific_fn.loc24_3.2 (constants.%F.specific_fn.229)] +// CHECK:STDOUT: %F.specific_fn.loc22_3.2: = specific_function constants.%F, @F(%T.as_type.loc20_24.1, %Empty.facet.loc22_12.2) [symbolic = %F.specific_fn.loc22_3.2 (constants.%F.specific_fn.aac)] +// CHECK:STDOUT: %Empty.facet.loc23_9.2: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = facet_value %T.as_type.loc20_24.1, () [symbolic = %Empty.facet.loc23_9.2 (constants.%Empty.facet.0a5)] +// CHECK:STDOUT: %F.specific_fn.loc23_3.2: = specific_function constants.%F, @F(%T.as_type.loc20_24.1, %Empty.facet.loc23_9.2) [symbolic = %F.specific_fn.loc23_3.2 (constants.%F.specific_fn.cf0)] +// CHECK:STDOUT: %F.specific_fn.loc24_3.2: = specific_function constants.%F, @F(%T.as_type.loc20_24.1, %U.loc20_14.1) [symbolic = %F.specific_fn.loc24_3.2 (constants.%F.specific_fn.047)] // CHECK:STDOUT: %Empty.facet.loc25_9.2: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = facet_value %V.loc20_28.1, () [symbolic = %Empty.facet.loc25_9.2 (constants.%Empty.facet.ed5)] -// CHECK:STDOUT: %F.specific_fn.loc25_3.2: = specific_function constants.%F, @F(%T.as_type.loc20_24.1, %Empty.facet.loc25_9.2) [symbolic = %F.specific_fn.loc25_3.2 (constants.%F.specific_fn.b87)] +// CHECK:STDOUT: %F.specific_fn.loc25_3.2: = specific_function constants.%F, @F(%T.as_type.loc20_24.1, %Empty.facet.loc25_9.2) [symbolic = %F.specific_fn.loc25_3.2 (constants.%F.specific_fn.475)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref.loc21: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %T.ref.loc21: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.06f)] +// CHECK:STDOUT: %T.ref.loc21: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.aa0)] // CHECK:STDOUT: %.loc21_9: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct.a40] // CHECK:STDOUT: %.loc21_14: type = type_literal type [concrete = type] // CHECK:STDOUT: %.loc21_11: type = converted %.loc21_9, constants.%empty_struct_type [concrete = constants.%empty_struct_type] @@ -185,42 +185,42 @@ fn G(T:! Z, U:! Empty(T), V:! type) { // CHECK:STDOUT: %.loc21_18.1: type = converted %T.ref.loc21, %T.as_type.loc21 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] // CHECK:STDOUT: %Empty.facet.loc21_18.1: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = facet_value constants.%empty_struct_type, () [symbolic = %Empty.facet.loc21_18.2 (constants.%Empty.facet.76f)] // CHECK:STDOUT: %.loc21_18.2: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = converted constants.%empty_struct_type, %Empty.facet.loc21_18.1 [symbolic = %Empty.facet.loc21_18.2 (constants.%Empty.facet.76f)] -// CHECK:STDOUT: %F.specific_fn.loc21_3.1: = specific_function %F.ref.loc21, @F(constants.%T.as_type, constants.%Empty.facet.76f) [symbolic = %F.specific_fn.loc21_3.2 (constants.%F.specific_fn.2ab)] +// CHECK:STDOUT: %F.specific_fn.loc21_3.1: = specific_function %F.ref.loc21, @F(constants.%T.as_type, constants.%Empty.facet.76f) [symbolic = %F.specific_fn.loc21_3.2 (constants.%F.specific_fn.ecd)] // CHECK:STDOUT: %F.call.loc21: init %empty_tuple.type = call %F.specific_fn.loc21_3.1() // CHECK:STDOUT: %F.ref.loc22: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %T.ref.loc22: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.06f)] +// CHECK:STDOUT: %T.ref.loc22: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.aa0)] // CHECK:STDOUT: %.loc22_8: type = type_literal type [concrete = type] // CHECK:STDOUT: %T.as_type.loc22: type = facet_access_type %T.ref.loc22 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc22_12.1: type = converted %T.ref.loc22, %T.as_type.loc22 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] // CHECK:STDOUT: %Empty.facet.loc22_12.1: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = facet_value type, () [symbolic = %Empty.facet.loc22_12.2 (constants.%Empty.facet.2cb)] // CHECK:STDOUT: %.loc22_12.2: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = converted type, %Empty.facet.loc22_12.1 [symbolic = %Empty.facet.loc22_12.2 (constants.%Empty.facet.2cb)] -// CHECK:STDOUT: %F.specific_fn.loc22_3.1: = specific_function %F.ref.loc22, @F(constants.%T.as_type, constants.%Empty.facet.2cb) [symbolic = %F.specific_fn.loc22_3.2 (constants.%F.specific_fn.cc0)] +// CHECK:STDOUT: %F.specific_fn.loc22_3.1: = specific_function %F.ref.loc22, @F(constants.%T.as_type, constants.%Empty.facet.2cb) [symbolic = %F.specific_fn.loc22_3.2 (constants.%F.specific_fn.aac)] // CHECK:STDOUT: %F.call.loc22: init %empty_tuple.type = call %F.specific_fn.loc22_3.1() // CHECK:STDOUT: %F.ref.loc23: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %T.ref.loc23_5: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.06f)] -// CHECK:STDOUT: %T.ref.loc23_8: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.06f)] +// CHECK:STDOUT: %T.ref.loc23_5: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.aa0)] +// CHECK:STDOUT: %T.ref.loc23_8: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.aa0)] // CHECK:STDOUT: %T.as_type.loc23_9.1: type = facet_access_type %T.ref.loc23_5 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc23_9.1: type = converted %T.ref.loc23_5, %T.as_type.loc23_9.1 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %T.as_type.loc23_9.2: type = facet_access_type constants.%T.06f [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %Empty.facet.loc23_9.1: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = facet_value %T.as_type.loc23_9.2, () [symbolic = %Empty.facet.loc23_9.2 (constants.%Empty.facet.88f)] -// CHECK:STDOUT: %.loc23_9.2: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = converted constants.%T.06f, %Empty.facet.loc23_9.1 [symbolic = %Empty.facet.loc23_9.2 (constants.%Empty.facet.88f)] -// CHECK:STDOUT: %F.specific_fn.loc23_3.1: = specific_function %F.ref.loc23, @F(constants.%T.as_type, constants.%Empty.facet.88f) [symbolic = %F.specific_fn.loc23_3.2 (constants.%F.specific_fn.437)] +// CHECK:STDOUT: %T.as_type.loc23_9.2: type = facet_access_type constants.%T.aa0 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] +// CHECK:STDOUT: %Empty.facet.loc23_9.1: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = facet_value %T.as_type.loc23_9.2, () [symbolic = %Empty.facet.loc23_9.2 (constants.%Empty.facet.0a5)] +// CHECK:STDOUT: %.loc23_9.2: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = converted constants.%T.aa0, %Empty.facet.loc23_9.1 [symbolic = %Empty.facet.loc23_9.2 (constants.%Empty.facet.0a5)] +// CHECK:STDOUT: %F.specific_fn.loc23_3.1: = specific_function %F.ref.loc23, @F(constants.%T.as_type, constants.%Empty.facet.0a5) [symbolic = %F.specific_fn.loc23_3.2 (constants.%F.specific_fn.cf0)] // CHECK:STDOUT: %F.call.loc23: init %empty_tuple.type = call %F.specific_fn.loc23_3.1() // CHECK:STDOUT: %F.ref.loc24: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %T.ref.loc24: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.06f)] +// CHECK:STDOUT: %T.ref.loc24: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.aa0)] // CHECK:STDOUT: %U.ref: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = name_ref U, %U.loc20_14.2 [symbolic = %U.loc20_14.1 (constants.%U.e1f642.2)] // CHECK:STDOUT: %T.as_type.loc24: type = facet_access_type %T.ref.loc24 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc24: type = converted %T.ref.loc24, %T.as_type.loc24 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] -// CHECK:STDOUT: %F.specific_fn.loc24_3.1: = specific_function %F.ref.loc24, @F(constants.%T.as_type, constants.%U.e1f642.2) [symbolic = %F.specific_fn.loc24_3.2 (constants.%F.specific_fn.229)] +// CHECK:STDOUT: %F.specific_fn.loc24_3.1: = specific_function %F.ref.loc24, @F(constants.%T.as_type, constants.%U.e1f642.2) [symbolic = %F.specific_fn.loc24_3.2 (constants.%F.specific_fn.047)] // CHECK:STDOUT: %F.call.loc24: init %empty_tuple.type = call %F.specific_fn.loc24_3.1() // CHECK:STDOUT: %F.ref.loc25: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %T.ref.loc25: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.06f)] +// CHECK:STDOUT: %T.ref.loc25: %Z.type = name_ref T, %T.loc20_7.2 [symbolic = %T.loc20_7.1 (constants.%T.aa0)] // CHECK:STDOUT: %V.ref: type = name_ref V, %V.loc20_28.2 [symbolic = %V.loc20_28.1 (constants.%V)] // CHECK:STDOUT: %T.as_type.loc25: type = facet_access_type %T.ref.loc25 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc25_9.1: type = converted %T.ref.loc25, %T.as_type.loc25 [symbolic = %T.as_type.loc20_24.1 (constants.%T.as_type)] // CHECK:STDOUT: %Empty.facet.loc25_9.1: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = facet_value constants.%V, () [symbolic = %Empty.facet.loc25_9.2 (constants.%Empty.facet.ed5)] // CHECK:STDOUT: %.loc25_9.2: @G.%Empty.type.loc20_24.1 (%Empty.type.d682d6.2) = converted constants.%V, %Empty.facet.loc25_9.1 [symbolic = %Empty.facet.loc25_9.2 (constants.%Empty.facet.ed5)] -// CHECK:STDOUT: %F.specific_fn.loc25_3.1: = specific_function %F.ref.loc25, @F(constants.%T.as_type, constants.%Empty.facet.ed5) [symbolic = %F.specific_fn.loc25_3.2 (constants.%F.specific_fn.b87)] +// CHECK:STDOUT: %F.specific_fn.loc25_3.1: = specific_function %F.ref.loc25, @F(constants.%T.as_type, constants.%Empty.facet.ed5) [symbolic = %F.specific_fn.loc25_3.2 (constants.%F.specific_fn.475)] // CHECK:STDOUT: %F.call.loc25: init %empty_tuple.type = call %F.specific_fn.loc25_3.1() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -230,7 +230,7 @@ fn G(T:! Z, U:! Empty(T), V:! type) { // CHECK:STDOUT: %T.loc16_19.1 => constants.%T.67d // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Empty.WithSelf(constants.%T.67d, constants.%Self.92a331.1) {} +// CHECK:STDOUT: specific @Empty.WithSelf(constants.%T.67d, constants.%Self.7f4dd1.1) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T.67d, constants.%U.e1f642.1) { // CHECK:STDOUT: %T.loc18_7.1 => constants.%T.67d @@ -244,11 +244,11 @@ fn G(T:! Z, U:! Empty(T), V:! type) { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Empty.type => constants.%Empty.type.d682d6.2 -// CHECK:STDOUT: %Self.loc16_28.2 => constants.%Self.92a331.2 +// CHECK:STDOUT: %Self.loc16_28.2 => constants.%Self.7f4dd1.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @G(constants.%T.06f, constants.%U.e1f642.2, constants.%V) { -// CHECK:STDOUT: %T.loc20_7.1 => constants.%T.06f +// CHECK:STDOUT: specific @G(constants.%T.aa0, constants.%U.e1f642.2, constants.%V) { +// CHECK:STDOUT: %T.loc20_7.1 => constants.%T.aa0 // CHECK:STDOUT: %T.as_type.loc20_24.1 => constants.%T.as_type // CHECK:STDOUT: %Empty.type.loc20_24.1 => constants.%Empty.type.d682d6.2 // CHECK:STDOUT: %U.loc20_14.1 => constants.%U.e1f642.2 @@ -282,20 +282,20 @@ fn G(T:! Z, U:! Empty(T), V:! type) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Empty.WithSelf(constants.%T.as_type, constants.%T.06f) { +// CHECK:STDOUT: specific @Empty.WithSelf(constants.%T.as_type, constants.%T.aa0) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @F(constants.%T.as_type, constants.%Empty.facet.88f) { +// CHECK:STDOUT: specific @F(constants.%T.as_type, constants.%Empty.facet.0a5) { // CHECK:STDOUT: %T.loc18_7.1 => constants.%T.as_type // CHECK:STDOUT: %Empty.type.loc18_34.1 => constants.%Empty.type.d682d6.2 -// CHECK:STDOUT: %U.loc18_24.1 => constants.%Empty.facet.88f +// CHECK:STDOUT: %U.loc18_24.1 => constants.%Empty.facet.0a5 // CHECK:STDOUT: %pattern_type => constants.%pattern_type.9a587c.2 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Empty.WithSelf(constants.%T.as_type, constants.%Self.92a331.1) { +// CHECK:STDOUT: specific @Empty.WithSelf(constants.%T.as_type, constants.%Self.7f4dd1.1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/named_constraint/extend_name_lookup.carbon b/toolchain/check/testdata/named_constraint/extend_name_lookup.carbon index 0e7e4ce749d3..6a957987b9be 100644 --- a/toolchain/check/testdata/named_constraint/extend_name_lookup.carbon +++ b/toolchain/check/testdata/named_constraint/extend_name_lookup.carbon @@ -101,10 +101,10 @@ fn F(T:! type where .Self impls W) { // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z [concrete] -// CHECK:STDOUT: %assoc0.37f: %Z.assoc_type = assoc_entity element0, @Z.WithSelf.%Z.WithSelf.ZF.decl [concrete] +// CHECK:STDOUT: %assoc0.b95: %Z.assoc_type = assoc_entity element0, @Z.WithSelf.%Z.WithSelf.ZF.decl [concrete] // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] // CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y [concrete] -// CHECK:STDOUT: %assoc0.4af: %Y.assoc_type = assoc_entity element0, @Y.WithSelf.%Y.WithSelf.YF.decl [concrete] +// CHECK:STDOUT: %assoc0.49b: %Y.assoc_type = assoc_entity element0, @Y.WithSelf.%Y.WithSelf.YF.decl [concrete] // CHECK:STDOUT: %W.type: type = facet_type <@W> [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] @@ -115,16 +115,16 @@ fn F(T:! type where .Self impls W) { // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %T, @Z [symbolic] // CHECK:STDOUT: %Z.facet: %Z.type = facet_value %T.as_type, (%Z.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Z.WithSelf.ZF.type.814: type = fn_type @Z.WithSelf.ZF, @Z.WithSelf(%Z.facet) [symbolic] -// CHECK:STDOUT: %.665: type = fn_type_with_self_type %Z.WithSelf.ZF.type.814, %Z.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.d36: %.665 = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.b07: = specific_impl_function %impl.elem0.d36, @Z.WithSelf.ZF(%Z.facet) [symbolic] +// CHECK:STDOUT: %Z.WithSelf.ZF.type.ca6: type = fn_type @Z.WithSelf.ZF, @Z.WithSelf(%Z.facet) [symbolic] +// CHECK:STDOUT: %.16a: type = fn_type_with_self_type %Z.WithSelf.ZF.type.ca6, %Z.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.153: %.16a = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.bfe: = specific_impl_function %impl.elem0.153, @Z.WithSelf.ZF(%Z.facet) [symbolic] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %T, @Y [symbolic] // CHECK:STDOUT: %Y.facet: %Y.type = facet_value %T.as_type, (%Y.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Y.WithSelf.YF.type.981: type = fn_type @Y.WithSelf.YF, @Y.WithSelf(%Y.facet) [symbolic] -// CHECK:STDOUT: %.ec7: type = fn_type_with_self_type %Y.WithSelf.YF.type.981, %Y.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.ae7: %.ec7 = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.f6a: = specific_impl_function %impl.elem0.ae7, @Y.WithSelf.YF(%Y.facet) [symbolic] +// CHECK:STDOUT: %Y.WithSelf.YF.type.da2: type = fn_type @Y.WithSelf.YF, @Y.WithSelf(%Y.facet) [symbolic] +// CHECK:STDOUT: %.118: type = fn_type_with_self_type %Y.WithSelf.YF.type.da2, %Y.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.f20: %.118 = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.6c3: = specific_impl_function %impl.elem0.f20, @Y.WithSelf.YF(%Y.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -146,34 +146,34 @@ fn F(T:! type where .Self impls W) { // CHECK:STDOUT: %T.as_type.loc14_4.2: type = facet_access_type %T.loc12_7.1 [symbolic = %T.as_type.loc14_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %T.loc12_7.1, @Z [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness)] // CHECK:STDOUT: %Z.facet: %Z.type = facet_value %T.as_type.loc14_4.2, (%Z.lookup_impl_witness) [symbolic = %Z.facet (constants.%Z.facet)] -// CHECK:STDOUT: %Z.WithSelf.ZF.type: type = fn_type @Z.WithSelf.ZF, @Z.WithSelf(%Z.facet) [symbolic = %Z.WithSelf.ZF.type (constants.%Z.WithSelf.ZF.type.814)] -// CHECK:STDOUT: %.loc14_4.2: type = fn_type_with_self_type %Z.WithSelf.ZF.type, %Z.facet [symbolic = %.loc14_4.2 (constants.%.665)] -// CHECK:STDOUT: %impl.elem0.loc14_4.2: @F.%.loc14_4.2 (%.665) = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_4.2 (constants.%impl.elem0.d36)] -// CHECK:STDOUT: %specific_impl_fn.loc14_4.2: = specific_impl_function %impl.elem0.loc14_4.2, @Z.WithSelf.ZF(%Z.facet) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.b07)] +// CHECK:STDOUT: %Z.WithSelf.ZF.type: type = fn_type @Z.WithSelf.ZF, @Z.WithSelf(%Z.facet) [symbolic = %Z.WithSelf.ZF.type (constants.%Z.WithSelf.ZF.type.ca6)] +// CHECK:STDOUT: %.loc14_4.2: type = fn_type_with_self_type %Z.WithSelf.ZF.type, %Z.facet [symbolic = %.loc14_4.2 (constants.%.16a)] +// CHECK:STDOUT: %impl.elem0.loc14_4.2: @F.%.loc14_4.2 (%.16a) = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_4.2 (constants.%impl.elem0.153)] +// CHECK:STDOUT: %specific_impl_fn.loc14_4.2: = specific_impl_function %impl.elem0.loc14_4.2, @Z.WithSelf.ZF(%Z.facet) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.bfe)] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %T.loc12_7.1, @Y [symbolic = %Y.lookup_impl_witness (constants.%Y.lookup_impl_witness)] // CHECK:STDOUT: %Y.facet.loc16_4.2: %Y.type = facet_value %T.as_type.loc14_4.2, (%Y.lookup_impl_witness) [symbolic = %Y.facet.loc16_4.2 (constants.%Y.facet)] -// CHECK:STDOUT: %Y.WithSelf.YF.type: type = fn_type @Y.WithSelf.YF, @Y.WithSelf(%Y.facet.loc16_4.2) [symbolic = %Y.WithSelf.YF.type (constants.%Y.WithSelf.YF.type.981)] -// CHECK:STDOUT: %.loc16_4.2: type = fn_type_with_self_type %Y.WithSelf.YF.type, %Y.facet.loc16_4.2 [symbolic = %.loc16_4.2 (constants.%.ec7)] -// CHECK:STDOUT: %impl.elem0.loc16_4.2: @F.%.loc16_4.2 (%.ec7) = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.ae7)] -// CHECK:STDOUT: %specific_impl_fn.loc16_4.2: = specific_impl_function %impl.elem0.loc16_4.2, @Y.WithSelf.YF(%Y.facet.loc16_4.2) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.f6a)] +// CHECK:STDOUT: %Y.WithSelf.YF.type: type = fn_type @Y.WithSelf.YF, @Y.WithSelf(%Y.facet.loc16_4.2) [symbolic = %Y.WithSelf.YF.type (constants.%Y.WithSelf.YF.type.da2)] +// CHECK:STDOUT: %.loc16_4.2: type = fn_type_with_self_type %Y.WithSelf.YF.type, %Y.facet.loc16_4.2 [symbolic = %.loc16_4.2 (constants.%.118)] +// CHECK:STDOUT: %impl.elem0.loc16_4.2: @F.%.loc16_4.2 (%.118) = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.f20)] +// CHECK:STDOUT: %specific_impl_fn.loc16_4.2: = specific_impl_function %impl.elem0.loc16_4.2, @Y.WithSelf.YF(%Y.facet.loc16_4.2) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.6c3)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %T.ref.loc14: %W.type = name_ref T, %T.loc12_7.2 [symbolic = %T.loc12_7.1 (constants.%T)] // CHECK:STDOUT: %T.as_type.loc14_4.1: type = facet_access_type %T.ref.loc14 [symbolic = %T.as_type.loc14_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %.loc14_4.1: type = converted %T.ref.loc14, %T.as_type.loc14_4.1 [symbolic = %T.as_type.loc14_4.2 (constants.%T.as_type)] -// CHECK:STDOUT: %ZF.ref: %Z.assoc_type = name_ref ZF, @Z.WithSelf.%assoc0 [concrete = constants.%assoc0.37f] -// CHECK:STDOUT: %impl.elem0.loc14_4.1: @F.%.loc14_4.2 (%.665) = impl_witness_access constants.%Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_4.2 (constants.%impl.elem0.d36)] -// CHECK:STDOUT: %specific_impl_fn.loc14_4.1: = specific_impl_function %impl.elem0.loc14_4.1, @Z.WithSelf.ZF(constants.%Z.facet) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.b07)] +// CHECK:STDOUT: %ZF.ref: %Z.assoc_type = name_ref ZF, @Z.WithSelf.%assoc0 [concrete = constants.%assoc0.b95] +// CHECK:STDOUT: %impl.elem0.loc14_4.1: @F.%.loc14_4.2 (%.16a) = impl_witness_access constants.%Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_4.2 (constants.%impl.elem0.153)] +// CHECK:STDOUT: %specific_impl_fn.loc14_4.1: = specific_impl_function %impl.elem0.loc14_4.1, @Z.WithSelf.ZF(constants.%Z.facet) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.bfe)] // CHECK:STDOUT: %Z.WithSelf.ZF.call: init %empty_tuple.type = call %specific_impl_fn.loc14_4.1() // CHECK:STDOUT: %T.ref.loc16: %W.type = name_ref T, %T.loc12_7.2 [symbolic = %T.loc12_7.1 (constants.%T)] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y.type] -// CHECK:STDOUT: %YF.ref: %Y.assoc_type = name_ref YF, @Y.WithSelf.%assoc0 [concrete = constants.%assoc0.4af] +// CHECK:STDOUT: %YF.ref: %Y.assoc_type = name_ref YF, @Y.WithSelf.%assoc0 [concrete = constants.%assoc0.49b] // CHECK:STDOUT: %T.as_type.loc16: type = facet_access_type %T.ref.loc16 [symbolic = %T.as_type.loc14_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %Y.facet.loc16_4.1: %Y.type = facet_value %T.as_type.loc16, (constants.%Y.lookup_impl_witness) [symbolic = %Y.facet.loc16_4.2 (constants.%Y.facet)] // CHECK:STDOUT: %.loc16_4.1: %Y.type = converted %T.ref.loc16, %Y.facet.loc16_4.1 [symbolic = %Y.facet.loc16_4.2 (constants.%Y.facet)] -// CHECK:STDOUT: %impl.elem0.loc16_4.1: @F.%.loc16_4.2 (%.ec7) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.ae7)] -// CHECK:STDOUT: %specific_impl_fn.loc16_4.1: = specific_impl_function %impl.elem0.loc16_4.1, @Y.WithSelf.YF(constants.%Y.facet) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.f6a)] +// CHECK:STDOUT: %impl.elem0.loc16_4.1: @F.%.loc16_4.2 (%.118) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.f20)] +// CHECK:STDOUT: %specific_impl_fn.loc16_4.1: = specific_impl_function %impl.elem0.loc16_4.1, @Y.WithSelf.YF(constants.%Y.facet) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.6c3)] // CHECK:STDOUT: %Y.WithSelf.YF.call: init %empty_tuple.type = call %specific_impl_fn.loc16_4.1() // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -189,10 +189,10 @@ fn F(T:! type where .Self impls W) { // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Z.assoc_type: type = assoc_entity_type @Z [concrete] -// CHECK:STDOUT: %assoc0.7f8: %Z.assoc_type = assoc_entity element0, @Z.WithSelf.%Z.WithSelf.ZF.decl [concrete] +// CHECK:STDOUT: %assoc0.b95: %Z.assoc_type = assoc_entity element0, @Z.WithSelf.%Z.WithSelf.ZF.decl [concrete] // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] // CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y [concrete] -// CHECK:STDOUT: %assoc0.d33: %Y.assoc_type = assoc_entity element0, @Y.WithSelf.%Y.WithSelf.YF.decl [concrete] +// CHECK:STDOUT: %assoc0.49b: %Y.assoc_type = assoc_entity element0, @Y.WithSelf.%Y.WithSelf.YF.decl [concrete] // CHECK:STDOUT: %W.type: type = facet_type <@W> [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] @@ -205,16 +205,16 @@ fn F(T:! type where .Self impls W) { // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %T, @Z [symbolic] // CHECK:STDOUT: %Z.facet: %Z.type = facet_value %T.as_type, (%Z.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Z.WithSelf.ZF.type.b21: type = fn_type @Z.WithSelf.ZF, @Z.WithSelf(%Z.facet) [symbolic] -// CHECK:STDOUT: %.fe6: type = fn_type_with_self_type %Z.WithSelf.ZF.type.b21, %Z.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.bee: %.fe6 = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.ad5: = specific_impl_function %impl.elem0.bee, @Z.WithSelf.ZF(%Z.facet) [symbolic] +// CHECK:STDOUT: %Z.WithSelf.ZF.type.ca6: type = fn_type @Z.WithSelf.ZF, @Z.WithSelf(%Z.facet) [symbolic] +// CHECK:STDOUT: %.16a: type = fn_type_with_self_type %Z.WithSelf.ZF.type.ca6, %Z.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.153: %.16a = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.bfe: = specific_impl_function %impl.elem0.153, @Z.WithSelf.ZF(%Z.facet) [symbolic] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %T, @Y [symbolic] // CHECK:STDOUT: %Y.facet: %Y.type = facet_value %T.as_type, (%Y.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Y.WithSelf.YF.type.86e: type = fn_type @Y.WithSelf.YF, @Y.WithSelf(%Y.facet) [symbolic] -// CHECK:STDOUT: %.5d4: type = fn_type_with_self_type %Y.WithSelf.YF.type.86e, %Y.facet [symbolic] -// CHECK:STDOUT: %impl.elem0.c7b: %.5d4 = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic] -// CHECK:STDOUT: %specific_impl_fn.22b: = specific_impl_function %impl.elem0.c7b, @Y.WithSelf.YF(%Y.facet) [symbolic] +// CHECK:STDOUT: %Y.WithSelf.YF.type.da2: type = fn_type @Y.WithSelf.YF, @Y.WithSelf(%Y.facet) [symbolic] +// CHECK:STDOUT: %.118: type = fn_type_with_self_type %Y.WithSelf.YF.type.da2, %Y.facet [symbolic] +// CHECK:STDOUT: %impl.elem0.f20: %.118 = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %specific_impl_fn.6c3: = specific_impl_function %impl.elem0.f20, @Y.WithSelf.YF(%Y.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -245,36 +245,36 @@ fn F(T:! type where .Self impls W) { // CHECK:STDOUT: %T.as_type.loc14_4.2: type = facet_access_type %T.loc12_7.1 [symbolic = %T.as_type.loc14_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %Z.lookup_impl_witness: = lookup_impl_witness %T.loc12_7.1, @Z [symbolic = %Z.lookup_impl_witness (constants.%Z.lookup_impl_witness)] // CHECK:STDOUT: %Z.facet.loc14_4.2: %Z.type = facet_value %T.as_type.loc14_4.2, (%Z.lookup_impl_witness) [symbolic = %Z.facet.loc14_4.2 (constants.%Z.facet)] -// CHECK:STDOUT: %Z.WithSelf.ZF.type: type = fn_type @Z.WithSelf.ZF, @Z.WithSelf(%Z.facet.loc14_4.2) [symbolic = %Z.WithSelf.ZF.type (constants.%Z.WithSelf.ZF.type.b21)] -// CHECK:STDOUT: %.loc14_4.2: type = fn_type_with_self_type %Z.WithSelf.ZF.type, %Z.facet.loc14_4.2 [symbolic = %.loc14_4.2 (constants.%.fe6)] -// CHECK:STDOUT: %impl.elem0.loc14_4.2: @F.%.loc14_4.2 (%.fe6) = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_4.2 (constants.%impl.elem0.bee)] -// CHECK:STDOUT: %specific_impl_fn.loc14_4.2: = specific_impl_function %impl.elem0.loc14_4.2, @Z.WithSelf.ZF(%Z.facet.loc14_4.2) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.ad5)] +// CHECK:STDOUT: %Z.WithSelf.ZF.type: type = fn_type @Z.WithSelf.ZF, @Z.WithSelf(%Z.facet.loc14_4.2) [symbolic = %Z.WithSelf.ZF.type (constants.%Z.WithSelf.ZF.type.ca6)] +// CHECK:STDOUT: %.loc14_4.2: type = fn_type_with_self_type %Z.WithSelf.ZF.type, %Z.facet.loc14_4.2 [symbolic = %.loc14_4.2 (constants.%.16a)] +// CHECK:STDOUT: %impl.elem0.loc14_4.2: @F.%.loc14_4.2 (%.16a) = impl_witness_access %Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_4.2 (constants.%impl.elem0.153)] +// CHECK:STDOUT: %specific_impl_fn.loc14_4.2: = specific_impl_function %impl.elem0.loc14_4.2, @Z.WithSelf.ZF(%Z.facet.loc14_4.2) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.bfe)] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %T.loc12_7.1, @Y [symbolic = %Y.lookup_impl_witness (constants.%Y.lookup_impl_witness)] // CHECK:STDOUT: %Y.facet.loc16_4.2: %Y.type = facet_value %T.as_type.loc14_4.2, (%Y.lookup_impl_witness) [symbolic = %Y.facet.loc16_4.2 (constants.%Y.facet)] -// CHECK:STDOUT: %Y.WithSelf.YF.type: type = fn_type @Y.WithSelf.YF, @Y.WithSelf(%Y.facet.loc16_4.2) [symbolic = %Y.WithSelf.YF.type (constants.%Y.WithSelf.YF.type.86e)] -// CHECK:STDOUT: %.loc16_4.2: type = fn_type_with_self_type %Y.WithSelf.YF.type, %Y.facet.loc16_4.2 [symbolic = %.loc16_4.2 (constants.%.5d4)] -// CHECK:STDOUT: %impl.elem0.loc16_4.2: @F.%.loc16_4.2 (%.5d4) = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.c7b)] -// CHECK:STDOUT: %specific_impl_fn.loc16_4.2: = specific_impl_function %impl.elem0.loc16_4.2, @Y.WithSelf.YF(%Y.facet.loc16_4.2) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.22b)] +// CHECK:STDOUT: %Y.WithSelf.YF.type: type = fn_type @Y.WithSelf.YF, @Y.WithSelf(%Y.facet.loc16_4.2) [symbolic = %Y.WithSelf.YF.type (constants.%Y.WithSelf.YF.type.da2)] +// CHECK:STDOUT: %.loc16_4.2: type = fn_type_with_self_type %Y.WithSelf.YF.type, %Y.facet.loc16_4.2 [symbolic = %.loc16_4.2 (constants.%.118)] +// CHECK:STDOUT: %impl.elem0.loc16_4.2: @F.%.loc16_4.2 (%.118) = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.f20)] +// CHECK:STDOUT: %specific_impl_fn.loc16_4.2: = specific_impl_function %impl.elem0.loc16_4.2, @Y.WithSelf.YF(%Y.facet.loc16_4.2) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.6c3)] // CHECK:STDOUT: // CHECK:STDOUT: fn() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %T.ref.loc14: %type_where = name_ref T, %T.loc12_7.2 [symbolic = %T.loc12_7.1 (constants.%T)] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] -// CHECK:STDOUT: %ZF.ref: %Z.assoc_type = name_ref ZF, @Z.WithSelf.%assoc0 [concrete = constants.%assoc0.7f8] +// CHECK:STDOUT: %ZF.ref: %Z.assoc_type = name_ref ZF, @Z.WithSelf.%assoc0 [concrete = constants.%assoc0.b95] // CHECK:STDOUT: %T.as_type.loc14_4.1: type = facet_access_type %T.ref.loc14 [symbolic = %T.as_type.loc14_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %Z.facet.loc14_4.1: %Z.type = facet_value %T.as_type.loc14_4.1, (constants.%Z.lookup_impl_witness) [symbolic = %Z.facet.loc14_4.2 (constants.%Z.facet)] // CHECK:STDOUT: %.loc14_4.1: %Z.type = converted %T.ref.loc14, %Z.facet.loc14_4.1 [symbolic = %Z.facet.loc14_4.2 (constants.%Z.facet)] -// CHECK:STDOUT: %impl.elem0.loc14_4.1: @F.%.loc14_4.2 (%.fe6) = impl_witness_access constants.%Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_4.2 (constants.%impl.elem0.bee)] -// CHECK:STDOUT: %specific_impl_fn.loc14_4.1: = specific_impl_function %impl.elem0.loc14_4.1, @Z.WithSelf.ZF(constants.%Z.facet) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.ad5)] +// CHECK:STDOUT: %impl.elem0.loc14_4.1: @F.%.loc14_4.2 (%.16a) = impl_witness_access constants.%Z.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc14_4.2 (constants.%impl.elem0.153)] +// CHECK:STDOUT: %specific_impl_fn.loc14_4.1: = specific_impl_function %impl.elem0.loc14_4.1, @Z.WithSelf.ZF(constants.%Z.facet) [symbolic = %specific_impl_fn.loc14_4.2 (constants.%specific_impl_fn.bfe)] // CHECK:STDOUT: %Z.WithSelf.ZF.call: init %empty_tuple.type = call %specific_impl_fn.loc14_4.1() // CHECK:STDOUT: %T.ref.loc16: %type_where = name_ref T, %T.loc12_7.2 [symbolic = %T.loc12_7.1 (constants.%T)] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y.type] -// CHECK:STDOUT: %YF.ref: %Y.assoc_type = name_ref YF, @Y.WithSelf.%assoc0 [concrete = constants.%assoc0.d33] +// CHECK:STDOUT: %YF.ref: %Y.assoc_type = name_ref YF, @Y.WithSelf.%assoc0 [concrete = constants.%assoc0.49b] // CHECK:STDOUT: %T.as_type.loc16: type = facet_access_type %T.ref.loc16 [symbolic = %T.as_type.loc14_4.2 (constants.%T.as_type)] // CHECK:STDOUT: %Y.facet.loc16_4.1: %Y.type = facet_value %T.as_type.loc16, (constants.%Y.lookup_impl_witness) [symbolic = %Y.facet.loc16_4.2 (constants.%Y.facet)] // CHECK:STDOUT: %.loc16_4.1: %Y.type = converted %T.ref.loc16, %Y.facet.loc16_4.1 [symbolic = %Y.facet.loc16_4.2 (constants.%Y.facet)] -// CHECK:STDOUT: %impl.elem0.loc16_4.1: @F.%.loc16_4.2 (%.5d4) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.c7b)] -// CHECK:STDOUT: %specific_impl_fn.loc16_4.1: = specific_impl_function %impl.elem0.loc16_4.1, @Y.WithSelf.YF(constants.%Y.facet) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.22b)] +// CHECK:STDOUT: %impl.elem0.loc16_4.1: @F.%.loc16_4.2 (%.118) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc16_4.2 (constants.%impl.elem0.f20)] +// CHECK:STDOUT: %specific_impl_fn.loc16_4.1: = specific_impl_function %impl.elem0.loc16_4.1, @Y.WithSelf.YF(constants.%Y.facet) [symbolic = %specific_impl_fn.loc16_4.2 (constants.%specific_impl_fn.6c3)] // CHECK:STDOUT: %Y.WithSelf.YF.call: init %empty_tuple.type = call %specific_impl_fn.loc16_4.1() // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/named_constraint/generic.carbon b/toolchain/check/testdata/named_constraint/generic.carbon index f4e85f10e138..8c7e90782299 100644 --- a/toolchain/check/testdata/named_constraint/generic.carbon +++ b/toolchain/check/testdata/named_constraint/generic.carbon @@ -82,22 +82,22 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %GenericType.type.686: type = generic_named_constaint_type @GenericType [concrete] -// CHECK:STDOUT: %empty_struct.91c: %GenericType.type.686 = struct_value () [concrete] +// CHECK:STDOUT: %GenericType.type.2f1: type = generic_named_constaint_type @GenericType [concrete] +// CHECK:STDOUT: %empty_struct.e98: %GenericType.type.2f1 = struct_value () [concrete] // CHECK:STDOUT: %GenericType.type.d68: type = facet_type <@GenericType, @GenericType(%T)> [symbolic] -// CHECK:STDOUT: %Self.301448.1: %GenericType.type.d68 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.7f4dd1.1: %GenericType.type.d68 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.86a: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %pattern_type.1e5: type = pattern_type %Z.type [concrete] +// CHECK:STDOUT: %Self.91f: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.461: type = pattern_type %Z.type [concrete] // CHECK:STDOUT: %U: %Z.type = symbolic_binding U, 0 [symbolic] -// CHECK:STDOUT: %GenericZ.type.d06: type = generic_named_constaint_type @GenericZ [concrete] -// CHECK:STDOUT: %empty_struct.4ea: %GenericZ.type.d06 = struct_value () [concrete] +// CHECK:STDOUT: %GenericZ.type.971: type = generic_named_constaint_type @GenericZ [concrete] +// CHECK:STDOUT: %empty_struct.809: %GenericZ.type.971 = struct_value () [concrete] // CHECK:STDOUT: %GenericZ.type.d68: type = facet_type <@GenericZ, @GenericZ(%U)> [symbolic] -// CHECK:STDOUT: %Self.301448.2: %GenericZ.type.d68 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ForwardDeclaredGeneric.type.f6f: type = generic_named_constaint_type @ForwardDeclaredGeneric [concrete] -// CHECK:STDOUT: %empty_struct.06e: %ForwardDeclaredGeneric.type.f6f = struct_value () [concrete] +// CHECK:STDOUT: %Self.7f4dd1.2: %GenericZ.type.d68 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ForwardDeclaredGeneric.type.bcf: type = generic_named_constaint_type @ForwardDeclaredGeneric [concrete] +// CHECK:STDOUT: %empty_struct.5bf: %ForwardDeclaredGeneric.type.bcf = struct_value () [concrete] // CHECK:STDOUT: %ForwardDeclaredGeneric.type.d68: type = facet_type <@ForwardDeclaredGeneric, @ForwardDeclaredGeneric(%T)> [symbolic] -// CHECK:STDOUT: %Self.301448.3: %ForwardDeclaredGeneric.type.d68 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.7f4dd1.3: %ForwardDeclaredGeneric.type.d68 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -107,7 +107,7 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: .GenericZ = %GenericZ.decl // CHECK:STDOUT: .ForwardDeclaredGeneric = %ForwardDeclaredGeneric.decl.loc9 // CHECK:STDOUT: } -// CHECK:STDOUT: %GenericType.decl: %GenericType.type.686 = constraint_decl @GenericType [concrete = constants.%empty_struct.91c] { +// CHECK:STDOUT: %GenericType.decl: %GenericType.type.2f1 = constraint_decl @GenericType [concrete = constants.%empty_struct.e98] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4_28.1: type = splice_block %.loc4_28.2 [concrete = type] { @@ -117,8 +117,8 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %T.loc4_25.2: type = symbolic_binding T, 0 [symbolic = %T.loc4_25.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: %Z.decl: type = interface_decl @Z [concrete = constants.%Z.type] {} {} -// CHECK:STDOUT: %GenericZ.decl: %GenericZ.type.d06 = constraint_decl @GenericZ [concrete = constants.%empty_struct.4ea] { -// CHECK:STDOUT: %U.patt: %pattern_type.1e5 = symbolic_binding_pattern U, 0 [concrete] +// CHECK:STDOUT: %GenericZ.decl: %GenericZ.type.971 = constraint_decl @GenericZ [concrete = constants.%empty_struct.809] { +// CHECK:STDOUT: %U.patt: %pattern_type.461 = symbolic_binding_pattern U, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc7: type = splice_block %Z.ref [concrete = constants.%Z.type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] @@ -126,7 +126,7 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: } // CHECK:STDOUT: %U.loc7_22.2: %Z.type = symbolic_binding U, 0 [symbolic = %U.loc7_22.1 (constants.%U)] // CHECK:STDOUT: } -// CHECK:STDOUT: %ForwardDeclaredGeneric.decl.loc9: %ForwardDeclaredGeneric.type.f6f = constraint_decl @ForwardDeclaredGeneric [concrete = constants.%empty_struct.06e] { +// CHECK:STDOUT: %ForwardDeclaredGeneric.decl.loc9: %ForwardDeclaredGeneric.type.bcf = constraint_decl @ForwardDeclaredGeneric [concrete = constants.%empty_struct.5bf] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc9_39.1: type = splice_block %.loc9_39.2 [concrete = type] { @@ -135,7 +135,7 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc9_36.2: type = symbolic_binding T, 0 [symbolic = %T.loc9_36.1 (constants.%T)] // CHECK:STDOUT: } -// CHECK:STDOUT: %ForwardDeclaredGeneric.decl.loc10: %ForwardDeclaredGeneric.type.f6f = constraint_decl @ForwardDeclaredGeneric [concrete = constants.%empty_struct.06e] { +// CHECK:STDOUT: %ForwardDeclaredGeneric.decl.loc10: %ForwardDeclaredGeneric.type.bcf = constraint_decl @ForwardDeclaredGeneric [concrete = constants.%empty_struct.5bf] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc10_39.1: type = splice_block %.loc10_39.2 [concrete = type] { @@ -147,7 +147,7 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.86a] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.91f] // CHECK:STDOUT: %Z.WithSelf.decl = interface_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -162,10 +162,10 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %GenericType.type: type = facet_type <@GenericType, @GenericType(%T.loc4_25.1)> [symbolic = %GenericType.type (constants.%GenericType.type.d68)] -// CHECK:STDOUT: %Self.loc4_34.2: @GenericType.%GenericType.type (%GenericType.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.301448.1)] +// CHECK:STDOUT: %Self.loc4_34.2: @GenericType.%GenericType.type (%GenericType.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.7f4dd1.1)] // CHECK:STDOUT: // CHECK:STDOUT: constraint { -// CHECK:STDOUT: %Self.loc4_34.1: @GenericType.%GenericType.type (%GenericType.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.301448.1)] +// CHECK:STDOUT: %Self.loc4_34.1: @GenericType.%GenericType.type (%GenericType.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc4_34.2 (constants.%Self.7f4dd1.1)] // CHECK:STDOUT: %GenericType.WithSelf.decl = constraint_with_self_decl @GenericType [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -180,10 +180,10 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %GenericZ.type: type = facet_type <@GenericZ, @GenericZ(%U.loc7_22.1)> [symbolic = %GenericZ.type (constants.%GenericZ.type.d68)] -// CHECK:STDOUT: %Self.loc7_28.2: @GenericZ.%GenericZ.type (%GenericZ.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc7_28.2 (constants.%Self.301448.2)] +// CHECK:STDOUT: %Self.loc7_28.2: @GenericZ.%GenericZ.type (%GenericZ.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc7_28.2 (constants.%Self.7f4dd1.2)] // CHECK:STDOUT: // CHECK:STDOUT: constraint { -// CHECK:STDOUT: %Self.loc7_28.1: @GenericZ.%GenericZ.type (%GenericZ.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc7_28.2 (constants.%Self.301448.2)] +// CHECK:STDOUT: %Self.loc7_28.1: @GenericZ.%GenericZ.type (%GenericZ.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc7_28.2 (constants.%Self.7f4dd1.2)] // CHECK:STDOUT: %GenericZ.WithSelf.decl = constraint_with_self_decl @GenericZ [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -198,10 +198,10 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %ForwardDeclaredGeneric.type: type = facet_type <@ForwardDeclaredGeneric, @ForwardDeclaredGeneric(%T.loc9_36.1)> [symbolic = %ForwardDeclaredGeneric.type (constants.%ForwardDeclaredGeneric.type.d68)] -// CHECK:STDOUT: %Self.loc10_45.2: @ForwardDeclaredGeneric.%ForwardDeclaredGeneric.type (%ForwardDeclaredGeneric.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc10_45.2 (constants.%Self.301448.3)] +// CHECK:STDOUT: %Self.loc10_45.2: @ForwardDeclaredGeneric.%ForwardDeclaredGeneric.type (%ForwardDeclaredGeneric.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc10_45.2 (constants.%Self.7f4dd1.3)] // CHECK:STDOUT: // CHECK:STDOUT: constraint { -// CHECK:STDOUT: %Self.loc10_45.1: @ForwardDeclaredGeneric.%ForwardDeclaredGeneric.type (%ForwardDeclaredGeneric.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc10_45.2 (constants.%Self.301448.3)] +// CHECK:STDOUT: %Self.loc10_45.1: @ForwardDeclaredGeneric.%ForwardDeclaredGeneric.type (%ForwardDeclaredGeneric.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc10_45.2 (constants.%Self.7f4dd1.3)] // CHECK:STDOUT: %ForwardDeclaredGeneric.WithSelf.decl = constraint_with_self_decl @ForwardDeclaredGeneric [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -215,19 +215,19 @@ fn F(unused T:! Generic((), ())) {} // CHECK:STDOUT: %T.loc4_25.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @GenericType.WithSelf(constants.%T, constants.%Self.301448.1) {} +// CHECK:STDOUT: specific @GenericType.WithSelf(constants.%T, constants.%Self.7f4dd1.1) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.86a) {} +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.91f) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @GenericZ(constants.%U) { // CHECK:STDOUT: %U.loc7_22.1 => constants.%U // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @GenericZ.WithSelf(constants.%U, constants.%Self.301448.2) {} +// CHECK:STDOUT: specific @GenericZ.WithSelf(constants.%U, constants.%Self.7f4dd1.2) {} // CHECK:STDOUT: // CHECK:STDOUT: specific @ForwardDeclaredGeneric(constants.%T) { // CHECK:STDOUT: %T.loc9_36.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ForwardDeclaredGeneric.WithSelf(constants.%T, constants.%Self.301448.3) {} +// CHECK:STDOUT: specific @ForwardDeclaredGeneric.WithSelf(constants.%T, constants.%Self.7f4dd1.3) {} // CHECK:STDOUT: diff --git a/toolchain/check/testdata/named_constraint/import_constraint_decl.carbon b/toolchain/check/testdata/named_constraint/import_constraint_decl.carbon index 4f2adab02d8b..4815b455d469 100644 --- a/toolchain/check/testdata/named_constraint/import_constraint_decl.carbon +++ b/toolchain/check/testdata/named_constraint/import_constraint_decl.carbon @@ -84,7 +84,7 @@ impl C as B {} // CHECK:STDOUT: %B.type: type = facet_type <@B> [concrete] // CHECK:STDOUT: %Self.f45: %B.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %Self.149: %I.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.2e1: %I.type = symbolic_binding Self, 0 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.f45 [symbolic] // CHECK:STDOUT: %pattern_type: type = pattern_type %B.type [concrete] // CHECK:STDOUT: %T: %B.type = symbolic_binding T, 0 [symbolic] @@ -95,12 +95,12 @@ impl C as B {} // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I = import_ref Main//b, I, unloaded // CHECK:STDOUT: %Main.B: type = import_ref Main//b, B, loaded [concrete = constants.%B.type] -// CHECK:STDOUT: %Main.import_ref.650 = import_ref Main//b, loc5_25, unloaded -// CHECK:STDOUT: %Main.import_ref.cf2 = import_ref Main//b, loc3_13, unloaded -// CHECK:STDOUT: %Main.import_ref.c15: type = import_ref Main//b, loc5_18, loaded [symbolic = @B.WithSelf.Self.as_type.impls.I.type.require.%Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %Main.import_ref.350: type = import_ref Main//b, loc5_24, loaded [concrete = constants.%I.type] -// CHECK:STDOUT: %Main.import_ref.655e7e.2: %B.type = import_ref Main//b, loc4_14, loaded [symbolic = constants.%Self.f45] -// CHECK:STDOUT: %Main.import_ref.86b = import_ref Main//b, loc4_14, unloaded +// CHECK:STDOUT: %Main.import_ref.06a = import_ref Main//b, loc5_25, unloaded +// CHECK:STDOUT: %Main.import_ref.396 = import_ref Main//b, loc3_13, unloaded +// CHECK:STDOUT: %Main.import_ref.c81: type = import_ref Main//b, loc5_18, loaded [symbolic = @B.WithSelf.Self.as_type.impls.I.type.require.%Self.as_type (constants.%Self.as_type)] +// CHECK:STDOUT: %Main.import_ref.98c: type = import_ref Main//b, loc5_24, loaded [concrete = constants.%I.type] +// CHECK:STDOUT: %Main.import_ref.8b80ca.2: %B.type = import_ref Main//b, loc4_14, loaded [symbolic = constants.%Self.f45] +// CHECK:STDOUT: %Main.import_ref.a22 = import_ref Main//b, loc4_14, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -124,7 +124,7 @@ impl C as B {} // CHECK:STDOUT: // CHECK:STDOUT: interface @I [from "b.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.cf2 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.396 // CHECK:STDOUT: witness = () // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -132,16 +132,16 @@ impl C as B {} // CHECK:STDOUT: // CHECK:STDOUT: constraint @B [from "b.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.86b -// CHECK:STDOUT: extend imports.%Main.import_ref.650 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.a22 +// CHECK:STDOUT: extend imports.%Main.import_ref.06a // CHECK:STDOUT: // CHECK:STDOUT: !requires: // CHECK:STDOUT: @B.WithSelf.Self.as_type.impls.I.type.require { -// CHECK:STDOUT: require imports.%Main.import_ref.c15 impls imports.%Main.import_ref.350 +// CHECK:STDOUT: require imports.%Main.import_ref.c81 impls imports.%Main.import_ref.98c // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic require @B.WithSelf.Self.as_type.impls.I.type.require(imports.%Main.import_ref.655e7e.2: %B.type) [from "b.carbon"] { +// CHECK:STDOUT: generic require @B.WithSelf.Self.as_type.impls.I.type.require(imports.%Main.import_ref.8b80ca.2: %B.type) [from "b.carbon"] { // CHECK:STDOUT: %Self: %B.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f45)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] // CHECK:STDOUT: } @@ -159,7 +159,7 @@ impl C as B {} // CHECK:STDOUT: // CHECK:STDOUT: specific @B.WithSelf(constants.%Self.f45) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.149) { +// CHECK:STDOUT: specific @I.WithSelf(constants.%Self.2e1) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/named_constraint/require.carbon b/toolchain/check/testdata/named_constraint/require.carbon index a8de65b2798b..2d2fb5203f4c 100644 --- a/toolchain/check/testdata/named_constraint/require.carbon +++ b/toolchain/check/testdata/named_constraint/require.carbon @@ -747,16 +747,16 @@ constraint N { // CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y [concrete] // CHECK:STDOUT: %assoc0: %Y.assoc_type = assoc_entity element0, @Y.WithSelf.%Y.WithSelf.YY.decl [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.c38: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.c38 [symbolic] +// CHECK:STDOUT: %Self.f49: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.f49 [symbolic] // CHECK:STDOUT: %T: %Z.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] // CHECK:STDOUT: %pattern_type.86a: type = pattern_type %T.as_type [symbolic] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %T, @Y [symbolic] // CHECK:STDOUT: %Y.facet: %Y.type = facet_value %T.as_type, (%Y.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Y.WithSelf.YY.type.ab6: type = fn_type @Y.WithSelf.YY, @Y.WithSelf(%Y.facet) [symbolic] -// CHECK:STDOUT: %.64a: type = fn_type_with_self_type %Y.WithSelf.YY.type.ab6, %Y.facet [symbolic] -// CHECK:STDOUT: %impl.elem0: %.64a = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %Y.WithSelf.YY.type.99e: type = fn_type @Y.WithSelf.YY, @Y.WithSelf(%Y.facet) [symbolic] +// CHECK:STDOUT: %.217: type = fn_type_with_self_type %Y.WithSelf.YY.type.99e, %Y.facet [symbolic] +// CHECK:STDOUT: %impl.elem0: %.217 = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Y.WithSelf.YY(%Y.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -765,7 +765,7 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c38] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f49] // CHECK:STDOUT: %Z.WithSelf.decl = constraint_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -775,7 +775,7 @@ constraint N { // CHECK:STDOUT: %Self.as_type.loc9_18.1: type = facet_access_type @Z.%Self [symbolic = %Self.as_type.loc9_18.2 (constants.%Self.as_type)] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y.type] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc9: type = specific_constant @Z.WithSelf.Self.as_type.impls.Y.type.require.%Y.ref, @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.c38) [concrete = constants.%Y.type] +// CHECK:STDOUT: %.loc9: type = specific_constant @Z.WithSelf.Self.as_type.impls.Y.type.require.%Y.ref, @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.f49) [concrete = constants.%Y.type] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -791,7 +791,7 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.c38)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f49)] // CHECK:STDOUT: %Self.as_type.loc9_18.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_18.2 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -802,9 +802,9 @@ constraint N { // CHECK:STDOUT: // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %T.loc13_7.1, @Y [symbolic = %Y.lookup_impl_witness (constants.%Y.lookup_impl_witness)] // CHECK:STDOUT: %Y.facet.loc15: %Y.type = facet_value %T.as_type.loc13_16.1, (%Y.lookup_impl_witness) [symbolic = %Y.facet.loc15 (constants.%Y.facet)] -// CHECK:STDOUT: %Y.WithSelf.YY.type: type = fn_type @Y.WithSelf.YY, @Y.WithSelf(%Y.facet.loc15) [symbolic = %Y.WithSelf.YY.type (constants.%Y.WithSelf.YY.type.ab6)] -// CHECK:STDOUT: %.loc15_4.2: type = fn_type_with_self_type %Y.WithSelf.YY.type, %Y.facet.loc15 [symbolic = %.loc15_4.2 (constants.%.64a)] -// CHECK:STDOUT: %impl.elem0.loc15_4.2: @F.%.loc15_4.2 (%.64a) = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %Y.WithSelf.YY.type: type = fn_type @Y.WithSelf.YY, @Y.WithSelf(%Y.facet.loc15) [symbolic = %Y.WithSelf.YY.type (constants.%Y.WithSelf.YY.type.99e)] +// CHECK:STDOUT: %.loc15_4.2: type = fn_type_with_self_type %Y.WithSelf.YY.type, %Y.facet.loc15 [symbolic = %.loc15_4.2 (constants.%.217)] +// CHECK:STDOUT: %impl.elem0.loc15_4.2: @F.%.loc15_4.2 (%.217) = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc15_4.2: = specific_impl_function %impl.elem0.loc15_4.2, @Y.WithSelf.YY(%Y.facet.loc15) [symbolic = %specific_impl_fn.loc15_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%t.param: @F.%T.as_type.loc13_16.1 (%T.as_type)) { @@ -813,7 +813,7 @@ constraint N { // CHECK:STDOUT: %T.as_type.loc15: type = facet_access_type %T.ref.loc15 [symbolic = %T.as_type.loc13_16.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc15_4.1: type = converted %T.ref.loc15, %T.as_type.loc15 [symbolic = %T.as_type.loc13_16.1 (constants.%T.as_type)] // CHECK:STDOUT: %YY.ref.loc15: %Y.assoc_type = name_ref YY, @Y.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc15_4.1: @F.%.loc15_4.2 (%.64a) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc15_4.1: @F.%.loc15_4.2 (%.217) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc15_4.1: = specific_impl_function %impl.elem0.loc15_4.1, @Y.WithSelf.YY(constants.%Y.facet) [symbolic = %specific_impl_fn.loc15_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Y.WithSelf.YY.call.loc15: init %empty_tuple.type = call %specific_impl_fn.loc15_4.1() // CHECK:STDOUT: %T.ref.loc16: %Z.type = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T)] @@ -822,24 +822,24 @@ constraint N { // CHECK:STDOUT: %T.as_type.loc16: type = facet_access_type %T.ref.loc16 [symbolic = %T.as_type.loc13_16.1 (constants.%T.as_type)] // CHECK:STDOUT: %Y.facet.loc16: %Y.type = facet_value %T.as_type.loc16, (constants.%Y.lookup_impl_witness) [symbolic = %Y.facet.loc15 (constants.%Y.facet)] // CHECK:STDOUT: %.loc16: %Y.type = converted %T.ref.loc16, %Y.facet.loc16 [symbolic = %Y.facet.loc15 (constants.%Y.facet)] -// CHECK:STDOUT: %impl.elem0.loc16: @F.%.loc15_4.2 (%.64a) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc16: @F.%.loc15_4.2 (%.217) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc16: = specific_impl_function %impl.elem0.loc16, @Y.WithSelf.YY(constants.%Y.facet) [symbolic = %specific_impl_fn.loc15_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Y.WithSelf.YY.call.loc16: init %empty_tuple.type = call %specific_impl_fn.loc16() // CHECK:STDOUT: %t.ref: @F.%T.as_type.loc13_16.1 (%T.as_type) = name_ref t, %t // CHECK:STDOUT: %YY.ref.loc18: %Y.assoc_type = name_ref YY, @Y.WithSelf.%assoc0 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0.loc18: @F.%.loc15_4.2 (%.64a) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %impl.elem0.loc18: @F.%.loc15_4.2 (%.217) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc18: = specific_impl_function %impl.elem0.loc18, @Y.WithSelf.YY(constants.%Y.facet) [symbolic = %specific_impl_fn.loc15_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Y.WithSelf.YY.call.loc18: init %empty_tuple.type = call %specific_impl_fn.loc18() // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.c38) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.f49) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.c38) { -// CHECK:STDOUT: %Self => constants.%Self.c38 +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.f49) { +// CHECK:STDOUT: %Self => constants.%Self.f49 // CHECK:STDOUT: %Self.as_type.loc9_18.2 => constants.%Self.as_type // CHECK:STDOUT: } // CHECK:STDOUT: @@ -862,28 +862,28 @@ constraint N { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Y.type.144: type = generic_interface_type @Y [concrete] +// CHECK:STDOUT: %Y.type.99a: type = generic_interface_type @Y [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Y.generic: %Y.type.144 = struct_value () [concrete] -// CHECK:STDOUT: %Y.type.949: type = facet_type <@Y, @Y(%T.67d)> [symbolic] -// CHECK:STDOUT: %Self.37a: %Y.type.949 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Y.generic: %Y.type.99a = struct_value () [concrete] +// CHECK:STDOUT: %Y.type.c2f: type = facet_type <@Y, @Y(%T.67d)> [symbolic] +// CHECK:STDOUT: %Self.6e3: %Y.type.c2f = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.c9d: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.c9d [symbolic] -// CHECK:STDOUT: %Y.type.862: type = facet_type <@Y, @Y(%Self.as_type)> [symbolic] -// CHECK:STDOUT: %require_complete.6be: = require_complete_type %Y.type.862 [symbolic] +// CHECK:STDOUT: %Self.f49: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.f49 [symbolic] +// CHECK:STDOUT: %Y.type.68a: type = facet_type <@Y, @Y(%Self.as_type)> [symbolic] +// CHECK:STDOUT: %require_complete.3ae: = require_complete_type %Y.type.68a [symbolic] // CHECK:STDOUT: %T.f45: %Z.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T.f45 [symbolic] // CHECK:STDOUT: %pattern_type.86a: type = pattern_type %T.as_type [symbolic] -// CHECK:STDOUT: %Y.type.e0f: type = facet_type <@Y, @Y(%T.as_type)> [symbolic] -// CHECK:STDOUT: %require_complete.630: = require_complete_type %Y.type.e0f [symbolic] -// CHECK:STDOUT: %Y.assoc_type.1fd: type = assoc_entity_type @Y, @Y(%T.as_type) [symbolic] -// CHECK:STDOUT: %assoc0.cd7: %Y.assoc_type.1fd = assoc_entity element0, @Y.WithSelf.%Y.WithSelf.YY.decl [symbolic] +// CHECK:STDOUT: %Y.type.061: type = facet_type <@Y, @Y(%T.as_type)> [symbolic] +// CHECK:STDOUT: %require_complete.7de: = require_complete_type %Y.type.061 [symbolic] +// CHECK:STDOUT: %Y.assoc_type.b2a: type = assoc_entity_type @Y, @Y(%T.as_type) [symbolic] +// CHECK:STDOUT: %assoc0.322: %Y.assoc_type.b2a = assoc_entity element0, @Y.WithSelf.%Y.WithSelf.YY.decl [symbolic] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %T.f45, @Y, @Y(%T.as_type) [symbolic] -// CHECK:STDOUT: %Y.facet: %Y.type.e0f = facet_value %T.as_type, (%Y.lookup_impl_witness) [symbolic] -// CHECK:STDOUT: %Y.WithSelf.YY.type.3f6: type = fn_type @Y.WithSelf.YY, @Y.WithSelf(%T.as_type, %Y.facet) [symbolic] -// CHECK:STDOUT: %.55e: type = fn_type_with_self_type %Y.WithSelf.YY.type.3f6, %Y.facet [symbolic] -// CHECK:STDOUT: %impl.elem0: %.55e = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic] +// CHECK:STDOUT: %Y.facet: %Y.type.061 = facet_value %T.as_type, (%Y.lookup_impl_witness) [symbolic] +// CHECK:STDOUT: %Y.WithSelf.YY.type.e4e: type = fn_type @Y.WithSelf.YY, @Y.WithSelf(%T.as_type, %Y.facet) [symbolic] +// CHECK:STDOUT: %.39f: type = fn_type_with_self_type %Y.WithSelf.YY.type.e4e, %Y.facet [symbolic] +// CHECK:STDOUT: %impl.elem0: %.39f = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic] // CHECK:STDOUT: %specific_impl_fn: = specific_impl_function %impl.elem0, @Y.WithSelf.YY(%T.as_type, %Y.facet) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -892,7 +892,7 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c9d] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f49] // CHECK:STDOUT: %Z.WithSelf.decl = constraint_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -900,13 +900,13 @@ constraint N { // CHECK:STDOUT: require %Self.as_type.loc9_18.1 impls %Y.type.loc9_30.1 // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.as_type.loc9_18.1: type = facet_access_type @Z.%Self [symbolic = %Self.as_type.loc9_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %Y.ref: %Y.type.144 = name_ref Y, file.%Y.decl [concrete = constants.%Y.generic] -// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.c9d)] +// CHECK:STDOUT: %Y.ref: %Y.type.99a = name_ref Y, file.%Y.decl [concrete = constants.%Y.generic] +// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.f49)] // CHECK:STDOUT: %Self.as_type.loc9_30: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc9_18.2 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc9: type = converted %Self.ref, %Self.as_type.loc9_30 [symbolic = %Self.as_type.loc9_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %Y.type.loc9_30.1: type = facet_type <@Y, @Y(constants.%Self.as_type)> [symbolic = %Y.type.loc9_30.2 (constants.%Y.type.862)] +// CHECK:STDOUT: %Y.type.loc9_30.1: type = facet_type <@Y, @Y(constants.%Self.as_type)> [symbolic = %Y.type.loc9_30.2 (constants.%Y.type.68a)] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc9: type = specific_constant @Z.WithSelf.Self.as_type.impls.Y.type.require.%Y.type.loc9_30.1, @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.c9d) [symbolic = %Y.type (constants.%Y.type.862)] +// CHECK:STDOUT: %.loc9: type = specific_constant @Z.WithSelf.Self.as_type.impls.Y.type.require.%Y.type.loc9_30.1, @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.f49) [symbolic = %Y.type (constants.%Y.type.68a)] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -922,9 +922,9 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.c9d)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f49)] // CHECK:STDOUT: %Self.as_type.loc9_18.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_18.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %Y.type.loc9_30.2: type = facet_type <@Y, @Y(%Self.as_type.loc9_18.2)> [symbolic = %Y.type.loc9_30.2 (constants.%Y.type.862)] +// CHECK:STDOUT: %Y.type.loc9_30.2: type = facet_type <@Y, @Y(%Self.as_type.loc9_18.2)> [symbolic = %Y.type.loc9_30.2 (constants.%Y.type.68a)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @F(%T.loc13_7.2: %Z.type) { @@ -932,63 +932,63 @@ constraint N { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: -// CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y, @Y(%T.as_type.loc13_16.1) [symbolic = %Y.assoc_type (constants.%Y.assoc_type.1fd)] -// CHECK:STDOUT: %assoc0: @F.%Y.assoc_type (%Y.assoc_type.1fd) = assoc_entity element0, @Y.WithSelf.%Y.WithSelf.YY.decl [symbolic = %assoc0 (constants.%assoc0.cd7)] -// CHECK:STDOUT: %Y.type.loc15: type = facet_type <@Y, @Y(%T.as_type.loc13_16.1)> [symbolic = %Y.type.loc15 (constants.%Y.type.e0f)] +// CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y, @Y(%T.as_type.loc13_16.1) [symbolic = %Y.assoc_type (constants.%Y.assoc_type.b2a)] +// CHECK:STDOUT: %assoc0: @F.%Y.assoc_type (%Y.assoc_type.b2a) = assoc_entity element0, @Y.WithSelf.%Y.WithSelf.YY.decl [symbolic = %assoc0 (constants.%assoc0.322)] +// CHECK:STDOUT: %Y.type.loc15: type = facet_type <@Y, @Y(%T.as_type.loc13_16.1)> [symbolic = %Y.type.loc15 (constants.%Y.type.061)] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %T.loc13_7.1, @Y, @Y(%T.as_type.loc13_16.1) [symbolic = %Y.lookup_impl_witness (constants.%Y.lookup_impl_witness)] -// CHECK:STDOUT: %Y.facet.loc15: @F.%Y.type.loc15 (%Y.type.e0f) = facet_value %T.as_type.loc13_16.1, (%Y.lookup_impl_witness) [symbolic = %Y.facet.loc15 (constants.%Y.facet)] -// CHECK:STDOUT: %Y.WithSelf.YY.type: type = fn_type @Y.WithSelf.YY, @Y.WithSelf(%T.as_type.loc13_16.1, %Y.facet.loc15) [symbolic = %Y.WithSelf.YY.type (constants.%Y.WithSelf.YY.type.3f6)] -// CHECK:STDOUT: %.loc15_4.3: type = fn_type_with_self_type %Y.WithSelf.YY.type, %Y.facet.loc15 [symbolic = %.loc15_4.3 (constants.%.55e)] -// CHECK:STDOUT: %impl.elem0.loc15_4.2: @F.%.loc15_4.3 (%.55e) = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %Y.facet.loc15: @F.%Y.type.loc15 (%Y.type.061) = facet_value %T.as_type.loc13_16.1, (%Y.lookup_impl_witness) [symbolic = %Y.facet.loc15 (constants.%Y.facet)] +// CHECK:STDOUT: %Y.WithSelf.YY.type: type = fn_type @Y.WithSelf.YY, @Y.WithSelf(%T.as_type.loc13_16.1, %Y.facet.loc15) [symbolic = %Y.WithSelf.YY.type (constants.%Y.WithSelf.YY.type.e4e)] +// CHECK:STDOUT: %.loc15_4.3: type = fn_type_with_self_type %Y.WithSelf.YY.type, %Y.facet.loc15 [symbolic = %.loc15_4.3 (constants.%.39f)] +// CHECK:STDOUT: %impl.elem0.loc15_4.2: @F.%.loc15_4.3 (%.39f) = impl_witness_access %Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc15_4.2: = specific_impl_function %impl.elem0.loc15_4.2, @Y.WithSelf.YY(%T.as_type.loc13_16.1, %Y.facet.loc15) [symbolic = %specific_impl_fn.loc15_4.2 (constants.%specific_impl_fn)] -// CHECK:STDOUT: %require_complete.loc16: = require_complete_type %Y.type.loc15 [symbolic = %require_complete.loc16 (constants.%require_complete.630)] +// CHECK:STDOUT: %require_complete.loc16: = require_complete_type %Y.type.loc15 [symbolic = %require_complete.loc16 (constants.%require_complete.7de)] // CHECK:STDOUT: // CHECK:STDOUT: fn(%t.param: @F.%T.as_type.loc13_16.1 (%T.as_type)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %T.ref.loc15: %Z.type = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.f45)] // CHECK:STDOUT: %T.as_type.loc15: type = facet_access_type %T.ref.loc15 [symbolic = %T.as_type.loc13_16.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc15_4.1: type = converted %T.ref.loc15, %T.as_type.loc15 [symbolic = %T.as_type.loc13_16.1 (constants.%T.as_type)] -// CHECK:STDOUT: %.loc15_4.2: @F.%Y.assoc_type (%Y.assoc_type.1fd) = specific_constant @Y.WithSelf.%assoc0.loc4_10.1, @Y.WithSelf(constants.%T.as_type, constants.%T.f45) [symbolic = %assoc0 (constants.%assoc0.cd7)] -// CHECK:STDOUT: %YY.ref.loc15: @F.%Y.assoc_type (%Y.assoc_type.1fd) = name_ref YY, %.loc15_4.2 [symbolic = %assoc0 (constants.%assoc0.cd7)] -// CHECK:STDOUT: %impl.elem0.loc15_4.1: @F.%.loc15_4.3 (%.55e) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %.loc15_4.2: @F.%Y.assoc_type (%Y.assoc_type.b2a) = specific_constant @Y.WithSelf.%assoc0.loc4_10.1, @Y.WithSelf(constants.%T.as_type, constants.%T.f45) [symbolic = %assoc0 (constants.%assoc0.322)] +// CHECK:STDOUT: %YY.ref.loc15: @F.%Y.assoc_type (%Y.assoc_type.b2a) = name_ref YY, %.loc15_4.2 [symbolic = %assoc0 (constants.%assoc0.322)] +// CHECK:STDOUT: %impl.elem0.loc15_4.1: @F.%.loc15_4.3 (%.39f) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc15_4.1: = specific_impl_function %impl.elem0.loc15_4.1, @Y.WithSelf.YY(constants.%T.as_type, constants.%Y.facet) [symbolic = %specific_impl_fn.loc15_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Y.WithSelf.YY.call.loc15: init %empty_tuple.type = call %specific_impl_fn.loc15_4.1() // CHECK:STDOUT: %T.ref.loc16_3: %Z.type = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.f45)] -// CHECK:STDOUT: %Y.ref: %Y.type.144 = name_ref Y, file.%Y.decl [concrete = constants.%Y.generic] +// CHECK:STDOUT: %Y.ref: %Y.type.99a = name_ref Y, file.%Y.decl [concrete = constants.%Y.generic] // CHECK:STDOUT: %T.ref.loc16_8: %Z.type = name_ref T, %T.loc13_7.2 [symbolic = %T.loc13_7.1 (constants.%T.f45)] // CHECK:STDOUT: %T.as_type.loc16_9: type = facet_access_type %T.ref.loc16_8 [symbolic = %T.as_type.loc13_16.1 (constants.%T.as_type)] // CHECK:STDOUT: %.loc16_9: type = converted %T.ref.loc16_8, %T.as_type.loc16_9 [symbolic = %T.as_type.loc13_16.1 (constants.%T.as_type)] -// CHECK:STDOUT: %Y.type.loc16: type = facet_type <@Y, @Y(constants.%T.as_type)> [symbolic = %Y.type.loc15 (constants.%Y.type.e0f)] -// CHECK:STDOUT: %.loc16_10: @F.%Y.assoc_type (%Y.assoc_type.1fd) = specific_constant @Y.WithSelf.%assoc0.loc4_10.1, @Y.WithSelf(constants.%T.as_type, constants.%Self.37a) [symbolic = %assoc0 (constants.%assoc0.cd7)] -// CHECK:STDOUT: %YY.ref.loc16: @F.%Y.assoc_type (%Y.assoc_type.1fd) = name_ref YY, %.loc16_10 [symbolic = %assoc0 (constants.%assoc0.cd7)] +// CHECK:STDOUT: %Y.type.loc16: type = facet_type <@Y, @Y(constants.%T.as_type)> [symbolic = %Y.type.loc15 (constants.%Y.type.061)] +// CHECK:STDOUT: %.loc16_10: @F.%Y.assoc_type (%Y.assoc_type.b2a) = specific_constant @Y.WithSelf.%assoc0.loc4_10.1, @Y.WithSelf(constants.%T.as_type, constants.%Self.6e3) [symbolic = %assoc0 (constants.%assoc0.322)] +// CHECK:STDOUT: %YY.ref.loc16: @F.%Y.assoc_type (%Y.assoc_type.b2a) = name_ref YY, %.loc16_10 [symbolic = %assoc0 (constants.%assoc0.322)] // CHECK:STDOUT: %T.as_type.loc16_4: type = facet_access_type %T.ref.loc16_3 [symbolic = %T.as_type.loc13_16.1 (constants.%T.as_type)] -// CHECK:STDOUT: %Y.facet.loc16: @F.%Y.type.loc15 (%Y.type.e0f) = facet_value %T.as_type.loc16_4, (constants.%Y.lookup_impl_witness) [symbolic = %Y.facet.loc15 (constants.%Y.facet)] -// CHECK:STDOUT: %.loc16_4: @F.%Y.type.loc15 (%Y.type.e0f) = converted %T.ref.loc16_3, %Y.facet.loc16 [symbolic = %Y.facet.loc15 (constants.%Y.facet)] -// CHECK:STDOUT: %impl.elem0.loc16: @F.%.loc15_4.3 (%.55e) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %Y.facet.loc16: @F.%Y.type.loc15 (%Y.type.061) = facet_value %T.as_type.loc16_4, (constants.%Y.lookup_impl_witness) [symbolic = %Y.facet.loc15 (constants.%Y.facet)] +// CHECK:STDOUT: %.loc16_4: @F.%Y.type.loc15 (%Y.type.061) = converted %T.ref.loc16_3, %Y.facet.loc16 [symbolic = %Y.facet.loc15 (constants.%Y.facet)] +// CHECK:STDOUT: %impl.elem0.loc16: @F.%.loc15_4.3 (%.39f) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc16: = specific_impl_function %impl.elem0.loc16, @Y.WithSelf.YY(constants.%T.as_type, constants.%Y.facet) [symbolic = %specific_impl_fn.loc15_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Y.WithSelf.YY.call.loc16: init %empty_tuple.type = call %specific_impl_fn.loc16() // CHECK:STDOUT: %t.ref: @F.%T.as_type.loc13_16.1 (%T.as_type) = name_ref t, %t -// CHECK:STDOUT: %.loc18: @F.%Y.assoc_type (%Y.assoc_type.1fd) = specific_constant @Y.WithSelf.%assoc0.loc4_10.1, @Y.WithSelf(constants.%T.as_type, constants.%T.f45) [symbolic = %assoc0 (constants.%assoc0.cd7)] -// CHECK:STDOUT: %YY.ref.loc18: @F.%Y.assoc_type (%Y.assoc_type.1fd) = name_ref YY, %.loc18 [symbolic = %assoc0 (constants.%assoc0.cd7)] -// CHECK:STDOUT: %impl.elem0.loc18: @F.%.loc15_4.3 (%.55e) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] +// CHECK:STDOUT: %.loc18: @F.%Y.assoc_type (%Y.assoc_type.b2a) = specific_constant @Y.WithSelf.%assoc0.loc4_10.1, @Y.WithSelf(constants.%T.as_type, constants.%T.f45) [symbolic = %assoc0 (constants.%assoc0.322)] +// CHECK:STDOUT: %YY.ref.loc18: @F.%Y.assoc_type (%Y.assoc_type.b2a) = name_ref YY, %.loc18 [symbolic = %assoc0 (constants.%assoc0.322)] +// CHECK:STDOUT: %impl.elem0.loc18: @F.%.loc15_4.3 (%.39f) = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc15_4.2 (constants.%impl.elem0)] // CHECK:STDOUT: %specific_impl_fn.loc18: = specific_impl_function %impl.elem0.loc18, @Y.WithSelf.YY(constants.%T.as_type, constants.%Y.facet) [symbolic = %specific_impl_fn.loc15_4.2 (constants.%specific_impl_fn)] // CHECK:STDOUT: %Y.WithSelf.YY.call.loc18: init %empty_tuple.type = call %specific_impl_fn.loc18() // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.c9d) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.f49) { // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %Self => constants.%Self.c9d +// CHECK:STDOUT: %Self => constants.%Self.f49 // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %Y.type => constants.%Y.type.862 -// CHECK:STDOUT: %require_complete => constants.%require_complete.6be +// CHECK:STDOUT: %Y.type => constants.%Y.type.68a +// CHECK:STDOUT: %require_complete => constants.%require_complete.3ae // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.c9d) { -// CHECK:STDOUT: %Self => constants.%Self.c9d +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.f49) { +// CHECK:STDOUT: %Self => constants.%Self.f49 // CHECK:STDOUT: %Self.as_type.loc9_18.2 => constants.%Self.as_type -// CHECK:STDOUT: %Y.type.loc9_30.2 => constants.%Y.type.862 +// CHECK:STDOUT: %Y.type.loc9_30.2 => constants.%Y.type.68a // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @F(constants.%T.f45) { @@ -1001,14 +1001,14 @@ constraint N { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%T.f45 // CHECK:STDOUT: %Self.as_type => constants.%T.as_type -// CHECK:STDOUT: %Y.type => constants.%Y.type.e0f -// CHECK:STDOUT: %require_complete => constants.%require_complete.630 +// CHECK:STDOUT: %Y.type => constants.%Y.type.061 +// CHECK:STDOUT: %require_complete => constants.%require_complete.7de // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%T.f45) { // CHECK:STDOUT: %Self => constants.%T.f45 // CHECK:STDOUT: %Self.as_type.loc9_18.2 => constants.%T.as_type -// CHECK:STDOUT: %Y.type.loc9_30.2 => constants.%Y.type.e0f +// CHECK:STDOUT: %Y.type.loc9_30.2 => constants.%Y.type.061 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- implicit_self_impls.carbon @@ -1016,8 +1016,8 @@ constraint N { // CHECK:STDOUT: constants { // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.34a: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.34a [symbolic] +// CHECK:STDOUT: %Self.f49: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.f49 [symbolic] // CHECK:STDOUT: %T: %Z.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] // CHECK:STDOUT: } @@ -1027,7 +1027,7 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.34a] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f49] // CHECK:STDOUT: %Z.WithSelf.decl = constraint_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -1050,16 +1050,16 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.34a)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f49)] // CHECK:STDOUT: %Self.as_type.loc9_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.34a) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.f49) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.34a) { -// CHECK:STDOUT: %Self => constants.%Self.34a +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.f49) { +// CHECK:STDOUT: %Self => constants.%Self.f49 // CHECK:STDOUT: %Self.as_type.loc9_11.2 => constants.%Self.as_type // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1077,8 +1077,8 @@ constraint N { // CHECK:STDOUT: constants { // CHECK:STDOUT: %Y.type: type = facet_type <@Y> [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.9ad: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.9ad [symbolic] +// CHECK:STDOUT: %Self.f49: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.f49 [symbolic] // CHECK:STDOUT: %T: %Z.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.as_type: type = facet_access_type %T [symbolic] // CHECK:STDOUT: } @@ -1088,14 +1088,14 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.9ad] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f49] // CHECK:STDOUT: %Z.WithSelf.decl = constraint_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %Z.WithSelf.Self.as_type.impls.Y.type.require.decl = require_decl @Z.WithSelf.Self.as_type.impls.Y.type.require [concrete] { // CHECK:STDOUT: require %.loc9 impls %Y.ref // CHECK:STDOUT: } { -// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.9ad)] +// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.f49)] // CHECK:STDOUT: %Self.as_type.loc9_11.1: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc9_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc9: type = converted %Self.ref, %Self.as_type.loc9_11.1 [symbolic = %Self.as_type.loc9_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y.type] @@ -1113,16 +1113,16 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.9ad)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f49)] // CHECK:STDOUT: %Self.as_type.loc9_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.9ad) { +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.f49) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.9ad) { -// CHECK:STDOUT: %Self => constants.%Self.9ad +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y.type.require(constants.%Self.f49) { +// CHECK:STDOUT: %Self => constants.%Self.f49 // CHECK:STDOUT: %Self.as_type.loc9_11.2 => constants.%Self.as_type // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1142,9 +1142,9 @@ constraint N { // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.6cc: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.6cc [symbolic] -// CHECK:STDOUT: %C.396: type = class_type @C, @C(%Self.as_type) [symbolic] +// CHECK:STDOUT: %Self.f49: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.f49 [symbolic] +// CHECK:STDOUT: %C.7bf: type = class_type @C, @C(%Self.as_type) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1152,7 +1152,7 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.6cc] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f49] // CHECK:STDOUT: %Z.WithSelf.decl = constraint_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -1160,10 +1160,10 @@ constraint N { // CHECK:STDOUT: require %C.loc9_17.1 impls %Y.ref // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] -// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.6cc)] +// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.f49)] // CHECK:STDOUT: %Self.as_type.loc9_17.1: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc9_17.2 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc9: type = converted %Self.ref, %Self.as_type.loc9_17.1 [symbolic = %Self.as_type.loc9_17.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %C.loc9_17.1: type = class_type @C, @C(constants.%Self.as_type) [symbolic = %C.loc9_17.2 (constants.%C.396)] +// CHECK:STDOUT: %C.loc9_17.1: type = class_type @C, @C(constants.%Self.as_type) [symbolic = %C.loc9_17.2 (constants.%C.7bf)] // CHECK:STDOUT: %Y.ref: type = name_ref Y, file.%Y.decl [concrete = constants.%Y.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1181,17 +1181,17 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.C.impls.Y.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.6cc)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f49)] // CHECK:STDOUT: %Self.as_type.loc9_17.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_17.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %C.loc9_17.2: type = class_type @C, @C(%Self.as_type.loc9_17.2) [symbolic = %C.loc9_17.2 (constants.%C.396)] +// CHECK:STDOUT: %C.loc9_17.2: type = class_type @C, @C(%Self.as_type.loc9_17.2) [symbolic = %C.loc9_17.2 (constants.%C.7bf)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.6cc) {} +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.f49) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.C.impls.Y.type.require(constants.%Self.6cc) { -// CHECK:STDOUT: %Self => constants.%Self.6cc +// CHECK:STDOUT: specific @Z.WithSelf.C.impls.Y.type.require(constants.%Self.f49) { +// CHECK:STDOUT: %Self => constants.%Self.f49 // CHECK:STDOUT: %Self.as_type.loc9_17.2 => constants.%Self.as_type -// CHECK:STDOUT: %C.loc9_17.2 => constants.%C.396 +// CHECK:STDOUT: %C.loc9_17.2 => constants.%C.7bf // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- require_impls_where.carbon @@ -1201,8 +1201,8 @@ constraint N { // CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y [concrete] // CHECK:STDOUT: %assoc0: %Y.assoc_type = assoc_entity element0, @Y.WithSelf.%Y1 [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.247: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.247 [symbolic] +// CHECK:STDOUT: %Self.f49: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.f49 [symbolic] // CHECK:STDOUT: %.Self: %Y.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %.Self, @Y [symbolic_self] @@ -1217,7 +1217,7 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.247] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f49] // CHECK:STDOUT: %Z.WithSelf.decl = constraint_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -1252,14 +1252,14 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y_where.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.247)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f49)] // CHECK:STDOUT: %Self.as_type.loc7_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc7_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.247) {} +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.f49) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y_where.type.require(constants.%Self.247) { -// CHECK:STDOUT: %Self => constants.%Self.247 +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y_where.type.require(constants.%Self.f49) { +// CHECK:STDOUT: %Self => constants.%Self.f49 // CHECK:STDOUT: %Self.as_type.loc7_11.2 => constants.%Self.as_type // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1295,14 +1295,14 @@ constraint N { // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type type [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Z.type.47d: type = generic_named_constaint_type @Z [concrete] -// CHECK:STDOUT: %empty_struct: %Z.type.47d = struct_value () [concrete] +// CHECK:STDOUT: %Z.type.fcf: type = generic_named_constaint_type @Z [concrete] +// CHECK:STDOUT: %empty_struct: %Z.type.fcf = struct_value () [concrete] // CHECK:STDOUT: %Z.type.d68: type = facet_type <@Z, @Z(%T)> [symbolic] -// CHECK:STDOUT: %Self.d97: %Z.type.d68 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %Self.7f4: %Z.type.d68 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { -// CHECK:STDOUT: %Z.decl: %Z.type.47d = constraint_decl @Z [concrete = constants.%empty_struct] { +// CHECK:STDOUT: %Z.decl: %Z.type.fcf = constraint_decl @Z [concrete = constants.%empty_struct] { // CHECK:STDOUT: %T.patt: %pattern_type = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8_18.1: type = splice_block %.loc8_18.2 [concrete = type] { @@ -1318,10 +1318,10 @@ constraint N { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Z.type: type = facet_type <@Z, @Z(%T.loc8_15.1)> [symbolic = %Z.type (constants.%Z.type.d68)] -// CHECK:STDOUT: %Self.loc8_24.2: @Z.%Z.type (%Z.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc8_24.2 (constants.%Self.d97)] +// CHECK:STDOUT: %Self.loc8_24.2: @Z.%Z.type (%Z.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc8_24.2 (constants.%Self.7f4)] // CHECK:STDOUT: // CHECK:STDOUT: constraint { -// CHECK:STDOUT: %Self.loc8_24.1: @Z.%Z.type (%Z.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc8_24.2 (constants.%Self.d97)] +// CHECK:STDOUT: %Self.loc8_24.1: @Z.%Z.type (%Z.type.d68) = symbolic_binding Self, 1 [symbolic = %Self.loc8_24.2 (constants.%Self.7f4)] // CHECK:STDOUT: %Z.WithSelf.decl = constraint_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1339,7 +1339,7 @@ constraint N { // CHECK:STDOUT: %T.loc8_15.1 => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%T, constants.%Self.d97) {} +// CHECK:STDOUT: specific @Z.WithSelf(constants.%T, constants.%Self.7f4) {} // CHECK:STDOUT: // CHECK:STDOUT: --- require_self_in_requirement.carbon // CHECK:STDOUT: @@ -1348,8 +1348,8 @@ constraint N { // CHECK:STDOUT: %Y.assoc_type: type = assoc_entity_type @Y [concrete] // CHECK:STDOUT: %assoc0: %Y.assoc_type = assoc_entity element0, @Y.WithSelf.%Y1 [concrete] // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Self.c54: %Z.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.c54 [symbolic] +// CHECK:STDOUT: %Self.f49: %Z.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.f49 [symbolic] // CHECK:STDOUT: %.Self: %Y.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] // CHECK:STDOUT: %Y.lookup_impl_witness: = lookup_impl_witness %.Self, @Y [symbolic_self] @@ -1362,7 +1362,7 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @Z { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c54] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f49] // CHECK:STDOUT: %Z.WithSelf.decl = constraint_with_self_decl @Z [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -1377,7 +1377,7 @@ constraint N { // CHECK:STDOUT: %.loc10_25: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %Y1.ref: %Y.assoc_type = name_ref Y1, @Y1.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%Y.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] -// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.c54)] +// CHECK:STDOUT: %Self.ref: %Z.type = name_ref Self, @Z.%Self [symbolic = %Self (constants.%Self.f49)] // CHECK:STDOUT: %Self.as_type.loc10_31: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc10_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc10_31: type = converted %Self.ref, %Self.as_type.loc10_31 [symbolic = %Self.as_type.loc10_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc10_19: type = where_expr [symbolic = %Y_where.type (constants.%Y_where.type)] { @@ -1398,15 +1398,15 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @Z.WithSelf.Self.as_type.impls.Y_where.type.require(@Z.%Self: %Z.type) { -// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.c54)] +// CHECK:STDOUT: %Self: %Z.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f49)] // CHECK:STDOUT: %Self.as_type.loc10_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc10_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: %Y_where.type: type = facet_type <@Y where constants.%impl.elem0 = %Self.as_type.loc10_11.2> [symbolic = %Y_where.type (constants.%Y_where.type)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.c54) {} +// CHECK:STDOUT: specific @Z.WithSelf(constants.%Self.f49) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y_where.type.require(constants.%Self.c54) { -// CHECK:STDOUT: %Self => constants.%Self.c54 +// CHECK:STDOUT: specific @Z.WithSelf.Self.as_type.impls.Y_where.type.require(constants.%Self.f49) { +// CHECK:STDOUT: %Self => constants.%Self.f49 // CHECK:STDOUT: %Self.as_type.loc10_11.2 => constants.%Self.as_type // CHECK:STDOUT: %Y_where.type => constants.%Y_where.type // CHECK:STDOUT: } @@ -1417,21 +1417,21 @@ constraint N { // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %Y.type.745: type = generic_interface_type @Y [concrete] -// CHECK:STDOUT: %Y.generic: %Y.type.745 = struct_value () [concrete] +// CHECK:STDOUT: %Y.type.99a: type = generic_interface_type @Y [concrete] +// CHECK:STDOUT: %Y.generic: %Y.type.99a = struct_value () [concrete] // CHECK:STDOUT: %N.type: type = facet_type <@N> [concrete] -// CHECK:STDOUT: %Self.a7a: %N.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type.4b4: type = facet_access_type %Self.a7a [symbolic] -// CHECK:STDOUT: %.Self.c14: %Z.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type.324: type = facet_access_type %.Self.c14 [symbolic_self] -// CHECK:STDOUT: %Y.type.e27: type = facet_type <@Y, @Y(%.Self.as_type.324)> [symbolic_self] -// CHECK:STDOUT: %Z_where.type.87e: type = facet_type <@Z where .Self impls @Y, @Y(%.Self.as_type.324)> [concrete] -// CHECK:STDOUT: %Z_where.type.f50: type = facet_type <@Z where .Self impls @Y, @Y(%Self.as_type.4b4)> [symbolic] +// CHECK:STDOUT: %Self.f49: %N.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type.d1f: type = facet_access_type %Self.f49 [symbolic] +// CHECK:STDOUT: %.Self.46e: %Z.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type.a24: type = facet_access_type %.Self.46e [symbolic_self] +// CHECK:STDOUT: %Y.type.ada: type = facet_type <@Y, @Y(%.Self.as_type.a24)> [symbolic_self] +// CHECK:STDOUT: %Z_where.type.1f8: type = facet_type <@Z where .Self impls @Y, @Y(%.Self.as_type.a24)> [concrete] +// CHECK:STDOUT: %Z_where.type.58e: type = facet_type <@Z where .Self impls @Y, @Y(%Self.as_type.d1f)> [symbolic] // CHECK:STDOUT: %.Self.as_type.246: type = facet_access_type %.Self.c39 [symbolic_self] // CHECK:STDOUT: %facet_type: type = facet_type <@Z & @Y, @Y(%.Self.as_type.246)> [symbolic_self] -// CHECK:STDOUT: %T.bb7: %facet_type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.bb7 [symbolic] -// CHECK:STDOUT: %Z_where.type.fad: type = facet_type <@Z where .Self impls @Y, @Y(%T.as_type)> [symbolic] +// CHECK:STDOUT: %T.086: %facet_type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.086 [symbolic] +// CHECK:STDOUT: %Z_where.type.645: type = facet_type <@Z where .Self impls @Y, @Y(%T.as_type)> [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1439,29 +1439,29 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @N { -// CHECK:STDOUT: %Self: %N.type = symbolic_binding Self, 0 [symbolic = constants.%Self.a7a] +// CHECK:STDOUT: %Self: %N.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f49] // CHECK:STDOUT: %N.WithSelf.decl = constraint_with_self_decl @N [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %N.WithSelf.Self.as_type.impls.Z_where.type.require.decl = require_decl @N.WithSelf.Self.as_type.impls.Z_where.type.require [concrete] { // CHECK:STDOUT: require %Self.as_type.loc10_11.1 impls %Z_where.type.loc10_19.1 // CHECK:STDOUT: } { -// CHECK:STDOUT: %Self.as_type.loc10_11.1: type = facet_access_type @N.%Self [symbolic = %Self.as_type.loc10_11.2 (constants.%Self.as_type.4b4)] +// CHECK:STDOUT: %Self.as_type.loc10_11.1: type = facet_access_type @N.%Self [symbolic = %Self.as_type.loc10_11.2 (constants.%Self.as_type.d1f)] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] -// CHECK:STDOUT: %.Self: %Z.type = symbolic_binding .Self [symbolic_self = constants.%.Self.c14] -// CHECK:STDOUT: %.Self.ref.loc10_25: %Z.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.c14] -// CHECK:STDOUT: %Y.ref: %Y.type.745 = name_ref Y, file.%Y.decl [concrete = constants.%Y.generic] -// CHECK:STDOUT: %.Self.ref.loc10_39: %Z.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.c14] -// CHECK:STDOUT: %.Self.as_type.loc10_44: type = facet_access_type %.Self.ref.loc10_39 [symbolic_self = constants.%.Self.as_type.324] -// CHECK:STDOUT: %.loc10_44: type = converted %.Self.ref.loc10_39, %.Self.as_type.loc10_44 [symbolic_self = constants.%.Self.as_type.324] -// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(constants.%.Self.as_type.324)> [symbolic_self = constants.%Y.type.e27] -// CHECK:STDOUT: %.Self.as_type.loc10_25: type = facet_access_type %.Self.ref.loc10_25 [symbolic_self = constants.%.Self.as_type.324] -// CHECK:STDOUT: %.loc10_25: type = converted %.Self.ref.loc10_25, %.Self.as_type.loc10_25 [symbolic_self = constants.%.Self.as_type.324] -// CHECK:STDOUT: %.loc10_19: type = where_expr [concrete = constants.%Z_where.type.87e] { +// CHECK:STDOUT: %.Self: %Z.type = symbolic_binding .Self [symbolic_self = constants.%.Self.46e] +// CHECK:STDOUT: %.Self.ref.loc10_25: %Z.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.46e] +// CHECK:STDOUT: %Y.ref: %Y.type.99a = name_ref Y, file.%Y.decl [concrete = constants.%Y.generic] +// CHECK:STDOUT: %.Self.ref.loc10_39: %Z.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.46e] +// CHECK:STDOUT: %.Self.as_type.loc10_44: type = facet_access_type %.Self.ref.loc10_39 [symbolic_self = constants.%.Self.as_type.a24] +// CHECK:STDOUT: %.loc10_44: type = converted %.Self.ref.loc10_39, %.Self.as_type.loc10_44 [symbolic_self = constants.%.Self.as_type.a24] +// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(constants.%.Self.as_type.a24)> [symbolic_self = constants.%Y.type.ada] +// CHECK:STDOUT: %.Self.as_type.loc10_25: type = facet_access_type %.Self.ref.loc10_25 [symbolic_self = constants.%.Self.as_type.a24] +// CHECK:STDOUT: %.loc10_25: type = converted %.Self.ref.loc10_25, %.Self.as_type.loc10_25 [symbolic_self = constants.%.Self.as_type.a24] +// CHECK:STDOUT: %.loc10_19: type = where_expr [concrete = constants.%Z_where.type.1f8] { // CHECK:STDOUT: requirement_base_facet_type %Z.ref // CHECK:STDOUT: requirement_impls %.loc10_25, %Y.type // CHECK:STDOUT: } -// CHECK:STDOUT: %Z_where.type.loc10_19.1: type = facet_type <@Z where .Self impls @Y, @Y(constants.%Self.as_type.4b4)> [symbolic = %Z_where.type.loc10_19.2 (constants.%Z_where.type.f50)] +// CHECK:STDOUT: %Z_where.type.loc10_19.1: type = facet_type <@Z where .Self impls @Y, @Y(constants.%Self.as_type.d1f)> [symbolic = %Z_where.type.loc10_19.2 (constants.%Z_where.type.58e)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1478,53 +1478,53 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @N.WithSelf.Self.as_type.impls.Z_where.type.require(@N.%Self: %N.type) { -// CHECK:STDOUT: %Self: %N.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.a7a)] -// CHECK:STDOUT: %Self.as_type.loc10_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc10_11.2 (constants.%Self.as_type.4b4)] -// CHECK:STDOUT: %Z_where.type.loc10_19.2: type = facet_type <@Z where .Self impls @Y, @Y(%Self.as_type.loc10_11.2)> [symbolic = %Z_where.type.loc10_19.2 (constants.%Z_where.type.f50)] +// CHECK:STDOUT: %Self: %N.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f49)] +// CHECK:STDOUT: %Self.as_type.loc10_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc10_11.2 (constants.%Self.as_type.d1f)] +// CHECK:STDOUT: %Z_where.type.loc10_19.2: type = facet_type <@Z where .Self impls @Y, @Y(%Self.as_type.loc10_11.2)> [symbolic = %Z_where.type.loc10_19.2 (constants.%Z_where.type.58e)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf(constants.%Self.a7a) { +// CHECK:STDOUT: specific @N.WithSelf(constants.%Self.f49) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.Z_where.type.require(constants.%Self.a7a) { -// CHECK:STDOUT: %Self => constants.%Self.a7a -// CHECK:STDOUT: %Self.as_type.loc10_11.2 => constants.%Self.as_type.4b4 -// CHECK:STDOUT: %Z_where.type.loc10_19.2 => constants.%Z_where.type.f50 +// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.Z_where.type.require(constants.%Self.f49) { +// CHECK:STDOUT: %Self => constants.%Self.f49 +// CHECK:STDOUT: %Self.as_type.loc10_11.2 => constants.%Self.as_type.d1f +// CHECK:STDOUT: %Z_where.type.loc10_19.2 => constants.%Z_where.type.58e // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf(constants.%T.bb7) { +// CHECK:STDOUT: specific @N.WithSelf(constants.%T.086) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.Z_where.type.require(constants.%T.bb7) { -// CHECK:STDOUT: %Self => constants.%T.bb7 +// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.Z_where.type.require(constants.%T.086) { +// CHECK:STDOUT: %Self => constants.%T.086 // CHECK:STDOUT: %Self.as_type.loc10_11.2 => constants.%T.as_type -// CHECK:STDOUT: %Z_where.type.loc10_19.2 => constants.%Z_where.type.fad +// CHECK:STDOUT: %Z_where.type.loc10_19.2 => constants.%Z_where.type.645 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- require_with_specific_period_self.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete] -// CHECK:STDOUT: %Y.type.cea: type = generic_interface_type @Y [concrete] -// CHECK:STDOUT: %Y.generic: %Y.type.cea = struct_value () [concrete] +// CHECK:STDOUT: %Y.type.99a: type = generic_interface_type @Y [concrete] +// CHECK:STDOUT: %Y.generic: %Y.type.99a = struct_value () [concrete] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] // CHECK:STDOUT: %N.type: type = facet_type <@N> [concrete] -// CHECK:STDOUT: %Self.c00: %N.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.c00 [symbolic] -// CHECK:STDOUT: %.Self.069: %Z.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.069 [symbolic_self] -// CHECK:STDOUT: %C.e61: type = class_type @C, @C(%.Self.as_type) [symbolic_self] -// CHECK:STDOUT: %Y.type.313: type = facet_type <@Y, @Y(%.Self.as_type)> [symbolic_self] -// CHECK:STDOUT: %Z_where.type.d5dfdf.1: type = facet_type <@Z where %C.e61 impls @Y, @Y(%.Self.as_type)> [concrete] -// CHECK:STDOUT: %C.e28: type = class_type @C, @C(%Self.as_type) [symbolic] -// CHECK:STDOUT: %Z_where.type.d5dfdf.2: type = facet_type <@Z where %C.e28 impls @Y, @Y(%Self.as_type)> [symbolic] -// CHECK:STDOUT: %T.067: %Z.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.067 [symbolic] -// CHECK:STDOUT: %C.3a0: type = class_type @C, @C(%T.as_type) [symbolic] -// CHECK:STDOUT: %Z_where.type.d5dfdf.3: type = facet_type <@Z where %C.3a0 impls @Y, @Y(%T.as_type)> [symbolic] +// CHECK:STDOUT: %Self.f49: %N.type = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.f49 [symbolic] +// CHECK:STDOUT: %.Self.46e: %Z.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.46e [symbolic_self] +// CHECK:STDOUT: %C.67e: type = class_type @C, @C(%.Self.as_type) [symbolic_self] +// CHECK:STDOUT: %Y.type.ada: type = facet_type <@Y, @Y(%.Self.as_type)> [symbolic_self] +// CHECK:STDOUT: %Z_where.type.92ccbc.1: type = facet_type <@Z where %C.67e impls @Y, @Y(%.Self.as_type)> [concrete] +// CHECK:STDOUT: %C.7bf: type = class_type @C, @C(%Self.as_type) [symbolic] +// CHECK:STDOUT: %Z_where.type.92ccbc.2: type = facet_type <@Z where %C.7bf impls @Y, @Y(%Self.as_type)> [symbolic] +// CHECK:STDOUT: %T.aa0: %Z.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %T.as_type: type = facet_access_type %T.aa0 [symbolic] +// CHECK:STDOUT: %C.071: type = class_type @C, @C(%T.as_type) [symbolic] +// CHECK:STDOUT: %Z_where.type.92ccbc.3: type = facet_type <@Z where %C.071 impls @Y, @Y(%T.as_type)> [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1532,7 +1532,7 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: constraint @N { -// CHECK:STDOUT: %Self: %N.type = symbolic_binding Self, 0 [symbolic = constants.%Self.c00] +// CHECK:STDOUT: %Self: %N.type = symbolic_binding Self, 0 [symbolic = constants.%Self.f49] // CHECK:STDOUT: %N.WithSelf.decl = constraint_with_self_decl @N [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: @@ -1541,22 +1541,22 @@ constraint N { // CHECK:STDOUT: } { // CHECK:STDOUT: %Self.as_type.loc10_11.1: type = facet_access_type @N.%Self [symbolic = %Self.as_type.loc10_11.2 (constants.%Self.as_type)] // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type] -// CHECK:STDOUT: %.Self: %Z.type = symbolic_binding .Self [symbolic_self = constants.%.Self.069] +// CHECK:STDOUT: %.Self: %Z.type = symbolic_binding .Self [symbolic_self = constants.%.Self.46e] // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] -// CHECK:STDOUT: %.Self.ref.loc10_27: %Z.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.069] +// CHECK:STDOUT: %.Self.ref.loc10_27: %Z.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.46e] // CHECK:STDOUT: %.Self.as_type.loc10_32: type = facet_access_type %.Self.ref.loc10_27 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_32: type = converted %.Self.ref.loc10_27, %.Self.as_type.loc10_32 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %C.loc10_32: type = class_type @C, @C(constants.%.Self.as_type) [symbolic_self = constants.%C.e61] -// CHECK:STDOUT: %Y.ref: %Y.type.cea = name_ref Y, file.%Y.decl [concrete = constants.%Y.generic] -// CHECK:STDOUT: %.Self.ref.loc10_42: %Z.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.069] +// CHECK:STDOUT: %C.loc10_32: type = class_type @C, @C(constants.%.Self.as_type) [symbolic_self = constants.%C.67e] +// CHECK:STDOUT: %Y.ref: %Y.type.99a = name_ref Y, file.%Y.decl [concrete = constants.%Y.generic] +// CHECK:STDOUT: %.Self.ref.loc10_42: %Z.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self.46e] // CHECK:STDOUT: %.Self.as_type.loc10_47: type = facet_access_type %.Self.ref.loc10_42 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_47: type = converted %.Self.ref.loc10_42, %.Self.as_type.loc10_47 [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(constants.%.Self.as_type)> [symbolic_self = constants.%Y.type.313] -// CHECK:STDOUT: %.loc10_19: type = where_expr [concrete = constants.%Z_where.type.d5dfdf.1] { +// CHECK:STDOUT: %Y.type: type = facet_type <@Y, @Y(constants.%.Self.as_type)> [symbolic_self = constants.%Y.type.ada] +// CHECK:STDOUT: %.loc10_19: type = where_expr [concrete = constants.%Z_where.type.92ccbc.1] { // CHECK:STDOUT: requirement_base_facet_type %Z.ref // CHECK:STDOUT: requirement_impls %C.loc10_32, %Y.type // CHECK:STDOUT: } -// CHECK:STDOUT: %Z_where.type.loc10_19.1: type = facet_type <@Z where constants.%C.e28 impls @Y, @Y(constants.%Self.as_type)> [symbolic = %Z_where.type.loc10_19.2 (constants.%Z_where.type.d5dfdf.2)] +// CHECK:STDOUT: %Z_where.type.loc10_19.1: type = facet_type <@Z where constants.%C.7bf impls @Y, @Y(constants.%Self.as_type)> [symbolic = %Z_where.type.loc10_19.2 (constants.%Z_where.type.92ccbc.2)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -1575,31 +1575,31 @@ constraint N { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic require @N.WithSelf.Self.as_type.impls.Z_where.type.require(@N.%Self: %N.type) { -// CHECK:STDOUT: %Self: %N.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.c00)] +// CHECK:STDOUT: %Self: %N.type = symbolic_binding Self, 0 [symbolic = %Self (constants.%Self.f49)] // CHECK:STDOUT: %Self.as_type.loc10_11.2: type = facet_access_type %Self [symbolic = %Self.as_type.loc10_11.2 (constants.%Self.as_type)] -// CHECK:STDOUT: %C.loc10_19: type = class_type @C, @C(%Self.as_type.loc10_11.2) [symbolic = %C.loc10_19 (constants.%C.e28)] -// CHECK:STDOUT: %Z_where.type.loc10_19.2: type = facet_type <@Z where %C.loc10_19 impls @Y, @Y(%Self.as_type.loc10_11.2)> [symbolic = %Z_where.type.loc10_19.2 (constants.%Z_where.type.d5dfdf.2)] +// CHECK:STDOUT: %C.loc10_19: type = class_type @C, @C(%Self.as_type.loc10_11.2) [symbolic = %C.loc10_19 (constants.%C.7bf)] +// CHECK:STDOUT: %Z_where.type.loc10_19.2: type = facet_type <@Z where %C.loc10_19 impls @Y, @Y(%Self.as_type.loc10_11.2)> [symbolic = %Z_where.type.loc10_19.2 (constants.%Z_where.type.92ccbc.2)] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf(constants.%Self.c00) { +// CHECK:STDOUT: specific @N.WithSelf(constants.%Self.f49) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.Z_where.type.require(constants.%Self.c00) { -// CHECK:STDOUT: %Self => constants.%Self.c00 +// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.Z_where.type.require(constants.%Self.f49) { +// CHECK:STDOUT: %Self => constants.%Self.f49 // CHECK:STDOUT: %Self.as_type.loc10_11.2 => constants.%Self.as_type -// CHECK:STDOUT: %C.loc10_19 => constants.%C.e28 -// CHECK:STDOUT: %Z_where.type.loc10_19.2 => constants.%Z_where.type.d5dfdf.2 +// CHECK:STDOUT: %C.loc10_19 => constants.%C.7bf +// CHECK:STDOUT: %Z_where.type.loc10_19.2 => constants.%Z_where.type.92ccbc.2 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf(constants.%T.067) { +// CHECK:STDOUT: specific @N.WithSelf(constants.%T.aa0) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.Z_where.type.require(constants.%T.067) { -// CHECK:STDOUT: %Self => constants.%T.067 +// CHECK:STDOUT: specific @N.WithSelf.Self.as_type.impls.Z_where.type.require(constants.%T.aa0) { +// CHECK:STDOUT: %Self => constants.%T.aa0 // CHECK:STDOUT: %Self.as_type.loc10_11.2 => constants.%T.as_type -// CHECK:STDOUT: %C.loc10_19 => constants.%C.3a0 -// CHECK:STDOUT: %Z_where.type.loc10_19.2 => constants.%Z_where.type.d5dfdf.3 +// CHECK:STDOUT: %C.loc10_19 => constants.%C.071 +// CHECK:STDOUT: %Z_where.type.loc10_19.2 => constants.%Z_where.type.92ccbc.3 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/add_to_import.carbon b/toolchain/check/testdata/namespace/add_to_import.carbon index a59a3c566326..b491887172db 100644 --- a/toolchain/check/testdata/namespace/add_to_import.carbon +++ b/toolchain/check/testdata/namespace/add_to_import.carbon @@ -51,27 +51,27 @@ var a: i32 = NS.A(); // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -86,9 +86,9 @@ var a: i32 = NS.A(); // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -101,17 +101,17 @@ var a: i32 = NS.A(); // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc4_14: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc4_14: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt [concrete] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -121,12 +121,12 @@ var a: i32 = NS.A(); // CHECK:STDOUT: fn @A() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc4_28.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc4_28.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_28.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc4_28: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_28.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc4_28: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: return %.loc4_28 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/alias.carbon b/toolchain/check/testdata/namespace/alias.carbon index 21c4f576277f..06f9aa551a0a 100644 --- a/toolchain/check/testdata/namespace/alias.carbon +++ b/toolchain/check/testdata/namespace/alias.carbon @@ -31,27 +31,27 @@ fn D() -> i32 { return C(); } // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %D.type: type = fn_type @D [concrete] @@ -66,9 +66,9 @@ fn D() -> i32 { return C(); } // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -87,20 +87,20 @@ fn D() -> i32 { return C(); } // CHECK:STDOUT: %NS.ref.loc17: = name_ref NS, %NS [concrete = %NS] // CHECK:STDOUT: %ns: = alias_binding ns, %NS.ref.loc17 [concrete = %NS] // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc19_14: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc19_14: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %B.decl: %B.type = fn_decl @B [concrete = constants.%B] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc21: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc21: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -108,11 +108,11 @@ fn D() -> i32 { return C(); } // CHECK:STDOUT: %A.ref: %A.type = name_ref A, %A.decl [concrete = constants.%A] // CHECK:STDOUT: %C: %A.type = alias_binding C, %A.ref [concrete = constants.%A] // CHECK:STDOUT: %D.decl: %D.type = fn_decl @D [concrete = constants.%D] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -121,12 +121,12 @@ fn D() -> i32 { return C(); } // CHECK:STDOUT: fn @A() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc19_28.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc19_28.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc19_28.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc19_28: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc19_28.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc19_28: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: return %.loc19_28 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/fail_conflict_after_merge.carbon b/toolchain/check/testdata/namespace/fail_conflict_after_merge.carbon index 08f5d174720b..bb9f5a7a2f94 100644 --- a/toolchain/check/testdata/namespace/fail_conflict_after_merge.carbon +++ b/toolchain/check/testdata/namespace/fail_conflict_after_merge.carbon @@ -73,10 +73,10 @@ fn NS(); // CHECK:STDOUT: --- fail_conflict.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %NS.type.4d7b42.1: type = fn_type @NS.loc18 [concrete] -// CHECK:STDOUT: %NS.3d5376.1: %NS.type.4d7b42.1 = struct_value () [concrete] -// CHECK:STDOUT: %NS.type.4d7b42.2: type = fn_type @NS.loc32 [concrete] -// CHECK:STDOUT: %NS.3d5376.2: %NS.type.4d7b42.2 = struct_value () [concrete] +// CHECK:STDOUT: %NS.type.c965b3.1: type = fn_type @NS.loc18 [concrete] +// CHECK:STDOUT: %NS.a8d52a.1: %NS.type.c965b3.1 = struct_value () [concrete] +// CHECK:STDOUT: %NS.type.c965b3.2: type = fn_type @NS.loc32 [concrete] +// CHECK:STDOUT: %NS.a8d52a.2: %NS.type.c965b3.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -96,9 +96,9 @@ fn NS(); // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %NS.loc8: = namespace imports.%Example.NS, [concrete] {} -// CHECK:STDOUT: %NS.decl.loc18: %NS.type.4d7b42.1 = fn_decl @NS.loc18 [concrete = constants.%NS.3d5376.1] {} {} +// CHECK:STDOUT: %NS.decl.loc18: %NS.type.c965b3.1 = fn_decl @NS.loc18 [concrete = constants.%NS.a8d52a.1] {} {} // CHECK:STDOUT: %NS.loc22: = namespace imports.%Example.NS, [concrete] {} -// CHECK:STDOUT: %NS.decl.loc32: %NS.type.4d7b42.2 = fn_decl @NS.loc32 [concrete = constants.%NS.3d5376.2] {} {} +// CHECK:STDOUT: %NS.decl.loc32: %NS.type.c965b3.2 = fn_decl @NS.loc32 [concrete = constants.%NS.a8d52a.2] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @NS.loc18(); diff --git a/toolchain/check/testdata/namespace/fail_conflict_in_imports_namespace_second.carbon b/toolchain/check/testdata/namespace/fail_conflict_in_imports_namespace_second.carbon index a5e82e849dc5..0ad787d191e8 100644 --- a/toolchain/check/testdata/namespace/fail_conflict_in_imports_namespace_second.carbon +++ b/toolchain/check/testdata/namespace/fail_conflict_in_imports_namespace_second.carbon @@ -110,8 +110,8 @@ fn NS.Bar() {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Example.NS.86d: = import_ref Example//namespace, NS, loaded -// CHECK:STDOUT: %NS: = namespace %Example.NS.86d, [concrete] { +// CHECK:STDOUT: %Example.NS.677: = import_ref Example//namespace, NS, loaded +// CHECK:STDOUT: %NS: = namespace %Example.NS.677, [concrete] { // CHECK:STDOUT: .Foo = %Example.Foo // CHECK:STDOUT: .Bar = file.%Bar.decl // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/namespace/fail_decl_in_alias.carbon b/toolchain/check/testdata/namespace/fail_decl_in_alias.carbon index 00db1e1acc2c..4de8d9b7d541 100644 --- a/toolchain/check/testdata/namespace/fail_decl_in_alias.carbon +++ b/toolchain/check/testdata/namespace/fail_decl_in_alias.carbon @@ -33,27 +33,27 @@ fn ns.A() -> i32 { return 0; } // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %A.type: type = fn_type @A [concrete] // CHECK:STDOUT: %A: %A.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -64,9 +64,9 @@ fn ns.A() -> i32 { return 0; } // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -80,11 +80,11 @@ fn ns.A() -> i32 { return 0; } // CHECK:STDOUT: %NS.ref: = name_ref NS, %NS [concrete = %NS] // CHECK:STDOUT: %ns: = alias_binding ns, %NS.ref [concrete = %NS] // CHECK:STDOUT: %A.decl: %A.type = fn_decl @A [concrete = constants.%A] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc27_14: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc27_14: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -93,12 +93,12 @@ fn ns.A() -> i32 { return 0; } // CHECK:STDOUT: fn @A() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc27_28.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc27_28.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc27_28.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc27_28: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc27_28.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc27_28: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: return %.loc27_28 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/fail_duplicate.carbon b/toolchain/check/testdata/namespace/fail_duplicate.carbon index 935b1c88c3b8..3c97a159fcbd 100644 --- a/toolchain/check/testdata/namespace/fail_duplicate.carbon +++ b/toolchain/check/testdata/namespace/fail_duplicate.carbon @@ -30,10 +30,10 @@ fn Foo.Baz() { // CHECK:STDOUT: --- fail_duplicate.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %Baz.type.bf9f17.1: type = fn_type @Baz.loc17 [concrete] -// CHECK:STDOUT: %Baz.5e7afa.1: %Baz.type.bf9f17.1 = struct_value () [concrete] -// CHECK:STDOUT: %Baz.type.bf9f17.2: type = fn_type @Baz.loc27 [concrete] -// CHECK:STDOUT: %Baz.5e7afa.2: %Baz.type.bf9f17.2 = struct_value () [concrete] +// CHECK:STDOUT: %Baz.type.c26d77.1: type = fn_type @Baz.loc17 [concrete] +// CHECK:STDOUT: %Baz.6ada30.1: %Baz.type.c26d77.1 = struct_value () [concrete] +// CHECK:STDOUT: %Baz.type.c26d77.2: type = fn_type @Baz.loc27 [concrete] +// CHECK:STDOUT: %Baz.6ada30.2: %Baz.type.c26d77.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -52,8 +52,8 @@ fn Foo.Baz() { // CHECK:STDOUT: %Foo: = namespace [concrete] { // CHECK:STDOUT: .Baz = %Baz.decl.loc17 // CHECK:STDOUT: } -// CHECK:STDOUT: %Baz.decl.loc17: %Baz.type.bf9f17.1 = fn_decl @Baz.loc17 [concrete = constants.%Baz.5e7afa.1] {} {} -// CHECK:STDOUT: %Baz.decl.loc27: %Baz.type.bf9f17.2 = fn_decl @Baz.loc27 [concrete = constants.%Baz.5e7afa.2] {} {} +// CHECK:STDOUT: %Baz.decl.loc17: %Baz.type.c26d77.1 = fn_decl @Baz.loc17 [concrete = constants.%Baz.6ada30.1] {} {} +// CHECK:STDOUT: %Baz.decl.loc27: %Baz.type.c26d77.2 = fn_decl @Baz.loc27 [concrete = constants.%Baz.6ada30.2] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Baz.loc17() { diff --git a/toolchain/check/testdata/namespace/fail_not_top_level.carbon b/toolchain/check/testdata/namespace/fail_not_top_level.carbon index 766f934a1d04..f74910420f73 100644 --- a/toolchain/check/testdata/namespace/fail_not_top_level.carbon +++ b/toolchain/check/testdata/namespace/fail_not_top_level.carbon @@ -42,19 +42,19 @@ interface I { // CHECK:STDOUT: --- fail_not_top_level.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %F.type.4c8: type = fn_type @F.loc15 [concrete] -// CHECK:STDOUT: %F.93f: %F.type.4c8 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.b8d: type = fn_type @F.loc15 [concrete] +// CHECK:STDOUT: %F.736: %F.type.b8d = struct_value () [concrete] // CHECK:STDOUT: %F.type.23e: type = fn_type @F.loc21 [concrete] // CHECK:STDOUT: %F.7e0: %F.type.23e = struct_value () [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %F.type.550: type = fn_type @F.loc30 [concrete] -// CHECK:STDOUT: %F.23d: %F.type.550 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.fd1: type = fn_type @F.loc30 [concrete] +// CHECK:STDOUT: %F.969: %F.type.fd1 = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %I.type.3dc: type = facet_type <@I.loc33> [concrete] -// CHECK:STDOUT: %Self: %I.type.3dc = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %I.type.b31: type = fn_type @I.loc39, @I.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %I: %I.type.b31 = struct_value () [symbolic] +// CHECK:STDOUT: %I.type.404: type = facet_type <@I.loc33> [concrete] +// CHECK:STDOUT: %Self: %I.type.404 = symbolic_binding Self, 0 [symbolic] +// CHECK:STDOUT: %I.type.570: type = fn_type @I.loc39, @I.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %I: %I.type.570 = struct_value () [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -72,20 +72,20 @@ interface I { // CHECK:STDOUT: .I = %I.decl // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %F.decl: %F.type.4c8 = fn_decl @F.loc15 [concrete = constants.%F.93f] {} {} +// CHECK:STDOUT: %F.decl: %F.type.b8d = fn_decl @F.loc15 [concrete = constants.%F.736] {} {} // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} -// CHECK:STDOUT: %I.decl: type = interface_decl @I.loc33 [concrete = constants.%I.type.3dc] {} {} +// CHECK:STDOUT: %I.decl: type = interface_decl @I.loc33 [concrete = constants.%I.type.404] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: interface @I.loc33 { -// CHECK:STDOUT: %Self: %I.type.3dc = symbolic_binding Self, 0 [symbolic = constants.%Self] +// CHECK:STDOUT: %Self: %I.type.404 = symbolic_binding Self, 0 [symbolic = constants.%Self] // CHECK:STDOUT: %I.WithSelf.decl = interface_with_self_decl @I.loc33 [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %N: = namespace [concrete] { // CHECK:STDOUT: .I = %I.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %I.decl: @I.WithSelf.%I.type (%I.type.b31) = fn_decl @I.loc39 [symbolic = @I.WithSelf.%I (constants.%I)] {} {} +// CHECK:STDOUT: %I.decl: @I.WithSelf.%I.type (%I.type.570) = fn_decl @I.loc39 [symbolic = @I.WithSelf.%I (constants.%I)] {} {} // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .Self = %Self @@ -99,7 +99,7 @@ interface I { // CHECK:STDOUT: %N: = namespace [concrete] { // CHECK:STDOUT: .F = %F.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl: %F.type.550 = fn_decl @F.loc30 [concrete = constants.%F.23d] {} {} +// CHECK:STDOUT: %F.decl: %F.type.fd1 = fn_decl @F.loc30 [concrete = constants.%F.969] {} {} // CHECK:STDOUT: %complete_type: = complete_type_witness constants.%empty_struct_type [concrete = constants.%complete_type] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: @@ -127,7 +127,7 @@ interface I { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @I.loc39(@I.loc33.%Self: %I.type.3dc) { +// CHECK:STDOUT: generic fn @I.loc39(@I.loc33.%Self: %I.type.404) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: // CHECK:STDOUT: fn() { @@ -139,7 +139,7 @@ interface I { // CHECK:STDOUT: specific @I.WithSelf(constants.%Self) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %Self => constants.%Self -// CHECK:STDOUT: %I.type => constants.%I.type.b31 +// CHECK:STDOUT: %I.type => constants.%I.type.570 // CHECK:STDOUT: %I => constants.%I // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/namespace/fail_params.carbon b/toolchain/check/testdata/namespace/fail_params.carbon index c51720ebeb86..c7822f0e1da3 100644 --- a/toolchain/check/testdata/namespace/fail_params.carbon +++ b/toolchain/check/testdata/namespace/fail_params.carbon @@ -50,14 +50,14 @@ fn D(unused T:! type).F() {} // CHECK:STDOUT: --- fail_params.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %F.type.d4f: type = fn_type @F.loc22 [concrete] -// CHECK:STDOUT: %F.cee: %F.type.d4f = struct_value () [concrete] +// CHECK:STDOUT: %F.type.c1b: type = fn_type @F.loc22 [concrete] +// CHECK:STDOUT: %F.10e: %F.type.c1b = struct_value () [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %T.67db0b.1: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %T.67db0b.2: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %F.type.4c8: type = fn_type @F.loc48 [concrete] -// CHECK:STDOUT: %F.93f: %F.type.4c8 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.b8d: type = fn_type @F.loc48 [concrete] +// CHECK:STDOUT: %F.736: %F.type.b8d = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -80,7 +80,7 @@ fn D(unused T:! type).F() {} // CHECK:STDOUT: %A: = namespace [concrete] { // CHECK:STDOUT: .F = %F.decl.loc22 // CHECK:STDOUT: } -// CHECK:STDOUT: %F.decl.loc22: %F.type.d4f = fn_decl @F.loc22 [concrete = constants.%F.cee] {} {} +// CHECK:STDOUT: %F.decl.loc22: %F.type.c1b = fn_decl @F.loc22 [concrete = constants.%F.10e] {} {} // CHECK:STDOUT: %n.param: = value_param call_param0 // CHECK:STDOUT: %.loc32: type = type_literal [concrete = ] // CHECK:STDOUT: %n: = value_binding n, [concrete = ] @@ -95,7 +95,7 @@ fn D(unused T:! type).F() {} // CHECK:STDOUT: %x: %T.67db0b.1 = value_binding x, %x.param // CHECK:STDOUT: %C: = namespace [concrete] {} // CHECK:STDOUT: %D: = namespace [concrete] {} -// CHECK:STDOUT: %F.decl.loc48: %F.type.4c8 = fn_decl @F.loc48 [concrete = constants.%F.93f] {} { +// CHECK:STDOUT: %F.decl.loc48: %F.type.b8d = fn_decl @F.loc48 [concrete = constants.%F.736] {} { // CHECK:STDOUT: %.loc48_17.1: type = splice_block %.loc48_17.2 [concrete = type] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc48_17.2: type = type_literal type [concrete = type] diff --git a/toolchain/check/testdata/namespace/function.carbon b/toolchain/check/testdata/namespace/function.carbon index dec781ad004a..a113a893f686 100644 --- a/toolchain/check/testdata/namespace/function.carbon +++ b/toolchain/check/testdata/namespace/function.carbon @@ -28,11 +28,11 @@ fn Bar() { // CHECK:STDOUT: --- function.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %Baz.type.710: type = fn_type @Baz.loc18 [concrete] +// CHECK:STDOUT: %Baz.type.ae5: type = fn_type @Baz.loc18 [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %Baz.142: %Baz.type.710 = struct_value () [concrete] -// CHECK:STDOUT: %Baz.type.bf9: type = fn_type @Baz.loc21 [concrete] -// CHECK:STDOUT: %Baz.5e7: %Baz.type.bf9 = struct_value () [concrete] +// CHECK:STDOUT: %Baz.6df: %Baz.type.ae5 = struct_value () [concrete] +// CHECK:STDOUT: %Baz.type.c26: type = fn_type @Baz.loc21 [concrete] +// CHECK:STDOUT: %Baz.6ad: %Baz.type.c26 = struct_value () [concrete] // CHECK:STDOUT: %Bar.type: type = fn_type @Bar [concrete] // CHECK:STDOUT: %Bar: %Bar.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -55,8 +55,8 @@ fn Bar() { // CHECK:STDOUT: %Foo: = namespace [concrete] { // CHECK:STDOUT: .Baz = %Baz.decl.loc21 // CHECK:STDOUT: } -// CHECK:STDOUT: %Baz.decl.loc18: %Baz.type.710 = fn_decl @Baz.loc18 [concrete = constants.%Baz.142] {} {} -// CHECK:STDOUT: %Baz.decl.loc21: %Baz.type.bf9 = fn_decl @Baz.loc21 [concrete = constants.%Baz.5e7] {} {} +// CHECK:STDOUT: %Baz.decl.loc18: %Baz.type.ae5 = fn_decl @Baz.loc18 [concrete = constants.%Baz.6df] {} {} +// CHECK:STDOUT: %Baz.decl.loc21: %Baz.type.c26 = fn_decl @Baz.loc21 [concrete = constants.%Baz.6ad] {} {} // CHECK:STDOUT: %Bar.decl: %Bar.type = fn_decl @Bar [concrete = constants.%Bar] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -73,7 +73,7 @@ fn Bar() { // CHECK:STDOUT: fn @Bar() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Foo.ref: = name_ref Foo, file.%Foo [concrete = file.%Foo] -// CHECK:STDOUT: %Baz.ref: %Baz.type.bf9 = name_ref Baz, file.%Baz.decl.loc21 [concrete = constants.%Baz.5e7] +// CHECK:STDOUT: %Baz.ref: %Baz.type.c26 = name_ref Baz, file.%Baz.decl.loc21 [concrete = constants.%Baz.6ad] // CHECK:STDOUT: %Baz.call: init %empty_tuple.type = call %Baz.ref() // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/namespace/imported_indirect.carbon b/toolchain/check/testdata/namespace/imported_indirect.carbon index 98d349cded34..79f1a04615c6 100644 --- a/toolchain/check/testdata/namespace/imported_indirect.carbon +++ b/toolchain/check/testdata/namespace/imported_indirect.carbon @@ -123,7 +123,7 @@ fn G() { Same.F(); } // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %.120: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %.fb7: Core.Form = init_form %C [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] @@ -157,7 +157,7 @@ fn G() { Same.F(); } // CHECK:STDOUT: } { // CHECK:STDOUT: %A.ref: = name_ref A, imports.%A [concrete = imports.%A] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Same.C [concrete = constants.%C] -// CHECK:STDOUT: %.loc7: Core.Form = init_form %C.ref [concrete = constants.%.120] +// CHECK:STDOUT: %.loc7: Core.Form = init_form %C.ref [concrete = constants.%.fb7] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/namespace/merging_with_indirections.carbon b/toolchain/check/testdata/namespace/merging_with_indirections.carbon index 6c926b0d459d..68219cec9ba9 100644 --- a/toolchain/check/testdata/namespace/merging_with_indirections.carbon +++ b/toolchain/check/testdata/namespace/merging_with_indirections.carbon @@ -87,7 +87,7 @@ fn Run() { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %A: type = class_type @A [concrete] -// CHECK:STDOUT: %.bf3: Core.Form = init_form %A [concrete] +// CHECK:STDOUT: %.4be: Core.Form = init_form %A [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %A [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] @@ -107,7 +107,7 @@ fn Run() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Other.import_ref.8f2: = import_ref Other//a, loc5_14, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.059 = import_ref Other//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Other.import_ref.942 = import_ref Other//a, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -129,7 +129,7 @@ fn Run() { // CHECK:STDOUT: } { // CHECK:STDOUT: %NS1.ref: = name_ref NS1, imports.%NS1 [concrete = imports.%NS1] // CHECK:STDOUT: %A.ref: type = name_ref A, imports.%Other.A [concrete = constants.%A] -// CHECK:STDOUT: %.loc8_14: Core.Form = init_form %A.ref [concrete = constants.%.bf3] +// CHECK:STDOUT: %.loc8_14: Core.Form = init_form %A.ref [concrete = constants.%.4be] // CHECK:STDOUT: %return.param: ref %A = out_param call_param0 // CHECK:STDOUT: %return: ref %A = return_slot %return.param // CHECK:STDOUT: } @@ -147,7 +147,7 @@ fn Run() { // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.059 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.942 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: %A { @@ -169,19 +169,19 @@ fn Run() { // CHECK:STDOUT: %A: type = class_type @A [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.d89: type = pattern_type %A [concrete] +// CHECK:STDOUT: %pattern_type.690: type = pattern_type %A [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.61c: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%A) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.685: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%A) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.685: %T.as.DefaultOrUnformed.impl.Op.type.685 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %A, (%DefaultOrUnformed.impl_witness.61c) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.685, @T.as.DefaultOrUnformed.impl.Op(%A) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.6a8: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%A) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.ab2: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%A) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.06d: %T.as.DefaultOrUnformed.impl.Op.type.ab2 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %A, (%DefaultOrUnformed.impl_witness.6a8) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.06d, @T.as.DefaultOrUnformed.impl.Op(%A) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc10_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc10_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -193,23 +193,23 @@ fn Run() { // CHECK:STDOUT: } // CHECK:STDOUT: %Other: = namespace file.%Other.import, [concrete] { // CHECK:STDOUT: .F = %Other.F -// CHECK:STDOUT: .NS1 = %NS1.3564c5.2 +// CHECK:STDOUT: .NS1 = %NS1.311988.2 // CHECK:STDOUT: import Other//b // CHECK:STDOUT: import Other//a // CHECK:STDOUT: } // CHECK:STDOUT: %Other.F: %F.type = import_ref Other//b, F, loaded [concrete = constants.%F] // CHECK:STDOUT: %Other.import_ref.8db: = import_ref Other//b, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.0da = import_ref Other//b, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.ffc = import_ref Other//b, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: %Other.NS1: = import_ref Other//b, NS1, loaded -// CHECK:STDOUT: %NS1.3564c5.2: = namespace %Other.NS1, [concrete] { +// CHECK:STDOUT: %NS1.311988.2: = namespace %Other.NS1, [concrete] { // CHECK:STDOUT: .A = %Other.A // CHECK:STDOUT: import Other//b // CHECK:STDOUT: import Other//a // CHECK:STDOUT: } // CHECK:STDOUT: %Other.A: type = import_ref Other//a, A, loaded [concrete = constants.%A] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -228,7 +228,7 @@ fn Run() { // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.8db // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.0da +// CHECK:STDOUT: .Self = imports.%Other.import_ref.ffc // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() { @@ -239,21 +239,21 @@ fn Run() { // CHECK:STDOUT: %F.call.loc7: init %A to %.loc7_11.1 = call %F.ref.loc7() // CHECK:STDOUT: %.loc7_11.2: ref %A = temporary %.loc7_11.1, %F.call.loc7 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.d89 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.d89 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.690 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.690 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %A = var %a.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%A, (constants.%DefaultOrUnformed.impl_witness.61c) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%A, (constants.%DefaultOrUnformed.impl_witness.6a8) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc10_21.1: %DefaultOrUnformed.type = converted constants.%A, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc10_21.1 [concrete = constants.%A] // CHECK:STDOUT: %.loc10_21.2: type = converted %.loc10_21.1, %as_type [concrete = constants.%A] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.685, @T.as.DefaultOrUnformed.impl.Op(constants.%A) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.06d, @T.as.DefaultOrUnformed.impl.Op(constants.%A) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %.loc10_3: ref %A = splice_block %a.var {} // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %A to %.loc10_3 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %a.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: %.loc10_19: type = splice_block %A.ref [concrete = constants.%A] { // CHECK:STDOUT: %Other.ref.loc10: = name_ref Other, imports.%Other [concrete = imports.%Other] -// CHECK:STDOUT: %NS1.ref: = name_ref NS1, imports.%NS1.3564c5.2 [concrete = imports.%NS1.3564c5.2] +// CHECK:STDOUT: %NS1.ref: = name_ref NS1, imports.%NS1.311988.2 [concrete = imports.%NS1.311988.2] // CHECK:STDOUT: %A.ref: type = name_ref A, imports.%Other.A [concrete = constants.%A] // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %A = ref_binding a, %a.var @@ -263,9 +263,9 @@ fn Run() { // CHECK:STDOUT: %.loc13: ref %A = splice_block %a.ref {} // CHECK:STDOUT: %F.call.loc13: init %A to %.loc13 = call %F.ref.loc13() // CHECK:STDOUT: assign %a.ref, %F.call.loc13 -// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc10: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc10: init %empty_tuple.type = call %Destroy.Op.bound.loc10(%a.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %.loc7_11.2, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %.loc7_11.2, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc7: init %empty_tuple.type = call %Destroy.Op.bound.loc7(%.loc7_11.2) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/namespace/shadow.carbon b/toolchain/check/testdata/namespace/shadow.carbon index 9a410145b441..73ab84eed59f 100644 --- a/toolchain/check/testdata/namespace/shadow.carbon +++ b/toolchain/check/testdata/namespace/shadow.carbon @@ -34,52 +34,52 @@ fn N.M.B() -> i32 { // CHECK:STDOUT: --- shadow.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %A.type.a16: type = fn_type @A.loc15 [concrete] +// CHECK:STDOUT: %A.type.f92: type = fn_type @A.loc15 [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %A.f94: %A.type.a16 = struct_value () [concrete] -// CHECK:STDOUT: %A.type.029: type = fn_type @A.loc18 [concrete] -// CHECK:STDOUT: %A.b58: %A.type.029 = struct_value () [concrete] +// CHECK:STDOUT: %A.c9c: %A.type.f92 = struct_value () [concrete] +// CHECK:STDOUT: %A.type.6b6: type = fn_type @A.loc18 [concrete] +// CHECK:STDOUT: %A.993: %A.type.6b6 = struct_value () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %B.type: type = fn_type @B [concrete] // CHECK:STDOUT: %B: %B.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc26_5.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc26_5.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -92,12 +92,12 @@ fn N.M.B() -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -108,22 +108,22 @@ fn N.M.B() -> i32 { // CHECK:STDOUT: .N = %N // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core -// CHECK:STDOUT: %A.decl.loc15: %A.type.a16 = fn_decl @A.loc15 [concrete = constants.%A.f94] {} {} +// CHECK:STDOUT: %A.decl.loc15: %A.type.f92 = fn_decl @A.loc15 [concrete = constants.%A.c9c] {} {} // CHECK:STDOUT: %N: = namespace [concrete] { // CHECK:STDOUT: .A = %A.decl.loc18 // CHECK:STDOUT: .M = %M // CHECK:STDOUT: } -// CHECK:STDOUT: %A.decl.loc18: %A.type.029 = fn_decl @A.loc18 [concrete = constants.%A.b58] {} {} +// CHECK:STDOUT: %A.decl.loc18: %A.type.6b6 = fn_decl @A.loc18 [concrete = constants.%A.993] {} {} // CHECK:STDOUT: %M: = namespace [concrete] { // CHECK:STDOUT: .B = %B.decl // CHECK:STDOUT: .A = // CHECK:STDOUT: } // CHECK:STDOUT: %B.decl: %B.type = fn_decl @B [concrete = constants.%B] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc22 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc22 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc22: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc22: Core.Form = init_form %i32.loc22 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc22: Core.Form = init_form %i32.loc22 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -135,47 +135,47 @@ fn N.M.B() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: fn @B() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %A.ref.loc24: %A.type.029 = name_ref A, file.%A.decl.loc18 [concrete = constants.%A.b58] +// CHECK:STDOUT: %A.ref.loc24: %A.type.6b6 = name_ref A, file.%A.decl.loc18 [concrete = constants.%A.993] // CHECK:STDOUT: %A.call: init %empty_tuple.type = call %A.ref.loc24() // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] // CHECK:STDOUT: if %true br !if.then else br !if.else // CHECK:STDOUT: // CHECK:STDOUT: !if.then: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %A.patt: %pattern_type.c6b = ref_binding_pattern A [concrete] -// CHECK:STDOUT: %A.var_patt: %pattern_type.c6b = var_pattern %A.patt [concrete] +// CHECK:STDOUT: %A.patt: %pattern_type.104 = ref_binding_pattern A [concrete] +// CHECK:STDOUT: %A.var_patt: %pattern_type.104 = var_pattern %A.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %A.var: ref %i32 = var %A.var_patt // CHECK:STDOUT: %int_0.loc26: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc26: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc26: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc26_5.1: = bound_method %int_0.loc26, %impl.elem0.loc26 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc26: = specific_function %impl.elem0.loc26, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc26_5.2: = bound_method %int_0.loc26, %specific_fn.loc26 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26: init %i32 = call %bound_method.loc26_5.2(%int_0.loc26) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc26: init %i32 = converted %int_0.loc26, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26: init %i32 = call %bound_method.loc26_5.2(%int_0.loc26) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc26: init %i32 = converted %int_0.loc26, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc26 [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign %A.var, %.loc26 // CHECK:STDOUT: %i32.loc26: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %A: ref %i32 = ref_binding A, %A.var // CHECK:STDOUT: %A.ref.loc29: ref %i32 = name_ref A, %A // CHECK:STDOUT: %.loc29: %i32 = acquire_value %A.ref.loc29 -// CHECK:STDOUT: %impl.elem0.loc29: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc29: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc29_12.1: = bound_method %.loc29, %impl.elem0.loc29 // CHECK:STDOUT: %specific_fn.loc29: = specific_function %impl.elem0.loc29, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc29_12.2: = bound_method %.loc29, %specific_fn.loc29 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc29_12.2(%.loc29) -// CHECK:STDOUT: %Destroy.Op.bound.loc26_5.1: = bound_method %A.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc26_5.1: = bound_method %A.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc26_5.1: init %empty_tuple.type = call %Destroy.Op.bound.loc26_5.1(%A.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: // CHECK:STDOUT: !if.else: // CHECK:STDOUT: %int_0.loc31: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc31: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc31: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc31_11.1: = bound_method %int_0.loc31, %impl.elem0.loc31 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc31: = specific_function %impl.elem0.loc31, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc31_11.2: = bound_method %int_0.loc31, %specific_fn.loc31 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31: init %i32 = call %bound_method.loc31_11.2(%int_0.loc31) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc31: init %i32 = converted %int_0.loc31, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %Destroy.Op.bound.loc26_5.2: = bound_method %A.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31: init %i32 = call %bound_method.loc31_11.2(%int_0.loc31) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc31: init %i32 = converted %int_0.loc31, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc31 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %Destroy.Op.bound.loc26_5.2: = bound_method %A.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc26_5.2: init %empty_tuple.type = call %Destroy.Op.bound.loc26_5.2(%A.var) // CHECK:STDOUT: return %.loc31 // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/operators/builtin/and.carbon b/toolchain/check/testdata/operators/builtin/and.carbon index 7ddbe22cc1e0..401e8e56a6f8 100644 --- a/toolchain/check/testdata/operators/builtin/and.carbon +++ b/toolchain/check/testdata/operators/builtin/and.carbon @@ -42,10 +42,10 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.bc7: = impl_witness imports.%Copy.impl_witness_table.aef [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.bc7) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.5dd: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.698: type = fn_type_with_self_type %Copy.WithSelf.Op.type.5dd, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.de3: = impl_witness imports.%Copy.impl_witness_table.34b [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.de3) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.079: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.022: type = fn_type_with_self_type %Copy.WithSelf.Op.type.079, %Copy.facet [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.type: type = fn_type @bool.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op: %bool.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.bound: = bound_method %true, %bool.as.Copy.impl.Op [concrete] @@ -59,10 +59,10 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc26 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc23 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc26 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc23 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: %PartialConstant.type: type = fn_type @PartialConstant [concrete] // CHECK:STDOUT: %PartialConstant: %PartialConstant.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -77,8 +77,8 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/parts/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.41e: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.aef = impl_witness_table (%Core.import_ref.41e), @bool.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.34b = impl_witness_table (%Core.import_ref.f63), @bool.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -133,7 +133,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: fn @F() -> out %return.param: bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %true, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%true) [concrete = constants.%true] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call @@ -142,7 +142,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: fn @G() -> out %return.param: bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %true, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%true) [concrete = constants.%true] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call @@ -166,7 +166,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: // CHECK:STDOUT: !and.result: // CHECK:STDOUT: %.loc19_14.5: bool = block_arg !and.result -// CHECK:STDOUT: %impl.elem0: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc19_14.5, %impl.elem0 // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%.loc19_14.5) // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call @@ -180,7 +180,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref bool = var %a.var_patt // CHECK:STDOUT: %true.loc23_54: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %true.loc23_54, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%true.loc23_54) [concrete = constants.%true] // CHECK:STDOUT: assign %a.var, %bool.as.Copy.impl.Op.call @@ -331,13 +331,13 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: // CHECK:STDOUT: !.loc26_15: // CHECK:STDOUT: %d: ref %empty_tuple.type = ref_binding d, %d.var -// CHECK:STDOUT: %Destroy.Op.bound.loc26: = bound_method %d.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc26: = bound_method %d.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc26: init %empty_tuple.type = call %Destroy.Op.bound.loc26(%d.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc25: = bound_method %c.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc25: = bound_method %c.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc25: init %empty_tuple.type = call %Destroy.Op.bound.loc25(%c.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc24: = bound_method %b.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc24: = bound_method %b.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc24: init %empty_tuple.type = call %Destroy.Op.bound.loc24(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc23: init %empty_tuple.type = call %Destroy.Op.bound.loc23(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -387,7 +387,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: // CHECK:STDOUT: !.loc30_15: // CHECK:STDOUT: %a: ref %empty_tuple.type = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/operators/builtin/assignment.carbon b/toolchain/check/testdata/operators/builtin/assignment.carbon index ecc087b2f473..e4e7999c2d29 100644 --- a/toolchain/check/testdata/operators/builtin/assignment.carbon +++ b/toolchain/check/testdata/operators/builtin/assignment.carbon @@ -41,88 +41,88 @@ fn Main() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_12.6a3: Core.IntLiteral = int_value 12 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.3a1: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.839: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_12.f43: %i32 = int_value 12 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bc9: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.739: = bound_method %int_12.6a3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_12.aa5: %i32 = int_value 12 [concrete] // CHECK:STDOUT: %int_9.988: Core.IntLiteral = int_value 9 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.299: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.e00: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_9.e6d: %i32 = int_value 9 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.aba: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.50b: = bound_method %int_9.988, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_9.7e6: %i32 = int_value 9 [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.8e3: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %pattern_type.624: type = pattern_type %tuple.type.87c [concrete] +// CHECK:STDOUT: %tuple.79d: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %pattern_type.7d6: type = pattern_type %tuple.type.e5a [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %tuple.type.f94: type = tuple_type (Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.ad8: %tuple.type.f94 = tuple_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %tuple.03f: %tuple.type.87c = tuple_value (%int_1.d5e, %int_2.4ff) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %tuple.cd5: %tuple.type.e5a = tuple_value (%int_1.d9c, %int_2.228) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] -// CHECK:STDOUT: %struct_type.a.b.602: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.32c: type = pattern_type %struct_type.a.b.602 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %struct_type.a.b.b47: type = struct_type {.a: %i32, .b: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.941: type = pattern_type %struct_type.a.b.b47 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.4aa: %struct_type.a.b.cfd = struct_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %struct.a0d: %struct_type.a.b.602 = struct_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] +// CHECK:STDOUT: %struct.8fc: %struct_type.a.b.b47 = struct_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] // CHECK:STDOUT: %int_5.64b: Core.IntLiteral = int_value 5 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.10b: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e3e: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %int_10.64f: Core.IntLiteral = int_value 10 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d52: = bound_method %int_10.64f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.884: = bound_method %int_10.64f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_10.09f: %i32 = int_value 10 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.75c: = bound_method %int_10.64f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.2f8: = bound_method %int_10.64f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_10.0d4: %i32 = int_value 10 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc27 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc23_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc23_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc19 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc27 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc23_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc23_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc19 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -135,12 +135,12 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -156,203 +156,203 @@ fn Main() { // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt // CHECK:STDOUT: %int_12: Core.IntLiteral = int_value 12 [concrete = constants.%int_12.6a3] -// CHECK:STDOUT: %impl.elem0.loc16: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_3.1: = bound_method %int_12, %impl.elem0.loc16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.3a1] +// CHECK:STDOUT: %impl.elem0.loc16: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_3.1: = bound_method %int_12, %impl.elem0.loc16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bc9] // CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_3.2: = bound_method %int_12, %specific_fn.loc16 [concrete = constants.%bound_method.839] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16: init %i32 = call %bound_method.loc16_3.2(%int_12) [concrete = constants.%int_12.f43] -// CHECK:STDOUT: %.loc16: init %i32 = converted %int_12, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16 [concrete = constants.%int_12.f43] +// CHECK:STDOUT: %bound_method.loc16_3.2: = bound_method %int_12, %specific_fn.loc16 [concrete = constants.%bound_method.739] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16: init %i32 = call %bound_method.loc16_3.2(%int_12) [concrete = constants.%int_12.aa5] +// CHECK:STDOUT: %.loc16: init %i32 = converted %int_12, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16 [concrete = constants.%int_12.aa5] // CHECK:STDOUT: assign %a.var, %.loc16 // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: ref %i32 = ref_binding a, %a.var // CHECK:STDOUT: %a.ref.loc17: ref %i32 = name_ref a, %a // CHECK:STDOUT: %int_9: Core.IntLiteral = int_value 9 [concrete = constants.%int_9.988] -// CHECK:STDOUT: %impl.elem0.loc17: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %int_9, %impl.elem0.loc17 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.299] +// CHECK:STDOUT: %impl.elem0.loc17: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc17_5.1: = bound_method %int_9, %impl.elem0.loc17 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.aba] // CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %int_9, %specific_fn.loc17 [concrete = constants.%bound_method.e00] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %i32 = call %bound_method.loc17_5.2(%int_9) [concrete = constants.%int_9.e6d] -// CHECK:STDOUT: %.loc17: init %i32 = converted %int_9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_9.e6d] +// CHECK:STDOUT: %bound_method.loc17_5.2: = bound_method %int_9, %specific_fn.loc17 [concrete = constants.%bound_method.50b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %i32 = call %bound_method.loc17_5.2(%int_9) [concrete = constants.%int_9.7e6] +// CHECK:STDOUT: %.loc17: init %i32 = converted %int_9, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_9.7e6] // CHECK:STDOUT: assign %a.ref.loc17, %.loc17 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.624 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.624 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.7d6 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.7d6 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %b.var: ref %tuple.type.87c = var %b.var_patt +// CHECK:STDOUT: %b.var: ref %tuple.type.e5a = var %b.var_patt // CHECK:STDOUT: %int_1.loc19: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc19: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc19_28.1: %tuple.type.f94 = tuple_literal (%int_1.loc19, %int_2.loc19) [concrete = constants.%tuple.ad8] -// CHECK:STDOUT: %impl.elem0.loc19_28.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc19_28.1: = bound_method %int_1.loc19, %impl.elem0.loc19_28.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc19_28.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc19_28.1: = bound_method %int_1.loc19, %impl.elem0.loc19_28.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc19_28.1: = specific_function %impl.elem0.loc19_28.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc19_28.2: = bound_method %int_1.loc19, %specific_fn.loc19_28.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_28.1: init %i32 = call %bound_method.loc19_28.2(%int_1.loc19) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_28.2: init %i32 = converted %int_1.loc19, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_28.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc19_28.2: = bound_method %int_1.loc19, %specific_fn.loc19_28.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_28.1: init %i32 = call %bound_method.loc19_28.2(%int_1.loc19) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_28.2: init %i32 = converted %int_1.loc19, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_28.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %tuple.elem0.loc19: ref %i32 = tuple_access %b.var, element0 -// CHECK:STDOUT: %.loc19_28.3: init %i32 to %tuple.elem0.loc19 = in_place_init %.loc19_28.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc19_28.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc19_28.3: = bound_method %int_2.loc19, %impl.elem0.loc19_28.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc19_28.3: init %i32 to %tuple.elem0.loc19 = in_place_init %.loc19_28.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc19_28.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc19_28.3: = bound_method %int_2.loc19, %impl.elem0.loc19_28.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc19_28.2: = specific_function %impl.elem0.loc19_28.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc19_28.4: = bound_method %int_2.loc19, %specific_fn.loc19_28.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_28.2: init %i32 = call %bound_method.loc19_28.4(%int_2.loc19) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc19_28.4: init %i32 = converted %int_2.loc19, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_28.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc19_28.4: = bound_method %int_2.loc19, %specific_fn.loc19_28.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_28.2: init %i32 = call %bound_method.loc19_28.4(%int_2.loc19) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc19_28.4: init %i32 = converted %int_2.loc19, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc19_28.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %tuple.elem1.loc19: ref %i32 = tuple_access %b.var, element1 -// CHECK:STDOUT: %.loc19_28.5: init %i32 to %tuple.elem1.loc19 = in_place_init %.loc19_28.4 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc19_28.6: init %tuple.type.87c to %b.var = tuple_init (%.loc19_28.3, %.loc19_28.5) [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %.loc19_3: init %tuple.type.87c = converted %.loc19_28.1, %.loc19_28.6 [concrete = constants.%tuple.03f] +// CHECK:STDOUT: %.loc19_28.5: init %i32 to %tuple.elem1.loc19 = in_place_init %.loc19_28.4 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc19_28.6: init %tuple.type.e5a to %b.var = tuple_init (%.loc19_28.3, %.loc19_28.5) [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %.loc19_3: init %tuple.type.e5a = converted %.loc19_28.1, %.loc19_28.6 [concrete = constants.%tuple.cd5] // CHECK:STDOUT: assign %b.var, %.loc19_3 -// CHECK:STDOUT: %.loc19_19.1: type = splice_block %.loc19_19.3 [concrete = constants.%tuple.type.87c] { +// CHECK:STDOUT: %.loc19_19.1: type = splice_block %.loc19_19.3 [concrete = constants.%tuple.type.e5a] { // CHECK:STDOUT: %i32.loc19_11: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc19_16: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc19_19.2: %tuple.type.24b = tuple_literal (%i32.loc19_11, %i32.loc19_16) [concrete = constants.%tuple.8e3] -// CHECK:STDOUT: %.loc19_19.3: type = converted %.loc19_19.2, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] +// CHECK:STDOUT: %.loc19_19.2: %tuple.type.24b = tuple_literal (%i32.loc19_11, %i32.loc19_16) [concrete = constants.%tuple.79d] +// CHECK:STDOUT: %.loc19_19.3: type = converted %.loc19_19.2, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: ref %tuple.type.87c = ref_binding b, %b.var -// CHECK:STDOUT: %b.ref.loc20: ref %tuple.type.87c = name_ref b, %b +// CHECK:STDOUT: %b: ref %tuple.type.e5a = ref_binding b, %b.var +// CHECK:STDOUT: %b.ref.loc20: ref %tuple.type.e5a = name_ref b, %b // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %tuple.elem0.loc20: ref %i32 = tuple_access %b.ref.loc20, element0 // CHECK:STDOUT: %int_3.loc20: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc20: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc20_7.1: = bound_method %int_3.loc20, %impl.elem0.loc20 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc20: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc20_7.1: = bound_method %int_3.loc20, %impl.elem0.loc20 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc20_7.2: = bound_method %int_3.loc20, %specific_fn.loc20 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %i32 = call %bound_method.loc20_7.2(%int_3.loc20) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc20: init %i32 = converted %int_3.loc20, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc20_7.2: = bound_method %int_3.loc20, %specific_fn.loc20 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %i32 = call %bound_method.loc20_7.2(%int_3.loc20) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc20: init %i32 = converted %int_3.loc20, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: assign %tuple.elem0.loc20, %.loc20 -// CHECK:STDOUT: %b.ref.loc21: ref %tuple.type.87c = name_ref b, %b +// CHECK:STDOUT: %b.ref.loc21: ref %tuple.type.e5a = name_ref b, %b // CHECK:STDOUT: %int_1.loc21: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %tuple.elem1.loc21: ref %i32 = tuple_access %b.ref.loc21, element1 // CHECK:STDOUT: %int_4.loc21: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0.loc21: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc21_7.1: = bound_method %int_4.loc21, %impl.elem0.loc21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %impl.elem0.loc21: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc21_7.1: = bound_method %int_4.loc21, %impl.elem0.loc21 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc21: = specific_function %impl.elem0.loc21, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc21_7.2: = bound_method %int_4.loc21, %specific_fn.loc21 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %i32 = call %bound_method.loc21_7.2(%int_4.loc21) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc21: init %i32 = converted %int_4.loc21, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %bound_method.loc21_7.2: = bound_method %int_4.loc21, %specific_fn.loc21 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21: init %i32 = call %bound_method.loc21_7.2(%int_4.loc21) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc21: init %i32 = converted %int_4.loc21, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: assign %tuple.elem1.loc21, %.loc21 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.32c = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.32c = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.941 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.941 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %c.var: ref %struct_type.a.b.602 = var %c.var_patt +// CHECK:STDOUT: %c.var: ref %struct_type.a.b.b47 = var %c.var_patt // CHECK:STDOUT: %int_1.loc23: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc23: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc23_46.1: %struct_type.a.b.cfd = struct_literal (%int_1.loc23, %int_2.loc23) [concrete = constants.%struct.4aa] -// CHECK:STDOUT: %impl.elem0.loc23_46.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc23_46.1: = bound_method %int_1.loc23, %impl.elem0.loc23_46.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc23_46.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc23_46.1: = bound_method %int_1.loc23, %impl.elem0.loc23_46.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc23_46.1: = specific_function %impl.elem0.loc23_46.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc23_46.2: = bound_method %int_1.loc23, %specific_fn.loc23_46.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23_46.1: init %i32 = call %bound_method.loc23_46.2(%int_1.loc23) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc23_46.2: init %i32 = converted %int_1.loc23, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23_46.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc23_46.2: = bound_method %int_1.loc23, %specific_fn.loc23_46.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23_46.1: init %i32 = call %bound_method.loc23_46.2(%int_1.loc23) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc23_46.2: init %i32 = converted %int_1.loc23, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23_46.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc23_46.3: ref %i32 = struct_access %c.var, element0 -// CHECK:STDOUT: %.loc23_46.4: init %i32 to %.loc23_46.3 = in_place_init %.loc23_46.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc23_46.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc23_46.3: = bound_method %int_2.loc23, %impl.elem0.loc23_46.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc23_46.4: init %i32 to %.loc23_46.3 = in_place_init %.loc23_46.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc23_46.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc23_46.3: = bound_method %int_2.loc23, %impl.elem0.loc23_46.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc23_46.2: = specific_function %impl.elem0.loc23_46.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc23_46.4: = bound_method %int_2.loc23, %specific_fn.loc23_46.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23_46.2: init %i32 = call %bound_method.loc23_46.4(%int_2.loc23) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc23_46.5: init %i32 = converted %int_2.loc23, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23_46.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc23_46.4: = bound_method %int_2.loc23, %specific_fn.loc23_46.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23_46.2: init %i32 = call %bound_method.loc23_46.4(%int_2.loc23) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc23_46.5: init %i32 = converted %int_2.loc23, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc23_46.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc23_46.6: ref %i32 = struct_access %c.var, element1 -// CHECK:STDOUT: %.loc23_46.7: init %i32 to %.loc23_46.6 = in_place_init %.loc23_46.5 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc23_46.8: init %struct_type.a.b.602 to %c.var = struct_init (%.loc23_46.4, %.loc23_46.7) [concrete = constants.%struct.a0d] -// CHECK:STDOUT: %.loc23_3: init %struct_type.a.b.602 = converted %.loc23_46.1, %.loc23_46.8 [concrete = constants.%struct.a0d] +// CHECK:STDOUT: %.loc23_46.7: init %i32 to %.loc23_46.6 = in_place_init %.loc23_46.5 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc23_46.8: init %struct_type.a.b.b47 to %c.var = struct_init (%.loc23_46.4, %.loc23_46.7) [concrete = constants.%struct.8fc] +// CHECK:STDOUT: %.loc23_3: init %struct_type.a.b.b47 = converted %.loc23_46.1, %.loc23_46.8 [concrete = constants.%struct.8fc] // CHECK:STDOUT: assign %c.var, %.loc23_3 -// CHECK:STDOUT: %.loc23_27: type = splice_block %struct_type.a.b [concrete = constants.%struct_type.a.b.602] { +// CHECK:STDOUT: %.loc23_27: type = splice_block %struct_type.a.b [concrete = constants.%struct_type.a.b.b47] { // CHECK:STDOUT: %i32.loc23_15: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc23_24: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.602] +// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.b47] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: ref %struct_type.a.b.602 = ref_binding c, %c.var -// CHECK:STDOUT: %c.ref.loc24: ref %struct_type.a.b.602 = name_ref c, %c +// CHECK:STDOUT: %c: ref %struct_type.a.b.b47 = ref_binding c, %c.var +// CHECK:STDOUT: %c.ref.loc24: ref %struct_type.a.b.b47 = name_ref c, %c // CHECK:STDOUT: %.loc24_4: ref %i32 = struct_access %c.ref.loc24, element0 // CHECK:STDOUT: %int_3.loc24: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc24: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc24_7.1: = bound_method %int_3.loc24, %impl.elem0.loc24 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc24: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc24_7.1: = bound_method %int_3.loc24, %impl.elem0.loc24 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc24: = specific_function %impl.elem0.loc24, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc24_7.2: = bound_method %int_3.loc24, %specific_fn.loc24 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc24: init %i32 = call %bound_method.loc24_7.2(%int_3.loc24) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc24_7: init %i32 = converted %int_3.loc24, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc24 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc24_7.2: = bound_method %int_3.loc24, %specific_fn.loc24 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc24: init %i32 = call %bound_method.loc24_7.2(%int_3.loc24) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc24_7: init %i32 = converted %int_3.loc24, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc24 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: assign %.loc24_4, %.loc24_7 -// CHECK:STDOUT: %c.ref.loc25: ref %struct_type.a.b.602 = name_ref c, %c +// CHECK:STDOUT: %c.ref.loc25: ref %struct_type.a.b.b47 = name_ref c, %c // CHECK:STDOUT: %.loc25_4: ref %i32 = struct_access %c.ref.loc25, element1 // CHECK:STDOUT: %int_4.loc25: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0.loc25: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc25_7.1: = bound_method %int_4.loc25, %impl.elem0.loc25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %impl.elem0.loc25: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc25_7.1: = bound_method %int_4.loc25, %impl.elem0.loc25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc25: = specific_function %impl.elem0.loc25, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc25_7.2: = bound_method %int_4.loc25, %specific_fn.loc25 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25: init %i32 = call %bound_method.loc25_7.2(%int_4.loc25) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc25_7: init %i32 = converted %int_4.loc25, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25 [concrete = constants.%int_4.a7d] +// CHECK:STDOUT: %bound_method.loc25_7.2: = bound_method %int_4.loc25, %specific_fn.loc25 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25: init %i32 = call %bound_method.loc25_7.2(%int_4.loc25) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc25_7: init %i32 = converted %int_4.loc25, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25 [concrete = constants.%int_4.a4d] // CHECK:STDOUT: assign %.loc25_4, %.loc25_7 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %p.patt: %pattern_type.663 = ref_binding_pattern p [concrete] -// CHECK:STDOUT: %p.var_patt: %pattern_type.663 = var_pattern %p.patt [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.7b5 = ref_binding_pattern p [concrete] +// CHECK:STDOUT: %p.var_patt: %pattern_type.7b5 = var_pattern %p.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %p.var: ref %ptr.143 = var %p.var_patt +// CHECK:STDOUT: %p.var: ref %ptr.847 = var %p.var_patt // CHECK:STDOUT: %a.ref.loc27: ref %i32 = name_ref a, %a -// CHECK:STDOUT: %addr.loc27: %ptr.143 = addr_of %a.ref.loc27 -// CHECK:STDOUT: %impl.elem0.loc27: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr.loc27: %ptr.847 = addr_of %a.ref.loc27 +// CHECK:STDOUT: %impl.elem0.loc27: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc27_17.1: = bound_method %addr.loc27, %impl.elem0.loc27 // CHECK:STDOUT: %specific_fn.loc27: = specific_function %impl.elem0.loc27, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc27_17.2: = bound_method %addr.loc27, %specific_fn.loc27 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.143 = call %bound_method.loc27_17.2(%addr.loc27) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.847 = call %bound_method.loc27_17.2(%addr.loc27) // CHECK:STDOUT: assign %p.var, %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: %.loc27: type = splice_block %ptr [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %.loc27: type = splice_block %ptr [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc27: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc27 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc27 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: ref %ptr.143 = ref_binding p, %p.var -// CHECK:STDOUT: %p.ref.loc28: ref %ptr.143 = name_ref p, %p -// CHECK:STDOUT: %.loc28_4: %ptr.143 = acquire_value %p.ref.loc28 +// CHECK:STDOUT: %p: ref %ptr.847 = ref_binding p, %p.var +// CHECK:STDOUT: %p.ref.loc28: ref %ptr.847 = name_ref p, %p +// CHECK:STDOUT: %.loc28_4: %ptr.847 = acquire_value %p.ref.loc28 // CHECK:STDOUT: %.loc28_3: ref %i32 = deref %.loc28_4 // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] -// CHECK:STDOUT: %impl.elem0.loc28: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc28_6.1: = bound_method %int_5, %impl.elem0.loc28 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52] +// CHECK:STDOUT: %impl.elem0.loc28: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc28_6.1: = bound_method %int_5, %impl.elem0.loc28 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c] // CHECK:STDOUT: %specific_fn.loc28: = specific_function %impl.elem0.loc28, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc28_6.2: = bound_method %int_5, %specific_fn.loc28 [concrete = constants.%bound_method.10b] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28: init %i32 = call %bound_method.loc28_6.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc28_6: init %i32 = converted %int_5, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28 [concrete = constants.%int_5.c41] +// CHECK:STDOUT: %bound_method.loc28_6.2: = bound_method %int_5, %specific_fn.loc28 [concrete = constants.%bound_method.e3e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28: init %i32 = call %bound_method.loc28_6.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc28_6: init %i32 = converted %int_5, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc28 [concrete = constants.%int_5.354] // CHECK:STDOUT: assign %.loc28_3, %.loc28_6 // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] // CHECK:STDOUT: if %true br !if.expr.then else br !if.expr.else // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.then: -// CHECK:STDOUT: %p.ref.loc30: ref %ptr.143 = name_ref p, %p -// CHECK:STDOUT: %.loc30_18: %ptr.143 = acquire_value %p.ref.loc30 +// CHECK:STDOUT: %p.ref.loc30: ref %ptr.847 = name_ref p, %p +// CHECK:STDOUT: %.loc30_18: %ptr.847 = acquire_value %p.ref.loc30 // CHECK:STDOUT: br !if.expr.result(%.loc30_18) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.else: // CHECK:STDOUT: %a.ref.loc30: ref %i32 = name_ref a, %a -// CHECK:STDOUT: %addr.loc30: %ptr.143 = addr_of %a.ref.loc30 +// CHECK:STDOUT: %addr.loc30: %ptr.847 = addr_of %a.ref.loc30 // CHECK:STDOUT: br !if.expr.result(%addr.loc30) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result: -// CHECK:STDOUT: %.loc30_5: %ptr.143 = block_arg !if.expr.result +// CHECK:STDOUT: %.loc30_5: %ptr.847 = block_arg !if.expr.result // CHECK:STDOUT: %.loc30_3: ref %i32 = deref %.loc30_5 // CHECK:STDOUT: %int_10: Core.IntLiteral = int_value 10 [concrete = constants.%int_10.64f] -// CHECK:STDOUT: %impl.elem0.loc30: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc30_29.1: = bound_method %int_10, %impl.elem0.loc30 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d52] +// CHECK:STDOUT: %impl.elem0.loc30: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc30_29.1: = bound_method %int_10, %impl.elem0.loc30 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.75c] // CHECK:STDOUT: %specific_fn.loc30: = specific_function %impl.elem0.loc30, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc30_29.2: = bound_method %int_10, %specific_fn.loc30 [concrete = constants.%bound_method.884] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc30: init %i32 = call %bound_method.loc30_29.2(%int_10) [concrete = constants.%int_10.09f] -// CHECK:STDOUT: %.loc30_29: init %i32 = converted %int_10, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc30 [concrete = constants.%int_10.09f] +// CHECK:STDOUT: %bound_method.loc30_29.2: = bound_method %int_10, %specific_fn.loc30 [concrete = constants.%bound_method.2f8] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc30: init %i32 = call %bound_method.loc30_29.2(%int_10) [concrete = constants.%int_10.0d4] +// CHECK:STDOUT: %.loc30_29: init %i32 = converted %int_10, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc30 [concrete = constants.%int_10.0d4] // CHECK:STDOUT: assign %.loc30_3, %.loc30_29 -// CHECK:STDOUT: %Destroy.Op.bound.loc27: = bound_method %p.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc27: = bound_method %p.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc27: init %empty_tuple.type = call %Destroy.Op.bound.loc27(%p.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %c.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %c.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc23: init %empty_tuple.type = call %Destroy.Op.bound.loc23(%c.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc19: = bound_method %b.var, constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %Destroy.Op.bound.loc19: = bound_method %b.var, constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: %Destroy.Op.call.loc19: init %empty_tuple.type = call %Destroy.Op.bound.loc19(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %a.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %a.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc16: init %empty_tuple.type = call %Destroy.Op.bound.loc16(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc27(%self.param: ref %ptr.143) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc27(%self.param: ref %ptr.847) = "no_op"; // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_3.1(%self.param: ref %i32.builtin) = "no_op"; // CHECK:STDOUT: @@ -361,12 +361,12 @@ fn Main() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc23_3.3(%self.param: ref %struct_type.a.b.602) { +// CHECK:STDOUT: fn @Destroy.Op.loc23_3.3(%self.param: ref %struct_type.a.b.b47) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc19(%self.param: ref %tuple.type.87c) { +// CHECK:STDOUT: fn @Destroy.Op.loc19(%self.param: ref %tuple.type.e5a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/operators/builtin/fail_and_or_not_in_function.carbon b/toolchain/check/testdata/operators/builtin/fail_and_or_not_in_function.carbon index 811e063ff638..85912075dc67 100644 --- a/toolchain/check/testdata/operators/builtin/fail_and_or_not_in_function.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_and_or_not_in_function.carbon @@ -95,10 +95,10 @@ fn F() { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %f64: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.592: = impl_witness .inst{{[0-9A-F]+}} [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.592) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.b33: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.173: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b33, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.f49: = impl_witness .inst{{[0-9A-F]+}} [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.f49) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cd0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.31b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cd0, %Copy.facet [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.type: type = fn_type @type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op: %type.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -118,7 +118,7 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result: // CHECK:STDOUT: %.loc6: type = block_arg !if.expr.result -// CHECK:STDOUT: %impl.elem0: %.173 = impl_witness_access constants.%Copy.impl_witness.592, element0 [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.31b = impl_witness_access constants.%Copy.impl_witness.f49, element0 [concrete = constants.%type.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc6, %impl.elem0 // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%.loc6) // CHECK:STDOUT: return %type.as.Copy.impl.Op.call @@ -134,10 +134,10 @@ fn F() { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %f64: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.592: = impl_witness .inst{{[0-9A-F]+}} [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.592) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.b33: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.173: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b33, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.f49: = impl_witness .inst{{[0-9A-F]+}} [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.f49) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cd0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.31b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cd0, %Copy.facet [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.type: type = fn_type @type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op: %type.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -157,7 +157,7 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result: // CHECK:STDOUT: %.loc6: type = block_arg !if.expr.result -// CHECK:STDOUT: %impl.elem0: %.173 = impl_witness_access constants.%Copy.impl_witness.592, element0 [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.31b = impl_witness_access constants.%Copy.impl_witness.f49, element0 [concrete = constants.%type.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc6, %impl.elem0 // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%.loc6) // CHECK:STDOUT: return %type.as.Copy.impl.Op.call @@ -174,7 +174,7 @@ fn F() { // CHECK:STDOUT: %C: type = class_type @C, @C(%B.a76) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %B.d97: type = class_type @B [concrete] +// CHECK:STDOUT: %B.c72: type = class_type @B [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %false: bool = bool_literal false [concrete] // CHECK:STDOUT: } @@ -202,7 +202,7 @@ fn F() { // CHECK:STDOUT: complete_type_witness = invalid // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%B.d97 +// CHECK:STDOUT: .Self = constants.%B.c72 // CHECK:STDOUT: .C = // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/fail_assignment_to_non_assignable.carbon b/toolchain/check/testdata/operators/builtin/fail_assignment_to_non_assignable.carbon index 2251032180bf..c9191fb03822 100644 --- a/toolchain/check/testdata/operators/builtin/fail_assignment_to_non_assignable.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_assignment_to_non_assignable.carbon @@ -69,8 +69,8 @@ fn Main() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] @@ -79,30 +79,30 @@ fn Main() { // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.5d4: = impl_witness imports.%Copy.impl_witness_table.6e2 [concrete] -// CHECK:STDOUT: %Copy.facet.0ea: %Copy.type = facet_value Core.IntLiteral, (%Copy.impl_witness.5d4) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.0b6: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.0ea) [concrete] -// CHECK:STDOUT: %.9e1: type = fn_type_with_self_type %Copy.WithSelf.Op.type.0b6, %Copy.facet.0ea [concrete] +// CHECK:STDOUT: %Copy.impl_witness.969: = impl_witness imports.%Copy.impl_witness_table.365 [concrete] +// CHECK:STDOUT: %Copy.facet.78c: %Copy.type = facet_value Core.IntLiteral, (%Copy.impl_witness.969) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.535: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.78c) [concrete] +// CHECK:STDOUT: %.b58: type = fn_type_with_self_type %Copy.WithSelf.Op.type.535, %Copy.facet.78c [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.type: type = fn_type @Core.IntLiteral.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op: %Core.IntLiteral.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.bound.e21: = bound_method %int_2.ecc, %Core.IntLiteral.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %tuple.type.f94: type = tuple_type (Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.ad8: %tuple.type.f94 = tuple_value (%int_1.5b8, %int_2.ecc) [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] @@ -111,44 +111,44 @@ fn Main() { // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.bound.64e: = bound_method %int_3.1ba, %Core.IntLiteral.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.bound.50f: = bound_method %int_4, %Core.IntLiteral.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %tuple.03f: %tuple.type.87c = tuple_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.592: = impl_witness imports.%Copy.impl_witness_table.fbd [concrete] -// CHECK:STDOUT: %Copy.facet.afe: %Copy.type = facet_value type, (%Copy.impl_witness.592) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.b33: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.afe) [concrete] -// CHECK:STDOUT: %.173: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b33, %Copy.facet.afe [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %tuple.cd5: %tuple.type.e5a = tuple_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %Copy.impl_witness.f49: = impl_witness imports.%Copy.impl_witness_table.fcf [concrete] +// CHECK:STDOUT: %Copy.facet.717: %Copy.type = facet_value type, (%Copy.impl_witness.f49) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cd0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.717) [concrete] +// CHECK:STDOUT: %.31b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cd0, %Copy.facet.717 [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.type: type = fn_type @type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op: %type.as.Copy.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %type.as.Copy.impl.Op.bound: = bound_method %ptr.143, %type.as.Copy.impl.Op [concrete] +// CHECK:STDOUT: %type.as.Copy.impl.Op.bound: = bound_method %ptr.847, %type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %struct_type.x.y: type = struct_type {.x: Core.IntLiteral, .y: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.004: %struct_type.x.y = struct_value (%int_1.5b8, %int_2.ecc) [concrete] // CHECK:STDOUT: %struct.a0d: %struct_type.x.y = struct_value (%int_3.1ba, %int_4) [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.d7b: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%i32) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.962: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%i32) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.090: %T.as.DefaultOrUnformed.impl.Op.type.962 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %i32, (%DefaultOrUnformed.impl_witness.d7b) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.090, @T.as.DefaultOrUnformed.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.3a3: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%i32) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.e67: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%i32) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.e54: %T.as.DefaultOrUnformed.impl.Op.type.e67 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %i32, (%DefaultOrUnformed.impl_witness.3a3) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.e54, @T.as.DefaultOrUnformed.impl.Op(%i32) [concrete] // CHECK:STDOUT: %int_10.64f: Core.IntLiteral = int_value 10 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d52: = bound_method %int_10.64f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.884: = bound_method %int_10.64f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_10.09f: %i32 = int_value 10 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.75c: = bound_method %int_10.64f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.2f8: = bound_method %int_10.64f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_10.0d4: %i32 = int_value 10 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc56_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc56_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -163,16 +163,16 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.41efaf.1: %Core.IntLiteral.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.6e2 = impl_witness_table (%Core.import_ref.41efaf.1), @Core.IntLiteral.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.41efaf.2: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.fbd = impl_witness_table (%Core.import_ref.41efaf.2), @type.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63b02.1: %Core.IntLiteral.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.365 = impl_witness_table (%Core.import_ref.f63b02.1), @Core.IntLiteral.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63b02.2: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.fcf = impl_witness_table (%Core.import_ref.f63b02.2), @type.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -184,11 +184,11 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -201,19 +201,19 @@ fn Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_1.loc22: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc22: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc22: %.9e1 = impl_witness_access constants.%Copy.impl_witness.5d4, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc22: %.b58 = impl_witness_access constants.%Copy.impl_witness.969, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc22: = bound_method %int_2.loc22, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op.bound.e21] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.call.loc22: init Core.IntLiteral = call %bound_method.loc22(%int_2.loc22) [concrete = constants.%int_2.ecc] // CHECK:STDOUT: assign %int_1.loc22, %Core.IntLiteral.as.Copy.impl.Op.call.loc22 // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %F.call: init %i32 = call %F.ref() // CHECK:STDOUT: %int_1.loc27: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc27: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc27_7.1: = bound_method %int_1.loc27, %impl.elem0.loc27 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc27: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc27_7.1: = bound_method %int_1.loc27, %impl.elem0.loc27 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc27: = specific_function %impl.elem0.loc27, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc27_7.2: = bound_method %int_1.loc27, %specific_fn.loc27 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27: init %i32 = call %bound_method.loc27_7.2(%int_1.loc27) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc27: init %i32 = converted %int_1.loc27, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc27_7.2: = bound_method %int_1.loc27, %specific_fn.loc27 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27: init %i32 = call %bound_method.loc27_7.2(%int_1.loc27) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc27: init %i32 = converted %int_1.loc27, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign %F.call, %.loc27 // CHECK:STDOUT: %int_1.loc32: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc32: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] @@ -221,12 +221,12 @@ fn Main() { // CHECK:STDOUT: %int_3.loc32: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %int_4.loc32: Core.IntLiteral = int_value 4 [concrete = constants.%int_4] // CHECK:STDOUT: %.loc32_17.1: %tuple.type.f94 = tuple_literal (%int_3.loc32, %int_4.loc32) [concrete = constants.%tuple.302] -// CHECK:STDOUT: %impl.elem0.loc32_13: %.9e1 = impl_witness_access constants.%Copy.impl_witness.5d4, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc32_13: %.b58 = impl_witness_access constants.%Copy.impl_witness.969, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc32_13: = bound_method %int_3.loc32, %impl.elem0.loc32_13 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op.bound.64e] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.call.loc32_13: init Core.IntLiteral = call %bound_method.loc32_13(%int_3.loc32) [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %tuple.elem0.loc32: Core.IntLiteral = tuple_access %.loc32_8.1, element0 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc32_17.2: init Core.IntLiteral to %tuple.elem0.loc32 = in_place_init %Core.IntLiteral.as.Copy.impl.Op.call.loc32_13 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc32_16: %.9e1 = impl_witness_access constants.%Copy.impl_witness.5d4, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc32_16: %.b58 = impl_witness_access constants.%Copy.impl_witness.969, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc32_16: = bound_method %int_4.loc32, %impl.elem0.loc32_16 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op.bound.50f] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.call.loc32_16: init Core.IntLiteral = call %bound_method.loc32_16(%int_4.loc32) [concrete = constants.%int_4] // CHECK:STDOUT: %tuple.elem1.loc32: Core.IntLiteral = tuple_access %.loc32_8.1, element1 [concrete = constants.%int_2.ecc] @@ -237,55 +237,55 @@ fn Main() { // CHECK:STDOUT: %tuple.loc32: %tuple.type.f94 = tuple_value (%int_1.loc32, %int_2.loc32) [concrete = constants.%tuple.ad8] // CHECK:STDOUT: %.loc32_8.2: %tuple.type.f94 = converted %.loc32_8.1, %tuple.loc32 [concrete = constants.%tuple.ad8] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = ref_binding_pattern n [concrete] -// CHECK:STDOUT: %n.var_patt: %pattern_type.c6b = var_pattern %n.patt [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = ref_binding_pattern n [concrete] +// CHECK:STDOUT: %n.var_patt: %pattern_type.104 = var_pattern %n.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %n.var: ref %i32 = var %n.var_patt // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc33: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc33_3.1: = bound_method %int_0, %impl.elem0.loc33 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc33: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc33_3.1: = bound_method %int_0, %impl.elem0.loc33 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc33: = specific_function %impl.elem0.loc33, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc33_3.2: = bound_method %int_0, %specific_fn.loc33 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc33: init %i32 = call %bound_method.loc33_3.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc33: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc33 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc33_3.2: = bound_method %int_0, %specific_fn.loc33 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc33: init %i32 = call %bound_method.loc33_3.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc33: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc33 [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign %n.var, %.loc33 // CHECK:STDOUT: %i32.loc33: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: ref %i32 = ref_binding n, %n.var // CHECK:STDOUT: %n.ref.loc38_4: ref %i32 = name_ref n, %n // CHECK:STDOUT: %n.ref.loc38_7: ref %i32 = name_ref n, %n -// CHECK:STDOUT: %.loc38_8.1: %tuple.type.87c = tuple_literal (%n.ref.loc38_4, %n.ref.loc38_7) +// CHECK:STDOUT: %.loc38_8.1: %tuple.type.e5a = tuple_literal (%n.ref.loc38_4, %n.ref.loc38_7) // CHECK:STDOUT: %int_1.loc38: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc38: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc38_17.1: %tuple.type.f94 = tuple_literal (%int_1.loc38, %int_2.loc38) [concrete = constants.%tuple.ad8] -// CHECK:STDOUT: %impl.elem0.loc38_17.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc38_17.1: = bound_method %int_1.loc38, %impl.elem0.loc38_17.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc38_17.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc38_17.1: = bound_method %int_1.loc38, %impl.elem0.loc38_17.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc38_17.1: = specific_function %impl.elem0.loc38_17.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc38_17.2: = bound_method %int_1.loc38, %specific_fn.loc38_17.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc38_17.1: init %i32 = call %bound_method.loc38_17.2(%int_1.loc38) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc38_17.2: init %i32 = converted %int_1.loc38, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc38_17.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc38_17.2: = bound_method %int_1.loc38, %specific_fn.loc38_17.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc38_17.1: init %i32 = call %bound_method.loc38_17.2(%int_1.loc38) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc38_17.2: init %i32 = converted %int_1.loc38, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc38_17.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %tuple.elem0.loc38: %i32 = tuple_access %.loc38_8.1, element0 -// CHECK:STDOUT: %.loc38_17.3: init %i32 to %tuple.elem0.loc38 = in_place_init %.loc38_17.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc38_17.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc38_17.3: = bound_method %int_2.loc38, %impl.elem0.loc38_17.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc38_17.3: init %i32 to %tuple.elem0.loc38 = in_place_init %.loc38_17.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc38_17.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc38_17.3: = bound_method %int_2.loc38, %impl.elem0.loc38_17.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc38_17.2: = specific_function %impl.elem0.loc38_17.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc38_17.4: = bound_method %int_2.loc38, %specific_fn.loc38_17.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc38_17.2: init %i32 = call %bound_method.loc38_17.4(%int_2.loc38) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc38_17.4: init %i32 = converted %int_2.loc38, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc38_17.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc38_17.4: = bound_method %int_2.loc38, %specific_fn.loc38_17.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc38_17.2: init %i32 = call %bound_method.loc38_17.4(%int_2.loc38) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc38_17.4: init %i32 = converted %int_2.loc38, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc38_17.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %tuple.elem1.loc38: %i32 = tuple_access %.loc38_8.1, element1 -// CHECK:STDOUT: %.loc38_17.5: init %i32 to %tuple.elem1.loc38 = in_place_init %.loc38_17.4 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc38_17.6: init %tuple.type.87c to %.loc38_8.1 = tuple_init (%.loc38_17.3, %.loc38_17.5) [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %.loc38_10: init %tuple.type.87c = converted %.loc38_17.1, %.loc38_17.6 [concrete = constants.%tuple.03f] +// CHECK:STDOUT: %.loc38_17.5: init %i32 to %tuple.elem1.loc38 = in_place_init %.loc38_17.4 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc38_17.6: init %tuple.type.e5a to %.loc38_8.1 = tuple_init (%.loc38_17.3, %.loc38_17.5) [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %.loc38_10: init %tuple.type.e5a = converted %.loc38_17.1, %.loc38_17.6 [concrete = constants.%tuple.cd5] // CHECK:STDOUT: assign %.loc38_8.1, %.loc38_10 // CHECK:STDOUT: %.loc38_4: %i32 = acquire_value %n.ref.loc38_4 // CHECK:STDOUT: %.loc38_7: %i32 = acquire_value %n.ref.loc38_7 -// CHECK:STDOUT: %tuple.loc38: %tuple.type.87c = tuple_value (%.loc38_4, %.loc38_7) -// CHECK:STDOUT: %.loc38_8.2: %tuple.type.87c = converted %.loc38_8.1, %tuple.loc38 +// CHECK:STDOUT: %tuple.loc38: %tuple.type.e5a = tuple_value (%.loc38_4, %.loc38_7) +// CHECK:STDOUT: %.loc38_8.2: %tuple.type.e5a = converted %.loc38_8.1, %tuple.loc38 // CHECK:STDOUT: %i32.loc43_3: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc43_9: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc43_9 [concrete = constants.%ptr.143] -// CHECK:STDOUT: %impl.elem0.loc43: %.173 = impl_witness_access constants.%Copy.impl_witness.592, element0 [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc43_9 [concrete = constants.%ptr.847] +// CHECK:STDOUT: %impl.elem0.loc43: %.31b = impl_witness_access constants.%Copy.impl_witness.f49, element0 [concrete = constants.%type.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc43: = bound_method %ptr, %impl.elem0.loc43 [concrete = constants.%type.as.Copy.impl.Op.bound] -// CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method.loc43(%ptr) [concrete = constants.%ptr.143] +// CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method.loc43(%ptr) [concrete = constants.%ptr.847] // CHECK:STDOUT: assign %i32.loc43_3, %type.as.Copy.impl.Op.call // CHECK:STDOUT: %int_1.loc48: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc48: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] @@ -293,12 +293,12 @@ fn Main() { // CHECK:STDOUT: %int_3.loc48: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %int_4.loc48: Core.IntLiteral = int_value 4 [concrete = constants.%int_4] // CHECK:STDOUT: %.loc48_37.1: %struct_type.x.y = struct_literal (%int_3.loc48, %int_4.loc48) [concrete = constants.%struct.a0d] -// CHECK:STDOUT: %impl.elem0.loc48_28: %.9e1 = impl_witness_access constants.%Copy.impl_witness.5d4, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc48_28: %.b58 = impl_witness_access constants.%Copy.impl_witness.969, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc48_28: = bound_method %int_3.loc48, %impl.elem0.loc48_28 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op.bound.64e] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.call.loc48_28: init Core.IntLiteral = call %bound_method.loc48_28(%int_3.loc48) [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc48_37.2: Core.IntLiteral = struct_access %.loc48_18.1, element0 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc48_37.3: init Core.IntLiteral to %.loc48_37.2 = in_place_init %Core.IntLiteral.as.Copy.impl.Op.call.loc48_28 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc48_36: %.9e1 = impl_witness_access constants.%Copy.impl_witness.5d4, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc48_36: %.b58 = impl_witness_access constants.%Copy.impl_witness.969, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc48_36: = bound_method %int_4.loc48, %impl.elem0.loc48_36 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op.bound.50f] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.call.loc48_36: init Core.IntLiteral = call %bound_method.loc48_36(%int_4.loc48) [concrete = constants.%int_4] // CHECK:STDOUT: %.loc48_37.4: Core.IntLiteral = struct_access %.loc48_18.1, element1 [concrete = constants.%int_2.ecc] @@ -313,46 +313,46 @@ fn Main() { // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.then.loc53: // CHECK:STDOUT: %int_1.loc53: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc53_12: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc53_12.1: = bound_method %int_1.loc53, %impl.elem0.loc53_12 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc53_12: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc53_12.1: = bound_method %int_1.loc53, %impl.elem0.loc53_12 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc53_12: = specific_function %impl.elem0.loc53_12, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc53_12.2: = bound_method %int_1.loc53, %specific_fn.loc53_12 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53_12: init %i32 = call %bound_method.loc53_12.2(%int_1.loc53) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc53_12.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53_12 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc53_12.2: %i32 = converted %int_1.loc53, %.loc53_12.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc53_12.2: = bound_method %int_1.loc53, %specific_fn.loc53_12 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53_12: init %i32 = call %bound_method.loc53_12.2(%int_1.loc53) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc53_12.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53_12 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc53_12.2: %i32 = converted %int_1.loc53, %.loc53_12.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: br !if.expr.result.loc53(%.loc53_12.2) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.else.loc53: // CHECK:STDOUT: %int_2.loc53: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc53_19: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc53_19.1: = bound_method %int_2.loc53, %impl.elem0.loc53_19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0.loc53_19: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc53_19.1: = bound_method %int_2.loc53, %impl.elem0.loc53_19 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc53_19: = specific_function %impl.elem0.loc53_19, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc53_19.2: = bound_method %int_2.loc53, %specific_fn.loc53_19 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53_19: init %i32 = call %bound_method.loc53_19.2(%int_2.loc53) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc53_19.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53_19 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc53_19.2: %i32 = converted %int_2.loc53, %.loc53_19.1 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc53_19.2: = bound_method %int_2.loc53, %specific_fn.loc53_19 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53_19: init %i32 = call %bound_method.loc53_19.2(%int_2.loc53) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc53_19.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53_19 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc53_19.2: %i32 = converted %int_2.loc53, %.loc53_19.1 [concrete = constants.%int_2.228] // CHECK:STDOUT: br !if.expr.result.loc53(%.loc53_19.2) // CHECK:STDOUT: // CHECK:STDOUT: !if.expr.result.loc53: -// CHECK:STDOUT: %.loc53_4: %i32 = block_arg !if.expr.result.loc53 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %.loc53_4: %i32 = block_arg !if.expr.result.loc53 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %int_3.loc53: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc53_27: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc53_27.1: = bound_method %int_3.loc53, %impl.elem0.loc53_27 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc53_27: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc53_27.1: = bound_method %int_3.loc53, %impl.elem0.loc53_27 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc53_27: = specific_function %impl.elem0.loc53_27, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc53_27.2: = bound_method %int_3.loc53, %specific_fn.loc53_27 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53_27: init %i32 = call %bound_method.loc53_27.2(%int_3.loc53) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc53_27: init %i32 = converted %int_3.loc53, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53_27 [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc53_27.2: = bound_method %int_3.loc53, %specific_fn.loc53_27 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53_27: init %i32 = call %bound_method.loc53_27.2(%int_3.loc53) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc53_27: init %i32 = converted %int_3.loc53, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc53_27 [concrete = constants.%int_3.6cc] // CHECK:STDOUT: assign %.loc53_4, %.loc53_27 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%i32, (constants.%DefaultOrUnformed.impl_witness.d7b) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%i32, (constants.%DefaultOrUnformed.impl_witness.3a3) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc56_13.1: %DefaultOrUnformed.type = converted constants.%i32, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc56_13.1 [concrete = constants.%i32] // CHECK:STDOUT: %.loc56_13.2: type = converted %.loc56_13.1, %as_type [concrete = constants.%i32] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.090, @T.as.DefaultOrUnformed.impl.Op(constants.%i32) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.e54, @T.as.DefaultOrUnformed.impl.Op(constants.%i32) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %i32 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign %a.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: %i32.loc56: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -373,16 +373,16 @@ fn Main() { // CHECK:STDOUT: !if.expr.result.loc61: // CHECK:STDOUT: %.loc61_4: %i32 = block_arg !if.expr.result.loc61 // CHECK:STDOUT: %int_10: Core.IntLiteral = int_value 10 [concrete = constants.%int_10.64f] -// CHECK:STDOUT: %impl.elem0.loc61: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc61_27.1: = bound_method %int_10, %impl.elem0.loc61 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.d52] +// CHECK:STDOUT: %impl.elem0.loc61: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc61_27.1: = bound_method %int_10, %impl.elem0.loc61 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.75c] // CHECK:STDOUT: %specific_fn.loc61: = specific_function %impl.elem0.loc61, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc61_27.2: = bound_method %int_10, %specific_fn.loc61 [concrete = constants.%bound_method.884] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc61: init %i32 = call %bound_method.loc61_27.2(%int_10) [concrete = constants.%int_10.09f] -// CHECK:STDOUT: %.loc61_27: init %i32 = converted %int_10, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc61 [concrete = constants.%int_10.09f] +// CHECK:STDOUT: %bound_method.loc61_27.2: = bound_method %int_10, %specific_fn.loc61 [concrete = constants.%bound_method.2f8] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc61: init %i32 = call %bound_method.loc61_27.2(%int_10) [concrete = constants.%int_10.0d4] +// CHECK:STDOUT: %.loc61_27: init %i32 = converted %int_10, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc61 [concrete = constants.%int_10.0d4] // CHECK:STDOUT: assign %.loc61_4, %.loc61_27 -// CHECK:STDOUT: %Destroy.Op.bound.loc56: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc56: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc56: init %empty_tuple.type = call %Destroy.Op.bound.loc56(%a.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc33: = bound_method %n.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc33: = bound_method %n.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc33: init %empty_tuple.type = call %Destroy.Op.bound.loc33(%n.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/operators/builtin/fail_redundant_compound_access.carbon b/toolchain/check/testdata/operators/builtin/fail_redundant_compound_access.carbon index 119b4eacf8b8..bff7c4d69b5c 100644 --- a/toolchain/check/testdata/operators/builtin/fail_redundant_compound_access.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_redundant_compound_access.carbon @@ -37,47 +37,47 @@ fn Main() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc18_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc18_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -90,12 +90,12 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -107,11 +107,11 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15_11: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15_11: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -121,29 +121,29 @@ fn Main() { // CHECK:STDOUT: fn @F() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_25.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_25.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_25.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_25.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc15_25: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc15_25.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_25.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc15_25: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: return %.loc15_25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc18: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_3.1: = bound_method %int_3, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc18: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_3.1: = bound_method %int_3, %impl.elem0.loc18 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_3.2: = bound_method %int_3, %specific_fn.loc18 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc18_3.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc18: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %bound_method.loc18_3.2: = bound_method %int_3, %specific_fn.loc18 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc18_3.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc18: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_3.6cc] // CHECK:STDOUT: assign %a.var, %.loc18 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: ref %i32 = ref_binding a, %a.var @@ -151,7 +151,7 @@ fn Main() { // CHECK:STDOUT: %a.ref.loc23_7: ref %i32 = name_ref a, %a // CHECK:STDOUT: %a.ref.loc23_10: ref %i32 = name_ref a, %a // CHECK:STDOUT: %.loc23: %i32 = acquire_value %a.ref.loc23_10 -// CHECK:STDOUT: %impl.elem0.loc23: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc23: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc23_10.1: = bound_method %.loc23, %impl.elem0.loc23 // CHECK:STDOUT: %specific_fn.loc23: = specific_function %impl.elem0.loc23, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc23_10.2: = bound_method %.loc23, %specific_fn.loc23 @@ -162,7 +162,7 @@ fn Main() { // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: %F.call: init %i32 = call %F.ref() // CHECK:STDOUT: assign %a.ref.loc28_3, %F.call -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/operators/builtin/fail_type_mismatch.carbon b/toolchain/check/testdata/operators/builtin/fail_type_mismatch.carbon index a55d675ba13c..be756eb601ca 100644 --- a/toolchain/check/testdata/operators/builtin/fail_type_mismatch.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_type_mismatch.carbon @@ -33,8 +33,8 @@ fn Main() { // CHECK:STDOUT: %Bool: %Bool.type = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.831: type = pattern_type bool [concrete] // CHECK:STDOUT: %int_12: Core.IntLiteral = int_value 12 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Destroy.Op.type: type = fn_type @Destroy.Op [concrete] // CHECK:STDOUT: %Destroy.Op: %Destroy.Op.type = struct_value () [concrete] @@ -49,7 +49,7 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/parts/bool, Bool, loaded [concrete = constants.%Bool] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/builtin/fail_type_mismatch_assignment.carbon b/toolchain/check/testdata/operators/builtin/fail_type_mismatch_assignment.carbon index b9598cf587a8..d44349ba466e 100644 --- a/toolchain/check/testdata/operators/builtin/fail_type_mismatch_assignment.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_type_mismatch_assignment.carbon @@ -35,28 +35,28 @@ fn Main() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 56e-1 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc16_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc16_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -68,9 +68,9 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -86,17 +86,17 @@ fn Main() { // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc16_3.1: = bound_method %int_3, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc16_3.2: = bound_method %int_3, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_3.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc16: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_3.49a] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_3.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc16: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_3.6cc] // CHECK:STDOUT: assign %a.var, %.loc16 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: ref %i32 = ref_binding a, %a.var @@ -104,7 +104,7 @@ fn Main() { // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 56e-1 [concrete = constants.%float] // CHECK:STDOUT: %.loc24: %i32 = converted %float, [concrete = ] // CHECK:STDOUT: assign %a.ref, -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/operators/builtin/fail_type_mismatch_once.carbon b/toolchain/check/testdata/operators/builtin/fail_type_mismatch_once.carbon index 8cf5d3140238..3698c55ddf60 100644 --- a/toolchain/check/testdata/operators/builtin/fail_type_mismatch_once.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_type_mismatch_once.carbon @@ -29,15 +29,15 @@ fn Main() -> i32 { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 34e-1 [concrete] -// CHECK:STDOUT: %AddWith.type.0ce: type = generic_interface_type @AddWith [concrete] -// CHECK:STDOUT: %AddWith.generic: %AddWith.type.0ce = struct_value () [concrete] +// CHECK:STDOUT: %AddWith.type.be4: type = generic_interface_type @AddWith [concrete] +// CHECK:STDOUT: %AddWith.generic: %AddWith.type.be4 = struct_value () [concrete] // CHECK:STDOUT: %int_12: Core.IntLiteral = int_value 12 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -49,7 +49,7 @@ fn Main() -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.AddWith: %AddWith.type.0ce = import_ref Core//prelude/operators/arithmetic, AddWith, loaded [concrete = constants.%AddWith.generic] +// CHECK:STDOUT: %Core.AddWith: %AddWith.type.be4 = import_ref Core//prelude/operators/arithmetic, AddWith, loaded [concrete = constants.%AddWith.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -59,11 +59,11 @@ fn Main() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Main.decl: %Main.type = fn_decl @Main [concrete = constants.%Main] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/operators/builtin/fail_unimplemented_op.carbon b/toolchain/check/testdata/operators/builtin/fail_unimplemented_op.carbon index 15cb84f74a18..b862e8719533 100644 --- a/toolchain/check/testdata/operators/builtin/fail_unimplemented_op.carbon +++ b/toolchain/check/testdata/operators/builtin/fail_unimplemented_op.carbon @@ -27,15 +27,15 @@ fn Main() -> i32 { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %int_34: Core.IntLiteral = int_value 34 [concrete] -// CHECK:STDOUT: %AddWith.type.0ce: type = generic_interface_type @AddWith [concrete] -// CHECK:STDOUT: %AddWith.generic: %AddWith.type.0ce = struct_value () [concrete] +// CHECK:STDOUT: %AddWith.type.be4: type = generic_interface_type @AddWith [concrete] +// CHECK:STDOUT: %AddWith.generic: %AddWith.type.be4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -46,7 +46,7 @@ fn Main() -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.AddWith: %AddWith.type.0ce = import_ref Core//prelude/operators/arithmetic, AddWith, loaded [concrete = constants.%AddWith.generic] +// CHECK:STDOUT: %Core.AddWith: %AddWith.type.be4 = import_ref Core//prelude/operators/arithmetic, AddWith, loaded [concrete = constants.%AddWith.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -56,11 +56,11 @@ fn Main() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Main.decl: %Main.type = fn_decl @Main [concrete = constants.%Main] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/operators/builtin/or.carbon b/toolchain/check/testdata/operators/builtin/or.carbon index bbe1b124e917..95534335487d 100644 --- a/toolchain/check/testdata/operators/builtin/or.carbon +++ b/toolchain/check/testdata/operators/builtin/or.carbon @@ -42,10 +42,10 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.bc7: = impl_witness imports.%Copy.impl_witness_table.aef [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.bc7) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.5dd: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.698: type = fn_type_with_self_type %Copy.WithSelf.Op.type.5dd, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.de3: = impl_witness imports.%Copy.impl_witness_table.34b [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.de3) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.079: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.022: type = fn_type_with_self_type %Copy.WithSelf.Op.type.079, %Copy.facet [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.type: type = fn_type @bool.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op: %bool.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.bound: = bound_method %true, %bool.as.Copy.impl.Op [concrete] @@ -59,10 +59,10 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc26 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc25 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc26 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc25 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: %PartialConstant.type: type = fn_type @PartialConstant [concrete] // CHECK:STDOUT: %PartialConstant: %PartialConstant.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -77,8 +77,8 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/parts/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.41e: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.aef = impl_witness_table (%Core.import_ref.41e), @bool.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.34b = impl_witness_table (%Core.import_ref.f63), @bool.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -133,7 +133,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: fn @F() -> out %return.param: bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %true, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%true) [concrete = constants.%true] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call @@ -142,7 +142,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: fn @G() -> out %return.param: bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %true: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %true, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%true) [concrete = constants.%true] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call @@ -167,7 +167,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: // CHECK:STDOUT: !or.result: // CHECK:STDOUT: %.loc19_14.6: bool = block_arg !or.result -// CHECK:STDOUT: %impl.elem0: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc19_14.6, %impl.elem0 // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%.loc19_14.6) // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call @@ -181,7 +181,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref bool = var %a.var_patt // CHECK:STDOUT: %true.loc23_53: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0.loc23: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc23: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc23: = bound_method %true.loc23_53, %impl.elem0.loc23 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call.loc23: init bool = call %bound_method.loc23(%true.loc23_53) [concrete = constants.%true] // CHECK:STDOUT: assign %a.var, %bool.as.Copy.impl.Op.call.loc23 @@ -222,7 +222,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref bool = var %b.var_patt // CHECK:STDOUT: %true.loc24_54: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0.loc24: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc24: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc24: = bound_method %true.loc24_54, %impl.elem0.loc24 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call.loc24: init bool = call %bound_method.loc24(%true.loc24_54) [concrete = constants.%true] // CHECK:STDOUT: assign %b.var, %bool.as.Copy.impl.Op.call.loc24 @@ -263,7 +263,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref bool = var %c.var_patt // CHECK:STDOUT: %true.loc25_54: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0.loc25: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc25: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method.loc25: = bound_method %true.loc25_54, %impl.elem0.loc25 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call.loc25: init bool = call %bound_method.loc25(%true.loc25_54) [concrete = constants.%true] // CHECK:STDOUT: assign %c.var, %bool.as.Copy.impl.Op.call.loc25 @@ -338,13 +338,13 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: // CHECK:STDOUT: !.loc26_15: // CHECK:STDOUT: %d: ref %empty_tuple.type = ref_binding d, %d.var -// CHECK:STDOUT: %Destroy.Op.bound.loc26: = bound_method %d.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc26: = bound_method %d.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc26: init %empty_tuple.type = call %Destroy.Op.bound.loc26(%d.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc25: = bound_method %c.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc25: = bound_method %c.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc25: init %empty_tuple.type = call %Destroy.Op.bound.loc25(%c.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc24: = bound_method %b.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc24: = bound_method %b.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc24: init %empty_tuple.type = call %Destroy.Op.bound.loc24(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc23: init %empty_tuple.type = call %Destroy.Op.bound.loc23(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -361,7 +361,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref bool = var %a.var_patt // CHECK:STDOUT: %true.loc30_50: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %true.loc30_50, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%true.loc30_50) [concrete = constants.%true] // CHECK:STDOUT: assign %a.var, %bool.as.Copy.impl.Op.call @@ -396,7 +396,7 @@ fn PartialConstant(x: bool) { // CHECK:STDOUT: // CHECK:STDOUT: !.loc30_15: // CHECK:STDOUT: %a: ref bool = ref_binding a, %a.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/operators/builtin/unary_op.carbon b/toolchain/check/testdata/operators/builtin/unary_op.carbon index cb931a2a4c34..5f531614f568 100644 --- a/toolchain/check/testdata/operators/builtin/unary_op.carbon +++ b/toolchain/check/testdata/operators/builtin/unary_op.carbon @@ -35,10 +35,10 @@ fn Constant() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Not: %Not.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.bc7: = impl_witness imports.%Copy.impl_witness_table.aef [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.bc7) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.5dd: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.698: type = fn_type_with_self_type %Copy.WithSelf.Op.type.5dd, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.de3: = impl_witness imports.%Copy.impl_witness_table.34b [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.de3) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.079: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.022: type = fn_type_with_self_type %Copy.WithSelf.Op.type.079, %Copy.facet [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.type: type = fn_type @bool.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op: %bool.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] @@ -49,10 +49,10 @@ fn Constant() { // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.bound: = bound_method %true, %bool.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc24 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc23 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc24 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc23 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -65,8 +65,8 @@ fn Constant() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/parts/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.41e: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.aef = impl_witness_table (%Core.import_ref.41e), @bool.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.34b = impl_witness_table (%Core.import_ref.f63), @bool.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -110,7 +110,7 @@ fn Constant() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %b.ref: bool = name_ref b, %b // CHECK:STDOUT: %.loc16: bool = not %b.ref -// CHECK:STDOUT: %impl.elem0: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc16, %impl.elem0 // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%.loc16) // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call @@ -155,7 +155,7 @@ fn Constant() { // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref bool = var %b.var_patt // CHECK:STDOUT: %true.loc24: bool = bool_literal true [concrete = constants.%true] -// CHECK:STDOUT: %impl.elem0: %.698 = impl_witness_access constants.%Copy.impl_witness.bc7, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %true.loc24, %impl.elem0 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%true.loc24) [concrete = constants.%true] // CHECK:STDOUT: assign %b.var, %bool.as.Copy.impl.Op.call @@ -181,9 +181,9 @@ fn Constant() { // CHECK:STDOUT: // CHECK:STDOUT: !.loc24_15: // CHECK:STDOUT: %b: ref bool = ref_binding b, %b.var -// CHECK:STDOUT: %Destroy.Op.bound.loc24: = bound_method %b.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc24: = bound_method %b.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc24: init %empty_tuple.type = call %Destroy.Op.bound.loc24(%b.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc23: init %empty_tuple.type = call %Destroy.Op.bound.loc23(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/operators/overloaded/add.carbon b/toolchain/check/testdata/operators/overloaded/add.carbon index 873b10279a9c..a29fa807b996 100644 --- a/toolchain/check/testdata/operators/overloaded/add.carbon +++ b/toolchain/check/testdata/operators/overloaded/add.carbon @@ -44,40 +44,40 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %AddWith.type.f5c: type = facet_type <@AddWith, @AddWith(%C)> [concrete] +// CHECK:STDOUT: %AddWith.type.685: type = facet_type <@AddWith, @AddWith(%C)> [concrete] // CHECK:STDOUT: %AddWith.impl_witness: = impl_witness @C.as.AddWith.impl.%AddWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.AddWith.impl.Op.type: type = fn_type @C.as.AddWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.AddWith.impl.Op: %C.as.AddWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %AddWith.facet: %AddWith.type.f5c = facet_value %C, (%AddWith.impl_witness) [concrete] -// CHECK:STDOUT: %AddWith.WithSelf.Op.type.1a0: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%C, %AddWith.facet) [concrete] -// CHECK:STDOUT: %AddAssignWith.type.423: type = facet_type <@AddAssignWith, @AddAssignWith(%C)> [concrete] +// CHECK:STDOUT: %AddWith.facet: %AddWith.type.685 = facet_value %C, (%AddWith.impl_witness) [concrete] +// CHECK:STDOUT: %AddWith.WithSelf.Op.type.703: type = fn_type @AddWith.WithSelf.Op, @AddWith.WithSelf(%C, %AddWith.facet) [concrete] +// CHECK:STDOUT: %AddAssignWith.type.9ed: type = facet_type <@AddAssignWith, @AddAssignWith(%C)> [concrete] // CHECK:STDOUT: %AddAssignWith.impl_witness: = impl_witness @C.as.AddAssignWith.impl.%AddAssignWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.AddAssignWith.impl.Op.type: type = fn_type @C.as.AddAssignWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.AddAssignWith.impl.Op: %C.as.AddAssignWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %AddAssignWith.facet: %AddAssignWith.type.423 = facet_value %C, (%AddAssignWith.impl_witness) [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.16c: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%C, %AddAssignWith.facet) [concrete] -// CHECK:STDOUT: %.fdd: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.1a0, %AddWith.facet [concrete] -// CHECK:STDOUT: %ptr.ec1: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.958: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.16c, %AddAssignWith.facet [concrete] +// CHECK:STDOUT: %AddAssignWith.facet: %AddAssignWith.type.9ed = facet_value %C, (%AddAssignWith.impl_witness) [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.b93: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%C, %AddAssignWith.facet) [concrete] +// CHECK:STDOUT: %.a2f: type = fn_type_with_self_type %AddWith.WithSelf.Op.type.703, %AddWith.facet [concrete] +// CHECK:STDOUT: %ptr.9a8: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.389: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.b93, %AddAssignWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp(%a.param: %C, %b.param: %C) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem1: %.fdd = impl_witness_access constants.%AddWith.impl_witness, element1 [concrete = constants.%C.as.AddWith.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.a2f = impl_witness_access constants.%AddWith.impl_witness, element1 [concrete = constants.%C.as.AddWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: // CHECK:STDOUT: %C.as.AddWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.AddWith.impl.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.ec1, %b.param: %C) { +// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.9a8, %b.param: %C) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %ptr.ec1 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %ptr.9a8 = name_ref a, %a // CHECK:STDOUT: %.loc38: ref %C = deref %a.ref // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.958 = impl_witness_access constants.%AddAssignWith.impl_witness, element0 [concrete = constants.%C.as.AddAssignWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.389 = impl_witness_access constants.%AddAssignWith.impl_witness, element0 [concrete = constants.%C.as.AddAssignWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.AddAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/bit_and.carbon b/toolchain/check/testdata/operators/overloaded/bit_and.carbon index 23abca9afc39..352cdad18796 100644 --- a/toolchain/check/testdata/operators/overloaded/bit_and.carbon +++ b/toolchain/check/testdata/operators/overloaded/bit_and.carbon @@ -44,40 +44,40 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %BitAndWith.type.7a8: type = facet_type <@BitAndWith, @BitAndWith(%C)> [concrete] +// CHECK:STDOUT: %BitAndWith.type.82e: type = facet_type <@BitAndWith, @BitAndWith(%C)> [concrete] // CHECK:STDOUT: %BitAndWith.impl_witness: = impl_witness @C.as.BitAndWith.impl.%BitAndWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.BitAndWith.impl.Op.type: type = fn_type @C.as.BitAndWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.BitAndWith.impl.Op: %C.as.BitAndWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.7a8 = facet_value %C, (%BitAndWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.c34: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(%C, %BitAndWith.facet) [concrete] -// CHECK:STDOUT: %BitAndAssignWith.type.b04: type = facet_type <@BitAndAssignWith, @BitAndAssignWith(%C)> [concrete] +// CHECK:STDOUT: %BitAndWith.facet: %BitAndWith.type.82e = facet_value %C, (%BitAndWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndWith.WithSelf.Op.type.ed7: type = fn_type @BitAndWith.WithSelf.Op, @BitAndWith.WithSelf(%C, %BitAndWith.facet) [concrete] +// CHECK:STDOUT: %BitAndAssignWith.type.99a: type = facet_type <@BitAndAssignWith, @BitAndAssignWith(%C)> [concrete] // CHECK:STDOUT: %BitAndAssignWith.impl_witness: = impl_witness @C.as.BitAndAssignWith.impl.%BitAndAssignWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.BitAndAssignWith.impl.Op.type: type = fn_type @C.as.BitAndAssignWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.BitAndAssignWith.impl.Op: %C.as.BitAndAssignWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %BitAndAssignWith.facet: %BitAndAssignWith.type.b04 = facet_value %C, (%BitAndAssignWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitAndAssignWith.WithSelf.Op.type.21f: type = fn_type @BitAndAssignWith.WithSelf.Op, @BitAndAssignWith.WithSelf(%C, %BitAndAssignWith.facet) [concrete] -// CHECK:STDOUT: %.9d4: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.c34, %BitAndWith.facet [concrete] -// CHECK:STDOUT: %ptr.ec1: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.3d4: type = fn_type_with_self_type %BitAndAssignWith.WithSelf.Op.type.21f, %BitAndAssignWith.facet [concrete] +// CHECK:STDOUT: %BitAndAssignWith.facet: %BitAndAssignWith.type.99a = facet_value %C, (%BitAndAssignWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitAndAssignWith.WithSelf.Op.type.2b2: type = fn_type @BitAndAssignWith.WithSelf.Op, @BitAndAssignWith.WithSelf(%C, %BitAndAssignWith.facet) [concrete] +// CHECK:STDOUT: %.243: type = fn_type_with_self_type %BitAndWith.WithSelf.Op.type.ed7, %BitAndWith.facet [concrete] +// CHECK:STDOUT: %ptr.9a8: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.cb5: type = fn_type_with_self_type %BitAndAssignWith.WithSelf.Op.type.2b2, %BitAndAssignWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp(%a.param: %C, %b.param: %C) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem1: %.9d4 = impl_witness_access constants.%BitAndWith.impl_witness, element1 [concrete = constants.%C.as.BitAndWith.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.243 = impl_witness_access constants.%BitAndWith.impl_witness, element1 [concrete = constants.%C.as.BitAndWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: // CHECK:STDOUT: %C.as.BitAndWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.BitAndWith.impl.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.ec1, %b.param: %C) { +// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.9a8, %b.param: %C) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %ptr.ec1 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %ptr.9a8 = name_ref a, %a // CHECK:STDOUT: %.loc38: ref %C = deref %a.ref // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.3d4 = impl_witness_access constants.%BitAndAssignWith.impl_witness, element0 [concrete = constants.%C.as.BitAndAssignWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.cb5 = impl_witness_access constants.%BitAndAssignWith.impl_witness, element0 [concrete = constants.%C.as.BitAndAssignWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.BitAndAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/bit_complement.carbon b/toolchain/check/testdata/operators/overloaded/bit_complement.carbon index ac45581b5334..893067234e93 100644 --- a/toolchain/check/testdata/operators/overloaded/bit_complement.carbon +++ b/toolchain/check/testdata/operators/overloaded/bit_complement.carbon @@ -39,14 +39,14 @@ fn TestOp(a: C) -> C { // CHECK:STDOUT: %C.as.BitComplement.impl.Op.type: type = fn_type @C.as.BitComplement.impl.Op [concrete] // CHECK:STDOUT: %C.as.BitComplement.impl.Op: %C.as.BitComplement.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %BitComplement.facet: %BitComplement.type = facet_value %C, (%BitComplement.impl_witness) [concrete] -// CHECK:STDOUT: %BitComplement.WithSelf.Op.type.e58: type = fn_type @BitComplement.WithSelf.Op, @BitComplement.WithSelf(%BitComplement.facet) [concrete] -// CHECK:STDOUT: %.1f0: type = fn_type_with_self_type %BitComplement.WithSelf.Op.type.e58, %BitComplement.facet [concrete] +// CHECK:STDOUT: %BitComplement.WithSelf.Op.type.0d4: type = fn_type @BitComplement.WithSelf.Op, @BitComplement.WithSelf(%BitComplement.facet) [concrete] +// CHECK:STDOUT: %.ede: type = fn_type_with_self_type %BitComplement.WithSelf.Op.type.0d4, %BitComplement.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp(%a.param: %C) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a -// CHECK:STDOUT: %impl.elem1: %.1f0 = impl_witness_access constants.%BitComplement.impl_witness, element1 [concrete = constants.%C.as.BitComplement.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.ede = impl_witness_access constants.%BitComplement.impl_witness, element1 [concrete = constants.%C.as.BitComplement.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: // CHECK:STDOUT: %C.as.BitComplement.impl.Op.call: init %C to %.loc27_20.1 = call %bound_method(%a.ref) diff --git a/toolchain/check/testdata/operators/overloaded/bit_or.carbon b/toolchain/check/testdata/operators/overloaded/bit_or.carbon index fcdbc575277d..788f39742a1b 100644 --- a/toolchain/check/testdata/operators/overloaded/bit_or.carbon +++ b/toolchain/check/testdata/operators/overloaded/bit_or.carbon @@ -44,40 +44,40 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %BitOrWith.type.96b: type = facet_type <@BitOrWith, @BitOrWith(%C)> [concrete] +// CHECK:STDOUT: %BitOrWith.type.179: type = facet_type <@BitOrWith, @BitOrWith(%C)> [concrete] // CHECK:STDOUT: %BitOrWith.impl_witness: = impl_witness @C.as.BitOrWith.impl.%BitOrWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.BitOrWith.impl.Op.type: type = fn_type @C.as.BitOrWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.BitOrWith.impl.Op: %C.as.BitOrWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %BitOrWith.facet: %BitOrWith.type.96b = facet_value %C, (%BitOrWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitOrWith.WithSelf.Op.type.45e: type = fn_type @BitOrWith.WithSelf.Op, @BitOrWith.WithSelf(%C, %BitOrWith.facet) [concrete] -// CHECK:STDOUT: %BitOrAssignWith.type.2c0: type = facet_type <@BitOrAssignWith, @BitOrAssignWith(%C)> [concrete] +// CHECK:STDOUT: %BitOrWith.facet: %BitOrWith.type.179 = facet_value %C, (%BitOrWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitOrWith.WithSelf.Op.type.665: type = fn_type @BitOrWith.WithSelf.Op, @BitOrWith.WithSelf(%C, %BitOrWith.facet) [concrete] +// CHECK:STDOUT: %BitOrAssignWith.type.59e: type = facet_type <@BitOrAssignWith, @BitOrAssignWith(%C)> [concrete] // CHECK:STDOUT: %BitOrAssignWith.impl_witness: = impl_witness @C.as.BitOrAssignWith.impl.%BitOrAssignWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.BitOrAssignWith.impl.Op.type: type = fn_type @C.as.BitOrAssignWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.BitOrAssignWith.impl.Op: %C.as.BitOrAssignWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %BitOrAssignWith.facet: %BitOrAssignWith.type.2c0 = facet_value %C, (%BitOrAssignWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitOrAssignWith.WithSelf.Op.type.c95: type = fn_type @BitOrAssignWith.WithSelf.Op, @BitOrAssignWith.WithSelf(%C, %BitOrAssignWith.facet) [concrete] -// CHECK:STDOUT: %.648: type = fn_type_with_self_type %BitOrWith.WithSelf.Op.type.45e, %BitOrWith.facet [concrete] -// CHECK:STDOUT: %ptr.ec1: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.474: type = fn_type_with_self_type %BitOrAssignWith.WithSelf.Op.type.c95, %BitOrAssignWith.facet [concrete] +// CHECK:STDOUT: %BitOrAssignWith.facet: %BitOrAssignWith.type.59e = facet_value %C, (%BitOrAssignWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitOrAssignWith.WithSelf.Op.type.8ff: type = fn_type @BitOrAssignWith.WithSelf.Op, @BitOrAssignWith.WithSelf(%C, %BitOrAssignWith.facet) [concrete] +// CHECK:STDOUT: %.8dc: type = fn_type_with_self_type %BitOrWith.WithSelf.Op.type.665, %BitOrWith.facet [concrete] +// CHECK:STDOUT: %ptr.9a8: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.278: type = fn_type_with_self_type %BitOrAssignWith.WithSelf.Op.type.8ff, %BitOrAssignWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp(%a.param: %C, %b.param: %C) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem1: %.648 = impl_witness_access constants.%BitOrWith.impl_witness, element1 [concrete = constants.%C.as.BitOrWith.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.8dc = impl_witness_access constants.%BitOrWith.impl_witness, element1 [concrete = constants.%C.as.BitOrWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: // CHECK:STDOUT: %C.as.BitOrWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.BitOrWith.impl.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.ec1, %b.param: %C) { +// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.9a8, %b.param: %C) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %ptr.ec1 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %ptr.9a8 = name_ref a, %a // CHECK:STDOUT: %.loc38: ref %C = deref %a.ref // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%BitOrAssignWith.impl_witness, element0 [concrete = constants.%C.as.BitOrAssignWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.278 = impl_witness_access constants.%BitOrAssignWith.impl_witness, element0 [concrete = constants.%C.as.BitOrAssignWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.BitOrAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/bit_xor.carbon b/toolchain/check/testdata/operators/overloaded/bit_xor.carbon index a0e2f823a3af..4f5ece6a7d3b 100644 --- a/toolchain/check/testdata/operators/overloaded/bit_xor.carbon +++ b/toolchain/check/testdata/operators/overloaded/bit_xor.carbon @@ -44,40 +44,40 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %BitXorWith.type.732: type = facet_type <@BitXorWith, @BitXorWith(%C)> [concrete] +// CHECK:STDOUT: %BitXorWith.type.1eb: type = facet_type <@BitXorWith, @BitXorWith(%C)> [concrete] // CHECK:STDOUT: %BitXorWith.impl_witness: = impl_witness @C.as.BitXorWith.impl.%BitXorWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.BitXorWith.impl.Op.type: type = fn_type @C.as.BitXorWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.BitXorWith.impl.Op: %C.as.BitXorWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %BitXorWith.facet: %BitXorWith.type.732 = facet_value %C, (%BitXorWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitXorWith.WithSelf.Op.type.34f: type = fn_type @BitXorWith.WithSelf.Op, @BitXorWith.WithSelf(%C, %BitXorWith.facet) [concrete] -// CHECK:STDOUT: %BitXorAssignWith.type.697: type = facet_type <@BitXorAssignWith, @BitXorAssignWith(%C)> [concrete] +// CHECK:STDOUT: %BitXorWith.facet: %BitXorWith.type.1eb = facet_value %C, (%BitXorWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitXorWith.WithSelf.Op.type.300: type = fn_type @BitXorWith.WithSelf.Op, @BitXorWith.WithSelf(%C, %BitXorWith.facet) [concrete] +// CHECK:STDOUT: %BitXorAssignWith.type.141: type = facet_type <@BitXorAssignWith, @BitXorAssignWith(%C)> [concrete] // CHECK:STDOUT: %BitXorAssignWith.impl_witness: = impl_witness @C.as.BitXorAssignWith.impl.%BitXorAssignWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.BitXorAssignWith.impl.Op.type: type = fn_type @C.as.BitXorAssignWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.BitXorAssignWith.impl.Op: %C.as.BitXorAssignWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %BitXorAssignWith.facet: %BitXorAssignWith.type.697 = facet_value %C, (%BitXorAssignWith.impl_witness) [concrete] -// CHECK:STDOUT: %BitXorAssignWith.WithSelf.Op.type.309: type = fn_type @BitXorAssignWith.WithSelf.Op, @BitXorAssignWith.WithSelf(%C, %BitXorAssignWith.facet) [concrete] -// CHECK:STDOUT: %.6c1: type = fn_type_with_self_type %BitXorWith.WithSelf.Op.type.34f, %BitXorWith.facet [concrete] -// CHECK:STDOUT: %ptr.ec1: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.c76: type = fn_type_with_self_type %BitXorAssignWith.WithSelf.Op.type.309, %BitXorAssignWith.facet [concrete] +// CHECK:STDOUT: %BitXorAssignWith.facet: %BitXorAssignWith.type.141 = facet_value %C, (%BitXorAssignWith.impl_witness) [concrete] +// CHECK:STDOUT: %BitXorAssignWith.WithSelf.Op.type.1d9: type = fn_type @BitXorAssignWith.WithSelf.Op, @BitXorAssignWith.WithSelf(%C, %BitXorAssignWith.facet) [concrete] +// CHECK:STDOUT: %.f46: type = fn_type_with_self_type %BitXorWith.WithSelf.Op.type.300, %BitXorWith.facet [concrete] +// CHECK:STDOUT: %ptr.9a8: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.3fc: type = fn_type_with_self_type %BitXorAssignWith.WithSelf.Op.type.1d9, %BitXorAssignWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp(%a.param: %C, %b.param: %C) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem1: %.6c1 = impl_witness_access constants.%BitXorWith.impl_witness, element1 [concrete = constants.%C.as.BitXorWith.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.f46 = impl_witness_access constants.%BitXorWith.impl_witness, element1 [concrete = constants.%C.as.BitXorWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: // CHECK:STDOUT: %C.as.BitXorWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.BitXorWith.impl.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.ec1, %b.param: %C) { +// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.9a8, %b.param: %C) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %ptr.ec1 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %ptr.9a8 = name_ref a, %a // CHECK:STDOUT: %.loc38: ref %C = deref %a.ref // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.c76 = impl_witness_access constants.%BitXorAssignWith.impl_witness, element0 [concrete = constants.%C.as.BitXorAssignWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.3fc = impl_witness_access constants.%BitXorAssignWith.impl_witness, element0 [concrete = constants.%C.as.BitXorAssignWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.BitXorAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/dec.carbon b/toolchain/check/testdata/operators/overloaded/dec.carbon index b55a8e21049f..152ef4eb6348 100644 --- a/toolchain/check/testdata/operators/overloaded/dec.carbon +++ b/toolchain/check/testdata/operators/overloaded/dec.carbon @@ -39,15 +39,15 @@ fn TestOp() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %C.as.Dec.impl.Op: %C.as.Dec.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Dec.facet: %Dec.type = facet_value %C, (%Dec.impl_witness) [concrete] -// CHECK:STDOUT: %Dec.WithSelf.Op.type.729: type = fn_type @Dec.WithSelf.Op, @Dec.WithSelf(%Dec.facet) [concrete] -// CHECK:STDOUT: %.45c: type = fn_type_with_self_type %Dec.WithSelf.Op.type.729, %Dec.facet [concrete] +// CHECK:STDOUT: %Dec.WithSelf.Op.type.907: type = fn_type @Dec.WithSelf.Op, @Dec.WithSelf(%Dec.facet) [concrete] +// CHECK:STDOUT: %.540: type = fn_type_with_self_type %Dec.WithSelf.Op.type.907, %Dec.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: // CHECK:STDOUT: %c.ref: ref %C = name_ref c, %c -// CHECK:STDOUT: %impl.elem0: %.45c = impl_witness_access constants.%Dec.impl_witness, element0 [concrete = constants.%C.as.Dec.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.540 = impl_witness_access constants.%Dec.impl_witness, element0 [concrete = constants.%C.as.Dec.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.Dec.impl.Op.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/div.carbon b/toolchain/check/testdata/operators/overloaded/div.carbon index c3284edbd75e..740c1a633e6b 100644 --- a/toolchain/check/testdata/operators/overloaded/div.carbon +++ b/toolchain/check/testdata/operators/overloaded/div.carbon @@ -44,40 +44,40 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %DivWith.type.82f: type = facet_type <@DivWith, @DivWith(%C)> [concrete] +// CHECK:STDOUT: %DivWith.type.ba4: type = facet_type <@DivWith, @DivWith(%C)> [concrete] // CHECK:STDOUT: %DivWith.impl_witness: = impl_witness @C.as.DivWith.impl.%DivWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.DivWith.impl.Op.type: type = fn_type @C.as.DivWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.DivWith.impl.Op: %C.as.DivWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %DivWith.facet: %DivWith.type.82f = facet_value %C, (%DivWith.impl_witness) [concrete] -// CHECK:STDOUT: %DivWith.WithSelf.Op.type.c7f: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%C, %DivWith.facet) [concrete] -// CHECK:STDOUT: %DivAssignWith.type.bbb: type = facet_type <@DivAssignWith, @DivAssignWith(%C)> [concrete] +// CHECK:STDOUT: %DivWith.facet: %DivWith.type.ba4 = facet_value %C, (%DivWith.impl_witness) [concrete] +// CHECK:STDOUT: %DivWith.WithSelf.Op.type.26a: type = fn_type @DivWith.WithSelf.Op, @DivWith.WithSelf(%C, %DivWith.facet) [concrete] +// CHECK:STDOUT: %DivAssignWith.type.22d: type = facet_type <@DivAssignWith, @DivAssignWith(%C)> [concrete] // CHECK:STDOUT: %DivAssignWith.impl_witness: = impl_witness @C.as.DivAssignWith.impl.%DivAssignWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.DivAssignWith.impl.Op.type: type = fn_type @C.as.DivAssignWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.DivAssignWith.impl.Op: %C.as.DivAssignWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %DivAssignWith.facet: %DivAssignWith.type.bbb = facet_value %C, (%DivAssignWith.impl_witness) [concrete] -// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.339: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%C, %DivAssignWith.facet) [concrete] -// CHECK:STDOUT: %.c74: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.c7f, %DivWith.facet [concrete] -// CHECK:STDOUT: %ptr.ec1: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.c1a: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.339, %DivAssignWith.facet [concrete] +// CHECK:STDOUT: %DivAssignWith.facet: %DivAssignWith.type.22d = facet_value %C, (%DivAssignWith.impl_witness) [concrete] +// CHECK:STDOUT: %DivAssignWith.WithSelf.Op.type.86a: type = fn_type @DivAssignWith.WithSelf.Op, @DivAssignWith.WithSelf(%C, %DivAssignWith.facet) [concrete] +// CHECK:STDOUT: %.b0e: type = fn_type_with_self_type %DivWith.WithSelf.Op.type.26a, %DivWith.facet [concrete] +// CHECK:STDOUT: %ptr.9a8: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.caf: type = fn_type_with_self_type %DivAssignWith.WithSelf.Op.type.86a, %DivAssignWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp(%a.param: %C, %b.param: %C) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem1: %.c74 = impl_witness_access constants.%DivWith.impl_witness, element1 [concrete = constants.%C.as.DivWith.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.b0e = impl_witness_access constants.%DivWith.impl_witness, element1 [concrete = constants.%C.as.DivWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: // CHECK:STDOUT: %C.as.DivWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.DivWith.impl.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.ec1, %b.param: %C) { +// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.9a8, %b.param: %C) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %ptr.ec1 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %ptr.9a8 = name_ref a, %a // CHECK:STDOUT: %.loc38: ref %C = deref %a.ref // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.c1a = impl_witness_access constants.%DivAssignWith.impl_witness, element0 [concrete = constants.%C.as.DivAssignWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.caf = impl_witness_access constants.%DivAssignWith.impl_witness, element0 [concrete = constants.%C.as.DivAssignWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.DivAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/eq.carbon b/toolchain/check/testdata/operators/overloaded/eq.carbon index 3a369d4cc478..daeaa24b3d76 100644 --- a/toolchain/check/testdata/operators/overloaded/eq.carbon +++ b/toolchain/check/testdata/operators/overloaded/eq.carbon @@ -87,28 +87,28 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %EqWith.type.70a: type = generic_interface_type @EqWith [concrete] -// CHECK:STDOUT: %EqWith.generic: %EqWith.type.70a = struct_value () [concrete] +// CHECK:STDOUT: %EqWith.type.05c: type = generic_interface_type @EqWith [concrete] +// CHECK:STDOUT: %EqWith.generic: %EqWith.type.05c = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.831: type = pattern_type bool [concrete] // CHECK:STDOUT: %.f34: Core.Form = init_form bool [concrete] -// CHECK:STDOUT: %EqWith.type.7c3: type = facet_type <@EqWith, @EqWith(%C)> [concrete] +// CHECK:STDOUT: %EqWith.type.3a3: type = facet_type <@EqWith, @EqWith(%C)> [concrete] // CHECK:STDOUT: %EqWith.impl_witness: = impl_witness @C.as.EqWith.impl.%EqWith.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.518: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.309: type = pattern_type %C [concrete] // CHECK:STDOUT: %Bool.type: type = fn_type @Bool [concrete] // CHECK:STDOUT: %Bool: %Bool.type = struct_value () [concrete] // CHECK:STDOUT: %C.as.EqWith.impl.Equal.type: type = fn_type @C.as.EqWith.impl.Equal [concrete] // CHECK:STDOUT: %C.as.EqWith.impl.Equal: %C.as.EqWith.impl.Equal.type = struct_value () [concrete] // CHECK:STDOUT: %C.as.EqWith.impl.NotEqual.type: type = fn_type @C.as.EqWith.impl.NotEqual [concrete] // CHECK:STDOUT: %C.as.EqWith.impl.NotEqual: %C.as.EqWith.impl.NotEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %EqWith.facet: %EqWith.type.7c3 = facet_value %C, (%EqWith.impl_witness) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.0fc: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%C, %EqWith.facet) [concrete] -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.714: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%C, %EqWith.facet) [concrete] +// CHECK:STDOUT: %EqWith.facet: %EqWith.type.3a3 = facet_value %C, (%EqWith.impl_witness) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.Equal.type.fd1: type = fn_type @EqWith.WithSelf.Equal, @EqWith.WithSelf(%C, %EqWith.facet) [concrete] +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.type.72f: type = fn_type @EqWith.WithSelf.NotEqual, @EqWith.WithSelf(%C, %EqWith.facet) [concrete] // CHECK:STDOUT: %TestEqual.type: type = fn_type @TestEqual [concrete] // CHECK:STDOUT: %TestEqual: %TestEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %.565: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.0fc, %EqWith.facet [concrete] +// CHECK:STDOUT: %.acc: type = fn_type_with_self_type %EqWith.WithSelf.Equal.type.fd1, %EqWith.facet [concrete] // CHECK:STDOUT: %TestNotEqual.type: type = fn_type @TestNotEqual [concrete] // CHECK:STDOUT: %TestNotEqual: %TestNotEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %.a65: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.714, %EqWith.facet [concrete] +// CHECK:STDOUT: %.1c6: type = fn_type_with_self_type %EqWith.WithSelf.NotEqual.type.72f, %EqWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -118,7 +118,7 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.EqWith: %EqWith.type.70a = import_ref Core//prelude/operators/comparison, EqWith, loaded [concrete = constants.%EqWith.generic] +// CHECK:STDOUT: %Core.EqWith: %EqWith.type.05c = import_ref Core//prelude/operators/comparison, EqWith, loaded [concrete = constants.%EqWith.generic] // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/types/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -134,15 +134,15 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: impl_decl @C.as.EqWith.impl [concrete] {} { // CHECK:STDOUT: %C.ref.loc6_6: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %EqWith.ref: %EqWith.type.70a = name_ref EqWith, imports.%Core.EqWith [concrete = constants.%EqWith.generic] +// CHECK:STDOUT: %EqWith.ref: %EqWith.type.05c = name_ref EqWith, imports.%Core.EqWith [concrete = constants.%EqWith.generic] // CHECK:STDOUT: %C.ref.loc6_23: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %EqWith.type: type = facet_type <@EqWith, @EqWith(constants.%C)> [concrete = constants.%EqWith.type.7c3] +// CHECK:STDOUT: %EqWith.type: type = facet_type <@EqWith, @EqWith(constants.%C)> [concrete = constants.%EqWith.type.3a3] // CHECK:STDOUT: } // CHECK:STDOUT: %TestEqual.decl: %TestEqual.type = fn_decl @TestEqual [concrete = constants.%TestEqual] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.518 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.518 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.309 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.309 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc11_29.1 [concrete] // CHECK:STDOUT: } { @@ -158,10 +158,10 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestNotEqual.decl: %TestNotEqual.type = fn_decl @TestNotEqual [concrete = constants.%TestNotEqual] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.518 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.518 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.309 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.309 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc15_32.1 [concrete] // CHECK:STDOUT: } { @@ -180,10 +180,10 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.EqWith.impl: %C.ref.loc6_6 as %EqWith.type { // CHECK:STDOUT: %C.as.EqWith.impl.Equal.decl: %C.as.EqWith.impl.Equal.type = fn_decl @C.as.EqWith.impl.Equal [concrete = constants.%C.as.EqWith.impl.Equal] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.518 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.518 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.309 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.309 = at_binding_pattern other, %other.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc7_34.1 [concrete] // CHECK:STDOUT: } { @@ -199,10 +199,10 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %C.as.EqWith.impl.NotEqual.decl: %C.as.EqWith.impl.NotEqual.type = fn_decl @C.as.EqWith.impl.NotEqual [concrete = constants.%C.as.EqWith.impl.NotEqual] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.518 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.518 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.309 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.309 = at_binding_pattern other, %other.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc8_37.1 [concrete] // CHECK:STDOUT: } { @@ -244,7 +244,7 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.565 = impl_witness_access constants.%EqWith.impl_witness, element0 [concrete = constants.%C.as.EqWith.impl.Equal] +// CHECK:STDOUT: %impl.elem0: %.acc = impl_witness_access constants.%EqWith.impl_witness, element0 [concrete = constants.%C.as.EqWith.impl.Equal] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %C.as.EqWith.impl.Equal.call: init bool = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.EqWith.impl.Equal.call @@ -254,7 +254,7 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem1: %.a65 = impl_witness_access constants.%EqWith.impl_witness, element1 [concrete = constants.%C.as.EqWith.impl.NotEqual] +// CHECK:STDOUT: %impl.elem1: %.1c6 = impl_witness_access constants.%EqWith.impl_witness, element1 [concrete = constants.%C.as.EqWith.impl.NotEqual] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: %C.as.EqWith.impl.NotEqual.call: init bool = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.EqWith.impl.NotEqual.call @@ -266,15 +266,15 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.eaf: type = pattern_type %D [concrete] +// CHECK:STDOUT: %pattern_type.b4f: type = pattern_type %D [concrete] // CHECK:STDOUT: %Bool.type: type = fn_type @Bool [concrete] // CHECK:STDOUT: %Bool: %Bool.type = struct_value () [concrete] // CHECK:STDOUT: %.f34: Core.Form = init_form bool [concrete] // CHECK:STDOUT: %pattern_type.831: type = pattern_type bool [concrete] // CHECK:STDOUT: %TestEqual.type: type = fn_type @TestEqual [concrete] // CHECK:STDOUT: %TestEqual: %TestEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %EqWith.type.70a: type = generic_interface_type @EqWith [concrete] -// CHECK:STDOUT: %EqWith.generic: %EqWith.type.70a = struct_value () [concrete] +// CHECK:STDOUT: %EqWith.type.05c: type = generic_interface_type @EqWith [concrete] +// CHECK:STDOUT: %EqWith.generic: %EqWith.type.05c = struct_value () [concrete] // CHECK:STDOUT: %TestNotEqual.type: type = fn_type @TestNotEqual [concrete] // CHECK:STDOUT: %TestNotEqual: %TestNotEqual.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -287,7 +287,7 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/types/bool, Bool, loaded [concrete = constants.%Bool] -// CHECK:STDOUT: %Core.EqWith: %EqWith.type.70a = import_ref Core//prelude/operators/comparison, EqWith, loaded [concrete = constants.%EqWith.generic] +// CHECK:STDOUT: %Core.EqWith: %EqWith.type.05c = import_ref Core//prelude/operators/comparison, EqWith, loaded [concrete = constants.%EqWith.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -300,10 +300,10 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %D.decl: type = class_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: %TestEqual.decl: %TestEqual.type = fn_decl @TestEqual [concrete = constants.%TestEqual] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.eaf = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.eaf = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.eaf = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.eaf = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.b4f = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.b4f = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.b4f = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.b4f = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc6_29.1 [concrete] // CHECK:STDOUT: } { @@ -319,10 +319,10 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestNotEqual.decl: %TestNotEqual.type = fn_decl @TestNotEqual [concrete = constants.%TestNotEqual] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.eaf = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.eaf = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.eaf = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.eaf = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.b4f = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.b4f = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.b4f = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.b4f = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc14_32.1 [concrete] // CHECK:STDOUT: } { @@ -368,20 +368,20 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] -// CHECK:STDOUT: %EqWith.type.70a: type = generic_interface_type @EqWith [concrete] -// CHECK:STDOUT: %EqWith.generic: %EqWith.type.70a = struct_value () [concrete] +// CHECK:STDOUT: %EqWith.type.05c: type = generic_interface_type @EqWith [concrete] +// CHECK:STDOUT: %EqWith.generic: %EqWith.type.05c = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.831: type = pattern_type bool [concrete] // CHECK:STDOUT: %.f34: Core.Form = init_form bool [concrete] -// CHECK:STDOUT: %EqWith.type.1da: type = facet_type <@EqWith, @EqWith(%C)> [concrete] +// CHECK:STDOUT: %EqWith.type.33b: type = facet_type <@EqWith, @EqWith(%C)> [concrete] // CHECK:STDOUT: %EqWith.impl_witness: = impl_witness @C.as.EqWith.impl.%EqWith.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.5b3: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.88c: type = pattern_type %C [concrete] // CHECK:STDOUT: %Bool.type: type = fn_type @Bool [concrete] // CHECK:STDOUT: %Bool: %Bool.type = struct_value () [concrete] // CHECK:STDOUT: %C.as.EqWith.impl.Equal.type: type = fn_type @C.as.EqWith.impl.Equal [concrete] // CHECK:STDOUT: %C.as.EqWith.impl.Equal: %C.as.EqWith.impl.Equal.type = struct_value () [concrete] // CHECK:STDOUT: %C.as.EqWith.impl.NotEqual.type: type = fn_type @C.as.EqWith.impl.NotEqual [concrete] // CHECK:STDOUT: %C.as.EqWith.impl.NotEqual: %C.as.EqWith.impl.NotEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %pattern_type.f56: type = pattern_type %D [concrete] +// CHECK:STDOUT: %pattern_type.bab: type = pattern_type %D [concrete] // CHECK:STDOUT: %TestRhsBad.type: type = fn_type @TestRhsBad [concrete] // CHECK:STDOUT: %TestRhsBad: %TestRhsBad.type = struct_value () [concrete] // CHECK:STDOUT: %TestLhsBad.type: type = fn_type @TestLhsBad [concrete] @@ -395,7 +395,7 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.EqWith: %EqWith.type.70a = import_ref Core//prelude/operators/comparison, EqWith, loaded [concrete = constants.%EqWith.generic] +// CHECK:STDOUT: %Core.EqWith: %EqWith.type.05c = import_ref Core//prelude/operators/comparison, EqWith, loaded [concrete = constants.%EqWith.generic] // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/types/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -413,15 +413,15 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: impl_decl @C.as.EqWith.impl [concrete] {} { // CHECK:STDOUT: %C.ref.loc7_6: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %EqWith.ref: %EqWith.type.70a = name_ref EqWith, imports.%Core.EqWith [concrete = constants.%EqWith.generic] +// CHECK:STDOUT: %EqWith.ref: %EqWith.type.05c = name_ref EqWith, imports.%Core.EqWith [concrete = constants.%EqWith.generic] // CHECK:STDOUT: %C.ref.loc7_23: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %EqWith.type: type = facet_type <@EqWith, @EqWith(constants.%C)> [concrete = constants.%EqWith.type.1da] +// CHECK:STDOUT: %EqWith.type: type = facet_type <@EqWith, @EqWith(constants.%C)> [concrete = constants.%EqWith.type.33b] // CHECK:STDOUT: } // CHECK:STDOUT: %TestRhsBad.decl: %TestRhsBad.type = fn_decl @TestRhsBad [concrete = constants.%TestRhsBad] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.5b3 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.5b3 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.f56 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.f56 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.88c = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.88c = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.bab = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.bab = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc12_30.1 [concrete] // CHECK:STDOUT: } { @@ -437,10 +437,10 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestLhsBad.decl: %TestLhsBad.type = fn_decl @TestLhsBad [concrete = constants.%TestLhsBad] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.f56 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.f56 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.5b3 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.5b3 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.bab = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.bab = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.88c = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.88c = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc20_30.1 [concrete] // CHECK:STDOUT: } { @@ -459,10 +459,10 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.EqWith.impl: %C.ref.loc7_6 as %EqWith.type { // CHECK:STDOUT: %C.as.EqWith.impl.Equal.decl: %C.as.EqWith.impl.Equal.type = fn_decl @C.as.EqWith.impl.Equal [concrete = constants.%C.as.EqWith.impl.Equal] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.5b3 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.5b3 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.5b3 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.5b3 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.88c = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.88c = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.88c = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.88c = at_binding_pattern other, %other.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc8_34.1 [concrete] // CHECK:STDOUT: } { @@ -478,10 +478,10 @@ fn TestLhsBad(a: D, b: C) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %C.as.EqWith.impl.NotEqual.decl: %C.as.EqWith.impl.NotEqual.type = fn_decl @C.as.EqWith.impl.NotEqual [concrete = constants.%C.as.EqWith.impl.NotEqual] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.5b3 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.5b3 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.5b3 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.5b3 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.88c = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.88c = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.88c = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.88c = at_binding_pattern other, %other.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc9_37.1 [concrete] // CHECK:STDOUT: } { diff --git a/toolchain/check/testdata/operators/overloaded/fail_assign_non_ref.carbon b/toolchain/check/testdata/operators/overloaded/fail_assign_non_ref.carbon index 44a530a9d32f..5294aa1c8b47 100644 --- a/toolchain/check/testdata/operators/overloaded/fail_assign_non_ref.carbon +++ b/toolchain/check/testdata/operators/overloaded/fail_assign_non_ref.carbon @@ -53,26 +53,26 @@ fn TestAddAssignNonRef(a: C, b: C) { // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %Inc.type: type = facet_type <@Inc> [concrete] // CHECK:STDOUT: %Inc.impl_witness: = impl_witness @C.as.Inc.impl.%Inc.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.518: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.309: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.as.Inc.impl.Op.type: type = fn_type @C.as.Inc.impl.Op [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %C.as.Inc.impl.Op: %C.as.Inc.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Inc.facet: %Inc.type = facet_value %C, (%Inc.impl_witness) [concrete] -// CHECK:STDOUT: %Inc.WithSelf.Op.type.a0d: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet) [concrete] -// CHECK:STDOUT: %AddAssignWith.type.8b9: type = generic_interface_type @AddAssignWith [concrete] -// CHECK:STDOUT: %AddAssignWith.generic: %AddAssignWith.type.8b9 = struct_value () [concrete] -// CHECK:STDOUT: %AddAssignWith.type.423: type = facet_type <@AddAssignWith, @AddAssignWith(%C)> [concrete] +// CHECK:STDOUT: %Inc.WithSelf.Op.type.500: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet) [concrete] +// CHECK:STDOUT: %AddAssignWith.type.b82: type = generic_interface_type @AddAssignWith [concrete] +// CHECK:STDOUT: %AddAssignWith.generic: %AddAssignWith.type.b82 = struct_value () [concrete] +// CHECK:STDOUT: %AddAssignWith.type.9ed: type = facet_type <@AddAssignWith, @AddAssignWith(%C)> [concrete] // CHECK:STDOUT: %AddAssignWith.impl_witness: = impl_witness @C.as.AddAssignWith.impl.%AddAssignWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.AddAssignWith.impl.Op.type: type = fn_type @C.as.AddAssignWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.AddAssignWith.impl.Op: %C.as.AddAssignWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %AddAssignWith.facet: %AddAssignWith.type.423 = facet_value %C, (%AddAssignWith.impl_witness) [concrete] -// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.16c: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%C, %AddAssignWith.facet) [concrete] +// CHECK:STDOUT: %AddAssignWith.facet: %AddAssignWith.type.9ed = facet_value %C, (%AddAssignWith.impl_witness) [concrete] +// CHECK:STDOUT: %AddAssignWith.WithSelf.Op.type.b93: type = fn_type @AddAssignWith.WithSelf.Op, @AddAssignWith.WithSelf(%C, %AddAssignWith.facet) [concrete] // CHECK:STDOUT: %TestIncNonRef.type: type = fn_type @TestIncNonRef [concrete] // CHECK:STDOUT: %TestIncNonRef: %TestIncNonRef.type = struct_value () [concrete] -// CHECK:STDOUT: %.84b: type = fn_type_with_self_type %Inc.WithSelf.Op.type.a0d, %Inc.facet [concrete] +// CHECK:STDOUT: %.6c9: type = fn_type_with_self_type %Inc.WithSelf.Op.type.500, %Inc.facet [concrete] // CHECK:STDOUT: %TestAddAssignNonRef.type: type = fn_type @TestAddAssignNonRef [concrete] // CHECK:STDOUT: %TestAddAssignNonRef: %TestAddAssignNonRef.type = struct_value () [concrete] -// CHECK:STDOUT: %.958: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.16c, %AddAssignWith.facet [concrete] +// CHECK:STDOUT: %.389: type = fn_type_with_self_type %AddAssignWith.WithSelf.Op.type.b93, %AddAssignWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -83,7 +83,7 @@ fn TestAddAssignNonRef(a: C, b: C) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Inc: type = import_ref Core//prelude/operators/arithmetic, Inc, loaded [concrete = constants.%Inc.type] -// CHECK:STDOUT: %Core.AddAssignWith: %AddAssignWith.type.8b9 = import_ref Core//prelude/operators/arithmetic, AddAssignWith, loaded [concrete = constants.%AddAssignWith.generic] +// CHECK:STDOUT: %Core.AddAssignWith: %AddAssignWith.type.b82 = import_ref Core//prelude/operators/arithmetic, AddAssignWith, loaded [concrete = constants.%AddAssignWith.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -103,23 +103,23 @@ fn TestAddAssignNonRef(a: C, b: C) { // CHECK:STDOUT: impl_decl @C.as.AddAssignWith.impl [concrete] {} { // CHECK:STDOUT: %C.ref.loc22_6: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %AddAssignWith.ref: %AddAssignWith.type.8b9 = name_ref AddAssignWith, imports.%Core.AddAssignWith [concrete = constants.%AddAssignWith.generic] +// CHECK:STDOUT: %AddAssignWith.ref: %AddAssignWith.type.b82 = name_ref AddAssignWith, imports.%Core.AddAssignWith [concrete = constants.%AddAssignWith.generic] // CHECK:STDOUT: %C.ref.loc22_30: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %AddAssignWith.type: type = facet_type <@AddAssignWith, @AddAssignWith(constants.%C)> [concrete = constants.%AddAssignWith.type.423] +// CHECK:STDOUT: %AddAssignWith.type: type = facet_type <@AddAssignWith, @AddAssignWith(constants.%C)> [concrete = constants.%AddAssignWith.type.9ed] // CHECK:STDOUT: } // CHECK:STDOUT: %TestIncNonRef.decl: %TestIncNonRef.type = fn_decl @TestIncNonRef [concrete = constants.%TestIncNonRef] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.518 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.309 = at_binding_pattern a, %a.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %a: %C = value_binding a, %a.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestAddAssignNonRef.decl: %TestAddAssignNonRef.type = fn_decl @TestAddAssignNonRef [concrete = constants.%TestAddAssignNonRef] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.518 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.518 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.309 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.309 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref.loc37_27: type = name_ref C, file.%C.decl [concrete = constants.%C] @@ -132,8 +132,8 @@ fn TestAddAssignNonRef(a: C, b: C) { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.Inc.impl: %C.ref as %Inc.ref { // CHECK:STDOUT: %C.as.Inc.impl.Op.decl: %C.as.Inc.impl.Op.type = fn_decl @C.as.Inc.impl.Op [concrete = constants.%C.as.Inc.impl.Op] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.518 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.518 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.309 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.309 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: ref %C = ref_param call_param0 // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] @@ -151,10 +151,10 @@ fn TestAddAssignNonRef(a: C, b: C) { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.AddAssignWith.impl: %C.ref.loc22_6 as %AddAssignWith.type { // CHECK:STDOUT: %C.as.AddAssignWith.impl.Op.decl: %C.as.AddAssignWith.impl.Op.type = fn_decl @C.as.AddAssignWith.impl.Op [concrete = constants.%C.as.AddAssignWith.impl.Op] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.518 = ref_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.518 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.518 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.309 = ref_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.309 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.309 = at_binding_pattern other, %other.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: ref %C = ref_param call_param0 // CHECK:STDOUT: %C.ref.loc23_19: type = name_ref C, file.%C.decl [concrete = constants.%C] @@ -188,7 +188,7 @@ fn TestAddAssignNonRef(a: C, b: C) { // CHECK:STDOUT: fn @TestIncNonRef(%a.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a -// CHECK:STDOUT: %impl.elem0: %.84b = impl_witness_access constants.%Inc.impl_witness, element0 [concrete = constants.%C.as.Inc.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.6c9 = impl_witness_access constants.%Inc.impl_witness, element0 [concrete = constants.%C.as.Inc.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %C.as.Inc.impl.Op.call: init %empty_tuple.type = call %bound_method() // CHECK:STDOUT: return @@ -198,7 +198,7 @@ fn TestAddAssignNonRef(a: C, b: C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.958 = impl_witness_access constants.%AddAssignWith.impl_witness, element0 [concrete = constants.%C.as.AddAssignWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.389 = impl_witness_access constants.%AddAssignWith.impl_witness, element0 [concrete = constants.%C.as.AddAssignWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %C.as.AddAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(, %b.ref) // CHECK:STDOUT: return diff --git a/toolchain/check/testdata/operators/overloaded/fail_error_recovery.carbon b/toolchain/check/testdata/operators/overloaded/fail_error_recovery.carbon index b217e5e35954..d44e58f52264 100644 --- a/toolchain/check/testdata/operators/overloaded/fail_error_recovery.carbon +++ b/toolchain/check/testdata/operators/overloaded/fail_error_recovery.carbon @@ -37,13 +37,13 @@ fn G(n: i32) { // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %AddWith.type.0ce: type = generic_interface_type @AddWith [concrete] -// CHECK:STDOUT: %AddWith.generic: %AddWith.type.0ce = struct_value () [concrete] +// CHECK:STDOUT: %AddWith.type.be4: type = generic_interface_type @AddWith [concrete] +// CHECK:STDOUT: %AddWith.generic: %AddWith.type.be4 = struct_value () [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -55,7 +55,7 @@ fn G(n: i32) { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.AddWith: %AddWith.type.0ce = import_ref Core//prelude/operators/arithmetic, AddWith, loaded [concrete = constants.%AddWith.generic] +// CHECK:STDOUT: %Core.AddWith: %AddWith.type.be4 = import_ref Core//prelude/operators/arithmetic, AddWith, loaded [concrete = constants.%AddWith.generic] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -69,8 +69,8 @@ fn G(n: i32) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {} {} // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/operators/overloaded/fail_no_impl.carbon b/toolchain/check/testdata/operators/overloaded/fail_no_impl.carbon index 9c6c06221448..1691de99f215 100644 --- a/toolchain/check/testdata/operators/overloaded/fail_no_impl.carbon +++ b/toolchain/check/testdata/operators/overloaded/fail_no_impl.carbon @@ -52,26 +52,26 @@ fn TestRef(b: C) { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.518: type = pattern_type %C [concrete] -// CHECK:STDOUT: %.bd2: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.309: type = pattern_type %C [concrete] +// CHECK:STDOUT: %.ffa: Core.Form = init_form %C [concrete] // CHECK:STDOUT: %TestUnary.type: type = fn_type @TestUnary [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %TestUnary: %TestUnary.type = struct_value () [concrete] // CHECK:STDOUT: %Negate.type: type = facet_type <@Negate> [concrete] // CHECK:STDOUT: %TestBinary.type: type = fn_type @TestBinary [concrete] // CHECK:STDOUT: %TestBinary: %TestBinary.type = struct_value () [concrete] -// CHECK:STDOUT: %AddWith.type.0ce: type = generic_interface_type @AddWith [concrete] -// CHECK:STDOUT: %AddWith.generic: %AddWith.type.0ce = struct_value () [concrete] +// CHECK:STDOUT: %AddWith.type.be4: type = generic_interface_type @AddWith [concrete] +// CHECK:STDOUT: %AddWith.generic: %AddWith.type.be4 = struct_value () [concrete] // CHECK:STDOUT: %TestRef.type: type = fn_type @TestRef [concrete] // CHECK:STDOUT: %TestRef: %TestRef.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %AddAssignWith.type.8b9: type = generic_interface_type @AddAssignWith [concrete] -// CHECK:STDOUT: %AddAssignWith.generic: %AddAssignWith.type.8b9 = struct_value () [concrete] +// CHECK:STDOUT: %AddAssignWith.type.b82: type = generic_interface_type @AddAssignWith [concrete] +// CHECK:STDOUT: %AddAssignWith.generic: %AddAssignWith.type.b82 = struct_value () [concrete] // CHECK:STDOUT: %Inc.type: type = facet_type <@Inc> [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc36_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc36_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -85,8 +85,8 @@ fn TestRef(b: C) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Negate: type = import_ref Core//prelude/operators/arithmetic, Negate, loaded [concrete = constants.%Negate.type] -// CHECK:STDOUT: %Core.AddWith: %AddWith.type.0ce = import_ref Core//prelude/operators/arithmetic, AddWith, loaded [concrete = constants.%AddWith.generic] -// CHECK:STDOUT: %Core.AddAssignWith: %AddAssignWith.type.8b9 = import_ref Core//prelude/operators/arithmetic, AddAssignWith, loaded [concrete = constants.%AddAssignWith.generic] +// CHECK:STDOUT: %Core.AddWith: %AddWith.type.be4 = import_ref Core//prelude/operators/arithmetic, AddWith, loaded [concrete = constants.%AddWith.generic] +// CHECK:STDOUT: %Core.AddAssignWith: %AddAssignWith.type.b82 = import_ref Core//prelude/operators/arithmetic, AddAssignWith, loaded [concrete = constants.%AddAssignWith.generic] // CHECK:STDOUT: %Core.Inc: type = import_ref Core//prelude/operators/arithmetic, Inc, loaded [concrete = constants.%Inc.type] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } @@ -102,13 +102,13 @@ fn TestRef(b: C) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %TestUnary.decl: %TestUnary.type = fn_decl @TestUnary [concrete = constants.%TestUnary] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.518 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.518 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.518 = return_slot_pattern %return.param_patt, %C.ref.loc19_23 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.309 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.309 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.309 = return_slot_pattern %return.param_patt, %C.ref.loc19_23 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc19_23: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc19: Core.Form = init_form %C.ref.loc19_23 [concrete = constants.%.bd2] +// CHECK:STDOUT: %.loc19: Core.Form = init_form %C.ref.loc19_23 [concrete = constants.%.ffa] // CHECK:STDOUT: %a.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref.loc19_17: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %a: %C = value_binding a, %a.param @@ -116,15 +116,15 @@ fn TestRef(b: C) { // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestBinary.decl: %TestBinary.type = fn_decl @TestBinary [concrete = constants.%TestBinary] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.518 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.518 = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.518 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.518 = return_slot_pattern %return.param_patt, %C.ref.loc27_30 [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.309 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.309 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.309 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.309 = return_slot_pattern %return.param_patt, %C.ref.loc27_30 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc27_30: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc27: Core.Form = init_form %C.ref.loc27_30 [concrete = constants.%.bd2] +// CHECK:STDOUT: %.loc27: Core.Form = init_form %C.ref.loc27_30 [concrete = constants.%.ffa] // CHECK:STDOUT: %a.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref.loc27_18: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %a: %C = value_binding a, %a.param @@ -135,8 +135,8 @@ fn TestRef(b: C) { // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestRef.decl: %TestRef.type = fn_decl @TestRef [concrete = constants.%TestRef] { -// CHECK:STDOUT: %b.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.518 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.309 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %b.param: %C = value_param call_param0 // CHECK:STDOUT: %C.ref.loc35: type = name_ref C, file.%C.decl [concrete = constants.%C] @@ -168,8 +168,8 @@ fn TestRef(b: C) { // CHECK:STDOUT: fn @TestRef(%b.param: %C) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.518 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.518 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.309 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.309 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %C = var %a.var_patt // CHECK:STDOUT: %.loc36_15.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] @@ -181,7 +181,7 @@ fn TestRef(b: C) { // CHECK:STDOUT: %a.ref.loc41: ref %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b // CHECK:STDOUT: %a.ref.loc46: ref %C = name_ref a, %a -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/operators/overloaded/implicit_as.carbon b/toolchain/check/testdata/operators/overloaded/implicit_as.carbon index 1946d6e8b548..0df383c3fe03 100644 --- a/toolchain/check/testdata/operators/overloaded/implicit_as.carbon +++ b/toolchain/check/testdata/operators/overloaded/implicit_as.carbon @@ -47,39 +47,39 @@ fn Test() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %complete_type.f8a: = complete_type_witness %i32.builtin [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %X.elem: type = unbound_element_type %X, %i32 [concrete] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] -// CHECK:STDOUT: %ImplicitAs.type.e51: type = facet_type <@ImplicitAs, @ImplicitAs(%X)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.952: = impl_witness @i32.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %.8fb: Core.Form = init_form %X [concrete] -// CHECK:STDOUT: %pattern_type.a05: type = pattern_type %X [concrete] +// CHECK:STDOUT: %ImplicitAs.type.f56: type = facet_type <@ImplicitAs, @ImplicitAs(%X)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.8d5: = impl_witness @i32.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %.15f: Core.Form = init_form %X [concrete] +// CHECK:STDOUT: %pattern_type.7b3: type = pattern_type %X [concrete] // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.type: type = fn_type @i32.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert: %i32.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.b33: %ImplicitAs.type.e51 = facet_value %i32, (%ImplicitAs.impl_witness.952) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.cb0: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%X, %ImplicitAs.facet.b33) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.287: %ImplicitAs.type.f56 = facet_value %i32, (%ImplicitAs.impl_witness.8d5) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.d68: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%X, %ImplicitAs.facet.287) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.043: = impl_witness @X.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.488: = impl_witness @X.as.ImplicitAs.impl.%ImplicitAs.impl_witness_table [concrete] // CHECK:STDOUT: %X.as.ImplicitAs.impl.Convert.type: type = fn_type @X.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %X.as.ImplicitAs.impl.Convert: %X.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.f17: %ImplicitAs.type.544 = facet_value %X, (%ImplicitAs.impl_witness.043) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.caa: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.f17) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.2bd: %ImplicitAs.type.360 = facet_value %X, (%ImplicitAs.impl_witness.488) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f6e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.2bd) [concrete] // CHECK:STDOUT: %Sink_i32.type: type = fn_type @Sink_i32 [concrete] // CHECK:STDOUT: %Sink_i32: %Sink_i32.type = struct_value () [concrete] // CHECK:STDOUT: %Sink_X.type: type = fn_type @Sink_X [concrete] @@ -91,16 +91,16 @@ fn Test() { // CHECK:STDOUT: %Source.type: type = fn_type @Source [concrete] // CHECK:STDOUT: %Source: %Source.type = struct_value () [concrete] // CHECK:STDOUT: %require_complete.944: = require_complete_type %T.67d [symbolic] -// CHECK:STDOUT: %Source.specific_fn.e48: = specific_function %Source, @Source(%T.67d) [symbolic] +// CHECK:STDOUT: %Source.specific_fn.cc0: = specific_function %Source, @Source(%T.67d) [symbolic] // CHECK:STDOUT: %Test.type: type = fn_type @Test [concrete] // CHECK:STDOUT: %Test: %Test.type = struct_value () [concrete] -// CHECK:STDOUT: %Source.specific_fn.6df: = specific_function %Source, @Source(%X) [concrete] -// CHECK:STDOUT: %.91c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.caa, %ImplicitAs.facet.f17 [concrete] -// CHECK:STDOUT: %Source.specific_fn.5a8: = specific_function %Source, @Source(%i32) [concrete] -// CHECK:STDOUT: %.b0e: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.cb0, %ImplicitAs.facet.b33 [concrete] +// CHECK:STDOUT: %Source.specific_fn.b43: = specific_function %Source, @Source(%X) [concrete] +// CHECK:STDOUT: %.fbb: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f6e, %ImplicitAs.facet.2bd [concrete] +// CHECK:STDOUT: %Source.specific_fn.1aa: = specific_function %Source, @Source(%i32) [concrete] +// CHECK:STDOUT: %.4f5: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.d68, %ImplicitAs.facet.287 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc35_20.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc35_20.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -113,10 +113,10 @@ fn Test() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -134,28 +134,28 @@ fn Test() { // CHECK:STDOUT: impl_decl @i32.as.ImplicitAs.impl [concrete] {} { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%X)> [concrete = constants.%ImplicitAs.type.e51] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%X)> [concrete = constants.%ImplicitAs.type.f56] // CHECK:STDOUT: } // CHECK:STDOUT: impl_decl @X.as.ImplicitAs.impl [concrete] {} { // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%i32)> [concrete = constants.%ImplicitAs.type.544] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%i32)> [concrete = constants.%ImplicitAs.type.360] // CHECK:STDOUT: } // CHECK:STDOUT: %Sink_i32.decl: %Sink_i32.type = fn_decl @Sink_i32 [concrete = constants.%Sink_i32] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param // CHECK:STDOUT: } // CHECK:STDOUT: %Sink_X.decl: %Sink_X.type = fn_decl @Sink_X [concrete = constants.%Sink_X] { -// CHECK:STDOUT: %x.param_patt: %pattern_type.a05 = value_param_pattern [concrete] -// CHECK:STDOUT: %x.patt: %pattern_type.a05 = at_binding_pattern x, %x.param_patt [concrete] +// CHECK:STDOUT: %x.param_patt: %pattern_type.7b3 = value_param_pattern [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.7b3 = at_binding_pattern x, %x.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %x.param: %X = value_param call_param0 // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] @@ -181,13 +181,13 @@ fn Test() { // CHECK:STDOUT: // CHECK:STDOUT: impl @i32.as.ImplicitAs.impl: %i32 as %ImplicitAs.type { // CHECK:STDOUT: %i32.as.ImplicitAs.impl.Convert.decl: %i32.as.ImplicitAs.impl.Convert.type = fn_decl @i32.as.ImplicitAs.impl.Convert [concrete = constants.%i32.as.ImplicitAs.impl.Convert] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.c6b = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.a05 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.a05 = return_slot_pattern %return.param_patt, %X.ref [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.104 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7b3 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7b3 = return_slot_pattern %return.param_patt, %X.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %.loc20_30: Core.Form = init_form %X.ref [concrete = constants.%.8fb] +// CHECK:STDOUT: %.loc20_30: Core.Form = init_form %X.ref [concrete = constants.%.15f] // CHECK:STDOUT: %self.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %self: %i32 = value_binding self, %self.param @@ -195,7 +195,7 @@ fn Test() { // CHECK:STDOUT: %return: ref %X = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%i32.as.ImplicitAs.impl.Convert.decl), @i32.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.952] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.8d5] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .X = @@ -206,13 +206,13 @@ fn Test() { // CHECK:STDOUT: // CHECK:STDOUT: impl @X.as.ImplicitAs.impl: %X.ref as %ImplicitAs.type { // CHECK:STDOUT: %X.as.ImplicitAs.impl.Convert.decl: %X.as.ImplicitAs.impl.Convert.type = fn_decl @X.as.ImplicitAs.impl.Convert [concrete = constants.%X.as.ImplicitAs.impl.Convert] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.a05 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.a05 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.7b3 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.7b3 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc24_28: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc24_28: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %self.param: %X = value_param call_param0 // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] // CHECK:STDOUT: %self: %X = value_binding self, %self.param @@ -220,7 +220,7 @@ fn Test() { // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%X.as.ImplicitAs.impl.Convert.decl), @X.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.043] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.488] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .X = @@ -231,7 +231,7 @@ fn Test() { // CHECK:STDOUT: // CHECK:STDOUT: class @X { // CHECK:STDOUT: %.loc16: %X.elem = field_decl n, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.059] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.edf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -243,7 +243,7 @@ fn Test() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %self.ref: %i32 = name_ref self, %self // CHECK:STDOUT: %.loc20_51.1: %struct_type.n = struct_literal (%self.ref) -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc20_47.1: = bound_method %self.ref, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc20_47.2: = bound_method %self.ref, %specific_fn @@ -261,7 +261,7 @@ fn Test() { // CHECK:STDOUT: %n.ref: %X.elem = name_ref n, @X.%.loc16 [concrete = @X.%.loc16] // CHECK:STDOUT: %.loc24_45.1: ref %i32 = class_element_access %self.ref, element0 // CHECK:STDOUT: %.loc24_45.2: %i32 = acquire_value %.loc24_45.1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc24_45.1: = bound_method %.loc24_45.2, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc24_45.2: = bound_method %.loc24_45.2, %specific_fn @@ -280,13 +280,13 @@ fn Test() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete: = require_complete_type %T.loc31_12.1 [symbolic = %require_complete (constants.%require_complete.944)] -// CHECK:STDOUT: %Source.specific_fn.loc31_35.2: = specific_function constants.%Source, @Source(%T.loc31_12.1) [symbolic = %Source.specific_fn.loc31_35.2 (constants.%Source.specific_fn.e48)] +// CHECK:STDOUT: %Source.specific_fn.loc31_35.2: = specific_function constants.%Source, @Source(%T.loc31_12.1) [symbolic = %Source.specific_fn.loc31_35.2 (constants.%Source.specific_fn.cc0)] // CHECK:STDOUT: // CHECK:STDOUT: fn() -> out %return.param: @Source.%T.loc31_12.1 (%T.67d) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Source.ref: %Source.type = name_ref Source, file.%Source.decl [concrete = constants.%Source] // CHECK:STDOUT: %T.ref.loc31_42: type = name_ref T, %T.loc31_12.2 [symbolic = %T.loc31_12.1 (constants.%T.67d)] -// CHECK:STDOUT: %Source.specific_fn.loc31_35.1: = specific_function %Source.ref, @Source(constants.%T.67d) [symbolic = %Source.specific_fn.loc31_35.2 (constants.%Source.specific_fn.e48)] +// CHECK:STDOUT: %Source.specific_fn.loc31_35.1: = specific_function %Source.ref, @Source(constants.%T.67d) [symbolic = %Source.specific_fn.loc31_35.2 (constants.%Source.specific_fn.cc0)] // CHECK:STDOUT: %.loc31_24.1: ref @Source.%T.loc31_12.1 (%T.67d) = splice_block %return.param {} // CHECK:STDOUT: %Source.call: init @Source.%T.loc31_12.1 (%T.67d) to %.loc31_24.1 = call %Source.specific_fn.loc31_35.1() // CHECK:STDOUT: return %Source.call to %return.param @@ -298,10 +298,10 @@ fn Test() { // CHECK:STDOUT: %Sink_i32.ref: %Sink_i32.type = name_ref Sink_i32, file.%Sink_i32.decl [concrete = constants.%Sink_i32] // CHECK:STDOUT: %Source.ref.loc34: %Source.type = name_ref Source, file.%Source.decl [concrete = constants.%Source] // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %Source.specific_fn.loc34: = specific_function %Source.ref.loc34, @Source(constants.%X) [concrete = constants.%Source.specific_fn.6df] +// CHECK:STDOUT: %Source.specific_fn.loc34: = specific_function %Source.ref.loc34, @Source(constants.%X) [concrete = constants.%Source.specific_fn.b43] // CHECK:STDOUT: %.loc34_20.1: ref %X = temporary_storage // CHECK:STDOUT: %Source.call.loc34: init %X to %.loc34_20.1 = call %Source.specific_fn.loc34() -// CHECK:STDOUT: %impl.elem0.loc34: %.91c = impl_witness_access constants.%ImplicitAs.impl_witness.043, element0 [concrete = constants.%X.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc34: %.fbb = impl_witness_access constants.%ImplicitAs.impl_witness.488, element0 [concrete = constants.%X.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc34: = bound_method %Source.call.loc34, %impl.elem0.loc34 // CHECK:STDOUT: %.loc34_20.2: ref %X = temporary %.loc34_20.1, %Source.call.loc34 // CHECK:STDOUT: %.loc34_20.3: %X = acquire_value %.loc34_20.2 @@ -312,9 +312,9 @@ fn Test() { // CHECK:STDOUT: %Sink_X.ref: %Sink_X.type = name_ref Sink_X, file.%Sink_X.decl [concrete = constants.%Sink_X] // CHECK:STDOUT: %Source.ref.loc35: %Source.type = name_ref Source, file.%Source.decl [concrete = constants.%Source] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %Source.specific_fn.loc35: = specific_function %Source.ref.loc35, @Source(constants.%i32) [concrete = constants.%Source.specific_fn.5a8] +// CHECK:STDOUT: %Source.specific_fn.loc35: = specific_function %Source.ref.loc35, @Source(constants.%i32) [concrete = constants.%Source.specific_fn.1aa] // CHECK:STDOUT: %Source.call.loc35: init %i32 = call %Source.specific_fn.loc35() -// CHECK:STDOUT: %impl.elem0.loc35: %.b0e = impl_witness_access constants.%ImplicitAs.impl_witness.952, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0.loc35: %.4f5 = impl_witness_access constants.%ImplicitAs.impl_witness.8d5, element0 [concrete = constants.%i32.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method.loc35: = bound_method %Source.call.loc35, %impl.elem0.loc35 // CHECK:STDOUT: %.loc35_20.1: ref %X = temporary_storage // CHECK:STDOUT: %.loc35_20.2: %i32 = value_of_initializer %Source.call.loc35 @@ -324,9 +324,9 @@ fn Test() { // CHECK:STDOUT: %.loc35_20.5: ref %X = temporary %.loc35_20.1, %.loc35_20.4 // CHECK:STDOUT: %.loc35_20.6: %X = acquire_value %.loc35_20.5 // CHECK:STDOUT: %Sink_X.call: init %empty_tuple.type = call %Sink_X.ref(%.loc35_20.6) -// CHECK:STDOUT: %Destroy.Op.bound.loc35: = bound_method %.loc35_20.5, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc35: = bound_method %.loc35_20.5, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc35: init %empty_tuple.type = call %Destroy.Op.bound.loc35(%.loc35_20.5) -// CHECK:STDOUT: %Destroy.Op.bound.loc34: = bound_method %.loc34_20.2, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc34: = bound_method %.loc34_20.2, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc34: init %empty_tuple.type = call %Destroy.Op.bound.loc34(%.loc34_20.2) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -355,26 +355,26 @@ fn Test() { // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%require_complete.944 -// CHECK:STDOUT: %Source.specific_fn.loc31_35.2 => constants.%Source.specific_fn.e48 +// CHECK:STDOUT: %Source.specific_fn.loc31_35.2 => constants.%Source.specific_fn.cc0 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Source(constants.%X) { // CHECK:STDOUT: %T.loc31_12.1 => constants.%X -// CHECK:STDOUT: %.loc31_24.2 => constants.%.8fb -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.a05 +// CHECK:STDOUT: %.loc31_24.2 => constants.%.15f +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.7b3 // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete => constants.%complete_type.059 -// CHECK:STDOUT: %Source.specific_fn.loc31_35.2 => constants.%Source.specific_fn.6df +// CHECK:STDOUT: %require_complete => constants.%complete_type.edf +// CHECK:STDOUT: %Source.specific_fn.loc31_35.2 => constants.%Source.specific_fn.b43 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @Source(constants.%i32) { // CHECK:STDOUT: %T.loc31_12.1 => constants.%i32 -// CHECK:STDOUT: %.loc31_24.2 => constants.%.70c -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.c6b +// CHECK:STDOUT: %.loc31_24.2 => constants.%.7ea +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.104 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: %require_complete => constants.%complete_type.f8a -// CHECK:STDOUT: %Source.specific_fn.loc31_35.2 => constants.%Source.specific_fn.5a8 +// CHECK:STDOUT: %Source.specific_fn.loc31_35.2 => constants.%Source.specific_fn.1aa // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/inc.carbon b/toolchain/check/testdata/operators/overloaded/inc.carbon index a322d8d5e4e0..a4f9a3791783 100644 --- a/toolchain/check/testdata/operators/overloaded/inc.carbon +++ b/toolchain/check/testdata/operators/overloaded/inc.carbon @@ -39,15 +39,15 @@ fn TestOp() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %C.as.Inc.impl.Op: %C.as.Inc.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Inc.facet: %Inc.type = facet_value %C, (%Inc.impl_witness) [concrete] -// CHECK:STDOUT: %Inc.WithSelf.Op.type.a0d: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet) [concrete] -// CHECK:STDOUT: %.84b: type = fn_type_with_self_type %Inc.WithSelf.Op.type.a0d, %Inc.facet [concrete] +// CHECK:STDOUT: %Inc.WithSelf.Op.type.500: type = fn_type @Inc.WithSelf.Op, @Inc.WithSelf(%Inc.facet) [concrete] +// CHECK:STDOUT: %.6c9: type = fn_type_with_self_type %Inc.WithSelf.Op.type.500, %Inc.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: // CHECK:STDOUT: %c.ref: ref %C = name_ref c, %c -// CHECK:STDOUT: %impl.elem0: %.84b = impl_witness_access constants.%Inc.impl_witness, element0 [concrete = constants.%C.as.Inc.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.6c9 = impl_witness_access constants.%Inc.impl_witness, element0 [concrete = constants.%C.as.Inc.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem0 // CHECK:STDOUT: %C.as.Inc.impl.Op.call: init %empty_tuple.type = call %bound_method(%c.ref) // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/index.carbon b/toolchain/check/testdata/operators/overloaded/index.carbon index aed68a93f638..5b394ec3ea0a 100644 --- a/toolchain/check/testdata/operators/overloaded/index.carbon +++ b/toolchain/check/testdata/operators/overloaded/index.carbon @@ -119,7 +119,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.IndexWith: type = import_ref Core//core_wrong_index_with, IndexWith, loaded [concrete = constants.%IndexWith] // CHECK:STDOUT: %Core.import_ref.8f2: = import_ref Core//core_wrong_index_with, loc{{\d+_\d+}}, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Core.import_ref.176 = import_ref Core//core_wrong_index_with, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Core.import_ref.3dd = import_ref Core//core_wrong_index_with, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -135,7 +135,7 @@ fn F() { // CHECK:STDOUT: complete_type_witness = imports.%Core.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Core.import_ref.176 +// CHECK:STDOUT: .Self = imports.%Core.import_ref.3dd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() { @@ -186,12 +186,12 @@ fn F() { // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] // CHECK:STDOUT: %SubscriptType: type = symbolic_binding SubscriptType, 0 [symbolic] // CHECK:STDOUT: %ElementType: type = symbolic_binding ElementType, 1 [symbolic] -// CHECK:STDOUT: %IndexWith.type.22e: type = generic_interface_type @IndexWith [concrete] -// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.22e = struct_value () [concrete] -// CHECK:STDOUT: %IndexWith.type.ff0: type = facet_type <@IndexWith, @IndexWith(%SubscriptType, %ElementType)> [symbolic] -// CHECK:STDOUT: %Self: %IndexWith.type.ff0 = symbolic_binding Self, 2 [symbolic] +// CHECK:STDOUT: %IndexWith.type.579: type = generic_interface_type @IndexWith [concrete] +// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.579 = struct_value () [concrete] +// CHECK:STDOUT: %IndexWith.type.4f8: type = facet_type <@IndexWith, @IndexWith(%SubscriptType, %ElementType)> [symbolic] +// CHECK:STDOUT: %Self: %IndexWith.type.4f8 = symbolic_binding Self, 2 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.7a9: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.077: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %SubscriptType [symbolic] // CHECK:STDOUT: %.822: Core.Form = init_form %ElementType [symbolic] // CHECK:STDOUT: %pattern_type.946: type = pattern_type %ElementType [symbolic] @@ -205,7 +205,7 @@ fn F() { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .IndexWith = %IndexWith.decl // CHECK:STDOUT: } -// CHECK:STDOUT: %IndexWith.decl: %IndexWith.type.22e = interface_decl @IndexWith [concrete = constants.%IndexWith.generic] { +// CHECK:STDOUT: %IndexWith.decl: %IndexWith.type.579 = interface_decl @IndexWith [concrete = constants.%IndexWith.generic] { // CHECK:STDOUT: %SubscriptType.patt: %pattern_type.98f = symbolic_binding_pattern SubscriptType, 0 [concrete] // CHECK:STDOUT: %ElementType.patt: %pattern_type.98f = symbolic_binding_pattern ElementType, 1 [concrete] // CHECK:STDOUT: } { @@ -227,17 +227,17 @@ fn F() { // CHECK:STDOUT: %ElementType.loc4_54.1: type = symbolic_binding ElementType, 1 [symbolic = %ElementType.loc4_54.1 (constants.%ElementType)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(%SubscriptType.loc4_34.1, %ElementType.loc4_54.1)> [symbolic = %IndexWith.type (constants.%IndexWith.type.ff0)] -// CHECK:STDOUT: %Self.loc4_63.2: @IndexWith.%IndexWith.type (%IndexWith.type.ff0) = symbolic_binding Self, 2 [symbolic = %Self.loc4_63.2 (constants.%Self)] +// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(%SubscriptType.loc4_34.1, %ElementType.loc4_54.1)> [symbolic = %IndexWith.type (constants.%IndexWith.type.4f8)] +// CHECK:STDOUT: %Self.loc4_63.2: @IndexWith.%IndexWith.type (%IndexWith.type.4f8) = symbolic_binding Self, 2 [symbolic = %Self.loc4_63.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc4_63.1: @IndexWith.%IndexWith.type (%IndexWith.type.ff0) = symbolic_binding Self, 2 [symbolic = %Self.loc4_63.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc4_63.1: @IndexWith.%IndexWith.type (%IndexWith.type.4f8) = symbolic_binding Self, 2 [symbolic = %Self.loc4_63.2 (constants.%Self)] // CHECK:STDOUT: %IndexWith.WithSelf.decl = interface_with_self_decl @IndexWith [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %IndexWith.WithSelf.At.decl: @IndexWith.WithSelf.%IndexWith.WithSelf.At.type (%IndexWith.WithSelf.At.type) = fn_decl @IndexWith.WithSelf.At [symbolic = @IndexWith.WithSelf.%IndexWith.WithSelf.At (constants.%IndexWith.WithSelf.At)] { -// CHECK:STDOUT: %self.param_patt: @IndexWith.WithSelf.At.%pattern_type.loc5_13 (%pattern_type.7a9) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @IndexWith.WithSelf.At.%pattern_type.loc5_13 (%pattern_type.7a9) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @IndexWith.WithSelf.At.%pattern_type.loc5_13 (%pattern_type.077) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @IndexWith.WithSelf.At.%pattern_type.loc5_13 (%pattern_type.077) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %subscript.param_patt: @IndexWith.WithSelf.At.%pattern_type.loc5_30 (%pattern_type.51d) = value_param_pattern [concrete] // CHECK:STDOUT: %subscript.patt: @IndexWith.WithSelf.At.%pattern_type.loc5_30 (%pattern_type.51d) = at_binding_pattern subscript, %subscript.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @IndexWith.WithSelf.At.%pattern_type.loc5_50 (%pattern_type.946) = out_param_pattern [concrete] @@ -247,8 +247,8 @@ fn F() { // CHECK:STDOUT: %.loc5_50.2: Core.Form = init_form %ElementType.ref [symbolic = %.loc5_50.1 (constants.%.822)] // CHECK:STDOUT: %self.param: @IndexWith.WithSelf.At.%Self.as_type.loc5_15.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc5_15.1: type = splice_block %.loc5_15.3 [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %.loc5_15.2: @IndexWith.WithSelf.At.%IndexWith.type (%IndexWith.type.ff0) = specific_constant @IndexWith.%Self.loc4_63.1, @IndexWith(constants.%SubscriptType, constants.%ElementType) [symbolic = %Self (constants.%Self)] -// CHECK:STDOUT: %Self.ref: @IndexWith.WithSelf.At.%IndexWith.type (%IndexWith.type.ff0) = name_ref Self, %.loc5_15.2 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %.loc5_15.2: @IndexWith.WithSelf.At.%IndexWith.type (%IndexWith.type.4f8) = specific_constant @IndexWith.%Self.loc4_63.1, @IndexWith(constants.%SubscriptType, constants.%ElementType) [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %Self.ref: @IndexWith.WithSelf.At.%IndexWith.type (%IndexWith.type.4f8) = name_ref Self, %.loc5_15.2 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_15.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc5_15.3: type = converted %Self.ref, %Self.as_type.loc5_15.2 [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] // CHECK:STDOUT: } @@ -274,13 +274,13 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @IndexWith.WithSelf.At(@IndexWith.%SubscriptType.loc4_34.2: type, @IndexWith.%ElementType.loc4_54.2: type, @IndexWith.%Self.loc4_63.1: @IndexWith.%IndexWith.type (%IndexWith.type.ff0)) { +// CHECK:STDOUT: generic fn @IndexWith.WithSelf.At(@IndexWith.%SubscriptType.loc4_34.2: type, @IndexWith.%ElementType.loc4_54.2: type, @IndexWith.%Self.loc4_63.1: @IndexWith.%IndexWith.type (%IndexWith.type.4f8)) { // CHECK:STDOUT: %SubscriptType: type = symbolic_binding SubscriptType, 0 [symbolic = %SubscriptType (constants.%SubscriptType)] // CHECK:STDOUT: %ElementType: type = symbolic_binding ElementType, 1 [symbolic = %ElementType (constants.%ElementType)] -// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(%SubscriptType, %ElementType)> [symbolic = %IndexWith.type (constants.%IndexWith.type.ff0)] -// CHECK:STDOUT: %Self: @IndexWith.WithSelf.At.%IndexWith.type (%IndexWith.type.ff0) = symbolic_binding Self, 2 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(%SubscriptType, %ElementType)> [symbolic = %IndexWith.type (constants.%IndexWith.type.4f8)] +// CHECK:STDOUT: %Self: @IndexWith.WithSelf.At.%IndexWith.type (%IndexWith.type.4f8) = symbolic_binding Self, 2 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc5_15.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc5_15.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type.loc5_13: type = pattern_type %Self.as_type.loc5_15.1 [symbolic = %pattern_type.loc5_13 (constants.%pattern_type.7a9)] +// CHECK:STDOUT: %pattern_type.loc5_13: type = pattern_type %Self.as_type.loc5_15.1 [symbolic = %pattern_type.loc5_13 (constants.%pattern_type.077)] // CHECK:STDOUT: %pattern_type.loc5_30: type = pattern_type %SubscriptType [symbolic = %pattern_type.loc5_30 (constants.%pattern_type.51d)] // CHECK:STDOUT: %.loc5_50.1: Core.Form = init_form %ElementType [symbolic = %.loc5_50.1 (constants.%.822)] // CHECK:STDOUT: %pattern_type.loc5_50: type = pattern_type %ElementType [symbolic = %pattern_type.loc5_50 (constants.%pattern_type.946)] @@ -298,10 +298,10 @@ fn F() { // CHECK:STDOUT: specific @IndexWith.WithSelf.At(constants.%SubscriptType, constants.%ElementType, constants.%Self) { // CHECK:STDOUT: %SubscriptType => constants.%SubscriptType // CHECK:STDOUT: %ElementType => constants.%ElementType -// CHECK:STDOUT: %IndexWith.type => constants.%IndexWith.type.ff0 +// CHECK:STDOUT: %IndexWith.type => constants.%IndexWith.type.4f8 // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc5_15.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type.loc5_13 => constants.%pattern_type.7a9 +// CHECK:STDOUT: %pattern_type.loc5_13 => constants.%pattern_type.077 // CHECK:STDOUT: %pattern_type.loc5_30 => constants.%pattern_type.51d // CHECK:STDOUT: %.loc5_50.1 => constants.%.822 // CHECK:STDOUT: %pattern_type.loc5_50 => constants.%pattern_type.946 @@ -313,45 +313,45 @@ fn F() { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %IndexWith.type.3d7: type = generic_interface_type @IndexWith [concrete] +// CHECK:STDOUT: %IndexWith.type.579: type = generic_interface_type @IndexWith [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.3d7 = struct_value () [concrete] +// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.579 = struct_value () [concrete] // CHECK:STDOUT: %ElementType: type = symbolic_binding ElementType, 1 [symbolic] // CHECK:STDOUT: %SubscriptType: type = symbolic_binding SubscriptType, 0 [symbolic] -// CHECK:STDOUT: %IndexWith.type.f5b: type = facet_type <@IndexWith, @IndexWith(%SubscriptType, %ElementType)> [symbolic] -// CHECK:STDOUT: %Self.2c5: %IndexWith.type.f5b = symbolic_binding Self, 2 [symbolic] -// CHECK:STDOUT: %IndexWith.WithSelf.At.type.d75: type = fn_type @IndexWith.WithSelf.At, @IndexWith.WithSelf(%SubscriptType, %ElementType, %Self.2c5) [symbolic] -// CHECK:STDOUT: %IndexWith.WithSelf.At.311: %IndexWith.WithSelf.At.type.d75 = struct_value () [symbolic] +// CHECK:STDOUT: %IndexWith.type.4f8: type = facet_type <@IndexWith, @IndexWith(%SubscriptType, %ElementType)> [symbolic] +// CHECK:STDOUT: %Self.7d0: %IndexWith.type.4f8 = symbolic_binding Self, 2 [symbolic] +// CHECK:STDOUT: %IndexWith.WithSelf.At.type.c8c: type = fn_type @IndexWith.WithSelf.At, @IndexWith.WithSelf(%SubscriptType, %ElementType, %Self.7d0) [symbolic] +// CHECK:STDOUT: %IndexWith.WithSelf.At.dda: %IndexWith.WithSelf.At.type.c8c = struct_value () [symbolic] // CHECK:STDOUT: %pattern_type.946: type = pattern_type %ElementType [symbolic] -// CHECK:STDOUT: %Self.as_type.347: type = facet_access_type %Self.2c5 [symbolic] -// CHECK:STDOUT: %pattern_type.5b4: type = pattern_type %Self.as_type.347 [symbolic] +// CHECK:STDOUT: %Self.as_type.930: type = facet_access_type %Self.7d0 [symbolic] +// CHECK:STDOUT: %pattern_type.ca0: type = pattern_type %Self.as_type.930 [symbolic] // CHECK:STDOUT: %.822: Core.Form = init_form %ElementType [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %SubscriptType [symbolic] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %IndexWith.type.60c: type = facet_type <@IndexWith, @IndexWith(%empty_tuple.type, %empty_tuple.type)> [concrete] +// CHECK:STDOUT: %IndexWith.type.9bb: type = facet_type <@IndexWith, @IndexWith(%empty_tuple.type, %empty_tuple.type)> [concrete] // CHECK:STDOUT: %IndexWith.impl_witness: = impl_witness @C.as.IndexWith.impl.%IndexWith.impl_witness_table [concrete] -// CHECK:STDOUT: %Self.7bd: %IndexWith.type.60c = symbolic_binding Self, 2 [symbolic] -// CHECK:STDOUT: %IndexWith.WithSelf.At.type.4cf: type = fn_type @IndexWith.WithSelf.At, @IndexWith.WithSelf(%empty_tuple.type, %empty_tuple.type, %Self.2c5) [symbolic] -// CHECK:STDOUT: %IndexWith.WithSelf.At.f96: %IndexWith.WithSelf.At.type.4cf = struct_value () [symbolic] -// CHECK:STDOUT: %IndexWith.assoc_type.015: type = assoc_entity_type @IndexWith, @IndexWith(%empty_tuple.type, %empty_tuple.type) [concrete] -// CHECK:STDOUT: %assoc0.d85: %IndexWith.assoc_type.015 = assoc_entity element0, imports.%Core.import_ref.16f [concrete] -// CHECK:STDOUT: %pattern_type.ecd: type = pattern_type %C [concrete] +// CHECK:STDOUT: %Self.1fd: %IndexWith.type.9bb = symbolic_binding Self, 2 [symbolic] +// CHECK:STDOUT: %IndexWith.WithSelf.At.type.9fc: type = fn_type @IndexWith.WithSelf.At, @IndexWith.WithSelf(%empty_tuple.type, %empty_tuple.type, %Self.7d0) [symbolic] +// CHECK:STDOUT: %IndexWith.WithSelf.At.a6a: %IndexWith.WithSelf.At.type.9fc = struct_value () [symbolic] +// CHECK:STDOUT: %IndexWith.assoc_type.f75: type = assoc_entity_type @IndexWith, @IndexWith(%empty_tuple.type, %empty_tuple.type) [concrete] +// CHECK:STDOUT: %assoc0.961: %IndexWith.assoc_type.f75 = assoc_entity element0, imports.%Core.import_ref.a74 [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %.262: Core.Form = init_form %empty_tuple.type [concrete] // CHECK:STDOUT: %C.as.IndexWith.impl.At.type: type = fn_type @C.as.IndexWith.impl.At [concrete] // CHECK:STDOUT: %C.as.IndexWith.impl.At: %C.as.IndexWith.impl.At.type = struct_value () [concrete] -// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.60c = facet_value %C, (%IndexWith.impl_witness) [concrete] -// CHECK:STDOUT: %IndexWith.WithSelf.At.type.519: type = fn_type @IndexWith.WithSelf.At, @IndexWith.WithSelf(%empty_tuple.type, %empty_tuple.type, %IndexWith.facet) [concrete] -// CHECK:STDOUT: %IndexWith.WithSelf.At.c24: %IndexWith.WithSelf.At.type.519 = struct_value () [concrete] +// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.9bb = facet_value %C, (%IndexWith.impl_witness) [concrete] +// CHECK:STDOUT: %IndexWith.WithSelf.At.type.291: type = fn_type @IndexWith.WithSelf.At, @IndexWith.WithSelf(%empty_tuple.type, %empty_tuple.type, %IndexWith.facet) [concrete] +// CHECK:STDOUT: %IndexWith.WithSelf.At.6b1: %IndexWith.WithSelf.At.type.291 = struct_value () [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %.d53: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %.7a6: ref %C = temporary invalid, %C.val [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc15_15.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.d53, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc15_15.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.7a6, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -362,14 +362,14 @@ fn F() { // CHECK:STDOUT: import Core//core_wrong_arg_count // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.3d7 = import_ref Core//core_wrong_arg_count, IndexWith, loaded [concrete = constants.%IndexWith.generic] -// CHECK:STDOUT: %Core.import_ref.f5b = import_ref Core//core_wrong_arg_count, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.At: @IndexWith.WithSelf.%IndexWith.WithSelf.At.type (%IndexWith.WithSelf.At.type.d75) = import_ref Core//core_wrong_arg_count, At, loaded [symbolic = @IndexWith.WithSelf.%IndexWith.WithSelf.At (constants.%IndexWith.WithSelf.At.311)] -// CHECK:STDOUT: %Core.import_ref.16f = import_ref Core//core_wrong_arg_count, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.579 = import_ref Core//core_wrong_arg_count, IndexWith, loaded [concrete = constants.%IndexWith.generic] +// CHECK:STDOUT: %Core.import_ref.22a = import_ref Core//core_wrong_arg_count, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.At: @IndexWith.WithSelf.%IndexWith.WithSelf.At.type (%IndexWith.WithSelf.At.type.c8c) = import_ref Core//core_wrong_arg_count, At, loaded [symbolic = @IndexWith.WithSelf.%IndexWith.WithSelf.At (constants.%IndexWith.WithSelf.At.dda)] +// CHECK:STDOUT: %Core.import_ref.a74 = import_ref Core//core_wrong_arg_count, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: %Core.import_ref.b3bc94.2: type = import_ref Core//core_wrong_arg_count, loc{{\d+_\d+}}, loaded [symbolic = @IndexWith.%SubscriptType (constants.%SubscriptType)] // CHECK:STDOUT: %Core.import_ref.8e8b42.2: type = import_ref Core//core_wrong_arg_count, loc{{\d+_\d+}}, loaded [symbolic = @IndexWith.%ElementType (constants.%ElementType)] -// CHECK:STDOUT: %Core.import_ref.0b5eda.2: @IndexWith.%IndexWith.type (%IndexWith.type.f5b) = import_ref Core//core_wrong_arg_count, loc{{\d+_\d+}}, loaded [symbolic = @IndexWith.%Self (constants.%Self.2c5)] -// CHECK:STDOUT: %Core.import_ref.1cc = import_ref Core//core_wrong_arg_count, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.6de3e4.2: @IndexWith.%IndexWith.type (%IndexWith.type.4f8) = import_ref Core//core_wrong_arg_count, loc{{\d+_\d+}}, loaded [symbolic = @IndexWith.%Self (constants.%Self.7d0)] +// CHECK:STDOUT: %Core.import_ref.08e = import_ref Core//core_wrong_arg_count, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: %Core.import_ref.b3bc94.3: type = import_ref Core//core_wrong_arg_count, loc{{\d+_\d+}}, loaded [symbolic = @IndexWith.%SubscriptType (constants.%SubscriptType)] // CHECK:STDOUT: %Core.import_ref.8e8b42.3: type = import_ref Core//core_wrong_arg_count, loc{{\d+_\d+}}, loaded [symbolic = @IndexWith.%ElementType (constants.%ElementType)] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] @@ -386,12 +386,12 @@ fn F() { // CHECK:STDOUT: impl_decl @C.as.IndexWith.impl [concrete] {} { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %IndexWith.ref: %IndexWith.type.3d7 = name_ref IndexWith, imports.%Core.IndexWith [concrete = constants.%IndexWith.generic] +// CHECK:STDOUT: %IndexWith.ref: %IndexWith.type.579 = name_ref IndexWith, imports.%Core.IndexWith [concrete = constants.%IndexWith.generic] // CHECK:STDOUT: %.loc8_27: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_31: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_32.1: type = converted %.loc8_27, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %.loc8_32.2: type = converted %.loc8_31, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(constants.%empty_tuple.type, constants.%empty_tuple.type)> [concrete = constants.%IndexWith.type.60c] +// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(constants.%empty_tuple.type, constants.%empty_tuple.type)> [concrete = constants.%IndexWith.type.9bb] // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {} {} // CHECK:STDOUT: } @@ -401,13 +401,13 @@ fn F() { // CHECK:STDOUT: %ElementType: type = symbolic_binding ElementType, 1 [symbolic = %ElementType (constants.%ElementType)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(%SubscriptType, %ElementType)> [symbolic = %IndexWith.type (constants.%IndexWith.type.f5b)] -// CHECK:STDOUT: %Self: @IndexWith.%IndexWith.type (%IndexWith.type.f5b) = symbolic_binding Self, 2 [symbolic = %Self (constants.%Self.2c5)] +// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(%SubscriptType, %ElementType)> [symbolic = %IndexWith.type (constants.%IndexWith.type.4f8)] +// CHECK:STDOUT: %Self: @IndexWith.%IndexWith.type (%IndexWith.type.4f8) = symbolic_binding Self, 2 [symbolic = %Self (constants.%Self.7d0)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Core.import_ref.1cc -// CHECK:STDOUT: .At = imports.%Core.import_ref.f5b +// CHECK:STDOUT: .Self = imports.%Core.import_ref.08e +// CHECK:STDOUT: .At = imports.%Core.import_ref.22a // CHECK:STDOUT: witness = (imports.%Core.At) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -416,8 +416,8 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.IndexWith.impl: %C.ref as %IndexWith.type { // CHECK:STDOUT: %C.as.IndexWith.impl.At.decl: %C.as.IndexWith.impl.At.type = fn_decl @C.as.IndexWith.impl.At [concrete = constants.%C.as.IndexWith.impl.At] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.ecd = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.ecd = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %subscript.param_patt: %pattern_type.cb1 = value_param_pattern [concrete] // CHECK:STDOUT: %subscript.patt: %pattern_type.cb1 = at_binding_pattern subscript, %subscript.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.cb1 = out_param_pattern [concrete] @@ -455,13 +455,13 @@ fn F() { // CHECK:STDOUT: .Self = constants.%C // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @IndexWith.WithSelf.At(imports.%Core.import_ref.b3bc94.2: type, imports.%Core.import_ref.8e8b42.2: type, imports.%Core.import_ref.0b5eda.2: @IndexWith.%IndexWith.type (%IndexWith.type.f5b)) [from "core_wrong_arg_count.carbon"] { +// CHECK:STDOUT: generic fn @IndexWith.WithSelf.At(imports.%Core.import_ref.b3bc94.2: type, imports.%Core.import_ref.8e8b42.2: type, imports.%Core.import_ref.6de3e4.2: @IndexWith.%IndexWith.type (%IndexWith.type.4f8)) [from "core_wrong_arg_count.carbon"] { // CHECK:STDOUT: %SubscriptType: type = symbolic_binding SubscriptType, 0 [symbolic = %SubscriptType (constants.%SubscriptType)] // CHECK:STDOUT: %ElementType: type = symbolic_binding ElementType, 1 [symbolic = %ElementType (constants.%ElementType)] -// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(%SubscriptType, %ElementType)> [symbolic = %IndexWith.type (constants.%IndexWith.type.f5b)] -// CHECK:STDOUT: %Self: @IndexWith.WithSelf.At.%IndexWith.type (%IndexWith.type.f5b) = symbolic_binding Self, 2 [symbolic = %Self (constants.%Self.2c5)] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.347)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.5b4)] +// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(%SubscriptType, %ElementType)> [symbolic = %IndexWith.type (constants.%IndexWith.type.4f8)] +// CHECK:STDOUT: %Self: @IndexWith.WithSelf.At.%IndexWith.type (%IndexWith.type.4f8) = symbolic_binding Self, 2 [symbolic = %Self (constants.%Self.7d0)] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type.930)] +// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.ca0)] // CHECK:STDOUT: %pattern_type.2: type = pattern_type %SubscriptType [symbolic = %pattern_type.2 (constants.%pattern_type.51d)] // CHECK:STDOUT: %.1: Core.Form = init_form %ElementType [symbolic = %.1 (constants.%.822)] // CHECK:STDOUT: %pattern_type.3: type = pattern_type %ElementType [symbolic = %pattern_type.3 (constants.%pattern_type.946)] @@ -480,19 +480,19 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.ecd = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %.loc15_15.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc15_15.2: ref %C = temporary_storage // CHECK:STDOUT: %.loc15_15.3: init %C to %.loc15_15.2 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc15_15.4: init %C = converted %.loc15_15.1, %.loc15_15.3 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc15_15.5: ref %C = temporary %.loc15_15.2, %.loc15_15.4 [concrete = constants.%.d53] +// CHECK:STDOUT: %.loc15_15.5: ref %C = temporary %.loc15_15.2, %.loc15_15.4 [concrete = constants.%.7a6] // CHECK:STDOUT: %.loc15_15.6: %C = acquire_value %.loc15_15.5 [concrete = constants.%C.val] // CHECK:STDOUT: %c: %C = value_binding c, %.loc15_15.6 // CHECK:STDOUT: %c.ref: %C = name_ref c, %c // CHECK:STDOUT: %.loc23: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.d53) +// CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call constants.%Destroy.Op.bound(constants.%.7a6) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: @@ -508,15 +508,15 @@ fn F() { // CHECK:STDOUT: %ElementType => constants.%ElementType // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @IndexWith.WithSelf(constants.%SubscriptType, constants.%ElementType, constants.%Self.2c5) {} +// CHECK:STDOUT: specific @IndexWith.WithSelf(constants.%SubscriptType, constants.%ElementType, constants.%Self.7d0) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @IndexWith.WithSelf.At(constants.%SubscriptType, constants.%ElementType, constants.%Self.2c5) { +// CHECK:STDOUT: specific @IndexWith.WithSelf.At(constants.%SubscriptType, constants.%ElementType, constants.%Self.7d0) { // CHECK:STDOUT: %SubscriptType => constants.%SubscriptType // CHECK:STDOUT: %ElementType => constants.%ElementType -// CHECK:STDOUT: %IndexWith.type => constants.%IndexWith.type.f5b -// CHECK:STDOUT: %Self => constants.%Self.2c5 -// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.347 -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.5b4 +// CHECK:STDOUT: %IndexWith.type => constants.%IndexWith.type.4f8 +// CHECK:STDOUT: %Self => constants.%Self.7d0 +// CHECK:STDOUT: %Self.as_type => constants.%Self.as_type.930 +// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.ca0 // CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.51d // CHECK:STDOUT: %.1 => constants.%.822 // CHECK:STDOUT: %pattern_type.3 => constants.%pattern_type.946 @@ -527,41 +527,41 @@ fn F() { // CHECK:STDOUT: %ElementType => constants.%empty_tuple.type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %IndexWith.type => constants.%IndexWith.type.60c -// CHECK:STDOUT: %Self => constants.%Self.7bd +// CHECK:STDOUT: %IndexWith.type => constants.%IndexWith.type.9bb +// CHECK:STDOUT: %Self => constants.%Self.1fd // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @IndexWith.WithSelf(constants.%empty_tuple.type, constants.%empty_tuple.type, constants.%Self.2c5) { +// CHECK:STDOUT: specific @IndexWith.WithSelf(constants.%empty_tuple.type, constants.%empty_tuple.type, constants.%Self.7d0) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %SubscriptType => constants.%empty_tuple.type // CHECK:STDOUT: %ElementType => constants.%empty_tuple.type -// CHECK:STDOUT: %IndexWith.type => constants.%IndexWith.type.60c -// CHECK:STDOUT: %Self => constants.%Self.2c5 -// CHECK:STDOUT: %IndexWith.WithSelf.At.type => constants.%IndexWith.WithSelf.At.type.4cf -// CHECK:STDOUT: %IndexWith.WithSelf.At => constants.%IndexWith.WithSelf.At.f96 -// CHECK:STDOUT: %IndexWith.assoc_type => constants.%IndexWith.assoc_type.015 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.d85 +// CHECK:STDOUT: %IndexWith.type => constants.%IndexWith.type.9bb +// CHECK:STDOUT: %Self => constants.%Self.7d0 +// CHECK:STDOUT: %IndexWith.WithSelf.At.type => constants.%IndexWith.WithSelf.At.type.9fc +// CHECK:STDOUT: %IndexWith.WithSelf.At => constants.%IndexWith.WithSelf.At.a6a +// CHECK:STDOUT: %IndexWith.assoc_type => constants.%IndexWith.assoc_type.f75 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.961 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IndexWith.WithSelf(constants.%empty_tuple.type, constants.%empty_tuple.type, constants.%IndexWith.facet) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %SubscriptType => constants.%empty_tuple.type // CHECK:STDOUT: %ElementType => constants.%empty_tuple.type -// CHECK:STDOUT: %IndexWith.type => constants.%IndexWith.type.60c +// CHECK:STDOUT: %IndexWith.type => constants.%IndexWith.type.9bb // CHECK:STDOUT: %Self => constants.%IndexWith.facet -// CHECK:STDOUT: %IndexWith.WithSelf.At.type => constants.%IndexWith.WithSelf.At.type.519 -// CHECK:STDOUT: %IndexWith.WithSelf.At => constants.%IndexWith.WithSelf.At.c24 -// CHECK:STDOUT: %IndexWith.assoc_type => constants.%IndexWith.assoc_type.015 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.d85 +// CHECK:STDOUT: %IndexWith.WithSelf.At.type => constants.%IndexWith.WithSelf.At.type.291 +// CHECK:STDOUT: %IndexWith.WithSelf.At => constants.%IndexWith.WithSelf.At.6b1 +// CHECK:STDOUT: %IndexWith.assoc_type => constants.%IndexWith.assoc_type.f75 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.961 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @IndexWith.WithSelf.At(constants.%empty_tuple.type, constants.%empty_tuple.type, constants.%IndexWith.facet) { // CHECK:STDOUT: %SubscriptType => constants.%empty_tuple.type // CHECK:STDOUT: %ElementType => constants.%empty_tuple.type -// CHECK:STDOUT: %IndexWith.type => constants.%IndexWith.type.60c +// CHECK:STDOUT: %IndexWith.type => constants.%IndexWith.type.9bb // CHECK:STDOUT: %Self => constants.%IndexWith.facet // CHECK:STDOUT: %Self.as_type => constants.%C -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.ecd +// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.0d5 // CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.cb1 // CHECK:STDOUT: %.1 => constants.%.262 // CHECK:STDOUT: %pattern_type.3 => constants.%pattern_type.cb1 diff --git a/toolchain/check/testdata/operators/overloaded/index_with_prelude.carbon b/toolchain/check/testdata/operators/overloaded/index_with_prelude.carbon index b69e6b78d8cf..2e6a38bb407f 100644 --- a/toolchain/check/testdata/operators/overloaded/index_with_prelude.carbon +++ b/toolchain/check/testdata/operators/overloaded/index_with_prelude.carbon @@ -89,36 +89,36 @@ let x: i32 = c[0]; // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %ElementType: type = class_type @ElementType.loc5 [concrete] -// CHECK:STDOUT: %SubscriptType.ed3: type = class_type @SubscriptType [concrete] -// CHECK:STDOUT: %IndexWith.type.3d7: type = generic_interface_type @IndexWith [concrete] -// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.3d7 = struct_value () [concrete] +// CHECK:STDOUT: %SubscriptType.213: type = class_type @SubscriptType [concrete] +// CHECK:STDOUT: %IndexWith.type.579: type = generic_interface_type @IndexWith [concrete] +// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.579 = struct_value () [concrete] // CHECK:STDOUT: %SubscriptType.67d: type = symbolic_binding SubscriptType, 0 [symbolic] -// CHECK:STDOUT: %IndexWith.assoc_type.f38: type = assoc_entity_type @IndexWith, @IndexWith(%SubscriptType.67d) [symbolic] -// CHECK:STDOUT: %IndexWith.type.d1f: type = facet_type <@IndexWith, @IndexWith(%SubscriptType.ed3)> [concrete] -// CHECK:STDOUT: %.Self: %IndexWith.type.d1f = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %IndexWith.assoc_type.4e5: type = assoc_entity_type @IndexWith, @IndexWith(%SubscriptType.ed3) [concrete] -// CHECK:STDOUT: %assoc0.bf1: %IndexWith.assoc_type.4e5 = assoc_entity element0, imports.%Core.import_ref.30a [concrete] +// CHECK:STDOUT: %IndexWith.assoc_type.99c: type = assoc_entity_type @IndexWith, @IndexWith(%SubscriptType.67d) [symbolic] +// CHECK:STDOUT: %IndexWith.type.9cf: type = facet_type <@IndexWith, @IndexWith(%SubscriptType.213)> [concrete] +// CHECK:STDOUT: %.Self: %IndexWith.type.9cf = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %IndexWith.assoc_type.10a: type = assoc_entity_type @IndexWith, @IndexWith(%SubscriptType.213) [concrete] +// CHECK:STDOUT: %assoc0.d98: %IndexWith.assoc_type.10a = assoc_entity element0, imports.%Core.import_ref.4df [concrete] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] -// CHECK:STDOUT: %assoc0.4f3: %IndexWith.assoc_type.f38 = assoc_entity element0, imports.%Core.import_ref.5d7 [symbolic] -// CHECK:STDOUT: %IndexWith.lookup_impl_witness.a08: = lookup_impl_witness %.Self, @IndexWith, @IndexWith(%SubscriptType.ed3) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.7bb: type = impl_witness_access %IndexWith.lookup_impl_witness.a08, element0 [symbolic_self] -// CHECK:STDOUT: %IndexWith_where.type: type = facet_type <@IndexWith, @IndexWith(%SubscriptType.ed3) where %impl.elem0.7bb = %ElementType> [concrete] +// CHECK:STDOUT: %assoc0.ec2: %IndexWith.assoc_type.99c = assoc_entity element0, imports.%Core.import_ref.d98 [symbolic] +// CHECK:STDOUT: %IndexWith.lookup_impl_witness.c79: = lookup_impl_witness %.Self, @IndexWith, @IndexWith(%SubscriptType.213) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.822: type = impl_witness_access %IndexWith.lookup_impl_witness.c79, element0 [symbolic_self] +// CHECK:STDOUT: %IndexWith_where.type: type = facet_type <@IndexWith, @IndexWith(%SubscriptType.213) where %impl.elem0.822 = %ElementType> [concrete] // CHECK:STDOUT: %IndexWith.impl_witness: = impl_witness @C.as.IndexWith.impl.%IndexWith.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.e1e: type = pattern_type %C [concrete] -// CHECK:STDOUT: %pattern_type.065: type = pattern_type %SubscriptType.ed3 [concrete] -// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.d1f = facet_value %C, (%IndexWith.impl_witness) [concrete] -// CHECK:STDOUT: %IndexWith.WithSelf.At.type.d2b: type = fn_type @IndexWith.WithSelf.At, @IndexWith.WithSelf(%SubscriptType.ed3, %IndexWith.facet) [concrete] -// CHECK:STDOUT: %.bae: Core.Form = init_form %ElementType [concrete] -// CHECK:STDOUT: %pattern_type.e46: type = pattern_type %ElementType [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.9fa: type = pattern_type %SubscriptType.213 [concrete] +// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.9cf = facet_value %C, (%IndexWith.impl_witness) [concrete] +// CHECK:STDOUT: %IndexWith.WithSelf.At.type.208: type = fn_type @IndexWith.WithSelf.At, @IndexWith.WithSelf(%SubscriptType.213, %IndexWith.facet) [concrete] +// CHECK:STDOUT: %.c55: Core.Form = init_form %ElementType [concrete] +// CHECK:STDOUT: %pattern_type.59d: type = pattern_type %ElementType [concrete] // CHECK:STDOUT: %C.as.IndexWith.impl.At.type: type = fn_type @C.as.IndexWith.impl.At [concrete] // CHECK:STDOUT: %C.as.IndexWith.impl.At: %C.as.IndexWith.impl.At.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %ElementType.val: %ElementType = struct_value () [concrete] -// CHECK:STDOUT: %SubscriptType.val: %SubscriptType.ed3 = struct_value () [concrete] -// CHECK:STDOUT: %.f4a: ref %SubscriptType.ed3 = temporary invalid, %SubscriptType.val [concrete] +// CHECK:STDOUT: %SubscriptType.val: %SubscriptType.213 = struct_value () [concrete] +// CHECK:STDOUT: %.fa7: ref %SubscriptType.213 = temporary invalid, %SubscriptType.val [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %.a19: ref %C = temporary invalid, %C.val [concrete] -// CHECK:STDOUT: %.0ea: type = fn_type_with_self_type %IndexWith.WithSelf.At.type.d2b, %IndexWith.facet [concrete] +// CHECK:STDOUT: %.7a6: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %.e1b: type = fn_type_with_self_type %IndexWith.WithSelf.At.type.208, %IndexWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -127,10 +127,10 @@ let x: i32 = c[0]; // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.3d7 = import_ref Core//prelude/operators/index, IndexWith, loaded [concrete = constants.%IndexWith.generic] -// CHECK:STDOUT: %Core.import_ref.10e: @IndexWith.WithSelf.%IndexWith.assoc_type (%IndexWith.assoc_type.f38) = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, loaded [symbolic = @IndexWith.WithSelf.%assoc0 (constants.%assoc0.4f3)] -// CHECK:STDOUT: %Core.import_ref.30a: type = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, loaded [concrete = %ElementType] -// CHECK:STDOUT: %Core.import_ref.5d7 = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.579 = import_ref Core//prelude/operators/index, IndexWith, loaded [concrete = constants.%IndexWith.generic] +// CHECK:STDOUT: %Core.import_ref.182: @IndexWith.WithSelf.%IndexWith.assoc_type (%IndexWith.assoc_type.99c) = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, loaded [symbolic = @IndexWith.WithSelf.%assoc0 (constants.%assoc0.ec2)] +// CHECK:STDOUT: %Core.import_ref.4df: type = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, loaded [concrete = %ElementType] +// CHECK:STDOUT: %Core.import_ref.d98 = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: %ElementType: type = assoc_const_decl @ElementType.1 [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -147,20 +147,20 @@ let x: i32 = c[0]; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %ElementType.decl: type = class_decl @ElementType.loc5 [concrete = constants.%ElementType] {} {} -// CHECK:STDOUT: %SubscriptType.decl: type = class_decl @SubscriptType [concrete = constants.%SubscriptType.ed3] {} {} +// CHECK:STDOUT: %SubscriptType.decl: type = class_decl @SubscriptType [concrete = constants.%SubscriptType.213] {} {} // CHECK:STDOUT: impl_decl @C.as.IndexWith.impl [concrete] {} { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %IndexWith.ref: %IndexWith.type.3d7 = name_ref IndexWith, imports.%Core.IndexWith [concrete = constants.%IndexWith.generic] -// CHECK:STDOUT: %SubscriptType.ref: type = name_ref SubscriptType, file.%SubscriptType.decl [concrete = constants.%SubscriptType.ed3] -// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(constants.%SubscriptType.ed3)> [concrete = constants.%IndexWith.type.d1f] -// CHECK:STDOUT: %.Self: %IndexWith.type.d1f = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %.Self.ref: %IndexWith.type.d1f = name_ref .Self, %.Self [symbolic_self = constants.%.Self] +// CHECK:STDOUT: %IndexWith.ref: %IndexWith.type.579 = name_ref IndexWith, imports.%Core.IndexWith [concrete = constants.%IndexWith.generic] +// CHECK:STDOUT: %SubscriptType.ref: type = name_ref SubscriptType, file.%SubscriptType.decl [concrete = constants.%SubscriptType.213] +// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(constants.%SubscriptType.213)> [concrete = constants.%IndexWith.type.9cf] +// CHECK:STDOUT: %.Self: %IndexWith.type.9cf = symbolic_binding .Self [symbolic_self = constants.%.Self] +// CHECK:STDOUT: %.Self.ref: %IndexWith.type.9cf = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc8_47.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %.loc8_47.2: %IndexWith.assoc_type.4e5 = specific_constant imports.%Core.import_ref.10e, @IndexWith.WithSelf(constants.%SubscriptType.ed3, constants.%.Self) [concrete = constants.%assoc0.bf1] -// CHECK:STDOUT: %ElementType.ref.loc8_47: %IndexWith.assoc_type.4e5 = name_ref ElementType, %.loc8_47.2 [concrete = constants.%assoc0.bf1] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%IndexWith.lookup_impl_witness.a08, element0 [symbolic_self = constants.%impl.elem0.7bb] +// CHECK:STDOUT: %.loc8_47.2: %IndexWith.assoc_type.10a = specific_constant imports.%Core.import_ref.182, @IndexWith.WithSelf(constants.%SubscriptType.213, constants.%.Self) [concrete = constants.%assoc0.d98] +// CHECK:STDOUT: %ElementType.ref.loc8_47: %IndexWith.assoc_type.10a = name_ref ElementType, %.loc8_47.2 [concrete = constants.%assoc0.d98] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%IndexWith.lookup_impl_witness.c79, element0 [symbolic_self = constants.%impl.elem0.822] // CHECK:STDOUT: %ElementType.ref.loc8_62: type = name_ref ElementType, file.%ElementType.decl [concrete = constants.%ElementType] // CHECK:STDOUT: %.loc8_41: type = where_expr [concrete = constants.%IndexWith_where.type] { // CHECK:STDOUT: requirement_base_facet_type %IndexWith.type @@ -168,27 +168,27 @@ let x: i32 = c[0]; // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %s.patt: %pattern_type.065 = value_binding_pattern s [concrete] +// CHECK:STDOUT: %s.patt: %pattern_type.9fa = value_binding_pattern s [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %SubscriptType.ref: type = name_ref SubscriptType, %SubscriptType.decl [concrete = constants.%SubscriptType.ed3] -// CHECK:STDOUT: %.loc14_25.1: ref %SubscriptType.ed3 = temporary_storage -// CHECK:STDOUT: %.loc14_25.2: init %SubscriptType.ed3 to %.loc14_25.1 = class_init () [concrete = constants.%SubscriptType.val] -// CHECK:STDOUT: %.loc14_25.3: init %SubscriptType.ed3 = converted @__global_init.%.loc14, %.loc14_25.2 [concrete = constants.%SubscriptType.val] -// CHECK:STDOUT: %.loc14_25.4: ref %SubscriptType.ed3 = temporary %.loc14_25.1, %.loc14_25.3 [concrete = constants.%.f4a] -// CHECK:STDOUT: %.loc14_25.5: %SubscriptType.ed3 = acquire_value %.loc14_25.4 [concrete = constants.%SubscriptType.val] -// CHECK:STDOUT: %s: %SubscriptType.ed3 = value_binding s, %.loc14_25.5 +// CHECK:STDOUT: %SubscriptType.ref: type = name_ref SubscriptType, %SubscriptType.decl [concrete = constants.%SubscriptType.213] +// CHECK:STDOUT: %.loc14_25.1: ref %SubscriptType.213 = temporary_storage +// CHECK:STDOUT: %.loc14_25.2: init %SubscriptType.213 to %.loc14_25.1 = class_init () [concrete = constants.%SubscriptType.val] +// CHECK:STDOUT: %.loc14_25.3: init %SubscriptType.213 = converted @__global_init.%.loc14, %.loc14_25.2 [concrete = constants.%SubscriptType.val] +// CHECK:STDOUT: %.loc14_25.4: ref %SubscriptType.213 = temporary %.loc14_25.1, %.loc14_25.3 [concrete = constants.%.fa7] +// CHECK:STDOUT: %.loc14_25.5: %SubscriptType.213 = acquire_value %.loc14_25.4 [concrete = constants.%SubscriptType.val] +// CHECK:STDOUT: %s: %SubscriptType.213 = value_binding s, %.loc14_25.5 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.e1e = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc15_13.1: ref %C = temporary_storage // CHECK:STDOUT: %.loc15_13.2: init %C to %.loc15_13.1 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc15_13.3: init %C = converted @__global_init.%.loc15, %.loc15_13.2 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc15_13.4: ref %C = temporary %.loc15_13.1, %.loc15_13.3 [concrete = constants.%.a19] +// CHECK:STDOUT: %.loc15_13.4: ref %C = temporary %.loc15_13.1, %.loc15_13.3 [concrete = constants.%.7a6] // CHECK:STDOUT: %.loc15_13.5: %C = acquire_value %.loc15_13.4 [concrete = constants.%C.val] // CHECK:STDOUT: %c: %C = value_binding c, %.loc15_13.5 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.e46 = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.59d = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %ElementType.ref: type = name_ref ElementType, %ElementType.decl [concrete = constants.%ElementType] // CHECK:STDOUT: %.loc16_25.1: ref %ElementType = temporary @__global_init.%.loc16, @__global_init.%C.as.IndexWith.impl.At.call @@ -198,24 +198,24 @@ let x: i32 = c[0]; // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.IndexWith.impl: %C.ref as %.loc8_41 { // CHECK:STDOUT: %C.as.IndexWith.impl.At.decl: %C.as.IndexWith.impl.At.type = fn_decl @C.as.IndexWith.impl.At [concrete = constants.%C.as.IndexWith.impl.At] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.e1e = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.e1e = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %subscript.param_patt: %pattern_type.065 = value_param_pattern [concrete] -// CHECK:STDOUT: %subscript.patt: %pattern_type.065 = at_binding_pattern subscript, %subscript.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.e46 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.e46 = return_slot_pattern %return.param_patt, %ElementType.ref [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %subscript.param_patt: %pattern_type.9fa = value_param_pattern [concrete] +// CHECK:STDOUT: %subscript.patt: %pattern_type.9fa = at_binding_pattern subscript, %subscript.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.59d = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.59d = return_slot_pattern %return.param_patt, %ElementType.ref [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.d1f = facet_value @C.as.IndexWith.impl.%C.ref, (constants.%IndexWith.impl_witness) [concrete = constants.%IndexWith.facet] -// CHECK:STDOUT: %.loc9_64.1: %IndexWith.type.d1f = converted @C.as.IndexWith.impl.%C.ref, %IndexWith.facet [concrete = constants.%IndexWith.facet] +// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.9cf = facet_value @C.as.IndexWith.impl.%C.ref, (constants.%IndexWith.impl_witness) [concrete = constants.%IndexWith.facet] +// CHECK:STDOUT: %.loc9_64.1: %IndexWith.type.9cf = converted @C.as.IndexWith.impl.%C.ref, %IndexWith.facet [concrete = constants.%IndexWith.facet] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%IndexWith.impl_witness, element0 [concrete = constants.%ElementType] // CHECK:STDOUT: %ElementType.ref: type = name_ref ElementType, %impl.elem0 [concrete = constants.%ElementType] -// CHECK:STDOUT: %.loc9_64.2: Core.Form = init_form %ElementType.ref [concrete = constants.%.bae] +// CHECK:STDOUT: %.loc9_64.2: Core.Form = init_form %ElementType.ref [concrete = constants.%.c55] // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.IndexWith.impl.%C.ref [concrete = constants.%C] // CHECK:STDOUT: %self: %C = value_binding self, %self.param -// CHECK:STDOUT: %subscript.param: %SubscriptType.ed3 = value_param call_param1 -// CHECK:STDOUT: %SubscriptType.ref: type = name_ref SubscriptType, file.%SubscriptType.decl [concrete = constants.%SubscriptType.ed3] -// CHECK:STDOUT: %subscript: %SubscriptType.ed3 = value_binding subscript, %subscript.param +// CHECK:STDOUT: %subscript.param: %SubscriptType.213 = value_param call_param1 +// CHECK:STDOUT: %SubscriptType.ref: type = name_ref SubscriptType, file.%SubscriptType.decl [concrete = constants.%SubscriptType.213] +// CHECK:STDOUT: %subscript: %SubscriptType.213 = value_binding subscript, %subscript.param // CHECK:STDOUT: %return.param: ref %ElementType = out_param call_param2 // CHECK:STDOUT: %return: ref %ElementType = return_slot %return.param // CHECK:STDOUT: } @@ -252,10 +252,10 @@ let x: i32 = c[0]; // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%SubscriptType.ed3 +// CHECK:STDOUT: .Self = constants.%SubscriptType.213 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.IndexWith.impl.At(%self.param: %C, %subscript.param: %SubscriptType.ed3) -> out %return.param: %ElementType { +// CHECK:STDOUT: fn @C.as.IndexWith.impl.At(%self.param: %C, %subscript.param: %SubscriptType.213) -> out %return.param: %ElementType { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc10_13.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc10_13.2: init %ElementType to %return.param = class_init () [concrete = constants.%ElementType.val] @@ -268,8 +268,8 @@ let x: i32 = c[0]; // CHECK:STDOUT: %.loc14: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc15: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %c.ref: %C = name_ref c, file.%c -// CHECK:STDOUT: %s.ref: %SubscriptType.ed3 = name_ref s, file.%s -// CHECK:STDOUT: %impl.elem1: %.0ea = impl_witness_access constants.%IndexWith.impl_witness, element1 [concrete = constants.%C.as.IndexWith.impl.At] +// CHECK:STDOUT: %s.ref: %SubscriptType.213 = name_ref s, file.%s +// CHECK:STDOUT: %impl.elem1: %.e1b = impl_witness_access constants.%IndexWith.impl_witness, element1 [concrete = constants.%C.as.IndexWith.impl.At] // CHECK:STDOUT: %bound_method: = bound_method %c.ref, %impl.elem1 // CHECK:STDOUT: %.loc16: ref %ElementType = temporary_storage // CHECK:STDOUT: %C.as.IndexWith.impl.At.call: init %ElementType to %.loc16 = call %bound_method(%c.ref, %s.ref) @@ -284,36 +284,36 @@ let x: i32 = c[0]; // CHECK:STDOUT: %empty_tuple.af4: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_tuple.type [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.777: %tuple.type.24b = tuple_value (%C, %C) [concrete] -// CHECK:STDOUT: %tuple.type.de8: type = tuple_type (%C, %C) [concrete] -// CHECK:STDOUT: %IndexWith.type.3d7: type = generic_interface_type @IndexWith [concrete] -// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.3d7 = struct_value () [concrete] +// CHECK:STDOUT: %tuple.201: %tuple.type.24b = tuple_value (%C, %C) [concrete] +// CHECK:STDOUT: %tuple.type.33d: type = tuple_type (%C, %C) [concrete] +// CHECK:STDOUT: %IndexWith.type.579: type = generic_interface_type @IndexWith [concrete] +// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.579 = struct_value () [concrete] // CHECK:STDOUT: %SubscriptType: type = symbolic_binding SubscriptType, 0 [symbolic] -// CHECK:STDOUT: %IndexWith.assoc_type.f38: type = assoc_entity_type @IndexWith, @IndexWith(%SubscriptType) [symbolic] +// CHECK:STDOUT: %IndexWith.assoc_type.99c: type = assoc_entity_type @IndexWith, @IndexWith(%SubscriptType) [symbolic] // CHECK:STDOUT: %IntLiteral.type: type = fn_type @IntLiteral [concrete] // CHECK:STDOUT: %IntLiteral: %IntLiteral.type = struct_value () [concrete] -// CHECK:STDOUT: %IndexWith.type.339: type = facet_type <@IndexWith, @IndexWith(Core.IntLiteral)> [concrete] -// CHECK:STDOUT: %.Self: %IndexWith.type.339 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %IndexWith.assoc_type.0cc: type = assoc_entity_type @IndexWith, @IndexWith(Core.IntLiteral) [concrete] -// CHECK:STDOUT: %assoc0.6b1: %IndexWith.assoc_type.0cc = assoc_entity element0, imports.%Core.import_ref.30a [concrete] +// CHECK:STDOUT: %IndexWith.type.af8: type = facet_type <@IndexWith, @IndexWith(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %.Self: %IndexWith.type.af8 = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %IndexWith.assoc_type.176: type = assoc_entity_type @IndexWith, @IndexWith(Core.IntLiteral) [concrete] +// CHECK:STDOUT: %assoc0.f05: %IndexWith.assoc_type.176 = assoc_entity element0, imports.%Core.import_ref.4df [concrete] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] -// CHECK:STDOUT: %assoc0.4f3: %IndexWith.assoc_type.f38 = assoc_entity element0, imports.%Core.import_ref.5d7 [symbolic] -// CHECK:STDOUT: %IndexWith.lookup_impl_witness.72c: = lookup_impl_witness %.Self, @IndexWith, @IndexWith(Core.IntLiteral) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.8ee: type = impl_witness_access %IndexWith.lookup_impl_witness.72c, element0 [symbolic_self] -// CHECK:STDOUT: %IndexWith_where.type: type = facet_type <@IndexWith, @IndexWith(Core.IntLiteral) where %impl.elem0.8ee = %C> [concrete] +// CHECK:STDOUT: %assoc0.ec2: %IndexWith.assoc_type.99c = assoc_entity element0, imports.%Core.import_ref.d98 [symbolic] +// CHECK:STDOUT: %IndexWith.lookup_impl_witness.136: = lookup_impl_witness %.Self, @IndexWith, @IndexWith(Core.IntLiteral) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.368: type = impl_witness_access %IndexWith.lookup_impl_witness.136, element0 [symbolic_self] +// CHECK:STDOUT: %IndexWith_where.type: type = facet_type <@IndexWith, @IndexWith(Core.IntLiteral) where %impl.elem0.368 = %C> [concrete] // CHECK:STDOUT: %IndexWith.impl_witness: = impl_witness @tuple.type.as.IndexWith.impl.%IndexWith.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.443: type = pattern_type %tuple.type.de8 [concrete] +// CHECK:STDOUT: %pattern_type.410: type = pattern_type %tuple.type.33d [concrete] // CHECK:STDOUT: %pattern_type.dc0: type = pattern_type Core.IntLiteral [concrete] -// CHECK:STDOUT: %.81a: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.152: type = pattern_type %C [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %tuple.type.as.IndexWith.impl.At.type: type = fn_type @tuple.type.as.IndexWith.impl.At [concrete] // CHECK:STDOUT: %tuple.type.as.IndexWith.impl.At: %tuple.type.as.IndexWith.impl.At.type = struct_value () [concrete] -// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.339 = facet_value %tuple.type.de8, (%IndexWith.impl_witness) [concrete] -// CHECK:STDOUT: %IndexWith.WithSelf.At.type.c07: type = fn_type @IndexWith.WithSelf.At, @IndexWith.WithSelf(Core.IntLiteral, %IndexWith.facet) [concrete] +// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.af8 = facet_value %tuple.type.33d, (%IndexWith.impl_witness) [concrete] +// CHECK:STDOUT: %IndexWith.WithSelf.At.type.1b9: type = fn_type @IndexWith.WithSelf.At, @IndexWith.WithSelf(Core.IntLiteral, %IndexWith.facet) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %empty_tuple.dfe: %C = tuple_value () [concrete] -// CHECK:STDOUT: %tuple.2fe: %tuple.type.de8 = tuple_value (%empty_tuple.dfe, %empty_tuple.dfe) [concrete] -// CHECK:STDOUT: %.306: type = fn_type_with_self_type %IndexWith.WithSelf.At.type.c07, %IndexWith.facet [concrete] +// CHECK:STDOUT: %empty_tuple.a46: %C = tuple_value () [concrete] +// CHECK:STDOUT: %tuple.afb: %tuple.type.33d = tuple_value (%empty_tuple.a46, %empty_tuple.a46) [concrete] +// CHECK:STDOUT: %.011: type = fn_type_with_self_type %IndexWith.WithSelf.At.type.1b9, %IndexWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -323,11 +323,11 @@ let x: i32 = c[0]; // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.3d7 = import_ref Core//prelude/operators/index, IndexWith, loaded [concrete = constants.%IndexWith.generic] -// CHECK:STDOUT: %Core.import_ref.10e: @IndexWith.WithSelf.%IndexWith.assoc_type (%IndexWith.assoc_type.f38) = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, loaded [symbolic = @IndexWith.WithSelf.%assoc0 (constants.%assoc0.4f3)] -// CHECK:STDOUT: %Core.import_ref.30a: type = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, loaded [concrete = %ElementType] +// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.579 = import_ref Core//prelude/operators/index, IndexWith, loaded [concrete = constants.%IndexWith.generic] +// CHECK:STDOUT: %Core.import_ref.182: @IndexWith.WithSelf.%IndexWith.assoc_type (%IndexWith.assoc_type.99c) = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, loaded [symbolic = @IndexWith.WithSelf.%assoc0 (constants.%assoc0.ec2)] +// CHECK:STDOUT: %Core.import_ref.4df: type = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, loaded [concrete = %ElementType] // CHECK:STDOUT: %Core.IntLiteral: %IntLiteral.type = import_ref Core//prelude/types/int_literal, IntLiteral, loaded [concrete = constants.%IntLiteral] -// CHECK:STDOUT: %Core.import_ref.5d7 = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.d98 = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: %ElementType: type = assoc_const_decl @ElementType [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -343,23 +343,23 @@ let x: i32 = c[0]; // CHECK:STDOUT: impl_decl @tuple.type.as.IndexWith.impl [concrete] {} { // CHECK:STDOUT: %C.ref.loc8_7: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %C.ref.loc8_10: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc8_11.1: %tuple.type.24b = tuple_literal (%C.ref.loc8_7, %C.ref.loc8_10) [concrete = constants.%tuple.777] -// CHECK:STDOUT: %.loc8_11.2: type = converted %.loc8_11.1, constants.%tuple.type.de8 [concrete = constants.%tuple.type.de8] +// CHECK:STDOUT: %.loc8_11.1: %tuple.type.24b = tuple_literal (%C.ref.loc8_7, %C.ref.loc8_10) [concrete = constants.%tuple.201] +// CHECK:STDOUT: %.loc8_11.2: type = converted %.loc8_11.1, constants.%tuple.type.33d [concrete = constants.%tuple.type.33d] // CHECK:STDOUT: %Core.ref.loc8_16: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %IndexWith.ref: %IndexWith.type.3d7 = name_ref IndexWith, imports.%Core.IndexWith [concrete = constants.%IndexWith.generic] +// CHECK:STDOUT: %IndexWith.ref: %IndexWith.type.579 = name_ref IndexWith, imports.%Core.IndexWith [concrete = constants.%IndexWith.generic] // CHECK:STDOUT: %Core.ref.loc8_31: = name_ref Core, imports.%Core [concrete = imports.%Core] // CHECK:STDOUT: %IntLiteral.ref: %IntLiteral.type = name_ref IntLiteral, imports.%Core.IntLiteral [concrete = constants.%IntLiteral] // CHECK:STDOUT: %IntLiteral.call: init type = call %IntLiteral.ref() [concrete = Core.IntLiteral] // CHECK:STDOUT: %.loc8_48.1: type = value_of_initializer %IntLiteral.call [concrete = Core.IntLiteral] // CHECK:STDOUT: %.loc8_48.2: type = converted %IntLiteral.call, %.loc8_48.1 [concrete = Core.IntLiteral] -// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(Core.IntLiteral)> [concrete = constants.%IndexWith.type.339] -// CHECK:STDOUT: %.Self: %IndexWith.type.339 = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %.Self.ref: %IndexWith.type.339 = name_ref .Self, %.Self [symbolic_self = constants.%.Self] +// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(Core.IntLiteral)> [concrete = constants.%IndexWith.type.af8] +// CHECK:STDOUT: %.Self: %IndexWith.type.af8 = symbolic_binding .Self [symbolic_self = constants.%.Self] +// CHECK:STDOUT: %.Self.ref: %IndexWith.type.af8 = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc8_56.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %.loc8_56.2: %IndexWith.assoc_type.0cc = specific_constant imports.%Core.import_ref.10e, @IndexWith.WithSelf(Core.IntLiteral, constants.%.Self) [concrete = constants.%assoc0.6b1] -// CHECK:STDOUT: %ElementType.ref: %IndexWith.assoc_type.0cc = name_ref ElementType, %.loc8_56.2 [concrete = constants.%assoc0.6b1] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%IndexWith.lookup_impl_witness.72c, element0 [symbolic_self = constants.%impl.elem0.8ee] +// CHECK:STDOUT: %.loc8_56.2: %IndexWith.assoc_type.176 = specific_constant imports.%Core.import_ref.182, @IndexWith.WithSelf(Core.IntLiteral, constants.%.Self) [concrete = constants.%assoc0.f05] +// CHECK:STDOUT: %ElementType.ref: %IndexWith.assoc_type.176 = name_ref ElementType, %.loc8_56.2 [concrete = constants.%assoc0.f05] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%IndexWith.lookup_impl_witness.136, element0 [symbolic_self = constants.%impl.elem0.368] // CHECK:STDOUT: %C.ref.loc8_71: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc8_50: type = where_expr [concrete = constants.%IndexWith_where.type] { // CHECK:STDOUT: requirement_base_facet_type %IndexWith.type @@ -367,44 +367,44 @@ let x: i32 = c[0]; // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %s.patt: %pattern_type.443 = value_binding_pattern s [concrete] +// CHECK:STDOUT: %s.patt: %pattern_type.410 = value_binding_pattern s [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc14_13.1: type = splice_block %.loc14_13.3 [concrete = constants.%tuple.type.de8] { +// CHECK:STDOUT: %.loc14_13.1: type = splice_block %.loc14_13.3 [concrete = constants.%tuple.type.33d] { // CHECK:STDOUT: %C.ref.loc14_9: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %C.ref.loc14_12: type = name_ref C, %C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc14_13.2: %tuple.type.24b = tuple_literal (%C.ref.loc14_9, %C.ref.loc14_12) [concrete = constants.%tuple.777] -// CHECK:STDOUT: %.loc14_13.3: type = converted %.loc14_13.2, constants.%tuple.type.de8 [concrete = constants.%tuple.type.de8] +// CHECK:STDOUT: %.loc14_13.2: %tuple.type.24b = tuple_literal (%C.ref.loc14_9, %C.ref.loc14_12) [concrete = constants.%tuple.201] +// CHECK:STDOUT: %.loc14_13.3: type = converted %.loc14_13.2, constants.%tuple.type.33d [concrete = constants.%tuple.type.33d] // CHECK:STDOUT: } -// CHECK:STDOUT: %tuple.loc14: %tuple.type.de8 = tuple_value (@__global_init.%.loc14_21.2, @__global_init.%.loc14_30.2) [concrete = constants.%tuple.2fe] -// CHECK:STDOUT: %.loc14_34: %tuple.type.de8 = converted @__global_init.%.loc14_34, %tuple.loc14 [concrete = constants.%tuple.2fe] -// CHECK:STDOUT: %s: %tuple.type.de8 = value_binding s, %.loc14_34 +// CHECK:STDOUT: %tuple.loc14: %tuple.type.33d = tuple_value (@__global_init.%.loc14_21.2, @__global_init.%.loc14_30.2) [concrete = constants.%tuple.afb] +// CHECK:STDOUT: %.loc14_34: %tuple.type.33d = converted @__global_init.%.loc14_34, %tuple.loc14 [concrete = constants.%tuple.afb] +// CHECK:STDOUT: %s: %tuple.type.33d = value_binding s, %.loc14_34 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %e.patt: %pattern_type.152 = value_binding_pattern e [concrete] +// CHECK:STDOUT: %e.patt: %pattern_type.0d5 = value_binding_pattern e [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.ref.loc15: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc15_15.1: init %empty_tuple.type = as_compatible @__global_init.%tuple.type.as.IndexWith.impl.At.call // CHECK:STDOUT: %.loc15_15.2: ref %empty_tuple.type = temporary_storage // CHECK:STDOUT: %.loc15_15.3: ref %empty_tuple.type = temporary %.loc15_15.2, %.loc15_15.1 // CHECK:STDOUT: %tuple.loc15: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple.af4] -// CHECK:STDOUT: %.loc15_15.4: %C = as_compatible %tuple.loc15 [concrete = constants.%empty_tuple.dfe] -// CHECK:STDOUT: %.loc15_15.5: %C = converted @__global_init.%tuple.type.as.IndexWith.impl.At.call, %.loc15_15.4 [concrete = constants.%empty_tuple.dfe] +// CHECK:STDOUT: %.loc15_15.4: %C = as_compatible %tuple.loc15 [concrete = constants.%empty_tuple.a46] +// CHECK:STDOUT: %.loc15_15.5: %C = converted @__global_init.%tuple.type.as.IndexWith.impl.At.call, %.loc15_15.4 [concrete = constants.%empty_tuple.a46] // CHECK:STDOUT: %e: %C = value_binding e, %.loc15_15.5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: impl @tuple.type.as.IndexWith.impl: %.loc8_11.2 as %.loc8_50 { // CHECK:STDOUT: %tuple.type.as.IndexWith.impl.At.decl: %tuple.type.as.IndexWith.impl.At.type = fn_decl @tuple.type.as.IndexWith.impl.At [concrete = constants.%tuple.type.as.IndexWith.impl.At] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.443 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.443 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.410 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.410 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %subscript.param_patt: %pattern_type.dc0 = value_param_pattern [concrete] // CHECK:STDOUT: %subscript.patt: %pattern_type.dc0 = at_binding_pattern subscript, %subscript.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.152 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.152 = return_slot_pattern %return.param_patt, %C.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc9_61: Core.Form = init_form %C.ref [concrete = constants.%.81a] -// CHECK:STDOUT: %self.param: %tuple.type.de8 = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @tuple.type.as.IndexWith.impl.%.loc8_11.2 [concrete = constants.%tuple.type.de8] -// CHECK:STDOUT: %self: %tuple.type.de8 = value_binding self, %self.param +// CHECK:STDOUT: %.loc9_61: Core.Form = init_form %C.ref [concrete = constants.%.8f0] +// CHECK:STDOUT: %self.param: %tuple.type.33d = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @tuple.type.as.IndexWith.impl.%.loc8_11.2 [concrete = constants.%tuple.type.33d] +// CHECK:STDOUT: %self: %tuple.type.33d = value_binding self, %self.param // CHECK:STDOUT: %subscript.param: Core.IntLiteral = value_param call_param1 // CHECK:STDOUT: %.loc9_55.1: type = splice_block %.loc9_55.3 [concrete = Core.IntLiteral] { // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] @@ -439,15 +439,15 @@ let x: i32 = c[0]; // CHECK:STDOUT: .Self = constants.%C // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @tuple.type.as.IndexWith.impl.At(%self.param: %tuple.type.de8, %subscript.param: Core.IntLiteral) -> out %return.param: %C { +// CHECK:STDOUT: fn @tuple.type.as.IndexWith.impl.At(%self.param: %tuple.type.33d, %subscript.param: Core.IntLiteral) -> out %return.param: %C { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %self.ref: %tuple.type.de8 = name_ref self, %self +// CHECK:STDOUT: %self.ref: %tuple.type.33d = name_ref self, %self // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %tuple.elem0: %C = tuple_access %self.ref, element0 // CHECK:STDOUT: %.loc10_18.1: %empty_tuple.type = as_compatible %tuple.elem0 // CHECK:STDOUT: %.loc10_18.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple.af4] -// CHECK:STDOUT: %.loc10_18.3: init %C = as_compatible %.loc10_18.2 [concrete = constants.%empty_tuple.dfe] -// CHECK:STDOUT: %.loc10_18.4: init %C = converted %tuple.elem0, %.loc10_18.3 [concrete = constants.%empty_tuple.dfe] +// CHECK:STDOUT: %.loc10_18.3: init %C = as_compatible %.loc10_18.2 [concrete = constants.%empty_tuple.a46] +// CHECK:STDOUT: %.loc10_18.4: init %C = converted %tuple.elem0, %.loc10_18.3 [concrete = constants.%empty_tuple.a46] // CHECK:STDOUT: return %.loc10_18.4 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -456,17 +456,17 @@ let x: i32 = c[0]; // CHECK:STDOUT: %.loc14_19: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple.af4] // CHECK:STDOUT: %C.ref.loc14_24: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %empty_tuple.loc14_19: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple.af4] -// CHECK:STDOUT: %.loc14_21.1: %C = as_compatible %empty_tuple.loc14_19 [concrete = constants.%empty_tuple.dfe] -// CHECK:STDOUT: %.loc14_21.2: %C = converted %.loc14_19, %.loc14_21.1 [concrete = constants.%empty_tuple.dfe] +// CHECK:STDOUT: %.loc14_21.1: %C = as_compatible %empty_tuple.loc14_19 [concrete = constants.%empty_tuple.a46] +// CHECK:STDOUT: %.loc14_21.2: %C = converted %.loc14_19, %.loc14_21.1 [concrete = constants.%empty_tuple.a46] // CHECK:STDOUT: %.loc14_28: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple.af4] // CHECK:STDOUT: %C.ref.loc14_33: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %empty_tuple.loc14_28: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple.af4] -// CHECK:STDOUT: %.loc14_30.1: %C = as_compatible %empty_tuple.loc14_28 [concrete = constants.%empty_tuple.dfe] -// CHECK:STDOUT: %.loc14_30.2: %C = converted %.loc14_28, %.loc14_30.1 [concrete = constants.%empty_tuple.dfe] -// CHECK:STDOUT: %.loc14_34: %tuple.type.de8 = tuple_literal (%.loc14_21.2, %.loc14_30.2) [concrete = constants.%tuple.2fe] -// CHECK:STDOUT: %s.ref: %tuple.type.de8 = name_ref s, file.%s +// CHECK:STDOUT: %.loc14_30.1: %C = as_compatible %empty_tuple.loc14_28 [concrete = constants.%empty_tuple.a46] +// CHECK:STDOUT: %.loc14_30.2: %C = converted %.loc14_28, %.loc14_30.1 [concrete = constants.%empty_tuple.a46] +// CHECK:STDOUT: %.loc14_34: %tuple.type.33d = tuple_literal (%.loc14_21.2, %.loc14_30.2) [concrete = constants.%tuple.afb] +// CHECK:STDOUT: %s.ref: %tuple.type.33d = name_ref s, file.%s // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %impl.elem1: %.306 = impl_witness_access constants.%IndexWith.impl_witness, element1 [concrete = constants.%tuple.type.as.IndexWith.impl.At] +// CHECK:STDOUT: %impl.elem1: %.011 = impl_witness_access constants.%IndexWith.impl_witness, element1 [concrete = constants.%tuple.type.as.IndexWith.impl.At] // CHECK:STDOUT: %bound_method: = bound_method %s.ref, %impl.elem1 // CHECK:STDOUT: %tuple.type.as.IndexWith.impl.At.call: init %C = call %bound_method(%s.ref, %int_0) // CHECK:STDOUT: return @@ -479,32 +479,32 @@ let x: i32 = c[0]; // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %ElementType: type = class_type @ElementType.loc5 [concrete] -// CHECK:STDOUT: %SubscriptType.a8b: type = class_type @SubscriptType [concrete] -// CHECK:STDOUT: %IndexWith.type.3d7: type = generic_interface_type @IndexWith [concrete] -// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.3d7 = struct_value () [concrete] +// CHECK:STDOUT: %SubscriptType.213: type = class_type @SubscriptType [concrete] +// CHECK:STDOUT: %IndexWith.type.579: type = generic_interface_type @IndexWith [concrete] +// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.579 = struct_value () [concrete] // CHECK:STDOUT: %SubscriptType.67d: type = symbolic_binding SubscriptType, 0 [symbolic] -// CHECK:STDOUT: %IndexWith.assoc_type.f38: type = assoc_entity_type @IndexWith, @IndexWith(%SubscriptType.67d) [symbolic] -// CHECK:STDOUT: %IndexWith.type.080: type = facet_type <@IndexWith, @IndexWith(%SubscriptType.a8b)> [concrete] -// CHECK:STDOUT: %.Self: %IndexWith.type.080 = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %IndexWith.assoc_type.b0a: type = assoc_entity_type @IndexWith, @IndexWith(%SubscriptType.a8b) [concrete] -// CHECK:STDOUT: %assoc0.0e6: %IndexWith.assoc_type.b0a = assoc_entity element0, imports.%Core.import_ref.30a [concrete] +// CHECK:STDOUT: %IndexWith.assoc_type.99c: type = assoc_entity_type @IndexWith, @IndexWith(%SubscriptType.67d) [symbolic] +// CHECK:STDOUT: %IndexWith.type.9cf: type = facet_type <@IndexWith, @IndexWith(%SubscriptType.213)> [concrete] +// CHECK:STDOUT: %.Self: %IndexWith.type.9cf = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %IndexWith.assoc_type.10a: type = assoc_entity_type @IndexWith, @IndexWith(%SubscriptType.213) [concrete] +// CHECK:STDOUT: %assoc0.d98: %IndexWith.assoc_type.10a = assoc_entity element0, imports.%Core.import_ref.4df [concrete] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self [symbolic_self] -// CHECK:STDOUT: %assoc0.4f3: %IndexWith.assoc_type.f38 = assoc_entity element0, imports.%Core.import_ref.5d7 [symbolic] -// CHECK:STDOUT: %IndexWith.lookup_impl_witness.92e: = lookup_impl_witness %.Self, @IndexWith, @IndexWith(%SubscriptType.a8b) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.ac3: type = impl_witness_access %IndexWith.lookup_impl_witness.92e, element0 [symbolic_self] -// CHECK:STDOUT: %IndexWith_where.type: type = facet_type <@IndexWith, @IndexWith(%SubscriptType.a8b) where %impl.elem0.ac3 = %ElementType> [concrete] +// CHECK:STDOUT: %assoc0.ec2: %IndexWith.assoc_type.99c = assoc_entity element0, imports.%Core.import_ref.d98 [symbolic] +// CHECK:STDOUT: %IndexWith.lookup_impl_witness.c79: = lookup_impl_witness %.Self, @IndexWith, @IndexWith(%SubscriptType.213) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.822: type = impl_witness_access %IndexWith.lookup_impl_witness.c79, element0 [symbolic_self] +// CHECK:STDOUT: %IndexWith_where.type: type = facet_type <@IndexWith, @IndexWith(%SubscriptType.213) where %impl.elem0.822 = %ElementType> [concrete] // CHECK:STDOUT: %IndexWith.impl_witness: = impl_witness @C.as.IndexWith.impl.%IndexWith.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.9bd: type = pattern_type %C [concrete] -// CHECK:STDOUT: %pattern_type.872: type = pattern_type %SubscriptType.a8b [concrete] -// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.080 = facet_value %C, (%IndexWith.impl_witness) [concrete] -// CHECK:STDOUT: %.6dc: Core.Form = init_form %ElementType [concrete] -// CHECK:STDOUT: %pattern_type.c75: type = pattern_type %ElementType [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.9fa: type = pattern_type %SubscriptType.213 [concrete] +// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.9cf = facet_value %C, (%IndexWith.impl_witness) [concrete] +// CHECK:STDOUT: %.c55: Core.Form = init_form %ElementType [concrete] +// CHECK:STDOUT: %pattern_type.59d: type = pattern_type %ElementType [concrete] // CHECK:STDOUT: %C.as.IndexWith.impl.At.type: type = fn_type @C.as.IndexWith.impl.At [concrete] // CHECK:STDOUT: %C.as.IndexWith.impl.At: %C.as.IndexWith.impl.At.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %ElementType.val: %ElementType = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %.604: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %.7a6: ref %C = temporary invalid, %C.val [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -514,10 +514,10 @@ let x: i32 = c[0]; // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.3d7 = import_ref Core//prelude/operators/index, IndexWith, loaded [concrete = constants.%IndexWith.generic] -// CHECK:STDOUT: %Core.import_ref.10e: @IndexWith.WithSelf.%IndexWith.assoc_type (%IndexWith.assoc_type.f38) = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, loaded [symbolic = @IndexWith.WithSelf.%assoc0 (constants.%assoc0.4f3)] -// CHECK:STDOUT: %Core.import_ref.30a: type = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, loaded [concrete = %ElementType] -// CHECK:STDOUT: %Core.import_ref.5d7 = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.579 = import_ref Core//prelude/operators/index, IndexWith, loaded [concrete = constants.%IndexWith.generic] +// CHECK:STDOUT: %Core.import_ref.182: @IndexWith.WithSelf.%IndexWith.assoc_type (%IndexWith.assoc_type.99c) = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, loaded [symbolic = @IndexWith.WithSelf.%assoc0 (constants.%assoc0.ec2)] +// CHECK:STDOUT: %Core.import_ref.4df: type = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, loaded [concrete = %ElementType] +// CHECK:STDOUT: %Core.import_ref.d98 = import_ref Core//prelude/operators/index, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: %ElementType: type = assoc_const_decl @ElementType.1 [concrete] {} // CHECK:STDOUT: } // CHECK:STDOUT: @@ -533,20 +533,20 @@ let x: i32 = c[0]; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %ElementType.decl: type = class_decl @ElementType.loc5 [concrete = constants.%ElementType] {} {} -// CHECK:STDOUT: %SubscriptType.decl: type = class_decl @SubscriptType [concrete = constants.%SubscriptType.a8b] {} {} +// CHECK:STDOUT: %SubscriptType.decl: type = class_decl @SubscriptType [concrete = constants.%SubscriptType.213] {} {} // CHECK:STDOUT: impl_decl @C.as.IndexWith.impl [concrete] {} { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %IndexWith.ref: %IndexWith.type.3d7 = name_ref IndexWith, imports.%Core.IndexWith [concrete = constants.%IndexWith.generic] -// CHECK:STDOUT: %SubscriptType.ref: type = name_ref SubscriptType, file.%SubscriptType.decl [concrete = constants.%SubscriptType.a8b] -// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(constants.%SubscriptType.a8b)> [concrete = constants.%IndexWith.type.080] -// CHECK:STDOUT: %.Self: %IndexWith.type.080 = symbolic_binding .Self [symbolic_self = constants.%.Self] -// CHECK:STDOUT: %.Self.ref: %IndexWith.type.080 = name_ref .Self, %.Self [symbolic_self = constants.%.Self] +// CHECK:STDOUT: %IndexWith.ref: %IndexWith.type.579 = name_ref IndexWith, imports.%Core.IndexWith [concrete = constants.%IndexWith.generic] +// CHECK:STDOUT: %SubscriptType.ref: type = name_ref SubscriptType, file.%SubscriptType.decl [concrete = constants.%SubscriptType.213] +// CHECK:STDOUT: %IndexWith.type: type = facet_type <@IndexWith, @IndexWith(constants.%SubscriptType.213)> [concrete = constants.%IndexWith.type.9cf] +// CHECK:STDOUT: %.Self: %IndexWith.type.9cf = symbolic_binding .Self [symbolic_self = constants.%.Self] +// CHECK:STDOUT: %.Self.ref: %IndexWith.type.9cf = name_ref .Self, %.Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc8_47.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] -// CHECK:STDOUT: %.loc8_47.2: %IndexWith.assoc_type.b0a = specific_constant imports.%Core.import_ref.10e, @IndexWith.WithSelf(constants.%SubscriptType.a8b, constants.%.Self) [concrete = constants.%assoc0.0e6] -// CHECK:STDOUT: %ElementType.ref.loc8_47: %IndexWith.assoc_type.b0a = name_ref ElementType, %.loc8_47.2 [concrete = constants.%assoc0.0e6] -// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%IndexWith.lookup_impl_witness.92e, element0 [symbolic_self = constants.%impl.elem0.ac3] +// CHECK:STDOUT: %.loc8_47.2: %IndexWith.assoc_type.10a = specific_constant imports.%Core.import_ref.182, @IndexWith.WithSelf(constants.%SubscriptType.213, constants.%.Self) [concrete = constants.%assoc0.d98] +// CHECK:STDOUT: %ElementType.ref.loc8_47: %IndexWith.assoc_type.10a = name_ref ElementType, %.loc8_47.2 [concrete = constants.%assoc0.d98] +// CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%IndexWith.lookup_impl_witness.c79, element0 [symbolic_self = constants.%impl.elem0.822] // CHECK:STDOUT: %ElementType.ref.loc8_62: type = name_ref ElementType, file.%ElementType.decl [concrete = constants.%ElementType] // CHECK:STDOUT: %.loc8_41: type = where_expr [concrete = constants.%IndexWith_where.type] { // CHECK:STDOUT: requirement_base_facet_type %IndexWith.type @@ -554,17 +554,17 @@ let x: i32 = c[0]; // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.9bd = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc14_13.1: ref %C = temporary_storage // CHECK:STDOUT: %.loc14_13.2: init %C to %.loc14_13.1 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc14_13.3: init %C = converted @__global_init.%.loc14, %.loc14_13.2 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc14_13.4: ref %C = temporary %.loc14_13.1, %.loc14_13.3 [concrete = constants.%.604] +// CHECK:STDOUT: %.loc14_13.4: ref %C = temporary %.loc14_13.1, %.loc14_13.3 [concrete = constants.%.7a6] // CHECK:STDOUT: %.loc14_13.5: %C = acquire_value %.loc14_13.4 [concrete = constants.%C.val] // CHECK:STDOUT: %c: %C = value_binding c, %.loc14_13.5 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c75 = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.59d = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %ElementType.ref: type = name_ref ElementType, %ElementType.decl [concrete = constants.%ElementType] // CHECK:STDOUT: %x: %ElementType = value_binding x, [concrete = ] @@ -572,24 +572,24 @@ let x: i32 = c[0]; // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.IndexWith.impl: %C.ref as %.loc8_41 { // CHECK:STDOUT: %C.as.IndexWith.impl.At.decl: %C.as.IndexWith.impl.At.type = fn_decl @C.as.IndexWith.impl.At [concrete = constants.%C.as.IndexWith.impl.At] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.9bd = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.9bd = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %subscript.param_patt: %pattern_type.872 = value_param_pattern [concrete] -// CHECK:STDOUT: %subscript.patt: %pattern_type.872 = at_binding_pattern subscript, %subscript.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c75 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c75 = return_slot_pattern %return.param_patt, %ElementType.ref [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %subscript.param_patt: %pattern_type.9fa = value_param_pattern [concrete] +// CHECK:STDOUT: %subscript.patt: %pattern_type.9fa = at_binding_pattern subscript, %subscript.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.59d = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.59d = return_slot_pattern %return.param_patt, %ElementType.ref [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.080 = facet_value @C.as.IndexWith.impl.%C.ref, (constants.%IndexWith.impl_witness) [concrete = constants.%IndexWith.facet] -// CHECK:STDOUT: %.loc9_64.1: %IndexWith.type.080 = converted @C.as.IndexWith.impl.%C.ref, %IndexWith.facet [concrete = constants.%IndexWith.facet] +// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.9cf = facet_value @C.as.IndexWith.impl.%C.ref, (constants.%IndexWith.impl_witness) [concrete = constants.%IndexWith.facet] +// CHECK:STDOUT: %.loc9_64.1: %IndexWith.type.9cf = converted @C.as.IndexWith.impl.%C.ref, %IndexWith.facet [concrete = constants.%IndexWith.facet] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%IndexWith.impl_witness, element0 [concrete = constants.%ElementType] // CHECK:STDOUT: %ElementType.ref: type = name_ref ElementType, %impl.elem0 [concrete = constants.%ElementType] -// CHECK:STDOUT: %.loc9_64.2: Core.Form = init_form %ElementType.ref [concrete = constants.%.6dc] +// CHECK:STDOUT: %.loc9_64.2: Core.Form = init_form %ElementType.ref [concrete = constants.%.c55] // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.IndexWith.impl.%C.ref [concrete = constants.%C] // CHECK:STDOUT: %self: %C = value_binding self, %self.param -// CHECK:STDOUT: %subscript.param: %SubscriptType.a8b = value_param call_param1 -// CHECK:STDOUT: %SubscriptType.ref: type = name_ref SubscriptType, file.%SubscriptType.decl [concrete = constants.%SubscriptType.a8b] -// CHECK:STDOUT: %subscript: %SubscriptType.a8b = value_binding subscript, %subscript.param +// CHECK:STDOUT: %subscript.param: %SubscriptType.213 = value_param call_param1 +// CHECK:STDOUT: %SubscriptType.ref: type = name_ref SubscriptType, file.%SubscriptType.decl [concrete = constants.%SubscriptType.213] +// CHECK:STDOUT: %subscript: %SubscriptType.213 = value_binding subscript, %subscript.param // CHECK:STDOUT: %return.param: ref %ElementType = out_param call_param2 // CHECK:STDOUT: %return: ref %ElementType = return_slot %return.param // CHECK:STDOUT: } @@ -626,10 +626,10 @@ let x: i32 = c[0]; // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%SubscriptType.a8b +// CHECK:STDOUT: .Self = constants.%SubscriptType.213 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.IndexWith.impl.At(%self.param: %C, %subscript.param: %SubscriptType.a8b) -> out %return.param: %ElementType { +// CHECK:STDOUT: fn @C.as.IndexWith.impl.At(%self.param: %C, %subscript.param: %SubscriptType.213) -> out %return.param: %ElementType { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc10_13.1: %empty_struct_type = struct_literal () [concrete = constants.%empty_struct] // CHECK:STDOUT: %.loc10_13.2: init %ElementType to %return.param = class_init () [concrete = constants.%ElementType.val] @@ -651,18 +651,18 @@ let x: i32 = c[0]; // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.548: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C.val: %C = struct_value () [concrete] -// CHECK:STDOUT: %.a77: ref %C = temporary invalid, %C.val [concrete] +// CHECK:STDOUT: %.7a6: ref %C = temporary invalid, %C.val [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %IndexWith.type.3d7: type = generic_interface_type @IndexWith [concrete] -// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.3d7 = struct_value () [concrete] +// CHECK:STDOUT: %IndexWith.type.579: type = generic_interface_type @IndexWith [concrete] +// CHECK:STDOUT: %IndexWith.generic: %IndexWith.type.579 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -673,7 +673,7 @@ let x: i32 = c[0]; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/types/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.3d7 = import_ref Core//prelude/operators/index, IndexWith, loaded [concrete = constants.%IndexWith.generic] +// CHECK:STDOUT: %Core.IndexWith: %IndexWith.type.579 = import_ref Core//prelude/operators/index, IndexWith, loaded [concrete = constants.%IndexWith.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -686,17 +686,17 @@ let x: i32 = c[0]; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.548 = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = value_binding_pattern c [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: %.loc6_13.1: ref %C = temporary_storage // CHECK:STDOUT: %.loc6_13.2: init %C to %.loc6_13.1 = class_init () [concrete = constants.%C.val] // CHECK:STDOUT: %.loc6_13.3: init %C = converted @__global_init.%.loc6, %.loc6_13.2 [concrete = constants.%C.val] -// CHECK:STDOUT: %.loc6_13.4: ref %C = temporary %.loc6_13.1, %.loc6_13.3 [concrete = constants.%.a77] +// CHECK:STDOUT: %.loc6_13.4: ref %C = temporary %.loc6_13.1, %.loc6_13.3 [concrete = constants.%.7a6] // CHECK:STDOUT: %.loc6_13.5: %C = acquire_value %.loc6_13.4 [concrete = constants.%C.val] // CHECK:STDOUT: %c: %C = value_binding c, %.loc6_13.5 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %x: %i32 = value_binding x, [concrete = ] diff --git a/toolchain/check/testdata/operators/overloaded/left_shift.carbon b/toolchain/check/testdata/operators/overloaded/left_shift.carbon index 89f6152de593..9cfd23ab4d65 100644 --- a/toolchain/check/testdata/operators/overloaded/left_shift.carbon +++ b/toolchain/check/testdata/operators/overloaded/left_shift.carbon @@ -44,40 +44,40 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %LeftShiftWith.type.e3d: type = facet_type <@LeftShiftWith, @LeftShiftWith(%C)> [concrete] +// CHECK:STDOUT: %LeftShiftWith.type.7bf: type = facet_type <@LeftShiftWith, @LeftShiftWith(%C)> [concrete] // CHECK:STDOUT: %LeftShiftWith.impl_witness: = impl_witness @C.as.LeftShiftWith.impl.%LeftShiftWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.LeftShiftWith.impl.Op.type: type = fn_type @C.as.LeftShiftWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.LeftShiftWith.impl.Op: %C.as.LeftShiftWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %LeftShiftWith.facet: %LeftShiftWith.type.e3d = facet_value %C, (%LeftShiftWith.impl_witness) [concrete] -// CHECK:STDOUT: %LeftShiftWith.WithSelf.Op.type.61c: type = fn_type @LeftShiftWith.WithSelf.Op, @LeftShiftWith.WithSelf(%C, %LeftShiftWith.facet) [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.type.1b0: type = facet_type <@LeftShiftAssignWith, @LeftShiftAssignWith(%C)> [concrete] +// CHECK:STDOUT: %LeftShiftWith.facet: %LeftShiftWith.type.7bf = facet_value %C, (%LeftShiftWith.impl_witness) [concrete] +// CHECK:STDOUT: %LeftShiftWith.WithSelf.Op.type.034: type = fn_type @LeftShiftWith.WithSelf.Op, @LeftShiftWith.WithSelf(%C, %LeftShiftWith.facet) [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.type.21e: type = facet_type <@LeftShiftAssignWith, @LeftShiftAssignWith(%C)> [concrete] // CHECK:STDOUT: %LeftShiftAssignWith.impl_witness: = impl_witness @C.as.LeftShiftAssignWith.impl.%LeftShiftAssignWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.LeftShiftAssignWith.impl.Op.type: type = fn_type @C.as.LeftShiftAssignWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.LeftShiftAssignWith.impl.Op: %C.as.LeftShiftAssignWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.facet: %LeftShiftAssignWith.type.1b0 = facet_value %C, (%LeftShiftAssignWith.impl_witness) [concrete] -// CHECK:STDOUT: %LeftShiftAssignWith.WithSelf.Op.type.1b2: type = fn_type @LeftShiftAssignWith.WithSelf.Op, @LeftShiftAssignWith.WithSelf(%C, %LeftShiftAssignWith.facet) [concrete] -// CHECK:STDOUT: %.33c: type = fn_type_with_self_type %LeftShiftWith.WithSelf.Op.type.61c, %LeftShiftWith.facet [concrete] -// CHECK:STDOUT: %ptr.ec1: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.998: type = fn_type_with_self_type %LeftShiftAssignWith.WithSelf.Op.type.1b2, %LeftShiftAssignWith.facet [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.facet: %LeftShiftAssignWith.type.21e = facet_value %C, (%LeftShiftAssignWith.impl_witness) [concrete] +// CHECK:STDOUT: %LeftShiftAssignWith.WithSelf.Op.type.3b8: type = fn_type @LeftShiftAssignWith.WithSelf.Op, @LeftShiftAssignWith.WithSelf(%C, %LeftShiftAssignWith.facet) [concrete] +// CHECK:STDOUT: %.dd4: type = fn_type_with_self_type %LeftShiftWith.WithSelf.Op.type.034, %LeftShiftWith.facet [concrete] +// CHECK:STDOUT: %ptr.9a8: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.5ea: type = fn_type_with_self_type %LeftShiftAssignWith.WithSelf.Op.type.3b8, %LeftShiftAssignWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp(%a.param: %C, %b.param: %C) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem1: %.33c = impl_witness_access constants.%LeftShiftWith.impl_witness, element1 [concrete = constants.%C.as.LeftShiftWith.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.dd4 = impl_witness_access constants.%LeftShiftWith.impl_witness, element1 [concrete = constants.%C.as.LeftShiftWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: // CHECK:STDOUT: %C.as.LeftShiftWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.LeftShiftWith.impl.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.ec1, %b.param: %C) { +// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.9a8, %b.param: %C) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %ptr.ec1 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %ptr.9a8 = name_ref a, %a // CHECK:STDOUT: %.loc38: ref %C = deref %a.ref // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.998 = impl_witness_access constants.%LeftShiftAssignWith.impl_witness, element0 [concrete = constants.%C.as.LeftShiftAssignWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.5ea = impl_witness_access constants.%LeftShiftAssignWith.impl_witness, element0 [concrete = constants.%C.as.LeftShiftAssignWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.LeftShiftAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/mod.carbon b/toolchain/check/testdata/operators/overloaded/mod.carbon index a2a3d267c19d..96ceb0062ec2 100644 --- a/toolchain/check/testdata/operators/overloaded/mod.carbon +++ b/toolchain/check/testdata/operators/overloaded/mod.carbon @@ -44,40 +44,40 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %ModWith.type.9f5: type = facet_type <@ModWith, @ModWith(%C)> [concrete] +// CHECK:STDOUT: %ModWith.type.fee: type = facet_type <@ModWith, @ModWith(%C)> [concrete] // CHECK:STDOUT: %ModWith.impl_witness: = impl_witness @C.as.ModWith.impl.%ModWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.ModWith.impl.Op.type: type = fn_type @C.as.ModWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.ModWith.impl.Op: %C.as.ModWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %ModWith.facet: %ModWith.type.9f5 = facet_value %C, (%ModWith.impl_witness) [concrete] -// CHECK:STDOUT: %ModWith.WithSelf.Op.type.8ce: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%C, %ModWith.facet) [concrete] -// CHECK:STDOUT: %ModAssignWith.type.47b: type = facet_type <@ModAssignWith, @ModAssignWith(%C)> [concrete] +// CHECK:STDOUT: %ModWith.facet: %ModWith.type.fee = facet_value %C, (%ModWith.impl_witness) [concrete] +// CHECK:STDOUT: %ModWith.WithSelf.Op.type.db6: type = fn_type @ModWith.WithSelf.Op, @ModWith.WithSelf(%C, %ModWith.facet) [concrete] +// CHECK:STDOUT: %ModAssignWith.type.e0e: type = facet_type <@ModAssignWith, @ModAssignWith(%C)> [concrete] // CHECK:STDOUT: %ModAssignWith.impl_witness: = impl_witness @C.as.ModAssignWith.impl.%ModAssignWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.ModAssignWith.impl.Op.type: type = fn_type @C.as.ModAssignWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.ModAssignWith.impl.Op: %C.as.ModAssignWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %ModAssignWith.facet: %ModAssignWith.type.47b = facet_value %C, (%ModAssignWith.impl_witness) [concrete] -// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.bba: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%C, %ModAssignWith.facet) [concrete] -// CHECK:STDOUT: %.5b1: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.8ce, %ModWith.facet [concrete] -// CHECK:STDOUT: %ptr.ec1: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.043: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.bba, %ModAssignWith.facet [concrete] +// CHECK:STDOUT: %ModAssignWith.facet: %ModAssignWith.type.e0e = facet_value %C, (%ModAssignWith.impl_witness) [concrete] +// CHECK:STDOUT: %ModAssignWith.WithSelf.Op.type.623: type = fn_type @ModAssignWith.WithSelf.Op, @ModAssignWith.WithSelf(%C, %ModAssignWith.facet) [concrete] +// CHECK:STDOUT: %.bb5: type = fn_type_with_self_type %ModWith.WithSelf.Op.type.db6, %ModWith.facet [concrete] +// CHECK:STDOUT: %ptr.9a8: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.d44: type = fn_type_with_self_type %ModAssignWith.WithSelf.Op.type.623, %ModAssignWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp(%a.param: %C, %b.param: %C) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem1: %.5b1 = impl_witness_access constants.%ModWith.impl_witness, element1 [concrete = constants.%C.as.ModWith.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.bb5 = impl_witness_access constants.%ModWith.impl_witness, element1 [concrete = constants.%C.as.ModWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: // CHECK:STDOUT: %C.as.ModWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.ModWith.impl.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.ec1, %b.param: %C) { +// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.9a8, %b.param: %C) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %ptr.ec1 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %ptr.9a8 = name_ref a, %a // CHECK:STDOUT: %.loc38: ref %C = deref %a.ref // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.043 = impl_witness_access constants.%ModAssignWith.impl_witness, element0 [concrete = constants.%C.as.ModAssignWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.d44 = impl_witness_access constants.%ModAssignWith.impl_witness, element0 [concrete = constants.%C.as.ModAssignWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.ModAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/mul.carbon b/toolchain/check/testdata/operators/overloaded/mul.carbon index d0f6d7e1fc65..2c15b4778cc7 100644 --- a/toolchain/check/testdata/operators/overloaded/mul.carbon +++ b/toolchain/check/testdata/operators/overloaded/mul.carbon @@ -44,40 +44,40 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %MulWith.type.d08: type = facet_type <@MulWith, @MulWith(%C)> [concrete] +// CHECK:STDOUT: %MulWith.type.e10: type = facet_type <@MulWith, @MulWith(%C)> [concrete] // CHECK:STDOUT: %MulWith.impl_witness: = impl_witness @C.as.MulWith.impl.%MulWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.MulWith.impl.Op.type: type = fn_type @C.as.MulWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.MulWith.impl.Op: %C.as.MulWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %MulWith.facet: %MulWith.type.d08 = facet_value %C, (%MulWith.impl_witness) [concrete] -// CHECK:STDOUT: %MulWith.WithSelf.Op.type.5cf: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%C, %MulWith.facet) [concrete] -// CHECK:STDOUT: %MulAssignWith.type.d35: type = facet_type <@MulAssignWith, @MulAssignWith(%C)> [concrete] +// CHECK:STDOUT: %MulWith.facet: %MulWith.type.e10 = facet_value %C, (%MulWith.impl_witness) [concrete] +// CHECK:STDOUT: %MulWith.WithSelf.Op.type.dc9: type = fn_type @MulWith.WithSelf.Op, @MulWith.WithSelf(%C, %MulWith.facet) [concrete] +// CHECK:STDOUT: %MulAssignWith.type.9f0: type = facet_type <@MulAssignWith, @MulAssignWith(%C)> [concrete] // CHECK:STDOUT: %MulAssignWith.impl_witness: = impl_witness @C.as.MulAssignWith.impl.%MulAssignWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.MulAssignWith.impl.Op.type: type = fn_type @C.as.MulAssignWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.MulAssignWith.impl.Op: %C.as.MulAssignWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %MulAssignWith.facet: %MulAssignWith.type.d35 = facet_value %C, (%MulAssignWith.impl_witness) [concrete] -// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.151: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%C, %MulAssignWith.facet) [concrete] -// CHECK:STDOUT: %.a4f: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.5cf, %MulWith.facet [concrete] -// CHECK:STDOUT: %ptr.ec1: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.33d: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.151, %MulAssignWith.facet [concrete] +// CHECK:STDOUT: %MulAssignWith.facet: %MulAssignWith.type.9f0 = facet_value %C, (%MulAssignWith.impl_witness) [concrete] +// CHECK:STDOUT: %MulAssignWith.WithSelf.Op.type.a05: type = fn_type @MulAssignWith.WithSelf.Op, @MulAssignWith.WithSelf(%C, %MulAssignWith.facet) [concrete] +// CHECK:STDOUT: %.77f: type = fn_type_with_self_type %MulWith.WithSelf.Op.type.dc9, %MulWith.facet [concrete] +// CHECK:STDOUT: %ptr.9a8: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.9ed: type = fn_type_with_self_type %MulAssignWith.WithSelf.Op.type.a05, %MulAssignWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp(%a.param: %C, %b.param: %C) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem1: %.a4f = impl_witness_access constants.%MulWith.impl_witness, element1 [concrete = constants.%C.as.MulWith.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.77f = impl_witness_access constants.%MulWith.impl_witness, element1 [concrete = constants.%C.as.MulWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: // CHECK:STDOUT: %C.as.MulWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.MulWith.impl.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.ec1, %b.param: %C) { +// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.9a8, %b.param: %C) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %ptr.ec1 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %ptr.9a8 = name_ref a, %a // CHECK:STDOUT: %.loc38: ref %C = deref %a.ref // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.33d = impl_witness_access constants.%MulAssignWith.impl_witness, element0 [concrete = constants.%C.as.MulAssignWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.9ed = impl_witness_access constants.%MulAssignWith.impl_witness, element0 [concrete = constants.%C.as.MulAssignWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.MulAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/negate.carbon b/toolchain/check/testdata/operators/overloaded/negate.carbon index 29884cca56aa..dc7479a38793 100644 --- a/toolchain/check/testdata/operators/overloaded/negate.carbon +++ b/toolchain/check/testdata/operators/overloaded/negate.carbon @@ -39,14 +39,14 @@ fn TestOp(a: C) -> C { // CHECK:STDOUT: %C.as.Negate.impl.Op.type: type = fn_type @C.as.Negate.impl.Op [concrete] // CHECK:STDOUT: %C.as.Negate.impl.Op: %C.as.Negate.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Negate.facet: %Negate.type = facet_value %C, (%Negate.impl_witness) [concrete] -// CHECK:STDOUT: %Negate.WithSelf.Op.type.439: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] -// CHECK:STDOUT: %.4cf: type = fn_type_with_self_type %Negate.WithSelf.Op.type.439, %Negate.facet [concrete] +// CHECK:STDOUT: %Negate.WithSelf.Op.type.a0e: type = fn_type @Negate.WithSelf.Op, @Negate.WithSelf(%Negate.facet) [concrete] +// CHECK:STDOUT: %.456: type = fn_type_with_self_type %Negate.WithSelf.Op.type.a0e, %Negate.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp(%a.param: %C) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a -// CHECK:STDOUT: %impl.elem1: %.4cf = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%C.as.Negate.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.456 = impl_witness_access constants.%Negate.impl_witness, element1 [concrete = constants.%C.as.Negate.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: // CHECK:STDOUT: %C.as.Negate.impl.Op.call: init %C to %.loc27_20.1 = call %bound_method(%a.ref) diff --git a/toolchain/check/testdata/operators/overloaded/ordered.carbon b/toolchain/check/testdata/operators/overloaded/ordered.carbon index 85bc5771aaec..65e7bf1541f1 100644 --- a/toolchain/check/testdata/operators/overloaded/ordered.carbon +++ b/toolchain/check/testdata/operators/overloaded/ordered.carbon @@ -85,13 +85,13 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %OrderedWith.type.9f4: type = generic_interface_type @OrderedWith [concrete] -// CHECK:STDOUT: %OrderedWith.generic: %OrderedWith.type.9f4 = struct_value () [concrete] +// CHECK:STDOUT: %OrderedWith.type.b9f: type = generic_interface_type @OrderedWith [concrete] +// CHECK:STDOUT: %OrderedWith.generic: %OrderedWith.type.b9f = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.831: type = pattern_type bool [concrete] // CHECK:STDOUT: %.f34: Core.Form = init_form bool [concrete] -// CHECK:STDOUT: %OrderedWith.type.8c4: type = facet_type <@OrderedWith, @OrderedWith(%C)> [concrete] +// CHECK:STDOUT: %OrderedWith.type.4e3: type = facet_type <@OrderedWith, @OrderedWith(%C)> [concrete] // CHECK:STDOUT: %OrderedWith.impl_witness: = impl_witness @C.as.OrderedWith.impl.%OrderedWith.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.518: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.309: type = pattern_type %C [concrete] // CHECK:STDOUT: %Bool.type: type = fn_type @Bool [concrete] // CHECK:STDOUT: %Bool: %Bool.type = struct_value () [concrete] // CHECK:STDOUT: %C.as.OrderedWith.impl.Less.type: type = fn_type @C.as.OrderedWith.impl.Less [concrete] @@ -102,23 +102,23 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %C.as.OrderedWith.impl.Greater: %C.as.OrderedWith.impl.Greater.type = struct_value () [concrete] // CHECK:STDOUT: %C.as.OrderedWith.impl.GreaterOrEquivalent.type: type = fn_type @C.as.OrderedWith.impl.GreaterOrEquivalent [concrete] // CHECK:STDOUT: %C.as.OrderedWith.impl.GreaterOrEquivalent: %C.as.OrderedWith.impl.GreaterOrEquivalent.type = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.facet: %OrderedWith.type.8c4 = facet_value %C, (%OrderedWith.impl_witness) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.500: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%C, %OrderedWith.facet) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.d30: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%C, %OrderedWith.facet) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.1f3: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%C, %OrderedWith.facet) [concrete] -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.e18: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%C, %OrderedWith.facet) [concrete] +// CHECK:STDOUT: %OrderedWith.facet: %OrderedWith.type.4e3 = facet_value %C, (%OrderedWith.impl_witness) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.type.7a8: type = fn_type @OrderedWith.WithSelf.Less, @OrderedWith.WithSelf(%C, %OrderedWith.facet) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.type.dbd: type = fn_type @OrderedWith.WithSelf.LessOrEquivalent, @OrderedWith.WithSelf(%C, %OrderedWith.facet) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.type.9ae: type = fn_type @OrderedWith.WithSelf.Greater, @OrderedWith.WithSelf(%C, %OrderedWith.facet) [concrete] +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.type.62a: type = fn_type @OrderedWith.WithSelf.GreaterOrEquivalent, @OrderedWith.WithSelf(%C, %OrderedWith.facet) [concrete] // CHECK:STDOUT: %TestLess.type: type = fn_type @TestLess [concrete] // CHECK:STDOUT: %TestLess: %TestLess.type = struct_value () [concrete] -// CHECK:STDOUT: %.8ef: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.500, %OrderedWith.facet [concrete] +// CHECK:STDOUT: %.cd9: type = fn_type_with_self_type %OrderedWith.WithSelf.Less.type.7a8, %OrderedWith.facet [concrete] // CHECK:STDOUT: %TestLessEqual.type: type = fn_type @TestLessEqual [concrete] // CHECK:STDOUT: %TestLessEqual: %TestLessEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %.6b6: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.d30, %OrderedWith.facet [concrete] +// CHECK:STDOUT: %.3cb: type = fn_type_with_self_type %OrderedWith.WithSelf.LessOrEquivalent.type.dbd, %OrderedWith.facet [concrete] // CHECK:STDOUT: %TestGreater.type: type = fn_type @TestGreater [concrete] // CHECK:STDOUT: %TestGreater: %TestGreater.type = struct_value () [concrete] -// CHECK:STDOUT: %.a17: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.1f3, %OrderedWith.facet [concrete] +// CHECK:STDOUT: %.08a: type = fn_type_with_self_type %OrderedWith.WithSelf.Greater.type.9ae, %OrderedWith.facet [concrete] // CHECK:STDOUT: %TestGreaterEqual.type: type = fn_type @TestGreaterEqual [concrete] // CHECK:STDOUT: %TestGreaterEqual: %TestGreaterEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %.04d: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.e18, %OrderedWith.facet [concrete] +// CHECK:STDOUT: %.9d7: type = fn_type_with_self_type %OrderedWith.WithSelf.GreaterOrEquivalent.type.62a, %OrderedWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -128,7 +128,7 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.OrderedWith: %OrderedWith.type.9f4 = import_ref Core//prelude/operators/comparison, OrderedWith, loaded [concrete = constants.%OrderedWith.generic] +// CHECK:STDOUT: %Core.OrderedWith: %OrderedWith.type.b9f = import_ref Core//prelude/operators/comparison, OrderedWith, loaded [concrete = constants.%OrderedWith.generic] // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/types/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -146,15 +146,15 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: impl_decl @C.as.OrderedWith.impl [concrete] {} { // CHECK:STDOUT: %C.ref.loc6_6: type = name_ref C, file.%C.decl [concrete = constants.%C] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %OrderedWith.ref: %OrderedWith.type.9f4 = name_ref OrderedWith, imports.%Core.OrderedWith [concrete = constants.%OrderedWith.generic] +// CHECK:STDOUT: %OrderedWith.ref: %OrderedWith.type.b9f = name_ref OrderedWith, imports.%Core.OrderedWith [concrete = constants.%OrderedWith.generic] // CHECK:STDOUT: %C.ref.loc6_28: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %OrderedWith.type: type = facet_type <@OrderedWith, @OrderedWith(constants.%C)> [concrete = constants.%OrderedWith.type.8c4] +// CHECK:STDOUT: %OrderedWith.type: type = facet_type <@OrderedWith, @OrderedWith(constants.%C)> [concrete = constants.%OrderedWith.type.4e3] // CHECK:STDOUT: } // CHECK:STDOUT: %TestLess.decl: %TestLess.type = fn_decl @TestLess [concrete = constants.%TestLess] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.518 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.518 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.309 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.309 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc13_28.1 [concrete] // CHECK:STDOUT: } { @@ -170,10 +170,10 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestLessEqual.decl: %TestLessEqual.type = fn_decl @TestLessEqual [concrete = constants.%TestLessEqual] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.518 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.518 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.309 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.309 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc17_33.1 [concrete] // CHECK:STDOUT: } { @@ -189,10 +189,10 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestGreater.decl: %TestGreater.type = fn_decl @TestGreater [concrete = constants.%TestGreater] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.518 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.518 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.309 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.309 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc21_31.1 [concrete] // CHECK:STDOUT: } { @@ -208,10 +208,10 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestGreaterEqual.decl: %TestGreaterEqual.type = fn_decl @TestGreaterEqual [concrete = constants.%TestGreaterEqual] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.518 = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.518 = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.309 = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.309 = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc25_36.1 [concrete] // CHECK:STDOUT: } { @@ -230,10 +230,10 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: // CHECK:STDOUT: impl @C.as.OrderedWith.impl: %C.ref.loc6_6 as %OrderedWith.type { // CHECK:STDOUT: %C.as.OrderedWith.impl.Less.decl: %C.as.OrderedWith.impl.Less.type = fn_decl @C.as.OrderedWith.impl.Less [concrete = constants.%C.as.OrderedWith.impl.Less] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.518 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.518 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.309 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.309 = at_binding_pattern other, %other.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc7_33.1 [concrete] // CHECK:STDOUT: } { @@ -249,10 +249,10 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %C.as.OrderedWith.impl.LessOrEquivalent.decl: %C.as.OrderedWith.impl.LessOrEquivalent.type = fn_decl @C.as.OrderedWith.impl.LessOrEquivalent [concrete = constants.%C.as.OrderedWith.impl.LessOrEquivalent] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.518 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.518 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.309 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.309 = at_binding_pattern other, %other.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc8_45.1 [concrete] // CHECK:STDOUT: } { @@ -268,10 +268,10 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %C.as.OrderedWith.impl.Greater.decl: %C.as.OrderedWith.impl.Greater.type = fn_decl @C.as.OrderedWith.impl.Greater [concrete = constants.%C.as.OrderedWith.impl.Greater] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.518 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.518 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.309 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.309 = at_binding_pattern other, %other.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc9_36.1 [concrete] // CHECK:STDOUT: } { @@ -287,10 +287,10 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %C.as.OrderedWith.impl.GreaterOrEquivalent.decl: %C.as.OrderedWith.impl.GreaterOrEquivalent.type = fn_decl @C.as.OrderedWith.impl.GreaterOrEquivalent [concrete = constants.%C.as.OrderedWith.impl.GreaterOrEquivalent] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.518 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %other.param_patt: %pattern_type.518 = value_param_pattern [concrete] -// CHECK:STDOUT: %other.patt: %pattern_type.518 = at_binding_pattern other, %other.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.309 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %other.param_patt: %pattern_type.309 = value_param_pattern [concrete] +// CHECK:STDOUT: %other.patt: %pattern_type.309 = at_binding_pattern other, %other.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc10_48.1 [concrete] // CHECK:STDOUT: } { @@ -338,7 +338,7 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.8ef = impl_witness_access constants.%OrderedWith.impl_witness, element0 [concrete = constants.%C.as.OrderedWith.impl.Less] +// CHECK:STDOUT: %impl.elem0: %.cd9 = impl_witness_access constants.%OrderedWith.impl_witness, element0 [concrete = constants.%C.as.OrderedWith.impl.Less] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem0 // CHECK:STDOUT: %C.as.OrderedWith.impl.Less.call: init bool = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.OrderedWith.impl.Less.call @@ -348,7 +348,7 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem1: %.6b6 = impl_witness_access constants.%OrderedWith.impl_witness, element1 [concrete = constants.%C.as.OrderedWith.impl.LessOrEquivalent] +// CHECK:STDOUT: %impl.elem1: %.3cb = impl_witness_access constants.%OrderedWith.impl_witness, element1 [concrete = constants.%C.as.OrderedWith.impl.LessOrEquivalent] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: %C.as.OrderedWith.impl.LessOrEquivalent.call: init bool = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.OrderedWith.impl.LessOrEquivalent.call @@ -358,7 +358,7 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem2: %.a17 = impl_witness_access constants.%OrderedWith.impl_witness, element2 [concrete = constants.%C.as.OrderedWith.impl.Greater] +// CHECK:STDOUT: %impl.elem2: %.08a = impl_witness_access constants.%OrderedWith.impl_witness, element2 [concrete = constants.%C.as.OrderedWith.impl.Greater] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem2 // CHECK:STDOUT: %C.as.OrderedWith.impl.Greater.call: init bool = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.OrderedWith.impl.Greater.call @@ -368,7 +368,7 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem3: %.04d = impl_witness_access constants.%OrderedWith.impl_witness, element3 [concrete = constants.%C.as.OrderedWith.impl.GreaterOrEquivalent] +// CHECK:STDOUT: %impl.elem3: %.9d7 = impl_witness_access constants.%OrderedWith.impl_witness, element3 [concrete = constants.%C.as.OrderedWith.impl.GreaterOrEquivalent] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem3 // CHECK:STDOUT: %C.as.OrderedWith.impl.GreaterOrEquivalent.call: init bool = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.OrderedWith.impl.GreaterOrEquivalent.call @@ -380,15 +380,15 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.eaf: type = pattern_type %D [concrete] +// CHECK:STDOUT: %pattern_type.b4f: type = pattern_type %D [concrete] // CHECK:STDOUT: %Bool.type: type = fn_type @Bool [concrete] // CHECK:STDOUT: %Bool: %Bool.type = struct_value () [concrete] // CHECK:STDOUT: %.f34: Core.Form = init_form bool [concrete] // CHECK:STDOUT: %pattern_type.831: type = pattern_type bool [concrete] // CHECK:STDOUT: %TestLess.type: type = fn_type @TestLess [concrete] // CHECK:STDOUT: %TestLess: %TestLess.type = struct_value () [concrete] -// CHECK:STDOUT: %OrderedWith.type.9f4: type = generic_interface_type @OrderedWith [concrete] -// CHECK:STDOUT: %OrderedWith.generic: %OrderedWith.type.9f4 = struct_value () [concrete] +// CHECK:STDOUT: %OrderedWith.type.b9f: type = generic_interface_type @OrderedWith [concrete] +// CHECK:STDOUT: %OrderedWith.generic: %OrderedWith.type.b9f = struct_value () [concrete] // CHECK:STDOUT: %TestLessEqual.type: type = fn_type @TestLessEqual [concrete] // CHECK:STDOUT: %TestLessEqual: %TestLessEqual.type = struct_value () [concrete] // CHECK:STDOUT: %TestGreater.type: type = fn_type @TestGreater [concrete] @@ -405,7 +405,7 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/types/bool, Bool, loaded [concrete = constants.%Bool] -// CHECK:STDOUT: %Core.OrderedWith: %OrderedWith.type.9f4 = import_ref Core//prelude/operators/comparison, OrderedWith, loaded [concrete = constants.%OrderedWith.generic] +// CHECK:STDOUT: %Core.OrderedWith: %OrderedWith.type.b9f = import_ref Core//prelude/operators/comparison, OrderedWith, loaded [concrete = constants.%OrderedWith.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -420,10 +420,10 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %D.decl: type = class_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: %TestLess.decl: %TestLess.type = fn_decl @TestLess [concrete = constants.%TestLess] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.eaf = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.eaf = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.eaf = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.eaf = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.b4f = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.b4f = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.b4f = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.b4f = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc6_28.1 [concrete] // CHECK:STDOUT: } { @@ -439,10 +439,10 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestLessEqual.decl: %TestLessEqual.type = fn_decl @TestLessEqual [concrete = constants.%TestLessEqual] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.eaf = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.eaf = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.eaf = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.eaf = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.b4f = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.b4f = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.b4f = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.b4f = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc14_33.1 [concrete] // CHECK:STDOUT: } { @@ -458,10 +458,10 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestGreater.decl: %TestGreater.type = fn_decl @TestGreater [concrete = constants.%TestGreater] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.eaf = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.eaf = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.eaf = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.eaf = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.b4f = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.b4f = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.b4f = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.b4f = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc22_31.1 [concrete] // CHECK:STDOUT: } { @@ -477,10 +477,10 @@ fn TestGreaterEqual(a: D, b: D) -> bool { // CHECK:STDOUT: %return: ref bool = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %TestGreaterEqual.decl: %TestGreaterEqual.type = fn_decl @TestGreaterEqual [concrete = constants.%TestGreaterEqual] { -// CHECK:STDOUT: %a.param_patt: %pattern_type.eaf = value_param_pattern [concrete] -// CHECK:STDOUT: %a.patt: %pattern_type.eaf = at_binding_pattern a, %a.param_patt [concrete] -// CHECK:STDOUT: %b.param_patt: %pattern_type.eaf = value_param_pattern [concrete] -// CHECK:STDOUT: %b.patt: %pattern_type.eaf = at_binding_pattern b, %b.param_patt [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.b4f = value_param_pattern [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.b4f = at_binding_pattern a, %a.param_patt [concrete] +// CHECK:STDOUT: %b.param_patt: %pattern_type.b4f = value_param_pattern [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.b4f = at_binding_pattern b, %b.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: %pattern_type.831 = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: %pattern_type.831 = return_slot_pattern %return.param_patt, %.loc30_36.1 [concrete] // CHECK:STDOUT: } { diff --git a/toolchain/check/testdata/operators/overloaded/right_shift.carbon b/toolchain/check/testdata/operators/overloaded/right_shift.carbon index f495076c7084..a97871e011b8 100644 --- a/toolchain/check/testdata/operators/overloaded/right_shift.carbon +++ b/toolchain/check/testdata/operators/overloaded/right_shift.carbon @@ -44,40 +44,40 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %RightShiftWith.type.b83: type = facet_type <@RightShiftWith, @RightShiftWith(%C)> [concrete] +// CHECK:STDOUT: %RightShiftWith.type.4d9: type = facet_type <@RightShiftWith, @RightShiftWith(%C)> [concrete] // CHECK:STDOUT: %RightShiftWith.impl_witness: = impl_witness @C.as.RightShiftWith.impl.%RightShiftWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.RightShiftWith.impl.Op.type: type = fn_type @C.as.RightShiftWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.RightShiftWith.impl.Op: %C.as.RightShiftWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %RightShiftWith.facet: %RightShiftWith.type.b83 = facet_value %C, (%RightShiftWith.impl_witness) [concrete] -// CHECK:STDOUT: %RightShiftWith.WithSelf.Op.type.6b3: type = fn_type @RightShiftWith.WithSelf.Op, @RightShiftWith.WithSelf(%C, %RightShiftWith.facet) [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.type.2ed: type = facet_type <@RightShiftAssignWith, @RightShiftAssignWith(%C)> [concrete] +// CHECK:STDOUT: %RightShiftWith.facet: %RightShiftWith.type.4d9 = facet_value %C, (%RightShiftWith.impl_witness) [concrete] +// CHECK:STDOUT: %RightShiftWith.WithSelf.Op.type.3bc: type = fn_type @RightShiftWith.WithSelf.Op, @RightShiftWith.WithSelf(%C, %RightShiftWith.facet) [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.type.fd0: type = facet_type <@RightShiftAssignWith, @RightShiftAssignWith(%C)> [concrete] // CHECK:STDOUT: %RightShiftAssignWith.impl_witness: = impl_witness @C.as.RightShiftAssignWith.impl.%RightShiftAssignWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.RightShiftAssignWith.impl.Op.type: type = fn_type @C.as.RightShiftAssignWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.RightShiftAssignWith.impl.Op: %C.as.RightShiftAssignWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.facet: %RightShiftAssignWith.type.2ed = facet_value %C, (%RightShiftAssignWith.impl_witness) [concrete] -// CHECK:STDOUT: %RightShiftAssignWith.WithSelf.Op.type.c9c: type = fn_type @RightShiftAssignWith.WithSelf.Op, @RightShiftAssignWith.WithSelf(%C, %RightShiftAssignWith.facet) [concrete] -// CHECK:STDOUT: %.7a2: type = fn_type_with_self_type %RightShiftWith.WithSelf.Op.type.6b3, %RightShiftWith.facet [concrete] -// CHECK:STDOUT: %ptr.ec1: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.fd9: type = fn_type_with_self_type %RightShiftAssignWith.WithSelf.Op.type.c9c, %RightShiftAssignWith.facet [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.facet: %RightShiftAssignWith.type.fd0 = facet_value %C, (%RightShiftAssignWith.impl_witness) [concrete] +// CHECK:STDOUT: %RightShiftAssignWith.WithSelf.Op.type.703: type = fn_type @RightShiftAssignWith.WithSelf.Op, @RightShiftAssignWith.WithSelf(%C, %RightShiftAssignWith.facet) [concrete] +// CHECK:STDOUT: %.793: type = fn_type_with_self_type %RightShiftWith.WithSelf.Op.type.3bc, %RightShiftWith.facet [concrete] +// CHECK:STDOUT: %ptr.9a8: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.d3f: type = fn_type_with_self_type %RightShiftAssignWith.WithSelf.Op.type.703, %RightShiftAssignWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp(%a.param: %C, %b.param: %C) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem1: %.7a2 = impl_witness_access constants.%RightShiftWith.impl_witness, element1 [concrete = constants.%C.as.RightShiftWith.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.793 = impl_witness_access constants.%RightShiftWith.impl_witness, element1 [concrete = constants.%C.as.RightShiftWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: // CHECK:STDOUT: %C.as.RightShiftWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.RightShiftWith.impl.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.ec1, %b.param: %C) { +// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.9a8, %b.param: %C) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %ptr.ec1 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %ptr.9a8 = name_ref a, %a // CHECK:STDOUT: %.loc38: ref %C = deref %a.ref // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.fd9 = impl_witness_access constants.%RightShiftAssignWith.impl_witness, element0 [concrete = constants.%C.as.RightShiftAssignWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.d3f = impl_witness_access constants.%RightShiftAssignWith.impl_witness, element0 [concrete = constants.%C.as.RightShiftAssignWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.RightShiftAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: diff --git a/toolchain/check/testdata/operators/overloaded/string_indexing.carbon b/toolchain/check/testdata/operators/overloaded/string_indexing.carbon index c1d35487bc2f..63d525af4b55 100644 --- a/toolchain/check/testdata/operators/overloaded/string_indexing.carbon +++ b/toolchain/check/testdata/operators/overloaded/string_indexing.carbon @@ -81,22 +81,22 @@ fn TestStringIndexing() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %str.91f: type = class_type @String [concrete] +// CHECK:STDOUT: %str.abf: type = class_type @String [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %u64: type = class_type @UInt, @UInt(%int_64) [concrete] // CHECK:STDOUT: %char: type = class_type @Char [concrete] -// CHECK:STDOUT: %ptr.050: type = ptr_type %char [concrete] -// CHECK:STDOUT: %str.6f5: %ptr.050 = string_literal "Test" [concrete] +// CHECK:STDOUT: %ptr.d63: type = ptr_type %char [concrete] +// CHECK:STDOUT: %str.c35: %ptr.d63 = string_literal "Test" [concrete] // CHECK:STDOUT: %int_4: %u64 = int_value 4 [concrete] -// CHECK:STDOUT: %String.val: %str.91f = struct_value (%str.6f5, %int_4) [concrete] +// CHECK:STDOUT: %String.val: %str.abf = struct_value (%str.c35, %int_4) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestWrongType() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: %str: %ptr.050 = string_literal "Test" [concrete = constants.%str.6f5] +// CHECK:STDOUT: %str: %ptr.d63 = string_literal "Test" [concrete = constants.%str.c35] // CHECK:STDOUT: %int_4: %u64 = int_value 4 [concrete = constants.%int_4] -// CHECK:STDOUT: %String.val: %str.91f = struct_value (%str, %int_4) [concrete = constants.%String.val] +// CHECK:STDOUT: %String.val: %str.abf = struct_value (%str, %int_4) [concrete = constants.%String.val] // CHECK:STDOUT: %C.ref: type = name_ref C, %C.decl [concrete = constants.%C] // CHECK:STDOUT: // CHECK:STDOUT: } @@ -105,31 +105,31 @@ fn TestStringIndexing() { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %char: type = class_type @Char [concrete] -// CHECK:STDOUT: %pattern_type.54e: type = pattern_type %char [concrete] -// CHECK:STDOUT: %str.91f: type = class_type @String [concrete] +// CHECK:STDOUT: %pattern_type.63d: type = pattern_type %char [concrete] +// CHECK:STDOUT: %str.abf: type = class_type @String [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %u64: type = class_type @UInt, @UInt(%int_64) [concrete] -// CHECK:STDOUT: %ptr.050: type = ptr_type %char [concrete] -// CHECK:STDOUT: %str.6f5: %ptr.050 = string_literal "Test" [concrete] +// CHECK:STDOUT: %ptr.d63: type = ptr_type %char [concrete] +// CHECK:STDOUT: %str.c35: %ptr.d63 = string_literal "Test" [concrete] // CHECK:STDOUT: %int_4: %u64 = int_value 4 [concrete] -// CHECK:STDOUT: %String.val: %str.91f = struct_value (%str.6f5, %int_4) [concrete] +// CHECK:STDOUT: %String.val: %str.abf = struct_value (%str.c35, %int_4) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %IndexWith.type.339: type = facet_type <@IndexWith, @IndexWith(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %IndexWith.type.af8: type = facet_type <@IndexWith, @IndexWith(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.e82: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] -// CHECK:STDOUT: %T.8a0: %ImplicitAs.type.e82 = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %str.as.IndexWith.impl.At.type.ed3: type = fn_type @str.as.IndexWith.impl.At, @str.as.IndexWith.impl(%T.8a0) [symbolic] -// CHECK:STDOUT: %str.as.IndexWith.impl.At.5fc: %str.as.IndexWith.impl.At.type.ed3 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.080: = impl_witness imports.%ImplicitAs.impl_witness_table.f92, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.e82 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.080) [concrete] -// CHECK:STDOUT: %IndexWith.impl_witness.df4: = impl_witness imports.%IndexWith.impl_witness_table, @str.as.IndexWith.impl(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %str.as.IndexWith.impl.At.type.495: type = fn_type @str.as.IndexWith.impl.At, @str.as.IndexWith.impl(%ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %str.as.IndexWith.impl.At.b30: %str.as.IndexWith.impl.At.type.495 = struct_value () [concrete] -// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.339 = facet_value %str.91f, (%IndexWith.impl_witness.df4) [concrete] -// CHECK:STDOUT: %IndexWith.WithSelf.At.type.10f: type = fn_type @IndexWith.WithSelf.At, @IndexWith.WithSelf(Core.IntLiteral, %IndexWith.facet) [concrete] -// CHECK:STDOUT: %.4c4: type = fn_type_with_self_type %IndexWith.WithSelf.At.type.10f, %IndexWith.facet [concrete] -// CHECK:STDOUT: %str.as.IndexWith.impl.At.bound: = bound_method %String.val, %str.as.IndexWith.impl.At.b30 [concrete] -// CHECK:STDOUT: %str.as.IndexWith.impl.At.specific_fn: = specific_function %str.as.IndexWith.impl.At.b30, @str.as.IndexWith.impl.At(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.08a: type = facet_type <@ImplicitAs, @ImplicitAs(%i64)> [concrete] +// CHECK:STDOUT: %T.61c: %ImplicitAs.type.08a = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %str.as.IndexWith.impl.At.type.c1f: type = fn_type @str.as.IndexWith.impl.At, @str.as.IndexWith.impl(%T.61c) [symbolic] +// CHECK:STDOUT: %str.as.IndexWith.impl.At.2b4: %str.as.IndexWith.impl.At.type.c1f = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.fe0: = impl_witness imports.%ImplicitAs.impl_witness_table.bc4, @Core.IntLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.08a = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fe0) [concrete] +// CHECK:STDOUT: %IndexWith.impl_witness.f69: = impl_witness imports.%IndexWith.impl_witness_table, @str.as.IndexWith.impl(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %str.as.IndexWith.impl.At.type.49d: type = fn_type @str.as.IndexWith.impl.At, @str.as.IndexWith.impl(%ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %str.as.IndexWith.impl.At.bdf: %str.as.IndexWith.impl.At.type.49d = struct_value () [concrete] +// CHECK:STDOUT: %IndexWith.facet: %IndexWith.type.af8 = facet_value %str.abf, (%IndexWith.impl_witness.f69) [concrete] +// CHECK:STDOUT: %IndexWith.WithSelf.At.type.62c: type = fn_type @IndexWith.WithSelf.At, @IndexWith.WithSelf(Core.IntLiteral, %IndexWith.facet) [concrete] +// CHECK:STDOUT: %.886: type = fn_type_with_self_type %IndexWith.WithSelf.At.type.62c, %IndexWith.facet [concrete] +// CHECK:STDOUT: %str.as.IndexWith.impl.At.bound: = bound_method %String.val, %str.as.IndexWith.impl.At.bdf [concrete] +// CHECK:STDOUT: %str.as.IndexWith.impl.At.specific_fn: = specific_function %str.as.IndexWith.impl.At.bdf, @str.as.IndexWith.impl.At(%ImplicitAs.facet) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %String.val, %str.as.IndexWith.impl.At.specific_fn [concrete] // CHECK:STDOUT: %int_84: %char = int_value 84 [concrete] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete] @@ -137,26 +137,26 @@ fn TestStringIndexing() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.03f = import_ref Core//prelude/types/string, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %Core.import_ref.897: @str.as.IndexWith.impl.%str.as.IndexWith.impl.At.type (%str.as.IndexWith.impl.At.type.ed3) = import_ref Core//prelude/types/string, loc{{\d+_\d+}}, loaded [symbolic = @str.as.IndexWith.impl.%str.as.IndexWith.impl.At (constants.%str.as.IndexWith.impl.At.5fc)] -// CHECK:STDOUT: %IndexWith.impl_witness_table = impl_witness_table (%Core.import_ref.03f, %Core.import_ref.897), @str.as.IndexWith.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.25a = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, unloaded -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.f92 = impl_witness_table (%Core.import_ref.25a), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1f3 = import_ref Core//prelude/types/string, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.c67: @str.as.IndexWith.impl.%str.as.IndexWith.impl.At.type (%str.as.IndexWith.impl.At.type.c1f) = import_ref Core//prelude/types/string, loc{{\d+_\d+}}, loaded [symbolic = @str.as.IndexWith.impl.%str.as.IndexWith.impl.At (constants.%str.as.IndexWith.impl.At.2b4)] +// CHECK:STDOUT: %IndexWith.impl_witness_table = impl_witness_table (%Core.import_ref.1f3, %Core.import_ref.c67), @str.as.IndexWith.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.154 = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.bc4 = impl_witness_table (%Core.import_ref.154), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestStringIndexing() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.54e = value_binding_pattern c [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.63d = value_binding_pattern c [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %str.loc5: %ptr.050 = string_literal "Test" [concrete = constants.%str.6f5] +// CHECK:STDOUT: %str.loc5: %ptr.d63 = string_literal "Test" [concrete = constants.%str.c35] // CHECK:STDOUT: %int_4.loc5: %u64 = int_value 4 [concrete = constants.%int_4] -// CHECK:STDOUT: %String.val.loc5: %str.91f = struct_value (%str.loc5, %int_4.loc5) [concrete = constants.%String.val] +// CHECK:STDOUT: %String.val.loc5: %str.abf = struct_value (%str.loc5, %int_4.loc5) [concrete = constants.%String.val] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %impl.elem1.loc5: %.4c4 = impl_witness_access constants.%IndexWith.impl_witness.df4, element1 [concrete = constants.%str.as.IndexWith.impl.At.b30] +// CHECK:STDOUT: %impl.elem1.loc5: %.886 = impl_witness_access constants.%IndexWith.impl_witness.f69, element1 [concrete = constants.%str.as.IndexWith.impl.At.bdf] // CHECK:STDOUT: %bound_method.loc5_32.1: = bound_method %String.val.loc5, %impl.elem1.loc5 [concrete = constants.%str.as.IndexWith.impl.At.bound] -// CHECK:STDOUT: %ImplicitAs.facet.loc5: %ImplicitAs.type.e82 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.080) [concrete = constants.%ImplicitAs.facet] -// CHECK:STDOUT: %.loc5_32.1: %ImplicitAs.type.e82 = converted Core.IntLiteral, %ImplicitAs.facet.loc5 [concrete = constants.%ImplicitAs.facet] +// CHECK:STDOUT: %ImplicitAs.facet.loc5: %ImplicitAs.type.08a = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.fe0) [concrete = constants.%ImplicitAs.facet] +// CHECK:STDOUT: %.loc5_32.1: %ImplicitAs.type.08a = converted Core.IntLiteral, %ImplicitAs.facet.loc5 [concrete = constants.%ImplicitAs.facet] // CHECK:STDOUT: %specific_fn.loc5: = specific_function %impl.elem1.loc5, @str.as.IndexWith.impl.At(constants.%ImplicitAs.facet) [concrete = constants.%str.as.IndexWith.impl.At.specific_fn] // CHECK:STDOUT: %bound_method.loc5_32.2: = bound_method %String.val.loc5, %specific_fn.loc5 [concrete = constants.%bound_method] // CHECK:STDOUT: %str.as.IndexWith.impl.At.call.loc5: init %char = call %bound_method.loc5_32.2(%String.val.loc5, %int_0) [concrete = constants.%int_84] @@ -165,16 +165,16 @@ fn TestStringIndexing() { // CHECK:STDOUT: %.loc5_32.3: %char = converted %str.as.IndexWith.impl.At.call.loc5, %.loc5_32.2 [concrete = constants.%int_84] // CHECK:STDOUT: %c: %char = value_binding c, %.loc5_32.3 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.54e = value_binding_pattern d [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.63d = value_binding_pattern d [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %str.loc6: %ptr.050 = string_literal "Test" [concrete = constants.%str.6f5] +// CHECK:STDOUT: %str.loc6: %ptr.d63 = string_literal "Test" [concrete = constants.%str.c35] // CHECK:STDOUT: %int_4.loc6: %u64 = int_value 4 [concrete = constants.%int_4] -// CHECK:STDOUT: %String.val.loc6: %str.91f = struct_value (%str.loc6, %int_4.loc6) [concrete = constants.%String.val] +// CHECK:STDOUT: %String.val.loc6: %str.abf = struct_value (%str.loc6, %int_4.loc6) [concrete = constants.%String.val] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] -// CHECK:STDOUT: %impl.elem1.loc6: %.4c4 = impl_witness_access constants.%IndexWith.impl_witness.df4, element1 [concrete = constants.%str.as.IndexWith.impl.At.b30] +// CHECK:STDOUT: %impl.elem1.loc6: %.886 = impl_witness_access constants.%IndexWith.impl_witness.f69, element1 [concrete = constants.%str.as.IndexWith.impl.At.bdf] // CHECK:STDOUT: %bound_method.loc6_32.1: = bound_method %String.val.loc6, %impl.elem1.loc6 [concrete = constants.%str.as.IndexWith.impl.At.bound] -// CHECK:STDOUT: %ImplicitAs.facet.loc6: %ImplicitAs.type.e82 = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.080) [concrete = constants.%ImplicitAs.facet] -// CHECK:STDOUT: %.loc6_32.1: %ImplicitAs.type.e82 = converted Core.IntLiteral, %ImplicitAs.facet.loc6 [concrete = constants.%ImplicitAs.facet] +// CHECK:STDOUT: %ImplicitAs.facet.loc6: %ImplicitAs.type.08a = facet_value Core.IntLiteral, (constants.%ImplicitAs.impl_witness.fe0) [concrete = constants.%ImplicitAs.facet] +// CHECK:STDOUT: %.loc6_32.1: %ImplicitAs.type.08a = converted Core.IntLiteral, %ImplicitAs.facet.loc6 [concrete = constants.%ImplicitAs.facet] // CHECK:STDOUT: %specific_fn.loc6: = specific_function %impl.elem1.loc6, @str.as.IndexWith.impl.At(constants.%ImplicitAs.facet) [concrete = constants.%str.as.IndexWith.impl.At.specific_fn] // CHECK:STDOUT: %bound_method.loc6_32.2: = bound_method %String.val.loc6, %specific_fn.loc6 [concrete = constants.%bound_method] // CHECK:STDOUT: %str.as.IndexWith.impl.At.call.loc6: init %char = call %bound_method.loc6_32.2(%String.val.loc6, %int_3) [concrete = constants.%int_116] diff --git a/toolchain/check/testdata/operators/overloaded/sub.carbon b/toolchain/check/testdata/operators/overloaded/sub.carbon index 952e48e6eb74..bf809523c627 100644 --- a/toolchain/check/testdata/operators/overloaded/sub.carbon +++ b/toolchain/check/testdata/operators/overloaded/sub.carbon @@ -44,40 +44,40 @@ fn TestAssign(a: C*, b: C) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] -// CHECK:STDOUT: %SubWith.type.373: type = facet_type <@SubWith, @SubWith(%C)> [concrete] +// CHECK:STDOUT: %SubWith.type.b3c: type = facet_type <@SubWith, @SubWith(%C)> [concrete] // CHECK:STDOUT: %SubWith.impl_witness: = impl_witness @C.as.SubWith.impl.%SubWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.SubWith.impl.Op.type: type = fn_type @C.as.SubWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.SubWith.impl.Op: %C.as.SubWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %SubWith.facet: %SubWith.type.373 = facet_value %C, (%SubWith.impl_witness) [concrete] -// CHECK:STDOUT: %SubWith.WithSelf.Op.type.926: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%C, %SubWith.facet) [concrete] -// CHECK:STDOUT: %SubAssignWith.type.e60: type = facet_type <@SubAssignWith, @SubAssignWith(%C)> [concrete] +// CHECK:STDOUT: %SubWith.facet: %SubWith.type.b3c = facet_value %C, (%SubWith.impl_witness) [concrete] +// CHECK:STDOUT: %SubWith.WithSelf.Op.type.b25: type = fn_type @SubWith.WithSelf.Op, @SubWith.WithSelf(%C, %SubWith.facet) [concrete] +// CHECK:STDOUT: %SubAssignWith.type.192: type = facet_type <@SubAssignWith, @SubAssignWith(%C)> [concrete] // CHECK:STDOUT: %SubAssignWith.impl_witness: = impl_witness @C.as.SubAssignWith.impl.%SubAssignWith.impl_witness_table [concrete] // CHECK:STDOUT: %C.as.SubAssignWith.impl.Op.type: type = fn_type @C.as.SubAssignWith.impl.Op [concrete] // CHECK:STDOUT: %C.as.SubAssignWith.impl.Op: %C.as.SubAssignWith.impl.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %SubAssignWith.facet: %SubAssignWith.type.e60 = facet_value %C, (%SubAssignWith.impl_witness) [concrete] -// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.88c: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%C, %SubAssignWith.facet) [concrete] -// CHECK:STDOUT: %.f74: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.926, %SubWith.facet [concrete] -// CHECK:STDOUT: %ptr.ec1: type = ptr_type %C [concrete] -// CHECK:STDOUT: %.bc3: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.88c, %SubAssignWith.facet [concrete] +// CHECK:STDOUT: %SubAssignWith.facet: %SubAssignWith.type.192 = facet_value %C, (%SubAssignWith.impl_witness) [concrete] +// CHECK:STDOUT: %SubAssignWith.WithSelf.Op.type.ba4: type = fn_type @SubAssignWith.WithSelf.Op, @SubAssignWith.WithSelf(%C, %SubAssignWith.facet) [concrete] +// CHECK:STDOUT: %.0e9: type = fn_type_with_self_type %SubWith.WithSelf.Op.type.b25, %SubWith.facet [concrete] +// CHECK:STDOUT: %ptr.9a8: type = ptr_type %C [concrete] +// CHECK:STDOUT: %.e63: type = fn_type_with_self_type %SubAssignWith.WithSelf.Op.type.ba4, %SubAssignWith.facet [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @TestOp(%a.param: %C, %b.param: %C) -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: %C = name_ref a, %a // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem1: %.f74 = impl_witness_access constants.%SubWith.impl_witness, element1 [concrete = constants.%C.as.SubWith.impl.Op] +// CHECK:STDOUT: %impl.elem1: %.0e9 = impl_witness_access constants.%SubWith.impl_witness, element1 [concrete = constants.%C.as.SubWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %a.ref, %impl.elem1 // CHECK:STDOUT: // CHECK:STDOUT: %C.as.SubWith.impl.Op.call: init %C to %.loc30_26.1 = call %bound_method(%a.ref, %b.ref) // CHECK:STDOUT: return %C.as.SubWith.impl.Op.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.ec1, %b.param: %C) { +// CHECK:STDOUT: fn @TestAssign(%a.param: %ptr.9a8, %b.param: %C) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a.ref: %ptr.ec1 = name_ref a, %a +// CHECK:STDOUT: %a.ref: %ptr.9a8 = name_ref a, %a // CHECK:STDOUT: %.loc38: ref %C = deref %a.ref // CHECK:STDOUT: %b.ref: %C = name_ref b, %b -// CHECK:STDOUT: %impl.elem0: %.bc3 = impl_witness_access constants.%SubAssignWith.impl_witness, element0 [concrete = constants.%C.as.SubAssignWith.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.e63 = impl_witness_access constants.%SubAssignWith.impl_witness, element0 [concrete = constants.%C.as.SubAssignWith.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %.loc38, %impl.elem0 // CHECK:STDOUT: %C.as.SubAssignWith.impl.Op.call: init %empty_tuple.type = call %bound_method(%.loc38, %b.ref) // CHECK:STDOUT: diff --git a/toolchain/check/testdata/package_expr/fail_not_found.carbon b/toolchain/check/testdata/package_expr/fail_not_found.carbon index f675fc759680..6044675e1cc1 100644 --- a/toolchain/check/testdata/package_expr/fail_not_found.carbon +++ b/toolchain/check/testdata/package_expr/fail_not_found.carbon @@ -31,10 +31,10 @@ fn Main() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc20_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc20_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -61,8 +61,8 @@ fn Main() { // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.c6b = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.c6b = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.104 = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.104 = var_pattern %y.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %y.var: ref %i32 = var %y.var_patt // CHECK:STDOUT: %package.ref: = name_ref package, package [concrete = package] @@ -70,7 +70,7 @@ fn Main() { // CHECK:STDOUT: assign %y.var, // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %y: ref %i32 = ref_binding y, %y.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %y.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %y.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%y.var) // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/package_expr/syntax.carbon b/toolchain/check/testdata/package_expr/syntax.carbon index b82b40cbc9c4..cd397db1405b 100644 --- a/toolchain/check/testdata/package_expr/syntax.carbon +++ b/toolchain/check/testdata/package_expr/syntax.carbon @@ -53,34 +53,34 @@ fn Main() { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -92,12 +92,12 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -108,15 +108,15 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.c6b = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.104 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %i32 = var %x.var_patt [concrete] // CHECK:STDOUT: %i32.loc4: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %x: ref %i32 = ref_binding x, %x.var [concrete = %x.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.c6b = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.c6b = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.104 = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.104 = var_pattern %y.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %y.var: ref %i32 = var %y.var_patt [concrete] // CHECK:STDOUT: %i32.loc5: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -126,17 +126,17 @@ fn Main() { // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc4: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc4: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc4_1.1: = bound_method %int_0, %impl.elem0.loc4 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc4: = specific_function %impl.elem0.loc4, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc4_1.2: = bound_method %int_0, %specific_fn.loc4 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_1.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc4: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_1.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc4: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign file.%x.var, %.loc4 // CHECK:STDOUT: %package.ref: = name_ref package, package [concrete = package] // CHECK:STDOUT: %x.ref: ref %i32 = name_ref x, file.%x [concrete = file.%x.var] // CHECK:STDOUT: %.loc5: %i32 = acquire_value %x.ref -// CHECK:STDOUT: %impl.elem0.loc5: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc5: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc5_21.1: = bound_method %.loc5, %impl.elem0.loc5 // CHECK:STDOUT: %specific_fn.loc5: = specific_function %impl.elem0.loc5, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc5_21.2: = bound_method %.loc5, %specific_fn.loc5 @@ -155,43 +155,43 @@ fn Main() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -204,12 +204,12 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -221,8 +221,8 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.c6b = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.104 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %i32 = var %x.var_patt [concrete] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -233,29 +233,29 @@ fn Main() { // CHECK:STDOUT: fn @Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.c6b = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.c6b = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.104 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.104 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %i32 = var %x.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc7: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc7_3.1: = bound_method %int_1, %impl.elem0.loc7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc7: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc7_3.1: = bound_method %int_1, %impl.elem0.loc7 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_3.2: = bound_method %int_1, %specific_fn.loc7 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc7_3.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc7_3.2: = bound_method %int_1, %specific_fn.loc7 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc7_3.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign %x.var, %.loc7 // CHECK:STDOUT: %i32.loc7: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %x: ref %i32 = ref_binding x, %x.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.c6b = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.c6b = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.104 = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.104 = var_pattern %y.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %y.var: ref %i32 = var %y.var_patt // CHECK:STDOUT: %package.ref: = name_ref package, package [concrete = package] // CHECK:STDOUT: %x.ref: ref %i32 = name_ref x, file.%x [concrete = file.%x.var] // CHECK:STDOUT: %.loc9: %i32 = acquire_value %x.ref -// CHECK:STDOUT: %impl.elem0.loc9: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc9: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc9_30.1: = bound_method %.loc9, %impl.elem0.loc9 // CHECK:STDOUT: %specific_fn.loc9: = specific_function %impl.elem0.loc9, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc9_30.2: = bound_method %.loc9, %specific_fn.loc9 @@ -263,9 +263,9 @@ fn Main() { // CHECK:STDOUT: assign %y.var, %Int.as.Copy.impl.Op.call // CHECK:STDOUT: %i32.loc9: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %y: ref %i32 = ref_binding y, %y.var -// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %y.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc9: = bound_method %y.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc9: init %empty_tuple.type = call %Destroy.Op.bound.loc9(%y.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %x.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %x.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc7: init %empty_tuple.type = call %Destroy.Op.bound.loc7(%x.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -280,12 +280,12 @@ fn Main() { // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc4_1.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc4_1.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc4_1.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_1.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc4: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc4_1.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_1.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc4: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign file.%x.var, %.loc4 // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/packages/cross_package_export.carbon b/toolchain/check/testdata/packages/cross_package_export.carbon index fa2527fd4f15..39d0433ac640 100644 --- a/toolchain/check/testdata/packages/cross_package_export.carbon +++ b/toolchain/check/testdata/packages/cross_package_export.carbon @@ -293,8 +293,8 @@ alias C = Other.C; // CHECK:STDOUT: imports { // CHECK:STDOUT: %Other.C: type = import_ref Other//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.56d: = import_ref Other//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.0ba = import_ref Other//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Other.import_ref.d40 = import_ref Other//base, loc5_8, unloaded +// CHECK:STDOUT: %Other.import_ref.862 = import_ref Other//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Other.import_ref.657 = import_ref Other//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -309,8 +309,8 @@ alias C = Other.C; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.0ba -// CHECK:STDOUT: .x = imports.%Other.import_ref.d40 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.862 +// CHECK:STDOUT: .x = imports.%Other.import_ref.657 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- export_name_copy.carbon @@ -325,8 +325,8 @@ alias C = Other.C; // CHECK:STDOUT: imports { // CHECK:STDOUT: %Other.C: type = import_ref Other//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.56d: = import_ref Other//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.0ba = import_ref Other//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Other.import_ref.d40 = import_ref Other//base, loc5_8, unloaded +// CHECK:STDOUT: %Other.import_ref.862 = import_ref Other//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Other.import_ref.657 = import_ref Other//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -341,8 +341,8 @@ alias C = Other.C; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.0ba -// CHECK:STDOUT: .x = imports.%Other.import_ref.d40 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.862 +// CHECK:STDOUT: .x = imports.%Other.import_ref.657 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- export_name_indirect.carbon @@ -357,8 +357,8 @@ alias C = Other.C; // CHECK:STDOUT: imports { // CHECK:STDOUT: %Other.C: type = import_ref Other//export_name, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.ad3: = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.0c8 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Other.import_ref.4a4 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.b85 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.2e5 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -373,8 +373,8 @@ alias C = Other.C; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.0c8 -// CHECK:STDOUT: .x = imports.%Other.import_ref.4a4 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.b85 +// CHECK:STDOUT: .x = imports.%Other.import_ref.2e5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_export_import.carbon @@ -387,7 +387,7 @@ alias C = Other.C; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.e26: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.37a: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -399,8 +399,8 @@ alias C = Other.C; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.C: type = import_ref Other//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.56d: = import_ref Other//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.0ba = import_ref Other//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Other.import_ref.d40 = import_ref Other//base, loc5_8, unloaded +// CHECK:STDOUT: %Other.import_ref.862 = import_ref Other//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Other.import_ref.657 = import_ref Other//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -425,15 +425,15 @@ alias C = Other.C; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.0ba -// CHECK:STDOUT: .x = imports.%Other.import_ref.d40 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.862 +// CHECK:STDOUT: .x = imports.%Other.import_ref.657 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_25.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_26.1: %struct_type.x = struct_literal (%.loc6_25.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc6_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.e26] +// CHECK:STDOUT: %.loc6_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.37a] // CHECK:STDOUT: %.loc6_25.2: init %empty_tuple.type to %.loc6_26.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_26.3: init %empty_tuple.type = converted %.loc6_25.1, %.loc6_25.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_26.4: init %empty_tuple.type to %.loc6_26.2 = in_place_init %.loc6_26.3 [concrete = constants.%empty_tuple] @@ -453,7 +453,7 @@ alias C = Other.C; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.3de: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.37a: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -466,8 +466,8 @@ alias C = Other.C; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.C: type = import_ref Other//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.56d: = import_ref Other//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.0ba = import_ref Other//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Other.import_ref.d40 = import_ref Other//base, loc5_8, unloaded +// CHECK:STDOUT: %Other.import_ref.862 = import_ref Other//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Other.import_ref.657 = import_ref Other//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -492,15 +492,15 @@ alias C = Other.C; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.0ba -// CHECK:STDOUT: .x = imports.%Other.import_ref.d40 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.862 +// CHECK:STDOUT: .x = imports.%Other.import_ref.657 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc7_25.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_26.1: %struct_type.x = struct_literal (%.loc7_25.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc7_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.3de] +// CHECK:STDOUT: %.loc7_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.37a] // CHECK:STDOUT: %.loc7_25.2: init %empty_tuple.type to %.loc7_26.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_26.3: init %empty_tuple.type = converted %.loc7_25.1, %.loc7_25.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_26.4: init %empty_tuple.type to %.loc7_26.2 = in_place_init %.loc7_26.3 [concrete = constants.%empty_tuple] @@ -520,7 +520,7 @@ alias C = Other.C; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.6e6: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.37a: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -533,8 +533,8 @@ alias C = Other.C; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.C: type = import_ref Other//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.56d: = import_ref Other//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.0ba = import_ref Other//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Other.import_ref.d40 = import_ref Other//base, loc5_8, unloaded +// CHECK:STDOUT: %Other.import_ref.862 = import_ref Other//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Other.import_ref.657 = import_ref Other//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -559,15 +559,15 @@ alias C = Other.C; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.0ba -// CHECK:STDOUT: .x = imports.%Other.import_ref.d40 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.862 +// CHECK:STDOUT: .x = imports.%Other.import_ref.657 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_25.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_26.1: %struct_type.x = struct_literal (%.loc6_25.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc6_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.6e6] +// CHECK:STDOUT: %.loc6_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.37a] // CHECK:STDOUT: %.loc6_25.2: init %empty_tuple.type to %.loc6_26.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_26.3: init %empty_tuple.type = converted %.loc6_25.1, %.loc6_25.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_26.4: init %empty_tuple.type to %.loc6_26.2 = in_place_init %.loc6_26.3 [concrete = constants.%empty_tuple] @@ -587,7 +587,7 @@ alias C = Other.C; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.e18: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.37a: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -598,8 +598,8 @@ alias C = Other.C; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.C: type = import_ref Other//export_name, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.ad3: = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.0c8 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Other.import_ref.4a4 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.b85 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.2e5 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -624,15 +624,15 @@ alias C = Other.C; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.0c8 -// CHECK:STDOUT: .x = imports.%Other.import_ref.4a4 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.b85 +// CHECK:STDOUT: .x = imports.%Other.import_ref.2e5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_25.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_26.1: %struct_type.x = struct_literal (%.loc6_25.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc6_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.e18] +// CHECK:STDOUT: %.loc6_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.37a] // CHECK:STDOUT: %.loc6_25.2: init %empty_tuple.type to %.loc6_26.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_26.3: init %empty_tuple.type = converted %.loc6_25.1, %.loc6_25.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_26.4: init %empty_tuple.type to %.loc6_26.2 = in_place_init %.loc6_26.3 [concrete = constants.%empty_tuple] @@ -652,7 +652,7 @@ alias C = Other.C; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.c1f: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.37a: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -664,8 +664,8 @@ alias C = Other.C; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.C: type = import_ref Other//export_name, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.ad3: = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.0c8 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Other.import_ref.4a4 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.b85 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.2e5 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -690,15 +690,15 @@ alias C = Other.C; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.0c8 -// CHECK:STDOUT: .x = imports.%Other.import_ref.4a4 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.b85 +// CHECK:STDOUT: .x = imports.%Other.import_ref.2e5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc7_25.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_26.1: %struct_type.x = struct_literal (%.loc7_25.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc7_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.c1f] +// CHECK:STDOUT: %.loc7_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.37a] // CHECK:STDOUT: %.loc7_25.2: init %empty_tuple.type to %.loc7_26.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_26.3: init %empty_tuple.type = converted %.loc7_25.1, %.loc7_25.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_26.4: init %empty_tuple.type to %.loc7_26.2 = in_place_init %.loc7_26.3 [concrete = constants.%empty_tuple] @@ -718,7 +718,7 @@ alias C = Other.C; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.fe9: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.37a: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -729,8 +729,8 @@ alias C = Other.C; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.C: type = import_ref Other//export_name_indirect, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.328: = import_ref Other//export_name_indirect, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.61a = import_ref Other//export_name_indirect, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Other.import_ref.aef = import_ref Other//export_name_indirect, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.187 = import_ref Other//export_name_indirect, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.4a3 = import_ref Other//export_name_indirect, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -755,15 +755,15 @@ alias C = Other.C; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.328 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.61a -// CHECK:STDOUT: .x = imports.%Other.import_ref.aef +// CHECK:STDOUT: .Self = imports.%Other.import_ref.187 +// CHECK:STDOUT: .x = imports.%Other.import_ref.4a3 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_25.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_26.1: %struct_type.x = struct_literal (%.loc6_25.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc6_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.fe9] +// CHECK:STDOUT: %.loc6_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.37a] // CHECK:STDOUT: %.loc6_25.2: init %empty_tuple.type to %.loc6_26.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_26.3: init %empty_tuple.type = converted %.loc6_25.1, %.loc6_25.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_26.4: init %empty_tuple.type to %.loc6_26.2 = in_place_init %.loc6_26.3 [concrete = constants.%empty_tuple] @@ -783,7 +783,7 @@ alias C = Other.C; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.b89: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.37a: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -800,8 +800,8 @@ alias C = Other.C; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.C: type = import_ref Other//export_name, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.ad3: = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.0c8 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Other.import_ref.4a4 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.b85 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.2e5 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -826,15 +826,15 @@ alias C = Other.C; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.0c8 -// CHECK:STDOUT: .x = imports.%Other.import_ref.4a4 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.b85 +// CHECK:STDOUT: .x = imports.%Other.import_ref.2e5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc11_25.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc11_26.1: %struct_type.x = struct_literal (%.loc11_25.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc11_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.b89] +// CHECK:STDOUT: %.loc11_26.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.37a] // CHECK:STDOUT: %.loc11_25.2: init %empty_tuple.type to %.loc11_26.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc11_26.3: init %empty_tuple.type = converted %.loc11_25.1, %.loc11_25.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc11_26.4: init %empty_tuple.type to %.loc11_26.2 = in_place_init %.loc11_26.3 [concrete = constants.%empty_tuple] @@ -924,8 +924,8 @@ alias C = Other.C; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.C: type = import_ref Other//export_name, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Other.import_ref.ad3: = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.0c8 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Other.import_ref.4a4 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.b85 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Other.import_ref.2e5 = import_ref Other//export_name, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -943,7 +943,7 @@ alias C = Other.C; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.0c8 -// CHECK:STDOUT: .x = imports.%Other.import_ref.4a4 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.b85 +// CHECK:STDOUT: .x = imports.%Other.import_ref.2e5 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/packages/cross_package_import.carbon b/toolchain/check/testdata/packages/cross_package_import.carbon index 61795589a883..495fb8411fdd 100644 --- a/toolchain/check/testdata/packages/cross_package_import.carbon +++ b/toolchain/check/testdata/packages/cross_package_import.carbon @@ -480,10 +480,10 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: --- fail_main_namespace_conflict.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %F.type.eab4ea.1: type = fn_type @F.1 [concrete] -// CHECK:STDOUT: %F.14f67d.1: %F.type.eab4ea.1 = struct_value () [concrete] -// CHECK:STDOUT: %F.type.eab4ea.2: type = fn_type @F.loc23 [concrete] -// CHECK:STDOUT: %F.14f67d.2: %F.type.eab4ea.2 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.bae36f.1: type = fn_type @F.1 [concrete] +// CHECK:STDOUT: %F.55fa57.1: %F.type.bae36f.1 = struct_value () [concrete] +// CHECK:STDOUT: %F.type.bae36f.2: type = fn_type @F.loc23 [concrete] +// CHECK:STDOUT: %F.55fa57.2: %F.type.bae36f.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -492,7 +492,7 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: .F = %Other.F // CHECK:STDOUT: import Other//other_fn // CHECK:STDOUT: } -// CHECK:STDOUT: %Other.F: %F.type.eab4ea.1 = import_ref Other//other_fn, F, loaded [concrete = constants.%F.14f67d.1] +// CHECK:STDOUT: %Other.F: %F.type.bae36f.1 = import_ref Other//other_fn, F, loaded [concrete = constants.%F.55fa57.1] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -501,7 +501,7 @@ fn UseF() { Other.F(); } // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %Other.import = import Other -// CHECK:STDOUT: %F.decl: %F.type.eab4ea.2 = fn_decl @F.loc23 [concrete = constants.%F.14f67d.2] {} {} +// CHECK:STDOUT: %F.decl: %F.type.bae36f.2 = fn_decl @F.loc23 [concrete = constants.%F.55fa57.2] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F.1 [from "other_fn.carbon"]; diff --git a/toolchain/check/testdata/packages/export_import.carbon b/toolchain/check/testdata/packages/export_import.carbon index bcc9ce9f662c..d391ed5f24bf 100644 --- a/toolchain/check/testdata/packages/export_import.carbon +++ b/toolchain/check/testdata/packages/export_import.carbon @@ -298,15 +298,15 @@ export Poison; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.370: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -328,15 +328,15 @@ export Poison; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.1: %struct_type.x = struct_literal (%.loc6_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.370] +// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc6_19.2: init %empty_tuple.type to %.loc6_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.3: init %empty_tuple.type = converted %.loc6_19.1, %.loc6_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.4: init %empty_tuple.type to %.loc6_20.2 = in_place_init %.loc6_20.3 [concrete = constants.%empty_tuple] @@ -358,15 +358,15 @@ export Poison; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.e27: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//export_export, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -389,15 +389,15 @@ export Poison; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc4_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_20.1: %struct_type.x = struct_literal (%.loc4_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc4_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.e27] +// CHECK:STDOUT: %.loc4_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc4_19.2: init %empty_tuple.type to %.loc4_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_20.3: init %empty_tuple.type = converted %.loc4_19.1, %.loc4_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_20.4: init %empty_tuple.type to %.loc4_20.2 = in_place_init %.loc4_20.3 [concrete = constants.%empty_tuple] @@ -417,15 +417,15 @@ export Poison; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.205: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -447,15 +447,15 @@ export Poison; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.1: %struct_type.x = struct_literal (%.loc6_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.205] +// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc6_19.2: init %empty_tuple.type to %.loc6_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.3: init %empty_tuple.type = converted %.loc6_19.1, %.loc6_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.4: init %empty_tuple.type to %.loc6_20.2 = in_place_init %.loc6_20.3 [concrete = constants.%empty_tuple] @@ -475,15 +475,15 @@ export Poison; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.b00: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -505,15 +505,15 @@ export Poison; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.1: %struct_type.x = struct_literal (%.loc6_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.b00] +// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc6_19.2: init %empty_tuple.type to %.loc6_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.3: init %empty_tuple.type = converted %.loc6_19.1, %.loc6_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.4: init %empty_tuple.type to %.loc6_20.2 = in_place_init %.loc6_20.3 [concrete = constants.%empty_tuple] @@ -533,15 +533,15 @@ export Poison; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.917: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -563,15 +563,15 @@ export Poison; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.1: %struct_type.x = struct_literal (%.loc6_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.917] +// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc6_19.2: init %empty_tuple.type to %.loc6_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.3: init %empty_tuple.type = converted %.loc6_19.1, %.loc6_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.4: init %empty_tuple.type to %.loc6_20.2 = in_place_init %.loc6_20.3 [concrete = constants.%empty_tuple] @@ -591,15 +591,15 @@ export Poison; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.34f: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -621,15 +621,15 @@ export Poison; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc7_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.1: %struct_type.x = struct_literal (%.loc7_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.34f] +// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc7_19.2: init %empty_tuple.type to %.loc7_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.3: init %empty_tuple.type = converted %.loc7_19.1, %.loc7_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.4: init %empty_tuple.type to %.loc7_20.2 = in_place_init %.loc7_20.3 [concrete = constants.%empty_tuple] @@ -649,15 +649,15 @@ export Poison; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.c19: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -679,15 +679,15 @@ export Poison; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc7_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.1: %struct_type.x = struct_literal (%.loc7_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.c19] +// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc7_19.2: init %empty_tuple.type to %.loc7_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.3: init %empty_tuple.type = converted %.loc7_19.1, %.loc7_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.4: init %empty_tuple.type to %.loc7_20.2 = in_place_init %.loc7_20.3 [concrete = constants.%empty_tuple] @@ -707,15 +707,15 @@ export Poison; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.112: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -737,15 +737,15 @@ export Poison; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc7_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.1: %struct_type.x = struct_literal (%.loc7_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.112] +// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc7_19.2: init %empty_tuple.type to %.loc7_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.3: init %empty_tuple.type = converted %.loc7_19.1, %.loc7_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.4: init %empty_tuple.type to %.loc7_20.2 = in_place_init %.loc7_20.3 [concrete = constants.%empty_tuple] @@ -777,15 +777,15 @@ export Poison; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.674: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -807,15 +807,15 @@ export Poison; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc7_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.1: %struct_type.x = struct_literal (%.loc7_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.674] +// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc7_19.2: init %empty_tuple.type to %.loc7_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.3: init %empty_tuple.type = converted %.loc7_19.1, %.loc7_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.4: init %empty_tuple.type to %.loc7_20.2 = in_place_init %.loc7_20.3 [concrete = constants.%empty_tuple] @@ -835,7 +835,7 @@ export Poison; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.076: ref %empty_tuple.type = class_element_access file.%indirect_c.var, element0 [concrete] +// CHECK:STDOUT: %.df4: ref %empty_tuple.type = class_element_access file.%indirect_c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -843,8 +843,8 @@ export Poison; // CHECK:STDOUT: %Main.c = import_ref Main//use_non_export_then_base, c, unloaded // CHECK:STDOUT: %Main.C: type = import_ref Main//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -867,15 +867,15 @@ export Poison; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_28.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_29.1: %struct_type.x = struct_literal (%.loc6_28.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc6_29.2: ref %empty_tuple.type = class_element_access file.%indirect_c.var, element0 [concrete = constants.%.076] +// CHECK:STDOUT: %.loc6_29.2: ref %empty_tuple.type = class_element_access file.%indirect_c.var, element0 [concrete = constants.%.df4] // CHECK:STDOUT: %.loc6_28.2: init %empty_tuple.type to %.loc6_29.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_29.3: init %empty_tuple.type = converted %.loc6_28.1, %.loc6_28.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_29.4: init %empty_tuple.type to %.loc6_29.2 = in_place_init %.loc6_29.3 [concrete = constants.%empty_tuple] diff --git a/toolchain/check/testdata/packages/export_mixed.carbon b/toolchain/check/testdata/packages/export_mixed.carbon index c6c18513be01..37c4a8e3543d 100644 --- a/toolchain/check/testdata/packages/export_mixed.carbon +++ b/toolchain/check/testdata/packages/export_mixed.carbon @@ -189,8 +189,8 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %Main.C: type = import_ref Main//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.D = import_ref Main//base, D, unloaded // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -206,8 +206,8 @@ var d: D = {.y = ()}; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- export_name.carbon @@ -223,8 +223,8 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %Main.C: type = import_ref Main//base, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.D = import_ref Main//base, D, unloaded // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -240,8 +240,8 @@ var d: D = {.y = ()}; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- export_name_then_import.carbon @@ -267,15 +267,15 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.142: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//export_import_then_name, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.ad3: = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.038 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.751 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -297,15 +297,15 @@ var d: D = {.y = ()}; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.038 -// CHECK:STDOUT: .x = imports.%Main.import_ref.751 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 +// CHECK:STDOUT: .x = imports.%Main.import_ref.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.1: %struct_type.x = struct_literal (%.loc6_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.142] +// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc6_19.2: init %empty_tuple.type to %.loc6_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.3: init %empty_tuple.type = converted %.loc6_19.1, %.loc6_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.4: init %empty_tuple.type to %.loc6_20.2 = in_place_init %.loc6_20.3 [concrete = constants.%empty_tuple] @@ -325,15 +325,15 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.754: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//export_name, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.ad3: = import_ref Main//export_name, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.038 = import_ref Main//export_name, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.751 = import_ref Main//export_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//export_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//export_name, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -355,15 +355,15 @@ var d: D = {.y = ()}; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.038 -// CHECK:STDOUT: .x = imports.%Main.import_ref.751 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 +// CHECK:STDOUT: .x = imports.%Main.import_ref.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.1: %struct_type.x = struct_literal (%.loc6_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.754] +// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc6_19.2: init %empty_tuple.type to %.loc6_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.3: init %empty_tuple.type = converted %.loc6_19.1, %.loc6_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.4: init %empty_tuple.type to %.loc6_20.2 = in_place_init %.loc6_20.3 [concrete = constants.%empty_tuple] @@ -383,15 +383,15 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.ac6: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//export_import_then_name, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.ad3: = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.038 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.751 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -413,15 +413,15 @@ var d: D = {.y = ()}; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.038 -// CHECK:STDOUT: .x = imports.%Main.import_ref.751 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 +// CHECK:STDOUT: .x = imports.%Main.import_ref.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc7_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.1: %struct_type.x = struct_literal (%.loc7_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.ac6] +// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc7_19.2: init %empty_tuple.type to %.loc7_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.3: init %empty_tuple.type = converted %.loc7_19.1, %.loc7_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.4: init %empty_tuple.type to %.loc7_20.2 = in_place_init %.loc7_20.3 [concrete = constants.%empty_tuple] @@ -478,15 +478,15 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.eda: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//export_import_then_name, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.ad3: = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.038 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.751 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -508,15 +508,15 @@ var d: D = {.y = ()}; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.038 -// CHECK:STDOUT: .x = imports.%Main.import_ref.751 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 +// CHECK:STDOUT: .x = imports.%Main.import_ref.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc7_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.1: %struct_type.x = struct_literal (%.loc7_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.eda] +// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc7_19.2: init %empty_tuple.type to %.loc7_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.3: init %empty_tuple.type = converted %.loc7_19.1, %.loc7_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.4: init %empty_tuple.type to %.loc7_20.2 = in_place_init %.loc7_20.3 [concrete = constants.%empty_tuple] @@ -533,17 +533,17 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type.9be: = complete_type_witness %struct_type.x [concrete] -// CHECK:STDOUT: %pattern_type.75f: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct.948: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.c56: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %struct_type.y: type = struct_type {.y: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type.9f4: = complete_type_witness %struct_type.y [concrete] -// CHECK:STDOUT: %pattern_type.437: type = pattern_type %D [concrete] +// CHECK:STDOUT: %pattern_type.f1a: type = pattern_type %D [concrete] // CHECK:STDOUT: %struct.8ce: %struct_type.y = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.78d: ref %empty_tuple.type = class_element_access file.%d.var, element0 [concrete] +// CHECK:STDOUT: %.091: ref %empty_tuple.type = class_element_access file.%d.var, element0 [concrete] // CHECK:STDOUT: %D.val: %D = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -551,11 +551,11 @@ var d: D = {.y = ()}; // CHECK:STDOUT: %Main.C: type = import_ref Main//export_import_then_name, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.D: type = import_ref Main//base, D, loaded [concrete = constants.%D] // CHECK:STDOUT: %Main.import_ref.ad3: = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.9be] -// CHECK:STDOUT: %Main.import_ref.038 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.751 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//export_import_then_name, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: %Main.import_ref.5ab: = import_ref Main//base, loc10_1, loaded [concrete = constants.%complete_type.9f4] -// CHECK:STDOUT: %Main.import_ref.153 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.09a = import_ref Main//base, loc9_8, unloaded +// CHECK:STDOUT: %Main.import_ref.c42 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.be8 = import_ref Main//base, loc9_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -567,15 +567,15 @@ var d: D = {.y = ()}; // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.75f = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.75f = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt [concrete] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.437 = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.437 = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.f1a = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.f1a = var_pattern %d.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.var: ref %D = var %d.var_patt [concrete] // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%Main.D [concrete = constants.%D] @@ -586,23 +586,23 @@ var d: D = {.y = ()}; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.038 -// CHECK:STDOUT: .x = imports.%Main.import_ref.751 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 +// CHECK:STDOUT: .x = imports.%Main.import_ref.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @D [from "base.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.5ab // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.153 -// CHECK:STDOUT: .y = imports.%Main.import_ref.09a +// CHECK:STDOUT: .Self = imports.%Main.import_ref.c42 +// CHECK:STDOUT: .y = imports.%Main.import_ref.be8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc8_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_20.1: %struct_type.x = struct_literal (%.loc8_19.1) [concrete = constants.%struct.948] -// CHECK:STDOUT: %.loc8_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.c56] +// CHECK:STDOUT: %.loc8_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc8_19.2: init %empty_tuple.type to %.loc8_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_20.3: init %empty_tuple.type = converted %.loc8_19.1, %.loc8_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_20.4: init %empty_tuple.type to %.loc8_20.2 = in_place_init %.loc8_20.3 [concrete = constants.%empty_tuple] @@ -611,7 +611,7 @@ var d: D = {.y = ()}; // CHECK:STDOUT: assign file.%c.var, %.loc8_1 // CHECK:STDOUT: %.loc9_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc9_20.1: %struct_type.y = struct_literal (%.loc9_19.1) [concrete = constants.%struct.8ce] -// CHECK:STDOUT: %.loc9_20.2: ref %empty_tuple.type = class_element_access file.%d.var, element0 [concrete = constants.%.78d] +// CHECK:STDOUT: %.loc9_20.2: ref %empty_tuple.type = class_element_access file.%d.var, element0 [concrete = constants.%.091] // CHECK:STDOUT: %.loc9_19.2: init %empty_tuple.type to %.loc9_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc9_20.3: init %empty_tuple.type = converted %.loc9_19.1, %.loc9_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc9_20.4: init %empty_tuple.type to %.loc9_20.2 = in_place_init %.loc9_20.3 [concrete = constants.%empty_tuple] diff --git a/toolchain/check/testdata/packages/export_name.carbon b/toolchain/check/testdata/packages/export_name.carbon index 42e953e55237..c4d7597d94ba 100644 --- a/toolchain/check/testdata/packages/export_name.carbon +++ b/toolchain/check/testdata/packages/export_name.carbon @@ -271,11 +271,11 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %Main.NSC: type = import_ref Main//base, NSC, loaded [concrete = constants.%NSC] // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type.9be] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: %Main.import_ref.5ab: = import_ref Main//base, loc11_1, loaded [concrete = constants.%complete_type.9f4] -// CHECK:STDOUT: %Main.import_ref.bce = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.b8c = import_ref Main//base, loc10_8, unloaded +// CHECK:STDOUT: %Main.import_ref.8da = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.266 = import_ref Main//base, loc10_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -292,16 +292,16 @@ private export C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @NSC [from "base.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.5ab // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.bce -// CHECK:STDOUT: .y = imports.%Main.import_ref.b8c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.8da +// CHECK:STDOUT: .y = imports.%Main.import_ref.266 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- not_reexporting.carbon @@ -343,11 +343,11 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %Main.NSC: type = import_ref Main//export, NSC, loaded [concrete = constants.%NSC] // CHECK:STDOUT: %Main.import_ref.ad3: = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.9be] -// CHECK:STDOUT: %Main.import_ref.038 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.751 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: %Main.import_ref.63c: = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.9f4] -// CHECK:STDOUT: %Main.import_ref.a93 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.18c = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.5d2 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.a30 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -364,16 +364,16 @@ private export C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.038 -// CHECK:STDOUT: .x = imports.%Main.import_ref.751 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 +// CHECK:STDOUT: .x = imports.%Main.import_ref.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @NSC [from "export.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.63c // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a93 -// CHECK:STDOUT: .y = imports.%Main.import_ref.18c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.5d2 +// CHECK:STDOUT: .y = imports.%Main.import_ref.a30 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- export_in_impl.carbon @@ -389,17 +389,17 @@ private export C; // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type.9be: = complete_type_witness %struct_type.x [concrete] -// CHECK:STDOUT: %pattern_type.8c6: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct.948: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.370: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: %NSC: type = class_type @NSC [concrete] // CHECK:STDOUT: %struct_type.y: type = struct_type {.y: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type.9f4: = complete_type_witness %struct_type.y [concrete] -// CHECK:STDOUT: %pattern_type.0b8: type = pattern_type %NSC [concrete] +// CHECK:STDOUT: %pattern_type.bc9: type = pattern_type %NSC [concrete] // CHECK:STDOUT: %struct.8ce: %struct_type.y = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.350: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete] +// CHECK:STDOUT: %.bbb: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete] // CHECK:STDOUT: %NSC.val: %NSC = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -411,11 +411,11 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %Main.NSC: type = import_ref Main//export, NSC, loaded [concrete = constants.%NSC] // CHECK:STDOUT: %Main.import_ref.ad3: = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.9be] -// CHECK:STDOUT: %Main.import_ref.038 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.751 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: %Main.import_ref.63c: = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.9f4] -// CHECK:STDOUT: %Main.import_ref.a93 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.18c = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.5d2 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.a30 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -427,15 +427,15 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.8c6 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.8c6 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt [concrete] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %nsc.patt: %pattern_type.0b8 = ref_binding_pattern nsc [concrete] -// CHECK:STDOUT: %nsc.var_patt: %pattern_type.0b8 = var_pattern %nsc.patt [concrete] +// CHECK:STDOUT: %nsc.patt: %pattern_type.bc9 = ref_binding_pattern nsc [concrete] +// CHECK:STDOUT: %nsc.var_patt: %pattern_type.bc9 = var_pattern %nsc.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %nsc.var: ref %NSC = var %nsc.var_patt [concrete] // CHECK:STDOUT: %.loc7: type = splice_block %NSC.ref [concrete = constants.%NSC] { @@ -449,23 +449,23 @@ private export C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.038 -// CHECK:STDOUT: .x = imports.%Main.import_ref.751 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 +// CHECK:STDOUT: .x = imports.%Main.import_ref.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @NSC [from "export.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.63c // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a93 -// CHECK:STDOUT: .y = imports.%Main.import_ref.18c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.5d2 +// CHECK:STDOUT: .y = imports.%Main.import_ref.a30 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.1: %struct_type.x = struct_literal (%.loc6_19.1) [concrete = constants.%struct.948] -// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.370] +// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc6_19.2: init %empty_tuple.type to %.loc6_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.3: init %empty_tuple.type = converted %.loc6_19.1, %.loc6_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.4: init %empty_tuple.type to %.loc6_20.2 = in_place_init %.loc6_20.3 [concrete = constants.%empty_tuple] @@ -474,7 +474,7 @@ private export C; // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: %.loc7_26.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_27.1: %struct_type.y = struct_literal (%.loc7_26.1) [concrete = constants.%struct.8ce] -// CHECK:STDOUT: %.loc7_27.2: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete = constants.%.350] +// CHECK:STDOUT: %.loc7_27.2: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete = constants.%.bbb] // CHECK:STDOUT: %.loc7_26.2: init %empty_tuple.type to %.loc7_27.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_27.3: init %empty_tuple.type = converted %.loc7_26.1, %.loc7_26.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_27.4: init %empty_tuple.type to %.loc7_27.2 = in_place_init %.loc7_27.3 [concrete = constants.%empty_tuple] @@ -491,17 +491,17 @@ private export C; // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type.9be: = complete_type_witness %struct_type.x [concrete] -// CHECK:STDOUT: %pattern_type.106: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct.948: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.e27: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: %NSC: type = class_type @NSC [concrete] // CHECK:STDOUT: %struct_type.y: type = struct_type {.y: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type.9f4: = complete_type_witness %struct_type.y [concrete] -// CHECK:STDOUT: %pattern_type.ff1: type = pattern_type %NSC [concrete] +// CHECK:STDOUT: %pattern_type.bc9: type = pattern_type %NSC [concrete] // CHECK:STDOUT: %struct.8ce: %struct_type.y = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.9d8: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete] +// CHECK:STDOUT: %.bbb: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete] // CHECK:STDOUT: %NSC.val: %NSC = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -513,11 +513,11 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %Main.NSC: type = import_ref Main//export_export, NSC, loaded [concrete = constants.%NSC] // CHECK:STDOUT: %Main.import_ref.328: = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.9be] -// CHECK:STDOUT: %Main.import_ref.f5d = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.ce5 = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.a5e = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.c88 = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: %Main.import_ref.c12: = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.9f4] -// CHECK:STDOUT: %Main.import_ref.684 = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.b98 = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.947 = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.c0e = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -530,15 +530,15 @@ private export C; // CHECK:STDOUT: %default.import.loc2_29.1 = import // CHECK:STDOUT: %default.import.loc2_29.2 = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.106 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.106 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt [concrete] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %nsc.patt: %pattern_type.ff1 = ref_binding_pattern nsc [concrete] -// CHECK:STDOUT: %nsc.var_patt: %pattern_type.ff1 = var_pattern %nsc.patt [concrete] +// CHECK:STDOUT: %nsc.patt: %pattern_type.bc9 = ref_binding_pattern nsc [concrete] +// CHECK:STDOUT: %nsc.var_patt: %pattern_type.bc9 = var_pattern %nsc.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %nsc.var: ref %NSC = var %nsc.var_patt [concrete] // CHECK:STDOUT: %.loc5: type = splice_block %NSC.ref [concrete = constants.%NSC] { @@ -552,23 +552,23 @@ private export C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.328 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.f5d -// CHECK:STDOUT: .x = imports.%Main.import_ref.ce5 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.a5e +// CHECK:STDOUT: .x = imports.%Main.import_ref.c88 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @NSC [from "export_export.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.c12 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.684 -// CHECK:STDOUT: .y = imports.%Main.import_ref.b98 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.947 +// CHECK:STDOUT: .y = imports.%Main.import_ref.c0e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc4_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_20.1: %struct_type.x = struct_literal (%.loc4_19.1) [concrete = constants.%struct.948] -// CHECK:STDOUT: %.loc4_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.e27] +// CHECK:STDOUT: %.loc4_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc4_19.2: init %empty_tuple.type to %.loc4_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_20.3: init %empty_tuple.type = converted %.loc4_19.1, %.loc4_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_20.4: init %empty_tuple.type to %.loc4_20.2 = in_place_init %.loc4_20.3 [concrete = constants.%empty_tuple] @@ -577,7 +577,7 @@ private export C; // CHECK:STDOUT: assign file.%c.var, %.loc4_1 // CHECK:STDOUT: %.loc5_26.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc5_27.1: %struct_type.y = struct_literal (%.loc5_26.1) [concrete = constants.%struct.8ce] -// CHECK:STDOUT: %.loc5_27.2: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete = constants.%.9d8] +// CHECK:STDOUT: %.loc5_27.2: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete = constants.%.bbb] // CHECK:STDOUT: %.loc5_26.2: init %empty_tuple.type to %.loc5_27.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc5_27.3: init %empty_tuple.type = converted %.loc5_26.1, %.loc5_26.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc5_27.4: init %empty_tuple.type to %.loc5_27.2 = in_place_init %.loc5_27.3 [concrete = constants.%empty_tuple] @@ -594,17 +594,17 @@ private export C; // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type.9be: = complete_type_witness %struct_type.x [concrete] -// CHECK:STDOUT: %pattern_type.213: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct.948: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.205: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: %NSC: type = class_type @NSC [concrete] // CHECK:STDOUT: %struct_type.y: type = struct_type {.y: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type.9f4: = complete_type_witness %struct_type.y [concrete] -// CHECK:STDOUT: %pattern_type.04b: type = pattern_type %NSC [concrete] +// CHECK:STDOUT: %pattern_type.bc9: type = pattern_type %NSC [concrete] // CHECK:STDOUT: %struct.8ce: %struct_type.y = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.491: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete] +// CHECK:STDOUT: %.bbb: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete] // CHECK:STDOUT: %NSC.val: %NSC = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -616,11 +616,11 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %Main.NSC: type = import_ref Main//export_export, NSC, loaded [concrete = constants.%NSC] // CHECK:STDOUT: %Main.import_ref.328: = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.9be] -// CHECK:STDOUT: %Main.import_ref.f5d = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.ce5 = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.a5e = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.c88 = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: %Main.import_ref.c12: = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.9f4] -// CHECK:STDOUT: %Main.import_ref.684 = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.b98 = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.947 = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.c0e = import_ref Main//export_export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -632,15 +632,15 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.213 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.213 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt [concrete] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %nsc.patt: %pattern_type.04b = ref_binding_pattern nsc [concrete] -// CHECK:STDOUT: %nsc.var_patt: %pattern_type.04b = var_pattern %nsc.patt [concrete] +// CHECK:STDOUT: %nsc.patt: %pattern_type.bc9 = ref_binding_pattern nsc [concrete] +// CHECK:STDOUT: %nsc.var_patt: %pattern_type.bc9 = var_pattern %nsc.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %nsc.var: ref %NSC = var %nsc.var_patt [concrete] // CHECK:STDOUT: %.loc7: type = splice_block %NSC.ref [concrete = constants.%NSC] { @@ -654,23 +654,23 @@ private export C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.328 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.f5d -// CHECK:STDOUT: .x = imports.%Main.import_ref.ce5 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.a5e +// CHECK:STDOUT: .x = imports.%Main.import_ref.c88 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @NSC [from "export_export.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.c12 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.684 -// CHECK:STDOUT: .y = imports.%Main.import_ref.b98 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.947 +// CHECK:STDOUT: .y = imports.%Main.import_ref.c0e // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.1: %struct_type.x = struct_literal (%.loc6_19.1) [concrete = constants.%struct.948] -// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.205] +// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc6_19.2: init %empty_tuple.type to %.loc6_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.3: init %empty_tuple.type = converted %.loc6_19.1, %.loc6_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.4: init %empty_tuple.type to %.loc6_20.2 = in_place_init %.loc6_20.3 [concrete = constants.%empty_tuple] @@ -679,7 +679,7 @@ private export C; // CHECK:STDOUT: assign file.%c.var, %.loc6_1 // CHECK:STDOUT: %.loc7_26.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_27.1: %struct_type.y = struct_literal (%.loc7_26.1) [concrete = constants.%struct.8ce] -// CHECK:STDOUT: %.loc7_27.2: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete = constants.%.491] +// CHECK:STDOUT: %.loc7_27.2: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete = constants.%.bbb] // CHECK:STDOUT: %.loc7_26.2: init %empty_tuple.type to %.loc7_27.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_27.3: init %empty_tuple.type = converted %.loc7_26.1, %.loc7_26.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_27.4: init %empty_tuple.type to %.loc7_27.2 = in_place_init %.loc7_27.3 [concrete = constants.%empty_tuple] @@ -748,8 +748,8 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %Main.NSC = import_ref Main//base, NSC, unloaded // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -764,8 +764,8 @@ private export C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- import_both.carbon @@ -775,17 +775,17 @@ private export C; // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type.9be: = complete_type_witness %struct_type.x [concrete] -// CHECK:STDOUT: %pattern_type.cee: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct.948: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.58e: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: %NSC: type = class_type @NSC [concrete] // CHECK:STDOUT: %struct_type.y: type = struct_type {.y: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type.9f4: = complete_type_witness %struct_type.y [concrete] -// CHECK:STDOUT: %pattern_type.6bc: type = pattern_type %NSC [concrete] +// CHECK:STDOUT: %pattern_type.bc9: type = pattern_type %NSC [concrete] // CHECK:STDOUT: %struct.8ce: %struct_type.y = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.080: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete] +// CHECK:STDOUT: %.bbb: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete] // CHECK:STDOUT: %NSC.val: %NSC = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -797,11 +797,11 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %Main.NSC: type = import_ref Main//base, NSC, loaded [concrete = constants.%NSC] // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type.9be] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: %Main.import_ref.5ab: = import_ref Main//base, loc11_1, loaded [concrete = constants.%complete_type.9f4] -// CHECK:STDOUT: %Main.import_ref.bce = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.b8c = import_ref Main//base, loc10_8, unloaded +// CHECK:STDOUT: %Main.import_ref.8da = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.266 = import_ref Main//base, loc10_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -813,15 +813,15 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.cee = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.cee = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt [concrete] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %nsc.patt: %pattern_type.6bc = ref_binding_pattern nsc [concrete] -// CHECK:STDOUT: %nsc.var_patt: %pattern_type.6bc = var_pattern %nsc.patt [concrete] +// CHECK:STDOUT: %nsc.patt: %pattern_type.bc9 = ref_binding_pattern nsc [concrete] +// CHECK:STDOUT: %nsc.var_patt: %pattern_type.bc9 = var_pattern %nsc.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %nsc.var: ref %NSC = var %nsc.var_patt [concrete] // CHECK:STDOUT: %.loc8: type = splice_block %NSC.ref [concrete = constants.%NSC] { @@ -835,23 +835,23 @@ private export C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @NSC [from "base.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.5ab // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.bce -// CHECK:STDOUT: .y = imports.%Main.import_ref.b8c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.8da +// CHECK:STDOUT: .y = imports.%Main.import_ref.266 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc7_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.1: %struct_type.x = struct_literal (%.loc7_19.1) [concrete = constants.%struct.948] -// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.58e] +// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc7_19.2: init %empty_tuple.type to %.loc7_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.3: init %empty_tuple.type = converted %.loc7_19.1, %.loc7_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.4: init %empty_tuple.type to %.loc7_20.2 = in_place_init %.loc7_20.3 [concrete = constants.%empty_tuple] @@ -860,7 +860,7 @@ private export C; // CHECK:STDOUT: assign file.%c.var, %.loc7_1 // CHECK:STDOUT: %.loc8_26.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_27.1: %struct_type.y = struct_literal (%.loc8_26.1) [concrete = constants.%struct.8ce] -// CHECK:STDOUT: %.loc8_27.2: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete = constants.%.080] +// CHECK:STDOUT: %.loc8_27.2: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete = constants.%.bbb] // CHECK:STDOUT: %.loc8_26.2: init %empty_tuple.type to %.loc8_27.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_27.3: init %empty_tuple.type = converted %.loc8_26.1, %.loc8_26.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_27.4: init %empty_tuple.type to %.loc8_27.2 = in_place_init %.loc8_27.3 [concrete = constants.%empty_tuple] @@ -877,17 +877,17 @@ private export C; // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %struct_type.x: type = struct_type {.x: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type.9be: = complete_type_witness %struct_type.x [concrete] -// CHECK:STDOUT: %pattern_type.10f: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct.948: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.2f0: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: %NSC: type = class_type @NSC [concrete] // CHECK:STDOUT: %struct_type.y: type = struct_type {.y: %empty_tuple.type} [concrete] // CHECK:STDOUT: %complete_type.9f4: = complete_type_witness %struct_type.y [concrete] -// CHECK:STDOUT: %pattern_type.39d: type = pattern_type %NSC [concrete] +// CHECK:STDOUT: %pattern_type.bc9: type = pattern_type %NSC [concrete] // CHECK:STDOUT: %struct.8ce: %struct_type.y = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.3c8: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete] +// CHECK:STDOUT: %.bbb: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete] // CHECK:STDOUT: %NSC.val: %NSC = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -899,11 +899,11 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %Main.NSC: type = import_ref Main//export, NSC, loaded [concrete = constants.%NSC] // CHECK:STDOUT: %Main.import_ref.ad3: = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.9be] -// CHECK:STDOUT: %Main.import_ref.038 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.751 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: %Main.import_ref.63c: = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type.9f4] -// CHECK:STDOUT: %Main.import_ref.a93 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.18c = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.5d2 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.a30 = import_ref Main//export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -915,15 +915,15 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.10f = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.10f = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt [concrete] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %nsc.patt: %pattern_type.39d = ref_binding_pattern nsc [concrete] -// CHECK:STDOUT: %nsc.var_patt: %pattern_type.39d = var_pattern %nsc.patt [concrete] +// CHECK:STDOUT: %nsc.patt: %pattern_type.bc9 = ref_binding_pattern nsc [concrete] +// CHECK:STDOUT: %nsc.var_patt: %pattern_type.bc9 = var_pattern %nsc.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %nsc.var: ref %NSC = var %nsc.var_patt [concrete] // CHECK:STDOUT: %.loc8: type = splice_block %NSC.ref [concrete = constants.%NSC] { @@ -937,23 +937,23 @@ private export C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.038 -// CHECK:STDOUT: .x = imports.%Main.import_ref.751 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 +// CHECK:STDOUT: .x = imports.%Main.import_ref.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @NSC [from "export.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.63c // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a93 -// CHECK:STDOUT: .y = imports.%Main.import_ref.18c +// CHECK:STDOUT: .Self = imports.%Main.import_ref.5d2 +// CHECK:STDOUT: .y = imports.%Main.import_ref.a30 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc7_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.1: %struct_type.x = struct_literal (%.loc7_19.1) [concrete = constants.%struct.948] -// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.2f0] +// CHECK:STDOUT: %.loc7_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc7_19.2: init %empty_tuple.type to %.loc7_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.3: init %empty_tuple.type = converted %.loc7_19.1, %.loc7_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_20.4: init %empty_tuple.type to %.loc7_20.2 = in_place_init %.loc7_20.3 [concrete = constants.%empty_tuple] @@ -962,7 +962,7 @@ private export C; // CHECK:STDOUT: assign file.%c.var, %.loc7_1 // CHECK:STDOUT: %.loc8_26.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_27.1: %struct_type.y = struct_literal (%.loc8_26.1) [concrete = constants.%struct.8ce] -// CHECK:STDOUT: %.loc8_27.2: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete = constants.%.3c8] +// CHECK:STDOUT: %.loc8_27.2: ref %empty_tuple.type = class_element_access file.%nsc.var, element0 [concrete = constants.%.bbb] // CHECK:STDOUT: %.loc8_26.2: init %empty_tuple.type to %.loc8_27.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_27.3: init %empty_tuple.type = converted %.loc8_26.1, %.loc8_26.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_27.4: init %empty_tuple.type to %.loc8_27.2 = in_place_init %.loc8_27.3 [concrete = constants.%empty_tuple] @@ -1006,8 +1006,8 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %Main.NSC = import_ref Main//base, NSC, unloaded // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1023,8 +1023,8 @@ private export C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- use_repeat_export.carbon @@ -1037,15 +1037,15 @@ private export C; // CHECK:STDOUT: %pattern_type: type = pattern_type %C [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct: %struct_type.x = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.298: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %.347: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %C.val: %C = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C: type = import_ref Main//repeat_export, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.ad3: = import_ref Main//repeat_export, inst{{[0-9A-F]+}} [indirect], loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.038 = import_ref Main//repeat_export, inst{{[0-9A-F]+}} [indirect], unloaded -// CHECK:STDOUT: %Main.import_ref.751 = import_ref Main//repeat_export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.e41 = import_ref Main//repeat_export, inst{{[0-9A-F]+}} [indirect], unloaded +// CHECK:STDOUT: %Main.import_ref.0d5 = import_ref Main//repeat_export, inst{{[0-9A-F]+}} [indirect], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1067,15 +1067,15 @@ private export C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.ad3 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.038 -// CHECK:STDOUT: .x = imports.%Main.import_ref.751 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.e41 +// CHECK:STDOUT: .x = imports.%Main.import_ref.0d5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc6_19.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.1: %struct_type.x = struct_literal (%.loc6_19.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.298] +// CHECK:STDOUT: %.loc6_20.2: ref %empty_tuple.type = class_element_access file.%c.var, element0 [concrete = constants.%.347] // CHECK:STDOUT: %.loc6_19.2: init %empty_tuple.type to %.loc6_20.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.3: init %empty_tuple.type = converted %.loc6_19.1, %.loc6_19.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_20.4: init %empty_tuple.type to %.loc6_20.2 = in_place_init %.loc6_20.3 [concrete = constants.%empty_tuple] @@ -1102,8 +1102,8 @@ private export C; // CHECK:STDOUT: } // CHECK:STDOUT: %Main.NSC = import_ref Main//base, NSC, unloaded // CHECK:STDOUT: %Main.import_ref.56d: = import_ref Main//base, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.ac2 = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Main.import_ref.022 = import_ref Main//base, loc5_8, unloaded +// CHECK:STDOUT: %Main.import_ref.91a = import_ref Main//base, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.ddd = import_ref Main//base, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -1119,7 +1119,7 @@ private export C; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.56d // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.ac2 -// CHECK:STDOUT: .x = imports.%Main.import_ref.022 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.91a +// CHECK:STDOUT: .x = imports.%Main.import_ref.ddd // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/packages/fail_conflict_no_namespaces.carbon b/toolchain/check/testdata/packages/fail_conflict_no_namespaces.carbon index 6286acb091c9..c94addfd08a7 100644 --- a/toolchain/check/testdata/packages/fail_conflict_no_namespaces.carbon +++ b/toolchain/check/testdata/packages/fail_conflict_no_namespaces.carbon @@ -72,16 +72,16 @@ import library "var"; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.d7b: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%i32) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.962: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%i32) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.090: %T.as.DefaultOrUnformed.impl.Op.type.962 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %i32, (%DefaultOrUnformed.impl_witness.d7b) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.090, @T.as.DefaultOrUnformed.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.3a3: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%i32) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.e67: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%i32) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.e54: %T.as.DefaultOrUnformed.impl.Op.type.e67 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %i32, (%DefaultOrUnformed.impl_witness.3a3) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.e54, @T.as.DefaultOrUnformed.impl.Op(%i32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -93,8 +93,8 @@ import library "var"; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -104,8 +104,8 @@ import library "var"; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %Foo.patt: %pattern_type.c6b = ref_binding_pattern Foo [concrete] -// CHECK:STDOUT: %Foo.var_patt: %pattern_type.c6b = var_pattern %Foo.patt [concrete] +// CHECK:STDOUT: %Foo.patt: %pattern_type.104 = ref_binding_pattern Foo [concrete] +// CHECK:STDOUT: %Foo.var_patt: %pattern_type.104 = var_pattern %Foo.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %Foo.var: ref %i32 = var %Foo.var_patt [concrete] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -114,11 +114,11 @@ import library "var"; // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%i32, (constants.%DefaultOrUnformed.impl_witness.d7b) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%i32, (constants.%DefaultOrUnformed.impl_witness.3a3) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc4_13.1: %DefaultOrUnformed.type = converted constants.%i32, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc4_13.1 [concrete = constants.%i32] // CHECK:STDOUT: %.loc4_13.2: type = converted %.loc4_13.1, %as_type [concrete = constants.%i32] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.090, @T.as.DefaultOrUnformed.impl.Op(constants.%i32) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.e54, @T.as.DefaultOrUnformed.impl.Op(constants.%i32) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %i32 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%Foo.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return diff --git a/toolchain/check/testdata/packages/fail_export_name_member.carbon b/toolchain/check/testdata/packages/fail_export_name_member.carbon index 28f243e3b436..67b0f7a7bc63 100644 --- a/toolchain/check/testdata/packages/fail_export_name_member.carbon +++ b/toolchain/check/testdata/packages/fail_export_name_member.carbon @@ -77,8 +77,8 @@ export C.n; // CHECK:STDOUT: imports { // CHECK:STDOUT: %Foo.C: type = import_ref Foo//a, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Foo.import_ref.9fc: = import_ref Foo//a, loc6_1, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Foo.import_ref.ddc = import_ref Foo//a, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %Foo.import_ref.b76 = import_ref Foo//a, loc5_8, unloaded +// CHECK:STDOUT: %Foo.import_ref.b2e = import_ref Foo//a, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Foo.import_ref.049 = import_ref Foo//a, loc5_8, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -92,7 +92,7 @@ export C.n; // CHECK:STDOUT: complete_type_witness = imports.%Foo.import_ref.9fc // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Foo.import_ref.ddc -// CHECK:STDOUT: .n = imports.%Foo.import_ref.b76 +// CHECK:STDOUT: .Self = imports.%Foo.import_ref.b2e +// CHECK:STDOUT: .n = imports.%Foo.import_ref.049 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/packages/fail_import_type_error.carbon b/toolchain/check/testdata/packages/fail_import_type_error.carbon index 074ddc0cdca8..cae45eb21adc 100644 --- a/toolchain/check/testdata/packages/fail_import_type_error.carbon +++ b/toolchain/check/testdata/packages/fail_import_type_error.carbon @@ -122,7 +122,7 @@ var d: i32 = d_ref; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -154,29 +154,29 @@ var d: i32 = d_ref; // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt [concrete] // CHECK:STDOUT: %i32.loc6: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a: ref %i32 = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc7: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %b: ref %i32 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.c6b = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.c6b = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.104 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.104 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %i32 = var %c.var_patt [concrete] // CHECK:STDOUT: %i32.loc8: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %c: ref %i32 = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.c6b = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.c6b = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.104 = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.104 = var_pattern %d.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.var: ref %i32 = var %d.var_patt [concrete] // CHECK:STDOUT: %i32.loc9: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/packages/implicit_imports_entities.carbon b/toolchain/check/testdata/packages/implicit_imports_entities.carbon index 6cc85d557cb6..56e6408c80a7 100644 --- a/toolchain/check/testdata/packages/implicit_imports_entities.carbon +++ b/toolchain/check/testdata/packages/implicit_imports_entities.carbon @@ -329,11 +329,11 @@ import Other library "o1"; // CHECK:STDOUT: %C1: type = class_type @C1 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.e7a: type = pattern_type %C1 [concrete] +// CHECK:STDOUT: %pattern_type.ac5: type = pattern_type %C1 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %C1.val: %C1 = struct_value () [concrete] // CHECK:STDOUT: %C2: type = class_type @C2 [concrete] -// CHECK:STDOUT: %pattern_type.68a: type = pattern_type %C2 [concrete] +// CHECK:STDOUT: %pattern_type.6a7: type = pattern_type %C2 [concrete] // CHECK:STDOUT: %C2.val: %C2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -341,9 +341,9 @@ import Other library "o1"; // CHECK:STDOUT: %Main.C1: type = import_ref Main//mix_current_package, C1, loaded [concrete = constants.%C1] // CHECK:STDOUT: %Main.C2: type = import_ref Main//c2, C2, loaded [concrete = constants.%C2] // CHECK:STDOUT: %Main.import_ref.8f24d3.1: = import_ref Main//c1, loc4_11, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.a3b = import_ref Main//c1, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.9e7 = import_ref Main//c1, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Main.import_ref.8f24d3.2: = import_ref Main//c2, loc4_11, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.504 = import_ref Main//c2, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.6a4 = import_ref Main//c2, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -356,15 +356,15 @@ import Other library "o1"; // CHECK:STDOUT: %default.import.loc2_35.1 = import // CHECK:STDOUT: %default.import.loc2_35.2 = import // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c1.patt: %pattern_type.e7a = ref_binding_pattern c1 [concrete] -// CHECK:STDOUT: %c1.var_patt: %pattern_type.e7a = var_pattern %c1.patt [concrete] +// CHECK:STDOUT: %c1.patt: %pattern_type.ac5 = ref_binding_pattern c1 [concrete] +// CHECK:STDOUT: %c1.var_patt: %pattern_type.ac5 = var_pattern %c1.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c1.var: ref %C1 = var %c1.var_patt [concrete] // CHECK:STDOUT: %C1.ref: type = name_ref C1, imports.%Main.C1 [concrete = constants.%C1] // CHECK:STDOUT: %c1: ref %C1 = ref_binding c1, %c1.var [concrete = %c1.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c2.patt: %pattern_type.68a = ref_binding_pattern c2 [concrete] -// CHECK:STDOUT: %c2.var_patt: %pattern_type.68a = var_pattern %c2.patt [concrete] +// CHECK:STDOUT: %c2.patt: %pattern_type.6a7 = ref_binding_pattern c2 [concrete] +// CHECK:STDOUT: %c2.var_patt: %pattern_type.6a7 = var_pattern %c2.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c2.var: ref %C2 = var %c2.var_patt [concrete] // CHECK:STDOUT: %C2.ref: type = name_ref C2, imports.%Main.C2 [concrete = constants.%C2] @@ -375,14 +375,14 @@ import Other library "o1"; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a3b +// CHECK:STDOUT: .Self = imports.%Main.import_ref.9e7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C2 [from "c2.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f24d3.2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.504 +// CHECK:STDOUT: .Self = imports.%Main.import_ref.6a4 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -425,7 +425,7 @@ import Other library "o1"; // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.C1: type = import_ref Main//dup_c1, C1, loaded [concrete = constants.%C1] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//c1, loc4_11, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.a3b = import_ref Main//c1, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.9e7 = import_ref Main//c1, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -448,7 +448,7 @@ import Other library "o1"; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.a3b +// CHECK:STDOUT: .Self = imports.%Main.import_ref.9e7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -490,17 +490,17 @@ import Other library "o1"; // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.NS: = import_ref Main//use_ns, NS, loaded -// CHECK:STDOUT: %NS.935: = namespace %Main.NS, [concrete] { +// CHECK:STDOUT: %NS.aa7: = namespace %Main.NS, [concrete] { // CHECK:STDOUT: .C = %Main.C // CHECK:STDOUT: } // CHECK:STDOUT: %Main.C: type = import_ref Main//use_ns, C, loaded [concrete = constants.%C] // CHECK:STDOUT: %Main.import_ref.8f2: = import_ref Main//ns, loc5_13, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Main.import_ref.f5f = import_ref Main//ns, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Main.import_ref.59d = import_ref Main//ns, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .NS = imports.%NS.935 +// CHECK:STDOUT: .NS = imports.%NS.aa7 // CHECK:STDOUT: .c = %c // CHECK:STDOUT: } // CHECK:STDOUT: %default.import.loc2_22.1 = import @@ -511,7 +511,7 @@ import Other library "o1"; // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %C = var %c.var_patt [concrete] // CHECK:STDOUT: %.loc4: type = splice_block %C.ref [concrete = constants.%C] { -// CHECK:STDOUT: %NS.ref: = name_ref NS, imports.%NS.935 [concrete = imports.%NS.935] +// CHECK:STDOUT: %NS.ref: = name_ref NS, imports.%NS.aa7 [concrete = imports.%NS.aa7] // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: } // CHECK:STDOUT: %c: ref %C = ref_binding c, %c.var [concrete = %c.var] @@ -521,7 +521,7 @@ import Other library "o1"; // CHECK:STDOUT: complete_type_witness = imports.%Main.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Main.import_ref.f5f +// CHECK:STDOUT: .Self = imports.%Main.import_ref.59d // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -554,11 +554,11 @@ import Other library "o1"; // CHECK:STDOUT: %O1: type = class_type @O1 [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.5da: type = pattern_type %O1 [concrete] +// CHECK:STDOUT: %pattern_type.e6b: type = pattern_type %O1 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %O1.val: %O1 = struct_value () [concrete] // CHECK:STDOUT: %O2: type = class_type @O2 [concrete] -// CHECK:STDOUT: %pattern_type.c00: type = pattern_type %O2 [concrete] +// CHECK:STDOUT: %pattern_type.2d2: type = pattern_type %O2 [concrete] // CHECK:STDOUT: %O2.val: %O2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -571,10 +571,10 @@ import Other library "o1"; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.O1: type = import_ref Other//o1, O1, loaded [concrete = constants.%O1] // CHECK:STDOUT: %Other.import_ref.8f24d3.1: = import_ref Other//o1, loc4_11, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.bc3 = import_ref Other//o1, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Other.import_ref.e88 = import_ref Other//o1, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Other.O2: type = import_ref Other//o2, O2, loaded [concrete = constants.%O2] // CHECK:STDOUT: %Other.import_ref.8f24d3.2: = import_ref Other//o2, loc4_11, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.b24 = import_ref Other//o2, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Other.import_ref.4dd = import_ref Other//o2, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -587,8 +587,8 @@ import Other library "o1"; // CHECK:STDOUT: %default.import.loc2_25.2 = import // CHECK:STDOUT: %Other.import = import Other // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %o1.patt: %pattern_type.5da = ref_binding_pattern o1 [concrete] -// CHECK:STDOUT: %o1.var_patt: %pattern_type.5da = var_pattern %o1.patt [concrete] +// CHECK:STDOUT: %o1.patt: %pattern_type.e6b = ref_binding_pattern o1 [concrete] +// CHECK:STDOUT: %o1.var_patt: %pattern_type.e6b = var_pattern %o1.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %o1.var: ref %O1 = var %o1.var_patt [concrete] // CHECK:STDOUT: %.loc6: type = splice_block %O1.ref [concrete = constants.%O1] { @@ -597,8 +597,8 @@ import Other library "o1"; // CHECK:STDOUT: } // CHECK:STDOUT: %o1: ref %O1 = ref_binding o1, %o1.var [concrete = %o1.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %o2.patt: %pattern_type.c00 = ref_binding_pattern o2 [concrete] -// CHECK:STDOUT: %o2.var_patt: %pattern_type.c00 = var_pattern %o2.patt [concrete] +// CHECK:STDOUT: %o2.patt: %pattern_type.2d2 = ref_binding_pattern o2 [concrete] +// CHECK:STDOUT: %o2.var_patt: %pattern_type.2d2 = var_pattern %o2.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %o2.var: ref %O2 = var %o2.var_patt [concrete] // CHECK:STDOUT: %.loc7: type = splice_block %O2.ref [concrete = constants.%O2] { @@ -612,14 +612,14 @@ import Other library "o1"; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.8f24d3.1 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.bc3 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.e88 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @O2 [from "o2.carbon"] { // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.8f24d3.2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.b24 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.4dd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -668,7 +668,7 @@ import Other library "o1"; // CHECK:STDOUT: } // CHECK:STDOUT: %Other.O1: type = import_ref Other//o1, O1, loaded [concrete = constants.%O1] // CHECK:STDOUT: %Other.import_ref.8f2: = import_ref Other//o1, loc4_11, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Other.import_ref.bc3 = import_ref Other//o1, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Other.import_ref.e88 = import_ref Other//o1, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -695,7 +695,7 @@ import Other library "o1"; // CHECK:STDOUT: complete_type_witness = imports.%Other.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Other.import_ref.bc3 +// CHECK:STDOUT: .Self = imports.%Other.import_ref.e88 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { diff --git a/toolchain/check/testdata/packages/implicit_imports_prelude.carbon b/toolchain/check/testdata/packages/implicit_imports_prelude.carbon index 8396ecd0d103..4dd7aa61767d 100644 --- a/toolchain/check/testdata/packages/implicit_imports_prelude.carbon +++ b/toolchain/check/testdata/packages/implicit_imports_prelude.carbon @@ -33,24 +33,24 @@ var b: i32 = a; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -61,9 +61,9 @@ var b: i32 = a; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -73,8 +73,8 @@ var b: i32 = a; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.c6b = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.c6b = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.104 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.104 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt [concrete] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -84,12 +84,12 @@ var b: i32 = a; // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc4_1.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc4_1.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_1.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc4: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_1.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc4: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign file.%a.var, %.loc4 // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -102,48 +102,48 @@ var b: i32 = a; // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.ec3: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.c62: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.c59: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.fb0: %Int.as.Copy.impl.Op.type.c59 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.c36: = impl_witness imports.%Copy.impl_witness_table.03a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.e20: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.123: %Int.as.Copy.impl.Op.type.e20 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.c36) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.56d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.cf6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.56d, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.123, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.947: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.c83: %Int.as.Copy.impl.Op.type.947 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.7e7: = impl_witness imports.%Copy.impl_witness_table.53f, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.c58: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.59c: %Int.as.Copy.impl.Op.type.c58 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.7e7) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.fae: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.b11: type = fn_type_with_self_type %Copy.WithSelf.Op.type.fae, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.59c, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.a: ref %i32 = import_ref Main//lib, a, loaded [concrete = %a.var] -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .Int = %Core.Int // CHECK:STDOUT: .Copy = %Core.Copy // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %a.patt: %pattern_type.ec3 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.ec3 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.c62 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.c62 = var_pattern %a.patt [concrete] // CHECK:STDOUT: %a.var: ref %i32 = var %a.var_patt [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.8e5: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.c59) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.fb0)] -// CHECK:STDOUT: %Copy.impl_witness_table.03a = impl_witness_table (%Core.import_ref.8e5), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.3f2: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.947) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c83)] +// CHECK:STDOUT: %Copy.impl_witness_table.53f = impl_witness_table (%Core.import_ref.3f2), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .a = imports.%Main.a -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .b = %b // CHECK:STDOUT: } // CHECK:STDOUT: %default.import.loc2_19.1 = import // CHECK:STDOUT: %default.import.loc2_19.2 = import // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.ec3 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.ec3 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.c62 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.c62 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -154,7 +154,7 @@ var b: i32 = a; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a.ref: ref %i32 = name_ref a, imports.%Main.a [concrete = imports.%a.var] // CHECK:STDOUT: %.loc4: %i32 = acquire_value %a.ref -// CHECK:STDOUT: %impl.elem0: %.cf6 = impl_witness_access constants.%Copy.impl_witness.c36, element0 [concrete = constants.%Int.as.Copy.impl.Op.123] +// CHECK:STDOUT: %impl.elem0: %.b11 = impl_witness_access constants.%Copy.impl_witness.7e7, element0 [concrete = constants.%Int.as.Copy.impl.Op.59c] // CHECK:STDOUT: %bound_method.loc4_14.1: = bound_method %.loc4, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc4_14.2: = bound_method %.loc4, %specific_fn diff --git a/toolchain/check/testdata/packages/missing_prelude.carbon b/toolchain/check/testdata/packages/missing_prelude.carbon index 7c276ad857da..0588265630b0 100644 --- a/toolchain/check/testdata/packages/missing_prelude.carbon +++ b/toolchain/check/testdata/packages/missing_prelude.carbon @@ -193,18 +193,18 @@ let n: type = i32; // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %pattern_type.51d: type = pattern_type %T [symbolic] // CHECK:STDOUT: %N: %T = symbolic_binding N, 1 [symbolic] -// CHECK:STDOUT: %.604: Core.Form = init_form %X [concrete] -// CHECK:STDOUT: %pattern_type.184: type = pattern_type %X [concrete] +// CHECK:STDOUT: %.032: Core.Form = init_form %X [concrete] +// CHECK:STDOUT: %pattern_type.924: type = pattern_type %X [concrete] // CHECK:STDOUT: %Int.type: type = fn_type @Int [concrete] // CHECK:STDOUT: %Int: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: %X.val: %X = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.66d: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.66d = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.22c: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic] -// CHECK:STDOUT: %Self: %ImplicitAs.type.22c = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6e6: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic] +// CHECK:STDOUT: %Self: %ImplicitAs.type.6e6 = symbolic_binding Self, 1 [symbolic] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic] -// CHECK:STDOUT: %pattern_type.5fd: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %pattern_type.030: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %T [symbolic] // CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%T, %Self) [symbolic] // CHECK:STDOUT: %ImplicitAs.WithSelf.Convert: %ImplicitAs.WithSelf.Convert.type = struct_value () [symbolic] @@ -222,11 +222,11 @@ let n: type = i32; // CHECK:STDOUT: %Int.decl: %Int.type = fn_decl @Int [concrete = constants.%Int] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: %N.patt: @Int.%pattern_type (%pattern_type.51d) = symbolic_binding_pattern N, 1 [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.184 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.184 = return_slot_pattern %return.param_patt, %X.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.924 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.924 = return_slot_pattern %return.param_patt, %X.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] -// CHECK:STDOUT: %.loc6_35: Core.Form = init_form %X.ref [concrete = constants.%.604] +// CHECK:STDOUT: %.loc6_35: Core.Form = init_form %X.ref [concrete = constants.%.032] // CHECK:STDOUT: %.loc6_12.1: type = splice_block %.loc6_12.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc6_9: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %.loc6_12.2: type = type_literal type [concrete = type] @@ -240,7 +240,7 @@ let n: type = i32; // CHECK:STDOUT: %return.param: ref %X = out_param call_param0 // CHECK:STDOUT: %return: ref %X = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.decl: %ImplicitAs.type.66d = interface_decl @ImplicitAs [concrete = constants.%ImplicitAs.generic] { +// CHECK:STDOUT: %ImplicitAs.decl: %ImplicitAs.type.754 = interface_decl @ImplicitAs [concrete = constants.%ImplicitAs.generic] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc8_26.1: type = splice_block %.loc8_26.2 [concrete = type] { @@ -255,17 +255,17 @@ let n: type = i32; // CHECK:STDOUT: %T.loc8_23.1: type = symbolic_binding T, 0 [symbolic = %T.loc8_23.1 (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T.loc8_23.1)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.22c)] -// CHECK:STDOUT: %Self.loc8_32.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.22c) = symbolic_binding Self, 1 [symbolic = %Self.loc8_32.2 (constants.%Self)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T.loc8_23.1)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self.loc8_32.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self.loc8_32.2 (constants.%Self)] // CHECK:STDOUT: // CHECK:STDOUT: interface { -// CHECK:STDOUT: %Self.loc8_32.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.22c) = symbolic_binding Self, 1 [symbolic = %Self.loc8_32.2 (constants.%Self)] +// CHECK:STDOUT: %Self.loc8_32.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self.loc8_32.2 (constants.%Self)] // CHECK:STDOUT: %ImplicitAs.WithSelf.decl = interface_with_self_decl @ImplicitAs [concrete] // CHECK:STDOUT: // CHECK:STDOUT: !with Self: // CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.decl: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type) = fn_decl @ImplicitAs.WithSelf.Convert [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert)] { -// CHECK:STDOUT: %self.param_patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc9_18 (%pattern_type.5fd) = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc9_18 (%pattern_type.5fd) = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc9_18 (%pattern_type.030) = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc9_18 (%pattern_type.030) = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: %return.param_patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc9_31 (%pattern_type.51d) = out_param_pattern [concrete] // CHECK:STDOUT: %return.patt: @ImplicitAs.WithSelf.Convert.%pattern_type.loc9_31 (%pattern_type.51d) = return_slot_pattern %return.param_patt, %T.ref [concrete] // CHECK:STDOUT: } { @@ -273,8 +273,8 @@ let n: type = i32; // CHECK:STDOUT: %.loc9_31.2: Core.Form = init_form %T.ref [symbolic = %.loc9_31.1 (constants.%.184)] // CHECK:STDOUT: %self.param: @ImplicitAs.WithSelf.Convert.%Self.as_type.loc9_20.1 (%Self.as_type) = value_param call_param0 // CHECK:STDOUT: %.loc9_20.1: type = splice_block %.loc9_20.3 [symbolic = %Self.as_type.loc9_20.1 (constants.%Self.as_type)] { -// CHECK:STDOUT: %.loc9_20.2: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.22c) = specific_constant @ImplicitAs.%Self.loc8_32.1, @ImplicitAs(constants.%T) [symbolic = %Self (constants.%Self)] -// CHECK:STDOUT: %Self.ref: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.22c) = name_ref Self, %.loc9_20.2 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %.loc9_20.2: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = specific_constant @ImplicitAs.%Self.loc8_32.1, @ImplicitAs(constants.%T) [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %Self.ref: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = name_ref Self, %.loc9_20.2 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc9_20.2: type = facet_access_type %Self.ref [symbolic = %Self.as_type.loc9_20.1 (constants.%Self.as_type)] // CHECK:STDOUT: %.loc9_20.3: type = converted %Self.ref, %Self.as_type.loc9_20.2 [symbolic = %Self.as_type.loc9_20.1 (constants.%Self.as_type)] // CHECK:STDOUT: } @@ -319,12 +319,12 @@ let n: type = i32; // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(@ImplicitAs.%T.loc8_23.2: type, @ImplicitAs.%Self.loc8_32.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.22c)) { +// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(@ImplicitAs.%T.loc8_23.2: type, @ImplicitAs.%Self.loc8_32.1: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6)) { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.22c)] -// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.22c) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self)] // CHECK:STDOUT: %Self.as_type.loc9_20.1: type = facet_access_type %Self [symbolic = %Self.as_type.loc9_20.1 (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type.loc9_18: type = pattern_type %Self.as_type.loc9_20.1 [symbolic = %pattern_type.loc9_18 (constants.%pattern_type.5fd)] +// CHECK:STDOUT: %pattern_type.loc9_18: type = pattern_type %Self.as_type.loc9_20.1 [symbolic = %pattern_type.loc9_18 (constants.%pattern_type.030)] // CHECK:STDOUT: %.loc9_31.1: Core.Form = init_form %T [symbolic = %.loc9_31.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.loc9_31: type = pattern_type %T [symbolic = %pattern_type.loc9_31 (constants.%pattern_type.51d)] // CHECK:STDOUT: @@ -345,10 +345,10 @@ let n: type = i32; // CHECK:STDOUT: // CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%T, constants.%Self) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.22c +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.6e6 // CHECK:STDOUT: %Self => constants.%Self // CHECK:STDOUT: %Self.as_type.loc9_20.1 => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type.loc9_18 => constants.%pattern_type.5fd +// CHECK:STDOUT: %pattern_type.loc9_18 => constants.%pattern_type.030 // CHECK:STDOUT: %.loc9_31.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.loc9_31 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -359,7 +359,7 @@ let n: type = i32; // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %pattern_type.184: type = pattern_type %X [concrete] +// CHECK:STDOUT: %pattern_type.924: type = pattern_type %X [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = fn_type @Int [concrete] // CHECK:STDOUT: %Int: %Int.type = struct_value () [concrete] @@ -368,29 +368,29 @@ let n: type = i32; // CHECK:STDOUT: %N: %T = symbolic_binding N, 1 [symbolic] // CHECK:STDOUT: %pattern_type.dc0: type = pattern_type Core.IntLiteral [concrete] // CHECK:STDOUT: %Int.specific_fn: = specific_function %Int, @Int(Core.IntLiteral, %int_32) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.66d: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.66d = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.22c: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic] -// CHECK:STDOUT: %Self.224: %ImplicitAs.type.22c = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.870: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%T) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.559: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%T, %Self.224) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.6d1: %ImplicitAs.WithSelf.Convert.type.559 = struct_value () [symbolic] -// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.224 [symbolic] -// CHECK:STDOUT: %pattern_type.986: type = pattern_type %Self.as_type [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.6e6: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic] +// CHECK:STDOUT: %Self.b7e: %ImplicitAs.type.6e6 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.bf1: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%T) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c63: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%T, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.cba: %ImplicitAs.WithSelf.Convert.type.c63 = struct_value () [symbolic] +// CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self.b7e [symbolic] +// CHECK:STDOUT: %pattern_type.cbe: type = pattern_type %Self.as_type [symbolic] // CHECK:STDOUT: %.184: Core.Form = init_form %T [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.560: type = facet_type <@ImplicitAs, @ImplicitAs(type)> [concrete] -// CHECK:STDOUT: %Self.b7c: %ImplicitAs.type.560 = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.960: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(type, %Self.224) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.b07: %ImplicitAs.WithSelf.Convert.type.960 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.292: type = assoc_entity_type @ImplicitAs, @ImplicitAs(type) [concrete] -// CHECK:STDOUT: %assoc0.134: %ImplicitAs.assoc_type.292 = assoc_entity element0, imports.%Core.import_ref.d3c [concrete] -// CHECK:STDOUT: %assoc0.c7d: %ImplicitAs.assoc_type.870 = assoc_entity element0, imports.%Core.import_ref.ad3 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.1fb: type = facet_type <@ImplicitAs, @ImplicitAs(%X)> [concrete] -// CHECK:STDOUT: %Self.abc: %ImplicitAs.type.1fb = symbolic_binding Self, 1 [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.e9b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%X, %Self.224) [symbolic] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.af9: %ImplicitAs.WithSelf.Convert.type.e9b = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.assoc_type.8ea: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%X) [concrete] -// CHECK:STDOUT: %assoc0.21e: %ImplicitAs.assoc_type.8ea = assoc_entity element0, imports.%Core.import_ref.d3c [concrete] +// CHECK:STDOUT: %ImplicitAs.type.250: type = facet_type <@ImplicitAs, @ImplicitAs(type)> [concrete] +// CHECK:STDOUT: %Self.c69: %ImplicitAs.type.250 = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.519: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(type, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.29d: %ImplicitAs.WithSelf.Convert.type.519 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.171: type = assoc_entity_type @ImplicitAs, @ImplicitAs(type) [concrete] +// CHECK:STDOUT: %assoc0.8e4: %ImplicitAs.assoc_type.171 = assoc_entity element0, imports.%Core.import_ref.569 [concrete] +// CHECK:STDOUT: %assoc0.bd2: %ImplicitAs.assoc_type.bf1 = assoc_entity element0, imports.%Core.import_ref.cd5 [symbolic] +// CHECK:STDOUT: %ImplicitAs.type.07f: type = facet_type <@ImplicitAs, @ImplicitAs(%X)> [concrete] +// CHECK:STDOUT: %Self.186: %ImplicitAs.type.07f = symbolic_binding Self, 1 [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f81: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%X, %Self.b7e) [symbolic] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.24e: %ImplicitAs.WithSelf.Convert.type.f81 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.assoc_type.f79: type = assoc_entity_type @ImplicitAs, @ImplicitAs(%X) [concrete] +// CHECK:STDOUT: %assoc0.1dd: %ImplicitAs.assoc_type.f79 = assoc_entity element0, imports.%Core.import_ref.569 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -402,19 +402,19 @@ let n: type = i32; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.X: type = import_ref Core//prelude_fake_int, X, loaded [concrete = constants.%X] // CHECK:STDOUT: %Core.import_ref.8f2: = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, loaded [concrete = constants.%complete_type] -// CHECK:STDOUT: %Core.import_ref.911 = import_ref Core//prelude_fake_int, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %Core.import_ref.708 = import_ref Core//prelude_fake_int, inst{{[0-9A-F]+}} [no loc], unloaded // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude_fake_int, Int, loaded [concrete = constants.%Int] // CHECK:STDOUT: %Core.import_ref.b3bc94.1: type = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, loaded [symbolic = @Int.%T (constants.%T)] // CHECK:STDOUT: %Core.import_ref.b42: @Int.%T (%T) = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, loaded [symbolic = @Int.%N (constants.%N)] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.66d = import_ref Core//prelude_fake_int, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.159: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.870) = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.c7d)] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude_fake_int, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.195: @ImplicitAs.WithSelf.%ImplicitAs.assoc_type (%ImplicitAs.assoc_type.bf1) = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%assoc0 (constants.%assoc0.bd2)] // CHECK:STDOUT: %Core.Convert = import_ref Core//prelude_fake_int, Convert, unloaded -// CHECK:STDOUT: %Core.import_ref.d3c: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.559) = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.6d1)] +// CHECK:STDOUT: %Core.import_ref.569: @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert.type (%ImplicitAs.WithSelf.Convert.type.c63) = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.WithSelf.%ImplicitAs.WithSelf.Convert (constants.%ImplicitAs.WithSelf.Convert.cba)] // CHECK:STDOUT: %Core.import_ref.b3bc94.3: type = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%T (constants.%T)] -// CHECK:STDOUT: %Core.import_ref.58b5dd.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.22c) = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%Self (constants.%Self.224)] -// CHECK:STDOUT: %Core.import_ref.bfe = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.81ed31.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%Self (constants.%Self.b7e)] +// CHECK:STDOUT: %Core.import_ref.7df = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: %Core.import_ref.b3bc94.4: type = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, loaded [symbolic = @ImplicitAs.%T (constants.%T)] -// CHECK:STDOUT: %Core.import_ref.ad3 = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, unloaded +// CHECK:STDOUT: %Core.import_ref.cd5 = import_ref Core//prelude_fake_int, loc{{\d+_\d+}}, unloaded // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -424,7 +424,7 @@ let n: type = i32; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.184 = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.924 = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %.loc21_12: type = splice_block %X.ref [concrete = constants.%X] { // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] @@ -438,13 +438,13 @@ let n: type = i32; // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.22c)] -// CHECK:STDOUT: %Self: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.22c) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.224)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7e)] // CHECK:STDOUT: // CHECK:STDOUT: interface { // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Core.import_ref.bfe -// CHECK:STDOUT: .Convert = imports.%Core.import_ref.159 +// CHECK:STDOUT: .Self = imports.%Core.import_ref.7df +// CHECK:STDOUT: .Convert = imports.%Core.import_ref.195 // CHECK:STDOUT: witness = (imports.%Core.Convert) // CHECK:STDOUT: // CHECK:STDOUT: !requires: @@ -455,7 +455,7 @@ let n: type = i32; // CHECK:STDOUT: complete_type_witness = imports.%Core.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%Core.import_ref.911 +// CHECK:STDOUT: .Self = imports.%Core.import_ref.708 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic fn @Int(imports.%Core.import_ref.b3bc94.1: type, imports.%Core.import_ref.b42: @Int.%T (%T)) [from "prelude_fake_int.carbon"] { @@ -468,12 +468,12 @@ let n: type = i32; // CHECK:STDOUT: fn; // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(imports.%Core.import_ref.b3bc94.3: type, imports.%Core.import_ref.58b5dd.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.22c)) [from "prelude_fake_int.carbon"] { +// CHECK:STDOUT: generic fn @ImplicitAs.WithSelf.Convert(imports.%Core.import_ref.b3bc94.3: type, imports.%Core.import_ref.81ed31.2: @ImplicitAs.%ImplicitAs.type (%ImplicitAs.type.6e6)) [from "prelude_fake_int.carbon"] { // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic = %T (constants.%T)] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.22c)] -// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.22c) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.224)] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(%T)> [symbolic = %ImplicitAs.type (constants.%ImplicitAs.type.6e6)] +// CHECK:STDOUT: %Self: @ImplicitAs.WithSelf.Convert.%ImplicitAs.type (%ImplicitAs.type.6e6) = symbolic_binding Self, 1 [symbolic = %Self (constants.%Self.b7e)] // CHECK:STDOUT: %Self.as_type: type = facet_access_type %Self [symbolic = %Self.as_type (constants.%Self.as_type)] -// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.986)] +// CHECK:STDOUT: %pattern_type.1: type = pattern_type %Self.as_type [symbolic = %pattern_type.1 (constants.%pattern_type.cbe)] // CHECK:STDOUT: %.1: Core.Form = init_form %T [symbolic = %.1 (constants.%.184)] // CHECK:STDOUT: %pattern_type.2: type = pattern_type %T [symbolic = %pattern_type.2 (constants.%pattern_type.51d)] // CHECK:STDOUT: @@ -508,14 +508,14 @@ let n: type = i32; // CHECK:STDOUT: %T => constants.%T // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%T, constants.%Self.224) {} +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%T, constants.%Self.b7e) {} // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%T, constants.%Self.224) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf.Convert(constants.%T, constants.%Self.b7e) { // CHECK:STDOUT: %T => constants.%T -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.22c -// CHECK:STDOUT: %Self => constants.%Self.224 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.6e6 +// CHECK:STDOUT: %Self => constants.%Self.b7e // CHECK:STDOUT: %Self.as_type => constants.%Self.as_type -// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.986 +// CHECK:STDOUT: %pattern_type.1 => constants.%pattern_type.cbe // CHECK:STDOUT: %.1 => constants.%.184 // CHECK:STDOUT: %pattern_type.2 => constants.%pattern_type.51d // CHECK:STDOUT: } @@ -524,38 +524,38 @@ let n: type = i32; // CHECK:STDOUT: %T => type // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.560 -// CHECK:STDOUT: %Self => constants.%Self.b7c +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.250 +// CHECK:STDOUT: %Self => constants.%Self.c69 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(type, constants.%Self.224) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(type, constants.%Self.b7e) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => type -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.560 -// CHECK:STDOUT: %Self => constants.%Self.224 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.960 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.b07 -// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.292 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.134 +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.250 +// CHECK:STDOUT: %Self => constants.%Self.b7e +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.519 +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.29d +// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.171 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.8e4 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @ImplicitAs(constants.%X) { // CHECK:STDOUT: %T => constants.%X // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.1fb -// CHECK:STDOUT: %Self => constants.%Self.abc +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.07f +// CHECK:STDOUT: %Self => constants.%Self.186 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%X, constants.%Self.224) { +// CHECK:STDOUT: specific @ImplicitAs.WithSelf(constants.%X, constants.%Self.b7e) { // CHECK:STDOUT: !definition: // CHECK:STDOUT: %T => constants.%X -// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.1fb -// CHECK:STDOUT: %Self => constants.%Self.224 -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.e9b -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.af9 -// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.8ea -// CHECK:STDOUT: %assoc0 => constants.%assoc0.21e +// CHECK:STDOUT: %ImplicitAs.type => constants.%ImplicitAs.type.07f +// CHECK:STDOUT: %Self => constants.%Self.b7e +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type => constants.%ImplicitAs.WithSelf.Convert.type.f81 +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert => constants.%ImplicitAs.WithSelf.Convert.24e +// CHECK:STDOUT: %ImplicitAs.assoc_type => constants.%ImplicitAs.assoc_type.f79 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.1dd // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- prelude_use_in_prelude.carbon @@ -569,16 +569,16 @@ let n: type = i32; // CHECK:STDOUT: %N: %T = symbolic_binding N, 1 [symbolic] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] -// CHECK:STDOUT: %Int.5e5: type = class_type @Int, @Int(%T, %N) [symbolic] +// CHECK:STDOUT: %Int.30b: type = class_type @Int, @Int(%T, %N) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %pattern_type.dc0: type = pattern_type Core.IntLiteral [concrete] -// CHECK:STDOUT: %Int.5f1: type = class_type @Int, @Int(Core.IntLiteral, %int_32) [concrete] -// CHECK:STDOUT: %pattern_type.b32: type = pattern_type %Int.5f1 [concrete] +// CHECK:STDOUT: %Int.ec1: type = class_type @Int, @Int(Core.IntLiteral, %int_32) [concrete] +// CHECK:STDOUT: %pattern_type.1ff: type = pattern_type %Int.ec1 [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] -// CHECK:STDOUT: %Int.val: %Int.5f1 = struct_value () [concrete] -// CHECK:STDOUT: %.2a6: ref %Int.5f1 = temporary invalid, %Int.val [concrete] +// CHECK:STDOUT: %Int.val: %Int.ec1 = struct_value () [concrete] +// CHECK:STDOUT: %.c46: ref %Int.ec1 = temporary invalid, %Int.val [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -602,15 +602,15 @@ let n: type = i32; // CHECK:STDOUT: %N.loc6_29.2: @Int.%T.loc6_12.1 (%T) = symbolic_binding N, 1 [symbolic = %N.loc6_29.1 (constants.%N)] // CHECK:STDOUT: } // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.b32 = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.1ff = value_binding_pattern n [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc8_8: type = type_literal constants.%Int.5f1 [concrete = constants.%Int.5f1] -// CHECK:STDOUT: %.loc8_15.1: ref %Int.5f1 = temporary_storage -// CHECK:STDOUT: %.loc8_15.2: init %Int.5f1 to %.loc8_15.1 = class_init () [concrete = constants.%Int.val] -// CHECK:STDOUT: %.loc8_15.3: init %Int.5f1 = converted @__global_init.%.loc8, %.loc8_15.2 [concrete = constants.%Int.val] -// CHECK:STDOUT: %.loc8_15.4: ref %Int.5f1 = temporary %.loc8_15.1, %.loc8_15.3 [concrete = constants.%.2a6] -// CHECK:STDOUT: %.loc8_15.5: %Int.5f1 = acquire_value %.loc8_15.4 [concrete = constants.%Int.val] -// CHECK:STDOUT: %n: %Int.5f1 = value_binding n, %.loc8_15.5 +// CHECK:STDOUT: %.loc8_8: type = type_literal constants.%Int.ec1 [concrete = constants.%Int.ec1] +// CHECK:STDOUT: %.loc8_15.1: ref %Int.ec1 = temporary_storage +// CHECK:STDOUT: %.loc8_15.2: init %Int.ec1 to %.loc8_15.1 = class_init () [concrete = constants.%Int.val] +// CHECK:STDOUT: %.loc8_15.3: init %Int.ec1 = converted @__global_init.%.loc8, %.loc8_15.2 [concrete = constants.%Int.val] +// CHECK:STDOUT: %.loc8_15.4: ref %Int.ec1 = temporary %.loc8_15.1, %.loc8_15.3 [concrete = constants.%.c46] +// CHECK:STDOUT: %.loc8_15.5: %Int.ec1 = acquire_value %.loc8_15.4 [concrete = constants.%Int.val] +// CHECK:STDOUT: %n: %Int.ec1 = value_binding n, %.loc8_15.5 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @Int(%T.loc6_12.2: type, %N.loc6_29.2: @Int.%T.loc6_12.1 (%T)) { @@ -625,7 +625,7 @@ let n: type = i32; // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%Int.5e5 +// CHECK:STDOUT: .Self = constants.%Int.30b // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/packages/raw_core.carbon b/toolchain/check/testdata/packages/raw_core.carbon index 1ae405a636f3..3d3874c7b90e 100644 --- a/toolchain/check/testdata/packages/raw_core.carbon +++ b/toolchain/check/testdata/packages/raw_core.carbon @@ -96,12 +96,12 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import.1, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import.1, [concrete] { // CHECK:STDOUT: .Int = %Core.Int // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.6d0: = namespace file.%Core.import.loc4, [concrete] { +// CHECK:STDOUT: %Core.164: = namespace file.%Core.import.loc4, [concrete] { // CHECK:STDOUT: .F = %Core.F // CHECK:STDOUT: import Core//default // CHECK:STDOUT: } @@ -111,8 +111,8 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core.b38 -// CHECK:STDOUT: .r#Core = imports.%Core.6d0 +// CHECK:STDOUT: .Core = imports.%Core.979 +// CHECK:STDOUT: .r#Core = imports.%Core.164 // CHECK:STDOUT: .G = %G.decl // CHECK:STDOUT: .H = %H.decl // CHECK:STDOUT: } @@ -124,7 +124,7 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %Core.ref: = name_ref r#Core, imports.%Core.6d0 [concrete = imports.%Core.6d0] +// CHECK:STDOUT: %Core.ref: = name_ref r#Core, imports.%Core.164 [concrete = imports.%Core.164] // CHECK:STDOUT: %F.ref: %F.type = name_ref F, imports.%Core.F [concrete = constants.%F] // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref() // CHECK:STDOUT: return @@ -134,7 +134,7 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: // CHECK:STDOUT: fn @H() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core.b38 [concrete = imports.%Core.b38] +// CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core.979 [concrete = imports.%Core.979] // CHECK:STDOUT: %Int.ref: %Int.type = name_ref Int, imports.%Core.Int [concrete = constants.%Int.generic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(constants.%int_32) [concrete = constants.%i32] @@ -152,12 +152,12 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import.1, [concrete] { +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import.1, [concrete] { // CHECK:STDOUT: .F = // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.6d0: = namespace file.%Core.import.loc4, [concrete] { +// CHECK:STDOUT: %Core.164: = namespace file.%Core.import.loc4, [concrete] { // CHECK:STDOUT: .Int = // CHECK:STDOUT: import Core//default // CHECK:STDOUT: } @@ -165,8 +165,8 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: package: = namespace [concrete] { -// CHECK:STDOUT: .Core = imports.%Core.b38 -// CHECK:STDOUT: .r#Core = imports.%Core.6d0 +// CHECK:STDOUT: .Core = imports.%Core.979 +// CHECK:STDOUT: .r#Core = imports.%Core.164 // CHECK:STDOUT: .G = %G.decl // CHECK:STDOUT: .H = %H.decl // CHECK:STDOUT: } @@ -178,14 +178,14 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core.b38 [concrete = imports.%Core.b38] +// CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core.979 [concrete = imports.%Core.979] // CHECK:STDOUT: %F.ref: = name_ref F, [concrete = ] // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @H() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %Core.ref: = name_ref r#Core, imports.%Core.6d0 [concrete = imports.%Core.6d0] +// CHECK:STDOUT: %Core.ref: = name_ref r#Core, imports.%Core.164 [concrete = imports.%Core.164] // CHECK:STDOUT: %Int.ref: = name_ref Int, [concrete = ] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] // CHECK:STDOUT: return @@ -202,40 +202,40 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Core.elem: type = unbound_element_type %Core, %i32 [concrete] // CHECK:STDOUT: %struct_type.n: type = struct_type {.n: %i32} [concrete] -// CHECK:STDOUT: %complete_type.059: = complete_type_witness %struct_type.n [concrete] -// CHECK:STDOUT: %pattern_type.f50: type = pattern_type %Core [concrete] +// CHECK:STDOUT: %complete_type.edf: = complete_type_witness %struct_type.n [concrete] +// CHECK:STDOUT: %pattern_type.faa: type = pattern_type %Core [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %As.type.fa8: type = generic_interface_type @As [concrete] -// CHECK:STDOUT: %As.generic: %As.type.fa8 = struct_value () [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %As.type.909: type = generic_interface_type @As [concrete] +// CHECK:STDOUT: %As.generic: %As.type.909 = struct_value () [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.1fb: = bound_method %int_0.5c6, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %struct: %struct_type.n = struct_value (%int_0.155) [concrete] -// CHECK:STDOUT: %.a9a: ref %i32 = class_element_access file.%c.var, element0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.84c: = bound_method %int_0.5c6, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %struct: %struct_type.n = struct_value (%int_0.62d) [concrete] +// CHECK:STDOUT: %.125: ref %i32 = class_element_access file.%c.var, element0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_0.155, %Int.as.Copy.impl.Op.c4a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.f2e: = bound_method %int_0.155, %Int.as.Copy.impl.Op.specific_fn [concrete] -// CHECK:STDOUT: %Core.val: %Core = struct_value (%int_0.155) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_0.62d, %Int.as.Copy.impl.Op.ce7 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.021: = bound_method %int_0.62d, %Int.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %Core.val: %Core = struct_value (%int_0.62d) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -247,12 +247,12 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.As: %As.type.fa8 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.As: %As.type.909 = import_ref Core//prelude/parts/as, As, loaded [concrete = constants.%As.generic] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -264,8 +264,8 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Core.decl: type = class_decl @Core [concrete = constants.%Core] {} {} // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.f50 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.f50 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.faa = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.faa = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %Core = var %c.var_patt [concrete] // CHECK:STDOUT: %Core.ref: type = name_ref r#Core, %Core.decl [concrete = constants.%Core] @@ -274,7 +274,7 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: // CHECK:STDOUT: class @Core { // CHECK:STDOUT: %.loc3: %Core.elem = field_decl n, element0 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.059] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n [concrete = constants.%complete_type.edf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -289,21 +289,21 @@ var c: r#Core = {.n = 0 as Core.Int(32)}; // CHECK:STDOUT: %Int.ref: %Int.type = name_ref Int, imports.%Core.Int [concrete = constants.%Int.generic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(constants.%int_32) [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc6_25.1: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] +// CHECK:STDOUT: %impl.elem0.loc6_25.1: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] // CHECK:STDOUT: %bound_method.loc6_25.1: = bound_method %int_0, %impl.elem0.loc6_25.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc6_25.1: = specific_function %impl.elem0.loc6_25.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_25.2: = bound_method %int_0, %specific_fn.loc6_25.1 [concrete = constants.%bound_method.1fb] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc6_25.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc6_25.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc6_25.2: %i32 = converted %int_0, %.loc6_25.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc6_25.2: = bound_method %int_0, %specific_fn.loc6_25.1 [concrete = constants.%bound_method.84c] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call: init %i32 = call %bound_method.loc6_25.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc6_25.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc6_25.2: %i32 = converted %int_0, %.loc6_25.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc6_40.1: %struct_type.n = struct_literal (%.loc6_25.2) [concrete = constants.%struct] -// CHECK:STDOUT: %impl.elem0.loc6_25.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc6_25.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc6_25.3: = bound_method %.loc6_25.2, %impl.elem0.loc6_25.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc6_25.2: = specific_function %impl.elem0.loc6_25.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_25.4: = bound_method %.loc6_25.2, %specific_fn.loc6_25.2 [concrete = constants.%bound_method.f2e] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_25.4(%.loc6_25.2) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc6_40.2: ref %i32 = class_element_access file.%c.var, element0 [concrete = constants.%.a9a] -// CHECK:STDOUT: %.loc6_40.3: init %i32 to %.loc6_40.2 = in_place_init %Int.as.Copy.impl.Op.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc6_25.4: = bound_method %.loc6_25.2, %specific_fn.loc6_25.2 [concrete = constants.%bound_method.021] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc6_25.4(%.loc6_25.2) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc6_40.2: ref %i32 = class_element_access file.%c.var, element0 [concrete = constants.%.125] +// CHECK:STDOUT: %.loc6_40.3: init %i32 to %.loc6_40.2 = in_place_init %Int.as.Copy.impl.Op.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc6_40.4: init %Core to file.%c.var = class_init (%.loc6_40.3) [concrete = constants.%Core.val] // CHECK:STDOUT: %.loc6_1: init %Core = converted %.loc6_40.1, %.loc6_40.4 [concrete = constants.%Core.val] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 diff --git a/toolchain/check/testdata/pointer/address_of_deref.carbon b/toolchain/check/testdata/pointer/address_of_deref.carbon index 7d91fac6f7aa..c1c6e4de3ff2 100644 --- a/toolchain/check/testdata/pointer/address_of_deref.carbon +++ b/toolchain/check/testdata/pointer/address_of_deref.carbon @@ -26,42 +26,42 @@ fn F() -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc16_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc16_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -74,12 +74,12 @@ fn F() -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -90,11 +90,11 @@ fn F() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -103,32 +103,32 @@ fn F() -> i32 { // CHECK:STDOUT: fn @F() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = ref_binding_pattern n [concrete] -// CHECK:STDOUT: %n.var_patt: %pattern_type.c6b = var_pattern %n.patt [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = ref_binding_pattern n [concrete] +// CHECK:STDOUT: %n.var_patt: %pattern_type.104 = var_pattern %n.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %n.var: ref %i32 = var %n.var_patt // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc16: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc16: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc16_3.1: = bound_method %int_0, %impl.elem0.loc16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc16_3.2: = bound_method %int_0, %specific_fn.loc16 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_3.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc16: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_3.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc16: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign %n.var, %.loc16 // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: ref %i32 = ref_binding n, %n.var // CHECK:STDOUT: %n.ref: ref %i32 = name_ref n, %n -// CHECK:STDOUT: %addr.loc17_13: %ptr.143 = addr_of %n.ref +// CHECK:STDOUT: %addr.loc17_13: %ptr.847 = addr_of %n.ref // CHECK:STDOUT: %.loc17_12: ref %i32 = deref %addr.loc17_13 -// CHECK:STDOUT: %addr.loc17_11: %ptr.143 = addr_of %.loc17_12 +// CHECK:STDOUT: %addr.loc17_11: %ptr.847 = addr_of %.loc17_12 // CHECK:STDOUT: %.loc17_10.1: ref %i32 = deref %addr.loc17_11 // CHECK:STDOUT: %.loc17_10.2: %i32 = acquire_value %.loc17_10.1 -// CHECK:STDOUT: %impl.elem0.loc17: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc17: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc17_10.1: = bound_method %.loc17_10.2, %impl.elem0.loc17 // CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc17_10.2: = bound_method %.loc17_10.2, %specific_fn.loc17 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc17_10.2(%.loc17_10.2) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %n.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %n.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%n.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/pointer/address_of_lvalue.carbon b/toolchain/check/testdata/pointer/address_of_lvalue.carbon index becaf8585ce9..bfad36326370 100644 --- a/toolchain/check/testdata/pointer/address_of_lvalue.carbon +++ b/toolchain/check/testdata/pointer/address_of_lvalue.carbon @@ -34,72 +34,72 @@ fn F() { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %struct_type.a.b.602: type = struct_type {.a: %i32, .b: %i32} [concrete] +// CHECK:STDOUT: %struct_type.a.b.b47: type = struct_type {.a: %i32, .b: %i32} [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %ptr.148: type = ptr_type %struct_type.a.b.602 [concrete] -// CHECK:STDOUT: %pattern_type.32c: type = pattern_type %struct_type.a.b.602 [concrete] +// CHECK:STDOUT: %ptr.d1a: type = ptr_type %struct_type.a.b.b47 [concrete] +// CHECK:STDOUT: %pattern_type.941: type = pattern_type %struct_type.a.b.b47 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.4aa: %struct_type.a.b.cfd = struct_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %struct.a0d: %struct_type.a.b.602 = struct_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %pattern_type.d1b: type = pattern_type %ptr.148 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %struct.8fc: %struct_type.a.b.b47 = struct_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %pattern_type.2b4: type = pattern_type %ptr.d1a [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.1d8: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%struct_type.a.b.602) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.f07: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%struct_type.a.b.602) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.2d9: %ptr.as.Copy.impl.Op.type.f07 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.803: %Copy.type = facet_value %ptr.148, (%Copy.impl_witness.1d8) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.a1f: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.803) [concrete] -// CHECK:STDOUT: %.8d4: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a1f, %Copy.facet.803 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.f36: = specific_function %ptr.as.Copy.impl.Op.2d9, @ptr.as.Copy.impl.Op(%struct_type.a.b.602) [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.425: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.425) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet.425 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.fe2: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.29b: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%struct_type.a.b.b47) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.dd7: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%struct_type.a.b.b47) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.cd8: %ptr.as.Copy.impl.Op.type.dd7 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.52b: %Copy.type = facet_value %ptr.d1a, (%Copy.impl_witness.29b) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.8cb: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.52b) [concrete] +// CHECK:STDOUT: %.dc2: type = fn_type_with_self_type %Copy.WithSelf.Op.type.8cb, %Copy.facet.52b [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.060: = specific_function %ptr.as.Copy.impl.Op.cd8, @ptr.as.Copy.impl.Op(%struct_type.a.b.b47) [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.17a: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.17a) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet.17a [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.cef: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.8e3: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %pattern_type.624: type = pattern_type %tuple.type.87c [concrete] +// CHECK:STDOUT: %tuple.79d: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %pattern_type.7d6: type = pattern_type %tuple.type.e5a [concrete] // CHECK:STDOUT: %tuple.type.f94: type = tuple_type (Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.ad8: %tuple.type.f94 = tuple_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %tuple.03f: %tuple.type.87c = tuple_value (%int_1.d5e, %int_2.4ff) [concrete] +// CHECK:STDOUT: %tuple.cd5: %tuple.type.e5a = tuple_value (%int_1.d9c, %int_2.228) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc24 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc22_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc18 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc16 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc24 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc22_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc18 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc16 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -112,12 +112,12 @@ fn F() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -133,188 +133,188 @@ fn F() { // CHECK:STDOUT: fn @F() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %s.patt: %pattern_type.32c = ref_binding_pattern s [concrete] -// CHECK:STDOUT: %s.var_patt: %pattern_type.32c = var_pattern %s.patt [concrete] +// CHECK:STDOUT: %s.patt: %pattern_type.941 = ref_binding_pattern s [concrete] +// CHECK:STDOUT: %s.var_patt: %pattern_type.941 = var_pattern %s.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %s.var: ref %struct_type.a.b.602 = var %s.var_patt +// CHECK:STDOUT: %s.var: ref %struct_type.a.b.b47 = var %s.var_patt // CHECK:STDOUT: %int_1.loc16: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc16: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc16_46.1: %struct_type.a.b.cfd = struct_literal (%int_1.loc16, %int_2.loc16) [concrete = constants.%struct.4aa] -// CHECK:STDOUT: %impl.elem0.loc16_46.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_46.1: = bound_method %int_1.loc16, %impl.elem0.loc16_46.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc16_46.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_46.1: = bound_method %int_1.loc16, %impl.elem0.loc16_46.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc16_46.1: = specific_function %impl.elem0.loc16_46.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_46.2: = bound_method %int_1.loc16, %specific_fn.loc16_46.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_46.1: init %i32 = call %bound_method.loc16_46.2(%int_1.loc16) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc16_46.2: init %i32 = converted %int_1.loc16, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_46.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc16_46.2: = bound_method %int_1.loc16, %specific_fn.loc16_46.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_46.1: init %i32 = call %bound_method.loc16_46.2(%int_1.loc16) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc16_46.2: init %i32 = converted %int_1.loc16, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_46.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc16_46.3: ref %i32 = struct_access %s.var, element0 -// CHECK:STDOUT: %.loc16_46.4: init %i32 to %.loc16_46.3 = in_place_init %.loc16_46.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc16_46.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_46.3: = bound_method %int_2.loc16, %impl.elem0.loc16_46.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc16_46.4: init %i32 to %.loc16_46.3 = in_place_init %.loc16_46.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc16_46.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_46.3: = bound_method %int_2.loc16, %impl.elem0.loc16_46.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc16_46.2: = specific_function %impl.elem0.loc16_46.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_46.4: = bound_method %int_2.loc16, %specific_fn.loc16_46.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_46.2: init %i32 = call %bound_method.loc16_46.4(%int_2.loc16) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc16_46.5: init %i32 = converted %int_2.loc16, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_46.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc16_46.4: = bound_method %int_2.loc16, %specific_fn.loc16_46.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_46.2: init %i32 = call %bound_method.loc16_46.4(%int_2.loc16) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc16_46.5: init %i32 = converted %int_2.loc16, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_46.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc16_46.6: ref %i32 = struct_access %s.var, element1 -// CHECK:STDOUT: %.loc16_46.7: init %i32 to %.loc16_46.6 = in_place_init %.loc16_46.5 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc16_46.8: init %struct_type.a.b.602 to %s.var = struct_init (%.loc16_46.4, %.loc16_46.7) [concrete = constants.%struct.a0d] -// CHECK:STDOUT: %.loc16_3: init %struct_type.a.b.602 = converted %.loc16_46.1, %.loc16_46.8 [concrete = constants.%struct.a0d] +// CHECK:STDOUT: %.loc16_46.7: init %i32 to %.loc16_46.6 = in_place_init %.loc16_46.5 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc16_46.8: init %struct_type.a.b.b47 to %s.var = struct_init (%.loc16_46.4, %.loc16_46.7) [concrete = constants.%struct.8fc] +// CHECK:STDOUT: %.loc16_3: init %struct_type.a.b.b47 = converted %.loc16_46.1, %.loc16_46.8 [concrete = constants.%struct.8fc] // CHECK:STDOUT: assign %s.var, %.loc16_3 -// CHECK:STDOUT: %.loc16_27: type = splice_block %struct_type.a.b.loc16 [concrete = constants.%struct_type.a.b.602] { +// CHECK:STDOUT: %.loc16_27: type = splice_block %struct_type.a.b.loc16 [concrete = constants.%struct_type.a.b.b47] { // CHECK:STDOUT: %i32.loc16_15: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc16_24: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b.loc16: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.602] +// CHECK:STDOUT: %struct_type.a.b.loc16: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.b47] // CHECK:STDOUT: } -// CHECK:STDOUT: %s: ref %struct_type.a.b.602 = ref_binding s, %s.var +// CHECK:STDOUT: %s: ref %struct_type.a.b.b47 = ref_binding s, %s.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %p.patt: %pattern_type.d1b = ref_binding_pattern p [concrete] -// CHECK:STDOUT: %p.var_patt: %pattern_type.d1b = var_pattern %p.patt [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.2b4 = ref_binding_pattern p [concrete] +// CHECK:STDOUT: %p.var_patt: %pattern_type.2b4 = var_pattern %p.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %p.var: ref %ptr.148 = var %p.var_patt -// CHECK:STDOUT: %s.ref.loc18: ref %struct_type.a.b.602 = name_ref s, %s -// CHECK:STDOUT: %addr.loc18: %ptr.148 = addr_of %s.ref.loc18 -// CHECK:STDOUT: %impl.elem0.loc18: %.8d4 = impl_witness_access constants.%Copy.impl_witness.1d8, element0 [concrete = constants.%ptr.as.Copy.impl.Op.2d9] +// CHECK:STDOUT: %p.var: ref %ptr.d1a = var %p.var_patt +// CHECK:STDOUT: %s.ref.loc18: ref %struct_type.a.b.b47 = name_ref s, %s +// CHECK:STDOUT: %addr.loc18: %ptr.d1a = addr_of %s.ref.loc18 +// CHECK:STDOUT: %impl.elem0.loc18: %.dc2 = impl_witness_access constants.%Copy.impl_witness.29b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.cd8] // CHECK:STDOUT: %bound_method.loc18_39.1: = bound_method %addr.loc18, %impl.elem0.loc18 -// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @ptr.as.Copy.impl.Op(constants.%struct_type.a.b.602) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.f36] +// CHECK:STDOUT: %specific_fn.loc18: = specific_function %impl.elem0.loc18, @ptr.as.Copy.impl.Op(constants.%struct_type.a.b.b47) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.060] // CHECK:STDOUT: %bound_method.loc18_39.2: = bound_method %addr.loc18, %specific_fn.loc18 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc18: init %ptr.148 = call %bound_method.loc18_39.2(%addr.loc18) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc18: init %ptr.d1a = call %bound_method.loc18_39.2(%addr.loc18) // CHECK:STDOUT: assign %p.var, %ptr.as.Copy.impl.Op.call.loc18 -// CHECK:STDOUT: %.loc18: type = splice_block %ptr.loc18 [concrete = constants.%ptr.148] { +// CHECK:STDOUT: %.loc18: type = splice_block %ptr.loc18 [concrete = constants.%ptr.d1a] { // CHECK:STDOUT: %i32.loc18_22: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc18_31: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b.loc18: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.602] -// CHECK:STDOUT: %ptr.loc18: type = ptr_type %struct_type.a.b.loc18 [concrete = constants.%ptr.148] +// CHECK:STDOUT: %struct_type.a.b.loc18: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.b47] +// CHECK:STDOUT: %ptr.loc18: type = ptr_type %struct_type.a.b.loc18 [concrete = constants.%ptr.d1a] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: ref %ptr.148 = ref_binding p, %p.var +// CHECK:STDOUT: %p: ref %ptr.d1a = ref_binding p, %p.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %q.patt: %pattern_type.663 = ref_binding_pattern q [concrete] -// CHECK:STDOUT: %q.var_patt: %pattern_type.663 = var_pattern %q.patt [concrete] +// CHECK:STDOUT: %q.patt: %pattern_type.7b5 = ref_binding_pattern q [concrete] +// CHECK:STDOUT: %q.var_patt: %pattern_type.7b5 = var_pattern %q.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %q.var: ref %ptr.143 = var %q.var_patt -// CHECK:STDOUT: %s.ref.loc19: ref %struct_type.a.b.602 = name_ref s, %s +// CHECK:STDOUT: %q.var: ref %ptr.847 = var %q.var_patt +// CHECK:STDOUT: %s.ref.loc19: ref %struct_type.a.b.b47 = name_ref s, %s // CHECK:STDOUT: %.loc19_26: ref %i32 = struct_access %s.ref.loc19, element0 -// CHECK:STDOUT: %addr.loc19: %ptr.143 = addr_of %.loc19_26 -// CHECK:STDOUT: %impl.elem0.loc19: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr.loc19: %ptr.847 = addr_of %.loc19_26 +// CHECK:STDOUT: %impl.elem0.loc19: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc19_24.1: = bound_method %addr.loc19, %impl.elem0.loc19 -// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.fe2] +// CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.cef] // CHECK:STDOUT: %bound_method.loc19_24.2: = bound_method %addr.loc19, %specific_fn.loc19 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc19: init %ptr.143 = call %bound_method.loc19_24.2(%addr.loc19) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc19: init %ptr.847 = call %bound_method.loc19_24.2(%addr.loc19) // CHECK:STDOUT: assign %q.var, %ptr.as.Copy.impl.Op.call.loc19 -// CHECK:STDOUT: %.loc19_20: type = splice_block %ptr.loc19 [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %.loc19_20: type = splice_block %ptr.loc19 [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc19: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc19: type = ptr_type %i32.loc19 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr.loc19: type = ptr_type %i32.loc19 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %q: ref %ptr.143 = ref_binding q, %q.var +// CHECK:STDOUT: %q: ref %ptr.847 = ref_binding q, %q.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %r.patt: %pattern_type.663 = ref_binding_pattern r [concrete] -// CHECK:STDOUT: %r.var_patt: %pattern_type.663 = var_pattern %r.patt [concrete] +// CHECK:STDOUT: %r.patt: %pattern_type.7b5 = ref_binding_pattern r [concrete] +// CHECK:STDOUT: %r.var_patt: %pattern_type.7b5 = var_pattern %r.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %r.var: ref %ptr.143 = var %r.var_patt -// CHECK:STDOUT: %s.ref.loc20: ref %struct_type.a.b.602 = name_ref s, %s +// CHECK:STDOUT: %r.var: ref %ptr.847 = var %r.var_patt +// CHECK:STDOUT: %s.ref.loc20: ref %struct_type.a.b.b47 = name_ref s, %s // CHECK:STDOUT: %.loc20_26: ref %i32 = struct_access %s.ref.loc20, element1 -// CHECK:STDOUT: %addr.loc20: %ptr.143 = addr_of %.loc20_26 -// CHECK:STDOUT: %impl.elem0.loc20: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr.loc20: %ptr.847 = addr_of %.loc20_26 +// CHECK:STDOUT: %impl.elem0.loc20: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc20_24.1: = bound_method %addr.loc20, %impl.elem0.loc20 -// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.fe2] +// CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.cef] // CHECK:STDOUT: %bound_method.loc20_24.2: = bound_method %addr.loc20, %specific_fn.loc20 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc20: init %ptr.143 = call %bound_method.loc20_24.2(%addr.loc20) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc20: init %ptr.847 = call %bound_method.loc20_24.2(%addr.loc20) // CHECK:STDOUT: assign %r.var, %ptr.as.Copy.impl.Op.call.loc20 -// CHECK:STDOUT: %.loc20_20: type = splice_block %ptr.loc20 [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %.loc20_20: type = splice_block %ptr.loc20 [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc20: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc20: type = ptr_type %i32.loc20 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr.loc20: type = ptr_type %i32.loc20 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %r: ref %ptr.143 = ref_binding r, %r.var +// CHECK:STDOUT: %r: ref %ptr.847 = ref_binding r, %r.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %t.patt: %pattern_type.624 = ref_binding_pattern t [concrete] -// CHECK:STDOUT: %t.var_patt: %pattern_type.624 = var_pattern %t.patt [concrete] +// CHECK:STDOUT: %t.patt: %pattern_type.7d6 = ref_binding_pattern t [concrete] +// CHECK:STDOUT: %t.var_patt: %pattern_type.7d6 = var_pattern %t.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %t.var: ref %tuple.type.87c = var %t.var_patt +// CHECK:STDOUT: %t.var: ref %tuple.type.e5a = var %t.var_patt // CHECK:STDOUT: %int_1.loc22: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc22: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc22_28.1: %tuple.type.f94 = tuple_literal (%int_1.loc22, %int_2.loc22) [concrete = constants.%tuple.ad8] -// CHECK:STDOUT: %impl.elem0.loc22_28.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc22_28.1: = bound_method %int_1.loc22, %impl.elem0.loc22_28.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc22_28.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc22_28.1: = bound_method %int_1.loc22, %impl.elem0.loc22_28.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc22_28.1: = specific_function %impl.elem0.loc22_28.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc22_28.2: = bound_method %int_1.loc22, %specific_fn.loc22_28.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_28.1: init %i32 = call %bound_method.loc22_28.2(%int_1.loc22) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc22_28.2: init %i32 = converted %int_1.loc22, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_28.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc22_28.2: = bound_method %int_1.loc22, %specific_fn.loc22_28.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_28.1: init %i32 = call %bound_method.loc22_28.2(%int_1.loc22) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc22_28.2: init %i32 = converted %int_1.loc22, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_28.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %tuple.elem0.loc22: ref %i32 = tuple_access %t.var, element0 -// CHECK:STDOUT: %.loc22_28.3: init %i32 to %tuple.elem0.loc22 = in_place_init %.loc22_28.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc22_28.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc22_28.3: = bound_method %int_2.loc22, %impl.elem0.loc22_28.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc22_28.3: init %i32 to %tuple.elem0.loc22 = in_place_init %.loc22_28.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc22_28.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc22_28.3: = bound_method %int_2.loc22, %impl.elem0.loc22_28.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc22_28.2: = specific_function %impl.elem0.loc22_28.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc22_28.4: = bound_method %int_2.loc22, %specific_fn.loc22_28.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_28.2: init %i32 = call %bound_method.loc22_28.4(%int_2.loc22) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc22_28.4: init %i32 = converted %int_2.loc22, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_28.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc22_28.4: = bound_method %int_2.loc22, %specific_fn.loc22_28.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_28.2: init %i32 = call %bound_method.loc22_28.4(%int_2.loc22) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc22_28.4: init %i32 = converted %int_2.loc22, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22_28.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %tuple.elem1.loc22: ref %i32 = tuple_access %t.var, element1 -// CHECK:STDOUT: %.loc22_28.5: init %i32 to %tuple.elem1.loc22 = in_place_init %.loc22_28.4 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc22_28.6: init %tuple.type.87c to %t.var = tuple_init (%.loc22_28.3, %.loc22_28.5) [concrete = constants.%tuple.03f] -// CHECK:STDOUT: %.loc22_3: init %tuple.type.87c = converted %.loc22_28.1, %.loc22_28.6 [concrete = constants.%tuple.03f] +// CHECK:STDOUT: %.loc22_28.5: init %i32 to %tuple.elem1.loc22 = in_place_init %.loc22_28.4 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc22_28.6: init %tuple.type.e5a to %t.var = tuple_init (%.loc22_28.3, %.loc22_28.5) [concrete = constants.%tuple.cd5] +// CHECK:STDOUT: %.loc22_3: init %tuple.type.e5a = converted %.loc22_28.1, %.loc22_28.6 [concrete = constants.%tuple.cd5] // CHECK:STDOUT: assign %t.var, %.loc22_3 -// CHECK:STDOUT: %.loc22_19.1: type = splice_block %.loc22_19.3 [concrete = constants.%tuple.type.87c] { +// CHECK:STDOUT: %.loc22_19.1: type = splice_block %.loc22_19.3 [concrete = constants.%tuple.type.e5a] { // CHECK:STDOUT: %i32.loc22_11: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc22_16: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc22_19.2: %tuple.type.24b = tuple_literal (%i32.loc22_11, %i32.loc22_16) [concrete = constants.%tuple.8e3] -// CHECK:STDOUT: %.loc22_19.3: type = converted %.loc22_19.2, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] +// CHECK:STDOUT: %.loc22_19.2: %tuple.type.24b = tuple_literal (%i32.loc22_11, %i32.loc22_16) [concrete = constants.%tuple.79d] +// CHECK:STDOUT: %.loc22_19.3: type = converted %.loc22_19.2, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] // CHECK:STDOUT: } -// CHECK:STDOUT: %t: ref %tuple.type.87c = ref_binding t, %t.var +// CHECK:STDOUT: %t: ref %tuple.type.e5a = ref_binding t, %t.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %t0.patt: %pattern_type.663 = ref_binding_pattern t0 [concrete] -// CHECK:STDOUT: %t0.var_patt: %pattern_type.663 = var_pattern %t0.patt [concrete] +// CHECK:STDOUT: %t0.patt: %pattern_type.7b5 = ref_binding_pattern t0 [concrete] +// CHECK:STDOUT: %t0.var_patt: %pattern_type.7b5 = var_pattern %t0.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %t0.var: ref %ptr.143 = var %t0.var_patt -// CHECK:STDOUT: %t.ref.loc23: ref %tuple.type.87c = name_ref t, %t +// CHECK:STDOUT: %t0.var: ref %ptr.847 = var %t0.var_patt +// CHECK:STDOUT: %t.ref.loc23: ref %tuple.type.e5a = name_ref t, %t // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] // CHECK:STDOUT: %tuple.elem0.loc23: ref %i32 = tuple_access %t.ref.loc23, element0 -// CHECK:STDOUT: %addr.loc23: %ptr.143 = addr_of %tuple.elem0.loc23 -// CHECK:STDOUT: %impl.elem0.loc23: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr.loc23: %ptr.847 = addr_of %tuple.elem0.loc23 +// CHECK:STDOUT: %impl.elem0.loc23: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc23_25.1: = bound_method %addr.loc23, %impl.elem0.loc23 -// CHECK:STDOUT: %specific_fn.loc23: = specific_function %impl.elem0.loc23, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.fe2] +// CHECK:STDOUT: %specific_fn.loc23: = specific_function %impl.elem0.loc23, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.cef] // CHECK:STDOUT: %bound_method.loc23_25.2: = bound_method %addr.loc23, %specific_fn.loc23 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc23: init %ptr.143 = call %bound_method.loc23_25.2(%addr.loc23) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc23: init %ptr.847 = call %bound_method.loc23_25.2(%addr.loc23) // CHECK:STDOUT: assign %t0.var, %ptr.as.Copy.impl.Op.call.loc23 -// CHECK:STDOUT: %.loc23: type = splice_block %ptr.loc23 [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %.loc23: type = splice_block %ptr.loc23 [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc23: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc23: type = ptr_type %i32.loc23 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr.loc23: type = ptr_type %i32.loc23 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %t0: ref %ptr.143 = ref_binding t0, %t0.var +// CHECK:STDOUT: %t0: ref %ptr.847 = ref_binding t0, %t0.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %t1.patt: %pattern_type.663 = ref_binding_pattern t1 [concrete] -// CHECK:STDOUT: %t1.var_patt: %pattern_type.663 = var_pattern %t1.patt [concrete] +// CHECK:STDOUT: %t1.patt: %pattern_type.7b5 = ref_binding_pattern t1 [concrete] +// CHECK:STDOUT: %t1.var_patt: %pattern_type.7b5 = var_pattern %t1.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %t1.var: ref %ptr.143 = var %t1.var_patt -// CHECK:STDOUT: %t.ref.loc24: ref %tuple.type.87c = name_ref t, %t +// CHECK:STDOUT: %t1.var: ref %ptr.847 = var %t1.var_patt +// CHECK:STDOUT: %t.ref.loc24: ref %tuple.type.e5a = name_ref t, %t // CHECK:STDOUT: %int_1.loc24: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %tuple.elem1.loc24: ref %i32 = tuple_access %t.ref.loc24, element1 -// CHECK:STDOUT: %addr.loc24: %ptr.143 = addr_of %tuple.elem1.loc24 -// CHECK:STDOUT: %impl.elem0.loc24: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr.loc24: %ptr.847 = addr_of %tuple.elem1.loc24 +// CHECK:STDOUT: %impl.elem0.loc24: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc24_25.1: = bound_method %addr.loc24, %impl.elem0.loc24 -// CHECK:STDOUT: %specific_fn.loc24: = specific_function %impl.elem0.loc24, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.fe2] +// CHECK:STDOUT: %specific_fn.loc24: = specific_function %impl.elem0.loc24, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.cef] // CHECK:STDOUT: %bound_method.loc24_25.2: = bound_method %addr.loc24, %specific_fn.loc24 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc24: init %ptr.143 = call %bound_method.loc24_25.2(%addr.loc24) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call.loc24: init %ptr.847 = call %bound_method.loc24_25.2(%addr.loc24) // CHECK:STDOUT: assign %t1.var, %ptr.as.Copy.impl.Op.call.loc24 -// CHECK:STDOUT: %.loc24: type = splice_block %ptr.loc24 [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %.loc24: type = splice_block %ptr.loc24 [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc24: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc24: type = ptr_type %i32.loc24 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr.loc24: type = ptr_type %i32.loc24 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %t1: ref %ptr.143 = ref_binding t1, %t1.var -// CHECK:STDOUT: %Destroy.Op.bound.loc24: = bound_method %t1.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %t1: ref %ptr.847 = ref_binding t1, %t1.var +// CHECK:STDOUT: %Destroy.Op.bound.loc24: = bound_method %t1.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc24: init %empty_tuple.type = call %Destroy.Op.bound.loc24(%t1.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %t0.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc23: = bound_method %t0.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc23: init %empty_tuple.type = call %Destroy.Op.bound.loc23(%t0.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc22: = bound_method %t.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %Destroy.Op.bound.loc22: = bound_method %t.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call.loc22: init %empty_tuple.type = call %Destroy.Op.bound.loc22(%t.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc20: = bound_method %r.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc20: = bound_method %r.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc20: init %empty_tuple.type = call %Destroy.Op.bound.loc20(%r.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc19: = bound_method %q.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc19: = bound_method %q.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc19: init %empty_tuple.type = call %Destroy.Op.bound.loc19(%q.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc18: = bound_method %p.var, constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %Destroy.Op.bound.loc18: = bound_method %p.var, constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: %Destroy.Op.call.loc18: init %empty_tuple.type = call %Destroy.Op.bound.loc18(%p.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %s.var, constants.%Destroy.Op.1dc86d.6 +// CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %s.var, constants.%Destroy.Op.2dd605.6 // CHECK:STDOUT: %Destroy.Op.call.loc16: init %empty_tuple.type = call %Destroy.Op.bound.loc16(%s.var) // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc24(%self.param: ref %ptr.143) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc24(%self.param: ref %ptr.847) = "no_op"; // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc22_3.1(%self.param: ref %i32.builtin) = "no_op"; // CHECK:STDOUT: @@ -323,14 +323,14 @@ fn F() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc22_3.3(%self.param: ref %tuple.type.87c) { +// CHECK:STDOUT: fn @Destroy.Op.loc22_3.3(%self.param: ref %tuple.type.e5a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc18(%self.param: ref %ptr.148) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc18(%self.param: ref %ptr.d1a) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc16(%self.param: ref %struct_type.a.b.602) { +// CHECK:STDOUT: fn @Destroy.Op.loc16(%self.param: ref %struct_type.a.b.b47) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/pointer/arrow.carbon b/toolchain/check/testdata/pointer/arrow.carbon index 79ae62330792..e9831e106846 100644 --- a/toolchain/check/testdata/pointer/arrow.carbon +++ b/toolchain/check/testdata/pointer/arrow.carbon @@ -31,14 +31,14 @@ fn Foo(ptr: C*) { // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %C: type = class_type @C [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %C.Member.type: type = fn_type @C.Member [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %C.Member: %C.Member.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.e38: type = ptr_type %C [concrete] -// CHECK:STDOUT: %pattern_type.19f: type = pattern_type %ptr.e38 [concrete] -// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %ptr.e38 [concrete] -// CHECK:STDOUT: %struct_type.field: type = struct_type {.field: %ptr.e38} [concrete] +// CHECK:STDOUT: %ptr.6be: type = ptr_type %C [concrete] +// CHECK:STDOUT: %pattern_type.1c8: type = pattern_type %ptr.6be [concrete] +// CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %ptr.6be [concrete] +// CHECK:STDOUT: %struct_type.field: type = struct_type {.field: %ptr.6be} [concrete] // CHECK:STDOUT: %complete_type: = complete_type_witness %struct_type.field [concrete] // CHECK:STDOUT: %Foo.type: type = fn_type @Foo [concrete] // CHECK:STDOUT: %Foo: %Foo.type = struct_value () [concrete] @@ -60,22 +60,22 @@ fn Foo(ptr: C*) { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %Foo.decl: %Foo.type = fn_decl @Foo [concrete = constants.%Foo] { -// CHECK:STDOUT: %ptr.param_patt: %pattern_type.19f = value_param_pattern [concrete] -// CHECK:STDOUT: %ptr.patt: %pattern_type.19f = at_binding_pattern ptr, %ptr.param_patt [concrete] +// CHECK:STDOUT: %ptr.param_patt: %pattern_type.1c8 = value_param_pattern [concrete] +// CHECK:STDOUT: %ptr.patt: %pattern_type.1c8 = at_binding_pattern ptr, %ptr.param_patt [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %ptr.param: %ptr.e38 = value_param call_param0 -// CHECK:STDOUT: %.loc20: type = splice_block %ptr.loc20_14 [concrete = constants.%ptr.e38] { +// CHECK:STDOUT: %ptr.param: %ptr.6be = value_param call_param0 +// CHECK:STDOUT: %.loc20: type = splice_block %ptr.loc20_14 [concrete = constants.%ptr.6be] { // CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %ptr.loc20_14: type = ptr_type %C.ref [concrete = constants.%ptr.e38] +// CHECK:STDOUT: %ptr.loc20_14: type = ptr_type %C.ref [concrete = constants.%ptr.6be] // CHECK:STDOUT: } -// CHECK:STDOUT: %ptr.loc20_11: %ptr.e38 = value_binding ptr, %ptr.param +// CHECK:STDOUT: %ptr.loc20_11: %ptr.6be = value_binding ptr, %ptr.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @C { // CHECK:STDOUT: %C.Member.decl: %C.Member.type = fn_decl @C.Member [concrete = constants.%C.Member] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.d7b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.d7b = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %self.param_patt: %pattern_type.0d5 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.0d5 = at_binding_pattern self, %self.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %self.param: %C = value_param call_param0 // CHECK:STDOUT: %Self.ref: type = name_ref Self, constants.%C [concrete = constants.%C] @@ -94,36 +94,36 @@ fn Foo(ptr: C*) { // CHECK:STDOUT: // CHECK:STDOUT: fn @C.Member(%self.param: %C); // CHECK:STDOUT: -// CHECK:STDOUT: fn @Foo(%ptr.param: %ptr.e38) { +// CHECK:STDOUT: fn @Foo(%ptr.param: %ptr.6be) { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %ptr.ref.loc21: %ptr.e38 = name_ref ptr, %ptr.loc20_11 +// CHECK:STDOUT: %ptr.ref.loc21: %ptr.6be = name_ref ptr, %ptr.loc20_11 // CHECK:STDOUT: %.loc21_4.1: ref %C = deref %ptr.ref.loc21 // CHECK:STDOUT: %Member.ref.loc21: %C.Member.type = name_ref Member, @C.%C.Member.decl [concrete = constants.%C.Member] // CHECK:STDOUT: %C.Member.bound.loc21: = bound_method %.loc21_4.1, %Member.ref.loc21 // CHECK:STDOUT: %.loc21_4.2: %C = acquire_value %.loc21_4.1 // CHECK:STDOUT: %C.Member.call.loc21: init %empty_tuple.type = call %C.Member.bound.loc21(%.loc21_4.2) -// CHECK:STDOUT: %ptr.ref.loc22: %ptr.e38 = name_ref ptr, %ptr.loc20_11 +// CHECK:STDOUT: %ptr.ref.loc22: %ptr.6be = name_ref ptr, %ptr.loc20_11 // CHECK:STDOUT: %.loc22_6.1: ref %C = deref %ptr.ref.loc22 // CHECK:STDOUT: %Member.ref.loc22: %C.Member.type = name_ref Member, @C.%C.Member.decl [concrete = constants.%C.Member] // CHECK:STDOUT: %C.Member.bound.loc22: = bound_method %.loc22_6.1, %Member.ref.loc22 // CHECK:STDOUT: %.loc22_6.2: %C = acquire_value %.loc22_6.1 // CHECK:STDOUT: %C.Member.call.loc22: init %empty_tuple.type = call %C.Member.bound.loc22(%.loc22_6.2) -// CHECK:STDOUT: %ptr.ref.loc24: %ptr.e38 = name_ref ptr, %ptr.loc20_11 +// CHECK:STDOUT: %ptr.ref.loc24: %ptr.6be = name_ref ptr, %ptr.loc20_11 // CHECK:STDOUT: %.loc24_4: ref %C = deref %ptr.ref.loc24 // CHECK:STDOUT: %field.ref.loc24: %C.elem = name_ref field, @C.%.loc17 [concrete = @C.%.loc17] -// CHECK:STDOUT: %.loc24_9: ref %ptr.e38 = class_element_access %.loc24_4, element0 -// CHECK:STDOUT: %ptr.ref.loc25: %ptr.e38 = name_ref ptr, %ptr.loc20_11 +// CHECK:STDOUT: %.loc24_9: ref %ptr.6be = class_element_access %.loc24_4, element0 +// CHECK:STDOUT: %ptr.ref.loc25: %ptr.6be = name_ref ptr, %ptr.loc20_11 // CHECK:STDOUT: %.loc25_6.1: ref %C = deref %ptr.ref.loc25 // CHECK:STDOUT: %field.ref.loc25: %C.elem = name_ref field, @C.%.loc17 [concrete = @C.%.loc17] -// CHECK:STDOUT: %.loc25_6.2: ref %ptr.e38 = class_element_access %.loc25_6.1, element0 -// CHECK:STDOUT: %ptr.ref.loc27: %ptr.e38 = name_ref ptr, %ptr.loc20_11 +// CHECK:STDOUT: %.loc25_6.2: ref %ptr.6be = class_element_access %.loc25_6.1, element0 +// CHECK:STDOUT: %ptr.ref.loc27: %ptr.6be = name_ref ptr, %ptr.loc20_11 // CHECK:STDOUT: %.loc27_6.1: ref %C = deref %ptr.ref.loc27 // CHECK:STDOUT: %field.ref.loc27_6: %C.elem = name_ref field, @C.%.loc17 [concrete = @C.%.loc17] -// CHECK:STDOUT: %.loc27_6.2: ref %ptr.e38 = class_element_access %.loc27_6.1, element0 -// CHECK:STDOUT: %.loc27_6.3: %ptr.e38 = acquire_value %.loc27_6.2 +// CHECK:STDOUT: %.loc27_6.2: ref %ptr.6be = class_element_access %.loc27_6.1, element0 +// CHECK:STDOUT: %.loc27_6.3: %ptr.6be = acquire_value %.loc27_6.2 // CHECK:STDOUT: %.loc27_13.1: ref %C = deref %.loc27_6.3 // CHECK:STDOUT: %field.ref.loc27_13: %C.elem = name_ref field, @C.%.loc17 [concrete = @C.%.loc17] -// CHECK:STDOUT: %.loc27_13.2: ref %ptr.e38 = class_element_access %.loc27_13.1, element0 +// CHECK:STDOUT: %.loc27_13.2: ref %ptr.6be = class_element_access %.loc27_13.1, element0 // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/basic.carbon b/toolchain/check/testdata/pointer/basic.carbon index 66f70375013a..606d19949c37 100644 --- a/toolchain/check/testdata/pointer/basic.carbon +++ b/toolchain/check/testdata/pointer/basic.carbon @@ -28,55 +28,55 @@ fn F() -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.425: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.425) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet.425 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.17a: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.17a) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet.17a [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc17 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc16_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc17 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc16_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -89,14 +89,14 @@ fn F() -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -107,11 +107,11 @@ fn F() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -120,55 +120,55 @@ fn F() -> i32 { // CHECK:STDOUT: fn @F() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = ref_binding_pattern n [concrete] -// CHECK:STDOUT: %n.var_patt: %pattern_type.c6b = var_pattern %n.patt [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = ref_binding_pattern n [concrete] +// CHECK:STDOUT: %n.var_patt: %pattern_type.104 = var_pattern %n.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %n.var: ref %i32 = var %n.var_patt // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc16: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc16: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc16_3.1: = bound_method %int_0, %impl.elem0.loc16 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc16_3.2: = bound_method %int_0, %specific_fn.loc16 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_3.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc16: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_3.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc16: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign %n.var, %.loc16 // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: ref %i32 = ref_binding n, %n.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %p.patt: %pattern_type.663 = ref_binding_pattern p [concrete] -// CHECK:STDOUT: %p.var_patt: %pattern_type.663 = var_pattern %p.patt [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.7b5 = ref_binding_pattern p [concrete] +// CHECK:STDOUT: %p.var_patt: %pattern_type.7b5 = var_pattern %p.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %p.var: ref %ptr.143 = var %p.var_patt +// CHECK:STDOUT: %p.var: ref %ptr.847 = var %p.var_patt // CHECK:STDOUT: %n.ref: ref %i32 = name_ref n, %n -// CHECK:STDOUT: %addr: %ptr.143 = addr_of %n.ref -// CHECK:STDOUT: %impl.elem0.loc17: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr: %ptr.847 = addr_of %n.ref +// CHECK:STDOUT: %impl.elem0.loc17: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc17_17.1: = bound_method %addr, %impl.elem0.loc17 // CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc17_17.2: = bound_method %addr, %specific_fn.loc17 -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.143 = call %bound_method.loc17_17.2(%addr) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.847 = call %bound_method.loc17_17.2(%addr) // CHECK:STDOUT: assign %p.var, %ptr.as.Copy.impl.Op.call -// CHECK:STDOUT: %.loc17: type = splice_block %ptr [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %.loc17: type = splice_block %ptr [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc17: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc17 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc17 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: ref %ptr.143 = ref_binding p, %p.var -// CHECK:STDOUT: %p.ref: ref %ptr.143 = name_ref p, %p -// CHECK:STDOUT: %.loc19_11: %ptr.143 = acquire_value %p.ref +// CHECK:STDOUT: %p: ref %ptr.847 = ref_binding p, %p.var +// CHECK:STDOUT: %p.ref: ref %ptr.847 = name_ref p, %p +// CHECK:STDOUT: %.loc19_11: %ptr.847 = acquire_value %p.ref // CHECK:STDOUT: %.loc19_10.1: ref %i32 = deref %.loc19_11 // CHECK:STDOUT: %.loc19_10.2: %i32 = acquire_value %.loc19_10.1 -// CHECK:STDOUT: %impl.elem0.loc19: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc19: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc19_10.1: = bound_method %.loc19_10.2, %impl.elem0.loc19 // CHECK:STDOUT: %specific_fn.loc19: = specific_function %impl.elem0.loc19, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc19_10.2: = bound_method %.loc19_10.2, %specific_fn.loc19 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc19_10.2(%.loc19_10.2) -// CHECK:STDOUT: %Destroy.Op.bound.loc17: = bound_method %p.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc17: = bound_method %p.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc17: init %empty_tuple.type = call %Destroy.Op.bound.loc17(%p.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %n.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound.loc16: = bound_method %n.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call.loc16: init %empty_tuple.type = call %Destroy.Op.bound.loc16(%n.var) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc17(%self.param: ref %ptr.143) = "no_op"; +// CHECK:STDOUT: fn @Destroy.Op.loc17(%self.param: ref %ptr.847) = "no_op"; // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc16_3.1(%self.param: ref %i32.builtin) = "no_op"; // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/convert_qualifiers.carbon b/toolchain/check/testdata/pointer/convert_qualifiers.carbon index dd29dc171bbc..443509a93334 100644 --- a/toolchain/check/testdata/pointer/convert_qualifiers.carbon +++ b/toolchain/check/testdata/pointer/convert_qualifiers.carbon @@ -125,48 +125,48 @@ fn NonConstNonConst(p: X**) { TakeNonConstConst(p); } // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %X: type = class_type @X [concrete] -// CHECK:STDOUT: %const.cef: type = const_type %X [concrete] -// CHECK:STDOUT: %ptr.9f2: type = ptr_type %const.cef [concrete] +// CHECK:STDOUT: %const.5b9: type = const_type %X [concrete] +// CHECK:STDOUT: %ptr.2c7: type = ptr_type %const.5b9 [concrete] // CHECK:STDOUT: %TakeConst.type: type = fn_type @TakeConst [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %TakeConst: %TakeConst.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.aa3: type = ptr_type %X [concrete] +// CHECK:STDOUT: %ptr.324: type = ptr_type %X [concrete] // CHECK:STDOUT: %TakeNonConst.type: type = fn_type @TakeNonConst [concrete] // CHECK:STDOUT: %TakeNonConst: %TakeNonConst.type = struct_value () [concrete] -// CHECK:STDOUT: %const.966: type = const_type %ptr.9f2 [concrete] -// CHECK:STDOUT: %ptr.ea2: type = ptr_type %const.966 [concrete] +// CHECK:STDOUT: %const.0f3: type = const_type %ptr.2c7 [concrete] +// CHECK:STDOUT: %ptr.db2: type = ptr_type %const.0f3 [concrete] // CHECK:STDOUT: %TakeConstConst.type: type = fn_type @TakeConstConst [concrete] // CHECK:STDOUT: %TakeConstConst: %TakeConstConst.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.eab: type = ptr_type %ptr.9f2 [concrete] +// CHECK:STDOUT: %ptr.366: type = ptr_type %ptr.2c7 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @NonConst(%p.param: %ptr.aa3) { +// CHECK:STDOUT: fn @NonConst(%p.param: %ptr.324) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %TakeNonConst.ref: %TakeNonConst.type = name_ref TakeNonConst, file.%TakeNonConst.decl [concrete = constants.%TakeNonConst] -// CHECK:STDOUT: %p.ref.loc11: %ptr.aa3 = name_ref p, %p +// CHECK:STDOUT: %p.ref.loc11: %ptr.324 = name_ref p, %p // CHECK:STDOUT: %TakeNonConst.call: init %empty_tuple.type = call %TakeNonConst.ref(%p.ref.loc11) // CHECK:STDOUT: %TakeConst.ref: %TakeConst.type = name_ref TakeConst, file.%TakeConst.decl [concrete = constants.%TakeConst] -// CHECK:STDOUT: %p.ref.loc12: %ptr.aa3 = name_ref p, %p -// CHECK:STDOUT: %.loc12_13.1: %ptr.9f2 = as_compatible %p.ref.loc12 -// CHECK:STDOUT: %.loc12_13.2: %ptr.9f2 = converted %p.ref.loc12, %.loc12_13.1 +// CHECK:STDOUT: %p.ref.loc12: %ptr.324 = name_ref p, %p +// CHECK:STDOUT: %.loc12_13.1: %ptr.2c7 = as_compatible %p.ref.loc12 +// CHECK:STDOUT: %.loc12_13.2: %ptr.2c7 = converted %p.ref.loc12, %.loc12_13.1 // CHECK:STDOUT: %TakeConst.call: init %empty_tuple.type = call %TakeConst.ref(%.loc12_13.2) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Const(%p.param: %ptr.9f2) { +// CHECK:STDOUT: fn @Const(%p.param: %ptr.2c7) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %TakeConst.ref: %TakeConst.type = name_ref TakeConst, file.%TakeConst.decl [concrete = constants.%TakeConst] -// CHECK:STDOUT: %p.ref: %ptr.9f2 = name_ref p, %p +// CHECK:STDOUT: %p.ref: %ptr.2c7 = name_ref p, %p // CHECK:STDOUT: %TakeConst.call: init %empty_tuple.type = call %TakeConst.ref(%p.ref) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @NonConstConst(%p.param: %ptr.eab) { +// CHECK:STDOUT: fn @NonConstConst(%p.param: %ptr.366) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %TakeConstConst.ref: %TakeConstConst.type = name_ref TakeConstConst, file.%TakeConstConst.decl [concrete = constants.%TakeConstConst] -// CHECK:STDOUT: %p.ref: %ptr.eab = name_ref p, %p -// CHECK:STDOUT: %.loc25_18.1: %ptr.ea2 = as_compatible %p.ref -// CHECK:STDOUT: %.loc25_18.2: %ptr.ea2 = converted %p.ref, %.loc25_18.1 +// CHECK:STDOUT: %p.ref: %ptr.366 = name_ref p, %p +// CHECK:STDOUT: %.loc25_18.1: %ptr.db2 = as_compatible %p.ref +// CHECK:STDOUT: %.loc25_18.2: %ptr.db2 = converted %p.ref, %.loc25_18.1 // CHECK:STDOUT: %TakeConstConst.call: init %empty_tuple.type = call %TakeConstConst.ref(%.loc25_18.2) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -175,33 +175,33 @@ fn NonConstNonConst(p: X**) { TakeNonConstConst(p); } // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %X: type = class_type @X [concrete] -// CHECK:STDOUT: %const.33d: type = const_type %X [concrete] -// CHECK:STDOUT: %ptr.cfd: type = ptr_type %const.33d [concrete] -// CHECK:STDOUT: %const.ce5: type = const_type %ptr.cfd [concrete] -// CHECK:STDOUT: %ptr.f12: type = ptr_type %const.ce5 [concrete] +// CHECK:STDOUT: %const.5b9: type = const_type %X [concrete] +// CHECK:STDOUT: %ptr.2c7: type = ptr_type %const.5b9 [concrete] +// CHECK:STDOUT: %const.0f3: type = const_type %ptr.2c7 [concrete] +// CHECK:STDOUT: %ptr.db2: type = ptr_type %const.0f3 [concrete] // CHECK:STDOUT: %TakeConstConst.type: type = fn_type @TakeConstConst [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %TakeConstConst: %TakeConstConst.type = struct_value () [concrete] -// CHECK:STDOUT: %ptr.b19: type = ptr_type %X [concrete] -// CHECK:STDOUT: %ptr.c49: type = ptr_type %ptr.b19 [concrete] -// CHECK:STDOUT: %const.d5d: type = const_type %ptr.b19 [concrete] -// CHECK:STDOUT: %ptr.cb7: type = ptr_type %const.d5d [concrete] +// CHECK:STDOUT: %ptr.324: type = ptr_type %X [concrete] +// CHECK:STDOUT: %ptr.998: type = ptr_type %ptr.324 [concrete] +// CHECK:STDOUT: %const.0dc: type = const_type %ptr.324 [concrete] +// CHECK:STDOUT: %ptr.f85: type = ptr_type %const.0dc [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @NonConstNonConst(%p.param: %ptr.c49) { +// CHECK:STDOUT: fn @NonConstNonConst(%p.param: %ptr.998) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %TakeConstConst.ref: %TakeConstConst.type = name_ref TakeConstConst, file.%TakeConstConst.decl [concrete = constants.%TakeConstConst] -// CHECK:STDOUT: %p.ref: %ptr.c49 = name_ref p, %p -// CHECK:STDOUT: %.loc22: %ptr.f12 = converted %p.ref, [concrete = ] +// CHECK:STDOUT: %p.ref: %ptr.998 = name_ref p, %p +// CHECK:STDOUT: %.loc22: %ptr.db2 = converted %p.ref, [concrete = ] // CHECK:STDOUT: %TakeConstConst.call: init %empty_tuple.type = call %TakeConstConst.ref() // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @ConstNonConst(%p.param: %ptr.cb7) { +// CHECK:STDOUT: fn @ConstNonConst(%p.param: %ptr.f85) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %TakeConstConst.ref: %TakeConstConst.type = name_ref TakeConstConst, file.%TakeConstConst.decl [concrete = constants.%TakeConstConst] -// CHECK:STDOUT: %p.ref: %ptr.cb7 = name_ref p, %p -// CHECK:STDOUT: %.loc38: %ptr.f12 = converted %p.ref, [concrete = ] +// CHECK:STDOUT: %p.ref: %ptr.f85 = name_ref p, %p +// CHECK:STDOUT: %.loc38: %ptr.db2 = converted %p.ref, [concrete = ] // CHECK:STDOUT: %TakeConstConst.call: init %empty_tuple.type = call %TakeConstConst.ref() // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/pointer/fail_deref_error.carbon b/toolchain/check/testdata/pointer/fail_deref_error.carbon index cbc770985350..d4fd114749d6 100644 --- a/toolchain/check/testdata/pointer/fail_deref_error.carbon +++ b/toolchain/check/testdata/pointer/fail_deref_error.carbon @@ -30,7 +30,7 @@ let n2: i32 = undeclared->foo; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -51,12 +51,12 @@ let n2: i32 = undeclared->foo; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = value_binding_pattern n [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = value_binding_pattern n [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc19: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, [concrete = ] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %n2.patt: %pattern_type.c6b = value_binding_pattern n2 [concrete] +// CHECK:STDOUT: %n2.patt: %pattern_type.104 = value_binding_pattern n2 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc24: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n2: %i32 = value_binding n2, [concrete = ] diff --git a/toolchain/check/testdata/pointer/fail_deref_not_pointer.carbon b/toolchain/check/testdata/pointer/fail_deref_not_pointer.carbon index 319ce3321782..6232e52e3d0e 100644 --- a/toolchain/check/testdata/pointer/fail_deref_not_pointer.carbon +++ b/toolchain/check/testdata/pointer/fail_deref_not_pointer.carbon @@ -53,7 +53,7 @@ fn Deref(n: i32) { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Deref.type: type = fn_type @Deref [concrete] // CHECK:STDOUT: %Deref: %Deref.type = struct_value () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] @@ -77,8 +77,8 @@ fn Deref(n: i32) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Deref.decl: %Deref.type = fn_decl @Deref [concrete = constants.%Deref] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] diff --git a/toolchain/check/testdata/pointer/fail_type_mismatch.carbon b/toolchain/check/testdata/pointer/fail_type_mismatch.carbon index d90f7b32b4e7..0d331d164403 100644 --- a/toolchain/check/testdata/pointer/fail_type_mismatch.carbon +++ b/toolchain/check/testdata/pointer/fail_type_mismatch.carbon @@ -37,8 +37,8 @@ fn ConstMismatch(p: const {}*) -> const ({}*) { // CHECK:STDOUT: %pattern_type.3c6: type = pattern_type %const.987 [concrete] // CHECK:STDOUT: %ConstMismatch.type: type = fn_type @ConstMismatch [concrete] // CHECK:STDOUT: %ConstMismatch: %ConstMismatch.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -47,7 +47,7 @@ fn ConstMismatch(p: const {}*) -> const ({}*) { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { diff --git a/toolchain/check/testdata/pointer/import.carbon b/toolchain/check/testdata/pointer/import.carbon index 5984dde46868..ef3b034adbd5 100644 --- a/toolchain/check/testdata/pointer/import.carbon +++ b/toolchain/check/testdata/pointer/import.carbon @@ -32,40 +32,40 @@ var a: i32* = a_ref; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] -// CHECK:STDOUT: %addr: %ptr.143 = addr_of file.%a_orig.var [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] +// CHECK:STDOUT: %addr: %ptr.847 = addr_of file.%a_orig.var [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.6e2 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] -// CHECK:STDOUT: %bound_method.12c: = bound_method %addr, %ptr.as.Copy.impl.Op.specific_fn [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.bound: = bound_method %addr, %ptr.as.Copy.impl.Op.6e4 [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %bound_method.ea9: = bound_method %addr, %ptr.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -77,12 +77,12 @@ var a: i32* = a_ref; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -93,41 +93,41 @@ var a: i32* = a_ref; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a_orig.patt: %pattern_type.c6b = ref_binding_pattern a_orig [concrete] -// CHECK:STDOUT: %a_orig.var_patt: %pattern_type.c6b = var_pattern %a_orig.patt [concrete] +// CHECK:STDOUT: %a_orig.patt: %pattern_type.104 = ref_binding_pattern a_orig [concrete] +// CHECK:STDOUT: %a_orig.var_patt: %pattern_type.104 = var_pattern %a_orig.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a_orig.var: ref %i32 = var %a_orig.var_patt [concrete] // CHECK:STDOUT: %i32.loc4: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %a_orig: ref %i32 = ref_binding a_orig, %a_orig.var [concrete = %a_orig.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a_ref.patt: %pattern_type.663 = ref_binding_pattern a_ref [concrete] -// CHECK:STDOUT: %a_ref.var_patt: %pattern_type.663 = var_pattern %a_ref.patt [concrete] +// CHECK:STDOUT: %a_ref.patt: %pattern_type.7b5 = ref_binding_pattern a_ref [concrete] +// CHECK:STDOUT: %a_ref.var_patt: %pattern_type.7b5 = var_pattern %a_ref.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a_ref.var: ref %ptr.143 = var %a_ref.var_patt [concrete] -// CHECK:STDOUT: %.loc5: type = splice_block %ptr [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %a_ref.var: ref %ptr.847 = var %a_ref.var_patt [concrete] +// CHECK:STDOUT: %.loc5: type = splice_block %ptr [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc5: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc5 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr: type = ptr_type %i32.loc5 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %a_ref: ref %ptr.143 = ref_binding a_ref, %a_ref.var [concrete = %a_ref.var] +// CHECK:STDOUT: %a_ref: ref %ptr.847 = ref_binding a_ref, %a_ref.var [concrete = %a_ref.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc4: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc4: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc4_1.1: = bound_method %int_0, %impl.elem0.loc4 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc4: = specific_function %impl.elem0.loc4, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc4_1.2: = bound_method %int_0, %specific_fn.loc4 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_1.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc4: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc4_1.2: = bound_method %int_0, %specific_fn.loc4 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc4_1.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc4: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign file.%a_orig.var, %.loc4 // CHECK:STDOUT: %a_orig.ref: ref %i32 = name_ref a_orig, file.%a_orig [concrete = file.%a_orig.var] -// CHECK:STDOUT: %addr: %ptr.143 = addr_of %a_orig.ref [concrete = constants.%addr] -// CHECK:STDOUT: %impl.elem0.loc5: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %addr: %ptr.847 = addr_of %a_orig.ref [concrete = constants.%addr] +// CHECK:STDOUT: %impl.elem0.loc5: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc5_19.1: = bound_method %addr, %impl.elem0.loc5 [concrete = constants.%ptr.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn.loc5: = specific_function %impl.elem0.loc5, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] -// CHECK:STDOUT: %bound_method.loc5_19.2: = bound_method %addr, %specific_fn.loc5 [concrete = constants.%bound_method.12c] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.143 = call %bound_method.loc5_19.2(%addr) [concrete = constants.%addr] +// CHECK:STDOUT: %bound_method.loc5_19.2: = bound_method %addr, %specific_fn.loc5 [concrete = constants.%bound_method.ea9] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.847 = call %bound_method.loc5_19.2(%addr) [concrete = constants.%addr] // CHECK:STDOUT: assign file.%a_ref.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -143,32 +143,32 @@ var a: i32* = a_ref; // CHECK:STDOUT: %ptr.as.Copy.impl.Op.fad: %ptr.as.Copy.impl.Op.type.05a = struct_value () [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %ptr.c86: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.8ff: type = pattern_type %ptr.c86 [concrete] -// CHECK:STDOUT: %Copy.impl_witness.8f6: = impl_witness imports.%Copy.impl_witness_table.8a3, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.45d: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.703: %ptr.as.Copy.impl.Op.type.45d = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.c86, (%Copy.impl_witness.8f6) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.79e: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.ebc: type = fn_type_with_self_type %Copy.WithSelf.Op.type.79e, %Copy.facet [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.703, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %ptr.b07: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.c12: type = pattern_type %ptr.b07 [concrete] +// CHECK:STDOUT: %Copy.impl_witness.22b: = impl_witness imports.%Copy.impl_witness_table.6eb, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.abd: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.958: %ptr.as.Copy.impl.Op.type.abd = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %ptr.b07, (%Copy.impl_witness.22b) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.5c2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.227: type = fn_type_with_self_type %Copy.WithSelf.Op.type.5c2, %Copy.facet [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn: = specific_function %ptr.as.Copy.impl.Op.958, @ptr.as.Copy.impl.Op(%i32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Implicit.a_orig = import_ref Implicit//default, a_orig, unloaded -// CHECK:STDOUT: %Implicit.a_ref: ref %ptr.c86 = import_ref Implicit//default, a_ref, loaded [concrete = %a_ref.var] -// CHECK:STDOUT: %Core.b38: = namespace file.%Core.import, [concrete] { +// CHECK:STDOUT: %Implicit.a_ref: ref %ptr.b07 = import_ref Implicit//default, a_ref, loaded [concrete = %a_ref.var] +// CHECK:STDOUT: %Core.979: = namespace file.%Core.import, [concrete] { // CHECK:STDOUT: .Int = %Core.Int // CHECK:STDOUT: .Copy = %Core.Copy // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Implicit.import_ref.8b3: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.05a) = import_ref Implicit//default, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.fad)] -// CHECK:STDOUT: %Copy.impl_witness_table.8a3 = impl_witness_table (%Implicit.import_ref.8b3), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Implicit.import_ref.33d: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.05a) = import_ref Implicit//default, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.fad)] +// CHECK:STDOUT: %Copy.impl_witness_table.6eb = impl_witness_table (%Implicit.import_ref.33d), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %a_ref.patt: %pattern_type.8ff = ref_binding_pattern a_ref [concrete] -// CHECK:STDOUT: %a_ref.var_patt: %pattern_type.8ff = var_pattern %a_ref.patt [concrete] -// CHECK:STDOUT: %a_ref.var: ref %ptr.c86 = var %a_ref.var_patt [concrete] +// CHECK:STDOUT: %a_ref.patt: %pattern_type.c12 = ref_binding_pattern a_ref [concrete] +// CHECK:STDOUT: %a_ref.var_patt: %pattern_type.c12 = var_pattern %a_ref.patt [concrete] +// CHECK:STDOUT: %a_ref.var: ref %ptr.b07 = var %a_ref.var_patt [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -176,33 +176,33 @@ var a: i32* = a_ref; // CHECK:STDOUT: package: = namespace [concrete] { // CHECK:STDOUT: .a_orig = imports.%Implicit.a_orig // CHECK:STDOUT: .a_ref = imports.%Implicit.a_ref -// CHECK:STDOUT: .Core = imports.%Core.b38 +// CHECK:STDOUT: .Core = imports.%Core.979 // CHECK:STDOUT: .a = %a // CHECK:STDOUT: } // CHECK:STDOUT: %Implicit.import = import Implicit // CHECK:STDOUT: %default.import = import // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.8ff = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.8ff = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.c12 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.c12 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %ptr.c86 = var %a.var_patt [concrete] -// CHECK:STDOUT: %.loc4: type = splice_block %ptr [concrete = constants.%ptr.c86] { +// CHECK:STDOUT: %a.var: ref %ptr.b07 = var %a.var_patt [concrete] +// CHECK:STDOUT: %.loc4: type = splice_block %ptr [concrete = constants.%ptr.b07] { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr: type = ptr_type %i32 [concrete = constants.%ptr.c86] +// CHECK:STDOUT: %ptr: type = ptr_type %i32 [concrete = constants.%ptr.b07] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %ptr.c86 = ref_binding a, %a.var [concrete = %a.var] +// CHECK:STDOUT: %a: ref %ptr.b07 = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a_ref.ref: ref %ptr.c86 = name_ref a_ref, imports.%Implicit.a_ref [concrete = imports.%a_ref.var] -// CHECK:STDOUT: %.loc4: %ptr.c86 = acquire_value %a_ref.ref -// CHECK:STDOUT: %impl.elem0: %.ebc = impl_witness_access constants.%Copy.impl_witness.8f6, element0 [concrete = constants.%ptr.as.Copy.impl.Op.703] +// CHECK:STDOUT: %a_ref.ref: ref %ptr.b07 = name_ref a_ref, imports.%Implicit.a_ref [concrete = imports.%a_ref.var] +// CHECK:STDOUT: %.loc4: %ptr.b07 = acquire_value %a_ref.ref +// CHECK:STDOUT: %impl.elem0: %.227 = impl_witness_access constants.%Copy.impl_witness.22b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.958] // CHECK:STDOUT: %bound_method.loc4_15.1: = bound_method %.loc4, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc4_15.2: = bound_method %.loc4, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.c86 = call %bound_method.loc4_15.2(%.loc4) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.b07 = call %bound_method.loc4_15.2(%.loc4) // CHECK:STDOUT: assign file.%a.var, %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/pointer/nested_const.carbon b/toolchain/check/testdata/pointer/nested_const.carbon index cb998073a21f..01d4e80e2a2a 100644 --- a/toolchain/check/testdata/pointer/nested_const.carbon +++ b/toolchain/check/testdata/pointer/nested_const.carbon @@ -25,31 +25,31 @@ fn F(p: const (const (const i32*)*)) -> const i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %const.da1: type = const_type %i32 [concrete] -// CHECK:STDOUT: %ptr.768: type = ptr_type %const.da1 [concrete] -// CHECK:STDOUT: %const.46b: type = const_type %ptr.768 [concrete] -// CHECK:STDOUT: %ptr.c64: type = ptr_type %const.46b [concrete] -// CHECK:STDOUT: %const.5d8: type = const_type %ptr.c64 [concrete] -// CHECK:STDOUT: %pattern_type.d89: type = pattern_type %const.5d8 [concrete] -// CHECK:STDOUT: %.001: Core.Form = init_form %const.da1 [concrete] -// CHECK:STDOUT: %pattern_type.807: type = pattern_type %const.da1 [concrete] +// CHECK:STDOUT: %const.72d: type = const_type %i32 [concrete] +// CHECK:STDOUT: %ptr.9a7: type = ptr_type %const.72d [concrete] +// CHECK:STDOUT: %const.4d4: type = const_type %ptr.9a7 [concrete] +// CHECK:STDOUT: %ptr.47a: type = ptr_type %const.4d4 [concrete] +// CHECK:STDOUT: %const.4bc: type = const_type %ptr.47a [concrete] +// CHECK:STDOUT: %pattern_type.b74: type = pattern_type %const.4bc [concrete] +// CHECK:STDOUT: %.f3b: Core.Form = init_form %const.72d [concrete] +// CHECK:STDOUT: %pattern_type.68c: type = pattern_type %const.72d [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %T.228: %Copy.type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %const.as.Copy.impl.Op.type.545: type = fn_type @const.as.Copy.impl.Op, @const.as.Copy.impl(%T.228) [symbolic] -// CHECK:STDOUT: %const.as.Copy.impl.Op.376: %const.as.Copy.impl.Op.type.545 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.impl_witness.0d9: = impl_witness imports.%Copy.impl_witness_table.032, @const.as.Copy.impl(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %const.as.Copy.impl.Op.type.3e3: type = fn_type @const.as.Copy.impl.Op, @const.as.Copy.impl(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %const.as.Copy.impl.Op.453: %const.as.Copy.impl.Op.type.3e3 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.c9f: %Copy.type = facet_value %const.da1, (%Copy.impl_witness.0d9) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.9a6: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.c9f) [concrete] -// CHECK:STDOUT: %.b36: type = fn_type_with_self_type %Copy.WithSelf.Op.type.9a6, %Copy.facet.c9f [concrete] -// CHECK:STDOUT: %const.as.Copy.impl.Op.specific_fn: = specific_function %const.as.Copy.impl.Op.453, @const.as.Copy.impl.Op(%Copy.facet.66a) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %T.f49: %Copy.type = symbolic_binding T, 0 [symbolic] +// CHECK:STDOUT: %const.as.Copy.impl.Op.type.6d8: type = fn_type @const.as.Copy.impl.Op, @const.as.Copy.impl(%T.f49) [symbolic] +// CHECK:STDOUT: %const.as.Copy.impl.Op.e95: %const.as.Copy.impl.Op.type.6d8 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.c9a: = impl_witness imports.%Copy.impl_witness_table.b24, @const.as.Copy.impl(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %const.as.Copy.impl.Op.type.41e: type = fn_type @const.as.Copy.impl.Op, @const.as.Copy.impl(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %const.as.Copy.impl.Op.8c2: %const.as.Copy.impl.Op.type.41e = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.022: %Copy.type = facet_value %const.72d, (%Copy.impl_witness.c9a) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.dd5: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.022) [concrete] +// CHECK:STDOUT: %.c35: type = fn_type_with_self_type %Copy.WithSelf.Op.type.dd5, %Copy.facet.022 [concrete] +// CHECK:STDOUT: %const.as.Copy.impl.Op.specific_fn: = specific_function %const.as.Copy.impl.Op.8c2, @const.as.Copy.impl.Op(%Copy.facet.14d) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -61,10 +61,10 @@ fn F(p: const (const (const i32*)*)) -> const i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.583: @const.as.Copy.impl.%const.as.Copy.impl.Op.type (%const.as.Copy.impl.Op.type.545) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @const.as.Copy.impl.%const.as.Copy.impl.Op (constants.%const.as.Copy.impl.Op.376)] -// CHECK:STDOUT: %Copy.impl_witness_table.032 = impl_witness_table (%Core.import_ref.583), @const.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.60b: @const.as.Copy.impl.%const.as.Copy.impl.Op.type (%const.as.Copy.impl.Op.type.6d8) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @const.as.Copy.impl.%const.as.Copy.impl.Op (constants.%const.as.Copy.impl.Op.e95)] +// CHECK:STDOUT: %Copy.impl_witness_table.b24 = impl_witness_table (%Core.import_ref.60b), @const.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -74,41 +74,41 @@ fn F(p: const (const (const i32*)*)) -> const i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.d89 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.d89 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.807 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.807 = return_slot_pattern %return.param_patt, %const.loc16_41 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.b74 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.b74 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.68c = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.68c = return_slot_pattern %return.param_patt, %const.loc16_41 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc16_47: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %const.loc16_41: type = const_type %i32.loc16_47 [concrete = constants.%const.da1] -// CHECK:STDOUT: %.loc16_41: Core.Form = init_form %const.loc16_41 [concrete = constants.%.001] -// CHECK:STDOUT: %p.param: %const.5d8 = value_param call_param0 -// CHECK:STDOUT: %.loc16_9: type = splice_block %const.loc16_9 [concrete = constants.%const.5d8] { +// CHECK:STDOUT: %const.loc16_41: type = const_type %i32.loc16_47 [concrete = constants.%const.72d] +// CHECK:STDOUT: %.loc16_41: Core.Form = init_form %const.loc16_41 [concrete = constants.%.f3b] +// CHECK:STDOUT: %p.param: %const.4bc = value_param call_param0 +// CHECK:STDOUT: %.loc16_9: type = splice_block %const.loc16_9 [concrete = constants.%const.4bc] { // CHECK:STDOUT: %i32.loc16_29: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %const.loc16_23: type = const_type %i32.loc16_29 [concrete = constants.%const.da1] -// CHECK:STDOUT: %ptr.loc16_32: type = ptr_type %const.loc16_23 [concrete = constants.%ptr.768] -// CHECK:STDOUT: %const.loc16_16: type = const_type %ptr.loc16_32 [concrete = constants.%const.46b] -// CHECK:STDOUT: %ptr.loc16_34: type = ptr_type %const.loc16_16 [concrete = constants.%ptr.c64] -// CHECK:STDOUT: %const.loc16_9: type = const_type %ptr.loc16_34 [concrete = constants.%const.5d8] +// CHECK:STDOUT: %const.loc16_23: type = const_type %i32.loc16_29 [concrete = constants.%const.72d] +// CHECK:STDOUT: %ptr.loc16_32: type = ptr_type %const.loc16_23 [concrete = constants.%ptr.9a7] +// CHECK:STDOUT: %const.loc16_16: type = const_type %ptr.loc16_32 [concrete = constants.%const.4d4] +// CHECK:STDOUT: %ptr.loc16_34: type = ptr_type %const.loc16_16 [concrete = constants.%ptr.47a] +// CHECK:STDOUT: %const.loc16_9: type = const_type %ptr.loc16_34 [concrete = constants.%const.4bc] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %const.5d8 = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %const.da1 = out_param call_param1 -// CHECK:STDOUT: %return: ref %const.da1 = return_slot %return.param +// CHECK:STDOUT: %p: %const.4bc = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %const.72d = out_param call_param1 +// CHECK:STDOUT: %return: ref %const.72d = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F(%p.param: %const.5d8) -> out %return.param: %const.da1 { +// CHECK:STDOUT: fn @F(%p.param: %const.4bc) -> out %return.param: %const.72d { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %const.5d8 = name_ref p, %p -// CHECK:STDOUT: %.loc17_11.1: ref %const.46b = deref %p.ref -// CHECK:STDOUT: %.loc17_11.2: %const.46b = acquire_value %.loc17_11.1 -// CHECK:STDOUT: %.loc17_10.1: ref %const.da1 = deref %.loc17_11.2 -// CHECK:STDOUT: %.loc17_10.2: %const.da1 = acquire_value %.loc17_10.1 -// CHECK:STDOUT: %impl.elem0: %.b36 = impl_witness_access constants.%Copy.impl_witness.0d9, element0 [concrete = constants.%const.as.Copy.impl.Op.453] +// CHECK:STDOUT: %p.ref: %const.4bc = name_ref p, %p +// CHECK:STDOUT: %.loc17_11.1: ref %const.4d4 = deref %p.ref +// CHECK:STDOUT: %.loc17_11.2: %const.4d4 = acquire_value %.loc17_11.1 +// CHECK:STDOUT: %.loc17_10.1: ref %const.72d = deref %.loc17_11.2 +// CHECK:STDOUT: %.loc17_10.2: %const.72d = acquire_value %.loc17_10.1 +// CHECK:STDOUT: %impl.elem0: %.c35 = impl_witness_access constants.%Copy.impl_witness.c9a, element0 [concrete = constants.%const.as.Copy.impl.Op.8c2] // CHECK:STDOUT: %bound_method.loc17_10.1: = bound_method %.loc17_10.2, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @const.as.Copy.impl.Op(constants.%Copy.facet.66a) [concrete = constants.%const.as.Copy.impl.Op.specific_fn] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @const.as.Copy.impl.Op(constants.%Copy.facet.14d) [concrete = constants.%const.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc17_10.2: = bound_method %.loc17_10.2, %specific_fn -// CHECK:STDOUT: %const.as.Copy.impl.Op.call: init %const.da1 = call %bound_method.loc17_10.2(%.loc17_10.2) +// CHECK:STDOUT: %const.as.Copy.impl.Op.call: init %const.72d = call %bound_method.loc17_10.2(%.loc17_10.2) // CHECK:STDOUT: return %const.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/pointer/types.carbon b/toolchain/check/testdata/pointer/types.carbon index a7a354b586fa..65b88d5b7316 100644 --- a/toolchain/check/testdata/pointer/types.carbon +++ b/toolchain/check/testdata/pointer/types.carbon @@ -27,35 +27,35 @@ fn ConstPtr(p: const i32*) -> (const i32)* { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %pattern_type.663: type = pattern_type %ptr.143 [concrete] -// CHECK:STDOUT: %.793: Core.Form = init_form %ptr.143 [concrete] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.7b5: type = pattern_type %ptr.847 [concrete] +// CHECK:STDOUT: %.060: Core.Form = init_form %ptr.847 [concrete] // CHECK:STDOUT: %Ptr.type: type = fn_type @Ptr [concrete] // CHECK:STDOUT: %Ptr: %Ptr.type = struct_value () [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.b03: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.aed: %ptr.as.Copy.impl.Op.type.b03 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.45b: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.eac: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e2: %ptr.as.Copy.impl.Op.type.eac = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.425: %Copy.type = facet_value %ptr.143, (%Copy.impl_witness.45b) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.72c: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.425) [concrete] -// CHECK:STDOUT: %.948: type = fn_type_with_self_type %Copy.WithSelf.Op.type.72c, %Copy.facet.425 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.fe2: = specific_function %ptr.as.Copy.impl.Op.6e2, @ptr.as.Copy.impl.Op(%i32) [concrete] -// CHECK:STDOUT: %const.da1: type = const_type %i32 [concrete] -// CHECK:STDOUT: %ptr.768: type = ptr_type %const.da1 [concrete] -// CHECK:STDOUT: %pattern_type.3b3: type = pattern_type %ptr.768 [concrete] -// CHECK:STDOUT: %.a0e: Core.Form = init_form %ptr.768 [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.aa4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.5a1: %ptr.as.Copy.impl.Op.type.aa4 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.c37: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.ae4: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%i32) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.6e4: %ptr.as.Copy.impl.Op.type.ae4 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.17a: %Copy.type = facet_value %ptr.847, (%Copy.impl_witness.c37) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.165: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.17a) [concrete] +// CHECK:STDOUT: %.cd7: type = fn_type_with_self_type %Copy.WithSelf.Op.type.165, %Copy.facet.17a [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.cef: = specific_function %ptr.as.Copy.impl.Op.6e4, @ptr.as.Copy.impl.Op(%i32) [concrete] +// CHECK:STDOUT: %const.72d: type = const_type %i32 [concrete] +// CHECK:STDOUT: %ptr.9a7: type = ptr_type %const.72d [concrete] +// CHECK:STDOUT: %pattern_type.9ec: type = pattern_type %ptr.9a7 [concrete] +// CHECK:STDOUT: %.cf7: Core.Form = init_form %ptr.9a7 [concrete] // CHECK:STDOUT: %ConstPtr.type: type = fn_type @ConstPtr [concrete] // CHECK:STDOUT: %ConstPtr: %ConstPtr.type = struct_value () [concrete] -// CHECK:STDOUT: %Copy.impl_witness.4e6: = impl_witness imports.%Copy.impl_witness_table.760, @ptr.as.Copy.impl(%const.da1) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.725: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%const.da1) [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.ecf: %ptr.as.Copy.impl.Op.type.725 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.8c1: %Copy.type = facet_value %ptr.768, (%Copy.impl_witness.4e6) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.0fe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.8c1) [concrete] -// CHECK:STDOUT: %.611: type = fn_type_with_self_type %Copy.WithSelf.Op.type.0fe, %Copy.facet.8c1 [concrete] -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.c89: = specific_function %ptr.as.Copy.impl.Op.ecf, @ptr.as.Copy.impl.Op(%const.da1) [concrete] +// CHECK:STDOUT: %Copy.impl_witness.9d6: = impl_witness imports.%Copy.impl_witness_table.6b9, @ptr.as.Copy.impl(%const.72d) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.type.af3: type = fn_type @ptr.as.Copy.impl.Op, @ptr.as.Copy.impl(%const.72d) [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.dc5: %ptr.as.Copy.impl.Op.type.af3 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.387: %Copy.type = facet_value %ptr.9a7, (%Copy.impl_witness.9d6) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.a88: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.387) [concrete] +// CHECK:STDOUT: %.5d6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.a88, %Copy.facet.387 [concrete] +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.specific_fn.8aa: = specific_function %ptr.as.Copy.impl.Op.dc5, @ptr.as.Copy.impl.Op(%const.72d) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -67,8 +67,8 @@ fn ConstPtr(p: const i32*) -> (const i32)* { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.13c: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.b03) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.aed)] -// CHECK:STDOUT: %Copy.impl_witness_table.760 = impl_witness_table (%Core.import_ref.13c), @ptr.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.aa4: @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op.type (%ptr.as.Copy.impl.Op.type.aa4) = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [symbolic = @ptr.as.Copy.impl.%ptr.as.Copy.impl.Op (constants.%ptr.as.Copy.impl.Op.5a1)] +// CHECK:STDOUT: %Copy.impl_witness_table.6b9 = impl_witness_table (%Core.import_ref.aa4), @ptr.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -79,64 +79,64 @@ fn ConstPtr(p: const i32*) -> (const i32)* { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Ptr.decl: %Ptr.type = fn_decl @Ptr [concrete = constants.%Ptr] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.663 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.663 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.663 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.663 = return_slot_pattern %return.param_patt, %ptr.loc15_23 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.7b5 = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.7b5 = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7b5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7b5 = return_slot_pattern %return.param_patt, %ptr.loc15_23 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15_20: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc15_23: type = ptr_type %i32.loc15_20 [concrete = constants.%ptr.143] -// CHECK:STDOUT: %.loc15_23: Core.Form = init_form %ptr.loc15_23 [concrete = constants.%.793] -// CHECK:STDOUT: %p.param: %ptr.143 = value_param call_param0 -// CHECK:STDOUT: %.loc15_14: type = splice_block %ptr.loc15_14 [concrete = constants.%ptr.143] { +// CHECK:STDOUT: %ptr.loc15_23: type = ptr_type %i32.loc15_20 [concrete = constants.%ptr.847] +// CHECK:STDOUT: %.loc15_23: Core.Form = init_form %ptr.loc15_23 [concrete = constants.%.060] +// CHECK:STDOUT: %p.param: %ptr.847 = value_param call_param0 +// CHECK:STDOUT: %.loc15_14: type = splice_block %ptr.loc15_14 [concrete = constants.%ptr.847] { // CHECK:STDOUT: %i32.loc15_11: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %ptr.loc15_14: type = ptr_type %i32.loc15_11 [concrete = constants.%ptr.143] +// CHECK:STDOUT: %ptr.loc15_14: type = ptr_type %i32.loc15_11 [concrete = constants.%ptr.847] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.143 = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %ptr.143 = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.143 = return_slot %return.param +// CHECK:STDOUT: %p: %ptr.847 = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %ptr.847 = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.847 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %ConstPtr.decl: %ConstPtr.type = fn_decl @ConstPtr [concrete = constants.%ConstPtr] { -// CHECK:STDOUT: %p.param_patt: %pattern_type.3b3 = value_param_pattern [concrete] -// CHECK:STDOUT: %p.patt: %pattern_type.3b3 = at_binding_pattern p, %p.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.3b3 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.3b3 = return_slot_pattern %return.param_patt, %ptr.loc19_42 [concrete] +// CHECK:STDOUT: %p.param_patt: %pattern_type.9ec = value_param_pattern [concrete] +// CHECK:STDOUT: %p.patt: %pattern_type.9ec = at_binding_pattern p, %p.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.9ec = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.9ec = return_slot_pattern %return.param_patt, %ptr.loc19_42 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc19_38: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %const.loc19_32: type = const_type %i32.loc19_38 [concrete = constants.%const.da1] -// CHECK:STDOUT: %ptr.loc19_42: type = ptr_type %const.loc19_32 [concrete = constants.%ptr.768] -// CHECK:STDOUT: %.loc19_42: Core.Form = init_form %ptr.loc19_42 [concrete = constants.%.a0e] -// CHECK:STDOUT: %p.param: %ptr.768 = value_param call_param0 -// CHECK:STDOUT: %.loc19_25: type = splice_block %ptr.loc19_25 [concrete = constants.%ptr.768] { +// CHECK:STDOUT: %const.loc19_32: type = const_type %i32.loc19_38 [concrete = constants.%const.72d] +// CHECK:STDOUT: %ptr.loc19_42: type = ptr_type %const.loc19_32 [concrete = constants.%ptr.9a7] +// CHECK:STDOUT: %.loc19_42: Core.Form = init_form %ptr.loc19_42 [concrete = constants.%.cf7] +// CHECK:STDOUT: %p.param: %ptr.9a7 = value_param call_param0 +// CHECK:STDOUT: %.loc19_25: type = splice_block %ptr.loc19_25 [concrete = constants.%ptr.9a7] { // CHECK:STDOUT: %i32.loc19_22: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %const.loc19_16: type = const_type %i32.loc19_22 [concrete = constants.%const.da1] -// CHECK:STDOUT: %ptr.loc19_25: type = ptr_type %const.loc19_16 [concrete = constants.%ptr.768] +// CHECK:STDOUT: %const.loc19_16: type = const_type %i32.loc19_22 [concrete = constants.%const.72d] +// CHECK:STDOUT: %ptr.loc19_25: type = ptr_type %const.loc19_16 [concrete = constants.%ptr.9a7] // CHECK:STDOUT: } -// CHECK:STDOUT: %p: %ptr.768 = value_binding p, %p.param -// CHECK:STDOUT: %return.param: ref %ptr.768 = out_param call_param1 -// CHECK:STDOUT: %return: ref %ptr.768 = return_slot %return.param +// CHECK:STDOUT: %p: %ptr.9a7 = value_binding p, %p.param +// CHECK:STDOUT: %return.param: ref %ptr.9a7 = out_param call_param1 +// CHECK:STDOUT: %return: ref %ptr.9a7 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Ptr(%p.param: %ptr.143) -> out %return.param: %ptr.143 { +// CHECK:STDOUT: fn @Ptr(%p.param: %ptr.847) -> out %return.param: %ptr.847 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.143 = name_ref p, %p -// CHECK:STDOUT: %impl.elem0: %.948 = impl_witness_access constants.%Copy.impl_witness.45b, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e2] +// CHECK:STDOUT: %p.ref: %ptr.847 = name_ref p, %p +// CHECK:STDOUT: %impl.elem0: %.cd7 = impl_witness_access constants.%Copy.impl_witness.c37, element0 [concrete = constants.%ptr.as.Copy.impl.Op.6e4] // CHECK:STDOUT: %bound_method.loc16_10.1: = bound_method %p.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.fe2] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%i32) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.cef] // CHECK:STDOUT: %bound_method.loc16_10.2: = bound_method %p.ref, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.143 = call %bound_method.loc16_10.2(%p.ref) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.847 = call %bound_method.loc16_10.2(%p.ref) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @ConstPtr(%p.param: %ptr.768) -> out %return.param: %ptr.768 { +// CHECK:STDOUT: fn @ConstPtr(%p.param: %ptr.9a7) -> out %return.param: %ptr.9a7 { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %p.ref: %ptr.768 = name_ref p, %p -// CHECK:STDOUT: %impl.elem0: %.611 = impl_witness_access constants.%Copy.impl_witness.4e6, element0 [concrete = constants.%ptr.as.Copy.impl.Op.ecf] +// CHECK:STDOUT: %p.ref: %ptr.9a7 = name_ref p, %p +// CHECK:STDOUT: %impl.elem0: %.5d6 = impl_witness_access constants.%Copy.impl_witness.9d6, element0 [concrete = constants.%ptr.as.Copy.impl.Op.dc5] // CHECK:STDOUT: %bound_method.loc20_10.1: = bound_method %p.ref, %impl.elem0 -// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%const.da1) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.c89] +// CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @ptr.as.Copy.impl.Op(constants.%const.72d) [concrete = constants.%ptr.as.Copy.impl.Op.specific_fn.8aa] // CHECK:STDOUT: %bound_method.loc20_10.2: = bound_method %p.ref, %specific_fn -// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.768 = call %bound_method.loc20_10.2(%p.ref) +// CHECK:STDOUT: %ptr.as.Copy.impl.Op.call: init %ptr.9a7 = call %bound_method.loc20_10.2(%p.ref) // CHECK:STDOUT: return %ptr.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/primitives/import_symbolic.carbon b/toolchain/check/testdata/primitives/import_symbolic.carbon index e0ed5d8e27b8..43fcecc62a93 100644 --- a/toolchain/check/testdata/primitives/import_symbolic.carbon +++ b/toolchain/check/testdata/primitives/import_symbolic.carbon @@ -203,12 +203,12 @@ fn F() -> u32 { // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.ce7: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.fd4 [concrete] +// CHECK:STDOUT: %assoc0.96e: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.073 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.ba0: = impl_witness imports.%Copy.impl_witness_table.d8d [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.ba0) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.fa0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.7ff: type = fn_type_with_self_type %Copy.WithSelf.Op.type.fa0, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.de3: = impl_witness imports.%Copy.impl_witness_table.34b [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value bool, (%Copy.impl_witness.de3) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.079: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.022: type = fn_type_with_self_type %Copy.WithSelf.Op.type.079, %Copy.facet [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.type: type = fn_type @bool.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op: %bool.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %bool.as.Copy.impl.Op.bound: = bound_method %false, %bool.as.Copy.impl.Op [concrete] @@ -217,13 +217,13 @@ fn F() -> u32 { // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//bool, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.C: type = import_ref Main//bool, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.f87: %I.assoc_type = import_ref Main//bool, loc5_12, loaded [concrete = constants.%assoc0.ce7] +// CHECK:STDOUT: %Main.import_ref.a82: %I.assoc_type = import_ref Main//bool, loc5_12, loaded [concrete = constants.%assoc0.96e] // CHECK:STDOUT: %Main.import_ref.d18: bool = import_ref Main//bool, loc9_34, loaded [concrete = constants.%false] // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.d18), @C.as.I.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.fd4: bool = import_ref Main//bool, loc5_12, loaded [concrete = %value] +// CHECK:STDOUT: %Main.import_ref.073: bool = import_ref Main//bool, loc5_12, loaded [concrete = %value] // CHECK:STDOUT: %value: bool = assoc_const_decl @value [concrete] {} -// CHECK:STDOUT: %Core.import_ref.7b4: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.d8d = impl_witness_table (%Core.import_ref.7b4), @bool.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %bool.as.Copy.impl.Op.type = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.34b = impl_witness_table (%Core.import_ref.f63), @bool.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: bool { @@ -234,9 +234,9 @@ fn F() -> u32 { // CHECK:STDOUT: %.loc7_13: %I.type = converted %C.ref, %I.facet [concrete = constants.%I.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_13 [concrete = constants.%C] // CHECK:STDOUT: %.loc7_18: type = converted %.loc7_13, %as_type [concrete = constants.%C] -// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.f87 [concrete = constants.%assoc0.ce7] +// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.a82 [concrete = constants.%assoc0.96e] // CHECK:STDOUT: %impl.elem0.loc7_18.1: bool = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%false] -// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.7ff = impl_witness_access constants.%Copy.impl_witness.ba0, element0 [concrete = constants.%bool.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.022 = impl_witness_access constants.%Copy.impl_witness.de3, element0 [concrete = constants.%bool.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%bool.as.Copy.impl.Op.bound] // CHECK:STDOUT: %bool.as.Copy.impl.Op.call: init bool = call %bound_method(%impl.elem0.loc7_18.1) [concrete = constants.%false] // CHECK:STDOUT: return %bool.as.Copy.impl.Op.call @@ -252,12 +252,12 @@ fn F() -> u32 { // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.31d: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.ddc [concrete] +// CHECK:STDOUT: %assoc0.25c: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.676 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.416: = impl_witness imports.%Copy.impl_witness_table.cef [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %char, (%Copy.impl_witness.416) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.981: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.e28: type = fn_type_with_self_type %Copy.WithSelf.Op.type.981, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.937: = impl_witness imports.%Copy.impl_witness_table.045 [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %char, (%Copy.impl_witness.937) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.386: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.e5e: type = fn_type_with_self_type %Copy.WithSelf.Op.type.386, %Copy.facet [concrete] // CHECK:STDOUT: %char.as.Copy.impl.Op.type: type = fn_type @char.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %char.as.Copy.impl.Op: %char.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %char.as.Copy.impl.Op.bound: = bound_method %int_97, %char.as.Copy.impl.Op [concrete] @@ -266,13 +266,13 @@ fn F() -> u32 { // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//char, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.C: type = import_ref Main//char, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.296: %I.assoc_type = import_ref Main//char, loc5_12, loaded [concrete = constants.%assoc0.31d] -// CHECK:STDOUT: %Main.import_ref.68b: %char = import_ref Main//char, loc10_32, loaded [concrete = constants.%int_97] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.68b), @C.as.I.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.ddc: %char = import_ref Main//char, loc5_12, loaded [concrete = %value] +// CHECK:STDOUT: %Main.import_ref.740: %I.assoc_type = import_ref Main//char, loc5_12, loaded [concrete = constants.%assoc0.25c] +// CHECK:STDOUT: %Main.import_ref.118: %char = import_ref Main//char, loc10_32, loaded [concrete = constants.%int_97] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.118), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.676: %char = import_ref Main//char, loc5_12, loaded [concrete = %value] // CHECK:STDOUT: %value: %char = assoc_const_decl @value [concrete] {} -// CHECK:STDOUT: %Core.import_ref.c5d: %char.as.Copy.impl.Op.type = import_ref Core//prelude/types/char, loc{{\d+_\d+}}, loaded [concrete = constants.%char.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.cef = impl_witness_table (%Core.import_ref.c5d), @char.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %char.as.Copy.impl.Op.type = import_ref Core//prelude/types/char, loc{{\d+_\d+}}, loaded [concrete = constants.%char.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.045 = impl_witness_table (%Core.import_ref.f63), @char.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: %char { @@ -283,9 +283,9 @@ fn F() -> u32 { // CHECK:STDOUT: %.loc7_13: %I.type = converted %C.ref, %I.facet [concrete = constants.%I.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_13 [concrete = constants.%C] // CHECK:STDOUT: %.loc7_18: type = converted %.loc7_13, %as_type [concrete = constants.%C] -// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.296 [concrete = constants.%assoc0.31d] +// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.740 [concrete = constants.%assoc0.25c] // CHECK:STDOUT: %impl.elem0.loc7_18.1: %char = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%int_97] -// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.e28 = impl_witness_access constants.%Copy.impl_witness.416, element0 [concrete = constants.%char.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.e5e = impl_witness_access constants.%Copy.impl_witness.937, element0 [concrete = constants.%char.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%char.as.Copy.impl.Op.bound] // CHECK:STDOUT: %char.as.Copy.impl.Op.call: init %char = call %bound_method(%impl.elem0.loc7_18.1) [concrete = constants.%int_97] // CHECK:STDOUT: return %char.as.Copy.impl.Op.call @@ -300,12 +300,12 @@ fn F() -> u32 { // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.42a: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.799 [concrete] +// CHECK:STDOUT: %assoc0.ece: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.aaf [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.3a1: = impl_witness imports.%Copy.impl_witness_table.96f [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value Core.CharLiteral, (%Copy.impl_witness.3a1) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.2cb: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.2d9: type = fn_type_with_self_type %Copy.WithSelf.Op.type.2cb, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.f9b: = impl_witness imports.%Copy.impl_witness_table.08c [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value Core.CharLiteral, (%Copy.impl_witness.f9b) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.bf4: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.840: type = fn_type_with_self_type %Copy.WithSelf.Op.type.bf4, %Copy.facet [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.Copy.impl.Op.type: type = fn_type @Core.CharLiteral.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.Copy.impl.Op: %Core.CharLiteral.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.Copy.impl.Op.bound: = bound_method %.54f, %Core.CharLiteral.as.Copy.impl.Op [concrete] @@ -314,13 +314,13 @@ fn F() -> u32 { // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//char_literal, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.C: type = import_ref Main//char_literal, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.a15: %I.assoc_type = import_ref Main//char_literal, loc5_12, loaded [concrete = constants.%assoc0.42a] +// CHECK:STDOUT: %Main.import_ref.421: %I.assoc_type = import_ref Main//char_literal, loc5_12, loaded [concrete = constants.%assoc0.ece] // CHECK:STDOUT: %Main.import_ref.43e: Core.CharLiteral = import_ref Main//char_literal, loc10_32, loaded [concrete = constants.%.54f] // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.43e), @C.as.I.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.799: Core.CharLiteral = import_ref Main//char_literal, loc5_12, loaded [concrete = %value] +// CHECK:STDOUT: %Main.import_ref.aaf: Core.CharLiteral = import_ref Main//char_literal, loc5_12, loaded [concrete = %value] // CHECK:STDOUT: %value: Core.CharLiteral = assoc_const_decl @value [concrete] {} -// CHECK:STDOUT: %Core.import_ref.7b4: %Core.CharLiteral.as.Copy.impl.Op.type = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.CharLiteral.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.96f = impl_witness_table (%Core.import_ref.7b4), @Core.CharLiteral.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.CharLiteral.as.Copy.impl.Op.type = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.CharLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.08c = impl_witness_table (%Core.import_ref.f63), @Core.CharLiteral.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: Core.CharLiteral { @@ -331,9 +331,9 @@ fn F() -> u32 { // CHECK:STDOUT: %.loc7_13: %I.type = converted %C.ref, %I.facet [concrete = constants.%I.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_13 [concrete = constants.%C] // CHECK:STDOUT: %.loc7_18: type = converted %.loc7_13, %as_type [concrete = constants.%C] -// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.a15 [concrete = constants.%assoc0.42a] +// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.421 [concrete = constants.%assoc0.ece] // CHECK:STDOUT: %impl.elem0.loc7_18.1: Core.CharLiteral = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%.54f] -// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.2d9 = impl_witness_access constants.%Copy.impl_witness.3a1, element0 [concrete = constants.%Core.CharLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.840 = impl_witness_access constants.%Copy.impl_witness.f9b, element0 [concrete = constants.%Core.CharLiteral.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%Core.CharLiteral.as.Copy.impl.Op.bound] // CHECK:STDOUT: %Core.CharLiteral.as.Copy.impl.Op.call: init Core.CharLiteral = call %bound_method(%impl.elem0.loc7_18.1) [concrete = constants.%.54f] // CHECK:STDOUT: return %Core.CharLiteral.as.Copy.impl.Op.call @@ -344,41 +344,41 @@ fn F() -> u32 { // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] -// CHECK:STDOUT: %float: %f64.9a0 = float_value 0.10000000000000001 [concrete] +// CHECK:STDOUT: %float: %f64.b55 = float_value 0.10000000000000001 [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.5d6: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.b26 [concrete] +// CHECK:STDOUT: %assoc0.26f: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.1f2 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.44e: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.30e: %Float.as.Copy.impl.Op.type.44e = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.c2d: = impl_witness imports.%Copy.impl_witness_table.fe1, @Float.as.Copy.impl(%int_64) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.d57: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_64) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.447: %Float.as.Copy.impl.Op.type.d57 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f64.9a0, (%Copy.impl_witness.c2d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.127: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.2ac: type = fn_type_with_self_type %Copy.WithSelf.Op.type.127, %Copy.facet [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.bound: = bound_method %float, %Float.as.Copy.impl.Op.447 [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.447, @Float.as.Copy.impl.Op(%int_64) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.125: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bfc: %Float.as.Copy.impl.Op.type.125 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.811: = impl_witness imports.%Copy.impl_witness_table.384, @Float.as.Copy.impl(%int_64) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.7a5: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_64) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bcc: %Float.as.Copy.impl.Op.type.7a5 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %f64.b55, (%Copy.impl_witness.811) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.286: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.c7d: type = fn_type_with_self_type %Copy.WithSelf.Op.type.286, %Copy.facet [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bound: = bound_method %float, %Float.as.Copy.impl.Op.bcc [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.bcc, @Float.as.Copy.impl.Op(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %float, %Float.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//float, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.C: type = import_ref Main//float, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.d20: %I.assoc_type = import_ref Main//float, loc5_12, loaded [concrete = constants.%assoc0.5d6] -// CHECK:STDOUT: %Main.import_ref.d12: %f64.9a0 = import_ref Main//float, loc10_32, loaded [concrete = constants.%float] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.d12), @C.as.I.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.b26: %f64.9a0 = import_ref Main//float, loc5_12, loaded [concrete = %value] -// CHECK:STDOUT: %value: %f64.9a0 = assoc_const_decl @value [concrete] {} -// CHECK:STDOUT: %Core.import_ref.4b3: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.44e) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.30e)] -// CHECK:STDOUT: %Copy.impl_witness_table.fe1 = impl_witness_table (%Core.import_ref.4b3), @Float.as.Copy.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.276: %I.assoc_type = import_ref Main//float, loc5_12, loaded [concrete = constants.%assoc0.26f] +// CHECK:STDOUT: %Main.import_ref.6ea: %f64.b55 = import_ref Main//float, loc10_32, loaded [concrete = constants.%float] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.6ea), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.1f2: %f64.b55 = import_ref Main//float, loc5_12, loaded [concrete = %value] +// CHECK:STDOUT: %value: %f64.b55 = assoc_const_decl @value [concrete] {} +// CHECK:STDOUT: %Core.import_ref.461: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.125) = import_ref Core//prelude/types/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.bfc)] +// CHECK:STDOUT: %Copy.impl_witness_table.384 = impl_witness_table (%Core.import_ref.461), @Float.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F() -> out %return.param: %f64.9a0 { +// CHECK:STDOUT: fn @F() -> out %return.param: %f64.b55 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] @@ -386,13 +386,13 @@ fn F() -> u32 { // CHECK:STDOUT: %.loc7_13: %I.type = converted %C.ref, %I.facet [concrete = constants.%I.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_13 [concrete = constants.%C] // CHECK:STDOUT: %.loc7_18: type = converted %.loc7_13, %as_type [concrete = constants.%C] -// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.d20 [concrete = constants.%assoc0.5d6] -// CHECK:STDOUT: %impl.elem0.loc7_18.1: %f64.9a0 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%float] -// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.2ac = impl_witness_access constants.%Copy.impl_witness.c2d, element0 [concrete = constants.%Float.as.Copy.impl.Op.447] +// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.276 [concrete = constants.%assoc0.26f] +// CHECK:STDOUT: %impl.elem0.loc7_18.1: %f64.b55 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%float] +// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.c7d = impl_witness_access constants.%Copy.impl_witness.811, element0 [concrete = constants.%Float.as.Copy.impl.Op.bcc] // CHECK:STDOUT: %bound_method.loc7_18.1: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%Float.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc7_18.2, @Float.as.Copy.impl.Op(constants.%int_64) [concrete = constants.%Float.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc7_18.2: = bound_method %impl.elem0.loc7_18.1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f64.9a0 = call %bound_method.loc7_18.2(%impl.elem0.loc7_18.1) [concrete = constants.%float] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f64.b55 = call %bound_method.loc7_18.2(%impl.elem0.loc7_18.1) [concrete = constants.%float] // CHECK:STDOUT: return %Float.as.Copy.impl.Op.call // CHECK:STDOUT: } // CHECK:STDOUT: @@ -404,13 +404,13 @@ fn F() -> u32 { // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.038: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.4db [concrete] +// CHECK:STDOUT: %assoc0.518: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.08a [concrete] // CHECK:STDOUT: %float.d5ab3d.2: Core.FloatLiteral = float_literal_value 1e-1 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.a41: = impl_witness imports.%Copy.impl_witness_table.f81 [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value Core.FloatLiteral, (%Copy.impl_witness.a41) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.7fc: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.061: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7fc, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.686: = impl_witness imports.%Copy.impl_witness_table.d0c [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value Core.FloatLiteral, (%Copy.impl_witness.686) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.2a0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.90a: type = fn_type_with_self_type %Copy.WithSelf.Op.type.2a0, %Copy.facet [concrete] // CHECK:STDOUT: %Core.FloatLiteral.as.Copy.impl.Op.type: type = fn_type @Core.FloatLiteral.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Core.FloatLiteral.as.Copy.impl.Op: %Core.FloatLiteral.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.FloatLiteral.as.Copy.impl.Op.bound: = bound_method %float.d5ab3d.2, %Core.FloatLiteral.as.Copy.impl.Op [concrete] @@ -419,13 +419,13 @@ fn F() -> u32 { // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//float_literal, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.C: type = import_ref Main//float_literal, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.bce: %I.assoc_type = import_ref Main//float_literal, loc5_12, loaded [concrete = constants.%assoc0.038] +// CHECK:STDOUT: %Main.import_ref.5bd: %I.assoc_type = import_ref Main//float_literal, loc5_12, loaded [concrete = constants.%assoc0.518] // CHECK:STDOUT: %Main.import_ref.78a: Core.FloatLiteral = import_ref Main//float_literal, loc10_32, loaded [concrete = constants.%float.d5ab3d.2] // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.78a), @C.as.I.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.4db: Core.FloatLiteral = import_ref Main//float_literal, loc5_12, loaded [concrete = %value] +// CHECK:STDOUT: %Main.import_ref.08a: Core.FloatLiteral = import_ref Main//float_literal, loc5_12, loaded [concrete = %value] // CHECK:STDOUT: %value: Core.FloatLiteral = assoc_const_decl @value [concrete] {} -// CHECK:STDOUT: %Core.import_ref.7b4: %Core.FloatLiteral.as.Copy.impl.Op.type = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.FloatLiteral.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.f81 = impl_witness_table (%Core.import_ref.7b4), @Core.FloatLiteral.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.FloatLiteral.as.Copy.impl.Op.type = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.FloatLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.d0c = impl_witness_table (%Core.import_ref.f63), @Core.FloatLiteral.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: Core.FloatLiteral { @@ -436,9 +436,9 @@ fn F() -> u32 { // CHECK:STDOUT: %.loc7_13: %I.type = converted %C.ref, %I.facet [concrete = constants.%I.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_13 [concrete = constants.%C] // CHECK:STDOUT: %.loc7_18: type = converted %.loc7_13, %as_type [concrete = constants.%C] -// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.bce [concrete = constants.%assoc0.038] +// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.5bd [concrete = constants.%assoc0.518] // CHECK:STDOUT: %impl.elem0.loc7_18.1: Core.FloatLiteral = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%float.d5ab3d.2] -// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.061 = impl_witness_access constants.%Copy.impl_witness.a41, element0 [concrete = constants.%Core.FloatLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.90a = impl_witness_access constants.%Copy.impl_witness.686, element0 [concrete = constants.%Core.FloatLiteral.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%Core.FloatLiteral.as.Copy.impl.Op.bound] // CHECK:STDOUT: %Core.FloatLiteral.as.Copy.impl.Op.call: init Core.FloatLiteral = call %bound_method(%impl.elem0.loc7_18.1) [concrete = constants.%float.d5ab3d.2] // CHECK:STDOUT: return %Core.FloatLiteral.as.Copy.impl.Op.call @@ -456,31 +456,31 @@ fn F() -> u32 { // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.d74: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.048 [concrete] +// CHECK:STDOUT: %assoc0.cb5: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.102 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.ab4: = impl_witness imports.%Copy.impl_witness_table.193, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.ab4) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.e27: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.98b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.e27, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_8, %Int.as.Copy.impl.Op.c4a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_8, %Int.as.Copy.impl.Op.ce7 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_8, %Int.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//int, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.C: type = import_ref Main//int, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.3ef: %I.assoc_type = import_ref Main//int, loc5_12, loaded [concrete = constants.%assoc0.d74] -// CHECK:STDOUT: %Main.import_ref.fc6: %i32 = import_ref Main//int, loc10_30, loaded [concrete = constants.%int_8] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.fc6), @C.as.I.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.048: %i32 = import_ref Main//int, loc5_12, loaded [concrete = %value] +// CHECK:STDOUT: %Main.import_ref.c2e: %I.assoc_type = import_ref Main//int, loc5_12, loaded [concrete = constants.%assoc0.cb5] +// CHECK:STDOUT: %Main.import_ref.4ce: %i32 = import_ref Main//int, loc10_30, loaded [concrete = constants.%int_8] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.4ce), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.102: %i32 = import_ref Main//int, loc5_12, loaded [concrete = %value] // CHECK:STDOUT: %value: %i32 = assoc_const_decl @value [concrete] {} -// CHECK:STDOUT: %Core.import_ref.d9d: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.193 = impl_witness_table (%Core.import_ref.d9d), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/types/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: %i32 { @@ -491,9 +491,9 @@ fn F() -> u32 { // CHECK:STDOUT: %.loc7_13: %I.type = converted %C.ref, %I.facet [concrete = constants.%I.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_13 [concrete = constants.%C] // CHECK:STDOUT: %.loc7_18: type = converted %.loc7_13, %as_type [concrete = constants.%C] -// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.3ef [concrete = constants.%assoc0.d74] +// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.c2e [concrete = constants.%assoc0.cb5] // CHECK:STDOUT: %impl.elem0.loc7_18.1: %i32 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%int_8] -// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.98b = impl_witness_access constants.%Copy.impl_witness.ab4, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc7_18.1: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc7_18.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc7_18.2: = bound_method %impl.elem0.loc7_18.1, %specific_fn [concrete = constants.%bound_method] @@ -510,12 +510,12 @@ fn F() -> u32 { // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.93c: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.721 [concrete] +// CHECK:STDOUT: %assoc0.b97: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.ceb [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.6df: = impl_witness imports.%Copy.impl_witness_table.ab7 [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value Core.IntLiteral, (%Copy.impl_witness.6df) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.ee4: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.281: type = fn_type_with_self_type %Copy.WithSelf.Op.type.ee4, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.969: = impl_witness imports.%Copy.impl_witness_table.365 [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value Core.IntLiteral, (%Copy.impl_witness.969) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.535: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.b58: type = fn_type_with_self_type %Copy.WithSelf.Op.type.535, %Copy.facet [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.type: type = fn_type @Core.IntLiteral.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op: %Core.IntLiteral.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.bound: = bound_method %int_7, %Core.IntLiteral.as.Copy.impl.Op [concrete] @@ -524,13 +524,13 @@ fn F() -> u32 { // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//int_literal, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.C: type = import_ref Main//int_literal, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.d8c: %I.assoc_type = import_ref Main//int_literal, loc5_12, loaded [concrete = constants.%assoc0.93c] +// CHECK:STDOUT: %Main.import_ref.265: %I.assoc_type = import_ref Main//int_literal, loc5_12, loaded [concrete = constants.%assoc0.b97] // CHECK:STDOUT: %Main.import_ref.bc3: Core.IntLiteral = import_ref Main//int_literal, loc10_30, loaded [concrete = constants.%int_7] // CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.bc3), @C.as.I.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.721: Core.IntLiteral = import_ref Main//int_literal, loc5_12, loaded [concrete = %value] +// CHECK:STDOUT: %Main.import_ref.ceb: Core.IntLiteral = import_ref Main//int_literal, loc5_12, loaded [concrete = %value] // CHECK:STDOUT: %value: Core.IntLiteral = assoc_const_decl @value [concrete] {} -// CHECK:STDOUT: %Core.import_ref.7b4: %Core.IntLiteral.as.Copy.impl.Op.type = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.ab7 = impl_witness_table (%Core.import_ref.7b4), @Core.IntLiteral.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %Core.IntLiteral.as.Copy.impl.Op.type = import_ref Core//prelude/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.365 = impl_witness_table (%Core.import_ref.f63), @Core.IntLiteral.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: Core.IntLiteral { @@ -541,9 +541,9 @@ fn F() -> u32 { // CHECK:STDOUT: %.loc7_13: %I.type = converted %C.ref, %I.facet [concrete = constants.%I.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_13 [concrete = constants.%C] // CHECK:STDOUT: %.loc7_18: type = converted %.loc7_13, %as_type [concrete = constants.%C] -// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.d8c [concrete = constants.%assoc0.93c] +// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.265 [concrete = constants.%assoc0.b97] // CHECK:STDOUT: %impl.elem0.loc7_18.1: Core.IntLiteral = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%int_7] -// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.281 = impl_witness_access constants.%Copy.impl_witness.6df, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.b58 = impl_witness_access constants.%Copy.impl_witness.969, element0 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%Core.IntLiteral.as.Copy.impl.Op.bound] // CHECK:STDOUT: %Core.IntLiteral.as.Copy.impl.Op.call: init Core.IntLiteral = call %bound_method(%impl.elem0.loc7_18.1) [concrete = constants.%int_7] // CHECK:STDOUT: return %Core.IntLiteral.as.Copy.impl.Op.call @@ -561,31 +561,31 @@ fn F() -> u32 { // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.87c: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.a0d [concrete] +// CHECK:STDOUT: %assoc0.0ce: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.078 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.a58: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.dc5: %UInt.as.Copy.impl.Op.type.a58 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.ff6: = impl_witness imports.%Copy.impl_witness_table.54d, @UInt.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.3cf: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.6ad: %UInt.as.Copy.impl.Op.type.3cf = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %u32, (%Copy.impl_witness.ff6) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.5c6: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.0e4: type = fn_type_with_self_type %Copy.WithSelf.Op.type.5c6, %Copy.facet [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.bound: = bound_method %int_8, %UInt.as.Copy.impl.Op.6ad [concrete] -// CHECK:STDOUT: %UInt.as.Copy.impl.Op.specific_fn: = specific_function %UInt.as.Copy.impl.Op.6ad, @UInt.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.743: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.521: %UInt.as.Copy.impl.Op.type.743 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.cfa: = impl_witness imports.%Copy.impl_witness_table.306, @UInt.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.type.46f: type = fn_type @UInt.as.Copy.impl.Op, @UInt.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.a73: %UInt.as.Copy.impl.Op.type.46f = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %u32, (%Copy.impl_witness.cfa) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7b4: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.637: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7b4, %Copy.facet [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.bound: = bound_method %int_8, %UInt.as.Copy.impl.Op.a73 [concrete] +// CHECK:STDOUT: %UInt.as.Copy.impl.Op.specific_fn: = specific_function %UInt.as.Copy.impl.Op.a73, @UInt.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_8, %UInt.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//uint, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.C: type = import_ref Main//uint, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.1ad: %I.assoc_type = import_ref Main//uint, loc5_12, loaded [concrete = constants.%assoc0.87c] -// CHECK:STDOUT: %Main.import_ref.250: %u32 = import_ref Main//uint, loc10_30, loaded [concrete = constants.%int_8] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.250), @C.as.I.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.a0d: %u32 = import_ref Main//uint, loc5_12, loaded [concrete = %value] +// CHECK:STDOUT: %Main.import_ref.a42: %I.assoc_type = import_ref Main//uint, loc5_12, loaded [concrete = constants.%assoc0.0ce] +// CHECK:STDOUT: %Main.import_ref.0b5: %u32 = import_ref Main//uint, loc10_30, loaded [concrete = constants.%int_8] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.0b5), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.078: %u32 = import_ref Main//uint, loc5_12, loaded [concrete = %value] // CHECK:STDOUT: %value: %u32 = assoc_const_decl @value [concrete] {} -// CHECK:STDOUT: %Core.import_ref.047: @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op.type (%UInt.as.Copy.impl.Op.type.a58) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op (constants.%UInt.as.Copy.impl.Op.dc5)] -// CHECK:STDOUT: %Copy.impl_witness_table.54d = impl_witness_table (%Core.import_ref.047), @UInt.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.3cf: @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op.type (%UInt.as.Copy.impl.Op.type.743) = import_ref Core//prelude/types/uint, loc{{\d+_\d+}}, loaded [symbolic = @UInt.as.Copy.impl.%UInt.as.Copy.impl.Op (constants.%UInt.as.Copy.impl.Op.521)] +// CHECK:STDOUT: %Copy.impl_witness_table.306 = impl_witness_table (%Core.import_ref.3cf), @UInt.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: %u32 { @@ -596,9 +596,9 @@ fn F() -> u32 { // CHECK:STDOUT: %.loc7_13: %I.type = converted %C.ref, %I.facet [concrete = constants.%I.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_13 [concrete = constants.%C] // CHECK:STDOUT: %.loc7_18: type = converted %.loc7_13, %as_type [concrete = constants.%C] -// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.1ad [concrete = constants.%assoc0.87c] +// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.a42 [concrete = constants.%assoc0.0ce] // CHECK:STDOUT: %impl.elem0.loc7_18.1: %u32 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%int_8] -// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.0e4 = impl_witness_access constants.%Copy.impl_witness.ff6, element0 [concrete = constants.%UInt.as.Copy.impl.Op.6ad] +// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.637 = impl_witness_access constants.%Copy.impl_witness.cfa, element0 [concrete = constants.%UInt.as.Copy.impl.Op.a73] // CHECK:STDOUT: %bound_method.loc7_18.1: = bound_method %impl.elem0.loc7_18.1, %impl.elem0.loc7_18.2 [concrete = constants.%UInt.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc7_18.2, @UInt.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%UInt.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc7_18.2: = bound_method %impl.elem0.loc7_18.1, %specific_fn [concrete = constants.%bound_method] diff --git a/toolchain/check/testdata/primitives/string_literals.carbon b/toolchain/check/testdata/primitives/string_literals.carbon index 16e2dcad5f4f..62d068bf56ae 100644 --- a/toolchain/check/testdata/primitives/string_literals.carbon +++ b/toolchain/check/testdata/primitives/string_literals.carbon @@ -116,54 +116,54 @@ This string contains 256 characters. Among them are: // CHECK:STDOUT: --- use_small_string.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %str.91f: type = class_type @String [concrete] +// CHECK:STDOUT: %str.abf: type = class_type @String [concrete] // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete] // CHECK:STDOUT: %u8: type = class_type @UInt, @UInt(%int_8) [concrete] -// CHECK:STDOUT: %ptr.cb7: type = ptr_type %u8 [concrete] -// CHECK:STDOUT: %pattern_type.ff8: type = pattern_type %str.91f [concrete] -// CHECK:STDOUT: %str.5de: %ptr.cb7 = string_literal "hello" [concrete] +// CHECK:STDOUT: %ptr.9b7: type = ptr_type %u8 [concrete] +// CHECK:STDOUT: %pattern_type.3d7: type = pattern_type %str.abf [concrete] +// CHECK:STDOUT: %str.18a: %ptr.9b7 = string_literal "hello" [concrete] // CHECK:STDOUT: %int_5: %u8 = int_value 5 [concrete] -// CHECK:STDOUT: %String.val: %str.91f = struct_value (%str.5de, %int_5) [concrete] +// CHECK:STDOUT: %String.val: %str.abf = struct_value (%str.18a, %int_5) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.ff8 = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.3d7 = value_binding_pattern x [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %str: type = type_literal constants.%str.91f [concrete = constants.%str.91f] -// CHECK:STDOUT: %x: %str.91f = value_binding x, @__global_init.%String.val +// CHECK:STDOUT: %str: type = type_literal constants.%str.abf [concrete = constants.%str.abf] +// CHECK:STDOUT: %x: %str.abf = value_binding x, @__global_init.%String.val // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %str: %ptr.cb7 = string_literal "hello" [concrete = constants.%str.5de] +// CHECK:STDOUT: %str: %ptr.9b7 = string_literal "hello" [concrete = constants.%str.18a] // CHECK:STDOUT: %int_5: %u8 = int_value 5 [concrete = constants.%int_5] -// CHECK:STDOUT: %String.val: %str.91f = struct_value (%str, %int_5) [concrete = constants.%String.val] +// CHECK:STDOUT: %String.val: %str.abf = struct_value (%str, %int_5) [concrete = constants.%String.val] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: --- fail_overfill_small_string.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %str.91f: type = class_type @String [concrete] +// CHECK:STDOUT: %str.abf: type = class_type @String [concrete] // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete] // CHECK:STDOUT: %u8: type = class_type @UInt, @UInt(%int_8) [concrete] -// CHECK:STDOUT: %ptr.cb7: type = ptr_type %u8 [concrete] -// CHECK:STDOUT: %pattern_type.ff8: type = pattern_type %str.91f [concrete] -// CHECK:STDOUT: %str.512: %ptr.cb7 = string_literal "A string so long its size does not fit in `u8`. This results in an error,\nbecause we can't form a `Core.String` value that describes this string.\n\nThis string contains 256 characters. Among them are:\n\n* 6 `g`s,\n* 21 `s`s,\n* 9 newlines,\n* and only one `p`.\n" [concrete] +// CHECK:STDOUT: %ptr.9b7: type = ptr_type %u8 [concrete] +// CHECK:STDOUT: %pattern_type.3d7: type = pattern_type %str.abf [concrete] +// CHECK:STDOUT: %str.fb8: %ptr.9b7 = string_literal "A string so long its size does not fit in `u8`. This results in an error,\nbecause we can't form a `Core.String` value that describes this string.\n\nThis string contains 256 characters. Among them are:\n\n* 6 `g`s,\n* 21 `s`s,\n* 9 newlines,\n* and only one `p`.\n" [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.ff8 = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.3d7 = value_binding_pattern x [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %str: type = type_literal constants.%str.91f [concrete = constants.%str.91f] -// CHECK:STDOUT: %x: %str.91f = value_binding x, [concrete = ] +// CHECK:STDOUT: %str: type = type_literal constants.%str.abf [concrete = constants.%str.abf] +// CHECK:STDOUT: %x: %str.abf = value_binding x, [concrete = ] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %str: %ptr.cb7 = string_literal "A string so long its size does not fit in `u8`. This results in an error,\nbecause we can't form a `Core.String` value that describes this string.\n\nThis string contains 256 characters. Among them are:\n\n* 6 `g`s,\n* 21 `s`s,\n* 9 newlines,\n* and only one `p`.\n" [concrete = constants.%str.512] +// CHECK:STDOUT: %str: %ptr.9b7 = string_literal "A string so long its size does not fit in `u8`. This results in an error,\nbecause we can't form a `Core.String` value that describes this string.\n\nThis string contains 256 characters. Among them are:\n\n* 6 `g`s,\n* 21 `s`s,\n* 9 newlines,\n* and only one `p`.\n" [concrete = constants.%str.fb8] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/primitives/type_literals.carbon b/toolchain/check/testdata/primitives/type_literals.carbon index 72a0e3bc1ac6..773da6a418df 100644 --- a/toolchain/check/testdata/primitives/type_literals.carbon +++ b/toolchain/check/testdata/primitives/type_literals.carbon @@ -294,60 +294,60 @@ var test_str: str = (); // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete] // CHECK:STDOUT: %i8: type = class_type @Int, @Int(%int_8) [concrete] -// CHECK:STDOUT: %pattern_type.69f: type = pattern_type %i8 [concrete] +// CHECK:STDOUT: %pattern_type.6f2: type = pattern_type %i8 [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.9ed: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%i8) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.36b: %DefaultOrUnformed.type = facet_value %i8, (%DefaultOrUnformed.impl_witness.9ed) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.b07: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%i8) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.2f9: %DefaultOrUnformed.type = facet_value %i8, (%DefaultOrUnformed.impl_witness.b07) [concrete] // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %i16: type = class_type @Int, @Int(%int_16) [concrete] -// CHECK:STDOUT: %pattern_type.0cb: type = pattern_type %i16 [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.47d: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%i16) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.b62: %DefaultOrUnformed.type = facet_value %i16, (%DefaultOrUnformed.impl_witness.47d) [concrete] +// CHECK:STDOUT: %pattern_type.e1b: type = pattern_type %i16 [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.1a1: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%i16) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.763: %DefaultOrUnformed.type = facet_value %i16, (%DefaultOrUnformed.impl_witness.1a1) [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.d7b: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%i32) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.fea: %DefaultOrUnformed.type = facet_value %i32, (%DefaultOrUnformed.impl_witness.d7b) [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.3a3: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%i32) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.737: %DefaultOrUnformed.type = facet_value %i32, (%DefaultOrUnformed.impl_witness.3a3) [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %i64: type = class_type @Int, @Int(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.c8a: type = pattern_type %i64 [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.575: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%i64) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.537: %DefaultOrUnformed.type = facet_value %i64, (%DefaultOrUnformed.impl_witness.575) [concrete] +// CHECK:STDOUT: %pattern_type.fdd: type = pattern_type %i64 [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.ef3: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%i64) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.cd8: %DefaultOrUnformed.type = facet_value %i64, (%DefaultOrUnformed.impl_witness.ef3) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_i8.patt: %pattern_type.69f = ref_binding_pattern test_i8 [concrete] -// CHECK:STDOUT: %test_i8.var_patt: %pattern_type.69f = var_pattern %test_i8.patt [concrete] +// CHECK:STDOUT: %test_i8.patt: %pattern_type.6f2 = ref_binding_pattern test_i8 [concrete] +// CHECK:STDOUT: %test_i8.var_patt: %pattern_type.6f2 = var_pattern %test_i8.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %test_i8.var: ref %i8 = var %test_i8.var_patt [concrete] // CHECK:STDOUT: %i8: type = type_literal constants.%i8 [concrete = constants.%i8] // CHECK:STDOUT: %test_i8: ref %i8 = ref_binding test_i8, %test_i8.var [concrete = %test_i8.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_i16.patt: %pattern_type.0cb = ref_binding_pattern test_i16 [concrete] -// CHECK:STDOUT: %test_i16.var_patt: %pattern_type.0cb = var_pattern %test_i16.patt [concrete] +// CHECK:STDOUT: %test_i16.patt: %pattern_type.e1b = ref_binding_pattern test_i16 [concrete] +// CHECK:STDOUT: %test_i16.var_patt: %pattern_type.e1b = var_pattern %test_i16.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %test_i16.var: ref %i16 = var %test_i16.var_patt [concrete] // CHECK:STDOUT: %i16: type = type_literal constants.%i16 [concrete = constants.%i16] // CHECK:STDOUT: %test_i16: ref %i16 = ref_binding test_i16, %test_i16.var [concrete = %test_i16.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_i32.patt: %pattern_type.c6b = ref_binding_pattern test_i32 [concrete] -// CHECK:STDOUT: %test_i32.var_patt: %pattern_type.c6b = var_pattern %test_i32.patt [concrete] +// CHECK:STDOUT: %test_i32.patt: %pattern_type.104 = ref_binding_pattern test_i32 [concrete] +// CHECK:STDOUT: %test_i32.var_patt: %pattern_type.104 = var_pattern %test_i32.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %test_i32.var: ref %i32 = var %test_i32.var_patt [concrete] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %test_i32: ref %i32 = ref_binding test_i32, %test_i32.var [concrete = %test_i32.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_i64.patt: %pattern_type.c8a = ref_binding_pattern test_i64 [concrete] -// CHECK:STDOUT: %test_i64.var_patt: %pattern_type.c8a = var_pattern %test_i64.patt [concrete] +// CHECK:STDOUT: %test_i64.patt: %pattern_type.fdd = ref_binding_pattern test_i64 [concrete] +// CHECK:STDOUT: %test_i64.var_patt: %pattern_type.fdd = var_pattern %test_i64.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %test_i64.var: ref %i64 = var %test_i64.var_patt [concrete] // CHECK:STDOUT: %i64: type = type_literal constants.%i64 [concrete = constants.%i64] @@ -356,29 +356,29 @@ var test_str: str = (); // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc4: %DefaultOrUnformed.type = facet_value constants.%i8, (constants.%DefaultOrUnformed.impl_witness.9ed) [concrete = constants.%DefaultOrUnformed.facet.36b] -// CHECK:STDOUT: %.loc4_16.1: %DefaultOrUnformed.type = converted constants.%i8, %DefaultOrUnformed.facet.loc4 [concrete = constants.%DefaultOrUnformed.facet.36b] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc4: %DefaultOrUnformed.type = facet_value constants.%i8, (constants.%DefaultOrUnformed.impl_witness.b07) [concrete = constants.%DefaultOrUnformed.facet.2f9] +// CHECK:STDOUT: %.loc4_16.1: %DefaultOrUnformed.type = converted constants.%i8, %DefaultOrUnformed.facet.loc4 [concrete = constants.%DefaultOrUnformed.facet.2f9] // CHECK:STDOUT: %as_type.loc4: type = facet_access_type %.loc4_16.1 [concrete = constants.%i8] // CHECK:STDOUT: %.loc4_16.2: type = converted %.loc4_16.1, %as_type.loc4 [concrete = constants.%i8] // CHECK:STDOUT: // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc4: init %i8 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.1() // CHECK:STDOUT: assign file.%test_i8.var, %T.as.DefaultOrUnformed.impl.Op.call.loc4 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc5: %DefaultOrUnformed.type = facet_value constants.%i16, (constants.%DefaultOrUnformed.impl_witness.47d) [concrete = constants.%DefaultOrUnformed.facet.b62] -// CHECK:STDOUT: %.loc5_18.1: %DefaultOrUnformed.type = converted constants.%i16, %DefaultOrUnformed.facet.loc5 [concrete = constants.%DefaultOrUnformed.facet.b62] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc5: %DefaultOrUnformed.type = facet_value constants.%i16, (constants.%DefaultOrUnformed.impl_witness.1a1) [concrete = constants.%DefaultOrUnformed.facet.763] +// CHECK:STDOUT: %.loc5_18.1: %DefaultOrUnformed.type = converted constants.%i16, %DefaultOrUnformed.facet.loc5 [concrete = constants.%DefaultOrUnformed.facet.763] // CHECK:STDOUT: %as_type.loc5: type = facet_access_type %.loc5_18.1 [concrete = constants.%i16] // CHECK:STDOUT: %.loc5_18.2: type = converted %.loc5_18.1, %as_type.loc5 [concrete = constants.%i16] // CHECK:STDOUT: // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc5: init %i16 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.2() // CHECK:STDOUT: assign file.%test_i16.var, %T.as.DefaultOrUnformed.impl.Op.call.loc5 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc6: %DefaultOrUnformed.type = facet_value constants.%i32, (constants.%DefaultOrUnformed.impl_witness.d7b) [concrete = constants.%DefaultOrUnformed.facet.fea] -// CHECK:STDOUT: %.loc6_18.1: %DefaultOrUnformed.type = converted constants.%i32, %DefaultOrUnformed.facet.loc6 [concrete = constants.%DefaultOrUnformed.facet.fea] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc6: %DefaultOrUnformed.type = facet_value constants.%i32, (constants.%DefaultOrUnformed.impl_witness.3a3) [concrete = constants.%DefaultOrUnformed.facet.737] +// CHECK:STDOUT: %.loc6_18.1: %DefaultOrUnformed.type = converted constants.%i32, %DefaultOrUnformed.facet.loc6 [concrete = constants.%DefaultOrUnformed.facet.737] // CHECK:STDOUT: %as_type.loc6: type = facet_access_type %.loc6_18.1 [concrete = constants.%i32] // CHECK:STDOUT: %.loc6_18.2: type = converted %.loc6_18.1, %as_type.loc6 [concrete = constants.%i32] // CHECK:STDOUT: // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc6: init %i32 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.3() // CHECK:STDOUT: assign file.%test_i32.var, %T.as.DefaultOrUnformed.impl.Op.call.loc6 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7: %DefaultOrUnformed.type = facet_value constants.%i64, (constants.%DefaultOrUnformed.impl_witness.575) [concrete = constants.%DefaultOrUnformed.facet.537] -// CHECK:STDOUT: %.loc7_18.1: %DefaultOrUnformed.type = converted constants.%i64, %DefaultOrUnformed.facet.loc7 [concrete = constants.%DefaultOrUnformed.facet.537] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7: %DefaultOrUnformed.type = facet_value constants.%i64, (constants.%DefaultOrUnformed.impl_witness.ef3) [concrete = constants.%DefaultOrUnformed.facet.cd8] +// CHECK:STDOUT: %.loc7_18.1: %DefaultOrUnformed.type = converted constants.%i64, %DefaultOrUnformed.facet.loc7 [concrete = constants.%DefaultOrUnformed.facet.cd8] // CHECK:STDOUT: %as_type.loc7: type = facet_access_type %.loc7_18.1 [concrete = constants.%i64] // CHECK:STDOUT: %.loc7_18.2: type = converted %.loc7_18.1, %as_type.loc7 [concrete = constants.%i64] // CHECK:STDOUT: @@ -392,60 +392,60 @@ var test_str: str = (); // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete] // CHECK:STDOUT: %u8: type = class_type @UInt, @UInt(%int_8) [concrete] -// CHECK:STDOUT: %pattern_type.b8f: type = pattern_type %u8 [concrete] +// CHECK:STDOUT: %pattern_type.753: type = pattern_type %u8 [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.bde: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%u8) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.dc1: %DefaultOrUnformed.type = facet_value %u8, (%DefaultOrUnformed.impl_witness.bde) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.35a: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%u8) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.971: %DefaultOrUnformed.type = facet_value %u8, (%DefaultOrUnformed.impl_witness.35a) [concrete] // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] // CHECK:STDOUT: %u16: type = class_type @UInt, @UInt(%int_16) [concrete] -// CHECK:STDOUT: %pattern_type.f0c: type = pattern_type %u16 [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.84f: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%u16) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.ace: %DefaultOrUnformed.type = facet_value %u16, (%DefaultOrUnformed.impl_witness.84f) [concrete] +// CHECK:STDOUT: %pattern_type.4d0: type = pattern_type %u16 [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.c73: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%u16) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.513: %DefaultOrUnformed.type = facet_value %u16, (%DefaultOrUnformed.impl_witness.c73) [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %u32: type = class_type @UInt, @UInt(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.632: type = pattern_type %u32 [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.f12: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%u32) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.316: %DefaultOrUnformed.type = facet_value %u32, (%DefaultOrUnformed.impl_witness.f12) [concrete] +// CHECK:STDOUT: %pattern_type.126: type = pattern_type %u32 [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.091: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%u32) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.b8f: %DefaultOrUnformed.type = facet_value %u32, (%DefaultOrUnformed.impl_witness.091) [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %u64: type = class_type @UInt, @UInt(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.bb8: type = pattern_type %u64 [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.4e4: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%u64) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.046: %DefaultOrUnformed.type = facet_value %u64, (%DefaultOrUnformed.impl_witness.4e4) [concrete] +// CHECK:STDOUT: %pattern_type.597: type = pattern_type %u64 [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.d40: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%u64) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.446: %DefaultOrUnformed.type = facet_value %u64, (%DefaultOrUnformed.impl_witness.d40) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_u8.patt: %pattern_type.b8f = ref_binding_pattern test_u8 [concrete] -// CHECK:STDOUT: %test_u8.var_patt: %pattern_type.b8f = var_pattern %test_u8.patt [concrete] +// CHECK:STDOUT: %test_u8.patt: %pattern_type.753 = ref_binding_pattern test_u8 [concrete] +// CHECK:STDOUT: %test_u8.var_patt: %pattern_type.753 = var_pattern %test_u8.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %test_u8.var: ref %u8 = var %test_u8.var_patt [concrete] // CHECK:STDOUT: %u8: type = type_literal constants.%u8 [concrete = constants.%u8] // CHECK:STDOUT: %test_u8: ref %u8 = ref_binding test_u8, %test_u8.var [concrete = %test_u8.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_u16.patt: %pattern_type.f0c = ref_binding_pattern test_u16 [concrete] -// CHECK:STDOUT: %test_u16.var_patt: %pattern_type.f0c = var_pattern %test_u16.patt [concrete] +// CHECK:STDOUT: %test_u16.patt: %pattern_type.4d0 = ref_binding_pattern test_u16 [concrete] +// CHECK:STDOUT: %test_u16.var_patt: %pattern_type.4d0 = var_pattern %test_u16.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %test_u16.var: ref %u16 = var %test_u16.var_patt [concrete] // CHECK:STDOUT: %u16: type = type_literal constants.%u16 [concrete = constants.%u16] // CHECK:STDOUT: %test_u16: ref %u16 = ref_binding test_u16, %test_u16.var [concrete = %test_u16.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_u32.patt: %pattern_type.632 = ref_binding_pattern test_u32 [concrete] -// CHECK:STDOUT: %test_u32.var_patt: %pattern_type.632 = var_pattern %test_u32.patt [concrete] +// CHECK:STDOUT: %test_u32.patt: %pattern_type.126 = ref_binding_pattern test_u32 [concrete] +// CHECK:STDOUT: %test_u32.var_patt: %pattern_type.126 = var_pattern %test_u32.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %test_u32.var: ref %u32 = var %test_u32.var_patt [concrete] // CHECK:STDOUT: %u32: type = type_literal constants.%u32 [concrete = constants.%u32] // CHECK:STDOUT: %test_u32: ref %u32 = ref_binding test_u32, %test_u32.var [concrete = %test_u32.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_u64.patt: %pattern_type.bb8 = ref_binding_pattern test_u64 [concrete] -// CHECK:STDOUT: %test_u64.var_patt: %pattern_type.bb8 = var_pattern %test_u64.patt [concrete] +// CHECK:STDOUT: %test_u64.patt: %pattern_type.597 = ref_binding_pattern test_u64 [concrete] +// CHECK:STDOUT: %test_u64.var_patt: %pattern_type.597 = var_pattern %test_u64.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %test_u64.var: ref %u64 = var %test_u64.var_patt [concrete] // CHECK:STDOUT: %u64: type = type_literal constants.%u64 [concrete = constants.%u64] @@ -454,29 +454,29 @@ var test_str: str = (); // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc4: %DefaultOrUnformed.type = facet_value constants.%u8, (constants.%DefaultOrUnformed.impl_witness.bde) [concrete = constants.%DefaultOrUnformed.facet.dc1] -// CHECK:STDOUT: %.loc4_16.1: %DefaultOrUnformed.type = converted constants.%u8, %DefaultOrUnformed.facet.loc4 [concrete = constants.%DefaultOrUnformed.facet.dc1] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc4: %DefaultOrUnformed.type = facet_value constants.%u8, (constants.%DefaultOrUnformed.impl_witness.35a) [concrete = constants.%DefaultOrUnformed.facet.971] +// CHECK:STDOUT: %.loc4_16.1: %DefaultOrUnformed.type = converted constants.%u8, %DefaultOrUnformed.facet.loc4 [concrete = constants.%DefaultOrUnformed.facet.971] // CHECK:STDOUT: %as_type.loc4: type = facet_access_type %.loc4_16.1 [concrete = constants.%u8] // CHECK:STDOUT: %.loc4_16.2: type = converted %.loc4_16.1, %as_type.loc4 [concrete = constants.%u8] // CHECK:STDOUT: // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc4: init %u8 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.1() // CHECK:STDOUT: assign file.%test_u8.var, %T.as.DefaultOrUnformed.impl.Op.call.loc4 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc5: %DefaultOrUnformed.type = facet_value constants.%u16, (constants.%DefaultOrUnformed.impl_witness.84f) [concrete = constants.%DefaultOrUnformed.facet.ace] -// CHECK:STDOUT: %.loc5_18.1: %DefaultOrUnformed.type = converted constants.%u16, %DefaultOrUnformed.facet.loc5 [concrete = constants.%DefaultOrUnformed.facet.ace] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc5: %DefaultOrUnformed.type = facet_value constants.%u16, (constants.%DefaultOrUnformed.impl_witness.c73) [concrete = constants.%DefaultOrUnformed.facet.513] +// CHECK:STDOUT: %.loc5_18.1: %DefaultOrUnformed.type = converted constants.%u16, %DefaultOrUnformed.facet.loc5 [concrete = constants.%DefaultOrUnformed.facet.513] // CHECK:STDOUT: %as_type.loc5: type = facet_access_type %.loc5_18.1 [concrete = constants.%u16] // CHECK:STDOUT: %.loc5_18.2: type = converted %.loc5_18.1, %as_type.loc5 [concrete = constants.%u16] // CHECK:STDOUT: // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc5: init %u16 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.2() // CHECK:STDOUT: assign file.%test_u16.var, %T.as.DefaultOrUnformed.impl.Op.call.loc5 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc6: %DefaultOrUnformed.type = facet_value constants.%u32, (constants.%DefaultOrUnformed.impl_witness.f12) [concrete = constants.%DefaultOrUnformed.facet.316] -// CHECK:STDOUT: %.loc6_18.1: %DefaultOrUnformed.type = converted constants.%u32, %DefaultOrUnformed.facet.loc6 [concrete = constants.%DefaultOrUnformed.facet.316] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc6: %DefaultOrUnformed.type = facet_value constants.%u32, (constants.%DefaultOrUnformed.impl_witness.091) [concrete = constants.%DefaultOrUnformed.facet.b8f] +// CHECK:STDOUT: %.loc6_18.1: %DefaultOrUnformed.type = converted constants.%u32, %DefaultOrUnformed.facet.loc6 [concrete = constants.%DefaultOrUnformed.facet.b8f] // CHECK:STDOUT: %as_type.loc6: type = facet_access_type %.loc6_18.1 [concrete = constants.%u32] // CHECK:STDOUT: %.loc6_18.2: type = converted %.loc6_18.1, %as_type.loc6 [concrete = constants.%u32] // CHECK:STDOUT: // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc6: init %u32 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.3() // CHECK:STDOUT: assign file.%test_u32.var, %T.as.DefaultOrUnformed.impl.Op.call.loc6 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7: %DefaultOrUnformed.type = facet_value constants.%u64, (constants.%DefaultOrUnformed.impl_witness.4e4) [concrete = constants.%DefaultOrUnformed.facet.046] -// CHECK:STDOUT: %.loc7_18.1: %DefaultOrUnformed.type = converted constants.%u64, %DefaultOrUnformed.facet.loc7 [concrete = constants.%DefaultOrUnformed.facet.046] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7: %DefaultOrUnformed.type = facet_value constants.%u64, (constants.%DefaultOrUnformed.impl_witness.d40) [concrete = constants.%DefaultOrUnformed.facet.446] +// CHECK:STDOUT: %.loc7_18.1: %DefaultOrUnformed.type = converted constants.%u64, %DefaultOrUnformed.facet.loc7 [concrete = constants.%DefaultOrUnformed.facet.446] // CHECK:STDOUT: %as_type.loc7: type = facet_access_type %.loc7_18.1 [concrete = constants.%u64] // CHECK:STDOUT: %.loc7_18.2: type = converted %.loc7_18.1, %as_type.loc7 [concrete = constants.%u64] // CHECK:STDOUT: @@ -489,96 +489,96 @@ var test_str: str = (); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %int_16: Core.IntLiteral = int_value 16 [concrete] -// CHECK:STDOUT: %f16.f41: type = class_type @Float, @Float(%int_16) [concrete] -// CHECK:STDOUT: %pattern_type.a05: type = pattern_type %f16.f41 [concrete] +// CHECK:STDOUT: %f16.6c9: type = class_type @Float, @Float(%int_16) [concrete] +// CHECK:STDOUT: %pattern_type.073: type = pattern_type %f16.6c9 [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.cbf: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%f16.f41) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.d41: %DefaultOrUnformed.type = facet_value %f16.f41, (%DefaultOrUnformed.impl_witness.cbf) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.3c4: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%f16.6c9) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.07e: %DefaultOrUnformed.type = facet_value %f16.6c9, (%DefaultOrUnformed.impl_witness.3c4) [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] -// CHECK:STDOUT: %f32.750: type = class_type @Float, @Float(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.9a5: type = pattern_type %f32.750 [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.d57: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%f32.750) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.a7b: %DefaultOrUnformed.type = facet_value %f32.750, (%DefaultOrUnformed.impl_witness.d57) [concrete] +// CHECK:STDOUT: %f32.a26: type = class_type @Float, @Float(%int_32) [concrete] +// CHECK:STDOUT: %pattern_type.f3b: type = pattern_type %f32.a26 [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.bee: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%f32.a26) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.a50: %DefaultOrUnformed.type = facet_value %f32.a26, (%DefaultOrUnformed.impl_witness.bee) [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.341: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%f64.9a0) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.c66: %DefaultOrUnformed.type = facet_value %f64.9a0, (%DefaultOrUnformed.impl_witness.341) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.a95: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%f64.b55) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.d33: %DefaultOrUnformed.type = facet_value %f64.b55, (%DefaultOrUnformed.impl_witness.a95) [concrete] // CHECK:STDOUT: %int_128: Core.IntLiteral = int_value 128 [concrete] -// CHECK:STDOUT: %f128.e4f: type = class_type @Float, @Float(%int_128) [concrete] -// CHECK:STDOUT: %pattern_type.46c: type = pattern_type %f128.e4f [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.471: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%f128.e4f) [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet.45c: %DefaultOrUnformed.type = facet_value %f128.e4f, (%DefaultOrUnformed.impl_witness.471) [concrete] +// CHECK:STDOUT: %f128.899: type = class_type @Float, @Float(%int_128) [concrete] +// CHECK:STDOUT: %pattern_type.516: type = pattern_type %f128.899 [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.741: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%f128.899) [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet.6bf: %DefaultOrUnformed.type = facet_value %f128.899, (%DefaultOrUnformed.impl_witness.741) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_f16.patt: %pattern_type.a05 = ref_binding_pattern test_f16 [concrete] -// CHECK:STDOUT: %test_f16.var_patt: %pattern_type.a05 = var_pattern %test_f16.patt [concrete] +// CHECK:STDOUT: %test_f16.patt: %pattern_type.073 = ref_binding_pattern test_f16 [concrete] +// CHECK:STDOUT: %test_f16.var_patt: %pattern_type.073 = var_pattern %test_f16.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %test_f16.var: ref %f16.f41 = var %test_f16.var_patt [concrete] -// CHECK:STDOUT: %f16: type = type_literal constants.%f16.f41 [concrete = constants.%f16.f41] -// CHECK:STDOUT: %test_f16: ref %f16.f41 = ref_binding test_f16, %test_f16.var [concrete = %test_f16.var] +// CHECK:STDOUT: %test_f16.var: ref %f16.6c9 = var %test_f16.var_patt [concrete] +// CHECK:STDOUT: %f16: type = type_literal constants.%f16.6c9 [concrete = constants.%f16.6c9] +// CHECK:STDOUT: %test_f16: ref %f16.6c9 = ref_binding test_f16, %test_f16.var [concrete = %test_f16.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_f32.patt: %pattern_type.9a5 = ref_binding_pattern test_f32 [concrete] -// CHECK:STDOUT: %test_f32.var_patt: %pattern_type.9a5 = var_pattern %test_f32.patt [concrete] +// CHECK:STDOUT: %test_f32.patt: %pattern_type.f3b = ref_binding_pattern test_f32 [concrete] +// CHECK:STDOUT: %test_f32.var_patt: %pattern_type.f3b = var_pattern %test_f32.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %test_f32.var: ref %f32.750 = var %test_f32.var_patt [concrete] -// CHECK:STDOUT: %f32: type = type_literal constants.%f32.750 [concrete = constants.%f32.750] -// CHECK:STDOUT: %test_f32: ref %f32.750 = ref_binding test_f32, %test_f32.var [concrete = %test_f32.var] +// CHECK:STDOUT: %test_f32.var: ref %f32.a26 = var %test_f32.var_patt [concrete] +// CHECK:STDOUT: %f32: type = type_literal constants.%f32.a26 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %test_f32: ref %f32.a26 = ref_binding test_f32, %test_f32.var [concrete = %test_f32.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_f64.patt: %pattern_type.f4f = ref_binding_pattern test_f64 [concrete] -// CHECK:STDOUT: %test_f64.var_patt: %pattern_type.f4f = var_pattern %test_f64.patt [concrete] +// CHECK:STDOUT: %test_f64.patt: %pattern_type.f3c = ref_binding_pattern test_f64 [concrete] +// CHECK:STDOUT: %test_f64.var_patt: %pattern_type.f3c = var_pattern %test_f64.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %test_f64.var: ref %f64.9a0 = var %test_f64.var_patt [concrete] -// CHECK:STDOUT: %f64: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %test_f64: ref %f64.9a0 = ref_binding test_f64, %test_f64.var [concrete = %test_f64.var] +// CHECK:STDOUT: %test_f64.var: ref %f64.b55 = var %test_f64.var_patt [concrete] +// CHECK:STDOUT: %f64: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %test_f64: ref %f64.b55 = ref_binding test_f64, %test_f64.var [concrete = %test_f64.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_f128.patt: %pattern_type.46c = ref_binding_pattern test_f128 [concrete] -// CHECK:STDOUT: %test_f128.var_patt: %pattern_type.46c = var_pattern %test_f128.patt [concrete] +// CHECK:STDOUT: %test_f128.patt: %pattern_type.516 = ref_binding_pattern test_f128 [concrete] +// CHECK:STDOUT: %test_f128.var_patt: %pattern_type.516 = var_pattern %test_f128.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %test_f128.var: ref %f128.e4f = var %test_f128.var_patt [concrete] -// CHECK:STDOUT: %f128: type = type_literal constants.%f128.e4f [concrete = constants.%f128.e4f] -// CHECK:STDOUT: %test_f128: ref %f128.e4f = ref_binding test_f128, %test_f128.var [concrete = %test_f128.var] +// CHECK:STDOUT: %test_f128.var: ref %f128.899 = var %test_f128.var_patt [concrete] +// CHECK:STDOUT: %f128: type = type_literal constants.%f128.899 [concrete = constants.%f128.899] +// CHECK:STDOUT: %test_f128: ref %f128.899 = ref_binding test_f128, %test_f128.var [concrete = %test_f128.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc4: %DefaultOrUnformed.type = facet_value constants.%f16.f41, (constants.%DefaultOrUnformed.impl_witness.cbf) [concrete = constants.%DefaultOrUnformed.facet.d41] -// CHECK:STDOUT: %.loc4_18.1: %DefaultOrUnformed.type = converted constants.%f16.f41, %DefaultOrUnformed.facet.loc4 [concrete = constants.%DefaultOrUnformed.facet.d41] -// CHECK:STDOUT: %as_type.loc4: type = facet_access_type %.loc4_18.1 [concrete = constants.%f16.f41] -// CHECK:STDOUT: %.loc4_18.2: type = converted %.loc4_18.1, %as_type.loc4 [concrete = constants.%f16.f41] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc4: %DefaultOrUnformed.type = facet_value constants.%f16.6c9, (constants.%DefaultOrUnformed.impl_witness.3c4) [concrete = constants.%DefaultOrUnformed.facet.07e] +// CHECK:STDOUT: %.loc4_18.1: %DefaultOrUnformed.type = converted constants.%f16.6c9, %DefaultOrUnformed.facet.loc4 [concrete = constants.%DefaultOrUnformed.facet.07e] +// CHECK:STDOUT: %as_type.loc4: type = facet_access_type %.loc4_18.1 [concrete = constants.%f16.6c9] +// CHECK:STDOUT: %.loc4_18.2: type = converted %.loc4_18.1, %as_type.loc4 [concrete = constants.%f16.6c9] // CHECK:STDOUT: -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc4: init %f16.f41 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.1() +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc4: init %f16.6c9 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.1() // CHECK:STDOUT: assign file.%test_f16.var, %T.as.DefaultOrUnformed.impl.Op.call.loc4 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc5: %DefaultOrUnformed.type = facet_value constants.%f32.750, (constants.%DefaultOrUnformed.impl_witness.d57) [concrete = constants.%DefaultOrUnformed.facet.a7b] -// CHECK:STDOUT: %.loc5_18.1: %DefaultOrUnformed.type = converted constants.%f32.750, %DefaultOrUnformed.facet.loc5 [concrete = constants.%DefaultOrUnformed.facet.a7b] -// CHECK:STDOUT: %as_type.loc5: type = facet_access_type %.loc5_18.1 [concrete = constants.%f32.750] -// CHECK:STDOUT: %.loc5_18.2: type = converted %.loc5_18.1, %as_type.loc5 [concrete = constants.%f32.750] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc5: %DefaultOrUnformed.type = facet_value constants.%f32.a26, (constants.%DefaultOrUnformed.impl_witness.bee) [concrete = constants.%DefaultOrUnformed.facet.a50] +// CHECK:STDOUT: %.loc5_18.1: %DefaultOrUnformed.type = converted constants.%f32.a26, %DefaultOrUnformed.facet.loc5 [concrete = constants.%DefaultOrUnformed.facet.a50] +// CHECK:STDOUT: %as_type.loc5: type = facet_access_type %.loc5_18.1 [concrete = constants.%f32.a26] +// CHECK:STDOUT: %.loc5_18.2: type = converted %.loc5_18.1, %as_type.loc5 [concrete = constants.%f32.a26] // CHECK:STDOUT: -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc5: init %f32.750 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.2() +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc5: init %f32.a26 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.2() // CHECK:STDOUT: assign file.%test_f32.var, %T.as.DefaultOrUnformed.impl.Op.call.loc5 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc6: %DefaultOrUnformed.type = facet_value constants.%f64.9a0, (constants.%DefaultOrUnformed.impl_witness.341) [concrete = constants.%DefaultOrUnformed.facet.c66] -// CHECK:STDOUT: %.loc6_18.1: %DefaultOrUnformed.type = converted constants.%f64.9a0, %DefaultOrUnformed.facet.loc6 [concrete = constants.%DefaultOrUnformed.facet.c66] -// CHECK:STDOUT: %as_type.loc6: type = facet_access_type %.loc6_18.1 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc6_18.2: type = converted %.loc6_18.1, %as_type.loc6 [concrete = constants.%f64.9a0] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc6: %DefaultOrUnformed.type = facet_value constants.%f64.b55, (constants.%DefaultOrUnformed.impl_witness.a95) [concrete = constants.%DefaultOrUnformed.facet.d33] +// CHECK:STDOUT: %.loc6_18.1: %DefaultOrUnformed.type = converted constants.%f64.b55, %DefaultOrUnformed.facet.loc6 [concrete = constants.%DefaultOrUnformed.facet.d33] +// CHECK:STDOUT: %as_type.loc6: type = facet_access_type %.loc6_18.1 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc6_18.2: type = converted %.loc6_18.1, %as_type.loc6 [concrete = constants.%f64.b55] // CHECK:STDOUT: -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc6: init %f64.9a0 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.3() +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc6: init %f64.b55 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.3() // CHECK:STDOUT: assign file.%test_f64.var, %T.as.DefaultOrUnformed.impl.Op.call.loc6 -// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7: %DefaultOrUnformed.type = facet_value constants.%f128.e4f, (constants.%DefaultOrUnformed.impl_witness.471) [concrete = constants.%DefaultOrUnformed.facet.45c] -// CHECK:STDOUT: %.loc7_20.1: %DefaultOrUnformed.type = converted constants.%f128.e4f, %DefaultOrUnformed.facet.loc7 [concrete = constants.%DefaultOrUnformed.facet.45c] -// CHECK:STDOUT: %as_type.loc7: type = facet_access_type %.loc7_20.1 [concrete = constants.%f128.e4f] -// CHECK:STDOUT: %.loc7_20.2: type = converted %.loc7_20.1, %as_type.loc7 [concrete = constants.%f128.e4f] +// CHECK:STDOUT: %DefaultOrUnformed.facet.loc7: %DefaultOrUnformed.type = facet_value constants.%f128.899, (constants.%DefaultOrUnformed.impl_witness.741) [concrete = constants.%DefaultOrUnformed.facet.6bf] +// CHECK:STDOUT: %.loc7_20.1: %DefaultOrUnformed.type = converted constants.%f128.899, %DefaultOrUnformed.facet.loc7 [concrete = constants.%DefaultOrUnformed.facet.6bf] +// CHECK:STDOUT: %as_type.loc7: type = facet_access_type %.loc7_20.1 [concrete = constants.%f128.899] +// CHECK:STDOUT: %.loc7_20.2: type = converted %.loc7_20.1, %as_type.loc7 [concrete = constants.%f128.899] // CHECK:STDOUT: -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc7: init %f128.e4f = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.4() +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call.loc7: init %f128.899 = call %T.as.DefaultOrUnformed.impl.Op.specific_fn.4() // CHECK:STDOUT: assign file.%test_f128.var, %T.as.DefaultOrUnformed.impl.Op.call.loc7 // CHECK:STDOUT: // CHECK:STDOUT: } @@ -587,13 +587,13 @@ var test_str: str = (); // CHECK:STDOUT: // CHECK:STDOUT: constants { // CHECK:STDOUT: %char: type = class_type @Char [concrete] -// CHECK:STDOUT: %pattern_type.54e: type = pattern_type %char [concrete] +// CHECK:STDOUT: %pattern_type.63d: type = pattern_type %char [concrete] // CHECK:STDOUT: %.b9b: Core.CharLiteral = char_value U+0063 [concrete] // CHECK:STDOUT: %ImplicitAs.type.f44: type = facet_type <@ImplicitAs, @ImplicitAs(%char)> [concrete] // CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness imports.%ImplicitAs.impl_witness_table [concrete] // CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.f44 = facet_value Core.CharLiteral, (%ImplicitAs.impl_witness) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.e2e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%char, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.441: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.e2e, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b40: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%char, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.dd0: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b40, %ImplicitAs.facet [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert.type: type = fn_type @Core.CharLiteral.as.ImplicitAs.impl.Convert [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert: %Core.CharLiteral.as.ImplicitAs.impl.Convert.type = struct_value () [concrete] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %.b9b, %Core.CharLiteral.as.ImplicitAs.impl.Convert [concrete] @@ -601,16 +601,16 @@ var test_str: str = (); // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.f08: %Core.CharLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/parts/char, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.f08), @Core.CharLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.ade: %Core.CharLiteral.as.ImplicitAs.impl.Convert.type = import_ref Core//prelude/parts/char, loc{{\d+_\d+}}, loaded [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.ade), @Core.CharLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_char.patt: %pattern_type.54e = value_binding_pattern test_char [concrete] +// CHECK:STDOUT: %test_char.patt: %pattern_type.63d = value_binding_pattern test_char [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %char: type = type_literal constants.%char [concrete = constants.%char] -// CHECK:STDOUT: %impl.elem0: %.441 = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] +// CHECK:STDOUT: %impl.elem0: %.dd0 = impl_witness_access constants.%ImplicitAs.impl_witness, element0 [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert] // CHECK:STDOUT: %bound_method: = bound_method @__global_init.%.loc5, %impl.elem0 [concrete = constants.%Core.CharLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %Core.CharLiteral.as.ImplicitAs.impl.Convert.call: init %char = call %bound_method(@__global_init.%.loc5) [concrete = constants.%int_99] // CHECK:STDOUT: %.loc5_23.1: %char = value_of_initializer %Core.CharLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_99] @@ -627,31 +627,31 @@ var test_str: str = (); // CHECK:STDOUT: --- string.carbon // CHECK:STDOUT: // CHECK:STDOUT: constants { -// CHECK:STDOUT: %str.91f: type = class_type @String [concrete] +// CHECK:STDOUT: %str.abf: type = class_type @String [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %u64: type = class_type @UInt, @UInt(%int_64) [concrete] // CHECK:STDOUT: %int_8: Core.IntLiteral = int_value 8 [concrete] // CHECK:STDOUT: %u8: type = class_type @UInt, @UInt(%int_8) [concrete] -// CHECK:STDOUT: %ptr.cb7: type = ptr_type %u8 [concrete] -// CHECK:STDOUT: %pattern_type.ff8: type = pattern_type %str.91f [concrete] -// CHECK:STDOUT: %str.87b: %ptr.cb7 = string_literal "Test" [concrete] +// CHECK:STDOUT: %ptr.9b7: type = ptr_type %u8 [concrete] +// CHECK:STDOUT: %pattern_type.3d7: type = pattern_type %str.abf [concrete] +// CHECK:STDOUT: %str.de7: %ptr.9b7 = string_literal "Test" [concrete] // CHECK:STDOUT: %int_4: %u64 = int_value 4 [concrete] -// CHECK:STDOUT: %String.val: %str.91f = struct_value (%str.87b, %int_4) [concrete] +// CHECK:STDOUT: %String.val: %str.abf = struct_value (%str.de7, %int_4) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %test_str.patt: %pattern_type.ff8 = value_binding_pattern test_str [concrete] +// CHECK:STDOUT: %test_str.patt: %pattern_type.3d7 = value_binding_pattern test_str [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %str: type = type_literal constants.%str.91f [concrete = constants.%str.91f] -// CHECK:STDOUT: %test_str: %str.91f = value_binding test_str, @__global_init.%String.val +// CHECK:STDOUT: %str: type = type_literal constants.%str.abf [concrete = constants.%str.abf] +// CHECK:STDOUT: %test_str: %str.abf = value_binding test_str, @__global_init.%String.val // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %str: %ptr.cb7 = string_literal "Test" [concrete = constants.%str.87b] +// CHECK:STDOUT: %str: %ptr.9b7 = string_literal "Test" [concrete = constants.%str.de7] // CHECK:STDOUT: %int_4: %u64 = int_value 4 [concrete = constants.%int_4] -// CHECK:STDOUT: %String.val: %str.91f = struct_value (%str, %int_4) [concrete = constants.%String.val] +// CHECK:STDOUT: %String.val: %str.abf = struct_value (%str, %int_4) [concrete = constants.%String.val] // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: @@ -662,18 +662,18 @@ var test_str: str = (); // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.592: = impl_witness imports.%Copy.impl_witness_table.fbd [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.592) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.b33: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.173: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b33, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.f49: = impl_witness imports.%Copy.impl_witness_table.fcf [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.f49) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cd0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.31b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cd0, %Copy.facet [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.type: type = fn_type @type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op: %type.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.bound: = bound_method %i32, %type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.41e: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.fbd = impl_witness_table (%Core.import_ref.41e), @type.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.fcf = impl_witness_table (%Core.import_ref.f63), @type.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -689,7 +689,7 @@ var test_str: str = (); // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.173 = impl_witness_access constants.%Copy.impl_witness.592, element0 [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.31b = impl_witness_access constants.%Copy.impl_witness.f49, element0 [concrete = constants.%type.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %i32, %impl.elem0 [concrete = constants.%type.as.Copy.impl.Op.bound] // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%i32) [concrete = constants.%i32] // CHECK:STDOUT: assign file.%test_type.var, %type.as.Copy.impl.Op.call diff --git a/toolchain/check/testdata/return/code_after_return.carbon b/toolchain/check/testdata/return/code_after_return.carbon index 8dc096bcb9a6..34c74c5ca9be 100644 --- a/toolchain/check/testdata/return/code_after_return.carbon +++ b/toolchain/check/testdata/return/code_after_return.carbon @@ -24,8 +24,8 @@ fn Main() { // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -36,7 +36,7 @@ fn Main() { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { diff --git a/toolchain/check/testdata/return/code_after_return_value.carbon b/toolchain/check/testdata/return/code_after_return_value.carbon index ebcf1f45b913..f1d8da7667c8 100644 --- a/toolchain/check/testdata/return/code_after_return_value.carbon +++ b/toolchain/check/testdata/return/code_after_return_value.carbon @@ -34,27 +34,27 @@ fn F(unused b: bool) -> i32 { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -69,9 +69,9 @@ fn F(unused b: bool) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/parts/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -84,11 +84,11 @@ fn F(unused b: bool) -> i32 { // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %b.patt: %pattern_type.831 = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15_25: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15_25: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %b.param: bool = value_param call_param0 // CHECK:STDOUT: %.loc15_16: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %b: bool = value_binding b, %b.param @@ -100,12 +100,12 @@ fn F(unused b: bool) -> i32 { // CHECK:STDOUT: fn @F(%b.param: bool) -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_11.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_11.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_11.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_11.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc16: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc16_11.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_11.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc16: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: return %.loc16 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/fail_call_in_type.carbon b/toolchain/check/testdata/return/fail_call_in_type.carbon index dee4a95306e7..26a79379755f 100644 --- a/toolchain/check/testdata/return/fail_call_in_type.carbon +++ b/toolchain/check/testdata/return/fail_call_in_type.carbon @@ -33,10 +33,10 @@ fn Six() -> ReturnType() { return 6; } // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.592: = impl_witness imports.%Copy.impl_witness_table.fbd [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.592) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.b33: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.173: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b33, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.f49: = impl_witness imports.%Copy.impl_witness_table.fcf [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.f49) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cd0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.31b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cd0, %Copy.facet [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.type: type = fn_type @type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op: %type.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.bound: = bound_method %i32, %type.as.Copy.impl.Op [concrete] @@ -54,8 +54,8 @@ fn Six() -> ReturnType() { return 6; } // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.41e: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.fbd = impl_witness_table (%Core.import_ref.41e), @type.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.fcf = impl_witness_table (%Core.import_ref.f63), @type.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -88,7 +88,7 @@ fn Six() -> ReturnType() { return 6; } // CHECK:STDOUT: fn @ReturnType() -> out %return.param: type { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.173 = impl_witness_access constants.%Copy.impl_witness.592, element0 [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.31b = impl_witness_access constants.%Copy.impl_witness.f49, element0 [concrete = constants.%type.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %i32, %impl.elem0 [concrete = constants.%type.as.Copy.impl.Op.bound] // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%i32) [concrete = constants.%i32] // CHECK:STDOUT: return %type.as.Copy.impl.Op.call diff --git a/toolchain/check/testdata/return/fail_missing_return.carbon b/toolchain/check/testdata/return/fail_missing_return.carbon index 7347b390f454..96392d7cda91 100644 --- a/toolchain/check/testdata/return/fail_missing_return.carbon +++ b/toolchain/check/testdata/return/fail_missing_return.carbon @@ -26,8 +26,8 @@ fn Main() -> i32 { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -48,11 +48,11 @@ fn Main() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Main.decl: %Main.type = fn_decl @Main [concrete = constants.%Main] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/return/fail_return_with_returned_var.carbon b/toolchain/check/testdata/return/fail_return_with_returned_var.carbon index 44d9678ad32a..13ea30817447 100644 --- a/toolchain/check/testdata/return/fail_return_with_returned_var.carbon +++ b/toolchain/check/testdata/return/fail_return_with_returned_var.carbon @@ -45,50 +45,50 @@ fn G() -> C { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc16_12.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc16_12.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %i32 [concrete] -// CHECK:STDOUT: %struct_type.a.b.602: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %complete_type.f58: = complete_type_witness %struct_type.a.b.602 [concrete] -// CHECK:STDOUT: %.e64: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %struct_type.a.b.b47: type = struct_type {.a: %i32, .b: %i32} [concrete] +// CHECK:STDOUT: %complete_type.abf: = complete_type_witness %struct_type.a.b.b47 [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.a.b.cfd = struct_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %C.val: %C = struct_value (%int_1.d5e, %int_2.4ff) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %C.val: %C = struct_value (%int_1.d9c, %int_2.228) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -100,9 +100,9 @@ fn G() -> C { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -115,21 +115,21 @@ fn G() -> C { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.d7b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.d7b = return_slot_pattern %return.param_patt, %C.ref.loc28 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref.loc28 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc28: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc28: Core.Form = init_form %C.ref.loc28 [concrete = constants.%.e64] +// CHECK:STDOUT: %.loc28: Core.Form = init_form %C.ref.loc28 [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } @@ -138,7 +138,7 @@ fn G() -> C { // CHECK:STDOUT: class @C { // CHECK:STDOUT: %.loc27_16: %C.elem = field_decl a, element0 [concrete] // CHECK:STDOUT: %.loc27_28: %C.elem = field_decl b, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.602 [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.b47 [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -150,22 +150,22 @@ fn G() -> C { // CHECK:STDOUT: fn @F() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.c6b = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.c6b = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.104 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.104 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %i32 = var %v.var_patt // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc16_12.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc16_12.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc16_12.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_12.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc16: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc16_12.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_12.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc16: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign %v.var, %.loc16 // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %v: ref %i32 = ref_binding v, %v.var // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -180,28 +180,28 @@ fn G() -> C { // CHECK:STDOUT: fn @G() -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.d7b = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.d7b = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.0d5 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.0d5 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc29_38.1: %struct_type.a.b.cfd = struct_literal (%int_1, %int_2) [concrete = constants.%struct] -// CHECK:STDOUT: %impl.elem0.loc29_38.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc29_38.1: = bound_method %int_1, %impl.elem0.loc29_38.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc29_38.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc29_38.1: = bound_method %int_1, %impl.elem0.loc29_38.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc29_38.1: = specific_function %impl.elem0.loc29_38.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc29_38.2: = bound_method %int_1, %specific_fn.loc29_38.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc29_38.1: init %i32 = call %bound_method.loc29_38.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc29_38.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc29_38.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc29_38.2: = bound_method %int_1, %specific_fn.loc29_38.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc29_38.1: init %i32 = call %bound_method.loc29_38.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc29_38.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc29_38.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc29_38.3: ref %i32 = class_element_access %return.param, element0 -// CHECK:STDOUT: %.loc29_38.4: init %i32 to %.loc29_38.3 = in_place_init %.loc29_38.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc29_38.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc29_38.3: = bound_method %int_2, %impl.elem0.loc29_38.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc29_38.4: init %i32 to %.loc29_38.3 = in_place_init %.loc29_38.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc29_38.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc29_38.3: = bound_method %int_2, %impl.elem0.loc29_38.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc29_38.2: = specific_function %impl.elem0.loc29_38.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc29_38.4: = bound_method %int_2, %specific_fn.loc29_38.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc29_38.2: init %i32 = call %bound_method.loc29_38.4(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc29_38.5: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc29_38.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc29_38.4: = bound_method %int_2, %specific_fn.loc29_38.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc29_38.2: init %i32 = call %bound_method.loc29_38.4(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc29_38.5: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc29_38.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc29_38.6: ref %i32 = class_element_access %return.param, element1 -// CHECK:STDOUT: %.loc29_38.7: init %i32 to %.loc29_38.6 = in_place_init %.loc29_38.5 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %.loc29_38.7: init %i32 to %.loc29_38.6 = in_place_init %.loc29_38.5 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc29_38.8: init %C to %return.param = class_init (%.loc29_38.4, %.loc29_38.7) [concrete = constants.%C.val] // CHECK:STDOUT: %.loc29_12: init %C = converted %.loc29_38.1, %.loc29_38.8 [concrete = constants.%C.val] // CHECK:STDOUT: assign %return.param, %.loc29_12 diff --git a/toolchain/check/testdata/return/fail_returned_var_shadow.carbon b/toolchain/check/testdata/return/fail_returned_var_shadow.carbon index f5d3d139076c..4755da846b84 100644 --- a/toolchain/check/testdata/return/fail_returned_var_shadow.carbon +++ b/toolchain/check/testdata/return/fail_returned_var_shadow.carbon @@ -52,36 +52,36 @@ fn DifferentScopes() -> i32 { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %SameScope.type: type = fn_type @SameScope [concrete] // CHECK:STDOUT: %SameScope: %SameScope.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc25_14.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc25_14.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: %DifferentScopes.type: type = fn_type @DifferentScopes [concrete] // CHECK:STDOUT: %DifferentScopes: %DifferentScopes.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -95,9 +95,9 @@ fn DifferentScopes() -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -109,20 +109,20 @@ fn DifferentScopes() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %SameScope.decl: %SameScope.type = fn_decl @SameScope [concrete = constants.%SameScope] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %DifferentScopes.decl: %DifferentScopes.type = fn_decl @DifferentScopes [concrete = constants.%DifferentScopes] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc30 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc30 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc30: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc30: Core.Form = init_form %i32.loc30 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc30: Core.Form = init_form %i32.loc30 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -135,32 +135,32 @@ fn DifferentScopes() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.then: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.c6b = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.c6b = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.104 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.104 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %i32 = var %v.var_patt // CHECK:STDOUT: %int_0.loc17: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc17: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc17_14.1: = bound_method %int_0.loc17, %impl.elem0.loc17 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc17: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc17_14.1: = bound_method %int_0.loc17, %impl.elem0.loc17 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc17_14.2: = bound_method %int_0.loc17, %specific_fn.loc17 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %i32 = call %bound_method.loc17_14.2(%int_0.loc17) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc17: init %i32 = converted %int_0.loc17, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc17_14.2: = bound_method %int_0.loc17, %specific_fn.loc17 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %i32 = call %bound_method.loc17_14.2(%int_0.loc17) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc17: init %i32 = converted %int_0.loc17, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign %v.var, %.loc17 // CHECK:STDOUT: %i32.loc17: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %v: ref %i32 = ref_binding v, %v.var // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: %pattern_type.c6b = ref_binding_pattern w [concrete] -// CHECK:STDOUT: %w.var_patt: %pattern_type.c6b = var_pattern %w.patt [concrete] +// CHECK:STDOUT: %w.patt: %pattern_type.104 = ref_binding_pattern w [concrete] +// CHECK:STDOUT: %w.var_patt: %pattern_type.104 = var_pattern %w.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %w.var: ref %i32 = var %w.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc25: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc25_14.1: = bound_method %int_1, %impl.elem0.loc25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc25: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc25_14.1: = bound_method %int_1, %impl.elem0.loc25 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc25: = specific_function %impl.elem0.loc25, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc25_14.2: = bound_method %int_1, %specific_fn.loc25 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25: init %i32 = call %bound_method.loc25_14.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc25: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc25_14.2: = bound_method %int_1, %specific_fn.loc25 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25: init %i32 = call %bound_method.loc25_14.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc25: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc25 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign %w.var, %.loc25 // CHECK:STDOUT: %i32.loc25: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %w: ref %i32 = ref_binding w, %w.var @@ -168,15 +168,15 @@ fn DifferentScopes() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.else: // CHECK:STDOUT: %int_0.loc27: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc27: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc27_11.1: = bound_method %int_0.loc27, %impl.elem0.loc27 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc27: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc27_11.1: = bound_method %int_0.loc27, %impl.elem0.loc27 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc27: = specific_function %impl.elem0.loc27, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc27_11.2: = bound_method %int_0.loc27, %specific_fn.loc27 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27: init %i32 = call %bound_method.loc27_11.2(%int_0.loc27) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc27: init %i32 = converted %int_0.loc27, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %Destroy.Op.bound.loc25: = bound_method %w.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %bound_method.loc27_11.2: = bound_method %int_0.loc27, %specific_fn.loc27 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27: init %i32 = call %bound_method.loc27_11.2(%int_0.loc27) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc27: init %i32 = converted %int_0.loc27, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %Destroy.Op.bound.loc25: = bound_method %w.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc25: init %empty_tuple.type = call %Destroy.Op.bound.loc25(%w.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc17: = bound_method %v.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc17: = bound_method %v.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc17: init %empty_tuple.type = call %Destroy.Op.bound.loc17(%v.var) // CHECK:STDOUT: return %.loc27 // CHECK:STDOUT: } @@ -195,17 +195,17 @@ fn DifferentScopes() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.then.loc31: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.c6b = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.c6b = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.104 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.104 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %i32 = var %v.var_patt // CHECK:STDOUT: %int_0.loc32: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc32: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc32_14.1: = bound_method %int_0.loc32, %impl.elem0.loc32 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc32: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc32_14.1: = bound_method %int_0.loc32, %impl.elem0.loc32 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc32: = specific_function %impl.elem0.loc32, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc32_14.2: = bound_method %int_0.loc32, %specific_fn.loc32 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32: init %i32 = call %bound_method.loc32_14.2(%int_0.loc32) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc32: init %i32 = converted %int_0.loc32, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc32_14.2: = bound_method %int_0.loc32, %specific_fn.loc32 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32: init %i32 = call %bound_method.loc32_14.2(%int_0.loc32) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc32: init %i32 = converted %int_0.loc32, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc32 [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign %v.var, %.loc32 // CHECK:STDOUT: %i32.loc32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %v: ref %i32 = ref_binding v, %v.var @@ -214,17 +214,17 @@ fn DifferentScopes() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.then.loc33: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: %pattern_type.c6b = ref_binding_pattern w [concrete] -// CHECK:STDOUT: %w.var_patt: %pattern_type.c6b = var_pattern %w.patt [concrete] +// CHECK:STDOUT: %w.patt: %pattern_type.104 = ref_binding_pattern w [concrete] +// CHECK:STDOUT: %w.var_patt: %pattern_type.104 = var_pattern %w.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %w.var: ref %i32 = var %w.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc41: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc41_16.1: = bound_method %int_1, %impl.elem0.loc41 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc41: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc41_16.1: = bound_method %int_1, %impl.elem0.loc41 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc41: = specific_function %impl.elem0.loc41, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc41_16.2: = bound_method %int_1, %specific_fn.loc41 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc41: init %i32 = call %bound_method.loc41_16.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc41: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc41 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc41_16.2: = bound_method %int_1, %specific_fn.loc41 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc41: init %i32 = call %bound_method.loc41_16.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc41: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc41 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign %w.var, %.loc41 // CHECK:STDOUT: %i32.loc41: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %w: ref %i32 = ref_binding w, %w.var @@ -235,15 +235,15 @@ fn DifferentScopes() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.else.loc31: // CHECK:STDOUT: %int_0.loc44: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc44: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc44_11.1: = bound_method %int_0.loc44, %impl.elem0.loc44 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc44: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc44_11.1: = bound_method %int_0.loc44, %impl.elem0.loc44 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc44: = specific_function %impl.elem0.loc44, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc44_11.2: = bound_method %int_0.loc44, %specific_fn.loc44 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc44: init %i32 = call %bound_method.loc44_11.2(%int_0.loc44) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc44: init %i32 = converted %int_0.loc44, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc44 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %Destroy.Op.bound.loc41: = bound_method %w.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %bound_method.loc44_11.2: = bound_method %int_0.loc44, %specific_fn.loc44 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc44: init %i32 = call %bound_method.loc44_11.2(%int_0.loc44) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc44: init %i32 = converted %int_0.loc44, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc44 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %Destroy.Op.bound.loc41: = bound_method %w.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc41: init %empty_tuple.type = call %Destroy.Op.bound.loc41(%w.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc32: = bound_method %v.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc32: = bound_method %v.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc32: init %empty_tuple.type = call %Destroy.Op.bound.loc32(%v.var) // CHECK:STDOUT: return %.loc44 // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/return/fail_returned_var_type.carbon b/toolchain/check/testdata/return/fail_returned_var_type.carbon index b169a1404dc4..4e939aff67a6 100644 --- a/toolchain/check/testdata/return/fail_returned_var_type.carbon +++ b/toolchain/check/testdata/return/fail_returned_var_type.carbon @@ -32,36 +32,36 @@ fn Mismatch() -> i32 { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Mismatch.type: type = fn_type @Mismatch [concrete] // CHECK:STDOUT: %Mismatch: %Mismatch.type = struct_value () [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %Float.type: type = generic_class_type @Float [concrete] // CHECK:STDOUT: %Float.generic: %Float.type = struct_value () [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %f64.794: type = float_type %int_64, f64 [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] // CHECK:STDOUT: %float.1f7: Core.FloatLiteral = float_literal_value 0e-1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.731: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.9a0)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.857: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.b55)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.26a: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.731 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.26a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ed2: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.9a0, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.2f4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ed2, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.83f: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.857 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.83f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.096: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.b55, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.119: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.096, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.2a6: %f64.9a0 = float_value 0 [concrete] +// CHECK:STDOUT: %float.1af: %f64.b55 = float_value 0 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc23_12.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc23_12.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -75,9 +75,9 @@ fn Mismatch() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Float: %Float.type = import_ref Core//prelude/parts/float, Float, loaded [concrete = constants.%Float.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.9a6: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.9a6), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -88,11 +88,11 @@ fn Mismatch() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Mismatch.decl: %Mismatch.type = fn_decl @Mismatch [concrete = constants.%Mismatch] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -101,29 +101,29 @@ fn Mismatch() -> i32 { // CHECK:STDOUT: fn @Mismatch() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.f4f = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.f4f = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.f3c = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.f3c = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref %f64.9a0 = var %v.var_patt +// CHECK:STDOUT: %v.var: ref %f64.b55 = var %v.var_patt // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 0e-1 [concrete = constants.%float.1f7] -// CHECK:STDOUT: %impl.elem0: %.2f4 = impl_witness_access constants.%ImplicitAs.impl_witness.26a, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b] +// CHECK:STDOUT: %impl.elem0: %.119 = impl_witness_access constants.%ImplicitAs.impl_witness.83f, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.881] // CHECK:STDOUT: %bound_method.loc23_12.1: = bound_method %float, %impl.elem0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc23_12.2: = bound_method %float, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.9a0 = call %bound_method.loc23_12.2(%float) [concrete = constants.%float.2a6] -// CHECK:STDOUT: %.loc23_12: init %f64.9a0 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.2a6] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.b55 = call %bound_method.loc23_12.2(%float) [concrete = constants.%float.1af] +// CHECK:STDOUT: %.loc23_12: init %f64.b55 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.1af] // CHECK:STDOUT: assign %v.var, %.loc23_12 -// CHECK:STDOUT: %f64: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %v: ref %f64.9a0 = ref_binding v, %v.var -// CHECK:STDOUT: %.loc23_17: %f64.9a0 = acquire_value %v -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %f64: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %v: ref %f64.b55 = ref_binding v, %v.var +// CHECK:STDOUT: %.loc23_17: %f64.b55 = acquire_value %v +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return %.loc23_17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc23_12.1(%self.param: ref %f64.794) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc23_12.2(%self.param: ref %f64.9a0) { +// CHECK:STDOUT: fn @Destroy.Op.loc23_12.2(%self.param: ref %f64.b55) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/return/fail_type_mismatch.carbon b/toolchain/check/testdata/return/fail_type_mismatch.carbon index 3bb948557b0d..f60c3f6c1edf 100644 --- a/toolchain/check/testdata/return/fail_type_mismatch.carbon +++ b/toolchain/check/testdata/return/fail_type_mismatch.carbon @@ -30,13 +30,13 @@ fn Main() -> i32 { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -47,7 +47,7 @@ fn Main() -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -57,11 +57,11 @@ fn Main() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Main.decl: %Main.type = fn_decl @Main [concrete = constants.%Main] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/return/fail_value_missing.carbon b/toolchain/check/testdata/return/fail_value_missing.carbon index d204dc32546e..7740dbc6ed13 100644 --- a/toolchain/check/testdata/return/fail_value_missing.carbon +++ b/toolchain/check/testdata/return/fail_value_missing.carbon @@ -30,8 +30,8 @@ fn Main() -> i32 { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -52,11 +52,11 @@ fn Main() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Main.decl: %Main.type = fn_decl @Main [concrete = constants.%Main] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/return/fail_var_in_type.carbon b/toolchain/check/testdata/return/fail_var_in_type.carbon index 6c9a7ff59491..abde14e11275 100644 --- a/toolchain/check/testdata/return/fail_var_in_type.carbon +++ b/toolchain/check/testdata/return/fail_var_in_type.carbon @@ -28,10 +28,10 @@ fn Six() -> x { return 6; } // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Copy.impl_witness.592: = impl_witness imports.%Copy.impl_witness_table.fbd [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.592) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.b33: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.173: type = fn_type_with_self_type %Copy.WithSelf.Op.type.b33, %Copy.facet [concrete] +// CHECK:STDOUT: %Copy.impl_witness.f49: = impl_witness imports.%Copy.impl_witness_table.fcf [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value type, (%Copy.impl_witness.f49) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.cd0: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.31b: type = fn_type_with_self_type %Copy.WithSelf.Op.type.cd0, %Copy.facet [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.type: type = fn_type @type.as.Copy.impl.Op [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op: %type.as.Copy.impl.Op.type = struct_value () [concrete] // CHECK:STDOUT: %type.as.Copy.impl.Op.bound: = bound_method %i32, %type.as.Copy.impl.Op [concrete] @@ -49,8 +49,8 @@ fn Six() -> x { return 6; } // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.41e: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] -// CHECK:STDOUT: %Copy.impl_witness_table.fbd = impl_witness_table (%Core.import_ref.41e), @type.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %type.as.Copy.impl.Op.type = import_ref Core//prelude/parts/copy, loc{{\d+_\d+}}, loaded [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %Copy.impl_witness_table.fcf = impl_witness_table (%Core.import_ref.f63), @type.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -85,7 +85,7 @@ fn Six() -> x { return 6; } // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0: %.173 = impl_witness_access constants.%Copy.impl_witness.592, element0 [concrete = constants.%type.as.Copy.impl.Op] +// CHECK:STDOUT: %impl.elem0: %.31b = impl_witness_access constants.%Copy.impl_witness.f49, element0 [concrete = constants.%type.as.Copy.impl.Op] // CHECK:STDOUT: %bound_method: = bound_method %i32, %impl.elem0 [concrete = constants.%type.as.Copy.impl.Op.bound] // CHECK:STDOUT: %type.as.Copy.impl.Op.call: init type = call %bound_method(%i32) [concrete = constants.%i32] // CHECK:STDOUT: assign file.%x.var, %type.as.Copy.impl.Op.call diff --git a/toolchain/check/testdata/return/import_convert_function.carbon b/toolchain/check/testdata/return/import_convert_function.carbon index 01242803929c..78f9b253b62b 100644 --- a/toolchain/check/testdata/return/import_convert_function.carbon +++ b/toolchain/check/testdata/return/import_convert_function.carbon @@ -56,110 +56,110 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %N.afc: %i32 = symbolic_binding N, 0 [symbolic] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %N.bbe: %i32 = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %C.78a: type = class_type @C, @C(%N.afc) [symbolic] +// CHECK:STDOUT: %C.d5e: type = class_type @C, @C(%N.bbe) [symbolic] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %D.elem: type = unbound_element_type %D, %i32 [concrete] -// CHECK:STDOUT: %struct_type.n.m.cd2: type = struct_type {.n: %i32, .m: %i32} [concrete] -// CHECK:STDOUT: %complete_type.78f: = complete_type_witness %struct_type.n.m.cd2 [concrete] -// CHECK:STDOUT: %.246: Core.Form = init_form %D [concrete] -// CHECK:STDOUT: %pattern_type.f0d: type = pattern_type %D [concrete] +// CHECK:STDOUT: %struct_type.n.m.052: type = struct_type {.n: %i32, .m: %i32} [concrete] +// CHECK:STDOUT: %complete_type.266: = complete_type_witness %struct_type.n.m.052 [concrete] +// CHECK:STDOUT: %.b94: Core.Form = init_form %D [concrete] +// CHECK:STDOUT: %pattern_type.9ff: type = pattern_type %D [concrete] // CHECK:STDOUT: %Make.type: type = fn_type @Make [concrete] // CHECK:STDOUT: %Make: %Make.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %struct_type.n.m.819: type = struct_type {.n: Core.IntLiteral, .m: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.n.m.819 = struct_value (%int_0.5c6, %int_0.5c6) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.e78: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.e78) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet.e78 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %D.val: %D = struct_value (%int_0.155, %int_0.155) [concrete] -// CHECK:STDOUT: %C.82d: type = class_type @C, @C(%int_0.155) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.a47: type = facet_type <@ImplicitAs, @ImplicitAs(%D)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.aac: = impl_witness @C.as.ImplicitAs.impl.dcd.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.268: type = pattern_type %C.82d [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.30a874.1: type = fn_type @C.as.ImplicitAs.impl.Convert.loc8 [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.e68432.1: %C.as.ImplicitAs.impl.Convert.type.30a874.1 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.840: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.840) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet.840 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %D.val: %D = struct_value (%int_0.62d, %int_0.62d) [concrete] +// CHECK:STDOUT: %C.429: type = class_type @C, @C(%int_0.62d) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.59f: type = facet_type <@ImplicitAs, @ImplicitAs(%D)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.07a: = impl_witness @C.as.ImplicitAs.impl.b6b.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.302: type = pattern_type %C.429 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.5a0a19.1: type = fn_type @C.as.ImplicitAs.impl.Convert.loc8 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.fcd869.1: %C.as.ImplicitAs.impl.Convert.type.5a0a19.1 = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %C.486: type = class_type @C, @C(%int_1.d5e) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.116: = impl_witness @C.as.ImplicitAs.impl.ac7.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.15e: type = pattern_type %C.486 [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.30a874.2: type = fn_type @C.as.ImplicitAs.impl.Convert.loc9 [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.e68432.2: %C.as.ImplicitAs.impl.Convert.type.30a874.2 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %C.ef8: type = class_type @C, @C(%int_1.d9c) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.074: = impl_witness @C.as.ImplicitAs.impl.35b.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.ae4: type = pattern_type %C.ef8 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.5a0a19.2: type = fn_type @C.as.ImplicitAs.impl.Convert.loc9 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.fcd869.2: %C.as.ImplicitAs.impl.Convert.type.5a0a19.2 = struct_value () [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %C.f46: type = class_type @C, @C(%int_2.4ff) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.602: = impl_witness @C.as.ImplicitAs.impl.362.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.bd1: type = pattern_type %C.f46 [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.30a874.3: type = fn_type @C.as.ImplicitAs.impl.Convert.loc10 [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.e68432.3: %C.as.ImplicitAs.impl.Convert.type.30a874.3 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %C.834: type = class_type @C, @C(%int_2.228) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.8db: = impl_witness @C.as.ImplicitAs.impl.cc9.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.e3d: type = pattern_type %C.834 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.5a0a19.3: type = fn_type @C.as.ImplicitAs.impl.Convert.loc10 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.fcd869.3: %C.as.ImplicitAs.impl.Convert.type.5a0a19.3 = struct_value () [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %C.555: type = class_type @C, @C(%int_3.49a) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.6a1: = impl_witness @C.as.ImplicitAs.impl.ff2.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.04b: type = pattern_type %C.555 [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.30a874.4: type = fn_type @C.as.ImplicitAs.impl.Convert.loc11 [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.e68432.4: %C.as.ImplicitAs.impl.Convert.type.30a874.4 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %C.888: type = class_type @C, @C(%int_3.6cc) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.cf6: = impl_witness @C.as.ImplicitAs.impl.e7e.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.c79: type = pattern_type %C.888 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.5a0a19.4: type = fn_type @C.as.ImplicitAs.impl.Convert.loc11 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.fcd869.4: %C.as.ImplicitAs.impl.Convert.type.5a0a19.4 = struct_value () [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] -// CHECK:STDOUT: %C.e8c: type = class_type @C, @C(%int_4.a7d) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.2ad: = impl_witness @C.as.ImplicitAs.impl.cc7.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.639: type = pattern_type %C.e8c [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.30a874.5: type = fn_type @C.as.ImplicitAs.impl.Convert.loc12 [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.e68432.5: %C.as.ImplicitAs.impl.Convert.type.30a874.5 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %C.925: type = class_type @C, @C(%int_4.a4d) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.297: = impl_witness @C.as.ImplicitAs.impl.855.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.324: type = pattern_type %C.925 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.5a0a19.5: type = fn_type @C.as.ImplicitAs.impl.Convert.loc12 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.fcd869.5: %C.as.ImplicitAs.impl.Convert.type.5a0a19.5 = struct_value () [concrete] // CHECK:STDOUT: %int_5.64b: Core.IntLiteral = int_value 5 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.10b: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] -// CHECK:STDOUT: %C.b28: type = class_type @C, @C(%int_5.c41) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.5e7: = impl_witness @C.as.ImplicitAs.impl.5c8.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.169: type = pattern_type %C.b28 [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.30a874.6: type = fn_type @C.as.ImplicitAs.impl.Convert.loc13 [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.e68432.6: %C.as.ImplicitAs.impl.Convert.type.30a874.6 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e3e: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %C.332: type = class_type @C, @C(%int_5.354) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.91a: = impl_witness @C.as.ImplicitAs.impl.59c.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.040: type = pattern_type %C.332 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.5a0a19.6: type = fn_type @C.as.ImplicitAs.impl.Convert.loc13 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.fcd869.6: %C.as.ImplicitAs.impl.Convert.type.5a0a19.6 = struct_value () [concrete] // CHECK:STDOUT: %int_6.462: Core.IntLiteral = int_value 6 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.790: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.8f1: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_6.7fc: %i32 = int_value 6 [concrete] -// CHECK:STDOUT: %C.4de: type = class_type @C, @C(%int_6.7fc) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.103: = impl_witness @C.as.ImplicitAs.impl.df9.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.9ca: type = pattern_type %C.4de [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.30a874.7: type = fn_type @C.as.ImplicitAs.impl.Convert.loc14 [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.e68432.7: %C.as.ImplicitAs.impl.Convert.type.30a874.7 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.6e4: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.50f: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_6.77d: %i32 = int_value 6 [concrete] +// CHECK:STDOUT: %C.771: type = class_type @C, @C(%int_6.77d) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.6c0: = impl_witness @C.as.ImplicitAs.impl.6f8.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.579: type = pattern_type %C.771 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.5a0a19.7: type = fn_type @C.as.ImplicitAs.impl.Convert.loc14 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.fcd869.7: %C.as.ImplicitAs.impl.Convert.type.5a0a19.7 = struct_value () [concrete] // CHECK:STDOUT: %int_7.29f: Core.IntLiteral = int_value 7 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.dbb: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.a24: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_7.0de: %i32 = int_value 7 [concrete] -// CHECK:STDOUT: %C.99f: type = class_type @C, @C(%int_7.0de) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.44c: = impl_witness @C.as.ImplicitAs.impl.f89.%ImplicitAs.impl_witness_table [concrete] -// CHECK:STDOUT: %pattern_type.822: type = pattern_type %C.99f [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.30a874.8: type = fn_type @C.as.ImplicitAs.impl.Convert.loc15 [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.e68432.8: %C.as.ImplicitAs.impl.Convert.type.30a874.8 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.286: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.936: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_7.c44: %i32 = int_value 7 [concrete] +// CHECK:STDOUT: %C.19e: type = class_type @C, @C(%int_7.c44) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.342: = impl_witness @C.as.ImplicitAs.impl.627.%ImplicitAs.impl_witness_table [concrete] +// CHECK:STDOUT: %pattern_type.c1d: type = pattern_type %C.19e [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.5a0a19.8: type = fn_type @C.as.ImplicitAs.impl.Convert.loc15 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.fcd869.8: %C.as.ImplicitAs.impl.Convert.type.5a0a19.8 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -170,9 +170,9 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -184,171 +184,171 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: %C.type = class_decl @C [concrete = constants.%C.generic] { -// CHECK:STDOUT: %N.patt: %pattern_type.c6b = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.104 = symbolic_binding_pattern N, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc4: type = splice_block %i32 [concrete = constants.%i32] { // CHECK:STDOUT: %.Self: %type = symbolic_binding .Self [symbolic_self = constants.%.Self] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: } -// CHECK:STDOUT: %N.loc4_10.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc4_10.1 (constants.%N.afc)] +// CHECK:STDOUT: %N.loc4_10.2: %i32 = symbolic_binding N, 0 [symbolic = %N.loc4_10.1 (constants.%N.bbe)] // CHECK:STDOUT: } // CHECK:STDOUT: %D.decl: type = class_decl @D [concrete = constants.%D] {} {} // CHECK:STDOUT: %Make.decl: %Make.type = fn_decl @Make [concrete = constants.%Make] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.f0d = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f0d = return_slot_pattern %return.param_patt, %D.ref [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.9ff = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.9ff = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc6_14: Core.Form = init_form %D.ref [concrete = constants.%.246] +// CHECK:STDOUT: %.loc6_14: Core.Form = init_form %D.ref [concrete = constants.%.b94] // CHECK:STDOUT: %return.param: ref %D = out_param call_param0 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.dcd [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.b6b [concrete] {} { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_9.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_9.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_9.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_9.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc8_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc8_9.2: %i32 = converted %int_0, %.loc8_9.1 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_0.155) [concrete = constants.%C.82d] +// CHECK:STDOUT: %bound_method.loc8_9.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc8_9.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc8_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc8_9.2: %i32 = converted %int_0, %.loc8_9.1 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_0.62d) [concrete = constants.%C.429] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.a47] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.59f] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.ac7 [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.35b [concrete] {} { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_9.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_9.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_9.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_9.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc9_9.2: %i32 = converted %int_1, %.loc9_9.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_1.d5e) [concrete = constants.%C.486] +// CHECK:STDOUT: %bound_method.loc9_9.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc9_9.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc9_9.2: %i32 = converted %int_1, %.loc9_9.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_1.d9c) [concrete = constants.%C.ef8] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.a47] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.59f] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.362 [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.cc9 [concrete] {} { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_9.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_9.1: = bound_method %int_2, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_9.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc10_9.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc10_9.2: %i32 = converted %int_2, %.loc10_9.1 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_2.4ff) [concrete = constants.%C.f46] +// CHECK:STDOUT: %bound_method.loc10_9.2: = bound_method %int_2, %specific_fn [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc10_9.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc10_9.2: %i32 = converted %int_2, %.loc10_9.1 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_2.228) [concrete = constants.%C.834] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.a47] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.59f] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.ff2 [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.e7e [concrete] {} { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc11_9.1: = bound_method %int_3, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc11_9.1: = bound_method %int_3, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_9.2: = bound_method %int_3, %specific_fn [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc11_9.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc11_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc11_9.2: %i32 = converted %int_3, %.loc11_9.1 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_3.49a) [concrete = constants.%C.555] +// CHECK:STDOUT: %bound_method.loc11_9.2: = bound_method %int_3, %specific_fn [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc11_9.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc11_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc11_9.2: %i32 = converted %int_3, %.loc11_9.1 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_3.6cc) [concrete = constants.%C.888] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.a47] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.59f] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.cc7 [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.855 [concrete] {} { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc12_9.1: = bound_method %int_4, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc12_9.1: = bound_method %int_4, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc12_9.2: = bound_method %int_4, %specific_fn [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc12_9.2(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc12_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc12_9.2: %i32 = converted %int_4, %.loc12_9.1 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_4.a7d) [concrete = constants.%C.e8c] +// CHECK:STDOUT: %bound_method.loc12_9.2: = bound_method %int_4, %specific_fn [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc12_9.2(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc12_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc12_9.2: %i32 = converted %int_4, %.loc12_9.1 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_4.a4d) [concrete = constants.%C.925] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.a47] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.59f] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.5c8 [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.59c [concrete] {} { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc13_9.1: = bound_method %int_5, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc13_9.1: = bound_method %int_5, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_9.2: = bound_method %int_5, %specific_fn [concrete = constants.%bound_method.10b] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_9.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc13_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc13_9.2: %i32 = converted %int_5, %.loc13_9.1 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_5.c41) [concrete = constants.%C.b28] +// CHECK:STDOUT: %bound_method.loc13_9.2: = bound_method %int_5, %specific_fn [concrete = constants.%bound_method.e3e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc13_9.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc13_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc13_9.2: %i32 = converted %int_5, %.loc13_9.1 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_5.354) [concrete = constants.%C.332] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.a47] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.59f] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.df9 [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.6f8 [concrete] {} { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_6: Core.IntLiteral = int_value 6 [concrete = constants.%int_6.462] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc14_9.1: = bound_method %int_6, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.790] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc14_9.1: = bound_method %int_6, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.6e4] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc14_9.2: = bound_method %int_6, %specific_fn [concrete = constants.%bound_method.8f1] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc14_9.2(%int_6) [concrete = constants.%int_6.7fc] -// CHECK:STDOUT: %.loc14_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_6.7fc] -// CHECK:STDOUT: %.loc14_9.2: %i32 = converted %int_6, %.loc14_9.1 [concrete = constants.%int_6.7fc] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_6.7fc) [concrete = constants.%C.4de] +// CHECK:STDOUT: %bound_method.loc14_9.2: = bound_method %int_6, %specific_fn [concrete = constants.%bound_method.50f] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc14_9.2(%int_6) [concrete = constants.%int_6.77d] +// CHECK:STDOUT: %.loc14_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_6.77d] +// CHECK:STDOUT: %.loc14_9.2: %i32 = converted %int_6, %.loc14_9.1 [concrete = constants.%int_6.77d] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_6.77d) [concrete = constants.%C.771] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.a47] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.59f] // CHECK:STDOUT: } -// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.f89 [concrete] {} { +// CHECK:STDOUT: impl_decl @C.as.ImplicitAs.impl.627 [concrete] {} { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C.generic] // CHECK:STDOUT: %int_7: Core.IntLiteral = int_value 7 [concrete = constants.%int_7.29f] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_9.1: = bound_method %int_7, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.dbb] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_9.1: = bound_method %int_7, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.286] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_9.2: = bound_method %int_7, %specific_fn [concrete = constants.%bound_method.a24] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_9.2(%int_7) [concrete = constants.%int_7.0de] -// CHECK:STDOUT: %.loc15_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_7.0de] -// CHECK:STDOUT: %.loc15_9.2: %i32 = converted %int_7, %.loc15_9.1 [concrete = constants.%int_7.0de] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_7.0de) [concrete = constants.%C.99f] +// CHECK:STDOUT: %bound_method.loc15_9.2: = bound_method %int_7, %specific_fn [concrete = constants.%bound_method.936] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_9.2(%int_7) [concrete = constants.%int_7.c44] +// CHECK:STDOUT: %.loc15_9.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_7.c44] +// CHECK:STDOUT: %.loc15_9.2: %i32 = converted %int_7, %.loc15_9.1 [concrete = constants.%int_7.c44] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%int_7.c44) [concrete = constants.%C.19e] // CHECK:STDOUT: %Core.ref: = name_ref Core, imports.%Core [concrete = imports.%Core] -// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.649 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %ImplicitAs.ref: %ImplicitAs.type.754 = name_ref ImplicitAs, imports.%Core.ImplicitAs [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.a47] +// CHECK:STDOUT: %ImplicitAs.type: type = facet_type <@ImplicitAs, @ImplicitAs(constants.%D)> [concrete = constants.%ImplicitAs.type.59f] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.dcd: %C as %ImplicitAs.type { -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.30a874.1 = fn_decl @C.as.ImplicitAs.impl.Convert.loc8 [concrete = constants.%C.as.ImplicitAs.impl.Convert.e68432.1] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.268 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.268 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.f0d = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f0d = return_slot_pattern %return.param_patt, %D.ref [concrete] +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.b6b: %C as %ImplicitAs.type { +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.5a0a19.1 = fn_decl @C.as.ImplicitAs.impl.Convert.loc8 [concrete = constants.%C.as.ImplicitAs.impl.Convert.fcd869.1] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.302 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.302 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.9ff = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.9ff = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc8_70.2: Core.Form = init_form %D.ref [concrete = constants.%.246] -// CHECK:STDOUT: %self.param: %C.82d = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.dcd.%C [concrete = constants.%C.82d] -// CHECK:STDOUT: %self: %C.82d = value_binding self, %self.param +// CHECK:STDOUT: %.loc8_70.2: Core.Form = init_form %D.ref [concrete = constants.%.b94] +// CHECK:STDOUT: %self.param: %C.429 = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.b6b.%C [concrete = constants.%C.429] +// CHECK:STDOUT: %self: %C.429 = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref %D = out_param call_param1 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.dcd [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.aac] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.b6b [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.07a] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .D = @@ -358,23 +358,23 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: witness = %ImplicitAs.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.ac7: %C as %ImplicitAs.type { -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.30a874.2 = fn_decl @C.as.ImplicitAs.impl.Convert.loc9 [concrete = constants.%C.as.ImplicitAs.impl.Convert.e68432.2] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.15e = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.15e = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.f0d = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f0d = return_slot_pattern %return.param_patt, %D.ref [concrete] +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.35b: %C as %ImplicitAs.type { +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.5a0a19.2 = fn_decl @C.as.ImplicitAs.impl.Convert.loc9 [concrete = constants.%C.as.ImplicitAs.impl.Convert.fcd869.2] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.ae4 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.ae4 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.9ff = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.9ff = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc9_70.2: Core.Form = init_form %D.ref [concrete = constants.%.246] -// CHECK:STDOUT: %self.param: %C.486 = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.ac7.%C [concrete = constants.%C.486] -// CHECK:STDOUT: %self: %C.486 = value_binding self, %self.param +// CHECK:STDOUT: %.loc9_70.2: Core.Form = init_form %D.ref [concrete = constants.%.b94] +// CHECK:STDOUT: %self.param: %C.ef8 = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.35b.%C [concrete = constants.%C.ef8] +// CHECK:STDOUT: %self: %C.ef8 = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref %D = out_param call_param1 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.ac7 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.116] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.35b [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.074] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .D = @@ -384,23 +384,23 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: witness = %ImplicitAs.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.362: %C as %ImplicitAs.type { -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.30a874.3 = fn_decl @C.as.ImplicitAs.impl.Convert.loc10 [concrete = constants.%C.as.ImplicitAs.impl.Convert.e68432.3] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.bd1 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.bd1 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.f0d = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f0d = return_slot_pattern %return.param_patt, %D.ref [concrete] +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.cc9: %C as %ImplicitAs.type { +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.5a0a19.3 = fn_decl @C.as.ImplicitAs.impl.Convert.loc10 [concrete = constants.%C.as.ImplicitAs.impl.Convert.fcd869.3] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.e3d = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.e3d = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.9ff = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.9ff = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc10_70.2: Core.Form = init_form %D.ref [concrete = constants.%.246] -// CHECK:STDOUT: %self.param: %C.f46 = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.362.%C [concrete = constants.%C.f46] -// CHECK:STDOUT: %self: %C.f46 = value_binding self, %self.param +// CHECK:STDOUT: %.loc10_70.2: Core.Form = init_form %D.ref [concrete = constants.%.b94] +// CHECK:STDOUT: %self.param: %C.834 = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.cc9.%C [concrete = constants.%C.834] +// CHECK:STDOUT: %self: %C.834 = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref %D = out_param call_param1 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.362 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.602] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.cc9 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.8db] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .D = @@ -410,23 +410,23 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: witness = %ImplicitAs.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.ff2: %C as %ImplicitAs.type { -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.30a874.4 = fn_decl @C.as.ImplicitAs.impl.Convert.loc11 [concrete = constants.%C.as.ImplicitAs.impl.Convert.e68432.4] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.04b = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.04b = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.f0d = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f0d = return_slot_pattern %return.param_patt, %D.ref [concrete] +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.e7e: %C as %ImplicitAs.type { +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.5a0a19.4 = fn_decl @C.as.ImplicitAs.impl.Convert.loc11 [concrete = constants.%C.as.ImplicitAs.impl.Convert.fcd869.4] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.c79 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.c79 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.9ff = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.9ff = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc11_70.2: Core.Form = init_form %D.ref [concrete = constants.%.246] -// CHECK:STDOUT: %self.param: %C.555 = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.ff2.%C [concrete = constants.%C.555] -// CHECK:STDOUT: %self: %C.555 = value_binding self, %self.param +// CHECK:STDOUT: %.loc11_70.2: Core.Form = init_form %D.ref [concrete = constants.%.b94] +// CHECK:STDOUT: %self.param: %C.888 = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.e7e.%C [concrete = constants.%C.888] +// CHECK:STDOUT: %self: %C.888 = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref %D = out_param call_param1 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.ff2 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.6a1] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.e7e [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.cf6] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .D = @@ -436,23 +436,23 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: witness = %ImplicitAs.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.cc7: %C as %ImplicitAs.type { -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.30a874.5 = fn_decl @C.as.ImplicitAs.impl.Convert.loc12 [concrete = constants.%C.as.ImplicitAs.impl.Convert.e68432.5] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.639 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.639 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.f0d = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f0d = return_slot_pattern %return.param_patt, %D.ref [concrete] +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.855: %C as %ImplicitAs.type { +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.5a0a19.5 = fn_decl @C.as.ImplicitAs.impl.Convert.loc12 [concrete = constants.%C.as.ImplicitAs.impl.Convert.fcd869.5] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.324 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.324 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.9ff = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.9ff = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc12_70.2: Core.Form = init_form %D.ref [concrete = constants.%.246] -// CHECK:STDOUT: %self.param: %C.e8c = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.cc7.%C [concrete = constants.%C.e8c] -// CHECK:STDOUT: %self: %C.e8c = value_binding self, %self.param +// CHECK:STDOUT: %.loc12_70.2: Core.Form = init_form %D.ref [concrete = constants.%.b94] +// CHECK:STDOUT: %self.param: %C.925 = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.855.%C [concrete = constants.%C.925] +// CHECK:STDOUT: %self: %C.925 = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref %D = out_param call_param1 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.cc7 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.2ad] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.855 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.297] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .D = @@ -462,23 +462,23 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: witness = %ImplicitAs.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.5c8: %C as %ImplicitAs.type { -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.30a874.6 = fn_decl @C.as.ImplicitAs.impl.Convert.loc13 [concrete = constants.%C.as.ImplicitAs.impl.Convert.e68432.6] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.169 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.169 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.f0d = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f0d = return_slot_pattern %return.param_patt, %D.ref [concrete] +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.59c: %C as %ImplicitAs.type { +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.5a0a19.6 = fn_decl @C.as.ImplicitAs.impl.Convert.loc13 [concrete = constants.%C.as.ImplicitAs.impl.Convert.fcd869.6] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.040 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.040 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.9ff = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.9ff = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc13_70.2: Core.Form = init_form %D.ref [concrete = constants.%.246] -// CHECK:STDOUT: %self.param: %C.b28 = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.5c8.%C [concrete = constants.%C.b28] -// CHECK:STDOUT: %self: %C.b28 = value_binding self, %self.param +// CHECK:STDOUT: %.loc13_70.2: Core.Form = init_form %D.ref [concrete = constants.%.b94] +// CHECK:STDOUT: %self.param: %C.332 = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.59c.%C [concrete = constants.%C.332] +// CHECK:STDOUT: %self: %C.332 = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref %D = out_param call_param1 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.5c8 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.5e7] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.59c [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.91a] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .D = @@ -488,23 +488,23 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: witness = %ImplicitAs.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.df9: %C as %ImplicitAs.type { -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.30a874.7 = fn_decl @C.as.ImplicitAs.impl.Convert.loc14 [concrete = constants.%C.as.ImplicitAs.impl.Convert.e68432.7] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.9ca = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.9ca = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.f0d = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f0d = return_slot_pattern %return.param_patt, %D.ref [concrete] +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.6f8: %C as %ImplicitAs.type { +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.5a0a19.7 = fn_decl @C.as.ImplicitAs.impl.Convert.loc14 [concrete = constants.%C.as.ImplicitAs.impl.Convert.fcd869.7] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.579 = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.579 = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.9ff = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.9ff = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc14_70.2: Core.Form = init_form %D.ref [concrete = constants.%.246] -// CHECK:STDOUT: %self.param: %C.4de = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.df9.%C [concrete = constants.%C.4de] -// CHECK:STDOUT: %self: %C.4de = value_binding self, %self.param +// CHECK:STDOUT: %.loc14_70.2: Core.Form = init_form %D.ref [concrete = constants.%.b94] +// CHECK:STDOUT: %self.param: %C.771 = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.6f8.%C [concrete = constants.%C.771] +// CHECK:STDOUT: %self: %C.771 = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref %D = out_param call_param1 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.df9 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.103] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.6f8 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.6c0] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .D = @@ -514,23 +514,23 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: witness = %ImplicitAs.impl_witness // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.f89: %C as %ImplicitAs.type { -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.30a874.8 = fn_decl @C.as.ImplicitAs.impl.Convert.loc15 [concrete = constants.%C.as.ImplicitAs.impl.Convert.e68432.8] { -// CHECK:STDOUT: %self.param_patt: %pattern_type.822 = value_param_pattern [concrete] -// CHECK:STDOUT: %self.patt: %pattern_type.822 = at_binding_pattern self, %self.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.f0d = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f0d = return_slot_pattern %return.param_patt, %D.ref [concrete] +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.627: %C as %ImplicitAs.type { +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.decl: %C.as.ImplicitAs.impl.Convert.type.5a0a19.8 = fn_decl @C.as.ImplicitAs.impl.Convert.loc15 [concrete = constants.%C.as.ImplicitAs.impl.Convert.fcd869.8] { +// CHECK:STDOUT: %self.param_patt: %pattern_type.c1d = value_param_pattern [concrete] +// CHECK:STDOUT: %self.patt: %pattern_type.c1d = at_binding_pattern self, %self.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.9ff = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.9ff = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %D.ref: type = name_ref D, file.%D.decl [concrete = constants.%D] -// CHECK:STDOUT: %.loc15_70.2: Core.Form = init_form %D.ref [concrete = constants.%.246] -// CHECK:STDOUT: %self.param: %C.99f = value_param call_param0 -// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.f89.%C [concrete = constants.%C.99f] -// CHECK:STDOUT: %self: %C.99f = value_binding self, %self.param +// CHECK:STDOUT: %.loc15_70.2: Core.Form = init_form %D.ref [concrete = constants.%.b94] +// CHECK:STDOUT: %self.param: %C.19e = value_param call_param0 +// CHECK:STDOUT: %Self.ref: type = name_ref Self, @C.as.ImplicitAs.impl.627.%C [concrete = constants.%C.19e] +// CHECK:STDOUT: %self: %C.19e = value_binding self, %self.param // CHECK:STDOUT: %return.param: ref %D = out_param call_param1 // CHECK:STDOUT: %return: ref %D = return_slot %return.param // CHECK:STDOUT: } -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.f89 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.44c] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%C.as.ImplicitAs.impl.Convert.decl), @C.as.ImplicitAs.impl.627 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness: = impl_witness %ImplicitAs.impl_witness_table [concrete = constants.%ImplicitAs.impl_witness.342] // CHECK:STDOUT: // CHECK:STDOUT: !members: // CHECK:STDOUT: .D = @@ -541,7 +541,7 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: generic class @C(%N.loc4_10.2: %i32) { -// CHECK:STDOUT: %N.loc4_10.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc4_10.1 (constants.%N.afc)] +// CHECK:STDOUT: %N.loc4_10.1: %i32 = symbolic_binding N, 0 [symbolic = %N.loc4_10.1 (constants.%N.bbe)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -550,14 +550,14 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = constants.%C.78a +// CHECK:STDOUT: .Self = constants.%C.d5e // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @D { // CHECK:STDOUT: %.loc5_16: %D.elem = field_decl n, element0 [concrete] // CHECK:STDOUT: %.loc5_28: %D.elem = field_decl m, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n.m.cd2 [concrete = constants.%complete_type.78f] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.n.m.052 [concrete = constants.%complete_type.266] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -571,28 +571,28 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %int_0.loc6_31: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %int_0.loc6_39: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc6_40.1: %struct_type.n.m.819 = struct_literal (%int_0.loc6_31, %int_0.loc6_39) [concrete = constants.%struct] -// CHECK:STDOUT: %impl.elem0.loc6_40.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_40.1: = bound_method %int_0.loc6_31, %impl.elem0.loc6_40.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc6_40.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_40.1: = bound_method %int_0.loc6_31, %impl.elem0.loc6_40.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc6_40.1: = specific_function %impl.elem0.loc6_40.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_40.2: = bound_method %int_0.loc6_31, %specific_fn.loc6_40.1 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_40.1: init %i32 = call %bound_method.loc6_40.2(%int_0.loc6_31) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc6_40.2: init %i32 = converted %int_0.loc6_31, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_40.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc6_40.2: = bound_method %int_0.loc6_31, %specific_fn.loc6_40.1 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_40.1: init %i32 = call %bound_method.loc6_40.2(%int_0.loc6_31) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc6_40.2: init %i32 = converted %int_0.loc6_31, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_40.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc6_40.3: ref %i32 = class_element_access %return.param, element0 -// CHECK:STDOUT: %.loc6_40.4: init %i32 to %.loc6_40.3 = in_place_init %.loc6_40.2 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %impl.elem0.loc6_40.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc6_40.3: = bound_method %int_0.loc6_39, %impl.elem0.loc6_40.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %.loc6_40.4: init %i32 to %.loc6_40.3 = in_place_init %.loc6_40.2 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %impl.elem0.loc6_40.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc6_40.3: = bound_method %int_0.loc6_39, %impl.elem0.loc6_40.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc6_40.2: = specific_function %impl.elem0.loc6_40.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_40.4: = bound_method %int_0.loc6_39, %specific_fn.loc6_40.2 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_40.2: init %i32 = call %bound_method.loc6_40.4(%int_0.loc6_39) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc6_40.5: init %i32 = converted %int_0.loc6_39, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_40.2 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc6_40.4: = bound_method %int_0.loc6_39, %specific_fn.loc6_40.2 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_40.2: init %i32 = call %bound_method.loc6_40.4(%int_0.loc6_39) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc6_40.5: init %i32 = converted %int_0.loc6_39, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc6_40.2 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc6_40.6: ref %i32 = class_element_access %return.param, element1 -// CHECK:STDOUT: %.loc6_40.7: init %i32 to %.loc6_40.6 = in_place_init %.loc6_40.5 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %.loc6_40.7: init %i32 to %.loc6_40.6 = in_place_init %.loc6_40.5 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc6_40.8: init %D to %return.param = class_init (%.loc6_40.4, %.loc6_40.7) [concrete = constants.%D.val] // CHECK:STDOUT: %.loc6_41: init %D = converted %.loc6_40.1, %.loc6_40.8 [concrete = constants.%D.val] // CHECK:STDOUT: return %.loc6_41 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc8(%self.param: %C.82d) -> out %return.param: %D { +// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc8(%self.param: %C.429) -> out %return.param: %D { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Make.ref: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %.loc8_70.1: ref %D = splice_block %return.param {} @@ -600,7 +600,7 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: return %Make.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc9(%self.param: %C.486) -> out %return.param: %D { +// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc9(%self.param: %C.ef8) -> out %return.param: %D { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Make.ref: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %.loc9_70.1: ref %D = splice_block %return.param {} @@ -608,7 +608,7 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: return %Make.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc10(%self.param: %C.f46) -> out %return.param: %D { +// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc10(%self.param: %C.834) -> out %return.param: %D { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Make.ref: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %.loc10_70.1: ref %D = splice_block %return.param {} @@ -616,7 +616,7 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: return %Make.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc11(%self.param: %C.555) -> out %return.param: %D { +// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc11(%self.param: %C.888) -> out %return.param: %D { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Make.ref: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %.loc11_70.1: ref %D = splice_block %return.param {} @@ -624,7 +624,7 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: return %Make.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc12(%self.param: %C.e8c) -> out %return.param: %D { +// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc12(%self.param: %C.925) -> out %return.param: %D { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Make.ref: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %.loc12_70.1: ref %D = splice_block %return.param {} @@ -632,7 +632,7 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: return %Make.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc13(%self.param: %C.b28) -> out %return.param: %D { +// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc13(%self.param: %C.332) -> out %return.param: %D { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Make.ref: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %.loc13_70.1: ref %D = splice_block %return.param {} @@ -640,7 +640,7 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: return %Make.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc14(%self.param: %C.4de) -> out %return.param: %D { +// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc14(%self.param: %C.771) -> out %return.param: %D { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Make.ref: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %.loc14_70.1: ref %D = splice_block %return.param {} @@ -648,7 +648,7 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: return %Make.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc15(%self.param: %C.99f) -> out %return.param: %D { +// CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.loc15(%self.param: %C.19e) -> out %return.param: %D { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %Make.ref: %Make.type = name_ref Make, file.%Make.decl [concrete = constants.%Make] // CHECK:STDOUT: %.loc15_70.1: ref %D = splice_block %return.param {} @@ -656,54 +656,54 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: return %Make.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%N.afc) { -// CHECK:STDOUT: %N.loc4_10.1 => constants.%N.afc +// CHECK:STDOUT: specific @C(constants.%N.bbe) { +// CHECK:STDOUT: %N.loc4_10.1 => constants.%N.bbe // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_0.155) { -// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_0.155 +// CHECK:STDOUT: specific @C(constants.%int_0.62d) { +// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_0.62d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_1.d5e) { -// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_1.d5e +// CHECK:STDOUT: specific @C(constants.%int_1.d9c) { +// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_1.d9c // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_2.4ff) { -// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_2.4ff +// CHECK:STDOUT: specific @C(constants.%int_2.228) { +// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_2.228 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_3.49a) { -// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_3.49a +// CHECK:STDOUT: specific @C(constants.%int_3.6cc) { +// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_3.6cc // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_4.a7d) { -// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_4.a7d +// CHECK:STDOUT: specific @C(constants.%int_4.a4d) { +// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_4.a4d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_5.c41) { -// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_5.c41 +// CHECK:STDOUT: specific @C(constants.%int_5.354) { +// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_5.354 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_6.7fc) { -// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_6.7fc +// CHECK:STDOUT: specific @C(constants.%int_6.77d) { +// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_6.77d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_7.0de) { -// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_7.0de +// CHECK:STDOUT: specific @C(constants.%int_7.c44) { +// CHECK:STDOUT: %N.loc4_10.1 => constants.%int_7.c44 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } @@ -716,12 +716,12 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %D: type = class_type @D [concrete] // CHECK:STDOUT: %struct_type.n.m: type = struct_type {.n: %i32, .m: %i32} [concrete] -// CHECK:STDOUT: %complete_type.78f: = complete_type_witness %struct_type.n.m [concrete] -// CHECK:STDOUT: %.246: Core.Form = init_form %D [concrete] -// CHECK:STDOUT: %pattern_type.f0d: type = pattern_type %D [concrete] +// CHECK:STDOUT: %complete_type.266: = complete_type_witness %struct_type.n.m [concrete] +// CHECK:STDOUT: %.b94: Core.Form = init_form %D [concrete] +// CHECK:STDOUT: %pattern_type.9ff: type = pattern_type %D [concrete] // CHECK:STDOUT: %F0.type: type = fn_type @F0 [concrete] // CHECK:STDOUT: %F0: %F0.type = struct_value () [concrete] // CHECK:STDOUT: %false: bool = bool_literal false [concrete] @@ -730,158 +730,158 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] // CHECK:STDOUT: %complete_type.357: = complete_type_witness %empty_struct_type [concrete] -// CHECK:STDOUT: %N.afc: %i32 = symbolic_binding N, 0 [symbolic] +// CHECK:STDOUT: %N.bbe: %i32 = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.e78: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.e78) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet.e78 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %C.82d: type = class_type @C, @C(%int_0.155) [concrete] -// CHECK:STDOUT: %C.val.be7: %C.82d = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.a47: type = facet_type <@ImplicitAs, @ImplicitAs(%D)> [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %C.486: type = class_type @C, @C(%int_1.d5e) [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %C.f46: type = class_type @C, @C(%int_2.4ff) [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %C.555: type = class_type @C, @C(%int_3.49a) [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] -// CHECK:STDOUT: %C.e8c: type = class_type @C, @C(%int_4.a7d) [concrete] -// CHECK:STDOUT: %int_5.c41: %i32 = int_value 5 [concrete] -// CHECK:STDOUT: %C.b28: type = class_type @C, @C(%int_5.c41) [concrete] -// CHECK:STDOUT: %int_6.7fc: %i32 = int_value 6 [concrete] -// CHECK:STDOUT: %C.4de: type = class_type @C, @C(%int_6.7fc) [concrete] -// CHECK:STDOUT: %int_7.0de: %i32 = int_value 7 [concrete] -// CHECK:STDOUT: %C.99f: type = class_type @C, @C(%int_7.0de) [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.99e: = impl_witness imports.%ImplicitAs.impl_witness_table.66f [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.348: %ImplicitAs.type.a47 = facet_value %C.82d, (%ImplicitAs.impl_witness.99e) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.856: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.348) [concrete] -// CHECK:STDOUT: %.55b: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.856, %ImplicitAs.facet.348 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.840: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.840) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet.840 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %C.429: type = class_type @C, @C(%int_0.62d) [concrete] +// CHECK:STDOUT: %C.val.964: %C.429 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.59f: type = facet_type <@ImplicitAs, @ImplicitAs(%D)> [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %C.ef8: type = class_type @C, @C(%int_1.d9c) [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %C.834: type = class_type @C, @C(%int_2.228) [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %C.888: type = class_type @C, @C(%int_3.6cc) [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %C.925: type = class_type @C, @C(%int_4.a4d) [concrete] +// CHECK:STDOUT: %int_5.354: %i32 = int_value 5 [concrete] +// CHECK:STDOUT: %C.332: type = class_type @C, @C(%int_5.354) [concrete] +// CHECK:STDOUT: %int_6.77d: %i32 = int_value 6 [concrete] +// CHECK:STDOUT: %C.771: type = class_type @C, @C(%int_6.77d) [concrete] +// CHECK:STDOUT: %int_7.c44: %i32 = int_value 7 [concrete] +// CHECK:STDOUT: %C.19e: type = class_type @C, @C(%int_7.c44) [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.5cc: = impl_witness imports.%ImplicitAs.impl_witness_table.443 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.bf9: %ImplicitAs.type.59f = facet_value %C.429, (%ImplicitAs.impl_witness.5cc) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.71e: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.bf9) [concrete] +// CHECK:STDOUT: %.231: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.71e, %ImplicitAs.facet.bf9 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.1: type = fn_type @C.as.ImplicitAs.impl.Convert.1 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.3cefb0.1: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.1 = struct_value () [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.524: = bound_method %C.val.be7, %C.as.ImplicitAs.impl.Convert.3cefb0.1 [concrete] -// CHECK:STDOUT: %.b0b: ref %C.82d = temporary invalid, %C.val.be7 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.e0e: = bound_method %C.val.964, %C.as.ImplicitAs.impl.Convert.3cefb0.1 [concrete] +// CHECK:STDOUT: %.34e: ref %C.429 = temporary invalid, %C.val.964 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc7_26.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.1ee: = bound_method %.b0b, %Destroy.Op.1dc86d.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc7_26.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.a0c: = bound_method %.34e, %Destroy.Op.2dd605.2 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %C.val.2aa: %C.486 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.e0f: = impl_witness imports.%ImplicitAs.impl_witness_table.cf8 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.33c: %ImplicitAs.type.a47 = facet_value %C.486, (%ImplicitAs.impl_witness.e0f) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.7f9: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.33c) [concrete] -// CHECK:STDOUT: %.5d3: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.7f9, %ImplicitAs.facet.33c [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %C.val.314: %C.ef8 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.11f: = impl_witness imports.%ImplicitAs.impl_witness_table.8b9 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.d34: %ImplicitAs.type.59f = facet_value %C.ef8, (%ImplicitAs.impl_witness.11f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.1f6: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.d34) [concrete] +// CHECK:STDOUT: %.018: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.1f6, %ImplicitAs.facet.d34 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.2: type = fn_type @C.as.ImplicitAs.impl.Convert.2 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.3cefb0.2: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.2 = struct_value () [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.89a: = bound_method %C.val.2aa, %C.as.ImplicitAs.impl.Convert.3cefb0.2 [concrete] -// CHECK:STDOUT: %.22d: ref %C.486 = temporary invalid, %C.val.2aa [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc8 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.ead: = bound_method %.22d, %Destroy.Op.1dc86d.3 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.535: = bound_method %C.val.314, %C.as.ImplicitAs.impl.Convert.3cefb0.2 [concrete] +// CHECK:STDOUT: %.12d: ref %C.ef8 = temporary invalid, %C.val.314 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc8 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.df7: = bound_method %.12d, %Destroy.Op.2dd605.3 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %C.val.738: %C.f46 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.7ca: = impl_witness imports.%ImplicitAs.impl_witness_table.1f6 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.3e9: %ImplicitAs.type.a47 = facet_value %C.f46, (%ImplicitAs.impl_witness.7ca) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.a8b: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.3e9) [concrete] -// CHECK:STDOUT: %.50a: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.a8b, %ImplicitAs.facet.3e9 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %C.val.f91: %C.834 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.5bb: = impl_witness imports.%ImplicitAs.impl_witness_table.8a21 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.87f: %ImplicitAs.type.59f = facet_value %C.834, (%ImplicitAs.impl_witness.5bb) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.af0: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.87f) [concrete] +// CHECK:STDOUT: %.460: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.af0, %ImplicitAs.facet.87f [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.3: type = fn_type @C.as.ImplicitAs.impl.Convert.3 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.3cefb0.3: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.3 = struct_value () [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.18b: = bound_method %C.val.738, %C.as.ImplicitAs.impl.Convert.3cefb0.3 [concrete] -// CHECK:STDOUT: %.1c4: ref %C.f46 = temporary invalid, %C.val.738 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc9 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.da0: = bound_method %.1c4, %Destroy.Op.1dc86d.4 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.37d: = bound_method %C.val.f91, %C.as.ImplicitAs.impl.Convert.3cefb0.3 [concrete] +// CHECK:STDOUT: %.29a: ref %C.834 = temporary invalid, %C.val.f91 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc9 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.852: = bound_method %.29a, %Destroy.Op.2dd605.4 [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.353: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %C.val.c8e: %C.555 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.40d: = impl_witness imports.%ImplicitAs.impl_witness_table.58c [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.01b: %ImplicitAs.type.a47 = facet_value %C.555, (%ImplicitAs.impl_witness.40d) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.c06: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.01b) [concrete] -// CHECK:STDOUT: %.9e2: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.c06, %ImplicitAs.facet.01b [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.655: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %C.val.4fc: %C.888 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.e44: = impl_witness imports.%ImplicitAs.impl_witness_table.109 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.ff1: %ImplicitAs.type.59f = facet_value %C.888, (%ImplicitAs.impl_witness.e44) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.72a: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.ff1) [concrete] +// CHECK:STDOUT: %.fa8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.72a, %ImplicitAs.facet.ff1 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.4: type = fn_type @C.as.ImplicitAs.impl.Convert.4 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.3cefb0.4: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.4 = struct_value () [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.49a: = bound_method %C.val.c8e, %C.as.ImplicitAs.impl.Convert.3cefb0.4 [concrete] -// CHECK:STDOUT: %.1b2: ref %C.555 = temporary invalid, %C.val.c8e [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc10 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.b79: = bound_method %.1b2, %Destroy.Op.1dc86d.5 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.452: = bound_method %C.val.4fc, %C.as.ImplicitAs.impl.Convert.3cefb0.4 [concrete] +// CHECK:STDOUT: %.160: ref %C.888 = temporary invalid, %C.val.4fc [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc10 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.3cd: = bound_method %.160, %Destroy.Op.2dd605.5 [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.bef: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %C.val.13b: %C.e8c = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.5ec: = impl_witness imports.%ImplicitAs.impl_witness_table.5b9 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.b1b: %ImplicitAs.type.a47 = facet_value %C.e8c, (%ImplicitAs.impl_witness.5ec) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.7be: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.b1b) [concrete] -// CHECK:STDOUT: %.0e0: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.7be, %ImplicitAs.facet.b1b [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.9f5: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %C.val.ff3: %C.925 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.2e1: = impl_witness imports.%ImplicitAs.impl_witness_table.253 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.2e9: %ImplicitAs.type.59f = facet_value %C.925, (%ImplicitAs.impl_witness.2e1) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.809: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.2e9) [concrete] +// CHECK:STDOUT: %.686: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.809, %ImplicitAs.facet.2e9 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.5: type = fn_type @C.as.ImplicitAs.impl.Convert.5 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.3cefb0.5: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.5 = struct_value () [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.26d: = bound_method %C.val.13b, %C.as.ImplicitAs.impl.Convert.3cefb0.5 [concrete] -// CHECK:STDOUT: %.aaa: ref %C.e8c = temporary invalid, %C.val.13b [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.6: type = fn_type @Destroy.Op.loc11 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.6: %Destroy.Op.type.af7ec0.6 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.a2e: = bound_method %.aaa, %Destroy.Op.1dc86d.6 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.3f4: = bound_method %C.val.ff3, %C.as.ImplicitAs.impl.Convert.3cefb0.5 [concrete] +// CHECK:STDOUT: %.db5: ref %C.925 = temporary invalid, %C.val.ff3 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.6: type = fn_type @Destroy.Op.loc11 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.6: %Destroy.Op.type.790b3b.6 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.fb1: = bound_method %.db5, %Destroy.Op.2dd605.6 [concrete] // CHECK:STDOUT: %int_5.64b: Core.IntLiteral = int_value 5 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.10b: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %C.val.cdc: %C.b28 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.96e: = impl_witness imports.%ImplicitAs.impl_witness_table.2e1 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.3ac: %ImplicitAs.type.a47 = facet_value %C.b28, (%ImplicitAs.impl_witness.96e) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.570: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.3ac) [concrete] -// CHECK:STDOUT: %.f5d: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.570, %ImplicitAs.facet.3ac [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e3e: = bound_method %int_5.64b, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %C.val.5b6: %C.332 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.6f8: = impl_witness imports.%ImplicitAs.impl_witness_table.34c [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.3ca: %ImplicitAs.type.59f = facet_value %C.332, (%ImplicitAs.impl_witness.6f8) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.80f: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.3ca) [concrete] +// CHECK:STDOUT: %.1f6: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.80f, %ImplicitAs.facet.3ca [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.6: type = fn_type @C.as.ImplicitAs.impl.Convert.6 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.3cefb0.6: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.6 = struct_value () [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.ab4: = bound_method %C.val.cdc, %C.as.ImplicitAs.impl.Convert.3cefb0.6 [concrete] -// CHECK:STDOUT: %.f18: ref %C.b28 = temporary invalid, %C.val.cdc [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.7: type = fn_type @Destroy.Op.loc12 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.7: %Destroy.Op.type.af7ec0.7 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.b69: = bound_method %.f18, %Destroy.Op.1dc86d.7 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.761: = bound_method %C.val.5b6, %C.as.ImplicitAs.impl.Convert.3cefb0.6 [concrete] +// CHECK:STDOUT: %.c3d: ref %C.332 = temporary invalid, %C.val.5b6 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.7: type = fn_type @Destroy.Op.loc12 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.7: %Destroy.Op.type.790b3b.7 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.d18: = bound_method %.c3d, %Destroy.Op.2dd605.7 [concrete] // CHECK:STDOUT: %int_6.462: Core.IntLiteral = int_value 6 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.790: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.8f1: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %C.val.793: %C.4de = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.088: = impl_witness imports.%ImplicitAs.impl_witness_table.9bb [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.14d: %ImplicitAs.type.a47 = facet_value %C.4de, (%ImplicitAs.impl_witness.088) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.972: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.14d) [concrete] -// CHECK:STDOUT: %.805: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.972, %ImplicitAs.facet.14d [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.6e4: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.50f: = bound_method %int_6.462, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %C.val.6cb: %C.771 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.c87: = impl_witness imports.%ImplicitAs.impl_witness_table.96b [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.13d: %ImplicitAs.type.59f = facet_value %C.771, (%ImplicitAs.impl_witness.c87) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.cc4: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.13d) [concrete] +// CHECK:STDOUT: %.f87: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.cc4, %ImplicitAs.facet.13d [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.7: type = fn_type @C.as.ImplicitAs.impl.Convert.7 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.3cefb0.7: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.7 = struct_value () [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.19d: = bound_method %C.val.793, %C.as.ImplicitAs.impl.Convert.3cefb0.7 [concrete] -// CHECK:STDOUT: %.3bf: ref %C.4de = temporary invalid, %C.val.793 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.8: type = fn_type @Destroy.Op.loc13 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.8: %Destroy.Op.type.af7ec0.8 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.dde: = bound_method %.3bf, %Destroy.Op.1dc86d.8 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.17f: = bound_method %C.val.6cb, %C.as.ImplicitAs.impl.Convert.3cefb0.7 [concrete] +// CHECK:STDOUT: %.7c7: ref %C.771 = temporary invalid, %C.val.6cb [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.8: type = fn_type @Destroy.Op.loc13 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.8: %Destroy.Op.type.790b3b.8 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.121: = bound_method %.7c7, %Destroy.Op.2dd605.8 [concrete] // CHECK:STDOUT: %int_7.29f: Core.IntLiteral = int_value 7 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.dbb: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.a24: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %C.val.f92: %C.99f = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.2a7: = impl_witness imports.%ImplicitAs.impl_witness_table.2c9 [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.dab: %ImplicitAs.type.a47 = facet_value %C.99f, (%ImplicitAs.impl_witness.2a7) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.3b8: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.dab) [concrete] -// CHECK:STDOUT: %.7a2: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.3b8, %ImplicitAs.facet.dab [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.286: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.936: = bound_method %int_7.29f, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %C.val.793: %C.19e = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.475: = impl_witness imports.%ImplicitAs.impl_witness_table.117 [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.df7: %ImplicitAs.type.59f = facet_value %C.19e, (%ImplicitAs.impl_witness.475) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.3ff: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%D, %ImplicitAs.facet.df7) [concrete] +// CHECK:STDOUT: %.b7c: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.3ff, %ImplicitAs.facet.df7 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.8: type = fn_type @C.as.ImplicitAs.impl.Convert.8 [concrete] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.3cefb0.8: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.8 = struct_value () [concrete] -// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.ddd: = bound_method %C.val.f92, %C.as.ImplicitAs.impl.Convert.3cefb0.8 [concrete] -// CHECK:STDOUT: %.7ff: ref %C.99f = temporary invalid, %C.val.f92 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.9: type = fn_type @Destroy.Op.loc14 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.9: %Destroy.Op.type.af7ec0.9 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.bound.324: = bound_method %.7ff, %Destroy.Op.1dc86d.9 [concrete] +// CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.bound.24e: = bound_method %C.val.793, %C.as.ImplicitAs.impl.Convert.3cefb0.8 [concrete] +// CHECK:STDOUT: %.a8b: ref %C.19e = temporary invalid, %C.val.793 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.9: type = fn_type @Destroy.Op.loc14 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.9: %Destroy.Op.type.790b3b.9 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.bound.46d: = bound_method %.a8b, %Destroy.Op.2dd605.9 [concrete] // CHECK:STDOUT: %Make.type: type = fn_type @Make [concrete] // CHECK:STDOUT: %Make: %Make.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -902,58 +902,58 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %P.D: type = import_ref P//library, D, loaded [concrete = constants.%D] -// CHECK:STDOUT: %P.import_ref.c88: = import_ref P//library, loc5_35, loaded [concrete = constants.%complete_type.78f] -// CHECK:STDOUT: %P.import_ref.89b = import_ref P//library, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %P.import_ref.9e1 = import_ref P//library, loc5_16, unloaded -// CHECK:STDOUT: %P.import_ref.76c = import_ref P//library, loc5_28, unloaded +// CHECK:STDOUT: %P.import_ref.e34: = import_ref P//library, loc5_35, loaded [concrete = constants.%complete_type.266] +// CHECK:STDOUT: %P.import_ref.edf = import_ref P//library, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %P.import_ref.843 = import_ref P//library, loc5_16, unloaded +// CHECK:STDOUT: %P.import_ref.cc0 = import_ref P//library, loc5_28, unloaded // CHECK:STDOUT: %P.C: %C.type = import_ref P//library, C, loaded [concrete = constants.%C.generic] // CHECK:STDOUT: %P.import_ref.8f2: = import_ref P//library, loc4_19, loaded [concrete = constants.%complete_type.357] -// CHECK:STDOUT: %P.import_ref.784 = import_ref P//library, inst{{[0-9A-F]+}} [no loc], unloaded -// CHECK:STDOUT: %P.import_ref.c2f: %i32 = import_ref P//library, loc4_10, loaded [symbolic = @C.%N (constants.%N.afc)] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %P.import_ref.818: = import_ref P//library, loc8_33, loaded [concrete = constants.%ImplicitAs.impl_witness.99e] -// CHECK:STDOUT: %P.import_ref.160: type = import_ref P//library, loc8_9, loaded [concrete = constants.%C.82d] -// CHECK:STDOUT: %P.import_ref.2af6e7.1: type = import_ref P//library, loc8_31, loaded [concrete = constants.%ImplicitAs.type.a47] -// CHECK:STDOUT: %P.import_ref.1d6: = import_ref P//library, loc9_33, loaded [concrete = constants.%ImplicitAs.impl_witness.e0f] -// CHECK:STDOUT: %P.import_ref.124: type = import_ref P//library, loc9_9, loaded [concrete = constants.%C.486] -// CHECK:STDOUT: %P.import_ref.2af6e7.2: type = import_ref P//library, loc9_31, loaded [concrete = constants.%ImplicitAs.type.a47] -// CHECK:STDOUT: %P.import_ref.aeb: = import_ref P//library, loc10_33, loaded [concrete = constants.%ImplicitAs.impl_witness.7ca] -// CHECK:STDOUT: %P.import_ref.4cb: type = import_ref P//library, loc10_9, loaded [concrete = constants.%C.f46] -// CHECK:STDOUT: %P.import_ref.2af6e7.3: type = import_ref P//library, loc10_31, loaded [concrete = constants.%ImplicitAs.type.a47] -// CHECK:STDOUT: %P.import_ref.e01: = import_ref P//library, loc11_33, loaded [concrete = constants.%ImplicitAs.impl_witness.40d] -// CHECK:STDOUT: %P.import_ref.d9b: type = import_ref P//library, loc11_9, loaded [concrete = constants.%C.555] -// CHECK:STDOUT: %P.import_ref.2af6e7.4: type = import_ref P//library, loc11_31, loaded [concrete = constants.%ImplicitAs.type.a47] -// CHECK:STDOUT: %P.import_ref.2c1: = import_ref P//library, loc12_33, loaded [concrete = constants.%ImplicitAs.impl_witness.5ec] -// CHECK:STDOUT: %P.import_ref.108: type = import_ref P//library, loc12_9, loaded [concrete = constants.%C.e8c] -// CHECK:STDOUT: %P.import_ref.2af6e7.5: type = import_ref P//library, loc12_31, loaded [concrete = constants.%ImplicitAs.type.a47] -// CHECK:STDOUT: %P.import_ref.e9c: = import_ref P//library, loc13_33, loaded [concrete = constants.%ImplicitAs.impl_witness.96e] -// CHECK:STDOUT: %P.import_ref.172: type = import_ref P//library, loc13_9, loaded [concrete = constants.%C.b28] -// CHECK:STDOUT: %P.import_ref.2af6e7.6: type = import_ref P//library, loc13_31, loaded [concrete = constants.%ImplicitAs.type.a47] -// CHECK:STDOUT: %P.import_ref.ca2: = import_ref P//library, loc14_33, loaded [concrete = constants.%ImplicitAs.impl_witness.088] -// CHECK:STDOUT: %P.import_ref.e90: type = import_ref P//library, loc14_9, loaded [concrete = constants.%C.4de] -// CHECK:STDOUT: %P.import_ref.2af6e7.7: type = import_ref P//library, loc14_31, loaded [concrete = constants.%ImplicitAs.type.a47] -// CHECK:STDOUT: %P.import_ref.3d8: = import_ref P//library, loc15_33, loaded [concrete = constants.%ImplicitAs.impl_witness.2a7] -// CHECK:STDOUT: %P.import_ref.3da: type = import_ref P//library, loc15_9, loaded [concrete = constants.%C.99f] -// CHECK:STDOUT: %P.import_ref.2af6e7.8: type = import_ref P//library, loc15_31, loaded [concrete = constants.%ImplicitAs.type.a47] -// CHECK:STDOUT: %P.import_ref.bab851.1: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.1 = import_ref P//library, loc8_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.1] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.66f = impl_witness_table (%P.import_ref.bab851.1), @C.as.ImplicitAs.impl.d4f [concrete] +// CHECK:STDOUT: %P.import_ref.b84 = import_ref P//library, inst{{[0-9A-F]+}} [no loc], unloaded +// CHECK:STDOUT: %P.import_ref.d92: %i32 = import_ref P//library, loc4_10, loaded [symbolic = @C.%N (constants.%N.bbe)] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %P.import_ref.03e: = import_ref P//library, loc8_33, loaded [concrete = constants.%ImplicitAs.impl_witness.5cc] +// CHECK:STDOUT: %P.import_ref.234: type = import_ref P//library, loc8_9, loaded [concrete = constants.%C.429] +// CHECK:STDOUT: %P.import_ref.e4b86c.1: type = import_ref P//library, loc8_31, loaded [concrete = constants.%ImplicitAs.type.59f] +// CHECK:STDOUT: %P.import_ref.5056: = import_ref P//library, loc9_33, loaded [concrete = constants.%ImplicitAs.impl_witness.11f] +// CHECK:STDOUT: %P.import_ref.ffb: type = import_ref P//library, loc9_9, loaded [concrete = constants.%C.ef8] +// CHECK:STDOUT: %P.import_ref.e4b86c.2: type = import_ref P//library, loc9_31, loaded [concrete = constants.%ImplicitAs.type.59f] +// CHECK:STDOUT: %P.import_ref.6f5: = import_ref P//library, loc10_33, loaded [concrete = constants.%ImplicitAs.impl_witness.5bb] +// CHECK:STDOUT: %P.import_ref.d77: type = import_ref P//library, loc10_9, loaded [concrete = constants.%C.834] +// CHECK:STDOUT: %P.import_ref.e4b86c.3: type = import_ref P//library, loc10_31, loaded [concrete = constants.%ImplicitAs.type.59f] +// CHECK:STDOUT: %P.import_ref.765: = import_ref P//library, loc11_33, loaded [concrete = constants.%ImplicitAs.impl_witness.e44] +// CHECK:STDOUT: %P.import_ref.61b: type = import_ref P//library, loc11_9, loaded [concrete = constants.%C.888] +// CHECK:STDOUT: %P.import_ref.e4b86c.4: type = import_ref P//library, loc11_31, loaded [concrete = constants.%ImplicitAs.type.59f] +// CHECK:STDOUT: %P.import_ref.535: = import_ref P//library, loc12_33, loaded [concrete = constants.%ImplicitAs.impl_witness.2e1] +// CHECK:STDOUT: %P.import_ref.4f6: type = import_ref P//library, loc12_9, loaded [concrete = constants.%C.925] +// CHECK:STDOUT: %P.import_ref.e4b86c.5: type = import_ref P//library, loc12_31, loaded [concrete = constants.%ImplicitAs.type.59f] +// CHECK:STDOUT: %P.import_ref.e74: = import_ref P//library, loc13_33, loaded [concrete = constants.%ImplicitAs.impl_witness.6f8] +// CHECK:STDOUT: %P.import_ref.5059: type = import_ref P//library, loc13_9, loaded [concrete = constants.%C.332] +// CHECK:STDOUT: %P.import_ref.e4b86c.6: type = import_ref P//library, loc13_31, loaded [concrete = constants.%ImplicitAs.type.59f] +// CHECK:STDOUT: %P.import_ref.b6e: = import_ref P//library, loc14_33, loaded [concrete = constants.%ImplicitAs.impl_witness.c87] +// CHECK:STDOUT: %P.import_ref.361: type = import_ref P//library, loc14_9, loaded [concrete = constants.%C.771] +// CHECK:STDOUT: %P.import_ref.e4b86c.7: type = import_ref P//library, loc14_31, loaded [concrete = constants.%ImplicitAs.type.59f] +// CHECK:STDOUT: %P.import_ref.71c: = import_ref P//library, loc15_33, loaded [concrete = constants.%ImplicitAs.impl_witness.475] +// CHECK:STDOUT: %P.import_ref.caa: type = import_ref P//library, loc15_9, loaded [concrete = constants.%C.19e] +// CHECK:STDOUT: %P.import_ref.e4b86c.8: type = import_ref P//library, loc15_31, loaded [concrete = constants.%ImplicitAs.type.59f] +// CHECK:STDOUT: %P.import_ref.ef42d7.1: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.1 = import_ref P//library, loc8_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.1] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.443 = impl_witness_table (%P.import_ref.ef42d7.1), @C.as.ImplicitAs.impl.028 [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %P.import_ref.bab851.2: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.2 = import_ref P//library, loc9_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.2] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.cf8 = impl_witness_table (%P.import_ref.bab851.2), @C.as.ImplicitAs.impl.6b0 [concrete] -// CHECK:STDOUT: %P.import_ref.bab851.3: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.3 = import_ref P//library, loc10_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.3] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1f6 = impl_witness_table (%P.import_ref.bab851.3), @C.as.ImplicitAs.impl.cd0 [concrete] -// CHECK:STDOUT: %P.import_ref.bab851.4: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.4 = import_ref P//library, loc11_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.4] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.58c = impl_witness_table (%P.import_ref.bab851.4), @C.as.ImplicitAs.impl.a2d [concrete] -// CHECK:STDOUT: %P.import_ref.bab851.5: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.5 = import_ref P//library, loc12_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.5] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.5b9 = impl_witness_table (%P.import_ref.bab851.5), @C.as.ImplicitAs.impl.bd8 [concrete] -// CHECK:STDOUT: %P.import_ref.bab851.6: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.6 = import_ref P//library, loc13_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.6] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.2e1 = impl_witness_table (%P.import_ref.bab851.6), @C.as.ImplicitAs.impl.6df [concrete] -// CHECK:STDOUT: %P.import_ref.bab851.7: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.7 = import_ref P//library, loc14_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.7] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.9bb = impl_witness_table (%P.import_ref.bab851.7), @C.as.ImplicitAs.impl.3e2 [concrete] -// CHECK:STDOUT: %P.import_ref.bab851.8: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.8 = import_ref P//library, loc15_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.8] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.2c9 = impl_witness_table (%P.import_ref.bab851.8), @C.as.ImplicitAs.impl.d11 [concrete] +// CHECK:STDOUT: %P.import_ref.ef42d7.2: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.2 = import_ref P//library, loc9_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.2] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.8b9 = impl_witness_table (%P.import_ref.ef42d7.2), @C.as.ImplicitAs.impl.5fc [concrete] +// CHECK:STDOUT: %P.import_ref.ef42d7.3: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.3 = import_ref P//library, loc10_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.3] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.8a21 = impl_witness_table (%P.import_ref.ef42d7.3), @C.as.ImplicitAs.impl.15f [concrete] +// CHECK:STDOUT: %P.import_ref.ef42d7.4: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.4 = import_ref P//library, loc11_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.4] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.109 = impl_witness_table (%P.import_ref.ef42d7.4), @C.as.ImplicitAs.impl.6c0 [concrete] +// CHECK:STDOUT: %P.import_ref.ef42d7.5: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.5 = import_ref P//library, loc12_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.5] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.253 = impl_witness_table (%P.import_ref.ef42d7.5), @C.as.ImplicitAs.impl.1d7 [concrete] +// CHECK:STDOUT: %P.import_ref.ef42d7.6: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.6 = import_ref P//library, loc13_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.6] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.34c = impl_witness_table (%P.import_ref.ef42d7.6), @C.as.ImplicitAs.impl.a1c [concrete] +// CHECK:STDOUT: %P.import_ref.ef42d7.7: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.7 = import_ref P//library, loc14_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.7] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.96b = impl_witness_table (%P.import_ref.ef42d7.7), @C.as.ImplicitAs.impl.cc5 [concrete] +// CHECK:STDOUT: %P.import_ref.ef42d7.8: %C.as.ImplicitAs.impl.Convert.type.ae6f4c.8 = import_ref P//library, loc15_72, loaded [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.8] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.117 = impl_witness_table (%P.import_ref.ef42d7.8), @C.as.ImplicitAs.impl.1f1 [concrete] // CHECK:STDOUT: %P.Make: %Make.type = import_ref P//library, Make, loaded [concrete = constants.%Make] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -966,14 +966,14 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %P.import = import P // CHECK:STDOUT: %F0.decl: %F0.type = fn_decl @F0 [concrete = constants.%F0] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.f0d = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f0d = return_slot_pattern %return.param_patt, %D.ref [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.9ff = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.9ff = return_slot_pattern %return.param_patt, %D.ref [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %P.ref.loc6: = name_ref P, imports.%P [concrete = imports.%P] // CHECK:STDOUT: %D.ref: type = name_ref D, imports.%P.D [concrete = constants.%D] -// CHECK:STDOUT: %.loc6_26.10: Core.Form = init_form %D.ref [concrete = constants.%.246] +// CHECK:STDOUT: %.loc6_26.10: Core.Form = init_form %D.ref [concrete = constants.%.b94] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param @@ -982,57 +982,57 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.d4f: imports.%P.import_ref.160 as imports.%P.import_ref.2af6e7.1 [from "library.carbon"] { +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.028: imports.%P.import_ref.234 as imports.%P.import_ref.e4b86c.1 [from "library.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%P.import_ref.818 +// CHECK:STDOUT: witness = imports.%P.import_ref.03e // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.6b0: imports.%P.import_ref.124 as imports.%P.import_ref.2af6e7.2 [from "library.carbon"] { +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.5fc: imports.%P.import_ref.ffb as imports.%P.import_ref.e4b86c.2 [from "library.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%P.import_ref.1d6 +// CHECK:STDOUT: witness = imports.%P.import_ref.5056 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.cd0: imports.%P.import_ref.4cb as imports.%P.import_ref.2af6e7.3 [from "library.carbon"] { +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.15f: imports.%P.import_ref.d77 as imports.%P.import_ref.e4b86c.3 [from "library.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%P.import_ref.aeb +// CHECK:STDOUT: witness = imports.%P.import_ref.6f5 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.a2d: imports.%P.import_ref.d9b as imports.%P.import_ref.2af6e7.4 [from "library.carbon"] { +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.6c0: imports.%P.import_ref.61b as imports.%P.import_ref.e4b86c.4 [from "library.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%P.import_ref.e01 +// CHECK:STDOUT: witness = imports.%P.import_ref.765 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.bd8: imports.%P.import_ref.108 as imports.%P.import_ref.2af6e7.5 [from "library.carbon"] { +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.1d7: imports.%P.import_ref.4f6 as imports.%P.import_ref.e4b86c.5 [from "library.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%P.import_ref.2c1 +// CHECK:STDOUT: witness = imports.%P.import_ref.535 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.6df: imports.%P.import_ref.172 as imports.%P.import_ref.2af6e7.6 [from "library.carbon"] { +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.a1c: imports.%P.import_ref.5059 as imports.%P.import_ref.e4b86c.6 [from "library.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%P.import_ref.e9c +// CHECK:STDOUT: witness = imports.%P.import_ref.e74 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.3e2: imports.%P.import_ref.e90 as imports.%P.import_ref.2af6e7.7 [from "library.carbon"] { +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.cc5: imports.%P.import_ref.361 as imports.%P.import_ref.e4b86c.7 [from "library.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%P.import_ref.ca2 +// CHECK:STDOUT: witness = imports.%P.import_ref.b6e // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.d11: imports.%P.import_ref.3da as imports.%P.import_ref.2af6e7.8 [from "library.carbon"] { +// CHECK:STDOUT: impl @C.as.ImplicitAs.impl.1f1: imports.%P.import_ref.caa as imports.%P.import_ref.e4b86c.8 [from "library.carbon"] { // CHECK:STDOUT: !members: -// CHECK:STDOUT: witness = imports.%P.import_ref.3d8 +// CHECK:STDOUT: witness = imports.%P.import_ref.71c // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: class @D [from "library.carbon"] { -// CHECK:STDOUT: complete_type_witness = imports.%P.import_ref.c88 +// CHECK:STDOUT: complete_type_witness = imports.%P.import_ref.e34 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%P.import_ref.89b -// CHECK:STDOUT: .n = imports.%P.import_ref.9e1 -// CHECK:STDOUT: .m = imports.%P.import_ref.76c +// CHECK:STDOUT: .Self = imports.%P.import_ref.edf +// CHECK:STDOUT: .n = imports.%P.import_ref.843 +// CHECK:STDOUT: .m = imports.%P.import_ref.cc0 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic class @C(imports.%P.import_ref.c2f: %i32) [from "library.carbon"] { -// CHECK:STDOUT: %N: %i32 = symbolic_binding N, 0 [symbolic = %N (constants.%N.afc)] +// CHECK:STDOUT: generic class @C(imports.%P.import_ref.d92: %i32) [from "library.carbon"] { +// CHECK:STDOUT: %N: %i32 = symbolic_binding N, 0 [symbolic = %N (constants.%N.bbe)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: @@ -1040,7 +1040,7 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: complete_type_witness = imports.%P.import_ref.8f2 // CHECK:STDOUT: // CHECK:STDOUT: !members: -// CHECK:STDOUT: .Self = imports.%P.import_ref.784 +// CHECK:STDOUT: .Self = imports.%P.import_ref.b84 // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1054,25 +1054,25 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %P.ref.loc7: = name_ref P, imports.%P [concrete = imports.%P] // CHECK:STDOUT: %C.ref.loc7: %C.type = name_ref C, imports.%P.C [concrete = constants.%C.generic] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc7_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc7_34.1: = bound_method %int_0, %impl.elem0.loc7_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc7_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc7_34.1: = bound_method %int_0, %impl.elem0.loc7_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc7: = specific_function %impl.elem0.loc7_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_34.2: = bound_method %int_0, %specific_fn.loc7 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_34.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc7_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc7_34.2: %i32 = converted %int_0, %.loc7_34.1 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %C.loc7: type = class_type @C, @C(constants.%int_0.155) [concrete = constants.%C.82d] -// CHECK:STDOUT: %.loc7_24.2: ref %C.82d = temporary_storage -// CHECK:STDOUT: %.loc7_24.3: init %C.82d to %.loc7_24.2 = class_init () [concrete = constants.%C.val.be7] -// CHECK:STDOUT: %.loc7_26.1: init %C.82d = converted %.loc7_24.1, %.loc7_24.3 [concrete = constants.%C.val.be7] -// CHECK:STDOUT: %impl.elem0.loc7_35: %.55b = impl_witness_access constants.%ImplicitAs.impl_witness.99e, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.1] -// CHECK:STDOUT: %bound_method.loc7_35: = bound_method %.loc7_26.1, %impl.elem0.loc7_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.524] +// CHECK:STDOUT: %bound_method.loc7_34.2: = bound_method %int_0, %specific_fn.loc7 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_34.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc7_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc7_34.2: %i32 = converted %int_0, %.loc7_34.1 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %C.loc7: type = class_type @C, @C(constants.%int_0.62d) [concrete = constants.%C.429] +// CHECK:STDOUT: %.loc7_24.2: ref %C.429 = temporary_storage +// CHECK:STDOUT: %.loc7_24.3: init %C.429 to %.loc7_24.2 = class_init () [concrete = constants.%C.val.964] +// CHECK:STDOUT: %.loc7_26.1: init %C.429 = converted %.loc7_24.1, %.loc7_24.3 [concrete = constants.%C.val.964] +// CHECK:STDOUT: %impl.elem0.loc7_35: %.231 = impl_witness_access constants.%ImplicitAs.impl_witness.5cc, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.1] +// CHECK:STDOUT: %bound_method.loc7_35: = bound_method %.loc7_26.1, %impl.elem0.loc7_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.e0e] // CHECK:STDOUT: %.loc6_26.1: ref %D = splice_block %return.param {} -// CHECK:STDOUT: %.loc7_26.2: ref %C.82d = temporary %.loc7_24.2, %.loc7_26.1 [concrete = constants.%.b0b] -// CHECK:STDOUT: %.loc7_26.3: %C.82d = acquire_value %.loc7_26.2 [concrete = constants.%C.val.be7] +// CHECK:STDOUT: %.loc7_26.2: ref %C.429 = temporary %.loc7_24.2, %.loc7_26.1 [concrete = constants.%.34e] +// CHECK:STDOUT: %.loc7_26.3: %C.429 = acquire_value %.loc7_26.2 [concrete = constants.%C.val.964] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.call.loc7: init %D to %.loc6_26.1 = call %bound_method.loc7_35(%.loc7_26.3) // CHECK:STDOUT: %.loc7_35: init %D = converted %.loc7_26.1, %C.as.ImplicitAs.impl.Convert.call.loc7 -// CHECK:STDOUT: %Destroy.Op.call.loc7_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.1ee(constants.%.b0b) +// CHECK:STDOUT: %Destroy.Op.call.loc7_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.a0c(constants.%.34e) // CHECK:STDOUT: return %.loc7_35 to %return.param // CHECK:STDOUT: // CHECK:STDOUT: !if.else.loc7: @@ -1084,26 +1084,26 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %P.ref.loc8: = name_ref P, imports.%P [concrete = imports.%P] // CHECK:STDOUT: %C.ref.loc8: %C.type = name_ref C, imports.%P.C [concrete = constants.%C.generic] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc8_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc8_34.1: = bound_method %int_1, %impl.elem0.loc8_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc8_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc8_34.1: = bound_method %int_1, %impl.elem0.loc8_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc8: = specific_function %impl.elem0.loc8_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc8_34.2: = bound_method %int_1, %specific_fn.loc8 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_34.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc8_34.2: %i32 = converted %int_1, %.loc8_34.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %C.loc8: type = class_type @C, @C(constants.%int_1.d5e) [concrete = constants.%C.486] -// CHECK:STDOUT: %.loc8_24.2: ref %C.486 = temporary_storage -// CHECK:STDOUT: %.loc8_24.3: init %C.486 to %.loc8_24.2 = class_init () [concrete = constants.%C.val.2aa] -// CHECK:STDOUT: %.loc8_26.1: init %C.486 = converted %.loc8_24.1, %.loc8_24.3 [concrete = constants.%C.val.2aa] -// CHECK:STDOUT: %impl.elem0.loc8_35: %.5d3 = impl_witness_access constants.%ImplicitAs.impl_witness.e0f, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.2] -// CHECK:STDOUT: %bound_method.loc8_35: = bound_method %.loc8_26.1, %impl.elem0.loc8_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.89a] +// CHECK:STDOUT: %bound_method.loc8_34.2: = bound_method %int_1, %specific_fn.loc8 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8: init %i32 = call %bound_method.loc8_34.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc8 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc8_34.2: %i32 = converted %int_1, %.loc8_34.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %C.loc8: type = class_type @C, @C(constants.%int_1.d9c) [concrete = constants.%C.ef8] +// CHECK:STDOUT: %.loc8_24.2: ref %C.ef8 = temporary_storage +// CHECK:STDOUT: %.loc8_24.3: init %C.ef8 to %.loc8_24.2 = class_init () [concrete = constants.%C.val.314] +// CHECK:STDOUT: %.loc8_26.1: init %C.ef8 = converted %.loc8_24.1, %.loc8_24.3 [concrete = constants.%C.val.314] +// CHECK:STDOUT: %impl.elem0.loc8_35: %.018 = impl_witness_access constants.%ImplicitAs.impl_witness.11f, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.2] +// CHECK:STDOUT: %bound_method.loc8_35: = bound_method %.loc8_26.1, %impl.elem0.loc8_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.535] // CHECK:STDOUT: %.loc6_26.2: ref %D = splice_block %return.param {} -// CHECK:STDOUT: %.loc8_26.2: ref %C.486 = temporary %.loc8_24.2, %.loc8_26.1 [concrete = constants.%.22d] -// CHECK:STDOUT: %.loc8_26.3: %C.486 = acquire_value %.loc8_26.2 [concrete = constants.%C.val.2aa] +// CHECK:STDOUT: %.loc8_26.2: ref %C.ef8 = temporary %.loc8_24.2, %.loc8_26.1 [concrete = constants.%.12d] +// CHECK:STDOUT: %.loc8_26.3: %C.ef8 = acquire_value %.loc8_26.2 [concrete = constants.%C.val.314] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.call.loc8: init %D to %.loc6_26.2 = call %bound_method.loc8_35(%.loc8_26.3) // CHECK:STDOUT: %.loc8_35: init %D = converted %.loc8_26.1, %C.as.ImplicitAs.impl.Convert.call.loc8 -// CHECK:STDOUT: %Destroy.Op.call.loc8_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.ead(constants.%.22d) -// CHECK:STDOUT: %Destroy.Op.call.loc7_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.1ee(constants.%.b0b) +// CHECK:STDOUT: %Destroy.Op.call.loc8_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.df7(constants.%.12d) +// CHECK:STDOUT: %Destroy.Op.call.loc7_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.a0c(constants.%.34e) // CHECK:STDOUT: return %.loc8_35 to %return.param // CHECK:STDOUT: // CHECK:STDOUT: !if.else.loc8: @@ -1115,27 +1115,27 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %P.ref.loc9: = name_ref P, imports.%P [concrete = imports.%P] // CHECK:STDOUT: %C.ref.loc9: %C.type = name_ref C, imports.%P.C [concrete = constants.%C.generic] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %impl.elem0.loc9_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc9_34.1: = bound_method %int_2, %impl.elem0.loc9_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %impl.elem0.loc9_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc9_34.1: = bound_method %int_2, %impl.elem0.loc9_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc9: = specific_function %impl.elem0.loc9_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc9_34.2: = bound_method %int_2, %specific_fn.loc9 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_34.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc9_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc9_34.2: %i32 = converted %int_2, %.loc9_34.1 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %C.loc9: type = class_type @C, @C(constants.%int_2.4ff) [concrete = constants.%C.f46] -// CHECK:STDOUT: %.loc9_24.2: ref %C.f46 = temporary_storage -// CHECK:STDOUT: %.loc9_24.3: init %C.f46 to %.loc9_24.2 = class_init () [concrete = constants.%C.val.738] -// CHECK:STDOUT: %.loc9_26.1: init %C.f46 = converted %.loc9_24.1, %.loc9_24.3 [concrete = constants.%C.val.738] -// CHECK:STDOUT: %impl.elem0.loc9_35: %.50a = impl_witness_access constants.%ImplicitAs.impl_witness.7ca, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.3] -// CHECK:STDOUT: %bound_method.loc9_35: = bound_method %.loc9_26.1, %impl.elem0.loc9_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.18b] +// CHECK:STDOUT: %bound_method.loc9_34.2: = bound_method %int_2, %specific_fn.loc9 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9: init %i32 = call %bound_method.loc9_34.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc9_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc9 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc9_34.2: %i32 = converted %int_2, %.loc9_34.1 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %C.loc9: type = class_type @C, @C(constants.%int_2.228) [concrete = constants.%C.834] +// CHECK:STDOUT: %.loc9_24.2: ref %C.834 = temporary_storage +// CHECK:STDOUT: %.loc9_24.3: init %C.834 to %.loc9_24.2 = class_init () [concrete = constants.%C.val.f91] +// CHECK:STDOUT: %.loc9_26.1: init %C.834 = converted %.loc9_24.1, %.loc9_24.3 [concrete = constants.%C.val.f91] +// CHECK:STDOUT: %impl.elem0.loc9_35: %.460 = impl_witness_access constants.%ImplicitAs.impl_witness.5bb, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.3] +// CHECK:STDOUT: %bound_method.loc9_35: = bound_method %.loc9_26.1, %impl.elem0.loc9_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.37d] // CHECK:STDOUT: %.loc6_26.3: ref %D = splice_block %return.param {} -// CHECK:STDOUT: %.loc9_26.2: ref %C.f46 = temporary %.loc9_24.2, %.loc9_26.1 [concrete = constants.%.1c4] -// CHECK:STDOUT: %.loc9_26.3: %C.f46 = acquire_value %.loc9_26.2 [concrete = constants.%C.val.738] +// CHECK:STDOUT: %.loc9_26.2: ref %C.834 = temporary %.loc9_24.2, %.loc9_26.1 [concrete = constants.%.29a] +// CHECK:STDOUT: %.loc9_26.3: %C.834 = acquire_value %.loc9_26.2 [concrete = constants.%C.val.f91] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.call.loc9: init %D to %.loc6_26.3 = call %bound_method.loc9_35(%.loc9_26.3) // CHECK:STDOUT: %.loc9_35: init %D = converted %.loc9_26.1, %C.as.ImplicitAs.impl.Convert.call.loc9 -// CHECK:STDOUT: %Destroy.Op.call.loc9_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.da0(constants.%.1c4) -// CHECK:STDOUT: %Destroy.Op.call.loc8_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.ead(constants.%.22d) -// CHECK:STDOUT: %Destroy.Op.call.loc7_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.1ee(constants.%.b0b) +// CHECK:STDOUT: %Destroy.Op.call.loc9_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.852(constants.%.29a) +// CHECK:STDOUT: %Destroy.Op.call.loc8_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.df7(constants.%.12d) +// CHECK:STDOUT: %Destroy.Op.call.loc7_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.a0c(constants.%.34e) // CHECK:STDOUT: return %.loc9_35 to %return.param // CHECK:STDOUT: // CHECK:STDOUT: !if.else.loc9: @@ -1147,28 +1147,28 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %P.ref.loc10: = name_ref P, imports.%P [concrete = imports.%P] // CHECK:STDOUT: %C.ref.loc10: %C.type = name_ref C, imports.%P.C [concrete = constants.%C.generic] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] -// CHECK:STDOUT: %impl.elem0.loc10_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc10_34.1: = bound_method %int_3, %impl.elem0.loc10_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a7a] +// CHECK:STDOUT: %impl.elem0.loc10_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc10_34.1: = bound_method %int_3, %impl.elem0.loc10_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.8c0] // CHECK:STDOUT: %specific_fn.loc10: = specific_function %impl.elem0.loc10_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc10_34.2: = bound_method %int_3, %specific_fn.loc10 [concrete = constants.%bound_method.353] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10: init %i32 = call %bound_method.loc10_34.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc10_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc10_34.2: %i32 = converted %int_3, %.loc10_34.1 [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %C.loc10: type = class_type @C, @C(constants.%int_3.49a) [concrete = constants.%C.555] -// CHECK:STDOUT: %.loc10_24.2: ref %C.555 = temporary_storage -// CHECK:STDOUT: %.loc10_24.3: init %C.555 to %.loc10_24.2 = class_init () [concrete = constants.%C.val.c8e] -// CHECK:STDOUT: %.loc10_26.1: init %C.555 = converted %.loc10_24.1, %.loc10_24.3 [concrete = constants.%C.val.c8e] -// CHECK:STDOUT: %impl.elem0.loc10_35: %.9e2 = impl_witness_access constants.%ImplicitAs.impl_witness.40d, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.4] -// CHECK:STDOUT: %bound_method.loc10_35: = bound_method %.loc10_26.1, %impl.elem0.loc10_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.49a] +// CHECK:STDOUT: %bound_method.loc10_34.2: = bound_method %int_3, %specific_fn.loc10 [concrete = constants.%bound_method.655] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10: init %i32 = call %bound_method.loc10_34.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc10_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc10 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc10_34.2: %i32 = converted %int_3, %.loc10_34.1 [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %C.loc10: type = class_type @C, @C(constants.%int_3.6cc) [concrete = constants.%C.888] +// CHECK:STDOUT: %.loc10_24.2: ref %C.888 = temporary_storage +// CHECK:STDOUT: %.loc10_24.3: init %C.888 to %.loc10_24.2 = class_init () [concrete = constants.%C.val.4fc] +// CHECK:STDOUT: %.loc10_26.1: init %C.888 = converted %.loc10_24.1, %.loc10_24.3 [concrete = constants.%C.val.4fc] +// CHECK:STDOUT: %impl.elem0.loc10_35: %.fa8 = impl_witness_access constants.%ImplicitAs.impl_witness.e44, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.4] +// CHECK:STDOUT: %bound_method.loc10_35: = bound_method %.loc10_26.1, %impl.elem0.loc10_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.452] // CHECK:STDOUT: %.loc6_26.4: ref %D = splice_block %return.param {} -// CHECK:STDOUT: %.loc10_26.2: ref %C.555 = temporary %.loc10_24.2, %.loc10_26.1 [concrete = constants.%.1b2] -// CHECK:STDOUT: %.loc10_26.3: %C.555 = acquire_value %.loc10_26.2 [concrete = constants.%C.val.c8e] +// CHECK:STDOUT: %.loc10_26.2: ref %C.888 = temporary %.loc10_24.2, %.loc10_26.1 [concrete = constants.%.160] +// CHECK:STDOUT: %.loc10_26.3: %C.888 = acquire_value %.loc10_26.2 [concrete = constants.%C.val.4fc] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.call.loc10: init %D to %.loc6_26.4 = call %bound_method.loc10_35(%.loc10_26.3) // CHECK:STDOUT: %.loc10_35: init %D = converted %.loc10_26.1, %C.as.ImplicitAs.impl.Convert.call.loc10 -// CHECK:STDOUT: %Destroy.Op.call.loc10_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.b79(constants.%.1b2) -// CHECK:STDOUT: %Destroy.Op.call.loc9_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.da0(constants.%.1c4) -// CHECK:STDOUT: %Destroy.Op.call.loc8_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.ead(constants.%.22d) -// CHECK:STDOUT: %Destroy.Op.call.loc7_26.4: init %empty_tuple.type = call constants.%Destroy.Op.bound.1ee(constants.%.b0b) +// CHECK:STDOUT: %Destroy.Op.call.loc10_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.3cd(constants.%.160) +// CHECK:STDOUT: %Destroy.Op.call.loc9_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.852(constants.%.29a) +// CHECK:STDOUT: %Destroy.Op.call.loc8_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.df7(constants.%.12d) +// CHECK:STDOUT: %Destroy.Op.call.loc7_26.4: init %empty_tuple.type = call constants.%Destroy.Op.bound.a0c(constants.%.34e) // CHECK:STDOUT: return %.loc10_35 to %return.param // CHECK:STDOUT: // CHECK:STDOUT: !if.else.loc10: @@ -1180,29 +1180,29 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %P.ref.loc11: = name_ref P, imports.%P [concrete = imports.%P] // CHECK:STDOUT: %C.ref.loc11: %C.type = name_ref C, imports.%P.C [concrete = constants.%C.generic] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] -// CHECK:STDOUT: %impl.elem0.loc11_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc11_34.1: = bound_method %int_4, %impl.elem0.loc11_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.30c] +// CHECK:STDOUT: %impl.elem0.loc11_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc11_34.1: = bound_method %int_4, %impl.elem0.loc11_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.afe] // CHECK:STDOUT: %specific_fn.loc11: = specific_function %impl.elem0.loc11_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc11_34.2: = bound_method %int_4, %specific_fn.loc11 [concrete = constants.%bound_method.bef] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11: init %i32 = call %bound_method.loc11_34.2(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc11_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc11_34.2: %i32 = converted %int_4, %.loc11_34.1 [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %C.loc11: type = class_type @C, @C(constants.%int_4.a7d) [concrete = constants.%C.e8c] -// CHECK:STDOUT: %.loc11_24.2: ref %C.e8c = temporary_storage -// CHECK:STDOUT: %.loc11_24.3: init %C.e8c to %.loc11_24.2 = class_init () [concrete = constants.%C.val.13b] -// CHECK:STDOUT: %.loc11_26.1: init %C.e8c = converted %.loc11_24.1, %.loc11_24.3 [concrete = constants.%C.val.13b] -// CHECK:STDOUT: %impl.elem0.loc11_35: %.0e0 = impl_witness_access constants.%ImplicitAs.impl_witness.5ec, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.5] -// CHECK:STDOUT: %bound_method.loc11_35: = bound_method %.loc11_26.1, %impl.elem0.loc11_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.26d] +// CHECK:STDOUT: %bound_method.loc11_34.2: = bound_method %int_4, %specific_fn.loc11 [concrete = constants.%bound_method.9f5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11: init %i32 = call %bound_method.loc11_34.2(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc11_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc11 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc11_34.2: %i32 = converted %int_4, %.loc11_34.1 [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %C.loc11: type = class_type @C, @C(constants.%int_4.a4d) [concrete = constants.%C.925] +// CHECK:STDOUT: %.loc11_24.2: ref %C.925 = temporary_storage +// CHECK:STDOUT: %.loc11_24.3: init %C.925 to %.loc11_24.2 = class_init () [concrete = constants.%C.val.ff3] +// CHECK:STDOUT: %.loc11_26.1: init %C.925 = converted %.loc11_24.1, %.loc11_24.3 [concrete = constants.%C.val.ff3] +// CHECK:STDOUT: %impl.elem0.loc11_35: %.686 = impl_witness_access constants.%ImplicitAs.impl_witness.2e1, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.5] +// CHECK:STDOUT: %bound_method.loc11_35: = bound_method %.loc11_26.1, %impl.elem0.loc11_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.3f4] // CHECK:STDOUT: %.loc6_26.5: ref %D = splice_block %return.param {} -// CHECK:STDOUT: %.loc11_26.2: ref %C.e8c = temporary %.loc11_24.2, %.loc11_26.1 [concrete = constants.%.aaa] -// CHECK:STDOUT: %.loc11_26.3: %C.e8c = acquire_value %.loc11_26.2 [concrete = constants.%C.val.13b] +// CHECK:STDOUT: %.loc11_26.2: ref %C.925 = temporary %.loc11_24.2, %.loc11_26.1 [concrete = constants.%.db5] +// CHECK:STDOUT: %.loc11_26.3: %C.925 = acquire_value %.loc11_26.2 [concrete = constants.%C.val.ff3] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.call.loc11: init %D to %.loc6_26.5 = call %bound_method.loc11_35(%.loc11_26.3) // CHECK:STDOUT: %.loc11_35: init %D = converted %.loc11_26.1, %C.as.ImplicitAs.impl.Convert.call.loc11 -// CHECK:STDOUT: %Destroy.Op.call.loc11_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.a2e(constants.%.aaa) -// CHECK:STDOUT: %Destroy.Op.call.loc10_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.b79(constants.%.1b2) -// CHECK:STDOUT: %Destroy.Op.call.loc9_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.da0(constants.%.1c4) -// CHECK:STDOUT: %Destroy.Op.call.loc8_26.4: init %empty_tuple.type = call constants.%Destroy.Op.bound.ead(constants.%.22d) -// CHECK:STDOUT: %Destroy.Op.call.loc7_26.5: init %empty_tuple.type = call constants.%Destroy.Op.bound.1ee(constants.%.b0b) +// CHECK:STDOUT: %Destroy.Op.call.loc11_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.fb1(constants.%.db5) +// CHECK:STDOUT: %Destroy.Op.call.loc10_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.3cd(constants.%.160) +// CHECK:STDOUT: %Destroy.Op.call.loc9_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.852(constants.%.29a) +// CHECK:STDOUT: %Destroy.Op.call.loc8_26.4: init %empty_tuple.type = call constants.%Destroy.Op.bound.df7(constants.%.12d) +// CHECK:STDOUT: %Destroy.Op.call.loc7_26.5: init %empty_tuple.type = call constants.%Destroy.Op.bound.a0c(constants.%.34e) // CHECK:STDOUT: return %.loc11_35 to %return.param // CHECK:STDOUT: // CHECK:STDOUT: !if.else.loc11: @@ -1214,30 +1214,30 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %P.ref.loc12: = name_ref P, imports.%P [concrete = imports.%P] // CHECK:STDOUT: %C.ref.loc12: %C.type = name_ref C, imports.%P.C [concrete = constants.%C.generic] // CHECK:STDOUT: %int_5: Core.IntLiteral = int_value 5 [concrete = constants.%int_5.64b] -// CHECK:STDOUT: %impl.elem0.loc12_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc12_34.1: = bound_method %int_5, %impl.elem0.loc12_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.a52] +// CHECK:STDOUT: %impl.elem0.loc12_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc12_34.1: = bound_method %int_5, %impl.elem0.loc12_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.55c] // CHECK:STDOUT: %specific_fn.loc12: = specific_function %impl.elem0.loc12_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc12_34.2: = bound_method %int_5, %specific_fn.loc12 [concrete = constants.%bound_method.10b] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12: init %i32 = call %bound_method.loc12_34.2(%int_5) [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc12_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %.loc12_34.2: %i32 = converted %int_5, %.loc12_34.1 [concrete = constants.%int_5.c41] -// CHECK:STDOUT: %C.loc12: type = class_type @C, @C(constants.%int_5.c41) [concrete = constants.%C.b28] -// CHECK:STDOUT: %.loc12_24.2: ref %C.b28 = temporary_storage -// CHECK:STDOUT: %.loc12_24.3: init %C.b28 to %.loc12_24.2 = class_init () [concrete = constants.%C.val.cdc] -// CHECK:STDOUT: %.loc12_26.1: init %C.b28 = converted %.loc12_24.1, %.loc12_24.3 [concrete = constants.%C.val.cdc] -// CHECK:STDOUT: %impl.elem0.loc12_35: %.f5d = impl_witness_access constants.%ImplicitAs.impl_witness.96e, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.6] -// CHECK:STDOUT: %bound_method.loc12_35: = bound_method %.loc12_26.1, %impl.elem0.loc12_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.ab4] +// CHECK:STDOUT: %bound_method.loc12_34.2: = bound_method %int_5, %specific_fn.loc12 [concrete = constants.%bound_method.e3e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12: init %i32 = call %bound_method.loc12_34.2(%int_5) [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc12_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc12 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %.loc12_34.2: %i32 = converted %int_5, %.loc12_34.1 [concrete = constants.%int_5.354] +// CHECK:STDOUT: %C.loc12: type = class_type @C, @C(constants.%int_5.354) [concrete = constants.%C.332] +// CHECK:STDOUT: %.loc12_24.2: ref %C.332 = temporary_storage +// CHECK:STDOUT: %.loc12_24.3: init %C.332 to %.loc12_24.2 = class_init () [concrete = constants.%C.val.5b6] +// CHECK:STDOUT: %.loc12_26.1: init %C.332 = converted %.loc12_24.1, %.loc12_24.3 [concrete = constants.%C.val.5b6] +// CHECK:STDOUT: %impl.elem0.loc12_35: %.1f6 = impl_witness_access constants.%ImplicitAs.impl_witness.6f8, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.6] +// CHECK:STDOUT: %bound_method.loc12_35: = bound_method %.loc12_26.1, %impl.elem0.loc12_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.761] // CHECK:STDOUT: %.loc6_26.6: ref %D = splice_block %return.param {} -// CHECK:STDOUT: %.loc12_26.2: ref %C.b28 = temporary %.loc12_24.2, %.loc12_26.1 [concrete = constants.%.f18] -// CHECK:STDOUT: %.loc12_26.3: %C.b28 = acquire_value %.loc12_26.2 [concrete = constants.%C.val.cdc] +// CHECK:STDOUT: %.loc12_26.2: ref %C.332 = temporary %.loc12_24.2, %.loc12_26.1 [concrete = constants.%.c3d] +// CHECK:STDOUT: %.loc12_26.3: %C.332 = acquire_value %.loc12_26.2 [concrete = constants.%C.val.5b6] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.call.loc12: init %D to %.loc6_26.6 = call %bound_method.loc12_35(%.loc12_26.3) // CHECK:STDOUT: %.loc12_35: init %D = converted %.loc12_26.1, %C.as.ImplicitAs.impl.Convert.call.loc12 -// CHECK:STDOUT: %Destroy.Op.call.loc12_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.b69(constants.%.f18) -// CHECK:STDOUT: %Destroy.Op.call.loc11_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.a2e(constants.%.aaa) -// CHECK:STDOUT: %Destroy.Op.call.loc10_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.b79(constants.%.1b2) -// CHECK:STDOUT: %Destroy.Op.call.loc9_26.4: init %empty_tuple.type = call constants.%Destroy.Op.bound.da0(constants.%.1c4) -// CHECK:STDOUT: %Destroy.Op.call.loc8_26.5: init %empty_tuple.type = call constants.%Destroy.Op.bound.ead(constants.%.22d) -// CHECK:STDOUT: %Destroy.Op.call.loc7_26.6: init %empty_tuple.type = call constants.%Destroy.Op.bound.1ee(constants.%.b0b) +// CHECK:STDOUT: %Destroy.Op.call.loc12_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.d18(constants.%.c3d) +// CHECK:STDOUT: %Destroy.Op.call.loc11_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.fb1(constants.%.db5) +// CHECK:STDOUT: %Destroy.Op.call.loc10_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.3cd(constants.%.160) +// CHECK:STDOUT: %Destroy.Op.call.loc9_26.4: init %empty_tuple.type = call constants.%Destroy.Op.bound.852(constants.%.29a) +// CHECK:STDOUT: %Destroy.Op.call.loc8_26.5: init %empty_tuple.type = call constants.%Destroy.Op.bound.df7(constants.%.12d) +// CHECK:STDOUT: %Destroy.Op.call.loc7_26.6: init %empty_tuple.type = call constants.%Destroy.Op.bound.a0c(constants.%.34e) // CHECK:STDOUT: return %.loc12_35 to %return.param // CHECK:STDOUT: // CHECK:STDOUT: !if.else.loc12: @@ -1249,31 +1249,31 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %P.ref.loc13: = name_ref P, imports.%P [concrete = imports.%P] // CHECK:STDOUT: %C.ref.loc13: %C.type = name_ref C, imports.%P.C [concrete = constants.%C.generic] // CHECK:STDOUT: %int_6: Core.IntLiteral = int_value 6 [concrete = constants.%int_6.462] -// CHECK:STDOUT: %impl.elem0.loc13_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc13_34.1: = bound_method %int_6, %impl.elem0.loc13_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.790] +// CHECK:STDOUT: %impl.elem0.loc13_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc13_34.1: = bound_method %int_6, %impl.elem0.loc13_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.6e4] // CHECK:STDOUT: %specific_fn.loc13: = specific_function %impl.elem0.loc13_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_34.2: = bound_method %int_6, %specific_fn.loc13 [concrete = constants.%bound_method.8f1] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13: init %i32 = call %bound_method.loc13_34.2(%int_6) [concrete = constants.%int_6.7fc] -// CHECK:STDOUT: %.loc13_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13 [concrete = constants.%int_6.7fc] -// CHECK:STDOUT: %.loc13_34.2: %i32 = converted %int_6, %.loc13_34.1 [concrete = constants.%int_6.7fc] -// CHECK:STDOUT: %C.loc13: type = class_type @C, @C(constants.%int_6.7fc) [concrete = constants.%C.4de] -// CHECK:STDOUT: %.loc13_24.2: ref %C.4de = temporary_storage -// CHECK:STDOUT: %.loc13_24.3: init %C.4de to %.loc13_24.2 = class_init () [concrete = constants.%C.val.793] -// CHECK:STDOUT: %.loc13_26.1: init %C.4de = converted %.loc13_24.1, %.loc13_24.3 [concrete = constants.%C.val.793] -// CHECK:STDOUT: %impl.elem0.loc13_35: %.805 = impl_witness_access constants.%ImplicitAs.impl_witness.088, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.7] -// CHECK:STDOUT: %bound_method.loc13_35: = bound_method %.loc13_26.1, %impl.elem0.loc13_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.19d] +// CHECK:STDOUT: %bound_method.loc13_34.2: = bound_method %int_6, %specific_fn.loc13 [concrete = constants.%bound_method.50f] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13: init %i32 = call %bound_method.loc13_34.2(%int_6) [concrete = constants.%int_6.77d] +// CHECK:STDOUT: %.loc13_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13 [concrete = constants.%int_6.77d] +// CHECK:STDOUT: %.loc13_34.2: %i32 = converted %int_6, %.loc13_34.1 [concrete = constants.%int_6.77d] +// CHECK:STDOUT: %C.loc13: type = class_type @C, @C(constants.%int_6.77d) [concrete = constants.%C.771] +// CHECK:STDOUT: %.loc13_24.2: ref %C.771 = temporary_storage +// CHECK:STDOUT: %.loc13_24.3: init %C.771 to %.loc13_24.2 = class_init () [concrete = constants.%C.val.6cb] +// CHECK:STDOUT: %.loc13_26.1: init %C.771 = converted %.loc13_24.1, %.loc13_24.3 [concrete = constants.%C.val.6cb] +// CHECK:STDOUT: %impl.elem0.loc13_35: %.f87 = impl_witness_access constants.%ImplicitAs.impl_witness.c87, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.7] +// CHECK:STDOUT: %bound_method.loc13_35: = bound_method %.loc13_26.1, %impl.elem0.loc13_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.17f] // CHECK:STDOUT: %.loc6_26.7: ref %D = splice_block %return.param {} -// CHECK:STDOUT: %.loc13_26.2: ref %C.4de = temporary %.loc13_24.2, %.loc13_26.1 [concrete = constants.%.3bf] -// CHECK:STDOUT: %.loc13_26.3: %C.4de = acquire_value %.loc13_26.2 [concrete = constants.%C.val.793] +// CHECK:STDOUT: %.loc13_26.2: ref %C.771 = temporary %.loc13_24.2, %.loc13_26.1 [concrete = constants.%.7c7] +// CHECK:STDOUT: %.loc13_26.3: %C.771 = acquire_value %.loc13_26.2 [concrete = constants.%C.val.6cb] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.call.loc13: init %D to %.loc6_26.7 = call %bound_method.loc13_35(%.loc13_26.3) // CHECK:STDOUT: %.loc13_35: init %D = converted %.loc13_26.1, %C.as.ImplicitAs.impl.Convert.call.loc13 -// CHECK:STDOUT: %Destroy.Op.call.loc13_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.dde(constants.%.3bf) -// CHECK:STDOUT: %Destroy.Op.call.loc12_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.b69(constants.%.f18) -// CHECK:STDOUT: %Destroy.Op.call.loc11_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.a2e(constants.%.aaa) -// CHECK:STDOUT: %Destroy.Op.call.loc10_26.4: init %empty_tuple.type = call constants.%Destroy.Op.bound.b79(constants.%.1b2) -// CHECK:STDOUT: %Destroy.Op.call.loc9_26.5: init %empty_tuple.type = call constants.%Destroy.Op.bound.da0(constants.%.1c4) -// CHECK:STDOUT: %Destroy.Op.call.loc8_26.6: init %empty_tuple.type = call constants.%Destroy.Op.bound.ead(constants.%.22d) -// CHECK:STDOUT: %Destroy.Op.call.loc7_26.7: init %empty_tuple.type = call constants.%Destroy.Op.bound.1ee(constants.%.b0b) +// CHECK:STDOUT: %Destroy.Op.call.loc13_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.121(constants.%.7c7) +// CHECK:STDOUT: %Destroy.Op.call.loc12_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.d18(constants.%.c3d) +// CHECK:STDOUT: %Destroy.Op.call.loc11_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.fb1(constants.%.db5) +// CHECK:STDOUT: %Destroy.Op.call.loc10_26.4: init %empty_tuple.type = call constants.%Destroy.Op.bound.3cd(constants.%.160) +// CHECK:STDOUT: %Destroy.Op.call.loc9_26.5: init %empty_tuple.type = call constants.%Destroy.Op.bound.852(constants.%.29a) +// CHECK:STDOUT: %Destroy.Op.call.loc8_26.6: init %empty_tuple.type = call constants.%Destroy.Op.bound.df7(constants.%.12d) +// CHECK:STDOUT: %Destroy.Op.call.loc7_26.7: init %empty_tuple.type = call constants.%Destroy.Op.bound.a0c(constants.%.34e) // CHECK:STDOUT: return %.loc13_35 to %return.param // CHECK:STDOUT: // CHECK:STDOUT: !if.else.loc13: @@ -1285,32 +1285,32 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %P.ref.loc14: = name_ref P, imports.%P [concrete = imports.%P] // CHECK:STDOUT: %C.ref.loc14: %C.type = name_ref C, imports.%P.C [concrete = constants.%C.generic] // CHECK:STDOUT: %int_7: Core.IntLiteral = int_value 7 [concrete = constants.%int_7.29f] -// CHECK:STDOUT: %impl.elem0.loc14_34: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc14_34.1: = bound_method %int_7, %impl.elem0.loc14_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.dbb] +// CHECK:STDOUT: %impl.elem0.loc14_34: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc14_34.1: = bound_method %int_7, %impl.elem0.loc14_34 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.286] // CHECK:STDOUT: %specific_fn.loc14: = specific_function %impl.elem0.loc14_34, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc14_34.2: = bound_method %int_7, %specific_fn.loc14 [concrete = constants.%bound_method.a24] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14: init %i32 = call %bound_method.loc14_34.2(%int_7) [concrete = constants.%int_7.0de] -// CHECK:STDOUT: %.loc14_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14 [concrete = constants.%int_7.0de] -// CHECK:STDOUT: %.loc14_34.2: %i32 = converted %int_7, %.loc14_34.1 [concrete = constants.%int_7.0de] -// CHECK:STDOUT: %C.loc14: type = class_type @C, @C(constants.%int_7.0de) [concrete = constants.%C.99f] -// CHECK:STDOUT: %.loc14_24.2: ref %C.99f = temporary_storage -// CHECK:STDOUT: %.loc14_24.3: init %C.99f to %.loc14_24.2 = class_init () [concrete = constants.%C.val.f92] -// CHECK:STDOUT: %.loc14_26.1: init %C.99f = converted %.loc14_24.1, %.loc14_24.3 [concrete = constants.%C.val.f92] -// CHECK:STDOUT: %impl.elem0.loc14_35: %.7a2 = impl_witness_access constants.%ImplicitAs.impl_witness.2a7, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.8] -// CHECK:STDOUT: %bound_method.loc14_35: = bound_method %.loc14_26.1, %impl.elem0.loc14_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.ddd] +// CHECK:STDOUT: %bound_method.loc14_34.2: = bound_method %int_7, %specific_fn.loc14 [concrete = constants.%bound_method.936] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14: init %i32 = call %bound_method.loc14_34.2(%int_7) [concrete = constants.%int_7.c44] +// CHECK:STDOUT: %.loc14_34.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc14 [concrete = constants.%int_7.c44] +// CHECK:STDOUT: %.loc14_34.2: %i32 = converted %int_7, %.loc14_34.1 [concrete = constants.%int_7.c44] +// CHECK:STDOUT: %C.loc14: type = class_type @C, @C(constants.%int_7.c44) [concrete = constants.%C.19e] +// CHECK:STDOUT: %.loc14_24.2: ref %C.19e = temporary_storage +// CHECK:STDOUT: %.loc14_24.3: init %C.19e to %.loc14_24.2 = class_init () [concrete = constants.%C.val.793] +// CHECK:STDOUT: %.loc14_26.1: init %C.19e = converted %.loc14_24.1, %.loc14_24.3 [concrete = constants.%C.val.793] +// CHECK:STDOUT: %impl.elem0.loc14_35: %.b7c = impl_witness_access constants.%ImplicitAs.impl_witness.475, element0 [concrete = constants.%C.as.ImplicitAs.impl.Convert.3cefb0.8] +// CHECK:STDOUT: %bound_method.loc14_35: = bound_method %.loc14_26.1, %impl.elem0.loc14_35 [concrete = constants.%C.as.ImplicitAs.impl.Convert.bound.24e] // CHECK:STDOUT: %.loc6_26.8: ref %D = splice_block %return.param {} -// CHECK:STDOUT: %.loc14_26.2: ref %C.99f = temporary %.loc14_24.2, %.loc14_26.1 [concrete = constants.%.7ff] -// CHECK:STDOUT: %.loc14_26.3: %C.99f = acquire_value %.loc14_26.2 [concrete = constants.%C.val.f92] +// CHECK:STDOUT: %.loc14_26.2: ref %C.19e = temporary %.loc14_24.2, %.loc14_26.1 [concrete = constants.%.a8b] +// CHECK:STDOUT: %.loc14_26.3: %C.19e = acquire_value %.loc14_26.2 [concrete = constants.%C.val.793] // CHECK:STDOUT: %C.as.ImplicitAs.impl.Convert.call.loc14: init %D to %.loc6_26.8 = call %bound_method.loc14_35(%.loc14_26.3) // CHECK:STDOUT: %.loc14_35: init %D = converted %.loc14_26.1, %C.as.ImplicitAs.impl.Convert.call.loc14 -// CHECK:STDOUT: %Destroy.Op.call.loc14_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.324(constants.%.7ff) -// CHECK:STDOUT: %Destroy.Op.call.loc13_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.dde(constants.%.3bf) -// CHECK:STDOUT: %Destroy.Op.call.loc12_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.b69(constants.%.f18) -// CHECK:STDOUT: %Destroy.Op.call.loc11_26.4: init %empty_tuple.type = call constants.%Destroy.Op.bound.a2e(constants.%.aaa) -// CHECK:STDOUT: %Destroy.Op.call.loc10_26.5: init %empty_tuple.type = call constants.%Destroy.Op.bound.b79(constants.%.1b2) -// CHECK:STDOUT: %Destroy.Op.call.loc9_26.6: init %empty_tuple.type = call constants.%Destroy.Op.bound.da0(constants.%.1c4) -// CHECK:STDOUT: %Destroy.Op.call.loc8_26.7: init %empty_tuple.type = call constants.%Destroy.Op.bound.ead(constants.%.22d) -// CHECK:STDOUT: %Destroy.Op.call.loc7_26.8: init %empty_tuple.type = call constants.%Destroy.Op.bound.1ee(constants.%.b0b) +// CHECK:STDOUT: %Destroy.Op.call.loc14_26.1: init %empty_tuple.type = call constants.%Destroy.Op.bound.46d(constants.%.a8b) +// CHECK:STDOUT: %Destroy.Op.call.loc13_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.121(constants.%.7c7) +// CHECK:STDOUT: %Destroy.Op.call.loc12_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.d18(constants.%.c3d) +// CHECK:STDOUT: %Destroy.Op.call.loc11_26.4: init %empty_tuple.type = call constants.%Destroy.Op.bound.fb1(constants.%.db5) +// CHECK:STDOUT: %Destroy.Op.call.loc10_26.5: init %empty_tuple.type = call constants.%Destroy.Op.bound.3cd(constants.%.160) +// CHECK:STDOUT: %Destroy.Op.call.loc9_26.6: init %empty_tuple.type = call constants.%Destroy.Op.bound.852(constants.%.29a) +// CHECK:STDOUT: %Destroy.Op.call.loc8_26.7: init %empty_tuple.type = call constants.%Destroy.Op.bound.df7(constants.%.12d) +// CHECK:STDOUT: %Destroy.Op.call.loc7_26.8: init %empty_tuple.type = call constants.%Destroy.Op.bound.a0c(constants.%.34e) // CHECK:STDOUT: return %.loc14_35 to %return.param // CHECK:STDOUT: // CHECK:STDOUT: !if.else.loc14: @@ -1318,14 +1318,14 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: %Make.ref: %Make.type = name_ref Make, imports.%P.Make [concrete = constants.%Make] // CHECK:STDOUT: %.loc6_26.9: ref %D = splice_block %return.param {} // CHECK:STDOUT: %Make.call: init %D to %.loc6_26.9 = call %Make.ref() -// CHECK:STDOUT: %Destroy.Op.call.loc14_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.324(constants.%.7ff) -// CHECK:STDOUT: %Destroy.Op.call.loc13_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.dde(constants.%.3bf) -// CHECK:STDOUT: %Destroy.Op.call.loc12_26.4: init %empty_tuple.type = call constants.%Destroy.Op.bound.b69(constants.%.f18) -// CHECK:STDOUT: %Destroy.Op.call.loc11_26.5: init %empty_tuple.type = call constants.%Destroy.Op.bound.a2e(constants.%.aaa) -// CHECK:STDOUT: %Destroy.Op.call.loc10_26.6: init %empty_tuple.type = call constants.%Destroy.Op.bound.b79(constants.%.1b2) -// CHECK:STDOUT: %Destroy.Op.call.loc9_26.7: init %empty_tuple.type = call constants.%Destroy.Op.bound.da0(constants.%.1c4) -// CHECK:STDOUT: %Destroy.Op.call.loc8_26.8: init %empty_tuple.type = call constants.%Destroy.Op.bound.ead(constants.%.22d) -// CHECK:STDOUT: %Destroy.Op.call.loc7_26.9: init %empty_tuple.type = call constants.%Destroy.Op.bound.1ee(constants.%.b0b) +// CHECK:STDOUT: %Destroy.Op.call.loc14_26.2: init %empty_tuple.type = call constants.%Destroy.Op.bound.46d(constants.%.a8b) +// CHECK:STDOUT: %Destroy.Op.call.loc13_26.3: init %empty_tuple.type = call constants.%Destroy.Op.bound.121(constants.%.7c7) +// CHECK:STDOUT: %Destroy.Op.call.loc12_26.4: init %empty_tuple.type = call constants.%Destroy.Op.bound.d18(constants.%.c3d) +// CHECK:STDOUT: %Destroy.Op.call.loc11_26.5: init %empty_tuple.type = call constants.%Destroy.Op.bound.fb1(constants.%.db5) +// CHECK:STDOUT: %Destroy.Op.call.loc10_26.6: init %empty_tuple.type = call constants.%Destroy.Op.bound.3cd(constants.%.160) +// CHECK:STDOUT: %Destroy.Op.call.loc9_26.7: init %empty_tuple.type = call constants.%Destroy.Op.bound.852(constants.%.29a) +// CHECK:STDOUT: %Destroy.Op.call.loc8_26.8: init %empty_tuple.type = call constants.%Destroy.Op.bound.df7(constants.%.12d) +// CHECK:STDOUT: %Destroy.Op.call.loc7_26.9: init %empty_tuple.type = call constants.%Destroy.Op.bound.a0c(constants.%.34e) // CHECK:STDOUT: return %Make.call to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1333,110 +1333,110 @@ fn F0(unused n: i32) -> P.D { // CHECK:STDOUT: // CHECK:STDOUT: fn @Destroy.Op.loc7_26.1(%self.param: ref %empty_struct_type) = "no_op"; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc7_26.2(%self.param: ref %C.82d) { +// CHECK:STDOUT: fn @Destroy.Op.loc7_26.2(%self.param: ref %C.429) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.2 [from "library.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc8(%self.param: ref %C.486) { +// CHECK:STDOUT: fn @Destroy.Op.loc8(%self.param: ref %C.ef8) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.3 [from "library.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc9(%self.param: ref %C.f46) { +// CHECK:STDOUT: fn @Destroy.Op.loc9(%self.param: ref %C.834) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.4 [from "library.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc10(%self.param: ref %C.555) { +// CHECK:STDOUT: fn @Destroy.Op.loc10(%self.param: ref %C.888) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.5 [from "library.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc11(%self.param: ref %C.e8c) { +// CHECK:STDOUT: fn @Destroy.Op.loc11(%self.param: ref %C.925) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.6 [from "library.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc12(%self.param: ref %C.b28) { +// CHECK:STDOUT: fn @Destroy.Op.loc12(%self.param: ref %C.332) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.7 [from "library.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13(%self.param: ref %C.4de) { +// CHECK:STDOUT: fn @Destroy.Op.loc13(%self.param: ref %C.771) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @C.as.ImplicitAs.impl.Convert.8 [from "library.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc14(%self.param: ref %C.99f) { +// CHECK:STDOUT: fn @Destroy.Op.loc14(%self.param: ref %C.19e) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Make [from "library.carbon"]; // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%N.afc) { -// CHECK:STDOUT: %N => constants.%N.afc +// CHECK:STDOUT: specific @C(constants.%N.bbe) { +// CHECK:STDOUT: %N => constants.%N.bbe // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_0.155) { -// CHECK:STDOUT: %N => constants.%int_0.155 +// CHECK:STDOUT: specific @C(constants.%int_0.62d) { +// CHECK:STDOUT: %N => constants.%int_0.62d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_1.d5e) { -// CHECK:STDOUT: %N => constants.%int_1.d5e +// CHECK:STDOUT: specific @C(constants.%int_1.d9c) { +// CHECK:STDOUT: %N => constants.%int_1.d9c // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_2.4ff) { -// CHECK:STDOUT: %N => constants.%int_2.4ff +// CHECK:STDOUT: specific @C(constants.%int_2.228) { +// CHECK:STDOUT: %N => constants.%int_2.228 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_3.49a) { -// CHECK:STDOUT: %N => constants.%int_3.49a +// CHECK:STDOUT: specific @C(constants.%int_3.6cc) { +// CHECK:STDOUT: %N => constants.%int_3.6cc // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_4.a7d) { -// CHECK:STDOUT: %N => constants.%int_4.a7d +// CHECK:STDOUT: specific @C(constants.%int_4.a4d) { +// CHECK:STDOUT: %N => constants.%int_4.a4d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_5.c41) { -// CHECK:STDOUT: %N => constants.%int_5.c41 +// CHECK:STDOUT: specific @C(constants.%int_5.354) { +// CHECK:STDOUT: %N => constants.%int_5.354 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_6.7fc) { -// CHECK:STDOUT: %N => constants.%int_6.7fc +// CHECK:STDOUT: specific @C(constants.%int_6.77d) { +// CHECK:STDOUT: %N => constants.%int_6.77d // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: specific @C(constants.%int_7.0de) { -// CHECK:STDOUT: %N => constants.%int_7.0de +// CHECK:STDOUT: specific @C(constants.%int_7.c44) { +// CHECK:STDOUT: %N => constants.%int_7.c44 // CHECK:STDOUT: // CHECK:STDOUT: !definition: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/return/returned_var.carbon b/toolchain/check/testdata/return/returned_var.carbon index 97744c4de8a5..d4026bd2d01f 100644 --- a/toolchain/check/testdata/return/returned_var.carbon +++ b/toolchain/check/testdata/return/returned_var.carbon @@ -37,48 +37,48 @@ fn G() -> i32 { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %C.elem: type = unbound_element_type %C, %i32 [concrete] -// CHECK:STDOUT: %struct_type.a.b.602: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %complete_type.f58: = complete_type_witness %struct_type.a.b.602 [concrete] -// CHECK:STDOUT: %.e64: Core.Form = init_form %C [concrete] -// CHECK:STDOUT: %pattern_type.d7b: type = pattern_type %C [concrete] +// CHECK:STDOUT: %struct_type.a.b.b47: type = struct_type {.a: %i32, .b: %i32} [concrete] +// CHECK:STDOUT: %complete_type.abf: = complete_type_witness %struct_type.a.b.b47 [concrete] +// CHECK:STDOUT: %.8f0: Core.Form = init_form %C [concrete] +// CHECK:STDOUT: %pattern_type.0d5: type = pattern_type %C [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.a.b.cfd = struct_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %C.val: %C = struct_value (%int_1.d5e, %int_2.4ff) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %C.val: %C = struct_value (%int_1.d9c, %int_2.228) [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc26_12.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc26_12.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -90,9 +90,9 @@ fn G() -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -106,20 +106,20 @@ fn G() -> i32 { // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {} // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.d7b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.d7b = return_slot_pattern %return.param_patt, %C.ref.loc20 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.0d5 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.0d5 = return_slot_pattern %return.param_patt, %C.ref.loc20 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %C.ref.loc20: type = name_ref C, file.%C.decl [concrete = constants.%C] -// CHECK:STDOUT: %.loc20: Core.Form = init_form %C.ref.loc20 [concrete = constants.%.e64] +// CHECK:STDOUT: %.loc20: Core.Form = init_form %C.ref.loc20 [concrete = constants.%.8f0] // CHECK:STDOUT: %return.param: ref %C = out_param call_param0 // CHECK:STDOUT: %return: ref %C = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc25 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc25 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc25: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32.loc25 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc25: Core.Form = init_form %i32.loc25 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -128,7 +128,7 @@ fn G() -> i32 { // CHECK:STDOUT: class @C { // CHECK:STDOUT: %.loc16: %C.elem = field_decl a, element0 [concrete] // CHECK:STDOUT: %.loc17: %C.elem = field_decl b, element1 [concrete] -// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.602 [concrete = constants.%complete_type.f58] +// CHECK:STDOUT: %complete_type: = complete_type_witness constants.%struct_type.a.b.b47 [concrete = constants.%complete_type.abf] // CHECK:STDOUT: complete_type_witness = %complete_type // CHECK:STDOUT: // CHECK:STDOUT: !members: @@ -140,28 +140,28 @@ fn G() -> i32 { // CHECK:STDOUT: fn @F() -> out %return.param: %C { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %result.patt: %pattern_type.d7b = ref_binding_pattern result [concrete] -// CHECK:STDOUT: %result.var_patt: %pattern_type.d7b = var_pattern %result.patt [concrete] +// CHECK:STDOUT: %result.patt: %pattern_type.0d5 = ref_binding_pattern result [concrete] +// CHECK:STDOUT: %result.var_patt: %pattern_type.0d5 = var_pattern %result.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc21_43.1: %struct_type.a.b.cfd = struct_literal (%int_1, %int_2) [concrete = constants.%struct] -// CHECK:STDOUT: %impl.elem0.loc21_43.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc21_43.1: = bound_method %int_1, %impl.elem0.loc21_43.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc21_43.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc21_43.1: = bound_method %int_1, %impl.elem0.loc21_43.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc21_43.1: = specific_function %impl.elem0.loc21_43.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc21_43.2: = bound_method %int_1, %specific_fn.loc21_43.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21_43.1: init %i32 = call %bound_method.loc21_43.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc21_43.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21_43.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc21_43.2: = bound_method %int_1, %specific_fn.loc21_43.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21_43.1: init %i32 = call %bound_method.loc21_43.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc21_43.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21_43.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %.loc21_43.3: ref %i32 = class_element_access %return.param, element0 -// CHECK:STDOUT: %.loc21_43.4: init %i32 to %.loc21_43.3 = in_place_init %.loc21_43.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc21_43.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc21_43.3: = bound_method %int_2, %impl.elem0.loc21_43.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc21_43.4: init %i32 to %.loc21_43.3 = in_place_init %.loc21_43.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc21_43.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc21_43.3: = bound_method %int_2, %impl.elem0.loc21_43.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc21_43.2: = specific_function %impl.elem0.loc21_43.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc21_43.4: = bound_method %int_2, %specific_fn.loc21_43.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21_43.2: init %i32 = call %bound_method.loc21_43.4(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc21_43.5: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21_43.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc21_43.4: = bound_method %int_2, %specific_fn.loc21_43.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21_43.2: init %i32 = call %bound_method.loc21_43.4(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc21_43.5: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc21_43.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc21_43.6: ref %i32 = class_element_access %return.param, element1 -// CHECK:STDOUT: %.loc21_43.7: init %i32 to %.loc21_43.6 = in_place_init %.loc21_43.5 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %.loc21_43.7: init %i32 to %.loc21_43.6 = in_place_init %.loc21_43.5 [concrete = constants.%int_2.228] // CHECK:STDOUT: %.loc21_43.8: init %C to %return.param = class_init (%.loc21_43.4, %.loc21_43.7) [concrete = constants.%C.val] // CHECK:STDOUT: %.loc21_12: init %C = converted %.loc21_43.1, %.loc21_43.8 [concrete = constants.%C.val] // CHECK:STDOUT: assign %return.param, %.loc21_12 @@ -173,22 +173,22 @@ fn G() -> i32 { // CHECK:STDOUT: fn @G() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %result.patt: %pattern_type.c6b = ref_binding_pattern result [concrete] -// CHECK:STDOUT: %result.var_patt: %pattern_type.c6b = var_pattern %result.patt [concrete] +// CHECK:STDOUT: %result.patt: %pattern_type.104 = ref_binding_pattern result [concrete] +// CHECK:STDOUT: %result.var_patt: %pattern_type.104 = var_pattern %result.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %result.var: ref %i32 = var %result.var_patt // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc26_12.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc26_12.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc26_12.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc26_12.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc26_12: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc26_12.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc26_12.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc26_12: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign %result.var, %.loc26_12 // CHECK:STDOUT: %i32.loc26: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %result: ref %i32 = ref_binding result, %result.var // CHECK:STDOUT: %.loc26_22: %i32 = acquire_value %result -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %result.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %result.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%result.var) // CHECK:STDOUT: return %.loc26_22 // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/return/returned_var_scope.carbon b/toolchain/check/testdata/return/returned_var_scope.carbon index 5763d7f75dab..6ccf45c2ab41 100644 --- a/toolchain/check/testdata/return/returned_var_scope.carbon +++ b/toolchain/check/testdata/return/returned_var_scope.carbon @@ -39,36 +39,36 @@ fn EnclosingButAfter(b: bool) -> i32 { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %UnrelatedScopes.type: type = fn_type @UnrelatedScopes [concrete] // CHECK:STDOUT: %UnrelatedScopes: %UnrelatedScopes.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %true: bool = bool_literal true [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.494: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.82d: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc20_14.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc20_14.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: %Bool.type: type = fn_type @Bool [concrete] // CHECK:STDOUT: %Bool: %Bool.type = struct_value () [concrete] // CHECK:STDOUT: %pattern_type.831: type = pattern_type bool [concrete] @@ -86,9 +86,9 @@ fn EnclosingButAfter(b: bool) -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: %Core.Bool: %Bool.type = import_ref Core//prelude/parts/bool, Bool, loaded [concrete = constants.%Bool] // CHECK:STDOUT: } @@ -101,22 +101,22 @@ fn EnclosingButAfter(b: bool) -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %UnrelatedScopes.decl: %UnrelatedScopes.type = fn_decl @UnrelatedScopes [concrete = constants.%UnrelatedScopes] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc15 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32.loc15 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %EnclosingButAfter.decl: %EnclosingButAfter.type = fn_decl @EnclosingButAfter [concrete = constants.%EnclosingButAfter] { // CHECK:STDOUT: %b.param_patt: %pattern_type.831 = value_param_pattern [concrete] // CHECK:STDOUT: %b.patt: %pattern_type.831 = at_binding_pattern b, %b.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32.loc25 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32.loc25 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc25: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc25_34: Core.Form = init_form %i32.loc25 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc25_34: Core.Form = init_form %i32.loc25 [concrete = constants.%.7ea] // CHECK:STDOUT: %b.param: bool = value_param call_param0 // CHECK:STDOUT: %.loc25_25: type = type_literal bool [concrete = bool] // CHECK:STDOUT: %b: bool = value_binding b, %b.param @@ -132,17 +132,17 @@ fn EnclosingButAfter(b: bool) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.then.loc16: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.c6b = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.c6b = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.104 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.104 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %i32 = var %v.var_patt // CHECK:STDOUT: %int_0.loc17: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc17: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc17_14.1: = bound_method %int_0.loc17, %impl.elem0.loc17 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc17: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc17_14.1: = bound_method %int_0.loc17, %impl.elem0.loc17 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc17_14.2: = bound_method %int_0.loc17, %specific_fn.loc17 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %i32 = call %bound_method.loc17_14.2(%int_0.loc17) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc17: init %i32 = converted %int_0.loc17, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc17_14.2: = bound_method %int_0.loc17, %specific_fn.loc17 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17: init %i32 = call %bound_method.loc17_14.2(%int_0.loc17) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc17: init %i32 = converted %int_0.loc17, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17 [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign %v.var, %.loc17 // CHECK:STDOUT: %i32.loc17: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %v: ref %i32 = ref_binding v, %v.var @@ -154,17 +154,17 @@ fn EnclosingButAfter(b: bool) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.then.loc19: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: %pattern_type.c6b = ref_binding_pattern w [concrete] -// CHECK:STDOUT: %w.var_patt: %pattern_type.c6b = var_pattern %w.patt [concrete] +// CHECK:STDOUT: %w.patt: %pattern_type.104 = ref_binding_pattern w [concrete] +// CHECK:STDOUT: %w.var_patt: %pattern_type.104 = var_pattern %w.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %w.var: ref %i32 = var %w.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc20: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc20_14.1: = bound_method %int_1, %impl.elem0.loc20 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc20: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc20_14.1: = bound_method %int_1, %impl.elem0.loc20 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc20_14.2: = bound_method %int_1, %specific_fn.loc20 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %i32 = call %bound_method.loc20_14.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc20: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc20_14.2: = bound_method %int_1, %specific_fn.loc20 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20: init %i32 = call %bound_method.loc20_14.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc20: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc20 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign %w.var, %.loc20 // CHECK:STDOUT: %i32.loc20: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %w: ref %i32 = ref_binding w, %w.var @@ -172,15 +172,15 @@ fn EnclosingButAfter(b: bool) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.else.loc19: // CHECK:STDOUT: %int_0.loc22: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc22: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc22_11.1: = bound_method %int_0.loc22, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc22: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc22_11.1: = bound_method %int_0.loc22, %impl.elem0.loc22 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc22: = specific_function %impl.elem0.loc22, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc22_11.2: = bound_method %int_0.loc22, %specific_fn.loc22 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %i32 = call %bound_method.loc22_11.2(%int_0.loc22) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc22: init %i32 = converted %int_0.loc22, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %Destroy.Op.bound.loc20: = bound_method %w.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %bound_method.loc22_11.2: = bound_method %int_0.loc22, %specific_fn.loc22 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22: init %i32 = call %bound_method.loc22_11.2(%int_0.loc22) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc22: init %i32 = converted %int_0.loc22, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc22 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %Destroy.Op.bound.loc20: = bound_method %w.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc20: init %empty_tuple.type = call %Destroy.Op.bound.loc20(%w.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc17: = bound_method %v.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc17: = bound_method %v.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc17: init %empty_tuple.type = call %Destroy.Op.bound.loc17(%v.var) // CHECK:STDOUT: return %.loc22 // CHECK:STDOUT: } @@ -199,45 +199,45 @@ fn EnclosingButAfter(b: bool) -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: !if.then: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.c6b = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.c6b = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.104 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.104 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %v.var: ref %i32 = var %v.var_patt // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0.loc27: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc27_14.1: = bound_method %int_0, %impl.elem0.loc27 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.b98] +// CHECK:STDOUT: %impl.elem0.loc27: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc27_14.1: = bound_method %int_0, %impl.elem0.loc27 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.638] // CHECK:STDOUT: %specific_fn.loc27: = specific_function %impl.elem0.loc27, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc27_14.2: = bound_method %int_0, %specific_fn.loc27 [concrete = constants.%bound_method.494] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27: init %i32 = call %bound_method.loc27_14.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc27_14: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %bound_method.loc27_14.2: = bound_method %int_0, %specific_fn.loc27 [concrete = constants.%bound_method.82d] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27: init %i32 = call %bound_method.loc27_14.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc27_14: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc27 [concrete = constants.%int_0.62d] // CHECK:STDOUT: assign %v.var, %.loc27_14 // CHECK:STDOUT: %i32.loc27: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %v: ref %i32 = ref_binding v, %v.var // CHECK:STDOUT: %.loc27_19: %i32 = acquire_value %v -// CHECK:STDOUT: %Destroy.Op.bound.loc27_14.1: = bound_method %v.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc27_14.1: = bound_method %v.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc27_14.1: init %empty_tuple.type = call %Destroy.Op.bound.loc27_14.1(%v.var) // CHECK:STDOUT: return %.loc27_19 // CHECK:STDOUT: // CHECK:STDOUT: !if.else: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: %pattern_type.c6b = ref_binding_pattern w [concrete] -// CHECK:STDOUT: %w.var_patt: %pattern_type.c6b = var_pattern %w.patt [concrete] +// CHECK:STDOUT: %w.patt: %pattern_type.104 = ref_binding_pattern w [concrete] +// CHECK:STDOUT: %w.var_patt: %pattern_type.104 = var_pattern %w.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %w.var: ref %i32 = var %w.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] -// CHECK:STDOUT: %impl.elem0.loc30: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc30_12.1: = bound_method %int_1, %impl.elem0.loc30 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc30: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc30_12.1: = bound_method %int_1, %impl.elem0.loc30 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc30: = specific_function %impl.elem0.loc30, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc30_12.2: = bound_method %int_1, %specific_fn.loc30 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc30: init %i32 = call %bound_method.loc30_12.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc30_12: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc30 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc30_12.2: = bound_method %int_1, %specific_fn.loc30 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc30: init %i32 = call %bound_method.loc30_12.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc30_12: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc30 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign %w.var, %.loc30_12 // CHECK:STDOUT: %i32.loc30: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %w: ref %i32 = ref_binding w, %w.var // CHECK:STDOUT: %.loc30_17: %i32 = acquire_value %w -// CHECK:STDOUT: %Destroy.Op.bound.loc30: = bound_method %w.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc30: = bound_method %w.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc30: init %empty_tuple.type = call %Destroy.Op.bound.loc30(%w.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc27_14.2: = bound_method %v.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc27_14.2: = bound_method %v.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc27_14.2: init %empty_tuple.type = call %Destroy.Op.bound.loc27_14.2(%v.var) // CHECK:STDOUT: return %.loc30_17 // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/return/struct.carbon b/toolchain/check/testdata/return/struct.carbon index bc577de4c503..1494c0b101e1 100644 --- a/toolchain/check/testdata/return/struct.carbon +++ b/toolchain/check/testdata/return/struct.carbon @@ -23,31 +23,31 @@ fn Main() -> {.a: i32} { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %struct_type.a.72d: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %.010: Core.Form = init_form %struct_type.a.72d [concrete] -// CHECK:STDOUT: %pattern_type.79c: type = pattern_type %struct_type.a.72d [concrete] +// CHECK:STDOUT: %struct_type.a.1c5: type = struct_type {.a: %i32} [concrete] +// CHECK:STDOUT: %.c00: Core.Form = init_form %struct_type.a.1c5 [concrete] +// CHECK:STDOUT: %pattern_type.d7c: type = pattern_type %struct_type.a.1c5 [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %int_3.1ba: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %struct_type.a.a6c: type = struct_type {.a: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.001: %struct_type.a.a6c = struct_value (%int_3.1ba) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_3.1ba, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_3.49a: %i32 = int_value 3 [concrete] -// CHECK:STDOUT: %struct.51e: %struct_type.a.72d = struct_value (%int_3.49a) [concrete] +// CHECK:STDOUT: %int_3.6cc: %i32 = int_value 3 [concrete] +// CHECK:STDOUT: %struct.d12: %struct_type.a.1c5 = struct_value (%int_3.6cc) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -58,9 +58,9 @@ fn Main() -> {.a: i32} { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -70,29 +70,29 @@ fn Main() -> {.a: i32} { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Main.decl: %Main.type = fn_decl @Main [concrete = constants.%Main] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.79c = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.79c = return_slot_pattern %return.param_patt, %struct_type.a [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.d7c = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.d7c = return_slot_pattern %return.param_patt, %struct_type.a [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.72d] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %struct_type.a [concrete = constants.%.010] -// CHECK:STDOUT: %return.param: ref %struct_type.a.72d = out_param call_param0 -// CHECK:STDOUT: %return: ref %struct_type.a.72d = return_slot %return.param +// CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.1c5] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %struct_type.a [concrete = constants.%.c00] +// CHECK:STDOUT: %return.param: ref %struct_type.a.1c5 = out_param call_param0 +// CHECK:STDOUT: %return: ref %struct_type.a.1c5 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Main() -> out %return.param: %struct_type.a.72d { +// CHECK:STDOUT: fn @Main() -> out %return.param: %struct_type.a.1c5 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3.1ba] // CHECK:STDOUT: %.loc16_17.1: %struct_type.a.a6c = struct_literal (%int_3) [concrete = constants.%struct.001] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc16_17.1: = bound_method %int_3, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc16_17.2: = bound_method %int_3, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_17.2(%int_3) [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc16_17.2: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_3.49a] -// CHECK:STDOUT: %.loc16_17.3: init %struct_type.a.72d = struct_init (%.loc16_17.2) [concrete = constants.%struct.51e] -// CHECK:STDOUT: %.loc16_18: init %struct_type.a.72d = converted %.loc16_17.1, %.loc16_17.3 [concrete = constants.%struct.51e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_17.2(%int_3) [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc16_17.2: init %i32 = converted %int_3, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_3.6cc] +// CHECK:STDOUT: %.loc16_17.3: init %struct_type.a.1c5 = struct_init (%.loc16_17.2) [concrete = constants.%struct.d12] +// CHECK:STDOUT: %.loc16_18: init %struct_type.a.1c5 = converted %.loc16_17.1, %.loc16_17.3 [concrete = constants.%struct.d12] // CHECK:STDOUT: return %.loc16_18 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/tuple.carbon b/toolchain/check/testdata/return/tuple.carbon index ee65a5398257..d24abf8a53c5 100644 --- a/toolchain/check/testdata/return/tuple.carbon +++ b/toolchain/check/testdata/return/tuple.carbon @@ -25,36 +25,36 @@ fn Main() -> (i32, i32) { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.8e3: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %.88c: Core.Form = init_form %tuple.type.87c [concrete] -// CHECK:STDOUT: %pattern_type.624: type = pattern_type %tuple.type.87c [concrete] +// CHECK:STDOUT: %tuple.79d: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %.ac5: Core.Form = init_form %tuple.type.e5a [concrete] +// CHECK:STDOUT: %pattern_type.7d6: type = pattern_type %tuple.type.e5a [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %int_15.447: Core.IntLiteral = int_value 15 [concrete] // CHECK:STDOUT: %int_35.c79: Core.IntLiteral = int_value 35 [concrete] // CHECK:STDOUT: %tuple.type.f94: type = tuple_type (Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.1b5: %tuple.type.f94 = tuple_value (%int_15.447, %int_35.c79) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.90d: = bound_method %int_15.447, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.896: = bound_method %int_15.447, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_15.e49: %i32 = int_value 15 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.ab0: = bound_method %int_35.c79, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.6eb: = bound_method %int_35.c79, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_35.334: %i32 = int_value 35 [concrete] -// CHECK:STDOUT: %tuple.fc2: %tuple.type.87c = tuple_value (%int_15.e49, %int_35.334) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5fc: = bound_method %int_15.447, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.52e: = bound_method %int_15.447, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_15.e9f: %i32 = int_value 15 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bd5: = bound_method %int_35.c79, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.0e4: = bound_method %int_35.c79, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_35.b43: %i32 = int_value 35 [concrete] +// CHECK:STDOUT: %tuple.5ce: %tuple.type.e5a = tuple_value (%int_15.e9f, %int_35.b43) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -65,9 +65,9 @@ fn Main() -> (i32, i32) { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -77,42 +77,42 @@ fn Main() -> (i32, i32) { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Main.decl: %Main.type = fn_decl @Main [concrete = constants.%Main] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.624 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.624 = return_slot_pattern %return.param_patt, %.loc16_23.2 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.7d6 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.7d6 = return_slot_pattern %return.param_patt, %.loc16_23.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc16_15: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc16_20: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16_23.1: %tuple.type.24b = tuple_literal (%i32.loc16_15, %i32.loc16_20) [concrete = constants.%tuple.8e3] -// CHECK:STDOUT: %.loc16_23.2: type = converted %.loc16_23.1, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] -// CHECK:STDOUT: %.loc16_23.3: Core.Form = init_form %.loc16_23.2 [concrete = constants.%.88c] -// CHECK:STDOUT: %return.param: ref %tuple.type.87c = out_param call_param0 -// CHECK:STDOUT: %return: ref %tuple.type.87c = return_slot %return.param +// CHECK:STDOUT: %.loc16_23.1: %tuple.type.24b = tuple_literal (%i32.loc16_15, %i32.loc16_20) [concrete = constants.%tuple.79d] +// CHECK:STDOUT: %.loc16_23.2: type = converted %.loc16_23.1, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] +// CHECK:STDOUT: %.loc16_23.3: Core.Form = init_form %.loc16_23.2 [concrete = constants.%.ac5] +// CHECK:STDOUT: %return.param: ref %tuple.type.e5a = out_param call_param0 +// CHECK:STDOUT: %return: ref %tuple.type.e5a = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Main() -> out %return.param: %tuple.type.87c { +// CHECK:STDOUT: fn @Main() -> out %return.param: %tuple.type.e5a { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_15: Core.IntLiteral = int_value 15 [concrete = constants.%int_15.447] // CHECK:STDOUT: %int_35: Core.IntLiteral = int_value 35 [concrete = constants.%int_35.c79] // CHECK:STDOUT: %.loc17_17.1: %tuple.type.f94 = tuple_literal (%int_15, %int_35) [concrete = constants.%tuple.1b5] -// CHECK:STDOUT: %impl.elem0.loc17_17.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc17_17.1: = bound_method %int_15, %impl.elem0.loc17_17.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.90d] +// CHECK:STDOUT: %impl.elem0.loc17_17.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc17_17.1: = bound_method %int_15, %impl.elem0.loc17_17.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.5fc] // CHECK:STDOUT: %specific_fn.loc17_17.1: = specific_function %impl.elem0.loc17_17.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc17_17.2: = bound_method %int_15, %specific_fn.loc17_17.1 [concrete = constants.%bound_method.896] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_17.1: init %i32 = call %bound_method.loc17_17.2(%int_15) [concrete = constants.%int_15.e49] -// CHECK:STDOUT: %.loc17_17.2: init %i32 = converted %int_15, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_17.1 [concrete = constants.%int_15.e49] +// CHECK:STDOUT: %bound_method.loc17_17.2: = bound_method %int_15, %specific_fn.loc17_17.1 [concrete = constants.%bound_method.52e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_17.1: init %i32 = call %bound_method.loc17_17.2(%int_15) [concrete = constants.%int_15.e9f] +// CHECK:STDOUT: %.loc17_17.2: init %i32 = converted %int_15, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_17.1 [concrete = constants.%int_15.e9f] // CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %return.param, element0 -// CHECK:STDOUT: %.loc17_17.3: init %i32 to %tuple.elem0 = in_place_init %.loc17_17.2 [concrete = constants.%int_15.e49] -// CHECK:STDOUT: %impl.elem0.loc17_17.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc17_17.3: = bound_method %int_35, %impl.elem0.loc17_17.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.ab0] +// CHECK:STDOUT: %.loc17_17.3: init %i32 to %tuple.elem0 = in_place_init %.loc17_17.2 [concrete = constants.%int_15.e9f] +// CHECK:STDOUT: %impl.elem0.loc17_17.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc17_17.3: = bound_method %int_35, %impl.elem0.loc17_17.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bd5] // CHECK:STDOUT: %specific_fn.loc17_17.2: = specific_function %impl.elem0.loc17_17.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc17_17.4: = bound_method %int_35, %specific_fn.loc17_17.2 [concrete = constants.%bound_method.6eb] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_17.2: init %i32 = call %bound_method.loc17_17.4(%int_35) [concrete = constants.%int_35.334] -// CHECK:STDOUT: %.loc17_17.4: init %i32 = converted %int_35, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_17.2 [concrete = constants.%int_35.334] +// CHECK:STDOUT: %bound_method.loc17_17.4: = bound_method %int_35, %specific_fn.loc17_17.2 [concrete = constants.%bound_method.0e4] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_17.2: init %i32 = call %bound_method.loc17_17.4(%int_35) [concrete = constants.%int_35.b43] +// CHECK:STDOUT: %.loc17_17.4: init %i32 = converted %int_35, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc17_17.2 [concrete = constants.%int_35.b43] // CHECK:STDOUT: %tuple.elem1: ref %i32 = tuple_access %return.param, element1 -// CHECK:STDOUT: %.loc17_17.5: init %i32 to %tuple.elem1 = in_place_init %.loc17_17.4 [concrete = constants.%int_35.334] -// CHECK:STDOUT: %.loc17_17.6: init %tuple.type.87c to %return.param = tuple_init (%.loc17_17.3, %.loc17_17.5) [concrete = constants.%tuple.fc2] -// CHECK:STDOUT: %.loc17_18: init %tuple.type.87c = converted %.loc17_17.1, %.loc17_17.6 [concrete = constants.%tuple.fc2] +// CHECK:STDOUT: %.loc17_17.5: init %i32 to %tuple.elem1 = in_place_init %.loc17_17.4 [concrete = constants.%int_35.b43] +// CHECK:STDOUT: %.loc17_17.6: init %tuple.type.e5a to %return.param = tuple_init (%.loc17_17.3, %.loc17_17.5) [concrete = constants.%tuple.5ce] +// CHECK:STDOUT: %.loc17_18: init %tuple.type.e5a = converted %.loc17_17.1, %.loc17_17.6 [concrete = constants.%tuple.5ce] // CHECK:STDOUT: return %.loc17_18 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/return/value.carbon b/toolchain/check/testdata/return/value.carbon index 71b44d67f4ca..1720723be713 100644 --- a/toolchain/check/testdata/return/value.carbon +++ b/toolchain/check/testdata/return/value.carbon @@ -23,27 +23,27 @@ fn Main() -> i32 { // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -54,9 +54,9 @@ fn Main() -> i32 { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -66,11 +66,11 @@ fn Main() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Main.decl: %Main.type = fn_decl @Main [concrete = constants.%Main] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -79,12 +79,12 @@ fn Main() -> i32 { // CHECK:STDOUT: fn @Main() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc16_11.1: = bound_method %int_0, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc16_11.2: = bound_method %int_0, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_11.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc16: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc16_11.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc16: init %i32 = converted %int_0, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_0.62d] // CHECK:STDOUT: return %.loc16 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/fail_assign_empty.carbon b/toolchain/check/testdata/struct/fail_assign_empty.carbon index 6cc1d90578fc..f95b20c18564 100644 --- a/toolchain/check/testdata/struct/fail_assign_empty.carbon +++ b/toolchain/check/testdata/struct/fail_assign_empty.carbon @@ -26,7 +26,7 @@ var x: {.a: i32} = {}; // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.79c: type = pattern_type %struct_type.a [concrete] +// CHECK:STDOUT: %pattern_type.d7c: type = pattern_type %struct_type.a [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] // CHECK:STDOUT: } @@ -47,8 +47,8 @@ var x: {.a: i32} = {}; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.79c = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.79c = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.d7c = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.d7c = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %struct_type.a = var %x.var_patt [concrete] // CHECK:STDOUT: %.loc19: type = splice_block %struct_type.a [concrete = constants.%struct_type.a] { diff --git a/toolchain/check/testdata/struct/fail_duplicate_name.carbon b/toolchain/check/testdata/struct/fail_duplicate_name.carbon index 2af2782b487d..13ae85716968 100644 --- a/toolchain/check/testdata/struct/fail_duplicate_name.carbon +++ b/toolchain/check/testdata/struct/fail_duplicate_name.carbon @@ -69,12 +69,12 @@ var y: {.b: i32, .c: i32} = {.b = 3, .b = 4}; // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.a.a6c: type = struct_type {.a: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.a.a6c = struct_value (%int_1) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %struct_type.a.72d: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.79c: type = pattern_type %struct_type.a.72d [concrete] +// CHECK:STDOUT: %struct_type.a.1c5: type = struct_type {.a: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.d7c: type = pattern_type %struct_type.a.1c5 [concrete] // CHECK:STDOUT: %struct_type.b.c: type = struct_type {.b: %i32, .c: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.e2e: type = pattern_type %struct_type.b.c [concrete] +// CHECK:STDOUT: %pattern_type.16d: type = pattern_type %struct_type.b.c [concrete] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete] // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete] // CHECK:STDOUT: } @@ -117,23 +117,23 @@ var y: {.b: i32, .c: i32} = {.b = 3, .b = 4}; // CHECK:STDOUT: } // CHECK:STDOUT: %v: = value_binding v, [concrete = ] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: %pattern_type.c6b = value_binding_pattern w [concrete] +// CHECK:STDOUT: %w.patt: %pattern_type.104 = value_binding_pattern w [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %i32.loc40: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %w: %i32 = value_binding w, [concrete = ] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.79c = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.79c = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.d7c = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.d7c = var_pattern %x.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %x.var: ref %struct_type.a.72d = var %x.var_patt [concrete] -// CHECK:STDOUT: %.loc49: type = splice_block %struct_type.a [concrete = constants.%struct_type.a.72d] { +// CHECK:STDOUT: %x.var: ref %struct_type.a.1c5 = var %x.var_patt [concrete] +// CHECK:STDOUT: %.loc49: type = splice_block %struct_type.a [concrete = constants.%struct_type.a.1c5] { // CHECK:STDOUT: %i32.loc49: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.72d] +// CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.1c5] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: ref %struct_type.a.72d = ref_binding x, %x.var [concrete = %x.var] +// CHECK:STDOUT: %x: ref %struct_type.a.1c5 = ref_binding x, %x.var [concrete = %x.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.e2e = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.e2e = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.16d = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.16d = var_pattern %y.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %y.var: ref %struct_type.b.c = var %y.var_patt [concrete] // CHECK:STDOUT: %.loc58: type = splice_block %struct_type.b.c [concrete = constants.%struct_type.b.c] { diff --git a/toolchain/check/testdata/struct/fail_field_name_mismatch.carbon b/toolchain/check/testdata/struct/fail_field_name_mismatch.carbon index 1fa178cf7b1a..edec5dae88b2 100644 --- a/toolchain/check/testdata/struct/fail_field_name_mismatch.carbon +++ b/toolchain/check/testdata/struct/fail_field_name_mismatch.carbon @@ -39,46 +39,46 @@ var y: {.b: i32} = x; // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %struct_type.a.72d: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.79c: type = pattern_type %struct_type.a.72d [concrete] +// CHECK:STDOUT: %struct_type.a.1c5: type = struct_type {.a: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.d7c: type = pattern_type %struct_type.a.1c5 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.a.a6c: type = struct_type {.a: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.48c: %struct_type.a.a6c = struct_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %.17c: ref %i32 = struct_access file.%a.var, element0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %.8fa: ref %i32 = struct_access file.%a.var, element0 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %struct.096: %struct_type.a.72d = struct_value (%int_1.d5e) [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %struct.107: %struct_type.a.1c5 = struct_value (%int_1.d9c) [concrete] // CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.32c: type = pattern_type %struct_type.a.b [concrete] -// CHECK:STDOUT: %.568: ref %i32 = struct_access file.%b.var, element0 [concrete] +// CHECK:STDOUT: %pattern_type.941: type = pattern_type %struct_type.a.b [concrete] +// CHECK:STDOUT: %.a23: ref %i32 = struct_access file.%b.var, element0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %struct_type.b.a15: type = struct_type {.b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.62b: %struct_type.b.a15 = struct_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %struct_type.b.177: type = struct_type {.b: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.3b8: type = pattern_type %struct_type.b.177 [concrete] +// CHECK:STDOUT: %struct_type.b.676: type = struct_type {.b: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.956: type = pattern_type %struct_type.b.676 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -90,12 +90,12 @@ var y: {.b: i32} = x; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -108,18 +108,18 @@ var y: {.b: i32} = x; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.79c = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.79c = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.d7c = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.d7c = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %struct_type.a.72d = var %a.var_patt [concrete] -// CHECK:STDOUT: %.loc15: type = splice_block %struct_type.a.loc15 [concrete = constants.%struct_type.a.72d] { +// CHECK:STDOUT: %a.var: ref %struct_type.a.1c5 = var %a.var_patt [concrete] +// CHECK:STDOUT: %.loc15: type = splice_block %struct_type.a.loc15 [concrete = constants.%struct_type.a.1c5] { // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.loc15: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.72d] +// CHECK:STDOUT: %struct_type.a.loc15: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.1c5] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %struct_type.a.72d = ref_binding a, %a.var [concrete = %a.var] +// CHECK:STDOUT: %a: ref %struct_type.a.1c5 = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.32c = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.32c = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.941 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.941 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %struct_type.a.b = var %b.var_patt [concrete] // CHECK:STDOUT: %.loc20: type = splice_block %struct_type.a.b [concrete = constants.%struct_type.a.b] { @@ -129,55 +129,55 @@ var y: {.b: i32} = x; // CHECK:STDOUT: } // CHECK:STDOUT: %b: ref %struct_type.a.b = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.79c = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.79c = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.d7c = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.d7c = var_pattern %x.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %x.var: ref %struct_type.a.72d = var %x.var_patt [concrete] -// CHECK:STDOUT: %.loc26: type = splice_block %struct_type.a.loc26 [concrete = constants.%struct_type.a.72d] { +// CHECK:STDOUT: %x.var: ref %struct_type.a.1c5 = var %x.var_patt [concrete] +// CHECK:STDOUT: %.loc26: type = splice_block %struct_type.a.loc26 [concrete = constants.%struct_type.a.1c5] { // CHECK:STDOUT: %i32.loc26: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.loc26: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.72d] +// CHECK:STDOUT: %struct_type.a.loc26: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.1c5] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: ref %struct_type.a.72d = ref_binding x, %x.var [concrete = %x.var] +// CHECK:STDOUT: %x: ref %struct_type.a.1c5 = ref_binding x, %x.var [concrete = %x.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.3b8 = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.3b8 = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.956 = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.956 = var_pattern %y.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %y.var: ref %struct_type.b.177 = var %y.var_patt [concrete] -// CHECK:STDOUT: %.loc32: type = splice_block %struct_type.b [concrete = constants.%struct_type.b.177] { +// CHECK:STDOUT: %y.var: ref %struct_type.b.676 = var %y.var_patt [concrete] +// CHECK:STDOUT: %.loc32: type = splice_block %struct_type.b [concrete = constants.%struct_type.b.676] { // CHECK:STDOUT: %i32.loc32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.b: type = struct_type {.b: %i32} [concrete = constants.%struct_type.b.177] +// CHECK:STDOUT: %struct_type.b: type = struct_type {.b: %i32} [concrete = constants.%struct_type.b.676] // CHECK:STDOUT: } -// CHECK:STDOUT: %y: ref %struct_type.b.177 = ref_binding y, %y.var [concrete = %y.var] +// CHECK:STDOUT: %y: ref %struct_type.b.676 = ref_binding y, %y.var [concrete = %y.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_1.loc15: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc15_28.1: %struct_type.a.a6c = struct_literal (%int_1.loc15) [concrete = constants.%struct.48c] -// CHECK:STDOUT: %impl.elem0.loc15: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc15: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc15_28.1: = bound_method %int_1.loc15, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_28.2: = bound_method %int_1.loc15, %specific_fn.loc15 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_28.2(%int_1.loc15) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_28.2: init %i32 = converted %int_1.loc15, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_28.3: init %struct_type.a.72d to file.%a.var = struct_init (%.loc15_28.2) [concrete = constants.%struct.096] -// CHECK:STDOUT: %.loc15_1: init %struct_type.a.72d = converted %.loc15_28.1, %.loc15_28.3 [concrete = constants.%struct.096] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_28.2(%int_1.loc15) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_28.2: init %i32 = converted %int_1.loc15, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_28.3: init %struct_type.a.1c5 to file.%a.var = struct_init (%.loc15_28.2) [concrete = constants.%struct.107] +// CHECK:STDOUT: %.loc15_1: init %struct_type.a.1c5 = converted %.loc15_28.1, %.loc15_28.3 [concrete = constants.%struct.107] // CHECK:STDOUT: assign file.%a.var, %.loc15_1 -// CHECK:STDOUT: %a.ref: ref %struct_type.a.72d = name_ref a, file.%a [concrete = file.%a.var] -// CHECK:STDOUT: %.loc20_29.1: ref %i32 = struct_access %a.ref, element0 [concrete = constants.%.17c] +// CHECK:STDOUT: %a.ref: ref %struct_type.a.1c5 = name_ref a, file.%a [concrete = file.%a.var] +// CHECK:STDOUT: %.loc20_29.1: ref %i32 = struct_access %a.ref, element0 [concrete = constants.%.8fa] // CHECK:STDOUT: %.loc20_29.2: %i32 = acquire_value %.loc20_29.1 -// CHECK:STDOUT: %impl.elem0.loc20: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc20: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc20_29.1: = bound_method %.loc20_29.2, %impl.elem0.loc20 // CHECK:STDOUT: %specific_fn.loc20: = specific_function %impl.elem0.loc20, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc20_29.2: = bound_method %.loc20_29.2, %specific_fn.loc20 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc20_29.2(%.loc20_29.2) -// CHECK:STDOUT: %.loc20_29.3: ref %i32 = struct_access file.%b.var, element0 [concrete = constants.%.568] +// CHECK:STDOUT: %.loc20_29.3: ref %i32 = struct_access file.%b.var, element0 [concrete = constants.%.a23] // CHECK:STDOUT: %.loc20_29.4: init %i32 to %.loc20_29.3 = in_place_init %Int.as.Copy.impl.Op.call // CHECK:STDOUT: assign file.%b.var, // CHECK:STDOUT: %int_1.loc26: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc26: %struct_type.b.a15 = struct_literal (%int_1.loc26) [concrete = constants.%struct.62b] // CHECK:STDOUT: assign file.%x.var, -// CHECK:STDOUT: %x.ref: ref %struct_type.a.72d = name_ref x, file.%x [concrete = file.%x.var] +// CHECK:STDOUT: %x.ref: ref %struct_type.a.1c5 = name_ref x, file.%x [concrete = file.%x.var] // CHECK:STDOUT: assign file.%y.var, // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/struct/fail_field_type_mismatch.carbon b/toolchain/check/testdata/struct/fail_field_type_mismatch.carbon index 83d965eaf906..a7b7d8f88dda 100644 --- a/toolchain/check/testdata/struct/fail_field_type_mismatch.carbon +++ b/toolchain/check/testdata/struct/fail_field_type_mismatch.carbon @@ -26,7 +26,7 @@ var x: {.a: i32} = {.b = 1.0}; // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.79c: type = pattern_type %struct_type.a [concrete] +// CHECK:STDOUT: %pattern_type.d7c: type = pattern_type %struct_type.a [concrete] // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 10e-1 [concrete] // CHECK:STDOUT: %struct_type.b: type = struct_type {.b: Core.FloatLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.b = struct_value (%float) [concrete] @@ -48,8 +48,8 @@ var x: {.a: i32} = {.b = 1.0}; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.79c = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.79c = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.d7c = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.d7c = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %struct_type.a = var %x.var_patt [concrete] // CHECK:STDOUT: %.loc19: type = splice_block %struct_type.a [concrete = constants.%struct_type.a] { diff --git a/toolchain/check/testdata/struct/fail_member_access_type.carbon b/toolchain/check/testdata/struct/fail_member_access_type.carbon index cc2b06080e2d..b3ad82a52aa8 100644 --- a/toolchain/check/testdata/struct/fail_member_access_type.carbon +++ b/toolchain/check/testdata/struct/fail_member_access_type.carbon @@ -25,34 +25,34 @@ var y: i32 = x.b; // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %Float.type: type = generic_class_type @Float [concrete] // CHECK:STDOUT: %Float.generic: %Float.type = struct_value () [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %struct_type.a.316: type = struct_type {.a: %f64.9a0} [concrete] -// CHECK:STDOUT: %pattern_type.941: type = pattern_type %struct_type.a.316 [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %struct_type.a.836: type = struct_type {.a: %f64.b55} [concrete] +// CHECK:STDOUT: %pattern_type.d8d: type = pattern_type %struct_type.a.836 [concrete] // CHECK:STDOUT: %float.a4e: Core.FloatLiteral = float_literal_value 40e-1 [concrete] // CHECK:STDOUT: %struct_type.a.b4b: type = struct_type {.a: Core.FloatLiteral} [concrete] // CHECK:STDOUT: %struct.f91: %struct_type.a.b4b = struct_value (%float.a4e) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.731: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.9a0)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.857: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.b55)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.26a: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.731 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.26a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ed2: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.9a0, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.2f4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ed2, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.a4e, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.83f: = impl_witness imports.%ImplicitAs.impl_witness_table, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.857 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.83f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.096: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.b55, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.119: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.096, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.a4e, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %float.a4e, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.7a2: %f64.9a0 = float_value 4 [concrete] -// CHECK:STDOUT: %struct.d38: %struct_type.a.316 = struct_value (%float.7a2) [concrete] +// CHECK:STDOUT: %float.aa2: %f64.b55 = float_value 4 [concrete] +// CHECK:STDOUT: %struct.982: %struct_type.a.836 = struct_value (%float.aa2) [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -64,9 +64,9 @@ var y: i32 = x.b; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Float: %Float.type = import_ref Core//prelude/parts/float, Float, loaded [concrete = constants.%Float.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.9a6: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.9a6), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -78,18 +78,18 @@ var y: i32 = x.b; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.941 = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.941 = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.d8d = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.d8d = var_pattern %x.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %x.var: ref %struct_type.a.316 = var %x.var_patt [concrete] -// CHECK:STDOUT: %.loc15: type = splice_block %struct_type.a [concrete = constants.%struct_type.a.316] { -// CHECK:STDOUT: %f64: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %f64.9a0} [concrete = constants.%struct_type.a.316] +// CHECK:STDOUT: %x.var: ref %struct_type.a.836 = var %x.var_patt [concrete] +// CHECK:STDOUT: %.loc15: type = splice_block %struct_type.a [concrete = constants.%struct_type.a.836] { +// CHECK:STDOUT: %f64: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %f64.b55} [concrete = constants.%struct_type.a.836] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: ref %struct_type.a.316 = ref_binding x, %x.var [concrete = %x.var] +// CHECK:STDOUT: %x: ref %struct_type.a.836 = ref_binding x, %x.var [concrete = %x.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.c6b = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.c6b = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.104 = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.104 = var_pattern %y.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %y.var: ref %i32 = var %y.var_patt [concrete] // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -100,16 +100,16 @@ var y: i32 = x.b; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 40e-1 [concrete = constants.%float.a4e] // CHECK:STDOUT: %.loc15_29.1: %struct_type.a.b4b = struct_literal (%float) [concrete = constants.%struct.f91] -// CHECK:STDOUT: %impl.elem0: %.2f4 = impl_witness_access constants.%ImplicitAs.impl_witness.26a, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b] +// CHECK:STDOUT: %impl.elem0: %.119 = impl_witness_access constants.%ImplicitAs.impl_witness.83f, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.881] // CHECK:STDOUT: %bound_method.loc15_29.1: = bound_method %float, %impl.elem0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_29.2: = bound_method %float, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.9a0 = call %bound_method.loc15_29.2(%float) [concrete = constants.%float.7a2] -// CHECK:STDOUT: %.loc15_29.2: init %f64.9a0 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.7a2] -// CHECK:STDOUT: %.loc15_29.3: init %struct_type.a.316 to file.%x.var = struct_init (%.loc15_29.2) [concrete = constants.%struct.d38] -// CHECK:STDOUT: %.loc15_1: init %struct_type.a.316 = converted %.loc15_29.1, %.loc15_29.3 [concrete = constants.%struct.d38] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.b55 = call %bound_method.loc15_29.2(%float) [concrete = constants.%float.aa2] +// CHECK:STDOUT: %.loc15_29.2: init %f64.b55 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.aa2] +// CHECK:STDOUT: %.loc15_29.3: init %struct_type.a.836 to file.%x.var = struct_init (%.loc15_29.2) [concrete = constants.%struct.982] +// CHECK:STDOUT: %.loc15_1: init %struct_type.a.836 = converted %.loc15_29.1, %.loc15_29.3 [concrete = constants.%struct.982] // CHECK:STDOUT: assign file.%x.var, %.loc15_1 -// CHECK:STDOUT: %x.ref: ref %struct_type.a.316 = name_ref x, file.%x [concrete = file.%x.var] +// CHECK:STDOUT: %x.ref: ref %struct_type.a.836 = name_ref x, file.%x [concrete = file.%x.var] // CHECK:STDOUT: assign file.%y.var, // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/struct/fail_non_member_access.carbon b/toolchain/check/testdata/struct/fail_non_member_access.carbon index 08859d543f88..7098c3c6bcb7 100644 --- a/toolchain/check/testdata/struct/fail_non_member_access.carbon +++ b/toolchain/check/testdata/struct/fail_non_member_access.carbon @@ -26,29 +26,29 @@ var y: i32 = x.b; // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %struct_type.a.72d: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.79c: type = pattern_type %struct_type.a.72d [concrete] +// CHECK:STDOUT: %struct_type.a.1c5: type = struct_type {.a: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.d7c: type = pattern_type %struct_type.a.1c5 [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] // CHECK:STDOUT: %struct_type.a.a6c: type = struct_type {.a: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.2cb: %struct_type.a.a6c = struct_value (%int_4.0c1) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] -// CHECK:STDOUT: %struct.cc6: %struct_type.a.72d = struct_value (%int_4.a7d) [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %struct.1b4: %struct_type.a.1c5 = struct_value (%int_4.a4d) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -59,9 +59,9 @@ var y: i32 = x.b; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -72,18 +72,18 @@ var y: i32 = x.b; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.79c = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.79c = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.d7c = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.d7c = var_pattern %x.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %x.var: ref %struct_type.a.72d = var %x.var_patt [concrete] -// CHECK:STDOUT: %.loc15: type = splice_block %struct_type.a [concrete = constants.%struct_type.a.72d] { +// CHECK:STDOUT: %x.var: ref %struct_type.a.1c5 = var %x.var_patt [concrete] +// CHECK:STDOUT: %.loc15: type = splice_block %struct_type.a [concrete = constants.%struct_type.a.1c5] { // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.72d] +// CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.1c5] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: ref %struct_type.a.72d = ref_binding x, %x.var [concrete = %x.var] +// CHECK:STDOUT: %x: ref %struct_type.a.1c5 = ref_binding x, %x.var [concrete = %x.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.c6b = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.c6b = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.104 = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.104 = var_pattern %y.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %y.var: ref %i32 = var %y.var_patt [concrete] // CHECK:STDOUT: %i32.loc20: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -94,16 +94,16 @@ var y: i32 = x.b; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] // CHECK:STDOUT: %.loc15_27.1: %struct_type.a.a6c = struct_literal (%int_4) [concrete = constants.%struct.2cb] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc15_27.1: = bound_method %int_4, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_27.2: = bound_method %int_4, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_27.2(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc15_27.2: init %i32 = converted %int_4, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc15_27.3: init %struct_type.a.72d to file.%x.var = struct_init (%.loc15_27.2) [concrete = constants.%struct.cc6] -// CHECK:STDOUT: %.loc15_1: init %struct_type.a.72d = converted %.loc15_27.1, %.loc15_27.3 [concrete = constants.%struct.cc6] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_27.2(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc15_27.2: init %i32 = converted %int_4, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc15_27.3: init %struct_type.a.1c5 to file.%x.var = struct_init (%.loc15_27.2) [concrete = constants.%struct.1b4] +// CHECK:STDOUT: %.loc15_1: init %struct_type.a.1c5 = converted %.loc15_27.1, %.loc15_27.3 [concrete = constants.%struct.1b4] // CHECK:STDOUT: assign file.%x.var, %.loc15_1 -// CHECK:STDOUT: %x.ref: ref %struct_type.a.72d = name_ref x, file.%x [concrete = file.%x.var] +// CHECK:STDOUT: %x.ref: ref %struct_type.a.1c5 = name_ref x, file.%x [concrete = file.%x.var] // CHECK:STDOUT: assign file.%y.var, // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/struct/fail_too_few_values.carbon b/toolchain/check/testdata/struct/fail_too_few_values.carbon index 94f92fa8dd7e..37d986720a35 100644 --- a/toolchain/check/testdata/struct/fail_too_few_values.carbon +++ b/toolchain/check/testdata/struct/fail_too_few_values.carbon @@ -26,27 +26,27 @@ var x: {.a: i32, .b: i32} = {.a = 1}; // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.32c: type = pattern_type %struct_type.a.b [concrete] +// CHECK:STDOUT: %pattern_type.941: type = pattern_type %struct_type.a.b [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.a = struct_value (%int_1.5b8) [concrete] -// CHECK:STDOUT: %.2e9: ref %i32 = struct_access file.%x.var, element0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %.f3e: ref %i32 = struct_access file.%x.var, element0 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -57,9 +57,9 @@ var x: {.a: i32, .b: i32} = {.a = 1}; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -69,8 +69,8 @@ var x: {.a: i32, .b: i32} = {.a = 1}; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.32c = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.32c = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.941 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.941 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %struct_type.a.b = var %x.var_patt [concrete] // CHECK:STDOUT: %.loc19: type = splice_block %struct_type.a.b [concrete = constants.%struct_type.a.b] { @@ -85,14 +85,14 @@ var x: {.a: i32, .b: i32} = {.a = 1}; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc19_36.1: %struct_type.a = struct_literal (%int_1) [concrete = constants.%struct] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc19_36.1: = bound_method %int_1, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc19_36.2: = bound_method %int_1, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc19_36.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_36.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc19_36.3: ref %i32 = struct_access file.%x.var, element0 [concrete = constants.%.2e9] -// CHECK:STDOUT: %.loc19_36.4: init %i32 to %.loc19_36.3 = in_place_init %.loc19_36.2 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc19_36.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_36.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc19_36.3: ref %i32 = struct_access file.%x.var, element0 [concrete = constants.%.f3e] +// CHECK:STDOUT: %.loc19_36.4: init %i32 to %.loc19_36.3 = in_place_init %.loc19_36.2 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: assign file.%x.var, // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/struct/fail_type_assign.carbon b/toolchain/check/testdata/struct/fail_type_assign.carbon index 2d914ef290ab..54b626699af3 100644 --- a/toolchain/check/testdata/struct/fail_type_assign.carbon +++ b/toolchain/check/testdata/struct/fail_type_assign.carbon @@ -29,9 +29,9 @@ var x: {.a: i32} = {.a: i32}; // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.79c: type = pattern_type %struct_type.a [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.d7c: type = pattern_type %struct_type.a [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -42,7 +42,7 @@ var x: {.a: i32} = {.a: i32}; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -52,8 +52,8 @@ var x: {.a: i32} = {.a: i32}; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.79c = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.79c = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.d7c = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.d7c = var_pattern %x.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.var: ref %struct_type.a = var %x.var_patt [concrete] // CHECK:STDOUT: %.loc22: type = splice_block %struct_type.a [concrete = constants.%struct_type.a] { diff --git a/toolchain/check/testdata/struct/fail_value_as_type.carbon b/toolchain/check/testdata/struct/fail_value_as_type.carbon index 99a444977a55..ac7f710c8091 100644 --- a/toolchain/check/testdata/struct/fail_value_as_type.carbon +++ b/toolchain/check/testdata/struct/fail_value_as_type.carbon @@ -27,8 +27,8 @@ var x: {.a = 1}; // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct: %struct_type.a = struct_value (%int_1) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -37,7 +37,7 @@ var x: {.a = 1}; // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { diff --git a/toolchain/check/testdata/struct/import.carbon b/toolchain/check/testdata/struct/import.carbon index 6c9a23189b8d..5d005b5f8f46 100644 --- a/toolchain/check/testdata/struct/import.carbon +++ b/toolchain/check/testdata/struct/import.carbon @@ -84,87 +84,87 @@ fn F() -> {.x: i32} { // CHECK:STDOUT: constants { // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.b90: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.061: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.b90 = struct_value () [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.867: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.c67: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.867 = struct_value () [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.a: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.9cd: type = pattern_type %struct_type.a [concrete] -// CHECK:STDOUT: %.c8c: ref %i32 = struct_access imports.%a_ref.var, element0 [concrete] +// CHECK:STDOUT: %pattern_type.afb: type = pattern_type %struct_type.a [concrete] +// CHECK:STDOUT: %.546: ref %i32 = struct_access imports.%a_ref.var, element0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.c59: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.fb0: %Int.as.Copy.impl.Op.type.c59 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.c36: = impl_witness imports.%Copy.impl_witness_table.03a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.e20: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.123: %Int.as.Copy.impl.Op.type.e20 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.c36) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.56d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.cf6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.56d, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.123, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.947: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.c83: %Int.as.Copy.impl.Op.type.947 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.7e7: = impl_witness imports.%Copy.impl_witness_table.53f, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.c58: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.59c: %Int.as.Copy.impl.Op.type.c58 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.7e7) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.fae: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.b11: type = fn_type_with_self_type %Copy.WithSelf.Op.type.fae, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.59c, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] -// CHECK:STDOUT: %tuple.b71: %tuple.type.85c = tuple_value (%i32) [concrete] -// CHECK:STDOUT: %tuple.type.597: type = tuple_type (%i32) [concrete] -// CHECK:STDOUT: %struct_type.b.c: type = struct_type {.b: %i32, .c: %tuple.type.597} [concrete] -// CHECK:STDOUT: %struct_type.a.d.8ef: type = struct_type {.a: %struct_type.b.c, .d: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.e99: type = pattern_type %struct_type.a.d.8ef [concrete] -// CHECK:STDOUT: %.7d0: ref %struct_type.b.c = struct_access imports.%b_ref.var, element0 [concrete] -// CHECK:STDOUT: %.280: ref %struct_type.b.c = struct_access file.%b.var, element0 [concrete] -// CHECK:STDOUT: %.1f0: ref %i32 = struct_access %.7d0, element0 [concrete] -// CHECK:STDOUT: %.4e1: ref %i32 = struct_access %.280, element0 [concrete] -// CHECK:STDOUT: %.66b: ref %tuple.type.597 = struct_access %.7d0, element1 [concrete] -// CHECK:STDOUT: %.181: ref %tuple.type.597 = struct_access %.280, element1 [concrete] -// CHECK:STDOUT: %tuple.elem0.e1d: ref %i32 = tuple_access %.66b, element0 [concrete] -// CHECK:STDOUT: %.406: ref %i32 = struct_access imports.%b_ref.var, element1 [concrete] -// CHECK:STDOUT: %.4f5: ref %i32 = struct_access file.%b.var, element1 [concrete] +// CHECK:STDOUT: %tuple.ef7: %tuple.type.85c = tuple_value (%i32) [concrete] +// CHECK:STDOUT: %tuple.type.e3c: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %struct_type.b.c: type = struct_type {.b: %i32, .c: %tuple.type.e3c} [concrete] +// CHECK:STDOUT: %struct_type.a.d.fc7: type = struct_type {.a: %struct_type.b.c, .d: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.451: type = pattern_type %struct_type.a.d.fc7 [concrete] +// CHECK:STDOUT: %.deb: ref %struct_type.b.c = struct_access imports.%b_ref.var, element0 [concrete] +// CHECK:STDOUT: %.605: ref %struct_type.b.c = struct_access file.%b.var, element0 [concrete] +// CHECK:STDOUT: %.3af: ref %i32 = struct_access %.deb, element0 [concrete] +// CHECK:STDOUT: %.e08: ref %i32 = struct_access %.605, element0 [concrete] +// CHECK:STDOUT: %.7f8: ref %tuple.type.e3c = struct_access %.deb, element1 [concrete] +// CHECK:STDOUT: %.df1: ref %tuple.type.e3c = struct_access %.605, element1 [concrete] +// CHECK:STDOUT: %tuple.elem0.11b: ref %i32 = tuple_access %.7f8, element0 [concrete] +// CHECK:STDOUT: %.fef: ref %i32 = struct_access imports.%b_ref.var, element1 [concrete] +// CHECK:STDOUT: %.114: ref %i32 = struct_access file.%b.var, element1 [concrete] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.a.b.d52: type = struct_type {.a: %i32, .b: %i32} [concrete] +// CHECK:STDOUT: %struct_type.a.b.151: type = struct_type {.a: %i32, .b: %i32} [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.4aa: %struct_type.a.b.cfd = struct_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.73f: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.9a1: = impl_witness imports.%ImplicitAs.impl_witness_table.097, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.972: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.536: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.972 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.73f = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.9a1) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.a60: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.fbd: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.a60, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.483: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.536 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.536, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.6cf: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.50a: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.9b3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.536 [concrete] -// CHECK:STDOUT: %bound_method.aad: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.21f: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %struct.e29: %struct_type.a.b.d52 = struct_value (%int_1.50a, %int_2.21f) [concrete] -// CHECK:STDOUT: %C.8db: type = class_type @C, @C(%struct.e29) [concrete] -// CHECK:STDOUT: %pattern_type.cfa: type = pattern_type %C.8db [concrete] +// CHECK:STDOUT: %ImplicitAs.type.e71: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3bc: = impl_witness imports.%ImplicitAs.impl_witness_table.6a8, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.777: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.777 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.e71 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3bc) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b69: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.7e8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b69, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.927: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.ff1: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.6b0: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.72f: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2 [concrete] +// CHECK:STDOUT: %bound_method.c30: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.c3d: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %struct.28e: %struct_type.a.b.151 = struct_value (%int_1.6b0, %int_2.c3d) [concrete] +// CHECK:STDOUT: %C.5dc: type = class_type @C, @C(%struct.28e) [concrete] +// CHECK:STDOUT: %pattern_type.e09: type = pattern_type %C.5dc [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Implicit.a_ref: ref %struct_type.a = import_ref Implicit//default, a_ref, loaded [concrete = %a_ref.var] -// CHECK:STDOUT: %Implicit.b_ref: ref %struct_type.a.d.8ef = import_ref Implicit//default, b_ref, loaded [concrete = %b_ref.var] +// CHECK:STDOUT: %Implicit.b_ref: ref %struct_type.a.d.fc7 = import_ref Implicit//default, b_ref, loaded [concrete = %b_ref.var] // CHECK:STDOUT: %Implicit.C: %C.type = import_ref Implicit//default, C, loaded [concrete = constants.%C.generic] // CHECK:STDOUT: %Implicit.F: %F.type = import_ref Implicit//default, F, loaded [concrete = constants.%F] -// CHECK:STDOUT: %Implicit.import_ref.85c: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.b90) = import_ref Implicit//default, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.061)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.097 = impl_witness_table (%Implicit.import_ref.85c), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %a_ref.patt: %pattern_type.9cd = ref_binding_pattern a_ref [concrete] -// CHECK:STDOUT: %a_ref.var_patt: %pattern_type.9cd = var_pattern %a_ref.patt [concrete] +// CHECK:STDOUT: %Implicit.import_ref.b8a: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.867) = import_ref Implicit//default, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.c67)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.6a8 = impl_witness_table (%Implicit.import_ref.b8a), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %a_ref.patt: %pattern_type.afb = ref_binding_pattern a_ref [concrete] +// CHECK:STDOUT: %a_ref.var_patt: %pattern_type.afb = var_pattern %a_ref.patt [concrete] // CHECK:STDOUT: %a_ref.var: ref %struct_type.a = var %a_ref.var_patt [concrete] -// CHECK:STDOUT: %Core.import_ref.8e5: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.c59) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.fb0)] -// CHECK:STDOUT: %Copy.impl_witness_table.03a = impl_witness_table (%Core.import_ref.8e5), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %b_ref.patt: %pattern_type.e99 = ref_binding_pattern b_ref [concrete] -// CHECK:STDOUT: %b_ref.var_patt: %pattern_type.e99 = var_pattern %b_ref.patt [concrete] -// CHECK:STDOUT: %b_ref.var: ref %struct_type.a.d.8ef = var %b_ref.var_patt [concrete] +// CHECK:STDOUT: %Core.import_ref.3f2: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.947) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c83)] +// CHECK:STDOUT: %Copy.impl_witness_table.53f = impl_witness_table (%Core.import_ref.3f2), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %b_ref.patt: %pattern_type.451 = ref_binding_pattern b_ref [concrete] +// CHECK:STDOUT: %b_ref.var_patt: %pattern_type.451 = var_pattern %b_ref.patt [concrete] +// CHECK:STDOUT: %b_ref.var: ref %struct_type.a.d.fc7 = var %b_ref.var_patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.9cd = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.9cd = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.afb = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.afb = var_pattern %a.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %a.var: ref %struct_type.a = var %a.var_patt [concrete] // CHECK:STDOUT: %.loc5: type = splice_block %struct_type.a [concrete = constants.%struct_type.a] { @@ -173,57 +173,57 @@ fn F() -> {.x: i32} { // CHECK:STDOUT: } // CHECK:STDOUT: %a: ref %struct_type.a = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.e99 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.e99 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.451 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.451 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %b.var: ref %struct_type.a.d.8ef = var %b.var_patt [concrete] -// CHECK:STDOUT: %.loc6_43: type = splice_block %struct_type.a.d [concrete = constants.%struct_type.a.d.8ef] { +// CHECK:STDOUT: %b.var: ref %struct_type.a.d.fc7 = var %b.var_patt [concrete] +// CHECK:STDOUT: %.loc6_43: type = splice_block %struct_type.a.d [concrete = constants.%struct_type.a.d.fc7] { // CHECK:STDOUT: %i32.loc6_18: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc6_28: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6_32.1: %tuple.type.85c = tuple_literal (%i32.loc6_28) [concrete = constants.%tuple.b71] -// CHECK:STDOUT: %.loc6_32.2: type = converted %.loc6_32.1, constants.%tuple.type.597 [concrete = constants.%tuple.type.597] -// CHECK:STDOUT: %struct_type.b.c: type = struct_type {.b: %i32, .c: %tuple.type.597} [concrete = constants.%struct_type.b.c] +// CHECK:STDOUT: %.loc6_32.1: %tuple.type.85c = tuple_literal (%i32.loc6_28) [concrete = constants.%tuple.ef7] +// CHECK:STDOUT: %.loc6_32.2: type = converted %.loc6_32.1, constants.%tuple.type.e3c [concrete = constants.%tuple.type.e3c] +// CHECK:STDOUT: %struct_type.b.c: type = struct_type {.b: %i32, .c: %tuple.type.e3c} [concrete = constants.%struct_type.b.c] // CHECK:STDOUT: %i32.loc6_40: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.d: type = struct_type {.a: %struct_type.b.c, .d: %i32} [concrete = constants.%struct_type.a.d.8ef] +// CHECK:STDOUT: %struct_type.a.d: type = struct_type {.a: %struct_type.b.c, .d: %i32} [concrete = constants.%struct_type.a.d.fc7] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: ref %struct_type.a.d.8ef = ref_binding b, %b.var [concrete = %b.var] +// CHECK:STDOUT: %b: ref %struct_type.a.d.fc7 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.cfa = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.cfa = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.e09 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.e09 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %c.var: ref %C.8db = var %c.var_patt [concrete] -// CHECK:STDOUT: %.loc7_26.1: type = splice_block %C [concrete = constants.%C.8db] { +// CHECK:STDOUT: %c.var: ref %C.5dc = var %c.var_patt [concrete] +// CHECK:STDOUT: %.loc7_26.1: type = splice_block %C [concrete = constants.%C.5dc] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Implicit.C [concrete = constants.%C.generic] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc7_25.1: %struct_type.a.b.cfd = struct_literal (%int_1, %int_2) [concrete = constants.%struct.4aa] -// CHECK:STDOUT: %impl.elem0.loc7_25.1: %.fbd = impl_witness_access constants.%ImplicitAs.impl_witness.9a1, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.536] -// CHECK:STDOUT: %bound_method.loc7_25.1: = bound_method %int_1, %impl.elem0.loc7_25.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.483] +// CHECK:STDOUT: %impl.elem0.loc7_25.1: %.7e8 = impl_witness_access constants.%ImplicitAs.impl_witness.3bc, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2] +// CHECK:STDOUT: %bound_method.loc7_25.1: = bound_method %int_1, %impl.elem0.loc7_25.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.927] // CHECK:STDOUT: %specific_fn.loc7_25.1: = specific_function %impl.elem0.loc7_25.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_25.2: = bound_method %int_1, %specific_fn.loc7_25.1 [concrete = constants.%bound_method.6cf] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_25.1: init %i32 = call %bound_method.loc7_25.2(%int_1) [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc7_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_25.1 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc7_25.3: %i32 = converted %int_1, %.loc7_25.2 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %impl.elem0.loc7_25.2: %.fbd = impl_witness_access constants.%ImplicitAs.impl_witness.9a1, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.536] -// CHECK:STDOUT: %bound_method.loc7_25.3: = bound_method %int_2, %impl.elem0.loc7_25.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.9b3] +// CHECK:STDOUT: %bound_method.loc7_25.2: = bound_method %int_1, %specific_fn.loc7_25.1 [concrete = constants.%bound_method.ff1] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_25.1: init %i32 = call %bound_method.loc7_25.2(%int_1) [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc7_25.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_25.1 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc7_25.3: %i32 = converted %int_1, %.loc7_25.2 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %impl.elem0.loc7_25.2: %.7e8 = impl_witness_access constants.%ImplicitAs.impl_witness.3bc, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2] +// CHECK:STDOUT: %bound_method.loc7_25.3: = bound_method %int_2, %impl.elem0.loc7_25.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.72f] // CHECK:STDOUT: %specific_fn.loc7_25.2: = specific_function %impl.elem0.loc7_25.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_25.4: = bound_method %int_2, %specific_fn.loc7_25.2 [concrete = constants.%bound_method.aad] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_25.2: init %i32 = call %bound_method.loc7_25.4(%int_2) [concrete = constants.%int_2.21f] -// CHECK:STDOUT: %.loc7_25.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_25.2 [concrete = constants.%int_2.21f] -// CHECK:STDOUT: %.loc7_25.5: %i32 = converted %int_2, %.loc7_25.4 [concrete = constants.%int_2.21f] -// CHECK:STDOUT: %struct: %struct_type.a.b.d52 = struct_value (%.loc7_25.3, %.loc7_25.5) [concrete = constants.%struct.e29] -// CHECK:STDOUT: %.loc7_26.2: %struct_type.a.b.d52 = converted %.loc7_25.1, %struct [concrete = constants.%struct.e29] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%struct.e29) [concrete = constants.%C.8db] +// CHECK:STDOUT: %bound_method.loc7_25.4: = bound_method %int_2, %specific_fn.loc7_25.2 [concrete = constants.%bound_method.c30] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_25.2: init %i32 = call %bound_method.loc7_25.4(%int_2) [concrete = constants.%int_2.c3d] +// CHECK:STDOUT: %.loc7_25.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_25.2 [concrete = constants.%int_2.c3d] +// CHECK:STDOUT: %.loc7_25.5: %i32 = converted %int_2, %.loc7_25.4 [concrete = constants.%int_2.c3d] +// CHECK:STDOUT: %struct: %struct_type.a.b.151 = struct_value (%.loc7_25.3, %.loc7_25.5) [concrete = constants.%struct.28e] +// CHECK:STDOUT: %.loc7_26.2: %struct_type.a.b.151 = converted %.loc7_25.1, %struct [concrete = constants.%struct.28e] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%struct.28e) [concrete = constants.%C.5dc] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: ref %C.8db = ref_binding c, %c.var [concrete = %c.var] +// CHECK:STDOUT: %c: ref %C.5dc = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %a_ref.ref: ref %struct_type.a = name_ref a_ref, imports.%Implicit.a_ref [concrete = imports.%a_ref.var] -// CHECK:STDOUT: %.loc5_20.1: ref %i32 = struct_access %a_ref.ref, element0 [concrete = constants.%.c8c] +// CHECK:STDOUT: %.loc5_20.1: ref %i32 = struct_access %a_ref.ref, element0 [concrete = constants.%.546] // CHECK:STDOUT: %.loc5_20.2: %i32 = acquire_value %.loc5_20.1 -// CHECK:STDOUT: %impl.elem0.loc5: %.cf6 = impl_witness_access constants.%Copy.impl_witness.c36, element0 [concrete = constants.%Int.as.Copy.impl.Op.123] +// CHECK:STDOUT: %impl.elem0.loc5: %.b11 = impl_witness_access constants.%Copy.impl_witness.7e7, element0 [concrete = constants.%Int.as.Copy.impl.Op.59c] // CHECK:STDOUT: %bound_method.loc5_20.1: = bound_method %.loc5_20.2, %impl.elem0.loc5 // CHECK:STDOUT: %specific_fn.loc5: = specific_function %impl.elem0.loc5, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc5_20.2: = bound_method %.loc5_20.2, %specific_fn.loc5 @@ -231,47 +231,47 @@ fn F() -> {.x: i32} { // CHECK:STDOUT: %.loc5_20.3: init %struct_type.a to file.%a.var = struct_init (%Int.as.Copy.impl.Op.call.loc5) // CHECK:STDOUT: %.loc5_1: init %struct_type.a = converted %a_ref.ref, %.loc5_20.3 // CHECK:STDOUT: assign file.%a.var, %.loc5_1 -// CHECK:STDOUT: %b_ref.ref: ref %struct_type.a.d.8ef = name_ref b_ref, imports.%Implicit.b_ref [concrete = imports.%b_ref.var] -// CHECK:STDOUT: %.loc6_47.1: ref %struct_type.b.c = struct_access %b_ref.ref, element0 [concrete = constants.%.7d0] -// CHECK:STDOUT: %.loc6_47.2: ref %i32 = struct_access %.loc6_47.1, element0 [concrete = constants.%.1f0] +// CHECK:STDOUT: %b_ref.ref: ref %struct_type.a.d.fc7 = name_ref b_ref, imports.%Implicit.b_ref [concrete = imports.%b_ref.var] +// CHECK:STDOUT: %.loc6_47.1: ref %struct_type.b.c = struct_access %b_ref.ref, element0 [concrete = constants.%.deb] +// CHECK:STDOUT: %.loc6_47.2: ref %i32 = struct_access %.loc6_47.1, element0 [concrete = constants.%.3af] // CHECK:STDOUT: %.loc6_47.3: %i32 = acquire_value %.loc6_47.2 -// CHECK:STDOUT: %impl.elem0.loc6_47.1: %.cf6 = impl_witness_access constants.%Copy.impl_witness.c36, element0 [concrete = constants.%Int.as.Copy.impl.Op.123] +// CHECK:STDOUT: %impl.elem0.loc6_47.1: %.b11 = impl_witness_access constants.%Copy.impl_witness.7e7, element0 [concrete = constants.%Int.as.Copy.impl.Op.59c] // CHECK:STDOUT: %bound_method.loc6_47.1: = bound_method %.loc6_47.3, %impl.elem0.loc6_47.1 // CHECK:STDOUT: %specific_fn.loc6_47.1: = specific_function %impl.elem0.loc6_47.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_47.2: = bound_method %.loc6_47.3, %specific_fn.loc6_47.1 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_47.1: init %i32 = call %bound_method.loc6_47.2(%.loc6_47.3) -// CHECK:STDOUT: %.loc6_47.4: ref %struct_type.b.c = struct_access file.%b.var, element0 [concrete = constants.%.280] -// CHECK:STDOUT: %.loc6_47.5: ref %i32 = struct_access %.loc6_47.4, element0 [concrete = constants.%.4e1] +// CHECK:STDOUT: %.loc6_47.4: ref %struct_type.b.c = struct_access file.%b.var, element0 [concrete = constants.%.605] +// CHECK:STDOUT: %.loc6_47.5: ref %i32 = struct_access %.loc6_47.4, element0 [concrete = constants.%.e08] // CHECK:STDOUT: %.loc6_47.6: init %i32 to %.loc6_47.5 = in_place_init %Int.as.Copy.impl.Op.call.loc6_47.1 -// CHECK:STDOUT: %.loc6_47.7: ref %tuple.type.597 = struct_access %.loc6_47.1, element1 [concrete = constants.%.66b] -// CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %.loc6_47.7, element0 [concrete = constants.%tuple.elem0.e1d] +// CHECK:STDOUT: %.loc6_47.7: ref %tuple.type.e3c = struct_access %.loc6_47.1, element1 [concrete = constants.%.7f8] +// CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %.loc6_47.7, element0 [concrete = constants.%tuple.elem0.11b] // CHECK:STDOUT: %.loc6_47.8: %i32 = acquire_value %tuple.elem0 -// CHECK:STDOUT: %impl.elem0.loc6_47.2: %.cf6 = impl_witness_access constants.%Copy.impl_witness.c36, element0 [concrete = constants.%Int.as.Copy.impl.Op.123] +// CHECK:STDOUT: %impl.elem0.loc6_47.2: %.b11 = impl_witness_access constants.%Copy.impl_witness.7e7, element0 [concrete = constants.%Int.as.Copy.impl.Op.59c] // CHECK:STDOUT: %bound_method.loc6_47.3: = bound_method %.loc6_47.8, %impl.elem0.loc6_47.2 // CHECK:STDOUT: %specific_fn.loc6_47.2: = specific_function %impl.elem0.loc6_47.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_47.4: = bound_method %.loc6_47.8, %specific_fn.loc6_47.2 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_47.2: init %i32 = call %bound_method.loc6_47.4(%.loc6_47.8) -// CHECK:STDOUT: %.loc6_47.9: ref %tuple.type.597 = struct_access %.loc6_47.4, element1 [concrete = constants.%.181] -// CHECK:STDOUT: %.loc6_47.10: init %tuple.type.597 to %.loc6_47.9 = tuple_init (%Int.as.Copy.impl.Op.call.loc6_47.2) -// CHECK:STDOUT: %.loc6_47.11: init %tuple.type.597 = converted %.loc6_47.7, %.loc6_47.10 -// CHECK:STDOUT: %.loc6_47.12: init %tuple.type.597 to %.loc6_47.9 = in_place_init %.loc6_47.11 +// CHECK:STDOUT: %.loc6_47.9: ref %tuple.type.e3c = struct_access %.loc6_47.4, element1 [concrete = constants.%.df1] +// CHECK:STDOUT: %.loc6_47.10: init %tuple.type.e3c to %.loc6_47.9 = tuple_init (%Int.as.Copy.impl.Op.call.loc6_47.2) +// CHECK:STDOUT: %.loc6_47.11: init %tuple.type.e3c = converted %.loc6_47.7, %.loc6_47.10 +// CHECK:STDOUT: %.loc6_47.12: init %tuple.type.e3c to %.loc6_47.9 = in_place_init %.loc6_47.11 // CHECK:STDOUT: %.loc6_47.13: init %struct_type.b.c to %.loc6_47.4 = struct_init (%.loc6_47.6, %.loc6_47.12) // CHECK:STDOUT: %.loc6_47.14: init %struct_type.b.c = converted %.loc6_47.1, %.loc6_47.13 -// CHECK:STDOUT: %.loc6_47.15: ref %i32 = struct_access %b_ref.ref, element1 [concrete = constants.%.406] +// CHECK:STDOUT: %.loc6_47.15: ref %i32 = struct_access %b_ref.ref, element1 [concrete = constants.%.fef] // CHECK:STDOUT: %.loc6_47.16: %i32 = acquire_value %.loc6_47.15 -// CHECK:STDOUT: %impl.elem0.loc6_47.3: %.cf6 = impl_witness_access constants.%Copy.impl_witness.c36, element0 [concrete = constants.%Int.as.Copy.impl.Op.123] +// CHECK:STDOUT: %impl.elem0.loc6_47.3: %.b11 = impl_witness_access constants.%Copy.impl_witness.7e7, element0 [concrete = constants.%Int.as.Copy.impl.Op.59c] // CHECK:STDOUT: %bound_method.loc6_47.5: = bound_method %.loc6_47.16, %impl.elem0.loc6_47.3 // CHECK:STDOUT: %specific_fn.loc6_47.3: = specific_function %impl.elem0.loc6_47.3, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_47.6: = bound_method %.loc6_47.16, %specific_fn.loc6_47.3 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_47.3: init %i32 = call %bound_method.loc6_47.6(%.loc6_47.16) -// CHECK:STDOUT: %.loc6_47.17: ref %i32 = struct_access file.%b.var, element1 [concrete = constants.%.4f5] +// CHECK:STDOUT: %.loc6_47.17: ref %i32 = struct_access file.%b.var, element1 [concrete = constants.%.114] // CHECK:STDOUT: %.loc6_47.18: init %i32 to %.loc6_47.17 = in_place_init %Int.as.Copy.impl.Op.call.loc6_47.3 -// CHECK:STDOUT: %.loc6_47.19: init %struct_type.a.d.8ef to file.%b.var = struct_init (%.loc6_47.14, %.loc6_47.18) -// CHECK:STDOUT: %.loc6_1: init %struct_type.a.d.8ef = converted %b_ref.ref, %.loc6_47.19 +// CHECK:STDOUT: %.loc6_47.19: init %struct_type.a.d.fc7 to file.%b.var = struct_init (%.loc6_47.14, %.loc6_47.18) +// CHECK:STDOUT: %.loc6_1: init %struct_type.a.d.fc7 = converted %b_ref.ref, %.loc6_47.19 // CHECK:STDOUT: assign file.%b.var, %.loc6_1 // CHECK:STDOUT: %F.ref: %F.type = name_ref F, imports.%Implicit.F [concrete = constants.%F] -// CHECK:STDOUT: %.loc7: ref %C.8db = splice_block file.%c.var [concrete = file.%c.var] {} -// CHECK:STDOUT: %F.call: init %C.8db to %.loc7 = call %F.ref() +// CHECK:STDOUT: %.loc7: ref %C.5dc = splice_block file.%c.var [concrete = file.%c.var] {} +// CHECK:STDOUT: %F.call: init %C.5dc to %.loc7 = call %F.ref() // CHECK:STDOUT: assign file.%c.var, %F.call // CHECK:STDOUT: // CHECK:STDOUT: } @@ -290,31 +290,31 @@ fn F() -> {.x: i32} { // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.e5e: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.fdd [concrete] +// CHECK:STDOUT: %assoc0.a8b: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.1ca [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1, %Int.as.Copy.impl.Op.c4a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1, %Int.as.Copy.impl.Op.ce7 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1, %Int.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//symbolic_decl, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.C: type = import_ref Main//symbolic_decl, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.4bf: %I.assoc_type = import_ref Main//symbolic_decl, loc5_12, loaded [concrete = constants.%assoc0.e5e] -// CHECK:STDOUT: %Main.import_ref.f62: %struct_type.x = import_ref Main//symbolic_decl, loc10_37, loaded [concrete = constants.%struct] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.f62), @C.as.I.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.fdd: %struct_type.x = import_ref Main//symbolic_decl, loc5_12, loaded [concrete = %value] +// CHECK:STDOUT: %Main.import_ref.7f5: %I.assoc_type = import_ref Main//symbolic_decl, loc5_12, loaded [concrete = constants.%assoc0.a8b] +// CHECK:STDOUT: %Main.import_ref.9d6: %struct_type.x = import_ref Main//symbolic_decl, loc10_37, loaded [concrete = constants.%struct] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.9d6), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.1ca: %struct_type.x = import_ref Main//symbolic_decl, loc5_12, loaded [concrete = %value] // CHECK:STDOUT: %value: %struct_type.x = assoc_const_decl @value [concrete] {} -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: %struct_type.x { @@ -325,10 +325,10 @@ fn F() -> {.x: i32} { // CHECK:STDOUT: %.loc7_13: %I.type = converted %C.ref, %I.facet [concrete = constants.%I.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_13 [concrete = constants.%C] // CHECK:STDOUT: %.loc7_18.1: type = converted %.loc7_13, %as_type [concrete = constants.%C] -// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.4bf [concrete = constants.%assoc0.e5e] +// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.7f5 [concrete = constants.%assoc0.a8b] // CHECK:STDOUT: %impl.elem0.loc7_18.1: %struct_type.x = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%struct] // CHECK:STDOUT: %.loc7_18.2: %i32 = struct_access %impl.elem0.loc7_18.1, element0 [concrete = constants.%int_1] -// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc7_18.1: = bound_method %.loc7_18.2, %impl.elem0.loc7_18.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc7_18.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc7_18.2: = bound_method %.loc7_18.2, %specific_fn [concrete = constants.%bound_method] diff --git a/toolchain/check/testdata/struct/literal_member_access.carbon b/toolchain/check/testdata/struct/literal_member_access.carbon index b499f9f4f845..0a9b3f0d1847 100644 --- a/toolchain/check/testdata/struct/literal_member_access.carbon +++ b/toolchain/check/testdata/struct/literal_member_access.carbon @@ -28,31 +28,31 @@ fn F() -> i32 { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %struct_type.x.y.z: type = struct_type {.x: %i32, .y: %i32, .z: %i32} [concrete] -// CHECK:STDOUT: %.92d: Core.Form = init_form %struct_type.x.y.z [concrete] -// CHECK:STDOUT: %pattern_type.b79: type = pattern_type %struct_type.x.y.z [concrete] +// CHECK:STDOUT: %.fb8: Core.Form = init_form %struct_type.x.y.z [concrete] +// CHECK:STDOUT: %pattern_type.19f: type = pattern_type %struct_type.x.y.z [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete] -// CHECK:STDOUT: %struct_type.a.b.c.f0e: type = struct_type {.a: Core.IntLiteral, .b: %struct_type.x.y.z, .c: Core.IntLiteral} [concrete] +// CHECK:STDOUT: %struct_type.a.b.c.d0e: type = struct_type {.a: Core.IntLiteral, .b: %struct_type.x.y.z, .c: Core.IntLiteral} [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc18_26.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc18_26.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -65,8 +65,8 @@ fn F() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -78,23 +78,23 @@ fn F() -> i32 { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.b79 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.b79 = return_slot_pattern %return.param_patt, %struct_type.x.y.z [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.19f = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.19f = return_slot_pattern %return.param_patt, %struct_type.x.y.z [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15_16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc15_25: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc15_34: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %struct_type.x.y.z: type = struct_type {.x: %i32, .y: %i32, .z: %i32} [concrete = constants.%struct_type.x.y.z] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %struct_type.x.y.z [concrete = constants.%.92d] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %struct_type.x.y.z [concrete = constants.%.fb8] // CHECK:STDOUT: %return.param: ref %struct_type.x.y.z = out_param call_param0 // CHECK:STDOUT: %return: ref %struct_type.x.y.z = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc17: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc17: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } @@ -109,7 +109,7 @@ fn F() -> i32 { // CHECK:STDOUT: %.loc18_26.1: ref %struct_type.x.y.z = temporary_storage // CHECK:STDOUT: %G.call: init %struct_type.x.y.z to %.loc18_26.1 = call %G.ref() // CHECK:STDOUT: %int_3: Core.IntLiteral = int_value 3 [concrete = constants.%int_3] -// CHECK:STDOUT: %.loc18_35.1: %struct_type.a.b.c.f0e = struct_literal (%int_1, %G.call, %int_3) +// CHECK:STDOUT: %.loc18_35.1: %struct_type.a.b.c.d0e = struct_literal (%int_1, %G.call, %int_3) // CHECK:STDOUT: %.loc18_26.2: ref %struct_type.x.y.z = temporary %.loc18_26.1, %G.call // CHECK:STDOUT: %.loc18_26.3: ref %i32 = struct_access %.loc18_26.2, element0 // CHECK:STDOUT: %.loc18_26.4: %i32 = acquire_value %.loc18_26.3 @@ -119,16 +119,16 @@ fn F() -> i32 { // CHECK:STDOUT: %.loc18_26.8: %i32 = acquire_value %.loc18_26.7 // CHECK:STDOUT: %struct.loc18_26: %struct_type.x.y.z = struct_value (%.loc18_26.4, %.loc18_26.6, %.loc18_26.8) // CHECK:STDOUT: %.loc18_35.2: %struct_type.x.y.z = converted %G.call, %struct.loc18_26 -// CHECK:STDOUT: %struct.loc18_35: %struct_type.a.b.c.f0e = struct_value (%int_1, %.loc18_35.2, %int_3) -// CHECK:STDOUT: %.loc18_35.3: %struct_type.a.b.c.f0e = converted %.loc18_35.1, %struct.loc18_35 +// CHECK:STDOUT: %struct.loc18_35: %struct_type.a.b.c.d0e = struct_value (%int_1, %.loc18_35.2, %int_3) +// CHECK:STDOUT: %.loc18_35.3: %struct_type.a.b.c.d0e = converted %.loc18_35.1, %struct.loc18_35 // CHECK:STDOUT: %.loc18_36: %struct_type.x.y.z = struct_access %.loc18_35.3, element1 // CHECK:STDOUT: %.loc18_38: %i32 = struct_access %.loc18_36, element1 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc18_38.1: = bound_method %.loc18_38, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc18_38.2: = bound_method %.loc18_38, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc18_38.2(%.loc18_38) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc18_26.2, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc18_26.2, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc18_26.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/struct/member_access.carbon b/toolchain/check/testdata/struct/member_access.carbon index 6606cf95a5ba..027b3d7c438a 100644 --- a/toolchain/check/testdata/struct/member_access.carbon +++ b/toolchain/check/testdata/struct/member_access.carbon @@ -23,60 +23,60 @@ var z: i32 = y; // CHECK:STDOUT: %Float.type: type = generic_class_type @Float [concrete] // CHECK:STDOUT: %Float.generic: %Float.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %Int.type: type = generic_class_type @Int [concrete] // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %struct_type.a.b.cd2: type = struct_type {.a: %f64.9a0, .b: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.93b: type = pattern_type %struct_type.a.b.cd2 [concrete] +// CHECK:STDOUT: %struct_type.a.b.95f: type = struct_type {.a: %f64.b55, .b: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.ef1: type = pattern_type %struct_type.a.b.95f [concrete] // CHECK:STDOUT: %float.1f7: Core.FloatLiteral = float_literal_value 0e-1 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.a.b.0cc: type = struct_type {.a: Core.FloatLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.877: %struct_type.a.b.0cc = struct_value (%float.1f7, %int_1.5b8) [concrete] -// CHECK:STDOUT: %.cd2: ref %f64.9a0 = struct_access file.%x.var, element0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.731: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.9a0)> [concrete] +// CHECK:STDOUT: %.fbd: ref %f64.b55 = struct_access file.%x.var, element0 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.857: type = facet_type <@ImplicitAs, @ImplicitAs(%f64.b55)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.26a: = impl_witness imports.%ImplicitAs.impl_witness_table.a6f, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.ae6 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.4e7: %ImplicitAs.type.731 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.26a) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.ed2: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.9a0, %ImplicitAs.facet.4e7) [concrete] -// CHECK:STDOUT: %.2f4: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.ed2, %ImplicitAs.facet.4e7 [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b [concrete] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] -// CHECK:STDOUT: %bound_method.c0d: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %float.2a6: %f64.9a0 = float_value 0 [concrete] -// CHECK:STDOUT: %.f6d: ref %i32 = struct_access file.%x.var, element1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.e78: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.e78) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet.e78 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %struct.084: %struct_type.a.b.cd2 = struct_value (%float.2a6, %int_1.d5e) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.539: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.83f: = impl_witness imports.%ImplicitAs.impl_witness_table.234, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5: type = fn_type @Core.FloatLiteral.as.ImplicitAs.impl.Convert, @Core.FloatLiteral.as.ImplicitAs.impl(%int_64) [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5c5 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.e52: %ImplicitAs.type.857 = facet_value Core.FloatLiteral, (%ImplicitAs.impl_witness.83f) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.096: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%f64.b55, %ImplicitAs.facet.e52) [concrete] +// CHECK:STDOUT: %.119: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.096, %ImplicitAs.facet.e52 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881 [concrete] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.FloatLiteral.as.ImplicitAs.impl.Convert.881, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(%int_64) [concrete] +// CHECK:STDOUT: %bound_method.a29: = bound_method %float.1f7, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %float.1af: %f64.b55 = float_value 0 [concrete] +// CHECK:STDOUT: %.2b7: ref %i32 = struct_access file.%x.var, element1 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.840: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet.840) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet.840 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %struct.4b2: %struct_type.a.b.95f = struct_value (%float.1af, %int_1.d9c) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -90,14 +90,14 @@ var z: i32 = y; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Float: %Float.type = import_ref Core//prelude/parts/float, Float, loaded [concrete = constants.%Float.generic] // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.9a6: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.98a) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.e38)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.a6f = impl_witness_table (%Core.import_ref.9a6), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.63c: @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type (%Core.FloatLiteral.as.ImplicitAs.impl.Convert.type.5e6) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Core.FloatLiteral.as.ImplicitAs.impl.%Core.FloatLiteral.as.ImplicitAs.impl.Convert (constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.539)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.234 = impl_witness_table (%Core.import_ref.63c), @Core.FloatLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -109,26 +109,26 @@ var z: i32 = y; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.93b = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.93b = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.ef1 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.ef1 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %x.var: ref %struct_type.a.b.cd2 = var %x.var_patt [concrete] -// CHECK:STDOUT: %.loc15: type = splice_block %struct_type.a.b [concrete = constants.%struct_type.a.b.cd2] { -// CHECK:STDOUT: %f64: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] +// CHECK:STDOUT: %x.var: ref %struct_type.a.b.95f = var %x.var_patt [concrete] +// CHECK:STDOUT: %.loc15: type = splice_block %struct_type.a.b [concrete = constants.%struct_type.a.b.95f] { +// CHECK:STDOUT: %f64: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %f64.9a0, .b: %i32} [concrete = constants.%struct_type.a.b.cd2] +// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %f64.b55, .b: %i32} [concrete = constants.%struct_type.a.b.95f] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: ref %struct_type.a.b.cd2 = ref_binding x, %x.var [concrete = %x.var] +// CHECK:STDOUT: %x: ref %struct_type.a.b.95f = ref_binding x, %x.var [concrete = %x.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.c6b = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.c6b = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.104 = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.104 = var_pattern %y.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %y.var: ref %i32 = var %y.var_patt [concrete] // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %y: ref %i32 = ref_binding y, %y.var [concrete = %y.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %z.patt: %pattern_type.c6b = ref_binding_pattern z [concrete] -// CHECK:STDOUT: %z.var_patt: %pattern_type.c6b = var_pattern %z.patt [concrete] +// CHECK:STDOUT: %z.patt: %pattern_type.104 = ref_binding_pattern z [concrete] +// CHECK:STDOUT: %z.var_patt: %pattern_type.104 = var_pattern %z.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %z.var: ref %i32 = var %z.var_patt [concrete] // CHECK:STDOUT: %i32.loc17: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -140,29 +140,29 @@ var z: i32 = y; // CHECK:STDOUT: %float: Core.FloatLiteral = float_literal_value 0e-1 [concrete = constants.%float.1f7] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc15_46.1: %struct_type.a.b.0cc = struct_literal (%float, %int_1) [concrete = constants.%struct.877] -// CHECK:STDOUT: %impl.elem0.loc15_46.1: %.2f4 = impl_witness_access constants.%ImplicitAs.impl_witness.26a, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.07b] +// CHECK:STDOUT: %impl.elem0.loc15_46.1: %.119 = impl_witness_access constants.%ImplicitAs.impl_witness.83f, element0 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.881] // CHECK:STDOUT: %bound_method.loc15_46.1: = bound_method %float, %impl.elem0.loc15_46.1 [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc15_46.1: = specific_function %impl.elem0.loc15_46.1, @Core.FloatLiteral.as.ImplicitAs.impl.Convert(constants.%int_64) [concrete = constants.%Core.FloatLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_46.2: = bound_method %float, %specific_fn.loc15_46.1 [concrete = constants.%bound_method.c0d] -// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.9a0 = call %bound_method.loc15_46.2(%float) [concrete = constants.%float.2a6] -// CHECK:STDOUT: %.loc15_46.2: init %f64.9a0 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.2a6] -// CHECK:STDOUT: %.loc15_46.3: ref %f64.9a0 = struct_access file.%x.var, element0 [concrete = constants.%.cd2] -// CHECK:STDOUT: %.loc15_46.4: init %f64.9a0 to %.loc15_46.3 = in_place_init %.loc15_46.2 [concrete = constants.%float.2a6] -// CHECK:STDOUT: %impl.elem0.loc15_46.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %bound_method.loc15_46.2: = bound_method %float, %specific_fn.loc15_46.1 [concrete = constants.%bound_method.a29] +// CHECK:STDOUT: %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call: init %f64.b55 = call %bound_method.loc15_46.2(%float) [concrete = constants.%float.1af] +// CHECK:STDOUT: %.loc15_46.2: init %f64.b55 = converted %float, %Core.FloatLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%float.1af] +// CHECK:STDOUT: %.loc15_46.3: ref %f64.b55 = struct_access file.%x.var, element0 [concrete = constants.%.fbd] +// CHECK:STDOUT: %.loc15_46.4: init %f64.b55 to %.loc15_46.3 = in_place_init %.loc15_46.2 [concrete = constants.%float.1af] +// CHECK:STDOUT: %impl.elem0.loc15_46.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc15_46.3: = bound_method %int_1, %impl.elem0.loc15_46.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc15_46.2: = specific_function %impl.elem0.loc15_46.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_46.4: = bound_method %int_1, %specific_fn.loc15_46.2 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_46.4(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_46.5: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_46.6: ref %i32 = struct_access file.%x.var, element1 [concrete = constants.%.f6d] -// CHECK:STDOUT: %.loc15_46.7: init %i32 to %.loc15_46.6 = in_place_init %.loc15_46.5 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_46.8: init %struct_type.a.b.cd2 to file.%x.var = struct_init (%.loc15_46.4, %.loc15_46.7) [concrete = constants.%struct.084] -// CHECK:STDOUT: %.loc15_1: init %struct_type.a.b.cd2 = converted %.loc15_46.1, %.loc15_46.8 [concrete = constants.%struct.084] +// CHECK:STDOUT: %bound_method.loc15_46.4: = bound_method %int_1, %specific_fn.loc15_46.2 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_46.4(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_46.5: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_46.6: ref %i32 = struct_access file.%x.var, element1 [concrete = constants.%.2b7] +// CHECK:STDOUT: %.loc15_46.7: init %i32 to %.loc15_46.6 = in_place_init %.loc15_46.5 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_46.8: init %struct_type.a.b.95f to file.%x.var = struct_init (%.loc15_46.4, %.loc15_46.7) [concrete = constants.%struct.4b2] +// CHECK:STDOUT: %.loc15_1: init %struct_type.a.b.95f = converted %.loc15_46.1, %.loc15_46.8 [concrete = constants.%struct.4b2] // CHECK:STDOUT: assign file.%x.var, %.loc15_1 -// CHECK:STDOUT: %x.ref: ref %struct_type.a.b.cd2 = name_ref x, file.%x [concrete = file.%x.var] -// CHECK:STDOUT: %.loc16_15.1: ref %i32 = struct_access %x.ref, element1 [concrete = constants.%.f6d] +// CHECK:STDOUT: %x.ref: ref %struct_type.a.b.95f = name_ref x, file.%x [concrete = file.%x.var] +// CHECK:STDOUT: %.loc16_15.1: ref %i32 = struct_access %x.ref, element1 [concrete = constants.%.2b7] // CHECK:STDOUT: %.loc16_15.2: %i32 = acquire_value %.loc16_15.1 -// CHECK:STDOUT: %impl.elem0.loc16: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc16: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc16_15.1: = bound_method %.loc16_15.2, %impl.elem0.loc16 // CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_15.2: = bound_method %.loc16_15.2, %specific_fn.loc16 @@ -170,7 +170,7 @@ var z: i32 = y; // CHECK:STDOUT: assign file.%y.var, %Int.as.Copy.impl.Op.call.loc16 // CHECK:STDOUT: %y.ref: ref %i32 = name_ref y, file.%y [concrete = file.%y.var] // CHECK:STDOUT: %.loc17: %i32 = acquire_value %y.ref -// CHECK:STDOUT: %impl.elem0.loc17: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc17: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc17_14.1: = bound_method %.loc17, %impl.elem0.loc17 // CHECK:STDOUT: %specific_fn.loc17: = specific_function %impl.elem0.loc17, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc17_14.2: = bound_method %.loc17, %specific_fn.loc17 diff --git a/toolchain/check/testdata/struct/nested_struct_in_place.carbon b/toolchain/check/testdata/struct/nested_struct_in_place.carbon index 63274cb10b86..3366c6698543 100644 --- a/toolchain/check/testdata/struct/nested_struct_in_place.carbon +++ b/toolchain/check/testdata/struct/nested_struct_in_place.carbon @@ -28,19 +28,19 @@ fn G() { // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.ff9: type = tuple_type (type, type, type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type.ff9 = tuple_value (%i32, %i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.a64: type = tuple_type (%i32, %i32, %i32) [concrete] -// CHECK:STDOUT: %.f83: Core.Form = init_form %tuple.type.a64 [concrete] -// CHECK:STDOUT: %pattern_type.3ff: type = pattern_type %tuple.type.a64 [concrete] +// CHECK:STDOUT: %tuple.type.05f: type = tuple_type (%i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %.fd3: Core.Form = init_form %tuple.type.05f [concrete] +// CHECK:STDOUT: %pattern_type.776: type = pattern_type %tuple.type.05f [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.a.b.e2a: type = struct_type {.a: %tuple.type.a64, .b: %tuple.type.a64} [concrete] +// CHECK:STDOUT: %struct_type.a.b.120: type = struct_type {.a: %tuple.type.05f, .b: %tuple.type.05f} [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.893: type = pattern_type %struct_type.a.b.e2a [concrete] +// CHECK:STDOUT: %pattern_type.f0c: type = pattern_type %struct_type.a.b.120 [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc18_3.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc18_3.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -62,55 +62,55 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.3ff = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.3ff = return_slot_pattern %return.param_patt, %.loc15_25.2 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.776 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.776 = return_slot_pattern %return.param_patt, %.loc15_25.2 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15_12: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc15_17: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc15_22: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc15_25.1: %tuple.type.ff9 = tuple_literal (%i32.loc15_12, %i32.loc15_17, %i32.loc15_22) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc15_25.2: type = converted %.loc15_25.1, constants.%tuple.type.a64 [concrete = constants.%tuple.type.a64] -// CHECK:STDOUT: %.loc15_25.3: Core.Form = init_form %.loc15_25.2 [concrete = constants.%.f83] -// CHECK:STDOUT: %return.param: ref %tuple.type.a64 = out_param call_param0 -// CHECK:STDOUT: %return: ref %tuple.type.a64 = return_slot %return.param +// CHECK:STDOUT: %.loc15_25.2: type = converted %.loc15_25.1, constants.%tuple.type.05f [concrete = constants.%tuple.type.05f] +// CHECK:STDOUT: %.loc15_25.3: Core.Form = init_form %.loc15_25.2 [concrete = constants.%.fd3] +// CHECK:STDOUT: %return.param: ref %tuple.type.05f = out_param call_param0 +// CHECK:STDOUT: %return: ref %tuple.type.05f = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] {} {} // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F() -> out %return.param: %tuple.type.a64; +// CHECK:STDOUT: fn @F() -> out %return.param: %tuple.type.05f; // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.893 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.893 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.f0c = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.f0c = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref %struct_type.a.b.e2a = var %v.var_patt +// CHECK:STDOUT: %v.var: ref %struct_type.a.b.120 = var %v.var_patt // CHECK:STDOUT: %F.ref.loc18_68: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %.loc18_81.1: ref %tuple.type.a64 = struct_access %v.var, element0 -// CHECK:STDOUT: %F.call.loc18_70: init %tuple.type.a64 to %.loc18_81.1 = call %F.ref.loc18_68() +// CHECK:STDOUT: %.loc18_81.1: ref %tuple.type.05f = struct_access %v.var, element0 +// CHECK:STDOUT: %F.call.loc18_70: init %tuple.type.05f to %.loc18_81.1 = call %F.ref.loc18_68() // CHECK:STDOUT: %F.ref.loc18_78: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %.loc18_81.2: ref %tuple.type.a64 = struct_access %v.var, element1 -// CHECK:STDOUT: %F.call.loc18_80: init %tuple.type.a64 to %.loc18_81.2 = call %F.ref.loc18_78() -// CHECK:STDOUT: %.loc18_81.3: %struct_type.a.b.e2a = struct_literal (%F.call.loc18_70, %F.call.loc18_80) -// CHECK:STDOUT: %.loc18_81.4: init %struct_type.a.b.e2a to %v.var = struct_init (%F.call.loc18_70, %F.call.loc18_80) -// CHECK:STDOUT: %.loc18_3: init %struct_type.a.b.e2a = converted %.loc18_81.3, %.loc18_81.4 +// CHECK:STDOUT: %.loc18_81.2: ref %tuple.type.05f = struct_access %v.var, element1 +// CHECK:STDOUT: %F.call.loc18_80: init %tuple.type.05f to %.loc18_81.2 = call %F.ref.loc18_78() +// CHECK:STDOUT: %.loc18_81.3: %struct_type.a.b.120 = struct_literal (%F.call.loc18_70, %F.call.loc18_80) +// CHECK:STDOUT: %.loc18_81.4: init %struct_type.a.b.120 to %v.var = struct_init (%F.call.loc18_70, %F.call.loc18_80) +// CHECK:STDOUT: %.loc18_3: init %struct_type.a.b.120 = converted %.loc18_81.3, %.loc18_81.4 // CHECK:STDOUT: assign %v.var, %.loc18_3 -// CHECK:STDOUT: %.loc18_58: type = splice_block %struct_type.a.b [concrete = constants.%struct_type.a.b.e2a] { +// CHECK:STDOUT: %.loc18_58: type = splice_block %struct_type.a.b [concrete = constants.%struct_type.a.b.120] { // CHECK:STDOUT: %i32.loc18_23: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc18_28: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc18_33: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc18_36.1: %tuple.type.ff9 = tuple_literal (%i32.loc18_23, %i32.loc18_28, %i32.loc18_33) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc18_36.2: type = converted %.loc18_36.1, constants.%tuple.type.a64 [concrete = constants.%tuple.type.a64] +// CHECK:STDOUT: %.loc18_36.2: type = converted %.loc18_36.1, constants.%tuple.type.05f [concrete = constants.%tuple.type.05f] // CHECK:STDOUT: %i32.loc18_44: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc18_49: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc18_54: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %.loc18_57.1: %tuple.type.ff9 = tuple_literal (%i32.loc18_44, %i32.loc18_49, %i32.loc18_54) [concrete = constants.%tuple] -// CHECK:STDOUT: %.loc18_57.2: type = converted %.loc18_57.1, constants.%tuple.type.a64 [concrete = constants.%tuple.type.a64] -// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %tuple.type.a64, .b: %tuple.type.a64} [concrete = constants.%struct_type.a.b.e2a] +// CHECK:STDOUT: %.loc18_57.2: type = converted %.loc18_57.1, constants.%tuple.type.05f [concrete = constants.%tuple.type.05f] +// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %tuple.type.05f, .b: %tuple.type.05f} [concrete = constants.%struct_type.a.b.120] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref %struct_type.a.b.e2a = ref_binding v, %v.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %v: ref %struct_type.a.b.120 = ref_binding v, %v.var +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -122,12 +122,12 @@ fn G() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc18_3.3(%self.param: ref %tuple.type.a64) { +// CHECK:STDOUT: fn @Destroy.Op.loc18_3.3(%self.param: ref %tuple.type.05f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc18_3.4(%self.param: ref %struct_type.a.b.e2a) { +// CHECK:STDOUT: fn @Destroy.Op.loc18_3.4(%self.param: ref %struct_type.a.b.120) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/struct/one_entry.carbon b/toolchain/check/testdata/struct/one_entry.carbon index 08f5d5e61462..26fb1dc526b9 100644 --- a/toolchain/check/testdata/struct/one_entry.carbon +++ b/toolchain/check/testdata/struct/one_entry.carbon @@ -23,39 +23,39 @@ var y: {.a: i32} = x; // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %struct_type.a.72d: type = struct_type {.a: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.79c: type = pattern_type %struct_type.a.72d [concrete] +// CHECK:STDOUT: %struct_type.a.1c5: type = struct_type {.a: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.d7c: type = pattern_type %struct_type.a.1c5 [concrete] // CHECK:STDOUT: %int_4.0c1: Core.IntLiteral = int_value 4 [concrete] // CHECK:STDOUT: %struct_type.a.a6c: type = struct_type {.a: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.2cb: %struct_type.a.a6c = struct_value (%int_4.0c1) [concrete] -// CHECK:STDOUT: %.3f4: ref %i32 = struct_access file.%x.var, element0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %.5b0: ref %i32 = struct_access file.%x.var, element0 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_4.0c1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_4.a7d: %i32 = int_value 4 [concrete] -// CHECK:STDOUT: %struct.cc6: %struct_type.a.72d = struct_value (%int_4.a7d) [concrete] +// CHECK:STDOUT: %int_4.a4d: %i32 = int_value 4 [concrete] +// CHECK:STDOUT: %struct.1b4: %struct_type.a.1c5 = struct_value (%int_4.a4d) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -67,12 +67,12 @@ var y: {.a: i32} = x; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -83,50 +83,50 @@ var y: {.a: i32} = x; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.79c = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.79c = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.d7c = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.d7c = var_pattern %x.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %x.var: ref %struct_type.a.72d = var %x.var_patt [concrete] -// CHECK:STDOUT: %.loc15: type = splice_block %struct_type.a.loc15 [concrete = constants.%struct_type.a.72d] { +// CHECK:STDOUT: %x.var: ref %struct_type.a.1c5 = var %x.var_patt [concrete] +// CHECK:STDOUT: %.loc15: type = splice_block %struct_type.a.loc15 [concrete = constants.%struct_type.a.1c5] { // CHECK:STDOUT: %i32.loc15: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.loc15: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.72d] +// CHECK:STDOUT: %struct_type.a.loc15: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.1c5] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: ref %struct_type.a.72d = ref_binding x, %x.var [concrete = %x.var] +// CHECK:STDOUT: %x: ref %struct_type.a.1c5 = ref_binding x, %x.var [concrete = %x.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.79c = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.79c = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.d7c = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.d7c = var_pattern %y.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %y.var: ref %struct_type.a.72d = var %y.var_patt [concrete] -// CHECK:STDOUT: %.loc16: type = splice_block %struct_type.a.loc16 [concrete = constants.%struct_type.a.72d] { +// CHECK:STDOUT: %y.var: ref %struct_type.a.1c5 = var %y.var_patt [concrete] +// CHECK:STDOUT: %.loc16: type = splice_block %struct_type.a.loc16 [concrete = constants.%struct_type.a.1c5] { // CHECK:STDOUT: %i32.loc16: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.loc16: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.72d] +// CHECK:STDOUT: %struct_type.a.loc16: type = struct_type {.a: %i32} [concrete = constants.%struct_type.a.1c5] // CHECK:STDOUT: } -// CHECK:STDOUT: %y: ref %struct_type.a.72d = ref_binding y, %y.var [concrete = %y.var] +// CHECK:STDOUT: %y: ref %struct_type.a.1c5 = ref_binding y, %y.var [concrete = %y.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_4: Core.IntLiteral = int_value 4 [concrete = constants.%int_4.0c1] // CHECK:STDOUT: %.loc15_27.1: %struct_type.a.a6c = struct_literal (%int_4) [concrete = constants.%struct.2cb] -// CHECK:STDOUT: %impl.elem0.loc15: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc15: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc15_27.1: = bound_method %int_4, %impl.elem0.loc15 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc15: = specific_function %impl.elem0.loc15, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc15_27.2: = bound_method %int_4, %specific_fn.loc15 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_27.2(%int_4) [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc15_27.2: init %i32 = converted %int_4, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_4.a7d] -// CHECK:STDOUT: %.loc15_27.3: init %struct_type.a.72d to file.%x.var = struct_init (%.loc15_27.2) [concrete = constants.%struct.cc6] -// CHECK:STDOUT: %.loc15_1: init %struct_type.a.72d = converted %.loc15_27.1, %.loc15_27.3 [concrete = constants.%struct.cc6] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc15_27.2(%int_4) [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc15_27.2: init %i32 = converted %int_4, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_4.a4d] +// CHECK:STDOUT: %.loc15_27.3: init %struct_type.a.1c5 to file.%x.var = struct_init (%.loc15_27.2) [concrete = constants.%struct.1b4] +// CHECK:STDOUT: %.loc15_1: init %struct_type.a.1c5 = converted %.loc15_27.1, %.loc15_27.3 [concrete = constants.%struct.1b4] // CHECK:STDOUT: assign file.%x.var, %.loc15_1 -// CHECK:STDOUT: %x.ref: ref %struct_type.a.72d = name_ref x, file.%x [concrete = file.%x.var] -// CHECK:STDOUT: %.loc16_20.1: ref %i32 = struct_access %x.ref, element0 [concrete = constants.%.3f4] +// CHECK:STDOUT: %x.ref: ref %struct_type.a.1c5 = name_ref x, file.%x [concrete = file.%x.var] +// CHECK:STDOUT: %.loc16_20.1: ref %i32 = struct_access %x.ref, element0 [concrete = constants.%.5b0] // CHECK:STDOUT: %.loc16_20.2: %i32 = acquire_value %.loc16_20.1 -// CHECK:STDOUT: %impl.elem0.loc16: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc16: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc16_20.1: = bound_method %.loc16_20.2, %impl.elem0.loc16 // CHECK:STDOUT: %specific_fn.loc16: = specific_function %impl.elem0.loc16, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_20.2: = bound_method %.loc16_20.2, %specific_fn.loc16 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc16_20.2(%.loc16_20.2) -// CHECK:STDOUT: %.loc16_20.3: init %struct_type.a.72d to file.%y.var = struct_init (%Int.as.Copy.impl.Op.call) -// CHECK:STDOUT: %.loc16_1: init %struct_type.a.72d = converted %x.ref, %.loc16_20.3 +// CHECK:STDOUT: %.loc16_20.3: init %struct_type.a.1c5 to file.%y.var = struct_init (%Int.as.Copy.impl.Op.call) +// CHECK:STDOUT: %.loc16_1: init %struct_type.a.1c5 = converted %x.ref, %.loc16_20.3 // CHECK:STDOUT: assign file.%y.var, %.loc16_1 // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/struct/partially_const.carbon b/toolchain/check/testdata/struct/partially_const.carbon index 0c59f2f7c2f8..07f6f823d52b 100644 --- a/toolchain/check/testdata/struct/partially_const.carbon +++ b/toolchain/check/testdata/struct/partially_const.carbon @@ -24,40 +24,40 @@ fn Make(n: i32) -> {.a: i32, .b: i32, .c: i32} { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %struct_type.a.b.c.e24: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete] -// CHECK:STDOUT: %.70a: Core.Form = init_form %struct_type.a.b.c.e24 [concrete] -// CHECK:STDOUT: %pattern_type.a5c: type = pattern_type %struct_type.a.b.c.e24 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %struct_type.a.b.c.632: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete] +// CHECK:STDOUT: %.416: Core.Form = init_form %struct_type.a.b.c.632 [concrete] +// CHECK:STDOUT: %pattern_type.5d6: type = pattern_type %struct_type.a.b.c.632 [concrete] // CHECK:STDOUT: %Make.type: type = fn_type @Make [concrete] // CHECK:STDOUT: %Make: %Make.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %struct_type.a.b.c.562: type = struct_type {.a: Core.IntLiteral, .b: %i32, .c: Core.IntLiteral} [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %struct_type.a.b.c.7a3: type = struct_type {.a: Core.IntLiteral, .b: %i32, .c: Core.IntLiteral} [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_0.5c6, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -69,12 +69,12 @@ fn Make(n: i32) -> {.a: i32, .b: i32, .c: i32} { // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -84,55 +84,55 @@ fn Make(n: i32) -> {.a: i32, .b: i32, .c: i32} { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %Make.decl: %Make.type = fn_decl @Make [concrete = constants.%Make] { -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = value_param_pattern [concrete] -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = at_binding_pattern n, %n.param_patt [concrete] -// CHECK:STDOUT: %return.param_patt: %pattern_type.a5c = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.a5c = return_slot_pattern %return.param_patt, %struct_type.a.b.c [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = value_param_pattern [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = at_binding_pattern n, %n.param_patt [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.5d6 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.5d6 = return_slot_pattern %return.param_patt, %struct_type.a.b.c [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc15_25: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc15_34: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc15_43: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b.c: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete = constants.%struct_type.a.b.c.e24] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %struct_type.a.b.c [concrete = constants.%.70a] +// CHECK:STDOUT: %struct_type.a.b.c: type = struct_type {.a: %i32, .b: %i32, .c: %i32} [concrete = constants.%struct_type.a.b.c.632] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %struct_type.a.b.c [concrete = constants.%.416] // CHECK:STDOUT: %n.param: %i32 = value_param call_param0 // CHECK:STDOUT: %i32.loc15_12: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %n: %i32 = value_binding n, %n.param -// CHECK:STDOUT: %return.param: ref %struct_type.a.b.c.e24 = out_param call_param1 -// CHECK:STDOUT: %return: ref %struct_type.a.b.c.e24 = return_slot %return.param +// CHECK:STDOUT: %return.param: ref %struct_type.a.b.c.632 = out_param call_param1 +// CHECK:STDOUT: %return: ref %struct_type.a.b.c.632 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Make(%n.param: %i32) -> out %return.param: %struct_type.a.b.c.e24 { +// CHECK:STDOUT: fn @Make(%n.param: %i32) -> out %return.param: %struct_type.a.b.c.632 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %int_0.loc16_16: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %n.ref: %i32 = name_ref n, %n // CHECK:STDOUT: %int_0.loc16_32: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %.loc16_33.1: %struct_type.a.b.c.562 = struct_literal (%int_0.loc16_16, %n.ref, %int_0.loc16_32) -// CHECK:STDOUT: %impl.elem0.loc16_33.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %.loc16_33.1: %struct_type.a.b.c.7a3 = struct_literal (%int_0.loc16_16, %n.ref, %int_0.loc16_32) +// CHECK:STDOUT: %impl.elem0.loc16_33.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc16_33.1: = bound_method %int_0.loc16_16, %impl.elem0.loc16_33.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc16_33.1: = specific_function %impl.elem0.loc16_33.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc16_33.2: = bound_method %int_0.loc16_16, %specific_fn.loc16_33.1 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_33.1: init %i32 = call %bound_method.loc16_33.2(%int_0.loc16_16) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc16_33.2: init %i32 = converted %int_0.loc16_16, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_33.1 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_33.1: init %i32 = call %bound_method.loc16_33.2(%int_0.loc16_16) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc16_33.2: init %i32 = converted %int_0.loc16_16, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_33.1 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc16_33.3: ref %i32 = struct_access %return.param, element0 -// CHECK:STDOUT: %.loc16_33.4: init %i32 to %.loc16_33.3 = in_place_init %.loc16_33.2 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %impl.elem0.loc16_24: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %.loc16_33.4: init %i32 to %.loc16_33.3 = in_place_init %.loc16_33.2 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %impl.elem0.loc16_24: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc16_24.1: = bound_method %n.ref, %impl.elem0.loc16_24 // CHECK:STDOUT: %specific_fn.loc16_24: = specific_function %impl.elem0.loc16_24, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_24.2: = bound_method %n.ref, %specific_fn.loc16_24 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc16_24.2(%n.ref) // CHECK:STDOUT: %.loc16_33.5: ref %i32 = struct_access %return.param, element1 // CHECK:STDOUT: %.loc16_33.6: init %i32 to %.loc16_33.5 = in_place_init %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: %impl.elem0.loc16_33.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0.loc16_33.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc16_33.3: = bound_method %int_0.loc16_32, %impl.elem0.loc16_33.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn.loc16_33.2: = specific_function %impl.elem0.loc16_33.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc16_33.4: = bound_method %int_0.loc16_32, %specific_fn.loc16_33.2 [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_33.2: init %i32 = call %bound_method.loc16_33.4(%int_0.loc16_32) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc16_33.7: init %i32 = converted %int_0.loc16_32, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_33.2 [concrete = constants.%int_0.155] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_33.2: init %i32 = call %bound_method.loc16_33.4(%int_0.loc16_32) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc16_33.7: init %i32 = converted %int_0.loc16_32, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc16_33.2 [concrete = constants.%int_0.62d] // CHECK:STDOUT: %.loc16_33.8: ref %i32 = struct_access %return.param, element2 -// CHECK:STDOUT: %.loc16_33.9: init %i32 to %.loc16_33.8 = in_place_init %.loc16_33.7 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc16_33.10: init %struct_type.a.b.c.e24 to %return.param = struct_init (%.loc16_33.4, %.loc16_33.6, %.loc16_33.9) -// CHECK:STDOUT: %.loc16_34: init %struct_type.a.b.c.e24 = converted %.loc16_33.1, %.loc16_33.10 +// CHECK:STDOUT: %.loc16_33.9: init %i32 to %.loc16_33.8 = in_place_init %.loc16_33.7 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc16_33.10: init %struct_type.a.b.c.632 to %return.param = struct_init (%.loc16_33.4, %.loc16_33.6, %.loc16_33.9) +// CHECK:STDOUT: %.loc16_34: init %struct_type.a.b.c.632 = converted %.loc16_33.1, %.loc16_33.10 // CHECK:STDOUT: return %.loc16_34 to %return.param // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/struct/reorder_fields.carbon b/toolchain/check/testdata/struct/reorder_fields.carbon index a4717bec15f2..66b42a900324 100644 --- a/toolchain/check/testdata/struct/reorder_fields.carbon +++ b/toolchain/check/testdata/struct/reorder_fields.carbon @@ -29,44 +29,44 @@ fn F() -> {.a: i32, .b: f64} { // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %.70c: Core.Form = init_form %i32 [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %.7ea: Core.Form = init_form %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %MakeI32.type: type = fn_type @MakeI32 [concrete] // CHECK:STDOUT: %MakeI32: %MakeI32.type = struct_value () [concrete] // CHECK:STDOUT: %int_64: Core.IntLiteral = int_value 64 [concrete] // CHECK:STDOUT: %Float.type: type = generic_class_type @Float [concrete] // CHECK:STDOUT: %Float.generic: %Float.type = struct_value () [concrete] -// CHECK:STDOUT: %f64.9a0: type = class_type @Float, @Float(%int_64) [concrete] -// CHECK:STDOUT: %.48c: Core.Form = init_form %f64.9a0 [concrete] -// CHECK:STDOUT: %pattern_type.f4f: type = pattern_type %f64.9a0 [concrete] +// CHECK:STDOUT: %f64.b55: type = class_type @Float, @Float(%int_64) [concrete] +// CHECK:STDOUT: %.cfe: Core.Form = init_form %f64.b55 [concrete] +// CHECK:STDOUT: %pattern_type.f3c: type = pattern_type %f64.b55 [concrete] // CHECK:STDOUT: %MakeF64.type: type = fn_type @MakeF64 [concrete] // CHECK:STDOUT: %MakeF64: %MakeF64.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %f64.9a0} [concrete] -// CHECK:STDOUT: %.fb5: Core.Form = init_form %struct_type.a.b [concrete] -// CHECK:STDOUT: %pattern_type.e70: type = pattern_type %struct_type.a.b [concrete] +// CHECK:STDOUT: %struct_type.a.b: type = struct_type {.a: %i32, .b: %f64.b55} [concrete] +// CHECK:STDOUT: %.99f: Core.Form = init_form %struct_type.a.b [concrete] +// CHECK:STDOUT: %pattern_type.d41: type = pattern_type %struct_type.a.b [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] -// CHECK:STDOUT: %struct_type.b.a: type = struct_type {.b: %f64.9a0, .a: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.b37: type = pattern_type %struct_type.b.a [concrete] +// CHECK:STDOUT: %struct_type.b.a: type = struct_type {.b: %f64.b55, .a: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.061: type = pattern_type %struct_type.b.a [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.66a: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.66a) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet.66a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.44e: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.30e: %Float.as.Copy.impl.Op.type.44e = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.0b5: = impl_witness imports.%Copy.impl_witness_table.637, @Float.as.Copy.impl(%int_64) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.d57: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_64) [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.447: %Float.as.Copy.impl.Op.type.d57 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet.8dd: %Copy.type = facet_value %f64.9a0, (%Copy.impl_witness.0b5) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.363: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.8dd) [concrete] -// CHECK:STDOUT: %.a39: type = fn_type_with_self_type %Copy.WithSelf.Op.type.363, %Copy.facet.8dd [concrete] -// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.447, @Float.as.Copy.impl.Op(%int_64) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.14d: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.14d) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet.14d [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.125: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bfc: %Float.as.Copy.impl.Op.type.125 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.811: = impl_witness imports.%Copy.impl_witness_table.384, @Float.as.Copy.impl(%int_64) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.type.7a5: type = fn_type @Float.as.Copy.impl.Op, @Float.as.Copy.impl(%int_64) [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.bcc: %Float.as.Copy.impl.Op.type.7a5 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet.fdc: %Copy.type = facet_value %f64.b55, (%Copy.impl_witness.811) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.286: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet.fdc) [concrete] +// CHECK:STDOUT: %.c7d: type = fn_type_with_self_type %Copy.WithSelf.Op.type.286, %Copy.facet.fdc [concrete] +// CHECK:STDOUT: %Float.as.Copy.impl.Op.specific_fn: = specific_function %Float.as.Copy.impl.Op.bcc, @Float.as.Copy.impl.Op(%int_64) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -80,10 +80,10 @@ fn F() -> {.a: i32, .b: f64} { // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] // CHECK:STDOUT: %Core.Float: %Float.type = import_ref Core//prelude/parts/float, Float, loaded [concrete = constants.%Float.generic] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.729: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.44e) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.30e)] -// CHECK:STDOUT: %Copy.impl_witness_table.637 = impl_witness_table (%Core.import_ref.729), @Float.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.461: @Float.as.Copy.impl.%Float.as.Copy.impl.Op.type (%Float.as.Copy.impl.Op.type.125) = import_ref Core//prelude/parts/float, loc{{\d+_\d+}}, loaded [symbolic = @Float.as.Copy.impl.%Float.as.Copy.impl.Op (constants.%Float.as.Copy.impl.Op.bfc)] +// CHECK:STDOUT: %Copy.impl_witness_table.384 = impl_witness_table (%Core.import_ref.461), @Float.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -95,31 +95,31 @@ fn F() -> {.a: i32, .b: f64} { // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: %MakeI32.decl: %MakeI32.type = fn_decl @MakeI32 [concrete = constants.%MakeI32] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.c6b = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.c6b = return_slot_pattern %return.param_patt, %i32 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.104 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.104 = return_slot_pattern %return.param_patt, %i32 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.70c] +// CHECK:STDOUT: %.loc15: Core.Form = init_form %i32 [concrete = constants.%.7ea] // CHECK:STDOUT: %return.param: ref %i32 = out_param call_param0 // CHECK:STDOUT: %return: ref %i32 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %MakeF64.decl: %MakeF64.type = fn_decl @MakeF64 [concrete = constants.%MakeF64] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.f4f = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.f4f = return_slot_pattern %return.param_patt, %f64 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.f3c = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.f3c = return_slot_pattern %return.param_patt, %f64 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %f64: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %.loc16: Core.Form = init_form %f64 [concrete = constants.%.48c] -// CHECK:STDOUT: %return.param: ref %f64.9a0 = out_param call_param0 -// CHECK:STDOUT: %return: ref %f64.9a0 = return_slot %return.param +// CHECK:STDOUT: %f64: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %.loc16: Core.Form = init_form %f64 [concrete = constants.%.cfe] +// CHECK:STDOUT: %return.param: ref %f64.b55 = out_param call_param0 +// CHECK:STDOUT: %return: ref %f64.b55 = return_slot %return.param // CHECK:STDOUT: } // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] { -// CHECK:STDOUT: %return.param_patt: %pattern_type.e70 = out_param_pattern [concrete] -// CHECK:STDOUT: %return.patt: %pattern_type.e70 = return_slot_pattern %return.param_patt, %struct_type.a.b.loc18 [concrete] +// CHECK:STDOUT: %return.param_patt: %pattern_type.d41 = out_param_pattern [concrete] +// CHECK:STDOUT: %return.patt: %pattern_type.d41 = return_slot_pattern %return.param_patt, %struct_type.a.b.loc18 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %i32.loc18: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %f64.loc18: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %struct_type.a.b.loc18: type = struct_type {.a: %i32, .b: %f64.9a0} [concrete = constants.%struct_type.a.b] -// CHECK:STDOUT: %.loc18: Core.Form = init_form %struct_type.a.b.loc18 [concrete = constants.%.fb5] +// CHECK:STDOUT: %f64.loc18: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %struct_type.a.b.loc18: type = struct_type {.a: %i32, .b: %f64.b55} [concrete = constants.%struct_type.a.b] +// CHECK:STDOUT: %.loc18: Core.Form = init_form %struct_type.a.b.loc18 [concrete = constants.%.99f] // CHECK:STDOUT: %return.param: ref %struct_type.a.b = out_param call_param0 // CHECK:STDOUT: %return: ref %struct_type.a.b = return_slot %return.param // CHECK:STDOUT: } @@ -127,61 +127,61 @@ fn F() -> {.a: i32, .b: f64} { // CHECK:STDOUT: // CHECK:STDOUT: fn @MakeI32() -> out %return.param: %i32; // CHECK:STDOUT: -// CHECK:STDOUT: fn @MakeF64() -> out %return.param: %f64.9a0; +// CHECK:STDOUT: fn @MakeF64() -> out %return.param: %f64.b55; // CHECK:STDOUT: // CHECK:STDOUT: fn @F() -> out %return.param: %struct_type.a.b { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.e70 = value_binding_pattern x [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.d41 = value_binding_pattern x [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %MakeF64.ref: %MakeF64.type = name_ref MakeF64, file.%MakeF64.decl [concrete = constants.%MakeF64] -// CHECK:STDOUT: %MakeF64.call: init %f64.9a0 = call %MakeF64.ref() +// CHECK:STDOUT: %MakeF64.call: init %f64.b55 = call %MakeF64.ref() // CHECK:STDOUT: %MakeI32.ref: %MakeI32.type = name_ref MakeI32, file.%MakeI32.decl [concrete = constants.%MakeI32] // CHECK:STDOUT: %MakeI32.call: init %i32 = call %MakeI32.ref() // CHECK:STDOUT: %.loc19_62.1: %struct_type.b.a = struct_literal (%MakeF64.call, %MakeI32.call) // CHECK:STDOUT: %.loc19_27: type = splice_block %struct_type.a.b.loc19 [concrete = constants.%struct_type.a.b] { // CHECK:STDOUT: %i32.loc19: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %f64.loc19: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] -// CHECK:STDOUT: %struct_type.a.b.loc19: type = struct_type {.a: %i32, .b: %f64.9a0} [concrete = constants.%struct_type.a.b] +// CHECK:STDOUT: %f64.loc19: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] +// CHECK:STDOUT: %struct_type.a.b.loc19: type = struct_type {.a: %i32, .b: %f64.b55} [concrete = constants.%struct_type.a.b] // CHECK:STDOUT: } // CHECK:STDOUT: %.loc19_62.2: %i32 = value_of_initializer %MakeI32.call // CHECK:STDOUT: %.loc19_62.3: %i32 = converted %MakeI32.call, %.loc19_62.2 -// CHECK:STDOUT: %.loc19_62.4: %f64.9a0 = value_of_initializer %MakeF64.call -// CHECK:STDOUT: %.loc19_62.5: %f64.9a0 = converted %MakeF64.call, %.loc19_62.4 +// CHECK:STDOUT: %.loc19_62.4: %f64.b55 = value_of_initializer %MakeF64.call +// CHECK:STDOUT: %.loc19_62.5: %f64.b55 = converted %MakeF64.call, %.loc19_62.4 // CHECK:STDOUT: %struct.loc19: %struct_type.a.b = struct_value (%.loc19_62.3, %.loc19_62.5) // CHECK:STDOUT: %.loc19_62.6: %struct_type.a.b = converted %.loc19_62.1, %struct.loc19 // CHECK:STDOUT: %x: %struct_type.a.b = value_binding x, %.loc19_62.6 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.b37 = value_binding_pattern y [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.061 = value_binding_pattern y [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %x.ref: %struct_type.a.b = name_ref x, %x // CHECK:STDOUT: %.loc20_27: type = splice_block %struct_type.b.a [concrete = constants.%struct_type.b.a] { -// CHECK:STDOUT: %f64.loc20: type = type_literal constants.%f64.9a0 [concrete = constants.%f64.9a0] +// CHECK:STDOUT: %f64.loc20: type = type_literal constants.%f64.b55 [concrete = constants.%f64.b55] // CHECK:STDOUT: %i32.loc20: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.b.a: type = struct_type {.b: %f64.9a0, .a: %i32} [concrete = constants.%struct_type.b.a] +// CHECK:STDOUT: %struct_type.b.a: type = struct_type {.b: %f64.b55, .a: %i32} [concrete = constants.%struct_type.b.a] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc20_31.1: %f64.9a0 = struct_access %x.ref, element1 +// CHECK:STDOUT: %.loc20_31.1: %f64.b55 = struct_access %x.ref, element1 // CHECK:STDOUT: %.loc20_31.2: %i32 = struct_access %x.ref, element0 // CHECK:STDOUT: %struct.loc20: %struct_type.b.a = struct_value (%.loc20_31.1, %.loc20_31.2) // CHECK:STDOUT: %.loc20_31.3: %struct_type.b.a = converted %x.ref, %struct.loc20 // CHECK:STDOUT: %y: %struct_type.b.a = value_binding y, %.loc20_31.3 // CHECK:STDOUT: %y.ref: %struct_type.b.a = name_ref y, %y // CHECK:STDOUT: %.loc21_10.1: %i32 = struct_access %y.ref, element1 -// CHECK:STDOUT: %impl.elem0.loc21_10.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc21_10.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc21_10.1: = bound_method %.loc21_10.1, %impl.elem0.loc21_10.1 // CHECK:STDOUT: %specific_fn.loc21_10.1: = specific_function %impl.elem0.loc21_10.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc21_10.2: = bound_method %.loc21_10.1, %specific_fn.loc21_10.1 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc21_10.2(%.loc21_10.1) // CHECK:STDOUT: %.loc21_10.2: ref %i32 = struct_access %return.param, element1 // CHECK:STDOUT: %.loc21_10.3: init %i32 to %.loc21_10.2 = in_place_init %Int.as.Copy.impl.Op.call -// CHECK:STDOUT: %.loc21_10.4: %f64.9a0 = struct_access %y.ref, element0 -// CHECK:STDOUT: %impl.elem0.loc21_10.2: %.a39 = impl_witness_access constants.%Copy.impl_witness.0b5, element0 [concrete = constants.%Float.as.Copy.impl.Op.447] +// CHECK:STDOUT: %.loc21_10.4: %f64.b55 = struct_access %y.ref, element0 +// CHECK:STDOUT: %impl.elem0.loc21_10.2: %.c7d = impl_witness_access constants.%Copy.impl_witness.811, element0 [concrete = constants.%Float.as.Copy.impl.Op.bcc] // CHECK:STDOUT: %bound_method.loc21_10.3: = bound_method %.loc21_10.4, %impl.elem0.loc21_10.2 // CHECK:STDOUT: %specific_fn.loc21_10.2: = specific_function %impl.elem0.loc21_10.2, @Float.as.Copy.impl.Op(constants.%int_64) [concrete = constants.%Float.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc21_10.4: = bound_method %.loc21_10.4, %specific_fn.loc21_10.2 -// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f64.9a0 = call %bound_method.loc21_10.4(%.loc21_10.4) -// CHECK:STDOUT: %.loc21_10.5: ref %f64.9a0 = struct_access %return.param, element0 -// CHECK:STDOUT: %.loc21_10.6: init %f64.9a0 to %.loc21_10.5 = in_place_init %Float.as.Copy.impl.Op.call +// CHECK:STDOUT: %Float.as.Copy.impl.Op.call: init %f64.b55 = call %bound_method.loc21_10.4(%.loc21_10.4) +// CHECK:STDOUT: %.loc21_10.5: ref %f64.b55 = struct_access %return.param, element0 +// CHECK:STDOUT: %.loc21_10.6: init %f64.b55 to %.loc21_10.5 = in_place_init %Float.as.Copy.impl.Op.call // CHECK:STDOUT: %.loc21_10.7: init %struct_type.a.b to %return.param = struct_init (%.loc21_10.3, %.loc21_10.6) // CHECK:STDOUT: %.loc21_11: init %struct_type.a.b = converted %y.ref, %.loc21_10.7 // CHECK:STDOUT: return %.loc21_11 to %return.param diff --git a/toolchain/check/testdata/struct/tuple_as_element.carbon b/toolchain/check/testdata/struct/tuple_as_element.carbon index cc50ce740b9a..d92fef3dedeb 100644 --- a/toolchain/check/testdata/struct/tuple_as_element.carbon +++ b/toolchain/check/testdata/struct/tuple_as_element.carbon @@ -24,52 +24,52 @@ var y: {.a: i32, .b: (i32,)} = x; // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] -// CHECK:STDOUT: %tuple.386: %tuple.type.85c = tuple_value (%i32) [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] -// CHECK:STDOUT: %struct_type.a.b.b4a: type = struct_type {.a: %i32, .b: %tuple.type.c87} [concrete] -// CHECK:STDOUT: %pattern_type.88d: type = pattern_type %struct_type.a.b.b4a [concrete] +// CHECK:STDOUT: %tuple.4e6: %tuple.type.85c = tuple_value (%i32) [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %struct_type.a.b.96d: type = struct_type {.a: %i32, .b: %tuple.type.cb3} [concrete] +// CHECK:STDOUT: %pattern_type.933: type = pattern_type %struct_type.a.b.96d [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %tuple.type.985: type = tuple_type (Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.e7e: %tuple.type.985 = tuple_value (%int_2.ecc) [concrete] // CHECK:STDOUT: %struct_type.a.b.057: type = struct_type {.a: Core.IntLiteral, .b: %tuple.type.985} [concrete] // CHECK:STDOUT: %struct.60a: %struct_type.a.b.057 = struct_value (%int_1.5b8, %tuple.e7e) [concrete] -// CHECK:STDOUT: %.5e4: ref %i32 = struct_access file.%x.var, element0 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %.2f43: ref %i32 = struct_access file.%x.var, element0 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %.fd0: ref %tuple.type.c87 = struct_access file.%x.var, element1 [concrete] -// CHECK:STDOUT: %tuple.elem0.df2: ref %i32 = tuple_access %.fd0, element0 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %tuple.43b: %tuple.type.c87 = tuple_value (%int_2.4ff) [concrete] -// CHECK:STDOUT: %struct.d2e: %struct_type.a.b.b4a = struct_value (%int_1.d5e, %tuple.43b) [concrete] -// CHECK:STDOUT: %.8c9: ref %i32 = struct_access file.%y.var, element0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %.0f4: ref %tuple.type.cb3 = struct_access file.%x.var, element1 [concrete] +// CHECK:STDOUT: %tuple.elem0.c57: ref %i32 = tuple_access %.0f4, element0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %tuple.b3d: %tuple.type.cb3 = tuple_value (%int_2.228) [concrete] +// CHECK:STDOUT: %struct.86e: %struct_type.a.b.96d = struct_value (%int_1.d9c, %tuple.b3d) [concrete] +// CHECK:STDOUT: %.dd0: ref %i32 = struct_access file.%y.var, element0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %.052: ref %tuple.type.c87 = struct_access file.%y.var, element1 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %.2f47: ref %tuple.type.cb3 = struct_access file.%y.var, element1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -81,12 +81,12 @@ var y: {.a: i32, .b: (i32,)} = x; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -97,31 +97,31 @@ var y: {.a: i32, .b: (i32,)} = x; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.88d = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.88d = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.933 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.933 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %x.var: ref %struct_type.a.b.b4a = var %x.var_patt [concrete] -// CHECK:STDOUT: %.loc15_28: type = splice_block %struct_type.a.b.loc15 [concrete = constants.%struct_type.a.b.b4a] { +// CHECK:STDOUT: %x.var: ref %struct_type.a.b.96d = var %x.var_patt [concrete] +// CHECK:STDOUT: %.loc15_28: type = splice_block %struct_type.a.b.loc15 [concrete = constants.%struct_type.a.b.96d] { // CHECK:STDOUT: %i32.loc15_13: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc15_23: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc15_27.1: %tuple.type.85c = tuple_literal (%i32.loc15_23) [concrete = constants.%tuple.386] -// CHECK:STDOUT: %.loc15_27.2: type = converted %.loc15_27.1, constants.%tuple.type.c87 [concrete = constants.%tuple.type.c87] -// CHECK:STDOUT: %struct_type.a.b.loc15: type = struct_type {.a: %i32, .b: %tuple.type.c87} [concrete = constants.%struct_type.a.b.b4a] +// CHECK:STDOUT: %.loc15_27.1: %tuple.type.85c = tuple_literal (%i32.loc15_23) [concrete = constants.%tuple.4e6] +// CHECK:STDOUT: %.loc15_27.2: type = converted %.loc15_27.1, constants.%tuple.type.cb3 [concrete = constants.%tuple.type.cb3] +// CHECK:STDOUT: %struct_type.a.b.loc15: type = struct_type {.a: %i32, .b: %tuple.type.cb3} [concrete = constants.%struct_type.a.b.96d] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: ref %struct_type.a.b.b4a = ref_binding x, %x.var [concrete = %x.var] +// CHECK:STDOUT: %x: ref %struct_type.a.b.96d = ref_binding x, %x.var [concrete = %x.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.88d = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.88d = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.933 = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.933 = var_pattern %y.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %y.var: ref %struct_type.a.b.b4a = var %y.var_patt [concrete] -// CHECK:STDOUT: %.loc16_28: type = splice_block %struct_type.a.b.loc16 [concrete = constants.%struct_type.a.b.b4a] { +// CHECK:STDOUT: %y.var: ref %struct_type.a.b.96d = var %y.var_patt [concrete] +// CHECK:STDOUT: %.loc16_28: type = splice_block %struct_type.a.b.loc16 [concrete = constants.%struct_type.a.b.96d] { // CHECK:STDOUT: %i32.loc16_13: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc16_23: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc16_27.1: %tuple.type.85c = tuple_literal (%i32.loc16_23) [concrete = constants.%tuple.386] -// CHECK:STDOUT: %.loc16_27.2: type = converted %.loc16_27.1, constants.%tuple.type.c87 [concrete = constants.%tuple.type.c87] -// CHECK:STDOUT: %struct_type.a.b.loc16: type = struct_type {.a: %i32, .b: %tuple.type.c87} [concrete = constants.%struct_type.a.b.b4a] +// CHECK:STDOUT: %.loc16_27.1: %tuple.type.85c = tuple_literal (%i32.loc16_23) [concrete = constants.%tuple.4e6] +// CHECK:STDOUT: %.loc16_27.2: type = converted %.loc16_27.1, constants.%tuple.type.cb3 [concrete = constants.%tuple.type.cb3] +// CHECK:STDOUT: %struct_type.a.b.loc16: type = struct_type {.a: %i32, .b: %tuple.type.cb3} [concrete = constants.%struct_type.a.b.96d] // CHECK:STDOUT: } -// CHECK:STDOUT: %y: ref %struct_type.a.b.b4a = ref_binding y, %y.var [concrete = %y.var] +// CHECK:STDOUT: %y: ref %struct_type.a.b.96d = ref_binding y, %y.var [concrete = %y.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -130,51 +130,51 @@ var y: {.a: i32, .b: (i32,)} = x; // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc15_49.1: %tuple.type.985 = tuple_literal (%int_2) [concrete = constants.%tuple.e7e] // CHECK:STDOUT: %.loc15_50.1: %struct_type.a.b.057 = struct_literal (%int_1, %.loc15_49.1) [concrete = constants.%struct.60a] -// CHECK:STDOUT: %impl.elem0.loc15_50: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_50.1: = bound_method %int_1, %impl.elem0.loc15_50 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc15_50: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_50.1: = bound_method %int_1, %impl.elem0.loc15_50 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc15_50: = specific_function %impl.elem0.loc15_50, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_50.2: = bound_method %int_1, %specific_fn.loc15_50 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_50: init %i32 = call %bound_method.loc15_50.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_50.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_50 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_50.3: ref %i32 = struct_access file.%x.var, element0 [concrete = constants.%.5e4] -// CHECK:STDOUT: %.loc15_50.4: init %i32 to %.loc15_50.3 = in_place_init %.loc15_50.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc15_49: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_49.1: = bound_method %int_2, %impl.elem0.loc15_49 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc15_50.2: = bound_method %int_1, %specific_fn.loc15_50 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_50: init %i32 = call %bound_method.loc15_50.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_50.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_50 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_50.3: ref %i32 = struct_access file.%x.var, element0 [concrete = constants.%.2f43] +// CHECK:STDOUT: %.loc15_50.4: init %i32 to %.loc15_50.3 = in_place_init %.loc15_50.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc15_49: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_49.1: = bound_method %int_2, %impl.elem0.loc15_49 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc15_49: = specific_function %impl.elem0.loc15_49, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_49.2: = bound_method %int_2, %specific_fn.loc15_49 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_49: init %i32 = call %bound_method.loc15_49.2(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc15_49.2: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_49 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc15_50.5: ref %tuple.type.c87 = struct_access file.%x.var, element1 [concrete = constants.%.fd0] -// CHECK:STDOUT: %.loc15_49.3: init %tuple.type.c87 to %.loc15_50.5 = tuple_init (%.loc15_49.2) [concrete = constants.%tuple.43b] -// CHECK:STDOUT: %.loc15_50.6: init %tuple.type.c87 = converted %.loc15_49.1, %.loc15_49.3 [concrete = constants.%tuple.43b] -// CHECK:STDOUT: %.loc15_50.7: init %tuple.type.c87 to %.loc15_50.5 = in_place_init %.loc15_50.6 [concrete = constants.%tuple.43b] -// CHECK:STDOUT: %.loc15_50.8: init %struct_type.a.b.b4a to file.%x.var = struct_init (%.loc15_50.4, %.loc15_50.7) [concrete = constants.%struct.d2e] -// CHECK:STDOUT: %.loc15_1: init %struct_type.a.b.b4a = converted %.loc15_50.1, %.loc15_50.8 [concrete = constants.%struct.d2e] +// CHECK:STDOUT: %bound_method.loc15_49.2: = bound_method %int_2, %specific_fn.loc15_49 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_49: init %i32 = call %bound_method.loc15_49.2(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc15_49.2: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_49 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc15_50.5: ref %tuple.type.cb3 = struct_access file.%x.var, element1 [concrete = constants.%.0f4] +// CHECK:STDOUT: %.loc15_49.3: init %tuple.type.cb3 to %.loc15_50.5 = tuple_init (%.loc15_49.2) [concrete = constants.%tuple.b3d] +// CHECK:STDOUT: %.loc15_50.6: init %tuple.type.cb3 = converted %.loc15_49.1, %.loc15_49.3 [concrete = constants.%tuple.b3d] +// CHECK:STDOUT: %.loc15_50.7: init %tuple.type.cb3 to %.loc15_50.5 = in_place_init %.loc15_50.6 [concrete = constants.%tuple.b3d] +// CHECK:STDOUT: %.loc15_50.8: init %struct_type.a.b.96d to file.%x.var = struct_init (%.loc15_50.4, %.loc15_50.7) [concrete = constants.%struct.86e] +// CHECK:STDOUT: %.loc15_1: init %struct_type.a.b.96d = converted %.loc15_50.1, %.loc15_50.8 [concrete = constants.%struct.86e] // CHECK:STDOUT: assign file.%x.var, %.loc15_1 -// CHECK:STDOUT: %x.ref: ref %struct_type.a.b.b4a = name_ref x, file.%x [concrete = file.%x.var] -// CHECK:STDOUT: %.loc16_32.1: ref %i32 = struct_access %x.ref, element0 [concrete = constants.%.5e4] +// CHECK:STDOUT: %x.ref: ref %struct_type.a.b.96d = name_ref x, file.%x [concrete = file.%x.var] +// CHECK:STDOUT: %.loc16_32.1: ref %i32 = struct_access %x.ref, element0 [concrete = constants.%.2f43] // CHECK:STDOUT: %.loc16_32.2: %i32 = acquire_value %.loc16_32.1 -// CHECK:STDOUT: %impl.elem0.loc16_32.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc16_32.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc16_32.1: = bound_method %.loc16_32.2, %impl.elem0.loc16_32.1 // CHECK:STDOUT: %specific_fn.loc16_32.1: = specific_function %impl.elem0.loc16_32.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_32.2: = bound_method %.loc16_32.2, %specific_fn.loc16_32.1 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc16_32.1: init %i32 = call %bound_method.loc16_32.2(%.loc16_32.2) -// CHECK:STDOUT: %.loc16_32.3: ref %i32 = struct_access file.%y.var, element0 [concrete = constants.%.8c9] +// CHECK:STDOUT: %.loc16_32.3: ref %i32 = struct_access file.%y.var, element0 [concrete = constants.%.dd0] // CHECK:STDOUT: %.loc16_32.4: init %i32 to %.loc16_32.3 = in_place_init %Int.as.Copy.impl.Op.call.loc16_32.1 -// CHECK:STDOUT: %.loc16_32.5: ref %tuple.type.c87 = struct_access %x.ref, element1 [concrete = constants.%.fd0] -// CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %.loc16_32.5, element0 [concrete = constants.%tuple.elem0.df2] +// CHECK:STDOUT: %.loc16_32.5: ref %tuple.type.cb3 = struct_access %x.ref, element1 [concrete = constants.%.0f4] +// CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %.loc16_32.5, element0 [concrete = constants.%tuple.elem0.c57] // CHECK:STDOUT: %.loc16_32.6: %i32 = acquire_value %tuple.elem0 -// CHECK:STDOUT: %impl.elem0.loc16_32.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc16_32.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc16_32.3: = bound_method %.loc16_32.6, %impl.elem0.loc16_32.2 // CHECK:STDOUT: %specific_fn.loc16_32.2: = specific_function %impl.elem0.loc16_32.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc16_32.4: = bound_method %.loc16_32.6, %specific_fn.loc16_32.2 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc16_32.2: init %i32 = call %bound_method.loc16_32.4(%.loc16_32.6) -// CHECK:STDOUT: %.loc16_32.7: ref %tuple.type.c87 = struct_access file.%y.var, element1 [concrete = constants.%.052] -// CHECK:STDOUT: %.loc16_32.8: init %tuple.type.c87 to %.loc16_32.7 = tuple_init (%Int.as.Copy.impl.Op.call.loc16_32.2) -// CHECK:STDOUT: %.loc16_32.9: init %tuple.type.c87 = converted %.loc16_32.5, %.loc16_32.8 -// CHECK:STDOUT: %.loc16_32.10: init %tuple.type.c87 to %.loc16_32.7 = in_place_init %.loc16_32.9 -// CHECK:STDOUT: %.loc16_32.11: init %struct_type.a.b.b4a to file.%y.var = struct_init (%.loc16_32.4, %.loc16_32.10) -// CHECK:STDOUT: %.loc16_1: init %struct_type.a.b.b4a = converted %x.ref, %.loc16_32.11 +// CHECK:STDOUT: %.loc16_32.7: ref %tuple.type.cb3 = struct_access file.%y.var, element1 [concrete = constants.%.2f47] +// CHECK:STDOUT: %.loc16_32.8: init %tuple.type.cb3 to %.loc16_32.7 = tuple_init (%Int.as.Copy.impl.Op.call.loc16_32.2) +// CHECK:STDOUT: %.loc16_32.9: init %tuple.type.cb3 = converted %.loc16_32.5, %.loc16_32.8 +// CHECK:STDOUT: %.loc16_32.10: init %tuple.type.cb3 to %.loc16_32.7 = in_place_init %.loc16_32.9 +// CHECK:STDOUT: %.loc16_32.11: init %struct_type.a.b.96d to file.%y.var = struct_init (%.loc16_32.4, %.loc16_32.10) +// CHECK:STDOUT: %.loc16_1: init %struct_type.a.b.96d = converted %x.ref, %.loc16_32.11 // CHECK:STDOUT: assign file.%y.var, %.loc16_1 // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/struct/two_entries.carbon b/toolchain/check/testdata/struct/two_entries.carbon index 1baeca43d68c..ff91ddc565e9 100644 --- a/toolchain/check/testdata/struct/two_entries.carbon +++ b/toolchain/check/testdata/struct/two_entries.carbon @@ -26,46 +26,46 @@ var y: {.a: i32, .b: i32} = x; // CHECK:STDOUT: %Int.generic: %Int.type = struct_value () [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %struct_type.a.b.602: type = struct_type {.a: %i32, .b: %i32} [concrete] -// CHECK:STDOUT: %pattern_type.32c: type = pattern_type %struct_type.a.b.602 [concrete] +// CHECK:STDOUT: %struct_type.a.b.b47: type = struct_type {.a: %i32, .b: %i32} [concrete] +// CHECK:STDOUT: %pattern_type.941: type = pattern_type %struct_type.a.b.b47 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %struct_type.a.b.cfd: type = struct_type {.a: Core.IntLiteral, .b: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.4aa: %struct_type.a.b.cfd = struct_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %struct.a0d: %struct_type.a.b.602 = struct_value (%int_1.d5e, %int_2.4ff) [concrete] -// CHECK:STDOUT: %.2e9: ref %i32 = struct_access file.%x.var, element0 [concrete] -// CHECK:STDOUT: %.56a: ref %i32 = struct_access file.%x.var, element1 [concrete] -// CHECK:STDOUT: %.dc3: ref %i32 = struct_access file.%y.var, element0 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %struct.8fc: %struct_type.a.b.b47 = struct_value (%int_1.d9c, %int_2.228) [concrete] +// CHECK:STDOUT: %.f3e: ref %i32 = struct_access file.%x.var, element0 [concrete] +// CHECK:STDOUT: %.a1a: ref %i32 = struct_access file.%x.var, element1 [concrete] +// CHECK:STDOUT: %.465: ref %i32 = struct_access file.%y.var, element0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] -// CHECK:STDOUT: %.12c: ref %i32 = struct_access file.%y.var, element1 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %.d1d: ref %i32 = struct_access file.%y.var, element1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -77,12 +77,12 @@ var y: {.a: i32, .b: i32} = x; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.Int: %Int.type = import_ref Core//prelude/parts/int, Int, loaded [concrete = constants.%Int.generic] -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: %Core.Copy: type = import_ref Core//prelude/parts/copy, Copy, loaded [concrete = constants.%Copy.type] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -95,61 +95,61 @@ var y: {.a: i32, .b: i32} = x; // CHECK:STDOUT: } // CHECK:STDOUT: %Core.import = import Core // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.32c = value_binding_pattern v [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.941 = value_binding_pattern v [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc15_25: type = splice_block %struct_type.a.b.loc15 [concrete = constants.%struct_type.a.b.602] { +// CHECK:STDOUT: %.loc15_25: type = splice_block %struct_type.a.b.loc15 [concrete = constants.%struct_type.a.b.b47] { // CHECK:STDOUT: %i32.loc15_13: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc15_22: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b.loc15: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.602] +// CHECK:STDOUT: %struct_type.a.b.loc15: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.b47] // CHECK:STDOUT: } -// CHECK:STDOUT: %impl.elem0.loc15_44.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_44.1: = bound_method @__global_init.%int_1.loc15, %impl.elem0.loc15_44.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc15_44.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_44.1: = bound_method @__global_init.%int_1.loc15, %impl.elem0.loc15_44.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc15_44.1: = specific_function %impl.elem0.loc15_44.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_44.2: = bound_method @__global_init.%int_1.loc15, %specific_fn.loc15_44.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_44.1: init %i32 = call %bound_method.loc15_44.2(@__global_init.%int_1.loc15) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_44.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_44.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc15_44.2: %i32 = converted @__global_init.%int_1.loc15, %.loc15_44.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc15_44.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc15_44.3: = bound_method @__global_init.%int_2.loc15, %impl.elem0.loc15_44.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc15_44.2: = bound_method @__global_init.%int_1.loc15, %specific_fn.loc15_44.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_44.1: init %i32 = call %bound_method.loc15_44.2(@__global_init.%int_1.loc15) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_44.1: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_44.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc15_44.2: %i32 = converted @__global_init.%int_1.loc15, %.loc15_44.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc15_44.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc15_44.3: = bound_method @__global_init.%int_2.loc15, %impl.elem0.loc15_44.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc15_44.2: = specific_function %impl.elem0.loc15_44.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc15_44.4: = bound_method @__global_init.%int_2.loc15, %specific_fn.loc15_44.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_44.2: init %i32 = call %bound_method.loc15_44.4(@__global_init.%int_2.loc15) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc15_44.3: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_44.2 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc15_44.4: %i32 = converted @__global_init.%int_2.loc15, %.loc15_44.3 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %struct: %struct_type.a.b.602 = struct_value (%.loc15_44.2, %.loc15_44.4) [concrete = constants.%struct.a0d] -// CHECK:STDOUT: %.loc15_44.5: %struct_type.a.b.602 = converted @__global_init.%.loc15, %struct [concrete = constants.%struct.a0d] -// CHECK:STDOUT: %v: %struct_type.a.b.602 = value_binding v, %.loc15_44.5 +// CHECK:STDOUT: %bound_method.loc15_44.4: = bound_method @__global_init.%int_2.loc15, %specific_fn.loc15_44.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_44.2: init %i32 = call %bound_method.loc15_44.4(@__global_init.%int_2.loc15) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc15_44.3: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc15_44.2 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc15_44.4: %i32 = converted @__global_init.%int_2.loc15, %.loc15_44.3 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %struct: %struct_type.a.b.b47 = struct_value (%.loc15_44.2, %.loc15_44.4) [concrete = constants.%struct.8fc] +// CHECK:STDOUT: %.loc15_44.5: %struct_type.a.b.b47 = converted @__global_init.%.loc15, %struct [concrete = constants.%struct.8fc] +// CHECK:STDOUT: %v: %struct_type.a.b.b47 = value_binding v, %.loc15_44.5 // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %w.patt: %pattern_type.32c = value_binding_pattern w [concrete] +// CHECK:STDOUT: %w.patt: %pattern_type.941 = value_binding_pattern w [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %.loc16: type = splice_block %struct_type.a.b.loc16 [concrete = constants.%struct_type.a.b.602] { +// CHECK:STDOUT: %.loc16: type = splice_block %struct_type.a.b.loc16 [concrete = constants.%struct_type.a.b.b47] { // CHECK:STDOUT: %i32.loc16_13: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc16_22: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b.loc16: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.602] +// CHECK:STDOUT: %struct_type.a.b.loc16: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.b47] // CHECK:STDOUT: } -// CHECK:STDOUT: %w: %struct_type.a.b.602 = value_binding w, @__global_init.%v.ref +// CHECK:STDOUT: %w: %struct_type.a.b.b47 = value_binding w, @__global_init.%v.ref // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %x.patt: %pattern_type.32c = ref_binding_pattern x [concrete] -// CHECK:STDOUT: %x.var_patt: %pattern_type.32c = var_pattern %x.patt [concrete] +// CHECK:STDOUT: %x.patt: %pattern_type.941 = ref_binding_pattern x [concrete] +// CHECK:STDOUT: %x.var_patt: %pattern_type.941 = var_pattern %x.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %x.var: ref %struct_type.a.b.602 = var %x.var_patt [concrete] -// CHECK:STDOUT: %.loc18: type = splice_block %struct_type.a.b.loc18 [concrete = constants.%struct_type.a.b.602] { +// CHECK:STDOUT: %x.var: ref %struct_type.a.b.b47 = var %x.var_patt [concrete] +// CHECK:STDOUT: %.loc18: type = splice_block %struct_type.a.b.loc18 [concrete = constants.%struct_type.a.b.b47] { // CHECK:STDOUT: %i32.loc18_13: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc18_22: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b.loc18: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.602] +// CHECK:STDOUT: %struct_type.a.b.loc18: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.b47] // CHECK:STDOUT: } -// CHECK:STDOUT: %x: ref %struct_type.a.b.602 = ref_binding x, %x.var [concrete = %x.var] +// CHECK:STDOUT: %x: ref %struct_type.a.b.b47 = ref_binding x, %x.var [concrete = %x.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %y.patt: %pattern_type.32c = ref_binding_pattern y [concrete] -// CHECK:STDOUT: %y.var_patt: %pattern_type.32c = var_pattern %y.patt [concrete] +// CHECK:STDOUT: %y.patt: %pattern_type.941 = ref_binding_pattern y [concrete] +// CHECK:STDOUT: %y.var_patt: %pattern_type.941 = var_pattern %y.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %y.var: ref %struct_type.a.b.602 = var %y.var_patt [concrete] -// CHECK:STDOUT: %.loc19: type = splice_block %struct_type.a.b.loc19 [concrete = constants.%struct_type.a.b.602] { +// CHECK:STDOUT: %y.var: ref %struct_type.a.b.b47 = var %y.var_patt [concrete] +// CHECK:STDOUT: %.loc19: type = splice_block %struct_type.a.b.loc19 [concrete = constants.%struct_type.a.b.b47] { // CHECK:STDOUT: %i32.loc19_13: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc19_22: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %struct_type.a.b.loc19: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.602] +// CHECK:STDOUT: %struct_type.a.b.loc19: type = struct_type {.a: %i32, .b: %i32} [concrete = constants.%struct_type.a.b.b47] // CHECK:STDOUT: } -// CHECK:STDOUT: %y: ref %struct_type.a.b.602 = ref_binding y, %y.var [concrete = %y.var] +// CHECK:STDOUT: %y: ref %struct_type.a.b.b47 = ref_binding y, %y.var [concrete = %y.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { @@ -157,50 +157,50 @@ var y: {.a: i32, .b: i32} = x; // CHECK:STDOUT: %int_1.loc15: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc15: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc15: %struct_type.a.b.cfd = struct_literal (%int_1.loc15, %int_2.loc15) [concrete = constants.%struct.4aa] -// CHECK:STDOUT: %v.ref: %struct_type.a.b.602 = name_ref v, file.%v +// CHECK:STDOUT: %v.ref: %struct_type.a.b.b47 = name_ref v, file.%v // CHECK:STDOUT: %int_1.loc18: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2.loc18: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc18_44.1: %struct_type.a.b.cfd = struct_literal (%int_1.loc18, %int_2.loc18) [concrete = constants.%struct.4aa] -// CHECK:STDOUT: %impl.elem0.loc18_44.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_44.1: = bound_method %int_1.loc18, %impl.elem0.loc18_44.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %impl.elem0.loc18_44.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_44.1: = bound_method %int_1.loc18, %impl.elem0.loc18_44.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc18_44.1: = specific_function %impl.elem0.loc18_44.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_44.2: = bound_method %int_1.loc18, %specific_fn.loc18_44.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_44.1: init %i32 = call %bound_method.loc18_44.2(%int_1.loc18) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_44.2: init %i32 = converted %int_1.loc18, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_44.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc18_44.3: ref %i32 = struct_access file.%x.var, element0 [concrete = constants.%.2e9] -// CHECK:STDOUT: %.loc18_44.4: init %i32 to %.loc18_44.3 = in_place_init %.loc18_44.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc18_44.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc18_44.3: = bound_method %int_2.loc18, %impl.elem0.loc18_44.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %bound_method.loc18_44.2: = bound_method %int_1.loc18, %specific_fn.loc18_44.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_44.1: init %i32 = call %bound_method.loc18_44.2(%int_1.loc18) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_44.2: init %i32 = converted %int_1.loc18, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_44.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc18_44.3: ref %i32 = struct_access file.%x.var, element0 [concrete = constants.%.f3e] +// CHECK:STDOUT: %.loc18_44.4: init %i32 to %.loc18_44.3 = in_place_init %.loc18_44.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc18_44.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc18_44.3: = bound_method %int_2.loc18, %impl.elem0.loc18_44.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc18_44.2: = specific_function %impl.elem0.loc18_44.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc18_44.4: = bound_method %int_2.loc18, %specific_fn.loc18_44.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_44.2: init %i32 = call %bound_method.loc18_44.4(%int_2.loc18) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_44.5: init %i32 = converted %int_2.loc18, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_44.2 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_44.6: ref %i32 = struct_access file.%x.var, element1 [concrete = constants.%.56a] -// CHECK:STDOUT: %.loc18_44.7: init %i32 to %.loc18_44.6 = in_place_init %.loc18_44.5 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc18_44.8: init %struct_type.a.b.602 to file.%x.var = struct_init (%.loc18_44.4, %.loc18_44.7) [concrete = constants.%struct.a0d] -// CHECK:STDOUT: %.loc18_1: init %struct_type.a.b.602 = converted %.loc18_44.1, %.loc18_44.8 [concrete = constants.%struct.a0d] +// CHECK:STDOUT: %bound_method.loc18_44.4: = bound_method %int_2.loc18, %specific_fn.loc18_44.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_44.2: init %i32 = call %bound_method.loc18_44.4(%int_2.loc18) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_44.5: init %i32 = converted %int_2.loc18, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc18_44.2 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_44.6: ref %i32 = struct_access file.%x.var, element1 [concrete = constants.%.a1a] +// CHECK:STDOUT: %.loc18_44.7: init %i32 to %.loc18_44.6 = in_place_init %.loc18_44.5 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc18_44.8: init %struct_type.a.b.b47 to file.%x.var = struct_init (%.loc18_44.4, %.loc18_44.7) [concrete = constants.%struct.8fc] +// CHECK:STDOUT: %.loc18_1: init %struct_type.a.b.b47 = converted %.loc18_44.1, %.loc18_44.8 [concrete = constants.%struct.8fc] // CHECK:STDOUT: assign file.%x.var, %.loc18_1 -// CHECK:STDOUT: %x.ref: ref %struct_type.a.b.602 = name_ref x, file.%x [concrete = file.%x.var] -// CHECK:STDOUT: %.loc19_29.1: ref %i32 = struct_access %x.ref, element0 [concrete = constants.%.2e9] +// CHECK:STDOUT: %x.ref: ref %struct_type.a.b.b47 = name_ref x, file.%x [concrete = file.%x.var] +// CHECK:STDOUT: %.loc19_29.1: ref %i32 = struct_access %x.ref, element0 [concrete = constants.%.f3e] // CHECK:STDOUT: %.loc19_29.2: %i32 = acquire_value %.loc19_29.1 -// CHECK:STDOUT: %impl.elem0.loc19_29.1: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc19_29.1: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc19_29.1: = bound_method %.loc19_29.2, %impl.elem0.loc19_29.1 // CHECK:STDOUT: %specific_fn.loc19_29.1: = specific_function %impl.elem0.loc19_29.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc19_29.2: = bound_method %.loc19_29.2, %specific_fn.loc19_29.1 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc19_29.1: init %i32 = call %bound_method.loc19_29.2(%.loc19_29.2) -// CHECK:STDOUT: %.loc19_29.3: ref %i32 = struct_access file.%y.var, element0 [concrete = constants.%.dc3] +// CHECK:STDOUT: %.loc19_29.3: ref %i32 = struct_access file.%y.var, element0 [concrete = constants.%.465] // CHECK:STDOUT: %.loc19_29.4: init %i32 to %.loc19_29.3 = in_place_init %Int.as.Copy.impl.Op.call.loc19_29.1 -// CHECK:STDOUT: %.loc19_29.5: ref %i32 = struct_access %x.ref, element1 [concrete = constants.%.56a] +// CHECK:STDOUT: %.loc19_29.5: ref %i32 = struct_access %x.ref, element1 [concrete = constants.%.a1a] // CHECK:STDOUT: %.loc19_29.6: %i32 = acquire_value %.loc19_29.5 -// CHECK:STDOUT: %impl.elem0.loc19_29.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc19_29.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc19_29.3: = bound_method %.loc19_29.6, %impl.elem0.loc19_29.2 // CHECK:STDOUT: %specific_fn.loc19_29.2: = specific_function %impl.elem0.loc19_29.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc19_29.4: = bound_method %.loc19_29.6, %specific_fn.loc19_29.2 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc19_29.2: init %i32 = call %bound_method.loc19_29.4(%.loc19_29.6) -// CHECK:STDOUT: %.loc19_29.7: ref %i32 = struct_access file.%y.var, element1 [concrete = constants.%.12c] +// CHECK:STDOUT: %.loc19_29.7: ref %i32 = struct_access file.%y.var, element1 [concrete = constants.%.d1d] // CHECK:STDOUT: %.loc19_29.8: init %i32 to %.loc19_29.7 = in_place_init %Int.as.Copy.impl.Op.call.loc19_29.2 -// CHECK:STDOUT: %.loc19_29.9: init %struct_type.a.b.602 to file.%y.var = struct_init (%.loc19_29.4, %.loc19_29.8) -// CHECK:STDOUT: %.loc19_1: init %struct_type.a.b.602 = converted %x.ref, %.loc19_29.9 +// CHECK:STDOUT: %.loc19_29.9: init %struct_type.a.b.b47 to file.%y.var = struct_init (%.loc19_29.4, %.loc19_29.8) +// CHECK:STDOUT: %.loc19_1: init %struct_type.a.b.b47 = converted %x.ref, %.loc19_29.9 // CHECK:STDOUT: assign file.%y.var, %.loc19_1 // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/tuple/basics.carbon b/toolchain/check/testdata/tuple/basics.carbon index 7ae21e8df1e9..39d92c071a92 100644 --- a/toolchain/check/testdata/tuple/basics.carbon +++ b/toolchain/check/testdata/tuple/basics.carbon @@ -102,10 +102,10 @@ var y: ((), ()) = x; // CHECK:STDOUT: %tuple.type.6e8: type = tuple_type (%tuple.type.bcd, %empty_tuple.type) [concrete] // CHECK:STDOUT: %tuple.0ca: %tuple.type.6e8 = tuple_value (%tuple.d8f, %empty_tuple) [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %tuple.type.6e8 [concrete] -// CHECK:STDOUT: %tuple.elem0.251: ref %tuple.type.bcd = tuple_access file.%x.var, element0 [concrete] -// CHECK:STDOUT: %tuple.elem0.01d: ref %empty_tuple.type = tuple_access %tuple.elem0.251, element0 [concrete] -// CHECK:STDOUT: %tuple.elem1.1b5: ref %empty_tuple.type = tuple_access %tuple.elem0.251, element1 [concrete] -// CHECK:STDOUT: %tuple.elem1.22a: ref %empty_tuple.type = tuple_access file.%x.var, element1 [concrete] +// CHECK:STDOUT: %tuple.elem0.c6f: ref %tuple.type.bcd = tuple_access file.%x.var, element0 [concrete] +// CHECK:STDOUT: %tuple.elem0.ddc: ref %empty_tuple.type = tuple_access %tuple.elem0.c6f, element0 [concrete] +// CHECK:STDOUT: %tuple.elem1.3af: ref %empty_tuple.type = tuple_access %tuple.elem0.c6f, element1 [concrete] +// CHECK:STDOUT: %tuple.elem1.1e7: ref %empty_tuple.type = tuple_access file.%x.var, element1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -136,18 +136,18 @@ var y: ((), ()) = x; // CHECK:STDOUT: %.loc4_33.1: %tuple.type.bcd = tuple_literal (%.loc4_28.1, %.loc4_32.1) [concrete = constants.%tuple.d8f] // CHECK:STDOUT: %.loc4_37.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_38.1: %tuple.type.6e8 = tuple_literal (%.loc4_33.1, %.loc4_37.1) [concrete = constants.%tuple.0ca] -// CHECK:STDOUT: %tuple.elem0.loc4_38: ref %tuple.type.bcd = tuple_access file.%x.var, element0 [concrete = constants.%tuple.elem0.251] -// CHECK:STDOUT: %tuple.elem0.loc4_33: ref %empty_tuple.type = tuple_access %tuple.elem0.loc4_38, element0 [concrete = constants.%tuple.elem0.01d] +// CHECK:STDOUT: %tuple.elem0.loc4_38: ref %tuple.type.bcd = tuple_access file.%x.var, element0 [concrete = constants.%tuple.elem0.c6f] +// CHECK:STDOUT: %tuple.elem0.loc4_33: ref %empty_tuple.type = tuple_access %tuple.elem0.loc4_38, element0 [concrete = constants.%tuple.elem0.ddc] // CHECK:STDOUT: %.loc4_28.2: init %empty_tuple.type to %tuple.elem0.loc4_33 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_33.2: init %empty_tuple.type = converted %.loc4_28.1, %.loc4_28.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_33.3: init %empty_tuple.type to %tuple.elem0.loc4_33 = in_place_init %.loc4_33.2 [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %tuple.elem1.loc4_33: ref %empty_tuple.type = tuple_access %tuple.elem0.loc4_38, element1 [concrete = constants.%tuple.elem1.1b5] +// CHECK:STDOUT: %tuple.elem1.loc4_33: ref %empty_tuple.type = tuple_access %tuple.elem0.loc4_38, element1 [concrete = constants.%tuple.elem1.3af] // CHECK:STDOUT: %.loc4_32.2: init %empty_tuple.type to %tuple.elem1.loc4_33 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_33.4: init %empty_tuple.type = converted %.loc4_32.1, %.loc4_32.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_33.5: init %empty_tuple.type to %tuple.elem1.loc4_33 = in_place_init %.loc4_33.4 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_33.6: init %tuple.type.bcd to %tuple.elem0.loc4_38 = tuple_init (%.loc4_33.3, %.loc4_33.5) [concrete = constants.%tuple.d8f] // CHECK:STDOUT: %.loc4_38.2: init %tuple.type.bcd = converted %.loc4_33.1, %.loc4_33.6 [concrete = constants.%tuple.d8f] -// CHECK:STDOUT: %tuple.elem1.loc4_38: ref %empty_tuple.type = tuple_access file.%x.var, element1 [concrete = constants.%tuple.elem1.22a] +// CHECK:STDOUT: %tuple.elem1.loc4_38: ref %empty_tuple.type = tuple_access file.%x.var, element1 [concrete = constants.%tuple.elem1.1e7] // CHECK:STDOUT: %.loc4_37.2: init %empty_tuple.type to %tuple.elem1.loc4_38 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_38.3: init %empty_tuple.type = converted %.loc4_37.1, %.loc4_37.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_38.4: init %empty_tuple.type to %tuple.elem1.loc4_38 = in_place_init %.loc4_38.3 [concrete = constants.%empty_tuple] @@ -165,8 +165,8 @@ var y: ((), ()) = x; // CHECK:STDOUT: %tuple.type: type = tuple_type (%empty_tuple.type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%empty_tuple) [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %tuple.type [concrete] -// CHECK:STDOUT: %tuple.elem0.c7c: ref %empty_tuple.type = tuple_access file.%x.var, element0 [concrete] -// CHECK:STDOUT: %tuple.elem0.d2a: ref %empty_tuple.type = tuple_access file.%y.var, element0 [concrete] +// CHECK:STDOUT: %tuple.elem0.d56: ref %empty_tuple.type = tuple_access file.%x.var, element0 [concrete] +// CHECK:STDOUT: %tuple.elem0.3d8: ref %empty_tuple.type = tuple_access file.%y.var, element0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -200,15 +200,15 @@ var y: ((), ()) = x; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc4_18.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_20.1: %tuple.type = tuple_literal (%.loc4_18.1) [concrete = constants.%tuple] -// CHECK:STDOUT: %tuple.elem0.loc4: ref %empty_tuple.type = tuple_access file.%x.var, element0 [concrete = constants.%tuple.elem0.c7c] +// CHECK:STDOUT: %tuple.elem0.loc4: ref %empty_tuple.type = tuple_access file.%x.var, element0 [concrete = constants.%tuple.elem0.d56] // CHECK:STDOUT: %.loc4_18.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_20.2: init %empty_tuple.type = converted %.loc4_18.1, %.loc4_18.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_20.3: init %tuple.type to file.%x.var = tuple_init (%.loc4_20.2) [concrete = constants.%tuple] // CHECK:STDOUT: %.loc4_1: init %tuple.type = converted %.loc4_20.1, %.loc4_20.3 [concrete = constants.%tuple] // CHECK:STDOUT: assign file.%x.var, %.loc4_1 // CHECK:STDOUT: %x.ref: ref %tuple.type = name_ref x, file.%x [concrete = file.%x.var] -// CHECK:STDOUT: %tuple.elem0.loc5_16.1: ref %empty_tuple.type = tuple_access %x.ref, element0 [concrete = constants.%tuple.elem0.c7c] -// CHECK:STDOUT: %tuple.elem0.loc5_16.2: ref %empty_tuple.type = tuple_access file.%y.var, element0 [concrete = constants.%tuple.elem0.d2a] +// CHECK:STDOUT: %tuple.elem0.loc5_16.1: ref %empty_tuple.type = tuple_access %x.ref, element0 [concrete = constants.%tuple.elem0.d56] +// CHECK:STDOUT: %tuple.elem0.loc5_16.2: ref %empty_tuple.type = tuple_access file.%y.var, element0 [concrete = constants.%tuple.elem0.3d8] // CHECK:STDOUT: %.loc5_16.1: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc5_16.2: init %empty_tuple.type = converted %tuple.elem0.loc5_16.1, %.loc5_16.1 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc5_16.3: init %tuple.type to file.%y.var = tuple_init (%.loc5_16.2) [concrete = constants.%tuple] @@ -225,10 +225,10 @@ var y: ((), ()) = x; // CHECK:STDOUT: %tuple.type: type = tuple_type (%empty_tuple.type, %empty_tuple.type) [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%empty_tuple, %empty_tuple) [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %tuple.type [concrete] -// CHECK:STDOUT: %tuple.elem0.b35: ref %empty_tuple.type = tuple_access file.%x.var, element0 [concrete] -// CHECK:STDOUT: %tuple.elem1.312: ref %empty_tuple.type = tuple_access file.%x.var, element1 [concrete] -// CHECK:STDOUT: %tuple.elem0.299: ref %empty_tuple.type = tuple_access file.%y.var, element0 [concrete] -// CHECK:STDOUT: %tuple.elem1.631: ref %empty_tuple.type = tuple_access file.%y.var, element1 [concrete] +// CHECK:STDOUT: %tuple.elem0.357: ref %empty_tuple.type = tuple_access file.%x.var, element0 [concrete] +// CHECK:STDOUT: %tuple.elem1.e81: ref %empty_tuple.type = tuple_access file.%x.var, element1 [concrete] +// CHECK:STDOUT: %tuple.elem0.011: ref %empty_tuple.type = tuple_access file.%y.var, element0 [concrete] +// CHECK:STDOUT: %tuple.elem1.7c3: ref %empty_tuple.type = tuple_access file.%y.var, element1 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -301,11 +301,11 @@ var y: ((), ()) = x; // CHECK:STDOUT: %.loc7_21.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_25.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_26.1: %tuple.type = tuple_literal (%.loc7_21.1, %.loc7_25.1) [concrete = constants.%tuple] -// CHECK:STDOUT: %tuple.elem0.loc7: ref %empty_tuple.type = tuple_access file.%x.var, element0 [concrete = constants.%tuple.elem0.b35] +// CHECK:STDOUT: %tuple.elem0.loc7: ref %empty_tuple.type = tuple_access file.%x.var, element0 [concrete = constants.%tuple.elem0.357] // CHECK:STDOUT: %.loc7_21.2: init %empty_tuple.type to %tuple.elem0.loc7 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_26.2: init %empty_tuple.type = converted %.loc7_21.1, %.loc7_21.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_26.3: init %empty_tuple.type to %tuple.elem0.loc7 = in_place_init %.loc7_26.2 [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %tuple.elem1.loc7: ref %empty_tuple.type = tuple_access file.%x.var, element1 [concrete = constants.%tuple.elem1.312] +// CHECK:STDOUT: %tuple.elem1.loc7: ref %empty_tuple.type = tuple_access file.%x.var, element1 [concrete = constants.%tuple.elem1.e81] // CHECK:STDOUT: %.loc7_25.2: init %empty_tuple.type to %tuple.elem1.loc7 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_26.4: init %empty_tuple.type = converted %.loc7_25.1, %.loc7_25.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc7_26.5: init %empty_tuple.type to %tuple.elem1.loc7 = in_place_init %.loc7_26.4 [concrete = constants.%empty_tuple] @@ -313,13 +313,13 @@ var y: ((), ()) = x; // CHECK:STDOUT: %.loc7_1: init %tuple.type = converted %.loc7_26.1, %.loc7_26.6 [concrete = constants.%tuple] // CHECK:STDOUT: assign file.%x.var, %.loc7_1 // CHECK:STDOUT: %x.ref: ref %tuple.type = name_ref x, file.%x [concrete = file.%x.var] -// CHECK:STDOUT: %tuple.elem0.loc8_19.1: ref %empty_tuple.type = tuple_access %x.ref, element0 [concrete = constants.%tuple.elem0.b35] -// CHECK:STDOUT: %tuple.elem0.loc8_19.2: ref %empty_tuple.type = tuple_access file.%y.var, element0 [concrete = constants.%tuple.elem0.299] +// CHECK:STDOUT: %tuple.elem0.loc8_19.1: ref %empty_tuple.type = tuple_access %x.ref, element0 [concrete = constants.%tuple.elem0.357] +// CHECK:STDOUT: %tuple.elem0.loc8_19.2: ref %empty_tuple.type = tuple_access file.%y.var, element0 [concrete = constants.%tuple.elem0.011] // CHECK:STDOUT: %.loc8_19.1: init %empty_tuple.type to %tuple.elem0.loc8_19.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_19.2: init %empty_tuple.type = converted %tuple.elem0.loc8_19.1, %.loc8_19.1 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_19.3: init %empty_tuple.type to %tuple.elem0.loc8_19.2 = in_place_init %.loc8_19.2 [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %tuple.elem1.loc8_19.1: ref %empty_tuple.type = tuple_access %x.ref, element1 [concrete = constants.%tuple.elem1.312] -// CHECK:STDOUT: %tuple.elem1.loc8_19.2: ref %empty_tuple.type = tuple_access file.%y.var, element1 [concrete = constants.%tuple.elem1.631] +// CHECK:STDOUT: %tuple.elem1.loc8_19.1: ref %empty_tuple.type = tuple_access %x.ref, element1 [concrete = constants.%tuple.elem1.e81] +// CHECK:STDOUT: %tuple.elem1.loc8_19.2: ref %empty_tuple.type = tuple_access file.%y.var, element1 [concrete = constants.%tuple.elem1.7c3] // CHECK:STDOUT: %.loc8_19.4: init %empty_tuple.type to %tuple.elem1.loc8_19.2 = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_19.5: init %empty_tuple.type = converted %tuple.elem1.loc8_19.1, %.loc8_19.4 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_19.6: init %empty_tuple.type to %tuple.elem1.loc8_19.2 = in_place_init %.loc8_19.5 [concrete = constants.%empty_tuple] diff --git a/toolchain/check/testdata/tuple/element_access.carbon b/toolchain/check/testdata/tuple/element_access.carbon index 95334bd0eada..222db1d35ba6 100644 --- a/toolchain/check/testdata/tuple/element_access.carbon +++ b/toolchain/check/testdata/tuple/element_access.carbon @@ -207,31 +207,31 @@ var b: i32 = a.({.index = 2}.index); // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] -// CHECK:STDOUT: %tuple.elem0.289: ref %i32 = tuple_access file.%b.var, element0 [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %tuple.elem0.5dd: ref %i32 = tuple_access file.%b.var, element0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.c6b = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.c6b = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.104 = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.104 = var_pattern %c.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %c.var: ref %i32 = var %c.var_patt [concrete] // CHECK:STDOUT: %i32.loc6: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -241,11 +241,11 @@ var b: i32 = a.({.index = 2}.index); // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: %b.ref: ref %tuple.type.c87 = name_ref b, file.%b [concrete = file.%b.var] +// CHECK:STDOUT: %b.ref: ref %tuple.type.cb3 = name_ref b, file.%b [concrete = file.%b.var] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %tuple.elem0.loc6: ref %i32 = tuple_access %b.ref, element0 [concrete = constants.%tuple.elem0.289] +// CHECK:STDOUT: %tuple.elem0.loc6: ref %i32 = tuple_access %b.ref, element0 [concrete = constants.%tuple.elem0.5dd] // CHECK:STDOUT: %.loc6: %i32 = acquire_value %tuple.elem0.loc6 -// CHECK:STDOUT: %impl.elem0.loc6: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc6: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc6_15.1: = bound_method %.loc6, %impl.elem0.loc6 // CHECK:STDOUT: %specific_fn.loc6: = specific_function %impl.elem0.loc6, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_15.2: = bound_method %.loc6, %specific_fn.loc6 @@ -262,74 +262,74 @@ var b: i32 = a.({.index = 2}.index); // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %tuple.type.941: type = tuple_type (%empty_tuple.type, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e4f: type = tuple_type (%empty_tuple.type, %i32) [concrete] // CHECK:STDOUT: %tuple.elem0: ref %empty_tuple.type = tuple_access file.%a.var, element0 [concrete] // CHECK:STDOUT: %tuple.elem1: ref %i32 = tuple_access file.%a.var, element1 [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %ImplicitAs.type.4bd: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.ace: type = facet_type <@ImplicitAs, @ImplicitAs(Core.IntLiteral)> [concrete] // CHECK:STDOUT: %From: Core.IntLiteral = symbolic_binding From, 0 [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.2f8: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.7c2: %Int.as.ImplicitAs.impl.Convert.type.2f8 = struct_value () [symbolic] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.f73: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%From) [symbolic] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.34b: %Int.as.ImplicitAs.impl.Convert.type.f73 = struct_value () [symbolic] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %struct_type.index.b1b: type = struct_type {.index: Core.IntLiteral} [concrete] // CHECK:STDOUT: %struct.972: %struct_type.index.b1b = struct_value (%int_1.5b8) [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] -// CHECK:STDOUT: %As.type.c5c: type = facet_type <@As, @As(%i32)> [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.fc5: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.3a8: %Core.IntLiteral.as.As.impl.Convert.type.fc5 = struct_value () [symbolic] -// CHECK:STDOUT: %As.impl_witness.33f: = impl_witness imports.%As.impl_witness_table.2e6, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.2f4: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bc8: %Core.IntLiteral.as.As.impl.Convert.type.2f4 = struct_value () [concrete] -// CHECK:STDOUT: %As.facet: %As.type.c5c = facet_value Core.IntLiteral, (%As.impl_witness.33f) [concrete] -// CHECK:STDOUT: %As.WithSelf.Convert.type.26c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] -// CHECK:STDOUT: %.ca4: type = fn_type_with_self_type %As.WithSelf.Convert.type.26c, %As.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.225: = bound_method %int_0.5c6, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.bc8, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.1fb: = bound_method %int_0.5c6, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_0.155: %i32 = int_value 0 [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.d2b: = impl_witness imports.%ImplicitAs.impl_witness_table.07d, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.73a: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.735: %Int.as.ImplicitAs.impl.Convert.type.73a = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet.4dd: %ImplicitAs.type.4bd = facet_value %i32, (%ImplicitAs.impl_witness.d2b) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.f57: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.4dd) [concrete] -// CHECK:STDOUT: %.516: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.f57, %ImplicitAs.facet.4dd [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound.203: = bound_method %int_0.155, %Int.as.ImplicitAs.impl.Convert.735 [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.735, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.8ab: = bound_method %int_0.155, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.24c: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.bc8 [concrete] -// CHECK:STDOUT: %bound_method.4cd: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %struct_type.index.379: type = struct_type {.index: %i32} [concrete] -// CHECK:STDOUT: %struct.f7f: %struct_type.index.379 = struct_value (%int_1.d5e) [concrete] -// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound.b14: = bound_method %int_1.d5e, %Int.as.ImplicitAs.impl.Convert.735 [concrete] -// CHECK:STDOUT: %bound_method.5b4: = bound_method %int_1.d5e, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %As.type.c00: type = facet_type <@As, @As(%i32)> [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.f55: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.44f: %Core.IntLiteral.as.As.impl.Convert.type.f55 = struct_value () [symbolic] +// CHECK:STDOUT: %As.impl_witness.54d: = impl_witness imports.%As.impl_witness_table.2b9, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.type.421: type = fn_type @Core.IntLiteral.as.As.impl.Convert, @Core.IntLiteral.as.As.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.978: %Core.IntLiteral.as.As.impl.Convert.type.421 = struct_value () [concrete] +// CHECK:STDOUT: %As.facet: %As.type.c00 = facet_value Core.IntLiteral, (%As.impl_witness.54d) [concrete] +// CHECK:STDOUT: %As.WithSelf.Convert.type.f0c: type = fn_type @As.WithSelf.Convert, @As.WithSelf(%i32, %As.facet) [concrete] +// CHECK:STDOUT: %.c18: type = fn_type_with_self_type %As.WithSelf.Convert.type.f0c, %As.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.56e: = bound_method %int_0.5c6, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.As.impl.Convert.978, @Core.IntLiteral.as.As.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.84c: = bound_method %int_0.5c6, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_0.62d: %i32 = int_value 0 [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.062: = impl_witness imports.%ImplicitAs.impl_witness_table.eac, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.type.337: type = fn_type @Int.as.ImplicitAs.impl.Convert, @Int.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.64e: %Int.as.ImplicitAs.impl.Convert.type.337 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet.89e: %ImplicitAs.type.ace = facet_value %i32, (%ImplicitAs.impl_witness.062) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b68: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(Core.IntLiteral, %ImplicitAs.facet.89e) [concrete] +// CHECK:STDOUT: %.7a9: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b68, %ImplicitAs.facet.89e [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound.619: = bound_method %int_0.62d, %Int.as.ImplicitAs.impl.Convert.64e [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Int.as.ImplicitAs.impl.Convert.64e, @Int.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.fb8: = bound_method %int_0.62d, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.bound.62b: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.978 [concrete] +// CHECK:STDOUT: %bound_method.38f: = bound_method %int_1.5b8, %Core.IntLiteral.as.As.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %struct_type.index.1e8: type = struct_type {.index: %i32} [concrete] +// CHECK:STDOUT: %struct.541: %struct_type.index.1e8 = struct_value (%int_1.d9c) [concrete] +// CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.bound.ee7: = bound_method %int_1.d9c, %Int.as.ImplicitAs.impl.Convert.64e [concrete] +// CHECK:STDOUT: %bound_method.682: = bound_method %int_1.d9c, %Int.as.ImplicitAs.impl.Convert.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd0: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.2f8) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.7c2)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.07d = impl_witness_table (%Core.import_ref.dd0), @Int.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %Core.import_ref.6c4: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.fc5) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.3a8)] -// CHECK:STDOUT: %As.impl_witness_table.2e6 = impl_witness_table (%Core.import_ref.6c4), @Core.IntLiteral.as.As.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.835: @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert.type (%Int.as.ImplicitAs.impl.Convert.type.f73) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.ImplicitAs.impl.%Int.as.ImplicitAs.impl.Convert (constants.%Int.as.ImplicitAs.impl.Convert.34b)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.eac = impl_witness_table (%Core.import_ref.835), @Int.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.fd7: @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert.type (%Core.IntLiteral.as.As.impl.Convert.type.f55) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.As.impl.%Core.IntLiteral.as.As.impl.Convert (constants.%Core.IntLiteral.as.As.impl.Convert.44f)] +// CHECK:STDOUT: %As.impl_witness_table.2b9 = impl_witness_table (%Core.import_ref.fd7), @Core.IntLiteral.as.As.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.c6b = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.c6b = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.104 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.104 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %b.var: ref %i32 = var %b.var_patt [concrete] // CHECK:STDOUT: %i32.loc5: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -345,8 +345,8 @@ var b: i32 = a.({.index = 2}.index); // CHECK:STDOUT: } // CHECK:STDOUT: %c: ref %empty_tuple.type = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %d.patt: %pattern_type.c6b = ref_binding_pattern d [concrete] -// CHECK:STDOUT: %d.var_patt: %pattern_type.c6b = var_pattern %d.patt [concrete] +// CHECK:STDOUT: %d.patt: %pattern_type.104 = ref_binding_pattern d [concrete] +// CHECK:STDOUT: %d.var_patt: %pattern_type.104 = var_pattern %d.patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: %d.var: ref %i32 = var %d.var_patt [concrete] // CHECK:STDOUT: %i32.loc7: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -356,7 +356,7 @@ var b: i32 = a.({.index = 2}.index); // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: -// CHECK:STDOUT: %a.ref.loc5: ref %tuple.type.941 = name_ref a, file.%a [concrete = file.%a.var] +// CHECK:STDOUT: %a.ref.loc5: ref %tuple.type.e4f = name_ref a, file.%a [concrete = file.%a.var] // CHECK:STDOUT: %int_1.loc5: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc5_28.1: %struct_type.index.b1b = struct_literal (%int_1.loc5) [concrete = constants.%struct.972] // CHECK:STDOUT: %struct.loc5: %struct_type.index.b1b = struct_value (%int_1.loc5) [concrete = constants.%struct.972] @@ -364,26 +364,26 @@ var b: i32 = a.({.index = 2}.index); // CHECK:STDOUT: %.loc5_29: Core.IntLiteral = struct_access %.loc5_28.2, element0 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %tuple.elem1.loc5: ref %i32 = tuple_access %a.ref.loc5, element1 [concrete = constants.%tuple.elem1] // CHECK:STDOUT: %.loc5_15: %i32 = acquire_value %tuple.elem1.loc5 -// CHECK:STDOUT: %impl.elem0.loc5: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc5: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc5_15.1: = bound_method %.loc5_15, %impl.elem0.loc5 // CHECK:STDOUT: %specific_fn.loc5: = specific_function %impl.elem0.loc5, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc5_15.2: = bound_method %.loc5_15, %specific_fn.loc5 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc5: init %i32 = call %bound_method.loc5_15.2(%.loc5_15) // CHECK:STDOUT: assign file.%b.var, %Int.as.Copy.impl.Op.call.loc5 -// CHECK:STDOUT: %a.ref.loc6: ref %tuple.type.941 = name_ref a, file.%a [concrete = file.%a.var] +// CHECK:STDOUT: %a.ref.loc6: ref %tuple.type.e4f = name_ref a, file.%a [concrete = file.%a.var] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %i32.loc6: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc6_18.1: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] -// CHECK:STDOUT: %bound_method.loc6_18.1: = bound_method %int_0, %impl.elem0.loc6_18.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.225] +// CHECK:STDOUT: %impl.elem0.loc6_18.1: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] +// CHECK:STDOUT: %bound_method.loc6_18.1: = bound_method %int_0, %impl.elem0.loc6_18.1 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.56e] // CHECK:STDOUT: %specific_fn.loc6_18.1: = specific_function %impl.elem0.loc6_18.1, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_18.2: = bound_method %int_0, %specific_fn.loc6_18.1 [concrete = constants.%bound_method.1fb] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc6: init %i32 = call %bound_method.loc6_18.2(%int_0) [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc6_18.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc6 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %.loc6_18.2: %i32 = converted %int_0, %.loc6_18.1 [concrete = constants.%int_0.155] -// CHECK:STDOUT: %impl.elem0.loc6_18.2: %.516 = impl_witness_access constants.%ImplicitAs.impl_witness.d2b, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.735] -// CHECK:STDOUT: %bound_method.loc6_18.3: = bound_method %.loc6_18.2, %impl.elem0.loc6_18.2 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.bound.203] +// CHECK:STDOUT: %bound_method.loc6_18.2: = bound_method %int_0, %specific_fn.loc6_18.1 [concrete = constants.%bound_method.84c] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc6: init %i32 = call %bound_method.loc6_18.2(%int_0) [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc6_18.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc6 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %.loc6_18.2: %i32 = converted %int_0, %.loc6_18.1 [concrete = constants.%int_0.62d] +// CHECK:STDOUT: %impl.elem0.loc6_18.2: %.7a9 = impl_witness_access constants.%ImplicitAs.impl_witness.062, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.64e] +// CHECK:STDOUT: %bound_method.loc6_18.3: = bound_method %.loc6_18.2, %impl.elem0.loc6_18.2 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.bound.619] // CHECK:STDOUT: %specific_fn.loc6_18.2: = specific_function %impl.elem0.loc6_18.2, @Int.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Int.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc6_18.4: = bound_method %.loc6_18.2, %specific_fn.loc6_18.2 [concrete = constants.%bound_method.8ab] +// CHECK:STDOUT: %bound_method.loc6_18.4: = bound_method %.loc6_18.2, %specific_fn.loc6_18.2 [concrete = constants.%bound_method.fb8] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call.loc6: init Core.IntLiteral = call %bound_method.loc6_18.4(%.loc6_18.2) [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc6_18.3: Core.IntLiteral = value_of_initializer %Int.as.ImplicitAs.impl.Convert.call.loc6 [concrete = constants.%int_0.5c6] // CHECK:STDOUT: %.loc6_18.4: Core.IntLiteral = converted %.loc6_18.2, %.loc6_18.3 [concrete = constants.%int_0.5c6] @@ -391,30 +391,30 @@ var b: i32 = a.({.index = 2}.index); // CHECK:STDOUT: %.loc6_14: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc6_1: init %empty_tuple.type = converted %tuple.elem0.loc6, %.loc6_14 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign file.%c.var, %.loc6_1 -// CHECK:STDOUT: %a.ref.loc7: ref %tuple.type.941 = name_ref a, file.%a [concrete = file.%a.var] +// CHECK:STDOUT: %a.ref.loc7: ref %tuple.type.e4f = name_ref a, file.%a [concrete = file.%a.var] // CHECK:STDOUT: %int_1.loc7: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %i32.loc7: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %impl.elem0.loc7_29: %.ca4 = impl_witness_access constants.%As.impl_witness.33f, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bc8] -// CHECK:STDOUT: %bound_method.loc7_29.1: = bound_method %int_1.loc7, %impl.elem0.loc7_29 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.24c] +// CHECK:STDOUT: %impl.elem0.loc7_29: %.c18 = impl_witness_access constants.%As.impl_witness.54d, element0 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.978] +// CHECK:STDOUT: %bound_method.loc7_29.1: = bound_method %int_1.loc7, %impl.elem0.loc7_29 [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.bound.62b] // CHECK:STDOUT: %specific_fn.loc7_29: = specific_function %impl.elem0.loc7_29, @Core.IntLiteral.as.As.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.As.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_29.2: = bound_method %int_1.loc7, %specific_fn.loc7_29 [concrete = constants.%bound_method.4cd] -// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_29.2(%int_1.loc7) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_29.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc7 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_29.2: %i32 = converted %int_1.loc7, %.loc7_29.1 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc7_35.1: %struct_type.index.379 = struct_literal (%.loc7_29.2) [concrete = constants.%struct.f7f] -// CHECK:STDOUT: %struct.loc7: %struct_type.index.379 = struct_value (%.loc7_29.2) [concrete = constants.%struct.f7f] -// CHECK:STDOUT: %.loc7_35.2: %struct_type.index.379 = converted %.loc7_35.1, %struct.loc7 [concrete = constants.%struct.f7f] -// CHECK:STDOUT: %.loc7_36.1: %i32 = struct_access %.loc7_35.2, element0 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc7_36: %.516 = impl_witness_access constants.%ImplicitAs.impl_witness.d2b, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.735] -// CHECK:STDOUT: %bound_method.loc7_36.1: = bound_method %.loc7_36.1, %impl.elem0.loc7_36 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.bound.b14] +// CHECK:STDOUT: %bound_method.loc7_29.2: = bound_method %int_1.loc7, %specific_fn.loc7_29 [concrete = constants.%bound_method.38f] +// CHECK:STDOUT: %Core.IntLiteral.as.As.impl.Convert.call.loc7: init %i32 = call %bound_method.loc7_29.2(%int_1.loc7) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_29.1: %i32 = value_of_initializer %Core.IntLiteral.as.As.impl.Convert.call.loc7 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_29.2: %i32 = converted %int_1.loc7, %.loc7_29.1 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc7_35.1: %struct_type.index.1e8 = struct_literal (%.loc7_29.2) [concrete = constants.%struct.541] +// CHECK:STDOUT: %struct.loc7: %struct_type.index.1e8 = struct_value (%.loc7_29.2) [concrete = constants.%struct.541] +// CHECK:STDOUT: %.loc7_35.2: %struct_type.index.1e8 = converted %.loc7_35.1, %struct.loc7 [concrete = constants.%struct.541] +// CHECK:STDOUT: %.loc7_36.1: %i32 = struct_access %.loc7_35.2, element0 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc7_36: %.7a9 = impl_witness_access constants.%ImplicitAs.impl_witness.062, element0 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.64e] +// CHECK:STDOUT: %bound_method.loc7_36.1: = bound_method %.loc7_36.1, %impl.elem0.loc7_36 [concrete = constants.%Int.as.ImplicitAs.impl.Convert.bound.ee7] // CHECK:STDOUT: %specific_fn.loc7_36: = specific_function %impl.elem0.loc7_36, @Int.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Int.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_36.2: = bound_method %.loc7_36.1, %specific_fn.loc7_36 [concrete = constants.%bound_method.5b4] +// CHECK:STDOUT: %bound_method.loc7_36.2: = bound_method %.loc7_36.1, %specific_fn.loc7_36 [concrete = constants.%bound_method.682] // CHECK:STDOUT: %Int.as.ImplicitAs.impl.Convert.call.loc7: init Core.IntLiteral = call %bound_method.loc7_36.2(%.loc7_36.1) [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc7_36.2: Core.IntLiteral = value_of_initializer %Int.as.ImplicitAs.impl.Convert.call.loc7 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %.loc7_36.3: Core.IntLiteral = converted %.loc7_36.1, %.loc7_36.2 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %tuple.elem1.loc7: ref %i32 = tuple_access %a.ref.loc7, element1 [concrete = constants.%tuple.elem1] // CHECK:STDOUT: %.loc7_15: %i32 = acquire_value %tuple.elem1.loc7 -// CHECK:STDOUT: %impl.elem0.loc7_15: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc7_15: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc7_15.1: = bound_method %.loc7_15, %impl.elem0.loc7_15 // CHECK:STDOUT: %specific_fn.loc7_15: = specific_function %impl.elem0.loc7_15, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc7_15.2: = bound_method %.loc7_15, %specific_fn.loc7_15 @@ -429,36 +429,36 @@ var b: i32 = a.({.index = 2}.index); // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Run() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %F.call: init %tuple.type.c87 = call %F.ref() +// CHECK:STDOUT: %F.call: init %tuple.type.cb3 = call %F.ref() // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6] -// CHECK:STDOUT: %.loc7_12.1: %tuple.type.c87 = value_of_initializer %F.call -// CHECK:STDOUT: %.loc7_12.2: %tuple.type.c87 = converted %F.call, %.loc7_12.1 +// CHECK:STDOUT: %.loc7_12.1: %tuple.type.cb3 = value_of_initializer %F.call +// CHECK:STDOUT: %.loc7_12.2: %tuple.type.cb3 = converted %F.call, %.loc7_12.1 // CHECK:STDOUT: %tuple.elem0: %i32 = tuple_access %.loc7_12.2, element0 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc7_13.1: = bound_method %tuple.elem0, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc7_13.2: = bound_method %tuple.elem0, %specific_fn diff --git a/toolchain/check/testdata/tuple/import.carbon b/toolchain/check/testdata/tuple/import.carbon index 4c6ce822c0c5..f68ab6c489f1 100644 --- a/toolchain/check/testdata/tuple/import.carbon +++ b/toolchain/check/testdata/tuple/import.carbon @@ -86,222 +86,222 @@ fn F() -> (i32,) { // CHECK:STDOUT: constants { // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.b90: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.061: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.b90 = struct_value () [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.867: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.c67: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.867 = struct_value () [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.85c: type = tuple_type (type) [concrete] -// CHECK:STDOUT: %tuple.b71: %tuple.type.85c = tuple_value (%i32) [concrete] -// CHECK:STDOUT: %tuple.type.597: type = tuple_type (%i32) [concrete] -// CHECK:STDOUT: %pattern_type.e93: type = pattern_type %tuple.type.597 [concrete] -// CHECK:STDOUT: %tuple.elem0.149: ref %i32 = tuple_access imports.%a_ref.var, element0 [concrete] +// CHECK:STDOUT: %tuple.ef7: %tuple.type.85c = tuple_value (%i32) [concrete] +// CHECK:STDOUT: %tuple.type.e3c: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %pattern_type.2c0: type = pattern_type %tuple.type.e3c [concrete] +// CHECK:STDOUT: %tuple.elem0.9e7: ref %i32 = tuple_access imports.%a_ref.var, element0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.c59: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.fb0: %Int.as.Copy.impl.Op.type.c59 = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.c36: = impl_witness imports.%Copy.impl_witness_table.03a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.e20: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.123: %Int.as.Copy.impl.Op.type.e20 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.c36) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.56d: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.cf6: type = fn_type_with_self_type %Copy.WithSelf.Op.type.56d, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.123, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.947: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.c83: %Int.as.Copy.impl.Op.type.947 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.7e7: = impl_witness imports.%Copy.impl_witness_table.53f, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.c58: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.59c: %Int.as.Copy.impl.Op.type.c58 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.7e7) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.fae: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.b11: type = fn_type_with_self_type %Copy.WithSelf.Op.type.fae, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.59c, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.8c7: type = tuple_type (%tuple.type.85c, type) [concrete] -// CHECK:STDOUT: %tuple.838: %tuple.type.8c7 = tuple_value (%tuple.b71, %i32) [concrete] +// CHECK:STDOUT: %tuple.255: %tuple.type.8c7 = tuple_value (%tuple.ef7, %i32) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.f66: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.70d: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] // CHECK:STDOUT: %tuple.type.58c: type = tuple_type (%tuple.type.8c7, %tuple.type.24b) [concrete] -// CHECK:STDOUT: %tuple.530: %tuple.type.58c = tuple_value (%tuple.838, %tuple.f66) [concrete] -// CHECK:STDOUT: %tuple.type.d0b: type = tuple_type (%tuple.type.597, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.e6c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.7f6: type = tuple_type (%tuple.type.d0b, %tuple.type.e6c) [concrete] -// CHECK:STDOUT: %pattern_type.697: type = pattern_type %tuple.type.7f6 [concrete] -// CHECK:STDOUT: %tuple.elem0.804: ref %tuple.type.d0b = tuple_access imports.%b_ref.var, element0 [concrete] -// CHECK:STDOUT: %tuple.elem0.8f4: ref %tuple.type.d0b = tuple_access file.%b.var, element0 [concrete] -// CHECK:STDOUT: %tuple.elem0.f74: ref %tuple.type.597 = tuple_access %tuple.elem0.804, element0 [concrete] -// CHECK:STDOUT: %tuple.elem0.bb5: ref %tuple.type.597 = tuple_access %tuple.elem0.8f4, element0 [concrete] -// CHECK:STDOUT: %tuple.elem0.032: ref %i32 = tuple_access %tuple.elem0.f74, element0 [concrete] -// CHECK:STDOUT: %tuple.elem1.e77: ref %i32 = tuple_access %tuple.elem0.804, element1 [concrete] -// CHECK:STDOUT: %tuple.elem1.9c7: ref %i32 = tuple_access %tuple.elem0.8f4, element1 [concrete] -// CHECK:STDOUT: %tuple.elem1.af9: ref %tuple.type.e6c = tuple_access imports.%b_ref.var, element1 [concrete] -// CHECK:STDOUT: %tuple.elem1.3c8: ref %tuple.type.e6c = tuple_access file.%b.var, element1 [concrete] -// CHECK:STDOUT: %tuple.elem0.1a8: ref %i32 = tuple_access %tuple.elem1.af9, element0 [concrete] -// CHECK:STDOUT: %tuple.elem0.b1a: ref %i32 = tuple_access %tuple.elem1.3c8, element0 [concrete] -// CHECK:STDOUT: %tuple.elem1.528: ref %i32 = tuple_access %tuple.elem1.af9, element1 [concrete] -// CHECK:STDOUT: %tuple.elem1.b9f: ref %i32 = tuple_access %tuple.elem1.3c8, element1 [concrete] +// CHECK:STDOUT: %tuple.7cf: %tuple.type.58c = tuple_value (%tuple.255, %tuple.70d) [concrete] +// CHECK:STDOUT: %tuple.type.e2c: type = tuple_type (%tuple.type.e3c, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.bec: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.372: type = tuple_type (%tuple.type.e2c, %tuple.type.bec) [concrete] +// CHECK:STDOUT: %pattern_type.206: type = pattern_type %tuple.type.372 [concrete] +// CHECK:STDOUT: %tuple.elem0.6ee: ref %tuple.type.e2c = tuple_access imports.%b_ref.var, element0 [concrete] +// CHECK:STDOUT: %tuple.elem0.d70: ref %tuple.type.e2c = tuple_access file.%b.var, element0 [concrete] +// CHECK:STDOUT: %tuple.elem0.fd1: ref %tuple.type.e3c = tuple_access %tuple.elem0.6ee, element0 [concrete] +// CHECK:STDOUT: %tuple.elem0.649: ref %tuple.type.e3c = tuple_access %tuple.elem0.d70, element0 [concrete] +// CHECK:STDOUT: %tuple.elem0.b5f: ref %i32 = tuple_access %tuple.elem0.fd1, element0 [concrete] +// CHECK:STDOUT: %tuple.elem1.597: ref %i32 = tuple_access %tuple.elem0.6ee, element1 [concrete] +// CHECK:STDOUT: %tuple.elem1.17a: ref %i32 = tuple_access %tuple.elem0.d70, element1 [concrete] +// CHECK:STDOUT: %tuple.elem1.ac3: ref %tuple.type.bec = tuple_access imports.%b_ref.var, element1 [concrete] +// CHECK:STDOUT: %tuple.elem1.273: ref %tuple.type.bec = tuple_access file.%b.var, element1 [concrete] +// CHECK:STDOUT: %tuple.elem0.4bf: ref %i32 = tuple_access %tuple.elem1.ac3, element0 [concrete] +// CHECK:STDOUT: %tuple.elem0.0a0: ref %i32 = tuple_access %tuple.elem1.273, element0 [concrete] +// CHECK:STDOUT: %tuple.elem1.84a: ref %i32 = tuple_access %tuple.elem1.ac3, element1 [concrete] +// CHECK:STDOUT: %tuple.elem1.d83: ref %i32 = tuple_access %tuple.elem1.273, element1 [concrete] // CHECK:STDOUT: %C.type: type = generic_class_type @C [concrete] // CHECK:STDOUT: %C.generic: %C.type = struct_value () [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] // CHECK:STDOUT: %tuple.type.f94: type = tuple_type (Core.IntLiteral, Core.IntLiteral) [concrete] // CHECK:STDOUT: %tuple.ad8: %tuple.type.f94 = tuple_value (%int_1.5b8, %int_2.ecc) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.73f: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] -// CHECK:STDOUT: %ImplicitAs.impl_witness.9a1: = impl_witness imports.%ImplicitAs.impl_witness_table.097, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.972: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.536: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.972 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.73f = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.9a1) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.a60: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.fbd: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.a60, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.483: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.536 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.536, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.6cf: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.50a: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.9b3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.536 [concrete] -// CHECK:STDOUT: %bound_method.aad: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.21f: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %tuple.a40: %tuple.type.e6c = tuple_value (%int_1.50a, %int_2.21f) [concrete] -// CHECK:STDOUT: %C.5c2: type = class_type @C, @C(%tuple.a40) [concrete] -// CHECK:STDOUT: %pattern_type.104: type = pattern_type %C.5c2 [concrete] +// CHECK:STDOUT: %ImplicitAs.type.e71: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3bc: = impl_witness imports.%ImplicitAs.impl_witness_table.6a8, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.777: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.777 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.e71 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3bc) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.b69: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.7e8: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.b69, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.927: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.ff1: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.6b0: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.72f: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2 [concrete] +// CHECK:STDOUT: %bound_method.c30: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.c3d: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %tuple.f55: %tuple.type.bec = tuple_value (%int_1.6b0, %int_2.c3d) [concrete] +// CHECK:STDOUT: %C.332: type = class_type @C, @C(%tuple.f55) [concrete] +// CHECK:STDOUT: %pattern_type.73c: type = pattern_type %C.332 [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Implicit.a_ref: ref %tuple.type.597 = import_ref Implicit//default, a_ref, loaded [concrete = %a_ref.var] -// CHECK:STDOUT: %Implicit.b_ref: ref %tuple.type.7f6 = import_ref Implicit//default, b_ref, loaded [concrete = %b_ref.var] +// CHECK:STDOUT: %Implicit.a_ref: ref %tuple.type.e3c = import_ref Implicit//default, a_ref, loaded [concrete = %a_ref.var] +// CHECK:STDOUT: %Implicit.b_ref: ref %tuple.type.372 = import_ref Implicit//default, b_ref, loaded [concrete = %b_ref.var] // CHECK:STDOUT: %Implicit.C: %C.type = import_ref Implicit//default, C, loaded [concrete = constants.%C.generic] // CHECK:STDOUT: %Implicit.F: %F.type = import_ref Implicit//default, F, loaded [concrete = constants.%F] -// CHECK:STDOUT: %Implicit.import_ref.85c: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.b90) = import_ref Implicit//default, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.061)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.097 = impl_witness_table (%Implicit.import_ref.85c), @Core.IntLiteral.as.ImplicitAs.impl [concrete] -// CHECK:STDOUT: %a_ref.patt: %pattern_type.e93 = ref_binding_pattern a_ref [concrete] -// CHECK:STDOUT: %a_ref.var_patt: %pattern_type.e93 = var_pattern %a_ref.patt [concrete] -// CHECK:STDOUT: %a_ref.var: ref %tuple.type.597 = var %a_ref.var_patt [concrete] -// CHECK:STDOUT: %Core.import_ref.8e5: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.c59) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.fb0)] -// CHECK:STDOUT: %Copy.impl_witness_table.03a = impl_witness_table (%Core.import_ref.8e5), @Int.as.Copy.impl [concrete] -// CHECK:STDOUT: %b_ref.patt: %pattern_type.697 = ref_binding_pattern b_ref [concrete] -// CHECK:STDOUT: %b_ref.var_patt: %pattern_type.697 = var_pattern %b_ref.patt [concrete] -// CHECK:STDOUT: %b_ref.var: ref %tuple.type.7f6 = var %b_ref.var_patt [concrete] +// CHECK:STDOUT: %Implicit.import_ref.b8a: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.867) = import_ref Implicit//default, inst{{[0-9A-F]+}} [indirect], loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.c67)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.6a8 = impl_witness_table (%Implicit.import_ref.b8a), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %a_ref.patt: %pattern_type.2c0 = ref_binding_pattern a_ref [concrete] +// CHECK:STDOUT: %a_ref.var_patt: %pattern_type.2c0 = var_pattern %a_ref.patt [concrete] +// CHECK:STDOUT: %a_ref.var: ref %tuple.type.e3c = var %a_ref.var_patt [concrete] +// CHECK:STDOUT: %Core.import_ref.3f2: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.947) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c83)] +// CHECK:STDOUT: %Copy.impl_witness_table.53f = impl_witness_table (%Core.import_ref.3f2), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %b_ref.patt: %pattern_type.206 = ref_binding_pattern b_ref [concrete] +// CHECK:STDOUT: %b_ref.var_patt: %pattern_type.206 = var_pattern %b_ref.patt [concrete] +// CHECK:STDOUT: %b_ref.var: ref %tuple.type.372 = var %b_ref.var_patt [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %a.patt: %pattern_type.e93 = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.var_patt: %pattern_type.e93 = var_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.2c0 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.var_patt: %pattern_type.2c0 = var_pattern %a.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %a.var: ref %tuple.type.597 = var %a.var_patt [concrete] -// CHECK:STDOUT: %.loc5_13.1: type = splice_block %.loc5_13.3 [concrete = constants.%tuple.type.597] { +// CHECK:STDOUT: %a.var: ref %tuple.type.e3c = var %a.var_patt [concrete] +// CHECK:STDOUT: %.loc5_13.1: type = splice_block %.loc5_13.3 [concrete = constants.%tuple.type.e3c] { // CHECK:STDOUT: %i32.loc5: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc5_13.2: %tuple.type.85c = tuple_literal (%i32.loc5) [concrete = constants.%tuple.b71] -// CHECK:STDOUT: %.loc5_13.3: type = converted %.loc5_13.2, constants.%tuple.type.597 [concrete = constants.%tuple.type.597] +// CHECK:STDOUT: %.loc5_13.2: %tuple.type.85c = tuple_literal (%i32.loc5) [concrete = constants.%tuple.ef7] +// CHECK:STDOUT: %.loc5_13.3: type = converted %.loc5_13.2, constants.%tuple.type.e3c [concrete = constants.%tuple.type.e3c] // CHECK:STDOUT: } -// CHECK:STDOUT: %a: ref %tuple.type.597 = ref_binding a, %a.var [concrete = %a.var] +// CHECK:STDOUT: %a: ref %tuple.type.e3c = ref_binding a, %a.var [concrete = %a.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %b.patt: %pattern_type.697 = ref_binding_pattern b [concrete] -// CHECK:STDOUT: %b.var_patt: %pattern_type.697 = var_pattern %b.patt [concrete] +// CHECK:STDOUT: %b.patt: %pattern_type.206 = ref_binding_pattern b [concrete] +// CHECK:STDOUT: %b.var_patt: %pattern_type.206 = var_pattern %b.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %b.var: ref %tuple.type.7f6 = var %b.var_patt [concrete] -// CHECK:STDOUT: %.loc6_34.1: type = splice_block %.loc6_34.6 [concrete = constants.%tuple.type.7f6] { +// CHECK:STDOUT: %b.var: ref %tuple.type.372 = var %b.var_patt [concrete] +// CHECK:STDOUT: %.loc6_34.1: type = splice_block %.loc6_34.6 [concrete = constants.%tuple.type.372] { // CHECK:STDOUT: %i32.loc6_11: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6_15: %tuple.type.85c = tuple_literal (%i32.loc6_11) [concrete = constants.%tuple.b71] +// CHECK:STDOUT: %.loc6_15: %tuple.type.85c = tuple_literal (%i32.loc6_11) [concrete = constants.%tuple.ef7] // CHECK:STDOUT: %i32.loc6_18: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6_21: %tuple.type.8c7 = tuple_literal (%.loc6_15, %i32.loc6_18) [concrete = constants.%tuple.838] +// CHECK:STDOUT: %.loc6_21: %tuple.type.8c7 = tuple_literal (%.loc6_15, %i32.loc6_18) [concrete = constants.%tuple.255] // CHECK:STDOUT: %i32.loc6_25: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc6_30: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc6_33: %tuple.type.24b = tuple_literal (%i32.loc6_25, %i32.loc6_30) [concrete = constants.%tuple.f66] -// CHECK:STDOUT: %.loc6_34.2: %tuple.type.58c = tuple_literal (%.loc6_21, %.loc6_33) [concrete = constants.%tuple.530] -// CHECK:STDOUT: %.loc6_34.3: type = converted constants.%tuple.b71, constants.%tuple.type.597 [concrete = constants.%tuple.type.597] -// CHECK:STDOUT: %.loc6_34.4: type = converted constants.%tuple.838, constants.%tuple.type.d0b [concrete = constants.%tuple.type.d0b] -// CHECK:STDOUT: %.loc6_34.5: type = converted constants.%tuple.f66, constants.%tuple.type.e6c [concrete = constants.%tuple.type.e6c] -// CHECK:STDOUT: %.loc6_34.6: type = converted %.loc6_34.2, constants.%tuple.type.7f6 [concrete = constants.%tuple.type.7f6] +// CHECK:STDOUT: %.loc6_33: %tuple.type.24b = tuple_literal (%i32.loc6_25, %i32.loc6_30) [concrete = constants.%tuple.70d] +// CHECK:STDOUT: %.loc6_34.2: %tuple.type.58c = tuple_literal (%.loc6_21, %.loc6_33) [concrete = constants.%tuple.7cf] +// CHECK:STDOUT: %.loc6_34.3: type = converted constants.%tuple.ef7, constants.%tuple.type.e3c [concrete = constants.%tuple.type.e3c] +// CHECK:STDOUT: %.loc6_34.4: type = converted constants.%tuple.255, constants.%tuple.type.e2c [concrete = constants.%tuple.type.e2c] +// CHECK:STDOUT: %.loc6_34.5: type = converted constants.%tuple.70d, constants.%tuple.type.bec [concrete = constants.%tuple.type.bec] +// CHECK:STDOUT: %.loc6_34.6: type = converted %.loc6_34.2, constants.%tuple.type.372 [concrete = constants.%tuple.type.372] // CHECK:STDOUT: } -// CHECK:STDOUT: %b: ref %tuple.type.7f6 = ref_binding b, %b.var [concrete = %b.var] +// CHECK:STDOUT: %b: ref %tuple.type.372 = ref_binding b, %b.var [concrete = %b.var] // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %c.patt: %pattern_type.104 = ref_binding_pattern c [concrete] -// CHECK:STDOUT: %c.var_patt: %pattern_type.104 = var_pattern %c.patt [concrete] +// CHECK:STDOUT: %c.patt: %pattern_type.73c = ref_binding_pattern c [concrete] +// CHECK:STDOUT: %c.var_patt: %pattern_type.73c = var_pattern %c.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %c.var: ref %C.5c2 = var %c.var_patt [concrete] -// CHECK:STDOUT: %.loc7_16.1: type = splice_block %C [concrete = constants.%C.5c2] { +// CHECK:STDOUT: %c.var: ref %C.332 = var %c.var_patt [concrete] +// CHECK:STDOUT: %.loc7_16.1: type = splice_block %C [concrete = constants.%C.332] { // CHECK:STDOUT: %C.ref: %C.type = name_ref C, imports.%Implicit.C [concrete = constants.%C.generic] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] // CHECK:STDOUT: %.loc7_15.1: %tuple.type.f94 = tuple_literal (%int_1, %int_2) [concrete = constants.%tuple.ad8] -// CHECK:STDOUT: %impl.elem0.loc7_15.1: %.fbd = impl_witness_access constants.%ImplicitAs.impl_witness.9a1, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.536] -// CHECK:STDOUT: %bound_method.loc7_15.1: = bound_method %int_1, %impl.elem0.loc7_15.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.483] +// CHECK:STDOUT: %impl.elem0.loc7_15.1: %.7e8 = impl_witness_access constants.%ImplicitAs.impl_witness.3bc, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2] +// CHECK:STDOUT: %bound_method.loc7_15.1: = bound_method %int_1, %impl.elem0.loc7_15.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.927] // CHECK:STDOUT: %specific_fn.loc7_15.1: = specific_function %impl.elem0.loc7_15.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_15.2: = bound_method %int_1, %specific_fn.loc7_15.1 [concrete = constants.%bound_method.6cf] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_15.1: init %i32 = call %bound_method.loc7_15.2(%int_1) [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc7_15.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_15.1 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %.loc7_15.3: %i32 = converted %int_1, %.loc7_15.2 [concrete = constants.%int_1.50a] -// CHECK:STDOUT: %impl.elem0.loc7_15.2: %.fbd = impl_witness_access constants.%ImplicitAs.impl_witness.9a1, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.536] -// CHECK:STDOUT: %bound_method.loc7_15.3: = bound_method %int_2, %impl.elem0.loc7_15.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.9b3] +// CHECK:STDOUT: %bound_method.loc7_15.2: = bound_method %int_1, %specific_fn.loc7_15.1 [concrete = constants.%bound_method.ff1] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_15.1: init %i32 = call %bound_method.loc7_15.2(%int_1) [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc7_15.2: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_15.1 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %.loc7_15.3: %i32 = converted %int_1, %.loc7_15.2 [concrete = constants.%int_1.6b0] +// CHECK:STDOUT: %impl.elem0.loc7_15.2: %.7e8 = impl_witness_access constants.%ImplicitAs.impl_witness.3bc, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.6e2] +// CHECK:STDOUT: %bound_method.loc7_15.3: = bound_method %int_2, %impl.elem0.loc7_15.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.72f] // CHECK:STDOUT: %specific_fn.loc7_15.2: = specific_function %impl.elem0.loc7_15.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc7_15.4: = bound_method %int_2, %specific_fn.loc7_15.2 [concrete = constants.%bound_method.aad] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_15.2: init %i32 = call %bound_method.loc7_15.4(%int_2) [concrete = constants.%int_2.21f] -// CHECK:STDOUT: %.loc7_15.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_15.2 [concrete = constants.%int_2.21f] -// CHECK:STDOUT: %.loc7_15.5: %i32 = converted %int_2, %.loc7_15.4 [concrete = constants.%int_2.21f] -// CHECK:STDOUT: %tuple: %tuple.type.e6c = tuple_value (%.loc7_15.3, %.loc7_15.5) [concrete = constants.%tuple.a40] -// CHECK:STDOUT: %.loc7_16.2: %tuple.type.e6c = converted %.loc7_15.1, %tuple [concrete = constants.%tuple.a40] -// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%tuple.a40) [concrete = constants.%C.5c2] +// CHECK:STDOUT: %bound_method.loc7_15.4: = bound_method %int_2, %specific_fn.loc7_15.2 [concrete = constants.%bound_method.c30] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_15.2: init %i32 = call %bound_method.loc7_15.4(%int_2) [concrete = constants.%int_2.c3d] +// CHECK:STDOUT: %.loc7_15.4: %i32 = value_of_initializer %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc7_15.2 [concrete = constants.%int_2.c3d] +// CHECK:STDOUT: %.loc7_15.5: %i32 = converted %int_2, %.loc7_15.4 [concrete = constants.%int_2.c3d] +// CHECK:STDOUT: %tuple: %tuple.type.bec = tuple_value (%.loc7_15.3, %.loc7_15.5) [concrete = constants.%tuple.f55] +// CHECK:STDOUT: %.loc7_16.2: %tuple.type.bec = converted %.loc7_15.1, %tuple [concrete = constants.%tuple.f55] +// CHECK:STDOUT: %C: type = class_type @C, @C(constants.%tuple.f55) [concrete = constants.%C.332] // CHECK:STDOUT: } -// CHECK:STDOUT: %c: ref %C.5c2 = ref_binding c, %c.var [concrete = %c.var] +// CHECK:STDOUT: %c: ref %C.332 = ref_binding c, %c.var [concrete = %c.var] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %a_ref.ref: ref %tuple.type.597 = name_ref a_ref, imports.%Implicit.a_ref [concrete = imports.%a_ref.var] -// CHECK:STDOUT: %tuple.elem0.loc5: ref %i32 = tuple_access %a_ref.ref, element0 [concrete = constants.%tuple.elem0.149] +// CHECK:STDOUT: %a_ref.ref: ref %tuple.type.e3c = name_ref a_ref, imports.%Implicit.a_ref [concrete = imports.%a_ref.var] +// CHECK:STDOUT: %tuple.elem0.loc5: ref %i32 = tuple_access %a_ref.ref, element0 [concrete = constants.%tuple.elem0.9e7] // CHECK:STDOUT: %.loc5_17.1: %i32 = acquire_value %tuple.elem0.loc5 -// CHECK:STDOUT: %impl.elem0.loc5: %.cf6 = impl_witness_access constants.%Copy.impl_witness.c36, element0 [concrete = constants.%Int.as.Copy.impl.Op.123] +// CHECK:STDOUT: %impl.elem0.loc5: %.b11 = impl_witness_access constants.%Copy.impl_witness.7e7, element0 [concrete = constants.%Int.as.Copy.impl.Op.59c] // CHECK:STDOUT: %bound_method.loc5_17.1: = bound_method %.loc5_17.1, %impl.elem0.loc5 // CHECK:STDOUT: %specific_fn.loc5: = specific_function %impl.elem0.loc5, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc5_17.2: = bound_method %.loc5_17.1, %specific_fn.loc5 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc5: init %i32 = call %bound_method.loc5_17.2(%.loc5_17.1) -// CHECK:STDOUT: %.loc5_17.2: init %tuple.type.597 to file.%a.var = tuple_init (%Int.as.Copy.impl.Op.call.loc5) -// CHECK:STDOUT: %.loc5_1: init %tuple.type.597 = converted %a_ref.ref, %.loc5_17.2 +// CHECK:STDOUT: %.loc5_17.2: init %tuple.type.e3c to file.%a.var = tuple_init (%Int.as.Copy.impl.Op.call.loc5) +// CHECK:STDOUT: %.loc5_1: init %tuple.type.e3c = converted %a_ref.ref, %.loc5_17.2 // CHECK:STDOUT: assign file.%a.var, %.loc5_1 -// CHECK:STDOUT: %b_ref.ref: ref %tuple.type.7f6 = name_ref b_ref, imports.%Implicit.b_ref [concrete = imports.%b_ref.var] -// CHECK:STDOUT: %tuple.elem0.loc6_38.1: ref %tuple.type.d0b = tuple_access %b_ref.ref, element0 [concrete = constants.%tuple.elem0.804] -// CHECK:STDOUT: %tuple.elem0.loc6_38.2: ref %tuple.type.597 = tuple_access %tuple.elem0.loc6_38.1, element0 [concrete = constants.%tuple.elem0.f74] -// CHECK:STDOUT: %tuple.elem0.loc6_38.3: ref %i32 = tuple_access %tuple.elem0.loc6_38.2, element0 [concrete = constants.%tuple.elem0.032] +// CHECK:STDOUT: %b_ref.ref: ref %tuple.type.372 = name_ref b_ref, imports.%Implicit.b_ref [concrete = imports.%b_ref.var] +// CHECK:STDOUT: %tuple.elem0.loc6_38.1: ref %tuple.type.e2c = tuple_access %b_ref.ref, element0 [concrete = constants.%tuple.elem0.6ee] +// CHECK:STDOUT: %tuple.elem0.loc6_38.2: ref %tuple.type.e3c = tuple_access %tuple.elem0.loc6_38.1, element0 [concrete = constants.%tuple.elem0.fd1] +// CHECK:STDOUT: %tuple.elem0.loc6_38.3: ref %i32 = tuple_access %tuple.elem0.loc6_38.2, element0 [concrete = constants.%tuple.elem0.b5f] // CHECK:STDOUT: %.loc6_38.1: %i32 = acquire_value %tuple.elem0.loc6_38.3 -// CHECK:STDOUT: %impl.elem0.loc6_38.1: %.cf6 = impl_witness_access constants.%Copy.impl_witness.c36, element0 [concrete = constants.%Int.as.Copy.impl.Op.123] +// CHECK:STDOUT: %impl.elem0.loc6_38.1: %.b11 = impl_witness_access constants.%Copy.impl_witness.7e7, element0 [concrete = constants.%Int.as.Copy.impl.Op.59c] // CHECK:STDOUT: %bound_method.loc6_38.1: = bound_method %.loc6_38.1, %impl.elem0.loc6_38.1 // CHECK:STDOUT: %specific_fn.loc6_38.1: = specific_function %impl.elem0.loc6_38.1, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_38.2: = bound_method %.loc6_38.1, %specific_fn.loc6_38.1 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_38.1: init %i32 = call %bound_method.loc6_38.2(%.loc6_38.1) -// CHECK:STDOUT: %tuple.elem0.loc6_38.4: ref %tuple.type.d0b = tuple_access file.%b.var, element0 [concrete = constants.%tuple.elem0.8f4] -// CHECK:STDOUT: %tuple.elem0.loc6_38.5: ref %tuple.type.597 = tuple_access %tuple.elem0.loc6_38.4, element0 [concrete = constants.%tuple.elem0.bb5] -// CHECK:STDOUT: %.loc6_38.2: init %tuple.type.597 to %tuple.elem0.loc6_38.5 = tuple_init (%Int.as.Copy.impl.Op.call.loc6_38.1) -// CHECK:STDOUT: %.loc6_38.3: init %tuple.type.597 = converted %tuple.elem0.loc6_38.2, %.loc6_38.2 -// CHECK:STDOUT: %.loc6_38.4: init %tuple.type.597 to %tuple.elem0.loc6_38.5 = in_place_init %.loc6_38.3 -// CHECK:STDOUT: %tuple.elem1.loc6_38.1: ref %i32 = tuple_access %tuple.elem0.loc6_38.1, element1 [concrete = constants.%tuple.elem1.e77] +// CHECK:STDOUT: %tuple.elem0.loc6_38.4: ref %tuple.type.e2c = tuple_access file.%b.var, element0 [concrete = constants.%tuple.elem0.d70] +// CHECK:STDOUT: %tuple.elem0.loc6_38.5: ref %tuple.type.e3c = tuple_access %tuple.elem0.loc6_38.4, element0 [concrete = constants.%tuple.elem0.649] +// CHECK:STDOUT: %.loc6_38.2: init %tuple.type.e3c to %tuple.elem0.loc6_38.5 = tuple_init (%Int.as.Copy.impl.Op.call.loc6_38.1) +// CHECK:STDOUT: %.loc6_38.3: init %tuple.type.e3c = converted %tuple.elem0.loc6_38.2, %.loc6_38.2 +// CHECK:STDOUT: %.loc6_38.4: init %tuple.type.e3c to %tuple.elem0.loc6_38.5 = in_place_init %.loc6_38.3 +// CHECK:STDOUT: %tuple.elem1.loc6_38.1: ref %i32 = tuple_access %tuple.elem0.loc6_38.1, element1 [concrete = constants.%tuple.elem1.597] // CHECK:STDOUT: %.loc6_38.5: %i32 = acquire_value %tuple.elem1.loc6_38.1 -// CHECK:STDOUT: %impl.elem0.loc6_38.2: %.cf6 = impl_witness_access constants.%Copy.impl_witness.c36, element0 [concrete = constants.%Int.as.Copy.impl.Op.123] +// CHECK:STDOUT: %impl.elem0.loc6_38.2: %.b11 = impl_witness_access constants.%Copy.impl_witness.7e7, element0 [concrete = constants.%Int.as.Copy.impl.Op.59c] // CHECK:STDOUT: %bound_method.loc6_38.3: = bound_method %.loc6_38.5, %impl.elem0.loc6_38.2 // CHECK:STDOUT: %specific_fn.loc6_38.2: = specific_function %impl.elem0.loc6_38.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_38.4: = bound_method %.loc6_38.5, %specific_fn.loc6_38.2 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_38.2: init %i32 = call %bound_method.loc6_38.4(%.loc6_38.5) -// CHECK:STDOUT: %tuple.elem1.loc6_38.2: ref %i32 = tuple_access %tuple.elem0.loc6_38.4, element1 [concrete = constants.%tuple.elem1.9c7] +// CHECK:STDOUT: %tuple.elem1.loc6_38.2: ref %i32 = tuple_access %tuple.elem0.loc6_38.4, element1 [concrete = constants.%tuple.elem1.17a] // CHECK:STDOUT: %.loc6_38.6: init %i32 to %tuple.elem1.loc6_38.2 = in_place_init %Int.as.Copy.impl.Op.call.loc6_38.2 -// CHECK:STDOUT: %.loc6_38.7: init %tuple.type.d0b to %tuple.elem0.loc6_38.4 = tuple_init (%.loc6_38.4, %.loc6_38.6) -// CHECK:STDOUT: %.loc6_38.8: init %tuple.type.d0b = converted %tuple.elem0.loc6_38.1, %.loc6_38.7 -// CHECK:STDOUT: %tuple.elem1.loc6_38.3: ref %tuple.type.e6c = tuple_access %b_ref.ref, element1 [concrete = constants.%tuple.elem1.af9] -// CHECK:STDOUT: %tuple.elem0.loc6_38.6: ref %i32 = tuple_access %tuple.elem1.loc6_38.3, element0 [concrete = constants.%tuple.elem0.1a8] +// CHECK:STDOUT: %.loc6_38.7: init %tuple.type.e2c to %tuple.elem0.loc6_38.4 = tuple_init (%.loc6_38.4, %.loc6_38.6) +// CHECK:STDOUT: %.loc6_38.8: init %tuple.type.e2c = converted %tuple.elem0.loc6_38.1, %.loc6_38.7 +// CHECK:STDOUT: %tuple.elem1.loc6_38.3: ref %tuple.type.bec = tuple_access %b_ref.ref, element1 [concrete = constants.%tuple.elem1.ac3] +// CHECK:STDOUT: %tuple.elem0.loc6_38.6: ref %i32 = tuple_access %tuple.elem1.loc6_38.3, element0 [concrete = constants.%tuple.elem0.4bf] // CHECK:STDOUT: %.loc6_38.9: %i32 = acquire_value %tuple.elem0.loc6_38.6 -// CHECK:STDOUT: %impl.elem0.loc6_38.3: %.cf6 = impl_witness_access constants.%Copy.impl_witness.c36, element0 [concrete = constants.%Int.as.Copy.impl.Op.123] +// CHECK:STDOUT: %impl.elem0.loc6_38.3: %.b11 = impl_witness_access constants.%Copy.impl_witness.7e7, element0 [concrete = constants.%Int.as.Copy.impl.Op.59c] // CHECK:STDOUT: %bound_method.loc6_38.5: = bound_method %.loc6_38.9, %impl.elem0.loc6_38.3 // CHECK:STDOUT: %specific_fn.loc6_38.3: = specific_function %impl.elem0.loc6_38.3, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_38.6: = bound_method %.loc6_38.9, %specific_fn.loc6_38.3 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_38.3: init %i32 = call %bound_method.loc6_38.6(%.loc6_38.9) -// CHECK:STDOUT: %tuple.elem1.loc6_38.4: ref %tuple.type.e6c = tuple_access file.%b.var, element1 [concrete = constants.%tuple.elem1.3c8] -// CHECK:STDOUT: %tuple.elem0.loc6_38.7: ref %i32 = tuple_access %tuple.elem1.loc6_38.4, element0 [concrete = constants.%tuple.elem0.b1a] +// CHECK:STDOUT: %tuple.elem1.loc6_38.4: ref %tuple.type.bec = tuple_access file.%b.var, element1 [concrete = constants.%tuple.elem1.273] +// CHECK:STDOUT: %tuple.elem0.loc6_38.7: ref %i32 = tuple_access %tuple.elem1.loc6_38.4, element0 [concrete = constants.%tuple.elem0.0a0] // CHECK:STDOUT: %.loc6_38.10: init %i32 to %tuple.elem0.loc6_38.7 = in_place_init %Int.as.Copy.impl.Op.call.loc6_38.3 -// CHECK:STDOUT: %tuple.elem1.loc6_38.5: ref %i32 = tuple_access %tuple.elem1.loc6_38.3, element1 [concrete = constants.%tuple.elem1.528] +// CHECK:STDOUT: %tuple.elem1.loc6_38.5: ref %i32 = tuple_access %tuple.elem1.loc6_38.3, element1 [concrete = constants.%tuple.elem1.84a] // CHECK:STDOUT: %.loc6_38.11: %i32 = acquire_value %tuple.elem1.loc6_38.5 -// CHECK:STDOUT: %impl.elem0.loc6_38.4: %.cf6 = impl_witness_access constants.%Copy.impl_witness.c36, element0 [concrete = constants.%Int.as.Copy.impl.Op.123] +// CHECK:STDOUT: %impl.elem0.loc6_38.4: %.b11 = impl_witness_access constants.%Copy.impl_witness.7e7, element0 [concrete = constants.%Int.as.Copy.impl.Op.59c] // CHECK:STDOUT: %bound_method.loc6_38.7: = bound_method %.loc6_38.11, %impl.elem0.loc6_38.4 // CHECK:STDOUT: %specific_fn.loc6_38.4: = specific_function %impl.elem0.loc6_38.4, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc6_38.8: = bound_method %.loc6_38.11, %specific_fn.loc6_38.4 // CHECK:STDOUT: %Int.as.Copy.impl.Op.call.loc6_38.4: init %i32 = call %bound_method.loc6_38.8(%.loc6_38.11) -// CHECK:STDOUT: %tuple.elem1.loc6_38.6: ref %i32 = tuple_access %tuple.elem1.loc6_38.4, element1 [concrete = constants.%tuple.elem1.b9f] +// CHECK:STDOUT: %tuple.elem1.loc6_38.6: ref %i32 = tuple_access %tuple.elem1.loc6_38.4, element1 [concrete = constants.%tuple.elem1.d83] // CHECK:STDOUT: %.loc6_38.12: init %i32 to %tuple.elem1.loc6_38.6 = in_place_init %Int.as.Copy.impl.Op.call.loc6_38.4 -// CHECK:STDOUT: %.loc6_38.13: init %tuple.type.e6c to %tuple.elem1.loc6_38.4 = tuple_init (%.loc6_38.10, %.loc6_38.12) -// CHECK:STDOUT: %.loc6_38.14: init %tuple.type.e6c = converted %tuple.elem1.loc6_38.3, %.loc6_38.13 -// CHECK:STDOUT: %.loc6_38.15: init %tuple.type.7f6 to file.%b.var = tuple_init (%.loc6_38.8, %.loc6_38.14) -// CHECK:STDOUT: %.loc6_1: init %tuple.type.7f6 = converted %b_ref.ref, %.loc6_38.15 +// CHECK:STDOUT: %.loc6_38.13: init %tuple.type.bec to %tuple.elem1.loc6_38.4 = tuple_init (%.loc6_38.10, %.loc6_38.12) +// CHECK:STDOUT: %.loc6_38.14: init %tuple.type.bec = converted %tuple.elem1.loc6_38.3, %.loc6_38.13 +// CHECK:STDOUT: %.loc6_38.15: init %tuple.type.372 to file.%b.var = tuple_init (%.loc6_38.8, %.loc6_38.14) +// CHECK:STDOUT: %.loc6_1: init %tuple.type.372 = converted %b_ref.ref, %.loc6_38.15 // CHECK:STDOUT: assign file.%b.var, %.loc6_1 // CHECK:STDOUT: %F.ref: %F.type = name_ref F, imports.%Implicit.F [concrete = constants.%F] -// CHECK:STDOUT: %.loc7: ref %C.5c2 = splice_block file.%c.var [concrete = file.%c.var] {} -// CHECK:STDOUT: %F.call: init %C.5c2 to %.loc7 = call %F.ref() +// CHECK:STDOUT: %.loc7: ref %C.332 = splice_block file.%c.var [concrete = file.%c.var] {} +// CHECK:STDOUT: %F.call: init %C.332 to %.loc7 = call %F.ref() // CHECK:STDOUT: assign file.%c.var, %F.call // CHECK:STDOUT: // CHECK:STDOUT: } @@ -312,42 +312,42 @@ fn F() -> (i32,) { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %tuple.type.c87: type = tuple_type (%i32) [concrete] +// CHECK:STDOUT: %tuple.type.cb3: type = tuple_type (%i32) [concrete] // CHECK:STDOUT: %C: type = class_type @C [concrete] // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %int_1: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %tuple.86f: %tuple.type.c87 = tuple_value (%int_1) [concrete] +// CHECK:STDOUT: %tuple.152: %tuple.type.cb3 = tuple_value (%int_1) [concrete] // CHECK:STDOUT: %I.impl_witness: = impl_witness imports.%I.impl_witness_table [concrete] // CHECK:STDOUT: %I.facet: %I.type = facet_value %C, (%I.impl_witness) [concrete] // CHECK:STDOUT: %I.assoc_type: type = assoc_entity_type @I [concrete] -// CHECK:STDOUT: %assoc0.2ac: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.48f [concrete] +// CHECK:STDOUT: %assoc0.b59: %I.assoc_type = assoc_entity element0, imports.%Main.import_ref.dd7 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1, %Int.as.Copy.impl.Op.c4a [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.bound: = bound_method %int_1, %Int.as.Copy.impl.Op.ce7 [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_1, %Int.as.Copy.impl.Op.specific_fn [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { // CHECK:STDOUT: %Main.I: type = import_ref Main//symbolic_decl, I, loaded [concrete = constants.%I.type] // CHECK:STDOUT: %Main.C: type = import_ref Main//symbolic_decl, C, loaded [concrete = constants.%C] -// CHECK:STDOUT: %Main.import_ref.435: %I.assoc_type = import_ref Main//symbolic_decl, loc5_12, loaded [concrete = constants.%assoc0.2ac] -// CHECK:STDOUT: %Main.import_ref.d46: %tuple.type.c87 = import_ref Main//symbolic_decl, loc10_33, loaded [concrete = constants.%tuple.86f] -// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.d46), @C.as.I.impl [concrete] -// CHECK:STDOUT: %Main.import_ref.48f: %tuple.type.c87 = import_ref Main//symbolic_decl, loc5_12, loaded [concrete = %value] -// CHECK:STDOUT: %value: %tuple.type.c87 = assoc_const_decl @value [concrete] {} -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.77a: %I.assoc_type = import_ref Main//symbolic_decl, loc5_12, loaded [concrete = constants.%assoc0.b59] +// CHECK:STDOUT: %Main.import_ref.dac: %tuple.type.cb3 = import_ref Main//symbolic_decl, loc10_33, loaded [concrete = constants.%tuple.152] +// CHECK:STDOUT: %I.impl_witness_table = impl_witness_table (%Main.import_ref.dac), @C.as.I.impl [concrete] +// CHECK:STDOUT: %Main.import_ref.dd7: %tuple.type.cb3 = import_ref Main//symbolic_decl, loc5_12, loaded [concrete = %value] +// CHECK:STDOUT: %value: %tuple.type.cb3 = assoc_const_decl @value [concrete] {} +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @F() -> out %return.param: %tuple.type.c87 { +// CHECK:STDOUT: fn @F() -> out %return.param: %tuple.type.cb3 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %C.ref: type = name_ref C, imports.%Main.C [concrete = constants.%C] // CHECK:STDOUT: %I.ref: type = name_ref I, imports.%Main.I [concrete = constants.%I.type] @@ -355,16 +355,16 @@ fn F() -> (i32,) { // CHECK:STDOUT: %.loc7_13: %I.type = converted %C.ref, %I.facet [concrete = constants.%I.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc7_13 [concrete = constants.%C] // CHECK:STDOUT: %.loc7_18.1: type = converted %.loc7_13, %as_type [concrete = constants.%C] -// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.435 [concrete = constants.%assoc0.2ac] -// CHECK:STDOUT: %impl.elem0.loc7_18.1: %tuple.type.c87 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%tuple.86f] +// CHECK:STDOUT: %value.ref: %I.assoc_type = name_ref value, imports.%Main.import_ref.77a [concrete = constants.%assoc0.b59] +// CHECK:STDOUT: %impl.elem0.loc7_18.1: %tuple.type.cb3 = impl_witness_access constants.%I.impl_witness, element0 [concrete = constants.%tuple.152] // CHECK:STDOUT: %tuple.elem0: %i32 = tuple_access %impl.elem0.loc7_18.1, element0 [concrete = constants.%int_1] -// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0.loc7_18.2: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc7_18.1: = bound_method %tuple.elem0, %impl.elem0.loc7_18.2 [concrete = constants.%Int.as.Copy.impl.Op.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0.loc7_18.2, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc7_18.2: = bound_method %tuple.elem0, %specific_fn [concrete = constants.%bound_method] // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc7_18.2(%tuple.elem0) [concrete = constants.%int_1] -// CHECK:STDOUT: %.loc7_18.2: init %tuple.type.c87 = tuple_init (%Int.as.Copy.impl.Op.call) [concrete = constants.%tuple.86f] -// CHECK:STDOUT: %.loc7_24: init %tuple.type.c87 = converted %impl.elem0.loc7_18.1, %.loc7_18.2 [concrete = constants.%tuple.86f] +// CHECK:STDOUT: %.loc7_18.2: init %tuple.type.cb3 = tuple_init (%Int.as.Copy.impl.Op.call) [concrete = constants.%tuple.152] +// CHECK:STDOUT: %.loc7_24: init %tuple.type.cb3 = converted %impl.elem0.loc7_18.1, %.loc7_18.2 [concrete = constants.%tuple.152] // CHECK:STDOUT: return %.loc7_24 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/tuple/in_place_tuple_init.carbon b/toolchain/check/testdata/tuple/in_place_tuple_init.carbon index 88ba6dfce285..9fb5dfc29ed6 100644 --- a/toolchain/check/testdata/tuple/in_place_tuple_init.carbon +++ b/toolchain/check/testdata/tuple/in_place_tuple_init.carbon @@ -54,61 +54,61 @@ fn H() { // CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.24b: type = tuple_type (type, type) [concrete] -// CHECK:STDOUT: %tuple.8e3: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.87c: type = tuple_type (%i32, %i32) [concrete] -// CHECK:STDOUT: %pattern_type.624: type = pattern_type %tuple.type.87c [concrete] +// CHECK:STDOUT: %tuple.79d: %tuple.type.24b = tuple_value (%i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.e5a: type = tuple_type (%i32, %i32) [concrete] +// CHECK:STDOUT: %pattern_type.7d6: type = pattern_type %tuple.type.e5a [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %G.type: type = fn_type @G [concrete] // CHECK:STDOUT: %G: %G.type = struct_value () [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.3: type = fn_type @Destroy.Op.loc7_3.3 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.3: %Destroy.Op.type.af7ec0.3 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.3: type = fn_type @Destroy.Op.loc7_3.3 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.3: %Destroy.Op.type.790b3b.3 = struct_value () [concrete] // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete] // CHECK:STDOUT: %Copy.type: type = facet_type <@Copy> [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.b5d: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c85: %Int.as.Copy.impl.Op.type.b5d = struct_value () [symbolic] -// CHECK:STDOUT: %Copy.impl_witness.32d: = impl_witness imports.%Copy.impl_witness_table.07a, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.4a0: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.c4a: %Int.as.Copy.impl.Op.type.4a0 = struct_value () [concrete] -// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.32d) [concrete] -// CHECK:STDOUT: %Copy.WithSelf.Op.type.afe: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] -// CHECK:STDOUT: %.a5f: type = fn_type_with_self_type %Copy.WithSelf.Op.type.afe, %Copy.facet [concrete] -// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.c4a, @Int.as.Copy.impl.Op(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.2f2: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%N) [symbolic] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.a64: %Int.as.Copy.impl.Op.type.2f2 = struct_value () [symbolic] +// CHECK:STDOUT: %Copy.impl_witness.1a4: = impl_witness imports.%Copy.impl_witness_table.0ac, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.type.422: type = fn_type @Int.as.Copy.impl.Op, @Int.as.Copy.impl(%int_32) [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.ce7: %Int.as.Copy.impl.Op.type.422 = struct_value () [concrete] +// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.1a4) [concrete] +// CHECK:STDOUT: %Copy.WithSelf.Op.type.7e2: type = fn_type @Copy.WithSelf.Op, @Copy.WithSelf(%Copy.facet) [concrete] +// CHECK:STDOUT: %.604: type = fn_type_with_self_type %Copy.WithSelf.Op.type.7e2, %Copy.facet [concrete] +// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: = specific_function %Int.as.Copy.impl.Op.ce7, @Int.as.Copy.impl.Op(%int_32) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.809: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.b5d) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.c85)] -// CHECK:STDOUT: %Copy.impl_witness_table.07a = impl_witness_table (%Core.import_ref.809), @Int.as.Copy.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.55f: @Int.as.Copy.impl.%Int.as.Copy.impl.Op.type (%Int.as.Copy.impl.Op.type.2f2) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Int.as.Copy.impl.%Int.as.Copy.impl.Op (constants.%Int.as.Copy.impl.Op.a64)] +// CHECK:STDOUT: %Copy.impl_witness_table.0ac = impl_witness_table (%Core.import_ref.55f), @Int.as.Copy.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @G() -> out %return.param: %tuple.type.87c { +// CHECK:STDOUT: fn @G() -> out %return.param: %tuple.type.e5a { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.624 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.624 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.7d6 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.7d6 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref %tuple.type.87c = var %v.var_patt +// CHECK:STDOUT: %v.var: ref %tuple.type.e5a = var %v.var_patt // CHECK:STDOUT: %F.ref.loc7: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %.loc7_3: ref %tuple.type.87c = splice_block %v.var {} -// CHECK:STDOUT: %F.call.loc7: init %tuple.type.87c to %.loc7_3 = call %F.ref.loc7() +// CHECK:STDOUT: %.loc7_3: ref %tuple.type.e5a = splice_block %v.var {} +// CHECK:STDOUT: %F.call.loc7: init %tuple.type.e5a to %.loc7_3 = call %F.ref.loc7() // CHECK:STDOUT: assign %v.var, %F.call.loc7 -// CHECK:STDOUT: %.loc7_19.1: type = splice_block %.loc7_19.3 [concrete = constants.%tuple.type.87c] { +// CHECK:STDOUT: %.loc7_19.1: type = splice_block %.loc7_19.3 [concrete = constants.%tuple.type.e5a] { // CHECK:STDOUT: %i32.loc7_11: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc7_16: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc7_19.2: %tuple.type.24b = tuple_literal (%i32.loc7_11, %i32.loc7_16) [concrete = constants.%tuple.8e3] -// CHECK:STDOUT: %.loc7_19.3: type = converted %.loc7_19.2, constants.%tuple.type.87c [concrete = constants.%tuple.type.87c] +// CHECK:STDOUT: %.loc7_19.2: %tuple.type.24b = tuple_literal (%i32.loc7_11, %i32.loc7_16) [concrete = constants.%tuple.79d] +// CHECK:STDOUT: %.loc7_19.3: type = converted %.loc7_19.2, constants.%tuple.type.e5a [concrete = constants.%tuple.type.e5a] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref %tuple.type.87c = ref_binding v, %v.var -// CHECK:STDOUT: %v.ref: ref %tuple.type.87c = name_ref v, %v +// CHECK:STDOUT: %v: ref %tuple.type.e5a = ref_binding v, %v.var +// CHECK:STDOUT: %v.ref: ref %tuple.type.e5a = name_ref v, %v // CHECK:STDOUT: %F.ref.loc8: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %.loc8: ref %tuple.type.87c = splice_block %v.ref {} -// CHECK:STDOUT: %F.call.loc8: init %tuple.type.87c to %.loc8 = call %F.ref.loc8() +// CHECK:STDOUT: %.loc8: ref %tuple.type.e5a = splice_block %v.ref {} +// CHECK:STDOUT: %F.call.loc8: init %tuple.type.e5a to %.loc8 = call %F.ref.loc8() // CHECK:STDOUT: assign %v.ref, %F.call.loc8 // CHECK:STDOUT: %F.ref.loc9: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] // CHECK:STDOUT: -// CHECK:STDOUT: %F.call.loc9: init %tuple.type.87c to %.loc5_20.1 = call %F.ref.loc9() -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %F.call.loc9: init %tuple.type.e5a to %.loc5_20.1 = call %F.ref.loc9() +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: return %F.call.loc9 to %return.param // CHECK:STDOUT: } @@ -120,7 +120,7 @@ fn H() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc7_3.3(%self.param: ref %tuple.type.87c) { +// CHECK:STDOUT: fn @Destroy.Op.loc7_3.3(%self.param: ref %tuple.type.e5a) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -128,18 +128,18 @@ fn H() { // CHECK:STDOUT: fn @H() -> out %return.param: %i32 { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %G.ref: %G.type = name_ref G, file.%G.decl [concrete = constants.%G] -// CHECK:STDOUT: %.loc15_12.1: ref %tuple.type.87c = temporary_storage -// CHECK:STDOUT: %G.call: init %tuple.type.87c to %.loc15_12.1 = call %G.ref() +// CHECK:STDOUT: %.loc15_12.1: ref %tuple.type.e5a = temporary_storage +// CHECK:STDOUT: %G.call: init %tuple.type.e5a to %.loc15_12.1 = call %G.ref() // CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0] -// CHECK:STDOUT: %.loc15_12.2: ref %tuple.type.87c = temporary %.loc15_12.1, %G.call +// CHECK:STDOUT: %.loc15_12.2: ref %tuple.type.e5a = temporary %.loc15_12.1, %G.call // CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %.loc15_12.2, element0 // CHECK:STDOUT: %.loc15_13: %i32 = acquire_value %tuple.elem0 -// CHECK:STDOUT: %impl.elem0: %.a5f = impl_witness_access constants.%Copy.impl_witness.32d, element0 [concrete = constants.%Int.as.Copy.impl.Op.c4a] +// CHECK:STDOUT: %impl.elem0: %.604 = impl_witness_access constants.%Copy.impl_witness.1a4, element0 [concrete = constants.%Int.as.Copy.impl.Op.ce7] // CHECK:STDOUT: %bound_method.loc15_13.1: = bound_method %.loc15_13, %impl.elem0 // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn] // CHECK:STDOUT: %bound_method.loc15_13.2: = bound_method %.loc15_13, %specific_fn // CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc15_13.2(%.loc15_13) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc15_12.2, constants.%Destroy.Op.1dc86d.3 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.loc15_12.2, constants.%Destroy.Op.2dd605.3 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.loc15_12.2) // CHECK:STDOUT: return %Int.as.Copy.impl.Op.call // CHECK:STDOUT: } @@ -151,83 +151,83 @@ fn H() { // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %tuple.type.ff9: type = tuple_type (type, type, type) [concrete] -// CHECK:STDOUT: %tuple.bed: %tuple.type.ff9 = tuple_value (%i32, %i32, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.a64: type = tuple_type (%i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.27c: %tuple.type.ff9 = tuple_value (%i32, %i32, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.05f: type = tuple_type (%i32, %i32, %i32) [concrete] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.f9f: type = tuple_type (%tuple.type.ff9, %tuple.type.ff9) [concrete] -// CHECK:STDOUT: %tuple.001: %tuple.type.f9f = tuple_value (%tuple.bed, %tuple.bed) [concrete] -// CHECK:STDOUT: %tuple.type.f3b: type = tuple_type (%tuple.type.a64, %tuple.type.a64) [concrete] +// CHECK:STDOUT: %tuple.d3b: %tuple.type.f9f = tuple_value (%tuple.27c, %tuple.27c) [concrete] +// CHECK:STDOUT: %tuple.type.657: type = tuple_type (%tuple.type.05f, %tuple.type.05f) [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] -// CHECK:STDOUT: %pattern_type.9c9: type = pattern_type %tuple.type.f3b [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.4: type = fn_type @Destroy.Op.loc7_3.4 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.4: %Destroy.Op.type.af7ec0.4 = struct_value () [concrete] +// CHECK:STDOUT: %pattern_type.f75: type = pattern_type %tuple.type.657 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.4: type = fn_type @Destroy.Op.loc7_3.4 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.4: %Destroy.Op.type.790b3b.4 = struct_value () [concrete] // CHECK:STDOUT: %tuple.type.3a3: type = tuple_type (type, %tuple.type.ff9, type) [concrete] -// CHECK:STDOUT: %tuple.488: %tuple.type.3a3 = tuple_value (%i32, %tuple.bed, %i32) [concrete] -// CHECK:STDOUT: %tuple.type.680: type = tuple_type (%i32, %tuple.type.a64, %i32) [concrete] -// CHECK:STDOUT: %pattern_type.283: type = pattern_type %tuple.type.680 [concrete] +// CHECK:STDOUT: %tuple.1c0: %tuple.type.3a3 = tuple_value (%i32, %tuple.27c, %i32) [concrete] +// CHECK:STDOUT: %tuple.type.8e6: type = tuple_type (%i32, %tuple.type.05f, %i32) [concrete] +// CHECK:STDOUT: %pattern_type.f5e: type = pattern_type %tuple.type.8e6 [concrete] // CHECK:STDOUT: %int_1.5b8: Core.IntLiteral = int_value 1 [concrete] // CHECK:STDOUT: %int_2.ecc: Core.IntLiteral = int_value 2 [concrete] -// CHECK:STDOUT: %tuple.type.f09: type = tuple_type (Core.IntLiteral, %tuple.type.a64, Core.IntLiteral) [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %tuple.type.274: type = tuple_type (Core.IntLiteral, %tuple.type.05f, Core.IntLiteral) [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] -// CHECK:STDOUT: %bound_method.33d: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_1.d5e: %i32 = int_value 1 [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %bound_method.cc3: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_2.4ff: %i32 = int_value 2 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.5: type = fn_type @Destroy.Op.loc13 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.5: %Destroy.Op.type.af7ec0.5 = struct_value () [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %bound_method.e5b: = bound_method %int_1.5b8, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_1.d9c: %i32 = int_value 1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %bound_method.7d5: = bound_method %int_2.ecc, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] +// CHECK:STDOUT: %int_2.228: %i32 = int_value 2 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.5: type = fn_type @Destroy.Op.loc13 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.5: %Destroy.Op.type.790b3b.5 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @G() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.9c9 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.9c9 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.f75 = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.f75 = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref %tuple.type.f3b = var %v.var_patt +// CHECK:STDOUT: %v.var: ref %tuple.type.657 = var %v.var_patt // CHECK:STDOUT: %F.ref.loc7_55: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %tuple.elem0: ref %tuple.type.a64 = tuple_access %v.var, element0 -// CHECK:STDOUT: %F.call.loc7_57: init %tuple.type.a64 to %tuple.elem0 = call %F.ref.loc7_55() +// CHECK:STDOUT: %tuple.elem0: ref %tuple.type.05f = tuple_access %v.var, element0 +// CHECK:STDOUT: %F.call.loc7_57: init %tuple.type.05f to %tuple.elem0 = call %F.ref.loc7_55() // CHECK:STDOUT: %F.ref.loc7_60: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %tuple.elem1: ref %tuple.type.a64 = tuple_access %v.var, element1 -// CHECK:STDOUT: %F.call.loc7_62: init %tuple.type.a64 to %tuple.elem1 = call %F.ref.loc7_60() -// CHECK:STDOUT: %.loc7_63.1: %tuple.type.f3b = tuple_literal (%F.call.loc7_57, %F.call.loc7_62) -// CHECK:STDOUT: %.loc7_63.2: init %tuple.type.f3b to %v.var = tuple_init (%F.call.loc7_57, %F.call.loc7_62) -// CHECK:STDOUT: %.loc7_3: init %tuple.type.f3b = converted %.loc7_63.1, %.loc7_63.2 +// CHECK:STDOUT: %tuple.elem1: ref %tuple.type.05f = tuple_access %v.var, element1 +// CHECK:STDOUT: %F.call.loc7_62: init %tuple.type.05f to %tuple.elem1 = call %F.ref.loc7_60() +// CHECK:STDOUT: %.loc7_63.1: %tuple.type.657 = tuple_literal (%F.call.loc7_57, %F.call.loc7_62) +// CHECK:STDOUT: %.loc7_63.2: init %tuple.type.657 to %v.var = tuple_init (%F.call.loc7_57, %F.call.loc7_62) +// CHECK:STDOUT: %.loc7_3: init %tuple.type.657 = converted %.loc7_63.1, %.loc7_63.2 // CHECK:STDOUT: assign %v.var, %.loc7_3 -// CHECK:STDOUT: %.loc7_50.1: type = splice_block %.loc7_50.5 [concrete = constants.%tuple.type.f3b] { +// CHECK:STDOUT: %.loc7_50.1: type = splice_block %.loc7_50.5 [concrete = constants.%tuple.type.657] { // CHECK:STDOUT: %i32.loc7_19: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc7_24: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc7_29: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc7_32: %tuple.type.ff9 = tuple_literal (%i32.loc7_19, %i32.loc7_24, %i32.loc7_29) [concrete = constants.%tuple.bed] +// CHECK:STDOUT: %.loc7_32: %tuple.type.ff9 = tuple_literal (%i32.loc7_19, %i32.loc7_24, %i32.loc7_29) [concrete = constants.%tuple.27c] // CHECK:STDOUT: %i32.loc7_36: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc7_41: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc7_46: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc7_49: %tuple.type.ff9 = tuple_literal (%i32.loc7_36, %i32.loc7_41, %i32.loc7_46) [concrete = constants.%tuple.bed] -// CHECK:STDOUT: %.loc7_50.2: %tuple.type.f9f = tuple_literal (%.loc7_32, %.loc7_49) [concrete = constants.%tuple.001] -// CHECK:STDOUT: %.loc7_50.3: type = converted constants.%tuple.bed, constants.%tuple.type.a64 [concrete = constants.%tuple.type.a64] -// CHECK:STDOUT: %.loc7_50.4: type = converted constants.%tuple.bed, constants.%tuple.type.a64 [concrete = constants.%tuple.type.a64] -// CHECK:STDOUT: %.loc7_50.5: type = converted %.loc7_50.2, constants.%tuple.type.f3b [concrete = constants.%tuple.type.f3b] +// CHECK:STDOUT: %.loc7_49: %tuple.type.ff9 = tuple_literal (%i32.loc7_36, %i32.loc7_41, %i32.loc7_46) [concrete = constants.%tuple.27c] +// CHECK:STDOUT: %.loc7_50.2: %tuple.type.f9f = tuple_literal (%.loc7_32, %.loc7_49) [concrete = constants.%tuple.d3b] +// CHECK:STDOUT: %.loc7_50.3: type = converted constants.%tuple.27c, constants.%tuple.type.05f [concrete = constants.%tuple.type.05f] +// CHECK:STDOUT: %.loc7_50.4: type = converted constants.%tuple.27c, constants.%tuple.type.05f [concrete = constants.%tuple.type.05f] +// CHECK:STDOUT: %.loc7_50.5: type = converted %.loc7_50.2, constants.%tuple.type.657 [concrete = constants.%tuple.type.657] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref %tuple.type.f3b = ref_binding v, %v.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.4 +// CHECK:STDOUT: %v: ref %tuple.type.657 = ref_binding v, %v.var +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.4 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -239,12 +239,12 @@ fn H() { // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc7_3.3(%self.param: ref %tuple.type.a64) { +// CHECK:STDOUT: fn @Destroy.Op.loc7_3.3(%self.param: ref %tuple.type.05f) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc7_3.4(%self.param: ref %tuple.type.f3b) { +// CHECK:STDOUT: fn @Destroy.Op.loc7_3.4(%self.param: ref %tuple.type.657) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -252,53 +252,53 @@ fn H() { // CHECK:STDOUT: fn @H() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: name_binding_decl { -// CHECK:STDOUT: %v.patt: %pattern_type.283 = ref_binding_pattern v [concrete] -// CHECK:STDOUT: %v.var_patt: %pattern_type.283 = var_pattern %v.patt [concrete] +// CHECK:STDOUT: %v.patt: %pattern_type.f5e = ref_binding_pattern v [concrete] +// CHECK:STDOUT: %v.var_patt: %pattern_type.f5e = var_pattern %v.patt [concrete] // CHECK:STDOUT: } -// CHECK:STDOUT: %v.var: ref %tuple.type.680 = var %v.var_patt +// CHECK:STDOUT: %v.var: ref %tuple.type.8e6 = var %v.var_patt // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1.5b8] // CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F] -// CHECK:STDOUT: %tuple.elem1: ref %tuple.type.a64 = tuple_access %v.var, element1 -// CHECK:STDOUT: %F.call: init %tuple.type.a64 to %tuple.elem1 = call %F.ref() +// CHECK:STDOUT: %tuple.elem1: ref %tuple.type.05f = tuple_access %v.var, element1 +// CHECK:STDOUT: %F.call: init %tuple.type.05f to %tuple.elem1 = call %F.ref() // CHECK:STDOUT: %int_2: Core.IntLiteral = int_value 2 [concrete = constants.%int_2.ecc] -// CHECK:STDOUT: %.loc13_57.1: %tuple.type.f09 = tuple_literal (%int_1, %F.call, %int_2) -// CHECK:STDOUT: %impl.elem0.loc13_57.1: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc13_57.1: = bound_method %int_1, %impl.elem0.loc13_57.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c0d] +// CHECK:STDOUT: %.loc13_57.1: %tuple.type.274 = tuple_literal (%int_1, %F.call, %int_2) +// CHECK:STDOUT: %impl.elem0.loc13_57.1: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc13_57.1: = bound_method %int_1, %impl.elem0.loc13_57.1 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.c1a] // CHECK:STDOUT: %specific_fn.loc13_57.1: = specific_function %impl.elem0.loc13_57.1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_57.2: = bound_method %int_1, %specific_fn.loc13_57.1 [concrete = constants.%bound_method.33d] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_57.1: init %i32 = call %bound_method.loc13_57.2(%int_1) [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %.loc13_57.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_57.1 [concrete = constants.%int_1.d5e] +// CHECK:STDOUT: %bound_method.loc13_57.2: = bound_method %int_1, %specific_fn.loc13_57.1 [concrete = constants.%bound_method.e5b] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_57.1: init %i32 = call %bound_method.loc13_57.2(%int_1) [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %.loc13_57.2: init %i32 = converted %int_1, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_57.1 [concrete = constants.%int_1.d9c] // CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %v.var, element0 -// CHECK:STDOUT: %.loc13_57.3: init %i32 to %tuple.elem0 = in_place_init %.loc13_57.2 [concrete = constants.%int_1.d5e] -// CHECK:STDOUT: %impl.elem0.loc13_57.2: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] -// CHECK:STDOUT: %bound_method.loc13_57.3: = bound_method %int_2, %impl.elem0.loc13_57.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.22e] +// CHECK:STDOUT: %.loc13_57.3: init %i32 to %tuple.elem0 = in_place_init %.loc13_57.2 [concrete = constants.%int_1.d9c] +// CHECK:STDOUT: %impl.elem0.loc13_57.2: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] +// CHECK:STDOUT: %bound_method.loc13_57.3: = bound_method %int_2, %impl.elem0.loc13_57.2 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound.bf7] // CHECK:STDOUT: %specific_fn.loc13_57.2: = specific_function %impl.elem0.loc13_57.2, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] -// CHECK:STDOUT: %bound_method.loc13_57.4: = bound_method %int_2, %specific_fn.loc13_57.2 [concrete = constants.%bound_method.cc3] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_57.2: init %i32 = call %bound_method.loc13_57.4(%int_2) [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc13_57.4: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_57.2 [concrete = constants.%int_2.4ff] +// CHECK:STDOUT: %bound_method.loc13_57.4: = bound_method %int_2, %specific_fn.loc13_57.2 [concrete = constants.%bound_method.7d5] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_57.2: init %i32 = call %bound_method.loc13_57.4(%int_2) [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc13_57.4: init %i32 = converted %int_2, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call.loc13_57.2 [concrete = constants.%int_2.228] // CHECK:STDOUT: %tuple.elem2: ref %i32 = tuple_access %v.var, element2 -// CHECK:STDOUT: %.loc13_57.5: init %i32 to %tuple.elem2 = in_place_init %.loc13_57.4 [concrete = constants.%int_2.4ff] -// CHECK:STDOUT: %.loc13_57.6: init %tuple.type.680 to %v.var = tuple_init (%.loc13_57.3, %F.call, %.loc13_57.5) -// CHECK:STDOUT: %.loc13_3: init %tuple.type.680 = converted %.loc13_57.1, %.loc13_57.6 +// CHECK:STDOUT: %.loc13_57.5: init %i32 to %tuple.elem2 = in_place_init %.loc13_57.4 [concrete = constants.%int_2.228] +// CHECK:STDOUT: %.loc13_57.6: init %tuple.type.8e6 to %v.var = tuple_init (%.loc13_57.3, %F.call, %.loc13_57.5) +// CHECK:STDOUT: %.loc13_3: init %tuple.type.8e6 = converted %.loc13_57.1, %.loc13_57.6 // CHECK:STDOUT: assign %v.var, %.loc13_3 -// CHECK:STDOUT: %.loc13_43.1: type = splice_block %.loc13_43.4 [concrete = constants.%tuple.type.680] { +// CHECK:STDOUT: %.loc13_43.1: type = splice_block %.loc13_43.4 [concrete = constants.%tuple.type.8e6] { // CHECK:STDOUT: %i32.loc13_18: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc13_24: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc13_29: type = type_literal constants.%i32 [concrete = constants.%i32] // CHECK:STDOUT: %i32.loc13_34: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc13_37: %tuple.type.ff9 = tuple_literal (%i32.loc13_24, %i32.loc13_29, %i32.loc13_34) [concrete = constants.%tuple.bed] +// CHECK:STDOUT: %.loc13_37: %tuple.type.ff9 = tuple_literal (%i32.loc13_24, %i32.loc13_29, %i32.loc13_34) [concrete = constants.%tuple.27c] // CHECK:STDOUT: %i32.loc13_40: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.loc13_43.2: %tuple.type.3a3 = tuple_literal (%i32.loc13_18, %.loc13_37, %i32.loc13_40) [concrete = constants.%tuple.488] -// CHECK:STDOUT: %.loc13_43.3: type = converted constants.%tuple.bed, constants.%tuple.type.a64 [concrete = constants.%tuple.type.a64] -// CHECK:STDOUT: %.loc13_43.4: type = converted %.loc13_43.2, constants.%tuple.type.680 [concrete = constants.%tuple.type.680] +// CHECK:STDOUT: %.loc13_43.2: %tuple.type.3a3 = tuple_literal (%i32.loc13_18, %.loc13_37, %i32.loc13_40) [concrete = constants.%tuple.1c0] +// CHECK:STDOUT: %.loc13_43.3: type = converted constants.%tuple.27c, constants.%tuple.type.05f [concrete = constants.%tuple.type.05f] +// CHECK:STDOUT: %.loc13_43.4: type = converted %.loc13_43.2, constants.%tuple.type.8e6 [concrete = constants.%tuple.type.8e6] // CHECK:STDOUT: } -// CHECK:STDOUT: %v: ref %tuple.type.680 = ref_binding v, %v.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.1dc86d.5 +// CHECK:STDOUT: %v: ref %tuple.type.8e6 = ref_binding v, %v.var +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %v.var, constants.%Destroy.Op.2dd605.5 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%v.var) // CHECK:STDOUT: // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: fn @Destroy.Op.loc13(%self.param: ref %tuple.type.680) { +// CHECK:STDOUT: fn @Destroy.Op.loc13(%self.param: ref %tuple.type.8e6) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/tuple/tuple_pattern.carbon b/toolchain/check/testdata/tuple/tuple_pattern.carbon index 0b5d5597fbcb..7da5dcb0b75f 100644 --- a/toolchain/check/testdata/tuple/tuple_pattern.carbon +++ b/toolchain/check/testdata/tuple/tuple_pattern.carbon @@ -105,8 +105,8 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %pattern_type.de4: type = pattern_type %tuple.type.b6b [concrete] // CHECK:STDOUT: %pattern_type.a96: type = pattern_type %empty_struct_type [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc8_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @F(%v.param: %tuple.type.b6b) { @@ -199,9 +199,9 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: %.loc8_33.3: type = converted %.loc8_33.2, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: } // CHECK:STDOUT: %d: ref %empty_struct_type = ref_binding d, %tuple.elem1.loc8_3 -// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %.var.loc8, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc8: = bound_method %.var.loc8, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc8: init %empty_tuple.type = call %Destroy.Op.bound.loc8(%.var.loc8) -// CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %.var.loc7, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %.var.loc7, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc7: init %empty_tuple.type = call %Destroy.Op.bound.loc7(%.var.loc7) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -223,8 +223,8 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: %tuple: %tuple.type.b6b = tuple_value (%empty_struct, %empty_struct) [concrete] // CHECK:STDOUT: %pattern_type.de4: type = pattern_type %tuple.type.b6b [concrete] // CHECK:STDOUT: %pattern_type.a96: type = pattern_type %empty_struct_type [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc7_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc7_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: %MakeTuple.type: type = fn_type @MakeTuple [concrete] // CHECK:STDOUT: %MakeTuple: %MakeTuple.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -292,9 +292,9 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: %.loc7_33.3: type = converted %.loc7_33.2, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: } // CHECK:STDOUT: %y: ref %empty_struct_type = ref_binding y, %tuple.elem1.loc7_3 -// CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc7: = bound_method %.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc7: init %empty_tuple.type = call %Destroy.Op.bound.loc7(%.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc6: = bound_method %tuple.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc6: = bound_method %tuple.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc6: init %empty_tuple.type = call %Destroy.Op.bound.loc6(%tuple.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -362,7 +362,7 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: %.loc14_33.3: type = converted %.loc14_33.2, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: } // CHECK:STDOUT: %y: ref %empty_struct_type = ref_binding y, %tuple.elem1.loc14_3 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -392,7 +392,7 @@ let (a: {}, b: {}) = ({}, {}, {}); // CHECK:STDOUT: %.loc22_33.3: type = converted %.loc22_33.2, constants.%empty_struct_type [concrete = constants.%empty_struct_type] // CHECK:STDOUT: } // CHECK:STDOUT: %y: ref %empty_struct_type = ref_binding y, %tuple.elem1 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.var) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/var/export_name.carbon b/toolchain/check/testdata/var/export_name.carbon index 44a153740aae..62d428901ad9 100644 --- a/toolchain/check/testdata/var/export_name.carbon +++ b/toolchain/check/testdata/var/export_name.carbon @@ -50,13 +50,13 @@ var w: () = v; // CHECK:STDOUT: %pattern_type.cb1: type = pattern_type %empty_tuple.type [concrete] // CHECK:STDOUT: %DefaultOrUnformed.type: type = facet_type <@DefaultOrUnformed> [concrete] // CHECK:STDOUT: %T.67d: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.d5a: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.9f4: %T.as.DefaultOrUnformed.impl.Op.type.d5a = struct_value () [symbolic] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.918: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.f82, @T.as.DefaultOrUnformed.impl(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.290: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%empty_tuple.type) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.876: %T.as.DefaultOrUnformed.impl.Op.type.290 = struct_value () [concrete] -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %empty_tuple.type, (%DefaultOrUnformed.impl_witness.918) [concrete] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.876, @T.as.DefaultOrUnformed.impl.Op(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.bbe: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%T.67d) [symbolic] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.8f6: %T.as.DefaultOrUnformed.impl.Op.type.bbe = struct_value () [symbolic] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness.bfb: = impl_witness imports.%DefaultOrUnformed.impl_witness_table.597, @T.as.DefaultOrUnformed.impl(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.type.7d9: type = fn_type @T.as.DefaultOrUnformed.impl.Op, @T.as.DefaultOrUnformed.impl(%empty_tuple.type) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.91c: %T.as.DefaultOrUnformed.impl.Op.type.7d9 = struct_value () [concrete] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value %empty_tuple.type, (%DefaultOrUnformed.impl_witness.bfb) [concrete] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function %T.as.DefaultOrUnformed.impl.Op.91c, @T.as.DefaultOrUnformed.impl.Op(%empty_tuple.type) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -66,8 +66,8 @@ var w: () = v; // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } // CHECK:STDOUT: %Core.DefaultOrUnformed: type = import_ref Core//prelude/parts/default, DefaultOrUnformed, loaded [concrete = constants.%DefaultOrUnformed.type] -// CHECK:STDOUT: %Core.import_ref.b30: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.d5a) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.9f4)] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.f82 = impl_witness_table (%Core.import_ref.b30), @T.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.1d0: @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op.type (%T.as.DefaultOrUnformed.impl.Op.type.bbe) = import_ref Core//prelude/parts/default, loc{{\d+_\d+}}, loaded [symbolic = @T.as.DefaultOrUnformed.impl.%T.as.DefaultOrUnformed.impl.Op (constants.%T.as.DefaultOrUnformed.impl.Op.8f6)] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table.597 = impl_witness_table (%Core.import_ref.1d0), @T.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -90,11 +90,11 @@ var w: () = v; // CHECK:STDOUT: // CHECK:STDOUT: fn @__global_init() { // CHECK:STDOUT: !entry: -// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%empty_tuple.type, (constants.%DefaultOrUnformed.impl_witness.918) [concrete = constants.%DefaultOrUnformed.facet] +// CHECK:STDOUT: %DefaultOrUnformed.facet: %DefaultOrUnformed.type = facet_value constants.%empty_tuple.type, (constants.%DefaultOrUnformed.impl_witness.bfb) [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %.loc4_10.1: %DefaultOrUnformed.type = converted constants.%empty_tuple.type, %DefaultOrUnformed.facet [concrete = constants.%DefaultOrUnformed.facet] // CHECK:STDOUT: %as_type: type = facet_access_type %.loc4_10.1 [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: %.loc4_10.2: type = converted %.loc4_10.1, %as_type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.876, @T.as.DefaultOrUnformed.impl.Op(constants.%empty_tuple.type) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] +// CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.specific_fn: = specific_function constants.%T.as.DefaultOrUnformed.impl.Op.91c, @T.as.DefaultOrUnformed.impl.Op(constants.%empty_tuple.type) [concrete = constants.%T.as.DefaultOrUnformed.impl.Op.specific_fn] // CHECK:STDOUT: %T.as.DefaultOrUnformed.impl.Op.call: init %empty_tuple.type = call %T.as.DefaultOrUnformed.impl.Op.specific_fn() // CHECK:STDOUT: assign file.%v.var, %T.as.DefaultOrUnformed.impl.Op.call // CHECK:STDOUT: return diff --git a/toolchain/check/testdata/var/fail_init_type_mismatch.carbon b/toolchain/check/testdata/var/fail_init_type_mismatch.carbon index afb143f73963..6f81c05966aa 100644 --- a/toolchain/check/testdata/var/fail_init_type_mismatch.carbon +++ b/toolchain/check/testdata/var/fail_init_type_mismatch.carbon @@ -29,8 +29,8 @@ var x: {} = (); // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %pattern_type.a96: type = pattern_type %empty_struct_type [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -39,7 +39,7 @@ var x: {} = (); // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { diff --git a/toolchain/check/testdata/var/fail_storage_is_literal.carbon b/toolchain/check/testdata/var/fail_storage_is_literal.carbon index f22f36e12f06..670647c522c3 100644 --- a/toolchain/check/testdata/var/fail_storage_is_literal.carbon +++ b/toolchain/check/testdata/var/fail_storage_is_literal.carbon @@ -29,8 +29,8 @@ fn Main() { // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.649: type = generic_interface_type @ImplicitAs [concrete] -// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.649 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.type.754: type = generic_interface_type @ImplicitAs [concrete] +// CHECK:STDOUT: %ImplicitAs.generic: %ImplicitAs.type.754 = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -41,7 +41,7 @@ fn Main() { // CHECK:STDOUT: import Core//prelude // CHECK:STDOUT: import Core//prelude/... // CHECK:STDOUT: } -// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.649 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] +// CHECK:STDOUT: %Core.ImplicitAs: %ImplicitAs.type.754 = import_ref Core//prelude/parts/as, ImplicitAs, loaded [concrete = constants.%ImplicitAs.generic] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/var/global_decl.carbon b/toolchain/check/testdata/var/global_decl.carbon index ca8b60746256..0b1695fca97d 100644 --- a/toolchain/check/testdata/var/global_decl.carbon +++ b/toolchain/check/testdata/var/global_decl.carbon @@ -22,7 +22,7 @@ var x: {.v: ()} = {.v = ()}; // CHECK:STDOUT: %struct_type.v: type = struct_type {.v: %empty_tuple.type} [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.v [concrete] // CHECK:STDOUT: %struct: %struct_type.v = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.39a: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete] +// CHECK:STDOUT: %.327: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -43,7 +43,7 @@ var x: {.v: ()} = {.v = ()}; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc14_26.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc14_27.1: %struct_type.v = struct_literal (%.loc14_26.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc14_27.2: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete = constants.%.39a] +// CHECK:STDOUT: %.loc14_27.2: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete = constants.%.327] // CHECK:STDOUT: %.loc14_26.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc14_27.3: init %empty_tuple.type = converted %.loc14_26.1, %.loc14_26.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc14_27.4: init %struct_type.v to file.%x.var = struct_init (%.loc14_27.3) [concrete = constants.%struct] diff --git a/toolchain/check/testdata/var/global_decl_import.carbon b/toolchain/check/testdata/var/global_decl_import.carbon index c0079f2bccda..2ed5764997f2 100644 --- a/toolchain/check/testdata/var/global_decl_import.carbon +++ b/toolchain/check/testdata/var/global_decl_import.carbon @@ -35,7 +35,7 @@ fn G() -> {.v: ()} { // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %struct_type.v: type = struct_type {.v: %empty_tuple.type} [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.v [concrete] -// CHECK:STDOUT: %.647: ref %empty_tuple.type = struct_access imports.%x.var, element0 [concrete] +// CHECK:STDOUT: %.327: ref %empty_tuple.type = struct_access imports.%x.var, element0 [concrete] // CHECK:STDOUT: %struct: %struct_type.v = struct_value (%empty_tuple) [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: @@ -49,7 +49,7 @@ fn G() -> {.v: ()} { // CHECK:STDOUT: fn @G() -> out %return.param: %struct_type.v { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %x.ref: ref %struct_type.v = name_ref x, imports.%Main.x [concrete = imports.%x.var] -// CHECK:STDOUT: %.loc8_10.1: ref %empty_tuple.type = struct_access %x.ref, element0 [concrete = constants.%.647] +// CHECK:STDOUT: %.loc8_10.1: ref %empty_tuple.type = struct_access %x.ref, element0 [concrete = constants.%.327] // CHECK:STDOUT: %.loc8_10.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_10.3: init %empty_tuple.type = converted %.loc8_10.1, %.loc8_10.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc8_10.4: init %struct_type.v = struct_init (%.loc8_10.3) [concrete = constants.%struct] diff --git a/toolchain/check/testdata/var/global_decl_with_init.carbon b/toolchain/check/testdata/var/global_decl_with_init.carbon index 6a61197dee25..4ae3ac4d806a 100644 --- a/toolchain/check/testdata/var/global_decl_with_init.carbon +++ b/toolchain/check/testdata/var/global_decl_with_init.carbon @@ -38,7 +38,7 @@ var (x: (), y: ()) = ((), ()); // CHECK:STDOUT: %struct_type.v: type = struct_type {.v: %empty_tuple.type} [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.v [concrete] // CHECK:STDOUT: %struct: %struct_type.v = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.aff: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete] +// CHECK:STDOUT: %.327: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -62,7 +62,7 @@ var (x: (), y: ()) = ((), ()); // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc4_26.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_27.1: %struct_type.v = struct_literal (%.loc4_26.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc4_27.2: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete = constants.%.aff] +// CHECK:STDOUT: %.loc4_27.2: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete = constants.%.327] // CHECK:STDOUT: %.loc4_26.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_27.3: init %empty_tuple.type = converted %.loc4_26.1, %.loc4_26.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc4_27.4: init %struct_type.v to file.%x.var = struct_init (%.loc4_27.3) [concrete = constants.%struct] diff --git a/toolchain/check/testdata/var/global_lookup.carbon b/toolchain/check/testdata/var/global_lookup.carbon index dd8def1407b7..0047cedfbf7b 100644 --- a/toolchain/check/testdata/var/global_lookup.carbon +++ b/toolchain/check/testdata/var/global_lookup.carbon @@ -23,8 +23,8 @@ var y: {.v: ()} = x; // CHECK:STDOUT: %struct_type.v: type = struct_type {.v: %empty_tuple.type} [concrete] // CHECK:STDOUT: %pattern_type: type = pattern_type %struct_type.v [concrete] // CHECK:STDOUT: %struct: %struct_type.v = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.39a: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete] -// CHECK:STDOUT: %.bd7: ref %empty_tuple.type = struct_access file.%y.var, element0 [concrete] +// CHECK:STDOUT: %.327: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete] +// CHECK:STDOUT: %.5c8: ref %empty_tuple.type = struct_access file.%y.var, element0 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -60,15 +60,15 @@ var y: {.v: ()} = x; // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc15_26.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc15_27.1: %struct_type.v = struct_literal (%.loc15_26.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc15_27.2: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete = constants.%.39a] +// CHECK:STDOUT: %.loc15_27.2: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete = constants.%.327] // CHECK:STDOUT: %.loc15_26.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc15_27.3: init %empty_tuple.type = converted %.loc15_26.1, %.loc15_26.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc15_27.4: init %struct_type.v to file.%x.var = struct_init (%.loc15_27.3) [concrete = constants.%struct] // CHECK:STDOUT: %.loc15_1: init %struct_type.v = converted %.loc15_27.1, %.loc15_27.4 [concrete = constants.%struct] // CHECK:STDOUT: assign file.%x.var, %.loc15_1 // CHECK:STDOUT: %x.ref: ref %struct_type.v = name_ref x, file.%x [concrete = file.%x.var] -// CHECK:STDOUT: %.loc16_19.1: ref %empty_tuple.type = struct_access %x.ref, element0 [concrete = constants.%.39a] -// CHECK:STDOUT: %.loc16_19.2: ref %empty_tuple.type = struct_access file.%y.var, element0 [concrete = constants.%.bd7] +// CHECK:STDOUT: %.loc16_19.1: ref %empty_tuple.type = struct_access %x.ref, element0 [concrete = constants.%.327] +// CHECK:STDOUT: %.loc16_19.2: ref %empty_tuple.type = struct_access file.%y.var, element0 [concrete = constants.%.5c8] // CHECK:STDOUT: %.loc16_19.3: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc16_19.4: init %empty_tuple.type = converted %.loc16_19.1, %.loc16_19.3 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc16_19.5: init %struct_type.v to file.%y.var = struct_init (%.loc16_19.4) [concrete = constants.%struct] diff --git a/toolchain/check/testdata/var/global_lookup_in_scope.carbon b/toolchain/check/testdata/var/global_lookup_in_scope.carbon index c1b3acc39c16..1f2007034355 100644 --- a/toolchain/check/testdata/var/global_lookup_in_scope.carbon +++ b/toolchain/check/testdata/var/global_lookup_in_scope.carbon @@ -28,12 +28,12 @@ fn Main() { // CHECK:STDOUT: %struct_type.v: type = struct_type {.v: %empty_tuple.type} [concrete] // CHECK:STDOUT: %pattern_type.c4c: type = pattern_type %struct_type.v [concrete] // CHECK:STDOUT: %struct: %struct_type.v = struct_value (%empty_tuple) [concrete] -// CHECK:STDOUT: %.39a: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete] +// CHECK:STDOUT: %.327: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete] // CHECK:STDOUT: %Main.type: type = fn_type @Main [concrete] // CHECK:STDOUT: %Main: %Main.type = struct_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc5_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc5_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -74,7 +74,7 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: %y.var: ref %struct_type.v = var %y.var_patt // CHECK:STDOUT: %x.ref: ref %struct_type.v = name_ref x, file.%x [concrete = file.%x.var] -// CHECK:STDOUT: %.loc5_28.1: ref %empty_tuple.type = struct_access %x.ref, element0 [concrete = constants.%.39a] +// CHECK:STDOUT: %.loc5_28.1: ref %empty_tuple.type = struct_access %x.ref, element0 [concrete = constants.%.327] // CHECK:STDOUT: %.loc5_28.2: ref %empty_tuple.type = struct_access %y.var, element0 // CHECK:STDOUT: %.loc5_28.3: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc5_28.4: init %empty_tuple.type = converted %.loc5_28.1, %.loc5_28.3 [concrete = constants.%empty_tuple] @@ -87,7 +87,7 @@ fn Main() { // CHECK:STDOUT: %struct_type.v: type = struct_type {.v: %empty_tuple.type} [concrete = constants.%struct_type.v] // CHECK:STDOUT: } // CHECK:STDOUT: %y: ref %struct_type.v = ref_binding y, %y.var -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %y.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %y.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%y.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -103,7 +103,7 @@ fn Main() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %.loc2_26.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc2_27.1: %struct_type.v = struct_literal (%.loc2_26.1) [concrete = constants.%struct] -// CHECK:STDOUT: %.loc2_27.2: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete = constants.%.39a] +// CHECK:STDOUT: %.loc2_27.2: ref %empty_tuple.type = struct_access file.%x.var, element0 [concrete = constants.%.327] // CHECK:STDOUT: %.loc2_26.2: init %empty_tuple.type = tuple_init () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc2_27.3: init %empty_tuple.type = converted %.loc2_26.1, %.loc2_26.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc2_27.4: init %struct_type.v to file.%x.var = struct_init (%.loc2_27.3) [concrete = constants.%struct] diff --git a/toolchain/check/testdata/var/initialization.carbon b/toolchain/check/testdata/var/initialization.carbon index 55d85352828e..0c938359ec9b 100644 --- a/toolchain/check/testdata/var/initialization.carbon +++ b/toolchain/check/testdata/var/initialization.carbon @@ -115,8 +115,8 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.805: %empty_tuple.type.as.DefaultOrUnformed.impl.Op.type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%empty_tuple.type.as.DefaultOrUnformed.impl.Op] -// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table = impl_witness_table (%Core.import_ref.805), @empty_tuple.type.as.DefaultOrUnformed.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.f63: %empty_tuple.type.as.DefaultOrUnformed.impl.Op.type = import_ref Core//default, loc{{\d+_\d+}}, loaded [concrete = constants.%empty_tuple.type.as.DefaultOrUnformed.impl.Op] +// CHECK:STDOUT: %DefaultOrUnformed.impl_witness_table = impl_witness_table (%Core.import_ref.f63), @empty_tuple.type.as.DefaultOrUnformed.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: fn @Main() { diff --git a/toolchain/check/testdata/var/var_pattern.carbon b/toolchain/check/testdata/var/var_pattern.carbon index 96b1f4b1fc33..6a65eb5c24e9 100644 --- a/toolchain/check/testdata/var/var_pattern.carbon +++ b/toolchain/check/testdata/var/var_pattern.carbon @@ -311,8 +311,8 @@ fn Call() { // CHECK:STDOUT: %pattern_type.5b8: type = pattern_type %tuple.type [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%empty_tuple, %empty_tuple) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc5_3.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc5_3.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -368,7 +368,7 @@ fn Call() { // CHECK:STDOUT: %.loc5_33.3: type = converted %.loc5_33.2, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: } // CHECK:STDOUT: %y: ref %empty_tuple.type = ref_binding y, %tuple.elem1.loc5_3 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -392,8 +392,8 @@ fn Call() { // CHECK:STDOUT: %pattern_type.5b8: type = pattern_type %tuple.type [concrete] // CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%empty_tuple, %empty_tuple) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc5_7.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc5_7.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -449,7 +449,7 @@ fn Call() { // CHECK:STDOUT: %.loc5_37.3: type = converted %.loc5_37.2, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: } // CHECK:STDOUT: %y: ref %empty_tuple.type = ref_binding y, %tuple.elem1.loc5_7 -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -660,16 +660,16 @@ fn Call() { // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] // CHECK:STDOUT: %Self: %Destroy.type = symbolic_binding Self, 0 [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.12b: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Self) [symbolic] -// CHECK:STDOUT: %Destroy.WithSelf.Op.73c: %Destroy.WithSelf.Op.type.12b = struct_value () [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.630: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Self) [symbolic] +// CHECK:STDOUT: %Destroy.WithSelf.Op.821: %Destroy.WithSelf.Op.type.630 = struct_value () [symbolic] // CHECK:STDOUT: %Destroy.assoc_type: type = assoc_entity_type @Destroy [concrete] -// CHECK:STDOUT: %assoc0: %Destroy.assoc_type = assoc_entity element0, imports.%Core.import_ref.1fb [concrete] +// CHECK:STDOUT: %assoc0: %Destroy.assoc_type = assoc_entity element0, imports.%Core.import_ref.818 [concrete] // CHECK:STDOUT: %Destroy.Op.type: type = fn_type @Destroy.Op [concrete] // CHECK:STDOUT: %Destroy.Op: %Destroy.Op.type = struct_value () [concrete] -// CHECK:STDOUT: %custom_witness.340: = custom_witness (%Destroy.Op), @Destroy [concrete] -// CHECK:STDOUT: %Destroy.facet.c29: %Destroy.type = facet_value %empty_tuple.type, (%custom_witness.340) [concrete] -// CHECK:STDOUT: %Destroy.WithSelf.Op.type.b34: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.c29) [concrete] -// CHECK:STDOUT: %.7de: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.b34, %Destroy.facet.c29 [concrete] +// CHECK:STDOUT: %custom_witness.e20: = custom_witness (%Destroy.Op), @Destroy [concrete] +// CHECK:STDOUT: %Destroy.facet.34b: %Destroy.type = facet_value %empty_tuple.type, (%custom_witness.e20) [concrete] +// CHECK:STDOUT: %Destroy.WithSelf.Op.type.c9b: type = fn_type @Destroy.WithSelf.Op, @Destroy.WithSelf(%Destroy.facet.34b) [concrete] +// CHECK:STDOUT: %.be5: type = fn_type_with_self_type %Destroy.WithSelf.Op.type.c9b, %Destroy.facet.34b [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -686,8 +686,8 @@ fn Call() { // CHECK:STDOUT: %y.patt: %pattern_type.cb1 = ref_binding_pattern y [concrete] // CHECK:STDOUT: %y.param_patt: %pattern_type.cb1 = var_param_pattern %y.patt [concrete] // CHECK:STDOUT: %Core.Destroy: type = import_ref Core//prelude/parts/destroy, Destroy, loaded [concrete = constants.%Destroy.type] -// CHECK:STDOUT: %Core.import_ref.d15: %Destroy.assoc_type = import_ref Core//prelude/parts/destroy, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc0] -// CHECK:STDOUT: %Core.import_ref.1fb: @Destroy.WithSelf.%Destroy.WithSelf.Op.type (%Destroy.WithSelf.Op.type.12b) = import_ref Core//prelude/parts/destroy, loc{{\d+_\d+}}, loaded [symbolic = @Destroy.WithSelf.%Destroy.WithSelf.Op (constants.%Destroy.WithSelf.Op.73c)] +// CHECK:STDOUT: %Core.import_ref.8fe: %Destroy.assoc_type = import_ref Core//prelude/parts/destroy, loc{{\d+_\d+}}, loaded [concrete = constants.%assoc0] +// CHECK:STDOUT: %Core.import_ref.818: @Destroy.WithSelf.%Destroy.WithSelf.Op.type (%Destroy.WithSelf.Op.type.630) = import_ref Core//prelude/parts/destroy, loc{{\d+_\d+}}, loaded [symbolic = @Destroy.WithSelf.%Destroy.WithSelf.Op (constants.%Destroy.WithSelf.Op.821)] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { @@ -714,8 +714,8 @@ fn Call() { // CHECK:STDOUT: %.1: init %empty_tuple.type = converted %.loc7_12.1, %.loc7_12.2 [concrete = constants.%empty_tuple] // CHECK:STDOUT: assign %y.var, %.1 // CHECK:STDOUT: %F.call: init %empty_tuple.type = call %F.ref(%.loc7_8.2, %y.var) -// CHECK:STDOUT: %Op.ref: %Destroy.assoc_type = name_ref Op, imports.%Core.import_ref.d15 [concrete = constants.%assoc0] -// CHECK:STDOUT: %impl.elem0: %.7de = impl_witness_access constants.%custom_witness.340, element0 [concrete = constants.%Destroy.Op] +// CHECK:STDOUT: %Op.ref: %Destroy.assoc_type = name_ref Op, imports.%Core.import_ref.8fe [concrete = constants.%assoc0] +// CHECK:STDOUT: %impl.elem0: %.be5 = impl_witness_access constants.%custom_witness.e20, element0 [concrete = constants.%Destroy.Op] // CHECK:STDOUT: %bound_method: = bound_method %y.var, %impl.elem0 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %bound_method(%y.var) // CHECK:STDOUT: return @@ -740,10 +740,10 @@ fn Call() { // CHECK:STDOUT: %tuple.d8f: %tuple.type.bcd = tuple_value (%empty_tuple, %empty_tuple) [concrete] // CHECK:STDOUT: %tuple.c9e: %tuple.type.a21 = tuple_value (%empty_tuple, %tuple.d8f) [concrete] // CHECK:STDOUT: %Destroy.type: type = facet_type <@Destroy> [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.1: type = fn_type @Destroy.Op.loc9_22.1 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.1: %Destroy.Op.type.af7ec0.1 = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc9_22.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.1: type = fn_type @Destroy.Op.loc9_22.1 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.1: %Destroy.Op.type.790b3b.1 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc9_22.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { @@ -815,9 +815,9 @@ fn Call() { // CHECK:STDOUT: %.loc9_56.3: type = converted %.loc9_56.2, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] // CHECK:STDOUT: } // CHECK:STDOUT: %z: ref %empty_tuple.type = ref_binding z, %z.var -// CHECK:STDOUT: %Destroy.Op.bound.loc9_22: = bound_method %.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound.loc9_22: = bound_method %.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call.loc9_22: init %empty_tuple.type = call %Destroy.Op.bound.loc9_22(%.var) -// CHECK:STDOUT: %Destroy.Op.bound.loc9_41: = bound_method %z.var, constants.%Destroy.Op.1dc86d.1 +// CHECK:STDOUT: %Destroy.Op.bound.loc9_41: = bound_method %z.var, constants.%Destroy.Op.2dd605.1 // CHECK:STDOUT: %Destroy.Op.call.loc9_41: init %empty_tuple.type = call %Destroy.Op.bound.loc9_41(%z.var) // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -989,20 +989,20 @@ fn Call() { // CHECK:STDOUT: constants { // CHECK:STDOUT: %X: type = class_type @X [concrete] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] -// CHECK:STDOUT: %pattern_type.d1c: type = pattern_type %X [concrete] +// CHECK:STDOUT: %pattern_type.7b3: type = pattern_type %X [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %TakeVar.type: type = fn_type @TakeVar [concrete] // CHECK:STDOUT: %TakeVar: %TakeVar.type = struct_value () [concrete] // CHECK:STDOUT: %MakeInit.type: type = fn_type @MakeInit [concrete] // CHECK:STDOUT: %MakeInit: %MakeInit.type = struct_value () [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc7_12.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc7_12.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %TakeVar.decl: %TakeVar.type = fn_decl @TakeVar [concrete = constants.%TakeVar] { -// CHECK:STDOUT: %a.patt: %pattern_type.d1c = ref_binding_pattern a [concrete] -// CHECK:STDOUT: %a.param_patt: %pattern_type.d1c = var_param_pattern %a.patt [concrete] +// CHECK:STDOUT: %a.patt: %pattern_type.7b3 = ref_binding_pattern a [concrete] +// CHECK:STDOUT: %a.param_patt: %pattern_type.7b3 = var_param_pattern %a.patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %a.param: ref %X = ref_param call_param0 // CHECK:STDOUT: %X.ref: type = name_ref X, file.%X.decl [concrete = constants.%X] @@ -1020,7 +1020,7 @@ fn Call() { // CHECK:STDOUT: %MakeInit.call: init %X to %a.var = call %MakeInit.ref() // CHECK:STDOUT: assign %a.var, %MakeInit.call // CHECK:STDOUT: %TakeVar.call: init %empty_tuple.type = call %TakeVar.ref(%a.var) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %a.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%a.var) // CHECK:STDOUT: // CHECK:STDOUT: } @@ -1038,38 +1038,38 @@ fn Call() { // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %pattern_type.c6b: type = pattern_type %i32 [concrete] +// CHECK:STDOUT: %pattern_type.104: type = pattern_type %i32 [concrete] // CHECK:STDOUT: %i32.builtin: type = int_type signed, %int_32 [concrete] // CHECK:STDOUT: %TakeVar.type: type = fn_type @TakeVar [concrete] // CHECK:STDOUT: %TakeVar: %TakeVar.type = struct_value () [concrete] // CHECK:STDOUT: %int_123.fff: Core.IntLiteral = int_value 123 [concrete] -// CHECK:STDOUT: %ImplicitAs.type.544: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] +// CHECK:STDOUT: %ImplicitAs.type.360: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete] // CHECK:STDOUT: %To: Core.IntLiteral = symbolic_binding To, 0 [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766 = struct_value () [symbolic] -// CHECK:STDOUT: %ImplicitAs.impl_witness.fb6: = impl_witness imports.%ImplicitAs.impl_witness_table.1a5, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.ef7 = struct_value () [concrete] -// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.544 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.fb6) [concrete] -// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.367: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] -// CHECK:STDOUT: %.205: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.367, %ImplicitAs.facet [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b [concrete] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%To) [symbolic] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048 = struct_value () [symbolic] +// CHECK:STDOUT: %ImplicitAs.impl_witness.3d6: = impl_witness imports.%ImplicitAs.impl_witness_table.0bd, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4: type = fn_type @Core.IntLiteral.as.ImplicitAs.impl.Convert, @Core.IntLiteral.as.ImplicitAs.impl(%int_32) [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1: %Core.IntLiteral.as.ImplicitAs.impl.Convert.type.0a4 = struct_value () [concrete] +// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.360 = facet_value Core.IntLiteral, (%ImplicitAs.impl_witness.3d6) [concrete] +// CHECK:STDOUT: %ImplicitAs.WithSelf.Convert.type.da5: type = fn_type @ImplicitAs.WithSelf.Convert, @ImplicitAs.WithSelf(%i32, %ImplicitAs.facet) [concrete] +// CHECK:STDOUT: %.474: type = fn_type_with_self_type %ImplicitAs.WithSelf.Convert.type.da5, %ImplicitAs.facet [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.bound: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1 [concrete] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn: = specific_function %Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1, @Core.IntLiteral.as.ImplicitAs.impl.Convert(%int_32) [concrete] // CHECK:STDOUT: %bound_method: = bound_method %int_123.fff, %Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn [concrete] -// CHECK:STDOUT: %int_123.5a3: %i32 = int_value 123 [concrete] -// CHECK:STDOUT: %Destroy.Op.type.af7ec0.2: type = fn_type @Destroy.Op.loc5_12.2 [concrete] -// CHECK:STDOUT: %Destroy.Op.1dc86d.2: %Destroy.Op.type.af7ec0.2 = struct_value () [concrete] +// CHECK:STDOUT: %int_123.5b5: %i32 = int_value 123 [concrete] +// CHECK:STDOUT: %Destroy.Op.type.790b3b.2: type = fn_type @Destroy.Op.loc5_12.2 [concrete] +// CHECK:STDOUT: %Destroy.Op.2dd605.2: %Destroy.Op.type.790b3b.2 = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: imports { -// CHECK:STDOUT: %Core.import_ref.dd3: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.766) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ec3)] -// CHECK:STDOUT: %ImplicitAs.impl_witness_table.1a5 = impl_witness_table (%Core.import_ref.dd3), @Core.IntLiteral.as.ImplicitAs.impl [concrete] +// CHECK:STDOUT: %Core.import_ref.b42: @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert.type (%Core.IntLiteral.as.ImplicitAs.impl.Convert.type.048) = import_ref Core//prelude/parts/int, loc{{\d+_\d+}}, loaded [symbolic = @Core.IntLiteral.as.ImplicitAs.impl.%Core.IntLiteral.as.ImplicitAs.impl.Convert (constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e2c)] +// CHECK:STDOUT: %ImplicitAs.impl_witness_table.0bd = impl_witness_table (%Core.import_ref.b42), @Core.IntLiteral.as.ImplicitAs.impl [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %TakeVar.decl: %TakeVar.type = fn_decl @TakeVar [concrete = constants.%TakeVar] { -// CHECK:STDOUT: %n.patt: %pattern_type.c6b = ref_binding_pattern n [concrete] -// CHECK:STDOUT: %n.param_patt: %pattern_type.c6b = var_param_pattern %n.patt [concrete] +// CHECK:STDOUT: %n.patt: %pattern_type.104 = ref_binding_pattern n [concrete] +// CHECK:STDOUT: %n.param_patt: %pattern_type.104 = var_param_pattern %n.patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %n.param: ref %i32 = ref_param call_param0 // CHECK:STDOUT: %i32: type = type_literal constants.%i32 [concrete = constants.%i32] @@ -1083,16 +1083,16 @@ fn Call() { // CHECK:STDOUT: !entry: // CHECK:STDOUT: %TakeVar.ref: %TakeVar.type = name_ref TakeVar, file.%TakeVar.decl [concrete = constants.%TakeVar] // CHECK:STDOUT: %int_123: Core.IntLiteral = int_value 123 [concrete = constants.%int_123.fff] -// CHECK:STDOUT: %impl.elem0: %.205 = impl_witness_access constants.%ImplicitAs.impl_witness.fb6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.e6b] +// CHECK:STDOUT: %impl.elem0: %.474 = impl_witness_access constants.%ImplicitAs.impl_witness.3d6, element0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.ab1] // CHECK:STDOUT: %bound_method.loc5_12.1: = bound_method %int_123, %impl.elem0 [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.bound] // CHECK:STDOUT: %specific_fn: = specific_function %impl.elem0, @Core.IntLiteral.as.ImplicitAs.impl.Convert(constants.%int_32) [concrete = constants.%Core.IntLiteral.as.ImplicitAs.impl.Convert.specific_fn] // CHECK:STDOUT: %bound_method.loc5_12.2: = bound_method %int_123, %specific_fn [concrete = constants.%bound_method] -// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_12.2(%int_123) [concrete = constants.%int_123.5a3] -// CHECK:STDOUT: %.loc5: init %i32 = converted %int_123, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_123.5a3] +// CHECK:STDOUT: %Core.IntLiteral.as.ImplicitAs.impl.Convert.call: init %i32 = call %bound_method.loc5_12.2(%int_123) [concrete = constants.%int_123.5b5] +// CHECK:STDOUT: %.loc5: init %i32 = converted %int_123, %Core.IntLiteral.as.ImplicitAs.impl.Convert.call [concrete = constants.%int_123.5b5] // CHECK:STDOUT: %n.var: ref %i32 = var @TakeVar.%n.param_patt // CHECK:STDOUT: assign %n.var, %.loc5 // CHECK:STDOUT: %TakeVar.call: init %empty_tuple.type = call %TakeVar.ref(%n.var) -// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %n.var, constants.%Destroy.Op.1dc86d.2 +// CHECK:STDOUT: %Destroy.Op.bound: = bound_method %n.var, constants.%Destroy.Op.2dd605.2 // CHECK:STDOUT: %Destroy.Op.call: init %empty_tuple.type = call %Destroy.Op.bound(%n.var) // CHECK:STDOUT: // CHECK:STDOUT: } diff --git a/toolchain/check/testdata/where_expr/constraints.carbon b/toolchain/check/testdata/where_expr/constraints.carbon index 04959be4a6b0..3732592d8283 100644 --- a/toolchain/check/testdata/where_expr/constraints.carbon +++ b/toolchain/check/testdata/where_expr/constraints.carbon @@ -190,8 +190,8 @@ fn F() { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.cd9: %I.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.cd9 [symbolic_self] +// CHECK:STDOUT: %.Self.0a6: %I.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.0a6 [symbolic_self] // CHECK:STDOUT: %pattern_type: type = pattern_type %I.type [concrete] // CHECK:STDOUT: %T: %I.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] @@ -207,8 +207,8 @@ fn F() { // CHECK:STDOUT: %.loc7_12.1: type = splice_block %.loc7_12.2 [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self.loc7_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %.Self.loc7_12: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.cd9] -// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc7_12 [symbolic_self = constants.%.Self.cd9] +// CHECK:STDOUT: %.Self.loc7_12: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.0a6] +// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc7_12 [symbolic_self = constants.%.Self.0a6] // CHECK:STDOUT: %.loc7_30: type = type_literal type [concrete = type] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc7_18: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] @@ -225,8 +225,8 @@ fn F() { // CHECK:STDOUT: %.loc13_12.1: type = splice_block %.loc13_12.2 [concrete = constants.%I.type] { // CHECK:STDOUT: %.Self.loc13_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %.Self.loc13_12: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.cd9] -// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc13_12 [symbolic_self = constants.%.Self.cd9] +// CHECK:STDOUT: %.Self.loc13_12: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.0a6] +// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc13_12 [symbolic_self = constants.%.Self.0a6] // CHECK:STDOUT: %Type.ref: type = name_ref Type, file.%Type [concrete = type] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc13_18: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] @@ -265,8 +265,8 @@ fn F() { // CHECK:STDOUT: %I.type: type = facet_type <@I> [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.6d4: %I.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.6d4 [symbolic_self] +// CHECK:STDOUT: %.Self.0a6: %I.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.0a6 [symbolic_self] // CHECK:STDOUT: %F.type: type = fn_type @F [concrete] // CHECK:STDOUT: %F: %F.type = struct_value () [concrete] // CHECK:STDOUT: } @@ -278,8 +278,8 @@ fn F() { // CHECK:STDOUT: %.loc14_12.1: type = splice_block %.loc14_12.2 [concrete = ] { // CHECK:STDOUT: %.Self.loc14_7: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %.Self.loc14_12: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.6d4] -// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc14_12 [symbolic_self = constants.%.Self.6d4] +// CHECK:STDOUT: %.Self.loc14_12: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.0a6] +// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc14_12 [symbolic_self = constants.%.Self.0a6] // CHECK:STDOUT: %J.ref: = name_ref J, [concrete = ] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc14_18: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] @@ -307,59 +307,59 @@ fn F() { // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%Member [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.394: %I.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.0a6: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %I_where.type.6d2: type = facet_type <@I where TODO> [concrete] -// CHECK:STDOUT: %pattern_type.b18: type = pattern_type %I_where.type.6d2 [concrete] -// CHECK:STDOUT: %U: %I_where.type.6d2 = symbolic_binding U, 0 [symbolic] +// CHECK:STDOUT: %I_where.type.b05: type = facet_type <@I where TODO> [concrete] +// CHECK:STDOUT: %pattern_type.616: type = pattern_type %I_where.type.b05 [concrete] +// CHECK:STDOUT: %U: %I_where.type.b05 = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %EqualEqual.type: type = fn_type @EqualEqual [concrete] // CHECK:STDOUT: %EqualEqual: %EqualEqual.type = struct_value () [concrete] -// CHECK:STDOUT: %.Self.f96: %J.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type.ea2: type = facet_access_type %.Self.f96 [symbolic_self] +// CHECK:STDOUT: %.Self.944: %J.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type.454: type = facet_access_type %.Self.944 [symbolic_self] // CHECK:STDOUT: %J_where.type: type = facet_type <@J where .Self impls @I> [concrete] -// CHECK:STDOUT: %pattern_type.928: type = pattern_type %J_where.type [concrete] +// CHECK:STDOUT: %pattern_type.563: type = pattern_type %J_where.type [concrete] // CHECK:STDOUT: %V: %J_where.type = symbolic_binding V, 0 [symbolic] // CHECK:STDOUT: %Impls.type: type = fn_type @Impls [concrete] // CHECK:STDOUT: %Impls: %Impls.type = struct_value () [concrete] -// CHECK:STDOUT: %.Self.as_type.a9a: type = facet_access_type %.Self.394 [symbolic_self] -// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self.394, @I [symbolic_self] +// CHECK:STDOUT: %.Self.as_type.6e9: type = facet_access_type %.Self.0a6 [symbolic_self] +// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self.0a6, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] -// CHECK:STDOUT: %I_where.type.a58: type = facet_type <@I where .Self impls @J and TODO> [concrete] -// CHECK:STDOUT: %pattern_type.826: type = pattern_type %I_where.type.a58 [concrete] -// CHECK:STDOUT: %W: %I_where.type.a58 = symbolic_binding W, 0 [symbolic] +// CHECK:STDOUT: %I_where.type.852: type = facet_type <@I where .Self impls @J and TODO> [concrete] +// CHECK:STDOUT: %pattern_type.c2c: type = pattern_type %I_where.type.852 [concrete] +// CHECK:STDOUT: %W: %I_where.type.852 = symbolic_binding W, 0 [symbolic] // CHECK:STDOUT: %And.type: type = fn_type @And [concrete] // CHECK:STDOUT: %And: %And.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %EqualEqual.decl: %EqualEqual.type = fn_decl @EqualEqual [concrete = constants.%EqualEqual] { -// CHECK:STDOUT: %U.patt: %pattern_type.b18 = symbolic_binding_pattern U, 0 [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.616 = symbolic_binding_pattern U, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc12_21.1: type = splice_block %.loc12_21.2 [concrete = constants.%I_where.type.6d2] { +// CHECK:STDOUT: %.loc12_21.1: type = splice_block %.loc12_21.2 [concrete = constants.%I_where.type.b05] { // CHECK:STDOUT: %.Self.loc12_16: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %.Self.loc12_21: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.394] -// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc12_21 [symbolic_self = constants.%.Self.394] +// CHECK:STDOUT: %.Self.loc12_21: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.0a6] +// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc12_21 [symbolic_self = constants.%.Self.0a6] // CHECK:STDOUT: %.loc12_37: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %.loc12_21.2: type = where_expr [concrete = constants.%I_where.type.6d2] { +// CHECK:STDOUT: %.loc12_21.2: type = where_expr [concrete = constants.%I_where.type.b05] { // CHECK:STDOUT: requirement_base_facet_type %I.ref // CHECK:STDOUT: requirement_equivalent %.Self.ref, %.loc12_37 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %U.loc12_16.2: %I_where.type.6d2 = symbolic_binding U, 0 [symbolic = %U.loc12_16.1 (constants.%U)] +// CHECK:STDOUT: %U.loc12_16.2: %I_where.type.b05 = symbolic_binding U, 0 [symbolic = %U.loc12_16.1 (constants.%U)] // CHECK:STDOUT: } // CHECK:STDOUT: %Impls.decl: %Impls.type = fn_decl @Impls [concrete = constants.%Impls] { -// CHECK:STDOUT: %V.patt: %pattern_type.928 = symbolic_binding_pattern V, 0 [concrete] +// CHECK:STDOUT: %V.patt: %pattern_type.563 = symbolic_binding_pattern V, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc14_16.1: type = splice_block %.loc14_16.2 [concrete = constants.%J_where.type] { // CHECK:STDOUT: %.Self.loc14_11: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %J.ref: type = name_ref J, file.%J.decl [concrete = constants.%J.type] -// CHECK:STDOUT: %.Self.loc14_16: %J.type = symbolic_binding .Self [symbolic_self = constants.%.Self.f96] -// CHECK:STDOUT: %.Self.ref: %J.type = name_ref .Self, %.Self.loc14_16 [symbolic_self = constants.%.Self.f96] +// CHECK:STDOUT: %.Self.loc14_16: %J.type = symbolic_binding .Self [symbolic_self = constants.%.Self.944] +// CHECK:STDOUT: %.Self.ref: %J.type = name_ref .Self, %.Self.loc14_16 [symbolic_self = constants.%.Self.944] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type.ea2] -// CHECK:STDOUT: %.loc14_22: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type.ea2] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type.454] +// CHECK:STDOUT: %.loc14_22: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type.454] // CHECK:STDOUT: %.loc14_16.2: type = where_expr [concrete = constants.%J_where.type] { // CHECK:STDOUT: requirement_base_facet_type %J.ref // CHECK:STDOUT: requirement_impls %.loc14_22, %I.ref @@ -368,34 +368,34 @@ fn F() { // CHECK:STDOUT: %V.loc14_11.2: %J_where.type = symbolic_binding V, 0 [symbolic = %V.loc14_11.1 (constants.%V)] // CHECK:STDOUT: } // CHECK:STDOUT: %And.decl: %And.type = fn_decl @And [concrete = constants.%And] { -// CHECK:STDOUT: %W.patt: %pattern_type.826 = symbolic_binding_pattern W, 0 [concrete] +// CHECK:STDOUT: %W.patt: %pattern_type.c2c = symbolic_binding_pattern W, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc16_14.1: type = splice_block %.loc16_14.2 [concrete = constants.%I_where.type.a58] { +// CHECK:STDOUT: %.loc16_14.1: type = splice_block %.loc16_14.2 [concrete = constants.%I_where.type.852] { // CHECK:STDOUT: %.Self.loc16_9: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %.Self.loc16_14: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.394] -// CHECK:STDOUT: %.Self.ref.loc16_20: %I.type = name_ref .Self, %.Self.loc16_14 [symbolic_self = constants.%.Self.394] +// CHECK:STDOUT: %.Self.loc16_14: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.0a6] +// CHECK:STDOUT: %.Self.ref.loc16_20: %I.type = name_ref .Self, %.Self.loc16_14 [symbolic_self = constants.%.Self.0a6] // CHECK:STDOUT: %J.ref: type = name_ref J, file.%J.decl [concrete = constants.%J.type] -// CHECK:STDOUT: %.Self.as_type.loc16_20: type = facet_access_type %.Self.ref.loc16_20 [symbolic_self = constants.%.Self.as_type.a9a] -// CHECK:STDOUT: %.loc16_20: type = converted %.Self.ref.loc16_20, %.Self.as_type.loc16_20 [symbolic_self = constants.%.Self.as_type.a9a] -// CHECK:STDOUT: %.Self.ref.loc16_38: %I.type = name_ref .Self, %.Self.loc16_14 [symbolic_self = constants.%.Self.394] -// CHECK:STDOUT: %.Self.as_type.loc16_38: type = facet_access_type %.Self.ref.loc16_38 [symbolic_self = constants.%.Self.as_type.a9a] -// CHECK:STDOUT: %.loc16_38: type = converted %.Self.ref.loc16_38, %.Self.as_type.loc16_38 [symbolic_self = constants.%.Self.as_type.a9a] +// CHECK:STDOUT: %.Self.as_type.loc16_20: type = facet_access_type %.Self.ref.loc16_20 [symbolic_self = constants.%.Self.as_type.6e9] +// CHECK:STDOUT: %.loc16_20: type = converted %.Self.ref.loc16_20, %.Self.as_type.loc16_20 [symbolic_self = constants.%.Self.as_type.6e9] +// CHECK:STDOUT: %.Self.ref.loc16_38: %I.type = name_ref .Self, %.Self.loc16_14 [symbolic_self = constants.%.Self.0a6] +// CHECK:STDOUT: %.Self.as_type.loc16_38: type = facet_access_type %.Self.ref.loc16_38 [symbolic_self = constants.%.Self.as_type.6e9] +// CHECK:STDOUT: %.loc16_38: type = converted %.Self.ref.loc16_38, %.Self.as_type.loc16_38 [symbolic_self = constants.%.Self.as_type.6e9] // CHECK:STDOUT: %Member.ref: %I.assoc_type = name_ref Member, @Member.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc16_50: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] -// CHECK:STDOUT: %.loc16_14.2: type = where_expr [concrete = constants.%I_where.type.a58] { +// CHECK:STDOUT: %.loc16_14.2: type = where_expr [concrete = constants.%I_where.type.852] { // CHECK:STDOUT: requirement_base_facet_type %I.ref // CHECK:STDOUT: requirement_impls %.loc16_20, %J.ref // CHECK:STDOUT: requirement_equivalent %impl.elem0, %.loc16_50 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %W.loc16_9.2: %I_where.type.a58 = symbolic_binding W, 0 [symbolic = %W.loc16_9.1 (constants.%W)] +// CHECK:STDOUT: %W.loc16_9.2: %I_where.type.852 = symbolic_binding W, 0 [symbolic = %W.loc16_9.1 (constants.%W)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @EqualEqual(%U.loc12_16.2: %I_where.type.6d2) { -// CHECK:STDOUT: %U.loc12_16.1: %I_where.type.6d2 = symbolic_binding U, 0 [symbolic = %U.loc12_16.1 (constants.%U)] +// CHECK:STDOUT: generic fn @EqualEqual(%U.loc12_16.2: %I_where.type.b05) { +// CHECK:STDOUT: %U.loc12_16.1: %I_where.type.b05 = symbolic_binding U, 0 [symbolic = %U.loc12_16.1 (constants.%U)] // CHECK:STDOUT: // CHECK:STDOUT: fn(); // CHECK:STDOUT: } @@ -406,8 +406,8 @@ fn F() { // CHECK:STDOUT: fn(); // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @And(%W.loc16_9.2: %I_where.type.a58) { -// CHECK:STDOUT: %W.loc16_9.1: %I_where.type.a58 = symbolic_binding W, 0 [symbolic = %W.loc16_9.1 (constants.%W)] +// CHECK:STDOUT: generic fn @And(%W.loc16_9.2: %I_where.type.852) { +// CHECK:STDOUT: %W.loc16_9.1: %I_where.type.852 = symbolic_binding W, 0 [symbolic = %W.loc16_9.1 (constants.%W)] // CHECK:STDOUT: // CHECK:STDOUT: fn(); // CHECK:STDOUT: } @@ -434,9 +434,9 @@ fn F() { // CHECK:STDOUT: %assoc0: %K.assoc_type = assoc_entity element0, @K.WithSelf.%Associated [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.cb7: %K.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.cb7 [symbolic_self] -// CHECK:STDOUT: %K.lookup_impl_witness: = lookup_impl_witness %.Self.cb7, @K [symbolic_self] +// CHECK:STDOUT: %.Self.495: %K.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.495 [symbolic_self] +// CHECK:STDOUT: %K.lookup_impl_witness: = lookup_impl_witness %.Self.495, @K [symbolic_self] // CHECK:STDOUT: %impl.elem0: %L.type = impl_witness_access %K.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %as_type: type = facet_access_type %impl.elem0 [symbolic_self] // CHECK:STDOUT: %K_where.type: type = facet_type <@K where %impl.elem0 impls @M> [concrete] @@ -453,8 +453,8 @@ fn F() { // CHECK:STDOUT: %.loc12_30.1: type = splice_block %.loc12_30.2 [concrete = constants.%K_where.type] { // CHECK:STDOUT: %.Self.loc12_25: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %K.ref: type = name_ref K, file.%K.decl [concrete = constants.%K.type] -// CHECK:STDOUT: %.Self.loc12_30: %K.type = symbolic_binding .Self [symbolic_self = constants.%.Self.cb7] -// CHECK:STDOUT: %.Self.ref: %K.type = name_ref .Self, %.Self.loc12_30 [symbolic_self = constants.%.Self.cb7] +// CHECK:STDOUT: %.Self.loc12_30: %K.type = symbolic_binding .Self [symbolic_self = constants.%.Self.495] +// CHECK:STDOUT: %.Self.ref: %K.type = name_ref .Self, %.Self.loc12_30 [symbolic_self = constants.%.Self.495] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc12_36.1: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %Associated.ref: %K.assoc_type = name_ref Associated, @Associated.%assoc0 [concrete = constants.%assoc0] diff --git a/toolchain/check/testdata/where_expr/designator.carbon b/toolchain/check/testdata/where_expr/designator.carbon index 7fd966b42b87..27819432fd33 100644 --- a/toolchain/check/testdata/where_expr/designator.carbon +++ b/toolchain/check/testdata/where_expr/designator.carbon @@ -358,23 +358,23 @@ fn G(unused T:! Z where C impls (I & J(.Z0))) {} // CHECK:STDOUT: %assoc0: %I.assoc_type = assoc_entity element0, @I.WithSelf.%Member [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.46b: %I.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.0a6: %I.type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %I_where.type: type = facet_type <@I where TODO> [concrete] -// CHECK:STDOUT: %pattern_type.1b6: type = pattern_type %I_where.type [concrete] +// CHECK:STDOUT: %pattern_type.616: type = pattern_type %I_where.type [concrete] // CHECK:STDOUT: %T: %I_where.type = symbolic_binding T, 0 [symbolic] // CHECK:STDOUT: %PeriodSelf.type: type = fn_type @PeriodSelf [concrete] // CHECK:STDOUT: %PeriodSelf: %PeriodSelf.type = struct_value () [concrete] -// CHECK:STDOUT: %.Self.as_type.793: type = facet_access_type %.Self.46b [symbolic_self] -// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self.46b, @I [symbolic_self] +// CHECK:STDOUT: %.Self.as_type.6e9: type = facet_access_type %.Self.0a6 [symbolic_self] +// CHECK:STDOUT: %I.lookup_impl_witness: = lookup_impl_witness %.Self.0a6, @I [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %I.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %U: %I_where.type = symbolic_binding U, 0 [symbolic] // CHECK:STDOUT: %PeriodMember.type: type = fn_type @PeriodMember [concrete] // CHECK:STDOUT: %PeriodMember: %PeriodMember.type = struct_value () [concrete] // CHECK:STDOUT: %.Self.as_type.246: type = facet_access_type %.Self.c39 [symbolic_self] // CHECK:STDOUT: %type_where: type = facet_type [concrete] -// CHECK:STDOUT: %pattern_type.749: type = pattern_type %type_where [concrete] +// CHECK:STDOUT: %pattern_type.be3: type = pattern_type %type_where [concrete] // CHECK:STDOUT: %V: %type_where = symbolic_binding V, 0 [symbolic] // CHECK:STDOUT: %TypeSelfImpls.type: type = fn_type @TypeSelfImpls [concrete] // CHECK:STDOUT: %TypeSelfImpls: %TypeSelfImpls.type = struct_value () [concrete] @@ -382,13 +382,13 @@ fn G(unused T:! Z where C impls (I & J(.Z0))) {} // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %PeriodSelf.decl: %PeriodSelf.type = fn_decl @PeriodSelf [concrete = constants.%PeriodSelf] { -// CHECK:STDOUT: %T.patt: %pattern_type.1b6 = symbolic_binding_pattern T, 0 [concrete] +// CHECK:STDOUT: %T.patt: %pattern_type.616 = symbolic_binding_pattern T, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc9_21.1: type = splice_block %.loc9_21.2 [concrete = constants.%I_where.type] { // CHECK:STDOUT: %.Self.loc9_16: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %.Self.loc9_21: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.46b] -// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc9_21 [symbolic_self = constants.%.Self.46b] +// CHECK:STDOUT: %.Self.loc9_21: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.0a6] +// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc9_21 [symbolic_self = constants.%.Self.0a6] // CHECK:STDOUT: %.loc9_37: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc9_21.2: type = where_expr [concrete = constants.%I_where.type] { // CHECK:STDOUT: requirement_base_facet_type %I.ref @@ -398,15 +398,15 @@ fn G(unused T:! Z where C impls (I & J(.Z0))) {} // CHECK:STDOUT: %T.loc9_16.2: %I_where.type = symbolic_binding T, 0 [symbolic = %T.loc9_16.1 (constants.%T)] // CHECK:STDOUT: } // CHECK:STDOUT: %PeriodMember.decl: %PeriodMember.type = fn_decl @PeriodMember [concrete = constants.%PeriodMember] { -// CHECK:STDOUT: %U.patt: %pattern_type.1b6 = symbolic_binding_pattern U, 0 [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.616 = symbolic_binding_pattern U, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc11_23.1: type = splice_block %.loc11_23.2 [concrete = constants.%I_where.type] { // CHECK:STDOUT: %.Self.loc11_18: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] -// CHECK:STDOUT: %.Self.loc11_23: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.46b] -// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc11_23 [symbolic_self = constants.%.Self.46b] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type.793] -// CHECK:STDOUT: %.loc11_29: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type.793] +// CHECK:STDOUT: %.Self.loc11_23: %I.type = symbolic_binding .Self [symbolic_self = constants.%.Self.0a6] +// CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self.loc11_23 [symbolic_self = constants.%.Self.0a6] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type.6e9] +// CHECK:STDOUT: %.loc11_29: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type.6e9] // CHECK:STDOUT: %Member.ref: %I.assoc_type = name_ref Member, @Member.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc11_41: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] @@ -418,7 +418,7 @@ fn G(unused T:! Z where C impls (I & J(.Z0))) {} // CHECK:STDOUT: %U.loc11_18.2: %I_where.type = symbolic_binding U, 0 [symbolic = %U.loc11_18.1 (constants.%U)] // CHECK:STDOUT: } // CHECK:STDOUT: %TypeSelfImpls.decl: %TypeSelfImpls.type = fn_decl @TypeSelfImpls [concrete = constants.%TypeSelfImpls] { -// CHECK:STDOUT: %V.patt: %pattern_type.749 = symbolic_binding_pattern V, 0 [concrete] +// CHECK:STDOUT: %V.patt: %pattern_type.be3 = symbolic_binding_pattern V, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc13_27.1: type = splice_block %.loc13_27.2 [concrete = constants.%type_where] { // CHECK:STDOUT: %.Self.loc13_19: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] diff --git a/toolchain/check/testdata/where_expr/dot_self_index.carbon b/toolchain/check/testdata/where_expr/dot_self_index.carbon index d1a0047980bd..fce67b8a63ae 100644 --- a/toolchain/check/testdata/where_expr/dot_self_index.carbon +++ b/toolchain/check/testdata/where_expr/dot_self_index.carbon @@ -31,45 +31,45 @@ fn G(U: Empty(i32) where .A = i32*) { // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete] -// CHECK:STDOUT: %Empty.type.6bc: type = generic_interface_type @Empty [concrete] -// CHECK:STDOUT: %Empty.generic: %Empty.type.6bc = struct_value () [concrete] +// CHECK:STDOUT: %Empty.type.cdd: type = generic_interface_type @Empty [concrete] +// CHECK:STDOUT: %Empty.generic: %Empty.type.cdd = struct_value () [concrete] // CHECK:STDOUT: %T: type = symbolic_binding T, 0 [symbolic] -// CHECK:STDOUT: %Empty.type.0ffeb0.2: type = facet_type <@Empty, @Empty(%T)> [symbolic] -// CHECK:STDOUT: %.Self.363: %Empty.type.0ffeb0.2 = symbolic_binding .Self [symbolic] -// CHECK:STDOUT: %Empty.assoc_type.207fe8.2: type = assoc_entity_type @Empty, @Empty(%T) [symbolic] -// CHECK:STDOUT: %assoc0.cf6da7.2: %Empty.assoc_type.207fe8.2 = assoc_entity element0, @Empty.WithSelf.%A [symbolic] -// CHECK:STDOUT: %require_complete.df6: = require_complete_type %Empty.type.0ffeb0.2 [symbolic] -// CHECK:STDOUT: %.Self.as_type.75f: type = facet_access_type %.Self.363 [symbolic] -// CHECK:STDOUT: %Empty.lookup_impl_witness.2e8: = lookup_impl_witness %.Self.363, @Empty, @Empty(%T) [symbolic] -// CHECK:STDOUT: %impl.elem0.453: type = impl_witness_access %Empty.lookup_impl_witness.2e8, element0 [symbolic] +// CHECK:STDOUT: %Empty.type.10b59f.2: type = facet_type <@Empty, @Empty(%T)> [symbolic] +// CHECK:STDOUT: %.Self.c0d: %Empty.type.10b59f.2 = symbolic_binding .Self [symbolic] +// CHECK:STDOUT: %Empty.assoc_type.adf754.2: type = assoc_entity_type @Empty, @Empty(%T) [symbolic] +// CHECK:STDOUT: %assoc0.6e5983.2: %Empty.assoc_type.adf754.2 = assoc_entity element0, @Empty.WithSelf.%A [symbolic] +// CHECK:STDOUT: %require_complete.6ec: = require_complete_type %Empty.type.10b59f.2 [symbolic] +// CHECK:STDOUT: %.Self.as_type.91c: type = facet_access_type %.Self.c0d [symbolic] +// CHECK:STDOUT: %Empty.lookup_impl_witness.df5: = lookup_impl_witness %.Self.c0d, @Empty, @Empty(%T) [symbolic] +// CHECK:STDOUT: %impl.elem0.c43: type = impl_witness_access %Empty.lookup_impl_witness.df5, element0 [symbolic] // CHECK:STDOUT: %ptr.e8f: type = ptr_type %T [symbolic] -// CHECK:STDOUT: %Empty_where.type.e1d: type = facet_type <@Empty, @Empty(%T) where %impl.elem0.453 = %ptr.e8f> [symbolic] -// CHECK:STDOUT: %pattern_type.369: type = pattern_type %Empty_where.type.e1d [symbolic] +// CHECK:STDOUT: %Empty_where.type.db9: type = facet_type <@Empty, @Empty(%T) where %impl.elem0.c43 = %ptr.e8f> [symbolic] +// CHECK:STDOUT: %pattern_type.4c4: type = pattern_type %Empty_where.type.db9 [symbolic] // CHECK:STDOUT: %V: type = symbolic_binding V, 1 [symbolic] // CHECK:STDOUT: %H.type: type = fn_type @H [concrete] // CHECK:STDOUT: %H: %H.type = struct_value () [concrete] -// CHECK:STDOUT: %require_complete.d4e: = require_complete_type %Empty_where.type.e1d [symbolic] +// CHECK:STDOUT: %require_complete.9d5: = require_complete_type %Empty_where.type.db9 [symbolic] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] -// CHECK:STDOUT: %Empty.type.bcd: type = facet_type <@Empty, @Empty(%i32)> [concrete] -// CHECK:STDOUT: %.Self.f9e: %Empty.type.bcd = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %Empty.assoc_type.3e3: type = assoc_entity_type @Empty, @Empty(%i32) [concrete] -// CHECK:STDOUT: %assoc0.ca7: %Empty.assoc_type.3e3 = assoc_entity element0, @Empty.WithSelf.%A [concrete] -// CHECK:STDOUT: %.Self.as_type.fcb: type = facet_access_type %.Self.f9e [symbolic_self] -// CHECK:STDOUT: %Empty.lookup_impl_witness.990: = lookup_impl_witness %.Self.f9e, @Empty, @Empty(%i32) [symbolic_self] -// CHECK:STDOUT: %impl.elem0.177: type = impl_witness_access %Empty.lookup_impl_witness.990, element0 [symbolic_self] -// CHECK:STDOUT: %ptr.143: type = ptr_type %i32 [concrete] -// CHECK:STDOUT: %Empty_where.type.5b2: type = facet_type <@Empty, @Empty(%i32) where %impl.elem0.177 = %ptr.143> [concrete] -// CHECK:STDOUT: %pattern_type.cf6: type = pattern_type %Empty_where.type.5b2 [concrete] -// CHECK:STDOUT: %complete_type.866: = complete_type_witness %Empty.type.bcd [concrete] -// CHECK:STDOUT: %complete_type.315: = complete_type_witness %Empty_where.type.5b2 [concrete] +// CHECK:STDOUT: %Empty.type.e2f: type = facet_type <@Empty, @Empty(%i32)> [concrete] +// CHECK:STDOUT: %.Self.8db: %Empty.type.e2f = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %Empty.assoc_type.981: type = assoc_entity_type @Empty, @Empty(%i32) [concrete] +// CHECK:STDOUT: %assoc0.d2e: %Empty.assoc_type.981 = assoc_entity element0, @Empty.WithSelf.%A [concrete] +// CHECK:STDOUT: %.Self.as_type.cb9: type = facet_access_type %.Self.8db [symbolic_self] +// CHECK:STDOUT: %Empty.lookup_impl_witness.f21: = lookup_impl_witness %.Self.8db, @Empty, @Empty(%i32) [symbolic_self] +// CHECK:STDOUT: %impl.elem0.963: type = impl_witness_access %Empty.lookup_impl_witness.f21, element0 [symbolic_self] +// CHECK:STDOUT: %ptr.847: type = ptr_type %i32 [concrete] +// CHECK:STDOUT: %Empty_where.type.a70: type = facet_type <@Empty, @Empty(%i32) where %impl.elem0.963 = %ptr.847> [concrete] +// CHECK:STDOUT: %pattern_type.8d4: type = pattern_type %Empty_where.type.a70 [concrete] +// CHECK:STDOUT: %complete_type.cd3: = complete_type_witness %Empty.type.e2f [concrete] +// CHECK:STDOUT: %complete_type.4cf: = complete_type_witness %Empty_where.type.a70 [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %H.decl: %H.type = fn_decl @H [concrete = constants.%H] { // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete] -// CHECK:STDOUT: %U.param_patt: @H.%pattern_type (%pattern_type.369) = value_param_pattern [concrete] -// CHECK:STDOUT: %U.patt: @H.%pattern_type (%pattern_type.369) = at_binding_pattern U, %U.param_patt [concrete] +// CHECK:STDOUT: %U.param_patt: @H.%pattern_type (%pattern_type.4c4) = value_param_pattern [concrete] +// CHECK:STDOUT: %U.patt: @H.%pattern_type (%pattern_type.4c4) = at_binding_pattern U, %U.param_patt [concrete] // CHECK:STDOUT: %V.patt: %pattern_type.98f = symbolic_binding_pattern V, 1 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc21_10.1: type = splice_block %.loc21_10.2 [concrete = type] { @@ -77,26 +77,26 @@ fn G(U: Empty(i32) where .A = i32*) { // CHECK:STDOUT: %.loc21_10.2: type = type_literal type [concrete = type] // CHECK:STDOUT: } // CHECK:STDOUT: %T.loc21_7.2: type = symbolic_binding T, 0 [symbolic = %T.loc21_7.1 (constants.%T)] -// CHECK:STDOUT: %U.param: @H.%Empty_where.type (%Empty_where.type.e1d) = value_param call_param0 -// CHECK:STDOUT: %.loc21_35.1: type = splice_block %.loc21_35.2 [symbolic = %Empty_where.type (constants.%Empty_where.type.e1d)] { -// CHECK:STDOUT: %Empty.ref: %Empty.type.6bc = name_ref Empty, file.%Empty.decl [concrete = constants.%Empty.generic] +// CHECK:STDOUT: %U.param: @H.%Empty_where.type (%Empty_where.type.db9) = value_param call_param0 +// CHECK:STDOUT: %.loc21_35.1: type = splice_block %.loc21_35.2 [symbolic = %Empty_where.type (constants.%Empty_where.type.db9)] { +// CHECK:STDOUT: %Empty.ref: %Empty.type.cdd = name_ref Empty, file.%Empty.decl [concrete = constants.%Empty.generic] // CHECK:STDOUT: %T.ref.loc21_32: type = name_ref T, %T.loc21_7.2 [symbolic = %T.loc21_7.1 (constants.%T)] -// CHECK:STDOUT: %Empty.type.loc21_33.2: type = facet_type <@Empty, @Empty(constants.%T)> [symbolic = %Empty.type.loc21_33.1 (constants.%Empty.type.0ffeb0.2)] -// CHECK:STDOUT: %.Self.loc21_35.2: @H.%Empty.type.loc21_33.1 (%Empty.type.0ffeb0.2) = symbolic_binding .Self [symbolic = %.Self.loc21_35.1 (constants.%.Self.363)] -// CHECK:STDOUT: %.Self.ref: @H.%Empty.type.loc21_33.1 (%Empty.type.0ffeb0.2) = name_ref .Self, %.Self.loc21_35.2 [symbolic = %.Self.loc21_35.1 (constants.%.Self.363)] -// CHECK:STDOUT: %.Self.as_type.loc21_41.2: type = facet_access_type %.Self.ref [symbolic = %.Self.as_type.loc21_41.1 (constants.%.Self.as_type.75f)] -// CHECK:STDOUT: %.loc21_41.1: type = converted %.Self.ref, %.Self.as_type.loc21_41.2 [symbolic = %.Self.as_type.loc21_41.1 (constants.%.Self.as_type.75f)] -// CHECK:STDOUT: %.loc21_41.2: @H.%Empty.assoc_type (%Empty.assoc_type.207fe8.2) = specific_constant @A.%assoc0, @Empty.WithSelf(constants.%T, constants.%.Self.363) [symbolic = %assoc0 (constants.%assoc0.cf6da7.2)] -// CHECK:STDOUT: %A.ref: @H.%Empty.assoc_type (%Empty.assoc_type.207fe8.2) = name_ref A, %.loc21_41.2 [symbolic = %assoc0 (constants.%assoc0.cf6da7.2)] -// CHECK:STDOUT: %impl.elem0.loc21_41.2: type = impl_witness_access constants.%Empty.lookup_impl_witness.2e8, element0 [symbolic = %impl.elem0.loc21_41.1 (constants.%impl.elem0.453)] +// CHECK:STDOUT: %Empty.type.loc21_33.2: type = facet_type <@Empty, @Empty(constants.%T)> [symbolic = %Empty.type.loc21_33.1 (constants.%Empty.type.10b59f.2)] +// CHECK:STDOUT: %.Self.loc21_35.2: @H.%Empty.type.loc21_33.1 (%Empty.type.10b59f.2) = symbolic_binding .Self [symbolic = %.Self.loc21_35.1 (constants.%.Self.c0d)] +// CHECK:STDOUT: %.Self.ref: @H.%Empty.type.loc21_33.1 (%Empty.type.10b59f.2) = name_ref .Self, %.Self.loc21_35.2 [symbolic = %.Self.loc21_35.1 (constants.%.Self.c0d)] +// CHECK:STDOUT: %.Self.as_type.loc21_41.2: type = facet_access_type %.Self.ref [symbolic = %.Self.as_type.loc21_41.1 (constants.%.Self.as_type.91c)] +// CHECK:STDOUT: %.loc21_41.1: type = converted %.Self.ref, %.Self.as_type.loc21_41.2 [symbolic = %.Self.as_type.loc21_41.1 (constants.%.Self.as_type.91c)] +// CHECK:STDOUT: %.loc21_41.2: @H.%Empty.assoc_type (%Empty.assoc_type.adf754.2) = specific_constant @A.%assoc0, @Empty.WithSelf(constants.%T, constants.%.Self.c0d) [symbolic = %assoc0 (constants.%assoc0.6e5983.2)] +// CHECK:STDOUT: %A.ref: @H.%Empty.assoc_type (%Empty.assoc_type.adf754.2) = name_ref A, %.loc21_41.2 [symbolic = %assoc0 (constants.%assoc0.6e5983.2)] +// CHECK:STDOUT: %impl.elem0.loc21_41.2: type = impl_witness_access constants.%Empty.lookup_impl_witness.df5, element0 [symbolic = %impl.elem0.loc21_41.1 (constants.%impl.elem0.c43)] // CHECK:STDOUT: %T.ref.loc21_46: type = name_ref T, %T.loc21_7.2 [symbolic = %T.loc21_7.1 (constants.%T)] // CHECK:STDOUT: %ptr.loc21_47.2: type = ptr_type %T.ref.loc21_46 [symbolic = %ptr.loc21_47.1 (constants.%ptr.e8f)] -// CHECK:STDOUT: %.loc21_35.2: type = where_expr [symbolic = %Empty_where.type (constants.%Empty_where.type.e1d)] { +// CHECK:STDOUT: %.loc21_35.2: type = where_expr [symbolic = %Empty_where.type (constants.%Empty_where.type.db9)] { // CHECK:STDOUT: requirement_base_facet_type %Empty.type.loc21_33.2 // CHECK:STDOUT: requirement_rewrite %impl.elem0.loc21_41.2, %ptr.loc21_47.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %U: @H.%Empty_where.type (%Empty_where.type.e1d) = value_binding U, %U.param +// CHECK:STDOUT: %U: @H.%Empty_where.type (%Empty_where.type.db9) = value_binding U, %U.param // CHECK:STDOUT: %.loc21_61.1: type = splice_block %.loc21_61.2 [concrete = type] { // CHECK:STDOUT: %.Self.loc21_58: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %.loc21_61.2: type = type_literal type [concrete = type] @@ -107,23 +107,23 @@ fn G(U: Empty(i32) where .A = i32*) { // CHECK:STDOUT: // CHECK:STDOUT: generic fn @H(%T.loc21_7.2: type, %V.loc21_58.2: type) { // CHECK:STDOUT: %T.loc21_7.1: type = symbolic_binding T, 0 [symbolic = %T.loc21_7.1 (constants.%T)] -// CHECK:STDOUT: %Empty.type.loc21_33.1: type = facet_type <@Empty, @Empty(%T.loc21_7.1)> [symbolic = %Empty.type.loc21_33.1 (constants.%Empty.type.0ffeb0.2)] -// CHECK:STDOUT: %.Self.loc21_35.1: @H.%Empty.type.loc21_33.1 (%Empty.type.0ffeb0.2) = symbolic_binding .Self [symbolic = %.Self.loc21_35.1 (constants.%.Self.363)] -// CHECK:STDOUT: %require_complete.loc21_41: = require_complete_type %Empty.type.loc21_33.1 [symbolic = %require_complete.loc21_41 (constants.%require_complete.df6)] -// CHECK:STDOUT: %.Self.as_type.loc21_41.1: type = facet_access_type %.Self.loc21_35.1 [symbolic = %.Self.as_type.loc21_41.1 (constants.%.Self.as_type.75f)] -// CHECK:STDOUT: %Empty.assoc_type: type = assoc_entity_type @Empty, @Empty(%T.loc21_7.1) [symbolic = %Empty.assoc_type (constants.%Empty.assoc_type.207fe8.2)] -// CHECK:STDOUT: %assoc0: @H.%Empty.assoc_type (%Empty.assoc_type.207fe8.2) = assoc_entity element0, @Empty.WithSelf.%A [symbolic = %assoc0 (constants.%assoc0.cf6da7.2)] -// CHECK:STDOUT: %Empty.lookup_impl_witness: = lookup_impl_witness %.Self.loc21_35.1, @Empty, @Empty(%T.loc21_7.1) [symbolic = %Empty.lookup_impl_witness (constants.%Empty.lookup_impl_witness.2e8)] -// CHECK:STDOUT: %impl.elem0.loc21_41.1: type = impl_witness_access %Empty.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc21_41.1 (constants.%impl.elem0.453)] +// CHECK:STDOUT: %Empty.type.loc21_33.1: type = facet_type <@Empty, @Empty(%T.loc21_7.1)> [symbolic = %Empty.type.loc21_33.1 (constants.%Empty.type.10b59f.2)] +// CHECK:STDOUT: %.Self.loc21_35.1: @H.%Empty.type.loc21_33.1 (%Empty.type.10b59f.2) = symbolic_binding .Self [symbolic = %.Self.loc21_35.1 (constants.%.Self.c0d)] +// CHECK:STDOUT: %require_complete.loc21_41: = require_complete_type %Empty.type.loc21_33.1 [symbolic = %require_complete.loc21_41 (constants.%require_complete.6ec)] +// CHECK:STDOUT: %.Self.as_type.loc21_41.1: type = facet_access_type %.Self.loc21_35.1 [symbolic = %.Self.as_type.loc21_41.1 (constants.%.Self.as_type.91c)] +// CHECK:STDOUT: %Empty.assoc_type: type = assoc_entity_type @Empty, @Empty(%T.loc21_7.1) [symbolic = %Empty.assoc_type (constants.%Empty.assoc_type.adf754.2)] +// CHECK:STDOUT: %assoc0: @H.%Empty.assoc_type (%Empty.assoc_type.adf754.2) = assoc_entity element0, @Empty.WithSelf.%A [symbolic = %assoc0 (constants.%assoc0.6e5983.2)] +// CHECK:STDOUT: %Empty.lookup_impl_witness: = lookup_impl_witness %.Self.loc21_35.1, @Empty, @Empty(%T.loc21_7.1) [symbolic = %Empty.lookup_impl_witness (constants.%Empty.lookup_impl_witness.df5)] +// CHECK:STDOUT: %impl.elem0.loc21_41.1: type = impl_witness_access %Empty.lookup_impl_witness, element0 [symbolic = %impl.elem0.loc21_41.1 (constants.%impl.elem0.c43)] // CHECK:STDOUT: %ptr.loc21_47.1: type = ptr_type %T.loc21_7.1 [symbolic = %ptr.loc21_47.1 (constants.%ptr.e8f)] -// CHECK:STDOUT: %Empty_where.type: type = facet_type <@Empty, @Empty(%T.loc21_7.1) where %impl.elem0.loc21_41.1 = %ptr.loc21_47.1> [symbolic = %Empty_where.type (constants.%Empty_where.type.e1d)] -// CHECK:STDOUT: %pattern_type: type = pattern_type %Empty_where.type [symbolic = %pattern_type (constants.%pattern_type.369)] +// CHECK:STDOUT: %Empty_where.type: type = facet_type <@Empty, @Empty(%T.loc21_7.1) where %impl.elem0.loc21_41.1 = %ptr.loc21_47.1> [symbolic = %Empty_where.type (constants.%Empty_where.type.db9)] +// CHECK:STDOUT: %pattern_type: type = pattern_type %Empty_where.type [symbolic = %pattern_type (constants.%pattern_type.4c4)] // CHECK:STDOUT: %V.loc21_58.1: type = symbolic_binding V, 1 [symbolic = %V.loc21_58.1 (constants.%V)] // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc21_24: = require_complete_type %Empty_where.type [symbolic = %require_complete.loc21_24 (constants.%require_complete.d4e)] +// CHECK:STDOUT: %require_complete.loc21_24: = require_complete_type %Empty_where.type [symbolic = %require_complete.loc21_24 (constants.%require_complete.9d5)] // CHECK:STDOUT: -// CHECK:STDOUT: fn(%U.param: @H.%Empty_where.type (%Empty_where.type.e1d)) { +// CHECK:STDOUT: fn(%U.param: @H.%Empty_where.type (%Empty_where.type.db9)) { // CHECK:STDOUT: !entry: // CHECK:STDOUT: return // CHECK:STDOUT: } @@ -131,36 +131,36 @@ fn G(U: Empty(i32) where .A = i32*) { // CHECK:STDOUT: // CHECK:STDOUT: specific @H(constants.%T, constants.%V) { // CHECK:STDOUT: %T.loc21_7.1 => constants.%T -// CHECK:STDOUT: %Empty.type.loc21_33.1 => constants.%Empty.type.0ffeb0.2 -// CHECK:STDOUT: %.Self.loc21_35.1 => constants.%.Self.363 -// CHECK:STDOUT: %require_complete.loc21_41 => constants.%require_complete.df6 -// CHECK:STDOUT: %.Self.as_type.loc21_41.1 => constants.%.Self.as_type.75f -// CHECK:STDOUT: %Empty.assoc_type => constants.%Empty.assoc_type.207fe8.2 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.cf6da7.2 -// CHECK:STDOUT: %Empty.lookup_impl_witness => constants.%Empty.lookup_impl_witness.2e8 -// CHECK:STDOUT: %impl.elem0.loc21_41.1 => constants.%impl.elem0.453 +// CHECK:STDOUT: %Empty.type.loc21_33.1 => constants.%Empty.type.10b59f.2 +// CHECK:STDOUT: %.Self.loc21_35.1 => constants.%.Self.c0d +// CHECK:STDOUT: %require_complete.loc21_41 => constants.%require_complete.6ec +// CHECK:STDOUT: %.Self.as_type.loc21_41.1 => constants.%.Self.as_type.91c +// CHECK:STDOUT: %Empty.assoc_type => constants.%Empty.assoc_type.adf754.2 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.6e5983.2 +// CHECK:STDOUT: %Empty.lookup_impl_witness => constants.%Empty.lookup_impl_witness.df5 +// CHECK:STDOUT: %impl.elem0.loc21_41.1 => constants.%impl.elem0.c43 // CHECK:STDOUT: %ptr.loc21_47.1 => constants.%ptr.e8f -// CHECK:STDOUT: %Empty_where.type => constants.%Empty_where.type.e1d -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.369 +// CHECK:STDOUT: %Empty_where.type => constants.%Empty_where.type.db9 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.4c4 // CHECK:STDOUT: %V.loc21_58.1 => constants.%V // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @H(constants.%i32, bool) { // CHECK:STDOUT: %T.loc21_7.1 => constants.%i32 -// CHECK:STDOUT: %Empty.type.loc21_33.1 => constants.%Empty.type.bcd -// CHECK:STDOUT: %.Self.loc21_35.1 => constants.%.Self.f9e -// CHECK:STDOUT: %require_complete.loc21_41 => constants.%complete_type.866 -// CHECK:STDOUT: %.Self.as_type.loc21_41.1 => constants.%.Self.as_type.fcb -// CHECK:STDOUT: %Empty.assoc_type => constants.%Empty.assoc_type.3e3 -// CHECK:STDOUT: %assoc0 => constants.%assoc0.ca7 -// CHECK:STDOUT: %Empty.lookup_impl_witness => constants.%Empty.lookup_impl_witness.990 -// CHECK:STDOUT: %impl.elem0.loc21_41.1 => constants.%impl.elem0.177 -// CHECK:STDOUT: %ptr.loc21_47.1 => constants.%ptr.143 -// CHECK:STDOUT: %Empty_where.type => constants.%Empty_where.type.5b2 -// CHECK:STDOUT: %pattern_type => constants.%pattern_type.cf6 +// CHECK:STDOUT: %Empty.type.loc21_33.1 => constants.%Empty.type.e2f +// CHECK:STDOUT: %.Self.loc21_35.1 => constants.%.Self.8db +// CHECK:STDOUT: %require_complete.loc21_41 => constants.%complete_type.cd3 +// CHECK:STDOUT: %.Self.as_type.loc21_41.1 => constants.%.Self.as_type.cb9 +// CHECK:STDOUT: %Empty.assoc_type => constants.%Empty.assoc_type.981 +// CHECK:STDOUT: %assoc0 => constants.%assoc0.d2e +// CHECK:STDOUT: %Empty.lookup_impl_witness => constants.%Empty.lookup_impl_witness.f21 +// CHECK:STDOUT: %impl.elem0.loc21_41.1 => constants.%impl.elem0.963 +// CHECK:STDOUT: %ptr.loc21_47.1 => constants.%ptr.847 +// CHECK:STDOUT: %Empty_where.type => constants.%Empty_where.type.a70 +// CHECK:STDOUT: %pattern_type => constants.%pattern_type.8d4 // CHECK:STDOUT: %V.loc21_58.1 => bool // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %require_complete.loc21_24 => constants.%complete_type.315 +// CHECK:STDOUT: %require_complete.loc21_24 => constants.%complete_type.4cf // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/check/testdata/where_expr/equal_rewrite.carbon b/toolchain/check/testdata/where_expr/equal_rewrite.carbon index 34723d762dae..35b2432065f3 100644 --- a/toolchain/check/testdata/where_expr/equal_rewrite.carbon +++ b/toolchain/check/testdata/where_expr/equal_rewrite.carbon @@ -229,9 +229,9 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: %assoc0: %N.assoc_type = assoc_entity element0, @N.WithSelf.%P [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.2b6: %N.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.2b6 [symbolic_self] -// CHECK:STDOUT: %N.lookup_impl_witness: = lookup_impl_witness %.Self.2b6, @N [symbolic_self] +// CHECK:STDOUT: %.Self.a8a: %N.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.a8a [symbolic_self] +// CHECK:STDOUT: %N.lookup_impl_witness: = lookup_impl_witness %.Self.a8a, @N [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %N.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete] // CHECK:STDOUT: %empty_struct: %empty_struct_type = struct_value () [concrete] @@ -249,8 +249,8 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: %.loc9_16.1: type = splice_block %.loc9_16.2 [concrete = constants.%N_where.type] { // CHECK:STDOUT: %.Self.loc9_11: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %N.ref: type = name_ref N, file.%N.decl [concrete = constants.%N.type] -// CHECK:STDOUT: %.Self.loc9_16: %N.type = symbolic_binding .Self [symbolic_self = constants.%.Self.2b6] -// CHECK:STDOUT: %.Self.ref: %N.type = name_ref .Self, %.Self.loc9_16 [symbolic_self = constants.%.Self.2b6] +// CHECK:STDOUT: %.Self.loc9_16: %N.type = symbolic_binding .Self [symbolic_self = constants.%.Self.a8a] +// CHECK:STDOUT: %.Self.ref: %N.type = name_ref .Self, %.Self.loc9_16 [symbolic_self = constants.%.Self.a8a] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc9_22: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %P.ref: %N.assoc_type = name_ref P, @P.%assoc0 [concrete = constants.%assoc0] @@ -285,58 +285,58 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: %assoc1: %A.assoc_type = assoc_entity element1, @A.WithSelf.%C [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.5fe: %A.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.5fe [symbolic_self] -// CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %.Self.5fe, @A [symbolic_self] +// CHECK:STDOUT: %.Self.357: %A.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.357 [symbolic_self] +// CHECK:STDOUT: %A.lookup_impl_witness: = lookup_impl_witness %.Self.357, @A [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %A.lookup_impl_witness, element0 [symbolic_self] -// CHECK:STDOUT: %A_where.type.26d: type = facet_type <@A where %impl.elem0 = bool> [concrete] +// CHECK:STDOUT: %A_where.type.c60: type = facet_type <@A where %impl.elem0 = bool> [concrete] // CHECK:STDOUT: %impl.elem1: type = impl_witness_access %A.lookup_impl_witness, element1 [symbolic_self] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] -// CHECK:STDOUT: %A_where.type.725: type = facet_type <@A where %impl.elem0 = bool and %impl.elem1 = %empty_tuple.type> [concrete] -// CHECK:STDOUT: %pattern_type.49f: type = pattern_type %A_where.type.725 [concrete] -// CHECK:STDOUT: %D: %A_where.type.725 = symbolic_binding D, 0 [symbolic] +// CHECK:STDOUT: %A_where.type.ef9: type = facet_type <@A where %impl.elem0 = bool and %impl.elem1 = %empty_tuple.type> [concrete] +// CHECK:STDOUT: %pattern_type.e07: type = pattern_type %A_where.type.ef9 [concrete] +// CHECK:STDOUT: %D: %A_where.type.ef9 = symbolic_binding D, 0 [symbolic] // CHECK:STDOUT: %NestedRewrite.type: type = fn_type @NestedRewrite [concrete] // CHECK:STDOUT: %NestedRewrite: %NestedRewrite.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %NestedRewrite.decl: %NestedRewrite.type = fn_decl @NestedRewrite [concrete = constants.%NestedRewrite] { -// CHECK:STDOUT: %D.patt: %pattern_type.49f = symbolic_binding_pattern D, 0 [concrete] +// CHECK:STDOUT: %D.patt: %pattern_type.e07 = symbolic_binding_pattern D, 0 [concrete] // CHECK:STDOUT: } { -// CHECK:STDOUT: %.loc10_42.1: type = splice_block %.loc10_42.2 [concrete = constants.%A_where.type.725] { +// CHECK:STDOUT: %.loc10_42.1: type = splice_block %.loc10_42.2 [concrete = constants.%A_where.type.ef9] { // CHECK:STDOUT: %.Self.loc10_19: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %A.ref: type = name_ref A, file.%A.decl [concrete = constants.%A.type] -// CHECK:STDOUT: %.Self.loc10_25: %A.type = symbolic_binding .Self [symbolic_self = constants.%.Self.5fe] -// CHECK:STDOUT: %.Self.ref.loc10_31: %A.type = name_ref .Self, %.Self.loc10_25 [symbolic_self = constants.%.Self.5fe] +// CHECK:STDOUT: %.Self.loc10_25: %A.type = symbolic_binding .Self [symbolic_self = constants.%.Self.357] +// CHECK:STDOUT: %.Self.ref.loc10_31: %A.type = name_ref .Self, %.Self.loc10_25 [symbolic_self = constants.%.Self.357] // CHECK:STDOUT: %.Self.as_type.loc10_31: type = facet_access_type %.Self.ref.loc10_31 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_31: type = converted %.Self.ref.loc10_31, %.Self.as_type.loc10_31 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %B.ref: %A.assoc_type = name_ref B, @B.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%A.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc10_36: type = type_literal bool [concrete = bool] -// CHECK:STDOUT: %.loc10_25: type = where_expr [concrete = constants.%A_where.type.26d] { +// CHECK:STDOUT: %.loc10_25: type = where_expr [concrete = constants.%A_where.type.c60] { // CHECK:STDOUT: requirement_base_facet_type %A.ref // CHECK:STDOUT: requirement_rewrite %impl.elem0, %.loc10_36 // CHECK:STDOUT: } -// CHECK:STDOUT: %.Self.loc10_42: %A.type = symbolic_binding .Self [symbolic_self = constants.%.Self.5fe] -// CHECK:STDOUT: %.Self.ref.loc10_48: %A.type = name_ref .Self, %.Self.loc10_42 [symbolic_self = constants.%.Self.5fe] +// CHECK:STDOUT: %.Self.loc10_42: %A.type = symbolic_binding .Self [symbolic_self = constants.%.Self.357] +// CHECK:STDOUT: %.Self.ref.loc10_48: %A.type = name_ref .Self, %.Self.loc10_42 [symbolic_self = constants.%.Self.357] // CHECK:STDOUT: %.Self.as_type.loc10_48: type = facet_access_type %.Self.ref.loc10_48 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_48: type = converted %.Self.ref.loc10_48, %.Self.as_type.loc10_48 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %C.ref: %A.assoc_type = name_ref C, @C.%assoc1 [concrete = constants.%assoc1] // CHECK:STDOUT: %impl.elem1: type = impl_witness_access constants.%A.lookup_impl_witness, element1 [symbolic_self = constants.%impl.elem1] // CHECK:STDOUT: %.loc10_54.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc10_54.2: type = converted %.loc10_54.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %.loc10_42.2: type = where_expr [concrete = constants.%A_where.type.725] { +// CHECK:STDOUT: %.loc10_42.2: type = where_expr [concrete = constants.%A_where.type.ef9] { // CHECK:STDOUT: requirement_base_facet_type %.loc10_25 // CHECK:STDOUT: requirement_rewrite %impl.elem1, %.loc10_54.2 // CHECK:STDOUT: } // CHECK:STDOUT: } -// CHECK:STDOUT: %D.loc10_19.2: %A_where.type.725 = symbolic_binding D, 0 [symbolic = %D.loc10_19.1 (constants.%D)] +// CHECK:STDOUT: %D.loc10_19.2: %A_where.type.ef9 = symbolic_binding D, 0 [symbolic = %D.loc10_19.1 (constants.%D)] // CHECK:STDOUT: } // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: generic fn @NestedRewrite(%D.loc10_19.2: %A_where.type.725) { -// CHECK:STDOUT: %D.loc10_19.1: %A_where.type.725 = symbolic_binding D, 0 [symbolic = %D.loc10_19.1 (constants.%D)] +// CHECK:STDOUT: generic fn @NestedRewrite(%D.loc10_19.2: %A_where.type.ef9) { +// CHECK:STDOUT: %D.loc10_19.1: %A_where.type.ef9 = symbolic_binding D, 0 [symbolic = %D.loc10_19.1 (constants.%D)] // CHECK:STDOUT: // CHECK:STDOUT: fn(); // CHECK:STDOUT: } @@ -353,14 +353,14 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: %assoc0: %E.assoc_type = assoc_entity element0, @E.WithSelf.%F [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.995: %E.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.995 [symbolic_self] -// CHECK:STDOUT: %E.lookup_impl_witness: = lookup_impl_witness %.Self.995, @E [symbolic_self] +// CHECK:STDOUT: %.Self.dc5: %E.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.dc5 [symbolic_self] +// CHECK:STDOUT: %E.lookup_impl_witness: = lookup_impl_witness %.Self.dc5, @E [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %E.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %E_where.type: type = facet_type <@E where %impl.elem0 = %i32> [concrete] -// CHECK:STDOUT: %pattern_type.9f6: type = pattern_type %E_where.type [concrete] +// CHECK:STDOUT: %pattern_type.ed6: type = pattern_type %E_where.type [concrete] // CHECK:STDOUT: %G: %E_where.type = symbolic_binding G, 0 [symbolic] // CHECK:STDOUT: %OneRewrite.type: type = fn_type @OneRewrite [concrete] // CHECK:STDOUT: %OneRewrite: %OneRewrite.type = struct_value () [concrete] @@ -368,18 +368,18 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: %RepeatedRewrite.type: type = fn_type @RepeatedRewrite [concrete] // CHECK:STDOUT: %RepeatedRewrite: %RepeatedRewrite.type = struct_value () [concrete] // CHECK:STDOUT: %I: %E_where.type = symbolic_binding I, 0 [symbolic] -// CHECK:STDOUT: %OneRewrite.specific_fn.45fe07.2: = specific_function %OneRewrite, @OneRewrite(%I) [symbolic] +// CHECK:STDOUT: %OneRewrite.specific_fn.176ca5.2: = specific_function %OneRewrite, @OneRewrite(%I) [symbolic] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %OneRewrite.decl: %OneRewrite.type = fn_decl @OneRewrite [concrete = constants.%OneRewrite] { -// CHECK:STDOUT: %G.patt: %pattern_type.9f6 = symbolic_binding_pattern G, 0 [concrete] +// CHECK:STDOUT: %G.patt: %pattern_type.ed6 = symbolic_binding_pattern G, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc9_28.1: type = splice_block %.loc9_28.2 [concrete = constants.%E_where.type] { // CHECK:STDOUT: %.Self.loc9_23: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %E.ref: type = name_ref E, file.%E.decl [concrete = constants.%E.type] -// CHECK:STDOUT: %.Self.loc9_28: %E.type = symbolic_binding .Self [symbolic_self = constants.%.Self.995] -// CHECK:STDOUT: %.Self.ref: %E.type = name_ref .Self, %.Self.loc9_28 [symbolic_self = constants.%.Self.995] +// CHECK:STDOUT: %.Self.loc9_28: %E.type = symbolic_binding .Self [symbolic_self = constants.%.Self.dc5] +// CHECK:STDOUT: %.Self.ref: %E.type = name_ref .Self, %.Self.loc9_28 [symbolic_self = constants.%.Self.dc5] // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc9_34: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %F.ref: %E.assoc_type = name_ref F, @F.%assoc0 [concrete = constants.%assoc0] @@ -393,19 +393,19 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: %G.loc9_23.2: %E_where.type = symbolic_binding G, 0 [symbolic = %G.loc9_23.1 (constants.%G)] // CHECK:STDOUT: } // CHECK:STDOUT: %RepeatedRewrite.decl: %RepeatedRewrite.type = fn_decl @RepeatedRewrite [concrete = constants.%RepeatedRewrite] { -// CHECK:STDOUT: %H.patt: %pattern_type.9f6 = symbolic_binding_pattern H, 0 [concrete] +// CHECK:STDOUT: %H.patt: %pattern_type.ed6 = symbolic_binding_pattern H, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc11_26.1: type = splice_block %.loc11_26.2 [concrete = constants.%E_where.type] { // CHECK:STDOUT: %.Self.loc11_21: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %E.ref: type = name_ref E, file.%E.decl [concrete = constants.%E.type] -// CHECK:STDOUT: %.Self.loc11_26: %E.type = symbolic_binding .Self [symbolic_self = constants.%.Self.995] -// CHECK:STDOUT: %.Self.ref.loc11_32: %E.type = name_ref .Self, %.Self.loc11_26 [symbolic_self = constants.%.Self.995] +// CHECK:STDOUT: %.Self.loc11_26: %E.type = symbolic_binding .Self [symbolic_self = constants.%.Self.dc5] +// CHECK:STDOUT: %.Self.ref.loc11_32: %E.type = name_ref .Self, %.Self.loc11_26 [symbolic_self = constants.%.Self.dc5] // CHECK:STDOUT: %.Self.as_type.loc11_32: type = facet_access_type %.Self.ref.loc11_32 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc11_32: type = converted %.Self.ref.loc11_32, %.Self.as_type.loc11_32 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %F.ref.loc11_32: %E.assoc_type = name_ref F, @F.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0.loc11_32: type = impl_witness_access constants.%E.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %i32.loc11_37: type = type_literal constants.%i32 [concrete = constants.%i32] -// CHECK:STDOUT: %.Self.ref.loc11_45: %E.type = name_ref .Self, %.Self.loc11_26 [symbolic_self = constants.%.Self.995] +// CHECK:STDOUT: %.Self.ref.loc11_45: %E.type = name_ref .Self, %.Self.loc11_26 [symbolic_self = constants.%.Self.dc5] // CHECK:STDOUT: %.Self.as_type.loc11_45: type = facet_access_type %.Self.ref.loc11_45 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc11_45: type = converted %.Self.ref.loc11_45, %.Self.as_type.loc11_45 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %F.ref.loc11_45: %E.assoc_type = name_ref F, @F.%assoc0 [concrete = constants.%assoc0] @@ -463,7 +463,7 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: %H.loc11_21.1 => constants.%I // CHECK:STDOUT: // CHECK:STDOUT: !definition: -// CHECK:STDOUT: %OneRewrite.specific_fn.loc13_3.2 => constants.%OneRewrite.specific_fn.45fe07.2 +// CHECK:STDOUT: %OneRewrite.specific_fn.loc13_3.2 => constants.%OneRewrite.specific_fn.176ca5.2 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: specific @OneRewrite(constants.%I) { @@ -481,15 +481,15 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: %assoc1: %J.assoc_type = assoc_entity element1, @J.WithSelf.%L [concrete] // CHECK:STDOUT: %type: type = facet_type [concrete] // CHECK:STDOUT: %.Self.c39: %type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.5f1: %J.type = symbolic_binding .Self [symbolic_self] -// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.5f1 [symbolic_self] -// CHECK:STDOUT: %J.lookup_impl_witness: = lookup_impl_witness %.Self.5f1, @J [symbolic_self] +// CHECK:STDOUT: %.Self.944: %J.type = symbolic_binding .Self [symbolic_self] +// CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.944 [symbolic_self] +// CHECK:STDOUT: %J.lookup_impl_witness: = lookup_impl_witness %.Self.944, @J [symbolic_self] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access %J.lookup_impl_witness, element0 [symbolic_self] // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete] // CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete] // CHECK:STDOUT: %impl.elem1: type = impl_witness_access %J.lookup_impl_witness, element1 [symbolic_self] // CHECK:STDOUT: %J_where.type: type = facet_type <@J where %impl.elem0 = %empty_tuple.type and %impl.elem1 = bool> [concrete] -// CHECK:STDOUT: %pattern_type.9dc: type = pattern_type %J_where.type [concrete] +// CHECK:STDOUT: %pattern_type.81b: type = pattern_type %J_where.type [concrete] // CHECK:STDOUT: %M: %J_where.type = symbolic_binding M, 0 [symbolic] // CHECK:STDOUT: %Alphabetical.type: type = fn_type @Alphabetical [concrete] // CHECK:STDOUT: %Alphabetical: %Alphabetical.type = struct_value () [concrete] @@ -500,20 +500,20 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %Alphabetical.decl: %Alphabetical.type = fn_decl @Alphabetical [concrete = constants.%Alphabetical] { -// CHECK:STDOUT: %M.patt: %pattern_type.9dc = symbolic_binding_pattern M, 0 [concrete] +// CHECK:STDOUT: %M.patt: %pattern_type.81b = symbolic_binding_pattern M, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc10_30.1: type = splice_block %.loc10_30.2 [concrete = constants.%J_where.type] { // CHECK:STDOUT: %.Self.loc10_25: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %J.ref: type = name_ref J, file.%J.decl [concrete = constants.%J.type] -// CHECK:STDOUT: %.Self.loc10_30: %J.type = symbolic_binding .Self [symbolic_self = constants.%.Self.5f1] -// CHECK:STDOUT: %.Self.ref.loc10_36: %J.type = name_ref .Self, %.Self.loc10_30 [symbolic_self = constants.%.Self.5f1] +// CHECK:STDOUT: %.Self.loc10_30: %J.type = symbolic_binding .Self [symbolic_self = constants.%.Self.944] +// CHECK:STDOUT: %.Self.ref.loc10_36: %J.type = name_ref .Self, %.Self.loc10_30 [symbolic_self = constants.%.Self.944] // CHECK:STDOUT: %.Self.as_type.loc10_36: type = facet_access_type %.Self.ref.loc10_36 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_36: type = converted %.Self.ref.loc10_36, %.Self.as_type.loc10_36 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %K.ref: %J.assoc_type = name_ref K, @K.%assoc0 [concrete = constants.%assoc0] // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%J.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] // CHECK:STDOUT: %.loc10_42.1: %empty_tuple.type = tuple_literal () [concrete = constants.%empty_tuple] // CHECK:STDOUT: %.loc10_42.2: type = converted %.loc10_42.1, constants.%empty_tuple.type [concrete = constants.%empty_tuple.type] -// CHECK:STDOUT: %.Self.ref.loc10_48: %J.type = name_ref .Self, %.Self.loc10_30 [symbolic_self = constants.%.Self.5f1] +// CHECK:STDOUT: %.Self.ref.loc10_48: %J.type = name_ref .Self, %.Self.loc10_30 [symbolic_self = constants.%.Self.944] // CHECK:STDOUT: %.Self.as_type.loc10_48: type = facet_access_type %.Self.ref.loc10_48 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc10_48: type = converted %.Self.ref.loc10_48, %.Self.as_type.loc10_48 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %L.ref: %J.assoc_type = name_ref L, @L.%assoc1 [concrete = constants.%assoc1] @@ -528,19 +528,19 @@ let K: (E where .F = .Self.G) = bool; // CHECK:STDOUT: %M.loc10_25.2: %J_where.type = symbolic_binding M, 0 [symbolic = %M.loc10_25.1 (constants.%M)] // CHECK:STDOUT: } // CHECK:STDOUT: %Reversed.decl: %Reversed.type = fn_decl @Reversed [concrete = constants.%Reversed] { -// CHECK:STDOUT: %N.patt: %pattern_type.9dc = symbolic_binding_pattern N, 0 [concrete] +// CHECK:STDOUT: %N.patt: %pattern_type.81b = symbolic_binding_pattern N, 0 [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %.loc12_19.1: type = splice_block %.loc12_19.2 [concrete = constants.%J_where.type] { // CHECK:STDOUT: %.Self.loc12_14: %type = symbolic_binding .Self [symbolic_self = constants.%.Self.c39] // CHECK:STDOUT: %J.ref: type = name_ref J, file.%J.decl [concrete = constants.%J.type] -// CHECK:STDOUT: %.Self.loc12_19: %J.type = symbolic_binding .Self [symbolic_self = constants.%.Self.5f1] -// CHECK:STDOUT: %.Self.ref.loc12_25: %J.type = name_ref .Self, %.Self.loc12_19 [symbolic_self = constants.%.Self.5f1] +// CHECK:STDOUT: %.Self.loc12_19: %J.type = symbolic_binding .Self [symbolic_self = constants.%.Self.944] +// CHECK:STDOUT: %.Self.ref.loc12_25: %J.type = name_ref .Self, %.Self.loc12_19 [symbolic_self = constants.%.Self.944] // CHECK:STDOUT: %.Self.as_type.loc12_25: type = facet_access_type %.Self.ref.loc12_25 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc12_25: type = converted %.Self.ref.loc12_25, %.Self.as_type.loc12_25 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %L.ref: %J.assoc_type = name_ref L, @L.%assoc1 [concrete = constants.%assoc1] // CHECK:STDOUT: %impl.elem1: type = impl_witness_access constants.%J.lookup_impl_witness, element1 [symbolic_self = constants.%impl.elem1] // CHECK:STDOUT: %.loc12_30: type = type_literal bool [concrete = bool] -// CHECK:STDOUT: %.Self.ref.loc12_39: %J.type = name_ref .Self, %.Self.loc12_19 [symbolic_self = constants.%.Self.5f1] +// CHECK:STDOUT: %.Self.ref.loc12_39: %J.type = name_ref .Self, %.Self.loc12_19 [symbolic_self = constants.%.Self.944] // CHECK:STDOUT: %.Self.as_type.loc12_39: type = facet_access_type %.Self.ref.loc12_39 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %.loc12_39: type = converted %.Self.ref.loc12_39, %.Self.as_type.loc12_39 [symbolic_self = constants.%.Self.as_type] // CHECK:STDOUT: %K.ref: %J.assoc_type = name_ref K, @K.%assoc0 [concrete = constants.%assoc0] diff --git a/toolchain/check/testdata/where_expr/non_generic.carbon b/toolchain/check/testdata/where_expr/non_generic.carbon index 340eab17b65e..b075891be158 100644 --- a/toolchain/check/testdata/where_expr/non_generic.carbon +++ b/toolchain/check/testdata/where_expr/non_generic.carbon @@ -30,15 +30,15 @@ fn NotGenericF(unused U: I where .T == i32) {} // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete] // CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete] // CHECK:STDOUT: %I_where.type: type = facet_type <@I where TODO> [concrete] -// CHECK:STDOUT: %pattern_type.bdb: type = pattern_type %I_where.type [concrete] +// CHECK:STDOUT: %pattern_type.616: type = pattern_type %I_where.type [concrete] // CHECK:STDOUT: %NotGenericF.type: type = fn_type @NotGenericF [concrete] // CHECK:STDOUT: %NotGenericF: %NotGenericF.type = struct_value () [concrete] // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: file { // CHECK:STDOUT: %NotGenericF.decl: %NotGenericF.type = fn_decl @NotGenericF [concrete = constants.%NotGenericF] { -// CHECK:STDOUT: %U.param_patt: %pattern_type.bdb = value_param_pattern [concrete] -// CHECK:STDOUT: %U.patt: %pattern_type.bdb = at_binding_pattern U, %U.param_patt [concrete] +// CHECK:STDOUT: %U.param_patt: %pattern_type.616 = value_param_pattern [concrete] +// CHECK:STDOUT: %U.patt: %pattern_type.616 = at_binding_pattern U, %U.param_patt [concrete] // CHECK:STDOUT: } { // CHECK:STDOUT: %U.param: %I_where.type = value_param call_param0 // CHECK:STDOUT: %.loc17_28.1: type = splice_block %.loc17_28.2 [concrete = constants.%I_where.type] { diff --git a/toolchain/driver/testdata/compile/optimize/optimize_debug.carbon b/toolchain/driver/testdata/compile/optimize/optimize_debug.carbon index 3ba69eeb2e77..4492dfc9e4d7 100644 --- a/toolchain/driver/testdata/compile/optimize/optimize_debug.carbon +++ b/toolchain/driver/testdata/compile/optimize/optimize_debug.carbon @@ -84,7 +84,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) local_unnamed_addr #0 !dbg !41 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) local_unnamed_addr #0 !dbg !41 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !44 // CHECK:STDOUT: } @@ -120,7 +120,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: !22 = !DILocation(line: 18, column: 9, scope: !16) // CHECK:STDOUT: !23 = !DILocation(line: 19, column: 5, scope: !16) // CHECK:STDOUT: !24 = !DILocation(line: 299, column: 3, scope: !25, inlinedAt: !32) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.04e8e1f1c1e2bc99.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec", scope: null, file: !26, line: 299, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17", scope: null, file: !26, line: 299, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) // CHECK:STDOUT: !26 = !DIFile(filename: "{{.*}}/prelude/types/int.carbon", directory: "") // CHECK:STDOUT: !27 = !DISubroutineType(types: !28) // CHECK:STDOUT: !28 = !{null, !7, !7} @@ -136,7 +136,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: !38 = distinct !DILocation(line: 20, column: 5, scope: !16) // CHECK:STDOUT: !39 = !DILocation(line: 18, column: 10, scope: !16) // CHECK:STDOUT: !40 = !DILocation(line: 15, column: 1, scope: !16) -// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 17, type: !34, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) +// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 17, type: !34, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) // CHECK:STDOUT: !42 = !{!43} // CHECK:STDOUT: !43 = !DILocalVariable(arg: 1, scope: !41, type: !7) // CHECK:STDOUT: !44 = !DILocation(line: 17, column: 3, scope: !41) diff --git a/toolchain/driver/testdata/compile/optimize/optimize_default.carbon b/toolchain/driver/testdata/compile/optimize/optimize_default.carbon index b700111aba9e..fbcdba8d0edf 100644 --- a/toolchain/driver/testdata/compile/optimize/optimize_default.carbon +++ b/toolchain/driver/testdata/compile/optimize/optimize_default.carbon @@ -84,7 +84,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) local_unnamed_addr #0 !dbg !41 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) local_unnamed_addr #0 !dbg !41 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !44 // CHECK:STDOUT: } @@ -120,7 +120,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: !22 = !DILocation(line: 18, column: 9, scope: !16) // CHECK:STDOUT: !23 = !DILocation(line: 19, column: 5, scope: !16) // CHECK:STDOUT: !24 = !DILocation(line: 299, column: 3, scope: !25, inlinedAt: !32) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.04e8e1f1c1e2bc99.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec", scope: null, file: !26, line: 299, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17", scope: null, file: !26, line: 299, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) // CHECK:STDOUT: !26 = !DIFile(filename: "{{.*}}/prelude/types/int.carbon", directory: "") // CHECK:STDOUT: !27 = !DISubroutineType(types: !28) // CHECK:STDOUT: !28 = !{null, !7, !7} @@ -136,7 +136,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: !38 = distinct !DILocation(line: 20, column: 5, scope: !16) // CHECK:STDOUT: !39 = !DILocation(line: 18, column: 10, scope: !16) // CHECK:STDOUT: !40 = !DILocation(line: 15, column: 1, scope: !16) -// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 17, type: !34, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) +// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 17, type: !34, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) // CHECK:STDOUT: !42 = !{!43} // CHECK:STDOUT: !43 = !DILocalVariable(arg: 1, scope: !41, type: !7) // CHECK:STDOUT: !44 = !DILocation(line: 17, column: 3, scope: !41) diff --git a/toolchain/driver/testdata/compile/optimize/optimize_none.carbon b/toolchain/driver/testdata/compile/optimize/optimize_none.carbon index 698764029458..ec3a654ad59b 100644 --- a/toolchain/driver/testdata/compile/optimize/optimize_none.carbon +++ b/toolchain/driver/testdata/compile/optimize/optimize_none.carbon @@ -79,12 +79,12 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: br label %while.cond, !dbg !26 // CHECK:STDOUT: // CHECK:STDOUT: while.done: ; preds = %while.cond -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !20 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !20 // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: noinline nounwind optnone -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !28 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } @@ -94,13 +94,13 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: noinline nounwind optnone // CHECK:STDOUT: define linkonce_odr void @"_COp.Int.9452f4c51951679b.Core:Inc.Core.be1e879c1ad406d8"(ptr %self) #0 !dbg !34 { -// CHECK:STDOUT: call void @"_COp:thunk:AddAssignWith.04e8e1f1c1e2bc99.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec"(ptr %self, i32 1), !dbg !38 +// CHECK:STDOUT: call void @"_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17"(ptr %self, i32 1), !dbg !38 // CHECK:STDOUT: ret void, !dbg !39 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: noinline nounwind optnone -// CHECK:STDOUT: define linkonce_odr void @"_COp:thunk:AddAssignWith.04e8e1f1c1e2bc99.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec"(ptr %self, i32 %other) #0 !dbg !40 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f"(i32 %other), !dbg !46 +// CHECK:STDOUT: define linkonce_odr void @"_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17"(ptr %self, i32 %other) #0 !dbg !40 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %other), !dbg !46 // CHECK:STDOUT: %2 = load i32, ptr %self, align 4, !dbg !47 // CHECK:STDOUT: %3 = add i32 %2, %1, !dbg !47 // CHECK:STDOUT: store i32 %3, ptr %self, align 4, !dbg !47 @@ -108,7 +108,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: noinline nounwind optnone -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f"(i32 %self) #0 !dbg !48 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %self) #0 !dbg !48 { // CHECK:STDOUT: %1 = call i32 @"_CAsInt.Int.9452f4c51951679b.Core:AnyInt.Core.be1e879c1ad406d8"(i32 %self), !dbg !53 // CHECK:STDOUT: ret i32 %1, !dbg !54 // CHECK:STDOUT: } @@ -152,7 +152,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: !25 = !DILocation(line: 20, column: 5, scope: !14) // CHECK:STDOUT: !26 = !DILocation(line: 18, column: 3, scope: !14) // CHECK:STDOUT: !27 = !DILocation(line: 15, column: 1, scope: !14) -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 17, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 17, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !29 = !DISubroutineType(types: !30) // CHECK:STDOUT: !30 = !{null, !7} // CHECK:STDOUT: !31 = !{!32} @@ -164,7 +164,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: !37 = !DILocalVariable(arg: 1, scope: !34, type: !7) // CHECK:STDOUT: !38 = !DILocation(line: 365, column: 5, scope: !34) // CHECK:STDOUT: !39 = !DILocation(line: 363, column: 3, scope: !34) -// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.04e8e1f1c1e2bc99.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec", scope: null, file: !35, line: 299, type: !41, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43) +// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17", scope: null, file: !35, line: 299, type: !41, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43) // CHECK:STDOUT: !41 = !DISubroutineType(types: !42) // CHECK:STDOUT: !42 = !{null, !7, !7} // CHECK:STDOUT: !43 = !{!44, !45} @@ -172,7 +172,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: !45 = !DILocalVariable(arg: 2, scope: !40, type: !7) // CHECK:STDOUT: !46 = !DILocation(line: 4294967295, scope: !40) // CHECK:STDOUT: !47 = !DILocation(line: 299, column: 3, scope: !40) -// CHECK:STDOUT: !48 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f", scope: null, file: !35, line: 62, type: !49, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !51) +// CHECK:STDOUT: !48 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc", scope: null, file: !35, line: 62, type: !49, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !51) // CHECK:STDOUT: !49 = !DISubroutineType(types: !50) // CHECK:STDOUT: !50 = !{!7, !7} // CHECK:STDOUT: !51 = !{!52} diff --git a/toolchain/driver/testdata/compile/optimize/optimize_size.carbon b/toolchain/driver/testdata/compile/optimize/optimize_size.carbon index ae16390ff54e..803b155bedd0 100644 --- a/toolchain/driver/testdata/compile/optimize/optimize_size.carbon +++ b/toolchain/driver/testdata/compile/optimize/optimize_size.carbon @@ -78,12 +78,12 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: br label %while.cond, !dbg !26 // CHECK:STDOUT: // CHECK:STDOUT: while.done: ; preds = %while.cond -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !20 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !20 // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: minsize nounwind optsize -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !28 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } @@ -93,13 +93,13 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: minsize nounwind optsize // CHECK:STDOUT: define linkonce_odr void @"_COp.Int.9452f4c51951679b.Core:Inc.Core.be1e879c1ad406d8"(ptr %self) #0 !dbg !34 { -// CHECK:STDOUT: call void @"_COp:thunk:AddAssignWith.04e8e1f1c1e2bc99.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec"(ptr %self, i32 1), !dbg !38 +// CHECK:STDOUT: call void @"_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17"(ptr %self, i32 1), !dbg !38 // CHECK:STDOUT: ret void, !dbg !39 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline minsize nounwind optsize -// CHECK:STDOUT: define linkonce_odr void @"_COp:thunk:AddAssignWith.04e8e1f1c1e2bc99.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec"(ptr %self, i32 %other) #2 !dbg !40 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f"(i32 %other), !dbg !46 +// CHECK:STDOUT: define linkonce_odr void @"_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17"(ptr %self, i32 %other) #2 !dbg !40 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %other), !dbg !46 // CHECK:STDOUT: %2 = load i32, ptr %self, align 4, !dbg !47 // CHECK:STDOUT: %3 = add i32 %2, %1, !dbg !47 // CHECK:STDOUT: store i32 %3, ptr %self, align 4, !dbg !47 @@ -107,7 +107,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: minsize nounwind optsize -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f"(i32 %self) #0 !dbg !48 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %self) #0 !dbg !48 { // CHECK:STDOUT: %1 = call i32 @"_CAsInt.Int.9452f4c51951679b.Core:AnyInt.Core.be1e879c1ad406d8"(i32 %self), !dbg !53 // CHECK:STDOUT: ret i32 %1, !dbg !54 // CHECK:STDOUT: } @@ -152,7 +152,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: !25 = !DILocation(line: 20, column: 5, scope: !14) // CHECK:STDOUT: !26 = !DILocation(line: 18, column: 3, scope: !14) // CHECK:STDOUT: !27 = !DILocation(line: 15, column: 1, scope: !14) -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 17, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 17, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !29 = !DISubroutineType(types: !30) // CHECK:STDOUT: !30 = !{null, !7} // CHECK:STDOUT: !31 = !{!32} @@ -164,7 +164,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: !37 = !DILocalVariable(arg: 1, scope: !34, type: !7) // CHECK:STDOUT: !38 = !DILocation(line: 365, column: 5, scope: !34) // CHECK:STDOUT: !39 = !DILocation(line: 363, column: 3, scope: !34) -// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.04e8e1f1c1e2bc99.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec", scope: null, file: !35, line: 299, type: !41, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43) +// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17", scope: null, file: !35, line: 299, type: !41, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43) // CHECK:STDOUT: !41 = !DISubroutineType(types: !42) // CHECK:STDOUT: !42 = !{null, !7, !7} // CHECK:STDOUT: !43 = !{!44, !45} @@ -172,7 +172,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: !45 = !DILocalVariable(arg: 2, scope: !40, type: !7) // CHECK:STDOUT: !46 = !DILocation(line: 4294967295, scope: !40) // CHECK:STDOUT: !47 = !DILocation(line: 299, column: 3, scope: !40) -// CHECK:STDOUT: !48 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f", scope: null, file: !35, line: 62, type: !49, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !51) +// CHECK:STDOUT: !48 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc", scope: null, file: !35, line: 62, type: !49, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !51) // CHECK:STDOUT: !49 = !DISubroutineType(types: !50) // CHECK:STDOUT: !50 = !{!7, !7} // CHECK:STDOUT: !51 = !{!52} diff --git a/toolchain/driver/testdata/compile/optimize/optimize_speed.carbon b/toolchain/driver/testdata/compile/optimize/optimize_speed.carbon index 1ba72e664a75..2084f39435e3 100644 --- a/toolchain/driver/testdata/compile/optimize/optimize_speed.carbon +++ b/toolchain/driver/testdata/compile/optimize/optimize_speed.carbon @@ -100,7 +100,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) local_unnamed_addr #0 !dbg !43 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) local_unnamed_addr #0 !dbg !43 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !46 // CHECK:STDOUT: } @@ -135,7 +135,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: !21 = !DILocalVariable(arg: 1, scope: !16, type: !19) // CHECK:STDOUT: !22 = !DILocation(line: 18, column: 9, scope: !16) // CHECK:STDOUT: !23 = !DILocation(line: 299, column: 3, scope: !24, inlinedAt: !31) -// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.04e8e1f1c1e2bc99.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec", scope: null, file: !25, line: 299, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) +// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17", scope: null, file: !25, line: 299, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) // CHECK:STDOUT: !25 = !DIFile(filename: "{{.*}}/prelude/types/int.carbon", directory: "") // CHECK:STDOUT: !26 = !DISubroutineType(types: !27) // CHECK:STDOUT: !27 = !{null, !7, !7} @@ -154,7 +154,7 @@ fn VectorizedWithOptSpeed(a: array(i32, 65536)*) { // CHECK:STDOUT: !40 = !{!"llvm.loop.isvectorized", i32 1} // CHECK:STDOUT: !41 = !{!"llvm.loop.unroll.runtime.disable"} // CHECK:STDOUT: !42 = !DILocation(line: 15, column: 1, scope: !16) -// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 17, type: !33, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !44) +// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 17, type: !33, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !44) // CHECK:STDOUT: !44 = !{!45} // CHECK:STDOUT: !45 = !DILocalVariable(arg: 1, scope: !43, type: !7) // CHECK:STDOUT: !46 = !DILocation(line: 17, column: 3, scope: !43) diff --git a/toolchain/lower/testdata/array/array_in_place.carbon b/toolchain/lower/testdata/array/array_in_place.carbon index 4d74d1b7b99c..778a6a79cf63 100644 --- a/toolchain/lower/testdata/array/array_in_place.carbon +++ b/toolchain/lower/testdata/array/array_in_place.carbon @@ -30,24 +30,24 @@ fn G() { // CHECK:STDOUT: call void @_CF.Main(ptr %.loc16_47.6.array.index), !dbg !9 // CHECK:STDOUT: %.loc16_47.5.array.index = getelementptr inbounds [2 x { i32, i32, i32 }], ptr %_.var, i32 0, i64 1, !dbg !8 // CHECK:STDOUT: call void @_CF.Main(ptr %.loc16_47.5.array.index), !dbg !10 -// CHECK:STDOUT: call void @"_COp.df5f21f478fa2fb1:core.Destroy.Core"(ptr %_.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.12a503238908bcf1:core.Destroy.Core"(ptr %_.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.df5f21f478fa2fb1:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.12a503238908bcf1:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } @@ -73,21 +73,21 @@ fn G() { // CHECK:STDOUT: !9 = !DILocation(line: 16, column: 39, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 16, column: 44, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 15, column: 1, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !15} // CHECK:STDOUT: !15 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !12, type: !15) // CHECK:STDOUT: !18 = !DILocation(line: 16, column: 3, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.9eed32d146d768a4:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d52e974a95b4c7a0:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !22} // CHECK:STDOUT: !22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !19, type: !22) // CHECK:STDOUT: !25 = !DILocation(line: 16, column: 3, scope: !19) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.df5f21f478fa2fb1:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.12a503238908bcf1:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !26, type: !22) // CHECK:STDOUT: !29 = !DILocation(line: 16, column: 3, scope: !26) diff --git a/toolchain/lower/testdata/array/assign_return_value.carbon b/toolchain/lower/testdata/array/assign_return_value.carbon index daa7313055fd..269efc8ee2eb 100644 --- a/toolchain/lower/testdata/array/assign_return_value.carbon +++ b/toolchain/lower/testdata/array/assign_return_value.carbon @@ -19,14 +19,14 @@ fn Run() { // CHECK:STDOUT: ; ModuleID = 'assign_return_value.carbon' // CHECK:STDOUT: source_filename = "assign_return_value.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @tuple.a53.loc13_39 = internal constant { i32, i32 } { i32 12, i32 24 } +// CHECK:STDOUT: @tuple.d4e.loc13_39 = internal constant { i32, i32 } { i32 12, i32 24 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF.Main(ptr sret({ i32, i32 }) %return) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %tuple.elem0.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %return, i32 0, i32 0, !dbg !8 // CHECK:STDOUT: %tuple.elem1.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %return, i32 0, i32 1, !dbg !8 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %return, ptr align 4 @tuple.a53.loc13_39, i64 8, i1 false), !dbg !9 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %return, ptr align 4 @tuple.d4e.loc13_39, i64 8, i1 false), !dbg !9 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -46,25 +46,25 @@ fn Run() { // CHECK:STDOUT: %.loc16_28.6 = load i32, ptr %tuple.elem1.tuple.elem, align 4, !dbg !15 // CHECK:STDOUT: %.loc16_28.7.array.index = getelementptr inbounds [2 x i32], ptr %_.var, i32 0, i64 1, !dbg !15 // CHECK:STDOUT: store i32 %.loc16_28.6, ptr %.loc16_28.7.array.index, align 4, !dbg !15 -// CHECK:STDOUT: call void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %.loc16_28.1.temp), !dbg !15 -// CHECK:STDOUT: call void @"_COp.a4284a45d9b6bc42:core.Destroy.Core"(ptr %_.var), !dbg !14 +// CHECK:STDOUT: call void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %.loc16_28.1.temp), !dbg !15 +// CHECK:STDOUT: call void @"_COp.f58d330ca5a9dabc:core.Destroy.Core"(ptr %_.var), !dbg !14 // CHECK:STDOUT: ret i32 0, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !17 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !17 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %self) #0 !dbg !23 { +// CHECK:STDOUT: define weak_odr void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %self) #0 !dbg !23 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.a4284a45d9b6bc42:core.Destroy.Core"(ptr %self) #0 !dbg !29 { +// CHECK:STDOUT: define weak_odr void @"_COp.f58d330ca5a9dabc:core.Destroy.Core"(ptr %self) #0 !dbg !29 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !32 // CHECK:STDOUT: } @@ -101,19 +101,19 @@ fn Run() { // CHECK:STDOUT: !14 = !DILocation(line: 16, column: 3, scope: !10) // CHECK:STDOUT: !15 = !DILocation(line: 16, column: 26, scope: !10) // CHECK:STDOUT: !16 = !DILocation(line: 15, column: 1, scope: !10) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !18 = !DISubroutineType(types: !19) // CHECK:STDOUT: !19 = !{null, !13} // CHECK:STDOUT: !20 = !{!21} // CHECK:STDOUT: !21 = !DILocalVariable(arg: 1, scope: !17, type: !13) // CHECK:STDOUT: !22 = !DILocation(line: 16, column: 26, scope: !17) -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.26f166843e861eec:core.Destroy.Core", scope: null, file: !3, line: 16, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.11d8dd9278293aa3:core.Destroy.Core", scope: null, file: !3, line: 16, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) // CHECK:STDOUT: !24 = !DISubroutineType(types: !25) // CHECK:STDOUT: !25 = !{null, !7} // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !23, type: !7) // CHECK:STDOUT: !28 = !DILocation(line: 16, column: 26, scope: !23) -// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a4284a45d9b6bc42:core.Destroy.Core", scope: null, file: !3, line: 16, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.f58d330ca5a9dabc:core.Destroy.Core", scope: null, file: !3, line: 16, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) // CHECK:STDOUT: !30 = !{!31} // CHECK:STDOUT: !31 = !DILocalVariable(arg: 1, scope: !29, type: !7) // CHECK:STDOUT: !32 = !DILocation(line: 16, column: 3, scope: !29) diff --git a/toolchain/lower/testdata/array/base.carbon b/toolchain/lower/testdata/array/base.carbon index bc2303d8753b..3a6345ea6b34 100644 --- a/toolchain/lower/testdata/array/base.carbon +++ b/toolchain/lower/testdata/array/base.carbon @@ -21,10 +21,10 @@ fn Run() { // CHECK:STDOUT: ; ModuleID = 'base.carbon' // CHECK:STDOUT: source_filename = "base.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @array.765.loc14_3 = internal constant [1 x i32] [i32 1] -// CHECK:STDOUT: @array.c9a.loc15_3 = internal constant [2 x double] [double 1.110000e+01, double 2.200000e+00] +// CHECK:STDOUT: @array.69a.loc14_3 = internal constant [1 x i32] [i32 1] +// CHECK:STDOUT: @array.30f.loc15_3 = internal constant [2 x double] [double 1.110000e+01, double 2.200000e+00] // CHECK:STDOUT: @array.1cb.loc16_3 = internal constant [5 x {}] zeroinitializer -// CHECK:STDOUT: @tuple.8d2.loc17_3 = internal constant { i32, i32, i32 } { i32 1, i32 2, i32 3 } +// CHECK:STDOUT: @tuple.282.loc17_3 = internal constant { i32, i32, i32 } { i32 1, i32 2, i32 3 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @main() #0 !dbg !4 { @@ -36,11 +36,11 @@ fn Run() { // CHECK:STDOUT: %_.var.loc18 = alloca [3 x i32], align 4, !dbg !12 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc14), !dbg !8 // CHECK:STDOUT: %.loc14_29.3.array.index = getelementptr inbounds [1 x i32], ptr %_.var.loc14, i32 0, i64 0, !dbg !13 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %_.var.loc14, ptr align 4 @array.765.loc14_3, i64 4, i1 false), !dbg !8 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %_.var.loc14, ptr align 4 @array.69a.loc14_3, i64 4, i1 false), !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc15), !dbg !9 // CHECK:STDOUT: %.loc15_37.3.array.index = getelementptr inbounds [2 x double], ptr %_.var.loc15, i32 0, i64 0, !dbg !14 // CHECK:STDOUT: %.loc15_37.6.array.index = getelementptr inbounds [2 x double], ptr %_.var.loc15, i32 0, i64 1, !dbg !14 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var.loc15, ptr align 8 @array.c9a.loc15_3, i64 16, i1 false), !dbg !9 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var.loc15, ptr align 8 @array.30f.loc15_3, i64 16, i1 false), !dbg !9 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc16), !dbg !10 // CHECK:STDOUT: %.loc16_45.2.array.index = getelementptr inbounds [5 x {}], ptr %_.var.loc16, i32 0, i64 0, !dbg !15 // CHECK:STDOUT: %.loc16_45.5.array.index = getelementptr inbounds [5 x {}], ptr %_.var.loc16, i32 0, i64 1, !dbg !15 @@ -52,7 +52,7 @@ fn Run() { // CHECK:STDOUT: %tuple.elem0.loc17.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %d.var, i32 0, i32 0, !dbg !16 // CHECK:STDOUT: %tuple.elem1.loc17.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %d.var, i32 0, i32 1, !dbg !16 // CHECK:STDOUT: %tuple.elem2.loc17.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %d.var, i32 0, i32 2, !dbg !16 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %d.var, ptr align 4 @tuple.8d2.loc17_3, i64 12, i1 false), !dbg !11 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %d.var, ptr align 4 @tuple.282.loc17_3, i64 12, i1 false), !dbg !11 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc18), !dbg !12 // CHECK:STDOUT: %tuple.elem0.loc18.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %d.var, i32 0, i32 0, !dbg !17 // CHECK:STDOUT: %.loc18_26.1 = load i32, ptr %tuple.elem0.loc18.tuple.elem, align 4, !dbg !17 @@ -66,28 +66,28 @@ fn Run() { // CHECK:STDOUT: %.loc18_26.7 = load i32, ptr %tuple.elem2.loc18.tuple.elem, align 4, !dbg !17 // CHECK:STDOUT: %.loc18_26.8.array.index = getelementptr inbounds [3 x i32], ptr %_.var.loc18, i32 0, i64 2, !dbg !17 // CHECK:STDOUT: store i32 %.loc18_26.7, ptr %.loc18_26.8.array.index, align 4, !dbg !17 -// CHECK:STDOUT: call void @"_COp.1c95d180afb5f529:core.Destroy.Core"(ptr %_.var.loc18), !dbg !12 -// CHECK:STDOUT: call void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %d.var), !dbg !11 +// CHECK:STDOUT: call void @"_COp.56bbd9491002a1aa:core.Destroy.Core"(ptr %_.var.loc18), !dbg !12 +// CHECK:STDOUT: call void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %d.var), !dbg !11 // CHECK:STDOUT: call void @"_COp.fd2b1e64e898d326:core.Destroy.Core"(ptr %_.var.loc16), !dbg !10 -// CHECK:STDOUT: call void @"_COp.3f75afeba3821ad2:core.Destroy.Core"(ptr %_.var.loc15), !dbg !9 -// CHECK:STDOUT: call void @"_COp.686b145eea938d24:core.Destroy.Core"(ptr %_.var.loc14), !dbg !8 +// CHECK:STDOUT: call void @"_COp.dd59bb293ac18dc4:core.Destroy.Core"(ptr %_.var.loc15), !dbg !9 +// CHECK:STDOUT: call void @"_COp.43e615b32eb0f320:core.Destroy.Core"(ptr %_.var.loc14), !dbg !8 // CHECK:STDOUT: ret i32 0, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.1c95d180afb5f529:core.Destroy.Core"(ptr %self) #0 !dbg !25 { +// CHECK:STDOUT: define weak_odr void @"_COp.56bbd9491002a1aa:core.Destroy.Core"(ptr %self) #0 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %self) #0 !dbg !32 { +// CHECK:STDOUT: define weak_odr void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %self) #0 !dbg !32 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !35 // CHECK:STDOUT: } @@ -99,19 +99,19 @@ fn Run() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !40 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !40 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !43 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.3f75afeba3821ad2:core.Destroy.Core"(ptr %self) #0 !dbg !44 { +// CHECK:STDOUT: define weak_odr void @"_COp.dd59bb293ac18dc4:core.Destroy.Core"(ptr %self) #0 !dbg !44 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !47 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.686b145eea938d24:core.Destroy.Core"(ptr %self) #0 !dbg !48 { +// CHECK:STDOUT: define weak_odr void @"_COp.43e615b32eb0f320:core.Destroy.Core"(ptr %self) #0 !dbg !48 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !51 // CHECK:STDOUT: } @@ -151,20 +151,20 @@ fn Run() { // CHECK:STDOUT: !16 = !DILocation(line: 17, column: 28, scope: !4) // CHECK:STDOUT: !17 = !DILocation(line: 18, column: 26, scope: !4) // CHECK:STDOUT: !18 = !DILocation(line: 13, column: 1, scope: !4) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 18, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 18, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !7} // CHECK:STDOUT: !22 = !{!23} // CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !19, type: !7) // CHECK:STDOUT: !24 = !DILocation(line: 18, column: 3, scope: !19) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1c95d180afb5f529:core.Destroy.Core", scope: null, file: !3, line: 18, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.56bbd9491002a1aa:core.Destroy.Core", scope: null, file: !3, line: 18, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) // CHECK:STDOUT: !26 = !DISubroutineType(types: !27) // CHECK:STDOUT: !27 = !{null, !28} // CHECK:STDOUT: !28 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !29 = !{!30} // CHECK:STDOUT: !30 = !DILocalVariable(arg: 1, scope: !25, type: !28) // CHECK:STDOUT: !31 = !DILocation(line: 18, column: 3, scope: !25) -// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.9eed32d146d768a4:core.Destroy.Core", scope: null, file: !3, line: 17, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !33) +// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d52e974a95b4c7a0:core.Destroy.Core", scope: null, file: !3, line: 17, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !33) // CHECK:STDOUT: !33 = !{!34} // CHECK:STDOUT: !34 = !DILocalVariable(arg: 1, scope: !32, type: !28) // CHECK:STDOUT: !35 = !DILocation(line: 17, column: 3, scope: !32) @@ -172,15 +172,15 @@ fn Run() { // CHECK:STDOUT: !37 = !{!38} // CHECK:STDOUT: !38 = !DILocalVariable(arg: 1, scope: !36, type: !28) // CHECK:STDOUT: !39 = !DILocation(line: 16, column: 3, scope: !36) -// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 15, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !41) +// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 15, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !41) // CHECK:STDOUT: !41 = !{!42} // CHECK:STDOUT: !42 = !DILocalVariable(arg: 1, scope: !40, type: !28) // CHECK:STDOUT: !43 = !DILocation(line: 15, column: 3, scope: !40) -// CHECK:STDOUT: !44 = distinct !DISubprogram(name: "Op", linkageName: "_COp.3f75afeba3821ad2:core.Destroy.Core", scope: null, file: !3, line: 15, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !45) +// CHECK:STDOUT: !44 = distinct !DISubprogram(name: "Op", linkageName: "_COp.dd59bb293ac18dc4:core.Destroy.Core", scope: null, file: !3, line: 15, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !45) // CHECK:STDOUT: !45 = !{!46} // CHECK:STDOUT: !46 = !DILocalVariable(arg: 1, scope: !44, type: !28) // CHECK:STDOUT: !47 = !DILocation(line: 15, column: 3, scope: !44) -// CHECK:STDOUT: !48 = distinct !DISubprogram(name: "Op", linkageName: "_COp.686b145eea938d24:core.Destroy.Core", scope: null, file: !3, line: 14, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !49) +// CHECK:STDOUT: !48 = distinct !DISubprogram(name: "Op", linkageName: "_COp.43e615b32eb0f320:core.Destroy.Core", scope: null, file: !3, line: 14, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !49) // CHECK:STDOUT: !49 = !{!50} // CHECK:STDOUT: !50 = !DILocalVariable(arg: 1, scope: !48, type: !28) // CHECK:STDOUT: !51 = !DILocation(line: 14, column: 3, scope: !48) diff --git a/toolchain/lower/testdata/array/function_param.carbon b/toolchain/lower/testdata/array/function_param.carbon index ef3daf309560..24f6108ac354 100644 --- a/toolchain/lower/testdata/array/function_param.carbon +++ b/toolchain/lower/testdata/array/function_param.carbon @@ -41,18 +41,18 @@ fn G() -> i32 { // CHECK:STDOUT: %.loc18_20.7.array.index = getelementptr inbounds [3 x i32], ptr %.loc18_20.3.temp, i32 0, i64 1, !dbg !17 // CHECK:STDOUT: %.loc18_20.10.array.index = getelementptr inbounds [3 x i32], ptr %.loc18_20.3.temp, i32 0, i64 2, !dbg !17 // CHECK:STDOUT: %F.call = call i32 @_CF.Main(ptr @array.loc18_20.15, i32 1), !dbg !18 -// CHECK:STDOUT: call void @"_COp.1c95d180afb5f529:core.Destroy.Core"(ptr @array), !dbg !17 +// CHECK:STDOUT: call void @"_COp.56bbd9491002a1aa:core.Destroy.Core"(ptr @array), !dbg !17 // CHECK:STDOUT: ret i32 %F.call, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !20 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !20 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.1c95d180afb5f529:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.56bbd9491002a1aa:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } @@ -86,13 +86,13 @@ fn G() -> i32 { // CHECK:STDOUT: !17 = !DILocation(line: 18, column: 12, scope: !14) // CHECK:STDOUT: !18 = !DILocation(line: 18, column: 10, scope: !14) // CHECK:STDOUT: !19 = !DILocation(line: 18, column: 3, scope: !14) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 18, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 18, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !21 = !DISubroutineType(types: !22) // CHECK:STDOUT: !22 = !{null, !7} // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !20, type: !7) // CHECK:STDOUT: !25 = !DILocation(line: 18, column: 12, scope: !20) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1c95d180afb5f529:core.Destroy.Core", scope: null, file: !3, line: 18, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.56bbd9491002a1aa:core.Destroy.Core", scope: null, file: !3, line: 18, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) // CHECK:STDOUT: !27 = !DISubroutineType(types: !28) // CHECK:STDOUT: !28 = !{null, !8} // CHECK:STDOUT: !29 = !{!30} diff --git a/toolchain/lower/testdata/array/iterate.carbon b/toolchain/lower/testdata/array/iterate.carbon index 320f2b98f65f..5e486bb8a9e1 100644 --- a/toolchain/lower/testdata/array/iterate.carbon +++ b/toolchain/lower/testdata/array/iterate.carbon @@ -40,61 +40,61 @@ fn F() { // CHECK:STDOUT: %.loc16_43.13.array.index = getelementptr inbounds [6 x i32], ptr %.loc16_43.3.temp, i32 0, i64 3, !dbg !7 // CHECK:STDOUT: %.loc16_43.16.array.index = getelementptr inbounds [6 x i32], ptr %.loc16_43.3.temp, i32 0, i64 4, !dbg !7 // CHECK:STDOUT: %.loc16_43.19.array.index = getelementptr inbounds [6 x i32], ptr %.loc16_43.3.temp, i32 0, i64 5, !dbg !7 -// CHECK:STDOUT: %array_type.as.Iterate.impl.NewCursor.call = call i32 @"_CNewCursor.b8111087f462a219:Iterate.Core.50a5645d0fe1902e"(ptr @array.loc16_43.24), !dbg !8 +// CHECK:STDOUT: %array_type.as.Iterate.impl.NewCursor.call = call i32 @"_CNewCursor.0afe571147d09361:Iterate.Core.dc501a7f71190c73"(ptr @array.loc16_43.24), !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %var), !dbg !8 // CHECK:STDOUT: store i32 %array_type.as.Iterate.impl.NewCursor.call, ptr %var, align 4, !dbg !8 // CHECK:STDOUT: br label %for.next, !dbg !8 // CHECK:STDOUT: // CHECK:STDOUT: for.next: ; preds = %for.body, %entry // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc17_19.1.temp), !dbg !8 -// CHECK:STDOUT: call void @"_CNext.b8111087f462a219:Iterate.Core.50a5645d0fe1902e"(ptr %.loc17_19.1.temp, ptr @array.loc16_43.24, ptr %var), !dbg !8 -// CHECK:STDOUT: %Optional.HasValue.call = call i1 @_CHasValue.Optional.Core.55031e4a9a3fa843(ptr %.loc17_19.1.temp), !dbg !8 +// CHECK:STDOUT: call void @"_CNext.0afe571147d09361:Iterate.Core.dc501a7f71190c73"(ptr %.loc17_19.1.temp, ptr @array.loc16_43.24, ptr %var), !dbg !8 +// CHECK:STDOUT: %Optional.HasValue.call = call i1 @_CHasValue.Optional.Core.7ad52311c812a115(ptr %.loc17_19.1.temp), !dbg !8 // CHECK:STDOUT: br i1 %Optional.HasValue.call, label %for.body, label %for.done, !dbg !8 // CHECK:STDOUT: // CHECK:STDOUT: for.body: ; preds = %for.next -// CHECK:STDOUT: %Optional.Get.call = call i32 @_CGet.Optional.Core.55031e4a9a3fa843(ptr %.loc17_19.1.temp), !dbg !8 +// CHECK:STDOUT: %Optional.Get.call = call i32 @_CGet.Optional.Core.7ad52311c812a115(ptr %.loc17_19.1.temp), !dbg !8 // CHECK:STDOUT: call void @_CG.Main(i32 %Optional.Get.call), !dbg !9 // CHECK:STDOUT: br label %for.next, !dbg !10 // CHECK:STDOUT: // CHECK:STDOUT: for.done: ; preds = %for.next -// CHECK:STDOUT: call void @"_COp.1d8d02f29d540c8e:core.Destroy.Core"(ptr %.loc17_19.1.temp), !dbg !8 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.8ee2ca6e48da1a18:core.Destroy.Core"(ptr @array), !dbg !7 +// CHECK:STDOUT: call void @"_COp.d5482613e837c879:core.Destroy.Core"(ptr %.loc17_19.1.temp), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1c83906efabe1295:core.Destroy.Core"(ptr @array), !dbg !7 // CHECK:STDOUT: ret void, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.5d78bb11848724da:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.bc4985fcac159a9a:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.e6bd9626cf45e979:core.Destroy.Core"(ptr %self) #0 !dbg !23 { +// CHECK:STDOUT: define weak_odr void @"_COp.6d11ad784a4a1da0:core.Destroy.Core"(ptr %self) #0 !dbg !23 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.1bc1533dda6a5e5d:core.Destroy.Core"(ptr %self) #0 !dbg !30 { +// CHECK:STDOUT: define weak_odr void @"_COp.46fe0c91b6e369e1:core.Destroy.Core"(ptr %self) #0 !dbg !30 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.1d8d02f29d540c8e:core.Destroy.Core"(ptr %self) #0 !dbg !34 { +// CHECK:STDOUT: define weak_odr void @"_COp.d5482613e837c879:core.Destroy.Core"(ptr %self) #0 !dbg !34 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !37 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.8ee2ca6e48da1a18:core.Destroy.Core"(ptr %self) #0 !dbg !38 { +// CHECK:STDOUT: define weak_odr void @"_COp.1c83906efabe1295:core.Destroy.Core"(ptr %self) #0 !dbg !38 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !41 // CHECK:STDOUT: } @@ -103,12 +103,12 @@ fn F() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CNewCursor.b8111087f462a219:Iterate.Core.50a5645d0fe1902e"(ptr %self) #0 !dbg !42 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CNewCursor.0afe571147d09361:Iterate.Core.dc501a7f71190c73"(ptr %self) #0 !dbg !42 { // CHECK:STDOUT: ret i32 0, !dbg !48 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CNext.b8111087f462a219:Iterate.Core.50a5645d0fe1902e"(ptr sret(<{ i32, i1 }>) %return, ptr %self, ptr %cursor) #0 !dbg !49 { +// CHECK:STDOUT: define linkonce_odr void @"_CNext.0afe571147d09361:Iterate.Core.dc501a7f71190c73"(ptr sret(<{ i32, i1 }>) %return, ptr %self, ptr %cursor) #0 !dbg !49 { // CHECK:STDOUT: %1 = load i32, ptr %cursor, align 4, !dbg !55 // CHECK:STDOUT: %2 = icmp slt i32 %1, 6, !dbg !55 // CHECK:STDOUT: br i1 %2, label %3, label %7, !dbg !56 @@ -119,46 +119,46 @@ fn F() { // CHECK:STDOUT: %5 = sub i32 %4, 1, !dbg !58 // CHECK:STDOUT: %array.index = getelementptr inbounds [6 x i32], ptr %self, i32 0, i32 %5, !dbg !59 // CHECK:STDOUT: %6 = load i32, ptr %array.index, align 4, !dbg !59 -// CHECK:STDOUT: call void @_CSome.Optional.Core.55031e4a9a3fa843(ptr %return, i32 %6), !dbg !60 +// CHECK:STDOUT: call void @_CSome.Optional.Core.7ad52311c812a115(ptr %return, i32 %6), !dbg !60 // CHECK:STDOUT: ret void, !dbg !61 // CHECK:STDOUT: // CHECK:STDOUT: 7: ; preds = %0 -// CHECK:STDOUT: call void @_CNone.Optional.Core.55031e4a9a3fa843(ptr %return), !dbg !62 +// CHECK:STDOUT: call void @_CNone.Optional.Core.7ad52311c812a115(ptr %return), !dbg !62 // CHECK:STDOUT: ret void, !dbg !63 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @_CHasValue.Optional.Core.55031e4a9a3fa843(ptr %self) #0 !dbg !64 { -// CHECK:STDOUT: %1 = call i1 @"_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.6d535d38260d6085"(ptr %self), !dbg !70 +// CHECK:STDOUT: define linkonce_odr i1 @_CHasValue.Optional.Core.7ad52311c812a115(ptr %self) #0 !dbg !64 { +// CHECK:STDOUT: %1 = call i1 @"_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.3f49c03818d8362d"(ptr %self), !dbg !70 // CHECK:STDOUT: ret i1 %1, !dbg !71 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CGet.Optional.Core.55031e4a9a3fa843(ptr %self) #0 !dbg !72 { -// CHECK:STDOUT: %1 = call i32 @"_CGet.ca6ae00af8d27ba2:OptionalStorage.Core.6d535d38260d6085"(ptr %self), !dbg !75 +// CHECK:STDOUT: define linkonce_odr i32 @_CGet.Optional.Core.7ad52311c812a115(ptr %self) #0 !dbg !72 { +// CHECK:STDOUT: %1 = call i32 @"_CGet.2d6936f0ed82c0eb:OptionalStorage.Core.3f49c03818d8362d"(ptr %self), !dbg !75 // CHECK:STDOUT: ret i32 %1, !dbg !76 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define linkonce_odr void @"_COp.Int.9452f4c51951679b.Core:Inc.Core.be1e879c1ad406d8"(ptr %self) #0 !dbg !77 { -// CHECK:STDOUT: call void @"_COp:thunk:AddAssignWith.5e64a0d5d6c6f700.Core:Int.9452f4c51951679b.Core:AddAssignWith.4fe8b3905f8c6cd6.Core.591c3007a06924b7"(ptr %self, i32 1), !dbg !81 +// CHECK:STDOUT: call void @"_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17"(ptr %self, i32 1), !dbg !81 // CHECK:STDOUT: ret void, !dbg !82 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CSome.Optional.Core.55031e4a9a3fa843(ptr sret(<{ i32, i1 }>) %return, i32 %value) #0 !dbg !83 { -// CHECK:STDOUT: call void @"_CSome.ca6ae00af8d27ba2:OptionalStorage.Core.6d535d38260d6085"(ptr %return, i32 %value), !dbg !88 +// CHECK:STDOUT: define linkonce_odr void @_CSome.Optional.Core.7ad52311c812a115(ptr sret(<{ i32, i1 }>) %return, i32 %value) #0 !dbg !83 { +// CHECK:STDOUT: call void @"_CSome.2d6936f0ed82c0eb:OptionalStorage.Core.3f49c03818d8362d"(ptr %return, i32 %value), !dbg !88 // CHECK:STDOUT: ret void, !dbg !89 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CNone.Optional.Core.55031e4a9a3fa843(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !90 { -// CHECK:STDOUT: call void @"_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.6d535d38260d6085"(ptr %return), !dbg !93 +// CHECK:STDOUT: define linkonce_odr void @_CNone.Optional.Core.7ad52311c812a115(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !90 { +// CHECK:STDOUT: call void @"_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.3f49c03818d8362d"(ptr %return), !dbg !93 // CHECK:STDOUT: ret void, !dbg !94 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @"_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.6d535d38260d6085"(ptr %value) #0 !dbg !95 { +// CHECK:STDOUT: define linkonce_odr i1 @"_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.3f49c03818d8362d"(ptr %value) #0 !dbg !95 { // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %value, i32 0, i32 1, !dbg !98 // CHECK:STDOUT: %1 = load i8, ptr %has_value, align 1, !dbg !98 // CHECK:STDOUT: %2 = trunc i8 %1 to i1, !dbg !98 @@ -166,15 +166,15 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CGet.ca6ae00af8d27ba2:OptionalStorage.Core.6d535d38260d6085"(ptr %value) #0 !dbg !100 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CGet.2d6936f0ed82c0eb:OptionalStorage.Core.3f49c03818d8362d"(ptr %value) #0 !dbg !100 { // CHECK:STDOUT: %value1 = getelementptr inbounds nuw <{ i32, i1 }>, ptr %value, i32 0, i32 0, !dbg !103 // CHECK:STDOUT: %1 = load i32, ptr %value1, align 4, !dbg !103 // CHECK:STDOUT: ret i32 %1, !dbg !104 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp:thunk:AddAssignWith.5e64a0d5d6c6f700.Core:Int.9452f4c51951679b.Core:AddAssignWith.4fe8b3905f8c6cd6.Core.591c3007a06924b7"(ptr %self, i32 %other) #2 !dbg !105 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.c87c855149fb259e:ImplicitAs.e4ded66cc6bddc4a.Core.e3b20abb6f2df606"(i32 %other), !dbg !111 +// CHECK:STDOUT: define linkonce_odr void @"_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17"(ptr %self, i32 %other) #2 !dbg !105 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %other), !dbg !111 // CHECK:STDOUT: %2 = load i32, ptr %self, align 4, !dbg !112 // CHECK:STDOUT: %3 = add i32 %2, %1, !dbg !112 // CHECK:STDOUT: store i32 %3, ptr %self, align 4, !dbg !112 @@ -182,7 +182,7 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CSome.ca6ae00af8d27ba2:OptionalStorage.Core.6d535d38260d6085"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !113 { +// CHECK:STDOUT: define linkonce_odr void @"_CSome.2d6936f0ed82c0eb:OptionalStorage.Core.3f49c03818d8362d"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !113 { // CHECK:STDOUT: %value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 0, !dbg !116 // CHECK:STDOUT: store i32 %self, ptr %value, align 4, !dbg !116 // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 1, !dbg !117 @@ -191,14 +191,14 @@ fn F() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.6d535d38260d6085"(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !119 { +// CHECK:STDOUT: define linkonce_odr void @"_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.3f49c03818d8362d"(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !119 { // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 1, !dbg !120 // CHECK:STDOUT: store i8 0, ptr %has_value, align 1, !dbg !120 // CHECK:STDOUT: ret void, !dbg !121 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.c87c855149fb259e:ImplicitAs.e4ded66cc6bddc4a.Core.e3b20abb6f2df606"(i32 %self) #0 !dbg !122 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %self) #0 !dbg !122 { // CHECK:STDOUT: %1 = call i32 @"_CAsInt.Int.9452f4c51951679b.Core:AnyInt.Core.be1e879c1ad406d8"(i32 %self), !dbg !127 // CHECK:STDOUT: ret i32 %1, !dbg !128 // CHECK:STDOUT: } @@ -230,44 +230,44 @@ fn F() { // CHECK:STDOUT: !9 = !DILocation(line: 18, column: 5, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 17, column: 3, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 15, column: 1, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 17, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 17, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !15} // CHECK:STDOUT: !15 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !12, type: !15) // CHECK:STDOUT: !18 = !DILocation(line: 17, column: 7, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5d78bb11848724da:core.Destroy.Core", scope: null, file: !3, line: 17, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.bc4985fcac159a9a:core.Destroy.Core", scope: null, file: !3, line: 17, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !20 = !{!21} // CHECK:STDOUT: !21 = !DILocalVariable(arg: 1, scope: !19, type: !15) // CHECK:STDOUT: !22 = !DILocation(line: 17, column: 7, scope: !19) -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e6bd9626cf45e979:core.Destroy.Core", scope: null, file: !3, line: 17, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6d11ad784a4a1da0:core.Destroy.Core", scope: null, file: !3, line: 17, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !24 = !DISubroutineType(types: !25) // CHECK:STDOUT: !25 = !{null, !26} // CHECK:STDOUT: !26 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !23, type: !26) // CHECK:STDOUT: !29 = !DILocation(line: 17, column: 7, scope: !23) -// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1bc1533dda6a5e5d:core.Destroy.Core", scope: null, file: !3, line: 17, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.46fe0c91b6e369e1:core.Destroy.Core", scope: null, file: !3, line: 17, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !30, type: !26) // CHECK:STDOUT: !33 = !DILocation(line: 17, column: 7, scope: !30) -// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1d8d02f29d540c8e:core.Destroy.Core", scope: null, file: !3, line: 17, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) +// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d5482613e837c879:core.Destroy.Core", scope: null, file: !3, line: 17, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) // CHECK:STDOUT: !35 = !{!36} // CHECK:STDOUT: !36 = !DILocalVariable(arg: 1, scope: !34, type: !26) // CHECK:STDOUT: !37 = !DILocation(line: 17, column: 7, scope: !34) -// CHECK:STDOUT: !38 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8ee2ca6e48da1a18:core.Destroy.Core", scope: null, file: !3, line: 16, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !39) +// CHECK:STDOUT: !38 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1c83906efabe1295:core.Destroy.Core", scope: null, file: !3, line: 16, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !39) // CHECK:STDOUT: !39 = !{!40} // CHECK:STDOUT: !40 = !DILocalVariable(arg: 1, scope: !38, type: !26) // CHECK:STDOUT: !41 = !DILocation(line: 16, column: 26, scope: !38) -// CHECK:STDOUT: !42 = distinct !DISubprogram(name: "NewCursor", linkageName: "_CNewCursor.b8111087f462a219:Iterate.Core.50a5645d0fe1902e", scope: null, file: !43, line: 23, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) +// CHECK:STDOUT: !42 = distinct !DISubprogram(name: "NewCursor", linkageName: "_CNewCursor.0afe571147d09361:Iterate.Core.dc501a7f71190c73", scope: null, file: !43, line: 23, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) // CHECK:STDOUT: !43 = !DIFile(filename: "{{.*}}/prelude/iterate.carbon", directory: "") // CHECK:STDOUT: !44 = !DISubroutineType(types: !45) // CHECK:STDOUT: !45 = !{!15, !26} // CHECK:STDOUT: !46 = !{!47} // CHECK:STDOUT: !47 = !DILocalVariable(arg: 1, scope: !42, type: !26) // CHECK:STDOUT: !48 = !DILocation(line: 23, column: 46, scope: !42) -// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "Next", linkageName: "_CNext.b8111087f462a219:Iterate.Core.50a5645d0fe1902e", scope: null, file: !43, line: 24, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !52) +// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "Next", linkageName: "_CNext.0afe571147d09361:Iterate.Core.dc501a7f71190c73", scope: null, file: !43, line: 24, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !52) // CHECK:STDOUT: !50 = !DISubroutineType(types: !51) // CHECK:STDOUT: !51 = !{!26, !26, !26} // CHECK:STDOUT: !52 = !{!53, !54} @@ -282,7 +282,7 @@ fn F() { // CHECK:STDOUT: !61 = !DILocation(line: 27, column: 7, scope: !49) // CHECK:STDOUT: !62 = !DILocation(line: 29, column: 14, scope: !49) // CHECK:STDOUT: !63 = !DILocation(line: 29, column: 7, scope: !49) -// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "HasValue", linkageName: "_CHasValue.Optional.Core.55031e4a9a3fa843", scope: null, file: !65, line: 36, type: !66, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !68) +// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "HasValue", linkageName: "_CHasValue.Optional.Core.7ad52311c812a115", scope: null, file: !65, line: 36, type: !66, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !68) // CHECK:STDOUT: !65 = !DIFile(filename: "{{.*}}/prelude/types/optional.carbon", directory: "") // CHECK:STDOUT: !66 = !DISubroutineType(types: !67) // CHECK:STDOUT: !67 = !{!26, !26} @@ -290,7 +290,7 @@ fn F() { // CHECK:STDOUT: !69 = !DILocalVariable(arg: 1, scope: !64, type: !26) // CHECK:STDOUT: !70 = !DILocation(line: 37, column: 12, scope: !64) // CHECK:STDOUT: !71 = !DILocation(line: 37, column: 5, scope: !64) -// CHECK:STDOUT: !72 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.Optional.Core.55031e4a9a3fa843", scope: null, file: !65, line: 39, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !73) +// CHECK:STDOUT: !72 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.Optional.Core.7ad52311c812a115", scope: null, file: !65, line: 39, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !73) // CHECK:STDOUT: !73 = !{!74} // CHECK:STDOUT: !74 = !DILocalVariable(arg: 1, scope: !72, type: !26) // CHECK:STDOUT: !75 = !DILocation(line: 40, column: 12, scope: !72) @@ -301,29 +301,29 @@ fn F() { // CHECK:STDOUT: !80 = !DILocalVariable(arg: 1, scope: !77, type: !15) // CHECK:STDOUT: !81 = !DILocation(line: 365, column: 5, scope: !77) // CHECK:STDOUT: !82 = !DILocation(line: 363, column: 3, scope: !77) -// CHECK:STDOUT: !83 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.55031e4a9a3fa843", scope: null, file: !65, line: 33, type: !84, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !86) +// CHECK:STDOUT: !83 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.7ad52311c812a115", scope: null, file: !65, line: 33, type: !84, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !86) // CHECK:STDOUT: !84 = !DISubroutineType(types: !85) // CHECK:STDOUT: !85 = !{!26, !15} // CHECK:STDOUT: !86 = !{!87} // CHECK:STDOUT: !87 = !DILocalVariable(arg: 1, scope: !83, type: !15) // CHECK:STDOUT: !88 = !DILocation(line: 34, column: 12, scope: !83) // CHECK:STDOUT: !89 = !DILocation(line: 34, column: 5, scope: !83) -// CHECK:STDOUT: !90 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.55031e4a9a3fa843", scope: null, file: !65, line: 30, type: !91, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !90 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.7ad52311c812a115", scope: null, file: !65, line: 30, type: !91, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !91 = !DISubroutineType(types: !92) // CHECK:STDOUT: !92 = !{!26} // CHECK:STDOUT: !93 = !DILocation(line: 31, column: 12, scope: !90) // CHECK:STDOUT: !94 = !DILocation(line: 31, column: 5, scope: !90) -// CHECK:STDOUT: !95 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.6d535d38260d6085", scope: null, file: !65, line: 141, type: !66, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !96) +// CHECK:STDOUT: !95 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.3f49c03818d8362d", scope: null, file: !65, line: 141, type: !66, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !96) // CHECK:STDOUT: !96 = !{!97} // CHECK:STDOUT: !97 = !DILocalVariable(arg: 1, scope: !95, type: !26) // CHECK:STDOUT: !98 = !DILocation(line: 142, column: 12, scope: !95) // CHECK:STDOUT: !99 = !DILocation(line: 142, column: 5, scope: !95) -// CHECK:STDOUT: !100 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.ca6ae00af8d27ba2:OptionalStorage.Core.6d535d38260d6085", scope: null, file: !65, line: 144, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !101) +// CHECK:STDOUT: !100 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.2d6936f0ed82c0eb:OptionalStorage.Core.3f49c03818d8362d", scope: null, file: !65, line: 144, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !101) // CHECK:STDOUT: !101 = !{!102} // CHECK:STDOUT: !102 = !DILocalVariable(arg: 1, scope: !100, type: !26) // CHECK:STDOUT: !103 = !DILocation(line: 145, column: 12, scope: !100) // CHECK:STDOUT: !104 = !DILocation(line: 145, column: 5, scope: !100) -// CHECK:STDOUT: !105 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.5e64a0d5d6c6f700.Core:Int.9452f4c51951679b.Core:AddAssignWith.4fe8b3905f8c6cd6.Core.591c3007a06924b7", scope: null, file: !78, line: 299, type: !106, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !108) +// CHECK:STDOUT: !105 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17", scope: null, file: !78, line: 299, type: !106, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !108) // CHECK:STDOUT: !106 = !DISubroutineType(types: !107) // CHECK:STDOUT: !107 = !{null, !15, !15} // CHECK:STDOUT: !108 = !{!109, !110} @@ -331,16 +331,16 @@ fn F() { // CHECK:STDOUT: !110 = !DILocalVariable(arg: 2, scope: !105, type: !15) // CHECK:STDOUT: !111 = !DILocation(line: 4294967295, scope: !105) // CHECK:STDOUT: !112 = !DILocation(line: 299, column: 3, scope: !105) -// CHECK:STDOUT: !113 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.ca6ae00af8d27ba2:OptionalStorage.Core.6d535d38260d6085", scope: null, file: !65, line: 131, type: !84, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !114) +// CHECK:STDOUT: !113 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.2d6936f0ed82c0eb:OptionalStorage.Core.3f49c03818d8362d", scope: null, file: !65, line: 131, type: !84, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !114) // CHECK:STDOUT: !114 = !{!115} // CHECK:STDOUT: !115 = !DILocalVariable(arg: 1, scope: !113, type: !15) // CHECK:STDOUT: !116 = !DILocation(line: 137, column: 5, scope: !113) // CHECK:STDOUT: !117 = !DILocation(line: 138, column: 5, scope: !113) // CHECK:STDOUT: !118 = !DILocation(line: 139, column: 5, scope: !113) -// CHECK:STDOUT: !119 = distinct !DISubprogram(name: "None", linkageName: "_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.6d535d38260d6085", scope: null, file: !65, line: 125, type: !91, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !119 = distinct !DISubprogram(name: "None", linkageName: "_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.3f49c03818d8362d", scope: null, file: !65, line: 125, type: !91, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !120 = !DILocation(line: 128, column: 5, scope: !119) // CHECK:STDOUT: !121 = !DILocation(line: 129, column: 5, scope: !119) -// CHECK:STDOUT: !122 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.c87c855149fb259e:ImplicitAs.e4ded66cc6bddc4a.Core.e3b20abb6f2df606", scope: null, file: !78, line: 62, type: !123, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !125) +// CHECK:STDOUT: !122 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc", scope: null, file: !78, line: 62, type: !123, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !125) // CHECK:STDOUT: !123 = !DISubroutineType(types: !124) // CHECK:STDOUT: !124 = !{!15, !15} // CHECK:STDOUT: !125 = !{!126} diff --git a/toolchain/lower/testdata/array/layout.carbon b/toolchain/lower/testdata/array/layout.carbon index 55e6e041b858..3875b6546ef5 100644 --- a/toolchain/lower/testdata/array/layout.carbon +++ b/toolchain/lower/testdata/array/layout.carbon @@ -49,24 +49,24 @@ var c: array(Core.Int(257), 5) = (1, 2, 3, 4, 5); // CHECK:STDOUT: %.loc12_13.array.index = getelementptr inbounds [3 x <{ <{ ptr, i32 }>, [4 x i8] }>], ptr %v.var, i32 0, i32 2, !dbg !12 // CHECK:STDOUT: %.loc12_14.b = getelementptr inbounds nuw <{ ptr, i32 }>, ptr %.loc12_13.array.index, i32 0, i32 1, !dbg !12 // CHECK:STDOUT: call void @_CCheck.Main(ptr %.loc12_14.b), !dbg !13 -// CHECK:STDOUT: call void @"_COp.238f0e52f8cd642a:core.Destroy.Core"(ptr %v.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.0154c643da095258:core.Destroy.Core"(ptr %v.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !14 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !15 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !15 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.14bcc134fcd9b011:core.Destroy.Core"(ptr %self) #0 !dbg !22 { +// CHECK:STDOUT: define weak_odr void @"_COp.b5e6b9ba1f3e5e4d:core.Destroy.Core"(ptr %self) #0 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.238f0e52f8cd642a:core.Destroy.Core"(ptr %self) #0 !dbg !29 { +// CHECK:STDOUT: define weak_odr void @"_COp.0154c643da095258:core.Destroy.Core"(ptr %self) #0 !dbg !29 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !32 // CHECK:STDOUT: } @@ -95,21 +95,21 @@ var c: array(Core.Int(257), 5) = (1, 2, 3, 4, 5); // CHECK:STDOUT: !12 = !DILocation(line: 12, column: 10, scope: !4) // CHECK:STDOUT: !13 = !DILocation(line: 12, column: 3, scope: !4) // CHECK:STDOUT: !14 = !DILocation(line: 5, column: 1, scope: !4) -// CHECK:STDOUT: !15 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 9, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) +// CHECK:STDOUT: !15 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 9, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) // CHECK:STDOUT: !16 = !DISubroutineType(types: !17) // CHECK:STDOUT: !17 = !{null, !18} // CHECK:STDOUT: !18 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !19 = !{!20} // CHECK:STDOUT: !20 = !DILocalVariable(arg: 1, scope: !15, type: !18) // CHECK:STDOUT: !21 = !DILocation(line: 9, column: 3, scope: !15) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.14bcc134fcd9b011:core.Destroy.Core", scope: null, file: !3, line: 9, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b5e6b9ba1f3e5e4d:core.Destroy.Core", scope: null, file: !3, line: 9, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) // CHECK:STDOUT: !23 = !DISubroutineType(types: !24) // CHECK:STDOUT: !24 = !{null, !25} // CHECK:STDOUT: !25 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !22, type: !25) // CHECK:STDOUT: !28 = !DILocation(line: 9, column: 3, scope: !22) -// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.238f0e52f8cd642a:core.Destroy.Core", scope: null, file: !3, line: 9, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.0154c643da095258:core.Destroy.Core", scope: null, file: !3, line: 9, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) // CHECK:STDOUT: !30 = !{!31} // CHECK:STDOUT: !31 = !DILocalVariable(arg: 1, scope: !29, type: !25) // CHECK:STDOUT: !32 = !DILocation(line: 9, column: 3, scope: !29) diff --git a/toolchain/lower/testdata/builtins/char.carbon b/toolchain/lower/testdata/builtins/char.carbon index b22d962014eb..795822085931 100644 --- a/toolchain/lower/testdata/builtins/char.carbon +++ b/toolchain/lower/testdata/builtins/char.carbon @@ -29,12 +29,12 @@ fn Example() -> char { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !8 // CHECK:STDOUT: store i8 97, ptr %c.var, align 1, !dbg !8 // CHECK:STDOUT: %.loc6 = load i8, ptr %c.var, align 1, !dbg !9 -// CHECK:STDOUT: call void @"_COp.76ec93ec40c8ed97:core.Destroy.Core"(ptr %c.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.07425633be25c584:core.Destroy.Core"(ptr %c.var), !dbg !8 // CHECK:STDOUT: ret i8 %.loc6, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.76ec93ec40c8ed97:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: define weak_odr void @"_COp.07425633be25c584:core.Destroy.Core"(ptr %self) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -59,7 +59,7 @@ fn Example() -> char { // CHECK:STDOUT: !8 = !DILocation(line: 5, column: 3, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 6, column: 10, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 6, column: 3, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.76ec93ec40c8ed97:core.Destroy.Core", scope: null, file: !3, line: 5, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.07425633be25c584:core.Destroy.Core", scope: null, file: !3, line: 5, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !12 = !DISubroutineType(types: !13) // CHECK:STDOUT: !13 = !{null, !7} // CHECK:STDOUT: !14 = !{!15} diff --git a/toolchain/lower/testdata/builtins/cpp.carbon b/toolchain/lower/testdata/builtins/cpp.carbon index 53c7b6a9371f..3515f4e37dd4 100644 --- a/toolchain/lower/testdata/builtins/cpp.carbon +++ b/toolchain/lower/testdata/builtins/cpp.carbon @@ -80,19 +80,19 @@ fn Test() { // CHECK:STDOUT: %MakePointerSize.call.init_list.size = getelementptr inbounds nuw [16 x i8], ptr %.loc26_47.1.temp, i32 0, i32 8, !dbg !16 // CHECK:STDOUT: store i64 4, ptr %MakePointerSize.call.init_list.size, align 8, !dbg !16 // CHECK:STDOUT: call void @_CTakePointerSize.Main(ptr %.loc26_47.1.temp), !dbg !19 -// CHECK:STDOUT: call void @"_COp.e219a638c6ca7e45:core.Destroy.Core"(ptr @array), !dbg !17 -// CHECK:STDOUT: call void @"_COp.e219a638c6ca7e45:core.Destroy.Core"(ptr @array), !dbg !15 +// CHECK:STDOUT: call void @"_COp.84dc7ec4d03d72e2:core.Destroy.Core"(ptr @array), !dbg !17 +// CHECK:STDOUT: call void @"_COp.84dc7ec4d03d72e2:core.Destroy.Core"(ptr @array), !dbg !15 // CHECK:STDOUT: ret void, !dbg !20 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !21 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !21 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.e219a638c6ca7e45:core.Destroy.Core"(ptr %self) #0 !dbg !28 { +// CHECK:STDOUT: define weak_odr void @"_COp.84dc7ec4d03d72e2:core.Destroy.Core"(ptr %self) #0 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !34 // CHECK:STDOUT: } @@ -101,7 +101,7 @@ fn Test() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.e219a638c6ca7e45:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.84dc7ec4d03d72e2:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 3, 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -132,14 +132,14 @@ fn Test() { // CHECK:STDOUT: !18 = !DILocation(line: 25, column: 3, scope: !11) // CHECK:STDOUT: !19 = !DILocation(line: 26, column: 3, scope: !11) // CHECK:STDOUT: !20 = !DILocation(line: 24, column: 1, scope: !11) -// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !6, line: 26, type: !22, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !25) +// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !6, line: 26, type: !22, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !25) // CHECK:STDOUT: !22 = !DISubroutineType(types: !23) // CHECK:STDOUT: !23 = !{null, !24} // CHECK:STDOUT: !24 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !21, type: !24) // CHECK:STDOUT: !27 = !DILocation(line: 26, column: 35, scope: !21) -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e219a638c6ca7e45:core.Destroy.Core", scope: null, file: !6, line: 26, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !32) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.84dc7ec4d03d72e2:core.Destroy.Core", scope: null, file: !6, line: 26, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !32) // CHECK:STDOUT: !29 = !DISubroutineType(types: !30) // CHECK:STDOUT: !30 = !{null, !31} // CHECK:STDOUT: !31 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) diff --git a/toolchain/lower/testdata/builtins/maybe_unformed.carbon b/toolchain/lower/testdata/builtins/maybe_unformed.carbon index d19e8c400b3d..a4b7de567e8d 100644 --- a/toolchain/lower/testdata/builtins/maybe_unformed.carbon +++ b/toolchain/lower/testdata/builtins/maybe_unformed.carbon @@ -123,18 +123,18 @@ fn PassAdapterBool() { // CHECK:STDOUT: store i32 %MakeAdapterI32.call, ptr %.loc48_33.1.temp, align 4, !dbg !42 // CHECK:STDOUT: %.loc48_33.3 = load i32, ptr %.loc48_33.1.temp, align 4, !dbg !42 // CHECK:STDOUT: call void @_CTakeAdapterI32.Main(i32 %.loc48_33.3), !dbg !43 -// CHECK:STDOUT: call void @"_COp.d360ffa7b0575392:core.Destroy.Core"(ptr %.loc48_33.1.temp), !dbg !42 +// CHECK:STDOUT: call void @"_COp.e91169768c6f6a50:core.Destroy.Core"(ptr %.loc48_33.1.temp), !dbg !42 // CHECK:STDOUT: ret void, !dbg !44 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !45 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !45 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !48 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.d360ffa7b0575392:core.Destroy.Core"(ptr %self) #0 !dbg !49 { +// CHECK:STDOUT: define weak_odr void @"_COp.e91169768c6f6a50:core.Destroy.Core"(ptr %self) #0 !dbg !49 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !52 // CHECK:STDOUT: } @@ -154,12 +154,12 @@ fn PassAdapterBool() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc55_35.1.temp), !dbg !58 // CHECK:STDOUT: call void @_CMakeAdapterBool.Main(ptr %.loc55_35.1.temp), !dbg !58 // CHECK:STDOUT: call void @_CTakeAdapterBool.Main(ptr %.loc55_35.1.temp), !dbg !59 -// CHECK:STDOUT: call void @"_COp.7b50a4f914b32152:core.Destroy.Core"(ptr %.loc55_35.1.temp), !dbg !58 +// CHECK:STDOUT: call void @"_COp.968f5dbb300aa798:core.Destroy.Core"(ptr %.loc55_35.1.temp), !dbg !58 // CHECK:STDOUT: ret void, !dbg !60 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.7b50a4f914b32152:core.Destroy.Core"(ptr %self) #0 !dbg !61 { +// CHECK:STDOUT: define weak_odr void @"_COp.968f5dbb300aa798:core.Destroy.Core"(ptr %self) #0 !dbg !61 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !64 // CHECK:STDOUT: } @@ -221,11 +221,11 @@ fn PassAdapterBool() { // CHECK:STDOUT: !42 = !DILocation(line: 48, column: 18, scope: !41) // CHECK:STDOUT: !43 = !DILocation(line: 48, column: 3, scope: !41) // CHECK:STDOUT: !44 = !DILocation(line: 45, column: 1, scope: !41) -// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 48, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) +// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 48, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) // CHECK:STDOUT: !46 = !{!47} // CHECK:STDOUT: !47 = !DILocalVariable(arg: 1, scope: !45, type: !7) // CHECK:STDOUT: !48 = !DILocation(line: 48, column: 18, scope: !45) -// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d360ffa7b0575392:core.Destroy.Core", scope: null, file: !3, line: 48, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !50) +// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e91169768c6f6a50:core.Destroy.Core", scope: null, file: !3, line: 48, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !50) // CHECK:STDOUT: !50 = !{!51} // CHECK:STDOUT: !51 = !DILocalVariable(arg: 1, scope: !49, type: !7) // CHECK:STDOUT: !52 = !DILocation(line: 48, column: 18, scope: !49) @@ -237,7 +237,7 @@ fn PassAdapterBool() { // CHECK:STDOUT: !58 = !DILocation(line: 55, column: 19, scope: !57) // CHECK:STDOUT: !59 = !DILocation(line: 55, column: 3, scope: !57) // CHECK:STDOUT: !60 = !DILocation(line: 54, column: 1, scope: !57) -// CHECK:STDOUT: !61 = distinct !DISubprogram(name: "Op", linkageName: "_COp.7b50a4f914b32152:core.Destroy.Core", scope: null, file: !3, line: 55, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !62) +// CHECK:STDOUT: !61 = distinct !DISubprogram(name: "Op", linkageName: "_COp.968f5dbb300aa798:core.Destroy.Core", scope: null, file: !3, line: 55, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !62) // CHECK:STDOUT: !62 = !{!63} // CHECK:STDOUT: !63 = !DILocalVariable(arg: 1, scope: !61, type: !14) // CHECK:STDOUT: !64 = !DILocation(line: 55, column: 19, scope: !61) diff --git a/toolchain/lower/testdata/choice/basic.carbon b/toolchain/lower/testdata/choice/basic.carbon index e8558932d608..9eb9ced9ae78 100644 --- a/toolchain/lower/testdata/choice/basic.carbon +++ b/toolchain/lower/testdata/choice/basic.carbon @@ -25,11 +25,11 @@ fn F() { // CHECK:STDOUT: ; ModuleID = 'basic.carbon' // CHECK:STDOUT: source_filename = "basic.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @VehicleType.val.88f = internal constant { i2 } zeroinitializer -// CHECK:STDOUT: @VehicleType.val.74a = internal constant { i2 } { i2 1 } -// CHECK:STDOUT: @VehicleType.val.b0a = internal constant { i2 } { i2 -2 } -// CHECK:STDOUT: @VehicleType.val.74a.loc15_6.10 = internal constant { i2 } { i2 1 } -// CHECK:STDOUT: @VehicleType.val.88f.loc14_7.10 = internal constant { i2 } zeroinitializer +// CHECK:STDOUT: @VehicleType.val.574 = internal constant { i2 } zeroinitializer +// CHECK:STDOUT: @VehicleType.val.2a8 = internal constant { i2 } { i2 1 } +// CHECK:STDOUT: @VehicleType.val.5d5 = internal constant { i2 } { i2 -2 } +// CHECK:STDOUT: @VehicleType.val.2a8.loc15_6.10 = internal constant { i2 } { i2 1 } +// CHECK:STDOUT: @VehicleType.val.574.loc14_7.10 = internal constant { i2 } zeroinitializer // CHECK:STDOUT: @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 0, ptr @_C__global_init.Main, ptr null }] // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind diff --git a/toolchain/lower/testdata/class/adapt.carbon b/toolchain/lower/testdata/class/adapt.carbon index 29d14203346d..041b293ecca9 100644 --- a/toolchain/lower/testdata/class/adapt.carbon +++ b/toolchain/lower/testdata/class/adapt.carbon @@ -93,24 +93,24 @@ fn DoStuff(a: Int) -> Int { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %pa.var), !dbg !24 // CHECK:STDOUT: call void @_CMake.PairAdapter.Main(ptr %pa.var), !dbg !25 // CHECK:STDOUT: %PairAdapter.GetB.call = call i32 @_CGetB.PairAdapter.Main(ptr %pa.var), !dbg !26 -// CHECK:STDOUT: call void @"_COp.0425d770117f5d8d:core.Destroy.Core"(ptr %pa.var), !dbg !24 +// CHECK:STDOUT: call void @"_COp.37344f3d2ede7709:core.Destroy.Core"(ptr %pa.var), !dbg !24 // CHECK:STDOUT: ret i32 %PairAdapter.GetB.call, !dbg !27 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !28 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.57e275a610bca340:core.Destroy.Core"(ptr %self) #0 !dbg !34 { +// CHECK:STDOUT: define weak_odr void @"_COp.15b8ed913d10fa21:core.Destroy.Core"(ptr %self) #0 !dbg !34 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !39 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.0425d770117f5d8d:core.Destroy.Core"(ptr %self) #0 !dbg !40 { +// CHECK:STDOUT: define weak_odr void @"_COp.37344f3d2ede7709:core.Destroy.Core"(ptr %self) #0 !dbg !40 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !43 // CHECK:STDOUT: } @@ -155,19 +155,19 @@ fn DoStuff(a: Int) -> Int { // CHECK:STDOUT: !25 = !DILocation(line: 27, column: 25, scope: !21) // CHECK:STDOUT: !26 = !DILocation(line: 28, column: 10, scope: !21) // CHECK:STDOUT: !27 = !DILocation(line: 28, column: 3, scope: !21) -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 27, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 27, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !29 = !DISubroutineType(types: !30) // CHECK:STDOUT: !30 = !{null, !16} // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !28, type: !16) // CHECK:STDOUT: !33 = !DILocation(line: 27, column: 3, scope: !28) -// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "Op", linkageName: "_COp.57e275a610bca340:core.Destroy.Core", scope: null, file: !3, line: 27, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !37) +// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "Op", linkageName: "_COp.15b8ed913d10fa21:core.Destroy.Core", scope: null, file: !3, line: 27, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !37) // CHECK:STDOUT: !35 = !DISubroutineType(types: !36) // CHECK:STDOUT: !36 = !{null, !7} // CHECK:STDOUT: !37 = !{!38} // CHECK:STDOUT: !38 = !DILocalVariable(arg: 1, scope: !34, type: !7) // CHECK:STDOUT: !39 = !DILocation(line: 27, column: 3, scope: !34) -// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Op", linkageName: "_COp.0425d770117f5d8d:core.Destroy.Core", scope: null, file: !3, line: 27, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !41) +// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Op", linkageName: "_COp.37344f3d2ede7709:core.Destroy.Core", scope: null, file: !3, line: 27, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !41) // CHECK:STDOUT: !41 = !{!42} // CHECK:STDOUT: !42 = !DILocalVariable(arg: 1, scope: !40, type: !7) // CHECK:STDOUT: !43 = !DILocation(line: 27, column: 3, scope: !40) diff --git a/toolchain/lower/testdata/class/basic.carbon b/toolchain/lower/testdata/class/basic.carbon index ae4be7cfc6b9..5c36b3d3355c 100644 --- a/toolchain/lower/testdata/class/basic.carbon +++ b/toolchain/lower/testdata/class/basic.carbon @@ -35,25 +35,25 @@ fn Run() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !9 // CHECK:STDOUT: call void @_CF.Main(ptr %_.var, ptr %c.var), !dbg !10 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %_.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %c.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %_.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !8 // CHECK:STDOUT: ret i32 0, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b559b45a3d182951:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.b05163b368263190:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %self) #0 !dbg !25 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } @@ -62,7 +62,7 @@ fn Run() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.b8b1f433ad216ca6:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.907c496eccf2294c:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -83,20 +83,20 @@ fn Run() { // CHECK:STDOUT: !9 = !DILocation(line: 22, column: 3, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 22, column: 14, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 20, column: 1, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 22, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 22, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !7} // CHECK:STDOUT: !15 = !{!16} // CHECK:STDOUT: !16 = !DILocalVariable(arg: 1, scope: !12, type: !7) // CHECK:STDOUT: !17 = !DILocation(line: 22, column: 3, scope: !12) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b559b45a3d182951:core.Destroy.Core", scope: null, file: !3, line: 22, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b05163b368263190:core.Destroy.Core", scope: null, file: !3, line: 22, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) // CHECK:STDOUT: !19 = !DISubroutineType(types: !20) // CHECK:STDOUT: !20 = !{null, !21} // CHECK:STDOUT: !21 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !22 = !{!23} // CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !18, type: !21) // CHECK:STDOUT: !24 = !DILocation(line: 22, column: 3, scope: !18) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b8b1f433ad216ca6:core.Destroy.Core", scope: null, file: !3, line: 22, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 22, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !25, type: !21) // CHECK:STDOUT: !28 = !DILocation(line: 22, column: 3, scope: !25) diff --git a/toolchain/lower/testdata/class/convert.carbon b/toolchain/lower/testdata/class/convert.carbon index a9a07a44a79a..d5bd4bf96b86 100644 --- a/toolchain/lower/testdata/class/convert.carbon +++ b/toolchain/lower/testdata/class/convert.carbon @@ -31,7 +31,7 @@ fn DoIt() { // CHECK:STDOUT: @IntWrapper.val.loc24_3 = internal constant { i32 } { i32 42 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define i32 @"_CConvert.IntWrapper.Main:ImplicitAs.c8fd090a2e741f70.Core"(ptr %self) #0 !dbg !4 { +// CHECK:STDOUT: define i32 @"_CConvert.IntWrapper.Main:ImplicitAs.5e5386123d4b6287.Core"(ptr %self) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc18_48.1.n = getelementptr inbounds nuw { i32 }, ptr %self, i32 0, i32 0, !dbg !11 // CHECK:STDOUT: %.loc18_48.2 = load i32, ptr %.loc18_48.1.n, align 4, !dbg !11 @@ -51,26 +51,26 @@ fn DoIt() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %w.var), !dbg !22 // CHECK:STDOUT: %.loc24_31.3.n = getelementptr inbounds nuw { i32 }, ptr %w.var, i32 0, i32 0, !dbg !23 // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %w.var, ptr align 4 @IntWrapper.val.loc24_3, i64 4, i1 false), !dbg !22 -// CHECK:STDOUT: %IntWrapper.as.ImplicitAs.impl.Convert.call = call i32 @"_CConvert.IntWrapper.Main:ImplicitAs.c8fd090a2e741f70.Core"(ptr %w.var), !dbg !24 +// CHECK:STDOUT: %IntWrapper.as.ImplicitAs.impl.Convert.call = call i32 @"_CConvert.IntWrapper.Main:ImplicitAs.5e5386123d4b6287.Core"(ptr %w.var), !dbg !24 // CHECK:STDOUT: call void @_CConsume.Main(i32 %IntWrapper.as.ImplicitAs.impl.Convert.call), !dbg !25 -// CHECK:STDOUT: call void @"_COp.4dd4d21939fc07f5:core.Destroy.Core"(ptr %w.var), !dbg !22 +// CHECK:STDOUT: call void @"_COp.98107f2db2a5497b:core.Destroy.Core"(ptr %w.var), !dbg !22 // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !27 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !27 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !30 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.49ee0ef9455d99da:core.Destroy.Core"(ptr %self) #0 !dbg !31 { +// CHECK:STDOUT: define weak_odr void @"_COp.d79e95ade835faa2:core.Destroy.Core"(ptr %self) #0 !dbg !31 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.4dd4d21939fc07f5:core.Destroy.Core"(ptr %self) #0 !dbg !37 { +// CHECK:STDOUT: define weak_odr void @"_COp.98107f2db2a5497b:core.Destroy.Core"(ptr %self) #0 !dbg !37 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !40 // CHECK:STDOUT: } @@ -91,7 +91,7 @@ fn DoIt() { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "convert.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.IntWrapper.Main:ImplicitAs.c8fd090a2e741f70.Core", scope: null, file: !3, line: 18, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !9) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.IntWrapper.Main:ImplicitAs.5e5386123d4b6287.Core", scope: null, file: !3, line: 18, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !9) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{!7, !8} // CHECK:STDOUT: !7 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) @@ -114,17 +114,17 @@ fn DoIt() { // CHECK:STDOUT: !24 = !DILocation(line: 25, column: 11, scope: !19) // CHECK:STDOUT: !25 = !DILocation(line: 25, column: 3, scope: !19) // CHECK:STDOUT: !26 = !DILocation(line: 23, column: 1, scope: !19) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 24, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 24, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) // CHECK:STDOUT: !28 = !{!29} // CHECK:STDOUT: !29 = !DILocalVariable(arg: 1, scope: !27, type: !7) // CHECK:STDOUT: !30 = !DILocation(line: 24, column: 3, scope: !27) -// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "Op", linkageName: "_COp.49ee0ef9455d99da:core.Destroy.Core", scope: null, file: !3, line: 24, type: !32, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) +// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d79e95ade835faa2:core.Destroy.Core", scope: null, file: !3, line: 24, type: !32, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) // CHECK:STDOUT: !32 = !DISubroutineType(types: !33) // CHECK:STDOUT: !33 = !{null, !8} // CHECK:STDOUT: !34 = !{!35} // CHECK:STDOUT: !35 = !DILocalVariable(arg: 1, scope: !31, type: !8) // CHECK:STDOUT: !36 = !DILocation(line: 24, column: 3, scope: !31) -// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4dd4d21939fc07f5:core.Destroy.Core", scope: null, file: !3, line: 24, type: !32, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !38) +// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.98107f2db2a5497b:core.Destroy.Core", scope: null, file: !3, line: 24, type: !32, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !38) // CHECK:STDOUT: !38 = !{!39} // CHECK:STDOUT: !39 = !DILocalVariable(arg: 1, scope: !37, type: !8) // CHECK:STDOUT: !40 = !DILocation(line: 24, column: 3, scope: !37) diff --git a/toolchain/lower/testdata/class/field.carbon b/toolchain/lower/testdata/class/field.carbon index 20d45c7a9ba0..ebdc5a2567f7 100644 --- a/toolchain/lower/testdata/class/field.carbon +++ b/toolchain/lower/testdata/class/field.carbon @@ -91,24 +91,24 @@ fn Run() { // CHECK:STDOUT: %.loc16.b = getelementptr inbounds nuw { i32, ptr }, ptr %c.var, i32 0, i32 1, !dbg !19 // CHECK:STDOUT: store ptr %c.var, ptr %.loc16.b, align 8, !dbg !19 // CHECK:STDOUT: %F.call = call i32 @_CF.Main(ptr %c.var), !dbg !20 -// CHECK:STDOUT: call void @"_COp.b19fb4c4239ed024:core.Destroy.Core"(ptr %c.var), !dbg !17 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !17 // CHECK:STDOUT: ret i32 %F.call, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !22 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.fc56ddb89a18e57c:core.Destroy.Core"(ptr %self) #0 !dbg !28 { +// CHECK:STDOUT: define weak_odr void @"_COp.b05163b368263190:core.Destroy.Core"(ptr %self) #0 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b19fb4c4239ed024:core.Destroy.Core"(ptr %self) #0 !dbg !34 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !34 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !37 // CHECK:STDOUT: } @@ -144,19 +144,19 @@ fn Run() { // CHECK:STDOUT: !19 = !DILocation(line: 16, column: 3, scope: !14) // CHECK:STDOUT: !20 = !DILocation(line: 17, column: 10, scope: !14) // CHECK:STDOUT: !21 = !DILocation(line: 17, column: 3, scope: !14) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 14, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 14, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !23 = !DISubroutineType(types: !24) // CHECK:STDOUT: !24 = !{null, !7} // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !22, type: !7) // CHECK:STDOUT: !27 = !DILocation(line: 14, column: 3, scope: !22) -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.fc56ddb89a18e57c:core.Destroy.Core", scope: null, file: !3, line: 14, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b05163b368263190:core.Destroy.Core", scope: null, file: !3, line: 14, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !29 = !DISubroutineType(types: !30) // CHECK:STDOUT: !30 = !{null, !8} // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !28, type: !8) // CHECK:STDOUT: !33 = !DILocation(line: 14, column: 3, scope: !28) -// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b19fb4c4239ed024:core.Destroy.Core", scope: null, file: !3, line: 14, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) +// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 14, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) // CHECK:STDOUT: !35 = !{!36} // CHECK:STDOUT: !36 = !DILocalVariable(arg: 1, scope: !34, type: !8) // CHECK:STDOUT: !37 = !DILocation(line: 14, column: 3, scope: !34) @@ -176,25 +176,25 @@ fn Run() { // CHECK:STDOUT: store ptr %o.var, ptr %.loc15_33.2.a, align 8, !dbg !10 // CHECK:STDOUT: %.loc15_33.4.b = getelementptr inbounds nuw { ptr, {} }, ptr %_.var, i32 0, i32 1, !dbg !10 // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.loc15_33.4.b, ptr align 1 @Other.val.loc15_33.5, i64 0, i1 false), !dbg !10 -// CHECK:STDOUT: call void @"_COp.685db96c345886bd:core.Destroy.Core"(ptr %_.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.c3ce1dc52859021d:core.Destroy.Core"(ptr %o.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.fc9d194b02d4ec74:core.Destroy.Core"(ptr %_.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.f74ad14b43486009:core.Destroy.Core"(ptr %o.var), !dbg !8 // CHECK:STDOUT: ret i32 0, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.c3ce1dc52859021d:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.f74ad14b43486009:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b00a125c31b24127:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.6cad9ff218049c22:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.685db96c345886bd:core.Destroy.Core"(ptr %self) #0 !dbg !23 { +// CHECK:STDOUT: define weak_odr void @"_COp.fc9d194b02d4ec74:core.Destroy.Core"(ptr %self) #0 !dbg !23 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } @@ -226,18 +226,18 @@ fn Run() { // CHECK:STDOUT: !9 = !DILocation(line: 15, column: 3, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 15, column: 16, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 11, column: 1, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c3ce1dc52859021d:core.Destroy.Core", scope: null, file: !3, line: 15, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.f74ad14b43486009:core.Destroy.Core", scope: null, file: !3, line: 15, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !15} // CHECK:STDOUT: !15 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !12, type: !15) // CHECK:STDOUT: !18 = !DILocation(line: 15, column: 3, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b00a125c31b24127:core.Destroy.Core", scope: null, file: !3, line: 15, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6cad9ff218049c22:core.Destroy.Core", scope: null, file: !3, line: 15, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !20 = !{!21} // CHECK:STDOUT: !21 = !DILocalVariable(arg: 1, scope: !19, type: !15) // CHECK:STDOUT: !22 = !DILocation(line: 15, column: 3, scope: !19) -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.685db96c345886bd:core.Destroy.Core", scope: null, file: !3, line: 15, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.fc9d194b02d4ec74:core.Destroy.Core", scope: null, file: !3, line: 15, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !23, type: !15) // CHECK:STDOUT: !26 = !DILocation(line: 15, column: 3, scope: !23) @@ -258,37 +258,37 @@ fn Run() { // CHECK:STDOUT: %.loc17_40.4.b = getelementptr inbounds nuw <{ ptr, { i32 } }>, ptr %_.var, i32 0, i32 1, !dbg !10 // CHECK:STDOUT: %.loc17_39.3.v = getelementptr inbounds nuw { i32 }, ptr %.loc17_40.4.b, i32 0, i32 0, !dbg !11 // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %.loc17_40.4.b, ptr align 4 @Other.val.loc17_40.5, i64 4, i1 false), !dbg !10 -// CHECK:STDOUT: call void @"_COp.0035e78bcc20f35b:core.Destroy.Core"(ptr %_.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.489ab6e38ebde82b:core.Destroy.Core"(ptr %o.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.fc9d194b02d4ec74:core.Destroy.Core"(ptr %_.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.f74ad14b43486009:core.Destroy.Core"(ptr %o.var), !dbg !8 // CHECK:STDOUT: ret i32 0, !dbg !12 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !13 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.48f612275ad2801e:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.f858c205cd7ead2a:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.489ab6e38ebde82b:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.f74ad14b43486009:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.ccb02e427697b6df:core.Destroy.Core"(ptr %self) #0 !dbg !30 { +// CHECK:STDOUT: define weak_odr void @"_COp.6cad9ff218049c22:core.Destroy.Core"(ptr %self) #0 !dbg !30 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.0035e78bcc20f35b:core.Destroy.Core"(ptr %self) #0 !dbg !34 { +// CHECK:STDOUT: define weak_odr void @"_COp.fc9d194b02d4ec74:core.Destroy.Core"(ptr %self) #0 !dbg !34 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !37 // CHECK:STDOUT: } @@ -321,28 +321,28 @@ fn Run() { // CHECK:STDOUT: !10 = !DILocation(line: 17, column: 16, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 17, column: 31, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 13, column: 1, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 17, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 17, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !14 = !DISubroutineType(types: !15) // CHECK:STDOUT: !15 = !{null, !7} // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !13, type: !7) // CHECK:STDOUT: !18 = !DILocation(line: 17, column: 3, scope: !13) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.48f612275ad2801e:core.Destroy.Core", scope: null, file: !3, line: 17, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.f858c205cd7ead2a:core.Destroy.Core", scope: null, file: !3, line: 17, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !22} // CHECK:STDOUT: !22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !19, type: !22) // CHECK:STDOUT: !25 = !DILocation(line: 17, column: 3, scope: !19) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.489ab6e38ebde82b:core.Destroy.Core", scope: null, file: !3, line: 17, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.f74ad14b43486009:core.Destroy.Core", scope: null, file: !3, line: 17, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !26, type: !22) // CHECK:STDOUT: !29 = !DILocation(line: 17, column: 3, scope: !26) -// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ccb02e427697b6df:core.Destroy.Core", scope: null, file: !3, line: 17, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6cad9ff218049c22:core.Destroy.Core", scope: null, file: !3, line: 17, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !30, type: !22) // CHECK:STDOUT: !33 = !DILocation(line: 17, column: 3, scope: !30) -// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "Op", linkageName: "_COp.0035e78bcc20f35b:core.Destroy.Core", scope: null, file: !3, line: 17, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) +// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "Op", linkageName: "_COp.fc9d194b02d4ec74:core.Destroy.Core", scope: null, file: !3, line: 17, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) // CHECK:STDOUT: !35 = !{!36} // CHECK:STDOUT: !36 = !DILocalVariable(arg: 1, scope: !34, type: !22) // CHECK:STDOUT: !37 = !DILocation(line: 17, column: 3, scope: !34) diff --git a/toolchain/lower/testdata/class/generic.carbon b/toolchain/lower/testdata/class/generic.carbon index df1682957bfc..4c30dd7b431a 100644 --- a/toolchain/lower/testdata/class/generic.carbon +++ b/toolchain/lower/testdata/class/generic.carbon @@ -160,31 +160,31 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: ; ModuleID = 'create_generic.carbon' // CHECK:STDOUT: source_filename = "create_generic.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @tuple.03f.loc22_28.6 = internal constant { i32, i32 } { i32 1, i32 2 } +// CHECK:STDOUT: @tuple.cd5.loc22_28.6 = internal constant { i32, i32 } { i32 1, i32 2 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CInts.Main(ptr sret({ i32, i32 }) %return) #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CMake.Main.980bd46fd9fb5b99(ptr %return, i32 1, i32 2), !dbg !8 +// CHECK:STDOUT: call void @_CMake.Main.4bee6dcdea6ba756(ptr %return, i32 1, i32 2), !dbg !8 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CEmpty.Main(ptr sret({ {}, {} }) %return) #0 !dbg !10 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CMake.Main.d18344b232c82104(ptr %return), !dbg !11 +// CHECK:STDOUT: call void @_CMake.Main.554b569e0734564b(ptr %return), !dbg !11 // CHECK:STDOUT: ret void, !dbg !12 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CTuples.Main(ptr sret({ { i32, i32 }, { i32, i32 } }) %return) #0 !dbg !13 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CMake.Main.878f62403168310d(ptr %return, ptr @tuple.03f.loc22_28.6, ptr @tuple.03f.loc22_28.6), !dbg !14 +// CHECK:STDOUT: call void @_CMake.Main.3c48a9299655b1b3(ptr %return, ptr @tuple.cd5.loc22_28.6, ptr @tuple.cd5.loc22_28.6), !dbg !14 // CHECK:STDOUT: ret void, !dbg !15 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CMake.Main.980bd46fd9fb5b99(ptr sret({ i32, i32 }) %return, i32 %x, i32 %y) #0 !dbg !16 { +// CHECK:STDOUT: define linkonce_odr void @_CMake.Main.4bee6dcdea6ba756(ptr sret({ i32, i32 }) %return, i32 %x, i32 %y) #0 !dbg !16 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc10_25.2.x = getelementptr inbounds nuw { i32, i32 }, ptr %return, i32 0, i32 0, !dbg !23 // CHECK:STDOUT: store i32 %x, ptr %.loc10_25.2.x, align 4, !dbg !23 @@ -194,7 +194,7 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CMake.Main.d18344b232c82104(ptr sret({ {}, {} }) %return) #0 !dbg !25 { +// CHECK:STDOUT: define linkonce_odr void @_CMake.Main.554b569e0734564b(ptr sret({ {}, {} }) %return) #0 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc10_25.2.x = getelementptr inbounds nuw { {}, {} }, ptr %return, i32 0, i32 0, !dbg !26 // CHECK:STDOUT: %.loc10_25.4.y = getelementptr inbounds nuw { {}, {} }, ptr %return, i32 0, i32 1, !dbg !26 @@ -202,17 +202,17 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CMake.Main.878f62403168310d(ptr sret({ { i32, i32 }, { i32, i32 } }) %return, ptr %x, ptr %y) #0 !dbg !28 { +// CHECK:STDOUT: define linkonce_odr void @_CMake.Main.3c48a9299655b1b3(ptr sret({ { i32, i32 }, { i32, i32 } }) %return, ptr %x, ptr %y) #0 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc10_25.2.x = getelementptr inbounds nuw { { i32, i32 }, { i32, i32 } }, ptr %return, i32 0, i32 0, !dbg !34 -// CHECK:STDOUT: call void @"_COp.2ebefcbfae1e57a1:Copy.Core.ff97138eb0714319"(ptr %.loc10_25.2.x, ptr %x), !dbg !35 +// CHECK:STDOUT: call void @"_COp.c9b880f9e94f16bf:Copy.Core.993ac60ec7fada7e"(ptr %.loc10_25.2.x, ptr %x), !dbg !35 // CHECK:STDOUT: %.loc10_25.4.y = getelementptr inbounds nuw { { i32, i32 }, { i32, i32 } }, ptr %return, i32 0, i32 1, !dbg !34 -// CHECK:STDOUT: call void @"_COp.2ebefcbfae1e57a1:Copy.Core.ff97138eb0714319"(ptr %.loc10_25.4.y, ptr %y), !dbg !36 +// CHECK:STDOUT: call void @"_COp.c9b880f9e94f16bf:Copy.Core.993ac60ec7fada7e"(ptr %.loc10_25.4.y, ptr %y), !dbg !36 // CHECK:STDOUT: ret void, !dbg !37 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.2ebefcbfae1e57a1:Copy.Core.ff97138eb0714319"(ptr sret({ i32, i32 }) %return, ptr %self) #0 !dbg !38 { +// CHECK:STDOUT: define linkonce_odr void @"_COp.c9b880f9e94f16bf:Copy.Core.993ac60ec7fada7e"(ptr sret({ i32, i32 }) %return, ptr %self) #0 !dbg !38 { // CHECK:STDOUT: %tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %self, i32 0, i32 0, !dbg !44 // CHECK:STDOUT: %tuple.elem.load = load i32, ptr %tuple.elem, align 4, !dbg !44 // CHECK:STDOUT: %tuple.elem1 = getelementptr inbounds nuw { i32, i32 }, ptr %return, i32 0, i32 0, !dbg !45 @@ -225,7 +225,7 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.2ebefcbfae1e57a1:Copy.Core.ff97138eb0714319", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.c9b880f9e94f16bf:Copy.Core.993ac60ec7fada7e", { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: @@ -248,7 +248,7 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Tuples", linkageName: "_CTuples.Main", scope: null, file: !3, line: 21, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !14 = !DILocation(line: 23, column: 10, scope: !13) // CHECK:STDOUT: !15 = !DILocation(line: 23, column: 3, scope: !13) -// CHECK:STDOUT: !16 = distinct !DISubprogram(name: "Make", linkageName: "_CMake.Main.980bd46fd9fb5b99", scope: null, file: !3, line: 9, type: !17, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !16 = distinct !DISubprogram(name: "Make", linkageName: "_CMake.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 9, type: !17, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !17 = !DISubroutineType(types: !18) // CHECK:STDOUT: !18 = !{!7, !19, !19} // CHECK:STDOUT: !19 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) @@ -257,10 +257,10 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: !22 = !DILocalVariable(arg: 2, scope: !16, type: !19) // CHECK:STDOUT: !23 = !DILocation(line: 10, column: 10, scope: !16) // CHECK:STDOUT: !24 = !DILocation(line: 10, column: 3, scope: !16) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Make", linkageName: "_CMake.Main.d18344b232c82104", scope: null, file: !3, line: 9, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Make", linkageName: "_CMake.Main.554b569e0734564b", scope: null, file: !3, line: 9, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !26 = !DILocation(line: 10, column: 10, scope: !25) // CHECK:STDOUT: !27 = !DILocation(line: 10, column: 3, scope: !25) -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Make", linkageName: "_CMake.Main.878f62403168310d", scope: null, file: !3, line: 9, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Make", linkageName: "_CMake.Main.3c48a9299655b1b3", scope: null, file: !3, line: 9, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !29 = !DISubroutineType(types: !30) // CHECK:STDOUT: !30 = !{!7, !7, !7} // CHECK:STDOUT: !31 = !{!32, !33} @@ -270,7 +270,7 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: !35 = !DILocation(line: 10, column: 16, scope: !28) // CHECK:STDOUT: !36 = !DILocation(line: 10, column: 24, scope: !28) // CHECK:STDOUT: !37 = !DILocation(line: 10, column: 3, scope: !28) -// CHECK:STDOUT: !38 = distinct !DISubprogram(name: "Op", linkageName: "_COp.2ebefcbfae1e57a1:Copy.Core.ff97138eb0714319", scope: null, file: !39, line: 48, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) +// CHECK:STDOUT: !38 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c9b880f9e94f16bf:Copy.Core.993ac60ec7fada7e", scope: null, file: !39, line: 48, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) // CHECK:STDOUT: !39 = !DIFile(filename: "min_prelude/parts/copy.carbon", directory: "") // CHECK:STDOUT: !40 = !DISubroutineType(types: !41) // CHECK:STDOUT: !41 = !{!7, !7} @@ -283,9 +283,9 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: ; ModuleID = 'access.carbon' // CHECK:STDOUT: source_filename = "access.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @C.val.79a.loc16_3 = internal constant { i1, i32 } { i1 true, i32 0 } -// CHECK:STDOUT: @C.val.ef0.loc26_3 = internal constant { i1, {} } { i1 true, {} zeroinitializer } -// CHECK:STDOUT: @C.val.a1c.loc31_3 = internal constant { i1, { i32, i32, i32 } } { i1 true, { i32, i32, i32 } { i32 1, i32 2, i32 3 } } +// CHECK:STDOUT: @C.val.f1e.loc16_3 = internal constant { i1, i32 } { i1 true, i32 0 } +// CHECK:STDOUT: @C.val.1bb.loc26_3 = internal constant { i1, {} } { i1 true, {} zeroinitializer } +// CHECK:STDOUT: @C.val.07c.loc31_3 = internal constant { i1, { i32, i32, i32 } } { i1 true, { i32, i32, i32 } { i32 1, i32 2, i32 3 } } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i1 @_CAccessBool.Main() #0 !dbg !4 { @@ -294,26 +294,26 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !8 // CHECK:STDOUT: %.loc16_37.2.v = getelementptr inbounds nuw { i1, i32 }, ptr %c.var, i32 0, i32 0, !dbg !9 // CHECK:STDOUT: %.loc16_37.5.w = getelementptr inbounds nuw { i1, i32 }, ptr %c.var, i32 0, i32 1, !dbg !9 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %c.var, ptr align 4 @C.val.79a.loc16_3, i64 8, i1 false), !dbg !8 -// CHECK:STDOUT: %C.GetBool.call = call i1 @_CGetBool.C.Main.980bd46fd9fb5b99(ptr %c.var), !dbg !10 -// CHECK:STDOUT: call void @"_COp.433ec17d6c887bfd:core.Destroy.Core"(ptr %c.var), !dbg !8 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %c.var, ptr align 4 @C.val.f1e.loc16_3, i64 8, i1 false), !dbg !8 +// CHECK:STDOUT: %C.GetBool.call = call i1 @_CGetBool.C.Main.4bee6dcdea6ba756(ptr %c.var), !dbg !10 +// CHECK:STDOUT: call void @"_COp.4e480b202fa826ad:core.Destroy.Core"(ptr %c.var), !dbg !8 // CHECK:STDOUT: ret i1 %C.GetBool.call, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.7e571874d02370cb:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.360392044dc39054:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.433ec17d6c887bfd:core.Destroy.Core"(ptr %self) #0 !dbg !25 { +// CHECK:STDOUT: define weak_odr void @"_COp.4e480b202fa826ad:core.Destroy.Core"(ptr %self) #0 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } @@ -325,9 +325,9 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !32 // CHECK:STDOUT: %.loc21_37.2.v = getelementptr inbounds nuw { i1, i32 }, ptr %c.var, i32 0, i32 0, !dbg !33 // CHECK:STDOUT: %.loc21_37.5.w = getelementptr inbounds nuw { i1, i32 }, ptr %c.var, i32 0, i32 1, !dbg !33 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %c.var, ptr align 4 @C.val.79a.loc16_3, i64 8, i1 false), !dbg !32 -// CHECK:STDOUT: %C.GetT.call = call i32 @_CGetT.C.Main.980bd46fd9fb5b99(ptr %c.var), !dbg !34 -// CHECK:STDOUT: call void @"_COp.433ec17d6c887bfd:core.Destroy.Core"(ptr %c.var), !dbg !32 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %c.var, ptr align 4 @C.val.f1e.loc16_3, i64 8, i1 false), !dbg !32 +// CHECK:STDOUT: %C.GetT.call = call i32 @_CGetT.C.Main.4bee6dcdea6ba756(ptr %c.var), !dbg !34 +// CHECK:STDOUT: call void @"_COp.4e480b202fa826ad:core.Destroy.Core"(ptr %c.var), !dbg !32 // CHECK:STDOUT: ret i32 %C.GetT.call, !dbg !35 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -338,9 +338,9 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !39 // CHECK:STDOUT: %.loc26_37.2.v = getelementptr inbounds nuw { i1, {} }, ptr %c.var, i32 0, i32 0, !dbg !40 // CHECK:STDOUT: %.loc26_37.4.w = getelementptr inbounds nuw { i1, {} }, ptr %c.var, i32 0, i32 1, !dbg !40 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %c.var, ptr align 1 @C.val.ef0.loc26_3, i64 1, i1 false), !dbg !39 -// CHECK:STDOUT: call void @_CGetT.C.Main.d18344b232c82104(ptr %c.var), !dbg !41 -// CHECK:STDOUT: call void @"_COp.7f4191e38d4b4592:core.Destroy.Core"(ptr %c.var), !dbg !39 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %c.var, ptr align 1 @C.val.1bb.loc26_3, i64 1, i1 false), !dbg !39 +// CHECK:STDOUT: call void @_CGetT.C.Main.554b569e0734564b(ptr %c.var), !dbg !41 +// CHECK:STDOUT: call void @"_COp.49126fa639f3cfa0:core.Destroy.Core"(ptr %c.var), !dbg !39 // CHECK:STDOUT: ret void, !dbg !42 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -351,7 +351,7 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.7f4191e38d4b4592:core.Destroy.Core"(ptr %self) #0 !dbg !47 { +// CHECK:STDOUT: define weak_odr void @"_COp.49126fa639f3cfa0:core.Destroy.Core"(ptr %self) #0 !dbg !47 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !50 // CHECK:STDOUT: } @@ -366,26 +366,26 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: %tuple.elem0.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %.loc31_57.4.w, i32 0, i32 0, !dbg !54 // CHECK:STDOUT: %tuple.elem1.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %.loc31_57.4.w, i32 0, i32 1, !dbg !54 // CHECK:STDOUT: %tuple.elem2.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %.loc31_57.4.w, i32 0, i32 2, !dbg !54 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %c.var, ptr align 4 @C.val.a1c.loc31_3, i64 16, i1 false), !dbg !52 -// CHECK:STDOUT: call void @_CGetT.C.Main.04f80dc80ae8a44a(ptr %return, ptr %c.var), !dbg !55 -// CHECK:STDOUT: call void @"_COp.316c701fc75e6074:core.Destroy.Core"(ptr %c.var), !dbg !52 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %c.var, ptr align 4 @C.val.07c.loc31_3, i64 16, i1 false), !dbg !52 +// CHECK:STDOUT: call void @_CGetT.C.Main.550e786320bb62de(ptr %return, ptr %c.var), !dbg !55 +// CHECK:STDOUT: call void @"_COp.dbdcfec5203a459d:core.Destroy.Core"(ptr %c.var), !dbg !52 // CHECK:STDOUT: ret void, !dbg !56 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %self) #0 !dbg !57 { +// CHECK:STDOUT: define weak_odr void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %self) #0 !dbg !57 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !60 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.222209af0eb67092:core.Destroy.Core"(ptr %self) #0 !dbg !61 { +// CHECK:STDOUT: define weak_odr void @"_COp.25bd601d6340e055:core.Destroy.Core"(ptr %self) #0 !dbg !61 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !64 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.316c701fc75e6074:core.Destroy.Core"(ptr %self) #0 !dbg !65 { +// CHECK:STDOUT: define weak_odr void @"_COp.dbdcfec5203a459d:core.Destroy.Core"(ptr %self) #0 !dbg !65 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !68 // CHECK:STDOUT: } @@ -397,7 +397,7 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @_CGetBool.C.Main.980bd46fd9fb5b99(ptr %self) #0 !dbg !69 { +// CHECK:STDOUT: define linkonce_odr i1 @_CGetBool.C.Main.4bee6dcdea6ba756(ptr %self) #0 !dbg !69 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc6_16.1.v = getelementptr inbounds nuw { i1, i32 }, ptr %self, i32 0, i32 0, !dbg !74 // CHECK:STDOUT: %.loc6_16.2 = load i8, ptr %.loc6_16.1.v, align 1, !dbg !74 @@ -406,7 +406,7 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CGetT.C.Main.980bd46fd9fb5b99(ptr %self) #0 !dbg !76 { +// CHECK:STDOUT: define linkonce_odr i32 @_CGetT.C.Main.4bee6dcdea6ba756(ptr %self) #0 !dbg !76 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc9_16.1.w = getelementptr inbounds nuw { i1, i32 }, ptr %self, i32 0, i32 1, !dbg !81 // CHECK:STDOUT: %.loc9_16.2 = load i32, ptr %.loc9_16.1.w, align 4, !dbg !81 @@ -414,22 +414,22 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CGetT.C.Main.d18344b232c82104(ptr %self) #0 !dbg !83 { +// CHECK:STDOUT: define linkonce_odr void @_CGetT.C.Main.554b569e0734564b(ptr %self) #0 !dbg !83 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc9_16.1.w = getelementptr inbounds nuw { i1, {} }, ptr %self, i32 0, i32 1, !dbg !86 // CHECK:STDOUT: ret void, !dbg !87 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CGetT.C.Main.04f80dc80ae8a44a(ptr sret({ i32, i32, i32 }) %return, ptr %self) #0 !dbg !88 { +// CHECK:STDOUT: define linkonce_odr void @_CGetT.C.Main.550e786320bb62de(ptr sret({ i32, i32, i32 }) %return, ptr %self) #0 !dbg !88 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc9_16.1.w = getelementptr inbounds nuw { i1, { i32, i32, i32 } }, ptr %self, i32 0, i32 1, !dbg !91 -// CHECK:STDOUT: call void @"_COp.8f8a97a660e99434:Copy.Core.649e390b4d8c77ae"(ptr %return, ptr %.loc9_16.1.w), !dbg !91 +// CHECK:STDOUT: call void @"_COp.b4c2d866f5f8993d:Copy.Core.44b606bcef641408"(ptr %return, ptr %.loc9_16.1.w), !dbg !91 // CHECK:STDOUT: ret void, !dbg !92 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.8f8a97a660e99434:Copy.Core.649e390b4d8c77ae"(ptr sret({ i32, i32, i32 }) %return, ptr %self) #0 !dbg !93 { +// CHECK:STDOUT: define linkonce_odr void @"_COp.b4c2d866f5f8993d:Copy.Core.44b606bcef641408"(ptr sret({ i32, i32, i32 }) %return, ptr %self) #0 !dbg !93 { // CHECK:STDOUT: %tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %self, i32 0, i32 0, !dbg !97 // CHECK:STDOUT: %tuple.elem.load = load i32, ptr %tuple.elem, align 4, !dbg !97 // CHECK:STDOUT: %tuple.elem1 = getelementptr inbounds nuw { i32, i32, i32 }, ptr %return, i32 0, i32 0, !dbg !98 @@ -467,20 +467,20 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: !9 = !DILocation(line: 16, column: 19, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 17, column: 10, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 17, column: 3, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !15} // CHECK:STDOUT: !15 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !12, type: !15) // CHECK:STDOUT: !18 = !DILocation(line: 16, column: 3, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.7e571874d02370cb:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.360392044dc39054:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !7} // CHECK:STDOUT: !22 = !{!23} // CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !19, type: !7) // CHECK:STDOUT: !24 = !DILocation(line: 16, column: 3, scope: !19) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.433ec17d6c887bfd:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4e480b202fa826ad:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !25, type: !7) // CHECK:STDOUT: !28 = !DILocation(line: 16, column: 3, scope: !25) @@ -502,7 +502,7 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: !44 = !{!45} // CHECK:STDOUT: !45 = !DILocalVariable(arg: 1, scope: !43, type: !7) // CHECK:STDOUT: !46 = !DILocation(line: 26, column: 3, scope: !43) -// CHECK:STDOUT: !47 = distinct !DISubprogram(name: "Op", linkageName: "_COp.7f4191e38d4b4592:core.Destroy.Core", scope: null, file: !3, line: 26, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !48) +// CHECK:STDOUT: !47 = distinct !DISubprogram(name: "Op", linkageName: "_COp.49126fa639f3cfa0:core.Destroy.Core", scope: null, file: !3, line: 26, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !48) // CHECK:STDOUT: !48 = !{!49} // CHECK:STDOUT: !49 = !DILocalVariable(arg: 1, scope: !47, type: !7) // CHECK:STDOUT: !50 = !DILocation(line: 26, column: 3, scope: !47) @@ -512,43 +512,43 @@ fn AccessTuple() -> (i32, i32, i32) { // CHECK:STDOUT: !54 = !DILocation(line: 31, column: 48, scope: !51) // CHECK:STDOUT: !55 = !DILocation(line: 32, column: 10, scope: !51) // CHECK:STDOUT: !56 = !DILocation(line: 32, column: 3, scope: !51) -// CHECK:STDOUT: !57 = distinct !DISubprogram(name: "Op", linkageName: "_COp.9eed32d146d768a4:core.Destroy.Core", scope: null, file: !3, line: 31, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !58) +// CHECK:STDOUT: !57 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d52e974a95b4c7a0:core.Destroy.Core", scope: null, file: !3, line: 31, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !58) // CHECK:STDOUT: !58 = !{!59} // CHECK:STDOUT: !59 = !DILocalVariable(arg: 1, scope: !57, type: !7) // CHECK:STDOUT: !60 = !DILocation(line: 31, column: 3, scope: !57) -// CHECK:STDOUT: !61 = distinct !DISubprogram(name: "Op", linkageName: "_COp.222209af0eb67092:core.Destroy.Core", scope: null, file: !3, line: 31, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !62) +// CHECK:STDOUT: !61 = distinct !DISubprogram(name: "Op", linkageName: "_COp.25bd601d6340e055:core.Destroy.Core", scope: null, file: !3, line: 31, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !62) // CHECK:STDOUT: !62 = !{!63} // CHECK:STDOUT: !63 = !DILocalVariable(arg: 1, scope: !61, type: !7) // CHECK:STDOUT: !64 = !DILocation(line: 31, column: 3, scope: !61) -// CHECK:STDOUT: !65 = distinct !DISubprogram(name: "Op", linkageName: "_COp.316c701fc75e6074:core.Destroy.Core", scope: null, file: !3, line: 31, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !66) +// CHECK:STDOUT: !65 = distinct !DISubprogram(name: "Op", linkageName: "_COp.dbdcfec5203a459d:core.Destroy.Core", scope: null, file: !3, line: 31, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !66) // CHECK:STDOUT: !66 = !{!67} // CHECK:STDOUT: !67 = !DILocalVariable(arg: 1, scope: !65, type: !7) // CHECK:STDOUT: !68 = !DILocation(line: 31, column: 3, scope: !65) -// CHECK:STDOUT: !69 = distinct !DISubprogram(name: "GetBool", linkageName: "_CGetBool.C.Main.980bd46fd9fb5b99", scope: null, file: !3, line: 5, type: !70, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !72) +// CHECK:STDOUT: !69 = distinct !DISubprogram(name: "GetBool", linkageName: "_CGetBool.C.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 5, type: !70, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !72) // CHECK:STDOUT: !70 = !DISubroutineType(types: !71) // CHECK:STDOUT: !71 = !{!7, !7} // CHECK:STDOUT: !72 = !{!73} // CHECK:STDOUT: !73 = !DILocalVariable(arg: 1, scope: !69, type: !7) // CHECK:STDOUT: !74 = !DILocation(line: 6, column: 12, scope: !69) // CHECK:STDOUT: !75 = !DILocation(line: 6, column: 5, scope: !69) -// CHECK:STDOUT: !76 = distinct !DISubprogram(name: "GetT", linkageName: "_CGetT.C.Main.980bd46fd9fb5b99", scope: null, file: !3, line: 8, type: !77, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !79) +// CHECK:STDOUT: !76 = distinct !DISubprogram(name: "GetT", linkageName: "_CGetT.C.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 8, type: !77, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !79) // CHECK:STDOUT: !77 = !DISubroutineType(types: !78) // CHECK:STDOUT: !78 = !{!15, !7} // CHECK:STDOUT: !79 = !{!80} // CHECK:STDOUT: !80 = !DILocalVariable(arg: 1, scope: !76, type: !7) // CHECK:STDOUT: !81 = !DILocation(line: 9, column: 12, scope: !76) // CHECK:STDOUT: !82 = !DILocation(line: 9, column: 5, scope: !76) -// CHECK:STDOUT: !83 = distinct !DISubprogram(name: "GetT", linkageName: "_CGetT.C.Main.d18344b232c82104", scope: null, file: !3, line: 8, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !84) +// CHECK:STDOUT: !83 = distinct !DISubprogram(name: "GetT", linkageName: "_CGetT.C.Main.554b569e0734564b", scope: null, file: !3, line: 8, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !84) // CHECK:STDOUT: !84 = !{!85} // CHECK:STDOUT: !85 = !DILocalVariable(arg: 1, scope: !83, type: !7) // CHECK:STDOUT: !86 = !DILocation(line: 9, column: 12, scope: !83) // CHECK:STDOUT: !87 = !DILocation(line: 9, column: 5, scope: !83) -// CHECK:STDOUT: !88 = distinct !DISubprogram(name: "GetT", linkageName: "_CGetT.C.Main.04f80dc80ae8a44a", scope: null, file: !3, line: 8, type: !70, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !89) +// CHECK:STDOUT: !88 = distinct !DISubprogram(name: "GetT", linkageName: "_CGetT.C.Main.550e786320bb62de", scope: null, file: !3, line: 8, type: !70, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !89) // CHECK:STDOUT: !89 = !{!90} // CHECK:STDOUT: !90 = !DILocalVariable(arg: 1, scope: !88, type: !7) // CHECK:STDOUT: !91 = !DILocation(line: 9, column: 12, scope: !88) // CHECK:STDOUT: !92 = !DILocation(line: 9, column: 5, scope: !88) -// CHECK:STDOUT: !93 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8f8a97a660e99434:Copy.Core.649e390b4d8c77ae", scope: null, file: !94, line: 54, type: !70, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !95) +// CHECK:STDOUT: !93 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b4c2d866f5f8993d:Copy.Core.44b606bcef641408", scope: null, file: !94, line: 54, type: !70, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !95) // CHECK:STDOUT: !94 = !DIFile(filename: "min_prelude/parts/copy.carbon", directory: "") // CHECK:STDOUT: !95 = !{!96} // CHECK:STDOUT: !96 = !DILocalVariable(arg: 1, scope: !93, type: !7) diff --git a/toolchain/lower/testdata/class/virtual.carbon b/toolchain/lower/testdata/class/virtual.carbon index 3b0e3ce48341..638d8ae04c12 100644 --- a/toolchain/lower/testdata/class/virtual.carbon +++ b/toolchain/lower/testdata/class/virtual.carbon @@ -256,7 +256,7 @@ fn Use() { // CHECK:STDOUT: @"_CIntermediate.Classes.$vtable" = external unnamed_addr constant ptr // CHECK:STDOUT: @"_CDerived.Classes.$vtable" = external unnamed_addr constant ptr // CHECK:STDOUT: @Base.val.loc7_3 = internal constant {} zeroinitializer -// CHECK:STDOUT: @Intermediate.val.47f.loc8_3 = internal constant { ptr, {} } { ptr @"_CIntermediate.Classes.$vtable", {} zeroinitializer } +// CHECK:STDOUT: @Intermediate.val.511.loc8_3 = internal constant { ptr, {} } { ptr @"_CIntermediate.Classes.$vtable", {} zeroinitializer } // CHECK:STDOUT: @Derived.val.loc9_49.5 = internal constant { { ptr, {} } } { { ptr, {} } { ptr poison, {} zeroinitializer } } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind @@ -271,7 +271,7 @@ fn Use() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc8), !dbg !8 // CHECK:STDOUT: %.loc8_44.2.vptr = getelementptr inbounds nuw { ptr, {} }, ptr %_.var.loc8, i32 0, i32 0, !dbg !11 // CHECK:STDOUT: %.loc8_44.4.base = getelementptr inbounds nuw { ptr, {} }, ptr %_.var.loc8, i32 0, i32 1, !dbg !11 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var.loc8, ptr align 8 @Intermediate.val.47f.loc8_3, i64 8, i1 false), !dbg !8 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var.loc8, ptr align 8 @Intermediate.val.511.loc8_3, i64 8, i1 false), !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc9), !dbg !9 // CHECK:STDOUT: %.loc9_49.2.base = getelementptr inbounds nuw { { ptr, {} } }, ptr %_.var.loc9, i32 0, i32 0, !dbg !12 // CHECK:STDOUT: %.loc9_48.2.vptr = getelementptr inbounds nuw { ptr, {} }, ptr %.loc9_49.2.base, i32 0, i32 0, !dbg !13 @@ -281,10 +281,10 @@ fn Use() { // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var.loc9, ptr align 8 @Derived.val.loc9_49.5, i64 8, i1 false), !dbg !12 // CHECK:STDOUT: store ptr @"_CDerived.Classes.$vtable", ptr %.loc9_49.7.vptr, align 8, !dbg !12 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc12), !dbg !10 -// CHECK:STDOUT: call void @"_COp.e76863a8dcbdd7f2:core.Destroy.Core"(ptr %_.var.loc12), !dbg !10 -// CHECK:STDOUT: call void @"_COp.e76863a8dcbdd7f2:core.Destroy.Core"(ptr %_.var.loc9), !dbg !9 -// CHECK:STDOUT: call void @"_COp.b5d4d08867d18ac6:core.Destroy.Core"(ptr %_.var.loc8), !dbg !8 -// CHECK:STDOUT: call void @"_COp.fae71e4499d1f35b:core.Destroy.Core"(ptr %_.var.loc7), !dbg !7 +// CHECK:STDOUT: call void @"_COp.4e03d32a20dc20fc:core.Destroy.Core"(ptr %_.var.loc12), !dbg !10 +// CHECK:STDOUT: call void @"_COp.4e03d32a20dc20fc:core.Destroy.Core"(ptr %_.var.loc9), !dbg !9 +// CHECK:STDOUT: call void @"_COp.b969f23b0795c5b7:core.Destroy.Core"(ptr %_.var.loc8), !dbg !8 +// CHECK:STDOUT: call void @"_COp.0f099d3071c91b2a:core.Destroy.Core"(ptr %_.var.loc7), !dbg !7 // CHECK:STDOUT: ret void, !dbg !14 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -293,31 +293,31 @@ fn Use() { // CHECK:STDOUT: declare void @_CFn.Derived.Classes(ptr) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.fae71e4499d1f35b:core.Destroy.Core"(ptr %self) #0 !dbg !15 { +// CHECK:STDOUT: define weak_odr void @"_COp.0f099d3071c91b2a:core.Destroy.Core"(ptr %self) #0 !dbg !15 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.30072669d6c7825f:core.Destroy.Core"(ptr %self) #0 !dbg !22 { +// CHECK:STDOUT: define weak_odr void @"_COp.c8b420ef617bcd12:core.Destroy.Core"(ptr %self) #0 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b5d4d08867d18ac6:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.b969f23b0795c5b7:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.963c62ff0baa3545:core.Destroy.Core"(ptr %self) #0 !dbg !30 { +// CHECK:STDOUT: define weak_odr void @"_COp.626457d9603a0bc5:core.Destroy.Core"(ptr %self) #0 !dbg !30 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.e76863a8dcbdd7f2:core.Destroy.Core"(ptr %self) #0 !dbg !34 { +// CHECK:STDOUT: define weak_odr void @"_COp.4e03d32a20dc20fc:core.Destroy.Core"(ptr %self) #0 !dbg !34 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !37 // CHECK:STDOUT: } @@ -341,7 +341,7 @@ fn Use() { // CHECK:STDOUT: declare ptr @llvm.load.relative.i32(ptr, i32) #2 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.e76863a8dcbdd7f2:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.4e03d32a20dc20fc:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 3, 2, 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.memcpy.p0.p0.i64, { 2, 1, 0 } // CHECK:STDOUT: @@ -367,26 +367,26 @@ fn Use() { // CHECK:STDOUT: !12 = !DILocation(line: 9, column: 28, scope: !4) // CHECK:STDOUT: !13 = !DILocation(line: 9, column: 37, scope: !4) // CHECK:STDOUT: !14 = !DILocation(line: 6, column: 1, scope: !4) -// CHECK:STDOUT: !15 = distinct !DISubprogram(name: "Op", linkageName: "_COp.fae71e4499d1f35b:core.Destroy.Core", scope: null, file: !3, line: 12, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) +// CHECK:STDOUT: !15 = distinct !DISubprogram(name: "Op", linkageName: "_COp.0f099d3071c91b2a:core.Destroy.Core", scope: null, file: !3, line: 12, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) // CHECK:STDOUT: !16 = !DISubroutineType(types: !17) // CHECK:STDOUT: !17 = !{null, !18} // CHECK:STDOUT: !18 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !19 = !{!20} // CHECK:STDOUT: !20 = !DILocalVariable(arg: 1, scope: !15, type: !18) // CHECK:STDOUT: !21 = !DILocation(line: 12, column: 3, scope: !15) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.30072669d6c7825f:core.Destroy.Core", scope: null, file: !3, line: 12, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c8b420ef617bcd12:core.Destroy.Core", scope: null, file: !3, line: 12, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !22, type: !18) // CHECK:STDOUT: !25 = !DILocation(line: 12, column: 3, scope: !22) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b5d4d08867d18ac6:core.Destroy.Core", scope: null, file: !3, line: 12, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b969f23b0795c5b7:core.Destroy.Core", scope: null, file: !3, line: 12, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !26, type: !18) // CHECK:STDOUT: !29 = !DILocation(line: 12, column: 3, scope: !26) -// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.963c62ff0baa3545:core.Destroy.Core", scope: null, file: !3, line: 12, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.626457d9603a0bc5:core.Destroy.Core", scope: null, file: !3, line: 12, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !30, type: !18) // CHECK:STDOUT: !33 = !DILocation(line: 12, column: 3, scope: !30) -// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e76863a8dcbdd7f2:core.Destroy.Core", scope: null, file: !3, line: 12, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) +// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4e03d32a20dc20fc:core.Destroy.Core", scope: null, file: !3, line: 12, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) // CHECK:STDOUT: !35 = !{!36} // CHECK:STDOUT: !36 = !DILocalVariable(arg: 1, scope: !34, type: !18) // CHECK:STDOUT: !37 = !DILocation(line: 12, column: 3, scope: !34) @@ -400,12 +400,12 @@ fn Use() { // CHECK:STDOUT: // CHECK:STDOUT: @"_CIntermediate.Classes.$vtable" = external unnamed_addr constant ptr // CHECK:STDOUT: @"_CDerived.Classes.$vtable" = external unnamed_addr constant ptr -// CHECK:STDOUT: @empty_struct.64b.loc7_12 = internal constant {} zeroinitializer +// CHECK:STDOUT: @empty_struct.1f7.loc7_12 = internal constant {} zeroinitializer // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CMakePartialBase.Main(ptr sret({}) %return) #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %return, ptr align 1 @empty_struct.64b.loc7_12, i64 0, i1 false), !dbg !8 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %return, ptr align 1 @empty_struct.1f7.loc7_12, i64 0, i1 false), !dbg !8 // CHECK:STDOUT: ret void, !dbg !8 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -529,26 +529,26 @@ fn Use() { // CHECK:STDOUT: %.loc13_24.2.vptr = getelementptr inbounds nuw <{ ptr, i32 }>, ptr %_.var, i32 0, i32 0, !dbg !20 // CHECK:STDOUT: %.loc13_24.5.m = getelementptr inbounds nuw <{ ptr, i32 }>, ptr %_.var, i32 0, i32 1, !dbg !20 // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var, ptr align 8 @Base.val.loc13_3, i64 12, i1 false), !dbg !16 -// CHECK:STDOUT: call void @"_COp.c06798f3d09e8cc8:core.Destroy.Core"(ptr %_.var), !dbg !16 -// CHECK:STDOUT: call void @"_COp.c06798f3d09e8cc8:core.Destroy.Core"(ptr %v.var), !dbg !15 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %i.var), !dbg !14 +// CHECK:STDOUT: call void @"_COp.077e416a610fd48e:core.Destroy.Core"(ptr %_.var), !dbg !16 +// CHECK:STDOUT: call void @"_COp.077e416a610fd48e:core.Destroy.Core"(ptr %v.var), !dbg !15 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %i.var), !dbg !14 // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !22 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94642b197af03f5b:core.Destroy.Core"(ptr %self) #0 !dbg !29 { +// CHECK:STDOUT: define weak_odr void @"_COp.a1fb720f8ee641e9:core.Destroy.Core"(ptr %self) #0 !dbg !29 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !32 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.c06798f3d09e8cc8:core.Destroy.Core"(ptr %self) #0 !dbg !33 { +// CHECK:STDOUT: define weak_odr void @"_COp.077e416a610fd48e:core.Destroy.Core"(ptr %self) #0 !dbg !33 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } @@ -560,7 +560,7 @@ fn Use() { // CHECK:STDOUT: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.c06798f3d09e8cc8:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.077e416a610fd48e:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -591,18 +591,18 @@ fn Use() { // CHECK:STDOUT: !19 = !DILocation(line: 12, column: 3, scope: !11) // CHECK:STDOUT: !20 = !DILocation(line: 13, column: 17, scope: !11) // CHECK:STDOUT: !21 = !DILocation(line: 9, column: 1, scope: !11) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 13, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 13, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) // CHECK:STDOUT: !23 = !DISubroutineType(types: !24) // CHECK:STDOUT: !24 = !{null, !25} // CHECK:STDOUT: !25 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !22, type: !25) // CHECK:STDOUT: !28 = !DILocation(line: 13, column: 3, scope: !22) -// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94642b197af03f5b:core.Destroy.Core", scope: null, file: !3, line: 13, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a1fb720f8ee641e9:core.Destroy.Core", scope: null, file: !3, line: 13, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) // CHECK:STDOUT: !30 = !{!31} // CHECK:STDOUT: !31 = !DILocalVariable(arg: 1, scope: !29, type: !7) // CHECK:STDOUT: !32 = !DILocation(line: 13, column: 3, scope: !29) -// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c06798f3d09e8cc8:core.Destroy.Core", scope: null, file: !3, line: 13, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) +// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "Op", linkageName: "_COp.077e416a610fd48e:core.Destroy.Core", scope: null, file: !3, line: 13, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) // CHECK:STDOUT: !34 = !{!35} // CHECK:STDOUT: !35 = !DILocalVariable(arg: 1, scope: !33, type: !7) // CHECK:STDOUT: !36 = !DILocation(line: 13, column: 3, scope: !33) @@ -626,7 +626,7 @@ fn Use() { // CHECK:STDOUT: %.loc13_32.7.vptr = getelementptr inbounds nuw { ptr }, ptr %.loc13_32.6.base, i32 0, i32 0, !dbg !8 // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var, ptr align 8 @Derived.val.loc13_32.5, i64 8, i1 false), !dbg !8 // CHECK:STDOUT: store ptr @"_CDerived.Main.$vtable", ptr %.loc13_32.7.vptr, align 8, !dbg !8 -// CHECK:STDOUT: call void @"_COp.240924ea2ede74d6:core.Destroy.Core"(ptr %_.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.c734b9cb9ff14c0a:core.Destroy.Core"(ptr %_.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -637,19 +637,19 @@ fn Use() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.d21ca74749b17d7d:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.8fd1c7aa0f654d74:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.079358a27a1e0b70:core.Destroy.Core"(ptr %self) #0 !dbg !22 { +// CHECK:STDOUT: define weak_odr void @"_COp.5e74ca9c0ccdf884:core.Destroy.Core"(ptr %self) #0 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.240924ea2ede74d6:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.c734b9cb9ff14c0a:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } @@ -684,15 +684,15 @@ fn Use() { // CHECK:STDOUT: !15 = !{!16} // CHECK:STDOUT: !16 = !DILocalVariable(arg: 1, scope: !11, type: !14) // CHECK:STDOUT: !17 = !DILocation(line: 13, column: 3, scope: !11) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d21ca74749b17d7d:core.Destroy.Core", scope: null, file: !3, line: 13, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8fd1c7aa0f654d74:core.Destroy.Core", scope: null, file: !3, line: 13, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) // CHECK:STDOUT: !19 = !{!20} // CHECK:STDOUT: !20 = !DILocalVariable(arg: 1, scope: !18, type: !14) // CHECK:STDOUT: !21 = !DILocation(line: 13, column: 3, scope: !18) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.079358a27a1e0b70:core.Destroy.Core", scope: null, file: !3, line: 13, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5e74ca9c0ccdf884:core.Destroy.Core", scope: null, file: !3, line: 13, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !22, type: !14) // CHECK:STDOUT: !25 = !DILocation(line: 13, column: 3, scope: !22) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.240924ea2ede74d6:core.Destroy.Core", scope: null, file: !3, line: 13, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c734b9cb9ff14c0a:core.Destroy.Core", scope: null, file: !3, line: 13, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !26, type: !14) // CHECK:STDOUT: !29 = !DILocation(line: 13, column: 3, scope: !26) @@ -759,7 +759,7 @@ fn Use() { // CHECK:STDOUT: %Base.F.call.vtable = load ptr, ptr %.loc15_3.1.base, align 8, !dbg !10 // CHECK:STDOUT: %Base.F.call = call ptr @llvm.load.relative.i32(ptr %Base.F.call.vtable, i32 0), !dbg !10 // CHECK:STDOUT: call void %Base.F.call(ptr %.loc15_3.1.base), !dbg !10 -// CHECK:STDOUT: call void @"_COp.81f4c115cf2345c5:core.Destroy.Core"(ptr %v.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.c734b9cb9ff14c0a:core.Destroy.Core"(ptr %v.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -770,19 +770,19 @@ fn Use() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.545a01ed702342f6:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.8fd1c7aa0f654d74:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.21b8730a85961c16:core.Destroy.Core"(ptr %self) #0 !dbg !23 { +// CHECK:STDOUT: define weak_odr void @"_COp.5e74ca9c0ccdf884:core.Destroy.Core"(ptr %self) #0 !dbg !23 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.81f4c115cf2345c5:core.Destroy.Core"(ptr %self) #0 !dbg !27 { +// CHECK:STDOUT: define weak_odr void @"_COp.c734b9cb9ff14c0a:core.Destroy.Core"(ptr %self) #0 !dbg !27 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !30 // CHECK:STDOUT: } @@ -822,15 +822,15 @@ fn Use() { // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !12, type: !15) // CHECK:STDOUT: !18 = !DILocation(line: 14, column: 3, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.545a01ed702342f6:core.Destroy.Core", scope: null, file: !3, line: 14, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8fd1c7aa0f654d74:core.Destroy.Core", scope: null, file: !3, line: 14, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !20 = !{!21} // CHECK:STDOUT: !21 = !DILocalVariable(arg: 1, scope: !19, type: !15) // CHECK:STDOUT: !22 = !DILocation(line: 14, column: 3, scope: !19) -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.21b8730a85961c16:core.Destroy.Core", scope: null, file: !3, line: 14, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5e74ca9c0ccdf884:core.Destroy.Core", scope: null, file: !3, line: 14, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !23, type: !15) // CHECK:STDOUT: !26 = !DILocation(line: 14, column: 3, scope: !23) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.81f4c115cf2345c5:core.Destroy.Core", scope: null, file: !3, line: 14, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c734b9cb9ff14c0a:core.Destroy.Core", scope: null, file: !3, line: 14, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) // CHECK:STDOUT: !28 = !{!29} // CHECK:STDOUT: !29 = !DILocalVariable(arg: 1, scope: !27, type: !15) // CHECK:STDOUT: !30 = !DILocation(line: 14, column: 3, scope: !27) @@ -847,10 +847,10 @@ fn Use() { // CHECK:STDOUT: ; ModuleID = 'generic_use.carbon' // CHECK:STDOUT: source_filename = "generic_use.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @"_CBase.Main.$vtable.9ddc77f6d5c74933" = unnamed_addr constant [1 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @_CF.Base.Main.9ddc77f6d5c74933 to i64), i64 ptrtoint (ptr @"_CBase.Main.$vtable.9ddc77f6d5c74933" to i64)) to i32)] -// CHECK:STDOUT: @"_CBase.Main.$vtable.dc3f1ae930f86538" = unnamed_addr constant [1 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @_CF.Base.Main.dc3f1ae930f86538 to i64), i64 ptrtoint (ptr @"_CBase.Main.$vtable.dc3f1ae930f86538" to i64)) to i32)] -// CHECK:STDOUT: @Base.val.54d.loc16_3 = internal constant { ptr } { ptr @"_CBase.Main.$vtable.9ddc77f6d5c74933" } -// CHECK:STDOUT: @Base.val.788.loc17_3 = internal constant { ptr } { ptr @"_CBase.Main.$vtable.dc3f1ae930f86538" } +// CHECK:STDOUT: @"_CBase.Main.$vtable.1029235a698bda6f" = unnamed_addr constant [1 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @_CF.Base.Main.1029235a698bda6f to i64), i64 ptrtoint (ptr @"_CBase.Main.$vtable.1029235a698bda6f" to i64)) to i32)] +// CHECK:STDOUT: @"_CBase.Main.$vtable.48951bdbe95fad10" = unnamed_addr constant [1 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @_CF.Base.Main.48951bdbe95fad10 to i64), i64 ptrtoint (ptr @"_CBase.Main.$vtable.48951bdbe95fad10" to i64)) to i32)] +// CHECK:STDOUT: @Base.val.c48.loc16_3 = internal constant { ptr } { ptr @"_CBase.Main.$vtable.1029235a698bda6f" } +// CHECK:STDOUT: @Base.val.ccb.loc17_3 = internal constant { ptr } { ptr @"_CBase.Main.$vtable.48951bdbe95fad10" } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF.Main() #0 !dbg !4 { @@ -859,29 +859,29 @@ fn Use() { // CHECK:STDOUT: %_.var.loc17 = alloca { ptr }, align 8, !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc16), !dbg !7 // CHECK:STDOUT: %.loc16_22.2.vptr = getelementptr inbounds nuw { ptr }, ptr %_.var.loc16, i32 0, i32 0, !dbg !9 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var.loc16, ptr align 8 @Base.val.54d.loc16_3, i64 8, i1 false), !dbg !7 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var.loc16, ptr align 8 @Base.val.c48.loc16_3, i64 8, i1 false), !dbg !7 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc17), !dbg !8 // CHECK:STDOUT: %.loc17_22.2.vptr = getelementptr inbounds nuw { ptr }, ptr %_.var.loc17, i32 0, i32 0, !dbg !10 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var.loc17, ptr align 8 @Base.val.788.loc17_3, i64 8, i1 false), !dbg !8 -// CHECK:STDOUT: call void @"_COp.6540a0ed0b0e278f:core.Destroy.Core"(ptr %_.var.loc17), !dbg !8 -// CHECK:STDOUT: call void @"_COp.f5f8c603f8b4bf6f:core.Destroy.Core"(ptr %_.var.loc16), !dbg !7 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var.loc17, ptr align 8 @Base.val.ccb.loc17_3, i64 8, i1 false), !dbg !8 +// CHECK:STDOUT: call void @"_COp.76a47de3e03479c7:core.Destroy.Core"(ptr %_.var.loc17), !dbg !8 +// CHECK:STDOUT: call void @"_COp.986d28de4a280ac0:core.Destroy.Core"(ptr %_.var.loc16), !dbg !7 // CHECK:STDOUT: ret void, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.07a02b3c29b03141:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.35ab3e6bbc372602:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.d8c954e7cc00db1b:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.76b79385216abe71:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.64de2e862a836f25:core.Destroy.Core"(ptr %self) #0 !dbg !23 { +// CHECK:STDOUT: define weak_odr void @"_COp.18c5c3787f491606:core.Destroy.Core"(ptr %self) #0 !dbg !23 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } @@ -893,32 +893,32 @@ fn Use() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.6540a0ed0b0e278f:core.Destroy.Core"(ptr %self) #0 !dbg !31 { +// CHECK:STDOUT: define weak_odr void @"_COp.76a47de3e03479c7:core.Destroy.Core"(ptr %self) #0 !dbg !31 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !34 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.f5f8c603f8b4bf6f:core.Destroy.Core"(ptr %self) #0 !dbg !35 { +// CHECK:STDOUT: define weak_odr void @"_COp.986d28de4a280ac0:core.Destroy.Core"(ptr %self) #0 !dbg !35 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !38 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Base.Main.9ddc77f6d5c74933(ptr %self) #0 !dbg !39 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Base.Main.1029235a698bda6f(ptr %self) #0 !dbg !39 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %_.var = alloca {}, align 1, !dbg !42 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !42 -// CHECK:STDOUT: call void @"_COp.07a02b3c29b03141:core.Destroy.Core"(ptr %_.var), !dbg !42 +// CHECK:STDOUT: call void @"_COp.35ab3e6bbc372602:core.Destroy.Core"(ptr %_.var), !dbg !42 // CHECK:STDOUT: ret void, !dbg !43 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Base.Main.dc3f1ae930f86538(ptr %self) #0 !dbg !44 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Base.Main.48951bdbe95fad10(ptr %self) #0 !dbg !44 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %_.var = alloca { {} }, align 1, !dbg !47 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !47 -// CHECK:STDOUT: call void @"_COp.64de2e862a836f25:core.Destroy.Core"(ptr %_.var), !dbg !47 +// CHECK:STDOUT: call void @"_COp.18c5c3787f491606:core.Destroy.Core"(ptr %_.var), !dbg !47 // CHECK:STDOUT: ret void, !dbg !48 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -950,18 +950,18 @@ fn Use() { // CHECK:STDOUT: !9 = !DILocation(line: 16, column: 21, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 17, column: 21, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 15, column: 1, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.07a02b3c29b03141:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.35ab3e6bbc372602:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !15} // CHECK:STDOUT: !15 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !12, type: !15) // CHECK:STDOUT: !18 = !DILocation(line: 16, column: 10, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d8c954e7cc00db1b:core.Destroy.Core", scope: null, file: !3, line: 17, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.76b79385216abe71:core.Destroy.Core", scope: null, file: !3, line: 17, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !20 = !{!21} // CHECK:STDOUT: !21 = !DILocalVariable(arg: 1, scope: !19, type: !15) // CHECK:STDOUT: !22 = !DILocation(line: 17, column: 10, scope: !19) -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.64de2e862a836f25:core.Destroy.Core", scope: null, file: !3, line: 17, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.18c5c3787f491606:core.Destroy.Core", scope: null, file: !3, line: 17, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !23, type: !15) // CHECK:STDOUT: !26 = !DILocation(line: 17, column: 10, scope: !23) @@ -969,20 +969,20 @@ fn Use() { // CHECK:STDOUT: !28 = !{!29} // CHECK:STDOUT: !29 = !DILocalVariable(arg: 1, scope: !27, type: !15) // CHECK:STDOUT: !30 = !DILocation(line: 17, column: 3, scope: !27) -// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6540a0ed0b0e278f:core.Destroy.Core", scope: null, file: !3, line: 17, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !32) +// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "Op", linkageName: "_COp.76a47de3e03479c7:core.Destroy.Core", scope: null, file: !3, line: 17, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !32) // CHECK:STDOUT: !32 = !{!33} // CHECK:STDOUT: !33 = !DILocalVariable(arg: 1, scope: !31, type: !15) // CHECK:STDOUT: !34 = !DILocation(line: 17, column: 3, scope: !31) -// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "Op", linkageName: "_COp.f5f8c603f8b4bf6f:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !36) +// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "Op", linkageName: "_COp.986d28de4a280ac0:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !36) // CHECK:STDOUT: !36 = !{!37} // CHECK:STDOUT: !37 = !DILocalVariable(arg: 1, scope: !35, type: !15) // CHECK:STDOUT: !38 = !DILocation(line: 16, column: 3, scope: !35) -// CHECK:STDOUT: !39 = distinct !DISubprogram(name: "F", linkageName: "_CF.Base.Main.9ddc77f6d5c74933", scope: null, file: !3, line: 5, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) +// CHECK:STDOUT: !39 = distinct !DISubprogram(name: "F", linkageName: "_CF.Base.Main.1029235a698bda6f", scope: null, file: !3, line: 5, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) // CHECK:STDOUT: !40 = !{!41} // CHECK:STDOUT: !41 = !DILocalVariable(arg: 1, scope: !39, type: !15) // CHECK:STDOUT: !42 = !DILocation(line: 6, column: 5, scope: !39) // CHECK:STDOUT: !43 = !DILocation(line: 5, column: 3, scope: !39) -// CHECK:STDOUT: !44 = distinct !DISubprogram(name: "F", linkageName: "_CF.Base.Main.dc3f1ae930f86538", scope: null, file: !3, line: 5, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !45) +// CHECK:STDOUT: !44 = distinct !DISubprogram(name: "F", linkageName: "_CF.Base.Main.48951bdbe95fad10", scope: null, file: !3, line: 5, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !45) // CHECK:STDOUT: !45 = !{!46} // CHECK:STDOUT: !46 = !DILocalVariable(arg: 1, scope: !44, type: !15) // CHECK:STDOUT: !47 = !DILocation(line: 6, column: 5, scope: !44) @@ -990,14 +990,14 @@ fn Use() { // CHECK:STDOUT: ; ModuleID = 'generic_base.carbon' // CHECK:STDOUT: source_filename = "generic_base.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @"_CDerived.Main.$vtable" = unnamed_addr constant [1 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @_CF.Base.Main.1b165c91e0722a85 to i64), i64 ptrtoint (ptr @"_CDerived.Main.$vtable" to i64)) to i32)] +// CHECK:STDOUT: @"_CDerived.Main.$vtable" = unnamed_addr constant [1 x i32] [i32 trunc (i64 sub (i64 ptrtoint (ptr @_CF.Base.Main.a32762d93dfe968e to i64), i64 ptrtoint (ptr @"_CDerived.Main.$vtable" to i64)) to i32)] // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CMake.Main() #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %_.var = alloca { { ptr } }, align 8, !dbg !7 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !7 -// CHECK:STDOUT: call void @"_COp.7bb3cd50939f292f:core.Destroy.Core"(ptr %_.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.c734b9cb9ff14c0a:core.Destroy.Core"(ptr %_.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !8 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1008,25 +1008,25 @@ fn Use() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.02be56e98aa7e78e:core.Destroy.Core"(ptr %self) #0 !dbg !16 { +// CHECK:STDOUT: define weak_odr void @"_COp.65a7849e4f4960f8:core.Destroy.Core"(ptr %self) #0 !dbg !16 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.e2df7c16c6ca225c:core.Destroy.Core"(ptr %self) #0 !dbg !20 { +// CHECK:STDOUT: define weak_odr void @"_COp.36fd9be4fff9be1d:core.Destroy.Core"(ptr %self) #0 !dbg !20 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !23 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.7bb3cd50939f292f:core.Destroy.Core"(ptr %self) #0 !dbg !24 { +// CHECK:STDOUT: define weak_odr void @"_COp.c734b9cb9ff14c0a:core.Destroy.Core"(ptr %self) #0 !dbg !24 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Base.Main.1b165c91e0722a85(ptr %self) #0 !dbg !28 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Base.Main.a32762d93dfe968e(ptr %self) #0 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } @@ -1056,19 +1056,19 @@ fn Use() { // CHECK:STDOUT: !13 = !{!14} // CHECK:STDOUT: !14 = !DILocalVariable(arg: 1, scope: !9, type: !12) // CHECK:STDOUT: !15 = !DILocation(line: 15, column: 3, scope: !9) -// CHECK:STDOUT: !16 = distinct !DISubprogram(name: "Op", linkageName: "_COp.02be56e98aa7e78e:core.Destroy.Core", scope: null, file: !3, line: 15, type: !10, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) +// CHECK:STDOUT: !16 = distinct !DISubprogram(name: "Op", linkageName: "_COp.65a7849e4f4960f8:core.Destroy.Core", scope: null, file: !3, line: 15, type: !10, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) // CHECK:STDOUT: !17 = !{!18} // CHECK:STDOUT: !18 = !DILocalVariable(arg: 1, scope: !16, type: !12) // CHECK:STDOUT: !19 = !DILocation(line: 15, column: 3, scope: !16) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e2df7c16c6ca225c:core.Destroy.Core", scope: null, file: !3, line: 15, type: !10, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !21) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.36fd9be4fff9be1d:core.Destroy.Core", scope: null, file: !3, line: 15, type: !10, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !21) // CHECK:STDOUT: !21 = !{!22} // CHECK:STDOUT: !22 = !DILocalVariable(arg: 1, scope: !20, type: !12) // CHECK:STDOUT: !23 = !DILocation(line: 15, column: 3, scope: !20) -// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp.7bb3cd50939f292f:core.Destroy.Core", scope: null, file: !3, line: 15, type: !10, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c734b9cb9ff14c0a:core.Destroy.Core", scope: null, file: !3, line: 15, type: !10, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !24, type: !12) // CHECK:STDOUT: !27 = !DILocation(line: 15, column: 3, scope: !24) -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "F", linkageName: "_CF.Base.Main.1b165c91e0722a85", scope: null, file: !3, line: 5, type: !10, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "F", linkageName: "_CF.Base.Main.a32762d93dfe968e", scope: null, file: !3, line: 5, type: !10, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) // CHECK:STDOUT: !29 = !{!30} // CHECK:STDOUT: !30 = !DILocalVariable(arg: 1, scope: !28, type: !12) // CHECK:STDOUT: !31 = !DILocation(line: 5, column: 3, scope: !28) @@ -1081,7 +1081,7 @@ fn Use() { // CHECK:STDOUT: @From.val.loc18_14 = internal constant {} zeroinitializer // CHECK:STDOUT: @Derived.val.loc23_31.5 = internal constant { { ptr } } poison // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CConvert.From.Main:ImplicitAs.9040cf91eef70a75.Core"(ptr sret({}), ptr) +// CHECK:STDOUT: declare void @"_CConvert.From.Main:ImplicitAs.4941293e6556af9a.Core"(ptr sret({}), ptr) // CHECK:STDOUT: // CHECK:STDOUT: declare void @_CF.Base.Main(ptr sret({}), ptr, ptr) // CHECK:STDOUT: @@ -1099,22 +1099,22 @@ fn Use() { // CHECK:STDOUT: %.loc12_33.1.temp = alloca {}, align 1, !dbg !17 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc17_58.1.temp), !dbg !16 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc12_33.1.temp), !dbg !17 -// CHECK:STDOUT: call void @"_CConvert.From.Main:ImplicitAs.9040cf91eef70a75.Core"(ptr %.loc12_33.1.temp, ptr %n), !dbg !17 +// CHECK:STDOUT: call void @"_CConvert.From.Main:ImplicitAs.4941293e6556af9a.Core"(ptr %.loc12_33.1.temp, ptr %n), !dbg !17 // CHECK:STDOUT: call void @_CF.Derived.Main(ptr %.loc17_58.1.temp, ptr %self, ptr %.loc12_33.1.temp), !dbg !16 -// CHECK:STDOUT: call void @"_CConvert.From.Main:ImplicitAs.9040cf91eef70a75.Core"(ptr %return, ptr %.loc17_58.1.temp), !dbg !16 -// CHECK:STDOUT: call void @"_COp.3c9b7712a77205d7:core.Destroy.Core"(ptr %.loc17_58.1.temp), !dbg !16 -// CHECK:STDOUT: call void @"_COp.3790adf1d47396a2:core.Destroy.Core"(ptr %.loc12_33.1.temp), !dbg !17 +// CHECK:STDOUT: call void @"_CConvert.From.Main:ImplicitAs.4941293e6556af9a.Core"(ptr %return, ptr %.loc17_58.1.temp), !dbg !16 +// CHECK:STDOUT: call void @"_COp.badced2017fb7c37:core.Destroy.Core"(ptr %.loc17_58.1.temp), !dbg !16 +// CHECK:STDOUT: call void @"_COp.82d5d30739e4730b:core.Destroy.Core"(ptr %.loc12_33.1.temp), !dbg !17 // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.3c9b7712a77205d7:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.badced2017fb7c37:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !23 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.3790adf1d47396a2:core.Destroy.Core"(ptr %self) #0 !dbg !24 { +// CHECK:STDOUT: define weak_odr void @"_COp.82d5d30739e4730b:core.Destroy.Core"(ptr %self) #0 !dbg !24 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } @@ -1138,9 +1138,9 @@ fn Use() { // CHECK:STDOUT: %Base.F.call.vtable = load ptr, ptr %.loc25_10.1.temp, align 8, !dbg !32 // CHECK:STDOUT: %Base.F.call = call ptr @llvm.load.relative.i32(ptr %Base.F.call.vtable, i32 0), !dbg !32 // CHECK:STDOUT: call void %Base.F.call(ptr %.loc25_10.1.temp, ptr %.loc24_18.2.base, ptr @From.val.loc18_14), !dbg !32 -// CHECK:STDOUT: call void @"_COp.3790adf1d47396a2:core.Destroy.Core"(ptr %.loc25_10.1.temp), !dbg !32 -// CHECK:STDOUT: call void @"_COp.3c9b7712a77205d7:core.Destroy.Core"(ptr @From.val), !dbg !33 -// CHECK:STDOUT: call void @"_COp.1175a7ef024b67a3:core.Destroy.Core"(ptr %d.var), !dbg !31 +// CHECK:STDOUT: call void @"_COp.82d5d30739e4730b:core.Destroy.Core"(ptr %.loc25_10.1.temp), !dbg !32 +// CHECK:STDOUT: call void @"_COp.badced2017fb7c37:core.Destroy.Core"(ptr @From.val), !dbg !33 +// CHECK:STDOUT: call void @"_COp.c734b9cb9ff14c0a:core.Destroy.Core"(ptr %d.var), !dbg !31 // CHECK:STDOUT: ret void, !dbg !37 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -1151,19 +1151,19 @@ fn Use() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.a374db61aa6bf8f6:core.Destroy.Core"(ptr %self) #0 !dbg !42 { +// CHECK:STDOUT: define weak_odr void @"_COp.8fd1c7aa0f654d74:core.Destroy.Core"(ptr %self) #0 !dbg !42 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !45 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.e2c1cb853c175902:core.Destroy.Core"(ptr %self) #0 !dbg !46 { +// CHECK:STDOUT: define weak_odr void @"_COp.5e74ca9c0ccdf884:core.Destroy.Core"(ptr %self) #0 !dbg !46 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !49 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.1175a7ef024b67a3:core.Destroy.Core"(ptr %self) #0 !dbg !50 { +// CHECK:STDOUT: define weak_odr void @"_COp.c734b9cb9ff14c0a:core.Destroy.Core"(ptr %self) #0 !dbg !50 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !53 // CHECK:STDOUT: } @@ -1207,13 +1207,13 @@ fn Use() { // CHECK:STDOUT: !15 = !DILocalVariable(arg: 2, scope: !12, type: !7) // CHECK:STDOUT: !16 = !DILocation(line: 17, column: 3, scope: !12) // CHECK:STDOUT: !17 = !DILocation(line: 12, column: 32, scope: !12) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.3c9b7712a77205d7:core.Destroy.Core", scope: null, file: !3, line: 17, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !21) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.badced2017fb7c37:core.Destroy.Core", scope: null, file: !3, line: 17, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !21) // CHECK:STDOUT: !19 = !DISubroutineType(types: !20) // CHECK:STDOUT: !20 = !{null, !7} // CHECK:STDOUT: !21 = !{!22} // CHECK:STDOUT: !22 = !DILocalVariable(arg: 1, scope: !18, type: !7) // CHECK:STDOUT: !23 = !DILocation(line: 17, column: 3, scope: !18) -// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp.3790adf1d47396a2:core.Destroy.Core", scope: null, file: !3, line: 12, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp.82d5d30739e4730b:core.Destroy.Core", scope: null, file: !3, line: 12, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !24, type: !7) // CHECK:STDOUT: !27 = !DILocation(line: 12, column: 32, scope: !24) @@ -1231,15 +1231,15 @@ fn Use() { // CHECK:STDOUT: !39 = !{!40} // CHECK:STDOUT: !40 = !DILocalVariable(arg: 1, scope: !38, type: !7) // CHECK:STDOUT: !41 = !DILocation(line: 23, column: 3, scope: !38) -// CHECK:STDOUT: !42 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a374db61aa6bf8f6:core.Destroy.Core", scope: null, file: !3, line: 23, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43) +// CHECK:STDOUT: !42 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8fd1c7aa0f654d74:core.Destroy.Core", scope: null, file: !3, line: 23, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43) // CHECK:STDOUT: !43 = !{!44} // CHECK:STDOUT: !44 = !DILocalVariable(arg: 1, scope: !42, type: !7) // CHECK:STDOUT: !45 = !DILocation(line: 23, column: 3, scope: !42) -// CHECK:STDOUT: !46 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e2c1cb853c175902:core.Destroy.Core", scope: null, file: !3, line: 23, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !47) +// CHECK:STDOUT: !46 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5e74ca9c0ccdf884:core.Destroy.Core", scope: null, file: !3, line: 23, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !47) // CHECK:STDOUT: !47 = !{!48} // CHECK:STDOUT: !48 = !DILocalVariable(arg: 1, scope: !46, type: !7) // CHECK:STDOUT: !49 = !DILocation(line: 23, column: 3, scope: !46) -// CHECK:STDOUT: !50 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1175a7ef024b67a3:core.Destroy.Core", scope: null, file: !3, line: 23, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !51) +// CHECK:STDOUT: !50 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c734b9cb9ff14c0a:core.Destroy.Core", scope: null, file: !3, line: 23, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !51) // CHECK:STDOUT: !51 = !{!52} // CHECK:STDOUT: !52 = !DILocalVariable(arg: 1, scope: !50, type: !7) // CHECK:STDOUT: !53 = !DILocation(line: 23, column: 3, scope: !50) diff --git a/toolchain/lower/testdata/for/bindings.carbon b/toolchain/lower/testdata/for/bindings.carbon index 7bdc266ed0df..e90706e5e0db 100644 --- a/toolchain/lower/testdata/for/bindings.carbon +++ b/toolchain/lower/testdata/for/bindings.carbon @@ -48,20 +48,20 @@ fn For() { // CHECK:STDOUT: %.loc29_33.8.temp = alloca { i32, i32 }, align 4, !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %r.var), !dbg !7 // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %r.var, ptr align 1 @EmptyRange.val.loc27_3, i64 0, i1 false), !dbg !7 -// CHECK:STDOUT: call void @"_CNewCursor.EmptyRange.7920d9939e32908d.Main:Iterate.Core.9de724674fdcc2fc"(ptr %r.var), !dbg !8 +// CHECK:STDOUT: call void @"_CNewCursor.EmptyRange.287e013a6206a934.Main:Iterate.Core.3a9d0e7b9ea8ab0d"(ptr %r.var), !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %var), !dbg !8 // CHECK:STDOUT: br label %for.next, !dbg !8 // CHECK:STDOUT: // CHECK:STDOUT: for.next: ; preds = %for.body, %entry // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc29_33.1.temp), !dbg !8 -// CHECK:STDOUT: call void @"_CNext.EmptyRange.7920d9939e32908d.Main:Iterate.Core.9de724674fdcc2fc"(ptr %.loc29_33.1.temp, ptr %r.var, ptr %var), !dbg !8 -// CHECK:STDOUT: %Optional.HasValue.call = call i1 @_CHasValue.Optional.Core.a3bfbf363f631d39(ptr %.loc29_33.1.temp), !dbg !8 +// CHECK:STDOUT: call void @"_CNext.EmptyRange.287e013a6206a934.Main:Iterate.Core.3a9d0e7b9ea8ab0d"(ptr %.loc29_33.1.temp, ptr %r.var, ptr %var), !dbg !8 +// CHECK:STDOUT: %Optional.HasValue.call = call i1 @_CHasValue.Optional.Core.98974fba723f09b9(ptr %.loc29_33.1.temp), !dbg !8 // CHECK:STDOUT: br i1 %Optional.HasValue.call, label %for.body, label %for.done, !dbg !8 // CHECK:STDOUT: // CHECK:STDOUT: for.body: ; preds = %for.next // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %n.var), !dbg !9 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc29_33.8.temp), !dbg !8 -// CHECK:STDOUT: call void @_CGet.Optional.Core.a3bfbf363f631d39(ptr %.loc29_33.8.temp, ptr %.loc29_33.1.temp), !dbg !8 +// CHECK:STDOUT: call void @_CGet.Optional.Core.98974fba723f09b9(ptr %.loc29_33.8.temp, ptr %.loc29_33.1.temp), !dbg !8 // CHECK:STDOUT: %tuple.elem0.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %.loc29_33.8.temp, i32 0, i32 0, !dbg !8 // CHECK:STDOUT: %tuple.elem1.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %.loc29_33.8.temp, i32 0, i32 1, !dbg !8 // CHECK:STDOUT: %.loc29_33.11 = load i32, ptr %tuple.elem0.tuple.elem, align 4, !dbg !8 @@ -71,51 +71,51 @@ fn For() { // CHECK:STDOUT: br label %for.next, !dbg !11 // CHECK:STDOUT: // CHECK:STDOUT: for.done: ; preds = %for.next -// CHECK:STDOUT: call void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %.loc29_33.8.temp), !dbg !8 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.4874974874d1f22c:core.Destroy.Core"(ptr %.loc29_33.1.temp), !dbg !8 -// CHECK:STDOUT: call void @"_COp.c249106e7f336249:core.Destroy.Core"(ptr %r.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %.loc29_33.8.temp), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.1891809c26fc7e83:core.Destroy.Core"(ptr %.loc29_33.1.temp), !dbg !8 +// CHECK:STDOUT: call void @"_COp.766445c24f925942:core.Destroy.Core"(ptr %r.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !12 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !13 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %self) #0 !dbg !20 { +// CHECK:STDOUT: define weak_odr void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %self) #0 !dbg !20 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.08913813ebb39173:core.Destroy.Core"(ptr %self) #0 !dbg !27 { +// CHECK:STDOUT: define weak_odr void @"_COp.42ca61a2d91a26c4:core.Destroy.Core"(ptr %self) #0 !dbg !27 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !30 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.8dc9c6a6199d61a1:core.Destroy.Core"(ptr %self) #0 !dbg !31 { +// CHECK:STDOUT: define weak_odr void @"_COp.b56bc24bdc8482e7:core.Destroy.Core"(ptr %self) #0 !dbg !31 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !34 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.a92c3a4a66bcbdb9:core.Destroy.Core"(ptr %self) #0 !dbg !35 { +// CHECK:STDOUT: define weak_odr void @"_COp.f9310e30400aa50e:core.Destroy.Core"(ptr %self) #0 !dbg !35 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !38 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.4874974874d1f22c:core.Destroy.Core"(ptr %self) #0 !dbg !39 { +// CHECK:STDOUT: define weak_odr void @"_COp.1891809c26fc7e83:core.Destroy.Core"(ptr %self) #0 !dbg !39 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !42 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.c249106e7f336249:core.Destroy.Core"(ptr %self) #0 !dbg !43 { +// CHECK:STDOUT: define weak_odr void @"_COp.766445c24f925942:core.Destroy.Core"(ptr %self) #0 !dbg !43 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !46 // CHECK:STDOUT: } @@ -127,38 +127,38 @@ fn For() { // CHECK:STDOUT: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CNewCursor.EmptyRange.7920d9939e32908d.Main:Iterate.Core.9de724674fdcc2fc"(ptr %self) #0 !dbg !47 { +// CHECK:STDOUT: define linkonce_odr void @"_CNewCursor.EmptyRange.287e013a6206a934.Main:Iterate.Core.3a9d0e7b9ea8ab0d"(ptr %self) #0 !dbg !47 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !50 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CNext.EmptyRange.7920d9939e32908d.Main:Iterate.Core.9de724674fdcc2fc"(ptr sret(<{ { i32, i32 }, i1 }>) %return, ptr %self, ptr %_) #0 !dbg !51 { +// CHECK:STDOUT: define linkonce_odr void @"_CNext.EmptyRange.287e013a6206a934.Main:Iterate.Core.3a9d0e7b9ea8ab0d"(ptr sret(<{ { i32, i32 }, i1 }>) %return, ptr %self, ptr %_) #0 !dbg !51 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CNone.Optional.Core.a3bfbf363f631d39(ptr %return), !dbg !57 +// CHECK:STDOUT: call void @_CNone.Optional.Core.98974fba723f09b9(ptr %return), !dbg !57 // CHECK:STDOUT: ret void, !dbg !58 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @_CHasValue.Optional.Core.a3bfbf363f631d39(ptr %self) #0 !dbg !59 { -// CHECK:STDOUT: %1 = call i1 @"_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.9de724674fdcc2fc"(ptr %self), !dbg !65 +// CHECK:STDOUT: define linkonce_odr i1 @_CHasValue.Optional.Core.98974fba723f09b9(ptr %self) #0 !dbg !59 { +// CHECK:STDOUT: %1 = call i1 @"_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.3a9d0e7b9ea8ab0d"(ptr %self), !dbg !65 // CHECK:STDOUT: ret i1 %1, !dbg !66 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CGet.Optional.Core.a3bfbf363f631d39(ptr sret({ i32, i32 }) %return, ptr %self) #0 !dbg !67 { -// CHECK:STDOUT: call void @"_CGet.ca6ae00af8d27ba2:OptionalStorage.Core.9de724674fdcc2fc"(ptr %return, ptr %self), !dbg !70 +// CHECK:STDOUT: define linkonce_odr void @_CGet.Optional.Core.98974fba723f09b9(ptr sret({ i32, i32 }) %return, ptr %self) #0 !dbg !67 { +// CHECK:STDOUT: call void @"_CGet.2d6936f0ed82c0eb:OptionalStorage.Core.3a9d0e7b9ea8ab0d"(ptr %return, ptr %self), !dbg !70 // CHECK:STDOUT: ret void, !dbg !71 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CNone.Optional.Core.a3bfbf363f631d39(ptr sret(<{ { i32, i32 }, i1 }>) %return) #0 !dbg !72 { -// CHECK:STDOUT: call void @"_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.9de724674fdcc2fc"(ptr %return), !dbg !75 +// CHECK:STDOUT: define linkonce_odr void @_CNone.Optional.Core.98974fba723f09b9(ptr sret(<{ { i32, i32 }, i1 }>) %return) #0 !dbg !72 { +// CHECK:STDOUT: call void @"_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.3a9d0e7b9ea8ab0d"(ptr %return), !dbg !75 // CHECK:STDOUT: ret void, !dbg !76 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @"_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.9de724674fdcc2fc"(ptr %value) #0 !dbg !77 { +// CHECK:STDOUT: define linkonce_odr i1 @"_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.3a9d0e7b9ea8ab0d"(ptr %value) #0 !dbg !77 { // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ { i32, i32 }, i1 }>, ptr %value, i32 0, i32 1, !dbg !80 // CHECK:STDOUT: %1 = load i8, ptr %has_value, align 1, !dbg !80 // CHECK:STDOUT: %2 = trunc i8 %1 to i1, !dbg !80 @@ -166,21 +166,21 @@ fn For() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CGet.ca6ae00af8d27ba2:OptionalStorage.Core.9de724674fdcc2fc"(ptr sret({ i32, i32 }) %return, ptr %value) #0 !dbg !82 { +// CHECK:STDOUT: define linkonce_odr void @"_CGet.2d6936f0ed82c0eb:OptionalStorage.Core.3a9d0e7b9ea8ab0d"(ptr sret({ i32, i32 }) %return, ptr %value) #0 !dbg !82 { // CHECK:STDOUT: %value1 = getelementptr inbounds nuw <{ { i32, i32 }, i1 }>, ptr %value, i32 0, i32 0, !dbg !85 -// CHECK:STDOUT: call void @"_COp.2ebefcbfae1e57a1:Copy.Core.487289465e254743"(ptr %return, ptr %value1), !dbg !85 +// CHECK:STDOUT: call void @"_COp.c9b880f9e94f16bf:Copy.Core.993ac60ec7fada7e"(ptr %return, ptr %value1), !dbg !85 // CHECK:STDOUT: ret void, !dbg !86 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.9de724674fdcc2fc"(ptr sret(<{ { i32, i32 }, i1 }>) %return) #0 !dbg !87 { +// CHECK:STDOUT: define linkonce_odr void @"_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.3a9d0e7b9ea8ab0d"(ptr sret(<{ { i32, i32 }, i1 }>) %return) #0 !dbg !87 { // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ { i32, i32 }, i1 }>, ptr %return, i32 0, i32 1, !dbg !88 // CHECK:STDOUT: store i8 0, ptr %has_value, align 1, !dbg !88 // CHECK:STDOUT: ret void, !dbg !89 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.2ebefcbfae1e57a1:Copy.Core.487289465e254743"(ptr sret({ i32, i32 }) %return, ptr %self) #0 !dbg !90 { +// CHECK:STDOUT: define linkonce_odr void @"_COp.c9b880f9e94f16bf:Copy.Core.993ac60ec7fada7e"(ptr sret({ i32, i32 }) %return, ptr %self) #0 !dbg !90 { // CHECK:STDOUT: %tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %self, i32 0, i32 0, !dbg !94 // CHECK:STDOUT: %tuple.elem.load = load i32, ptr %tuple.elem, align 4, !dbg !94 // CHECK:STDOUT: %tuple.elem1 = getelementptr inbounds nuw { i32, i32 }, ptr %return, i32 0, i32 0, !dbg !95 @@ -214,45 +214,45 @@ fn For() { // CHECK:STDOUT: !10 = !DILocation(line: 30, column: 5, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 29, column: 3, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 26, column: 1, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 27, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 27, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) // CHECK:STDOUT: !14 = !DISubroutineType(types: !15) // CHECK:STDOUT: !15 = !{null, !16} // CHECK:STDOUT: !16 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !17 = !{!18} // CHECK:STDOUT: !18 = !DILocalVariable(arg: 1, scope: !13, type: !16) // CHECK:STDOUT: !19 = !DILocation(line: 27, column: 10, scope: !13) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.26f166843e861eec:core.Destroy.Core", scope: null, file: !3, line: 27, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.11d8dd9278293aa3:core.Destroy.Core", scope: null, file: !3, line: 27, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !21 = !DISubroutineType(types: !22) // CHECK:STDOUT: !22 = !{null, !23} // CHECK:STDOUT: !23 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !20, type: !23) // CHECK:STDOUT: !26 = !DILocation(line: 27, column: 10, scope: !20) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.08913813ebb39173:core.Destroy.Core", scope: null, file: !3, line: 29, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.42ca61a2d91a26c4:core.Destroy.Core", scope: null, file: !3, line: 29, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) // CHECK:STDOUT: !28 = !{!29} // CHECK:STDOUT: !29 = !DILocalVariable(arg: 1, scope: !27, type: !23) // CHECK:STDOUT: !30 = !DILocation(line: 29, column: 7, scope: !27) -// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8dc9c6a6199d61a1:core.Destroy.Core", scope: null, file: !3, line: 29, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !32) +// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b56bc24bdc8482e7:core.Destroy.Core", scope: null, file: !3, line: 29, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !32) // CHECK:STDOUT: !32 = !{!33} // CHECK:STDOUT: !33 = !DILocalVariable(arg: 1, scope: !31, type: !23) // CHECK:STDOUT: !34 = !DILocation(line: 29, column: 7, scope: !31) -// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a92c3a4a66bcbdb9:core.Destroy.Core", scope: null, file: !3, line: 29, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !36) +// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "Op", linkageName: "_COp.f9310e30400aa50e:core.Destroy.Core", scope: null, file: !3, line: 29, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !36) // CHECK:STDOUT: !36 = !{!37} // CHECK:STDOUT: !37 = !DILocalVariable(arg: 1, scope: !35, type: !23) // CHECK:STDOUT: !38 = !DILocation(line: 29, column: 7, scope: !35) -// CHECK:STDOUT: !39 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4874974874d1f22c:core.Destroy.Core", scope: null, file: !3, line: 29, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) +// CHECK:STDOUT: !39 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1891809c26fc7e83:core.Destroy.Core", scope: null, file: !3, line: 29, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) // CHECK:STDOUT: !40 = !{!41} // CHECK:STDOUT: !41 = !DILocalVariable(arg: 1, scope: !39, type: !23) // CHECK:STDOUT: !42 = !DILocation(line: 29, column: 7, scope: !39) -// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c249106e7f336249:core.Destroy.Core", scope: null, file: !3, line: 27, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !44) +// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "Op", linkageName: "_COp.766445c24f925942:core.Destroy.Core", scope: null, file: !3, line: 27, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !44) // CHECK:STDOUT: !44 = !{!45} // CHECK:STDOUT: !45 = !DILocalVariable(arg: 1, scope: !43, type: !23) // CHECK:STDOUT: !46 = !DILocation(line: 27, column: 3, scope: !43) -// CHECK:STDOUT: !47 = distinct !DISubprogram(name: "NewCursor", linkageName: "_CNewCursor.EmptyRange.7920d9939e32908d.Main:Iterate.Core.9de724674fdcc2fc", scope: null, file: !3, line: 15, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !48) +// CHECK:STDOUT: !47 = distinct !DISubprogram(name: "NewCursor", linkageName: "_CNewCursor.EmptyRange.287e013a6206a934.Main:Iterate.Core.3a9d0e7b9ea8ab0d", scope: null, file: !3, line: 15, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !48) // CHECK:STDOUT: !48 = !{!49} // CHECK:STDOUT: !49 = !DILocalVariable(arg: 1, scope: !47, type: !23) // CHECK:STDOUT: !50 = !DILocation(line: 16, column: 7, scope: !47) -// CHECK:STDOUT: !51 = distinct !DISubprogram(name: "Next", linkageName: "_CNext.EmptyRange.7920d9939e32908d.Main:Iterate.Core.9de724674fdcc2fc", scope: null, file: !3, line: 18, type: !52, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !54) +// CHECK:STDOUT: !51 = distinct !DISubprogram(name: "Next", linkageName: "_CNext.EmptyRange.287e013a6206a934.Main:Iterate.Core.3a9d0e7b9ea8ab0d", scope: null, file: !3, line: 18, type: !52, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !54) // CHECK:STDOUT: !52 = !DISubroutineType(types: !53) // CHECK:STDOUT: !53 = !{!23, !23, !23} // CHECK:STDOUT: !54 = !{!55, !56} @@ -260,7 +260,7 @@ fn For() { // CHECK:STDOUT: !56 = !DILocalVariable(arg: 2, scope: !51, type: !23) // CHECK:STDOUT: !57 = !DILocation(line: 19, column: 14, scope: !51) // CHECK:STDOUT: !58 = !DILocation(line: 19, column: 7, scope: !51) -// CHECK:STDOUT: !59 = distinct !DISubprogram(name: "HasValue", linkageName: "_CHasValue.Optional.Core.a3bfbf363f631d39", scope: null, file: !60, line: 36, type: !61, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !63) +// CHECK:STDOUT: !59 = distinct !DISubprogram(name: "HasValue", linkageName: "_CHasValue.Optional.Core.98974fba723f09b9", scope: null, file: !60, line: 36, type: !61, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !63) // CHECK:STDOUT: !60 = !DIFile(filename: "{{.*}}/prelude/types/optional.carbon", directory: "") // CHECK:STDOUT: !61 = !DISubroutineType(types: !62) // CHECK:STDOUT: !62 = !{!23, !23} @@ -268,30 +268,30 @@ fn For() { // CHECK:STDOUT: !64 = !DILocalVariable(arg: 1, scope: !59, type: !23) // CHECK:STDOUT: !65 = !DILocation(line: 37, column: 12, scope: !59) // CHECK:STDOUT: !66 = !DILocation(line: 37, column: 5, scope: !59) -// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.Optional.Core.a3bfbf363f631d39", scope: null, file: !60, line: 39, type: !61, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !68) +// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.Optional.Core.98974fba723f09b9", scope: null, file: !60, line: 39, type: !61, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !68) // CHECK:STDOUT: !68 = !{!69} // CHECK:STDOUT: !69 = !DILocalVariable(arg: 1, scope: !67, type: !23) // CHECK:STDOUT: !70 = !DILocation(line: 40, column: 12, scope: !67) // CHECK:STDOUT: !71 = !DILocation(line: 40, column: 5, scope: !67) -// CHECK:STDOUT: !72 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.a3bfbf363f631d39", scope: null, file: !60, line: 30, type: !73, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !72 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.98974fba723f09b9", scope: null, file: !60, line: 30, type: !73, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !73 = !DISubroutineType(types: !74) // CHECK:STDOUT: !74 = !{!23} // CHECK:STDOUT: !75 = !DILocation(line: 31, column: 12, scope: !72) // CHECK:STDOUT: !76 = !DILocation(line: 31, column: 5, scope: !72) -// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.9de724674fdcc2fc", scope: null, file: !60, line: 141, type: !61, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !78) +// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.3a9d0e7b9ea8ab0d", scope: null, file: !60, line: 141, type: !61, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !78) // CHECK:STDOUT: !78 = !{!79} // CHECK:STDOUT: !79 = !DILocalVariable(arg: 1, scope: !77, type: !23) // CHECK:STDOUT: !80 = !DILocation(line: 142, column: 12, scope: !77) // CHECK:STDOUT: !81 = !DILocation(line: 142, column: 5, scope: !77) -// CHECK:STDOUT: !82 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.ca6ae00af8d27ba2:OptionalStorage.Core.9de724674fdcc2fc", scope: null, file: !60, line: 144, type: !61, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !83) +// CHECK:STDOUT: !82 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.2d6936f0ed82c0eb:OptionalStorage.Core.3a9d0e7b9ea8ab0d", scope: null, file: !60, line: 144, type: !61, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !83) // CHECK:STDOUT: !83 = !{!84} // CHECK:STDOUT: !84 = !DILocalVariable(arg: 1, scope: !82, type: !23) // CHECK:STDOUT: !85 = !DILocation(line: 145, column: 12, scope: !82) // CHECK:STDOUT: !86 = !DILocation(line: 145, column: 5, scope: !82) -// CHECK:STDOUT: !87 = distinct !DISubprogram(name: "None", linkageName: "_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.9de724674fdcc2fc", scope: null, file: !60, line: 125, type: !73, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !87 = distinct !DISubprogram(name: "None", linkageName: "_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.3a9d0e7b9ea8ab0d", scope: null, file: !60, line: 125, type: !73, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !88 = !DILocation(line: 128, column: 5, scope: !87) // CHECK:STDOUT: !89 = !DILocation(line: 129, column: 5, scope: !87) -// CHECK:STDOUT: !90 = distinct !DISubprogram(name: "Op", linkageName: "_COp.2ebefcbfae1e57a1:Copy.Core.487289465e254743", scope: null, file: !91, line: 58, type: !61, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !92) +// CHECK:STDOUT: !90 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c9b880f9e94f16bf:Copy.Core.993ac60ec7fada7e", scope: null, file: !91, line: 58, type: !61, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !92) // CHECK:STDOUT: !91 = !DIFile(filename: "{{.*}}/prelude/copy.carbon", directory: "") // CHECK:STDOUT: !92 = !{!93} // CHECK:STDOUT: !93 = !DILocalVariable(arg: 1, scope: !90, type: !23) diff --git a/toolchain/lower/testdata/for/break_continue.carbon b/toolchain/lower/testdata/for/break_continue.carbon index 04f0ba0e2416..37216bb398ff 100644 --- a/toolchain/lower/testdata/for/break_continue.carbon +++ b/toolchain/lower/testdata/for/break_continue.carbon @@ -49,11 +49,11 @@ fn For() { // CHECK:STDOUT: for.next: ; preds = %if.else.loc22, %if.then.loc22, %entry // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc20_33.1.temp), !dbg !8 // CHECK:STDOUT: call void @"_CNext.IntRange.9452f4c51951679b.Core:Iterate.Core.be1e879c1ad406d8"(ptr %.loc20_33.1.temp, ptr %.loc20_32.1.temp, ptr %var), !dbg !8 -// CHECK:STDOUT: %Optional.HasValue.call = call i1 @_CHasValue.Optional.Core.6a9c2bbfd179cdc4(ptr %.loc20_33.1.temp), !dbg !8 +// CHECK:STDOUT: %Optional.HasValue.call = call i1 @_CHasValue.Optional.Core.326a4fc85c2e7ec7(ptr %.loc20_33.1.temp), !dbg !8 // CHECK:STDOUT: br i1 %Optional.HasValue.call, label %for.body, label %for.done, !dbg !8 // CHECK:STDOUT: // CHECK:STDOUT: for.body: ; preds = %for.next -// CHECK:STDOUT: %Optional.Get.call = call i32 @_CGet.Optional.Core.6a9c2bbfd179cdc4(ptr %.loc20_33.1.temp), !dbg !8 +// CHECK:STDOUT: %Optional.Get.call = call i32 @_CGet.Optional.Core.326a4fc85c2e7ec7(ptr %.loc20_33.1.temp), !dbg !8 // CHECK:STDOUT: %F.call = call i1 @_CF.Main(), !dbg !9 // CHECK:STDOUT: br i1 %F.call, label %if.then.loc21, label %if.else.loc21, !dbg !10 // CHECK:STDOUT: @@ -72,52 +72,52 @@ fn For() { // CHECK:STDOUT: br label %for.next, !dbg !16 // CHECK:STDOUT: // CHECK:STDOUT: for.done: ; preds = %if.then.loc21, %for.next -// CHECK:STDOUT: call void @"_COp.ef8c6012b6d4a342:core.Destroy.Core"(ptr %.loc20_33.1.temp), !dbg !8 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.d99cd304dde232b0:core.Destroy.Core"(ptr %.loc20_32.1.temp), !dbg !7 +// CHECK:STDOUT: call void @"_COp.995b395658cad602:core.Destroy.Core"(ptr %.loc20_33.1.temp), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.5695fe2039005267:core.Destroy.Core"(ptr %.loc20_32.1.temp), !dbg !7 // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: declare void @_CRange.Core(ptr sret({ i32, i32 }), i32) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.5d78bb11848724da:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.bc4985fcac159a9a:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.e6bd9626cf45e979:core.Destroy.Core"(ptr %self) #0 !dbg !30 { +// CHECK:STDOUT: define weak_odr void @"_COp.6d11ad784a4a1da0:core.Destroy.Core"(ptr %self) #0 !dbg !30 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.58cdb9d721e0f2e8:core.Destroy.Core"(ptr %self) #0 !dbg !37 { +// CHECK:STDOUT: define weak_odr void @"_COp.a57fa900bde45b1f:core.Destroy.Core"(ptr %self) #0 !dbg !37 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !40 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.ef8c6012b6d4a342:core.Destroy.Core"(ptr %self) #0 !dbg !41 { +// CHECK:STDOUT: define weak_odr void @"_COp.995b395658cad602:core.Destroy.Core"(ptr %self) #0 !dbg !41 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !44 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.a55da0cf85b147cc:core.Destroy.Core"(ptr %self) #0 !dbg !45 { +// CHECK:STDOUT: define weak_odr void @"_COp.e3832517c143d1dd:core.Destroy.Core"(ptr %self) #0 !dbg !45 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !48 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.d99cd304dde232b0:core.Destroy.Core"(ptr %self) #0 !dbg !49 { +// CHECK:STDOUT: define weak_odr void @"_COp.5695fe2039005267:core.Destroy.Core"(ptr %self) #0 !dbg !49 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !52 // CHECK:STDOUT: } @@ -147,25 +147,25 @@ fn For() { // CHECK:STDOUT: 6: ; preds = %0 // CHECK:STDOUT: call void @"_COp.Int.9452f4c51951679b.Core:Inc.Core.be1e879c1ad406d8"(ptr %cursor), !dbg !71 // CHECK:STDOUT: %7 = load i32, ptr %1, align 4, !dbg !72 -// CHECK:STDOUT: call void @_CSome.Optional.Core.6a9c2bbfd179cdc4(ptr %return, i32 %7), !dbg !73 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %1), !dbg !66 +// CHECK:STDOUT: call void @_CSome.Optional.Core.326a4fc85c2e7ec7(ptr %return, i32 %7), !dbg !73 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %1), !dbg !66 // CHECK:STDOUT: ret void, !dbg !74 // CHECK:STDOUT: // CHECK:STDOUT: 8: ; preds = %0 -// CHECK:STDOUT: call void @_CNone.Optional.Core.6a9c2bbfd179cdc4(ptr %return), !dbg !75 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %1), !dbg !66 +// CHECK:STDOUT: call void @_CNone.Optional.Core.326a4fc85c2e7ec7(ptr %return), !dbg !75 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %1), !dbg !66 // CHECK:STDOUT: ret void, !dbg !76 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @_CHasValue.Optional.Core.6a9c2bbfd179cdc4(ptr %self) #0 !dbg !77 { -// CHECK:STDOUT: %1 = call i1 @"_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr %self), !dbg !83 +// CHECK:STDOUT: define linkonce_odr i1 @_CHasValue.Optional.Core.326a4fc85c2e7ec7(ptr %self) #0 !dbg !77 { +// CHECK:STDOUT: %1 = call i1 @"_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr %self), !dbg !83 // CHECK:STDOUT: ret i1 %1, !dbg !84 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CGet.Optional.Core.6a9c2bbfd179cdc4(ptr %self) #0 !dbg !85 { -// CHECK:STDOUT: %1 = call i32 @"_CGet.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr %self), !dbg !88 +// CHECK:STDOUT: define linkonce_odr i32 @_CGet.Optional.Core.326a4fc85c2e7ec7(ptr %self) #0 !dbg !85 { +// CHECK:STDOUT: %1 = call i32 @"_CGet.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr %self), !dbg !88 // CHECK:STDOUT: ret i32 %1, !dbg !89 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -173,24 +173,24 @@ fn For() { // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define linkonce_odr void @"_COp.Int.9452f4c51951679b.Core:Inc.Core.be1e879c1ad406d8"(ptr %self) #0 !dbg !90 { -// CHECK:STDOUT: call void @"_COp:thunk:AddAssignWith.ad7ccd31b6bdf5c9.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec"(ptr %self, i32 1), !dbg !94 +// CHECK:STDOUT: call void @"_COp:thunk:AddAssignWith.157a183794b6b3f4.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17"(ptr %self, i32 1), !dbg !94 // CHECK:STDOUT: ret void, !dbg !95 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CSome.Optional.Core.6a9c2bbfd179cdc4(ptr sret(<{ i32, i1 }>) %return, i32 %value) #0 !dbg !96 { -// CHECK:STDOUT: call void @"_CSome.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr %return, i32 %value), !dbg !101 +// CHECK:STDOUT: define linkonce_odr void @_CSome.Optional.Core.326a4fc85c2e7ec7(ptr sret(<{ i32, i1 }>) %return, i32 %value) #0 !dbg !96 { +// CHECK:STDOUT: call void @"_CSome.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr %return, i32 %value), !dbg !101 // CHECK:STDOUT: ret void, !dbg !102 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CNone.Optional.Core.6a9c2bbfd179cdc4(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !103 { -// CHECK:STDOUT: call void @"_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr %return), !dbg !106 +// CHECK:STDOUT: define linkonce_odr void @_CNone.Optional.Core.326a4fc85c2e7ec7(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !103 { +// CHECK:STDOUT: call void @"_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr %return), !dbg !106 // CHECK:STDOUT: ret void, !dbg !107 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @"_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr %value) #0 !dbg !108 { +// CHECK:STDOUT: define linkonce_odr i1 @"_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr %value) #0 !dbg !108 { // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %value, i32 0, i32 1, !dbg !111 // CHECK:STDOUT: %1 = load i8, ptr %has_value, align 1, !dbg !111 // CHECK:STDOUT: %2 = trunc i8 %1 to i1, !dbg !111 @@ -198,15 +198,15 @@ fn For() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CGet.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr %value) #0 !dbg !113 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CGet.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr %value) #0 !dbg !113 { // CHECK:STDOUT: %value1 = getelementptr inbounds nuw <{ i32, i1 }>, ptr %value, i32 0, i32 0, !dbg !116 // CHECK:STDOUT: %1 = load i32, ptr %value1, align 4, !dbg !116 // CHECK:STDOUT: ret i32 %1, !dbg !117 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp:thunk:AddAssignWith.ad7ccd31b6bdf5c9.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec"(ptr %self, i32 %other) #2 !dbg !118 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f"(i32 %other), !dbg !124 +// CHECK:STDOUT: define linkonce_odr void @"_COp:thunk:AddAssignWith.157a183794b6b3f4.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17"(ptr %self, i32 %other) #2 !dbg !118 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %other), !dbg !124 // CHECK:STDOUT: %2 = load i32, ptr %self, align 4, !dbg !125 // CHECK:STDOUT: %3 = add i32 %2, %1, !dbg !125 // CHECK:STDOUT: store i32 %3, ptr %self, align 4, !dbg !125 @@ -214,7 +214,7 @@ fn For() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CSome.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !126 { +// CHECK:STDOUT: define linkonce_odr void @"_CSome.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !126 { // CHECK:STDOUT: %value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 0, !dbg !129 // CHECK:STDOUT: store i32 %self, ptr %value, align 4, !dbg !129 // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 1, !dbg !130 @@ -223,14 +223,14 @@ fn For() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !132 { +// CHECK:STDOUT: define linkonce_odr void @"_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !132 { // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 1, !dbg !133 // CHECK:STDOUT: store i8 0, ptr %has_value, align 1, !dbg !133 // CHECK:STDOUT: ret void, !dbg !134 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f"(i32 %self) #0 !dbg !135 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %self) #0 !dbg !135 { // CHECK:STDOUT: %1 = call i32 @"_CAsInt.Int.9452f4c51951679b.Core:AnyInt.Core.be1e879c1ad406d8"(i32 %self), !dbg !140 // CHECK:STDOUT: ret i32 %1, !dbg !141 // CHECK:STDOUT: } @@ -268,7 +268,7 @@ fn For() { // CHECK:STDOUT: !15 = !DILocation(line: 23, column: 5, scope: !4) // CHECK:STDOUT: !16 = !DILocation(line: 20, column: 3, scope: !4) // CHECK:STDOUT: !17 = !DILocation(line: 19, column: 1, scope: !4) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !19, line: 24, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !19, line: 24, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !19 = !DIFile(filename: "{{.*}}/range.carbon", directory: "") // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !22} @@ -276,30 +276,30 @@ fn For() { // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !18, type: !22) // CHECK:STDOUT: !25 = !DILocation(line: 24, column: 65, scope: !18) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5d78bb11848724da:core.Destroy.Core", scope: null, file: !3, line: 20, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.bc4985fcac159a9a:core.Destroy.Core", scope: null, file: !3, line: 20, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !26, type: !22) // CHECK:STDOUT: !29 = !DILocation(line: 20, column: 7, scope: !26) -// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e6bd9626cf45e979:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) +// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6d11ad784a4a1da0:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) // CHECK:STDOUT: !31 = !DISubroutineType(types: !32) // CHECK:STDOUT: !32 = !{null, !33} // CHECK:STDOUT: !33 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !34 = !{!35} // CHECK:STDOUT: !35 = !DILocalVariable(arg: 1, scope: !30, type: !33) // CHECK:STDOUT: !36 = !DILocation(line: 20, column: 7, scope: !30) -// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.58cdb9d721e0f2e8:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !38) +// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a57fa900bde45b1f:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !38) // CHECK:STDOUT: !38 = !{!39} // CHECK:STDOUT: !39 = !DILocalVariable(arg: 1, scope: !37, type: !33) // CHECK:STDOUT: !40 = !DILocation(line: 20, column: 7, scope: !37) -// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ef8c6012b6d4a342:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) +// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "Op", linkageName: "_COp.995b395658cad602:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) // CHECK:STDOUT: !42 = !{!43} // CHECK:STDOUT: !43 = !DILocalVariable(arg: 1, scope: !41, type: !33) // CHECK:STDOUT: !44 = !DILocation(line: 20, column: 7, scope: !41) -// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a55da0cf85b147cc:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) +// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e3832517c143d1dd:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) // CHECK:STDOUT: !46 = !{!47} // CHECK:STDOUT: !47 = !DILocalVariable(arg: 1, scope: !45, type: !33) // CHECK:STDOUT: !48 = !DILocation(line: 20, column: 18, scope: !45) -// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d99cd304dde232b0:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !50) +// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5695fe2039005267:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !50) // CHECK:STDOUT: !50 = !{!51} // CHECK:STDOUT: !51 = !DILocalVariable(arg: 1, scope: !49, type: !33) // CHECK:STDOUT: !52 = !DILocation(line: 20, column: 18, scope: !49) @@ -327,7 +327,7 @@ fn For() { // CHECK:STDOUT: !74 = !DILocation(line: 30, column: 9, scope: !60) // CHECK:STDOUT: !75 = !DILocation(line: 32, column: 16, scope: !60) // CHECK:STDOUT: !76 = !DILocation(line: 32, column: 9, scope: !60) -// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "HasValue", linkageName: "_CHasValue.Optional.Core.6a9c2bbfd179cdc4", scope: null, file: !78, line: 36, type: !79, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !81) +// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "HasValue", linkageName: "_CHasValue.Optional.Core.326a4fc85c2e7ec7", scope: null, file: !78, line: 36, type: !79, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !81) // CHECK:STDOUT: !78 = !DIFile(filename: "{{.*}}/prelude/types/optional.carbon", directory: "") // CHECK:STDOUT: !79 = !DISubroutineType(types: !80) // CHECK:STDOUT: !80 = !{!33, !33} @@ -335,7 +335,7 @@ fn For() { // CHECK:STDOUT: !82 = !DILocalVariable(arg: 1, scope: !77, type: !33) // CHECK:STDOUT: !83 = !DILocation(line: 37, column: 12, scope: !77) // CHECK:STDOUT: !84 = !DILocation(line: 37, column: 5, scope: !77) -// CHECK:STDOUT: !85 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.Optional.Core.6a9c2bbfd179cdc4", scope: null, file: !78, line: 39, type: !54, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !86) +// CHECK:STDOUT: !85 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.Optional.Core.326a4fc85c2e7ec7", scope: null, file: !78, line: 39, type: !54, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !86) // CHECK:STDOUT: !86 = !{!87} // CHECK:STDOUT: !87 = !DILocalVariable(arg: 1, scope: !85, type: !33) // CHECK:STDOUT: !88 = !DILocation(line: 40, column: 12, scope: !85) @@ -346,29 +346,29 @@ fn For() { // CHECK:STDOUT: !93 = !DILocalVariable(arg: 1, scope: !90, type: !22) // CHECK:STDOUT: !94 = !DILocation(line: 365, column: 5, scope: !90) // CHECK:STDOUT: !95 = !DILocation(line: 363, column: 3, scope: !90) -// CHECK:STDOUT: !96 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.6a9c2bbfd179cdc4", scope: null, file: !78, line: 33, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !99) +// CHECK:STDOUT: !96 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.326a4fc85c2e7ec7", scope: null, file: !78, line: 33, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !99) // CHECK:STDOUT: !97 = !DISubroutineType(types: !98) // CHECK:STDOUT: !98 = !{!33, !22} // CHECK:STDOUT: !99 = !{!100} // CHECK:STDOUT: !100 = !DILocalVariable(arg: 1, scope: !96, type: !22) // CHECK:STDOUT: !101 = !DILocation(line: 34, column: 12, scope: !96) // CHECK:STDOUT: !102 = !DILocation(line: 34, column: 5, scope: !96) -// CHECK:STDOUT: !103 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.6a9c2bbfd179cdc4", scope: null, file: !78, line: 30, type: !104, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !103 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.326a4fc85c2e7ec7", scope: null, file: !78, line: 30, type: !104, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !104 = !DISubroutineType(types: !105) // CHECK:STDOUT: !105 = !{!33} // CHECK:STDOUT: !106 = !DILocation(line: 31, column: 12, scope: !103) // CHECK:STDOUT: !107 = !DILocation(line: 31, column: 5, scope: !103) -// CHECK:STDOUT: !108 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447", scope: null, file: !78, line: 141, type: !79, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !109) +// CHECK:STDOUT: !108 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa", scope: null, file: !78, line: 141, type: !79, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !109) // CHECK:STDOUT: !109 = !{!110} // CHECK:STDOUT: !110 = !DILocalVariable(arg: 1, scope: !108, type: !33) // CHECK:STDOUT: !111 = !DILocation(line: 142, column: 12, scope: !108) // CHECK:STDOUT: !112 = !DILocation(line: 142, column: 5, scope: !108) -// CHECK:STDOUT: !113 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447", scope: null, file: !78, line: 144, type: !54, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !114) +// CHECK:STDOUT: !113 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa", scope: null, file: !78, line: 144, type: !54, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !114) // CHECK:STDOUT: !114 = !{!115} // CHECK:STDOUT: !115 = !DILocalVariable(arg: 1, scope: !113, type: !33) // CHECK:STDOUT: !116 = !DILocation(line: 145, column: 12, scope: !113) // CHECK:STDOUT: !117 = !DILocation(line: 145, column: 5, scope: !113) -// CHECK:STDOUT: !118 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.ad7ccd31b6bdf5c9.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec", scope: null, file: !91, line: 299, type: !119, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !121) +// CHECK:STDOUT: !118 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.157a183794b6b3f4.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17", scope: null, file: !91, line: 299, type: !119, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !121) // CHECK:STDOUT: !119 = !DISubroutineType(types: !120) // CHECK:STDOUT: !120 = !{null, !22, !22} // CHECK:STDOUT: !121 = !{!122, !123} @@ -376,16 +376,16 @@ fn For() { // CHECK:STDOUT: !123 = !DILocalVariable(arg: 2, scope: !118, type: !22) // CHECK:STDOUT: !124 = !DILocation(line: 4294967295, scope: !118) // CHECK:STDOUT: !125 = !DILocation(line: 299, column: 3, scope: !118) -// CHECK:STDOUT: !126 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447", scope: null, file: !78, line: 131, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !127) +// CHECK:STDOUT: !126 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa", scope: null, file: !78, line: 131, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !127) // CHECK:STDOUT: !127 = !{!128} // CHECK:STDOUT: !128 = !DILocalVariable(arg: 1, scope: !126, type: !22) // CHECK:STDOUT: !129 = !DILocation(line: 137, column: 5, scope: !126) // CHECK:STDOUT: !130 = !DILocation(line: 138, column: 5, scope: !126) // CHECK:STDOUT: !131 = !DILocation(line: 139, column: 5, scope: !126) -// CHECK:STDOUT: !132 = distinct !DISubprogram(name: "None", linkageName: "_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447", scope: null, file: !78, line: 125, type: !104, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !132 = distinct !DISubprogram(name: "None", linkageName: "_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa", scope: null, file: !78, line: 125, type: !104, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !133 = !DILocation(line: 128, column: 5, scope: !132) // CHECK:STDOUT: !134 = !DILocation(line: 129, column: 5, scope: !132) -// CHECK:STDOUT: !135 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f", scope: null, file: !91, line: 62, type: !136, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !138) +// CHECK:STDOUT: !135 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc", scope: null, file: !91, line: 62, type: !136, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !138) // CHECK:STDOUT: !136 = !DISubroutineType(types: !137) // CHECK:STDOUT: !137 = !{!22, !22} // CHECK:STDOUT: !138 = !{!139} diff --git a/toolchain/lower/testdata/for/for.carbon b/toolchain/lower/testdata/for/for.carbon index d58db871462c..91a40ff4970c 100644 --- a/toolchain/lower/testdata/for/for.carbon +++ b/toolchain/lower/testdata/for/for.carbon @@ -50,62 +50,62 @@ fn For() { // CHECK:STDOUT: for.next: ; preds = %for.body, %entry // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc21_33.1.temp), !dbg !8 // CHECK:STDOUT: call void @"_CNext.IntRange.9452f4c51951679b.Core:Iterate.Core.be1e879c1ad406d8"(ptr %.loc21_33.1.temp, ptr %.loc21_32.1.temp, ptr %var), !dbg !8 -// CHECK:STDOUT: %Optional.HasValue.call = call i1 @_CHasValue.Optional.Core.6a9c2bbfd179cdc4(ptr %.loc21_33.1.temp), !dbg !8 +// CHECK:STDOUT: %Optional.HasValue.call = call i1 @_CHasValue.Optional.Core.326a4fc85c2e7ec7(ptr %.loc21_33.1.temp), !dbg !8 // CHECK:STDOUT: br i1 %Optional.HasValue.call, label %for.body, label %for.done, !dbg !8 // CHECK:STDOUT: // CHECK:STDOUT: for.body: ; preds = %for.next -// CHECK:STDOUT: %Optional.Get.call = call i32 @_CGet.Optional.Core.6a9c2bbfd179cdc4(ptr %.loc21_33.1.temp), !dbg !8 +// CHECK:STDOUT: %Optional.Get.call = call i32 @_CGet.Optional.Core.326a4fc85c2e7ec7(ptr %.loc21_33.1.temp), !dbg !8 // CHECK:STDOUT: call void @_CG.Main(), !dbg !10 // CHECK:STDOUT: br label %for.next, !dbg !11 // CHECK:STDOUT: // CHECK:STDOUT: for.done: ; preds = %for.next // CHECK:STDOUT: call void @_CH.Main(), !dbg !12 -// CHECK:STDOUT: call void @"_COp.ef8c6012b6d4a342:core.Destroy.Core"(ptr %.loc21_33.1.temp), !dbg !8 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.d99cd304dde232b0:core.Destroy.Core"(ptr %.loc21_32.1.temp), !dbg !7 +// CHECK:STDOUT: call void @"_COp.995b395658cad602:core.Destroy.Core"(ptr %.loc21_33.1.temp), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.5695fe2039005267:core.Destroy.Core"(ptr %.loc21_32.1.temp), !dbg !7 // CHECK:STDOUT: ret void, !dbg !13 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: declare void @_CRange.Core(ptr sret({ i32, i32 }), i32) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !14 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !14 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.5d78bb11848724da:core.Destroy.Core"(ptr %self) #0 !dbg !22 { +// CHECK:STDOUT: define weak_odr void @"_COp.bc4985fcac159a9a:core.Destroy.Core"(ptr %self) #0 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.e6bd9626cf45e979:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.6d11ad784a4a1da0:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !32 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.58cdb9d721e0f2e8:core.Destroy.Core"(ptr %self) #0 !dbg !33 { +// CHECK:STDOUT: define weak_odr void @"_COp.a57fa900bde45b1f:core.Destroy.Core"(ptr %self) #0 !dbg !33 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.ef8c6012b6d4a342:core.Destroy.Core"(ptr %self) #0 !dbg !37 { +// CHECK:STDOUT: define weak_odr void @"_COp.995b395658cad602:core.Destroy.Core"(ptr %self) #0 !dbg !37 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !40 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.a55da0cf85b147cc:core.Destroy.Core"(ptr %self) #0 !dbg !41 { +// CHECK:STDOUT: define weak_odr void @"_COp.e3832517c143d1dd:core.Destroy.Core"(ptr %self) #0 !dbg !41 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !44 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.d99cd304dde232b0:core.Destroy.Core"(ptr %self) #0 !dbg !45 { +// CHECK:STDOUT: define weak_odr void @"_COp.5695fe2039005267:core.Destroy.Core"(ptr %self) #0 !dbg !45 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !48 // CHECK:STDOUT: } @@ -135,25 +135,25 @@ fn For() { // CHECK:STDOUT: 6: ; preds = %0 // CHECK:STDOUT: call void @"_COp.Int.9452f4c51951679b.Core:Inc.Core.be1e879c1ad406d8"(ptr %cursor), !dbg !67 // CHECK:STDOUT: %7 = load i32, ptr %1, align 4, !dbg !68 -// CHECK:STDOUT: call void @_CSome.Optional.Core.6a9c2bbfd179cdc4(ptr %return, i32 %7), !dbg !69 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %1), !dbg !62 +// CHECK:STDOUT: call void @_CSome.Optional.Core.326a4fc85c2e7ec7(ptr %return, i32 %7), !dbg !69 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %1), !dbg !62 // CHECK:STDOUT: ret void, !dbg !70 // CHECK:STDOUT: // CHECK:STDOUT: 8: ; preds = %0 -// CHECK:STDOUT: call void @_CNone.Optional.Core.6a9c2bbfd179cdc4(ptr %return), !dbg !71 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %1), !dbg !62 +// CHECK:STDOUT: call void @_CNone.Optional.Core.326a4fc85c2e7ec7(ptr %return), !dbg !71 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %1), !dbg !62 // CHECK:STDOUT: ret void, !dbg !72 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @_CHasValue.Optional.Core.6a9c2bbfd179cdc4(ptr %self) #0 !dbg !73 { -// CHECK:STDOUT: %1 = call i1 @"_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr %self), !dbg !79 +// CHECK:STDOUT: define linkonce_odr i1 @_CHasValue.Optional.Core.326a4fc85c2e7ec7(ptr %self) #0 !dbg !73 { +// CHECK:STDOUT: %1 = call i1 @"_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr %self), !dbg !79 // CHECK:STDOUT: ret i1 %1, !dbg !80 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CGet.Optional.Core.6a9c2bbfd179cdc4(ptr %self) #0 !dbg !81 { -// CHECK:STDOUT: %1 = call i32 @"_CGet.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr %self), !dbg !84 +// CHECK:STDOUT: define linkonce_odr i32 @_CGet.Optional.Core.326a4fc85c2e7ec7(ptr %self) #0 !dbg !81 { +// CHECK:STDOUT: %1 = call i32 @"_CGet.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr %self), !dbg !84 // CHECK:STDOUT: ret i32 %1, !dbg !85 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -161,24 +161,24 @@ fn For() { // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define linkonce_odr void @"_COp.Int.9452f4c51951679b.Core:Inc.Core.be1e879c1ad406d8"(ptr %self) #0 !dbg !86 { -// CHECK:STDOUT: call void @"_COp:thunk:AddAssignWith.ad7ccd31b6bdf5c9.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec"(ptr %self, i32 1), !dbg !90 +// CHECK:STDOUT: call void @"_COp:thunk:AddAssignWith.157a183794b6b3f4.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17"(ptr %self, i32 1), !dbg !90 // CHECK:STDOUT: ret void, !dbg !91 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CSome.Optional.Core.6a9c2bbfd179cdc4(ptr sret(<{ i32, i1 }>) %return, i32 %value) #0 !dbg !92 { -// CHECK:STDOUT: call void @"_CSome.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr %return, i32 %value), !dbg !97 +// CHECK:STDOUT: define linkonce_odr void @_CSome.Optional.Core.326a4fc85c2e7ec7(ptr sret(<{ i32, i1 }>) %return, i32 %value) #0 !dbg !92 { +// CHECK:STDOUT: call void @"_CSome.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr %return, i32 %value), !dbg !97 // CHECK:STDOUT: ret void, !dbg !98 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CNone.Optional.Core.6a9c2bbfd179cdc4(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !99 { -// CHECK:STDOUT: call void @"_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr %return), !dbg !102 +// CHECK:STDOUT: define linkonce_odr void @_CNone.Optional.Core.326a4fc85c2e7ec7(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !99 { +// CHECK:STDOUT: call void @"_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr %return), !dbg !102 // CHECK:STDOUT: ret void, !dbg !103 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @"_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr %value) #0 !dbg !104 { +// CHECK:STDOUT: define linkonce_odr i1 @"_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr %value) #0 !dbg !104 { // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %value, i32 0, i32 1, !dbg !107 // CHECK:STDOUT: %1 = load i8, ptr %has_value, align 1, !dbg !107 // CHECK:STDOUT: %2 = trunc i8 %1 to i1, !dbg !107 @@ -186,15 +186,15 @@ fn For() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CGet.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr %value) #0 !dbg !109 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CGet.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr %value) #0 !dbg !109 { // CHECK:STDOUT: %value1 = getelementptr inbounds nuw <{ i32, i1 }>, ptr %value, i32 0, i32 0, !dbg !112 // CHECK:STDOUT: %1 = load i32, ptr %value1, align 4, !dbg !112 // CHECK:STDOUT: ret i32 %1, !dbg !113 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp:thunk:AddAssignWith.ad7ccd31b6bdf5c9.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec"(ptr %self, i32 %other) #2 !dbg !114 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f"(i32 %other), !dbg !120 +// CHECK:STDOUT: define linkonce_odr void @"_COp:thunk:AddAssignWith.157a183794b6b3f4.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17"(ptr %self, i32 %other) #2 !dbg !114 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %other), !dbg !120 // CHECK:STDOUT: %2 = load i32, ptr %self, align 4, !dbg !121 // CHECK:STDOUT: %3 = add i32 %2, %1, !dbg !121 // CHECK:STDOUT: store i32 %3, ptr %self, align 4, !dbg !121 @@ -202,7 +202,7 @@ fn For() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CSome.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !122 { +// CHECK:STDOUT: define linkonce_odr void @"_CSome.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !122 { // CHECK:STDOUT: %value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 0, !dbg !125 // CHECK:STDOUT: store i32 %self, ptr %value, align 4, !dbg !125 // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 1, !dbg !126 @@ -211,14 +211,14 @@ fn For() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447"(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !128 { +// CHECK:STDOUT: define linkonce_odr void @"_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa"(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !128 { // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 1, !dbg !129 // CHECK:STDOUT: store i8 0, ptr %has_value, align 1, !dbg !129 // CHECK:STDOUT: ret void, !dbg !130 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f"(i32 %self) #0 !dbg !131 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %self) #0 !dbg !131 { // CHECK:STDOUT: %1 = call i32 @"_CAsInt.Int.9452f4c51951679b.Core:AnyInt.Core.be1e879c1ad406d8"(i32 %self), !dbg !136 // CHECK:STDOUT: ret i32 %1, !dbg !137 // CHECK:STDOUT: } @@ -252,7 +252,7 @@ fn For() { // CHECK:STDOUT: !11 = !DILocation(line: 21, column: 3, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 24, column: 3, scope: !4) // CHECK:STDOUT: !13 = !DILocation(line: 19, column: 1, scope: !4) -// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !15, line: 24, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) +// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !15, line: 24, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) // CHECK:STDOUT: !15 = !DIFile(filename: "{{.*}}/range.carbon", directory: "") // CHECK:STDOUT: !16 = !DISubroutineType(types: !17) // CHECK:STDOUT: !17 = !{null, !18} @@ -260,30 +260,30 @@ fn For() { // CHECK:STDOUT: !19 = !{!20} // CHECK:STDOUT: !20 = !DILocalVariable(arg: 1, scope: !14, type: !18) // CHECK:STDOUT: !21 = !DILocation(line: 24, column: 65, scope: !14) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5d78bb11848724da:core.Destroy.Core", scope: null, file: !3, line: 21, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.bc4985fcac159a9a:core.Destroy.Core", scope: null, file: !3, line: 21, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !22, type: !18) // CHECK:STDOUT: !25 = !DILocation(line: 21, column: 7, scope: !22) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e6bd9626cf45e979:core.Destroy.Core", scope: null, file: !3, line: 21, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6d11ad784a4a1da0:core.Destroy.Core", scope: null, file: !3, line: 21, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) // CHECK:STDOUT: !27 = !DISubroutineType(types: !28) // CHECK:STDOUT: !28 = !{null, !29} // CHECK:STDOUT: !29 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !30 = !{!31} // CHECK:STDOUT: !31 = !DILocalVariable(arg: 1, scope: !26, type: !29) // CHECK:STDOUT: !32 = !DILocation(line: 21, column: 7, scope: !26) -// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "Op", linkageName: "_COp.58cdb9d721e0f2e8:core.Destroy.Core", scope: null, file: !3, line: 21, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) +// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a57fa900bde45b1f:core.Destroy.Core", scope: null, file: !3, line: 21, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) // CHECK:STDOUT: !34 = !{!35} // CHECK:STDOUT: !35 = !DILocalVariable(arg: 1, scope: !33, type: !29) // CHECK:STDOUT: !36 = !DILocation(line: 21, column: 7, scope: !33) -// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ef8c6012b6d4a342:core.Destroy.Core", scope: null, file: !3, line: 21, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !38) +// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.995b395658cad602:core.Destroy.Core", scope: null, file: !3, line: 21, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !38) // CHECK:STDOUT: !38 = !{!39} // CHECK:STDOUT: !39 = !DILocalVariable(arg: 1, scope: !37, type: !29) // CHECK:STDOUT: !40 = !DILocation(line: 21, column: 7, scope: !37) -// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a55da0cf85b147cc:core.Destroy.Core", scope: null, file: !3, line: 21, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) +// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e3832517c143d1dd:core.Destroy.Core", scope: null, file: !3, line: 21, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) // CHECK:STDOUT: !42 = !{!43} // CHECK:STDOUT: !43 = !DILocalVariable(arg: 1, scope: !41, type: !29) // CHECK:STDOUT: !44 = !DILocation(line: 21, column: 18, scope: !41) -// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d99cd304dde232b0:core.Destroy.Core", scope: null, file: !3, line: 21, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) +// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5695fe2039005267:core.Destroy.Core", scope: null, file: !3, line: 21, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) // CHECK:STDOUT: !46 = !{!47} // CHECK:STDOUT: !47 = !DILocalVariable(arg: 1, scope: !45, type: !29) // CHECK:STDOUT: !48 = !DILocation(line: 21, column: 18, scope: !45) @@ -311,7 +311,7 @@ fn For() { // CHECK:STDOUT: !70 = !DILocation(line: 30, column: 9, scope: !56) // CHECK:STDOUT: !71 = !DILocation(line: 32, column: 16, scope: !56) // CHECK:STDOUT: !72 = !DILocation(line: 32, column: 9, scope: !56) -// CHECK:STDOUT: !73 = distinct !DISubprogram(name: "HasValue", linkageName: "_CHasValue.Optional.Core.6a9c2bbfd179cdc4", scope: null, file: !74, line: 36, type: !75, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !77) +// CHECK:STDOUT: !73 = distinct !DISubprogram(name: "HasValue", linkageName: "_CHasValue.Optional.Core.326a4fc85c2e7ec7", scope: null, file: !74, line: 36, type: !75, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !77) // CHECK:STDOUT: !74 = !DIFile(filename: "{{.*}}/prelude/types/optional.carbon", directory: "") // CHECK:STDOUT: !75 = !DISubroutineType(types: !76) // CHECK:STDOUT: !76 = !{!29, !29} @@ -319,7 +319,7 @@ fn For() { // CHECK:STDOUT: !78 = !DILocalVariable(arg: 1, scope: !73, type: !29) // CHECK:STDOUT: !79 = !DILocation(line: 37, column: 12, scope: !73) // CHECK:STDOUT: !80 = !DILocation(line: 37, column: 5, scope: !73) -// CHECK:STDOUT: !81 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.Optional.Core.6a9c2bbfd179cdc4", scope: null, file: !74, line: 39, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !82) +// CHECK:STDOUT: !81 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.Optional.Core.326a4fc85c2e7ec7", scope: null, file: !74, line: 39, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !82) // CHECK:STDOUT: !82 = !{!83} // CHECK:STDOUT: !83 = !DILocalVariable(arg: 1, scope: !81, type: !29) // CHECK:STDOUT: !84 = !DILocation(line: 40, column: 12, scope: !81) @@ -330,29 +330,29 @@ fn For() { // CHECK:STDOUT: !89 = !DILocalVariable(arg: 1, scope: !86, type: !18) // CHECK:STDOUT: !90 = !DILocation(line: 365, column: 5, scope: !86) // CHECK:STDOUT: !91 = !DILocation(line: 363, column: 3, scope: !86) -// CHECK:STDOUT: !92 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.6a9c2bbfd179cdc4", scope: null, file: !74, line: 33, type: !93, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !95) +// CHECK:STDOUT: !92 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.326a4fc85c2e7ec7", scope: null, file: !74, line: 33, type: !93, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !95) // CHECK:STDOUT: !93 = !DISubroutineType(types: !94) // CHECK:STDOUT: !94 = !{!29, !18} // CHECK:STDOUT: !95 = !{!96} // CHECK:STDOUT: !96 = !DILocalVariable(arg: 1, scope: !92, type: !18) // CHECK:STDOUT: !97 = !DILocation(line: 34, column: 12, scope: !92) // CHECK:STDOUT: !98 = !DILocation(line: 34, column: 5, scope: !92) -// CHECK:STDOUT: !99 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.6a9c2bbfd179cdc4", scope: null, file: !74, line: 30, type: !100, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !99 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.326a4fc85c2e7ec7", scope: null, file: !74, line: 30, type: !100, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !100 = !DISubroutineType(types: !101) // CHECK:STDOUT: !101 = !{!29} // CHECK:STDOUT: !102 = !DILocation(line: 31, column: 12, scope: !99) // CHECK:STDOUT: !103 = !DILocation(line: 31, column: 5, scope: !99) -// CHECK:STDOUT: !104 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447", scope: null, file: !74, line: 141, type: !75, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !105) +// CHECK:STDOUT: !104 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa", scope: null, file: !74, line: 141, type: !75, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !105) // CHECK:STDOUT: !105 = !{!106} // CHECK:STDOUT: !106 = !DILocalVariable(arg: 1, scope: !104, type: !29) // CHECK:STDOUT: !107 = !DILocation(line: 142, column: 12, scope: !104) // CHECK:STDOUT: !108 = !DILocation(line: 142, column: 5, scope: !104) -// CHECK:STDOUT: !109 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447", scope: null, file: !74, line: 144, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !110) +// CHECK:STDOUT: !109 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa", scope: null, file: !74, line: 144, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !110) // CHECK:STDOUT: !110 = !{!111} // CHECK:STDOUT: !111 = !DILocalVariable(arg: 1, scope: !109, type: !29) // CHECK:STDOUT: !112 = !DILocation(line: 145, column: 12, scope: !109) // CHECK:STDOUT: !113 = !DILocation(line: 145, column: 5, scope: !109) -// CHECK:STDOUT: !114 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.ad7ccd31b6bdf5c9.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec", scope: null, file: !87, line: 299, type: !115, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !117) +// CHECK:STDOUT: !114 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.157a183794b6b3f4.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17", scope: null, file: !87, line: 299, type: !115, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !117) // CHECK:STDOUT: !115 = !DISubroutineType(types: !116) // CHECK:STDOUT: !116 = !{null, !18, !18} // CHECK:STDOUT: !117 = !{!118, !119} @@ -360,16 +360,16 @@ fn For() { // CHECK:STDOUT: !119 = !DILocalVariable(arg: 2, scope: !114, type: !18) // CHECK:STDOUT: !120 = !DILocation(line: 4294967295, scope: !114) // CHECK:STDOUT: !121 = !DILocation(line: 299, column: 3, scope: !114) -// CHECK:STDOUT: !122 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447", scope: null, file: !74, line: 131, type: !93, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !123) +// CHECK:STDOUT: !122 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa", scope: null, file: !74, line: 131, type: !93, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !123) // CHECK:STDOUT: !123 = !{!124} // CHECK:STDOUT: !124 = !DILocalVariable(arg: 1, scope: !122, type: !18) // CHECK:STDOUT: !125 = !DILocation(line: 137, column: 5, scope: !122) // CHECK:STDOUT: !126 = !DILocation(line: 138, column: 5, scope: !122) // CHECK:STDOUT: !127 = !DILocation(line: 139, column: 5, scope: !122) -// CHECK:STDOUT: !128 = distinct !DISubprogram(name: "None", linkageName: "_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.df89832508ab6447", scope: null, file: !74, line: 125, type: !100, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !128 = distinct !DISubprogram(name: "None", linkageName: "_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.7fca67425e2a63fa", scope: null, file: !74, line: 125, type: !100, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !129 = !DILocation(line: 128, column: 5, scope: !128) // CHECK:STDOUT: !130 = !DILocation(line: 129, column: 5, scope: !128) -// CHECK:STDOUT: !131 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f", scope: null, file: !87, line: 62, type: !132, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !134) +// CHECK:STDOUT: !131 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc", scope: null, file: !87, line: 62, type: !132, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !134) // CHECK:STDOUT: !132 = !DISubroutineType(types: !133) // CHECK:STDOUT: !133 = !{!18, !18} // CHECK:STDOUT: !134 = !{!135} diff --git a/toolchain/lower/testdata/function/call/form.carbon b/toolchain/lower/testdata/function/call/form.carbon index 15b2c4f2a36b..08430d54854b 100644 --- a/toolchain/lower/testdata/function/call/form.carbon +++ b/toolchain/lower/testdata/function/call/form.carbon @@ -77,12 +77,12 @@ fn G() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %y.var), !dbg !7 // CHECK:STDOUT: store i32 0, ptr %y.var, align 4, !dbg !7 // CHECK:STDOUT: call void @_CF.Main(ptr %y.var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %y.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %y.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !10 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !10 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -106,7 +106,7 @@ fn G() { // CHECK:STDOUT: !7 = !DILocation(line: 6, column: 3, scope: !4) // CHECK:STDOUT: !8 = !DILocation(line: 7, column: 3, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 5, column: 1, scope: !4) -// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 6, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 6, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !11 = !DISubroutineType(types: !12) // CHECK:STDOUT: !12 = !{null, !13} // CHECK:STDOUT: !13 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) @@ -125,12 +125,12 @@ fn G() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %x.var), !dbg !7 // CHECK:STDOUT: store i32 0, ptr %x.var, align 4, !dbg !7 // CHECK:STDOUT: call void @_CF.Main(ptr %x.var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %x.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %x.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !10 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !10 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -154,7 +154,7 @@ fn G() { // CHECK:STDOUT: !7 = !DILocation(line: 3, column: 6, scope: !4) // CHECK:STDOUT: !8 = !DILocation(line: 6, column: 3, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 5, column: 1, scope: !4) -// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 3, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 3, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !11 = !DISubroutineType(types: !12) // CHECK:STDOUT: !12 = !{null, !13} // CHECK:STDOUT: !13 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) @@ -225,12 +225,12 @@ fn G() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %x.var), !dbg !7 // CHECK:STDOUT: %F.call = call i32 @_CF.Main(), !dbg !8 // CHECK:STDOUT: store i32 %F.call, ptr %x.var, align 4, !dbg !7 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %x.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %x.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !10 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !10 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -254,7 +254,7 @@ fn G() { // CHECK:STDOUT: !7 = !DILocation(line: 6, column: 14, scope: !4) // CHECK:STDOUT: !8 = !DILocation(line: 6, column: 27, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 5, column: 1, scope: !4) -// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 6, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 6, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !11 = !DISubroutineType(types: !12) // CHECK:STDOUT: !12 = !{null, !13} // CHECK:STDOUT: !13 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) diff --git a/toolchain/lower/testdata/function/call/i32.carbon b/toolchain/lower/testdata/function/call/i32.carbon index e4b0edf3681c..e4b9c8e4d456 100644 --- a/toolchain/lower/testdata/function/call/i32.carbon +++ b/toolchain/lower/testdata/function/call/i32.carbon @@ -34,12 +34,12 @@ fn Main() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !14 // CHECK:STDOUT: %Echo.call = call i32 @_CEcho.Main(i32 1), !dbg !15 // CHECK:STDOUT: store i32 %Echo.call, ptr %_.var, align 4, !dbg !14 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var), !dbg !14 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var), !dbg !14 // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !17 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !17 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } @@ -70,7 +70,7 @@ fn Main() { // CHECK:STDOUT: !14 = !DILocation(line: 18, column: 3, scope: !11) // CHECK:STDOUT: !15 = !DILocation(line: 18, column: 16, scope: !11) // CHECK:STDOUT: !16 = !DILocation(line: 17, column: 1, scope: !11) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 18, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 18, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !18 = !DISubroutineType(types: !19) // CHECK:STDOUT: !19 = !{null, !7} // CHECK:STDOUT: !20 = !{!21} diff --git a/toolchain/lower/testdata/function/call/ref_param.carbon b/toolchain/lower/testdata/function/call/ref_param.carbon index 0227218fc1bd..3e80e62efa3e 100644 --- a/toolchain/lower/testdata/function/call/ref_param.carbon +++ b/toolchain/lower/testdata/function/call/ref_param.carbon @@ -33,12 +33,12 @@ fn Main() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %a.var), !dbg !14 // CHECK:STDOUT: store i32 0, ptr %a.var, align 4, !dbg !14 // CHECK:STDOUT: call void @_CDoNothing.Main(ptr %a.var), !dbg !15 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %a.var), !dbg !14 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %a.var), !dbg !14 // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !17 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !17 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !20 // CHECK:STDOUT: } @@ -69,7 +69,7 @@ fn Main() { // CHECK:STDOUT: !14 = !DILocation(line: 16, column: 3, scope: !11) // CHECK:STDOUT: !15 = !DILocation(line: 17, column: 3, scope: !11) // CHECK:STDOUT: !16 = !DILocation(line: 15, column: 1, scope: !11) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) // CHECK:STDOUT: !18 = !{!19} // CHECK:STDOUT: !19 = !DILocalVariable(arg: 1, scope: !17, type: !7) // CHECK:STDOUT: !20 = !DILocation(line: 16, column: 3, scope: !17) diff --git a/toolchain/lower/testdata/function/call/ref_return.carbon b/toolchain/lower/testdata/function/call/ref_return.carbon index de9f5c1a6ba1..014d05b3963d 100644 --- a/toolchain/lower/testdata/function/call/ref_return.carbon +++ b/toolchain/lower/testdata/function/call/ref_return.carbon @@ -36,12 +36,12 @@ fn Main() { // CHECK:STDOUT: store i32 0, ptr %a.var, align 4, !dbg !15 // CHECK:STDOUT: %Echo.call = call ptr @_CEcho.Main(ptr %a.var), !dbg !16 // CHECK:STDOUT: store i32 1, ptr %Echo.call, align 4, !dbg !16 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %a.var), !dbg !15 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %a.var), !dbg !15 // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !23 // CHECK:STDOUT: } @@ -73,7 +73,7 @@ fn Main() { // CHECK:STDOUT: !15 = !DILocation(line: 18, column: 3, scope: !12) // CHECK:STDOUT: !16 = !DILocation(line: 19, column: 3, scope: !12) // CHECK:STDOUT: !17 = !DILocation(line: 17, column: 1, scope: !12) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 18, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !21) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 18, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !21) // CHECK:STDOUT: !19 = !DISubroutineType(types: !20) // CHECK:STDOUT: !20 = !{null, !8} // CHECK:STDOUT: !21 = !{!22} diff --git a/toolchain/lower/testdata/function/call/struct_param.carbon b/toolchain/lower/testdata/function/call/struct_param.carbon index bf5d4596d116..9a4a6f92dd8b 100644 --- a/toolchain/lower/testdata/function/call/struct_param.carbon +++ b/toolchain/lower/testdata/function/call/struct_param.carbon @@ -19,7 +19,7 @@ fn Main() { // CHECK:STDOUT: ; ModuleID = 'struct_param.carbon' // CHECK:STDOUT: source_filename = "struct_param.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @struct.d85.loc16_34.6 = internal constant { i32, i32 } { i32 2, i32 3 } +// CHECK:STDOUT: @struct.bcc.loc16_34.6 = internal constant { i32, i32 } { i32 2, i32 3 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF.Main({ i32 } %_, ptr %_1) #0 !dbg !4 { @@ -30,7 +30,7 @@ fn Main() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CMain.Main() #0 !dbg !12 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main({ i32 } { i32 1 }, ptr @struct.d85.loc16_34.6), !dbg !15 +// CHECK:STDOUT: call void @_CF.Main({ i32 } { i32 1 }, ptr @struct.bcc.loc16_34.6), !dbg !15 // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/lower/testdata/function/call/tuple_param.carbon b/toolchain/lower/testdata/function/call/tuple_param.carbon index c42d87564e3a..e6c3700c5b92 100644 --- a/toolchain/lower/testdata/function/call/tuple_param.carbon +++ b/toolchain/lower/testdata/function/call/tuple_param.carbon @@ -19,7 +19,7 @@ fn Main() { // CHECK:STDOUT: ; ModuleID = 'tuple_param.carbon' // CHECK:STDOUT: source_filename = "tuple_param.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @tuple.c4c.loc16_20.6 = internal constant { i32, i32 } { i32 2, i32 3 } +// CHECK:STDOUT: @tuple.7e8.loc16_20.6 = internal constant { i32, i32 } { i32 2, i32 3 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF.Main({ i32 } %_, ptr %_1) #0 !dbg !4 { @@ -30,7 +30,7 @@ fn Main() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CMain.Main() #0 !dbg !12 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main({ i32 } { i32 1 }, ptr @tuple.c4c.loc16_20.6), !dbg !15 +// CHECK:STDOUT: call void @_CF.Main({ i32 } { i32 1 }, ptr @tuple.7e8.loc16_20.6), !dbg !15 // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/lower/testdata/function/call/tuple_param_with_return_slot.carbon b/toolchain/lower/testdata/function/call/tuple_param_with_return_slot.carbon index b588bde03fd8..4215fd5576c2 100644 --- a/toolchain/lower/testdata/function/call/tuple_param_with_return_slot.carbon +++ b/toolchain/lower/testdata/function/call/tuple_param_with_return_slot.carbon @@ -21,7 +21,7 @@ fn Main() { // CHECK:STDOUT: ; ModuleID = 'tuple_param_with_return_slot.carbon' // CHECK:STDOUT: source_filename = "tuple_param_with_return_slot.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @tuple.c4c.loc18_20.6 = internal constant { i32, i32 } { i32 2, i32 3 } +// CHECK:STDOUT: @tuple.7e8.loc18_20.6 = internal constant { i32, i32 } { i32 2, i32 3 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF.Main(ptr sret({ i32, i32, i32 }) %return, { i32 } %b, ptr %c) #0 !dbg !4 { @@ -45,19 +45,19 @@ fn Main() { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc18_21.1.temp = alloca { i32, i32, i32 }, align 4, !dbg !19 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc18_21.1.temp), !dbg !19 -// CHECK:STDOUT: call void @_CF.Main(ptr %.loc18_21.1.temp, { i32 } { i32 1 }, ptr @tuple.c4c.loc18_20.6), !dbg !19 -// CHECK:STDOUT: call void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %.loc18_21.1.temp), !dbg !19 +// CHECK:STDOUT: call void @_CF.Main(ptr %.loc18_21.1.temp, { i32 } { i32 1 }, ptr @tuple.7e8.loc18_20.6), !dbg !19 +// CHECK:STDOUT: call void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %.loc18_21.1.temp), !dbg !19 // CHECK:STDOUT: ret void, !dbg !20 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !21 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !21 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %self) #0 !dbg !28 { +// CHECK:STDOUT: define weak_odr void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %self) #0 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } @@ -92,14 +92,14 @@ fn Main() { // CHECK:STDOUT: !18 = !{null} // CHECK:STDOUT: !19 = !DILocation(line: 18, column: 3, scope: !16) // CHECK:STDOUT: !20 = !DILocation(line: 17, column: 1, scope: !16) -// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 18, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 18, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !22 = !DISubroutineType(types: !23) // CHECK:STDOUT: !23 = !{null, !24} // CHECK:STDOUT: !24 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !21, type: !24) // CHECK:STDOUT: !27 = !DILocation(line: 18, column: 3, scope: !21) -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.9eed32d146d768a4:core.Destroy.Core", scope: null, file: !3, line: 18, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d52e974a95b4c7a0:core.Destroy.Core", scope: null, file: !3, line: 18, type: !29, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !29 = !DISubroutineType(types: !30) // CHECK:STDOUT: !30 = !{null, !7} // CHECK:STDOUT: !31 = !{!32} diff --git a/toolchain/lower/testdata/function/call/var_param.carbon b/toolchain/lower/testdata/function/call/var_param.carbon index 696ce343cfff..c2436f8a3d9d 100644 --- a/toolchain/lower/testdata/function/call/var_param.carbon +++ b/toolchain/lower/testdata/function/call/var_param.carbon @@ -34,12 +34,12 @@ fn Main() { // CHECK:STDOUT: store i32 0, ptr %a.var, align 4, !dbg !14 // CHECK:STDOUT: %.loc17 = load i32, ptr %a.var, align 4, !dbg !15 // CHECK:STDOUT: call void @_CDoNothing.Main(i32 %.loc17), !dbg !16 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %a.var), !dbg !14 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %a.var), !dbg !14 // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } @@ -71,7 +71,7 @@ fn Main() { // CHECK:STDOUT: !15 = !DILocation(line: 17, column: 13, scope: !11) // CHECK:STDOUT: !16 = !DILocation(line: 17, column: 3, scope: !11) // CHECK:STDOUT: !17 = !DILocation(line: 15, column: 1, scope: !11) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) // CHECK:STDOUT: !19 = !{!20} // CHECK:STDOUT: !20 = !DILocalVariable(arg: 1, scope: !18, type: !7) // CHECK:STDOUT: !21 = !DILocation(line: 16, column: 3, scope: !18) diff --git a/toolchain/lower/testdata/function/definition/destroy.carbon b/toolchain/lower/testdata/function/definition/destroy.carbon index 037626a5bc70..f8da44b94709 100644 --- a/toolchain/lower/testdata/function/definition/destroy.carbon +++ b/toolchain/lower/testdata/function/definition/destroy.carbon @@ -93,12 +93,12 @@ fn InitLet() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc12_6.2.temp), !dbg !14 // CHECK:STDOUT: call void @_CF.Main(ptr @C.val.loc12_6.6), !dbg !15 // CHECK:STDOUT: call void @_CG.Main(), !dbg !16 -// CHECK:STDOUT: call void @"_COp.57935d7d52dba7f8:core.Destroy.Core"(ptr @C.val), !dbg !14 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr @C.val), !dbg !14 // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.57935d7d52dba7f8:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } @@ -130,7 +130,7 @@ fn InitLet() { // CHECK:STDOUT: !15 = !DILocation(line: 12, column: 3, scope: !11) // CHECK:STDOUT: !16 = !DILocation(line: 15, column: 3, scope: !11) // CHECK:STDOUT: !17 = !DILocation(line: 11, column: 1, scope: !11) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.57935d7d52dba7f8:core.Destroy.Core", scope: null, file: !3, line: 12, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 12, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) // CHECK:STDOUT: !19 = !{!20} // CHECK:STDOUT: !20 = !DILocalVariable(arg: 1, scope: !18, type: !7) // CHECK:STDOUT: !21 = !DILocation(line: 12, column: 5, scope: !18) @@ -155,12 +155,12 @@ fn InitLet() { // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %_.var, ptr align 1 @C.val.loc6, i64 0, i1 false), !dbg !14 // CHECK:STDOUT: call void @_CF.Main(ptr %_.var), !dbg !15 // CHECK:STDOUT: call void @_CG.Main(), !dbg !16 -// CHECK:STDOUT: call void @"_COp.8fb7588d6e88b8dd:core.Destroy.Core"(ptr %_.var), !dbg !14 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %_.var), !dbg !14 // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.8fb7588d6e88b8dd:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } @@ -195,7 +195,7 @@ fn InitLet() { // CHECK:STDOUT: !15 = !DILocation(line: 12, column: 3, scope: !11) // CHECK:STDOUT: !16 = !DILocation(line: 15, column: 3, scope: !11) // CHECK:STDOUT: !17 = !DILocation(line: 11, column: 1, scope: !11) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8fb7588d6e88b8dd:core.Destroy.Core", scope: null, file: !3, line: 6, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 6, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) // CHECK:STDOUT: !19 = !{!20} // CHECK:STDOUT: !20 = !DILocalVariable(arg: 1, scope: !18, type: !7) // CHECK:STDOUT: !21 = !DILocation(line: 6, column: 6, scope: !18) @@ -227,12 +227,12 @@ fn InitLet() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !15 // CHECK:STDOUT: call void @_CF.Main(ptr %_.var), !dbg !16 // CHECK:STDOUT: call void @_CG.Main(), !dbg !17 -// CHECK:STDOUT: call void @"_COp.8cd80818be5829b9:core.Destroy.Core"(ptr %_.var), !dbg !15 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %_.var), !dbg !15 // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.8cd80818be5829b9:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } @@ -244,7 +244,7 @@ fn InitLet() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc22_16.1.temp), !dbg !26 // CHECK:STDOUT: call void @_CF.Main(ptr %.loc22_16.1.temp), !dbg !26 // CHECK:STDOUT: call void @_CG.Main(), !dbg !27 -// CHECK:STDOUT: call void @"_COp.8cd80818be5829b9:core.Destroy.Core"(ptr %.loc22_16.1.temp), !dbg !26 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %.loc22_16.1.temp), !dbg !26 // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -282,7 +282,7 @@ fn InitLet() { // CHECK:STDOUT: !16 = !DILocation(line: 17, column: 14, scope: !12) // CHECK:STDOUT: !17 = !DILocation(line: 18, column: 3, scope: !12) // CHECK:STDOUT: !18 = !DILocation(line: 16, column: 1, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8cd80818be5829b9:core.Destroy.Core", scope: null, file: !3, line: 17, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 17, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !7} // CHECK:STDOUT: !22 = !{!23} diff --git a/toolchain/lower/testdata/function/definition/var_param.carbon b/toolchain/lower/testdata/function/definition/var_param.carbon index 77b8ec5f0611..b8cf0f897785 100644 --- a/toolchain/lower/testdata/function/definition/var_param.carbon +++ b/toolchain/lower/testdata/function/definition/var_param.carbon @@ -92,24 +92,24 @@ fn Call() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc21), !dbg !44 // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %_.var.loc21, ptr align 1 @X.val.loc16, i64 0, i1 false), !dbg !44 // CHECK:STDOUT: call void @_CLetThenVar.Main(i32 1, ptr %_.var.loc21), !dbg !49 -// CHECK:STDOUT: call void @"_COp.6956ff2f835d4aac:core.Destroy.Core"(ptr %_.var.loc21), !dbg !44 -// CHECK:STDOUT: call void @"_COp.6956ff2f835d4aac:core.Destroy.Core"(ptr @X.val), !dbg !43 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var.loc20), !dbg !42 -// CHECK:STDOUT: call void @"_COp.6956ff2f835d4aac:core.Destroy.Core"(ptr %_.var.loc18_24), !dbg !41 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var.loc18_12), !dbg !40 -// CHECK:STDOUT: call void @"_COp.6956ff2f835d4aac:core.Destroy.Core"(ptr %_.var.loc16), !dbg !39 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var.loc15), !dbg !38 +// CHECK:STDOUT: call void @"_COp.e321a4645f519d34:core.Destroy.Core"(ptr %_.var.loc21), !dbg !44 +// CHECK:STDOUT: call void @"_COp.e321a4645f519d34:core.Destroy.Core"(ptr @X.val), !dbg !43 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var.loc20), !dbg !42 +// CHECK:STDOUT: call void @"_COp.e321a4645f519d34:core.Destroy.Core"(ptr %_.var.loc18_24), !dbg !41 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var.loc18_12), !dbg !40 +// CHECK:STDOUT: call void @"_COp.e321a4645f519d34:core.Destroy.Core"(ptr %_.var.loc16), !dbg !39 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var.loc15), !dbg !38 // CHECK:STDOUT: ret void, !dbg !50 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.6956ff2f835d4aac:core.Destroy.Core"(ptr %self) #0 !dbg !51 { +// CHECK:STDOUT: define weak_odr void @"_COp.e321a4645f519d34:core.Destroy.Core"(ptr %self) #0 !dbg !51 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !54 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !55 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !55 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !58 // CHECK:STDOUT: } @@ -121,8 +121,8 @@ fn Call() { // CHECK:STDOUT: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.6956ff2f835d4aac:core.Destroy.Core", { 3, 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @"_COp.94e3ca86614aba5d:core.Destroy.Core", { 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.e321a4645f519d34:core.Destroy.Core", { 3, 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.1fa36cd3e044ac37:core.Destroy.Core", { 2, 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 6, 5, 4, 3, 2, 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.memcpy.p0.p0.i64, { 2, 1, 0 } // CHECK:STDOUT: @@ -183,11 +183,11 @@ fn Call() { // CHECK:STDOUT: !48 = !DILocation(line: 27, column: 3, scope: !35) // CHECK:STDOUT: !49 = !DILocation(line: 28, column: 3, scope: !35) // CHECK:STDOUT: !50 = !DILocation(line: 23, column: 1, scope: !35) -// CHECK:STDOUT: !51 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6956ff2f835d4aac:core.Destroy.Core", scope: null, file: !3, line: 21, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !52) +// CHECK:STDOUT: !51 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e321a4645f519d34:core.Destroy.Core", scope: null, file: !3, line: 21, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !52) // CHECK:STDOUT: !52 = !{!53} // CHECK:STDOUT: !53 = !DILocalVariable(arg: 1, scope: !51, type: !14) // CHECK:STDOUT: !54 = !DILocation(line: 21, column: 23, scope: !51) -// CHECK:STDOUT: !55 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 20, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !56) +// CHECK:STDOUT: !55 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 20, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !56) // CHECK:STDOUT: !56 = !{!57} // CHECK:STDOUT: !57 = !DILocalVariable(arg: 1, scope: !55, type: !7) // CHECK:STDOUT: !58 = !DILocation(line: 20, column: 15, scope: !55) diff --git a/toolchain/lower/testdata/function/generic/call.carbon b/toolchain/lower/testdata/function/generic/call.carbon index 1bc1f0980f0d..bea94cd116ed 100644 --- a/toolchain/lower/testdata/function/generic/call.carbon +++ b/toolchain/lower/testdata/function/generic/call.carbon @@ -52,40 +52,40 @@ fn G() { // CHECK:STDOUT: store i32 0, ptr %n.var, align 4, !dbg !9 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %m.var), !dbg !10 // CHECK:STDOUT: store double 0.000000e+00, ptr %m.var, align 8, !dbg !10 -// CHECK:STDOUT: call void @_CF.Main.b75543f38e857017(ptr %c.var), !dbg !11 -// CHECK:STDOUT: call void @_CF.Main.b75543f38e857017(ptr %d.var), !dbg !12 +// CHECK:STDOUT: call void @_CF.Main.e3776368f2983b35(ptr %c.var), !dbg !11 +// CHECK:STDOUT: call void @_CF.Main.e3776368f2983b35(ptr %d.var), !dbg !12 // CHECK:STDOUT: %.loc27 = load i32, ptr %n.var, align 4, !dbg !13 -// CHECK:STDOUT: call void @_CF.Main.c8fd090a2e741f70(i32 %.loc27), !dbg !14 +// CHECK:STDOUT: call void @_CF.Main.5e5386123d4b6287(i32 %.loc27), !dbg !14 // CHECK:STDOUT: %.loc28 = load double, ptr %m.var, align 8, !dbg !15 -// CHECK:STDOUT: call void @_CF.Main.57f760dd104b0b8e(double %.loc28), !dbg !16 +// CHECK:STDOUT: call void @_CF.Main.2dca51283dea946e(double %.loc28), !dbg !16 // CHECK:STDOUT: call void @_CF.Main.5754c7a55c7cbe4a(%type zeroinitializer), !dbg !17 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %m.var), !dbg !10 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.031be4dcfac8dc42:core.Destroy.Core"(ptr %d.var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %c.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %m.var), !dbg !10 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.931a2e35b026b8ba:core.Destroy.Core"(ptr %d.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !32 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.031be4dcfac8dc42:core.Destroy.Core"(ptr %self) #0 !dbg !33 { +// CHECK:STDOUT: define weak_odr void @"_COp.931a2e35b026b8ba:core.Destroy.Core"(ptr %self) #0 !dbg !33 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %self) #0 !dbg !37 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !37 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !40 // CHECK:STDOUT: } @@ -97,19 +97,19 @@ fn G() { // CHECK:STDOUT: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.b75543f38e857017(ptr %_) #0 !dbg !41 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.e3776368f2983b35(ptr %_) #0 !dbg !41 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !44 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.c8fd090a2e741f70(i32 %_) #0 !dbg !45 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.5e5386123d4b6287(i32 %_) #0 !dbg !45 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !48 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.57f760dd104b0b8e(double %_) #0 !dbg !49 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.2dca51283dea946e(double %_) #0 !dbg !49 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !52 // CHECK:STDOUT: } @@ -123,7 +123,7 @@ fn G() { // CHECK:STDOUT: ; uselistorder directives // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 3, 2, 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.memcpy.p0.p0.i64, { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CF.Main.b75543f38e857017, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CF.Main.e3776368f2983b35, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -150,37 +150,37 @@ fn G() { // CHECK:STDOUT: !16 = !DILocation(line: 28, column: 3, scope: !4) // CHECK:STDOUT: !17 = !DILocation(line: 29, column: 3, scope: !4) // CHECK:STDOUT: !18 = !DILocation(line: 19, column: 1, scope: !4) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 23, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 23, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !22} // CHECK:STDOUT: !22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !19, type: !22) // CHECK:STDOUT: !25 = !DILocation(line: 23, column: 3, scope: !19) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 22, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 22, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) // CHECK:STDOUT: !27 = !DISubroutineType(types: !28) // CHECK:STDOUT: !28 = !{null, !29} // CHECK:STDOUT: !29 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !30 = !{!31} // CHECK:STDOUT: !31 = !DILocalVariable(arg: 1, scope: !26, type: !29) // CHECK:STDOUT: !32 = !DILocation(line: 22, column: 3, scope: !26) -// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "Op", linkageName: "_COp.031be4dcfac8dc42:core.Destroy.Core", scope: null, file: !3, line: 21, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) +// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "Op", linkageName: "_COp.931a2e35b026b8ba:core.Destroy.Core", scope: null, file: !3, line: 21, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) // CHECK:STDOUT: !34 = !{!35} // CHECK:STDOUT: !35 = !DILocalVariable(arg: 1, scope: !33, type: !22) // CHECK:STDOUT: !36 = !DILocation(line: 21, column: 3, scope: !33) -// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b8b1f433ad216ca6:core.Destroy.Core", scope: null, file: !3, line: 20, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !38) +// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 20, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !38) // CHECK:STDOUT: !38 = !{!39} // CHECK:STDOUT: !39 = !DILocalVariable(arg: 1, scope: !37, type: !22) // CHECK:STDOUT: !40 = !DILocation(line: 20, column: 3, scope: !37) -// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.b75543f38e857017", scope: null, file: !3, line: 13, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) +// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.e3776368f2983b35", scope: null, file: !3, line: 13, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) // CHECK:STDOUT: !42 = !{!43} // CHECK:STDOUT: !43 = !DILocalVariable(arg: 1, scope: !41, type: !22) // CHECK:STDOUT: !44 = !DILocation(line: 13, column: 1, scope: !41) -// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c8fd090a2e741f70", scope: null, file: !3, line: 13, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) +// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.5e5386123d4b6287", scope: null, file: !3, line: 13, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) // CHECK:STDOUT: !46 = !{!47} // CHECK:STDOUT: !47 = !DILocalVariable(arg: 1, scope: !45, type: !29) // CHECK:STDOUT: !48 = !DILocation(line: 13, column: 1, scope: !45) -// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.57f760dd104b0b8e", scope: null, file: !3, line: 13, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !50) +// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.2dca51283dea946e", scope: null, file: !3, line: 13, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !50) // CHECK:STDOUT: !50 = !{!51} // CHECK:STDOUT: !51 = !DILocalVariable(arg: 1, scope: !49, type: !22) // CHECK:STDOUT: !52 = !DILocation(line: 13, column: 1, scope: !49) diff --git a/toolchain/lower/testdata/function/generic/call_basic.carbon b/toolchain/lower/testdata/function/generic/call_basic.carbon index 1ad15e3437f8..2b61cee68366 100644 --- a/toolchain/lower/testdata/function/generic/call_basic.carbon +++ b/toolchain/lower/testdata/function/generic/call_basic.carbon @@ -70,13 +70,13 @@ fn M() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !17 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !17 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !20 // CHECK:STDOUT: } @@ -91,20 +91,20 @@ fn M() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %p.var), !dbg !25 // CHECK:STDOUT: store double 1.000000e+00, ptr %p.var, align 8, !dbg !25 // CHECK:STDOUT: %.loc52 = load i32, ptr %n.var, align 4, !dbg !26 -// CHECK:STDOUT: call void @_CF.Main.c8fd090a2e741f70(i32 %.loc52), !dbg !27 +// CHECK:STDOUT: call void @_CF.Main.5e5386123d4b6287(i32 %.loc52), !dbg !27 // CHECK:STDOUT: %.loc53_18 = load i32, ptr %n.var, align 4, !dbg !28 -// CHECK:STDOUT: %G.call.loc53 = call i32 @_CG.Main.e1a3fb6aafdc450b(i32 %.loc53_18), !dbg !29 +// CHECK:STDOUT: %G.call.loc53 = call i32 @_CG.Main.3f49c03818d8362d(i32 %.loc53_18), !dbg !29 // CHECK:STDOUT: %.loc54 = load double, ptr %p.var, align 8, !dbg !30 -// CHECK:STDOUT: call void @_CF.Main.57f760dd104b0b8e(double %.loc54), !dbg !31 +// CHECK:STDOUT: call void @_CF.Main.2dca51283dea946e(double %.loc54), !dbg !31 // CHECK:STDOUT: %.loc55_18 = load double, ptr %p.var, align 8, !dbg !32 -// CHECK:STDOUT: %G.call.loc55 = call double @_CG.Main.3501867c4f2a2363(double %.loc55_18), !dbg !33 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %p.var), !dbg !25 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !24 +// CHECK:STDOUT: %G.call.loc55 = call double @_CG.Main.654604a4b99ed7de(double %.loc55_18), !dbg !33 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %p.var), !dbg !25 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !24 // CHECK:STDOUT: ret void, !dbg !34 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !35 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !35 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !41 // CHECK:STDOUT: } @@ -116,13 +116,13 @@ fn M() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.c8fd090a2e741f70(i32 %_) #0 !dbg !42 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.5e5386123d4b6287(i32 %_) #0 !dbg !42 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !45 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.e1a3fb6aafdc450b(i32 %x) #0 !dbg !46 { +// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.3f49c03818d8362d(i32 %x) #0 !dbg !46 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc29_6.2.temp = alloca i32, align 4, !dbg !51 // CHECK:STDOUT: %.loc31_8.2.temp = alloca i32, align 4, !dbg !52 @@ -134,52 +134,52 @@ fn M() { // CHECK:STDOUT: %c.var = alloca {}, align 1, !dbg !58 // CHECK:STDOUT: %.loc43_6.2.temp = alloca {}, align 1, !dbg !59 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc29_6.2.temp), !dbg !51 -// CHECK:STDOUT: %H.call.loc29 = call i32 @_CH.Main.980bd46fd9fb5b99(i32 %x), !dbg !51 +// CHECK:STDOUT: %H.call.loc29 = call i32 @_CH.Main.4bee6dcdea6ba756(i32 %x), !dbg !51 // CHECK:STDOUT: store i32 %H.call.loc29, ptr %.loc29_6.2.temp, align 4, !dbg !51 -// CHECK:STDOUT: %H.call.loc30 = call %type @_CH.Main.22a6f624d7af1d76(%type zeroinitializer), !dbg !60 +// CHECK:STDOUT: %H.call.loc30 = call %type @_CH.Main.7c9378dab434d9d8(%type zeroinitializer), !dbg !60 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc31_8.2.temp), !dbg !52 -// CHECK:STDOUT: %G.call = call i32 @_CG.Main.e1a3fb6aafdc450b(i32 %x), !dbg !52 +// CHECK:STDOUT: %G.call = call i32 @_CG.Main.3f49c03818d8362d(i32 %x), !dbg !52 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc31_9.2.temp), !dbg !53 // CHECK:STDOUT: store i32 %G.call, ptr %.loc31_8.2.temp, align 4, !dbg !52 // CHECK:STDOUT: %.loc31_8.4 = load i32, ptr %.loc31_8.2.temp, align 4, !dbg !52 -// CHECK:STDOUT: %H.call.loc31 = call i32 @_CH.Main.980bd46fd9fb5b99(i32 %.loc31_8.4), !dbg !53 +// CHECK:STDOUT: %H.call.loc31 = call i32 @_CH.Main.4bee6dcdea6ba756(i32 %.loc31_8.4), !dbg !53 // CHECK:STDOUT: store i32 %H.call.loc31, ptr %.loc31_9.2.temp, align 4, !dbg !53 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %var_f64.var), !dbg !54 // CHECK:STDOUT: store double poison, ptr %var_f64.var, align 8, !dbg !54 // CHECK:STDOUT: %.loc35_5 = load double, ptr %var_f64.var, align 8, !dbg !61 -// CHECK:STDOUT: %H.call.loc35 = call double @_CH.Main.3eb991d272a034fb(double %.loc35_5), !dbg !62 +// CHECK:STDOUT: %H.call.loc35 = call double @_CH.Main.925563b151bf93f6(double %.loc35_5), !dbg !62 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_i32.var), !dbg !55 // CHECK:STDOUT: store ptr poison, ptr %ptr_i32.var, align 8, !dbg !55 // CHECK:STDOUT: %.loc37_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !63 -// CHECK:STDOUT: %H.call.loc37 = call ptr @_CH.Main.3890ad819211e245(ptr %.loc37_5), !dbg !64 +// CHECK:STDOUT: %H.call.loc37 = call ptr @_CH.Main.a87c59609561b819(ptr %.loc37_5), !dbg !64 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_f64.var), !dbg !56 // CHECK:STDOUT: store ptr poison, ptr %ptr_f64.var, align 8, !dbg !56 // CHECK:STDOUT: %.loc39_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !65 -// CHECK:STDOUT: %H.call.loc39 = call ptr @_CH.Main.3890ad819211e245(ptr %.loc39_5), !dbg !66 +// CHECK:STDOUT: %H.call.loc39 = call ptr @_CH.Main.a87c59609561b819(ptr %.loc39_5), !dbg !66 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_i8.var), !dbg !57 // CHECK:STDOUT: store ptr poison, ptr %ptr_i8.var, align 8, !dbg !57 // CHECK:STDOUT: %.loc41_5 = load ptr, ptr %ptr_i8.var, align 8, !dbg !67 -// CHECK:STDOUT: %H.call.loc41 = call ptr @_CH.Main.3890ad819211e245(ptr %.loc41_5), !dbg !68 +// CHECK:STDOUT: %H.call.loc41 = call ptr @_CH.Main.a87c59609561b819(ptr %.loc41_5), !dbg !68 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !58 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc43_6.2.temp), !dbg !59 -// CHECK:STDOUT: call void @_CH.Main.cbacb6af70d3d312(ptr %.loc43_6.2.temp, ptr %c.var), !dbg !59 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %.loc43_6.2.temp), !dbg !59 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %c.var), !dbg !58 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %var_f64.var), !dbg !54 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %.loc31_9.2.temp), !dbg !53 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %.loc31_8.2.temp), !dbg !52 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %.loc29_6.2.temp), !dbg !51 +// CHECK:STDOUT: call void @_CH.Main.23ea5646f3728a97(ptr %.loc43_6.2.temp, ptr %c.var), !dbg !59 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %.loc43_6.2.temp), !dbg !59 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !58 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %var_f64.var), !dbg !54 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %.loc31_9.2.temp), !dbg !53 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %.loc31_8.2.temp), !dbg !52 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %.loc29_6.2.temp), !dbg !51 // CHECK:STDOUT: ret i32 %x, !dbg !69 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.57f760dd104b0b8e(double %_) #0 !dbg !70 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.2dca51283dea946e(double %_) #0 !dbg !70 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !73 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CG.Main.3501867c4f2a2363(double %x) #0 !dbg !74 { +// CHECK:STDOUT: define linkonce_odr double @_CG.Main.654604a4b99ed7de(double %x) #0 !dbg !74 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc29_6.2.temp = alloca double, align 8, !dbg !77 // CHECK:STDOUT: %.loc31_8.2.temp = alloca double, align 8, !dbg !78 @@ -191,70 +191,70 @@ fn M() { // CHECK:STDOUT: %c.var = alloca {}, align 1, !dbg !84 // CHECK:STDOUT: %.loc43_6.2.temp = alloca {}, align 1, !dbg !85 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc29_6.2.temp), !dbg !77 -// CHECK:STDOUT: %H.call.loc29 = call double @_CH.Main.3eb991d272a034fb(double %x), !dbg !77 +// CHECK:STDOUT: %H.call.loc29 = call double @_CH.Main.925563b151bf93f6(double %x), !dbg !77 // CHECK:STDOUT: store double %H.call.loc29, ptr %.loc29_6.2.temp, align 8, !dbg !77 -// CHECK:STDOUT: %H.call.loc30 = call %type @_CH.Main.22a6f624d7af1d76(%type zeroinitializer), !dbg !86 +// CHECK:STDOUT: %H.call.loc30 = call %type @_CH.Main.7c9378dab434d9d8(%type zeroinitializer), !dbg !86 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc31_8.2.temp), !dbg !78 -// CHECK:STDOUT: %G.call = call double @_CG.Main.3501867c4f2a2363(double %x), !dbg !78 +// CHECK:STDOUT: %G.call = call double @_CG.Main.654604a4b99ed7de(double %x), !dbg !78 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc31_9.2.temp), !dbg !79 // CHECK:STDOUT: store double %G.call, ptr %.loc31_8.2.temp, align 8, !dbg !78 // CHECK:STDOUT: %.loc31_8.4 = load double, ptr %.loc31_8.2.temp, align 8, !dbg !78 -// CHECK:STDOUT: %H.call.loc31 = call double @_CH.Main.3eb991d272a034fb(double %.loc31_8.4), !dbg !79 +// CHECK:STDOUT: %H.call.loc31 = call double @_CH.Main.925563b151bf93f6(double %.loc31_8.4), !dbg !79 // CHECK:STDOUT: store double %H.call.loc31, ptr %.loc31_9.2.temp, align 8, !dbg !79 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %var_f64.var), !dbg !80 // CHECK:STDOUT: store double poison, ptr %var_f64.var, align 8, !dbg !80 // CHECK:STDOUT: %.loc35_5 = load double, ptr %var_f64.var, align 8, !dbg !87 -// CHECK:STDOUT: %H.call.loc35 = call double @_CH.Main.3eb991d272a034fb(double %.loc35_5), !dbg !88 +// CHECK:STDOUT: %H.call.loc35 = call double @_CH.Main.925563b151bf93f6(double %.loc35_5), !dbg !88 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_i32.var), !dbg !81 // CHECK:STDOUT: store ptr poison, ptr %ptr_i32.var, align 8, !dbg !81 // CHECK:STDOUT: %.loc37_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !89 -// CHECK:STDOUT: %H.call.loc37 = call ptr @_CH.Main.3890ad819211e245(ptr %.loc37_5), !dbg !90 +// CHECK:STDOUT: %H.call.loc37 = call ptr @_CH.Main.a87c59609561b819(ptr %.loc37_5), !dbg !90 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_f64.var), !dbg !82 // CHECK:STDOUT: store ptr poison, ptr %ptr_f64.var, align 8, !dbg !82 // CHECK:STDOUT: %.loc39_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !91 -// CHECK:STDOUT: %H.call.loc39 = call ptr @_CH.Main.3890ad819211e245(ptr %.loc39_5), !dbg !92 +// CHECK:STDOUT: %H.call.loc39 = call ptr @_CH.Main.a87c59609561b819(ptr %.loc39_5), !dbg !92 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_i8.var), !dbg !83 // CHECK:STDOUT: store ptr poison, ptr %ptr_i8.var, align 8, !dbg !83 // CHECK:STDOUT: %.loc41_5 = load ptr, ptr %ptr_i8.var, align 8, !dbg !93 -// CHECK:STDOUT: %H.call.loc41 = call ptr @_CH.Main.3890ad819211e245(ptr %.loc41_5), !dbg !94 +// CHECK:STDOUT: %H.call.loc41 = call ptr @_CH.Main.a87c59609561b819(ptr %.loc41_5), !dbg !94 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !84 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc43_6.2.temp), !dbg !85 -// CHECK:STDOUT: call void @_CH.Main.cbacb6af70d3d312(ptr %.loc43_6.2.temp, ptr %c.var), !dbg !85 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %.loc43_6.2.temp), !dbg !85 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %c.var), !dbg !84 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %var_f64.var), !dbg !80 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %.loc31_9.2.temp), !dbg !79 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %.loc31_8.2.temp), !dbg !78 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %.loc29_6.2.temp), !dbg !77 +// CHECK:STDOUT: call void @_CH.Main.23ea5646f3728a97(ptr %.loc43_6.2.temp, ptr %c.var), !dbg !85 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %.loc43_6.2.temp), !dbg !85 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !84 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %var_f64.var), !dbg !80 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %.loc31_9.2.temp), !dbg !79 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %.loc31_8.2.temp), !dbg !78 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %.loc29_6.2.temp), !dbg !77 // CHECK:STDOUT: ret double %x, !dbg !95 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CH.Main.980bd46fd9fb5b99(i32 %x) #0 !dbg !96 { +// CHECK:STDOUT: define linkonce_odr i32 @_CH.Main.4bee6dcdea6ba756(i32 %x) #0 !dbg !96 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret i32 %x, !dbg !99 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr %type @_CH.Main.22a6f624d7af1d76(%type %x) #0 !dbg !100 { +// CHECK:STDOUT: define linkonce_odr %type @_CH.Main.7c9378dab434d9d8(%type %x) #0 !dbg !100 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret %type %x, !dbg !103 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CH.Main.3eb991d272a034fb(double %x) #0 !dbg !104 { +// CHECK:STDOUT: define linkonce_odr double @_CH.Main.925563b151bf93f6(double %x) #0 !dbg !104 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret double %x, !dbg !107 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CH.Main.3890ad819211e245(ptr %x) #0 !dbg !108 { +// CHECK:STDOUT: define linkonce_odr ptr @_CH.Main.a87c59609561b819(ptr %x) #0 !dbg !108 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret ptr %x, !dbg !111 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CH.Main.cbacb6af70d3d312(ptr sret({}) %return, ptr %x) #0 !dbg !112 { +// CHECK:STDOUT: define linkonce_odr void @_CH.Main.23ea5646f3728a97(ptr sret({}) %return, ptr %x) #0 !dbg !112 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @"_COp.C.Main:Copy.Core"(ptr %return, ptr %x), !dbg !115 // CHECK:STDOUT: ret void, !dbg !116 @@ -262,11 +262,11 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 18 } -// CHECK:STDOUT: uselistorder ptr @_CH.Main.980bd46fd9fb5b99, { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CH.Main.22a6f624d7af1d76, { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CH.Main.3eb991d272a034fb, { 3, 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CH.Main.3890ad819211e245, { 5, 2, 0, 4, 3, 1 } -// CHECK:STDOUT: uselistorder ptr @_CH.Main.cbacb6af70d3d312, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CH.Main.4bee6dcdea6ba756, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CH.Main.7c9378dab434d9d8, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CH.Main.925563b151bf93f6, { 3, 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CH.Main.a87c59609561b819, { 5, 2, 0, 4, 3, 1 } +// CHECK:STDOUT: uselistorder ptr @_CH.Main.23ea5646f3728a97, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -285,13 +285,13 @@ fn M() { // CHECK:STDOUT: !8 = !{!9} // CHECK:STDOUT: !9 = !DILocalVariable(arg: 1, scope: !4, type: !7) // CHECK:STDOUT: !10 = !DILocation(line: 15, column: 42, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b8b1f433ad216ca6:core.Destroy.Core", scope: null, file: !3, line: 43, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 43, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !12 = !DISubroutineType(types: !13) // CHECK:STDOUT: !13 = !{null, !7} // CHECK:STDOUT: !14 = !{!15} // CHECK:STDOUT: !15 = !DILocalVariable(arg: 1, scope: !11, type: !7) // CHECK:STDOUT: !16 = !DILocation(line: 43, column: 3, scope: !11) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 34, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 34, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) // CHECK:STDOUT: !18 = !{!19} // CHECK:STDOUT: !19 = !DILocalVariable(arg: 1, scope: !17, type: !7) // CHECK:STDOUT: !20 = !DILocation(line: 34, column: 3, scope: !17) @@ -309,18 +309,18 @@ fn M() { // CHECK:STDOUT: !32 = !DILocation(line: 55, column: 18, scope: !21) // CHECK:STDOUT: !33 = !DILocation(line: 55, column: 16, scope: !21) // CHECK:STDOUT: !34 = !DILocation(line: 48, column: 1, scope: !21) -// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 53, type: !36, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !39) +// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 53, type: !36, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !39) // CHECK:STDOUT: !36 = !DISubroutineType(types: !37) // CHECK:STDOUT: !37 = !{null, !38} // CHECK:STDOUT: !38 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !39 = !{!40} // CHECK:STDOUT: !40 = !DILocalVariable(arg: 1, scope: !35, type: !38) // CHECK:STDOUT: !41 = !DILocation(line: 53, column: 16, scope: !35) -// CHECK:STDOUT: !42 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c8fd090a2e741f70", scope: null, file: !3, line: 19, type: !36, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43) +// CHECK:STDOUT: !42 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.5e5386123d4b6287", scope: null, file: !3, line: 19, type: !36, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43) // CHECK:STDOUT: !43 = !{!44} // CHECK:STDOUT: !44 = !DILocalVariable(arg: 1, scope: !42, type: !38) // CHECK:STDOUT: !45 = !DILocation(line: 19, column: 1, scope: !42) -// CHECK:STDOUT: !46 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.e1a3fb6aafdc450b", scope: null, file: !3, line: 28, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !49) +// CHECK:STDOUT: !46 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.3f49c03818d8362d", scope: null, file: !3, line: 28, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !49) // CHECK:STDOUT: !47 = !DISubroutineType(types: !48) // CHECK:STDOUT: !48 = !{!38, !38} // CHECK:STDOUT: !49 = !{!50} @@ -344,11 +344,11 @@ fn M() { // CHECK:STDOUT: !67 = !DILocation(line: 41, column: 5, scope: !46) // CHECK:STDOUT: !68 = !DILocation(line: 41, column: 3, scope: !46) // CHECK:STDOUT: !69 = !DILocation(line: 45, column: 3, scope: !46) -// CHECK:STDOUT: !70 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.57f760dd104b0b8e", scope: null, file: !3, line: 19, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !71) +// CHECK:STDOUT: !70 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.2dca51283dea946e", scope: null, file: !3, line: 19, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !71) // CHECK:STDOUT: !71 = !{!72} // CHECK:STDOUT: !72 = !DILocalVariable(arg: 1, scope: !70, type: !7) // CHECK:STDOUT: !73 = !DILocation(line: 19, column: 1, scope: !70) -// CHECK:STDOUT: !74 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.3501867c4f2a2363", scope: null, file: !3, line: 28, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !75) +// CHECK:STDOUT: !74 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.654604a4b99ed7de", scope: null, file: !3, line: 28, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !75) // CHECK:STDOUT: !75 = !{!76} // CHECK:STDOUT: !76 = !DILocalVariable(arg: 1, scope: !74, type: !7) // CHECK:STDOUT: !77 = !DILocation(line: 29, column: 3, scope: !74) @@ -370,23 +370,23 @@ fn M() { // CHECK:STDOUT: !93 = !DILocation(line: 41, column: 5, scope: !74) // CHECK:STDOUT: !94 = !DILocation(line: 41, column: 3, scope: !74) // CHECK:STDOUT: !95 = !DILocation(line: 45, column: 3, scope: !74) -// CHECK:STDOUT: !96 = distinct !DISubprogram(name: "H", linkageName: "_CH.Main.980bd46fd9fb5b99", scope: null, file: !3, line: 22, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !97) +// CHECK:STDOUT: !96 = distinct !DISubprogram(name: "H", linkageName: "_CH.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 22, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !97) // CHECK:STDOUT: !97 = !{!98} // CHECK:STDOUT: !98 = !DILocalVariable(arg: 1, scope: !96, type: !38) // CHECK:STDOUT: !99 = !DILocation(line: 23, column: 3, scope: !96) -// CHECK:STDOUT: !100 = distinct !DISubprogram(name: "H", linkageName: "_CH.Main.22a6f624d7af1d76", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !101) +// CHECK:STDOUT: !100 = distinct !DISubprogram(name: "H", linkageName: "_CH.Main.7c9378dab434d9d8", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !101) // CHECK:STDOUT: !101 = !{!102} // CHECK:STDOUT: !102 = !DILocalVariable(arg: 1, scope: !100, type: !7) // CHECK:STDOUT: !103 = !DILocation(line: 23, column: 3, scope: !100) -// CHECK:STDOUT: !104 = distinct !DISubprogram(name: "H", linkageName: "_CH.Main.3eb991d272a034fb", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !105) +// CHECK:STDOUT: !104 = distinct !DISubprogram(name: "H", linkageName: "_CH.Main.925563b151bf93f6", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !105) // CHECK:STDOUT: !105 = !{!106} // CHECK:STDOUT: !106 = !DILocalVariable(arg: 1, scope: !104, type: !7) // CHECK:STDOUT: !107 = !DILocation(line: 23, column: 3, scope: !104) -// CHECK:STDOUT: !108 = distinct !DISubprogram(name: "H", linkageName: "_CH.Main.3890ad819211e245", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !109) +// CHECK:STDOUT: !108 = distinct !DISubprogram(name: "H", linkageName: "_CH.Main.a87c59609561b819", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !109) // CHECK:STDOUT: !109 = !{!110} // CHECK:STDOUT: !110 = !DILocalVariable(arg: 1, scope: !108, type: !7) // CHECK:STDOUT: !111 = !DILocation(line: 23, column: 3, scope: !108) -// CHECK:STDOUT: !112 = distinct !DISubprogram(name: "H", linkageName: "_CH.Main.cbacb6af70d3d312", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !113) +// CHECK:STDOUT: !112 = distinct !DISubprogram(name: "H", linkageName: "_CH.Main.23ea5646f3728a97", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !113) // CHECK:STDOUT: !113 = !{!114} // CHECK:STDOUT: !114 = !DILocalVariable(arg: 1, scope: !112, type: !7) // CHECK:STDOUT: !115 = !DILocation(line: 23, column: 10, scope: !112) diff --git a/toolchain/lower/testdata/function/generic/call_basic_depth.carbon b/toolchain/lower/testdata/function/generic/call_basic_depth.carbon index af1b2ef27547..63c195423b6f 100644 --- a/toolchain/lower/testdata/function/generic/call_basic_depth.carbon +++ b/toolchain/lower/testdata/function/generic/call_basic_depth.carbon @@ -49,18 +49,18 @@ fn M() -> i32 { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %m.var), !dbg !9 // CHECK:STDOUT: store i32 poison, ptr %m.var, align 4, !dbg !9 // CHECK:STDOUT: %.loc34 = load i32, ptr %n.var, align 4, !dbg !10 -// CHECK:STDOUT: call void @_CF.Main.c8fd090a2e741f70(i32 %.loc34), !dbg !11 +// CHECK:STDOUT: call void @_CF.Main.5e5386123d4b6287(i32 %.loc34), !dbg !11 // CHECK:STDOUT: %.loc35_9 = load i32, ptr %n.var, align 4, !dbg !12 -// CHECK:STDOUT: %G.call = call i32 @_CG.Main.e1a3fb6aafdc450b(i32 %.loc35_9), !dbg !13 +// CHECK:STDOUT: %G.call = call i32 @_CG.Main.3f49c03818d8362d(i32 %.loc35_9), !dbg !13 // CHECK:STDOUT: store i32 %G.call, ptr %m.var, align 4, !dbg !14 // CHECK:STDOUT: %.loc36 = load i32, ptr %m.var, align 4, !dbg !15 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %m.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %m.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !8 // CHECK:STDOUT: ret i32 %.loc36, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !17 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !17 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } @@ -69,32 +69,32 @@ fn M() -> i32 { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.c8fd090a2e741f70(i32 %_) #0 !dbg !23 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.5e5386123d4b6287(i32 %_) #0 !dbg !23 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.e1a3fb6aafdc450b(i32 %x) #0 !dbg !27 { +// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.3f49c03818d8362d(i32 %x) #0 !dbg !27 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc25_6.2.temp = alloca i32, align 4, !dbg !32 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc25_6.2.temp), !dbg !32 -// CHECK:STDOUT: %H.call = call i32 @_CH.Main.980bd46fd9fb5b99(i32 %x), !dbg !32 +// CHECK:STDOUT: %H.call = call i32 @_CH.Main.4bee6dcdea6ba756(i32 %x), !dbg !32 // CHECK:STDOUT: store i32 %H.call, ptr %.loc25_6.2.temp, align 4, !dbg !32 -// CHECK:STDOUT: call void @_CF.Main.c8fd090a2e741f70(i32 %x), !dbg !33 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %.loc25_6.2.temp), !dbg !32 +// CHECK:STDOUT: call void @_CF.Main.5e5386123d4b6287(i32 %x), !dbg !33 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %.loc25_6.2.temp), !dbg !32 // CHECK:STDOUT: ret i32 %x, !dbg !34 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CH.Main.980bd46fd9fb5b99(i32 %x) #0 !dbg !35 { +// CHECK:STDOUT: define linkonce_odr i32 @_CH.Main.4bee6dcdea6ba756(i32 %x) #0 !dbg !35 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main.c8fd090a2e741f70(i32 %x), !dbg !38 +// CHECK:STDOUT: call void @_CF.Main.5e5386123d4b6287(i32 %x), !dbg !38 // CHECK:STDOUT: ret i32 %x, !dbg !39 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.94e3ca86614aba5d:core.Destroy.Core", { 0, 2, 1 } +// CHECK:STDOUT: uselistorder ptr @"_COp.1fa36cd3e044ac37:core.Destroy.Core", { 0, 2, 1 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 0, 2, 1 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -120,17 +120,17 @@ fn M() -> i32 { // CHECK:STDOUT: !14 = !DILocation(line: 35, column: 3, scope: !4) // CHECK:STDOUT: !15 = !DILocation(line: 36, column: 10, scope: !4) // CHECK:STDOUT: !16 = !DILocation(line: 36, column: 3, scope: !4) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 35, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 35, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !18 = !DISubroutineType(types: !19) // CHECK:STDOUT: !19 = !{null, !7} // CHECK:STDOUT: !20 = !{!21} // CHECK:STDOUT: !21 = !DILocalVariable(arg: 1, scope: !17, type: !7) // CHECK:STDOUT: !22 = !DILocation(line: 35, column: 7, scope: !17) -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c8fd090a2e741f70", scope: null, file: !3, line: 16, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.5e5386123d4b6287", scope: null, file: !3, line: 16, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !23, type: !7) // CHECK:STDOUT: !26 = !DILocation(line: 16, column: 1, scope: !23) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.e1a3fb6aafdc450b", scope: null, file: !3, line: 24, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.3f49c03818d8362d", scope: null, file: !3, line: 24, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) // CHECK:STDOUT: !28 = !DISubroutineType(types: !29) // CHECK:STDOUT: !29 = !{!7, !7} // CHECK:STDOUT: !30 = !{!31} @@ -138,7 +138,7 @@ fn M() -> i32 { // CHECK:STDOUT: !32 = !DILocation(line: 25, column: 3, scope: !27) // CHECK:STDOUT: !33 = !DILocation(line: 26, column: 3, scope: !27) // CHECK:STDOUT: !34 = !DILocation(line: 27, column: 3, scope: !27) -// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "H", linkageName: "_CH.Main.980bd46fd9fb5b99", scope: null, file: !3, line: 19, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !36) +// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "H", linkageName: "_CH.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 19, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !36) // CHECK:STDOUT: !36 = !{!37} // CHECK:STDOUT: !37 = !DILocalVariable(arg: 1, scope: !35, type: !7) // CHECK:STDOUT: !38 = !DILocation(line: 20, column: 3, scope: !35) diff --git a/toolchain/lower/testdata/function/generic/call_dedup_ptr.carbon b/toolchain/lower/testdata/function/generic/call_dedup_ptr.carbon index ed4d67e15157..e344f6c1ab3c 100644 --- a/toolchain/lower/testdata/function/generic/call_dedup_ptr.carbon +++ b/toolchain/lower/testdata/function/generic/call_dedup_ptr.carbon @@ -35,15 +35,15 @@ fn M() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_i32.var), !dbg !7 // CHECK:STDOUT: store ptr poison, ptr %ptr_i32.var, align 8, !dbg !7 // CHECK:STDOUT: %.loc19_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !10 -// CHECK:STDOUT: %F.call.loc19 = call ptr @_CF.Main.3890ad819211e245(ptr %.loc19_5), !dbg !11 +// CHECK:STDOUT: %F.call.loc19 = call ptr @_CF.Main.a87c59609561b819(ptr %.loc19_5), !dbg !11 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_f64.var), !dbg !8 // CHECK:STDOUT: store ptr poison, ptr %ptr_f64.var, align 8, !dbg !8 // CHECK:STDOUT: %.loc21_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !12 -// CHECK:STDOUT: %F.call.loc21 = call ptr @_CF.Main.3890ad819211e245(ptr %.loc21_5), !dbg !13 +// CHECK:STDOUT: %F.call.loc21 = call ptr @_CF.Main.a87c59609561b819(ptr %.loc21_5), !dbg !13 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_i8.var), !dbg !9 // CHECK:STDOUT: store ptr poison, ptr %ptr_i8.var, align 8, !dbg !9 // CHECK:STDOUT: %.loc23_5 = load ptr, ptr %ptr_i8.var, align 8, !dbg !14 -// CHECK:STDOUT: %F.call.loc23 = call ptr @_CF.Main.3890ad819211e245(ptr %.loc23_5), !dbg !15 +// CHECK:STDOUT: %F.call.loc23 = call ptr @_CF.Main.a87c59609561b819(ptr %.loc23_5), !dbg !15 // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -51,14 +51,14 @@ fn M() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CF.Main.3890ad819211e245(ptr %x) #0 !dbg !17 { +// CHECK:STDOUT: define linkonce_odr ptr @_CF.Main.a87c59609561b819(ptr %x) #0 !dbg !17 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret ptr %x, !dbg !23 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CF.Main.3890ad819211e245, { 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CF.Main.a87c59609561b819, { 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -83,7 +83,7 @@ fn M() { // CHECK:STDOUT: !14 = !DILocation(line: 23, column: 5, scope: !4) // CHECK:STDOUT: !15 = !DILocation(line: 23, column: 3, scope: !4) // CHECK:STDOUT: !16 = !DILocation(line: 17, column: 1, scope: !4) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.3890ad819211e245", scope: null, file: !3, line: 13, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !21) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.a87c59609561b819", scope: null, file: !3, line: 13, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !21) // CHECK:STDOUT: !18 = !DISubroutineType(types: !19) // CHECK:STDOUT: !19 = !{!20, !20} // CHECK:STDOUT: !20 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) diff --git a/toolchain/lower/testdata/function/generic/call_deref_ptr.carbon b/toolchain/lower/testdata/function/generic/call_deref_ptr.carbon index f71e05c5443a..1117eacb7b68 100644 --- a/toolchain/lower/testdata/function/generic/call_deref_ptr.carbon +++ b/toolchain/lower/testdata/function/generic/call_deref_ptr.carbon @@ -55,20 +55,20 @@ fn M() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_f64.var), !dbg !8 // CHECK:STDOUT: store ptr poison, ptr %ptr_f64.var, align 8, !dbg !8 // CHECK:STDOUT: %.loc39_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !9 -// CHECK:STDOUT: call void @_CF.Main.e1a3fb6aafdc450b(ptr %.loc39_5), !dbg !10 +// CHECK:STDOUT: call void @_CF.Main.3f49c03818d8362d(ptr %.loc39_5), !dbg !10 // CHECK:STDOUT: %.loc40_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !11 -// CHECK:STDOUT: call void @_CF.Main.3501867c4f2a2363(ptr %.loc40_5), !dbg !12 +// CHECK:STDOUT: call void @_CF.Main.654604a4b99ed7de(ptr %.loc40_5), !dbg !12 // CHECK:STDOUT: ret void, !dbg !13 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !14 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !14 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !20 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !21 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !21 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } @@ -77,66 +77,66 @@ fn M() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.e1a3fb6aafdc450b(ptr %x) #0 !dbg !28 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.3f49c03818d8362d(ptr %x) #0 !dbg !28 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %A.call = call %type @_CA.Main.22a6f624d7af1d76(%type zeroinitializer), !dbg !31 -// CHECK:STDOUT: call void @_CB.Main.e1a3fb6aafdc450b(ptr %x), !dbg !32 +// CHECK:STDOUT: %A.call = call %type @_CA.Main.7c9378dab434d9d8(%type zeroinitializer), !dbg !31 +// CHECK:STDOUT: call void @_CB.Main.3f49c03818d8362d(ptr %x), !dbg !32 // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.3501867c4f2a2363(ptr %x) #0 !dbg !34 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.654604a4b99ed7de(ptr %x) #0 !dbg !34 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %A.call = call %type @_CA.Main.22a6f624d7af1d76(%type zeroinitializer), !dbg !37 -// CHECK:STDOUT: call void @_CB.Main.3501867c4f2a2363(ptr %x), !dbg !38 +// CHECK:STDOUT: %A.call = call %type @_CA.Main.7c9378dab434d9d8(%type zeroinitializer), !dbg !37 +// CHECK:STDOUT: call void @_CB.Main.654604a4b99ed7de(ptr %x), !dbg !38 // CHECK:STDOUT: ret void, !dbg !39 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr %type @_CA.Main.22a6f624d7af1d76(%type %x) #0 !dbg !40 { +// CHECK:STDOUT: define linkonce_odr %type @_CA.Main.7c9378dab434d9d8(%type %x) #0 !dbg !40 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret %type %x, !dbg !45 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CB.Main.e1a3fb6aafdc450b(ptr %x) #0 !dbg !46 { +// CHECK:STDOUT: define linkonce_odr void @_CB.Main.3f49c03818d8362d(ptr %x) #0 !dbg !46 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc27_7.2.temp = alloca i32, align 4, !dbg !49 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc27_7.2.temp), !dbg !49 // CHECK:STDOUT: %.loc27_5.2 = load i32, ptr %x, align 4, !dbg !50 -// CHECK:STDOUT: %D.call = call i32 @_CD.Main.980bd46fd9fb5b99(i32 %.loc27_5.2), !dbg !49 +// CHECK:STDOUT: %D.call = call i32 @_CD.Main.4bee6dcdea6ba756(i32 %.loc27_5.2), !dbg !49 // CHECK:STDOUT: store i32 %D.call, ptr %.loc27_7.2.temp, align 4, !dbg !49 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %.loc27_7.2.temp), !dbg !49 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %.loc27_7.2.temp), !dbg !49 // CHECK:STDOUT: ret void, !dbg !51 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CB.Main.3501867c4f2a2363(ptr %x) #0 !dbg !52 { +// CHECK:STDOUT: define linkonce_odr void @_CB.Main.654604a4b99ed7de(ptr %x) #0 !dbg !52 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc27_7.2.temp = alloca double, align 8, !dbg !55 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc27_7.2.temp), !dbg !55 // CHECK:STDOUT: %.loc27_5.2 = load double, ptr %x, align 8, !dbg !56 -// CHECK:STDOUT: %D.call = call double @_CD.Main.3eb991d272a034fb(double %.loc27_5.2), !dbg !55 +// CHECK:STDOUT: %D.call = call double @_CD.Main.925563b151bf93f6(double %.loc27_5.2), !dbg !55 // CHECK:STDOUT: store double %D.call, ptr %.loc27_7.2.temp, align 8, !dbg !55 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %.loc27_7.2.temp), !dbg !55 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %.loc27_7.2.temp), !dbg !55 // CHECK:STDOUT: ret void, !dbg !57 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CD.Main.980bd46fd9fb5b99(i32 %x) #0 !dbg !58 { +// CHECK:STDOUT: define linkonce_odr i32 @_CD.Main.4bee6dcdea6ba756(i32 %x) #0 !dbg !58 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret i32 %x, !dbg !63 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CD.Main.3eb991d272a034fb(double %x) #0 !dbg !64 { +// CHECK:STDOUT: define linkonce_odr double @_CD.Main.925563b151bf93f6(double %x) #0 !dbg !64 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret double %x, !dbg !67 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 0, 1, 3, 2 } -// CHECK:STDOUT: uselistorder ptr @_CA.Main.22a6f624d7af1d76, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CA.Main.7c9378dab434d9d8, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -158,57 +158,57 @@ fn M() { // CHECK:STDOUT: !11 = !DILocation(line: 40, column: 5, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 40, column: 3, scope: !4) // CHECK:STDOUT: !13 = !DILocation(line: 35, column: 1, scope: !4) -// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 39, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) +// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 39, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) // CHECK:STDOUT: !15 = !DISubroutineType(types: !16) // CHECK:STDOUT: !16 = !{null, !17} // CHECK:STDOUT: !17 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !18 = !{!19} // CHECK:STDOUT: !19 = !DILocalVariable(arg: 1, scope: !14, type: !17) // CHECK:STDOUT: !20 = !DILocation(line: 39, column: 3, scope: !14) -// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 40, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 40, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !22 = !DISubroutineType(types: !23) // CHECK:STDOUT: !23 = !{null, !24} // CHECK:STDOUT: !24 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !21, type: !24) // CHECK:STDOUT: !27 = !DILocation(line: 40, column: 3, scope: !21) -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.e1a3fb6aafdc450b", scope: null, file: !3, line: 30, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.3f49c03818d8362d", scope: null, file: !3, line: 30, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) // CHECK:STDOUT: !29 = !{!30} // CHECK:STDOUT: !30 = !DILocalVariable(arg: 1, scope: !28, type: !24) // CHECK:STDOUT: !31 = !DILocation(line: 31, column: 3, scope: !28) // CHECK:STDOUT: !32 = !DILocation(line: 32, column: 3, scope: !28) // CHECK:STDOUT: !33 = !DILocation(line: 30, column: 1, scope: !28) -// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.3501867c4f2a2363", scope: null, file: !3, line: 30, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) +// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.654604a4b99ed7de", scope: null, file: !3, line: 30, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) // CHECK:STDOUT: !35 = !{!36} // CHECK:STDOUT: !36 = !DILocalVariable(arg: 1, scope: !34, type: !24) // CHECK:STDOUT: !37 = !DILocation(line: 31, column: 3, scope: !34) // CHECK:STDOUT: !38 = !DILocation(line: 32, column: 3, scope: !34) // CHECK:STDOUT: !39 = !DILocation(line: 30, column: 1, scope: !34) -// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.22a6f624d7af1d76", scope: null, file: !3, line: 18, type: !41, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43) +// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.7c9378dab434d9d8", scope: null, file: !3, line: 18, type: !41, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43) // CHECK:STDOUT: !41 = !DISubroutineType(types: !42) // CHECK:STDOUT: !42 = !{!24, !24} // CHECK:STDOUT: !43 = !{!44} // CHECK:STDOUT: !44 = !DILocalVariable(arg: 1, scope: !40, type: !24) // CHECK:STDOUT: !45 = !DILocation(line: 19, column: 3, scope: !40) -// CHECK:STDOUT: !46 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.e1a3fb6aafdc450b", scope: null, file: !3, line: 26, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !47) +// CHECK:STDOUT: !46 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.3f49c03818d8362d", scope: null, file: !3, line: 26, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !47) // CHECK:STDOUT: !47 = !{!48} // CHECK:STDOUT: !48 = !DILocalVariable(arg: 1, scope: !46, type: !24) // CHECK:STDOUT: !49 = !DILocation(line: 27, column: 3, scope: !46) // CHECK:STDOUT: !50 = !DILocation(line: 27, column: 5, scope: !46) // CHECK:STDOUT: !51 = !DILocation(line: 26, column: 1, scope: !46) -// CHECK:STDOUT: !52 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.3501867c4f2a2363", scope: null, file: !3, line: 26, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !53) +// CHECK:STDOUT: !52 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.654604a4b99ed7de", scope: null, file: !3, line: 26, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !53) // CHECK:STDOUT: !53 = !{!54} // CHECK:STDOUT: !54 = !DILocalVariable(arg: 1, scope: !52, type: !24) // CHECK:STDOUT: !55 = !DILocation(line: 27, column: 3, scope: !52) // CHECK:STDOUT: !56 = !DILocation(line: 27, column: 5, scope: !52) // CHECK:STDOUT: !57 = !DILocation(line: 26, column: 1, scope: !52) -// CHECK:STDOUT: !58 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.980bd46fd9fb5b99", scope: null, file: !3, line: 22, type: !59, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !61) +// CHECK:STDOUT: !58 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 22, type: !59, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !61) // CHECK:STDOUT: !59 = !DISubroutineType(types: !60) // CHECK:STDOUT: !60 = !{!17, !17} // CHECK:STDOUT: !61 = !{!62} // CHECK:STDOUT: !62 = !DILocalVariable(arg: 1, scope: !58, type: !17) // CHECK:STDOUT: !63 = !DILocation(line: 23, column: 3, scope: !58) -// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.3eb991d272a034fb", scope: null, file: !3, line: 22, type: !41, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !65) +// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.925563b151bf93f6", scope: null, file: !3, line: 22, type: !41, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !65) // CHECK:STDOUT: !65 = !{!66} // CHECK:STDOUT: !66 = !DILocalVariable(arg: 1, scope: !64, type: !24) // CHECK:STDOUT: !67 = !DILocation(line: 23, column: 3, scope: !64) diff --git a/toolchain/lower/testdata/function/generic/call_different_associated_const.carbon b/toolchain/lower/testdata/function/generic/call_different_associated_const.carbon index baf8afe76ba4..945cbe2ca357 100644 --- a/toolchain/lower/testdata/function/generic/call_different_associated_const.carbon +++ b/toolchain/lower/testdata/function/generic/call_different_associated_const.carbon @@ -43,13 +43,13 @@ fn H() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CH.Main() #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CG.Main.9eb403a5147d3fb6(), !dbg !7 -// CHECK:STDOUT: call void @_CG.Main.29fe3e1e75d88d28(), !dbg !8 +// CHECK:STDOUT: call void @_CG.Main.f40a233150cc4b3d(), !dbg !7 +// CHECK:STDOUT: call void @_CG.Main.b946772249420228(), !dbg !8 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CG.Main.9eb403a5147d3fb6() #0 !dbg !10 { +// CHECK:STDOUT: define linkonce_odr void @_CG.Main.f40a233150cc4b3d() #0 !dbg !10 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %_.var = alloca ptr, align 8, !dbg !11 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !11 @@ -58,7 +58,7 @@ fn H() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CG.Main.29fe3e1e75d88d28() #0 !dbg !13 { +// CHECK:STDOUT: define linkonce_odr void @_CG.Main.b946772249420228() #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %_.var = alloca ptr, align 8, !dbg !14 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !14 @@ -88,9 +88,9 @@ fn H() { // CHECK:STDOUT: !7 = !DILocation(line: 36, column: 3, scope: !4) // CHECK:STDOUT: !8 = !DILocation(line: 37, column: 3, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 35, column: 1, scope: !4) -// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.9eb403a5147d3fb6", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.f40a233150cc4b3d", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !11 = !DILocation(line: 23, column: 3, scope: !10) // CHECK:STDOUT: !12 = !DILocation(line: 22, column: 1, scope: !10) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.29fe3e1e75d88d28", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.b946772249420228", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !14 = !DILocation(line: 23, column: 3, scope: !13) // CHECK:STDOUT: !15 = !DILocation(line: 22, column: 1, scope: !13) diff --git a/toolchain/lower/testdata/function/generic/call_different_impls.carbon b/toolchain/lower/testdata/function/generic/call_different_impls.carbon index f0d14d135c3f..4d4b3092855a 100644 --- a/toolchain/lower/testdata/function/generic/call_different_impls.carbon +++ b/toolchain/lower/testdata/function/generic/call_different_impls.carbon @@ -55,22 +55,22 @@ fn Run() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @main() #0 !dbg !12 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CG.Main.3e475381c3e5acc5(), !dbg !16 -// CHECK:STDOUT: call void @_CG.Main.c00b4ba37166674e(), !dbg !17 +// CHECK:STDOUT: call void @_CG.Main.6a57547e3d5e7e4b(), !dbg !16 +// CHECK:STDOUT: call void @_CG.Main.904bfec8a416ba3c(), !dbg !17 // CHECK:STDOUT: ret i32 0, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: declare i32 @printf(ptr, ...) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CG.Main.3e475381c3e5acc5() #0 !dbg !19 { +// CHECK:STDOUT: define linkonce_odr void @_CG.Main.6a57547e3d5e7e4b() #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @"_CF.X.Main:I.Main"(), !dbg !20 // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CG.Main.c00b4ba37166674e() #0 !dbg !22 { +// CHECK:STDOUT: define linkonce_odr void @_CG.Main.904bfec8a416ba3c() #0 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @"_CF.Y.Main:I.Main"(), !dbg !23 // CHECK:STDOUT: ret void, !dbg !24 @@ -103,9 +103,9 @@ fn Run() { // CHECK:STDOUT: !16 = !DILocation(line: 32, column: 3, scope: !12) // CHECK:STDOUT: !17 = !DILocation(line: 33, column: 3, scope: !12) // CHECK:STDOUT: !18 = !DILocation(line: 31, column: 1, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.3e475381c3e5acc5", scope: null, file: !3, line: 29, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.6a57547e3d5e7e4b", scope: null, file: !3, line: 29, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !20 = !DILocation(line: 29, column: 15, scope: !19) // CHECK:STDOUT: !21 = !DILocation(line: 29, column: 1, scope: !19) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.c00b4ba37166674e", scope: null, file: !3, line: 29, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.904bfec8a416ba3c", scope: null, file: !3, line: 29, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !23 = !DILocation(line: 29, column: 15, scope: !22) // CHECK:STDOUT: !24 = !DILocation(line: 29, column: 1, scope: !22) diff --git a/toolchain/lower/testdata/function/generic/call_different_impls_with_const.carbon b/toolchain/lower/testdata/function/generic/call_different_impls_with_const.carbon index bfa828b483f4..61d205e12dd5 100644 --- a/toolchain/lower/testdata/function/generic/call_different_impls_with_const.carbon +++ b/toolchain/lower/testdata/function/generic/call_different_impls_with_const.carbon @@ -55,7 +55,7 @@ fn Run() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !10 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !10 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -70,15 +70,15 @@ fn Run() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @main() #0 !dbg !22 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CG.Main.2c109917e68e45e0(), !dbg !23 -// CHECK:STDOUT: call void @_CG.Main.ff7f38a1bc5fd77e(), !dbg !24 +// CHECK:STDOUT: call void @_CG.Main.5a4d21d1578315a8(), !dbg !23 +// CHECK:STDOUT: call void @_CG.Main.758a1d862e17e260(), !dbg !24 // CHECK:STDOUT: ret i32 0, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: declare i32 @printf(ptr, ...) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CG.Main.2c109917e68e45e0() #0 !dbg !26 { +// CHECK:STDOUT: define linkonce_odr void @_CG.Main.5a4d21d1578315a8() #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc37_20.1.temp = alloca i1, align 1, !dbg !29 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc37_20.1.temp), !dbg !29 @@ -91,14 +91,14 @@ fn Run() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CG.Main.ff7f38a1bc5fd77e() #0 !dbg !31 { +// CHECK:STDOUT: define linkonce_odr void @_CG.Main.758a1d862e17e260() #0 !dbg !31 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc37_20.1.temp = alloca i32, align 4, !dbg !32 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc37_20.1.temp), !dbg !32 // CHECK:STDOUT: %I.WithSelf.F.call = call i32 @"_CF.Y.Main:I.Main"(), !dbg !32 // CHECK:STDOUT: store i32 %I.WithSelf.F.call, ptr %.loc37_20.1.temp, align 4, !dbg !32 // CHECK:STDOUT: %.loc37_20.3 = load i32, ptr %.loc37_20.1.temp, align 4, !dbg !32 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %.loc37_20.1.temp), !dbg !32 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %.loc37_20.1.temp), !dbg !32 // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -125,7 +125,7 @@ fn Run() { // CHECK:STDOUT: !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !8 = !DILocation(line: 22, column: 5, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 23, column: 5, scope: !4) -// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 27, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 27, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !11 = !DISubroutineType(types: !12) // CHECK:STDOUT: !12 = !{null, !13} // CHECK:STDOUT: !13 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) @@ -141,11 +141,11 @@ fn Run() { // CHECK:STDOUT: !23 = !DILocation(line: 41, column: 3, scope: !22) // CHECK:STDOUT: !24 = !DILocation(line: 42, column: 3, scope: !22) // CHECK:STDOUT: !25 = !DILocation(line: 40, column: 1, scope: !22) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.2c109917e68e45e0", scope: null, file: !3, line: 36, type: !27, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.5a4d21d1578315a8", scope: null, file: !3, line: 36, type: !27, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !27 = !DISubroutineType(types: !28) // CHECK:STDOUT: !28 = !{null} // CHECK:STDOUT: !29 = !DILocation(line: 37, column: 16, scope: !26) // CHECK:STDOUT: !30 = !DILocation(line: 36, column: 1, scope: !26) -// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.ff7f38a1bc5fd77e", scope: null, file: !3, line: 36, type: !27, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.758a1d862e17e260", scope: null, file: !3, line: 36, type: !27, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !32 = !DILocation(line: 37, column: 16, scope: !31) // CHECK:STDOUT: !33 = !DILocation(line: 36, column: 1, scope: !31) diff --git a/toolchain/lower/testdata/function/generic/call_different_specific.carbon b/toolchain/lower/testdata/function/generic/call_different_specific.carbon index cb44cacd893a..6e8d411f55e6 100644 --- a/toolchain/lower/testdata/function/generic/call_different_specific.carbon +++ b/toolchain/lower/testdata/function/generic/call_different_specific.carbon @@ -52,66 +52,66 @@ fn M(ptr_i32: i32*, ptr_f64: f64*) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CM.Main(ptr %ptr_i32, ptr %ptr_f64) #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main.6d535d38260d6085(ptr %ptr_i32), !dbg !11 -// CHECK:STDOUT: call void @_CF.Main.d2ab8d70ad969526(ptr %ptr_f64), !dbg !12 +// CHECK:STDOUT: call void @_CF.Main.3f49c03818d8362d(ptr %ptr_i32), !dbg !11 +// CHECK:STDOUT: call void @_CF.Main.654604a4b99ed7de(ptr %ptr_f64), !dbg !12 // CHECK:STDOUT: ret void, !dbg !13 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !14 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !14 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !20 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !21 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !21 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.6d535d38260d6085(ptr %x) #0 !dbg !27 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.3f49c03818d8362d(ptr %x) #0 !dbg !27 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %A.call = call %type @_CA.Main.464d8e7ee684ceec(%type zeroinitializer), !dbg !30 -// CHECK:STDOUT: call void @_CB.Main.6d535d38260d6085(ptr %x), !dbg !31 +// CHECK:STDOUT: %A.call = call %type @_CA.Main.7c9378dab434d9d8(%type zeroinitializer), !dbg !30 +// CHECK:STDOUT: call void @_CB.Main.3f49c03818d8362d(ptr %x), !dbg !31 // CHECK:STDOUT: ret void, !dbg !32 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.d2ab8d70ad969526(ptr %x) #0 !dbg !33 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.654604a4b99ed7de(ptr %x) #0 !dbg !33 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %A.call = call %type @_CA.Main.464d8e7ee684ceec(%type zeroinitializer), !dbg !36 -// CHECK:STDOUT: call void @_CB.Main.d2ab8d70ad969526(ptr %x), !dbg !37 +// CHECK:STDOUT: %A.call = call %type @_CA.Main.7c9378dab434d9d8(%type zeroinitializer), !dbg !36 +// CHECK:STDOUT: call void @_CB.Main.654604a4b99ed7de(ptr %x), !dbg !37 // CHECK:STDOUT: ret void, !dbg !38 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr %type @_CA.Main.464d8e7ee684ceec(%type %x) #0 !dbg !39 { +// CHECK:STDOUT: define linkonce_odr %type @_CA.Main.7c9378dab434d9d8(%type %x) #0 !dbg !39 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret %type %x, !dbg !44 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CB.Main.6d535d38260d6085(ptr %x) #0 !dbg !45 { +// CHECK:STDOUT: define linkonce_odr void @_CB.Main.3f49c03818d8362d(ptr %x) #0 !dbg !45 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc34_7.2.temp = alloca i32, align 4, !dbg !48 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc34_7.2.temp), !dbg !48 // CHECK:STDOUT: %.loc34_5.2 = load i32, ptr %x, align 4, !dbg !49 -// CHECK:STDOUT: %D.call = call i32 @_CD.Main.986e4fbf737c841b(i32 %.loc34_5.2), !dbg !48 +// CHECK:STDOUT: %D.call = call i32 @_CD.Main.4bee6dcdea6ba756(i32 %.loc34_5.2), !dbg !48 // CHECK:STDOUT: store i32 %D.call, ptr %.loc34_7.2.temp, align 4, !dbg !48 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %.loc34_7.2.temp), !dbg !48 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %.loc34_7.2.temp), !dbg !48 // CHECK:STDOUT: ret void, !dbg !50 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CB.Main.d2ab8d70ad969526(ptr %x) #0 !dbg !51 { +// CHECK:STDOUT: define linkonce_odr void @_CB.Main.654604a4b99ed7de(ptr %x) #0 !dbg !51 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc34_7.2.temp = alloca double, align 8, !dbg !54 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc34_7.2.temp), !dbg !54 // CHECK:STDOUT: %.loc34_5.2 = load double, ptr %x, align 8, !dbg !55 -// CHECK:STDOUT: %D.call = call double @_CD.Main.c6ad9461f716a4dc(double %.loc34_5.2), !dbg !54 +// CHECK:STDOUT: %D.call = call double @_CD.Main.925563b151bf93f6(double %.loc34_5.2), !dbg !54 // CHECK:STDOUT: store double %D.call, ptr %.loc34_7.2.temp, align 8, !dbg !54 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %.loc34_7.2.temp), !dbg !54 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %.loc34_7.2.temp), !dbg !54 // CHECK:STDOUT: ret void, !dbg !56 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -119,19 +119,19 @@ fn M(ptr_i32: i32*, ptr_f64: f64*) { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CD.Main.986e4fbf737c841b(i32 %x) #0 !dbg !57 { +// CHECK:STDOUT: define linkonce_odr i32 @_CD.Main.4bee6dcdea6ba756(i32 %x) #0 !dbg !57 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret i32 %x, !dbg !62 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CD.Main.c6ad9461f716a4dc(double %x) #0 !dbg !63 { +// CHECK:STDOUT: define linkonce_odr double @_CD.Main.925563b151bf93f6(double %x) #0 !dbg !63 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret double %x, !dbg !66 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @_CA.Main.464d8e7ee684ceec, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CA.Main.7c9378dab434d9d8, { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -154,56 +154,56 @@ fn M(ptr_i32: i32*, ptr_f64: f64*) { // CHECK:STDOUT: !11 = !DILocation(line: 43, column: 3, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 44, column: 3, scope: !4) // CHECK:STDOUT: !13 = !DILocation(line: 42, column: 1, scope: !4) -// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 43, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) +// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 43, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) // CHECK:STDOUT: !15 = !DISubroutineType(types: !16) // CHECK:STDOUT: !16 = !{null, !17} // CHECK:STDOUT: !17 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !18 = !{!19} // CHECK:STDOUT: !19 = !DILocalVariable(arg: 1, scope: !14, type: !17) // CHECK:STDOUT: !20 = !DILocation(line: 43, column: 3, scope: !14) -// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 44, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 44, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !22 = !DISubroutineType(types: !23) // CHECK:STDOUT: !23 = !{null, !7} // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !21, type: !7) // CHECK:STDOUT: !26 = !DILocation(line: 44, column: 3, scope: !21) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.6d535d38260d6085", scope: null, file: !3, line: 37, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.3f49c03818d8362d", scope: null, file: !3, line: 37, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) // CHECK:STDOUT: !28 = !{!29} // CHECK:STDOUT: !29 = !DILocalVariable(arg: 1, scope: !27, type: !7) // CHECK:STDOUT: !30 = !DILocation(line: 38, column: 3, scope: !27) // CHECK:STDOUT: !31 = !DILocation(line: 39, column: 3, scope: !27) // CHECK:STDOUT: !32 = !DILocation(line: 37, column: 1, scope: !27) -// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.d2ab8d70ad969526", scope: null, file: !3, line: 37, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) +// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.654604a4b99ed7de", scope: null, file: !3, line: 37, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) // CHECK:STDOUT: !34 = !{!35} // CHECK:STDOUT: !35 = !DILocalVariable(arg: 1, scope: !33, type: !7) // CHECK:STDOUT: !36 = !DILocation(line: 38, column: 3, scope: !33) // CHECK:STDOUT: !37 = !DILocation(line: 39, column: 3, scope: !33) // CHECK:STDOUT: !38 = !DILocation(line: 37, column: 1, scope: !33) -// CHECK:STDOUT: !39 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.464d8e7ee684ceec", scope: null, file: !3, line: 25, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) +// CHECK:STDOUT: !39 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.7c9378dab434d9d8", scope: null, file: !3, line: 25, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) // CHECK:STDOUT: !40 = !DISubroutineType(types: !41) // CHECK:STDOUT: !41 = !{!7, !7} // CHECK:STDOUT: !42 = !{!43} // CHECK:STDOUT: !43 = !DILocalVariable(arg: 1, scope: !39, type: !7) // CHECK:STDOUT: !44 = !DILocation(line: 26, column: 3, scope: !39) -// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.6d535d38260d6085", scope: null, file: !3, line: 33, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) +// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.3f49c03818d8362d", scope: null, file: !3, line: 33, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) // CHECK:STDOUT: !46 = !{!47} // CHECK:STDOUT: !47 = !DILocalVariable(arg: 1, scope: !45, type: !7) // CHECK:STDOUT: !48 = !DILocation(line: 34, column: 3, scope: !45) // CHECK:STDOUT: !49 = !DILocation(line: 34, column: 5, scope: !45) // CHECK:STDOUT: !50 = !DILocation(line: 33, column: 1, scope: !45) -// CHECK:STDOUT: !51 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.d2ab8d70ad969526", scope: null, file: !3, line: 33, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !52) +// CHECK:STDOUT: !51 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.654604a4b99ed7de", scope: null, file: !3, line: 33, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !52) // CHECK:STDOUT: !52 = !{!53} // CHECK:STDOUT: !53 = !DILocalVariable(arg: 1, scope: !51, type: !7) // CHECK:STDOUT: !54 = !DILocation(line: 34, column: 3, scope: !51) // CHECK:STDOUT: !55 = !DILocation(line: 34, column: 5, scope: !51) // CHECK:STDOUT: !56 = !DILocation(line: 33, column: 1, scope: !51) -// CHECK:STDOUT: !57 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.986e4fbf737c841b", scope: null, file: !3, line: 29, type: !58, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !60) +// CHECK:STDOUT: !57 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 29, type: !58, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !60) // CHECK:STDOUT: !58 = !DISubroutineType(types: !59) // CHECK:STDOUT: !59 = !{!17, !17} // CHECK:STDOUT: !60 = !{!61} // CHECK:STDOUT: !61 = !DILocalVariable(arg: 1, scope: !57, type: !17) // CHECK:STDOUT: !62 = !DILocation(line: 30, column: 3, scope: !57) -// CHECK:STDOUT: !63 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 29, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !64) +// CHECK:STDOUT: !63 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.925563b151bf93f6", scope: null, file: !3, line: 29, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !64) // CHECK:STDOUT: !64 = !{!65} // CHECK:STDOUT: !65 = !DILocalVariable(arg: 1, scope: !63, type: !7) // CHECK:STDOUT: !66 = !DILocation(line: 30, column: 3, scope: !63) diff --git a/toolchain/lower/testdata/function/generic/call_impl_function.carbon b/toolchain/lower/testdata/function/generic/call_impl_function.carbon index 75791315eeff..921ff413d038 100644 --- a/toolchain/lower/testdata/function/generic/call_impl_function.carbon +++ b/toolchain/lower/testdata/function/generic/call_impl_function.carbon @@ -47,7 +47,7 @@ fn G() { // CHECK:STDOUT: source_filename = "call_impl_function.carbon" // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define i32 @"_CF.ImplsSomeInterface.Main:SomeInterface.c8fd090a2e741f70.Main"(i32 %x) #0 !dbg !4 { +// CHECK:STDOUT: define i32 @"_CF.ImplsSomeInterface.Main:SomeInterface.5e5386123d4b6287.Main"(i32 %x) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.Negate.impl.Op.call = sub i32 0, %x, !dbg !10 // CHECK:STDOUT: ret i32 %Int.as.Negate.impl.Op.call, !dbg !11 @@ -56,14 +56,14 @@ fn G() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CG.Main() #0 !dbg !12 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %CallGenericMethod.call = call i32 @_CCallGenericMethod.Main.ae0f2ca660e51227(i32 10), !dbg !15 +// CHECK:STDOUT: %CallGenericMethod.call = call i32 @_CCallGenericMethod.Main.2fa789f9db36d990(i32 10), !dbg !15 // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CCallGenericMethod.Main.ae0f2ca660e51227(i32 %x) #0 !dbg !17 { +// CHECK:STDOUT: define linkonce_odr i32 @_CCallGenericMethod.Main.2fa789f9db36d990(i32 %x) #0 !dbg !17 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %SomeInterface.WithSelf.F.call = call i32 @"_CF.ImplsSomeInterface.Main:SomeInterface.c8fd090a2e741f70.Main"(i32 %x), !dbg !20 +// CHECK:STDOUT: %SomeInterface.WithSelf.F.call = call i32 @"_CF.ImplsSomeInterface.Main:SomeInterface.5e5386123d4b6287.Main"(i32 %x), !dbg !20 // CHECK:STDOUT: ret i32 %SomeInterface.WithSelf.F.call, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -76,7 +76,7 @@ fn G() { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "call_impl_function.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.ImplsSomeInterface.Main:SomeInterface.c8fd090a2e741f70.Main", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.ImplsSomeInterface.Main:SomeInterface.5e5386123d4b6287.Main", scope: null, file: !3, line: 22, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{!7, !7} // CHECK:STDOUT: !7 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) @@ -89,7 +89,7 @@ fn G() { // CHECK:STDOUT: !14 = !{null} // CHECK:STDOUT: !15 = !DILocation(line: 40, column: 3, scope: !12) // CHECK:STDOUT: !16 = !DILocation(line: 39, column: 1, scope: !12) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "CallGenericMethod", linkageName: "_CCallGenericMethod.Main.ae0f2ca660e51227", scope: null, file: !3, line: 35, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "CallGenericMethod", linkageName: "_CCallGenericMethod.Main.2fa789f9db36d990", scope: null, file: !3, line: 35, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) // CHECK:STDOUT: !18 = !{!19} // CHECK:STDOUT: !19 = !DILocalVariable(arg: 1, scope: !17, type: !7) // CHECK:STDOUT: !20 = !DILocation(line: 36, column: 10, scope: !17) diff --git a/toolchain/lower/testdata/function/generic/call_method.carbon b/toolchain/lower/testdata/function/generic/call_method.carbon index e7226ec9369b..c7c5edf89179 100644 --- a/toolchain/lower/testdata/function/generic/call_method.carbon +++ b/toolchain/lower/testdata/function/generic/call_method.carbon @@ -37,20 +37,20 @@ fn CallF() -> i32 { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %n.var), !dbg !9 // CHECK:STDOUT: store i32 0, ptr %n.var, align 4, !dbg !9 // CHECK:STDOUT: %.loc22_14 = load i32, ptr %n.var, align 4, !dbg !10 -// CHECK:STDOUT: %C.F.call = call i32 @_CF.C.Main.980bd46fd9fb5b99(ptr %c.var, i32 %.loc22_14), !dbg !11 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %c.var), !dbg !8 +// CHECK:STDOUT: %C.F.call = call i32 @_CF.C.Main.4bee6dcdea6ba756(ptr %c.var, i32 %.loc22_14), !dbg !11 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !8 // CHECK:STDOUT: ret i32 %C.F.call, !dbg !12 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !13 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } @@ -62,7 +62,7 @@ fn CallF() -> i32 { // CHECK:STDOUT: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.C.Main.980bd46fd9fb5b99(ptr %self, i32 %x) #0 !dbg !26 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.C.Main.4bee6dcdea6ba756(ptr %self, i32 %x) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret i32 %x, !dbg !32 // CHECK:STDOUT: } @@ -89,20 +89,20 @@ fn CallF() -> i32 { // CHECK:STDOUT: !10 = !DILocation(line: 22, column: 14, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 22, column: 10, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 22, column: 3, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 21, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 21, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !14 = !DISubroutineType(types: !15) // CHECK:STDOUT: !15 = !{null, !7} // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !13, type: !7) // CHECK:STDOUT: !18 = !DILocation(line: 21, column: 3, scope: !13) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b8b1f433ad216ca6:core.Destroy.Core", scope: null, file: !3, line: 20, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 20, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !22} // CHECK:STDOUT: !22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !19, type: !22) // CHECK:STDOUT: !25 = !DILocation(line: 20, column: 3, scope: !19) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.Main.980bd46fd9fb5b99", scope: null, file: !3, line: 14, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 14, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) // CHECK:STDOUT: !27 = !DISubroutineType(types: !28) // CHECK:STDOUT: !28 = !{!7, !22, !7} // CHECK:STDOUT: !29 = !{!30, !31} diff --git a/toolchain/lower/testdata/function/generic/call_recursive_basic.carbon b/toolchain/lower/testdata/function/generic/call_recursive_basic.carbon index 7038d0a7365a..6ddc484f2054 100644 --- a/toolchain/lower/testdata/function/generic/call_recursive_basic.carbon +++ b/toolchain/lower/testdata/function/generic/call_recursive_basic.carbon @@ -70,38 +70,38 @@ fn M() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_f64.var), !dbg !17 // CHECK:STDOUT: store ptr %m.var, ptr %ptr_f64.var, align 8, !dbg !17 // CHECK:STDOUT: %.loc34_5 = load i32, ptr %n.var, align 4, !dbg !20 -// CHECK:STDOUT: %F.call.loc34 = call i32 @_CF.Main.986e4fbf737c841b(i32 %.loc34_5, i32 0), !dbg !21 +// CHECK:STDOUT: %F.call.loc34 = call i32 @_CF.Main.4bee6dcdea6ba756(i32 %.loc34_5, i32 0), !dbg !21 // CHECK:STDOUT: %.loc35_5 = load double, ptr %m.var, align 8, !dbg !22 -// CHECK:STDOUT: %F.call.loc35 = call double @_CF.Main.c6ad9461f716a4dc(double %.loc35_5, i32 0), !dbg !23 +// CHECK:STDOUT: %F.call.loc35 = call double @_CF.Main.925563b151bf93f6(double %.loc35_5, i32 0), !dbg !23 // CHECK:STDOUT: %.loc36_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !24 -// CHECK:STDOUT: %F.call.loc36 = call ptr @_CF.Main.c6a12952cc402d96(ptr %.loc36_5, i32 0), !dbg !25 +// CHECK:STDOUT: %F.call.loc36 = call ptr @_CF.Main.a87c59609561b819(ptr %.loc36_5, i32 0), !dbg !25 // CHECK:STDOUT: %.loc37_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !26 -// CHECK:STDOUT: %F.call.loc37 = call ptr @_CF.Main.c6a12952cc402d96(ptr %.loc37_5, i32 0), !dbg !27 +// CHECK:STDOUT: %F.call.loc37 = call ptr @_CF.Main.a87c59609561b819(ptr %.loc37_5, i32 0), !dbg !27 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !18 // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %c.var, ptr align 1 @C.val.loc15_51, i64 0, i1 false), !dbg !18 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc40_9.2.temp), !dbg !19 -// CHECK:STDOUT: call void @_CF.Main.cbacb6af70d3d312(ptr %.loc40_9.2.temp, ptr %c.var, i32 0), !dbg !19 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %.loc40_9.2.temp), !dbg !19 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %c.var), !dbg !18 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %m.var), !dbg !15 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !14 +// CHECK:STDOUT: call void @_CF.Main.23ea5646f3728a97(ptr %.loc40_9.2.temp, ptr %c.var, i32 0), !dbg !19 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %.loc40_9.2.temp), !dbg !19 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !18 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %m.var), !dbg !15 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !14 // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %self) #0 !dbg !29 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !29 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !34 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !35 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !35 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !38 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !39 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !39 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !45 // CHECK:STDOUT: } @@ -113,7 +113,7 @@ fn M() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !46 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !46 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !52 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !53 @@ -123,12 +123,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !55 -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.986e4fbf737c841b(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !56 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.4bee6dcdea6ba756(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !56 // CHECK:STDOUT: ret i32 %F.call, !dbg !57 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CF.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !58 { +// CHECK:STDOUT: define linkonce_odr double @_CF.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !58 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !64 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !65 @@ -138,12 +138,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !67 -// CHECK:STDOUT: %F.call = call double @_CF.Main.c6ad9461f716a4dc(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !68 +// CHECK:STDOUT: %F.call = call double @_CF.Main.925563b151bf93f6(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !68 // CHECK:STDOUT: ret double %F.call, !dbg !69 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CF.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !70 { +// CHECK:STDOUT: define linkonce_odr ptr @_CF.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !70 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !74 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !75 @@ -153,12 +153,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !77 -// CHECK:STDOUT: %F.call = call ptr @_CF.Main.c6a12952cc402d96(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !78 +// CHECK:STDOUT: %F.call = call ptr @_CF.Main.a87c59609561b819(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !78 // CHECK:STDOUT: ret ptr %F.call, !dbg !79 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.cbacb6af70d3d312(ptr sret({}) %return, ptr %x, i32 %count) #0 !dbg !80 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.23ea5646f3728a97(ptr sret({}) %return, ptr %x, i32 %count) #0 !dbg !80 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !84 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !85 @@ -169,15 +169,15 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !88 -// CHECK:STDOUT: call void @_CF.Main.cbacb6af70d3d312(ptr %return, ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !89 +// CHECK:STDOUT: call void @_CF.Main.23ea5646f3728a97(ptr %return, ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !89 // CHECK:STDOUT: ret void, !dbg !90 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.b8b1f433ad216ca6:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.907c496eccf2294c:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.memcpy.p0.p0.i64, { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 5, 4, 3, 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CF.Main.c6a12952cc402d96, { 1, 2, 0 } +// CHECK:STDOUT: uselistorder ptr @_CF.Main.a87c59609561b819, { 1, 2, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -214,24 +214,24 @@ fn M() { // CHECK:STDOUT: !26 = !DILocation(line: 37, column: 5, scope: !11) // CHECK:STDOUT: !27 = !DILocation(line: 37, column: 3, scope: !11) // CHECK:STDOUT: !28 = !DILocation(line: 28, column: 1, scope: !11) -// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b8b1f433ad216ca6:core.Destroy.Core", scope: null, file: !3, line: 40, type: !30, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !32) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 40, type: !30, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !32) // CHECK:STDOUT: !30 = !DISubroutineType(types: !31) // CHECK:STDOUT: !31 = !{null, !7} // CHECK:STDOUT: !32 = !{!33} // CHECK:STDOUT: !33 = !DILocalVariable(arg: 1, scope: !29, type: !7) // CHECK:STDOUT: !34 = !DILocation(line: 40, column: 3, scope: !29) -// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 30, type: !30, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !36) +// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 30, type: !30, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !36) // CHECK:STDOUT: !36 = !{!37} // CHECK:STDOUT: !37 = !DILocalVariable(arg: 1, scope: !35, type: !7) // CHECK:STDOUT: !38 = !DILocation(line: 30, column: 3, scope: !35) -// CHECK:STDOUT: !39 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 29, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43) +// CHECK:STDOUT: !39 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 29, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !43) // CHECK:STDOUT: !40 = !DISubroutineType(types: !41) // CHECK:STDOUT: !41 = !{null, !42} // CHECK:STDOUT: !42 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !43 = !{!44} // CHECK:STDOUT: !44 = !DILocalVariable(arg: 1, scope: !39, type: !42) // CHECK:STDOUT: !45 = !DILocation(line: 29, column: 3, scope: !39) -// CHECK:STDOUT: !46 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.986e4fbf737c841b", scope: null, file: !3, line: 21, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !49) +// CHECK:STDOUT: !46 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 21, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !49) // CHECK:STDOUT: !47 = !DISubroutineType(types: !48) // CHECK:STDOUT: !48 = !{!42, !42, !42} // CHECK:STDOUT: !49 = !{!50, !51} @@ -243,7 +243,7 @@ fn M() { // CHECK:STDOUT: !55 = !DILocation(line: 25, column: 15, scope: !46) // CHECK:STDOUT: !56 = !DILocation(line: 25, column: 10, scope: !46) // CHECK:STDOUT: !57 = !DILocation(line: 25, column: 3, scope: !46) -// CHECK:STDOUT: !58 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 21, type: !59, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !61) +// CHECK:STDOUT: !58 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.925563b151bf93f6", scope: null, file: !3, line: 21, type: !59, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !61) // CHECK:STDOUT: !59 = !DISubroutineType(types: !60) // CHECK:STDOUT: !60 = !{!7, !7, !42} // CHECK:STDOUT: !61 = !{!62, !63} @@ -255,7 +255,7 @@ fn M() { // CHECK:STDOUT: !67 = !DILocation(line: 25, column: 15, scope: !58) // CHECK:STDOUT: !68 = !DILocation(line: 25, column: 10, scope: !58) // CHECK:STDOUT: !69 = !DILocation(line: 25, column: 3, scope: !58) -// CHECK:STDOUT: !70 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c6a12952cc402d96", scope: null, file: !3, line: 21, type: !59, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !71) +// CHECK:STDOUT: !70 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.a87c59609561b819", scope: null, file: !3, line: 21, type: !59, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !71) // CHECK:STDOUT: !71 = !{!72, !73} // CHECK:STDOUT: !72 = !DILocalVariable(arg: 1, scope: !70, type: !7) // CHECK:STDOUT: !73 = !DILocalVariable(arg: 2, scope: !70, type: !42) @@ -265,7 +265,7 @@ fn M() { // CHECK:STDOUT: !77 = !DILocation(line: 25, column: 15, scope: !70) // CHECK:STDOUT: !78 = !DILocation(line: 25, column: 10, scope: !70) // CHECK:STDOUT: !79 = !DILocation(line: 25, column: 3, scope: !70) -// CHECK:STDOUT: !80 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.cbacb6af70d3d312", scope: null, file: !3, line: 21, type: !59, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !81) +// CHECK:STDOUT: !80 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.23ea5646f3728a97", scope: null, file: !3, line: 21, type: !59, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !81) // CHECK:STDOUT: !81 = !{!82, !83} // CHECK:STDOUT: !82 = !DILocalVariable(arg: 1, scope: !80, type: !7) // CHECK:STDOUT: !83 = !DILocalVariable(arg: 2, scope: !80, type: !42) diff --git a/toolchain/lower/testdata/function/generic/call_recursive_diamond.carbon b/toolchain/lower/testdata/function/generic/call_recursive_diamond.carbon index cbe9ed884e4a..1b614bf758cb 100644 --- a/toolchain/lower/testdata/function/generic/call_recursive_diamond.carbon +++ b/toolchain/lower/testdata/function/generic/call_recursive_diamond.carbon @@ -77,26 +77,26 @@ fn M() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_f64.var), !dbg !10 // CHECK:STDOUT: store ptr %m.var, ptr %ptr_f64.var, align 8, !dbg !10 // CHECK:STDOUT: %.loc53_5 = load i32, ptr %n.var, align 4, !dbg !11 -// CHECK:STDOUT: %A.call.loc53 = call i32 @_CA.Main.986e4fbf737c841b(i32 %.loc53_5, i32 0), !dbg !12 +// CHECK:STDOUT: %A.call.loc53 = call i32 @_CA.Main.4bee6dcdea6ba756(i32 %.loc53_5, i32 0), !dbg !12 // CHECK:STDOUT: %.loc54_5 = load double, ptr %m.var, align 8, !dbg !13 -// CHECK:STDOUT: %A.call.loc54 = call double @_CA.Main.c6ad9461f716a4dc(double %.loc54_5, i32 0), !dbg !14 +// CHECK:STDOUT: %A.call.loc54 = call double @_CA.Main.925563b151bf93f6(double %.loc54_5, i32 0), !dbg !14 // CHECK:STDOUT: %.loc55_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !15 -// CHECK:STDOUT: %A.call.loc55 = call ptr @_CA.Main.c6a12952cc402d96(ptr %.loc55_5, i32 0), !dbg !16 +// CHECK:STDOUT: %A.call.loc55 = call ptr @_CA.Main.a87c59609561b819(ptr %.loc55_5, i32 0), !dbg !16 // CHECK:STDOUT: %.loc56_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !17 -// CHECK:STDOUT: %A.call.loc56 = call ptr @_CA.Main.c6a12952cc402d96(ptr %.loc56_5, i32 0), !dbg !18 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %m.var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !7 +// CHECK:STDOUT: %A.call.loc56 = call ptr @_CA.Main.a87c59609561b819(ptr %.loc56_5, i32 0), !dbg !18 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %m.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !20 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !20 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !27 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !27 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } @@ -105,7 +105,7 @@ fn M() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CA.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !34 { +// CHECK:STDOUT: define linkonce_odr i32 @_CA.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !34 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !40 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc22, label %if.else.loc22, !dbg !41 @@ -119,16 +119,16 @@ fn M() { // CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc25, label %if.else.loc25, !dbg !44 // CHECK:STDOUT: // CHECK:STDOUT: if.then.loc25: ; preds = %if.else.loc22 -// CHECK:STDOUT: %B.call = call i32 @_CB.Main.986e4fbf737c841b(i32 %x, i32 %count), !dbg !45 +// CHECK:STDOUT: %B.call = call i32 @_CB.Main.4bee6dcdea6ba756(i32 %x, i32 %count), !dbg !45 // CHECK:STDOUT: ret i32 %B.call, !dbg !46 // CHECK:STDOUT: // CHECK:STDOUT: if.else.loc25: ; preds = %if.else.loc22 -// CHECK:STDOUT: %C.call = call i32 @_CC.Main.986e4fbf737c841b(i32 %x, i32 %count), !dbg !47 +// CHECK:STDOUT: %C.call = call i32 @_CC.Main.4bee6dcdea6ba756(i32 %x, i32 %count), !dbg !47 // CHECK:STDOUT: ret i32 %C.call, !dbg !48 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CA.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !49 { +// CHECK:STDOUT: define linkonce_odr double @_CA.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !49 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !55 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc22, label %if.else.loc22, !dbg !56 @@ -142,16 +142,16 @@ fn M() { // CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc25, label %if.else.loc25, !dbg !59 // CHECK:STDOUT: // CHECK:STDOUT: if.then.loc25: ; preds = %if.else.loc22 -// CHECK:STDOUT: %B.call = call double @_CB.Main.c6ad9461f716a4dc(double %x, i32 %count), !dbg !60 +// CHECK:STDOUT: %B.call = call double @_CB.Main.925563b151bf93f6(double %x, i32 %count), !dbg !60 // CHECK:STDOUT: ret double %B.call, !dbg !61 // CHECK:STDOUT: // CHECK:STDOUT: if.else.loc25: ; preds = %if.else.loc22 -// CHECK:STDOUT: %C.call = call double @_CC.Main.c6ad9461f716a4dc(double %x, i32 %count), !dbg !62 +// CHECK:STDOUT: %C.call = call double @_CC.Main.925563b151bf93f6(double %x, i32 %count), !dbg !62 // CHECK:STDOUT: ret double %C.call, !dbg !63 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CA.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !64 { +// CHECK:STDOUT: define linkonce_odr ptr @_CA.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !64 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !68 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc22, label %if.else.loc22, !dbg !69 @@ -165,95 +165,95 @@ fn M() { // CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc25, label %if.else.loc25, !dbg !72 // CHECK:STDOUT: // CHECK:STDOUT: if.then.loc25: ; preds = %if.else.loc22 -// CHECK:STDOUT: %B.call = call ptr @_CB.Main.c6a12952cc402d96(ptr %x, i32 %count), !dbg !73 +// CHECK:STDOUT: %B.call = call ptr @_CB.Main.a87c59609561b819(ptr %x, i32 %count), !dbg !73 // CHECK:STDOUT: ret ptr %B.call, !dbg !74 // CHECK:STDOUT: // CHECK:STDOUT: if.else.loc25: ; preds = %if.else.loc22 -// CHECK:STDOUT: %C.call = call ptr @_CC.Main.c6a12952cc402d96(ptr %x, i32 %count), !dbg !75 +// CHECK:STDOUT: %C.call = call ptr @_CC.Main.a87c59609561b819(ptr %x, i32 %count), !dbg !75 // CHECK:STDOUT: ret ptr %C.call, !dbg !76 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CB.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !77 { +// CHECK:STDOUT: define linkonce_odr i32 @_CB.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !77 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Print.call = call i32 (ptr, ...) @printf(ptr @printf.int.format, i32 1), !dbg !81 -// CHECK:STDOUT: %D.call = call i32 @_CD.Main.986e4fbf737c841b(i32 %x, i32 %count), !dbg !82 +// CHECK:STDOUT: %D.call = call i32 @_CD.Main.4bee6dcdea6ba756(i32 %x, i32 %count), !dbg !82 // CHECK:STDOUT: ret i32 %D.call, !dbg !83 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CC.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !84 { +// CHECK:STDOUT: define linkonce_odr i32 @_CC.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !84 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Print.call = call i32 (ptr, ...) @printf(ptr @printf.int.format, i32 2), !dbg !88 -// CHECK:STDOUT: %D.call = call i32 @_CD.Main.986e4fbf737c841b(i32 %x, i32 %count), !dbg !89 +// CHECK:STDOUT: %D.call = call i32 @_CD.Main.4bee6dcdea6ba756(i32 %x, i32 %count), !dbg !89 // CHECK:STDOUT: ret i32 %D.call, !dbg !90 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CB.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !91 { +// CHECK:STDOUT: define linkonce_odr double @_CB.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !91 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Print.call = call i32 (ptr, ...) @printf(ptr @printf.int.format, i32 1), !dbg !95 -// CHECK:STDOUT: %D.call = call double @_CD.Main.c6ad9461f716a4dc(double %x, i32 %count), !dbg !96 +// CHECK:STDOUT: %D.call = call double @_CD.Main.925563b151bf93f6(double %x, i32 %count), !dbg !96 // CHECK:STDOUT: ret double %D.call, !dbg !97 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CC.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !98 { +// CHECK:STDOUT: define linkonce_odr double @_CC.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !98 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Print.call = call i32 (ptr, ...) @printf(ptr @printf.int.format, i32 2), !dbg !102 -// CHECK:STDOUT: %D.call = call double @_CD.Main.c6ad9461f716a4dc(double %x, i32 %count), !dbg !103 +// CHECK:STDOUT: %D.call = call double @_CD.Main.925563b151bf93f6(double %x, i32 %count), !dbg !103 // CHECK:STDOUT: ret double %D.call, !dbg !104 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CB.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !105 { +// CHECK:STDOUT: define linkonce_odr ptr @_CB.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !105 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Print.call = call i32 (ptr, ...) @printf(ptr @printf.int.format, i32 1), !dbg !109 -// CHECK:STDOUT: %D.call = call ptr @_CD.Main.c6a12952cc402d96(ptr %x, i32 %count), !dbg !110 +// CHECK:STDOUT: %D.call = call ptr @_CD.Main.a87c59609561b819(ptr %x, i32 %count), !dbg !110 // CHECK:STDOUT: ret ptr %D.call, !dbg !111 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CC.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !112 { +// CHECK:STDOUT: define linkonce_odr ptr @_CC.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !112 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Print.call = call i32 (ptr, ...) @printf(ptr @printf.int.format, i32 2), !dbg !116 -// CHECK:STDOUT: %D.call = call ptr @_CD.Main.c6a12952cc402d96(ptr %x, i32 %count), !dbg !117 +// CHECK:STDOUT: %D.call = call ptr @_CD.Main.a87c59609561b819(ptr %x, i32 %count), !dbg !117 // CHECK:STDOUT: ret ptr %D.call, !dbg !118 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: declare i32 @printf(ptr, ...) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CD.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !119 { +// CHECK:STDOUT: define linkonce_odr i32 @_CD.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !119 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !123 -// CHECK:STDOUT: %A.call = call i32 @_CA.Main.986e4fbf737c841b(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !124 +// CHECK:STDOUT: %A.call = call i32 @_CA.Main.4bee6dcdea6ba756(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !124 // CHECK:STDOUT: ret i32 %A.call, !dbg !125 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CD.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !126 { +// CHECK:STDOUT: define linkonce_odr double @_CD.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !126 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !130 -// CHECK:STDOUT: %A.call = call double @_CA.Main.c6ad9461f716a4dc(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !131 +// CHECK:STDOUT: %A.call = call double @_CA.Main.925563b151bf93f6(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !131 // CHECK:STDOUT: ret double %A.call, !dbg !132 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CD.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !133 { +// CHECK:STDOUT: define linkonce_odr ptr @_CD.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !133 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !137 -// CHECK:STDOUT: %A.call = call ptr @_CA.Main.c6a12952cc402d96(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !138 +// CHECK:STDOUT: %A.call = call ptr @_CA.Main.a87c59609561b819(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !138 // CHECK:STDOUT: ret ptr %A.call, !dbg !139 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 3, 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CA.Main.c6a12952cc402d96, { 1, 2, 0 } +// CHECK:STDOUT: uselistorder ptr @_CA.Main.a87c59609561b819, { 1, 2, 0 } // CHECK:STDOUT: uselistorder ptr @printf, { 5, 4, 3, 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CD.Main.986e4fbf737c841b, { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CD.Main.c6ad9461f716a4dc, { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CD.Main.c6a12952cc402d96, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CD.Main.4bee6dcdea6ba756, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CD.Main.925563b151bf93f6, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CD.Main.a87c59609561b819, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -281,21 +281,21 @@ fn M() { // CHECK:STDOUT: !17 = !DILocation(line: 56, column: 5, scope: !4) // CHECK:STDOUT: !18 = !DILocation(line: 56, column: 3, scope: !4) // CHECK:STDOUT: !19 = !DILocation(line: 47, column: 1, scope: !4) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 49, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 49, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !21 = !DISubroutineType(types: !22) // CHECK:STDOUT: !22 = !{null, !23} // CHECK:STDOUT: !23 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !20, type: !23) // CHECK:STDOUT: !26 = !DILocation(line: 49, column: 3, scope: !20) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 48, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 48, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !28 = !DISubroutineType(types: !29) // CHECK:STDOUT: !29 = !{null, !30} // CHECK:STDOUT: !30 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !27, type: !30) // CHECK:STDOUT: !33 = !DILocation(line: 48, column: 3, scope: !27) -// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.986e4fbf737c841b", scope: null, file: !3, line: 21, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !37) +// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 21, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !37) // CHECK:STDOUT: !35 = !DISubroutineType(types: !36) // CHECK:STDOUT: !36 = !{!30, !30, !30} // CHECK:STDOUT: !37 = !{!38, !39} @@ -310,7 +310,7 @@ fn M() { // CHECK:STDOUT: !46 = !DILocation(line: 26, column: 5, scope: !34) // CHECK:STDOUT: !47 = !DILocation(line: 28, column: 12, scope: !34) // CHECK:STDOUT: !48 = !DILocation(line: 28, column: 5, scope: !34) -// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 21, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !52) +// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.925563b151bf93f6", scope: null, file: !3, line: 21, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !52) // CHECK:STDOUT: !50 = !DISubroutineType(types: !51) // CHECK:STDOUT: !51 = !{!23, !23, !30} // CHECK:STDOUT: !52 = !{!53, !54} @@ -325,7 +325,7 @@ fn M() { // CHECK:STDOUT: !61 = !DILocation(line: 26, column: 5, scope: !49) // CHECK:STDOUT: !62 = !DILocation(line: 28, column: 12, scope: !49) // CHECK:STDOUT: !63 = !DILocation(line: 28, column: 5, scope: !49) -// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.c6a12952cc402d96", scope: null, file: !3, line: 21, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !65) +// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.a87c59609561b819", scope: null, file: !3, line: 21, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !65) // CHECK:STDOUT: !65 = !{!66, !67} // CHECK:STDOUT: !66 = !DILocalVariable(arg: 1, scope: !64, type: !23) // CHECK:STDOUT: !67 = !DILocalVariable(arg: 2, scope: !64, type: !30) @@ -338,63 +338,63 @@ fn M() { // CHECK:STDOUT: !74 = !DILocation(line: 26, column: 5, scope: !64) // CHECK:STDOUT: !75 = !DILocation(line: 28, column: 12, scope: !64) // CHECK:STDOUT: !76 = !DILocation(line: 28, column: 5, scope: !64) -// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.986e4fbf737c841b", scope: null, file: !3, line: 33, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !78) +// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 33, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !78) // CHECK:STDOUT: !78 = !{!79, !80} // CHECK:STDOUT: !79 = !DILocalVariable(arg: 1, scope: !77, type: !30) // CHECK:STDOUT: !80 = !DILocalVariable(arg: 2, scope: !77, type: !30) // CHECK:STDOUT: !81 = !DILocation(line: 34, column: 3, scope: !77) // CHECK:STDOUT: !82 = !DILocation(line: 35, column: 10, scope: !77) // CHECK:STDOUT: !83 = !DILocation(line: 35, column: 3, scope: !77) -// CHECK:STDOUT: !84 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.986e4fbf737c841b", scope: null, file: !3, line: 38, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !85) +// CHECK:STDOUT: !84 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 38, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !85) // CHECK:STDOUT: !85 = !{!86, !87} // CHECK:STDOUT: !86 = !DILocalVariable(arg: 1, scope: !84, type: !30) // CHECK:STDOUT: !87 = !DILocalVariable(arg: 2, scope: !84, type: !30) // CHECK:STDOUT: !88 = !DILocation(line: 39, column: 3, scope: !84) // CHECK:STDOUT: !89 = !DILocation(line: 40, column: 10, scope: !84) // CHECK:STDOUT: !90 = !DILocation(line: 40, column: 3, scope: !84) -// CHECK:STDOUT: !91 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 33, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !92) +// CHECK:STDOUT: !91 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.925563b151bf93f6", scope: null, file: !3, line: 33, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !92) // CHECK:STDOUT: !92 = !{!93, !94} // CHECK:STDOUT: !93 = !DILocalVariable(arg: 1, scope: !91, type: !23) // CHECK:STDOUT: !94 = !DILocalVariable(arg: 2, scope: !91, type: !30) // CHECK:STDOUT: !95 = !DILocation(line: 34, column: 3, scope: !91) // CHECK:STDOUT: !96 = !DILocation(line: 35, column: 10, scope: !91) // CHECK:STDOUT: !97 = !DILocation(line: 35, column: 3, scope: !91) -// CHECK:STDOUT: !98 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 38, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !99) +// CHECK:STDOUT: !98 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.925563b151bf93f6", scope: null, file: !3, line: 38, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !99) // CHECK:STDOUT: !99 = !{!100, !101} // CHECK:STDOUT: !100 = !DILocalVariable(arg: 1, scope: !98, type: !23) // CHECK:STDOUT: !101 = !DILocalVariable(arg: 2, scope: !98, type: !30) // CHECK:STDOUT: !102 = !DILocation(line: 39, column: 3, scope: !98) // CHECK:STDOUT: !103 = !DILocation(line: 40, column: 10, scope: !98) // CHECK:STDOUT: !104 = !DILocation(line: 40, column: 3, scope: !98) -// CHECK:STDOUT: !105 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.c6a12952cc402d96", scope: null, file: !3, line: 33, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !106) +// CHECK:STDOUT: !105 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.a87c59609561b819", scope: null, file: !3, line: 33, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !106) // CHECK:STDOUT: !106 = !{!107, !108} // CHECK:STDOUT: !107 = !DILocalVariable(arg: 1, scope: !105, type: !23) // CHECK:STDOUT: !108 = !DILocalVariable(arg: 2, scope: !105, type: !30) // CHECK:STDOUT: !109 = !DILocation(line: 34, column: 3, scope: !105) // CHECK:STDOUT: !110 = !DILocation(line: 35, column: 10, scope: !105) // CHECK:STDOUT: !111 = !DILocation(line: 35, column: 3, scope: !105) -// CHECK:STDOUT: !112 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.c6a12952cc402d96", scope: null, file: !3, line: 38, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !113) +// CHECK:STDOUT: !112 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.a87c59609561b819", scope: null, file: !3, line: 38, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !113) // CHECK:STDOUT: !113 = !{!114, !115} // CHECK:STDOUT: !114 = !DILocalVariable(arg: 1, scope: !112, type: !23) // CHECK:STDOUT: !115 = !DILocalVariable(arg: 2, scope: !112, type: !30) // CHECK:STDOUT: !116 = !DILocation(line: 39, column: 3, scope: !112) // CHECK:STDOUT: !117 = !DILocation(line: 40, column: 10, scope: !112) // CHECK:STDOUT: !118 = !DILocation(line: 40, column: 3, scope: !112) -// CHECK:STDOUT: !119 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.986e4fbf737c841b", scope: null, file: !3, line: 43, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !120) +// CHECK:STDOUT: !119 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 43, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !120) // CHECK:STDOUT: !120 = !{!121, !122} // CHECK:STDOUT: !121 = !DILocalVariable(arg: 1, scope: !119, type: !30) // CHECK:STDOUT: !122 = !DILocalVariable(arg: 2, scope: !119, type: !30) // CHECK:STDOUT: !123 = !DILocation(line: 44, column: 15, scope: !119) // CHECK:STDOUT: !124 = !DILocation(line: 44, column: 10, scope: !119) // CHECK:STDOUT: !125 = !DILocation(line: 44, column: 3, scope: !119) -// CHECK:STDOUT: !126 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 43, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !127) +// CHECK:STDOUT: !126 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.925563b151bf93f6", scope: null, file: !3, line: 43, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !127) // CHECK:STDOUT: !127 = !{!128, !129} // CHECK:STDOUT: !128 = !DILocalVariable(arg: 1, scope: !126, type: !23) // CHECK:STDOUT: !129 = !DILocalVariable(arg: 2, scope: !126, type: !30) // CHECK:STDOUT: !130 = !DILocation(line: 44, column: 15, scope: !126) // CHECK:STDOUT: !131 = !DILocation(line: 44, column: 10, scope: !126) // CHECK:STDOUT: !132 = !DILocation(line: 44, column: 3, scope: !126) -// CHECK:STDOUT: !133 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.c6a12952cc402d96", scope: null, file: !3, line: 43, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !134) +// CHECK:STDOUT: !133 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.a87c59609561b819", scope: null, file: !3, line: 43, type: !50, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !134) // CHECK:STDOUT: !134 = !{!135, !136} // CHECK:STDOUT: !135 = !DILocalVariable(arg: 1, scope: !133, type: !23) // CHECK:STDOUT: !136 = !DILocalVariable(arg: 2, scope: !133, type: !30) diff --git a/toolchain/lower/testdata/function/generic/call_recursive_impl.carbon b/toolchain/lower/testdata/function/generic/call_recursive_impl.carbon index 2228deb1bb67..5539e0e2df09 100644 --- a/toolchain/lower/testdata/function/generic/call_recursive_impl.carbon +++ b/toolchain/lower/testdata/function/generic/call_recursive_impl.carbon @@ -63,15 +63,15 @@ fn Run() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @main() #0 !dbg !12 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %G.call.loc40 = call i32 @_CG.Main.3e475381c3e5acc5(i32 0), !dbg !16 -// CHECK:STDOUT: %G.call.loc41 = call i32 @_CG.Main.c00b4ba37166674e(i32 0), !dbg !17 +// CHECK:STDOUT: %G.call.loc40 = call i32 @_CG.Main.6a57547e3d5e7e4b(i32 0), !dbg !16 +// CHECK:STDOUT: %G.call.loc41 = call i32 @_CG.Main.904bfec8a416ba3c(i32 0), !dbg !17 // CHECK:STDOUT: ret i32 0, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: declare i32 @printf(ptr, ...) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.3e475381c3e5acc5(i32 %count) #0 !dbg !19 { +// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.6a57547e3d5e7e4b(i32 %count) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @"_CF.X.Main:I.Main"(), !dbg !24 // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !25 @@ -82,12 +82,12 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !28 -// CHECK:STDOUT: %G.call = call i32 @_CG.Main.3e475381c3e5acc5(i32 %Int.as.AddWith.impl.Op.call), !dbg !29 +// CHECK:STDOUT: %G.call = call i32 @_CG.Main.6a57547e3d5e7e4b(i32 %Int.as.AddWith.impl.Op.call), !dbg !29 // CHECK:STDOUT: ret i32 %G.call, !dbg !30 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.c00b4ba37166674e(i32 %count) #0 !dbg !31 { +// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.904bfec8a416ba3c(i32 %count) #0 !dbg !31 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @"_CF.Y.Main:I.Main"(), !dbg !34 // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !35 @@ -98,7 +98,7 @@ fn Run() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !38 -// CHECK:STDOUT: %G.call = call i32 @_CG.Main.c00b4ba37166674e(i32 %Int.as.AddWith.impl.Op.call), !dbg !39 +// CHECK:STDOUT: %G.call = call i32 @_CG.Main.904bfec8a416ba3c(i32 %Int.as.AddWith.impl.Op.call), !dbg !39 // CHECK:STDOUT: ret i32 %G.call, !dbg !40 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -129,7 +129,7 @@ fn Run() { // CHECK:STDOUT: !16 = !DILocation(line: 40, column: 3, scope: !12) // CHECK:STDOUT: !17 = !DILocation(line: 41, column: 3, scope: !12) // CHECK:STDOUT: !18 = !DILocation(line: 39, column: 1, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.3e475381c3e5acc5", scope: null, file: !3, line: 30, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.6a57547e3d5e7e4b", scope: null, file: !3, line: 30, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{!15, !15} // CHECK:STDOUT: !22 = !{!23} @@ -141,7 +141,7 @@ fn Run() { // CHECK:STDOUT: !28 = !DILocation(line: 36, column: 15, scope: !19) // CHECK:STDOUT: !29 = !DILocation(line: 36, column: 10, scope: !19) // CHECK:STDOUT: !30 = !DILocation(line: 36, column: 3, scope: !19) -// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.c00b4ba37166674e", scope: null, file: !3, line: 30, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !32) +// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.904bfec8a416ba3c", scope: null, file: !3, line: 30, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !32) // CHECK:STDOUT: !32 = !{!33} // CHECK:STDOUT: !33 = !DILocalVariable(arg: 1, scope: !31, type: !15) // CHECK:STDOUT: !34 = !DILocation(line: 31, column: 3, scope: !31) diff --git a/toolchain/lower/testdata/function/generic/call_recursive_mutual.carbon b/toolchain/lower/testdata/function/generic/call_recursive_mutual.carbon index 5edd0056bf22..36da34d5d926 100644 --- a/toolchain/lower/testdata/function/generic/call_recursive_mutual.carbon +++ b/toolchain/lower/testdata/function/generic/call_recursive_mutual.carbon @@ -60,26 +60,26 @@ fn M() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_f64.var), !dbg !10 // CHECK:STDOUT: store ptr %m.var, ptr %ptr_f64.var, align 8, !dbg !10 // CHECK:STDOUT: %.loc38_5 = load i32, ptr %n.var, align 4, !dbg !11 -// CHECK:STDOUT: %F.call.loc38 = call i32 @_CF.Main.986e4fbf737c841b(i32 %.loc38_5, i32 0), !dbg !12 +// CHECK:STDOUT: %F.call.loc38 = call i32 @_CF.Main.4bee6dcdea6ba756(i32 %.loc38_5, i32 0), !dbg !12 // CHECK:STDOUT: %.loc39_5 = load double, ptr %m.var, align 8, !dbg !13 -// CHECK:STDOUT: %F.call.loc39 = call double @_CF.Main.c6ad9461f716a4dc(double %.loc39_5, i32 0), !dbg !14 +// CHECK:STDOUT: %F.call.loc39 = call double @_CF.Main.925563b151bf93f6(double %.loc39_5, i32 0), !dbg !14 // CHECK:STDOUT: %.loc40_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !15 -// CHECK:STDOUT: %F.call.loc40 = call ptr @_CF.Main.c6a12952cc402d96(ptr %.loc40_5, i32 0), !dbg !16 +// CHECK:STDOUT: %F.call.loc40 = call ptr @_CF.Main.a87c59609561b819(ptr %.loc40_5, i32 0), !dbg !16 // CHECK:STDOUT: %.loc41_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !17 -// CHECK:STDOUT: %F.call.loc41 = call ptr @_CF.Main.c6a12952cc402d96(ptr %.loc41_5, i32 0), !dbg !18 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %m.var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !7 +// CHECK:STDOUT: %F.call.loc41 = call ptr @_CF.Main.a87c59609561b819(ptr %.loc41_5, i32 0), !dbg !18 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %m.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !20 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !20 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !27 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !27 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } @@ -88,7 +88,7 @@ fn M() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !34 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !34 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 3, !dbg !40 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !41 @@ -98,12 +98,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !43 -// CHECK:STDOUT: %G.call = call i32 @_CG.Main.986e4fbf737c841b(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !44 +// CHECK:STDOUT: %G.call = call i32 @_CG.Main.4bee6dcdea6ba756(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !44 // CHECK:STDOUT: ret i32 %G.call, !dbg !45 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CF.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !46 { +// CHECK:STDOUT: define linkonce_odr double @_CF.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !46 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 3, !dbg !52 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !53 @@ -113,12 +113,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !55 -// CHECK:STDOUT: %G.call = call double @_CG.Main.c6ad9461f716a4dc(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !56 +// CHECK:STDOUT: %G.call = call double @_CG.Main.925563b151bf93f6(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !56 // CHECK:STDOUT: ret double %G.call, !dbg !57 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CF.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !58 { +// CHECK:STDOUT: define linkonce_odr ptr @_CF.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !58 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 3, !dbg !62 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !63 @@ -128,12 +128,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !65 -// CHECK:STDOUT: %G.call = call ptr @_CG.Main.c6a12952cc402d96(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !66 +// CHECK:STDOUT: %G.call = call ptr @_CG.Main.a87c59609561b819(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !66 // CHECK:STDOUT: ret ptr %G.call, !dbg !67 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !68 { +// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !68 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !72 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !73 @@ -143,12 +143,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !75 -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.986e4fbf737c841b(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !76 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.4bee6dcdea6ba756(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !76 // CHECK:STDOUT: ret i32 %F.call, !dbg !77 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CG.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !78 { +// CHECK:STDOUT: define linkonce_odr double @_CG.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !78 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !82 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !83 @@ -158,12 +158,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !85 -// CHECK:STDOUT: %F.call = call double @_CF.Main.c6ad9461f716a4dc(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !86 +// CHECK:STDOUT: %F.call = call double @_CF.Main.925563b151bf93f6(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !86 // CHECK:STDOUT: ret double %F.call, !dbg !87 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CG.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !88 { +// CHECK:STDOUT: define linkonce_odr ptr @_CG.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !88 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !92 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !93 @@ -173,13 +173,13 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !95 -// CHECK:STDOUT: %F.call = call ptr @_CF.Main.c6a12952cc402d96(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !96 +// CHECK:STDOUT: %F.call = call ptr @_CF.Main.a87c59609561b819(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !96 // CHECK:STDOUT: ret ptr %F.call, !dbg !97 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 3, 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CF.Main.c6a12952cc402d96, { 1, 2, 0 } +// CHECK:STDOUT: uselistorder ptr @_CF.Main.a87c59609561b819, { 1, 2, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -207,21 +207,21 @@ fn M() { // CHECK:STDOUT: !17 = !DILocation(line: 41, column: 5, scope: !4) // CHECK:STDOUT: !18 = !DILocation(line: 41, column: 3, scope: !4) // CHECK:STDOUT: !19 = !DILocation(line: 32, column: 1, scope: !4) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 34, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 34, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !21 = !DISubroutineType(types: !22) // CHECK:STDOUT: !22 = !{null, !23} // CHECK:STDOUT: !23 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !20, type: !23) // CHECK:STDOUT: !26 = !DILocation(line: 34, column: 3, scope: !20) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 33, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 33, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !28 = !DISubroutineType(types: !29) // CHECK:STDOUT: !29 = !{null, !30} // CHECK:STDOUT: !30 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !27, type: !30) // CHECK:STDOUT: !33 = !DILocation(line: 33, column: 3, scope: !27) -// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.986e4fbf737c841b", scope: null, file: !3, line: 18, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !37) +// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 18, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !37) // CHECK:STDOUT: !35 = !DISubroutineType(types: !36) // CHECK:STDOUT: !36 = !{!30, !30, !30} // CHECK:STDOUT: !37 = !{!38, !39} @@ -233,7 +233,7 @@ fn M() { // CHECK:STDOUT: !43 = !DILocation(line: 22, column: 15, scope: !34) // CHECK:STDOUT: !44 = !DILocation(line: 22, column: 10, scope: !34) // CHECK:STDOUT: !45 = !DILocation(line: 22, column: 3, scope: !34) -// CHECK:STDOUT: !46 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 18, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !49) +// CHECK:STDOUT: !46 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.925563b151bf93f6", scope: null, file: !3, line: 18, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !49) // CHECK:STDOUT: !47 = !DISubroutineType(types: !48) // CHECK:STDOUT: !48 = !{!23, !23, !30} // CHECK:STDOUT: !49 = !{!50, !51} @@ -245,7 +245,7 @@ fn M() { // CHECK:STDOUT: !55 = !DILocation(line: 22, column: 15, scope: !46) // CHECK:STDOUT: !56 = !DILocation(line: 22, column: 10, scope: !46) // CHECK:STDOUT: !57 = !DILocation(line: 22, column: 3, scope: !46) -// CHECK:STDOUT: !58 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c6a12952cc402d96", scope: null, file: !3, line: 18, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !59) +// CHECK:STDOUT: !58 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.a87c59609561b819", scope: null, file: !3, line: 18, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !59) // CHECK:STDOUT: !59 = !{!60, !61} // CHECK:STDOUT: !60 = !DILocalVariable(arg: 1, scope: !58, type: !23) // CHECK:STDOUT: !61 = !DILocalVariable(arg: 2, scope: !58, type: !30) @@ -255,7 +255,7 @@ fn M() { // CHECK:STDOUT: !65 = !DILocation(line: 22, column: 15, scope: !58) // CHECK:STDOUT: !66 = !DILocation(line: 22, column: 10, scope: !58) // CHECK:STDOUT: !67 = !DILocation(line: 22, column: 3, scope: !58) -// CHECK:STDOUT: !68 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.986e4fbf737c841b", scope: null, file: !3, line: 25, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !69) +// CHECK:STDOUT: !68 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 25, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !69) // CHECK:STDOUT: !69 = !{!70, !71} // CHECK:STDOUT: !70 = !DILocalVariable(arg: 1, scope: !68, type: !30) // CHECK:STDOUT: !71 = !DILocalVariable(arg: 2, scope: !68, type: !30) @@ -265,7 +265,7 @@ fn M() { // CHECK:STDOUT: !75 = !DILocation(line: 29, column: 15, scope: !68) // CHECK:STDOUT: !76 = !DILocation(line: 29, column: 10, scope: !68) // CHECK:STDOUT: !77 = !DILocation(line: 29, column: 3, scope: !68) -// CHECK:STDOUT: !78 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 25, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !79) +// CHECK:STDOUT: !78 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.925563b151bf93f6", scope: null, file: !3, line: 25, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !79) // CHECK:STDOUT: !79 = !{!80, !81} // CHECK:STDOUT: !80 = !DILocalVariable(arg: 1, scope: !78, type: !23) // CHECK:STDOUT: !81 = !DILocalVariable(arg: 2, scope: !78, type: !30) @@ -275,7 +275,7 @@ fn M() { // CHECK:STDOUT: !85 = !DILocation(line: 29, column: 15, scope: !78) // CHECK:STDOUT: !86 = !DILocation(line: 29, column: 10, scope: !78) // CHECK:STDOUT: !87 = !DILocation(line: 29, column: 3, scope: !78) -// CHECK:STDOUT: !88 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.c6a12952cc402d96", scope: null, file: !3, line: 25, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !89) +// CHECK:STDOUT: !88 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.a87c59609561b819", scope: null, file: !3, line: 25, type: !47, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !89) // CHECK:STDOUT: !89 = !{!90, !91} // CHECK:STDOUT: !90 = !DILocalVariable(arg: 1, scope: !88, type: !23) // CHECK:STDOUT: !91 = !DILocalVariable(arg: 2, scope: !88, type: !30) diff --git a/toolchain/lower/testdata/function/generic/call_recursive_reorder.carbon b/toolchain/lower/testdata/function/generic/call_recursive_reorder.carbon index 232fcd44d216..c8079958b466 100644 --- a/toolchain/lower/testdata/function/generic/call_recursive_reorder.carbon +++ b/toolchain/lower/testdata/function/generic/call_recursive_reorder.carbon @@ -57,23 +57,23 @@ fn M() { // CHECK:STDOUT: store ptr %b.var, ptr %ptr_bool.var, align 8, !dbg !12 // CHECK:STDOUT: %.loc30_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !13 // CHECK:STDOUT: %.loc30_14 = load ptr, ptr %ptr_bool.var, align 8, !dbg !14 -// CHECK:STDOUT: %F.call.loc30 = call i32 @_CF.Main.a6405d95a65b9c74(ptr %.loc30_5, ptr %.loc30_14, i32 0), !dbg !15 +// CHECK:STDOUT: %F.call.loc30 = call i32 @_CF.Main.eab0d4c937c6d206(ptr %.loc30_5, ptr %.loc30_14, i32 0), !dbg !15 // CHECK:STDOUT: %.loc31_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !16 // CHECK:STDOUT: %.loc31_14 = load ptr, ptr %ptr_bool.var, align 8, !dbg !17 -// CHECK:STDOUT: %F.call.loc31 = call i32 @_CF.Main.a6405d95a65b9c74(ptr %.loc31_5, ptr %.loc31_14, i32 0), !dbg !18 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %m.var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !7 +// CHECK:STDOUT: %F.call.loc31 = call i32 @_CF.Main.eab0d4c937c6d206(ptr %.loc31_5, ptr %.loc31_14, i32 0), !dbg !18 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %m.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !20 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !20 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !27 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !27 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } @@ -82,7 +82,7 @@ fn M() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.a6405d95a65b9c74(ptr %x, ptr %y, i32 %count) #0 !dbg !34 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.eab0d4c937c6d206(ptr %x, ptr %y, i32 %count) #0 !dbg !34 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 2, !dbg !41 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !42 @@ -92,13 +92,13 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !44 -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.a6405d95a65b9c74(ptr %y, ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !45 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.eab0d4c937c6d206(ptr %y, ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !45 // CHECK:STDOUT: ret i32 %F.call, !dbg !46 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 5, 4, 3, 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CF.Main.a6405d95a65b9c74, { 0, 2, 1 } +// CHECK:STDOUT: uselistorder ptr @_CF.Main.eab0d4c937c6d206, { 0, 2, 1 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -126,21 +126,21 @@ fn M() { // CHECK:STDOUT: !17 = !DILocation(line: 31, column: 14, scope: !4) // CHECK:STDOUT: !18 = !DILocation(line: 31, column: 3, scope: !4) // CHECK:STDOUT: !19 = !DILocation(line: 22, column: 1, scope: !4) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 24, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 24, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !21 = !DISubroutineType(types: !22) // CHECK:STDOUT: !22 = !{null, !23} // CHECK:STDOUT: !23 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !20, type: !23) // CHECK:STDOUT: !26 = !DILocation(line: 24, column: 3, scope: !20) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 23, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 23, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !28 = !DISubroutineType(types: !29) // CHECK:STDOUT: !29 = !{null, !30} // CHECK:STDOUT: !30 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !27, type: !30) // CHECK:STDOUT: !33 = !DILocation(line: 23, column: 3, scope: !27) -// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.a6405d95a65b9c74", scope: null, file: !3, line: 15, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !37) +// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.eab0d4c937c6d206", scope: null, file: !3, line: 15, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !37) // CHECK:STDOUT: !35 = !DISubroutineType(types: !36) // CHECK:STDOUT: !36 = !{!30, !23, !23, !30} // CHECK:STDOUT: !37 = !{!38, !39, !40} diff --git a/toolchain/lower/testdata/function/generic/call_recursive_reorder_more.carbon b/toolchain/lower/testdata/function/generic/call_recursive_reorder_more.carbon index b5ee9cce0e9b..7bfb883a4593 100644 --- a/toolchain/lower/testdata/function/generic/call_recursive_reorder_more.carbon +++ b/toolchain/lower/testdata/function/generic/call_recursive_reorder_more.carbon @@ -88,80 +88,80 @@ fn M() { // CHECK:STDOUT: %.loc38_5 = load i16, ptr %val_i16.var, align 2, !dbg !16 // CHECK:STDOUT: %.loc38_14 = load ptr, ptr %ptr_i32.var, align 8, !dbg !17 // CHECK:STDOUT: %.loc38_23 = load ptr, ptr %ptr_bool.var, align 8, !dbg !18 -// CHECK:STDOUT: %F.call.loc38 = call i32 @_CF.Main.d29754c5bd8b545d(i16 %.loc38_5, ptr %.loc38_14, ptr %.loc38_23, i32 0), !dbg !19 +// CHECK:STDOUT: %F.call.loc38 = call i32 @_CF.Main.d849279204376279(i16 %.loc38_5, ptr %.loc38_14, ptr %.loc38_23, i32 0), !dbg !19 // CHECK:STDOUT: %.loc39_5 = load i32, ptr %val_i32.var, align 4, !dbg !20 // CHECK:STDOUT: %.loc39_14 = load ptr, ptr %ptr_bool.var, align 8, !dbg !21 // CHECK:STDOUT: %.loc39_24 = load ptr, ptr %ptr_i64.var, align 8, !dbg !22 -// CHECK:STDOUT: %F.call.loc39 = call i32 @_CF.Main.d5a00bb97979506a(i32 %.loc39_5, ptr %.loc39_14, ptr %.loc39_24, i32 0), !dbg !23 +// CHECK:STDOUT: %F.call.loc39 = call i32 @_CF.Main.0bfa9c4f3acc3623(i32 %.loc39_5, ptr %.loc39_14, ptr %.loc39_24, i32 0), !dbg !23 // CHECK:STDOUT: %.loc40_5 = load i8, ptr %val_bool.var, align 1, !dbg !24 // CHECK:STDOUT: %.loc40_51 = trunc i8 %.loc40_5 to i1, !dbg !24 // CHECK:STDOUT: %.loc40_15 = load ptr, ptr %ptr_bool.var, align 8, !dbg !25 // CHECK:STDOUT: %.loc40_25 = load ptr, ptr %ptr_i16.var, align 8, !dbg !26 -// CHECK:STDOUT: %F.call.loc40 = call i32 @_CF.Main.e1d834dc162d21b2(i1 %.loc40_51, ptr %.loc40_15, ptr %.loc40_25, i32 0), !dbg !27 +// CHECK:STDOUT: %F.call.loc40 = call i32 @_CF.Main.2d36132e9f6bd679(i1 %.loc40_51, ptr %.loc40_15, ptr %.loc40_25, i32 0), !dbg !27 // CHECK:STDOUT: %.loc41_5 = load i64, ptr %val_i64.var, align 8, !dbg !28 // CHECK:STDOUT: %.loc41_14 = load i8, ptr %val_bool.var, align 1, !dbg !29 // CHECK:STDOUT: %.loc41_142 = trunc i8 %.loc41_14 to i1, !dbg !29 // CHECK:STDOUT: %.loc41_24 = load ptr, ptr %ptr_bool.var, align 8, !dbg !30 -// CHECK:STDOUT: %F.call.loc41 = call i32 @_CF.Main.f79effde6e84ed9a(i64 %.loc41_5, i1 %.loc41_142, ptr %.loc41_24, i32 0), !dbg !31 +// CHECK:STDOUT: %F.call.loc41 = call i32 @_CF.Main.a45f082176f4b21e(i64 %.loc41_5, i1 %.loc41_142, ptr %.loc41_24, i32 0), !dbg !31 // CHECK:STDOUT: %.loc42_5 = load double, ptr %val_f64.var, align 8, !dbg !32 // CHECK:STDOUT: %.loc42_14 = load ptr, ptr %ptr_bool.var, align 8, !dbg !33 // CHECK:STDOUT: %.loc42_24 = load ptr, ptr %ptr_bool.var, align 8, !dbg !34 -// CHECK:STDOUT: %F.call.loc42 = call i32 @_CF.Main.6acd766f50ca38ff(double %.loc42_5, ptr %.loc42_14, ptr %.loc42_24, i32 0), !dbg !35 +// CHECK:STDOUT: %F.call.loc42 = call i32 @_CF.Main.791584c811c6ce9b(double %.loc42_5, ptr %.loc42_14, ptr %.loc42_24, i32 0), !dbg !35 // CHECK:STDOUT: %.loc46_5 = load ptr, ptr %ptr_bool.var, align 8, !dbg !36 // CHECK:STDOUT: %.loc46_15 = load ptr, ptr %ptr_i16.var, align 8, !dbg !37 // CHECK:STDOUT: %.loc46_24 = load ptr, ptr %ptr_i32.var, align 8, !dbg !38 -// CHECK:STDOUT: %F.call.loc46 = call i32 @_CF.Main.d9775744e4d3668b(ptr %.loc46_5, ptr %.loc46_15, ptr %.loc46_24, i32 0), !dbg !39 +// CHECK:STDOUT: %F.call.loc46 = call i32 @_CF.Main.6a474ec237d64741(ptr %.loc46_5, ptr %.loc46_15, ptr %.loc46_24, i32 0), !dbg !39 // CHECK:STDOUT: %.loc47_5 = load ptr, ptr %ptr_bool.var, align 8, !dbg !40 // CHECK:STDOUT: %.loc47_15 = load ptr, ptr %ptr_i16.var, align 8, !dbg !41 // CHECK:STDOUT: %.loc47_24 = load ptr, ptr %ptr_i64.var, align 8, !dbg !42 -// CHECK:STDOUT: %F.call.loc47 = call i32 @_CF.Main.d9775744e4d3668b(ptr %.loc47_5, ptr %.loc47_15, ptr %.loc47_24, i32 0), !dbg !43 +// CHECK:STDOUT: %F.call.loc47 = call i32 @_CF.Main.6a474ec237d64741(ptr %.loc47_5, ptr %.loc47_15, ptr %.loc47_24, i32 0), !dbg !43 // CHECK:STDOUT: %.loc48_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !44 // CHECK:STDOUT: %.loc48_14 = load ptr, ptr %ptr_bool.var, align 8, !dbg !45 // CHECK:STDOUT: %.loc48_24 = load ptr, ptr %ptr_i16.var, align 8, !dbg !46 -// CHECK:STDOUT: %F.call.loc48 = call i32 @_CF.Main.d9775744e4d3668b(ptr %.loc48_5, ptr %.loc48_14, ptr %.loc48_24, i32 0), !dbg !47 +// CHECK:STDOUT: %F.call.loc48 = call i32 @_CF.Main.6a474ec237d64741(ptr %.loc48_5, ptr %.loc48_14, ptr %.loc48_24, i32 0), !dbg !47 // CHECK:STDOUT: %.loc49_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !48 // CHECK:STDOUT: %.loc49_14 = load ptr, ptr %ptr_bool.var, align 8, !dbg !49 // CHECK:STDOUT: %.loc49_24 = load ptr, ptr %ptr_i64.var, align 8, !dbg !50 -// CHECK:STDOUT: %F.call.loc49 = call i32 @_CF.Main.d9775744e4d3668b(ptr %.loc49_5, ptr %.loc49_14, ptr %.loc49_24, i32 0), !dbg !51 +// CHECK:STDOUT: %F.call.loc49 = call i32 @_CF.Main.6a474ec237d64741(ptr %.loc49_5, ptr %.loc49_14, ptr %.loc49_24, i32 0), !dbg !51 // CHECK:STDOUT: %.loc50_5 = load ptr, ptr %ptr_i16.var, align 8, !dbg !52 // CHECK:STDOUT: %.loc50_14 = load ptr, ptr %ptr_i32.var, align 8, !dbg !53 // CHECK:STDOUT: %.loc50_23 = load ptr, ptr %ptr_i64.var, align 8, !dbg !54 -// CHECK:STDOUT: %F.call.loc50 = call i32 @_CF.Main.d9775744e4d3668b(ptr %.loc50_5, ptr %.loc50_14, ptr %.loc50_23, i32 0), !dbg !55 +// CHECK:STDOUT: %F.call.loc50 = call i32 @_CF.Main.6a474ec237d64741(ptr %.loc50_5, ptr %.loc50_14, ptr %.loc50_23, i32 0), !dbg !55 // CHECK:STDOUT: %.loc51_5 = load ptr, ptr %ptr_i64.var, align 8, !dbg !56 // CHECK:STDOUT: %.loc51_14 = load ptr, ptr %ptr_bool.var, align 8, !dbg !57 // CHECK:STDOUT: %.loc51_24 = load ptr, ptr %ptr_i16.var, align 8, !dbg !58 -// CHECK:STDOUT: %F.call.loc51 = call i32 @_CF.Main.d9775744e4d3668b(ptr %.loc51_5, ptr %.loc51_14, ptr %.loc51_24, i32 0), !dbg !59 +// CHECK:STDOUT: %F.call.loc51 = call i32 @_CF.Main.6a474ec237d64741(ptr %.loc51_5, ptr %.loc51_14, ptr %.loc51_24, i32 0), !dbg !59 // CHECK:STDOUT: %.loc52_5 = load ptr, ptr %ptr_bool.var, align 8, !dbg !60 // CHECK:STDOUT: %.loc52_15 = load ptr, ptr %ptr_bool.var, align 8, !dbg !61 // CHECK:STDOUT: %.loc52_25 = load ptr, ptr %ptr_bool.var, align 8, !dbg !62 -// CHECK:STDOUT: %F.call.loc52 = call i32 @_CF.Main.d9775744e4d3668b(ptr %.loc52_5, ptr %.loc52_15, ptr %.loc52_25, i32 0), !dbg !63 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %val_f64.var), !dbg !10 -// CHECK:STDOUT: call void @"_COp.8c3f43cf50902723:core.Destroy.Core"(ptr %val_i64.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %val_i32.var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.7b4d46d56ede77d9:core.Destroy.Core"(ptr %val_i16.var), !dbg !7 +// CHECK:STDOUT: %F.call.loc52 = call i32 @_CF.Main.6a474ec237d64741(ptr %.loc52_5, ptr %.loc52_15, ptr %.loc52_25, i32 0), !dbg !63 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %val_f64.var), !dbg !10 +// CHECK:STDOUT: call void @"_COp.70c270bcca3b30d3:core.Destroy.Core"(ptr %val_i64.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %val_i32.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.0166e16952428d48:core.Destroy.Core"(ptr %val_i16.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !64 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !65 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !65 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !71 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.8c3f43cf50902723:core.Destroy.Core"(ptr %self) #0 !dbg !72 { +// CHECK:STDOUT: define weak_odr void @"_COp.70c270bcca3b30d3:core.Destroy.Core"(ptr %self) #0 !dbg !72 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !78 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !79 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !79 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !85 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.7b4d46d56ede77d9:core.Destroy.Core"(ptr %self) #0 !dbg !86 { +// CHECK:STDOUT: define weak_odr void @"_COp.0166e16952428d48:core.Destroy.Core"(ptr %self) #0 !dbg !86 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !92 // CHECK:STDOUT: } @@ -170,7 +170,7 @@ fn M() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.d29754c5bd8b545d(i16 %x, ptr %y, ptr %z, i32 %count) #0 !dbg !93 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.d849279204376279(i16 %x, ptr %y, ptr %z, i32 %count) #0 !dbg !93 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 2, !dbg !101 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !102 @@ -180,12 +180,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !104 -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.d29754c5bd8b545d(i16 %x, ptr %z, ptr %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !105 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.d849279204376279(i16 %x, ptr %z, ptr %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !105 // CHECK:STDOUT: ret i32 %F.call, !dbg !106 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.d5a00bb97979506a(i32 %x, ptr %y, ptr %z, i32 %count) #0 !dbg !107 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.0bfa9c4f3acc3623(i32 %x, ptr %y, ptr %z, i32 %count) #0 !dbg !107 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 2, !dbg !115 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !116 @@ -195,12 +195,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !118 -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.d5a00bb97979506a(i32 %x, ptr %z, ptr %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !119 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.0bfa9c4f3acc3623(i32 %x, ptr %z, ptr %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !119 // CHECK:STDOUT: ret i32 %F.call, !dbg !120 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.e1d834dc162d21b2(i1 %x, ptr %y, ptr %z, i32 %count) #0 !dbg !121 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.2d36132e9f6bd679(i1 %x, ptr %y, ptr %z, i32 %count) #0 !dbg !121 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 2, !dbg !129 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !130 @@ -210,12 +210,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !132 -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.e1d834dc162d21b2(i1 %x, ptr %z, ptr %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !133 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.2d36132e9f6bd679(i1 %x, ptr %z, ptr %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !133 // CHECK:STDOUT: ret i32 %F.call, !dbg !134 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.f79effde6e84ed9a(i64 %x, i1 %y, ptr %z, i32 %count) #0 !dbg !135 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.a45f082176f4b21e(i64 %x, i1 %y, ptr %z, i32 %count) #0 !dbg !135 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 2, !dbg !143 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !144 @@ -225,12 +225,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !146 -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.5562723f1cfc53da(i64 %x, ptr %z, i1 %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !147 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.46eab09c3b5daff1(i64 %x, ptr %z, i1 %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !147 // CHECK:STDOUT: ret i32 %F.call, !dbg !148 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.6acd766f50ca38ff(double %x, ptr %y, ptr %z, i32 %count) #0 !dbg !149 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.791584c811c6ce9b(double %x, ptr %y, ptr %z, i32 %count) #0 !dbg !149 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 2, !dbg !155 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !156 @@ -240,12 +240,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !158 -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.6acd766f50ca38ff(double %x, ptr %z, ptr %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !159 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.791584c811c6ce9b(double %x, ptr %z, ptr %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !159 // CHECK:STDOUT: ret i32 %F.call, !dbg !160 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.d9775744e4d3668b(ptr %x, ptr %y, ptr %z, i32 %count) #0 !dbg !161 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.6a474ec237d64741(ptr %x, ptr %y, ptr %z, i32 %count) #0 !dbg !161 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 2, !dbg !167 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !168 @@ -255,12 +255,12 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !170 -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.d9775744e4d3668b(ptr %x, ptr %z, ptr %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !171 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.6a474ec237d64741(ptr %x, ptr %z, ptr %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !171 // CHECK:STDOUT: ret i32 %F.call, !dbg !172 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.5562723f1cfc53da(i64 %x, ptr %y, i1 %z, i32 %count) #0 !dbg !173 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.46eab09c3b5daff1(i64 %x, ptr %y, i1 %z, i32 %count) #0 !dbg !173 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 2, !dbg !179 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !180 @@ -270,13 +270,13 @@ fn M() { // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !182 -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.f79effde6e84ed9a(i64 %x, i1 %z, ptr %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !183 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.a45f082176f4b21e(i64 %x, i1 %z, ptr %y, i32 %Int.as.AddWith.impl.Op.call), !dbg !183 // CHECK:STDOUT: ret i32 %F.call, !dbg !184 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 8, 7, 6, 5, 4, 3, 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CF.Main.d9775744e4d3668b, { 5, 7, 6, 4, 0, 1, 2, 3 } +// CHECK:STDOUT: uselistorder ptr @_CF.Main.6a474ec237d64741, { 5, 7, 6, 4, 0, 1, 2, 3 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -349,35 +349,35 @@ fn M() { // CHECK:STDOUT: !62 = !DILocation(line: 52, column: 25, scope: !4) // CHECK:STDOUT: !63 = !DILocation(line: 52, column: 3, scope: !4) // CHECK:STDOUT: !64 = !DILocation(line: 22, column: 1, scope: !4) -// CHECK:STDOUT: !65 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 26, type: !66, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !69) +// CHECK:STDOUT: !65 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 26, type: !66, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !69) // CHECK:STDOUT: !66 = !DISubroutineType(types: !67) // CHECK:STDOUT: !67 = !{null, !68} // CHECK:STDOUT: !68 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !69 = !{!70} // CHECK:STDOUT: !70 = !DILocalVariable(arg: 1, scope: !65, type: !68) // CHECK:STDOUT: !71 = !DILocation(line: 26, column: 3, scope: !65) -// CHECK:STDOUT: !72 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8c3f43cf50902723:core.Destroy.Core", scope: null, file: !3, line: 25, type: !73, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !76) +// CHECK:STDOUT: !72 = distinct !DISubprogram(name: "Op", linkageName: "_COp.70c270bcca3b30d3:core.Destroy.Core", scope: null, file: !3, line: 25, type: !73, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !76) // CHECK:STDOUT: !73 = !DISubroutineType(types: !74) // CHECK:STDOUT: !74 = !{null, !75} // CHECK:STDOUT: !75 = !DIBasicType(name: "int", size: 64, encoding: DW_ATE_signed) // CHECK:STDOUT: !76 = !{!77} // CHECK:STDOUT: !77 = !DILocalVariable(arg: 1, scope: !72, type: !75) // CHECK:STDOUT: !78 = !DILocation(line: 25, column: 3, scope: !72) -// CHECK:STDOUT: !79 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 24, type: !80, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !83) +// CHECK:STDOUT: !79 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 24, type: !80, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !83) // CHECK:STDOUT: !80 = !DISubroutineType(types: !81) // CHECK:STDOUT: !81 = !{null, !82} // CHECK:STDOUT: !82 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !83 = !{!84} // CHECK:STDOUT: !84 = !DILocalVariable(arg: 1, scope: !79, type: !82) // CHECK:STDOUT: !85 = !DILocation(line: 24, column: 3, scope: !79) -// CHECK:STDOUT: !86 = distinct !DISubprogram(name: "Op", linkageName: "_COp.7b4d46d56ede77d9:core.Destroy.Core", scope: null, file: !3, line: 23, type: !87, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !90) +// CHECK:STDOUT: !86 = distinct !DISubprogram(name: "Op", linkageName: "_COp.0166e16952428d48:core.Destroy.Core", scope: null, file: !3, line: 23, type: !87, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !90) // CHECK:STDOUT: !87 = !DISubroutineType(types: !88) // CHECK:STDOUT: !88 = !{null, !89} // CHECK:STDOUT: !89 = !DIBasicType(name: "int", size: 16, encoding: DW_ATE_signed) // CHECK:STDOUT: !90 = !{!91} // CHECK:STDOUT: !91 = !DILocalVariable(arg: 1, scope: !86, type: !89) // CHECK:STDOUT: !92 = !DILocation(line: 23, column: 3, scope: !86) -// CHECK:STDOUT: !93 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.d29754c5bd8b545d", scope: null, file: !3, line: 15, type: !94, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !96) +// CHECK:STDOUT: !93 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.d849279204376279", scope: null, file: !3, line: 15, type: !94, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !96) // CHECK:STDOUT: !94 = !DISubroutineType(types: !95) // CHECK:STDOUT: !95 = !{!82, !89, !68, !68, !82} // CHECK:STDOUT: !96 = !{!97, !98, !99, !100} @@ -391,7 +391,7 @@ fn M() { // CHECK:STDOUT: !104 = !DILocation(line: 19, column: 21, scope: !93) // CHECK:STDOUT: !105 = !DILocation(line: 19, column: 10, scope: !93) // CHECK:STDOUT: !106 = !DILocation(line: 19, column: 3, scope: !93) -// CHECK:STDOUT: !107 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.d5a00bb97979506a", scope: null, file: !3, line: 15, type: !108, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !110) +// CHECK:STDOUT: !107 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.0bfa9c4f3acc3623", scope: null, file: !3, line: 15, type: !108, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !110) // CHECK:STDOUT: !108 = !DISubroutineType(types: !109) // CHECK:STDOUT: !109 = !{!82, !82, !68, !68, !82} // CHECK:STDOUT: !110 = !{!111, !112, !113, !114} @@ -405,7 +405,7 @@ fn M() { // CHECK:STDOUT: !118 = !DILocation(line: 19, column: 21, scope: !107) // CHECK:STDOUT: !119 = !DILocation(line: 19, column: 10, scope: !107) // CHECK:STDOUT: !120 = !DILocation(line: 19, column: 3, scope: !107) -// CHECK:STDOUT: !121 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.e1d834dc162d21b2", scope: null, file: !3, line: 15, type: !122, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !124) +// CHECK:STDOUT: !121 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.2d36132e9f6bd679", scope: null, file: !3, line: 15, type: !122, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !124) // CHECK:STDOUT: !122 = !DISubroutineType(types: !123) // CHECK:STDOUT: !123 = !{!82, !68, !68, !68, !82} // CHECK:STDOUT: !124 = !{!125, !126, !127, !128} @@ -419,7 +419,7 @@ fn M() { // CHECK:STDOUT: !132 = !DILocation(line: 19, column: 21, scope: !121) // CHECK:STDOUT: !133 = !DILocation(line: 19, column: 10, scope: !121) // CHECK:STDOUT: !134 = !DILocation(line: 19, column: 3, scope: !121) -// CHECK:STDOUT: !135 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.f79effde6e84ed9a", scope: null, file: !3, line: 15, type: !136, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !138) +// CHECK:STDOUT: !135 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.a45f082176f4b21e", scope: null, file: !3, line: 15, type: !136, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !138) // CHECK:STDOUT: !136 = !DISubroutineType(types: !137) // CHECK:STDOUT: !137 = !{!82, !75, !68, !68, !82} // CHECK:STDOUT: !138 = !{!139, !140, !141, !142} @@ -433,7 +433,7 @@ fn M() { // CHECK:STDOUT: !146 = !DILocation(line: 19, column: 21, scope: !135) // CHECK:STDOUT: !147 = !DILocation(line: 19, column: 10, scope: !135) // CHECK:STDOUT: !148 = !DILocation(line: 19, column: 3, scope: !135) -// CHECK:STDOUT: !149 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.6acd766f50ca38ff", scope: null, file: !3, line: 15, type: !122, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !150) +// CHECK:STDOUT: !149 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.791584c811c6ce9b", scope: null, file: !3, line: 15, type: !122, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !150) // CHECK:STDOUT: !150 = !{!151, !152, !153, !154} // CHECK:STDOUT: !151 = !DILocalVariable(arg: 1, scope: !149, type: !68) // CHECK:STDOUT: !152 = !DILocalVariable(arg: 2, scope: !149, type: !68) @@ -445,7 +445,7 @@ fn M() { // CHECK:STDOUT: !158 = !DILocation(line: 19, column: 21, scope: !149) // CHECK:STDOUT: !159 = !DILocation(line: 19, column: 10, scope: !149) // CHECK:STDOUT: !160 = !DILocation(line: 19, column: 3, scope: !149) -// CHECK:STDOUT: !161 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.d9775744e4d3668b", scope: null, file: !3, line: 15, type: !122, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !162) +// CHECK:STDOUT: !161 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.6a474ec237d64741", scope: null, file: !3, line: 15, type: !122, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !162) // CHECK:STDOUT: !162 = !{!163, !164, !165, !166} // CHECK:STDOUT: !163 = !DILocalVariable(arg: 1, scope: !161, type: !68) // CHECK:STDOUT: !164 = !DILocalVariable(arg: 2, scope: !161, type: !68) @@ -457,7 +457,7 @@ fn M() { // CHECK:STDOUT: !170 = !DILocation(line: 19, column: 21, scope: !161) // CHECK:STDOUT: !171 = !DILocation(line: 19, column: 10, scope: !161) // CHECK:STDOUT: !172 = !DILocation(line: 19, column: 3, scope: !161) -// CHECK:STDOUT: !173 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.5562723f1cfc53da", scope: null, file: !3, line: 15, type: !136, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !174) +// CHECK:STDOUT: !173 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.46eab09c3b5daff1", scope: null, file: !3, line: 15, type: !136, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !174) // CHECK:STDOUT: !174 = !{!175, !176, !177, !178} // CHECK:STDOUT: !175 = !DILocalVariable(arg: 1, scope: !173, type: !75) // CHECK:STDOUT: !176 = !DILocalVariable(arg: 2, scope: !173, type: !68) diff --git a/toolchain/lower/testdata/function/generic/call_recursive_sccs_deep.carbon b/toolchain/lower/testdata/function/generic/call_recursive_sccs_deep.carbon index 3f7d221612bb..07700c747896 100644 --- a/toolchain/lower/testdata/function/generic/call_recursive_sccs_deep.carbon +++ b/toolchain/lower/testdata/function/generic/call_recursive_sccs_deep.carbon @@ -103,26 +103,26 @@ fn M() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_f64.var), !dbg !10 // CHECK:STDOUT: store ptr %m.var, ptr %ptr_f64.var, align 8, !dbg !10 // CHECK:STDOUT: %.loc79_5 = load i32, ptr %n.var, align 4, !dbg !11 -// CHECK:STDOUT: %A.call.loc79 = call i32 @_CA.Main.986e4fbf737c841b(i32 %.loc79_5, i32 0), !dbg !12 +// CHECK:STDOUT: %A.call.loc79 = call i32 @_CA.Main.4bee6dcdea6ba756(i32 %.loc79_5, i32 0), !dbg !12 // CHECK:STDOUT: %.loc80_5 = load double, ptr %m.var, align 8, !dbg !13 -// CHECK:STDOUT: %A.call.loc80 = call double @_CA.Main.c6ad9461f716a4dc(double %.loc80_5, i32 0), !dbg !14 +// CHECK:STDOUT: %A.call.loc80 = call double @_CA.Main.925563b151bf93f6(double %.loc80_5, i32 0), !dbg !14 // CHECK:STDOUT: %.loc81_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !15 -// CHECK:STDOUT: %A.call.loc81 = call ptr @_CA.Main.c6a12952cc402d96(ptr %.loc81_5, i32 0), !dbg !16 +// CHECK:STDOUT: %A.call.loc81 = call ptr @_CA.Main.a87c59609561b819(ptr %.loc81_5, i32 0), !dbg !16 // CHECK:STDOUT: %.loc82_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !17 -// CHECK:STDOUT: %A.call.loc82 = call ptr @_CA.Main.c6a12952cc402d96(ptr %.loc82_5, i32 0), !dbg !18 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %m.var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !7 +// CHECK:STDOUT: %A.call.loc82 = call ptr @_CA.Main.a87c59609561b819(ptr %.loc82_5, i32 0), !dbg !18 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %m.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !20 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !20 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !27 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !27 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } @@ -131,38 +131,38 @@ fn M() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CA.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !34 { +// CHECK:STDOUT: define linkonce_odr i32 @_CA.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !34 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CB.Main.986e4fbf737c841b(i32 %x, i32 %count), !dbg !40 -// CHECK:STDOUT: %D.call = call i32 @_CD.Main.986e4fbf737c841b(i32 %x, i32 %count), !dbg !41 +// CHECK:STDOUT: call void @_CB.Main.4bee6dcdea6ba756(i32 %x, i32 %count), !dbg !40 +// CHECK:STDOUT: %D.call = call i32 @_CD.Main.4bee6dcdea6ba756(i32 %x, i32 %count), !dbg !41 // CHECK:STDOUT: ret i32 %D.call, !dbg !42 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CA.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !43 { +// CHECK:STDOUT: define linkonce_odr double @_CA.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !43 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CB.Main.c6ad9461f716a4dc(double %x, i32 %count), !dbg !49 -// CHECK:STDOUT: %D.call = call double @_CD.Main.c6ad9461f716a4dc(double %x, i32 %count), !dbg !50 +// CHECK:STDOUT: call void @_CB.Main.925563b151bf93f6(double %x, i32 %count), !dbg !49 +// CHECK:STDOUT: %D.call = call double @_CD.Main.925563b151bf93f6(double %x, i32 %count), !dbg !50 // CHECK:STDOUT: ret double %D.call, !dbg !51 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CA.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !52 { +// CHECK:STDOUT: define linkonce_odr ptr @_CA.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !52 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CB.Main.c6a12952cc402d96(ptr %x, i32 %count), !dbg !56 -// CHECK:STDOUT: %D.call = call ptr @_CD.Main.c6a12952cc402d96(ptr %x, i32 %count), !dbg !57 +// CHECK:STDOUT: call void @_CB.Main.a87c59609561b819(ptr %x, i32 %count), !dbg !56 +// CHECK:STDOUT: %D.call = call ptr @_CD.Main.a87c59609561b819(ptr %x, i32 %count), !dbg !57 // CHECK:STDOUT: ret ptr %D.call, !dbg !58 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CB.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !59 { +// CHECK:STDOUT: define linkonce_odr void @_CB.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !59 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CC.Main.986e4fbf737c841b(i32 %x, i32 %count), !dbg !65 +// CHECK:STDOUT: call void @_CC.Main.4bee6dcdea6ba756(i32 %x, i32 %count), !dbg !65 // CHECK:STDOUT: ret void, !dbg !66 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CD.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !67 { +// CHECK:STDOUT: define linkonce_odr i32 @_CD.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !67 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !71 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc48, label %if.else.loc48, !dbg !72 @@ -176,23 +176,23 @@ fn M() { // CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc51, label %if.else.loc51, !dbg !75 // CHECK:STDOUT: // CHECK:STDOUT: if.then.loc51: ; preds = %if.else.loc48 -// CHECK:STDOUT: %E.call = call i32 @_CE.Main.986e4fbf737c841b(i32 %x, i32 %count), !dbg !76 +// CHECK:STDOUT: %E.call = call i32 @_CE.Main.4bee6dcdea6ba756(i32 %x, i32 %count), !dbg !76 // CHECK:STDOUT: ret i32 %E.call, !dbg !77 // CHECK:STDOUT: // CHECK:STDOUT: if.else.loc51: ; preds = %if.else.loc48 -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.986e4fbf737c841b(i32 %x, i32 %count), !dbg !78 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.4bee6dcdea6ba756(i32 %x, i32 %count), !dbg !78 // CHECK:STDOUT: ret i32 %F.call, !dbg !79 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CB.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !80 { +// CHECK:STDOUT: define linkonce_odr void @_CB.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !80 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CC.Main.c6ad9461f716a4dc(double %x, i32 %count), !dbg !86 +// CHECK:STDOUT: call void @_CC.Main.925563b151bf93f6(double %x, i32 %count), !dbg !86 // CHECK:STDOUT: ret void, !dbg !87 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CD.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !88 { +// CHECK:STDOUT: define linkonce_odr double @_CD.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !88 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !92 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc48, label %if.else.loc48, !dbg !93 @@ -206,23 +206,23 @@ fn M() { // CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc51, label %if.else.loc51, !dbg !96 // CHECK:STDOUT: // CHECK:STDOUT: if.then.loc51: ; preds = %if.else.loc48 -// CHECK:STDOUT: %E.call = call double @_CE.Main.c6ad9461f716a4dc(double %x, i32 %count), !dbg !97 +// CHECK:STDOUT: %E.call = call double @_CE.Main.925563b151bf93f6(double %x, i32 %count), !dbg !97 // CHECK:STDOUT: ret double %E.call, !dbg !98 // CHECK:STDOUT: // CHECK:STDOUT: if.else.loc51: ; preds = %if.else.loc48 -// CHECK:STDOUT: %F.call = call double @_CF.Main.c6ad9461f716a4dc(double %x, i32 %count), !dbg !99 +// CHECK:STDOUT: %F.call = call double @_CF.Main.925563b151bf93f6(double %x, i32 %count), !dbg !99 // CHECK:STDOUT: ret double %F.call, !dbg !100 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CB.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !101 { +// CHECK:STDOUT: define linkonce_odr void @_CB.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !101 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CC.Main.c6a12952cc402d96(ptr %x, i32 %count), !dbg !105 +// CHECK:STDOUT: call void @_CC.Main.a87c59609561b819(ptr %x, i32 %count), !dbg !105 // CHECK:STDOUT: ret void, !dbg !106 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CD.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !107 { +// CHECK:STDOUT: define linkonce_odr ptr @_CD.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !107 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 4, !dbg !111 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then.loc48, label %if.else.loc48, !dbg !112 @@ -236,16 +236,16 @@ fn M() { // CHECK:STDOUT: br i1 %Int.as.EqWith.impl.Equal.call, label %if.then.loc51, label %if.else.loc51, !dbg !115 // CHECK:STDOUT: // CHECK:STDOUT: if.then.loc51: ; preds = %if.else.loc48 -// CHECK:STDOUT: %E.call = call ptr @_CE.Main.c6a12952cc402d96(ptr %x, i32 %count), !dbg !116 +// CHECK:STDOUT: %E.call = call ptr @_CE.Main.a87c59609561b819(ptr %x, i32 %count), !dbg !116 // CHECK:STDOUT: ret ptr %E.call, !dbg !117 // CHECK:STDOUT: // CHECK:STDOUT: if.else.loc51: ; preds = %if.else.loc48 -// CHECK:STDOUT: %F.call = call ptr @_CF.Main.c6a12952cc402d96(ptr %x, i32 %count), !dbg !118 +// CHECK:STDOUT: %F.call = call ptr @_CF.Main.a87c59609561b819(ptr %x, i32 %count), !dbg !118 // CHECK:STDOUT: ret ptr %F.call, !dbg !119 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CC.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !120 { +// CHECK:STDOUT: define linkonce_odr void @_CC.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !120 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.LessOrEquivalent.call = icmp sle i32 %count, 2, !dbg !124 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.LessOrEquivalent.call, label %if.then, label %if.else, !dbg !125 @@ -253,7 +253,7 @@ fn M() { // CHECK:STDOUT: if.then: ; preds = %entry // CHECK:STDOUT: %Print.call = call i32 (ptr, ...) @printf(ptr @printf.int.format, i32 %count), !dbg !126 // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !127 -// CHECK:STDOUT: call void @_CB.Main.986e4fbf737c841b(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !128 +// CHECK:STDOUT: call void @_CB.Main.4bee6dcdea6ba756(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !128 // CHECK:STDOUT: br label %if.else, !dbg !129 // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %if.then, %entry @@ -261,21 +261,21 @@ fn M() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CE.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !131 { +// CHECK:STDOUT: define linkonce_odr i32 @_CE.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !131 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %G.call = call i32 @_CG.Main.986e4fbf737c841b(i32 %x, i32 %count), !dbg !135 +// CHECK:STDOUT: %G.call = call i32 @_CG.Main.4bee6dcdea6ba756(i32 %x, i32 %count), !dbg !135 // CHECK:STDOUT: ret i32 %G.call, !dbg !136 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !137 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !137 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %G.call = call i32 @_CG.Main.986e4fbf737c841b(i32 %x, i32 %count), !dbg !141 +// CHECK:STDOUT: %G.call = call i32 @_CG.Main.4bee6dcdea6ba756(i32 %x, i32 %count), !dbg !141 // CHECK:STDOUT: ret i32 %G.call, !dbg !142 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CC.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !143 { +// CHECK:STDOUT: define linkonce_odr void @_CC.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !143 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.LessOrEquivalent.call = icmp sle i32 %count, 2, !dbg !147 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.LessOrEquivalent.call, label %if.then, label %if.else, !dbg !148 @@ -283,7 +283,7 @@ fn M() { // CHECK:STDOUT: if.then: ; preds = %entry // CHECK:STDOUT: %Print.call = call i32 (ptr, ...) @printf(ptr @printf.int.format, i32 %count), !dbg !149 // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !150 -// CHECK:STDOUT: call void @_CB.Main.c6ad9461f716a4dc(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !151 +// CHECK:STDOUT: call void @_CB.Main.925563b151bf93f6(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !151 // CHECK:STDOUT: br label %if.else, !dbg !152 // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %if.then, %entry @@ -291,21 +291,21 @@ fn M() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CE.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !154 { +// CHECK:STDOUT: define linkonce_odr double @_CE.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !154 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %G.call = call double @_CG.Main.c6ad9461f716a4dc(double %x, i32 %count), !dbg !158 +// CHECK:STDOUT: %G.call = call double @_CG.Main.925563b151bf93f6(double %x, i32 %count), !dbg !158 // CHECK:STDOUT: ret double %G.call, !dbg !159 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CF.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !160 { +// CHECK:STDOUT: define linkonce_odr double @_CF.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !160 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %G.call = call double @_CG.Main.c6ad9461f716a4dc(double %x, i32 %count), !dbg !164 +// CHECK:STDOUT: %G.call = call double @_CG.Main.925563b151bf93f6(double %x, i32 %count), !dbg !164 // CHECK:STDOUT: ret double %G.call, !dbg !165 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CC.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !166 { +// CHECK:STDOUT: define linkonce_odr void @_CC.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !166 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.OrderedWith.impl.LessOrEquivalent.call = icmp sle i32 %count, 2, !dbg !170 // CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.LessOrEquivalent.call, label %if.then, label %if.else, !dbg !171 @@ -313,7 +313,7 @@ fn M() { // CHECK:STDOUT: if.then: ; preds = %entry // CHECK:STDOUT: %Print.call = call i32 (ptr, ...) @printf(ptr @printf.int.format, i32 %count), !dbg !172 // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !173 -// CHECK:STDOUT: call void @_CB.Main.c6a12952cc402d96(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !174 +// CHECK:STDOUT: call void @_CB.Main.a87c59609561b819(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !174 // CHECK:STDOUT: br label %if.else, !dbg !175 // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %if.then, %entry @@ -321,52 +321,52 @@ fn M() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CE.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !177 { +// CHECK:STDOUT: define linkonce_odr ptr @_CE.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !177 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %G.call = call ptr @_CG.Main.c6a12952cc402d96(ptr %x, i32 %count), !dbg !181 +// CHECK:STDOUT: %G.call = call ptr @_CG.Main.a87c59609561b819(ptr %x, i32 %count), !dbg !181 // CHECK:STDOUT: ret ptr %G.call, !dbg !182 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CF.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !183 { +// CHECK:STDOUT: define linkonce_odr ptr @_CF.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !183 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %G.call = call ptr @_CG.Main.c6a12952cc402d96(ptr %x, i32 %count), !dbg !187 +// CHECK:STDOUT: %G.call = call ptr @_CG.Main.a87c59609561b819(ptr %x, i32 %count), !dbg !187 // CHECK:STDOUT: ret ptr %G.call, !dbg !188 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: declare i32 @printf(ptr, ...) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.986e4fbf737c841b(i32 %x, i32 %count) #0 !dbg !189 { +// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.4bee6dcdea6ba756(i32 %x, i32 %count) #0 !dbg !189 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !193 -// CHECK:STDOUT: %D.call = call i32 @_CD.Main.986e4fbf737c841b(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !194 +// CHECK:STDOUT: %D.call = call i32 @_CD.Main.4bee6dcdea6ba756(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !194 // CHECK:STDOUT: ret i32 %D.call, !dbg !195 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CG.Main.c6ad9461f716a4dc(double %x, i32 %count) #0 !dbg !196 { +// CHECK:STDOUT: define linkonce_odr double @_CG.Main.925563b151bf93f6(double %x, i32 %count) #0 !dbg !196 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !200 -// CHECK:STDOUT: %D.call = call double @_CD.Main.c6ad9461f716a4dc(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !201 +// CHECK:STDOUT: %D.call = call double @_CD.Main.925563b151bf93f6(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !201 // CHECK:STDOUT: ret double %D.call, !dbg !202 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CG.Main.c6a12952cc402d96(ptr %x, i32 %count) #0 !dbg !203 { +// CHECK:STDOUT: define linkonce_odr ptr @_CG.Main.a87c59609561b819(ptr %x, i32 %count) #0 !dbg !203 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !207 -// CHECK:STDOUT: %D.call = call ptr @_CD.Main.c6a12952cc402d96(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !208 +// CHECK:STDOUT: %D.call = call ptr @_CD.Main.a87c59609561b819(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !208 // CHECK:STDOUT: ret ptr %D.call, !dbg !209 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 3, 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CA.Main.c6a12952cc402d96, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CA.Main.a87c59609561b819, { 1, 0 } // CHECK:STDOUT: uselistorder ptr @printf, { 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CG.Main.986e4fbf737c841b, { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CG.Main.c6ad9461f716a4dc, { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CG.Main.c6a12952cc402d96, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CG.Main.4bee6dcdea6ba756, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CG.Main.925563b151bf93f6, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CG.Main.a87c59609561b819, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -394,21 +394,21 @@ fn M() { // CHECK:STDOUT: !17 = !DILocation(line: 82, column: 5, scope: !4) // CHECK:STDOUT: !18 = !DILocation(line: 82, column: 3, scope: !4) // CHECK:STDOUT: !19 = !DILocation(line: 73, column: 1, scope: !4) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 75, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 75, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !21 = !DISubroutineType(types: !22) // CHECK:STDOUT: !22 = !{null, !23} // CHECK:STDOUT: !23 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !20, type: !23) // CHECK:STDOUT: !26 = !DILocation(line: 75, column: 3, scope: !20) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 74, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 74, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !28 = !DISubroutineType(types: !29) // CHECK:STDOUT: !29 = !{null, !30} // CHECK:STDOUT: !30 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !27, type: !30) // CHECK:STDOUT: !33 = !DILocation(line: 74, column: 3, scope: !27) -// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.986e4fbf737c841b", scope: null, file: !3, line: 31, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !37) +// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 31, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !37) // CHECK:STDOUT: !35 = !DISubroutineType(types: !36) // CHECK:STDOUT: !36 = !{!30, !30, !30} // CHECK:STDOUT: !37 = !{!38, !39} @@ -417,7 +417,7 @@ fn M() { // CHECK:STDOUT: !40 = !DILocation(line: 32, column: 3, scope: !34) // CHECK:STDOUT: !41 = !DILocation(line: 33, column: 10, scope: !34) // CHECK:STDOUT: !42 = !DILocation(line: 33, column: 3, scope: !34) -// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 31, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) +// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.925563b151bf93f6", scope: null, file: !3, line: 31, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) // CHECK:STDOUT: !44 = !DISubroutineType(types: !45) // CHECK:STDOUT: !45 = !{!23, !23, !30} // CHECK:STDOUT: !46 = !{!47, !48} @@ -426,14 +426,14 @@ fn M() { // CHECK:STDOUT: !49 = !DILocation(line: 32, column: 3, scope: !43) // CHECK:STDOUT: !50 = !DILocation(line: 33, column: 10, scope: !43) // CHECK:STDOUT: !51 = !DILocation(line: 33, column: 3, scope: !43) -// CHECK:STDOUT: !52 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.c6a12952cc402d96", scope: null, file: !3, line: 31, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !53) +// CHECK:STDOUT: !52 = distinct !DISubprogram(name: "A", linkageName: "_CA.Main.a87c59609561b819", scope: null, file: !3, line: 31, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !53) // CHECK:STDOUT: !53 = !{!54, !55} // CHECK:STDOUT: !54 = !DILocalVariable(arg: 1, scope: !52, type: !23) // CHECK:STDOUT: !55 = !DILocalVariable(arg: 2, scope: !52, type: !30) // CHECK:STDOUT: !56 = !DILocation(line: 32, column: 3, scope: !52) // CHECK:STDOUT: !57 = !DILocation(line: 33, column: 10, scope: !52) // CHECK:STDOUT: !58 = !DILocation(line: 33, column: 3, scope: !52) -// CHECK:STDOUT: !59 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.986e4fbf737c841b", scope: null, file: !3, line: 36, type: !60, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !62) +// CHECK:STDOUT: !59 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 36, type: !60, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !62) // CHECK:STDOUT: !60 = !DISubroutineType(types: !61) // CHECK:STDOUT: !61 = !{null, !30, !30} // CHECK:STDOUT: !62 = !{!63, !64} @@ -441,7 +441,7 @@ fn M() { // CHECK:STDOUT: !64 = !DILocalVariable(arg: 2, scope: !59, type: !30) // CHECK:STDOUT: !65 = !DILocation(line: 37, column: 3, scope: !59) // CHECK:STDOUT: !66 = !DILocation(line: 36, column: 1, scope: !59) -// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.986e4fbf737c841b", scope: null, file: !3, line: 47, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !68) +// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 47, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !68) // CHECK:STDOUT: !68 = !{!69, !70} // CHECK:STDOUT: !69 = !DILocalVariable(arg: 1, scope: !67, type: !30) // CHECK:STDOUT: !70 = !DILocalVariable(arg: 2, scope: !67, type: !30) @@ -454,7 +454,7 @@ fn M() { // CHECK:STDOUT: !77 = !DILocation(line: 52, column: 5, scope: !67) // CHECK:STDOUT: !78 = !DILocation(line: 54, column: 12, scope: !67) // CHECK:STDOUT: !79 = !DILocation(line: 54, column: 5, scope: !67) -// CHECK:STDOUT: !80 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 36, type: !81, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !83) +// CHECK:STDOUT: !80 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.925563b151bf93f6", scope: null, file: !3, line: 36, type: !81, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !83) // CHECK:STDOUT: !81 = !DISubroutineType(types: !82) // CHECK:STDOUT: !82 = !{null, !23, !30} // CHECK:STDOUT: !83 = !{!84, !85} @@ -462,7 +462,7 @@ fn M() { // CHECK:STDOUT: !85 = !DILocalVariable(arg: 2, scope: !80, type: !30) // CHECK:STDOUT: !86 = !DILocation(line: 37, column: 3, scope: !80) // CHECK:STDOUT: !87 = !DILocation(line: 36, column: 1, scope: !80) -// CHECK:STDOUT: !88 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 47, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !89) +// CHECK:STDOUT: !88 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.925563b151bf93f6", scope: null, file: !3, line: 47, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !89) // CHECK:STDOUT: !89 = !{!90, !91} // CHECK:STDOUT: !90 = !DILocalVariable(arg: 1, scope: !88, type: !23) // CHECK:STDOUT: !91 = !DILocalVariable(arg: 2, scope: !88, type: !30) @@ -475,13 +475,13 @@ fn M() { // CHECK:STDOUT: !98 = !DILocation(line: 52, column: 5, scope: !88) // CHECK:STDOUT: !99 = !DILocation(line: 54, column: 12, scope: !88) // CHECK:STDOUT: !100 = !DILocation(line: 54, column: 5, scope: !88) -// CHECK:STDOUT: !101 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.c6a12952cc402d96", scope: null, file: !3, line: 36, type: !81, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !102) +// CHECK:STDOUT: !101 = distinct !DISubprogram(name: "B", linkageName: "_CB.Main.a87c59609561b819", scope: null, file: !3, line: 36, type: !81, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !102) // CHECK:STDOUT: !102 = !{!103, !104} // CHECK:STDOUT: !103 = !DILocalVariable(arg: 1, scope: !101, type: !23) // CHECK:STDOUT: !104 = !DILocalVariable(arg: 2, scope: !101, type: !30) // CHECK:STDOUT: !105 = !DILocation(line: 37, column: 3, scope: !101) // CHECK:STDOUT: !106 = !DILocation(line: 36, column: 1, scope: !101) -// CHECK:STDOUT: !107 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.c6a12952cc402d96", scope: null, file: !3, line: 47, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !108) +// CHECK:STDOUT: !107 = distinct !DISubprogram(name: "D", linkageName: "_CD.Main.a87c59609561b819", scope: null, file: !3, line: 47, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !108) // CHECK:STDOUT: !108 = !{!109, !110} // CHECK:STDOUT: !109 = !DILocalVariable(arg: 1, scope: !107, type: !23) // CHECK:STDOUT: !110 = !DILocalVariable(arg: 2, scope: !107, type: !30) @@ -494,7 +494,7 @@ fn M() { // CHECK:STDOUT: !117 = !DILocation(line: 52, column: 5, scope: !107) // CHECK:STDOUT: !118 = !DILocation(line: 54, column: 12, scope: !107) // CHECK:STDOUT: !119 = !DILocation(line: 54, column: 5, scope: !107) -// CHECK:STDOUT: !120 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.986e4fbf737c841b", scope: null, file: !3, line: 40, type: !60, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !121) +// CHECK:STDOUT: !120 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 40, type: !60, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !121) // CHECK:STDOUT: !121 = !{!122, !123} // CHECK:STDOUT: !122 = !DILocalVariable(arg: 1, scope: !120, type: !30) // CHECK:STDOUT: !123 = !DILocalVariable(arg: 2, scope: !120, type: !30) @@ -505,19 +505,19 @@ fn M() { // CHECK:STDOUT: !128 = !DILocation(line: 43, column: 5, scope: !120) // CHECK:STDOUT: !129 = !DILocation(line: 41, column: 3, scope: !120) // CHECK:STDOUT: !130 = !DILocation(line: 40, column: 1, scope: !120) -// CHECK:STDOUT: !131 = distinct !DISubprogram(name: "E", linkageName: "_CE.Main.986e4fbf737c841b", scope: null, file: !3, line: 60, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !132) +// CHECK:STDOUT: !131 = distinct !DISubprogram(name: "E", linkageName: "_CE.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 60, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !132) // CHECK:STDOUT: !132 = !{!133, !134} // CHECK:STDOUT: !133 = !DILocalVariable(arg: 1, scope: !131, type: !30) // CHECK:STDOUT: !134 = !DILocalVariable(arg: 2, scope: !131, type: !30) // CHECK:STDOUT: !135 = !DILocation(line: 61, column: 10, scope: !131) // CHECK:STDOUT: !136 = !DILocation(line: 61, column: 3, scope: !131) -// CHECK:STDOUT: !137 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.986e4fbf737c841b", scope: null, file: !3, line: 64, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !138) +// CHECK:STDOUT: !137 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 64, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !138) // CHECK:STDOUT: !138 = !{!139, !140} // CHECK:STDOUT: !139 = !DILocalVariable(arg: 1, scope: !137, type: !30) // CHECK:STDOUT: !140 = !DILocalVariable(arg: 2, scope: !137, type: !30) // CHECK:STDOUT: !141 = !DILocation(line: 65, column: 10, scope: !137) // CHECK:STDOUT: !142 = !DILocation(line: 65, column: 3, scope: !137) -// CHECK:STDOUT: !143 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 40, type: !81, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !144) +// CHECK:STDOUT: !143 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.925563b151bf93f6", scope: null, file: !3, line: 40, type: !81, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !144) // CHECK:STDOUT: !144 = !{!145, !146} // CHECK:STDOUT: !145 = !DILocalVariable(arg: 1, scope: !143, type: !23) // CHECK:STDOUT: !146 = !DILocalVariable(arg: 2, scope: !143, type: !30) @@ -528,19 +528,19 @@ fn M() { // CHECK:STDOUT: !151 = !DILocation(line: 43, column: 5, scope: !143) // CHECK:STDOUT: !152 = !DILocation(line: 41, column: 3, scope: !143) // CHECK:STDOUT: !153 = !DILocation(line: 40, column: 1, scope: !143) -// CHECK:STDOUT: !154 = distinct !DISubprogram(name: "E", linkageName: "_CE.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 60, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !155) +// CHECK:STDOUT: !154 = distinct !DISubprogram(name: "E", linkageName: "_CE.Main.925563b151bf93f6", scope: null, file: !3, line: 60, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !155) // CHECK:STDOUT: !155 = !{!156, !157} // CHECK:STDOUT: !156 = !DILocalVariable(arg: 1, scope: !154, type: !23) // CHECK:STDOUT: !157 = !DILocalVariable(arg: 2, scope: !154, type: !30) // CHECK:STDOUT: !158 = !DILocation(line: 61, column: 10, scope: !154) // CHECK:STDOUT: !159 = !DILocation(line: 61, column: 3, scope: !154) -// CHECK:STDOUT: !160 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 64, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !161) +// CHECK:STDOUT: !160 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.925563b151bf93f6", scope: null, file: !3, line: 64, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !161) // CHECK:STDOUT: !161 = !{!162, !163} // CHECK:STDOUT: !162 = !DILocalVariable(arg: 1, scope: !160, type: !23) // CHECK:STDOUT: !163 = !DILocalVariable(arg: 2, scope: !160, type: !30) // CHECK:STDOUT: !164 = !DILocation(line: 65, column: 10, scope: !160) // CHECK:STDOUT: !165 = !DILocation(line: 65, column: 3, scope: !160) -// CHECK:STDOUT: !166 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.c6a12952cc402d96", scope: null, file: !3, line: 40, type: !81, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !167) +// CHECK:STDOUT: !166 = distinct !DISubprogram(name: "C", linkageName: "_CC.Main.a87c59609561b819", scope: null, file: !3, line: 40, type: !81, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !167) // CHECK:STDOUT: !167 = !{!168, !169} // CHECK:STDOUT: !168 = !DILocalVariable(arg: 1, scope: !166, type: !23) // CHECK:STDOUT: !169 = !DILocalVariable(arg: 2, scope: !166, type: !30) @@ -551,33 +551,33 @@ fn M() { // CHECK:STDOUT: !174 = !DILocation(line: 43, column: 5, scope: !166) // CHECK:STDOUT: !175 = !DILocation(line: 41, column: 3, scope: !166) // CHECK:STDOUT: !176 = !DILocation(line: 40, column: 1, scope: !166) -// CHECK:STDOUT: !177 = distinct !DISubprogram(name: "E", linkageName: "_CE.Main.c6a12952cc402d96", scope: null, file: !3, line: 60, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !178) +// CHECK:STDOUT: !177 = distinct !DISubprogram(name: "E", linkageName: "_CE.Main.a87c59609561b819", scope: null, file: !3, line: 60, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !178) // CHECK:STDOUT: !178 = !{!179, !180} // CHECK:STDOUT: !179 = !DILocalVariable(arg: 1, scope: !177, type: !23) // CHECK:STDOUT: !180 = !DILocalVariable(arg: 2, scope: !177, type: !30) // CHECK:STDOUT: !181 = !DILocation(line: 61, column: 10, scope: !177) // CHECK:STDOUT: !182 = !DILocation(line: 61, column: 3, scope: !177) -// CHECK:STDOUT: !183 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c6a12952cc402d96", scope: null, file: !3, line: 64, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !184) +// CHECK:STDOUT: !183 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.a87c59609561b819", scope: null, file: !3, line: 64, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !184) // CHECK:STDOUT: !184 = !{!185, !186} // CHECK:STDOUT: !185 = !DILocalVariable(arg: 1, scope: !183, type: !23) // CHECK:STDOUT: !186 = !DILocalVariable(arg: 2, scope: !183, type: !30) // CHECK:STDOUT: !187 = !DILocation(line: 65, column: 10, scope: !183) // CHECK:STDOUT: !188 = !DILocation(line: 65, column: 3, scope: !183) -// CHECK:STDOUT: !189 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.986e4fbf737c841b", scope: null, file: !3, line: 68, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !190) +// CHECK:STDOUT: !189 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 68, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !190) // CHECK:STDOUT: !190 = !{!191, !192} // CHECK:STDOUT: !191 = !DILocalVariable(arg: 1, scope: !189, type: !30) // CHECK:STDOUT: !192 = !DILocalVariable(arg: 2, scope: !189, type: !30) // CHECK:STDOUT: !193 = !DILocation(line: 69, column: 15, scope: !189) // CHECK:STDOUT: !194 = !DILocation(line: 69, column: 10, scope: !189) // CHECK:STDOUT: !195 = !DILocation(line: 69, column: 3, scope: !189) -// CHECK:STDOUT: !196 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.c6ad9461f716a4dc", scope: null, file: !3, line: 68, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !197) +// CHECK:STDOUT: !196 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.925563b151bf93f6", scope: null, file: !3, line: 68, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !197) // CHECK:STDOUT: !197 = !{!198, !199} // CHECK:STDOUT: !198 = !DILocalVariable(arg: 1, scope: !196, type: !23) // CHECK:STDOUT: !199 = !DILocalVariable(arg: 2, scope: !196, type: !30) // CHECK:STDOUT: !200 = !DILocation(line: 69, column: 15, scope: !196) // CHECK:STDOUT: !201 = !DILocation(line: 69, column: 10, scope: !196) // CHECK:STDOUT: !202 = !DILocation(line: 69, column: 3, scope: !196) -// CHECK:STDOUT: !203 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.c6a12952cc402d96", scope: null, file: !3, line: 68, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !204) +// CHECK:STDOUT: !203 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.a87c59609561b819", scope: null, file: !3, line: 68, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !204) // CHECK:STDOUT: !204 = !{!205, !206} // CHECK:STDOUT: !205 = !DILocalVariable(arg: 1, scope: !203, type: !23) // CHECK:STDOUT: !206 = !DILocalVariable(arg: 2, scope: !203, type: !30) diff --git a/toolchain/lower/testdata/function/generic/call_specific_in_class.carbon b/toolchain/lower/testdata/function/generic/call_specific_in_class.carbon index 0a8272e2622a..7e2d22f75a9b 100644 --- a/toolchain/lower/testdata/function/generic/call_specific_in_class.carbon +++ b/toolchain/lower/testdata/function/generic/call_specific_in_class.carbon @@ -50,7 +50,7 @@ fn M() { // CHECK:STDOUT: %type = type {} // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %self) #0 !dbg !4 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !10 // CHECK:STDOUT: } @@ -67,39 +67,39 @@ fn M() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_i32.var), !dbg !14 // CHECK:STDOUT: store ptr poison, ptr %ptr_i32.var, align 8, !dbg !14 // CHECK:STDOUT: %.loc34_5 = load ptr, ptr %ptr_i32.var, align 8, !dbg !20 -// CHECK:STDOUT: %F.call.loc34 = call ptr @_CF.Main.3890ad819211e245(ptr %.loc34_5), !dbg !21 +// CHECK:STDOUT: %F.call.loc34 = call ptr @_CF.Main.a87c59609561b819(ptr %.loc34_5), !dbg !21 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_f64.var), !dbg !15 // CHECK:STDOUT: store ptr poison, ptr %ptr_f64.var, align 8, !dbg !15 // CHECK:STDOUT: %.loc36_5 = load ptr, ptr %ptr_f64.var, align 8, !dbg !22 -// CHECK:STDOUT: %F.call.loc36 = call ptr @_CF.Main.3890ad819211e245(ptr %.loc36_5), !dbg !23 +// CHECK:STDOUT: %F.call.loc36 = call ptr @_CF.Main.a87c59609561b819(ptr %.loc36_5), !dbg !23 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %ptr_i8.var), !dbg !16 // CHECK:STDOUT: store ptr poison, ptr %ptr_i8.var, align 8, !dbg !16 // CHECK:STDOUT: %.loc38_5 = load ptr, ptr %ptr_i8.var, align 8, !dbg !24 -// CHECK:STDOUT: %F.call.loc38 = call ptr @_CF.Main.3890ad819211e245(ptr %.loc38_5), !dbg !25 +// CHECK:STDOUT: %F.call.loc38 = call ptr @_CF.Main.a87c59609561b819(ptr %.loc38_5), !dbg !25 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %var_i32.var), !dbg !17 // CHECK:STDOUT: store i32 0, ptr %var_i32.var, align 4, !dbg !17 // CHECK:STDOUT: %.loc40_5 = load i32, ptr %var_i32.var, align 4, !dbg !26 -// CHECK:STDOUT: %F.call.loc40 = call i32 @_CF.Main.980bd46fd9fb5b99(i32 %.loc40_5), !dbg !27 +// CHECK:STDOUT: %F.call.loc40 = call i32 @_CF.Main.4bee6dcdea6ba756(i32 %.loc40_5), !dbg !27 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %var_f64.var), !dbg !18 // CHECK:STDOUT: store double 0.000000e+00, ptr %var_f64.var, align 8, !dbg !18 // CHECK:STDOUT: %.loc42_5 = load double, ptr %var_f64.var, align 8, !dbg !28 -// CHECK:STDOUT: %F.call.loc42 = call double @_CF.Main.3eb991d272a034fb(double %.loc42_5), !dbg !29 +// CHECK:STDOUT: %F.call.loc42 = call double @_CF.Main.925563b151bf93f6(double %.loc42_5), !dbg !29 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !19 -// CHECK:STDOUT: %F.call.loc44 = call %type @_CF.Main.22a6f624d7af1d76(%type zeroinitializer), !dbg !30 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %_.var), !dbg !19 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %var_f64.var), !dbg !18 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %var_i32.var), !dbg !17 +// CHECK:STDOUT: %F.call.loc44 = call %type @_CF.Main.7c9378dab434d9d8(%type zeroinitializer), !dbg !30 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %_.var), !dbg !19 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %var_f64.var), !dbg !18 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %var_i32.var), !dbg !17 // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !32 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !32 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !35 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !36 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !36 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !42 // CHECK:STDOUT: } @@ -108,100 +108,100 @@ fn M() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CF.Main.3890ad819211e245(ptr %x) #0 !dbg !43 { +// CHECK:STDOUT: define linkonce_odr ptr @_CF.Main.a87c59609561b819(ptr %x) #0 !dbg !43 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %G.call = call ptr @_CG.Main.3890ad819211e245(ptr %x), !dbg !48 +// CHECK:STDOUT: %G.call = call ptr @_CG.Main.a87c59609561b819(ptr %x), !dbg !48 // CHECK:STDOUT: ret ptr %G.call, !dbg !49 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.980bd46fd9fb5b99(i32 %x) #0 !dbg !50 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.4bee6dcdea6ba756(i32 %x) #0 !dbg !50 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %G.call = call i32 @_CG.Main.980bd46fd9fb5b99(i32 %x), !dbg !55 +// CHECK:STDOUT: %G.call = call i32 @_CG.Main.4bee6dcdea6ba756(i32 %x), !dbg !55 // CHECK:STDOUT: ret i32 %G.call, !dbg !56 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CF.Main.3eb991d272a034fb(double %x) #0 !dbg !57 { +// CHECK:STDOUT: define linkonce_odr double @_CF.Main.925563b151bf93f6(double %x) #0 !dbg !57 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %G.call = call double @_CG.Main.3eb991d272a034fb(double %x), !dbg !60 +// CHECK:STDOUT: %G.call = call double @_CG.Main.925563b151bf93f6(double %x), !dbg !60 // CHECK:STDOUT: ret double %G.call, !dbg !61 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr %type @_CF.Main.22a6f624d7af1d76(%type %x) #0 !dbg !62 { +// CHECK:STDOUT: define linkonce_odr %type @_CF.Main.7c9378dab434d9d8(%type %x) #0 !dbg !62 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %G.call = call %type @_CG.Main.22a6f624d7af1d76(%type %x), !dbg !65 +// CHECK:STDOUT: %G.call = call %type @_CG.Main.7c9378dab434d9d8(%type %x), !dbg !65 // CHECK:STDOUT: ret %type %G.call, !dbg !66 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CG.Main.3890ad819211e245(ptr %x) #0 !dbg !67 { +// CHECK:STDOUT: define linkonce_odr ptr @_CG.Main.a87c59609561b819(ptr %x) #0 !dbg !67 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %c.var = alloca {}, align 1, !dbg !70 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !70 -// CHECK:STDOUT: %C.Cfn.call = call ptr @_CCfn.C.Main.3890ad819211e245(ptr %c.var, ptr %x), !dbg !71 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %c.var), !dbg !70 +// CHECK:STDOUT: %C.Cfn.call = call ptr @_CCfn.C.Main.a87c59609561b819(ptr %c.var, ptr %x), !dbg !71 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !70 // CHECK:STDOUT: ret ptr %C.Cfn.call, !dbg !72 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.980bd46fd9fb5b99(i32 %x) #0 !dbg !73 { +// CHECK:STDOUT: define linkonce_odr i32 @_CG.Main.4bee6dcdea6ba756(i32 %x) #0 !dbg !73 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %c.var = alloca {}, align 1, !dbg !76 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !76 -// CHECK:STDOUT: %C.Cfn.call = call i32 @_CCfn.C.Main.980bd46fd9fb5b99(ptr %c.var, i32 %x), !dbg !77 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %c.var), !dbg !76 +// CHECK:STDOUT: %C.Cfn.call = call i32 @_CCfn.C.Main.4bee6dcdea6ba756(ptr %c.var, i32 %x), !dbg !77 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !76 // CHECK:STDOUT: ret i32 %C.Cfn.call, !dbg !78 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CG.Main.3eb991d272a034fb(double %x) #0 !dbg !79 { +// CHECK:STDOUT: define linkonce_odr double @_CG.Main.925563b151bf93f6(double %x) #0 !dbg !79 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %c.var = alloca {}, align 1, !dbg !82 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !82 -// CHECK:STDOUT: %C.Cfn.call = call double @_CCfn.C.Main.3eb991d272a034fb(ptr %c.var, double %x), !dbg !83 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %c.var), !dbg !82 +// CHECK:STDOUT: %C.Cfn.call = call double @_CCfn.C.Main.925563b151bf93f6(ptr %c.var, double %x), !dbg !83 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !82 // CHECK:STDOUT: ret double %C.Cfn.call, !dbg !84 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr %type @_CG.Main.22a6f624d7af1d76(%type %x) #0 !dbg !85 { +// CHECK:STDOUT: define linkonce_odr %type @_CG.Main.7c9378dab434d9d8(%type %x) #0 !dbg !85 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %c.var = alloca {}, align 1, !dbg !88 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !88 -// CHECK:STDOUT: %C.Cfn.call = call %type @_CCfn.C.Main.22a6f624d7af1d76(ptr %c.var, %type %x), !dbg !89 -// CHECK:STDOUT: call void @"_COp.b8b1f433ad216ca6:core.Destroy.Core"(ptr %c.var), !dbg !88 +// CHECK:STDOUT: %C.Cfn.call = call %type @_CCfn.C.Main.7c9378dab434d9d8(ptr %c.var, %type %x), !dbg !89 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !88 // CHECK:STDOUT: ret %type %C.Cfn.call, !dbg !90 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CCfn.C.Main.3890ad819211e245(ptr %self, ptr %x) #0 !dbg !91 { +// CHECK:STDOUT: define linkonce_odr ptr @_CCfn.C.Main.a87c59609561b819(ptr %self, ptr %x) #0 !dbg !91 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret ptr %x, !dbg !97 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CCfn.C.Main.980bd46fd9fb5b99(ptr %self, i32 %x) #0 !dbg !98 { +// CHECK:STDOUT: define linkonce_odr i32 @_CCfn.C.Main.4bee6dcdea6ba756(ptr %self, i32 %x) #0 !dbg !98 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret i32 %x, !dbg !104 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr double @_CCfn.C.Main.3eb991d272a034fb(ptr %self, double %x) #0 !dbg !105 { +// CHECK:STDOUT: define linkonce_odr double @_CCfn.C.Main.925563b151bf93f6(ptr %self, double %x) #0 !dbg !105 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret double %x, !dbg !109 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr %type @_CCfn.C.Main.22a6f624d7af1d76(ptr %self, %type %x) #0 !dbg !110 { +// CHECK:STDOUT: define linkonce_odr %type @_CCfn.C.Main.7c9378dab434d9d8(ptr %self, %type %x) #0 !dbg !110 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret %type %x, !dbg !114 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 0, 1, 2, 3, 9, 8, 7, 6, 5, 4 } -// CHECK:STDOUT: uselistorder ptr @_CF.Main.3890ad819211e245, { 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CF.Main.a87c59609561b819, { 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -213,7 +213,7 @@ fn M() { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "call_specific_in_class.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b8b1f433ad216ca6:core.Destroy.Core", scope: null, file: !3, line: 24, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 24, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{null, !7} // CHECK:STDOUT: !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) @@ -241,85 +241,85 @@ fn M() { // CHECK:STDOUT: !29 = !DILocation(line: 42, column: 3, scope: !11) // CHECK:STDOUT: !30 = !DILocation(line: 44, column: 3, scope: !11) // CHECK:STDOUT: !31 = !DILocation(line: 32, column: 1, scope: !11) -// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 41, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !33) +// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 41, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !33) // CHECK:STDOUT: !33 = !{!34} // CHECK:STDOUT: !34 = !DILocalVariable(arg: 1, scope: !32, type: !7) // CHECK:STDOUT: !35 = !DILocation(line: 41, column: 3, scope: !32) -// CHECK:STDOUT: !36 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 39, type: !37, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) +// CHECK:STDOUT: !36 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 39, type: !37, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) // CHECK:STDOUT: !37 = !DISubroutineType(types: !38) // CHECK:STDOUT: !38 = !{null, !39} // CHECK:STDOUT: !39 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !40 = !{!41} // CHECK:STDOUT: !41 = !DILocalVariable(arg: 1, scope: !36, type: !39) // CHECK:STDOUT: !42 = !DILocation(line: 39, column: 3, scope: !36) -// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.3890ad819211e245", scope: null, file: !3, line: 28, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) +// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.a87c59609561b819", scope: null, file: !3, line: 28, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) // CHECK:STDOUT: !44 = !DISubroutineType(types: !45) // CHECK:STDOUT: !45 = !{!7, !7} // CHECK:STDOUT: !46 = !{!47} // CHECK:STDOUT: !47 = !DILocalVariable(arg: 1, scope: !43, type: !7) // CHECK:STDOUT: !48 = !DILocation(line: 29, column: 10, scope: !43) // CHECK:STDOUT: !49 = !DILocation(line: 29, column: 3, scope: !43) -// CHECK:STDOUT: !50 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.980bd46fd9fb5b99", scope: null, file: !3, line: 28, type: !51, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !53) +// CHECK:STDOUT: !50 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 28, type: !51, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !53) // CHECK:STDOUT: !51 = !DISubroutineType(types: !52) // CHECK:STDOUT: !52 = !{!39, !39} // CHECK:STDOUT: !53 = !{!54} // CHECK:STDOUT: !54 = !DILocalVariable(arg: 1, scope: !50, type: !39) // CHECK:STDOUT: !55 = !DILocation(line: 29, column: 10, scope: !50) // CHECK:STDOUT: !56 = !DILocation(line: 29, column: 3, scope: !50) -// CHECK:STDOUT: !57 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.3eb991d272a034fb", scope: null, file: !3, line: 28, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !58) +// CHECK:STDOUT: !57 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.925563b151bf93f6", scope: null, file: !3, line: 28, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !58) // CHECK:STDOUT: !58 = !{!59} // CHECK:STDOUT: !59 = !DILocalVariable(arg: 1, scope: !57, type: !7) // CHECK:STDOUT: !60 = !DILocation(line: 29, column: 10, scope: !57) // CHECK:STDOUT: !61 = !DILocation(line: 29, column: 3, scope: !57) -// CHECK:STDOUT: !62 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.22a6f624d7af1d76", scope: null, file: !3, line: 28, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !63) +// CHECK:STDOUT: !62 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.7c9378dab434d9d8", scope: null, file: !3, line: 28, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !63) // CHECK:STDOUT: !63 = !{!64} // CHECK:STDOUT: !64 = !DILocalVariable(arg: 1, scope: !62, type: !7) // CHECK:STDOUT: !65 = !DILocation(line: 29, column: 10, scope: !62) // CHECK:STDOUT: !66 = !DILocation(line: 29, column: 3, scope: !62) -// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.3890ad819211e245", scope: null, file: !3, line: 23, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !68) +// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.a87c59609561b819", scope: null, file: !3, line: 23, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !68) // CHECK:STDOUT: !68 = !{!69} // CHECK:STDOUT: !69 = !DILocalVariable(arg: 1, scope: !67, type: !7) // CHECK:STDOUT: !70 = !DILocation(line: 24, column: 3, scope: !67) // CHECK:STDOUT: !71 = !DILocation(line: 25, column: 10, scope: !67) // CHECK:STDOUT: !72 = !DILocation(line: 25, column: 3, scope: !67) -// CHECK:STDOUT: !73 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.980bd46fd9fb5b99", scope: null, file: !3, line: 23, type: !51, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !74) +// CHECK:STDOUT: !73 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 23, type: !51, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !74) // CHECK:STDOUT: !74 = !{!75} // CHECK:STDOUT: !75 = !DILocalVariable(arg: 1, scope: !73, type: !39) // CHECK:STDOUT: !76 = !DILocation(line: 24, column: 3, scope: !73) // CHECK:STDOUT: !77 = !DILocation(line: 25, column: 10, scope: !73) // CHECK:STDOUT: !78 = !DILocation(line: 25, column: 3, scope: !73) -// CHECK:STDOUT: !79 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.3eb991d272a034fb", scope: null, file: !3, line: 23, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !80) +// CHECK:STDOUT: !79 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.925563b151bf93f6", scope: null, file: !3, line: 23, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !80) // CHECK:STDOUT: !80 = !{!81} // CHECK:STDOUT: !81 = !DILocalVariable(arg: 1, scope: !79, type: !7) // CHECK:STDOUT: !82 = !DILocation(line: 24, column: 3, scope: !79) // CHECK:STDOUT: !83 = !DILocation(line: 25, column: 10, scope: !79) // CHECK:STDOUT: !84 = !DILocation(line: 25, column: 3, scope: !79) -// CHECK:STDOUT: !85 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.22a6f624d7af1d76", scope: null, file: !3, line: 23, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !86) +// CHECK:STDOUT: !85 = distinct !DISubprogram(name: "G", linkageName: "_CG.Main.7c9378dab434d9d8", scope: null, file: !3, line: 23, type: !44, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !86) // CHECK:STDOUT: !86 = !{!87} // CHECK:STDOUT: !87 = !DILocalVariable(arg: 1, scope: !85, type: !7) // CHECK:STDOUT: !88 = !DILocation(line: 24, column: 3, scope: !85) // CHECK:STDOUT: !89 = !DILocation(line: 25, column: 10, scope: !85) // CHECK:STDOUT: !90 = !DILocation(line: 25, column: 3, scope: !85) -// CHECK:STDOUT: !91 = distinct !DISubprogram(name: "Cfn", linkageName: "_CCfn.C.Main.3890ad819211e245", scope: null, file: !3, line: 18, type: !92, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !94) +// CHECK:STDOUT: !91 = distinct !DISubprogram(name: "Cfn", linkageName: "_CCfn.C.Main.a87c59609561b819", scope: null, file: !3, line: 18, type: !92, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !94) // CHECK:STDOUT: !92 = !DISubroutineType(types: !93) // CHECK:STDOUT: !93 = !{!7, !7, !7} // CHECK:STDOUT: !94 = !{!95, !96} // CHECK:STDOUT: !95 = !DILocalVariable(arg: 1, scope: !91, type: !7) // CHECK:STDOUT: !96 = !DILocalVariable(arg: 2, scope: !91, type: !7) // CHECK:STDOUT: !97 = !DILocation(line: 19, column: 5, scope: !91) -// CHECK:STDOUT: !98 = distinct !DISubprogram(name: "Cfn", linkageName: "_CCfn.C.Main.980bd46fd9fb5b99", scope: null, file: !3, line: 18, type: !99, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !101) +// CHECK:STDOUT: !98 = distinct !DISubprogram(name: "Cfn", linkageName: "_CCfn.C.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 18, type: !99, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !101) // CHECK:STDOUT: !99 = !DISubroutineType(types: !100) // CHECK:STDOUT: !100 = !{!39, !7, !39} // CHECK:STDOUT: !101 = !{!102, !103} // CHECK:STDOUT: !102 = !DILocalVariable(arg: 1, scope: !98, type: !7) // CHECK:STDOUT: !103 = !DILocalVariable(arg: 2, scope: !98, type: !39) // CHECK:STDOUT: !104 = !DILocation(line: 19, column: 5, scope: !98) -// CHECK:STDOUT: !105 = distinct !DISubprogram(name: "Cfn", linkageName: "_CCfn.C.Main.3eb991d272a034fb", scope: null, file: !3, line: 18, type: !92, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !106) +// CHECK:STDOUT: !105 = distinct !DISubprogram(name: "Cfn", linkageName: "_CCfn.C.Main.925563b151bf93f6", scope: null, file: !3, line: 18, type: !92, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !106) // CHECK:STDOUT: !106 = !{!107, !108} // CHECK:STDOUT: !107 = !DILocalVariable(arg: 1, scope: !105, type: !7) // CHECK:STDOUT: !108 = !DILocalVariable(arg: 2, scope: !105, type: !7) // CHECK:STDOUT: !109 = !DILocation(line: 19, column: 5, scope: !105) -// CHECK:STDOUT: !110 = distinct !DISubprogram(name: "Cfn", linkageName: "_CCfn.C.Main.22a6f624d7af1d76", scope: null, file: !3, line: 18, type: !92, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !111) +// CHECK:STDOUT: !110 = distinct !DISubprogram(name: "Cfn", linkageName: "_CCfn.C.Main.7c9378dab434d9d8", scope: null, file: !3, line: 18, type: !92, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !111) // CHECK:STDOUT: !111 = !{!112, !113} // CHECK:STDOUT: !112 = !DILocalVariable(arg: 1, scope: !110, type: !7) // CHECK:STDOUT: !113 = !DILocalVariable(arg: 2, scope: !110, type: !7) diff --git a/toolchain/lower/testdata/function/generic/cross_library_name_collision_private.carbon b/toolchain/lower/testdata/function/generic/cross_library_name_collision_private.carbon index 67ad0f94dd3e..d0ca280a9174 100644 --- a/toolchain/lower/testdata/function/generic/cross_library_name_collision_private.carbon +++ b/toolchain/lower/testdata/function/generic/cross_library_name_collision_private.carbon @@ -77,30 +77,30 @@ fn Run() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @main() #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %Lib1CallF.call = call i32 @_CLib1CallF.Main.010abf0cb3c2db34(i32 1, i32 2), !dbg !8 -// CHECK:STDOUT: %Lib2CallF.call = call i32 @_CLib2CallF.Main.010abf0cb3c2db34(i32 1, i32 2), !dbg !9 +// CHECK:STDOUT: %Lib1CallF.call = call i32 @_CLib1CallF.Main.d5b7cd930e635b09(i32 1, i32 2), !dbg !8 +// CHECK:STDOUT: %Lib2CallF.call = call i32 @_CLib2CallF.Main.d5b7cd930e635b09(i32 1, i32 2), !dbg !9 // CHECK:STDOUT: ret i32 0, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CLib1CallF.Main.010abf0cb3c2db34(i32 %a, i32 %b) #0 !dbg !11 { -// CHECK:STDOUT: %1 = call i32 @_CF.Main.010abf0cb3c2db34(i32 %a, i32 %b), !dbg !18 +// CHECK:STDOUT: define linkonce_odr i32 @_CLib1CallF.Main.d5b7cd930e635b09(i32 %a, i32 %b) #0 !dbg !11 { +// CHECK:STDOUT: %1 = call i32 @_CF.Main.d5b7cd930e635b09(i32 %a, i32 %b), !dbg !18 // CHECK:STDOUT: ret i32 %1, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CLib2CallF.Main.010abf0cb3c2db34(i32 %a, i32 %b) #0 !dbg !20 { -// CHECK:STDOUT: %1 = call i32 @_CF.Main.010abf0cb3c2db34(i32 %a, i32 %b), !dbg !25 +// CHECK:STDOUT: define linkonce_odr i32 @_CLib2CallF.Main.d5b7cd930e635b09(i32 %a, i32 %b) #0 !dbg !20 { +// CHECK:STDOUT: %1 = call i32 @_CF.Main.d5b7cd930e635b09(i32 %a, i32 %b), !dbg !25 // CHECK:STDOUT: ret i32 %1, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.010abf0cb3c2db34(i32 %a, i32 %_) #0 !dbg !27 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.d5b7cd930e635b09(i32 %a, i32 %_) #0 !dbg !27 { // CHECK:STDOUT: ret i32 %a, !dbg !31 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @_CF.Main.010abf0cb3c2db34, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CF.Main.d5b7cd930e635b09, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: @@ -118,7 +118,7 @@ fn Run() { // CHECK:STDOUT: !8 = !DILocation(line: 10, column: 16, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 11, column: 16, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 9, column: 1, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Lib1CallF", linkageName: "_CLib1CallF.Main.010abf0cb3c2db34", scope: null, file: !12, line: 8, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Lib1CallF", linkageName: "_CLib1CallF.Main.d5b7cd930e635b09", scope: null, file: !12, line: 8, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) // CHECK:STDOUT: !12 = !DIFile(filename: "lib1.carbon", directory: "") // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{!7, !7, !7} @@ -127,14 +127,14 @@ fn Run() { // CHECK:STDOUT: !17 = !DILocalVariable(arg: 2, scope: !11, type: !7) // CHECK:STDOUT: !18 = !DILocation(line: 9, column: 10, scope: !11) // CHECK:STDOUT: !19 = !DILocation(line: 9, column: 3, scope: !11) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Lib2CallF", linkageName: "_CLib2CallF.Main.010abf0cb3c2db34", scope: null, file: !21, line: 11, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Lib2CallF", linkageName: "_CLib2CallF.Main.d5b7cd930e635b09", scope: null, file: !21, line: 11, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) // CHECK:STDOUT: !21 = !DIFile(filename: "lib2.carbon", directory: "") // CHECK:STDOUT: !22 = !{!23, !24} // CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !20, type: !7) // CHECK:STDOUT: !24 = !DILocalVariable(arg: 2, scope: !20, type: !7) // CHECK:STDOUT: !25 = !DILocation(line: 12, column: 10, scope: !20) // CHECK:STDOUT: !26 = !DILocation(line: 12, column: 3, scope: !20) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.010abf0cb3c2db34", scope: null, file: !12, line: 4, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.d5b7cd930e635b09", scope: null, file: !12, line: 4, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) // CHECK:STDOUT: !28 = !{!29, !30} // CHECK:STDOUT: !29 = !DILocalVariable(arg: 1, scope: !27, type: !7) // CHECK:STDOUT: !30 = !DILocalVariable(arg: 2, scope: !27, type: !7) diff --git a/toolchain/lower/testdata/function/generic/import.carbon b/toolchain/lower/testdata/function/generic/import.carbon index 5fefd1cf2e88..063163c92f30 100644 --- a/toolchain/lower/testdata/function/generic/import.carbon +++ b/toolchain/lower/testdata/function/generic/import.carbon @@ -115,16 +115,16 @@ fn Call() -> i32 { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %n.var), !dbg !8 // CHECK:STDOUT: store i32 0, ptr %n.var, align 4, !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %p.var), !dbg !9 -// CHECK:STDOUT: %DirectGeneric.call = call ptr @_CDirectGeneric.Main.c8fd090a2e741f70(ptr %n.var), !dbg !10 +// CHECK:STDOUT: %DirectGeneric.call = call ptr @_CDirectGeneric.Main.5e5386123d4b6287(ptr %n.var), !dbg !10 // CHECK:STDOUT: store ptr %DirectGeneric.call, ptr %p.var, align 8, !dbg !9 // CHECK:STDOUT: %.loc9_11 = load ptr, ptr %p.var, align 8, !dbg !11 // CHECK:STDOUT: %.loc9_10.2 = load i32, ptr %.loc9_11, align 4, !dbg !12 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !8 // CHECK:STDOUT: ret i32 %.loc9_10.2, !dbg !13 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !14 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !14 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } @@ -133,10 +133,10 @@ fn Call() -> i32 { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CDirectGeneric.Main.c8fd090a2e741f70(ptr %y) #0 !dbg !20 { +// CHECK:STDOUT: define linkonce_odr ptr @_CDirectGeneric.Main.5e5386123d4b6287(ptr %y) #0 !dbg !20 { // CHECK:STDOUT: call void @_CDirectDeclared.Main(), !dbg !27 // CHECK:STDOUT: call void @_CDirectDefined.Main(), !dbg !28 -// CHECK:STDOUT: %1 = call ptr @_CIndirectGeneric.Main.c8fd090a2e741f70(ptr %y), !dbg !29 +// CHECK:STDOUT: %1 = call ptr @_CIndirectGeneric.Main.5e5386123d4b6287(ptr %y), !dbg !29 // CHECK:STDOUT: ret ptr %1, !dbg !30 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -145,7 +145,7 @@ fn Call() -> i32 { // CHECK:STDOUT: declare void @_CDirectDefined.Main() // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CIndirectGeneric.Main.c8fd090a2e741f70(ptr %x) #0 !dbg !31 { +// CHECK:STDOUT: define linkonce_odr ptr @_CIndirectGeneric.Main.5e5386123d4b6287(ptr %x) #0 !dbg !31 { // CHECK:STDOUT: call void @_CIndirectDeclared.Main(), !dbg !35 // CHECK:STDOUT: call void @_CIndirectDefined.Main(), !dbg !36 // CHECK:STDOUT: ret ptr %x, !dbg !37 @@ -178,13 +178,13 @@ fn Call() -> i32 { // CHECK:STDOUT: !11 = !DILocation(line: 9, column: 11, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 9, column: 10, scope: !4) // CHECK:STDOUT: !13 = !DILocation(line: 9, column: 3, scope: !4) -// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 7, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) +// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 7, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) // CHECK:STDOUT: !15 = !DISubroutineType(types: !16) // CHECK:STDOUT: !16 = !{null, !7} // CHECK:STDOUT: !17 = !{!18} // CHECK:STDOUT: !18 = !DILocalVariable(arg: 1, scope: !14, type: !7) // CHECK:STDOUT: !19 = !DILocation(line: 7, column: 3, scope: !14) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "DirectGeneric", linkageName: "_CDirectGeneric.Main.c8fd090a2e741f70", scope: null, file: !21, line: 10, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "DirectGeneric", linkageName: "_CDirectGeneric.Main.5e5386123d4b6287", scope: null, file: !21, line: 10, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !21 = !DIFile(filename: "directly_imported.carbon", directory: "") // CHECK:STDOUT: !22 = !DISubroutineType(types: !23) // CHECK:STDOUT: !23 = !{!24, !24} @@ -195,7 +195,7 @@ fn Call() -> i32 { // CHECK:STDOUT: !28 = !DILocation(line: 12, column: 3, scope: !20) // CHECK:STDOUT: !29 = !DILocation(line: 13, column: 10, scope: !20) // CHECK:STDOUT: !30 = !DILocation(line: 13, column: 3, scope: !20) -// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "IndirectGeneric", linkageName: "_CIndirectGeneric.Main.c8fd090a2e741f70", scope: null, file: !32, line: 8, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !33) +// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "IndirectGeneric", linkageName: "_CIndirectGeneric.Main.5e5386123d4b6287", scope: null, file: !32, line: 8, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !33) // CHECK:STDOUT: !32 = !DIFile(filename: "indirectly_imported.carbon", directory: "") // CHECK:STDOUT: !33 = !{!34} // CHECK:STDOUT: !34 = !DILocalVariable(arg: 1, scope: !31, type: !24) diff --git a/toolchain/lower/testdata/function/generic/import_core_witness.carbon b/toolchain/lower/testdata/function/generic/import_core_witness.carbon index 8a2c1f8821a6..0ebbe282bb32 100644 --- a/toolchain/lower/testdata/function/generic/import_core_witness.carbon +++ b/toolchain/lower/testdata/function/generic/import_core_witness.carbon @@ -32,7 +32,7 @@ fn Run() { // CHECK:STDOUT: source_filename = "lib.carbon" // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !4 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !10 // CHECK:STDOUT: } @@ -46,7 +46,7 @@ fn Run() { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "lib.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 7, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 7, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{null, !7} // CHECK:STDOUT: !7 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) @@ -59,20 +59,20 @@ fn Run() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @main() #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main.3e6c0554c3446d89(), !dbg !8 +// CHECK:STDOUT: call void @_CF.Main.c583422fbd7ef3aa(), !dbg !8 // CHECK:STDOUT: ret i32 0, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.3e6c0554c3446d89() #0 !dbg !10 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.c583422fbd7ef3aa() #0 !dbg !10 { // CHECK:STDOUT: %1 = alloca i32, align 4, !dbg !14 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %1), !dbg !14 // CHECK:STDOUT: store i32 0, ptr %1, align 4, !dbg !14 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %1), !dbg !14 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %1), !dbg !14 // CHECK:STDOUT: ret void, !dbg !15 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr) +// CHECK:STDOUT: declare void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 @@ -93,7 +93,7 @@ fn Run() { // CHECK:STDOUT: !7 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !8 = !DILocation(line: 5, column: 3, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 4, column: 1, scope: !4) -// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.3e6c0554c3446d89", scope: null, file: !11, line: 4, type: !12, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c583422fbd7ef3aa", scope: null, file: !11, line: 4, type: !12, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !11 = !DIFile(filename: "lib.carbon", directory: "") // CHECK:STDOUT: !12 = !DISubroutineType(types: !13) // CHECK:STDOUT: !13 = !{null} diff --git a/toolchain/lower/testdata/function/generic/import_unused_def.carbon b/toolchain/lower/testdata/function/generic/import_unused_def.carbon index b9f176e12714..8e9df9b41729 100644 --- a/toolchain/lower/testdata/function/generic/import_unused_def.carbon +++ b/toolchain/lower/testdata/function/generic/import_unused_def.carbon @@ -50,7 +50,7 @@ fn Main() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.1ffd093eb479ebde:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: define weak_odr void @"_COp.52f59d9a55c34030:core.Destroy.Core"(ptr %self) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -71,7 +71,7 @@ fn Main() { // CHECK:STDOUT: !8 = !{!9} // CHECK:STDOUT: !9 = !DILocalVariable(arg: 1, scope: !4, type: !7) // CHECK:STDOUT: !10 = !DILocation(line: 13, column: 5, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1ffd093eb479ebde:core.Destroy.Core", scope: null, file: !3, line: 18, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.52f59d9a55c34030:core.Destroy.Core", scope: null, file: !3, line: 18, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !12 = !DISubroutineType(types: !13) // CHECK:STDOUT: !13 = !{null, !7} // CHECK:STDOUT: !14 = !{!15} @@ -95,13 +95,13 @@ fn Main() { // CHECK:STDOUT: store i32 %2, ptr %1, align 4, !dbg !17 // CHECK:STDOUT: %3 = load i32, ptr %1, align 4, !dbg !19 // CHECK:STDOUT: %4 = call i32 @"_COp.Foo.Main:Copy.Core"(i32 %3), !dbg !19 -// CHECK:STDOUT: call void @"_COp.1ffd093eb479ebde:core.Destroy.Core"(ptr %1), !dbg !17 +// CHECK:STDOUT: call void @"_COp.52f59d9a55c34030:core.Destroy.Core"(ptr %1), !dbg !17 // CHECK:STDOUT: ret i32 %4, !dbg !20 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: declare i32 @"_COp.Foo.Main:Copy.Core"(i32) // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_COp.1ffd093eb479ebde:core.Destroy.Core"(ptr) +// CHECK:STDOUT: declare void @"_COp.52f59d9a55c34030:core.Destroy.Core"(ptr) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 diff --git a/toolchain/lower/testdata/function/generic/local_function.carbon b/toolchain/lower/testdata/function/generic/local_function.carbon index 38082065c144..7c27030b817f 100644 --- a/toolchain/lower/testdata/function/generic/local_function.carbon +++ b/toolchain/lower/testdata/function/generic/local_function.carbon @@ -29,19 +29,19 @@ fn Run() -> i32 { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @main() #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.980bd46fd9fb5b99(i32 0), !dbg !8 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.4bee6dcdea6ba756(i32 0), !dbg !8 // CHECK:STDOUT: ret i32 %F.call, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.980bd46fd9fb5b99(i32 %y) #0 !dbg !10 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.4bee6dcdea6ba756(i32 %y) #0 !dbg !10 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %G.call = call i32 @"_CG:enclosed.980bd46fd9fb5b99"(i32 %y), !dbg !15 +// CHECK:STDOUT: %G.call = call i32 @"_CG:enclosed.4bee6dcdea6ba756"(i32 %y), !dbg !15 // CHECK:STDOUT: ret i32 %G.call, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CG:enclosed.980bd46fd9fb5b99"(i32 %x) #0 !dbg !17 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CG:enclosed.4bee6dcdea6ba756"(i32 %x) #0 !dbg !17 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret i32 %x, !dbg !20 // CHECK:STDOUT: } @@ -61,14 +61,14 @@ fn Run() -> i32 { // CHECK:STDOUT: !7 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !8 = !DILocation(line: 23, column: 10, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 23, column: 3, scope: !4) -// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.980bd46fd9fb5b99", scope: null, file: !3, line: 17, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !13) +// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.4bee6dcdea6ba756", scope: null, file: !3, line: 17, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !13) // CHECK:STDOUT: !11 = !DISubroutineType(types: !12) // CHECK:STDOUT: !12 = !{!7, !7} // CHECK:STDOUT: !13 = !{!14} // CHECK:STDOUT: !14 = !DILocalVariable(arg: 1, scope: !10, type: !7) // CHECK:STDOUT: !15 = !DILocation(line: 19, column: 10, scope: !10) // CHECK:STDOUT: !16 = !DILocation(line: 19, column: 3, scope: !10) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "G", linkageName: "_CG:enclosed.980bd46fd9fb5b99", scope: null, file: !3, line: 18, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "G", linkageName: "_CG:enclosed.4bee6dcdea6ba756", scope: null, file: !3, line: 18, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) // CHECK:STDOUT: !18 = !{!19} // CHECK:STDOUT: !19 = !DILocalVariable(arg: 1, scope: !17, type: !7) // CHECK:STDOUT: !20 = !DILocation(line: 18, column: 21, scope: !17) diff --git a/toolchain/lower/testdata/function/generic/reverse_canonical.carbon b/toolchain/lower/testdata/function/generic/reverse_canonical.carbon index 6413c4bd243a..c642efa3de40 100644 --- a/toolchain/lower/testdata/function/generic/reverse_canonical.carbon +++ b/toolchain/lower/testdata/function/generic/reverse_canonical.carbon @@ -78,98 +78,98 @@ fn Main() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %local_name.var), !dbg !22 // CHECK:STDOUT: store ptr poison, ptr %local_name.var, align 8, !dbg !22 // CHECK:STDOUT: %.loc23 = load ptr, ptr %local_name.var, align 8, !dbg !23 -// CHECK:STDOUT: call void @_Csecond.Main.aaf7c15f976738ba(i1 %arg2, i1 %arg2, ptr %.loc23), !dbg !24 +// CHECK:STDOUT: call void @_Csecond.Main.74f823cd843d38ef(i1 %arg2, i1 %arg2, ptr %.loc23), !dbg !24 // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_Csecond.Main.aaf7c15f976738ba(i1 %arg1, i1 %arg2, ptr %arg3) #0 !dbg !26 { +// CHECK:STDOUT: define linkonce_odr void @_Csecond.Main.74f823cd843d38ef(i1 %arg1, i1 %arg2, ptr %arg3) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %local_name.var = alloca ptr, align 8, !dbg !31 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %local_name.var), !dbg !31 // CHECK:STDOUT: store ptr poison, ptr %local_name.var, align 8, !dbg !31 -// CHECK:STDOUT: call void @_Cfirst.Main.8e87f8cfe236f9b4(ptr %arg3, ptr %arg3, i1 %arg1), !dbg !32 +// CHECK:STDOUT: call void @_Cfirst.Main.a8c84376d8fe3cd2(ptr %arg3, ptr %arg3, i1 %arg1), !dbg !32 // CHECK:STDOUT: %.loc30 = load ptr, ptr %local_name.var, align 8, !dbg !33 -// CHECK:STDOUT: call void @_Cthird.Main.aaf7c15f976738ba(i1 %arg2, i1 %arg2, ptr %.loc30), !dbg !34 +// CHECK:STDOUT: call void @_Cthird.Main.74f823cd843d38ef(i1 %arg2, i1 %arg2, ptr %.loc30), !dbg !34 // CHECK:STDOUT: ret void, !dbg !35 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_Cfirst.Main.8e87f8cfe236f9b4(ptr %arg1, ptr %arg2, i1 %arg3) #0 !dbg !36 { +// CHECK:STDOUT: define linkonce_odr void @_Cfirst.Main.a8c84376d8fe3cd2(ptr %arg1, ptr %arg2, i1 %arg3) #0 !dbg !36 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %local_name.var = alloca ptr, align 8, !dbg !41 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %local_name.var), !dbg !41 // CHECK:STDOUT: store ptr poison, ptr %local_name.var, align 8, !dbg !41 // CHECK:STDOUT: %.loc23 = load ptr, ptr %local_name.var, align 8, !dbg !42 -// CHECK:STDOUT: call void @_Csecond.Main.c72f611ac8ec746c(ptr %arg2, ptr %arg2, ptr %.loc23), !dbg !43 +// CHECK:STDOUT: call void @_Csecond.Main.6485d988ba5bfa31(ptr %arg2, ptr %arg2, ptr %.loc23), !dbg !43 // CHECK:STDOUT: ret void, !dbg !44 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_Cthird.Main.aaf7c15f976738ba(i1 %arg1, i1 %arg2, ptr %arg3) #0 !dbg !45 { +// CHECK:STDOUT: define linkonce_odr void @_Cthird.Main.74f823cd843d38ef(i1 %arg1, i1 %arg2, ptr %arg3) #0 !dbg !45 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %local_name.var = alloca ptr, align 8, !dbg !50 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %local_name.var), !dbg !50 // CHECK:STDOUT: store ptr poison, ptr %local_name.var, align 8, !dbg !50 // CHECK:STDOUT: %.loc36_10 = load ptr, ptr %local_name.var, align 8, !dbg !51 // CHECK:STDOUT: %.loc36_22 = load ptr, ptr %local_name.var, align 8, !dbg !52 -// CHECK:STDOUT: call void @_Cfourth.Main.4190333b2bb015d8(ptr %.loc36_10, ptr %.loc36_22, i1 %arg1), !dbg !53 -// CHECK:STDOUT: call void @_Cfourth.Main.4190333b2bb015d8(ptr %arg3, ptr %arg3, i1 %arg2), !dbg !54 +// CHECK:STDOUT: call void @_Cfourth.Main.c3fb0c35c5907496(ptr %.loc36_10, ptr %.loc36_22, i1 %arg1), !dbg !53 +// CHECK:STDOUT: call void @_Cfourth.Main.c3fb0c35c5907496(ptr %arg3, ptr %arg3, i1 %arg2), !dbg !54 // CHECK:STDOUT: ret void, !dbg !55 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_Csecond.Main.c72f611ac8ec746c(ptr %arg1, ptr %arg2, ptr %arg3) #0 !dbg !56 { +// CHECK:STDOUT: define linkonce_odr void @_Csecond.Main.6485d988ba5bfa31(ptr %arg1, ptr %arg2, ptr %arg3) #0 !dbg !56 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %local_name.var = alloca ptr, align 8, !dbg !61 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %local_name.var), !dbg !61 // CHECK:STDOUT: store ptr poison, ptr %local_name.var, align 8, !dbg !61 -// CHECK:STDOUT: call void @_Cfirst.Main.c72f611ac8ec746c(ptr %arg3, ptr %arg3, ptr %arg1), !dbg !62 +// CHECK:STDOUT: call void @_Cfirst.Main.6485d988ba5bfa31(ptr %arg3, ptr %arg3, ptr %arg1), !dbg !62 // CHECK:STDOUT: %.loc30 = load ptr, ptr %local_name.var, align 8, !dbg !63 -// CHECK:STDOUT: call void @_Cthird.Main.c72f611ac8ec746c(ptr %arg2, ptr %arg2, ptr %.loc30), !dbg !64 +// CHECK:STDOUT: call void @_Cthird.Main.6485d988ba5bfa31(ptr %arg2, ptr %arg2, ptr %.loc30), !dbg !64 // CHECK:STDOUT: ret void, !dbg !65 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_Cfourth.Main.4190333b2bb015d8(ptr %arg1, ptr %arg2, i1 %arg3) #0 !dbg !66 { +// CHECK:STDOUT: define linkonce_odr void @_Cfourth.Main.c3fb0c35c5907496(ptr %arg1, ptr %arg2, i1 %arg3) #0 !dbg !66 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !71 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_Cfirst.Main.c72f611ac8ec746c(ptr %arg1, ptr %arg2, ptr %arg3) #0 !dbg !72 { +// CHECK:STDOUT: define linkonce_odr void @_Cfirst.Main.6485d988ba5bfa31(ptr %arg1, ptr %arg2, ptr %arg3) #0 !dbg !72 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %local_name.var = alloca ptr, align 8, !dbg !77 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %local_name.var), !dbg !77 // CHECK:STDOUT: store ptr poison, ptr %local_name.var, align 8, !dbg !77 // CHECK:STDOUT: %.loc23 = load ptr, ptr %local_name.var, align 8, !dbg !78 -// CHECK:STDOUT: call void @_Csecond.Main.c72f611ac8ec746c(ptr %arg2, ptr %arg2, ptr %.loc23), !dbg !79 +// CHECK:STDOUT: call void @_Csecond.Main.6485d988ba5bfa31(ptr %arg2, ptr %arg2, ptr %.loc23), !dbg !79 // CHECK:STDOUT: ret void, !dbg !80 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_Cthird.Main.c72f611ac8ec746c(ptr %arg1, ptr %arg2, ptr %arg3) #0 !dbg !81 { +// CHECK:STDOUT: define linkonce_odr void @_Cthird.Main.6485d988ba5bfa31(ptr %arg1, ptr %arg2, ptr %arg3) #0 !dbg !81 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %local_name.var = alloca ptr, align 8, !dbg !86 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %local_name.var), !dbg !86 // CHECK:STDOUT: store ptr poison, ptr %local_name.var, align 8, !dbg !86 // CHECK:STDOUT: %.loc36_10 = load ptr, ptr %local_name.var, align 8, !dbg !87 // CHECK:STDOUT: %.loc36_22 = load ptr, ptr %local_name.var, align 8, !dbg !88 -// CHECK:STDOUT: call void @_Cfourth.Main.45224ba06c4ba1f9(ptr %.loc36_10, ptr %.loc36_22, ptr %arg1), !dbg !89 -// CHECK:STDOUT: call void @_Cfourth.Main.45224ba06c4ba1f9(ptr %arg3, ptr %arg3, ptr %arg2), !dbg !90 +// CHECK:STDOUT: call void @_Cfourth.Main.995aa3b70e2c63a5(ptr %.loc36_10, ptr %.loc36_22, ptr %arg1), !dbg !89 +// CHECK:STDOUT: call void @_Cfourth.Main.995aa3b70e2c63a5(ptr %arg3, ptr %arg3, ptr %arg2), !dbg !90 // CHECK:STDOUT: ret void, !dbg !91 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_Cfourth.Main.45224ba06c4ba1f9(ptr %arg1, ptr %arg2, ptr %arg3) #0 !dbg !92 { +// CHECK:STDOUT: define linkonce_odr void @_Cfourth.Main.995aa3b70e2c63a5(ptr %arg1, ptr %arg2, ptr %arg3) #0 !dbg !92 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !97 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 0, 1, 2, 3, 4, 5, 6, 8, 7 } -// CHECK:STDOUT: uselistorder ptr @_Cfourth.Main.4190333b2bb015d8, { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_Cfourth.Main.45224ba06c4ba1f9, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_Cfourth.Main.c3fb0c35c5907496, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_Cfourth.Main.995aa3b70e2c63a5, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -203,7 +203,7 @@ fn Main() { // CHECK:STDOUT: !23 = !DILocation(line: 23, column: 22, scope: !14) // CHECK:STDOUT: !24 = !DILocation(line: 23, column: 3, scope: !14) // CHECK:STDOUT: !25 = !DILocation(line: 20, column: 1, scope: !14) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "second", linkageName: "_Csecond.Main.aaf7c15f976738ba", scope: null, file: !3, line: 26, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "second", linkageName: "_Csecond.Main.74f823cd843d38ef", scope: null, file: !3, line: 26, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !27 = !{!28, !29, !30} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !26, type: !17) // CHECK:STDOUT: !29 = !DILocalVariable(arg: 2, scope: !26, type: !17) @@ -213,7 +213,7 @@ fn Main() { // CHECK:STDOUT: !33 = !DILocation(line: 30, column: 21, scope: !26) // CHECK:STDOUT: !34 = !DILocation(line: 30, column: 3, scope: !26) // CHECK:STDOUT: !35 = !DILocation(line: 26, column: 1, scope: !26) -// CHECK:STDOUT: !36 = distinct !DISubprogram(name: "first", linkageName: "_Cfirst.Main.8e87f8cfe236f9b4", scope: null, file: !3, line: 20, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !37) +// CHECK:STDOUT: !36 = distinct !DISubprogram(name: "first", linkageName: "_Cfirst.Main.a8c84376d8fe3cd2", scope: null, file: !3, line: 20, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !37) // CHECK:STDOUT: !37 = !{!38, !39, !40} // CHECK:STDOUT: !38 = !DILocalVariable(arg: 1, scope: !36, type: !17) // CHECK:STDOUT: !39 = !DILocalVariable(arg: 2, scope: !36, type: !17) @@ -222,7 +222,7 @@ fn Main() { // CHECK:STDOUT: !42 = !DILocation(line: 23, column: 22, scope: !36) // CHECK:STDOUT: !43 = !DILocation(line: 23, column: 3, scope: !36) // CHECK:STDOUT: !44 = !DILocation(line: 20, column: 1, scope: !36) -// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "third", linkageName: "_Cthird.Main.aaf7c15f976738ba", scope: null, file: !3, line: 33, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) +// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "third", linkageName: "_Cthird.Main.74f823cd843d38ef", scope: null, file: !3, line: 33, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) // CHECK:STDOUT: !46 = !{!47, !48, !49} // CHECK:STDOUT: !47 = !DILocalVariable(arg: 1, scope: !45, type: !17) // CHECK:STDOUT: !48 = !DILocalVariable(arg: 2, scope: !45, type: !17) @@ -233,7 +233,7 @@ fn Main() { // CHECK:STDOUT: !53 = !DILocation(line: 36, column: 3, scope: !45) // CHECK:STDOUT: !54 = !DILocation(line: 37, column: 3, scope: !45) // CHECK:STDOUT: !55 = !DILocation(line: 33, column: 1, scope: !45) -// CHECK:STDOUT: !56 = distinct !DISubprogram(name: "second", linkageName: "_Csecond.Main.c72f611ac8ec746c", scope: null, file: !3, line: 26, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !57) +// CHECK:STDOUT: !56 = distinct !DISubprogram(name: "second", linkageName: "_Csecond.Main.6485d988ba5bfa31", scope: null, file: !3, line: 26, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !57) // CHECK:STDOUT: !57 = !{!58, !59, !60} // CHECK:STDOUT: !58 = !DILocalVariable(arg: 1, scope: !56, type: !17) // CHECK:STDOUT: !59 = !DILocalVariable(arg: 2, scope: !56, type: !17) @@ -243,13 +243,13 @@ fn Main() { // CHECK:STDOUT: !63 = !DILocation(line: 30, column: 21, scope: !56) // CHECK:STDOUT: !64 = !DILocation(line: 30, column: 3, scope: !56) // CHECK:STDOUT: !65 = !DILocation(line: 26, column: 1, scope: !56) -// CHECK:STDOUT: !66 = distinct !DISubprogram(name: "fourth", linkageName: "_Cfourth.Main.4190333b2bb015d8", scope: null, file: !3, line: 40, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !67) +// CHECK:STDOUT: !66 = distinct !DISubprogram(name: "fourth", linkageName: "_Cfourth.Main.c3fb0c35c5907496", scope: null, file: !3, line: 40, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !67) // CHECK:STDOUT: !67 = !{!68, !69, !70} // CHECK:STDOUT: !68 = !DILocalVariable(arg: 1, scope: !66, type: !17) // CHECK:STDOUT: !69 = !DILocalVariable(arg: 2, scope: !66, type: !17) // CHECK:STDOUT: !70 = !DILocalVariable(arg: 3, scope: !66, type: !17) // CHECK:STDOUT: !71 = !DILocation(line: 40, column: 1, scope: !66) -// CHECK:STDOUT: !72 = distinct !DISubprogram(name: "first", linkageName: "_Cfirst.Main.c72f611ac8ec746c", scope: null, file: !3, line: 20, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !73) +// CHECK:STDOUT: !72 = distinct !DISubprogram(name: "first", linkageName: "_Cfirst.Main.6485d988ba5bfa31", scope: null, file: !3, line: 20, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !73) // CHECK:STDOUT: !73 = !{!74, !75, !76} // CHECK:STDOUT: !74 = !DILocalVariable(arg: 1, scope: !72, type: !17) // CHECK:STDOUT: !75 = !DILocalVariable(arg: 2, scope: !72, type: !17) @@ -258,7 +258,7 @@ fn Main() { // CHECK:STDOUT: !78 = !DILocation(line: 23, column: 22, scope: !72) // CHECK:STDOUT: !79 = !DILocation(line: 23, column: 3, scope: !72) // CHECK:STDOUT: !80 = !DILocation(line: 20, column: 1, scope: !72) -// CHECK:STDOUT: !81 = distinct !DISubprogram(name: "third", linkageName: "_Cthird.Main.c72f611ac8ec746c", scope: null, file: !3, line: 33, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !82) +// CHECK:STDOUT: !81 = distinct !DISubprogram(name: "third", linkageName: "_Cthird.Main.6485d988ba5bfa31", scope: null, file: !3, line: 33, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !82) // CHECK:STDOUT: !82 = !{!83, !84, !85} // CHECK:STDOUT: !83 = !DILocalVariable(arg: 1, scope: !81, type: !17) // CHECK:STDOUT: !84 = !DILocalVariable(arg: 2, scope: !81, type: !17) @@ -269,7 +269,7 @@ fn Main() { // CHECK:STDOUT: !89 = !DILocation(line: 36, column: 3, scope: !81) // CHECK:STDOUT: !90 = !DILocation(line: 37, column: 3, scope: !81) // CHECK:STDOUT: !91 = !DILocation(line: 33, column: 1, scope: !81) -// CHECK:STDOUT: !92 = distinct !DISubprogram(name: "fourth", linkageName: "_Cfourth.Main.45224ba06c4ba1f9", scope: null, file: !3, line: 40, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !93) +// CHECK:STDOUT: !92 = distinct !DISubprogram(name: "fourth", linkageName: "_Cfourth.Main.995aa3b70e2c63a5", scope: null, file: !3, line: 40, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !93) // CHECK:STDOUT: !93 = !{!94, !95, !96} // CHECK:STDOUT: !94 = !DILocalVariable(arg: 1, scope: !92, type: !17) // CHECK:STDOUT: !95 = !DILocalVariable(arg: 2, scope: !92, type: !17) diff --git a/toolchain/lower/testdata/function/generic/self_canonical.carbon b/toolchain/lower/testdata/function/generic/self_canonical.carbon index 625f76824490..f94dcaa32bd8 100644 --- a/toolchain/lower/testdata/function/generic/self_canonical.carbon +++ b/toolchain/lower/testdata/function/generic/self_canonical.carbon @@ -92,7 +92,7 @@ fn Main_method_no_template () { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %local1.var), !dbg !7 // CHECK:STDOUT: store ptr poison, ptr %local1.var, align 8, !dbg !7 // CHECK:STDOUT: %.loc82 = load ptr, ptr %local1.var, align 8, !dbg !8 -// CHECK:STDOUT: call void @_Cfirst_function.Main.f556e41d29afb096(ptr %.loc82), !dbg !9 +// CHECK:STDOUT: call void @_Cfirst_function.Main.0a1f00779ce59bc9(ptr %.loc82), !dbg !9 // CHECK:STDOUT: ret void, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -100,7 +100,7 @@ fn Main_method_no_template () { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_Cfourth_function.Main.f018ae0e25918690(ptr %arg) #0 !dbg !11 { +// CHECK:STDOUT: define linkonce_odr void @_Cfourth_function.Main.b15a93ab6441ad84(ptr %arg) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %local1.var = alloca ptr, align 8, !dbg !17 // CHECK:STDOUT: %local2.var = alloca ptr, align 8, !dbg !18 @@ -109,14 +109,14 @@ fn Main_method_no_template () { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %local2.var), !dbg !18 // CHECK:STDOUT: store ptr poison, ptr %local2.var, align 8, !dbg !18 // CHECK:STDOUT: %.loc53 = load ptr, ptr %local1.var, align 8, !dbg !19 -// CHECK:STDOUT: call void @_Cfirst_function.Main.f556e41d29afb096(ptr %.loc53), !dbg !20 +// CHECK:STDOUT: call void @_Cfirst_function.Main.0a1f00779ce59bc9(ptr %.loc53), !dbg !20 // CHECK:STDOUT: %.loc54 = load ptr, ptr %local2.var, align 8, !dbg !21 -// CHECK:STDOUT: call void @_Cfirst_function.Main.f556e41d29afb096(ptr %.loc54), !dbg !22 +// CHECK:STDOUT: call void @_Cfirst_function.Main.0a1f00779ce59bc9(ptr %.loc54), !dbg !22 // CHECK:STDOUT: ret void, !dbg !23 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_Cfirst_function.Main.f556e41d29afb096(ptr %arg) #0 !dbg !24 { +// CHECK:STDOUT: define linkonce_odr void @_Cfirst_function.Main.0a1f00779ce59bc9(ptr %arg) #0 !dbg !24 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %local1.var = alloca ptr, align 8, !dbg !27 // CHECK:STDOUT: %local2.var = alloca ptr, align 8, !dbg !28 @@ -126,12 +126,12 @@ fn Main_method_no_template () { // CHECK:STDOUT: store ptr poison, ptr %local2.var, align 8, !dbg !28 // CHECK:STDOUT: %.loc61_19 = load ptr, ptr %local2.var, align 8, !dbg !29 // CHECK:STDOUT: %.loc61_27 = load ptr, ptr %local1.var, align 8, !dbg !30 -// CHECK:STDOUT: call void @_Csecond_function.Main.b442c7b15f9057db(ptr %.loc61_19, ptr %.loc61_27, ptr %arg), !dbg !31 +// CHECK:STDOUT: call void @_Csecond_function.Main.b4fd373088afa7c7(ptr %.loc61_19, ptr %.loc61_27, ptr %arg), !dbg !31 // CHECK:STDOUT: ret void, !dbg !32 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_Csecond_function.Main.b442c7b15f9057db(ptr %arg1, ptr %arg2, ptr %arg3) #0 !dbg !33 { +// CHECK:STDOUT: define linkonce_odr void @_Csecond_function.Main.b4fd373088afa7c7(ptr %arg1, ptr %arg2, ptr %arg3) #0 !dbg !33 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %local1.var = alloca ptr, align 8, !dbg !40 // CHECK:STDOUT: %local2.var = alloca ptr, align 8, !dbg !41 @@ -144,14 +144,14 @@ fn Main_method_no_template () { // CHECK:STDOUT: store ptr poison, ptr %local3.var, align 8, !dbg !42 // CHECK:STDOUT: %.loc75_25 = load ptr, ptr %local3.var, align 8, !dbg !43 // CHECK:STDOUT: %.loc75_33 = load ptr, ptr %local2.var, align 8, !dbg !44 -// CHECK:STDOUT: call void @_Csecond_function.Main.b442c7b15f9057db(ptr %arg3, ptr %.loc75_25, ptr %.loc75_33), !dbg !45 +// CHECK:STDOUT: call void @_Csecond_function.Main.b4fd373088afa7c7(ptr %arg3, ptr %.loc75_25, ptr %.loc75_33), !dbg !45 // CHECK:STDOUT: %.loc76 = load ptr, ptr %local1.var, align 8, !dbg !46 -// CHECK:STDOUT: call void @_Cthird_function.Main.79bf1c389c65fddd(ptr %.loc76, ptr %arg3, ptr %arg1), !dbg !47 +// CHECK:STDOUT: call void @_Cthird_function.Main.028fd49e6bc54d2d(ptr %.loc76, ptr %arg3, ptr %arg1), !dbg !47 // CHECK:STDOUT: ret void, !dbg !48 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_Cthird_function.Main.79bf1c389c65fddd(ptr %arg1, ptr %arg2, ptr %arg3) #0 !dbg !49 { +// CHECK:STDOUT: define linkonce_odr void @_Cthird_function.Main.028fd49e6bc54d2d(ptr %arg1, ptr %arg2, ptr %arg3) #0 !dbg !49 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %local1.var = alloca ptr, align 8, !dbg !54 // CHECK:STDOUT: %local2.var = alloca ptr, align 8, !dbg !55 @@ -160,14 +160,14 @@ fn Main_method_no_template () { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %local2.var), !dbg !55 // CHECK:STDOUT: store ptr poison, ptr %local2.var, align 8, !dbg !55 // CHECK:STDOUT: %.loc39 = load ptr, ptr %local2.var, align 8, !dbg !56 -// CHECK:STDOUT: call void @_Cthird_function.Main.79bf1c389c65fddd(ptr %arg1, ptr %arg2, ptr %.loc39), !dbg !57 +// CHECK:STDOUT: call void @_Cthird_function.Main.028fd49e6bc54d2d(ptr %arg1, ptr %arg2, ptr %.loc39), !dbg !57 // CHECK:STDOUT: %.loc40 = load ptr, ptr %local1.var, align 8, !dbg !58 -// CHECK:STDOUT: call void @_Cfourth_function.Main.f018ae0e25918690(ptr %.loc40), !dbg !59 +// CHECK:STDOUT: call void @_Cfourth_function.Main.b15a93ab6441ad84(ptr %.loc40), !dbg !59 // CHECK:STDOUT: ret void, !dbg !60 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @_Cfirst_function.Main.f556e41d29afb096, { 1, 2, 0 } +// CHECK:STDOUT: uselistorder ptr @_Cfirst_function.Main.0a1f00779ce59bc9, { 1, 2, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -186,7 +186,7 @@ fn Main_method_no_template () { // CHECK:STDOUT: !8 = !DILocation(line: 82, column: 18, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 82, column: 3, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 79, column: 1, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "fourth_function", linkageName: "_Cfourth_function.Main.f018ae0e25918690", scope: null, file: !3, line: 49, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "fourth_function", linkageName: "_Cfourth_function.Main.b15a93ab6441ad84", scope: null, file: !3, line: 49, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) // CHECK:STDOUT: !12 = !DISubroutineType(types: !13) // CHECK:STDOUT: !13 = !{null, !14} // CHECK:STDOUT: !14 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) @@ -199,7 +199,7 @@ fn Main_method_no_template () { // CHECK:STDOUT: !21 = !DILocation(line: 54, column: 18, scope: !11) // CHECK:STDOUT: !22 = !DILocation(line: 54, column: 3, scope: !11) // CHECK:STDOUT: !23 = !DILocation(line: 49, column: 1, scope: !11) -// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "first_function", linkageName: "_Cfirst_function.Main.f556e41d29afb096", scope: null, file: !3, line: 57, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "first_function", linkageName: "_Cfirst_function.Main.0a1f00779ce59bc9", scope: null, file: !3, line: 57, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !24, type: !14) // CHECK:STDOUT: !27 = !DILocation(line: 58, column: 3, scope: !24) @@ -208,7 +208,7 @@ fn Main_method_no_template () { // CHECK:STDOUT: !30 = !DILocation(line: 61, column: 27, scope: !24) // CHECK:STDOUT: !31 = !DILocation(line: 61, column: 3, scope: !24) // CHECK:STDOUT: !32 = !DILocation(line: 57, column: 1, scope: !24) -// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "second_function", linkageName: "_Csecond_function.Main.b442c7b15f9057db", scope: null, file: !3, line: 70, type: !34, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !36) +// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "second_function", linkageName: "_Csecond_function.Main.b4fd373088afa7c7", scope: null, file: !3, line: 70, type: !34, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !36) // CHECK:STDOUT: !34 = !DISubroutineType(types: !35) // CHECK:STDOUT: !35 = !{null, !14, !14, !14} // CHECK:STDOUT: !36 = !{!37, !38, !39} @@ -224,7 +224,7 @@ fn Main_method_no_template () { // CHECK:STDOUT: !46 = !DILocation(line: 76, column: 18, scope: !33) // CHECK:STDOUT: !47 = !DILocation(line: 76, column: 3, scope: !33) // CHECK:STDOUT: !48 = !DILocation(line: 70, column: 1, scope: !33) -// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "third_function", linkageName: "_Cthird_function.Main.79bf1c389c65fddd", scope: null, file: !3, line: 35, type: !34, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !50) +// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "third_function", linkageName: "_Cthird_function.Main.028fd49e6bc54d2d", scope: null, file: !3, line: 35, type: !34, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !50) // CHECK:STDOUT: !50 = !{!51, !52, !53} // CHECK:STDOUT: !51 = !DILocalVariable(arg: 1, scope: !49, type: !14) // CHECK:STDOUT: !52 = !DILocalVariable(arg: 2, scope: !49, type: !14) diff --git a/toolchain/lower/testdata/function/generic/type_representation.carbon b/toolchain/lower/testdata/function/generic/type_representation.carbon index 6649513ab364..df1070a1bf9d 100644 --- a/toolchain/lower/testdata/function/generic/type_representation.carbon +++ b/toolchain/lower/testdata/function/generic/type_representation.carbon @@ -86,12 +86,12 @@ fn F_nested_tuple(a: ((i32, i32), X)) -> ((i32, i32), X) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @_CF_i32.Main(i32 %a) #0 !dbg !11 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %F.call = call i32 @_CF.Main.165a5d00c312ef9e(i32 %a), !dbg !14 +// CHECK:STDOUT: %F.call = call i32 @_CF.Main.a50b3cb3efeec588(i32 %a), !dbg !14 // CHECK:STDOUT: ret i32 %F.call, !dbg !15 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !16 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !16 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } @@ -113,18 +113,18 @@ fn F_nested_tuple(a: ((i32, i32), X)) -> ((i32, i32), X) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF_X.Main(ptr sret({ i32, i32 }) %return, ptr %a) #0 !dbg !32 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main.e4214cdf04e44ea0(ptr %return, ptr %a), !dbg !35 +// CHECK:STDOUT: call void @_CF.Main.2aaeb350085ea2e6(ptr %return, ptr %a), !dbg !35 // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.57e275a610bca340:core.Destroy.Core"(ptr %self) #0 !dbg !37 { +// CHECK:STDOUT: define weak_odr void @"_COp.15b8ed913d10fa21:core.Destroy.Core"(ptr %self) #0 !dbg !37 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !42 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.6956ff2f835d4aac:core.Destroy.Core"(ptr %self) #0 !dbg !43 { +// CHECK:STDOUT: define weak_odr void @"_COp.e321a4645f519d34:core.Destroy.Core"(ptr %self) #0 !dbg !43 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !46 // CHECK:STDOUT: } @@ -138,12 +138,12 @@ fn F_nested_tuple(a: ((i32, i32), X)) -> ((i32, i32), X) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF_empty_tuple.Main() #0 !dbg !51 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main.6942691454f579cd(), !dbg !52 +// CHECK:STDOUT: call void @_CF.Main.0267fe28ecc79212(), !dbg !52 // CHECK:STDOUT: ret void, !dbg !53 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_COp.87cc08e781602b22:Copy.Main"(ptr sret({ i32, i32 }) %return, ptr %self) #0 !dbg !54 { +// CHECK:STDOUT: define void @"_COp.e5a1c84cf77c507a:Copy.Main"(ptr sret({ i32, i32 }) %return, ptr %self) #0 !dbg !54 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %tuple.elem0.loc59_12.1.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %self, i32 0, i32 0, !dbg !57 // CHECK:STDOUT: %tuple.elem0.loc59_12.1.tuple.elem.load = load i32, ptr %tuple.elem0.loc59_12.1.tuple.elem, align 4, !dbg !57 @@ -159,23 +159,23 @@ fn F_nested_tuple(a: ((i32, i32), X)) -> ((i32, i32), X) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF_two_tuple.Main(ptr sret({ i32, i32 }) %return, ptr %a) #0 !dbg !59 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main.52eb52f0ffbd1db6(ptr %return, ptr %a), !dbg !62 +// CHECK:STDOUT: call void @_CF.Main.35482d298885c6ca(ptr %return, ptr %a), !dbg !62 // CHECK:STDOUT: ret void, !dbg !63 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %self) #0 !dbg !64 { +// CHECK:STDOUT: define weak_odr void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %self) #0 !dbg !64 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !67 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_COp.b1957bb3c5dab115:Copy.Main"(ptr sret({ { i32, i32 }, { i32, i32 } }) %return, ptr %self) #0 !dbg !68 { +// CHECK:STDOUT: define void @"_COp.a981a3a4fe4d0b63:Copy.Main"(ptr sret({ { i32, i32 }, { i32, i32 } }) %return, ptr %self) #0 !dbg !68 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %tuple.elem0.loc69_17.tuple.elem = getelementptr inbounds nuw { ptr, ptr }, ptr %self, i32 0, i32 0, !dbg !71 // CHECK:STDOUT: %tuple.elem0.loc69_17.tuple.elem.load = load ptr, ptr %tuple.elem0.loc69_17.tuple.elem, align 8, !dbg !71 // CHECK:STDOUT: %tuple.elem0.loc69_51.tuple.elem = getelementptr inbounds nuw { { i32, i32 }, { i32, i32 } }, ptr %return, i32 0, i32 0, !dbg !72 -// CHECK:STDOUT: call void @"_COp.87cc08e781602b22:Copy.Main"(ptr %tuple.elem0.loc69_51.tuple.elem, ptr %tuple.elem0.loc69_17.tuple.elem.load), !dbg !71 +// CHECK:STDOUT: call void @"_COp.e5a1c84cf77c507a:Copy.Main"(ptr %tuple.elem0.loc69_51.tuple.elem, ptr %tuple.elem0.loc69_17.tuple.elem.load), !dbg !71 // CHECK:STDOUT: %tuple.elem1.loc69_37.tuple.elem = getelementptr inbounds nuw { ptr, ptr }, ptr %self, i32 0, i32 1, !dbg !73 // CHECK:STDOUT: %tuple.elem1.loc69_37.tuple.elem.load = load ptr, ptr %tuple.elem1.loc69_37.tuple.elem, align 8, !dbg !73 // CHECK:STDOUT: %tuple.elem1.loc69_51.tuple.elem = getelementptr inbounds nuw { { i32, i32 }, { i32, i32 } }, ptr %return, i32 0, i32 1, !dbg !72 @@ -186,41 +186,41 @@ fn F_nested_tuple(a: ((i32, i32), X)) -> ((i32, i32), X) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF_nested_tuple.Main(ptr sret({ { i32, i32 }, { i32, i32 } }) %return, ptr %a) #0 !dbg !75 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main.cbd425227ee9ed4b(ptr %return, ptr %a), !dbg !78 +// CHECK:STDOUT: call void @_CF.Main.358bed78ec84cff6(ptr %return, ptr %a), !dbg !78 // CHECK:STDOUT: ret void, !dbg !79 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.1d554fde8ca0d7fe:core.Destroy.Core"(ptr %self) #0 !dbg !80 { +// CHECK:STDOUT: define weak_odr void @"_COp.26bb13cd27018de2:core.Destroy.Core"(ptr %self) #0 !dbg !80 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !83 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.165a5d00c312ef9e(i32 %a) #0 !dbg !84 { +// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.a50b3cb3efeec588(i32 %a) #0 !dbg !84 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %_.var = alloca i32, align 4, !dbg !87 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !87 // CHECK:STDOUT: %Copy.WithSelf.Op.call.loc18 = call i32 @"_COp.Int.be1e879c1ad406d8.Core:Copy.Main"(i32 %a), !dbg !88 // CHECK:STDOUT: store i32 %Copy.WithSelf.Op.call.loc18, ptr %_.var, align 4, !dbg !87 // CHECK:STDOUT: %Copy.WithSelf.Op.call.loc19 = call i32 @"_COp.Int.be1e879c1ad406d8.Core:Copy.Main"(i32 %a), !dbg !89 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var), !dbg !87 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var), !dbg !87 // CHECK:STDOUT: ret i32 %Copy.WithSelf.Op.call.loc19, !dbg !90 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.e4214cdf04e44ea0(ptr sret({ i32, i32 }) %return, ptr %a) #0 !dbg !91 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.2aaeb350085ea2e6(ptr sret({ i32, i32 }) %return, ptr %a) #0 !dbg !91 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %_.var = alloca { i32, i32 }, align 4, !dbg !94 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !94 // CHECK:STDOUT: call void @"_COp.X.Main:Copy.Main"(ptr %_.var, ptr %a), !dbg !95 // CHECK:STDOUT: call void @"_COp.X.Main:Copy.Main"(ptr %return, ptr %a), !dbg !96 -// CHECK:STDOUT: call void @"_COp.6956ff2f835d4aac:core.Destroy.Core"(ptr %_.var), !dbg !94 +// CHECK:STDOUT: call void @"_COp.e321a4645f519d34:core.Destroy.Core"(ptr %_.var), !dbg !94 // CHECK:STDOUT: ret void, !dbg !97 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.6942691454f579cd() #0 !dbg !98 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.0267fe28ecc79212() #0 !dbg !98 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %_.var = alloca {}, align 1, !dbg !99 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !99 @@ -230,24 +230,24 @@ fn F_nested_tuple(a: ((i32, i32), X)) -> ((i32, i32), X) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.52eb52f0ffbd1db6(ptr sret({ i32, i32 }) %return, ptr %a) #0 !dbg !103 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.35482d298885c6ca(ptr sret({ i32, i32 }) %return, ptr %a) #0 !dbg !103 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %_.var = alloca { i32, i32 }, align 4, !dbg !106 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !106 -// CHECK:STDOUT: call void @"_COp.87cc08e781602b22:Copy.Main"(ptr %_.var, ptr %a), !dbg !107 -// CHECK:STDOUT: call void @"_COp.87cc08e781602b22:Copy.Main"(ptr %return, ptr %a), !dbg !108 -// CHECK:STDOUT: call void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %_.var), !dbg !106 +// CHECK:STDOUT: call void @"_COp.e5a1c84cf77c507a:Copy.Main"(ptr %_.var, ptr %a), !dbg !107 +// CHECK:STDOUT: call void @"_COp.e5a1c84cf77c507a:Copy.Main"(ptr %return, ptr %a), !dbg !108 +// CHECK:STDOUT: call void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %_.var), !dbg !106 // CHECK:STDOUT: ret void, !dbg !109 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.cbd425227ee9ed4b(ptr sret({ { i32, i32 }, { i32, i32 } }) %return, ptr %a) #0 !dbg !110 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.358bed78ec84cff6(ptr sret({ { i32, i32 }, { i32, i32 } }) %return, ptr %a) #0 !dbg !110 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %_.var = alloca { { i32, i32 }, { i32, i32 } }, align 4, !dbg !113 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !113 -// CHECK:STDOUT: call void @"_COp.b1957bb3c5dab115:Copy.Main"(ptr %_.var, ptr %a), !dbg !114 -// CHECK:STDOUT: call void @"_COp.b1957bb3c5dab115:Copy.Main"(ptr %return, ptr %a), !dbg !115 -// CHECK:STDOUT: call void @"_COp.1d554fde8ca0d7fe:core.Destroy.Core"(ptr %_.var), !dbg !113 +// CHECK:STDOUT: call void @"_COp.a981a3a4fe4d0b63:Copy.Main"(ptr %_.var, ptr %a), !dbg !114 +// CHECK:STDOUT: call void @"_COp.a981a3a4fe4d0b63:Copy.Main"(ptr %return, ptr %a), !dbg !115 +// CHECK:STDOUT: call void @"_COp.26bb13cd27018de2:core.Destroy.Core"(ptr %_.var), !dbg !113 // CHECK:STDOUT: ret void, !dbg !116 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -279,7 +279,7 @@ fn F_nested_tuple(a: ((i32, i32), X)) -> ((i32, i32), X) { // CHECK:STDOUT: !13 = !DILocalVariable(arg: 1, scope: !11, type: !7) // CHECK:STDOUT: !14 = !DILocation(line: 29, column: 10, scope: !11) // CHECK:STDOUT: !15 = !DILocation(line: 29, column: 3, scope: !11) -// CHECK:STDOUT: !16 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 29, type: !17, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) +// CHECK:STDOUT: !16 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 29, type: !17, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) // CHECK:STDOUT: !17 = !DISubroutineType(types: !18) // CHECK:STDOUT: !18 = !{null, !7} // CHECK:STDOUT: !19 = !{!20} @@ -300,13 +300,13 @@ fn F_nested_tuple(a: ((i32, i32), X)) -> ((i32, i32), X) { // CHECK:STDOUT: !34 = !DILocalVariable(arg: 1, scope: !32, type: !25) // CHECK:STDOUT: !35 = !DILocation(line: 44, column: 10, scope: !32) // CHECK:STDOUT: !36 = !DILocation(line: 44, column: 3, scope: !32) -// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.57e275a610bca340:core.Destroy.Core", scope: null, file: !3, line: 44, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) +// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.15b8ed913d10fa21:core.Destroy.Core", scope: null, file: !3, line: 44, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) // CHECK:STDOUT: !38 = !DISubroutineType(types: !39) // CHECK:STDOUT: !39 = !{null, !25} // CHECK:STDOUT: !40 = !{!41} // CHECK:STDOUT: !41 = !DILocalVariable(arg: 1, scope: !37, type: !25) // CHECK:STDOUT: !42 = !DILocation(line: 44, column: 10, scope: !37) -// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6956ff2f835d4aac:core.Destroy.Core", scope: null, file: !3, line: 44, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !44) +// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e321a4645f519d34:core.Destroy.Core", scope: null, file: !3, line: 44, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !44) // CHECK:STDOUT: !44 = !{!45} // CHECK:STDOUT: !45 = !DILocalVariable(arg: 1, scope: !43, type: !25) // CHECK:STDOUT: !46 = !DILocation(line: 44, column: 10, scope: !43) @@ -317,7 +317,7 @@ fn F_nested_tuple(a: ((i32, i32), X)) -> ((i32, i32), X) { // CHECK:STDOUT: !51 = distinct !DISubprogram(name: "F_empty_tuple", linkageName: "_CF_empty_tuple.Main", scope: null, file: !3, line: 53, type: !48, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !52 = !DILocation(line: 54, column: 10, scope: !51) // CHECK:STDOUT: !53 = !DILocation(line: 54, column: 3, scope: !51) -// CHECK:STDOUT: !54 = distinct !DISubprogram(name: "Op", linkageName: "_COp.87cc08e781602b22:Copy.Main", scope: null, file: !3, line: 58, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !55) +// CHECK:STDOUT: !54 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e5a1c84cf77c507a:Copy.Main", scope: null, file: !3, line: 58, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !55) // CHECK:STDOUT: !55 = !{!56} // CHECK:STDOUT: !56 = !DILocalVariable(arg: 1, scope: !54, type: !25) // CHECK:STDOUT: !57 = !DILocation(line: 59, column: 12, scope: !54) @@ -327,11 +327,11 @@ fn F_nested_tuple(a: ((i32, i32), X)) -> ((i32, i32), X) { // CHECK:STDOUT: !61 = !DILocalVariable(arg: 1, scope: !59, type: !25) // CHECK:STDOUT: !62 = !DILocation(line: 64, column: 10, scope: !59) // CHECK:STDOUT: !63 = !DILocation(line: 64, column: 3, scope: !59) -// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "Op", linkageName: "_COp.26f166843e861eec:core.Destroy.Core", scope: null, file: !3, line: 64, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !65) +// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "Op", linkageName: "_COp.11d8dd9278293aa3:core.Destroy.Core", scope: null, file: !3, line: 64, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !65) // CHECK:STDOUT: !65 = !{!66} // CHECK:STDOUT: !66 = !DILocalVariable(arg: 1, scope: !64, type: !25) // CHECK:STDOUT: !67 = !DILocation(line: 64, column: 10, scope: !64) -// CHECK:STDOUT: !68 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b1957bb3c5dab115:Copy.Main", scope: null, file: !3, line: 68, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !69) +// CHECK:STDOUT: !68 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a981a3a4fe4d0b63:Copy.Main", scope: null, file: !3, line: 68, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !69) // CHECK:STDOUT: !69 = !{!70} // CHECK:STDOUT: !70 = !DILocalVariable(arg: 1, scope: !68, type: !25) // CHECK:STDOUT: !71 = !DILocation(line: 69, column: 13, scope: !68) @@ -343,37 +343,37 @@ fn F_nested_tuple(a: ((i32, i32), X)) -> ((i32, i32), X) { // CHECK:STDOUT: !77 = !DILocalVariable(arg: 1, scope: !75, type: !25) // CHECK:STDOUT: !78 = !DILocation(line: 74, column: 10, scope: !75) // CHECK:STDOUT: !79 = !DILocation(line: 74, column: 3, scope: !75) -// CHECK:STDOUT: !80 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1d554fde8ca0d7fe:core.Destroy.Core", scope: null, file: !3, line: 74, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !81) +// CHECK:STDOUT: !80 = distinct !DISubprogram(name: "Op", linkageName: "_COp.26bb13cd27018de2:core.Destroy.Core", scope: null, file: !3, line: 74, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !81) // CHECK:STDOUT: !81 = !{!82} // CHECK:STDOUT: !82 = !DILocalVariable(arg: 1, scope: !80, type: !25) // CHECK:STDOUT: !83 = !DILocation(line: 74, column: 10, scope: !80) -// CHECK:STDOUT: !84 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.165a5d00c312ef9e", scope: null, file: !3, line: 17, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !85) +// CHECK:STDOUT: !84 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.a50b3cb3efeec588", scope: null, file: !3, line: 17, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !85) // CHECK:STDOUT: !85 = !{!86} // CHECK:STDOUT: !86 = !DILocalVariable(arg: 1, scope: !84, type: !7) // CHECK:STDOUT: !87 = !DILocation(line: 18, column: 3, scope: !84) // CHECK:STDOUT: !88 = !DILocation(line: 18, column: 14, scope: !84) // CHECK:STDOUT: !89 = !DILocation(line: 19, column: 10, scope: !84) // CHECK:STDOUT: !90 = !DILocation(line: 19, column: 3, scope: !84) -// CHECK:STDOUT: !91 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.e4214cdf04e44ea0", scope: null, file: !3, line: 17, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !92) +// CHECK:STDOUT: !91 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.2aaeb350085ea2e6", scope: null, file: !3, line: 17, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !92) // CHECK:STDOUT: !92 = !{!93} // CHECK:STDOUT: !93 = !DILocalVariable(arg: 1, scope: !91, type: !25) // CHECK:STDOUT: !94 = !DILocation(line: 18, column: 3, scope: !91) // CHECK:STDOUT: !95 = !DILocation(line: 18, column: 14, scope: !91) // CHECK:STDOUT: !96 = !DILocation(line: 19, column: 10, scope: !91) // CHECK:STDOUT: !97 = !DILocation(line: 19, column: 3, scope: !91) -// CHECK:STDOUT: !98 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.6942691454f579cd", scope: null, file: !3, line: 17, type: !48, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !98 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.0267fe28ecc79212", scope: null, file: !3, line: 17, type: !48, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !99 = !DILocation(line: 18, column: 3, scope: !98) // CHECK:STDOUT: !100 = !DILocation(line: 18, column: 14, scope: !98) // CHECK:STDOUT: !101 = !DILocation(line: 19, column: 10, scope: !98) // CHECK:STDOUT: !102 = !DILocation(line: 19, column: 3, scope: !98) -// CHECK:STDOUT: !103 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.52eb52f0ffbd1db6", scope: null, file: !3, line: 17, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !104) +// CHECK:STDOUT: !103 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.35482d298885c6ca", scope: null, file: !3, line: 17, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !104) // CHECK:STDOUT: !104 = !{!105} // CHECK:STDOUT: !105 = !DILocalVariable(arg: 1, scope: !103, type: !25) // CHECK:STDOUT: !106 = !DILocation(line: 18, column: 3, scope: !103) // CHECK:STDOUT: !107 = !DILocation(line: 18, column: 14, scope: !103) // CHECK:STDOUT: !108 = !DILocation(line: 19, column: 10, scope: !103) // CHECK:STDOUT: !109 = !DILocation(line: 19, column: 3, scope: !103) -// CHECK:STDOUT: !110 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.cbd425227ee9ed4b", scope: null, file: !3, line: 17, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !111) +// CHECK:STDOUT: !110 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.358bed78ec84cff6", scope: null, file: !3, line: 17, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !111) // CHECK:STDOUT: !111 = !{!112} // CHECK:STDOUT: !112 = !DILocalVariable(arg: 1, scope: !110, type: !25) // CHECK:STDOUT: !113 = !DILocation(line: 18, column: 3, scope: !110) diff --git a/toolchain/lower/testdata/impl/impl.carbon b/toolchain/lower/testdata/impl/impl.carbon index d4eb1ae4d28f..3907fc42eb4f 100644 --- a/toolchain/lower/testdata/impl/impl.carbon +++ b/toolchain/lower/testdata/impl/impl.carbon @@ -131,14 +131,14 @@ impl C(B) as I { // CHECK:STDOUT: @B.val.loc17_42 = internal constant {} zeroinitializer // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CF.C.Main:I.837256a62795a301.Main"(ptr sret({}) %return, ptr %self) #0 !dbg !4 { +// CHECK:STDOUT: define void @"_CF.C.Main:I.5e1c331498176a81.Main"(ptr sret({}) %return, ptr %self) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %return, ptr align 1 @A.val.loc13_42, i64 0, i1 false), !dbg !10 // CHECK:STDOUT: ret void, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CF.C.Main:I.c9da62cc99c12e94.Main"(ptr sret({}) %return, ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: define void @"_CF.C.Main:I.a021841d47c697fb.Main"(ptr sret({}) %return, ptr %self) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %return, ptr align 1 @B.val.loc17_42, i64 0, i1 false), !dbg !14 // CHECK:STDOUT: ret void, !dbg !14 @@ -150,22 +150,22 @@ impl C(B) as I { // CHECK:STDOUT: %a.var = alloca {}, align 1, !dbg !21 // CHECK:STDOUT: %b.var = alloca {}, align 1, !dbg !22 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %a.var), !dbg !21 -// CHECK:STDOUT: call void @"_CF.C.Main:I.837256a62795a301.Main"(ptr %a.var, ptr %x), !dbg !23 +// CHECK:STDOUT: call void @"_CF.C.Main:I.5e1c331498176a81.Main"(ptr %a.var, ptr %x), !dbg !23 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %b.var), !dbg !22 -// CHECK:STDOUT: call void @"_CF.C.Main:I.c9da62cc99c12e94.Main"(ptr %b.var, ptr %y), !dbg !24 -// CHECK:STDOUT: call void @"_COp.3887353adea78155:core.Destroy.Core"(ptr %b.var), !dbg !22 -// CHECK:STDOUT: call void @"_COp.a6ed71f6870e58a2:core.Destroy.Core"(ptr %a.var), !dbg !21 +// CHECK:STDOUT: call void @"_CF.C.Main:I.a021841d47c697fb.Main"(ptr %b.var, ptr %y), !dbg !24 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %b.var), !dbg !22 +// CHECK:STDOUT: call void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %a.var), !dbg !21 // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.3887353adea78155:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.a6ed71f6870e58a2:core.Destroy.Core"(ptr %self) #0 !dbg !32 { +// CHECK:STDOUT: define weak_odr void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %self) #0 !dbg !32 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !35 // CHECK:STDOUT: } @@ -190,14 +190,14 @@ impl C(B) as I { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "generic_impls.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.Main:I.837256a62795a301.Main", scope: null, file: !3, line: 13, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.Main:I.5e1c331498176a81.Main", scope: null, file: !3, line: 13, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{!7, !7} // CHECK:STDOUT: !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !8 = !{!9} // CHECK:STDOUT: !9 = !DILocalVariable(arg: 1, scope: !4, type: !7) // CHECK:STDOUT: !10 = !DILocation(line: 13, column: 33, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.Main:I.c9da62cc99c12e94.Main", scope: null, file: !3, line: 17, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !12) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.Main:I.a021841d47c697fb.Main", scope: null, file: !3, line: 17, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !12) // CHECK:STDOUT: !12 = !{!13} // CHECK:STDOUT: !13 = !DILocalVariable(arg: 1, scope: !11, type: !7) // CHECK:STDOUT: !14 = !DILocation(line: 17, column: 33, scope: !11) @@ -212,13 +212,13 @@ impl C(B) as I { // CHECK:STDOUT: !23 = !DILocation(line: 21, column: 21, scope: !15) // CHECK:STDOUT: !24 = !DILocation(line: 22, column: 21, scope: !15) // CHECK:STDOUT: !25 = !DILocation(line: 20, column: 1, scope: !15) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.3887353adea78155:core.Destroy.Core", scope: null, file: !3, line: 22, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.07f54489d6d26b29:core.Destroy.Core", scope: null, file: !3, line: 22, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) // CHECK:STDOUT: !27 = !DISubroutineType(types: !28) // CHECK:STDOUT: !28 = !{null, !7} // CHECK:STDOUT: !29 = !{!30} // CHECK:STDOUT: !30 = !DILocalVariable(arg: 1, scope: !26, type: !7) // CHECK:STDOUT: !31 = !DILocation(line: 22, column: 3, scope: !26) -// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a6ed71f6870e58a2:core.Destroy.Core", scope: null, file: !3, line: 21, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !33) +// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ac7d25d81711af23:core.Destroy.Core", scope: null, file: !3, line: 21, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !33) // CHECK:STDOUT: !33 = !{!34} // CHECK:STDOUT: !34 = !DILocalVariable(arg: 1, scope: !32, type: !7) // CHECK:STDOUT: !35 = !DILocation(line: 21, column: 3, scope: !32) @@ -226,13 +226,13 @@ impl C(B) as I { // CHECK:STDOUT: source_filename = "generic_class_impls.carbon" // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CF.C.a84cca308dd88aff.Main:I.Main"() #0 !dbg !4 { +// CHECK:STDOUT: define void @"_CF.C.5e1c331498176a81.Main:I.Main"() #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CF.C.85293a6f9011d79a.Main:I.Main"() #0 !dbg !8 { +// CHECK:STDOUT: define void @"_CF.C.a021841d47c697fb.Main:I.Main"() #0 !dbg !8 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } @@ -246,9 +246,9 @@ impl C(B) as I { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "generic_class_impls.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.a84cca308dd88aff.Main:I.Main", scope: null, file: !3, line: 14, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.5e1c331498176a81.Main:I.Main", scope: null, file: !3, line: 14, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{null} // CHECK:STDOUT: !7 = !DILocation(line: 14, column: 3, scope: !4) -// CHECK:STDOUT: !8 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.85293a6f9011d79a.Main:I.Main", scope: null, file: !3, line: 18, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !8 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.a021841d47c697fb.Main:I.Main", scope: null, file: !3, line: 18, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !9 = !DILocation(line: 18, column: 3, scope: !8) diff --git a/toolchain/lower/testdata/impl/import_facet.carbon b/toolchain/lower/testdata/impl/import_facet.carbon index ce05a6c23e51..52e21eee68cc 100644 --- a/toolchain/lower/testdata/impl/import_facet.carbon +++ b/toolchain/lower/testdata/impl/import_facet.carbon @@ -85,21 +85,21 @@ fn F(d: D(i32)) -> i32* { // CHECK:STDOUT: ; ModuleID = 'd.carbon' // CHECK:STDOUT: source_filename = "d.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @C.val.544.anon = internal constant {} zeroinitializer +// CHECK:STDOUT: @C.val.aa7.anon = internal constant {} zeroinitializer // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define ptr @_CF.Main(ptr %d) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc5_21.1.temp = alloca {}, align 1, !dbg !10 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc5_21.1.temp), !dbg !10 -// CHECK:STDOUT: call void @"_CGetI.D.eb057aa32837c84e.Main:I.Main.c8fd090a2e741f70"(ptr %.loc5_21.1.temp, ptr %d), !dbg !10 -// CHECK:STDOUT: %C.GetC.call = call ptr @_CGetC.C.Main.305e140e9c2d2c5b(ptr %.loc5_21.1.temp), !dbg !10 -// CHECK:STDOUT: call void @"_COp.4c975db34c760aa2:core.Destroy.Core"(ptr %.loc5_21.1.temp), !dbg !10 +// CHECK:STDOUT: call void @"_CGetI.D.eb057aa32837c84e.Main:I.Main.5e5386123d4b6287"(ptr %.loc5_21.1.temp, ptr %d), !dbg !10 +// CHECK:STDOUT: %C.GetC.call = call ptr @_CGetC.C.Main.8eadad4626f26136(ptr %.loc5_21.1.temp), !dbg !10 +// CHECK:STDOUT: call void @"_COp.5c8b738fa9da18b0:core.Destroy.Core"(ptr %.loc5_21.1.temp), !dbg !10 // CHECK:STDOUT: ret ptr %C.GetC.call, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.4c975db34c760aa2:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.5c8b738fa9da18b0:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } @@ -108,13 +108,13 @@ fn F(d: D(i32)) -> i32* { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CGetI.D.eb057aa32837c84e.Main:I.Main.c8fd090a2e741f70"(ptr sret({}) %return, ptr %self) #0 !dbg !18 { -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %return, ptr align 1 @C.val.544.anon, i64 0, i1 false), !dbg !22 +// CHECK:STDOUT: define linkonce_odr void @"_CGetI.D.eb057aa32837c84e.Main:I.Main.5e5386123d4b6287"(ptr sret({}) %return, ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %return, ptr align 1 @C.val.aa7.anon, i64 0, i1 false), !dbg !22 // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CGetC.C.Main.305e140e9c2d2c5b(ptr %self) #0 !dbg !23 { +// CHECK:STDOUT: define linkonce_odr ptr @_CGetC.C.Main.8eadad4626f26136(ptr %self) #0 !dbg !23 { // CHECK:STDOUT: %1 = alloca ptr, align 8, !dbg !27 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %1), !dbg !27 // CHECK:STDOUT: store ptr poison, ptr %1, align 8, !dbg !27 @@ -143,18 +143,18 @@ fn F(d: D(i32)) -> i32* { // CHECK:STDOUT: !9 = !DILocalVariable(arg: 1, scope: !4, type: !7) // CHECK:STDOUT: !10 = !DILocation(line: 5, column: 10, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 5, column: 3, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4c975db34c760aa2:core.Destroy.Core", scope: null, file: !3, line: 5, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5c8b738fa9da18b0:core.Destroy.Core", scope: null, file: !3, line: 5, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !7} // CHECK:STDOUT: !15 = !{!16} // CHECK:STDOUT: !16 = !DILocalVariable(arg: 1, scope: !12, type: !7) // CHECK:STDOUT: !17 = !DILocation(line: 5, column: 10, scope: !12) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "GetI", linkageName: "_CGetI.D.eb057aa32837c84e.Main:I.Main.c8fd090a2e741f70", scope: null, file: !19, line: 6, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "GetI", linkageName: "_CGetI.D.eb057aa32837c84e.Main:I.Main.5e5386123d4b6287", scope: null, file: !19, line: 6, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !19 = !DIFile(filename: "c.carbon", directory: "") // CHECK:STDOUT: !20 = !{!21} // CHECK:STDOUT: !21 = !DILocalVariable(arg: 1, scope: !18, type: !7) // CHECK:STDOUT: !22 = !DILocation(line: 7, column: 7, scope: !18) -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "GetC", linkageName: "_CGetC.C.Main.305e140e9c2d2c5b", scope: null, file: !24, line: 4, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "GetC", linkageName: "_CGetC.C.Main.8eadad4626f26136", scope: null, file: !24, line: 4, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !24 = !DIFile(filename: "a.carbon", directory: "") // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !23, type: !7) diff --git a/toolchain/lower/testdata/impl/import_thunk.carbon b/toolchain/lower/testdata/impl/import_thunk.carbon index 90aea36d62bb..59fd55fd626a 100644 --- a/toolchain/lower/testdata/impl/import_thunk.carbon +++ b/toolchain/lower/testdata/impl/import_thunk.carbon @@ -70,7 +70,7 @@ fn Test(a: A) -> C { // CHECK:STDOUT: source_filename = "thunk.carbon" // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CConvert.A.Main:ImplicitAs.8b79c6c1932e58f6.Core"(ptr sret({ i32 }) %return, ptr %self) #0 !dbg !4 { +// CHECK:STDOUT: define void @"_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core"(ptr sret({ i32 }) %return, ptr %self) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc9_49.1.a = getelementptr inbounds nuw { i32 }, ptr %self, i32 0, i32 0, !dbg !10 // CHECK:STDOUT: %.loc9_49.2 = load i32, ptr %.loc9_49.1.a, align 4, !dbg !10 @@ -80,7 +80,7 @@ fn Test(a: A) -> C { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CConvert.B.Main:ImplicitAs.cc918b9f1e9f377a.Core"(ptr sret({ i32 }) %return, ptr %self) #0 !dbg !13 { +// CHECK:STDOUT: define void @"_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core"(ptr sret({ i32 }) %return, ptr %self) #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc12_49.1.b = getelementptr inbounds nuw { i32 }, ptr %self, i32 0, i32 0, !dbg !16 // CHECK:STDOUT: %.loc12_49.2 = load i32, ptr %.loc12_49.1.b, align 4, !dbg !16 @@ -100,34 +100,34 @@ fn Test(a: A) -> C { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_CF:thunk:I.01f5c37cad34e90b.Main:61ea2aba74ab3bf1:I.Main"(ptr sret({ i32 }) %return, ptr %a) #1 !dbg !25 { +// CHECK:STDOUT: define void @"_CF:thunk:I.0e6274c454a3de1f.Main:61ea2aba74ab3bf1:I.Main"(ptr sret({ i32 }) %return, ptr %a) #1 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc20_19.1.temp = alloca { i32 }, align 4, !dbg !28 // CHECK:STDOUT: %.loc16_9.1.temp = alloca { i32 }, align 4, !dbg !29 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc20_19.1.temp), !dbg !28 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc16_9.1.temp), !dbg !29 -// CHECK:STDOUT: call void @"_CConvert.A.Main:ImplicitAs.8b79c6c1932e58f6.Core"(ptr %.loc16_9.1.temp, ptr %a), !dbg !29 +// CHECK:STDOUT: call void @"_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core"(ptr %.loc16_9.1.temp, ptr %a), !dbg !29 // CHECK:STDOUT: call void @"_CF.61ea2aba74ab3bf1:I.Main"(ptr %.loc20_19.1.temp, ptr %.loc16_9.1.temp), !dbg !28 -// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.cc918b9f1e9f377a.Core"(ptr %return, ptr %.loc20_19.1.temp), !dbg !28 -// CHECK:STDOUT: call void @"_COp.c989b489e17b3e13:core.Destroy.Core"(ptr %.loc20_19.1.temp), !dbg !28 -// CHECK:STDOUT: call void @"_COp.c989b489e17b3e13:core.Destroy.Core"(ptr %.loc16_9.1.temp), !dbg !29 +// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core"(ptr %return, ptr %.loc20_19.1.temp), !dbg !28 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc20_19.1.temp), !dbg !28 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc16_9.1.temp), !dbg !29 // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !30 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !30 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.a9ac47a486d88918:core.Destroy.Core"(ptr %self) #0 !dbg !37 { +// CHECK:STDOUT: define weak_odr void @"_COp.c47d7252ef93446b:core.Destroy.Core"(ptr %self) #0 !dbg !37 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !42 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.c989b489e17b3e13:core.Destroy.Core"(ptr %self) #0 !dbg !43 { +// CHECK:STDOUT: define weak_odr void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %self) #0 !dbg !43 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !46 // CHECK:STDOUT: } @@ -136,7 +136,7 @@ fn Test(a: A) -> C { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #2 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.c989b489e17b3e13:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.07f54489d6d26b29:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -150,7 +150,7 @@ fn Test(a: A) -> C { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "thunk.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.A.Main:ImplicitAs.8b79c6c1932e58f6.Core", scope: null, file: !3, line: 9, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core", scope: null, file: !3, line: 9, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{!7, !7} // CHECK:STDOUT: !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) @@ -159,7 +159,7 @@ fn Test(a: A) -> C { // CHECK:STDOUT: !10 = !DILocation(line: 9, column: 45, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 9, column: 39, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 9, column: 32, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.B.Main:ImplicitAs.cc918b9f1e9f377a.Core", scope: null, file: !3, line: 12, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core", scope: null, file: !3, line: 12, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !14 = !{!15} // CHECK:STDOUT: !15 = !DILocalVariable(arg: 1, scope: !13, type: !7) // CHECK:STDOUT: !16 = !DILocation(line: 12, column: 45, scope: !13) @@ -171,25 +171,25 @@ fn Test(a: A) -> C { // CHECK:STDOUT: !22 = !DILocation(line: 20, column: 34, scope: !19) // CHECK:STDOUT: !23 = !DILocation(line: 20, column: 28, scope: !19) // CHECK:STDOUT: !24 = !DILocation(line: 20, column: 21, scope: !19) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "F", linkageName: "_CF:thunk:I.01f5c37cad34e90b.Main:61ea2aba74ab3bf1:I.Main", scope: null, file: !3, line: 20, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "F", linkageName: "_CF:thunk:I.0e6274c454a3de1f.Main:61ea2aba74ab3bf1:I.Main", scope: null, file: !3, line: 20, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !25, type: !7) // CHECK:STDOUT: !28 = !DILocation(line: 20, column: 3, scope: !25) // CHECK:STDOUT: !29 = !DILocation(line: 16, column: 8, scope: !25) -// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) +// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) // CHECK:STDOUT: !31 = !DISubroutineType(types: !32) // CHECK:STDOUT: !32 = !{null, !33} // CHECK:STDOUT: !33 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !34 = !{!35} // CHECK:STDOUT: !35 = !DILocalVariable(arg: 1, scope: !30, type: !33) // CHECK:STDOUT: !36 = !DILocation(line: 20, column: 3, scope: !30) -// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a9ac47a486d88918:core.Destroy.Core", scope: null, file: !3, line: 20, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) +// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c47d7252ef93446b:core.Destroy.Core", scope: null, file: !3, line: 20, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) // CHECK:STDOUT: !38 = !DISubroutineType(types: !39) // CHECK:STDOUT: !39 = !{null, !7} // CHECK:STDOUT: !40 = !{!41} // CHECK:STDOUT: !41 = !DILocalVariable(arg: 1, scope: !37, type: !7) // CHECK:STDOUT: !42 = !DILocation(line: 20, column: 3, scope: !37) -// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c989b489e17b3e13:core.Destroy.Core", scope: null, file: !3, line: 20, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !44) +// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "Op", linkageName: "_COp.07f54489d6d26b29:core.Destroy.Core", scope: null, file: !3, line: 20, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !44) // CHECK:STDOUT: !44 = !{!45} // CHECK:STDOUT: !45 = !DILocalVariable(arg: 1, scope: !43, type: !7) // CHECK:STDOUT: !46 = !DILocation(line: 20, column: 3, scope: !43) @@ -205,36 +205,36 @@ fn Test(a: A) -> C { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_20.1.temp), !dbg !10 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_20.2.temp), !dbg !10 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_19.1.temp), !dbg !11 -// CHECK:STDOUT: call void @"_CConvert.A.Main:ImplicitAs.dad78774611a629b.Core"(ptr %.loc7_19.1.temp, ptr %a), !dbg !11 +// CHECK:STDOUT: call void @"_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core"(ptr %.loc7_19.1.temp, ptr %a), !dbg !11 // CHECK:STDOUT: call void @"_CF.61ea2aba74ab3bf1:I.Main"(ptr %.loc7_20.2.temp, ptr %.loc7_19.1.temp), !dbg !10 -// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.b72e1adbdacbf3b5.Core"(ptr %return, ptr %.loc7_20.2.temp), !dbg !12 -// CHECK:STDOUT: call void @"_COp.b288c1296e5779ce:core.Destroy.Core"(ptr %.loc7_20.2.temp), !dbg !10 -// CHECK:STDOUT: call void @"_COp.b288c1296e5779ce:core.Destroy.Core"(ptr %.loc7_19.1.temp), !dbg !11 +// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core"(ptr %return, ptr %.loc7_20.2.temp), !dbg !12 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc7_20.2.temp), !dbg !10 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc7_19.1.temp), !dbg !11 // CHECK:STDOUT: ret void, !dbg !12 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CF:thunk:I.c2653948a81b9903.Main:61ea2aba74ab3bf1:I.Main"(ptr sret({ i32 }), ptr) +// CHECK:STDOUT: declare void @"_CF:thunk:I.f86f181d01066bd8.Main:61ea2aba74ab3bf1:I.Main"(ptr sret({ i32 }), ptr) // CHECK:STDOUT: // CHECK:STDOUT: declare void @"_CF.61ea2aba74ab3bf1:I.Main"(ptr sret({ i32 }), ptr) // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CConvert.A.Main:ImplicitAs.dad78774611a629b.Core"(ptr sret({ i32 }), ptr) +// CHECK:STDOUT: declare void @"_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core"(ptr sret({ i32 }), ptr) // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CConvert.B.Main:ImplicitAs.b72e1adbdacbf3b5.Core"(ptr sret({ i32 }), ptr) +// CHECK:STDOUT: declare void @"_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core"(ptr sret({ i32 }), ptr) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.77ddf68e618a51fe:core.Destroy.Core"(ptr %self) #0 !dbg !13 { +// CHECK:STDOUT: define weak_odr void @"_COp.859f345957a7d0c5:core.Destroy.Core"(ptr %self) #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.88c648e6851ef5ad:core.Destroy.Core"(ptr %self) #0 !dbg !20 { +// CHECK:STDOUT: define weak_odr void @"_COp.be9d1837fc51df72:core.Destroy.Core"(ptr %self) #0 !dbg !20 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b288c1296e5779ce:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } @@ -243,7 +243,7 @@ fn Test(a: A) -> C { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.b288c1296e5779ce:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.07f54489d6d26b29:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -265,20 +265,20 @@ fn Test(a: A) -> C { // CHECK:STDOUT: !10 = !DILocation(line: 7, column: 10, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 7, column: 19, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 7, column: 3, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.77ddf68e618a51fe:core.Destroy.Core", scope: null, file: !3, line: 7, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.859f345957a7d0c5:core.Destroy.Core", scope: null, file: !3, line: 7, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) // CHECK:STDOUT: !14 = !DISubroutineType(types: !15) // CHECK:STDOUT: !15 = !{null, !16} // CHECK:STDOUT: !16 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !17 = !{!18} // CHECK:STDOUT: !18 = !DILocalVariable(arg: 1, scope: !13, type: !16) // CHECK:STDOUT: !19 = !DILocation(line: 7, column: 10, scope: !13) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.88c648e6851ef5ad:core.Destroy.Core", scope: null, file: !3, line: 7, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.be9d1837fc51df72:core.Destroy.Core", scope: null, file: !3, line: 7, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !21 = !DISubroutineType(types: !22) // CHECK:STDOUT: !22 = !{null, !7} // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !20, type: !7) // CHECK:STDOUT: !25 = !DILocation(line: 7, column: 10, scope: !20) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b288c1296e5779ce:core.Destroy.Core", scope: null, file: !3, line: 7, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.07f54489d6d26b29:core.Destroy.Core", scope: null, file: !3, line: 7, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !26, type: !7) // CHECK:STDOUT: !29 = !DILocation(line: 7, column: 10, scope: !26) @@ -296,38 +296,38 @@ fn Test(a: A) -> C { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_CF:thunk:I.5df87795ec73cda9.Main:X.Main:I.Main"(ptr sret({ i32 }) %return, ptr %a) #1 !dbg !13 { +// CHECK:STDOUT: define void @"_CF:thunk:I.6a57547e3d5e7e4b.Main:X.Main:I.Main"(ptr sret({ i32 }) %return, ptr %a) #1 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc9_19.1.temp = alloca { i32 }, align 4, !dbg !16 // CHECK:STDOUT: %.2.temp = alloca { i32 }, align 4 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc9_19.1.temp), !dbg !16 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.2.temp) -// CHECK:STDOUT: call void @"_CConvert.A.Main:ImplicitAs.0b3b8a3403fe0e1d.Core"(ptr %.2.temp, ptr %a), !dbg !17 +// CHECK:STDOUT: call void @"_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core"(ptr %.2.temp, ptr %a), !dbg !17 // CHECK:STDOUT: call void @"_CF.X.Main:I.Main"(ptr %.loc9_19.1.temp, ptr %.2.temp), !dbg !16 -// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.0e712e3032641f29.Core"(ptr %return, ptr %.loc9_19.1.temp), !dbg !16 -// CHECK:STDOUT: call void @"_COp.4d053df5d5bd57ed:core.Destroy.Core"(ptr %.loc9_19.1.temp), !dbg !16 -// CHECK:STDOUT: call void @"_COp.4d053df5d5bd57ed:core.Destroy.Core"(ptr %.2.temp), !dbg !17 +// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core"(ptr %return, ptr %.loc9_19.1.temp), !dbg !16 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc9_19.1.temp), !dbg !16 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.2.temp), !dbg !17 // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CConvert.A.Main:ImplicitAs.0b3b8a3403fe0e1d.Core"(ptr sret({ i32 }), ptr) +// CHECK:STDOUT: declare void @"_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core"(ptr sret({ i32 }), ptr) // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CConvert.B.Main:ImplicitAs.0e712e3032641f29.Core"(ptr sret({ i32 }), ptr) +// CHECK:STDOUT: declare void @"_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core"(ptr sret({ i32 }), ptr) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.77ddf68e618a51fe:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.859f345957a7d0c5:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.88c648e6851ef5ad:core.Destroy.Core"(ptr %self) #0 !dbg !25 { +// CHECK:STDOUT: define weak_odr void @"_COp.be9d1837fc51df72:core.Destroy.Core"(ptr %self) #0 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !30 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.4d053df5d5bd57ed:core.Destroy.Core"(ptr %self) #0 !dbg !31 { +// CHECK:STDOUT: define weak_odr void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %self) #0 !dbg !31 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !34 // CHECK:STDOUT: } @@ -336,7 +336,7 @@ fn Test(a: A) -> C { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #2 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.4d053df5d5bd57ed:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.07f54489d6d26b29:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -359,25 +359,25 @@ fn Test(a: A) -> C { // CHECK:STDOUT: !10 = !DILocation(line: 9, column: 34, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 9, column: 28, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 9, column: 21, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "F", linkageName: "_CF:thunk:I.5df87795ec73cda9.Main:X.Main:I.Main", scope: null, file: !3, line: 9, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "F", linkageName: "_CF:thunk:I.6a57547e3d5e7e4b.Main:X.Main:I.Main", scope: null, file: !3, line: 9, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !14 = !{!15} // CHECK:STDOUT: !15 = !DILocalVariable(arg: 1, scope: !13, type: !7) // CHECK:STDOUT: !16 = !DILocation(line: 9, column: 3, scope: !13) // CHECK:STDOUT: !17 = !DILocation(line: 4294967295, scope: !13) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.77ddf68e618a51fe:core.Destroy.Core", scope: null, file: !3, line: 9, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.859f345957a7d0c5:core.Destroy.Core", scope: null, file: !3, line: 9, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) // CHECK:STDOUT: !19 = !DISubroutineType(types: !20) // CHECK:STDOUT: !20 = !{null, !21} // CHECK:STDOUT: !21 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !22 = !{!23} // CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !18, type: !21) // CHECK:STDOUT: !24 = !DILocation(line: 9, column: 3, scope: !18) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.88c648e6851ef5ad:core.Destroy.Core", scope: null, file: !3, line: 9, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.be9d1837fc51df72:core.Destroy.Core", scope: null, file: !3, line: 9, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) // CHECK:STDOUT: !26 = !DISubroutineType(types: !27) // CHECK:STDOUT: !27 = !{null, !7} // CHECK:STDOUT: !28 = !{!29} // CHECK:STDOUT: !29 = !DILocalVariable(arg: 1, scope: !25, type: !7) // CHECK:STDOUT: !30 = !DILocation(line: 9, column: 3, scope: !25) -// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4d053df5d5bd57ed:core.Destroy.Core", scope: null, file: !3, line: 9, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !32) +// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "Op", linkageName: "_COp.07f54489d6d26b29:core.Destroy.Core", scope: null, file: !3, line: 9, type: !26, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !32) // CHECK:STDOUT: !32 = !{!33} // CHECK:STDOUT: !33 = !DILocalVariable(arg: 1, scope: !31, type: !7) // CHECK:STDOUT: !34 = !DILocation(line: 9, column: 3, scope: !31) @@ -393,36 +393,36 @@ fn Test(a: A) -> C { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc8_19.1.temp), !dbg !10 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc8_19.2.temp), !dbg !10 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc8_18.1.temp), !dbg !11 -// CHECK:STDOUT: call void @"_CConvert.A.Main:ImplicitAs.d4549ff3b5112a31.Core"(ptr %.loc8_18.1.temp, ptr %a), !dbg !11 +// CHECK:STDOUT: call void @"_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core"(ptr %.loc8_18.1.temp, ptr %a), !dbg !11 // CHECK:STDOUT: call void @"_CF.X.Main:I.Main"(ptr %.loc8_19.2.temp, ptr %.loc8_18.1.temp), !dbg !10 -// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.1bbf6ab9dabb4d99.Core"(ptr %return, ptr %.loc8_19.2.temp), !dbg !12 -// CHECK:STDOUT: call void @"_COp.ceb58d0ffbecdaca:core.Destroy.Core"(ptr %.loc8_19.2.temp), !dbg !10 -// CHECK:STDOUT: call void @"_COp.ceb58d0ffbecdaca:core.Destroy.Core"(ptr %.loc8_18.1.temp), !dbg !11 +// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core"(ptr %return, ptr %.loc8_19.2.temp), !dbg !12 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc8_19.2.temp), !dbg !10 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc8_18.1.temp), !dbg !11 // CHECK:STDOUT: ret void, !dbg !12 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CF:thunk:I.bd5134d7089a5ceb.Main:X.Main:I.Main"(ptr sret({ i32 }), ptr) +// CHECK:STDOUT: declare void @"_CF:thunk:I.5465bb7475bd9b22.Main:X.Main:I.Main"(ptr sret({ i32 }), ptr) // CHECK:STDOUT: // CHECK:STDOUT: declare void @"_CF.X.Main:I.Main"(ptr sret({ i32 }), ptr) // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CConvert.A.Main:ImplicitAs.d4549ff3b5112a31.Core"(ptr sret({ i32 }), ptr) +// CHECK:STDOUT: declare void @"_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core"(ptr sret({ i32 }), ptr) // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CConvert.B.Main:ImplicitAs.1bbf6ab9dabb4d99.Core"(ptr sret({ i32 }), ptr) +// CHECK:STDOUT: declare void @"_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core"(ptr sret({ i32 }), ptr) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.77ddf68e618a51fe:core.Destroy.Core"(ptr %self) #0 !dbg !13 { +// CHECK:STDOUT: define weak_odr void @"_COp.859f345957a7d0c5:core.Destroy.Core"(ptr %self) #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.88c648e6851ef5ad:core.Destroy.Core"(ptr %self) #0 !dbg !20 { +// CHECK:STDOUT: define weak_odr void @"_COp.be9d1837fc51df72:core.Destroy.Core"(ptr %self) #0 !dbg !20 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.ceb58d0ffbecdaca:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } @@ -431,7 +431,7 @@ fn Test(a: A) -> C { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.ceb58d0ffbecdaca:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.07f54489d6d26b29:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -453,20 +453,20 @@ fn Test(a: A) -> C { // CHECK:STDOUT: !10 = !DILocation(line: 8, column: 10, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 8, column: 18, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 8, column: 3, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.77ddf68e618a51fe:core.Destroy.Core", scope: null, file: !3, line: 8, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.859f345957a7d0c5:core.Destroy.Core", scope: null, file: !3, line: 8, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) // CHECK:STDOUT: !14 = !DISubroutineType(types: !15) // CHECK:STDOUT: !15 = !{null, !16} // CHECK:STDOUT: !16 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !17 = !{!18} // CHECK:STDOUT: !18 = !DILocalVariable(arg: 1, scope: !13, type: !16) // CHECK:STDOUT: !19 = !DILocation(line: 8, column: 10, scope: !13) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.88c648e6851ef5ad:core.Destroy.Core", scope: null, file: !3, line: 8, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.be9d1837fc51df72:core.Destroy.Core", scope: null, file: !3, line: 8, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !21 = !DISubroutineType(types: !22) // CHECK:STDOUT: !22 = !{null, !7} // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !20, type: !7) // CHECK:STDOUT: !25 = !DILocation(line: 8, column: 10, scope: !20) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ceb58d0ffbecdaca:core.Destroy.Core", scope: null, file: !3, line: 8, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.07f54489d6d26b29:core.Destroy.Core", scope: null, file: !3, line: 8, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !26, type: !7) // CHECK:STDOUT: !29 = !DILocation(line: 8, column: 10, scope: !26) diff --git a/toolchain/lower/testdata/impl/period_self.carbon b/toolchain/lower/testdata/impl/period_self.carbon index 4beceee49521..56b59ba69924 100644 --- a/toolchain/lower/testdata/impl/period_self.carbon +++ b/toolchain/lower/testdata/impl/period_self.carbon @@ -57,19 +57,19 @@ fn G(a: A(B)) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CG.Main(ptr %a) #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main.b4fc7929164fb220(ptr %a), !dbg !10 +// CHECK:STDOUT: call void @_CF.Main.a021841d47c697fb(ptr %a), !dbg !10 // CHECK:STDOUT: ret void, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.b4fc7929164fb220(ptr %x) #0 !dbg !12 { -// CHECK:STDOUT: %1 = call ptr @"_CConvert.A.5d7343568c0b5715.Main:As.00d5ad878904f3d1.Core.d9476ddaeffa1656"(ptr %x), !dbg !16 +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.a021841d47c697fb(ptr %x) #0 !dbg !12 { +// CHECK:STDOUT: %1 = call ptr @"_CConvert.A.5d7343568c0b5715.Main:As.00d5ad878904f3d1.Core.a4f2cad14c3ff374"(ptr %x), !dbg !16 // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.A.5d7343568c0b5715.Main:As.00d5ad878904f3d1.Core.d9476ddaeffa1656"(ptr %self) #0 !dbg !18 { -// CHECK:STDOUT: %1 = call ptr @"_CConvert.A.5d7343568c0b5715.Main:As.00d5ad878904f3d1.Core.d9476ddaeffa1656"(ptr %self), !dbg !23 +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.A.5d7343568c0b5715.Main:As.00d5ad878904f3d1.Core.a4f2cad14c3ff374"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: %1 = call ptr @"_CConvert.A.5d7343568c0b5715.Main:As.00d5ad878904f3d1.Core.a4f2cad14c3ff374"(ptr %self), !dbg !23 // CHECK:STDOUT: ret ptr %1, !dbg !24 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -90,13 +90,13 @@ fn G(a: A(B)) { // CHECK:STDOUT: !9 = !DILocalVariable(arg: 1, scope: !4, type: !7) // CHECK:STDOUT: !10 = !DILocation(line: 7, column: 3, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 6, column: 1, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.b4fc7929164fb220", scope: null, file: !13, line: 17, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.a021841d47c697fb", scope: null, file: !13, line: 17, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !13 = !DIFile(filename: "library_with_period_self_in_impl.carbon", directory: "") // CHECK:STDOUT: !14 = !{!15} // CHECK:STDOUT: !15 = !DILocalVariable(arg: 1, scope: !12, type: !7) // CHECK:STDOUT: !16 = !DILocation(line: 18, column: 3, scope: !12) // CHECK:STDOUT: !17 = !DILocation(line: 17, column: 1, scope: !12) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.A.5d7343568c0b5715.Main:As.00d5ad878904f3d1.Core.d9476ddaeffa1656", scope: null, file: !13, line: 12, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !21) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.A.5d7343568c0b5715.Main:As.00d5ad878904f3d1.Core.a4f2cad14c3ff374", scope: null, file: !13, line: 12, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !21) // CHECK:STDOUT: !19 = !DISubroutineType(types: !20) // CHECK:STDOUT: !20 = !{!7, !7} // CHECK:STDOUT: !21 = !{!22} diff --git a/toolchain/lower/testdata/impl/thunk.carbon b/toolchain/lower/testdata/impl/thunk.carbon index 1ef48ac96b2d..ad2878d73b97 100644 --- a/toolchain/lower/testdata/impl/thunk.carbon +++ b/toolchain/lower/testdata/impl/thunk.carbon @@ -74,7 +74,7 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: source_filename = "thunk.carbon" // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CConvert.A.Main:ImplicitAs.8b79c6c1932e58f6.Core"(ptr sret({ i32 }) %return, ptr %self) #0 !dbg !4 { +// CHECK:STDOUT: define void @"_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core"(ptr sret({ i32 }) %return, ptr %self) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc9_49.1.a = getelementptr inbounds nuw { i32 }, ptr %self, i32 0, i32 0, !dbg !10 // CHECK:STDOUT: %.loc9_49.2 = load i32, ptr %.loc9_49.1.a, align 4, !dbg !10 @@ -84,7 +84,7 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CConvert.B.Main:ImplicitAs.cc918b9f1e9f377a.Core"(ptr sret({ i32 }) %return, ptr %self) #0 !dbg !13 { +// CHECK:STDOUT: define void @"_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core"(ptr sret({ i32 }) %return, ptr %self) #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc12_49.1.b = getelementptr inbounds nuw { i32 }, ptr %self, i32 0, i32 0, !dbg !16 // CHECK:STDOUT: %.loc12_49.2 = load i32, ptr %.loc12_49.1.b, align 4, !dbg !16 @@ -104,34 +104,34 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_CF:thunk:I.01f5c37cad34e90b.Main:61ea2aba74ab3bf1:I.Main"(ptr sret({ i32 }) %return, ptr %a) #1 !dbg !25 { +// CHECK:STDOUT: define void @"_CF:thunk:I.0e6274c454a3de1f.Main:61ea2aba74ab3bf1:I.Main"(ptr sret({ i32 }) %return, ptr %a) #1 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc20_19.1.temp = alloca { i32 }, align 4, !dbg !28 // CHECK:STDOUT: %.loc16_9.1.temp = alloca { i32 }, align 4, !dbg !29 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc20_19.1.temp), !dbg !28 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc16_9.1.temp), !dbg !29 -// CHECK:STDOUT: call void @"_CConvert.A.Main:ImplicitAs.8b79c6c1932e58f6.Core"(ptr %.loc16_9.1.temp, ptr %a), !dbg !29 +// CHECK:STDOUT: call void @"_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core"(ptr %.loc16_9.1.temp, ptr %a), !dbg !29 // CHECK:STDOUT: call void @"_CF.61ea2aba74ab3bf1:I.Main"(ptr %.loc20_19.1.temp, ptr %.loc16_9.1.temp), !dbg !28 -// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.cc918b9f1e9f377a.Core"(ptr %return, ptr %.loc20_19.1.temp), !dbg !28 -// CHECK:STDOUT: call void @"_COp.c989b489e17b3e13:core.Destroy.Core"(ptr %.loc20_19.1.temp), !dbg !28 -// CHECK:STDOUT: call void @"_COp.c989b489e17b3e13:core.Destroy.Core"(ptr %.loc16_9.1.temp), !dbg !29 +// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core"(ptr %return, ptr %.loc20_19.1.temp), !dbg !28 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc20_19.1.temp), !dbg !28 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc16_9.1.temp), !dbg !29 // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !30 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !30 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.a9ac47a486d88918:core.Destroy.Core"(ptr %self) #0 !dbg !37 { +// CHECK:STDOUT: define weak_odr void @"_COp.c47d7252ef93446b:core.Destroy.Core"(ptr %self) #0 !dbg !37 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !42 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.c989b489e17b3e13:core.Destroy.Core"(ptr %self) #0 !dbg !43 { +// CHECK:STDOUT: define weak_odr void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %self) #0 !dbg !43 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !46 // CHECK:STDOUT: } @@ -145,11 +145,11 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc24_20.1.temp), !dbg !50 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc24_20.2.temp), !dbg !50 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc24_19.1.temp), !dbg !51 -// CHECK:STDOUT: call void @"_CConvert.A.Main:ImplicitAs.8b79c6c1932e58f6.Core"(ptr %.loc24_19.1.temp, ptr %a), !dbg !51 +// CHECK:STDOUT: call void @"_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core"(ptr %.loc24_19.1.temp, ptr %a), !dbg !51 // CHECK:STDOUT: call void @"_CF.61ea2aba74ab3bf1:I.Main"(ptr %.loc24_20.2.temp, ptr %.loc24_19.1.temp), !dbg !50 -// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.cc918b9f1e9f377a.Core"(ptr %return, ptr %.loc24_20.2.temp), !dbg !52 -// CHECK:STDOUT: call void @"_COp.c989b489e17b3e13:core.Destroy.Core"(ptr %.loc24_20.2.temp), !dbg !50 -// CHECK:STDOUT: call void @"_COp.c989b489e17b3e13:core.Destroy.Core"(ptr %.loc24_19.1.temp), !dbg !51 +// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core"(ptr %return, ptr %.loc24_20.2.temp), !dbg !52 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc24_20.2.temp), !dbg !50 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc24_19.1.temp), !dbg !51 // CHECK:STDOUT: ret void, !dbg !52 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -157,7 +157,7 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #2 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.c989b489e17b3e13:core.Destroy.Core", { 0, 1, 3, 2 } +// CHECK:STDOUT: uselistorder ptr @"_COp.07f54489d6d26b29:core.Destroy.Core", { 0, 1, 3, 2 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 4, 3, 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -171,7 +171,7 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "thunk.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.A.Main:ImplicitAs.8b79c6c1932e58f6.Core", scope: null, file: !3, line: 9, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.A.Main:ImplicitAs.a021841d47c697fb.Core", scope: null, file: !3, line: 9, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{!7, !7} // CHECK:STDOUT: !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) @@ -180,7 +180,7 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: !10 = !DILocation(line: 9, column: 45, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 9, column: 39, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 9, column: 32, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.B.Main:ImplicitAs.cc918b9f1e9f377a.Core", scope: null, file: !3, line: 12, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.B.Main:ImplicitAs.e3776368f2983b35.Core", scope: null, file: !3, line: 12, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !14 = !{!15} // CHECK:STDOUT: !15 = !DILocalVariable(arg: 1, scope: !13, type: !7) // CHECK:STDOUT: !16 = !DILocation(line: 12, column: 45, scope: !13) @@ -192,25 +192,25 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: !22 = !DILocation(line: 20, column: 34, scope: !19) // CHECK:STDOUT: !23 = !DILocation(line: 20, column: 28, scope: !19) // CHECK:STDOUT: !24 = !DILocation(line: 20, column: 21, scope: !19) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "F", linkageName: "_CF:thunk:I.01f5c37cad34e90b.Main:61ea2aba74ab3bf1:I.Main", scope: null, file: !3, line: 20, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "F", linkageName: "_CF:thunk:I.0e6274c454a3de1f.Main:61ea2aba74ab3bf1:I.Main", scope: null, file: !3, line: 20, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !25, type: !7) // CHECK:STDOUT: !28 = !DILocation(line: 20, column: 3, scope: !25) // CHECK:STDOUT: !29 = !DILocation(line: 16, column: 8, scope: !25) -// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) +// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 20, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) // CHECK:STDOUT: !31 = !DISubroutineType(types: !32) // CHECK:STDOUT: !32 = !{null, !33} // CHECK:STDOUT: !33 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !34 = !{!35} // CHECK:STDOUT: !35 = !DILocalVariable(arg: 1, scope: !30, type: !33) // CHECK:STDOUT: !36 = !DILocation(line: 20, column: 3, scope: !30) -// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a9ac47a486d88918:core.Destroy.Core", scope: null, file: !3, line: 20, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) +// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c47d7252ef93446b:core.Destroy.Core", scope: null, file: !3, line: 20, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) // CHECK:STDOUT: !38 = !DISubroutineType(types: !39) // CHECK:STDOUT: !39 = !{null, !7} // CHECK:STDOUT: !40 = !{!41} // CHECK:STDOUT: !41 = !DILocalVariable(arg: 1, scope: !37, type: !7) // CHECK:STDOUT: !42 = !DILocation(line: 20, column: 3, scope: !37) -// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c989b489e17b3e13:core.Destroy.Core", scope: null, file: !3, line: 20, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !44) +// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "Op", linkageName: "_COp.07f54489d6d26b29:core.Destroy.Core", scope: null, file: !3, line: 20, type: !38, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !44) // CHECK:STDOUT: !44 = !{!45} // CHECK:STDOUT: !45 = !DILocalVariable(arg: 1, scope: !43, type: !7) // CHECK:STDOUT: !46 = !DILocation(line: 20, column: 3, scope: !43) @@ -227,20 +227,20 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: @B.val.loc18_49 = internal constant {} zeroinitializer // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CConvert.B.Main:ImplicitAs.46f7e99dd8f31ccb.Core"(ptr sret({}) %return, ptr %self) #0 !dbg !4 { +// CHECK:STDOUT: define void @"_CConvert.B.Main:ImplicitAs.5e1c331498176a81.Core"(ptr sret({}) %return, ptr %self) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %return, ptr align 1 @A.val.loc7_53, i64 0, i1 false), !dbg !10 // CHECK:STDOUT: ret void, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.7ce54547ef4d499a:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: define weak_odr void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %self) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.c14becfc5db4251e:core.Destroy.Core"(ptr %self) #0 !dbg !17 { +// CHECK:STDOUT: define weak_odr void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %self) #0 !dbg !17 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !20 // CHECK:STDOUT: } @@ -254,18 +254,18 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc22_23.1.temp), !dbg !27 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc22_23.3.temp), !dbg !27 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc22_22.1.temp), !dbg !28 -// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.46f7e99dd8f31ccb.Core"(ptr %.loc22_22.1.temp, ptr %b), !dbg !28 +// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.5e1c331498176a81.Core"(ptr %.loc22_22.1.temp, ptr %b), !dbg !28 // CHECK:STDOUT: call void @"_CF.C.eb057aa32837c84e.Main:I.eb057aa32837c84e.Main.e43630e9a6c38c3f"(ptr %.loc22_23.3.temp, ptr %c, ptr %.loc22_22.1.temp), !dbg !27 -// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.46f7e99dd8f31ccb.Core"(ptr %return, ptr %.loc22_23.3.temp), !dbg !29 -// CHECK:STDOUT: call void @"_COp.7ce54547ef4d499a:core.Destroy.Core"(ptr %.loc22_23.3.temp), !dbg !27 -// CHECK:STDOUT: call void @"_COp.c14becfc5db4251e:core.Destroy.Core"(ptr %.loc22_22.1.temp), !dbg !28 +// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.5e1c331498176a81.Core"(ptr %return, ptr %.loc22_23.3.temp), !dbg !29 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc22_23.3.temp), !dbg !27 +// CHECK:STDOUT: call void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %.loc22_22.1.temp), !dbg !28 // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CCallCallGeneric.Main(ptr sret({}) %return, ptr %c, ptr %b) #0 !dbg !30 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CCallGeneric.Main.18bae34346379f4e(ptr %return, ptr %c, ptr %b), !dbg !34 +// CHECK:STDOUT: call void @_CCallGeneric.Main.9165f5c135fb7a91(ptr %return, ptr %c, ptr %b), !dbg !34 // CHECK:STDOUT: ret void, !dbg !35 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -283,24 +283,24 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CCallGeneric.Main.18bae34346379f4e(ptr sret({}) %return, ptr %c, ptr %b) #0 !dbg !41 { +// CHECK:STDOUT: define linkonce_odr void @_CCallGeneric.Main.9165f5c135fb7a91(ptr sret({}) %return, ptr %c, ptr %b) #0 !dbg !41 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_CF:thunk:I.a61d280f5ea4bfd8.Main:C.eb057aa32837c84e.Main:I.eb057aa32837c84e.Main.e43630e9a6c38c3f"(ptr %return, ptr %c, ptr %b), !dbg !45 +// CHECK:STDOUT: call void @"_CF:thunk:I.6292b465f58b1b5c.Main:C.eb057aa32837c84e.Main:I.eb057aa32837c84e.Main.e43630e9a6c38c3f"(ptr %return, ptr %c, ptr %b), !dbg !45 // CHECK:STDOUT: ret void, !dbg !46 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CF:thunk:I.a61d280f5ea4bfd8.Main:C.eb057aa32837c84e.Main:I.eb057aa32837c84e.Main.e43630e9a6c38c3f"(ptr sret({}) %return, ptr %self, ptr %x) #2 !dbg !47 { +// CHECK:STDOUT: define linkonce_odr void @"_CF:thunk:I.6292b465f58b1b5c.Main:C.eb057aa32837c84e.Main:I.eb057aa32837c84e.Main.e43630e9a6c38c3f"(ptr sret({}) %return, ptr %self, ptr %x) #2 !dbg !47 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc18_38.2.temp = alloca {}, align 1, !dbg !51 // CHECK:STDOUT: %.loc12_21.1.temp = alloca {}, align 1, !dbg !52 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc18_38.2.temp), !dbg !51 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc12_21.1.temp), !dbg !52 -// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.46f7e99dd8f31ccb.Core"(ptr %.loc12_21.1.temp, ptr %x), !dbg !52 +// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.5e1c331498176a81.Core"(ptr %.loc12_21.1.temp, ptr %x), !dbg !52 // CHECK:STDOUT: call void @"_CF.C.eb057aa32837c84e.Main:I.eb057aa32837c84e.Main.e43630e9a6c38c3f"(ptr %.loc18_38.2.temp, ptr %self, ptr %.loc12_21.1.temp), !dbg !51 -// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.46f7e99dd8f31ccb.Core"(ptr %return, ptr %.loc18_38.2.temp), !dbg !51 -// CHECK:STDOUT: call void @"_COp.7ce54547ef4d499a:core.Destroy.Core"(ptr %.loc18_38.2.temp), !dbg !51 -// CHECK:STDOUT: call void @"_COp.c14becfc5db4251e:core.Destroy.Core"(ptr %.loc12_21.1.temp), !dbg !52 +// CHECK:STDOUT: call void @"_CConvert.B.Main:ImplicitAs.5e1c331498176a81.Core"(ptr %return, ptr %.loc18_38.2.temp), !dbg !51 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %.loc18_38.2.temp), !dbg !51 +// CHECK:STDOUT: call void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %.loc12_21.1.temp), !dbg !52 // CHECK:STDOUT: ret void, !dbg !51 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -318,20 +318,20 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "generic_thunk.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.B.Main:ImplicitAs.46f7e99dd8f31ccb.Core", scope: null, file: !3, line: 7, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.B.Main:ImplicitAs.5e1c331498176a81.Core", scope: null, file: !3, line: 7, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{!7, !7} // CHECK:STDOUT: !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !8 = !{!9} // CHECK:STDOUT: !9 = !DILocalVariable(arg: 1, scope: !4, type: !7) // CHECK:STDOUT: !10 = !DILocation(line: 7, column: 44, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.7ce54547ef4d499a:core.Destroy.Core", scope: null, file: !3, line: 18, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.07f54489d6d26b29:core.Destroy.Core", scope: null, file: !3, line: 18, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !12 = !DISubroutineType(types: !13) // CHECK:STDOUT: !13 = !{null, !7} // CHECK:STDOUT: !14 = !{!15} // CHECK:STDOUT: !15 = !DILocalVariable(arg: 1, scope: !11, type: !7) // CHECK:STDOUT: !16 = !DILocation(line: 18, column: 3, scope: !11) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c14becfc5db4251e:core.Destroy.Core", scope: null, file: !3, line: 12, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ac7d25d81711af23:core.Destroy.Core", scope: null, file: !3, line: 12, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) // CHECK:STDOUT: !18 = !{!19} // CHECK:STDOUT: !19 = !DILocalVariable(arg: 1, scope: !17, type: !7) // CHECK:STDOUT: !20 = !DILocation(line: 12, column: 20, scope: !17) @@ -355,13 +355,13 @@ fn CallCallGeneric(c: C(()), b: B) -> A { // CHECK:STDOUT: !38 = !DILocalVariable(arg: 1, scope: !36, type: !7) // CHECK:STDOUT: !39 = !DILocalVariable(arg: 2, scope: !36, type: !7) // CHECK:STDOUT: !40 = !DILocation(line: 18, column: 40, scope: !36) -// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "CallGeneric", linkageName: "_CCallGeneric.Main.18bae34346379f4e", scope: null, file: !3, line: 25, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) +// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "CallGeneric", linkageName: "_CCallGeneric.Main.9165f5c135fb7a91", scope: null, file: !3, line: 25, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) // CHECK:STDOUT: !42 = !{!43, !44} // CHECK:STDOUT: !43 = !DILocalVariable(arg: 1, scope: !41, type: !7) // CHECK:STDOUT: !44 = !DILocalVariable(arg: 2, scope: !41, type: !7) // CHECK:STDOUT: !45 = !DILocation(line: 26, column: 10, scope: !41) // CHECK:STDOUT: !46 = !DILocation(line: 26, column: 3, scope: !41) -// CHECK:STDOUT: !47 = distinct !DISubprogram(name: "F", linkageName: "_CF:thunk:I.a61d280f5ea4bfd8.Main:C.eb057aa32837c84e.Main:I.eb057aa32837c84e.Main.e43630e9a6c38c3f", scope: null, file: !3, line: 18, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !48) +// CHECK:STDOUT: !47 = distinct !DISubprogram(name: "F", linkageName: "_CF:thunk:I.6292b465f58b1b5c.Main:C.eb057aa32837c84e.Main:I.eb057aa32837c84e.Main.e43630e9a6c38c3f", scope: null, file: !3, line: 18, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !48) // CHECK:STDOUT: !48 = !{!49, !50} // CHECK:STDOUT: !49 = !DILocalVariable(arg: 1, scope: !47, type: !7) // CHECK:STDOUT: !50 = !DILocalVariable(arg: 2, scope: !47, type: !7) diff --git a/toolchain/lower/testdata/index/array_element_access.carbon b/toolchain/lower/testdata/index/array_element_access.carbon index ce697098555f..abe5727f46f5 100644 --- a/toolchain/lower/testdata/index/array_element_access.carbon +++ b/toolchain/lower/testdata/index/array_element_access.carbon @@ -23,7 +23,7 @@ fn Run() { // CHECK:STDOUT: ; ModuleID = 'array_element_access.carbon' // CHECK:STDOUT: source_filename = "array_element_access.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @tuple.03f.loc12_37 = internal constant { i32, i32 } { i32 1, i32 2 } +// CHECK:STDOUT: @tuple.cd5.loc12_37 = internal constant { i32, i32 } { i32 1, i32 2 } // CHECK:STDOUT: @array.loc14_40 = internal constant [2 x i32] [i32 1, i32 2] // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind @@ -31,7 +31,7 @@ fn Run() { // CHECK:STDOUT: entry: // CHECK:STDOUT: %tuple.elem0.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %return, i32 0, i32 0, !dbg !8 // CHECK:STDOUT: %tuple.elem1.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %return, i32 0, i32 1, !dbg !8 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %return, ptr align 4 @tuple.03f.loc12_37, i64 8, i1 false), !dbg !9 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %return, ptr align 4 @tuple.cd5.loc12_37, i64 8, i1 false), !dbg !9 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -77,29 +77,29 @@ fn Run() { // CHECK:STDOUT: %.loc20_21.1.array.index = getelementptr inbounds [2 x i32], ptr %.loc20_18.1.temp, i32 0, i32 1, !dbg !22 // CHECK:STDOUT: %.loc20_21.2 = load i32, ptr %.loc20_21.1.array.index, align 4, !dbg !22 // CHECK:STDOUT: store i32 %.loc20_21.2, ptr %_.var.loc20, align 4, !dbg !21 -// CHECK:STDOUT: call void @"_COp.a4284a45d9b6bc42:core.Destroy.Core"(ptr %.loc20_18.1.temp), !dbg !22 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var.loc20), !dbg !21 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var.loc19), !dbg !20 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %b.var), !dbg !19 -// CHECK:STDOUT: call void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %.loc17_28.1.temp), !dbg !18 -// CHECK:STDOUT: call void @"_COp.a4284a45d9b6bc42:core.Destroy.Core"(ptr %a.var), !dbg !17 +// CHECK:STDOUT: call void @"_COp.f58d330ca5a9dabc:core.Destroy.Core"(ptr %.loc20_18.1.temp), !dbg !22 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var.loc20), !dbg !21 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var.loc19), !dbg !20 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %b.var), !dbg !19 +// CHECK:STDOUT: call void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %.loc17_28.1.temp), !dbg !18 +// CHECK:STDOUT: call void @"_COp.f58d330ca5a9dabc:core.Destroy.Core"(ptr %a.var), !dbg !17 // CHECK:STDOUT: ret i32 0, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.a4284a45d9b6bc42:core.Destroy.Core"(ptr %self) #0 !dbg !32 { +// CHECK:STDOUT: define weak_odr void @"_COp.f58d330ca5a9dabc:core.Destroy.Core"(ptr %self) #0 !dbg !32 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !37 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %self) #0 !dbg !38 { +// CHECK:STDOUT: define weak_odr void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %self) #0 !dbg !38 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !41 // CHECK:STDOUT: } @@ -111,8 +111,8 @@ fn Run() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.94e3ca86614aba5d:core.Destroy.Core", { 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @"_COp.a4284a45d9b6bc42:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.1fa36cd3e044ac37:core.Destroy.Core", { 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.f58d330ca5a9dabc:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.memcpy.p0.p0.i64, { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 5, 4, 3, 2, 1, 0 } // CHECK:STDOUT: @@ -148,19 +148,19 @@ fn Run() { // CHECK:STDOUT: !23 = !DILocation(line: 19, column: 18, scope: !13) // CHECK:STDOUT: !24 = !DILocation(line: 19, column: 16, scope: !13) // CHECK:STDOUT: !25 = !DILocation(line: 16, column: 1, scope: !13) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 20, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 20, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) // CHECK:STDOUT: !27 = !DISubroutineType(types: !28) // CHECK:STDOUT: !28 = !{null, !16} // CHECK:STDOUT: !29 = !{!30} // CHECK:STDOUT: !30 = !DILocalVariable(arg: 1, scope: !26, type: !16) // CHECK:STDOUT: !31 = !DILocation(line: 20, column: 16, scope: !26) -// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a4284a45d9b6bc42:core.Destroy.Core", scope: null, file: !3, line: 20, type: !33, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) +// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.f58d330ca5a9dabc:core.Destroy.Core", scope: null, file: !3, line: 20, type: !33, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) // CHECK:STDOUT: !33 = !DISubroutineType(types: !34) // CHECK:STDOUT: !34 = !{null, !7} // CHECK:STDOUT: !35 = !{!36} // CHECK:STDOUT: !36 = !DILocalVariable(arg: 1, scope: !32, type: !7) // CHECK:STDOUT: !37 = !DILocation(line: 20, column: 16, scope: !32) -// CHECK:STDOUT: !38 = distinct !DISubprogram(name: "Op", linkageName: "_COp.26f166843e861eec:core.Destroy.Core", scope: null, file: !3, line: 17, type: !33, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !39) +// CHECK:STDOUT: !38 = distinct !DISubprogram(name: "Op", linkageName: "_COp.11d8dd9278293aa3:core.Destroy.Core", scope: null, file: !3, line: 17, type: !33, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !39) // CHECK:STDOUT: !39 = !{!40} // CHECK:STDOUT: !40 = !DILocalVariable(arg: 1, scope: !38, type: !7) // CHECK:STDOUT: !41 = !DILocation(line: 17, column: 26, scope: !38) diff --git a/toolchain/lower/testdata/interface/where.carbon b/toolchain/lower/testdata/interface/where.carbon index 0b2d0ff6aace..c8deeadecee2 100644 --- a/toolchain/lower/testdata/interface/where.carbon +++ b/toolchain/lower/testdata/interface/where.carbon @@ -83,7 +83,7 @@ fn G() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF.Main(ptr %a) #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_CF.C.Main:I.5d7343568c0b5715.Main.36f6a86118c8cac1"(ptr %a), !dbg !10 +// CHECK:STDOUT: call void @"_CF.C.Main:I.5d7343568c0b5715.Main.a557ebdd5991dda9"(ptr %a), !dbg !10 // CHECK:STDOUT: ret void, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -94,7 +94,7 @@ fn G() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CF.C.Main:I.5d7343568c0b5715.Main.36f6a86118c8cac1"(ptr %self) #0 !dbg !16 { +// CHECK:STDOUT: define linkonce_odr void @"_CF.C.Main:I.5d7343568c0b5715.Main.a557ebdd5991dda9"(ptr %self) #0 !dbg !16 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } @@ -120,7 +120,7 @@ fn G() { // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null} // CHECK:STDOUT: !15 = !DILocation(line: 23, column: 1, scope: !12) -// CHECK:STDOUT: !16 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.Main:I.5d7343568c0b5715.Main.36f6a86118c8cac1", scope: null, file: !3, line: 16, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) +// CHECK:STDOUT: !16 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.Main:I.5d7343568c0b5715.Main.a557ebdd5991dda9", scope: null, file: !3, line: 16, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) // CHECK:STDOUT: !17 = !{!18} // CHECK:STDOUT: !18 = !DILocalVariable(arg: 1, scope: !16, type: !7) // CHECK:STDOUT: !19 = !DILocation(line: 16, column: 3, scope: !16) diff --git a/toolchain/lower/testdata/interop/cpp/class/import/alignment.carbon b/toolchain/lower/testdata/interop/cpp/class/import/alignment.carbon index 74b0a337a1dc..39d412fd0a01 100644 --- a/toolchain/lower/testdata/interop/cpp/class/import/alignment.carbon +++ b/toolchain/lower/testdata/interop/cpp/class/import/alignment.carbon @@ -66,7 +66,7 @@ fn Packed(n: i32) { // CHECK:STDOUT: entry: // CHECK:STDOUT: %a.var = alloca [4 x i8], align 4, !dbg !17 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %a.var), !dbg !17 -// CHECK:STDOUT: call void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.53704887462f6065"(ptr %a.var), !dbg !17 +// CHECK:STDOUT: call void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.8290f4fee0d0690a"(ptr %a.var), !dbg !17 // CHECK:STDOUT: %.loc25.n = getelementptr inbounds nuw [4 x i8], ptr %a.var, i32 0, i32 0, !dbg !18 // CHECK:STDOUT: store i32 %n, ptr %.loc25.n, align 4, !dbg !18 // CHECK:STDOUT: call void @_Z4TakeI16NaturallyAlignedEvRT_(ptr %a.var), !dbg !19 @@ -83,7 +83,7 @@ fn Packed(n: i32) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Default.381601f5a2bd2e81.Core:NaturallyAligned.Cpp"(ptr sret([4 x i8]) %return) #2 !dbg !24 { +// CHECK:STDOUT: define void @"_COp:thunk:Default.cd11e5926d8f9d3b.Core:NaturallyAligned.Cpp"(ptr sret([4 x i8]) %return) #2 !dbg !24 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN16NaturallyAlignedC1Ev.carbon_thunk.(ptr %return), !dbg !28 // CHECK:STDOUT: ret void, !dbg !28 @@ -96,7 +96,7 @@ fn Packed(n: i32) { // CHECK:STDOUT: entry: // CHECK:STDOUT: %a.var = alloca [16 x i8], align 16, !dbg !32 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %a.var), !dbg !32 -// CHECK:STDOUT: call void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.f529dae788690cbe"(ptr %a.var), !dbg !32 +// CHECK:STDOUT: call void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.47191496f2f0576c"(ptr %a.var), !dbg !32 // CHECK:STDOUT: %.loc33.n = getelementptr inbounds nuw [16 x i8], ptr %a.var, i32 0, i32 0, !dbg !33 // CHECK:STDOUT: store i32 %n, ptr %.loc33.n, align 4, !dbg !33 // CHECK:STDOUT: call void @_Z4TakeI14ExtraAlignmentEvRT_(ptr %a.var), !dbg !34 @@ -113,7 +113,7 @@ fn Packed(n: i32) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Default.6ca50d719a15fa24.Core:ExtraAlignment.Cpp"(ptr sret([16 x i8]) %return) #2 !dbg !38 { +// CHECK:STDOUT: define void @"_COp:thunk:Default.3d0f8075cbddb98d.Core:ExtraAlignment.Cpp"(ptr sret([16 x i8]) %return) #2 !dbg !38 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN14ExtraAlignmentC1Ev.carbon_thunk.(ptr %return), !dbg !39 // CHECK:STDOUT: ret void, !dbg !39 @@ -126,7 +126,7 @@ fn Packed(n: i32) { // CHECK:STDOUT: entry: // CHECK:STDOUT: %a.var = alloca [4 x i8], align 1, !dbg !43 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %a.var), !dbg !43 -// CHECK:STDOUT: call void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.ee398c9a806dbb35"(ptr %a.var), !dbg !43 +// CHECK:STDOUT: call void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.06c36f3376c8e786"(ptr %a.var), !dbg !43 // CHECK:STDOUT: %.loc42.n = getelementptr inbounds nuw [4 x i8], ptr %a.var, i32 0, i32 0, !dbg !44 // CHECK:STDOUT: store i32 %n, ptr %.loc42.n, align 4, !dbg !44 // CHECK:STDOUT: call void @_Z4TakeI6PackedEvRT_(ptr %a.var), !dbg !45 @@ -143,7 +143,7 @@ fn Packed(n: i32) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Default.ba085c8bae0456bc.Core:Packed.Cpp"(ptr sret([4 x i8]) %return) #2 !dbg !49 { +// CHECK:STDOUT: define void @"_COp:thunk:Default.590916adff69158b.Core:Packed.Cpp"(ptr sret([4 x i8]) %return) #2 !dbg !49 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN6PackedC1Ev.carbon_thunk.(ptr %return), !dbg !50 // CHECK:STDOUT: ret void, !dbg !50 @@ -155,20 +155,20 @@ fn Packed(n: i32) { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #4 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.53704887462f6065"(ptr sret([4 x i8]) %return) #0 !dbg !51 { -// CHECK:STDOUT: call void @"_COp:thunk:Default.381601f5a2bd2e81.Core:NaturallyAligned.Cpp"(ptr %return), !dbg !53 +// CHECK:STDOUT: define linkonce_odr void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.8290f4fee0d0690a"(ptr sret([4 x i8]) %return) #0 !dbg !51 { +// CHECK:STDOUT: call void @"_COp:thunk:Default.cd11e5926d8f9d3b.Core:NaturallyAligned.Cpp"(ptr %return), !dbg !53 // CHECK:STDOUT: ret void, !dbg !54 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.f529dae788690cbe"(ptr sret([16 x i8]) %return) #0 !dbg !55 { -// CHECK:STDOUT: call void @"_COp:thunk:Default.6ca50d719a15fa24.Core:ExtraAlignment.Cpp"(ptr %return), !dbg !56 +// CHECK:STDOUT: define linkonce_odr void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.47191496f2f0576c"(ptr sret([16 x i8]) %return) #0 !dbg !55 { +// CHECK:STDOUT: call void @"_COp:thunk:Default.3d0f8075cbddb98d.Core:ExtraAlignment.Cpp"(ptr %return), !dbg !56 // CHECK:STDOUT: ret void, !dbg !57 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.ee398c9a806dbb35"(ptr sret([4 x i8]) %return) #0 !dbg !58 { -// CHECK:STDOUT: call void @"_COp:thunk:Default.ba085c8bae0456bc.Core:Packed.Cpp"(ptr %return), !dbg !59 +// CHECK:STDOUT: define linkonce_odr void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.06c36f3376c8e786"(ptr sret([4 x i8]) %return) #0 !dbg !58 { +// CHECK:STDOUT: call void @"_COp:thunk:Default.590916adff69158b.Core:Packed.Cpp"(ptr %return), !dbg !59 // CHECK:STDOUT: ret void, !dbg !60 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -209,7 +209,7 @@ fn Packed(n: i32) { // CHECK:STDOUT: !21 = !{!22, !22, i64 0} // CHECK:STDOUT: !22 = !{!"p1 _ZTS16NaturallyAligned", !23, i64 0} // CHECK:STDOUT: !23 = !{!"any pointer", !9, i64 0} -// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.381601f5a2bd2e81.Core:NaturallyAligned.Cpp", scope: null, file: !6, line: 7, type: !25, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.cd11e5926d8f9d3b.Core:NaturallyAligned.Cpp", scope: null, file: !6, line: 7, type: !25, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !25 = !DISubroutineType(types: !26) // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) @@ -223,7 +223,7 @@ fn Packed(n: i32) { // CHECK:STDOUT: !35 = !DILocation(line: 29, column: 1, scope: !29) // CHECK:STDOUT: !36 = !{!37, !37, i64 0} // CHECK:STDOUT: !37 = !{!"p1 _ZTS14ExtraAlignment", !23, i64 0} -// CHECK:STDOUT: !38 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.6ca50d719a15fa24.Core:ExtraAlignment.Cpp", scope: null, file: !6, line: 11, type: !25, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !38 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.3d0f8075cbddb98d.Core:ExtraAlignment.Cpp", scope: null, file: !6, line: 11, type: !25, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !39 = !DILocation(line: 11, column: 20, scope: !38) // CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Packed", linkageName: "_CPacked.Main", scope: null, file: !6, line: 37, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !41) // CHECK:STDOUT: !41 = !{!42} @@ -234,15 +234,15 @@ fn Packed(n: i32) { // CHECK:STDOUT: !46 = !DILocation(line: 37, column: 1, scope: !40) // CHECK:STDOUT: !47 = !{!48, !48, i64 0} // CHECK:STDOUT: !48 = !{!"p1 _ZTS6Packed", !23, i64 0} -// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.ba085c8bae0456bc.Core:Packed.Cpp", scope: null, file: !6, line: 15, type: !25, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.590916adff69158b.Core:Packed.Cpp", scope: null, file: !6, line: 15, type: !25, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !50 = !DILocation(line: 15, column: 32, scope: !49) -// CHECK:STDOUT: !51 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.53704887462f6065", scope: null, file: !52, line: 9, type: !25, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !51 = distinct !DISubprogram(name: "Op", linkageName: "_COp.218d57fc466b073f:DefaultOrUnformed.Core.8290f4fee0d0690a", scope: null, file: !52, line: 9, type: !25, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !52 = !DIFile(filename: "min_prelude/parts/default.carbon", directory: "") // CHECK:STDOUT: !53 = !DILocation(line: 9, column: 28, scope: !51) // CHECK:STDOUT: !54 = !DILocation(line: 9, column: 21, scope: !51) -// CHECK:STDOUT: !55 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.f529dae788690cbe", scope: null, file: !52, line: 9, type: !25, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !55 = distinct !DISubprogram(name: "Op", linkageName: "_COp.218d57fc466b073f:DefaultOrUnformed.Core.47191496f2f0576c", scope: null, file: !52, line: 9, type: !25, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !56 = !DILocation(line: 9, column: 28, scope: !55) // CHECK:STDOUT: !57 = !DILocation(line: 9, column: 21, scope: !55) -// CHECK:STDOUT: !58 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.ee398c9a806dbb35", scope: null, file: !52, line: 9, type: !25, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !58 = distinct !DISubprogram(name: "Op", linkageName: "_COp.218d57fc466b073f:DefaultOrUnformed.Core.06c36f3376c8e786", scope: null, file: !52, line: 9, type: !25, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !59 = !DILocation(line: 9, column: 28, scope: !58) // CHECK:STDOUT: !60 = !DILocation(line: 9, column: 21, scope: !58) diff --git a/toolchain/lower/testdata/interop/cpp/class/import/dynamic.carbon b/toolchain/lower/testdata/interop/cpp/class/import/dynamic.carbon index 99cb085040d3..273e713fd330 100644 --- a/toolchain/lower/testdata/interop/cpp/class/import/dynamic.carbon +++ b/toolchain/lower/testdata/interop/cpp/class/import/dynamic.carbon @@ -166,7 +166,7 @@ auto DoThing() -> void { // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind // CHECK:STDOUT: define void @"_C__destroy_thunk:thunk.Derived.Main"(ptr %self) #6 !dbg !29 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_COp.dc7802eff02bba82:core.Destroy.Core"(ptr %self), !dbg !32 +// CHECK:STDOUT: call void @"_COp.c734b9cb9ff14c0a:core.Destroy.Core"(ptr %self), !dbg !32 // CHECK:STDOUT: ret void, !dbg !32 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -177,7 +177,7 @@ auto DoThing() -> void { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.dc7802eff02bba82:core.Destroy.Core"(ptr %self) #5 !dbg !37 { +// CHECK:STDOUT: define weak_odr void @"_COp.c734b9cb9ff14c0a:core.Destroy.Core"(ptr %self) #5 !dbg !37 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !40 // CHECK:STDOUT: } @@ -301,7 +301,7 @@ auto DoThing() -> void { // CHECK:STDOUT: !34 = !{!35} // CHECK:STDOUT: !35 = !DILocalVariable(arg: 1, scope: !33, type: !21) // CHECK:STDOUT: !36 = !DILocation(line: 22, column: 1, scope: !33) -// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.dc7802eff02bba82:core.Destroy.Core", scope: null, file: !6, line: 22, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !38) +// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c734b9cb9ff14c0a:core.Destroy.Core", scope: null, file: !6, line: 22, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !38) // CHECK:STDOUT: !38 = !{!39} // CHECK:STDOUT: !39 = !DILocalVariable(arg: 1, scope: !37, type: !21) // CHECK:STDOUT: !40 = !DILocation(line: 22, column: 1, scope: !37) diff --git a/toolchain/lower/testdata/interop/cpp/class/virtual_fn.carbon b/toolchain/lower/testdata/interop/cpp/class/virtual_fn.carbon index 0e27184e5142..a1b2d9d832c3 100644 --- a/toolchain/lower/testdata/interop/cpp/class/virtual_fn.carbon +++ b/toolchain/lower/testdata/interop/cpp/class/virtual_fn.carbon @@ -201,7 +201,7 @@ void delete_new_Base() { // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind // CHECK:STDOUT: define void @"_C__destroy_thunk:thunk.Final.Main"(ptr %self) #6 !dbg !22 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_COp.bbe15d81bea73f45:core.Destroy.Core"(ptr %self), !dbg !28 +// CHECK:STDOUT: call void @"_COp.8fb57eaeb076daef:core.Destroy.Core"(ptr %self), !dbg !28 // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -215,7 +215,7 @@ void delete_new_Base() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.bbe15d81bea73f45:core.Destroy.Core"(ptr %self) #8 !dbg !33 { +// CHECK:STDOUT: define weak_odr void @"_COp.8fb57eaeb076daef:core.Destroy.Core"(ptr %self) #8 !dbg !33 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } @@ -232,12 +232,12 @@ void delete_new_Base() { // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind // CHECK:STDOUT: define void @"_C__destroy_thunk:thunk.Base.Main"(ptr %self) #6 !dbg !41 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_COp.890f67314d492134:core.Destroy.Core"(ptr %self), !dbg !44 +// CHECK:STDOUT: call void @"_COp.8fd1c7aa0f654d74:core.Destroy.Core"(ptr %self), !dbg !44 // CHECK:STDOUT: ret void, !dbg !44 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.890f67314d492134:core.Destroy.Core"(ptr %self) #8 !dbg !45 { +// CHECK:STDOUT: define weak_odr void @"_COp.8fd1c7aa0f654d74:core.Destroy.Core"(ptr %self) #8 !dbg !45 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !48 // CHECK:STDOUT: } @@ -384,7 +384,7 @@ void delete_new_Base() { // CHECK:STDOUT: !30 = !{!31} // CHECK:STDOUT: !31 = !DILocalVariable(arg: 1, scope: !29, type: !25) // CHECK:STDOUT: !32 = !DILocation(line: 12, column: 1, scope: !29) -// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "Op", linkageName: "_COp.bbe15d81bea73f45:core.Destroy.Core", scope: null, file: !6, line: 12, type: !23, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !34) +// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8fb57eaeb076daef:core.Destroy.Core", scope: null, file: !6, line: 12, type: !23, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !34) // CHECK:STDOUT: !34 = !{!35} // CHECK:STDOUT: !35 = !DILocalVariable(arg: 1, scope: !33, type: !25) // CHECK:STDOUT: !36 = !DILocation(line: 12, column: 1, scope: !33) @@ -396,7 +396,7 @@ void delete_new_Base() { // CHECK:STDOUT: !42 = !{!43} // CHECK:STDOUT: !43 = !DILocalVariable(arg: 1, scope: !41, type: !25) // CHECK:STDOUT: !44 = !DILocation(line: 17, column: 1, scope: !41) -// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.890f67314d492134:core.Destroy.Core", scope: null, file: !6, line: 17, type: !23, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !46) +// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8fd1c7aa0f654d74:core.Destroy.Core", scope: null, file: !6, line: 17, type: !23, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !46) // CHECK:STDOUT: !46 = !{!47} // CHECK:STDOUT: !47 = !DILocalVariable(arg: 1, scope: !45, type: !25) // CHECK:STDOUT: !48 = !DILocation(line: 17, column: 1, scope: !45) diff --git a/toolchain/lower/testdata/interop/cpp/constructor.carbon b/toolchain/lower/testdata/interop/cpp/constructor.carbon index 5de2c0d5e439..94d2e632b9b0 100644 --- a/toolchain/lower/testdata/interop/cpp/constructor.carbon +++ b/toolchain/lower/testdata/interop/cpp/constructor.carbon @@ -281,7 +281,7 @@ fn Four() { // CHECK:STDOUT: entry: // CHECK:STDOUT: %_.var = alloca [8 x i8], align 4, !dbg !14 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !14 -// CHECK:STDOUT: call void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.4fdc745d4b6d0e3c"(ptr %_.var), !dbg !14 +// CHECK:STDOUT: call void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.1afc54683c199dfb"(ptr %_.var), !dbg !14 // CHECK:STDOUT: ret void, !dbg !15 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -296,7 +296,7 @@ fn Four() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Default.08e786f435a99766.Core:C.Cpp"(ptr sret([8 x i8]) %return) #2 !dbg !19 { +// CHECK:STDOUT: define void @"_COp:thunk:Default.e22dc72f1b535a46.Core:C.Cpp"(ptr sret([8 x i8]) %return) #2 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN1CC1Ev.carbon_thunk.(ptr %return), !dbg !24 // CHECK:STDOUT: ret void, !dbg !24 @@ -306,8 +306,8 @@ fn Four() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #3 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.4fdc745d4b6d0e3c"(ptr sret([8 x i8]) %return) #0 !dbg !25 { -// CHECK:STDOUT: call void @"_COp:thunk:Default.08e786f435a99766.Core:C.Cpp"(ptr %return), !dbg !27 +// CHECK:STDOUT: define linkonce_odr void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.1afc54683c199dfb"(ptr sret([8 x i8]) %return) #0 !dbg !25 { +// CHECK:STDOUT: call void @"_COp:thunk:Default.e22dc72f1b535a46.Core:C.Cpp"(ptr %return), !dbg !27 // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -353,13 +353,13 @@ fn Four() { // CHECK:STDOUT: !16 = !{!17, !17, i64 0} // CHECK:STDOUT: !17 = !{!"p1 _ZTS1C", !18, i64 0} // CHECK:STDOUT: !18 = !{!"any pointer", !9, i64 0} -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.08e786f435a99766.Core:C.Cpp", scope: null, file: !20, line: 4, type: !21, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.e22dc72f1b535a46.Core:C.Cpp", scope: null, file: !20, line: 4, type: !21, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !20 = !DIFile(filename: "./default.h", directory: "") // CHECK:STDOUT: !21 = !DISubroutineType(types: !22) // CHECK:STDOUT: !22 = !{!23} // CHECK:STDOUT: !23 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !24 = !DILocation(line: 4, column: 3, scope: !19) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.4fdc745d4b6d0e3c", scope: null, file: !26, line: 9, type: !21, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.218d57fc466b073f:DefaultOrUnformed.Core.1afc54683c199dfb", scope: null, file: !26, line: 9, type: !21, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !26 = !DIFile(filename: "min_prelude/parts/default.carbon", directory: "") // CHECK:STDOUT: !27 = !DILocation(line: 9, column: 28, scope: !25) // CHECK:STDOUT: !28 = !DILocation(line: 9, column: 21, scope: !25) @@ -388,11 +388,11 @@ fn Four() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc8_65.1.temp), !dbg !14 // CHECK:STDOUT: call void @_ZN26ImplicitlyDefaultedDefaultC1Ev.carbon_thunk.(ptr %.loc8_65.1.temp), !dbg !14 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc9), !dbg !15 -// CHECK:STDOUT: call void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.dc183edbabc24d2f"(ptr %_.var.loc9), !dbg !15 +// CHECK:STDOUT: call void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.774cef0582dbdb58"(ptr %_.var.loc9), !dbg !15 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc12_65.1.temp), !dbg !16 // CHECK:STDOUT: call void @_ZN26ExplicitlyDefaultedDefaultC1Ev.carbon_thunk.(ptr %.loc12_65.1.temp), !dbg !16 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc13), !dbg !17 -// CHECK:STDOUT: call void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.44ad2ae60410d16d"(ptr %_.var.loc13), !dbg !17 +// CHECK:STDOUT: call void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.6431fe01d50bd335"(ptr %_.var.loc13), !dbg !17 // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -407,7 +407,7 @@ fn Four() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Default.1458cb9e3f45d9d7.Core:ImplicitlyDefaultedDefault.Cpp"(ptr sret([4 x i8]) %return) #2 !dbg !22 { +// CHECK:STDOUT: define void @"_COp:thunk:Default.32bfc14b1bd3f644.Core:ImplicitlyDefaultedDefault.Cpp"(ptr sret([4 x i8]) %return) #2 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN26ImplicitlyDefaultedDefaultC1Ev.carbon_thunk.(ptr %return), !dbg !27 // CHECK:STDOUT: ret void, !dbg !27 @@ -424,7 +424,7 @@ fn Four() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Default.16c8d515df1b6c01.Core:ExplicitlyDefaultedDefault.Cpp"(ptr sret([4 x i8]) %return) #2 !dbg !30 { +// CHECK:STDOUT: define void @"_COp:thunk:Default.3ee0b34aa3c731be.Core:ExplicitlyDefaultedDefault.Cpp"(ptr sret([4 x i8]) %return) #2 !dbg !30 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN26ExplicitlyDefaultedDefaultC1Ev.carbon_thunk.(ptr %return), !dbg !31 // CHECK:STDOUT: ret void, !dbg !31 @@ -434,14 +434,14 @@ fn Four() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #3 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.dc183edbabc24d2f"(ptr sret([4 x i8]) %return) #0 !dbg !32 { -// CHECK:STDOUT: call void @"_COp:thunk:Default.1458cb9e3f45d9d7.Core:ImplicitlyDefaultedDefault.Cpp"(ptr %return), !dbg !34 +// CHECK:STDOUT: define linkonce_odr void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.774cef0582dbdb58"(ptr sret([4 x i8]) %return) #0 !dbg !32 { +// CHECK:STDOUT: call void @"_COp:thunk:Default.32bfc14b1bd3f644.Core:ImplicitlyDefaultedDefault.Cpp"(ptr %return), !dbg !34 // CHECK:STDOUT: ret void, !dbg !35 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.44ad2ae60410d16d"(ptr sret([4 x i8]) %return) #0 !dbg !36 { -// CHECK:STDOUT: call void @"_COp:thunk:Default.16c8d515df1b6c01.Core:ExplicitlyDefaultedDefault.Cpp"(ptr %return), !dbg !37 +// CHECK:STDOUT: define linkonce_odr void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.6431fe01d50bd335"(ptr sret([4 x i8]) %return) #0 !dbg !36 { +// CHECK:STDOUT: call void @"_COp:thunk:Default.3ee0b34aa3c731be.Core:ExplicitlyDefaultedDefault.Cpp"(ptr %return), !dbg !37 // CHECK:STDOUT: ret void, !dbg !38 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -503,7 +503,7 @@ fn Four() { // CHECK:STDOUT: !19 = !{!20, !20, i64 0} // CHECK:STDOUT: !20 = !{!"p1 _ZTS26ImplicitlyDefaultedDefault", !21, i64 0} // CHECK:STDOUT: !21 = !{!"any pointer", !9, i64 0} -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.1458cb9e3f45d9d7.Core:ImplicitlyDefaultedDefault.Cpp", scope: null, file: !23, line: 2, type: !24, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.32bfc14b1bd3f644.Core:ImplicitlyDefaultedDefault.Cpp", scope: null, file: !23, line: 2, type: !24, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !23 = !DIFile(filename: "./defaulted_default.h", directory: "") // CHECK:STDOUT: !24 = !DISubroutineType(types: !25) // CHECK:STDOUT: !25 = !{!26} @@ -511,13 +511,13 @@ fn Four() { // CHECK:STDOUT: !27 = !DILocation(line: 2, column: 8, scope: !22) // CHECK:STDOUT: !28 = !{!29, !29, i64 0} // CHECK:STDOUT: !29 = !{!"p1 _ZTS26ExplicitlyDefaultedDefault", !21, i64 0} -// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.16c8d515df1b6c01.Core:ExplicitlyDefaultedDefault.Cpp", scope: null, file: !23, line: 7, type: !24, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.3ee0b34aa3c731be.Core:ExplicitlyDefaultedDefault.Cpp", scope: null, file: !23, line: 7, type: !24, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !31 = !DILocation(line: 7, column: 3, scope: !30) -// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.dc183edbabc24d2f", scope: null, file: !33, line: 9, type: !24, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.218d57fc466b073f:DefaultOrUnformed.Core.774cef0582dbdb58", scope: null, file: !33, line: 9, type: !24, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !33 = !DIFile(filename: "min_prelude/parts/default.carbon", directory: "") // CHECK:STDOUT: !34 = !DILocation(line: 9, column: 28, scope: !32) // CHECK:STDOUT: !35 = !DILocation(line: 9, column: 21, scope: !32) -// CHECK:STDOUT: !36 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.44ad2ae60410d16d", scope: null, file: !33, line: 9, type: !24, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !36 = distinct !DISubprogram(name: "Op", linkageName: "_COp.218d57fc466b073f:DefaultOrUnformed.Core.6431fe01d50bd335", scope: null, file: !33, line: 9, type: !24, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !37 = !DILocation(line: 9, column: 28, scope: !36) // CHECK:STDOUT: !38 = !DILocation(line: 9, column: 21, scope: !36) // CHECK:STDOUT: !39 = !{!40, !8, i64 0} @@ -552,7 +552,7 @@ fn Four() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Copy.0459c72f2d146eb1.Core:Copy.Cpp"(ptr sret([4 x i8]) %return, ptr %self) #2 !dbg !22 { +// CHECK:STDOUT: define void @"_COp:thunk:Copy.a9063bcbb8997555.Core:Copy.Cpp"(ptr sret([4 x i8]) %return, ptr %self) #2 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN4CopyC1ERKS_.carbon_thunk._(ptr %self, ptr %return), !dbg !26 // CHECK:STDOUT: ret void, !dbg !26 @@ -595,7 +595,7 @@ fn Four() { // CHECK:STDOUT: !19 = !{!20, !20, i64 0} // CHECK:STDOUT: !20 = !{!"p1 _ZTS4Copy", !21, i64 0} // CHECK:STDOUT: !21 = !{!"any pointer", !9, i64 0} -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Copy.0459c72f2d146eb1.Core:Copy.Cpp", scope: null, file: !23, line: 5, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !24) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Copy.a9063bcbb8997555.Core:Copy.Cpp", scope: null, file: !23, line: 5, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !24) // CHECK:STDOUT: !23 = !DIFile(filename: "./copy.h", directory: "") // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !22, type: !14) diff --git a/toolchain/lower/testdata/interop/cpp/function_decl.carbon b/toolchain/lower/testdata/interop/cpp/function_decl.carbon index d2eb74fd8586..b4a83a2d1364 100644 --- a/toolchain/lower/testdata/interop/cpp/function_decl.carbon +++ b/toolchain/lower/testdata/interop/cpp/function_decl.carbon @@ -396,7 +396,7 @@ fn MyF() -> i32 { // CHECK:STDOUT: %SimpleReturnValue.call = call i32 @_Z17SimpleReturnValueii(i32 3, i32 4), !dbg !22 // CHECK:STDOUT: store i32 %SimpleReturnValue.call, ptr %value.var, align 4, !dbg !23 // CHECK:STDOUT: %.loc14 = load i32, ptr %value.var, align 4, !dbg !24 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %value.var), !dbg !15 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %value.var), !dbg !15 // CHECK:STDOUT: ret i32 %.loc14, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -439,7 +439,7 @@ fn MyF() -> i32 { // CHECK:STDOUT: declare noundef i32 @_Z17SimpleReturnValueii(i32 noundef, i32 noundef) #2 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } @@ -486,7 +486,7 @@ fn MyF() -> i32 { // CHECK:STDOUT: !23 = !DILocation(line: 13, column: 3, scope: !11) // CHECK:STDOUT: !24 = !DILocation(line: 14, column: 10, scope: !11) // CHECK:STDOUT: !25 = !DILocation(line: 14, column: 3, scope: !11) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !6, line: 11, type: !27, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !29) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !6, line: 11, type: !27, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !29) // CHECK:STDOUT: !27 = !DISubroutineType(types: !28) // CHECK:STDOUT: !28 = !{null, !14} // CHECK:STDOUT: !29 = !{!30} diff --git a/toolchain/lower/testdata/interop/cpp/import_inline.carbon b/toolchain/lower/testdata/interop/cpp/import_inline.carbon index 538aa7fa694e..e4c35c17f79f 100644 --- a/toolchain/lower/testdata/interop/cpp/import_inline.carbon +++ b/toolchain/lower/testdata/interop/cpp/import_inline.carbon @@ -47,12 +47,12 @@ fn Call() -> i32 { // CHECK:STDOUT: store i32 0, ptr %n.var, align 4, !dbg !18 // CHECK:STDOUT: call void @_Z1FPi(ptr %n.var), !dbg !19 // CHECK:STDOUT: %.loc24 = load i32, ptr %n.var, align 4, !dbg !20 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !18 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !18 // CHECK:STDOUT: ret i32 %.loc24, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #1 !dbg !22 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #1 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } @@ -90,7 +90,7 @@ fn Call() -> i32 { // CHECK:STDOUT: !19 = !DILocation(line: 23, column: 3, scope: !14) // CHECK:STDOUT: !20 = !DILocation(line: 24, column: 10, scope: !14) // CHECK:STDOUT: !21 = !DILocation(line: 24, column: 3, scope: !14) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !6, line: 22, type: !23, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !25) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !6, line: 22, type: !23, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !25) // CHECK:STDOUT: !23 = !DISubroutineType(types: !24) // CHECK:STDOUT: !24 = !{null, !17} // CHECK:STDOUT: !25 = !{!26} diff --git a/toolchain/lower/testdata/interop/cpp/method.carbon b/toolchain/lower/testdata/interop/cpp/method.carbon index f654390cfa5a..e30e92e0b9bc 100644 --- a/toolchain/lower/testdata/interop/cpp/method.carbon +++ b/toolchain/lower/testdata/interop/cpp/method.carbon @@ -291,7 +291,7 @@ fn F(ref r: Cpp.A) { // CHECK:STDOUT: // CHECK:STDOUT: %struct.NeedThunk = type { i8 } // CHECK:STDOUT: -// CHECK:STDOUT: @int_1.9eb = internal constant i8 1 +// CHECK:STDOUT: @int_1.b30 = internal constant i8 1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CCall.Main(ptr %n) #0 !dbg !11 { @@ -299,11 +299,11 @@ fn F(ref r: Cpp.A) { // CHECK:STDOUT: %.loc7_14.3.temp = alloca i8, align 1, !dbg !17 // CHECK:STDOUT: %.loc8_14.3.temp = alloca i8, align 1, !dbg !18 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_14.3.temp), !dbg !17 -// CHECK:STDOUT: call void @_ZNK9NeedThunk8ImplicitEa.carbon_thunk.__(ptr %n, ptr @int_1.9eb), !dbg !19 +// CHECK:STDOUT: call void @_ZNK9NeedThunk8ImplicitEa.carbon_thunk.__(ptr %n, ptr @int_1.b30), !dbg !19 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc8_14.3.temp), !dbg !18 -// CHECK:STDOUT: call void @_ZNH9NeedThunk8ExplicitES_a.carbon_thunk.__(ptr %n, ptr @int_1.9eb), !dbg !20 -// CHECK:STDOUT: call void @"_COp.4bf3b2f84a23e67d:core.Destroy.Core"(ptr @int_1.9eb), !dbg !18 -// CHECK:STDOUT: call void @"_COp.4bf3b2f84a23e67d:core.Destroy.Core"(ptr @int_1.9eb), !dbg !17 +// CHECK:STDOUT: call void @_ZNH9NeedThunk8ExplicitES_a.carbon_thunk.__(ptr %n, ptr @int_1.b30), !dbg !20 +// CHECK:STDOUT: call void @"_COp.57082aeb2e97180b:core.Destroy.Core"(ptr @int_1.b30), !dbg !18 +// CHECK:STDOUT: call void @"_COp.57082aeb2e97180b:core.Destroy.Core"(ptr @int_1.b30), !dbg !17 // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -337,7 +337,7 @@ fn F(ref r: Cpp.A) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.4bf3b2f84a23e67d:core.Destroy.Core"(ptr %self) #0 !dbg !29 { +// CHECK:STDOUT: define weak_odr void @"_COp.57082aeb2e97180b:core.Destroy.Core"(ptr %self) #0 !dbg !29 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !35 // CHECK:STDOUT: } @@ -350,7 +350,7 @@ fn F(ref r: Cpp.A) { // CHECK:STDOUT: declare void @_ZNH9NeedThunk8ExplicitES_a(i8 noundef signext) #3 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.4bf3b2f84a23e67d:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.57082aeb2e97180b:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -391,7 +391,7 @@ fn F(ref r: Cpp.A) { // CHECK:STDOUT: !26 = !{!"p1 omnipotent char", !24, i64 0} // CHECK:STDOUT: !27 = !{} // CHECK:STDOUT: !28 = !{!9, !9, i64 0} -// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4bf3b2f84a23e67d:core.Destroy.Core", scope: null, file: !6, line: 8, type: !30, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !33) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.57082aeb2e97180b:core.Destroy.Core", scope: null, file: !6, line: 8, type: !30, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !33) // CHECK:STDOUT: !30 = !DISubroutineType(types: !31) // CHECK:STDOUT: !31 = !{null, !32} // CHECK:STDOUT: !32 = !DIBasicType(name: "int", size: 8, encoding: DW_ATE_signed) diff --git a/toolchain/lower/testdata/interop/cpp/nullptr.carbon b/toolchain/lower/testdata/interop/cpp/nullptr.carbon index 6fc0b4f60a75..042a0f6822ce 100644 --- a/toolchain/lower/testdata/interop/cpp/nullptr.carbon +++ b/toolchain/lower/testdata/interop/cpp/nullptr.carbon @@ -59,7 +59,7 @@ fn ConvertNullptrConstant() -> Core.Optional(i32*) { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc12_18.2.temp = alloca ptr, align 8, !dbg !14 // CHECK:STDOUT: %.loc14_22.1.temp = alloca ptr, align 8, !dbg !15 -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.NullptrT.CppCompat.Core:ImplicitAs.81d410b2b3e24a5f.Core.c8fd090a2e741f70"(ptr poison), !dbg !14 +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.NullptrT.CppCompat.Core:ImplicitAs.2a40ba20f337efc9.Core.5e5386123d4b6287"(ptr poison), !dbg !14 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc12_18.2.temp), !dbg !14 // CHECK:STDOUT: store ptr %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call, ptr %.loc12_18.2.temp, align 8, !dbg !14 // CHECK:STDOUT: %.loc12_18.4 = load ptr, ptr %.loc12_18.2.temp, align 8, !dbg !14 @@ -68,8 +68,8 @@ fn ConvertNullptrConstant() -> Core.Optional(i32*) { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc14_22.1.temp), !dbg !15 // CHECK:STDOUT: store ptr %Cpp.nullptr_t.as.Copy.impl.Op.call, ptr %.loc14_22.1.temp, align 8, !dbg !15 // CHECK:STDOUT: call void @_Z11TakeNullptrDn.carbon_thunk._(ptr %.loc14_22.1.temp), !dbg !17 -// CHECK:STDOUT: call void @"_COp.5f1c33499946866e:core.Destroy.Core"(ptr %.loc14_22.1.temp), !dbg !15 -// CHECK:STDOUT: call void @"_COp.279edcb111a25fff:core.Destroy.Core"(ptr %.loc12_18.2.temp), !dbg !14 +// CHECK:STDOUT: call void @"_COp.daac099ab8e55c4a:core.Destroy.Core"(ptr %.loc14_22.1.temp), !dbg !15 +// CHECK:STDOUT: call void @"_COp.af734bd7f390a6ac:core.Destroy.Core"(ptr %.loc12_18.2.temp), !dbg !14 // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -88,19 +88,19 @@ fn ConvertNullptrConstant() -> Core.Optional(i32*) { // CHECK:STDOUT: declare ptr @"_COp.NullptrT.CppCompat.Core:Copy.Core"(ptr) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.5f1c33499946866e:core.Destroy.Core"(ptr %self) #0 !dbg !22 { +// CHECK:STDOUT: define weak_odr void @"_COp.daac099ab8e55c4a:core.Destroy.Core"(ptr %self) #0 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.3fe7740c8ce31fb1:core.Destroy.Core"(ptr %self) #0 !dbg !29 { +// CHECK:STDOUT: define weak_odr void @"_COp.1d217782bf2cd2d8:core.Destroy.Core"(ptr %self) #0 !dbg !29 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !32 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.279edcb111a25fff:core.Destroy.Core"(ptr %self) #0 !dbg !33 { +// CHECK:STDOUT: define weak_odr void @"_COp.af734bd7f390a6ac:core.Destroy.Core"(ptr %self) #0 !dbg !33 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } @@ -121,7 +121,7 @@ fn ConvertNullptrConstant() -> Core.Optional(i32*) { // CHECK:STDOUT: store ptr %Cpp.nullptr_t.as.Copy.impl.Op.call.loc22, ptr %a.var, align 8, !dbg !43 // CHECK:STDOUT: %.loc23 = load ptr, ptr %a.var, align 8, !dbg !45 // CHECK:STDOUT: %Cpp.nullptr_t.as.Copy.impl.Op.call.loc23 = call ptr @"_COp.NullptrT.CppCompat.Core:Copy.Core"(ptr %.loc23), !dbg !45 -// CHECK:STDOUT: call void @"_COp.5f1c33499946866e:core.Destroy.Core"(ptr %a.var), !dbg !43 +// CHECK:STDOUT: call void @"_COp.daac099ab8e55c4a:core.Destroy.Core"(ptr %a.var), !dbg !43 // CHECK:STDOUT: ret ptr %Cpp.nullptr_t.as.Copy.impl.Op.call.loc23, !dbg !46 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -132,8 +132,8 @@ fn ConvertNullptrConstant() -> Core.Optional(i32*) { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %a.var), !dbg !48 // CHECK:STDOUT: call void @_Z13ReturnNullptrv.carbon_thunk.(ptr %a.var), !dbg !49 // CHECK:STDOUT: %.loc28_10 = load ptr, ptr %a.var, align 8, !dbg !50 -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.NullptrT.CppCompat.Core:ImplicitAs.81d410b2b3e24a5f.Core.c8fd090a2e741f70"(ptr %.loc28_10), !dbg !51 -// CHECK:STDOUT: call void @"_COp.5f1c33499946866e:core.Destroy.Core"(ptr %a.var), !dbg !48 +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.NullptrT.CppCompat.Core:ImplicitAs.2a40ba20f337efc9.Core.5e5386123d4b6287"(ptr %.loc28_10), !dbg !51 +// CHECK:STDOUT: call void @"_COp.daac099ab8e55c4a:core.Destroy.Core"(ptr %a.var), !dbg !48 // CHECK:STDOUT: ret ptr %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call, !dbg !51 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -155,21 +155,21 @@ fn ConvertNullptrConstant() -> Core.Optional(i32*) { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc32_28.1.temp), !dbg !55 // CHECK:STDOUT: call void @_Z13ReturnNullptrv.carbon_thunk.(ptr %.loc32_28.1.temp), !dbg !55 // CHECK:STDOUT: %.loc32_28.4 = load ptr, ptr %.loc32_28.1.temp, align 8, !dbg !55 -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.NullptrT.CppCompat.Core:ImplicitAs.81d410b2b3e24a5f.Core.c8fd090a2e741f70"(ptr %.loc32_28.4), !dbg !56 -// CHECK:STDOUT: call void @"_COp.5f1c33499946866e:core.Destroy.Core"(ptr %.loc32_28.1.temp), !dbg !55 +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.NullptrT.CppCompat.Core:ImplicitAs.2a40ba20f337efc9.Core.5e5386123d4b6287"(ptr %.loc32_28.4), !dbg !56 +// CHECK:STDOUT: call void @"_COp.daac099ab8e55c4a:core.Destroy.Core"(ptr %.loc32_28.1.temp), !dbg !55 // CHECK:STDOUT: ret ptr %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call, !dbg !56 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define ptr @_CConvertNullptrConstant.Main() #0 !dbg !57 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.NullptrT.CppCompat.Core:ImplicitAs.81d410b2b3e24a5f.Core.c8fd090a2e741f70"(ptr poison), !dbg !58 +// CHECK:STDOUT: %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.NullptrT.CppCompat.Core:ImplicitAs.2a40ba20f337efc9.Core.5e5386123d4b6287"(ptr poison), !dbg !58 // CHECK:STDOUT: ret ptr %Cpp.nullptr_t.as.ImplicitAs.impl.Convert.call, !dbg !58 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.NullptrT.CppCompat.Core:ImplicitAs.81d410b2b3e24a5f.Core.c8fd090a2e741f70"(ptr %self) #0 !dbg !59 { -// CHECK:STDOUT: %1 = call ptr @_CNone.Optional.Core.d4ae172f3a62937b(), !dbg !65 +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.NullptrT.CppCompat.Core:ImplicitAs.2a40ba20f337efc9.Core.5e5386123d4b6287"(ptr %self) #0 !dbg !59 { +// CHECK:STDOUT: %1 = call ptr @_CNone.Optional.Core.8271477eb7e40d10(), !dbg !65 // CHECK:STDOUT: ret ptr %1, !dbg !66 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -179,7 +179,7 @@ fn ConvertNullptrConstant() -> Core.Optional(i32*) { // CHECK:STDOUT: declare ptr @_CMake.NullptrT.CppCompat.Core() // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CNone.Optional.Core.d4ae172f3a62937b() #0 !dbg !67 { +// CHECK:STDOUT: define linkonce_odr ptr @_CNone.Optional.Core.8271477eb7e40d10() #0 !dbg !67 { // CHECK:STDOUT: ret ptr null, !dbg !69 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -188,7 +188,7 @@ fn ConvertNullptrConstant() -> Core.Optional(i32*) { // CHECK:STDOUT: declare ptr @_Z13ReturnNullptrv() #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_CConvert.NullptrT.CppCompat.Core:ImplicitAs.81d410b2b3e24a5f.Core.c8fd090a2e741f70", { 3, 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_CConvert.NullptrT.CppCompat.Core:ImplicitAs.2a40ba20f337efc9.Core.5e5386123d4b6287", { 3, 2, 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 4, 3, 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -222,18 +222,18 @@ fn ConvertNullptrConstant() -> Core.Optional(i32*) { // CHECK:STDOUT: !19 = !{!20, !20, i64 0} // CHECK:STDOUT: !20 = !{!"p1 std::nullptr_t", !21, i64 0} // CHECK:STDOUT: !21 = !{!"any pointer", !9, i64 0} -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5f1c33499946866e:core.Destroy.Core", scope: null, file: !6, line: 14, type: !23, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !26) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.daac099ab8e55c4a:core.Destroy.Core", scope: null, file: !6, line: 14, type: !23, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !26) // CHECK:STDOUT: !23 = !DISubroutineType(types: !24) // CHECK:STDOUT: !24 = !{null, !25} // CHECK:STDOUT: !25 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !22, type: !25) // CHECK:STDOUT: !28 = !DILocation(line: 14, column: 19, scope: !22) -// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.3fe7740c8ce31fb1:core.Destroy.Core", scope: null, file: !6, line: 12, type: !23, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !30) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1d217782bf2cd2d8:core.Destroy.Core", scope: null, file: !6, line: 12, type: !23, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !30) // CHECK:STDOUT: !30 = !{!31} // CHECK:STDOUT: !31 = !DILocalVariable(arg: 1, scope: !29, type: !25) // CHECK:STDOUT: !32 = !DILocation(line: 12, column: 15, scope: !29) -// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "Op", linkageName: "_COp.279edcb111a25fff:core.Destroy.Core", scope: null, file: !6, line: 12, type: !23, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !34) +// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "Op", linkageName: "_COp.af734bd7f390a6ac:core.Destroy.Core", scope: null, file: !6, line: 12, type: !23, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !34) // CHECK:STDOUT: !34 = !{!35} // CHECK:STDOUT: !35 = !DILocalVariable(arg: 1, scope: !33, type: !25) // CHECK:STDOUT: !36 = !DILocation(line: 12, column: 15, scope: !33) @@ -259,7 +259,7 @@ fn ConvertNullptrConstant() -> Core.Optional(i32*) { // CHECK:STDOUT: !56 = !DILocation(line: 32, column: 3, scope: !54) // CHECK:STDOUT: !57 = distinct !DISubprogram(name: "ConvertNullptrConstant", linkageName: "_CConvertNullptrConstant.Main", scope: null, file: !6, line: 35, type: !38, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !58 = !DILocation(line: 36, column: 3, scope: !57) -// CHECK:STDOUT: !59 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.NullptrT.CppCompat.Core:ImplicitAs.81d410b2b3e24a5f.Core.c8fd090a2e741f70", scope: null, file: !60, line: 51, type: !61, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !63) +// CHECK:STDOUT: !59 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.NullptrT.CppCompat.Core:ImplicitAs.2a40ba20f337efc9.Core.5e5386123d4b6287", scope: null, file: !60, line: 51, type: !61, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !63) // CHECK:STDOUT: !60 = !DIFile(filename: "{{.*}}/prelude/types/cpp/nullptr.carbon", directory: "") // CHECK:STDOUT: !61 = !DISubroutineType(types: !62) // CHECK:STDOUT: !62 = !{!25, !25} @@ -267,6 +267,6 @@ fn ConvertNullptrConstant() -> Core.Optional(i32*) { // CHECK:STDOUT: !64 = !DILocalVariable(arg: 1, scope: !59, type: !25) // CHECK:STDOUT: !65 = !DILocation(line: 52, column: 14, scope: !59) // CHECK:STDOUT: !66 = !DILocation(line: 52, column: 7, scope: !59) -// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.d4ae172f3a62937b", scope: null, file: !68, line: 30, type: !38, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.8271477eb7e40d10", scope: null, file: !68, line: 30, type: !38, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !68 = !DIFile(filename: "{{.*}}/prelude/types/optional.carbon", directory: "") // CHECK:STDOUT: !69 = !DILocation(line: 31, column: 5, scope: !67) diff --git a/toolchain/lower/testdata/interop/cpp/operators.carbon b/toolchain/lower/testdata/interop/cpp/operators.carbon index b41658359843..dd5850a52147 100644 --- a/toolchain/lower/testdata/interop/cpp/operators.carbon +++ b/toolchain/lower/testdata/interop/cpp/operators.carbon @@ -88,7 +88,7 @@ fn Driver(x: Cpp.A, y: Cpp.A) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CDriver.Main(ptr %x, ptr %y) #0 !dbg !11 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CCheckEqWith.Main.04aa760156d52229(ptr %x, ptr %y), !dbg !18 +// CHECK:STDOUT: call void @_CCheckEqWith.Main.6ab761e2a9b48074(ptr %x, ptr %y), !dbg !18 // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -145,7 +145,7 @@ fn Driver(x: Cpp.A, y: Cpp.A) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define i1 @"_CEqual:thunk:EqWith.179c7169d26a9459.Core:Cpp"(ptr %self, ptr %other) #2 !dbg !28 { +// CHECK:STDOUT: define i1 @"_CEqual:thunk:EqWith.f7e9d96179555419.Core:Cpp"(ptr %self, ptr %other) #2 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.3.temp = alloca i1, align 1, !dbg !34 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.3.temp), !dbg !34 @@ -155,7 +155,7 @@ fn Driver(x: Cpp.A, y: Cpp.A) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define i1 @"_CNotEqual:thunk:EqWith.179c7169d26a9459.Core:Cpp"(ptr %self, ptr %other) #2 !dbg !35 { +// CHECK:STDOUT: define i1 @"_CNotEqual:thunk:EqWith.f7e9d96179555419.Core:Cpp"(ptr %self, ptr %other) #2 !dbg !35 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.3.temp = alloca i1, align 1, !dbg !39 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.3.temp), !dbg !39 @@ -165,10 +165,10 @@ fn Driver(x: Cpp.A, y: Cpp.A) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CCheckEqWith.Main.04aa760156d52229(ptr %x, ptr %y) #0 !dbg !40 { +// CHECK:STDOUT: define linkonce_odr void @_CCheckEqWith.Main.6ab761e2a9b48074(ptr %x, ptr %y) #0 !dbg !40 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %EqWith.WithSelf.Equal.call = call i1 @"_CEqual:thunk:EqWith.179c7169d26a9459.Core:Cpp"(ptr %x, ptr %y), !dbg !44 -// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.call = call i1 @"_CNotEqual:thunk:EqWith.179c7169d26a9459.Core:Cpp"(ptr %x, ptr %y), !dbg !45 +// CHECK:STDOUT: %EqWith.WithSelf.Equal.call = call i1 @"_CEqual:thunk:EqWith.f7e9d96179555419.Core:Cpp"(ptr %x, ptr %y), !dbg !44 +// CHECK:STDOUT: %EqWith.WithSelf.NotEqual.call = call i1 @"_CNotEqual:thunk:EqWith.f7e9d96179555419.Core:Cpp"(ptr %x, ptr %y), !dbg !45 // CHECK:STDOUT: ret void, !dbg !46 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -259,19 +259,19 @@ fn Driver(x: Cpp.A, y: Cpp.A) { // CHECK:STDOUT: !25 = !{i64 0, i64 4, !7} // CHECK:STDOUT: !26 = !{!27, !27, i64 0} // CHECK:STDOUT: !27 = !{!"bool", !9, i64 0} -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Equal", linkageName: "_CEqual:thunk:EqWith.179c7169d26a9459.Core:Cpp", scope: null, file: !6, line: 8, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !31) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Equal", linkageName: "_CEqual:thunk:EqWith.f7e9d96179555419.Core:Cpp", scope: null, file: !6, line: 8, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !31) // CHECK:STDOUT: !29 = !DISubroutineType(types: !30) // CHECK:STDOUT: !30 = !{!14, !14, !14} // CHECK:STDOUT: !31 = !{!32, !33} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !28, type: !14) // CHECK:STDOUT: !33 = !DILocalVariable(arg: 2, scope: !28, type: !14) // CHECK:STDOUT: !34 = !DILocation(line: 8, column: 15, scope: !28) -// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "NotEqual", linkageName: "_CNotEqual:thunk:EqWith.179c7169d26a9459.Core:Cpp", scope: null, file: !6, line: 12, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !36) +// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "NotEqual", linkageName: "_CNotEqual:thunk:EqWith.f7e9d96179555419.Core:Cpp", scope: null, file: !6, line: 12, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !36) // CHECK:STDOUT: !36 = !{!37, !38} // CHECK:STDOUT: !37 = !DILocalVariable(arg: 1, scope: !35, type: !14) // CHECK:STDOUT: !38 = !DILocalVariable(arg: 2, scope: !35, type: !14) // CHECK:STDOUT: !39 = !DILocation(line: 12, column: 15, scope: !35) -// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "CheckEqWith", linkageName: "_CCheckEqWith.Main.04aa760156d52229", scope: null, file: !6, line: 18, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !41) +// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "CheckEqWith", linkageName: "_CCheckEqWith.Main.6ab761e2a9b48074", scope: null, file: !6, line: 18, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !41) // CHECK:STDOUT: !41 = !{!42, !43} // CHECK:STDOUT: !42 = !DILocalVariable(arg: 1, scope: !40, type: !14) // CHECK:STDOUT: !43 = !DILocalVariable(arg: 2, scope: !40, type: !14) @@ -298,7 +298,7 @@ fn Driver(x: Cpp.A, y: Cpp.A) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CDriver.Main(ptr %x, ptr %y) #0 !dbg !11 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CCheckOrderedWith.Main.9c69d70a853113d6(ptr %x, ptr %y), !dbg !18 +// CHECK:STDOUT: call void @_CCheckOrderedWith.Main.0f985f7a29cc1248(ptr %x, ptr %y), !dbg !18 // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -407,7 +407,7 @@ fn Driver(x: Cpp.A, y: Cpp.A) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define i1 @"_CLess:thunk:OrderedWith.081cd53d46d5db04.Core:Cpp"(ptr %self, ptr %other) #2 !dbg !28 { +// CHECK:STDOUT: define i1 @"_CLess:thunk:OrderedWith.18a9b63c26b058c9.Core:Cpp"(ptr %self, ptr %other) #2 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.3.temp = alloca i1, align 1, !dbg !34 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.3.temp), !dbg !34 @@ -417,7 +417,7 @@ fn Driver(x: Cpp.A, y: Cpp.A) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define i1 @"_CLessOrEquivalent:thunk:OrderedWith.081cd53d46d5db04.Core:Cpp"(ptr %self, ptr %other) #2 !dbg !35 { +// CHECK:STDOUT: define i1 @"_CLessOrEquivalent:thunk:OrderedWith.18a9b63c26b058c9.Core:Cpp"(ptr %self, ptr %other) #2 !dbg !35 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.3.temp = alloca i1, align 1, !dbg !39 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.3.temp), !dbg !39 @@ -427,7 +427,7 @@ fn Driver(x: Cpp.A, y: Cpp.A) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define i1 @"_CGreater:thunk:OrderedWith.081cd53d46d5db04.Core:Cpp"(ptr %self, ptr %other) #2 !dbg !40 { +// CHECK:STDOUT: define i1 @"_CGreater:thunk:OrderedWith.18a9b63c26b058c9.Core:Cpp"(ptr %self, ptr %other) #2 !dbg !40 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.3.temp = alloca i1, align 1, !dbg !44 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.3.temp), !dbg !44 @@ -437,7 +437,7 @@ fn Driver(x: Cpp.A, y: Cpp.A) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define i1 @"_CGreaterOrEquivalent:thunk:OrderedWith.081cd53d46d5db04.Core:Cpp"(ptr %self, ptr %other) #2 !dbg !45 { +// CHECK:STDOUT: define i1 @"_CGreaterOrEquivalent:thunk:OrderedWith.18a9b63c26b058c9.Core:Cpp"(ptr %self, ptr %other) #2 !dbg !45 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.3.temp = alloca i1, align 1, !dbg !49 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.3.temp), !dbg !49 @@ -447,12 +447,12 @@ fn Driver(x: Cpp.A, y: Cpp.A) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CCheckOrderedWith.Main.9c69d70a853113d6(ptr %x, ptr %y) #0 !dbg !50 { +// CHECK:STDOUT: define linkonce_odr void @_CCheckOrderedWith.Main.0f985f7a29cc1248(ptr %x, ptr %y) #0 !dbg !50 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %OrderedWith.WithSelf.Less.call = call i1 @"_CLess:thunk:OrderedWith.081cd53d46d5db04.Core:Cpp"(ptr %x, ptr %y), !dbg !54 -// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.call = call i1 @"_CGreater:thunk:OrderedWith.081cd53d46d5db04.Core:Cpp"(ptr %x, ptr %y), !dbg !55 -// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.call = call i1 @"_CLessOrEquivalent:thunk:OrderedWith.081cd53d46d5db04.Core:Cpp"(ptr %x, ptr %y), !dbg !56 -// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.call = call i1 @"_CGreaterOrEquivalent:thunk:OrderedWith.081cd53d46d5db04.Core:Cpp"(ptr %x, ptr %y), !dbg !57 +// CHECK:STDOUT: %OrderedWith.WithSelf.Less.call = call i1 @"_CLess:thunk:OrderedWith.18a9b63c26b058c9.Core:Cpp"(ptr %x, ptr %y), !dbg !54 +// CHECK:STDOUT: %OrderedWith.WithSelf.Greater.call = call i1 @"_CGreater:thunk:OrderedWith.18a9b63c26b058c9.Core:Cpp"(ptr %x, ptr %y), !dbg !55 +// CHECK:STDOUT: %OrderedWith.WithSelf.LessOrEquivalent.call = call i1 @"_CLessOrEquivalent:thunk:OrderedWith.18a9b63c26b058c9.Core:Cpp"(ptr %x, ptr %y), !dbg !56 +// CHECK:STDOUT: %OrderedWith.WithSelf.GreaterOrEquivalent.call = call i1 @"_CGreaterOrEquivalent:thunk:OrderedWith.18a9b63c26b058c9.Core:Cpp"(ptr %x, ptr %y), !dbg !57 // CHECK:STDOUT: ret void, !dbg !58 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -586,29 +586,29 @@ fn Driver(x: Cpp.A, y: Cpp.A) { // CHECK:STDOUT: !25 = !{i64 0, i64 4, !7} // CHECK:STDOUT: !26 = !{!27, !27, i64 0} // CHECK:STDOUT: !27 = !{!"bool", !9, i64 0} -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Less", linkageName: "_CLess:thunk:OrderedWith.081cd53d46d5db04.Core:Cpp", scope: null, file: !6, line: 8, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !31) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Less", linkageName: "_CLess:thunk:OrderedWith.18a9b63c26b058c9.Core:Cpp", scope: null, file: !6, line: 8, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !31) // CHECK:STDOUT: !29 = !DISubroutineType(types: !30) // CHECK:STDOUT: !30 = !{!14, !14, !14} // CHECK:STDOUT: !31 = !{!32, !33} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !28, type: !14) // CHECK:STDOUT: !33 = !DILocalVariable(arg: 2, scope: !28, type: !14) // CHECK:STDOUT: !34 = !DILocation(line: 8, column: 15, scope: !28) -// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "LessOrEquivalent", linkageName: "_CLessOrEquivalent:thunk:OrderedWith.081cd53d46d5db04.Core:Cpp", scope: null, file: !6, line: 16, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !36) +// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "LessOrEquivalent", linkageName: "_CLessOrEquivalent:thunk:OrderedWith.18a9b63c26b058c9.Core:Cpp", scope: null, file: !6, line: 16, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !36) // CHECK:STDOUT: !36 = !{!37, !38} // CHECK:STDOUT: !37 = !DILocalVariable(arg: 1, scope: !35, type: !14) // CHECK:STDOUT: !38 = !DILocalVariable(arg: 2, scope: !35, type: !14) // CHECK:STDOUT: !39 = !DILocation(line: 16, column: 15, scope: !35) -// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Greater", linkageName: "_CGreater:thunk:OrderedWith.081cd53d46d5db04.Core:Cpp", scope: null, file: !6, line: 12, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !41) +// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Greater", linkageName: "_CGreater:thunk:OrderedWith.18a9b63c26b058c9.Core:Cpp", scope: null, file: !6, line: 12, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !41) // CHECK:STDOUT: !41 = !{!42, !43} // CHECK:STDOUT: !42 = !DILocalVariable(arg: 1, scope: !40, type: !14) // CHECK:STDOUT: !43 = !DILocalVariable(arg: 2, scope: !40, type: !14) // CHECK:STDOUT: !44 = !DILocation(line: 12, column: 15, scope: !40) -// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "GreaterOrEquivalent", linkageName: "_CGreaterOrEquivalent:thunk:OrderedWith.081cd53d46d5db04.Core:Cpp", scope: null, file: !6, line: 20, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !46) +// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "GreaterOrEquivalent", linkageName: "_CGreaterOrEquivalent:thunk:OrderedWith.18a9b63c26b058c9.Core:Cpp", scope: null, file: !6, line: 20, type: !29, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !46) // CHECK:STDOUT: !46 = !{!47, !48} // CHECK:STDOUT: !47 = !DILocalVariable(arg: 1, scope: !45, type: !14) // CHECK:STDOUT: !48 = !DILocalVariable(arg: 2, scope: !45, type: !14) // CHECK:STDOUT: !49 = !DILocation(line: 20, column: 15, scope: !45) -// CHECK:STDOUT: !50 = distinct !DISubprogram(name: "CheckOrderedWith", linkageName: "_CCheckOrderedWith.Main.9c69d70a853113d6", scope: null, file: !6, line: 26, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !51) +// CHECK:STDOUT: !50 = distinct !DISubprogram(name: "CheckOrderedWith", linkageName: "_CCheckOrderedWith.Main.0f985f7a29cc1248", scope: null, file: !6, line: 26, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !51) // CHECK:STDOUT: !51 = !{!52, !53} // CHECK:STDOUT: !52 = !DILocalVariable(arg: 1, scope: !50, type: !14) // CHECK:STDOUT: !53 = !DILocalVariable(arg: 2, scope: !50, type: !14) diff --git a/toolchain/lower/testdata/interop/cpp/parameters.carbon b/toolchain/lower/testdata/interop/cpp/parameters.carbon index 67b05b6ac1e0..0bc855b49c8e 100644 --- a/toolchain/lower/testdata/interop/cpp/parameters.carbon +++ b/toolchain/lower/testdata/interop/cpp/parameters.carbon @@ -113,10 +113,10 @@ fn PassValueExpr(y: Cpp.Y) { // CHECK:STDOUT: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" // CHECK:STDOUT: target triple = "x86_64-unknown-linux-gnu" // CHECK:STDOUT: -// CHECK:STDOUT: @int_1.9eb = internal constant i8 1 -// CHECK:STDOUT: @int_2.470 = internal constant i16 2 -// CHECK:STDOUT: @int_1.5de = internal constant i8 1 -// CHECK:STDOUT: @int_2.787 = internal constant i16 2 +// CHECK:STDOUT: @int_1.b30 = internal constant i8 1 +// CHECK:STDOUT: @int_2.022 = internal constant i16 2 +// CHECK:STDOUT: @int_1.96a = internal constant i8 1 +// CHECK:STDOUT: @int_2.acb = internal constant i16 2 // CHECK:STDOUT: @_Cc.Main = global i16 0 // CHECK:STDOUT: @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 0, ptr @_C__global_init.Main, ptr null }] // CHECK:STDOUT: @@ -129,14 +129,14 @@ fn PassValueExpr(y: Cpp.Y) { // CHECK:STDOUT: %.loc9_24.3.temp = alloca i16, align 2, !dbg !17 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_19.3.temp), !dbg !14 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_22.3.temp), !dbg !15 -// CHECK:STDOUT: call void @_Z11pass_signedasil.carbon_thunk.____(ptr @int_1.9eb, ptr @int_2.470, i32 3, i64 4), !dbg !18 +// CHECK:STDOUT: call void @_Z11pass_signedasil.carbon_thunk.____(ptr @int_1.b30, ptr @int_2.022, i32 3, i64 4), !dbg !18 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc9_21.3.temp), !dbg !16 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc9_24.3.temp), !dbg !17 -// CHECK:STDOUT: call void @_Z13pass_unsignedhtjm.carbon_thunk.____(ptr @int_1.5de, ptr @int_2.787, i32 3, i64 4), !dbg !19 -// CHECK:STDOUT: call void @"_COp.4f41a08d65e2a5a3:core.Destroy.Core"(ptr @int_2.787), !dbg !17 -// CHECK:STDOUT: call void @"_COp.471bf32d53e15da8:core.Destroy.Core"(ptr @int_1.5de), !dbg !16 -// CHECK:STDOUT: call void @"_COp.7b4d46d56ede77d9:core.Destroy.Core"(ptr @int_2.470), !dbg !15 -// CHECK:STDOUT: call void @"_COp.4bf3b2f84a23e67d:core.Destroy.Core"(ptr @int_1.9eb), !dbg !14 +// CHECK:STDOUT: call void @_Z13pass_unsignedhtjm.carbon_thunk.____(ptr @int_1.96a, ptr @int_2.acb, i32 3, i64 4), !dbg !19 +// CHECK:STDOUT: call void @"_COp.05392eeae6591ae7:core.Destroy.Core"(ptr @int_2.acb), !dbg !17 +// CHECK:STDOUT: call void @"_COp.31853ecf8c1ccb9b:core.Destroy.Core"(ptr @int_1.96a), !dbg !16 +// CHECK:STDOUT: call void @"_COp.0166e16952428d48:core.Destroy.Core"(ptr @int_2.022), !dbg !15 +// CHECK:STDOUT: call void @"_COp.57082aeb2e97180b:core.Destroy.Core"(ptr @int_1.b30), !dbg !14 // CHECK:STDOUT: ret void, !dbg !20 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -183,25 +183,25 @@ fn PassValueExpr(y: Cpp.Y) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.4f41a08d65e2a5a3:core.Destroy.Core"(ptr %self) #0 !dbg !31 { +// CHECK:STDOUT: define weak_odr void @"_COp.05392eeae6591ae7:core.Destroy.Core"(ptr %self) #0 !dbg !31 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !37 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.471bf32d53e15da8:core.Destroy.Core"(ptr %self) #0 !dbg !38 { +// CHECK:STDOUT: define weak_odr void @"_COp.31853ecf8c1ccb9b:core.Destroy.Core"(ptr %self) #0 !dbg !38 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !44 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.7b4d46d56ede77d9:core.Destroy.Core"(ptr %self) #0 !dbg !45 { +// CHECK:STDOUT: define weak_odr void @"_COp.0166e16952428d48:core.Destroy.Core"(ptr %self) #0 !dbg !45 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !51 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.4bf3b2f84a23e67d:core.Destroy.Core"(ptr %self) #0 !dbg !52 { +// CHECK:STDOUT: define weak_odr void @"_COp.57082aeb2e97180b:core.Destroy.Core"(ptr %self) #0 !dbg !52 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !58 // CHECK:STDOUT: } @@ -230,10 +230,10 @@ fn PassValueExpr(y: Cpp.Y) { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc20_28.3.temp), !dbg !69 // CHECK:STDOUT: store i16 %MakeShort.call, ptr %.loc20_28.3.temp, align 2, !dbg !69 // CHECK:STDOUT: call void @_Z10pass_shorts.carbon_thunk._(ptr %.loc20_28.3.temp), !dbg !73 -// CHECK:STDOUT: call void @"_COp.7b4d46d56ede77d9:core.Destroy.Core"(ptr %.loc20_28.3.temp), !dbg !69 -// CHECK:STDOUT: call void @"_COp.7b4d46d56ede77d9:core.Destroy.Core"(ptr %.loc19_18.2.temp), !dbg !68 -// CHECK:STDOUT: call void @"_COp.7b4d46d56ede77d9:core.Destroy.Core"(ptr %.loc18_18.3.temp), !dbg !67 -// CHECK:STDOUT: call void @"_COp.7b4d46d56ede77d9:core.Destroy.Core"(ptr %.loc17_18.1.temp), !dbg !66 +// CHECK:STDOUT: call void @"_COp.0166e16952428d48:core.Destroy.Core"(ptr %.loc20_28.3.temp), !dbg !69 +// CHECK:STDOUT: call void @"_COp.0166e16952428d48:core.Destroy.Core"(ptr %.loc19_18.2.temp), !dbg !68 +// CHECK:STDOUT: call void @"_COp.0166e16952428d48:core.Destroy.Core"(ptr %.loc18_18.3.temp), !dbg !67 +// CHECK:STDOUT: call void @"_COp.0166e16952428d48:core.Destroy.Core"(ptr %.loc17_18.1.temp), !dbg !66 // CHECK:STDOUT: ret void, !dbg !74 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -308,28 +308,28 @@ fn PassValueExpr(y: Cpp.Y) { // CHECK:STDOUT: !28 = !{!9, !9, i64 0} // CHECK:STDOUT: !29 = !{!30, !30, i64 0} // CHECK:STDOUT: !30 = !{!"short", !9, i64 0} -// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4f41a08d65e2a5a3:core.Destroy.Core", scope: null, file: !6, line: 9, type: !32, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !35) +// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "Op", linkageName: "_COp.05392eeae6591ae7:core.Destroy.Core", scope: null, file: !6, line: 9, type: !32, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !35) // CHECK:STDOUT: !32 = !DISubroutineType(types: !33) // CHECK:STDOUT: !33 = !{null, !34} // CHECK:STDOUT: !34 = !DIBasicType(name: "int", size: 16, encoding: DW_ATE_unsigned) // CHECK:STDOUT: !35 = !{!36} // CHECK:STDOUT: !36 = !DILocalVariable(arg: 1, scope: !31, type: !34) // CHECK:STDOUT: !37 = !DILocation(line: 9, column: 24, scope: !31) -// CHECK:STDOUT: !38 = distinct !DISubprogram(name: "Op", linkageName: "_COp.471bf32d53e15da8:core.Destroy.Core", scope: null, file: !6, line: 9, type: !39, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !42) +// CHECK:STDOUT: !38 = distinct !DISubprogram(name: "Op", linkageName: "_COp.31853ecf8c1ccb9b:core.Destroy.Core", scope: null, file: !6, line: 9, type: !39, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !42) // CHECK:STDOUT: !39 = !DISubroutineType(types: !40) // CHECK:STDOUT: !40 = !{null, !41} // CHECK:STDOUT: !41 = !DIBasicType(name: "int", size: 8, encoding: DW_ATE_unsigned) // CHECK:STDOUT: !42 = !{!43} // CHECK:STDOUT: !43 = !DILocalVariable(arg: 1, scope: !38, type: !41) // CHECK:STDOUT: !44 = !DILocation(line: 9, column: 21, scope: !38) -// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.7b4d46d56ede77d9:core.Destroy.Core", scope: null, file: !6, line: 7, type: !46, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !49) +// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.0166e16952428d48:core.Destroy.Core", scope: null, file: !6, line: 7, type: !46, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !49) // CHECK:STDOUT: !46 = !DISubroutineType(types: !47) // CHECK:STDOUT: !47 = !{null, !48} // CHECK:STDOUT: !48 = !DIBasicType(name: "int", size: 16, encoding: DW_ATE_signed) // CHECK:STDOUT: !49 = !{!50} // CHECK:STDOUT: !50 = !DILocalVariable(arg: 1, scope: !45, type: !48) // CHECK:STDOUT: !51 = !DILocation(line: 7, column: 22, scope: !45) -// CHECK:STDOUT: !52 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4bf3b2f84a23e67d:core.Destroy.Core", scope: null, file: !6, line: 7, type: !53, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !56) +// CHECK:STDOUT: !52 = distinct !DISubprogram(name: "Op", linkageName: "_COp.57082aeb2e97180b:core.Destroy.Core", scope: null, file: !6, line: 7, type: !53, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !56) // CHECK:STDOUT: !53 = !DISubroutineType(types: !54) // CHECK:STDOUT: !54 = !{null, !55} // CHECK:STDOUT: !55 = !DIBasicType(name: "int", size: 8, encoding: DW_ATE_signed) @@ -367,7 +367,7 @@ fn PassValueExpr(y: Cpp.Y) { // CHECK:STDOUT: entry: // CHECK:STDOUT: %x.var = alloca [12 x i8], align 4, !dbg !14 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %x.var), !dbg !14 -// CHECK:STDOUT: call void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.1cc04ab0b0144e39"(ptr %x.var), !dbg !14 +// CHECK:STDOUT: call void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.2b54a6c79ab6fefb"(ptr %x.var), !dbg !14 // CHECK:STDOUT: %.loc8_4.a = getelementptr inbounds nuw [12 x i8], ptr %x.var, i32 0, i32 0, !dbg !15 // CHECK:STDOUT: store i32 1, ptr %.loc8_4.a, align 4, !dbg !15 // CHECK:STDOUT: %.loc9_4.b = getelementptr inbounds nuw [12 x i8], ptr %x.var, i32 0, i32 4, !dbg !16 @@ -388,7 +388,7 @@ fn PassValueExpr(y: Cpp.Y) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Default.73a6c13427a59137.Core:X.Cpp"(ptr sret([12 x i8]) %return) #2 !dbg !23 { +// CHECK:STDOUT: define void @"_COp:thunk:Default.ce6fb8e54042cd69.Core:X.Cpp"(ptr sret([12 x i8]) %return) #2 !dbg !23 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN1XC1Ev.carbon_thunk.(ptr %return), !dbg !28 // CHECK:STDOUT: ret void, !dbg !28 @@ -416,8 +416,8 @@ fn PassValueExpr(y: Cpp.Y) { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #4 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.1cc04ab0b0144e39"(ptr sret([12 x i8]) %return) #0 !dbg !30 { -// CHECK:STDOUT: call void @"_COp:thunk:Default.73a6c13427a59137.Core:X.Cpp"(ptr %return), !dbg !32 +// CHECK:STDOUT: define linkonce_odr void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.2b54a6c79ab6fefb"(ptr sret([12 x i8]) %return) #0 !dbg !30 { +// CHECK:STDOUT: call void @"_COp:thunk:Default.ce6fb8e54042cd69.Core:X.Cpp"(ptr %return), !dbg !32 // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -463,14 +463,14 @@ fn PassValueExpr(y: Cpp.Y) { // CHECK:STDOUT: !20 = !{!21, !21, i64 0} // CHECK:STDOUT: !21 = !{!"p1 _ZTS1X", !22, i64 0} // CHECK:STDOUT: !22 = !{!"any pointer", !9, i64 0} -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.73a6c13427a59137.Core:X.Cpp", scope: null, file: !24, line: 2, type: !25, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.ce6fb8e54042cd69.Core:X.Cpp", scope: null, file: !24, line: 2, type: !25, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !24 = !DIFile(filename: "./struct.h", directory: "") // CHECK:STDOUT: !25 = !DISubroutineType(types: !26) // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !28 = !DILocation(line: 2, column: 8, scope: !23) // CHECK:STDOUT: !29 = !{i64 0, i64 4, !7, i64 4, i64 4, !7, i64 8, i64 4, !7} -// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.1cc04ab0b0144e39", scope: null, file: !31, line: 9, type: !25, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.218d57fc466b073f:DefaultOrUnformed.Core.2b54a6c79ab6fefb", scope: null, file: !31, line: 9, type: !25, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !31 = !DIFile(filename: "min_prelude/parts/default.carbon", directory: "") // CHECK:STDOUT: !32 = !DILocation(line: 9, column: 28, scope: !30) // CHECK:STDOUT: !33 = !DILocation(line: 9, column: 21, scope: !30) diff --git a/toolchain/lower/testdata/interop/cpp/pointer.carbon b/toolchain/lower/testdata/interop/cpp/pointer.carbon index 3bf39f180a2e..95a033635124 100644 --- a/toolchain/lower/testdata/interop/cpp/pointer.carbon +++ b/toolchain/lower/testdata/interop/cpp/pointer.carbon @@ -218,25 +218,25 @@ fn Convert() { // CHECK:STDOUT: define void @_CPassNonnullPtr.Main(ptr %p) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc22_15.2.temp = alloca ptr, align 8, !dbg !21 -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.0579aac676f408fe"(ptr %p), !dbg !21 +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.4cfbb4dda981c144"(ptr %p), !dbg !21 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc22_15.2.temp), !dbg !21 // CHECK:STDOUT: store ptr %U.as_type.as.ImplicitAs.impl.Convert.call, ptr %.loc22_15.2.temp, align 8, !dbg !21 // CHECK:STDOUT: %.loc22_15.4 = load ptr, ptr %.loc22_15.2.temp, align 8, !dbg !21 // CHECK:STDOUT: call void @_Z7TakePtrP1C(ptr %.loc22_15.4), !dbg !22 -// CHECK:STDOUT: call void @"_COp.59c82335067daf18:core.Destroy.Core"(ptr %.loc22_15.2.temp), !dbg !21 +// CHECK:STDOUT: call void @"_COp.5bfd342192c37568:core.Destroy.Core"(ptr %.loc22_15.2.temp), !dbg !21 // CHECK:STDOUT: ret void, !dbg !23 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: declare void @_Z7TakePtrP1C(ptr noundef) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b8799b2262fcbb9d:core.Destroy.Core"(ptr %self) #0 !dbg !24 { +// CHECK:STDOUT: define weak_odr void @"_COp.e8eb5ed054c58d8b:core.Destroy.Core"(ptr %self) #0 !dbg !24 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.59c82335067daf18:core.Destroy.Core"(ptr %self) #0 !dbg !28 { +// CHECK:STDOUT: define weak_odr void @"_COp.5bfd342192c37568:core.Destroy.Core"(ptr %self) #0 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } @@ -260,12 +260,12 @@ fn Convert() { // CHECK:STDOUT: define void @_CPassNonnullPtrWithThunk.Main(ptr %p) #0 !dbg !41 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc35_24.2.temp = alloca ptr, align 8, !dbg !44 -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.0579aac676f408fe"(ptr %p), !dbg !44 +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.4cfbb4dda981c144"(ptr %p), !dbg !44 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc35_24.2.temp), !dbg !44 // CHECK:STDOUT: store ptr %U.as_type.as.ImplicitAs.impl.Convert.call, ptr %.loc35_24.2.temp, align 8, !dbg !44 // CHECK:STDOUT: %.loc35_24.4 = load ptr, ptr %.loc35_24.2.temp, align 8, !dbg !44 // CHECK:STDOUT: call void @_Z16TakePtrWithThunkP1Ci.carbon_thunk._(ptr %.loc35_24.4), !dbg !45 -// CHECK:STDOUT: call void @"_COp.59c82335067daf18:core.Destroy.Core"(ptr %.loc35_24.2.temp), !dbg !44 +// CHECK:STDOUT: call void @"_COp.5bfd342192c37568:core.Destroy.Core"(ptr %.loc35_24.2.temp), !dbg !44 // CHECK:STDOUT: ret void, !dbg !46 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -294,8 +294,8 @@ fn Convert() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.0579aac676f408fe"(ptr %self) #0 !dbg !53 { -// CHECK:STDOUT: %1 = call ptr @"_CConvert.ba9a17e320476215:OptionalAs.7eef99cd03a74de4.Core.3efe5bf9fcd5287c"(ptr %self), !dbg !59 +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.4cfbb4dda981c144"(ptr %self) #0 !dbg !53 { +// CHECK:STDOUT: %1 = call ptr @"_CConvert.a0c6f87edec590a2:OptionalAs.3a7c842b5a6bca51.Core.101bf8ddc20b47aa"(ptr %self), !dbg !59 // CHECK:STDOUT: ret ptr %1, !dbg !60 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -303,13 +303,13 @@ fn Convert() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #3 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.ba9a17e320476215:OptionalAs.7eef99cd03a74de4.Core.3efe5bf9fcd5287c"(ptr %self) #0 !dbg !61 { -// CHECK:STDOUT: %1 = call ptr @_CSome.Optional.Core.3efe5bf9fcd5287c(ptr %self), !dbg !64 +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.a0c6f87edec590a2:OptionalAs.3a7c842b5a6bca51.Core.101bf8ddc20b47aa"(ptr %self) #0 !dbg !61 { +// CHECK:STDOUT: %1 = call ptr @_CSome.Optional.Core.101bf8ddc20b47aa(ptr %self), !dbg !64 // CHECK:STDOUT: ret ptr %1, !dbg !65 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CSome.Optional.Core.3efe5bf9fcd5287c(ptr %value) #0 !dbg !66 { +// CHECK:STDOUT: define linkonce_odr ptr @_CSome.Optional.Core.101bf8ddc20b47aa(ptr %value) #0 !dbg !66 { // CHECK:STDOUT: %1 = call ptr @"_CSome.e8f8f92d3d08d149:OptionalStorage.Core.b88531aa40419bf2"(ptr %value), !dbg !69 // CHECK:STDOUT: ret ptr %1, !dbg !70 // CHECK:STDOUT: } @@ -321,7 +321,7 @@ fn Convert() { // CHECK:STDOUT: store ptr poison, ptr %1, align 8, !dbg !74 // CHECK:STDOUT: store ptr %self, ptr %1, align 8, !dbg !75 // CHECK:STDOUT: %2 = load ptr, ptr %1, align 8, !dbg !76 -// CHECK:STDOUT: call void @"_COp.b8799b2262fcbb9d:core.Destroy.Core"(ptr %1), !dbg !74 +// CHECK:STDOUT: call void @"_COp.e8eb5ed054c58d8b:core.Destroy.Core"(ptr %1), !dbg !74 // CHECK:STDOUT: ret ptr %2, !dbg !77 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -330,7 +330,7 @@ fn Convert() { // CHECK:STDOUT: declare noundef ptr @_Z18ReturnPtrWithThunki(i32 noundef) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.0579aac676f408fe", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.4cfbb4dda981c144", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 0, 2, 1 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -366,11 +366,11 @@ fn Convert() { // CHECK:STDOUT: !21 = !DILocation(line: 22, column: 15, scope: !18) // CHECK:STDOUT: !22 = !DILocation(line: 22, column: 3, scope: !18) // CHECK:STDOUT: !23 = !DILocation(line: 19, column: 1, scope: !18) -// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b8799b2262fcbb9d:core.Destroy.Core", scope: null, file: !6, line: 22, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !25) +// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e8eb5ed054c58d8b:core.Destroy.Core", scope: null, file: !6, line: 22, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !25) // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !24, type: !14) // CHECK:STDOUT: !27 = !DILocation(line: 22, column: 15, scope: !24) -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.59c82335067daf18:core.Destroy.Core", scope: null, file: !6, line: 22, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !29) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5bfd342192c37568:core.Destroy.Core", scope: null, file: !6, line: 22, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !29) // CHECK:STDOUT: !29 = !{!30} // CHECK:STDOUT: !30 = !DILocalVariable(arg: 1, scope: !28, type: !14) // CHECK:STDOUT: !31 = !DILocation(line: 22, column: 15, scope: !28) @@ -395,7 +395,7 @@ fn Convert() { // CHECK:STDOUT: !50 = distinct !DISubprogram(name: "ReturnPtrWithThunk", linkageName: "_CReturnPtrWithThunk.Main", scope: null, file: !6, line: 38, type: !33, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !51 = !DILocation(line: 39, column: 10, scope: !50) // CHECK:STDOUT: !52 = !DILocation(line: 39, column: 3, scope: !50) -// CHECK:STDOUT: !53 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.0579aac676f408fe", scope: null, file: !54, line: 105, type: !55, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !57) +// CHECK:STDOUT: !53 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.4cfbb4dda981c144", scope: null, file: !54, line: 105, type: !55, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !57) // CHECK:STDOUT: !54 = !DIFile(filename: "{{.*}}/prelude/types/optional.carbon", directory: "") // CHECK:STDOUT: !55 = !DISubroutineType(types: !56) // CHECK:STDOUT: !56 = !{!14, !14} @@ -403,12 +403,12 @@ fn Convert() { // CHECK:STDOUT: !58 = !DILocalVariable(arg: 1, scope: !53, type: !14) // CHECK:STDOUT: !59 = !DILocation(line: 106, column: 12, scope: !53) // CHECK:STDOUT: !60 = !DILocation(line: 106, column: 5, scope: !53) -// CHECK:STDOUT: !61 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.ba9a17e320476215:OptionalAs.7eef99cd03a74de4.Core.3efe5bf9fcd5287c", scope: null, file: !54, line: 80, type: !55, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !62) +// CHECK:STDOUT: !61 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.a0c6f87edec590a2:OptionalAs.3a7c842b5a6bca51.Core.101bf8ddc20b47aa", scope: null, file: !54, line: 80, type: !55, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !62) // CHECK:STDOUT: !62 = !{!63} // CHECK:STDOUT: !63 = !DILocalVariable(arg: 1, scope: !61, type: !14) // CHECK:STDOUT: !64 = !DILocation(line: 81, column: 12, scope: !61) // CHECK:STDOUT: !65 = !DILocation(line: 81, column: 5, scope: !61) -// CHECK:STDOUT: !66 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.3efe5bf9fcd5287c", scope: null, file: !54, line: 33, type: !55, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !67) +// CHECK:STDOUT: !66 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.101bf8ddc20b47aa", scope: null, file: !54, line: 33, type: !55, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !67) // CHECK:STDOUT: !67 = !{!68} // CHECK:STDOUT: !68 = !DILocalVariable(arg: 1, scope: !66, type: !14) // CHECK:STDOUT: !69 = !DILocation(line: 34, column: 12, scope: !66) @@ -434,13 +434,13 @@ fn Convert() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc9_21.1.temp), !dbg !14 // CHECK:STDOUT: store ptr %make.call, ptr %.loc9_21.1.temp, align 8, !dbg !14 // CHECK:STDOUT: %.loc9_21.3 = load ptr, ptr %.loc9_21.1.temp, align 8, !dbg !14 -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.d809c909b9fb897e"(ptr %.loc9_21.3), !dbg !14 +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.e2a0131d36fb5025"(ptr %.loc9_21.3), !dbg !14 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc9_21.5.temp), !dbg !14 // CHECK:STDOUT: store ptr %U.as_type.as.ImplicitAs.impl.Convert.call, ptr %.loc9_21.5.temp, align 8, !dbg !14 // CHECK:STDOUT: %.loc9_21.7 = load ptr, ptr %.loc9_21.5.temp, align 8, !dbg !14 // CHECK:STDOUT: call void @_Z4takePK1C(ptr %.loc9_21.7), !dbg !15 -// CHECK:STDOUT: call void @"_COp.abfd2779b15387f3:core.Destroy.Core"(ptr %.loc9_21.5.temp), !dbg !14 -// CHECK:STDOUT: call void @"_COp.d88144e8630db11d:core.Destroy.Core"(ptr %.loc9_21.1.temp), !dbg !14 +// CHECK:STDOUT: call void @"_COp.bf94a0bd5c960746:core.Destroy.Core"(ptr %.loc9_21.5.temp), !dbg !14 +// CHECK:STDOUT: call void @"_COp.8a092eaa967aef42:core.Destroy.Core"(ptr %.loc9_21.1.temp), !dbg !14 // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -449,25 +449,25 @@ fn Convert() { // CHECK:STDOUT: declare void @_Z4takePK1C(ptr noundef) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.4038455b5b2635f6:core.Destroy.Core"(ptr %self) #0 !dbg !17 { +// CHECK:STDOUT: define weak_odr void @"_COp.904ecb459d1cdbcd:core.Destroy.Core"(ptr %self) #0 !dbg !17 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !23 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.abfd2779b15387f3:core.Destroy.Core"(ptr %self) #0 !dbg !24 { +// CHECK:STDOUT: define weak_odr void @"_COp.bf94a0bd5c960746:core.Destroy.Core"(ptr %self) #0 !dbg !24 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b8799b2262fcbb9d:core.Destroy.Core"(ptr %self) #0 !dbg !28 { +// CHECK:STDOUT: define weak_odr void @"_COp.e8eb5ed054c58d8b:core.Destroy.Core"(ptr %self) #0 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.d88144e8630db11d:core.Destroy.Core"(ptr %self) #0 !dbg !32 { +// CHECK:STDOUT: define weak_odr void @"_COp.8a092eaa967aef42:core.Destroy.Core"(ptr %self) #0 !dbg !32 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !35 // CHECK:STDOUT: } @@ -476,54 +476,54 @@ fn Convert() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #2 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.d809c909b9fb897e"(ptr %self) #0 !dbg !36 { -// CHECK:STDOUT: %1 = call ptr @"_CConvert.Optional.5dca1548b0a7c023.Core:OptionalAs.f5e7d4305ac1f327.Core.abd6e12c58065394"(ptr %self), !dbg !42 +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.e2a0131d36fb5025"(ptr %self) #0 !dbg !36 { +// CHECK:STDOUT: %1 = call ptr @"_CConvert.Optional.91c61ccd5c87946d.Core:OptionalAs.db69f09c2307f298.Core.c668d01a19d764bb"(ptr %self), !dbg !42 // CHECK:STDOUT: ret ptr %1, !dbg !43 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.Optional.5dca1548b0a7c023.Core:OptionalAs.f5e7d4305ac1f327.Core.abd6e12c58065394"(ptr %self) #0 !dbg !44 { +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.Optional.91c61ccd5c87946d.Core:OptionalAs.db69f09c2307f298.Core.c668d01a19d764bb"(ptr %self) #0 !dbg !44 { // CHECK:STDOUT: %temp = alloca ptr, align 8, !dbg !47 // CHECK:STDOUT: %temp1 = alloca ptr, align 8, !dbg !47 -// CHECK:STDOUT: %1 = call i1 @_CHasValue.Optional.Core.9830adc5138a6fd5(ptr %self), !dbg !48 +// CHECK:STDOUT: %1 = call i1 @_CHasValue.Optional.Core.d9e0e29c89ce3067(ptr %self), !dbg !48 // CHECK:STDOUT: br i1 %1, label %2, label %7, !dbg !49 // CHECK:STDOUT: // CHECK:STDOUT: 2: ; preds = %0 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %temp), !dbg !47 -// CHECK:STDOUT: %3 = call ptr @_CGet.Optional.Core.9830adc5138a6fd5(ptr %self), !dbg !47 +// CHECK:STDOUT: %3 = call ptr @_CGet.Optional.Core.d9e0e29c89ce3067(ptr %self), !dbg !47 // CHECK:STDOUT: store ptr %3, ptr %temp, align 8, !dbg !47 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %temp1), !dbg !47 // CHECK:STDOUT: %4 = load ptr, ptr %temp, align 8, !dbg !47 // CHECK:STDOUT: store ptr %4, ptr %temp1, align 8, !dbg !47 // CHECK:STDOUT: %5 = load ptr, ptr %temp1, align 8, !dbg !47 -// CHECK:STDOUT: %6 = call ptr @_CSome.Optional.Core.945f192c26d104a2(ptr %5), !dbg !50 +// CHECK:STDOUT: %6 = call ptr @_CSome.Optional.Core.11841628b566c930(ptr %5), !dbg !50 // CHECK:STDOUT: ret ptr %6, !dbg !51 // CHECK:STDOUT: // CHECK:STDOUT: 7: ; preds = %0 -// CHECK:STDOUT: %8 = call ptr @_CNone.Optional.Core.945f192c26d104a2(), !dbg !52 +// CHECK:STDOUT: %8 = call ptr @_CNone.Optional.Core.11841628b566c930(), !dbg !52 // CHECK:STDOUT: ret ptr %8, !dbg !53 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @_CHasValue.Optional.Core.9830adc5138a6fd5(ptr %self) #0 !dbg !54 { +// CHECK:STDOUT: define linkonce_odr i1 @_CHasValue.Optional.Core.d9e0e29c89ce3067(ptr %self) #0 !dbg !54 { // CHECK:STDOUT: %1 = call i1 @"_CHas.e8f8f92d3d08d149:OptionalStorage.Core.b88531aa40419bf2"(ptr %self), !dbg !57 // CHECK:STDOUT: ret i1 %1, !dbg !58 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CGet.Optional.Core.9830adc5138a6fd5(ptr %self) #0 !dbg !59 { +// CHECK:STDOUT: define linkonce_odr ptr @_CGet.Optional.Core.d9e0e29c89ce3067(ptr %self) #0 !dbg !59 { // CHECK:STDOUT: %1 = call ptr @"_CGet.e8f8f92d3d08d149:OptionalStorage.Core.b88531aa40419bf2"(ptr %self), !dbg !62 // CHECK:STDOUT: ret ptr %1, !dbg !63 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CSome.Optional.Core.945f192c26d104a2(ptr %value) #0 !dbg !64 { +// CHECK:STDOUT: define linkonce_odr ptr @_CSome.Optional.Core.11841628b566c930(ptr %value) #0 !dbg !64 { // CHECK:STDOUT: %1 = call ptr @"_CSome.e8f8f92d3d08d149:OptionalStorage.Core.0e66b20f8d4f0663"(ptr %value), !dbg !67 // CHECK:STDOUT: ret ptr %1, !dbg !68 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CNone.Optional.Core.945f192c26d104a2() #0 !dbg !69 { +// CHECK:STDOUT: define linkonce_odr ptr @_CNone.Optional.Core.11841628b566c930() #0 !dbg !69 { // CHECK:STDOUT: ret ptr null, !dbg !72 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -546,7 +546,7 @@ fn Convert() { // CHECK:STDOUT: store ptr poison, ptr %1, align 8, !dbg !86 // CHECK:STDOUT: store ptr %self, ptr %1, align 8, !dbg !87 // CHECK:STDOUT: %2 = load ptr, ptr %1, align 8, !dbg !88 -// CHECK:STDOUT: call void @"_COp.4038455b5b2635f6:core.Destroy.Core"(ptr %1), !dbg !86 +// CHECK:STDOUT: call void @"_COp.904ecb459d1cdbcd:core.Destroy.Core"(ptr %1), !dbg !86 // CHECK:STDOUT: ret ptr %2, !dbg !89 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -578,26 +578,26 @@ fn Convert() { // CHECK:STDOUT: !14 = !DILocation(line: 9, column: 12, scope: !11) // CHECK:STDOUT: !15 = !DILocation(line: 9, column: 3, scope: !11) // CHECK:STDOUT: !16 = !DILocation(line: 8, column: 1, scope: !11) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4038455b5b2635f6:core.Destroy.Core", scope: null, file: !6, line: 9, type: !18, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !21) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.904ecb459d1cdbcd:core.Destroy.Core", scope: null, file: !6, line: 9, type: !18, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !21) // CHECK:STDOUT: !18 = !DISubroutineType(types: !19) // CHECK:STDOUT: !19 = !{null, !20} // CHECK:STDOUT: !20 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !21 = !{!22} // CHECK:STDOUT: !22 = !DILocalVariable(arg: 1, scope: !17, type: !20) // CHECK:STDOUT: !23 = !DILocation(line: 9, column: 12, scope: !17) -// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp.abfd2779b15387f3:core.Destroy.Core", scope: null, file: !6, line: 9, type: !18, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !25) +// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp.bf94a0bd5c960746:core.Destroy.Core", scope: null, file: !6, line: 9, type: !18, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !25) // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !24, type: !20) // CHECK:STDOUT: !27 = !DILocation(line: 9, column: 12, scope: !24) -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b8799b2262fcbb9d:core.Destroy.Core", scope: null, file: !6, line: 9, type: !18, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !29) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e8eb5ed054c58d8b:core.Destroy.Core", scope: null, file: !6, line: 9, type: !18, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !29) // CHECK:STDOUT: !29 = !{!30} // CHECK:STDOUT: !30 = !DILocalVariable(arg: 1, scope: !28, type: !20) // CHECK:STDOUT: !31 = !DILocation(line: 9, column: 12, scope: !28) -// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d88144e8630db11d:core.Destroy.Core", scope: null, file: !6, line: 9, type: !18, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !33) +// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8a092eaa967aef42:core.Destroy.Core", scope: null, file: !6, line: 9, type: !18, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !33) // CHECK:STDOUT: !33 = !{!34} // CHECK:STDOUT: !34 = !DILocalVariable(arg: 1, scope: !32, type: !20) // CHECK:STDOUT: !35 = !DILocation(line: 9, column: 12, scope: !32) -// CHECK:STDOUT: !36 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.d809c909b9fb897e", scope: null, file: !37, line: 105, type: !38, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !40) +// CHECK:STDOUT: !36 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.e2a0131d36fb5025", scope: null, file: !37, line: 105, type: !38, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !40) // CHECK:STDOUT: !37 = !DIFile(filename: "{{.*}}/prelude/types/optional.carbon", directory: "") // CHECK:STDOUT: !38 = !DISubroutineType(types: !39) // CHECK:STDOUT: !39 = !{!20, !20} @@ -605,7 +605,7 @@ fn Convert() { // CHECK:STDOUT: !41 = !DILocalVariable(arg: 1, scope: !36, type: !20) // CHECK:STDOUT: !42 = !DILocation(line: 106, column: 12, scope: !36) // CHECK:STDOUT: !43 = !DILocation(line: 106, column: 5, scope: !36) -// CHECK:STDOUT: !44 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Optional.5dca1548b0a7c023.Core:OptionalAs.f5e7d4305ac1f327.Core.abd6e12c58065394", scope: null, file: !37, line: 95, type: !38, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !45) +// CHECK:STDOUT: !44 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Optional.91c61ccd5c87946d.Core:OptionalAs.db69f09c2307f298.Core.c668d01a19d764bb", scope: null, file: !37, line: 95, type: !38, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !45) // CHECK:STDOUT: !45 = !{!46} // CHECK:STDOUT: !46 = !DILocalVariable(arg: 1, scope: !44, type: !20) // CHECK:STDOUT: !47 = !DILocation(line: 97, column: 31, scope: !44) @@ -615,22 +615,22 @@ fn Convert() { // CHECK:STDOUT: !51 = !DILocation(line: 97, column: 7, scope: !44) // CHECK:STDOUT: !52 = !DILocation(line: 99, column: 12, scope: !44) // CHECK:STDOUT: !53 = !DILocation(line: 99, column: 5, scope: !44) -// CHECK:STDOUT: !54 = distinct !DISubprogram(name: "HasValue", linkageName: "_CHasValue.Optional.Core.9830adc5138a6fd5", scope: null, file: !37, line: 36, type: !38, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !55) +// CHECK:STDOUT: !54 = distinct !DISubprogram(name: "HasValue", linkageName: "_CHasValue.Optional.Core.d9e0e29c89ce3067", scope: null, file: !37, line: 36, type: !38, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !55) // CHECK:STDOUT: !55 = !{!56} // CHECK:STDOUT: !56 = !DILocalVariable(arg: 1, scope: !54, type: !20) // CHECK:STDOUT: !57 = !DILocation(line: 37, column: 12, scope: !54) // CHECK:STDOUT: !58 = !DILocation(line: 37, column: 5, scope: !54) -// CHECK:STDOUT: !59 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.Optional.Core.9830adc5138a6fd5", scope: null, file: !37, line: 39, type: !38, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !60) +// CHECK:STDOUT: !59 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.Optional.Core.d9e0e29c89ce3067", scope: null, file: !37, line: 39, type: !38, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !60) // CHECK:STDOUT: !60 = !{!61} // CHECK:STDOUT: !61 = !DILocalVariable(arg: 1, scope: !59, type: !20) // CHECK:STDOUT: !62 = !DILocation(line: 40, column: 12, scope: !59) // CHECK:STDOUT: !63 = !DILocation(line: 40, column: 5, scope: !59) -// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.945f192c26d104a2", scope: null, file: !37, line: 33, type: !38, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !65) +// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.11841628b566c930", scope: null, file: !37, line: 33, type: !38, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !65) // CHECK:STDOUT: !65 = !{!66} // CHECK:STDOUT: !66 = !DILocalVariable(arg: 1, scope: !64, type: !20) // CHECK:STDOUT: !67 = !DILocation(line: 34, column: 12, scope: !64) // CHECK:STDOUT: !68 = !DILocation(line: 34, column: 5, scope: !64) -// CHECK:STDOUT: !69 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.945f192c26d104a2", scope: null, file: !37, line: 30, type: !70, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !69 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.11841628b566c930", scope: null, file: !37, line: 30, type: !70, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !70 = !DISubroutineType(types: !71) // CHECK:STDOUT: !71 = !{!20} // CHECK:STDOUT: !72 = !DILocation(line: 31, column: 5, scope: !69) diff --git a/toolchain/lower/testdata/interop/cpp/reference.carbon b/toolchain/lower/testdata/interop/cpp/reference.carbon index e05eb52526e8..1c73dd212ec4 100644 --- a/toolchain/lower/testdata/interop/cpp/reference.carbon +++ b/toolchain/lower/testdata/interop/cpp/reference.carbon @@ -144,7 +144,7 @@ fn GetRefs() { // CHECK:STDOUT: %_.var.2 = alloca i32, align 4, !dbg !17 // CHECK:STDOUT: %.loc25_23.2.temp = alloca i32, align 4, !dbg !18 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !14 -// CHECK:STDOUT: call void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.4fdc745d4b6d0e3c"(ptr %c.var), !dbg !14 +// CHECK:STDOUT: call void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.1afc54683c199dfb"(ptr %c.var), !dbg !14 // CHECK:STDOUT: call void @_Z8TakeCRefR1C(ptr %c.var), !dbg !19 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.1), !dbg !15 // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %_.var.1, ptr align 1 @C.val.loc19_20, i64 0, i1 false), !dbg !15 @@ -160,9 +160,9 @@ fn GetRefs() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc25_23.2.temp), !dbg !18 // CHECK:STDOUT: store i32 %.loc25_23.1, ptr %.loc25_23.2.temp, align 4, !dbg !18 // CHECK:STDOUT: call void @_Z15TakeConstIntRefRKi.carbon_thunk._(ptr %.loc25_23.2.temp), !dbg !24 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %.loc25_23.2.temp), !dbg !18 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var.2), !dbg !17 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !16 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %.loc25_23.2.temp), !dbg !18 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var.2), !dbg !17 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !16 // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -176,7 +176,7 @@ fn GetRefs() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Default.08e786f435a99766.Core:C.Cpp"(ptr sret({}) %return) #2 !dbg !29 { +// CHECK:STDOUT: define void @"_COp:thunk:Default.e22dc72f1b535a46.Core:C.Cpp"(ptr sret({}) %return) #2 !dbg !29 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN1CC1Ev.carbon_thunk.(ptr %return), !dbg !33 // CHECK:STDOUT: ret void, !dbg !33 @@ -227,7 +227,7 @@ fn GetRefs() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !36 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !36 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !42 // CHECK:STDOUT: } @@ -236,8 +236,8 @@ fn GetRefs() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #5 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.4fdc745d4b6d0e3c"(ptr sret({}) %return) #0 !dbg !43 { -// CHECK:STDOUT: call void @"_COp:thunk:Default.08e786f435a99766.Core:C.Cpp"(ptr %return), !dbg !45 +// CHECK:STDOUT: define linkonce_odr void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.1afc54683c199dfb"(ptr sret({}) %return) #0 !dbg !43 { +// CHECK:STDOUT: call void @"_COp:thunk:Default.e22dc72f1b535a46.Core:C.Cpp"(ptr %return), !dbg !45 // CHECK:STDOUT: ret void, !dbg !46 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -253,7 +253,7 @@ fn GetRefs() { // CHECK:STDOUT: declare void @_Z15TakeConstIntRefRKi(ptr noundef nonnull align 4 dereferenceable(4)) #3 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.94e3ca86614aba5d:core.Destroy.Core", { 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.1fa36cd3e044ac37:core.Destroy.Core", { 2, 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 4, 3, 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -296,21 +296,21 @@ fn GetRefs() { // CHECK:STDOUT: !26 = !{!27, !27, i64 0} // CHECK:STDOUT: !27 = !{!"p1 _ZTS1C", !28, i64 0} // CHECK:STDOUT: !28 = !{!"any pointer", !9, i64 0} -// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.08e786f435a99766.Core:C.Cpp", scope: null, file: !6, line: 5, type: !30, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.e22dc72f1b535a46.Core:C.Cpp", scope: null, file: !6, line: 5, type: !30, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !30 = !DISubroutineType(types: !31) // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !33 = !DILocation(line: 5, column: 7, scope: !29) // CHECK:STDOUT: !34 = !{!35, !35, i64 0} // CHECK:STDOUT: !35 = !{!"p1 int", !28, i64 0} -// CHECK:STDOUT: !36 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !6, line: 25, type: !37, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !40) +// CHECK:STDOUT: !36 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !6, line: 25, type: !37, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !40) // CHECK:STDOUT: !37 = !DISubroutineType(types: !38) // CHECK:STDOUT: !38 = !{null, !39} // CHECK:STDOUT: !39 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !40 = !{!41} // CHECK:STDOUT: !41 = !DILocalVariable(arg: 1, scope: !36, type: !39) // CHECK:STDOUT: !42 = !DILocation(line: 25, column: 23, scope: !36) -// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.4fdc745d4b6d0e3c", scope: null, file: !44, line: 9, type: !30, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !43 = distinct !DISubprogram(name: "Op", linkageName: "_COp.218d57fc466b073f:DefaultOrUnformed.Core.1afc54683c199dfb", scope: null, file: !44, line: 9, type: !30, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !44 = !DIFile(filename: "min_prelude/parts/default.carbon", directory: "") // CHECK:STDOUT: !45 = !DILocation(line: 9, column: 28, scope: !43) // CHECK:STDOUT: !46 = !DILocation(line: 9, column: 21, scope: !43) @@ -333,7 +333,7 @@ fn GetRefs() { // CHECK:STDOUT: %_.var = alloca i32, align 4, !dbg !17 // CHECK:STDOUT: %.loc26_23.2.temp = alloca i32, align 4, !dbg !18 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !14 -// CHECK:STDOUT: call void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.4fdc745d4b6d0e3c"(ptr %c.var), !dbg !14 +// CHECK:STDOUT: call void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.1afc54683c199dfb"(ptr %c.var), !dbg !14 // CHECK:STDOUT: call void @_Z8TakeCRefR1C10ForceThunk.carbon_thunk.r(ptr %c.var), !dbg !19 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc20_18.2.temp), !dbg !15 // CHECK:STDOUT: call void @_Z9TakeCRRefRK1C10ForceThunk.carbon_thunk._(ptr @C.val.loc20_20.3), !dbg !20 @@ -348,9 +348,9 @@ fn GetRefs() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc26_23.2.temp), !dbg !18 // CHECK:STDOUT: store i32 %.loc26_23.1, ptr %.loc26_23.2.temp, align 4, !dbg !18 // CHECK:STDOUT: call void @_Z15TakeConstIntRefRKi10ForceThunk.carbon_thunk._(ptr %.loc26_23.2.temp), !dbg !24 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %.loc26_23.2.temp), !dbg !18 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var), !dbg !17 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !16 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %.loc26_23.2.temp), !dbg !18 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var), !dbg !17 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !16 // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -364,7 +364,7 @@ fn GetRefs() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Default.08e786f435a99766.Core:C.Cpp"(ptr sret({}) %return) #2 !dbg !29 { +// CHECK:STDOUT: define void @"_COp:thunk:Default.e22dc72f1b535a46.Core:C.Cpp"(ptr sret({}) %return) #2 !dbg !29 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN1CC1Ev.carbon_thunk.(ptr %return), !dbg !33 // CHECK:STDOUT: ret void, !dbg !33 @@ -437,7 +437,7 @@ fn GetRefs() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !38 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !38 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !44 // CHECK:STDOUT: } @@ -446,8 +446,8 @@ fn GetRefs() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #4 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.4fdc745d4b6d0e3c"(ptr sret({}) %return) #0 !dbg !45 { -// CHECK:STDOUT: call void @"_COp:thunk:Default.08e786f435a99766.Core:C.Cpp"(ptr %return), !dbg !47 +// CHECK:STDOUT: define linkonce_odr void @"_COp.218d57fc466b073f:DefaultOrUnformed.Core.1afc54683c199dfb"(ptr sret({}) %return) #0 !dbg !45 { +// CHECK:STDOUT: call void @"_COp:thunk:Default.e22dc72f1b535a46.Core:C.Cpp"(ptr %return), !dbg !47 // CHECK:STDOUT: ret void, !dbg !48 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -464,7 +464,7 @@ fn GetRefs() { // CHECK:STDOUT: declare void @_Z15TakeConstIntRefRKi10ForceThunk(ptr noundef nonnull align 4 dereferenceable(4)) #5 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.94e3ca86614aba5d:core.Destroy.Core", { 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.1fa36cd3e044ac37:core.Destroy.Core", { 2, 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 4, 3, 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -507,7 +507,7 @@ fn GetRefs() { // CHECK:STDOUT: !26 = !{!27, !27, i64 0} // CHECK:STDOUT: !27 = !{!"p1 _ZTS1C", !28, i64 0} // CHECK:STDOUT: !28 = !{!"any pointer", !9, i64 0} -// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.08e786f435a99766.Core:C.Cpp", scope: null, file: !6, line: 5, type: !30, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Default.e22dc72f1b535a46.Core:C.Cpp", scope: null, file: !6, line: 5, type: !30, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !30 = !DISubroutineType(types: !31) // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) @@ -516,14 +516,14 @@ fn GetRefs() { // CHECK:STDOUT: !35 = !{!36, !36, i64 0} // CHECK:STDOUT: !36 = !{!"p1 int", !28, i64 0} // CHECK:STDOUT: !37 = !{i64 4} -// CHECK:STDOUT: !38 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !6, line: 26, type: !39, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !42) +// CHECK:STDOUT: !38 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !6, line: 26, type: !39, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !42) // CHECK:STDOUT: !39 = !DISubroutineType(types: !40) // CHECK:STDOUT: !40 = !{null, !41} // CHECK:STDOUT: !41 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !42 = !{!43} // CHECK:STDOUT: !43 = !DILocalVariable(arg: 1, scope: !38, type: !41) // CHECK:STDOUT: !44 = !DILocation(line: 26, column: 23, scope: !38) -// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cbe5dd53b28eb3d1:DefaultOrUnformed.Core.4fdc745d4b6d0e3c", scope: null, file: !46, line: 9, type: !30, spFlags: DISPFlagDefinition, unit: !5) +// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.218d57fc466b073f:DefaultOrUnformed.Core.1afc54683c199dfb", scope: null, file: !46, line: 9, type: !30, spFlags: DISPFlagDefinition, unit: !5) // CHECK:STDOUT: !46 = !DIFile(filename: "min_prelude/parts/default.carbon", directory: "") // CHECK:STDOUT: !47 = !DILocation(line: 9, column: 28, scope: !45) // CHECK:STDOUT: !48 = !DILocation(line: 9, column: 21, scope: !45) diff --git a/toolchain/lower/testdata/interop/cpp/return.carbon b/toolchain/lower/testdata/interop/cpp/return.carbon index 5ebf930db7ae..df6197b350c7 100644 --- a/toolchain/lower/testdata/interop/cpp/return.carbon +++ b/toolchain/lower/testdata/interop/cpp/return.carbon @@ -263,33 +263,33 @@ fn Call(x: Cpp.D) -> Cpp.C { // CHECK:STDOUT: %ReturnI32.call = call i32 @_Z9ReturnI32v(), !dbg !76 // CHECK:STDOUT: %ReturnI64.call = call i64 @_Z9ReturnI64v(), !dbg !77 // CHECK:STDOUT: call void @_CUse.Main(i8 %.loc19_32.4, i16 %.loc20_35.4, i32 %ReturnU32.call, i64 %ReturnU64.call, i8 %.loc24_32.4, i16 %.loc25_35.4, i32 %ReturnI32.call, i64 %ReturnI64.call), !dbg !78 -// CHECK:STDOUT: call void @"_COp.7b4d46d56ede77d9:core.Destroy.Core"(ptr %.loc25_35.1.temp), !dbg !73 -// CHECK:STDOUT: call void @"_COp.4bf3b2f84a23e67d:core.Destroy.Core"(ptr %.loc24_32.1.temp), !dbg !72 -// CHECK:STDOUT: call void @"_COp.4f41a08d65e2a5a3:core.Destroy.Core"(ptr %.loc20_35.1.temp), !dbg !71 -// CHECK:STDOUT: call void @"_COp.471bf32d53e15da8:core.Destroy.Core"(ptr %.loc19_32.1.temp), !dbg !70 +// CHECK:STDOUT: call void @"_COp.0166e16952428d48:core.Destroy.Core"(ptr %.loc25_35.1.temp), !dbg !73 +// CHECK:STDOUT: call void @"_COp.57082aeb2e97180b:core.Destroy.Core"(ptr %.loc24_32.1.temp), !dbg !72 +// CHECK:STDOUT: call void @"_COp.05392eeae6591ae7:core.Destroy.Core"(ptr %.loc20_35.1.temp), !dbg !71 +// CHECK:STDOUT: call void @"_COp.31853ecf8c1ccb9b:core.Destroy.Core"(ptr %.loc19_32.1.temp), !dbg !70 // CHECK:STDOUT: ret void, !dbg !79 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.7b4d46d56ede77d9:core.Destroy.Core"(ptr %self) #0 !dbg !80 { +// CHECK:STDOUT: define weak_odr void @"_COp.0166e16952428d48:core.Destroy.Core"(ptr %self) #0 !dbg !80 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !85 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.4bf3b2f84a23e67d:core.Destroy.Core"(ptr %self) #0 !dbg !86 { +// CHECK:STDOUT: define weak_odr void @"_COp.57082aeb2e97180b:core.Destroy.Core"(ptr %self) #0 !dbg !86 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !91 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.4f41a08d65e2a5a3:core.Destroy.Core"(ptr %self) #0 !dbg !92 { +// CHECK:STDOUT: define weak_odr void @"_COp.05392eeae6591ae7:core.Destroy.Core"(ptr %self) #0 !dbg !92 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !97 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.471bf32d53e15da8:core.Destroy.Core"(ptr %self) #0 !dbg !98 { +// CHECK:STDOUT: define weak_odr void @"_COp.31853ecf8c1ccb9b:core.Destroy.Core"(ptr %self) #0 !dbg !98 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !103 // CHECK:STDOUT: } @@ -334,37 +334,37 @@ fn Call(x: Cpp.D) -> Cpp.C { // CHECK:STDOUT: %.loc43_53 = load i32, ptr %my_i32.var, align 4, !dbg !127 // CHECK:STDOUT: %.loc43_61 = load i64, ptr %my_i64.var, align 8, !dbg !128 // CHECK:STDOUT: call void @_CUse.Main(i8 %.loc43_7, i16 %.loc43_14, i32 %.loc43_22, i64 %.loc43_30, i8 %.loc43_38, i16 %.loc43_45, i32 %.loc43_53, i64 %.loc43_61), !dbg !129 -// CHECK:STDOUT: call void @"_COp.8c3f43cf50902723:core.Destroy.Core"(ptr %my_i64.var), !dbg !112 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %my_i32.var), !dbg !111 -// CHECK:STDOUT: call void @"_COp.7b4d46d56ede77d9:core.Destroy.Core"(ptr %my_i16.var), !dbg !110 -// CHECK:STDOUT: call void @"_COp.4bf3b2f84a23e67d:core.Destroy.Core"(ptr %my_i8.var), !dbg !109 -// CHECK:STDOUT: call void @"_COp.184f05bfd26f6354:core.Destroy.Core"(ptr %my_u64.var), !dbg !108 -// CHECK:STDOUT: call void @"_COp.355b0c2a1e63d439:core.Destroy.Core"(ptr %my_u32.var), !dbg !107 -// CHECK:STDOUT: call void @"_COp.4f41a08d65e2a5a3:core.Destroy.Core"(ptr %my_u16.var), !dbg !106 -// CHECK:STDOUT: call void @"_COp.471bf32d53e15da8:core.Destroy.Core"(ptr %my_u8.var), !dbg !105 +// CHECK:STDOUT: call void @"_COp.70c270bcca3b30d3:core.Destroy.Core"(ptr %my_i64.var), !dbg !112 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %my_i32.var), !dbg !111 +// CHECK:STDOUT: call void @"_COp.0166e16952428d48:core.Destroy.Core"(ptr %my_i16.var), !dbg !110 +// CHECK:STDOUT: call void @"_COp.57082aeb2e97180b:core.Destroy.Core"(ptr %my_i8.var), !dbg !109 +// CHECK:STDOUT: call void @"_COp.d82cc23ffbd4feeb:core.Destroy.Core"(ptr %my_u64.var), !dbg !108 +// CHECK:STDOUT: call void @"_COp.6b76bad2b4c50899:core.Destroy.Core"(ptr %my_u32.var), !dbg !107 +// CHECK:STDOUT: call void @"_COp.05392eeae6591ae7:core.Destroy.Core"(ptr %my_u16.var), !dbg !106 +// CHECK:STDOUT: call void @"_COp.31853ecf8c1ccb9b:core.Destroy.Core"(ptr %my_u8.var), !dbg !105 // CHECK:STDOUT: ret void, !dbg !130 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.8c3f43cf50902723:core.Destroy.Core"(ptr %self) #0 !dbg !131 { +// CHECK:STDOUT: define weak_odr void @"_COp.70c270bcca3b30d3:core.Destroy.Core"(ptr %self) #0 !dbg !131 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !136 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !137 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !137 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !142 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.184f05bfd26f6354:core.Destroy.Core"(ptr %self) #0 !dbg !143 { +// CHECK:STDOUT: define weak_odr void @"_COp.d82cc23ffbd4feeb:core.Destroy.Core"(ptr %self) #0 !dbg !143 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !148 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.355b0c2a1e63d439:core.Destroy.Core"(ptr %self) #0 !dbg !149 { +// CHECK:STDOUT: define weak_odr void @"_COp.6b76bad2b4c50899:core.Destroy.Core"(ptr %self) #0 !dbg !149 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !154 // CHECK:STDOUT: } @@ -472,25 +472,25 @@ fn Call(x: Cpp.D) -> Cpp.C { // CHECK:STDOUT: !77 = !DILocation(line: 27, column: 21, scope: !67) // CHECK:STDOUT: !78 = !DILocation(line: 29, column: 3, scope: !67) // CHECK:STDOUT: !79 = !DILocation(line: 18, column: 1, scope: !67) -// CHECK:STDOUT: !80 = distinct !DISubprogram(name: "Op", linkageName: "_COp.7b4d46d56ede77d9:core.Destroy.Core", scope: null, file: !6, line: 25, type: !81, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !83) +// CHECK:STDOUT: !80 = distinct !DISubprogram(name: "Op", linkageName: "_COp.0166e16952428d48:core.Destroy.Core", scope: null, file: !6, line: 25, type: !81, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !83) // CHECK:STDOUT: !81 = !DISubroutineType(types: !82) // CHECK:STDOUT: !82 = !{null, !52} // CHECK:STDOUT: !83 = !{!84} // CHECK:STDOUT: !84 = !DILocalVariable(arg: 1, scope: !80, type: !52) // CHECK:STDOUT: !85 = !DILocation(line: 25, column: 21, scope: !80) -// CHECK:STDOUT: !86 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4bf3b2f84a23e67d:core.Destroy.Core", scope: null, file: !6, line: 24, type: !87, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !89) +// CHECK:STDOUT: !86 = distinct !DISubprogram(name: "Op", linkageName: "_COp.57082aeb2e97180b:core.Destroy.Core", scope: null, file: !6, line: 24, type: !87, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !89) // CHECK:STDOUT: !87 = !DISubroutineType(types: !88) // CHECK:STDOUT: !88 = !{null, !46} // CHECK:STDOUT: !89 = !{!90} // CHECK:STDOUT: !90 = !DILocalVariable(arg: 1, scope: !86, type: !46) // CHECK:STDOUT: !91 = !DILocation(line: 24, column: 19, scope: !86) -// CHECK:STDOUT: !92 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4f41a08d65e2a5a3:core.Destroy.Core", scope: null, file: !6, line: 20, type: !93, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !95) +// CHECK:STDOUT: !92 = distinct !DISubprogram(name: "Op", linkageName: "_COp.05392eeae6591ae7:core.Destroy.Core", scope: null, file: !6, line: 20, type: !93, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !95) // CHECK:STDOUT: !93 = !DISubroutineType(types: !94) // CHECK:STDOUT: !94 = !{null, !24} // CHECK:STDOUT: !95 = !{!96} // CHECK:STDOUT: !96 = !DILocalVariable(arg: 1, scope: !92, type: !24) // CHECK:STDOUT: !97 = !DILocation(line: 20, column: 21, scope: !92) -// CHECK:STDOUT: !98 = distinct !DISubprogram(name: "Op", linkageName: "_COp.471bf32d53e15da8:core.Destroy.Core", scope: null, file: !6, line: 19, type: !99, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !101) +// CHECK:STDOUT: !98 = distinct !DISubprogram(name: "Op", linkageName: "_COp.31853ecf8c1ccb9b:core.Destroy.Core", scope: null, file: !6, line: 19, type: !99, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !101) // CHECK:STDOUT: !99 = !DISubroutineType(types: !100) // CHECK:STDOUT: !100 = !{null, !14} // CHECK:STDOUT: !101 = !{!102} @@ -523,25 +523,25 @@ fn Call(x: Cpp.D) -> Cpp.C { // CHECK:STDOUT: !128 = !DILocation(line: 43, column: 61, scope: !104) // CHECK:STDOUT: !129 = !DILocation(line: 43, column: 3, scope: !104) // CHECK:STDOUT: !130 = !DILocation(line: 32, column: 1, scope: !104) -// CHECK:STDOUT: !131 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8c3f43cf50902723:core.Destroy.Core", scope: null, file: !6, line: 41, type: !132, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !134) +// CHECK:STDOUT: !131 = distinct !DISubprogram(name: "Op", linkageName: "_COp.70c270bcca3b30d3:core.Destroy.Core", scope: null, file: !6, line: 41, type: !132, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !134) // CHECK:STDOUT: !132 = !DISubroutineType(types: !133) // CHECK:STDOUT: !133 = !{null, !64} // CHECK:STDOUT: !134 = !{!135} // CHECK:STDOUT: !135 = !DILocalVariable(arg: 1, scope: !131, type: !64) // CHECK:STDOUT: !136 = !DILocation(line: 41, column: 3, scope: !131) -// CHECK:STDOUT: !137 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !6, line: 40, type: !138, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !140) +// CHECK:STDOUT: !137 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !6, line: 40, type: !138, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !140) // CHECK:STDOUT: !138 = !DISubroutineType(types: !139) // CHECK:STDOUT: !139 = !{null, !58} // CHECK:STDOUT: !140 = !{!141} // CHECK:STDOUT: !141 = !DILocalVariable(arg: 1, scope: !137, type: !58) // CHECK:STDOUT: !142 = !DILocation(line: 40, column: 3, scope: !137) -// CHECK:STDOUT: !143 = distinct !DISubprogram(name: "Op", linkageName: "_COp.184f05bfd26f6354:core.Destroy.Core", scope: null, file: !6, line: 36, type: !144, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !146) +// CHECK:STDOUT: !143 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d82cc23ffbd4feeb:core.Destroy.Core", scope: null, file: !6, line: 36, type: !144, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !146) // CHECK:STDOUT: !144 = !DISubroutineType(types: !145) // CHECK:STDOUT: !145 = !{null, !40} // CHECK:STDOUT: !146 = !{!147} // CHECK:STDOUT: !147 = !DILocalVariable(arg: 1, scope: !143, type: !40) // CHECK:STDOUT: !148 = !DILocation(line: 36, column: 3, scope: !143) -// CHECK:STDOUT: !149 = distinct !DISubprogram(name: "Op", linkageName: "_COp.355b0c2a1e63d439:core.Destroy.Core", scope: null, file: !6, line: 35, type: !150, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !152) +// CHECK:STDOUT: !149 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6b76bad2b4c50899:core.Destroy.Core", scope: null, file: !6, line: 35, type: !150, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !152) // CHECK:STDOUT: !150 = !DISubroutineType(types: !151) // CHECK:STDOUT: !151 = !{null, !34} // CHECK:STDOUT: !152 = !{!153} diff --git a/toolchain/lower/testdata/interop/cpp/reverse/class.carbon b/toolchain/lower/testdata/interop/cpp/reverse/class.carbon index c2549fa5ff22..f16ea822835c 100644 --- a/toolchain/lower/testdata/interop/cpp/reverse/class.carbon +++ b/toolchain/lower/testdata/interop/cpp/reverse/class.carbon @@ -272,24 +272,24 @@ fn G() { // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind // CHECK:STDOUT: define void @"_C__destroy_thunk:thunk.A.Main"(ptr %self) #4 !dbg !18 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_COp.dfeb4630c74d91bf:core.Destroy.Core"(ptr %self), !dbg !24 +// CHECK:STDOUT: call void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %self), !dbg !24 // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #5 !dbg !25 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #5 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.16e1f573fc35f00d:core.Destroy.Core"(ptr %self) #5 !dbg !32 { +// CHECK:STDOUT: define weak_odr void @"_COp.dc0c17d58493b612:core.Destroy.Core"(ptr %self) #5 !dbg !32 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !35 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.dfeb4630c74d91bf:core.Destroy.Core"(ptr %self) #5 !dbg !36 { +// CHECK:STDOUT: define weak_odr void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %self) #5 !dbg !36 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !39 // CHECK:STDOUT: } @@ -305,18 +305,18 @@ fn G() { // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind // CHECK:STDOUT: define void @"_C__destroy_thunk:thunk.B.Main"(ptr %self) #4 !dbg !44 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_COp.26d3d5cf28fab2d1:core.Destroy.Core"(ptr %self), !dbg !47 +// CHECK:STDOUT: call void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %self), !dbg !47 // CHECK:STDOUT: ret void, !dbg !47 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.1064d6e04bf2b941:core.Destroy.Core"(ptr %self) #5 !dbg !48 { +// CHECK:STDOUT: define weak_odr void @"_COp.8ba4e8b29fabd0b2:core.Destroy.Core"(ptr %self) #5 !dbg !48 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !51 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.26d3d5cf28fab2d1:core.Destroy.Core"(ptr %self) #5 !dbg !52 { +// CHECK:STDOUT: define weak_odr void @"_COp.07f54489d6d26b29:core.Destroy.Core"(ptr %self) #5 !dbg !52 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !55 // CHECK:STDOUT: } @@ -332,18 +332,18 @@ fn G() { // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind // CHECK:STDOUT: define void @"_C__destroy_thunk:thunk.C.Main"(ptr %self) #4 !dbg !60 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_COp.00eaf0142c0c6297:core.Destroy.Core"(ptr %self), !dbg !63 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self), !dbg !63 // CHECK:STDOUT: ret void, !dbg !63 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.2378edb07d37432b:core.Destroy.Core"(ptr %self) #5 !dbg !64 { +// CHECK:STDOUT: define weak_odr void @"_COp.ee5895450fbd172f:core.Destroy.Core"(ptr %self) #5 !dbg !64 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !67 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.00eaf0142c0c6297:core.Destroy.Core"(ptr %self) #5 !dbg !68 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #5 !dbg !68 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !71 // CHECK:STDOUT: } @@ -395,18 +395,18 @@ fn G() { // CHECK:STDOUT: !22 = !{!23} // CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !18, type: !21) // CHECK:STDOUT: !24 = !DILocation(line: 6, column: 1, scope: !18) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !6, line: 6, type: !26, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !29) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !6, line: 6, type: !26, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !29) // CHECK:STDOUT: !26 = !DISubroutineType(types: !27) // CHECK:STDOUT: !27 = !{null, !28} // CHECK:STDOUT: !28 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !29 = !{!30} // CHECK:STDOUT: !30 = !DILocalVariable(arg: 1, scope: !25, type: !28) // CHECK:STDOUT: !31 = !DILocation(line: 6, column: 1, scope: !25) -// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.16e1f573fc35f00d:core.Destroy.Core", scope: null, file: !6, line: 6, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !33) +// CHECK:STDOUT: !32 = distinct !DISubprogram(name: "Op", linkageName: "_COp.dc0c17d58493b612:core.Destroy.Core", scope: null, file: !6, line: 6, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !33) // CHECK:STDOUT: !33 = !{!34} // CHECK:STDOUT: !34 = !DILocalVariable(arg: 1, scope: !32, type: !21) // CHECK:STDOUT: !35 = !DILocation(line: 6, column: 1, scope: !32) -// CHECK:STDOUT: !36 = distinct !DISubprogram(name: "Op", linkageName: "_COp.dfeb4630c74d91bf:core.Destroy.Core", scope: null, file: !6, line: 6, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !37) +// CHECK:STDOUT: !36 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ac7d25d81711af23:core.Destroy.Core", scope: null, file: !6, line: 6, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !37) // CHECK:STDOUT: !37 = !{!38} // CHECK:STDOUT: !38 = !DILocalVariable(arg: 1, scope: !36, type: !21) // CHECK:STDOUT: !39 = !DILocation(line: 6, column: 1, scope: !36) @@ -418,11 +418,11 @@ fn G() { // CHECK:STDOUT: !45 = !{!46} // CHECK:STDOUT: !46 = !DILocalVariable(arg: 1, scope: !44, type: !21) // CHECK:STDOUT: !47 = !DILocation(line: 11, column: 1, scope: !44) -// CHECK:STDOUT: !48 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1064d6e04bf2b941:core.Destroy.Core", scope: null, file: !6, line: 11, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !49) +// CHECK:STDOUT: !48 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8ba4e8b29fabd0b2:core.Destroy.Core", scope: null, file: !6, line: 11, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !49) // CHECK:STDOUT: !49 = !{!50} // CHECK:STDOUT: !50 = !DILocalVariable(arg: 1, scope: !48, type: !21) // CHECK:STDOUT: !51 = !DILocation(line: 11, column: 1, scope: !48) -// CHECK:STDOUT: !52 = distinct !DISubprogram(name: "Op", linkageName: "_COp.26d3d5cf28fab2d1:core.Destroy.Core", scope: null, file: !6, line: 11, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !53) +// CHECK:STDOUT: !52 = distinct !DISubprogram(name: "Op", linkageName: "_COp.07f54489d6d26b29:core.Destroy.Core", scope: null, file: !6, line: 11, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !53) // CHECK:STDOUT: !53 = !{!54} // CHECK:STDOUT: !54 = !DILocalVariable(arg: 1, scope: !52, type: !21) // CHECK:STDOUT: !55 = !DILocation(line: 11, column: 1, scope: !52) @@ -434,11 +434,11 @@ fn G() { // CHECK:STDOUT: !61 = !{!62} // CHECK:STDOUT: !62 = !DILocalVariable(arg: 1, scope: !60, type: !21) // CHECK:STDOUT: !63 = !DILocation(line: 16, column: 1, scope: !60) -// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "Op", linkageName: "_COp.2378edb07d37432b:core.Destroy.Core", scope: null, file: !6, line: 16, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !65) +// CHECK:STDOUT: !64 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ee5895450fbd172f:core.Destroy.Core", scope: null, file: !6, line: 16, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !65) // CHECK:STDOUT: !65 = !{!66} // CHECK:STDOUT: !66 = !DILocalVariable(arg: 1, scope: !64, type: !21) // CHECK:STDOUT: !67 = !DILocation(line: 16, column: 1, scope: !64) -// CHECK:STDOUT: !68 = distinct !DISubprogram(name: "Op", linkageName: "_COp.00eaf0142c0c6297:core.Destroy.Core", scope: null, file: !6, line: 16, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !69) +// CHECK:STDOUT: !68 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !6, line: 16, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !69) // CHECK:STDOUT: !69 = !{!70} // CHECK:STDOUT: !70 = !DILocalVariable(arg: 1, scope: !68, type: !21) // CHECK:STDOUT: !71 = !DILocation(line: 16, column: 1, scope: !68) @@ -472,24 +472,24 @@ fn G() { // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind // CHECK:STDOUT: define void @"_C__destroy_thunk:thunk.C.Main"(ptr %self) #1 !dbg !19 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_COp.62e953a927ca4e4e:core.Destroy.Core"(ptr %self), !dbg !25 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self), !dbg !25 // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #2 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #2 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !32 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.57e275a610bca340:core.Destroy.Core"(ptr %self) #2 !dbg !33 { +// CHECK:STDOUT: define weak_odr void @"_COp.15b8ed913d10fa21:core.Destroy.Core"(ptr %self) #2 !dbg !33 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.62e953a927ca4e4e:core.Destroy.Core"(ptr %self) #2 !dbg !37 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #2 !dbg !37 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !40 // CHECK:STDOUT: } @@ -503,7 +503,7 @@ fn G() { // CHECK:STDOUT: %.loc19_29.6.b = getelementptr inbounds nuw { i32, i32 }, ptr %c.var, i32 0, i32 1, !dbg !45 // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %c.var, ptr align 4 @C.val.loc19_3, i64 8, i1 false), !dbg !44 // CHECK:STDOUT: call void @_Z1FRN6Carbon1CE(ptr %c.var), !dbg !46 -// CHECK:STDOUT: call void @"_COp.62e953a927ca4e4e:core.Destroy.Core"(ptr %c.var), !dbg !44 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !44 // CHECK:STDOUT: ret void, !dbg !47 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -548,18 +548,18 @@ fn G() { // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !19, type: !22) // CHECK:STDOUT: !25 = !DILocation(line: 6, column: 1, scope: !19) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !6, line: 6, type: !27, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !30) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !6, line: 6, type: !27, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !30) // CHECK:STDOUT: !27 = !DISubroutineType(types: !28) // CHECK:STDOUT: !28 = !{null, !29} // CHECK:STDOUT: !29 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !30 = !{!31} // CHECK:STDOUT: !31 = !DILocalVariable(arg: 1, scope: !26, type: !29) // CHECK:STDOUT: !32 = !DILocation(line: 6, column: 1, scope: !26) -// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "Op", linkageName: "_COp.57e275a610bca340:core.Destroy.Core", scope: null, file: !6, line: 6, type: !20, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !34) +// CHECK:STDOUT: !33 = distinct !DISubprogram(name: "Op", linkageName: "_COp.15b8ed913d10fa21:core.Destroy.Core", scope: null, file: !6, line: 6, type: !20, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !34) // CHECK:STDOUT: !34 = !{!35} // CHECK:STDOUT: !35 = !DILocalVariable(arg: 1, scope: !33, type: !22) // CHECK:STDOUT: !36 = !DILocation(line: 6, column: 1, scope: !33) -// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.62e953a927ca4e4e:core.Destroy.Core", scope: null, file: !6, line: 6, type: !20, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !38) +// CHECK:STDOUT: !37 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !6, line: 6, type: !20, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !38) // CHECK:STDOUT: !38 = !{!39} // CHECK:STDOUT: !39 = !DILocalVariable(arg: 1, scope: !37, type: !22) // CHECK:STDOUT: !40 = !DILocation(line: 6, column: 1, scope: !37) diff --git a/toolchain/lower/testdata/interop/cpp/reverse/method.carbon b/toolchain/lower/testdata/interop/cpp/reverse/method.carbon index 4843c2845805..cf693ee2001a 100644 --- a/toolchain/lower/testdata/interop/cpp/reverse/method.carbon +++ b/toolchain/lower/testdata/interop/cpp/reverse/method.carbon @@ -118,12 +118,12 @@ fn CallCallF() { Cpp.CallF(); } // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind // CHECK:STDOUT: define void @"_C__destroy_thunk:thunk.A.Main"(ptr %self) #5 !dbg !21 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_COp.4f97b17816379516:core.Destroy.Core"(ptr %self), !dbg !24 +// CHECK:STDOUT: call void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %self), !dbg !24 // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.4f97b17816379516:core.Destroy.Core"(ptr %self) #4 !dbg !25 { +// CHECK:STDOUT: define weak_odr void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %self) #4 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } @@ -171,7 +171,7 @@ fn CallCallF() { Cpp.CallF(); } // CHECK:STDOUT: !22 = !{!23} // CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !21, type: !17) // CHECK:STDOUT: !24 = !DILocation(line: 5, column: 1, scope: !21) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4f97b17816379516:core.Destroy.Core", scope: null, file: !6, line: 5, type: !15, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !26) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ac7d25d81711af23:core.Destroy.Core", scope: null, file: !6, line: 5, type: !15, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !26) // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !25, type: !17) // CHECK:STDOUT: !28 = !DILocation(line: 5, column: 1, scope: !25) @@ -238,12 +238,12 @@ fn CallCallF() { Cpp.CallF(); } // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind // CHECK:STDOUT: define void @"_C__destroy_thunk:thunk.A.Main"(ptr %self) #5 !dbg !23 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_COp.70edc238a819ff9f:core.Destroy.Core"(ptr %self), !dbg !28 +// CHECK:STDOUT: call void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %self), !dbg !28 // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.70edc238a819ff9f:core.Destroy.Core"(ptr %self) #4 !dbg !29 { +// CHECK:STDOUT: define weak_odr void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %self) #4 !dbg !29 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !32 // CHECK:STDOUT: } @@ -304,7 +304,7 @@ fn CallCallF() { Cpp.CallF(); } // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !23, type: !18) // CHECK:STDOUT: !28 = !DILocation(line: 5, column: 1, scope: !23) -// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.70edc238a819ff9f:core.Destroy.Core", scope: null, file: !6, line: 5, type: !24, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !30) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ac7d25d81711af23:core.Destroy.Core", scope: null, file: !6, line: 5, type: !24, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !30) // CHECK:STDOUT: !30 = !{!31} // CHECK:STDOUT: !31 = !DILocalVariable(arg: 1, scope: !29, type: !18) // CHECK:STDOUT: !32 = !DILocation(line: 5, column: 1, scope: !29) @@ -349,12 +349,12 @@ fn CallCallF() { Cpp.CallF(); } // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind // CHECK:STDOUT: define void @"_C__destroy_thunk:thunk.A.Main"(ptr %self) #3 !dbg !15 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_COp.618b79babf1755d1:core.Destroy.Core"(ptr %self), !dbg !21 +// CHECK:STDOUT: call void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %self), !dbg !21 // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.618b79babf1755d1:core.Destroy.Core"(ptr %self) #2 !dbg !22 { +// CHECK:STDOUT: define weak_odr void @"_COp.ac7d25d81711af23:core.Destroy.Core"(ptr %self) #2 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } @@ -404,7 +404,7 @@ fn CallCallF() { Cpp.CallF(); } // CHECK:STDOUT: !19 = !{!20} // CHECK:STDOUT: !20 = !DILocalVariable(arg: 1, scope: !15, type: !18) // CHECK:STDOUT: !21 = !DILocation(line: 5, column: 1, scope: !15) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.618b79babf1755d1:core.Destroy.Core", scope: null, file: !6, line: 5, type: !16, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !23) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ac7d25d81711af23:core.Destroy.Core", scope: null, file: !6, line: 5, type: !16, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !23) // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !22, type: !18) // CHECK:STDOUT: !25 = !DILocation(line: 5, column: 1, scope: !22) diff --git a/toolchain/lower/testdata/interop/cpp/std_initializer_list.carbon b/toolchain/lower/testdata/interop/cpp/std_initializer_list.carbon index 1b94f1166a10..76e4983f8ea8 100644 --- a/toolchain/lower/testdata/interop/cpp/std_initializer_list.carbon +++ b/toolchain/lower/testdata/interop/cpp/std_initializer_list.carbon @@ -146,18 +146,18 @@ fn InitNontrivialDtor() { // CHECK:STDOUT: %initializer_list.initializer_list.call.init_list.end = getelementptr inbounds nuw [16 x i8], ptr %_.var, i32 0, i32 8, !dbg !14 // CHECK:STDOUT: store ptr getelementptr inbounds ([3 x i32], ptr @array.loc13_50.15, i32 1), ptr %initializer_list.initializer_list.call.init_list.end, align 8, !dbg !14 // CHECK:STDOUT: call void @_CWithinLifetime.Main(), !dbg !16 -// CHECK:STDOUT: call void @"_COp.1c95d180afb5f529:core.Destroy.Core"(ptr @array), !dbg !15 +// CHECK:STDOUT: call void @"_COp.56bbd9491002a1aa:core.Destroy.Core"(ptr @array), !dbg !15 // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.1c95d180afb5f529:core.Destroy.Core"(ptr %self) #0 !dbg !25 { +// CHECK:STDOUT: define weak_odr void @"_COp.56bbd9491002a1aa:core.Destroy.Core"(ptr %self) #0 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } @@ -180,7 +180,7 @@ fn InitNontrivialDtor() { // CHECK:STDOUT: store ptr getelementptr inbounds ([3 x i32], ptr @array.loc13_50.15, i32 1), ptr %initializer_list.initializer_list.call.init_list.end, align 8, !dbg !34 // CHECK:STDOUT: call void @_ZN11vector_likeC1ESt16initializer_listIiE.carbon_thunk._(ptr %.loc18_36.2.temp, ptr %_.var), !dbg !33 // CHECK:STDOUT: call void @_CWithinLifetime.Main(), !dbg !35 -// CHECK:STDOUT: call void @"_COp.1c95d180afb5f529:core.Destroy.Core"(ptr @array), !dbg !34 +// CHECK:STDOUT: call void @"_COp.56bbd9491002a1aa:core.Destroy.Core"(ptr @array), !dbg !34 // CHECK:STDOUT: call void @_ZN11vector_likeD2Ev(ptr %_.var), !dbg !33 // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } @@ -321,14 +321,14 @@ fn InitNontrivialDtor() { // CHECK:STDOUT: !15 = !DILocation(line: 13, column: 42, scope: !11) // CHECK:STDOUT: !16 = !DILocation(line: 14, column: 3, scope: !11) // CHECK:STDOUT: !17 = !DILocation(line: 12, column: 1, scope: !11) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !6, line: 13, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !22) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !6, line: 13, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !22) // CHECK:STDOUT: !19 = !DISubroutineType(types: !20) // CHECK:STDOUT: !20 = !{null, !21} // CHECK:STDOUT: !21 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !22 = !{!23} // CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !18, type: !21) // CHECK:STDOUT: !24 = !DILocation(line: 13, column: 42, scope: !18) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1c95d180afb5f529:core.Destroy.Core", scope: null, file: !6, line: 13, type: !26, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !29) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.56bbd9491002a1aa:core.Destroy.Core", scope: null, file: !6, line: 13, type: !26, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !29) // CHECK:STDOUT: !26 = !DISubroutineType(types: !27) // CHECK:STDOUT: !27 = !{null, !28} // CHECK:STDOUT: !28 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) @@ -394,18 +394,18 @@ fn InitNontrivialDtor() { // CHECK:STDOUT: %initializer_list.initializer_list.call.init_list.size = getelementptr inbounds nuw [16 x i8], ptr %_.var, i32 0, i32 8, !dbg !14 // CHECK:STDOUT: store i64 3, ptr %initializer_list.initializer_list.call.init_list.size, align 8, !dbg !14 // CHECK:STDOUT: call void @_CWithinLifetime.Main(), !dbg !16 -// CHECK:STDOUT: call void @"_COp.1c95d180afb5f529:core.Destroy.Core"(ptr @array), !dbg !15 +// CHECK:STDOUT: call void @"_COp.56bbd9491002a1aa:core.Destroy.Core"(ptr @array), !dbg !15 // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.1c95d180afb5f529:core.Destroy.Core"(ptr %self) #0 !dbg !25 { +// CHECK:STDOUT: define weak_odr void @"_COp.56bbd9491002a1aa:core.Destroy.Core"(ptr %self) #0 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } @@ -428,7 +428,7 @@ fn InitNontrivialDtor() { // CHECK:STDOUT: store i64 3, ptr %initializer_list.initializer_list.call.init_list.size, align 8, !dbg !34 // CHECK:STDOUT: call void @_ZN11vector_likeC1ESt16initializer_listIiE.carbon_thunk._(ptr %.loc18_36.2.temp, ptr %_.var), !dbg !33 // CHECK:STDOUT: call void @_CWithinLifetime.Main(), !dbg !35 -// CHECK:STDOUT: call void @"_COp.1c95d180afb5f529:core.Destroy.Core"(ptr @array), !dbg !34 +// CHECK:STDOUT: call void @"_COp.56bbd9491002a1aa:core.Destroy.Core"(ptr @array), !dbg !34 // CHECK:STDOUT: call void @_ZN11vector_likeD2Ev(ptr %_.var), !dbg !33 // CHECK:STDOUT: ret void, !dbg !36 // CHECK:STDOUT: } @@ -568,14 +568,14 @@ fn InitNontrivialDtor() { // CHECK:STDOUT: !15 = !DILocation(line: 13, column: 42, scope: !11) // CHECK:STDOUT: !16 = !DILocation(line: 14, column: 3, scope: !11) // CHECK:STDOUT: !17 = !DILocation(line: 12, column: 1, scope: !11) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !6, line: 13, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !22) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !6, line: 13, type: !19, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !22) // CHECK:STDOUT: !19 = !DISubroutineType(types: !20) // CHECK:STDOUT: !20 = !{null, !21} // CHECK:STDOUT: !21 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !22 = !{!23} // CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !18, type: !21) // CHECK:STDOUT: !24 = !DILocation(line: 13, column: 42, scope: !18) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1c95d180afb5f529:core.Destroy.Core", scope: null, file: !6, line: 13, type: !26, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !29) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.56bbd9491002a1aa:core.Destroy.Core", scope: null, file: !6, line: 13, type: !26, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !29) // CHECK:STDOUT: !26 = !DISubroutineType(types: !27) // CHECK:STDOUT: !27 = !{null, !28} // CHECK:STDOUT: !28 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) diff --git a/toolchain/lower/testdata/interop/cpp/thunks.carbon b/toolchain/lower/testdata/interop/cpp/thunks.carbon index daedf64d17a8..4600e6214367 100644 --- a/toolchain/lower/testdata/interop/cpp/thunks.carbon +++ b/toolchain/lower/testdata/interop/cpp/thunks.carbon @@ -127,14 +127,14 @@ fn Call(a: Cpp.Collide, b: Cpp.AnonCollide) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Copy.4f2f8687b12a420f.Core:NeedThunk.Cpp"(ptr sret([1 x i8]) %return, ptr %self) #2 !dbg !23 { +// CHECK:STDOUT: define void @"_COp:thunk:Copy.701313661dc9b6bf.Core:NeedThunk.Cpp"(ptr sret([1 x i8]) %return, ptr %self) #2 !dbg !23 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN9NeedThunkC1ERKS_.carbon_thunk._(ptr %self, ptr %return), !dbg !29 // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Destroy.54656f03fa721bae.Core:NeedThunk.Cpp"(ptr %self) #2 !dbg !30 { +// CHECK:STDOUT: define void @"_COp:thunk:Destroy.65bae3c5c999c45d.Core:NeedThunk.Cpp"(ptr %self) #2 !dbg !30 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } @@ -180,14 +180,14 @@ fn Call(a: Cpp.Collide, b: Cpp.AnonCollide) { // CHECK:STDOUT: !20 = !{!21, !21, i64 0} // CHECK:STDOUT: !21 = !{!"p1 _ZTS9NeedThunk", !22, i64 0} // CHECK:STDOUT: !22 = !{!"any pointer", !9, i64 0} -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Copy.4f2f8687b12a420f.Core:NeedThunk.Cpp", scope: null, file: !24, line: 4, type: !25, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !27) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Copy.701313661dc9b6bf.Core:NeedThunk.Cpp", scope: null, file: !24, line: 4, type: !25, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !27) // CHECK:STDOUT: !24 = !DIFile(filename: "./need_thunk.h", directory: "") // CHECK:STDOUT: !25 = !DISubroutineType(types: !26) // CHECK:STDOUT: !26 = !{!14, !14} // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !23, type: !14) // CHECK:STDOUT: !29 = !DILocation(line: 4, column: 3, scope: !23) -// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Destroy.54656f03fa721bae.Core:NeedThunk.Cpp", scope: null, file: !24, line: 5, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !31) +// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Destroy.65bae3c5c999c45d.Core:NeedThunk.Cpp", scope: null, file: !24, line: 5, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !31) // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !30, type: !14) // CHECK:STDOUT: !33 = !DILocation(line: 5, column: 3, scope: !30) @@ -228,7 +228,7 @@ fn Call(a: Cpp.Collide, b: Cpp.AnonCollide) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Copy.e1f26893fc85f4d1.Core:Box.Cpp"(ptr sret([1 x i8]) %return, ptr %self) #2 !dbg !26 { +// CHECK:STDOUT: define void @"_COp:thunk:Copy.b478b4410958a2a4.Core:Box.Cpp"(ptr sret([1 x i8]) %return, ptr %self) #2 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN3BoxI1AEC1ERKS1_.carbon_thunk._(ptr %self, ptr %return), !dbg !32 // CHECK:STDOUT: ret void, !dbg !32 @@ -248,7 +248,7 @@ fn Call(a: Cpp.Collide, b: Cpp.AnonCollide) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Copy.0fba185d40847304.Core:Box.Cpp"(ptr sret([1 x i8]) %return, ptr %self) #2 !dbg !35 { +// CHECK:STDOUT: define void @"_COp:thunk:Copy.accff7ae190285b7.Core:Box.Cpp"(ptr sret([1 x i8]) %return, ptr %self) #2 !dbg !35 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN3BoxI1BEC1ERKS1_.carbon_thunk._(ptr %self, ptr %return), !dbg !38 // CHECK:STDOUT: ret void, !dbg !38 @@ -307,7 +307,7 @@ fn Call(a: Cpp.Collide, b: Cpp.AnonCollide) { // CHECK:STDOUT: !23 = !{!24, !24, i64 0} // CHECK:STDOUT: !24 = !{!"p1 _ZTS3BoxI1AE", !25, i64 0} // CHECK:STDOUT: !25 = !{!"any pointer", !9, i64 0} -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Copy.e1f26893fc85f4d1.Core:Box.Cpp", scope: null, file: !27, line: 8, type: !28, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !30) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Copy.b478b4410958a2a4.Core:Box.Cpp", scope: null, file: !27, line: 8, type: !28, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !30) // CHECK:STDOUT: !27 = !DIFile(filename: "./box.h", directory: "") // CHECK:STDOUT: !28 = !DISubroutineType(types: !29) // CHECK:STDOUT: !29 = !{!14, !14} @@ -316,7 +316,7 @@ fn Call(a: Cpp.Collide, b: Cpp.AnonCollide) { // CHECK:STDOUT: !32 = !DILocation(line: 8, column: 3, scope: !26) // CHECK:STDOUT: !33 = !{!34, !34, i64 0} // CHECK:STDOUT: !34 = !{!"p1 _ZTS3BoxI1BE", !25, i64 0} -// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Copy.0fba185d40847304.Core:Box.Cpp", scope: null, file: !27, line: 8, type: !28, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !36) +// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Copy.accff7ae190285b7.Core:Box.Cpp", scope: null, file: !27, line: 8, type: !28, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !36) // CHECK:STDOUT: !36 = !{!37} // CHECK:STDOUT: !37 = !DILocalVariable(arg: 1, scope: !35, type: !14) // CHECK:STDOUT: !38 = !DILocation(line: 8, column: 3, scope: !35) @@ -361,7 +361,7 @@ fn Call(a: Cpp.Collide, b: Cpp.AnonCollide) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Copy.289c71441a159c5c.Core:Collide.Cpp"(ptr sret([1 x i8]) %return, ptr %self) #2 !dbg !26 { +// CHECK:STDOUT: define void @"_COp:thunk:Copy.e7718e93fc2b984e.Core:Collide.Cpp"(ptr sret([1 x i8]) %return, ptr %self) #2 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN7CollideC1ERKS_.carbon_thunk._(ptr %self, ptr %return), !dbg !32 // CHECK:STDOUT: ret void, !dbg !32 @@ -381,7 +381,7 @@ fn Call(a: Cpp.Collide, b: Cpp.AnonCollide) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define void @"_COp:thunk:Copy.4bff6a47276e2ca8.Core:Collide..Cpp"(ptr sret([1 x i8]) %return, ptr %self) #2 !dbg !35 { +// CHECK:STDOUT: define void @"_COp:thunk:Copy.5ea391f5d7c54e11.Core:Collide..Cpp"(ptr sret([1 x i8]) %return, ptr %self) #2 !dbg !35 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_ZN12_GLOBAL__N_17CollideC1ERKS0_.carbon_thunk._(ptr %self, ptr %return), !dbg !38 // CHECK:STDOUT: ret void, !dbg !38 @@ -469,7 +469,7 @@ fn Call(a: Cpp.Collide, b: Cpp.AnonCollide) { // CHECK:STDOUT: !23 = !{!24, !24, i64 0} // CHECK:STDOUT: !24 = !{!"p1 _ZTS7Collide", !25, i64 0} // CHECK:STDOUT: !25 = !{!"any pointer", !9, i64 0} -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Copy.289c71441a159c5c.Core:Collide.Cpp", scope: null, file: !27, line: 17, type: !28, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !30) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Copy.e7718e93fc2b984e.Core:Collide.Cpp", scope: null, file: !27, line: 17, type: !28, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !30) // CHECK:STDOUT: !27 = !DIFile(filename: "./anonymous_namespace_collision.h", directory: "") // CHECK:STDOUT: !28 = !DISubroutineType(types: !29) // CHECK:STDOUT: !29 = !{!14, !14} @@ -478,7 +478,7 @@ fn Call(a: Cpp.Collide, b: Cpp.AnonCollide) { // CHECK:STDOUT: !32 = !DILocation(line: 17, column: 3, scope: !26) // CHECK:STDOUT: !33 = !{!34, !34, i64 0} // CHECK:STDOUT: !34 = !{!"p1 _ZTSN12_GLOBAL__N_17CollideE", !25, i64 0} -// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Copy.4bff6a47276e2ca8.Core:Collide..Cpp", scope: null, file: !27, line: 8, type: !28, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !36) +// CHECK:STDOUT: !35 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:Copy.5ea391f5d7c54e11.Core:Collide..Cpp", scope: null, file: !27, line: 8, type: !28, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !36) // CHECK:STDOUT: !36 = !{!37} // CHECK:STDOUT: !37 = !DILocalVariable(arg: 1, scope: !35, type: !14) // CHECK:STDOUT: !38 = !DILocation(line: 8, column: 3, scope: !35) diff --git a/toolchain/lower/testdata/interop/cpp/void.carbon b/toolchain/lower/testdata/interop/cpp/void.carbon index a21ad77784db..395ca0c30ae7 100644 --- a/toolchain/lower/testdata/interop/cpp/void.carbon +++ b/toolchain/lower/testdata/interop/cpp/void.carbon @@ -65,25 +65,25 @@ fn ConvertFromConstVoidPtr(p: const Cpp.void*) -> const i32* { // CHECK:STDOUT: define void @_CPassVoidPtr.Main(ptr %a) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc7_21.2.temp = alloca ptr, align 8, !dbg !17 -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.fad921c3cc4ce909"(ptr %a), !dbg !17 +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.e2eb6345a0817262"(ptr %a), !dbg !17 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_21.2.temp), !dbg !17 // CHECK:STDOUT: store ptr %U.as_type.as.ImplicitAs.impl.Convert.call, ptr %.loc7_21.2.temp, align 8, !dbg !17 // CHECK:STDOUT: %.loc7_21.4 = load ptr, ptr %.loc7_21.2.temp, align 8, !dbg !17 // CHECK:STDOUT: call void @_Z13take_void_ptrPv(ptr %.loc7_21.4), !dbg !18 -// CHECK:STDOUT: call void @"_COp.338ba599891478c8:core.Destroy.Core"(ptr %.loc7_21.2.temp), !dbg !17 +// CHECK:STDOUT: call void @"_COp.ef40c1ad0063352d:core.Destroy.Core"(ptr %.loc7_21.2.temp), !dbg !17 // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: declare void @_Z13take_void_ptrPv(ptr noundef) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.6caaa969dc8d525b:core.Destroy.Core"(ptr %self) #0 !dbg !20 { +// CHECK:STDOUT: define weak_odr void @"_COp.3e109d927282ba62:core.Destroy.Core"(ptr %self) #0 !dbg !20 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !23 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.338ba599891478c8:core.Destroy.Core"(ptr %self) #0 !dbg !24 { +// CHECK:STDOUT: define weak_odr void @"_COp.ef40c1ad0063352d:core.Destroy.Core"(ptr %self) #0 !dbg !24 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } @@ -92,12 +92,12 @@ fn ConvertFromConstVoidPtr(p: const Cpp.void*) -> const i32* { // CHECK:STDOUT: define void @_CPassIntPtr.Main(ptr %a) #0 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc11_21.2.temp = alloca ptr, align 8, !dbg !31 -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.6f0418fe98cc4925"(ptr %a), !dbg !31 +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.92bc13198414a0a5"(ptr %a), !dbg !31 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc11_21.2.temp), !dbg !31 // CHECK:STDOUT: store ptr %U.as_type.as.ImplicitAs.impl.Convert.call, ptr %.loc11_21.2.temp, align 8, !dbg !31 // CHECK:STDOUT: %.loc11_21.4 = load ptr, ptr %.loc11_21.2.temp, align 8, !dbg !31 // CHECK:STDOUT: call void @_Z13take_void_ptrPv(ptr %.loc11_21.4), !dbg !32 -// CHECK:STDOUT: call void @"_COp.338ba599891478c8:core.Destroy.Core"(ptr %.loc11_21.2.temp), !dbg !31 +// CHECK:STDOUT: call void @"_COp.ef40c1ad0063352d:core.Destroy.Core"(ptr %.loc11_21.2.temp), !dbg !31 // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -105,25 +105,25 @@ fn ConvertFromConstVoidPtr(p: const Cpp.void*) -> const i32* { // CHECK:STDOUT: define void @_CPassIntPtrToConstVoidPtr.Main(ptr %a) #0 !dbg !34 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc15_27.2.temp = alloca ptr, align 8, !dbg !37 -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.5ce8a56c30b8143d"(ptr %a), !dbg !37 +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.e8abce1df9e7383b"(ptr %a), !dbg !37 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc15_27.2.temp), !dbg !37 // CHECK:STDOUT: store ptr %U.as_type.as.ImplicitAs.impl.Convert.call, ptr %.loc15_27.2.temp, align 8, !dbg !37 // CHECK:STDOUT: %.loc15_27.4 = load ptr, ptr %.loc15_27.2.temp, align 8, !dbg !37 // CHECK:STDOUT: call void @_Z19take_const_void_ptrPKv(ptr %.loc15_27.4), !dbg !38 -// CHECK:STDOUT: call void @"_COp.c45ab087f5dc0b14:core.Destroy.Core"(ptr %.loc15_27.2.temp), !dbg !37 +// CHECK:STDOUT: call void @"_COp.ded630241aa40147:core.Destroy.Core"(ptr %.loc15_27.2.temp), !dbg !37 // CHECK:STDOUT: ret void, !dbg !39 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: declare void @_Z19take_const_void_ptrPKv(ptr noundef) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.f56221e914a74d60:core.Destroy.Core"(ptr %self) #0 !dbg !40 { +// CHECK:STDOUT: define weak_odr void @"_COp.a704aa97233bbaa6:core.Destroy.Core"(ptr %self) #0 !dbg !40 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !43 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.c45ab087f5dc0b14:core.Destroy.Core"(ptr %self) #0 !dbg !44 { +// CHECK:STDOUT: define weak_odr void @"_COp.ded630241aa40147:core.Destroy.Core"(ptr %self) #0 !dbg !44 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !47 // CHECK:STDOUT: } @@ -132,18 +132,18 @@ fn ConvertFromConstVoidPtr(p: const Cpp.void*) -> const i32* { // CHECK:STDOUT: define void @_CPassConstIntPtrToConstVoidPtr.Main(ptr %a) #0 !dbg !48 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc19_27.2.temp = alloca ptr, align 8, !dbg !51 -// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.5ce8a56c30b8143d"(ptr %a), !dbg !51 +// CHECK:STDOUT: %U.as_type.as.ImplicitAs.impl.Convert.call = call ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.e8abce1df9e7383b"(ptr %a), !dbg !51 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc19_27.2.temp), !dbg !51 // CHECK:STDOUT: store ptr %U.as_type.as.ImplicitAs.impl.Convert.call, ptr %.loc19_27.2.temp, align 8, !dbg !51 // CHECK:STDOUT: %.loc19_27.4 = load ptr, ptr %.loc19_27.2.temp, align 8, !dbg !51 // CHECK:STDOUT: call void @_Z19take_const_void_ptrPKv(ptr %.loc19_27.4), !dbg !52 -// CHECK:STDOUT: call void @"_COp.c45ab087f5dc0b14:core.Destroy.Core"(ptr %.loc19_27.2.temp), !dbg !51 +// CHECK:STDOUT: call void @"_COp.ded630241aa40147:core.Destroy.Core"(ptr %.loc19_27.2.temp), !dbg !51 // CHECK:STDOUT: ret void, !dbg !53 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.fad921c3cc4ce909"(ptr %self) #0 !dbg !54 { -// CHECK:STDOUT: %1 = call ptr @"_CConvert.ba9a17e320476215:OptionalAs.7eef99cd03a74de4.Core.076103729e9cd30d"(ptr %self), !dbg !60 +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.e2eb6345a0817262"(ptr %self) #0 !dbg !54 { +// CHECK:STDOUT: %1 = call ptr @"_CConvert.a0c6f87edec590a2:OptionalAs.3a7c842b5a6bca51.Core.16518ec96f303f23"(ptr %self), !dbg !60 // CHECK:STDOUT: ret ptr %1, !dbg !61 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -151,87 +151,87 @@ fn ConvertFromConstVoidPtr(p: const Cpp.void*) -> const i32* { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #2 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.6f0418fe98cc4925"(ptr %self) #0 !dbg !62 { -// CHECK:STDOUT: %1 = call ptr @"_CConvert.62d55c5523334675:OptionalAs.f5e7d4305ac1f327.Core.8b364702f31b29d8"(ptr %self), !dbg !65 +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.92bc13198414a0a5"(ptr %self) #0 !dbg !62 { +// CHECK:STDOUT: %1 = call ptr @"_CConvert.6bb01b3b35e74e55:OptionalAs.db69f09c2307f298.Core.5efd019d705c0b26"(ptr %self), !dbg !65 // CHECK:STDOUT: ret ptr %1, !dbg !66 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.5ce8a56c30b8143d"(ptr %self) #0 !dbg !67 { -// CHECK:STDOUT: %1 = call ptr @"_CConvert.62d55c5523334675:OptionalAs.f5e7d4305ac1f327.Core.6d627ceb3448305f"(ptr %self), !dbg !70 +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.e8abce1df9e7383b"(ptr %self) #0 !dbg !67 { +// CHECK:STDOUT: %1 = call ptr @"_CConvert.6bb01b3b35e74e55:OptionalAs.db69f09c2307f298.Core.ff5aadc808ace668"(ptr %self), !dbg !70 // CHECK:STDOUT: ret ptr %1, !dbg !71 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.ba9a17e320476215:OptionalAs.7eef99cd03a74de4.Core.076103729e9cd30d"(ptr %self) #0 !dbg !72 { -// CHECK:STDOUT: %1 = call ptr @_CSome.Optional.Core.076103729e9cd30d(ptr %self), !dbg !75 +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.a0c6f87edec590a2:OptionalAs.3a7c842b5a6bca51.Core.16518ec96f303f23"(ptr %self) #0 !dbg !72 { +// CHECK:STDOUT: %1 = call ptr @_CSome.Optional.Core.16518ec96f303f23(ptr %self), !dbg !75 // CHECK:STDOUT: ret ptr %1, !dbg !76 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.62d55c5523334675:OptionalAs.f5e7d4305ac1f327.Core.8b364702f31b29d8"(ptr %self) #0 !dbg !77 { +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.6bb01b3b35e74e55:OptionalAs.db69f09c2307f298.Core.5efd019d705c0b26"(ptr %self) #0 !dbg !77 { // CHECK:STDOUT: %temp = alloca ptr, align 8, !dbg !80 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %temp), !dbg !80 // CHECK:STDOUT: store ptr %self, ptr %temp, align 8, !dbg !80 // CHECK:STDOUT: %1 = load ptr, ptr %temp, align 8, !dbg !80 -// CHECK:STDOUT: %2 = call ptr @_CSome.Optional.Core.076103729e9cd30d(ptr %1), !dbg !81 +// CHECK:STDOUT: %2 = call ptr @_CSome.Optional.Core.16518ec96f303f23(ptr %1), !dbg !81 // CHECK:STDOUT: ret ptr %2, !dbg !82 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.62d55c5523334675:OptionalAs.f5e7d4305ac1f327.Core.6d627ceb3448305f"(ptr %self) #0 !dbg !83 { +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert.6bb01b3b35e74e55:OptionalAs.db69f09c2307f298.Core.ff5aadc808ace668"(ptr %self) #0 !dbg !83 { // CHECK:STDOUT: %temp = alloca ptr, align 8, !dbg !86 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %temp), !dbg !86 -// CHECK:STDOUT: %1 = call ptr @"_CConvert:thunk:ImplicitAs.18b29766acf27da3.Core:e8f8f92d3d08d149:ImplicitAs.c8091dc115c4eb3f.Core.c8fd090a2e741f70"(ptr %self), !dbg !86 +// CHECK:STDOUT: %1 = call ptr @"_CConvert:thunk:ImplicitAs.9ec76089d908647a.Core:e8f8f92d3d08d149:ImplicitAs.37effc28ee11587a.Core.5e5386123d4b6287"(ptr %self), !dbg !86 // CHECK:STDOUT: store ptr %1, ptr %temp, align 8, !dbg !86 // CHECK:STDOUT: %2 = load ptr, ptr %temp, align 8, !dbg !86 -// CHECK:STDOUT: %3 = call ptr @_CSome.Optional.Core.601a31209489687b(ptr %2), !dbg !87 +// CHECK:STDOUT: %3 = call ptr @_CSome.Optional.Core.15cb76de18318062(ptr %2), !dbg !87 // CHECK:STDOUT: ret ptr %3, !dbg !88 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CSome.Optional.Core.076103729e9cd30d(ptr %value) #0 !dbg !89 { -// CHECK:STDOUT: %1 = call ptr @"_CSome.e8f8f92d3d08d149:OptionalStorage.Core.e002d6765e4506fc"(ptr %value), !dbg !92 +// CHECK:STDOUT: define linkonce_odr ptr @_CSome.Optional.Core.16518ec96f303f23(ptr %value) #0 !dbg !89 { +// CHECK:STDOUT: %1 = call ptr @"_CSome.e8f8f92d3d08d149:OptionalStorage.Core.b38e2ff2a271a787"(ptr %value), !dbg !92 // CHECK:STDOUT: ret ptr %1, !dbg !93 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert:thunk:ImplicitAs.18b29766acf27da3.Core:e8f8f92d3d08d149:ImplicitAs.c8091dc115c4eb3f.Core.c8fd090a2e741f70"(ptr %self) #3 !dbg !94 { +// CHECK:STDOUT: define linkonce_odr ptr @"_CConvert:thunk:ImplicitAs.9ec76089d908647a.Core:e8f8f92d3d08d149:ImplicitAs.37effc28ee11587a.Core.5e5386123d4b6287"(ptr %self) #3 !dbg !94 { // CHECK:STDOUT: ret ptr %self, !dbg !98 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CSome.Optional.Core.601a31209489687b(ptr %value) #0 !dbg !99 { -// CHECK:STDOUT: %1 = call ptr @"_CSome.e8f8f92d3d08d149:OptionalStorage.Core.de7664f1c7ce4d43"(ptr %value), !dbg !102 +// CHECK:STDOUT: define linkonce_odr ptr @_CSome.Optional.Core.15cb76de18318062(ptr %value) #0 !dbg !99 { +// CHECK:STDOUT: %1 = call ptr @"_CSome.e8f8f92d3d08d149:OptionalStorage.Core.430391d0f8a776a2"(ptr %value), !dbg !102 // CHECK:STDOUT: ret ptr %1, !dbg !103 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CSome.e8f8f92d3d08d149:OptionalStorage.Core.e002d6765e4506fc"(ptr %self) #0 !dbg !104 { +// CHECK:STDOUT: define linkonce_odr ptr @"_CSome.e8f8f92d3d08d149:OptionalStorage.Core.b38e2ff2a271a787"(ptr %self) #0 !dbg !104 { // CHECK:STDOUT: %1 = alloca ptr, align 8, !dbg !107 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %1), !dbg !107 // CHECK:STDOUT: store ptr poison, ptr %1, align 8, !dbg !107 // CHECK:STDOUT: store ptr %self, ptr %1, align 8, !dbg !108 // CHECK:STDOUT: %2 = load ptr, ptr %1, align 8, !dbg !109 -// CHECK:STDOUT: call void @"_COp.6caaa969dc8d525b:core.Destroy.Core"(ptr %1), !dbg !107 +// CHECK:STDOUT: call void @"_COp.3e109d927282ba62:core.Destroy.Core"(ptr %1), !dbg !107 // CHECK:STDOUT: ret ptr %2, !dbg !110 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CSome.e8f8f92d3d08d149:OptionalStorage.Core.de7664f1c7ce4d43"(ptr %self) #0 !dbg !111 { +// CHECK:STDOUT: define linkonce_odr ptr @"_CSome.e8f8f92d3d08d149:OptionalStorage.Core.430391d0f8a776a2"(ptr %self) #0 !dbg !111 { // CHECK:STDOUT: %1 = alloca ptr, align 8, !dbg !114 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %1), !dbg !114 // CHECK:STDOUT: store ptr poison, ptr %1, align 8, !dbg !114 // CHECK:STDOUT: store ptr %self, ptr %1, align 8, !dbg !115 // CHECK:STDOUT: %2 = load ptr, ptr %1, align 8, !dbg !116 -// CHECK:STDOUT: call void @"_COp.f56221e914a74d60:core.Destroy.Core"(ptr %1), !dbg !114 +// CHECK:STDOUT: call void @"_COp.a704aa97233bbaa6:core.Destroy.Core"(ptr %1), !dbg !114 // CHECK:STDOUT: ret ptr %2, !dbg !117 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 0, 1, 2, 3, 7, 6, 5, 4 } -// CHECK:STDOUT: uselistorder ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.5ce8a56c30b8143d", { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CSome.Optional.Core.076103729e9cd30d, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.e8abce1df9e7383b", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CSome.Optional.Core.16518ec96f303f23, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } @@ -262,11 +262,11 @@ fn ConvertFromConstVoidPtr(p: const Cpp.void*) -> const i32* { // CHECK:STDOUT: !17 = !DILocation(line: 7, column: 21, scope: !11) // CHECK:STDOUT: !18 = !DILocation(line: 7, column: 3, scope: !11) // CHECK:STDOUT: !19 = !DILocation(line: 6, column: 1, scope: !11) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6caaa969dc8d525b:core.Destroy.Core", scope: null, file: !6, line: 7, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !21) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.3e109d927282ba62:core.Destroy.Core", scope: null, file: !6, line: 7, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !21) // CHECK:STDOUT: !21 = !{!22} // CHECK:STDOUT: !22 = !DILocalVariable(arg: 1, scope: !20, type: !14) // CHECK:STDOUT: !23 = !DILocation(line: 7, column: 21, scope: !20) -// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp.338ba599891478c8:core.Destroy.Core", scope: null, file: !6, line: 7, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !25) +// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ef40c1ad0063352d:core.Destroy.Core", scope: null, file: !6, line: 7, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !25) // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !24, type: !14) // CHECK:STDOUT: !27 = !DILocation(line: 7, column: 21, scope: !24) @@ -282,11 +282,11 @@ fn ConvertFromConstVoidPtr(p: const Cpp.void*) -> const i32* { // CHECK:STDOUT: !37 = !DILocation(line: 15, column: 27, scope: !34) // CHECK:STDOUT: !38 = !DILocation(line: 15, column: 3, scope: !34) // CHECK:STDOUT: !39 = !DILocation(line: 14, column: 1, scope: !34) -// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Op", linkageName: "_COp.f56221e914a74d60:core.Destroy.Core", scope: null, file: !6, line: 15, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !41) +// CHECK:STDOUT: !40 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a704aa97233bbaa6:core.Destroy.Core", scope: null, file: !6, line: 15, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !41) // CHECK:STDOUT: !41 = !{!42} // CHECK:STDOUT: !42 = !DILocalVariable(arg: 1, scope: !40, type: !14) // CHECK:STDOUT: !43 = !DILocation(line: 15, column: 27, scope: !40) -// CHECK:STDOUT: !44 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c45ab087f5dc0b14:core.Destroy.Core", scope: null, file: !6, line: 15, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !45) +// CHECK:STDOUT: !44 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ded630241aa40147:core.Destroy.Core", scope: null, file: !6, line: 15, type: !12, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !45) // CHECK:STDOUT: !45 = !{!46} // CHECK:STDOUT: !46 = !DILocalVariable(arg: 1, scope: !44, type: !14) // CHECK:STDOUT: !47 = !DILocation(line: 15, column: 27, scope: !44) @@ -296,7 +296,7 @@ fn ConvertFromConstVoidPtr(p: const Cpp.void*) -> const i32* { // CHECK:STDOUT: !51 = !DILocation(line: 19, column: 27, scope: !48) // CHECK:STDOUT: !52 = !DILocation(line: 19, column: 3, scope: !48) // CHECK:STDOUT: !53 = !DILocation(line: 18, column: 1, scope: !48) -// CHECK:STDOUT: !54 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.fad921c3cc4ce909", scope: null, file: !55, line: 105, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !58) +// CHECK:STDOUT: !54 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.e2eb6345a0817262", scope: null, file: !55, line: 105, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !58) // CHECK:STDOUT: !55 = !DIFile(filename: "{{.*}}/prelude/types/optional.carbon", directory: "") // CHECK:STDOUT: !56 = !DISubroutineType(types: !57) // CHECK:STDOUT: !57 = !{!14, !14} @@ -304,56 +304,56 @@ fn ConvertFromConstVoidPtr(p: const Cpp.void*) -> const i32* { // CHECK:STDOUT: !59 = !DILocalVariable(arg: 1, scope: !54, type: !14) // CHECK:STDOUT: !60 = !DILocation(line: 106, column: 12, scope: !54) // CHECK:STDOUT: !61 = !DILocation(line: 106, column: 5, scope: !54) -// CHECK:STDOUT: !62 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.6f0418fe98cc4925", scope: null, file: !55, line: 105, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !63) +// CHECK:STDOUT: !62 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.92bc13198414a0a5", scope: null, file: !55, line: 105, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !63) // CHECK:STDOUT: !63 = !{!64} // CHECK:STDOUT: !64 = !DILocalVariable(arg: 1, scope: !62, type: !14) // CHECK:STDOUT: !65 = !DILocation(line: 106, column: 12, scope: !62) // CHECK:STDOUT: !66 = !DILocation(line: 106, column: 5, scope: !62) -// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.5ce8a56c30b8143d", scope: null, file: !55, line: 105, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !68) +// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.e8abce1df9e7383b", scope: null, file: !55, line: 105, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !68) // CHECK:STDOUT: !68 = !{!69} // CHECK:STDOUT: !69 = !DILocalVariable(arg: 1, scope: !67, type: !14) // CHECK:STDOUT: !70 = !DILocation(line: 106, column: 12, scope: !67) // CHECK:STDOUT: !71 = !DILocation(line: 106, column: 5, scope: !67) -// CHECK:STDOUT: !72 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.ba9a17e320476215:OptionalAs.7eef99cd03a74de4.Core.076103729e9cd30d", scope: null, file: !55, line: 80, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !73) +// CHECK:STDOUT: !72 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.a0c6f87edec590a2:OptionalAs.3a7c842b5a6bca51.Core.16518ec96f303f23", scope: null, file: !55, line: 80, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !73) // CHECK:STDOUT: !73 = !{!74} // CHECK:STDOUT: !74 = !DILocalVariable(arg: 1, scope: !72, type: !14) // CHECK:STDOUT: !75 = !DILocation(line: 81, column: 12, scope: !72) // CHECK:STDOUT: !76 = !DILocation(line: 81, column: 5, scope: !72) -// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.62d55c5523334675:OptionalAs.f5e7d4305ac1f327.Core.8b364702f31b29d8", scope: null, file: !55, line: 87, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !78) +// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.6bb01b3b35e74e55:OptionalAs.db69f09c2307f298.Core.5efd019d705c0b26", scope: null, file: !55, line: 87, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !78) // CHECK:STDOUT: !78 = !{!79} // CHECK:STDOUT: !79 = !DILocalVariable(arg: 1, scope: !77, type: !14) // CHECK:STDOUT: !80 = !DILocation(line: 88, column: 29, scope: !77) // CHECK:STDOUT: !81 = !DILocation(line: 88, column: 12, scope: !77) // CHECK:STDOUT: !82 = !DILocation(line: 88, column: 5, scope: !77) -// CHECK:STDOUT: !83 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.62d55c5523334675:OptionalAs.f5e7d4305ac1f327.Core.6d627ceb3448305f", scope: null, file: !55, line: 87, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !84) +// CHECK:STDOUT: !83 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.6bb01b3b35e74e55:OptionalAs.db69f09c2307f298.Core.ff5aadc808ace668", scope: null, file: !55, line: 87, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !84) // CHECK:STDOUT: !84 = !{!85} // CHECK:STDOUT: !85 = !DILocalVariable(arg: 1, scope: !83, type: !14) // CHECK:STDOUT: !86 = !DILocation(line: 88, column: 29, scope: !83) // CHECK:STDOUT: !87 = !DILocation(line: 88, column: 12, scope: !83) // CHECK:STDOUT: !88 = !DILocation(line: 88, column: 5, scope: !83) -// CHECK:STDOUT: !89 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.076103729e9cd30d", scope: null, file: !55, line: 33, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !90) +// CHECK:STDOUT: !89 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.16518ec96f303f23", scope: null, file: !55, line: 33, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !90) // CHECK:STDOUT: !90 = !{!91} // CHECK:STDOUT: !91 = !DILocalVariable(arg: 1, scope: !89, type: !14) // CHECK:STDOUT: !92 = !DILocation(line: 34, column: 12, scope: !89) // CHECK:STDOUT: !93 = !DILocation(line: 34, column: 5, scope: !89) -// CHECK:STDOUT: !94 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert:thunk:ImplicitAs.18b29766acf27da3.Core:e8f8f92d3d08d149:ImplicitAs.c8091dc115c4eb3f.Core.c8fd090a2e741f70", scope: null, file: !95, line: 40, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !96) +// CHECK:STDOUT: !94 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert:thunk:ImplicitAs.9ec76089d908647a.Core:e8f8f92d3d08d149:ImplicitAs.37effc28ee11587a.Core.5e5386123d4b6287", scope: null, file: !95, line: 40, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !96) // CHECK:STDOUT: !95 = !DIFile(filename: "{{.*}}/prelude/types/cpp/void.carbon", directory: "") // CHECK:STDOUT: !96 = !{!97} // CHECK:STDOUT: !97 = !DILocalVariable(arg: 1, scope: !94, type: !14) // CHECK:STDOUT: !98 = !DILocation(line: 40, column: 3, scope: !94) -// CHECK:STDOUT: !99 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.601a31209489687b", scope: null, file: !55, line: 33, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !100) +// CHECK:STDOUT: !99 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.15cb76de18318062", scope: null, file: !55, line: 33, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !100) // CHECK:STDOUT: !100 = !{!101} // CHECK:STDOUT: !101 = !DILocalVariable(arg: 1, scope: !99, type: !14) // CHECK:STDOUT: !102 = !DILocation(line: 34, column: 12, scope: !99) // CHECK:STDOUT: !103 = !DILocation(line: 34, column: 5, scope: !99) -// CHECK:STDOUT: !104 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.e8f8f92d3d08d149:OptionalStorage.Core.e002d6765e4506fc", scope: null, file: !55, line: 166, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !105) +// CHECK:STDOUT: !104 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.e8f8f92d3d08d149:OptionalStorage.Core.b38e2ff2a271a787", scope: null, file: !55, line: 166, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !105) // CHECK:STDOUT: !105 = !{!106} // CHECK:STDOUT: !106 = !DILocalVariable(arg: 1, scope: !104, type: !14) // CHECK:STDOUT: !107 = !DILocation(line: 167, column: 14, scope: !104) // CHECK:STDOUT: !108 = !DILocation(line: 169, column: 5, scope: !104) // CHECK:STDOUT: !109 = !DILocation(line: 167, column: 18, scope: !104) // CHECK:STDOUT: !110 = !DILocation(line: 170, column: 5, scope: !104) -// CHECK:STDOUT: !111 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.e8f8f92d3d08d149:OptionalStorage.Core.de7664f1c7ce4d43", scope: null, file: !55, line: 166, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !112) +// CHECK:STDOUT: !111 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.e8f8f92d3d08d149:OptionalStorage.Core.430391d0f8a776a2", scope: null, file: !55, line: 166, type: !56, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !112) // CHECK:STDOUT: !112 = !{!113} // CHECK:STDOUT: !113 = !DILocalVariable(arg: 1, scope: !111, type: !14) // CHECK:STDOUT: !114 = !DILocation(line: 167, column: 14, scope: !111) diff --git a/toolchain/lower/testdata/let/copy_value_rep.carbon b/toolchain/lower/testdata/let/copy_value_rep.carbon index d8696f028831..649e22712e4f 100644 --- a/toolchain/lower/testdata/let/copy_value_rep.carbon +++ b/toolchain/lower/testdata/let/copy_value_rep.carbon @@ -38,24 +38,24 @@ fn Run() -> i32 { // CHECK:STDOUT: %.loc19_17.2 = load i32, ptr %.loc19_17.1.a, align 4, !dbg !10 // CHECK:STDOUT: %.loc20_4.a = getelementptr inbounds nuw { i32 }, ptr %x.var, i32 0, i32 0, !dbg !11 // CHECK:STDOUT: store i32 2, ptr %.loc20_4.a, align 4, !dbg !11 -// CHECK:STDOUT: call void @"_COp.6956ff2f835d4aac:core.Destroy.Core"(ptr %x.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.e321a4645f519d34:core.Destroy.Core"(ptr %x.var), !dbg !8 // CHECK:STDOUT: ret i32 %.loc19_17.2, !dbg !12 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !13 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.18e3f9faf991ade1:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.901120de26305892:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.6956ff2f835d4aac:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.e321a4645f519d34:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } @@ -85,20 +85,20 @@ fn Run() -> i32 { // CHECK:STDOUT: !10 = !DILocation(line: 19, column: 16, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 20, column: 3, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 22, column: 3, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 18, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 18, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !14 = !DISubroutineType(types: !15) // CHECK:STDOUT: !15 = !{null, !7} // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !13, type: !7) // CHECK:STDOUT: !18 = !DILocation(line: 18, column: 3, scope: !13) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.18e3f9faf991ade1:core.Destroy.Core", scope: null, file: !3, line: 18, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.901120de26305892:core.Destroy.Core", scope: null, file: !3, line: 18, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !22} // CHECK:STDOUT: !22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !19, type: !22) // CHECK:STDOUT: !25 = !DILocation(line: 18, column: 3, scope: !19) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6956ff2f835d4aac:core.Destroy.Core", scope: null, file: !3, line: 18, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e321a4645f519d34:core.Destroy.Core", scope: null, file: !3, line: 18, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !26, type: !22) // CHECK:STDOUT: !29 = !DILocation(line: 18, column: 3, scope: !26) diff --git a/toolchain/lower/testdata/let/tuple.carbon b/toolchain/lower/testdata/let/tuple.carbon index 6163b0db6f75..f06240d10bce 100644 --- a/toolchain/lower/testdata/let/tuple.carbon +++ b/toolchain/lower/testdata/let/tuple.carbon @@ -20,8 +20,8 @@ fn F() -> i32 { // CHECK:STDOUT: ; ModuleID = 'tuple.carbon' // CHECK:STDOUT: source_filename = "tuple.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @tuple.8d2.loc14_3 = internal constant { i32, i32, i32 } { i32 1, i32 2, i32 3 } -// CHECK:STDOUT: @tuple.57b.loc15_3 = internal constant { i32, i32 } { i32 4, i32 5 } +// CHECK:STDOUT: @tuple.282.loc14_3 = internal constant { i32, i32, i32 } { i32 1, i32 2, i32 3 } +// CHECK:STDOUT: @tuple.c5f.loc15_3 = internal constant { i32, i32 } { i32 4, i32 5 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @_CF.Main() #0 !dbg !4 { @@ -35,11 +35,11 @@ fn F() -> i32 { // CHECK:STDOUT: %tuple.elem0.loc14.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %a.var, i32 0, i32 0, !dbg !13 // CHECK:STDOUT: %tuple.elem1.loc14.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %a.var, i32 0, i32 1, !dbg !13 // CHECK:STDOUT: %tuple.elem2.loc14.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %a.var, i32 0, i32 2, !dbg !13 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %a.var, ptr align 4 @tuple.8d2.loc14_3, i64 12, i1 false), !dbg !8 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %a.var, ptr align 4 @tuple.282.loc14_3, i64 12, i1 false), !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %b.var), !dbg !9 // CHECK:STDOUT: %tuple.elem0.loc15.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %b.var, i32 0, i32 0, !dbg !14 // CHECK:STDOUT: %tuple.elem1.loc15.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %b.var, i32 0, i32 1, !dbg !14 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %b.var, ptr align 4 @tuple.57b.loc15_3, i64 8, i1 false), !dbg !9 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %b.var, ptr align 4 @tuple.c5f.loc15_3, i64 8, i1 false), !dbg !9 // CHECK:STDOUT: %tuple.elem0.loc16_43.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %a.var, i32 0, i32 0, !dbg !10 // CHECK:STDOUT: %.loc16_43.1 = load i32, ptr %tuple.elem0.loc16_43.tuple.elem, align 4, !dbg !10 // CHECK:STDOUT: %tuple.elem1.loc16_43.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %a.var, i32 0, i32 1, !dbg !10 @@ -71,25 +71,25 @@ fn F() -> i32 { // CHECK:STDOUT: %tuple.elem1.loc17_11.tuple.elem.load = load ptr, ptr %tuple.elem1.loc17_11.tuple.elem, align 8, !dbg !15 // CHECK:STDOUT: %tuple.elem1.loc17_13.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %tuple.elem1.loc17_11.tuple.elem.load, i32 0, i32 1, !dbg !15 // CHECK:STDOUT: %tuple.elem1.loc17_13.tuple.elem.load = load i32, ptr %tuple.elem1.loc17_13.tuple.elem, align 4, !dbg !15 -// CHECK:STDOUT: call void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %b.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %a.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %b.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %a.var), !dbg !8 // CHECK:STDOUT: ret i32 %tuple.elem1.loc17_13.tuple.elem.load, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !17 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !17 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %self) #0 !dbg !23 { +// CHECK:STDOUT: define weak_odr void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %self) #0 !dbg !23 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %self) #0 !dbg !30 { +// CHECK:STDOUT: define weak_odr void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %self) #0 !dbg !30 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } @@ -127,20 +127,20 @@ fn F() -> i32 { // CHECK:STDOUT: !14 = !DILocation(line: 15, column: 23, scope: !4) // CHECK:STDOUT: !15 = !DILocation(line: 17, column: 10, scope: !4) // CHECK:STDOUT: !16 = !DILocation(line: 17, column: 3, scope: !4) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 15, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 15, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !18 = !DISubroutineType(types: !19) // CHECK:STDOUT: !19 = !{null, !7} // CHECK:STDOUT: !20 = !{!21} // CHECK:STDOUT: !21 = !DILocalVariable(arg: 1, scope: !17, type: !7) // CHECK:STDOUT: !22 = !DILocation(line: 15, column: 3, scope: !17) -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.26f166843e861eec:core.Destroy.Core", scope: null, file: !3, line: 15, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.11d8dd9278293aa3:core.Destroy.Core", scope: null, file: !3, line: 15, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !24 = !DISubroutineType(types: !25) // CHECK:STDOUT: !25 = !{null, !26} // CHECK:STDOUT: !26 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !23, type: !26) // CHECK:STDOUT: !29 = !DILocation(line: 15, column: 3, scope: !23) -// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.9eed32d146d768a4:core.Destroy.Core", scope: null, file: !3, line: 14, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d52e974a95b4c7a0:core.Destroy.Core", scope: null, file: !3, line: 14, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !30, type: !26) // CHECK:STDOUT: !33 = !DILocation(line: 14, column: 3, scope: !30) diff --git a/toolchain/lower/testdata/operators/assignment.carbon b/toolchain/lower/testdata/operators/assignment.carbon index ddebb8eb048d..13c043ccbf7a 100644 --- a/toolchain/lower/testdata/operators/assignment.carbon +++ b/toolchain/lower/testdata/operators/assignment.carbon @@ -25,7 +25,7 @@ fn G() -> (i32, i32) { // CHECK:STDOUT: ; ModuleID = 'assignment.carbon' // CHECK:STDOUT: source_filename = "assignment.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @tuple.03f.loc21_5 = internal constant { i32, i32 } { i32 1, i32 2 } +// CHECK:STDOUT: @tuple.cd5.loc21_5 = internal constant { i32, i32 } { i32 1, i32 2 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @_CF.Main() #0 !dbg !4 { @@ -35,12 +35,12 @@ fn G() -> (i32, i32) { // CHECK:STDOUT: store i32 12, ptr %a.var, align 4, !dbg !8 // CHECK:STDOUT: store i32 9, ptr %a.var, align 4, !dbg !9 // CHECK:STDOUT: %.loc16 = load i32, ptr %a.var, align 4, !dbg !10 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %a.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %a.var), !dbg !8 // CHECK:STDOUT: ret i32 %.loc16, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } @@ -52,7 +52,7 @@ fn G() -> (i32, i32) { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %b.var), !dbg !22 // CHECK:STDOUT: %tuple.elem0.loc21.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %b.var, i32 0, i32 0, !dbg !23 // CHECK:STDOUT: %tuple.elem1.loc21.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %b.var, i32 0, i32 1, !dbg !23 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %b.var, ptr align 4 @tuple.03f.loc21_5, i64 8, i1 false), !dbg !24 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %b.var, ptr align 4 @tuple.cd5.loc21_5, i64 8, i1 false), !dbg !24 // CHECK:STDOUT: %tuple.elem0.loc22_10.1.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %b.var, i32 0, i32 0, !dbg !25 // CHECK:STDOUT: %.loc22_10.1 = load i32, ptr %tuple.elem0.loc22_10.1.tuple.elem, align 4, !dbg !25 // CHECK:STDOUT: %tuple.elem0.loc22_10.2.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %return, i32 0, i32 0, !dbg !25 @@ -61,12 +61,12 @@ fn G() -> (i32, i32) { // CHECK:STDOUT: %.loc22_10.3 = load i32, ptr %tuple.elem1.loc22_10.1.tuple.elem, align 4, !dbg !25 // CHECK:STDOUT: %tuple.elem1.loc22_10.2.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %return, i32 0, i32 1, !dbg !25 // CHECK:STDOUT: store i32 %.loc22_10.3, ptr %tuple.elem1.loc22_10.2.tuple.elem, align 4, !dbg !25 -// CHECK:STDOUT: call void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %b.var), !dbg !22 +// CHECK:STDOUT: call void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %b.var), !dbg !22 // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %self) #0 !dbg !27 { +// CHECK:STDOUT: define weak_odr void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %self) #0 !dbg !27 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !32 // CHECK:STDOUT: } @@ -98,7 +98,7 @@ fn G() -> (i32, i32) { // CHECK:STDOUT: !9 = !DILocation(line: 15, column: 3, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 16, column: 10, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 16, column: 3, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 14, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 14, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !7} // CHECK:STDOUT: !15 = !{!16} @@ -113,7 +113,7 @@ fn G() -> (i32, i32) { // CHECK:STDOUT: !24 = !DILocation(line: 21, column: 3, scope: !18) // CHECK:STDOUT: !25 = !DILocation(line: 22, column: 10, scope: !18) // CHECK:STDOUT: !26 = !DILocation(line: 22, column: 3, scope: !18) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.26f166843e861eec:core.Destroy.Core", scope: null, file: !3, line: 20, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.11d8dd9278293aa3:core.Destroy.Core", scope: null, file: !3, line: 20, type: !28, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !30) // CHECK:STDOUT: !28 = !DISubroutineType(types: !29) // CHECK:STDOUT: !29 = !{null, !21} // CHECK:STDOUT: !30 = !{!31} diff --git a/toolchain/lower/testdata/operators/increment.carbon b/toolchain/lower/testdata/operators/increment.carbon index 6cfd4f077432..f9910d959c91 100644 --- a/toolchain/lower/testdata/operators/increment.carbon +++ b/toolchain/lower/testdata/operators/increment.carbon @@ -29,12 +29,12 @@ fn IncrSigned() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %from.var), !dbg !7 // CHECK:STDOUT: store i32 0, ptr %from.var, align 4, !dbg !7 // CHECK:STDOUT: call void @"_COp.Int.9452f4c51951679b.Core:Inc.Core.be1e879c1ad406d8"(ptr %from.var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %from.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %from.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !10 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !10 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -44,13 +44,13 @@ fn IncrSigned() { // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define linkonce_odr void @"_COp.Int.9452f4c51951679b.Core:Inc.Core.be1e879c1ad406d8"(ptr %self) #0 !dbg !17 { -// CHECK:STDOUT: call void @"_COp:thunk:AddAssignWith.04e8e1f1c1e2bc99.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec"(ptr %self, i32 1), !dbg !21 +// CHECK:STDOUT: call void @"_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17"(ptr %self, i32 1), !dbg !21 // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: alwaysinline nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp:thunk:AddAssignWith.04e8e1f1c1e2bc99.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec"(ptr %self, i32 %other) #2 !dbg !23 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f"(i32 %other), !dbg !29 +// CHECK:STDOUT: define linkonce_odr void @"_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17"(ptr %self, i32 %other) #2 !dbg !23 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %other), !dbg !29 // CHECK:STDOUT: %2 = load i32, ptr %self, align 4, !dbg !30 // CHECK:STDOUT: %3 = add i32 %2, %1, !dbg !30 // CHECK:STDOUT: store i32 %3, ptr %self, align 4, !dbg !30 @@ -58,7 +58,7 @@ fn IncrSigned() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f"(i32 %self) #0 !dbg !31 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %self) #0 !dbg !31 { // CHECK:STDOUT: %1 = call i32 @"_CAsInt.Int.9452f4c51951679b.Core:AnyInt.Core.be1e879c1ad406d8"(i32 %self), !dbg !36 // CHECK:STDOUT: ret i32 %1, !dbg !37 // CHECK:STDOUT: } @@ -85,7 +85,7 @@ fn IncrSigned() { // CHECK:STDOUT: !7 = !DILocation(line: 5, column: 3, scope: !4) // CHECK:STDOUT: !8 = !DILocation(line: 6, column: 3, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 4, column: 1, scope: !4) -// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 5, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 5, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !11 = !DISubroutineType(types: !12) // CHECK:STDOUT: !12 = !{null, !13} // CHECK:STDOUT: !13 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) @@ -98,7 +98,7 @@ fn IncrSigned() { // CHECK:STDOUT: !20 = !DILocalVariable(arg: 1, scope: !17, type: !13) // CHECK:STDOUT: !21 = !DILocation(line: 365, column: 5, scope: !17) // CHECK:STDOUT: !22 = !DILocation(line: 363, column: 3, scope: !17) -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.04e8e1f1c1e2bc99.Core:Int.9452f4c51951679b.Core:AddAssignWith.78e744410a40fd74.Core.580b1b2547b16eec", scope: null, file: !18, line: 299, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp:thunk:AddAssignWith.07875fab836259ed.Core:Int.9452f4c51951679b.Core:AddAssignWith.f8737c9507fb115f.Core.4f441e6d456a6b17", scope: null, file: !18, line: 299, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) // CHECK:STDOUT: !24 = !DISubroutineType(types: !25) // CHECK:STDOUT: !25 = !{null, !13, !13} // CHECK:STDOUT: !26 = !{!27, !28} @@ -106,7 +106,7 @@ fn IncrSigned() { // CHECK:STDOUT: !28 = !DILocalVariable(arg: 2, scope: !23, type: !13) // CHECK:STDOUT: !29 = !DILocation(line: 4294967295, scope: !23) // CHECK:STDOUT: !30 = !DILocation(line: 299, column: 3, scope: !23) -// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f", scope: null, file: !18, line: 62, type: !32, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) +// CHECK:STDOUT: !31 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc", scope: null, file: !18, line: 62, type: !32, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !34) // CHECK:STDOUT: !32 = !DISubroutineType(types: !33) // CHECK:STDOUT: !33 = !{!13, !13} // CHECK:STDOUT: !34 = !{!35} diff --git a/toolchain/lower/testdata/operators/overloaded.carbon b/toolchain/lower/testdata/operators/overloaded.carbon index 2470c6ac4616..b1b7617d75ab 100644 --- a/toolchain/lower/testdata/operators/overloaded.carbon +++ b/toolchain/lower/testdata/operators/overloaded.carbon @@ -47,7 +47,7 @@ fn Calculate(a: Number, b: Number) -> Number { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_COp.Number.Main:MulWith.3dbfed2bcb44ac1d.Core"(ptr sret({ i1 }) %return, ptr %self, ptr %other) #0 !dbg !14 { +// CHECK:STDOUT: define void @"_COp.Number.Main:MulWith.3a589fb197ee16d7.Core"(ptr sret({ i1 }) %return, ptr %self, ptr %other) #0 !dbg !14 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc24_33.1.is_positive = getelementptr inbounds nuw { i1 }, ptr %self, i32 0, i32 0, !dbg !20 // CHECK:STDOUT: %.loc24_33.2 = load i8, ptr %.loc24_33.1.is_positive, align 1, !dbg !20 @@ -97,8 +97,8 @@ fn Calculate(a: Number, b: Number) -> Number { // CHECK:STDOUT: %.loc30_10.1.temp = alloca { i1 }, align 1, !dbg !33 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc30_10.1.temp), !dbg !33 // CHECK:STDOUT: call void @"_COp.Number.Main:Negate.Core"(ptr %.loc30_10.1.temp, ptr %a), !dbg !33 -// CHECK:STDOUT: call void @"_COp.Number.Main:MulWith.3dbfed2bcb44ac1d.Core"(ptr %return, ptr %.loc30_10.1.temp, ptr %b), !dbg !33 -// CHECK:STDOUT: call void @"_COp.78d5830a4b83d551:core.Destroy.Core"(ptr %.loc30_10.1.temp), !dbg !33 +// CHECK:STDOUT: call void @"_COp.Number.Main:MulWith.3a589fb197ee16d7.Core"(ptr %return, ptr %.loc30_10.1.temp, ptr %b), !dbg !33 +// CHECK:STDOUT: call void @"_COp.e6e9beaafe530d3a:core.Destroy.Core"(ptr %.loc30_10.1.temp), !dbg !33 // CHECK:STDOUT: ret void, !dbg !34 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -109,7 +109,7 @@ fn Calculate(a: Number, b: Number) -> Number { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.78d5830a4b83d551:core.Destroy.Core"(ptr %self) #0 !dbg !41 { +// CHECK:STDOUT: define weak_odr void @"_COp.e6e9beaafe530d3a:core.Destroy.Core"(ptr %self) #0 !dbg !41 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !44 // CHECK:STDOUT: } @@ -137,7 +137,7 @@ fn Calculate(a: Number, b: Number) -> Number { // CHECK:STDOUT: !11 = !DILocation(line: 19, column: 28, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 19, column: 12, scope: !4) // CHECK:STDOUT: !13 = !DILocation(line: 19, column: 5, scope: !4) -// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Number.Main:MulWith.3dbfed2bcb44ac1d.Core", scope: null, file: !3, line: 23, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) +// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Number.Main:MulWith.3a589fb197ee16d7.Core", scope: null, file: !3, line: 23, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) // CHECK:STDOUT: !15 = !DISubroutineType(types: !16) // CHECK:STDOUT: !16 = !{!7, !7, !7} // CHECK:STDOUT: !17 = !{!18, !19} @@ -164,7 +164,7 @@ fn Calculate(a: Number, b: Number) -> Number { // CHECK:STDOUT: !38 = !{!39} // CHECK:STDOUT: !39 = !DILocalVariable(arg: 1, scope: !35, type: !7) // CHECK:STDOUT: !40 = !DILocation(line: 30, column: 10, scope: !35) -// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "Op", linkageName: "_COp.78d5830a4b83d551:core.Destroy.Core", scope: null, file: !3, line: 30, type: !36, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) +// CHECK:STDOUT: !41 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e6e9beaafe530d3a:core.Destroy.Core", scope: null, file: !3, line: 30, type: !36, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) // CHECK:STDOUT: !42 = !{!43} // CHECK:STDOUT: !43 = !DILocalVariable(arg: 1, scope: !41, type: !7) // CHECK:STDOUT: !44 = !DILocation(line: 30, column: 10, scope: !41) diff --git a/toolchain/lower/testdata/packages/imported_package_mangle.carbon b/toolchain/lower/testdata/packages/imported_package_mangle.carbon index 73e0b16a0249..810171f211fb 100644 --- a/toolchain/lower/testdata/packages/imported_package_mangle.carbon +++ b/toolchain/lower/testdata/packages/imported_package_mangle.carbon @@ -93,7 +93,7 @@ fn G() { // CHECK:STDOUT: source_filename = "a.carbon" // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CF.cab92310f18b02bb:I.A"() #0 !dbg !4 { +// CHECK:STDOUT: define void @"_CF.ce7776749ca81571:I.A"() #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !7 // CHECK:STDOUT: } @@ -107,7 +107,7 @@ fn G() { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "a.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.cab92310f18b02bb:I.A", scope: null, file: !3, line: 10, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.ce7776749ca81571:I.A", scope: null, file: !3, line: 10, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{null} // CHECK:STDOUT: !7 = !DILocation(line: 10, column: 3, scope: !4) @@ -117,15 +117,15 @@ fn G() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CG.B() #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_CF.cab92310f18b02bb:I.A"(), !dbg !7 -// CHECK:STDOUT: call void @"_CF.6fd31dc02304be88:I.A.91a8a89714fbc21c"(), !dbg !8 +// CHECK:STDOUT: call void @"_CF.ce7776749ca81571:I.A"(), !dbg !7 +// CHECK:STDOUT: call void @"_CF.f094d4704a666a3f:I.A.91a8a89714fbc21c"(), !dbg !8 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CF.cab92310f18b02bb:I.A"() +// CHECK:STDOUT: declare void @"_CF.ce7776749ca81571:I.A"() // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CF.6fd31dc02304be88:I.A.91a8a89714fbc21c"() #0 !dbg !10 { +// CHECK:STDOUT: define linkonce_odr void @"_CF.f094d4704a666a3f:I.A.91a8a89714fbc21c"() #0 !dbg !10 { // CHECK:STDOUT: ret void, !dbg !12 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -144,26 +144,26 @@ fn G() { // CHECK:STDOUT: !7 = !DILocation(line: 7, column: 3, scope: !4) // CHECK:STDOUT: !8 = !DILocation(line: 10, column: 3, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 4, column: 1, scope: !4) -// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "F", linkageName: "_CF.6fd31dc02304be88:I.A.91a8a89714fbc21c", scope: null, file: !11, line: 14, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "F", linkageName: "_CF.f094d4704a666a3f:I.A.91a8a89714fbc21c", scope: null, file: !11, line: 14, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !11 = !DIFile(filename: "a.carbon", directory: "") // CHECK:STDOUT: !12 = !DILocation(line: 14, column: 3, scope: !10) // CHECK:STDOUT: ; ModuleID = 'c.carbon' // CHECK:STDOUT: source_filename = "c.carbon" // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CF.98d334a081741bc3:I.C"() #0 !dbg !4 { +// CHECK:STDOUT: define void @"_CF.8fce14c07716906c:I.C"() #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CF.98d334a081741bc3:I.A"() #0 !dbg !8 { +// CHECK:STDOUT: define void @"_CF.8fce14c07716906c:I.A"() #0 !dbg !8 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CF.cab92310f18b02bb:I.C"() #0 !dbg !10 { +// CHECK:STDOUT: define void @"_CF.ce7776749ca81571:I.C"() #0 !dbg !10 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !11 // CHECK:STDOUT: } @@ -171,38 +171,38 @@ fn G() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CG.C() #0 !dbg !12 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_CF.cab92310f18b02bb:I.A"(), !dbg !13 -// CHECK:STDOUT: call void @"_CF.98d334a081741bc3:I.A"(), !dbg !14 -// CHECK:STDOUT: call void @"_CF.cab92310f18b02bb:I.C"(), !dbg !15 -// CHECK:STDOUT: call void @"_CF.98d334a081741bc3:I.C"(), !dbg !16 -// CHECK:STDOUT: call void @"_CF.6fd31dc02304be88:I.A.91a8a89714fbc21c"(), !dbg !17 -// CHECK:STDOUT: call void @"_CF.f0ae628b73c908db:I.A.91a8a89714fbc21c"(), !dbg !18 -// CHECK:STDOUT: call void @"_CF.6fd31dc02304be88:I.C.91a8a89714fbc21c"(), !dbg !19 -// CHECK:STDOUT: call void @"_CF.f0ae628b73c908db:I.C.91a8a89714fbc21c"(), !dbg !20 +// CHECK:STDOUT: call void @"_CF.ce7776749ca81571:I.A"(), !dbg !13 +// CHECK:STDOUT: call void @"_CF.8fce14c07716906c:I.A"(), !dbg !14 +// CHECK:STDOUT: call void @"_CF.ce7776749ca81571:I.C"(), !dbg !15 +// CHECK:STDOUT: call void @"_CF.8fce14c07716906c:I.C"(), !dbg !16 +// CHECK:STDOUT: call void @"_CF.f094d4704a666a3f:I.A.91a8a89714fbc21c"(), !dbg !17 +// CHECK:STDOUT: call void @"_CF.3af10a4f384a52b9:I.A.91a8a89714fbc21c"(), !dbg !18 +// CHECK:STDOUT: call void @"_CF.f094d4704a666a3f:I.C.91a8a89714fbc21c"(), !dbg !19 +// CHECK:STDOUT: call void @"_CF.3af10a4f384a52b9:I.C.91a8a89714fbc21c"(), !dbg !20 // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CF.cab92310f18b02bb:I.A"() +// CHECK:STDOUT: declare void @"_CF.ce7776749ca81571:I.A"() // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CF.6fd31dc02304be88:I.A.91a8a89714fbc21c"() #0 !dbg !22 { +// CHECK:STDOUT: define linkonce_odr void @"_CF.f094d4704a666a3f:I.A.91a8a89714fbc21c"() #0 !dbg !22 { // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CF.f0ae628b73c908db:I.A.91a8a89714fbc21c"() #0 !dbg !25 { +// CHECK:STDOUT: define linkonce_odr void @"_CF.3af10a4f384a52b9:I.A.91a8a89714fbc21c"() #0 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CF.6fd31dc02304be88:I.C.91a8a89714fbc21c"() #0 !dbg !27 { +// CHECK:STDOUT: define linkonce_odr void @"_CF.f094d4704a666a3f:I.C.91a8a89714fbc21c"() #0 !dbg !27 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CF.f0ae628b73c908db:I.C.91a8a89714fbc21c"() #0 !dbg !29 { +// CHECK:STDOUT: define linkonce_odr void @"_CF.3af10a4f384a52b9:I.C.91a8a89714fbc21c"() #0 !dbg !29 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !30 // CHECK:STDOUT: } @@ -216,13 +216,13 @@ fn G() { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "c.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.98d334a081741bc3:I.C", scope: null, file: !3, line: 12, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.8fce14c07716906c:I.C", scope: null, file: !3, line: 12, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{null} // CHECK:STDOUT: !7 = !DILocation(line: 12, column: 3, scope: !4) -// CHECK:STDOUT: !8 = distinct !DISubprogram(name: "F", linkageName: "_CF.98d334a081741bc3:I.A", scope: null, file: !3, line: 20, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !8 = distinct !DISubprogram(name: "F", linkageName: "_CF.8fce14c07716906c:I.A", scope: null, file: !3, line: 20, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !9 = !DILocation(line: 20, column: 3, scope: !8) -// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "F", linkageName: "_CF.cab92310f18b02bb:I.C", scope: null, file: !3, line: 28, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "F", linkageName: "_CF.ce7776749ca81571:I.C", scope: null, file: !3, line: 28, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !11 = !DILocation(line: 28, column: 3, scope: !10) // CHECK:STDOUT: !12 = distinct !DISubprogram(name: "G", linkageName: "_CG.C", scope: null, file: !3, line: 35, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !13 = !DILocation(line: 37, column: 3, scope: !12) @@ -234,12 +234,12 @@ fn G() { // CHECK:STDOUT: !19 = !DILocation(line: 45, column: 3, scope: !12) // CHECK:STDOUT: !20 = !DILocation(line: 46, column: 3, scope: !12) // CHECK:STDOUT: !21 = !DILocation(line: 35, column: 1, scope: !12) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "F", linkageName: "_CF.6fd31dc02304be88:I.A.91a8a89714fbc21c", scope: null, file: !23, line: 14, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "F", linkageName: "_CF.f094d4704a666a3f:I.A.91a8a89714fbc21c", scope: null, file: !23, line: 14, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !23 = !DIFile(filename: "a.carbon", directory: "") // CHECK:STDOUT: !24 = !DILocation(line: 14, column: 3, scope: !22) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "F", linkageName: "_CF.f0ae628b73c908db:I.A.91a8a89714fbc21c", scope: null, file: !3, line: 24, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "F", linkageName: "_CF.3af10a4f384a52b9:I.A.91a8a89714fbc21c", scope: null, file: !3, line: 24, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !26 = !DILocation(line: 24, column: 3, scope: !25) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "F", linkageName: "_CF.6fd31dc02304be88:I.C.91a8a89714fbc21c", scope: null, file: !3, line: 32, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "F", linkageName: "_CF.f094d4704a666a3f:I.C.91a8a89714fbc21c", scope: null, file: !3, line: 32, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !28 = !DILocation(line: 32, column: 3, scope: !27) -// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "F", linkageName: "_CF.f0ae628b73c908db:I.C.91a8a89714fbc21c", scope: null, file: !3, line: 16, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "F", linkageName: "_CF.3af10a4f384a52b9:I.C.91a8a89714fbc21c", scope: null, file: !3, line: 16, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !30 = !DILocation(line: 16, column: 3, scope: !29) diff --git a/toolchain/lower/testdata/packages/imported_package_mangle_string.carbon b/toolchain/lower/testdata/packages/imported_package_mangle_string.carbon index c57dd65112d1..ee22da645b93 100644 --- a/toolchain/lower/testdata/packages/imported_package_mangle_string.carbon +++ b/toolchain/lower/testdata/packages/imported_package_mangle_string.carbon @@ -45,13 +45,13 @@ fn G() { // CHECK:STDOUT: source_filename = "a.carbon" // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,C,A,,!invalid}}:I.A"() #0 !dbg !4 { +// CHECK:STDOUT: define void @"_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,C,,A,!invalid,!invalid}}:I.A"() #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !7 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @"_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,D,N,A,,!invalid}}:I.A"() #0 !dbg !8 { +// CHECK:STDOUT: define void @"_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,D,N,,A,!invalid,!invalid}}:I.A"() #0 !dbg !8 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } @@ -65,11 +65,11 @@ fn G() { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "a.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,C,A,,!invalid}}:I.A", scope: null, file: !3, line: 10, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "F", linkageName: "_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,C,,A,!invalid,!invalid}}:I.A", scope: null, file: !3, line: 10, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{null} // CHECK:STDOUT: !7 = !DILocation(line: 10, column: 3, scope: !4) -// CHECK:STDOUT: !8 = distinct !DISubprogram(name: "F", linkageName: "_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,D,N,A,,!invalid}}:I.A", scope: null, file: !3, line: 17, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !8 = distinct !DISubprogram(name: "F", linkageName: "_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,D,N,,A,!invalid,!invalid}}:I.A", scope: null, file: !3, line: 17, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !9 = !DILocation(line: 17, column: 3, scope: !8) // CHECK:STDOUT: ; ModuleID = 'b.carbon' // CHECK:STDOUT: source_filename = "b.carbon" @@ -77,14 +77,14 @@ fn G() { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CG.B() #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,C,A,,!invalid}}:I.A"(), !dbg !7 -// CHECK:STDOUT: call void @"_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,D,N,A,,!invalid}}:I.A"(), !dbg !8 +// CHECK:STDOUT: call void @"_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,C,,A,!invalid,!invalid}}:I.A"(), !dbg !7 +// CHECK:STDOUT: call void @"_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,D,N,,A,!invalid,!invalid}}:I.A"(), !dbg !8 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,C,A,,!invalid}}:I.A"() +// CHECK:STDOUT: declare void @"_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,C,,A,!invalid,!invalid}}:I.A"() // CHECK:STDOUT: -// CHECK:STDOUT: declare void @"_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,D,N,A,,!invalid}}:I.A"() +// CHECK:STDOUT: declare void @"_CF.{array_type,{int_value,{Core.IntLiteral},1},{class_type,D,N,,A,!invalid,!invalid}}:I.A"() // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: diff --git a/toolchain/lower/testdata/packages/imported_type_completeness.carbon b/toolchain/lower/testdata/packages/imported_type_completeness.carbon index 31b52753fb48..901aeecbf55c 100644 --- a/toolchain/lower/testdata/packages/imported_type_completeness.carbon +++ b/toolchain/lower/testdata/packages/imported_type_completeness.carbon @@ -105,7 +105,7 @@ fn CallF() { // CHECK:STDOUT: ; ModuleID = 'use_without_completion_in_call.carbon' // CHECK:STDOUT: source_filename = "use_without_completion_in_call.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @C.val.fdb = internal constant {} zeroinitializer +// CHECK:STDOUT: @C.val.c83 = internal constant {} zeroinitializer // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CI.Main() #0 !dbg !4 { @@ -115,7 +115,7 @@ fn CallF() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.433e7940bfa1ba90:core.Destroy.Core"(ptr %self) #0 !dbg !9 { +// CHECK:STDOUT: define weak_odr void @"_COp.1934bd570a7cf9ba:core.Destroy.Core"(ptr %self) #0 !dbg !9 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -128,8 +128,8 @@ fn CallF() { // CHECK:STDOUT: %1 = call i123 @_CF.C.Main.e43630e9a6c38c3f(), !dbg !20 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %temp1), !dbg !19 // CHECK:STDOUT: %2 = call i456 @_CG.C.Main.e43630e9a6c38c3f(), !dbg !21 -// CHECK:STDOUT: call void @"_COp.433e7940bfa1ba90:core.Destroy.Core"(ptr @C.val.fdb), !dbg !19 -// CHECK:STDOUT: call void @"_COp.433e7940bfa1ba90:core.Destroy.Core"(ptr @C.val.fdb), !dbg !18 +// CHECK:STDOUT: call void @"_COp.1934bd570a7cf9ba:core.Destroy.Core"(ptr @C.val.c83), !dbg !19 +// CHECK:STDOUT: call void @"_COp.1934bd570a7cf9ba:core.Destroy.Core"(ptr @C.val.c83), !dbg !18 // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -164,7 +164,7 @@ fn CallF() { // CHECK:STDOUT: !6 = !{null} // CHECK:STDOUT: !7 = !DILocation(line: 9, column: 3, scope: !4) // CHECK:STDOUT: !8 = !DILocation(line: 6, column: 1, scope: !4) -// CHECK:STDOUT: !9 = distinct !DISubprogram(name: "Op", linkageName: "_COp.433e7940bfa1ba90:core.Destroy.Core", scope: null, file: !10, line: 22, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !9 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1934bd570a7cf9ba:core.Destroy.Core", scope: null, file: !10, line: 22, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !10 = !DIFile(filename: "require_completion_in_call.carbon", directory: "") // CHECK:STDOUT: !11 = !DISubroutineType(types: !12) // CHECK:STDOUT: !12 = !{null, !13} @@ -259,23 +259,23 @@ fn CallF() { // CHECK:STDOUT: ; ModuleID = 'use_without_completion_in_virtual_call.carbon' // CHECK:STDOUT: source_filename = "use_without_completion_in_virtual_call.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @C.val.a51 = internal constant {} zeroinitializer -// CHECK:STDOUT: @"_CC.Main.$vtable.48caacd0cd7b6e0f" = external unnamed_addr constant ptr -// CHECK:STDOUT: @C.val.a51.loc9_11.3 = internal constant {} zeroinitializer -// CHECK:STDOUT: @C.val.26b.anon = internal constant { ptr } { ptr @"_CC.Main.$vtable.48caacd0cd7b6e0f" } +// CHECK:STDOUT: @C.val.28a = internal constant {} zeroinitializer +// CHECK:STDOUT: @"_CC.Main.$vtable.e3776368f2983b35" = external unnamed_addr constant ptr +// CHECK:STDOUT: @C.val.28a.loc9_11.3 = internal constant {} zeroinitializer +// CHECK:STDOUT: @C.val.e81.anon = internal constant { ptr } { ptr @"_CC.Main.$vtable.e3776368f2983b35" } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CCallF.Main() #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %.loc9_9.2.temp = alloca {}, align 1, !dbg !7 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc9_9.2.temp), !dbg !7 -// CHECK:STDOUT: call void @_CF.Main.48caacd0cd7b6e0f(ptr @C.val.a51.loc9_11.3), !dbg !8 -// CHECK:STDOUT: call void @"_COp.a2f46f9b7e36af17:core.Destroy.Core"(ptr @C.val.a51), !dbg !7 +// CHECK:STDOUT: call void @_CF.Main.e3776368f2983b35(ptr @C.val.28a.loc9_11.3), !dbg !8 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr @C.val.28a), !dbg !7 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.a2f46f9b7e36af17:core.Destroy.Core"(ptr %self) #0 !dbg !10 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !10 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -287,7 +287,7 @@ fn CallF() { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.c24d236d733efff7:core.Destroy.Core"(ptr %self) #0 !dbg !22 { +// CHECK:STDOUT: define weak_odr void @"_COp.7750144ed108260e:core.Destroy.Core"(ptr %self) #0 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } @@ -296,18 +296,18 @@ fn CallF() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CF.Main.48caacd0cd7b6e0f(ptr %t) #0 !dbg !26 { +// CHECK:STDOUT: define linkonce_odr void @_CF.Main.e3776368f2983b35(ptr %t) #0 !dbg !26 { // CHECK:STDOUT: %1 = alloca { ptr }, align 8, !dbg !29 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %1), !dbg !29 // CHECK:STDOUT: %vptr = getelementptr inbounds nuw { ptr }, ptr %1, i32 0, i32 0, !dbg !30 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1, ptr align 8 @C.val.26b.anon, i64 8, i1 false), !dbg !29 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1, ptr align 8 @C.val.e81.anon, i64 8, i1 false), !dbg !29 // CHECK:STDOUT: %vtable = load ptr, ptr %1, align 8, !dbg !31 // CHECK:STDOUT: %2 = call ptr @llvm.load.relative.i32(ptr %vtable, i32 0), !dbg !31 // CHECK:STDOUT: %3 = call i11 %2(ptr %1), !dbg !31 // CHECK:STDOUT: %vtable1 = load ptr, ptr %1, align 8, !dbg !32 // CHECK:STDOUT: %4 = call ptr @llvm.load.relative.i32(ptr %vtable1, i32 4), !dbg !32 // CHECK:STDOUT: %5 = call i12 %4(ptr %1, ptr %t), !dbg !32 -// CHECK:STDOUT: call void @"_COp.c24d236d733efff7:core.Destroy.Core"(ptr %1), !dbg !29 +// CHECK:STDOUT: call void @"_COp.7750144ed108260e:core.Destroy.Core"(ptr %1), !dbg !29 // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -315,7 +315,7 @@ fn CallF() { // CHECK:STDOUT: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i11 @_CF.C.Main.48caacd0cd7b6e0f(ptr %self) #0 !dbg !34 { +// CHECK:STDOUT: define linkonce_odr i11 @_CF.C.Main.e3776368f2983b35(ptr %self) #0 !dbg !34 { // CHECK:STDOUT: ret i11 11, !dbg !41 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -323,7 +323,7 @@ fn CallF() { // CHECK:STDOUT: declare ptr @llvm.load.relative.i32(ptr, i32) #2 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i12 @_CG.C.Main.48caacd0cd7b6e0f(ptr %self, ptr %t) #0 !dbg !42 { +// CHECK:STDOUT: define linkonce_odr i12 @_CG.C.Main.e3776368f2983b35(ptr %self, ptr %t) #0 !dbg !42 { // CHECK:STDOUT: ret i12 12, !dbg !49 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -347,7 +347,7 @@ fn CallF() { // CHECK:STDOUT: !7 = !DILocation(line: 9, column: 8, scope: !4) // CHECK:STDOUT: !8 = !DILocation(line: 9, column: 3, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 8, column: 1, scope: !4) -// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.a2f46f9b7e36af17:core.Destroy.Core", scope: null, file: !3, line: 9, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 9, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !11 = !DISubroutineType(types: !12) // CHECK:STDOUT: !12 = !{null, !13} // CHECK:STDOUT: !13 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) @@ -359,11 +359,11 @@ fn CallF() { // CHECK:STDOUT: !19 = !{!20} // CHECK:STDOUT: !20 = !DILocalVariable(arg: 1, scope: !17, type: !13) // CHECK:STDOUT: !21 = !DILocation(line: 7, column: 3, scope: !17) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c24d236d733efff7:core.Destroy.Core", scope: null, file: !18, line: 7, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.7750144ed108260e:core.Destroy.Core", scope: null, file: !18, line: 7, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !22, type: !13) // CHECK:STDOUT: !25 = !DILocation(line: 7, column: 3, scope: !22) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.48caacd0cd7b6e0f", scope: null, file: !18, line: 6, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.e3776368f2983b35", scope: null, file: !18, line: 6, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !26, type: !13) // CHECK:STDOUT: !29 = !DILocation(line: 7, column: 3, scope: !26) @@ -371,7 +371,7 @@ fn CallF() { // CHECK:STDOUT: !31 = !DILocation(line: 8, column: 3, scope: !26) // CHECK:STDOUT: !32 = !DILocation(line: 9, column: 3, scope: !26) // CHECK:STDOUT: !33 = !DILocation(line: 6, column: 1, scope: !26) -// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.Main.48caacd0cd7b6e0f", scope: null, file: !35, line: 6, type: !36, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !39) +// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "F", linkageName: "_CF.C.Main.e3776368f2983b35", scope: null, file: !35, line: 6, type: !36, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !39) // CHECK:STDOUT: !35 = !DIFile(filename: "require_completion_in_vtable.carbon", directory: "") // CHECK:STDOUT: !36 = !DISubroutineType(types: !37) // CHECK:STDOUT: !37 = !{!38, !13} @@ -379,7 +379,7 @@ fn CallF() { // CHECK:STDOUT: !39 = !{!40} // CHECK:STDOUT: !40 = !DILocalVariable(arg: 1, scope: !34, type: !13) // CHECK:STDOUT: !41 = !DILocation(line: 6, column: 55, scope: !34) -// CHECK:STDOUT: !42 = distinct !DISubprogram(name: "G", linkageName: "_CG.C.Main.48caacd0cd7b6e0f", scope: null, file: !35, line: 7, type: !43, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) +// CHECK:STDOUT: !42 = distinct !DISubprogram(name: "G", linkageName: "_CG.C.Main.e3776368f2983b35", scope: null, file: !35, line: 7, type: !43, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) // CHECK:STDOUT: !43 = !DISubroutineType(types: !44) // CHECK:STDOUT: !44 = !{!45, !13, !13} // CHECK:STDOUT: !45 = !DIBasicType(name: "int", size: 12, encoding: DW_ATE_signed) diff --git a/toolchain/lower/testdata/packages/private_external_mangle.carbon b/toolchain/lower/testdata/packages/private_external_mangle.carbon index 134363c84ee9..703dbdb467ad 100644 --- a/toolchain/lower/testdata/packages/private_external_mangle.carbon +++ b/toolchain/lower/testdata/packages/private_external_mangle.carbon @@ -71,14 +71,14 @@ fn F() { // CHECK:STDOUT: declare void @_CA.Main() // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @_CCall.Main.13ec69da6a0ff668() #0 !dbg !4 { +// CHECK:STDOUT: define void @_CCall.Main.5bef28f1fba0ae94() #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_CA.Main(), !dbg !7 // CHECK:STDOUT: ret void, !dbg !8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @_CCall.C.Main.4854c3740e872e1f() #0 !dbg !9 { +// CHECK:STDOUT: define void @_CCall.C.Main.210474cb27d468f8() #0 !dbg !9 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_CA.Main(), !dbg !10 // CHECK:STDOUT: ret void, !dbg !11 @@ -93,12 +93,12 @@ fn F() { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "private_call_a.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Call", linkageName: "_CCall.Main.13ec69da6a0ff668", scope: null, file: !3, line: 6, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Call", linkageName: "_CCall.Main.5bef28f1fba0ae94", scope: null, file: !3, line: 6, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{null} // CHECK:STDOUT: !7 = !DILocation(line: 7, column: 3, scope: !4) // CHECK:STDOUT: !8 = !DILocation(line: 6, column: 1, scope: !4) -// CHECK:STDOUT: !9 = distinct !DISubprogram(name: "Call", linkageName: "_CCall.C.Main.4854c3740e872e1f", scope: null, file: !3, line: 11, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !9 = distinct !DISubprogram(name: "Call", linkageName: "_CCall.C.Main.210474cb27d468f8", scope: null, file: !3, line: 11, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !10 = !DILocation(line: 12, column: 5, scope: !9) // CHECK:STDOUT: !11 = !DILocation(line: 11, column: 3, scope: !9) // CHECK:STDOUT: ; ModuleID = 'private_call_b.carbon' @@ -107,14 +107,14 @@ fn F() { // CHECK:STDOUT: declare void @_CB.Main() // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @_CCall.Main.bb9a9a0bfd3df410() #0 !dbg !4 { +// CHECK:STDOUT: define void @_CCall.Main.64199eeee1465ed1() #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_CB.Main(), !dbg !7 // CHECK:STDOUT: ret void, !dbg !8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define void @_CCall.C.Main.d31de1863abe6740() #0 !dbg !9 { +// CHECK:STDOUT: define void @_CCall.C.Main.210474cb27d468f8() #0 !dbg !9 { // CHECK:STDOUT: entry: // CHECK:STDOUT: call void @_CB.Main(), !dbg !10 // CHECK:STDOUT: ret void, !dbg !11 @@ -129,12 +129,12 @@ fn F() { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "private_call_b.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Call", linkageName: "_CCall.Main.bb9a9a0bfd3df410", scope: null, file: !3, line: 6, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Call", linkageName: "_CCall.Main.64199eeee1465ed1", scope: null, file: !3, line: 6, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{null} // CHECK:STDOUT: !7 = !DILocation(line: 7, column: 3, scope: !4) // CHECK:STDOUT: !8 = !DILocation(line: 6, column: 1, scope: !4) -// CHECK:STDOUT: !9 = distinct !DISubprogram(name: "Call", linkageName: "_CCall.C.Main.d31de1863abe6740", scope: null, file: !3, line: 11, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !9 = distinct !DISubprogram(name: "Call", linkageName: "_CCall.C.Main.210474cb27d468f8", scope: null, file: !3, line: 11, type: !5, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !10 = !DILocation(line: 12, column: 5, scope: !9) // CHECK:STDOUT: !11 = !DILocation(line: 11, column: 3, scope: !9) // CHECK:STDOUT: ; ModuleID = 'use_a_and_b.carbon' @@ -150,29 +150,30 @@ fn F() { // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define linkonce_odr void @_CCallInA.Main.6944efcfbb6a8360() #0 !dbg !10 { -// CHECK:STDOUT: call void @_CCall.Main.13ec69da6a0ff668(), !dbg !12 -// CHECK:STDOUT: call void @_CCall.C.Main.4854c3740e872e1f(), !dbg !13 +// CHECK:STDOUT: call void @_CCall.Main.5bef28f1fba0ae94(), !dbg !12 +// CHECK:STDOUT: call void @_CCall.C.Main.210474cb27d468f8(), !dbg !13 // CHECK:STDOUT: ret void, !dbg !14 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define linkonce_odr void @_CCallInB.Main.6944efcfbb6a8360() #0 !dbg !15 { -// CHECK:STDOUT: call void @_CCall.Main.bb9a9a0bfd3df410(), !dbg !17 -// CHECK:STDOUT: call void @_CCall.C.Main.d31de1863abe6740(), !dbg !18 +// CHECK:STDOUT: call void @_CCall.Main.64199eeee1465ed1(), !dbg !17 +// CHECK:STDOUT: call void @_CCall.C.Main.210474cb27d468f8(), !dbg !18 // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: declare void @_CA.Main() // CHECK:STDOUT: -// CHECK:STDOUT: declare void @_CCall.Main.13ec69da6a0ff668() +// CHECK:STDOUT: declare void @_CCall.Main.5bef28f1fba0ae94() // CHECK:STDOUT: -// CHECK:STDOUT: declare void @_CCall.C.Main.4854c3740e872e1f() +// CHECK:STDOUT: declare void @_CCall.C.Main.210474cb27d468f8() // CHECK:STDOUT: // CHECK:STDOUT: declare void @_CB.Main() // CHECK:STDOUT: -// CHECK:STDOUT: declare void @_CCall.Main.bb9a9a0bfd3df410() +// CHECK:STDOUT: declare void @_CCall.Main.64199eeee1465ed1() // CHECK:STDOUT: -// CHECK:STDOUT: declare void @_CCall.C.Main.d31de1863abe6740() +// CHECK:STDOUT: ; uselistorder directives +// CHECK:STDOUT: uselistorder ptr @_CCall.C.Main.210474cb27d468f8, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: diff --git a/toolchain/lower/testdata/packages/separate_compilation_witness.carbon b/toolchain/lower/testdata/packages/separate_compilation_witness.carbon new file mode 100644 index 000000000000..cfa8d58f5db7 --- /dev/null +++ b/toolchain/lower/testdata/packages/separate_compilation_witness.carbon @@ -0,0 +1,565 @@ +// Part of the Carbon Language project, under the Apache License v2.0 with LLVM +// Exceptions. See /LICENSE for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +// INCLUDE-FILE: toolchain/testing/testdata/min_prelude/full.carbon +// +// AUTOUPDATE +// TIP: To test this file alone, run: +// TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/lower/testdata/packages/separate_compilation_witness.carbon +// TIP: To dump output, run: +// TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/lower/testdata/packages/separate_compilation_witness.carbon + +// This test ensures that we get the same mangled name for the below `(Vector as +// Add).Op` function for various calls from different contexts. + +// --- owner.carbon +package OwningPackage library "[[@TEST_NAME]]"; + +class Vector { + var x: i32; +} + +impl Vector as Core.AddWith(Vector) where .Result = Vector { + fn Op[self: Vector](other: Vector) -> Vector { + return {.x = self.x + other.x}; + } +} + +// --- owner.impl.carbon +impl package OwningPackage library "[[@TEST_NAME]]"; + +fn DirectInImplFile(v1: Vector, v2: Vector) -> Vector { + // Direct call, same package, same library. + return v1 + v2; +} + +// --- direct_same_package.carbon +package OwningPackage library "[[@TEST_NAME]]"; + +import library "owner"; + +fn Direct(v1: Vector, v2: Vector) -> Vector { + // Direct call, same package, different library. + return v1 + v2; +} + +// --- generic_same_package.carbon +package OwningPackage library "[[@TEST_NAME]]"; + +import library "owner"; + +fn Generic(unused T:! type, v1: Vector, v2: Vector) -> Vector { + return v1 + v2; +} + +fn Make() -> Vector; + +// --- indirect_same_package.carbon +package OwningPackage library "[[@TEST_NAME]]"; + +import library "generic_same_package"; + +fn CallGeneric() { + // Indirect call, same package, different library. + Generic((), Make(), Make()); +} + +// --- direct_different_package.carbon +package OtherPackage library "[[@TEST_NAME]]"; + +import OwningPackage library "owner"; + +fn Direct(v1: OwningPackage.Vector, v2: OwningPackage.Vector) -> OwningPackage.Vector { + // Direct call, different package. + return v1 + v2; +} + +// --- indirect_different_package_via_generic_in_same_package.carbon +package OtherPackage library "[[@TEST_NAME]]"; + +import OwningPackage library "generic_same_package"; + +fn CallGenericInOwningPackage() { + // Indirect call, different package. + OwningPackage.Generic((), OwningPackage.Make(), OwningPackage.Make()); +} + +// --- generic_different_package.carbon +package OtherPackage library "[[@TEST_NAME]]"; + +import OwningPackage library "owner"; + +fn Generic(unused T:! type, v1: OwningPackage.Vector, v2: OwningPackage.Vector) -> OwningPackage.Vector { + return v1 + v2; +} + +fn Make() -> OwningPackage.Vector; + +// --- indirect_different_package_via_generic_in_different_package.carbon +package OtherPackage library "[[@TEST_NAME]]"; + +import library "generic_different_package"; + +fn CallGeneric() { + // Indirect call, different package. + Generic((), Make(), Make()); +} + +// CHECK:STDOUT: ; ModuleID = 'owner.carbon' +// CHECK:STDOUT: source_filename = "owner.carbon" +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr sret({ i32 }) %return, ptr %self, ptr %other) #0 !dbg !4 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: %.loc9_22.1.x = getelementptr inbounds nuw { i32 }, ptr %self, i32 0, i32 0, !dbg !11 +// CHECK:STDOUT: %.loc9_22.2 = load i32, ptr %.loc9_22.1.x, align 4, !dbg !11 +// CHECK:STDOUT: %.loc9_32.1.x = getelementptr inbounds nuw { i32 }, ptr %other, i32 0, i32 0, !dbg !12 +// CHECK:STDOUT: %.loc9_32.2 = load i32, ptr %.loc9_32.1.x, align 4, !dbg !12 +// CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %.loc9_22.2, %.loc9_32.2, !dbg !11 +// CHECK:STDOUT: %.loc9_34.2.x = getelementptr inbounds nuw { i32 }, ptr %return, i32 0, i32 0, !dbg !13 +// CHECK:STDOUT: store i32 %Int.as.AddWith.impl.Op.call, ptr %.loc9_34.2.x, align 4, !dbg !13 +// CHECK:STDOUT: ret void, !dbg !14 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: attributes #0 = { nounwind } +// CHECK:STDOUT: +// CHECK:STDOUT: !llvm.module.flags = !{!0, !1} +// CHECK:STDOUT: !llvm.dbg.cu = !{!2} +// CHECK:STDOUT: +// CHECK:STDOUT: !0 = !{i32 7, !"Dwarf Version", i32 5} +// CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} +// CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) +// CHECK:STDOUT: !3 = !DIFile(filename: "owner.carbon", directory: "") +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core", scope: null, file: !3, line: 8, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !5 = !DISubroutineType(types: !6) +// CHECK:STDOUT: !6 = !{!7, !7, !7} +// CHECK:STDOUT: !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) +// CHECK:STDOUT: !8 = !{!9, !10} +// CHECK:STDOUT: !9 = !DILocalVariable(arg: 1, scope: !4, type: !7) +// CHECK:STDOUT: !10 = !DILocalVariable(arg: 2, scope: !4, type: !7) +// CHECK:STDOUT: !11 = !DILocation(line: 9, column: 18, scope: !4) +// CHECK:STDOUT: !12 = !DILocation(line: 9, column: 27, scope: !4) +// CHECK:STDOUT: !13 = !DILocation(line: 9, column: 12, scope: !4) +// CHECK:STDOUT: !14 = !DILocation(line: 9, column: 5, scope: !4) +// CHECK:STDOUT: ; ModuleID = 'owner.impl.carbon' +// CHECK:STDOUT: source_filename = "owner.impl.carbon" +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define void @_CDirectInImplFile.OwningPackage(ptr sret({ i32 }) %return, ptr %v1, ptr %v2) #0 !dbg !4 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: call void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr %return, ptr %v1, ptr %v2), !dbg !11 +// CHECK:STDOUT: ret void, !dbg !12 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr sret({ i32 }), ptr, ptr) +// CHECK:STDOUT: +// CHECK:STDOUT: attributes #0 = { nounwind } +// CHECK:STDOUT: +// CHECK:STDOUT: !llvm.module.flags = !{!0, !1} +// CHECK:STDOUT: !llvm.dbg.cu = !{!2} +// CHECK:STDOUT: +// CHECK:STDOUT: !0 = !{i32 7, !"Dwarf Version", i32 5} +// CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} +// CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) +// CHECK:STDOUT: !3 = !DIFile(filename: "owner.impl.carbon", directory: "") +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "DirectInImplFile", linkageName: "_CDirectInImplFile.OwningPackage", scope: null, file: !3, line: 3, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !5 = !DISubroutineType(types: !6) +// CHECK:STDOUT: !6 = !{!7, !7, !7} +// CHECK:STDOUT: !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) +// CHECK:STDOUT: !8 = !{!9, !10} +// CHECK:STDOUT: !9 = !DILocalVariable(arg: 1, scope: !4, type: !7) +// CHECK:STDOUT: !10 = !DILocalVariable(arg: 2, scope: !4, type: !7) +// CHECK:STDOUT: !11 = !DILocation(line: 5, column: 10, scope: !4) +// CHECK:STDOUT: !12 = !DILocation(line: 5, column: 3, scope: !4) +// CHECK:STDOUT: ; ModuleID = 'direct_same_package.carbon' +// CHECK:STDOUT: source_filename = "direct_same_package.carbon" +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define void @_CDirect.OwningPackage(ptr sret({ i32 }) %return, ptr %v1, ptr %v2) #0 !dbg !4 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: call void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr %return, ptr %v1, ptr %v2), !dbg !11 +// CHECK:STDOUT: ret void, !dbg !12 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr sret({ i32 }), ptr, ptr) +// CHECK:STDOUT: +// CHECK:STDOUT: attributes #0 = { nounwind } +// CHECK:STDOUT: +// CHECK:STDOUT: !llvm.module.flags = !{!0, !1} +// CHECK:STDOUT: !llvm.dbg.cu = !{!2} +// CHECK:STDOUT: +// CHECK:STDOUT: !0 = !{i32 7, !"Dwarf Version", i32 5} +// CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} +// CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) +// CHECK:STDOUT: !3 = !DIFile(filename: "direct_same_package.carbon", directory: "") +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Direct", linkageName: "_CDirect.OwningPackage", scope: null, file: !3, line: 5, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !5 = !DISubroutineType(types: !6) +// CHECK:STDOUT: !6 = !{!7, !7, !7} +// CHECK:STDOUT: !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) +// CHECK:STDOUT: !8 = !{!9, !10} +// CHECK:STDOUT: !9 = !DILocalVariable(arg: 1, scope: !4, type: !7) +// CHECK:STDOUT: !10 = !DILocalVariable(arg: 2, scope: !4, type: !7) +// CHECK:STDOUT: !11 = !DILocation(line: 7, column: 10, scope: !4) +// CHECK:STDOUT: !12 = !DILocation(line: 7, column: 3, scope: !4) +// CHECK:STDOUT: ; ModuleID = 'generic_same_package.carbon' +// CHECK:STDOUT: source_filename = "generic_same_package.carbon" +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr sret({ i32 }), ptr, ptr) +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @_CMake.OwningPackage(ptr sret({ i32 })) +// CHECK:STDOUT: +// CHECK:STDOUT: !llvm.module.flags = !{!0, !1} +// CHECK:STDOUT: !llvm.dbg.cu = !{!2} +// CHECK:STDOUT: +// CHECK:STDOUT: !0 = !{i32 7, !"Dwarf Version", i32 5} +// CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} +// CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) +// CHECK:STDOUT: !3 = !DIFile(filename: "generic_same_package.carbon", directory: "") +// CHECK:STDOUT: ; ModuleID = 'indirect_same_package.carbon' +// CHECK:STDOUT: source_filename = "indirect_same_package.carbon" +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define void @_CCallGeneric.OwningPackage() #0 !dbg !4 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: %.loc7_20.1.temp = alloca { i32 }, align 4, !dbg !7 +// CHECK:STDOUT: %.loc7_28.1.temp = alloca { i32 }, align 4, !dbg !8 +// CHECK:STDOUT: %.loc7_29.2.temp = alloca { i32 }, align 4, !dbg !9 +// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_20.1.temp), !dbg !7 +// CHECK:STDOUT: call void @_CMake.OwningPackage(ptr %.loc7_20.1.temp), !dbg !7 +// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_28.1.temp), !dbg !8 +// CHECK:STDOUT: call void @_CMake.OwningPackage(ptr %.loc7_28.1.temp), !dbg !8 +// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_29.2.temp), !dbg !9 +// CHECK:STDOUT: call void @_CGeneric.OwningPackage.e43630e9a6c38c3f(ptr %.loc7_29.2.temp, ptr %.loc7_20.1.temp, ptr %.loc7_28.1.temp), !dbg !9 +// CHECK:STDOUT: call void @"_COp.612ae9d0511601d0:core.Destroy.Core"(ptr %.loc7_29.2.temp), !dbg !9 +// CHECK:STDOUT: call void @"_COp.612ae9d0511601d0:core.Destroy.Core"(ptr %.loc7_28.1.temp), !dbg !8 +// CHECK:STDOUT: call void @"_COp.612ae9d0511601d0:core.Destroy.Core"(ptr %.loc7_20.1.temp), !dbg !7 +// CHECK:STDOUT: ret void, !dbg !10 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @_CMake.OwningPackage(ptr sret({ i32 })) +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define weak_odr void @"_COp.859f345957a7d0c5:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: ret void, !dbg !17 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define weak_odr void @"_COp.cb7ee2a340edf7b8:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: ret void, !dbg !24 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define weak_odr void @"_COp.612ae9d0511601d0:core.Destroy.Core"(ptr %self) #0 !dbg !25 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: ret void, !dbg !28 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) +// CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define linkonce_odr void @_CGeneric.OwningPackage.e43630e9a6c38c3f(ptr sret({ i32 }) %return, ptr %v1, ptr %v2) #0 !dbg !29 { +// CHECK:STDOUT: call void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr %return, ptr %v1, ptr %v2), !dbg !36 +// CHECK:STDOUT: ret void, !dbg !37 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr sret({ i32 }), ptr, ptr) +// CHECK:STDOUT: +// CHECK:STDOUT: ; uselistorder directives +// CHECK:STDOUT: uselistorder ptr @_CMake.OwningPackage, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.612ae9d0511601d0:core.Destroy.Core", { 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 2, 1, 0 } +// CHECK:STDOUT: +// CHECK:STDOUT: attributes #0 = { nounwind } +// CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +// CHECK:STDOUT: +// CHECK:STDOUT: !llvm.module.flags = !{!0, !1} +// CHECK:STDOUT: !llvm.dbg.cu = !{!2} +// CHECK:STDOUT: +// CHECK:STDOUT: !0 = !{i32 7, !"Dwarf Version", i32 5} +// CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} +// CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) +// CHECK:STDOUT: !3 = !DIFile(filename: "indirect_same_package.carbon", directory: "") +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "CallGeneric", linkageName: "_CCallGeneric.OwningPackage", scope: null, file: !3, line: 5, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !5 = !DISubroutineType(types: !6) +// CHECK:STDOUT: !6 = !{null} +// CHECK:STDOUT: !7 = !DILocation(line: 7, column: 15, scope: !4) +// CHECK:STDOUT: !8 = !DILocation(line: 7, column: 23, scope: !4) +// CHECK:STDOUT: !9 = !DILocation(line: 7, column: 3, scope: !4) +// CHECK:STDOUT: !10 = !DILocation(line: 5, column: 1, scope: !4) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.859f345957a7d0c5:core.Destroy.Core", scope: null, file: !3, line: 7, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !12 = !DISubroutineType(types: !13) +// CHECK:STDOUT: !13 = !{null, !14} +// CHECK:STDOUT: !14 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) +// CHECK:STDOUT: !15 = !{!16} +// CHECK:STDOUT: !16 = !DILocalVariable(arg: 1, scope: !11, type: !14) +// CHECK:STDOUT: !17 = !DILocation(line: 7, column: 3, scope: !11) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cb7ee2a340edf7b8:core.Destroy.Core", scope: null, file: !3, line: 7, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !19 = !DISubroutineType(types: !20) +// CHECK:STDOUT: !20 = !{null, !21} +// CHECK:STDOUT: !21 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) +// CHECK:STDOUT: !22 = !{!23} +// CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !18, type: !21) +// CHECK:STDOUT: !24 = !DILocation(line: 7, column: 3, scope: !18) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.612ae9d0511601d0:core.Destroy.Core", scope: null, file: !3, line: 7, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !26 = !{!27} +// CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !25, type: !21) +// CHECK:STDOUT: !28 = !DILocation(line: 7, column: 3, scope: !25) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Generic", linkageName: "_CGeneric.OwningPackage.e43630e9a6c38c3f", scope: null, file: !30, line: 5, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !33) +// CHECK:STDOUT: !30 = !DIFile(filename: "generic_same_package.carbon", directory: "") +// CHECK:STDOUT: !31 = !DISubroutineType(types: !32) +// CHECK:STDOUT: !32 = !{!21, !21, !21} +// CHECK:STDOUT: !33 = !{!34, !35} +// CHECK:STDOUT: !34 = !DILocalVariable(arg: 1, scope: !29, type: !21) +// CHECK:STDOUT: !35 = !DILocalVariable(arg: 2, scope: !29, type: !21) +// CHECK:STDOUT: !36 = !DILocation(line: 6, column: 10, scope: !29) +// CHECK:STDOUT: !37 = !DILocation(line: 6, column: 3, scope: !29) +// CHECK:STDOUT: ; ModuleID = 'direct_different_package.carbon' +// CHECK:STDOUT: source_filename = "direct_different_package.carbon" +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define void @_CDirect.OtherPackage(ptr sret({ i32 }) %return, ptr %v1, ptr %v2) #0 !dbg !4 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: call void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr %return, ptr %v1, ptr %v2), !dbg !11 +// CHECK:STDOUT: ret void, !dbg !12 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr sret({ i32 }), ptr, ptr) +// CHECK:STDOUT: +// CHECK:STDOUT: attributes #0 = { nounwind } +// CHECK:STDOUT: +// CHECK:STDOUT: !llvm.module.flags = !{!0, !1} +// CHECK:STDOUT: !llvm.dbg.cu = !{!2} +// CHECK:STDOUT: +// CHECK:STDOUT: !0 = !{i32 7, !"Dwarf Version", i32 5} +// CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} +// CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) +// CHECK:STDOUT: !3 = !DIFile(filename: "direct_different_package.carbon", directory: "") +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Direct", linkageName: "_CDirect.OtherPackage", scope: null, file: !3, line: 5, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !5 = !DISubroutineType(types: !6) +// CHECK:STDOUT: !6 = !{!7, !7, !7} +// CHECK:STDOUT: !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) +// CHECK:STDOUT: !8 = !{!9, !10} +// CHECK:STDOUT: !9 = !DILocalVariable(arg: 1, scope: !4, type: !7) +// CHECK:STDOUT: !10 = !DILocalVariable(arg: 2, scope: !4, type: !7) +// CHECK:STDOUT: !11 = !DILocation(line: 7, column: 10, scope: !4) +// CHECK:STDOUT: !12 = !DILocation(line: 7, column: 3, scope: !4) +// CHECK:STDOUT: ; ModuleID = 'indirect_different_package_via_generic_in_same_package.carbon' +// CHECK:STDOUT: source_filename = "indirect_different_package_via_generic_in_same_package.carbon" +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define void @_CCallGenericInOwningPackage.OtherPackage() #0 !dbg !4 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: %.loc7_48.1.temp = alloca { i32 }, align 4, !dbg !7 +// CHECK:STDOUT: %.loc7_70.1.temp = alloca { i32 }, align 4, !dbg !8 +// CHECK:STDOUT: %.loc7_71.2.temp = alloca { i32 }, align 4, !dbg !9 +// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_48.1.temp), !dbg !7 +// CHECK:STDOUT: call void @_CMake.OwningPackage(ptr %.loc7_48.1.temp), !dbg !7 +// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_70.1.temp), !dbg !8 +// CHECK:STDOUT: call void @_CMake.OwningPackage(ptr %.loc7_70.1.temp), !dbg !8 +// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_71.2.temp), !dbg !9 +// CHECK:STDOUT: call void @_CGeneric.OwningPackage.e43630e9a6c38c3f(ptr %.loc7_71.2.temp, ptr %.loc7_48.1.temp, ptr %.loc7_70.1.temp), !dbg !9 +// CHECK:STDOUT: call void @"_COp.612ae9d0511601d0:core.Destroy.Core"(ptr %.loc7_71.2.temp), !dbg !9 +// CHECK:STDOUT: call void @"_COp.612ae9d0511601d0:core.Destroy.Core"(ptr %.loc7_70.1.temp), !dbg !8 +// CHECK:STDOUT: call void @"_COp.612ae9d0511601d0:core.Destroy.Core"(ptr %.loc7_48.1.temp), !dbg !7 +// CHECK:STDOUT: ret void, !dbg !10 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @_CMake.OwningPackage(ptr sret({ i32 })) +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define weak_odr void @"_COp.5fc112a8dca30040:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: ret void, !dbg !17 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define weak_odr void @"_COp.8a5586996f8a2aa7:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: ret void, !dbg !24 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define weak_odr void @"_COp.612ae9d0511601d0:core.Destroy.Core"(ptr %self) #0 !dbg !25 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: ret void, !dbg !28 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) +// CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define linkonce_odr void @_CGeneric.OwningPackage.e43630e9a6c38c3f(ptr sret({ i32 }) %return, ptr %v1, ptr %v2) #0 !dbg !29 { +// CHECK:STDOUT: call void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr %return, ptr %v1, ptr %v2), !dbg !36 +// CHECK:STDOUT: ret void, !dbg !37 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr sret({ i32 }), ptr, ptr) +// CHECK:STDOUT: +// CHECK:STDOUT: ; uselistorder directives +// CHECK:STDOUT: uselistorder ptr @_CMake.OwningPackage, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.612ae9d0511601d0:core.Destroy.Core", { 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 2, 1, 0 } +// CHECK:STDOUT: +// CHECK:STDOUT: attributes #0 = { nounwind } +// CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +// CHECK:STDOUT: +// CHECK:STDOUT: !llvm.module.flags = !{!0, !1} +// CHECK:STDOUT: !llvm.dbg.cu = !{!2} +// CHECK:STDOUT: +// CHECK:STDOUT: !0 = !{i32 7, !"Dwarf Version", i32 5} +// CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} +// CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) +// CHECK:STDOUT: !3 = !DIFile(filename: "indirect_different_package_via_generic_in_same_package.carbon", directory: "") +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "CallGenericInOwningPackage", linkageName: "_CCallGenericInOwningPackage.OtherPackage", scope: null, file: !3, line: 5, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !5 = !DISubroutineType(types: !6) +// CHECK:STDOUT: !6 = !{null} +// CHECK:STDOUT: !7 = !DILocation(line: 7, column: 29, scope: !4) +// CHECK:STDOUT: !8 = !DILocation(line: 7, column: 51, scope: !4) +// CHECK:STDOUT: !9 = !DILocation(line: 7, column: 3, scope: !4) +// CHECK:STDOUT: !10 = !DILocation(line: 5, column: 1, scope: !4) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5fc112a8dca30040:core.Destroy.Core", scope: null, file: !3, line: 7, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !12 = !DISubroutineType(types: !13) +// CHECK:STDOUT: !13 = !{null, !14} +// CHECK:STDOUT: !14 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) +// CHECK:STDOUT: !15 = !{!16} +// CHECK:STDOUT: !16 = !DILocalVariable(arg: 1, scope: !11, type: !14) +// CHECK:STDOUT: !17 = !DILocation(line: 7, column: 3, scope: !11) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8a5586996f8a2aa7:core.Destroy.Core", scope: null, file: !3, line: 7, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !19 = !DISubroutineType(types: !20) +// CHECK:STDOUT: !20 = !{null, !21} +// CHECK:STDOUT: !21 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) +// CHECK:STDOUT: !22 = !{!23} +// CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !18, type: !21) +// CHECK:STDOUT: !24 = !DILocation(line: 7, column: 3, scope: !18) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.612ae9d0511601d0:core.Destroy.Core", scope: null, file: !3, line: 7, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !26 = !{!27} +// CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !25, type: !21) +// CHECK:STDOUT: !28 = !DILocation(line: 7, column: 3, scope: !25) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Generic", linkageName: "_CGeneric.OwningPackage.e43630e9a6c38c3f", scope: null, file: !30, line: 5, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !33) +// CHECK:STDOUT: !30 = !DIFile(filename: "generic_same_package.carbon", directory: "") +// CHECK:STDOUT: !31 = !DISubroutineType(types: !32) +// CHECK:STDOUT: !32 = !{!21, !21, !21} +// CHECK:STDOUT: !33 = !{!34, !35} +// CHECK:STDOUT: !34 = !DILocalVariable(arg: 1, scope: !29, type: !21) +// CHECK:STDOUT: !35 = !DILocalVariable(arg: 2, scope: !29, type: !21) +// CHECK:STDOUT: !36 = !DILocation(line: 6, column: 10, scope: !29) +// CHECK:STDOUT: !37 = !DILocation(line: 6, column: 3, scope: !29) +// CHECK:STDOUT: ; ModuleID = 'generic_different_package.carbon' +// CHECK:STDOUT: source_filename = "generic_different_package.carbon" +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr sret({ i32 }), ptr, ptr) +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @_CMake.OtherPackage(ptr sret({ i32 })) +// CHECK:STDOUT: +// CHECK:STDOUT: !llvm.module.flags = !{!0, !1} +// CHECK:STDOUT: !llvm.dbg.cu = !{!2} +// CHECK:STDOUT: +// CHECK:STDOUT: !0 = !{i32 7, !"Dwarf Version", i32 5} +// CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} +// CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) +// CHECK:STDOUT: !3 = !DIFile(filename: "generic_different_package.carbon", directory: "") +// CHECK:STDOUT: ; ModuleID = 'indirect_different_package_via_generic_in_different_package.carbon' +// CHECK:STDOUT: source_filename = "indirect_different_package_via_generic_in_different_package.carbon" +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define void @_CCallGeneric.OtherPackage() #0 !dbg !4 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: %.loc7_20.1.temp = alloca { i32 }, align 4, !dbg !7 +// CHECK:STDOUT: %.loc7_28.1.temp = alloca { i32 }, align 4, !dbg !8 +// CHECK:STDOUT: %.loc7_29.2.temp = alloca { i32 }, align 4, !dbg !9 +// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_20.1.temp), !dbg !7 +// CHECK:STDOUT: call void @_CMake.OtherPackage(ptr %.loc7_20.1.temp), !dbg !7 +// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_28.1.temp), !dbg !8 +// CHECK:STDOUT: call void @_CMake.OtherPackage(ptr %.loc7_28.1.temp), !dbg !8 +// CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %.loc7_29.2.temp), !dbg !9 +// CHECK:STDOUT: call void @_CGeneric.OtherPackage.e43630e9a6c38c3f(ptr %.loc7_29.2.temp, ptr %.loc7_20.1.temp, ptr %.loc7_28.1.temp), !dbg !9 +// CHECK:STDOUT: call void @"_COp.d23c6db4b3ff5cda:core.Destroy.Core"(ptr %.loc7_29.2.temp), !dbg !9 +// CHECK:STDOUT: call void @"_COp.d23c6db4b3ff5cda:core.Destroy.Core"(ptr %.loc7_28.1.temp), !dbg !8 +// CHECK:STDOUT: call void @"_COp.d23c6db4b3ff5cda:core.Destroy.Core"(ptr %.loc7_20.1.temp), !dbg !7 +// CHECK:STDOUT: ret void, !dbg !10 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @_CMake.OtherPackage(ptr sret({ i32 })) +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define weak_odr void @"_COp.157098875033be5e:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: ret void, !dbg !17 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define weak_odr void @"_COp.3106d0a000a1327b:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: ret void, !dbg !24 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define weak_odr void @"_COp.d23c6db4b3ff5cda:core.Destroy.Core"(ptr %self) #0 !dbg !25 { +// CHECK:STDOUT: entry: +// CHECK:STDOUT: ret void, !dbg !28 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) +// CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 +// CHECK:STDOUT: +// CHECK:STDOUT: ; Function Attrs: nounwind +// CHECK:STDOUT: define linkonce_odr void @_CGeneric.OtherPackage.e43630e9a6c38c3f(ptr sret({ i32 }) %return, ptr %v1, ptr %v2) #0 !dbg !29 { +// CHECK:STDOUT: call void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr %return, ptr %v1, ptr %v2), !dbg !36 +// CHECK:STDOUT: ret void, !dbg !37 +// CHECK:STDOUT: } +// CHECK:STDOUT: +// CHECK:STDOUT: declare void @"_COp.Vector.OwningPackage:AddWith.385c807b97fbcdff.Core"(ptr sret({ i32 }), ptr, ptr) +// CHECK:STDOUT: +// CHECK:STDOUT: ; uselistorder directives +// CHECK:STDOUT: uselistorder ptr @_CMake.OtherPackage, { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.d23c6db4b3ff5cda:core.Destroy.Core", { 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 2, 1, 0 } +// CHECK:STDOUT: +// CHECK:STDOUT: attributes #0 = { nounwind } +// CHECK:STDOUT: attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +// CHECK:STDOUT: +// CHECK:STDOUT: !llvm.module.flags = !{!0, !1} +// CHECK:STDOUT: !llvm.dbg.cu = !{!2} +// CHECK:STDOUT: +// CHECK:STDOUT: !0 = !{i32 7, !"Dwarf Version", i32 5} +// CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} +// CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) +// CHECK:STDOUT: !3 = !DIFile(filename: "indirect_different_package_via_generic_in_different_package.carbon", directory: "") +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "CallGeneric", linkageName: "_CCallGeneric.OtherPackage", scope: null, file: !3, line: 5, type: !5, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !5 = !DISubroutineType(types: !6) +// CHECK:STDOUT: !6 = !{null} +// CHECK:STDOUT: !7 = !DILocation(line: 7, column: 15, scope: !4) +// CHECK:STDOUT: !8 = !DILocation(line: 7, column: 23, scope: !4) +// CHECK:STDOUT: !9 = !DILocation(line: 7, column: 3, scope: !4) +// CHECK:STDOUT: !10 = !DILocation(line: 5, column: 1, scope: !4) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.157098875033be5e:core.Destroy.Core", scope: null, file: !3, line: 7, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !12 = !DISubroutineType(types: !13) +// CHECK:STDOUT: !13 = !{null, !14} +// CHECK:STDOUT: !14 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) +// CHECK:STDOUT: !15 = !{!16} +// CHECK:STDOUT: !16 = !DILocalVariable(arg: 1, scope: !11, type: !14) +// CHECK:STDOUT: !17 = !DILocation(line: 7, column: 3, scope: !11) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.3106d0a000a1327b:core.Destroy.Core", scope: null, file: !3, line: 7, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !19 = !DISubroutineType(types: !20) +// CHECK:STDOUT: !20 = !{null, !21} +// CHECK:STDOUT: !21 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) +// CHECK:STDOUT: !22 = !{!23} +// CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !18, type: !21) +// CHECK:STDOUT: !24 = !DILocation(line: 7, column: 3, scope: !18) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d23c6db4b3ff5cda:core.Destroy.Core", scope: null, file: !3, line: 7, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !26 = !{!27} +// CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !25, type: !21) +// CHECK:STDOUT: !28 = !DILocation(line: 7, column: 3, scope: !25) +// CHECK:STDOUT: !29 = distinct !DISubprogram(name: "Generic", linkageName: "_CGeneric.OtherPackage.e43630e9a6c38c3f", scope: null, file: !30, line: 5, type: !31, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !33) +// CHECK:STDOUT: !30 = !DIFile(filename: "generic_different_package.carbon", directory: "") +// CHECK:STDOUT: !31 = !DISubroutineType(types: !32) +// CHECK:STDOUT: !32 = !{!21, !21, !21} +// CHECK:STDOUT: !33 = !{!34, !35} +// CHECK:STDOUT: !34 = !DILocalVariable(arg: 1, scope: !29, type: !21) +// CHECK:STDOUT: !35 = !DILocalVariable(arg: 2, scope: !29, type: !21) +// CHECK:STDOUT: !36 = !DILocation(line: 6, column: 10, scope: !29) +// CHECK:STDOUT: !37 = !DILocation(line: 6, column: 3, scope: !29) diff --git a/toolchain/lower/testdata/pointer/address_of_field.carbon b/toolchain/lower/testdata/pointer/address_of_field.carbon index 6a8f6e0d72e6..c2f0b8ae9c9b 100644 --- a/toolchain/lower/testdata/pointer/address_of_field.carbon +++ b/toolchain/lower/testdata/pointer/address_of_field.carbon @@ -20,7 +20,7 @@ fn F() { // CHECK:STDOUT: ; ModuleID = 'address_of_field.carbon' // CHECK:STDOUT: source_filename = "address_of_field.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @struct.a0d.loc16_3 = internal constant { i32, i32 } { i32 1, i32 2 } +// CHECK:STDOUT: @struct.8fc.loc16_3 = internal constant { i32, i32 } { i32 1, i32 2 } // CHECK:STDOUT: // CHECK:STDOUT: declare void @_CG.Main(ptr) // CHECK:STDOUT: @@ -31,21 +31,21 @@ fn F() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %s.var), !dbg !7 // CHECK:STDOUT: %.loc16_46.3.a = getelementptr inbounds nuw { i32, i32 }, ptr %s.var, i32 0, i32 0, !dbg !8 // CHECK:STDOUT: %.loc16_46.6.b = getelementptr inbounds nuw { i32, i32 }, ptr %s.var, i32 0, i32 1, !dbg !8 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %s.var, ptr align 4 @struct.a0d.loc16_3, i64 8, i1 false), !dbg !7 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %s.var, ptr align 4 @struct.8fc.loc16_3, i64 8, i1 false), !dbg !7 // CHECK:STDOUT: %.loc17.b = getelementptr inbounds nuw { i32, i32 }, ptr %s.var, i32 0, i32 1, !dbg !9 // CHECK:STDOUT: call void @_CG.Main(ptr %.loc17.b), !dbg !10 -// CHECK:STDOUT: call void @"_COp.57e275a610bca340:core.Destroy.Core"(ptr %s.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.15b8ed913d10fa21:core.Destroy.Core"(ptr %s.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.57e275a610bca340:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.15b8ed913d10fa21:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } @@ -74,14 +74,14 @@ fn F() { // CHECK:STDOUT: !9 = !DILocation(line: 17, column: 6, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 17, column: 3, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 15, column: 1, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !15} // CHECK:STDOUT: !15 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !12, type: !15) // CHECK:STDOUT: !18 = !DILocation(line: 16, column: 3, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.57e275a610bca340:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.15b8ed913d10fa21:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !22} // CHECK:STDOUT: !22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) diff --git a/toolchain/lower/testdata/pointer/address_of_unused.carbon b/toolchain/lower/testdata/pointer/address_of_unused.carbon index 23469f5393c1..579e3b4408d9 100644 --- a/toolchain/lower/testdata/pointer/address_of_unused.carbon +++ b/toolchain/lower/testdata/pointer/address_of_unused.carbon @@ -24,12 +24,12 @@ fn F() { // CHECK:STDOUT: %n.var = alloca i32, align 4, !dbg !7 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %n.var), !dbg !7 // CHECK:STDOUT: store i32 0, ptr %n.var, align 4, !dbg !7 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !9 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !9 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !15 // CHECK:STDOUT: } @@ -52,7 +52,7 @@ fn F() { // CHECK:STDOUT: !6 = !{null} // CHECK:STDOUT: !7 = !DILocation(line: 14, column: 3, scope: !4) // CHECK:STDOUT: !8 = !DILocation(line: 13, column: 1, scope: !4) -// CHECK:STDOUT: !9 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 14, type: !10, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !13) +// CHECK:STDOUT: !9 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 14, type: !10, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !13) // CHECK:STDOUT: !10 = !DISubroutineType(types: !11) // CHECK:STDOUT: !11 = !{null, !12} // CHECK:STDOUT: !12 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) diff --git a/toolchain/lower/testdata/pointer/basic.carbon b/toolchain/lower/testdata/pointer/basic.carbon index 8f7ecf45ee35..332d39a53cb3 100644 --- a/toolchain/lower/testdata/pointer/basic.carbon +++ b/toolchain/lower/testdata/pointer/basic.carbon @@ -36,12 +36,12 @@ fn F() -> i32 { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %n.var), !dbg !16 // CHECK:STDOUT: store i32 0, ptr %n.var, align 4, !dbg !16 // CHECK:STDOUT: %G.call = call i32 @_CG.Main(ptr %n.var), !dbg !17 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %n.var), !dbg !16 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %n.var), !dbg !16 // CHECK:STDOUT: ret i32 %G.call, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } @@ -74,7 +74,7 @@ fn F() -> i32 { // CHECK:STDOUT: !16 = !DILocation(line: 18, column: 3, scope: !13) // CHECK:STDOUT: !17 = !DILocation(line: 19, column: 10, scope: !13) // CHECK:STDOUT: !18 = !DILocation(line: 19, column: 3, scope: !13) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 18, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 18, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !7} // CHECK:STDOUT: !22 = !{!23} diff --git a/toolchain/lower/testdata/primitives/char.carbon b/toolchain/lower/testdata/primitives/char.carbon index e7c528bb8d3a..b73c8c7a5600 100644 --- a/toolchain/lower/testdata/primitives/char.carbon +++ b/toolchain/lower/testdata/primitives/char.carbon @@ -108,7 +108,7 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: source_filename = "char.carbon" // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %self) #0 !dbg !4 { +// CHECK:STDOUT: define i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %self) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret i8 120, !dbg !11 // CHECK:STDOUT: } @@ -116,32 +116,32 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CConvert.Main(i8 %c, i8 %u) #0 !dbg !12 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %c), !dbg !18 -// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc23 = call i16 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.7e0d73b3e9b416e0"(i8 %c), !dbg !19 -// CHECK:STDOUT: call void @_CDiscard.Main.3f15d0fba6dcdcf8(i16 %char.as.As.impl.Convert.call.loc23), !dbg !20 -// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc24 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.4ea8a00ff42d136b"(i8 %c), !dbg !21 -// CHECK:STDOUT: call void @_CDiscard.Main.330c3c15b12986eb(i32 %char.as.As.impl.Convert.call.loc24), !dbg !22 -// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc26 = call i16 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.6504fab7c876f692"(i8 %c), !dbg !23 -// CHECK:STDOUT: call void @_CDiscard.Main.3f15d0fba6dcdcf8(i16 %char.as.As.impl.Convert.call.loc26), !dbg !24 -// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc27 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.b920d74ee295eeb0"(i8 %c), !dbg !25 -// CHECK:STDOUT: call void @_CDiscard.Main.330c3c15b12986eb(i32 %char.as.As.impl.Convert.call.loc27), !dbg !26 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %u), !dbg !27 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %c), !dbg !18 +// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc23 = call i16 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.c1ed30af95a64e0c"(i8 %c), !dbg !19 +// CHECK:STDOUT: call void @_CDiscard.Main.8e01d725ab473947(i16 %char.as.As.impl.Convert.call.loc23), !dbg !20 +// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc24 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.f1521e968cbfdd46"(i8 %c), !dbg !21 +// CHECK:STDOUT: call void @_CDiscard.Main.57ab4597fefa1aeb(i32 %char.as.As.impl.Convert.call.loc24), !dbg !22 +// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc26 = call i16 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.43adb8639c4d0a28"(i8 %c), !dbg !23 +// CHECK:STDOUT: call void @_CDiscard.Main.8e01d725ab473947(i16 %char.as.As.impl.Convert.call.loc26), !dbg !24 +// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc27 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.2f75af91db35e3a4"(i8 %c), !dbg !25 +// CHECK:STDOUT: call void @_CDiscard.Main.57ab4597fefa1aeb(i32 %char.as.As.impl.Convert.call.loc27), !dbg !26 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %u), !dbg !27 // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CConvertConstant.Main() #0 !dbg !29 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 120), !dbg !32 -// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc33 = call i16 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.7e0d73b3e9b416e0"(i8 120), !dbg !33 -// CHECK:STDOUT: call void @_CDiscard.Main.3f15d0fba6dcdcf8(i16 %char.as.As.impl.Convert.call.loc33), !dbg !34 -// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc34 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.4ea8a00ff42d136b"(i8 120), !dbg !35 -// CHECK:STDOUT: call void @_CDiscard.Main.330c3c15b12986eb(i32 %char.as.As.impl.Convert.call.loc34), !dbg !36 -// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc35 = call i16 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.6504fab7c876f692"(i8 120), !dbg !37 -// CHECK:STDOUT: call void @_CDiscard.Main.3f15d0fba6dcdcf8(i16 %char.as.As.impl.Convert.call.loc35), !dbg !38 -// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc36 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.b920d74ee295eeb0"(i8 120), !dbg !39 -// CHECK:STDOUT: call void @_CDiscard.Main.330c3c15b12986eb(i32 %char.as.As.impl.Convert.call.loc36), !dbg !40 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 123), !dbg !41 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 120), !dbg !32 +// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc33 = call i16 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.c1ed30af95a64e0c"(i8 120), !dbg !33 +// CHECK:STDOUT: call void @_CDiscard.Main.8e01d725ab473947(i16 %char.as.As.impl.Convert.call.loc33), !dbg !34 +// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc34 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.f1521e968cbfdd46"(i8 120), !dbg !35 +// CHECK:STDOUT: call void @_CDiscard.Main.57ab4597fefa1aeb(i32 %char.as.As.impl.Convert.call.loc34), !dbg !36 +// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc35 = call i16 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.43adb8639c4d0a28"(i8 120), !dbg !37 +// CHECK:STDOUT: call void @_CDiscard.Main.8e01d725ab473947(i16 %char.as.As.impl.Convert.call.loc35), !dbg !38 +// CHECK:STDOUT: %char.as.As.impl.Convert.call.loc36 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.2f75af91db35e3a4"(i8 120), !dbg !39 +// CHECK:STDOUT: call void @_CDiscard.Main.57ab4597fefa1aeb(i32 %char.as.As.impl.Convert.call.loc36), !dbg !40 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 123), !dbg !41 // CHECK:STDOUT: ret void, !dbg !42 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -166,40 +166,40 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CCompareCharCharLike.Main(i8 %a, ptr %b) #0 !dbg !60 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc50 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %b), !dbg !66 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc50 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %b), !dbg !66 // CHECK:STDOUT: %char.as.EqWith.impl.Equal.call = icmp eq i8 %a, %CharLike.as.ImplicitAs.impl.Convert.call.loc50, !dbg !67 // CHECK:STDOUT: call void @_CDiscard.Main.a4c7fafe8a72cac4(i1 %char.as.EqWith.impl.Equal.call), !dbg !68 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc51 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %b), !dbg !69 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc51 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %b), !dbg !69 // CHECK:STDOUT: %char.as.EqWith.impl.NotEqual.call = icmp ne i8 %a, %CharLike.as.ImplicitAs.impl.Convert.call.loc51, !dbg !70 // CHECK:STDOUT: call void @_CDiscard.Main.a4c7fafe8a72cac4(i1 %char.as.EqWith.impl.NotEqual.call), !dbg !71 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc52 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %b), !dbg !72 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc52 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %b), !dbg !72 // CHECK:STDOUT: %char.as.OrderedWith.impl.Less.call = icmp ult i8 %a, %CharLike.as.ImplicitAs.impl.Convert.call.loc52, !dbg !73 // CHECK:STDOUT: call void @_CDiscard.Main.a4c7fafe8a72cac4(i1 %char.as.OrderedWith.impl.Less.call), !dbg !74 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc53 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %b), !dbg !75 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc53 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %b), !dbg !75 // CHECK:STDOUT: %char.as.OrderedWith.impl.LessOrEquivalent.call = icmp ule i8 %a, %CharLike.as.ImplicitAs.impl.Convert.call.loc53, !dbg !76 // CHECK:STDOUT: call void @_CDiscard.Main.a4c7fafe8a72cac4(i1 %char.as.OrderedWith.impl.LessOrEquivalent.call), !dbg !77 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc54 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %b), !dbg !78 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc54 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %b), !dbg !78 // CHECK:STDOUT: %char.as.OrderedWith.impl.Greater.call = icmp ugt i8 %a, %CharLike.as.ImplicitAs.impl.Convert.call.loc54, !dbg !79 // CHECK:STDOUT: call void @_CDiscard.Main.a4c7fafe8a72cac4(i1 %char.as.OrderedWith.impl.Greater.call), !dbg !80 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc55 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %b), !dbg !81 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc55 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %b), !dbg !81 // CHECK:STDOUT: %char.as.OrderedWith.impl.GreaterOrEquivalent.call = icmp uge i8 %a, %CharLike.as.ImplicitAs.impl.Convert.call.loc55, !dbg !82 // CHECK:STDOUT: call void @_CDiscard.Main.a4c7fafe8a72cac4(i1 %char.as.OrderedWith.impl.GreaterOrEquivalent.call), !dbg !83 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc57 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %b), !dbg !84 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc57 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %b), !dbg !84 // CHECK:STDOUT: %T.as_type.as.EqWith.impl.Equal.call = icmp eq i8 %CharLike.as.ImplicitAs.impl.Convert.call.loc57, %a, !dbg !84 // CHECK:STDOUT: call void @_CDiscard.Main.a4c7fafe8a72cac4(i1 %T.as_type.as.EqWith.impl.Equal.call), !dbg !85 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc58 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %b), !dbg !86 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc58 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %b), !dbg !86 // CHECK:STDOUT: %T.as_type.as.EqWith.impl.NotEqual.call = icmp ne i8 %CharLike.as.ImplicitAs.impl.Convert.call.loc58, %a, !dbg !86 // CHECK:STDOUT: call void @_CDiscard.Main.a4c7fafe8a72cac4(i1 %T.as_type.as.EqWith.impl.NotEqual.call), !dbg !87 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc59 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %b), !dbg !88 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc59 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %b), !dbg !88 // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Less.call = icmp ult i8 %CharLike.as.ImplicitAs.impl.Convert.call.loc59, %a, !dbg !88 // CHECK:STDOUT: call void @_CDiscard.Main.a4c7fafe8a72cac4(i1 %T.as_type.as.OrderedWith.impl.Less.call), !dbg !89 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc60 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %b), !dbg !90 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc60 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %b), !dbg !90 // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.LessOrEquivalent.call = icmp ule i8 %CharLike.as.ImplicitAs.impl.Convert.call.loc60, %a, !dbg !90 // CHECK:STDOUT: call void @_CDiscard.Main.a4c7fafe8a72cac4(i1 %T.as_type.as.OrderedWith.impl.LessOrEquivalent.call), !dbg !91 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc61 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %b), !dbg !92 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc61 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %b), !dbg !92 // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.Greater.call = icmp ugt i8 %CharLike.as.ImplicitAs.impl.Convert.call.loc61, %a, !dbg !92 // CHECK:STDOUT: call void @_CDiscard.Main.a4c7fafe8a72cac4(i1 %T.as_type.as.OrderedWith.impl.Greater.call), !dbg !93 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc62 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %b), !dbg !94 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc62 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %b), !dbg !94 // CHECK:STDOUT: %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.call = icmp uge i8 %CharLike.as.ImplicitAs.impl.Convert.call.loc62, %a, !dbg !94 // CHECK:STDOUT: call void @_CDiscard.Main.a4c7fafe8a72cac4(i1 %T.as_type.as.OrderedWith.impl.GreaterOrEquivalent.call), !dbg !95 // CHECK:STDOUT: ret void, !dbg !96 @@ -208,130 +208,130 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CSubCharChar.Main(i8 %c, ptr %d) #0 !dbg !97 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %char.as.SubWith.impl.Op.call.loc66 = call i32 @"_COp.Char.Core:SubWith.c874720ad95c181a.Core"(i8 %c, i8 %c), !dbg !101 -// CHECK:STDOUT: call void @_CDiscard.Main.330c3c15b12986eb(i32 %char.as.SubWith.impl.Op.call.loc66), !dbg !102 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc67 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %d), !dbg !103 -// CHECK:STDOUT: %char.as.SubWith.impl.Op.call.loc67 = call i32 @"_COp.Char.Core:SubWith.bc6f0b889317533c.Core.fdda5ce961c25016"(i8 %c, i8 %CharLike.as.ImplicitAs.impl.Convert.call.loc67), !dbg !104 -// CHECK:STDOUT: call void @_CDiscard.Main.330c3c15b12986eb(i32 %char.as.SubWith.impl.Op.call.loc67), !dbg !105 -// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc68 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core"(ptr %d), !dbg !106 -// CHECK:STDOUT: %T.as_type.as.SubWith.impl.Op.call = call i32 @"_COp.20e1d1146f520ad7:SubWith.c874720ad95c181a.Core.fdda5ce961c25016"(i8 %CharLike.as.ImplicitAs.impl.Convert.call.loc68, i8 %c), !dbg !106 -// CHECK:STDOUT: call void @_CDiscard.Main.330c3c15b12986eb(i32 %T.as_type.as.SubWith.impl.Op.call), !dbg !107 +// CHECK:STDOUT: %char.as.SubWith.impl.Op.call.loc66 = call i32 @"_COp.Char.Core:SubWith.581702079bc8179f.Core"(i8 %c, i8 %c), !dbg !101 +// CHECK:STDOUT: call void @_CDiscard.Main.57ab4597fefa1aeb(i32 %char.as.SubWith.impl.Op.call.loc66), !dbg !102 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc67 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %d), !dbg !103 +// CHECK:STDOUT: %char.as.SubWith.impl.Op.call.loc67 = call i32 @"_COp.Char.Core:SubWith.f2f193b02ea5e339.Core.0865d5021629acbc"(i8 %c, i8 %CharLike.as.ImplicitAs.impl.Convert.call.loc67), !dbg !104 +// CHECK:STDOUT: call void @_CDiscard.Main.57ab4597fefa1aeb(i32 %char.as.SubWith.impl.Op.call.loc67), !dbg !105 +// CHECK:STDOUT: %CharLike.as.ImplicitAs.impl.Convert.call.loc68 = call i8 @"_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core"(ptr %d), !dbg !106 +// CHECK:STDOUT: %T.as_type.as.SubWith.impl.Op.call = call i32 @"_COp.1e5a32f96c66d7d0:SubWith.581702079bc8179f.Core.0865d5021629acbc"(i8 %CharLike.as.ImplicitAs.impl.Convert.call.loc68, i8 %c), !dbg !106 +// CHECK:STDOUT: call void @_CDiscard.Main.57ab4597fefa1aeb(i32 %T.as_type.as.SubWith.impl.Op.call), !dbg !107 // CHECK:STDOUT: ret void, !dbg !108 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: declare i32 @"_COp.Char.Core:SubWith.c874720ad95c181a.Core"(i8, i8) +// CHECK:STDOUT: declare i32 @"_COp.Char.Core:SubWith.581702079bc8179f.Core"(i8, i8) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CAddSubInt8.Main(i8 %c, i8 %i) #0 !dbg !109 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %char.as.AddWith.impl.Op.call = call i8 @"_COp.Char.Core:AddWith.c181a62348f298fb.Core.19e829b0b670fda0"(i8 %c, i8 %i), !dbg !116 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %char.as.AddWith.impl.Op.call), !dbg !117 -// CHECK:STDOUT: %T.as_type.as.AddWith.impl.Op.call = call i8 @"_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.19e829b0b670fda0"(i8 %i, i8 %c), !dbg !118 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %T.as_type.as.AddWith.impl.Op.call), !dbg !119 -// CHECK:STDOUT: %char.as.SubWith.impl.Op.call = call i8 @"_COp.Char.Core:SubWith.c181a62348f298fb.Core.19e829b0b670fda0"(i8 %c, i8 %i), !dbg !120 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %char.as.SubWith.impl.Op.call), !dbg !121 +// CHECK:STDOUT: %char.as.AddWith.impl.Op.call = call i8 @"_COp.Char.Core:AddWith.6286bedac2f127aa.Core.12dc8c542d91665e"(i8 %c, i8 %i), !dbg !116 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %char.as.AddWith.impl.Op.call), !dbg !117 +// CHECK:STDOUT: %T.as_type.as.AddWith.impl.Op.call = call i8 @"_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.12dc8c542d91665e"(i8 %i, i8 %c), !dbg !118 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %T.as_type.as.AddWith.impl.Op.call), !dbg !119 +// CHECK:STDOUT: %char.as.SubWith.impl.Op.call = call i8 @"_COp.Char.Core:SubWith.6286bedac2f127aa.Core.12dc8c542d91665e"(i8 %c, i8 %i), !dbg !120 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %char.as.SubWith.impl.Op.call), !dbg !121 // CHECK:STDOUT: ret void, !dbg !122 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CAddSubInt16.Main(i8 %c, i16 %i) #0 !dbg !123 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %char.as.AddWith.impl.Op.call = call i8 @"_COp.Char.Core:AddWith.c181a62348f298fb.Core.524fab6f9e0d48b4"(i8 %c, i16 %i), !dbg !130 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %char.as.AddWith.impl.Op.call), !dbg !131 -// CHECK:STDOUT: %T.as_type.as.AddWith.impl.Op.call = call i8 @"_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.524fab6f9e0d48b4"(i16 %i, i8 %c), !dbg !132 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %T.as_type.as.AddWith.impl.Op.call), !dbg !133 -// CHECK:STDOUT: %char.as.SubWith.impl.Op.call = call i8 @"_COp.Char.Core:SubWith.c181a62348f298fb.Core.524fab6f9e0d48b4"(i8 %c, i16 %i), !dbg !134 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %char.as.SubWith.impl.Op.call), !dbg !135 +// CHECK:STDOUT: %char.as.AddWith.impl.Op.call = call i8 @"_COp.Char.Core:AddWith.6286bedac2f127aa.Core.e4167ff86be21d2e"(i8 %c, i16 %i), !dbg !130 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %char.as.AddWith.impl.Op.call), !dbg !131 +// CHECK:STDOUT: %T.as_type.as.AddWith.impl.Op.call = call i8 @"_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.e4167ff86be21d2e"(i16 %i, i8 %c), !dbg !132 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %T.as_type.as.AddWith.impl.Op.call), !dbg !133 +// CHECK:STDOUT: %char.as.SubWith.impl.Op.call = call i8 @"_COp.Char.Core:SubWith.6286bedac2f127aa.Core.e4167ff86be21d2e"(i8 %c, i16 %i), !dbg !134 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %char.as.SubWith.impl.Op.call), !dbg !135 // CHECK:STDOUT: ret void, !dbg !136 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CAddSubInt32.Main(i8 %c, i32 %i) #0 !dbg !137 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %char.as.AddWith.impl.Op.call = call i8 @"_COp.Char.Core:AddWith.c181a62348f298fb.Core.223704e74c9dfe2a"(i8 %c, i32 %i), !dbg !144 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %char.as.AddWith.impl.Op.call), !dbg !145 -// CHECK:STDOUT: %T.as_type.as.AddWith.impl.Op.call = call i8 @"_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.223704e74c9dfe2a"(i32 %i, i8 %c), !dbg !146 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %T.as_type.as.AddWith.impl.Op.call), !dbg !147 -// CHECK:STDOUT: %char.as.SubWith.impl.Op.call = call i8 @"_COp.Char.Core:SubWith.c181a62348f298fb.Core.223704e74c9dfe2a"(i8 %c, i32 %i), !dbg !148 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %char.as.SubWith.impl.Op.call), !dbg !149 +// CHECK:STDOUT: %char.as.AddWith.impl.Op.call = call i8 @"_COp.Char.Core:AddWith.6286bedac2f127aa.Core.34acc399edfc4a7c"(i8 %c, i32 %i), !dbg !144 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %char.as.AddWith.impl.Op.call), !dbg !145 +// CHECK:STDOUT: %T.as_type.as.AddWith.impl.Op.call = call i8 @"_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.34acc399edfc4a7c"(i32 %i, i8 %c), !dbg !146 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %T.as_type.as.AddWith.impl.Op.call), !dbg !147 +// CHECK:STDOUT: %char.as.SubWith.impl.Op.call = call i8 @"_COp.Char.Core:SubWith.6286bedac2f127aa.Core.34acc399edfc4a7c"(i8 %c, i32 %i), !dbg !148 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %char.as.SubWith.impl.Op.call), !dbg !149 // CHECK:STDOUT: ret void, !dbg !150 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CAddSubUInt8.Main(i8 %c, i8 %i) #0 !dbg !151 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %char.as.AddWith.impl.Op.call = call i8 @"_COp.Char.Core:AddWith.c181a62348f298fb.Core.d1374e5fbe25559a"(i8 %c, i8 %i), !dbg !155 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %char.as.AddWith.impl.Op.call), !dbg !156 -// CHECK:STDOUT: %T.as_type.as.AddWith.impl.Op.call = call i8 @"_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.d1374e5fbe25559a"(i8 %i, i8 %c), !dbg !157 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %T.as_type.as.AddWith.impl.Op.call), !dbg !158 -// CHECK:STDOUT: %char.as.SubWith.impl.Op.call = call i8 @"_COp.Char.Core:SubWith.c181a62348f298fb.Core.d1374e5fbe25559a"(i8 %c, i8 %i), !dbg !159 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %char.as.SubWith.impl.Op.call), !dbg !160 +// CHECK:STDOUT: %char.as.AddWith.impl.Op.call = call i8 @"_COp.Char.Core:AddWith.6286bedac2f127aa.Core.4b76c4a1fafe4833"(i8 %c, i8 %i), !dbg !155 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %char.as.AddWith.impl.Op.call), !dbg !156 +// CHECK:STDOUT: %T.as_type.as.AddWith.impl.Op.call = call i8 @"_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.4b76c4a1fafe4833"(i8 %i, i8 %c), !dbg !157 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %T.as_type.as.AddWith.impl.Op.call), !dbg !158 +// CHECK:STDOUT: %char.as.SubWith.impl.Op.call = call i8 @"_COp.Char.Core:SubWith.6286bedac2f127aa.Core.4b76c4a1fafe4833"(i8 %c, i8 %i), !dbg !159 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %char.as.SubWith.impl.Op.call), !dbg !160 // CHECK:STDOUT: ret void, !dbg !161 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CAddSubUInt16.Main(i8 %c, i16 %i) #0 !dbg !162 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %char.as.AddWith.impl.Op.call = call i8 @"_COp.Char.Core:AddWith.c181a62348f298fb.Core.08d6ae877e29fdae"(i8 %c, i16 %i), !dbg !169 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %char.as.AddWith.impl.Op.call), !dbg !170 -// CHECK:STDOUT: %T.as_type.as.AddWith.impl.Op.call = call i8 @"_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.08d6ae877e29fdae"(i16 %i, i8 %c), !dbg !171 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %T.as_type.as.AddWith.impl.Op.call), !dbg !172 -// CHECK:STDOUT: %char.as.SubWith.impl.Op.call = call i8 @"_COp.Char.Core:SubWith.c181a62348f298fb.Core.08d6ae877e29fdae"(i8 %c, i16 %i), !dbg !173 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %char.as.SubWith.impl.Op.call), !dbg !174 +// CHECK:STDOUT: %char.as.AddWith.impl.Op.call = call i8 @"_COp.Char.Core:AddWith.6286bedac2f127aa.Core.2506e29f5fc9869c"(i8 %c, i16 %i), !dbg !169 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %char.as.AddWith.impl.Op.call), !dbg !170 +// CHECK:STDOUT: %T.as_type.as.AddWith.impl.Op.call = call i8 @"_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.2506e29f5fc9869c"(i16 %i, i8 %c), !dbg !171 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %T.as_type.as.AddWith.impl.Op.call), !dbg !172 +// CHECK:STDOUT: %char.as.SubWith.impl.Op.call = call i8 @"_COp.Char.Core:SubWith.6286bedac2f127aa.Core.2506e29f5fc9869c"(i8 %c, i16 %i), !dbg !173 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %char.as.SubWith.impl.Op.call), !dbg !174 // CHECK:STDOUT: ret void, !dbg !175 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CAddSubUInt32.Main(i8 %c, i32 %i) #0 !dbg !176 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %char.as.AddWith.impl.Op.call = call i8 @"_COp.Char.Core:AddWith.c181a62348f298fb.Core.9a632d56c7edd2cf"(i8 %c, i32 %i), !dbg !183 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %char.as.AddWith.impl.Op.call), !dbg !184 -// CHECK:STDOUT: %T.as_type.as.AddWith.impl.Op.call = call i8 @"_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.9a632d56c7edd2cf"(i32 %i, i8 %c), !dbg !185 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %T.as_type.as.AddWith.impl.Op.call), !dbg !186 -// CHECK:STDOUT: %char.as.SubWith.impl.Op.call = call i8 @"_COp.Char.Core:SubWith.c181a62348f298fb.Core.9a632d56c7edd2cf"(i8 %c, i32 %i), !dbg !187 -// CHECK:STDOUT: call void @_CDiscard.Main.fad95e12c92be0f9(i8 %char.as.SubWith.impl.Op.call), !dbg !188 +// CHECK:STDOUT: %char.as.AddWith.impl.Op.call = call i8 @"_COp.Char.Core:AddWith.6286bedac2f127aa.Core.31921d9f2a6d409b"(i8 %c, i32 %i), !dbg !183 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %char.as.AddWith.impl.Op.call), !dbg !184 +// CHECK:STDOUT: %T.as_type.as.AddWith.impl.Op.call = call i8 @"_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.31921d9f2a6d409b"(i32 %i, i8 %c), !dbg !185 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %T.as_type.as.AddWith.impl.Op.call), !dbg !186 +// CHECK:STDOUT: %char.as.SubWith.impl.Op.call = call i8 @"_COp.Char.Core:SubWith.6286bedac2f127aa.Core.31921d9f2a6d409b"(i8 %c, i32 %i), !dbg !187 +// CHECK:STDOUT: call void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %char.as.SubWith.impl.Op.call), !dbg !188 // CHECK:STDOUT: ret void, !dbg !189 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CDiscard.Main.fad95e12c92be0f9(i8 %x) #0 !dbg !190 { +// CHECK:STDOUT: define linkonce_odr void @_CDiscard.Main.53bbd1b3eb3d0d9c(i8 %x) #0 !dbg !190 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !195 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i16 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.7e0d73b3e9b416e0"(i8 %self) #0 !dbg !196 { -// CHECK:STDOUT: %1 = call i16 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.ded6ffa8f6b3bdea"(i8 %self), !dbg !202 +// CHECK:STDOUT: define linkonce_odr i16 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.c1ed30af95a64e0c"(i8 %self) #0 !dbg !196 { +// CHECK:STDOUT: %1 = call i16 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.5fc30b52fc63534e"(i8 %self), !dbg !202 // CHECK:STDOUT: ret i16 %1, !dbg !202 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CDiscard.Main.3f15d0fba6dcdcf8(i16 %x) #0 !dbg !203 { +// CHECK:STDOUT: define linkonce_odr void @_CDiscard.Main.8e01d725ab473947(i16 %x) #0 !dbg !203 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !208 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.4ea8a00ff42d136b"(i8 %self) #0 !dbg !209 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.962eb6a262508733"(i8 %self), !dbg !214 +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.f1521e968cbfdd46"(i8 %self) #0 !dbg !209 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.5f7c4ef1aceb8644"(i8 %self), !dbg !214 // CHECK:STDOUT: ret i32 %1, !dbg !214 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CDiscard.Main.330c3c15b12986eb(i32 %x) #0 !dbg !215 { +// CHECK:STDOUT: define linkonce_odr void @_CDiscard.Main.57ab4597fefa1aeb(i32 %x) #0 !dbg !215 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !220 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i16 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.6504fab7c876f692"(i8 %self) #0 !dbg !221 { -// CHECK:STDOUT: %1 = call i16 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.33882e53c452e3af"(i8 %self), !dbg !226 +// CHECK:STDOUT: define linkonce_odr i16 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.43adb8639c4d0a28"(i8 %self) #0 !dbg !221 { +// CHECK:STDOUT: %1 = call i16 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.8d4760853758c835"(i8 %self), !dbg !226 // CHECK:STDOUT: ret i16 %1, !dbg !226 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.b920d74ee295eeb0"(i8 %self) #0 !dbg !227 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.a119523454aef44f"(i8 %self), !dbg !232 +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.2f75af91db35e3a4"(i8 %self) #0 !dbg !227 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.3b9ab92f0d7dee42"(i8 %self), !dbg !232 // CHECK:STDOUT: ret i32 %1, !dbg !232 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -342,230 +342,215 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_COp.Char.Core:SubWith.bc6f0b889317533c.Core.fdda5ce961c25016"(i8 %self, i8 %other) #0 !dbg !239 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.37d9bb07d6682eda"(i8 %self), !dbg !245 -// CHECK:STDOUT: %2 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.37d9bb07d6682eda"(i8 %other), !dbg !246 +// CHECK:STDOUT: define linkonce_odr i32 @"_COp.Char.Core:SubWith.f2f193b02ea5e339.Core.0865d5021629acbc"(i8 %self, i8 %other) #0 !dbg !239 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.9e499631a839b430"(i8 %self), !dbg !245 +// CHECK:STDOUT: %2 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.9e499631a839b430"(i8 %other), !dbg !246 // CHECK:STDOUT: %3 = sub i32 %1, %2, !dbg !247 // CHECK:STDOUT: ret i32 %3, !dbg !248 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_COp.20e1d1146f520ad7:SubWith.c874720ad95c181a.Core.fdda5ce961c25016"(i8 %self, i8 %other) #0 !dbg !249 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.37d9bb07d6682eda"(i8 %self), !dbg !253 -// CHECK:STDOUT: %2 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.37d9bb07d6682eda"(i8 %other), !dbg !254 +// CHECK:STDOUT: define linkonce_odr i32 @"_COp.1e5a32f96c66d7d0:SubWith.581702079bc8179f.Core.0865d5021629acbc"(i8 %self, i8 %other) #0 !dbg !249 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.9e499631a839b430"(i8 %self), !dbg !253 +// CHECK:STDOUT: %2 = call i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.9e499631a839b430"(i8 %other), !dbg !254 // CHECK:STDOUT: %3 = sub i32 %1, %2, !dbg !255 // CHECK:STDOUT: ret i32 %3, !dbg !256 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:AddWith.c181a62348f298fb.Core.19e829b0b670fda0"(i8 %self, i8 %other) #0 !dbg !257 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:AddWith.6286bedac2f127aa.Core.12dc8c542d91665e"(i8 %self, i8 %other) #0 !dbg !257 { // CHECK:STDOUT: %1 = add i8 %self, %other, !dbg !263 // CHECK:STDOUT: ret i8 %1, !dbg !264 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.19e829b0b670fda0"(i8 %self, i8 %other) #0 !dbg !265 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.12dc8c542d91665e"(i8 %self, i8 %other) #0 !dbg !265 { // CHECK:STDOUT: %1 = add i8 %self, %other, !dbg !271 // CHECK:STDOUT: ret i8 %1, !dbg !272 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:SubWith.c181a62348f298fb.Core.19e829b0b670fda0"(i8 %self, i8 %other) #0 !dbg !273 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:SubWith.6286bedac2f127aa.Core.12dc8c542d91665e"(i8 %self, i8 %other) #0 !dbg !273 { // CHECK:STDOUT: %1 = sub i8 %self, %other, !dbg !277 // CHECK:STDOUT: ret i8 %1, !dbg !278 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:AddWith.c181a62348f298fb.Core.524fab6f9e0d48b4"(i8 %self, i16 %other) #0 !dbg !279 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:AddWith.6286bedac2f127aa.Core.e4167ff86be21d2e"(i8 %self, i16 %other) #0 !dbg !279 { // CHECK:STDOUT: %1 = trunc i16 %other to i8, !dbg !285 // CHECK:STDOUT: %2 = add i8 %self, %1, !dbg !286 // CHECK:STDOUT: ret i8 %2, !dbg !287 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.524fab6f9e0d48b4"(i16 %self, i8 %other) #0 !dbg !288 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.e4167ff86be21d2e"(i16 %self, i8 %other) #0 !dbg !288 { // CHECK:STDOUT: %1 = trunc i16 %self to i8, !dbg !294 // CHECK:STDOUT: %2 = add i8 %1, %other, !dbg !295 // CHECK:STDOUT: ret i8 %2, !dbg !296 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:SubWith.c181a62348f298fb.Core.524fab6f9e0d48b4"(i8 %self, i16 %other) #0 !dbg !297 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:SubWith.6286bedac2f127aa.Core.e4167ff86be21d2e"(i8 %self, i16 %other) #0 !dbg !297 { // CHECK:STDOUT: %1 = trunc i16 %other to i8, !dbg !301 // CHECK:STDOUT: %2 = sub i8 %self, %1, !dbg !302 // CHECK:STDOUT: ret i8 %2, !dbg !303 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:AddWith.c181a62348f298fb.Core.223704e74c9dfe2a"(i8 %self, i32 %other) #0 !dbg !304 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:AddWith.6286bedac2f127aa.Core.34acc399edfc4a7c"(i8 %self, i32 %other) #0 !dbg !304 { // CHECK:STDOUT: %1 = trunc i32 %other to i8, !dbg !310 // CHECK:STDOUT: %2 = add i8 %self, %1, !dbg !311 // CHECK:STDOUT: ret i8 %2, !dbg !312 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.223704e74c9dfe2a"(i32 %self, i8 %other) #0 !dbg !313 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.34acc399edfc4a7c"(i32 %self, i8 %other) #0 !dbg !313 { // CHECK:STDOUT: %1 = trunc i32 %self to i8, !dbg !319 // CHECK:STDOUT: %2 = add i8 %1, %other, !dbg !320 // CHECK:STDOUT: ret i8 %2, !dbg !321 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:SubWith.c181a62348f298fb.Core.223704e74c9dfe2a"(i8 %self, i32 %other) #0 !dbg !322 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:SubWith.6286bedac2f127aa.Core.34acc399edfc4a7c"(i8 %self, i32 %other) #0 !dbg !322 { // CHECK:STDOUT: %1 = trunc i32 %other to i8, !dbg !326 // CHECK:STDOUT: %2 = sub i8 %self, %1, !dbg !327 // CHECK:STDOUT: ret i8 %2, !dbg !328 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:AddWith.c181a62348f298fb.Core.d1374e5fbe25559a"(i8 %self, i8 %other) #0 !dbg !329 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:AddWith.6286bedac2f127aa.Core.4b76c4a1fafe4833"(i8 %self, i8 %other) #0 !dbg !329 { // CHECK:STDOUT: %1 = add i8 %self, %other, !dbg !335 // CHECK:STDOUT: ret i8 %1, !dbg !336 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.d1374e5fbe25559a"(i8 %self, i8 %other) #0 !dbg !337 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.4b76c4a1fafe4833"(i8 %self, i8 %other) #0 !dbg !337 { // CHECK:STDOUT: %1 = add i8 %self, %other, !dbg !341 // CHECK:STDOUT: ret i8 %1, !dbg !342 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:SubWith.c181a62348f298fb.Core.d1374e5fbe25559a"(i8 %self, i8 %other) #0 !dbg !343 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:SubWith.6286bedac2f127aa.Core.4b76c4a1fafe4833"(i8 %self, i8 %other) #0 !dbg !343 { // CHECK:STDOUT: %1 = sub i8 %self, %other, !dbg !347 // CHECK:STDOUT: ret i8 %1, !dbg !348 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:AddWith.c181a62348f298fb.Core.08d6ae877e29fdae"(i8 %self, i16 %other) #0 !dbg !349 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:AddWith.6286bedac2f127aa.Core.2506e29f5fc9869c"(i8 %self, i16 %other) #0 !dbg !349 { // CHECK:STDOUT: %1 = trunc i16 %other to i8, !dbg !355 // CHECK:STDOUT: %2 = add i8 %self, %1, !dbg !356 // CHECK:STDOUT: ret i8 %2, !dbg !357 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.08d6ae877e29fdae"(i16 %self, i8 %other) #0 !dbg !358 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.2506e29f5fc9869c"(i16 %self, i8 %other) #0 !dbg !358 { // CHECK:STDOUT: %1 = trunc i16 %self to i8, !dbg !364 // CHECK:STDOUT: %2 = add i8 %1, %other, !dbg !365 // CHECK:STDOUT: ret i8 %2, !dbg !366 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:SubWith.c181a62348f298fb.Core.08d6ae877e29fdae"(i8 %self, i16 %other) #0 !dbg !367 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:SubWith.6286bedac2f127aa.Core.2506e29f5fc9869c"(i8 %self, i16 %other) #0 !dbg !367 { // CHECK:STDOUT: %1 = trunc i16 %other to i8, !dbg !371 // CHECK:STDOUT: %2 = sub i8 %self, %1, !dbg !372 // CHECK:STDOUT: ret i8 %2, !dbg !373 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:AddWith.c181a62348f298fb.Core.9a632d56c7edd2cf"(i8 %self, i32 %other) #0 !dbg !374 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:AddWith.6286bedac2f127aa.Core.31921d9f2a6d409b"(i8 %self, i32 %other) #0 !dbg !374 { // CHECK:STDOUT: %1 = trunc i32 %other to i8, !dbg !380 // CHECK:STDOUT: %2 = add i8 %self, %1, !dbg !381 // CHECK:STDOUT: ret i8 %2, !dbg !382 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.9a632d56c7edd2cf"(i32 %self, i8 %other) #0 !dbg !383 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.31921d9f2a6d409b"(i32 %self, i8 %other) #0 !dbg !383 { // CHECK:STDOUT: %1 = trunc i32 %self to i8, !dbg !389 // CHECK:STDOUT: %2 = add i8 %1, %other, !dbg !390 // CHECK:STDOUT: ret i8 %2, !dbg !391 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:SubWith.c181a62348f298fb.Core.9a632d56c7edd2cf"(i8 %self, i32 %other) #0 !dbg !392 { +// CHECK:STDOUT: define linkonce_odr i8 @"_COp.Char.Core:SubWith.6286bedac2f127aa.Core.31921d9f2a6d409b"(i8 %self, i32 %other) #0 !dbg !392 { // CHECK:STDOUT: %1 = trunc i32 %other to i8, !dbg !396 // CHECK:STDOUT: %2 = sub i8 %self, %1, !dbg !397 // CHECK:STDOUT: ret i8 %2, !dbg !398 // CHECK:STDOUT: } // CHECK:STDOUT: -// CHECK:STDOUT: declare i32 @"_COp.Char.Core:SubWith.031ad137713ca04f.Core"(i8, i8) -// CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i16 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.ded6ffa8f6b3bdea"(i8 %self) #0 !dbg !399 { -// CHECK:STDOUT: %1 = call i16 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.088bd64c513b33dc.Core.b694d71d042c3286"(i8 %self), !dbg !403 +// CHECK:STDOUT: define linkonce_odr i16 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.5fc30b52fc63534e"(i8 %self) #0 !dbg !399 { +// CHECK:STDOUT: %1 = call i16 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.1fcb3ce533adb4f1.Core.c80d3ca7428a249b"(i8 %self), !dbg !403 // CHECK:STDOUT: ret i16 %1, !dbg !404 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.962eb6a262508733"(i8 %self) #0 !dbg !405 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.088bd64c513b33dc.Core.1362f26ac5092fd7"(i8 %self), !dbg !408 +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.5f7c4ef1aceb8644"(i8 %self) #0 !dbg !405 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.1fcb3ce533adb4f1.Core.9502038ec13cc220"(i8 %self), !dbg !408 // CHECK:STDOUT: ret i32 %1, !dbg !409 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i16 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.33882e53c452e3af"(i8 %self) #0 !dbg !410 { -// CHECK:STDOUT: %1 = call i16 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.aa5cb3646d41b0a6.Core.0119874bfe081f47"(i8 %self), !dbg !413 +// CHECK:STDOUT: define linkonce_odr i16 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.8d4760853758c835"(i8 %self) #0 !dbg !410 { +// CHECK:STDOUT: %1 = call i16 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.319e5feddb0783f6.Core.22cb66a8380dd428"(i8 %self), !dbg !413 // CHECK:STDOUT: ret i16 %1, !dbg !414 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.a119523454aef44f"(i8 %self) #0 !dbg !415 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.aa5cb3646d41b0a6.Core.bcddf3f6c749bf51"(i8 %self), !dbg !418 +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.3b9ab92f0d7dee42"(i8 %self) #0 !dbg !415 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.319e5feddb0783f6.Core.de9dae3cdf77ed49"(i8 %self), !dbg !418 // CHECK:STDOUT: ret i32 %1, !dbg !419 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.37d9bb07d6682eda"(i8 %self) #0 !dbg !420 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.595ce389a3104d21.Core.1fb20d5e414a7765"(i8 %self), !dbg !423 +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.9e499631a839b430"(i8 %self) #0 !dbg !420 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.3b9ab92f0d7dee42"(i8 %self), !dbg !423 // CHECK:STDOUT: ret i32 %1, !dbg !423 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i16 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.088bd64c513b33dc.Core.b694d71d042c3286"(i8 %from) #0 !dbg !424 { +// CHECK:STDOUT: define linkonce_odr i16 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.1fcb3ce533adb4f1.Core.c80d3ca7428a249b"(i8 %from) #0 !dbg !424 { // CHECK:STDOUT: %1 = call i8 @"_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8"(i8 %from), !dbg !427 // CHECK:STDOUT: %2 = zext i8 %1 to i16, !dbg !428 // CHECK:STDOUT: ret i16 %2, !dbg !429 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.088bd64c513b33dc.Core.1362f26ac5092fd7"(i8 %from) #0 !dbg !430 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.1fcb3ce533adb4f1.Core.9502038ec13cc220"(i8 %from) #0 !dbg !430 { // CHECK:STDOUT: %1 = call i8 @"_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8"(i8 %from), !dbg !433 // CHECK:STDOUT: %2 = zext i8 %1 to i32, !dbg !434 // CHECK:STDOUT: ret i32 %2, !dbg !435 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i16 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.aa5cb3646d41b0a6.Core.0119874bfe081f47"(i8 %from) #0 !dbg !436 { +// CHECK:STDOUT: define linkonce_odr i16 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.319e5feddb0783f6.Core.22cb66a8380dd428"(i8 %from) #0 !dbg !436 { // CHECK:STDOUT: %1 = call i8 @"_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8"(i8 %from), !dbg !439 // CHECK:STDOUT: %2 = zext i8 %1 to i16, !dbg !440 // CHECK:STDOUT: ret i16 %2, !dbg !441 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.aa5cb3646d41b0a6.Core.bcddf3f6c749bf51"(i8 %from) #0 !dbg !442 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.319e5feddb0783f6.Core.de9dae3cdf77ed49"(i8 %from) #0 !dbg !442 { // CHECK:STDOUT: %1 = call i8 @"_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8"(i8 %from), !dbg !445 // CHECK:STDOUT: %2 = zext i8 %1 to i32, !dbg !446 // CHECK:STDOUT: ret i32 %2, !dbg !447 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.595ce389a3104d21.Core.1fb20d5e414a7765"(i8 %self) #0 !dbg !448 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.f7828c4b027f9dc8.Core.518fc6abdcc82b41"(i8 %self), !dbg !451 -// CHECK:STDOUT: ret i32 %1, !dbg !452 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i8 @"_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8"(i8 %self) #0 !dbg !453 { -// CHECK:STDOUT: ret i8 %self, !dbg !458 -// CHECK:STDOUT: } -// CHECK:STDOUT: -// CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.f7828c4b027f9dc8.Core.518fc6abdcc82b41"(i8 %from) #0 !dbg !459 { -// CHECK:STDOUT: %1 = call i8 @"_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8"(i8 %from), !dbg !462 -// CHECK:STDOUT: %2 = zext i8 %1 to i32, !dbg !463 -// CHECK:STDOUT: ret i32 %2, !dbg !464 +// CHECK:STDOUT: define linkonce_odr i8 @"_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8"(i8 %self) #0 !dbg !448 { +// CHECK:STDOUT: ret i8 %self, !dbg !453 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @_CDiscard.Main.fad95e12c92be0f9, { 21, 0, 20, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 } -// CHECK:STDOUT: uselistorder ptr @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.7e0d73b3e9b416e0", { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CDiscard.Main.3f15d0fba6dcdcf8, { 3, 0, 2, 1 } -// CHECK:STDOUT: uselistorder ptr @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.4ea8a00ff42d136b", { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @_CDiscard.Main.330c3c15b12986eb, { 6, 0, 5, 1, 2, 3, 4 } -// CHECK:STDOUT: uselistorder ptr @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.6504fab7c876f692", { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.b920d74ee295eeb0", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CDiscard.Main.53bbd1b3eb3d0d9c, { 21, 0, 20, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 } +// CHECK:STDOUT: uselistorder ptr @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.c1ed30af95a64e0c", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CDiscard.Main.8e01d725ab473947, { 3, 0, 2, 1 } +// CHECK:STDOUT: uselistorder ptr @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.f1521e968cbfdd46", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @_CDiscard.Main.57ab4597fefa1aeb, { 6, 0, 5, 1, 2, 3, 4 } +// CHECK:STDOUT: uselistorder ptr @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.43adb8639c4d0a28", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.2f75af91db35e3a4", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @_CDiscard.Main.a4c7fafe8a72cac4, { 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.37d9bb07d6682eda", { 3, 2, 1, 0 } -// CHECK:STDOUT: uselistorder ptr @"_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8", { 0, 4, 3, 2, 1 } +// CHECK:STDOUT: uselistorder ptr @"_CConvert.Char.Core:As.5d7343568c0b5715.Core.9e499631a839b430", { 3, 2, 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8", { 3, 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } // CHECK:STDOUT: @@ -576,7 +561,7 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "char.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.CharLike.Main:ImplicitAs.c874720ad95c181a.Core", scope: null, file: !3, line: 15, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !9) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.CharLike.Main:ImplicitAs.581702079bc8179f.Core", scope: null, file: !3, line: 15, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !9) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{!7, !8} // CHECK:STDOUT: !7 = !DIBasicType(name: "int", size: 8, encoding: DW_ATE_unsigned) @@ -762,44 +747,44 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !187 = !DILocation(line: 104, column: 11, scope: !176) // CHECK:STDOUT: !188 = !DILocation(line: 104, column: 3, scope: !176) // CHECK:STDOUT: !189 = !DILocation(line: 101, column: 1, scope: !176) -// CHECK:STDOUT: !190 = distinct !DISubprogram(name: "Discard", linkageName: "_CDiscard.Main.fad95e12c92be0f9", scope: null, file: !3, line: 19, type: !191, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !193) +// CHECK:STDOUT: !190 = distinct !DISubprogram(name: "Discard", linkageName: "_CDiscard.Main.53bbd1b3eb3d0d9c", scope: null, file: !3, line: 19, type: !191, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !193) // CHECK:STDOUT: !191 = !DISubroutineType(types: !192) // CHECK:STDOUT: !192 = !{null, !7} // CHECK:STDOUT: !193 = !{!194} // CHECK:STDOUT: !194 = !DILocalVariable(arg: 1, scope: !190, type: !7) // CHECK:STDOUT: !195 = !DILocation(line: 19, column: 1, scope: !190) -// CHECK:STDOUT: !196 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Char.Core:As.5d7343568c0b5715.Core.7e0d73b3e9b416e0", scope: null, file: !197, line: 46, type: !198, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !200) +// CHECK:STDOUT: !196 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Char.Core:As.5d7343568c0b5715.Core.c1ed30af95a64e0c", scope: null, file: !197, line: 46, type: !198, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !200) // CHECK:STDOUT: !197 = !DIFile(filename: "{{.*}}/prelude/types/char.carbon", directory: "") // CHECK:STDOUT: !198 = !DISubroutineType(types: !199) // CHECK:STDOUT: !199 = !{!165, !7} // CHECK:STDOUT: !200 = !{!201} // CHECK:STDOUT: !201 = !DILocalVariable(arg: 1, scope: !196, type: !7) // CHECK:STDOUT: !202 = !DILocation(line: 47, column: 5, scope: !196) -// CHECK:STDOUT: !203 = distinct !DISubprogram(name: "Discard", linkageName: "_CDiscard.Main.3f15d0fba6dcdcf8", scope: null, file: !3, line: 19, type: !204, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !206) +// CHECK:STDOUT: !203 = distinct !DISubprogram(name: "Discard", linkageName: "_CDiscard.Main.8e01d725ab473947", scope: null, file: !3, line: 19, type: !204, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !206) // CHECK:STDOUT: !204 = !DISubroutineType(types: !205) // CHECK:STDOUT: !205 = !{null, !165} // CHECK:STDOUT: !206 = !{!207} // CHECK:STDOUT: !207 = !DILocalVariable(arg: 1, scope: !203, type: !165) // CHECK:STDOUT: !208 = !DILocation(line: 19, column: 1, scope: !203) -// CHECK:STDOUT: !209 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Char.Core:As.5d7343568c0b5715.Core.4ea8a00ff42d136b", scope: null, file: !197, line: 46, type: !210, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !212) +// CHECK:STDOUT: !209 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Char.Core:As.5d7343568c0b5715.Core.f1521e968cbfdd46", scope: null, file: !197, line: 46, type: !210, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !212) // CHECK:STDOUT: !210 = !DISubroutineType(types: !211) // CHECK:STDOUT: !211 = !{!179, !7} // CHECK:STDOUT: !212 = !{!213} // CHECK:STDOUT: !213 = !DILocalVariable(arg: 1, scope: !209, type: !7) // CHECK:STDOUT: !214 = !DILocation(line: 47, column: 5, scope: !209) -// CHECK:STDOUT: !215 = distinct !DISubprogram(name: "Discard", linkageName: "_CDiscard.Main.330c3c15b12986eb", scope: null, file: !3, line: 19, type: !216, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !218) +// CHECK:STDOUT: !215 = distinct !DISubprogram(name: "Discard", linkageName: "_CDiscard.Main.57ab4597fefa1aeb", scope: null, file: !3, line: 19, type: !216, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !218) // CHECK:STDOUT: !216 = !DISubroutineType(types: !217) // CHECK:STDOUT: !217 = !{null, !179} // CHECK:STDOUT: !218 = !{!219} // CHECK:STDOUT: !219 = !DILocalVariable(arg: 1, scope: !215, type: !179) // CHECK:STDOUT: !220 = !DILocation(line: 19, column: 1, scope: !215) -// CHECK:STDOUT: !221 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Char.Core:As.5d7343568c0b5715.Core.6504fab7c876f692", scope: null, file: !197, line: 46, type: !222, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !224) +// CHECK:STDOUT: !221 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Char.Core:As.5d7343568c0b5715.Core.43adb8639c4d0a28", scope: null, file: !197, line: 46, type: !222, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !224) // CHECK:STDOUT: !222 = !DISubroutineType(types: !223) // CHECK:STDOUT: !223 = !{!126, !7} // CHECK:STDOUT: !224 = !{!225} // CHECK:STDOUT: !225 = !DILocalVariable(arg: 1, scope: !221, type: !7) // CHECK:STDOUT: !226 = !DILocation(line: 47, column: 5, scope: !221) -// CHECK:STDOUT: !227 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Char.Core:As.5d7343568c0b5715.Core.b920d74ee295eeb0", scope: null, file: !197, line: 46, type: !228, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !230) +// CHECK:STDOUT: !227 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Char.Core:As.5d7343568c0b5715.Core.2f75af91db35e3a4", scope: null, file: !197, line: 46, type: !228, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !230) // CHECK:STDOUT: !228 = !DISubroutineType(types: !229) // CHECK:STDOUT: !229 = !{!140, !7} // CHECK:STDOUT: !230 = !{!231} @@ -811,7 +796,7 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !236 = !{!237} // CHECK:STDOUT: !237 = !DILocalVariable(arg: 1, scope: !233, type: !8) // CHECK:STDOUT: !238 = !DILocation(line: 19, column: 1, scope: !233) -// CHECK:STDOUT: !239 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.bc6f0b889317533c.Core.fdda5ce961c25016", scope: null, file: !197, line: 133, type: !240, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !242) +// CHECK:STDOUT: !239 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.f2f193b02ea5e339.Core.0865d5021629acbc", scope: null, file: !197, line: 133, type: !240, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !242) // CHECK:STDOUT: !240 = !DISubroutineType(types: !241) // CHECK:STDOUT: !241 = !{!140, !7, !7} // CHECK:STDOUT: !242 = !{!243, !244} @@ -821,7 +806,7 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !246 = !DILocation(line: 134, column: 29, scope: !239) // CHECK:STDOUT: !247 = !DILocation(line: 134, column: 12, scope: !239) // CHECK:STDOUT: !248 = !DILocation(line: 134, column: 5, scope: !239) -// CHECK:STDOUT: !249 = distinct !DISubprogram(name: "Op", linkageName: "_COp.20e1d1146f520ad7:SubWith.c874720ad95c181a.Core.fdda5ce961c25016", scope: null, file: !197, line: 127, type: !240, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !250) +// CHECK:STDOUT: !249 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e5a32f96c66d7d0:SubWith.581702079bc8179f.Core.0865d5021629acbc", scope: null, file: !197, line: 127, type: !240, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !250) // CHECK:STDOUT: !250 = !{!251, !252} // CHECK:STDOUT: !251 = !DILocalVariable(arg: 1, scope: !249, type: !7) // CHECK:STDOUT: !252 = !DILocalVariable(arg: 2, scope: !249, type: !7) @@ -829,7 +814,7 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !254 = !DILocation(line: 128, column: 29, scope: !249) // CHECK:STDOUT: !255 = !DILocation(line: 128, column: 12, scope: !249) // CHECK:STDOUT: !256 = !DILocation(line: 128, column: 5, scope: !249) -// CHECK:STDOUT: !257 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:AddWith.c181a62348f298fb.Core.19e829b0b670fda0", scope: null, file: !197, line: 98, type: !258, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !260) +// CHECK:STDOUT: !257 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:AddWith.6286bedac2f127aa.Core.12dc8c542d91665e", scope: null, file: !197, line: 98, type: !258, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !260) // CHECK:STDOUT: !258 = !DISubroutineType(types: !259) // CHECK:STDOUT: !259 = !{!7, !7, !112} // CHECK:STDOUT: !260 = !{!261, !262} @@ -837,7 +822,7 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !262 = !DILocalVariable(arg: 2, scope: !257, type: !112) // CHECK:STDOUT: !263 = !DILocation(line: 100, column: 13, scope: !257) // CHECK:STDOUT: !264 = !DILocation(line: 100, column: 5, scope: !257) -// CHECK:STDOUT: !265 = distinct !DISubprogram(name: "Op", linkageName: "_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.19e829b0b670fda0", scope: null, file: !197, line: 106, type: !266, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !268) +// CHECK:STDOUT: !265 = distinct !DISubprogram(name: "Op", linkageName: "_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.12dc8c542d91665e", scope: null, file: !197, line: 106, type: !266, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !268) // CHECK:STDOUT: !266 = !DISubroutineType(types: !267) // CHECK:STDOUT: !267 = !{!7, !112, !7} // CHECK:STDOUT: !268 = !{!269, !270} @@ -845,13 +830,13 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !270 = !DILocalVariable(arg: 2, scope: !265, type: !7) // CHECK:STDOUT: !271 = !DILocation(line: 108, column: 13, scope: !265) // CHECK:STDOUT: !272 = !DILocation(line: 108, column: 5, scope: !265) -// CHECK:STDOUT: !273 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.c181a62348f298fb.Core.19e829b0b670fda0", scope: null, file: !197, line: 114, type: !258, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !274) +// CHECK:STDOUT: !273 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.6286bedac2f127aa.Core.12dc8c542d91665e", scope: null, file: !197, line: 114, type: !258, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !274) // CHECK:STDOUT: !274 = !{!275, !276} // CHECK:STDOUT: !275 = !DILocalVariable(arg: 1, scope: !273, type: !7) // CHECK:STDOUT: !276 = !DILocalVariable(arg: 2, scope: !273, type: !112) // CHECK:STDOUT: !277 = !DILocation(line: 116, column: 13, scope: !273) // CHECK:STDOUT: !278 = !DILocation(line: 116, column: 5, scope: !273) -// CHECK:STDOUT: !279 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:AddWith.c181a62348f298fb.Core.524fab6f9e0d48b4", scope: null, file: !197, line: 98, type: !280, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !282) +// CHECK:STDOUT: !279 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:AddWith.6286bedac2f127aa.Core.e4167ff86be21d2e", scope: null, file: !197, line: 98, type: !280, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !282) // CHECK:STDOUT: !280 = !DISubroutineType(types: !281) // CHECK:STDOUT: !281 = !{!7, !7, !126} // CHECK:STDOUT: !282 = !{!283, !284} @@ -860,7 +845,7 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !285 = !DILocation(line: 100, column: 29, scope: !279) // CHECK:STDOUT: !286 = !DILocation(line: 100, column: 13, scope: !279) // CHECK:STDOUT: !287 = !DILocation(line: 100, column: 5, scope: !279) -// CHECK:STDOUT: !288 = distinct !DISubprogram(name: "Op", linkageName: "_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.524fab6f9e0d48b4", scope: null, file: !197, line: 106, type: !289, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !291) +// CHECK:STDOUT: !288 = distinct !DISubprogram(name: "Op", linkageName: "_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.e4167ff86be21d2e", scope: null, file: !197, line: 106, type: !289, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !291) // CHECK:STDOUT: !289 = !DISubroutineType(types: !290) // CHECK:STDOUT: !290 = !{!7, !126, !7} // CHECK:STDOUT: !291 = !{!292, !293} @@ -869,14 +854,14 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !294 = !DILocation(line: 108, column: 14, scope: !288) // CHECK:STDOUT: !295 = !DILocation(line: 108, column: 13, scope: !288) // CHECK:STDOUT: !296 = !DILocation(line: 108, column: 5, scope: !288) -// CHECK:STDOUT: !297 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.c181a62348f298fb.Core.524fab6f9e0d48b4", scope: null, file: !197, line: 114, type: !280, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !298) +// CHECK:STDOUT: !297 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.6286bedac2f127aa.Core.e4167ff86be21d2e", scope: null, file: !197, line: 114, type: !280, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !298) // CHECK:STDOUT: !298 = !{!299, !300} // CHECK:STDOUT: !299 = !DILocalVariable(arg: 1, scope: !297, type: !7) // CHECK:STDOUT: !300 = !DILocalVariable(arg: 2, scope: !297, type: !126) // CHECK:STDOUT: !301 = !DILocation(line: 116, column: 29, scope: !297) // CHECK:STDOUT: !302 = !DILocation(line: 116, column: 13, scope: !297) // CHECK:STDOUT: !303 = !DILocation(line: 116, column: 5, scope: !297) -// CHECK:STDOUT: !304 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:AddWith.c181a62348f298fb.Core.223704e74c9dfe2a", scope: null, file: !197, line: 98, type: !305, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !307) +// CHECK:STDOUT: !304 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:AddWith.6286bedac2f127aa.Core.34acc399edfc4a7c", scope: null, file: !197, line: 98, type: !305, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !307) // CHECK:STDOUT: !305 = !DISubroutineType(types: !306) // CHECK:STDOUT: !306 = !{!7, !7, !140} // CHECK:STDOUT: !307 = !{!308, !309} @@ -885,7 +870,7 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !310 = !DILocation(line: 100, column: 29, scope: !304) // CHECK:STDOUT: !311 = !DILocation(line: 100, column: 13, scope: !304) // CHECK:STDOUT: !312 = !DILocation(line: 100, column: 5, scope: !304) -// CHECK:STDOUT: !313 = distinct !DISubprogram(name: "Op", linkageName: "_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.223704e74c9dfe2a", scope: null, file: !197, line: 106, type: !314, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !316) +// CHECK:STDOUT: !313 = distinct !DISubprogram(name: "Op", linkageName: "_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.34acc399edfc4a7c", scope: null, file: !197, line: 106, type: !314, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !316) // CHECK:STDOUT: !314 = !DISubroutineType(types: !315) // CHECK:STDOUT: !315 = !{!7, !140, !7} // CHECK:STDOUT: !316 = !{!317, !318} @@ -894,14 +879,14 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !319 = !DILocation(line: 108, column: 14, scope: !313) // CHECK:STDOUT: !320 = !DILocation(line: 108, column: 13, scope: !313) // CHECK:STDOUT: !321 = !DILocation(line: 108, column: 5, scope: !313) -// CHECK:STDOUT: !322 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.c181a62348f298fb.Core.223704e74c9dfe2a", scope: null, file: !197, line: 114, type: !305, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !323) +// CHECK:STDOUT: !322 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.6286bedac2f127aa.Core.34acc399edfc4a7c", scope: null, file: !197, line: 114, type: !305, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !323) // CHECK:STDOUT: !323 = !{!324, !325} // CHECK:STDOUT: !324 = !DILocalVariable(arg: 1, scope: !322, type: !7) // CHECK:STDOUT: !325 = !DILocalVariable(arg: 2, scope: !322, type: !140) // CHECK:STDOUT: !326 = !DILocation(line: 116, column: 29, scope: !322) // CHECK:STDOUT: !327 = !DILocation(line: 116, column: 13, scope: !322) // CHECK:STDOUT: !328 = !DILocation(line: 116, column: 5, scope: !322) -// CHECK:STDOUT: !329 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:AddWith.c181a62348f298fb.Core.d1374e5fbe25559a", scope: null, file: !197, line: 98, type: !330, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !332) +// CHECK:STDOUT: !329 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:AddWith.6286bedac2f127aa.Core.4b76c4a1fafe4833", scope: null, file: !197, line: 98, type: !330, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !332) // CHECK:STDOUT: !330 = !DISubroutineType(types: !331) // CHECK:STDOUT: !331 = !{!7, !7, !7} // CHECK:STDOUT: !332 = !{!333, !334} @@ -909,19 +894,19 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !334 = !DILocalVariable(arg: 2, scope: !329, type: !7) // CHECK:STDOUT: !335 = !DILocation(line: 100, column: 13, scope: !329) // CHECK:STDOUT: !336 = !DILocation(line: 100, column: 5, scope: !329) -// CHECK:STDOUT: !337 = distinct !DISubprogram(name: "Op", linkageName: "_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.d1374e5fbe25559a", scope: null, file: !197, line: 106, type: !330, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !338) +// CHECK:STDOUT: !337 = distinct !DISubprogram(name: "Op", linkageName: "_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.4b76c4a1fafe4833", scope: null, file: !197, line: 106, type: !330, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !338) // CHECK:STDOUT: !338 = !{!339, !340} // CHECK:STDOUT: !339 = !DILocalVariable(arg: 1, scope: !337, type: !7) // CHECK:STDOUT: !340 = !DILocalVariable(arg: 2, scope: !337, type: !7) // CHECK:STDOUT: !341 = !DILocation(line: 108, column: 13, scope: !337) // CHECK:STDOUT: !342 = !DILocation(line: 108, column: 5, scope: !337) -// CHECK:STDOUT: !343 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.c181a62348f298fb.Core.d1374e5fbe25559a", scope: null, file: !197, line: 114, type: !330, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !344) +// CHECK:STDOUT: !343 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.6286bedac2f127aa.Core.4b76c4a1fafe4833", scope: null, file: !197, line: 114, type: !330, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !344) // CHECK:STDOUT: !344 = !{!345, !346} // CHECK:STDOUT: !345 = !DILocalVariable(arg: 1, scope: !343, type: !7) // CHECK:STDOUT: !346 = !DILocalVariable(arg: 2, scope: !343, type: !7) // CHECK:STDOUT: !347 = !DILocation(line: 116, column: 13, scope: !343) // CHECK:STDOUT: !348 = !DILocation(line: 116, column: 5, scope: !343) -// CHECK:STDOUT: !349 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:AddWith.c181a62348f298fb.Core.08d6ae877e29fdae", scope: null, file: !197, line: 98, type: !350, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !352) +// CHECK:STDOUT: !349 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:AddWith.6286bedac2f127aa.Core.2506e29f5fc9869c", scope: null, file: !197, line: 98, type: !350, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !352) // CHECK:STDOUT: !350 = !DISubroutineType(types: !351) // CHECK:STDOUT: !351 = !{!7, !7, !165} // CHECK:STDOUT: !352 = !{!353, !354} @@ -930,7 +915,7 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !355 = !DILocation(line: 100, column: 29, scope: !349) // CHECK:STDOUT: !356 = !DILocation(line: 100, column: 13, scope: !349) // CHECK:STDOUT: !357 = !DILocation(line: 100, column: 5, scope: !349) -// CHECK:STDOUT: !358 = distinct !DISubprogram(name: "Op", linkageName: "_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.08d6ae877e29fdae", scope: null, file: !197, line: 106, type: !359, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !361) +// CHECK:STDOUT: !358 = distinct !DISubprogram(name: "Op", linkageName: "_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.2506e29f5fc9869c", scope: null, file: !197, line: 106, type: !359, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !361) // CHECK:STDOUT: !359 = !DISubroutineType(types: !360) // CHECK:STDOUT: !360 = !{!7, !165, !7} // CHECK:STDOUT: !361 = !{!362, !363} @@ -939,14 +924,14 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !364 = !DILocation(line: 108, column: 14, scope: !358) // CHECK:STDOUT: !365 = !DILocation(line: 108, column: 13, scope: !358) // CHECK:STDOUT: !366 = !DILocation(line: 108, column: 5, scope: !358) -// CHECK:STDOUT: !367 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.c181a62348f298fb.Core.08d6ae877e29fdae", scope: null, file: !197, line: 114, type: !350, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !368) +// CHECK:STDOUT: !367 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.6286bedac2f127aa.Core.2506e29f5fc9869c", scope: null, file: !197, line: 114, type: !350, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !368) // CHECK:STDOUT: !368 = !{!369, !370} // CHECK:STDOUT: !369 = !DILocalVariable(arg: 1, scope: !367, type: !7) // CHECK:STDOUT: !370 = !DILocalVariable(arg: 2, scope: !367, type: !165) // CHECK:STDOUT: !371 = !DILocation(line: 116, column: 29, scope: !367) // CHECK:STDOUT: !372 = !DILocation(line: 116, column: 13, scope: !367) // CHECK:STDOUT: !373 = !DILocation(line: 116, column: 5, scope: !367) -// CHECK:STDOUT: !374 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:AddWith.c181a62348f298fb.Core.9a632d56c7edd2cf", scope: null, file: !197, line: 98, type: !375, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !377) +// CHECK:STDOUT: !374 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:AddWith.6286bedac2f127aa.Core.31921d9f2a6d409b", scope: null, file: !197, line: 98, type: !375, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !377) // CHECK:STDOUT: !375 = !DISubroutineType(types: !376) // CHECK:STDOUT: !376 = !{!7, !7, !179} // CHECK:STDOUT: !377 = !{!378, !379} @@ -955,7 +940,7 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !380 = !DILocation(line: 100, column: 29, scope: !374) // CHECK:STDOUT: !381 = !DILocation(line: 100, column: 13, scope: !374) // CHECK:STDOUT: !382 = !DILocation(line: 100, column: 5, scope: !374) -// CHECK:STDOUT: !383 = distinct !DISubprogram(name: "Op", linkageName: "_COp.93e568312fba1551:AddWith.c874720ad95c181a.Core.9a632d56c7edd2cf", scope: null, file: !197, line: 106, type: !384, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !386) +// CHECK:STDOUT: !383 = distinct !DISubprogram(name: "Op", linkageName: "_COp.afe7588199a9091d:AddWith.581702079bc8179f.Core.31921d9f2a6d409b", scope: null, file: !197, line: 106, type: !384, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !386) // CHECK:STDOUT: !384 = !DISubroutineType(types: !385) // CHECK:STDOUT: !385 = !{!7, !179, !7} // CHECK:STDOUT: !386 = !{!387, !388} @@ -964,76 +949,65 @@ fn AddSubUInt32(c: char, i: u32) { // CHECK:STDOUT: !389 = !DILocation(line: 108, column: 14, scope: !383) // CHECK:STDOUT: !390 = !DILocation(line: 108, column: 13, scope: !383) // CHECK:STDOUT: !391 = !DILocation(line: 108, column: 5, scope: !383) -// CHECK:STDOUT: !392 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.c181a62348f298fb.Core.9a632d56c7edd2cf", scope: null, file: !197, line: 114, type: !375, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !393) +// CHECK:STDOUT: !392 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Char.Core:SubWith.6286bedac2f127aa.Core.31921d9f2a6d409b", scope: null, file: !197, line: 114, type: !375, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !393) // CHECK:STDOUT: !393 = !{!394, !395} // CHECK:STDOUT: !394 = !DILocalVariable(arg: 1, scope: !392, type: !7) // CHECK:STDOUT: !395 = !DILocalVariable(arg: 2, scope: !392, type: !179) // CHECK:STDOUT: !396 = !DILocation(line: 116, column: 29, scope: !392) // CHECK:STDOUT: !397 = !DILocation(line: 116, column: 13, scope: !392) // CHECK:STDOUT: !398 = !DILocation(line: 116, column: 5, scope: !392) -// CHECK:STDOUT: !399 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.ded6ffa8f6b3bdea", scope: null, file: !400, line: 86, type: !198, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !401) +// CHECK:STDOUT: !399 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.5fc30b52fc63534e", scope: null, file: !400, line: 86, type: !198, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !401) // CHECK:STDOUT: !400 = !DIFile(filename: "{{.*}}/prelude/types/uint.carbon", directory: "") // CHECK:STDOUT: !401 = !{!402} // CHECK:STDOUT: !402 = !DILocalVariable(arg: 1, scope: !399, type: !7) // CHECK:STDOUT: !403 = !DILocation(line: 87, column: 12, scope: !399) // CHECK:STDOUT: !404 = !DILocation(line: 87, column: 5, scope: !399) -// CHECK:STDOUT: !405 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.962eb6a262508733", scope: null, file: !400, line: 86, type: !210, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !406) +// CHECK:STDOUT: !405 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.5f7c4ef1aceb8644", scope: null, file: !400, line: 86, type: !210, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !406) // CHECK:STDOUT: !406 = !{!407} // CHECK:STDOUT: !407 = !DILocalVariable(arg: 1, scope: !405, type: !7) // CHECK:STDOUT: !408 = !DILocation(line: 87, column: 12, scope: !405) // CHECK:STDOUT: !409 = !DILocation(line: 87, column: 5, scope: !405) -// CHECK:STDOUT: !410 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.33882e53c452e3af", scope: null, file: !400, line: 86, type: !222, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !411) +// CHECK:STDOUT: !410 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.8d4760853758c835", scope: null, file: !400, line: 86, type: !222, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !411) // CHECK:STDOUT: !411 = !{!412} // CHECK:STDOUT: !412 = !DILocalVariable(arg: 1, scope: !410, type: !7) // CHECK:STDOUT: !413 = !DILocation(line: 87, column: 12, scope: !410) // CHECK:STDOUT: !414 = !DILocation(line: 87, column: 5, scope: !410) -// CHECK:STDOUT: !415 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.a119523454aef44f", scope: null, file: !400, line: 86, type: !228, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !416) +// CHECK:STDOUT: !415 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.3b9ab92f0d7dee42", scope: null, file: !400, line: 86, type: !228, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !416) // CHECK:STDOUT: !416 = !{!417} // CHECK:STDOUT: !417 = !DILocalVariable(arg: 1, scope: !415, type: !7) // CHECK:STDOUT: !418 = !DILocation(line: 87, column: 12, scope: !415) // CHECK:STDOUT: !419 = !DILocation(line: 87, column: 5, scope: !415) -// CHECK:STDOUT: !420 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Char.Core:As.5d7343568c0b5715.Core.37d9bb07d6682eda", scope: null, file: !197, line: 46, type: !228, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !421) +// CHECK:STDOUT: !420 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Char.Core:As.5d7343568c0b5715.Core.9e499631a839b430", scope: null, file: !197, line: 46, type: !228, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !421) // CHECK:STDOUT: !421 = !{!422} // CHECK:STDOUT: !422 = !DILocalVariable(arg: 1, scope: !420, type: !7) // CHECK:STDOUT: !423 = !DILocation(line: 47, column: 5, scope: !420) -// CHECK:STDOUT: !424 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:FromUInt.088bd64c513b33dc.Core.b694d71d042c3286", scope: null, file: !400, line: 70, type: !198, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !425) +// CHECK:STDOUT: !424 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:FromUInt.1fcb3ce533adb4f1.Core.c80d3ca7428a249b", scope: null, file: !400, line: 70, type: !198, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !425) // CHECK:STDOUT: !425 = !{!426} // CHECK:STDOUT: !426 = !DILocalVariable(arg: 1, scope: !424, type: !7) // CHECK:STDOUT: !427 = !DILocation(line: 72, column: 17, scope: !424) // CHECK:STDOUT: !428 = !DILocation(line: 72, column: 12, scope: !424) // CHECK:STDOUT: !429 = !DILocation(line: 72, column: 5, scope: !424) -// CHECK:STDOUT: !430 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:FromUInt.088bd64c513b33dc.Core.1362f26ac5092fd7", scope: null, file: !400, line: 70, type: !210, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !431) +// CHECK:STDOUT: !430 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:FromUInt.1fcb3ce533adb4f1.Core.9502038ec13cc220", scope: null, file: !400, line: 70, type: !210, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !431) // CHECK:STDOUT: !431 = !{!432} // CHECK:STDOUT: !432 = !DILocalVariable(arg: 1, scope: !430, type: !7) // CHECK:STDOUT: !433 = !DILocation(line: 72, column: 17, scope: !430) // CHECK:STDOUT: !434 = !DILocation(line: 72, column: 12, scope: !430) // CHECK:STDOUT: !435 = !DILocation(line: 72, column: 5, scope: !430) -// CHECK:STDOUT: !436 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Int.9452f4c51951679b.Core:FromUInt.aa5cb3646d41b0a6.Core.0119874bfe081f47", scope: null, file: !400, line: 78, type: !222, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !437) +// CHECK:STDOUT: !436 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Int.9452f4c51951679b.Core:FromUInt.319e5feddb0783f6.Core.22cb66a8380dd428", scope: null, file: !400, line: 78, type: !222, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !437) // CHECK:STDOUT: !437 = !{!438} // CHECK:STDOUT: !438 = !DILocalVariable(arg: 1, scope: !436, type: !7) // CHECK:STDOUT: !439 = !DILocation(line: 80, column: 17, scope: !436) // CHECK:STDOUT: !440 = !DILocation(line: 80, column: 12, scope: !436) // CHECK:STDOUT: !441 = !DILocation(line: 80, column: 5, scope: !436) -// CHECK:STDOUT: !442 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Int.9452f4c51951679b.Core:FromUInt.aa5cb3646d41b0a6.Core.bcddf3f6c749bf51", scope: null, file: !400, line: 78, type: !228, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !443) +// CHECK:STDOUT: !442 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Int.9452f4c51951679b.Core:FromUInt.319e5feddb0783f6.Core.de9dae3cdf77ed49", scope: null, file: !400, line: 78, type: !228, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !443) // CHECK:STDOUT: !443 = !{!444} // CHECK:STDOUT: !444 = !DILocalVariable(arg: 1, scope: !442, type: !7) // CHECK:STDOUT: !445 = !DILocation(line: 80, column: 17, scope: !442) // CHECK:STDOUT: !446 = !DILocation(line: 80, column: 12, scope: !442) // CHECK:STDOUT: !447 = !DILocation(line: 80, column: 5, scope: !442) -// CHECK:STDOUT: !448 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.595ce389a3104d21.Core.1fb20d5e414a7765", scope: null, file: !400, line: 86, type: !228, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !449) -// CHECK:STDOUT: !449 = !{!450} -// CHECK:STDOUT: !450 = !DILocalVariable(arg: 1, scope: !448, type: !7) -// CHECK:STDOUT: !451 = !DILocation(line: 87, column: 12, scope: !448) -// CHECK:STDOUT: !452 = !DILocation(line: 87, column: 5, scope: !448) -// CHECK:STDOUT: !453 = distinct !DISubprogram(name: "AsUInt", linkageName: "_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8", scope: null, file: !400, line: 58, type: !454, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !456) -// CHECK:STDOUT: !454 = !DISubroutineType(types: !455) -// CHECK:STDOUT: !455 = !{!7, !7} -// CHECK:STDOUT: !456 = !{!457} -// CHECK:STDOUT: !457 = !DILocalVariable(arg: 1, scope: !453, type: !7) -// CHECK:STDOUT: !458 = !DILocation(line: 58, column: 37, scope: !453) -// CHECK:STDOUT: !459 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Int.9452f4c51951679b.Core:FromUInt.f7828c4b027f9dc8.Core.518fc6abdcc82b41", scope: null, file: !400, line: 78, type: !228, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !460) -// CHECK:STDOUT: !460 = !{!461} -// CHECK:STDOUT: !461 = !DILocalVariable(arg: 1, scope: !459, type: !7) -// CHECK:STDOUT: !462 = !DILocation(line: 80, column: 17, scope: !459) -// CHECK:STDOUT: !463 = !DILocation(line: 80, column: 12, scope: !459) -// CHECK:STDOUT: !464 = !DILocation(line: 80, column: 5, scope: !459) +// CHECK:STDOUT: !448 = distinct !DISubprogram(name: "AsUInt", linkageName: "_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8", scope: null, file: !400, line: 58, type: !449, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !451) +// CHECK:STDOUT: !449 = !DISubroutineType(types: !450) +// CHECK:STDOUT: !450 = !{!7, !7} +// CHECK:STDOUT: !451 = !{!452} +// CHECK:STDOUT: !452 = !DILocalVariable(arg: 1, scope: !448, type: !7) +// CHECK:STDOUT: !453 = !DILocation(line: 58, column: 37, scope: !448) diff --git a/toolchain/lower/testdata/primitives/int_types.carbon b/toolchain/lower/testdata/primitives/int_types.carbon index ff10e5d63bbe..0d2c621b67fe 100644 --- a/toolchain/lower/testdata/primitives/int_types.carbon +++ b/toolchain/lower/testdata/primitives/int_types.carbon @@ -166,67 +166,67 @@ fn ImplicitWidenUnsignedCustom(a: Core.UInt(4)) -> Core.UInt(5) { return a; } // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @_CImplicitWidenSigned.Main(i8 %a) #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %From.as_type.as.ImplicitAs.impl.Convert.call = call i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.6764edfcd44e6103"(i8 %a), !dbg !11 +// CHECK:STDOUT: %From.as_type.as.ImplicitAs.impl.Convert.call = call i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.ddcb82e6e9ddd8c9"(i8 %a), !dbg !11 // CHECK:STDOUT: ret i32 %From.as_type.as.ImplicitAs.impl.Convert.call, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @_CImplicitWidenUnsigned.Main(i8 %a) #0 !dbg !12 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.call = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.962eb6a262508733"(i8 %a), !dbg !19 +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.call = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.5f7c4ef1aceb8644"(i8 %a), !dbg !19 // CHECK:STDOUT: ret i32 %UInt.as.ImplicitAs.impl.Convert.call, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @_CImplicitWidenUnsignedToSigned.Main(i8 %a) #0 !dbg !20 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.call = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.a119523454aef44f"(i8 %a), !dbg !25 +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.call = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.3b9ab92f0d7dee42"(i8 %a), !dbg !25 // CHECK:STDOUT: ret i32 %UInt.as.ImplicitAs.impl.Convert.call, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i5 @_CImplicitWidenCustom.Main(i4 %a) #0 !dbg !26 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %From.as_type.as.ImplicitAs.impl.Convert.call = call i5 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.a7eac1652b8475da"(i4 %a), !dbg !33 +// CHECK:STDOUT: %From.as_type.as.ImplicitAs.impl.Convert.call = call i5 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.380b88eae23462db"(i4 %a), !dbg !33 // CHECK:STDOUT: ret i5 %From.as_type.as.ImplicitAs.impl.Convert.call, !dbg !33 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i5 @_CImplicitWidenUnsignedCustom.Main(i4 %a) #0 !dbg !34 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.call = call i5 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.945508f0fc2ff269"(i4 %a), !dbg !41 +// CHECK:STDOUT: %UInt.as.ImplicitAs.impl.Convert.call = call i5 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.983e4a1f66495cbc"(i4 %a), !dbg !41 // CHECK:STDOUT: ret i5 %UInt.as.ImplicitAs.impl.Convert.call, !dbg !41 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.6764edfcd44e6103"(i8 %self) #0 !dbg !42 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.ddcb82e6e9ddd8c9"(i8 %self) #0 !dbg !42 { // CHECK:STDOUT: %1 = call i8 @"_CAsInt.Int.9452f4c51951679b.Core:AnyInt.Core.ca1ac10d3fc7c1a8"(i8 %self), !dbg !46 // CHECK:STDOUT: %2 = sext i8 %1 to i32, !dbg !47 // CHECK:STDOUT: ret i32 %2, !dbg !48 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.962eb6a262508733"(i8 %self) #0 !dbg !49 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.088bd64c513b33dc.Core.1362f26ac5092fd7"(i8 %self), !dbg !53 +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.5f7c4ef1aceb8644"(i8 %self) #0 !dbg !49 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.1fcb3ce533adb4f1.Core.9502038ec13cc220"(i8 %self), !dbg !53 // CHECK:STDOUT: ret i32 %1, !dbg !54 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.a119523454aef44f"(i8 %self) #0 !dbg !55 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.aa5cb3646d41b0a6.Core.bcddf3f6c749bf51"(i8 %self), !dbg !58 +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.3b9ab92f0d7dee42"(i8 %self) #0 !dbg !55 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.319e5feddb0783f6.Core.de9dae3cdf77ed49"(i8 %self), !dbg !58 // CHECK:STDOUT: ret i32 %1, !dbg !59 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i5 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.a7eac1652b8475da"(i4 %self) #0 !dbg !60 { +// CHECK:STDOUT: define linkonce_odr i5 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.380b88eae23462db"(i4 %self) #0 !dbg !60 { // CHECK:STDOUT: %1 = call i4 @"_CAsInt.Int.9452f4c51951679b.Core:AnyInt.Core.044c7d430ddd4fd6"(i4 %self), !dbg !63 // CHECK:STDOUT: %2 = sext i4 %1 to i5, !dbg !64 // CHECK:STDOUT: ret i5 %2, !dbg !65 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i5 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.945508f0fc2ff269"(i4 %self) #0 !dbg !66 { -// CHECK:STDOUT: %1 = call i5 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.088bd64c513b33dc.Core.f62ea3613a09eec3"(i4 %self), !dbg !69 +// CHECK:STDOUT: define linkonce_odr i5 @"_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.983e4a1f66495cbc"(i4 %self) #0 !dbg !66 { +// CHECK:STDOUT: %1 = call i5 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.1fcb3ce533adb4f1.Core.53bd1b576efef5e7"(i4 %self), !dbg !69 // CHECK:STDOUT: ret i5 %1, !dbg !70 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -236,14 +236,14 @@ fn ImplicitWidenUnsignedCustom(a: Core.UInt(4)) -> Core.UInt(5) { return a; } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.088bd64c513b33dc.Core.1362f26ac5092fd7"(i8 %from) #0 !dbg !77 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.1fcb3ce533adb4f1.Core.9502038ec13cc220"(i8 %from) #0 !dbg !77 { // CHECK:STDOUT: %1 = call i8 @"_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8"(i8 %from), !dbg !80 // CHECK:STDOUT: %2 = zext i8 %1 to i32, !dbg !81 // CHECK:STDOUT: ret i32 %2, !dbg !82 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.aa5cb3646d41b0a6.Core.bcddf3f6c749bf51"(i8 %from) #0 !dbg !83 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.Int.9452f4c51951679b.Core:FromUInt.319e5feddb0783f6.Core.de9dae3cdf77ed49"(i8 %from) #0 !dbg !83 { // CHECK:STDOUT: %1 = call i8 @"_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.ca1ac10d3fc7c1a8"(i8 %from), !dbg !86 // CHECK:STDOUT: %2 = zext i8 %1 to i32, !dbg !87 // CHECK:STDOUT: ret i32 %2, !dbg !88 @@ -255,7 +255,7 @@ fn ImplicitWidenUnsignedCustom(a: Core.UInt(4)) -> Core.UInt(5) { return a; } // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i5 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.088bd64c513b33dc.Core.f62ea3613a09eec3"(i4 %from) #0 !dbg !95 { +// CHECK:STDOUT: define linkonce_odr i5 @"_CConvert.UInt.9452f4c51951679b.Core:FromUInt.1fcb3ce533adb4f1.Core.53bd1b576efef5e7"(i4 %from) #0 !dbg !95 { // CHECK:STDOUT: %1 = call i4 @"_CAsUInt.UInt.9452f4c51951679b.Core:AnyUInt.Core.044c7d430ddd4fd6"(i4 %from), !dbg !98 // CHECK:STDOUT: %2 = zext i4 %1 to i5, !dbg !99 // CHECK:STDOUT: ret i5 %2, !dbg !100 @@ -321,31 +321,31 @@ fn ImplicitWidenUnsignedCustom(a: Core.UInt(4)) -> Core.UInt(5) { return a; } // CHECK:STDOUT: !39 = !{!40} // CHECK:STDOUT: !40 = !DILocalVariable(arg: 1, scope: !34, type: !38) // CHECK:STDOUT: !41 = !DILocation(line: 8, column: 67, scope: !34) -// CHECK:STDOUT: !42 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.6764edfcd44e6103", scope: null, file: !43, line: 62, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !44) +// CHECK:STDOUT: !42 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.ddcb82e6e9ddd8c9", scope: null, file: !43, line: 62, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !44) // CHECK:STDOUT: !43 = !DIFile(filename: "{{.*}}/prelude/types/int.carbon", directory: "") // CHECK:STDOUT: !44 = !{!45} // CHECK:STDOUT: !45 = !DILocalVariable(arg: 1, scope: !42, type: !8) // CHECK:STDOUT: !46 = !DILocation(line: 64, column: 17, scope: !42) // CHECK:STDOUT: !47 = !DILocation(line: 64, column: 12, scope: !42) // CHECK:STDOUT: !48 = !DILocation(line: 64, column: 5, scope: !42) -// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.962eb6a262508733", scope: null, file: !50, line: 86, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !51) +// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.5f7c4ef1aceb8644", scope: null, file: !50, line: 86, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !51) // CHECK:STDOUT: !50 = !DIFile(filename: "{{.*}}/prelude/types/uint.carbon", directory: "") // CHECK:STDOUT: !51 = !{!52} // CHECK:STDOUT: !52 = !DILocalVariable(arg: 1, scope: !49, type: !16) // CHECK:STDOUT: !53 = !DILocation(line: 87, column: 12, scope: !49) // CHECK:STDOUT: !54 = !DILocation(line: 87, column: 5, scope: !49) -// CHECK:STDOUT: !55 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.a119523454aef44f", scope: null, file: !50, line: 86, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !56) +// CHECK:STDOUT: !55 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.3b9ab92f0d7dee42", scope: null, file: !50, line: 86, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !56) // CHECK:STDOUT: !56 = !{!57} // CHECK:STDOUT: !57 = !DILocalVariable(arg: 1, scope: !55, type: !16) // CHECK:STDOUT: !58 = !DILocation(line: 87, column: 12, scope: !55) // CHECK:STDOUT: !59 = !DILocation(line: 87, column: 5, scope: !55) -// CHECK:STDOUT: !60 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.a7eac1652b8475da", scope: null, file: !43, line: 62, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !61) +// CHECK:STDOUT: !60 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.380b88eae23462db", scope: null, file: !43, line: 62, type: !27, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !61) // CHECK:STDOUT: !61 = !{!62} // CHECK:STDOUT: !62 = !DILocalVariable(arg: 1, scope: !60, type: !30) // CHECK:STDOUT: !63 = !DILocation(line: 64, column: 17, scope: !60) // CHECK:STDOUT: !64 = !DILocation(line: 64, column: 12, scope: !60) // CHECK:STDOUT: !65 = !DILocation(line: 64, column: 5, scope: !60) -// CHECK:STDOUT: !66 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.eb42cc3f9529ca95.Core.945508f0fc2ff269", scope: null, file: !50, line: 86, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !67) +// CHECK:STDOUT: !66 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:ImplicitAs.b0c8f4aca61b1cc8.Core.983e4a1f66495cbc", scope: null, file: !50, line: 86, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !67) // CHECK:STDOUT: !67 = !{!68} // CHECK:STDOUT: !68 = !DILocalVariable(arg: 1, scope: !66, type: !38) // CHECK:STDOUT: !69 = !DILocation(line: 87, column: 12, scope: !66) @@ -356,13 +356,13 @@ fn ImplicitWidenUnsignedCustom(a: Core.UInt(4)) -> Core.UInt(5) { return a; } // CHECK:STDOUT: !74 = !{!75} // CHECK:STDOUT: !75 = !DILocalVariable(arg: 1, scope: !71, type: !8) // CHECK:STDOUT: !76 = !DILocation(line: 57, column: 36, scope: !71) -// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:FromUInt.088bd64c513b33dc.Core.1362f26ac5092fd7", scope: null, file: !50, line: 70, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !78) +// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:FromUInt.1fcb3ce533adb4f1.Core.9502038ec13cc220", scope: null, file: !50, line: 70, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !78) // CHECK:STDOUT: !78 = !{!79} // CHECK:STDOUT: !79 = !DILocalVariable(arg: 1, scope: !77, type: !16) // CHECK:STDOUT: !80 = !DILocation(line: 72, column: 17, scope: !77) // CHECK:STDOUT: !81 = !DILocation(line: 72, column: 12, scope: !77) // CHECK:STDOUT: !82 = !DILocation(line: 72, column: 5, scope: !77) -// CHECK:STDOUT: !83 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Int.9452f4c51951679b.Core:FromUInt.aa5cb3646d41b0a6.Core.bcddf3f6c749bf51", scope: null, file: !50, line: 78, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !84) +// CHECK:STDOUT: !83 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.Int.9452f4c51951679b.Core:FromUInt.319e5feddb0783f6.Core.de9dae3cdf77ed49", scope: null, file: !50, line: 78, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !84) // CHECK:STDOUT: !84 = !{!85} // CHECK:STDOUT: !85 = !DILocalVariable(arg: 1, scope: !83, type: !16) // CHECK:STDOUT: !86 = !DILocation(line: 80, column: 17, scope: !83) @@ -374,7 +374,7 @@ fn ImplicitWidenUnsignedCustom(a: Core.UInt(4)) -> Core.UInt(5) { return a; } // CHECK:STDOUT: !92 = !{!93} // CHECK:STDOUT: !93 = !DILocalVariable(arg: 1, scope: !89, type: !30) // CHECK:STDOUT: !94 = !DILocation(line: 57, column: 36, scope: !89) -// CHECK:STDOUT: !95 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:FromUInt.088bd64c513b33dc.Core.f62ea3613a09eec3", scope: null, file: !50, line: 70, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !96) +// CHECK:STDOUT: !95 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.UInt.9452f4c51951679b.Core:FromUInt.1fcb3ce533adb4f1.Core.53bd1b576efef5e7", scope: null, file: !50, line: 70, type: !35, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !96) // CHECK:STDOUT: !96 = !{!97} // CHECK:STDOUT: !97 = !DILocalVariable(arg: 1, scope: !95, type: !38) // CHECK:STDOUT: !98 = !DILocation(line: 72, column: 17, scope: !95) diff --git a/toolchain/lower/testdata/primitives/numeric_literals.carbon b/toolchain/lower/testdata/primitives/numeric_literals.carbon index 438972fbe5de..2732fbb99ccd 100644 --- a/toolchain/lower/testdata/primitives/numeric_literals.carbon +++ b/toolchain/lower/testdata/primitives/numeric_literals.carbon @@ -32,8 +32,8 @@ fn F() { // CHECK:STDOUT: ; ModuleID = 'numeric_literals.carbon' // CHECK:STDOUT: source_filename = "numeric_literals.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @array.cb3.loc16_3 = internal constant [4 x i32] [i32 8, i32 9, i32 8, i32 8] -// CHECK:STDOUT: @array.ab3.loc22_3 = internal constant [6 x double] [double 9.000000e-01, double 8.000000e+00, double 8.000000e+01, double 1.000000e+07, double 1.000000e+08, double 1.000000e-08] +// CHECK:STDOUT: @array.afa.loc16_3 = internal constant [4 x i32] [i32 8, i32 9, i32 8, i32 8] +// CHECK:STDOUT: @array.f7c.loc22_3 = internal constant [6 x double] [double 9.000000e-01, double 8.000000e+00, double 8.000000e+01, double 1.000000e+07, double 1.000000e+08, double 1.000000e-08] // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF.Main() #0 !dbg !4 { @@ -45,7 +45,7 @@ fn F() { // CHECK:STDOUT: %.loc21_3.6.array.index = getelementptr inbounds [4 x i32], ptr %_.var.loc16, i32 0, i64 1, !dbg !9 // CHECK:STDOUT: %.loc21_3.9.array.index = getelementptr inbounds [4 x i32], ptr %_.var.loc16, i32 0, i64 2, !dbg !9 // CHECK:STDOUT: %.loc21_3.12.array.index = getelementptr inbounds [4 x i32], ptr %_.var.loc16, i32 0, i64 3, !dbg !9 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %_.var.loc16, ptr align 4 @array.cb3.loc16_3, i64 16, i1 false), !dbg !7 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %_.var.loc16, ptr align 4 @array.afa.loc16_3, i64 16, i1 false), !dbg !7 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc22), !dbg !8 // CHECK:STDOUT: %.loc29_3.3.array.index = getelementptr inbounds [6 x double], ptr %_.var.loc22, i32 0, i64 0, !dbg !10 // CHECK:STDOUT: %.loc29_3.6.array.index = getelementptr inbounds [6 x double], ptr %_.var.loc22, i32 0, i64 1, !dbg !10 @@ -53,32 +53,32 @@ fn F() { // CHECK:STDOUT: %.loc29_3.12.array.index = getelementptr inbounds [6 x double], ptr %_.var.loc22, i32 0, i64 3, !dbg !10 // CHECK:STDOUT: %.loc29_3.15.array.index = getelementptr inbounds [6 x double], ptr %_.var.loc22, i32 0, i64 4, !dbg !10 // CHECK:STDOUT: %.loc29_3.18.array.index = getelementptr inbounds [6 x double], ptr %_.var.loc22, i32 0, i64 5, !dbg !10 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var.loc22, ptr align 8 @array.ab3.loc22_3, i64 48, i1 false), !dbg !8 -// CHECK:STDOUT: call void @"_COp.3fca3fd6edadb69e:core.Destroy.Core"(ptr %_.var.loc22), !dbg !8 -// CHECK:STDOUT: call void @"_COp.e219a638c6ca7e45:core.Destroy.Core"(ptr %_.var.loc16), !dbg !7 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %_.var.loc22, ptr align 8 @array.f7c.loc22_3, i64 48, i1 false), !dbg !8 +// CHECK:STDOUT: call void @"_COp.fa359bd889c8e0c3:core.Destroy.Core"(ptr %_.var.loc22), !dbg !8 +// CHECK:STDOUT: call void @"_COp.84dc7ec4d03d72e2:core.Destroy.Core"(ptr %_.var.loc16), !dbg !7 // CHECK:STDOUT: ret void, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.3fca3fd6edadb69e:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.fa359bd889c8e0c3:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !23 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !23 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.e219a638c6ca7e45:core.Destroy.Core"(ptr %self) #0 !dbg !30 { +// CHECK:STDOUT: define weak_odr void @"_COp.84dc7ec4d03d72e2:core.Destroy.Core"(ptr %self) #0 !dbg !30 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } @@ -111,25 +111,25 @@ fn F() { // CHECK:STDOUT: !9 = !DILocation(line: 16, column: 26, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 22, column: 26, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 13, column: 1, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 22, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 22, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !15} // CHECK:STDOUT: !15 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !12, type: !15) // CHECK:STDOUT: !18 = !DILocation(line: 22, column: 3, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.3fca3fd6edadb69e:core.Destroy.Core", scope: null, file: !3, line: 22, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.fa359bd889c8e0c3:core.Destroy.Core", scope: null, file: !3, line: 22, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !20 = !{!21} // CHECK:STDOUT: !21 = !DILocalVariable(arg: 1, scope: !19, type: !15) // CHECK:STDOUT: !22 = !DILocation(line: 22, column: 3, scope: !19) -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !24 = !DISubroutineType(types: !25) // CHECK:STDOUT: !25 = !{null, !26} // CHECK:STDOUT: !26 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !23, type: !26) // CHECK:STDOUT: !29 = !DILocation(line: 16, column: 3, scope: !23) -// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e219a638c6ca7e45:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) +// CHECK:STDOUT: !30 = distinct !DISubprogram(name: "Op", linkageName: "_COp.84dc7ec4d03d72e2:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !31) // CHECK:STDOUT: !31 = !{!32} // CHECK:STDOUT: !32 = !DILocalVariable(arg: 1, scope: !30, type: !15) // CHECK:STDOUT: !33 = !DILocation(line: 16, column: 3, scope: !30) diff --git a/toolchain/lower/testdata/primitives/optional.carbon b/toolchain/lower/testdata/primitives/optional.carbon index 5168ed3d31b0..31e062465c05 100644 --- a/toolchain/lower/testdata/primitives/optional.carbon +++ b/toolchain/lower/testdata/primitives/optional.carbon @@ -61,7 +61,7 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: source_filename = "convert.carbon" // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !4 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !10 // CHECK:STDOUT: } @@ -69,17 +69,17 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CConvert.Main(ptr sret(<{ i32, i1 }>) %return, ptr %o) #0 !dbg !11 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %Optional.HasValue.call = call i1 @_CHasValue.Optional.Core.b31b2c9ba6708873(ptr %o), !dbg !17 +// CHECK:STDOUT: %Optional.HasValue.call = call i1 @_CHasValue.Optional.Core.8e119863da11ee41(ptr %o), !dbg !17 // CHECK:STDOUT: br i1 %Optional.HasValue.call, label %if.then, label %if.else, !dbg !18 // CHECK:STDOUT: // CHECK:STDOUT: if.then: ; preds = %entry -// CHECK:STDOUT: %Optional.Get.call = call ptr @_CGet.Optional.Core.b31b2c9ba6708873(ptr %o), !dbg !19 +// CHECK:STDOUT: %Optional.Get.call = call ptr @_CGet.Optional.Core.8e119863da11ee41(ptr %o), !dbg !19 // CHECK:STDOUT: %.loc5_12.2 = load i32, ptr %Optional.Get.call, align 4, !dbg !20 -// CHECK:STDOUT: call void @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.406c55ecaefc4691"(ptr %return, i32 %.loc5_12.2), !dbg !21 +// CHECK:STDOUT: call void @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.d584e9c3abeb69c0"(ptr %return, i32 %.loc5_12.2), !dbg !21 // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: // CHECK:STDOUT: if.else: ; preds = %entry -// CHECK:STDOUT: call void @_CNone.Optional.Core.f143da5c52693ac4(ptr %return), !dbg !22 +// CHECK:STDOUT: call void @_CNone.Optional.Core.8abaa694b657a602(ptr %return), !dbg !22 // CHECK:STDOUT: ret void, !dbg !23 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -95,119 +95,119 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: %_.var.loc17 = alloca <{ i32, i1 }>, align 4, !dbg !36 // CHECK:STDOUT: %_.var.loc18 = alloca <{ i32, i1 }>, align 4, !dbg !37 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc11), !dbg !30 -// CHECK:STDOUT: call void @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.406c55ecaefc4691"(ptr %_.var.loc11, i32 %a), !dbg !30 +// CHECK:STDOUT: call void @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.d584e9c3abeb69c0"(ptr %_.var.loc11, i32 %a), !dbg !30 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc12), !dbg !31 -// CHECK:STDOUT: call void @"_CConvert.68cbef1dbba6ee88:ImplicitAs.ad22d1bbc0605210.Core.b03f0ea628300a10"(ptr %_.var.loc12, i32 %a), !dbg !31 +// CHECK:STDOUT: call void @"_CConvert.8c14fbb190d2c4a2:ImplicitAs.ad22d1bbc0605210.Core.4462757cf1994b1f"(ptr %_.var.loc12, i32 %a), !dbg !31 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc13), !dbg !32 -// CHECK:STDOUT: call void @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.074f3462e5dec702"(ptr %_.var.loc13, i32 %a), !dbg !32 +// CHECK:STDOUT: call void @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.5301bd2e5265063e"(ptr %_.var.loc13, i32 %a), !dbg !32 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc14), !dbg !33 -// CHECK:STDOUT: call void @"_CConvert.68cbef1dbba6ee88:ImplicitAs.ad22d1bbc0605210.Core.656cc1abee79844b"(ptr %_.var.loc14, i32 %a), !dbg !33 +// CHECK:STDOUT: call void @"_CConvert.8c14fbb190d2c4a2:ImplicitAs.ad22d1bbc0605210.Core.bae947e6cb644eb3"(ptr %_.var.loc14, i32 %a), !dbg !33 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc15), !dbg !34 -// CHECK:STDOUT: call void @"_CConvert.e767a09bf0821f52:ImplicitAs.eb057aa32837c84e.Core.b03f0ea628300a10"(ptr %_.var.loc15, i32 %b), !dbg !34 +// CHECK:STDOUT: call void @"_CConvert.874935b394d32264:ImplicitAs.eb057aa32837c84e.Core.4462757cf1994b1f"(ptr %_.var.loc15, i32 %b), !dbg !34 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc16), !dbg !35 -// CHECK:STDOUT: call void @"_CConvert.e767a09bf0821f52:ImplicitAs.eb057aa32837c84e.Core.f0d1db7a36f1a96f"(ptr %_.var.loc16, i32 %b), !dbg !35 +// CHECK:STDOUT: call void @"_CConvert.874935b394d32264:ImplicitAs.eb057aa32837c84e.Core.d312635c3eabfce6"(ptr %_.var.loc16, i32 %b), !dbg !35 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc17), !dbg !36 -// CHECK:STDOUT: call void @"_CConvert.e767a09bf0821f52:ImplicitAs.eb057aa32837c84e.Core.656cc1abee79844b"(ptr %_.var.loc17, i32 %b), !dbg !36 +// CHECK:STDOUT: call void @"_CConvert.874935b394d32264:ImplicitAs.eb057aa32837c84e.Core.bae947e6cb644eb3"(ptr %_.var.loc17, i32 %b), !dbg !36 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc18), !dbg !37 -// CHECK:STDOUT: call void @"_CConvert.e767a09bf0821f52:ImplicitAs.eb057aa32837c84e.Core.5ca625a1267a01ca"(ptr %_.var.loc18, i32 %b), !dbg !37 -// CHECK:STDOUT: call void @"_COp.d610c1c910bccfb5:core.Destroy.Core"(ptr %_.var.loc18), !dbg !37 -// CHECK:STDOUT: call void @"_COp.acdb4e8019f485b2:core.Destroy.Core"(ptr %_.var.loc17), !dbg !36 -// CHECK:STDOUT: call void @"_COp.e4e69e7041ba4d0c:core.Destroy.Core"(ptr %_.var.loc16), !dbg !35 -// CHECK:STDOUT: call void @"_COp.04bdb58a2bfa8e9a:core.Destroy.Core"(ptr %_.var.loc15), !dbg !34 -// CHECK:STDOUT: call void @"_COp.d610c1c910bccfb5:core.Destroy.Core"(ptr %_.var.loc14), !dbg !33 -// CHECK:STDOUT: call void @"_COp.acdb4e8019f485b2:core.Destroy.Core"(ptr %_.var.loc13), !dbg !32 -// CHECK:STDOUT: call void @"_COp.e4e69e7041ba4d0c:core.Destroy.Core"(ptr %_.var.loc12), !dbg !31 -// CHECK:STDOUT: call void @"_COp.04bdb58a2bfa8e9a:core.Destroy.Core"(ptr %_.var.loc11), !dbg !30 +// CHECK:STDOUT: call void @"_CConvert.874935b394d32264:ImplicitAs.eb057aa32837c84e.Core.4e32707a29fe420f"(ptr %_.var.loc18, i32 %b), !dbg !37 +// CHECK:STDOUT: call void @"_COp.40c46f69cfcfbfe0:core.Destroy.Core"(ptr %_.var.loc18), !dbg !37 +// CHECK:STDOUT: call void @"_COp.482d7f78e894e7e4:core.Destroy.Core"(ptr %_.var.loc17), !dbg !36 +// CHECK:STDOUT: call void @"_COp.772e6391bfdaa681:core.Destroy.Core"(ptr %_.var.loc16), !dbg !35 +// CHECK:STDOUT: call void @"_COp.06418948197cfd5d:core.Destroy.Core"(ptr %_.var.loc15), !dbg !34 +// CHECK:STDOUT: call void @"_COp.40c46f69cfcfbfe0:core.Destroy.Core"(ptr %_.var.loc14), !dbg !33 +// CHECK:STDOUT: call void @"_COp.482d7f78e894e7e4:core.Destroy.Core"(ptr %_.var.loc13), !dbg !32 +// CHECK:STDOUT: call void @"_COp.772e6391bfdaa681:core.Destroy.Core"(ptr %_.var.loc12), !dbg !31 +// CHECK:STDOUT: call void @"_COp.06418948197cfd5d:core.Destroy.Core"(ptr %_.var.loc11), !dbg !30 // CHECK:STDOUT: ret void, !dbg !38 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.cf0fdf6659baaa34:core.Destroy.Core"(ptr %self) #0 !dbg !39 { +// CHECK:STDOUT: define weak_odr void @"_COp.e3bae0f289bcf878:core.Destroy.Core"(ptr %self) #0 !dbg !39 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !44 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.6d0c6cfaed549004:core.Destroy.Core"(ptr %self) #0 !dbg !45 { +// CHECK:STDOUT: define weak_odr void @"_COp.15c3613c1fae3fe8:core.Destroy.Core"(ptr %self) #0 !dbg !45 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !48 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.ff8e65f476832154:core.Destroy.Core"(ptr %self) #0 !dbg !49 { +// CHECK:STDOUT: define weak_odr void @"_COp.7a29c69bca4c0f8d:core.Destroy.Core"(ptr %self) #0 !dbg !49 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !52 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.83837874cf69a650:core.Destroy.Core"(ptr %self) #0 !dbg !53 { +// CHECK:STDOUT: define weak_odr void @"_COp.4430ba11e9d8c243:core.Destroy.Core"(ptr %self) #0 !dbg !53 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !56 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.acdb4e8019f485b2:core.Destroy.Core"(ptr %self) #0 !dbg !57 { +// CHECK:STDOUT: define weak_odr void @"_COp.482d7f78e894e7e4:core.Destroy.Core"(ptr %self) #0 !dbg !57 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !60 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.d610c1c910bccfb5:core.Destroy.Core"(ptr %self) #0 !dbg !61 { +// CHECK:STDOUT: define weak_odr void @"_COp.40c46f69cfcfbfe0:core.Destroy.Core"(ptr %self) #0 !dbg !61 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !64 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.5d78bb11848724da:core.Destroy.Core"(ptr %self) #0 !dbg !65 { +// CHECK:STDOUT: define weak_odr void @"_COp.bc4985fcac159a9a:core.Destroy.Core"(ptr %self) #0 !dbg !65 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !68 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.e6bd9626cf45e979:core.Destroy.Core"(ptr %self) #0 !dbg !69 { +// CHECK:STDOUT: define weak_odr void @"_COp.6d11ad784a4a1da0:core.Destroy.Core"(ptr %self) #0 !dbg !69 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !72 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.57bd9f6c8b0ddceb:core.Destroy.Core"(ptr %self) #0 !dbg !73 { +// CHECK:STDOUT: define weak_odr void @"_COp.084abe736cf37c46:core.Destroy.Core"(ptr %self) #0 !dbg !73 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !76 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.04bdb58a2bfa8e9a:core.Destroy.Core"(ptr %self) #0 !dbg !77 { +// CHECK:STDOUT: define weak_odr void @"_COp.06418948197cfd5d:core.Destroy.Core"(ptr %self) #0 !dbg !77 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !80 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.e4e69e7041ba4d0c:core.Destroy.Core"(ptr %self) #0 !dbg !81 { +// CHECK:STDOUT: define weak_odr void @"_COp.772e6391bfdaa681:core.Destroy.Core"(ptr %self) #0 !dbg !81 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !84 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @_CHasValue.Optional.Core.b31b2c9ba6708873(ptr %self) #0 !dbg !85 { -// CHECK:STDOUT: %1 = call i1 @"_CHas.e8f8f92d3d08d149:OptionalStorage.Core.c8fd090a2e741f70"(ptr %self), !dbg !89 +// CHECK:STDOUT: define linkonce_odr i1 @_CHasValue.Optional.Core.8e119863da11ee41(ptr %self) #0 !dbg !85 { +// CHECK:STDOUT: %1 = call i1 @"_CHas.e8f8f92d3d08d149:OptionalStorage.Core.5e5386123d4b6287"(ptr %self), !dbg !89 // CHECK:STDOUT: ret i1 %1, !dbg !90 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @_CGet.Optional.Core.b31b2c9ba6708873(ptr %self) #0 !dbg !91 { -// CHECK:STDOUT: %1 = call ptr @"_CGet.e8f8f92d3d08d149:OptionalStorage.Core.c8fd090a2e741f70"(ptr %self), !dbg !94 +// CHECK:STDOUT: define linkonce_odr ptr @_CGet.Optional.Core.8e119863da11ee41(ptr %self) #0 !dbg !91 { +// CHECK:STDOUT: %1 = call ptr @"_CGet.e8f8f92d3d08d149:OptionalStorage.Core.5e5386123d4b6287"(ptr %self), !dbg !94 // CHECK:STDOUT: ret ptr %1, !dbg !95 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.406c55ecaefc4691"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !96 { -// CHECK:STDOUT: call void @"_CConvert.ba9a17e320476215:OptionalAs.7eef99cd03a74de4.Core.f143da5c52693ac4"(ptr %return, i32 %self), !dbg !101 +// CHECK:STDOUT: define linkonce_odr void @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.d584e9c3abeb69c0"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !96 { +// CHECK:STDOUT: call void @"_CConvert.a0c6f87edec590a2:OptionalAs.3a7c842b5a6bca51.Core.8abaa694b657a602"(ptr %return, i32 %self), !dbg !101 // CHECK:STDOUT: ret void, !dbg !102 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CNone.Optional.Core.f143da5c52693ac4(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !103 { -// CHECK:STDOUT: call void @"_CNone.4f9853132d866dc6:OptionalStorage.Core.fe1b3f265f915ed6"(ptr %return), !dbg !106 +// CHECK:STDOUT: define linkonce_odr void @_CNone.Optional.Core.8abaa694b657a602(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !103 { +// CHECK:STDOUT: call void @"_CNone.c70f21296ce3b72c:OptionalStorage.Core.7ddaa82882073726"(ptr %return), !dbg !106 // CHECK:STDOUT: ret void, !dbg !107 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -215,104 +215,104 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CConvert.68cbef1dbba6ee88:ImplicitAs.ad22d1bbc0605210.Core.b03f0ea628300a10"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !108 { -// CHECK:STDOUT: call void @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.406c55ecaefc4691"(ptr %return, i32 %self), !dbg !112 +// CHECK:STDOUT: define linkonce_odr void @"_CConvert.8c14fbb190d2c4a2:ImplicitAs.ad22d1bbc0605210.Core.4462757cf1994b1f"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !108 { +// CHECK:STDOUT: call void @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.d584e9c3abeb69c0"(ptr %return, i32 %self), !dbg !112 // CHECK:STDOUT: ret void, !dbg !113 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.074f3462e5dec702"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !114 { -// CHECK:STDOUT: call void @"_CConvert.62d55c5523334675:OptionalAs.f5e7d4305ac1f327.Core.63d4fae402483aa7"(ptr %return, i32 %self), !dbg !117 +// CHECK:STDOUT: define linkonce_odr void @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.5301bd2e5265063e"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !114 { +// CHECK:STDOUT: call void @"_CConvert.6bb01b3b35e74e55:OptionalAs.db69f09c2307f298.Core.5c5ece92cc304396"(ptr %return, i32 %self), !dbg !117 // CHECK:STDOUT: ret void, !dbg !118 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CConvert.68cbef1dbba6ee88:ImplicitAs.ad22d1bbc0605210.Core.656cc1abee79844b"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !119 { -// CHECK:STDOUT: call void @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.074f3462e5dec702"(ptr %return, i32 %self), !dbg !122 +// CHECK:STDOUT: define linkonce_odr void @"_CConvert.8c14fbb190d2c4a2:ImplicitAs.ad22d1bbc0605210.Core.bae947e6cb644eb3"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !119 { +// CHECK:STDOUT: call void @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.5301bd2e5265063e"(ptr %return, i32 %self), !dbg !122 // CHECK:STDOUT: ret void, !dbg !123 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CConvert.e767a09bf0821f52:ImplicitAs.eb057aa32837c84e.Core.b03f0ea628300a10"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !124 { -// CHECK:STDOUT: call void @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.406c55ecaefc4691"(ptr %return, i32 %self), !dbg !127 +// CHECK:STDOUT: define linkonce_odr void @"_CConvert.874935b394d32264:ImplicitAs.eb057aa32837c84e.Core.4462757cf1994b1f"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !124 { +// CHECK:STDOUT: call void @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.d584e9c3abeb69c0"(ptr %return, i32 %self), !dbg !127 // CHECK:STDOUT: ret void, !dbg !128 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CConvert.e767a09bf0821f52:ImplicitAs.eb057aa32837c84e.Core.f0d1db7a36f1a96f"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !129 { -// CHECK:STDOUT: call void @"_CConvert.68cbef1dbba6ee88:ImplicitAs.ad22d1bbc0605210.Core.b03f0ea628300a10"(ptr %return, i32 %self), !dbg !132 +// CHECK:STDOUT: define linkonce_odr void @"_CConvert.874935b394d32264:ImplicitAs.eb057aa32837c84e.Core.d312635c3eabfce6"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !129 { +// CHECK:STDOUT: call void @"_CConvert.8c14fbb190d2c4a2:ImplicitAs.ad22d1bbc0605210.Core.4462757cf1994b1f"(ptr %return, i32 %self), !dbg !132 // CHECK:STDOUT: ret void, !dbg !133 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CConvert.e767a09bf0821f52:ImplicitAs.eb057aa32837c84e.Core.656cc1abee79844b"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !134 { -// CHECK:STDOUT: call void @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.074f3462e5dec702"(ptr %return, i32 %self), !dbg !137 +// CHECK:STDOUT: define linkonce_odr void @"_CConvert.874935b394d32264:ImplicitAs.eb057aa32837c84e.Core.bae947e6cb644eb3"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !134 { +// CHECK:STDOUT: call void @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.5301bd2e5265063e"(ptr %return, i32 %self), !dbg !137 // CHECK:STDOUT: ret void, !dbg !138 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CConvert.e767a09bf0821f52:ImplicitAs.eb057aa32837c84e.Core.5ca625a1267a01ca"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !139 { -// CHECK:STDOUT: call void @"_CConvert.68cbef1dbba6ee88:ImplicitAs.ad22d1bbc0605210.Core.656cc1abee79844b"(ptr %return, i32 %self), !dbg !142 +// CHECK:STDOUT: define linkonce_odr void @"_CConvert.874935b394d32264:ImplicitAs.eb057aa32837c84e.Core.4e32707a29fe420f"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !139 { +// CHECK:STDOUT: call void @"_CConvert.8c14fbb190d2c4a2:ImplicitAs.ad22d1bbc0605210.Core.bae947e6cb644eb3"(ptr %return, i32 %self), !dbg !142 // CHECK:STDOUT: ret void, !dbg !143 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @"_CHas.e8f8f92d3d08d149:OptionalStorage.Core.c8fd090a2e741f70"(ptr %value) #0 !dbg !144 { +// CHECK:STDOUT: define linkonce_odr i1 @"_CHas.e8f8f92d3d08d149:OptionalStorage.Core.5e5386123d4b6287"(ptr %value) #0 !dbg !144 { // CHECK:STDOUT: %1 = icmp eq ptr %value, null, !dbg !147 // CHECK:STDOUT: %2 = xor i1 %1, true, !dbg !148 // CHECK:STDOUT: ret i1 %2, !dbg !149 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_CGet.e8f8f92d3d08d149:OptionalStorage.Core.c8fd090a2e741f70"(ptr %value) #0 !dbg !150 { +// CHECK:STDOUT: define linkonce_odr ptr @"_CGet.e8f8f92d3d08d149:OptionalStorage.Core.5e5386123d4b6287"(ptr %value) #0 !dbg !150 { // CHECK:STDOUT: ret ptr %value, !dbg !153 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CConvert.ba9a17e320476215:OptionalAs.7eef99cd03a74de4.Core.f143da5c52693ac4"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !154 { -// CHECK:STDOUT: call void @_CSome.Optional.Core.f143da5c52693ac4(ptr %return, i32 %self), !dbg !157 +// CHECK:STDOUT: define linkonce_odr void @"_CConvert.a0c6f87edec590a2:OptionalAs.3a7c842b5a6bca51.Core.8abaa694b657a602"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !154 { +// CHECK:STDOUT: call void @_CSome.Optional.Core.8abaa694b657a602(ptr %return, i32 %self), !dbg !157 // CHECK:STDOUT: ret void, !dbg !158 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CNone.4f9853132d866dc6:OptionalStorage.Core.fe1b3f265f915ed6"(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !159 { +// CHECK:STDOUT: define linkonce_odr void @"_CNone.c70f21296ce3b72c:OptionalStorage.Core.7ddaa82882073726"(ptr sret(<{ i32, i1 }>) %return) #0 !dbg !159 { // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 1, !dbg !160 // CHECK:STDOUT: store i8 0, ptr %has_value, align 1, !dbg !160 // CHECK:STDOUT: ret void, !dbg !161 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CConvert.62d55c5523334675:OptionalAs.f5e7d4305ac1f327.Core.63d4fae402483aa7"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !162 { +// CHECK:STDOUT: define linkonce_odr void @"_CConvert.6bb01b3b35e74e55:OptionalAs.db69f09c2307f298.Core.5c5ece92cc304396"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !162 { // CHECK:STDOUT: %temp = alloca i32, align 4, !dbg !165 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %temp), !dbg !165 -// CHECK:STDOUT: %1 = call i32 @"_CConvert.68cbef1dbba6ee88:ImplicitAs.ad22d1bbc0605210.Core.734a416912e3df06"(i32 %self), !dbg !165 +// CHECK:STDOUT: %1 = call i32 @"_CConvert.8c14fbb190d2c4a2:ImplicitAs.ad22d1bbc0605210.Core.8c6f821d602abaa4"(i32 %self), !dbg !165 // CHECK:STDOUT: store i32 %1, ptr %temp, align 4, !dbg !165 // CHECK:STDOUT: %2 = load i32, ptr %temp, align 4, !dbg !165 -// CHECK:STDOUT: call void @_CSome.Optional.Core.0041dd252ab78248(ptr %return, i32 %2), !dbg !166 -// CHECK:STDOUT: call void @"_COp.cf0fdf6659baaa34:core.Destroy.Core"(ptr %temp), !dbg !165 +// CHECK:STDOUT: call void @_CSome.Optional.Core.664c9635efe58704(ptr %return, i32 %2), !dbg !166 +// CHECK:STDOUT: call void @"_COp.e3bae0f289bcf878:core.Destroy.Core"(ptr %temp), !dbg !165 // CHECK:STDOUT: ret void, !dbg !167 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CSome.Optional.Core.f143da5c52693ac4(ptr sret(<{ i32, i1 }>) %return, i32 %value) #0 !dbg !168 { -// CHECK:STDOUT: call void @"_CSome.4f9853132d866dc6:OptionalStorage.Core.fe1b3f265f915ed6"(ptr %return, i32 %value), !dbg !171 +// CHECK:STDOUT: define linkonce_odr void @_CSome.Optional.Core.8abaa694b657a602(ptr sret(<{ i32, i1 }>) %return, i32 %value) #0 !dbg !168 { +// CHECK:STDOUT: call void @"_CSome.c70f21296ce3b72c:OptionalStorage.Core.7ddaa82882073726"(ptr %return, i32 %value), !dbg !171 // CHECK:STDOUT: ret void, !dbg !172 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.68cbef1dbba6ee88:ImplicitAs.ad22d1bbc0605210.Core.734a416912e3df06"(i32 %self) #0 !dbg !173 { -// CHECK:STDOUT: %1 = call i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f"(i32 %self), !dbg !176 +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.8c14fbb190d2c4a2:ImplicitAs.ad22d1bbc0605210.Core.8c6f821d602abaa4"(i32 %self) #0 !dbg !173 { +// CHECK:STDOUT: %1 = call i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %self), !dbg !176 // CHECK:STDOUT: ret i32 %1, !dbg !177 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @_CSome.Optional.Core.0041dd252ab78248(ptr sret(<{ i32, i1 }>) %return, i32 %value) #0 !dbg !178 { -// CHECK:STDOUT: call void @"_CSome.4f9853132d866dc6:OptionalStorage.Core.9078267c53e6931d"(ptr %return, i32 %value), !dbg !181 +// CHECK:STDOUT: define linkonce_odr void @_CSome.Optional.Core.664c9635efe58704(ptr sret(<{ i32, i1 }>) %return, i32 %value) #0 !dbg !178 { +// CHECK:STDOUT: call void @"_CSome.c70f21296ce3b72c:OptionalStorage.Core.66877768e8b2b97c"(ptr %return, i32 %value), !dbg !181 // CHECK:STDOUT: ret void, !dbg !182 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CSome.4f9853132d866dc6:OptionalStorage.Core.fe1b3f265f915ed6"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !183 { +// CHECK:STDOUT: define linkonce_odr void @"_CSome.c70f21296ce3b72c:OptionalStorage.Core.7ddaa82882073726"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !183 { // CHECK:STDOUT: %value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 0, !dbg !186 // CHECK:STDOUT: store i32 %self, ptr %value, align 4, !dbg !186 // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 1, !dbg !187 @@ -321,15 +321,15 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f"(i32 %self) #0 !dbg !189 { +// CHECK:STDOUT: define linkonce_odr i32 @"_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc"(i32 %self) #0 !dbg !189 { // CHECK:STDOUT: %1 = call i32 @"_CAsInt.Int.9452f4c51951679b.Core:AnyInt.Core.be1e879c1ad406d8"(i32 %self), !dbg !195 // CHECK:STDOUT: ret i32 %1, !dbg !196 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CSome.4f9853132d866dc6:OptionalStorage.Core.9078267c53e6931d"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !197 { +// CHECK:STDOUT: define linkonce_odr void @"_CSome.c70f21296ce3b72c:OptionalStorage.Core.66877768e8b2b97c"(ptr sret(<{ i32, i1 }>) %return, i32 %self) #0 !dbg !197 { // CHECK:STDOUT: %value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 0, !dbg !200 -// CHECK:STDOUT: %1 = call i32 @"_COp.c4bf98205baa6bbe:Copy.Core.986e4fbf737c841b"(i32 %self), !dbg !201 +// CHECK:STDOUT: %1 = call i32 @"_COp.99377c0e95f681c6:Copy.Core.4bee6dcdea6ba756"(i32 %self), !dbg !201 // CHECK:STDOUT: store i32 %1, ptr %value, align 4, !dbg !200 // CHECK:STDOUT: %has_value = getelementptr inbounds nuw <{ i32, i1 }>, ptr %return, i32 0, i32 1, !dbg !202 // CHECK:STDOUT: store i8 1, ptr %has_value, align 1, !dbg !202 @@ -342,16 +342,16 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i32 @"_COp.c4bf98205baa6bbe:Copy.Core.986e4fbf737c841b"(i32 %self) #0 !dbg !208 { +// CHECK:STDOUT: define linkonce_odr i32 @"_COp.99377c0e95f681c6:Copy.Core.4bee6dcdea6ba756"(i32 %self) #0 !dbg !208 { // CHECK:STDOUT: ret i32 %self, !dbg !212 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.acdb4e8019f485b2:core.Destroy.Core", { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @"_COp.d610c1c910bccfb5:core.Destroy.Core", { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @"_COp.04bdb58a2bfa8e9a:core.Destroy.Core", { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @"_COp.e4e69e7041ba4d0c:core.Destroy.Core", { 1, 0 } -// CHECK:STDOUT: uselistorder ptr @"_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.406c55ecaefc4691", { 0, 1, 3, 2 } +// CHECK:STDOUT: uselistorder ptr @"_COp.482d7f78e894e7e4:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.40c46f69cfcfbfe0:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.06418948197cfd5d:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.772e6391bfdaa681:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.d584e9c3abeb69c0", { 0, 1, 3, 2 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 0, 8, 7, 6, 5, 4, 3, 2, 1 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -364,7 +364,7 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "convert.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 3, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 3, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{null, !7} // CHECK:STDOUT: !7 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) @@ -399,157 +399,157 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: !36 = !DILocation(line: 17, column: 3, scope: !24) // CHECK:STDOUT: !37 = !DILocation(line: 18, column: 3, scope: !24) // CHECK:STDOUT: !38 = !DILocation(line: 10, column: 1, scope: !24) -// CHECK:STDOUT: !39 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cf0fdf6659baaa34:core.Destroy.Core", scope: null, file: !3, line: 13, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) +// CHECK:STDOUT: !39 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e3bae0f289bcf878:core.Destroy.Core", scope: null, file: !3, line: 13, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !42) // CHECK:STDOUT: !40 = !DISubroutineType(types: !41) // CHECK:STDOUT: !41 = !{null, !14} // CHECK:STDOUT: !42 = !{!43} // CHECK:STDOUT: !43 = !DILocalVariable(arg: 1, scope: !39, type: !14) // CHECK:STDOUT: !44 = !DILocation(line: 13, column: 10, scope: !39) -// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6d0c6cfaed549004:core.Destroy.Core", scope: null, file: !3, line: 18, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) +// CHECK:STDOUT: !45 = distinct !DISubprogram(name: "Op", linkageName: "_COp.15c3613c1fae3fe8:core.Destroy.Core", scope: null, file: !3, line: 18, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !46) // CHECK:STDOUT: !46 = !{!47} // CHECK:STDOUT: !47 = !DILocalVariable(arg: 1, scope: !45, type: !14) // CHECK:STDOUT: !48 = !DILocation(line: 18, column: 3, scope: !45) -// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ff8e65f476832154:core.Destroy.Core", scope: null, file: !3, line: 18, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !50) +// CHECK:STDOUT: !49 = distinct !DISubprogram(name: "Op", linkageName: "_COp.7a29c69bca4c0f8d:core.Destroy.Core", scope: null, file: !3, line: 18, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !50) // CHECK:STDOUT: !50 = !{!51} // CHECK:STDOUT: !51 = !DILocalVariable(arg: 1, scope: !49, type: !14) // CHECK:STDOUT: !52 = !DILocation(line: 18, column: 3, scope: !49) -// CHECK:STDOUT: !53 = distinct !DISubprogram(name: "Op", linkageName: "_COp.83837874cf69a650:core.Destroy.Core", scope: null, file: !3, line: 18, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !54) +// CHECK:STDOUT: !53 = distinct !DISubprogram(name: "Op", linkageName: "_COp.4430ba11e9d8c243:core.Destroy.Core", scope: null, file: !3, line: 18, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !54) // CHECK:STDOUT: !54 = !{!55} // CHECK:STDOUT: !55 = !DILocalVariable(arg: 1, scope: !53, type: !14) // CHECK:STDOUT: !56 = !DILocation(line: 18, column: 3, scope: !53) -// CHECK:STDOUT: !57 = distinct !DISubprogram(name: "Op", linkageName: "_COp.acdb4e8019f485b2:core.Destroy.Core", scope: null, file: !3, line: 18, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !58) +// CHECK:STDOUT: !57 = distinct !DISubprogram(name: "Op", linkageName: "_COp.482d7f78e894e7e4:core.Destroy.Core", scope: null, file: !3, line: 18, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !58) // CHECK:STDOUT: !58 = !{!59} // CHECK:STDOUT: !59 = !DILocalVariable(arg: 1, scope: !57, type: !14) // CHECK:STDOUT: !60 = !DILocation(line: 18, column: 3, scope: !57) -// CHECK:STDOUT: !61 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d610c1c910bccfb5:core.Destroy.Core", scope: null, file: !3, line: 18, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !62) +// CHECK:STDOUT: !61 = distinct !DISubprogram(name: "Op", linkageName: "_COp.40c46f69cfcfbfe0:core.Destroy.Core", scope: null, file: !3, line: 18, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !62) // CHECK:STDOUT: !62 = !{!63} // CHECK:STDOUT: !63 = !DILocalVariable(arg: 1, scope: !61, type: !14) // CHECK:STDOUT: !64 = !DILocation(line: 18, column: 3, scope: !61) -// CHECK:STDOUT: !65 = distinct !DISubprogram(name: "Op", linkageName: "_COp.5d78bb11848724da:core.Destroy.Core", scope: null, file: !3, line: 16, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !66) +// CHECK:STDOUT: !65 = distinct !DISubprogram(name: "Op", linkageName: "_COp.bc4985fcac159a9a:core.Destroy.Core", scope: null, file: !3, line: 16, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !66) // CHECK:STDOUT: !66 = !{!67} // CHECK:STDOUT: !67 = !DILocalVariable(arg: 1, scope: !65, type: !7) // CHECK:STDOUT: !68 = !DILocation(line: 16, column: 3, scope: !65) -// CHECK:STDOUT: !69 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e6bd9626cf45e979:core.Destroy.Core", scope: null, file: !3, line: 16, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !70) +// CHECK:STDOUT: !69 = distinct !DISubprogram(name: "Op", linkageName: "_COp.6d11ad784a4a1da0:core.Destroy.Core", scope: null, file: !3, line: 16, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !70) // CHECK:STDOUT: !70 = !{!71} // CHECK:STDOUT: !71 = !DILocalVariable(arg: 1, scope: !69, type: !14) // CHECK:STDOUT: !72 = !DILocation(line: 16, column: 3, scope: !69) -// CHECK:STDOUT: !73 = distinct !DISubprogram(name: "Op", linkageName: "_COp.57bd9f6c8b0ddceb:core.Destroy.Core", scope: null, file: !3, line: 16, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !74) +// CHECK:STDOUT: !73 = distinct !DISubprogram(name: "Op", linkageName: "_COp.084abe736cf37c46:core.Destroy.Core", scope: null, file: !3, line: 16, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !74) // CHECK:STDOUT: !74 = !{!75} // CHECK:STDOUT: !75 = !DILocalVariable(arg: 1, scope: !73, type: !14) // CHECK:STDOUT: !76 = !DILocation(line: 16, column: 3, scope: !73) -// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "Op", linkageName: "_COp.04bdb58a2bfa8e9a:core.Destroy.Core", scope: null, file: !3, line: 16, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !78) +// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "Op", linkageName: "_COp.06418948197cfd5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !78) // CHECK:STDOUT: !78 = !{!79} // CHECK:STDOUT: !79 = !DILocalVariable(arg: 1, scope: !77, type: !14) // CHECK:STDOUT: !80 = !DILocation(line: 16, column: 3, scope: !77) -// CHECK:STDOUT: !81 = distinct !DISubprogram(name: "Op", linkageName: "_COp.e4e69e7041ba4d0c:core.Destroy.Core", scope: null, file: !3, line: 16, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !82) +// CHECK:STDOUT: !81 = distinct !DISubprogram(name: "Op", linkageName: "_COp.772e6391bfdaa681:core.Destroy.Core", scope: null, file: !3, line: 16, type: !40, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !82) // CHECK:STDOUT: !82 = !{!83} // CHECK:STDOUT: !83 = !DILocalVariable(arg: 1, scope: !81, type: !14) // CHECK:STDOUT: !84 = !DILocation(line: 16, column: 3, scope: !81) -// CHECK:STDOUT: !85 = distinct !DISubprogram(name: "HasValue", linkageName: "_CHasValue.Optional.Core.b31b2c9ba6708873", scope: null, file: !86, line: 36, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !87) +// CHECK:STDOUT: !85 = distinct !DISubprogram(name: "HasValue", linkageName: "_CHasValue.Optional.Core.8e119863da11ee41", scope: null, file: !86, line: 36, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !87) // CHECK:STDOUT: !86 = !DIFile(filename: "{{.*}}/prelude/types/optional.carbon", directory: "") // CHECK:STDOUT: !87 = !{!88} // CHECK:STDOUT: !88 = !DILocalVariable(arg: 1, scope: !85, type: !14) // CHECK:STDOUT: !89 = !DILocation(line: 37, column: 12, scope: !85) // CHECK:STDOUT: !90 = !DILocation(line: 37, column: 5, scope: !85) -// CHECK:STDOUT: !91 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.Optional.Core.b31b2c9ba6708873", scope: null, file: !86, line: 39, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !92) +// CHECK:STDOUT: !91 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.Optional.Core.8e119863da11ee41", scope: null, file: !86, line: 39, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !92) // CHECK:STDOUT: !92 = !{!93} // CHECK:STDOUT: !93 = !DILocalVariable(arg: 1, scope: !91, type: !14) // CHECK:STDOUT: !94 = !DILocation(line: 40, column: 12, scope: !91) // CHECK:STDOUT: !95 = !DILocation(line: 40, column: 5, scope: !91) -// CHECK:STDOUT: !96 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.406c55ecaefc4691", scope: null, file: !86, line: 105, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !99) +// CHECK:STDOUT: !96 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.d584e9c3abeb69c0", scope: null, file: !86, line: 105, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !99) // CHECK:STDOUT: !97 = !DISubroutineType(types: !98) // CHECK:STDOUT: !98 = !{!14, !7} // CHECK:STDOUT: !99 = !{!100} // CHECK:STDOUT: !100 = !DILocalVariable(arg: 1, scope: !96, type: !7) // CHECK:STDOUT: !101 = !DILocation(line: 106, column: 12, scope: !96) // CHECK:STDOUT: !102 = !DILocation(line: 106, column: 5, scope: !96) -// CHECK:STDOUT: !103 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.f143da5c52693ac4", scope: null, file: !86, line: 30, type: !104, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !103 = distinct !DISubprogram(name: "None", linkageName: "_CNone.Optional.Core.8abaa694b657a602", scope: null, file: !86, line: 30, type: !104, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !104 = !DISubroutineType(types: !105) // CHECK:STDOUT: !105 = !{!14} // CHECK:STDOUT: !106 = !DILocation(line: 31, column: 12, scope: !103) // CHECK:STDOUT: !107 = !DILocation(line: 31, column: 5, scope: !103) -// CHECK:STDOUT: !108 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.68cbef1dbba6ee88:ImplicitAs.ad22d1bbc0605210.Core.b03f0ea628300a10", scope: null, file: !109, line: 40, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !110) +// CHECK:STDOUT: !108 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.8c14fbb190d2c4a2:ImplicitAs.ad22d1bbc0605210.Core.4462757cf1994b1f", scope: null, file: !109, line: 40, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !110) // CHECK:STDOUT: !109 = !DIFile(filename: "{{.*}}/prelude/operators/as.carbon", directory: "") // CHECK:STDOUT: !110 = !{!111} // CHECK:STDOUT: !111 = !DILocalVariable(arg: 1, scope: !108, type: !7) // CHECK:STDOUT: !112 = !DILocation(line: 40, column: 45, scope: !108) // CHECK:STDOUT: !113 = !DILocation(line: 40, column: 38, scope: !108) -// CHECK:STDOUT: !114 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.6391a65a70757668:ImplicitAs.116c0b3f4fb552e2.Core.074f3462e5dec702", scope: null, file: !86, line: 105, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !115) +// CHECK:STDOUT: !114 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.0a82a05610538fbd:ImplicitAs.dfe7f37cd2946174.Core.5301bd2e5265063e", scope: null, file: !86, line: 105, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !115) // CHECK:STDOUT: !115 = !{!116} // CHECK:STDOUT: !116 = !DILocalVariable(arg: 1, scope: !114, type: !7) // CHECK:STDOUT: !117 = !DILocation(line: 106, column: 12, scope: !114) // CHECK:STDOUT: !118 = !DILocation(line: 106, column: 5, scope: !114) -// CHECK:STDOUT: !119 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.68cbef1dbba6ee88:ImplicitAs.ad22d1bbc0605210.Core.656cc1abee79844b", scope: null, file: !109, line: 40, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !120) +// CHECK:STDOUT: !119 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.8c14fbb190d2c4a2:ImplicitAs.ad22d1bbc0605210.Core.bae947e6cb644eb3", scope: null, file: !109, line: 40, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !120) // CHECK:STDOUT: !120 = !{!121} // CHECK:STDOUT: !121 = !DILocalVariable(arg: 1, scope: !119, type: !7) // CHECK:STDOUT: !122 = !DILocation(line: 40, column: 45, scope: !119) // CHECK:STDOUT: !123 = !DILocation(line: 40, column: 38, scope: !119) -// CHECK:STDOUT: !124 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.e767a09bf0821f52:ImplicitAs.eb057aa32837c84e.Core.b03f0ea628300a10", scope: null, file: !109, line: 44, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !125) +// CHECK:STDOUT: !124 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.874935b394d32264:ImplicitAs.eb057aa32837c84e.Core.4462757cf1994b1f", scope: null, file: !109, line: 44, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !125) // CHECK:STDOUT: !125 = !{!126} // CHECK:STDOUT: !126 = !DILocalVariable(arg: 1, scope: !124, type: !7) // CHECK:STDOUT: !127 = !DILocation(line: 44, column: 45, scope: !124) // CHECK:STDOUT: !128 = !DILocation(line: 44, column: 38, scope: !124) -// CHECK:STDOUT: !129 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.e767a09bf0821f52:ImplicitAs.eb057aa32837c84e.Core.f0d1db7a36f1a96f", scope: null, file: !109, line: 44, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !130) +// CHECK:STDOUT: !129 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.874935b394d32264:ImplicitAs.eb057aa32837c84e.Core.d312635c3eabfce6", scope: null, file: !109, line: 44, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !130) // CHECK:STDOUT: !130 = !{!131} // CHECK:STDOUT: !131 = !DILocalVariable(arg: 1, scope: !129, type: !7) // CHECK:STDOUT: !132 = !DILocation(line: 44, column: 45, scope: !129) // CHECK:STDOUT: !133 = !DILocation(line: 44, column: 38, scope: !129) -// CHECK:STDOUT: !134 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.e767a09bf0821f52:ImplicitAs.eb057aa32837c84e.Core.656cc1abee79844b", scope: null, file: !109, line: 44, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !135) +// CHECK:STDOUT: !134 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.874935b394d32264:ImplicitAs.eb057aa32837c84e.Core.bae947e6cb644eb3", scope: null, file: !109, line: 44, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !135) // CHECK:STDOUT: !135 = !{!136} // CHECK:STDOUT: !136 = !DILocalVariable(arg: 1, scope: !134, type: !7) // CHECK:STDOUT: !137 = !DILocation(line: 44, column: 45, scope: !134) // CHECK:STDOUT: !138 = !DILocation(line: 44, column: 38, scope: !134) -// CHECK:STDOUT: !139 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.e767a09bf0821f52:ImplicitAs.eb057aa32837c84e.Core.5ca625a1267a01ca", scope: null, file: !109, line: 44, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !140) +// CHECK:STDOUT: !139 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.874935b394d32264:ImplicitAs.eb057aa32837c84e.Core.4e32707a29fe420f", scope: null, file: !109, line: 44, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !140) // CHECK:STDOUT: !140 = !{!141} // CHECK:STDOUT: !141 = !DILocalVariable(arg: 1, scope: !139, type: !7) // CHECK:STDOUT: !142 = !DILocation(line: 44, column: 45, scope: !139) // CHECK:STDOUT: !143 = !DILocation(line: 44, column: 38, scope: !139) -// CHECK:STDOUT: !144 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.e8f8f92d3d08d149:OptionalStorage.Core.c8fd090a2e741f70", scope: null, file: !86, line: 172, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !145) +// CHECK:STDOUT: !144 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.e8f8f92d3d08d149:OptionalStorage.Core.5e5386123d4b6287", scope: null, file: !86, line: 172, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !145) // CHECK:STDOUT: !145 = !{!146} // CHECK:STDOUT: !146 = !DILocalVariable(arg: 1, scope: !144, type: !14) // CHECK:STDOUT: !147 = !DILocation(line: 173, column: 16, scope: !144) // CHECK:STDOUT: !148 = !DILocation(line: 173, column: 12, scope: !144) // CHECK:STDOUT: !149 = !DILocation(line: 173, column: 5, scope: !144) -// CHECK:STDOUT: !150 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.e8f8f92d3d08d149:OptionalStorage.Core.c8fd090a2e741f70", scope: null, file: !86, line: 175, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !151) +// CHECK:STDOUT: !150 = distinct !DISubprogram(name: "Get", linkageName: "_CGet.e8f8f92d3d08d149:OptionalStorage.Core.5e5386123d4b6287", scope: null, file: !86, line: 175, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !151) // CHECK:STDOUT: !151 = !{!152} // CHECK:STDOUT: !152 = !DILocalVariable(arg: 1, scope: !150, type: !14) // CHECK:STDOUT: !153 = !DILocation(line: 176, column: 5, scope: !150) -// CHECK:STDOUT: !154 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.ba9a17e320476215:OptionalAs.7eef99cd03a74de4.Core.f143da5c52693ac4", scope: null, file: !86, line: 80, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !155) +// CHECK:STDOUT: !154 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.a0c6f87edec590a2:OptionalAs.3a7c842b5a6bca51.Core.8abaa694b657a602", scope: null, file: !86, line: 80, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !155) // CHECK:STDOUT: !155 = !{!156} // CHECK:STDOUT: !156 = !DILocalVariable(arg: 1, scope: !154, type: !7) // CHECK:STDOUT: !157 = !DILocation(line: 81, column: 12, scope: !154) // CHECK:STDOUT: !158 = !DILocation(line: 81, column: 5, scope: !154) -// CHECK:STDOUT: !159 = distinct !DISubprogram(name: "None", linkageName: "_CNone.4f9853132d866dc6:OptionalStorage.Core.fe1b3f265f915ed6", scope: null, file: !86, line: 125, type: !104, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !159 = distinct !DISubprogram(name: "None", linkageName: "_CNone.c70f21296ce3b72c:OptionalStorage.Core.7ddaa82882073726", scope: null, file: !86, line: 125, type: !104, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !160 = !DILocation(line: 128, column: 5, scope: !159) // CHECK:STDOUT: !161 = !DILocation(line: 129, column: 5, scope: !159) -// CHECK:STDOUT: !162 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.62d55c5523334675:OptionalAs.f5e7d4305ac1f327.Core.63d4fae402483aa7", scope: null, file: !86, line: 87, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !163) +// CHECK:STDOUT: !162 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.6bb01b3b35e74e55:OptionalAs.db69f09c2307f298.Core.5c5ece92cc304396", scope: null, file: !86, line: 87, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !163) // CHECK:STDOUT: !163 = !{!164} // CHECK:STDOUT: !164 = !DILocalVariable(arg: 1, scope: !162, type: !7) // CHECK:STDOUT: !165 = !DILocation(line: 88, column: 29, scope: !162) // CHECK:STDOUT: !166 = !DILocation(line: 88, column: 12, scope: !162) // CHECK:STDOUT: !167 = !DILocation(line: 88, column: 5, scope: !162) -// CHECK:STDOUT: !168 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.f143da5c52693ac4", scope: null, file: !86, line: 33, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !169) +// CHECK:STDOUT: !168 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.8abaa694b657a602", scope: null, file: !86, line: 33, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !169) // CHECK:STDOUT: !169 = !{!170} // CHECK:STDOUT: !170 = !DILocalVariable(arg: 1, scope: !168, type: !7) // CHECK:STDOUT: !171 = !DILocation(line: 34, column: 12, scope: !168) // CHECK:STDOUT: !172 = !DILocation(line: 34, column: 5, scope: !168) -// CHECK:STDOUT: !173 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.68cbef1dbba6ee88:ImplicitAs.ad22d1bbc0605210.Core.734a416912e3df06", scope: null, file: !109, line: 40, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !174) +// CHECK:STDOUT: !173 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.8c14fbb190d2c4a2:ImplicitAs.ad22d1bbc0605210.Core.8c6f821d602abaa4", scope: null, file: !109, line: 40, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !174) // CHECK:STDOUT: !174 = !{!175} // CHECK:STDOUT: !175 = !DILocalVariable(arg: 1, scope: !173, type: !7) // CHECK:STDOUT: !176 = !DILocation(line: 40, column: 45, scope: !173) // CHECK:STDOUT: !177 = !DILocation(line: 40, column: 38, scope: !173) -// CHECK:STDOUT: !178 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.0041dd252ab78248", scope: null, file: !86, line: 33, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !179) +// CHECK:STDOUT: !178 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.664c9635efe58704", scope: null, file: !86, line: 33, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !179) // CHECK:STDOUT: !179 = !{!180} // CHECK:STDOUT: !180 = !DILocalVariable(arg: 1, scope: !178, type: !7) // CHECK:STDOUT: !181 = !DILocation(line: 34, column: 12, scope: !178) // CHECK:STDOUT: !182 = !DILocation(line: 34, column: 5, scope: !178) -// CHECK:STDOUT: !183 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.4f9853132d866dc6:OptionalStorage.Core.fe1b3f265f915ed6", scope: null, file: !86, line: 131, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !184) +// CHECK:STDOUT: !183 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.c70f21296ce3b72c:OptionalStorage.Core.7ddaa82882073726", scope: null, file: !86, line: 131, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !184) // CHECK:STDOUT: !184 = !{!185} // CHECK:STDOUT: !185 = !DILocalVariable(arg: 1, scope: !183, type: !7) // CHECK:STDOUT: !186 = !DILocation(line: 137, column: 5, scope: !183) // CHECK:STDOUT: !187 = !DILocation(line: 138, column: 5, scope: !183) // CHECK:STDOUT: !188 = !DILocation(line: 139, column: 5, scope: !183) -// CHECK:STDOUT: !189 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.b912251d28f69b6d:ImplicitAs.a629ad9d3aac3895.Core.7934b4627abe591f", scope: null, file: !190, line: 62, type: !191, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !193) +// CHECK:STDOUT: !189 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.667d1d3a0ad99849:ImplicitAs.8b551f392b5250ee.Core.4a088ada889550fc", scope: null, file: !190, line: 62, type: !191, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !193) // CHECK:STDOUT: !190 = !DIFile(filename: "{{.*}}/prelude/types/int.carbon", directory: "") // CHECK:STDOUT: !191 = !DISubroutineType(types: !192) // CHECK:STDOUT: !192 = !{!7, !7} @@ -557,7 +557,7 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: !194 = !DILocalVariable(arg: 1, scope: !189, type: !7) // CHECK:STDOUT: !195 = !DILocation(line: 64, column: 17, scope: !189) // CHECK:STDOUT: !196 = !DILocation(line: 64, column: 5, scope: !189) -// CHECK:STDOUT: !197 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.4f9853132d866dc6:OptionalStorage.Core.9078267c53e6931d", scope: null, file: !86, line: 131, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !198) +// CHECK:STDOUT: !197 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.c70f21296ce3b72c:OptionalStorage.Core.66877768e8b2b97c", scope: null, file: !86, line: 131, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !198) // CHECK:STDOUT: !198 = !{!199} // CHECK:STDOUT: !199 = !DILocalVariable(arg: 1, scope: !197, type: !7) // CHECK:STDOUT: !200 = !DILocation(line: 137, column: 5, scope: !197) @@ -568,7 +568,7 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: !205 = !{!206} // CHECK:STDOUT: !206 = !DILocalVariable(arg: 1, scope: !204, type: !7) // CHECK:STDOUT: !207 = !DILocation(line: 57, column: 36, scope: !204) -// CHECK:STDOUT: !208 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c4bf98205baa6bbe:Copy.Core.986e4fbf737c841b", scope: null, file: !209, line: 19, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !210) +// CHECK:STDOUT: !208 = distinct !DISubprogram(name: "Op", linkageName: "_COp.99377c0e95f681c6:Copy.Core.4bee6dcdea6ba756", scope: null, file: !209, line: 19, type: !97, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !210) // CHECK:STDOUT: !209 = !DIFile(filename: "{{.*}}/prelude/copy.carbon", directory: "") // CHECK:STDOUT: !210 = !{!211} // CHECK:STDOUT: !211 = !DILocalVariable(arg: 1, scope: !208, type: !7) @@ -579,7 +579,7 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: declare void @"_COp.Copyable.Main:Copy.Core"(ptr sret({}), ptr) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.fc5284d8d58d5626:core.Destroy.Core"(ptr %self) #0 !dbg !4 { +// CHECK:STDOUT: define weak_odr void @"_COp.d1d1365d61e0d059:core.Destroy.Core"(ptr %self) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !10 // CHECK:STDOUT: } @@ -587,33 +587,33 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF.Main(ptr sret({ {}, i1 }) %return, ptr %c) #0 !dbg !11 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @"_COp.Optional.7eef99cd03a74de4.Core:Copy.Core.60ea654e7b916eef"(ptr %return, ptr %c), !dbg !16 +// CHECK:STDOUT: call void @"_COp.Optional.3a7c842b5a6bca51.Core:Copy.Core.b21360622e65ae5d"(ptr %return, ptr %c), !dbg !16 // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_COp.Optional.7eef99cd03a74de4.Core:Copy.Core.60ea654e7b916eef"(ptr sret({ {}, i1 }) %return, ptr %self) #0 !dbg !18 { -// CHECK:STDOUT: call void @"_CCopy.ca6ae00af8d27ba2:OptionalStorage.Core.8e4d068dce7d104a"(ptr %return, ptr %self), !dbg !22 +// CHECK:STDOUT: define linkonce_odr void @"_COp.Optional.3a7c842b5a6bca51.Core:Copy.Core.b21360622e65ae5d"(ptr sret({ {}, i1 }) %return, ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: call void @"_CCopy.2d6936f0ed82c0eb:OptionalStorage.Core.000de1c4710e9987"(ptr %return, ptr %self), !dbg !22 // CHECK:STDOUT: ret void, !dbg !23 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CCopy.ca6ae00af8d27ba2:OptionalStorage.Core.8e4d068dce7d104a"(ptr sret({ {}, i1 }) %return, ptr %value) #0 !dbg !24 { -// CHECK:STDOUT: %1 = call i1 @"_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.8e4d068dce7d104a"(ptr %value), !dbg !27 +// CHECK:STDOUT: define linkonce_odr void @"_CCopy.2d6936f0ed82c0eb:OptionalStorage.Core.000de1c4710e9987"(ptr sret({ {}, i1 }) %return, ptr %value) #0 !dbg !24 { +// CHECK:STDOUT: %1 = call i1 @"_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.000de1c4710e9987"(ptr %value), !dbg !27 // CHECK:STDOUT: br i1 %1, label %2, label %3, !dbg !28 // CHECK:STDOUT: // CHECK:STDOUT: 2: ; preds = %0 // CHECK:STDOUT: %value1 = getelementptr inbounds nuw { {}, i1 }, ptr %value, i32 0, i32 0, !dbg !29 -// CHECK:STDOUT: call void @"_CSome.ca6ae00af8d27ba2:OptionalStorage.Core.8e4d068dce7d104a"(ptr %return, ptr %value1), !dbg !30 +// CHECK:STDOUT: call void @"_CSome.2d6936f0ed82c0eb:OptionalStorage.Core.000de1c4710e9987"(ptr %return, ptr %value1), !dbg !30 // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: // CHECK:STDOUT: 3: ; preds = %0 -// CHECK:STDOUT: call void @"_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.8e4d068dce7d104a"(ptr %return), !dbg !32 +// CHECK:STDOUT: call void @"_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.000de1c4710e9987"(ptr %return), !dbg !32 // CHECK:STDOUT: ret void, !dbg !33 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr i1 @"_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.8e4d068dce7d104a"(ptr %value) #0 !dbg !34 { +// CHECK:STDOUT: define linkonce_odr i1 @"_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.000de1c4710e9987"(ptr %value) #0 !dbg !34 { // CHECK:STDOUT: %has_value = getelementptr inbounds nuw { {}, i1 }, ptr %value, i32 0, i32 1, !dbg !37 // CHECK:STDOUT: %1 = load i8, ptr %has_value, align 1, !dbg !37 // CHECK:STDOUT: %2 = trunc i8 %1 to i1, !dbg !37 @@ -621,7 +621,7 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CSome.ca6ae00af8d27ba2:OptionalStorage.Core.8e4d068dce7d104a"(ptr sret({ {}, i1 }) %return, ptr %self) #0 !dbg !39 { +// CHECK:STDOUT: define linkonce_odr void @"_CSome.2d6936f0ed82c0eb:OptionalStorage.Core.000de1c4710e9987"(ptr sret({ {}, i1 }) %return, ptr %self) #0 !dbg !39 { // CHECK:STDOUT: %value = getelementptr inbounds nuw { {}, i1 }, ptr %return, i32 0, i32 0, !dbg !42 // CHECK:STDOUT: call void @"_COp.Copyable.Main:Copy.Core"(ptr %value, ptr %self), !dbg !43 // CHECK:STDOUT: %has_value = getelementptr inbounds nuw { {}, i1 }, ptr %return, i32 0, i32 1, !dbg !44 @@ -630,7 +630,7 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr void @"_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.8e4d068dce7d104a"(ptr sret({ {}, i1 }) %return) #0 !dbg !46 { +// CHECK:STDOUT: define linkonce_odr void @"_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.000de1c4710e9987"(ptr sret({ {}, i1 }) %return) #0 !dbg !46 { // CHECK:STDOUT: %has_value = getelementptr inbounds nuw { {}, i1 }, ptr %return, i32 0, i32 1, !dbg !49 // CHECK:STDOUT: store i8 0, ptr %has_value, align 1, !dbg !49 // CHECK:STDOUT: ret void, !dbg !50 @@ -645,7 +645,7 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: !1 = !{i32 2, !"Debug Info Version", i32 3} // CHECK:STDOUT: !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "carbon", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug) // CHECK:STDOUT: !3 = !DIFile(filename: "copy.carbon", directory: "") -// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Op", linkageName: "_COp.fc5284d8d58d5626:core.Destroy.Core", scope: null, file: !3, line: 9, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) +// CHECK:STDOUT: !4 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d1d1365d61e0d059:core.Destroy.Core", scope: null, file: !3, line: 9, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !8) // CHECK:STDOUT: !5 = !DISubroutineType(types: !6) // CHECK:STDOUT: !6 = !{null, !7} // CHECK:STDOUT: !7 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) @@ -659,13 +659,13 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: !15 = !DILocalVariable(arg: 1, scope: !11, type: !7) // CHECK:STDOUT: !16 = !DILocation(line: 11, column: 10, scope: !11) // CHECK:STDOUT: !17 = !DILocation(line: 11, column: 3, scope: !11) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Optional.7eef99cd03a74de4.Core:Copy.Core.60ea654e7b916eef", scope: null, file: !19, line: 50, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Optional.3a7c842b5a6bca51.Core:Copy.Core.b21360622e65ae5d", scope: null, file: !19, line: 50, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !19 = !DIFile(filename: "{{.*}}/prelude/types/optional.carbon", directory: "") // CHECK:STDOUT: !20 = !{!21} // CHECK:STDOUT: !21 = !DILocalVariable(arg: 1, scope: !18, type: !7) // CHECK:STDOUT: !22 = !DILocation(line: 51, column: 12, scope: !18) // CHECK:STDOUT: !23 = !DILocation(line: 51, column: 5, scope: !18) -// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Copy", linkageName: "_CCopy.ca6ae00af8d27ba2:OptionalStorage.Core.8e4d068dce7d104a", scope: null, file: !19, line: 147, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !24 = distinct !DISubprogram(name: "Copy", linkageName: "_CCopy.2d6936f0ed82c0eb:OptionalStorage.Core.000de1c4710e9987", scope: null, file: !19, line: 147, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !24, type: !7) // CHECK:STDOUT: !27 = !DILocation(line: 148, column: 9, scope: !24) @@ -675,19 +675,19 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: !31 = !DILocation(line: 149, column: 7, scope: !24) // CHECK:STDOUT: !32 = !DILocation(line: 151, column: 14, scope: !24) // CHECK:STDOUT: !33 = !DILocation(line: 151, column: 7, scope: !24) -// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.ca6ae00af8d27ba2:OptionalStorage.Core.8e4d068dce7d104a", scope: null, file: !19, line: 141, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) +// CHECK:STDOUT: !34 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.2d6936f0ed82c0eb:OptionalStorage.Core.000de1c4710e9987", scope: null, file: !19, line: 141, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !35) // CHECK:STDOUT: !35 = !{!36} // CHECK:STDOUT: !36 = !DILocalVariable(arg: 1, scope: !34, type: !7) // CHECK:STDOUT: !37 = !DILocation(line: 142, column: 12, scope: !34) // CHECK:STDOUT: !38 = !DILocation(line: 142, column: 5, scope: !34) -// CHECK:STDOUT: !39 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.ca6ae00af8d27ba2:OptionalStorage.Core.8e4d068dce7d104a", scope: null, file: !19, line: 131, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) +// CHECK:STDOUT: !39 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.2d6936f0ed82c0eb:OptionalStorage.Core.000de1c4710e9987", scope: null, file: !19, line: 131, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !40) // CHECK:STDOUT: !40 = !{!41} // CHECK:STDOUT: !41 = !DILocalVariable(arg: 1, scope: !39, type: !7) // CHECK:STDOUT: !42 = !DILocation(line: 137, column: 5, scope: !39) // CHECK:STDOUT: !43 = !DILocation(line: 137, column: 28, scope: !39) // CHECK:STDOUT: !44 = !DILocation(line: 138, column: 5, scope: !39) // CHECK:STDOUT: !45 = !DILocation(line: 139, column: 5, scope: !39) -// CHECK:STDOUT: !46 = distinct !DISubprogram(name: "None", linkageName: "_CNone.ca6ae00af8d27ba2:OptionalStorage.Core.8e4d068dce7d104a", scope: null, file: !19, line: 125, type: !47, spFlags: DISPFlagDefinition, unit: !2) +// CHECK:STDOUT: !46 = distinct !DISubprogram(name: "None", linkageName: "_CNone.2d6936f0ed82c0eb:OptionalStorage.Core.000de1c4710e9987", scope: null, file: !19, line: 125, type: !47, spFlags: DISPFlagDefinition, unit: !2) // CHECK:STDOUT: !47 = !DISubroutineType(types: !48) // CHECK:STDOUT: !48 = !{!7} // CHECK:STDOUT: !49 = !DILocation(line: 128, column: 5, scope: !46) @@ -698,12 +698,12 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define ptr @_CF.Main(ptr %c) #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: %Optional.as.Copy.impl.Op.call = call ptr @"_COp.Optional.7eef99cd03a74de4.Core:Copy.Core.754893b54fdef706"(ptr %c), !dbg !10 +// CHECK:STDOUT: %Optional.as.Copy.impl.Op.call = call ptr @"_COp.Optional.3a7c842b5a6bca51.Core:Copy.Core.12f52bd835165b7d"(ptr %c), !dbg !10 // CHECK:STDOUT: ret ptr %Optional.as.Copy.impl.Op.call, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define linkonce_odr ptr @"_COp.Optional.7eef99cd03a74de4.Core:Copy.Core.754893b54fdef706"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define linkonce_odr ptr @"_COp.Optional.3a7c842b5a6bca51.Core:Copy.Core.12f52bd835165b7d"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: ret ptr %self, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -724,7 +724,7 @@ fn F(c: Core.Optional(C*)) -> Core.Optional(C*) { // CHECK:STDOUT: !9 = !DILocalVariable(arg: 1, scope: !4, type: !7) // CHECK:STDOUT: !10 = !DILocation(line: 6, column: 10, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 6, column: 3, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Optional.7eef99cd03a74de4.Core:Copy.Core.754893b54fdef706", scope: null, file: !13, line: 50, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.Optional.3a7c842b5a6bca51.Core:Copy.Core.12f52bd835165b7d", scope: null, file: !13, line: 50, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !13 = !DIFile(filename: "{{.*}}/prelude/types/optional.carbon", directory: "") // CHECK:STDOUT: !14 = !{!15} // CHECK:STDOUT: !15 = !DILocalVariable(arg: 1, scope: !12, type: !7) diff --git a/toolchain/lower/testdata/primitives/string.carbon b/toolchain/lower/testdata/primitives/string.carbon index e89be0e1734e..cd0448cc55af 100644 --- a/toolchain/lower/testdata/primitives/string.carbon +++ b/toolchain/lower/testdata/primitives/string.carbon @@ -40,29 +40,29 @@ fn Copy(s: str) -> str { // CHECK:STDOUT: // CHECK:STDOUT: @0 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1 // CHECK:STDOUT: @1 = private unnamed_addr constant [6 x i8] c"World\00", align 1 -// CHECK:STDOUT: @String.val.397.String.val = internal constant { ptr, i64 } { ptr @0, i64 5 } -// CHECK:STDOUT: @String.val.6d0.String.val = internal constant { ptr, i64 } { ptr @1, i64 5 } +// CHECK:STDOUT: @String.val.c68.String.val = internal constant { ptr, i64 } { ptr @0, i64 5 } +// CHECK:STDOUT: @String.val.7d9.String.val = internal constant { ptr, i64 } { ptr @1, i64 5 } // CHECK:STDOUT: // CHECK:STDOUT: declare void @_CF.Main(ptr) // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CG.Main() #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main(ptr @String.val.397.String.val), !dbg !7 +// CHECK:STDOUT: call void @_CF.Main(ptr @String.val.c68.String.val), !dbg !7 // CHECK:STDOUT: ret void, !dbg !8 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CH.Main() #0 !dbg !9 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main(ptr @String.val.397.String.val), !dbg !10 +// CHECK:STDOUT: call void @_CF.Main(ptr @String.val.c68.String.val), !dbg !10 // CHECK:STDOUT: ret void, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CI.Main() #0 !dbg !12 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @_CF.Main(ptr @String.val.6d0.String.val), !dbg !13 +// CHECK:STDOUT: call void @_CF.Main(ptr @String.val.7d9.String.val), !dbg !13 // CHECK:STDOUT: ret void, !dbg !14 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/lower/testdata/return/return_var_byval.carbon b/toolchain/lower/testdata/return/return_var_byval.carbon index 12bc2442e842..85c91ccd8f81 100644 --- a/toolchain/lower/testdata/return/return_var_byval.carbon +++ b/toolchain/lower/testdata/return/return_var_byval.carbon @@ -25,12 +25,12 @@ fn Main() -> i32 { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %x.var), !dbg !8 // CHECK:STDOUT: store i32 0, ptr %x.var, align 4, !dbg !8 // CHECK:STDOUT: %.loc14_17 = load i32, ptr %x.var, align 4, !dbg !9 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %x.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %x.var), !dbg !8 // CHECK:STDOUT: ret i32 %.loc14_17, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -55,7 +55,7 @@ fn Main() -> i32 { // CHECK:STDOUT: !8 = !DILocation(line: 14, column: 12, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 14, column: 16, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 15, column: 3, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 14, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 14, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !12 = !DISubroutineType(types: !13) // CHECK:STDOUT: !13 = !{null, !7} // CHECK:STDOUT: !14 = !{!15} diff --git a/toolchain/lower/testdata/return/var.carbon b/toolchain/lower/testdata/return/var.carbon index 25c79287dea4..eff751bc4c3a 100644 --- a/toolchain/lower/testdata/return/var.carbon +++ b/toolchain/lower/testdata/return/var.carbon @@ -25,12 +25,12 @@ fn Main() -> i32 { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %x.var), !dbg !8 // CHECK:STDOUT: store i32 0, ptr %x.var, align 4, !dbg !8 // CHECK:STDOUT: %.loc15 = load i32, ptr %x.var, align 4, !dbg !9 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %x.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %x.var), !dbg !8 // CHECK:STDOUT: ret i32 %.loc15, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -55,7 +55,7 @@ fn Main() -> i32 { // CHECK:STDOUT: !8 = !DILocation(line: 14, column: 3, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 15, column: 10, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 15, column: 3, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 14, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 14, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !12 = !DISubroutineType(types: !13) // CHECK:STDOUT: !13 = !{null, !7} // CHECK:STDOUT: !14 = !{!15} diff --git a/toolchain/lower/testdata/struct/layout.carbon b/toolchain/lower/testdata/struct/layout.carbon index 690825be9c4c..93a474c1f016 100644 --- a/toolchain/lower/testdata/struct/layout.carbon +++ b/toolchain/lower/testdata/struct/layout.carbon @@ -89,18 +89,18 @@ fn F() { // CHECK:STDOUT: call void @_CG.Main(ptr %.loc9.y), !dbg !11 // CHECK:STDOUT: %.loc10.z = getelementptr inbounds nuw { i32, i32, i32 }, ptr %no_padding.var, i32 0, i32 2, !dbg !12 // CHECK:STDOUT: call void @_CG.Main(ptr %.loc10.z), !dbg !13 -// CHECK:STDOUT: call void @"_COp.f3698b8662396924:core.Destroy.Core"(ptr %no_padding.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.b1cca9cff4beb8c6:core.Destroy.Core"(ptr %no_padding.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !14 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !15 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !15 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.f3698b8662396924:core.Destroy.Core"(ptr %self) #0 !dbg !22 { +// CHECK:STDOUT: define weak_odr void @"_COp.b1cca9cff4beb8c6:core.Destroy.Core"(ptr %self) #0 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } @@ -129,14 +129,14 @@ fn F() { // CHECK:STDOUT: !12 = !DILocation(line: 10, column: 6, scope: !4) // CHECK:STDOUT: !13 = !DILocation(line: 10, column: 3, scope: !4) // CHECK:STDOUT: !14 = !DILocation(line: 5, column: 1, scope: !4) -// CHECK:STDOUT: !15 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 7, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) +// CHECK:STDOUT: !15 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 7, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) // CHECK:STDOUT: !16 = !DISubroutineType(types: !17) // CHECK:STDOUT: !17 = !{null, !18} // CHECK:STDOUT: !18 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !19 = !{!20} // CHECK:STDOUT: !20 = !DILocalVariable(arg: 1, scope: !15, type: !18) // CHECK:STDOUT: !21 = !DILocation(line: 7, column: 3, scope: !15) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.f3698b8662396924:core.Destroy.Core", scope: null, file: !3, line: 7, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b1cca9cff4beb8c6:core.Destroy.Core", scope: null, file: !3, line: 7, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) // CHECK:STDOUT: !23 = !DISubroutineType(types: !24) // CHECK:STDOUT: !24 = !{null, !25} // CHECK:STDOUT: !25 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) @@ -155,18 +155,18 @@ fn F() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %avoid_tail_padding.var), !dbg !7 // CHECK:STDOUT: %.loc8.y = getelementptr inbounds nuw <{ ptr, i32 }>, ptr %avoid_tail_padding.var, i32 0, i32 1, !dbg !8 // CHECK:STDOUT: call void @_CG.Main(ptr %.loc8.y), !dbg !9 -// CHECK:STDOUT: call void @"_COp.b839338db113c9eb:core.Destroy.Core"(ptr %avoid_tail_padding.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.242c311b2dbb618e:core.Destroy.Core"(ptr %avoid_tail_padding.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b839338db113c9eb:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.242c311b2dbb618e:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } @@ -191,14 +191,14 @@ fn F() { // CHECK:STDOUT: !8 = !DILocation(line: 8, column: 6, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 8, column: 3, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 5, column: 1, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 7, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 7, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) // CHECK:STDOUT: !12 = !DISubroutineType(types: !13) // CHECK:STDOUT: !13 = !{null, !14} // CHECK:STDOUT: !14 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !15 = !{!16} // CHECK:STDOUT: !16 = !DILocalVariable(arg: 1, scope: !11, type: !14) // CHECK:STDOUT: !17 = !DILocation(line: 7, column: 3, scope: !11) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b839338db113c9eb:core.Destroy.Core", scope: null, file: !3, line: 7, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.242c311b2dbb618e:core.Destroy.Core", scope: null, file: !3, line: 7, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) // CHECK:STDOUT: !19 = !DISubroutineType(types: !20) // CHECK:STDOUT: !20 = !{null, !21} // CHECK:STDOUT: !21 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) @@ -220,24 +220,24 @@ fn F() { // CHECK:STDOUT: call void @_CG.Main(ptr %.loc9_24.y), !dbg !9 // CHECK:STDOUT: %.loc10.b = getelementptr inbounds nuw { <{ ptr, i32 }>, i32 }, ptr %use_tail_padding.var, i32 0, i32 1, !dbg !10 // CHECK:STDOUT: call void @_CG.Main(ptr %.loc10.b), !dbg !11 -// CHECK:STDOUT: call void @"_COp.18c38a7c4c42bc87:core.Destroy.Core"(ptr %use_tail_padding.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.7bae0104f84eacb1:core.Destroy.Core"(ptr %use_tail_padding.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !12 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !13 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b839338db113c9eb:core.Destroy.Core"(ptr %self) #0 !dbg !20 { +// CHECK:STDOUT: define weak_odr void @"_COp.242c311b2dbb618e:core.Destroy.Core"(ptr %self) #0 !dbg !20 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.18c38a7c4c42bc87:core.Destroy.Core"(ptr %self) #0 !dbg !27 { +// CHECK:STDOUT: define weak_odr void @"_COp.7bae0104f84eacb1:core.Destroy.Core"(ptr %self) #0 !dbg !27 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !30 // CHECK:STDOUT: } @@ -264,21 +264,21 @@ fn F() { // CHECK:STDOUT: !10 = !DILocation(line: 10, column: 6, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 10, column: 3, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 5, column: 1, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 8, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 8, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) // CHECK:STDOUT: !14 = !DISubroutineType(types: !15) // CHECK:STDOUT: !15 = !{null, !16} // CHECK:STDOUT: !16 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !17 = !{!18} // CHECK:STDOUT: !18 = !DILocalVariable(arg: 1, scope: !13, type: !16) // CHECK:STDOUT: !19 = !DILocation(line: 8, column: 3, scope: !13) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b839338db113c9eb:core.Destroy.Core", scope: null, file: !3, line: 8, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.242c311b2dbb618e:core.Destroy.Core", scope: null, file: !3, line: 8, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !21 = !DISubroutineType(types: !22) // CHECK:STDOUT: !22 = !{null, !23} // CHECK:STDOUT: !23 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !20, type: !23) // CHECK:STDOUT: !26 = !DILocation(line: 8, column: 3, scope: !20) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.18c38a7c4c42bc87:core.Destroy.Core", scope: null, file: !3, line: 8, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.7bae0104f84eacb1:core.Destroy.Core", scope: null, file: !3, line: 8, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) // CHECK:STDOUT: !28 = !{!29} // CHECK:STDOUT: !29 = !DILocalVariable(arg: 1, scope: !27, type: !23) // CHECK:STDOUT: !30 = !DILocation(line: 8, column: 3, scope: !27) @@ -297,24 +297,24 @@ fn F() { // CHECK:STDOUT: call void @_CG.Main(ptr %.loc9_24.x), !dbg !9 // CHECK:STDOUT: %.loc10.b = getelementptr inbounds nuw { <{ ptr, i32 }>, ptr }, ptr %implicit_padding.var, i32 0, i32 1, !dbg !10 // CHECK:STDOUT: call void @_CG.Main(ptr %.loc10.b), !dbg !11 -// CHECK:STDOUT: call void @"_COp.8feb609cc7e72823:core.Destroy.Core"(ptr %implicit_padding.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.c5038610750918ae:core.Destroy.Core"(ptr %implicit_padding.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !12 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !13 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !19 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b839338db113c9eb:core.Destroy.Core"(ptr %self) #0 !dbg !20 { +// CHECK:STDOUT: define weak_odr void @"_COp.242c311b2dbb618e:core.Destroy.Core"(ptr %self) #0 !dbg !20 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.8feb609cc7e72823:core.Destroy.Core"(ptr %self) #0 !dbg !27 { +// CHECK:STDOUT: define weak_odr void @"_COp.c5038610750918ae:core.Destroy.Core"(ptr %self) #0 !dbg !27 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !30 // CHECK:STDOUT: } @@ -341,21 +341,21 @@ fn F() { // CHECK:STDOUT: !10 = !DILocation(line: 10, column: 6, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 10, column: 3, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 5, column: 1, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 8, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 8, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !17) // CHECK:STDOUT: !14 = !DISubroutineType(types: !15) // CHECK:STDOUT: !15 = !{null, !16} // CHECK:STDOUT: !16 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !17 = !{!18} // CHECK:STDOUT: !18 = !DILocalVariable(arg: 1, scope: !13, type: !16) // CHECK:STDOUT: !19 = !DILocation(line: 8, column: 3, scope: !13) -// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b839338db113c9eb:core.Destroy.Core", scope: null, file: !3, line: 8, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !20 = distinct !DISubprogram(name: "Op", linkageName: "_COp.242c311b2dbb618e:core.Destroy.Core", scope: null, file: !3, line: 8, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !21 = !DISubroutineType(types: !22) // CHECK:STDOUT: !22 = !{null, !23} // CHECK:STDOUT: !23 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !24 = !{!25} // CHECK:STDOUT: !25 = !DILocalVariable(arg: 1, scope: !20, type: !23) // CHECK:STDOUT: !26 = !DILocation(line: 8, column: 3, scope: !20) -// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.8feb609cc7e72823:core.Destroy.Core", scope: null, file: !3, line: 8, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) +// CHECK:STDOUT: !27 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c5038610750918ae:core.Destroy.Core", scope: null, file: !3, line: 8, type: !21, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !28) // CHECK:STDOUT: !28 = !{!29} // CHECK:STDOUT: !29 = !DILocalVariable(arg: 1, scope: !27, type: !23) // CHECK:STDOUT: !30 = !DILocation(line: 8, column: 3, scope: !27) @@ -371,24 +371,24 @@ fn F() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %insert_padding.var), !dbg !7 // CHECK:STDOUT: %.loc10.b = getelementptr inbounds nuw <{ <{ { i32, i32, i32 }, [4 x i8] }>, ptr, i32 }>, ptr %insert_padding.var, i32 0, i32 1, !dbg !8 // CHECK:STDOUT: call void @_CG.Main(ptr %.loc10.b), !dbg !9 -// CHECK:STDOUT: call void @"_COp.c0151995c2eb55af:core.Destroy.Core"(ptr %insert_padding.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.0c483178ee6d0035:core.Destroy.Core"(ptr %insert_padding.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.f3698b8662396924:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.b1cca9cff4beb8c6:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.c0151995c2eb55af:core.Destroy.Core"(ptr %self) #0 !dbg !25 { +// CHECK:STDOUT: define weak_odr void @"_COp.0c483178ee6d0035:core.Destroy.Core"(ptr %self) #0 !dbg !25 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } @@ -413,21 +413,21 @@ fn F() { // CHECK:STDOUT: !8 = !DILocation(line: 10, column: 6, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 10, column: 3, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 5, column: 1, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 9, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 9, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) // CHECK:STDOUT: !12 = !DISubroutineType(types: !13) // CHECK:STDOUT: !13 = !{null, !14} // CHECK:STDOUT: !14 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !15 = !{!16} // CHECK:STDOUT: !16 = !DILocalVariable(arg: 1, scope: !11, type: !14) // CHECK:STDOUT: !17 = !DILocation(line: 9, column: 3, scope: !11) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.f3698b8662396924:core.Destroy.Core", scope: null, file: !3, line: 9, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b1cca9cff4beb8c6:core.Destroy.Core", scope: null, file: !3, line: 9, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) // CHECK:STDOUT: !19 = !DISubroutineType(types: !20) // CHECK:STDOUT: !20 = !{null, !21} // CHECK:STDOUT: !21 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !22 = !{!23} // CHECK:STDOUT: !23 = !DILocalVariable(arg: 1, scope: !18, type: !21) // CHECK:STDOUT: !24 = !DILocation(line: 9, column: 3, scope: !18) -// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.c0151995c2eb55af:core.Destroy.Core", scope: null, file: !3, line: 9, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !25 = distinct !DISubprogram(name: "Op", linkageName: "_COp.0c483178ee6d0035:core.Destroy.Core", scope: null, file: !3, line: 9, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) // CHECK:STDOUT: !26 = !{!27} // CHECK:STDOUT: !27 = !DILocalVariable(arg: 1, scope: !25, type: !21) // CHECK:STDOUT: !28 = !DILocation(line: 9, column: 3, scope: !25) diff --git a/toolchain/lower/testdata/struct/member_access.carbon b/toolchain/lower/testdata/struct/member_access.carbon index a8449f6838d9..9baeac86f9d5 100644 --- a/toolchain/lower/testdata/struct/member_access.carbon +++ b/toolchain/lower/testdata/struct/member_access.carbon @@ -20,7 +20,7 @@ fn Run() -> i32 { // CHECK:STDOUT: ; ModuleID = 'member_access.carbon' // CHECK:STDOUT: source_filename = "member_access.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @struct.084.loc14_3 = internal constant <{ double, i32 }> <{ double 0.000000e+00, i32 1 }> +// CHECK:STDOUT: @struct.4b2.loc14_3 = internal constant <{ double, i32 }> <{ double 0.000000e+00, i32 1 }> // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @main() #0 !dbg !4 { @@ -31,7 +31,7 @@ fn Run() -> i32 { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %x.var), !dbg !8 // CHECK:STDOUT: %.loc14_48.3.a = getelementptr inbounds nuw <{ double, i32 }>, ptr %x.var, i32 0, i32 0, !dbg !11 // CHECK:STDOUT: %.loc14_48.6.b = getelementptr inbounds nuw <{ double, i32 }>, ptr %x.var, i32 0, i32 1, !dbg !11 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %x.var, ptr align 8 @struct.084.loc14_3, i64 12, i1 false), !dbg !8 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 8 %x.var, ptr align 8 @struct.4b2.loc14_3, i64 12, i1 false), !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %y.var), !dbg !9 // CHECK:STDOUT: %.loc15_17.1.b = getelementptr inbounds nuw <{ double, i32 }>, ptr %x.var, i32 0, i32 1, !dbg !12 // CHECK:STDOUT: %.loc15_17.2 = load i32, ptr %.loc15_17.1.b, align 4, !dbg !12 @@ -39,26 +39,26 @@ fn Run() -> i32 { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !10 // CHECK:STDOUT: %.loc16 = load i32, ptr %y.var, align 4, !dbg !13 // CHECK:STDOUT: store i32 %.loc16, ptr %_.var, align 4, !dbg !10 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var), !dbg !10 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %y.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.cd14bdcbc95cd98b:core.Destroy.Core"(ptr %x.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var), !dbg !10 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %y.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.bb728f3861d6c330:core.Destroy.Core"(ptr %x.var), !dbg !8 // CHECK:STDOUT: ret i32 0, !dbg !14 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !15 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !15 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !20 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !21 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !21 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.cd14bdcbc95cd98b:core.Destroy.Core"(ptr %self) #0 !dbg !28 { +// CHECK:STDOUT: define weak_odr void @"_COp.bb728f3861d6c330:core.Destroy.Core"(ptr %self) #0 !dbg !28 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !31 // CHECK:STDOUT: } @@ -70,7 +70,7 @@ fn Run() -> i32 { // CHECK:STDOUT: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.94e3ca86614aba5d:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.1fa36cd3e044ac37:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -94,20 +94,20 @@ fn Run() -> i32 { // CHECK:STDOUT: !12 = !DILocation(line: 15, column: 16, scope: !4) // CHECK:STDOUT: !13 = !DILocation(line: 16, column: 16, scope: !4) // CHECK:STDOUT: !14 = !DILocation(line: 17, column: 3, scope: !4) -// CHECK:STDOUT: !15 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) +// CHECK:STDOUT: !15 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) // CHECK:STDOUT: !16 = !DISubroutineType(types: !17) // CHECK:STDOUT: !17 = !{null, !7} // CHECK:STDOUT: !18 = !{!19} // CHECK:STDOUT: !19 = !DILocalVariable(arg: 1, scope: !15, type: !7) // CHECK:STDOUT: !20 = !DILocation(line: 16, column: 3, scope: !15) -// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 14, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 14, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !22 = !DISubroutineType(types: !23) // CHECK:STDOUT: !23 = !{null, !24} // CHECK:STDOUT: !24 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !25 = !{!26} // CHECK:STDOUT: !26 = !DILocalVariable(arg: 1, scope: !21, type: !24) // CHECK:STDOUT: !27 = !DILocation(line: 14, column: 3, scope: !21) -// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cd14bdcbc95cd98b:core.Destroy.Core", scope: null, file: !3, line: 14, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) +// CHECK:STDOUT: !28 = distinct !DISubprogram(name: "Op", linkageName: "_COp.bb728f3861d6c330:core.Destroy.Core", scope: null, file: !3, line: 14, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !29) // CHECK:STDOUT: !29 = !{!30} // CHECK:STDOUT: !30 = !DILocalVariable(arg: 1, scope: !28, type: !24) // CHECK:STDOUT: !31 = !DILocation(line: 14, column: 3, scope: !28) diff --git a/toolchain/lower/testdata/struct/nested_struct_in_place.carbon b/toolchain/lower/testdata/struct/nested_struct_in_place.carbon index 5efbcdcc2039..034e3f9a6cef 100644 --- a/toolchain/lower/testdata/struct/nested_struct_in_place.carbon +++ b/toolchain/lower/testdata/struct/nested_struct_in_place.carbon @@ -30,24 +30,24 @@ fn G() { // CHECK:STDOUT: call void @_CF.Main(ptr %.loc16_74.1.a), !dbg !9 // CHECK:STDOUT: %.loc16_74.2.b = getelementptr inbounds nuw { { i32, i32, i32 }, { i32, i32, i32 } }, ptr %_.var, i32 0, i32 1, !dbg !8 // CHECK:STDOUT: call void @_CF.Main(ptr %.loc16_74.2.b), !dbg !10 -// CHECK:STDOUT: call void @"_COp.bcbc8fbeb9d8c2aa:core.Destroy.Core"(ptr %_.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.baefb8026f39c96f:core.Destroy.Core"(ptr %_.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.bcbc8fbeb9d8c2aa:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.baefb8026f39c96f:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } @@ -73,21 +73,21 @@ fn G() { // CHECK:STDOUT: !9 = !DILocation(line: 16, column: 61, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 16, column: 71, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 15, column: 1, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !15} // CHECK:STDOUT: !15 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !12, type: !15) // CHECK:STDOUT: !18 = !DILocation(line: 16, column: 3, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.9eed32d146d768a4:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d52e974a95b4c7a0:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !22} // CHECK:STDOUT: !22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !19, type: !22) // CHECK:STDOUT: !25 = !DILocation(line: 16, column: 3, scope: !19) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.bcbc8fbeb9d8c2aa:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.baefb8026f39c96f:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !26, type: !22) // CHECK:STDOUT: !29 = !DILocation(line: 16, column: 3, scope: !26) diff --git a/toolchain/lower/testdata/struct/one_entry.carbon b/toolchain/lower/testdata/struct/one_entry.carbon index 344373c97449..4dd525f3521f 100644 --- a/toolchain/lower/testdata/struct/one_entry.carbon +++ b/toolchain/lower/testdata/struct/one_entry.carbon @@ -31,19 +31,19 @@ fn Run() -> i32 { // CHECK:STDOUT: %.loc15_22.2 = load i32, ptr %.loc15_22.1.a, align 4, !dbg !10 // CHECK:STDOUT: %.loc15_22.3.struct.init = insertvalue { i32 } poison, i32 %.loc15_22.2, 0, !dbg !10 // CHECK:STDOUT: store { i32 } %.loc15_22.3.struct.init, ptr %_.var, align 4, !dbg !9 -// CHECK:STDOUT: call void @"_COp.18e3f9faf991ade1:core.Destroy.Core"(ptr %_.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.18e3f9faf991ade1:core.Destroy.Core"(ptr %x.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.901120de26305892:core.Destroy.Core"(ptr %_.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.901120de26305892:core.Destroy.Core"(ptr %x.var), !dbg !8 // CHECK:STDOUT: ret i32 0, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.18e3f9faf991ade1:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.901120de26305892:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } @@ -52,7 +52,7 @@ fn Run() -> i32 { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.18e3f9faf991ade1:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.901120de26305892:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -73,13 +73,13 @@ fn Run() -> i32 { // CHECK:STDOUT: !9 = !DILocation(line: 15, column: 3, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 15, column: 22, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 16, column: 3, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 15, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 15, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !7} // CHECK:STDOUT: !15 = !{!16} // CHECK:STDOUT: !16 = !DILocalVariable(arg: 1, scope: !12, type: !7) // CHECK:STDOUT: !17 = !DILocation(line: 15, column: 3, scope: !12) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.18e3f9faf991ade1:core.Destroy.Core", scope: null, file: !3, line: 15, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.901120de26305892:core.Destroy.Core", scope: null, file: !3, line: 15, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) // CHECK:STDOUT: !19 = !DISubroutineType(types: !20) // CHECK:STDOUT: !20 = !{null, !21} // CHECK:STDOUT: !21 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) diff --git a/toolchain/lower/testdata/struct/two_entries.carbon b/toolchain/lower/testdata/struct/two_entries.carbon index 1a5cc6708fa1..57419ade0e94 100644 --- a/toolchain/lower/testdata/struct/two_entries.carbon +++ b/toolchain/lower/testdata/struct/two_entries.carbon @@ -19,7 +19,7 @@ fn Run() -> i32 { // CHECK:STDOUT: ; ModuleID = 'two_entries.carbon' // CHECK:STDOUT: source_filename = "two_entries.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @struct.a0d.loc14_3 = internal constant { i32, i32 } { i32 1, i32 2 } +// CHECK:STDOUT: @struct.8fc.loc14_3 = internal constant { i32, i32 } { i32 1, i32 2 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @main() #0 !dbg !4 { @@ -29,7 +29,7 @@ fn Run() -> i32 { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %x.var), !dbg !8 // CHECK:STDOUT: %.loc14_46.3.a = getelementptr inbounds nuw { i32, i32 }, ptr %x.var, i32 0, i32 0, !dbg !10 // CHECK:STDOUT: %.loc14_46.6.b = getelementptr inbounds nuw { i32, i32 }, ptr %x.var, i32 0, i32 1, !dbg !10 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %x.var, ptr align 4 @struct.a0d.loc14_3, i64 8, i1 false), !dbg !8 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %x.var, ptr align 4 @struct.8fc.loc14_3, i64 8, i1 false), !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !9 // CHECK:STDOUT: %.loc15_31.1.a = getelementptr inbounds nuw { i32, i32 }, ptr %x.var, i32 0, i32 0, !dbg !11 // CHECK:STDOUT: %.loc15_31.2 = load i32, ptr %.loc15_31.1.a, align 4, !dbg !11 @@ -39,19 +39,19 @@ fn Run() -> i32 { // CHECK:STDOUT: %.loc15_31.6 = load i32, ptr %.loc15_31.5.b, align 4, !dbg !11 // CHECK:STDOUT: %.loc15_31.7.b = getelementptr inbounds nuw { i32, i32 }, ptr %_.var, i32 0, i32 1, !dbg !11 // CHECK:STDOUT: store i32 %.loc15_31.6, ptr %.loc15_31.7.b, align 4, !dbg !11 -// CHECK:STDOUT: call void @"_COp.57e275a610bca340:core.Destroy.Core"(ptr %_.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.57e275a610bca340:core.Destroy.Core"(ptr %x.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.15b8ed913d10fa21:core.Destroy.Core"(ptr %_.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.15b8ed913d10fa21:core.Destroy.Core"(ptr %x.var), !dbg !8 // CHECK:STDOUT: ret i32 0, !dbg !12 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !13 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.57e275a610bca340:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.15b8ed913d10fa21:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } @@ -63,7 +63,7 @@ fn Run() -> i32 { // CHECK:STDOUT: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.57e275a610bca340:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.15b8ed913d10fa21:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -85,13 +85,13 @@ fn Run() -> i32 { // CHECK:STDOUT: !10 = !DILocation(line: 14, column: 31, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 15, column: 31, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 16, column: 3, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 15, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 15, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !14 = !DISubroutineType(types: !15) // CHECK:STDOUT: !15 = !{null, !7} // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !13, type: !7) // CHECK:STDOUT: !18 = !DILocation(line: 15, column: 3, scope: !13) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.57e275a610bca340:core.Destroy.Core", scope: null, file: !3, line: 15, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.15b8ed913d10fa21:core.Destroy.Core", scope: null, file: !3, line: 15, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !22} // CHECK:STDOUT: !22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) diff --git a/toolchain/lower/testdata/tuple/access/element_access.carbon b/toolchain/lower/testdata/tuple/access/element_access.carbon index 11c3a3977615..7b4fcb7c2d4d 100644 --- a/toolchain/lower/testdata/tuple/access/element_access.carbon +++ b/toolchain/lower/testdata/tuple/access/element_access.carbon @@ -20,7 +20,7 @@ fn Run() -> i32 { // CHECK:STDOUT: ; ModuleID = 'element_access.carbon' // CHECK:STDOUT: source_filename = "element_access.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @tuple.505.loc14_3 = internal constant { i32, i32, i32 } { i32 0, i32 1, i32 2 } +// CHECK:STDOUT: @tuple.e7d.loc14_3 = internal constant { i32, i32, i32 } { i32 0, i32 1, i32 2 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @main() #0 !dbg !4 { @@ -32,7 +32,7 @@ fn Run() -> i32 { // CHECK:STDOUT: %tuple.elem0.loc14.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %a.var, i32 0, i32 0, !dbg !11 // CHECK:STDOUT: %tuple.elem1.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %a.var, i32 0, i32 1, !dbg !11 // CHECK:STDOUT: %tuple.elem2.loc14.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %a.var, i32 0, i32 2, !dbg !11 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %a.var, ptr align 4 @tuple.505.loc14_3, i64 12, i1 false), !dbg !8 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %a.var, ptr align 4 @tuple.e7d.loc14_3, i64 12, i1 false), !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var.loc15), !dbg !9 // CHECK:STDOUT: %tuple.elem0.loc15.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %a.var, i32 0, i32 0, !dbg !12 // CHECK:STDOUT: %.loc15 = load i32, ptr %tuple.elem0.loc15.tuple.elem, align 4, !dbg !12 @@ -41,20 +41,20 @@ fn Run() -> i32 { // CHECK:STDOUT: %tuple.elem2.loc16.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %a.var, i32 0, i32 2, !dbg !13 // CHECK:STDOUT: %.loc16 = load i32, ptr %tuple.elem2.loc16.tuple.elem, align 4, !dbg !13 // CHECK:STDOUT: store i32 %.loc16, ptr %_.var.loc16, align 4, !dbg !10 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var.loc16), !dbg !10 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var.loc15), !dbg !9 -// CHECK:STDOUT: call void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %a.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var.loc16), !dbg !10 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var.loc15), !dbg !9 +// CHECK:STDOUT: call void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %a.var), !dbg !8 // CHECK:STDOUT: ret i32 0, !dbg !14 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !15 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !15 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !20 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %self) #0 !dbg !21 { +// CHECK:STDOUT: define weak_odr void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %self) #0 !dbg !21 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } @@ -66,7 +66,7 @@ fn Run() -> i32 { // CHECK:STDOUT: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.94e3ca86614aba5d:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.1fa36cd3e044ac37:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -90,13 +90,13 @@ fn Run() -> i32 { // CHECK:STDOUT: !12 = !DILocation(line: 15, column: 16, scope: !4) // CHECK:STDOUT: !13 = !DILocation(line: 16, column: 16, scope: !4) // CHECK:STDOUT: !14 = !DILocation(line: 17, column: 3, scope: !4) -// CHECK:STDOUT: !15 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) +// CHECK:STDOUT: !15 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) // CHECK:STDOUT: !16 = !DISubroutineType(types: !17) // CHECK:STDOUT: !17 = !{null, !7} // CHECK:STDOUT: !18 = !{!19} // CHECK:STDOUT: !19 = !DILocalVariable(arg: 1, scope: !15, type: !7) // CHECK:STDOUT: !20 = !DILocation(line: 16, column: 3, scope: !15) -// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.9eed32d146d768a4:core.Destroy.Core", scope: null, file: !3, line: 14, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d52e974a95b4c7a0:core.Destroy.Core", scope: null, file: !3, line: 14, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !22 = !DISubroutineType(types: !23) // CHECK:STDOUT: !23 = !{null, !24} // CHECK:STDOUT: !24 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) diff --git a/toolchain/lower/testdata/tuple/access/return_value_access.carbon b/toolchain/lower/testdata/tuple/access/return_value_access.carbon index 0cab69b6c67a..8505eb8336aa 100644 --- a/toolchain/lower/testdata/tuple/access/return_value_access.carbon +++ b/toolchain/lower/testdata/tuple/access/return_value_access.carbon @@ -19,14 +19,14 @@ fn Run() { // CHECK:STDOUT: ; ModuleID = 'return_value_access.carbon' // CHECK:STDOUT: source_filename = "return_value_access.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @tuple.a53.loc13_39 = internal constant { i32, i32 } { i32 12, i32 24 } +// CHECK:STDOUT: @tuple.d4e.loc13_39 = internal constant { i32, i32 } { i32 12, i32 24 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF.Main(ptr sret({ i32, i32 }) %return) #0 !dbg !4 { // CHECK:STDOUT: entry: // CHECK:STDOUT: %tuple.elem0.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %return, i32 0, i32 0, !dbg !8 // CHECK:STDOUT: %tuple.elem1.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %return, i32 0, i32 1, !dbg !8 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %return, ptr align 4 @tuple.a53.loc13_39, i64 8, i1 false), !dbg !9 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %return, ptr align 4 @tuple.d4e.loc13_39, i64 8, i1 false), !dbg !9 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -41,19 +41,19 @@ fn Run() { // CHECK:STDOUT: %tuple.elem1.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %.loc16_18.1.temp, i32 0, i32 1, !dbg !15 // CHECK:STDOUT: %.loc16_19 = load i32, ptr %tuple.elem1.tuple.elem, align 4, !dbg !15 // CHECK:STDOUT: store i32 %.loc16_19, ptr %_.var, align 4, !dbg !14 -// CHECK:STDOUT: call void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %.loc16_18.1.temp), !dbg !15 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %_.var), !dbg !14 +// CHECK:STDOUT: call void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %.loc16_18.1.temp), !dbg !15 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %_.var), !dbg !14 // CHECK:STDOUT: ret i32 0, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !17 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !17 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %self) #0 !dbg !23 { +// CHECK:STDOUT: define weak_odr void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %self) #0 !dbg !23 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !28 // CHECK:STDOUT: } @@ -90,13 +90,13 @@ fn Run() { // CHECK:STDOUT: !14 = !DILocation(line: 16, column: 3, scope: !10) // CHECK:STDOUT: !15 = !DILocation(line: 16, column: 16, scope: !10) // CHECK:STDOUT: !16 = !DILocation(line: 15, column: 1, scope: !10) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !18 = !DISubroutineType(types: !19) // CHECK:STDOUT: !19 = !{null, !13} // CHECK:STDOUT: !20 = !{!21} // CHECK:STDOUT: !21 = !DILocalVariable(arg: 1, scope: !17, type: !13) // CHECK:STDOUT: !22 = !DILocation(line: 16, column: 16, scope: !17) -// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.26f166843e861eec:core.Destroy.Core", scope: null, file: !3, line: 16, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) +// CHECK:STDOUT: !23 = distinct !DISubprogram(name: "Op", linkageName: "_COp.11d8dd9278293aa3:core.Destroy.Core", scope: null, file: !3, line: 16, type: !24, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !26) // CHECK:STDOUT: !24 = !DISubroutineType(types: !25) // CHECK:STDOUT: !25 = !{null, !7} // CHECK:STDOUT: !26 = !{!27} diff --git a/toolchain/lower/testdata/tuple/nested_tuple_in_place.carbon b/toolchain/lower/testdata/tuple/nested_tuple_in_place.carbon index aabff3aa9112..c2ce484df5bf 100644 --- a/toolchain/lower/testdata/tuple/nested_tuple_in_place.carbon +++ b/toolchain/lower/testdata/tuple/nested_tuple_in_place.carbon @@ -30,24 +30,24 @@ fn G() { // CHECK:STDOUT: call void @_CF.Main(ptr %tuple.elem0.tuple.elem), !dbg !9 // CHECK:STDOUT: %tuple.elem1.tuple.elem = getelementptr inbounds nuw { { i32, i32, i32 }, { i32, i32, i32 } }, ptr %_.var, i32 0, i32 1, !dbg !8 // CHECK:STDOUT: call void @_CF.Main(ptr %tuple.elem1.tuple.elem), !dbg !10 -// CHECK:STDOUT: call void @"_COp.77d22ec55d5c6317:core.Destroy.Core"(ptr %_.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.1e0ba6005fe1fd10:core.Destroy.Core"(ptr %_.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.77d22ec55d5c6317:core.Destroy.Core"(ptr %self) #0 !dbg !26 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e0ba6005fe1fd10:core.Destroy.Core"(ptr %self) #0 !dbg !26 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !29 // CHECK:STDOUT: } @@ -73,21 +73,21 @@ fn G() { // CHECK:STDOUT: !9 = !DILocation(line: 16, column: 48, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 16, column: 53, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 15, column: 1, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !15} // CHECK:STDOUT: !15 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !12, type: !15) // CHECK:STDOUT: !18 = !DILocation(line: 16, column: 3, scope: !12) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.9eed32d146d768a4:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d52e974a95b4c7a0:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !22} // CHECK:STDOUT: !22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !23 = !{!24} // CHECK:STDOUT: !24 = !DILocalVariable(arg: 1, scope: !19, type: !22) // CHECK:STDOUT: !25 = !DILocation(line: 16, column: 3, scope: !19) -// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.77d22ec55d5c6317:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) +// CHECK:STDOUT: !26 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e0ba6005fe1fd10:core.Destroy.Core", scope: null, file: !3, line: 16, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !27) // CHECK:STDOUT: !27 = !{!28} // CHECK:STDOUT: !28 = !DILocalVariable(arg: 1, scope: !26, type: !22) // CHECK:STDOUT: !29 = !DILocation(line: 16, column: 3, scope: !26) diff --git a/toolchain/lower/testdata/tuple/one_entry.carbon b/toolchain/lower/testdata/tuple/one_entry.carbon index 2bf8397cc9f1..ed38f88af328 100644 --- a/toolchain/lower/testdata/tuple/one_entry.carbon +++ b/toolchain/lower/testdata/tuple/one_entry.carbon @@ -31,19 +31,19 @@ fn Run() -> i32 { // CHECK:STDOUT: %.loc15_20.1 = load i32, ptr %tuple.elem0.tuple.elem, align 4, !dbg !10 // CHECK:STDOUT: %.loc15_20.2.tuple.init = insertvalue { i32 } poison, i32 %.loc15_20.1, 0, !dbg !10 // CHECK:STDOUT: store { i32 } %.loc15_20.2.tuple.init, ptr %_.var, align 4, !dbg !9 -// CHECK:STDOUT: call void @"_COp.80420bd01499b798:core.Destroy.Core"(ptr %_.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.80420bd01499b798:core.Destroy.Core"(ptr %x.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.cd78ae17b508d73d:core.Destroy.Core"(ptr %_.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.cd78ae17b508d73d:core.Destroy.Core"(ptr %x.var), !dbg !8 // CHECK:STDOUT: ret i32 0, !dbg !11 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !12 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !12 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.80420bd01499b798:core.Destroy.Core"(ptr %self) #0 !dbg !18 { +// CHECK:STDOUT: define weak_odr void @"_COp.cd78ae17b508d73d:core.Destroy.Core"(ptr %self) #0 !dbg !18 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !24 // CHECK:STDOUT: } @@ -52,7 +52,7 @@ fn Run() -> i32 { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.80420bd01499b798:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.cd78ae17b508d73d:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -73,13 +73,13 @@ fn Run() -> i32 { // CHECK:STDOUT: !9 = !DILocation(line: 15, column: 3, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 15, column: 20, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 16, column: 3, scope: !4) -// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 15, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !12 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 15, type: !13, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) // CHECK:STDOUT: !13 = !DISubroutineType(types: !14) // CHECK:STDOUT: !14 = !{null, !7} // CHECK:STDOUT: !15 = !{!16} // CHECK:STDOUT: !16 = !DILocalVariable(arg: 1, scope: !12, type: !7) // CHECK:STDOUT: !17 = !DILocation(line: 15, column: 3, scope: !12) -// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.80420bd01499b798:core.Destroy.Core", scope: null, file: !3, line: 15, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) +// CHECK:STDOUT: !18 = distinct !DISubprogram(name: "Op", linkageName: "_COp.cd78ae17b508d73d:core.Destroy.Core", scope: null, file: !3, line: 15, type: !19, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !22) // CHECK:STDOUT: !19 = !DISubroutineType(types: !20) // CHECK:STDOUT: !20 = !{null, !21} // CHECK:STDOUT: !21 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) diff --git a/toolchain/lower/testdata/tuple/two_entries.carbon b/toolchain/lower/testdata/tuple/two_entries.carbon index 08f518f223fb..97233bff8041 100644 --- a/toolchain/lower/testdata/tuple/two_entries.carbon +++ b/toolchain/lower/testdata/tuple/two_entries.carbon @@ -19,7 +19,7 @@ fn Run() -> i32 { // CHECK:STDOUT: ; ModuleID = 'two_entries.carbon' // CHECK:STDOUT: source_filename = "two_entries.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @tuple.77b.loc14_3 = internal constant { i32, i32 } { i32 12, i32 7 } +// CHECK:STDOUT: @tuple.074.loc14_3 = internal constant { i32, i32 } { i32 12, i32 7 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define i32 @main() #0 !dbg !4 { @@ -29,7 +29,7 @@ fn Run() -> i32 { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %x.var), !dbg !8 // CHECK:STDOUT: %tuple.elem0.loc14.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %x.var, i32 0, i32 0, !dbg !10 // CHECK:STDOUT: %tuple.elem1.loc14.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %x.var, i32 0, i32 1, !dbg !10 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %x.var, ptr align 4 @tuple.77b.loc14_3, i64 8, i1 false), !dbg !8 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %x.var, ptr align 4 @tuple.074.loc14_3, i64 8, i1 false), !dbg !8 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %_.var), !dbg !9 // CHECK:STDOUT: %tuple.elem0.loc15_23.1.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %x.var, i32 0, i32 0, !dbg !11 // CHECK:STDOUT: %.loc15_23.1 = load i32, ptr %tuple.elem0.loc15_23.1.tuple.elem, align 4, !dbg !11 @@ -39,19 +39,19 @@ fn Run() -> i32 { // CHECK:STDOUT: %.loc15_23.3 = load i32, ptr %tuple.elem1.loc15_23.1.tuple.elem, align 4, !dbg !11 // CHECK:STDOUT: %tuple.elem1.loc15_23.2.tuple.elem = getelementptr inbounds nuw { i32, i32 }, ptr %_.var, i32 0, i32 1, !dbg !11 // CHECK:STDOUT: store i32 %.loc15_23.3, ptr %tuple.elem1.loc15_23.2.tuple.elem, align 4, !dbg !11 -// CHECK:STDOUT: call void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %_.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %x.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %_.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %x.var), !dbg !8 // CHECK:STDOUT: ret i32 0, !dbg !12 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !13 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !13 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !18 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.26f166843e861eec:core.Destroy.Core"(ptr %self) #0 !dbg !19 { +// CHECK:STDOUT: define weak_odr void @"_COp.11d8dd9278293aa3:core.Destroy.Core"(ptr %self) #0 !dbg !19 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !25 // CHECK:STDOUT: } @@ -63,7 +63,7 @@ fn Run() -> i32 { // CHECK:STDOUT: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.26f166843e861eec:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.11d8dd9278293aa3:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -85,13 +85,13 @@ fn Run() -> i32 { // CHECK:STDOUT: !10 = !DILocation(line: 14, column: 23, scope: !4) // CHECK:STDOUT: !11 = !DILocation(line: 15, column: 23, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 16, column: 3, scope: !4) -// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 15, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) +// CHECK:STDOUT: !13 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 15, type: !14, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !16) // CHECK:STDOUT: !14 = !DISubroutineType(types: !15) // CHECK:STDOUT: !15 = !{null, !7} // CHECK:STDOUT: !16 = !{!17} // CHECK:STDOUT: !17 = !DILocalVariable(arg: 1, scope: !13, type: !7) // CHECK:STDOUT: !18 = !DILocation(line: 15, column: 3, scope: !13) -// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.26f166843e861eec:core.Destroy.Core", scope: null, file: !3, line: 15, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) +// CHECK:STDOUT: !19 = distinct !DISubprogram(name: "Op", linkageName: "_COp.11d8dd9278293aa3:core.Destroy.Core", scope: null, file: !3, line: 15, type: !20, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !23) // CHECK:STDOUT: !20 = !DISubroutineType(types: !21) // CHECK:STDOUT: !21 = !{null, !22} // CHECK:STDOUT: !22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) diff --git a/toolchain/lower/testdata/tuple/value_formation.carbon b/toolchain/lower/testdata/tuple/value_formation.carbon index 997776e1ad9d..77b76f7fa13c 100644 --- a/toolchain/lower/testdata/tuple/value_formation.carbon +++ b/toolchain/lower/testdata/tuple/value_formation.carbon @@ -65,19 +65,19 @@ fn F() { // CHECK:STDOUT: %tuple.loc18_108 = getelementptr inbounds nuw { ptr, ptr }, ptr %tuple.loc18_10, i32 0, i32 1, !dbg !11 // CHECK:STDOUT: store ptr %tuple.loc18_9, ptr %tuple.loc18_108, align 8, !dbg !11 // CHECK:STDOUT: call void @_CG.Main(ptr %tuple.loc18_10), !dbg !12 -// CHECK:STDOUT: call void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %b.var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %a.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %b.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %a.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !13 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !14 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !14 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !20 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %self) #0 !dbg !21 { +// CHECK:STDOUT: define weak_odr void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %self) #0 !dbg !21 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } @@ -86,7 +86,7 @@ fn F() { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.9eed32d146d768a4:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.d52e974a95b4c7a0:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 4, 3, 2, 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -109,14 +109,14 @@ fn F() { // CHECK:STDOUT: !11 = !DILocation(line: 18, column: 5, scope: !4) // CHECK:STDOUT: !12 = !DILocation(line: 18, column: 3, scope: !4) // CHECK:STDOUT: !13 = !DILocation(line: 15, column: 1, scope: !4) -// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 17, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) +// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 17, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) // CHECK:STDOUT: !15 = !DISubroutineType(types: !16) // CHECK:STDOUT: !16 = !{null, !17} // CHECK:STDOUT: !17 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !18 = !{!19} // CHECK:STDOUT: !19 = !DILocalVariable(arg: 1, scope: !14, type: !17) // CHECK:STDOUT: !20 = !DILocation(line: 17, column: 3, scope: !14) -// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.9eed32d146d768a4:core.Destroy.Core", scope: null, file: !3, line: 17, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d52e974a95b4c7a0:core.Destroy.Core", scope: null, file: !3, line: 17, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !22 = !DISubroutineType(types: !23) // CHECK:STDOUT: !23 = !{null, !24} // CHECK:STDOUT: !24 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) diff --git a/toolchain/lower/testdata/var/global.carbon b/toolchain/lower/testdata/var/global.carbon index ed592d7c4afa..ba36d4ed355a 100644 --- a/toolchain/lower/testdata/var/global.carbon +++ b/toolchain/lower/testdata/var/global.carbon @@ -135,7 +135,7 @@ var (_: i32, _: i32) = (3, 4); // CHECK:STDOUT: source_filename = "tuple_in_var.carbon" // CHECK:STDOUT: // CHECK:STDOUT: @_Cd.Main = global { i32, i32 } zeroinitializer -// CHECK:STDOUT: @tuple.57b.loc4_1 = internal constant { i32, i32 } { i32 4, i32 5 } +// CHECK:STDOUT: @tuple.c5f.loc4_1 = internal constant { i32, i32 } { i32 4, i32 5 } // CHECK:STDOUT: @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 0, ptr @_C__global_init.Main, ptr null }] // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind @@ -153,7 +153,7 @@ var (_: i32, _: i32) = (3, 4); // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define internal void @_C__global_init.Main() #0 !dbg !11 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 @_Cd.Main, ptr align 4 @tuple.57b.loc4_1, i64 8, i1 false), !dbg !14 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 @_Cd.Main, ptr align 4 @tuple.c5f.loc4_1, i64 8, i1 false), !dbg !14 // CHECK:STDOUT: ret void, !dbg !15 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -190,15 +190,15 @@ var (_: i32, _: i32) = (3, 4); // CHECK:STDOUT: // CHECK:STDOUT: @_Cx.Main = global { i32, i32 } zeroinitializer // CHECK:STDOUT: @var.anon.var_patt.loc5 = internal global { i32, i32 } zeroinitializer -// CHECK:STDOUT: @tuple.03f.loc4_1 = internal constant { i32, i32 } { i32 1, i32 2 } -// CHECK:STDOUT: @tuple.c59.loc5_1 = internal constant { i32, i32 } { i32 3, i32 4 } +// CHECK:STDOUT: @tuple.cd5.loc4_1 = internal constant { i32, i32 } { i32 1, i32 2 } +// CHECK:STDOUT: @tuple.30d.loc5_1 = internal constant { i32, i32 } { i32 3, i32 4 } // CHECK:STDOUT: @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 0, ptr @_C__global_init.Main, ptr null }] // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define internal void @_C__global_init.Main() #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 @_Cx.Main, ptr align 4 @tuple.03f.loc4_1, i64 8, i1 false), !dbg !7 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 @var.anon.var_patt.loc5, ptr align 4 @tuple.c59.loc5_1, i64 8, i1 false), !dbg !8 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 @_Cx.Main, ptr align 4 @tuple.cd5.loc4_1, i64 8, i1 false), !dbg !7 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 @var.anon.var_patt.loc5, ptr align 4 @tuple.30d.loc5_1, i64 8, i1 false), !dbg !8 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/lower/testdata/var/import.carbon b/toolchain/lower/testdata/var/import.carbon index 7fdb66ef3527..2d1cd2120c2b 100644 --- a/toolchain/lower/testdata/var/import.carbon +++ b/toolchain/lower/testdata/var/import.carbon @@ -108,16 +108,16 @@ fn Z() -> i32 { return z; } // CHECK:STDOUT: @_Cv.Main = global { i32, i32 } zeroinitializer // CHECK:STDOUT: @_Cy.Main = global i32 0 // CHECK:STDOUT: @_Cz.Main = global { i32, i32 } zeroinitializer -// CHECK:STDOUT: @tuple.03f.loc4_1 = internal constant { i32, i32 } { i32 1, i32 2 } -// CHECK:STDOUT: @tuple.f35.loc8_1 = internal constant { i32, i32 } { i32 5, i32 6 } +// CHECK:STDOUT: @tuple.cd5.loc4_1 = internal constant { i32, i32 } { i32 1, i32 2 } +// CHECK:STDOUT: @tuple.c0e.loc8_1 = internal constant { i32, i32 } { i32 5, i32 6 } // CHECK:STDOUT: @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 0, ptr @_C__global_init.Main, ptr null }] // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define internal void @_C__global_init.Main() #0 !dbg !4 { // CHECK:STDOUT: entry: -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 @_Cv.Main, ptr align 4 @tuple.03f.loc4_1, i64 8, i1 false), !dbg !7 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 @_Cv.Main, ptr align 4 @tuple.cd5.loc4_1, i64 8, i1 false), !dbg !7 // CHECK:STDOUT: store i32 4, ptr @_Cy.Main, align 4, !dbg !8 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 @_Cz.Main, ptr align 4 @tuple.f35.loc8_1, i64 8, i1 false), !dbg !9 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 @_Cz.Main, ptr align 4 @tuple.c0e.loc8_1, i64 8, i1 false), !dbg !9 // CHECK:STDOUT: ret void, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: diff --git a/toolchain/lower/testdata/var/local.carbon b/toolchain/lower/testdata/var/local.carbon index 28d42f0cf191..6312c6fd2810 100644 --- a/toolchain/lower/testdata/var/local.carbon +++ b/toolchain/lower/testdata/var/local.carbon @@ -40,12 +40,12 @@ fn G() -> (i32, i32, i32) { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %x.var), !dbg !8 // CHECK:STDOUT: store i32 1, ptr %x.var, align 4, !dbg !8 // CHECK:STDOUT: %.loc6 = load i32, ptr %x.var, align 4, !dbg !9 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %x.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %x.var), !dbg !8 // CHECK:STDOUT: ret i32 %.loc6, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -70,7 +70,7 @@ fn G() -> (i32, i32, i32) { // CHECK:STDOUT: !8 = !DILocation(line: 5, column: 3, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 6, column: 10, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 6, column: 3, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 5, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 5, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !12 = !DISubroutineType(types: !13) // CHECK:STDOUT: !13 = !{null, !7} // CHECK:STDOUT: !14 = !{!15} @@ -79,7 +79,7 @@ fn G() -> (i32, i32, i32) { // CHECK:STDOUT: ; ModuleID = 'eval_init_in_place.carbon' // CHECK:STDOUT: source_filename = "eval_init_in_place.carbon" // CHECK:STDOUT: -// CHECK:STDOUT: @tuple.8d2.loc4_50 = internal constant { i32, i32, i32 } { i32 1, i32 2, i32 3 } +// CHECK:STDOUT: @tuple.282.loc4_50 = internal constant { i32, i32, i32 } { i32 1, i32 2, i32 3 } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind // CHECK:STDOUT: define void @_CF.Main(ptr sret({ i32, i32, i32 }) %return) #0 !dbg !4 { @@ -87,7 +87,7 @@ fn G() -> (i32, i32, i32) { // CHECK:STDOUT: %tuple.elem0.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %return, i32 0, i32 0, !dbg !8 // CHECK:STDOUT: %tuple.elem1.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %return, i32 0, i32 1, !dbg !8 // CHECK:STDOUT: %tuple.elem2.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %return, i32 0, i32 2, !dbg !8 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %return, ptr align 4 @tuple.8d2.loc4_50, i64 12, i1 false), !dbg !9 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %return, ptr align 4 @tuple.282.loc4_50, i64 12, i1 false), !dbg !9 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: @@ -96,7 +96,7 @@ fn G() -> (i32, i32, i32) { // CHECK:STDOUT: entry: // CHECK:STDOUT: %a.var = alloca { i32, i32, i32 }, align 4, !dbg !11 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %a.var), !dbg !11 -// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %a.var, ptr align 4 @tuple.8d2.loc4_50, i64 12, i1 false), !dbg !11 +// CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 4 %a.var, ptr align 4 @tuple.282.loc4_50, i64 12, i1 false), !dbg !11 // CHECK:STDOUT: %tuple.elem0.loc8_10.1.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %a.var, i32 0, i32 0, !dbg !12 // CHECK:STDOUT: %.loc8_10.1 = load i32, ptr %tuple.elem0.loc8_10.1.tuple.elem, align 4, !dbg !12 // CHECK:STDOUT: %tuple.elem0.loc8_10.2.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %return, i32 0, i32 0, !dbg !12 @@ -109,18 +109,18 @@ fn G() -> (i32, i32, i32) { // CHECK:STDOUT: %.loc8_10.5 = load i32, ptr %tuple.elem2.loc8_10.1.tuple.elem, align 4, !dbg !12 // CHECK:STDOUT: %tuple.elem2.loc8_10.2.tuple.elem = getelementptr inbounds nuw { i32, i32, i32 }, ptr %return, i32 0, i32 2, !dbg !12 // CHECK:STDOUT: store i32 %.loc8_10.5, ptr %tuple.elem2.loc8_10.2.tuple.elem, align 4, !dbg !12 -// CHECK:STDOUT: call void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %a.var), !dbg !11 +// CHECK:STDOUT: call void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %a.var), !dbg !11 // CHECK:STDOUT: ret void, !dbg !13 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !14 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !14 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !20 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.9eed32d146d768a4:core.Destroy.Core"(ptr %self) #0 !dbg !21 { +// CHECK:STDOUT: define weak_odr void @"_COp.d52e974a95b4c7a0:core.Destroy.Core"(ptr %self) #0 !dbg !21 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !26 // CHECK:STDOUT: } @@ -154,14 +154,14 @@ fn G() -> (i32, i32, i32) { // CHECK:STDOUT: !11 = !DILocation(line: 7, column: 3, scope: !10) // CHECK:STDOUT: !12 = !DILocation(line: 8, column: 10, scope: !10) // CHECK:STDOUT: !13 = !DILocation(line: 8, column: 3, scope: !10) -// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 7, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) +// CHECK:STDOUT: !14 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 7, type: !15, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !18) // CHECK:STDOUT: !15 = !DISubroutineType(types: !16) // CHECK:STDOUT: !16 = !{null, !17} // CHECK:STDOUT: !17 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) // CHECK:STDOUT: !18 = !{!19} // CHECK:STDOUT: !19 = !DILocalVariable(arg: 1, scope: !14, type: !17) // CHECK:STDOUT: !20 = !DILocation(line: 7, column: 3, scope: !14) -// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.9eed32d146d768a4:core.Destroy.Core", scope: null, file: !3, line: 7, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) +// CHECK:STDOUT: !21 = distinct !DISubprogram(name: "Op", linkageName: "_COp.d52e974a95b4c7a0:core.Destroy.Core", scope: null, file: !3, line: 7, type: !22, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !24) // CHECK:STDOUT: !22 = !DISubroutineType(types: !23) // CHECK:STDOUT: !23 = !{null, !7} // CHECK:STDOUT: !24 = !{!25} diff --git a/toolchain/lower/testdata/var/nested.carbon b/toolchain/lower/testdata/var/nested.carbon index cf26c35b58bf..862cfd3b477b 100644 --- a/toolchain/lower/testdata/var/nested.carbon +++ b/toolchain/lower/testdata/var/nested.carbon @@ -44,13 +44,13 @@ fn Run() -> i32 { // CHECK:STDOUT: // CHECK:STDOUT: while.done: ; preds = %while.cond // CHECK:STDOUT: %.loc19 = load i32, ptr %a.var, align 4, !dbg !15 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %b.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %a.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %b.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %a.var), !dbg !8 // CHECK:STDOUT: ret i32 %.loc19, !dbg !16 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !17 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !17 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !22 // CHECK:STDOUT: } @@ -59,7 +59,7 @@ fn Run() -> i32 { // CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1 // CHECK:STDOUT: // CHECK:STDOUT: ; uselistorder directives -// CHECK:STDOUT: uselistorder ptr @"_COp.94e3ca86614aba5d:core.Destroy.Core", { 1, 0 } +// CHECK:STDOUT: uselistorder ptr @"_COp.1fa36cd3e044ac37:core.Destroy.Core", { 1, 0 } // CHECK:STDOUT: uselistorder ptr @llvm.lifetime.start.p0, { 1, 0 } // CHECK:STDOUT: // CHECK:STDOUT: attributes #0 = { nounwind } @@ -85,7 +85,7 @@ fn Run() -> i32 { // CHECK:STDOUT: !14 = !DILocation(line: 15, column: 3, scope: !4) // CHECK:STDOUT: !15 = !DILocation(line: 19, column: 10, scope: !4) // CHECK:STDOUT: !16 = !DILocation(line: 19, column: 3, scope: !4) -// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 16, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) +// CHECK:STDOUT: !17 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 16, type: !18, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !20) // CHECK:STDOUT: !18 = !DISubroutineType(types: !19) // CHECK:STDOUT: !19 = !{null, !7} // CHECK:STDOUT: !20 = !{!21} diff --git a/toolchain/lower/testdata/var/param.carbon b/toolchain/lower/testdata/var/param.carbon index 0c992ee9398b..6fc6f2f6e7ed 100644 --- a/toolchain/lower/testdata/var/param.carbon +++ b/toolchain/lower/testdata/var/param.carbon @@ -62,12 +62,12 @@ fn G() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !7 // CHECK:STDOUT: call void @_CMake.C.Main(ptr %c.var), !dbg !8 // CHECK:STDOUT: call void @_CF.Main(ptr %c.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.bb4015b09b4ec8d8:core.Destroy.Core"(ptr %c.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !10 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.bb4015b09b4ec8d8:core.Destroy.Core"(ptr %self) #0 !dbg !11 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !11 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !17 // CHECK:STDOUT: } @@ -92,7 +92,7 @@ fn G() { // CHECK:STDOUT: !8 = !DILocation(line: 16, column: 5, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 16, column: 3, scope: !4) // CHECK:STDOUT: !10 = !DILocation(line: 15, column: 1, scope: !4) -// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.bb4015b09b4ec8d8:core.Destroy.Core", scope: null, file: !3, line: 13, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) +// CHECK:STDOUT: !11 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 13, type: !12, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !15) // CHECK:STDOUT: !12 = !DISubroutineType(types: !13) // CHECK:STDOUT: !13 = !{null, !14} // CHECK:STDOUT: !14 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) @@ -115,12 +115,12 @@ fn G() { // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %c.var), !dbg !7 // CHECK:STDOUT: call void @llvm.memcpy.p0.p0.i64(ptr align 1 %c.var, ptr align 1 @C.val.loc11, i64 0, i1 false), !dbg !7 // CHECK:STDOUT: call void @_CF.Main(ptr %c.var), !dbg !8 -// CHECK:STDOUT: call void @"_COp.ad7e2d77f29afefe:core.Destroy.Core"(ptr %c.var), !dbg !7 +// CHECK:STDOUT: call void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %c.var), !dbg !7 // CHECK:STDOUT: ret void, !dbg !9 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.ad7e2d77f29afefe:core.Destroy.Core"(ptr %self) #0 !dbg !10 { +// CHECK:STDOUT: define weak_odr void @"_COp.907c496eccf2294c:core.Destroy.Core"(ptr %self) #0 !dbg !10 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !16 // CHECK:STDOUT: } @@ -147,7 +147,7 @@ fn G() { // CHECK:STDOUT: !7 = !DILocation(line: 11, column: 6, scope: !4) // CHECK:STDOUT: !8 = !DILocation(line: 14, column: 3, scope: !4) // CHECK:STDOUT: !9 = !DILocation(line: 13, column: 1, scope: !4) -// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.ad7e2d77f29afefe:core.Destroy.Core", scope: null, file: !3, line: 11, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) +// CHECK:STDOUT: !10 = distinct !DISubprogram(name: "Op", linkageName: "_COp.907c496eccf2294c:core.Destroy.Core", scope: null, file: !3, line: 11, type: !11, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !14) // CHECK:STDOUT: !11 = !DISubroutineType(types: !12) // CHECK:STDOUT: !12 = !{null, !13} // CHECK:STDOUT: !13 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) diff --git a/toolchain/lower/testdata/var/uninitialized.carbon b/toolchain/lower/testdata/var/uninitialized.carbon index 79271b4b4a39..c82440d64433 100644 --- a/toolchain/lower/testdata/var/uninitialized.carbon +++ b/toolchain/lower/testdata/var/uninitialized.carbon @@ -41,19 +41,19 @@ fn Run() { // CHECK:STDOUT: store i8 poison, ptr %e.var, align 1, !dbg !12 // CHECK:STDOUT: call void @llvm.lifetime.start.p0(ptr %f.var), !dbg !13 // CHECK:STDOUT: store ptr poison, ptr %f.var, align 8, !dbg !13 -// CHECK:STDOUT: call void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %b.var), !dbg !9 -// CHECK:STDOUT: call void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %a.var), !dbg !8 +// CHECK:STDOUT: call void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %b.var), !dbg !9 +// CHECK:STDOUT: call void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %a.var), !dbg !8 // CHECK:STDOUT: ret i32 0, !dbg !14 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.b46d7363edf385cc:core.Destroy.Core"(ptr %self) #0 !dbg !15 { +// CHECK:STDOUT: define weak_odr void @"_COp.1e4fc30ecea9aa7e:core.Destroy.Core"(ptr %self) #0 !dbg !15 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !21 // CHECK:STDOUT: } // CHECK:STDOUT: // CHECK:STDOUT: ; Function Attrs: nounwind -// CHECK:STDOUT: define weak_odr void @"_COp.94e3ca86614aba5d:core.Destroy.Core"(ptr %self) #0 !dbg !22 { +// CHECK:STDOUT: define weak_odr void @"_COp.1fa36cd3e044ac37:core.Destroy.Core"(ptr %self) #0 !dbg !22 { // CHECK:STDOUT: entry: // CHECK:STDOUT: ret void, !dbg !27 // CHECK:STDOUT: } @@ -85,14 +85,14 @@ fn Run() { // CHECK:STDOUT: !12 = !DILocation(line: 18, column: 3, scope: !4) // CHECK:STDOUT: !13 = !DILocation(line: 19, column: 3, scope: !4) // CHECK:STDOUT: !14 = !DILocation(line: 13, column: 1, scope: !4) -// CHECK:STDOUT: !15 = distinct !DISubprogram(name: "Op", linkageName: "_COp.b46d7363edf385cc:core.Destroy.Core", scope: null, file: !3, line: 15, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) +// CHECK:STDOUT: !15 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1e4fc30ecea9aa7e:core.Destroy.Core", scope: null, file: !3, line: 15, type: !16, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !19) // CHECK:STDOUT: !16 = !DISubroutineType(types: !17) // CHECK:STDOUT: !17 = !{null, !18} // CHECK:STDOUT: !18 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64) // CHECK:STDOUT: !19 = !{!20} // CHECK:STDOUT: !20 = !DILocalVariable(arg: 1, scope: !15, type: !18) // CHECK:STDOUT: !21 = !DILocation(line: 15, column: 3, scope: !15) -// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.94e3ca86614aba5d:core.Destroy.Core", scope: null, file: !3, line: 14, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) +// CHECK:STDOUT: !22 = distinct !DISubprogram(name: "Op", linkageName: "_COp.1fa36cd3e044ac37:core.Destroy.Core", scope: null, file: !3, line: 14, type: !23, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !25) // CHECK:STDOUT: !23 = !DISubroutineType(types: !24) // CHECK:STDOUT: !24 = !{null, !7} // CHECK:STDOUT: !25 = !{!26} diff --git a/toolchain/sem_ir/inst_fingerprinter.cpp b/toolchain/sem_ir/inst_fingerprinter.cpp index 3a302a1c5bf4..56783f7596af 100644 --- a/toolchain/sem_ir/inst_fingerprinter.cpp +++ b/toolchain/sem_ir/inst_fingerprinter.cpp @@ -360,9 +360,14 @@ struct Worklist { } } + auto AddPackage(const SemIR::File* file) -> void { + llvm::SaveAndRestore in_file(sem_ir, file); + Add(file->package_id()); + } + auto AddPackage(NameScopeId name_scope_id) -> void { if (name_scope_id == NameScopeId::Package) { - AddLibrary(sem_ir); + AddPackage(sem_ir); return; } @@ -370,7 +375,7 @@ struct Worklist { CARBON_CHECK(scope.is_imported_package()); if (!scope.import_ir_scopes().empty()) { auto import_ir_id = scope.import_ir_scopes().front().first; - AddLibrary(sem_ir->import_irs().Get(import_ir_id).sem_ir); + AddPackage(sem_ir->import_irs().Get(import_ir_id).sem_ir); } else { AddInvalid(); } @@ -409,9 +414,7 @@ struct Worklist { template auto AddEntity(const std::type_identity_t& entity) -> void { Add(entity.name_id); - if (entity.parent_scope_id.has_value()) { - Add(entity.parent_scope_id); - } + Add(entity.parent_scope_id); if (sem_ir->name_scopes().IsPrivateWithinNamespace( entity.name_id, entity.parent_scope_id)) { @@ -427,9 +430,7 @@ struct Worklist { const CppOverloadSet& cpp_overload_set = sem_ir->cpp_overload_sets().Get(cpp_overload_set_id); Add(cpp_overload_set.name_id); - if (cpp_overload_set.parent_scope_id.has_value()) { - Add(cpp_overload_set.parent_scope_id); - } + Add(cpp_overload_set.parent_scope_id); } auto Add(ClangDeclId /*decl_id*/) -> void { @@ -450,6 +451,8 @@ struct Worklist { llvm::raw_svector_ostream os(cpp_mangled_name); if (sem_ir->AppendCppMangledTypeName(class_id, os)) { AddString(cpp_mangled_name); + } else { + AddInvalid(); } } @@ -463,6 +466,8 @@ struct Worklist { const auto& vtable = sem_ir->vtables().Get(vtable_id); if (vtable.class_id.has_value()) { Add(vtable.class_id); + } else { + AddInvalid(); } Add(vtable.virtual_functions_id); } @@ -571,10 +576,12 @@ struct Worklist { auto Add(PackageNameId package_id) -> void { if (auto ident_id = package_id.AsIdentifierId(); ident_id.has_value()) { + // Add a marker to prevent collisions between user package names and + // special package names, and to delimit `NameScopeId` fingerprints. + AddString(""); AddString(sem_ir->identifiers().Get(ident_id)); } else { - // TODO: May collide with a user package of the same name. Consider using - // a different value. + AddString(""); AddString(package_id.AsSpecialName()); } } @@ -591,14 +598,22 @@ struct Worklist { } } + // Adds just the library name to the fingerprint. Does not add the package + // name, as it is typically already included as the outermost scope name. The + // caller is responsible for ensuring the package name is added somehow. auto AddLibrary(const File* file) -> void { llvm::SaveAndRestore in_file(sem_ir, file); - Add(file->package_id()); + // Add a marker to prevent collisions with scope names. + AddString(""); Add(file->library_id()); } auto Add(ImportIRId ir_id) -> void { - AddLibrary(sem_ir->import_irs().Get(ir_id).sem_ir); + // TODO: Is the ImportIRId for an ImportRef always the same IR for the same + // entity (eg, always the owning IR, or always the first-declaring IR)? + const auto* file = sem_ir->import_irs().Get(ir_id).sem_ir; + AddPackage(file); + AddLibrary(file); } auto Add(ImportIRInstId ir_inst_id) -> void {